const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/Auth-C-oeDRmM.js","assets/arrow-left-Bm9P6LYC.js","assets/Onboard-CLRHc_4t.js","assets/sparkles-CjR_9y4L.js","assets/chevron-left--0E1i86C.js","assets/chevron-right-CGlKoZ5K.js","assets/MainLayout-WdLr5QBa.js","assets/conv-CxE0MXsN.js","assets/message-square-Dd_7eVFx.js","assets/inbox-BDsMtyPd.js","assets/shield-alert-Cp1enPbr.js","assets/ChatList-CJWSI7-r.js","assets/moon-BiJGWWKP.js","assets/ChatView-CjQkm15O.js","assets/utils-ByjjaO5W.js","assets/OverflowMenu-EG29_Sve.js","assets/check-DNTh84kS.js","assets/safety-YigUZqnX.js","assets/loader-circle-BeUoISNw.js","assets/pencil-DevrGrC0.js","assets/rotate-ccw-BXoFmAYB.js","assets/send-v3P3i4tK.js","assets/Discover-DlwqdwQK.js","assets/useTopics-LyeECLOb.js","assets/radio-Cl5mOC9v.js","assets/Inbox-DabVdlv6.js","assets/tag-CameYUFy.js","assets/InboxDetail-BngUMOfF.js","assets/circle-x-BQ9zkyZc.js","assets/TopicDetail-DCsakGhs.js","assets/Notifications-BFX6ARPP.js","assets/Settings-CJzff_a2.js","assets/email-r8krQupv.js","assets/NotificationTest-DIFqXQvb.js","assets/Claiming-B7Gdbd7z.js","assets/Signin-Bw3wX5c2.js","assets/Demo-B_pYLQ_P.js","assets/ChatKit-8n8hKS51.js","assets/pgsl-driver-C_Mxn6PU.js","assets/TypingLoader-C91mCLHn.js","assets/pgsl-llm-callbacks-DTQKXDLT.js","assets/DemoOnboarding-xNSOtVtu.js","assets/DemoOnboarding-DWhtEAT3.css","assets/JobChannel-DK6_F1Dn.js","assets/PlanCard-D8Rvs35e.js","assets/ConversationChannel-BQoODfIS.js","assets/BeckyAvatar-Dim2U97S.js","assets/sleep-intake-BPehVS2o.js","assets/use-warm-theme-CuJVzTgl.js","assets/AdminTrace-DTaG-vCw.js","assets/AdminReports-CmtM9tMj.js","assets/InChatFunnel-jkGfckzB.js","assets/intake-sleep-VhqKU7tw.js","assets/meta-pixel-oND_FF6D.js","assets/Baby-BXhUsTDY.js","assets/BabyIntake-BL6fOEAV.js","assets/BabyQuiz-qUdb-Pfe.js"])))=>i.map(i=>d[i]);
var xg=Object.defineProperty;var Ag=(u,i,o)=>i in u?xg(u,i,{enumerable:!0,configurable:!0,writable:!0,value:o}):u[i]=o;var qh=(u,i,o)=>Ag(u,typeof i!="symbol"?i+"":i,o);(function(){const i=document.createElement("link").relList;if(i&&i.supports&&i.supports("modulepreload"))return;for(const f of document.querySelectorAll('link[rel="modulepreload"]'))r(f);new MutationObserver(f=>{for(const d of f)if(d.type==="childList")for(const g of d.addedNodes)g.tagName==="LINK"&&g.rel==="modulepreload"&&r(g)}).observe(document,{childList:!0,subtree:!0});function o(f){const d={};return f.integrity&&(d.integrity=f.integrity),f.referrerPolicy&&(d.referrerPolicy=f.referrerPolicy),f.crossOrigin==="use-credentials"?d.credentials="include":f.crossOrigin==="anonymous"?d.credentials="omit":d.credentials="same-origin",d}function r(f){if(f.ep)return;f.ep=!0;const d=o(f);fetch(f.href,d)}})();const _g="modulepreload",Tg=function(u){return"/"+u},Yh={},Dt=function(i,o,r){let f=Promise.resolve();if(o&&o.length>0){let g=function(m){return Promise.all(m.map(M=>Promise.resolve(M).then(A=>({status:"fulfilled",value:A}),A=>({status:"rejected",reason:A}))))};document.getElementsByTagName("link");const b=document.querySelector("meta[property=csp-nonce]"),y=(b==null?void 0:b.nonce)||(b==null?void 0:b.getAttribute("nonce"));f=g(o.map(m=>{if(m=Tg(m),m in Yh)return;Yh[m]=!0;const M=m.endsWith(".css"),A=M?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${m}"]${A}`))return;const k=document.createElement("link");if(k.rel=M?"stylesheet":_g,M||(k.as="script"),k.crossOrigin="",k.href=m,y&&k.setAttribute("nonce",y),document.head.appendChild(k),M)return new Promise((Q,Z)=>{k.addEventListener("load",Q),k.addEventListener("error",()=>Z(new Error(`Unable to preload CSS for ${m}`)))})}))}function d(g){const b=new Event("vite:preloadError",{cancelable:!0});if(b.payload=g,window.dispatchEvent(b),!b.defaultPrevented)throw g}return f.then(g=>{for(const b of g||[])b.status==="rejected"&&d(b.reason);return i().catch(d)})};var lo={exports:{}},ii={};/**
 * @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 Vh;function Mg(){if(Vh)return ii;Vh=1;var u=Symbol.for("react.transitional.element"),i=Symbol.for("react.fragment");function o(r,f,d){var g=null;if(d!==void 0&&(g=""+d),f.key!==void 0&&(g=""+f.key),"key"in f){d={};for(var b in f)b!=="key"&&(d[b]=f[b])}else d=f;return f=d.ref,{$$typeof:u,type:r,key:g,ref:f!==void 0?f:null,props:d}}return ii.Fragment=i,ii.jsx=o,ii.jsxs=o,ii}var Gh;function Dg(){return Gh||(Gh=1,lo.exports=Mg()),lo.exports}var w=Dg(),io={exports:{}},ct={};/**
 * @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 Xh;function Rg(){if(Xh)return ct;Xh=1;var u=Symbol.for("react.transitional.element"),i=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),f=Symbol.for("react.profiler"),d=Symbol.for("react.consumer"),g=Symbol.for("react.context"),b=Symbol.for("react.forward_ref"),y=Symbol.for("react.suspense"),m=Symbol.for("react.memo"),M=Symbol.for("react.lazy"),A=Symbol.for("react.activity"),k=Symbol.iterator;function Q(x){return x===null||typeof x!="object"?null:(x=k&&x[k]||x["@@iterator"],typeof x=="function"?x:null)}var Z={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},X=Object.assign,L={};function O(x,q,J){this.props=x,this.context=q,this.refs=L,this.updater=J||Z}O.prototype.isReactComponent={},O.prototype.setState=function(x,q){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,q,"setState")},O.prototype.forceUpdate=function(x){this.updater.enqueueForceUpdate(this,x,"forceUpdate")};function N(){}N.prototype=O.prototype;function p(x,q,J){this.props=x,this.context=q,this.refs=L,this.updater=J||Z}var $=p.prototype=new N;$.constructor=p,X($,O.prototype),$.isPureReactComponent=!0;var G=Array.isArray;function tt(){}var K={H:null,A:null,T:null,S:null},Et=Object.prototype.hasOwnProperty;function Qt(x,q,J){var I=J.ref;return{$$typeof:u,type:x,key:q,ref:I!==void 0?I:null,props:J}}function re(x,q){return Qt(x.type,q,x.props)}function le(x){return typeof x=="object"&&x!==null&&x.$$typeof===u}function kt(x){var q={"=":"=0",":":"=2"};return"$"+x.replace(/[=:]/g,function(J){return q[J]})}var ve=/\/+/g;function pe(x,q){return typeof x=="object"&&x!==null&&x.key!=null?kt(""+x.key):q.toString(36)}function Ht(x){switch(x.status){case"fulfilled":return x.value;case"rejected":throw x.reason;default:switch(typeof x.status=="string"?x.then(tt,tt):(x.status="pending",x.then(function(q){x.status==="pending"&&(x.status="fulfilled",x.value=q)},function(q){x.status==="pending"&&(x.status="rejected",x.reason=q)})),x.status){case"fulfilled":return x.value;case"rejected":throw x.reason}}throw x}function U(x,q,J,I,ot){var ht=typeof x;(ht==="undefined"||ht==="boolean")&&(x=null);var V=!1;if(x===null)V=!0;else switch(ht){case"bigint":case"string":case"number":V=!0;break;case"object":switch(x.$$typeof){case u:case i:V=!0;break;case M:return V=x._init,U(V(x._payload),q,J,I,ot)}}if(V)return ot=ot(x),V=I===""?"."+pe(x,0):I,G(ot)?(J="",V!=null&&(J=V.replace(ve,"$&/")+"/"),U(ot,q,J,"",function(st){return st})):ot!=null&&(le(ot)&&(ot=re(ot,J+(ot.key==null||x&&x.key===ot.key?"":(""+ot.key).replace(ve,"$&/")+"/")+V)),q.push(ot)),1;V=0;var Y=I===""?".":I+":";if(G(x))for(var W=0;W<x.length;W++)I=x[W],ht=Y+pe(I,W),V+=U(I,q,J,ht,ot);else if(W=Q(x),typeof W=="function")for(x=W.call(x),W=0;!(I=x.next()).done;)I=I.value,ht=Y+pe(I,W++),V+=U(I,q,J,ht,ot);else if(ht==="object"){if(typeof x.then=="function")return U(Ht(x),q,J,I,ot);throw q=String(x),Error("Objects are not valid as a React child (found: "+(q==="[object Object]"?"object with keys {"+Object.keys(x).join(", ")+"}":q)+"). If you meant to render a collection of children, use an array instead.")}return V}function T(x,q,J){if(x==null)return x;var I=[],ot=0;return U(x,I,"","",function(ht){return q.call(J,ht,ot++)}),I}function P(x){if(x._status===-1){var q=x._result;q=q(),q.then(function(J){(x._status===0||x._status===-1)&&(x._status=1,x._result=J)},function(J){(x._status===0||x._status===-1)&&(x._status=2,x._result=J)}),x._status===-1&&(x._status=0,x._result=q)}if(x._status===1)return x._result.default;throw x._result}var rt=typeof reportError=="function"?reportError:function(x){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var q=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(q))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",x);return}console.error(x)},nt={map:T,forEach:function(x,q,J){T(x,function(){q.apply(this,arguments)},J)},count:function(x){var q=0;return T(x,function(){q++}),q},toArray:function(x){return T(x,function(q){return q})||[]},only:function(x){if(!le(x))throw Error("React.Children.only expected to receive a single React element child.");return x}};return ct.Activity=A,ct.Children=nt,ct.Component=O,ct.Fragment=o,ct.Profiler=f,ct.PureComponent=p,ct.StrictMode=r,ct.Suspense=y,ct.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=K,ct.__COMPILER_RUNTIME={__proto__:null,c:function(x){return K.H.useMemoCache(x)}},ct.cache=function(x){return function(){return x.apply(null,arguments)}},ct.cacheSignal=function(){return null},ct.cloneElement=function(x,q,J){if(x==null)throw Error("The argument must be a React element, but you passed "+x+".");var I=X({},x.props),ot=x.key;if(q!=null)for(ht in q.key!==void 0&&(ot=""+q.key),q)!Et.call(q,ht)||ht==="key"||ht==="__self"||ht==="__source"||ht==="ref"&&q.ref===void 0||(I[ht]=q[ht]);var ht=arguments.length-2;if(ht===1)I.children=J;else if(1<ht){for(var V=Array(ht),Y=0;Y<ht;Y++)V[Y]=arguments[Y+2];I.children=V}return Qt(x.type,ot,I)},ct.createContext=function(x){return x={$$typeof:g,_currentValue:x,_currentValue2:x,_threadCount:0,Provider:null,Consumer:null},x.Provider=x,x.Consumer={$$typeof:d,_context:x},x},ct.createElement=function(x,q,J){var I,ot={},ht=null;if(q!=null)for(I in q.key!==void 0&&(ht=""+q.key),q)Et.call(q,I)&&I!=="key"&&I!=="__self"&&I!=="__source"&&(ot[I]=q[I]);var V=arguments.length-2;if(V===1)ot.children=J;else if(1<V){for(var Y=Array(V),W=0;W<V;W++)Y[W]=arguments[W+2];ot.children=Y}if(x&&x.defaultProps)for(I in V=x.defaultProps,V)ot[I]===void 0&&(ot[I]=V[I]);return Qt(x,ht,ot)},ct.createRef=function(){return{current:null}},ct.forwardRef=function(x){return{$$typeof:b,render:x}},ct.isValidElement=le,ct.lazy=function(x){return{$$typeof:M,_payload:{_status:-1,_result:x},_init:P}},ct.memo=function(x,q){return{$$typeof:m,type:x,compare:q===void 0?null:q}},ct.startTransition=function(x){var q=K.T,J={};K.T=J;try{var I=x(),ot=K.S;ot!==null&&ot(J,I),typeof I=="object"&&I!==null&&typeof I.then=="function"&&I.then(tt,rt)}catch(ht){rt(ht)}finally{q!==null&&J.types!==null&&(q.types=J.types),K.T=q}},ct.unstable_useCacheRefresh=function(){return K.H.useCacheRefresh()},ct.use=function(x){return K.H.use(x)},ct.useActionState=function(x,q,J){return K.H.useActionState(x,q,J)},ct.useCallback=function(x,q){return K.H.useCallback(x,q)},ct.useContext=function(x){return K.H.useContext(x)},ct.useDebugValue=function(){},ct.useDeferredValue=function(x,q){return K.H.useDeferredValue(x,q)},ct.useEffect=function(x,q){return K.H.useEffect(x,q)},ct.useEffectEvent=function(x){return K.H.useEffectEvent(x)},ct.useId=function(){return K.H.useId()},ct.useImperativeHandle=function(x,q,J){return K.H.useImperativeHandle(x,q,J)},ct.useInsertionEffect=function(x,q){return K.H.useInsertionEffect(x,q)},ct.useLayoutEffect=function(x,q){return K.H.useLayoutEffect(x,q)},ct.useMemo=function(x,q){return K.H.useMemo(x,q)},ct.useOptimistic=function(x,q){return K.H.useOptimistic(x,q)},ct.useReducer=function(x,q,J){return K.H.useReducer(x,q,J)},ct.useRef=function(x){return K.H.useRef(x)},ct.useState=function(x){return K.H.useState(x)},ct.useSyncExternalStore=function(x,q,J){return K.H.useSyncExternalStore(x,q,J)},ct.useTransition=function(){return K.H.useTransition()},ct.version="19.2.7",ct}var Qh;function Mo(){return Qh||(Qh=1,io.exports=Rg()),io.exports}var E=Mo(),uo={exports:{}},ui={},so={exports:{}},ro={};/**
 * @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 Zh;function Cg(){return Zh||(Zh=1,(function(u){function i(U,T){var P=U.length;U.push(T);t:for(;0<P;){var rt=P-1>>>1,nt=U[rt];if(0<f(nt,T))U[rt]=T,U[P]=nt,P=rt;else break t}}function o(U){return U.length===0?null:U[0]}function r(U){if(U.length===0)return null;var T=U[0],P=U.pop();if(P!==T){U[0]=P;t:for(var rt=0,nt=U.length,x=nt>>>1;rt<x;){var q=2*(rt+1)-1,J=U[q],I=q+1,ot=U[I];if(0>f(J,P))I<nt&&0>f(ot,J)?(U[rt]=ot,U[I]=P,rt=I):(U[rt]=J,U[q]=P,rt=q);else if(I<nt&&0>f(ot,P))U[rt]=ot,U[I]=P,rt=I;else break t}}return T}function f(U,T){var P=U.sortIndex-T.sortIndex;return P!==0?P:U.id-T.id}if(u.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var d=performance;u.unstable_now=function(){return d.now()}}else{var g=Date,b=g.now();u.unstable_now=function(){return g.now()-b}}var y=[],m=[],M=1,A=null,k=3,Q=!1,Z=!1,X=!1,L=!1,O=typeof setTimeout=="function"?setTimeout:null,N=typeof clearTimeout=="function"?clearTimeout:null,p=typeof setImmediate<"u"?setImmediate:null;function $(U){for(var T=o(m);T!==null;){if(T.callback===null)r(m);else if(T.startTime<=U)r(m),T.sortIndex=T.expirationTime,i(y,T);else break;T=o(m)}}function G(U){if(X=!1,$(U),!Z)if(o(y)!==null)Z=!0,tt||(tt=!0,kt());else{var T=o(m);T!==null&&Ht(G,T.startTime-U)}}var tt=!1,K=-1,Et=5,Qt=-1;function re(){return L?!0:!(u.unstable_now()-Qt<Et)}function le(){if(L=!1,tt){var U=u.unstable_now();Qt=U;var T=!0;try{t:{Z=!1,X&&(X=!1,N(K),K=-1),Q=!0;var P=k;try{e:{for($(U),A=o(y);A!==null&&!(A.expirationTime>U&&re());){var rt=A.callback;if(typeof rt=="function"){A.callback=null,k=A.priorityLevel;var nt=rt(A.expirationTime<=U);if(U=u.unstable_now(),typeof nt=="function"){A.callback=nt,$(U),T=!0;break e}A===o(y)&&r(y),$(U)}else r(y);A=o(y)}if(A!==null)T=!0;else{var x=o(m);x!==null&&Ht(G,x.startTime-U),T=!1}}break t}finally{A=null,k=P,Q=!1}T=void 0}}finally{T?kt():tt=!1}}}var kt;if(typeof p=="function")kt=function(){p(le)};else if(typeof MessageChannel<"u"){var ve=new MessageChannel,pe=ve.port2;ve.port1.onmessage=le,kt=function(){pe.postMessage(null)}}else kt=function(){O(le,0)};function Ht(U,T){K=O(function(){U(u.unstable_now())},T)}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(U){U.callback=null},u.unstable_forceFrameRate=function(U){0>U||125<U?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):Et=0<U?Math.floor(1e3/U):5},u.unstable_getCurrentPriorityLevel=function(){return k},u.unstable_next=function(U){switch(k){case 1:case 2:case 3:var T=3;break;default:T=k}var P=k;k=T;try{return U()}finally{k=P}},u.unstable_requestPaint=function(){L=!0},u.unstable_runWithPriority=function(U,T){switch(U){case 1:case 2:case 3:case 4:case 5:break;default:U=3}var P=k;k=U;try{return T()}finally{k=P}},u.unstable_scheduleCallback=function(U,T,P){var rt=u.unstable_now();switch(typeof P=="object"&&P!==null?(P=P.delay,P=typeof P=="number"&&0<P?rt+P:rt):P=rt,U){case 1:var nt=-1;break;case 2:nt=250;break;case 5:nt=1073741823;break;case 4:nt=1e4;break;default:nt=5e3}return nt=P+nt,U={id:M++,callback:T,priorityLevel:U,startTime:P,expirationTime:nt,sortIndex:-1},P>rt?(U.sortIndex=P,i(m,U),o(y)===null&&U===o(m)&&(X?(N(K),K=-1):X=!0,Ht(G,P-rt))):(U.sortIndex=nt,i(y,U),Z||Q||(Z=!0,tt||(tt=!0,kt()))),U},u.unstable_shouldYield=re,u.unstable_wrapCallback=function(U){var T=k;return function(){var P=k;k=T;try{return U.apply(this,arguments)}finally{k=P}}}})(ro)),ro}var Kh;function zg(){return Kh||(Kh=1,so.exports=Cg()),so.exports}var oo={exports:{}},me={};/**
 * @license React
 * react-dom.production.js
 *
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var Jh;function Og(){if(Jh)return me;Jh=1;var u=Mo();function i(y){var m="https://react.dev/errors/"+y;if(1<arguments.length){m+="?args[]="+encodeURIComponent(arguments[1]);for(var M=2;M<arguments.length;M++)m+="&args[]="+encodeURIComponent(arguments[M])}return"Minified React error #"+y+"; visit "+m+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function o(){}var r={d:{f:o,r:function(){throw Error(i(522))},D:o,C:o,L:o,m:o,X:o,S:o,M:o},p:0,findDOMNode:null},f=Symbol.for("react.portal");function d(y,m,M){var A=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:f,key:A==null?null:""+A,children:y,containerInfo:m,implementation:M}}var g=u.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function b(y,m){if(y==="font")return"";if(typeof m=="string")return m==="use-credentials"?m:""}return me.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=r,me.createPortal=function(y,m){var M=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!m||m.nodeType!==1&&m.nodeType!==9&&m.nodeType!==11)throw Error(i(299));return d(y,m,null,M)},me.flushSync=function(y){var m=g.T,M=r.p;try{if(g.T=null,r.p=2,y)return y()}finally{g.T=m,r.p=M,r.d.f()}},me.preconnect=function(y,m){typeof y=="string"&&(m?(m=m.crossOrigin,m=typeof m=="string"?m==="use-credentials"?m:"":void 0):m=null,r.d.C(y,m))},me.prefetchDNS=function(y){typeof y=="string"&&r.d.D(y)},me.preinit=function(y,m){if(typeof y=="string"&&m&&typeof m.as=="string"){var M=m.as,A=b(M,m.crossOrigin),k=typeof m.integrity=="string"?m.integrity:void 0,Q=typeof m.fetchPriority=="string"?m.fetchPriority:void 0;M==="style"?r.d.S(y,typeof m.precedence=="string"?m.precedence:void 0,{crossOrigin:A,integrity:k,fetchPriority:Q}):M==="script"&&r.d.X(y,{crossOrigin:A,integrity:k,fetchPriority:Q,nonce:typeof m.nonce=="string"?m.nonce:void 0})}},me.preinitModule=function(y,m){if(typeof y=="string")if(typeof m=="object"&&m!==null){if(m.as==null||m.as==="script"){var M=b(m.as,m.crossOrigin);r.d.M(y,{crossOrigin:M,integrity:typeof m.integrity=="string"?m.integrity:void 0,nonce:typeof m.nonce=="string"?m.nonce:void 0})}}else m==null&&r.d.M(y)},me.preload=function(y,m){if(typeof y=="string"&&typeof m=="object"&&m!==null&&typeof m.as=="string"){var M=m.as,A=b(M,m.crossOrigin);r.d.L(y,M,{crossOrigin:A,integrity:typeof m.integrity=="string"?m.integrity:void 0,nonce:typeof m.nonce=="string"?m.nonce:void 0,type:typeof m.type=="string"?m.type:void 0,fetchPriority:typeof m.fetchPriority=="string"?m.fetchPriority:void 0,referrerPolicy:typeof m.referrerPolicy=="string"?m.referrerPolicy:void 0,imageSrcSet:typeof m.imageSrcSet=="string"?m.imageSrcSet:void 0,imageSizes:typeof m.imageSizes=="string"?m.imageSizes:void 0,media:typeof m.media=="string"?m.media:void 0})}},me.preloadModule=function(y,m){if(typeof y=="string")if(m){var M=b(m.as,m.crossOrigin);r.d.m(y,{as:typeof m.as=="string"&&m.as!=="script"?m.as:void 0,crossOrigin:M,integrity:typeof m.integrity=="string"?m.integrity:void 0})}else r.d.m(y)},me.requestFormReset=function(y){r.d.r(y)},me.unstable_batchedUpdates=function(y,m){return y(m)},me.useFormState=function(y,m,M){return g.H.useFormState(y,m,M)},me.useFormStatus=function(){return g.H.useHostTransitionStatus()},me.version="19.2.7",me}var $h;function Ng(){if($h)return oo.exports;$h=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(i){console.error(i)}}return u(),oo.exports=Og(),oo.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 Ph;function kg(){if(Ph)return ui;Ph=1;var u=zg(),i=Mo(),o=Ng();function r(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 d(t){var e=t,a=t;if(t.alternate)for(;e.return;)e=e.return;else{t=e;do e=t,(e.flags&4098)!==0&&(a=e.return),t=e.return;while(t)}return e.tag===3?a:null}function g(t){if(t.tag===13){var e=t.memoizedState;if(e===null&&(t=t.alternate,t!==null&&(e=t.memoizedState)),e!==null)return e.dehydrated}return null}function b(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 y(t){if(d(t)!==t)throw Error(r(188))}function m(t){var e=t.alternate;if(!e){if(e=d(t),e===null)throw Error(r(188));return e!==t?null:t}for(var a=t,n=e;;){var l=a.return;if(l===null)break;var s=l.alternate;if(s===null){if(n=l.return,n!==null){a=n;continue}break}if(l.child===s.child){for(s=l.child;s;){if(s===a)return y(l),t;if(s===n)return y(l),e;s=s.sibling}throw Error(r(188))}if(a.return!==n.return)a=l,n=s;else{for(var c=!1,h=l.child;h;){if(h===a){c=!0,a=l,n=s;break}if(h===n){c=!0,n=l,a=s;break}h=h.sibling}if(!c){for(h=s.child;h;){if(h===a){c=!0,a=s,n=l;break}if(h===n){c=!0,n=s,a=l;break}h=h.sibling}if(!c)throw Error(r(189))}}if(a.alternate!==n)throw Error(r(190))}if(a.tag!==3)throw Error(r(188));return a.stateNode.current===a?t:e}function M(t){var e=t.tag;if(e===5||e===26||e===27||e===6)return t;for(t=t.child;t!==null;){if(e=M(t),e!==null)return e;t=t.sibling}return null}var A=Object.assign,k=Symbol.for("react.element"),Q=Symbol.for("react.transitional.element"),Z=Symbol.for("react.portal"),X=Symbol.for("react.fragment"),L=Symbol.for("react.strict_mode"),O=Symbol.for("react.profiler"),N=Symbol.for("react.consumer"),p=Symbol.for("react.context"),$=Symbol.for("react.forward_ref"),G=Symbol.for("react.suspense"),tt=Symbol.for("react.suspense_list"),K=Symbol.for("react.memo"),Et=Symbol.for("react.lazy"),Qt=Symbol.for("react.activity"),re=Symbol.for("react.memo_cache_sentinel"),le=Symbol.iterator;function kt(t){return t===null||typeof t!="object"?null:(t=le&&t[le]||t["@@iterator"],typeof t=="function"?t:null)}var ve=Symbol.for("react.client.reference");function pe(t){if(t==null)return null;if(typeof t=="function")return t.$$typeof===ve?null:t.displayName||t.name||null;if(typeof t=="string")return t;switch(t){case X:return"Fragment";case O:return"Profiler";case L:return"StrictMode";case G:return"Suspense";case tt:return"SuspenseList";case Qt:return"Activity"}if(typeof t=="object")switch(t.$$typeof){case Z:return"Portal";case p:return t.displayName||"Context";case N:return(t._context.displayName||"Context")+".Consumer";case $:var e=t.render;return t=t.displayName,t||(t=e.displayName||e.name||"",t=t!==""?"ForwardRef("+t+")":"ForwardRef"),t;case K:return e=t.displayName||null,e!==null?e:pe(t.type)||"Memo";case Et:e=t._payload,t=t._init;try{return pe(t(e))}catch{}}return null}var Ht=Array.isArray,U=i.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,T=o.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,P={pending:!1,data:null,method:null,action:null},rt=[],nt=-1;function x(t){return{current:t}}function q(t){0>nt||(t.current=rt[nt],rt[nt]=null,nt--)}function J(t,e){nt++,rt[nt]=t.current,t.current=e}var I=x(null),ot=x(null),ht=x(null),V=x(null);function Y(t,e){switch(J(ht,e),J(ot,t),J(I,null),e.nodeType){case 9:case 11:t=(t=e.documentElement)&&(t=t.namespaceURI)?oh(t):0;break;default:if(t=e.tagName,e=e.namespaceURI)e=oh(e),t=ch(e,t);else switch(t){case"svg":t=1;break;case"math":t=2;break;default:t=0}}q(I),J(I,t)}function W(){q(I),q(ot),q(ht)}function st(t){t.memoizedState!==null&&J(V,t);var e=I.current,a=ch(e,t.type);e!==a&&(J(ot,t),J(I,a))}function lt(t){ot.current===t&&(q(I),q(ot)),V.current===t&&(q(V),ei._currentValue=P)}var ut,Ct;function mt(t){if(ut===void 0)try{throw Error()}catch(a){var e=a.stack.trim().match(/\n( *(at )?)/);ut=e&&e[1]||"",Ct=-1<a.stack.indexOf(`
    at`)?" (<anonymous>)":-1<a.stack.indexOf("@")?"@unknown:0:0":""}return`
`+ut+t+Ct}var xt=!1;function Zt(t,e){if(!t||xt)return"";xt=!0;var a=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var n={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(z){var C=z}Reflect.construct(t,[],H)}else{try{H.call()}catch(z){C=z}t.call(H.prototype)}}else{try{throw Error()}catch(z){C=z}(H=t())&&typeof H.catch=="function"&&H.catch(function(){})}}catch(z){if(z&&C&&typeof z.stack=="string")return[z.stack,C.stack]}return[null,null]}};n.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var l=Object.getOwnPropertyDescriptor(n.DetermineComponentFrameRoot,"name");l&&l.configurable&&Object.defineProperty(n.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var s=n.DetermineComponentFrameRoot(),c=s[0],h=s[1];if(c&&h){var v=c.split(`
`),R=h.split(`
`);for(l=n=0;n<v.length&&!v[n].includes("DetermineComponentFrameRoot");)n++;for(;l<R.length&&!R[l].includes("DetermineComponentFrameRoot");)l++;if(n===v.length||l===R.length)for(n=v.length-1,l=R.length-1;1<=n&&0<=l&&v[n]!==R[l];)l--;for(;1<=n&&0<=l;n--,l--)if(v[n]!==R[l]){if(n!==1||l!==1)do if(n--,l--,0>l||v[n]!==R[l]){var j=`
`+v[n].replace(" at new "," at ");return t.displayName&&j.includes("<anonymous>")&&(j=j.replace("<anonymous>",t.displayName)),j}while(1<=n&&0<=l);break}}}finally{xt=!1,Error.prepareStackTrace=a}return(a=t?t.displayName||t.name:"")?mt(a):""}function zt(t,e){switch(t.tag){case 26:case 27:case 5:return mt(t.type);case 16:return mt("Lazy");case 13:return t.child!==e&&e!==null?mt("Suspense Fallback"):mt("Suspense");case 19:return mt("SuspenseList");case 0:case 15:return Zt(t.type,!1);case 11:return Zt(t.type.render,!1);case 1:return Zt(t.type,!0);case 31:return mt("Activity");default:return""}}function Kt(t){try{var e="",a=null;do e+=zt(t,a),a=t,t=t.return;while(t);return e}catch(n){return`
Error generating stack: `+n.message+`
`+n.stack}}var be=Object.prototype.hasOwnProperty,Jt=u.unstable_scheduleCallback,De=u.unstable_cancelCallback,ge=u.unstable_shouldYield,ie=u.unstable_requestPaint,qt=u.unstable_now,ia=u.unstable_getCurrentPriorityLevel,ua=u.unstable_ImmediatePriority,Yo=u.unstable_UserBlockingPriority,gi=u.unstable_NormalPriority,l0=u.unstable_LowPriority,Vo=u.unstable_IdlePriority,i0=u.log,u0=u.unstable_setDisableYieldValue,hl=null,Re=null;function Oa(t){if(typeof i0=="function"&&u0(t),Re&&typeof Re.setStrictMode=="function")try{Re.setStrictMode(hl,t)}catch{}}var Ce=Math.clz32?Math.clz32:o0,s0=Math.log,r0=Math.LN2;function o0(t){return t>>>=0,t===0?32:31-(s0(t)/r0|0)|0}var yi=256,vi=262144,bi=4194304;function ln(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 n=t.pendingLanes;if(n===0)return 0;var l=0,s=t.suspendedLanes,c=t.pingedLanes;t=t.warmLanes;var h=n&134217727;return h!==0?(n=h&~s,n!==0?l=ln(n):(c&=h,c!==0?l=ln(c):a||(a=h&~t,a!==0&&(l=ln(a))))):(h=n&~s,h!==0?l=ln(h):c!==0?l=ln(c):a||(a=n&~t,a!==0&&(l=ln(a)))),l===0?0:e!==0&&e!==l&&(e&s)===0&&(s=l&-l,a=e&-e,s>=a||s===32&&(a&4194048)!==0)?e:l}function ml(t,e){return(t.pendingLanes&~(t.suspendedLanes&~t.pingedLanes)&e)===0}function c0(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 Go(){var t=bi;return bi<<=1,(bi&62914560)===0&&(bi=4194304),t}function Zu(t){for(var e=[],a=0;31>a;a++)e.push(t);return e}function pl(t,e){t.pendingLanes|=e,e!==268435456&&(t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0)}function f0(t,e,a,n,l,s){var c=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 h=t.entanglements,v=t.expirationTimes,R=t.hiddenUpdates;for(a=c&~a;0<a;){var j=31-Ce(a),H=1<<j;h[j]=0,v[j]=-1;var C=R[j];if(C!==null)for(R[j]=null,j=0;j<C.length;j++){var z=C[j];z!==null&&(z.lane&=-536870913)}a&=~H}n!==0&&Xo(t,n,0),s!==0&&l===0&&t.tag!==0&&(t.suspendedLanes|=s&~(c&~e))}function Xo(t,e,a){t.pendingLanes|=e,t.suspendedLanes&=~e;var n=31-Ce(e);t.entangledLanes|=e,t.entanglements[n]=t.entanglements[n]|1073741824|a&261930}function Qo(t,e){var a=t.entangledLanes|=e;for(t=t.entanglements;a;){var n=31-Ce(a),l=1<<n;l&e|t[n]&e&&(t[n]|=e),a&=~l}}function Zo(t,e){var a=e&-e;return a=(a&42)!==0?1:Ku(a),(a&(t.suspendedLanes|e))!==0?0:a}function Ku(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 Ju(t){return t&=-t,2<t?8<t?(t&134217727)!==0?32:268435456:8:2}function Ko(){var t=T.p;return t!==0?t:(t=window.event,t===void 0?32:Nh(t.type))}function Jo(t,e){var a=T.p;try{return T.p=t,e()}finally{T.p=a}}var Na=Math.random().toString(36).slice(2),oe="__reactFiber$"+Na,Se="__reactProps$"+Na,_n="__reactContainer$"+Na,$u="__reactEvents$"+Na,d0="__reactListeners$"+Na,h0="__reactHandles$"+Na,$o="__reactResources$"+Na,gl="__reactMarker$"+Na;function Pu(t){delete t[oe],delete t[Se],delete t[$u],delete t[d0],delete t[h0]}function Tn(t){var e=t[oe];if(e)return e;for(var a=t.parentNode;a;){if(e=a[_n]||a[oe]){if(a=e.alternate,e.child!==null||a!==null&&a.child!==null)for(t=yh(t);t!==null;){if(a=t[oe])return a;t=yh(t)}return e}t=a,a=t.parentNode}return null}function Mn(t){if(t=t[oe]||t[_n]){var e=t.tag;if(e===5||e===6||e===13||e===31||e===26||e===27||e===3)return t}return null}function yl(t){var e=t.tag;if(e===5||e===26||e===27||e===6)return t.stateNode;throw Error(r(33))}function Dn(t){var e=t[$o];return e||(e=t[$o]={hoistableStyles:new Map,hoistableScripts:new Map}),e}function ue(t){t[gl]=!0}var Po=new Set,Wo={};function un(t,e){Rn(t,e),Rn(t+"Capture",e)}function Rn(t,e){for(Wo[t]=e,t=0;t<e.length;t++)Po.add(e[t])}var m0=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]*$"),Fo={},Io={};function p0(t){return be.call(Io,t)?!0:be.call(Fo,t)?!1:m0.test(t)?Io[t]=!0:(Fo[t]=!0,!1)}function wi(t,e,a){if(p0(e))if(a===null)t.removeAttribute(e);else{switch(typeof a){case"undefined":case"function":case"symbol":t.removeAttribute(e);return;case"boolean":var n=e.toLowerCase().slice(0,5);if(n!=="data-"&&n!=="aria-"){t.removeAttribute(e);return}}t.setAttribute(e,""+a)}}function Ei(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 fa(t,e,a,n){if(n===null)t.removeAttribute(a);else{switch(typeof n){case"undefined":case"function":case"symbol":case"boolean":t.removeAttribute(a);return}t.setAttributeNS(e,a,""+n)}}function qe(t){switch(typeof t){case"bigint":case"boolean":case"number":case"string":case"undefined":return t;case"object":return t;default:return""}}function tc(t){var e=t.type;return(t=t.nodeName)&&t.toLowerCase()==="input"&&(e==="checkbox"||e==="radio")}function g0(t,e,a){var n=Object.getOwnPropertyDescriptor(t.constructor.prototype,e);if(!t.hasOwnProperty(e)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var l=n.get,s=n.set;return Object.defineProperty(t,e,{configurable:!0,get:function(){return l.call(this)},set:function(c){a=""+c,s.call(this,c)}}),Object.defineProperty(t,e,{enumerable:n.enumerable}),{getValue:function(){return a},setValue:function(c){a=""+c},stopTracking:function(){t._valueTracker=null,delete t[e]}}}}function Wu(t){if(!t._valueTracker){var e=tc(t)?"checked":"value";t._valueTracker=g0(t,e,""+t[e])}}function ec(t){if(!t)return!1;var e=t._valueTracker;if(!e)return!0;var a=e.getValue(),n="";return t&&(n=tc(t)?t.checked?"true":"false":t.value),t=n,t!==a?(e.setValue(t),!0):!1}function xi(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 y0=/[\n"\\]/g;function Ye(t){return t.replace(y0,function(e){return"\\"+e.charCodeAt(0).toString(16)+" "})}function Fu(t,e,a,n,l,s,c,h){t.name="",c!=null&&typeof c!="function"&&typeof c!="symbol"&&typeof c!="boolean"?t.type=c:t.removeAttribute("type"),e!=null?c==="number"?(e===0&&t.value===""||t.value!=e)&&(t.value=""+qe(e)):t.value!==""+qe(e)&&(t.value=""+qe(e)):c!=="submit"&&c!=="reset"||t.removeAttribute("value"),e!=null?Iu(t,c,qe(e)):a!=null?Iu(t,c,qe(a)):n!=null&&t.removeAttribute("value"),l==null&&s!=null&&(t.defaultChecked=!!s),l!=null&&(t.checked=l&&typeof l!="function"&&typeof l!="symbol"),h!=null&&typeof h!="function"&&typeof h!="symbol"&&typeof h!="boolean"?t.name=""+qe(h):t.removeAttribute("name")}function ac(t,e,a,n,l,s,c,h){if(s!=null&&typeof s!="function"&&typeof s!="symbol"&&typeof s!="boolean"&&(t.type=s),e!=null||a!=null){if(!(s!=="submit"&&s!=="reset"||e!=null)){Wu(t);return}a=a!=null?""+qe(a):"",e=e!=null?""+qe(e):a,h||e===t.value||(t.value=e),t.defaultValue=e}n=n??l,n=typeof n!="function"&&typeof n!="symbol"&&!!n,t.checked=h?t.checked:!!n,t.defaultChecked=!!n,c!=null&&typeof c!="function"&&typeof c!="symbol"&&typeof c!="boolean"&&(t.name=c),Wu(t)}function Iu(t,e,a){e==="number"&&xi(t.ownerDocument)===t||t.defaultValue===""+a||(t.defaultValue=""+a)}function Cn(t,e,a,n){if(t=t.options,e){e={};for(var l=0;l<a.length;l++)e["$"+a[l]]=!0;for(a=0;a<t.length;a++)l=e.hasOwnProperty("$"+t[a].value),t[a].selected!==l&&(t[a].selected=l),l&&n&&(t[a].defaultSelected=!0)}else{for(a=""+qe(a),e=null,l=0;l<t.length;l++){if(t[l].value===a){t[l].selected=!0,n&&(t[l].defaultSelected=!0);return}e!==null||t[l].disabled||(e=t[l])}e!==null&&(e.selected=!0)}}function nc(t,e,a){if(e!=null&&(e=""+qe(e),e!==t.value&&(t.value=e),a==null)){t.defaultValue!==e&&(t.defaultValue=e);return}t.defaultValue=a!=null?""+qe(a):""}function lc(t,e,a,n){if(e==null){if(n!=null){if(a!=null)throw Error(r(92));if(Ht(n)){if(1<n.length)throw Error(r(93));n=n[0]}a=n}a==null&&(a=""),e=a}a=qe(e),t.defaultValue=a,n=t.textContent,n===a&&n!==""&&n!==null&&(t.value=n),Wu(t)}function zn(t,e){if(e){var a=t.firstChild;if(a&&a===t.lastChild&&a.nodeType===3){a.nodeValue=e;return}}t.textContent=e}var v0=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 ic(t,e,a){var n=e.indexOf("--")===0;a==null||typeof a=="boolean"||a===""?n?t.setProperty(e,""):e==="float"?t.cssFloat="":t[e]="":n?t.setProperty(e,a):typeof a!="number"||a===0||v0.has(e)?e==="float"?t.cssFloat=a:t[e]=(""+a).trim():t[e]=a+"px"}function uc(t,e,a){if(e!=null&&typeof e!="object")throw Error(r(62));if(t=t.style,a!=null){for(var n in a)!a.hasOwnProperty(n)||e!=null&&e.hasOwnProperty(n)||(n.indexOf("--")===0?t.setProperty(n,""):n==="float"?t.cssFloat="":t[n]="");for(var l in e)n=e[l],e.hasOwnProperty(l)&&a[l]!==n&&ic(t,l,n)}else for(var s in e)e.hasOwnProperty(s)&&ic(t,s,e[s])}function ts(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 b0=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"]]),S0=/^[\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 Ai(t){return S0.test(""+t)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":t}function da(){}var es=null;function as(t){return t=t.target||t.srcElement||window,t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===3?t.parentNode:t}var On=null,Nn=null;function sc(t){var e=Mn(t);if(e&&(t=e.stateNode)){var a=t[Se]||null;t:switch(t=e.stateNode,e.type){case"input":if(Fu(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="'+Ye(""+e)+'"][type="radio"]'),e=0;e<a.length;e++){var n=a[e];if(n!==t&&n.form===t.form){var l=n[Se]||null;if(!l)throw Error(r(90));Fu(n,l.value,l.defaultValue,l.defaultValue,l.checked,l.defaultChecked,l.type,l.name)}}for(e=0;e<a.length;e++)n=a[e],n.form===t.form&&ec(n)}break t;case"textarea":nc(t,a.value,a.defaultValue);break t;case"select":e=a.value,e!=null&&Cn(t,!!a.multiple,e,!1)}}}var ns=!1;function rc(t,e,a){if(ns)return t(e,a);ns=!0;try{var n=t(e);return n}finally{if(ns=!1,(On!==null||Nn!==null)&&(fu(),On&&(e=On,t=Nn,Nn=On=null,sc(e),t)))for(e=0;e<t.length;e++)sc(t[e])}}function vl(t,e){var a=t.stateNode;if(a===null)return null;var n=a[Se]||null;if(n===null)return null;a=n[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":(n=!n.disabled)||(t=t.type,n=!(t==="button"||t==="input"||t==="select"||t==="textarea")),t=!n;break t;default:t=!1}if(t)return null;if(a&&typeof a!="function")throw Error(r(231,e,typeof a));return a}var ha=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),ls=!1;if(ha)try{var bl={};Object.defineProperty(bl,"passive",{get:function(){ls=!0}}),window.addEventListener("test",bl,bl),window.removeEventListener("test",bl,bl)}catch{ls=!1}var ka=null,is=null,_i=null;function oc(){if(_i)return _i;var t,e=is,a=e.length,n,l="value"in ka?ka.value:ka.textContent,s=l.length;for(t=0;t<a&&e[t]===l[t];t++);var c=a-t;for(n=1;n<=c&&e[a-n]===l[s-n];n++);return _i=l.slice(t,1<n?1-n:void 0)}function Ti(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 Mi(){return!0}function cc(){return!1}function we(t){function e(a,n,l,s,c){this._reactName=a,this._targetInst=l,this.type=n,this.nativeEvent=s,this.target=c,this.currentTarget=null;for(var h in t)t.hasOwnProperty(h)&&(a=t[h],this[h]=a?a(s):s[h]);return this.isDefaultPrevented=(s.defaultPrevented!=null?s.defaultPrevented:s.returnValue===!1)?Mi:cc,this.isPropagationStopped=cc,this}return A(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=Mi)},stopPropagation:function(){var a=this.nativeEvent;a&&(a.stopPropagation?a.stopPropagation():typeof a.cancelBubble!="unknown"&&(a.cancelBubble=!0),this.isPropagationStopped=Mi)},persist:function(){},isPersistent:Mi}),e}var sn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(t){return t.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Di=we(sn),Sl=A({},sn,{view:0,detail:0}),w0=we(Sl),us,ss,wl,Ri=A({},Sl,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:os,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!==wl&&(wl&&t.type==="mousemove"?(us=t.screenX-wl.screenX,ss=t.screenY-wl.screenY):ss=us=0,wl=t),us)},movementY:function(t){return"movementY"in t?t.movementY:ss}}),fc=we(Ri),E0=A({},Ri,{dataTransfer:0}),x0=we(E0),A0=A({},Sl,{relatedTarget:0}),rs=we(A0),_0=A({},sn,{animationName:0,elapsedTime:0,pseudoElement:0}),T0=we(_0),M0=A({},sn,{clipboardData:function(t){return"clipboardData"in t?t.clipboardData:window.clipboardData}}),D0=we(M0),R0=A({},sn,{data:0}),dc=we(R0),C0={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},z0={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"},O0={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function N0(t){var e=this.nativeEvent;return e.getModifierState?e.getModifierState(t):(t=O0[t])?!!e[t]:!1}function os(){return N0}var k0=A({},Sl,{key:function(t){if(t.key){var e=C0[t.key]||t.key;if(e!=="Unidentified")return e}return t.type==="keypress"?(t=Ti(t),t===13?"Enter":String.fromCharCode(t)):t.type==="keydown"||t.type==="keyup"?z0[t.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:os,charCode:function(t){return t.type==="keypress"?Ti(t):0},keyCode:function(t){return t.type==="keydown"||t.type==="keyup"?t.keyCode:0},which:function(t){return t.type==="keypress"?Ti(t):t.type==="keydown"||t.type==="keyup"?t.keyCode:0}}),U0=we(k0),j0=A({},Ri,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),hc=we(j0),L0=A({},Sl,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:os}),B0=we(L0),H0=A({},sn,{propertyName:0,elapsedTime:0,pseudoElement:0}),q0=we(H0),Y0=A({},Ri,{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}),V0=we(Y0),G0=A({},sn,{newState:0,oldState:0}),X0=we(G0),Q0=[9,13,27,32],cs=ha&&"CompositionEvent"in window,El=null;ha&&"documentMode"in document&&(El=document.documentMode);var Z0=ha&&"TextEvent"in window&&!El,mc=ha&&(!cs||El&&8<El&&11>=El),pc=" ",gc=!1;function yc(t,e){switch(t){case"keyup":return Q0.indexOf(e.keyCode)!==-1;case"keydown":return e.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function vc(t){return t=t.detail,typeof t=="object"&&"data"in t?t.data:null}var kn=!1;function K0(t,e){switch(t){case"compositionend":return vc(e);case"keypress":return e.which!==32?null:(gc=!0,pc);case"textInput":return t=e.data,t===pc&&gc?null:t;default:return null}}function J0(t,e){if(kn)return t==="compositionend"||!cs&&yc(t,e)?(t=oc(),_i=is=ka=null,kn=!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 mc&&e.locale!=="ko"?null:e.data;default:return null}}var $0={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 bc(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return e==="input"?!!$0[t.type]:e==="textarea"}function Sc(t,e,a,n){On?Nn?Nn.push(n):Nn=[n]:On=n,e=vu(e,"onChange"),0<e.length&&(a=new Di("onChange","change",null,a,n),t.push({event:a,listeners:e}))}var xl=null,Al=null;function P0(t){nh(t,0)}function Ci(t){var e=yl(t);if(ec(e))return t}function wc(t,e){if(t==="change")return e}var Ec=!1;if(ha){var fs;if(ha){var ds="oninput"in document;if(!ds){var xc=document.createElement("div");xc.setAttribute("oninput","return;"),ds=typeof xc.oninput=="function"}fs=ds}else fs=!1;Ec=fs&&(!document.documentMode||9<document.documentMode)}function Ac(){xl&&(xl.detachEvent("onpropertychange",_c),Al=xl=null)}function _c(t){if(t.propertyName==="value"&&Ci(Al)){var e=[];Sc(e,Al,t,as(t)),rc(P0,e)}}function W0(t,e,a){t==="focusin"?(Ac(),xl=e,Al=a,xl.attachEvent("onpropertychange",_c)):t==="focusout"&&Ac()}function F0(t){if(t==="selectionchange"||t==="keyup"||t==="keydown")return Ci(Al)}function I0(t,e){if(t==="click")return Ci(e)}function tp(t,e){if(t==="input"||t==="change")return Ci(e)}function ep(t,e){return t===e&&(t!==0||1/t===1/e)||t!==t&&e!==e}var ze=typeof Object.is=="function"?Object.is:ep;function _l(t,e){if(ze(t,e))return!0;if(typeof t!="object"||t===null||typeof e!="object"||e===null)return!1;var a=Object.keys(t),n=Object.keys(e);if(a.length!==n.length)return!1;for(n=0;n<a.length;n++){var l=a[n];if(!be.call(e,l)||!ze(t[l],e[l]))return!1}return!0}function Tc(t){for(;t&&t.firstChild;)t=t.firstChild;return t}function Mc(t,e){var a=Tc(t);t=0;for(var n;a;){if(a.nodeType===3){if(n=t+a.textContent.length,t<=e&&n>=e)return{node:a,offset:e-t};t=n}t:{for(;a;){if(a.nextSibling){a=a.nextSibling;break t}a=a.parentNode}a=void 0}a=Tc(a)}}function Dc(t,e){return t&&e?t===e?!0:t&&t.nodeType===3?!1:e&&e.nodeType===3?Dc(t,e.parentNode):"contains"in t?t.contains(e):t.compareDocumentPosition?!!(t.compareDocumentPosition(e)&16):!1:!1}function Rc(t){t=t!=null&&t.ownerDocument!=null&&t.ownerDocument.defaultView!=null?t.ownerDocument.defaultView:window;for(var e=xi(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=xi(t.document)}return e}function hs(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 ap=ha&&"documentMode"in document&&11>=document.documentMode,Un=null,ms=null,Tl=null,ps=!1;function Cc(t,e,a){var n=a.window===a?a.document:a.nodeType===9?a:a.ownerDocument;ps||Un==null||Un!==xi(n)||(n=Un,"selectionStart"in n&&hs(n)?n={start:n.selectionStart,end:n.selectionEnd}:(n=(n.ownerDocument&&n.ownerDocument.defaultView||window).getSelection(),n={anchorNode:n.anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset}),Tl&&_l(Tl,n)||(Tl=n,n=vu(ms,"onSelect"),0<n.length&&(e=new Di("onSelect","select",null,e,a),t.push({event:e,listeners:n}),e.target=Un)))}function rn(t,e){var a={};return a[t.toLowerCase()]=e.toLowerCase(),a["Webkit"+t]="webkit"+e,a["Moz"+t]="moz"+e,a}var jn={animationend:rn("Animation","AnimationEnd"),animationiteration:rn("Animation","AnimationIteration"),animationstart:rn("Animation","AnimationStart"),transitionrun:rn("Transition","TransitionRun"),transitionstart:rn("Transition","TransitionStart"),transitioncancel:rn("Transition","TransitionCancel"),transitionend:rn("Transition","TransitionEnd")},gs={},zc={};ha&&(zc=document.createElement("div").style,"AnimationEvent"in window||(delete jn.animationend.animation,delete jn.animationiteration.animation,delete jn.animationstart.animation),"TransitionEvent"in window||delete jn.transitionend.transition);function on(t){if(gs[t])return gs[t];if(!jn[t])return t;var e=jn[t],a;for(a in e)if(e.hasOwnProperty(a)&&a in zc)return gs[t]=e[a];return t}var Oc=on("animationend"),Nc=on("animationiteration"),kc=on("animationstart"),np=on("transitionrun"),lp=on("transitionstart"),ip=on("transitioncancel"),Uc=on("transitionend"),jc=new Map,ys="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(" ");ys.push("scrollEnd");function Ie(t,e){jc.set(t,e),un(e,[t])}var zi=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)},Ve=[],Ln=0,vs=0;function Oi(){for(var t=Ln,e=vs=Ln=0;e<t;){var a=Ve[e];Ve[e++]=null;var n=Ve[e];Ve[e++]=null;var l=Ve[e];Ve[e++]=null;var s=Ve[e];if(Ve[e++]=null,n!==null&&l!==null){var c=n.pending;c===null?l.next=l:(l.next=c.next,c.next=l),n.pending=l}s!==0&&Lc(a,l,s)}}function Ni(t,e,a,n){Ve[Ln++]=t,Ve[Ln++]=e,Ve[Ln++]=a,Ve[Ln++]=n,vs|=n,t.lanes|=n,t=t.alternate,t!==null&&(t.lanes|=n)}function bs(t,e,a,n){return Ni(t,e,a,n),ki(t)}function cn(t,e){return Ni(t,null,null,e),ki(t)}function Lc(t,e,a){t.lanes|=a;var n=t.alternate;n!==null&&(n.lanes|=a);for(var l=!1,s=t.return;s!==null;)s.childLanes|=a,n=s.alternate,n!==null&&(n.childLanes|=a),s.tag===22&&(t=s.stateNode,t===null||t._visibility&1||(l=!0)),t=s,s=s.return;return t.tag===3?(s=t.stateNode,l&&e!==null&&(l=31-Ce(a),t=s.hiddenUpdates,n=t[l],n===null?t[l]=[e]:n.push(e),e.lane=a|536870912),s):null}function ki(t){if(50<Jl)throw Jl=0,Dr=null,Error(r(185));for(var e=t.return;e!==null;)t=e,e=t.return;return t.tag===3?t.stateNode:null}var Bn={};function up(t,e,a,n){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=n,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Oe(t,e,a,n){return new up(t,e,a,n)}function Ss(t){return t=t.prototype,!(!t||!t.isReactComponent)}function ma(t,e){var a=t.alternate;return a===null?(a=Oe(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 Bc(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 Ui(t,e,a,n,l,s){var c=0;if(n=t,typeof t=="function")Ss(t)&&(c=1);else if(typeof t=="string")c=fg(t,a,I.current)?26:t==="html"||t==="head"||t==="body"?27:5;else t:switch(t){case Qt:return t=Oe(31,a,e,l),t.elementType=Qt,t.lanes=s,t;case X:return fn(a.children,l,s,e);case L:c=8,l|=24;break;case O:return t=Oe(12,a,e,l|2),t.elementType=O,t.lanes=s,t;case G:return t=Oe(13,a,e,l),t.elementType=G,t.lanes=s,t;case tt:return t=Oe(19,a,e,l),t.elementType=tt,t.lanes=s,t;default:if(typeof t=="object"&&t!==null)switch(t.$$typeof){case p:c=10;break t;case N:c=9;break t;case $:c=11;break t;case K:c=14;break t;case Et:c=16,n=null;break t}c=29,a=Error(r(130,t===null?"null":typeof t,"")),n=null}return e=Oe(c,a,e,l),e.elementType=t,e.type=n,e.lanes=s,e}function fn(t,e,a,n){return t=Oe(7,t,n,e),t.lanes=a,t}function ws(t,e,a){return t=Oe(6,t,null,e),t.lanes=a,t}function Hc(t){var e=Oe(18,null,null,0);return e.stateNode=t,e}function Es(t,e,a){return e=Oe(4,t.children!==null?t.children:[],t.key,e),e.lanes=a,e.stateNode={containerInfo:t.containerInfo,pendingChildren:null,implementation:t.implementation},e}var qc=new WeakMap;function Ge(t,e){if(typeof t=="object"&&t!==null){var a=qc.get(t);return a!==void 0?a:(e={value:t,source:e,stack:Kt(e)},qc.set(t,e),e)}return{value:t,source:e,stack:Kt(e)}}var Hn=[],qn=0,ji=null,Ml=0,Xe=[],Qe=0,Ua=null,sa=1,ra="";function pa(t,e){Hn[qn++]=Ml,Hn[qn++]=ji,ji=t,Ml=e}function Yc(t,e,a){Xe[Qe++]=sa,Xe[Qe++]=ra,Xe[Qe++]=Ua,Ua=t;var n=sa;t=ra;var l=32-Ce(n)-1;n&=~(1<<l),a+=1;var s=32-Ce(e)+l;if(30<s){var c=l-l%5;s=(n&(1<<c)-1).toString(32),n>>=c,l-=c,sa=1<<32-Ce(e)+l|a<<l|n,ra=s+t}else sa=1<<s|a<<l|n,ra=t}function xs(t){t.return!==null&&(pa(t,1),Yc(t,1,0))}function As(t){for(;t===ji;)ji=Hn[--qn],Hn[qn]=null,Ml=Hn[--qn],Hn[qn]=null;for(;t===Ua;)Ua=Xe[--Qe],Xe[Qe]=null,ra=Xe[--Qe],Xe[Qe]=null,sa=Xe[--Qe],Xe[Qe]=null}function Vc(t,e){Xe[Qe++]=sa,Xe[Qe++]=ra,Xe[Qe++]=Ua,sa=e.id,ra=e.overflow,Ua=t}var ce=null,Yt=null,wt=!1,ja=null,Ze=!1,_s=Error(r(519));function La(t){var e=Error(r(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw Dl(Ge(e,t)),_s}function Gc(t){var e=t.stateNode,a=t.type,n=t.memoizedProps;switch(e[oe]=t,e[Se]=n,a){case"dialog":yt("cancel",e),yt("close",e);break;case"iframe":case"object":case"embed":yt("load",e);break;case"video":case"audio":for(a=0;a<Pl.length;a++)yt(Pl[a],e);break;case"source":yt("error",e);break;case"img":case"image":case"link":yt("error",e),yt("load",e);break;case"details":yt("toggle",e);break;case"input":yt("invalid",e),ac(e,n.value,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name,!0);break;case"select":yt("invalid",e);break;case"textarea":yt("invalid",e),lc(e,n.value,n.defaultValue,n.children)}a=n.children,typeof a!="string"&&typeof a!="number"&&typeof a!="bigint"||e.textContent===""+a||n.suppressHydrationWarning===!0||sh(e.textContent,a)?(n.popover!=null&&(yt("beforetoggle",e),yt("toggle",e)),n.onScroll!=null&&yt("scroll",e),n.onScrollEnd!=null&&yt("scrollend",e),n.onClick!=null&&(e.onclick=da),e=!0):e=!1,e||La(t,!0)}function Xc(t){for(ce=t.return;ce;)switch(ce.tag){case 5:case 31:case 13:Ze=!1;return;case 27:case 3:Ze=!0;return;default:ce=ce.return}}function Yn(t){if(t!==ce)return!1;if(!wt)return Xc(t),wt=!0,!1;var e=t.tag,a;if((a=e!==3&&e!==27)&&((a=e===5)&&(a=t.type,a=!(a!=="form"&&a!=="button")||Gr(t.type,t.memoizedProps)),a=!a),a&&Yt&&La(t),Xc(t),e===13){if(t=t.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(r(317));Yt=gh(t)}else if(e===31){if(t=t.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(r(317));Yt=gh(t)}else e===27?(e=Yt,Wa(t.type)?(t=Jr,Jr=null,Yt=t):Yt=e):Yt=ce?Je(t.stateNode.nextSibling):null;return!0}function dn(){Yt=ce=null,wt=!1}function Ts(){var t=ja;return t!==null&&(_e===null?_e=t:_e.push.apply(_e,t),ja=null),t}function Dl(t){ja===null?ja=[t]:ja.push(t)}var Ms=x(null),hn=null,ga=null;function Ba(t,e,a){J(Ms,e._currentValue),e._currentValue=a}function ya(t){t._currentValue=Ms.current,q(Ms)}function Ds(t,e,a){for(;t!==null;){var n=t.alternate;if((t.childLanes&e)!==e?(t.childLanes|=e,n!==null&&(n.childLanes|=e)):n!==null&&(n.childLanes&e)!==e&&(n.childLanes|=e),t===a)break;t=t.return}}function Rs(t,e,a,n){var l=t.child;for(l!==null&&(l.return=t);l!==null;){var s=l.dependencies;if(s!==null){var c=l.child;s=s.firstContext;t:for(;s!==null;){var h=s;s=l;for(var v=0;v<e.length;v++)if(h.context===e[v]){s.lanes|=a,h=s.alternate,h!==null&&(h.lanes|=a),Ds(s.return,a,t),n||(c=null);break t}s=h.next}}else if(l.tag===18){if(c=l.return,c===null)throw Error(r(341));c.lanes|=a,s=c.alternate,s!==null&&(s.lanes|=a),Ds(c,a,t),c=null}else c=l.child;if(c!==null)c.return=l;else for(c=l;c!==null;){if(c===t){c=null;break}if(l=c.sibling,l!==null){l.return=c.return,c=l;break}c=c.return}l=c}}function Vn(t,e,a,n){t=null;for(var l=e,s=!1;l!==null;){if(!s){if((l.flags&524288)!==0)s=!0;else if((l.flags&262144)!==0)break}if(l.tag===10){var c=l.alternate;if(c===null)throw Error(r(387));if(c=c.memoizedProps,c!==null){var h=l.type;ze(l.pendingProps.value,c.value)||(t!==null?t.push(h):t=[h])}}else if(l===V.current){if(c=l.alternate,c===null)throw Error(r(387));c.memoizedState.memoizedState!==l.memoizedState.memoizedState&&(t!==null?t.push(ei):t=[ei])}l=l.return}t!==null&&Rs(e,t,a,n),e.flags|=262144}function Li(t){for(t=t.firstContext;t!==null;){if(!ze(t.context._currentValue,t.memoizedValue))return!0;t=t.next}return!1}function mn(t){hn=t,ga=null,t=t.dependencies,t!==null&&(t.firstContext=null)}function fe(t){return Qc(hn,t)}function Bi(t,e){return hn===null&&mn(t),Qc(t,e)}function Qc(t,e){var a=e._currentValue;if(e={context:e,memoizedValue:a,next:null},ga===null){if(t===null)throw Error(r(308));ga=e,t.dependencies={lanes:0,firstContext:e},t.flags|=524288}else ga=ga.next=e;return a}var sp=typeof AbortController<"u"?AbortController:function(){var t=[],e=this.signal={aborted:!1,addEventListener:function(a,n){t.push(n)}};this.abort=function(){e.aborted=!0,t.forEach(function(a){return a()})}},rp=u.unstable_scheduleCallback,op=u.unstable_NormalPriority,It={$$typeof:p,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function Cs(){return{controller:new sp,data:new Map,refCount:0}}function Rl(t){t.refCount--,t.refCount===0&&rp(op,function(){t.controller.abort()})}var Cl=null,zs=0,Gn=0,Xn=null;function cp(t,e){if(Cl===null){var a=Cl=[];zs=0,Gn=kr(),Xn={status:"pending",value:void 0,then:function(n){a.push(n)}}}return zs++,e.then(Zc,Zc),e}function Zc(){if(--zs===0&&Cl!==null){Xn!==null&&(Xn.status="fulfilled");var t=Cl;Cl=null,Gn=0,Xn=null;for(var e=0;e<t.length;e++)(0,t[e])()}}function fp(t,e){var a=[],n={status:"pending",value:null,reason:null,then:function(l){a.push(l)}};return t.then(function(){n.status="fulfilled",n.value=e;for(var l=0;l<a.length;l++)(0,a[l])(e)},function(l){for(n.status="rejected",n.reason=l,l=0;l<a.length;l++)(0,a[l])(void 0)}),n}var Kc=U.S;U.S=function(t,e){zd=qt(),typeof e=="object"&&e!==null&&typeof e.then=="function"&&cp(t,e),Kc!==null&&Kc(t,e)};var pn=x(null);function Os(){var t=pn.current;return t!==null?t:Bt.pooledCache}function Hi(t,e){e===null?J(pn,pn.current):J(pn,e.pool)}function Jc(){var t=Os();return t===null?null:{parent:It._currentValue,pool:t}}var Qn=Error(r(460)),Ns=Error(r(474)),qi=Error(r(542)),Yi={then:function(){}};function $c(t){return t=t.status,t==="fulfilled"||t==="rejected"}function Pc(t,e,a){switch(a=t[a],a===void 0?t.push(e):a!==e&&(e.then(da,da),e=a),e.status){case"fulfilled":return e.value;case"rejected":throw t=e.reason,Fc(t),t;default:if(typeof e.status=="string")e.then(da,da);else{if(t=Bt,t!==null&&100<t.shellSuspendCounter)throw Error(r(482));t=e,t.status="pending",t.then(function(n){if(e.status==="pending"){var l=e;l.status="fulfilled",l.value=n}},function(n){if(e.status==="pending"){var l=e;l.status="rejected",l.reason=n}})}switch(e.status){case"fulfilled":return e.value;case"rejected":throw t=e.reason,Fc(t),t}throw yn=e,Qn}}function gn(t){try{var e=t._init;return e(t._payload)}catch(a){throw a!==null&&typeof a=="object"&&typeof a.then=="function"?(yn=a,Qn):a}}var yn=null;function Wc(){if(yn===null)throw Error(r(459));var t=yn;return yn=null,t}function Fc(t){if(t===Qn||t===qi)throw Error(r(483))}var Zn=null,zl=0;function Vi(t){var e=zl;return zl+=1,Zn===null&&(Zn=[]),Pc(Zn,t,e)}function Ol(t,e){e=e.props.ref,t.ref=e!==void 0?e:null}function Gi(t,e){throw e.$$typeof===k?Error(r(525)):(t=Object.prototype.toString.call(e),Error(r(31,t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)))}function Ic(t){function e(_,S){if(t){var D=_.deletions;D===null?(_.deletions=[S],_.flags|=16):D.push(S)}}function a(_,S){if(!t)return null;for(;S!==null;)e(_,S),S=S.sibling;return null}function n(_){for(var S=new Map;_!==null;)_.key!==null?S.set(_.key,_):S.set(_.index,_),_=_.sibling;return S}function l(_,S){return _=ma(_,S),_.index=0,_.sibling=null,_}function s(_,S,D){return _.index=D,t?(D=_.alternate,D!==null?(D=D.index,D<S?(_.flags|=67108866,S):D):(_.flags|=67108866,S)):(_.flags|=1048576,S)}function c(_){return t&&_.alternate===null&&(_.flags|=67108866),_}function h(_,S,D,B){return S===null||S.tag!==6?(S=ws(D,_.mode,B),S.return=_,S):(S=l(S,D),S.return=_,S)}function v(_,S,D,B){var at=D.type;return at===X?j(_,S,D.props.children,B,D.key):S!==null&&(S.elementType===at||typeof at=="object"&&at!==null&&at.$$typeof===Et&&gn(at)===S.type)?(S=l(S,D.props),Ol(S,D),S.return=_,S):(S=Ui(D.type,D.key,D.props,null,_.mode,B),Ol(S,D),S.return=_,S)}function R(_,S,D,B){return S===null||S.tag!==4||S.stateNode.containerInfo!==D.containerInfo||S.stateNode.implementation!==D.implementation?(S=Es(D,_.mode,B),S.return=_,S):(S=l(S,D.children||[]),S.return=_,S)}function j(_,S,D,B,at){return S===null||S.tag!==7?(S=fn(D,_.mode,B,at),S.return=_,S):(S=l(S,D),S.return=_,S)}function H(_,S,D){if(typeof S=="string"&&S!==""||typeof S=="number"||typeof S=="bigint")return S=ws(""+S,_.mode,D),S.return=_,S;if(typeof S=="object"&&S!==null){switch(S.$$typeof){case Q:return D=Ui(S.type,S.key,S.props,null,_.mode,D),Ol(D,S),D.return=_,D;case Z:return S=Es(S,_.mode,D),S.return=_,S;case Et:return S=gn(S),H(_,S,D)}if(Ht(S)||kt(S))return S=fn(S,_.mode,D,null),S.return=_,S;if(typeof S.then=="function")return H(_,Vi(S),D);if(S.$$typeof===p)return H(_,Bi(_,S),D);Gi(_,S)}return null}function C(_,S,D,B){var at=S!==null?S.key:null;if(typeof D=="string"&&D!==""||typeof D=="number"||typeof D=="bigint")return at!==null?null:h(_,S,""+D,B);if(typeof D=="object"&&D!==null){switch(D.$$typeof){case Q:return D.key===at?v(_,S,D,B):null;case Z:return D.key===at?R(_,S,D,B):null;case Et:return D=gn(D),C(_,S,D,B)}if(Ht(D)||kt(D))return at!==null?null:j(_,S,D,B,null);if(typeof D.then=="function")return C(_,S,Vi(D),B);if(D.$$typeof===p)return C(_,S,Bi(_,D),B);Gi(_,D)}return null}function z(_,S,D,B,at){if(typeof B=="string"&&B!==""||typeof B=="number"||typeof B=="bigint")return _=_.get(D)||null,h(S,_,""+B,at);if(typeof B=="object"&&B!==null){switch(B.$$typeof){case Q:return _=_.get(B.key===null?D:B.key)||null,v(S,_,B,at);case Z:return _=_.get(B.key===null?D:B.key)||null,R(S,_,B,at);case Et:return B=gn(B),z(_,S,D,B,at)}if(Ht(B)||kt(B))return _=_.get(D)||null,j(S,_,B,at,null);if(typeof B.then=="function")return z(_,S,D,Vi(B),at);if(B.$$typeof===p)return z(_,S,D,Bi(S,B),at);Gi(S,B)}return null}function F(_,S,D,B){for(var at=null,At=null,et=S,dt=S=0,bt=null;et!==null&&dt<D.length;dt++){et.index>dt?(bt=et,et=null):bt=et.sibling;var _t=C(_,et,D[dt],B);if(_t===null){et===null&&(et=bt);break}t&&et&&_t.alternate===null&&e(_,et),S=s(_t,S,dt),At===null?at=_t:At.sibling=_t,At=_t,et=bt}if(dt===D.length)return a(_,et),wt&&pa(_,dt),at;if(et===null){for(;dt<D.length;dt++)et=H(_,D[dt],B),et!==null&&(S=s(et,S,dt),At===null?at=et:At.sibling=et,At=et);return wt&&pa(_,dt),at}for(et=n(et);dt<D.length;dt++)bt=z(et,_,dt,D[dt],B),bt!==null&&(t&&bt.alternate!==null&&et.delete(bt.key===null?dt:bt.key),S=s(bt,S,dt),At===null?at=bt:At.sibling=bt,At=bt);return t&&et.forEach(function(an){return e(_,an)}),wt&&pa(_,dt),at}function it(_,S,D,B){if(D==null)throw Error(r(151));for(var at=null,At=null,et=S,dt=S=0,bt=null,_t=D.next();et!==null&&!_t.done;dt++,_t=D.next()){et.index>dt?(bt=et,et=null):bt=et.sibling;var an=C(_,et,_t.value,B);if(an===null){et===null&&(et=bt);break}t&&et&&an.alternate===null&&e(_,et),S=s(an,S,dt),At===null?at=an:At.sibling=an,At=an,et=bt}if(_t.done)return a(_,et),wt&&pa(_,dt),at;if(et===null){for(;!_t.done;dt++,_t=D.next())_t=H(_,_t.value,B),_t!==null&&(S=s(_t,S,dt),At===null?at=_t:At.sibling=_t,At=_t);return wt&&pa(_,dt),at}for(et=n(et);!_t.done;dt++,_t=D.next())_t=z(et,_,dt,_t.value,B),_t!==null&&(t&&_t.alternate!==null&&et.delete(_t.key===null?dt:_t.key),S=s(_t,S,dt),At===null?at=_t:At.sibling=_t,At=_t);return t&&et.forEach(function(Eg){return e(_,Eg)}),wt&&pa(_,dt),at}function Lt(_,S,D,B){if(typeof D=="object"&&D!==null&&D.type===X&&D.key===null&&(D=D.props.children),typeof D=="object"&&D!==null){switch(D.$$typeof){case Q:t:{for(var at=D.key;S!==null;){if(S.key===at){if(at=D.type,at===X){if(S.tag===7){a(_,S.sibling),B=l(S,D.props.children),B.return=_,_=B;break t}}else if(S.elementType===at||typeof at=="object"&&at!==null&&at.$$typeof===Et&&gn(at)===S.type){a(_,S.sibling),B=l(S,D.props),Ol(B,D),B.return=_,_=B;break t}a(_,S);break}else e(_,S);S=S.sibling}D.type===X?(B=fn(D.props.children,_.mode,B,D.key),B.return=_,_=B):(B=Ui(D.type,D.key,D.props,null,_.mode,B),Ol(B,D),B.return=_,_=B)}return c(_);case Z:t:{for(at=D.key;S!==null;){if(S.key===at)if(S.tag===4&&S.stateNode.containerInfo===D.containerInfo&&S.stateNode.implementation===D.implementation){a(_,S.sibling),B=l(S,D.children||[]),B.return=_,_=B;break t}else{a(_,S);break}else e(_,S);S=S.sibling}B=Es(D,_.mode,B),B.return=_,_=B}return c(_);case Et:return D=gn(D),Lt(_,S,D,B)}if(Ht(D))return F(_,S,D,B);if(kt(D)){if(at=kt(D),typeof at!="function")throw Error(r(150));return D=at.call(D),it(_,S,D,B)}if(typeof D.then=="function")return Lt(_,S,Vi(D),B);if(D.$$typeof===p)return Lt(_,S,Bi(_,D),B);Gi(_,D)}return typeof D=="string"&&D!==""||typeof D=="number"||typeof D=="bigint"?(D=""+D,S!==null&&S.tag===6?(a(_,S.sibling),B=l(S,D),B.return=_,_=B):(a(_,S),B=ws(D,_.mode,B),B.return=_,_=B),c(_)):a(_,S)}return function(_,S,D,B){try{zl=0;var at=Lt(_,S,D,B);return Zn=null,at}catch(et){if(et===Qn||et===qi)throw et;var At=Oe(29,et,null,_.mode);return At.lanes=B,At.return=_,At}finally{}}}var vn=Ic(!0),tf=Ic(!1),Ha=!1;function ks(t){t.updateQueue={baseState:t.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Us(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 qa(t){return{lane:t,tag:0,payload:null,callback:null,next:null}}function Ya(t,e,a){var n=t.updateQueue;if(n===null)return null;if(n=n.shared,(Mt&2)!==0){var l=n.pending;return l===null?e.next=e:(e.next=l.next,l.next=e),n.pending=e,e=ki(t),Lc(t,null,a),e}return Ni(t,n,e,a),ki(t)}function Nl(t,e,a){if(e=e.updateQueue,e!==null&&(e=e.shared,(a&4194048)!==0)){var n=e.lanes;n&=t.pendingLanes,a|=n,e.lanes=a,Qo(t,a)}}function js(t,e){var a=t.updateQueue,n=t.alternate;if(n!==null&&(n=n.updateQueue,a===n)){var l=null,s=null;if(a=a.firstBaseUpdate,a!==null){do{var c={lane:a.lane,tag:a.tag,payload:a.payload,callback:null,next:null};s===null?l=s=c:s=s.next=c,a=a.next}while(a!==null);s===null?l=s=e:s=s.next=e}else l=s=e;a={baseState:n.baseState,firstBaseUpdate:l,lastBaseUpdate:s,shared:n.shared,callbacks:n.callbacks},t.updateQueue=a;return}t=a.lastBaseUpdate,t===null?a.firstBaseUpdate=e:t.next=e,a.lastBaseUpdate=e}var Ls=!1;function kl(){if(Ls){var t=Xn;if(t!==null)throw t}}function Ul(t,e,a,n){Ls=!1;var l=t.updateQueue;Ha=!1;var s=l.firstBaseUpdate,c=l.lastBaseUpdate,h=l.shared.pending;if(h!==null){l.shared.pending=null;var v=h,R=v.next;v.next=null,c===null?s=R:c.next=R,c=v;var j=t.alternate;j!==null&&(j=j.updateQueue,h=j.lastBaseUpdate,h!==c&&(h===null?j.firstBaseUpdate=R:h.next=R,j.lastBaseUpdate=v))}if(s!==null){var H=l.baseState;c=0,j=R=v=null,h=s;do{var C=h.lane&-536870913,z=C!==h.lane;if(z?(vt&C)===C:(n&C)===C){C!==0&&C===Gn&&(Ls=!0),j!==null&&(j=j.next={lane:0,tag:h.tag,payload:h.payload,callback:null,next:null});t:{var F=t,it=h;C=e;var Lt=a;switch(it.tag){case 1:if(F=it.payload,typeof F=="function"){H=F.call(Lt,H,C);break t}H=F;break t;case 3:F.flags=F.flags&-65537|128;case 0:if(F=it.payload,C=typeof F=="function"?F.call(Lt,H,C):F,C==null)break t;H=A({},H,C);break t;case 2:Ha=!0}}C=h.callback,C!==null&&(t.flags|=64,z&&(t.flags|=8192),z=l.callbacks,z===null?l.callbacks=[C]:z.push(C))}else z={lane:C,tag:h.tag,payload:h.payload,callback:h.callback,next:null},j===null?(R=j=z,v=H):j=j.next=z,c|=C;if(h=h.next,h===null){if(h=l.shared.pending,h===null)break;z=h,h=z.next,z.next=null,l.lastBaseUpdate=z,l.shared.pending=null}}while(!0);j===null&&(v=H),l.baseState=v,l.firstBaseUpdate=R,l.lastBaseUpdate=j,s===null&&(l.shared.lanes=0),Za|=c,t.lanes=c,t.memoizedState=H}}function ef(t,e){if(typeof t!="function")throw Error(r(191,t));t.call(e)}function af(t,e){var a=t.callbacks;if(a!==null)for(t.callbacks=null,t=0;t<a.length;t++)ef(a[t],e)}var Kn=x(null),Xi=x(0);function nf(t,e){t=Ta,J(Xi,t),J(Kn,e),Ta=t|e.baseLanes}function Bs(){J(Xi,Ta),J(Kn,Kn.current)}function Hs(){Ta=Xi.current,q(Kn),q(Xi)}var Ne=x(null),Ke=null;function Va(t){var e=t.alternate;J(Wt,Wt.current&1),J(Ne,t),Ke===null&&(e===null||Kn.current!==null||e.memoizedState!==null)&&(Ke=t)}function qs(t){J(Wt,Wt.current),J(Ne,t),Ke===null&&(Ke=t)}function lf(t){t.tag===22?(J(Wt,Wt.current),J(Ne,t),Ke===null&&(Ke=t)):Ga()}function Ga(){J(Wt,Wt.current),J(Ne,Ne.current)}function ke(t){q(Ne),Ke===t&&(Ke=null),q(Wt)}var Wt=x(0);function Qi(t){for(var e=t;e!==null;){if(e.tag===13){var a=e.memoizedState;if(a!==null&&(a=a.dehydrated,a===null||Zr(a)||Kr(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 va=0,ft=null,Ut=null,te=null,Zi=!1,Jn=!1,bn=!1,Ki=0,jl=0,$n=null,dp=0;function $t(){throw Error(r(321))}function Ys(t,e){if(e===null)return!1;for(var a=0;a<e.length&&a<t.length;a++)if(!ze(t[a],e[a]))return!1;return!0}function Vs(t,e,a,n,l,s){return va=s,ft=e,e.memoizedState=null,e.updateQueue=null,e.lanes=0,U.H=t===null||t.memoizedState===null?Vf:nr,bn=!1,s=a(n,l),bn=!1,Jn&&(s=sf(e,a,n,l)),uf(t),s}function uf(t){U.H=Hl;var e=Ut!==null&&Ut.next!==null;if(va=0,te=Ut=ft=null,Zi=!1,jl=0,$n=null,e)throw Error(r(300));t===null||ee||(t=t.dependencies,t!==null&&Li(t)&&(ee=!0))}function sf(t,e,a,n){ft=t;var l=0;do{if(Jn&&($n=null),jl=0,Jn=!1,25<=l)throw Error(r(301));if(l+=1,te=Ut=null,t.updateQueue!=null){var s=t.updateQueue;s.lastEffect=null,s.events=null,s.stores=null,s.memoCache!=null&&(s.memoCache.index=0)}U.H=Gf,s=e(a,n)}while(Jn);return s}function hp(){var t=U.H,e=t.useState()[0];return e=typeof e.then=="function"?Ll(e):e,t=t.useState()[0],(Ut!==null?Ut.memoizedState:null)!==t&&(ft.flags|=1024),e}function Gs(){var t=Ki!==0;return Ki=0,t}function Xs(t,e,a){e.updateQueue=t.updateQueue,e.flags&=-2053,t.lanes&=~a}function Qs(t){if(Zi){for(t=t.memoizedState;t!==null;){var e=t.queue;e!==null&&(e.pending=null),t=t.next}Zi=!1}va=0,te=Ut=ft=null,Jn=!1,jl=Ki=0,$n=null}function ye(){var t={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return te===null?ft.memoizedState=te=t:te=te.next=t,te}function Ft(){if(Ut===null){var t=ft.alternate;t=t!==null?t.memoizedState:null}else t=Ut.next;var e=te===null?ft.memoizedState:te.next;if(e!==null)te=e,Ut=t;else{if(t===null)throw ft.alternate===null?Error(r(467)):Error(r(310));Ut=t,t={memoizedState:Ut.memoizedState,baseState:Ut.baseState,baseQueue:Ut.baseQueue,queue:Ut.queue,next:null},te===null?ft.memoizedState=te=t:te=te.next=t}return te}function Ji(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Ll(t){var e=jl;return jl+=1,$n===null&&($n=[]),t=Pc($n,t,e),e=ft,(te===null?e.memoizedState:te.next)===null&&(e=e.alternate,U.H=e===null||e.memoizedState===null?Vf:nr),t}function $i(t){if(t!==null&&typeof t=="object"){if(typeof t.then=="function")return Ll(t);if(t.$$typeof===p)return fe(t)}throw Error(r(438,String(t)))}function Zs(t){var e=null,a=ft.updateQueue;if(a!==null&&(e=a.memoCache),e==null){var n=ft.alternate;n!==null&&(n=n.updateQueue,n!==null&&(n=n.memoCache,n!=null&&(e={data:n.data.map(function(l){return l.slice()}),index:0})))}if(e==null&&(e={data:[],index:0}),a===null&&(a=Ji(),ft.updateQueue=a),a.memoCache=e,a=e.data[e.index],a===void 0)for(a=e.data[e.index]=Array(t),n=0;n<t;n++)a[n]=re;return e.index++,a}function ba(t,e){return typeof e=="function"?e(t):e}function Pi(t){var e=Ft();return Ks(e,Ut,t)}function Ks(t,e,a){var n=t.queue;if(n===null)throw Error(r(311));n.lastRenderedReducer=a;var l=t.baseQueue,s=n.pending;if(s!==null){if(l!==null){var c=l.next;l.next=s.next,s.next=c}e.baseQueue=l=s,n.pending=null}if(s=t.baseState,l===null)t.memoizedState=s;else{e=l.next;var h=c=null,v=null,R=e,j=!1;do{var H=R.lane&-536870913;if(H!==R.lane?(vt&H)===H:(va&H)===H){var C=R.revertLane;if(C===0)v!==null&&(v=v.next={lane:0,revertLane:0,gesture:null,action:R.action,hasEagerState:R.hasEagerState,eagerState:R.eagerState,next:null}),H===Gn&&(j=!0);else if((va&C)===C){R=R.next,C===Gn&&(j=!0);continue}else H={lane:0,revertLane:R.revertLane,gesture:null,action:R.action,hasEagerState:R.hasEagerState,eagerState:R.eagerState,next:null},v===null?(h=v=H,c=s):v=v.next=H,ft.lanes|=C,Za|=C;H=R.action,bn&&a(s,H),s=R.hasEagerState?R.eagerState:a(s,H)}else C={lane:H,revertLane:R.revertLane,gesture:R.gesture,action:R.action,hasEagerState:R.hasEagerState,eagerState:R.eagerState,next:null},v===null?(h=v=C,c=s):v=v.next=C,ft.lanes|=H,Za|=H;R=R.next}while(R!==null&&R!==e);if(v===null?c=s:v.next=h,!ze(s,t.memoizedState)&&(ee=!0,j&&(a=Xn,a!==null)))throw a;t.memoizedState=s,t.baseState=c,t.baseQueue=v,n.lastRenderedState=s}return l===null&&(n.lanes=0),[t.memoizedState,n.dispatch]}function Js(t){var e=Ft(),a=e.queue;if(a===null)throw Error(r(311));a.lastRenderedReducer=t;var n=a.dispatch,l=a.pending,s=e.memoizedState;if(l!==null){a.pending=null;var c=l=l.next;do s=t(s,c.action),c=c.next;while(c!==l);ze(s,e.memoizedState)||(ee=!0),e.memoizedState=s,e.baseQueue===null&&(e.baseState=s),a.lastRenderedState=s}return[s,n]}function rf(t,e,a){var n=ft,l=Ft(),s=wt;if(s){if(a===void 0)throw Error(r(407));a=a()}else a=e();var c=!ze((Ut||l).memoizedState,a);if(c&&(l.memoizedState=a,ee=!0),l=l.queue,Ws(ff.bind(null,n,l,t),[t]),l.getSnapshot!==e||c||te!==null&&te.memoizedState.tag&1){if(n.flags|=2048,Pn(9,{destroy:void 0},cf.bind(null,n,l,a,e),null),Bt===null)throw Error(r(349));s||(va&127)!==0||of(n,e,a)}return a}function of(t,e,a){t.flags|=16384,t={getSnapshot:e,value:a},e=ft.updateQueue,e===null?(e=Ji(),ft.updateQueue=e,e.stores=[t]):(a=e.stores,a===null?e.stores=[t]:a.push(t))}function cf(t,e,a,n){e.value=a,e.getSnapshot=n,df(e)&&hf(t)}function ff(t,e,a){return a(function(){df(e)&&hf(t)})}function df(t){var e=t.getSnapshot;t=t.value;try{var a=e();return!ze(t,a)}catch{return!0}}function hf(t){var e=cn(t,2);e!==null&&Te(e,t,2)}function $s(t){var e=ye();if(typeof t=="function"){var a=t;if(t=a(),bn){Oa(!0);try{a()}finally{Oa(!1)}}}return e.memoizedState=e.baseState=t,e.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:ba,lastRenderedState:t},e}function mf(t,e,a,n){return t.baseState=a,Ks(t,Ut,typeof n=="function"?n:ba)}function mp(t,e,a,n,l){if(Ii(t))throw Error(r(485));if(t=e.action,t!==null){var s={payload:l,action:t,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(c){s.listeners.push(c)}};U.T!==null?a(!0):s.isTransition=!1,n(s),a=e.pending,a===null?(s.next=e.pending=s,pf(e,s)):(s.next=a.next,e.pending=a.next=s)}}function pf(t,e){var a=e.action,n=e.payload,l=t.state;if(e.isTransition){var s=U.T,c={};U.T=c;try{var h=a(l,n),v=U.S;v!==null&&v(c,h),gf(t,e,h)}catch(R){Ps(t,e,R)}finally{s!==null&&c.types!==null&&(s.types=c.types),U.T=s}}else try{s=a(l,n),gf(t,e,s)}catch(R){Ps(t,e,R)}}function gf(t,e,a){a!==null&&typeof a=="object"&&typeof a.then=="function"?a.then(function(n){yf(t,e,n)},function(n){return Ps(t,e,n)}):yf(t,e,a)}function yf(t,e,a){e.status="fulfilled",e.value=a,vf(e),t.state=a,e=t.pending,e!==null&&(a=e.next,a===e?t.pending=null:(a=a.next,e.next=a,pf(t,a)))}function Ps(t,e,a){var n=t.pending;if(t.pending=null,n!==null){n=n.next;do e.status="rejected",e.reason=a,vf(e),e=e.next;while(e!==n)}t.action=null}function vf(t){t=t.listeners;for(var e=0;e<t.length;e++)(0,t[e])()}function bf(t,e){return e}function Sf(t,e){if(wt){var a=Bt.formState;if(a!==null){t:{var n=ft;if(wt){if(Yt){e:{for(var l=Yt,s=Ze;l.nodeType!==8;){if(!s){l=null;break e}if(l=Je(l.nextSibling),l===null){l=null;break e}}s=l.data,l=s==="F!"||s==="F"?l:null}if(l){Yt=Je(l.nextSibling),n=l.data==="F!";break t}}La(n)}n=!1}n&&(e=a[0])}}return a=ye(),a.memoizedState=a.baseState=e,n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:bf,lastRenderedState:e},a.queue=n,a=Hf.bind(null,ft,n),n.dispatch=a,n=$s(!1),s=ar.bind(null,ft,!1,n.queue),n=ye(),l={state:e,dispatch:null,action:t,pending:null},n.queue=l,a=mp.bind(null,ft,l,s,a),l.dispatch=a,n.memoizedState=t,[e,a,!1]}function wf(t){var e=Ft();return Ef(e,Ut,t)}function Ef(t,e,a){if(e=Ks(t,e,bf)[0],t=Pi(ba)[0],typeof e=="object"&&e!==null&&typeof e.then=="function")try{var n=Ll(e)}catch(c){throw c===Qn?qi:c}else n=e;e=Ft();var l=e.queue,s=l.dispatch;return a!==e.memoizedState&&(ft.flags|=2048,Pn(9,{destroy:void 0},pp.bind(null,l,a),null)),[n,s,t]}function pp(t,e){t.action=e}function xf(t){var e=Ft(),a=Ut;if(a!==null)return Ef(e,a,t);Ft(),e=e.memoizedState,a=Ft();var n=a.queue.dispatch;return a.memoizedState=t,[e,n,!1]}function Pn(t,e,a,n){return t={tag:t,create:a,deps:n,inst:e,next:null},e=ft.updateQueue,e===null&&(e=Ji(),ft.updateQueue=e),a=e.lastEffect,a===null?e.lastEffect=t.next=t:(n=a.next,a.next=t,t.next=n,e.lastEffect=t),t}function Af(){return Ft().memoizedState}function Wi(t,e,a,n){var l=ye();ft.flags|=t,l.memoizedState=Pn(1|e,{destroy:void 0},a,n===void 0?null:n)}function Fi(t,e,a,n){var l=Ft();n=n===void 0?null:n;var s=l.memoizedState.inst;Ut!==null&&n!==null&&Ys(n,Ut.memoizedState.deps)?l.memoizedState=Pn(e,s,a,n):(ft.flags|=t,l.memoizedState=Pn(1|e,s,a,n))}function _f(t,e){Wi(8390656,8,t,e)}function Ws(t,e){Fi(2048,8,t,e)}function gp(t){ft.flags|=4;var e=ft.updateQueue;if(e===null)e=Ji(),ft.updateQueue=e,e.events=[t];else{var a=e.events;a===null?e.events=[t]:a.push(t)}}function Tf(t){var e=Ft().memoizedState;return gp({ref:e,nextImpl:t}),function(){if((Mt&2)!==0)throw Error(r(440));return e.impl.apply(void 0,arguments)}}function Mf(t,e){return Fi(4,2,t,e)}function Df(t,e){return Fi(4,4,t,e)}function Rf(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 Cf(t,e,a){a=a!=null?a.concat([t]):null,Fi(4,4,Rf.bind(null,e,t),a)}function Fs(){}function zf(t,e){var a=Ft();e=e===void 0?null:e;var n=a.memoizedState;return e!==null&&Ys(e,n[1])?n[0]:(a.memoizedState=[t,e],t)}function Of(t,e){var a=Ft();e=e===void 0?null:e;var n=a.memoizedState;if(e!==null&&Ys(e,n[1]))return n[0];if(n=t(),bn){Oa(!0);try{t()}finally{Oa(!1)}}return a.memoizedState=[n,e],n}function Is(t,e,a){return a===void 0||(va&1073741824)!==0&&(vt&261930)===0?t.memoizedState=e:(t.memoizedState=a,t=Nd(),ft.lanes|=t,Za|=t,a)}function Nf(t,e,a,n){return ze(a,e)?a:Kn.current!==null?(t=Is(t,a,n),ze(t,e)||(ee=!0),t):(va&42)===0||(va&1073741824)!==0&&(vt&261930)===0?(ee=!0,t.memoizedState=a):(t=Nd(),ft.lanes|=t,Za|=t,e)}function kf(t,e,a,n,l){var s=T.p;T.p=s!==0&&8>s?s:8;var c=U.T,h={};U.T=h,ar(t,!1,e,a);try{var v=l(),R=U.S;if(R!==null&&R(h,v),v!==null&&typeof v=="object"&&typeof v.then=="function"){var j=fp(v,n);Bl(t,e,j,Le(t))}else Bl(t,e,n,Le(t))}catch(H){Bl(t,e,{then:function(){},status:"rejected",reason:H},Le())}finally{T.p=s,c!==null&&h.types!==null&&(c.types=h.types),U.T=c}}function yp(){}function tr(t,e,a,n){if(t.tag!==5)throw Error(r(476));var l=Uf(t).queue;kf(t,l,e,P,a===null?yp:function(){return jf(t),a(n)})}function Uf(t){var e=t.memoizedState;if(e!==null)return e;e={memoizedState:P,baseState:P,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:ba,lastRenderedState:P},next:null};var a={};return e.next={memoizedState:a,baseState:a,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:ba,lastRenderedState:a},next:null},t.memoizedState=e,t=t.alternate,t!==null&&(t.memoizedState=e),e}function jf(t){var e=Uf(t);e.next===null&&(e=t.alternate.memoizedState),Bl(t,e.next.queue,{},Le())}function er(){return fe(ei)}function Lf(){return Ft().memoizedState}function Bf(){return Ft().memoizedState}function vp(t){for(var e=t.return;e!==null;){switch(e.tag){case 24:case 3:var a=Le();t=qa(a);var n=Ya(e,t,a);n!==null&&(Te(n,e,a),Nl(n,e,a)),e={cache:Cs()},t.payload=e;return}e=e.return}}function bp(t,e,a){var n=Le();a={lane:n,revertLane:0,gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null},Ii(t)?qf(e,a):(a=bs(t,e,a,n),a!==null&&(Te(a,t,n),Yf(a,e,n)))}function Hf(t,e,a){var n=Le();Bl(t,e,a,n)}function Bl(t,e,a,n){var l={lane:n,revertLane:0,gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null};if(Ii(t))qf(e,l);else{var s=t.alternate;if(t.lanes===0&&(s===null||s.lanes===0)&&(s=e.lastRenderedReducer,s!==null))try{var c=e.lastRenderedState,h=s(c,a);if(l.hasEagerState=!0,l.eagerState=h,ze(h,c))return Ni(t,e,l,0),Bt===null&&Oi(),!1}catch{}finally{}if(a=bs(t,e,l,n),a!==null)return Te(a,t,n),Yf(a,e,n),!0}return!1}function ar(t,e,a,n){if(n={lane:2,revertLane:kr(),gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null},Ii(t)){if(e)throw Error(r(479))}else e=bs(t,a,n,2),e!==null&&Te(e,t,2)}function Ii(t){var e=t.alternate;return t===ft||e!==null&&e===ft}function qf(t,e){Jn=Zi=!0;var a=t.pending;a===null?e.next=e:(e.next=a.next,a.next=e),t.pending=e}function Yf(t,e,a){if((a&4194048)!==0){var n=e.lanes;n&=t.pendingLanes,a|=n,e.lanes=a,Qo(t,a)}}var Hl={readContext:fe,use:$i,useCallback:$t,useContext:$t,useEffect:$t,useImperativeHandle:$t,useLayoutEffect:$t,useInsertionEffect:$t,useMemo:$t,useReducer:$t,useRef:$t,useState:$t,useDebugValue:$t,useDeferredValue:$t,useTransition:$t,useSyncExternalStore:$t,useId:$t,useHostTransitionStatus:$t,useFormState:$t,useActionState:$t,useOptimistic:$t,useMemoCache:$t,useCacheRefresh:$t};Hl.useEffectEvent=$t;var Vf={readContext:fe,use:$i,useCallback:function(t,e){return ye().memoizedState=[t,e===void 0?null:e],t},useContext:fe,useEffect:_f,useImperativeHandle:function(t,e,a){a=a!=null?a.concat([t]):null,Wi(4194308,4,Rf.bind(null,e,t),a)},useLayoutEffect:function(t,e){return Wi(4194308,4,t,e)},useInsertionEffect:function(t,e){Wi(4,2,t,e)},useMemo:function(t,e){var a=ye();e=e===void 0?null:e;var n=t();if(bn){Oa(!0);try{t()}finally{Oa(!1)}}return a.memoizedState=[n,e],n},useReducer:function(t,e,a){var n=ye();if(a!==void 0){var l=a(e);if(bn){Oa(!0);try{a(e)}finally{Oa(!1)}}}else l=e;return n.memoizedState=n.baseState=l,t={pending:null,lanes:0,dispatch:null,lastRenderedReducer:t,lastRenderedState:l},n.queue=t,t=t.dispatch=bp.bind(null,ft,t),[n.memoizedState,t]},useRef:function(t){var e=ye();return t={current:t},e.memoizedState=t},useState:function(t){t=$s(t);var e=t.queue,a=Hf.bind(null,ft,e);return e.dispatch=a,[t.memoizedState,a]},useDebugValue:Fs,useDeferredValue:function(t,e){var a=ye();return Is(a,t,e)},useTransition:function(){var t=$s(!1);return t=kf.bind(null,ft,t.queue,!0,!1),ye().memoizedState=t,[!1,t]},useSyncExternalStore:function(t,e,a){var n=ft,l=ye();if(wt){if(a===void 0)throw Error(r(407));a=a()}else{if(a=e(),Bt===null)throw Error(r(349));(vt&127)!==0||of(n,e,a)}l.memoizedState=a;var s={value:a,getSnapshot:e};return l.queue=s,_f(ff.bind(null,n,s,t),[t]),n.flags|=2048,Pn(9,{destroy:void 0},cf.bind(null,n,s,a,e),null),a},useId:function(){var t=ye(),e=Bt.identifierPrefix;if(wt){var a=ra,n=sa;a=(n&~(1<<32-Ce(n)-1)).toString(32)+a,e="_"+e+"R_"+a,a=Ki++,0<a&&(e+="H"+a.toString(32)),e+="_"}else a=dp++,e="_"+e+"r_"+a.toString(32)+"_";return t.memoizedState=e},useHostTransitionStatus:er,useFormState:Sf,useActionState:Sf,useOptimistic:function(t){var e=ye();e.memoizedState=e.baseState=t;var a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return e.queue=a,e=ar.bind(null,ft,!0,a),a.dispatch=e,[t,e]},useMemoCache:Zs,useCacheRefresh:function(){return ye().memoizedState=vp.bind(null,ft)},useEffectEvent:function(t){var e=ye(),a={impl:t};return e.memoizedState=a,function(){if((Mt&2)!==0)throw Error(r(440));return a.impl.apply(void 0,arguments)}}},nr={readContext:fe,use:$i,useCallback:zf,useContext:fe,useEffect:Ws,useImperativeHandle:Cf,useInsertionEffect:Mf,useLayoutEffect:Df,useMemo:Of,useReducer:Pi,useRef:Af,useState:function(){return Pi(ba)},useDebugValue:Fs,useDeferredValue:function(t,e){var a=Ft();return Nf(a,Ut.memoizedState,t,e)},useTransition:function(){var t=Pi(ba)[0],e=Ft().memoizedState;return[typeof t=="boolean"?t:Ll(t),e]},useSyncExternalStore:rf,useId:Lf,useHostTransitionStatus:er,useFormState:wf,useActionState:wf,useOptimistic:function(t,e){var a=Ft();return mf(a,Ut,t,e)},useMemoCache:Zs,useCacheRefresh:Bf};nr.useEffectEvent=Tf;var Gf={readContext:fe,use:$i,useCallback:zf,useContext:fe,useEffect:Ws,useImperativeHandle:Cf,useInsertionEffect:Mf,useLayoutEffect:Df,useMemo:Of,useReducer:Js,useRef:Af,useState:function(){return Js(ba)},useDebugValue:Fs,useDeferredValue:function(t,e){var a=Ft();return Ut===null?Is(a,t,e):Nf(a,Ut.memoizedState,t,e)},useTransition:function(){var t=Js(ba)[0],e=Ft().memoizedState;return[typeof t=="boolean"?t:Ll(t),e]},useSyncExternalStore:rf,useId:Lf,useHostTransitionStatus:er,useFormState:xf,useActionState:xf,useOptimistic:function(t,e){var a=Ft();return Ut!==null?mf(a,Ut,t,e):(a.baseState=t,[t,a.queue.dispatch])},useMemoCache:Zs,useCacheRefresh:Bf};Gf.useEffectEvent=Tf;function lr(t,e,a,n){e=t.memoizedState,a=a(n,e),a=a==null?e:A({},e,a),t.memoizedState=a,t.lanes===0&&(t.updateQueue.baseState=a)}var ir={enqueueSetState:function(t,e,a){t=t._reactInternals;var n=Le(),l=qa(n);l.payload=e,a!=null&&(l.callback=a),e=Ya(t,l,n),e!==null&&(Te(e,t,n),Nl(e,t,n))},enqueueReplaceState:function(t,e,a){t=t._reactInternals;var n=Le(),l=qa(n);l.tag=1,l.payload=e,a!=null&&(l.callback=a),e=Ya(t,l,n),e!==null&&(Te(e,t,n),Nl(e,t,n))},enqueueForceUpdate:function(t,e){t=t._reactInternals;var a=Le(),n=qa(a);n.tag=2,e!=null&&(n.callback=e),e=Ya(t,n,a),e!==null&&(Te(e,t,a),Nl(e,t,a))}};function Xf(t,e,a,n,l,s,c){return t=t.stateNode,typeof t.shouldComponentUpdate=="function"?t.shouldComponentUpdate(n,s,c):e.prototype&&e.prototype.isPureReactComponent?!_l(a,n)||!_l(l,s):!0}function Qf(t,e,a,n){t=e.state,typeof e.componentWillReceiveProps=="function"&&e.componentWillReceiveProps(a,n),typeof e.UNSAFE_componentWillReceiveProps=="function"&&e.UNSAFE_componentWillReceiveProps(a,n),e.state!==t&&ir.enqueueReplaceState(e,e.state,null)}function Sn(t,e){var a=e;if("ref"in e){a={};for(var n in e)n!=="ref"&&(a[n]=e[n])}if(t=t.defaultProps){a===e&&(a=A({},a));for(var l in t)a[l]===void 0&&(a[l]=t[l])}return a}function Zf(t){zi(t)}function Kf(t){console.error(t)}function Jf(t){zi(t)}function tu(t,e){try{var a=t.onUncaughtError;a(e.value,{componentStack:e.stack})}catch(n){setTimeout(function(){throw n})}}function $f(t,e,a){try{var n=t.onCaughtError;n(a.value,{componentStack:a.stack,errorBoundary:e.tag===1?e.stateNode:null})}catch(l){setTimeout(function(){throw l})}}function ur(t,e,a){return a=qa(a),a.tag=3,a.payload={element:null},a.callback=function(){tu(t,e)},a}function Pf(t){return t=qa(t),t.tag=3,t}function Wf(t,e,a,n){var l=a.type.getDerivedStateFromError;if(typeof l=="function"){var s=n.value;t.payload=function(){return l(s)},t.callback=function(){$f(e,a,n)}}var c=a.stateNode;c!==null&&typeof c.componentDidCatch=="function"&&(t.callback=function(){$f(e,a,n),typeof l!="function"&&(Ka===null?Ka=new Set([this]):Ka.add(this));var h=n.stack;this.componentDidCatch(n.value,{componentStack:h!==null?h:""})})}function Sp(t,e,a,n,l){if(a.flags|=32768,n!==null&&typeof n=="object"&&typeof n.then=="function"){if(e=a.alternate,e!==null&&Vn(e,a,l,!0),a=Ne.current,a!==null){switch(a.tag){case 31:case 13:return Ke===null?du():a.alternate===null&&Pt===0&&(Pt=3),a.flags&=-257,a.flags|=65536,a.lanes=l,n===Yi?a.flags|=16384:(e=a.updateQueue,e===null?a.updateQueue=new Set([n]):e.add(n),zr(t,n,l)),!1;case 22:return a.flags|=65536,n===Yi?a.flags|=16384:(e=a.updateQueue,e===null?(e={transitions:null,markerInstances:null,retryQueue:new Set([n])},a.updateQueue=e):(a=e.retryQueue,a===null?e.retryQueue=new Set([n]):a.add(n)),zr(t,n,l)),!1}throw Error(r(435,a.tag))}return zr(t,n,l),du(),!1}if(wt)return e=Ne.current,e!==null?((e.flags&65536)===0&&(e.flags|=256),e.flags|=65536,e.lanes=l,n!==_s&&(t=Error(r(422),{cause:n}),Dl(Ge(t,a)))):(n!==_s&&(e=Error(r(423),{cause:n}),Dl(Ge(e,a))),t=t.current.alternate,t.flags|=65536,l&=-l,t.lanes|=l,n=Ge(n,a),l=ur(t.stateNode,n,l),js(t,l),Pt!==4&&(Pt=2)),!1;var s=Error(r(520),{cause:n});if(s=Ge(s,a),Kl===null?Kl=[s]:Kl.push(s),Pt!==4&&(Pt=2),e===null)return!0;n=Ge(n,a),a=e;do{switch(a.tag){case 3:return a.flags|=65536,t=l&-l,a.lanes|=t,t=ur(a.stateNode,n,t),js(a,t),!1;case 1:if(e=a.type,s=a.stateNode,(a.flags&128)===0&&(typeof e.getDerivedStateFromError=="function"||s!==null&&typeof s.componentDidCatch=="function"&&(Ka===null||!Ka.has(s))))return a.flags|=65536,l&=-l,a.lanes|=l,l=Pf(l),Wf(l,t,a,n),js(a,l),!1}a=a.return}while(a!==null);return!1}var sr=Error(r(461)),ee=!1;function de(t,e,a,n){e.child=t===null?tf(e,null,a,n):vn(e,t.child,a,n)}function Ff(t,e,a,n,l){a=a.render;var s=e.ref;if("ref"in n){var c={};for(var h in n)h!=="ref"&&(c[h]=n[h])}else c=n;return mn(e),n=Vs(t,e,a,c,s,l),h=Gs(),t!==null&&!ee?(Xs(t,e,l),Sa(t,e,l)):(wt&&h&&xs(e),e.flags|=1,de(t,e,n,l),e.child)}function If(t,e,a,n,l){if(t===null){var s=a.type;return typeof s=="function"&&!Ss(s)&&s.defaultProps===void 0&&a.compare===null?(e.tag=15,e.type=s,td(t,e,s,n,l)):(t=Ui(a.type,null,n,e,e.mode,l),t.ref=e.ref,t.return=e,e.child=t)}if(s=t.child,!pr(t,l)){var c=s.memoizedProps;if(a=a.compare,a=a!==null?a:_l,a(c,n)&&t.ref===e.ref)return Sa(t,e,l)}return e.flags|=1,t=ma(s,n),t.ref=e.ref,t.return=e,e.child=t}function td(t,e,a,n,l){if(t!==null){var s=t.memoizedProps;if(_l(s,n)&&t.ref===e.ref)if(ee=!1,e.pendingProps=n=s,pr(t,l))(t.flags&131072)!==0&&(ee=!0);else return e.lanes=t.lanes,Sa(t,e,l)}return rr(t,e,a,n,l)}function ed(t,e,a,n){var l=n.children,s=t!==null?t.memoizedState:null;if(t===null&&e.stateNode===null&&(e.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),n.mode==="hidden"){if((e.flags&128)!==0){if(s=s!==null?s.baseLanes|a:a,t!==null){for(n=e.child=t.child,l=0;n!==null;)l=l|n.lanes|n.childLanes,n=n.sibling;n=l&~s}else n=0,e.child=null;return ad(t,e,s,a,n)}if((a&536870912)!==0)e.memoizedState={baseLanes:0,cachePool:null},t!==null&&Hi(e,s!==null?s.cachePool:null),s!==null?nf(e,s):Bs(),lf(e);else return n=e.lanes=536870912,ad(t,e,s!==null?s.baseLanes|a:a,a,n)}else s!==null?(Hi(e,s.cachePool),nf(e,s),Ga(),e.memoizedState=null):(t!==null&&Hi(e,null),Bs(),Ga());return de(t,e,l,a),e.child}function ql(t,e){return t!==null&&t.tag===22||e.stateNode!==null||(e.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),e.sibling}function ad(t,e,a,n,l){var s=Os();return s=s===null?null:{parent:It._currentValue,pool:s},e.memoizedState={baseLanes:a,cachePool:s},t!==null&&Hi(e,null),Bs(),lf(e),t!==null&&Vn(t,e,n,!0),e.childLanes=l,null}function eu(t,e){return e=nu({mode:e.mode,children:e.children},t.mode),e.ref=t.ref,t.child=e,e.return=t,e}function nd(t,e,a){return vn(e,t.child,null,a),t=eu(e,e.pendingProps),t.flags|=2,ke(e),e.memoizedState=null,t}function wp(t,e,a){var n=e.pendingProps,l=(e.flags&128)!==0;if(e.flags&=-129,t===null){if(wt){if(n.mode==="hidden")return t=eu(e,n),e.lanes=536870912,ql(null,t);if(qs(e),(t=Yt)?(t=ph(t,Ze),t=t!==null&&t.data==="&"?t:null,t!==null&&(e.memoizedState={dehydrated:t,treeContext:Ua!==null?{id:sa,overflow:ra}:null,retryLane:536870912,hydrationErrors:null},a=Hc(t),a.return=e,e.child=a,ce=e,Yt=null)):t=null,t===null)throw La(e);return e.lanes=536870912,null}return eu(e,n)}var s=t.memoizedState;if(s!==null){var c=s.dehydrated;if(qs(e),l)if(e.flags&256)e.flags&=-257,e=nd(t,e,a);else if(e.memoizedState!==null)e.child=t.child,e.flags|=128,e=null;else throw Error(r(558));else if(ee||Vn(t,e,a,!1),l=(a&t.childLanes)!==0,ee||l){if(n=Bt,n!==null&&(c=Zo(n,a),c!==0&&c!==s.retryLane))throw s.retryLane=c,cn(t,c),Te(n,t,c),sr;du(),e=nd(t,e,a)}else t=s.treeContext,Yt=Je(c.nextSibling),ce=e,wt=!0,ja=null,Ze=!1,t!==null&&Vc(e,t),e=eu(e,n),e.flags|=4096;return e}return t=ma(t.child,{mode:n.mode,children:n.children}),t.ref=e.ref,e.child=t,t.return=e,t}function au(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(r(284));(t===null||t.ref!==a)&&(e.flags|=4194816)}}function rr(t,e,a,n,l){return mn(e),a=Vs(t,e,a,n,void 0,l),n=Gs(),t!==null&&!ee?(Xs(t,e,l),Sa(t,e,l)):(wt&&n&&xs(e),e.flags|=1,de(t,e,a,l),e.child)}function ld(t,e,a,n,l,s){return mn(e),e.updateQueue=null,a=sf(e,n,a,l),uf(t),n=Gs(),t!==null&&!ee?(Xs(t,e,s),Sa(t,e,s)):(wt&&n&&xs(e),e.flags|=1,de(t,e,a,s),e.child)}function id(t,e,a,n,l){if(mn(e),e.stateNode===null){var s=Bn,c=a.contextType;typeof c=="object"&&c!==null&&(s=fe(c)),s=new a(n,s),e.memoizedState=s.state!==null&&s.state!==void 0?s.state:null,s.updater=ir,e.stateNode=s,s._reactInternals=e,s=e.stateNode,s.props=n,s.state=e.memoizedState,s.refs={},ks(e),c=a.contextType,s.context=typeof c=="object"&&c!==null?fe(c):Bn,s.state=e.memoizedState,c=a.getDerivedStateFromProps,typeof c=="function"&&(lr(e,a,c,n),s.state=e.memoizedState),typeof a.getDerivedStateFromProps=="function"||typeof s.getSnapshotBeforeUpdate=="function"||typeof s.UNSAFE_componentWillMount!="function"&&typeof s.componentWillMount!="function"||(c=s.state,typeof s.componentWillMount=="function"&&s.componentWillMount(),typeof s.UNSAFE_componentWillMount=="function"&&s.UNSAFE_componentWillMount(),c!==s.state&&ir.enqueueReplaceState(s,s.state,null),Ul(e,n,s,l),kl(),s.state=e.memoizedState),typeof s.componentDidMount=="function"&&(e.flags|=4194308),n=!0}else if(t===null){s=e.stateNode;var h=e.memoizedProps,v=Sn(a,h);s.props=v;var R=s.context,j=a.contextType;c=Bn,typeof j=="object"&&j!==null&&(c=fe(j));var H=a.getDerivedStateFromProps;j=typeof H=="function"||typeof s.getSnapshotBeforeUpdate=="function",h=e.pendingProps!==h,j||typeof s.UNSAFE_componentWillReceiveProps!="function"&&typeof s.componentWillReceiveProps!="function"||(h||R!==c)&&Qf(e,s,n,c),Ha=!1;var C=e.memoizedState;s.state=C,Ul(e,n,s,l),kl(),R=e.memoizedState,h||C!==R||Ha?(typeof H=="function"&&(lr(e,a,H,n),R=e.memoizedState),(v=Ha||Xf(e,a,v,n,C,R,c))?(j||typeof s.UNSAFE_componentWillMount!="function"&&typeof s.componentWillMount!="function"||(typeof s.componentWillMount=="function"&&s.componentWillMount(),typeof s.UNSAFE_componentWillMount=="function"&&s.UNSAFE_componentWillMount()),typeof s.componentDidMount=="function"&&(e.flags|=4194308)):(typeof s.componentDidMount=="function"&&(e.flags|=4194308),e.memoizedProps=n,e.memoizedState=R),s.props=n,s.state=R,s.context=c,n=v):(typeof s.componentDidMount=="function"&&(e.flags|=4194308),n=!1)}else{s=e.stateNode,Us(t,e),c=e.memoizedProps,j=Sn(a,c),s.props=j,H=e.pendingProps,C=s.context,R=a.contextType,v=Bn,typeof R=="object"&&R!==null&&(v=fe(R)),h=a.getDerivedStateFromProps,(R=typeof h=="function"||typeof s.getSnapshotBeforeUpdate=="function")||typeof s.UNSAFE_componentWillReceiveProps!="function"&&typeof s.componentWillReceiveProps!="function"||(c!==H||C!==v)&&Qf(e,s,n,v),Ha=!1,C=e.memoizedState,s.state=C,Ul(e,n,s,l),kl();var z=e.memoizedState;c!==H||C!==z||Ha||t!==null&&t.dependencies!==null&&Li(t.dependencies)?(typeof h=="function"&&(lr(e,a,h,n),z=e.memoizedState),(j=Ha||Xf(e,a,j,n,C,z,v)||t!==null&&t.dependencies!==null&&Li(t.dependencies))?(R||typeof s.UNSAFE_componentWillUpdate!="function"&&typeof s.componentWillUpdate!="function"||(typeof s.componentWillUpdate=="function"&&s.componentWillUpdate(n,z,v),typeof s.UNSAFE_componentWillUpdate=="function"&&s.UNSAFE_componentWillUpdate(n,z,v)),typeof s.componentDidUpdate=="function"&&(e.flags|=4),typeof s.getSnapshotBeforeUpdate=="function"&&(e.flags|=1024)):(typeof s.componentDidUpdate!="function"||c===t.memoizedProps&&C===t.memoizedState||(e.flags|=4),typeof s.getSnapshotBeforeUpdate!="function"||c===t.memoizedProps&&C===t.memoizedState||(e.flags|=1024),e.memoizedProps=n,e.memoizedState=z),s.props=n,s.state=z,s.context=v,n=j):(typeof s.componentDidUpdate!="function"||c===t.memoizedProps&&C===t.memoizedState||(e.flags|=4),typeof s.getSnapshotBeforeUpdate!="function"||c===t.memoizedProps&&C===t.memoizedState||(e.flags|=1024),n=!1)}return s=n,au(t,e),n=(e.flags&128)!==0,s||n?(s=e.stateNode,a=n&&typeof a.getDerivedStateFromError!="function"?null:s.render(),e.flags|=1,t!==null&&n?(e.child=vn(e,t.child,null,l),e.child=vn(e,null,a,l)):de(t,e,a,l),e.memoizedState=s.state,t=e.child):t=Sa(t,e,l),t}function ud(t,e,a,n){return dn(),e.flags|=256,de(t,e,a,n),e.child}var or={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function cr(t){return{baseLanes:t,cachePool:Jc()}}function fr(t,e,a){return t=t!==null?t.childLanes&~a:0,e&&(t|=je),t}function sd(t,e,a){var n=e.pendingProps,l=!1,s=(e.flags&128)!==0,c;if((c=s)||(c=t!==null&&t.memoizedState===null?!1:(Wt.current&2)!==0),c&&(l=!0,e.flags&=-129),c=(e.flags&32)!==0,e.flags&=-33,t===null){if(wt){if(l?Va(e):Ga(),(t=Yt)?(t=ph(t,Ze),t=t!==null&&t.data!=="&"?t:null,t!==null&&(e.memoizedState={dehydrated:t,treeContext:Ua!==null?{id:sa,overflow:ra}:null,retryLane:536870912,hydrationErrors:null},a=Hc(t),a.return=e,e.child=a,ce=e,Yt=null)):t=null,t===null)throw La(e);return Kr(t)?e.lanes=32:e.lanes=536870912,null}var h=n.children;return n=n.fallback,l?(Ga(),l=e.mode,h=nu({mode:"hidden",children:h},l),n=fn(n,l,a,null),h.return=e,n.return=e,h.sibling=n,e.child=h,n=e.child,n.memoizedState=cr(a),n.childLanes=fr(t,c,a),e.memoizedState=or,ql(null,n)):(Va(e),dr(e,h))}var v=t.memoizedState;if(v!==null&&(h=v.dehydrated,h!==null)){if(s)e.flags&256?(Va(e),e.flags&=-257,e=hr(t,e,a)):e.memoizedState!==null?(Ga(),e.child=t.child,e.flags|=128,e=null):(Ga(),h=n.fallback,l=e.mode,n=nu({mode:"visible",children:n.children},l),h=fn(h,l,a,null),h.flags|=2,n.return=e,h.return=e,n.sibling=h,e.child=n,vn(e,t.child,null,a),n=e.child,n.memoizedState=cr(a),n.childLanes=fr(t,c,a),e.memoizedState=or,e=ql(null,n));else if(Va(e),Kr(h)){if(c=h.nextSibling&&h.nextSibling.dataset,c)var R=c.dgst;c=R,n=Error(r(419)),n.stack="",n.digest=c,Dl({value:n,source:null,stack:null}),e=hr(t,e,a)}else if(ee||Vn(t,e,a,!1),c=(a&t.childLanes)!==0,ee||c){if(c=Bt,c!==null&&(n=Zo(c,a),n!==0&&n!==v.retryLane))throw v.retryLane=n,cn(t,n),Te(c,t,n),sr;Zr(h)||du(),e=hr(t,e,a)}else Zr(h)?(e.flags|=192,e.child=t.child,e=null):(t=v.treeContext,Yt=Je(h.nextSibling),ce=e,wt=!0,ja=null,Ze=!1,t!==null&&Vc(e,t),e=dr(e,n.children),e.flags|=4096);return e}return l?(Ga(),h=n.fallback,l=e.mode,v=t.child,R=v.sibling,n=ma(v,{mode:"hidden",children:n.children}),n.subtreeFlags=v.subtreeFlags&65011712,R!==null?h=ma(R,h):(h=fn(h,l,a,null),h.flags|=2),h.return=e,n.return=e,n.sibling=h,e.child=n,ql(null,n),n=e.child,h=t.child.memoizedState,h===null?h=cr(a):(l=h.cachePool,l!==null?(v=It._currentValue,l=l.parent!==v?{parent:v,pool:v}:l):l=Jc(),h={baseLanes:h.baseLanes|a,cachePool:l}),n.memoizedState=h,n.childLanes=fr(t,c,a),e.memoizedState=or,ql(t.child,n)):(Va(e),a=t.child,t=a.sibling,a=ma(a,{mode:"visible",children:n.children}),a.return=e,a.sibling=null,t!==null&&(c=e.deletions,c===null?(e.deletions=[t],e.flags|=16):c.push(t)),e.child=a,e.memoizedState=null,a)}function dr(t,e){return e=nu({mode:"visible",children:e},t.mode),e.return=t,t.child=e}function nu(t,e){return t=Oe(22,t,null,e),t.lanes=0,t}function hr(t,e,a){return vn(e,t.child,null,a),t=dr(e,e.pendingProps.children),t.flags|=2,e.memoizedState=null,t}function rd(t,e,a){t.lanes|=e;var n=t.alternate;n!==null&&(n.lanes|=e),Ds(t.return,e,a)}function mr(t,e,a,n,l,s){var c=t.memoizedState;c===null?t.memoizedState={isBackwards:e,rendering:null,renderingStartTime:0,last:n,tail:a,tailMode:l,treeForkCount:s}:(c.isBackwards=e,c.rendering=null,c.renderingStartTime=0,c.last=n,c.tail=a,c.tailMode=l,c.treeForkCount=s)}function od(t,e,a){var n=e.pendingProps,l=n.revealOrder,s=n.tail;n=n.children;var c=Wt.current,h=(c&2)!==0;if(h?(c=c&1|2,e.flags|=128):c&=1,J(Wt,c),de(t,e,n,a),n=wt?Ml:0,!h&&t!==null&&(t.flags&128)!==0)t:for(t=e.child;t!==null;){if(t.tag===13)t.memoizedState!==null&&rd(t,a,e);else if(t.tag===19)rd(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(l){case"forwards":for(a=e.child,l=null;a!==null;)t=a.alternate,t!==null&&Qi(t)===null&&(l=a),a=a.sibling;a=l,a===null?(l=e.child,e.child=null):(l=a.sibling,a.sibling=null),mr(e,!1,l,a,s,n);break;case"backwards":case"unstable_legacy-backwards":for(a=null,l=e.child,e.child=null;l!==null;){if(t=l.alternate,t!==null&&Qi(t)===null){e.child=l;break}t=l.sibling,l.sibling=a,a=l,l=t}mr(e,!0,a,null,s,n);break;case"together":mr(e,!1,null,null,void 0,n);break;default:e.memoizedState=null}return e.child}function Sa(t,e,a){if(t!==null&&(e.dependencies=t.dependencies),Za|=e.lanes,(a&e.childLanes)===0)if(t!==null){if(Vn(t,e,a,!1),(a&e.childLanes)===0)return null}else return null;if(t!==null&&e.child!==t.child)throw Error(r(153));if(e.child!==null){for(t=e.child,a=ma(t,t.pendingProps),e.child=a,a.return=e;t.sibling!==null;)t=t.sibling,a=a.sibling=ma(t,t.pendingProps),a.return=e;a.sibling=null}return e.child}function pr(t,e){return(t.lanes&e)!==0?!0:(t=t.dependencies,!!(t!==null&&Li(t)))}function Ep(t,e,a){switch(e.tag){case 3:Y(e,e.stateNode.containerInfo),Ba(e,It,t.memoizedState.cache),dn();break;case 27:case 5:st(e);break;case 4:Y(e,e.stateNode.containerInfo);break;case 10:Ba(e,e.type,e.memoizedProps.value);break;case 31:if(e.memoizedState!==null)return e.flags|=128,qs(e),null;break;case 13:var n=e.memoizedState;if(n!==null)return n.dehydrated!==null?(Va(e),e.flags|=128,null):(a&e.child.childLanes)!==0?sd(t,e,a):(Va(e),t=Sa(t,e,a),t!==null?t.sibling:null);Va(e);break;case 19:var l=(t.flags&128)!==0;if(n=(a&e.childLanes)!==0,n||(Vn(t,e,a,!1),n=(a&e.childLanes)!==0),l){if(n)return od(t,e,a);e.flags|=128}if(l=e.memoizedState,l!==null&&(l.rendering=null,l.tail=null,l.lastEffect=null),J(Wt,Wt.current),n)break;return null;case 22:return e.lanes=0,ed(t,e,a,e.pendingProps);case 24:Ba(e,It,t.memoizedState.cache)}return Sa(t,e,a)}function cd(t,e,a){if(t!==null)if(t.memoizedProps!==e.pendingProps)ee=!0;else{if(!pr(t,a)&&(e.flags&128)===0)return ee=!1,Ep(t,e,a);ee=(t.flags&131072)!==0}else ee=!1,wt&&(e.flags&1048576)!==0&&Yc(e,Ml,e.index);switch(e.lanes=0,e.tag){case 16:t:{var n=e.pendingProps;if(t=gn(e.elementType),e.type=t,typeof t=="function")Ss(t)?(n=Sn(t,n),e.tag=1,e=id(null,e,t,n,a)):(e.tag=0,e=rr(null,e,t,n,a));else{if(t!=null){var l=t.$$typeof;if(l===$){e.tag=11,e=Ff(null,e,t,n,a);break t}else if(l===K){e.tag=14,e=If(null,e,t,n,a);break t}}throw e=pe(t)||t,Error(r(306,e,""))}}return e;case 0:return rr(t,e,e.type,e.pendingProps,a);case 1:return n=e.type,l=Sn(n,e.pendingProps),id(t,e,n,l,a);case 3:t:{if(Y(e,e.stateNode.containerInfo),t===null)throw Error(r(387));n=e.pendingProps;var s=e.memoizedState;l=s.element,Us(t,e),Ul(e,n,null,a);var c=e.memoizedState;if(n=c.cache,Ba(e,It,n),n!==s.cache&&Rs(e,[It],a,!0),kl(),n=c.element,s.isDehydrated)if(s={element:n,isDehydrated:!1,cache:c.cache},e.updateQueue.baseState=s,e.memoizedState=s,e.flags&256){e=ud(t,e,n,a);break t}else if(n!==l){l=Ge(Error(r(424)),e),Dl(l),e=ud(t,e,n,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(Yt=Je(t.firstChild),ce=e,wt=!0,ja=null,Ze=!0,a=tf(e,null,n,a),e.child=a;a;)a.flags=a.flags&-3|4096,a=a.sibling}else{if(dn(),n===l){e=Sa(t,e,a);break t}de(t,e,n,a)}e=e.child}return e;case 26:return au(t,e),t===null?(a=wh(e.type,null,e.pendingProps,null))?e.memoizedState=a:wt||(a=e.type,t=e.pendingProps,n=bu(ht.current).createElement(a),n[oe]=e,n[Se]=t,he(n,a,t),ue(n),e.stateNode=n):e.memoizedState=wh(e.type,t.memoizedProps,e.pendingProps,t.memoizedState),null;case 27:return st(e),t===null&&wt&&(n=e.stateNode=vh(e.type,e.pendingProps,ht.current),ce=e,Ze=!0,l=Yt,Wa(e.type)?(Jr=l,Yt=Je(n.firstChild)):Yt=l),de(t,e,e.pendingProps.children,a),au(t,e),t===null&&(e.flags|=4194304),e.child;case 5:return t===null&&wt&&((l=n=Yt)&&(n=Fp(n,e.type,e.pendingProps,Ze),n!==null?(e.stateNode=n,ce=e,Yt=Je(n.firstChild),Ze=!1,l=!0):l=!1),l||La(e)),st(e),l=e.type,s=e.pendingProps,c=t!==null?t.memoizedProps:null,n=s.children,Gr(l,s)?n=null:c!==null&&Gr(l,c)&&(e.flags|=32),e.memoizedState!==null&&(l=Vs(t,e,hp,null,null,a),ei._currentValue=l),au(t,e),de(t,e,n,a),e.child;case 6:return t===null&&wt&&((t=a=Yt)&&(a=Ip(a,e.pendingProps,Ze),a!==null?(e.stateNode=a,ce=e,Yt=null,t=!0):t=!1),t||La(e)),null;case 13:return sd(t,e,a);case 4:return Y(e,e.stateNode.containerInfo),n=e.pendingProps,t===null?e.child=vn(e,null,n,a):de(t,e,n,a),e.child;case 11:return Ff(t,e,e.type,e.pendingProps,a);case 7:return de(t,e,e.pendingProps,a),e.child;case 8:return de(t,e,e.pendingProps.children,a),e.child;case 12:return de(t,e,e.pendingProps.children,a),e.child;case 10:return n=e.pendingProps,Ba(e,e.type,n.value),de(t,e,n.children,a),e.child;case 9:return l=e.type._context,n=e.pendingProps.children,mn(e),l=fe(l),n=n(l),e.flags|=1,de(t,e,n,a),e.child;case 14:return If(t,e,e.type,e.pendingProps,a);case 15:return td(t,e,e.type,e.pendingProps,a);case 19:return od(t,e,a);case 31:return wp(t,e,a);case 22:return ed(t,e,a,e.pendingProps);case 24:return mn(e),n=fe(It),t===null?(l=Os(),l===null&&(l=Bt,s=Cs(),l.pooledCache=s,s.refCount++,s!==null&&(l.pooledCacheLanes|=a),l=s),e.memoizedState={parent:n,cache:l},ks(e),Ba(e,It,l)):((t.lanes&a)!==0&&(Us(t,e),Ul(e,null,null,a),kl()),l=t.memoizedState,s=e.memoizedState,l.parent!==n?(l={parent:n,cache:n},e.memoizedState=l,e.lanes===0&&(e.memoizedState=e.updateQueue.baseState=l),Ba(e,It,n)):(n=s.cache,Ba(e,It,n),n!==l.cache&&Rs(e,[It],a,!0))),de(t,e,e.pendingProps.children,a),e.child;case 29:throw e.pendingProps}throw Error(r(156,e.tag))}function wa(t){t.flags|=4}function gr(t,e,a,n,l){if((e=(t.mode&32)!==0)&&(e=!1),e){if(t.flags|=16777216,(l&335544128)===l)if(t.stateNode.complete)t.flags|=8192;else if(Ld())t.flags|=8192;else throw yn=Yi,Ns}else t.flags&=-16777217}function fd(t,e){if(e.type!=="stylesheet"||(e.state.loading&4)!==0)t.flags&=-16777217;else if(t.flags|=16777216,!Th(e))if(Ld())t.flags|=8192;else throw yn=Yi,Ns}function lu(t,e){e!==null&&(t.flags|=4),t.flags&16384&&(e=t.tag!==22?Go():536870912,t.lanes|=e,tl|=e)}function Yl(t,e){if(!wt)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 n=null;a!==null;)a.alternate!==null&&(n=a),a=a.sibling;n===null?e||t.tail===null?t.tail=null:t.tail.sibling=null:n.sibling=null}}function Vt(t){var e=t.alternate!==null&&t.alternate.child===t.child,a=0,n=0;if(e)for(var l=t.child;l!==null;)a|=l.lanes|l.childLanes,n|=l.subtreeFlags&65011712,n|=l.flags&65011712,l.return=t,l=l.sibling;else for(l=t.child;l!==null;)a|=l.lanes|l.childLanes,n|=l.subtreeFlags,n|=l.flags,l.return=t,l=l.sibling;return t.subtreeFlags|=n,t.childLanes=a,e}function xp(t,e,a){var n=e.pendingProps;switch(As(e),e.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Vt(e),null;case 1:return Vt(e),null;case 3:return a=e.stateNode,n=null,t!==null&&(n=t.memoizedState.cache),e.memoizedState.cache!==n&&(e.flags|=2048),ya(It),W(),a.pendingContext&&(a.context=a.pendingContext,a.pendingContext=null),(t===null||t.child===null)&&(Yn(e)?wa(e):t===null||t.memoizedState.isDehydrated&&(e.flags&256)===0||(e.flags|=1024,Ts())),Vt(e),null;case 26:var l=e.type,s=e.memoizedState;return t===null?(wa(e),s!==null?(Vt(e),fd(e,s)):(Vt(e),gr(e,l,null,n,a))):s?s!==t.memoizedState?(wa(e),Vt(e),fd(e,s)):(Vt(e),e.flags&=-16777217):(t=t.memoizedProps,t!==n&&wa(e),Vt(e),gr(e,l,t,n,a)),null;case 27:if(lt(e),a=ht.current,l=e.type,t!==null&&e.stateNode!=null)t.memoizedProps!==n&&wa(e);else{if(!n){if(e.stateNode===null)throw Error(r(166));return Vt(e),null}t=I.current,Yn(e)?Gc(e):(t=vh(l,n,a),e.stateNode=t,wa(e))}return Vt(e),null;case 5:if(lt(e),l=e.type,t!==null&&e.stateNode!=null)t.memoizedProps!==n&&wa(e);else{if(!n){if(e.stateNode===null)throw Error(r(166));return Vt(e),null}if(s=I.current,Yn(e))Gc(e);else{var c=bu(ht.current);switch(s){case 1:s=c.createElementNS("http://www.w3.org/2000/svg",l);break;case 2:s=c.createElementNS("http://www.w3.org/1998/Math/MathML",l);break;default:switch(l){case"svg":s=c.createElementNS("http://www.w3.org/2000/svg",l);break;case"math":s=c.createElementNS("http://www.w3.org/1998/Math/MathML",l);break;case"script":s=c.createElement("div"),s.innerHTML="<script><\/script>",s=s.removeChild(s.firstChild);break;case"select":s=typeof n.is=="string"?c.createElement("select",{is:n.is}):c.createElement("select"),n.multiple?s.multiple=!0:n.size&&(s.size=n.size);break;default:s=typeof n.is=="string"?c.createElement(l,{is:n.is}):c.createElement(l)}}s[oe]=e,s[Se]=n;t:for(c=e.child;c!==null;){if(c.tag===5||c.tag===6)s.appendChild(c.stateNode);else if(c.tag!==4&&c.tag!==27&&c.child!==null){c.child.return=c,c=c.child;continue}if(c===e)break t;for(;c.sibling===null;){if(c.return===null||c.return===e)break t;c=c.return}c.sibling.return=c.return,c=c.sibling}e.stateNode=s;t:switch(he(s,l,n),l){case"button":case"input":case"select":case"textarea":n=!!n.autoFocus;break t;case"img":n=!0;break t;default:n=!1}n&&wa(e)}}return Vt(e),gr(e,e.type,t===null?null:t.memoizedProps,e.pendingProps,a),null;case 6:if(t&&e.stateNode!=null)t.memoizedProps!==n&&wa(e);else{if(typeof n!="string"&&e.stateNode===null)throw Error(r(166));if(t=ht.current,Yn(e)){if(t=e.stateNode,a=e.memoizedProps,n=null,l=ce,l!==null)switch(l.tag){case 27:case 5:n=l.memoizedProps}t[oe]=e,t=!!(t.nodeValue===a||n!==null&&n.suppressHydrationWarning===!0||sh(t.nodeValue,a)),t||La(e,!0)}else t=bu(t).createTextNode(n),t[oe]=e,e.stateNode=t}return Vt(e),null;case 31:if(a=e.memoizedState,t===null||t.memoizedState!==null){if(n=Yn(e),a!==null){if(t===null){if(!n)throw Error(r(318));if(t=e.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(r(557));t[oe]=e}else dn(),(e.flags&128)===0&&(e.memoizedState=null),e.flags|=4;Vt(e),t=!1}else a=Ts(),t!==null&&t.memoizedState!==null&&(t.memoizedState.hydrationErrors=a),t=!0;if(!t)return e.flags&256?(ke(e),e):(ke(e),null);if((e.flags&128)!==0)throw Error(r(558))}return Vt(e),null;case 13:if(n=e.memoizedState,t===null||t.memoizedState!==null&&t.memoizedState.dehydrated!==null){if(l=Yn(e),n!==null&&n.dehydrated!==null){if(t===null){if(!l)throw Error(r(318));if(l=e.memoizedState,l=l!==null?l.dehydrated:null,!l)throw Error(r(317));l[oe]=e}else dn(),(e.flags&128)===0&&(e.memoizedState=null),e.flags|=4;Vt(e),l=!1}else l=Ts(),t!==null&&t.memoizedState!==null&&(t.memoizedState.hydrationErrors=l),l=!0;if(!l)return e.flags&256?(ke(e),e):(ke(e),null)}return ke(e),(e.flags&128)!==0?(e.lanes=a,e):(a=n!==null,t=t!==null&&t.memoizedState!==null,a&&(n=e.child,l=null,n.alternate!==null&&n.alternate.memoizedState!==null&&n.alternate.memoizedState.cachePool!==null&&(l=n.alternate.memoizedState.cachePool.pool),s=null,n.memoizedState!==null&&n.memoizedState.cachePool!==null&&(s=n.memoizedState.cachePool.pool),s!==l&&(n.flags|=2048)),a!==t&&a&&(e.child.flags|=8192),lu(e,e.updateQueue),Vt(e),null);case 4:return W(),t===null&&Br(e.stateNode.containerInfo),Vt(e),null;case 10:return ya(e.type),Vt(e),null;case 19:if(q(Wt),n=e.memoizedState,n===null)return Vt(e),null;if(l=(e.flags&128)!==0,s=n.rendering,s===null)if(l)Yl(n,!1);else{if(Pt!==0||t!==null&&(t.flags&128)!==0)for(t=e.child;t!==null;){if(s=Qi(t),s!==null){for(e.flags|=128,Yl(n,!1),t=s.updateQueue,e.updateQueue=t,lu(e,t),e.subtreeFlags=0,t=a,a=e.child;a!==null;)Bc(a,t),a=a.sibling;return J(Wt,Wt.current&1|2),wt&&pa(e,n.treeForkCount),e.child}t=t.sibling}n.tail!==null&&qt()>ou&&(e.flags|=128,l=!0,Yl(n,!1),e.lanes=4194304)}else{if(!l)if(t=Qi(s),t!==null){if(e.flags|=128,l=!0,t=t.updateQueue,e.updateQueue=t,lu(e,t),Yl(n,!0),n.tail===null&&n.tailMode==="hidden"&&!s.alternate&&!wt)return Vt(e),null}else 2*qt()-n.renderingStartTime>ou&&a!==536870912&&(e.flags|=128,l=!0,Yl(n,!1),e.lanes=4194304);n.isBackwards?(s.sibling=e.child,e.child=s):(t=n.last,t!==null?t.sibling=s:e.child=s,n.last=s)}return n.tail!==null?(t=n.tail,n.rendering=t,n.tail=t.sibling,n.renderingStartTime=qt(),t.sibling=null,a=Wt.current,J(Wt,l?a&1|2:a&1),wt&&pa(e,n.treeForkCount),t):(Vt(e),null);case 22:case 23:return ke(e),Hs(),n=e.memoizedState!==null,t!==null?t.memoizedState!==null!==n&&(e.flags|=8192):n&&(e.flags|=8192),n?(a&536870912)!==0&&(e.flags&128)===0&&(Vt(e),e.subtreeFlags&6&&(e.flags|=8192)):Vt(e),a=e.updateQueue,a!==null&&lu(e,a.retryQueue),a=null,t!==null&&t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(a=t.memoizedState.cachePool.pool),n=null,e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(n=e.memoizedState.cachePool.pool),n!==a&&(e.flags|=2048),t!==null&&q(pn),null;case 24:return a=null,t!==null&&(a=t.memoizedState.cache),e.memoizedState.cache!==a&&(e.flags|=2048),ya(It),Vt(e),null;case 25:return null;case 30:return null}throw Error(r(156,e.tag))}function Ap(t,e){switch(As(e),e.tag){case 1:return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 3:return ya(It),W(),t=e.flags,(t&65536)!==0&&(t&128)===0?(e.flags=t&-65537|128,e):null;case 26:case 27:case 5:return lt(e),null;case 31:if(e.memoizedState!==null){if(ke(e),e.alternate===null)throw Error(r(340));dn()}return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 13:if(ke(e),t=e.memoizedState,t!==null&&t.dehydrated!==null){if(e.alternate===null)throw Error(r(340));dn()}return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 19:return q(Wt),null;case 4:return W(),null;case 10:return ya(e.type),null;case 22:case 23:return ke(e),Hs(),t!==null&&q(pn),t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 24:return ya(It),null;case 25:return null;default:return null}}function dd(t,e){switch(As(e),e.tag){case 3:ya(It),W();break;case 26:case 27:case 5:lt(e);break;case 4:W();break;case 31:e.memoizedState!==null&&ke(e);break;case 13:ke(e);break;case 19:q(Wt);break;case 10:ya(e.type);break;case 22:case 23:ke(e),Hs(),t!==null&&q(pn);break;case 24:ya(It)}}function Vl(t,e){try{var a=e.updateQueue,n=a!==null?a.lastEffect:null;if(n!==null){var l=n.next;a=l;do{if((a.tag&t)===t){n=void 0;var s=a.create,c=a.inst;n=s(),c.destroy=n}a=a.next}while(a!==l)}}catch(h){Nt(e,e.return,h)}}function Xa(t,e,a){try{var n=e.updateQueue,l=n!==null?n.lastEffect:null;if(l!==null){var s=l.next;n=s;do{if((n.tag&t)===t){var c=n.inst,h=c.destroy;if(h!==void 0){c.destroy=void 0,l=e;var v=a,R=h;try{R()}catch(j){Nt(l,v,j)}}}n=n.next}while(n!==s)}}catch(j){Nt(e,e.return,j)}}function hd(t){var e=t.updateQueue;if(e!==null){var a=t.stateNode;try{af(e,a)}catch(n){Nt(t,t.return,n)}}}function md(t,e,a){a.props=Sn(t.type,t.memoizedProps),a.state=t.memoizedState;try{a.componentWillUnmount()}catch(n){Nt(t,e,n)}}function Gl(t,e){try{var a=t.ref;if(a!==null){switch(t.tag){case 26:case 27:case 5:var n=t.stateNode;break;case 30:n=t.stateNode;break;default:n=t.stateNode}typeof a=="function"?t.refCleanup=a(n):a.current=n}}catch(l){Nt(t,e,l)}}function oa(t,e){var a=t.ref,n=t.refCleanup;if(a!==null)if(typeof n=="function")try{n()}catch(l){Nt(t,e,l)}finally{t.refCleanup=null,t=t.alternate,t!=null&&(t.refCleanup=null)}else if(typeof a=="function")try{a(null)}catch(l){Nt(t,e,l)}else a.current=null}function pd(t){var e=t.type,a=t.memoizedProps,n=t.stateNode;try{t:switch(e){case"button":case"input":case"select":case"textarea":a.autoFocus&&n.focus();break t;case"img":a.src?n.src=a.src:a.srcSet&&(n.srcset=a.srcSet)}}catch(l){Nt(t,t.return,l)}}function yr(t,e,a){try{var n=t.stateNode;Zp(n,t.type,a,e),n[Se]=e}catch(l){Nt(t,t.return,l)}}function gd(t){return t.tag===5||t.tag===3||t.tag===26||t.tag===27&&Wa(t.type)||t.tag===4}function vr(t){t:for(;;){for(;t.sibling===null;){if(t.return===null||gd(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&&Wa(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 br(t,e,a){var n=t.tag;if(n===5||n===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=da));else if(n!==4&&(n===27&&Wa(t.type)&&(a=t.stateNode,e=null),t=t.child,t!==null))for(br(t,e,a),t=t.sibling;t!==null;)br(t,e,a),t=t.sibling}function iu(t,e,a){var n=t.tag;if(n===5||n===6)t=t.stateNode,e?a.insertBefore(t,e):a.appendChild(t);else if(n!==4&&(n===27&&Wa(t.type)&&(a=t.stateNode),t=t.child,t!==null))for(iu(t,e,a),t=t.sibling;t!==null;)iu(t,e,a),t=t.sibling}function yd(t){var e=t.stateNode,a=t.memoizedProps;try{for(var n=t.type,l=e.attributes;l.length;)e.removeAttributeNode(l[0]);he(e,n,a),e[oe]=t,e[Se]=a}catch(s){Nt(t,t.return,s)}}var Ea=!1,ae=!1,Sr=!1,vd=typeof WeakSet=="function"?WeakSet:Set,se=null;function _p(t,e){if(t=t.containerInfo,Yr=Tu,t=Rc(t),hs(t)){if("selectionStart"in t)var a={start:t.selectionStart,end:t.selectionEnd};else t:{a=(a=t.ownerDocument)&&a.defaultView||window;var n=a.getSelection&&a.getSelection();if(n&&n.rangeCount!==0){a=n.anchorNode;var l=n.anchorOffset,s=n.focusNode;n=n.focusOffset;try{a.nodeType,s.nodeType}catch{a=null;break t}var c=0,h=-1,v=-1,R=0,j=0,H=t,C=null;e:for(;;){for(var z;H!==a||l!==0&&H.nodeType!==3||(h=c+l),H!==s||n!==0&&H.nodeType!==3||(v=c+n),H.nodeType===3&&(c+=H.nodeValue.length),(z=H.firstChild)!==null;)C=H,H=z;for(;;){if(H===t)break e;if(C===a&&++R===l&&(h=c),C===s&&++j===n&&(v=c),(z=H.nextSibling)!==null)break;H=C,C=H.parentNode}H=z}a=h===-1||v===-1?null:{start:h,end:v}}else a=null}a=a||{start:0,end:0}}else a=null;for(Vr={focusedElem:t,selectionRange:a},Tu=!1,se=e;se!==null;)if(e=se,t=e.child,(e.subtreeFlags&1028)!==0&&t!==null)t.return=e,se=t;else for(;se!==null;){switch(e=se,s=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++)l=t[a],l.ref.impl=l.nextImpl;break;case 11:case 15:break;case 1:if((t&1024)!==0&&s!==null){t=void 0,a=e,l=s.memoizedProps,s=s.memoizedState,n=a.stateNode;try{var F=Sn(a.type,l);t=n.getSnapshotBeforeUpdate(F,s),n.__reactInternalSnapshotBeforeUpdate=t}catch(it){Nt(a,a.return,it)}}break;case 3:if((t&1024)!==0){if(t=e.stateNode.containerInfo,a=t.nodeType,a===9)Qr(t);else if(a===1)switch(t.nodeName){case"HEAD":case"HTML":case"BODY":Qr(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(r(163))}if(t=e.sibling,t!==null){t.return=e.return,se=t;break}se=e.return}}function bd(t,e,a){var n=a.flags;switch(a.tag){case 0:case 11:case 15:Aa(t,a),n&4&&Vl(5,a);break;case 1:if(Aa(t,a),n&4)if(t=a.stateNode,e===null)try{t.componentDidMount()}catch(c){Nt(a,a.return,c)}else{var l=Sn(a.type,e.memoizedProps);e=e.memoizedState;try{t.componentDidUpdate(l,e,t.__reactInternalSnapshotBeforeUpdate)}catch(c){Nt(a,a.return,c)}}n&64&&hd(a),n&512&&Gl(a,a.return);break;case 3:if(Aa(t,a),n&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{af(t,e)}catch(c){Nt(a,a.return,c)}}break;case 27:e===null&&n&4&&yd(a);case 26:case 5:Aa(t,a),e===null&&n&4&&pd(a),n&512&&Gl(a,a.return);break;case 12:Aa(t,a);break;case 31:Aa(t,a),n&4&&Ed(t,a);break;case 13:Aa(t,a),n&4&&xd(t,a),n&64&&(t=a.memoizedState,t!==null&&(t=t.dehydrated,t!==null&&(a=kp.bind(null,a),tg(t,a))));break;case 22:if(n=a.memoizedState!==null||Ea,!n){e=e!==null&&e.memoizedState!==null||ae,l=Ea;var s=ae;Ea=n,(ae=e)&&!s?_a(t,a,(a.subtreeFlags&8772)!==0):Aa(t,a),Ea=l,ae=s}break;case 30:break;default:Aa(t,a)}}function Sd(t){var e=t.alternate;e!==null&&(t.alternate=null,Sd(e)),t.child=null,t.deletions=null,t.sibling=null,t.tag===5&&(e=t.stateNode,e!==null&&Pu(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 Gt=null,Ee=!1;function xa(t,e,a){for(a=a.child;a!==null;)wd(t,e,a),a=a.sibling}function wd(t,e,a){if(Re&&typeof Re.onCommitFiberUnmount=="function")try{Re.onCommitFiberUnmount(hl,a)}catch{}switch(a.tag){case 26:ae||oa(a,e),xa(t,e,a),a.memoizedState?a.memoizedState.count--:a.stateNode&&(a=a.stateNode,a.parentNode.removeChild(a));break;case 27:ae||oa(a,e);var n=Gt,l=Ee;Wa(a.type)&&(Gt=a.stateNode,Ee=!1),xa(t,e,a),Fl(a.stateNode),Gt=n,Ee=l;break;case 5:ae||oa(a,e);case 6:if(n=Gt,l=Ee,Gt=null,xa(t,e,a),Gt=n,Ee=l,Gt!==null)if(Ee)try{(Gt.nodeType===9?Gt.body:Gt.nodeName==="HTML"?Gt.ownerDocument.body:Gt).removeChild(a.stateNode)}catch(s){Nt(a,e,s)}else try{Gt.removeChild(a.stateNode)}catch(s){Nt(a,e,s)}break;case 18:Gt!==null&&(Ee?(t=Gt,hh(t.nodeType===9?t.body:t.nodeName==="HTML"?t.ownerDocument.body:t,a.stateNode),rl(t)):hh(Gt,a.stateNode));break;case 4:n=Gt,l=Ee,Gt=a.stateNode.containerInfo,Ee=!0,xa(t,e,a),Gt=n,Ee=l;break;case 0:case 11:case 14:case 15:Xa(2,a,e),ae||Xa(4,a,e),xa(t,e,a);break;case 1:ae||(oa(a,e),n=a.stateNode,typeof n.componentWillUnmount=="function"&&md(a,e,n)),xa(t,e,a);break;case 21:xa(t,e,a);break;case 22:ae=(n=ae)||a.memoizedState!==null,xa(t,e,a),ae=n;break;default:xa(t,e,a)}}function Ed(t,e){if(e.memoizedState===null&&(t=e.alternate,t!==null&&(t=t.memoizedState,t!==null))){t=t.dehydrated;try{rl(t)}catch(a){Nt(e,e.return,a)}}}function xd(t,e){if(e.memoizedState===null&&(t=e.alternate,t!==null&&(t=t.memoizedState,t!==null&&(t=t.dehydrated,t!==null))))try{rl(t)}catch(a){Nt(e,e.return,a)}}function Tp(t){switch(t.tag){case 31:case 13:case 19:var e=t.stateNode;return e===null&&(e=t.stateNode=new vd),e;case 22:return t=t.stateNode,e=t._retryCache,e===null&&(e=t._retryCache=new vd),e;default:throw Error(r(435,t.tag))}}function uu(t,e){var a=Tp(t);e.forEach(function(n){if(!a.has(n)){a.add(n);var l=Up.bind(null,t,n);n.then(l,l)}})}function xe(t,e){var a=e.deletions;if(a!==null)for(var n=0;n<a.length;n++){var l=a[n],s=t,c=e,h=c;t:for(;h!==null;){switch(h.tag){case 27:if(Wa(h.type)){Gt=h.stateNode,Ee=!1;break t}break;case 5:Gt=h.stateNode,Ee=!1;break t;case 3:case 4:Gt=h.stateNode.containerInfo,Ee=!0;break t}h=h.return}if(Gt===null)throw Error(r(160));wd(s,c,l),Gt=null,Ee=!1,s=l.alternate,s!==null&&(s.return=null),l.return=null}if(e.subtreeFlags&13886)for(e=e.child;e!==null;)Ad(e,t),e=e.sibling}var ta=null;function Ad(t,e){var a=t.alternate,n=t.flags;switch(t.tag){case 0:case 11:case 14:case 15:xe(e,t),Ae(t),n&4&&(Xa(3,t,t.return),Vl(3,t),Xa(5,t,t.return));break;case 1:xe(e,t),Ae(t),n&512&&(ae||a===null||oa(a,a.return)),n&64&&Ea&&(t=t.updateQueue,t!==null&&(n=t.callbacks,n!==null&&(a=t.shared.hiddenCallbacks,t.shared.hiddenCallbacks=a===null?n:a.concat(n))));break;case 26:var l=ta;if(xe(e,t),Ae(t),n&512&&(ae||a===null||oa(a,a.return)),n&4){var s=a!==null?a.memoizedState:null;if(n=t.memoizedState,a===null)if(n===null)if(t.stateNode===null){t:{n=t.type,a=t.memoizedProps,l=l.ownerDocument||l;e:switch(n){case"title":s=l.getElementsByTagName("title")[0],(!s||s[gl]||s[oe]||s.namespaceURI==="http://www.w3.org/2000/svg"||s.hasAttribute("itemprop"))&&(s=l.createElement(n),l.head.insertBefore(s,l.querySelector("head > title"))),he(s,n,a),s[oe]=t,ue(s),n=s;break t;case"link":var c=Ah("link","href",l).get(n+(a.href||""));if(c){for(var h=0;h<c.length;h++)if(s=c[h],s.getAttribute("href")===(a.href==null||a.href===""?null:a.href)&&s.getAttribute("rel")===(a.rel==null?null:a.rel)&&s.getAttribute("title")===(a.title==null?null:a.title)&&s.getAttribute("crossorigin")===(a.crossOrigin==null?null:a.crossOrigin)){c.splice(h,1);break e}}s=l.createElement(n),he(s,n,a),l.head.appendChild(s);break;case"meta":if(c=Ah("meta","content",l).get(n+(a.content||""))){for(h=0;h<c.length;h++)if(s=c[h],s.getAttribute("content")===(a.content==null?null:""+a.content)&&s.getAttribute("name")===(a.name==null?null:a.name)&&s.getAttribute("property")===(a.property==null?null:a.property)&&s.getAttribute("http-equiv")===(a.httpEquiv==null?null:a.httpEquiv)&&s.getAttribute("charset")===(a.charSet==null?null:a.charSet)){c.splice(h,1);break e}}s=l.createElement(n),he(s,n,a),l.head.appendChild(s);break;default:throw Error(r(468,n))}s[oe]=t,ue(s),n=s}t.stateNode=n}else _h(l,t.type,t.stateNode);else t.stateNode=xh(l,n,t.memoizedProps);else s!==n?(s===null?a.stateNode!==null&&(a=a.stateNode,a.parentNode.removeChild(a)):s.count--,n===null?_h(l,t.type,t.stateNode):xh(l,n,t.memoizedProps)):n===null&&t.stateNode!==null&&yr(t,t.memoizedProps,a.memoizedProps)}break;case 27:xe(e,t),Ae(t),n&512&&(ae||a===null||oa(a,a.return)),a!==null&&n&4&&yr(t,t.memoizedProps,a.memoizedProps);break;case 5:if(xe(e,t),Ae(t),n&512&&(ae||a===null||oa(a,a.return)),t.flags&32){l=t.stateNode;try{zn(l,"")}catch(F){Nt(t,t.return,F)}}n&4&&t.stateNode!=null&&(l=t.memoizedProps,yr(t,l,a!==null?a.memoizedProps:l)),n&1024&&(Sr=!0);break;case 6:if(xe(e,t),Ae(t),n&4){if(t.stateNode===null)throw Error(r(162));n=t.memoizedProps,a=t.stateNode;try{a.nodeValue=n}catch(F){Nt(t,t.return,F)}}break;case 3:if(Eu=null,l=ta,ta=Su(e.containerInfo),xe(e,t),ta=l,Ae(t),n&4&&a!==null&&a.memoizedState.isDehydrated)try{rl(e.containerInfo)}catch(F){Nt(t,t.return,F)}Sr&&(Sr=!1,_d(t));break;case 4:n=ta,ta=Su(t.stateNode.containerInfo),xe(e,t),Ae(t),ta=n;break;case 12:xe(e,t),Ae(t);break;case 31:xe(e,t),Ae(t),n&4&&(n=t.updateQueue,n!==null&&(t.updateQueue=null,uu(t,n)));break;case 13:xe(e,t),Ae(t),t.child.flags&8192&&t.memoizedState!==null!=(a!==null&&a.memoizedState!==null)&&(ru=qt()),n&4&&(n=t.updateQueue,n!==null&&(t.updateQueue=null,uu(t,n)));break;case 22:l=t.memoizedState!==null;var v=a!==null&&a.memoizedState!==null,R=Ea,j=ae;if(Ea=R||l,ae=j||v,xe(e,t),ae=j,Ea=R,Ae(t),n&8192)t:for(e=t.stateNode,e._visibility=l?e._visibility&-2:e._visibility|1,l&&(a===null||v||Ea||ae||wn(t)),a=null,e=t;;){if(e.tag===5||e.tag===26){if(a===null){v=a=e;try{if(s=v.stateNode,l)c=s.style,typeof c.setProperty=="function"?c.setProperty("display","none","important"):c.display="none";else{h=v.stateNode;var H=v.memoizedProps.style,C=H!=null&&H.hasOwnProperty("display")?H.display:null;h.style.display=C==null||typeof C=="boolean"?"":(""+C).trim()}}catch(F){Nt(v,v.return,F)}}}else if(e.tag===6){if(a===null){v=e;try{v.stateNode.nodeValue=l?"":v.memoizedProps}catch(F){Nt(v,v.return,F)}}}else if(e.tag===18){if(a===null){v=e;try{var z=v.stateNode;l?mh(z,!0):mh(v.stateNode,!1)}catch(F){Nt(v,v.return,F)}}}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}n&4&&(n=t.updateQueue,n!==null&&(a=n.retryQueue,a!==null&&(n.retryQueue=null,uu(t,a))));break;case 19:xe(e,t),Ae(t),n&4&&(n=t.updateQueue,n!==null&&(t.updateQueue=null,uu(t,n)));break;case 30:break;case 21:break;default:xe(e,t),Ae(t)}}function Ae(t){var e=t.flags;if(e&2){try{for(var a,n=t.return;n!==null;){if(gd(n)){a=n;break}n=n.return}if(a==null)throw Error(r(160));switch(a.tag){case 27:var l=a.stateNode,s=vr(t);iu(t,s,l);break;case 5:var c=a.stateNode;a.flags&32&&(zn(c,""),a.flags&=-33);var h=vr(t);iu(t,h,c);break;case 3:case 4:var v=a.stateNode.containerInfo,R=vr(t);br(t,R,v);break;default:throw Error(r(161))}}catch(j){Nt(t,t.return,j)}t.flags&=-3}e&4096&&(t.flags&=-4097)}function _d(t){if(t.subtreeFlags&1024)for(t=t.child;t!==null;){var e=t;_d(e),e.tag===5&&e.flags&1024&&e.stateNode.reset(),t=t.sibling}}function Aa(t,e){if(e.subtreeFlags&8772)for(e=e.child;e!==null;)bd(t,e.alternate,e),e=e.sibling}function wn(t){for(t=t.child;t!==null;){var e=t;switch(e.tag){case 0:case 11:case 14:case 15:Xa(4,e,e.return),wn(e);break;case 1:oa(e,e.return);var a=e.stateNode;typeof a.componentWillUnmount=="function"&&md(e,e.return,a),wn(e);break;case 27:Fl(e.stateNode);case 26:case 5:oa(e,e.return),wn(e);break;case 22:e.memoizedState===null&&wn(e);break;case 30:wn(e);break;default:wn(e)}t=t.sibling}}function _a(t,e,a){for(a=a&&(e.subtreeFlags&8772)!==0,e=e.child;e!==null;){var n=e.alternate,l=t,s=e,c=s.flags;switch(s.tag){case 0:case 11:case 15:_a(l,s,a),Vl(4,s);break;case 1:if(_a(l,s,a),n=s,l=n.stateNode,typeof l.componentDidMount=="function")try{l.componentDidMount()}catch(R){Nt(n,n.return,R)}if(n=s,l=n.updateQueue,l!==null){var h=n.stateNode;try{var v=l.shared.hiddenCallbacks;if(v!==null)for(l.shared.hiddenCallbacks=null,l=0;l<v.length;l++)ef(v[l],h)}catch(R){Nt(n,n.return,R)}}a&&c&64&&hd(s),Gl(s,s.return);break;case 27:yd(s);case 26:case 5:_a(l,s,a),a&&n===null&&c&4&&pd(s),Gl(s,s.return);break;case 12:_a(l,s,a);break;case 31:_a(l,s,a),a&&c&4&&Ed(l,s);break;case 13:_a(l,s,a),a&&c&4&&xd(l,s);break;case 22:s.memoizedState===null&&_a(l,s,a),Gl(s,s.return);break;case 30:break;default:_a(l,s,a)}e=e.sibling}}function wr(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&&Rl(a))}function Er(t,e){t=null,e.alternate!==null&&(t=e.alternate.memoizedState.cache),e=e.memoizedState.cache,e!==t&&(e.refCount++,t!=null&&Rl(t))}function ea(t,e,a,n){if(e.subtreeFlags&10256)for(e=e.child;e!==null;)Td(t,e,a,n),e=e.sibling}function Td(t,e,a,n){var l=e.flags;switch(e.tag){case 0:case 11:case 15:ea(t,e,a,n),l&2048&&Vl(9,e);break;case 1:ea(t,e,a,n);break;case 3:ea(t,e,a,n),l&2048&&(t=null,e.alternate!==null&&(t=e.alternate.memoizedState.cache),e=e.memoizedState.cache,e!==t&&(e.refCount++,t!=null&&Rl(t)));break;case 12:if(l&2048){ea(t,e,a,n),t=e.stateNode;try{var s=e.memoizedProps,c=s.id,h=s.onPostCommit;typeof h=="function"&&h(c,e.alternate===null?"mount":"update",t.passiveEffectDuration,-0)}catch(v){Nt(e,e.return,v)}}else ea(t,e,a,n);break;case 31:ea(t,e,a,n);break;case 13:ea(t,e,a,n);break;case 23:break;case 22:s=e.stateNode,c=e.alternate,e.memoizedState!==null?s._visibility&2?ea(t,e,a,n):Xl(t,e):s._visibility&2?ea(t,e,a,n):(s._visibility|=2,Wn(t,e,a,n,(e.subtreeFlags&10256)!==0||!1)),l&2048&&wr(c,e);break;case 24:ea(t,e,a,n),l&2048&&Er(e.alternate,e);break;default:ea(t,e,a,n)}}function Wn(t,e,a,n,l){for(l=l&&((e.subtreeFlags&10256)!==0||!1),e=e.child;e!==null;){var s=t,c=e,h=a,v=n,R=c.flags;switch(c.tag){case 0:case 11:case 15:Wn(s,c,h,v,l),Vl(8,c);break;case 23:break;case 22:var j=c.stateNode;c.memoizedState!==null?j._visibility&2?Wn(s,c,h,v,l):Xl(s,c):(j._visibility|=2,Wn(s,c,h,v,l)),l&&R&2048&&wr(c.alternate,c);break;case 24:Wn(s,c,h,v,l),l&&R&2048&&Er(c.alternate,c);break;default:Wn(s,c,h,v,l)}e=e.sibling}}function Xl(t,e){if(e.subtreeFlags&10256)for(e=e.child;e!==null;){var a=t,n=e,l=n.flags;switch(n.tag){case 22:Xl(a,n),l&2048&&wr(n.alternate,n);break;case 24:Xl(a,n),l&2048&&Er(n.alternate,n);break;default:Xl(a,n)}e=e.sibling}}var Ql=8192;function Fn(t,e,a){if(t.subtreeFlags&Ql)for(t=t.child;t!==null;)Md(t,e,a),t=t.sibling}function Md(t,e,a){switch(t.tag){case 26:Fn(t,e,a),t.flags&Ql&&t.memoizedState!==null&&dg(a,ta,t.memoizedState,t.memoizedProps);break;case 5:Fn(t,e,a);break;case 3:case 4:var n=ta;ta=Su(t.stateNode.containerInfo),Fn(t,e,a),ta=n;break;case 22:t.memoizedState===null&&(n=t.alternate,n!==null&&n.memoizedState!==null?(n=Ql,Ql=16777216,Fn(t,e,a),Ql=n):Fn(t,e,a));break;default:Fn(t,e,a)}}function Dd(t){var e=t.alternate;if(e!==null&&(t=e.child,t!==null)){e.child=null;do e=t.sibling,t.sibling=null,t=e;while(t!==null)}}function Zl(t){var e=t.deletions;if((t.flags&16)!==0){if(e!==null)for(var a=0;a<e.length;a++){var n=e[a];se=n,Cd(n,t)}Dd(t)}if(t.subtreeFlags&10256)for(t=t.child;t!==null;)Rd(t),t=t.sibling}function Rd(t){switch(t.tag){case 0:case 11:case 15:Zl(t),t.flags&2048&&Xa(9,t,t.return);break;case 3:Zl(t);break;case 12:Zl(t);break;case 22:var e=t.stateNode;t.memoizedState!==null&&e._visibility&2&&(t.return===null||t.return.tag!==13)?(e._visibility&=-3,su(t)):Zl(t);break;default:Zl(t)}}function su(t){var e=t.deletions;if((t.flags&16)!==0){if(e!==null)for(var a=0;a<e.length;a++){var n=e[a];se=n,Cd(n,t)}Dd(t)}for(t=t.child;t!==null;){switch(e=t,e.tag){case 0:case 11:case 15:Xa(8,e,e.return),su(e);break;case 22:a=e.stateNode,a._visibility&2&&(a._visibility&=-3,su(e));break;default:su(e)}t=t.sibling}}function Cd(t,e){for(;se!==null;){var a=se;switch(a.tag){case 0:case 11:case 15:Xa(8,a,e);break;case 23:case 22:if(a.memoizedState!==null&&a.memoizedState.cachePool!==null){var n=a.memoizedState.cachePool.pool;n!=null&&n.refCount++}break;case 24:Rl(a.memoizedState.cache)}if(n=a.child,n!==null)n.return=a,se=n;else t:for(a=t;se!==null;){n=se;var l=n.sibling,s=n.return;if(Sd(n),n===a){se=null;break t}if(l!==null){l.return=s,se=l;break t}se=s}}}var Mp={getCacheForType:function(t){var e=fe(It),a=e.data.get(t);return a===void 0&&(a=t(),e.data.set(t,a)),a},cacheSignal:function(){return fe(It).controller.signal}},Dp=typeof WeakMap=="function"?WeakMap:Map,Mt=0,Bt=null,gt=null,vt=0,Ot=0,Ue=null,Qa=!1,In=!1,xr=!1,Ta=0,Pt=0,Za=0,En=0,Ar=0,je=0,tl=0,Kl=null,_e=null,_r=!1,ru=0,zd=0,ou=1/0,cu=null,Ka=null,ne=0,Ja=null,el=null,Ma=0,Tr=0,Mr=null,Od=null,Jl=0,Dr=null;function Le(){return(Mt&2)!==0&&vt!==0?vt&-vt:U.T!==null?kr():Ko()}function Nd(){if(je===0)if((vt&536870912)===0||wt){var t=vi;vi<<=1,(vi&3932160)===0&&(vi=262144),je=t}else je=536870912;return t=Ne.current,t!==null&&(t.flags|=32),je}function Te(t,e,a){(t===Bt&&(Ot===2||Ot===9)||t.cancelPendingCommit!==null)&&(al(t,0),$a(t,vt,je,!1)),pl(t,a),((Mt&2)===0||t!==Bt)&&(t===Bt&&((Mt&2)===0&&(En|=a),Pt===4&&$a(t,vt,je,!1)),ca(t))}function kd(t,e,a){if((Mt&6)!==0)throw Error(r(327));var n=!a&&(e&127)===0&&(e&t.expiredLanes)===0||ml(t,e),l=n?zp(t,e):Cr(t,e,!0),s=n;do{if(l===0){In&&!n&&$a(t,e,0,!1);break}else{if(a=t.current.alternate,s&&!Rp(a)){l=Cr(t,e,!1),s=!1;continue}if(l===2){if(s=e,t.errorRecoveryDisabledLanes&s)var c=0;else c=t.pendingLanes&-536870913,c=c!==0?c:c&536870912?536870912:0;if(c!==0){e=c;t:{var h=t;l=Kl;var v=h.current.memoizedState.isDehydrated;if(v&&(al(h,c).flags|=256),c=Cr(h,c,!1),c!==2){if(xr&&!v){h.errorRecoveryDisabledLanes|=s,En|=s,l=4;break t}s=_e,_e=l,s!==null&&(_e===null?_e=s:_e.push.apply(_e,s))}l=c}if(s=!1,l!==2)continue}}if(l===1){al(t,0),$a(t,e,0,!0);break}t:{switch(n=t,s=l,s){case 0:case 1:throw Error(r(345));case 4:if((e&4194048)!==e)break;case 6:$a(n,e,je,!Qa);break t;case 2:_e=null;break;case 3:case 5:break;default:throw Error(r(329))}if((e&62914560)===e&&(l=ru+300-qt(),10<l)){if($a(n,e,je,!Qa),Si(n,0,!0)!==0)break t;Ma=e,n.timeoutHandle=fh(Ud.bind(null,n,a,_e,cu,_r,e,je,En,tl,Qa,s,"Throttled",-0,0),l);break t}Ud(n,a,_e,cu,_r,e,je,En,tl,Qa,s,null,-0,0)}}break}while(!0);ca(t)}function Ud(t,e,a,n,l,s,c,h,v,R,j,H,C,z){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:da},Md(e,s,H);var F=(s&62914560)===s?ru-qt():(s&4194048)===s?zd-qt():0;if(F=hg(H,F),F!==null){Ma=s,t.cancelPendingCommit=F(Gd.bind(null,t,e,s,a,n,l,c,h,v,j,H,null,C,z)),$a(t,s,c,!R);return}}Gd(t,e,s,a,n,l,c,h,v)}function Rp(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 n=0;n<a.length;n++){var l=a[n],s=l.getSnapshot;l=l.value;try{if(!ze(s(),l))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 $a(t,e,a,n){e&=~Ar,e&=~En,t.suspendedLanes|=e,t.pingedLanes&=~e,n&&(t.warmLanes|=e),n=t.expirationTimes;for(var l=e;0<l;){var s=31-Ce(l),c=1<<s;n[s]=-1,l&=~c}a!==0&&Xo(t,a,e)}function fu(){return(Mt&6)===0?($l(0),!1):!0}function Rr(){if(gt!==null){if(Ot===0)var t=gt.return;else t=gt,ga=hn=null,Qs(t),Zn=null,zl=0,t=gt;for(;t!==null;)dd(t.alternate,t),t=t.return;gt=null}}function al(t,e){var a=t.timeoutHandle;a!==-1&&(t.timeoutHandle=-1,$p(a)),a=t.cancelPendingCommit,a!==null&&(t.cancelPendingCommit=null,a()),Ma=0,Rr(),Bt=t,gt=a=ma(t.current,null),vt=e,Ot=0,Ue=null,Qa=!1,In=ml(t,e),xr=!1,tl=je=Ar=En=Za=Pt=0,_e=Kl=null,_r=!1,(e&8)!==0&&(e|=e&32);var n=t.entangledLanes;if(n!==0)for(t=t.entanglements,n&=e;0<n;){var l=31-Ce(n),s=1<<l;e|=t[l],n&=~s}return Ta=e,Oi(),a}function jd(t,e){ft=null,U.H=Hl,e===Qn||e===qi?(e=Wc(),Ot=3):e===Ns?(e=Wc(),Ot=4):Ot=e===sr?8:e!==null&&typeof e=="object"&&typeof e.then=="function"?6:1,Ue=e,gt===null&&(Pt=1,tu(t,Ge(e,t.current)))}function Ld(){var t=Ne.current;return t===null?!0:(vt&4194048)===vt?Ke===null:(vt&62914560)===vt||(vt&536870912)!==0?t===Ke:!1}function Bd(){var t=U.H;return U.H=Hl,t===null?Hl:t}function Hd(){var t=U.A;return U.A=Mp,t}function du(){Pt=4,Qa||(vt&4194048)!==vt&&Ne.current!==null||(In=!0),(Za&134217727)===0&&(En&134217727)===0||Bt===null||$a(Bt,vt,je,!1)}function Cr(t,e,a){var n=Mt;Mt|=2;var l=Bd(),s=Hd();(Bt!==t||vt!==e)&&(cu=null,al(t,e)),e=!1;var c=Pt;t:do try{if(Ot!==0&>!==null){var h=gt,v=Ue;switch(Ot){case 8:Rr(),c=6;break t;case 3:case 2:case 9:case 6:Ne.current===null&&(e=!0);var R=Ot;if(Ot=0,Ue=null,nl(t,h,v,R),a&&In){c=0;break t}break;default:R=Ot,Ot=0,Ue=null,nl(t,h,v,R)}}Cp(),c=Pt;break}catch(j){jd(t,j)}while(!0);return e&&t.shellSuspendCounter++,ga=hn=null,Mt=n,U.H=l,U.A=s,gt===null&&(Bt=null,vt=0,Oi()),c}function Cp(){for(;gt!==null;)qd(gt)}function zp(t,e){var a=Mt;Mt|=2;var n=Bd(),l=Hd();Bt!==t||vt!==e?(cu=null,ou=qt()+500,al(t,e)):In=ml(t,e);t:do try{if(Ot!==0&>!==null){e=gt;var s=Ue;e:switch(Ot){case 1:Ot=0,Ue=null,nl(t,e,s,1);break;case 2:case 9:if($c(s)){Ot=0,Ue=null,Yd(e);break}e=function(){Ot!==2&&Ot!==9||Bt!==t||(Ot=7),ca(t)},s.then(e,e);break t;case 3:Ot=7;break t;case 4:Ot=5;break t;case 7:$c(s)?(Ot=0,Ue=null,Yd(e)):(Ot=0,Ue=null,nl(t,e,s,7));break;case 5:var c=null;switch(gt.tag){case 26:c=gt.memoizedState;case 5:case 27:var h=gt;if(c?Th(c):h.stateNode.complete){Ot=0,Ue=null;var v=h.sibling;if(v!==null)gt=v;else{var R=h.return;R!==null?(gt=R,hu(R)):gt=null}break e}}Ot=0,Ue=null,nl(t,e,s,5);break;case 6:Ot=0,Ue=null,nl(t,e,s,6);break;case 8:Rr(),Pt=6;break t;default:throw Error(r(462))}}Op();break}catch(j){jd(t,j)}while(!0);return ga=hn=null,U.H=n,U.A=l,Mt=a,gt!==null?0:(Bt=null,vt=0,Oi(),Pt)}function Op(){for(;gt!==null&&!ge();)qd(gt)}function qd(t){var e=cd(t.alternate,t,Ta);t.memoizedProps=t.pendingProps,e===null?hu(t):gt=e}function Yd(t){var e=t,a=e.alternate;switch(e.tag){case 15:case 0:e=ld(a,e,e.pendingProps,e.type,void 0,vt);break;case 11:e=ld(a,e,e.pendingProps,e.type.render,e.ref,vt);break;case 5:Qs(e);default:dd(a,e),e=gt=Bc(e,Ta),e=cd(a,e,Ta)}t.memoizedProps=t.pendingProps,e===null?hu(t):gt=e}function nl(t,e,a,n){ga=hn=null,Qs(e),Zn=null,zl=0;var l=e.return;try{if(Sp(t,l,e,a,vt)){Pt=1,tu(t,Ge(a,t.current)),gt=null;return}}catch(s){if(l!==null)throw gt=l,s;Pt=1,tu(t,Ge(a,t.current)),gt=null;return}e.flags&32768?(wt||n===1?t=!0:In||(vt&536870912)!==0?t=!1:(Qa=t=!0,(n===2||n===9||n===3||n===6)&&(n=Ne.current,n!==null&&n.tag===13&&(n.flags|=16384))),Vd(e,t)):hu(e)}function hu(t){var e=t;do{if((e.flags&32768)!==0){Vd(e,Qa);return}t=e.return;var a=xp(e.alternate,e,Ta);if(a!==null){gt=a;return}if(e=e.sibling,e!==null){gt=e;return}gt=e=t}while(e!==null);Pt===0&&(Pt=5)}function Vd(t,e){do{var a=Ap(t.alternate,t);if(a!==null){a.flags&=32767,gt=a;return}if(a=t.return,a!==null&&(a.flags|=32768,a.subtreeFlags=0,a.deletions=null),!e&&(t=t.sibling,t!==null)){gt=t;return}gt=t=a}while(t!==null);Pt=6,gt=null}function Gd(t,e,a,n,l,s,c,h,v){t.cancelPendingCommit=null;do mu();while(ne!==0);if((Mt&6)!==0)throw Error(r(327));if(e!==null){if(e===t.current)throw Error(r(177));if(s=e.lanes|e.childLanes,s|=vs,f0(t,a,s,c,h,v),t===Bt&&(gt=Bt=null,vt=0),el=e,Ja=t,Ma=a,Tr=s,Mr=l,Od=n,(e.subtreeFlags&10256)!==0||(e.flags&10256)!==0?(t.callbackNode=null,t.callbackPriority=0,jp(gi,function(){return Jd(),null})):(t.callbackNode=null,t.callbackPriority=0),n=(e.flags&13878)!==0,(e.subtreeFlags&13878)!==0||n){n=U.T,U.T=null,l=T.p,T.p=2,c=Mt,Mt|=4;try{_p(t,e,a)}finally{Mt=c,T.p=l,U.T=n}}ne=1,Xd(),Qd(),Zd()}}function Xd(){if(ne===1){ne=0;var t=Ja,e=el,a=(e.flags&13878)!==0;if((e.subtreeFlags&13878)!==0||a){a=U.T,U.T=null;var n=T.p;T.p=2;var l=Mt;Mt|=4;try{Ad(e,t);var s=Vr,c=Rc(t.containerInfo),h=s.focusedElem,v=s.selectionRange;if(c!==h&&h&&h.ownerDocument&&Dc(h.ownerDocument.documentElement,h)){if(v!==null&&hs(h)){var R=v.start,j=v.end;if(j===void 0&&(j=R),"selectionStart"in h)h.selectionStart=R,h.selectionEnd=Math.min(j,h.value.length);else{var H=h.ownerDocument||document,C=H&&H.defaultView||window;if(C.getSelection){var z=C.getSelection(),F=h.textContent.length,it=Math.min(v.start,F),Lt=v.end===void 0?it:Math.min(v.end,F);!z.extend&&it>Lt&&(c=Lt,Lt=it,it=c);var _=Mc(h,it),S=Mc(h,Lt);if(_&&S&&(z.rangeCount!==1||z.anchorNode!==_.node||z.anchorOffset!==_.offset||z.focusNode!==S.node||z.focusOffset!==S.offset)){var D=H.createRange();D.setStart(_.node,_.offset),z.removeAllRanges(),it>Lt?(z.addRange(D),z.extend(S.node,S.offset)):(D.setEnd(S.node,S.offset),z.addRange(D))}}}}for(H=[],z=h;z=z.parentNode;)z.nodeType===1&&H.push({element:z,left:z.scrollLeft,top:z.scrollTop});for(typeof h.focus=="function"&&h.focus(),h=0;h<H.length;h++){var B=H[h];B.element.scrollLeft=B.left,B.element.scrollTop=B.top}}Tu=!!Yr,Vr=Yr=null}finally{Mt=l,T.p=n,U.T=a}}t.current=e,ne=2}}function Qd(){if(ne===2){ne=0;var t=Ja,e=el,a=(e.flags&8772)!==0;if((e.subtreeFlags&8772)!==0||a){a=U.T,U.T=null;var n=T.p;T.p=2;var l=Mt;Mt|=4;try{bd(t,e.alternate,e)}finally{Mt=l,T.p=n,U.T=a}}ne=3}}function Zd(){if(ne===4||ne===3){ne=0,ie();var t=Ja,e=el,a=Ma,n=Od;(e.subtreeFlags&10256)!==0||(e.flags&10256)!==0?ne=5:(ne=0,el=Ja=null,Kd(t,t.pendingLanes));var l=t.pendingLanes;if(l===0&&(Ka=null),Ju(a),e=e.stateNode,Re&&typeof Re.onCommitFiberRoot=="function")try{Re.onCommitFiberRoot(hl,e,void 0,(e.current.flags&128)===128)}catch{}if(n!==null){e=U.T,l=T.p,T.p=2,U.T=null;try{for(var s=t.onRecoverableError,c=0;c<n.length;c++){var h=n[c];s(h.value,{componentStack:h.stack})}}finally{U.T=e,T.p=l}}(Ma&3)!==0&&mu(),ca(t),l=t.pendingLanes,(a&261930)!==0&&(l&42)!==0?t===Dr?Jl++:(Jl=0,Dr=t):Jl=0,$l(0)}}function Kd(t,e){(t.pooledCacheLanes&=e)===0&&(e=t.pooledCache,e!=null&&(t.pooledCache=null,Rl(e)))}function mu(){return Xd(),Qd(),Zd(),Jd()}function Jd(){if(ne!==5)return!1;var t=Ja,e=Tr;Tr=0;var a=Ju(Ma),n=U.T,l=T.p;try{T.p=32>a?32:a,U.T=null,a=Mr,Mr=null;var s=Ja,c=Ma;if(ne=0,el=Ja=null,Ma=0,(Mt&6)!==0)throw Error(r(331));var h=Mt;if(Mt|=4,Rd(s.current),Td(s,s.current,c,a),Mt=h,$l(0,!1),Re&&typeof Re.onPostCommitFiberRoot=="function")try{Re.onPostCommitFiberRoot(hl,s)}catch{}return!0}finally{T.p=l,U.T=n,Kd(t,e)}}function $d(t,e,a){e=Ge(a,e),e=ur(t.stateNode,e,2),t=Ya(t,e,2),t!==null&&(pl(t,2),ca(t))}function Nt(t,e,a){if(t.tag===3)$d(t,t,a);else for(;e!==null;){if(e.tag===3){$d(e,t,a);break}else if(e.tag===1){var n=e.stateNode;if(typeof e.type.getDerivedStateFromError=="function"||typeof n.componentDidCatch=="function"&&(Ka===null||!Ka.has(n))){t=Ge(a,t),a=Pf(2),n=Ya(e,a,2),n!==null&&(Wf(a,n,e,t),pl(n,2),ca(n));break}}e=e.return}}function zr(t,e,a){var n=t.pingCache;if(n===null){n=t.pingCache=new Dp;var l=new Set;n.set(e,l)}else l=n.get(e),l===void 0&&(l=new Set,n.set(e,l));l.has(a)||(xr=!0,l.add(a),t=Np.bind(null,t,e,a),e.then(t,t))}function Np(t,e,a){var n=t.pingCache;n!==null&&n.delete(e),t.pingedLanes|=t.suspendedLanes&a,t.warmLanes&=~a,Bt===t&&(vt&a)===a&&(Pt===4||Pt===3&&(vt&62914560)===vt&&300>qt()-ru?(Mt&2)===0&&al(t,0):Ar|=a,tl===vt&&(tl=0)),ca(t)}function Pd(t,e){e===0&&(e=Go()),t=cn(t,e),t!==null&&(pl(t,e),ca(t))}function kp(t){var e=t.memoizedState,a=0;e!==null&&(a=e.retryLane),Pd(t,a)}function Up(t,e){var a=0;switch(t.tag){case 31:case 13:var n=t.stateNode,l=t.memoizedState;l!==null&&(a=l.retryLane);break;case 19:n=t.stateNode;break;case 22:n=t.stateNode._retryCache;break;default:throw Error(r(314))}n!==null&&n.delete(e),Pd(t,a)}function jp(t,e){return Jt(t,e)}var pu=null,ll=null,Or=!1,gu=!1,Nr=!1,Pa=0;function ca(t){t!==ll&&t.next===null&&(ll===null?pu=ll=t:ll=ll.next=t),gu=!0,Or||(Or=!0,Bp())}function $l(t,e){if(!Nr&&gu){Nr=!0;do for(var a=!1,n=pu;n!==null;){if(t!==0){var l=n.pendingLanes;if(l===0)var s=0;else{var c=n.suspendedLanes,h=n.pingedLanes;s=(1<<31-Ce(42|t)+1)-1,s&=l&~(c&~h),s=s&201326741?s&201326741|1:s?s|2:0}s!==0&&(a=!0,th(n,s))}else s=vt,s=Si(n,n===Bt?s:0,n.cancelPendingCommit!==null||n.timeoutHandle!==-1),(s&3)===0||ml(n,s)||(a=!0,th(n,s));n=n.next}while(a);Nr=!1}}function Lp(){Wd()}function Wd(){gu=Or=!1;var t=0;Pa!==0&&Jp()&&(t=Pa);for(var e=qt(),a=null,n=pu;n!==null;){var l=n.next,s=Fd(n,e);s===0?(n.next=null,a===null?pu=l:a.next=l,l===null&&(ll=a)):(a=n,(t!==0||(s&3)!==0)&&(gu=!0)),n=l}ne!==0&&ne!==5||$l(t),Pa!==0&&(Pa=0)}function Fd(t,e){for(var a=t.suspendedLanes,n=t.pingedLanes,l=t.expirationTimes,s=t.pendingLanes&-62914561;0<s;){var c=31-Ce(s),h=1<<c,v=l[c];v===-1?((h&a)===0||(h&n)!==0)&&(l[c]=c0(h,e)):v<=e&&(t.expiredLanes|=h),s&=~h}if(e=Bt,a=vt,a=Si(t,t===e?a:0,t.cancelPendingCommit!==null||t.timeoutHandle!==-1),n=t.callbackNode,a===0||t===e&&(Ot===2||Ot===9)||t.cancelPendingCommit!==null)return n!==null&&n!==null&&De(n),t.callbackNode=null,t.callbackPriority=0;if((a&3)===0||ml(t,a)){if(e=a&-a,e===t.callbackPriority)return e;switch(n!==null&&De(n),Ju(a)){case 2:case 8:a=Yo;break;case 32:a=gi;break;case 268435456:a=Vo;break;default:a=gi}return n=Id.bind(null,t),a=Jt(a,n),t.callbackPriority=e,t.callbackNode=a,e}return n!==null&&n!==null&&De(n),t.callbackPriority=2,t.callbackNode=null,2}function Id(t,e){if(ne!==0&&ne!==5)return t.callbackNode=null,t.callbackPriority=0,null;var a=t.callbackNode;if(mu()&&t.callbackNode!==a)return null;var n=vt;return n=Si(t,t===Bt?n:0,t.cancelPendingCommit!==null||t.timeoutHandle!==-1),n===0?null:(kd(t,n,e),Fd(t,qt()),t.callbackNode!=null&&t.callbackNode===a?Id.bind(null,t):null)}function th(t,e){if(mu())return null;kd(t,e,!0)}function Bp(){Pp(function(){(Mt&6)!==0?Jt(ua,Lp):Wd()})}function kr(){if(Pa===0){var t=Gn;t===0&&(t=yi,yi<<=1,(yi&261888)===0&&(yi=256)),Pa=t}return Pa}function eh(t){return t==null||typeof t=="symbol"||typeof t=="boolean"?null:typeof t=="function"?t:Ai(""+t)}function ah(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 Hp(t,e,a,n,l){if(e==="submit"&&a&&a.stateNode===l){var s=eh((l[Se]||null).action),c=n.submitter;c&&(e=(e=c[Se]||null)?eh(e.formAction):c.getAttribute("formAction"),e!==null&&(s=e,c=null));var h=new Di("action","action",null,n,l);t.push({event:h,listeners:[{instance:null,listener:function(){if(n.defaultPrevented){if(Pa!==0){var v=c?ah(l,c):new FormData(l);tr(a,{pending:!0,data:v,method:l.method,action:s},null,v)}}else typeof s=="function"&&(h.preventDefault(),v=c?ah(l,c):new FormData(l),tr(a,{pending:!0,data:v,method:l.method,action:s},s,v))},currentTarget:l}]})}}for(var Ur=0;Ur<ys.length;Ur++){var jr=ys[Ur],qp=jr.toLowerCase(),Yp=jr[0].toUpperCase()+jr.slice(1);Ie(qp,"on"+Yp)}Ie(Oc,"onAnimationEnd"),Ie(Nc,"onAnimationIteration"),Ie(kc,"onAnimationStart"),Ie("dblclick","onDoubleClick"),Ie("focusin","onFocus"),Ie("focusout","onBlur"),Ie(np,"onTransitionRun"),Ie(lp,"onTransitionStart"),Ie(ip,"onTransitionCancel"),Ie(Uc,"onTransitionEnd"),Rn("onMouseEnter",["mouseout","mouseover"]),Rn("onMouseLeave",["mouseout","mouseover"]),Rn("onPointerEnter",["pointerout","pointerover"]),Rn("onPointerLeave",["pointerout","pointerover"]),un("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),un("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),un("onBeforeInput",["compositionend","keypress","textInput","paste"]),un("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),un("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),un("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Pl="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(" "),Vp=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Pl));function nh(t,e){e=(e&4)!==0;for(var a=0;a<t.length;a++){var n=t[a],l=n.event;n=n.listeners;t:{var s=void 0;if(e)for(var c=n.length-1;0<=c;c--){var h=n[c],v=h.instance,R=h.currentTarget;if(h=h.listener,v!==s&&l.isPropagationStopped())break t;s=h,l.currentTarget=R;try{s(l)}catch(j){zi(j)}l.currentTarget=null,s=v}else for(c=0;c<n.length;c++){if(h=n[c],v=h.instance,R=h.currentTarget,h=h.listener,v!==s&&l.isPropagationStopped())break t;s=h,l.currentTarget=R;try{s(l)}catch(j){zi(j)}l.currentTarget=null,s=v}}}}function yt(t,e){var a=e[$u];a===void 0&&(a=e[$u]=new Set);var n=t+"__bubble";a.has(n)||(lh(e,t,2,!1),a.add(n))}function Lr(t,e,a){var n=0;e&&(n|=4),lh(a,t,n,e)}var yu="_reactListening"+Math.random().toString(36).slice(2);function Br(t){if(!t[yu]){t[yu]=!0,Po.forEach(function(a){a!=="selectionchange"&&(Vp.has(a)||Lr(a,!1,t),Lr(a,!0,t))});var e=t.nodeType===9?t:t.ownerDocument;e===null||e[yu]||(e[yu]=!0,Lr("selectionchange",!1,e))}}function lh(t,e,a,n){switch(Nh(e)){case 2:var l=gg;break;case 8:l=yg;break;default:l=Ir}a=l.bind(null,e,a,t),l=void 0,!ls||e!=="touchstart"&&e!=="touchmove"&&e!=="wheel"||(l=!0),n?l!==void 0?t.addEventListener(e,a,{capture:!0,passive:l}):t.addEventListener(e,a,!0):l!==void 0?t.addEventListener(e,a,{passive:l}):t.addEventListener(e,a,!1)}function Hr(t,e,a,n,l){var s=n;if((e&1)===0&&(e&2)===0&&n!==null)t:for(;;){if(n===null)return;var c=n.tag;if(c===3||c===4){var h=n.stateNode.containerInfo;if(h===l)break;if(c===4)for(c=n.return;c!==null;){var v=c.tag;if((v===3||v===4)&&c.stateNode.containerInfo===l)return;c=c.return}for(;h!==null;){if(c=Tn(h),c===null)return;if(v=c.tag,v===5||v===6||v===26||v===27){n=s=c;continue t}h=h.parentNode}}n=n.return}rc(function(){var R=s,j=as(a),H=[];t:{var C=jc.get(t);if(C!==void 0){var z=Di,F=t;switch(t){case"keypress":if(Ti(a)===0)break t;case"keydown":case"keyup":z=U0;break;case"focusin":F="focus",z=rs;break;case"focusout":F="blur",z=rs;break;case"beforeblur":case"afterblur":z=rs;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":z=fc;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":z=x0;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":z=B0;break;case Oc:case Nc:case kc:z=T0;break;case Uc:z=q0;break;case"scroll":case"scrollend":z=w0;break;case"wheel":z=V0;break;case"copy":case"cut":case"paste":z=D0;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":z=hc;break;case"toggle":case"beforetoggle":z=X0}var it=(e&4)!==0,Lt=!it&&(t==="scroll"||t==="scrollend"),_=it?C!==null?C+"Capture":null:C;it=[];for(var S=R,D;S!==null;){var B=S;if(D=B.stateNode,B=B.tag,B!==5&&B!==26&&B!==27||D===null||_===null||(B=vl(S,_),B!=null&&it.push(Wl(S,B,D))),Lt)break;S=S.return}0<it.length&&(C=new z(C,F,null,a,j),H.push({event:C,listeners:it}))}}if((e&7)===0){t:{if(C=t==="mouseover"||t==="pointerover",z=t==="mouseout"||t==="pointerout",C&&a!==es&&(F=a.relatedTarget||a.fromElement)&&(Tn(F)||F[_n]))break t;if((z||C)&&(C=j.window===j?j:(C=j.ownerDocument)?C.defaultView||C.parentWindow:window,z?(F=a.relatedTarget||a.toElement,z=R,F=F?Tn(F):null,F!==null&&(Lt=d(F),it=F.tag,F!==Lt||it!==5&&it!==27&&it!==6)&&(F=null)):(z=null,F=R),z!==F)){if(it=fc,B="onMouseLeave",_="onMouseEnter",S="mouse",(t==="pointerout"||t==="pointerover")&&(it=hc,B="onPointerLeave",_="onPointerEnter",S="pointer"),Lt=z==null?C:yl(z),D=F==null?C:yl(F),C=new it(B,S+"leave",z,a,j),C.target=Lt,C.relatedTarget=D,B=null,Tn(j)===R&&(it=new it(_,S+"enter",F,a,j),it.target=D,it.relatedTarget=Lt,B=it),Lt=B,z&&F)e:{for(it=Gp,_=z,S=F,D=0,B=_;B;B=it(B))D++;B=0;for(var at=S;at;at=it(at))B++;for(;0<D-B;)_=it(_),D--;for(;0<B-D;)S=it(S),B--;for(;D--;){if(_===S||S!==null&&_===S.alternate){it=_;break e}_=it(_),S=it(S)}it=null}else it=null;z!==null&&ih(H,C,z,it,!1),F!==null&&Lt!==null&&ih(H,Lt,F,it,!0)}}t:{if(C=R?yl(R):window,z=C.nodeName&&C.nodeName.toLowerCase(),z==="select"||z==="input"&&C.type==="file")var At=wc;else if(bc(C))if(Ec)At=tp;else{At=F0;var et=W0}else z=C.nodeName,!z||z.toLowerCase()!=="input"||C.type!=="checkbox"&&C.type!=="radio"?R&&ts(R.elementType)&&(At=wc):At=I0;if(At&&(At=At(t,R))){Sc(H,At,a,j);break t}et&&et(t,C,R),t==="focusout"&&R&&C.type==="number"&&R.memoizedProps.value!=null&&Iu(C,"number",C.value)}switch(et=R?yl(R):window,t){case"focusin":(bc(et)||et.contentEditable==="true")&&(Un=et,ms=R,Tl=null);break;case"focusout":Tl=ms=Un=null;break;case"mousedown":ps=!0;break;case"contextmenu":case"mouseup":case"dragend":ps=!1,Cc(H,a,j);break;case"selectionchange":if(ap)break;case"keydown":case"keyup":Cc(H,a,j)}var dt;if(cs)t:{switch(t){case"compositionstart":var bt="onCompositionStart";break t;case"compositionend":bt="onCompositionEnd";break t;case"compositionupdate":bt="onCompositionUpdate";break t}bt=void 0}else kn?yc(t,a)&&(bt="onCompositionEnd"):t==="keydown"&&a.keyCode===229&&(bt="onCompositionStart");bt&&(mc&&a.locale!=="ko"&&(kn||bt!=="onCompositionStart"?bt==="onCompositionEnd"&&kn&&(dt=oc()):(ka=j,is="value"in ka?ka.value:ka.textContent,kn=!0)),et=vu(R,bt),0<et.length&&(bt=new dc(bt,t,null,a,j),H.push({event:bt,listeners:et}),dt?bt.data=dt:(dt=vc(a),dt!==null&&(bt.data=dt)))),(dt=Z0?K0(t,a):J0(t,a))&&(bt=vu(R,"onBeforeInput"),0<bt.length&&(et=new dc("onBeforeInput","beforeinput",null,a,j),H.push({event:et,listeners:bt}),et.data=dt)),Hp(H,t,R,a,j)}nh(H,e)})}function Wl(t,e,a){return{instance:t,listener:e,currentTarget:a}}function vu(t,e){for(var a=e+"Capture",n=[];t!==null;){var l=t,s=l.stateNode;if(l=l.tag,l!==5&&l!==26&&l!==27||s===null||(l=vl(t,a),l!=null&&n.unshift(Wl(t,l,s)),l=vl(t,e),l!=null&&n.push(Wl(t,l,s))),t.tag===3)return n;t=t.return}return[]}function Gp(t){if(t===null)return null;do t=t.return;while(t&&t.tag!==5&&t.tag!==27);return t||null}function ih(t,e,a,n,l){for(var s=e._reactName,c=[];a!==null&&a!==n;){var h=a,v=h.alternate,R=h.stateNode;if(h=h.tag,v!==null&&v===n)break;h!==5&&h!==26&&h!==27||R===null||(v=R,l?(R=vl(a,s),R!=null&&c.unshift(Wl(a,R,v))):l||(R=vl(a,s),R!=null&&c.push(Wl(a,R,v)))),a=a.return}c.length!==0&&t.push({event:e,listeners:c})}var Xp=/\r\n?/g,Qp=/\u0000|\uFFFD/g;function uh(t){return(typeof t=="string"?t:""+t).replace(Xp,`
`).replace(Qp,"")}function sh(t,e){return e=uh(e),uh(t)===e}function jt(t,e,a,n,l,s){switch(a){case"children":typeof n=="string"?e==="body"||e==="textarea"&&n===""||zn(t,n):(typeof n=="number"||typeof n=="bigint")&&e!=="body"&&zn(t,""+n);break;case"className":Ei(t,"class",n);break;case"tabIndex":Ei(t,"tabindex",n);break;case"dir":case"role":case"viewBox":case"width":case"height":Ei(t,a,n);break;case"style":uc(t,n,s);break;case"data":if(e!=="object"){Ei(t,"data",n);break}case"src":case"href":if(n===""&&(e!=="a"||a!=="href")){t.removeAttribute(a);break}if(n==null||typeof n=="function"||typeof n=="symbol"||typeof n=="boolean"){t.removeAttribute(a);break}n=Ai(""+n),t.setAttribute(a,n);break;case"action":case"formAction":if(typeof n=="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 s=="function"&&(a==="formAction"?(e!=="input"&&jt(t,e,"name",l.name,l,null),jt(t,e,"formEncType",l.formEncType,l,null),jt(t,e,"formMethod",l.formMethod,l,null),jt(t,e,"formTarget",l.formTarget,l,null)):(jt(t,e,"encType",l.encType,l,null),jt(t,e,"method",l.method,l,null),jt(t,e,"target",l.target,l,null)));if(n==null||typeof n=="symbol"||typeof n=="boolean"){t.removeAttribute(a);break}n=Ai(""+n),t.setAttribute(a,n);break;case"onClick":n!=null&&(t.onclick=da);break;case"onScroll":n!=null&&yt("scroll",t);break;case"onScrollEnd":n!=null&&yt("scrollend",t);break;case"dangerouslySetInnerHTML":if(n!=null){if(typeof n!="object"||!("__html"in n))throw Error(r(61));if(a=n.__html,a!=null){if(l.children!=null)throw Error(r(60));t.innerHTML=a}}break;case"multiple":t.multiple=n&&typeof n!="function"&&typeof n!="symbol";break;case"muted":t.muted=n&&typeof n!="function"&&typeof n!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(n==null||typeof n=="function"||typeof n=="boolean"||typeof n=="symbol"){t.removeAttribute("xlink:href");break}a=Ai(""+n),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":n!=null&&typeof n!="function"&&typeof n!="symbol"?t.setAttribute(a,""+n):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":n&&typeof n!="function"&&typeof n!="symbol"?t.setAttribute(a,""):t.removeAttribute(a);break;case"capture":case"download":n===!0?t.setAttribute(a,""):n!==!1&&n!=null&&typeof n!="function"&&typeof n!="symbol"?t.setAttribute(a,n):t.removeAttribute(a);break;case"cols":case"rows":case"size":case"span":n!=null&&typeof n!="function"&&typeof n!="symbol"&&!isNaN(n)&&1<=n?t.setAttribute(a,n):t.removeAttribute(a);break;case"rowSpan":case"start":n==null||typeof n=="function"||typeof n=="symbol"||isNaN(n)?t.removeAttribute(a):t.setAttribute(a,n);break;case"popover":yt("beforetoggle",t),yt("toggle",t),wi(t,"popover",n);break;case"xlinkActuate":fa(t,"http://www.w3.org/1999/xlink","xlink:actuate",n);break;case"xlinkArcrole":fa(t,"http://www.w3.org/1999/xlink","xlink:arcrole",n);break;case"xlinkRole":fa(t,"http://www.w3.org/1999/xlink","xlink:role",n);break;case"xlinkShow":fa(t,"http://www.w3.org/1999/xlink","xlink:show",n);break;case"xlinkTitle":fa(t,"http://www.w3.org/1999/xlink","xlink:title",n);break;case"xlinkType":fa(t,"http://www.w3.org/1999/xlink","xlink:type",n);break;case"xmlBase":fa(t,"http://www.w3.org/XML/1998/namespace","xml:base",n);break;case"xmlLang":fa(t,"http://www.w3.org/XML/1998/namespace","xml:lang",n);break;case"xmlSpace":fa(t,"http://www.w3.org/XML/1998/namespace","xml:space",n);break;case"is":wi(t,"is",n);break;case"innerText":case"textContent":break;default:(!(2<a.length)||a[0]!=="o"&&a[0]!=="O"||a[1]!=="n"&&a[1]!=="N")&&(a=b0.get(a)||a,wi(t,a,n))}}function qr(t,e,a,n,l,s){switch(a){case"style":uc(t,n,s);break;case"dangerouslySetInnerHTML":if(n!=null){if(typeof n!="object"||!("__html"in n))throw Error(r(61));if(a=n.__html,a!=null){if(l.children!=null)throw Error(r(60));t.innerHTML=a}}break;case"children":typeof n=="string"?zn(t,n):(typeof n=="number"||typeof n=="bigint")&&zn(t,""+n);break;case"onScroll":n!=null&&yt("scroll",t);break;case"onScrollEnd":n!=null&&yt("scrollend",t);break;case"onClick":n!=null&&(t.onclick=da);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!Wo.hasOwnProperty(a))t:{if(a[0]==="o"&&a[1]==="n"&&(l=a.endsWith("Capture"),e=a.slice(2,l?a.length-7:void 0),s=t[Se]||null,s=s!=null?s[a]:null,typeof s=="function"&&t.removeEventListener(e,s,l),typeof n=="function")){typeof s!="function"&&s!==null&&(a in t?t[a]=null:t.hasAttribute(a)&&t.removeAttribute(a)),t.addEventListener(e,n,l);break t}a in t?t[a]=n:n===!0?t.setAttribute(a,""):wi(t,a,n)}}}function he(t,e,a){switch(e){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":yt("error",t),yt("load",t);var n=!1,l=!1,s;for(s in a)if(a.hasOwnProperty(s)){var c=a[s];if(c!=null)switch(s){case"src":n=!0;break;case"srcSet":l=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(r(137,e));default:jt(t,e,s,c,a,null)}}l&&jt(t,e,"srcSet",a.srcSet,a,null),n&&jt(t,e,"src",a.src,a,null);return;case"input":yt("invalid",t);var h=s=c=l=null,v=null,R=null;for(n in a)if(a.hasOwnProperty(n)){var j=a[n];if(j!=null)switch(n){case"name":l=j;break;case"type":c=j;break;case"checked":v=j;break;case"defaultChecked":R=j;break;case"value":s=j;break;case"defaultValue":h=j;break;case"children":case"dangerouslySetInnerHTML":if(j!=null)throw Error(r(137,e));break;default:jt(t,e,n,j,a,null)}}ac(t,s,h,v,R,c,l,!1);return;case"select":yt("invalid",t),n=c=s=null;for(l in a)if(a.hasOwnProperty(l)&&(h=a[l],h!=null))switch(l){case"value":s=h;break;case"defaultValue":c=h;break;case"multiple":n=h;default:jt(t,e,l,h,a,null)}e=s,a=c,t.multiple=!!n,e!=null?Cn(t,!!n,e,!1):a!=null&&Cn(t,!!n,a,!0);return;case"textarea":yt("invalid",t),s=l=n=null;for(c in a)if(a.hasOwnProperty(c)&&(h=a[c],h!=null))switch(c){case"value":n=h;break;case"defaultValue":l=h;break;case"children":s=h;break;case"dangerouslySetInnerHTML":if(h!=null)throw Error(r(91));break;default:jt(t,e,c,h,a,null)}lc(t,n,l,s);return;case"option":for(v in a)if(a.hasOwnProperty(v)&&(n=a[v],n!=null))switch(v){case"selected":t.selected=n&&typeof n!="function"&&typeof n!="symbol";break;default:jt(t,e,v,n,a,null)}return;case"dialog":yt("beforetoggle",t),yt("toggle",t),yt("cancel",t),yt("close",t);break;case"iframe":case"object":yt("load",t);break;case"video":case"audio":for(n=0;n<Pl.length;n++)yt(Pl[n],t);break;case"image":yt("error",t),yt("load",t);break;case"details":yt("toggle",t);break;case"embed":case"source":case"link":yt("error",t),yt("load",t);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(R in a)if(a.hasOwnProperty(R)&&(n=a[R],n!=null))switch(R){case"children":case"dangerouslySetInnerHTML":throw Error(r(137,e));default:jt(t,e,R,n,a,null)}return;default:if(ts(e)){for(j in a)a.hasOwnProperty(j)&&(n=a[j],n!==void 0&&qr(t,e,j,n,a,void 0));return}}for(h in a)a.hasOwnProperty(h)&&(n=a[h],n!=null&&jt(t,e,h,n,a,null))}function Zp(t,e,a,n){switch(e){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var l=null,s=null,c=null,h=null,v=null,R=null,j=null;for(z in a){var H=a[z];if(a.hasOwnProperty(z)&&H!=null)switch(z){case"checked":break;case"value":break;case"defaultValue":v=H;default:n.hasOwnProperty(z)||jt(t,e,z,null,n,H)}}for(var C in n){var z=n[C];if(H=a[C],n.hasOwnProperty(C)&&(z!=null||H!=null))switch(C){case"type":s=z;break;case"name":l=z;break;case"checked":R=z;break;case"defaultChecked":j=z;break;case"value":c=z;break;case"defaultValue":h=z;break;case"children":case"dangerouslySetInnerHTML":if(z!=null)throw Error(r(137,e));break;default:z!==H&&jt(t,e,C,z,n,H)}}Fu(t,c,h,v,R,j,s,l);return;case"select":z=c=h=C=null;for(s in a)if(v=a[s],a.hasOwnProperty(s)&&v!=null)switch(s){case"value":break;case"multiple":z=v;default:n.hasOwnProperty(s)||jt(t,e,s,null,n,v)}for(l in n)if(s=n[l],v=a[l],n.hasOwnProperty(l)&&(s!=null||v!=null))switch(l){case"value":C=s;break;case"defaultValue":h=s;break;case"multiple":c=s;default:s!==v&&jt(t,e,l,s,n,v)}e=h,a=c,n=z,C!=null?Cn(t,!!a,C,!1):!!n!=!!a&&(e!=null?Cn(t,!!a,e,!0):Cn(t,!!a,a?[]:"",!1));return;case"textarea":z=C=null;for(h in a)if(l=a[h],a.hasOwnProperty(h)&&l!=null&&!n.hasOwnProperty(h))switch(h){case"value":break;case"children":break;default:jt(t,e,h,null,n,l)}for(c in n)if(l=n[c],s=a[c],n.hasOwnProperty(c)&&(l!=null||s!=null))switch(c){case"value":C=l;break;case"defaultValue":z=l;break;case"children":break;case"dangerouslySetInnerHTML":if(l!=null)throw Error(r(91));break;default:l!==s&&jt(t,e,c,l,n,s)}nc(t,C,z);return;case"option":for(var F in a)if(C=a[F],a.hasOwnProperty(F)&&C!=null&&!n.hasOwnProperty(F))switch(F){case"selected":t.selected=!1;break;default:jt(t,e,F,null,n,C)}for(v in n)if(C=n[v],z=a[v],n.hasOwnProperty(v)&&C!==z&&(C!=null||z!=null))switch(v){case"selected":t.selected=C&&typeof C!="function"&&typeof C!="symbol";break;default:jt(t,e,v,C,n,z)}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 it in a)C=a[it],a.hasOwnProperty(it)&&C!=null&&!n.hasOwnProperty(it)&&jt(t,e,it,null,n,C);for(R in n)if(C=n[R],z=a[R],n.hasOwnProperty(R)&&C!==z&&(C!=null||z!=null))switch(R){case"children":case"dangerouslySetInnerHTML":if(C!=null)throw Error(r(137,e));break;default:jt(t,e,R,C,n,z)}return;default:if(ts(e)){for(var Lt in a)C=a[Lt],a.hasOwnProperty(Lt)&&C!==void 0&&!n.hasOwnProperty(Lt)&&qr(t,e,Lt,void 0,n,C);for(j in n)C=n[j],z=a[j],!n.hasOwnProperty(j)||C===z||C===void 0&&z===void 0||qr(t,e,j,C,n,z);return}}for(var _ in a)C=a[_],a.hasOwnProperty(_)&&C!=null&&!n.hasOwnProperty(_)&&jt(t,e,_,null,n,C);for(H in n)C=n[H],z=a[H],!n.hasOwnProperty(H)||C===z||C==null&&z==null||jt(t,e,H,C,n,z)}function rh(t){switch(t){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function Kp(){if(typeof performance.getEntriesByType=="function"){for(var t=0,e=0,a=performance.getEntriesByType("resource"),n=0;n<a.length;n++){var l=a[n],s=l.transferSize,c=l.initiatorType,h=l.duration;if(s&&h&&rh(c)){for(c=0,h=l.responseEnd,n+=1;n<a.length;n++){var v=a[n],R=v.startTime;if(R>h)break;var j=v.transferSize,H=v.initiatorType;j&&rh(H)&&(v=v.responseEnd,c+=j*(v<h?1:(h-R)/(v-R)))}if(--n,e+=8*(s+c)/(l.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 Yr=null,Vr=null;function bu(t){return t.nodeType===9?t:t.ownerDocument}function oh(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 ch(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 Gr(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 Xr=null;function Jp(){var t=window.event;return t&&t.type==="popstate"?t===Xr?!1:(Xr=t,!0):(Xr=null,!1)}var fh=typeof setTimeout=="function"?setTimeout:void 0,$p=typeof clearTimeout=="function"?clearTimeout:void 0,dh=typeof Promise=="function"?Promise:void 0,Pp=typeof queueMicrotask=="function"?queueMicrotask:typeof dh<"u"?function(t){return dh.resolve(null).then(t).catch(Wp)}:fh;function Wp(t){setTimeout(function(){throw t})}function Wa(t){return t==="head"}function hh(t,e){var a=e,n=0;do{var l=a.nextSibling;if(t.removeChild(a),l&&l.nodeType===8)if(a=l.data,a==="/$"||a==="/&"){if(n===0){t.removeChild(l),rl(e);return}n--}else if(a==="$"||a==="$?"||a==="$~"||a==="$!"||a==="&")n++;else if(a==="html")Fl(t.ownerDocument.documentElement);else if(a==="head"){a=t.ownerDocument.head,Fl(a);for(var s=a.firstChild;s;){var c=s.nextSibling,h=s.nodeName;s[gl]||h==="SCRIPT"||h==="STYLE"||h==="LINK"&&s.rel.toLowerCase()==="stylesheet"||a.removeChild(s),s=c}}else a==="body"&&Fl(t.ownerDocument.body);a=l}while(a);rl(e)}function mh(t,e){var a=t;t=0;do{var n=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||""),n&&n.nodeType===8)if(a=n.data,a==="/$"){if(t===0)break;t--}else a!=="$"&&a!=="$?"&&a!=="$~"&&a!=="$!"||t++;a=n}while(a)}function Qr(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":Qr(a),Pu(a);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(a.rel.toLowerCase()==="stylesheet")continue}t.removeChild(a)}}function Fp(t,e,a,n){for(;t.nodeType===1;){var l=a;if(t.nodeName.toLowerCase()!==e.toLowerCase()){if(!n&&(t.nodeName!=="INPUT"||t.type!=="hidden"))break}else if(n){if(!t[gl])switch(e){case"meta":if(!t.hasAttribute("itemprop"))break;return t;case"link":if(s=t.getAttribute("rel"),s==="stylesheet"&&t.hasAttribute("data-precedence"))break;if(s!==l.rel||t.getAttribute("href")!==(l.href==null||l.href===""?null:l.href)||t.getAttribute("crossorigin")!==(l.crossOrigin==null?null:l.crossOrigin)||t.getAttribute("title")!==(l.title==null?null:l.title))break;return t;case"style":if(t.hasAttribute("data-precedence"))break;return t;case"script":if(s=t.getAttribute("src"),(s!==(l.src==null?null:l.src)||t.getAttribute("type")!==(l.type==null?null:l.type)||t.getAttribute("crossorigin")!==(l.crossOrigin==null?null:l.crossOrigin))&&s&&t.hasAttribute("async")&&!t.hasAttribute("itemprop"))break;return t;default:return t}}else if(e==="input"&&t.type==="hidden"){var s=l.name==null?null:""+l.name;if(l.type==="hidden"&&t.getAttribute("name")===s)return t}else return t;if(t=Je(t.nextSibling),t===null)break}return null}function Ip(t,e,a){if(e==="")return null;for(;t.nodeType!==3;)if((t.nodeType!==1||t.nodeName!=="INPUT"||t.type!=="hidden")&&!a||(t=Je(t.nextSibling),t===null))return null;return t}function ph(t,e){for(;t.nodeType!==8;)if((t.nodeType!==1||t.nodeName!=="INPUT"||t.type!=="hidden")&&!e||(t=Je(t.nextSibling),t===null))return null;return t}function Zr(t){return t.data==="$?"||t.data==="$~"}function Kr(t){return t.data==="$!"||t.data==="$?"&&t.ownerDocument.readyState!=="loading"}function tg(t,e){var a=t.ownerDocument;if(t.data==="$~")t._reactRetry=e;else if(t.data!=="$?"||a.readyState!=="loading")e();else{var n=function(){e(),a.removeEventListener("DOMContentLoaded",n)};a.addEventListener("DOMContentLoaded",n),t._reactRetry=n}}function Je(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 Jr=null;function gh(t){t=t.nextSibling;for(var e=0;t;){if(t.nodeType===8){var a=t.data;if(a==="/$"||a==="/&"){if(e===0)return Je(t.nextSibling);e--}else a!=="$"&&a!=="$!"&&a!=="$?"&&a!=="$~"&&a!=="&"||e++}t=t.nextSibling}return null}function yh(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 vh(t,e,a){switch(e=bu(a),t){case"html":if(t=e.documentElement,!t)throw Error(r(452));return t;case"head":if(t=e.head,!t)throw Error(r(453));return t;case"body":if(t=e.body,!t)throw Error(r(454));return t;default:throw Error(r(451))}}function Fl(t){for(var e=t.attributes;e.length;)t.removeAttributeNode(e[0]);Pu(t)}var $e=new Map,bh=new Set;function Su(t){return typeof t.getRootNode=="function"?t.getRootNode():t.nodeType===9?t:t.ownerDocument}var Da=T.d;T.d={f:eg,r:ag,D:ng,C:lg,L:ig,m:ug,X:rg,S:sg,M:og};function eg(){var t=Da.f(),e=fu();return t||e}function ag(t){var e=Mn(t);e!==null&&e.tag===5&&e.type==="form"?jf(e):Da.r(t)}var il=typeof document>"u"?null:document;function Sh(t,e,a){var n=il;if(n&&typeof e=="string"&&e){var l=Ye(e);l='link[rel="'+t+'"][href="'+l+'"]',typeof a=="string"&&(l+='[crossorigin="'+a+'"]'),bh.has(l)||(bh.add(l),t={rel:t,crossOrigin:a,href:e},n.querySelector(l)===null&&(e=n.createElement("link"),he(e,"link",t),ue(e),n.head.appendChild(e)))}}function ng(t){Da.D(t),Sh("dns-prefetch",t,null)}function lg(t,e){Da.C(t,e),Sh("preconnect",t,e)}function ig(t,e,a){Da.L(t,e,a);var n=il;if(n&&t&&e){var l='link[rel="preload"][as="'+Ye(e)+'"]';e==="image"&&a&&a.imageSrcSet?(l+='[imagesrcset="'+Ye(a.imageSrcSet)+'"]',typeof a.imageSizes=="string"&&(l+='[imagesizes="'+Ye(a.imageSizes)+'"]')):l+='[href="'+Ye(t)+'"]';var s=l;switch(e){case"style":s=ul(t);break;case"script":s=sl(t)}$e.has(s)||(t=A({rel:"preload",href:e==="image"&&a&&a.imageSrcSet?void 0:t,as:e},a),$e.set(s,t),n.querySelector(l)!==null||e==="style"&&n.querySelector(Il(s))||e==="script"&&n.querySelector(ti(s))||(e=n.createElement("link"),he(e,"link",t),ue(e),n.head.appendChild(e)))}}function ug(t,e){Da.m(t,e);var a=il;if(a&&t){var n=e&&typeof e.as=="string"?e.as:"script",l='link[rel="modulepreload"][as="'+Ye(n)+'"][href="'+Ye(t)+'"]',s=l;switch(n){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":s=sl(t)}if(!$e.has(s)&&(t=A({rel:"modulepreload",href:t},e),$e.set(s,t),a.querySelector(l)===null)){switch(n){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(a.querySelector(ti(s)))return}n=a.createElement("link"),he(n,"link",t),ue(n),a.head.appendChild(n)}}}function sg(t,e,a){Da.S(t,e,a);var n=il;if(n&&t){var l=Dn(n).hoistableStyles,s=ul(t);e=e||"default";var c=l.get(s);if(!c){var h={loading:0,preload:null};if(c=n.querySelector(Il(s)))h.loading=5;else{t=A({rel:"stylesheet",href:t,"data-precedence":e},a),(a=$e.get(s))&&$r(t,a);var v=c=n.createElement("link");ue(v),he(v,"link",t),v._p=new Promise(function(R,j){v.onload=R,v.onerror=j}),v.addEventListener("load",function(){h.loading|=1}),v.addEventListener("error",function(){h.loading|=2}),h.loading|=4,wu(c,e,n)}c={type:"stylesheet",instance:c,count:1,state:h},l.set(s,c)}}}function rg(t,e){Da.X(t,e);var a=il;if(a&&t){var n=Dn(a).hoistableScripts,l=sl(t),s=n.get(l);s||(s=a.querySelector(ti(l)),s||(t=A({src:t,async:!0},e),(e=$e.get(l))&&Pr(t,e),s=a.createElement("script"),ue(s),he(s,"link",t),a.head.appendChild(s)),s={type:"script",instance:s,count:1,state:null},n.set(l,s))}}function og(t,e){Da.M(t,e);var a=il;if(a&&t){var n=Dn(a).hoistableScripts,l=sl(t),s=n.get(l);s||(s=a.querySelector(ti(l)),s||(t=A({src:t,async:!0,type:"module"},e),(e=$e.get(l))&&Pr(t,e),s=a.createElement("script"),ue(s),he(s,"link",t),a.head.appendChild(s)),s={type:"script",instance:s,count:1,state:null},n.set(l,s))}}function wh(t,e,a,n){var l=(l=ht.current)?Su(l):null;if(!l)throw Error(r(446));switch(t){case"meta":case"title":return null;case"style":return typeof a.precedence=="string"&&typeof a.href=="string"?(e=ul(a.href),a=Dn(l).hoistableStyles,n=a.get(e),n||(n={type:"style",instance:null,count:0,state:null},a.set(e,n)),n):{type:"void",instance:null,count:0,state:null};case"link":if(a.rel==="stylesheet"&&typeof a.href=="string"&&typeof a.precedence=="string"){t=ul(a.href);var s=Dn(l).hoistableStyles,c=s.get(t);if(c||(l=l.ownerDocument||l,c={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},s.set(t,c),(s=l.querySelector(Il(t)))&&!s._p&&(c.instance=s,c.state.loading=5),$e.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},$e.set(t,a),s||cg(l,t,a,c.state))),e&&n===null)throw Error(r(528,""));return c}if(e&&n!==null)throw Error(r(529,""));return null;case"script":return e=a.async,a=a.src,typeof a=="string"&&e&&typeof e!="function"&&typeof e!="symbol"?(e=sl(a),a=Dn(l).hoistableScripts,n=a.get(e),n||(n={type:"script",instance:null,count:0,state:null},a.set(e,n)),n):{type:"void",instance:null,count:0,state:null};default:throw Error(r(444,t))}}function ul(t){return'href="'+Ye(t)+'"'}function Il(t){return'link[rel="stylesheet"]['+t+"]"}function Eh(t){return A({},t,{"data-precedence":t.precedence,precedence:null})}function cg(t,e,a,n){t.querySelector('link[rel="preload"][as="style"]['+e+"]")?n.loading=1:(e=t.createElement("link"),n.preload=e,e.addEventListener("load",function(){return n.loading|=1}),e.addEventListener("error",function(){return n.loading|=2}),he(e,"link",a),ue(e),t.head.appendChild(e))}function sl(t){return'[src="'+Ye(t)+'"]'}function ti(t){return"script[async]"+t}function xh(t,e,a){if(e.count++,e.instance===null)switch(e.type){case"style":var n=t.querySelector('style[data-href~="'+Ye(a.href)+'"]');if(n)return e.instance=n,ue(n),n;var l=A({},a,{"data-href":a.href,"data-precedence":a.precedence,href:null,precedence:null});return n=(t.ownerDocument||t).createElement("style"),ue(n),he(n,"style",l),wu(n,a.precedence,t),e.instance=n;case"stylesheet":l=ul(a.href);var s=t.querySelector(Il(l));if(s)return e.state.loading|=4,e.instance=s,ue(s),s;n=Eh(a),(l=$e.get(l))&&$r(n,l),s=(t.ownerDocument||t).createElement("link"),ue(s);var c=s;return c._p=new Promise(function(h,v){c.onload=h,c.onerror=v}),he(s,"link",n),e.state.loading|=4,wu(s,a.precedence,t),e.instance=s;case"script":return s=sl(a.src),(l=t.querySelector(ti(s)))?(e.instance=l,ue(l),l):(n=a,(l=$e.get(s))&&(n=A({},a),Pr(n,l)),t=t.ownerDocument||t,l=t.createElement("script"),ue(l),he(l,"link",n),t.head.appendChild(l),e.instance=l);case"void":return null;default:throw Error(r(443,e.type))}else e.type==="stylesheet"&&(e.state.loading&4)===0&&(n=e.instance,e.state.loading|=4,wu(n,a.precedence,t));return e.instance}function wu(t,e,a){for(var n=a.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),l=n.length?n[n.length-1]:null,s=l,c=0;c<n.length;c++){var h=n[c];if(h.dataset.precedence===e)s=h;else if(s!==l)break}s?s.parentNode.insertBefore(t,s.nextSibling):(e=a.nodeType===9?a.head:a,e.insertBefore(t,e.firstChild))}function $r(t,e){t.crossOrigin==null&&(t.crossOrigin=e.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=e.referrerPolicy),t.title==null&&(t.title=e.title)}function Pr(t,e){t.crossOrigin==null&&(t.crossOrigin=e.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=e.referrerPolicy),t.integrity==null&&(t.integrity=e.integrity)}var Eu=null;function Ah(t,e,a){if(Eu===null){var n=new Map,l=Eu=new Map;l.set(a,n)}else l=Eu,n=l.get(a),n||(n=new Map,l.set(a,n));if(n.has(t))return n;for(n.set(t,null),a=a.getElementsByTagName(t),l=0;l<a.length;l++){var s=a[l];if(!(s[gl]||s[oe]||t==="link"&&s.getAttribute("rel")==="stylesheet")&&s.namespaceURI!=="http://www.w3.org/2000/svg"){var c=s.getAttribute(e)||"";c=t+c;var h=n.get(c);h?h.push(s):n.set(c,[s])}}return n}function _h(t,e,a){t=t.ownerDocument||t,t.head.insertBefore(a,e==="title"?t.querySelector("head > title"):null)}function fg(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 Th(t){return!(t.type==="stylesheet"&&(t.state.loading&3)===0)}function dg(t,e,a,n){if(a.type==="stylesheet"&&(typeof n.media!="string"||matchMedia(n.media).matches!==!1)&&(a.state.loading&4)===0){if(a.instance===null){var l=ul(n.href),s=e.querySelector(Il(l));if(s){e=s._p,e!==null&&typeof e=="object"&&typeof e.then=="function"&&(t.count++,t=xu.bind(t),e.then(t,t)),a.state.loading|=4,a.instance=s,ue(s);return}s=e.ownerDocument||e,n=Eh(n),(l=$e.get(l))&&$r(n,l),s=s.createElement("link"),ue(s);var c=s;c._p=new Promise(function(h,v){c.onload=h,c.onerror=v}),he(s,"link",n),a.instance=s}t.stylesheets===null&&(t.stylesheets=new Map),t.stylesheets.set(a,e),(e=a.state.preload)&&(a.state.loading&3)===0&&(t.count++,a=xu.bind(t),e.addEventListener("load",a),e.addEventListener("error",a))}}var Wr=0;function hg(t,e){return t.stylesheets&&t.count===0&&_u(t,t.stylesheets),0<t.count||0<t.imgCount?function(a){var n=setTimeout(function(){if(t.stylesheets&&_u(t,t.stylesheets),t.unsuspend){var s=t.unsuspend;t.unsuspend=null,s()}},6e4+e);0<t.imgBytes&&Wr===0&&(Wr=62500*Kp());var l=setTimeout(function(){if(t.waitingForImages=!1,t.count===0&&(t.stylesheets&&_u(t,t.stylesheets),t.unsuspend)){var s=t.unsuspend;t.unsuspend=null,s()}},(t.imgBytes>Wr?50:800)+e);return t.unsuspend=a,function(){t.unsuspend=null,clearTimeout(n),clearTimeout(l)}}:null}function xu(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)_u(this,this.stylesheets);else if(this.unsuspend){var t=this.unsuspend;this.unsuspend=null,t()}}}var Au=null;function _u(t,e){t.stylesheets=null,t.unsuspend!==null&&(t.count++,Au=new Map,e.forEach(mg,t),Au=null,xu.call(t))}function mg(t,e){if(!(e.state.loading&4)){var a=Au.get(t);if(a)var n=a.get(null);else{a=new Map,Au.set(t,a);for(var l=t.querySelectorAll("link[data-precedence],style[data-precedence]"),s=0;s<l.length;s++){var c=l[s];(c.nodeName==="LINK"||c.getAttribute("media")!=="not all")&&(a.set(c.dataset.precedence,c),n=c)}n&&a.set(null,n)}l=e.instance,c=l.getAttribute("data-precedence"),s=a.get(c)||n,s===n&&a.set(null,l),a.set(c,l),this.count++,n=xu.bind(this),l.addEventListener("load",n),l.addEventListener("error",n),s?s.parentNode.insertBefore(l,s.nextSibling):(t=t.nodeType===9?t.head:t,t.insertBefore(l,t.firstChild)),e.state.loading|=4}}var ei={$$typeof:p,Provider:null,Consumer:null,_currentValue:P,_currentValue2:P,_threadCount:0};function pg(t,e,a,n,l,s,c,h,v){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=Zu(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Zu(0),this.hiddenUpdates=Zu(null),this.identifierPrefix=n,this.onUncaughtError=l,this.onCaughtError=s,this.onRecoverableError=c,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=v,this.incompleteTransitions=new Map}function Mh(t,e,a,n,l,s,c,h,v,R,j,H){return t=new pg(t,e,a,c,v,R,j,H,h),e=1,s===!0&&(e|=24),s=Oe(3,null,null,e),t.current=s,s.stateNode=t,e=Cs(),e.refCount++,t.pooledCache=e,e.refCount++,s.memoizedState={element:n,isDehydrated:a,cache:e},ks(s),t}function Dh(t){return t?(t=Bn,t):Bn}function Rh(t,e,a,n,l,s){l=Dh(l),n.context===null?n.context=l:n.pendingContext=l,n=qa(e),n.payload={element:a},s=s===void 0?null:s,s!==null&&(n.callback=s),a=Ya(t,n,e),a!==null&&(Te(a,t,e),Nl(a,t,e))}function Ch(t,e){if(t=t.memoizedState,t!==null&&t.dehydrated!==null){var a=t.retryLane;t.retryLane=a!==0&&a<e?a:e}}function Fr(t,e){Ch(t,e),(t=t.alternate)&&Ch(t,e)}function zh(t){if(t.tag===13||t.tag===31){var e=cn(t,67108864);e!==null&&Te(e,t,67108864),Fr(t,67108864)}}function Oh(t){if(t.tag===13||t.tag===31){var e=Le();e=Ku(e);var a=cn(t,e);a!==null&&Te(a,t,e),Fr(t,e)}}var Tu=!0;function gg(t,e,a,n){var l=U.T;U.T=null;var s=T.p;try{T.p=2,Ir(t,e,a,n)}finally{T.p=s,U.T=l}}function yg(t,e,a,n){var l=U.T;U.T=null;var s=T.p;try{T.p=8,Ir(t,e,a,n)}finally{T.p=s,U.T=l}}function Ir(t,e,a,n){if(Tu){var l=to(n);if(l===null)Hr(t,e,n,Mu,a),kh(t,n);else if(bg(l,t,e,a,n))n.stopPropagation();else if(kh(t,n),e&4&&-1<vg.indexOf(t)){for(;l!==null;){var s=Mn(l);if(s!==null)switch(s.tag){case 3:if(s=s.stateNode,s.current.memoizedState.isDehydrated){var c=ln(s.pendingLanes);if(c!==0){var h=s;for(h.pendingLanes|=2,h.entangledLanes|=2;c;){var v=1<<31-Ce(c);h.entanglements[1]|=v,c&=~v}ca(s),(Mt&6)===0&&(ou=qt()+500,$l(0))}}break;case 31:case 13:h=cn(s,2),h!==null&&Te(h,s,2),fu(),Fr(s,2)}if(s=to(n),s===null&&Hr(t,e,n,Mu,a),s===l)break;l=s}l!==null&&n.stopPropagation()}else Hr(t,e,n,null,a)}}function to(t){return t=as(t),eo(t)}var Mu=null;function eo(t){if(Mu=null,t=Tn(t),t!==null){var e=d(t);if(e===null)t=null;else{var a=e.tag;if(a===13){if(t=g(e),t!==null)return t;t=null}else if(a===31){if(t=b(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 Mu=t,null}function Nh(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(ia()){case ua:return 2;case Yo:return 8;case gi:case l0:return 32;case Vo:return 268435456;default:return 32}default:return 32}}var ao=!1,Fa=null,Ia=null,tn=null,ai=new Map,ni=new Map,en=[],vg="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 kh(t,e){switch(t){case"focusin":case"focusout":Fa=null;break;case"dragenter":case"dragleave":Ia=null;break;case"mouseover":case"mouseout":tn=null;break;case"pointerover":case"pointerout":ai.delete(e.pointerId);break;case"gotpointercapture":case"lostpointercapture":ni.delete(e.pointerId)}}function li(t,e,a,n,l,s){return t===null||t.nativeEvent!==s?(t={blockedOn:e,domEventName:a,eventSystemFlags:n,nativeEvent:s,targetContainers:[l]},e!==null&&(e=Mn(e),e!==null&&zh(e)),t):(t.eventSystemFlags|=n,e=t.targetContainers,l!==null&&e.indexOf(l)===-1&&e.push(l),t)}function bg(t,e,a,n,l){switch(e){case"focusin":return Fa=li(Fa,t,e,a,n,l),!0;case"dragenter":return Ia=li(Ia,t,e,a,n,l),!0;case"mouseover":return tn=li(tn,t,e,a,n,l),!0;case"pointerover":var s=l.pointerId;return ai.set(s,li(ai.get(s)||null,t,e,a,n,l)),!0;case"gotpointercapture":return s=l.pointerId,ni.set(s,li(ni.get(s)||null,t,e,a,n,l)),!0}return!1}function Uh(t){var e=Tn(t.target);if(e!==null){var a=d(e);if(a!==null){if(e=a.tag,e===13){if(e=g(a),e!==null){t.blockedOn=e,Jo(t.priority,function(){Oh(a)});return}}else if(e===31){if(e=b(a),e!==null){t.blockedOn=e,Jo(t.priority,function(){Oh(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 Du(t){if(t.blockedOn!==null)return!1;for(var e=t.targetContainers;0<e.length;){var a=to(t.nativeEvent);if(a===null){a=t.nativeEvent;var n=new a.constructor(a.type,a);es=n,a.target.dispatchEvent(n),es=null}else return e=Mn(a),e!==null&&zh(e),t.blockedOn=a,!1;e.shift()}return!0}function jh(t,e,a){Du(t)&&a.delete(e)}function Sg(){ao=!1,Fa!==null&&Du(Fa)&&(Fa=null),Ia!==null&&Du(Ia)&&(Ia=null),tn!==null&&Du(tn)&&(tn=null),ai.forEach(jh),ni.forEach(jh)}function Ru(t,e){t.blockedOn===e&&(t.blockedOn=null,ao||(ao=!0,u.unstable_scheduleCallback(u.unstable_NormalPriority,Sg)))}var Cu=null;function Lh(t){Cu!==t&&(Cu=t,u.unstable_scheduleCallback(u.unstable_NormalPriority,function(){Cu===t&&(Cu=null);for(var e=0;e<t.length;e+=3){var a=t[e],n=t[e+1],l=t[e+2];if(typeof n!="function"){if(eo(n||a)===null)continue;break}var s=Mn(a);s!==null&&(t.splice(e,3),e-=3,tr(s,{pending:!0,data:l,method:a.method,action:n},n,l))}}))}function rl(t){function e(v){return Ru(v,t)}Fa!==null&&Ru(Fa,t),Ia!==null&&Ru(Ia,t),tn!==null&&Ru(tn,t),ai.forEach(e),ni.forEach(e);for(var a=0;a<en.length;a++){var n=en[a];n.blockedOn===t&&(n.blockedOn=null)}for(;0<en.length&&(a=en[0],a.blockedOn===null);)Uh(a),a.blockedOn===null&&en.shift();if(a=(t.ownerDocument||t).$$reactFormReplay,a!=null)for(n=0;n<a.length;n+=3){var l=a[n],s=a[n+1],c=l[Se]||null;if(typeof s=="function")c||Lh(a);else if(c){var h=null;if(s&&s.hasAttribute("formAction")){if(l=s,c=s[Se]||null)h=c.formAction;else if(eo(l)!==null)continue}else h=c.action;typeof h=="function"?a[n+1]=h:(a.splice(n,3),n-=3),Lh(a)}}}function Bh(){function t(s){s.canIntercept&&s.info==="react-transition"&&s.intercept({handler:function(){return new Promise(function(c){return l=c})},focusReset:"manual",scroll:"manual"})}function e(){l!==null&&(l(),l=null),n||setTimeout(a,20)}function a(){if(!n&&!navigation.transition){var s=navigation.currentEntry;s&&s.url!=null&&navigation.navigate(s.url,{state:s.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var n=!1,l=null;return navigation.addEventListener("navigate",t),navigation.addEventListener("navigatesuccess",e),navigation.addEventListener("navigateerror",e),setTimeout(a,100),function(){n=!0,navigation.removeEventListener("navigate",t),navigation.removeEventListener("navigatesuccess",e),navigation.removeEventListener("navigateerror",e),l!==null&&(l(),l=null)}}}function no(t){this._internalRoot=t}zu.prototype.render=no.prototype.render=function(t){var e=this._internalRoot;if(e===null)throw Error(r(409));var a=e.current,n=Le();Rh(a,n,t,e,null,null)},zu.prototype.unmount=no.prototype.unmount=function(){var t=this._internalRoot;if(t!==null){this._internalRoot=null;var e=t.containerInfo;Rh(t.current,2,null,t,null,null),fu(),e[_n]=null}};function zu(t){this._internalRoot=t}zu.prototype.unstable_scheduleHydration=function(t){if(t){var e=Ko();t={blockedOn:null,target:t,priority:e};for(var a=0;a<en.length&&e!==0&&e<en[a].priority;a++);en.splice(a,0,t),a===0&&Uh(t)}};var Hh=i.version;if(Hh!=="19.2.7")throw Error(r(527,Hh,"19.2.7"));T.findDOMNode=function(t){var e=t._reactInternals;if(e===void 0)throw typeof t.render=="function"?Error(r(188)):(t=Object.keys(t).join(","),Error(r(268,t)));return t=m(e),t=t!==null?M(t):null,t=t===null?null:t.stateNode,t};var wg={bundleType:0,version:"19.2.7",rendererPackageName:"react-dom",currentDispatcherRef:U,reconcilerVersion:"19.2.7"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Ou=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Ou.isDisabled&&Ou.supportsFiber)try{hl=Ou.inject(wg),Re=Ou}catch{}}return ui.createRoot=function(t,e){if(!f(t))throw Error(r(299));var a=!1,n="",l=Zf,s=Kf,c=Jf;return e!=null&&(e.unstable_strictMode===!0&&(a=!0),e.identifierPrefix!==void 0&&(n=e.identifierPrefix),e.onUncaughtError!==void 0&&(l=e.onUncaughtError),e.onCaughtError!==void 0&&(s=e.onCaughtError),e.onRecoverableError!==void 0&&(c=e.onRecoverableError)),e=Mh(t,1,!1,null,null,a,n,null,l,s,c,Bh),t[_n]=e.current,Br(t),new no(e)},ui.hydrateRoot=function(t,e,a){if(!f(t))throw Error(r(299));var n=!1,l="",s=Zf,c=Kf,h=Jf,v=null;return a!=null&&(a.unstable_strictMode===!0&&(n=!0),a.identifierPrefix!==void 0&&(l=a.identifierPrefix),a.onUncaughtError!==void 0&&(s=a.onUncaughtError),a.onCaughtError!==void 0&&(c=a.onCaughtError),a.onRecoverableError!==void 0&&(h=a.onRecoverableError),a.formState!==void 0&&(v=a.formState)),e=Mh(t,1,!0,e,a??null,n,l,v,s,c,h,Bh),e.context=Dh(null),a=e.current,n=Le(),n=Ku(n),l=qa(n),l.callback=null,Ya(a,l,n),a=n,e.current.lanes=a,pl(e,a),ca(e),t[_n]=e.current,Br(t),new zu(e)},ui.version="19.2.7",ui}var Wh;function Ug(){if(Wh)return uo.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(i){console.error(i)}}return u(),uo.exports=kg(),uo.exports}var jg=Ug();/**
 * 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 Fh="popstate";function Ih(u){return typeof u=="object"&&u!=null&&"pathname"in u&&"search"in u&&"hash"in u&&"state"in u&&"key"in u}function Lg(u={}){function i(r,f){var m;let d=(m=f.state)==null?void 0:m.masked,{pathname:g,search:b,hash:y}=d||r.location;return bo("",{pathname:g,search:b,hash:y},f.state&&f.state.usr||null,f.state&&f.state.key||"default",d?{pathname:r.location.pathname,search:r.location.search,hash:r.location.hash}:void 0)}function o(r,f){return typeof f=="string"?f:fi(f)}return Hg(i,o,null,u)}function Xt(u,i){if(u===!1||u===null||typeof u>"u")throw new Error(i)}function Pe(u,i){if(!u){typeof console<"u"&&console.warn(i);try{throw new Error(i)}catch{}}}function Bg(){return Math.random().toString(36).substring(2,10)}function tm(u,i){return{usr:u.state,key:u.key,idx:i,masked:u.mask?{pathname:u.pathname,search:u.search,hash:u.hash}:void 0}}function bo(u,i,o=null,r,f){return{pathname:typeof u=="string"?u:u.pathname,search:"",hash:"",...typeof i=="string"?ol(i):i,state:o,key:i&&i.key||r||Bg(),mask:f}}function fi({pathname:u="/",search:i="",hash:o=""}){return i&&i!=="?"&&(u+=i.charAt(0)==="?"?i:"?"+i),o&&o!=="#"&&(u+=o.charAt(0)==="#"?o:"#"+o),u}function ol(u){let i={};if(u){let o=u.indexOf("#");o>=0&&(i.hash=u.substring(o),u=u.substring(0,o));let r=u.indexOf("?");r>=0&&(i.search=u.substring(r),u=u.substring(0,r)),u&&(i.pathname=u)}return i}function Hg(u,i,o,r={}){let{window:f=document.defaultView,v5Compat:d=!1}=r,g=f.history,b="POP",y=null,m=M();m==null&&(m=0,g.replaceState({...g.state,idx:m},""));function M(){return(g.state||{idx:null}).idx}function A(){b="POP";let L=M(),O=L==null?null:L-m;m=L,y&&y({action:b,location:X.location,delta:O})}function k(L,O){b="PUSH";let N=Ih(L)?L:bo(X.location,L,O);m=M()+1;let p=tm(N,m),$=X.createHref(N.mask||N);try{g.pushState(p,"",$)}catch(G){if(G instanceof DOMException&&G.name==="DataCloneError")throw G;f.location.assign($)}d&&y&&y({action:b,location:X.location,delta:1})}function Q(L,O){b="REPLACE";let N=Ih(L)?L:bo(X.location,L,O);m=M();let p=tm(N,m),$=X.createHref(N.mask||N);g.replaceState(p,"",$),d&&y&&y({action:b,location:X.location,delta:0})}function Z(L){return qg(f,L)}let X={get action(){return b},get location(){return u(f,g)},listen(L){if(y)throw new Error("A history only accepts one active listener");return f.addEventListener(Fh,A),y=L,()=>{f.removeEventListener(Fh,A),y=null}},createHref(L){return i(f,L)},createURL:Z,encodeLocation(L){let O=Z(L);return{pathname:O.pathname,search:O.search,hash:O.hash}},push:k,replace:Q,go(L){return g.go(L)}};return X}function qg(u,i,o=!1){let r="http://localhost";u&&(r=u.location.origin!=="null"?u.location.origin:u.location.href),Xt(r,"No window.location.(origin|href) available to create URL");let f=typeof i=="string"?i:fi(i);return f=f.replace(/ $/,"%20"),!o&&f.startsWith("//")&&(f=r+f),new URL(f,r)}function Tm(u,i,o="/"){return Yg(u,i,o,!1)}function Yg(u,i,o,r,f){let d=typeof i=="string"?ol(i):i,g=Ca(d.pathname||"/",o);if(g==null)return null;let b=Vg(u),y=null,m=ty(g);for(let M=0;y==null&&M<b.length;++M)y=Fg(b[M],m,r);return y}function Vg(u){let i=Mm(u);return Gg(i),i}function Mm(u,i=[],o=[],r="",f=!1){let d=(g,b,y=f,m)=>{let M={relativePath:m===void 0?g.path||"":m,caseSensitive:g.caseSensitive===!0,childrenIndex:b,route:g};if(M.relativePath.startsWith("/")){if(!M.relativePath.startsWith(r)&&y)return;Xt(M.relativePath.startsWith(r),`Absolute route path "${M.relativePath}" nested under path "${r}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),M.relativePath=M.relativePath.slice(r.length)}let A=na([r,M.relativePath]),k=o.concat(M);g.children&&g.children.length>0&&(Xt(g.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${A}".`),Mm(g.children,i,k,A,y)),!(g.path==null&&!g.index)&&i.push({path:A,score:Pg(A,g.index),routesMeta:k})};return u.forEach((g,b)=>{var y;if(g.path===""||!((y=g.path)!=null&&y.includes("?")))d(g,b);else for(let m of Dm(g.path))d(g,b,!0,m)}),i}function Dm(u){let i=u.split("/");if(i.length===0)return[];let[o,...r]=i,f=o.endsWith("?"),d=o.replace(/\?$/,"");if(r.length===0)return f?[d,""]:[d];let g=Dm(r.join("/")),b=[];return b.push(...g.map(y=>y===""?d:[d,y].join("/"))),f&&b.push(...g),b.map(y=>u.startsWith("/")&&y===""?"/":y)}function Gg(u){u.sort((i,o)=>i.score!==o.score?o.score-i.score:Wg(i.routesMeta.map(r=>r.childrenIndex),o.routesMeta.map(r=>r.childrenIndex)))}var Xg=/^:[\w-]+$/,Qg=3,Zg=2,Kg=1,Jg=10,$g=-2,em=u=>u==="*";function Pg(u,i){let o=u.split("/"),r=o.length;return o.some(em)&&(r+=$g),i&&(r+=Zg),o.filter(f=>!em(f)).reduce((f,d)=>f+(Xg.test(d)?Qg:d===""?Kg:Jg),r)}function Wg(u,i){return u.length===i.length&&u.slice(0,-1).every((r,f)=>r===i[f])?u[u.length-1]-i[i.length-1]:0}function Fg(u,i,o=!1){let{routesMeta:r}=u,f={},d="/",g=[];for(let b=0;b<r.length;++b){let y=r[b],m=b===r.length-1,M=d==="/"?i:i.slice(d.length)||"/",A=Hu({path:y.relativePath,caseSensitive:y.caseSensitive,end:m},M),k=y.route;if(!A&&m&&o&&!r[r.length-1].route.index&&(A=Hu({path:y.relativePath,caseSensitive:y.caseSensitive,end:!1},M)),!A)return null;Object.assign(f,A.params),g.push({params:f,pathname:na([d,A.pathname]),pathnameBase:ly(na([d,A.pathnameBase])),route:k}),A.pathnameBase!=="/"&&(d=na([d,A.pathnameBase]))}return g}function Hu(u,i){typeof u=="string"&&(u={path:u,caseSensitive:!1,end:!0});let[o,r]=Ig(u.path,u.caseSensitive,u.end),f=i.match(o);if(!f)return null;let d=f[0],g=d.replace(/(.)\/+$/,"$1"),b=f.slice(1);return{params:r.reduce((m,{paramName:M,isOptional:A},k)=>{if(M==="*"){let Z=b[k]||"";g=d.slice(0,d.length-Z.length).replace(/(.)\/+$/,"$1")}const Q=b[k];return A&&!Q?m[M]=void 0:m[M]=(Q||"").replace(/%2F/g,"/"),m},{}),pathname:d,pathnameBase:g,pattern:u}}function Ig(u,i=!1,o=!0){Pe(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 r=[],f="^"+u.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(g,b,y,m,M)=>{if(r.push({paramName:b,isOptional:y!=null}),y){let A=M.charAt(m+g.length);return A&&A!=="/"?"/([^\\/]*)":"(?:/([^\\/]*))?"}return"/([^\\/]+)"}).replace(/\/([\w-]+)\?(\/|$)/g,"(/$1)?$2");return u.endsWith("*")?(r.push({paramName:"*"}),f+=u==="*"||u==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):o?f+="\\/*$":u!==""&&u!=="/"&&(f+="(?:(?=\\/|$))"),[new RegExp(f,i?void 0:"i"),r]}function ty(u){try{return u.split("/").map(i=>decodeURIComponent(i).replace(/\//g,"%2F")).join("/")}catch(i){return Pe(!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 (${i}).`),u}}function Ca(u,i){if(i==="/")return u;if(!u.toLowerCase().startsWith(i.toLowerCase()))return null;let o=i.endsWith("/")?i.length-1:i.length,r=u.charAt(o);return r&&r!=="/"?null:u.slice(o)||"/"}var ey=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i;function ay(u,i="/"){let{pathname:o,search:r="",hash:f=""}=typeof u=="string"?ol(u):u,d;return o?(o=Rm(o),o.startsWith("/")?d=am(o.substring(1),"/"):d=am(o,i)):d=i,{pathname:d,search:iy(r),hash:uy(f)}}function am(u,i){let o=qu(i).split("/");return u.split("/").forEach(f=>{f===".."?o.length>1&&o.pop():f!=="."&&o.push(f)}),o.length>1?o.join("/"):"/"}function co(u,i,o,r){return`Cannot include a '${u}' character in a manually specified \`to.${i}\` field [${JSON.stringify(r)}].  Please separate it out to the \`to.${o}\` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.`}function ny(u){return u.filter((i,o)=>o===0||i.route.path&&i.route.path.length>0)}function Do(u){let i=ny(u);return i.map((o,r)=>r===i.length-1?o.pathname:o.pathnameBase)}function Vu(u,i,o,r=!1){let f;typeof u=="string"?f=ol(u):(f={...u},Xt(!f.pathname||!f.pathname.includes("?"),co("?","pathname","search",f)),Xt(!f.pathname||!f.pathname.includes("#"),co("#","pathname","hash",f)),Xt(!f.search||!f.search.includes("#"),co("#","search","hash",f)));let d=u===""||f.pathname==="",g=d?"/":f.pathname,b;if(g==null)b=o;else{let A=i.length-1;if(!r&&g.startsWith("..")){let k=g.split("/");for(;k[0]==="..";)k.shift(),A-=1;f.pathname=k.join("/")}b=A>=0?i[A]:"/"}let y=ay(f,b),m=g&&g!=="/"&&g.endsWith("/"),M=(d||g===".")&&o.endsWith("/");return!y.pathname.endsWith("/")&&(m||M)&&(y.pathname+="/"),y}var Rm=u=>u.replace(/\/\/+/g,"/"),na=u=>Rm(u.join("/")),qu=u=>u.replace(/\/+$/,""),ly=u=>qu(u).replace(/^\/*/,"/"),iy=u=>!u||u==="?"?"":u.startsWith("?")?u:"?"+u,uy=u=>!u||u==="#"?"":u.startsWith("#")?u:"#"+u,sy=class{constructor(u,i,o,r=!1){this.status=u,this.statusText=i||"",this.internal=r,o instanceof Error?(this.data=o.toString(),this.error=o):this.data=o}};function ry(u){return u!=null&&typeof u.status=="number"&&typeof u.statusText=="string"&&typeof u.internal=="boolean"&&"data"in u}function oy(u){let i=u.map(o=>o.route.path).filter(Boolean);return na(i)||"/"}var Cm=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function zm(u,i){let o=u;if(typeof o!="string"||!ey.test(o))return{absoluteURL:void 0,isExternal:!1,to:o};let r=o,f=!1;if(Cm)try{let d=new URL(window.location.href),g=o.startsWith("//")?new URL(d.protocol+o):new URL(o),b=Ca(g.pathname,i);g.origin===d.origin&&b!=null?o=b+g.search+g.hash:f=!0}catch{Pe(!1,`<Link to="${o}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}return{absoluteURL:r,isExternal:f,to:o}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");var Om=["POST","PUT","PATCH","DELETE"];new Set(Om);var cy=["GET",...Om];new Set(cy);var cl=E.createContext(null);cl.displayName="DataRouter";var Gu=E.createContext(null);Gu.displayName="DataRouterState";var Nm=E.createContext(!1);function fy(){return E.useContext(Nm)}var km=E.createContext({isTransitioning:!1});km.displayName="ViewTransition";var dy=E.createContext(new Map);dy.displayName="Fetchers";var hy=E.createContext(null);hy.displayName="Await";var He=E.createContext(null);He.displayName="Navigation";var hi=E.createContext(null);hi.displayName="Location";var Fe=E.createContext({outlet:null,matches:[],isDataRoute:!1});Fe.displayName="Route";var Ro=E.createContext(null);Ro.displayName="RouteError";var Um="REACT_ROUTER_ERROR",my="REDIRECT",py="ROUTE_ERROR_RESPONSE";function gy(u){if(u.startsWith(`${Um}:${my}:{`))try{let i=JSON.parse(u.slice(28));if(typeof i=="object"&&i&&typeof i.status=="number"&&typeof i.statusText=="string"&&typeof i.location=="string"&&typeof i.reloadDocument=="boolean"&&typeof i.replace=="boolean")return i}catch{}}function yy(u){if(u.startsWith(`${Um}:${py}:{`))try{let i=JSON.parse(u.slice(40));if(typeof i=="object"&&i&&typeof i.status=="number"&&typeof i.statusText=="string")return new sy(i.status,i.statusText,i.data)}catch{}}function vy(u,{relative:i}={}){Xt(fl(),"useHref() may be used only in the context of a <Router> component.");let{basename:o,navigator:r}=E.useContext(He),{hash:f,pathname:d,search:g}=mi(u,{relative:i}),b=d;return o!=="/"&&(b=d==="/"?o:na([o,d])),r.createHref({pathname:b,search:g,hash:f})}function fl(){return E.useContext(hi)!=null}function la(){return Xt(fl(),"useLocation() may be used only in the context of a <Router> component."),E.useContext(hi).location}var jm="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function Lm(u){E.useContext(He).static||E.useLayoutEffect(u)}function dl(){let{isDataRoute:u}=E.useContext(Fe);return u?ky():by()}function by(){Xt(fl(),"useNavigate() may be used only in the context of a <Router> component.");let u=E.useContext(cl),{basename:i,navigator:o}=E.useContext(He),{matches:r}=E.useContext(Fe),{pathname:f}=la(),d=JSON.stringify(Do(r)),g=E.useRef(!1);return Lm(()=>{g.current=!0}),E.useCallback((y,m={})=>{if(Pe(g.current,jm),!g.current)return;if(typeof y=="number"){o.go(y);return}let M=Vu(y,JSON.parse(d),f,m.relative==="path");u==null&&i!=="/"&&(M.pathname=M.pathname==="/"?i:na([i,M.pathname])),(m.replace?o.replace:o.push)(M,m.state,m)},[i,o,d,f,u])}var Sy=E.createContext(null);function wy(u){let i=E.useContext(Fe).outlet;return E.useMemo(()=>i&&E.createElement(Sy.Provider,{value:u},i),[i,u])}function Ey(){let{matches:u}=E.useContext(Fe),i=u[u.length-1];return(i==null?void 0:i.params)??{}}function mi(u,{relative:i}={}){let{matches:o}=E.useContext(Fe),{pathname:r}=la(),f=JSON.stringify(Do(o));return E.useMemo(()=>Vu(u,JSON.parse(f),r,i==="path"),[u,f,r,i])}function xy(u,i){return Bm(u,i)}function Bm(u,i,o){var L;Xt(fl(),"useRoutes() may be used only in the context of a <Router> component.");let{navigator:r}=E.useContext(He),{matches:f}=E.useContext(Fe),d=f[f.length-1],g=d?d.params:{},b=d?d.pathname:"/",y=d?d.pathnameBase:"/",m=d&&d.route;{let O=m&&m.path||"";qm(b,!m||O.endsWith("*")||O.endsWith("*?"),`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${b}" (under <Route path="${O}">) 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="${O}"> to <Route path="${O==="/"?"*":`${O}/*`}">.`)}let M=la(),A;if(i){let O=typeof i=="string"?ol(i):i;Xt(y==="/"||((L=O.pathname)==null?void 0:L.startsWith(y)),`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 "${y}" but pathname "${O.pathname}" was given in the \`location\` prop.`),A=O}else A=M;let k=A.pathname||"/",Q=k;if(y!=="/"){let O=y.replace(/^\//,"").split("/");Q="/"+k.replace(/^\//,"").split("/").slice(O.length).join("/")}let Z=o&&o.state.matches.length?o.state.matches.map(O=>Object.assign(O,{route:o.manifest[O.route.id]||O.route})):Tm(u,{pathname:Q});Pe(m||Z!=null,`No routes matched location "${A.pathname}${A.search}${A.hash}" `),Pe(Z==null||Z[Z.length-1].route.element!==void 0||Z[Z.length-1].route.Component!==void 0||Z[Z.length-1].route.lazy!==void 0,`Matched leaf route at location "${A.pathname}${A.search}${A.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 X=Dy(Z&&Z.map(O=>Object.assign({},O,{params:Object.assign({},g,O.params),pathname:na([y,r.encodeLocation?r.encodeLocation(O.pathname.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:O.pathname]),pathnameBase:O.pathnameBase==="/"?y:na([y,r.encodeLocation?r.encodeLocation(O.pathnameBase.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:O.pathnameBase])})),f,o);return i&&X?E.createElement(hi.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",mask:void 0,...A},navigationType:"POP"}},X):X}function Ay(){let u=Ny(),i=ry(u)?`${u.status} ${u.statusText}`:u instanceof Error?u.message:JSON.stringify(u),o=u instanceof Error?u.stack:null,r="rgba(200,200,200, 0.5)",f={padding:"0.5rem",backgroundColor:r},d={padding:"2px 4px",backgroundColor:r},g=null;return console.error("Error handled by React Router default ErrorBoundary:",u),g=E.createElement(E.Fragment,null,E.createElement("p",null,"💿 Hey developer 👋"),E.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",E.createElement("code",{style:d},"ErrorBoundary")," or"," ",E.createElement("code",{style:d},"errorElement")," prop on your route.")),E.createElement(E.Fragment,null,E.createElement("h2",null,"Unexpected Application Error!"),E.createElement("h3",{style:{fontStyle:"italic"}},i),o?E.createElement("pre",{style:f},o):null,g)}var _y=E.createElement(Ay,null),Hm=class extends E.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,i){return i.location!==u.location||i.revalidation!=="idle"&&u.revalidation==="idle"?{error:u.error,location:u.location,revalidation:u.revalidation}:{error:u.error!==void 0?u.error:i.error,location:i.location,revalidation:u.revalidation||i.revalidation}}componentDidCatch(u,i){this.props.onError?this.props.onError(u,i):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 o=yy(u.digest);o&&(u=o)}let i=u!==void 0?E.createElement(Fe.Provider,{value:this.props.routeContext},E.createElement(Ro.Provider,{value:u,children:this.props.component})):this.props.children;return this.context?E.createElement(Ty,{error:u},i):i}};Hm.contextType=Nm;var fo=new WeakMap;function Ty({children:u,error:i}){let{basename:o}=E.useContext(He);if(typeof i=="object"&&i&&"digest"in i&&typeof i.digest=="string"){let r=gy(i.digest);if(r){let f=fo.get(i);if(f)throw f;let d=zm(r.location,o);if(Cm&&!fo.get(i))if(d.isExternal||r.reloadDocument)window.location.href=d.absoluteURL||d.to;else{const g=Promise.resolve().then(()=>window.__reactRouterDataRouter.navigate(d.to,{replace:r.replace}));throw fo.set(i,g),g}return E.createElement("meta",{httpEquiv:"refresh",content:`0;url=${d.absoluteURL||d.to}`})}}return u}function My({routeContext:u,match:i,children:o}){let r=E.useContext(cl);return r&&r.static&&r.staticContext&&(i.route.errorElement||i.route.ErrorBoundary)&&(r.staticContext._deepestRenderedBoundaryId=i.route.id),E.createElement(Fe.Provider,{value:u},o)}function Dy(u,i=[],o){let r=o==null?void 0:o.state;if(u==null){if(!r)return null;if(r.errors)u=r.matches;else if(i.length===0&&!r.initialized&&r.matches.length>0)u=r.matches;else return null}let f=u,d=r==null?void 0:r.errors;if(d!=null){let M=f.findIndex(A=>A.route.id&&(d==null?void 0:d[A.route.id])!==void 0);Xt(M>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(d).join(",")}`),f=f.slice(0,Math.min(f.length,M+1))}let g=!1,b=-1;if(o&&r){g=r.renderFallback;for(let M=0;M<f.length;M++){let A=f[M];if((A.route.HydrateFallback||A.route.hydrateFallbackElement)&&(b=M),A.route.id){let{loaderData:k,errors:Q}=r,Z=A.route.loader&&!k.hasOwnProperty(A.route.id)&&(!Q||Q[A.route.id]===void 0);if(A.route.lazy||Z){o.isStatic&&(g=!0),b>=0?f=f.slice(0,b+1):f=[f[0]];break}}}}let y=o==null?void 0:o.onError,m=r&&y?(M,A)=>{var k,Q;y(M,{location:r.location,params:((Q=(k=r.matches)==null?void 0:k[0])==null?void 0:Q.params)??{},pattern:oy(r.matches),errorInfo:A})}:void 0;return f.reduceRight((M,A,k)=>{let Q,Z=!1,X=null,L=null;r&&(Q=d&&A.route.id?d[A.route.id]:void 0,X=A.route.errorElement||_y,g&&(b<0&&k===0?(qm("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),Z=!0,L=null):b===k&&(Z=!0,L=A.route.hydrateFallbackElement||null)));let O=i.concat(f.slice(0,k+1)),N=()=>{let p;return Q?p=X:Z?p=L:A.route.Component?p=E.createElement(A.route.Component,null):A.route.element?p=A.route.element:p=M,E.createElement(My,{match:A,routeContext:{outlet:M,matches:O,isDataRoute:r!=null},children:p})};return r&&(A.route.ErrorBoundary||A.route.errorElement||k===0)?E.createElement(Hm,{location:r.location,revalidation:r.revalidation,component:X,error:Q,children:N(),routeContext:{outlet:null,matches:O,isDataRoute:!0},onError:m}):N()},null)}function Co(u){return`${u} must be used within a data router.  See https://reactrouter.com/en/main/routers/picking-a-router.`}function Ry(u){let i=E.useContext(cl);return Xt(i,Co(u)),i}function Cy(u){let i=E.useContext(Gu);return Xt(i,Co(u)),i}function zy(u){let i=E.useContext(Fe);return Xt(i,Co(u)),i}function zo(u){let i=zy(u),o=i.matches[i.matches.length-1];return Xt(o.route.id,`${u} can only be used on routes that contain a unique "id"`),o.route.id}function Oy(){return zo("useRouteId")}function Ny(){var r;let u=E.useContext(Ro),i=Cy("useRouteError"),o=zo("useRouteError");return u!==void 0?u:(r=i.errors)==null?void 0:r[o]}function ky(){let{router:u}=Ry("useNavigate"),i=zo("useNavigate"),o=E.useRef(!1);return Lm(()=>{o.current=!0}),E.useCallback(async(f,d={})=>{Pe(o.current,jm),o.current&&(typeof f=="number"?await u.navigate(f):await u.navigate(f,{fromRouteId:i,...d}))},[u,i])}var nm={};function qm(u,i,o){!i&&!nm[u]&&(nm[u]=!0,Pe(!1,o))}E.memo(Uy);function Uy({routes:u,manifest:i,future:o,state:r,isStatic:f,onError:d}){return Bm(u,void 0,{manifest:i,state:r,isStatic:f,onError:d})}function xn({to:u,replace:i,state:o,relative:r}){Xt(fl(),"<Navigate> may be used only in the context of a <Router> component.");let{static:f}=E.useContext(He);Pe(!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:d}=E.useContext(Fe),{pathname:g}=la(),b=dl(),y=Vu(u,Do(d),g,r==="path"),m=JSON.stringify(y);return E.useEffect(()=>{b(JSON.parse(m),{replace:i,state:o,relative:r})},[b,m,r,i,o]),null}function jy(u){return wy(u.context)}function Tt(u){Xt(!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 Ly({basename:u="/",children:i=null,location:o,navigationType:r="POP",navigator:f,static:d=!1,useTransitions:g}){Xt(!fl(),"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let b=u.replace(/^\/*/,"/"),y=E.useMemo(()=>({basename:b,navigator:f,static:d,useTransitions:g,future:{}}),[b,f,d,g]);typeof o=="string"&&(o=ol(o));let{pathname:m="/",search:M="",hash:A="",state:k=null,key:Q="default",mask:Z}=o,X=E.useMemo(()=>{let L=Ca(m,b);return L==null?null:{location:{pathname:L,search:M,hash:A,state:k,key:Q,mask:Z},navigationType:r}},[b,m,M,A,k,Q,r,Z]);return Pe(X!=null,`<Router basename="${b}"> is not able to match the URL "${m}${M}${A}" because it does not start with the basename, so the <Router> won't render anything.`),X==null?null:E.createElement(He.Provider,{value:y},E.createElement(hi.Provider,{children:i,value:X}))}function By({children:u,location:i}){return xy(So(u),i)}function So(u,i=[]){let o=[];return E.Children.forEach(u,(r,f)=>{if(!E.isValidElement(r))return;let d=[...i,f];if(r.type===E.Fragment){o.push.apply(o,So(r.props.children,d));return}Xt(r.type===Tt,`[${typeof r.type=="string"?r.type:r.type.name}] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>`),Xt(!r.props.index||!r.props.children,"An index route cannot have child routes.");let g={id:r.props.id||d.join("-"),caseSensitive:r.props.caseSensitive,element:r.props.element,Component:r.props.Component,index:r.props.index,path:r.props.path,middleware:r.props.middleware,loader:r.props.loader,action:r.props.action,hydrateFallbackElement:r.props.hydrateFallbackElement,HydrateFallback:r.props.HydrateFallback,errorElement:r.props.errorElement,ErrorBoundary:r.props.ErrorBoundary,hasErrorBoundary:r.props.hasErrorBoundary===!0||r.props.ErrorBoundary!=null||r.props.errorElement!=null,shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle,lazy:r.props.lazy};r.props.children&&(g.children=So(r.props.children,d)),o.push(g)}),o}var ju="get",Lu="application/x-www-form-urlencoded";function Xu(u){return typeof HTMLElement<"u"&&u instanceof HTMLElement}function Hy(u){return Xu(u)&&u.tagName.toLowerCase()==="button"}function qy(u){return Xu(u)&&u.tagName.toLowerCase()==="form"}function Yy(u){return Xu(u)&&u.tagName.toLowerCase()==="input"}function Vy(u){return!!(u.metaKey||u.altKey||u.ctrlKey||u.shiftKey)}function Gy(u,i){return u.button===0&&(!i||i==="_self")&&!Vy(u)}function wo(u=""){return new URLSearchParams(typeof u=="string"||Array.isArray(u)||u instanceof URLSearchParams?u:Object.keys(u).reduce((i,o)=>{let r=u[o];return i.concat(Array.isArray(r)?r.map(f=>[o,f]):[[o,r]])},[]))}function Xy(u,i){let o=wo(u);return i&&i.forEach((r,f)=>{o.has(f)||i.getAll(f).forEach(d=>{o.append(f,d)})}),o}var Nu=null;function Qy(){if(Nu===null)try{new FormData(document.createElement("form"),0),Nu=!1}catch{Nu=!0}return Nu}var Zy=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function ho(u){return u!=null&&!Zy.has(u)?(Pe(!1,`"${u}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${Lu}"`),null):u}function Ky(u,i){let o,r,f,d,g;if(qy(u)){let b=u.getAttribute("action");r=b?Ca(b,i):null,o=u.getAttribute("method")||ju,f=ho(u.getAttribute("enctype"))||Lu,d=new FormData(u)}else if(Hy(u)||Yy(u)&&(u.type==="submit"||u.type==="image")){let b=u.form;if(b==null)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let y=u.getAttribute("formaction")||b.getAttribute("action");if(r=y?Ca(y,i):null,o=u.getAttribute("formmethod")||b.getAttribute("method")||ju,f=ho(u.getAttribute("formenctype"))||ho(b.getAttribute("enctype"))||Lu,d=new FormData(b,u),!Qy()){let{name:m,type:M,value:A}=u;if(M==="image"){let k=m?`${m}.`:"";d.append(`${k}x`,"0"),d.append(`${k}y`,"0")}else m&&d.append(m,A)}}else{if(Xu(u))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');o=ju,r=null,f=Lu,g=u}return d&&f==="text/plain"&&(g=d,d=void 0),{action:r,method:o.toLowerCase(),encType:f,formData:d,body:g}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");function Oo(u,i){if(u===!1||u===null||typeof u>"u")throw new Error(i)}function Ym(u,i,o,r){let f=typeof u=="string"?new URL(u,typeof window>"u"?"server://singlefetch/":window.location.origin):u;return o?f.pathname.endsWith("/")?f.pathname=`${f.pathname}_.${r}`:f.pathname=`${f.pathname}.${r}`:f.pathname==="/"?f.pathname=`_root.${r}`:i&&Ca(f.pathname,i)==="/"?f.pathname=`${qu(i)}/_root.${r}`:f.pathname=`${qu(f.pathname)}.${r}`,f}async function Jy(u,i){if(u.id in i)return i[u.id];try{let o=await import(u.module);return i[u.id]=o,o}catch(o){return console.error(`Error loading route module \`${u.module}\`, reloading page...`),console.error(o),window.__reactRouterContext&&window.__reactRouterContext.isSpaMode,window.location.reload(),new Promise(()=>{})}}function $y(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 Py(u,i,o){let r=await Promise.all(u.map(async f=>{let d=i.routes[f.route.id];if(d){let g=await Jy(d,o);return g.links?g.links():[]}return[]}));return tv(r.flat(1).filter($y).filter(f=>f.rel==="stylesheet"||f.rel==="preload").map(f=>f.rel==="stylesheet"?{...f,rel:"prefetch",as:"style"}:{...f,rel:"prefetch"}))}function lm(u,i,o,r,f,d){let g=(y,m)=>o[m]?y.route.id!==o[m].route.id:!0,b=(y,m)=>{var M;return o[m].pathname!==y.pathname||((M=o[m].route.path)==null?void 0:M.endsWith("*"))&&o[m].params["*"]!==y.params["*"]};return d==="assets"?i.filter((y,m)=>g(y,m)||b(y,m)):d==="data"?i.filter((y,m)=>{var A;let M=r.routes[y.route.id];if(!M||!M.hasLoader)return!1;if(g(y,m)||b(y,m))return!0;if(y.route.shouldRevalidate){let k=y.route.shouldRevalidate({currentUrl:new URL(f.pathname+f.search+f.hash,window.origin),currentParams:((A=o[0])==null?void 0:A.params)||{},nextUrl:new URL(u,window.origin),nextParams:y.params,defaultShouldRevalidate:!0});if(typeof k=="boolean")return k}return!0}):[]}function Wy(u,i,{includeHydrateFallback:o}={}){return Fy(u.map(r=>{let f=i.routes[r.route.id];if(!f)return[];let d=[f.module];return f.clientActionModule&&(d=d.concat(f.clientActionModule)),f.clientLoaderModule&&(d=d.concat(f.clientLoaderModule)),o&&f.hydrateFallbackModule&&(d=d.concat(f.hydrateFallbackModule)),f.imports&&(d=d.concat(f.imports)),d}).flat(1))}function Fy(u){return[...new Set(u)]}function Iy(u){let i={},o=Object.keys(u).sort();for(let r of o)i[r]=u[r];return i}function tv(u,i){let o=new Set;return new Set(i),u.reduce((r,f)=>{let d=JSON.stringify(Iy(f));return o.has(d)||(o.add(d),r.push({key:d,link:f})),r},[])}function No(){let u=E.useContext(cl);return Oo(u,"You must render this element inside a <DataRouterContext.Provider> element"),u}function ev(){let u=E.useContext(Gu);return Oo(u,"You must render this element inside a <DataRouterStateContext.Provider> element"),u}var ko=E.createContext(void 0);ko.displayName="FrameworkContext";function Uo(){let u=E.useContext(ko);return Oo(u,"You must render this element inside a <HydratedRouter> element"),u}function av(u,i){let o=E.useContext(ko),[r,f]=E.useState(!1),[d,g]=E.useState(!1),{onFocus:b,onBlur:y,onMouseEnter:m,onMouseLeave:M,onTouchStart:A}=i,k=E.useRef(null);E.useEffect(()=>{if(u==="render"&&g(!0),u==="viewport"){let X=O=>{O.forEach(N=>{g(N.isIntersecting)})},L=new IntersectionObserver(X,{threshold:.5});return k.current&&L.observe(k.current),()=>{L.disconnect()}}},[u]),E.useEffect(()=>{if(r){let X=setTimeout(()=>{g(!0)},100);return()=>{clearTimeout(X)}}},[r]);let Q=()=>{f(!0)},Z=()=>{f(!1),g(!1)};return o?u!=="intent"?[d,k,{}]:[d,k,{onFocus:si(b,Q),onBlur:si(y,Z),onMouseEnter:si(m,Q),onMouseLeave:si(M,Z),onTouchStart:si(A,Q)}]:[!1,k,{}]}function si(u,i){return o=>{u&&u(o),o.defaultPrevented||i(o)}}function nv({page:u,...i}){let o=fy(),{router:r}=No(),f=E.useMemo(()=>Tm(r.routes,u,r.basename),[r.routes,u,r.basename]);return f?o?E.createElement(iv,{page:u,matches:f,...i}):E.createElement(uv,{page:u,matches:f,...i}):null}function lv(u){let{manifest:i,routeModules:o}=Uo(),[r,f]=E.useState([]);return E.useEffect(()=>{let d=!1;return Py(u,i,o).then(g=>{d||f(g)}),()=>{d=!0}},[u,i,o]),r}function iv({page:u,matches:i,...o}){let r=la(),{future:f}=Uo(),{basename:d}=No(),g=E.useMemo(()=>{if(u===r.pathname+r.search+r.hash)return[];let b=Ym(u,d,f.v8_trailingSlashAwareDataRequests,"rsc"),y=!1,m=[];for(let M of i)typeof M.route.shouldRevalidate=="function"?y=!0:m.push(M.route.id);return y&&m.length>0&&b.searchParams.set("_routes",m.join(",")),[b.pathname+b.search]},[d,f.v8_trailingSlashAwareDataRequests,u,r,i]);return E.createElement(E.Fragment,null,g.map(b=>E.createElement("link",{key:b,rel:"prefetch",as:"fetch",href:b,...o})))}function uv({page:u,matches:i,...o}){let r=la(),{future:f,manifest:d,routeModules:g}=Uo(),{basename:b}=No(),{loaderData:y,matches:m}=ev(),M=E.useMemo(()=>lm(u,i,m,d,r,"data"),[u,i,m,d,r]),A=E.useMemo(()=>lm(u,i,m,d,r,"assets"),[u,i,m,d,r]),k=E.useMemo(()=>{if(u===r.pathname+r.search+r.hash)return[];let X=new Set,L=!1;if(i.forEach(N=>{var $;let p=d.routes[N.route.id];!p||!p.hasLoader||(!M.some(G=>G.route.id===N.route.id)&&N.route.id in y&&(($=g[N.route.id])!=null&&$.shouldRevalidate)||p.hasClientLoader?L=!0:X.add(N.route.id))}),X.size===0)return[];let O=Ym(u,b,f.v8_trailingSlashAwareDataRequests,"data");return L&&X.size>0&&O.searchParams.set("_routes",i.filter(N=>X.has(N.route.id)).map(N=>N.route.id).join(",")),[O.pathname+O.search]},[b,f.v8_trailingSlashAwareDataRequests,y,r,d,M,i,u,g]),Q=E.useMemo(()=>Wy(A,d),[A,d]),Z=lv(A);return E.createElement(E.Fragment,null,k.map(X=>E.createElement("link",{key:X,rel:"prefetch",as:"fetch",href:X,...o})),Q.map(X=>E.createElement("link",{key:X,rel:"modulepreload",href:X,...o})),Z.map(({key:X,link:L})=>E.createElement("link",{key:X,nonce:o.nonce,...L,crossOrigin:L.crossOrigin??o.crossOrigin})))}function sv(...u){return i=>{u.forEach(o=>{typeof o=="function"?o(i):o!=null&&(o.current=i)})}}var rv=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";try{rv&&(window.__reactRouterVersion="7.17.0")}catch{}function ov({basename:u,children:i,useTransitions:o,window:r}){let f=E.useRef();f.current==null&&(f.current=Lg({window:r,v5Compat:!0}));let d=f.current,[g,b]=E.useState({action:d.action,location:d.location}),y=E.useCallback(m=>{o===!1?b(m):E.startTransition(()=>b(m))},[o]);return E.useLayoutEffect(()=>d.listen(y),[d,y]),E.createElement(Ly,{basename:u,children:i,location:g.location,navigationType:g.action,navigator:d,useTransitions:o})}var Vm=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,jo=E.forwardRef(function({onClick:i,discover:o="render",prefetch:r="none",relative:f,reloadDocument:d,replace:g,mask:b,state:y,target:m,to:M,preventScrollReset:A,viewTransition:k,defaultShouldRevalidate:Q,...Z},X){let{basename:L,navigator:O,useTransitions:N}=E.useContext(He),p=typeof M=="string"&&Vm.test(M),$=zm(M,L);M=$.to;let G=vy(M,{relative:f}),tt=la(),K=null;if(b){let Ht=Vu(b,[],tt.mask?tt.mask.pathname:"/",!0);L!=="/"&&(Ht.pathname=Ht.pathname==="/"?L:na([L,Ht.pathname])),K=O.createHref(Ht)}let[Et,Qt,re]=av(r,Z),le=hv(M,{replace:g,mask:b,state:y,target:m,preventScrollReset:A,relative:f,viewTransition:k,defaultShouldRevalidate:Q,useTransitions:N});function kt(Ht){i&&i(Ht),Ht.defaultPrevented||le(Ht)}let ve=!($.isExternal||d),pe=E.createElement("a",{...Z,...re,href:(ve?K:void 0)||$.absoluteURL||G,onClick:ve?kt:i,ref:sv(X,Qt),target:m,"data-discover":!p&&o==="render"?"true":void 0});return Et&&!p?E.createElement(E.Fragment,null,pe,E.createElement(nv,{page:G})):pe});jo.displayName="Link";var cv=E.forwardRef(function({"aria-current":i="page",caseSensitive:o=!1,className:r="",end:f=!1,style:d,to:g,viewTransition:b,children:y,...m},M){let A=mi(g,{relative:m.relative}),k=la(),Q=E.useContext(Gu),{navigator:Z,basename:X}=E.useContext(He),L=Q!=null&&vv(A)&&b===!0,O=Z.encodeLocation?Z.encodeLocation(A).pathname:A.pathname,N=k.pathname,p=Q&&Q.navigation&&Q.navigation.location?Q.navigation.location.pathname:null;o||(N=N.toLowerCase(),p=p?p.toLowerCase():null,O=O.toLowerCase()),p&&X&&(p=Ca(p,X)||p);const $=O!=="/"&&O.endsWith("/")?O.length-1:O.length;let G=N===O||!f&&N.startsWith(O)&&N.charAt($)==="/",tt=p!=null&&(p===O||!f&&p.startsWith(O)&&p.charAt(O.length)==="/"),K={isActive:G,isPending:tt,isTransitioning:L},Et=G?i:void 0,Qt;typeof r=="function"?Qt=r(K):Qt=[r,G?"active":null,tt?"pending":null,L?"transitioning":null].filter(Boolean).join(" ");let re=typeof d=="function"?d(K):d;return E.createElement(jo,{...m,"aria-current":Et,className:Qt,ref:M,style:re,to:g,viewTransition:b},typeof y=="function"?y(K):y)});cv.displayName="NavLink";var fv=E.forwardRef(({discover:u="render",fetcherKey:i,navigate:o,reloadDocument:r,replace:f,state:d,method:g=ju,action:b,onSubmit:y,relative:m,preventScrollReset:M,viewTransition:A,defaultShouldRevalidate:k,...Q},Z)=>{let{useTransitions:X}=E.useContext(He),L=gv(),O=yv(b,{relative:m}),N=g.toLowerCase()==="get"?"get":"post",p=typeof b=="string"&&Vm.test(b),$=G=>{if(y&&y(G),G.defaultPrevented)return;G.preventDefault();let tt=G.nativeEvent.submitter,K=(tt==null?void 0:tt.getAttribute("formmethod"))||g,Et=()=>L(tt||G.currentTarget,{fetcherKey:i,method:K,navigate:o,replace:f,state:d,relative:m,preventScrollReset:M,viewTransition:A,defaultShouldRevalidate:k});X&&o!==!1?E.startTransition(()=>Et()):Et()};return E.createElement("form",{ref:Z,method:N,action:O,onSubmit:r?y:$,...Q,"data-discover":!p&&u==="render"?"true":void 0})});fv.displayName="Form";function dv(u){return`${u} must be used within a data router.  See https://reactrouter.com/en/main/routers/picking-a-router.`}function Gm(u){let i=E.useContext(cl);return Xt(i,dv(u)),i}function hv(u,{target:i,replace:o,mask:r,state:f,preventScrollReset:d,relative:g,viewTransition:b,defaultShouldRevalidate:y,useTransitions:m}={}){let M=dl(),A=la(),k=mi(u,{relative:g});return E.useCallback(Q=>{if(Gy(Q,i)){Q.preventDefault();let Z=o!==void 0?o:fi(A)===fi(k),X=()=>M(u,{replace:Z,mask:r,state:f,preventScrollReset:d,relative:g,viewTransition:b,defaultShouldRevalidate:y});m?E.startTransition(()=>X()):X()}},[A,M,k,o,r,f,i,u,d,g,b,y,m])}function wS(u){Pe(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 i=E.useRef(wo(u)),o=E.useRef(!1),r=la(),f=E.useMemo(()=>Xy(r.search,o.current?null:i.current),[r.search]),d=dl(),g=E.useCallback((b,y)=>{const m=wo(typeof b=="function"?b(new URLSearchParams(f)):b);o.current=!0,d("?"+m,y)},[d,f]);return[f,g]}var mv=0,pv=()=>`__${String(++mv)}__`;function gv(){let{router:u}=Gm("useSubmit"),{basename:i}=E.useContext(He),o=Oy(),r=u.fetch,f=u.navigate;return E.useCallback(async(d,g={})=>{let{action:b,method:y,encType:m,formData:M,body:A}=Ky(d,i);if(g.navigate===!1){let k=g.fetcherKey||pv();await r(k,o,g.action||b,{defaultShouldRevalidate:g.defaultShouldRevalidate,preventScrollReset:g.preventScrollReset,formData:M,body:A,formMethod:g.method||y,formEncType:g.encType||m,flushSync:g.flushSync})}else await f(g.action||b,{defaultShouldRevalidate:g.defaultShouldRevalidate,preventScrollReset:g.preventScrollReset,formData:M,body:A,formMethod:g.method||y,formEncType:g.encType||m,replace:g.replace,state:g.state,fromRouteId:o,flushSync:g.flushSync,viewTransition:g.viewTransition})},[r,f,i,o])}function yv(u,{relative:i}={}){let{basename:o}=E.useContext(He),r=E.useContext(Fe);Xt(r,"useFormAction must be used inside a RouteContext");let[f]=r.matches.slice(-1),d={...mi(u||".",{relative:i})},g=la();if(u==null){d.search=g.search;let b=new URLSearchParams(d.search),y=b.getAll("index");if(y.some(M=>M==="")){b.delete("index"),y.filter(A=>A).forEach(A=>b.append("index",A));let M=b.toString();d.search=M?`?${M}`:""}}return(!u||u===".")&&f.route.index&&(d.search=d.search?d.search.replace(/^\?/,"?index&"):"?index"),o!=="/"&&(d.pathname=d.pathname==="/"?o:na([o,d.pathname])),fi(d)}function vv(u,{relative:i}={}){let o=E.useContext(km);Xt(o!=null,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`.  Did you accidentally import `RouterProvider` from `react-router`?");let{basename:r}=Gm("useViewTransitionState"),f=mi(u,{relative:i});if(!o.isTransitioning)return!1;let d=Ca(o.currentLocation.pathname,r)||o.currentLocation.pathname,g=Ca(o.nextLocation.pathname,r)||o.nextLocation.pathname;return Hu(f.pathname,g)!=null||Hu(f.pathname,d)!=null}const bv={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:()=>{}}},Sv=new Set(["auth","storage","leads","log","flags","db"]);function wv(){return new Proxy({},{get:(u,i)=>Sv.has(i)?new Proxy({},{get:(o,r)=>{var f;return((f=bv[i])==null?void 0:f[r])??(()=>Promise.resolve(null))}}):()=>{}})}const pt=typeof window<"u"&&window.Bodify?window.Bodify:wv(),ES=Object.freeze(Object.defineProperty({__proto__:null,Bodify:pt},Symbol.toStringTag,{value:"Module"}));function Ev(u){const i=u.split("/"),o=[];for(let r=i.length-1;r>0;r--)o.push(i.slice(0,r).join("/"));return o}class xv{constructor(){this.maxAge=10080*60*1e3,this.maxMemoryEntries=500,this.dbName="boddb-cache",this.enabled=!0}}class Av{constructor(i,o){this.memory=new Map,this.subscribedPaths=new Set,this.idb=null,this._vfs=null,this._vfsUnsub=null,this.options={...new xv,...o},this.client=i}async init(){this.options.enabled&&(this.idb=await this.openIDB(),await this.sweepExpired())}openIDB(){return new Promise(i=>{try{if(typeof indexedDB>"u"){i(null);return}const o=indexedDB.open(this.options.dbName,1);o.onupgradeneeded=()=>{const r=o.result;r&&!r.objectStoreNames.contains("entries")&&r.createObjectStore("entries",{keyPath:"path"})},o.onsuccess=()=>i(o.result??null),o.onerror=()=>i(null),o.onblocked=()=>i(null)}catch{i(null)}})}async sweepExpired(){if(!this.idb)return;const i=Date.now()-this.options.maxAge,f=this.idb.transaction("entries","readwrite").objectStore("entries").openCursor();return new Promise(d=>{f.onsuccess=()=>{const g=f.result;if(!g){d();return}g.value.cachedAt<i&&g.delete(),g.continue()},f.onerror=()=>d()})}async get(i){if(!this.options.enabled)return this.client.get(i);const o=this.memory.get(i);if(o&&this.subscribedPaths.has(i))return o.data;if(o)return this.revalidate(i),o.data;const r=await this.idbGet(i);if(r&&Date.now()-r.cachedAt<this.options.maxAge)return this.memSet(i,r),this.revalidate(i),r.data;const f=await this.client.getSnapshot(i),d={path:i,data:f.val(),updatedAt:f.updatedAt??Date.now(),cachedAt:Date.now()};return this.memSet(i,d),this.idbSet(d),d.data}revalidate(i){this.client.getSnapshot(i).then(o=>{const r={path:i,data:o.val(),updatedAt:o.updatedAt??Date.now(),cachedAt:Date.now()};this.memSet(i,r),this.idbSet(r)}).catch(()=>{})}on(i,o){this.subscribedPaths.add(i);const r=this.client.on(i,f=>{const d={path:i,data:f.val(),updatedAt:f.updatedAt??Date.now(),cachedAt:Date.now()};this.memSet(i,d),this.idbSet(d),o(f)});return()=>{r(),this.subscribedPaths.delete(i)}}onChild(i,o,r){this.subscribedPaths.add(i);const f=this.client.onChild(i,d=>{const g=this.memory.get(i);if(g&&g.data&&typeof g.data=="object"&&!Array.isArray(g.data)){const b={...g.data};d.type==="removed"?delete b[d.key]:b[d.key]=d.val();const y={path:i,data:b,updatedAt:Date.now(),cachedAt:Date.now()};this.memSet(i,y),this.idbSet(y)}o(d)},r);return()=>{f(),this.subscribedPaths.delete(i)}}connect(){return this.client.connect()}disconnect(){var i,o;(o=(i=this.client).disconnect)==null||o.call(i)}get serverInfo(){return this.client.serverInfo}onWelcome(i){return this.client.onWelcome(i)}async push(i,o,r){return await this.client.push(i,o,r)}query(i){return this.client.query(i)}async set(i,o,r){await this.client.set(i,o,r),this.invalidatePath(i)}async update(i,o,r){await this.client.update(i,o,r),this.invalidatePath(i)}async updateMulti(i){await this.client.updateMulti(i);for(const o of Object.keys(i))this.invalidatePath(o)}async delete(i){await this.client.delete(i),this.invalidatePath(i)}invalidatePath(i){this.invalidate(i);for(const o of Ev(i))this.invalidate(o)}invalidate(i){this.memory.delete(i),this.idbDelete(i)}async warmup(i){if(!this.idb)return;const o=Date.now()-this.options.maxAge,f=this.idb.transaction("entries","readonly").objectStore("entries"),d=i.map(g=>new Promise(b=>{const y=f.get(g);y.onsuccess=()=>{const m=y.result;m&&m.cachedAt>=o&&this.memSet(g,m),b()},y.onerror=()=>b()}));await Promise.all(d)}vfs(){return this._vfs||(this._vfs=new _v(this.client.vfs(),this.options.maxAge,this.idb),this._vfsUnsub=this.client.onChild("_vfs",()=>{var i;(i=this._vfs)==null||i.clear()})),this._vfs}close(){var i,o;this._vfsUnsub&&(this._vfsUnsub(),this._vfsUnsub=null),(i=this._vfs)==null||i.clear(),this._vfs=null,this.memory.clear(),this.subscribedPaths.clear(),(o=this.idb)==null||o.close(),this.idb=null}memSet(i,o){for(this.memory.delete(i),this.memory.set(i,o);this.memory.size>this.options.maxMemoryEntries;){const r=this.memory.keys().next().value;if(r!==void 0)this.memory.delete(r);else break}}idbGet(i){if(!this.idb)return Promise.resolve(null);const r=this.idb.transaction("entries","readonly").objectStore("entries").get(i);return new Promise(f=>{r.onsuccess=()=>f(r.result??null),r.onerror=()=>f(null)})}idbSet(i){if(this.idb)try{this.idb.transaction("entries","readwrite").objectStore("entries").put(i)}catch{}}idbDelete(i){if(this.idb)try{this.idb.transaction("entries","readwrite").objectStore("entries").delete(i)}catch{}}}class _v{constructor(i,o,r=null){this.raw=i,this.maxAge=o,this.idb=r,this.listCache=new Map,this.statCache=new Map,this._stats={hits:0,misses:0,invalidations:0,pushClears:0}}async stat(i){const o=this.statCache.get(i);if(o&&Date.now()-o.cachedAt<this.maxAge)return this._stats.hits++,this.raw.stat(i).then(d=>{this.statCache.set(i,{data:d,cachedAt:Date.now()}),this.idbSetVfs(`vfs:stat:${i}`,{data:d,cachedAt:Date.now()})}).catch(()=>{}),o.data;const r=await this.idbGetVfs(`vfs:stat:${i}`);if(r&&Date.now()-r.cachedAt<this.maxAge)return this._stats.hits++,this.statCache.set(i,r),this.raw.stat(i).then(d=>{this.statCache.set(i,{data:d,cachedAt:Date.now()}),this.idbSetVfs(`vfs:stat:${i}`,{data:d,cachedAt:Date.now()})}).catch(()=>{}),r.data;this._stats.misses++;const f=await this.raw.stat(i);return this.statCache.set(i,{data:f,cachedAt:Date.now()}),this.idbSetVfs(`vfs:stat:${i}`,{data:f,cachedAt:Date.now()}),f}async list(i){const o=this.listCache.get(i);if(o&&Date.now()-o.cachedAt<this.maxAge)return this._stats.hits++,this.raw.list(i).then(d=>{this.listCache.set(i,{data:d,cachedAt:Date.now()}),this.idbSetVfs(`vfs:list:${i}`,{data:d,cachedAt:Date.now()})}).catch(()=>{}),o.data;const r=await this.idbGetVfs(`vfs:list:${i}`);if(r&&Date.now()-r.cachedAt<this.maxAge)return this._stats.hits++,this.listCache.set(i,r),this.raw.list(i).then(d=>{this.listCache.set(i,{data:d,cachedAt:Date.now()}),this.idbSetVfs(`vfs:list:${i}`,{data:d,cachedAt:Date.now()})}).catch(()=>{}),r.data;this._stats.misses++;const f=await this.raw.list(i);return this.listCache.set(i,{data:f,cachedAt:Date.now()}),this.idbSetVfs(`vfs:list:${i}`,{data:f,cachedAt:Date.now()}),f}async tree(i,o){return this.raw.tree(i,o)}async upload(i,o,r){const f=await this.raw.upload(i,o,r);return this.invalidatePath(i),f}async delete(i){await this.raw.delete(i),this.invalidatePath(i)}async mkdir(i){const o=await this.raw.mkdir(i);return this.invalidatePath(i),this.listCache.delete(i),this.idbDeleteVfs(`vfs:list:${i}`),o}async move(i,o){const r=await this.raw.move(i,o);return this.invalidatePath(i),this.invalidatePath(o),r}async download(i){return this.raw.download(i)}invalidatePath(i){this._stats.invalidations++,this.statCache.delete(i),this.idbDeleteVfs(`vfs:stat:${i}`);const o=i.includes("/")?i.slice(0,i.lastIndexOf("/")):"";this.listCache.delete(o),this.idbDeleteVfs(`vfs:list:${o}`)}clear(){this._stats.pushClears++,this.listCache.clear(),this.statCache.clear(),this.idbClearVfs()}get stats(){const i=this._stats.hits+this._stats.misses;return{...this._stats,total:i,hitRate:i?Math.round(this._stats.hits/i*100)+"%":"n/a",listCacheSize:this.listCache.size,statCacheSize:this.statCache.size}}idbGetVfs(i){if(!this.idb)return Promise.resolve(null);try{const r=this.idb.transaction("entries","readonly").objectStore("entries").get(i);return new Promise(f=>{r.onsuccess=()=>{const d=r.result;f(d?{data:d.data,cachedAt:d.cachedAt}:null)},r.onerror=()=>f(null)})}catch{return Promise.resolve(null)}}idbSetVfs(i,o){if(this.idb)try{this.idb.transaction("entries","readwrite").objectStore("entries").put({path:i,data:o.data,cachedAt:o.cachedAt,updatedAt:Date.now()})}catch{}}idbDeleteVfs(i){if(this.idb)try{this.idb.transaction("entries","readwrite").objectStore("entries").delete(i)}catch{}}idbClearVfs(){if(this.idb)try{const r=this.idb.transaction("entries","readwrite").objectStore("entries").openCursor();r.onsuccess=()=>{const f=r.result;f&&(typeof f.key=="string"&&f.key.startsWith("vfs:")&&f.delete(),f.continue())}}catch{}}}const Tv="DEBUG";function im(u){try{const i=localStorage.getItem(Tv)??"";return i==="*"||i.split(",").includes(u)}catch{return!1}}function Mv(u){const i=`[${u}]`;return{debug:(...o)=>{im(u)&&console.debug(i,...o)},verbose:(...o)=>{im(u)&&console.debug(i,...o)},info:(...o)=>console.info(i,...o),warn:(...o)=>console.warn(i,...o),error:(...o)=>console.error(i,...o)}}const pi={forComponent:u=>Mv(u)},Lo=pi.forComponent("bod");var _m;const Xm=(_m=window.Bodify)==null?void 0:_m.db;Xm||Lo.error("Bodify SDK not loaded (window.Bodify is undefined) — /_bodify/sdk.js failed to load; BodDB is unavailable.");const We=new Av(Xm);We.init();if(typeof window<"u"){const u=()=>{typeof document<"u"&&document.visibilityState==="hidden"||We.connect().catch(i=>Lo.warn("wake-reconnect failed",i))};window.addEventListener("online",u),window.addEventListener("focus",u),document.addEventListener("visibilitychange",u)}async function nn(){var r,f,d;const u=We.client;if(!u)return;const i=((r=pt==null?void 0:pt.auth)==null?void 0:r._token)??null,o=g=>Promise.race([g,new Promise((b,y)=>setTimeout(()=>y(new Error("reauthWs timeout")),3e3))]);try{if(!u.connected)return;i?await o(u._send("auth",{token:i})):((f=u.disconnect)==null||f.call(u),await((d=u.connect)==null?void 0:d.call(u)))}catch(g){Lo.warn("reauthWs failed",g)}}localStorage.getItem("BOD_WS_RECORD")&&(window.bod=We,window.bodWs=We.client);const Dv=Object.freeze(Object.defineProperty({__proto__:null,client:We,reauthWs:nn},Symbol.toStringTag,{value:"Module"}));function Rv(){const u=navigator.userAgent;return/FBAN|FBAV|FB_IAB|FBIOS/.test(u)?"fb":/Instagram/i.test(u)?"ig":"none"}let um=!1;function mo(){try{performance.mark("para:auth-resolved")}catch{}}function Cv(){var f;const u=performance.getEntriesByType("resource"),i=d=>d.replace(/^https?:\/\/[^/]+/,"").split("?")[0].slice(-60),o=d=>{const g=u.filter(d).sort((b,y)=>y.duration-b.duration)[0];return g?{start:Math.round(g.startTime),dur:Math.round(g.duration)}:void 0},r=(f=performance.getEntriesByName("para:auth-resolved")[0])==null?void 0:f.startTime;return{authResolved:r!=null?Math.round(r):-1,resourceCount:u.length,me:o(d=>d.name.includes("/auth/me")),sdk:o(d=>d.name.includes("/_bodify/sdk.js")),entry:o(d=>/\/assets\/index-|\/src\/main\.tsx/.test(d.name)),slowest:u.slice().sort((d,g)=>g.duration-d.duration).slice(0,3).map(d=>({n:i(d.name),start:Math.round(d.startTime),dur:Math.round(d.duration)}))}}function zv(){var u;if(!um){um=!0;try{const i=performance.getEntriesByType("navigation")[0],o=(u=performance.getEntriesByType("paint").find(d=>d.name==="first-contentful-paint"))==null?void 0:u.startTime;let r=null;try{r=localStorage.getItem("para-funnel")}catch{}const f={ttfb:Math.round((i==null?void 0:i.responseStart)??-1),domInteractive:Math.round((i==null?void 0:i.domInteractive)??-1),fcp:o!=null?Math.round(o):-1,appMounted:Math.round(performance.now()),slowBoot:performance.now()>=5e3,webview:Rv(),path:location.pathname,...Cv(),...r?{funnel:r}:{}};pt.event("boot_timing",f)}catch{}}}const Qm=E.createContext(null);function sm(){const u="para_dau_date",i=new Date,o=`${i.getFullYear()}-${i.getMonth()+1}-${i.getDate()}`;localStorage.getItem(u)!==o&&(localStorage.setItem(u,o),pt.event("session_active"))}function Ov({children:u}){const[i,o]=E.useState(null),[r,f]=E.useState(null),[d,g]=E.useState(!0);E.useEffect(()=>{const O=window.Bodify;if(!(O!=null&&O.auth)){mo(),g(!1);return}return O.auth.getUser().then(N=>{N&&(o(N),pt.analytics.identify(N.id,{email:N.email,name:N.name}),sm(),nn()),mo(),g(!1)}).catch(()=>{mo(),g(!1)}),O.auth.onAuthStateChange((N,p)=>{o(N),f(p),nn(),N&&(pt.analytics.identify(N.id,{email:N.email,name:N.name}),sm())})},[]);const b=async(O,N,p)=>{const $=await pt.auth.signUp({email:O,password:N,name:p});$!=null&&$.emailVerificationRequired?f($.user):$!=null&&$.user&&o($.user)},y=async(O,N)=>{const p=await pt.auth.signIn({email:O,password:N});p!=null&&p.emailVerificationRequired?f(p.user):p!=null&&p.user&&o(p.user)},m=async O=>{const N=await pt.auth.verifyEmail(O);N!=null&&N.user&&(o(N.user),f(null))},M=async()=>{await pt.auth.resendVerification()},A=async()=>{await pt.auth.signOut(),o(null),f(null)},k=async()=>{var G,tt;const O=await pt.auth.getUser().catch(()=>null);if(O)return o(O),nn(),O;const N=(G=pt==null?void 0:pt.auth)==null?void 0:G._token;if(N)try{const K=(tt=JSON.parse(atob(N.split(".")[1])))==null?void 0:tt.sub;if(K){const Et=i&&i.id===K?i:{id:K,isAnonymous:!1};return o(Et),nn(),Et}}catch{}const $={id:pt.auth.adoptAnonIdentity(),isAnonymous:!0};return o($),(async()=>{try{const K=await pt.auth.signInAnonymously();o(K.user),await nn()}catch(K){console.error("[auth] anon token sign failed:",K)}})(),$},Q=async(O,N)=>{const p=await pt.auth.linkEmail(O,N);return o(p),await nn(),p},Z=async O=>{const N=await pt.auth.attachEmail(O);return o(N),await nn(),N},X=async O=>pt.auth.startPhoneSignIn(O),L=async(O,N)=>{const p=await pt.auth.linkPhone(O,N);return o(p),p};return w.jsx(Qm.Provider,{value:{user:i,pendingVerification:r,loading:d,signUp:b,signIn:y,verifyEmail:m,resendVerification:M,signOut:A,ensureAnonymousSession:k,linkEmail:Q,attachEmail:Z,startPhoneSignIn:X,linkPhone:L},children:u})}const An=()=>E.useContext(Qm),Zm=E.createContext({theme:"system",resolved:"dark",setTheme:()=>{}});function Nv(){const u=new Date().getHours();return u<7||u>=19?"dark":"light"}function di(){return Nv()}function rm(u){return u==="system"?di():u}function om(u){document.documentElement.classList.toggle("dark",u==="dark")}function cm(u){const i=localStorage.getItem(u);if(!i)return"system";if(i==="light"||i==="dark"||i==="system")return i==="system"?"system":(localStorage.setItem(u,JSON.stringify({theme:i,setUnder:di()})),i);try{const o=JSON.parse(i);return!["light","dark","system"].includes(o.theme)||o.theme==="system"?"system":o.setUnder&&di()!==o.setUnder?(localStorage.removeItem(u),"system"):o.theme}catch{return"system"}}function kv(u,i){if(i==="system"){localStorage.removeItem(u);return}localStorage.setItem(u,JSON.stringify({theme:i,setUnder:di()}))}function Uv({children:u,storageKey:i="theme",defaultTheme:o="system"}){const[r,f]=E.useState(()=>{const y=cm(i);return y!=="system"?y:o}),[d,g]=E.useState(()=>rm(r)),b=E.useCallback(y=>{kv(i,y),f(y)},[i]);return E.useEffect(()=>{const y=rm(r);g(y),om(y)},[r]),E.useEffect(()=>{const y=()=>{const M=cm(i);if(M!==r){f(M);return}if(r==="system"){const A=di();g(A),om(A)}};document.addEventListener("visibilitychange",y),window.addEventListener("focus",y);const m=setInterval(y,5*6e4);return()=>{document.removeEventListener("visibilitychange",y),window.removeEventListener("focus",y),clearInterval(m)}},[r,i]),w.jsx(Zm.Provider,{value:{theme:r,resolved:d,setTheme:b},children:u})}const jv=()=>E.useContext(Zm),Lv=200,fm=new Map,ku=new Map;function Eo(u,i,o){u.delete(i),u.set(i,o),u.size>Lv&&u.delete(u.keys().next().value)}function Bv(u,i,o){const r=i?fm.get(i):void 0,[f,d]=E.useState(r??null),[g,b]=E.useState(r===void 0);return E.useEffect(()=>{let m=!0;const M=u.on(i,A=>{if(m){const k=A.val();d(k),b(!1),i&&Eo(fm,i,k)}},void 0);return()=>{m=!1,M()}},[u,i,!1]),{data:f,loading:g}}function xS(u,i){const o=i?ku.get(i):void 0,[r,f]=E.useState(o?new Map(o):new Map),[d,g]=E.useState(!o);return E.useEffect(()=>{let b=!0;const y=i?ku.get(i):void 0;if(g(!y),f(y?new Map(y):new Map),!i){g(!1);return}const m=()=>u.get(i).then(k=>{if(b){if(k&&typeof k=="object"&&!Array.isArray(k)){const Q=new Map(Object.entries(k));f(Z=>{const X=new Map(Q);for(const[L,O]of Z)X.has(L)||X.set(L,O);return Eo(ku,i,X),X})}g(!1)}});let M=null;m().catch(()=>{M=setTimeout(()=>{b&&m().catch(()=>{b&&g(!1)})},500)});const A=u.onChild(i,k=>{b&&(g(!1),f(Q=>{const Z=new Map(Q);return k.type==="removed"?Z.delete(k.key):Z.set(k.key,k.val()),Eo(ku,i,Z),Z}))},{deep:!0});return()=>{b=!1,A(),M&&clearTimeout(M)}},[u,i]),{children:r,loading:d}}function Rt(u,i=2,o=350){return E.lazy(async()=>{let r;for(let f=0;f<=i;f++)try{return await u()}catch(d){if(r=d,f===i)break;await new Promise(g=>setTimeout(g,o*(f+1)))}throw r})}function Km(){return typeof window>"u"?!1:location.protocol==="app:"||location.protocol==="file:"||location.hostname==="appwrap.local"}const dm="para:native";function Bo(){var u;if(typeof window>"u")return!1;if((u=window.__APPWRAP__)!=null&&u.native||Km())return!0;try{return new URLSearchParams(window.location.search).get("native")==="1"?(sessionStorage.setItem(dm,"1"),!0):sessionStorage.getItem(dm)==="1"}catch{return new URLSearchParams(window.location.search).get("native")==="1"}}class Hv extends E.Component{constructor(){super(...arguments);qh(this,"state",{failed:!1})}static getDerivedStateFromError(o){const r=String((o==null?void 0:o.message)??o??"");return{failed:/import|module script|Loading chunk|dynamically imported|Failed to fetch/i.test(r)}}render(){return this.state.failed?w.jsxs("div",{id:"boot-splash",children:[w.jsx("div",{className:"bs-brand",children:"Para"}),w.jsx("button",{onClick:()=>location.reload(),className:"mt-6 rounded-full px-5 py-2 text-body",style:{background:"var(--color-accent, #10b981)",color:"#fff",border:"none"},children:"Tap to reload"})]}):this.props.children}}const qv=[{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"}],Yv=["Rat","Ox","Tiger","Rabbit","Dragon","Snake","Horse","Goat","Monkey","Rooster","Dog","Pig"],Vv=["Wood","Fire","Earth","Metal","Water"],Gv=["Garnet","Amethyst","Aquamarine","Diamond","Emerald","Pearl","Ruby","Peridot","Sapphire","Opal","Topaz","Tanzanite"];function Jm(u,i){return qv.find(r=>r.startMonth===r.endMonth?u===r.startMonth&&i>=r.startDay&&i<=r.endDay:u===r.startMonth?i>=r.startDay:u===r.endMonth?i<=r.endDay:!1)}function Xv(u,i,o){let r;return u===o.startMonth?r=i-o.startDay:u===o.endMonth?r=new Date(2e3,o.startMonth,0).getDate()-o.startDay+i:r=new Date(2e3,o.startMonth,0).getDate()-o.startDay+new Date(2e3,u-1,0).getDate()+i,r<10?1:r<20?2:3}function Qv(u){const i=u-1924,o=(i%12+12)%12,r=Math.floor((i%10+10)%10/2);return{animal:Yv[o],element:Vv[r]}}function Zv(u){let o=[...u.replace(/-/g,"")].reduce((r,f)=>r+Number(f),0);for(;o>9&&o!==11&&o!==22&&o!==33;)o=[...String(o)].reduce((r,f)=>r+Number(f),0);return o}function Kv(u){return u>=3&&u<=5?"Spring":u>=6&&u<=8?"Summer":u>=9&&u<=11?"Autumn":"Winter"}function Jv(u){if(!(u!=null&&u.trim()))return null;const i=new Date(u+"T00:00:00"),o=i.getMonth()+1,r=i.getDate();return isNaN(o)||isNaN(r)?null:Jm(o,r).sign}function AS(u){if(!(u!=null&&u.trim()))return null;const i=u.match(/^(\d{4})-(\d{2})-(\d{2})$/);if(!i)return null;const o=Number(i[1]),r=Number(i[2]),f=Number(i[3]),d=new Date(o,r-1,f);if(d.getFullYear()!==o||d.getMonth()!==r-1||d.getDate()!==f)return null;const g=Jm(r,f);return{zodiac:{sign:g.sign,element:g.element,modality:g.modality,rulingPlanet:g.ruler,decan:Xv(r,f,g),dateRange:g.range},chineseZodiac:Qv(o),numerology:{lifePath:Zv(u)},birthstone:Gv[r-1],season:Kv(r)}}function $v(){var i;if(typeof window>"u")return!1;const u=window.__APPWRAP__;return u&&(u.reduceMotion||u.isEmulator)?!0:((i=window.matchMedia)==null?void 0:i.call(window,"(prefers-reduced-motion: reduce)").matches)??!1}const Pv={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 Wv(u,i){let o=i;const r=()=>(o=o*16807%2147483647,o/2147483647),f=["#fff","#fff","#fff","#fff","#ccd6ff","#d4e0ff","#fff4e0","#ffe8c8","#ffd6d6"];return Array.from({length:u},()=>{const d=r()<.5?0:r()<.6?1:2,g=r()<.015,b=g||r()<.2,y=r(),m=r(),M=y-.5,A=m-.5;return{angle:Math.atan2(A,M),dist:Math.sqrt(M*M+A*A),r:g?2+r()*1:b?1.3+r()*1.2:d===0?.4+r()*.4:d===1?.6+r()*.6:1+r()*.8,phase:r()*Math.PI*2,speed:g?.1+r()*.3:.3+r()*1.2,color:f[Math.floor(r()*f.length)],layer:d,baseAlpha:b?.85+r()*.15:.45+r()*.45,shimmer:g}})}function Fv(u,i){let o=i;const r=()=>(o=o*16807%2147483647,o/2147483647);return Array.from({length:u},()=>({x:r(),y:r(),speed:.003+r()*.008,alpha:.3+r()*.4}))}function Iv(u,i){let o=i;const r=()=>(o=o*16807%2147483647,o/2147483647);return Array.from({length:u},()=>({x:.05+r()*.9,y:.05+r()*.7,r:120+r()*220,hue:r()<.4?160+r()*40:r()<.7?270+r()*50:30+r()*20,phase:r()*Math.PI*2,speed:.1+r()*.25}))}const tb={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}},eb={Garnet:"#9b2335",Amethyst:"#9966cc",Aquamarine:"#7fffd4",Diamond:"#e8e8e8",Emerald:"#50c878",Pearl:"#eae0c8",Ruby:"#e0115f",Peridot:"#b4c424",Sapphire:"#0f52ba",Opal:"#a8c3bc",Topaz:"#ffc87c",Tanzanite:"#5a4fcf"},ab={Sun:1,Moon:.7,Mercury:.35,Venus:.5,Mars:.45,Jupiter:.85,Saturn:.75,Uranus:.55,Neptune:.55,Pluto:.3};function nb({date:u,intensity:i,nebulaOpacity:o,showConstellation:r=!1,artifact:f="none",cosmic:d=null,darkMode:g=!0}){const b=E.useRef(null),y=E.useRef(0),m=E.useRef(!0),M=E.useRef(u),A=E.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}),k=typeof window<"u"&&window.innerWidth<640,Q=E.useMemo(()=>Wv(k?600:1200,42),[k]),Z=E.useMemo(()=>Iv(k?6:10,77),[k]),X=E.useMemo(()=>Fv(k?300:600,99),[k]);E.useEffect(()=>{const O=A.current,N=(G,tt)=>{O.tMouseX=(G/window.innerWidth-.5)*2,O.tMouseY=(tt/window.innerHeight-.5)*2},p=G=>N(G.clientX,G.clientY),$=G=>{G.touches[0]&&N(G.touches[0].clientX,G.touches[0].clientY)};return window.addEventListener("mousemove",p,{passive:!0}),window.addEventListener("touchmove",$,{passive:!0}),()=>{window.removeEventListener("mousemove",p),window.removeEventListener("touchmove",$)}},[]),E.useEffect(()=>{const O=A.current,N=M.current,p=u;if(M.current=p,p&&N!==p){const[G,tt,K]=(N||"2000-01-01").split("-").map(Number),[Et,Qt,re]=p.split("-").map(Number);if(!isNaN(Et)&&!isNaN(Qt)&&!isNaN(re)){const le=Et-(isNaN(G)?Et:G),kt=Qt-(isNaN(tt)?Qt:tt),ve=re-(isNaN(K)?re:K),Ht=!N||N===""?.8:ve*.12+kt*.4+le*1.5;O.angVel+=Ht,O.angVel=Math.max(-5,Math.min(5,O.angVel)),O.targetRotation+=Ht*.6}}const $=Jv(p);$!==O.sign&&(O.prevSign=O.sign,O.prevAlpha=O.cAlpha,O.sign=$,O.cAlpha=0,O.lineProgress=0,O.labelAlpha=0)},[u]);const L=E.useCallback(O=>{const N=b.current;if(!N)return;const p=N.getContext("2d");if(!p)return;const $=Math.min(window.devicePixelRatio||1,2),G=N.clientWidth,tt=N.clientHeight;(N.width!==G*$||N.height!==tt*$)&&(N.width=G*$,N.height=tt*$),p.setTransform($,0,0,$,0,0),p.clearRect(0,0,G,tt);const K=g,Et=K?"255,255,255":"0,0,0",Qt=K?"#fff":"#000",re=K?"220,240,255":"30,30,60",le=K?"255,240,220":"180,140,60",kt=K?[255,250,235,255,220,180,200,170,130]:[210,170,60,190,145,50,160,120,40],ve=K?"255,230,200":"170,130,50",pe=K?"210,255,235":"5,80,50",Ht=K?{}:{"#fff":"#222","#ccd6ff":"#1a2040","#d4e0ff":"#102030","#fff4e0":"#3a2800","#ffe8c8":"#402000","#ffd6d6":"#401010"},U=V=>Ht[V]||V,T=A.current,P=1/60;T.t+=P;const rt=T.t;T.curI+=(i-T.curI)*.04;const nt=T.curI,x=f==="none"?0:1;T.curArtifact+=(x-T.curArtifact)*.06,T.mouseX+=(T.tMouseX-T.mouseX)*.04,T.mouseY+=(T.tMouseY-T.mouseY)*.04,T.targetRotation+=P*.015,T.rotation+=(T.targetRotation-T.rotation)*.05;const q=Math.abs(T.angVel);T.angVel*=.95,q<5e-4&&(T.angVel=0);const J=Math.min(1,q*.8),I=G*.5,ot=tt*.5;if(T.sign&&r?(T.cAlpha=Math.min(1,T.cAlpha+P*1.5),T.lineProgress=Math.min(1,T.lineProgress+P*.8),T.labelAlpha=Math.min(1,T.labelAlpha+P*.6)):r||(T.cAlpha=Math.max(0,T.cAlpha-P*2)),T.prevSign&&(T.prevAlpha=Math.max(0,T.prevAlpha-P*2.5),T.prevAlpha<=0&&(T.prevSign=null)),T.nextShootAt-=P*1e3,T.nextShootAt<=0&&nt>.15&&(T.shootingStars.push({x:Math.random()*G,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}),T.nextShootAt=3e3+Math.random()*7e3),T.curArtifact>.005&&f==="nebula"){const V=o??nt*.25;for(const Y of Z){const W=Y.x*G+Math.sin(rt*Y.speed+Y.phase)*50,st=Y.y*tt+Math.cos(rt*Y.speed*.7+Y.phase)*35,lt=.5+.5*Math.sin(rt*Y.speed*.4+Y.phase),ut=Y.r*(.8+lt*.5),Ct=T.curArtifact*V*(.5+lt*.5);p.globalAlpha=1;const mt=p.createRadialGradient(W,st,0,W,st,ut);mt.addColorStop(0,`hsla(${Y.hue}, 80%, 55%, ${Ct})`),mt.addColorStop(.3,`hsla(${Y.hue}, 70%, 45%, ${Ct*.5})`),mt.addColorStop(.7,`hsla(${Y.hue}, 60%, 35%, ${Ct*.15})`),mt.addColorStop(1,`hsla(${Y.hue}, 50%, 30%, 0)`),p.fillStyle=mt,p.beginPath(),p.arc(W,st,ut,0,Math.PI*2),p.fill()}}if(T.curArtifact>.005&&f==="stardust"){const V=G*.5+Math.sin(rt*.15)*35,Y=tt*.32+Math.cos(rt*.12)*25,W=.6+.4*Math.sin(rt*.35),st=T.curArtifact*nt,lt=180+W*80,ut=p.createRadialGradient(V,Y,0,V,Y,lt);ut.addColorStop(0,`rgba(16, 185, 129, ${st*.25*W})`),ut.addColorStop(.2,`rgba(16, 185, 129, ${st*.12})`),ut.addColorStop(.5,`rgba(80, 100, 220, ${st*.06})`),ut.addColorStop(1,"rgba(0,0,0,0)"),p.globalAlpha=1,p.fillStyle=ut,p.beginPath(),p.arc(V,Y,lt,0,Math.PI*2),p.fill();const Ct=p.createRadialGradient(V,Y,0,V,Y,40);Ct.addColorStop(0,K?`rgba(200, 255, 230, ${st*.4})`:`rgba(5, 80, 40, ${st*.4})`),Ct.addColorStop(.5,`rgba(16, 185, 129, ${st*.15})`),Ct.addColorStop(1,"rgba(16, 185, 129, 0)"),p.fillStyle=Ct,p.beginPath(),p.arc(V,Y,40,0,Math.PI*2),p.fill();for(let mt=0;mt<8;mt++){const xt=rt*.08+mt/8*Math.PI*2,Zt=80+40*Math.sin(rt*.4+mt*1.3),zt=V+Math.cos(xt)*Zt,Kt=Y+Math.sin(xt)*Zt,be=p.createLinearGradient(V,Y,zt,Kt);be.addColorStop(0,`rgba(16,185,129,${st*.15})`),be.addColorStop(1,"rgba(16,185,129,0)"),p.strokeStyle=be,p.lineWidth=2.5,p.globalAlpha=1,p.beginPath(),p.moveTo(V,Y),p.lineTo(zt,Kt),p.stroke()}}if(nt>.1){p.fillStyle=Qt;for(const V of X)V.y-=V.speed*P,V.x+=Math.sin(rt*.3+V.y*5)*3e-4,V.y<-.01&&(V.y=1.01,V.x=Math.random()),p.globalAlpha=V.alpha*nt*.7,p.fillRect(V.x*G,V.y*tt,1,1)}if(nt>.15){T.auroraPhase+=P*.08,p.save(),p.globalCompositeOperation=K?"screen":"multiply";const V=[{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 Y of V){const W=Y.y*tt;p.beginPath(),p.moveTo(0,W);for(let lt=0;lt<=G;lt+=8){const ut=W+Math.sin(lt*Y.freq*.005+T.auroraPhase+Y.hue)*Y.amp+Math.sin(lt*.003+T.auroraPhase*1.7)*Y.amp*.5;p.lineTo(lt,ut)}p.lineTo(G,0),p.lineTo(0,0),p.closePath();const st=p.createLinearGradient(0,W-60,0,W+80);st.addColorStop(0,"rgba(0,0,0,0)"),st.addColorStop(.4,`hsla(${Y.hue},60%,50%,${Y.alpha*nt})`),st.addColorStop(.6,`hsla(${Y.hue},60%,40%,${Y.alpha*nt*.6})`),st.addColorStop(1,"rgba(0,0,0,0)"),p.fillStyle=st,p.fill()}p.restore()}for(const V of Q){const Y=V.layer===0?.3:V.layer===1?.65:1,W=V.angle+T.rotation*Y,st=Math.sqrt(G*G+tt*tt)*.75,lt=I+Math.cos(W)*V.dist*st+T.mouseX*25*Y,ut=ot+Math.sin(W)*V.dist*st+T.mouseY*15*Y;if(lt<-60||lt>G+60||ut<-60||ut>tt+60)continue;const mt=V.baseAlpha*(.3+.5*(.5+.35*Math.sin(rt*V.speed+V.phase)+.15*Math.sin(rt*V.speed*2.7+V.phase*1.4)))*nt;if(!(mt<.008)){if(J>.02&&nt>.2){const xt=T.angVel*V.dist*st*Y,Zt=Math.max(-80,Math.min(80,xt));if(Math.abs(Zt)>1.5){const zt=-Math.sin(W),Kt=Math.cos(W);p.beginPath(),p.moveTo(lt-zt*Zt*.5,ut-Kt*Zt*.5),p.lineTo(lt+zt*Zt*.5,ut+Kt*Zt*.5),p.lineWidth=V.r*1.8,p.strokeStyle=U(V.color),p.globalAlpha=mt*.3,p.stroke()}}if(p.globalAlpha=mt,p.fillStyle=U(V.color),p.beginPath(),p.arc(lt,ut,V.r,0,Math.PI*2),p.fill(),V.shimmer&&mt>.1){const xt=.5+.5*Math.sin(rt*V.speed*.7+V.phase),Zt=V.r*(8+xt*6),zt=p.createRadialGradient(lt,ut,0,lt,ut,Zt);zt.addColorStop(0,U(V.color)),zt.addColorStop(.15,U(V.color)),zt.addColorStop(1,"rgba(0,0,0,0)"),p.globalAlpha=mt*.25*xt,p.fillStyle=zt,p.beginPath(),p.arc(lt,ut,Zt,0,Math.PI*2),p.fill();const Kt=V.r*(4+xt*3);p.globalAlpha=mt*.4*xt,p.strokeStyle=U(V.color),p.lineWidth=.8,p.beginPath(),p.moveTo(lt-Kt,ut),p.lineTo(lt+Kt,ut),p.moveTo(lt,ut-Kt),p.lineTo(lt,ut+Kt),p.stroke()}}}for(let V=T.shootingStars.length-1;V>=0;V--){const Y=T.shootingStars[V];if(Y.life+=P,Y.life>Y.maxLife){T.shootingStars.splice(V,1);continue}const W=Y.life/Y.maxLife,st=W<.2?W/.2:1-(W-.2)/.8,lt=Y.x+Math.cos(Y.angle)*Y.speed*Y.life,ut=Y.y+Math.sin(Y.angle)*Y.speed*Y.life,Ct=lt-Math.cos(Y.angle)*Y.len*st,mt=ut-Math.sin(Y.angle)*Y.len*st,xt=p.createLinearGradient(Ct,mt,lt,ut);xt.addColorStop(0,`rgba(${Et},0)`),xt.addColorStop(.6,`rgba(${Et},${st*.3*nt})`),xt.addColorStop(1,`rgba(${Et},${st*.9*nt})`),p.strokeStyle=xt,p.lineWidth=1.8,p.globalAlpha=1,p.beginPath(),p.moveTo(Ct,mt),p.lineTo(lt,ut),p.stroke(),p.fillStyle=`rgba(${Et},${st*nt})`,p.beginPath(),p.arc(lt,ut,2,0,Math.PI*2),p.fill()}T.nextPulsarAt-=P*1e3,T.nextPulsarAt<=0&&nt>.2&&T.pulsars.length<2&&(T.pulsars.push({x:Math.random()*G,y:Math.random()*tt,life:0,maxLife:2.5+Math.random()*1.5}),T.nextPulsarAt=6e3+Math.random()*1e4);for(let V=T.pulsars.length-1;V>=0;V--){const Y=T.pulsars[V];if(Y.life+=P,Y.life>Y.maxLife){T.pulsars.splice(V,1);continue}const W=Y.life/Y.maxLife,st=W*60,lt=W<.1?W/.1:1-(W-.1)/.9;if(p.strokeStyle=`rgba(${re},${lt*.3*nt})`,p.lineWidth=1.5*(1-W),p.globalAlpha=1,p.beginPath(),p.arc(Y.x,Y.y,st,0,Math.PI*2),p.stroke(),W<.3){const ut=(1-W/.3)*.6*nt;p.fillStyle=`rgba(${re},${ut})`,p.beginPath(),p.arc(Y.x,Y.y,2,0,Math.PI*2),p.fill()}}if(T.nextBirthAt-=P*1e3,T.nextBirthAt<=0&&nt>.2&&T.births.length<1){const V=K?["#fff","#ccd6ff","#fff4e0","#ffe8c8"]:["#000","#1a2040","#3a2800","#402000"];T.births.push({x:G*.1+Math.random()*G*.8,y:tt*.1+Math.random()*tt*.6,life:0,maxLife:2+Math.random()*1,color:V[Math.floor(Math.random()*V.length)]}),T.nextBirthAt=18e3+Math.random()*15e3}for(let V=T.births.length-1;V>=0;V--){const Y=T.births[V];if(Y.life+=P,Y.life>Y.maxLife){T.births.splice(V,1);continue}const W=Y.life/Y.maxLife,st=W<.15?W/.15:1,lt=W<.3?1:1-(W-.3)/.7,ut=st*20,Ct=p.createRadialGradient(Y.x,Y.y,0,Y.x,Y.y,ut);Ct.addColorStop(0,Y.color),Ct.addColorStop(.3,Y.color),Ct.addColorStop(1,"rgba(0,0,0,0)"),p.globalAlpha=lt*.4*nt,p.fillStyle=Ct,p.beginPath(),p.arc(Y.x,Y.y,ut,0,Math.PI*2),p.fill();const mt=1+st*2*lt;if(p.globalAlpha=lt*.9*nt,p.fillStyle=Qt,p.beginPath(),p.arc(Y.x,Y.y,mt,0,Math.PI*2),p.fill(),W<.3){const xt=st*15*lt;p.strokeStyle=Y.color,p.lineWidth=.6,p.globalAlpha=lt*.5*nt,p.beginPath(),p.moveTo(Y.x-xt,Y.y),p.lineTo(Y.x+xt,Y.y),p.moveTo(Y.x,Y.y-xt),p.lineTo(Y.x,Y.y+xt),p.stroke()}}if(p.globalAlpha=1,d&&r?(T.planetAlpha=Math.min(1,T.planetAlpha+P*.8),T.elementTintAlpha=Math.min(1,T.elementTintAlpha+P*.6)):(T.planetAlpha=Math.max(0,T.planetAlpha-P*1.5),T.elementTintAlpha=Math.max(0,T.elementTintAlpha-P*1.5)),d&&T.elementTintAlpha>.01){const V=tb[d.zodiac.element];if(V){const zt=T.elementTintAlpha*nt*.12,Kt=p.createRadialGradient(G*.5,tt*.72,0,G*.5,tt*.72,tt*.7);Kt.addColorStop(0,`rgba(${V.r},${V.g},${V.b},${zt})`),Kt.addColorStop(.5,`rgba(${V.r},${V.g},${V.b},${zt*.3})`),Kt.addColorStop(1,"rgba(0,0,0,0)"),p.fillStyle=Kt,p.beginPath(),p.arc(G*.5,tt*.72,tt*.7,0,Math.PI*2),p.fill()}const W=5+(ab[d.zodiac.rulingPlanet]||.5)*8,st=W*5,lt=G*.73+Math.sin(rt*.1)*8,ut=tt*.68+Math.cos(rt*.08)*6,Ct=T.planetAlpha*(K?nt:Math.max(nt,.7)),mt=p.createRadialGradient(lt,ut,0,lt,ut,st);mt.addColorStop(0,`rgba(${le},${Ct*.08})`),mt.addColorStop(.3,`rgba(${le},${Ct*.03})`),mt.addColorStop(1,`rgba(${le},0)`),p.fillStyle=mt,p.globalAlpha=1,p.beginPath(),p.arc(lt,ut,st,0,Math.PI*2),p.fill();const xt=p.createRadialGradient(lt-W*.2,ut-W*.2,0,lt,ut,W);xt.addColorStop(0,`rgba(${kt[0]},${kt[1]},${kt[2]},${Ct*.5})`),xt.addColorStop(.7,`rgba(${kt[3]},${kt[4]},${kt[5]},${Ct*.25})`),xt.addColorStop(1,`rgba(${kt[6]},${kt[7]},${kt[8]},${Ct*.1})`),p.fillStyle=xt,p.beginPath(),p.arc(lt,ut,W,0,Math.PI*2),p.fill(),d.zodiac.rulingPlanet==="Saturn"&&(p.strokeStyle=`rgba(${ve},${Ct*.2})`,p.lineWidth=1,p.beginPath(),p.ellipse(lt,ut,W*2.2,W*.5,-.2,0,Math.PI*2),p.stroke());const Zt=eb[d.birthstone];if(Zt)for(let zt=0;zt<8;zt++){const Kt=G*.25+zt*.07*G+Math.sin(rt*.25+zt*1.1)*25,be=tt*.65+Math.cos(rt*.2+zt*.9)*30+zt%3*15,Jt=T.elementTintAlpha*nt*.3*(.4+.6*Math.sin(rt*.4+zt*2));p.fillStyle=Zt,p.globalAlpha=Jt,p.beginPath(),p.arc(Kt,be,1.5+zt%3*.5,0,Math.PI*2),p.fill()}p.globalAlpha=1}const ht=(V,Y,W)=>{const st=Pv[V];if(!st||Y<=0)return;const lt=T.rotation*.65,ut=G*.5+T.mouseX*25*.65,Ct=tt*.72+T.mouseY*15*.65,mt=Math.min(G*.45,tt*.22),xt=st.stars.map(([Jt,De])=>{const ge=(Jt-.5)*mt,ie=(De-.42)*mt,qt=Math.cos(lt*.15),ia=Math.sin(lt*.15);return[ut+ge*qt-ie*ia,Ct+ge*ia+ie*qt]}),Zt=st.lines.length,zt=Math.floor(W*Zt),Kt=W*Zt-zt,be=K?1:3;p.strokeStyle=`rgba(16,185,129,${Y*.3*nt*be})`,p.lineWidth=K?1:1.5,p.shadowColor=`rgba(16,185,129,${Y*.5*be})`,p.shadowBlur=6,p.beginPath();for(let Jt=0;Jt<=zt&&Jt<Zt;Jt++){const[De,ge]=st.lines[Jt],[ie,qt]=xt[De],[ia,ua]=xt[ge];p.moveTo(ie,qt),p.lineTo(Jt<zt?ia:ie+(ia-ie)*Kt,Jt<zt?ua:qt+(ua-qt)*Kt)}p.stroke(),p.shadowBlur=0;for(let Jt=0;Jt<st.stars.length;Jt++){const[,,De]=st.stars[Jt],[ge,ie]=xt[Jt],qt=Y*De*Math.min(1,W*Zt/Math.max(1,Jt))*nt;if(qt<=0)continue;const ia=5+De*5,ua=p.createRadialGradient(ge,ie,0,ge,ie,ia);ua.addColorStop(0,`rgba(16,185,129,${qt*.7*be})`),ua.addColorStop(.4,`rgba(16,185,129,${qt*.2*be})`),ua.addColorStop(1,"rgba(16,185,129,0)"),p.fillStyle=ua,p.globalAlpha=1,p.beginPath(),p.arc(ge,ie,ia,0,Math.PI*2),p.fill(),p.fillStyle=`rgba(${pe},${qt})`,p.beginPath(),p.arc(ge,ie,1.2+De*1.3,0,Math.PI*2),p.fill()}if(V===T.sign&&T.labelAlpha>0){const Jt=Math.max(13,Math.min(16,G*.035)),De=Math.max(10,Math.min(12,G*.025)),ge=Math.max(...xt.map(ie=>ie[1]));if(p.textAlign="center",p.globalAlpha=T.labelAlpha*(K?.5:1),p.fillStyle=K?"#34d399":"#047857",p.font=`500 ${Jt}px -apple-system, Inter, system-ui, sans-serif`,p.letterSpacing="3px",p.fillText(V.toUpperCase(),ut,ge+24),p.letterSpacing="0px",d&&T.labelAlpha>.4){const ie=(T.labelAlpha-.4)/.6;p.font=`400 ${De}px -apple-system, Inter, system-ui, sans-serif`,p.letterSpacing="1.5px",p.globalAlpha=ie*(K?.6:1),p.fillStyle=K?"#a1a1aa":"#71717a",p.fillText(`${d.zodiac.element} · ${d.zodiac.rulingPlanet}`,ut,ge+42),p.globalAlpha=ie*(K?.45:.85),p.fillStyle=K?"#a1a1aa":"#71717a",p.fillText(`${d.chineseZodiac.element} ${d.chineseZodiac.animal} · Path ${d.numerology.lifePath}`,ut,ge+58),p.letterSpacing="0px"}p.globalAlpha=1}};T.prevSign&&ht(T.prevSign,T.prevAlpha,1),T.sign&&T.cAlpha>0&&ht(T.sign,T.cAlpha,T.lineProgress),m.current&&(y.current=requestAnimationFrame(L))},[Q,Z,X,i,o,r,f,d,g]);return E.useEffect(()=>{if($v()){m.current=!1,requestAnimationFrame(L);return}const O=()=>{const N=!document.hidden;N!==m.current&&(m.current=N,cancelAnimationFrame(y.current),N&&(y.current=requestAnimationFrame(L)))};return m.current=!document.hidden,m.current&&(y.current=requestAnimationFrame(L)),document.addEventListener("visibilitychange",O),()=>{cancelAnimationFrame(y.current),document.removeEventListener("visibilitychange",O)}},[L]),w.jsxs("div",{className:"fixed inset-0 overflow-hidden pointer-events-none z-0","aria-hidden":"true",children:[w.jsx("canvas",{ref:b,className:"absolute inset-0 w-full h-full"}),w.jsx("div",{className:"absolute inset-x-0 bottom-0 h-1/4",style:{background:"linear-gradient(to top, var(--color-bg) 0%, transparent 100%)"}}),w.jsx("div",{className:"absolute inset-0",style:{background:"radial-gradient(ellipse 140% 90% at 50% 10%, transparent 50%, var(--color-bg) 100%)"}})]})}const lb={date:"",intensity:.5,nebulaOpacity:.05,artifact:"nebula",cosmic:null},$m=E.createContext(()=>{}),_S=()=>E.useContext($m);function ib(){const[u,i]=E.useState(lb),o=E.useCallback(f=>i(d=>({...d,...f})),[]),{resolved:r}=jv();return w.jsx($m.Provider,{value:o,children:w.jsxs("div",{className:"relative min-h-screen",children:[w.jsx(nb,{...u,darkMode:r==="dark"}),w.jsx("div",{className:"relative z-10",children:w.jsx(jy,{})})]})})}function Pm(u){const[i,o]=E.useState(()=>pt.flags.get(u));return E.useEffect(()=>pt.flags.subscribe(f=>{(!f||f===u)&&o(pt.flags.get(u))}),[u]),i}const hm=1;class St extends Error{constructor(i,o){super(o),this.code=i,this.name="KitError"}}class ub{constructor(){this.kind="appwrap",this.pending=new Map,this.listeners=new Map,this.seq=0}detect(){var i,o;return typeof window<"u"&&(!!((o=(i=window.webkit)==null?void 0:i.messageHandlers)!=null&&o.appwrap)||!!window.appwrapNative)}async handshake(i){return this.installDeliver(),this.request("app.handshake",void 0,i)}invoke(i,o,r){return this.request(i,o,(r==null?void 0:r.timeoutMs)??1e4)}on(i,o){let r=this.listeners.get(i);return r||this.listeners.set(i,r=new Set),r.add(o),()=>r.delete(o)}request(i,o,r){const f=`k${++this.seq}`,d={v:1,id:f,kind:"request",method:i,params:o};return new Promise((g,b)=>{const y=setTimeout(()=>{this.pending.delete(f),b(new St("TIMEOUT",`${i} timed out after ${r}ms`))},r);this.pending.set(f,{resolve:m=>{clearTimeout(y),g(m)},reject:m=>{clearTimeout(y),b(m)}}),this.post(d)})}post(i){var r,f;const o=JSON.stringify(i);if((f=(r=window.webkit)==null?void 0:r.messageHandlers)!=null&&f.appwrap)window.webkit.messageHandlers.appwrap.postMessage(o);else if(window.appwrapNative)window.appwrapNative.postMessage(o);else{const d=this.pending.get(i.id);this.pending.delete(i.id),d==null||d.reject(new St("NOT_READY","No native transport present"))}}installDeliver(){window.__appwrapDeliver||(window.__appwrapDeliver=i=>{var r;let o;try{o=JSON.parse(i)}catch{return}o.kind==="response"?this.handleResponse(o):o.kind==="event"&&((r=this.listeners.get(o.event))==null||r.forEach(f=>f(o.payload)))})}handleResponse(i){const o=this.pending.get(i.id);o&&(this.pending.delete(i.id),i.error?o.reject(new St(i.error.code,i.error.message)):o.resolve(i.result))}}function sb(u){const i=atob(u),o=new Uint8Array(i.length);for(let r=0;r<i.length;r++)o[r]=i.charCodeAt(r);return o.buffer}function rb(u){switch(u){case"portrait-upside-down":return"portrait-secondary";case"landscape-left":return"landscape-primary";case"landscape-right":return"landscape-secondary";default:return u}}class ob{constructor(){this.kind="web",this.toastEl=null,this.wakeLock=null,this.listeners=new Map,this.geoWatchId=null,this.motionHandler=null}detect(){return typeof window<"u"}async handshake(){var r,f;const i=navigator,o={haptics:"vibrate"in navigator?"web":"none",share:"share"in navigator?"web":"none",shareFiles:typeof i.canShare=="function"?"web":"none",orientation:screen!=null&&screen.orientation?"web":"none",storage:"web",secureStorage:"none",toast:"web",statusBar:"none",device:"web",clipboard:navigator.clipboard?"web":"none",notifications:"Notification"in window?"web":"none",biometrics:"none",geo:"geolocation"in navigator?"web":"none",photos:"web",network:"web",screen:"wakeLock"in i?"web":"none",dialogs:"web",reviews:"none",themeColor:"web",motion:typeof DeviceMotionEvent<"u"?"web":"none",contacts:(r=i.contacts)!=null&&r.select?"web":"none",calendar:"none",camera:"web",media:(f=navigator.mediaDevices)!=null&&f.getUserMedia?"web":"none",app:"web",browser:"web",billing:"none",push:"none"};return{protocol:1,platform:"web",app:{id:location.hostname,name:document.title||location.hostname,version:"0.0.0"},capabilities:o}}async invoke(i,o){var f,d,g,b,y,m,M,A,k,Q,Z,X;const r=o??{};switch(i){case"haptics.impact":(f=navigator.vibrate)==null||f.call(navigator,10);return;case"haptics.notify":(d=navigator.vibrate)==null||d.call(navigator,r.type==="error"?[40,60,40]:[20,40,20]);return;case"share.share":if(!navigator.share)throw new St("UNSUPPORTED","Web Share API unavailable");await navigator.share({title:r.title,text:r.text,url:r.url}).catch(L=>{if(L.name!=="AbortError")throw new St("NATIVE_ERROR",L.message)});return;case"share.files":{const O={files:(r.files??[]).map(N=>new File([sb(N.base64)],N.name,{type:N.mimeType})),title:r.title,text:r.text};if(!((g=navigator.canShare)!=null&&g.call(navigator,O)))throw new St("UNSUPPORTED","Sharing files is unavailable here");await navigator.share(O).catch(N=>{if(N.name!=="AbortError")throw new St("NATIVE_ERROR",N.message)});return}case"storage.get":return JSON.parse(localStorage.getItem(`kit:${r.key}`)??"null");case"storage.set":localStorage.setItem(`kit:${r.key}`,JSON.stringify(r.value??null));return;case"storage.remove":localStorage.removeItem(`kit:${r.key}`);return;case"storage.clear":for(const L of Object.keys(localStorage))L.startsWith("kit:")&&localStorage.removeItem(L);return;case"storage.secure.get":case"storage.secure.set":case"storage.secure.remove":throw new St("UNSUPPORTED","No secure storage on web");case"toast.show":this.showToast(String(r.message??""),r.duration==="long"?3500:2e3);return;case"ui.statusBar.setStyle":return;case"ui.safeArea":return this.readSafeArea();case"ui.brightness.get":case"ui.brightness.set":throw new St("UNSUPPORTED","No brightness control on web");case"ui.keepAwake":{const L=navigator.wakeLock;if(!L)throw new St("UNSUPPORTED","Wake Lock API unavailable");r.on?this.wakeLock=await L.request("screen"):(await((b=this.wakeLock)==null?void 0:b.release()),this.wakeLock=null);return}case"ui.alert":window.alert([r.title,r.message].filter(Boolean).join(`

`));return;case"ui.confirm":return window.confirm([r.title,r.message].filter(Boolean).join(`

`));case"ui.action":return this.showActionSheet(r.title,r.options??[],r.cancel??"Cancel");case"ui.setBackgroundColor":{let L=document.querySelector('meta[name="theme-color"]');L||(L=document.createElement("meta"),L.name="theme-color",document.head.appendChild(L)),L.content=String(r.color??"");return}case"screen.orientation.lock":{const L=screen==null?void 0:screen.orientation;if(!(L!=null&&L.lock))throw new St("UNSUPPORTED","Screen orientation lock unavailable");await L.lock(rb(String(r.orientation))).catch(O=>{throw new St("UNSUPPORTED",O.message||"Lock rejected (fullscreen may be required)")});return}case"screen.orientation.unlock":(m=(y=screen==null?void 0:screen.orientation)==null?void 0:y.unlock)==null||m.call(y);return;case"screen.orientation.current":return(((M=screen==null?void 0:screen.orientation)==null?void 0:M.type)??"").startsWith("landscape")?"landscape":"portrait";case"reviews.requestReview":throw new St("UNSUPPORTED","No in-app review prompt on web");case"device.info":{const L=await((A=navigator.getBattery)==null?void 0:A.call(navigator).catch(()=>null));return{model:navigator.userAgent.replace(/^Mozilla\/\d+\.\d+\s*/,"").slice(0,64),os:"web",osVersion:navigator.platform??"",language:navigator.language,battery:L?{level:L.level,charging:L.charging}:void 0}}case"clipboard.copy":if(!navigator.clipboard)throw new St("UNSUPPORTED","Clipboard API unavailable");await navigator.clipboard.writeText(String(r.text??""));return;case"clipboard.read":if(!((k=navigator.clipboard)!=null&&k.readText))throw new St("UNSUPPORTED","Clipboard read unavailable");return await navigator.clipboard.readText().catch(L=>{throw new St("DENIED",L.message)});case"notifications.requestPermission":if(!("Notification"in window))throw new St("UNSUPPORTED","Notifications unavailable");return await Notification.requestPermission();case"notifications.schedule":{if(Notification.permission!=="granted")throw new St("DENIED","Permission not granted");const L=(r.delaySec??1)*1e3;return setTimeout(()=>new Notification(r.title,{body:r.body}),L),{id:r.id??Date.now()%1e5}}case"notifications.pending":return 0;case"notifications.setBadge":{const L=(Q=navigator.setAppBadge)==null?void 0:Q.bind(navigator);if(!L)throw new St("UNSUPPORTED","Badging API unavailable");await L(r.count);return}case"notifications.clear":return;case"biometrics.available":return{available:!1,type:"none"};case"biometrics.authenticate":throw new St("UNSUPPORTED","No biometrics on web");case"geo.current":return new Promise((L,O)=>{navigator.geolocation.getCurrentPosition(N=>L({lat:N.coords.latitude,lng:N.coords.longitude,accuracy:N.coords.accuracy}),N=>O(new St(N.code===1?"DENIED":"NATIVE_ERROR",N.message)),{timeout:1e4})});case"geo.watch.start":this.geoWatchId===null&&(this.geoWatchId=navigator.geolocation.watchPosition(L=>this.emit("geo.position",{lat:L.coords.latitude,lng:L.coords.longitude,accuracy:L.coords.accuracy}),L=>console.warn("[native-kit] geo.watch error",L.message)));return;case"geo.watch.stop":this.geoWatchId!==null&&(navigator.geolocation.clearWatch(this.geoWatchId),this.geoWatchId=null);return;case"motion.start":{if(typeof DeviceMotionEvent>"u")throw new St("UNSUPPORTED","No motion sensors on this browser");const L=DeviceMotionEvent.requestPermission;if(L&&await L().catch(N=>{throw new St("DENIED",N.message)})!=="granted")throw new St("DENIED","Motion permission not granted");if(!this.motionHandler){let O=0;this.motionHandler=N=>{const p=performance.now();if(p-O<100)return;O=p;const $=N.accelerationIncludingGravity,G=N.rotationRate;this.emit("motion.data",{ax:($==null?void 0:$.x)??0,ay:($==null?void 0:$.y)??0,az:($==null?void 0:$.z)??0,rx:(G==null?void 0:G.alpha)??void 0,ry:(G==null?void 0:G.beta)??void 0,rz:(G==null?void 0:G.gamma)??void 0})},window.addEventListener("devicemotion",this.motionHandler)}return}case"motion.stop":this.motionHandler&&(window.removeEventListener("devicemotion",this.motionHandler),this.motionHandler=null);return;case"contacts.pick":{if(!((Z=navigator.contacts)==null?void 0:Z.select))throw new St("UNSUPPORTED","Contact Picker API unavailable");const O=await navigator.contacts.select(["name","tel","email"]).catch(p=>{throw new St("DENIED",p.message)}),N=O==null?void 0:O[0];return N?{picked:!0,name:(X=N.name)==null?void 0:X[0],phones:N.tel,emails:N.email}:{picked:!1}}case"calendar.createEvent":throw new St("UNSUPPORTED","No calendar access on web");case"photos.pick":return this.pickImageFile(!1,!!r.dataUrl,r.maxSize);case"camera.capture":return this.pickImageFile(!0,!!r.dataUrl,r.maxSize);case"media.configureAudio":return;case"network.status":{const L=navigator.connection;return{online:navigator.onLine,type:(L==null?void 0:L.type)??(navigator.onLine?"unknown":"none")}}case"app.openUrl":case"browser.open":{if(!window.open(String(r.url??""),"_blank","noopener"))throw new St("DENIED","Popup blocked");return}case"app.openSettings":throw new St("UNSUPPORTED","No app settings page on web");case"billing.products":case"billing.purchase":case"billing.restore":case"billing.entitlements":case"billing.manageSubscriptions":throw new St("UNSUPPORTED","No in-app purchases on web — use a web checkout");case"push.requestPermission":case"push.register":case"push.unregister":throw new St("UNSUPPORTED","No native remote push on web — use Web Push (VAPID) in your app, or run inside the appwrap shell");default:throw new St("UNSUPPORTED",`Unknown method: ${i}`)}}on(i,o){if(i==="network.change"){const f=()=>o({online:navigator.onLine,type:navigator.onLine?"unknown":"none"});return window.addEventListener("online",f),window.addEventListener("offline",f),()=>{window.removeEventListener("online",f),window.removeEventListener("offline",f)}}if(i==="screen.orientation.change"){const f=screen==null?void 0:screen.orientation;if(!f)return()=>{};const d=()=>o(String(f.type??"").startsWith("landscape")?"landscape":"portrait");return f.addEventListener("change",d),()=>f.removeEventListener("change",d)}if(i==="app.pause"||i==="app.resume"){const f=()=>{const d=document.visibilityState==="hidden";i==="app.pause"===d&&o(void 0)};return document.addEventListener("visibilitychange",f),()=>document.removeEventListener("visibilitychange",f)}let r=this.listeners.get(i);return r||(r=new Set,this.listeners.set(i,r)),r.add(o),()=>r.delete(o)}emit(i,o){var r;(r=this.listeners.get(i))==null||r.forEach(f=>f(o))}pickImageFile(i,o=!1,r=1024){return new Promise(f=>{const d=document.createElement("input");d.type="file",d.accept="image/*",i&&d.setAttribute("capture","environment"),d.onchange=()=>{var y;const g=(y=d.files)==null?void 0:y[0];if(!g)return f({picked:!1});const b=new Image;b.onload=()=>{var M;const m={picked:!0,width:b.naturalWidth,height:b.naturalHeight};if(o){const A=Math.min(1,r/Math.max(b.naturalWidth,b.naturalHeight)),k=document.createElement("canvas");k.width=Math.round(b.naturalWidth*A),k.height=Math.round(b.naturalHeight*A),(M=k.getContext("2d"))==null||M.drawImage(b,0,0,k.width,k.height),m.dataUrl=k.toDataURL("image/jpeg",.85)}URL.revokeObjectURL(b.src),f(m)},b.onerror=()=>f({picked:!0}),b.src=URL.createObjectURL(g)},d.oncancel=()=>f({picked:!1}),d.click()})}showActionSheet(i,o,r){return new Promise(f=>{const d=document.createElement("div");d.style.cssText="position:fixed;inset:0;background:rgba(0,0,0,.4);z-index:99999;display:flex;align-items:flex-end";const g=document.createElement("div");g.style.cssText="width:100%;background:#1c1c22;color:#fff;border-radius:16px 16px 0 0;padding:12px;font:15px system-ui;display:flex;flex-direction:column;gap:6px";const b=m=>{d.remove(),f(m)};if(i){const m=document.createElement("div");m.textContent=i,m.style.cssText="text-align:center;opacity:.6;font-size:13px;padding:4px",g.appendChild(m)}const y=(m,M)=>{const A=document.createElement("button");A.textContent=m,A.style.cssText="background:#2a2a32;color:inherit;border:0;border-radius:10px;padding:12px;font:inherit;cursor:pointer",A.onclick=M,g.appendChild(A)};o.forEach((m,M)=>y(m,()=>b(M))),y(r,()=>b(null)),d.onclick=m=>{m.target===d&&b(null)},d.appendChild(g),document.body.appendChild(d)})}readSafeArea(){const i=document.createElement("div");i.style.cssText="position:fixed;visibility:hidden;pointer-events:none;padding:env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left)",document.body.appendChild(i);const o=getComputedStyle(i),r={top:parseFloat(o.paddingTop)||0,right:parseFloat(o.paddingRight)||0,bottom:parseFloat(o.paddingBottom)||0,left:parseFloat(o.paddingLeft)||0};return i.remove(),r}showToast(i,o){var f;(f=this.toastEl)==null||f.remove();const r=document.createElement("div");r.textContent=i,r.style.cssText="position:fixed;bottom:48px;left:50%;transform:translateX(-50%);background:rgba(20,20,24,.92);color:#fff;padding:10px 18px;border-radius:20px;font:14px/1.3 system-ui;z-index:99999;max-width:80vw;text-align:center;box-shadow:0 4px 16px rgba(0,0,0,.25)",document.body.appendChild(r),this.toastEl=r,setTimeout(()=>{r.remove(),this.toastEl===r&&(this.toastEl=null)},o)}}class cb{constructor(i){this.kit=i}get capability(){return this.kit.capability("app")}openUrl(i){return this.kit.invoke("app.openUrl",{url:i})}openSettings(){return this.kit.invoke("app.openSettings")}}class fb{constructor(i){this.readNative=i}async validate(i){return[{productId:i.productId,active:!0,purchasedAt:Date.now()}]}entitlements(){return this.readNative()}}class db{constructor(i){this.kit=i,this.validator=new fb(()=>this.nativeEntitlements())}get capability(){return this.kit.is.native?this.kit.capability("billing"):this.webProvider?"web":"none"}configure(i){i.validator&&(this.validator=i.validator),i.webProvider&&(this.webProvider=i.webProvider)}webProviderOrThrow(){if(!this.webProvider)throw new St("UNSUPPORTED","No web billing provider configured. On the web, wire one: kit.billing.configure({ webProvider: new HttpBillingProvider({ baseUrl: '/api/billing' }) })");return this.webProvider}async products(i){return await this.kit.ready(),this.kit.is.web?this.webProviderOrThrow().products(i):this.kit.invoke("billing.products",{ids:i})}async purchase(i){if(await this.kit.ready(),this.kit.is.web){const r=await this.webProviderOrThrow().purchase(i);return{receipt:{platform:"web",productId:i,raw:null},entitlements:r}}const o=await this.kit.invoke("billing.purchase",{productId:i},{timeoutMs:12e4});return{receipt:o,entitlements:await this.validator.validate(o)}}async restore(){if(await this.kit.ready(),this.kit.is.web){const r=this.webProviderOrThrow();return(r.restore??r.entitlements).call(r)}const i=await this.kit.invoke("billing.restore",void 0,{timeoutMs:6e4}),o=[];for(const r of i)o.push(...await this.validator.validate(r));return o}async entitlements(){return await this.kit.ready(),this.kit.is.web?this.webProviderOrThrow().entitlements():this.validator.entitlements()}async manageSubscriptions(){if(await this.kit.ready(),this.kit.is.web){const i=this.webProviderOrThrow();if(!i.manageSubscriptions)throw new St("UNSUPPORTED","This web billing provider has no subscription-management portal");return i.manageSubscriptions()}return this.kit.invoke("billing.manageSubscriptions")}onTransaction(i){return this.kit.on("billing.transaction",o=>i(o))}nativeEntitlements(){return this.kit.invoke("billing.entitlements")}}class hb{constructor(i){this.kit=i}get capability(){return this.kit.capability("biometrics")}available(){return this.kit.invoke("biometrics.available")}authenticate(i){return this.kit.invoke("biometrics.authenticate",{reason:i},{timeoutMs:6e4})}}class mb{constructor(i){this.kit=i}get capability(){return this.kit.capability("browser")}open(i,o={}){return this.kit.invoke("browser.open",{url:i,...o})}}class pb{constructor(i){this.kit=i}get capability(){return this.kit.capability("calendar")}createEvent(i){return this.kit.invoke("calendar.createEvent",i,{timeoutMs:12e4})}}class gb{constructor(i){this.kit=i}get capability(){return this.kit.capability("clipboard")}copy(i){return this.kit.invoke("clipboard.copy",{text:i})}read(){return this.kit.invoke("clipboard.read")}}class yb{constructor(i){this.kit=i}get capability(){return this.kit.capability("contacts")}pick(){return this.kit.invoke("contacts.pick",void 0,{timeoutMs:12e4})}}class vb{constructor(i){this.kit=i}get capability(){return this.kit.capability("device")}info(){return this.kit.invoke("device.info")}}class bb{constructor(i){this.kit=i}get capability(){return this.kit.capability("geo")}current(){return this.kit.invoke("geo.current",void 0,{timeoutMs:6e4})}async watch(i){const o=this.kit.on("geo.position",f=>i(f));try{await this.kit.invoke("geo.watch.start",void 0,{timeoutMs:6e4})}catch(f){throw o(),f}let r=!1;return()=>{r||(r=!0,o(),this.kit.invoke("geo.watch.stop").catch(f=>console.warn("[native-kit] geo.watch.stop failed",f)))}}}class Sb{constructor(i){this.kit=i}get capability(){return this.kit.capability("haptics")}impact(i="medium"){return this.kit.invoke("haptics.impact",{style:i})}notify(i){return this.kit.invoke("haptics.notify",{type:i})}}class wb{constructor(i){this.kit=i}onPause(i){return this.kit.on("app.pause",()=>i())}onResume(i){return this.kit.on("app.resume",()=>i())}onDeepLink(i){return this.kit.on("deeplink.open",o=>i(o.url))}}class Eb{constructor(i){this.kit=i}get capability(){return this.kit.capability("media")}get available(){var i;return typeof navigator<"u"&&!!((i=navigator.mediaDevices)!=null&&i.getUserMedia)}ensurePermission(i){return this.capability!=="native"?Promise.resolve({}):this.kit.invoke("media.ensurePermission",i)}async getUserMedia(i){if(!this.available)throw Object.assign(new Error("getUserMedia unavailable (insecure context?)"),{code:"UNSUPPORTED"});return await this.ensurePermission({audio:!!i.audio,video:!!i.video}).catch(()=>{}),navigator.mediaDevices.getUserMedia(i)}async devices(){var o;return(o=navigator.mediaDevices)!=null&&o.enumerateDevices?(await navigator.mediaDevices.enumerateDevices()).map(r=>({kind:r.kind,label:r.label,deviceId:r.deviceId})):[]}configureAudio(i="playback"){return this.capability!=="native"?Promise.resolve():this.kit.invoke("media.configureAudio",{mode:i})}stop(i){i==null||i.getTracks().forEach(o=>o.stop())}}class xb{constructor(i){this.kit=i}get capability(){return this.kit.capability("motion")}async watch(i){const o=this.kit.on("motion.data",f=>i(f));try{await this.kit.invoke("motion.start")}catch(f){throw o(),f}let r=!1;return()=>{r||(r=!0,o(),this.kit.invoke("motion.stop").catch(f=>console.warn("[native-kit] motion.stop failed",f)))}}}class Ab{constructor(i){this.kit=i}get capability(){return this.kit.capability("network")}status(){return this.kit.invoke("network.status")}onChange(i){return this.kit.on("network.change",o=>i(o))}}class _b{constructor(i){this.kit=i}get capability(){return this.kit.capability("notifications")}requestPermission(){return this.kit.invoke("notifications.requestPermission",void 0,{timeoutMs:6e4})}schedule(i){return this.kit.invoke("notifications.schedule",i)}pending(){return this.kit.invoke("notifications.pending")}setBadge(i){return this.kit.invoke("notifications.setBadge",{count:i})}clear(){return this.kit.invoke("notifications.clear")}}class Tb{constructor(i){this.kit=i}get capability(){return this.kit.capability("photos")}get cameraCapability(){return this.kit.capability("camera")}pick(i){return this.kit.invoke("photos.pick",i,{timeoutMs:12e4})}capture(i){return this.kit.invoke("camera.capture",i,{timeoutMs:12e4})}}class Mb{constructor(i){this.kit=i}get capability(){return this.kit.is.native?this.kit.capability("push"):"none"}requestPermission(){return this.kit.invoke("push.requestPermission",void 0,{timeoutMs:6e4})}register(){return this.kit.invoke("push.register",void 0,{timeoutMs:3e4})}unregister(){return this.kit.invoke("push.unregister")}onMessage(i){return this.kit.on("push.message",o=>i(o))}onTap(i){return this.kit.on("push.tap",o=>i(o))}}class Db{constructor(i){this.kit=i}get capability(){return this.kit.capability("reviews")}requestReview(){return this.kit.invoke("reviews.requestReview")}}class Rb{constructor(i){this.orientation=new Cb(i)}}class Cb{constructor(i){this.kit=i}get capability(){return this.kit.capability("orientation")}lock(i){return this.kit.invoke("screen.orientation.lock",{orientation:i})}unlock(){return this.kit.invoke("screen.orientation.unlock")}current(){return this.kit.invoke("screen.orientation.current")}onChange(i){return this.kit.on("screen.orientation.change",o=>i(o))}}class zb{constructor(i){this.kit=i}get capability(){return this.kit.capability("share")}get filesCapability(){return this.kit.capability("shareFiles")}share(i){return this.kit.invoke("share.share",i)}files(i,o){return this.kit.invoke("share.files",{files:i,...o})}}class Ob{constructor(i){this.kit=i}get capability(){return this.kit.capability("secureStorage")}get(i){return this.kit.invoke("storage.secure.get",{key:i})}set(i,o){return this.kit.invoke("storage.secure.set",{key:i,value:o})}remove(i){return this.kit.invoke("storage.secure.remove",{key:i})}}class Nb{constructor(i){this.kit=i,this.secure=new Ob(i)}get capability(){return this.kit.capability("storage")}get(i){return this.kit.invoke("storage.get",{key:i})}set(i,o){return this.kit.invoke("storage.set",{key:i,value:o})}remove(i){return this.kit.invoke("storage.remove",{key:i})}clear(){return this.kit.invoke("storage.clear")}}class kb{constructor(i){this.kit=i}get capability(){return this.kit.capability("toast")}show(i,o="short"){return this.kit.invoke("toast.show",{message:i,duration:o})}}function Ub(u){const i=u.trim().replace("#",""),o=i.length===3?i.split("").map(g=>g+g).join(""):i;if(o.length<6)return!1;const r=parseInt(o.slice(0,2),16),f=parseInt(o.slice(2,4),16),d=parseInt(o.slice(4,6),16);return(.299*r+.587*f+.114*d)/255>.6}class jb{constructor(i){this.kit=i}get statusBarCapability(){return this.kit.capability("statusBar")}get screenCapability(){return this.kit.capability("screen")}get dialogsCapability(){return this.kit.capability("dialogs")}get themeColorCapability(){return this.kit.capability("themeColor")}setStatusBarStyle(i){return this.kit.invoke("ui.statusBar.setStyle",{style:i})}safeArea(){return this.kit.invoke("ui.safeArea")}getBrightness(){return this.kit.invoke("ui.brightness.get")}setBrightness(i){return this.kit.invoke("ui.brightness.set",{level:i})}keepAwake(i){return this.kit.invoke("ui.keepAwake",{on:i})}alert(i){return this.kit.invoke("ui.alert",i,{timeoutMs:12e4})}confirm(i){return this.kit.invoke("ui.confirm",i,{timeoutMs:12e4})}action(i){return this.kit.invoke("ui.action",i,{timeoutMs:12e4})}setBackgroundColor(i){return this.kit.invoke("ui.setBackgroundColor",{color:i})}syncThemeColor(){if(this.themeColorCapability!=="native")return()=>{};const i=()=>{const r=document.querySelector('meta[name="theme-color"]');r!=null&&r.content&&(this.setBackgroundColor(r.content).catch(f=>console.warn("[native-kit] setBackgroundColor failed",f)),this.setStatusBarStyle(Ub(r.content)?"dark":"light").catch(()=>{}))};i();const o=new MutationObserver(i);return o.observe(document.head,{subtree:!0,childList:!0,attributes:!0,attributeFilter:["content"]}),()=>o.disconnect()}}class Lb{constructor(){this.adapters=[new ub,new ob],this.handshakeTimeoutMs=3e3}}class Bb{constructor(i){this.haptics=new Sb(this),this.share=new zb(this),this.screen=new Rb(this),this.storage=new Nb(this),this.toast=new kb(this),this.ui=new jb(this),this.device=new vb(this),this.clipboard=new gb(this),this.notifications=new _b(this),this.push=new Mb(this),this.biometrics=new hb(this),this.geo=new bb(this),this.photos=new Tb(this),this.network=new Ab(this),this.lifecycle=new wb(this),this.reviews=new Db(this),this.motion=new xb(this),this.media=new Eb(this),this.contacts=new yb(this),this.calendar=new pb(this),this.app=new cb(this),this.browser=new mb(this),this.billing=new db(this),this.handshakeInfo=null,this.adapter=null,this.readyPromise=null,this.options={...new Lb,...i}}ready(){return this.readyPromise||(this.readyPromise=(async()=>{const i=this.options.adapters.find(r=>r.detect());if(!i)throw new St("NOT_READY","No adapter detected this environment");this.adapter=i;const o=await i.handshake(this.options.handshakeTimeoutMs);if(o.protocol!==hm)throw new St("UNSUPPORTED",`Shell protocol v${o.protocol} ≠ kit protocol v${hm} — the native wrapper is out of date. Re-run \`appwrap init\` to regenerate it.`);return this.handshakeInfo=o,this.handshakeInfo})()),this.readyPromise}get is(){var i,o;return{native:((i=this.adapter)==null?void 0:i.kind)==="appwrap",web:((o=this.adapter)==null?void 0:o.kind)==="web"}}get platform(){var i;return((i=this.handshakeInfo)==null?void 0:i.platform)??"web"}capability(i){var o;return((o=this.handshakeInfo)==null?void 0:o.capabilities[i])??"none"}async invoke(i,o,r){return this.adapter||await this.ready(),this.adapter.invoke(i,o,r)}on(i,o){if(!this.adapter){let r=null,f=!1;return this.ready().then(()=>{f||(r=this.adapter.on(i,o))}).catch(()=>{}),()=>{f=!0,r==null||r()}}return this.adapter.on(i,o)}}const Hb=new Bb,qb=pi.forComponent("DeepLinks");function Yb(u){try{const i=new URL(u);return i.protocol==="http:"||i.protocol==="https:"?`${i.pathname}${i.search}${i.hash}`||"/":`${i.hostname?`/${i.hostname}`:""}${i.pathname}${i.search}${i.hash}`||"/"}catch{return null}}function Vb(){const u=dl();E.useEffect(()=>Hb.lifecycle.onDeepLink(o=>{const r=Yb(o);qb.info("deep link",o,"→",r),r&&u(r)}),[u])}/**
 * @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 Wm=(...u)=>u.filter((i,o,r)=>!!i&&i.trim()!==""&&r.indexOf(i)===o).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 Gb=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 Xb=u=>u.replace(/^([A-Z])|[\s-_]+(\w)/g,(i,o,r)=>r?r.toUpperCase():o.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 mm=u=>{const i=Xb(u);return i.charAt(0).toUpperCase()+i.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 Qb={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 Zb=u=>{for(const i in u)if(i.startsWith("aria-")||i==="role"||i==="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 Kb=E.forwardRef(({color:u="currentColor",size:i=24,strokeWidth:o=2,absoluteStrokeWidth:r,className:f="",children:d,iconNode:g,...b},y)=>E.createElement("svg",{ref:y,...Qb,width:i,height:i,stroke:u,strokeWidth:r?Number(o)*24/Number(i):o,className:Wm("lucide",f),...!d&&!Zb(b)&&{"aria-hidden":"true"},...b},[...g.map(([m,M])=>E.createElement(m,M)),...Array.isArray(d)?d:[d]]));/**
 * @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 za=(u,i)=>{const o=E.forwardRef(({className:r,...f},d)=>E.createElement(Kb,{ref:d,iconNode:i,className:Wm(`lucide-${Gb(mm(u))}`,`lucide-${u}`,r),...f}));return o.displayName=mm(u),o};/**
 * @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 Jb=[["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"}]],pm=za("bell",Jb);/**
 * @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 $b=[["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"}]],Pb=za("brain",$b);/**
 * @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 Wb=[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]],Fb=za("chevron-down",Wb);/**
 * @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 Ib=[["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"}]],t1=za("download",Ib);/**
 * @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 e1=[["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"}]],a1=za("mail",e1);/**
 * @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 n1=[["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"}]],l1=za("refresh-cw",n1);/**
 * @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 i1=[["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"}]],u1=za("shield",i1);/**
 * @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 s1=[["rect",{width:"14",height:"20",x:"5",y:"2",rx:"2",ry:"2",key:"1yt0o3"}],["path",{d:"M12 18h.01",key:"mhygvu"}]],r1=za("smartphone",s1);/**
 * @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 o1=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],Fm=za("x",o1),Me=pi.forComponent("PWA");function po(u){if(Km()){Me.debug("Baked native bundle — skipping deploy watch (reload cannot pull a newer build)");return}let i="0.81.22";We.on("_meta/buildId",o=>{const r=o.val(),f=r==null?void 0:r.version;!f||f===i||(Me.info("Deploy detected:",i,"→",f,r==null?void 0:r.sha),i=f,window.dispatchEvent(new Event("sw-update-available")),u&&u.update().catch(()=>{}))})}async function c1(){if(!("serviceWorker"in navigator))return po(null),null;try{const u=await navigator.serviceWorker.register("/sw.js",{scope:"/",updateViaCache:"none"});po(u),u.addEventListener("updatefound",()=>{const r=u.installing;r&&r.addEventListener("statechange",()=>{r.state==="installed"&&navigator.serviceWorker.controller&&(Me.info("New version available"),window.dispatchEvent(new Event("sw-update-available")))})});const i=!!navigator.serviceWorker.controller;let o=!1;return navigator.serviceWorker.addEventListener("controllerchange",()=>{o||!i||(o=!0,window.location.reload())}),u}catch(u){return Me.error("Registration failed:",u),po(null),null}}function xo(){return window.matchMedia("(display-mode: standalone)").matches||window.navigator.standalone===!0}function Im(){return"BJbImCE9AHcqUcia8T2874gKINQDB4aPyNZgAg0fEuS5GrAgCOIuYeGbLGI5aBhPKmuG64SHDW-XtBJXE7B2-Xw"}const gm="push-device-id";let Uu=null;function Qu(){if(Uu)return Uu;try{const i=localStorage.getItem(gm);if(i)return Uu=i}catch(i){Me.warn("device id read failed, using a session-only id",i)}const u=`dev_${Date.now().toString(36)}_${Math.random().toString(36).slice(2,10)}`;Uu=u;try{localStorage.setItem(gm,u)}catch(i){Me.warn("device id persist failed",i)}return u}async function f1(){return"Notification"in window?Notification.permission==="granted"?"granted":Notification.requestPermission():"denied"}async function t0(u,i){Me.debug("subscribeToPush called, key:",(u==null?void 0:u.slice(0,20))+"...");const o=await navigator.serviceWorker.ready;if(!o.pushManager)return Me.error("No pushManager on registration"),null;try{let r=await o.pushManager.getSubscription();if(Me.debug("existing subscription:",r?"yes":"none"),r&&(i!=null&&i.force)&&(await r.unsubscribe().catch(f=>(Me.warn("unsubscribe before resubscribe failed",f),!1)),r=null),!r){Me.debug("creating new subscription...");const f=d1(u);Me.debug("appServerKey length:",f.length),r=await o.pushManager.subscribe({userVisibleOnly:!0,applicationServerKey:f}),Me.debug("subscribed! endpoint:",r.endpoint.slice(0,60))}return{endpoint:r.endpoint,keys:{p256dh:ym(r.getKey("p256dh")),auth:ym(r.getKey("auth"))}}}catch(r){return Me.error("Push subscription failed:",r),null}}function d1(u){const i="=".repeat((4-u.length%4)%4),o=(u+i).replace(/-/g,"+").replace(/_/g,"/"),r=window.atob(o),f=new Uint8Array(r.length);for(let d=0;d<r.length;++d)f[d]=r.charCodeAt(d);return f}function ym(u){const i=new Uint8Array(u);let o="";for(let r=0;r<i.byteLength;r++)o+=String.fromCharCode(i[r]);return window.btoa(o)}function h1(){const{user:u}=An(),[i,o]=E.useState(null),[r,f]=E.useState(!1);E.useEffect(()=>{if(!u||xo()||localStorage.getItem("pwa-install-dismissed")==="true"||!localStorage.getItem("para-has-returned"))return;const m=k=>{k.preventDefault(),o(k),f(!0)};window.addEventListener("beforeinstallprompt",m);const M=/iPhone|iPad|iPod|Android/i.test(navigator.userAgent);let A;return M&&(A=setTimeout(()=>f(!0),5e3)),()=>{window.removeEventListener("beforeinstallprompt",m),clearTimeout(A)}},[u]);const d=async()=>{if(i)try{await i.prompt();const{outcome:m}=await i.userChoice;m==="accepted"&&f(!1),o(null)}catch{}},g=()=>{f(!1),localStorage.setItem("pwa-install-dismissed","true")};if(!u||!r||xo())return null;const b=/iPhone|iPad|iPod/i.test(navigator.userAgent),y=/Android/i.test(navigator.userAgent);return w.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:[w.jsx("button",{onClick:g,className:"absolute top-2 right-2 text-muted hover:text-text",children:w.jsx(Fm,{className:"w-4 h-4"})}),w.jsxs("div",{className:"flex items-start gap-3",children:[w.jsx("div",{className:"p-2 rounded-lg bg-accent/20",children:w.jsx(r1,{className:"w-5 h-5 text-accent"})}),w.jsxs("div",{className:"flex-1 space-y-2",children:[w.jsx("h3",{className:"font-semibold text-micro",children:"Install Para"}),i?w.jsxs(w.Fragment,{children:[w.jsx("p",{className:"text-micro text-muted",children:"Add Para to your home screen for quick access."}),w.jsxs("button",{onClick:d,className:"w-full mt-2 flex items-center justify-center gap-2 px-3 py-2 text-micro font-medium rounded-lg bg-accent text-white hover:bg-accent-hover transition-colors",children:[w.jsx(t1,{className:"w-4 h-4"}),"Install App"]})]}):b?w.jsxs("div",{className:"text-micro text-muted space-y-1",children:[w.jsx("p",{children:"To install on iOS:"}),w.jsxs("ol",{className:"list-decimal list-inside space-y-0.5 pl-1",children:[w.jsx("li",{children:"Tap the Share button"}),w.jsx("li",{children:'Tap "Add to Home Screen"'}),w.jsx("li",{children:'Tap "Add"'})]})]}):y?w.jsxs("div",{className:"text-micro text-muted space-y-1",children:[w.jsx("p",{children:"To install on Android:"}),w.jsxs("ol",{className:"list-decimal list-inside space-y-0.5 pl-1",children:[w.jsx("li",{children:"Tap the menu button (⋮)"}),w.jsx("li",{children:'Tap "Install app"'})]})]}):w.jsx("p",{className:"text-micro text-muted",children:"Visit on your mobile device to install."})]})]})]})}const m1=u=>`users/${u}/pushSubscriptions`,Ho=(u,i)=>`${m1(u)}/${i}`,p1=u=>`users/${u}/pushSubscription`;function g1(u){return!!u&&(u.type===void 0||u.type==="webpush")}function Bu(u){if(!g1(u))return!1;const i=o=>typeof o=="string"&&o.length>0;return i(u.endpoint)&&!!u.keys&&i(u.keys.p256dh)&&i(u.keys.auth)}function e0(u,i){return{type:"webpush",endpoint:u.endpoint,keys:{p256dh:u.keys.p256dh,auth:u.keys.auth},updatedAt:Date.now(),...i!=null&&i.ua?{ua:i.ua}:{}}}const Be=pi.forComponent("PushSync"),y1=3600*1e3,go=u=>`push-sync-last-repair:${u}`,oi=u=>`push-sync-had-record:${u}:${Qu()}`;function aa(u,i){try{if(u==="get")return localStorage.getItem(i);u==="set"?localStorage.setItem(i,"1"):localStorage.removeItem(i)}catch(o){Be.warn(`localStorage ${u} failed for ${i}`,o)}return null}const v1="push-prompt-dismissed",Yu=u=>`push-prompt-rearmed:${u}`;function a0(u){aa("del",v1),aa("del",Yu(u))}function b1(u){return aa("get",Yu(u))!==null?!1:(a0(u),aa("set",Yu(u)),Be.info("push is gone on both sides — re-arming the enable card once"),!0)}function vm(u){aa("del",Yu(u))}async function S1(u,i){const o=await Ao(u,Ho(i,Qu()));return o===void 0?null:Bu(o)}const bm=new Set;async function n0(u,i,o){const r=typeof navigator<"u"?navigator.userAgent.slice(0,120):void 0;await u.set(Ho(i,Qu()),e0(o,{ua:r})),aa("set",oi(i))}async function Ao(u,i){try{return(await u.client.getSnapshot(i)).val()??null}catch(o){Be.warn("could not read stored subscription",o);return}}function TS(u,i){E.useEffect(()=>{!i||bm.has(i)||!("Notification"in window)||!("PushManager"in window)||!("serviceWorker"in navigator)||Notification.permission==="granted"&&(bm.add(i),w1(u,i).catch(o=>Be.error("push sync failed",o)))},[i])}async function w1(u,i){var A,k;const r=(k=await((A=(await navigator.serviceWorker.ready).pushManager)==null?void 0:A.getSubscription()))==null?void 0:k.endpoint,f=Ho(i,Qu()),d=await Ao(u,f);if(d===void 0)return;if(d===null){const Q=await Ao(u,p1(i));if(Q===void 0)return;if(r&&Bu(Q)&&Q.endpoint===r){await u.set(f,e0(Q,{ua:navigator.userAgent.slice(0,120)})).then(()=>{aa("set",oi(i)),Be.info("migrated legacy push subscription to a device record")}).catch(Z=>Be.error("legacy push subscription migration failed",Z));return}}if(Bu(d)&&d.endpoint===r){aa("set",oi(i)),Be.debug("in sync, no write");return}if(!r&&d===null){Be.debug("no subscription on either side — nothing to reconcile");return}const g=Number(localStorage.getItem(go(i))??0);if(Date.now()-g<y1){Be.warn("subscription drift, but a repair was attempted recently — skipping");return}localStorage.setItem(go(i),String(Date.now()));const b=Im(),y=aa("get",oi(i))!==null,m=d===null&&!!r&&y;Be.info("push subscription drift — reconciling",{browser:r?"present":"none",server:d===null?"missing":Bu(d)?"stale":"malformed",hadRecord:y,remint:m});const M=await t0(b,{force:m});if(!M){m&&(aa("del",oi(i)),aa("del",go(i)),a0(i)),Be.warn("resubscribe failed — left without a push subscription",{remint:m});return}await n0(u,i,M).then(()=>Be.info("push subscription repaired")).catch(Q=>Be.error("failed to store repaired subscription",Q))}const Ra=pi.forComponent("PushPrompt");function E1(){const{user:u}=An(),[i,o]=E.useState(!1),[r,f]=E.useState(!1);E.useEffect(()=>{if(!u||!xo()||!("Notification"in window)||!("PushManager"in window)||Notification.permission==="denied")return;const b=localStorage.getItem("push-prompt-dismissed")==="true";if(Notification.permission==="granted"){navigator.serviceWorker.ready.then(async m=>{if(await m.pushManager.getSubscription()){vm(u.id);return}if(!b){o(!0);return}await S1(We,u.id)===!1&&b1(u.id)&&o(!0)}).catch(m=>Ra.warn("could not check push state",m));return}if(b)return;const y=setTimeout(()=>o(!0),3e3);return()=>clearTimeout(y)},[u]);const d=async()=>{if(u){f(!0);try{Ra.debug("requesting permission...");const b=await f1();if(Ra.debug("permission:",b),b!=="granted"){o(!1),localStorage.setItem("push-prompt-dismissed","true");return}const y=Im();Ra.debug("VAPID key:",y?y.slice(0,20)+"...":"NOT SET"),Ra.debug("subscribing to push...");const m=await t0(y);if(Ra.debug("subscription:",m?"ok":"null"),!m)return;Ra.debug("saving subscription to DB..."),await n0(We,u.id,m),vm(u.id),Ra.debug("done!"),o(!1)}catch(b){Ra.error("failed:",b)}finally{f(!1)}}},g=()=>{o(!1),localStorage.setItem("push-prompt-dismissed","true")};return i?w.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:[w.jsx("button",{onClick:g,className:"absolute top-2 right-2 text-muted hover:text-text",children:w.jsx(Fm,{className:"w-4 h-4"})}),w.jsxs("div",{className:"flex items-start gap-3",children:[w.jsx("div",{className:"p-2 rounded-lg bg-accent/20",children:w.jsx(pm,{className:"w-5 h-5 text-accent"})}),w.jsxs("div",{className:"flex-1 space-y-2",children:[w.jsx("h3",{className:"font-semibold text-micro",children:"Enable Notifications"}),w.jsx("p",{className:"text-micro text-muted",children:"Get notified when Para replies, even when the app is in the background."}),w.jsxs("button",{onClick:d,disabled:r,className:"w-full mt-2 flex items-center justify-center gap-2 px-3 py-2 text-micro font-medium rounded-lg bg-accent text-white hover:bg-accent-hover transition-colors disabled:opacity-50",children:[w.jsx(pm,{className:"w-4 h-4"}),r?"Enabling...":"Enable Notifications"]})]})]})]}):null}function x1(){const[u,i]=E.useState(!1);return E.useEffect(()=>{var r;const o=()=>i(!0);return window.addEventListener("sw-update-available",o),(r=navigator.serviceWorker)==null||r.getRegistration().then(f=>{f!=null&&f.waiting&&o()}),()=>window.removeEventListener("sw-update-available",o)},[]),u?w.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:w.jsxs("div",{className:"flex items-center gap-3",children:[w.jsx(l1,{className:"w-5 h-5 text-accent shrink-0"}),w.jsx("p",{className:"text-micro flex-1",children:"A new version is available."}),w.jsx("button",{onClick:async()=>{var r;const o=await((r=navigator.serviceWorker)==null?void 0:r.getRegistration());o!=null&&o.waiting?o.waiting.postMessage({type:"SKIP_WAITING"}):window.location.reload()},className:"px-3 py-1.5 text-micro font-medium rounded-lg bg-accent text-white hover:bg-accent-hover transition-colors shrink-0",children:"Reload"})]})}):null}const Sm=[{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"}],A1=["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"],_1=["_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"],T1=["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"],M1=["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"],D1=["liv","livshitz","elya"],R1=new Set([...A1,..._1,...T1,...M1,...D1]);function C1(u){return u.toLowerCase().replace(/\./g,"")}function z1(u){return R1.has(C1(u))}function O1({variant:u,ctaLabel:i="Claim your handle"}){const o=dl(),[r,f]=E.useState(""),[d,g]=E.useState(""),[b,y]=E.useState("idle"),[m,M]=E.useState(""),[A,k]=E.useState(!1),Q=E.useRef(null),Z=E.useRef({handle:!1,email:!1}),X=E.useCallback(N=>{Z.current[N]||(Z.current[N]=!0,pt.event(`lp_${N}_focus`,{variant:u}))},[u]),L=N=>{const p=N.toLowerCase().replace(/[^a-z0-9_.]/g,"");f(p);const $=p.replace(/\./g,"");if(Q.current&&clearTimeout(Q.current),!$){y("idle");return}if(!/^[a-z0-9_]{3,20}$/.test($)){y("invalid");return}if(z1($)){y("reserved");return}y("checking"),Q.current=setTimeout(async()=>{try{const tt=await We.get(`_handle_avail/${$}`)?"taken":"available";tt==="taken"&&pt.event("lp_handle_taken",{handle:$,variant:u}),y(tt)}catch{y("available")}},400)},O=async N=>{if(N.preventDefault(),!(b!=="available"||!d)){M(""),k(!0),pt.event("lp_claim_attempt",{handle:r,variant:u}),pt.metric("lp_claim_attempt",1,{variant:u});try{pt.leads.collect({email:d,name:r,source:`lp-${u}`,meta:{handle:r,variant:u}}).catch(()=>{});const p=r.replace(/\./g,""),$=`claim_${Date.now().toString(36)}_${Math.random().toString(36).slice(2,6)}`;await We.set(`_handle_claims/${$}`,{handle:p,email:d,variant:u,ts:Date.now()}),o(`/claiming/${p}?claim=${$}`)}catch(p){pt.event("lp_claim_error",{handle:r,variant:u,error:p.message}),M(p.message??"Failed to claim handle")}finally{k(!1)}}};return w.jsxs("form",{onSubmit:O,className:"space-y-4",children:[w.jsxs("div",{children:[w.jsxs("div",{className:"flex items-center bg-bg border border-border rounded-lg overflow-hidden focus-within:border-accent",children:[w.jsx("input",{type:"text",placeholder:"yourname",value:r,onChange:N=>L(N.target.value),onFocus:()=>X("handle"),maxLength:20,autoFocus:!0,className:"flex-1 px-3 py-3 bg-transparent text-text text-body text-right focus:outline-none"}),w.jsx("span",{className:"pr-3 text-muted text-body",children:"@para.li"})]}),w.jsxs("div",{className:"h-5 mt-1 text-micro text-left pl-1",children:[b==="checking"&&w.jsx("span",{className:"text-muted",children:"Checking..."}),b==="available"&&w.jsxs("span",{className:"text-green-400",children:["@",r," is yours"]}),b==="taken"&&w.jsxs("span",{className:"text-danger",children:["@",r," is taken"]}),b==="reserved"&&w.jsxs("span",{className:"text-danger",children:["@",r," is reserved"]}),b==="invalid"&&r&&w.jsx("span",{className:"text-danger",children:"3-20 chars: letters, numbers, underscore"})]})]}),w.jsx("input",{type:"email",inputMode:"email",placeholder:"Your email",value:d,onChange:N=>g(N.target.value),onFocus:()=>X("email"),required:!0,autoComplete:"email",className:"w-full px-3 py-3 bg-bg border border-border rounded-lg text-text text-body focus:outline-none focus:border-accent"}),w.jsx("button",{type:"submit",disabled:b!=="available"||!d||A,className:"w-full py-3 bg-accent hover:bg-accent-hover text-bg font-semibold rounded-lg text-body transition-colors disabled:opacity-40",children:A?"Claiming...":i}),m&&w.jsx("p",{className:"text-danger text-micro text-center",children:m})]})}function N1(){const u=Pm("lp-variant"),i=(u==null?void 0:u.toUpperCase())??"A",o=Sm.find(r=>r.id===i)??Sm[0];return E.useEffect(()=>{pt.event("lp_view",{variant:o.id}),pt.metric("lp_load_ms",performance.now(),{unit:"ms",variant:o.id})},[o.id]),w.jsxs(w.Fragment,{children:[w.jsxs("div",{className:"relative min-h-screen flex items-center justify-center px-4",children:[w.jsxs("div",{className:"relative z-10 text-center space-y-8 w-full max-w-md",children:[w.jsxs("div",{className:"space-y-3",children:[w.jsx("h1",{className:"text-hero font-bold text-text tracking-tight text-balance",children:o.headline}),w.jsx("p",{className:"text-body text-muted",children:o.subtitle})]}),w.jsx(O1,{variant:o.id})]}),w.jsx(jo,{to:"/chat-auth",onClick:()=>pt.event("lp_signin_click",{variant:o.id}),className:"absolute bottom-14 left-1/2 -translate-x-1/2 text-micro text-muted hover:text-text no-underline",children:"Already have an account? Sign in"}),w.jsx("button",{onClick:()=>{var r;pt.event("lp_scroll_how",{variant:o.id}),(r=document.getElementById("how-it-works"))==null||r.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:w.jsx(Fb,{size:20})}),!1]}),w.jsx("section",{id:"how-it-works",className:"relative py-24 px-4 bg-surface/80 backdrop-blur-sm border-t border-border",children:w.jsxs("div",{className:"max-w-3xl mx-auto",children:[w.jsx("p",{className:"text-micro font-medium text-accent text-center tracking-widest uppercase mb-3",children:"How it works"}),w.jsx("h2",{className:"text-title font-bold text-text text-center mb-16",children:"Three steps. No setup."}),w.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-3 gap-10 sm:gap-6",children:k1.map((r,f)=>w.jsxs("div",{className:"relative bg-bg rounded-xl border border-border p-6 text-center space-y-4",children:[w.jsx("div",{className:"absolute -top-3 left-1/2 -translate-x-1/2 w-7 h-7 rounded-full bg-accent text-bg text-micro font-bold flex items-center justify-center",children:f+1}),w.jsx("div",{className:"w-12 h-12 mx-auto rounded-lg bg-accent/10 flex items-center justify-center mt-2",children:w.jsx(r.icon,{size:24,className:"text-accent"})}),w.jsx("h3",{className:"text-body font-semibold text-text",children:r.title}),w.jsx("p",{className:"text-body text-text-secondary",children:r.desc})]},r.title))})]})})]})}const k1=[{icon:a1,title:"Claim your handle",desc:"Pick your @para.li email. It's yours — forever."},{icon:Pb,title:"Your AI learns your style",desc:"Reply once and your Para picks up your tone, priorities, and boundaries."},{icon:u1,title:"It handles the rest",desc:"Para screens strangers, replies on your behalf, and only pings you when it matters."}],U1=Rt(()=>Dt(()=>import("./Auth-C-oeDRmM.js"),__vite__mapDeps([0,1])).then(u=>({default:u.ChatAuthPage}))),j1=Rt(()=>Dt(()=>import("./Onboard-CLRHc_4t.js"),__vite__mapDeps([2,0,1,3,4,5])).then(u=>({default:u.OnboardPage}))),L1=Rt(()=>Dt(()=>import("./Creating-BH7kWFX2.js"),[]).then(u=>({default:u.CreatingPage}))),B1=Rt(()=>Dt(()=>import("./MainLayout-WdLr5QBa.js"),__vite__mapDeps([6,7,8,9,10])).then(u=>({default:u.MainLayout}))),H1=Rt(()=>Dt(()=>import("./ChatList-CJWSI7-r.js"),__vite__mapDeps([11,7,8,12])).then(u=>({default:u.ChatList}))),q1=Rt(()=>Dt(()=>import("./ChatView-CjQkm15O.js"),__vite__mapDeps([13,14,7,15,16,17,1,18,19,20,21])).then(u=>({default:u.ChatView}))),Y1=Rt(()=>Dt(()=>import("./Discover-DlwqdwQK.js"),__vite__mapDeps([22,23,17,12,24,8,18])).then(u=>({default:u.DiscoverView}))),V1=Rt(()=>Dt(()=>import("./Inbox-DabVdlv6.js"),__vite__mapDeps([25,15,16,9,26])).then(u=>({default:u.InboxListView}))),G1=Rt(()=>Dt(()=>import("./InboxDetail-BngUMOfF.js"),__vite__mapDeps([27,15,16,1,26,5,28,18,21,19])).then(u=>({default:u.InboxDetailView}))),X1=Rt(()=>Dt(()=>import("./TopicDetail-DCsakGhs.js"),__vite__mapDeps([29,23,14,4,24])).then(u=>({default:u.TopicDetailView}))),Q1=Rt(()=>Dt(()=>import("./Notifications-BFX6ARPP.js"),__vite__mapDeps([30,14,24,8])).then(u=>({default:u.NotificationsView}))),Z1=Rt(()=>Dt(()=>import("./Settings-CJzff_a2.js"),__vite__mapDeps([31,32,7,17])).then(u=>({default:u.SettingsView}))),K1=Rt(()=>Dt(()=>import("./NotificationTest-DIFqXQvb.js"),__vite__mapDeps([33,1,21,18,28])).then(u=>({default:u.NotificationTestPage}))),J1=Rt(()=>Dt(()=>import("./Share-BbGK2rAA.js"),[]).then(u=>({default:u.SharePage}))),$1=Rt(()=>Dt(()=>import("./Claiming-B7Gdbd7z.js"),__vite__mapDeps([34,16])).then(u=>({default:u.ClaimingPage}))),P1=Rt(()=>Dt(()=>import("./Signin-Bw3wX5c2.js"),__vite__mapDeps([35,16])).then(u=>({default:u.SigninPage}))),W1=Rt(()=>Dt(()=>import("./Demo-B_pYLQ_P.js"),__vite__mapDeps([36,37,38,39,18,40,32])).then(u=>({default:u.DemoPage}))),F1=Rt(()=>Dt(()=>import("./DemoOnboarding-xNSOtVtu.js"),__vite__mapDeps([41,38,39,18,1,42])).then(u=>({default:u.DemoOnboardingPage}))),I1=Rt(()=>Dt(()=>import("./JobChannel-DK6_F1Dn.js"),__vite__mapDeps([43,44,45,7,14,16,1,3,20,8,21,46,47,48])).then(u=>({default:u.JobChannel}))),tS=Rt(()=>Dt(()=>import("./JobChannel-DK6_F1Dn.js"),__vite__mapDeps([43,44,45,7,14,16,1,3,20,8,21,46,47,48])).then(u=>({default:u.JobLauncher}))),eS=Rt(()=>Dt(()=>import("./AdminTrace-DTaG-vCw.js"),__vite__mapDeps([49,8,1,5])).then(u=>({default:u.AdminTraceView}))),aS=Rt(()=>Dt(()=>import("./AdminReports-CmtM9tMj.js"),__vite__mapDeps([50,10])).then(u=>({default:u.AdminReportsView}))),nS=Rt(()=>Dt(()=>import("./InChatFunnel-jkGfckzB.js"),__vite__mapDeps([51,37,38,39,18,52,44,45,7,14,16,1,3,20,8,21,46,53,32,40,47,48])).then(u=>({default:u.InChatFunnelPage}))),lS=Rt(()=>Dt(()=>import("./ConversationChannel-BQoODfIS.js"),__vite__mapDeps([45,7,14,44,16,1,3,20,8,21])).then(u=>({default:u.ConversationChannel}))),iS=Rt(()=>Dt(()=>import("./Baby-BXhUsTDY.js"),__vite__mapDeps([54,48])).then(u=>({default:u.BabyPage}))),uS=Rt(()=>Dt(()=>import("./BabyIntake-BL6fOEAV.js"),__vite__mapDeps([55,37,38,39,18,52,44,53,32,40,47,48])).then(u=>({default:u.BabyIntakePage}))),sS=Rt(()=>Dt(()=>import("./BabyQuiz-qUdb-Pfe.js"),__vite__mapDeps([56,38,52,44,47,32,40,48])).then(u=>({default:u.BabyQuizPage}))),rS=Rt(()=>Dt(()=>import("./Legal-odIrIzfW.js"),[]).then(u=>({default:u.PrivacyPage}))),oS=Rt(()=>Dt(()=>import("./Legal-odIrIzfW.js"),[]).then(u=>({default:u.TermsPage}))),cS=Rt(()=>Dt(()=>import("./Legal-odIrIzfW.js"),[]).then(u=>({default:u.DataDeletionPage})));function fS(){const{conversationId:u}=Ey(),{user:i}=An(),o=dl();return u!=null&&u.startsWith("conv_sleep_")?Bo()?w.jsx(xn,{to:"/chat",replace:!0}):w.jsx(I1,{convId:u}):i&&(u!=null&&u.startsWith(`conv_${i.id}_`))&&!u.slice(`conv_${i.id}_`.length).includes("_")?w.jsx(dS,{convId:u,onBack:()=>o("/chat")}):w.jsx(q1,{})}function dS({convId:u,onBack:i}){var d;const{user:o}=An(),{data:r}=Bv(We,o?`users/${o.id}/profile`:""),f=(d=r==null?void 0:r.name)==null?void 0:d.trim();return w.jsx(lS,{convId:u,title:"Para",subtitle:"your Para",ownerName:f||"Your",openSubtitle:f?`${f}'s Para`:"Your Para",enableVoice:!0,focusUid:o==null?void 0:o.id,onBack:i})}function yo({children:u}){const{user:i,pendingVerification:o,loading:r}=An();return r?w.jsx(qo,{}):o||!i?w.jsx(xn,{to:"/chat-auth",replace:!0}):w.jsx(w.Fragment,{children:u})}function vo({children:u}){return Pm("sleep-consumer-funnel")===!1?w.jsx(xn,{to:"/",replace:!0}):w.jsx(w.Fragment,{children:u})}function ri({children:u}){return Bo()?w.jsx(xn,{to:"/",replace:!0}):w.jsx(w.Fragment,{children:u})}function qo(){return w.jsxs("div",{id:"boot-splash",children:[w.jsx("div",{className:"bs-brand",children:"Para"}),w.jsx("div",{className:"bs-spin"})]})}function hS(){const{loading:u}=An();return E.useEffect(()=>{u||zv()},[u]),null}function mS(){const{user:u,loading:i}=An();return i?w.jsx(qo,{}):u?w.jsx(xn,{to:"/chat",replace:!0}):Bo()?w.jsx(xn,{to:"/chat-auth",replace:!0}):w.jsx(N1,{})}function pS(){return Vb(),w.jsxs(w.Fragment,{children:[w.jsx(x1,{}),w.jsx(h1,{}),w.jsx(E1,{}),w.jsx(Hv,{children:w.jsxs(E.Suspense,{fallback:w.jsx(qo,{}),children:[w.jsxs(By,{children:[w.jsxs(Tt,{element:w.jsx(ib,{}),children:[w.jsx(Tt,{index:!0,element:w.jsx(mS,{})}),w.jsx(Tt,{path:"/claiming/:handle",element:w.jsx($1,{})}),w.jsx(Tt,{path:"/signin",element:w.jsx(P1,{})}),w.jsx(Tt,{path:"/chat-auth",element:w.jsx(U1,{})}),w.jsx(Tt,{path:"/onboard",element:w.jsx(j1,{})}),w.jsx(Tt,{path:"/chat/:handle/:jobId",element:w.jsx(ri,{children:w.jsx(nS,{})})}),w.jsx(Tt,{path:"/baby",element:w.jsx(ri,{children:w.jsx(vo,{children:w.jsx(iS,{})})})}),w.jsx(Tt,{path:"/baby/intake",element:w.jsx(ri,{children:w.jsx(vo,{children:w.jsx(uS,{})})})}),w.jsx(Tt,{path:"/baby/quiz",element:w.jsx(ri,{children:w.jsx(vo,{children:w.jsx(sS,{})})})}),w.jsx(Tt,{path:"/privacy",element:w.jsx(rS,{})}),w.jsx(Tt,{path:"/terms",element:w.jsx(oS,{})}),w.jsx(Tt,{path:"/data-deletion",element:w.jsx(cS,{})})]}),w.jsx(Tt,{path:"/share",element:w.jsx(yo,{children:w.jsx(J1,{})})}),w.jsx(Tt,{path:"/onboard/creating",element:w.jsx(yo,{children:w.jsx(L1,{})})}),w.jsxs(Tt,{element:w.jsx(yo,{children:w.jsx(B1,{})}),children:[w.jsx(Tt,{path:"/chat",element:w.jsx(H1,{})}),w.jsx(Tt,{path:"/chat/:conversationId",element:w.jsx(fS,{})}),w.jsx(Tt,{path:"/job/:jobId",element:w.jsx(ri,{children:w.jsx(tS,{})})}),w.jsx(Tt,{path:"/discover",element:w.jsx(Y1,{})}),w.jsx(Tt,{path:"/inbox",element:w.jsx(V1,{})}),w.jsx(Tt,{path:"/inbox/:emailId",element:w.jsx(G1,{})}),w.jsx(Tt,{path:"/t/:topic",element:w.jsx(X1,{})}),w.jsx(Tt,{path:"/notifications",element:w.jsx(Q1,{})}),w.jsx(Tt,{path:"/settings",element:w.jsx(Z1,{})}),w.jsx(Tt,{path:"/settings/notifications",element:w.jsx(K1,{})}),w.jsx(Tt,{path:"/admin/trace",element:w.jsx(eS,{})}),w.jsx(Tt,{path:"/admin/reports",element:w.jsx(aS,{})})]}),w.jsx(Tt,{path:"/demo-chat-kit",element:w.jsx(W1,{})}),w.jsx(Tt,{path:"/demo-onboarding",element:w.jsx(F1,{})}),w.jsx(Tt,{path:"*",element:w.jsx(xn,{to:"/",replace:!0})})]}),w.jsx(hS,{})]})})]})}const _o="para_attribution",gS=["utm_source","utm_medium","utm_campaign","utm_content","utm_term","ref","fbclid","ttclid","gclid"];function MS(){try{const u=localStorage.getItem(_o);if(u){const r=JSON.parse(u);return wm(r),r}const i=new URLSearchParams(window.location.search),o={};for(const r of gS){const f=i.get(r);f&&(o[r]=f.slice(0,120))}return o.landing=window.location.pathname,o.landed_at=Date.now(),localStorage.setItem(_o,JSON.stringify(o)),wm(o),o}catch{return{}}}function wm(u){try{pt.analytics.register(u)}catch{}}function yS(){try{const u=localStorage.getItem(_o);if(u)return JSON.parse(u)}catch{}return{}}let To="init",Em=!1;const xm=new Set;function DS(u){To=u}function RS(u,i={}){ci(u,{kind:"stall",...i})}function vS(){try{if(window.matchMedia("(pointer: coarse)").matches||navigator.maxTouchPoints>0)return"mobile"}catch{}return"desktop"}function Am(u){var i;if(u instanceof Error){const o=(i=u.stack)==null?void 0:i.split(`
`).map(r=>r.trim()).find(r=>r.startsWith("at "));return{name:u.name,message:u.message||u.name||"Error",frame:o==null?void 0:o.slice(0,160)}}if(typeof u=="string")return{message:u};if(u&&typeof u=="object"){const o=u,r=typeof o.message=="string"?o.message:(()=>{try{return JSON.stringify(o).slice(0,200)}catch{return String(u)}})();return{name:typeof o.name=="string"?o.name:void 0,message:r}}return{message:String(u)}}function ci(u,i={}){try{const o=window.location.pathname,r=`${o}|${To}|${i.name??""}|${u}|${i.at??""}`.slice(0,240);if(xm.has(r))return;xm.add(r),pt.event("client_error",{msg:String(u).slice(0,300),route:o,step:To,device:vS(),...i,...yS()})}catch{}}function bS(){Em||typeof window>"u"||(Em=!0,window.addEventListener("error",u=>{var r;if(!u.error&&u.target&&u.target!==window){const f=u.target,d=f.src||f.href||"";if(d){ci(`resource load failed: ${d}`.slice(0,200),{kind:"resource",name:(r=f.tagName)==null?void 0:r.toLowerCase(),src:d.slice(0,160)});return}}if(!u.error&&(!u.message||u.message==="Script error.")){ci("Script error (cross-origin — detail blocked; add crossorigin+CORS to see it)",{kind:"cross-origin",src:(u.filename||"").slice(0,160)});return}const i=Am(u.error??u.message),o=u.filename?`${u.filename.split("/").pop()}:${u.lineno??0}:${u.colno??0}`:void 0;ci(i.message,{kind:"error",name:i.name,at:o,frame:i.frame,src:(u.filename||"").slice(0,160)})},!0),window.addEventListener("unhandledrejection",u=>{const i=u.reason;if((i==null?void 0:i.name)==="AbortError")return;const o=Am(i);ci(o.message,{kind:"rejection",name:o.name,frame:o.frame})}))}bS();window.addEventListener("vite:preloadError",u=>{const i="chunk-reload-at";let o=0;try{o=Number(sessionStorage.getItem(i)??0)}catch{}if(!(Date.now()-o<3e4)){u.preventDefault();try{sessionStorage.setItem(i,String(Date.now()))}catch{}window.location.reload()}});c1();"serviceWorker"in navigator&&navigator.serviceWorker.addEventListener("message",u=>{var i,o;((i=u.data)==null?void 0:i.type)==="NAVIGATE"&&u.data.url&&(window.location.href=u.data.url),((o=u.data)==null?void 0:o.type)==="MARK_READ"&&u.data.nid&&Dt(async()=>{const{client:r}=await Promise.resolve().then(()=>Dv);return{client:r}},void 0).then(({client:r})=>{const f=localStorage.getItem("bodify_auth_token");if(f)try{const g=JSON.parse(atob(f.split(".")[1])).sub;if(!g)return;r.get(`users/${g}/notifications/${u.data.nid}`).then(b=>{b&&!b.read&&r.set(`users/${g}/notifications/${u.data.nid}`,{...b,read:!0})})}catch{}})});jg.createRoot(document.getElementById("root")).render(w.jsx(E.StrictMode,{children:w.jsx(ov,{children:w.jsx(Uv,{children:w.jsx(Ov,{children:w.jsx(pS,{})})})})}));export{yS as A,pt as B,Fb as C,MS as D,Ng as E,DS as F,RS as G,ES as H,jo as L,a1 as M,xn as N,jy as O,l1 as R,r1 as S,Fm as X,Dt as _,dl as a,_S as b,za as c,We as d,Pm as e,Bv as f,AS as g,xS as h,Bo as i,w as j,TS as k,pm as l,cv as m,pi as n,Ey as o,wS as p,jv as q,E as r,Hb as s,Ho as t,An as u,Qu as v,xo as w,t0 as x,n0 as y,Im as z};