hightjs 0.3.3 → 0.3.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/adapters/factory.js +8 -8
- package/dist/adapters/native.js +3 -3
- package/dist/auth/client.js +5 -5
- package/dist/auth/components.js +2 -2
- package/dist/auth/core.js +2 -2
- package/dist/auth/react.js +4 -4
- package/dist/auth/routes.js +1 -1
- package/dist/bin/hightjs.js +29 -328
- package/dist/builder.js +7 -19
- package/dist/client/DefaultNotFound.js +1 -1
- package/dist/client/entry.client.js +3 -3
- package/dist/helpers.d.ts +1 -0
- package/dist/helpers.js +90 -28
- package/dist/hotReload.js +12 -12
- package/dist/index.d.ts +1 -1
- package/dist/index.js +16 -30
- package/dist/router.js +133 -62
- package/dist/types.d.ts +42 -0
- package/docs/config.md +201 -0
- package/example/hightjs.config.ts +81 -0
- package/example/package-lock.json +633 -3054
- package/example/package.json +1 -1
- package/package.json +1 -1
- package/src/adapters/factory.ts +8 -8
- package/src/adapters/native.ts +3 -3
- package/src/auth/client.ts +5 -5
- package/src/auth/components.tsx +2 -2
- package/src/auth/core.ts +2 -2
- package/src/auth/react.tsx +4 -4
- package/src/auth/routes.ts +1 -1
- package/src/bin/hightjs.js +30 -391
- package/src/builder.js +7 -20
- package/src/client/DefaultNotFound.tsx +1 -1
- package/src/client/entry.client.tsx +3 -3
- package/src/helpers.ts +105 -29
- package/src/hotReload.ts +12 -12
- package/src/index.ts +20 -33
- package/src/router.ts +140 -63
- package/src/types.ts +52 -0
- package/example/.hweb/entry.client.js +0 -24
- package/example/hweb-dist/main-5KKAYNUU.js +0 -1137
|
@@ -1,1137 +0,0 @@
|
|
|
1
|
-
var iS=Object.create;var Sc=Object.defineProperty;var aS=Object.getOwnPropertyDescriptor;var oS=Object.getOwnPropertyNames;var rS=Object.getPrototypeOf,lS=Object.prototype.hasOwnProperty;var o=(t,e)=>Sc(t,"name",{value:e,configurable:!0}),sS=(t=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(t,{get:(e,n)=>(typeof require<"u"?require:e)[n]}):t)(function(t){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+t+'" is not supported')});var zt=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports);var uS=(t,e,n,i)=>{if(e&&typeof e=="object"||typeof e=="function")for(let a of oS(e))!lS.call(t,a)&&a!==n&&Sc(t,a,{get:()=>e[a],enumerable:!(i=aS(e,a))||i.enumerable});return t};var z=(t,e,n)=>(n=t!=null?iS(rS(t)):{},uS(e||!t||!t.__esModule?Sc(n,"default",{value:t,enumerable:!0}):n,t));var qp=zt(_=>{"use strict";var Ac=Symbol.for("react.transitional.element"),cS=Symbol.for("react.portal"),fS=Symbol.for("react.fragment"),mS=Symbol.for("react.strict_mode"),dS=Symbol.for("react.profiler"),pS=Symbol.for("react.consumer"),hS=Symbol.for("react.context"),gS=Symbol.for("react.forward_ref"),yS=Symbol.for("react.suspense"),vS=Symbol.for("react.memo"),Up=Symbol.for("react.lazy"),xS=Symbol.for("react.activity"),_p=Symbol.iterator;function bS(t){return t===null||typeof t!="object"?null:(t=_p&&t[_p]||t["@@iterator"],typeof t=="function"?t:null)}o(bS,"getIteratorFn");var Lp={isMounted:o(function(){return!1},"isMounted"),enqueueForceUpdate:o(function(){},"enqueueForceUpdate"),enqueueReplaceState:o(function(){},"enqueueReplaceState"),enqueueSetState:o(function(){},"enqueueSetState")},jp=Object.assign,Hp={};function sa(t,e,n){this.props=t,this.context=e,this.refs=Hp,this.updater=n||Lp}o(sa,"Component");sa.prototype.isReactComponent={};sa.prototype.setState=function(t,e){if(typeof t!="object"&&typeof t!="function"&&t!=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,t,e,"setState")};sa.prototype.forceUpdate=function(t){this.updater.enqueueForceUpdate(this,t,"forceUpdate")};function Gp(){}o(Gp,"ComponentDummy");Gp.prototype=sa.prototype;function Ec(t,e,n){this.props=t,this.context=e,this.refs=Hp,this.updater=n||Lp}o(Ec,"PureComponent");var Mc=Ec.prototype=new Gp;Mc.constructor=Ec;jp(Mc,sa.prototype);Mc.isPureReactComponent=!0;var Np=Array.isArray;function wc(){}o(wc,"noop");var I={H:null,A:null,T:null,S:null},Yp=Object.prototype.hasOwnProperty;function Dc(t,e,n){var i=n.ref;return{$$typeof:Ac,type:t,key:e,ref:i!==void 0?i:null,props:n}}o(Dc,"ReactElement");function SS(t,e){return Dc(t.type,e,t.props)}o(SS,"cloneAndReplaceKey");function Cc(t){return typeof t=="object"&&t!==null&&t.$$typeof===Ac}o(Cc,"isValidElement");function TS(t){var e={"=":"=0",":":"=2"};return"$"+t.replace(/[=:]/g,function(n){return e[n]})}o(TS,"escape");var Rp=/\/+/g;function Tc(t,e){return typeof t=="object"&&t!==null&&t.key!=null?TS(""+t.key):e.toString(36)}o(Tc,"getElementKey");function wS(t){switch(t.status){case"fulfilled":return t.value;case"rejected":throw t.reason;default:switch(typeof t.status=="string"?t.then(wc,wc):(t.status="pending",t.then(function(e){t.status==="pending"&&(t.status="fulfilled",t.value=e)},function(e){t.status==="pending"&&(t.status="rejected",t.reason=e)})),t.status){case"fulfilled":return t.value;case"rejected":throw t.reason}}throw t}o(wS,"resolveThenable");function la(t,e,n,i,a){var r=typeof t;(r==="undefined"||r==="boolean")&&(t=null);var l=!1;if(t===null)l=!0;else switch(r){case"bigint":case"string":case"number":l=!0;break;case"object":switch(t.$$typeof){case Ac:case cS:l=!0;break;case Up:return l=t._init,la(l(t._payload),e,n,i,a)}}if(l)return a=a(t),l=i===""?"."+Tc(t,0):i,Np(a)?(n="",l!=null&&(n=l.replace(Rp,"$&/")+"/"),la(a,e,n,"",function(c){return c})):a!=null&&(Cc(a)&&(a=SS(a,n+(a.key==null||t&&t.key===a.key?"":(""+a.key).replace(Rp,"$&/")+"/")+l)),e.push(a)),1;l=0;var s=i===""?".":i+":";if(Np(t))for(var u=0;u<t.length;u++)i=t[u],r=s+Tc(i,u),l+=la(i,e,n,r,a);else if(u=bS(t),typeof u=="function")for(t=u.call(t),u=0;!(i=t.next()).done;)i=i.value,r=s+Tc(i,u++),l+=la(i,e,n,r,a);else if(r==="object"){if(typeof t.then=="function")return la(wS(t),e,n,i,a);throw e=String(t),Error("Objects are not valid as a React child (found: "+(e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e)+"). If you meant to render a collection of children, use an array instead.")}return l}o(la,"mapIntoArray");function bl(t,e,n){if(t==null)return t;var i=[],a=0;return la(t,i,"","",function(r){return e.call(n,r,a++)}),i}o(bl,"mapChildren");function AS(t){if(t._status===-1){var e=t._result;e=e(),e.then(function(n){(t._status===0||t._status===-1)&&(t._status=1,t._result=n)},function(n){(t._status===0||t._status===-1)&&(t._status=2,t._result=n)}),t._status===-1&&(t._status=0,t._result=e)}if(t._status===1)return t._result.default;throw t._result}o(AS,"lazyInitializer");var Bp=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)},ES={map:bl,forEach:o(function(t,e,n){bl(t,function(){e.apply(this,arguments)},n)},"forEach"),count:o(function(t){var e=0;return bl(t,function(){e++}),e},"count"),toArray:o(function(t){return bl(t,function(e){return e})||[]},"toArray"),only:o(function(t){if(!Cc(t))throw Error("React.Children.only expected to receive a single React element child.");return t},"only")};_.Activity=xS;_.Children=ES;_.Component=sa;_.Fragment=fS;_.Profiler=dS;_.PureComponent=Ec;_.StrictMode=mS;_.Suspense=yS;_.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=I;_.__COMPILER_RUNTIME={__proto__:null,c:o(function(t){return I.H.useMemoCache(t)},"c")};_.cache=function(t){return function(){return t.apply(null,arguments)}};_.cacheSignal=function(){return null};_.cloneElement=function(t,e,n){if(t==null)throw Error("The argument must be a React element, but you passed "+t+".");var i=jp({},t.props),a=t.key;if(e!=null)for(r in e.key!==void 0&&(a=""+e.key),e)!Yp.call(e,r)||r==="key"||r==="__self"||r==="__source"||r==="ref"&&e.ref===void 0||(i[r]=e[r]);var r=arguments.length-2;if(r===1)i.children=n;else if(1<r){for(var l=Array(r),s=0;s<r;s++)l[s]=arguments[s+2];i.children=l}return Dc(t.type,a,i)};_.createContext=function(t){return t={$$typeof:hS,_currentValue:t,_currentValue2:t,_threadCount:0,Provider:null,Consumer:null},t.Provider=t,t.Consumer={$$typeof:pS,_context:t},t};_.createElement=function(t,e,n){var i,a={},r=null;if(e!=null)for(i in e.key!==void 0&&(r=""+e.key),e)Yp.call(e,i)&&i!=="key"&&i!=="__self"&&i!=="__source"&&(a[i]=e[i]);var l=arguments.length-2;if(l===1)a.children=n;else if(1<l){for(var s=Array(l),u=0;u<l;u++)s[u]=arguments[u+2];a.children=s}if(t&&t.defaultProps)for(i in l=t.defaultProps,l)a[i]===void 0&&(a[i]=l[i]);return Dc(t,r,a)};_.createRef=function(){return{current:null}};_.forwardRef=function(t){return{$$typeof:gS,render:t}};_.isValidElement=Cc;_.lazy=function(t){return{$$typeof:Up,_payload:{_status:-1,_result:t},_init:AS}};_.memo=function(t,e){return{$$typeof:vS,type:t,compare:e===void 0?null:e}};_.startTransition=function(t){var e=I.T,n={};I.T=n;try{var i=t(),a=I.S;a!==null&&a(n,i),typeof i=="object"&&i!==null&&typeof i.then=="function"&&i.then(wc,Bp)}catch(r){Bp(r)}finally{e!==null&&n.types!==null&&(e.types=n.types),I.T=e}};_.unstable_useCacheRefresh=function(){return I.H.useCacheRefresh()};_.use=function(t){return I.H.use(t)};_.useActionState=function(t,e,n){return I.H.useActionState(t,e,n)};_.useCallback=function(t,e){return I.H.useCallback(t,e)};_.useContext=function(t){return I.H.useContext(t)};_.useDebugValue=function(){};_.useDeferredValue=function(t,e){return I.H.useDeferredValue(t,e)};_.useEffect=function(t,e){return I.H.useEffect(t,e)};_.useEffectEvent=function(t){return I.H.useEffectEvent(t)};_.useId=function(){return I.H.useId()};_.useImperativeHandle=function(t,e,n){return I.H.useImperativeHandle(t,e,n)};_.useInsertionEffect=function(t,e){return I.H.useInsertionEffect(t,e)};_.useLayoutEffect=function(t,e){return I.H.useLayoutEffect(t,e)};_.useMemo=function(t,e){return I.H.useMemo(t,e)};_.useOptimistic=function(t,e){return I.H.useOptimistic(t,e)};_.useReducer=function(t,e,n){return I.H.useReducer(t,e,n)};_.useRef=function(t){return I.H.useRef(t)};_.useState=function(t){return I.H.useState(t)};_.useSyncExternalStore=function(t,e,n){return I.H.useSyncExternalStore(t,e,n)};_.useTransition=function(){return I.H.useTransition()};_.version="19.2.0"});var G=zt((tM,Xp)=>{"use strict";Xp.exports=qp()});var Zp=zt(Sl=>{"use strict";var MS=Symbol.for("react.transitional.element"),DS=Symbol.for("react.fragment");function kp(t,e,n){var i=null;if(n!==void 0&&(i=""+n),e.key!==void 0&&(i=""+e.key),"key"in e){n={};for(var a in e)a!=="key"&&(n[a]=e[a])}else n=e;return e=n.ref,{$$typeof:MS,type:t,key:i,ref:e!==void 0?e:null,props:n}}o(kp,"jsxProd");Sl.Fragment=DS;Sl.jsx=kp;Sl.jsxs=kp});var ee=zt((iM,Qp)=>{"use strict";Qp.exports=Zp()});var _o=zt(ua=>{"use strict";Object.defineProperty(ua,"__esModule",{value:!0});ua.router=void 0;var Vc=class{static{o(this,"Router")}constructor(){this.events={},this.listeners=new Set}async push(e){this.events.beforeNavigate&&await this.events.beforeNavigate(e)===!1||(window.history.pushState({path:e},"",e),setTimeout(()=>this.triggerNavigation(),0),this.events.afterNavigate&&this.events.afterNavigate(e))}async replace(e){this.events.beforeNavigate&&await this.events.beforeNavigate(e)===!1||(window.history.replaceState({path:e},"",e),setTimeout(()=>this.triggerNavigation(),0),this.events.afterNavigate&&this.events.afterNavigate(e))}back(){window.history.back()}forward(){window.history.forward()}refresh(){setTimeout(()=>this.triggerNavigation(),0)}get pathname(){return window.location.pathname}get query(){return new URLSearchParams(window.location.search)}get url(){return window.location.href}on(e){this.events={...this.events,...e}}off(){this.events={}}subscribe(e){return this.listeners.add(e),()=>this.listeners.delete(e)}triggerNavigation(){window.dispatchEvent(new PopStateEvent("popstate")),this.listeners.forEach(e=>e())}};ua.router=new Vc;ua.default=ua.router});var Tl=zt(No=>{"use strict";Object.defineProperty(No,"__esModule",{value:!0});No.SessionProvider=OS;No.useSession=Pp;No.useAuth=zS;var CS=ee(),Oe=G(),VS=_o(),Kp=(0,Oe.createContext)(void 0);function OS({children:t,basePath:e="/api/auth",refetchInterval:n=0,refetchOnWindowFocus:i=!0}){let[a,r]=(0,Oe.useState)(null),[l,s]=(0,Oe.useState)("loading"),u=(0,Oe.useCallback)(async()=>{try{let p=await fetch(`${e}/session`,{credentials:"include"});if(!p.ok)return s("unauthenticated"),null;let b=(await p.json()).session;return b?(r(b),s("authenticated"),b):(r(null),s("unauthenticated"),null)}catch(p){return console.error("[hweb-auth] Erro ao buscar sess\xE3o:",p),r(null),s("unauthenticated"),null}},[e]),c=(0,Oe.useCallback)(async(p="credentials",v={})=>{try{let{redirect:b=!0,callbackUrl:A,...g}=v,h=await fetch(`${e}/signin`,{method:"POST",headers:{"Content-Type":"application/json"},credentials:"include",body:JSON.stringify({provider:p,...g})}),y=await h.json();if(h.ok&&y.success){if(await u(),y.type==="oauth"&&y.redirectUrl)return b&&typeof window<"u"&&(window.location.href=y.redirectUrl),{ok:!0,status:200,url:y.redirectUrl};if(y.type==="session")return b&&typeof window<"u"&&(window.location.href=A||"/"),{ok:!0,status:200,url:A||"/"}}else return{error:y.error||"Authentication failed",status:h.status,ok:!1}}catch(b){return console.error("[hweb-auth] Erro no signIn:",b),{error:"Network error",status:500,ok:!1}}},[e,u]),f=(0,Oe.useCallback)(async(p={})=>{try{if(await fetch(`${e}/signout`,{method:"POST",credentials:"include"}),r(null),s("unauthenticated"),typeof window<"u")try{VS.router.push(p.callbackUrl||"/")}catch{window.location.href=p.callbackUrl||"/"}}catch(v){console.error("[hweb-auth] Erro no signOut:",v)}},[e]),m=(0,Oe.useCallback)(async()=>await u(),[u]);(0,Oe.useEffect)(()=>{u()},[u]),(0,Oe.useEffect)(()=>{if(n>0){let p=setInterval(()=>{l==="authenticated"&&u()},n*1e3);return()=>clearInterval(p)}},[n,l,u]),(0,Oe.useEffect)(()=>{if(i){let p=o(()=>{l==="authenticated"&&u()},"handleFocus");return window.addEventListener("focus",p),()=>window.removeEventListener("focus",p)}},[i,l,u]);let d={data:a,status:l,signIn:c,signOut:f,update:m};return(0,CS.jsx)(Kp.Provider,{value:d,children:t})}o(OS,"SessionProvider");function Pp(){let t=(0,Oe.useContext)(Kp);if(t===void 0)throw new Error("useSession deve ser usado dentro de um SessionProvider");return t}o(Pp,"useSession");function zS(){let{data:t,status:e}=Pp();return{user:t?.user||null,isAuthenticated:e==="authenticated",isLoading:e==="loading"}}o(zS,"useAuth")});var Oc=zt(zn=>{"use strict";Object.defineProperty(zn,"__esModule",{value:!0});zn.setBasePath=_S;zn.getSession=NS;zn.getCsrfToken=RS;zn.getProviders=BS;zn.signIn=US;zn.signOut=LS;var ca="/api/auth";function _S(t){ca=t}o(_S,"setBasePath");async function NS(){try{let t=await fetch(`${ca}/session`,{credentials:"include"});return t.ok&&(await t.json()).session||null}catch(t){return console.error("[hweb-auth] Erro ao buscar sess\xE3o:",t),null}}o(NS,"getSession");async function RS(){try{let t=await fetch(`${ca}/csrf`,{credentials:"include"});return t.ok&&(await t.json()).csrfToken||null}catch(t){return console.error("[hweb-auth] Erro ao buscar CSRF token:",t),null}}o(RS,"getCsrfToken");async function BS(){try{let t=await fetch(`${ca}/providers`,{credentials:"include"});return t.ok?(await t.json()).providers||[]:null}catch(t){return console.error("[hweb-auth] Erro ao buscar providers:",t),null}}o(BS,"getProviders");async function US(t="credentials",e={}){try{let{redirect:n=!0,callbackUrl:i,...a}=e,r=await fetch(`${ca}/signin`,{method:"POST",headers:{"Content-Type":"application/json"},credentials:"include",body:JSON.stringify({provider:t,...a})}),l=await r.json();if(r.ok&&l.success){if(l.type==="oauth"&&l.redirectUrl)return n&&typeof window<"u"&&(window.location.href=l.redirectUrl),{ok:!0,status:200,url:l.redirectUrl};if(l.type==="session")return n&&typeof window<"u"&&(window.location.href=i||"/"),{ok:!0,status:200,url:i||"/"}}else return{error:l.error||"Authentication failed",status:r.status,ok:!1}}catch(n){return console.error("[hweb-auth] Erro no signIn:",n),{error:"Network error",status:500,ok:!1}}}o(US,"signIn");async function LS(t={}){try{await fetch(`${ca}/signout`,{method:"POST",credentials:"include"}),typeof window<"u"&&(window.location.href=t.callbackUrl||"/")}catch(e){console.error("[hweb-auth] Erro no signOut:",e)}}o(LS,"signOut")});var zc=zt(_n=>{"use strict";var jS=_n&&_n.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(_n,"__esModule",{value:!0});_n.ProtectedRoute=GS;_n.AuthGuard=YS;_n.GuestOnly=qS;_n.useAuthRedirect=XS;var je=ee(),HS=jS(G()),wl=Tl(),Jp=_o();function GS({children:t,fallback:e,redirectTo:n="/auth/signin",requireAuth:i=!0}){let{isAuthenticated:a,isLoading:r}=(0,wl.useAuth)();return r?e||(0,je.jsx)("div",{children:"Carregando..."}):i&&!a?typeof window<"u"&&n?(window.location.href=n,null):e||(0,je.jsx)("div",{children:"N\xE3o autorizado"}):!i&&a&&n&&typeof window<"u"?(window.location.href=n,null):(0,je.jsx)(je.Fragment,{children:t})}o(GS,"ProtectedRoute");function YS({children:t,fallback:e,redirectTo:n}){let{isAuthenticated:i,isLoading:a}=(0,wl.useAuth)();return n&&!a&&!i&&Jp.router.push(n),a?e||(0,je.jsx)("div",{}):i?(0,je.jsx)(je.Fragment,{children:t}):e||null}o(YS,"AuthGuard");function qS({children:t,fallback:e,redirectTo:n}){let{isAuthenticated:i,isLoading:a}=(0,wl.useAuth)();return n&&!a&&i&&Jp.router.push(n),a||i?e||(0,je.jsx)("div",{}):(0,je.jsx)(je.Fragment,{children:t})}o(qS,"GuestOnly");function XS(t,e){let{isAuthenticated:n,isLoading:i}=(0,wl.useAuth)();HS.default.useEffect(()=>{i||(n&&t?window.location.href=t:!n&&e&&(window.location.href=e))},[n,i,t,e])}o(XS,"useAuthRedirect")});var Al=zt(lt=>{"use strict";var kS=lt&<.__createBinding||(Object.create?(function(t,e,n,i){i===void 0&&(i=n);var a=Object.getOwnPropertyDescriptor(e,n);(!a||("get"in a?!e.__esModule:a.writable||a.configurable))&&(a={enumerable:!0,get:o(function(){return e[n]},"get")}),Object.defineProperty(t,i,a)}):(function(t,e,n,i){i===void 0&&(i=n),t[i]=e[n]})),_c=lt&<.__exportStar||function(t,e){for(var n in t)n!=="default"&&!Object.prototype.hasOwnProperty.call(e,n)&&kS(e,t,n)};Object.defineProperty(lt,"__esModule",{value:!0});lt.GuestOnly=lt.AuthGuard=lt.ProtectedRoute=lt.SessionProvider=lt.useAuth=lt.useSession=lt.getSession=void 0;_c(Tl(),lt);_c(Oc(),lt);_c(zc(),lt);var ZS=Oc();Object.defineProperty(lt,"getSession",{enumerable:!0,get:o(function(){return ZS.getSession},"get")});var Nc=Tl();Object.defineProperty(lt,"useSession",{enumerable:!0,get:o(function(){return Nc.useSession},"get")});Object.defineProperty(lt,"useAuth",{enumerable:!0,get:o(function(){return Nc.useAuth},"get")});Object.defineProperty(lt,"SessionProvider",{enumerable:!0,get:o(function(){return Nc.SessionProvider},"get")});var Rc=zc();Object.defineProperty(lt,"ProtectedRoute",{enumerable:!0,get:o(function(){return Rc.ProtectedRoute},"get")});Object.defineProperty(lt,"AuthGuard",{enumerable:!0,get:o(function(){return Rc.AuthGuard},"get")});Object.defineProperty(lt,"GuestOnly",{enumerable:!0,get:o(function(){return Rc.GuestOnly},"get")})});var Fp=zt(Bc=>{"use strict";Object.defineProperty(Bc,"__esModule",{value:!0});Bc.Link=PS;var QS=ee(),KS=_o();function PS({href:t,children:e,...n}){let i=o(async a=>{a.preventDefault(),await KS.router.push(t)},"handleClick");return(0,QS.jsx)("a",{href:t,...n,onClick:i,children:e})}o(PS,"Link")});var El=zt(fa=>{"use strict";Object.defineProperty(fa,"__esModule",{value:!0});fa.router=fa.Link=void 0;var JS=Fp();Object.defineProperty(fa,"Link",{enumerable:!0,get:o(function(){return JS.Link},"get")});var FS=_o();Object.defineProperty(fa,"router",{enumerable:!0,get:o(function(){return FS.router},"get")})});var Oy=zt(ot=>{"use strict";function tm(t,e){var n=t.length;t.push(e);t:for(;0<n;){var i=n-1>>>1,a=t[i];if(0<Zs(a,e))t[i]=e,t[n]=a,n=i;else break t}}o(tm,"push");function ke(t){return t.length===0?null:t[0]}o(ke,"peek");function Ks(t){if(t.length===0)return null;var e=t[0],n=t.pop();if(n!==e){t[0]=n;t:for(var i=0,a=t.length,r=a>>>1;i<r;){var l=2*(i+1)-1,s=t[l],u=l+1,c=t[u];if(0>Zs(s,n))u<a&&0>Zs(c,s)?(t[i]=c,t[u]=n,i=u):(t[i]=s,t[l]=n,i=l);else if(u<a&&0>Zs(c,n))t[i]=c,t[u]=n,i=u;else break t}}return e}o(Ks,"pop");function Zs(t,e){var n=t.sortIndex-e.sortIndex;return n!==0?n:t.id-e.id}o(Zs,"compare");ot.unstable_now=void 0;typeof performance=="object"&&typeof performance.now=="function"?(Sy=performance,ot.unstable_now=function(){return Sy.now()}):(Wf=Date,Ty=Wf.now(),ot.unstable_now=function(){return Wf.now()-Ty});var Sy,Wf,Ty,fn=[],Qn=[],bw=1,xe=null,Gt=3,em=!1,vr=!1,xr=!1,nm=!1,Ey=typeof setTimeout=="function"?setTimeout:null,My=typeof clearTimeout=="function"?clearTimeout:null,wy=typeof setImmediate<"u"?setImmediate:null;function Qs(t){for(var e=ke(Qn);e!==null;){if(e.callback===null)Ks(Qn);else if(e.startTime<=t)Ks(Qn),e.sortIndex=e.expirationTime,tm(fn,e);else break;e=ke(Qn)}}o(Qs,"advanceTimers");function im(t){if(xr=!1,Qs(t),!vr)if(ke(fn)!==null)vr=!0,qa||(qa=!0,Ya());else{var e=ke(Qn);e!==null&&am(im,e.startTime-t)}}o(im,"handleTimeout");var qa=!1,br=-1,Dy=5,Cy=-1;function Vy(){return nm?!0:!(ot.unstable_now()-Cy<Dy)}o(Vy,"shouldYieldToHost");function If(){if(nm=!1,qa){var t=ot.unstable_now();Cy=t;var e=!0;try{t:{vr=!1,xr&&(xr=!1,My(br),br=-1),em=!0;var n=Gt;try{e:{for(Qs(t),xe=ke(fn);xe!==null&&!(xe.expirationTime>t&&Vy());){var i=xe.callback;if(typeof i=="function"){xe.callback=null,Gt=xe.priorityLevel;var a=i(xe.expirationTime<=t);if(t=ot.unstable_now(),typeof a=="function"){xe.callback=a,Qs(t),e=!0;break e}xe===ke(fn)&&Ks(fn),Qs(t)}else Ks(fn);xe=ke(fn)}if(xe!==null)e=!0;else{var r=ke(Qn);r!==null&&am(im,r.startTime-t),e=!1}}break t}finally{xe=null,Gt=n,em=!1}e=void 0}}finally{e?Ya():qa=!1}}}o(If,"performWorkUntilDeadline");var Ya;typeof wy=="function"?Ya=o(function(){wy(If)},"schedulePerformWorkUntilDeadline"):typeof MessageChannel<"u"?($f=new MessageChannel,Ay=$f.port2,$f.port1.onmessage=If,Ya=o(function(){Ay.postMessage(null)},"schedulePerformWorkUntilDeadline")):Ya=o(function(){Ey(If,0)},"schedulePerformWorkUntilDeadline");var $f,Ay;function am(t,e){br=Ey(function(){t(ot.unstable_now())},e)}o(am,"requestHostTimeout");ot.unstable_IdlePriority=5;ot.unstable_ImmediatePriority=1;ot.unstable_LowPriority=4;ot.unstable_NormalPriority=3;ot.unstable_Profiling=null;ot.unstable_UserBlockingPriority=2;ot.unstable_cancelCallback=function(t){t.callback=null};ot.unstable_forceFrameRate=function(t){0>t||125<t?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):Dy=0<t?Math.floor(1e3/t):5};ot.unstable_getCurrentPriorityLevel=function(){return Gt};ot.unstable_next=function(t){switch(Gt){case 1:case 2:case 3:var e=3;break;default:e=Gt}var n=Gt;Gt=e;try{return t()}finally{Gt=n}};ot.unstable_requestPaint=function(){nm=!0};ot.unstable_runWithPriority=function(t,e){switch(t){case 1:case 2:case 3:case 4:case 5:break;default:t=3}var n=Gt;Gt=t;try{return e()}finally{Gt=n}};ot.unstable_scheduleCallback=function(t,e,n){var i=ot.unstable_now();switch(typeof n=="object"&&n!==null?(n=n.delay,n=typeof n=="number"&&0<n?i+n:i):n=i,t){case 1:var a=-1;break;case 2:a=250;break;case 5:a=1073741823;break;case 4:a=1e4;break;default:a=5e3}return a=n+a,t={id:bw++,callback:e,priorityLevel:t,startTime:n,expirationTime:a,sortIndex:-1},n>i?(t.sortIndex=n,tm(Qn,t),ke(fn)===null&&t===ke(Qn)&&(xr?(My(br),br=-1):xr=!0,am(im,n-i))):(t.sortIndex=a,tm(fn,t),vr||em||(vr=!0,qa||(qa=!0,Ya()))),t};ot.unstable_shouldYield=Vy;ot.unstable_wrapCallback=function(t){var e=Gt;return function(){var n=Gt;Gt=e;try{return t.apply(this,arguments)}finally{Gt=n}}}});var _y=zt((qH,zy)=>{"use strict";zy.exports=Oy()});var Ry=zt(qt=>{"use strict";var Sw=G();function Ny(t){var e="https://react.dev/errors/"+t;if(1<arguments.length){e+="?args[]="+encodeURIComponent(arguments[1]);for(var n=2;n<arguments.length;n++)e+="&args[]="+encodeURIComponent(arguments[n])}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."}o(Ny,"formatProdErrorMessage");function Kn(){}o(Kn,"noop");var Yt={d:{f:Kn,r:o(function(){throw Error(Ny(522))},"r"),D:Kn,C:Kn,L:Kn,m:Kn,X:Kn,S:Kn,M:Kn},p:0,findDOMNode:null},Tw=Symbol.for("react.portal");function ww(t,e,n){var i=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:Tw,key:i==null?null:""+i,children:t,containerInfo:e,implementation:n}}o(ww,"createPortal$1");var Sr=Sw.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function Ps(t,e){if(t==="font")return"";if(typeof e=="string")return e==="use-credentials"?e:""}o(Ps,"getCrossOriginStringAs");qt.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=Yt;qt.createPortal=function(t,e){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)throw Error(Ny(299));return ww(t,e,null,n)};qt.flushSync=function(t){var e=Sr.T,n=Yt.p;try{if(Sr.T=null,Yt.p=2,t)return t()}finally{Sr.T=e,Yt.p=n,Yt.d.f()}};qt.preconnect=function(t,e){typeof t=="string"&&(e?(e=e.crossOrigin,e=typeof e=="string"?e==="use-credentials"?e:"":void 0):e=null,Yt.d.C(t,e))};qt.prefetchDNS=function(t){typeof t=="string"&&Yt.d.D(t)};qt.preinit=function(t,e){if(typeof t=="string"&&e&&typeof e.as=="string"){var n=e.as,i=Ps(n,e.crossOrigin),a=typeof e.integrity=="string"?e.integrity:void 0,r=typeof e.fetchPriority=="string"?e.fetchPriority:void 0;n==="style"?Yt.d.S(t,typeof e.precedence=="string"?e.precedence:void 0,{crossOrigin:i,integrity:a,fetchPriority:r}):n==="script"&&Yt.d.X(t,{crossOrigin:i,integrity:a,fetchPriority:r,nonce:typeof e.nonce=="string"?e.nonce:void 0})}};qt.preinitModule=function(t,e){if(typeof t=="string")if(typeof e=="object"&&e!==null){if(e.as==null||e.as==="script"){var n=Ps(e.as,e.crossOrigin);Yt.d.M(t,{crossOrigin:n,integrity:typeof e.integrity=="string"?e.integrity:void 0,nonce:typeof e.nonce=="string"?e.nonce:void 0})}}else e==null&&Yt.d.M(t)};qt.preload=function(t,e){if(typeof t=="string"&&typeof e=="object"&&e!==null&&typeof e.as=="string"){var n=e.as,i=Ps(n,e.crossOrigin);Yt.d.L(t,n,{crossOrigin:i,integrity:typeof e.integrity=="string"?e.integrity:void 0,nonce:typeof e.nonce=="string"?e.nonce:void 0,type:typeof e.type=="string"?e.type:void 0,fetchPriority:typeof e.fetchPriority=="string"?e.fetchPriority:void 0,referrerPolicy:typeof e.referrerPolicy=="string"?e.referrerPolicy:void 0,imageSrcSet:typeof e.imageSrcSet=="string"?e.imageSrcSet:void 0,imageSizes:typeof e.imageSizes=="string"?e.imageSizes:void 0,media:typeof e.media=="string"?e.media:void 0})}};qt.preloadModule=function(t,e){if(typeof t=="string")if(e){var n=Ps(e.as,e.crossOrigin);Yt.d.m(t,{as:typeof e.as=="string"&&e.as!=="script"?e.as:void 0,crossOrigin:n,integrity:typeof e.integrity=="string"?e.integrity:void 0})}else Yt.d.m(t)};qt.requestFormReset=function(t){Yt.d.r(t)};qt.unstable_batchedUpdates=function(t,e){return t(e)};qt.useFormState=function(t,e,n){return Sr.H.useFormState(t,e,n)};qt.useFormStatus=function(){return Sr.H.useHostTransitionStatus()};qt.version="19.2.0"});var Ly=zt((ZH,Uy)=>{"use strict";function By(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(By)}catch(t){console.error(t)}}o(By,"checkDCE");By(),Uy.exports=Ry()});var Jb=zt(xc=>{"use strict";var wt=_y(),ux=G(),Aw=Ly();function S(t){var e="https://react.dev/errors/"+t;if(1<arguments.length){e+="?args[]="+encodeURIComponent(arguments[1]);for(var n=2;n<arguments.length;n++)e+="&args[]="+encodeURIComponent(arguments[n])}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."}o(S,"formatProdErrorMessage");function cx(t){return!(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11)}o(cx,"isValidContainer");function ll(t){var e=t,n=t;if(t.alternate)for(;e.return;)e=e.return;else{t=e;do e=t,(e.flags&4098)!==0&&(n=e.return),t=e.return;while(t)}return e.tag===3?n:null}o(ll,"getNearestMountedFiber");function fx(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}o(fx,"getSuspenseInstanceFromFiber");function mx(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}o(mx,"getActivityInstanceFromFiber");function jy(t){if(ll(t)!==t)throw Error(S(188))}o(jy,"assertIsMounted");function Ew(t){var e=t.alternate;if(!e){if(e=ll(t),e===null)throw Error(S(188));return e!==t?null:t}for(var n=t,i=e;;){var a=n.return;if(a===null)break;var r=a.alternate;if(r===null){if(i=a.return,i!==null){n=i;continue}break}if(a.child===r.child){for(r=a.child;r;){if(r===n)return jy(a),t;if(r===i)return jy(a),e;r=r.sibling}throw Error(S(188))}if(n.return!==i.return)n=a,i=r;else{for(var l=!1,s=a.child;s;){if(s===n){l=!0,n=a,i=r;break}if(s===i){l=!0,i=a,n=r;break}s=s.sibling}if(!l){for(s=r.child;s;){if(s===n){l=!0,n=r,i=a;break}if(s===i){l=!0,i=r,n=a;break}s=s.sibling}if(!l)throw Error(S(189))}}if(n.alternate!==i)throw Error(S(190))}if(n.tag!==3)throw Error(S(188));return n.stateNode.current===n?t:e}o(Ew,"findCurrentFiberUsingSlowPath");function dx(t){var e=t.tag;if(e===5||e===26||e===27||e===6)return t;for(t=t.child;t!==null;){if(e=dx(t),e!==null)return e;t=t.sibling}return null}o(dx,"findCurrentHostFiberImpl");var it=Object.assign,Mw=Symbol.for("react.element"),Js=Symbol.for("react.transitional.element"),Vr=Symbol.for("react.portal"),Pa=Symbol.for("react.fragment"),px=Symbol.for("react.strict_mode"),jm=Symbol.for("react.profiler"),hx=Symbol.for("react.consumer"),xn=Symbol.for("react.context"),Nd=Symbol.for("react.forward_ref"),Hm=Symbol.for("react.suspense"),Gm=Symbol.for("react.suspense_list"),Rd=Symbol.for("react.memo"),Pn=Symbol.for("react.lazy");Symbol.for("react.scope");var Ym=Symbol.for("react.activity");Symbol.for("react.legacy_hidden");Symbol.for("react.tracing_marker");var Dw=Symbol.for("react.memo_cache_sentinel");Symbol.for("react.view_transition");var Hy=Symbol.iterator;function Tr(t){return t===null||typeof t!="object"?null:(t=Hy&&t[Hy]||t["@@iterator"],typeof t=="function"?t:null)}o(Tr,"getIteratorFn");var Cw=Symbol.for("react.client.reference");function qm(t){if(t==null)return null;if(typeof t=="function")return t.$$typeof===Cw?null:t.displayName||t.name||null;if(typeof t=="string")return t;switch(t){case Pa:return"Fragment";case jm:return"Profiler";case px:return"StrictMode";case Hm:return"Suspense";case Gm:return"SuspenseList";case Ym:return"Activity"}if(typeof t=="object")switch(t.$$typeof){case Vr:return"Portal";case xn:return t.displayName||"Context";case hx:return(t._context.displayName||"Context")+".Consumer";case Nd:var e=t.render;return t=t.displayName,t||(t=e.displayName||e.name||"",t=t!==""?"ForwardRef("+t+")":"ForwardRef"),t;case Rd:return e=t.displayName||null,e!==null?e:qm(t.type)||"Memo";case Pn:e=t._payload,t=t._init;try{return qm(t(e))}catch{}}return null}o(qm,"getComponentNameFromType");var Or=Array.isArray,O=ux.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,k=Aw.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Zi={pending:!1,data:null,method:null,action:null},Xm=[],Ja=-1;function Je(t){return{current:t}}o(Je,"createCursor");function Ct(t){0>Ja||(t.current=Xm[Ja],Xm[Ja]=null,Ja--)}o(Ct,"pop");function W(t,e){Ja++,Xm[Ja]=t.current,t.current=e}o(W,"push");var Pe=Je(null),Kr=Je(null),oi=Je(null),Cu=Je(null);function Vu(t,e){switch(W(oi,e),W(Kr,t),W(Pe,null),e.nodeType){case 9:case 11:t=(t=e.documentElement)&&(t=t.namespaceURI)?Qv(t):0;break;default:if(t=e.tagName,e=e.namespaceURI)e=Qv(e),t=Bb(e,t);else switch(t){case"svg":t=1;break;case"math":t=2;break;default:t=0}}Ct(Pe),W(Pe,t)}o(Vu,"pushHostContainer");function po(){Ct(Pe),Ct(Kr),Ct(oi)}o(po,"popHostContainer");function km(t){t.memoizedState!==null&&W(Cu,t);var e=Pe.current,n=Bb(e,t.type);e!==n&&(W(Kr,t),W(Pe,n))}o(km,"pushHostContext");function Ou(t){Kr.current===t&&(Ct(Pe),Ct(Kr)),Cu.current===t&&(Ct(Cu),al._currentValue=Zi)}o(Ou,"popHostContext");var om,Gy;function Yi(t){if(om===void 0)try{throw Error()}catch(n){var e=n.stack.trim().match(/\n( *(at )?)/);om=e&&e[1]||"",Gy=-1<n.stack.indexOf(`
|
|
2
|
-
at`)?" (<anonymous>)":-1<n.stack.indexOf("@")?"@unknown:0:0":""}return`
|
|
3
|
-
`+om+t+Gy}o(Yi,"describeBuiltInComponentFrame");var rm=!1;function lm(t,e){if(!t||rm)return"";rm=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var i={DetermineComponentFrameRoot:o(function(){try{if(e){var m=o(function(){throw Error()},"Fake");if(Object.defineProperty(m.prototype,"props",{set:o(function(){throw Error()},"set")}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(m,[])}catch(p){var d=p}Reflect.construct(t,[],m)}else{try{m.call()}catch(p){d=p}t.call(m.prototype)}}else{try{throw Error()}catch(p){d=p}(m=t())&&typeof m.catch=="function"&&m.catch(function(){})}}catch(p){if(p&&d&&typeof p.stack=="string")return[p.stack,d.stack]}return[null,null]},"DetermineComponentFrameRoot")};i.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var a=Object.getOwnPropertyDescriptor(i.DetermineComponentFrameRoot,"name");a&&a.configurable&&Object.defineProperty(i.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var r=i.DetermineComponentFrameRoot(),l=r[0],s=r[1];if(l&&s){var u=l.split(`
|
|
4
|
-
`),c=s.split(`
|
|
5
|
-
`);for(a=i=0;i<u.length&&!u[i].includes("DetermineComponentFrameRoot");)i++;for(;a<c.length&&!c[a].includes("DetermineComponentFrameRoot");)a++;if(i===u.length||a===c.length)for(i=u.length-1,a=c.length-1;1<=i&&0<=a&&u[i]!==c[a];)a--;for(;1<=i&&0<=a;i--,a--)if(u[i]!==c[a]){if(i!==1||a!==1)do if(i--,a--,0>a||u[i]!==c[a]){var f=`
|
|
6
|
-
`+u[i].replace(" at new "," at ");return t.displayName&&f.includes("<anonymous>")&&(f=f.replace("<anonymous>",t.displayName)),f}while(1<=i&&0<=a);break}}}finally{rm=!1,Error.prepareStackTrace=n}return(n=t?t.displayName||t.name:"")?Yi(n):""}o(lm,"describeNativeComponentFrame");function Vw(t,e){switch(t.tag){case 26:case 27:case 5:return Yi(t.type);case 16:return Yi("Lazy");case 13:return t.child!==e&&e!==null?Yi("Suspense Fallback"):Yi("Suspense");case 19:return Yi("SuspenseList");case 0:case 15:return lm(t.type,!1);case 11:return lm(t.type.render,!1);case 1:return lm(t.type,!0);case 31:return Yi("Activity");default:return""}}o(Vw,"describeFiber");function Yy(t){try{var e="",n=null;do e+=Vw(t,n),n=t,t=t.return;while(t);return e}catch(i){return`
|
|
7
|
-
Error generating stack: `+i.message+`
|
|
8
|
-
`+i.stack}}o(Yy,"getStackByFiberInDevAndProd");var Zm=Object.prototype.hasOwnProperty,Bd=wt.unstable_scheduleCallback,sm=wt.unstable_cancelCallback,Ow=wt.unstable_shouldYield,zw=wt.unstable_requestPaint,se=wt.unstable_now,_w=wt.unstable_getCurrentPriorityLevel,gx=wt.unstable_ImmediatePriority,yx=wt.unstable_UserBlockingPriority,zu=wt.unstable_NormalPriority,Nw=wt.unstable_LowPriority,vx=wt.unstable_IdlePriority,Rw=wt.log,Bw=wt.unstable_setDisableYieldValue,sl=null,ue=null;function ti(t){if(typeof Rw=="function"&&Bw(t),ue&&typeof ue.setStrictMode=="function")try{ue.setStrictMode(sl,t)}catch{}}o(ti,"setIsStrictModeForDevtools");var ce=Math.clz32?Math.clz32:jw,Uw=Math.log,Lw=Math.LN2;function jw(t){return t>>>=0,t===0?32:31-(Uw(t)/Lw|0)|0}o(jw,"clz32Fallback");var Fs=256,Ws=262144,Is=4194304;function qi(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}}o(qi,"getHighestPriorityLanes");function ic(t,e,n){var i=t.pendingLanes;if(i===0)return 0;var a=0,r=t.suspendedLanes,l=t.pingedLanes;t=t.warmLanes;var s=i&134217727;return s!==0?(i=s&~r,i!==0?a=qi(i):(l&=s,l!==0?a=qi(l):n||(n=s&~t,n!==0&&(a=qi(n))))):(s=i&~r,s!==0?a=qi(s):l!==0?a=qi(l):n||(n=i&~t,n!==0&&(a=qi(n)))),a===0?0:e!==0&&e!==a&&(e&r)===0&&(r=a&-a,n=e&-e,r>=n||r===32&&(n&4194048)!==0)?e:a}o(ic,"getNextLanes");function ul(t,e){return(t.pendingLanes&~(t.suspendedLanes&~t.pingedLanes)&e)===0}o(ul,"checkIfRootIsPrerendering");function Hw(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}}o(Hw,"computeExpirationTime");function xx(){var t=Is;return Is<<=1,(Is&62914560)===0&&(Is=4194304),t}o(xx,"claimNextRetryLane");function um(t){for(var e=[],n=0;31>n;n++)e.push(t);return e}o(um,"createLaneMap");function cl(t,e){t.pendingLanes|=e,e!==268435456&&(t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0)}o(cl,"markRootUpdated$1");function Gw(t,e,n,i,a,r){var l=t.pendingLanes;t.pendingLanes=n,t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0,t.expiredLanes&=n,t.entangledLanes&=n,t.errorRecoveryDisabledLanes&=n,t.shellSuspendCounter=0;var s=t.entanglements,u=t.expirationTimes,c=t.hiddenUpdates;for(n=l&~n;0<n;){var f=31-ce(n),m=1<<f;s[f]=0,u[f]=-1;var d=c[f];if(d!==null)for(c[f]=null,f=0;f<d.length;f++){var p=d[f];p!==null&&(p.lane&=-536870913)}n&=~m}i!==0&&bx(t,i,0),r!==0&&a===0&&t.tag!==0&&(t.suspendedLanes|=r&~(l&~e))}o(Gw,"markRootFinished");function bx(t,e,n){t.pendingLanes|=e,t.suspendedLanes&=~e;var i=31-ce(e);t.entangledLanes|=e,t.entanglements[i]=t.entanglements[i]|1073741824|n&261930}o(bx,"markSpawnedDeferredLane");function Sx(t,e){var n=t.entangledLanes|=e;for(t=t.entanglements;n;){var i=31-ce(n),a=1<<i;a&e|t[i]&e&&(t[i]|=e),n&=~a}}o(Sx,"markRootEntangled");function Tx(t,e){var n=e&-e;return n=(n&42)!==0?1:Ud(n),(n&(t.suspendedLanes|e))!==0?0:n}o(Tx,"getBumpedLaneForHydration");function Ud(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}o(Ud,"getBumpedLaneForHydrationByLane");function Ld(t){return t&=-t,2<t?8<t?(t&134217727)!==0?32:268435456:8:2}o(Ld,"lanesToEventPriority");function wx(){var t=k.p;return t!==0?t:(t=window.event,t===void 0?32:Qb(t.type))}o(wx,"resolveUpdatePriority");function qy(t,e){var n=k.p;try{return k.p=t,e()}finally{k.p=n}}o(qy,"runWithPriority");var vi=Math.random().toString(36).slice(2),Nt="__reactFiber$"+vi,$t="__reactProps$"+vi,Eo="__reactContainer$"+vi,Qm="__reactEvents$"+vi,Yw="__reactListeners$"+vi,qw="__reactHandles$"+vi,Xy="__reactResources$"+vi,fl="__reactMarker$"+vi;function jd(t){delete t[Nt],delete t[$t],delete t[Qm],delete t[Yw],delete t[qw]}o(jd,"detachDeletedInstance");function Fa(t){var e=t[Nt];if(e)return e;for(var n=t.parentNode;n;){if(e=n[Eo]||n[Nt]){if(n=e.alternate,e.child!==null||n!==null&&n.child!==null)for(t=Wv(t);t!==null;){if(n=t[Nt])return n;t=Wv(t)}return e}t=n,n=t.parentNode}return null}o(Fa,"getClosestInstanceFromNode");function Mo(t){if(t=t[Nt]||t[Eo]){var e=t.tag;if(e===5||e===6||e===13||e===31||e===26||e===27||e===3)return t}return null}o(Mo,"getInstanceFromNode");function zr(t){var e=t.tag;if(e===5||e===26||e===27||e===6)return t.stateNode;throw Error(S(33))}o(zr,"getNodeFromInstance");function ro(t){var e=t[Xy];return e||(e=t[Xy]={hoistableStyles:new Map,hoistableScripts:new Map}),e}o(ro,"getResourcesFromRoot");function Dt(t){t[fl]=!0}o(Dt,"markNodeAsHoistable");var Ax=new Set,Ex={};function ea(t,e){ho(t,e),ho(t+"Capture",e)}o(ea,"registerTwoPhaseEvent");function ho(t,e){for(Ex[t]=e,t=0;t<e.length;t++)Ax.add(e[t])}o(ho,"registerDirectEvent");var Xw=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]*$"),ky={},Zy={};function kw(t){return Zm.call(Zy,t)?!0:Zm.call(ky,t)?!1:Xw.test(t)?Zy[t]=!0:(ky[t]=!0,!1)}o(kw,"isAttributeNameSafe");function du(t,e,n){if(kw(e))if(n===null)t.removeAttribute(e);else{switch(typeof n){case"undefined":case"function":case"symbol":t.removeAttribute(e);return;case"boolean":var i=e.toLowerCase().slice(0,5);if(i!=="data-"&&i!=="aria-"){t.removeAttribute(e);return}}t.setAttribute(e,""+n)}}o(du,"setValueForAttribute");function $s(t,e,n){if(n===null)t.removeAttribute(e);else{switch(typeof n){case"undefined":case"function":case"symbol":case"boolean":t.removeAttribute(e);return}t.setAttribute(e,""+n)}}o($s,"setValueForKnownAttribute");function mn(t,e,n,i){if(i===null)t.removeAttribute(n);else{switch(typeof i){case"undefined":case"function":case"symbol":case"boolean":t.removeAttribute(n);return}t.setAttributeNS(e,n,""+i)}}o(mn,"setValueForNamespacedAttribute");function Se(t){switch(typeof t){case"bigint":case"boolean":case"number":case"string":case"undefined":return t;case"object":return t;default:return""}}o(Se,"getToStringValue");function Mx(t){var e=t.type;return(t=t.nodeName)&&t.toLowerCase()==="input"&&(e==="checkbox"||e==="radio")}o(Mx,"isCheckable");function Zw(t,e,n){var i=Object.getOwnPropertyDescriptor(t.constructor.prototype,e);if(!t.hasOwnProperty(e)&&typeof i<"u"&&typeof i.get=="function"&&typeof i.set=="function"){var a=i.get,r=i.set;return Object.defineProperty(t,e,{configurable:!0,get:o(function(){return a.call(this)},"get"),set:o(function(l){n=""+l,r.call(this,l)},"set")}),Object.defineProperty(t,e,{enumerable:i.enumerable}),{getValue:o(function(){return n},"getValue"),setValue:o(function(l){n=""+l},"setValue"),stopTracking:o(function(){t._valueTracker=null,delete t[e]},"stopTracking")}}}o(Zw,"trackValueOnNode");function Km(t){if(!t._valueTracker){var e=Mx(t)?"checked":"value";t._valueTracker=Zw(t,e,""+t[e])}}o(Km,"track");function Dx(t){if(!t)return!1;var e=t._valueTracker;if(!e)return!0;var n=e.getValue(),i="";return t&&(i=Mx(t)?t.checked?"true":"false":t.value),t=i,t!==n?(e.setValue(t),!0):!1}o(Dx,"updateValueIfChanged");function _u(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}}o(_u,"getActiveElement");var Qw=/[\n"\\]/g;function Ae(t){return t.replace(Qw,function(e){return"\\"+e.charCodeAt(0).toString(16)+" "})}o(Ae,"escapeSelectorAttributeValueInsideDoubleQuotes");function Pm(t,e,n,i,a,r,l,s){t.name="",l!=null&&typeof l!="function"&&typeof l!="symbol"&&typeof l!="boolean"?t.type=l:t.removeAttribute("type"),e!=null?l==="number"?(e===0&&t.value===""||t.value!=e)&&(t.value=""+Se(e)):t.value!==""+Se(e)&&(t.value=""+Se(e)):l!=="submit"&&l!=="reset"||t.removeAttribute("value"),e!=null?Jm(t,l,Se(e)):n!=null?Jm(t,l,Se(n)):i!=null&&t.removeAttribute("value"),a==null&&r!=null&&(t.defaultChecked=!!r),a!=null&&(t.checked=a&&typeof a!="function"&&typeof a!="symbol"),s!=null&&typeof s!="function"&&typeof s!="symbol"&&typeof s!="boolean"?t.name=""+Se(s):t.removeAttribute("name")}o(Pm,"updateInput");function Cx(t,e,n,i,a,r,l,s){if(r!=null&&typeof r!="function"&&typeof r!="symbol"&&typeof r!="boolean"&&(t.type=r),e!=null||n!=null){if(!(r!=="submit"&&r!=="reset"||e!=null)){Km(t);return}n=n!=null?""+Se(n):"",e=e!=null?""+Se(e):n,s||e===t.value||(t.value=e),t.defaultValue=e}i=i??a,i=typeof i!="function"&&typeof i!="symbol"&&!!i,t.checked=s?t.checked:!!i,t.defaultChecked=!!i,l!=null&&typeof l!="function"&&typeof l!="symbol"&&typeof l!="boolean"&&(t.name=l),Km(t)}o(Cx,"initInput");function Jm(t,e,n){e==="number"&&_u(t.ownerDocument)===t||t.defaultValue===""+n||(t.defaultValue=""+n)}o(Jm,"setDefaultValue");function lo(t,e,n,i){if(t=t.options,e){e={};for(var a=0;a<n.length;a++)e["$"+n[a]]=!0;for(n=0;n<t.length;n++)a=e.hasOwnProperty("$"+t[n].value),t[n].selected!==a&&(t[n].selected=a),a&&i&&(t[n].defaultSelected=!0)}else{for(n=""+Se(n),e=null,a=0;a<t.length;a++){if(t[a].value===n){t[a].selected=!0,i&&(t[a].defaultSelected=!0);return}e!==null||t[a].disabled||(e=t[a])}e!==null&&(e.selected=!0)}}o(lo,"updateOptions");function Vx(t,e,n){if(e!=null&&(e=""+Se(e),e!==t.value&&(t.value=e),n==null)){t.defaultValue!==e&&(t.defaultValue=e);return}t.defaultValue=n!=null?""+Se(n):""}o(Vx,"updateTextarea");function Ox(t,e,n,i){if(e==null){if(i!=null){if(n!=null)throw Error(S(92));if(Or(i)){if(1<i.length)throw Error(S(93));i=i[0]}n=i}n==null&&(n=""),e=n}n=Se(e),t.defaultValue=n,i=t.textContent,i===n&&i!==""&&i!==null&&(t.value=i),Km(t)}o(Ox,"initTextarea");function go(t,e){if(e){var n=t.firstChild;if(n&&n===t.lastChild&&n.nodeType===3){n.nodeValue=e;return}}t.textContent=e}o(go,"setTextContent");var Kw=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 Qy(t,e,n){var i=e.indexOf("--")===0;n==null||typeof n=="boolean"||n===""?i?t.setProperty(e,""):e==="float"?t.cssFloat="":t[e]="":i?t.setProperty(e,n):typeof n!="number"||n===0||Kw.has(e)?e==="float"?t.cssFloat=n:t[e]=(""+n).trim():t[e]=n+"px"}o(Qy,"setValueForStyle");function zx(t,e,n){if(e!=null&&typeof e!="object")throw Error(S(62));if(t=t.style,n!=null){for(var i in n)!n.hasOwnProperty(i)||e!=null&&e.hasOwnProperty(i)||(i.indexOf("--")===0?t.setProperty(i,""):i==="float"?t.cssFloat="":t[i]="");for(var a in e)i=e[a],e.hasOwnProperty(a)&&n[a]!==i&&Qy(t,a,i)}else for(var r in e)e.hasOwnProperty(r)&&Qy(t,r,e[r])}o(zx,"setValueForStyles");function Hd(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}}o(Hd,"isCustomElement");var Pw=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"]]),Jw=/^[\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 pu(t){return Jw.test(""+t)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":t}o(pu,"sanitizeURL");function bn(){}o(bn,"noop$1");var Fm=null;function Gd(t){return t=t.target||t.srcElement||window,t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===3?t.parentNode:t}o(Gd,"getEventTarget");var Wa=null,so=null;function Ky(t){var e=Mo(t);if(e&&(t=e.stateNode)){var n=t[$t]||null;t:switch(t=e.stateNode,e.type){case"input":if(Pm(t,n.value,n.defaultValue,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name),e=n.name,n.type==="radio"&&e!=null){for(n=t;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll('input[name="'+Ae(""+e)+'"][type="radio"]'),e=0;e<n.length;e++){var i=n[e];if(i!==t&&i.form===t.form){var a=i[$t]||null;if(!a)throw Error(S(90));Pm(i,a.value,a.defaultValue,a.defaultValue,a.checked,a.defaultChecked,a.type,a.name)}}for(e=0;e<n.length;e++)i=n[e],i.form===t.form&&Dx(i)}break t;case"textarea":Vx(t,n.value,n.defaultValue);break t;case"select":e=n.value,e!=null&&lo(t,!!n.multiple,e,!1)}}}o(Ky,"restoreStateOfTarget");var cm=!1;function _x(t,e,n){if(cm)return t(e,n);cm=!0;try{var i=t(e);return i}finally{if(cm=!1,(Wa!==null||so!==null)&&(hc(),Wa&&(e=Wa,t=so,so=Wa=null,Ky(e),t)))for(e=0;e<t.length;e++)Ky(t[e])}}o(_x,"batchedUpdates$1");function Pr(t,e){var n=t.stateNode;if(n===null)return null;var i=n[$t]||null;if(i===null)return null;n=i[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":(i=!i.disabled)||(t=t.type,i=!(t==="button"||t==="input"||t==="select"||t==="textarea")),t=!i;break t;default:t=!1}if(t)return null;if(n&&typeof n!="function")throw Error(S(231,e,typeof n));return n}o(Pr,"getListener");var En=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Wm=!1;if(En)try{Xa={},Object.defineProperty(Xa,"passive",{get:o(function(){Wm=!0},"get")}),window.addEventListener("test",Xa,Xa),window.removeEventListener("test",Xa,Xa)}catch{Wm=!1}var Xa,ei=null,Yd=null,hu=null;function Nx(){if(hu)return hu;var t,e=Yd,n=e.length,i,a="value"in ei?ei.value:ei.textContent,r=a.length;for(t=0;t<n&&e[t]===a[t];t++);var l=n-t;for(i=1;i<=l&&e[n-i]===a[r-i];i++);return hu=a.slice(t,1<i?1-i:void 0)}o(Nx,"getData");function gu(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}o(gu,"getEventCharCode");function tu(){return!0}o(tu,"functionThatReturnsTrue");function Py(){return!1}o(Py,"functionThatReturnsFalse");function te(t){function e(n,i,a,r,l){this._reactName=n,this._targetInst=a,this.type=i,this.nativeEvent=r,this.target=l,this.currentTarget=null;for(var s in t)t.hasOwnProperty(s)&&(n=t[s],this[s]=n?n(r):r[s]);return this.isDefaultPrevented=(r.defaultPrevented!=null?r.defaultPrevented:r.returnValue===!1)?tu:Py,this.isPropagationStopped=Py,this}return o(e,"SyntheticBaseEvent"),it(e.prototype,{preventDefault:o(function(){this.defaultPrevented=!0;var n=this.nativeEvent;n&&(n.preventDefault?n.preventDefault():typeof n.returnValue!="unknown"&&(n.returnValue=!1),this.isDefaultPrevented=tu)},"preventDefault"),stopPropagation:o(function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=tu)},"stopPropagation"),persist:o(function(){},"persist"),isPersistent:tu}),e}o(te,"createSyntheticEvent");var na={eventPhase:0,bubbles:0,cancelable:0,timeStamp:o(function(t){return t.timeStamp||Date.now()},"timeStamp"),defaultPrevented:0,isTrusted:0},ac=te(na),ml=it({},na,{view:0,detail:0}),Fw=te(ml),fm,mm,wr,oc=it({},ml,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:qd,button:0,buttons:0,relatedTarget:o(function(t){return t.relatedTarget===void 0?t.fromElement===t.srcElement?t.toElement:t.fromElement:t.relatedTarget},"relatedTarget"),movementX:o(function(t){return"movementX"in t?t.movementX:(t!==wr&&(wr&&t.type==="mousemove"?(fm=t.screenX-wr.screenX,mm=t.screenY-wr.screenY):mm=fm=0,wr=t),fm)},"movementX"),movementY:o(function(t){return"movementY"in t?t.movementY:mm},"movementY")}),Jy=te(oc),Ww=it({},oc,{dataTransfer:0}),Iw=te(Ww),$w=it({},ml,{relatedTarget:0}),dm=te($w),tA=it({},na,{animationName:0,elapsedTime:0,pseudoElement:0}),eA=te(tA),nA=it({},na,{clipboardData:o(function(t){return"clipboardData"in t?t.clipboardData:window.clipboardData},"clipboardData")}),iA=te(nA),aA=it({},na,{data:0}),Fy=te(aA),oA={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},rA={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"},lA={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function sA(t){var e=this.nativeEvent;return e.getModifierState?e.getModifierState(t):(t=lA[t])?!!e[t]:!1}o(sA,"modifierStateGetter");function qd(){return sA}o(qd,"getEventModifierState");var uA=it({},ml,{key:o(function(t){if(t.key){var e=oA[t.key]||t.key;if(e!=="Unidentified")return e}return t.type==="keypress"?(t=gu(t),t===13?"Enter":String.fromCharCode(t)):t.type==="keydown"||t.type==="keyup"?rA[t.keyCode]||"Unidentified":""},"key"),code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:qd,charCode:o(function(t){return t.type==="keypress"?gu(t):0},"charCode"),keyCode:o(function(t){return t.type==="keydown"||t.type==="keyup"?t.keyCode:0},"keyCode"),which:o(function(t){return t.type==="keypress"?gu(t):t.type==="keydown"||t.type==="keyup"?t.keyCode:0},"which")}),cA=te(uA),fA=it({},oc,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Wy=te(fA),mA=it({},ml,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:qd}),dA=te(mA),pA=it({},na,{propertyName:0,elapsedTime:0,pseudoElement:0}),hA=te(pA),gA=it({},oc,{deltaX:o(function(t){return"deltaX"in t?t.deltaX:"wheelDeltaX"in t?-t.wheelDeltaX:0},"deltaX"),deltaY:o(function(t){return"deltaY"in t?t.deltaY:"wheelDeltaY"in t?-t.wheelDeltaY:"wheelDelta"in t?-t.wheelDelta:0},"deltaY"),deltaZ:0,deltaMode:0}),yA=te(gA),vA=it({},na,{newState:0,oldState:0}),xA=te(vA),bA=[9,13,27,32],Xd=En&&"CompositionEvent"in window,Rr=null;En&&"documentMode"in document&&(Rr=document.documentMode);var SA=En&&"TextEvent"in window&&!Rr,Rx=En&&(!Xd||Rr&&8<Rr&&11>=Rr),Iy=" ",$y=!1;function Bx(t,e){switch(t){case"keyup":return bA.indexOf(e.keyCode)!==-1;case"keydown":return e.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}o(Bx,"isFallbackCompositionEnd");function Ux(t){return t=t.detail,typeof t=="object"&&"data"in t?t.data:null}o(Ux,"getDataFromCustomEvent");var Ia=!1;function TA(t,e){switch(t){case"compositionend":return Ux(e);case"keypress":return e.which!==32?null:($y=!0,Iy);case"textInput":return t=e.data,t===Iy&&$y?null:t;default:return null}}o(TA,"getNativeBeforeInputChars");function wA(t,e){if(Ia)return t==="compositionend"||!Xd&&Bx(t,e)?(t=Nx(),hu=Yd=ei=null,Ia=!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 Rx&&e.locale!=="ko"?null:e.data;default:return null}}o(wA,"getFallbackBeforeInputChars");var AA={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 tv(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return e==="input"?!!AA[t.type]:e==="textarea"}o(tv,"isTextInputElement");function Lx(t,e,n,i){Wa?so?so.push(i):so=[i]:Wa=i,e=Fu(e,"onChange"),0<e.length&&(n=new ac("onChange","change",null,n,i),t.push({event:n,listeners:e}))}o(Lx,"createAndAccumulateChangeEvent");var Br=null,Jr=null;function EA(t){_b(t,0)}o(EA,"runEventInBatch");function rc(t){var e=zr(t);if(Dx(e))return t}o(rc,"getInstIfValueChanged");function ev(t,e){if(t==="change")return e}o(ev,"getTargetInstForChangeEvent");var jx=!1;En&&(En?(nu="oninput"in document,nu||(pm=document.createElement("div"),pm.setAttribute("oninput","return;"),nu=typeof pm.oninput=="function"),eu=nu):eu=!1,jx=eu&&(!document.documentMode||9<document.documentMode));var eu,nu,pm;function nv(){Br&&(Br.detachEvent("onpropertychange",Hx),Jr=Br=null)}o(nv,"stopWatchingForValueChange");function Hx(t){if(t.propertyName==="value"&&rc(Jr)){var e=[];Lx(e,Jr,t,Gd(t)),_x(EA,e)}}o(Hx,"handlePropertyChange");function MA(t,e,n){t==="focusin"?(nv(),Br=e,Jr=n,Br.attachEvent("onpropertychange",Hx)):t==="focusout"&&nv()}o(MA,"handleEventsForInputEventPolyfill");function DA(t){if(t==="selectionchange"||t==="keyup"||t==="keydown")return rc(Jr)}o(DA,"getTargetInstForInputEventPolyfill");function CA(t,e){if(t==="click")return rc(e)}o(CA,"getTargetInstForClickEvent");function VA(t,e){if(t==="input"||t==="change")return rc(e)}o(VA,"getTargetInstForInputOrChangeEvent");function OA(t,e){return t===e&&(t!==0||1/t===1/e)||t!==t&&e!==e}o(OA,"is");var me=typeof Object.is=="function"?Object.is:OA;function Fr(t,e){if(me(t,e))return!0;if(typeof t!="object"||t===null||typeof e!="object"||e===null)return!1;var n=Object.keys(t),i=Object.keys(e);if(n.length!==i.length)return!1;for(i=0;i<n.length;i++){var a=n[i];if(!Zm.call(e,a)||!me(t[a],e[a]))return!1}return!0}o(Fr,"shallowEqual");function iv(t){for(;t&&t.firstChild;)t=t.firstChild;return t}o(iv,"getLeafNode");function av(t,e){var n=iv(t);t=0;for(var i;n;){if(n.nodeType===3){if(i=t+n.textContent.length,t<=e&&i>=e)return{node:n,offset:e-t};t=i}t:{for(;n;){if(n.nextSibling){n=n.nextSibling;break t}n=n.parentNode}n=void 0}n=iv(n)}}o(av,"getNodeForCharacterOffset");function Gx(t,e){return t&&e?t===e?!0:t&&t.nodeType===3?!1:e&&e.nodeType===3?Gx(t,e.parentNode):"contains"in t?t.contains(e):t.compareDocumentPosition?!!(t.compareDocumentPosition(e)&16):!1:!1}o(Gx,"containsNode");function Yx(t){t=t!=null&&t.ownerDocument!=null&&t.ownerDocument.defaultView!=null?t.ownerDocument.defaultView:window;for(var e=_u(t.document);e instanceof t.HTMLIFrameElement;){try{var n=typeof e.contentWindow.location.href=="string"}catch{n=!1}if(n)t=e.contentWindow;else break;e=_u(t.document)}return e}o(Yx,"getActiveElementDeep");function kd(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")}o(kd,"hasSelectionCapabilities");var zA=En&&"documentMode"in document&&11>=document.documentMode,$a=null,Im=null,Ur=null,$m=!1;function ov(t,e,n){var i=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;$m||$a==null||$a!==_u(i)||(i=$a,"selectionStart"in i&&kd(i)?i={start:i.selectionStart,end:i.selectionEnd}:(i=(i.ownerDocument&&i.ownerDocument.defaultView||window).getSelection(),i={anchorNode:i.anchorNode,anchorOffset:i.anchorOffset,focusNode:i.focusNode,focusOffset:i.focusOffset}),Ur&&Fr(Ur,i)||(Ur=i,i=Fu(Im,"onSelect"),0<i.length&&(e=new ac("onSelect","select",null,e,n),t.push({event:e,listeners:i}),e.target=$a)))}o(ov,"constructSelectEvent");function Gi(t,e){var n={};return n[t.toLowerCase()]=e.toLowerCase(),n["Webkit"+t]="webkit"+e,n["Moz"+t]="moz"+e,n}o(Gi,"makePrefixMap");var to={animationend:Gi("Animation","AnimationEnd"),animationiteration:Gi("Animation","AnimationIteration"),animationstart:Gi("Animation","AnimationStart"),transitionrun:Gi("Transition","TransitionRun"),transitionstart:Gi("Transition","TransitionStart"),transitioncancel:Gi("Transition","TransitionCancel"),transitionend:Gi("Transition","TransitionEnd")},hm={},qx={};En&&(qx=document.createElement("div").style,"AnimationEvent"in window||(delete to.animationend.animation,delete to.animationiteration.animation,delete to.animationstart.animation),"TransitionEvent"in window||delete to.transitionend.transition);function ia(t){if(hm[t])return hm[t];if(!to[t])return t;var e=to[t],n;for(n in e)if(e.hasOwnProperty(n)&&n in qx)return hm[t]=e[n];return t}o(ia,"getVendorPrefixedEventName");var Xx=ia("animationend"),kx=ia("animationiteration"),Zx=ia("animationstart"),_A=ia("transitionrun"),NA=ia("transitionstart"),RA=ia("transitioncancel"),Qx=ia("transitionend"),Kx=new Map,td="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(" ");td.push("scrollEnd");function Le(t,e){Kx.set(t,e),ea(e,[t])}o(Le,"registerSimpleEvent");var Nu=typeof reportError=="function"?reportError:function(t){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var e=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof t=="object"&&t!==null&&typeof t.message=="string"?String(t.message):String(t),error:t});if(!window.dispatchEvent(e))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",t);return}console.error(t)},be=[],eo=0,Zd=0;function lc(){for(var t=eo,e=Zd=eo=0;e<t;){var n=be[e];be[e++]=null;var i=be[e];be[e++]=null;var a=be[e];be[e++]=null;var r=be[e];if(be[e++]=null,i!==null&&a!==null){var l=i.pending;l===null?a.next=a:(a.next=l.next,l.next=a),i.pending=a}r!==0&&Px(n,a,r)}}o(lc,"finishQueueingConcurrentUpdates");function sc(t,e,n,i){be[eo++]=t,be[eo++]=e,be[eo++]=n,be[eo++]=i,Zd|=i,t.lanes|=i,t=t.alternate,t!==null&&(t.lanes|=i)}o(sc,"enqueueUpdate$1");function Qd(t,e,n,i){return sc(t,e,n,i),Ru(t)}o(Qd,"enqueueConcurrentHookUpdate");function aa(t,e){return sc(t,null,null,e),Ru(t)}o(aa,"enqueueConcurrentRenderForLane");function Px(t,e,n){t.lanes|=n;var i=t.alternate;i!==null&&(i.lanes|=n);for(var a=!1,r=t.return;r!==null;)r.childLanes|=n,i=r.alternate,i!==null&&(i.childLanes|=n),r.tag===22&&(t=r.stateNode,t===null||t._visibility&1||(a=!0)),t=r,r=r.return;return t.tag===3?(r=t.stateNode,a&&e!==null&&(a=31-ce(n),t=r.hiddenUpdates,i=t[a],i===null?t[a]=[e]:i.push(e),e.lane=n|536870912),r):null}o(Px,"markUpdateLaneFromFiberToRoot");function Ru(t){if(50<Zr)throw Zr=0,Sd=null,Error(S(185));for(var e=t.return;e!==null;)t=e,e=t.return;return t.tag===3?t.stateNode:null}o(Ru,"getRootForUpdatedFiber");var no={};function BA(t,e,n,i){this.tag=t,this.key=n,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=i,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}o(BA,"FiberNode");function re(t,e,n,i){return new BA(t,e,n,i)}o(re,"createFiberImplClass");function Kd(t){return t=t.prototype,!(!t||!t.isReactComponent)}o(Kd,"shouldConstruct");function Tn(t,e){var n=t.alternate;return n===null?(n=re(t.tag,e,t.key,t.mode),n.elementType=t.elementType,n.type=t.type,n.stateNode=t.stateNode,n.alternate=t,t.alternate=n):(n.pendingProps=e,n.type=t.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=t.flags&65011712,n.childLanes=t.childLanes,n.lanes=t.lanes,n.child=t.child,n.memoizedProps=t.memoizedProps,n.memoizedState=t.memoizedState,n.updateQueue=t.updateQueue,e=t.dependencies,n.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext},n.sibling=t.sibling,n.index=t.index,n.ref=t.ref,n.refCleanup=t.refCleanup,n}o(Tn,"createWorkInProgress");function Jx(t,e){t.flags&=65011714;var n=t.alternate;return n===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=n.childLanes,t.lanes=n.lanes,t.child=n.child,t.subtreeFlags=0,t.deletions=null,t.memoizedProps=n.memoizedProps,t.memoizedState=n.memoizedState,t.updateQueue=n.updateQueue,t.type=n.type,e=n.dependencies,t.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),t}o(Jx,"resetWorkInProgress");function yu(t,e,n,i,a,r){var l=0;if(i=t,typeof t=="function")Kd(t)&&(l=1);else if(typeof t=="string")l=jE(t,n,Pe.current)?26:t==="html"||t==="head"||t==="body"?27:5;else t:switch(t){case Ym:return t=re(31,n,e,a),t.elementType=Ym,t.lanes=r,t;case Pa:return Qi(n.children,a,r,e);case px:l=8,a|=24;break;case jm:return t=re(12,n,e,a|2),t.elementType=jm,t.lanes=r,t;case Hm:return t=re(13,n,e,a),t.elementType=Hm,t.lanes=r,t;case Gm:return t=re(19,n,e,a),t.elementType=Gm,t.lanes=r,t;default:if(typeof t=="object"&&t!==null)switch(t.$$typeof){case xn:l=10;break t;case hx:l=9;break t;case Nd:l=11;break t;case Rd:l=14;break t;case Pn:l=16,i=null;break t}l=29,n=Error(S(130,t===null?"null":typeof t,"")),i=null}return e=re(l,n,e,a),e.elementType=t,e.type=i,e.lanes=r,e}o(yu,"createFiberFromTypeAndProps");function Qi(t,e,n,i){return t=re(7,t,i,e),t.lanes=n,t}o(Qi,"createFiberFromFragment");function gm(t,e,n){return t=re(6,t,null,e),t.lanes=n,t}o(gm,"createFiberFromText");function Fx(t){var e=re(18,null,null,0);return e.stateNode=t,e}o(Fx,"createFiberFromDehydratedFragment");function ym(t,e,n){return e=re(4,t.children!==null?t.children:[],t.key,e),e.lanes=n,e.stateNode={containerInfo:t.containerInfo,pendingChildren:null,implementation:t.implementation},e}o(ym,"createFiberFromPortal");var rv=new WeakMap;function Ee(t,e){if(typeof t=="object"&&t!==null){var n=rv.get(t);return n!==void 0?n:(e={value:t,source:e,stack:Yy(e)},rv.set(t,e),e)}return{value:t,source:e,stack:Yy(e)}}o(Ee,"createCapturedValueAtFiber");var io=[],ao=0,Bu=null,Wr=0,Te=[],we=0,pi=null,Ze=1,Qe="";function yn(t,e){io[ao++]=Wr,io[ao++]=Bu,Bu=t,Wr=e}o(yn,"pushTreeFork");function Wx(t,e,n){Te[we++]=Ze,Te[we++]=Qe,Te[we++]=pi,pi=t;var i=Ze;t=Qe;var a=32-ce(i)-1;i&=~(1<<a),n+=1;var r=32-ce(e)+a;if(30<r){var l=a-a%5;r=(i&(1<<l)-1).toString(32),i>>=l,a-=l,Ze=1<<32-ce(e)+a|n<<a|i,Qe=r+t}else Ze=1<<r|n<<a|i,Qe=t}o(Wx,"pushTreeId");function Pd(t){t.return!==null&&(yn(t,1),Wx(t,1,0))}o(Pd,"pushMaterializedTreeId");function Jd(t){for(;t===Bu;)Bu=io[--ao],io[ao]=null,Wr=io[--ao],io[ao]=null;for(;t===pi;)pi=Te[--we],Te[we]=null,Qe=Te[--we],Te[we]=null,Ze=Te[--we],Te[we]=null}o(Jd,"popTreeContext");function Ix(t,e){Te[we++]=Ze,Te[we++]=Qe,Te[we++]=pi,Ze=e.id,Qe=e.overflow,pi=t}o(Ix,"restoreSuspendedTreeContext");var Rt=null,nt=null,q=!1,ri=null,Me=!1,ed=Error(S(519));function hi(t){var e=Error(S(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw Ir(Ee(e,t)),ed}o(hi,"throwOnHydrationMismatch");function lv(t){var e=t.stateNode,n=t.type,i=t.memoizedProps;switch(e[Nt]=t,e[$t]=i,n){case"dialog":U("cancel",e),U("close",e);break;case"iframe":case"object":case"embed":U("load",e);break;case"video":case"audio":for(n=0;n<nl.length;n++)U(nl[n],e);break;case"source":U("error",e);break;case"img":case"image":case"link":U("error",e),U("load",e);break;case"details":U("toggle",e);break;case"input":U("invalid",e),Cx(e,i.value,i.defaultValue,i.checked,i.defaultChecked,i.type,i.name,!0);break;case"select":U("invalid",e);break;case"textarea":U("invalid",e),Ox(e,i.value,i.defaultValue,i.children)}n=i.children,typeof n!="string"&&typeof n!="number"&&typeof n!="bigint"||e.textContent===""+n||i.suppressHydrationWarning===!0||Rb(e.textContent,n)?(i.popover!=null&&(U("beforetoggle",e),U("toggle",e)),i.onScroll!=null&&U("scroll",e),i.onScrollEnd!=null&&U("scrollend",e),i.onClick!=null&&(e.onclick=bn),e=!0):e=!1,e||hi(t,!0)}o(lv,"prepareToHydrateHostInstance");function sv(t){for(Rt=t.return;Rt;)switch(Rt.tag){case 5:case 31:case 13:Me=!1;return;case 27:case 3:Me=!0;return;default:Rt=Rt.return}}o(sv,"popToNextHostParent");function ka(t){if(t!==Rt)return!1;if(!q)return sv(t),q=!0,!1;var e=t.tag,n;if((n=e!==3&&e!==27)&&((n=e===5)&&(n=t.type,n=!(n!=="form"&&n!=="button")||Md(t.type,t.memoizedProps)),n=!n),n&&nt&&hi(t),sv(t),e===13){if(t=t.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(S(317));nt=Fv(t)}else if(e===31){if(t=t.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(S(317));nt=Fv(t)}else e===27?(e=nt,xi(t.type)?(t=Od,Od=null,nt=t):nt=e):nt=Rt?Ce(t.stateNode.nextSibling):null;return!0}o(ka,"popHydrationState");function Fi(){nt=Rt=null,q=!1}o(Fi,"resetHydrationState");function vm(){var t=ri;return t!==null&&(Wt===null?Wt=t:Wt.push.apply(Wt,t),ri=null),t}o(vm,"upgradeHydrationErrorsToRecoverable");function Ir(t){ri===null?ri=[t]:ri.push(t)}o(Ir,"queueHydrationError");var nd=Je(null),oa=null,Sn=null;function Fn(t,e,n){W(nd,e._currentValue),e._currentValue=n}o(Fn,"pushProvider");function wn(t){t._currentValue=nd.current,Ct(nd)}o(wn,"popProvider");function id(t,e,n){for(;t!==null;){var i=t.alternate;if((t.childLanes&e)!==e?(t.childLanes|=e,i!==null&&(i.childLanes|=e)):i!==null&&(i.childLanes&e)!==e&&(i.childLanes|=e),t===n)break;t=t.return}}o(id,"scheduleContextWorkOnParentPath");function ad(t,e,n,i){var a=t.child;for(a!==null&&(a.return=t);a!==null;){var r=a.dependencies;if(r!==null){var l=a.child;r=r.firstContext;t:for(;r!==null;){var s=r;r=a;for(var u=0;u<e.length;u++)if(s.context===e[u]){r.lanes|=n,s=r.alternate,s!==null&&(s.lanes|=n),id(r.return,n,t),i||(l=null);break t}r=s.next}}else if(a.tag===18){if(l=a.return,l===null)throw Error(S(341));l.lanes|=n,r=l.alternate,r!==null&&(r.lanes|=n),id(l,n,t),l=null}else l=a.child;if(l!==null)l.return=a;else for(l=a;l!==null;){if(l===t){l=null;break}if(a=l.sibling,a!==null){a.return=l.return,l=a;break}l=l.return}a=l}}o(ad,"propagateContextChanges");function Do(t,e,n,i){t=null;for(var a=e,r=!1;a!==null;){if(!r){if((a.flags&524288)!==0)r=!0;else if((a.flags&262144)!==0)break}if(a.tag===10){var l=a.alternate;if(l===null)throw Error(S(387));if(l=l.memoizedProps,l!==null){var s=a.type;me(a.pendingProps.value,l.value)||(t!==null?t.push(s):t=[s])}}else if(a===Cu.current){if(l=a.alternate,l===null)throw Error(S(387));l.memoizedState.memoizedState!==a.memoizedState.memoizedState&&(t!==null?t.push(al):t=[al])}a=a.return}t!==null&&ad(e,t,n,i),e.flags|=262144}o(Do,"propagateParentContextChanges");function Uu(t){for(t=t.firstContext;t!==null;){if(!me(t.context._currentValue,t.memoizedValue))return!0;t=t.next}return!1}o(Uu,"checkIfContextChanged");function Wi(t){oa=t,Sn=null,t=t.dependencies,t!==null&&(t.firstContext=null)}o(Wi,"prepareToReadContext");function Bt(t){return $x(oa,t)}o(Bt,"readContext");function iu(t,e){return oa===null&&Wi(t),$x(t,e)}o(iu,"readContextDuringReconciliation");function $x(t,e){var n=e._currentValue;if(e={context:e,memoizedValue:n,next:null},Sn===null){if(t===null)throw Error(S(308));Sn=e,t.dependencies={lanes:0,firstContext:e},t.flags|=524288}else Sn=Sn.next=e;return n}o($x,"readContextForConsumer");var UA=typeof AbortController<"u"?AbortController:function(){var t=[],e=this.signal={aborted:!1,addEventListener:o(function(n,i){t.push(i)},"addEventListener")};this.abort=function(){e.aborted=!0,t.forEach(function(n){return n()})}},LA=wt.unstable_scheduleCallback,jA=wt.unstable_NormalPriority,yt={$$typeof:xn,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function Fd(){return{controller:new UA,data:new Map,refCount:0}}o(Fd,"createCache");function dl(t){t.refCount--,t.refCount===0&&LA(jA,function(){t.controller.abort()})}o(dl,"releaseCache");var Lr=null,od=0,yo=0,uo=null;function HA(t,e){if(Lr===null){var n=Lr=[];od=0,yo=Sp(),uo={status:"pending",value:void 0,then:o(function(i){n.push(i)},"then")}}return od++,e.then(uv,uv),e}o(HA,"entangleAsyncAction");function uv(){if(--od===0&&Lr!==null){uo!==null&&(uo.status="fulfilled");var t=Lr;Lr=null,yo=0,uo=null;for(var e=0;e<t.length;e++)(0,t[e])()}}o(uv,"pingEngtangledActionScope");function GA(t,e){var n=[],i={status:"pending",value:null,reason:null,then:o(function(a){n.push(a)},"then")};return t.then(function(){i.status="fulfilled",i.value=e;for(var a=0;a<n.length;a++)(0,n[a])(e)},function(a){for(i.status="rejected",i.reason=a,a=0;a<n.length;a++)(0,n[a])(void 0)}),i}o(GA,"chainThenableValue");var cv=O.S;O.S=function(t,e){db=se(),typeof e=="object"&&e!==null&&typeof e.then=="function"&&HA(t,e),cv!==null&&cv(t,e)};var Ki=Je(null);function Wd(){var t=Ki.current;return t!==null?t:F.pooledCache}o(Wd,"peekCacheFromPool");function vu(t,e){e===null?W(Ki,Ki.current):W(Ki,e.pool)}o(vu,"pushTransition");function t1(){var t=Wd();return t===null?null:{parent:yt._currentValue,pool:t}}o(t1,"getSuspendedCache");var Co=Error(S(460)),Id=Error(S(474)),uc=Error(S(542)),Lu={then:o(function(){},"then")};function fv(t){return t=t.status,t==="fulfilled"||t==="rejected"}o(fv,"isThenableResolved");function e1(t,e,n){switch(n=t[n],n===void 0?t.push(e):n!==e&&(e.then(bn,bn),e=n),e.status){case"fulfilled":return e.value;case"rejected":throw t=e.reason,dv(t),t;default:if(typeof e.status=="string")e.then(bn,bn);else{if(t=F,t!==null&&100<t.shellSuspendCounter)throw Error(S(482));t=e,t.status="pending",t.then(function(i){if(e.status==="pending"){var a=e;a.status="fulfilled",a.value=i}},function(i){if(e.status==="pending"){var a=e;a.status="rejected",a.reason=i}})}switch(e.status){case"fulfilled":return e.value;case"rejected":throw t=e.reason,dv(t),t}throw Pi=e,Co}}o(e1,"trackUsedThenable");function Xi(t){try{var e=t._init;return e(t._payload)}catch(n){throw n!==null&&typeof n=="object"&&typeof n.then=="function"?(Pi=n,Co):n}}o(Xi,"resolveLazy");var Pi=null;function mv(){if(Pi===null)throw Error(S(459));var t=Pi;return Pi=null,t}o(mv,"getSuspendedThenable");function dv(t){if(t===Co||t===uc)throw Error(S(483))}o(dv,"checkIfUseWrappedInAsyncCatch");var co=null,$r=0;function au(t){var e=$r;return $r+=1,co===null&&(co=[]),e1(co,t,e)}o(au,"unwrapThenable");function Ar(t,e){e=e.props.ref,t.ref=e!==void 0?e:null}o(Ar,"coerceRef");function ou(t,e){throw e.$$typeof===Mw?Error(S(525)):(t=Object.prototype.toString.call(e),Error(S(31,t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)))}o(ou,"throwOnInvalidObjectTypeImpl");function n1(t){function e(g,h){if(t){var y=g.deletions;y===null?(g.deletions=[h],g.flags|=16):y.push(h)}}o(e,"deleteChild");function n(g,h){if(!t)return null;for(;h!==null;)e(g,h),h=h.sibling;return null}o(n,"deleteRemainingChildren");function i(g){for(var h=new Map;g!==null;)g.key!==null?h.set(g.key,g):h.set(g.index,g),g=g.sibling;return h}o(i,"mapRemainingChildren");function a(g,h){return g=Tn(g,h),g.index=0,g.sibling=null,g}o(a,"useFiber");function r(g,h,y){return g.index=y,t?(y=g.alternate,y!==null?(y=y.index,y<h?(g.flags|=67108866,h):y):(g.flags|=67108866,h)):(g.flags|=1048576,h)}o(r,"placeChild");function l(g){return t&&g.alternate===null&&(g.flags|=67108866),g}o(l,"placeSingleChild");function s(g,h,y,x){return h===null||h.tag!==6?(h=gm(y,g.mode,x),h.return=g,h):(h=a(h,y),h.return=g,h)}o(s,"updateTextNode");function u(g,h,y,x){var T=y.type;return T===Pa?f(g,h,y.props.children,x,y.key):h!==null&&(h.elementType===T||typeof T=="object"&&T!==null&&T.$$typeof===Pn&&Xi(T)===h.type)?(h=a(h,y.props),Ar(h,y),h.return=g,h):(h=yu(y.type,y.key,y.props,null,g.mode,x),Ar(h,y),h.return=g,h)}o(u,"updateElement");function c(g,h,y,x){return h===null||h.tag!==4||h.stateNode.containerInfo!==y.containerInfo||h.stateNode.implementation!==y.implementation?(h=ym(y,g.mode,x),h.return=g,h):(h=a(h,y.children||[]),h.return=g,h)}o(c,"updatePortal");function f(g,h,y,x,T){return h===null||h.tag!==7?(h=Qi(y,g.mode,x,T),h.return=g,h):(h=a(h,y),h.return=g,h)}o(f,"updateFragment");function m(g,h,y){if(typeof h=="string"&&h!==""||typeof h=="number"||typeof h=="bigint")return h=gm(""+h,g.mode,y),h.return=g,h;if(typeof h=="object"&&h!==null){switch(h.$$typeof){case Js:return y=yu(h.type,h.key,h.props,null,g.mode,y),Ar(y,h),y.return=g,y;case Vr:return h=ym(h,g.mode,y),h.return=g,h;case Pn:return h=Xi(h),m(g,h,y)}if(Or(h)||Tr(h))return h=Qi(h,g.mode,y,null),h.return=g,h;if(typeof h.then=="function")return m(g,au(h),y);if(h.$$typeof===xn)return m(g,iu(g,h),y);ou(g,h)}return null}o(m,"createChild");function d(g,h,y,x){var T=h!==null?h.key:null;if(typeof y=="string"&&y!==""||typeof y=="number"||typeof y=="bigint")return T!==null?null:s(g,h,""+y,x);if(typeof y=="object"&&y!==null){switch(y.$$typeof){case Js:return y.key===T?u(g,h,y,x):null;case Vr:return y.key===T?c(g,h,y,x):null;case Pn:return y=Xi(y),d(g,h,y,x)}if(Or(y)||Tr(y))return T!==null?null:f(g,h,y,x,null);if(typeof y.then=="function")return d(g,h,au(y),x);if(y.$$typeof===xn)return d(g,h,iu(g,y),x);ou(g,y)}return null}o(d,"updateSlot");function p(g,h,y,x,T){if(typeof x=="string"&&x!==""||typeof x=="number"||typeof x=="bigint")return g=g.get(y)||null,s(h,g,""+x,T);if(typeof x=="object"&&x!==null){switch(x.$$typeof){case Js:return g=g.get(x.key===null?y:x.key)||null,u(h,g,x,T);case Vr:return g=g.get(x.key===null?y:x.key)||null,c(h,g,x,T);case Pn:return x=Xi(x),p(g,h,y,x,T)}if(Or(x)||Tr(x))return g=g.get(y)||null,f(h,g,x,T,null);if(typeof x.then=="function")return p(g,h,y,au(x),T);if(x.$$typeof===xn)return p(g,h,y,iu(h,x),T);ou(h,x)}return null}o(p,"updateFromMap");function v(g,h,y,x){for(var T=null,M=null,w=h,E=h=0,C=null;w!==null&&E<y.length;E++){w.index>E?(C=w,w=null):C=w.sibling;var V=d(g,w,y[E],x);if(V===null){w===null&&(w=C);break}t&&w&&V.alternate===null&&e(g,w),h=r(V,h,E),M===null?T=V:M.sibling=V,M=V,w=C}if(E===y.length)return n(g,w),q&&yn(g,E),T;if(w===null){for(;E<y.length;E++)w=m(g,y[E],x),w!==null&&(h=r(w,h,E),M===null?T=w:M.sibling=w,M=w);return q&&yn(g,E),T}for(w=i(w);E<y.length;E++)C=p(w,g,E,y[E],x),C!==null&&(t&&C.alternate!==null&&w.delete(C.key===null?E:C.key),h=r(C,h,E),M===null?T=C:M.sibling=C,M=C);return t&&w.forEach(function(Vt){return e(g,Vt)}),q&&yn(g,E),T}o(v,"reconcileChildrenArray");function b(g,h,y,x){if(y==null)throw Error(S(151));for(var T=null,M=null,w=h,E=h=0,C=null,V=y.next();w!==null&&!V.done;E++,V=y.next()){w.index>E?(C=w,w=null):C=w.sibling;var Vt=d(g,w,V.value,x);if(Vt===null){w===null&&(w=C);break}t&&w&&Vt.alternate===null&&e(g,w),h=r(Vt,h,E),M===null?T=Vt:M.sibling=Vt,M=Vt,w=C}if(V.done)return n(g,w),q&&yn(g,E),T;if(w===null){for(;!V.done;E++,V=y.next())V=m(g,V.value,x),V!==null&&(h=r(V,h,E),M===null?T=V:M.sibling=V,M=V);return q&&yn(g,E),T}for(w=i(w);!V.done;E++,V=y.next())V=p(w,g,E,V.value,x),V!==null&&(t&&V.alternate!==null&&w.delete(V.key===null?E:V.key),h=r(V,h,E),M===null?T=V:M.sibling=V,M=V);return t&&w.forEach(function(xl){return e(g,xl)}),q&&yn(g,E),T}o(b,"reconcileChildrenIterator");function A(g,h,y,x){if(typeof y=="object"&&y!==null&&y.type===Pa&&y.key===null&&(y=y.props.children),typeof y=="object"&&y!==null){switch(y.$$typeof){case Js:t:{for(var T=y.key;h!==null;){if(h.key===T){if(T=y.type,T===Pa){if(h.tag===7){n(g,h.sibling),x=a(h,y.props.children),x.return=g,g=x;break t}}else if(h.elementType===T||typeof T=="object"&&T!==null&&T.$$typeof===Pn&&Xi(T)===h.type){n(g,h.sibling),x=a(h,y.props),Ar(x,y),x.return=g,g=x;break t}n(g,h);break}else e(g,h);h=h.sibling}y.type===Pa?(x=Qi(y.props.children,g.mode,x,y.key),x.return=g,g=x):(x=yu(y.type,y.key,y.props,null,g.mode,x),Ar(x,y),x.return=g,g=x)}return l(g);case Vr:t:{for(T=y.key;h!==null;){if(h.key===T)if(h.tag===4&&h.stateNode.containerInfo===y.containerInfo&&h.stateNode.implementation===y.implementation){n(g,h.sibling),x=a(h,y.children||[]),x.return=g,g=x;break t}else{n(g,h);break}else e(g,h);h=h.sibling}x=ym(y,g.mode,x),x.return=g,g=x}return l(g);case Pn:return y=Xi(y),A(g,h,y,x)}if(Or(y))return v(g,h,y,x);if(Tr(y)){if(T=Tr(y),typeof T!="function")throw Error(S(150));return y=T.call(y),b(g,h,y,x)}if(typeof y.then=="function")return A(g,h,au(y),x);if(y.$$typeof===xn)return A(g,h,iu(g,y),x);ou(g,y)}return typeof y=="string"&&y!==""||typeof y=="number"||typeof y=="bigint"?(y=""+y,h!==null&&h.tag===6?(n(g,h.sibling),x=a(h,y),x.return=g,g=x):(n(g,h),x=gm(y,g.mode,x),x.return=g,g=x),l(g)):n(g,h)}return o(A,"reconcileChildFibersImpl"),function(g,h,y,x){try{$r=0;var T=A(g,h,y,x);return co=null,T}catch(w){if(w===Co||w===uc)throw w;var M=re(29,w,null,g.mode);return M.lanes=x,M.return=g,M}finally{}}}o(n1,"createChildReconciler");var Ii=n1(!0),i1=n1(!1),Jn=!1;function $d(t){t.updateQueue={baseState:t.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}o($d,"initializeUpdateQueue");function rd(t,e){t=t.updateQueue,e.updateQueue===t&&(e.updateQueue={baseState:t.baseState,firstBaseUpdate:t.firstBaseUpdate,lastBaseUpdate:t.lastBaseUpdate,shared:t.shared,callbacks:null})}o(rd,"cloneUpdateQueue");function li(t){return{lane:t,tag:0,payload:null,callback:null,next:null}}o(li,"createUpdate");function si(t,e,n){var i=t.updateQueue;if(i===null)return null;if(i=i.shared,(X&2)!==0){var a=i.pending;return a===null?e.next=e:(e.next=a.next,a.next=e),i.pending=e,e=Ru(t),Px(t,null,n),e}return sc(t,i,e,n),Ru(t)}o(si,"enqueueUpdate");function jr(t,e,n){if(e=e.updateQueue,e!==null&&(e=e.shared,(n&4194048)!==0)){var i=e.lanes;i&=t.pendingLanes,n|=i,e.lanes=n,Sx(t,n)}}o(jr,"entangleTransitions");function xm(t,e){var n=t.updateQueue,i=t.alternate;if(i!==null&&(i=i.updateQueue,n===i)){var a=null,r=null;if(n=n.firstBaseUpdate,n!==null){do{var l={lane:n.lane,tag:n.tag,payload:n.payload,callback:null,next:null};r===null?a=r=l:r=r.next=l,n=n.next}while(n!==null);r===null?a=r=e:r=r.next=e}else a=r=e;n={baseState:i.baseState,firstBaseUpdate:a,lastBaseUpdate:r,shared:i.shared,callbacks:i.callbacks},t.updateQueue=n;return}t=n.lastBaseUpdate,t===null?n.firstBaseUpdate=e:t.next=e,n.lastBaseUpdate=e}o(xm,"enqueueCapturedUpdate");var ld=!1;function Hr(){if(ld){var t=uo;if(t!==null)throw t}}o(Hr,"suspendIfUpdateReadFromEntangledAsyncAction");function Gr(t,e,n,i){ld=!1;var a=t.updateQueue;Jn=!1;var r=a.firstBaseUpdate,l=a.lastBaseUpdate,s=a.shared.pending;if(s!==null){a.shared.pending=null;var u=s,c=u.next;u.next=null,l===null?r=c:l.next=c,l=u;var f=t.alternate;f!==null&&(f=f.updateQueue,s=f.lastBaseUpdate,s!==l&&(s===null?f.firstBaseUpdate=c:s.next=c,f.lastBaseUpdate=u))}if(r!==null){var m=a.baseState;l=0,f=c=u=null,s=r;do{var d=s.lane&-536870913,p=d!==s.lane;if(p?(H&d)===d:(i&d)===d){d!==0&&d===yo&&(ld=!0),f!==null&&(f=f.next={lane:0,tag:s.tag,payload:s.payload,callback:null,next:null});t:{var v=t,b=s;d=e;var A=n;switch(b.tag){case 1:if(v=b.payload,typeof v=="function"){m=v.call(A,m,d);break t}m=v;break t;case 3:v.flags=v.flags&-65537|128;case 0:if(v=b.payload,d=typeof v=="function"?v.call(A,m,d):v,d==null)break t;m=it({},m,d);break t;case 2:Jn=!0}}d=s.callback,d!==null&&(t.flags|=64,p&&(t.flags|=8192),p=a.callbacks,p===null?a.callbacks=[d]:p.push(d))}else p={lane:d,tag:s.tag,payload:s.payload,callback:s.callback,next:null},f===null?(c=f=p,u=m):f=f.next=p,l|=d;if(s=s.next,s===null){if(s=a.shared.pending,s===null)break;p=s,s=p.next,p.next=null,a.lastBaseUpdate=p,a.shared.pending=null}}while(!0);f===null&&(u=m),a.baseState=u,a.firstBaseUpdate=c,a.lastBaseUpdate=f,r===null&&(a.shared.lanes=0),yi|=l,t.lanes=l,t.memoizedState=m}}o(Gr,"processUpdateQueue");function a1(t,e){if(typeof t!="function")throw Error(S(191,t));t.call(e)}o(a1,"callCallback");function o1(t,e){var n=t.callbacks;if(n!==null)for(t.callbacks=null,t=0;t<n.length;t++)a1(n[t],e)}o(o1,"commitCallbacks");var vo=Je(null),ju=Je(0);function pv(t,e){t=Vn,W(ju,t),W(vo,e),Vn=t|e.baseLanes}o(pv,"pushHiddenContext");function sd(){W(ju,Vn),W(vo,vo.current)}o(sd,"reuseHiddenContextOnStack");function tp(){Vn=ju.current,Ct(vo),Ct(ju)}o(tp,"popHiddenContext");var de=Je(null),De=null;function Wn(t){var e=t.alternate;W(dt,dt.current&1),W(de,t),De===null&&(e===null||vo.current!==null||e.memoizedState!==null)&&(De=t)}o(Wn,"pushPrimaryTreeSuspenseHandler");function ud(t){W(dt,dt.current),W(de,t),De===null&&(De=t)}o(ud,"pushDehydratedActivitySuspenseHandler");function r1(t){t.tag===22?(W(dt,dt.current),W(de,t),De===null&&(De=t)):In(t)}o(r1,"pushOffscreenSuspenseHandler");function In(){W(dt,dt.current),W(de,de.current)}o(In,"reuseSuspenseHandlerOnStack");function oe(t){Ct(de),De===t&&(De=null),Ct(dt)}o(oe,"popSuspenseHandler");var dt=Je(0);function Hu(t){for(var e=t;e!==null;){if(e.tag===13){var n=e.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||Cd(n)||Vd(n)))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}o(Hu,"findFirstSuspended");var Mn=0,N=null,P=null,ht=null,Gu=!1,fo=!1,$i=!1,Yu=0,tl=0,mo=null,YA=0;function ft(){throw Error(S(321))}o(ft,"throwInvalidHookError");function ep(t,e){if(e===null)return!1;for(var n=0;n<e.length&&n<t.length;n++)if(!me(t[n],e[n]))return!1;return!0}o(ep,"areHookInputsEqual");function np(t,e,n,i,a,r){return Mn=r,N=e,e.memoizedState=null,e.updateQueue=null,e.lanes=0,O.H=t===null||t.memoizedState===null?L1:dp,$i=!1,r=n(i,a),$i=!1,fo&&(r=s1(e,n,i,a)),l1(t),r}o(np,"renderWithHooks");function l1(t){O.H=el;var e=P!==null&&P.next!==null;if(Mn=0,ht=P=N=null,Gu=!1,tl=0,mo=null,e)throw Error(S(300));t===null||vt||(t=t.dependencies,t!==null&&Uu(t)&&(vt=!0))}o(l1,"finishRenderingHooks");function s1(t,e,n,i){N=t;var a=0;do{if(fo&&(mo=null),tl=0,fo=!1,25<=a)throw Error(S(301));if(a+=1,ht=P=null,t.updateQueue!=null){var r=t.updateQueue;r.lastEffect=null,r.events=null,r.stores=null,r.memoCache!=null&&(r.memoCache.index=0)}O.H=j1,r=e(n,i)}while(fo);return r}o(s1,"renderWithHooksAgain");function qA(){var t=O.H,e=t.useState()[0];return e=typeof e.then=="function"?pl(e):e,t=t.useState()[0],(P!==null?P.memoizedState:null)!==t&&(N.flags|=1024),e}o(qA,"TransitionAwareHostComponent");function ip(){var t=Yu!==0;return Yu=0,t}o(ip,"checkDidRenderIdHook");function ap(t,e,n){e.updateQueue=t.updateQueue,e.flags&=-2053,t.lanes&=~n}o(ap,"bailoutHooks");function op(t){if(Gu){for(t=t.memoizedState;t!==null;){var e=t.queue;e!==null&&(e.pending=null),t=t.next}Gu=!1}Mn=0,ht=P=N=null,fo=!1,tl=Yu=0,mo=null}o(op,"resetHooksOnUnwind");function Xt(){var t={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return ht===null?N.memoizedState=ht=t:ht=ht.next=t,ht}o(Xt,"mountWorkInProgressHook");function pt(){if(P===null){var t=N.alternate;t=t!==null?t.memoizedState:null}else t=P.next;var e=ht===null?N.memoizedState:ht.next;if(e!==null)ht=e,P=t;else{if(t===null)throw N.alternate===null?Error(S(467)):Error(S(310));P=t,t={memoizedState:P.memoizedState,baseState:P.baseState,baseQueue:P.baseQueue,queue:P.queue,next:null},ht===null?N.memoizedState=ht=t:ht=ht.next=t}return ht}o(pt,"updateWorkInProgressHook");function cc(){return{lastEffect:null,events:null,stores:null,memoCache:null}}o(cc,"createFunctionComponentUpdateQueue");function pl(t){var e=tl;return tl+=1,mo===null&&(mo=[]),t=e1(mo,t,e),e=N,(ht===null?e.memoizedState:ht.next)===null&&(e=e.alternate,O.H=e===null||e.memoizedState===null?L1:dp),t}o(pl,"useThenable");function fc(t){if(t!==null&&typeof t=="object"){if(typeof t.then=="function")return pl(t);if(t.$$typeof===xn)return Bt(t)}throw Error(S(438,String(t)))}o(fc,"use");function rp(t){var e=null,n=N.updateQueue;if(n!==null&&(e=n.memoCache),e==null){var i=N.alternate;i!==null&&(i=i.updateQueue,i!==null&&(i=i.memoCache,i!=null&&(e={data:i.data.map(function(a){return a.slice()}),index:0})))}if(e==null&&(e={data:[],index:0}),n===null&&(n=cc(),N.updateQueue=n),n.memoCache=e,n=e.data[e.index],n===void 0)for(n=e.data[e.index]=Array(t),i=0;i<t;i++)n[i]=Dw;return e.index++,n}o(rp,"useMemoCache");function Dn(t,e){return typeof e=="function"?e(t):e}o(Dn,"basicStateReducer");function xu(t){var e=pt();return lp(e,P,t)}o(xu,"updateReducer");function lp(t,e,n){var i=t.queue;if(i===null)throw Error(S(311));i.lastRenderedReducer=n;var a=t.baseQueue,r=i.pending;if(r!==null){if(a!==null){var l=a.next;a.next=r.next,r.next=l}e.baseQueue=a=r,i.pending=null}if(r=t.baseState,a===null)t.memoizedState=r;else{e=a.next;var s=l=null,u=null,c=e,f=!1;do{var m=c.lane&-536870913;if(m!==c.lane?(H&m)===m:(Mn&m)===m){var d=c.revertLane;if(d===0)u!==null&&(u=u.next={lane:0,revertLane:0,gesture:null,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null}),m===yo&&(f=!0);else if((Mn&d)===d){c=c.next,d===yo&&(f=!0);continue}else m={lane:0,revertLane:c.revertLane,gesture:null,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null},u===null?(s=u=m,l=r):u=u.next=m,N.lanes|=d,yi|=d;m=c.action,$i&&n(r,m),r=c.hasEagerState?c.eagerState:n(r,m)}else d={lane:m,revertLane:c.revertLane,gesture:c.gesture,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null},u===null?(s=u=d,l=r):u=u.next=d,N.lanes|=m,yi|=m;c=c.next}while(c!==null&&c!==e);if(u===null?l=r:u.next=s,!me(r,t.memoizedState)&&(vt=!0,f&&(n=uo,n!==null)))throw n;t.memoizedState=r,t.baseState=l,t.baseQueue=u,i.lastRenderedState=r}return a===null&&(i.lanes=0),[t.memoizedState,i.dispatch]}o(lp,"updateReducerImpl");function bm(t){var e=pt(),n=e.queue;if(n===null)throw Error(S(311));n.lastRenderedReducer=t;var i=n.dispatch,a=n.pending,r=e.memoizedState;if(a!==null){n.pending=null;var l=a=a.next;do r=t(r,l.action),l=l.next;while(l!==a);me(r,e.memoizedState)||(vt=!0),e.memoizedState=r,e.baseQueue===null&&(e.baseState=r),n.lastRenderedState=r}return[r,i]}o(bm,"rerenderReducer");function u1(t,e,n){var i=N,a=pt(),r=q;if(r){if(n===void 0)throw Error(S(407));n=n()}else n=e();var l=!me((P||a).memoizedState,n);if(l&&(a.memoizedState=n,vt=!0),a=a.queue,sp(m1.bind(null,i,a,t),[t]),a.getSnapshot!==e||l||ht!==null&&ht.memoizedState.tag&1){if(i.flags|=2048,xo(9,{destroy:void 0},f1.bind(null,i,a,n,e),null),F===null)throw Error(S(349));r||(Mn&127)!==0||c1(i,e,n)}return n}o(u1,"updateSyncExternalStore");function c1(t,e,n){t.flags|=16384,t={getSnapshot:e,value:n},e=N.updateQueue,e===null?(e=cc(),N.updateQueue=e,e.stores=[t]):(n=e.stores,n===null?e.stores=[t]:n.push(t))}o(c1,"pushStoreConsistencyCheck");function f1(t,e,n,i){e.value=n,e.getSnapshot=i,d1(e)&&p1(t)}o(f1,"updateStoreInstance");function m1(t,e,n){return n(function(){d1(e)&&p1(t)})}o(m1,"subscribeToStore");function d1(t){var e=t.getSnapshot;t=t.value;try{var n=e();return!me(t,n)}catch{return!0}}o(d1,"checkIfSnapshotChanged");function p1(t){var e=aa(t,2);e!==null&&It(e,t,2)}o(p1,"forceStoreRerender");function cd(t){var e=Xt();if(typeof t=="function"){var n=t;if(t=n(),$i){ti(!0);try{n()}finally{ti(!1)}}}return e.memoizedState=e.baseState=t,e.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Dn,lastRenderedState:t},e}o(cd,"mountStateImpl");function h1(t,e,n,i){return t.baseState=n,lp(t,P,typeof i=="function"?i:Dn)}o(h1,"updateOptimisticImpl");function XA(t,e,n,i,a){if(dc(t))throw Error(S(485));if(t=e.action,t!==null){var r={payload:a,action:t,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:o(function(l){r.listeners.push(l)},"then")};O.T!==null?n(!0):r.isTransition=!1,i(r),n=e.pending,n===null?(r.next=e.pending=r,g1(e,r)):(r.next=n.next,e.pending=n.next=r)}}o(XA,"dispatchActionState");function g1(t,e){var n=e.action,i=e.payload,a=t.state;if(e.isTransition){var r=O.T,l={};O.T=l;try{var s=n(a,i),u=O.S;u!==null&&u(l,s),hv(t,e,s)}catch(c){fd(t,e,c)}finally{r!==null&&l.types!==null&&(r.types=l.types),O.T=r}}else try{r=n(a,i),hv(t,e,r)}catch(c){fd(t,e,c)}}o(g1,"runActionStateAction");function hv(t,e,n){n!==null&&typeof n=="object"&&typeof n.then=="function"?n.then(function(i){gv(t,e,i)},function(i){return fd(t,e,i)}):gv(t,e,n)}o(hv,"handleActionReturnValue");function gv(t,e,n){e.status="fulfilled",e.value=n,y1(e),t.state=n,e=t.pending,e!==null&&(n=e.next,n===e?t.pending=null:(n=n.next,e.next=n,g1(t,n)))}o(gv,"onActionSuccess");function fd(t,e,n){var i=t.pending;if(t.pending=null,i!==null){i=i.next;do e.status="rejected",e.reason=n,y1(e),e=e.next;while(e!==i)}t.action=null}o(fd,"onActionError");function y1(t){t=t.listeners;for(var e=0;e<t.length;e++)(0,t[e])()}o(y1,"notifyActionListeners");function v1(t,e){return e}o(v1,"actionStateReducer");function yv(t,e){if(q){var n=F.formState;if(n!==null){t:{var i=N;if(q){if(nt){e:{for(var a=nt,r=Me;a.nodeType!==8;){if(!r){a=null;break e}if(a=Ce(a.nextSibling),a===null){a=null;break e}}r=a.data,a=r==="F!"||r==="F"?a:null}if(a){nt=Ce(a.nextSibling),i=a.data==="F!";break t}}hi(i)}i=!1}i&&(e=n[0])}}return n=Xt(),n.memoizedState=n.baseState=e,i={pending:null,lanes:0,dispatch:null,lastRenderedReducer:v1,lastRenderedState:e},n.queue=i,n=R1.bind(null,N,i),i.dispatch=n,i=cd(!1),r=mp.bind(null,N,!1,i.queue),i=Xt(),a={state:e,dispatch:null,action:t,pending:null},i.queue=a,n=XA.bind(null,N,a,r,n),a.dispatch=n,i.memoizedState=t,[e,n,!1]}o(yv,"mountActionState");function vv(t){var e=pt();return x1(e,P,t)}o(vv,"updateActionState");function x1(t,e,n){if(e=lp(t,e,v1)[0],t=xu(Dn)[0],typeof e=="object"&&e!==null&&typeof e.then=="function")try{var i=pl(e)}catch(l){throw l===Co?uc:l}else i=e;e=pt();var a=e.queue,r=a.dispatch;return n!==e.memoizedState&&(N.flags|=2048,xo(9,{destroy:void 0},kA.bind(null,a,n),null)),[i,r,t]}o(x1,"updateActionStateImpl");function kA(t,e){t.action=e}o(kA,"actionStateActionEffect");function xv(t){var e=pt(),n=P;if(n!==null)return x1(e,n,t);pt(),e=e.memoizedState,n=pt();var i=n.queue.dispatch;return n.memoizedState=t,[e,i,!1]}o(xv,"rerenderActionState");function xo(t,e,n,i){return t={tag:t,create:n,deps:i,inst:e,next:null},e=N.updateQueue,e===null&&(e=cc(),N.updateQueue=e),n=e.lastEffect,n===null?e.lastEffect=t.next=t:(i=n.next,n.next=t,t.next=i,e.lastEffect=t),t}o(xo,"pushSimpleEffect");function b1(){return pt().memoizedState}o(b1,"updateRef");function bu(t,e,n,i){var a=Xt();N.flags|=t,a.memoizedState=xo(1|e,{destroy:void 0},n,i===void 0?null:i)}o(bu,"mountEffectImpl");function mc(t,e,n,i){var a=pt();i=i===void 0?null:i;var r=a.memoizedState.inst;P!==null&&i!==null&&ep(i,P.memoizedState.deps)?a.memoizedState=xo(e,r,n,i):(N.flags|=t,a.memoizedState=xo(1|e,r,n,i))}o(mc,"updateEffectImpl");function bv(t,e){bu(8390656,8,t,e)}o(bv,"mountEffect");function sp(t,e){mc(2048,8,t,e)}o(sp,"updateEffect");function ZA(t){N.flags|=4;var e=N.updateQueue;if(e===null)e=cc(),N.updateQueue=e,e.events=[t];else{var n=e.events;n===null?e.events=[t]:n.push(t)}}o(ZA,"useEffectEventImpl");function S1(t){var e=pt().memoizedState;return ZA({ref:e,nextImpl:t}),function(){if((X&2)!==0)throw Error(S(440));return e.impl.apply(void 0,arguments)}}o(S1,"updateEvent");function T1(t,e){return mc(4,2,t,e)}o(T1,"updateInsertionEffect");function w1(t,e){return mc(4,4,t,e)}o(w1,"updateLayoutEffect");function A1(t,e){if(typeof e=="function"){t=t();var n=e(t);return function(){typeof n=="function"?n():e(null)}}if(e!=null)return t=t(),e.current=t,function(){e.current=null}}o(A1,"imperativeHandleEffect");function E1(t,e,n){n=n!=null?n.concat([t]):null,mc(4,4,A1.bind(null,e,t),n)}o(E1,"updateImperativeHandle");function up(){}o(up,"mountDebugValue");function M1(t,e){var n=pt();e=e===void 0?null:e;var i=n.memoizedState;return e!==null&&ep(e,i[1])?i[0]:(n.memoizedState=[t,e],t)}o(M1,"updateCallback");function D1(t,e){var n=pt();e=e===void 0?null:e;var i=n.memoizedState;if(e!==null&&ep(e,i[1]))return i[0];if(i=t(),$i){ti(!0);try{t()}finally{ti(!1)}}return n.memoizedState=[i,e],i}o(D1,"updateMemo");function cp(t,e,n){return n===void 0||(Mn&1073741824)!==0&&(H&261930)===0?t.memoizedState=e:(t.memoizedState=n,t=hb(),N.lanes|=t,yi|=t,n)}o(cp,"mountDeferredValueImpl");function C1(t,e,n,i){return me(n,e)?n:vo.current!==null?(t=cp(t,n,i),me(t,e)||(vt=!0),t):(Mn&42)===0||(Mn&1073741824)!==0&&(H&261930)===0?(vt=!0,t.memoizedState=n):(t=hb(),N.lanes|=t,yi|=t,e)}o(C1,"updateDeferredValueImpl");function V1(t,e,n,i,a){var r=k.p;k.p=r!==0&&8>r?r:8;var l=O.T,s={};O.T=s,mp(t,!1,e,n);try{var u=a(),c=O.S;if(c!==null&&c(s,u),u!==null&&typeof u=="object"&&typeof u.then=="function"){var f=GA(u,i);Yr(t,e,f,fe(t))}else Yr(t,e,i,fe(t))}catch(m){Yr(t,e,{then:o(function(){},"then"),status:"rejected",reason:m},fe())}finally{k.p=r,l!==null&&s.types!==null&&(l.types=s.types),O.T=l}}o(V1,"startTransition");function QA(){}o(QA,"noop");function md(t,e,n,i){if(t.tag!==5)throw Error(S(476));var a=O1(t).queue;V1(t,a,e,Zi,n===null?QA:function(){return z1(t),n(i)})}o(md,"startHostTransition");function O1(t){var e=t.memoizedState;if(e!==null)return e;e={memoizedState:Zi,baseState:Zi,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Dn,lastRenderedState:Zi},next:null};var n={};return e.next={memoizedState:n,baseState:n,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Dn,lastRenderedState:n},next:null},t.memoizedState=e,t=t.alternate,t!==null&&(t.memoizedState=e),e}o(O1,"ensureFormComponentIsStateful");function z1(t){var e=O1(t);e.next===null&&(e=t.alternate.memoizedState),Yr(t,e.next.queue,{},fe())}o(z1,"requestFormReset$1");function fp(){return Bt(al)}o(fp,"useHostTransitionStatus");function _1(){return pt().memoizedState}o(_1,"updateId");function N1(){return pt().memoizedState}o(N1,"updateRefresh");function KA(t){for(var e=t.return;e!==null;){switch(e.tag){case 24:case 3:var n=fe();t=li(n);var i=si(e,t,n);i!==null&&(It(i,e,n),jr(i,e,n)),e={cache:Fd()},t.payload=e;return}e=e.return}}o(KA,"refreshCache");function PA(t,e,n){var i=fe();n={lane:i,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null},dc(t)?B1(e,n):(n=Qd(t,e,n,i),n!==null&&(It(n,t,i),U1(n,e,i)))}o(PA,"dispatchReducerAction");function R1(t,e,n){var i=fe();Yr(t,e,n,i)}o(R1,"dispatchSetState");function Yr(t,e,n,i){var a={lane:i,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null};if(dc(t))B1(e,a);else{var r=t.alternate;if(t.lanes===0&&(r===null||r.lanes===0)&&(r=e.lastRenderedReducer,r!==null))try{var l=e.lastRenderedState,s=r(l,n);if(a.hasEagerState=!0,a.eagerState=s,me(s,l))return sc(t,e,a,0),F===null&&lc(),!1}catch{}finally{}if(n=Qd(t,e,a,i),n!==null)return It(n,t,i),U1(n,e,i),!0}return!1}o(Yr,"dispatchSetStateInternal");function mp(t,e,n,i){if(i={lane:2,revertLane:Sp(),gesture:null,action:i,hasEagerState:!1,eagerState:null,next:null},dc(t)){if(e)throw Error(S(479))}else e=Qd(t,n,i,2),e!==null&&It(e,t,2)}o(mp,"dispatchOptimisticSetState");function dc(t){var e=t.alternate;return t===N||e!==null&&e===N}o(dc,"isRenderPhaseUpdate");function B1(t,e){fo=Gu=!0;var n=t.pending;n===null?e.next=e:(e.next=n.next,n.next=e),t.pending=e}o(B1,"enqueueRenderPhaseUpdate");function U1(t,e,n){if((n&4194048)!==0){var i=e.lanes;i&=t.pendingLanes,n|=i,e.lanes=n,Sx(t,n)}}o(U1,"entangleTransitionUpdate");var el={readContext:Bt,use:fc,useCallback:ft,useContext:ft,useEffect:ft,useImperativeHandle:ft,useLayoutEffect:ft,useInsertionEffect:ft,useMemo:ft,useReducer:ft,useRef:ft,useState:ft,useDebugValue:ft,useDeferredValue:ft,useTransition:ft,useSyncExternalStore:ft,useId:ft,useHostTransitionStatus:ft,useFormState:ft,useActionState:ft,useOptimistic:ft,useMemoCache:ft,useCacheRefresh:ft};el.useEffectEvent=ft;var L1={readContext:Bt,use:fc,useCallback:o(function(t,e){return Xt().memoizedState=[t,e===void 0?null:e],t},"useCallback"),useContext:Bt,useEffect:bv,useImperativeHandle:o(function(t,e,n){n=n!=null?n.concat([t]):null,bu(4194308,4,A1.bind(null,e,t),n)},"useImperativeHandle"),useLayoutEffect:o(function(t,e){return bu(4194308,4,t,e)},"useLayoutEffect"),useInsertionEffect:o(function(t,e){bu(4,2,t,e)},"useInsertionEffect"),useMemo:o(function(t,e){var n=Xt();e=e===void 0?null:e;var i=t();if($i){ti(!0);try{t()}finally{ti(!1)}}return n.memoizedState=[i,e],i},"useMemo"),useReducer:o(function(t,e,n){var i=Xt();if(n!==void 0){var a=n(e);if($i){ti(!0);try{n(e)}finally{ti(!1)}}}else a=e;return i.memoizedState=i.baseState=a,t={pending:null,lanes:0,dispatch:null,lastRenderedReducer:t,lastRenderedState:a},i.queue=t,t=t.dispatch=PA.bind(null,N,t),[i.memoizedState,t]},"useReducer"),useRef:o(function(t){var e=Xt();return t={current:t},e.memoizedState=t},"useRef"),useState:o(function(t){t=cd(t);var e=t.queue,n=R1.bind(null,N,e);return e.dispatch=n,[t.memoizedState,n]},"useState"),useDebugValue:up,useDeferredValue:o(function(t,e){var n=Xt();return cp(n,t,e)},"useDeferredValue"),useTransition:o(function(){var t=cd(!1);return t=V1.bind(null,N,t.queue,!0,!1),Xt().memoizedState=t,[!1,t]},"useTransition"),useSyncExternalStore:o(function(t,e,n){var i=N,a=Xt();if(q){if(n===void 0)throw Error(S(407));n=n()}else{if(n=e(),F===null)throw Error(S(349));(H&127)!==0||c1(i,e,n)}a.memoizedState=n;var r={value:n,getSnapshot:e};return a.queue=r,bv(m1.bind(null,i,r,t),[t]),i.flags|=2048,xo(9,{destroy:void 0},f1.bind(null,i,r,n,e),null),n},"useSyncExternalStore"),useId:o(function(){var t=Xt(),e=F.identifierPrefix;if(q){var n=Qe,i=Ze;n=(i&~(1<<32-ce(i)-1)).toString(32)+n,e="_"+e+"R_"+n,n=Yu++,0<n&&(e+="H"+n.toString(32)),e+="_"}else n=YA++,e="_"+e+"r_"+n.toString(32)+"_";return t.memoizedState=e},"useId"),useHostTransitionStatus:fp,useFormState:yv,useActionState:yv,useOptimistic:o(function(t){var e=Xt();e.memoizedState=e.baseState=t;var n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return e.queue=n,e=mp.bind(null,N,!0,n),n.dispatch=e,[t,e]},"useOptimistic"),useMemoCache:rp,useCacheRefresh:o(function(){return Xt().memoizedState=KA.bind(null,N)},"useCacheRefresh"),useEffectEvent:o(function(t){var e=Xt(),n={impl:t};return e.memoizedState=n,function(){if((X&2)!==0)throw Error(S(440));return n.impl.apply(void 0,arguments)}},"useEffectEvent")},dp={readContext:Bt,use:fc,useCallback:M1,useContext:Bt,useEffect:sp,useImperativeHandle:E1,useInsertionEffect:T1,useLayoutEffect:w1,useMemo:D1,useReducer:xu,useRef:b1,useState:o(function(){return xu(Dn)},"useState"),useDebugValue:up,useDeferredValue:o(function(t,e){var n=pt();return C1(n,P.memoizedState,t,e)},"useDeferredValue"),useTransition:o(function(){var t=xu(Dn)[0],e=pt().memoizedState;return[typeof t=="boolean"?t:pl(t),e]},"useTransition"),useSyncExternalStore:u1,useId:_1,useHostTransitionStatus:fp,useFormState:vv,useActionState:vv,useOptimistic:o(function(t,e){var n=pt();return h1(n,P,t,e)},"useOptimistic"),useMemoCache:rp,useCacheRefresh:N1};dp.useEffectEvent=S1;var j1={readContext:Bt,use:fc,useCallback:M1,useContext:Bt,useEffect:sp,useImperativeHandle:E1,useInsertionEffect:T1,useLayoutEffect:w1,useMemo:D1,useReducer:bm,useRef:b1,useState:o(function(){return bm(Dn)},"useState"),useDebugValue:up,useDeferredValue:o(function(t,e){var n=pt();return P===null?cp(n,t,e):C1(n,P.memoizedState,t,e)},"useDeferredValue"),useTransition:o(function(){var t=bm(Dn)[0],e=pt().memoizedState;return[typeof t=="boolean"?t:pl(t),e]},"useTransition"),useSyncExternalStore:u1,useId:_1,useHostTransitionStatus:fp,useFormState:xv,useActionState:xv,useOptimistic:o(function(t,e){var n=pt();return P!==null?h1(n,P,t,e):(n.baseState=t,[t,n.queue.dispatch])},"useOptimistic"),useMemoCache:rp,useCacheRefresh:N1};j1.useEffectEvent=S1;function Sm(t,e,n,i){e=t.memoizedState,n=n(i,e),n=n==null?e:it({},e,n),t.memoizedState=n,t.lanes===0&&(t.updateQueue.baseState=n)}o(Sm,"applyDerivedStateFromProps");var dd={enqueueSetState:o(function(t,e,n){t=t._reactInternals;var i=fe(),a=li(i);a.payload=e,n!=null&&(a.callback=n),e=si(t,a,i),e!==null&&(It(e,t,i),jr(e,t,i))},"enqueueSetState"),enqueueReplaceState:o(function(t,e,n){t=t._reactInternals;var i=fe(),a=li(i);a.tag=1,a.payload=e,n!=null&&(a.callback=n),e=si(t,a,i),e!==null&&(It(e,t,i),jr(e,t,i))},"enqueueReplaceState"),enqueueForceUpdate:o(function(t,e){t=t._reactInternals;var n=fe(),i=li(n);i.tag=2,e!=null&&(i.callback=e),e=si(t,i,n),e!==null&&(It(e,t,n),jr(e,t,n))},"enqueueForceUpdate")};function Sv(t,e,n,i,a,r,l){return t=t.stateNode,typeof t.shouldComponentUpdate=="function"?t.shouldComponentUpdate(i,r,l):e.prototype&&e.prototype.isPureReactComponent?!Fr(n,i)||!Fr(a,r):!0}o(Sv,"checkShouldComponentUpdate");function Tv(t,e,n,i){t=e.state,typeof e.componentWillReceiveProps=="function"&&e.componentWillReceiveProps(n,i),typeof e.UNSAFE_componentWillReceiveProps=="function"&&e.UNSAFE_componentWillReceiveProps(n,i),e.state!==t&&dd.enqueueReplaceState(e,e.state,null)}o(Tv,"callComponentWillReceiveProps");function ta(t,e){var n=e;if("ref"in e){n={};for(var i in e)i!=="ref"&&(n[i]=e[i])}if(t=t.defaultProps){n===e&&(n=it({},n));for(var a in t)n[a]===void 0&&(n[a]=t[a])}return n}o(ta,"resolveClassComponentProps");function H1(t){Nu(t)}o(H1,"defaultOnUncaughtError");function G1(t){console.error(t)}o(G1,"defaultOnCaughtError");function Y1(t){Nu(t)}o(Y1,"defaultOnRecoverableError");function qu(t,e){try{var n=t.onUncaughtError;n(e.value,{componentStack:e.stack})}catch(i){setTimeout(function(){throw i})}}o(qu,"logUncaughtError");function wv(t,e,n){try{var i=t.onCaughtError;i(n.value,{componentStack:n.stack,errorBoundary:e.tag===1?e.stateNode:null})}catch(a){setTimeout(function(){throw a})}}o(wv,"logCaughtError");function pd(t,e,n){return n=li(n),n.tag=3,n.payload={element:null},n.callback=function(){qu(t,e)},n}o(pd,"createRootErrorUpdate");function q1(t){return t=li(t),t.tag=3,t}o(q1,"createClassErrorUpdate");function X1(t,e,n,i){var a=n.type.getDerivedStateFromError;if(typeof a=="function"){var r=i.value;t.payload=function(){return a(r)},t.callback=function(){wv(e,n,i)}}var l=n.stateNode;l!==null&&typeof l.componentDidCatch=="function"&&(t.callback=function(){wv(e,n,i),typeof a!="function"&&(ui===null?ui=new Set([this]):ui.add(this));var s=i.stack;this.componentDidCatch(i.value,{componentStack:s!==null?s:""})})}o(X1,"initializeClassErrorUpdate");function JA(t,e,n,i,a){if(n.flags|=32768,i!==null&&typeof i=="object"&&typeof i.then=="function"){if(e=n.alternate,e!==null&&Do(e,n,a,!0),n=de.current,n!==null){switch(n.tag){case 31:case 13:return De===null?Ku():n.alternate===null&&mt===0&&(mt=3),n.flags&=-257,n.flags|=65536,n.lanes=a,i===Lu?n.flags|=16384:(e=n.updateQueue,e===null?n.updateQueue=new Set([i]):e.add(i),_m(t,i,a)),!1;case 22:return n.flags|=65536,i===Lu?n.flags|=16384:(e=n.updateQueue,e===null?(e={transitions:null,markerInstances:null,retryQueue:new Set([i])},n.updateQueue=e):(n=e.retryQueue,n===null?e.retryQueue=new Set([i]):n.add(i)),_m(t,i,a)),!1}throw Error(S(435,n.tag))}return _m(t,i,a),Ku(),!1}if(q)return e=de.current,e!==null?((e.flags&65536)===0&&(e.flags|=256),e.flags|=65536,e.lanes=a,i!==ed&&(t=Error(S(422),{cause:i}),Ir(Ee(t,n)))):(i!==ed&&(e=Error(S(423),{cause:i}),Ir(Ee(e,n))),t=t.current.alternate,t.flags|=65536,a&=-a,t.lanes|=a,i=Ee(i,n),a=pd(t.stateNode,i,a),xm(t,a),mt!==4&&(mt=2)),!1;var r=Error(S(520),{cause:i});if(r=Ee(r,n),kr===null?kr=[r]:kr.push(r),mt!==4&&(mt=2),e===null)return!0;i=Ee(i,n),n=e;do{switch(n.tag){case 3:return n.flags|=65536,t=a&-a,n.lanes|=t,t=pd(n.stateNode,i,t),xm(n,t),!1;case 1:if(e=n.type,r=n.stateNode,(n.flags&128)===0&&(typeof e.getDerivedStateFromError=="function"||r!==null&&typeof r.componentDidCatch=="function"&&(ui===null||!ui.has(r))))return n.flags|=65536,a&=-a,n.lanes|=a,a=q1(a),X1(a,t,n,i),xm(n,a),!1}n=n.return}while(n!==null);return!1}o(JA,"throwException");var pp=Error(S(461)),vt=!1;function _t(t,e,n,i){e.child=t===null?i1(e,null,n,i):Ii(e,t.child,n,i)}o(_t,"reconcileChildren");function Av(t,e,n,i,a){n=n.render;var r=e.ref;if("ref"in i){var l={};for(var s in i)s!=="ref"&&(l[s]=i[s])}else l=i;return Wi(e),i=np(t,e,n,l,r,a),s=ip(),t!==null&&!vt?(ap(t,e,a),Cn(t,e,a)):(q&&s&&Pd(e),e.flags|=1,_t(t,e,i,a),e.child)}o(Av,"updateForwardRef");function Ev(t,e,n,i,a){if(t===null){var r=n.type;return typeof r=="function"&&!Kd(r)&&r.defaultProps===void 0&&n.compare===null?(e.tag=15,e.type=r,k1(t,e,r,i,a)):(t=yu(n.type,null,i,e,e.mode,a),t.ref=e.ref,t.return=e,e.child=t)}if(r=t.child,!hp(t,a)){var l=r.memoizedProps;if(n=n.compare,n=n!==null?n:Fr,n(l,i)&&t.ref===e.ref)return Cn(t,e,a)}return e.flags|=1,t=Tn(r,i),t.ref=e.ref,t.return=e,e.child=t}o(Ev,"updateMemoComponent");function k1(t,e,n,i,a){if(t!==null){var r=t.memoizedProps;if(Fr(r,i)&&t.ref===e.ref)if(vt=!1,e.pendingProps=i=r,hp(t,a))(t.flags&131072)!==0&&(vt=!0);else return e.lanes=t.lanes,Cn(t,e,a)}return hd(t,e,n,i,a)}o(k1,"updateSimpleMemoComponent");function Z1(t,e,n,i){var a=i.children,r=t!==null?t.memoizedState:null;if(t===null&&e.stateNode===null&&(e.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),i.mode==="hidden"){if((e.flags&128)!==0){if(r=r!==null?r.baseLanes|n:n,t!==null){for(i=e.child=t.child,a=0;i!==null;)a=a|i.lanes|i.childLanes,i=i.sibling;i=a&~r}else i=0,e.child=null;return Mv(t,e,r,n,i)}if((n&536870912)!==0)e.memoizedState={baseLanes:0,cachePool:null},t!==null&&vu(e,r!==null?r.cachePool:null),r!==null?pv(e,r):sd(),r1(e);else return i=e.lanes=536870912,Mv(t,e,r!==null?r.baseLanes|n:n,n,i)}else r!==null?(vu(e,r.cachePool),pv(e,r),In(e),e.memoizedState=null):(t!==null&&vu(e,null),sd(),In(e));return _t(t,e,a,n),e.child}o(Z1,"updateOffscreenComponent");function _r(t,e){return t!==null&&t.tag===22||e.stateNode!==null||(e.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),e.sibling}o(_r,"bailoutOffscreenComponent");function Mv(t,e,n,i,a){var r=Wd();return r=r===null?null:{parent:yt._currentValue,pool:r},e.memoizedState={baseLanes:n,cachePool:r},t!==null&&vu(e,null),sd(),r1(e),t!==null&&Do(t,e,i,!0),e.childLanes=a,null}o(Mv,"deferHiddenOffscreenComponent");function Su(t,e){return e=Xu({mode:e.mode,children:e.children},t.mode),e.ref=t.ref,t.child=e,e.return=t,e}o(Su,"mountActivityChildren");function Dv(t,e,n){return Ii(e,t.child,null,n),t=Su(e,e.pendingProps),t.flags|=2,oe(e),e.memoizedState=null,t}o(Dv,"retryActivityComponentWithoutHydrating");function FA(t,e,n){var i=e.pendingProps,a=(e.flags&128)!==0;if(e.flags&=-129,t===null){if(q){if(i.mode==="hidden")return t=Su(e,i),e.lanes=536870912,_r(null,t);if(ud(e),(t=nt)?(t=Lb(t,Me),t=t!==null&&t.data==="&"?t:null,t!==null&&(e.memoizedState={dehydrated:t,treeContext:pi!==null?{id:Ze,overflow:Qe}:null,retryLane:536870912,hydrationErrors:null},n=Fx(t),n.return=e,e.child=n,Rt=e,nt=null)):t=null,t===null)throw hi(e);return e.lanes=536870912,null}return Su(e,i)}var r=t.memoizedState;if(r!==null){var l=r.dehydrated;if(ud(e),a)if(e.flags&256)e.flags&=-257,e=Dv(t,e,n);else if(e.memoizedState!==null)e.child=t.child,e.flags|=128,e=null;else throw Error(S(558));else if(vt||Do(t,e,n,!1),a=(n&t.childLanes)!==0,vt||a){if(i=F,i!==null&&(l=Tx(i,n),l!==0&&l!==r.retryLane))throw r.retryLane=l,aa(t,l),It(i,t,l),pp;Ku(),e=Dv(t,e,n)}else t=r.treeContext,nt=Ce(l.nextSibling),Rt=e,q=!0,ri=null,Me=!1,t!==null&&Ix(e,t),e=Su(e,i),e.flags|=4096;return e}return t=Tn(t.child,{mode:i.mode,children:i.children}),t.ref=e.ref,e.child=t,t.return=e,t}o(FA,"updateActivityComponent");function Tu(t,e){var n=e.ref;if(n===null)t!==null&&t.ref!==null&&(e.flags|=4194816);else{if(typeof n!="function"&&typeof n!="object")throw Error(S(284));(t===null||t.ref!==n)&&(e.flags|=4194816)}}o(Tu,"markRef");function hd(t,e,n,i,a){return Wi(e),n=np(t,e,n,i,void 0,a),i=ip(),t!==null&&!vt?(ap(t,e,a),Cn(t,e,a)):(q&&i&&Pd(e),e.flags|=1,_t(t,e,n,a),e.child)}o(hd,"updateFunctionComponent");function Cv(t,e,n,i,a,r){return Wi(e),e.updateQueue=null,n=s1(e,i,n,a),l1(t),i=ip(),t!==null&&!vt?(ap(t,e,r),Cn(t,e,r)):(q&&i&&Pd(e),e.flags|=1,_t(t,e,n,r),e.child)}o(Cv,"replayFunctionComponent");function Vv(t,e,n,i,a){if(Wi(e),e.stateNode===null){var r=no,l=n.contextType;typeof l=="object"&&l!==null&&(r=Bt(l)),r=new n(i,r),e.memoizedState=r.state!==null&&r.state!==void 0?r.state:null,r.updater=dd,e.stateNode=r,r._reactInternals=e,r=e.stateNode,r.props=i,r.state=e.memoizedState,r.refs={},$d(e),l=n.contextType,r.context=typeof l=="object"&&l!==null?Bt(l):no,r.state=e.memoizedState,l=n.getDerivedStateFromProps,typeof l=="function"&&(Sm(e,n,l,i),r.state=e.memoizedState),typeof n.getDerivedStateFromProps=="function"||typeof r.getSnapshotBeforeUpdate=="function"||typeof r.UNSAFE_componentWillMount!="function"&&typeof r.componentWillMount!="function"||(l=r.state,typeof r.componentWillMount=="function"&&r.componentWillMount(),typeof r.UNSAFE_componentWillMount=="function"&&r.UNSAFE_componentWillMount(),l!==r.state&&dd.enqueueReplaceState(r,r.state,null),Gr(e,i,r,a),Hr(),r.state=e.memoizedState),typeof r.componentDidMount=="function"&&(e.flags|=4194308),i=!0}else if(t===null){r=e.stateNode;var s=e.memoizedProps,u=ta(n,s);r.props=u;var c=r.context,f=n.contextType;l=no,typeof f=="object"&&f!==null&&(l=Bt(f));var m=n.getDerivedStateFromProps;f=typeof m=="function"||typeof r.getSnapshotBeforeUpdate=="function",s=e.pendingProps!==s,f||typeof r.UNSAFE_componentWillReceiveProps!="function"&&typeof r.componentWillReceiveProps!="function"||(s||c!==l)&&Tv(e,r,i,l),Jn=!1;var d=e.memoizedState;r.state=d,Gr(e,i,r,a),Hr(),c=e.memoizedState,s||d!==c||Jn?(typeof m=="function"&&(Sm(e,n,m,i),c=e.memoizedState),(u=Jn||Sv(e,n,u,i,d,c,l))?(f||typeof r.UNSAFE_componentWillMount!="function"&&typeof r.componentWillMount!="function"||(typeof r.componentWillMount=="function"&&r.componentWillMount(),typeof r.UNSAFE_componentWillMount=="function"&&r.UNSAFE_componentWillMount()),typeof r.componentDidMount=="function"&&(e.flags|=4194308)):(typeof r.componentDidMount=="function"&&(e.flags|=4194308),e.memoizedProps=i,e.memoizedState=c),r.props=i,r.state=c,r.context=l,i=u):(typeof r.componentDidMount=="function"&&(e.flags|=4194308),i=!1)}else{r=e.stateNode,rd(t,e),l=e.memoizedProps,f=ta(n,l),r.props=f,m=e.pendingProps,d=r.context,c=n.contextType,u=no,typeof c=="object"&&c!==null&&(u=Bt(c)),s=n.getDerivedStateFromProps,(c=typeof s=="function"||typeof r.getSnapshotBeforeUpdate=="function")||typeof r.UNSAFE_componentWillReceiveProps!="function"&&typeof r.componentWillReceiveProps!="function"||(l!==m||d!==u)&&Tv(e,r,i,u),Jn=!1,d=e.memoizedState,r.state=d,Gr(e,i,r,a),Hr();var p=e.memoizedState;l!==m||d!==p||Jn||t!==null&&t.dependencies!==null&&Uu(t.dependencies)?(typeof s=="function"&&(Sm(e,n,s,i),p=e.memoizedState),(f=Jn||Sv(e,n,f,i,d,p,u)||t!==null&&t.dependencies!==null&&Uu(t.dependencies))?(c||typeof r.UNSAFE_componentWillUpdate!="function"&&typeof r.componentWillUpdate!="function"||(typeof r.componentWillUpdate=="function"&&r.componentWillUpdate(i,p,u),typeof r.UNSAFE_componentWillUpdate=="function"&&r.UNSAFE_componentWillUpdate(i,p,u)),typeof r.componentDidUpdate=="function"&&(e.flags|=4),typeof r.getSnapshotBeforeUpdate=="function"&&(e.flags|=1024)):(typeof r.componentDidUpdate!="function"||l===t.memoizedProps&&d===t.memoizedState||(e.flags|=4),typeof r.getSnapshotBeforeUpdate!="function"||l===t.memoizedProps&&d===t.memoizedState||(e.flags|=1024),e.memoizedProps=i,e.memoizedState=p),r.props=i,r.state=p,r.context=u,i=f):(typeof r.componentDidUpdate!="function"||l===t.memoizedProps&&d===t.memoizedState||(e.flags|=4),typeof r.getSnapshotBeforeUpdate!="function"||l===t.memoizedProps&&d===t.memoizedState||(e.flags|=1024),i=!1)}return r=i,Tu(t,e),i=(e.flags&128)!==0,r||i?(r=e.stateNode,n=i&&typeof n.getDerivedStateFromError!="function"?null:r.render(),e.flags|=1,t!==null&&i?(e.child=Ii(e,t.child,null,a),e.child=Ii(e,null,n,a)):_t(t,e,n,a),e.memoizedState=r.state,t=e.child):t=Cn(t,e,a),t}o(Vv,"updateClassComponent");function Ov(t,e,n,i){return Fi(),e.flags|=256,_t(t,e,n,i),e.child}o(Ov,"mountHostRootWithoutHydrating");var Tm={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function wm(t){return{baseLanes:t,cachePool:t1()}}o(wm,"mountSuspenseOffscreenState");function Am(t,e,n){return t=t!==null?t.childLanes&~n:0,e&&(t|=le),t}o(Am,"getRemainingWorkInPrimaryTree");function Q1(t,e,n){var i=e.pendingProps,a=!1,r=(e.flags&128)!==0,l;if((l=r)||(l=t!==null&&t.memoizedState===null?!1:(dt.current&2)!==0),l&&(a=!0,e.flags&=-129),l=(e.flags&32)!==0,e.flags&=-33,t===null){if(q){if(a?Wn(e):In(e),(t=nt)?(t=Lb(t,Me),t=t!==null&&t.data!=="&"?t:null,t!==null&&(e.memoizedState={dehydrated:t,treeContext:pi!==null?{id:Ze,overflow:Qe}:null,retryLane:536870912,hydrationErrors:null},n=Fx(t),n.return=e,e.child=n,Rt=e,nt=null)):t=null,t===null)throw hi(e);return Vd(t)?e.lanes=32:e.lanes=536870912,null}var s=i.children;return i=i.fallback,a?(In(e),a=e.mode,s=Xu({mode:"hidden",children:s},a),i=Qi(i,a,n,null),s.return=e,i.return=e,s.sibling=i,e.child=s,i=e.child,i.memoizedState=wm(n),i.childLanes=Am(t,l,n),e.memoizedState=Tm,_r(null,i)):(Wn(e),gd(e,s))}var u=t.memoizedState;if(u!==null&&(s=u.dehydrated,s!==null)){if(r)e.flags&256?(Wn(e),e.flags&=-257,e=Em(t,e,n)):e.memoizedState!==null?(In(e),e.child=t.child,e.flags|=128,e=null):(In(e),s=i.fallback,a=e.mode,i=Xu({mode:"visible",children:i.children},a),s=Qi(s,a,n,null),s.flags|=2,i.return=e,s.return=e,i.sibling=s,e.child=i,Ii(e,t.child,null,n),i=e.child,i.memoizedState=wm(n),i.childLanes=Am(t,l,n),e.memoizedState=Tm,e=_r(null,i));else if(Wn(e),Vd(s)){if(l=s.nextSibling&&s.nextSibling.dataset,l)var c=l.dgst;l=c,i=Error(S(419)),i.stack="",i.digest=l,Ir({value:i,source:null,stack:null}),e=Em(t,e,n)}else if(vt||Do(t,e,n,!1),l=(n&t.childLanes)!==0,vt||l){if(l=F,l!==null&&(i=Tx(l,n),i!==0&&i!==u.retryLane))throw u.retryLane=i,aa(t,i),It(l,t,i),pp;Cd(s)||Ku(),e=Em(t,e,n)}else Cd(s)?(e.flags|=192,e.child=t.child,e=null):(t=u.treeContext,nt=Ce(s.nextSibling),Rt=e,q=!0,ri=null,Me=!1,t!==null&&Ix(e,t),e=gd(e,i.children),e.flags|=4096);return e}return a?(In(e),s=i.fallback,a=e.mode,u=t.child,c=u.sibling,i=Tn(u,{mode:"hidden",children:i.children}),i.subtreeFlags=u.subtreeFlags&65011712,c!==null?s=Tn(c,s):(s=Qi(s,a,n,null),s.flags|=2),s.return=e,i.return=e,i.sibling=s,e.child=i,_r(null,i),i=e.child,s=t.child.memoizedState,s===null?s=wm(n):(a=s.cachePool,a!==null?(u=yt._currentValue,a=a.parent!==u?{parent:u,pool:u}:a):a=t1(),s={baseLanes:s.baseLanes|n,cachePool:a}),i.memoizedState=s,i.childLanes=Am(t,l,n),e.memoizedState=Tm,_r(t.child,i)):(Wn(e),n=t.child,t=n.sibling,n=Tn(n,{mode:"visible",children:i.children}),n.return=e,n.sibling=null,t!==null&&(l=e.deletions,l===null?(e.deletions=[t],e.flags|=16):l.push(t)),e.child=n,e.memoizedState=null,n)}o(Q1,"updateSuspenseComponent");function gd(t,e){return e=Xu({mode:"visible",children:e},t.mode),e.return=t,t.child=e}o(gd,"mountSuspensePrimaryChildren");function Xu(t,e){return t=re(22,t,null,e),t.lanes=0,t}o(Xu,"mountWorkInProgressOffscreenFiber");function Em(t,e,n){return Ii(e,t.child,null,n),t=gd(e,e.pendingProps.children),t.flags|=2,e.memoizedState=null,t}o(Em,"retrySuspenseComponentWithoutHydrating");function zv(t,e,n){t.lanes|=e;var i=t.alternate;i!==null&&(i.lanes|=e),id(t.return,e,n)}o(zv,"scheduleSuspenseWorkOnFiber");function Mm(t,e,n,i,a,r){var l=t.memoizedState;l===null?t.memoizedState={isBackwards:e,rendering:null,renderingStartTime:0,last:i,tail:n,tailMode:a,treeForkCount:r}:(l.isBackwards=e,l.rendering=null,l.renderingStartTime=0,l.last=i,l.tail=n,l.tailMode=a,l.treeForkCount=r)}o(Mm,"initSuspenseListRenderState");function K1(t,e,n){var i=e.pendingProps,a=i.revealOrder,r=i.tail;i=i.children;var l=dt.current,s=(l&2)!==0;if(s?(l=l&1|2,e.flags|=128):l&=1,W(dt,l),_t(t,e,i,n),i=q?Wr:0,!s&&t!==null&&(t.flags&128)!==0)t:for(t=e.child;t!==null;){if(t.tag===13)t.memoizedState!==null&&zv(t,n,e);else if(t.tag===19)zv(t,n,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(a){case"forwards":for(n=e.child,a=null;n!==null;)t=n.alternate,t!==null&&Hu(t)===null&&(a=n),n=n.sibling;n=a,n===null?(a=e.child,e.child=null):(a=n.sibling,n.sibling=null),Mm(e,!1,a,n,r,i);break;case"backwards":case"unstable_legacy-backwards":for(n=null,a=e.child,e.child=null;a!==null;){if(t=a.alternate,t!==null&&Hu(t)===null){e.child=a;break}t=a.sibling,a.sibling=n,n=a,a=t}Mm(e,!0,n,null,r,i);break;case"together":Mm(e,!1,null,null,void 0,i);break;default:e.memoizedState=null}return e.child}o(K1,"updateSuspenseListComponent");function Cn(t,e,n){if(t!==null&&(e.dependencies=t.dependencies),yi|=e.lanes,(n&e.childLanes)===0)if(t!==null){if(Do(t,e,n,!1),(n&e.childLanes)===0)return null}else return null;if(t!==null&&e.child!==t.child)throw Error(S(153));if(e.child!==null){for(t=e.child,n=Tn(t,t.pendingProps),e.child=n,n.return=e;t.sibling!==null;)t=t.sibling,n=n.sibling=Tn(t,t.pendingProps),n.return=e;n.sibling=null}return e.child}o(Cn,"bailoutOnAlreadyFinishedWork");function hp(t,e){return(t.lanes&e)!==0?!0:(t=t.dependencies,!!(t!==null&&Uu(t)))}o(hp,"checkScheduledUpdateOrContext");function WA(t,e,n){switch(e.tag){case 3:Vu(e,e.stateNode.containerInfo),Fn(e,yt,t.memoizedState.cache),Fi();break;case 27:case 5:km(e);break;case 4:Vu(e,e.stateNode.containerInfo);break;case 10:Fn(e,e.type,e.memoizedProps.value);break;case 31:if(e.memoizedState!==null)return e.flags|=128,ud(e),null;break;case 13:var i=e.memoizedState;if(i!==null)return i.dehydrated!==null?(Wn(e),e.flags|=128,null):(n&e.child.childLanes)!==0?Q1(t,e,n):(Wn(e),t=Cn(t,e,n),t!==null?t.sibling:null);Wn(e);break;case 19:var a=(t.flags&128)!==0;if(i=(n&e.childLanes)!==0,i||(Do(t,e,n,!1),i=(n&e.childLanes)!==0),a){if(i)return K1(t,e,n);e.flags|=128}if(a=e.memoizedState,a!==null&&(a.rendering=null,a.tail=null,a.lastEffect=null),W(dt,dt.current),i)break;return null;case 22:return e.lanes=0,Z1(t,e,n,e.pendingProps);case 24:Fn(e,yt,t.memoizedState.cache)}return Cn(t,e,n)}o(WA,"attemptEarlyBailoutIfNoScheduledUpdate");function P1(t,e,n){if(t!==null)if(t.memoizedProps!==e.pendingProps)vt=!0;else{if(!hp(t,n)&&(e.flags&128)===0)return vt=!1,WA(t,e,n);vt=(t.flags&131072)!==0}else vt=!1,q&&(e.flags&1048576)!==0&&Wx(e,Wr,e.index);switch(e.lanes=0,e.tag){case 16:t:{var i=e.pendingProps;if(t=Xi(e.elementType),e.type=t,typeof t=="function")Kd(t)?(i=ta(t,i),e.tag=1,e=Vv(null,e,t,i,n)):(e.tag=0,e=hd(null,e,t,i,n));else{if(t!=null){var a=t.$$typeof;if(a===Nd){e.tag=11,e=Av(null,e,t,i,n);break t}else if(a===Rd){e.tag=14,e=Ev(null,e,t,i,n);break t}}throw e=qm(t)||t,Error(S(306,e,""))}}return e;case 0:return hd(t,e,e.type,e.pendingProps,n);case 1:return i=e.type,a=ta(i,e.pendingProps),Vv(t,e,i,a,n);case 3:t:{if(Vu(e,e.stateNode.containerInfo),t===null)throw Error(S(387));i=e.pendingProps;var r=e.memoizedState;a=r.element,rd(t,e),Gr(e,i,null,n);var l=e.memoizedState;if(i=l.cache,Fn(e,yt,i),i!==r.cache&&ad(e,[yt],n,!0),Hr(),i=l.element,r.isDehydrated)if(r={element:i,isDehydrated:!1,cache:l.cache},e.updateQueue.baseState=r,e.memoizedState=r,e.flags&256){e=Ov(t,e,i,n);break t}else if(i!==a){a=Ee(Error(S(424)),e),Ir(a),e=Ov(t,e,i,n);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(nt=Ce(t.firstChild),Rt=e,q=!0,ri=null,Me=!0,n=i1(e,null,i,n),e.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling}else{if(Fi(),i===a){e=Cn(t,e,n);break t}_t(t,e,i,n)}e=e.child}return e;case 26:return Tu(t,e),t===null?(n=$v(e.type,null,e.pendingProps,null))?e.memoizedState=n:q||(n=e.type,t=e.pendingProps,i=Wu(oi.current).createElement(n),i[Nt]=e,i[$t]=t,Ut(i,n,t),Dt(i),e.stateNode=i):e.memoizedState=$v(e.type,t.memoizedProps,e.pendingProps,t.memoizedState),null;case 27:return km(e),t===null&&q&&(i=e.stateNode=jb(e.type,e.pendingProps,oi.current),Rt=e,Me=!0,a=nt,xi(e.type)?(Od=a,nt=Ce(i.firstChild)):nt=a),_t(t,e,e.pendingProps.children,n),Tu(t,e),t===null&&(e.flags|=4194304),e.child;case 5:return t===null&&q&&((a=i=nt)&&(i=EE(i,e.type,e.pendingProps,Me),i!==null?(e.stateNode=i,Rt=e,nt=Ce(i.firstChild),Me=!1,a=!0):a=!1),a||hi(e)),km(e),a=e.type,r=e.pendingProps,l=t!==null?t.memoizedProps:null,i=r.children,Md(a,r)?i=null:l!==null&&Md(a,l)&&(e.flags|=32),e.memoizedState!==null&&(a=np(t,e,qA,null,null,n),al._currentValue=a),Tu(t,e),_t(t,e,i,n),e.child;case 6:return t===null&&q&&((t=n=nt)&&(n=ME(n,e.pendingProps,Me),n!==null?(e.stateNode=n,Rt=e,nt=null,t=!0):t=!1),t||hi(e)),null;case 13:return Q1(t,e,n);case 4:return Vu(e,e.stateNode.containerInfo),i=e.pendingProps,t===null?e.child=Ii(e,null,i,n):_t(t,e,i,n),e.child;case 11:return Av(t,e,e.type,e.pendingProps,n);case 7:return _t(t,e,e.pendingProps,n),e.child;case 8:return _t(t,e,e.pendingProps.children,n),e.child;case 12:return _t(t,e,e.pendingProps.children,n),e.child;case 10:return i=e.pendingProps,Fn(e,e.type,i.value),_t(t,e,i.children,n),e.child;case 9:return a=e.type._context,i=e.pendingProps.children,Wi(e),a=Bt(a),i=i(a),e.flags|=1,_t(t,e,i,n),e.child;case 14:return Ev(t,e,e.type,e.pendingProps,n);case 15:return k1(t,e,e.type,e.pendingProps,n);case 19:return K1(t,e,n);case 31:return FA(t,e,n);case 22:return Z1(t,e,n,e.pendingProps);case 24:return Wi(e),i=Bt(yt),t===null?(a=Wd(),a===null&&(a=F,r=Fd(),a.pooledCache=r,r.refCount++,r!==null&&(a.pooledCacheLanes|=n),a=r),e.memoizedState={parent:i,cache:a},$d(e),Fn(e,yt,a)):((t.lanes&n)!==0&&(rd(t,e),Gr(e,null,null,n),Hr()),a=t.memoizedState,r=e.memoizedState,a.parent!==i?(a={parent:i,cache:i},e.memoizedState=a,e.lanes===0&&(e.memoizedState=e.updateQueue.baseState=a),Fn(e,yt,i)):(i=r.cache,Fn(e,yt,i),i!==a.cache&&ad(e,[yt],n,!0))),_t(t,e,e.pendingProps.children,n),e.child;case 29:throw e.pendingProps}throw Error(S(156,e.tag))}o(P1,"beginWork");function dn(t){t.flags|=4}o(dn,"markUpdate");function Dm(t,e,n,i,a){if((e=(t.mode&32)!==0)&&(e=!1),e){if(t.flags|=16777216,(a&335544128)===a)if(t.stateNode.complete)t.flags|=8192;else if(vb())t.flags|=8192;else throw Pi=Lu,Id}else t.flags&=-16777217}o(Dm,"preloadInstanceAndSuspendIfNeeded");function _v(t,e){if(e.type!=="stylesheet"||(e.state.loading&4)!==0)t.flags&=-16777217;else if(t.flags|=16777216,!Yb(e))if(vb())t.flags|=8192;else throw Pi=Lu,Id}o(_v,"preloadResourceAndSuspendIfNeeded");function ru(t,e){e!==null&&(t.flags|=4),t.flags&16384&&(e=t.tag!==22?xx():536870912,t.lanes|=e,bo|=e)}o(ru,"scheduleRetryEffect");function Er(t,e){if(!q)switch(t.tailMode){case"hidden":e=t.tail;for(var n=null;e!==null;)e.alternate!==null&&(n=e),e=e.sibling;n===null?t.tail=null:n.sibling=null;break;case"collapsed":n=t.tail;for(var i=null;n!==null;)n.alternate!==null&&(i=n),n=n.sibling;i===null?e||t.tail===null?t.tail=null:t.tail.sibling=null:i.sibling=null}}o(Er,"cutOffTailIfNeeded");function et(t){var e=t.alternate!==null&&t.alternate.child===t.child,n=0,i=0;if(e)for(var a=t.child;a!==null;)n|=a.lanes|a.childLanes,i|=a.subtreeFlags&65011712,i|=a.flags&65011712,a.return=t,a=a.sibling;else for(a=t.child;a!==null;)n|=a.lanes|a.childLanes,i|=a.subtreeFlags,i|=a.flags,a.return=t,a=a.sibling;return t.subtreeFlags|=i,t.childLanes=n,e}o(et,"bubbleProperties");function IA(t,e,n){var i=e.pendingProps;switch(Jd(e),e.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return et(e),null;case 1:return et(e),null;case 3:return n=e.stateNode,i=null,t!==null&&(i=t.memoizedState.cache),e.memoizedState.cache!==i&&(e.flags|=2048),wn(yt),po(),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),(t===null||t.child===null)&&(ka(e)?dn(e):t===null||t.memoizedState.isDehydrated&&(e.flags&256)===0||(e.flags|=1024,vm())),et(e),null;case 26:var a=e.type,r=e.memoizedState;return t===null?(dn(e),r!==null?(et(e),_v(e,r)):(et(e),Dm(e,a,null,i,n))):r?r!==t.memoizedState?(dn(e),et(e),_v(e,r)):(et(e),e.flags&=-16777217):(t=t.memoizedProps,t!==i&&dn(e),et(e),Dm(e,a,t,i,n)),null;case 27:if(Ou(e),n=oi.current,a=e.type,t!==null&&e.stateNode!=null)t.memoizedProps!==i&&dn(e);else{if(!i){if(e.stateNode===null)throw Error(S(166));return et(e),null}t=Pe.current,ka(e)?lv(e,t):(t=jb(a,i,n),e.stateNode=t,dn(e))}return et(e),null;case 5:if(Ou(e),a=e.type,t!==null&&e.stateNode!=null)t.memoizedProps!==i&&dn(e);else{if(!i){if(e.stateNode===null)throw Error(S(166));return et(e),null}if(r=Pe.current,ka(e))lv(e,r);else{var l=Wu(oi.current);switch(r){case 1:r=l.createElementNS("http://www.w3.org/2000/svg",a);break;case 2:r=l.createElementNS("http://www.w3.org/1998/Math/MathML",a);break;default:switch(a){case"svg":r=l.createElementNS("http://www.w3.org/2000/svg",a);break;case"math":r=l.createElementNS("http://www.w3.org/1998/Math/MathML",a);break;case"script":r=l.createElement("div"),r.innerHTML="<script><\/script>",r=r.removeChild(r.firstChild);break;case"select":r=typeof i.is=="string"?l.createElement("select",{is:i.is}):l.createElement("select"),i.multiple?r.multiple=!0:i.size&&(r.size=i.size);break;default:r=typeof i.is=="string"?l.createElement(a,{is:i.is}):l.createElement(a)}}r[Nt]=e,r[$t]=i;t:for(l=e.child;l!==null;){if(l.tag===5||l.tag===6)r.appendChild(l.stateNode);else if(l.tag!==4&&l.tag!==27&&l.child!==null){l.child.return=l,l=l.child;continue}if(l===e)break t;for(;l.sibling===null;){if(l.return===null||l.return===e)break t;l=l.return}l.sibling.return=l.return,l=l.sibling}e.stateNode=r;t:switch(Ut(r,a,i),a){case"button":case"input":case"select":case"textarea":i=!!i.autoFocus;break t;case"img":i=!0;break t;default:i=!1}i&&dn(e)}}return et(e),Dm(e,e.type,t===null?null:t.memoizedProps,e.pendingProps,n),null;case 6:if(t&&e.stateNode!=null)t.memoizedProps!==i&&dn(e);else{if(typeof i!="string"&&e.stateNode===null)throw Error(S(166));if(t=oi.current,ka(e)){if(t=e.stateNode,n=e.memoizedProps,i=null,a=Rt,a!==null)switch(a.tag){case 27:case 5:i=a.memoizedProps}t[Nt]=e,t=!!(t.nodeValue===n||i!==null&&i.suppressHydrationWarning===!0||Rb(t.nodeValue,n)),t||hi(e,!0)}else t=Wu(t).createTextNode(i),t[Nt]=e,e.stateNode=t}return et(e),null;case 31:if(n=e.memoizedState,t===null||t.memoizedState!==null){if(i=ka(e),n!==null){if(t===null){if(!i)throw Error(S(318));if(t=e.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(S(557));t[Nt]=e}else Fi(),(e.flags&128)===0&&(e.memoizedState=null),e.flags|=4;et(e),t=!1}else n=vm(),t!==null&&t.memoizedState!==null&&(t.memoizedState.hydrationErrors=n),t=!0;if(!t)return e.flags&256?(oe(e),e):(oe(e),null);if((e.flags&128)!==0)throw Error(S(558))}return et(e),null;case 13:if(i=e.memoizedState,t===null||t.memoizedState!==null&&t.memoizedState.dehydrated!==null){if(a=ka(e),i!==null&&i.dehydrated!==null){if(t===null){if(!a)throw Error(S(318));if(a=e.memoizedState,a=a!==null?a.dehydrated:null,!a)throw Error(S(317));a[Nt]=e}else Fi(),(e.flags&128)===0&&(e.memoizedState=null),e.flags|=4;et(e),a=!1}else a=vm(),t!==null&&t.memoizedState!==null&&(t.memoizedState.hydrationErrors=a),a=!0;if(!a)return e.flags&256?(oe(e),e):(oe(e),null)}return oe(e),(e.flags&128)!==0?(e.lanes=n,e):(n=i!==null,t=t!==null&&t.memoizedState!==null,n&&(i=e.child,a=null,i.alternate!==null&&i.alternate.memoizedState!==null&&i.alternate.memoizedState.cachePool!==null&&(a=i.alternate.memoizedState.cachePool.pool),r=null,i.memoizedState!==null&&i.memoizedState.cachePool!==null&&(r=i.memoizedState.cachePool.pool),r!==a&&(i.flags|=2048)),n!==t&&n&&(e.child.flags|=8192),ru(e,e.updateQueue),et(e),null);case 4:return po(),t===null&&Tp(e.stateNode.containerInfo),et(e),null;case 10:return wn(e.type),et(e),null;case 19:if(Ct(dt),i=e.memoizedState,i===null)return et(e),null;if(a=(e.flags&128)!==0,r=i.rendering,r===null)if(a)Er(i,!1);else{if(mt!==0||t!==null&&(t.flags&128)!==0)for(t=e.child;t!==null;){if(r=Hu(t),r!==null){for(e.flags|=128,Er(i,!1),t=r.updateQueue,e.updateQueue=t,ru(e,t),e.subtreeFlags=0,t=n,n=e.child;n!==null;)Jx(n,t),n=n.sibling;return W(dt,dt.current&1|2),q&&yn(e,i.treeForkCount),e.child}t=t.sibling}i.tail!==null&&se()>Zu&&(e.flags|=128,a=!0,Er(i,!1),e.lanes=4194304)}else{if(!a)if(t=Hu(r),t!==null){if(e.flags|=128,a=!0,t=t.updateQueue,e.updateQueue=t,ru(e,t),Er(i,!0),i.tail===null&&i.tailMode==="hidden"&&!r.alternate&&!q)return et(e),null}else 2*se()-i.renderingStartTime>Zu&&n!==536870912&&(e.flags|=128,a=!0,Er(i,!1),e.lanes=4194304);i.isBackwards?(r.sibling=e.child,e.child=r):(t=i.last,t!==null?t.sibling=r:e.child=r,i.last=r)}return i.tail!==null?(t=i.tail,i.rendering=t,i.tail=t.sibling,i.renderingStartTime=se(),t.sibling=null,n=dt.current,W(dt,a?n&1|2:n&1),q&&yn(e,i.treeForkCount),t):(et(e),null);case 22:case 23:return oe(e),tp(),i=e.memoizedState!==null,t!==null?t.memoizedState!==null!==i&&(e.flags|=8192):i&&(e.flags|=8192),i?(n&536870912)!==0&&(e.flags&128)===0&&(et(e),e.subtreeFlags&6&&(e.flags|=8192)):et(e),n=e.updateQueue,n!==null&&ru(e,n.retryQueue),n=null,t!==null&&t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(n=t.memoizedState.cachePool.pool),i=null,e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(i=e.memoizedState.cachePool.pool),i!==n&&(e.flags|=2048),t!==null&&Ct(Ki),null;case 24:return n=null,t!==null&&(n=t.memoizedState.cache),e.memoizedState.cache!==n&&(e.flags|=2048),wn(yt),et(e),null;case 25:return null;case 30:return null}throw Error(S(156,e.tag))}o(IA,"completeWork");function $A(t,e){switch(Jd(e),e.tag){case 1:return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 3:return wn(yt),po(),t=e.flags,(t&65536)!==0&&(t&128)===0?(e.flags=t&-65537|128,e):null;case 26:case 27:case 5:return Ou(e),null;case 31:if(e.memoizedState!==null){if(oe(e),e.alternate===null)throw Error(S(340));Fi()}return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 13:if(oe(e),t=e.memoizedState,t!==null&&t.dehydrated!==null){if(e.alternate===null)throw Error(S(340));Fi()}return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 19:return Ct(dt),null;case 4:return po(),null;case 10:return wn(e.type),null;case 22:case 23:return oe(e),tp(),t!==null&&Ct(Ki),t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 24:return wn(yt),null;case 25:return null;default:return null}}o($A,"unwindWork");function J1(t,e){switch(Jd(e),e.tag){case 3:wn(yt),po();break;case 26:case 27:case 5:Ou(e);break;case 4:po();break;case 31:e.memoizedState!==null&&oe(e);break;case 13:oe(e);break;case 19:Ct(dt);break;case 10:wn(e.type);break;case 22:case 23:oe(e),tp(),t!==null&&Ct(Ki);break;case 24:wn(yt)}}o(J1,"unwindInterruptedWork");function hl(t,e){try{var n=e.updateQueue,i=n!==null?n.lastEffect:null;if(i!==null){var a=i.next;n=a;do{if((n.tag&t)===t){i=void 0;var r=n.create,l=n.inst;i=r(),l.destroy=i}n=n.next}while(n!==a)}}catch(s){Q(e,e.return,s)}}o(hl,"commitHookEffectListMount");function gi(t,e,n){try{var i=e.updateQueue,a=i!==null?i.lastEffect:null;if(a!==null){var r=a.next;i=r;do{if((i.tag&t)===t){var l=i.inst,s=l.destroy;if(s!==void 0){l.destroy=void 0,a=e;var u=n,c=s;try{c()}catch(f){Q(a,u,f)}}}i=i.next}while(i!==r)}}catch(f){Q(e,e.return,f)}}o(gi,"commitHookEffectListUnmount");function F1(t){var e=t.updateQueue;if(e!==null){var n=t.stateNode;try{o1(e,n)}catch(i){Q(t,t.return,i)}}}o(F1,"commitClassCallbacks");function W1(t,e,n){n.props=ta(t.type,t.memoizedProps),n.state=t.memoizedState;try{n.componentWillUnmount()}catch(i){Q(t,e,i)}}o(W1,"safelyCallComponentWillUnmount");function qr(t,e){try{var n=t.ref;if(n!==null){switch(t.tag){case 26:case 27:case 5:var i=t.stateNode;break;case 30:i=t.stateNode;break;default:i=t.stateNode}typeof n=="function"?t.refCleanup=n(i):n.current=i}}catch(a){Q(t,e,a)}}o(qr,"safelyAttachRef");function Ke(t,e){var n=t.ref,i=t.refCleanup;if(n!==null)if(typeof i=="function")try{i()}catch(a){Q(t,e,a)}finally{t.refCleanup=null,t=t.alternate,t!=null&&(t.refCleanup=null)}else if(typeof n=="function")try{n(null)}catch(a){Q(t,e,a)}else n.current=null}o(Ke,"safelyDetachRef");function I1(t){var e=t.type,n=t.memoizedProps,i=t.stateNode;try{t:switch(e){case"button":case"input":case"select":case"textarea":n.autoFocus&&i.focus();break t;case"img":n.src?i.src=n.src:n.srcSet&&(i.srcset=n.srcSet)}}catch(a){Q(t,t.return,a)}}o(I1,"commitHostMount");function Cm(t,e,n){try{var i=t.stateNode;xE(i,t.type,n,e),i[$t]=e}catch(a){Q(t,t.return,a)}}o(Cm,"commitHostUpdate");function $1(t){return t.tag===5||t.tag===3||t.tag===26||t.tag===27&&xi(t.type)||t.tag===4}o($1,"isHostParent");function Vm(t){t:for(;;){for(;t.sibling===null;){if(t.return===null||$1(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&&xi(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}}o(Vm,"getHostSibling");function yd(t,e,n){var i=t.tag;if(i===5||i===6)t=t.stateNode,e?(n.nodeType===9?n.body:n.nodeName==="HTML"?n.ownerDocument.body:n).insertBefore(t,e):(e=n.nodeType===9?n.body:n.nodeName==="HTML"?n.ownerDocument.body:n,e.appendChild(t),n=n._reactRootContainer,n!=null||e.onclick!==null||(e.onclick=bn));else if(i!==4&&(i===27&&xi(t.type)&&(n=t.stateNode,e=null),t=t.child,t!==null))for(yd(t,e,n),t=t.sibling;t!==null;)yd(t,e,n),t=t.sibling}o(yd,"insertOrAppendPlacementNodeIntoContainer");function ku(t,e,n){var i=t.tag;if(i===5||i===6)t=t.stateNode,e?n.insertBefore(t,e):n.appendChild(t);else if(i!==4&&(i===27&&xi(t.type)&&(n=t.stateNode),t=t.child,t!==null))for(ku(t,e,n),t=t.sibling;t!==null;)ku(t,e,n),t=t.sibling}o(ku,"insertOrAppendPlacementNode");function tb(t){var e=t.stateNode,n=t.memoizedProps;try{for(var i=t.type,a=e.attributes;a.length;)e.removeAttributeNode(a[0]);Ut(e,i,n),e[Nt]=t,e[$t]=n}catch(r){Q(t,t.return,r)}}o(tb,"commitHostSingletonAcquisition");var vn=!1,gt=!1,Om=!1,Nv=typeof WeakSet=="function"?WeakSet:Set,Mt=null;function tE(t,e){if(t=t.containerInfo,Ad=ec,t=Yx(t),kd(t)){if("selectionStart"in t)var n={start:t.selectionStart,end:t.selectionEnd};else t:{n=(n=t.ownerDocument)&&n.defaultView||window;var i=n.getSelection&&n.getSelection();if(i&&i.rangeCount!==0){n=i.anchorNode;var a=i.anchorOffset,r=i.focusNode;i=i.focusOffset;try{n.nodeType,r.nodeType}catch{n=null;break t}var l=0,s=-1,u=-1,c=0,f=0,m=t,d=null;e:for(;;){for(var p;m!==n||a!==0&&m.nodeType!==3||(s=l+a),m!==r||i!==0&&m.nodeType!==3||(u=l+i),m.nodeType===3&&(l+=m.nodeValue.length),(p=m.firstChild)!==null;)d=m,m=p;for(;;){if(m===t)break e;if(d===n&&++c===a&&(s=l),d===r&&++f===i&&(u=l),(p=m.nextSibling)!==null)break;m=d,d=m.parentNode}m=p}n=s===-1||u===-1?null:{start:s,end:u}}else n=null}n=n||{start:0,end:0}}else n=null;for(Ed={focusedElem:t,selectionRange:n},ec=!1,Mt=e;Mt!==null;)if(e=Mt,t=e.child,(e.subtreeFlags&1028)!==0&&t!==null)t.return=e,Mt=t;else for(;Mt!==null;){switch(e=Mt,r=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(n=0;n<t.length;n++)a=t[n],a.ref.impl=a.nextImpl;break;case 11:case 15:break;case 1:if((t&1024)!==0&&r!==null){t=void 0,n=e,a=r.memoizedProps,r=r.memoizedState,i=n.stateNode;try{var v=ta(n.type,a);t=i.getSnapshotBeforeUpdate(v,r),i.__reactInternalSnapshotBeforeUpdate=t}catch(b){Q(n,n.return,b)}}break;case 3:if((t&1024)!==0){if(t=e.stateNode.containerInfo,n=t.nodeType,n===9)Dd(t);else if(n===1)switch(t.nodeName){case"HEAD":case"HTML":case"BODY":Dd(t);break;default:t.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((t&1024)!==0)throw Error(S(163))}if(t=e.sibling,t!==null){t.return=e.return,Mt=t;break}Mt=e.return}}o(tE,"commitBeforeMutationEffects");function eb(t,e,n){var i=n.flags;switch(n.tag){case 0:case 11:case 15:hn(t,n),i&4&&hl(5,n);break;case 1:if(hn(t,n),i&4)if(t=n.stateNode,e===null)try{t.componentDidMount()}catch(l){Q(n,n.return,l)}else{var a=ta(n.type,e.memoizedProps);e=e.memoizedState;try{t.componentDidUpdate(a,e,t.__reactInternalSnapshotBeforeUpdate)}catch(l){Q(n,n.return,l)}}i&64&&F1(n),i&512&&qr(n,n.return);break;case 3:if(hn(t,n),i&64&&(t=n.updateQueue,t!==null)){if(e=null,n.child!==null)switch(n.child.tag){case 27:case 5:e=n.child.stateNode;break;case 1:e=n.child.stateNode}try{o1(t,e)}catch(l){Q(n,n.return,l)}}break;case 27:e===null&&i&4&&tb(n);case 26:case 5:hn(t,n),e===null&&i&4&&I1(n),i&512&&qr(n,n.return);break;case 12:hn(t,n);break;case 31:hn(t,n),i&4&&ab(t,n);break;case 13:hn(t,n),i&4&&ob(t,n),i&64&&(t=n.memoizedState,t!==null&&(t=t.dehydrated,t!==null&&(n=uE.bind(null,n),DE(t,n))));break;case 22:if(i=n.memoizedState!==null||vn,!i){e=e!==null&&e.memoizedState!==null||gt,a=vn;var r=gt;vn=i,(gt=e)&&!r?gn(t,n,(n.subtreeFlags&8772)!==0):hn(t,n),vn=a,gt=r}break;case 30:break;default:hn(t,n)}}o(eb,"commitLayoutEffectOnFiber");function nb(t){var e=t.alternate;e!==null&&(t.alternate=null,nb(e)),t.child=null,t.deletions=null,t.sibling=null,t.tag===5&&(e=t.stateNode,e!==null&&jd(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}o(nb,"detachFiberAfterEffects");var rt=null,Ft=!1;function pn(t,e,n){for(n=n.child;n!==null;)ib(t,e,n),n=n.sibling}o(pn,"recursivelyTraverseDeletionEffects");function ib(t,e,n){if(ue&&typeof ue.onCommitFiberUnmount=="function")try{ue.onCommitFiberUnmount(sl,n)}catch{}switch(n.tag){case 26:gt||Ke(n,e),pn(t,e,n),n.memoizedState?n.memoizedState.count--:n.stateNode&&(n=n.stateNode,n.parentNode.removeChild(n));break;case 27:gt||Ke(n,e);var i=rt,a=Ft;xi(n.type)&&(rt=n.stateNode,Ft=!1),pn(t,e,n),Qr(n.stateNode),rt=i,Ft=a;break;case 5:gt||Ke(n,e);case 6:if(i=rt,a=Ft,rt=null,pn(t,e,n),rt=i,Ft=a,rt!==null)if(Ft)try{(rt.nodeType===9?rt.body:rt.nodeName==="HTML"?rt.ownerDocument.body:rt).removeChild(n.stateNode)}catch(r){Q(n,e,r)}else try{rt.removeChild(n.stateNode)}catch(r){Q(n,e,r)}break;case 18:rt!==null&&(Ft?(t=rt,Pv(t.nodeType===9?t.body:t.nodeName==="HTML"?t.ownerDocument.body:t,n.stateNode),Ao(t)):Pv(rt,n.stateNode));break;case 4:i=rt,a=Ft,rt=n.stateNode.containerInfo,Ft=!0,pn(t,e,n),rt=i,Ft=a;break;case 0:case 11:case 14:case 15:gi(2,n,e),gt||gi(4,n,e),pn(t,e,n);break;case 1:gt||(Ke(n,e),i=n.stateNode,typeof i.componentWillUnmount=="function"&&W1(n,e,i)),pn(t,e,n);break;case 21:pn(t,e,n);break;case 22:gt=(i=gt)||n.memoizedState!==null,pn(t,e,n),gt=i;break;default:pn(t,e,n)}}o(ib,"commitDeletionEffectsOnFiber");function ab(t,e){if(e.memoizedState===null&&(t=e.alternate,t!==null&&(t=t.memoizedState,t!==null))){t=t.dehydrated;try{Ao(t)}catch(n){Q(e,e.return,n)}}}o(ab,"commitActivityHydrationCallbacks");function ob(t,e){if(e.memoizedState===null&&(t=e.alternate,t!==null&&(t=t.memoizedState,t!==null&&(t=t.dehydrated,t!==null))))try{Ao(t)}catch(n){Q(e,e.return,n)}}o(ob,"commitSuspenseHydrationCallbacks");function eE(t){switch(t.tag){case 31:case 13:case 19:var e=t.stateNode;return e===null&&(e=t.stateNode=new Nv),e;case 22:return t=t.stateNode,e=t._retryCache,e===null&&(e=t._retryCache=new Nv),e;default:throw Error(S(435,t.tag))}}o(eE,"getRetryCache");function lu(t,e){var n=eE(t);e.forEach(function(i){if(!n.has(i)){n.add(i);var a=cE.bind(null,t,i);i.then(a,a)}})}o(lu,"attachSuspenseRetryListeners");function Pt(t,e){var n=e.deletions;if(n!==null)for(var i=0;i<n.length;i++){var a=n[i],r=t,l=e,s=l;t:for(;s!==null;){switch(s.tag){case 27:if(xi(s.type)){rt=s.stateNode,Ft=!1;break t}break;case 5:rt=s.stateNode,Ft=!1;break t;case 3:case 4:rt=s.stateNode.containerInfo,Ft=!0;break t}s=s.return}if(rt===null)throw Error(S(160));ib(r,l,a),rt=null,Ft=!1,r=a.alternate,r!==null&&(r.return=null),a.return=null}if(e.subtreeFlags&13886)for(e=e.child;e!==null;)rb(e,t),e=e.sibling}o(Pt,"recursivelyTraverseMutationEffects");var Ue=null;function rb(t,e){var n=t.alternate,i=t.flags;switch(t.tag){case 0:case 11:case 14:case 15:Pt(e,t),Jt(t),i&4&&(gi(3,t,t.return),hl(3,t),gi(5,t,t.return));break;case 1:Pt(e,t),Jt(t),i&512&&(gt||n===null||Ke(n,n.return)),i&64&&vn&&(t=t.updateQueue,t!==null&&(i=t.callbacks,i!==null&&(n=t.shared.hiddenCallbacks,t.shared.hiddenCallbacks=n===null?i:n.concat(i))));break;case 26:var a=Ue;if(Pt(e,t),Jt(t),i&512&&(gt||n===null||Ke(n,n.return)),i&4){var r=n!==null?n.memoizedState:null;if(i=t.memoizedState,n===null)if(i===null)if(t.stateNode===null){t:{i=t.type,n=t.memoizedProps,a=a.ownerDocument||a;e:switch(i){case"title":r=a.getElementsByTagName("title")[0],(!r||r[fl]||r[Nt]||r.namespaceURI==="http://www.w3.org/2000/svg"||r.hasAttribute("itemprop"))&&(r=a.createElement(i),a.head.insertBefore(r,a.querySelector("head > title"))),Ut(r,i,n),r[Nt]=t,Dt(r),i=r;break t;case"link":var l=ex("link","href",a).get(i+(n.href||""));if(l){for(var s=0;s<l.length;s++)if(r=l[s],r.getAttribute("href")===(n.href==null||n.href===""?null:n.href)&&r.getAttribute("rel")===(n.rel==null?null:n.rel)&&r.getAttribute("title")===(n.title==null?null:n.title)&&r.getAttribute("crossorigin")===(n.crossOrigin==null?null:n.crossOrigin)){l.splice(s,1);break e}}r=a.createElement(i),Ut(r,i,n),a.head.appendChild(r);break;case"meta":if(l=ex("meta","content",a).get(i+(n.content||""))){for(s=0;s<l.length;s++)if(r=l[s],r.getAttribute("content")===(n.content==null?null:""+n.content)&&r.getAttribute("name")===(n.name==null?null:n.name)&&r.getAttribute("property")===(n.property==null?null:n.property)&&r.getAttribute("http-equiv")===(n.httpEquiv==null?null:n.httpEquiv)&&r.getAttribute("charset")===(n.charSet==null?null:n.charSet)){l.splice(s,1);break e}}r=a.createElement(i),Ut(r,i,n),a.head.appendChild(r);break;default:throw Error(S(468,i))}r[Nt]=t,Dt(r),i=r}t.stateNode=i}else nx(a,t.type,t.stateNode);else t.stateNode=tx(a,i,t.memoizedProps);else r!==i?(r===null?n.stateNode!==null&&(n=n.stateNode,n.parentNode.removeChild(n)):r.count--,i===null?nx(a,t.type,t.stateNode):tx(a,i,t.memoizedProps)):i===null&&t.stateNode!==null&&Cm(t,t.memoizedProps,n.memoizedProps)}break;case 27:Pt(e,t),Jt(t),i&512&&(gt||n===null||Ke(n,n.return)),n!==null&&i&4&&Cm(t,t.memoizedProps,n.memoizedProps);break;case 5:if(Pt(e,t),Jt(t),i&512&&(gt||n===null||Ke(n,n.return)),t.flags&32){a=t.stateNode;try{go(a,"")}catch(v){Q(t,t.return,v)}}i&4&&t.stateNode!=null&&(a=t.memoizedProps,Cm(t,a,n!==null?n.memoizedProps:a)),i&1024&&(Om=!0);break;case 6:if(Pt(e,t),Jt(t),i&4){if(t.stateNode===null)throw Error(S(162));i=t.memoizedProps,n=t.stateNode;try{n.nodeValue=i}catch(v){Q(t,t.return,v)}}break;case 3:if(Eu=null,a=Ue,Ue=Iu(e.containerInfo),Pt(e,t),Ue=a,Jt(t),i&4&&n!==null&&n.memoizedState.isDehydrated)try{Ao(e.containerInfo)}catch(v){Q(t,t.return,v)}Om&&(Om=!1,lb(t));break;case 4:i=Ue,Ue=Iu(t.stateNode.containerInfo),Pt(e,t),Jt(t),Ue=i;break;case 12:Pt(e,t),Jt(t);break;case 31:Pt(e,t),Jt(t),i&4&&(i=t.updateQueue,i!==null&&(t.updateQueue=null,lu(t,i)));break;case 13:Pt(e,t),Jt(t),t.child.flags&8192&&t.memoizedState!==null!=(n!==null&&n.memoizedState!==null)&&(pc=se()),i&4&&(i=t.updateQueue,i!==null&&(t.updateQueue=null,lu(t,i)));break;case 22:a=t.memoizedState!==null;var u=n!==null&&n.memoizedState!==null,c=vn,f=gt;if(vn=c||a,gt=f||u,Pt(e,t),gt=f,vn=c,Jt(t),i&8192)t:for(e=t.stateNode,e._visibility=a?e._visibility&-2:e._visibility|1,a&&(n===null||u||vn||gt||ki(t)),n=null,e=t;;){if(e.tag===5||e.tag===26){if(n===null){u=n=e;try{if(r=u.stateNode,a)l=r.style,typeof l.setProperty=="function"?l.setProperty("display","none","important"):l.display="none";else{s=u.stateNode;var m=u.memoizedProps.style,d=m!=null&&m.hasOwnProperty("display")?m.display:null;s.style.display=d==null||typeof d=="boolean"?"":(""+d).trim()}}catch(v){Q(u,u.return,v)}}}else if(e.tag===6){if(n===null){u=e;try{u.stateNode.nodeValue=a?"":u.memoizedProps}catch(v){Q(u,u.return,v)}}}else if(e.tag===18){if(n===null){u=e;try{var p=u.stateNode;a?Jv(p,!0):Jv(u.stateNode,!1)}catch(v){Q(u,u.return,v)}}}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;n===e&&(n=null),e=e.return}n===e&&(n=null),e.sibling.return=e.return,e=e.sibling}i&4&&(i=t.updateQueue,i!==null&&(n=i.retryQueue,n!==null&&(i.retryQueue=null,lu(t,n))));break;case 19:Pt(e,t),Jt(t),i&4&&(i=t.updateQueue,i!==null&&(t.updateQueue=null,lu(t,i)));break;case 30:break;case 21:break;default:Pt(e,t),Jt(t)}}o(rb,"commitMutationEffectsOnFiber");function Jt(t){var e=t.flags;if(e&2){try{for(var n,i=t.return;i!==null;){if($1(i)){n=i;break}i=i.return}if(n==null)throw Error(S(160));switch(n.tag){case 27:var a=n.stateNode,r=Vm(t);ku(t,r,a);break;case 5:var l=n.stateNode;n.flags&32&&(go(l,""),n.flags&=-33);var s=Vm(t);ku(t,s,l);break;case 3:case 4:var u=n.stateNode.containerInfo,c=Vm(t);yd(t,c,u);break;default:throw Error(S(161))}}catch(f){Q(t,t.return,f)}t.flags&=-3}e&4096&&(t.flags&=-4097)}o(Jt,"commitReconciliationEffects");function lb(t){if(t.subtreeFlags&1024)for(t=t.child;t!==null;){var e=t;lb(e),e.tag===5&&e.flags&1024&&e.stateNode.reset(),t=t.sibling}}o(lb,"recursivelyResetForms");function hn(t,e){if(e.subtreeFlags&8772)for(e=e.child;e!==null;)eb(t,e.alternate,e),e=e.sibling}o(hn,"recursivelyTraverseLayoutEffects");function ki(t){for(t=t.child;t!==null;){var e=t;switch(e.tag){case 0:case 11:case 14:case 15:gi(4,e,e.return),ki(e);break;case 1:Ke(e,e.return);var n=e.stateNode;typeof n.componentWillUnmount=="function"&&W1(e,e.return,n),ki(e);break;case 27:Qr(e.stateNode);case 26:case 5:Ke(e,e.return),ki(e);break;case 22:e.memoizedState===null&&ki(e);break;case 30:ki(e);break;default:ki(e)}t=t.sibling}}o(ki,"recursivelyTraverseDisappearLayoutEffects");function gn(t,e,n){for(n=n&&(e.subtreeFlags&8772)!==0,e=e.child;e!==null;){var i=e.alternate,a=t,r=e,l=r.flags;switch(r.tag){case 0:case 11:case 15:gn(a,r,n),hl(4,r);break;case 1:if(gn(a,r,n),i=r,a=i.stateNode,typeof a.componentDidMount=="function")try{a.componentDidMount()}catch(c){Q(i,i.return,c)}if(i=r,a=i.updateQueue,a!==null){var s=i.stateNode;try{var u=a.shared.hiddenCallbacks;if(u!==null)for(a.shared.hiddenCallbacks=null,a=0;a<u.length;a++)a1(u[a],s)}catch(c){Q(i,i.return,c)}}n&&l&64&&F1(r),qr(r,r.return);break;case 27:tb(r);case 26:case 5:gn(a,r,n),n&&i===null&&l&4&&I1(r),qr(r,r.return);break;case 12:gn(a,r,n);break;case 31:gn(a,r,n),n&&l&4&&ab(a,r);break;case 13:gn(a,r,n),n&&l&4&&ob(a,r);break;case 22:r.memoizedState===null&&gn(a,r,n),qr(r,r.return);break;case 30:break;default:gn(a,r,n)}e=e.sibling}}o(gn,"recursivelyTraverseReappearLayoutEffects");function gp(t,e){var n=null;t!==null&&t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(n=t.memoizedState.cachePool.pool),t=null,e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(t=e.memoizedState.cachePool.pool),t!==n&&(t!=null&&t.refCount++,n!=null&&dl(n))}o(gp,"commitOffscreenPassiveMountEffects");function yp(t,e){t=null,e.alternate!==null&&(t=e.alternate.memoizedState.cache),e=e.memoizedState.cache,e!==t&&(e.refCount++,t!=null&&dl(t))}o(yp,"commitCachePassiveMountEffect");function Be(t,e,n,i){if(e.subtreeFlags&10256)for(e=e.child;e!==null;)sb(t,e,n,i),e=e.sibling}o(Be,"recursivelyTraversePassiveMountEffects");function sb(t,e,n,i){var a=e.flags;switch(e.tag){case 0:case 11:case 15:Be(t,e,n,i),a&2048&&hl(9,e);break;case 1:Be(t,e,n,i);break;case 3:Be(t,e,n,i),a&2048&&(t=null,e.alternate!==null&&(t=e.alternate.memoizedState.cache),e=e.memoizedState.cache,e!==t&&(e.refCount++,t!=null&&dl(t)));break;case 12:if(a&2048){Be(t,e,n,i),t=e.stateNode;try{var r=e.memoizedProps,l=r.id,s=r.onPostCommit;typeof s=="function"&&s(l,e.alternate===null?"mount":"update",t.passiveEffectDuration,-0)}catch(u){Q(e,e.return,u)}}else Be(t,e,n,i);break;case 31:Be(t,e,n,i);break;case 13:Be(t,e,n,i);break;case 23:break;case 22:r=e.stateNode,l=e.alternate,e.memoizedState!==null?r._visibility&2?Be(t,e,n,i):Xr(t,e):r._visibility&2?Be(t,e,n,i):(r._visibility|=2,Qa(t,e,n,i,(e.subtreeFlags&10256)!==0||!1)),a&2048&&gp(l,e);break;case 24:Be(t,e,n,i),a&2048&&yp(e.alternate,e);break;default:Be(t,e,n,i)}}o(sb,"commitPassiveMountOnFiber");function Qa(t,e,n,i,a){for(a=a&&((e.subtreeFlags&10256)!==0||!1),e=e.child;e!==null;){var r=t,l=e,s=n,u=i,c=l.flags;switch(l.tag){case 0:case 11:case 15:Qa(r,l,s,u,a),hl(8,l);break;case 23:break;case 22:var f=l.stateNode;l.memoizedState!==null?f._visibility&2?Qa(r,l,s,u,a):Xr(r,l):(f._visibility|=2,Qa(r,l,s,u,a)),a&&c&2048&&gp(l.alternate,l);break;case 24:Qa(r,l,s,u,a),a&&c&2048&&yp(l.alternate,l);break;default:Qa(r,l,s,u,a)}e=e.sibling}}o(Qa,"recursivelyTraverseReconnectPassiveEffects");function Xr(t,e){if(e.subtreeFlags&10256)for(e=e.child;e!==null;){var n=t,i=e,a=i.flags;switch(i.tag){case 22:Xr(n,i),a&2048&&gp(i.alternate,i);break;case 24:Xr(n,i),a&2048&&yp(i.alternate,i);break;default:Xr(n,i)}e=e.sibling}}o(Xr,"recursivelyTraverseAtomicPassiveEffects");var Nr=8192;function Za(t,e,n){if(t.subtreeFlags&Nr)for(t=t.child;t!==null;)ub(t,e,n),t=t.sibling}o(Za,"recursivelyAccumulateSuspenseyCommit");function ub(t,e,n){switch(t.tag){case 26:Za(t,e,n),t.flags&Nr&&t.memoizedState!==null&&HE(n,Ue,t.memoizedState,t.memoizedProps);break;case 5:Za(t,e,n);break;case 3:case 4:var i=Ue;Ue=Iu(t.stateNode.containerInfo),Za(t,e,n),Ue=i;break;case 22:t.memoizedState===null&&(i=t.alternate,i!==null&&i.memoizedState!==null?(i=Nr,Nr=16777216,Za(t,e,n),Nr=i):Za(t,e,n));break;default:Za(t,e,n)}}o(ub,"accumulateSuspenseyCommitOnFiber");function cb(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)}}o(cb,"detachAlternateSiblings");function Mr(t){var e=t.deletions;if((t.flags&16)!==0){if(e!==null)for(var n=0;n<e.length;n++){var i=e[n];Mt=i,mb(i,t)}cb(t)}if(t.subtreeFlags&10256)for(t=t.child;t!==null;)fb(t),t=t.sibling}o(Mr,"recursivelyTraversePassiveUnmountEffects");function fb(t){switch(t.tag){case 0:case 11:case 15:Mr(t),t.flags&2048&&gi(9,t,t.return);break;case 3:Mr(t);break;case 12:Mr(t);break;case 22:var e=t.stateNode;t.memoizedState!==null&&e._visibility&2&&(t.return===null||t.return.tag!==13)?(e._visibility&=-3,wu(t)):Mr(t);break;default:Mr(t)}}o(fb,"commitPassiveUnmountOnFiber");function wu(t){var e=t.deletions;if((t.flags&16)!==0){if(e!==null)for(var n=0;n<e.length;n++){var i=e[n];Mt=i,mb(i,t)}cb(t)}for(t=t.child;t!==null;){switch(e=t,e.tag){case 0:case 11:case 15:gi(8,e,e.return),wu(e);break;case 22:n=e.stateNode,n._visibility&2&&(n._visibility&=-3,wu(e));break;default:wu(e)}t=t.sibling}}o(wu,"recursivelyTraverseDisconnectPassiveEffects");function mb(t,e){for(;Mt!==null;){var n=Mt;switch(n.tag){case 0:case 11:case 15:gi(8,n,e);break;case 23:case 22:if(n.memoizedState!==null&&n.memoizedState.cachePool!==null){var i=n.memoizedState.cachePool.pool;i!=null&&i.refCount++}break;case 24:dl(n.memoizedState.cache)}if(i=n.child,i!==null)i.return=n,Mt=i;else t:for(n=t;Mt!==null;){i=Mt;var a=i.sibling,r=i.return;if(nb(i),i===n){Mt=null;break t}if(a!==null){a.return=r,Mt=a;break t}Mt=r}}}o(mb,"commitPassiveUnmountEffectsInsideOfDeletedTree_begin");var nE={getCacheForType:o(function(t){var e=Bt(yt),n=e.data.get(t);return n===void 0&&(n=t(),e.data.set(t,n)),n},"getCacheForType"),cacheSignal:o(function(){return Bt(yt).controller.signal},"cacheSignal")},iE=typeof WeakMap=="function"?WeakMap:Map,X=0,F=null,L=null,H=0,Z=0,ae=null,ni=!1,Vo=!1,vp=!1,Vn=0,mt=0,yi=0,Ji=0,xp=0,le=0,bo=0,kr=null,Wt=null,vd=!1,pc=0,db=0,Zu=1/0,Qu=null,ui=null,Tt=0,ci=null,So=null,An=0,xd=0,bd=null,pb=null,Zr=0,Sd=null;function fe(){return(X&2)!==0&&H!==0?H&-H:O.T!==null?Sp():wx()}o(fe,"requestUpdateLane");function hb(){if(le===0)if((H&536870912)===0||q){var t=Ws;Ws<<=1,(Ws&3932160)===0&&(Ws=262144),le=t}else le=536870912;return t=de.current,t!==null&&(t.flags|=32),le}o(hb,"requestDeferredLane");function It(t,e,n){(t===F&&(Z===2||Z===9)||t.cancelPendingCommit!==null)&&(To(t,0),ii(t,H,le,!1)),cl(t,n),((X&2)===0||t!==F)&&(t===F&&((X&2)===0&&(Ji|=n),mt===4&&ii(t,H,le,!1)),Fe(t))}o(It,"scheduleUpdateOnFiber");function gb(t,e,n){if((X&6)!==0)throw Error(S(327));var i=!n&&(e&127)===0&&(e&t.expiredLanes)===0||ul(t,e),a=i?rE(t,e):zm(t,e,!0),r=i;do{if(a===0){Vo&&!i&&ii(t,e,0,!1);break}else{if(n=t.current.alternate,r&&!aE(n)){a=zm(t,e,!1),r=!1;continue}if(a===2){if(r=e,t.errorRecoveryDisabledLanes&r)var l=0;else l=t.pendingLanes&-536870913,l=l!==0?l:l&536870912?536870912:0;if(l!==0){e=l;t:{var s=t;a=kr;var u=s.current.memoizedState.isDehydrated;if(u&&(To(s,l).flags|=256),l=zm(s,l,!1),l!==2){if(vp&&!u){s.errorRecoveryDisabledLanes|=r,Ji|=r,a=4;break t}r=Wt,Wt=a,r!==null&&(Wt===null?Wt=r:Wt.push.apply(Wt,r))}a=l}if(r=!1,a!==2)continue}}if(a===1){To(t,0),ii(t,e,0,!0);break}t:{switch(i=t,r=a,r){case 0:case 1:throw Error(S(345));case 4:if((e&4194048)!==e)break;case 6:ii(i,e,le,!ni);break t;case 2:Wt=null;break;case 3:case 5:break;default:throw Error(S(329))}if((e&62914560)===e&&(a=pc+300-se(),10<a)){if(ii(i,e,le,!ni),ic(i,0,!0)!==0)break t;An=e,i.timeoutHandle=Ub(Rv.bind(null,i,n,Wt,Qu,vd,e,le,Ji,bo,ni,r,"Throttled",-0,0),a);break t}Rv(i,n,Wt,Qu,vd,e,le,Ji,bo,ni,r,null,-0,0)}}break}while(!0);Fe(t)}o(gb,"performWorkOnRoot");function Rv(t,e,n,i,a,r,l,s,u,c,f,m,d,p){if(t.timeoutHandle=-1,m=e.subtreeFlags,m&8192||(m&16785408)===16785408){m={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:bn},ub(e,r,m);var v=(r&62914560)===r?pc-se():(r&4194048)===r?db-se():0;if(v=GE(m,v),v!==null){An=r,t.cancelPendingCommit=v(Uv.bind(null,t,e,r,n,i,a,l,s,u,f,m,null,d,p)),ii(t,r,l,!c);return}}Uv(t,e,r,n,i,a,l,s,u)}o(Rv,"commitRootWhenReady");function aE(t){for(var e=t;;){var n=e.tag;if((n===0||n===11||n===15)&&e.flags&16384&&(n=e.updateQueue,n!==null&&(n=n.stores,n!==null)))for(var i=0;i<n.length;i++){var a=n[i],r=a.getSnapshot;a=a.value;try{if(!me(r(),a))return!1}catch{return!1}}if(n=e.child,e.subtreeFlags&16384&&n!==null)n.return=e,e=n;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}o(aE,"isRenderConsistentWithExternalStores");function ii(t,e,n,i){e&=~xp,e&=~Ji,t.suspendedLanes|=e,t.pingedLanes&=~e,i&&(t.warmLanes|=e),i=t.expirationTimes;for(var a=e;0<a;){var r=31-ce(a),l=1<<r;i[r]=-1,a&=~l}n!==0&&bx(t,n,e)}o(ii,"markRootSuspended");function hc(){return(X&6)===0?(gl(0,!1),!1):!0}o(hc,"flushSyncWork$1");function bp(){if(L!==null){if(Z===0)var t=L.return;else t=L,Sn=oa=null,op(t),co=null,$r=0,t=L;for(;t!==null;)J1(t.alternate,t),t=t.return;L=null}}o(bp,"resetWorkInProgressStack");function To(t,e){var n=t.timeoutHandle;n!==-1&&(t.timeoutHandle=-1,TE(n)),n=t.cancelPendingCommit,n!==null&&(t.cancelPendingCommit=null,n()),An=0,bp(),F=t,L=n=Tn(t.current,null),H=e,Z=0,ae=null,ni=!1,Vo=ul(t,e),vp=!1,bo=le=xp=Ji=yi=mt=0,Wt=kr=null,vd=!1,(e&8)!==0&&(e|=e&32);var i=t.entangledLanes;if(i!==0)for(t=t.entanglements,i&=e;0<i;){var a=31-ce(i),r=1<<a;e|=t[a],i&=~r}return Vn=e,lc(),n}o(To,"prepareFreshStack");function yb(t,e){N=null,O.H=el,e===Co||e===uc?(e=mv(),Z=3):e===Id?(e=mv(),Z=4):Z=e===pp?8:e!==null&&typeof e=="object"&&typeof e.then=="function"?6:1,ae=e,L===null&&(mt=1,qu(t,Ee(e,t.current)))}o(yb,"handleThrow");function vb(){var t=de.current;return t===null?!0:(H&4194048)===H?De===null:(H&62914560)===H||(H&536870912)!==0?t===De:!1}o(vb,"shouldRemainOnPreviousScreen");function xb(){var t=O.H;return O.H=el,t===null?el:t}o(xb,"pushDispatcher");function bb(){var t=O.A;return O.A=nE,t}o(bb,"pushAsyncDispatcher");function Ku(){mt=4,ni||(H&4194048)!==H&&de.current!==null||(Vo=!0),(yi&134217727)===0&&(Ji&134217727)===0||F===null||ii(F,H,le,!1)}o(Ku,"renderDidSuspendDelayIfPossible");function zm(t,e,n){var i=X;X|=2;var a=xb(),r=bb();(F!==t||H!==e)&&(Qu=null,To(t,e)),e=!1;var l=mt;t:do try{if(Z!==0&&L!==null){var s=L,u=ae;switch(Z){case 8:bp(),l=6;break t;case 3:case 2:case 9:case 6:de.current===null&&(e=!0);var c=Z;if(Z=0,ae=null,oo(t,s,u,c),n&&Vo){l=0;break t}break;default:c=Z,Z=0,ae=null,oo(t,s,u,c)}}oE(),l=mt;break}catch(f){yb(t,f)}while(!0);return e&&t.shellSuspendCounter++,Sn=oa=null,X=i,O.H=a,O.A=r,L===null&&(F=null,H=0,lc()),l}o(zm,"renderRootSync");function oE(){for(;L!==null;)Sb(L)}o(oE,"workLoopSync");function rE(t,e){var n=X;X|=2;var i=xb(),a=bb();F!==t||H!==e?(Qu=null,Zu=se()+500,To(t,e)):Vo=ul(t,e);t:do try{if(Z!==0&&L!==null){e=L;var r=ae;e:switch(Z){case 1:Z=0,ae=null,oo(t,e,r,1);break;case 2:case 9:if(fv(r)){Z=0,ae=null,Bv(e);break}e=o(function(){Z!==2&&Z!==9||F!==t||(Z=7),Fe(t)},"lanes"),r.then(e,e);break t;case 3:Z=7;break t;case 4:Z=5;break t;case 7:fv(r)?(Z=0,ae=null,Bv(e)):(Z=0,ae=null,oo(t,e,r,7));break;case 5:var l=null;switch(L.tag){case 26:l=L.memoizedState;case 5:case 27:var s=L;if(l?Yb(l):s.stateNode.complete){Z=0,ae=null;var u=s.sibling;if(u!==null)L=u;else{var c=s.return;c!==null?(L=c,gc(c)):L=null}break e}}Z=0,ae=null,oo(t,e,r,5);break;case 6:Z=0,ae=null,oo(t,e,r,6);break;case 8:bp(),mt=6;break t;default:throw Error(S(462))}}lE();break}catch(f){yb(t,f)}while(!0);return Sn=oa=null,O.H=i,O.A=a,X=n,L!==null?0:(F=null,H=0,lc(),mt)}o(rE,"renderRootConcurrent");function lE(){for(;L!==null&&!Ow();)Sb(L)}o(lE,"workLoopConcurrentByScheduler");function Sb(t){var e=P1(t.alternate,t,Vn);t.memoizedProps=t.pendingProps,e===null?gc(t):L=e}o(Sb,"performUnitOfWork");function Bv(t){var e=t,n=e.alternate;switch(e.tag){case 15:case 0:e=Cv(n,e,e.pendingProps,e.type,void 0,H);break;case 11:e=Cv(n,e,e.pendingProps,e.type.render,e.ref,H);break;case 5:op(e);default:J1(n,e),e=L=Jx(e,Vn),e=P1(n,e,Vn)}t.memoizedProps=t.pendingProps,e===null?gc(t):L=e}o(Bv,"replaySuspendedUnitOfWork");function oo(t,e,n,i){Sn=oa=null,op(e),co=null,$r=0;var a=e.return;try{if(JA(t,a,e,n,H)){mt=1,qu(t,Ee(n,t.current)),L=null;return}}catch(r){if(a!==null)throw L=a,r;mt=1,qu(t,Ee(n,t.current)),L=null;return}e.flags&32768?(q||i===1?t=!0:Vo||(H&536870912)!==0?t=!1:(ni=t=!0,(i===2||i===9||i===3||i===6)&&(i=de.current,i!==null&&i.tag===13&&(i.flags|=16384))),Tb(e,t)):gc(e)}o(oo,"throwAndUnwindWorkLoop");function gc(t){var e=t;do{if((e.flags&32768)!==0){Tb(e,ni);return}t=e.return;var n=IA(e.alternate,e,Vn);if(n!==null){L=n;return}if(e=e.sibling,e!==null){L=e;return}L=e=t}while(e!==null);mt===0&&(mt=5)}o(gc,"completeUnitOfWork");function Tb(t,e){do{var n=$A(t.alternate,t);if(n!==null){n.flags&=32767,L=n;return}if(n=t.return,n!==null&&(n.flags|=32768,n.subtreeFlags=0,n.deletions=null),!e&&(t=t.sibling,t!==null)){L=t;return}L=t=n}while(t!==null);mt=6,L=null}o(Tb,"unwindUnitOfWork");function Uv(t,e,n,i,a,r,l,s,u){t.cancelPendingCommit=null;do yc();while(Tt!==0);if((X&6)!==0)throw Error(S(327));if(e!==null){if(e===t.current)throw Error(S(177));if(r=e.lanes|e.childLanes,r|=Zd,Gw(t,n,r,l,s,u),t===F&&(L=F=null,H=0),So=e,ci=t,An=n,xd=r,bd=a,pb=i,(e.subtreeFlags&10256)!==0||(e.flags&10256)!==0?(t.callbackNode=null,t.callbackPriority=0,fE(zu,function(){return Db(),null})):(t.callbackNode=null,t.callbackPriority=0),i=(e.flags&13878)!==0,(e.subtreeFlags&13878)!==0||i){i=O.T,O.T=null,a=k.p,k.p=2,l=X,X|=4;try{tE(t,e,n)}finally{X=l,k.p=a,O.T=i}}Tt=1,wb(),Ab(),Eb()}}o(Uv,"commitRoot");function wb(){if(Tt===1){Tt=0;var t=ci,e=So,n=(e.flags&13878)!==0;if((e.subtreeFlags&13878)!==0||n){n=O.T,O.T=null;var i=k.p;k.p=2;var a=X;X|=4;try{rb(e,t);var r=Ed,l=Yx(t.containerInfo),s=r.focusedElem,u=r.selectionRange;if(l!==s&&s&&s.ownerDocument&&Gx(s.ownerDocument.documentElement,s)){if(u!==null&&kd(s)){var c=u.start,f=u.end;if(f===void 0&&(f=c),"selectionStart"in s)s.selectionStart=c,s.selectionEnd=Math.min(f,s.value.length);else{var m=s.ownerDocument||document,d=m&&m.defaultView||window;if(d.getSelection){var p=d.getSelection(),v=s.textContent.length,b=Math.min(u.start,v),A=u.end===void 0?b:Math.min(u.end,v);!p.extend&&b>A&&(l=A,A=b,b=l);var g=av(s,b),h=av(s,A);if(g&&h&&(p.rangeCount!==1||p.anchorNode!==g.node||p.anchorOffset!==g.offset||p.focusNode!==h.node||p.focusOffset!==h.offset)){var y=m.createRange();y.setStart(g.node,g.offset),p.removeAllRanges(),b>A?(p.addRange(y),p.extend(h.node,h.offset)):(y.setEnd(h.node,h.offset),p.addRange(y))}}}}for(m=[],p=s;p=p.parentNode;)p.nodeType===1&&m.push({element:p,left:p.scrollLeft,top:p.scrollTop});for(typeof s.focus=="function"&&s.focus(),s=0;s<m.length;s++){var x=m[s];x.element.scrollLeft=x.left,x.element.scrollTop=x.top}}ec=!!Ad,Ed=Ad=null}finally{X=a,k.p=i,O.T=n}}t.current=e,Tt=2}}o(wb,"flushMutationEffects");function Ab(){if(Tt===2){Tt=0;var t=ci,e=So,n=(e.flags&8772)!==0;if((e.subtreeFlags&8772)!==0||n){n=O.T,O.T=null;var i=k.p;k.p=2;var a=X;X|=4;try{eb(t,e.alternate,e)}finally{X=a,k.p=i,O.T=n}}Tt=3}}o(Ab,"flushLayoutEffects");function Eb(){if(Tt===4||Tt===3){Tt=0,zw();var t=ci,e=So,n=An,i=pb;(e.subtreeFlags&10256)!==0||(e.flags&10256)!==0?Tt=5:(Tt=0,So=ci=null,Mb(t,t.pendingLanes));var a=t.pendingLanes;if(a===0&&(ui=null),Ld(n),e=e.stateNode,ue&&typeof ue.onCommitFiberRoot=="function")try{ue.onCommitFiberRoot(sl,e,void 0,(e.current.flags&128)===128)}catch{}if(i!==null){e=O.T,a=k.p,k.p=2,O.T=null;try{for(var r=t.onRecoverableError,l=0;l<i.length;l++){var s=i[l];r(s.value,{componentStack:s.stack})}}finally{O.T=e,k.p=a}}(An&3)!==0&&yc(),Fe(t),a=t.pendingLanes,(n&261930)!==0&&(a&42)!==0?t===Sd?Zr++:(Zr=0,Sd=t):Zr=0,gl(0,!1)}}o(Eb,"flushSpawnedWork");function Mb(t,e){(t.pooledCacheLanes&=e)===0&&(e=t.pooledCache,e!=null&&(t.pooledCache=null,dl(e)))}o(Mb,"releaseRootPooledCache");function yc(){return wb(),Ab(),Eb(),Db()}o(yc,"flushPendingEffects");function Db(){if(Tt!==5)return!1;var t=ci,e=xd;xd=0;var n=Ld(An),i=O.T,a=k.p;try{k.p=32>n?32:n,O.T=null,n=bd,bd=null;var r=ci,l=An;if(Tt=0,So=ci=null,An=0,(X&6)!==0)throw Error(S(331));var s=X;if(X|=4,fb(r.current),sb(r,r.current,l,n),X=s,gl(0,!1),ue&&typeof ue.onPostCommitFiberRoot=="function")try{ue.onPostCommitFiberRoot(sl,r)}catch{}return!0}finally{k.p=a,O.T=i,Mb(t,e)}}o(Db,"flushPassiveEffects");function Lv(t,e,n){e=Ee(n,e),e=pd(t.stateNode,e,2),t=si(t,e,2),t!==null&&(cl(t,2),Fe(t))}o(Lv,"captureCommitPhaseErrorOnRoot");function Q(t,e,n){if(t.tag===3)Lv(t,t,n);else for(;e!==null;){if(e.tag===3){Lv(e,t,n);break}else if(e.tag===1){var i=e.stateNode;if(typeof e.type.getDerivedStateFromError=="function"||typeof i.componentDidCatch=="function"&&(ui===null||!ui.has(i))){t=Ee(n,t),n=q1(2),i=si(e,n,2),i!==null&&(X1(n,i,e,t),cl(i,2),Fe(i));break}}e=e.return}}o(Q,"captureCommitPhaseError");function _m(t,e,n){var i=t.pingCache;if(i===null){i=t.pingCache=new iE;var a=new Set;i.set(e,a)}else a=i.get(e),a===void 0&&(a=new Set,i.set(e,a));a.has(n)||(vp=!0,a.add(n),t=sE.bind(null,t,e,n),e.then(t,t))}o(_m,"attachPingListener");function sE(t,e,n){var i=t.pingCache;i!==null&&i.delete(e),t.pingedLanes|=t.suspendedLanes&n,t.warmLanes&=~n,F===t&&(H&n)===n&&(mt===4||mt===3&&(H&62914560)===H&&300>se()-pc?(X&2)===0&&To(t,0):xp|=n,bo===H&&(bo=0)),Fe(t)}o(sE,"pingSuspendedRoot");function Cb(t,e){e===0&&(e=xx()),t=aa(t,e),t!==null&&(cl(t,e),Fe(t))}o(Cb,"retryTimedOutBoundary");function uE(t){var e=t.memoizedState,n=0;e!==null&&(n=e.retryLane),Cb(t,n)}o(uE,"retryDehydratedSuspenseBoundary");function cE(t,e){var n=0;switch(t.tag){case 31:case 13:var i=t.stateNode,a=t.memoizedState;a!==null&&(n=a.retryLane);break;case 19:i=t.stateNode;break;case 22:i=t.stateNode._retryCache;break;default:throw Error(S(314))}i!==null&&i.delete(e),Cb(t,n)}o(cE,"resolveRetryWakeable");function fE(t,e){return Bd(t,e)}o(fE,"scheduleCallback$1");var Pu=null,Ka=null,Td=!1,Ju=!1,Nm=!1,ai=0;function Fe(t){t!==Ka&&t.next===null&&(Ka===null?Pu=Ka=t:Ka=Ka.next=t),Ju=!0,Td||(Td=!0,dE())}o(Fe,"ensureRootIsScheduled");function gl(t,e){if(!Nm&&Ju){Nm=!0;do for(var n=!1,i=Pu;i!==null;){if(!e)if(t!==0){var a=i.pendingLanes;if(a===0)var r=0;else{var l=i.suspendedLanes,s=i.pingedLanes;r=(1<<31-ce(42|t)+1)-1,r&=a&~(l&~s),r=r&201326741?r&201326741|1:r?r|2:0}r!==0&&(n=!0,jv(i,r))}else r=H,r=ic(i,i===F?r:0,i.cancelPendingCommit!==null||i.timeoutHandle!==-1),(r&3)===0||ul(i,r)||(n=!0,jv(i,r));i=i.next}while(n);Nm=!1}}o(gl,"flushSyncWorkAcrossRoots_impl");function mE(){Vb()}o(mE,"processRootScheduleInImmediateTask");function Vb(){Ju=Td=!1;var t=0;ai!==0&&SE()&&(t=ai);for(var e=se(),n=null,i=Pu;i!==null;){var a=i.next,r=Ob(i,e);r===0?(i.next=null,n===null?Pu=a:n.next=a,a===null&&(Ka=n)):(n=i,(t!==0||(r&3)!==0)&&(Ju=!0)),i=a}Tt!==0&&Tt!==5||gl(t,!1),ai!==0&&(ai=0)}o(Vb,"processRootScheduleInMicrotask");function Ob(t,e){for(var n=t.suspendedLanes,i=t.pingedLanes,a=t.expirationTimes,r=t.pendingLanes&-62914561;0<r;){var l=31-ce(r),s=1<<l,u=a[l];u===-1?((s&n)===0||(s&i)!==0)&&(a[l]=Hw(s,e)):u<=e&&(t.expiredLanes|=s),r&=~s}if(e=F,n=H,n=ic(t,t===e?n:0,t.cancelPendingCommit!==null||t.timeoutHandle!==-1),i=t.callbackNode,n===0||t===e&&(Z===2||Z===9)||t.cancelPendingCommit!==null)return i!==null&&i!==null&&sm(i),t.callbackNode=null,t.callbackPriority=0;if((n&3)===0||ul(t,n)){if(e=n&-n,e===t.callbackPriority)return e;switch(i!==null&&sm(i),Ld(n)){case 2:case 8:n=yx;break;case 32:n=zu;break;case 268435456:n=vx;break;default:n=zu}return i=zb.bind(null,t),n=Bd(n,i),t.callbackPriority=e,t.callbackNode=n,e}return i!==null&&i!==null&&sm(i),t.callbackPriority=2,t.callbackNode=null,2}o(Ob,"scheduleTaskForRootDuringMicrotask");function zb(t,e){if(Tt!==0&&Tt!==5)return t.callbackNode=null,t.callbackPriority=0,null;var n=t.callbackNode;if(yc()&&t.callbackNode!==n)return null;var i=H;return i=ic(t,t===F?i:0,t.cancelPendingCommit!==null||t.timeoutHandle!==-1),i===0?null:(gb(t,i,e),Ob(t,se()),t.callbackNode!=null&&t.callbackNode===n?zb.bind(null,t):null)}o(zb,"performWorkOnRootViaSchedulerTask");function jv(t,e){if(yc())return null;gb(t,e,!0)}o(jv,"performSyncWorkOnRoot");function dE(){wE(function(){(X&6)!==0?Bd(gx,mE):Vb()})}o(dE,"scheduleImmediateRootScheduleTask");function Sp(){if(ai===0){var t=yo;t===0&&(t=Fs,Fs<<=1,(Fs&261888)===0&&(Fs=256)),ai=t}return ai}o(Sp,"requestTransitionLane");function Hv(t){return t==null||typeof t=="symbol"||typeof t=="boolean"?null:typeof t=="function"?t:pu(""+t)}o(Hv,"coerceFormActionProp");function Gv(t,e){var n=e.ownerDocument.createElement("input");return n.name=e.name,n.value=e.value,t.id&&n.setAttribute("form",t.id),e.parentNode.insertBefore(n,e),t=new FormData(t),n.parentNode.removeChild(n),t}o(Gv,"createFormDataWithSubmitter");function pE(t,e,n,i,a){if(e==="submit"&&n&&n.stateNode===a){var r=Hv((a[$t]||null).action),l=i.submitter;l&&(e=(e=l[$t]||null)?Hv(e.formAction):l.getAttribute("formAction"),e!==null&&(r=e,l=null));var s=new ac("action","action",null,i,a);t.push({event:s,listeners:[{instance:null,listener:o(function(){if(i.defaultPrevented){if(ai!==0){var u=l?Gv(a,l):new FormData(a);md(n,{pending:!0,data:u,method:a.method,action:r},null,u)}}else typeof r=="function"&&(s.preventDefault(),u=l?Gv(a,l):new FormData(a),md(n,{pending:!0,data:u,method:a.method,action:r},r,u))},"listener"),currentTarget:a}]})}}o(pE,"extractEvents$1");for(su=0;su<td.length;su++)uu=td[su],Yv=uu.toLowerCase(),qv=uu[0].toUpperCase()+uu.slice(1),Le(Yv,"on"+qv);var uu,Yv,qv,su;Le(Xx,"onAnimationEnd");Le(kx,"onAnimationIteration");Le(Zx,"onAnimationStart");Le("dblclick","onDoubleClick");Le("focusin","onFocus");Le("focusout","onBlur");Le(_A,"onTransitionRun");Le(NA,"onTransitionStart");Le(RA,"onTransitionCancel");Le(Qx,"onTransitionEnd");ho("onMouseEnter",["mouseout","mouseover"]);ho("onMouseLeave",["mouseout","mouseover"]);ho("onPointerEnter",["pointerout","pointerover"]);ho("onPointerLeave",["pointerout","pointerover"]);ea("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));ea("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));ea("onBeforeInput",["compositionend","keypress","textInput","paste"]);ea("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));ea("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));ea("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var nl="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(" "),hE=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(nl));function _b(t,e){e=(e&4)!==0;for(var n=0;n<t.length;n++){var i=t[n],a=i.event;i=i.listeners;t:{var r=void 0;if(e)for(var l=i.length-1;0<=l;l--){var s=i[l],u=s.instance,c=s.currentTarget;if(s=s.listener,u!==r&&a.isPropagationStopped())break t;r=s,a.currentTarget=c;try{r(a)}catch(f){Nu(f)}a.currentTarget=null,r=u}else for(l=0;l<i.length;l++){if(s=i[l],u=s.instance,c=s.currentTarget,s=s.listener,u!==r&&a.isPropagationStopped())break t;r=s,a.currentTarget=c;try{r(a)}catch(f){Nu(f)}a.currentTarget=null,r=u}}}}o(_b,"processDispatchQueue");function U(t,e){var n=e[Qm];n===void 0&&(n=e[Qm]=new Set);var i=t+"__bubble";n.has(i)||(Nb(e,t,2,!1),n.add(i))}o(U,"listenToNonDelegatedEvent");function Rm(t,e,n){var i=0;e&&(i|=4),Nb(n,t,i,e)}o(Rm,"listenToNativeEvent");var cu="_reactListening"+Math.random().toString(36).slice(2);function Tp(t){if(!t[cu]){t[cu]=!0,Ax.forEach(function(n){n!=="selectionchange"&&(hE.has(n)||Rm(n,!1,t),Rm(n,!0,t))});var e=t.nodeType===9?t:t.ownerDocument;e===null||e[cu]||(e[cu]=!0,Rm("selectionchange",!1,e))}}o(Tp,"listenToAllSupportedEvents");function Nb(t,e,n,i){switch(Qb(e)){case 2:var a=XE;break;case 8:a=kE;break;default:a=Mp}n=a.bind(null,e,n,t),a=void 0,!Wm||e!=="touchstart"&&e!=="touchmove"&&e!=="wheel"||(a=!0),i?a!==void 0?t.addEventListener(e,n,{capture:!0,passive:a}):t.addEventListener(e,n,!0):a!==void 0?t.addEventListener(e,n,{passive:a}):t.addEventListener(e,n,!1)}o(Nb,"addTrappedEventListener");function Bm(t,e,n,i,a){var r=i;if((e&1)===0&&(e&2)===0&&i!==null)t:for(;;){if(i===null)return;var l=i.tag;if(l===3||l===4){var s=i.stateNode.containerInfo;if(s===a)break;if(l===4)for(l=i.return;l!==null;){var u=l.tag;if((u===3||u===4)&&l.stateNode.containerInfo===a)return;l=l.return}for(;s!==null;){if(l=Fa(s),l===null)return;if(u=l.tag,u===5||u===6||u===26||u===27){i=r=l;continue t}s=s.parentNode}}i=i.return}_x(function(){var c=r,f=Gd(n),m=[];t:{var d=Kx.get(t);if(d!==void 0){var p=ac,v=t;switch(t){case"keypress":if(gu(n)===0)break t;case"keydown":case"keyup":p=cA;break;case"focusin":v="focus",p=dm;break;case"focusout":v="blur",p=dm;break;case"beforeblur":case"afterblur":p=dm;break;case"click":if(n.button===2)break t;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":p=Jy;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":p=Iw;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":p=dA;break;case Xx:case kx:case Zx:p=eA;break;case Qx:p=hA;break;case"scroll":case"scrollend":p=Fw;break;case"wheel":p=yA;break;case"copy":case"cut":case"paste":p=iA;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":p=Wy;break;case"toggle":case"beforetoggle":p=xA}var b=(e&4)!==0,A=!b&&(t==="scroll"||t==="scrollend"),g=b?d!==null?d+"Capture":null:d;b=[];for(var h=c,y;h!==null;){var x=h;if(y=x.stateNode,x=x.tag,x!==5&&x!==26&&x!==27||y===null||g===null||(x=Pr(h,g),x!=null&&b.push(il(h,x,y))),A)break;h=h.return}0<b.length&&(d=new p(d,v,null,n,f),m.push({event:d,listeners:b}))}}if((e&7)===0){t:{if(d=t==="mouseover"||t==="pointerover",p=t==="mouseout"||t==="pointerout",d&&n!==Fm&&(v=n.relatedTarget||n.fromElement)&&(Fa(v)||v[Eo]))break t;if((p||d)&&(d=f.window===f?f:(d=f.ownerDocument)?d.defaultView||d.parentWindow:window,p?(v=n.relatedTarget||n.toElement,p=c,v=v?Fa(v):null,v!==null&&(A=ll(v),b=v.tag,v!==A||b!==5&&b!==27&&b!==6)&&(v=null)):(p=null,v=c),p!==v)){if(b=Jy,x="onMouseLeave",g="onMouseEnter",h="mouse",(t==="pointerout"||t==="pointerover")&&(b=Wy,x="onPointerLeave",g="onPointerEnter",h="pointer"),A=p==null?d:zr(p),y=v==null?d:zr(v),d=new b(x,h+"leave",p,n,f),d.target=A,d.relatedTarget=y,x=null,Fa(f)===c&&(b=new b(g,h+"enter",v,n,f),b.target=y,b.relatedTarget=A,x=b),A=x,p&&v)e:{for(b=gE,g=p,h=v,y=0,x=g;x;x=b(x))y++;x=0;for(var T=h;T;T=b(T))x++;for(;0<y-x;)g=b(g),y--;for(;0<x-y;)h=b(h),x--;for(;y--;){if(g===h||h!==null&&g===h.alternate){b=g;break e}g=b(g),h=b(h)}b=null}else b=null;p!==null&&Xv(m,d,p,b,!1),v!==null&&A!==null&&Xv(m,A,v,b,!0)}}t:{if(d=c?zr(c):window,p=d.nodeName&&d.nodeName.toLowerCase(),p==="select"||p==="input"&&d.type==="file")var M=ev;else if(tv(d))if(jx)M=VA;else{M=DA;var w=MA}else p=d.nodeName,!p||p.toLowerCase()!=="input"||d.type!=="checkbox"&&d.type!=="radio"?c&&Hd(c.elementType)&&(M=ev):M=CA;if(M&&(M=M(t,c))){Lx(m,M,n,f);break t}w&&w(t,d,c),t==="focusout"&&c&&d.type==="number"&&c.memoizedProps.value!=null&&Jm(d,"number",d.value)}switch(w=c?zr(c):window,t){case"focusin":(tv(w)||w.contentEditable==="true")&&($a=w,Im=c,Ur=null);break;case"focusout":Ur=Im=$a=null;break;case"mousedown":$m=!0;break;case"contextmenu":case"mouseup":case"dragend":$m=!1,ov(m,n,f);break;case"selectionchange":if(zA)break;case"keydown":case"keyup":ov(m,n,f)}var E;if(Xd)t:{switch(t){case"compositionstart":var C="onCompositionStart";break t;case"compositionend":C="onCompositionEnd";break t;case"compositionupdate":C="onCompositionUpdate";break t}C=void 0}else Ia?Bx(t,n)&&(C="onCompositionEnd"):t==="keydown"&&n.keyCode===229&&(C="onCompositionStart");C&&(Rx&&n.locale!=="ko"&&(Ia||C!=="onCompositionStart"?C==="onCompositionEnd"&&Ia&&(E=Nx()):(ei=f,Yd="value"in ei?ei.value:ei.textContent,Ia=!0)),w=Fu(c,C),0<w.length&&(C=new Fy(C,t,null,n,f),m.push({event:C,listeners:w}),E?C.data=E:(E=Ux(n),E!==null&&(C.data=E)))),(E=SA?TA(t,n):wA(t,n))&&(C=Fu(c,"onBeforeInput"),0<C.length&&(w=new Fy("onBeforeInput","beforeinput",null,n,f),m.push({event:w,listeners:C}),w.data=E)),pE(m,t,c,n,f)}_b(m,e)})}o(Bm,"dispatchEventForPluginEventSystem");function il(t,e,n){return{instance:t,listener:e,currentTarget:n}}o(il,"createDispatchListener");function Fu(t,e){for(var n=e+"Capture",i=[];t!==null;){var a=t,r=a.stateNode;if(a=a.tag,a!==5&&a!==26&&a!==27||r===null||(a=Pr(t,n),a!=null&&i.unshift(il(t,a,r)),a=Pr(t,e),a!=null&&i.push(il(t,a,r))),t.tag===3)return i;t=t.return}return[]}o(Fu,"accumulateTwoPhaseListeners");function gE(t){if(t===null)return null;do t=t.return;while(t&&t.tag!==5&&t.tag!==27);return t||null}o(gE,"getParent");function Xv(t,e,n,i,a){for(var r=e._reactName,l=[];n!==null&&n!==i;){var s=n,u=s.alternate,c=s.stateNode;if(s=s.tag,u!==null&&u===i)break;s!==5&&s!==26&&s!==27||c===null||(u=c,a?(c=Pr(n,r),c!=null&&l.unshift(il(n,c,u))):a||(c=Pr(n,r),c!=null&&l.push(il(n,c,u)))),n=n.return}l.length!==0&&t.push({event:e,listeners:l})}o(Xv,"accumulateEnterLeaveListenersForEvent");var yE=/\r\n?/g,vE=/\u0000|\uFFFD/g;function kv(t){return(typeof t=="string"?t:""+t).replace(yE,`
|
|
9
|
-
`).replace(vE,"")}o(kv,"normalizeMarkupForTextOrAttribute");function Rb(t,e){return e=kv(e),kv(t)===e}o(Rb,"checkForUnmatchedText");function K(t,e,n,i,a,r){switch(n){case"children":typeof i=="string"?e==="body"||e==="textarea"&&i===""||go(t,i):(typeof i=="number"||typeof i=="bigint")&&e!=="body"&&go(t,""+i);break;case"className":$s(t,"class",i);break;case"tabIndex":$s(t,"tabindex",i);break;case"dir":case"role":case"viewBox":case"width":case"height":$s(t,n,i);break;case"style":zx(t,i,r);break;case"data":if(e!=="object"){$s(t,"data",i);break}case"src":case"href":if(i===""&&(e!=="a"||n!=="href")){t.removeAttribute(n);break}if(i==null||typeof i=="function"||typeof i=="symbol"||typeof i=="boolean"){t.removeAttribute(n);break}i=pu(""+i),t.setAttribute(n,i);break;case"action":case"formAction":if(typeof i=="function"){t.setAttribute(n,"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 r=="function"&&(n==="formAction"?(e!=="input"&&K(t,e,"name",a.name,a,null),K(t,e,"formEncType",a.formEncType,a,null),K(t,e,"formMethod",a.formMethod,a,null),K(t,e,"formTarget",a.formTarget,a,null)):(K(t,e,"encType",a.encType,a,null),K(t,e,"method",a.method,a,null),K(t,e,"target",a.target,a,null)));if(i==null||typeof i=="symbol"||typeof i=="boolean"){t.removeAttribute(n);break}i=pu(""+i),t.setAttribute(n,i);break;case"onClick":i!=null&&(t.onclick=bn);break;case"onScroll":i!=null&&U("scroll",t);break;case"onScrollEnd":i!=null&&U("scrollend",t);break;case"dangerouslySetInnerHTML":if(i!=null){if(typeof i!="object"||!("__html"in i))throw Error(S(61));if(n=i.__html,n!=null){if(a.children!=null)throw Error(S(60));t.innerHTML=n}}break;case"multiple":t.multiple=i&&typeof i!="function"&&typeof i!="symbol";break;case"muted":t.muted=i&&typeof i!="function"&&typeof i!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(i==null||typeof i=="function"||typeof i=="boolean"||typeof i=="symbol"){t.removeAttribute("xlink:href");break}n=pu(""+i),t.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",n);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":i!=null&&typeof i!="function"&&typeof i!="symbol"?t.setAttribute(n,""+i):t.removeAttribute(n);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":i&&typeof i!="function"&&typeof i!="symbol"?t.setAttribute(n,""):t.removeAttribute(n);break;case"capture":case"download":i===!0?t.setAttribute(n,""):i!==!1&&i!=null&&typeof i!="function"&&typeof i!="symbol"?t.setAttribute(n,i):t.removeAttribute(n);break;case"cols":case"rows":case"size":case"span":i!=null&&typeof i!="function"&&typeof i!="symbol"&&!isNaN(i)&&1<=i?t.setAttribute(n,i):t.removeAttribute(n);break;case"rowSpan":case"start":i==null||typeof i=="function"||typeof i=="symbol"||isNaN(i)?t.removeAttribute(n):t.setAttribute(n,i);break;case"popover":U("beforetoggle",t),U("toggle",t),du(t,"popover",i);break;case"xlinkActuate":mn(t,"http://www.w3.org/1999/xlink","xlink:actuate",i);break;case"xlinkArcrole":mn(t,"http://www.w3.org/1999/xlink","xlink:arcrole",i);break;case"xlinkRole":mn(t,"http://www.w3.org/1999/xlink","xlink:role",i);break;case"xlinkShow":mn(t,"http://www.w3.org/1999/xlink","xlink:show",i);break;case"xlinkTitle":mn(t,"http://www.w3.org/1999/xlink","xlink:title",i);break;case"xlinkType":mn(t,"http://www.w3.org/1999/xlink","xlink:type",i);break;case"xmlBase":mn(t,"http://www.w3.org/XML/1998/namespace","xml:base",i);break;case"xmlLang":mn(t,"http://www.w3.org/XML/1998/namespace","xml:lang",i);break;case"xmlSpace":mn(t,"http://www.w3.org/XML/1998/namespace","xml:space",i);break;case"is":du(t,"is",i);break;case"innerText":case"textContent":break;default:(!(2<n.length)||n[0]!=="o"&&n[0]!=="O"||n[1]!=="n"&&n[1]!=="N")&&(n=Pw.get(n)||n,du(t,n,i))}}o(K,"setProp");function wd(t,e,n,i,a,r){switch(n){case"style":zx(t,i,r);break;case"dangerouslySetInnerHTML":if(i!=null){if(typeof i!="object"||!("__html"in i))throw Error(S(61));if(n=i.__html,n!=null){if(a.children!=null)throw Error(S(60));t.innerHTML=n}}break;case"children":typeof i=="string"?go(t,i):(typeof i=="number"||typeof i=="bigint")&&go(t,""+i);break;case"onScroll":i!=null&&U("scroll",t);break;case"onScrollEnd":i!=null&&U("scrollend",t);break;case"onClick":i!=null&&(t.onclick=bn);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!Ex.hasOwnProperty(n))t:{if(n[0]==="o"&&n[1]==="n"&&(a=n.endsWith("Capture"),e=n.slice(2,a?n.length-7:void 0),r=t[$t]||null,r=r!=null?r[n]:null,typeof r=="function"&&t.removeEventListener(e,r,a),typeof i=="function")){typeof r!="function"&&r!==null&&(n in t?t[n]=null:t.hasAttribute(n)&&t.removeAttribute(n)),t.addEventListener(e,i,a);break t}n in t?t[n]=i:i===!0?t.setAttribute(n,""):du(t,n,i)}}}o(wd,"setPropOnCustomElement");function Ut(t,e,n){switch(e){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":U("error",t),U("load",t);var i=!1,a=!1,r;for(r in n)if(n.hasOwnProperty(r)){var l=n[r];if(l!=null)switch(r){case"src":i=!0;break;case"srcSet":a=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(S(137,e));default:K(t,e,r,l,n,null)}}a&&K(t,e,"srcSet",n.srcSet,n,null),i&&K(t,e,"src",n.src,n,null);return;case"input":U("invalid",t);var s=r=l=a=null,u=null,c=null;for(i in n)if(n.hasOwnProperty(i)){var f=n[i];if(f!=null)switch(i){case"name":a=f;break;case"type":l=f;break;case"checked":u=f;break;case"defaultChecked":c=f;break;case"value":r=f;break;case"defaultValue":s=f;break;case"children":case"dangerouslySetInnerHTML":if(f!=null)throw Error(S(137,e));break;default:K(t,e,i,f,n,null)}}Cx(t,r,s,u,c,l,a,!1);return;case"select":U("invalid",t),i=l=r=null;for(a in n)if(n.hasOwnProperty(a)&&(s=n[a],s!=null))switch(a){case"value":r=s;break;case"defaultValue":l=s;break;case"multiple":i=s;default:K(t,e,a,s,n,null)}e=r,n=l,t.multiple=!!i,e!=null?lo(t,!!i,e,!1):n!=null&&lo(t,!!i,n,!0);return;case"textarea":U("invalid",t),r=a=i=null;for(l in n)if(n.hasOwnProperty(l)&&(s=n[l],s!=null))switch(l){case"value":i=s;break;case"defaultValue":a=s;break;case"children":r=s;break;case"dangerouslySetInnerHTML":if(s!=null)throw Error(S(91));break;default:K(t,e,l,s,n,null)}Ox(t,i,a,r);return;case"option":for(u in n)if(n.hasOwnProperty(u)&&(i=n[u],i!=null))switch(u){case"selected":t.selected=i&&typeof i!="function"&&typeof i!="symbol";break;default:K(t,e,u,i,n,null)}return;case"dialog":U("beforetoggle",t),U("toggle",t),U("cancel",t),U("close",t);break;case"iframe":case"object":U("load",t);break;case"video":case"audio":for(i=0;i<nl.length;i++)U(nl[i],t);break;case"image":U("error",t),U("load",t);break;case"details":U("toggle",t);break;case"embed":case"source":case"link":U("error",t),U("load",t);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(c in n)if(n.hasOwnProperty(c)&&(i=n[c],i!=null))switch(c){case"children":case"dangerouslySetInnerHTML":throw Error(S(137,e));default:K(t,e,c,i,n,null)}return;default:if(Hd(e)){for(f in n)n.hasOwnProperty(f)&&(i=n[f],i!==void 0&&wd(t,e,f,i,n,void 0));return}}for(s in n)n.hasOwnProperty(s)&&(i=n[s],i!=null&&K(t,e,s,i,n,null))}o(Ut,"setInitialProperties");function xE(t,e,n,i){switch(e){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var a=null,r=null,l=null,s=null,u=null,c=null,f=null;for(p in n){var m=n[p];if(n.hasOwnProperty(p)&&m!=null)switch(p){case"checked":break;case"value":break;case"defaultValue":u=m;default:i.hasOwnProperty(p)||K(t,e,p,null,i,m)}}for(var d in i){var p=i[d];if(m=n[d],i.hasOwnProperty(d)&&(p!=null||m!=null))switch(d){case"type":r=p;break;case"name":a=p;break;case"checked":c=p;break;case"defaultChecked":f=p;break;case"value":l=p;break;case"defaultValue":s=p;break;case"children":case"dangerouslySetInnerHTML":if(p!=null)throw Error(S(137,e));break;default:p!==m&&K(t,e,d,p,i,m)}}Pm(t,l,s,u,c,f,r,a);return;case"select":p=l=s=d=null;for(r in n)if(u=n[r],n.hasOwnProperty(r)&&u!=null)switch(r){case"value":break;case"multiple":p=u;default:i.hasOwnProperty(r)||K(t,e,r,null,i,u)}for(a in i)if(r=i[a],u=n[a],i.hasOwnProperty(a)&&(r!=null||u!=null))switch(a){case"value":d=r;break;case"defaultValue":s=r;break;case"multiple":l=r;default:r!==u&&K(t,e,a,r,i,u)}e=s,n=l,i=p,d!=null?lo(t,!!n,d,!1):!!i!=!!n&&(e!=null?lo(t,!!n,e,!0):lo(t,!!n,n?[]:"",!1));return;case"textarea":p=d=null;for(s in n)if(a=n[s],n.hasOwnProperty(s)&&a!=null&&!i.hasOwnProperty(s))switch(s){case"value":break;case"children":break;default:K(t,e,s,null,i,a)}for(l in i)if(a=i[l],r=n[l],i.hasOwnProperty(l)&&(a!=null||r!=null))switch(l){case"value":d=a;break;case"defaultValue":p=a;break;case"children":break;case"dangerouslySetInnerHTML":if(a!=null)throw Error(S(91));break;default:a!==r&&K(t,e,l,a,i,r)}Vx(t,d,p);return;case"option":for(var v in n)if(d=n[v],n.hasOwnProperty(v)&&d!=null&&!i.hasOwnProperty(v))switch(v){case"selected":t.selected=!1;break;default:K(t,e,v,null,i,d)}for(u in i)if(d=i[u],p=n[u],i.hasOwnProperty(u)&&d!==p&&(d!=null||p!=null))switch(u){case"selected":t.selected=d&&typeof d!="function"&&typeof d!="symbol";break;default:K(t,e,u,d,i,p)}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 b in n)d=n[b],n.hasOwnProperty(b)&&d!=null&&!i.hasOwnProperty(b)&&K(t,e,b,null,i,d);for(c in i)if(d=i[c],p=n[c],i.hasOwnProperty(c)&&d!==p&&(d!=null||p!=null))switch(c){case"children":case"dangerouslySetInnerHTML":if(d!=null)throw Error(S(137,e));break;default:K(t,e,c,d,i,p)}return;default:if(Hd(e)){for(var A in n)d=n[A],n.hasOwnProperty(A)&&d!==void 0&&!i.hasOwnProperty(A)&&wd(t,e,A,void 0,i,d);for(f in i)d=i[f],p=n[f],!i.hasOwnProperty(f)||d===p||d===void 0&&p===void 0||wd(t,e,f,d,i,p);return}}for(var g in n)d=n[g],n.hasOwnProperty(g)&&d!=null&&!i.hasOwnProperty(g)&&K(t,e,g,null,i,d);for(m in i)d=i[m],p=n[m],!i.hasOwnProperty(m)||d===p||d==null&&p==null||K(t,e,m,d,i,p)}o(xE,"updateProperties");function Zv(t){switch(t){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}o(Zv,"isLikelyStaticResource");function bE(){if(typeof performance.getEntriesByType=="function"){for(var t=0,e=0,n=performance.getEntriesByType("resource"),i=0;i<n.length;i++){var a=n[i],r=a.transferSize,l=a.initiatorType,s=a.duration;if(r&&s&&Zv(l)){for(l=0,s=a.responseEnd,i+=1;i<n.length;i++){var u=n[i],c=u.startTime;if(c>s)break;var f=u.transferSize,m=u.initiatorType;f&&Zv(m)&&(u=u.responseEnd,l+=f*(u<s?1:(s-c)/(u-c)))}if(--i,e+=8*(r+l)/(a.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}o(bE,"estimateBandwidth");var Ad=null,Ed=null;function Wu(t){return t.nodeType===9?t:t.ownerDocument}o(Wu,"getOwnerDocumentFromRootContainer");function Qv(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}}o(Qv,"getOwnHostContext");function Bb(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}o(Bb,"getChildHostContextProd");function Md(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}o(Md,"shouldSetTextContent");var Um=null;function SE(){var t=window.event;return t&&t.type==="popstate"?t===Um?!1:(Um=t,!0):(Um=null,!1)}o(SE,"shouldAttemptEagerTransition");var Ub=typeof setTimeout=="function"?setTimeout:void 0,TE=typeof clearTimeout=="function"?clearTimeout:void 0,Kv=typeof Promise=="function"?Promise:void 0,wE=typeof queueMicrotask=="function"?queueMicrotask:typeof Kv<"u"?function(t){return Kv.resolve(null).then(t).catch(AE)}:Ub;function AE(t){setTimeout(function(){throw t})}o(AE,"handleErrorInNextTick");function xi(t){return t==="head"}o(xi,"isSingletonScope");function Pv(t,e){var n=e,i=0;do{var a=n.nextSibling;if(t.removeChild(n),a&&a.nodeType===8)if(n=a.data,n==="/$"||n==="/&"){if(i===0){t.removeChild(a),Ao(e);return}i--}else if(n==="$"||n==="$?"||n==="$~"||n==="$!"||n==="&")i++;else if(n==="html")Qr(t.ownerDocument.documentElement);else if(n==="head"){n=t.ownerDocument.head,Qr(n);for(var r=n.firstChild;r;){var l=r.nextSibling,s=r.nodeName;r[fl]||s==="SCRIPT"||s==="STYLE"||s==="LINK"&&r.rel.toLowerCase()==="stylesheet"||n.removeChild(r),r=l}}else n==="body"&&Qr(t.ownerDocument.body);n=a}while(n);Ao(e)}o(Pv,"clearHydrationBoundary");function Jv(t,e){var n=t;t=0;do{var i=n.nextSibling;if(n.nodeType===1?e?(n._stashedDisplay=n.style.display,n.style.display="none"):(n.style.display=n._stashedDisplay||"",n.getAttribute("style")===""&&n.removeAttribute("style")):n.nodeType===3&&(e?(n._stashedText=n.nodeValue,n.nodeValue=""):n.nodeValue=n._stashedText||""),i&&i.nodeType===8)if(n=i.data,n==="/$"){if(t===0)break;t--}else n!=="$"&&n!=="$?"&&n!=="$~"&&n!=="$!"||t++;n=i}while(n)}o(Jv,"hideOrUnhideDehydratedBoundary");function Dd(t){var e=t.firstChild;for(e&&e.nodeType===10&&(e=e.nextSibling);e;){var n=e;switch(e=e.nextSibling,n.nodeName){case"HTML":case"HEAD":case"BODY":Dd(n),jd(n);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(n.rel.toLowerCase()==="stylesheet")continue}t.removeChild(n)}}o(Dd,"clearContainerSparingly");function EE(t,e,n,i){for(;t.nodeType===1;){var a=n;if(t.nodeName.toLowerCase()!==e.toLowerCase()){if(!i&&(t.nodeName!=="INPUT"||t.type!=="hidden"))break}else if(i){if(!t[fl])switch(e){case"meta":if(!t.hasAttribute("itemprop"))break;return t;case"link":if(r=t.getAttribute("rel"),r==="stylesheet"&&t.hasAttribute("data-precedence"))break;if(r!==a.rel||t.getAttribute("href")!==(a.href==null||a.href===""?null:a.href)||t.getAttribute("crossorigin")!==(a.crossOrigin==null?null:a.crossOrigin)||t.getAttribute("title")!==(a.title==null?null:a.title))break;return t;case"style":if(t.hasAttribute("data-precedence"))break;return t;case"script":if(r=t.getAttribute("src"),(r!==(a.src==null?null:a.src)||t.getAttribute("type")!==(a.type==null?null:a.type)||t.getAttribute("crossorigin")!==(a.crossOrigin==null?null:a.crossOrigin))&&r&&t.hasAttribute("async")&&!t.hasAttribute("itemprop"))break;return t;default:return t}}else if(e==="input"&&t.type==="hidden"){var r=a.name==null?null:""+a.name;if(a.type==="hidden"&&t.getAttribute("name")===r)return t}else return t;if(t=Ce(t.nextSibling),t===null)break}return null}o(EE,"canHydrateInstance");function ME(t,e,n){if(e==="")return null;for(;t.nodeType!==3;)if((t.nodeType!==1||t.nodeName!=="INPUT"||t.type!=="hidden")&&!n||(t=Ce(t.nextSibling),t===null))return null;return t}o(ME,"canHydrateTextInstance");function Lb(t,e){for(;t.nodeType!==8;)if((t.nodeType!==1||t.nodeName!=="INPUT"||t.type!=="hidden")&&!e||(t=Ce(t.nextSibling),t===null))return null;return t}o(Lb,"canHydrateHydrationBoundary");function Cd(t){return t.data==="$?"||t.data==="$~"}o(Cd,"isSuspenseInstancePending");function Vd(t){return t.data==="$!"||t.data==="$?"&&t.ownerDocument.readyState!=="loading"}o(Vd,"isSuspenseInstanceFallback");function DE(t,e){var n=t.ownerDocument;if(t.data==="$~")t._reactRetry=e;else if(t.data!=="$?"||n.readyState!=="loading")e();else{var i=o(function(){e(),n.removeEventListener("DOMContentLoaded",i)},"listener");n.addEventListener("DOMContentLoaded",i),t._reactRetry=i}}o(DE,"registerSuspenseInstanceRetry");function Ce(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}o(Ce,"getNextHydratable");var Od=null;function Fv(t){t=t.nextSibling;for(var e=0;t;){if(t.nodeType===8){var n=t.data;if(n==="/$"||n==="/&"){if(e===0)return Ce(t.nextSibling);e--}else n!=="$"&&n!=="$!"&&n!=="$?"&&n!=="$~"&&n!=="&"||e++}t=t.nextSibling}return null}o(Fv,"getNextHydratableInstanceAfterHydrationBoundary");function Wv(t){t=t.previousSibling;for(var e=0;t;){if(t.nodeType===8){var n=t.data;if(n==="$"||n==="$!"||n==="$?"||n==="$~"||n==="&"){if(e===0)return t;e--}else n!=="/$"&&n!=="/&"||e++}t=t.previousSibling}return null}o(Wv,"getParentHydrationBoundary");function jb(t,e,n){switch(e=Wu(n),t){case"html":if(t=e.documentElement,!t)throw Error(S(452));return t;case"head":if(t=e.head,!t)throw Error(S(453));return t;case"body":if(t=e.body,!t)throw Error(S(454));return t;default:throw Error(S(451))}}o(jb,"resolveSingletonInstance");function Qr(t){for(var e=t.attributes;e.length;)t.removeAttributeNode(e[0]);jd(t)}o(Qr,"releaseSingletonInstance");var Ve=new Map,Iv=new Set;function Iu(t){return typeof t.getRootNode=="function"?t.getRootNode():t.nodeType===9?t:t.ownerDocument}o(Iu,"getHoistableRoot");var On=k.d;k.d={f:CE,r:VE,D:OE,C:zE,L:_E,m:NE,X:BE,S:RE,M:UE};function CE(){var t=On.f(),e=hc();return t||e}o(CE,"flushSyncWork");function VE(t){var e=Mo(t);e!==null&&e.tag===5&&e.type==="form"?z1(e):On.r(t)}o(VE,"requestFormReset");var Oo=typeof document>"u"?null:document;function Hb(t,e,n){var i=Oo;if(i&&typeof e=="string"&&e){var a=Ae(e);a='link[rel="'+t+'"][href="'+a+'"]',typeof n=="string"&&(a+='[crossorigin="'+n+'"]'),Iv.has(a)||(Iv.add(a),t={rel:t,crossOrigin:n,href:e},i.querySelector(a)===null&&(e=i.createElement("link"),Ut(e,"link",t),Dt(e),i.head.appendChild(e)))}}o(Hb,"preconnectAs");function OE(t){On.D(t),Hb("dns-prefetch",t,null)}o(OE,"prefetchDNS");function zE(t,e){On.C(t,e),Hb("preconnect",t,e)}o(zE,"preconnect");function _E(t,e,n){On.L(t,e,n);var i=Oo;if(i&&t&&e){var a='link[rel="preload"][as="'+Ae(e)+'"]';e==="image"&&n&&n.imageSrcSet?(a+='[imagesrcset="'+Ae(n.imageSrcSet)+'"]',typeof n.imageSizes=="string"&&(a+='[imagesizes="'+Ae(n.imageSizes)+'"]')):a+='[href="'+Ae(t)+'"]';var r=a;switch(e){case"style":r=wo(t);break;case"script":r=zo(t)}Ve.has(r)||(t=it({rel:"preload",href:e==="image"&&n&&n.imageSrcSet?void 0:t,as:e},n),Ve.set(r,t),i.querySelector(a)!==null||e==="style"&&i.querySelector(yl(r))||e==="script"&&i.querySelector(vl(r))||(e=i.createElement("link"),Ut(e,"link",t),Dt(e),i.head.appendChild(e)))}}o(_E,"preload");function NE(t,e){On.m(t,e);var n=Oo;if(n&&t){var i=e&&typeof e.as=="string"?e.as:"script",a='link[rel="modulepreload"][as="'+Ae(i)+'"][href="'+Ae(t)+'"]',r=a;switch(i){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":r=zo(t)}if(!Ve.has(r)&&(t=it({rel:"modulepreload",href:t},e),Ve.set(r,t),n.querySelector(a)===null)){switch(i){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(n.querySelector(vl(r)))return}i=n.createElement("link"),Ut(i,"link",t),Dt(i),n.head.appendChild(i)}}}o(NE,"preloadModule");function RE(t,e,n){On.S(t,e,n);var i=Oo;if(i&&t){var a=ro(i).hoistableStyles,r=wo(t);e=e||"default";var l=a.get(r);if(!l){var s={loading:0,preload:null};if(l=i.querySelector(yl(r)))s.loading=5;else{t=it({rel:"stylesheet",href:t,"data-precedence":e},n),(n=Ve.get(r))&&wp(t,n);var u=l=i.createElement("link");Dt(u),Ut(u,"link",t),u._p=new Promise(function(c,f){u.onload=c,u.onerror=f}),u.addEventListener("load",function(){s.loading|=1}),u.addEventListener("error",function(){s.loading|=2}),s.loading|=4,Au(l,e,i)}l={type:"stylesheet",instance:l,count:1,state:s},a.set(r,l)}}}o(RE,"preinitStyle");function BE(t,e){On.X(t,e);var n=Oo;if(n&&t){var i=ro(n).hoistableScripts,a=zo(t),r=i.get(a);r||(r=n.querySelector(vl(a)),r||(t=it({src:t,async:!0},e),(e=Ve.get(a))&&Ap(t,e),r=n.createElement("script"),Dt(r),Ut(r,"link",t),n.head.appendChild(r)),r={type:"script",instance:r,count:1,state:null},i.set(a,r))}}o(BE,"preinitScript");function UE(t,e){On.M(t,e);var n=Oo;if(n&&t){var i=ro(n).hoistableScripts,a=zo(t),r=i.get(a);r||(r=n.querySelector(vl(a)),r||(t=it({src:t,async:!0,type:"module"},e),(e=Ve.get(a))&&Ap(t,e),r=n.createElement("script"),Dt(r),Ut(r,"link",t),n.head.appendChild(r)),r={type:"script",instance:r,count:1,state:null},i.set(a,r))}}o(UE,"preinitModuleScript");function $v(t,e,n,i){var a=(a=oi.current)?Iu(a):null;if(!a)throw Error(S(446));switch(t){case"meta":case"title":return null;case"style":return typeof n.precedence=="string"&&typeof n.href=="string"?(e=wo(n.href),n=ro(a).hoistableStyles,i=n.get(e),i||(i={type:"style",instance:null,count:0,state:null},n.set(e,i)),i):{type:"void",instance:null,count:0,state:null};case"link":if(n.rel==="stylesheet"&&typeof n.href=="string"&&typeof n.precedence=="string"){t=wo(n.href);var r=ro(a).hoistableStyles,l=r.get(t);if(l||(a=a.ownerDocument||a,l={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},r.set(t,l),(r=a.querySelector(yl(t)))&&!r._p&&(l.instance=r,l.state.loading=5),Ve.has(t)||(n={rel:"preload",as:"style",href:n.href,crossOrigin:n.crossOrigin,integrity:n.integrity,media:n.media,hrefLang:n.hrefLang,referrerPolicy:n.referrerPolicy},Ve.set(t,n),r||LE(a,t,n,l.state))),e&&i===null)throw Error(S(528,""));return l}if(e&&i!==null)throw Error(S(529,""));return null;case"script":return e=n.async,n=n.src,typeof n=="string"&&e&&typeof e!="function"&&typeof e!="symbol"?(e=zo(n),n=ro(a).hoistableScripts,i=n.get(e),i||(i={type:"script",instance:null,count:0,state:null},n.set(e,i)),i):{type:"void",instance:null,count:0,state:null};default:throw Error(S(444,t))}}o($v,"getResource");function wo(t){return'href="'+Ae(t)+'"'}o(wo,"getStyleKey");function yl(t){return'link[rel="stylesheet"]['+t+"]"}o(yl,"getStylesheetSelectorFromKey");function Gb(t){return it({},t,{"data-precedence":t.precedence,precedence:null})}o(Gb,"stylesheetPropsFromRawProps");function LE(t,e,n,i){t.querySelector('link[rel="preload"][as="style"]['+e+"]")?i.loading=1:(e=t.createElement("link"),i.preload=e,e.addEventListener("load",function(){return i.loading|=1}),e.addEventListener("error",function(){return i.loading|=2}),Ut(e,"link",n),Dt(e),t.head.appendChild(e))}o(LE,"preloadStylesheet");function zo(t){return'[src="'+Ae(t)+'"]'}o(zo,"getScriptKey");function vl(t){return"script[async]"+t}o(vl,"getScriptSelectorFromKey");function tx(t,e,n){if(e.count++,e.instance===null)switch(e.type){case"style":var i=t.querySelector('style[data-href~="'+Ae(n.href)+'"]');if(i)return e.instance=i,Dt(i),i;var a=it({},n,{"data-href":n.href,"data-precedence":n.precedence,href:null,precedence:null});return i=(t.ownerDocument||t).createElement("style"),Dt(i),Ut(i,"style",a),Au(i,n.precedence,t),e.instance=i;case"stylesheet":a=wo(n.href);var r=t.querySelector(yl(a));if(r)return e.state.loading|=4,e.instance=r,Dt(r),r;i=Gb(n),(a=Ve.get(a))&&wp(i,a),r=(t.ownerDocument||t).createElement("link"),Dt(r);var l=r;return l._p=new Promise(function(s,u){l.onload=s,l.onerror=u}),Ut(r,"link",i),e.state.loading|=4,Au(r,n.precedence,t),e.instance=r;case"script":return r=zo(n.src),(a=t.querySelector(vl(r)))?(e.instance=a,Dt(a),a):(i=n,(a=Ve.get(r))&&(i=it({},n),Ap(i,a)),t=t.ownerDocument||t,a=t.createElement("script"),Dt(a),Ut(a,"link",i),t.head.appendChild(a),e.instance=a);case"void":return null;default:throw Error(S(443,e.type))}else e.type==="stylesheet"&&(e.state.loading&4)===0&&(i=e.instance,e.state.loading|=4,Au(i,n.precedence,t));return e.instance}o(tx,"acquireResource");function Au(t,e,n){for(var i=n.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),a=i.length?i[i.length-1]:null,r=a,l=0;l<i.length;l++){var s=i[l];if(s.dataset.precedence===e)r=s;else if(r!==a)break}r?r.parentNode.insertBefore(t,r.nextSibling):(e=n.nodeType===9?n.head:n,e.insertBefore(t,e.firstChild))}o(Au,"insertStylesheet");function wp(t,e){t.crossOrigin==null&&(t.crossOrigin=e.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=e.referrerPolicy),t.title==null&&(t.title=e.title)}o(wp,"adoptPreloadPropsForStylesheet");function Ap(t,e){t.crossOrigin==null&&(t.crossOrigin=e.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=e.referrerPolicy),t.integrity==null&&(t.integrity=e.integrity)}o(Ap,"adoptPreloadPropsForScript");var Eu=null;function ex(t,e,n){if(Eu===null){var i=new Map,a=Eu=new Map;a.set(n,i)}else a=Eu,i=a.get(n),i||(i=new Map,a.set(n,i));if(i.has(t))return i;for(i.set(t,null),n=n.getElementsByTagName(t),a=0;a<n.length;a++){var r=n[a];if(!(r[fl]||r[Nt]||t==="link"&&r.getAttribute("rel")==="stylesheet")&&r.namespaceURI!=="http://www.w3.org/2000/svg"){var l=r.getAttribute(e)||"";l=t+l;var s=i.get(l);s?s.push(r):i.set(l,[r])}}return i}o(ex,"getHydratableHoistableCache");function nx(t,e,n){t=t.ownerDocument||t,t.head.insertBefore(n,e==="title"?t.querySelector("head > title"):null)}o(nx,"mountHoistable");function jE(t,e,n){if(n===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}o(jE,"isHostHoistableType");function Yb(t){return!(t.type==="stylesheet"&&(t.state.loading&3)===0)}o(Yb,"preloadResource");function HE(t,e,n,i){if(n.type==="stylesheet"&&(typeof i.media!="string"||matchMedia(i.media).matches!==!1)&&(n.state.loading&4)===0){if(n.instance===null){var a=wo(i.href),r=e.querySelector(yl(a));if(r){e=r._p,e!==null&&typeof e=="object"&&typeof e.then=="function"&&(t.count++,t=$u.bind(t),e.then(t,t)),n.state.loading|=4,n.instance=r,Dt(r);return}r=e.ownerDocument||e,i=Gb(i),(a=Ve.get(a))&&wp(i,a),r=r.createElement("link"),Dt(r);var l=r;l._p=new Promise(function(s,u){l.onload=s,l.onerror=u}),Ut(r,"link",i),n.instance=r}t.stylesheets===null&&(t.stylesheets=new Map),t.stylesheets.set(n,e),(e=n.state.preload)&&(n.state.loading&3)===0&&(t.count++,n=$u.bind(t),e.addEventListener("load",n),e.addEventListener("error",n))}}o(HE,"suspendResource");var Lm=0;function GE(t,e){return t.stylesheets&&t.count===0&&Mu(t,t.stylesheets),0<t.count||0<t.imgCount?function(n){var i=setTimeout(function(){if(t.stylesheets&&Mu(t,t.stylesheets),t.unsuspend){var r=t.unsuspend;t.unsuspend=null,r()}},6e4+e);0<t.imgBytes&&Lm===0&&(Lm=62500*bE());var a=setTimeout(function(){if(t.waitingForImages=!1,t.count===0&&(t.stylesheets&&Mu(t,t.stylesheets),t.unsuspend)){var r=t.unsuspend;t.unsuspend=null,r()}},(t.imgBytes>Lm?50:800)+e);return t.unsuspend=n,function(){t.unsuspend=null,clearTimeout(i),clearTimeout(a)}}:null}o(GE,"waitForCommitToBeReady");function $u(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)Mu(this,this.stylesheets);else if(this.unsuspend){var t=this.unsuspend;this.unsuspend=null,t()}}}o($u,"onUnsuspend");var tc=null;function Mu(t,e){t.stylesheets=null,t.unsuspend!==null&&(t.count++,tc=new Map,e.forEach(YE,t),tc=null,$u.call(t))}o(Mu,"insertSuspendedStylesheets");function YE(t,e){if(!(e.state.loading&4)){var n=tc.get(t);if(n)var i=n.get(null);else{n=new Map,tc.set(t,n);for(var a=t.querySelectorAll("link[data-precedence],style[data-precedence]"),r=0;r<a.length;r++){var l=a[r];(l.nodeName==="LINK"||l.getAttribute("media")!=="not all")&&(n.set(l.dataset.precedence,l),i=l)}i&&n.set(null,i)}a=e.instance,l=a.getAttribute("data-precedence"),r=n.get(l)||i,r===i&&n.set(null,a),n.set(l,a),this.count++,i=$u.bind(this),a.addEventListener("load",i),a.addEventListener("error",i),r?r.parentNode.insertBefore(a,r.nextSibling):(t=t.nodeType===9?t.head:t,t.insertBefore(a,t.firstChild)),e.state.loading|=4}}o(YE,"insertStylesheetIntoRoot");var al={$$typeof:xn,Provider:null,Consumer:null,_currentValue:Zi,_currentValue2:Zi,_threadCount:0};function qE(t,e,n,i,a,r,l,s,u){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=um(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=um(0),this.hiddenUpdates=um(null),this.identifierPrefix=i,this.onUncaughtError=a,this.onCaughtError=r,this.onRecoverableError=l,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=u,this.incompleteTransitions=new Map}o(qE,"FiberRootNode");function qb(t,e,n,i,a,r,l,s,u,c,f,m){return t=new qE(t,e,n,l,u,c,f,m,s),e=1,r===!0&&(e|=24),r=re(3,null,null,e),t.current=r,r.stateNode=t,e=Fd(),e.refCount++,t.pooledCache=e,e.refCount++,r.memoizedState={element:i,isDehydrated:n,cache:e},$d(r),t}o(qb,"createFiberRoot");function Xb(t){return t?(t=no,t):no}o(Xb,"getContextForSubtree");function kb(t,e,n,i,a,r){a=Xb(a),i.context===null?i.context=a:i.pendingContext=a,i=li(e),i.payload={element:n},r=r===void 0?null:r,r!==null&&(i.callback=r),n=si(t,i,e),n!==null&&(It(n,t,e),jr(n,t,e))}o(kb,"updateContainerImpl");function ix(t,e){if(t=t.memoizedState,t!==null&&t.dehydrated!==null){var n=t.retryLane;t.retryLane=n!==0&&n<e?n:e}}o(ix,"markRetryLaneImpl");function Ep(t,e){ix(t,e),(t=t.alternate)&&ix(t,e)}o(Ep,"markRetryLaneIfNotHydrated");function Zb(t){if(t.tag===13||t.tag===31){var e=aa(t,67108864);e!==null&&It(e,t,67108864),Ep(t,67108864)}}o(Zb,"attemptContinuousHydration");function ax(t){if(t.tag===13||t.tag===31){var e=fe();e=Ud(e);var n=aa(t,e);n!==null&&It(n,t,e),Ep(t,e)}}o(ax,"attemptHydrationAtCurrentPriority");var ec=!0;function XE(t,e,n,i){var a=O.T;O.T=null;var r=k.p;try{k.p=2,Mp(t,e,n,i)}finally{k.p=r,O.T=a}}o(XE,"dispatchDiscreteEvent");function kE(t,e,n,i){var a=O.T;O.T=null;var r=k.p;try{k.p=8,Mp(t,e,n,i)}finally{k.p=r,O.T=a}}o(kE,"dispatchContinuousEvent");function Mp(t,e,n,i){if(ec){var a=zd(i);if(a===null)Bm(t,e,i,nc,n),ox(t,i);else if(QE(a,t,e,n,i))i.stopPropagation();else if(ox(t,i),e&4&&-1<ZE.indexOf(t)){for(;a!==null;){var r=Mo(a);if(r!==null)switch(r.tag){case 3:if(r=r.stateNode,r.current.memoizedState.isDehydrated){var l=qi(r.pendingLanes);if(l!==0){var s=r;for(s.pendingLanes|=2,s.entangledLanes|=2;l;){var u=1<<31-ce(l);s.entanglements[1]|=u,l&=~u}Fe(r),(X&6)===0&&(Zu=se()+500,gl(0,!1))}}break;case 31:case 13:s=aa(r,2),s!==null&&It(s,r,2),hc(),Ep(r,2)}if(r=zd(i),r===null&&Bm(t,e,i,nc,n),r===a)break;a=r}a!==null&&i.stopPropagation()}else Bm(t,e,i,null,n)}}o(Mp,"dispatchEvent");function zd(t){return t=Gd(t),Dp(t)}o(zd,"findInstanceBlockingEvent");var nc=null;function Dp(t){if(nc=null,t=Fa(t),t!==null){var e=ll(t);if(e===null)t=null;else{var n=e.tag;if(n===13){if(t=fx(e),t!==null)return t;t=null}else if(n===31){if(t=mx(e),t!==null)return t;t=null}else if(n===3){if(e.stateNode.current.memoizedState.isDehydrated)return e.tag===3?e.stateNode.containerInfo:null;t=null}else e!==t&&(t=null)}}return nc=t,null}o(Dp,"findInstanceBlockingTarget");function Qb(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(_w()){case gx:return 2;case yx:return 8;case zu:case Nw:return 32;case vx:return 268435456;default:return 32}default:return 32}}o(Qb,"getEventPriority");var _d=!1,fi=null,mi=null,di=null,ol=new Map,rl=new Map,$n=[],ZE="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 ox(t,e){switch(t){case"focusin":case"focusout":fi=null;break;case"dragenter":case"dragleave":mi=null;break;case"mouseover":case"mouseout":di=null;break;case"pointerover":case"pointerout":ol.delete(e.pointerId);break;case"gotpointercapture":case"lostpointercapture":rl.delete(e.pointerId)}}o(ox,"clearIfContinuousEvent");function Dr(t,e,n,i,a,r){return t===null||t.nativeEvent!==r?(t={blockedOn:e,domEventName:n,eventSystemFlags:i,nativeEvent:r,targetContainers:[a]},e!==null&&(e=Mo(e),e!==null&&Zb(e)),t):(t.eventSystemFlags|=i,e=t.targetContainers,a!==null&&e.indexOf(a)===-1&&e.push(a),t)}o(Dr,"accumulateOrCreateContinuousQueuedReplayableEvent");function QE(t,e,n,i,a){switch(e){case"focusin":return fi=Dr(fi,t,e,n,i,a),!0;case"dragenter":return mi=Dr(mi,t,e,n,i,a),!0;case"mouseover":return di=Dr(di,t,e,n,i,a),!0;case"pointerover":var r=a.pointerId;return ol.set(r,Dr(ol.get(r)||null,t,e,n,i,a)),!0;case"gotpointercapture":return r=a.pointerId,rl.set(r,Dr(rl.get(r)||null,t,e,n,i,a)),!0}return!1}o(QE,"queueIfContinuousEvent");function Kb(t){var e=Fa(t.target);if(e!==null){var n=ll(e);if(n!==null){if(e=n.tag,e===13){if(e=fx(n),e!==null){t.blockedOn=e,qy(t.priority,function(){ax(n)});return}}else if(e===31){if(e=mx(n),e!==null){t.blockedOn=e,qy(t.priority,function(){ax(n)});return}}else if(e===3&&n.stateNode.current.memoizedState.isDehydrated){t.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}t.blockedOn=null}o(Kb,"attemptExplicitHydrationTarget");function Du(t){if(t.blockedOn!==null)return!1;for(var e=t.targetContainers;0<e.length;){var n=zd(t.nativeEvent);if(n===null){n=t.nativeEvent;var i=new n.constructor(n.type,n);Fm=i,n.target.dispatchEvent(i),Fm=null}else return e=Mo(n),e!==null&&Zb(e),t.blockedOn=n,!1;e.shift()}return!0}o(Du,"attemptReplayContinuousQueuedEvent");function rx(t,e,n){Du(t)&&n.delete(e)}o(rx,"attemptReplayContinuousQueuedEventInMap");function KE(){_d=!1,fi!==null&&Du(fi)&&(fi=null),mi!==null&&Du(mi)&&(mi=null),di!==null&&Du(di)&&(di=null),ol.forEach(rx),rl.forEach(rx)}o(KE,"replayUnblockedEvents");function fu(t,e){t.blockedOn===e&&(t.blockedOn=null,_d||(_d=!0,wt.unstable_scheduleCallback(wt.unstable_NormalPriority,KE)))}o(fu,"scheduleCallbackIfUnblocked");var mu=null;function lx(t){mu!==t&&(mu=t,wt.unstable_scheduleCallback(wt.unstable_NormalPriority,function(){mu===t&&(mu=null);for(var e=0;e<t.length;e+=3){var n=t[e],i=t[e+1],a=t[e+2];if(typeof i!="function"){if(Dp(i||n)===null)continue;break}var r=Mo(n);r!==null&&(t.splice(e,3),e-=3,md(r,{pending:!0,data:a,method:n.method,action:i},i,a))}}))}o(lx,"scheduleReplayQueueIfNeeded");function Ao(t){function e(u){return fu(u,t)}o(e,"unblock"),fi!==null&&fu(fi,t),mi!==null&&fu(mi,t),di!==null&&fu(di,t),ol.forEach(e),rl.forEach(e);for(var n=0;n<$n.length;n++){var i=$n[n];i.blockedOn===t&&(i.blockedOn=null)}for(;0<$n.length&&(n=$n[0],n.blockedOn===null);)Kb(n),n.blockedOn===null&&$n.shift();if(n=(t.ownerDocument||t).$$reactFormReplay,n!=null)for(i=0;i<n.length;i+=3){var a=n[i],r=n[i+1],l=a[$t]||null;if(typeof r=="function")l||lx(n);else if(l){var s=null;if(r&&r.hasAttribute("formAction")){if(a=r,l=r[$t]||null)s=l.formAction;else if(Dp(a)!==null)continue}else s=l.action;typeof s=="function"?n[i+1]=s:(n.splice(i,3),i-=3),lx(n)}}}o(Ao,"retryIfBlockedOn");function Pb(){function t(r){r.canIntercept&&r.info==="react-transition"&&r.intercept({handler:o(function(){return new Promise(function(l){return a=l})},"handler"),focusReset:"manual",scroll:"manual"})}o(t,"handleNavigate");function e(){a!==null&&(a(),a=null),i||setTimeout(n,20)}o(e,"handleNavigateComplete");function n(){if(!i&&!navigation.transition){var r=navigation.currentEntry;r&&r.url!=null&&navigation.navigate(r.url,{state:r.getState(),info:"react-transition",history:"replace"})}}if(o(n,"startFakeNavigation"),typeof navigation=="object"){var i=!1,a=null;return navigation.addEventListener("navigate",t),navigation.addEventListener("navigatesuccess",e),navigation.addEventListener("navigateerror",e),setTimeout(n,100),function(){i=!0,navigation.removeEventListener("navigate",t),navigation.removeEventListener("navigatesuccess",e),navigation.removeEventListener("navigateerror",e),a!==null&&(a(),a=null)}}}o(Pb,"defaultOnDefaultTransitionIndicator");function Cp(t){this._internalRoot=t}o(Cp,"ReactDOMRoot");vc.prototype.render=Cp.prototype.render=function(t){var e=this._internalRoot;if(e===null)throw Error(S(409));var n=e.current,i=fe();kb(n,i,t,e,null,null)};vc.prototype.unmount=Cp.prototype.unmount=function(){var t=this._internalRoot;if(t!==null){this._internalRoot=null;var e=t.containerInfo;kb(t.current,2,null,t,null,null),hc(),e[Eo]=null}};function vc(t){this._internalRoot=t}o(vc,"ReactDOMHydrationRoot");vc.prototype.unstable_scheduleHydration=function(t){if(t){var e=wx();t={blockedOn:null,target:t,priority:e};for(var n=0;n<$n.length&&e!==0&&e<$n[n].priority;n++);$n.splice(n,0,t),n===0&&Kb(t)}};var sx=ux.version;if(sx!=="19.2.0")throw Error(S(527,sx,"19.2.0"));k.findDOMNode=function(t){var e=t._reactInternals;if(e===void 0)throw typeof t.render=="function"?Error(S(188)):(t=Object.keys(t).join(","),Error(S(268,t)));return t=Ew(e),t=t!==null?dx(t):null,t=t===null?null:t.stateNode,t};var PE={bundleType:0,version:"19.2.0",rendererPackageName:"react-dom",currentDispatcherRef:O,reconcilerVersion:"19.2.0"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&(Cr=__REACT_DEVTOOLS_GLOBAL_HOOK__,!Cr.isDisabled&&Cr.supportsFiber))try{sl=Cr.inject(PE),ue=Cr}catch{}var Cr;xc.createRoot=function(t,e){if(!cx(t))throw Error(S(299));var n=!1,i="",a=H1,r=G1,l=Y1;return e!=null&&(e.unstable_strictMode===!0&&(n=!0),e.identifierPrefix!==void 0&&(i=e.identifierPrefix),e.onUncaughtError!==void 0&&(a=e.onUncaughtError),e.onCaughtError!==void 0&&(r=e.onCaughtError),e.onRecoverableError!==void 0&&(l=e.onRecoverableError)),e=qb(t,1,!1,null,null,n,i,null,a,r,l,Pb),t[Eo]=e.current,Tp(t),new Cp(e)};xc.hydrateRoot=function(t,e,n){if(!cx(t))throw Error(S(299));var i=!1,a="",r=H1,l=G1,s=Y1,u=null;return n!=null&&(n.unstable_strictMode===!0&&(i=!0),n.identifierPrefix!==void 0&&(a=n.identifierPrefix),n.onUncaughtError!==void 0&&(r=n.onUncaughtError),n.onCaughtError!==void 0&&(l=n.onCaughtError),n.onRecoverableError!==void 0&&(s=n.onRecoverableError),n.formState!==void 0&&(u=n.formState)),e=qb(t,1,!0,e,n??null,i,a,u,r,l,s,Pb),e.context=Xb(null),n=e.current,i=fe(),i=Ud(i),a=li(i),a.callback=null,si(n,a,i),n=i,e.current.lanes=n,cl(e,n),Fe(e),t[Eo]=e.current,Tp(t),new vc(e)};xc.version="19.2.0"});var Ib=zt((JH,Wb)=>{"use strict";function Fb(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Fb)}catch(t){console.error(t)}}o(Fb,"checkDCE");Fb(),Wb.exports=Jb()});var Y=z(G()),Wp=z(Al()),Ip=z(El());function WS(){let{data:t,status:e,signOut:n}=(0,Wp.useSession)();return Y.default.createElement("div",{className:"font-sans grid grid-rows-[20px_1fr_20px] items-center justify-items-center min-h-screen p-8 pb-20 gap-16 sm:p-20 bg-gradient-to-r from-black to-gray-500 text-gray-200 relative overflow-hidden"},Y.default.createElement("div",{className:"absolute inset-0 -z-10 h-full w-full bg-gradient-to-r from-black to-gray-500 bg-[radial-gradient(circle_500px_at_50%_200px,#3e007555,transparent)]"}),Y.default.createElement("main",{className:"flex flex-col gap-[32px] row-start-2 items-center sm:items-start z-10"},Y.default.createElement("div",{className:"flex items-center gap-4"},Y.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"38",height:"38",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:"text-purple-500"},Y.default.createElement("path",{d:"m12 3-8.9 5.06a4 4 0 0 0-1.1 5.44l1.1 1.94a4 4 0 0 0 5.44 1.1l8.9-5.06a4 4 0 0 0 1.1-5.44l-1.1-1.94a4 4 0 0 0-5.44-1.1z"})),Y.default.createElement("h1",{className:"text-3xl font-bold text-purple-400 [text-shadow:_0_0_12px_theme(colors.purple.500)]"},"HightJS")),Y.default.createElement("div",{className:"flex flex-col items-center gap-4 self-center"},e==="loading"&&Y.default.createElement("p",null,"Carregando..."),e==="authenticated"&&t?.user&&Y.default.createElement(Y.default.Fragment,null,Y.default.createElement("p",{className:"text-lg"},"Voc\xEA est\xE1 logado como ",Y.default.createElement("span",{className:"font-bold text-purple-400"},t.user.name)," !!!"),Y.default.createElement("button",{onClick:()=>n({callbackUrl:"/"}),className:"rounded-full border border-solid border-transparent transition-all duration-300 flex items-center justify-center bg-purple-600 text-white gap-2 hover:bg-purple-500 font-medium text-sm sm:text-base h-10 sm:h-12 px-4 sm:px-5 w-40 shadow-[0_0_15px_-3px_theme(colors.purple.600)] hover:shadow-[0_0_25px_-3px_theme(colors.purple.500)]"},"Sair")),e==="unauthenticated"&&Y.default.createElement(Ip.Link,{href:"/login",className:"rounded-full border border-solid border-transparent transition-all duration-300 flex items-center justify-center bg-purple-600 text-white gap-2 hover:bg-purple-500 font-medium text-sm sm:text-base h-10 sm:h-12 px-4 sm:px-5 w-40 shadow-[0_0_15px_-3px_theme(colors.purple.600)] hover:shadow-[0_0_25px_-3px_theme(colors.purple.500)]"},"Login")),Y.default.createElement("ol",{className:"font-mono list-inside list-decimal text-sm/6 text-center sm:text-left text-gray-400"},Y.default.createElement("li",{className:"mb-2 tracking-[-.01em]"},"Comece editando"," ",Y.default.createElement("code",{className:"bg-gray-800 border border-gray-700 font-mono font-semibold px-1 py-0.5 rounded text-purple-400"},"src/web/routes/index.tsx"),"."),Y.default.createElement("li",{className:"tracking-[-.01em]"},"Salve e veja suas mudan\xE7as instantaneamente.")),Y.default.createElement("div",{className:"flex gap-4 items-center flex-col sm:flex-row"},Y.default.createElement("a",{className:"rounded-full border border-solid border-transparent transition-all duration-300 flex items-center justify-center bg-purple-600 text-white gap-2 hover:bg-purple-500 font-medium text-sm sm:text-base h-10 sm:h-12 px-4 sm:px-5 sm:w-auto shadow-[0_0_15px_-3px_theme(colors.purple.600)] hover:shadow-[0_0_25px_-3px_theme(colors.purple.500)]",href:"#",target:"_blank",rel:"noopener noreferrer"},Y.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:"lucide lucide-rocket"},Y.default.createElement("path",{d:"M4.5 16.5c-1.5 1.26-2 5-2 5s3.74-.5 5-2c.71-.84.7-2.33-.04-3.86l1.8-1.8c.44-.44.86-.92 1.22-1.44l-2.06-2.06c-.52.36-1 .78-1.44 1.22l-1.8-1.8c-1.53.74-3.02.73-3.86-.04Z"}),Y.default.createElement("path",{d:"m12 15 5-5"}),Y.default.createElement("path",{d:"M9 3h6v6h-6Z"}),Y.default.createElement("path",{d:"M19.5 16.5c1.5-1.26 2-5 2-5s-3.74.5-5 2c-.71.84-.7 2.33.04 3.86l-1.8 1.8c-.44.44-.86.92-1.22 1.44l2.06 2.06c.52-.36 1-.78 1.44-1.22l1.8 1.8c1.53-.74 3.02-.73 3.86.04Z"})),"Fazer Deploy"),Y.default.createElement("a",{className:"rounded-full border border-solid border-white/20 transition-colors flex items-center justify-center hover:bg-white/10 hover:border-white/30 font-medium text-sm sm:text-base h-10 sm:h-12 px-4 sm:px-5 w-full sm:w-auto md:w-[158px] text-gray-300",href:"#",target:"_blank",rel:"noopener noreferrer"},"Leia a documenta\xE7\xE3o"))),Y.default.createElement("footer",{className:"row-start-3 flex gap-[24px] flex-wrap items-center justify-center z-10"},Y.default.createElement("a",{className:"flex items-center gap-2 text-gray-400 transition-colors hover:text-purple-400 hover:underline hover:underline-offset-4",href:"#",target:"_blank",rel:"noopener noreferrer"},Y.default.createElement("img",{"aria-hidden":!0,src:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0IiBmaWxsPSJub25lIiBzdHJva2U9ImN1cnJlbnRDb2xvciIgc3Ryb2tlLXdpZHRoPSIyIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIGNsYXNzPSJsdWNpZGUgbHVjaWRlLWJvb2stb3BlbiI+PHBhdGggZD0iTTIgM3YxNGEyIDIgMCAwIDAgMiAyaDE2YTIgMiAwIDAgMCAyLTJWM20tOCAxOGExIDQgMCAwIDEtMy44LTJsMS42LTEuNmExIDQgMCAwIDEgMy44IDJ6bTggMGE0IDQgMCAwIDAgMy44LTJsLTEuNi0xLjZhNCA0IDAgMCAwLTMuOCAyeiIvPjwvc3ZnPg==",alt:"\xCDcone de arquivo",width:16,height:16}),"Aprenda"),Y.default.createElement("a",{className:"flex items-center gap-2 text-gray-400 transition-colors hover:text-purple-400 hover:underline hover:underline-offset-4",href:"#",target:"_blank",rel:"noopener noreferrer"},Y.default.createElement("img",{"aria-hidden":!0,src:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0IiBmaWxsPSJub25lIiBzdHJva2U9ImN1cnJlbnRDb2xvciIgc3Ryb2tlLXdpZHRoPSIyIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIGNsYXNzPSJsdWNpZGUgbHVjaWRlLWxheW91dC10ZW1wbGF0ZSI+PHJlY3Qgd2lkdGg9IjE4IiBoZWlnaHQ9IjciIHg9IjMiIHk9IjMiIHJ4PSIyIiByeT0iMiIvPjxyZWN0IHdpZHRoPSI3IiBoZWlnaHQ9IjciIHg9IjMiIHk9IjE0IiByeD0iMiIgcnk9IjIiLz48cmVjdCB3aWR0aD0iNyIgaGVpZ2h0PSI3IiB4PSIxNCIgeT0iMTQiIHJ4PSIyIiByeT0iMiIvPjwvc3ZnPg==",alt:"\xCDcone de janela",width:16,height:16}),"Exemplos"),Y.default.createElement("a",{className:"flex items-center gap-2 text-gray-400 transition-colors hover:text-purple-400 hover:underline hover:underline-offset-4",href:"#",target:"_blank",rel:"noopener noreferrer"},Y.default.createElement("img",{"aria-hidden":!0,src:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0IiBmaWxsPSJub25lIiBzdHJva2U9ImN1cnJlbnRDb2xvciIgc3Ryb2tlLXdpZHRoPSIyIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIGNsYXNzPSJsdWNpZGUgbHVjaWRlLWdsb2JlIj48Y2lyY2xlIGN4PSIxMiIgY3k9IjEyIiByPSIxMCIvPjxwYXRoIGQ9Ik0xMiAyYTE0LjUgMTQuNSAwIDAgMCAwIDIwIDE0LjUgMTQuNSAwIDAgMCAwLTIweiIvPjxwYXRoIGQ9Ik0yIDEySDEybTEwIDBIMTIiLz48L3N2Zz4=",alt:"\xCDcone de globo",width:16,height:16}),"Ir para hightjs.dev \u2192")))}o(WS,"Home");var IS={pattern:"/",component:WS,generateMetadata:o(()=>({title:"HightJS | Home"}),"generateMetadata")},Uc=IS;var Lc=z(El()),jc=z(Al()),R=z(G());function $S(){let[t,e]=(0,R.useState)(""),[n,i]=(0,R.useState)(""),[a,r]=(0,R.useState)(!1),{signIn:l}=(0,jc.useSession)(),[s,u]=(0,R.useState)(null);return R.default.createElement("div",{className:"font-sans min-h-screen flex items-center justify-center p-8 bg-gradient-to-r from-black to-gray-500 text-gray-200 relative overflow-hidden"},R.default.createElement("div",{className:"absolute inset-0 -z-10 h-full w-full bg-gradient-to-r from-black to-gray-500 bg-[radial-gradient(circle_500px_at_50%_200px,#3e007555,transparent)]"}),R.default.createElement("div",{className:"absolute top-1/4 left-1/4 w-72 h-72 bg-purple-500/10 rounded-full blur-3xl -z-10"}),R.default.createElement("div",{className:"absolute bottom-1/4 right-1/4 w-96 h-96 bg-blue-500/5 rounded-full blur-3xl -z-10"}),R.default.createElement("div",{className:"w-full max-w-md"},R.default.createElement("div",{className:"text-center mb-8"},R.default.createElement("div",{className:"flex items-center justify-center gap-3 mb-4"},R.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:"text-purple-500"},R.default.createElement("path",{d:"m12 3-8.9 5.06a4 4 0 0 0-1.1 5.44l1.1 1.94a4 4 0 0 0 5.44 1.1l8.9-5.06a4 4 0 0 0 1.1-5.44l-1.1-1.94a4 4 0 0 0-5.44-1.1z"})),R.default.createElement("h1",{className:"text-2xl font-bold text-purple-400 [text-shadow:_0_0_12px_theme(colors.purple.500)]"},"HightJS")),R.default.createElement("h2",{className:"text-xl font-medium text-gray-300 mb-2"},"Bem-vindo de volta"),R.default.createElement("p",{className:"text-sm text-gray-400"},"Fa\xE7a login em sua conta")),R.default.createElement("div",{className:"relative"},R.default.createElement("div",{className:"absolute inset-0 bg-white/5 backdrop-blur-xl border border-white/10 rounded-2xl shadow-2xl"}),s&&R.default.createElement("div",{className:"relative p-4 mb-4 text-sm text-red-800 bg-red-200 rounded-lg",role:"alert"},s),R.default.createElement("form",{onSubmit:o(async f=>{f.preventDefault(),r(!0),u(null);try{let m=await l("credentials",{redirect:!1,username:t,password:n,callbackUrl:"/"});if(console.log(m),!m||m.error){u("Credenciais inv\xE1lidas. Verifique seus dados e senha."),r(!1);return}Lc.router.push("/")}catch{u("Ocorreu um erro inesperado. Tente novamente."),r(!1)}},"handleLogin"),className:"relative p-8 space-y-6"},R.default.createElement("div",{className:"space-y-2"},R.default.createElement("label",{htmlFor:"email",className:"text-sm font-medium text-gray-300"},"Usu\xE1rio"),R.default.createElement("input",{id:"username",type:"username",value:t,onChange:f=>e(f.target.value),className:"w-full px-4 py-3 bg-white/5 border border-white/10 rounded-xl text-gray-200 placeholder-gray-400 focus:border-purple-500/50 focus:ring-2 focus:ring-purple-500/20 focus:outline-none backdrop-blur-sm transition-all duration-300",required:!0})),R.default.createElement("div",{className:"space-y-2"},R.default.createElement("label",{htmlFor:"password",className:"text-sm font-medium text-gray-300"},"Senha"),R.default.createElement("input",{id:"password",type:"password",placeholder:"\u2022\u2022\u2022\u2022\u2022\u2022\u2022\u2022",value:n,onChange:f=>i(f.target.value),className:"w-full px-4 py-3 bg-white/5 border border-white/10 rounded-xl text-gray-200 placeholder-gray-400 focus:border-purple-500/50 focus:ring-2 focus:ring-purple-500/20 focus:outline-none backdrop-blur-sm transition-all duration-300",required:!0})),R.default.createElement("div",{className:"flex items-center justify-between text-sm"},R.default.createElement("label",{className:"flex items-center text-gray-400 cursor-pointer"},R.default.createElement("input",{type:"checkbox",className:"mr-2 rounded border-white/20 bg-white/5 text-purple-500 focus:ring-purple-500/20"}),"Lembrar de mim"),R.default.createElement("a",{href:"#",className:"text-purple-400 hover:text-purple-300 transition-colors hover:underline"},"Esqueceu a senha?")),R.default.createElement("button",{type:"submit",disabled:a,className:"w-full bg-purple-600 hover:bg-purple-500 text-white font-medium py-3 px-4 rounded-xl transition-all duration-300 shadow-[0_0_15px_-3px_theme(colors.purple.600)] hover:shadow-[0_0_25px_-3px_theme(colors.purple.500)] disabled:opacity-50 disabled:cursor-not-allowed focus:outline-none focus:ring-2 focus:ring-purple-500/20"},a?R.default.createElement("div",{className:"flex items-center justify-center gap-2"},R.default.createElement("svg",{className:"animate-spin h-4 w-4",fill:"none",viewBox:"0 0 24 24"},R.default.createElement("circle",{className:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"4"}),R.default.createElement("path",{className:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"})),"Entrando..."):"Entrar")))))}o($S,"LoginPage");var tT=o(()=>{let t=(0,jc.useSession)();return t.status==="loading"?R.default.createElement("div",null,"Loading..."):t.status==="authenticated"?(Lc.router.push("/"),R.default.createElement("div",null,"Redirecting...")):R.default.createElement($S,null)},"wrapper"),eT={pattern:"/login",component:tT,generateMetadata:o(()=>({title:"HightJS | Login"}),"generateMetadata")},Hc=eT;var Xs=z(G()),xy=z(El());var nT=`/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */
|
|
10
|
-
@layer properties;
|
|
11
|
-
@layer theme, base, components, utilities;
|
|
12
|
-
@layer theme {
|
|
13
|
-
:root, :host {
|
|
14
|
-
--font-sans: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji",
|
|
15
|
-
"Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
|
|
16
|
-
--font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
|
|
17
|
-
"Courier New", monospace;
|
|
18
|
-
--color-red-200: oklch(88.5% 0.062 18.334);
|
|
19
|
-
--color-red-800: oklch(44.4% 0.177 26.899);
|
|
20
|
-
--color-blue-500: oklch(62.3% 0.214 259.815);
|
|
21
|
-
--color-purple-300: oklch(82.7% 0.119 306.383);
|
|
22
|
-
--color-purple-400: oklch(71.4% 0.203 305.504);
|
|
23
|
-
--color-purple-500: oklch(62.7% 0.265 303.9);
|
|
24
|
-
--color-purple-600: oklch(55.8% 0.288 302.321);
|
|
25
|
-
--color-gray-200: oklch(92.8% 0.006 264.531);
|
|
26
|
-
--color-gray-300: oklch(87.2% 0.01 258.338);
|
|
27
|
-
--color-gray-400: oklch(70.7% 0.022 261.325);
|
|
28
|
-
--color-gray-500: oklch(55.1% 0.027 264.364);
|
|
29
|
-
--color-gray-700: oklch(37.3% 0.034 259.733);
|
|
30
|
-
--color-gray-800: oklch(27.8% 0.033 256.848);
|
|
31
|
-
--color-black: #000;
|
|
32
|
-
--color-white: #fff;
|
|
33
|
-
--spacing: 0.25rem;
|
|
34
|
-
--container-md: 28rem;
|
|
35
|
-
--text-sm: 0.875rem;
|
|
36
|
-
--text-sm--line-height: calc(1.25 / 0.875);
|
|
37
|
-
--text-base: 1rem;
|
|
38
|
-
--text-base--line-height: calc(1.5 / 1);
|
|
39
|
-
--text-lg: 1.125rem;
|
|
40
|
-
--text-lg--line-height: calc(1.75 / 1.125);
|
|
41
|
-
--text-xl: 1.25rem;
|
|
42
|
-
--text-xl--line-height: calc(1.75 / 1.25);
|
|
43
|
-
--text-2xl: 1.5rem;
|
|
44
|
-
--text-2xl--line-height: calc(2 / 1.5);
|
|
45
|
-
--text-3xl: 1.875rem;
|
|
46
|
-
--text-3xl--line-height: calc(2.25 / 1.875);
|
|
47
|
-
--font-weight-medium: 500;
|
|
48
|
-
--font-weight-semibold: 600;
|
|
49
|
-
--font-weight-bold: 700;
|
|
50
|
-
--radius-lg: 0.5rem;
|
|
51
|
-
--radius-xl: 0.75rem;
|
|
52
|
-
--radius-2xl: 1rem;
|
|
53
|
-
--animate-spin: spin 1s linear infinite;
|
|
54
|
-
--blur-sm: 8px;
|
|
55
|
-
--blur-xl: 24px;
|
|
56
|
-
--blur-3xl: 64px;
|
|
57
|
-
--default-transition-duration: 150ms;
|
|
58
|
-
--default-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
59
|
-
--default-font-family: var(--font-sans);
|
|
60
|
-
--default-mono-font-family: var(--font-mono);
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
@layer base {
|
|
64
|
-
*, ::after, ::before, ::backdrop, ::file-selector-button {
|
|
65
|
-
box-sizing: border-box;
|
|
66
|
-
margin: 0;
|
|
67
|
-
padding: 0;
|
|
68
|
-
border: 0 solid;
|
|
69
|
-
}
|
|
70
|
-
html, :host {
|
|
71
|
-
line-height: 1.5;
|
|
72
|
-
-webkit-text-size-adjust: 100%;
|
|
73
|
-
-moz-tab-size: 4;
|
|
74
|
-
-o-tab-size: 4;
|
|
75
|
-
tab-size: 4;
|
|
76
|
-
font-family: var(--default-font-family, ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");
|
|
77
|
-
font-feature-settings: var(--default-font-feature-settings, normal);
|
|
78
|
-
font-variation-settings: var(--default-font-variation-settings, normal);
|
|
79
|
-
-webkit-tap-highlight-color: transparent;
|
|
80
|
-
}
|
|
81
|
-
hr {
|
|
82
|
-
height: 0;
|
|
83
|
-
color: inherit;
|
|
84
|
-
border-top-width: 1px;
|
|
85
|
-
}
|
|
86
|
-
abbr:where([title]) {
|
|
87
|
-
-webkit-text-decoration: underline dotted;
|
|
88
|
-
text-decoration: underline dotted;
|
|
89
|
-
}
|
|
90
|
-
h1, h2, h3, h4, h5, h6 {
|
|
91
|
-
font-size: inherit;
|
|
92
|
-
font-weight: inherit;
|
|
93
|
-
}
|
|
94
|
-
a {
|
|
95
|
-
color: inherit;
|
|
96
|
-
-webkit-text-decoration: inherit;
|
|
97
|
-
text-decoration: inherit;
|
|
98
|
-
}
|
|
99
|
-
b, strong {
|
|
100
|
-
font-weight: bolder;
|
|
101
|
-
}
|
|
102
|
-
code, kbd, samp, pre {
|
|
103
|
-
font-family: var(--default-mono-font-family, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);
|
|
104
|
-
font-feature-settings: var(--default-mono-font-feature-settings, normal);
|
|
105
|
-
font-variation-settings: var(--default-mono-font-variation-settings, normal);
|
|
106
|
-
font-size: 1em;
|
|
107
|
-
}
|
|
108
|
-
small {
|
|
109
|
-
font-size: 80%;
|
|
110
|
-
}
|
|
111
|
-
sub, sup {
|
|
112
|
-
font-size: 75%;
|
|
113
|
-
line-height: 0;
|
|
114
|
-
position: relative;
|
|
115
|
-
vertical-align: baseline;
|
|
116
|
-
}
|
|
117
|
-
sub {
|
|
118
|
-
bottom: -0.25em;
|
|
119
|
-
}
|
|
120
|
-
sup {
|
|
121
|
-
top: -0.5em;
|
|
122
|
-
}
|
|
123
|
-
table {
|
|
124
|
-
text-indent: 0;
|
|
125
|
-
border-color: inherit;
|
|
126
|
-
border-collapse: collapse;
|
|
127
|
-
}
|
|
128
|
-
:-moz-focusring {
|
|
129
|
-
outline: auto;
|
|
130
|
-
}
|
|
131
|
-
progress {
|
|
132
|
-
vertical-align: baseline;
|
|
133
|
-
}
|
|
134
|
-
summary {
|
|
135
|
-
display: list-item;
|
|
136
|
-
}
|
|
137
|
-
ol, ul, menu {
|
|
138
|
-
list-style: none;
|
|
139
|
-
}
|
|
140
|
-
img, svg, video, canvas, audio, iframe, embed, object {
|
|
141
|
-
display: block;
|
|
142
|
-
vertical-align: middle;
|
|
143
|
-
}
|
|
144
|
-
img, video {
|
|
145
|
-
max-width: 100%;
|
|
146
|
-
height: auto;
|
|
147
|
-
}
|
|
148
|
-
button, input, select, optgroup, textarea, ::file-selector-button {
|
|
149
|
-
font: inherit;
|
|
150
|
-
font-feature-settings: inherit;
|
|
151
|
-
font-variation-settings: inherit;
|
|
152
|
-
letter-spacing: inherit;
|
|
153
|
-
color: inherit;
|
|
154
|
-
border-radius: 0;
|
|
155
|
-
background-color: transparent;
|
|
156
|
-
opacity: 1;
|
|
157
|
-
}
|
|
158
|
-
:where(select:is([multiple], [size])) optgroup {
|
|
159
|
-
font-weight: bolder;
|
|
160
|
-
}
|
|
161
|
-
:where(select:is([multiple], [size])) optgroup option {
|
|
162
|
-
padding-inline-start: 20px;
|
|
163
|
-
}
|
|
164
|
-
::file-selector-button {
|
|
165
|
-
margin-inline-end: 4px;
|
|
166
|
-
}
|
|
167
|
-
::-moz-placeholder {
|
|
168
|
-
opacity: 1;
|
|
169
|
-
}
|
|
170
|
-
::placeholder {
|
|
171
|
-
opacity: 1;
|
|
172
|
-
}
|
|
173
|
-
@supports (not (-webkit-appearance: -apple-pay-button)) or (contain-intrinsic-size: 1px) {
|
|
174
|
-
::-moz-placeholder {
|
|
175
|
-
color: currentcolor;
|
|
176
|
-
@supports (color: color-mix(in lab, red, red)) {
|
|
177
|
-
color: color-mix(in oklab, currentcolor 50%, transparent);
|
|
178
|
-
}
|
|
179
|
-
}
|
|
180
|
-
::placeholder {
|
|
181
|
-
color: currentcolor;
|
|
182
|
-
@supports (color: color-mix(in lab, red, red)) {
|
|
183
|
-
color: color-mix(in oklab, currentcolor 50%, transparent);
|
|
184
|
-
}
|
|
185
|
-
}
|
|
186
|
-
}
|
|
187
|
-
textarea {
|
|
188
|
-
resize: vertical;
|
|
189
|
-
}
|
|
190
|
-
::-webkit-search-decoration {
|
|
191
|
-
-webkit-appearance: none;
|
|
192
|
-
}
|
|
193
|
-
::-webkit-date-and-time-value {
|
|
194
|
-
min-height: 1lh;
|
|
195
|
-
text-align: inherit;
|
|
196
|
-
}
|
|
197
|
-
::-webkit-datetime-edit {
|
|
198
|
-
display: inline-flex;
|
|
199
|
-
}
|
|
200
|
-
::-webkit-datetime-edit-fields-wrapper {
|
|
201
|
-
padding: 0;
|
|
202
|
-
}
|
|
203
|
-
::-webkit-datetime-edit, ::-webkit-datetime-edit-year-field, ::-webkit-datetime-edit-month-field, ::-webkit-datetime-edit-day-field, ::-webkit-datetime-edit-hour-field, ::-webkit-datetime-edit-minute-field, ::-webkit-datetime-edit-second-field, ::-webkit-datetime-edit-millisecond-field, ::-webkit-datetime-edit-meridiem-field {
|
|
204
|
-
padding-block: 0;
|
|
205
|
-
}
|
|
206
|
-
::-webkit-calendar-picker-indicator {
|
|
207
|
-
line-height: 1;
|
|
208
|
-
}
|
|
209
|
-
:-moz-ui-invalid {
|
|
210
|
-
box-shadow: none;
|
|
211
|
-
}
|
|
212
|
-
button, input:where([type="button"], [type="reset"], [type="submit"]), ::file-selector-button {
|
|
213
|
-
-webkit-appearance: button;
|
|
214
|
-
-moz-appearance: button;
|
|
215
|
-
appearance: button;
|
|
216
|
-
}
|
|
217
|
-
::-webkit-inner-spin-button, ::-webkit-outer-spin-button {
|
|
218
|
-
height: auto;
|
|
219
|
-
}
|
|
220
|
-
[hidden]:where(:not([hidden="until-found"])) {
|
|
221
|
-
display: none !important;
|
|
222
|
-
}
|
|
223
|
-
}
|
|
224
|
-
@layer utilities {
|
|
225
|
-
.absolute {
|
|
226
|
-
position: absolute;
|
|
227
|
-
}
|
|
228
|
-
.relative {
|
|
229
|
-
position: relative;
|
|
230
|
-
}
|
|
231
|
-
.inset-0 {
|
|
232
|
-
inset: calc(var(--spacing) * 0);
|
|
233
|
-
}
|
|
234
|
-
.top-1\\/4 {
|
|
235
|
-
top: calc(1/4 * 100%);
|
|
236
|
-
}
|
|
237
|
-
.right-1\\/4 {
|
|
238
|
-
right: calc(1/4 * 100%);
|
|
239
|
-
}
|
|
240
|
-
.bottom-1\\/4 {
|
|
241
|
-
bottom: calc(1/4 * 100%);
|
|
242
|
-
}
|
|
243
|
-
.left-1\\/4 {
|
|
244
|
-
left: calc(1/4 * 100%);
|
|
245
|
-
}
|
|
246
|
-
.-z-10 {
|
|
247
|
-
z-index: calc(10 * -1);
|
|
248
|
-
}
|
|
249
|
-
.z-10 {
|
|
250
|
-
z-index: 10;
|
|
251
|
-
}
|
|
252
|
-
.row-start-2 {
|
|
253
|
-
grid-row-start: 2;
|
|
254
|
-
}
|
|
255
|
-
.row-start-3 {
|
|
256
|
-
grid-row-start: 3;
|
|
257
|
-
}
|
|
258
|
-
.mr-2 {
|
|
259
|
-
margin-right: calc(var(--spacing) * 2);
|
|
260
|
-
}
|
|
261
|
-
.mb-2 {
|
|
262
|
-
margin-bottom: calc(var(--spacing) * 2);
|
|
263
|
-
}
|
|
264
|
-
.mb-4 {
|
|
265
|
-
margin-bottom: calc(var(--spacing) * 4);
|
|
266
|
-
}
|
|
267
|
-
.mb-8 {
|
|
268
|
-
margin-bottom: calc(var(--spacing) * 8);
|
|
269
|
-
}
|
|
270
|
-
.flex {
|
|
271
|
-
display: flex;
|
|
272
|
-
}
|
|
273
|
-
.grid {
|
|
274
|
-
display: grid;
|
|
275
|
-
}
|
|
276
|
-
.hidden {
|
|
277
|
-
display: none;
|
|
278
|
-
}
|
|
279
|
-
.h-4 {
|
|
280
|
-
height: calc(var(--spacing) * 4);
|
|
281
|
-
}
|
|
282
|
-
.h-10 {
|
|
283
|
-
height: calc(var(--spacing) * 10);
|
|
284
|
-
}
|
|
285
|
-
.h-72 {
|
|
286
|
-
height: calc(var(--spacing) * 72);
|
|
287
|
-
}
|
|
288
|
-
.h-96 {
|
|
289
|
-
height: calc(var(--spacing) * 96);
|
|
290
|
-
}
|
|
291
|
-
.h-full {
|
|
292
|
-
height: 100%;
|
|
293
|
-
}
|
|
294
|
-
.min-h-screen {
|
|
295
|
-
min-height: 100vh;
|
|
296
|
-
}
|
|
297
|
-
.w-4 {
|
|
298
|
-
width: calc(var(--spacing) * 4);
|
|
299
|
-
}
|
|
300
|
-
.w-40 {
|
|
301
|
-
width: calc(var(--spacing) * 40);
|
|
302
|
-
}
|
|
303
|
-
.w-72 {
|
|
304
|
-
width: calc(var(--spacing) * 72);
|
|
305
|
-
}
|
|
306
|
-
.w-96 {
|
|
307
|
-
width: calc(var(--spacing) * 96);
|
|
308
|
-
}
|
|
309
|
-
.w-full {
|
|
310
|
-
width: 100%;
|
|
311
|
-
}
|
|
312
|
-
.max-w-md {
|
|
313
|
-
max-width: var(--container-md);
|
|
314
|
-
}
|
|
315
|
-
.animate-spin {
|
|
316
|
-
animation: var(--animate-spin);
|
|
317
|
-
}
|
|
318
|
-
.cursor-pointer {
|
|
319
|
-
cursor: pointer;
|
|
320
|
-
}
|
|
321
|
-
.list-inside {
|
|
322
|
-
list-style-position: inside;
|
|
323
|
-
}
|
|
324
|
-
.list-decimal {
|
|
325
|
-
list-style-type: decimal;
|
|
326
|
-
}
|
|
327
|
-
.grid-rows-\\[20px_1fr_20px\\] {
|
|
328
|
-
grid-template-rows: 20px 1fr 20px;
|
|
329
|
-
}
|
|
330
|
-
.flex-col {
|
|
331
|
-
flex-direction: column;
|
|
332
|
-
}
|
|
333
|
-
.flex-wrap {
|
|
334
|
-
flex-wrap: wrap;
|
|
335
|
-
}
|
|
336
|
-
.items-center {
|
|
337
|
-
align-items: center;
|
|
338
|
-
}
|
|
339
|
-
.justify-between {
|
|
340
|
-
justify-content: space-between;
|
|
341
|
-
}
|
|
342
|
-
.justify-center {
|
|
343
|
-
justify-content: center;
|
|
344
|
-
}
|
|
345
|
-
.justify-items-center {
|
|
346
|
-
justify-items: center;
|
|
347
|
-
}
|
|
348
|
-
.gap-2 {
|
|
349
|
-
gap: calc(var(--spacing) * 2);
|
|
350
|
-
}
|
|
351
|
-
.gap-3 {
|
|
352
|
-
gap: calc(var(--spacing) * 3);
|
|
353
|
-
}
|
|
354
|
-
.gap-4 {
|
|
355
|
-
gap: calc(var(--spacing) * 4);
|
|
356
|
-
}
|
|
357
|
-
.gap-16 {
|
|
358
|
-
gap: calc(var(--spacing) * 16);
|
|
359
|
-
}
|
|
360
|
-
.gap-\\[24px\\] {
|
|
361
|
-
gap: 24px;
|
|
362
|
-
}
|
|
363
|
-
.gap-\\[32px\\] {
|
|
364
|
-
gap: 32px;
|
|
365
|
-
}
|
|
366
|
-
.space-y-2 {
|
|
367
|
-
:where(& > :not(:last-child)) {
|
|
368
|
-
--tw-space-y-reverse: 0;
|
|
369
|
-
margin-block-start: calc(calc(var(--spacing) * 2) * var(--tw-space-y-reverse));
|
|
370
|
-
margin-block-end: calc(calc(var(--spacing) * 2) * calc(1 - var(--tw-space-y-reverse)));
|
|
371
|
-
}
|
|
372
|
-
}
|
|
373
|
-
.space-y-6 {
|
|
374
|
-
:where(& > :not(:last-child)) {
|
|
375
|
-
--tw-space-y-reverse: 0;
|
|
376
|
-
margin-block-start: calc(calc(var(--spacing) * 6) * var(--tw-space-y-reverse));
|
|
377
|
-
margin-block-end: calc(calc(var(--spacing) * 6) * calc(1 - var(--tw-space-y-reverse)));
|
|
378
|
-
}
|
|
379
|
-
}
|
|
380
|
-
.self-center {
|
|
381
|
-
align-self: center;
|
|
382
|
-
}
|
|
383
|
-
.overflow-hidden {
|
|
384
|
-
overflow: hidden;
|
|
385
|
-
}
|
|
386
|
-
.rounded {
|
|
387
|
-
border-radius: 0.25rem;
|
|
388
|
-
}
|
|
389
|
-
.rounded-2xl {
|
|
390
|
-
border-radius: var(--radius-2xl);
|
|
391
|
-
}
|
|
392
|
-
.rounded-full {
|
|
393
|
-
border-radius: calc(infinity * 1px);
|
|
394
|
-
}
|
|
395
|
-
.rounded-lg {
|
|
396
|
-
border-radius: var(--radius-lg);
|
|
397
|
-
}
|
|
398
|
-
.rounded-xl {
|
|
399
|
-
border-radius: var(--radius-xl);
|
|
400
|
-
}
|
|
401
|
-
.border {
|
|
402
|
-
border-style: var(--tw-border-style);
|
|
403
|
-
border-width: 1px;
|
|
404
|
-
}
|
|
405
|
-
.border-solid {
|
|
406
|
-
--tw-border-style: solid;
|
|
407
|
-
border-style: solid;
|
|
408
|
-
}
|
|
409
|
-
.border-gray-700 {
|
|
410
|
-
border-color: var(--color-gray-700);
|
|
411
|
-
}
|
|
412
|
-
.border-transparent {
|
|
413
|
-
border-color: transparent;
|
|
414
|
-
}
|
|
415
|
-
.border-white\\/10 {
|
|
416
|
-
border-color: color-mix(in srgb, #fff 10%, transparent);
|
|
417
|
-
@supports (color: color-mix(in lab, red, red)) {
|
|
418
|
-
border-color: color-mix(in oklab, var(--color-white) 10%, transparent);
|
|
419
|
-
}
|
|
420
|
-
}
|
|
421
|
-
.border-white\\/20 {
|
|
422
|
-
border-color: color-mix(in srgb, #fff 20%, transparent);
|
|
423
|
-
@supports (color: color-mix(in lab, red, red)) {
|
|
424
|
-
border-color: color-mix(in oklab, var(--color-white) 20%, transparent);
|
|
425
|
-
}
|
|
426
|
-
}
|
|
427
|
-
.bg-blue-500\\/5 {
|
|
428
|
-
background-color: color-mix(in srgb, oklch(62.3% 0.214 259.815) 5%, transparent);
|
|
429
|
-
@supports (color: color-mix(in lab, red, red)) {
|
|
430
|
-
background-color: color-mix(in oklab, var(--color-blue-500) 5%, transparent);
|
|
431
|
-
}
|
|
432
|
-
}
|
|
433
|
-
.bg-gray-800 {
|
|
434
|
-
background-color: var(--color-gray-800);
|
|
435
|
-
}
|
|
436
|
-
.bg-purple-500\\/10 {
|
|
437
|
-
background-color: color-mix(in srgb, oklch(62.7% 0.265 303.9) 10%, transparent);
|
|
438
|
-
@supports (color: color-mix(in lab, red, red)) {
|
|
439
|
-
background-color: color-mix(in oklab, var(--color-purple-500) 10%, transparent);
|
|
440
|
-
}
|
|
441
|
-
}
|
|
442
|
-
.bg-purple-600 {
|
|
443
|
-
background-color: var(--color-purple-600);
|
|
444
|
-
}
|
|
445
|
-
.bg-red-200 {
|
|
446
|
-
background-color: var(--color-red-200);
|
|
447
|
-
}
|
|
448
|
-
.bg-white\\/5 {
|
|
449
|
-
background-color: color-mix(in srgb, #fff 5%, transparent);
|
|
450
|
-
@supports (color: color-mix(in lab, red, red)) {
|
|
451
|
-
background-color: color-mix(in oklab, var(--color-white) 5%, transparent);
|
|
452
|
-
}
|
|
453
|
-
}
|
|
454
|
-
.bg-gradient-to-r {
|
|
455
|
-
--tw-gradient-position: to right in oklab;
|
|
456
|
-
background-image: linear-gradient(var(--tw-gradient-stops));
|
|
457
|
-
}
|
|
458
|
-
.bg-\\[radial-gradient\\(circle_500px_at_50\\%_200px\\,\\#3e007555\\,transparent\\)\\] {
|
|
459
|
-
background-image: radial-gradient(circle 500px at 50% 200px,#3e007555,transparent);
|
|
460
|
-
}
|
|
461
|
-
.from-black {
|
|
462
|
-
--tw-gradient-from: var(--color-black);
|
|
463
|
-
--tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position));
|
|
464
|
-
}
|
|
465
|
-
.to-gray-500 {
|
|
466
|
-
--tw-gradient-to: var(--color-gray-500);
|
|
467
|
-
--tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position));
|
|
468
|
-
}
|
|
469
|
-
.p-4 {
|
|
470
|
-
padding: calc(var(--spacing) * 4);
|
|
471
|
-
}
|
|
472
|
-
.p-8 {
|
|
473
|
-
padding: calc(var(--spacing) * 8);
|
|
474
|
-
}
|
|
475
|
-
.px-1 {
|
|
476
|
-
padding-inline: calc(var(--spacing) * 1);
|
|
477
|
-
}
|
|
478
|
-
.px-4 {
|
|
479
|
-
padding-inline: calc(var(--spacing) * 4);
|
|
480
|
-
}
|
|
481
|
-
.py-0\\.5 {
|
|
482
|
-
padding-block: calc(var(--spacing) * 0.5);
|
|
483
|
-
}
|
|
484
|
-
.py-3 {
|
|
485
|
-
padding-block: calc(var(--spacing) * 3);
|
|
486
|
-
}
|
|
487
|
-
.pb-20 {
|
|
488
|
-
padding-bottom: calc(var(--spacing) * 20);
|
|
489
|
-
}
|
|
490
|
-
.text-center {
|
|
491
|
-
text-align: center;
|
|
492
|
-
}
|
|
493
|
-
.font-mono {
|
|
494
|
-
font-family: var(--font-mono);
|
|
495
|
-
}
|
|
496
|
-
.font-sans {
|
|
497
|
-
font-family: var(--font-sans);
|
|
498
|
-
}
|
|
499
|
-
.text-2xl {
|
|
500
|
-
font-size: var(--text-2xl);
|
|
501
|
-
line-height: var(--tw-leading, var(--text-2xl--line-height));
|
|
502
|
-
}
|
|
503
|
-
.text-3xl {
|
|
504
|
-
font-size: var(--text-3xl);
|
|
505
|
-
line-height: var(--tw-leading, var(--text-3xl--line-height));
|
|
506
|
-
}
|
|
507
|
-
.text-lg {
|
|
508
|
-
font-size: var(--text-lg);
|
|
509
|
-
line-height: var(--tw-leading, var(--text-lg--line-height));
|
|
510
|
-
}
|
|
511
|
-
.text-sm {
|
|
512
|
-
font-size: var(--text-sm);
|
|
513
|
-
line-height: var(--tw-leading, var(--text-sm--line-height));
|
|
514
|
-
}
|
|
515
|
-
.text-sm\\/6 {
|
|
516
|
-
font-size: var(--text-sm);
|
|
517
|
-
line-height: calc(var(--spacing) * 6);
|
|
518
|
-
}
|
|
519
|
-
.text-xl {
|
|
520
|
-
font-size: var(--text-xl);
|
|
521
|
-
line-height: var(--tw-leading, var(--text-xl--line-height));
|
|
522
|
-
}
|
|
523
|
-
.font-bold {
|
|
524
|
-
--tw-font-weight: var(--font-weight-bold);
|
|
525
|
-
font-weight: var(--font-weight-bold);
|
|
526
|
-
}
|
|
527
|
-
.font-medium {
|
|
528
|
-
--tw-font-weight: var(--font-weight-medium);
|
|
529
|
-
font-weight: var(--font-weight-medium);
|
|
530
|
-
}
|
|
531
|
-
.font-semibold {
|
|
532
|
-
--tw-font-weight: var(--font-weight-semibold);
|
|
533
|
-
font-weight: var(--font-weight-semibold);
|
|
534
|
-
}
|
|
535
|
-
.tracking-\\[-\\.01em\\] {
|
|
536
|
-
--tw-tracking: -.01em;
|
|
537
|
-
letter-spacing: -.01em;
|
|
538
|
-
}
|
|
539
|
-
.text-gray-200 {
|
|
540
|
-
color: var(--color-gray-200);
|
|
541
|
-
}
|
|
542
|
-
.text-gray-300 {
|
|
543
|
-
color: var(--color-gray-300);
|
|
544
|
-
}
|
|
545
|
-
.text-gray-400 {
|
|
546
|
-
color: var(--color-gray-400);
|
|
547
|
-
}
|
|
548
|
-
.text-purple-400 {
|
|
549
|
-
color: var(--color-purple-400);
|
|
550
|
-
}
|
|
551
|
-
.text-purple-500 {
|
|
552
|
-
color: var(--color-purple-500);
|
|
553
|
-
}
|
|
554
|
-
.text-red-800 {
|
|
555
|
-
color: var(--color-red-800);
|
|
556
|
-
}
|
|
557
|
-
.text-white {
|
|
558
|
-
color: var(--color-white);
|
|
559
|
-
}
|
|
560
|
-
.placeholder-gray-400 {
|
|
561
|
-
&::-moz-placeholder {
|
|
562
|
-
color: var(--color-gray-400);
|
|
563
|
-
}
|
|
564
|
-
&::placeholder {
|
|
565
|
-
color: var(--color-gray-400);
|
|
566
|
-
}
|
|
567
|
-
}
|
|
568
|
-
.opacity-25 {
|
|
569
|
-
opacity: 25%;
|
|
570
|
-
}
|
|
571
|
-
.opacity-75 {
|
|
572
|
-
opacity: 75%;
|
|
573
|
-
}
|
|
574
|
-
.shadow-2xl {
|
|
575
|
-
--tw-shadow: 0 25px 50px -12px var(--tw-shadow-color, rgb(0 0 0 / 0.25));
|
|
576
|
-
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
|
577
|
-
}
|
|
578
|
-
.shadow-\\[0_0_15px_-3px_theme\\(colors\\.purple\\.600\\)\\] {
|
|
579
|
-
--tw-shadow: 0 0 15px -3px var(--tw-shadow-color, oklch(55.8% 0.288 302.321));
|
|
580
|
-
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
|
581
|
-
}
|
|
582
|
-
.blur-3xl {
|
|
583
|
-
--tw-blur: blur(var(--blur-3xl));
|
|
584
|
-
filter: var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,);
|
|
585
|
-
}
|
|
586
|
-
.backdrop-blur-sm {
|
|
587
|
-
--tw-backdrop-blur: blur(var(--blur-sm));
|
|
588
|
-
backdrop-filter: var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);
|
|
589
|
-
}
|
|
590
|
-
.backdrop-blur-xl {
|
|
591
|
-
--tw-backdrop-blur: blur(var(--blur-xl));
|
|
592
|
-
backdrop-filter: var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);
|
|
593
|
-
}
|
|
594
|
-
.transition {
|
|
595
|
-
transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to, opacity, box-shadow, transform, translate, scale, rotate, filter, backdrop-filter, display, content-visibility, overlay, pointer-events;
|
|
596
|
-
transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
|
|
597
|
-
transition-duration: var(--tw-duration, var(--default-transition-duration));
|
|
598
|
-
}
|
|
599
|
-
.transition-all {
|
|
600
|
-
transition-property: all;
|
|
601
|
-
transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
|
|
602
|
-
transition-duration: var(--tw-duration, var(--default-transition-duration));
|
|
603
|
-
}
|
|
604
|
-
.transition-colors {
|
|
605
|
-
transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to;
|
|
606
|
-
transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
|
|
607
|
-
transition-duration: var(--tw-duration, var(--default-transition-duration));
|
|
608
|
-
}
|
|
609
|
-
.duration-300 {
|
|
610
|
-
--tw-duration: 300ms;
|
|
611
|
-
transition-duration: 300ms;
|
|
612
|
-
}
|
|
613
|
-
.\\[text-shadow\\:_0_0_12px_theme\\(colors\\.purple\\.500\\)\\] {
|
|
614
|
-
text-shadow: 0 0 12px oklch(62.7% 0.265 303.9);
|
|
615
|
-
}
|
|
616
|
-
.hover\\:border-white\\/30 {
|
|
617
|
-
&:hover {
|
|
618
|
-
@media (hover: hover) {
|
|
619
|
-
border-color: color-mix(in srgb, #fff 30%, transparent);
|
|
620
|
-
@supports (color: color-mix(in lab, red, red)) {
|
|
621
|
-
border-color: color-mix(in oklab, var(--color-white) 30%, transparent);
|
|
622
|
-
}
|
|
623
|
-
}
|
|
624
|
-
}
|
|
625
|
-
}
|
|
626
|
-
.hover\\:bg-purple-500 {
|
|
627
|
-
&:hover {
|
|
628
|
-
@media (hover: hover) {
|
|
629
|
-
background-color: var(--color-purple-500);
|
|
630
|
-
}
|
|
631
|
-
}
|
|
632
|
-
}
|
|
633
|
-
.hover\\:bg-white\\/10 {
|
|
634
|
-
&:hover {
|
|
635
|
-
@media (hover: hover) {
|
|
636
|
-
background-color: color-mix(in srgb, #fff 10%, transparent);
|
|
637
|
-
@supports (color: color-mix(in lab, red, red)) {
|
|
638
|
-
background-color: color-mix(in oklab, var(--color-white) 10%, transparent);
|
|
639
|
-
}
|
|
640
|
-
}
|
|
641
|
-
}
|
|
642
|
-
}
|
|
643
|
-
.hover\\:text-purple-300 {
|
|
644
|
-
&:hover {
|
|
645
|
-
@media (hover: hover) {
|
|
646
|
-
color: var(--color-purple-300);
|
|
647
|
-
}
|
|
648
|
-
}
|
|
649
|
-
}
|
|
650
|
-
.hover\\:text-purple-400 {
|
|
651
|
-
&:hover {
|
|
652
|
-
@media (hover: hover) {
|
|
653
|
-
color: var(--color-purple-400);
|
|
654
|
-
}
|
|
655
|
-
}
|
|
656
|
-
}
|
|
657
|
-
.hover\\:underline {
|
|
658
|
-
&:hover {
|
|
659
|
-
@media (hover: hover) {
|
|
660
|
-
text-decoration-line: underline;
|
|
661
|
-
}
|
|
662
|
-
}
|
|
663
|
-
}
|
|
664
|
-
.hover\\:underline-offset-4 {
|
|
665
|
-
&:hover {
|
|
666
|
-
@media (hover: hover) {
|
|
667
|
-
text-underline-offset: 4px;
|
|
668
|
-
}
|
|
669
|
-
}
|
|
670
|
-
}
|
|
671
|
-
.hover\\:shadow-\\[0_0_25px_-3px_theme\\(colors\\.purple\\.500\\)\\] {
|
|
672
|
-
&:hover {
|
|
673
|
-
@media (hover: hover) {
|
|
674
|
-
--tw-shadow: 0 0 25px -3px var(--tw-shadow-color, oklch(62.7% 0.265 303.9));
|
|
675
|
-
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
|
676
|
-
}
|
|
677
|
-
}
|
|
678
|
-
}
|
|
679
|
-
.focus\\:border-purple-500\\/50 {
|
|
680
|
-
&:focus {
|
|
681
|
-
border-color: color-mix(in srgb, oklch(62.7% 0.265 303.9) 50%, transparent);
|
|
682
|
-
@supports (color: color-mix(in lab, red, red)) {
|
|
683
|
-
border-color: color-mix(in oklab, var(--color-purple-500) 50%, transparent);
|
|
684
|
-
}
|
|
685
|
-
}
|
|
686
|
-
}
|
|
687
|
-
.focus\\:ring-2 {
|
|
688
|
-
&:focus {
|
|
689
|
-
--tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
|
|
690
|
-
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
|
691
|
-
}
|
|
692
|
-
}
|
|
693
|
-
.focus\\:ring-purple-500\\/20 {
|
|
694
|
-
&:focus {
|
|
695
|
-
--tw-ring-color: color-mix(in srgb, oklch(62.7% 0.265 303.9) 20%, transparent);
|
|
696
|
-
@supports (color: color-mix(in lab, red, red)) {
|
|
697
|
-
--tw-ring-color: color-mix(in oklab, var(--color-purple-500) 20%, transparent);
|
|
698
|
-
}
|
|
699
|
-
}
|
|
700
|
-
}
|
|
701
|
-
.focus\\:outline-none {
|
|
702
|
-
&:focus {
|
|
703
|
-
--tw-outline-style: none;
|
|
704
|
-
outline-style: none;
|
|
705
|
-
}
|
|
706
|
-
}
|
|
707
|
-
.disabled\\:cursor-not-allowed {
|
|
708
|
-
&:disabled {
|
|
709
|
-
cursor: not-allowed;
|
|
710
|
-
}
|
|
711
|
-
}
|
|
712
|
-
.disabled\\:opacity-50 {
|
|
713
|
-
&:disabled {
|
|
714
|
-
opacity: 50%;
|
|
715
|
-
}
|
|
716
|
-
}
|
|
717
|
-
.sm\\:h-12 {
|
|
718
|
-
@media (width >= 40rem) {
|
|
719
|
-
height: calc(var(--spacing) * 12);
|
|
720
|
-
}
|
|
721
|
-
}
|
|
722
|
-
.sm\\:w-auto {
|
|
723
|
-
@media (width >= 40rem) {
|
|
724
|
-
width: auto;
|
|
725
|
-
}
|
|
726
|
-
}
|
|
727
|
-
.sm\\:flex-row {
|
|
728
|
-
@media (width >= 40rem) {
|
|
729
|
-
flex-direction: row;
|
|
730
|
-
}
|
|
731
|
-
}
|
|
732
|
-
.sm\\:items-start {
|
|
733
|
-
@media (width >= 40rem) {
|
|
734
|
-
align-items: flex-start;
|
|
735
|
-
}
|
|
736
|
-
}
|
|
737
|
-
.sm\\:p-20 {
|
|
738
|
-
@media (width >= 40rem) {
|
|
739
|
-
padding: calc(var(--spacing) * 20);
|
|
740
|
-
}
|
|
741
|
-
}
|
|
742
|
-
.sm\\:px-5 {
|
|
743
|
-
@media (width >= 40rem) {
|
|
744
|
-
padding-inline: calc(var(--spacing) * 5);
|
|
745
|
-
}
|
|
746
|
-
}
|
|
747
|
-
.sm\\:text-left {
|
|
748
|
-
@media (width >= 40rem) {
|
|
749
|
-
text-align: left;
|
|
750
|
-
}
|
|
751
|
-
}
|
|
752
|
-
.sm\\:text-base {
|
|
753
|
-
@media (width >= 40rem) {
|
|
754
|
-
font-size: var(--text-base);
|
|
755
|
-
line-height: var(--tw-leading, var(--text-base--line-height));
|
|
756
|
-
}
|
|
757
|
-
}
|
|
758
|
-
.md\\:w-\\[158px\\] {
|
|
759
|
-
@media (width >= 48rem) {
|
|
760
|
-
width: 158px;
|
|
761
|
-
}
|
|
762
|
-
}
|
|
763
|
-
}
|
|
764
|
-
body {
|
|
765
|
-
--tw-gradient-position: to right in oklab;
|
|
766
|
-
background-image: linear-gradient(var(--tw-gradient-stops));
|
|
767
|
-
--tw-gradient-from: var(--color-black);
|
|
768
|
-
--tw-gradient-to: var(--color-gray-500);
|
|
769
|
-
--tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position));
|
|
770
|
-
}
|
|
771
|
-
@property --tw-space-y-reverse {
|
|
772
|
-
syntax: "*";
|
|
773
|
-
inherits: false;
|
|
774
|
-
initial-value: 0;
|
|
775
|
-
}
|
|
776
|
-
@property --tw-border-style {
|
|
777
|
-
syntax: "*";
|
|
778
|
-
inherits: false;
|
|
779
|
-
initial-value: solid;
|
|
780
|
-
}
|
|
781
|
-
@property --tw-gradient-position {
|
|
782
|
-
syntax: "*";
|
|
783
|
-
inherits: false;
|
|
784
|
-
}
|
|
785
|
-
@property --tw-gradient-from {
|
|
786
|
-
syntax: "<color>";
|
|
787
|
-
inherits: false;
|
|
788
|
-
initial-value: #0000;
|
|
789
|
-
}
|
|
790
|
-
@property --tw-gradient-via {
|
|
791
|
-
syntax: "<color>";
|
|
792
|
-
inherits: false;
|
|
793
|
-
initial-value: #0000;
|
|
794
|
-
}
|
|
795
|
-
@property --tw-gradient-to {
|
|
796
|
-
syntax: "<color>";
|
|
797
|
-
inherits: false;
|
|
798
|
-
initial-value: #0000;
|
|
799
|
-
}
|
|
800
|
-
@property --tw-gradient-stops {
|
|
801
|
-
syntax: "*";
|
|
802
|
-
inherits: false;
|
|
803
|
-
}
|
|
804
|
-
@property --tw-gradient-via-stops {
|
|
805
|
-
syntax: "*";
|
|
806
|
-
inherits: false;
|
|
807
|
-
}
|
|
808
|
-
@property --tw-gradient-from-position {
|
|
809
|
-
syntax: "<length-percentage>";
|
|
810
|
-
inherits: false;
|
|
811
|
-
initial-value: 0%;
|
|
812
|
-
}
|
|
813
|
-
@property --tw-gradient-via-position {
|
|
814
|
-
syntax: "<length-percentage>";
|
|
815
|
-
inherits: false;
|
|
816
|
-
initial-value: 50%;
|
|
817
|
-
}
|
|
818
|
-
@property --tw-gradient-to-position {
|
|
819
|
-
syntax: "<length-percentage>";
|
|
820
|
-
inherits: false;
|
|
821
|
-
initial-value: 100%;
|
|
822
|
-
}
|
|
823
|
-
@property --tw-font-weight {
|
|
824
|
-
syntax: "*";
|
|
825
|
-
inherits: false;
|
|
826
|
-
}
|
|
827
|
-
@property --tw-tracking {
|
|
828
|
-
syntax: "*";
|
|
829
|
-
inherits: false;
|
|
830
|
-
}
|
|
831
|
-
@property --tw-shadow {
|
|
832
|
-
syntax: "*";
|
|
833
|
-
inherits: false;
|
|
834
|
-
initial-value: 0 0 #0000;
|
|
835
|
-
}
|
|
836
|
-
@property --tw-shadow-color {
|
|
837
|
-
syntax: "*";
|
|
838
|
-
inherits: false;
|
|
839
|
-
}
|
|
840
|
-
@property --tw-shadow-alpha {
|
|
841
|
-
syntax: "<percentage>";
|
|
842
|
-
inherits: false;
|
|
843
|
-
initial-value: 100%;
|
|
844
|
-
}
|
|
845
|
-
@property --tw-inset-shadow {
|
|
846
|
-
syntax: "*";
|
|
847
|
-
inherits: false;
|
|
848
|
-
initial-value: 0 0 #0000;
|
|
849
|
-
}
|
|
850
|
-
@property --tw-inset-shadow-color {
|
|
851
|
-
syntax: "*";
|
|
852
|
-
inherits: false;
|
|
853
|
-
}
|
|
854
|
-
@property --tw-inset-shadow-alpha {
|
|
855
|
-
syntax: "<percentage>";
|
|
856
|
-
inherits: false;
|
|
857
|
-
initial-value: 100%;
|
|
858
|
-
}
|
|
859
|
-
@property --tw-ring-color {
|
|
860
|
-
syntax: "*";
|
|
861
|
-
inherits: false;
|
|
862
|
-
}
|
|
863
|
-
@property --tw-ring-shadow {
|
|
864
|
-
syntax: "*";
|
|
865
|
-
inherits: false;
|
|
866
|
-
initial-value: 0 0 #0000;
|
|
867
|
-
}
|
|
868
|
-
@property --tw-inset-ring-color {
|
|
869
|
-
syntax: "*";
|
|
870
|
-
inherits: false;
|
|
871
|
-
}
|
|
872
|
-
@property --tw-inset-ring-shadow {
|
|
873
|
-
syntax: "*";
|
|
874
|
-
inherits: false;
|
|
875
|
-
initial-value: 0 0 #0000;
|
|
876
|
-
}
|
|
877
|
-
@property --tw-ring-inset {
|
|
878
|
-
syntax: "*";
|
|
879
|
-
inherits: false;
|
|
880
|
-
}
|
|
881
|
-
@property --tw-ring-offset-width {
|
|
882
|
-
syntax: "<length>";
|
|
883
|
-
inherits: false;
|
|
884
|
-
initial-value: 0px;
|
|
885
|
-
}
|
|
886
|
-
@property --tw-ring-offset-color {
|
|
887
|
-
syntax: "*";
|
|
888
|
-
inherits: false;
|
|
889
|
-
initial-value: #fff;
|
|
890
|
-
}
|
|
891
|
-
@property --tw-ring-offset-shadow {
|
|
892
|
-
syntax: "*";
|
|
893
|
-
inherits: false;
|
|
894
|
-
initial-value: 0 0 #0000;
|
|
895
|
-
}
|
|
896
|
-
@property --tw-blur {
|
|
897
|
-
syntax: "*";
|
|
898
|
-
inherits: false;
|
|
899
|
-
}
|
|
900
|
-
@property --tw-brightness {
|
|
901
|
-
syntax: "*";
|
|
902
|
-
inherits: false;
|
|
903
|
-
}
|
|
904
|
-
@property --tw-contrast {
|
|
905
|
-
syntax: "*";
|
|
906
|
-
inherits: false;
|
|
907
|
-
}
|
|
908
|
-
@property --tw-grayscale {
|
|
909
|
-
syntax: "*";
|
|
910
|
-
inherits: false;
|
|
911
|
-
}
|
|
912
|
-
@property --tw-hue-rotate {
|
|
913
|
-
syntax: "*";
|
|
914
|
-
inherits: false;
|
|
915
|
-
}
|
|
916
|
-
@property --tw-invert {
|
|
917
|
-
syntax: "*";
|
|
918
|
-
inherits: false;
|
|
919
|
-
}
|
|
920
|
-
@property --tw-opacity {
|
|
921
|
-
syntax: "*";
|
|
922
|
-
inherits: false;
|
|
923
|
-
}
|
|
924
|
-
@property --tw-saturate {
|
|
925
|
-
syntax: "*";
|
|
926
|
-
inherits: false;
|
|
927
|
-
}
|
|
928
|
-
@property --tw-sepia {
|
|
929
|
-
syntax: "*";
|
|
930
|
-
inherits: false;
|
|
931
|
-
}
|
|
932
|
-
@property --tw-drop-shadow {
|
|
933
|
-
syntax: "*";
|
|
934
|
-
inherits: false;
|
|
935
|
-
}
|
|
936
|
-
@property --tw-drop-shadow-color {
|
|
937
|
-
syntax: "*";
|
|
938
|
-
inherits: false;
|
|
939
|
-
}
|
|
940
|
-
@property --tw-drop-shadow-alpha {
|
|
941
|
-
syntax: "<percentage>";
|
|
942
|
-
inherits: false;
|
|
943
|
-
initial-value: 100%;
|
|
944
|
-
}
|
|
945
|
-
@property --tw-drop-shadow-size {
|
|
946
|
-
syntax: "*";
|
|
947
|
-
inherits: false;
|
|
948
|
-
}
|
|
949
|
-
@property --tw-backdrop-blur {
|
|
950
|
-
syntax: "*";
|
|
951
|
-
inherits: false;
|
|
952
|
-
}
|
|
953
|
-
@property --tw-backdrop-brightness {
|
|
954
|
-
syntax: "*";
|
|
955
|
-
inherits: false;
|
|
956
|
-
}
|
|
957
|
-
@property --tw-backdrop-contrast {
|
|
958
|
-
syntax: "*";
|
|
959
|
-
inherits: false;
|
|
960
|
-
}
|
|
961
|
-
@property --tw-backdrop-grayscale {
|
|
962
|
-
syntax: "*";
|
|
963
|
-
inherits: false;
|
|
964
|
-
}
|
|
965
|
-
@property --tw-backdrop-hue-rotate {
|
|
966
|
-
syntax: "*";
|
|
967
|
-
inherits: false;
|
|
968
|
-
}
|
|
969
|
-
@property --tw-backdrop-invert {
|
|
970
|
-
syntax: "*";
|
|
971
|
-
inherits: false;
|
|
972
|
-
}
|
|
973
|
-
@property --tw-backdrop-opacity {
|
|
974
|
-
syntax: "*";
|
|
975
|
-
inherits: false;
|
|
976
|
-
}
|
|
977
|
-
@property --tw-backdrop-saturate {
|
|
978
|
-
syntax: "*";
|
|
979
|
-
inherits: false;
|
|
980
|
-
}
|
|
981
|
-
@property --tw-backdrop-sepia {
|
|
982
|
-
syntax: "*";
|
|
983
|
-
inherits: false;
|
|
984
|
-
}
|
|
985
|
-
@property --tw-duration {
|
|
986
|
-
syntax: "*";
|
|
987
|
-
inherits: false;
|
|
988
|
-
}
|
|
989
|
-
@keyframes spin {
|
|
990
|
-
to {
|
|
991
|
-
transform: rotate(360deg);
|
|
992
|
-
}
|
|
993
|
-
}
|
|
994
|
-
@layer properties {
|
|
995
|
-
@supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {
|
|
996
|
-
*, ::before, ::after, ::backdrop {
|
|
997
|
-
--tw-space-y-reverse: 0;
|
|
998
|
-
--tw-border-style: solid;
|
|
999
|
-
--tw-gradient-position: initial;
|
|
1000
|
-
--tw-gradient-from: #0000;
|
|
1001
|
-
--tw-gradient-via: #0000;
|
|
1002
|
-
--tw-gradient-to: #0000;
|
|
1003
|
-
--tw-gradient-stops: initial;
|
|
1004
|
-
--tw-gradient-via-stops: initial;
|
|
1005
|
-
--tw-gradient-from-position: 0%;
|
|
1006
|
-
--tw-gradient-via-position: 50%;
|
|
1007
|
-
--tw-gradient-to-position: 100%;
|
|
1008
|
-
--tw-font-weight: initial;
|
|
1009
|
-
--tw-tracking: initial;
|
|
1010
|
-
--tw-shadow: 0 0 #0000;
|
|
1011
|
-
--tw-shadow-color: initial;
|
|
1012
|
-
--tw-shadow-alpha: 100%;
|
|
1013
|
-
--tw-inset-shadow: 0 0 #0000;
|
|
1014
|
-
--tw-inset-shadow-color: initial;
|
|
1015
|
-
--tw-inset-shadow-alpha: 100%;
|
|
1016
|
-
--tw-ring-color: initial;
|
|
1017
|
-
--tw-ring-shadow: 0 0 #0000;
|
|
1018
|
-
--tw-inset-ring-color: initial;
|
|
1019
|
-
--tw-inset-ring-shadow: 0 0 #0000;
|
|
1020
|
-
--tw-ring-inset: initial;
|
|
1021
|
-
--tw-ring-offset-width: 0px;
|
|
1022
|
-
--tw-ring-offset-color: #fff;
|
|
1023
|
-
--tw-ring-offset-shadow: 0 0 #0000;
|
|
1024
|
-
--tw-blur: initial;
|
|
1025
|
-
--tw-brightness: initial;
|
|
1026
|
-
--tw-contrast: initial;
|
|
1027
|
-
--tw-grayscale: initial;
|
|
1028
|
-
--tw-hue-rotate: initial;
|
|
1029
|
-
--tw-invert: initial;
|
|
1030
|
-
--tw-opacity: initial;
|
|
1031
|
-
--tw-saturate: initial;
|
|
1032
|
-
--tw-sepia: initial;
|
|
1033
|
-
--tw-drop-shadow: initial;
|
|
1034
|
-
--tw-drop-shadow-color: initial;
|
|
1035
|
-
--tw-drop-shadow-alpha: 100%;
|
|
1036
|
-
--tw-drop-shadow-size: initial;
|
|
1037
|
-
--tw-backdrop-blur: initial;
|
|
1038
|
-
--tw-backdrop-brightness: initial;
|
|
1039
|
-
--tw-backdrop-contrast: initial;
|
|
1040
|
-
--tw-backdrop-grayscale: initial;
|
|
1041
|
-
--tw-backdrop-hue-rotate: initial;
|
|
1042
|
-
--tw-backdrop-invert: initial;
|
|
1043
|
-
--tw-backdrop-opacity: initial;
|
|
1044
|
-
--tw-backdrop-saturate: initial;
|
|
1045
|
-
--tw-backdrop-sepia: initial;
|
|
1046
|
-
--tw-duration: initial;
|
|
1047
|
-
}
|
|
1048
|
-
}
|
|
1049
|
-
}`;if(typeof document<"u"){let t=document.createElement("style");t.textContent=nT,document.head.appendChild(t)}var cr=z(ee(),1),qe=z(G(),1);var $p=z(G(),1),ma=(0,$p.createContext)({});var th=z(G(),1);function da(t){let e=(0,th.useRef)(null);return e.current===null&&(e.current=t()),e.current}o(da,"useConstant");var Ml=z(G(),1);var pa=typeof window<"u";var Dl=pa?Ml.useLayoutEffect:Ml.useEffect;var Tf=z(ee(),1),u0=z(G(),1),sr=z(G(),1);var eh=z(G(),1),Nn=(0,eh.createContext)(null);var l0=z(ee(),1);function Si(t,e){t.indexOf(e)===-1&&t.push(e)}o(Si,"addUniqueItem");function Ti(t,e){let n=t.indexOf(e);n>-1&&t.splice(n,1)}o(Ti,"removeItem");var At=o((t,e,n)=>n>e?e:n<t?t:n,"clamp");var Ie=o(()=>{},"warning"),ge=o(()=>{},"invariant");var Lt={};var Ro=o(t=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(t),"isNumericalString");function Bo(t){return typeof t=="object"&&t!==null}o(Bo,"isObject");var Uo=o(t=>/^0[^.\s]+$/u.test(t),"isZeroValueString");function wi(t){let e;return()=>(e===void 0&&(e=t()),e)}o(wi,"memo");var st=o(t=>t,"noop");var iT=o((t,e)=>n=>e(t(n)),"combineFunctions"),ze=o((...t)=>t.reduce(iT),"pipe");var He=o((t,e,n)=>{let i=e-t;return i===0?1:(n-t)/i},"progress");var $e=class{static{o(this,"SubscriptionManager")}constructor(){this.subscriptions=[]}add(e){return Si(this.subscriptions,e),()=>Ti(this.subscriptions,e)}notify(e,n,i){let a=this.subscriptions.length;if(a)if(a===1)this.subscriptions[0](e,n,i);else for(let r=0;r<a;r++){let l=this.subscriptions[r];l&&l(e,n,i)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}};var xt=o(t=>t*1e3,"secondsToMilliseconds"),bt=o(t=>t/1e3,"millisecondsToSeconds");function Lo(t,e){return e?t*(1e3/e):0}o(Lo,"velocityPerSecond");var nh=o((t,e,n)=>(((1-3*n+3*e)*t+(3*n-6*e))*t+3*e)*t,"calcBezier"),aT=1e-7,oT=12;function rT(t,e,n,i,a){let r,l,s=0;do l=e+(n-e)/2,r=nh(l,i,a)-t,r>0?n=l:e=l;while(Math.abs(r)>aT&&++s<oT);return l}o(rT,"binarySubdivide");function Rn(t,e,n,i){if(t===e&&n===i)return st;let a=o(r=>rT(r,0,1,t,n),"getTForX");return r=>r===0||r===1?r:nh(a(r),e,i)}o(Rn,"cubicBezier");var Cl=o(t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2,"mirrorEasing");var Vl=o(t=>e=>1-t(1-e),"reverseEasing");var Ol=Rn(.33,1.53,.69,.99),ha=Vl(Ol),jo=Cl(ha);var Ho=o(t=>(t*=2)<1?.5*ha(t):.5*(2-Math.pow(2,-10*(t-1))),"anticipate");var Go=o(t=>1-Math.sin(Math.acos(t)),"circIn"),Yo=Vl(Go),qo=Cl(Go);var Gc=Rn(.42,0,1,1),Yc=Rn(0,0,.58,1),Xo=Rn(.42,0,.58,1);var qc=o(t=>Array.isArray(t)&&typeof t[0]!="number","isEasingArray");var ko=o(t=>Array.isArray(t)&&typeof t[0]=="number","isBezierDefinition");var ih={linear:st,easeIn:Gc,easeInOut:Xo,easeOut:Yc,circIn:Go,circInOut:qo,circOut:Yo,backIn:ha,backInOut:jo,backOut:Ol,anticipate:Ho},lT=o(t=>typeof t=="string","isValidEasing"),zl=o(t=>{if(ko(t)){ge(t.length===4,"Cubic bezier arrays must contain four numerical values.","cubic-bezier-length");let[e,n,i,a]=t;return Rn(e,n,i,a)}else if(lT(t))return ge(ih[t]!==void 0,`Invalid easing type '${t}'`,"invalid-easing-type"),ih[t];return t},"easingDefinitionToFunction");var Zo=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];var kt={value:null,addProjectionMetrics:null};function ah(t,e){let n=new Set,i=new Set,a=!1,r=!1,l=new WeakSet,s={delta:0,timestamp:0,isProcessing:!1},u=0;function c(m){l.has(m)&&(f.schedule(m),t()),u++,m(s)}o(c,"triggerCallback");let f={schedule:o((m,d=!1,p=!1)=>{let b=p&&a?n:i;return d&&l.add(m),b.has(m)||b.add(m),m},"schedule"),cancel:o(m=>{i.delete(m),l.delete(m)},"cancel"),process:o(m=>{if(s=m,a){r=!0;return}a=!0,[n,i]=[i,n],n.forEach(c),e&&kt.value&&kt.value.frameloop[e].push(u),u=0,n.clear(),a=!1,r&&(r=!1,f.process(m))},"process")};return f}o(ah,"createRenderStep");var sT=40;function _l(t,e){let n=!1,i=!0,a={delta:0,timestamp:0,isProcessing:!1},r=o(()=>n=!0,"flagRunNextFrame"),l=Zo.reduce((y,x)=>(y[x]=ah(r,e?x:void 0),y),{}),{setup:s,read:u,resolveKeyframes:c,preUpdate:f,update:m,preRender:d,render:p,postRender:v}=l,b=o(()=>{let y=Lt.useManualTiming?a.timestamp:performance.now();n=!1,Lt.useManualTiming||(a.delta=i?1e3/60:Math.max(Math.min(y-a.timestamp,sT),1)),a.timestamp=y,a.isProcessing=!0,s.process(a),u.process(a),c.process(a),f.process(a),m.process(a),d.process(a),p.process(a),v.process(a),a.isProcessing=!1,n&&e&&(i=!1,t(b))},"processBatch"),A=o(()=>{n=!0,i=!0,a.isProcessing||t(b)},"wake");return{schedule:Zo.reduce((y,x)=>{let T=l[x];return y[x]=(M,w=!1,E=!1)=>(n||A(),T.schedule(M,w,E)),y},{}),cancel:o(y=>{for(let x=0;x<Zo.length;x++)l[Zo[x]].cancel(y)},"cancel"),state:a,steps:l}}o(_l,"createRenderBatcher");var{schedule:B,cancel:Zt,state:ut,steps:Qo}=_l(typeof requestAnimationFrame<"u"?requestAnimationFrame:st,!0);var Nl;function uT(){Nl=void 0}o(uT,"clearTime");var ct={now:o(()=>(Nl===void 0&&ct.set(ut.isProcessing||Lt.useManualTiming?ut.timestamp:performance.now()),Nl),"now"),set:o(t=>{Nl=t,queueMicrotask(uT)},"set")};var _e={layout:0,mainThread:0,waapi:0};var oh=o(t=>e=>typeof e=="string"&&e.startsWith(t),"checkStringStartsWith"),Ai=oh("--"),cT=oh("var(--"),Ei=o(t=>cT(t)?fT.test(t.split("/*")[0].trim()):!1,"isCSSVariableToken"),fT=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;var Ge={test:o(t=>typeof t=="number","test"),parse:parseFloat,transform:o(t=>t,"transform")},tn={...Ge,transform:o(t=>At(0,1,t),"transform")},Ko={...Ge,default:1};var Bn=o(t=>Math.round(t*1e5)/1e5,"sanitize");var ga=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function rh(t){return t==null}o(rh,"isNullish");var lh=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu;var ya=o((t,e)=>n=>!!(typeof n=="string"&&lh.test(n)&&n.startsWith(t)||e&&!rh(n)&&Object.prototype.hasOwnProperty.call(n,e)),"isColorString"),Rl=o((t,e,n)=>i=>{if(typeof i!="string")return i;let[a,r,l,s]=i.match(ga);return{[t]:parseFloat(a),[e]:parseFloat(r),[n]:parseFloat(l),alpha:s!==void 0?parseFloat(s):1}},"splitColor");var mT=o(t=>At(0,255,t),"clampRgbUnit"),Xc={...Ge,transform:o(t=>Math.round(mT(t)),"transform")},Ye={test:ya("rgb","red"),parse:Rl("red","green","blue"),transform:o(({red:t,green:e,blue:n,alpha:i=1})=>"rgba("+Xc.transform(t)+", "+Xc.transform(e)+", "+Xc.transform(n)+", "+Bn(tn.transform(i))+")","transform")};function dT(t){let e="",n="",i="",a="";return t.length>5?(e=t.substring(1,3),n=t.substring(3,5),i=t.substring(5,7),a=t.substring(7,9)):(e=t.substring(1,2),n=t.substring(2,3),i=t.substring(3,4),a=t.substring(4,5),e+=e,n+=n,i+=i,a+=a),{red:parseInt(e,16),green:parseInt(n,16),blue:parseInt(i,16),alpha:a?parseInt(a,16)/255:1}}o(dT,"parseHex");var Po={test:ya("#"),parse:dT,transform:Ye.transform};var Jo=o(t=>({test:o(e=>typeof e=="string"&&e.endsWith(t)&&e.split(" ").length===1,"test"),parse:parseFloat,transform:o(e=>`${e}${t}`,"transform")}),"createUnitType"),Ne=Jo("deg"),jt=Jo("%"),D=Jo("px"),kc=Jo("vh"),Zc=Jo("vw"),Bl={...jt,parse:o(t=>jt.parse(t)/100,"parse"),transform:o(t=>jt.transform(t*100),"transform")};var Un={test:ya("hsl","hue"),parse:Rl("hue","saturation","lightness"),transform:o(({hue:t,saturation:e,lightness:n,alpha:i=1})=>"hsla("+Math.round(t)+", "+jt.transform(Bn(e))+", "+jt.transform(Bn(n))+", "+Bn(tn.transform(i))+")","transform")};var at={test:o(t=>Ye.test(t)||Po.test(t)||Un.test(t),"test"),parse:o(t=>Ye.test(t)?Ye.parse(t):Un.test(t)?Un.parse(t):Po.parse(t),"parse"),transform:o(t=>typeof t=="string"?t:t.hasOwnProperty("red")?Ye.transform(t):Un.transform(t),"transform"),getAnimatableNone:o(t=>{let e=at.parse(t);return e.alpha=0,at.transform(e)},"getAnimatableNone")};var sh=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function pT(t){return isNaN(t)&&typeof t=="string"&&(t.match(ga)?.length||0)+(t.match(sh)?.length||0)>0}o(pT,"test");var ch="number",fh="color",hT="var",gT="var(",uh="${}",yT=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function Ln(t){let e=t.toString(),n=[],i={color:[],number:[],var:[]},a=[],r=0,s=e.replace(yT,u=>(at.test(u)?(i.color.push(r),a.push(fh),n.push(at.parse(u))):u.startsWith(gT)?(i.var.push(r),a.push(hT),n.push(u)):(i.number.push(r),a.push(ch),n.push(parseFloat(u))),++r,uh)).split(uh);return{values:n,split:s,indexes:i,types:a}}o(Ln,"analyseComplexValue");function mh(t){return Ln(t).values}o(mh,"parseComplexValue");function dh(t){let{split:e,types:n}=Ln(t),i=e.length;return a=>{let r="";for(let l=0;l<i;l++)if(r+=e[l],a[l]!==void 0){let s=n[l];s===ch?r+=Bn(a[l]):s===fh?r+=at.transform(a[l]):r+=a[l]}return r}}o(dh,"createTransformer");var vT=o(t=>typeof t=="number"?0:at.test(t)?at.getAnimatableNone(t):t,"convertNumbersToZero");function xT(t){let e=mh(t);return dh(t)(e.map(vT))}o(xT,"getAnimatableNone");var Ht={test:pT,parse:mh,createTransformer:dh,getAnimatableNone:xT};function Qc(t,e,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?t+(e-t)*6*n:n<1/2?e:n<2/3?t+(e-t)*(2/3-n)*6:t}o(Qc,"hueToRgb");function ph({hue:t,saturation:e,lightness:n,alpha:i}){t/=360,e/=100,n/=100;let a=0,r=0,l=0;if(!e)a=r=l=n;else{let s=n<.5?n*(1+e):n+e-n*e,u=2*n-s;a=Qc(u,s,t+1/3),r=Qc(u,s,t),l=Qc(u,s,t-1/3)}return{red:Math.round(a*255),green:Math.round(r*255),blue:Math.round(l*255),alpha:i}}o(ph,"hslaToRgba");function va(t,e){return n=>n>0?e:t}o(va,"mixImmediate");var j=o((t,e,n)=>t+(e-t)*n,"mixNumber");var Kc=o((t,e,n)=>{let i=t*t,a=n*(e*e-i)+i;return a<0?0:Math.sqrt(a)},"mixLinearColor"),bT=[Po,Ye,Un],ST=o(t=>bT.find(e=>e.test(t)),"getColorType");function hh(t){let e=ST(t);if(Ie(!!e,`'${t}' is not an animatable color. Use the equivalent color code instead.`,"color-not-animatable"),!e)return!1;let n=e.parse(t);return e===Un&&(n=ph(n)),n}o(hh,"asRGBA");var Pc=o((t,e)=>{let n=hh(t),i=hh(e);if(!n||!i)return va(t,e);let a={...n};return r=>(a.red=Kc(n.red,i.red,r),a.green=Kc(n.green,i.green,r),a.blue=Kc(n.blue,i.blue,r),a.alpha=j(n.alpha,i.alpha,r),Ye.transform(a))},"mixColor");var Ul=new Set(["none","hidden"]);function gh(t,e){return Ul.has(t)?n=>n<=0?t:e:n=>n>=1?e:t}o(gh,"mixVisibility");function TT(t,e){return n=>j(t,e,n)}o(TT,"mixNumber");function Ll(t){return typeof t=="number"?TT:typeof t=="string"?Ei(t)?va:at.test(t)?Pc:ET:Array.isArray(t)?yh:typeof t=="object"?at.test(t)?Pc:wT:va}o(Ll,"getMixer");function yh(t,e){let n=[...t],i=n.length,a=t.map((r,l)=>Ll(r)(r,e[l]));return r=>{for(let l=0;l<i;l++)n[l]=a[l](r);return n}}o(yh,"mixArray");function wT(t,e){let n={...t,...e},i={};for(let a in n)t[a]!==void 0&&e[a]!==void 0&&(i[a]=Ll(t[a])(t[a],e[a]));return a=>{for(let r in i)n[r]=i[r](a);return n}}o(wT,"mixObject");function AT(t,e){let n=[],i={color:0,var:0,number:0};for(let a=0;a<e.values.length;a++){let r=e.types[a],l=t.indexes[r][i[r]],s=t.values[l]??0;n[a]=s,i[r]++}return n}o(AT,"matchOrder");var ET=o((t,e)=>{let n=Ht.createTransformer(e),i=Ln(t),a=Ln(e);return i.indexes.var.length===a.indexes.var.length&&i.indexes.color.length===a.indexes.color.length&&i.indexes.number.length>=a.indexes.number.length?Ul.has(t)&&!a.values.length||Ul.has(e)&&!i.values.length?gh(t,e):ze(yh(AT(i,a),a.values),n):(Ie(!0,`Complex values '${t}' and '${e}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`,"complex-values-different"),va(t,e))},"mixComplex");function jl(t,e,n){return typeof t=="number"&&typeof e=="number"&&typeof n=="number"?j(t,e,n):Ll(t)(t,e)}o(jl,"mix");var vh=o(t=>{let e=o(({timestamp:n})=>t(n),"passTimestamp");return{start:o((n=!0)=>B.update(e,n),"start"),stop:o(()=>Zt(e),"stop"),now:o(()=>ut.isProcessing?ut.timestamp:ct.now(),"now")}},"frameloopDriver");var Hl=o((t,e,n=10)=>{let i="",a=Math.max(Math.round(e/n),2);for(let r=0;r<a;r++)i+=Math.round(t(r/(a-1))*1e4)/1e4+", ";return`linear(${i.substring(0,i.length-2)})`},"generateLinearEasing");function xa(t){let e=0,n=50,i=t.next(e);for(;!i.done&&e<2e4;)e+=n,i=t.next(e);return e>=2e4?1/0:e}o(xa,"calcGeneratorDuration");function xh(t,e=100,n){let i=n({...t,keyframes:[0,e]}),a=Math.min(xa(i),2e4);return{type:"keyframes",ease:o(r=>i.next(a*r).value/e,"ease"),duration:bt(a)}}o(xh,"createGeneratorEasing");var MT=5;function Gl(t,e,n){let i=Math.max(e-MT,0);return Lo(n-t(i),e-i)}o(Gl,"calcGeneratorVelocity");var $={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1};var Fc=.001;function bh({duration:t=$.duration,bounce:e=$.bounce,velocity:n=$.velocity,mass:i=$.mass}){let a,r;Ie(t<=xt($.maxDuration),"Spring duration must be 10 seconds or less","spring-duration-limit");let l=1-e;l=At($.minDamping,$.maxDamping,l),t=At($.minDuration,$.maxDuration,bt(t)),l<1?(a=o(c=>{let f=c*l,m=f*t,d=f-n,p=Yl(c,l),v=Math.exp(-m);return Fc-d/p*v},"envelope"),r=o(c=>{let m=c*l*t,d=m*n+n,p=Math.pow(l,2)*Math.pow(c,2)*t,v=Math.exp(-m),b=Yl(Math.pow(c,2),l);return(-a(c)+Fc>0?-1:1)*((d-p)*v)/b},"derivative")):(a=o(c=>{let f=Math.exp(-c*t),m=(c-n)*t+1;return-Fc+f*m},"envelope"),r=o(c=>{let f=Math.exp(-c*t),m=(n-c)*(t*t);return f*m},"derivative"));let s=5/t,u=CT(a,r,s);if(t=xt(t),isNaN(u))return{stiffness:$.stiffness,damping:$.damping,duration:t};{let c=Math.pow(u,2)*i;return{stiffness:c,damping:l*2*Math.sqrt(i*c),duration:t}}}o(bh,"findSpring");var DT=12;function CT(t,e,n){let i=n;for(let a=1;a<DT;a++)i=i-t(i)/e(i);return i}o(CT,"approximateRoot");function Yl(t,e){return t*Math.sqrt(1-e*e)}o(Yl,"calcAngularFreq");var VT=["duration","bounce"],OT=["stiffness","damping","mass"];function Sh(t,e){return e.some(n=>t[n]!==void 0)}o(Sh,"isSpringType");function zT(t){let e={velocity:$.velocity,stiffness:$.stiffness,damping:$.damping,mass:$.mass,isResolvedFromDuration:!1,...t};if(!Sh(t,OT)&&Sh(t,VT))if(t.visualDuration){let n=t.visualDuration,i=2*Math.PI/(n*1.2),a=i*i,r=2*At(.05,1,1-(t.bounce||0))*Math.sqrt(a);e={...e,mass:$.mass,stiffness:a,damping:r}}else{let n=bh(t);e={...e,...n,mass:$.mass},e.isResolvedFromDuration=!0}return e}o(zT,"getSpringOptions");function ba(t=$.visualDuration,e=$.bounce){let n=typeof t!="object"?{visualDuration:t,keyframes:[0,1],bounce:e}:t,{restSpeed:i,restDelta:a}=n,r=n.keyframes[0],l=n.keyframes[n.keyframes.length-1],s={done:!1,value:r},{stiffness:u,damping:c,mass:f,duration:m,velocity:d,isResolvedFromDuration:p}=zT({...n,velocity:-bt(n.velocity||0)}),v=d||0,b=c/(2*Math.sqrt(u*f)),A=l-r,g=bt(Math.sqrt(u/f)),h=Math.abs(A)<5;i||(i=h?$.restSpeed.granular:$.restSpeed.default),a||(a=h?$.restDelta.granular:$.restDelta.default);let y;if(b<1){let T=Yl(g,b);y=o(M=>{let w=Math.exp(-b*g*M);return l-w*((v+b*g*A)/T*Math.sin(T*M)+A*Math.cos(T*M))},"resolveSpring")}else if(b===1)y=o(T=>l-Math.exp(-g*T)*(A+(v+g*A)*T),"resolveSpring");else{let T=g*Math.sqrt(b*b-1);y=o(M=>{let w=Math.exp(-b*g*M),E=Math.min(T*M,300);return l-w*((v+b*g*A)*Math.sinh(E)+T*A*Math.cosh(E))/T},"resolveSpring")}let x={calculatedDuration:p&&m||null,next:o(T=>{let M=y(T);if(p)s.done=T>=m;else{let w=T===0?v:0;b<1&&(w=T===0?xt(v):Gl(y,T,M));let E=Math.abs(w)<=i,C=Math.abs(l-M)<=a;s.done=E&&C}return s.value=s.done?l:M,s},"next"),toString:o(()=>{let T=Math.min(xa(x),2e4),M=Hl(w=>x.next(T*w).value,T,30);return T+"ms "+M},"toString"),toTransition:o(()=>{},"toTransition")};return x}o(ba,"spring");ba.applyToOptions=t=>{let e=xh(t,100,ba);return t.ease=e.ease,t.duration=xt(e.duration),t.type="keyframes",t};function Fo({keyframes:t,velocity:e=0,power:n=.8,timeConstant:i=325,bounceDamping:a=10,bounceStiffness:r=500,modifyTarget:l,min:s,max:u,restDelta:c=.5,restSpeed:f}){let m=t[0],d={done:!1,value:m},p=o(E=>s!==void 0&&E<s||u!==void 0&&E>u,"isOutOfBounds"),v=o(E=>s===void 0?u:u===void 0||Math.abs(s-E)<Math.abs(u-E)?s:u,"nearestBoundary"),b=n*e,A=m+b,g=l===void 0?A:l(A);g!==A&&(b=g-m);let h=o(E=>-b*Math.exp(-E/i),"calcDelta"),y=o(E=>g+h(E),"calcLatest"),x=o(E=>{let C=h(E),V=y(E);d.done=Math.abs(C)<=c,d.value=d.done?g:V},"applyFriction"),T,M,w=o(E=>{p(d.value)&&(T=E,M=ba({keyframes:[d.value,v(d.value)],velocity:Gl(y,E,d.value),damping:a,stiffness:r,restDelta:c,restSpeed:f}))},"checkCatchBoundary");return w(0),{calculatedDuration:null,next:o(E=>{let C=!1;return!M&&T===void 0&&(C=!0,x(E),w(E)),T!==void 0&&E>=T?M.next(E-T):(!C&&x(E),d)},"next")}}o(Fo,"inertia");function _T(t,e,n){let i=[],a=n||Lt.mix||jl,r=t.length-1;for(let l=0;l<r;l++){let s=a(t[l],t[l+1]);if(e){let u=Array.isArray(e)?e[l]||st:e;s=ze(u,s)}i.push(s)}return i}o(_T,"createMixers");function Th(t,e,{clamp:n=!0,ease:i,mixer:a}={}){let r=t.length;if(ge(r===e.length,"Both input and output ranges must be the same length","range-length"),r===1)return()=>e[0];if(r===2&&e[0]===e[1])return()=>e[1];let l=t[0]===t[1];t[0]>t[r-1]&&(t=[...t].reverse(),e=[...e].reverse());let s=_T(e,i,a),u=s.length,c=o(f=>{if(l&&f<t[0])return e[0];let m=0;if(u>1)for(;m<t.length-2&&!(f<t[m+1]);m++);let d=He(t[m],t[m+1],f);return s[m](d)},"interpolator");return n?f=>c(At(t[0],t[r-1],f)):c}o(Th,"interpolate");function wh(t,e){let n=t[t.length-1];for(let i=1;i<=e;i++){let a=He(0,e,i);t.push(j(n,1,a))}}o(wh,"fillOffset");function Ah(t){let e=[0];return wh(e,t.length-1),e}o(Ah,"defaultOffset");function Eh(t,e){return t.map(n=>n*e)}o(Eh,"convertOffsetToTimes");function NT(t,e){return t.map(()=>e||Xo).splice(0,t.length-1)}o(NT,"defaultEasing");function Mi({duration:t=300,keyframes:e,times:n,ease:i="easeInOut"}){let a=qc(i)?i.map(zl):zl(i),r={done:!1,value:e[0]},l=Eh(n&&n.length===e.length?n:Ah(e),t),s=Th(l,e,{ease:Array.isArray(a)?a:NT(e,a)});return{calculatedDuration:t,next:o(u=>(r.value=s(u),r.done=u>=t,r),"next")}}o(Mi,"keyframes");var RT=o(t=>t!==null,"isNotNull");function Sa(t,{repeat:e,repeatType:n="loop"},i,a=1){let r=t.filter(RT),s=a<0||e&&n!=="loop"&&e%2===1?0:r.length-1;return!s||i===void 0?r[s]:i}o(Sa,"getFinalKeyframe");var BT={decay:Fo,inertia:Fo,tween:Mi,keyframes:Mi,spring:ba};function ql(t){typeof t.type=="string"&&(t.type=BT[t.type])}o(ql,"replaceTransitionType");var jn=class{static{o(this,"WithPromise")}constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(e=>{this.resolve=e})}notifyFinished(){this.resolve()}then(e,n){return this.finished.then(e,n)}};var UT=o(t=>t/100,"percentToProgress"),en=class extends jn{static{o(this,"JSAnimation")}constructor(e){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.stop=()=>{let{motionValue:n}=this.options;n&&n.updatedAt!==ct.now()&&this.tick(ct.now()),this.isStopped=!0,this.state!=="idle"&&(this.teardown(),this.options.onStop?.())},_e.mainThread++,this.options=e,this.initAnimation(),this.play(),e.autoplay===!1&&this.pause()}initAnimation(){let{options:e}=this;ql(e);let{type:n=Mi,repeat:i=0,repeatDelay:a=0,repeatType:r,velocity:l=0}=e,{keyframes:s}=e,u=n||Mi;u!==Mi&&typeof s[0]!="number"&&(this.mixKeyframes=ze(UT,jl(s[0],s[1])),s=[0,100]);let c=u({...e,keyframes:s});r==="mirror"&&(this.mirroredGenerator=u({...e,keyframes:[...s].reverse(),velocity:-l})),c.calculatedDuration===null&&(c.calculatedDuration=xa(c));let{calculatedDuration:f}=c;this.calculatedDuration=f,this.resolvedDuration=f+a,this.totalDuration=this.resolvedDuration*(i+1)-a,this.generator=c}updateTime(e){let n=Math.round(e-this.startTime)*this.playbackSpeed;this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=n}tick(e,n=!1){let{generator:i,totalDuration:a,mixKeyframes:r,mirroredGenerator:l,resolvedDuration:s,calculatedDuration:u}=this;if(this.startTime===null)return i.next(0);let{delay:c=0,keyframes:f,repeat:m,repeatType:d,repeatDelay:p,type:v,onUpdate:b,finalKeyframe:A}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,e):this.speed<0&&(this.startTime=Math.min(e-a/this.speed,this.startTime)),n?this.currentTime=e:this.updateTime(e);let g=this.currentTime-c*(this.playbackSpeed>=0?1:-1),h=this.playbackSpeed>=0?g<0:g>a;this.currentTime=Math.max(g,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=a);let y=this.currentTime,x=i;if(m){let E=Math.min(this.currentTime,a)/s,C=Math.floor(E),V=E%1;!V&&E>=1&&(V=1),V===1&&C--,C=Math.min(C,m+1),!!(C%2)&&(d==="reverse"?(V=1-V,p&&(V-=p/s)):d==="mirror"&&(x=l)),y=At(0,1,V)*s}let T=h?{done:!1,value:f[0]}:x.next(y);r&&(T.value=r(T.value));let{done:M}=T;!h&&u!==null&&(M=this.playbackSpeed>=0?this.currentTime>=a:this.currentTime<=0);let w=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&M);return w&&v!==Fo&&(T.value=Sa(f,this.options,A,this.speed)),b&&b(T.value),w&&this.finish(),T}then(e,n){return this.finished.then(e,n)}get duration(){return bt(this.calculatedDuration)}get iterationDuration(){let{delay:e=0}=this.options||{};return this.duration+bt(e)}get time(){return bt(this.currentTime)}set time(e){e=xt(e),this.currentTime=e,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0?this.holdTime=e:this.driver&&(this.startTime=this.driver.now()-e/this.playbackSpeed),this.driver?.start(!1)}get speed(){return this.playbackSpeed}set speed(e){this.updateTime(ct.now());let n=this.playbackSpeed!==e;this.playbackSpeed=e,n&&(this.time=bt(this.currentTime))}play(){if(this.isStopped)return;let{driver:e=vh,startTime:n}=this.options;this.driver||(this.driver=e(a=>this.tick(a))),this.options.onPlay?.();let i=this.driver.now();this.state==="finished"?(this.updateFinished(),this.startTime=i):this.holdTime!==null?this.startTime=i-this.holdTime:this.startTime||(this.startTime=n??i),this.state==="finished"&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(ct.now()),this.holdTime=this.currentTime}complete(){this.state!=="running"&&this.play(),this.state="finished",this.holdTime=null}finish(){this.notifyFinished(),this.teardown(),this.state="finished",this.options.onComplete?.()}cancel(){this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),this.options.onCancel?.()}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null,_e.mainThread--}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(e){return this.startTime=0,this.tick(e,!0)}attachTimeline(e){return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),this.driver?.stop(),e.observe(this)}};function Mh(t){for(let e=1;e<t.length;e++)t[e]??(t[e]=t[e-1])}o(Mh,"fillWildcards");var Di=o(t=>t*180/Math.PI,"radToDeg"),Wc=o(t=>{let e=Di(Math.atan2(t[1],t[0]));return Ic(e)},"rotate"),LT={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:o(t=>(Math.abs(t[0])+Math.abs(t[3]))/2,"scale"),rotate:Wc,rotateZ:Wc,skewX:o(t=>Di(Math.atan(t[1])),"skewX"),skewY:o(t=>Di(Math.atan(t[2])),"skewY"),skew:o(t=>(Math.abs(t[1])+Math.abs(t[2]))/2,"skew")},Ic=o(t=>(t=t%360,t<0&&(t+=360),t),"rebaseAngle"),Dh=Wc,Ch=o(t=>Math.sqrt(t[0]*t[0]+t[1]*t[1]),"scaleX"),Vh=o(t=>Math.sqrt(t[4]*t[4]+t[5]*t[5]),"scaleY"),jT={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:Ch,scaleY:Vh,scale:o(t=>(Ch(t)+Vh(t))/2,"scale"),rotateX:o(t=>Ic(Di(Math.atan2(t[6],t[5]))),"rotateX"),rotateY:o(t=>Ic(Di(Math.atan2(-t[2],t[0]))),"rotateY"),rotateZ:Dh,rotate:Dh,skewX:o(t=>Di(Math.atan(t[4])),"skewX"),skewY:o(t=>Di(Math.atan(t[1])),"skewY"),skew:o(t=>(Math.abs(t[1])+Math.abs(t[4]))/2,"skew")};function Wo(t){return t.includes("scale")?1:0}o(Wo,"defaultTransformValue");function Io(t,e){if(!t||t==="none")return Wo(e);let n=t.match(/^matrix3d\(([-\d.e\s,]+)\)$/u),i,a;if(n)i=jT,a=n;else{let s=t.match(/^matrix\(([-\d.e\s,]+)\)$/u);i=LT,a=s}if(!a)return Wo(e);let r=i[e],l=a[1].split(",").map(HT);return typeof r=="function"?r(l):l[r]}o(Io,"parseValueFromTransform");var $c=o((t,e)=>{let{transform:n="none"}=getComputedStyle(t);return Io(n,e)},"readTransformValue");function HT(t){return parseFloat(t.trim())}o(HT,"convertTransformToNumber");var Re=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],ne=new Set(Re);var tf=o(t=>t===Ge||t===D,"isNumOrPxType"),GT=new Set(["x","y","z"]),YT=Re.filter(t=>!GT.has(t));function Oh(t){let e=[];return YT.forEach(n=>{let i=t.getValue(n);i!==void 0&&(e.push([n,i.get()]),i.set(n.startsWith("scale")?1:0))}),e}o(Oh,"removeNonTranslationalTransform");var Hn={width:o(({x:t},{paddingLeft:e="0",paddingRight:n="0"})=>t.max-t.min-parseFloat(e)-parseFloat(n),"width"),height:o(({y:t},{paddingTop:e="0",paddingBottom:n="0"})=>t.max-t.min-parseFloat(e)-parseFloat(n),"height"),top:o((t,{top:e})=>parseFloat(e),"top"),left:o((t,{left:e})=>parseFloat(e),"left"),bottom:o(({y:t},{top:e})=>parseFloat(e)+(t.max-t.min),"bottom"),right:o(({x:t},{left:e})=>parseFloat(e)+(t.max-t.min),"right"),x:o((t,{transform:e})=>Io(e,"x"),"x"),y:o((t,{transform:e})=>Io(e,"y"),"y")};Hn.translateX=Hn.x;Hn.translateY=Hn.y;var Ci=new Set,ef=!1,nf=!1,af=!1;function zh(){if(nf){let t=Array.from(Ci).filter(i=>i.needsMeasurement),e=new Set(t.map(i=>i.element)),n=new Map;e.forEach(i=>{let a=Oh(i);a.length&&(n.set(i,a),i.render())}),t.forEach(i=>i.measureInitialState()),e.forEach(i=>{i.render();let a=n.get(i);a&&a.forEach(([r,l])=>{i.getValue(r)?.set(l)})}),t.forEach(i=>i.measureEndState()),t.forEach(i=>{i.suspendedScrollY!==void 0&&window.scrollTo(0,i.suspendedScrollY)})}nf=!1,ef=!1,Ci.forEach(t=>t.complete(af)),Ci.clear()}o(zh,"measureAllKeyframes");function _h(){Ci.forEach(t=>{t.readKeyframes(),t.needsMeasurement&&(nf=!0)})}o(_h,"readAllKeyframes");function of(){af=!0,_h(),zh(),af=!1}o(of,"flushKeyframeResolvers");var nn=class{static{o(this,"KeyframeResolver")}constructor(e,n,i,a,r,l=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...e],this.onComplete=n,this.name=i,this.motionValue=a,this.element=r,this.isAsync=l}scheduleResolve(){this.state="scheduled",this.isAsync?(Ci.add(this),ef||(ef=!0,B.read(_h),B.resolveKeyframes(zh))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:e,name:n,element:i,motionValue:a}=this;if(e[0]===null){let r=a?.get(),l=e[e.length-1];if(r!==void 0)e[0]=r;else if(i&&n){let s=i.readValue(n,l);s!=null&&(e[0]=s)}e[0]===void 0&&(e[0]=l),a&&r===void 0&&a.set(e[0])}Mh(e)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(e=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,e),Ci.delete(this)}cancel(){this.state==="scheduled"&&(Ci.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}};var Nh=o(t=>t.startsWith("--"),"isCSSVar");function Rh(t,e,n){Nh(e)?t.style.setProperty(e,n):t.style[e]=n}o(Rh,"setStyle");var Bh=wi(()=>window.ScrollTimeline!==void 0);var Uh={};function Lh(t,e){let n=wi(t);return()=>Uh[e]??n()}o(Lh,"memoSupports");var Xl=Lh(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing");var Vi=o(([t,e,n,i])=>`cubic-bezier(${t}, ${e}, ${n}, ${i})`,"cubicBezierAsString");var rf={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:Vi([0,.65,.55,1]),circOut:Vi([.55,0,1,.45]),backIn:Vi([.31,.01,.66,-.59]),backOut:Vi([.33,1.53,.69,.99])};function lf(t,e){if(t)return typeof t=="function"?Xl()?Hl(t,e):"ease-out":ko(t)?Vi(t):Array.isArray(t)?t.map(n=>lf(n,e)||rf.easeOut):rf[t]}o(lf,"mapEasingToNativeEasing");function jh(t,e,n,{delay:i=0,duration:a=300,repeat:r=0,repeatType:l="loop",ease:s="easeOut",times:u}={},c=void 0){let f={[e]:n};u&&(f.offset=u);let m=lf(s,a);Array.isArray(m)&&(f.easing=m),kt.value&&_e.waapi++;let d={delay:i,duration:a,easing:Array.isArray(m)?"linear":m,fill:"both",iterations:r+1,direction:l==="reverse"?"alternate":"normal"};c&&(d.pseudoElement=c);let p=t.animate(f,d);return kt.value&&p.finished.finally(()=>{_e.waapi--}),p}o(jh,"startWaapiAnimation");function kl(t){return typeof t=="function"&&"applyToOptions"in t}o(kl,"isGenerator");function Hh({type:t,...e}){return kl(t)&&Xl()?t.applyToOptions(e):(e.duration??(e.duration=300),e.ease??(e.ease="easeOut"),e)}o(Hh,"applyGeneratorOptions");var Zl=class extends jn{static{o(this,"NativeAnimation")}constructor(e){if(super(),this.finishedTime=null,this.isStopped=!1,!e)return;let{element:n,name:i,keyframes:a,pseudoElement:r,allowFlatten:l=!1,finalKeyframe:s,onComplete:u}=e;this.isPseudoElement=!!r,this.allowFlatten=l,this.options=e,ge(typeof e.type!="string",`Mini animate() doesn't support "type" as a string.`,"mini-spring");let c=Hh(e);this.animation=jh(n,i,a,c,r),c.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!r){let f=Sa(a,this.options,s,this.speed);this.updateMotionValue?this.updateMotionValue(f):Rh(n,i,f),this.animation.cancel()}u?.(),this.notifyFinished()}}play(){this.isStopped||(this.animation.play(),this.state==="finished"&&this.updateFinished())}pause(){this.animation.pause()}complete(){this.animation.finish?.()}cancel(){try{this.animation.cancel()}catch{}}stop(){if(this.isStopped)return;this.isStopped=!0;let{state:e}=this;e==="idle"||e==="finished"||(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){this.isPseudoElement||this.animation.commitStyles?.()}get duration(){let e=this.animation.effect?.getComputedTiming?.().duration||0;return bt(Number(e))}get iterationDuration(){let{delay:e=0}=this.options||{};return this.duration+bt(e)}get time(){return bt(Number(this.animation.currentTime)||0)}set time(e){this.finishedTime=null,this.animation.currentTime=xt(e)}get speed(){return this.animation.playbackRate}set speed(e){e<0&&(this.finishedTime=null),this.animation.playbackRate=e}get state(){return this.finishedTime!==null?"finished":this.animation.playState}get startTime(){return Number(this.animation.startTime)}set startTime(e){this.animation.startTime=e}attachTimeline({timeline:e,observe:n}){return this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,e&&Bh()?(this.animation.timeline=e,st):n(this)}};var Gh={anticipate:Ho,backInOut:jo,circInOut:qo};function qT(t){return t in Gh}o(qT,"isUnsupportedEase");function Yh(t){typeof t.ease=="string"&&qT(t.ease)&&(t.ease=Gh[t.ease])}o(Yh,"replaceStringEasing");var qh=10,Ql=class extends Zl{static{o(this,"NativeAnimationExtended")}constructor(e){Yh(e),ql(e),super(e),e.startTime&&(this.startTime=e.startTime),this.options=e}updateMotionValue(e){let{motionValue:n,onUpdate:i,onComplete:a,element:r,...l}=this.options;if(!n)return;if(e!==void 0){n.set(e);return}let s=new en({...l,autoplay:!1}),u=xt(this.finishedTime??this.time);n.setWithVelocity(s.sample(u-qh).value,s.sample(u).value,qh),s.stop()}};var sf=o((t,e)=>e==="zIndex"?!1:!!(typeof t=="number"||Array.isArray(t)||typeof t=="string"&&(Ht.test(t)||t==="0")&&!t.startsWith("url(")),"isAnimatable");function XT(t){let e=t[0];if(t.length===1)return!0;for(let n=0;n<t.length;n++)if(t[n]!==e)return!0}o(XT,"hasKeyframesChanged");function Xh(t,e,n,i){let a=t[0];if(a===null)return!1;if(e==="display"||e==="visibility")return!0;let r=t[t.length-1],l=sf(a,e),s=sf(r,e);return Ie(l===s,`You are trying to animate ${e} from "${a}" to "${r}". "${l?r:a}" is not an animatable value.`,"value-not-animatable"),!l||!s?!1:XT(t)||(n==="spring"||kl(n))&&i}o(Xh,"canAnimate");function Ta(t){t.duration=0,t.type="keyframes"}o(Ta,"makeAnimationInstant");var kT=new Set(["opacity","clipPath","filter","transform"]),ZT=wi(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function kh(t){let{motionValue:e,name:n,repeatDelay:i,repeatType:a,damping:r,type:l}=t;if(!(e?.owner?.current instanceof HTMLElement))return!1;let{onUpdate:u,transformTemplate:c}=e.owner.getProps();return ZT()&&n&&kT.has(n)&&(n!=="transform"||!c)&&!u&&!i&&a!=="mirror"&&r!==0&&l!=="inertia"}o(kh,"supportsBrowserAnimation");var QT=40,$o=class extends jn{static{o(this,"AsyncMotionValueAnimation")}constructor({autoplay:e=!0,delay:n=0,type:i="keyframes",repeat:a=0,repeatDelay:r=0,repeatType:l="loop",keyframes:s,name:u,motionValue:c,element:f,...m}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=ct.now();let d={autoplay:e,delay:n,type:i,repeat:a,repeatDelay:r,repeatType:l,name:u,motionValue:c,element:f,...m},p=f?.KeyframeResolver||nn;this.keyframeResolver=new p(s,(v,b,A)=>this.onKeyframesResolved(v,b,d,!A),u,c,f),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(e,n,i,a){this.keyframeResolver=void 0;let{name:r,type:l,velocity:s,delay:u,isHandoff:c,onUpdate:f}=i;this.resolvedAt=ct.now(),Xh(e,r,l,s)||((Lt.instantAnimations||!u)&&f?.(Sa(e,i,n)),e[0]=e[e.length-1],Ta(i),i.repeat=0);let d={startTime:a?this.resolvedAt?this.resolvedAt-this.createdAt>QT?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:n,...i,keyframes:e},p=!c&&kh(d)?new Ql({...d,element:d.motionValue.owner.current}):new en(d);p.finished.then(()=>this.notifyFinished()).catch(st),this.pendingTimeline&&(this.stopTimeline=p.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=p}get finished(){return this._animation?this.animation.finished:this._finished}then(e,n){return this.finished.finally(e).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),of()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(e){this.animation.time=e}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(e){this.animation.speed=e}get startTime(){return this.animation.startTime}attachTimeline(e){return this._animation?this.stopTimeline=this.animation.attachTimeline(e):this.pendingTimeline=e,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}};var KT=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function PT(t){let e=KT.exec(t);if(!e)return[,];let[,n,i,a]=e;return[`--${n??i}`,a]}o(PT,"parseCSSVariable");var JT=4;function uf(t,e,n=1){ge(n<=JT,`Max CSS variable fallback depth detected in property "${t}". This may indicate a circular fallback dependency.`,"max-css-var-depth");let[i,a]=PT(t);if(!i)return;let r=window.getComputedStyle(e).getPropertyValue(i);if(r){let l=r.trim();return Ro(l)?parseFloat(l):l}return Ei(a)?uf(a,e,n+1):a}o(uf,"getVariableValue");function Oi(t,e){return t?.[e]??t?.default??t}o(Oi,"getValueTransition");var tr=new Set(["width","height","top","left","right","bottom",...Re]);var Zh={test:o(t=>t==="auto","test"),parse:o(t=>t,"parse")};var Kl=o(t=>e=>e.test(t),"testValueType");var cf=[Ge,D,jt,Ne,Zc,kc,Zh],ff=o(t=>cf.find(Kl(t)),"findDimensionValueType");function Qh(t){return typeof t=="number"?t===0:t!==null?t==="none"||t==="0"||Uo(t):!0}o(Qh,"isNone");var FT=new Set(["brightness","contrast","saturate","opacity"]);function WT(t){let[e,n]=t.slice(0,-1).split("(");if(e==="drop-shadow")return t;let[i]=n.match(ga)||[];if(!i)return t;let a=n.replace(i,""),r=FT.has(e)?1:0;return i!==n&&(r*=100),e+"("+r+a+")"}o(WT,"applyDefaultFilter");var IT=/\b([a-z-]*)\(.*?\)/gu,er={...Ht,getAnimatableNone:o(t=>{let e=t.match(IT);return e?e.map(WT).join(" "):t},"getAnimatableNone")};var mf={...Ge,transform:Math.round};var Kh={rotate:Ne,rotateX:Ne,rotateY:Ne,rotateZ:Ne,scale:Ko,scaleX:Ko,scaleY:Ko,scaleZ:Ko,skew:Ne,skewX:Ne,skewY:Ne,distance:D,translateX:D,translateY:D,translateZ:D,x:D,y:D,z:D,perspective:D,transformPerspective:D,opacity:tn,originX:Bl,originY:Bl,originZ:D};var zi={borderWidth:D,borderTopWidth:D,borderRightWidth:D,borderBottomWidth:D,borderLeftWidth:D,borderRadius:D,radius:D,borderTopLeftRadius:D,borderTopRightRadius:D,borderBottomRightRadius:D,borderBottomLeftRadius:D,width:D,maxWidth:D,height:D,maxHeight:D,top:D,right:D,bottom:D,left:D,padding:D,paddingTop:D,paddingRight:D,paddingBottom:D,paddingLeft:D,margin:D,marginTop:D,marginRight:D,marginBottom:D,marginLeft:D,backgroundPositionX:D,backgroundPositionY:D,...Kh,zIndex:mf,fillOpacity:tn,strokeOpacity:tn,numOctaves:mf};var Ph={...zi,color:at,backgroundColor:at,outlineColor:at,fill:at,stroke:at,borderColor:at,borderTopColor:at,borderRightColor:at,borderBottomColor:at,borderLeftColor:at,filter:er,WebkitFilter:er},nr=o(t=>Ph[t],"getDefaultValueType");function ir(t,e){let n=nr(t);return n!==er&&(n=Ht),n.getAnimatableNone?n.getAnimatableNone(e):void 0}o(ir,"getAnimatableNone");var $T=new Set(["auto","none","0"]);function Jh(t,e,n){let i=0,a;for(;i<t.length&&!a;){let r=t[i];typeof r=="string"&&!$T.has(r)&&Ln(r).values.length&&(a=t[i]),i++}if(a&&n)for(let r of e)t[r]=ir(n,a)}o(Jh,"makeNoneKeyframesAnimatable");var ar=class extends nn{static{o(this,"DOMKeyframesResolver")}constructor(e,n,i,a,r){super(e,n,i,a,r,!0)}readKeyframes(){let{unresolvedKeyframes:e,element:n,name:i}=this;if(!n||!n.current)return;super.readKeyframes();for(let u=0;u<e.length;u++){let c=e[u];if(typeof c=="string"&&(c=c.trim(),Ei(c))){let f=uf(c,n.current);f!==void 0&&(e[u]=f),u===e.length-1&&(this.finalKeyframe=c)}}if(this.resolveNoneKeyframes(),!tr.has(i)||e.length!==2)return;let[a,r]=e,l=ff(a),s=ff(r);if(l!==s)if(tf(l)&&tf(s))for(let u=0;u<e.length;u++){let c=e[u];typeof c=="string"&&(e[u]=parseFloat(c))}else Hn[i]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){let{unresolvedKeyframes:e,name:n}=this,i=[];for(let a=0;a<e.length;a++)(e[a]===null||Qh(e[a]))&&i.push(a);i.length&&Jh(e,i,n)}measureInitialState(){let{element:e,unresolvedKeyframes:n,name:i}=this;if(!e||!e.current)return;i==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=Hn[i](e.measureViewportBox(),window.getComputedStyle(e.current)),n[0]=this.measuredOrigin;let a=n[n.length-1];a!==void 0&&e.getValue(i,a).jump(a,!1)}measureEndState(){let{element:e,name:n,unresolvedKeyframes:i}=this;if(!e||!e.current)return;let a=e.getValue(n);a&&a.jump(this.measuredOrigin,!1);let r=i.length-1,l=i[r];i[r]=Hn[n](e.measureViewportBox(),window.getComputedStyle(e.current)),l!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=l),this.removedTransforms?.length&&this.removedTransforms.forEach(([s,u])=>{e.getValue(s).set(u)}),this.resolveNoneKeyframes()}};function Fh(t,e,n){if(t instanceof EventTarget)return[t];if(typeof t=="string"){let i=document;e&&(i=e.current);let a=n?.[t]??i.querySelectorAll(t);return a?Array.from(a):[]}return Array.from(t)}o(Fh,"resolveElements");var or=o((t,e)=>e&&typeof t=="number"?e.transform(t):t,"getValueAsType");function rr(t){return Bo(t)&&"offsetHeight"in t}o(rr,"isHTMLElement");var Wh=30,t2=o(t=>!isNaN(parseFloat(t)),"isFloat"),df={current:void 0},Pl=class{static{o(this,"MotionValue")}constructor(e,n={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=i=>{let a=ct.now();if(this.updatedAt!==a&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(i),this.current!==this.prev&&(this.events.change?.notify(this.current),this.dependents))for(let r of this.dependents)r.dirty()},this.hasAnimated=!1,this.setCurrent(e),this.owner=n.owner}setCurrent(e){this.current=e,this.updatedAt=ct.now(),this.canTrackVelocity===null&&e!==void 0&&(this.canTrackVelocity=t2(this.current))}setPrevFrameValue(e=this.current){this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt}onChange(e){return this.on("change",e)}on(e,n){this.events[e]||(this.events[e]=new $e);let i=this.events[e].add(n);return e==="change"?()=>{i(),B.read(()=>{this.events.change.getSize()||this.stop()})}:i}clearListeners(){for(let e in this.events)this.events[e].clear()}attach(e,n){this.passiveEffect=e,this.stopPassiveEffect=n}set(e){this.passiveEffect?this.passiveEffect(e,this.updateAndNotify):this.updateAndNotify(e)}setWithVelocity(e,n,i){this.set(n),this.prev=void 0,this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt-i}jump(e,n=!0){this.updateAndNotify(e),this.prev=e,this.prevUpdatedAt=this.prevFrameValue=void 0,n&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){this.events.change?.notify(this.current)}addDependent(e){this.dependents||(this.dependents=new Set),this.dependents.add(e)}removeDependent(e){this.dependents&&this.dependents.delete(e)}get(){return df.current&&df.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){let e=ct.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||e-this.updatedAt>Wh)return 0;let n=Math.min(this.updatedAt-this.prevUpdatedAt,Wh);return Lo(parseFloat(this.current)-parseFloat(this.prevFrameValue),n)}start(e){return this.stop(),new Promise(n=>{this.hasAnimated=!0,this.animation=e(n),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.dependents?.clear(),this.events.destroy?.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}};function ye(t,e){return new Pl(t,e)}o(ye,"motionValue");var{schedule:_i,cancel:e2}=_l(queueMicrotask,!1);var ve={x:!1,y:!1};function Jl(){return ve.x||ve.y}o(Jl,"isDragActive");function pf(t){return t==="x"||t==="y"?ve[t]?null:(ve[t]=!0,()=>{ve[t]=!1}):ve.x||ve.y?null:(ve.x=ve.y=!0,()=>{ve.x=ve.y=!1})}o(pf,"setDragLock");function Fl(t,e){let n=Fh(t),i=new AbortController,a={passive:!0,...e,signal:i.signal};return[n,a,o(()=>i.abort(),"cancel")]}o(Fl,"setupGesture");function Ih(t){return!(t.pointerType==="touch"||Jl())}o(Ih,"isValidHover");function hf(t,e,n={}){let[i,a,r]=Fl(t,n),l=o(s=>{if(!Ih(s))return;let{target:u}=s,c=e(u,s);if(typeof c!="function"||!u)return;let f=o(m=>{Ih(m)&&(c(m),u.removeEventListener("pointerleave",f))},"onPointerLeave");u.addEventListener("pointerleave",f,a)},"onPointerEnter");return i.forEach(s=>{s.addEventListener("pointerenter",l,a)}),r}o(hf,"hover");var gf=o((t,e)=>e?t===e?!0:gf(t,e.parentElement):!1,"isNodeOrChild");var Ni=o(t=>t.pointerType==="mouse"?typeof t.button!="number"||t.button<=0:t.isPrimary!==!1,"isPrimaryPointer");var n2=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function $h(t){return n2.has(t.tagName)||t.tabIndex!==-1}o($h,"isElementKeyboardAccessible");var wa=new WeakSet;function t0(t){return e=>{e.key==="Enter"&&t(e)}}o(t0,"filterEvents");function yf(t,e){t.dispatchEvent(new PointerEvent("pointer"+e,{isPrimary:!0,bubbles:!0}))}o(yf,"firePointerEvent");var e0=o((t,e)=>{let n=t.currentTarget;if(!n)return;let i=t0(()=>{if(wa.has(n))return;yf(n,"down");let a=t0(()=>{yf(n,"up")}),r=o(()=>yf(n,"cancel"),"handleBlur");n.addEventListener("keyup",a,e),n.addEventListener("blur",r,e)});n.addEventListener("keydown",i,e),n.addEventListener("blur",()=>n.removeEventListener("keydown",i),e)},"enableKeyboardPress");function n0(t){return Ni(t)&&!Jl()}o(n0,"isValidPressEvent");function vf(t,e,n={}){let[i,a,r]=Fl(t,n),l=o(s=>{let u=s.currentTarget;if(!n0(s))return;wa.add(u);let c=e(u,s),f=o((p,v)=>{window.removeEventListener("pointerup",m),window.removeEventListener("pointercancel",d),wa.has(u)&&wa.delete(u),n0(p)&&typeof c=="function"&&c(p,{success:v})},"onPointerEnd"),m=o(p=>{f(p,u===window||u===document||n.useGlobalTarget||gf(u,p.target))},"onPointerUp"),d=o(p=>{f(p,!1)},"onPointerCancel");window.addEventListener("pointerup",m,a),window.addEventListener("pointercancel",d,a)},"startPress");return i.forEach(s=>{(n.useGlobalTarget?window:s).addEventListener("pointerdown",l,a),rr(s)&&(s.addEventListener("focus",c=>e0(c,a)),!$h(s)&&!s.hasAttribute("tabindex")&&(s.tabIndex=0))}),r}o(vf,"press");function lr(t){return Bo(t)&&"ownerSVGElement"in t}o(lr,"isSVGElement");function xf(t){return lr(t)&&t.tagName==="svg"}o(xf,"isSVGSVGElement");var J=o(t=>!!(t&&t.getVelocity),"isMotionValue");var i2=[...cf,at,Ht],bf=o(t=>i2.find(Kl(t)),"findValueType");var Wl=z(G(),1),an=z(G(),1);var i0=z(G(),1);var Aa=(0,i0.createContext)({transformPagePoint:o(t=>t,"transformPagePoint"),isStatic:!1,reducedMotion:"never"});var o0=z(G(),1);function a0(t,e){if(typeof t=="function")return t(e);t!=null&&(t.current=e)}o(a0,"setRef");function a2(...t){return e=>{let n=!1,i=t.map(a=>{let r=a0(a,e);return!n&&typeof r=="function"&&(n=!0),r});if(n)return()=>{for(let a=0;a<i.length;a++){let r=i[a];typeof r=="function"?r():a0(t[a],null)}}}}o(a2,"composeRefs");function r0(...t){return o0.useCallback(a2(...t),t)}o(r0,"useComposedRefs");var Sf=class extends Wl.Component{static{o(this,"PopChildMeasure")}getSnapshotBeforeUpdate(e){let n=this.props.childRef.current;if(n&&e.isPresent&&!this.props.isPresent){let i=n.offsetParent,a=rr(i)&&i.offsetWidth||0,r=this.props.sizeRef.current;r.height=n.offsetHeight||0,r.width=n.offsetWidth||0,r.top=n.offsetTop,r.left=n.offsetLeft,r.right=a-r.width-r.left}return null}componentDidUpdate(){}render(){return this.props.children}};function s0({children:t,isPresent:e,anchorX:n,root:i}){let a=(0,an.useId)(),r=(0,an.useRef)(null),l=(0,an.useRef)({width:0,height:0,top:0,left:0,right:0}),{nonce:s}=(0,an.useContext)(Aa),u=r0(r,t?.ref);return(0,an.useInsertionEffect)(()=>{let{width:c,height:f,top:m,left:d,right:p}=l.current;if(e||!r.current||!c||!f)return;let v=n==="left"?`left: ${d}`:`right: ${p}`;r.current.dataset.motionPopId=a;let b=document.createElement("style");s&&(b.nonce=s);let A=i??document.head;return A.appendChild(b),b.sheet&&b.sheet.insertRule(`
|
|
1050
|
-
[data-motion-pop-id="${a}"] {
|
|
1051
|
-
position: absolute !important;
|
|
1052
|
-
width: ${c}px !important;
|
|
1053
|
-
height: ${f}px !important;
|
|
1054
|
-
${v}px !important;
|
|
1055
|
-
top: ${m}px !important;
|
|
1056
|
-
}
|
|
1057
|
-
`),()=>{A.contains(b)&&A.removeChild(b)}},[e]),(0,l0.jsx)(Sf,{isPresent:e,childRef:r,sizeRef:l,children:Wl.cloneElement(t,{ref:u})})}o(s0,"PopChild");var c0=o(({children:t,initial:e,isPresent:n,onExitComplete:i,custom:a,presenceAffectsLayout:r,mode:l,anchorX:s,root:u})=>{let c=da(o2),f=(0,sr.useId)(),m=!0,d=(0,sr.useMemo)(()=>(m=!1,{id:f,initial:e,isPresent:n,custom:a,onExitComplete:o(p=>{c.set(p,!0);for(let v of c.values())if(!v)return;i&&i()},"onExitComplete"),register:o(p=>(c.set(p,!1),()=>c.delete(p)),"register")}),[n,c,i]);return r&&m&&(d={...d}),(0,sr.useMemo)(()=>{c.forEach((p,v)=>c.set(v,!1))},[n]),u0.useEffect(()=>{!n&&!c.size&&i&&i()},[n]),l==="popLayout"&&(t=(0,Tf.jsx)(s0,{isPresent:n,anchorX:s,root:u,children:t})),(0,Tf.jsx)(Nn.Provider,{value:d,children:t})},"PresenceChild");function o2(){return new Map}o(o2,"newChildrenMap");var Gn=z(G(),1);function Il(t=!0){let e=(0,Gn.useContext)(Nn);if(e===null)return[!0,null];let{isPresent:n,onExitComplete:i,register:a}=e,r=(0,Gn.useId)();(0,Gn.useEffect)(()=>{if(t)return a(r)},[t]);let l=(0,Gn.useCallback)(()=>t&&i&&i(r),[r,i,t]);return!n&&i?[!1,l]:[!0]}o(Il,"usePresence");var $l=z(G(),1);var ur=o(t=>t.key||"","getChildKey");function wf(t){let e=[];return $l.Children.forEach(t,n=>{(0,$l.isValidElement)(n)&&e.push(n)}),e}o(wf,"onlyElements");var Af=o(({children:t,custom:e,initial:n=!0,onExitComplete:i,presenceAffectsLayout:a=!0,mode:r="sync",propagate:l=!1,anchorX:s="left",root:u})=>{let[c,f]=Il(l),m=(0,qe.useMemo)(()=>wf(t),[t]),d=l&&!c?[]:m.map(ur),p=(0,qe.useRef)(!0),v=(0,qe.useRef)(m),b=da(()=>new Map),[A,g]=(0,qe.useState)(m),[h,y]=(0,qe.useState)(m);Dl(()=>{p.current=!1,v.current=m;for(let M=0;M<h.length;M++){let w=ur(h[M]);d.includes(w)?b.delete(w):b.get(w)!==!0&&b.set(w,!1)}},[h,d.length,d.join("-")]);let x=[];if(m!==A){let M=[...m];for(let w=0;w<h.length;w++){let E=h[w],C=ur(E);d.includes(C)||(M.splice(w,0,E),x.push(E))}return r==="wait"&&x.length&&(M=x),y(wf(M)),g(m),null}let{forceRender:T}=(0,qe.useContext)(ma);return(0,cr.jsx)(cr.Fragment,{children:h.map(M=>{let w=ur(M),E=l&&!c?!1:m===h||d.includes(w),C=o(()=>{if(b.has(w))b.set(w,!0);else return;let V=!0;b.forEach(Vt=>{Vt||(V=!1)}),V&&(T?.(),y(v.current),l&&f?.(),i&&i())},"onExit");return(0,cr.jsx)(c0,{isPresent:E,initial:!p.current||n?void 0:!1,custom:e,presenceAffectsLayout:a,mode:r,root:u,onExitComplete:E?void 0:C,anchorX:s,children:M},w)})})},"AnimatePresence");var f0=z(G(),1),ts=(0,f0.createContext)({strict:!1});var m0={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},on={};for(let t in m0)on[t]={isEnabled:o(e=>m0[t].some(n=>!!e[n]),"isEnabled")};function d0(t){for(let e in t)on[e]={...on[e],...t[e]}}o(d0,"loadFeatures");var r2=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function fr(t){return t.startsWith("while")||t.startsWith("drag")&&t!=="draggable"||t.startsWith("layout")||t.startsWith("onTap")||t.startsWith("onPan")||t.startsWith("onLayout")||r2.has(t)}o(fr,"isValidMotionProp");var p0=o(t=>!fr(t),"shouldForward");function l2(t){typeof t=="function"&&(p0=o(e=>e.startsWith("on")?!fr(e):t(e),"shouldForward"))}o(l2,"loadExternalIsValidProp");try{l2(sS("@emotion/is-prop-valid").default)}catch{}function h0(t,e,n){let i={};for(let a in t)a==="values"&&typeof t.values=="object"||(p0(a)||n===!0&&fr(a)||!e&&!fr(a)||t.draggable&&a.startsWith("onDrag"))&&(i[a]=t[a]);return i}o(h0,"filterProps");var ms=z(ee(),1);var Na=z(G(),1);var g0=z(G(),1),Yn=(0,g0.createContext)({});var is=z(G(),1);function qn(t){return t!==null&&typeof t=="object"&&typeof t.start=="function"}o(qn,"isAnimationControls");function rn(t){return typeof t=="string"||Array.isArray(t)}o(rn,"isVariantLabel");var es=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],mr=["initial",...es];function Ri(t){return qn(t.animate)||mr.some(e=>rn(t[e]))}o(Ri,"isControllingVariants");function ns(t){return!!(Ri(t)||t.variants)}o(ns,"isVariantNode");function y0(t,e){if(Ri(t)){let{initial:n,animate:i}=t;return{initial:n===!1||rn(n)?n:void 0,animate:rn(i)?i:void 0}}return t.inherit!==!1?e:{}}o(y0,"getCurrentTreeVariants");function x0(t){let{initial:e,animate:n}=y0(t,(0,is.useContext)(Yn));return(0,is.useMemo)(()=>({initial:e,animate:n}),[v0(e),v0(n)])}o(x0,"useCreateMotionContext");function v0(t){return Array.isArray(t)?t.join(" "):t}o(v0,"variantLabelsAsDependency");var Ca=z(G(),1);var T0=z(G(),1);var Bi={};function b0(t){for(let e in t)Bi[e]=t[e],Ai(e)&&(Bi[e].isCSSVariable=!0)}o(b0,"addScaleCorrector");function as(t,{layout:e,layoutId:n}){return ne.has(t)||t.startsWith("origin")||(e||n!==void 0)&&(!!Bi[t]||t==="opacity")}o(as,"isForcedMotionValue");var s2={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},u2=Re.length;function S0(t,e,n){let i="",a=!0;for(let r=0;r<u2;r++){let l=Re[r],s=t[l];if(s===void 0)continue;let u=!0;if(typeof s=="number"?u=s===(l.startsWith("scale")?1:0):u=parseFloat(s)===0,!u||n){let c=or(s,zi[l]);if(!u){a=!1;let f=s2[l]||l;i+=`${f}(${c}) `}n&&(e[l]=c)}}return i=i.trim(),n?i=n(e,a?"":i):a&&(i="none"),i}o(S0,"buildTransform");function Ea(t,e,n){let{style:i,vars:a,transformOrigin:r}=t,l=!1,s=!1;for(let u in e){let c=e[u];if(ne.has(u)){l=!0;continue}else if(Ai(u)){a[u]=c;continue}else{let f=or(c,zi[u]);u.startsWith("origin")?(s=!0,r[u]=f):i[u]=f}}if(e.transform||(l||n?i.transform=S0(e,t.transform,n):i.transform&&(i.transform="none")),s){let{originX:u="50%",originY:c="50%",originZ:f=0}=r;i.transformOrigin=`${u} ${c} ${f}`}}o(Ea,"buildHTMLStyles");var Ma=o(()=>({style:{},transform:{},transformOrigin:{},vars:{}}),"createHtmlRenderState");function Ef(t,e,n){for(let i in e)!J(e[i])&&!as(i,n)&&(t[i]=e[i])}o(Ef,"copyRawValuesOnly");function c2({transformTemplate:t},e){return(0,T0.useMemo)(()=>{let n=Ma();return Ea(n,e,t),Object.assign({},n.vars,n.style)},[e])}o(c2,"useInitialMotionValues");function f2(t,e){let n=t.style||{},i={};return Ef(i,n,t),Object.assign(i,c2(t,e)),i}o(f2,"useStyle");function w0(t,e){let n={},i=f2(t,e);return t.drag&&t.dragListener!==!1&&(n.draggable=!1,i.userSelect=i.WebkitUserSelect=i.WebkitTouchCallout="none",i.touchAction=t.drag===!0?"none":`pan-${t.drag==="x"?"y":"x"}`),t.tabIndex===void 0&&(t.onTap||t.onTapStart||t.whileTap)&&(n.tabIndex=0),n.style=i,n}o(w0,"useHTMLProps");var E0=z(G(),1);var m2={offset:"stroke-dashoffset",array:"stroke-dasharray"},d2={offset:"strokeDashoffset",array:"strokeDasharray"};function A0(t,e,n=1,i=0,a=!0){t.pathLength=1;let r=a?m2:d2;t[r.offset]=D.transform(-i);let l=D.transform(e),s=D.transform(n);t[r.array]=`${l} ${s}`}o(A0,"buildSVGPath");function os(t,{attrX:e,attrY:n,attrScale:i,pathLength:a,pathSpacing:r=1,pathOffset:l=0,...s},u,c,f){if(Ea(t,s,c),u){t.style.viewBox&&(t.attrs.viewBox=t.style.viewBox);return}t.attrs=t.style,t.style={};let{attrs:m,style:d}=t;m.transform&&(d.transform=m.transform,delete m.transform),(d.transform||m.transformOrigin)&&(d.transformOrigin=m.transformOrigin??"50% 50%",delete m.transformOrigin),d.transform&&(d.transformBox=f?.transformBox??"fill-box",delete m.transformBox),e!==void 0&&(m.x=e),n!==void 0&&(m.y=n),i!==void 0&&(m.scale=i),a!==void 0&&A0(m,a,r,l,!1)}o(os,"buildSVGAttrs");var rs=o(()=>({...Ma(),attrs:{}}),"createSvgRenderState");var ls=o(t=>typeof t=="string"&&t.toLowerCase()==="svg","isSVGTag");function M0(t,e,n,i){let a=(0,E0.useMemo)(()=>{let r=rs();return os(r,e,ls(i),t.transformTemplate,t.style),{...r.attrs,style:{...r.style}}},[e]);if(t.style){let r={};Ef(r,t.style,t),a.style={...r,...a.style}}return a}o(M0,"useSVGProps");var D0=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function Da(t){return typeof t!="string"||t.includes("-")?!1:!!(D0.indexOf(t)>-1||/[A-Z]/u.test(t))}o(Da,"isSVGComponent");function C0(t,e,n,{latestValues:i},a,r=!1){let s=(Da(t)?M0:w0)(e,i,a,t),u=h0(e,typeof t=="string",r),c=t!==Ca.Fragment?{...u,...s,ref:n}:{},{children:f}=e,m=(0,Ca.useMemo)(()=>J(f)?f.get():f,[f]);return(0,Ca.createElement)(t,{...c,children:m})}o(C0,"useRender");var Mf=z(G(),1);function V0(t){let e=[{},{}];return t?.values.forEach((n,i)=>{e[0][i]=n.get(),e[1][i]=n.getVelocity()}),e}o(V0,"getValueState");function Va(t,e,n,i){if(typeof e=="function"){let[a,r]=V0(i);e=e(n!==void 0?n:t.custom,a,r)}if(typeof e=="string"&&(e=t.variants&&t.variants[e]),typeof e=="function"){let[a,r]=V0(i);e=e(n!==void 0?n:t.custom,a,r)}return e}o(Va,"resolveVariantFromProps");function Oa(t){return J(t)?t.get():t}o(Oa,"resolveMotionValue");function p2({scrapeMotionValuesFromProps:t,createRenderState:e},n,i,a){return{latestValues:h2(n,i,a,t),renderState:e()}}o(p2,"makeState");function h2(t,e,n,i){let a={},r=i(t,{});for(let d in r)a[d]=Oa(r[d]);let{initial:l,animate:s}=t,u=Ri(t),c=ns(t);e&&c&&!u&&t.inherit!==!1&&(l===void 0&&(l=e.initial),s===void 0&&(s=e.animate));let f=n?n.initial===!1:!1;f=f||l===!1;let m=f?s:l;if(m&&typeof m!="boolean"&&!qn(m)){let d=Array.isArray(m)?m:[m];for(let p=0;p<d.length;p++){let v=Va(t,d[p]);if(v){let{transitionEnd:b,transition:A,...g}=v;for(let h in g){let y=g[h];if(Array.isArray(y)){let x=f?y.length-1:0;y=y[x]}y!==null&&(a[h]=y)}for(let h in b)a[h]=b[h]}}}return a}o(h2,"makeLatestValues");var ss=o(t=>(e,n)=>{let i=(0,Mf.useContext)(Yn),a=(0,Mf.useContext)(Nn),r=o(()=>p2(t,e,i,a),"make");return n?r():da(r)},"makeUseVisualState");function za(t,e,n){let{style:i}=t,a={};for(let r in i)(J(i[r])||e.style&&J(e.style[r])||as(r,t)||n?.getValue(r)?.liveStyle!==void 0)&&(a[r]=i[r]);return a}o(za,"scrapeMotionValuesFromProps");var O0=ss({scrapeMotionValuesFromProps:za,createRenderState:Ma});function us(t,e,n){let i=za(t,e,n);for(let a in t)if(J(t[a])||J(e[a])){let r=Re.indexOf(a)!==-1?"attr"+a.charAt(0).toUpperCase()+a.substring(1):a;i[r]=t[a]}return i}o(us,"scrapeMotionValuesFromProps");var z0=ss({scrapeMotionValuesFromProps:us,createRenderState:rs});var _0=Symbol.for("motionComponentSymbol");var N0=z(G(),1);function ln(t){return t&&typeof t=="object"&&Object.prototype.hasOwnProperty.call(t,"current")}o(ln,"isRefObject");function R0(t,e,n){return(0,N0.useCallback)(i=>{i&&t.onMount&&t.onMount(i),e&&(i?e.mount(i):e.unmount()),n&&(typeof n=="function"?n(i):ln(n)&&(n.current=i))},[e])}o(R0,"useMotionRef");var Qt=z(G(),1);var _a=o(t=>t.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),"camelToDash");var g2="framerAppearId",cs="data-"+_a(g2);var B0=z(G(),1),fs=(0,B0.createContext)({});function U0(t,e,n,i,a){let{visualElement:r}=(0,Qt.useContext)(Yn),l=(0,Qt.useContext)(ts),s=(0,Qt.useContext)(Nn),u=(0,Qt.useContext)(Aa).reducedMotion,c=(0,Qt.useRef)(null);i=i||l.renderer,!c.current&&i&&(c.current=i(t,{visualState:e,parent:r,props:n,presenceContext:s,blockInitialAnimation:s?s.initial===!1:!1,reducedMotionConfig:u}));let f=c.current,m=(0,Qt.useContext)(fs);f&&!f.projection&&a&&(f.type==="html"||f.type==="svg")&&y2(c.current,n,a,m);let d=(0,Qt.useRef)(!1);(0,Qt.useInsertionEffect)(()=>{f&&d.current&&f.update(n,s)});let p=n[cs],v=(0,Qt.useRef)(!!p&&!window.MotionHandoffIsComplete?.(p)&&window.MotionHasOptimisedAnimation?.(p));return Dl(()=>{f&&(d.current=!0,window.MotionIsMounted=!0,f.updateFeatures(),f.scheduleRenderMicrotask(),v.current&&f.animationState&&f.animationState.animateChanges())}),(0,Qt.useEffect)(()=>{f&&(!v.current&&f.animationState&&f.animationState.animateChanges(),v.current&&(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(p)}),v.current=!1),f.enteringChildren=void 0)}),f}o(U0,"useVisualElement");function y2(t,e,n,i){let{layoutId:a,layout:r,drag:l,dragConstraints:s,layoutScroll:u,layoutRoot:c,layoutCrossfade:f}=e;t.projection=new n(t.latestValues,e["data-framer-portal-id"]?void 0:L0(t.parent)),t.projection.setOptions({layoutId:a,layout:r,alwaysMeasureLayout:!!l||s&&ln(s),visualElement:t,animationType:typeof r=="string"?r:"both",initialPromotionConfig:i,crossfade:f,layoutScroll:u,layoutRoot:c})}o(y2,"createProjectionNode");function L0(t){if(t)return t.options.allowProjection!==!1?t.projection:L0(t.parent)}o(L0,"getClosestProjectingNode");function ds(t,{forwardMotionProps:e=!1}={},n,i){n&&d0(n);let a=Da(t)?z0:O0;function r(s,u){let c,f={...(0,Na.useContext)(Aa),...s,layoutId:v2(s)},{isStatic:m}=f,d=x0(s),p=a(s,m);if(!m&&pa){x2(f,n);let v=b2(f);c=v.MeasureLayout,d.visualElement=U0(t,p,f,i,v.ProjectionNode)}return(0,ms.jsxs)(Yn.Provider,{value:d,children:[c&&d.visualElement?(0,ms.jsx)(c,{visualElement:d.visualElement,...f}):null,C0(t,s,R0(p,d.visualElement,u),p,m,e)]})}o(r,"MotionDOMComponent"),r.displayName=`motion.${typeof t=="string"?t:`create(${t.displayName??t.name??""})`}`;let l=(0,Na.forwardRef)(r);return l[_0]=t,l}o(ds,"createMotionComponent");function v2({layoutId:t}){let e=(0,Na.useContext)(ma).id;return e&&t!==void 0?e+"-"+t:t}o(v2,"useLayoutId");function x2(t,e){let n=(0,Na.useContext)(ts).strict}o(x2,"useStrictMode");function b2(t){let{drag:e,layout:n}=on;if(!e&&!n)return{};let i={...e,...n};return{MeasureLayout:e?.isEnabled(t)||n?.isEnabled(t)?i.MeasureLayout:void 0,ProjectionNode:i.ProjectionNode}}o(b2,"getProjectionFunctionality");function j0(t,e){if(typeof Proxy>"u")return ds;let n=new Map,i=o((r,l)=>ds(r,l,t,e),"factory"),a=o((r,l)=>i(r,l),"deprecatedFactoryFunction");return new Proxy(a,{get:o((r,l)=>l==="create"?i:(n.has(l)||n.set(l,ds(l,void 0,t,e)),n.get(l)),"get")})}o(j0,"createMotionProxy");var eg=z(G(),1);function ps({top:t,left:e,right:n,bottom:i}){return{x:{min:e,max:n},y:{min:t,max:i}}}o(ps,"convertBoundingBoxToBox");function H0({x:t,y:e}){return{top:e.min,right:t.max,bottom:e.max,left:t.min}}o(H0,"convertBoxToBoundingBox");function G0(t,e){if(!e)return t;let n=e({x:t.left,y:t.top}),i=e({x:t.right,y:t.bottom});return{top:n.y,left:n.x,bottom:i.y,right:i.x}}o(G0,"transformBoxPoints");function Df(t){return t===void 0||t===1}o(Df,"isIdentityScale");function hs({scale:t,scaleX:e,scaleY:n}){return!Df(t)||!Df(e)||!Df(n)}o(hs,"hasScale");function sn(t){return hs(t)||Cf(t)||t.z||t.rotate||t.rotateX||t.rotateY||t.skewX||t.skewY}o(sn,"hasTransform");function Cf(t){return Y0(t.x)||Y0(t.y)}o(Cf,"has2DTranslate");function Y0(t){return t&&t!=="0%"}o(Y0,"is2DTranslate");function dr(t,e,n){let i=t-n,a=e*i;return n+a}o(dr,"scalePoint");function q0(t,e,n,i,a){return a!==void 0&&(t=dr(t,a,i)),dr(t,n,i)+e}o(q0,"applyPointDelta");function Vf(t,e=0,n=1,i,a){t.min=q0(t.min,e,n,i,a),t.max=q0(t.max,e,n,i,a)}o(Vf,"applyAxisDelta");function Of(t,{x:e,y:n}){Vf(t.x,e.translate,e.scale,e.originPoint),Vf(t.y,n.translate,n.scale,n.originPoint)}o(Of,"applyBoxDelta");var X0=.999999999999,k0=1.0000000000001;function Q0(t,e,n,i=!1){let a=n.length;if(!a)return;e.x=e.y=1;let r,l;for(let s=0;s<a;s++){r=n[s],l=r.projectionDelta;let{visualElement:u}=r.options;u&&u.props.style&&u.props.style.display==="contents"||(i&&r.options.layoutScroll&&r.scroll&&r!==r.root&&Ui(t,{x:-r.scroll.offset.x,y:-r.scroll.offset.y}),l&&(e.x*=l.x.scale,e.y*=l.y.scale,Of(t,l)),i&&sn(r.latestValues)&&Ui(t,r.latestValues))}e.x<k0&&e.x>X0&&(e.x=1),e.y<k0&&e.y>X0&&(e.y=1)}o(Q0,"applyTreeDeltas");function Xn(t,e){t.min=t.min+e,t.max=t.max+e}o(Xn,"translateAxis");function Z0(t,e,n,i,a=.5){let r=j(t.min,t.max,a);Vf(t,e,n,r,i)}o(Z0,"transformAxis");function Ui(t,e){Z0(t.x,e.x,e.scaleX,e.scale,e.originX),Z0(t.y,e.y,e.scaleY,e.scale,e.originY)}o(Ui,"transformBox");function zf(t,e){return ps(G0(t.getBoundingClientRect(),e))}o(zf,"measureViewportBox");function K0(t,e,n){let i=zf(t,n),{scroll:a}=e;return a&&(Xn(i.x,a.offset.x),Xn(i.y,a.offset.y)),i}o(K0,"measurePageBox");var P0=o(()=>({translate:0,scale:1,origin:0,originPoint:0}),"createAxisDelta"),Li=o(()=>({x:P0(),y:P0()}),"createDelta"),J0=o(()=>({min:0,max:0}),"createAxis"),tt=o(()=>({x:J0(),y:J0()}),"createBox");var pr={current:null},gs={current:!1};function F0(){if(gs.current=!0,!!pa)if(window.matchMedia){let t=window.matchMedia("(prefers-reduced-motion)"),e=o(()=>pr.current=t.matches,"setReducedMotionPreferences");t.addEventListener("change",e),e()}else pr.current=!1}o(F0,"initPrefersReducedMotion");var W0=new WeakMap;function I0(t,e,n){for(let i in e){let a=e[i],r=n[i];if(J(a))t.addValue(i,a);else if(J(r))t.addValue(i,ye(a,{owner:t}));else if(r!==a)if(t.hasValue(i)){let l=t.getValue(i);l.liveStyle===!0?l.jump(a):l.hasAnimated||l.set(a)}else{let l=t.getStaticValue(i);t.addValue(i,ye(l!==void 0?l:a,{owner:t}))}}for(let i in n)e[i]===void 0&&t.removeValue(i);return e}o(I0,"updateMotionValuesFromProps");var $0=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],ys=class{static{o(this,"VisualElement")}scrapeMotionValuesFromProps(e,n,i){return{}}constructor({parent:e,props:n,presenceContext:i,reducedMotionConfig:a,blockInitialAnimation:r,visualState:l},s={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=nn,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{let d=ct.now();this.renderScheduledAt<d&&(this.renderScheduledAt=d,B.render(this.render,!1,!0))};let{latestValues:u,renderState:c}=l;this.latestValues=u,this.baseTarget={...u},this.initialValues=n.initial?{...u}:{},this.renderState=c,this.parent=e,this.props=n,this.presenceContext=i,this.depth=e?e.depth+1:0,this.reducedMotionConfig=a,this.options=s,this.blockInitialAnimation=!!r,this.isControllingVariants=Ri(n),this.isVariantNode=ns(n),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(e&&e.current);let{willChange:f,...m}=this.scrapeMotionValuesFromProps(n,{},this);for(let d in m){let p=m[d];u[d]!==void 0&&J(p)&&p.set(u[d])}}mount(e){this.current=e,W0.set(e,this),this.projection&&!this.projection.instance&&this.projection.mount(e),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((n,i)=>this.bindToMotionValue(i,n)),gs.current||F0(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:pr.current,this.parent?.addChild(this),this.update(this.props,this.presenceContext)}unmount(){this.projection&&this.projection.unmount(),Zt(this.notifyUpdate),Zt(this.render),this.valueSubscriptions.forEach(e=>e()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent?.removeChild(this);for(let e in this.events)this.events[e].clear();for(let e in this.features){let n=this.features[e];n&&(n.unmount(),n.isMounted=!1)}this.current=null}addChild(e){this.children.add(e),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(e)}removeChild(e){this.children.delete(e),this.enteringChildren&&this.enteringChildren.delete(e)}bindToMotionValue(e,n){this.valueSubscriptions.has(e)&&this.valueSubscriptions.get(e)();let i=ne.has(e);i&&this.onBindTransform&&this.onBindTransform();let a=n.on("change",l=>{this.latestValues[e]=l,this.props.onUpdate&&B.preRender(this.notifyUpdate),i&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()}),r;window.MotionCheckAppearSync&&(r=window.MotionCheckAppearSync(this,e,n)),this.valueSubscriptions.set(e,()=>{a(),r&&r(),n.owner&&n.stop()})}sortNodePosition(e){return!this.current||!this.sortInstanceNodePosition||this.type!==e.type?0:this.sortInstanceNodePosition(this.current,e.current)}updateFeatures(){let e="animation";for(e in on){let n=on[e];if(!n)continue;let{isEnabled:i,Feature:a}=n;if(!this.features[e]&&a&&i(this.props)&&(this.features[e]=new a(this)),this.features[e]){let r=this.features[e];r.isMounted?r.update():(r.mount(),r.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):tt()}getStaticValue(e){return this.latestValues[e]}setStaticValue(e,n){this.latestValues[e]=n}update(e,n){(e.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=e,this.prevPresenceContext=this.presenceContext,this.presenceContext=n;for(let i=0;i<$0.length;i++){let a=$0[i];this.propEventSubscriptions[a]&&(this.propEventSubscriptions[a](),delete this.propEventSubscriptions[a]);let r="on"+a,l=e[r];l&&(this.propEventSubscriptions[a]=this.on(a,l))}this.prevMotionValues=I0(this,this.scrapeMotionValuesFromProps(e,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(e){return this.props.variants?this.props.variants[e]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(e){let n=this.getClosestVariantNode();if(n)return n.variantChildren&&n.variantChildren.add(e),()=>n.variantChildren.delete(e)}addValue(e,n){let i=this.values.get(e);n!==i&&(i&&this.removeValue(e),this.bindToMotionValue(e,n),this.values.set(e,n),this.latestValues[e]=n.get())}removeValue(e){this.values.delete(e);let n=this.valueSubscriptions.get(e);n&&(n(),this.valueSubscriptions.delete(e)),delete this.latestValues[e],this.removeValueFromRenderState(e,this.renderState)}hasValue(e){return this.values.has(e)}getValue(e,n){if(this.props.values&&this.props.values[e])return this.props.values[e];let i=this.values.get(e);return i===void 0&&n!==void 0&&(i=ye(n===null?void 0:n,{owner:this}),this.addValue(e,i)),i}readValue(e,n){let i=this.latestValues[e]!==void 0||!this.current?this.latestValues[e]:this.getBaseTargetFromProps(this.props,e)??this.readValueFromInstance(this.current,e,this.options);return i!=null&&(typeof i=="string"&&(Ro(i)||Uo(i))?i=parseFloat(i):!bf(i)&&Ht.test(n)&&(i=ir(e,n)),this.setBaseTarget(e,J(i)?i.get():i)),J(i)?i.get():i}setBaseTarget(e,n){this.baseTarget[e]=n}getBaseTarget(e){let{initial:n}=this.props,i;if(typeof n=="string"||typeof n=="object"){let r=Va(this.props,n,this.presenceContext?.custom);r&&(i=r[e])}if(n&&i!==void 0)return i;let a=this.getBaseTargetFromProps(this.props,e);return a!==void 0&&!J(a)?a:this.initialValues[e]!==void 0&&i===void 0?void 0:this.baseTarget[e]}on(e,n){return this.events[e]||(this.events[e]=new $e),this.events[e].add(n)}notify(e,...n){this.events[e]&&this.events[e].notify(...n)}scheduleRenderMicrotask(){_i.render(this.render)}};var Ra=class extends ys{static{o(this,"DOMVisualElement")}constructor(){super(...arguments),this.KeyframeResolver=ar}sortInstanceNodePosition(e,n){return e.compareDocumentPosition(n)&2?1:-1}getBaseTargetFromProps(e,n){return e.style?e.style[n]:void 0}removeValueFromRenderState(e,{vars:n,style:i}){delete n[e],delete i[e]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:e}=this.props;J(e)&&(this.childSubscription=e.on("change",n=>{this.current&&(this.current.textContent=`${n}`)}))}};function vs(t,{style:e,vars:n},i,a){let r=t.style,l;for(l in e)r[l]=e[l];a?.applyProjectionStyles(r,i);for(l in n)r.setProperty(l,n[l])}o(vs,"renderHTML");function S2(t){return window.getComputedStyle(t)}o(S2,"getComputedStyle");var xs=class extends Ra{static{o(this,"HTMLVisualElement")}constructor(){super(...arguments),this.type="html",this.renderInstance=vs}readValueFromInstance(e,n){if(ne.has(n))return this.projection?.isProjecting?Wo(n):$c(e,n);{let i=S2(e),a=(Ai(n)?i.getPropertyValue(n):i[n])||0;return typeof a=="string"?a.trim():a}}measureInstanceViewportBox(e,{transformPagePoint:n}){return zf(e,n)}build(e,n,i){Ea(e,n,i.transformTemplate)}scrapeMotionValuesFromProps(e,n,i){return za(e,n,i)}};var bs=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);function tg(t,e,n,i){vs(t,e,void 0,i);for(let a in e.attrs)t.setAttribute(bs.has(a)?a:_a(a),e.attrs[a])}o(tg,"renderSVG");var Ss=class extends Ra{static{o(this,"SVGVisualElement")}constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=tt}getBaseTargetFromProps(e,n){return e[n]}readValueFromInstance(e,n){if(ne.has(n)){let i=nr(n);return i&&i.default||0}return n=bs.has(n)?n:_a(n),e.getAttribute(n)}scrapeMotionValuesFromProps(e,n,i){return us(e,n,i)}build(e,n,i){os(e,n,this.isSVGTag,i.transformTemplate,i.style)}renderInstance(e,n,i,a){tg(e,n,i,a)}mount(e){this.isSVGTag=ls(e.tagName),super.mount(e)}};var ng=o((t,e)=>Da(t)?new Ss(e):new xs(e,{allowProjection:t!==eg.Fragment}),"createDomVisualElement");function Xe(t,e,n){let i=t.getProps();return Va(i,e,n!==void 0?n:i.custom,t)}o(Xe,"resolveVariant");var hr=o(t=>Array.isArray(t),"isKeyframesTarget");function T2(t,e,n){t.hasValue(e)?t.getValue(e).set(n):t.addValue(e,ye(n))}o(T2,"setMotionValue");function w2(t){return hr(t)?t[t.length-1]||0:t}o(w2,"resolveFinalValueInKeyframes");function ig(t,e){let n=Xe(t,e),{transitionEnd:i={},transition:a={},...r}=n||{};r={...r,...i};for(let l in r){let s=w2(r[l]);T2(t,l,s)}}o(ig,"setTarget");function ag(t){return!!(J(t)&&t.add)}o(ag,"isWillChangeMotionValue");function gr(t,e){let n=t.getValue("willChange");if(ag(n))return n.add(e);if(!n&&Lt.WillChange){let i=new Lt.WillChange("auto");t.addValue("willChange",i),i.add(e)}}o(gr,"addValueToWillChange");function Ts(t){return t.props[cs]}o(Ts,"getOptimisedAppearId");var A2=o(t=>t!==null,"isNotNull");function og(t,{repeat:e,repeatType:n="loop"},i){let a=t.filter(A2),r=e&&n!=="loop"&&e%2===1?0:a.length-1;return!r||i===void 0?a[r]:i}o(og,"getFinalKeyframe");var E2={type:"spring",stiffness:500,damping:25,restSpeed:10},M2=o(t=>({type:"spring",stiffness:550,damping:t===0?2*Math.sqrt(550):30,restSpeed:10}),"criticallyDampedSpring"),D2={type:"keyframes",duration:.8},C2={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},rg=o((t,{keyframes:e})=>e.length>2?D2:ne.has(t)?t.startsWith("scale")?M2(e[1]):E2:C2,"getDefaultTransition");function lg({when:t,delay:e,delayChildren:n,staggerChildren:i,staggerDirection:a,repeat:r,repeatType:l,repeatDelay:s,from:u,elapsed:c,...f}){return!!Object.keys(f).length}o(lg,"isTransitionDefined");var Ba=o((t,e,n,i={},a,r)=>l=>{let s=Oi(i,t)||{},u=s.delay||i.delay||0,{elapsed:c=0}=i;c=c-xt(u);let f={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:e.getVelocity(),...s,delay:-c,onUpdate:o(d=>{e.set(d),s.onUpdate&&s.onUpdate(d)},"onUpdate"),onComplete:o(()=>{l(),s.onComplete&&s.onComplete()},"onComplete"),name:t,motionValue:e,element:r?void 0:a};lg(s)||Object.assign(f,rg(t,f)),f.duration&&(f.duration=xt(f.duration)),f.repeatDelay&&(f.repeatDelay=xt(f.repeatDelay)),f.from!==void 0&&(f.keyframes[0]=f.from);let m=!1;if((f.type===!1||f.duration===0&&!f.repeatDelay)&&(Ta(f),f.delay===0&&(m=!0)),(Lt.instantAnimations||Lt.skipAnimations)&&(m=!0,Ta(f),f.delay=0),f.allowFlatten=!s.type&&!s.ease,m&&!r&&e.get()!==void 0){let d=og(f.keyframes,s);if(d!==void 0){B.update(()=>{f.onUpdate(d),f.onComplete()});return}}return s.isSync?new en(f):new $o(f)},"animateMotionValue");function V2({protectedKeys:t,needsAnimating:e},n){let i=t.hasOwnProperty(n)&&e[n]!==!0;return e[n]=!1,i}o(V2,"shouldBlockAnimation");function ws(t,e,{delay:n=0,transitionOverride:i,type:a}={}){let{transition:r=t.getDefaultTransition(),transitionEnd:l,...s}=e;i&&(r=i);let u=[],c=a&&t.animationState&&t.animationState.getState()[a];for(let f in s){let m=t.getValue(f,t.latestValues[f]??null),d=s[f];if(d===void 0||c&&V2(c,f))continue;let p={delay:n,...Oi(r||{},f)},v=m.get();if(v!==void 0&&!m.isAnimating&&!Array.isArray(d)&&d===v&&!p.velocity)continue;let b=!1;if(window.MotionHandoffAnimation){let g=Ts(t);if(g){let h=window.MotionHandoffAnimation(g,f,B);h!==null&&(p.startTime=h,b=!0)}}gr(t,f),m.start(Ba(f,m,d,t.shouldReduceMotion&&tr.has(f)?{type:!1}:p,t,b));let A=m.animation;A&&u.push(A)}return l&&Promise.all(u).then(()=>{B.update(()=>{l&&ig(t,l)})}),u}o(ws,"animateTarget");function As(t,e,n,i=0,a=1){let r=Array.from(t).sort((c,f)=>c.sortNodePosition(f)).indexOf(e),l=t.size,s=(l-1)*i;return typeof n=="function"?n(r,l):a===1?r*i:s-r*i}o(As,"calcChildStagger");function Es(t,e,n={}){let i=Xe(t,e,n.type==="exit"?t.presenceContext?.custom:void 0),{transition:a=t.getDefaultTransition()||{}}=i||{};n.transitionOverride&&(a=n.transitionOverride);let r=i?()=>Promise.all(ws(t,i,n)):()=>Promise.resolve(),l=t.variantChildren&&t.variantChildren.size?(u=0)=>{let{delayChildren:c=0,staggerChildren:f,staggerDirection:m}=a;return O2(t,e,u,c,f,m,n)}:()=>Promise.resolve(),{when:s}=a;if(s){let[u,c]=s==="beforeChildren"?[r,l]:[l,r];return u().then(()=>c())}else return Promise.all([r(),l(n.delay)])}o(Es,"animateVariant");function O2(t,e,n=0,i=0,a=0,r=1,l){let s=[];for(let u of t.variantChildren)u.notify("AnimationStart",e),s.push(Es(u,e,{...l,delay:n+(typeof i=="function"?0:i)+As(t.variantChildren,u,i,a,r)}).then(()=>u.notify("AnimationComplete",e)));return Promise.all(s)}o(O2,"animateChildren");function sg(t,e,n={}){t.notify("AnimationStart",e);let i;if(Array.isArray(e)){let a=e.map(r=>Es(t,r,n));i=Promise.all(a)}else if(typeof e=="string")i=Es(t,e,n);else{let a=typeof e=="function"?Xe(t,e,n.custom):e;i=Promise.all(ws(t,a,n))}return i.then(()=>{t.notify("AnimationComplete",e)})}o(sg,"animateVisualElement");function _f(t,e){if(!Array.isArray(e))return!1;let n=e.length;if(n!==t.length)return!1;for(let i=0;i<n;i++)if(e[i]!==t[i])return!1;return!0}o(_f,"shallowCompare");var z2=mr.length;function Nf(t){if(!t)return;if(!t.isControllingVariants){let n=t.parent?Nf(t.parent)||{}:{};return t.props.initial!==void 0&&(n.initial=t.props.initial),n}let e={};for(let n=0;n<z2;n++){let i=mr[n],a=t.props[i];(rn(a)||a===!1)&&(e[i]=a)}return e}o(Nf,"getVariantContext");var _2=[...es].reverse(),N2=es.length;function R2(t){return e=>Promise.all(e.map(({animation:n,options:i})=>sg(t,n,i)))}o(R2,"animateList");function cg(t){let e=R2(t),n=ug(),i=!0,a=o(u=>(c,f)=>{let m=Xe(t,f,u==="exit"?t.presenceContext?.custom:void 0);if(m){let{transition:d,transitionEnd:p,...v}=m;c={...c,...v,...p}}return c},"buildResolvedTypeValues");function r(u){e=u(t)}o(r,"setAnimateFunction");function l(u){let{props:c}=t,f=Nf(t.parent)||{},m=[],d=new Set,p={},v=1/0;for(let A=0;A<N2;A++){let g=_2[A],h=n[g],y=c[g]!==void 0?c[g]:f[g],x=rn(y),T=g===u?h.isActive:null;T===!1&&(v=A);let M=y===f[g]&&y!==c[g]&&x;if(M&&i&&t.manuallyAnimateOnMount&&(M=!1),h.protectedKeys={...p},!h.isActive&&T===null||!y&&!h.prevProp||qn(y)||typeof y=="boolean")continue;let w=B2(h.prevProp,y),E=w||g===u&&h.isActive&&!M&&x||A>v&&x,C=!1,V=Array.isArray(y)?y:[y],Vt=V.reduce(a(g),{});T===!1&&(Vt={});let{prevResolvedValues:xl={}}=h,eS={...xl,...Vt},Op=o(Ot=>{E=!0,d.has(Ot)&&(C=!0,d.delete(Ot)),h.needsAnimating[Ot]=!0;let he=t.getValue(Ot);he&&(he.liveStyle=!1)},"markToAnimate");for(let Ot in eS){let he=Vt[Ot],bi=xl[Ot];if(p.hasOwnProperty(Ot))continue;let ra=!1;hr(he)&&hr(bi)?ra=!_f(he,bi):ra=he!==bi,ra?he!=null?Op(Ot):d.add(Ot):he!==void 0&&d.has(Ot)?Op(Ot):h.protectedKeys[Ot]=!0}h.prevProp=y,h.prevResolvedValues=Vt,h.isActive&&(p={...p,...Vt}),i&&t.blockInitialAnimation&&(E=!1);let zp=M&&w;E&&(!zp||C)&&m.push(...V.map(Ot=>{let he={type:g};if(typeof Ot=="string"&&i&&!zp&&t.manuallyAnimateOnMount&&t.parent){let{parent:bi}=t,ra=Xe(bi,Ot);if(bi.enteringChildren&&ra){let{delayChildren:nS}=ra.transition||{};he.delay=As(bi.enteringChildren,t,nS)}}return{animation:Ot,options:he}}))}if(d.size){let A={};if(typeof c.initial!="boolean"){let g=Xe(t,Array.isArray(c.initial)?c.initial[0]:c.initial);g&&g.transition&&(A.transition=g.transition)}d.forEach(g=>{let h=t.getBaseTarget(g),y=t.getValue(g);y&&(y.liveStyle=!0),A[g]=h??null}),m.push({animation:A})}let b=!!m.length;return i&&(c.initial===!1||c.initial===c.animate)&&!t.manuallyAnimateOnMount&&(b=!1),i=!1,b?e(m):Promise.resolve()}o(l,"animateChanges");function s(u,c){if(n[u].isActive===c)return Promise.resolve();t.variantChildren?.forEach(m=>m.animationState?.setActive(u,c)),n[u].isActive=c;let f=l(u);for(let m in n)n[m].protectedKeys={};return f}return o(s,"setActive"),{animateChanges:l,setActive:s,setAnimateFunction:r,getState:o(()=>n,"getState"),reset:o(()=>{n=ug()},"reset")}}o(cg,"createAnimationState");function B2(t,e){return typeof e=="string"?e!==t:Array.isArray(e)?!_f(e,t):!1}o(B2,"checkVariantsDidChange");function ji(t=!1){return{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}o(ji,"createTypeState");function ug(){return{animate:ji(!0),whileInView:ji(),whileHover:ji(),whileTap:ji(),whileDrag:ji(),whileFocus:ji(),exit:ji()}}o(ug,"createState");var Et=class{static{o(this,"Feature")}constructor(e){this.isMounted=!1,this.node=e}update(){}};var Ms=class extends Et{static{o(this,"AnimationFeature")}constructor(e){super(e),e.animationState||(e.animationState=cg(e))}updateAnimationControlsSubscription(){let{animate:e}=this.node.getProps();qn(e)&&(this.unmountControls=e.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){let{animate:e}=this.node.getProps(),{animate:n}=this.node.prevProps||{};e!==n&&this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}};var U2=0,Ds=class extends Et{static{o(this,"ExitAnimationFeature")}constructor(){super(...arguments),this.id=U2++}update(){if(!this.node.presenceContext)return;let{isPresent:e,onExitComplete:n}=this.node.presenceContext,{isPresent:i}=this.node.prevPresenceContext||{};if(!this.node.animationState||e===i)return;let a=this.node.animationState.setActive("exit",!e);n&&!e&&a.then(()=>{n(this.id)})}mount(){let{register:e,onExitComplete:n}=this.node.presenceContext||{};n&&n(this.id),e&&(this.unmount=e(this.id))}unmount(){}};var fg={animation:{Feature:Ms},exit:{Feature:Ds}};function un(t,e,n,i={passive:!0}){return t.addEventListener(e,n,i),()=>t.removeEventListener(e,n)}o(un,"addDomEvent");function cn(t){return{point:{x:t.pageX,y:t.pageY}}}o(cn,"extractEventInfo");var mg=o(t=>e=>Ni(e)&&t(e,cn(e)),"addPointerInfo");function kn(t,e,n,i){return un(t,e,mg(n),i)}o(kn,"addPointerEvent");var gg=1e-4,L2=1-gg,j2=1+gg,yg=.01,H2=0-yg,G2=0+yg;function St(t){return t.max-t.min}o(St,"calcLength");function vg(t,e,n){return Math.abs(t-e)<=n}o(vg,"isNear");function dg(t,e,n,i=.5){t.origin=i,t.originPoint=j(e.min,e.max,t.origin),t.scale=St(n)/St(e),t.translate=j(n.min,n.max,t.origin)-t.originPoint,(t.scale>=L2&&t.scale<=j2||isNaN(t.scale))&&(t.scale=1),(t.translate>=H2&&t.translate<=G2||isNaN(t.translate))&&(t.translate=0)}o(dg,"calcAxisDelta");function Ua(t,e,n,i){dg(t.x,e.x,n.x,i?i.originX:void 0),dg(t.y,e.y,n.y,i?i.originY:void 0)}o(Ua,"calcBoxDelta");function pg(t,e,n){t.min=n.min+e.min,t.max=t.min+St(e)}o(pg,"calcRelativeAxis");function xg(t,e,n){pg(t.x,e.x,n.x),pg(t.y,e.y,n.y)}o(xg,"calcRelativeBox");function hg(t,e,n){t.min=e.min-n.min,t.max=t.min+St(e)}o(hg,"calcRelativeAxisPosition");function La(t,e,n){hg(t.x,e.x,n.x),hg(t.y,e.y,n.y)}o(La,"calcRelativePosition");function Kt(t){return[t("x"),t("y")]}o(Kt,"eachAxis");var Cs=o(({current:t})=>t?t.ownerDocument.defaultView:null,"getContextWindow");var bg=o((t,e)=>Math.abs(t-e),"distance");function Sg(t,e){let n=bg(t.x,e.x),i=bg(t.y,e.y);return Math.sqrt(n**2+i**2)}o(Sg,"distance2D");var ja=class{static{o(this,"PanSession")}constructor(e,n,{transformPagePoint:i,contextWindow:a=window,dragSnapToOrigin:r=!1,distanceThreshold:l=3}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let d=Bf(this.lastMoveEventInfo,this.history),p=this.startEvent!==null,v=Sg(d.offset,{x:0,y:0})>=this.distanceThreshold;if(!p&&!v)return;let{point:b}=d,{timestamp:A}=ut;this.history.push({...b,timestamp:A});let{onStart:g,onMove:h}=this.handlers;p||(g&&g(this.lastMoveEvent,d),this.startEvent=this.lastMoveEvent),h&&h(this.lastMoveEvent,d)},this.handlePointerMove=(d,p)=>{this.lastMoveEvent=d,this.lastMoveEventInfo=Rf(p,this.transformPagePoint),B.update(this.updatePoint,!0)},this.handlePointerUp=(d,p)=>{this.end();let{onEnd:v,onSessionEnd:b,resumeAnimation:A}=this.handlers;if(this.dragSnapToOrigin&&A&&A(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let g=Bf(d.type==="pointercancel"?this.lastMoveEventInfo:Rf(p,this.transformPagePoint),this.history);this.startEvent&&v&&v(d,g),b&&b(d,g)},!Ni(e))return;this.dragSnapToOrigin=r,this.handlers=n,this.transformPagePoint=i,this.distanceThreshold=l,this.contextWindow=a||window;let s=cn(e),u=Rf(s,this.transformPagePoint),{point:c}=u,{timestamp:f}=ut;this.history=[{...c,timestamp:f}];let{onSessionStart:m}=n;m&&m(e,Bf(u,this.history)),this.removeListeners=ze(kn(this.contextWindow,"pointermove",this.handlePointerMove),kn(this.contextWindow,"pointerup",this.handlePointerUp),kn(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),Zt(this.updatePoint)}};function Rf(t,e){return e?{point:e(t.point)}:t}o(Rf,"transformPoint");function Tg(t,e){return{x:t.x-e.x,y:t.y-e.y}}o(Tg,"subtractPoint");function Bf({point:t},e){return{point:t,delta:Tg(t,wg(e)),offset:Tg(t,Y2(e)),velocity:q2(e,.1)}}o(Bf,"getPanInfo");function Y2(t){return t[0]}o(Y2,"startDevicePoint");function wg(t){return t[t.length-1]}o(wg,"lastDevicePoint");function q2(t,e){if(t.length<2)return{x:0,y:0};let n=t.length-1,i=null,a=wg(t);for(;n>=0&&(i=t[n],!(a.timestamp-i.timestamp>xt(e)));)n--;if(!i)return{x:0,y:0};let r=bt(a.timestamp-i.timestamp);if(r===0)return{x:0,y:0};let l={x:(a.x-i.x)/r,y:(a.y-i.y)/r};return l.x===1/0&&(l.x=0),l.y===1/0&&(l.y=0),l}o(q2,"getVelocity");function Cg(t,{min:e,max:n},i){return e!==void 0&&t<e?t=i?j(e,t,i.min):Math.max(t,e):n!==void 0&&t>n&&(t=i?j(n,t,i.max):Math.min(t,n)),t}o(Cg,"applyConstraints");function Ag(t,e,n){return{min:e!==void 0?t.min+e:void 0,max:n!==void 0?t.max+n-(t.max-t.min):void 0}}o(Ag,"calcRelativeAxisConstraints");function Vg(t,{top:e,left:n,bottom:i,right:a}){return{x:Ag(t.x,n,a),y:Ag(t.y,e,i)}}o(Vg,"calcRelativeConstraints");function Eg(t,e){let n=e.min-t.min,i=e.max-t.max;return e.max-e.min<t.max-t.min&&([n,i]=[i,n]),{min:n,max:i}}o(Eg,"calcViewportAxisConstraints");function Og(t,e){return{x:Eg(t.x,e.x),y:Eg(t.y,e.y)}}o(Og,"calcViewportConstraints");function zg(t,e){let n=.5,i=St(t),a=St(e);return a>i?n=He(e.min,e.max-i,t.min):i>a&&(n=He(t.min,t.max-a,e.min)),At(0,1,n)}o(zg,"calcOrigin");function _g(t,e){let n={};return e.min!==void 0&&(n.min=e.min-t.min),e.max!==void 0&&(n.max=e.max-t.min),n}o(_g,"rebaseAxisConstraints");var Vs=.35;function Ng(t=Vs){return t===!1?t=0:t===!0&&(t=Vs),{x:Mg(t,"left","right"),y:Mg(t,"top","bottom")}}o(Ng,"resolveDragElastic");function Mg(t,e,n){return{min:Dg(t,e),max:Dg(t,n)}}o(Mg,"resolveAxisElastic");function Dg(t,e){return typeof t=="number"?t:t[e]||0}o(Dg,"resolvePointElastic");var X2=new WeakMap,zs=class{static{o(this,"VisualElementDragControls")}constructor(e){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=tt(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=e}start(e,{snapToCursor:n=!1,distanceThreshold:i}={}){let{presenceContext:a}=this.visualElement;if(a&&a.isPresent===!1)return;let r=o(m=>{let{dragSnapToOrigin:d}=this.getProps();d?this.pauseAnimation():this.stopAnimation(),n&&this.snapToCursor(cn(m).point)},"onSessionStart"),l=o((m,d)=>{let{drag:p,dragPropagation:v,onDragStart:b}=this.getProps();if(p&&!v&&(this.openDragLock&&this.openDragLock(),this.openDragLock=pf(p),!this.openDragLock))return;this.latestPointerEvent=m,this.latestPanInfo=d,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),Kt(g=>{let h=this.getAxisMotionValue(g).get()||0;if(jt.test(h)){let{projection:y}=this.visualElement;if(y&&y.layout){let x=y.layout.layoutBox[g];x&&(h=St(x)*(parseFloat(h)/100))}}this.originPoint[g]=h}),b&&B.postRender(()=>b(m,d)),gr(this.visualElement,"transform");let{animationState:A}=this.visualElement;A&&A.setActive("whileDrag",!0)},"onStart"),s=o((m,d)=>{this.latestPointerEvent=m,this.latestPanInfo=d;let{dragPropagation:p,dragDirectionLock:v,onDirectionLock:b,onDrag:A}=this.getProps();if(!p&&!this.openDragLock)return;let{offset:g}=d;if(v&&this.currentDirection===null){this.currentDirection=k2(g),this.currentDirection!==null&&b&&b(this.currentDirection);return}this.updateAxis("x",d.point,g),this.updateAxis("y",d.point,g),this.visualElement.render(),A&&A(m,d)},"onMove"),u=o((m,d)=>{this.latestPointerEvent=m,this.latestPanInfo=d,this.stop(m,d),this.latestPointerEvent=null,this.latestPanInfo=null},"onSessionEnd"),c=o(()=>Kt(m=>this.getAnimationState(m)==="paused"&&this.getAxisMotionValue(m).animation?.play()),"resumeAnimation"),{dragSnapToOrigin:f}=this.getProps();this.panSession=new ja(e,{onSessionStart:r,onStart:l,onMove:s,onSessionEnd:u,resumeAnimation:c},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:f,distanceThreshold:i,contextWindow:Cs(this.visualElement)})}stop(e,n){let i=e||this.latestPointerEvent,a=n||this.latestPanInfo,r=this.isDragging;if(this.cancel(),!r||!a||!i)return;let{velocity:l}=a;this.startAnimation(l);let{onDragEnd:s}=this.getProps();s&&B.postRender(()=>s(i,a))}cancel(){this.isDragging=!1;let{projection:e,animationState:n}=this.visualElement;e&&(e.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;let{dragPropagation:i}=this.getProps();!i&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),n&&n.setActive("whileDrag",!1)}updateAxis(e,n,i){let{drag:a}=this.getProps();if(!i||!Os(e,a,this.currentDirection))return;let r=this.getAxisMotionValue(e),l=this.originPoint[e]+i[e];this.constraints&&this.constraints[e]&&(l=Cg(l,this.constraints[e],this.elastic[e])),r.set(l)}resolveConstraints(){let{dragConstraints:e,dragElastic:n}=this.getProps(),i=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,a=this.constraints;e&&ln(e)?this.constraints||(this.constraints=this.resolveRefConstraints()):e&&i?this.constraints=Vg(i.layoutBox,e):this.constraints=!1,this.elastic=Ng(n),a!==this.constraints&&i&&this.constraints&&!this.hasMutatedConstraints&&Kt(r=>{this.constraints!==!1&&this.getAxisMotionValue(r)&&(this.constraints[r]=_g(i.layoutBox[r],this.constraints[r]))})}resolveRefConstraints(){let{dragConstraints:e,onMeasureDragConstraints:n}=this.getProps();if(!e||!ln(e))return!1;let i=e.current;ge(i!==null,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.","drag-constraints-ref");let{projection:a}=this.visualElement;if(!a||!a.layout)return!1;let r=K0(i,a.root,this.visualElement.getTransformPagePoint()),l=Og(a.layout.layoutBox,r);if(n){let s=n(H0(l));this.hasMutatedConstraints=!!s,s&&(l=ps(s))}return l}startAnimation(e){let{drag:n,dragMomentum:i,dragElastic:a,dragTransition:r,dragSnapToOrigin:l,onDragTransitionEnd:s}=this.getProps(),u=this.constraints||{},c=Kt(f=>{if(!Os(f,n,this.currentDirection))return;let m=u&&u[f]||{};l&&(m={min:0,max:0});let d=a?200:1e6,p=a?40:1e7,v={type:"inertia",velocity:i?e[f]:0,bounceStiffness:d,bounceDamping:p,timeConstant:750,restDelta:1,restSpeed:10,...r,...m};return this.startAxisValueAnimation(f,v)});return Promise.all(c).then(s)}startAxisValueAnimation(e,n){let i=this.getAxisMotionValue(e);return gr(this.visualElement,e),i.start(Ba(e,i,0,n,this.visualElement,!1))}stopAnimation(){Kt(e=>this.getAxisMotionValue(e).stop())}pauseAnimation(){Kt(e=>this.getAxisMotionValue(e).animation?.pause())}getAnimationState(e){return this.getAxisMotionValue(e).animation?.state}getAxisMotionValue(e){let n=`_drag${e.toUpperCase()}`,i=this.visualElement.getProps(),a=i[n];return a||this.visualElement.getValue(e,(i.initial?i.initial[e]:void 0)||0)}snapToCursor(e){Kt(n=>{let{drag:i}=this.getProps();if(!Os(n,i,this.currentDirection))return;let{projection:a}=this.visualElement,r=this.getAxisMotionValue(n);if(a&&a.layout){let{min:l,max:s}=a.layout.layoutBox[n];r.set(e[n]-j(l,s,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:e,dragConstraints:n}=this.getProps(),{projection:i}=this.visualElement;if(!ln(n)||!i||!this.constraints)return;this.stopAnimation();let a={x:0,y:0};Kt(l=>{let s=this.getAxisMotionValue(l);if(s&&this.constraints!==!1){let u=s.get();a[l]=zg({min:u,max:u},this.constraints[l])}});let{transformTemplate:r}=this.visualElement.getProps();this.visualElement.current.style.transform=r?r({},""):"none",i.root&&i.root.updateScroll(),i.updateLayout(),this.resolveConstraints(),Kt(l=>{if(!Os(l,e,null))return;let s=this.getAxisMotionValue(l),{min:u,max:c}=this.constraints[l];s.set(j(u,c,a[l]))})}addListeners(){if(!this.visualElement.current)return;X2.set(this.visualElement,this);let e=this.visualElement.current,n=kn(e,"pointerdown",u=>{let{drag:c,dragListener:f=!0}=this.getProps();c&&f&&this.start(u)}),i=o(()=>{let{dragConstraints:u}=this.getProps();ln(u)&&u.current&&(this.constraints=this.resolveRefConstraints())},"measureDragConstraints"),{projection:a}=this.visualElement,r=a.addEventListener("measure",i);a&&!a.layout&&(a.root&&a.root.updateScroll(),a.updateLayout()),B.read(i);let l=un(window,"resize",()=>this.scalePositionWithinConstraints()),s=a.addEventListener("didUpdate",(({delta:u,hasLayoutChanged:c})=>{this.isDragging&&c&&(Kt(f=>{let m=this.getAxisMotionValue(f);m&&(this.originPoint[f]+=u[f].translate,m.set(m.get()+u[f].translate))}),this.visualElement.render())}));return()=>{l(),n(),r(),s&&s()}}getProps(){let e=this.visualElement.getProps(),{drag:n=!1,dragDirectionLock:i=!1,dragPropagation:a=!1,dragConstraints:r=!1,dragElastic:l=Vs,dragMomentum:s=!0}=e;return{...e,drag:n,dragDirectionLock:i,dragPropagation:a,dragConstraints:r,dragElastic:l,dragMomentum:s}}};function Os(t,e,n){return(e===!0||e===t)&&(n===null||n===t)}o(Os,"shouldDrag");function k2(t,e=10){let n=null;return Math.abs(t.y)>e?n="y":Math.abs(t.x)>e&&(n="x"),n}o(k2,"getCurrentDirection");var _s=class extends Et{static{o(this,"DragGesture")}constructor(e){super(e),this.removeGroupControls=st,this.removeListeners=st,this.controls=new zs(e)}mount(){let{dragControls:e}=this.node.getProps();e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||st}unmount(){this.removeGroupControls(),this.removeListeners()}};var Rg=o(t=>(e,n)=>{t&&B.postRender(()=>t(e,n))},"asyncHandler"),Ns=class extends Et{static{o(this,"PanGesture")}constructor(){super(...arguments),this.removePointerDownListener=st}onPointerDown(e){this.session=new ja(e,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:Cs(this.node)})}createPanHandlers(){let{onPanSessionStart:e,onPanStart:n,onPan:i,onPanEnd:a}=this.node.getProps();return{onSessionStart:Rg(e),onStart:Rg(n),onMove:i,onEnd:o((r,l)=>{delete this.session,a&&B.postRender(()=>a(r,l))},"onEnd")}}mount(){this.removePointerDownListener=kn(this.node.current,"pointerdown",e=>this.onPointerDown(e))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}};var Lg=z(ee(),1);var yr=z(G(),1);var Ha={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function Bg(t,e){return e.max===e.min?0:t/(e.max-e.min)*100}o(Bg,"pixelsToPercent");var Ga={correct:o((t,e)=>{if(!e.target)return t;if(typeof t=="string")if(D.test(t))t=parseFloat(t);else return t;let n=Bg(t,e.target.x),i=Bg(t,e.target.y);return`${n}% ${i}%`},"correct")};var Ug={correct:o((t,{treeScale:e,projectionDelta:n})=>{let i=t,a=Ht.parse(t);if(a.length>5)return i;let r=Ht.createTransformer(t),l=typeof a[0]!="number"?1:0,s=n.x.scale*e.x,u=n.y.scale*e.y;a[0+l]/=s,a[1+l]/=u;let c=j(s,u,.5);return typeof a[2+l]=="number"&&(a[2+l]/=c),typeof a[3+l]=="number"&&(a[3+l]/=c),r(a)},"correct")};var Uf=!1,Lf=class extends yr.Component{static{o(this,"MeasureLayoutWithContext")}componentDidMount(){let{visualElement:e,layoutGroup:n,switchLayoutGroup:i,layoutId:a}=this.props,{projection:r}=e;b0(Z2),r&&(n.group&&n.group.add(r),i&&i.register&&a&&i.register(r),Uf&&r.root.didUpdate(),r.addEventListener("animationComplete",()=>{this.safeToRemove()}),r.setOptions({...r.options,onExitComplete:o(()=>this.safeToRemove(),"onExitComplete")})),Ha.hasEverUpdated=!0}getSnapshotBeforeUpdate(e){let{layoutDependency:n,visualElement:i,drag:a,isPresent:r}=this.props,{projection:l}=i;return l&&(l.isPresent=r,Uf=!0,a||e.layoutDependency!==n||n===void 0||e.isPresent!==r?l.willUpdate():this.safeToRemove(),e.isPresent!==r&&(r?l.promote():l.relegate()||B.postRender(()=>{let s=l.getStack();(!s||!s.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){let{projection:e}=this.props.visualElement;e&&(e.root.didUpdate(),_i.postRender(()=>{!e.currentAnimation&&e.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{visualElement:e,layoutGroup:n,switchLayoutGroup:i}=this.props,{projection:a}=e;Uf=!0,a&&(a.scheduleCheckAfterUnmount(),n&&n.group&&n.group.remove(a),i&&i.deregister&&i.deregister(a))}safeToRemove(){let{safeToRemove:e}=this.props;e&&e()}render(){return null}};function Rs(t){let[e,n]=Il(),i=(0,yr.useContext)(ma);return(0,Lg.jsx)(Lf,{...t,layoutGroup:i,switchLayoutGroup:(0,yr.useContext)(fs),isPresent:e,safeToRemove:n})}o(Rs,"MeasureLayout");var Z2={borderRadius:{...Ga,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:Ga,borderTopRightRadius:Ga,borderBottomLeftRadius:Ga,borderBottomRightRadius:Ga,boxShadow:Ug};function jg(t,e,n){let i=J(t)?t:ye(t);return i.start(Ba("",i,e,n)),i.animation}o(jg,"animateSingleValue");var Hg=o((t,e)=>t.depth-e.depth,"compareByDepth");var Bs=class{static{o(this,"FlatTree")}constructor(){this.children=[],this.isDirty=!1}add(e){Si(this.children,e),this.isDirty=!0}remove(e){Ti(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(Hg),this.isDirty=!1,this.children.forEach(e)}};function Gg(t,e){let n=ct.now(),i=o(({timestamp:a})=>{let r=a-n;r>=e&&(Zt(i),t(r-e))},"checkElapsed");return B.setup(i,!0),()=>Zt(i)}o(Gg,"delay");var kg=["TopLeft","TopRight","BottomLeft","BottomRight"],Q2=kg.length,Yg=o(t=>typeof t=="string"?parseFloat(t):t,"asNumber"),qg=o(t=>typeof t=="number"||D.test(t),"isPx");function Zg(t,e,n,i,a,r){a?(t.opacity=j(0,n.opacity??1,K2(i)),t.opacityExit=j(e.opacity??1,0,P2(i))):r&&(t.opacity=j(e.opacity??1,n.opacity??1,i));for(let l=0;l<Q2;l++){let s=`border${kg[l]}Radius`,u=Xg(e,s),c=Xg(n,s);if(u===void 0&&c===void 0)continue;u||(u=0),c||(c=0),u===0||c===0||qg(u)===qg(c)?(t[s]=Math.max(j(Yg(u),Yg(c),i),0),(jt.test(c)||jt.test(u))&&(t[s]+="%")):t[s]=c}(e.rotate||n.rotate)&&(t.rotate=j(e.rotate||0,n.rotate||0,i))}o(Zg,"mixValues");function Xg(t,e){return t[e]!==void 0?t[e]:t.borderRadius}o(Xg,"getRadius");var K2=Qg(0,.5,Yo),P2=Qg(.5,.95,st);function Qg(t,e,n){return i=>i<t?0:i>e?1:n(He(t,e,i))}o(Qg,"compress");function Kg(t,e){t.min=e.min,t.max=e.max}o(Kg,"copyAxisInto");function ie(t,e){Kg(t.x,e.x),Kg(t.y,e.y)}o(ie,"copyBoxInto");function jf(t,e){t.translate=e.translate,t.scale=e.scale,t.originPoint=e.originPoint,t.origin=e.origin}o(jf,"copyAxisDeltaInto");function Pg(t,e,n,i,a){return t-=e,t=dr(t,1/n,i),a!==void 0&&(t=dr(t,1/a,i)),t}o(Pg,"removePointDelta");function J2(t,e=0,n=1,i=.5,a,r=t,l=t){if(jt.test(e)&&(e=parseFloat(e),e=j(l.min,l.max,e/100)-l.min),typeof e!="number")return;let s=j(r.min,r.max,i);t===r&&(s-=e),t.min=Pg(t.min,e,n,s,a),t.max=Pg(t.max,e,n,s,a)}o(J2,"removeAxisDelta");function Jg(t,e,[n,i,a],r,l){J2(t,e[n],e[i],e[a],e.scale,r,l)}o(Jg,"removeAxisTransforms");var F2=["x","scaleX","originX"],W2=["y","scaleY","originY"];function Hf(t,e,n,i){Jg(t.x,e,F2,n?n.x:void 0,i?i.x:void 0),Jg(t.y,e,W2,n?n.y:void 0,i?i.y:void 0)}o(Hf,"removeBoxTransforms");function Fg(t){return t.translate===0&&t.scale===1}o(Fg,"isAxisDeltaZero");function Gf(t){return Fg(t.x)&&Fg(t.y)}o(Gf,"isDeltaZero");function Wg(t,e){return t.min===e.min&&t.max===e.max}o(Wg,"axisEquals");function $g(t,e){return Wg(t.x,e.x)&&Wg(t.y,e.y)}o($g,"boxEquals");function Ig(t,e){return Math.round(t.min)===Math.round(e.min)&&Math.round(t.max)===Math.round(e.max)}o(Ig,"axisEqualsRounded");function Yf(t,e){return Ig(t.x,e.x)&&Ig(t.y,e.y)}o(Yf,"boxEqualsRounded");function qf(t){return St(t.x)/St(t.y)}o(qf,"aspectRatio");function Xf(t,e){return t.translate===e.translate&&t.scale===e.scale&&t.originPoint===e.originPoint}o(Xf,"axisDeltaEquals");var Us=class{static{o(this,"NodeStack")}constructor(){this.members=[]}add(e){Si(this.members,e),e.scheduleRender()}remove(e){if(Ti(this.members,e),e===this.prevLead&&(this.prevLead=void 0),e===this.lead){let n=this.members[this.members.length-1];n&&this.promote(n)}}relegate(e){let n=this.members.findIndex(a=>e===a);if(n===0)return!1;let i;for(let a=n;a>=0;a--){let r=this.members[a];if(r.isPresent!==!1){i=r;break}}return i?(this.promote(i),!0):!1}promote(e,n){let i=this.lead;if(e!==i&&(this.prevLead=i,this.lead=e,e.show(),i)){i.instance&&i.scheduleRender(),e.scheduleRender(),e.resumeFrom=i,n&&(e.resumeFrom.preserveOpacity=!0),i.snapshot&&(e.snapshot=i.snapshot,e.snapshot.latestValues=i.animationValues||i.latestValues),e.root&&e.root.isUpdating&&(e.isLayoutDirty=!0);let{crossfade:a}=e.options;a===!1&&i.hide()}}exitAnimationComplete(){this.members.forEach(e=>{let{options:n,resumingFrom:i}=e;n.onExitComplete&&n.onExitComplete(),i&&i.options.onExitComplete&&i.options.onExitComplete()})}scheduleRender(){this.members.forEach(e=>{e.instance&&e.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}};function ty(t,e,n){let i="",a=t.x.translate/e.x,r=t.y.translate/e.y,l=n?.z||0;if((a||r||l)&&(i=`translate3d(${a}px, ${r}px, ${l}px) `),(e.x!==1||e.y!==1)&&(i+=`scale(${1/e.x}, ${1/e.y}) `),n){let{transformPerspective:c,rotate:f,rotateX:m,rotateY:d,skewX:p,skewY:v}=n;c&&(i=`perspective(${c}px) ${i}`),f&&(i+=`rotate(${f}deg) `),m&&(i+=`rotateX(${m}deg) `),d&&(i+=`rotateY(${d}deg) `),p&&(i+=`skewX(${p}deg) `),v&&(i+=`skewY(${v}deg) `)}let s=t.x.scale*e.x,u=t.y.scale*e.y;return(s!==1||u!==1)&&(i+=`scale(${s}, ${u})`),i||"none"}o(ty,"buildProjectionTransform");var Hi={nodes:0,calculatedTargetDeltas:0,calculatedProjections:0},kf=["","X","Y","Z"],I2=1e3,$2=0;function Zf(t,e,n,i){let{latestValues:a}=e;a[t]&&(n[t]=a[t],e.setStaticValue(t,0),i&&(i[t]=0))}o(Zf,"resetDistortingTransform");function uy(t){if(t.hasCheckedOptimisedAppear=!0,t.root===t)return;let{visualElement:e}=t.options;if(!e)return;let n=Ts(e);if(window.MotionHasOptimisedAnimation(n,"transform")){let{layout:a,layoutId:r}=t.options;window.MotionCancelOptimisedAnimation(n,"transform",B,!(a||r))}let{parent:i}=t;i&&!i.hasCheckedOptimisedAppear&&uy(i)}o(uy,"cancelTreeOptimisedTransformAnimations");function Ls({attachResizeListener:t,defaultParent:e,measureScroll:n,checkIsScrollRoot:i,resetTransform:a}){return class{static{o(this,"ProjectionNode")}constructor(l={},s=e?.()){this.id=$2++,this.animationId=0,this.animationCommitId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,kt.value&&(Hi.nodes=Hi.calculatedTargetDeltas=Hi.calculatedProjections=0),this.nodes.forEach(nw),this.nodes.forEach(rw),this.nodes.forEach(lw),this.nodes.forEach(iw),kt.addProjectionMetrics&&kt.addProjectionMetrics(Hi)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=l,this.root=s?s.root||s:this,this.path=s?[...s.path,s]:[],this.parent=s,this.depth=s?s.depth+1:0;for(let u=0;u<this.path.length;u++)this.path[u].shouldResetTransform=!0;this.root===this&&(this.nodes=new Bs)}addEventListener(l,s){return this.eventHandlers.has(l)||this.eventHandlers.set(l,new $e),this.eventHandlers.get(l).add(s)}notifyListeners(l,...s){let u=this.eventHandlers.get(l);u&&u.notify(...s)}hasListeners(l){return this.eventHandlers.has(l)}mount(l){if(this.instance)return;this.isSVG=lr(l)&&!xf(l),this.instance=l;let{layoutId:s,layout:u,visualElement:c}=this.options;if(c&&!c.current&&c.mount(l),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(u||s)&&(this.isLayoutDirty=!0),t){let f,m=0,d=o(()=>this.root.updateBlockedByResize=!1,"resizeUnblockUpdate");B.read(()=>{m=window.innerWidth}),t(l,()=>{let p=window.innerWidth;p!==m&&(m=p,this.root.updateBlockedByResize=!0,f&&f(),f=Gg(d,250),Ha.hasAnimatedSinceResize&&(Ha.hasAnimatedSinceResize=!1,this.nodes.forEach(iy)))})}s&&this.root.registerSharedNode(s,this),this.options.animate!==!1&&c&&(s||u)&&this.addEventListener("didUpdate",({delta:f,hasLayoutChanged:m,hasRelativeLayoutChanged:d,layout:p})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let v=this.options.transition||c.getDefaultTransition()||mw,{onLayoutAnimationStart:b,onLayoutAnimationComplete:A}=c.getProps(),g=!this.targetLayout||!Yf(this.targetLayout,p),h=!m&&d;if(this.options.layoutRoot||this.resumeFrom||h||m&&(g||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);let y={...Oi(v,"layout"),onPlay:b,onComplete:A};(c.shouldReduceMotion||this.options.layoutRoot)&&(y.delay=0,y.type=!1),this.startAnimation(y),this.setAnimationOrigin(f,h)}else m||iy(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=p})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);let l=this.getStack();l&&l.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),Zt(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(sw),this.animationId++)}getTransformTemplate(){let{visualElement:l}=this.options;return l&&l.getProps().transformTemplate}willUpdate(l=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&uy(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let f=0;f<this.path.length;f++){let m=this.path[f];m.shouldResetTransform=!0,m.updateScroll("snapshot"),m.options.layoutRoot&&m.willUpdate(!1)}let{layoutId:s,layout:u}=this.options;if(s===void 0&&!u)return;let c=this.getTransformTemplate();this.prevTransformTemplateValue=c?c(this.latestValues,""):void 0,this.updateSnapshot(),l&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(ey);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(ny);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(ow),this.nodes.forEach(tw),this.nodes.forEach(ew)):this.nodes.forEach(ny),this.clearAllSnapshots();let s=ct.now();ut.delta=At(0,1e3/60,s-ut.timestamp),ut.timestamp=s,ut.isProcessing=!0,Qo.update.process(ut),Qo.preRender.process(ut),Qo.render.process(ut),ut.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,_i.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(aw),this.sharedNodes.forEach(uw)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,B.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){B.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!St(this.snapshot.measuredBox.x)&&!St(this.snapshot.measuredBox.y)&&(this.snapshot=void 0))}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let u=0;u<this.path.length;u++)this.path[u].updateScroll();let l=this.layout;this.layout=this.measure(!1),this.layoutCorrected=tt(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);let{visualElement:s}=this.options;s&&s.notify("LayoutMeasure",this.layout.layoutBox,l?l.layoutBox:void 0)}updateScroll(l="measure"){let s=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===l&&(s=!1),s&&this.instance){let u=i(this.instance);this.scroll={animationId:this.root.animationId,phase:l,isRoot:u,offset:n(this.instance),wasRoot:this.scroll?this.scroll.isRoot:u}}}resetTransform(){if(!a)return;let l=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,s=this.projectionDelta&&!Gf(this.projectionDelta),u=this.getTransformTemplate(),c=u?u(this.latestValues,""):void 0,f=c!==this.prevTransformTemplateValue;l&&this.instance&&(s||sn(this.latestValues)||f)&&(a(this.instance,c),this.shouldResetTransform=!1,this.scheduleRender())}measure(l=!0){let s=this.measurePageBox(),u=this.removeElementScroll(s);return l&&(u=this.removeTransform(u)),dw(u),{animationId:this.root.animationId,measuredBox:s,layoutBox:u,latestValues:{},source:this.id}}measurePageBox(){let{visualElement:l}=this.options;if(!l)return tt();let s=l.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(pw))){let{scroll:c}=this.root;c&&(Xn(s.x,c.offset.x),Xn(s.y,c.offset.y))}return s}removeElementScroll(l){let s=tt();if(ie(s,l),this.scroll?.wasRoot)return s;for(let u=0;u<this.path.length;u++){let c=this.path[u],{scroll:f,options:m}=c;c!==this.root&&f&&m.layoutScroll&&(f.wasRoot&&ie(s,l),Xn(s.x,f.offset.x),Xn(s.y,f.offset.y))}return s}applyTransform(l,s=!1){let u=tt();ie(u,l);for(let c=0;c<this.path.length;c++){let f=this.path[c];!s&&f.options.layoutScroll&&f.scroll&&f!==f.root&&Ui(u,{x:-f.scroll.offset.x,y:-f.scroll.offset.y}),sn(f.latestValues)&&Ui(u,f.latestValues)}return sn(this.latestValues)&&Ui(u,this.latestValues),u}removeTransform(l){let s=tt();ie(s,l);for(let u=0;u<this.path.length;u++){let c=this.path[u];if(!c.instance||!sn(c.latestValues))continue;hs(c.latestValues)&&c.updateSnapshot();let f=tt(),m=c.measurePageBox();ie(f,m),Hf(s,c.latestValues,c.snapshot?c.snapshot.layoutBox:void 0,f)}return sn(this.latestValues)&&Hf(s,this.latestValues),s}setTargetDelta(l){this.targetDelta=l,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(l){this.options={...this.options,...l,crossfade:l.crossfade!==void 0?l.crossfade:!0}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==ut.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(l=!1){let s=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=s.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=s.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=s.isSharedProjectionDirty);let u=!!this.resumingFrom||this!==s;if(!(l||u&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;let{layout:f,layoutId:m}=this.options;if(!(!this.layout||!(f||m))){if(this.resolvedRelativeTargetAt=ut.timestamp,!this.targetDelta&&!this.relativeTarget){let d=this.getClosestProjectingParent();d&&d.layout&&this.animationProgress!==1?(this.relativeParent=d,this.forceRelativeParentToResolveTarget(),this.relativeTarget=tt(),this.relativeTargetOrigin=tt(),La(this.relativeTargetOrigin,this.layout.layoutBox,d.layout.layoutBox),ie(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(!(!this.relativeTarget&&!this.targetDelta)){if(this.target||(this.target=tt(),this.targetWithTransforms=tt()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),xg(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):ie(this.target,this.layout.layoutBox),Of(this.target,this.targetDelta)):ie(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;let d=this.getClosestProjectingParent();d&&!!d.resumingFrom==!!this.resumingFrom&&!d.options.layoutScroll&&d.target&&this.animationProgress!==1?(this.relativeParent=d,this.forceRelativeParentToResolveTarget(),this.relativeTarget=tt(),this.relativeTargetOrigin=tt(),La(this.relativeTargetOrigin,this.target,d.target),ie(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}kt.value&&Hi.calculatedTargetDeltas++}}}getClosestProjectingParent(){if(!(!this.parent||hs(this.parent.latestValues)||Cf(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){let l=this.getLead(),s=!!this.resumingFrom||this!==l,u=!0;if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(u=!1),s&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(u=!1),this.resolvedRelativeTargetAt===ut.timestamp&&(u=!1),u)return;let{layout:c,layoutId:f}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(c||f))return;ie(this.layoutCorrected,this.layout.layoutBox);let m=this.treeScale.x,d=this.treeScale.y;Q0(this.layoutCorrected,this.treeScale,this.path,s),l.layout&&!l.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(l.target=l.layout.layoutBox,l.targetWithTransforms=tt());let{target:p}=l;if(!p){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(jf(this.prevProjectionDelta.x,this.projectionDelta.x),jf(this.prevProjectionDelta.y,this.projectionDelta.y)),Ua(this.projectionDelta,this.layoutCorrected,p,this.latestValues),(this.treeScale.x!==m||this.treeScale.y!==d||!Xf(this.projectionDelta.x,this.prevProjectionDelta.x)||!Xf(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",p)),kt.value&&Hi.calculatedProjections++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(l=!0){if(this.options.visualElement?.scheduleRender(),l){let s=this.getStack();s&&s.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=Li(),this.projectionDelta=Li(),this.projectionDeltaWithTransform=Li()}setAnimationOrigin(l,s=!1){let u=this.snapshot,c=u?u.latestValues:{},f={...this.latestValues},m=Li();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!s;let d=tt(),p=u?u.source:void 0,v=this.layout?this.layout.source:void 0,b=p!==v,A=this.getStack(),g=!A||A.members.length<=1,h=!!(b&&!g&&this.options.crossfade===!0&&!this.path.some(fw));this.animationProgress=0;let y;this.mixTargetDelta=x=>{let T=x/1e3;ay(m.x,l.x,T),ay(m.y,l.y,T),this.setTargetDelta(m),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(La(d,this.layout.layoutBox,this.relativeParent.layout.layoutBox),cw(this.relativeTarget,this.relativeTargetOrigin,d,T),y&&$g(this.relativeTarget,y)&&(this.isProjectionDirty=!1),y||(y=tt()),ie(y,this.relativeTarget)),b&&(this.animationValues=f,Zg(f,c,this.latestValues,T,h,g)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=T},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(l){this.notifyListeners("animationStart"),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&(Zt(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=B.update(()=>{Ha.hasAnimatedSinceResize=!0,_e.layout++,this.motionValue||(this.motionValue=ye(0)),this.currentAnimation=jg(this.motionValue,[0,1e3],{...l,velocity:0,isSync:!0,onUpdate:o(s=>{this.mixTargetDelta(s),l.onUpdate&&l.onUpdate(s)},"onUpdate"),onStop:o(()=>{_e.layout--},"onStop"),onComplete:o(()=>{_e.layout--,l.onComplete&&l.onComplete(),this.completeAnimation()},"onComplete")}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);let l=this.getStack();l&&l.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(I2),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){let l=this.getLead(),{targetWithTransforms:s,target:u,layout:c,latestValues:f}=l;if(!(!s||!u||!c)){if(this!==l&&this.layout&&c&&cy(this.options.animationType,this.layout.layoutBox,c.layoutBox)){u=this.target||tt();let m=St(this.layout.layoutBox.x);u.x.min=l.target.x.min,u.x.max=u.x.min+m;let d=St(this.layout.layoutBox.y);u.y.min=l.target.y.min,u.y.max=u.y.min+d}ie(s,u),Ui(s,f),Ua(this.projectionDeltaWithTransform,this.layoutCorrected,s,f)}}registerSharedNode(l,s){this.sharedNodes.has(l)||this.sharedNodes.set(l,new Us),this.sharedNodes.get(l).add(s);let c=s.options.initialPromotionConfig;s.promote({transition:c?c.transition:void 0,preserveFollowOpacity:c&&c.shouldPreserveFollowOpacity?c.shouldPreserveFollowOpacity(s):void 0})}isLead(){let l=this.getStack();return l?l.lead===this:!0}getLead(){let{layoutId:l}=this.options;return l?this.getStack()?.lead||this:this}getPrevLead(){let{layoutId:l}=this.options;return l?this.getStack()?.prevLead:void 0}getStack(){let{layoutId:l}=this.options;if(l)return this.root.sharedNodes.get(l)}promote({needsReset:l,transition:s,preserveFollowOpacity:u}={}){let c=this.getStack();c&&c.promote(this,u),l&&(this.projectionDelta=void 0,this.needsReset=!0),s&&this.setOptions({transition:s})}relegate(){let l=this.getStack();return l?l.relegate(this):!1}resetSkewAndRotation(){let{visualElement:l}=this.options;if(!l)return;let s=!1,{latestValues:u}=l;if((u.z||u.rotate||u.rotateX||u.rotateY||u.rotateZ||u.skewX||u.skewY)&&(s=!0),!s)return;let c={};u.z&&Zf("z",l,c,this.animationValues);for(let f=0;f<kf.length;f++)Zf(`rotate${kf[f]}`,l,c,this.animationValues),Zf(`skew${kf[f]}`,l,c,this.animationValues);l.render();for(let f in c)l.setStaticValue(f,c[f]),this.animationValues&&(this.animationValues[f]=c[f]);l.scheduleRender()}applyProjectionStyles(l,s){if(!this.instance||this.isSVG)return;if(!this.isVisible){l.visibility="hidden";return}let u=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,l.visibility="",l.opacity="",l.pointerEvents=Oa(s?.pointerEvents)||"",l.transform=u?u(this.latestValues,""):"none";return}let c=this.getLead();if(!this.projectionDelta||!this.layout||!c.target){this.options.layoutId&&(l.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,l.pointerEvents=Oa(s?.pointerEvents)||""),this.hasProjected&&!sn(this.latestValues)&&(l.transform=u?u({},""):"none",this.hasProjected=!1);return}l.visibility="";let f=c.animationValues||c.latestValues;this.applyTransformsToTarget();let m=ty(this.projectionDeltaWithTransform,this.treeScale,f);u&&(m=u(f,m)),l.transform=m;let{x:d,y:p}=this.projectionDelta;l.transformOrigin=`${d.origin*100}% ${p.origin*100}% 0`,c.animationValues?l.opacity=c===this?f.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:f.opacityExit:l.opacity=c===this?f.opacity!==void 0?f.opacity:"":f.opacityExit!==void 0?f.opacityExit:0;for(let v in Bi){if(f[v]===void 0)continue;let{correct:b,applyTo:A,isCSSVariable:g}=Bi[v],h=m==="none"?f[v]:b(f[v],c);if(A){let y=A.length;for(let x=0;x<y;x++)l[A[x]]=h}else g?this.options.visualElement.renderState.vars[v]=h:l[v]=h}this.options.layoutId&&(l.pointerEvents=c===this?Oa(s?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(l=>l.currentAnimation?.stop()),this.root.nodes.forEach(ey),this.root.sharedNodes.clear()}}}o(Ls,"createProjectionNode");function tw(t){t.updateLayout()}o(tw,"updateLayout");function ew(t){let e=t.resumeFrom?.snapshot||t.snapshot;if(t.isLead()&&t.layout&&e&&t.hasListeners("didUpdate")){let{layoutBox:n,measuredBox:i}=t.layout,{animationType:a}=t.options,r=e.source!==t.layout.source;a==="size"?Kt(f=>{let m=r?e.measuredBox[f]:e.layoutBox[f],d=St(m);m.min=n[f].min,m.max=m.min+d}):cy(a,e.layoutBox,n)&&Kt(f=>{let m=r?e.measuredBox[f]:e.layoutBox[f],d=St(n[f]);m.max=m.min+d,t.relativeTarget&&!t.currentAnimation&&(t.isProjectionDirty=!0,t.relativeTarget[f].max=t.relativeTarget[f].min+d)});let l=Li();Ua(l,n,e.layoutBox);let s=Li();r?Ua(s,t.applyTransform(i,!0),e.measuredBox):Ua(s,n,e.layoutBox);let u=!Gf(l),c=!1;if(!t.resumeFrom){let f=t.getClosestProjectingParent();if(f&&!f.resumeFrom){let{snapshot:m,layout:d}=f;if(m&&d){let p=tt();La(p,e.layoutBox,m.layoutBox);let v=tt();La(v,n,d.layoutBox),Yf(p,v)||(c=!0),f.options.layoutRoot&&(t.relativeTarget=v,t.relativeTargetOrigin=p,t.relativeParent=f)}}}t.notifyListeners("didUpdate",{layout:n,snapshot:e,delta:s,layoutDelta:l,hasLayoutChanged:u,hasRelativeLayoutChanged:c})}else if(t.isLead()){let{onExitComplete:n}=t.options;n&&n()}t.options.transition=void 0}o(ew,"notifyLayoutUpdate");function nw(t){kt.value&&Hi.nodes++,t.parent&&(t.isProjecting()||(t.isProjectionDirty=t.parent.isProjectionDirty),t.isSharedProjectionDirty||(t.isSharedProjectionDirty=!!(t.isProjectionDirty||t.parent.isProjectionDirty||t.parent.isSharedProjectionDirty)),t.isTransformDirty||(t.isTransformDirty=t.parent.isTransformDirty))}o(nw,"propagateDirtyNodes");function iw(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}o(iw,"cleanDirtyNodes");function aw(t){t.clearSnapshot()}o(aw,"clearSnapshot");function ey(t){t.clearMeasurements()}o(ey,"clearMeasurements");function ny(t){t.isLayoutDirty=!1}o(ny,"clearIsLayoutDirty");function ow(t){let{visualElement:e}=t.options;e&&e.getProps().onBeforeLayoutMeasure&&e.notify("BeforeLayoutMeasure"),t.resetTransform()}o(ow,"resetTransformStyle");function iy(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}o(iy,"finishAnimation");function rw(t){t.resolveTargetDelta()}o(rw,"resolveTargetDelta");function lw(t){t.calcProjection()}o(lw,"calcProjection");function sw(t){t.resetSkewAndRotation()}o(sw,"resetSkewAndRotation");function uw(t){t.removeLeadSnapshot()}o(uw,"removeLeadSnapshots");function ay(t,e,n){t.translate=j(e.translate,0,n),t.scale=j(e.scale,1,n),t.origin=e.origin,t.originPoint=e.originPoint}o(ay,"mixAxisDelta");function oy(t,e,n,i){t.min=j(e.min,n.min,i),t.max=j(e.max,n.max,i)}o(oy,"mixAxis");function cw(t,e,n,i){oy(t.x,e.x,n.x,i),oy(t.y,e.y,n.y,i)}o(cw,"mixBox");function fw(t){return t.animationValues&&t.animationValues.opacityExit!==void 0}o(fw,"hasOpacityCrossfade");var mw={duration:.45,ease:[.4,0,.1,1]},ry=o(t=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(t),"userAgentContains"),ly=ry("applewebkit/")&&!ry("chrome/")?Math.round:st;function sy(t){t.min=ly(t.min),t.max=ly(t.max)}o(sy,"roundAxis");function dw(t){sy(t.x),sy(t.y)}o(dw,"roundBox");function cy(t,e,n){return t==="position"||t==="preserve-aspect"&&!vg(qf(e),qf(n),.2)}o(cy,"shouldAnimatePositionOnly");function pw(t){return t!==t.root&&t.scroll?.wasRoot}o(pw,"checkNodeWasScrollRoot");var fy=Ls({attachResizeListener:o((t,e)=>un(t,"resize",e),"attachResizeListener"),measureScroll:o(()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),"measureScroll"),checkIsScrollRoot:o(()=>!0,"checkIsScrollRoot")});var Qf={current:void 0},js=Ls({measureScroll:o(t=>({x:t.scrollLeft,y:t.scrollTop}),"measureScroll"),defaultParent:o(()=>{if(!Qf.current){let t=new fy({});t.mount(window),t.setOptions({layoutScroll:!0}),Qf.current=t}return Qf.current},"defaultParent"),resetTransform:o((t,e)=>{t.style.transform=e!==void 0?e:"none"},"resetTransform"),checkIsScrollRoot:o(t=>window.getComputedStyle(t).position==="fixed","checkIsScrollRoot")});var my={pan:{Feature:Ns},drag:{Feature:_s,ProjectionNode:js,MeasureLayout:Rs}};function dy(t,e,n){let{props:i}=t;t.animationState&&i.whileHover&&t.animationState.setActive("whileHover",n==="Start");let a="onHover"+n,r=i[a];r&&B.postRender(()=>r(e,cn(e)))}o(dy,"handleHoverEvent");var Hs=class extends Et{static{o(this,"HoverGesture")}mount(){let{current:e}=this.node;e&&(this.unmount=hf(e,(n,i)=>(dy(this.node,i,"Start"),a=>dy(this.node,a,"End"))))}unmount(){}};var Gs=class extends Et{static{o(this,"FocusGesture")}constructor(){super(...arguments),this.isActive=!1}onFocus(){let e=!1;try{e=this.node.current.matches(":focus-visible")}catch{e=!0}!e||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){!this.isActive||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=ze(un(this.node.current,"focus",()=>this.onFocus()),un(this.node.current,"blur",()=>this.onBlur()))}unmount(){}};function py(t,e,n){let{props:i}=t;if(t.current instanceof HTMLButtonElement&&t.current.disabled)return;t.animationState&&i.whileTap&&t.animationState.setActive("whileTap",n==="Start");let a="onTap"+(n==="End"?"":n),r=i[a];r&&B.postRender(()=>r(e,cn(e)))}o(py,"handlePressEvent");var Ys=class extends Et{static{o(this,"PressGesture")}mount(){let{current:e}=this.node;e&&(this.unmount=vf(e,(n,i)=>(py(this.node,i,"Start"),(a,{success:r})=>py(this.node,a,r?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}};var Pf=new WeakMap,Kf=new WeakMap,hw=o(t=>{let e=Pf.get(t.target);e&&e(t)},"fireObserverCallback"),gw=o(t=>{t.forEach(hw)},"fireAllObserverCallbacks");function yw({root:t,...e}){let n=t||document;Kf.has(n)||Kf.set(n,{});let i=Kf.get(n),a=JSON.stringify(e);return i[a]||(i[a]=new IntersectionObserver(gw,{root:t,...e})),i[a]}o(yw,"initIntersectionObserver");function hy(t,e,n){let i=yw(e);return Pf.set(t,n),i.observe(t),()=>{Pf.delete(t),i.unobserve(t)}}o(hy,"observeIntersection");var vw={some:0,all:1},qs=class extends Et{static{o(this,"InViewFeature")}constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();let{viewport:e={}}=this.node.getProps(),{root:n,margin:i,amount:a="some",once:r}=e,l={root:n?n.current:void 0,rootMargin:i,threshold:typeof a=="number"?a:vw[a]},s=o(u=>{let{isIntersecting:c}=u;if(this.isInView===c||(this.isInView=c,r&&!c&&this.hasEnteredView))return;c&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",c);let{onViewportEnter:f,onViewportLeave:m}=this.node.getProps(),d=c?f:m;d&&d(u)},"onIntersectionUpdate");return hy(this.node.current,l,s)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;let{props:e,prevProps:n}=this.node;["amount","margin","root"].some(xw(e,n))&&this.startObserver()}unmount(){}};function xw({viewport:t={}},{viewport:e={}}={}){return n=>t[n]!==e[n]}o(xw,"hasViewportOptionChanged");var gy={inView:{Feature:qs},tap:{Feature:Ys},focus:{Feature:Gs},hover:{Feature:Hs}};var yy={layout:{ProjectionNode:js,MeasureLayout:Rs}};var vy={...fg,...gy,...my,...yy};var Jf=j0(vy,ng);var by=z(Al());function ks({children:t}){let e={hidden:{opacity:0,y:15},enter:{opacity:1,y:0},exit:{opacity:0,y:-15}};return Xs.default.createElement(by.SessionProvider,null,Xs.default.createElement(Af,{mode:"wait",onExitComplete:()=>window.scrollTo(0,0)},Xs.default.createElement(Jf.div,{key:xy.router.pathname,variants:e,initial:"hidden",animate:"enter",exit:"exit",transition:{type:"tween",ease:"easeInOut",duration:.4}},t)))}o(ks,"Layout");var Zn=z(ee());function Ff(){return(0,Zn.jsx)("div",{style:{fontFamily:'system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"',height:"100vh",textAlign:"center",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center"},children:(0,Zn.jsxs)("div",{children:[(0,Zn.jsx)("style",{dangerouslySetInnerHTML:{__html:`
|
|
1058
|
-
body {
|
|
1059
|
-
color: #000;
|
|
1060
|
-
/* Alterado de cor s\xF3lida para gradiente */
|
|
1061
|
-
background: linear-gradient(to bottom, #e9e9e9, #ffffff);
|
|
1062
|
-
margin: 0;
|
|
1063
|
-
}
|
|
1064
|
-
|
|
1065
|
-
.next-error-h1 {
|
|
1066
|
-
border-right: 1px solid rgba(0, 0, 0, .3);
|
|
1067
|
-
}
|
|
1068
|
-
|
|
1069
|
-
@media (prefers-color-scheme: dark) {
|
|
1070
|
-
body {
|
|
1071
|
-
color: #fff;
|
|
1072
|
-
/* Alterado de cor s\xF3lida para gradiente escuro */
|
|
1073
|
-
background: linear-gradient(to bottom, #222, #000);
|
|
1074
|
-
}
|
|
1075
|
-
|
|
1076
|
-
.next-error-h1 {
|
|
1077
|
-
border-right: 1px solid rgba(255, 255, 255, .3);
|
|
1078
|
-
}
|
|
1079
|
-
}
|
|
1080
|
-
`}}),(0,Zn.jsx)("h1",{className:"next-error-h1",style:{display:"inline-block",margin:"0px 20px 0px 0px",padding:"0px 23px 0px 0px",fontSize:"24px",fontWeight:"500",verticalAlign:"top",lineHeight:"49px"},children:"404"}),(0,Zn.jsx)("div",{style:{display:"inline-block"},children:(0,Zn.jsx)("h2",{style:{fontSize:"14px",fontWeight:"400",lineHeight:"49px",margin:"0px"},children:"Esta p\xE1gina n\xE3o pode ser achada."})})]})})}o(Ff,"DefaultNotFound");var pe=z(G()),tS=z(Ib());var Vp=class{static{o(this,"Router")}events={};listeners=new Set;async push(e){this.events.beforeNavigate&&await this.events.beforeNavigate(e)===!1||(window.history.pushState({path:e},"",e),setTimeout(()=>this.triggerNavigation(),0),this.events.afterNavigate&&this.events.afterNavigate(e))}async replace(e){this.events.beforeNavigate&&await this.events.beforeNavigate(e)===!1||(window.history.replaceState({path:e},"",e),setTimeout(()=>this.triggerNavigation(),0),this.events.afterNavigate&&this.events.afterNavigate(e))}back(){window.history.back()}forward(){window.history.forward()}refresh(){setTimeout(()=>this.triggerNavigation(),0)}get pathname(){return window.location.pathname}get query(){return new URLSearchParams(window.location.search)}get url(){return window.location.href}on(e){this.events={...this.events,...e}}off(){this.events={}}subscribe(e){return this.listeners.add(e),()=>this.listeners.delete(e)}triggerNavigation(){window.dispatchEvent(new PopStateEvent("popstate")),this.listeners.forEach(e=>e())}},bc=new Vp;var We=z(ee());function JE({componentMap:t,routes:e,initialComponentPath:n,initialParams:i,layoutComponent:a}){let[r,l]=(0,pe.useState)(()=>n==="__404__"?null:t[n]),[s,u]=(0,pe.useState)(i),c=(0,pe.useCallback)(p=>{for(let v of e){let b=v.pattern.replace(/\[\[\.\.\.(\w+)\]\]/g,"(?<$1>.+)?").replace(/\[\.\.\.(\w+)\]/g,"(?<$1>.+)").replace(/\/\[\[(\w+)\]\]/g,"(?:/(?<$1>[^/]+))?").replace(/\[\[(\w+)\]\]/g,"(?<$1>[^/]+)?").replace(/\[(\w+)\]/g,"(?<$1>[^/]+)"),A=new RegExp(`^${b}/?$`),g=p.match(A);if(g)return{componentPath:v.componentPath,params:g.groups||{}}}return null},[e]),f=(0,pe.useCallback)(()=>{let p=bc.pathname,v=c(p);v?(l(()=>t[v.componentPath]),u(v.params)):(l(null),u({}))},[bc.pathname,c,t]);if((0,pe.useEffect)(()=>{let p=o(()=>{f()},"handlePopState");window.addEventListener("popstate",p);let v=bc.subscribe(f);return()=>{window.removeEventListener("popstate",p),v()}},[f]),!r||n==="__404__"){let p=window.__HWEB_NOT_FOUND__;if(p){let v=(0,We.jsx)(p,{});return a?pe.default.createElement(a,{children:v}):v}else{let v=window.__HWEB_DEFAULT_NOT_FOUND__,b=(0,We.jsx)(v,{});return a?pe.default.createElement(a,{children:b}):b}}let m=(0,We.jsx)(r,{params:s}),d=a?pe.default.createElement(a,{children:m}):(0,We.jsx)("div",{children:m});return(0,We.jsxs)(We.Fragment,{children:[d,!1]})}o(JE,"App");function $b(){let t=window.__HWEB_INITIAL_DATA__;if(!t){console.error("[hweb] Dados iniciais n\xE3o encontrados na p\xE1gina.");return}let e={};window.__HWEB_COMPONENTS__&&Object.assign(e,window.__HWEB_COMPONENTS__);let n=document.getElementById("root");if(!n){console.error("[hweb] Container #root n\xE3o encontrado.");return}try{(0,tS.createRoot)(n).render((0,We.jsx)(JE,{componentMap:e,routes:t.routes,initialComponentPath:t.initialComponentPath,initialParams:t.initialParams,layoutComponent:window.__HWEB_LAYOUT__}))}catch(i){console.error("[hweb] Erro ao renderizar aplica\xE7\xE3o:",i)}}o($b,"initializeClient");document.readyState==="loading"?document.addEventListener("DOMContentLoaded",$b):$b();window.__HWEB_COMPONENTS__={"src/web/routes/index.tsx":Uc.component||Uc.default?.component,"src/web/routes/login.tsx":Hc.component||Hc.default?.component};window.__HWEB_LAYOUT__=ks.default||ks;window.__HWEB_NOT_FOUND__=null;window.__HWEB_DEFAULT_NOT_FOUND__=Ff;
|
|
1081
|
-
/*! Bundled license information:
|
|
1082
|
-
|
|
1083
|
-
react/cjs/react.production.js:
|
|
1084
|
-
(**
|
|
1085
|
-
* @license React
|
|
1086
|
-
* react.production.js
|
|
1087
|
-
*
|
|
1088
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
1089
|
-
*
|
|
1090
|
-
* This source code is licensed under the MIT license found in the
|
|
1091
|
-
* LICENSE file in the root directory of this source tree.
|
|
1092
|
-
*)
|
|
1093
|
-
|
|
1094
|
-
react/cjs/react-jsx-runtime.production.js:
|
|
1095
|
-
(**
|
|
1096
|
-
* @license React
|
|
1097
|
-
* react-jsx-runtime.production.js
|
|
1098
|
-
*
|
|
1099
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
1100
|
-
*
|
|
1101
|
-
* This source code is licensed under the MIT license found in the
|
|
1102
|
-
* LICENSE file in the root directory of this source tree.
|
|
1103
|
-
*)
|
|
1104
|
-
|
|
1105
|
-
scheduler/cjs/scheduler.production.js:
|
|
1106
|
-
(**
|
|
1107
|
-
* @license React
|
|
1108
|
-
* scheduler.production.js
|
|
1109
|
-
*
|
|
1110
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
1111
|
-
*
|
|
1112
|
-
* This source code is licensed under the MIT license found in the
|
|
1113
|
-
* LICENSE file in the root directory of this source tree.
|
|
1114
|
-
*)
|
|
1115
|
-
|
|
1116
|
-
react-dom/cjs/react-dom.production.js:
|
|
1117
|
-
(**
|
|
1118
|
-
* @license React
|
|
1119
|
-
* react-dom.production.js
|
|
1120
|
-
*
|
|
1121
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
1122
|
-
*
|
|
1123
|
-
* This source code is licensed under the MIT license found in the
|
|
1124
|
-
* LICENSE file in the root directory of this source tree.
|
|
1125
|
-
*)
|
|
1126
|
-
|
|
1127
|
-
react-dom/cjs/react-dom-client.production.js:
|
|
1128
|
-
(**
|
|
1129
|
-
* @license React
|
|
1130
|
-
* react-dom-client.production.js
|
|
1131
|
-
*
|
|
1132
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
1133
|
-
*
|
|
1134
|
-
* This source code is licensed under the MIT license found in the
|
|
1135
|
-
* LICENSE file in the root directory of this source tree.
|
|
1136
|
-
*)
|
|
1137
|
-
*/
|