PageSourceSearch

https://www.guessrgpt.com/assets/index-xfDc-231.js

js guessrgpt.com collected 2026-09-24 14:44:11 UTC 459,698 bytes, 138 lines download raw bytes

vendor: 5,926 bytes, lines 1-17
1(function(){const i=document.createElement("link").relList;if(i&&i.supports&&i.supports("modulepreload"))return;for(const u of document.querySelectorAll('link[rel="modulepreload"]'))r(u);new MutationObserver(u=>{for(const f of u)if(f.type==="childList")for(const h of f.addedNodes)h.tagName==="LINK"&&h.rel==="modulepreload"&&r(h)}).observe(document,{childList:!0,subtree:!0});function l(u){const f={};return u.integrity&&(f.integrity=u.integrity),u.referrerPolicy&&(f.referrerPolicy=u.referrerPolicy),u.crossOrigin==="use-credentials"?f.credentials="include":u.crossOrigin==="anonymous"?f.credentials="omit":f.credentials="same-origin",f}function r(u){if(u.ep)return;u.ep=!0;const f=l(u);fetch(u.href,f)}})();var Ec={exports:{}},Os={};/**
2 * @license React
3 * react-jsx-runtime.production.js
4 *
5 * Copyright (c) Meta Platforms, Inc. and affiliates.
6 *
7 * This source code is licensed under the MIT license found in the
8 * LICENSE file in the root directory of this source tree.
9 */var xg;function iS(){if(xg)return Os;xg=1;var n=Symbol.for("react.transitional.element"),i=Symbol.for("react.fragment");function l(r,u,f){var h=null;if(f!==void 0&&(h=""+f),u.key!==void 0&&(h=""+u.key),"key"in u){f={};for(var m in u)m!=="key"&&(f[m]=u[m])}else f=u;return u=f.ref,{$$typeof:n,type:r,key:h,ref:u!==void 0?u:null,props:f}}return Os.Fragment=i,Os.jsx=l,Os.jsxs=l,Os}var bg;function sS(){return bg||(bg=1,Ec.exports=iS()),Ec.exports}var d=sS(),jc={exports:{}},ue={};/**
10 * @license React
11 * react.production.js
12 *
13 * Copyright (c) Meta Platforms, Inc. and affiliates.
14 *
15 * This source code is licensed under the MIT license found in the
16 * LICENSE file in the root directory of this source tree.
17 */var Sg;function lS(){if(Sg)return ue;Sg=1;var n=Symbol.for("react.transitional.element"),i=Symbol.for("react.portal"),l=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),u=Symbol.for("react.profiler"),f=Symbol.for("react.consumer"),h=Symbol.for("react.context"),m=Symbol.for("react.forward_ref"),g=Symbol.for("react.suspense"),p=Symbol.for("react.memo"),v=Symbol.for("react.lazy"),x=Symbol.for("react.activity"),S=Symbol.iterator;function j(w){return w===null||typeof w!="object"?null:(w=S&&w[S]||w["@@iterator"],typeof w=="function"?w:null)}var T={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},C=Object.assign,M={};function D(w,B,Q){this.props=w,this.context=B,this.refs=M,this.updater=Q||T}D.prototype.isReactComponent={},D.prototype.setState=function(w,B){if(typeof w!="object"&&typeof w!="function"&&w!=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,w,B,"setState")},D.prototype.forceUpdate=function(w){this.updater.enqueueForceUpdate(this,w,"forceUpdate")};function z(){}z.prototype=D.prototype;function _(w,B,Q){this.props=w,this.context=B,this.refs=M,this.updater=Q||T}var G=_.prototype=new z;G.constructor=_,C(G,D.prototype),G.isPureReactComponent=!0;var X=Array.isArray;function F(){}var K={H:null,A:null,T:null,S:null},P=Object.prototype.hasOwnProperty;function $(w,B,Q){var I=Q.ref;return{$$typeof:n,type:w,key:B,ref:I!==void 0?I:null,props:Q}}function W(w,B){return $(w.type,B,w.props)}function le(w){return typeof w=="object"&&w!==null&&w.$$typeof===n}function ce(w){var B={"=":"=0",":":"=2"};return"$"+w.replace(/[=:]/g,function(Q){return B[Q]})}var we=/\/+/g;function Se(w,B){return typeof w=="object"&&w!==null&&w.key!=null?ce(""+w.key):B.toString(36)}function de(w){switch(w.status){case"fulfilled":return w.value;case"rejected":throw w.reason;default:switch(typeof w.status=="string"?w.then(F,F):(w.status="pending",w.then(function(B){w.status==="pending"&&(w.status="fulfilled",w.value=B)},function(B){w.status==="pending"&&(w.status="rejected",w.reason=B)})),w.status){case"fulfilled":return w.value;case"rejected":throw w.reason}}throw w}function k(w,B,Q,I,oe){var ie=typeof w;(ie==="undefined"||ie==="boolean")&&(w=null);var he=!1;if(w===null)he=!0;else switch(ie){case"bigint":case"string":case"number":he=!0;break;case"object":switch(w.$$typeof){case n:case i:he=!0;break;case v:return he=w._init,k(he(w._payload),B,Q,I,oe)}}if(he)return oe=oe(w),he=I===""?"."+Se(w,0):I,X(oe)?(Q="",he!=null&&(Q=he.replace(we,"$&/")+"/"),k(oe,B,Q,"",function(Ln){return Ln})):oe!=null&&(le(oe)&&(oe=W(oe,Q+(oe.key==null||w&&w.key===oe.key?"":(""+oe.key).replace(we,"$&/")+"/")+he)),B.push(oe)),1;he=0;var $e=I===""?".":I+":";if(X(w))for(var _e=0;_e<w.length;_e++)I=w[_e],ie=$e+Se(I,_e),he+=k(I,B,Q,ie,oe);else if(_e=j(w),typeof _e=="function")for(w=_e.call(w),_e=0;!(I=w.next()).done;)I=I.value,ie=$e+Se(I,_e++),he+=k(I,B,Q,ie,oe);else if(ie==="object"){if(typeof w.then=="function")return k(de(w),B,Q,I,oe);throw B=String(w),Error("Objects are not valid as a React child (found: "+(B==="[object Object]"?"object with keys {"+Object.keys(w).join(", ")+"}":B)+"). If you meant to render a collection of children, use an array instead.")}return he}function Z(w,B,Q){if(w==null)return w;var I=[],oe=0;return k(w,I,"","",function(ie){return B.call(Q,ie,oe++)}),I}function J(w){if(w._status===-1){var B=w._result;B=B(),B.then(function(Q){(w._status===0||w._status===-1)&&(w._status=1,w._result=Q)},function(Q){(w._status===0||w._status===-1)&&(w._status=2,w._result=Q)}),w._status===-1&&(w._status=0,w._result=B)}if(w._status===1)return w._result.default;throw w._result}var re=typeof reportError=="function"?reportError:function(w){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var B=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof w=="object"&&w!==null&&typeof w.message=="string"?String(w.message):String(w),error:w});if(!window.dispatchEvent(B))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",w);return}console.error(w)}
vendor: 4,263 bytes, lines 17-25
17,pe={map:Z,forEach:function(w,B,Q){Z(w,function(){B.apply(this,arguments)},Q)},count:function(w){var B=0;return Z(w,function(){B++}),B},toArray:function(w){return Z(w,function(B){return B})||[]},only:function(w){if(!le(w))throw Error("React.Children.only expected to receive a single React element child.");return w}};return ue.Activity=x,ue.Children=pe,ue.Component=D,ue.Fragment=l,ue.Profiler=u,ue.PureComponent=_,ue.StrictMode=r,ue.Suspense=g,ue.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=K,ue.__COMPILER_RUNTIME={__proto__:null,c:function(w){return K.H.useMemoCache(w)}},ue.cache=function(w){return function(){return w.apply(null,arguments)}},ue.cacheSignal=function(){return null},ue.cloneElement=function(w,B,Q){if(w==null)throw Error("The argument must be a React element, but you passed "+w+".");var I=C({},w.props),oe=w.key;if(B!=null)for(ie in B.key!==void 0&&(oe=""+B.key),B)!P.call(B,ie)||ie==="key"||ie==="__self"||ie==="__source"||ie==="ref"&&B.ref===void 0||(I[ie]=B[ie]);var ie=arguments.length-2;if(ie===1)I.children=Q;else if(1<ie){for(var he=Array(ie),$e=0;$e<ie;$e++)he[$e]=arguments[$e+2];I.children=he}return $(w.type,oe,I)},ue.createContext=function(w){return w={$$typeof:h,_currentValue:w,_currentValue2:w,_threadCount:0,Provider:null,Consumer:null},w.Provider=w,w.Consumer={$$typeof:f,_context:w},w},ue.createElement=function(w,B,Q){var I,oe={},ie=null;if(B!=null)for(I in B.key!==void 0&&(ie=""+B.key),B)P.call(B,I)&&I!=="key"&&I!=="__self"&&I!=="__source"&&(oe[I]=B[I]);var he=arguments.length-2;if(he===1)oe.children=Q;else if(1<he){for(var $e=Array(he),_e=0;_e<he;_e++)$e[_e]=arguments[_e+2];oe.children=$e}if(w&&w.defaultProps)for(I in he=w.defaultProps,he)oe[I]===void 0&&(oe[I]=he[I]);return $(w,ie,oe)},ue.createRef=function(){return{current:null}},ue.forwardRef=function(w){return{$$typeof:m,render:w}},ue.isValidElement=le,ue.lazy=function(w){return{$$typeof:v,_payload:{_status:-1,_result:w},_init:J}},ue.memo=function(w,B){return{$$typeof:p,type:w,compare:B===void 0?null:B}},ue.startTransition=function(w){var B=K.T,Q={};K.T=Q;try{var I=w(),oe=K.S;oe!==null&&oe(Q,I),typeof I=="object"&&I!==null&&typeof I.then=="function"&&I.then(F,re)}catch(ie){re(ie)}finally{B!==null&&Q.types!==null&&(B.types=Q.types),K.T=B}},ue.unstable_useCacheRefresh=function(){return K.H.useCacheRefresh()},ue.use=function(w){return K.H.use(w)},ue.useActionState=function(w,B,Q){return K.H.useActionState(w,B,Q)},ue.useCallback=function(w,B){return K.H.useCallback(w,B)},ue.useContext=function(w){return K.H.useContext(w)},ue.useDebugValue=function(){},ue.useDeferredValue=function(w,B){return K.H.useDeferredValue(w,B)},ue.useEffect=function(w,B){return K.H.useEffect(w,B)},ue.useEffectEvent=function(w){return K.H.useEffectEvent(w)},ue.useId=function(){return K.H.useId()},ue.useImperativeHandle=function(w,B,Q){return K.H.useImperativeHandle(w,B,Q)},ue.useInsertionEffect=function(w,B){return K.H.useInsertionEffect(w,B)},ue.useLayoutEffect=function(w,B){return K.H.useLayoutEffect(w,B)},ue.useMemo=function(w,B){return K.H.useMemo(w,B)},ue.useOptimistic=function(w,B){return K.H.useOptimistic(w,B)},ue.useReducer=function(w,B,Q){return K.H.useReducer(w,B,Q)},ue.useRef=function(w){return K.H.useRef(w)},ue.useState=function(w){return K.H.useState(w)},ue.useSyncExternalStore=function(w,B,Q){return K.H.useSyncExternalStore(w,B,Q)},ue.useTransition=function(){return K.H.useTransition()},ue.version="19.2.7",ue}var Tg;function Rf(){return Tg||(Tg=1,jc.exports=lS()),jc.exports}var E=Rf(),Ac={exports:{}},Ls={},wc={exports:{}},Cc={};/**
18 * @license React
19 * scheduler.production.js
20 *
21 * Copyright (c) Meta Platforms, Inc. and affiliates.
22 *
23 * This source code is licensed under the MIT license found in the
24 * LICENSE file in the root directory of this source tree.
25 */var Eg;function rS(){return Eg||(Eg=1,(function(n){function i(k,Z){var J=k.length;k.push(Z);e:for(;0<J;){var re=J-1>>>1,pe=k[re];if(0<u(pe,Z))k[re]=Z,k[J]=pe,J=re;else break e}}function l(k){return k.length===0?null:k[0]}function r(k){if(k.length===0)return null;var Z=k[0],J=k.pop();if(J!==Z){k[0]=J;e:for(var re=0,pe=k.length,w=pe>>>1;re<w;){var B=2*(re+1)-1,Q=k[B],I=B+1,oe=k[I];if(0>u(Q,J))I<pe&&0>u(oe,Q)?(k[re]=oe,k[I]=J,re=I):(k[re]=Q,k[B]=J,re=B);
vendor: 1,163 bytes, line 25
25else if(I<pe&&0>u(oe,J))k[re]=oe,k[I]=J,re=I;else break e}}return Z}function u(k,Z){var J=k.sortIndex-Z.sortIndex;return J!==0?J:k.id-Z.id}if(n.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var f=performance;n.unstable_now=function(){return f.now()}}else{var h=Date,m=h.now();n.unstable_now=function(){return h.now()-m}}var g=[],p=[],v=1,x=null,S=3,j=!1,T=!1,C=!1,M=!1,D=typeof setTimeout=="function"?setTimeout:null,z=typeof clearTimeout=="function"?clearTimeout:null,_=typeof setImmediate<"u"?setImmediate:null;function G(k){for(var Z=l(p);Z!==null;){if(Z.callback===null)r(p);else if(Z.startTime<=k)r(p),Z.sortIndex=Z.expirationTime,i(g,Z);else break;Z=l(p)}}function X(k){if(C=!1,G(k),!T)if(l(g)!==null)T=!0,F||(F=!0,ce());else{var Z=l(p);Z!==null&&de(X,Z.startTime-k)}}var F=!1,K=-1,P=5,$=-1;function W(){return M?!0:!(n.unstable_now()-$<P)}function le(){if(M=!1,F){var k=n.unstable_now();$=k;var Z=!0;try{e:{T=!1,C&&(C=!1,z(K),K=-1),j=!0;var J=S;try{t:{for(G(k),x=l(g);x!==null&&!(x.expirationTime>k&&W());){var re=x.callback;if(typeof re=="function"){x.callback=null,S=x.priorityLevel;var pe=re(x.expirationTime<=k);
vendor: 21,937 bytes, lines 25-48
25if(k=n.unstable_now(),typeof pe=="function"){x.callback=pe,G(k),Z=!0;break t}x===l(g)&&r(g),G(k)}else r(g);x=l(g)}if(x!==null)Z=!0;else{var w=l(p);w!==null&&de(X,w.startTime-k),Z=!1}}break e}finally{x=null,S=J,j=!1}Z=void 0}}finally{Z?ce():F=!1}}}var ce;if(typeof _=="function")ce=function(){_(le)};else if(typeof MessageChannel<"u"){var we=new MessageChannel,Se=we.port2;we.port1.onmessage=le,ce=function(){Se.postMessage(null)}}else ce=function(){D(le,0)};function de(k,Z){K=D(function(){k(n.unstable_now())},Z)}n.unstable_IdlePriority=5,n.unstable_ImmediatePriority=1,n.unstable_LowPriority=4,n.unstable_NormalPriority=3,n.unstable_Profiling=null,n.unstable_UserBlockingPriority=2,n.unstable_cancelCallback=function(k){k.callback=null},n.unstable_forceFrameRate=function(k){0>k||125<k?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):P=0<k?Math.floor(1e3/k):5},n.unstable_getCurrentPriorityLevel=function(){return S},n.unstable_next=function(k){switch(S){case 1:case 2:case 3:var Z=3;break;default:Z=S}var J=S;S=Z;try{return k()}finally{S=J}},n.unstable_requestPaint=function(){M=!0},n.unstable_runWithPriority=function(k,Z){switch(k){case 1:case 2:case 3:case 4:case 5:break;default:k=3}var J=S;S=k;try{return Z()}finally{S=J}},n.unstable_scheduleCallback=function(k,Z,J){var re=n.unstable_now();switch(typeof J=="object"&&J!==null?(J=J.delay,J=typeof J=="number"&&0<J?re+J:re):J=re,k){case 1:var pe=-1;break;case 2:pe=250;break;case 5:pe=1073741823;break;case 4:pe=1e4;break;default:pe=5e3}return pe=J+pe,k={id:v++,callback:Z,priorityLevel:k,startTime:J,expirationTime:pe,sortIndex:-1},J>re?(k.sortIndex=J,i(p,k),l(g)===null&&k===l(p)&&(C?(z(K),K=-1):C=!0,de(X,J-re))):(k.sortIndex=pe,i(g,k),T||j||(T=!0,F||(F=!0,ce()))),k},n.unstable_shouldYield=W,n.unstable_wrapCallback=function(k){var Z=S;return function(){var J=S;S=Z;try{return k.apply(this,arguments)}finally{S=J}}}})(Cc)),Cc}var jg;function oS(){return jg||(jg=1,wc.exports=rS()),wc.exports}var Mc={exports:{}},ot={};/**
26 * @license React
27 * react-dom.production.js
28 *
29 * Copyright (c) Meta Platforms, Inc. and affiliates.
30 *
31 * This source code is licensed under the MIT license found in the
32 * LICENSE file in the root directory of this source tree.
33 */var Ag;function uS(){if(Ag)return ot;Ag=1;var n=Rf();function i(g){var p="https://react.dev/errors/"+g;if(1<arguments.length){p+="?args[]="+encodeURIComponent(arguments[1]);for(var v=2;v<arguments.length;v++)p+="&args[]="+encodeURIComponent(arguments[v])}return"Minified React error #"+g+"; visit "+p+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function l(){}var r={d:{f:l,r:function(){throw Error(i(522))},D:l,C:l,L:l,m:l,X:l,S:l,M:l},p:0,findDOMNode:null},u=Symbol.for("react.portal");function f(g,p,v){var x=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:u,key:x==null?null:""+x,children:g,containerInfo:p,implementation:v}}var h=n.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function m(g,p){if(g==="font")return"";if(typeof p=="string")return p==="use-credentials"?p:""}return ot.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=r,ot.createPortal=function(g,p){var v=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!p||p.nodeType!==1&&p.nodeType!==9&&p.nodeType!==11)throw Error(i(299));return f(g,p,null,v)},ot.flushSync=function(g){var p=h.T,v=r.p;try{if(h.T=null,r.p=2,g)return g()}finally{h.T=p,r.p=v,r.d.f()}},ot.preconnect=function(g,p){typeof g=="string"&&(p?(p=p.crossOrigin,p=typeof p=="string"?p==="use-credentials"?p:"":void 0):p=null,r.d.C(g,p))},ot.prefetchDNS=function(g){typeof g=="string"&&r.d.D(g)},ot.preinit=function(g,p){if(typeof g=="string"&&p&&typeof p.as=="string"){var v=p.as,x=m(v,p.crossOrigin),S=typeof p.integrity=="string"?p.integrity:void 0,j=typeof p.fetchPriority=="string"?p.fetchPriority:void 0;v==="style"?r.d.S(g,typeof p.precedence=="string"?p.precedence:void 0,{crossOrigin:x,integrity:S,fetchPriority:j}):v==="script"&&r.d.X(g,{crossOrigin:x,integrity:S,fetchPriority:j,nonce:typeof p.nonce=="string"?p.nonce:void 0})}},ot.preinitModule=function(g,p){if(typeof g=="string")if(typeof p=="object"&&p!==null){if(p.as==null||p.as==="script"){var v=m(p.as,p.crossOrigin);r.d.M(g,{crossOrigin:v,integrity:typeof p.integrity=="string"?p.integrity:void 0,nonce:typeof p.nonce=="string"?p.nonce:void 0})}}else p==null&&r.d.M(g)},ot.preload=function(g,p){if(typeof g=="string"&&typeof p=="object"&&p!==null&&typeof p.as=="string"){var v=p.as,x=m(v,p.crossOrigin);r.d.L(g,v,{crossOrigin:x,integrity:typeof p.integrity=="string"?p.integrity:void 0,nonce:typeof p.nonce=="string"?p.nonce:void 0,type:typeof p.type=="string"?p.type:void 0,fetchPriority:typeof p.fetchPriority=="string"?p.fetchPriority:void 0,referrerPolicy:typeof p.referrerPolicy=="string"?p.referrerPolicy:void 0,imageSrcSet:typeof p.imageSrcSet=="string"?p.imageSrcSet:void 0,imageSizes:typeof p.imageSizes=="string"?p.imageSizes:void 0,media:typeof p.media=="string"?p.media:void 0})}},ot.preloadModule=function(g,p){if(typeof g=="string")if(p){var v=m(p.as,p.crossOrigin);r.d.m(g,{as:typeof p.as=="string"&&p.as!=="script"?p.as:void 0,crossOrigin:v,integrity:typeof p.integrity=="string"?p.integrity:void 0})}else r.d.m(g)},ot.requestFormReset=function(g){r.d.r(g)},ot.unstable_batchedUpdates=function(g,p){return g(p)},ot.useFormState=function(g,p,v){return h.H.useFormState(g,p,v)},ot.useFormStatus=function(){return h.H.useHostTransitionStatus()},ot.version="19.2.7",ot}var wg;function cS(){if(wg)return Mc.exports;wg=1;function n(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(n)}catch(i){console.error(i)}}return n(),Mc.exports=uS(),Mc.exports}/**
34 * @license React
35 * react-dom-client.production.js
36 *
37 * Copyright (c) Meta Platforms, Inc. and affiliates.
38 *
39 * This source code is licensed under the MIT license found in the
40 * LICENSE file in the root directory of this source tree.
41 */var Cg;function fS(){if(Cg)return Ls;Cg=1;var n=oS(),i=Rf(),l=cS();function r(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var a=2;a<arguments.length;a++)t+="&args[]="+encodeURIComponent(arguments[a])}return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function u(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function f(e){var t=e,a=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,(t.flags&4098)!==0&&(a=t.return),e=t.return;while(e)}return t.tag===3?a:null}function h(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function m(e){if(e.tag===31){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function g(e){if(f(e)!==e)throw Error(r(188))}function p(e){var t=e.alternate;if(!t){if(t=f(e),t===null)throw Error(r(188));return t!==e?null:e}for(var a=e,s=t;;){var o=a.return;if(o===null)break;var c=o.alternate;if(c===null){if(s=o.return,s!==null){a=s;continue}break}if(o.child===c.child){for(c=o.child;c;){if(c===a)return g(o),e;if(c===s)return g(o),t;c=c.sibling}throw Error(r(188))}if(a.return!==s.return)a=o,s=c;else{for(var y=!1,b=o.child;b;){if(b===a){y=!0,a=o,s=c;break}if(b===s){y=!0,s=o,a=c;break}b=b.sibling}if(!y){for(b=c.child;b;){if(b===a){y=!0,a=c,s=o;break}if(b===s){y=!0,s=c,a=o;break}b=b.sibling}if(!y)throw Error(r(189))}}if(a.alternate!==s)throw Error(r(190))}if(a.tag!==3)throw Error(r(188));return a.stateNode.current===a?e:t}function v(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=v(e),t!==null)return t;e=e.sibling}return null}var x=Object.assign,S=Symbol.for("react.element"),j=Symbol.for("react.transitional.element"),T=Symbol.for("react.portal"),C=Symbol.for("react.fragment"),M=Symbol.for("react.strict_mode"),D=Symbol.for("react.profiler"),z=Symbol.for("react.consumer"),_=Symbol.for("react.context"),G=Symbol.for("react.forward_ref"),X=Symbol.for("react.suspense"),F=Symbol.for("react.suspense_list"),K=Symbol.for("react.memo"),P=Symbol.for("react.lazy"),$=Symbol.for("react.activity"),W=Symbol.for("react.memo_cache_sentinel"),le=Symbol.iterator;function ce(e){return e===null||typeof e!="object"?null:(e=le&&e[le]||e["@@iterator"],typeof e=="function"?e:null)}var we=Symbol.for("react.client.reference");function Se(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===we?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case C:return"Fragment";case D:return"Profiler";case M:return"StrictMode";case X:return"Suspense";case F:return"SuspenseList";case $:return"Activity"}if(typeof e=="object")switch(e.$$typeof){case T:return"Portal";case _:return e.displayName||"Context";case z:return(e._context.displayName||"Context")+".Consumer";case G:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case K:return t=e.displayName||null,t!==null?t:Se(e.type)||"Memo";case P:t=e._payload,e=e._init;try{return Se(e(t))}catch{}}return null}var de=Array.isArray,k=i.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Z=l.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,J={pending:!1,data:null,method:null,action:null},re=[],pe=-1;function w(e){return{current:e}}function B(e){0>pe||(e.current=re[pe],re[pe]=null,pe--)}function Q(e,t){pe++,re[pe]=e.current,e.current=t}var I=w(null),oe=w(null),ie=w(null),he=w(null);function $e(e,t){switch(Q(ie,t),Q(oe,e),Q(I,null),t.nodeType){case 9:case 11:e=(e=t.documentElement)&&(e=e.namespaceURI)?qp(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)t=qp(t),e=Yp(t,e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}B(I),Q(I,e)}function _e(){B(I),B(oe),B(ie)}function Ln(e){e.memoizedState!==null&&Q(he,e);var t=I.current,a=Yp(t,e.type);t!==a&&(Q(oe,e),Q(I,a))}function _n(e){oe.current===e&&(B(I),B(oe)),he.current===e&&(B(he),Rs._currentValue=J)}var ka,Ga;function fn(e){if(ka===void 0)try{throw Error()}catch(a){var t=a.stack.trim().match(/\n( *(at )?)/);ka=t&&t[1]||"",Ga=-1<a.stack.indexOf(`
42    at`)?" (<anonymous>)":-1<a.stack.indexOf("@")?"@unknown:0:0":""}return`
43`+ka+e+Ga}var so=!1;function lo(e,t){if(!e||so)return"";so=!0;var a=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var s={DetermineComponentFrameRoot:function(){try{if(t){var Y=function(){throw Error()};if(Object.defineProperty(Y.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(Y,[])}catch(U){var V=U}Reflect.construct(e,[],Y)}else{try{Y.call()}catch(U){V=U}e.call(Y.prototype)}}else{try{throw Error()}catch(U){V=U}(Y=e())&&typeof Y.catch=="function"&&Y.catch(function(){})}}catch(U){if(U&&V&&typeof U.stack=="string")return[U.stack,V.stack]}return[null,null]}};s.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var o=Object.getOwnPropertyDescriptor(s.DetermineComponentFrameRoot,"name");o&&o.configurable&&Object.defineProperty(s.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var c=s.DetermineComponentFrameRoot(),y=c[0],b=c[1];if(y&&b){var A=y.split(`
44`),L=b.split(`
45`);for(o=s=0;s<A.length&&!A[s].includes("DetermineComponentFrameRoot");)s++;for(;o<L.length&&!L[o].includes("DetermineComponentFrameRoot");)o++;if(s===A.length||o===L.length)for(s=A.length-1,o=L.length-1;1<=s&&0<=o&&A[s]!==L[o];)o--;for(;1<=s&&0<=o;s--,o--)if(A[s]!==L[o]){if(s!==1||o!==1)do if(s--,o--,0>o||A[s]!==L[o]){var H=`
46`+A[s].replace(" at new "," at ");return e.displayName&&H.includes("<anonymous>")&&(H=H.replace("<anonymous>",e.displayName)),H}while(1<=s&&0<=o);break}}}finally{so=!1,Error.prepareStackTrace=a}return(a=e?e.displayName||e.name:"")?fn(a):""}function _1(e,t){switch(e.tag){case 26:case 27:case 5:return fn(e.type);case 16:return fn("Lazy");case 13:return e.child!==t&&t!==null?fn("Suspense Fallback"):fn("Suspense");case 19:return fn("SuspenseList");case 0:case 15:return lo(e.type,!1);case 11:return lo(e.type.render,!1);case 1:return lo(e.type,!0);case 31:return fn("Activity");default:return""}}function xd(e){try{var t="",a=null;do t+=_1(e,a),a=e,e=e.return;while(e);return t}catch(s){return`
47Error generating stack: `+s.message+`
48`+s.stack}}var ro=Object.prototype.hasOwnProperty,oo=n.unstable_scheduleCallback,uo=n.unstable_cancelCallback,V1=n.unstable_shouldYield,U1=n.unstable_requestPaint,St=n.unstable_now,B1=n.unstable_getCurrentPriorityLevel,bd=n.unstable_ImmediatePriority,Sd=n.unstable_UserBlockingPriority,nl=n.unstable_NormalPriority,k1=n.unstable_LowPriority,Td=n.unstable_IdlePriority,G1=n.log,H1=n.unstable_setDisableYieldValue,Hi=null,Tt=null;function Vn(e){if(typeof G1=="function"&&H1(e),Tt&&typeof Tt.setStrictMode=="function")try{Tt.setStrictMode(Hi,e)}catch{}}var Et=Math.clz32?Math.clz32:P1,q1=Math.log,Y1=Math.LN2;function P1(e){return e>>>=0,e===0?32:31-(q1(e)/Y1|0)|0}var al=256,il=262144,sl=4194304;function da(e){var t=e&42;if(t!==0)return t;switch(e&-e){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 e&261888;case 262144:case 524288:case 1048576:case 2097152:return e&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return e&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return e}}function ll(e,t,a){var s=e.pendingLanes;if(s===0)return 0;var o=0,c=e.suspendedLanes,y=e.pingedLanes;e=e.warmLanes;var b=s&134217727;return b!==0?(s=b&~c,s!==0?o=da(s):(y&=b,y!==0?o=da(y):a||(a=b&~e,a!==0&&(o=da(a))))):(b=s&~c,b!==0?o=da(b):y!==0?o=da(y):a||(a=s&~e,a!==0&&(o=da(a)))),o===0?0:t!==0&&t!==o&&(t&c)===0&&(c=o&-o,a=t&-t,c>=a||c===32&&(a&4194048)!==0)?t:o}function qi(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function X1(e,t){switch(e){case 1:case 2:case 4:case 8:case 64:return t+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 t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function Ed(){var e=sl;return sl<<=1,(sl&62914560)===0&&(sl=4194304),e}function co(e){for(var t=[],a=0;31>a;a++)t.push(e);return t}function Yi(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function K1(e,t,a,s,o,c){var y=e.pendingLanes;e.pendingLanes=a,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=a,e.entangledLanes&=a,e.errorRecoveryDisabledLanes&=a,e.shellSuspendCounter=0;var b=e.entanglements,A=e.expirationTimes,L=e.hiddenUpdates;for(a=y&~a;0<a;){var H=31-Et(a),Y=1<<H;b[H]=0,A[H]=-1;var V=L[H];if(V!==null)for(L[H]=null,H=0;H<V.length;H++){var U=V[H];U!==null&&(U.lane&=-536870913)}a&=~Y}s!==0&&jd(e,s,0),c!==0&&o===0&&e.tag!==0&&(e.suspendedLanes|=c&~(y&~t))}function jd(e,t,a){e.pendingLanes|=t,e.suspendedLanes&=~t;var s=31-Et(t);e.entangledLanes|=t,e.entanglements[s]=e.entanglements[s]|1073741824|a&261930}function Ad(e,t){var a=e.entangledLanes|=t;for(e=e.entanglements;a;){var s=31-Et(a),o=1<<s;o&t|e[s]&t&&(e[s]|=t),a&=~o}}function wd(e,t){var a=t&-t;return a=(a&42)!==0?1:fo(a),(a&(e.suspendedLanes|t))!==0?0:a}function fo(e){switch(e){case 2:e=1;break;case 8:e=4;break;case 32:e=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:e=128;break;case 268435456:e=134217728;break;default:e=0}return e}function ho(e){return e&=-e,2<e?8<e?(e&134217727)!==0?32:268435456:8:2}function Cd(){var e=Z.p;return e!==0?e:(e=window.event,e===void 0?32:dg(e.type))}function Md(e,t){var a=Z.p;try{return Z.p=e,t()}finally{Z.p=a}}var Un=Math.random().toString(36).slice(2),tt="__reactFiber$"+Un,ht="__reactProps$"+Un,Ha="__reactContainer$"+Un,mo="__reactEvents$"+Un,Q1="__reactListeners$"+Un,Z1="__reactHandles$"+Un,Rd="__reactResources$"+Un,Pi="__reactMarker$"+Un;function po(e){delete e[tt],delete e[ht],delete e[mo],delete e[Q1],delete e[Z1]}function qa(e){var t=e[tt];if(t)return t;for(var a=e.parentNode;a;){if(t=a[Ha]||a[tt]){if(a=t.alternate,t.child!==null||a!==null&&a.child!==null)for(e=Jp(e);e!==null;){if(a=e[tt])return a;e=Jp(e)}return t}e=a,a=e.parentNode}return null}function Ya(e){if(e=e[tt]||e[Ha]){var t=e.tag;if(t===5||t===6||t===13||t===31||t===26||t===27||t===3)return e}return null}function Xi(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e.stateNode;throw Error(r(33))}function Pa(e){var t=e[Rd];return t||(t=e[Rd]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function Ie(e){e[Pi]=!0}var Dd=new Set,Nd={};function ha(e,t){Xa(e,t),Xa(e+"Capture",t)}function Xa(e,t){for(Nd[e]=t,e=0;e<t.length;e++)Dd.add(t[e])}var F1=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]*$"),zd={},Od={};function J1(e){return ro.call(Od,e)?!0:ro.call(zd,e)?!1:F1.test(e)?Od[e]=!0:(zd[e]=!0,!1)}function rl(e,t,a){if(J1(t))if(a===null)e.removeAttribute(t);else{switch(typeof a){case"undefined":case"function":case"symbol":e.removeAttribute(t);return;case"boolean":var s=t.toLowerCase().slice(0,5);if(s!=="data-"&&s!=="aria-"){e.removeAttribute(t);return}}e.setAttribute(t,""+a)}}function ol(e,t,a){if(a===null)e.removeAttribute(t);else{switch(typeof a){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(t);return}e.setAttribute(t,""+a)}}function dn(e,t,a,s){if(s===null)e.removeAttribute(a);else{switch(typeof s){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(a);return}e.setAttributeNS(t,a,""+s)}}function Ot(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Ld(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function W1(e,t,a){var s=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);if(!e.hasOwnProperty(t)&&typeof s<"u"&&typeof s.get=="function"&&typeof s.set=="function"){var o=s.get,c=s.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(y){a=""+y,c.call(this,y)}}),Object.defineProperty(e,t,{enumerable:s.enumerable}),{getValue:function(){return a},setValue:function(y){a=""+y},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function go(e){if(!e._valueTracker){var t=Ld(e)?"checked":"value";e._valueTracker=W1(e,t,""+e[t])}}function _d(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var a=t.getValue(),s="";return e&&(s=Ld(e)?e.checked?"true":"false":e.value),e=s,e!==a?(t.setValue(e),!0):!1}function ul(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}var $1=/[\n"\\]/g;function Lt(e){return e.replace($1,function(t){return"\\"+t.charCodeAt(0).toString(16)+" "})}function yo(e,t,a,s,o,c,y,b){e.name="",y!=null&&typeof y!="function"&&typeof y!="symbol"&&typeof y!="boolean"?e.type=y:e.removeAttribute("type"),t!=null?y==="number"?(t===0&&e.value===""||e.value!=t)&&(e.value=""+Ot(t)):e.value!==""+Ot(t)&&(e.value=""+Ot(t)):y!=="submit"&&y!=="reset"||e.removeAttribute("value"),t!=null?vo(e,y,Ot(t)):a!=null?vo(e,y,Ot(a)):s!=null&&e.removeAttribute("value"),o==null&&c!=null&&(e.defaultChecked=!!c),o!=null&&(e.checked=o&&typeof o!="function"&&typeof o!="symbol"),b!=null&&typeof b!="function"&&typeof b!="symbol"&&typeof b!="boolean"?e.name=""+Ot(b):e.removeAttribute("name")}function Vd(e,t,a,s,o,c,y,b){if(c!=null&&typeof c!="function"&&typeof c!="symbol"&&typeof c!="boolean"&&(e.type=c),t!=null||a!=null){if(!(c!=="submit"&&c!=="reset"||t!=null)){go(e);return}a=a!=null?""+Ot(a):"",t=t!=null?""+Ot(t):a,b||t===e.value||(e.value=t),e.defaultValue=t}s=s??o,s=typeof s!="function"&&typeof s!="symbol"&&!!s,e.checked=b?e.checked:!!s,e.defaultChecked=!!s,y!=null&&typeof y!="function"&&typeof y!="symbol"&&typeof y!="boolean"&&(e.name=y),go(e)}function vo(e,t,a){t==="number"&&ul(e.ownerDocument)===e||e.defaultValue===""+a||(e.defaultValue=""+a)}function Ka(e,t,a,s){if(e=e.options,t){t={};for(var o=0;o<a.length;o++)t["$"+a[o]]=!0;for(a=0;a<e.length;a++)o=t.hasOwnProperty("$"+e[a].value),e[a].selected!==o&&(e[a].selected=o),o&&s&&(e[a].defaultSelected=!0)}else{for(a=""+Ot(a),t=null,o=0;o<e.length;o++){if(e[o].value===a){e[o].selected=!0,s&&(e[o].defaultSelected=!0);return}t!==null||e[o].disabled||(t=e[o])}t!==null&&(t.selected=!0)}}function Ud(e,t,a){if(t!=null&&(t=""+Ot(t),t!==e.value&&(e.value=t),a==null)){e.defaultValue!==t&&(e.defaultValue=t);return}e.defaultValue=a!=null?""+Ot(a):""}function Bd(e,t,a,s){if(t==null){if(s!=null){if(a!=null)throw Error(r(92));if(de(s)){if(1<s.length)throw Error(r(93));s=s[0]}a=s}a==null&&(a=""),t=a}a=Ot(t),e.defaultValue=a,s=e.textContent,s===a&&s!==""&&s!==null&&(e.value=s),go(e)}function Qa(e,t){if(t){var a=e.firstChild;
vendor: 4,140 bytes, line 48
48if(a&&a===e.lastChild&&a.nodeType===3){a.nodeValue=t;return}}e.textContent=t}var I1=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 kd(e,t,a){var s=t.indexOf("--")===0;a==null||typeof a=="boolean"||a===""?s?e.setProperty(t,""):t==="float"?e.cssFloat="":e[t]="":s?e.setProperty(t,a):typeof a!="number"||a===0||I1.has(t)?t==="float"?e.cssFloat=a:e[t]=(""+a).trim():e[t]=a+"px"}function Gd(e,t,a){if(t!=null&&typeof t!="object")throw Error(r(62));if(e=e.style,a!=null){for(var s in a)!a.hasOwnProperty(s)||t!=null&&t.hasOwnProperty(s)||(s.indexOf("--")===0?e.setProperty(s,""):s==="float"?e.cssFloat="":e[s]="");for(var o in t)s=t[o],t.hasOwnProperty(o)&&a[o]!==s&&kd(e,o,s)}else for(var c in t)t.hasOwnProperty(c)&&kd(e,c,t[c])}function xo(e){if(e.indexOf("-")===-1)return!1;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var ex=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
48-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"]]),tx=/^[\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 cl(e){return tx.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}function hn(){}var bo=null;function So(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Za=null,Fa=null;function Hd(e){var t=Ya(e);if(t&&(e=t.stateNode)){var a=e[ht]||null;e:switch(e=t.stateNode,t.type){case"input":if(yo(e,a.value,a.defaultValue,a.defaultValue,a.checked,a.defaultChecked,a.type,a.name),t=a.name,a.type==="radio"&&t!=null){for(a=e;a.parentNode;)a=a.parentNode;for(a=a.querySelectorAll('input[name="'+Lt(""+t)+'"][type="radio"]'),t=0;t<a.length;t++){var s=a[t];if(s!==e&&s.form===e.form){var o=s[ht]||null;if(!o)throw Error(r(90));yo(s,o.value,o.defaultValue,o.defaultValue,o.checked,o.defaultChecked,o.type,o.name)}}for(t=0;t<a.length;t++)s=a[t],s.form===e.form&&_d(s)}break e;case"textarea":Ud(e,a.value,a.defaultValue);break e;case"select":t=a.value,t!=null&&Ka(e,!!a.multiple,t,!1)}}}var To=!1;function qd(e,t,a){if(To)return e(t,a);To=!0;try{var s=e(t);return s}finally{if(To=!1,(Za!==null||Fa!==null)&&(Wl(),Za&&(t=Za,e=Fa,Fa=Za=null,Hd(t),e)))for(t=0;t<e.length;t++)Hd(e[t])}}function Ki(e,t){var a=e.stateNode;if(a===null)return null;var s=a[ht]||null;if(s===null)return null;a=s[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(s=!s.disabled)||(e=e.type,s=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!s;break e;default:e=!1}if(e)return null;if(a&&typeof a!="function")throw Error(r(231,t,typeof a));return a}var mn=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Eo=!1;if(mn)try{var Qi={};Object.defineProperty(Qi,"passive",{get:function(){Eo=!0}}),window.addEventListener("test",Qi,Qi),window.removeEventListener("test",Qi,Qi)}catch{Eo=!1}var Bn=null,jo=null,fl=null;function Yd(){if(fl)return fl;var e,t=jo,a=t.length,s,o="value"in Bn?Bn.value:Bn.textContent,c=o.length;for(e=0;e<a&&t[e]===o[e];e++);var y=a-e;for(s=1;s<=y&&t[a-s]===o[c-s];s++);return fl=o.slice(e,1<s?1-s:void 0)}function dl(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function hl(){return!0}function Pd(){return!1}function mt(e){function t(a,s,o,c,y){this._reactName=a,this._targetInst=o,this.type=s,this.nativeEvent=c,this.target=y,this.currentTarget=null;for(var b in e)e.hasOwnProperty(b)&&(a=e[b],this[b]=a?a(c):c[b]);return this.isDefaultPrevented=(c.defaultPrevented!=null?c.defaultPrevented:c.returnValue===!1)?hl:Pd,this.isPropagationStopped=Pd,this}return x(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var a=this.nativeEvent;a&&(a.preventDefault?a.preventDefault():typeof a.returnValue!="unknown"&&(a.returnValue=!1),this.isDefaultPrevented=hl)},stopPropagation:function(){var a=this.nativeEvent;a&&(a.stopPropagation?a.stopPropagation():typeof a.cancelBubble!="unknown"&&(a.cancelBubble=!0),this.isPropagationStopped=hl)},persist:function(){},isPersistent:hl}),t}var ma={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},ml=mt(ma),Zi=x({},ma,{view:0,detail:0}),nx=mt(Zi),Ao,wo,Fi,pl=x({},Zi,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Mo,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==Fi&&(Fi&&e.type==="mousemove"?(Ao=e.screenX-Fi.screenX,wo=e.screenY-Fi.screenY):wo=Ao=0,Fi=e),Ao)},movementY:function(e){return"movementY"in e?e.movementY:wo}}),Xd=mt(pl),ax=x({},pl,{dataTransfer:0}),ix=mt(ax),sx=x({},Zi,{relatedTarget:0}),Co=mt(sx),lx=x({},ma,{animationName:0,elapsedTime:0,pseudoElement:0}),rx=mt(lx),ox=x({},ma,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),ux=mt(ox),cx=x({},ma,{data:0}),Kd=mt(cx),fx={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},dx={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"},hx={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function mx(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=hx[e])?!!t[e]:!1}function Mo(){return mx}var px=x({},Zi,{key:function(e){if(e.key){var t=fx[e.key]||e.key;if(t!=="Unidentified")return t}
vendor: 4,772 bytes, line 48
48return e.type==="keypress"?(e=dl(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?dx[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Mo,charCode:function(e){return e.type==="keypress"?dl(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?dl(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),gx=mt(px),yx=x({},pl,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Qd=mt(yx),vx=x({},Zi,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Mo}),xx=mt(vx),bx=x({},ma,{propertyName:0,elapsedTime:0,pseudoElement:0}),Sx=mt(bx),Tx=x({},pl,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),Ex=mt(Tx),jx=x({},ma,{newState:0,oldState:0}),Ax=mt(jx),wx=[9,13,27,32],Ro=mn&&"CompositionEvent"in window,Ji=null;mn&&"documentMode"in document&&(Ji=document.documentMode);var Cx=mn&&"TextEvent"in window&&!Ji,Zd=mn&&(!Ro||Ji&&8<Ji&&11>=Ji),Fd=" ",Jd=!1;function Wd(e,t){switch(e){case"keyup":return wx.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function $d(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Ja=!1;function Mx(e,t){switch(e){case"compositionend":return $d(t);case"keypress":return t.which!==32?null:(Jd=!0,Fd);case"textInput":return e=t.data,e===Fd&&Jd?null:e;default:return null}}function Rx(e,t){if(Ja)return e==="compositionend"||!Ro&&Wd(e,t)?(e=Yd(),fl=jo=Bn=null,Ja=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Zd&&t.locale!=="ko"?null:t.data;default:return null}}var Dx={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 Id(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!Dx[e.type]:t==="textarea"}function eh(e,t,a,s){Za?Fa?Fa.push(s):Fa=[s]:Za=s,t=ir(t,"onChange"),0<t.length&&(a=new ml("onChange","change",null,a,s),e.push({event:a,listeners:t}))}var Wi=null,$i=null;function Nx(e){Vp(e,0)}function gl(e){var t=Xi(e);if(_d(t))return e}function th(e,t){if(e==="change")return t}var nh=!1;if(mn){var Do;if(mn){var No="oninput"in document;if(!No){var ah=document.createElement("div");ah.setAttribute("oninput","return;"),No=typeof ah.oninput=="function"}Do=No}else Do=!1;nh=Do&&(!document.documentMode||9<document.documentMode)}function ih(){Wi&&(Wi.detachEvent("onpropertychange",sh),$i=Wi=null)}function sh(e){if(e.propertyName==="value"&&gl($i)){var t=[];eh(t,$i,e,So(e)),qd(Nx,t)}}function zx(e,t,a){e==="focusin"?(ih(),Wi=t,$i=a,Wi.attachEvent("onpropertychange",sh)):e==="focusout"&&ih()}function Ox(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return gl($i)}function Lx(e,t){if(e==="click")return gl(t)}function _x(e,t){if(e==="input"||e==="change")return gl(t)}function Vx(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var jt=typeof Object.is=="function"?Object.is:Vx;function Ii(e,t){if(jt(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var a=Object.keys(e),s=Object.keys(t);if(a.length!==s.length)return!1;for(s=0;s<a.length;s++){var o=a[s];if(!ro.call(t,o)||!jt(e[o],t[o]))return!1}return!0}function lh(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function rh(e,t){var a=lh(e);e=0;for(var s;a;){if(a.nodeType===3){if(s=e+a.textContent.length,e<=t&&s>=t)return{node:a,offset:t-e};e=s}e:{for(;a;){if(a.nextSibling){a=a.nextSibling;break e}a=a.parentNode}a=void 0}a=lh(a)}}function oh(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?oh(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function uh(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=ul(e.document);t instanceof e.HTMLIFrameElement;){try{var a=typeof t.contentWindow.location.href=="string"}catch{a=!1}if(a)e=t.contentWindow;else break;t=ul(e.document)}return t}function zo(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}
vendor: 112,459 bytes, lines 48-49
48var Ux=mn&&"documentMode"in document&&11>=document.documentMode,Wa=null,Oo=null,es=null,Lo=!1;function ch(e,t,a){var s=a.window===a?a.document:a.nodeType===9?a:a.ownerDocument;Lo||Wa==null||Wa!==ul(s)||(s=Wa,"selectionStart"in s&&zo(s)?s={start:s.selectionStart,end:s.selectionEnd}:(s=(s.ownerDocument&&s.ownerDocument.defaultView||window).getSelection(),s={anchorNode:s.anchorNode,anchorOffset:s.anchorOffset,focusNode:s.focusNode,focusOffset:s.focusOffset}),es&&Ii(es,s)||(es=s,s=ir(Oo,"onSelect"),0<s.length&&(t=new ml("onSelect","select",null,t,a),e.push({event:t,listeners:s}),t.target=Wa)))}function pa(e,t){var a={};return a[e.toLowerCase()]=t.toLowerCase(),a["Webkit"+e]="webkit"+t,a["Moz"+e]="moz"+t,a}var $a={animationend:pa("Animation","AnimationEnd"),animationiteration:pa("Animation","AnimationIteration"),animationstart:pa("Animation","AnimationStart"),transitionrun:pa("Transition","TransitionRun"),transitionstart:pa("Transition","TransitionStart"),transitioncancel:pa("Transition","TransitionCancel"),transitionend:pa("Transition","TransitionEnd")},_o={},fh={};mn&&(fh=document.createElement("div").style,"AnimationEvent"in window||(delete $a.animationend.animation,delete $a.animationiteration.animation,delete $a.animationstart.animation),"TransitionEvent"in window||delete $a.transitionend.transition);function ga(e){if(_o[e])return _o[e];if(!$a[e])return e;var t=$a[e],a;for(a in t)if(t.hasOwnProperty(a)&&a in fh)return _o[e]=t[a];return e}var dh=ga("animationend"),hh=ga("animationiteration"),mh=ga("animationstart"),Bx=ga("transitionrun"),kx=ga("transitionstart"),Gx=ga("transitioncancel"),ph=ga("transitionend"),gh=new Map,Vo="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(" ");Vo.push("scrollEnd");function Kt(e,t){gh.set(e,t),ha(t,[e])}var yl=typeof reportError=="function"?reportError:function(e){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof e=="object"&&e!==null&&typeof e.message=="string"?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",e);return}console.error(e)},_t=[],Ia=0,Uo=0;function vl(){for(var e=Ia,t=Uo=Ia=0;t<e;){var a=_t[t];_t[t++]=null;var s=_t[t];_t[t++]=null;var o=_t[t];_t[t++]=null;var c=_t[t];if(_t[t++]=null,s!==null&&o!==null){var y=s.pending;y===null?o.next=o:(o.next=y.next,y.next=o),s.pending=o}c!==0&&yh(a,o,c)}}function xl(e,t,a,s){_t[Ia++]=e,_t[Ia++]=t,_t[Ia++]=a,_t[Ia++]=s,Uo|=s,e.lanes|=s,e=e.alternate,e!==null&&(e.lanes|=s)}function Bo(e,t,a,s){return xl(e,t,a,s),bl(e)}function ya(e,t){return xl(e,null,null,t),bl(e)}function yh(e,t,a){e.lanes|=a;var s=e.alternate;s!==null&&(s.lanes|=a);for(var o=!1,c=e.return;c!==null;)c.childLanes|=a,s=c.alternate,s!==null&&(s.childLanes|=a),c.tag===22&&(e=c.stateNode,e===null||e._visibility&1||(o=!0)),e=c,c=c.return;return e.tag===3?(c=e.stateNode,o&&t!==null&&(o=31-Et(a),e=c.hiddenUpdates,s=e[o],s===null?e[o]=[t]:s.push(t),t.lane=a|536870912),c):null}function bl(e){if(50<Ts)throw Ts=0,Qu=null,Error(r(185));for(var t=e.return;t!==null;)e=t,t=e.return;return e.tag===3?e.stateNode:null}var ei={};function Hx(e,t,a,s){this.tag=e,this.key=a,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=s,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function At(e,t,a,s){return new Hx(e,t,a,s)}function ko(e){return e=e.prototype,!(!e||!e.isReactComponent)}function pn(e,t){var a=e.alternate;return a===null?(a=At(e.tag,t,e.key,e.mode),a.elementType=e.elementType,a.type=e.type,a.stateNode=e.stateNode,a.alternate=e,e.alternate=a):(a.pendingProps=t,a.type=e.type,a.flags=0,a.subtreeFlags=0,a.deletions=null),a.flags=e.flags&65011712,a.childLanes=e.childLanes,a.lanes=e.lanes,a.child=e.child,a.memoizedProps=e.memoizedProps,a.memoizedState=e.memoizedState,a.updateQueue=e.updateQueue,t=e.dependencies,a.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},a.sibling=e.sibling,a.index=e.index,a.ref=e.ref,a.refCleanup=e.refCleanup,a}function vh(e,t){e.flags&=65011714;var a=e.alternate;return a===null?(e.childLanes=0,e.lanes=t,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null):(e.childLanes=a.childLanes,e.lanes=a.lanes,e.child=a.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=a.memoizedProps,e.memoizedState=a.memoizedState,e.updateQueue=a.updateQueue,e.type=a.type,t=a.dependencies,e.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext}),e}function Sl(e,t,a,s,o,c){var y=0;if(s=e,typeof e=="function")ko(e)&&(y=1);else if(typeof e=="string")y=Kb(e,a,I.current)?26:e==="html"||e==="head"||e==="body"?27:5;else e:switch(e){case $:return e=At(31,a,t,o),e.elementType=$,e.lanes=c,e;case C:return va(a.children,o,c,t);case M:y=8,o|=24;break;case D:return e=At(12,a,t,o|2),e.elementType=D,e.lanes=c,e;case X:return e=At(13,a,t,o),e.elementType=X,e.lanes=c,e;case F:return e=At(19,a,t,o),e.elementType=F,e.lanes=c,e;default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case _:y=10;break e;case z:y=9;break e;case G:y=11;break e;case K:y=14;break e;case P:y=16,s=null;break e}y=29,a=Error(r(130,e===null?"null":typeof e,"")),s=null}return t=At(y,a,t,o),t.elementType=e,t.type=s,t.lanes=c,t}function va(e,t,a,s){return e=At(7,e,s,t),e.lanes=a,e}function Go(e,t,a){return e=At(6,e,null,t),e.lanes=a,e}function xh(e){var t=At(18,null,null,0);return t.stateNode=e,t}function Ho(e,t,a){return t=At(4,e.children!==null?e.children:[],e.key,t),t.lanes=a,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}var bh=new WeakMap;function Vt(e,t){if(typeof e=="object"&&e!==null){var a=bh.get(e);return a!==void 0?a:(t={value:e,source:t,stack:xd(t)},bh.set(e,t),t)}return{value:e,source:t,stack:xd(t)}}var ti=[],ni=0,Tl=null,ts=0,Ut=[],Bt=0,kn=null,tn=1,nn="";function gn(e,t){ti[ni++]=ts,ti[ni++]=Tl,Tl=e,ts=t}function Sh(e,t,a){Ut[Bt++]=tn,Ut[Bt++]=nn,Ut[Bt++]=kn,kn=e;var s=tn;e=nn;var o=32-Et(s)-1;s&=~(1<<o),a+=1;var c=32-Et(t)+o;if(30<c){var y=o-o%5;c=(s&(1<<y)-1).toString(32),s>>=y,o-=y,tn=1<<32-Et(t)+o|a<<o|s,nn=c+e}else tn=1<<c|a<<o|s,nn=e}function qo(e){e.return!==null&&(gn(e,1),Sh(e,1,0))}function Yo(e){for(;e===Tl;)Tl=ti[--ni],ti[ni]=null,ts=ti[--ni],ti[ni]=null;for(;e===kn;)kn=Ut[--Bt],Ut[Bt]=null,nn=Ut[--Bt],Ut[Bt]=null,tn=Ut[--Bt],Ut[Bt]=null}function Th(e,t){Ut[Bt++]=tn,Ut[Bt++]=nn,Ut[Bt++]=kn,tn=t.id,nn=t.overflow,kn=e}var nt=null,Ve=null,be=!1,Gn=null,kt=!1,Po=Error(r(519));function Hn(e){var t=Error(r(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw ns(Vt(t,e)),Po}function Eh(e){var t=e.stateNode,a=e.type,s=e.memoizedProps;switch(t[tt]=e,t[ht]=s,a){case"dialog":ye("cancel",t),ye("close",t);break;case"iframe":case"object":case"embed":ye("load",t);break;case"video":case"audio":for(a=0;a<js.length;a++)ye(js[a],t);break;case"source":ye("error",t);break;case"img":case"image":case"link":ye("error",t),ye("load",t);break;case"details":ye("toggle",t);break;case"input":ye("invalid",t),Vd(t,s.value,s.defaultValue,s.checked,s.defaultChecked,s.type,s.name,!0);break;case"select":ye("invalid",t);break;case"textarea":ye("invalid",t),Bd(t,s.value,s.defaultValue,s.children)}a=s.children,typeof a!="string"&&typeof a!="number"&&typeof a!="bigint"||t.textContent===""+a||s.suppressHydrationWarning===!0||Gp(t.textContent,a)?(s.popover!=null&&(ye("beforetoggle",t),ye("toggle",t)),s.onScroll!=null&&ye("scroll",t),s.onScrollEnd!=null&&ye("scrollend",t),s.onClick!=null&&(t.onclick=hn),t=!0):t=!1,t||Hn(e,!0)}function jh(e){for(nt=e.return;nt;)switch(nt.tag){case 5:case 31:case 13:kt=!1;return;case 27:case 3:kt=!0;return;default:nt=nt.return}}function ai(e){if(e!==nt)return!1;if(!be)return jh(e),be=!0,!1;var t=e.tag,a;if((a=t!==3&&t!==27)&&((a=t===5)&&(a=e.type,a=!(a!=="form"&&a!=="button")||oc(e.type,e.memoizedProps)),a=!a),a&&Ve&&Hn(e),jh(e),t===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(r(317));Ve=Fp(e)}else if(t===31){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(r(317));Ve=Fp(e)}else t===27?(t=Ve,ta(e.type)?(e=hc,hc=null,Ve=e):Ve=t):Ve=nt?Ht(e.stateNode.nextSibling):null;return!0}function xa(){Ve=nt=null,be=!1}function Xo(){var e=Gn;return e!==null&&(vt===null?vt=e:vt.push.apply(vt,e),Gn=null),e}function ns(e){Gn===null?Gn=[e]:Gn.push(e)}var Ko=w(null),ba=null,yn=null;function qn(e,t,a){Q(Ko,t._currentValue),t._currentValue=a}function vn(e){e._currentValue=Ko.current,B(Ko)}function Qo(e,t,a){for(;e!==null;){var s=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,s!==null&&(s.childLanes|=t)):s!==null&&(s.childLanes&t)!==t&&(s.childLanes|=t),e===a)break;e=e.return}}function Zo(e,t,a,s){var o=e.child;for(o!==null&&(o.return=e);o!==null;){var c=o.dependencies;if(c!==null){var y=o.child;c=c.firstContext;e:for(;c!==null;){var b=c;c=o;for(var A=0;A<t.length;A++)if(b.context===t[A]){c.lanes|=a,b=c.alternate,b!==null&&(b.lanes|=a),Qo(c.return,a,e),s||(y=null);break e}c=b.next}}else if(o.tag===18){if(y=o.return,y===null)throw Error(r(341));y.lanes|=a,c=y.alternate,c!==null&&(c.lanes|=a),Qo(y,a,e),y=null}else y=o.child;if(y!==null)y.return=o;else for(y=o;y!==null;){if(y===e){y=null;break}if(o=y.sibling,o!==null){o.return=y.return,y=o;break}y=y.return}o=y}}function ii(e,t,a,s){e=null;for(var o=t,c=!1;o!==null;){if(!c){if((o.flags&524288)!==0)c=!0;else if((o.flags&262144)!==0)break}if(o.tag===10){var y=o.alternate;if(y===null)throw Error(r(387));if(y=y.memoizedProps,y!==null){var b=o.type;jt(o.pendingProps.value,y.value)||(e!==null?e.push(b):e=[b])}}else if(o===he.current){if(y=o.alternate,y===null)throw Error(r(387));y.memoizedState.memoizedState!==o.memoizedState.memoizedState&&(e!==null?e.push(Rs):e=[Rs])}o=o.return}e!==null&&Zo(t,e,a,s),t.flags|=262144}function El(e){for(e=e.firstContext;e!==null;){if(!jt(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function Sa(e){ba=e,yn=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function at(e){return Ah(ba,e)}function jl(e,t){return ba===null&&Sa(e),Ah(e,t)}function Ah(e,t){var a=t._currentValue;if(t={context:t,memoizedValue:a,next:null},yn===null){if(e===null)throw Error(r(308));yn=t,e.dependencies={lanes:0,firstContext:t},e.flags|=524288}else yn=yn.next=t;return a}var qx=typeof AbortController<"u"?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(a,s){e.push(s)}};this.abort=function(){t.aborted=!0,e.forEach(function(a){return a()})}},Yx=n.unstable_scheduleCallback,Px=n.unstable_NormalPriority,Xe={$$typeof:_,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function Fo(){return{controller:new qx,data:new Map,refCount:0}}function as(e){e.refCount--,e.refCount===0&&Yx(Px,function(){e.controller.abort()})}var is=null,Jo=0,si=0,li=null;function Xx(e,t){if(is===null){var a=is=[];Jo=0,si=Iu(),li={status:"pending",value:void 0,then:function(s){a.push(s)}}}return Jo++,t.then(wh,wh),t}function wh(){if(--Jo===0&&is!==null){li!==null&&(li.status="fulfilled");var e=is;is=null,si=0,li=null;for(var t=0;t<e.length;t++)(0,e[t])()}}function Kx(e,t){var a=[],s={status:"pending",value:null,reason:null,then:function(o){a.push(o)}};return e.then(function(){s.status="fulfilled",s.value=t;for(var o=0;o<a.length;o++)(0,a[o])(t)},function(o){for(s.status="rejected",s.reason=o,o=0;o<a.length;o++)(0,a[o])(void 0)}),s}var Ch=k.S;k.S=function(e,t){cp=St(),typeof t=="object"&&t!==null&&typeof t.then=="function"&&Xx(e,t),Ch!==null&&Ch(e,t)};var Ta=w(null);function Wo(){var e=Ta.current;return e!==null?e:ze.pooledCache}function Al(e,t){t===null?Q(Ta,Ta.current):Q(Ta,t.pool)}function Mh(){var e=Wo();return e===null?null:{parent:Xe._currentValue,pool:e}}var ri=Error(r(460)),$o=Error(r(474)),wl=Error(r(542)),Cl={then:function(){}};function Rh(e){return e=e.status,e==="fulfilled"||e==="rejected"}function Dh(e,t,a){switch(a=e[a],a===void 0?e.push(t):a!==t&&(t.then(hn,hn),t=a),t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,zh(e),e;default:if(typeof t.status=="string")t.then(hn,hn);else{if(e=ze,e!==null&&100<e.shellSuspendCounter)throw Error(r(482));e=t,e.status="pending",e.then(function(s){if(t.status==="pending"){var o=t;o.status="fulfilled",o.value=s}},function(s){if(t.status==="pending"){var o=t;o.status="rejected",o.reason=s}})}switch(t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,zh(e),e}throw ja=t,ri}}function Ea(e){try{var t=e._init;return t(e._payload)}catch(a){throw a!==null&&typeof a=="object"&&typeof a.then=="function"?(ja=a,ri):a}}var ja=null;function Nh(){if(ja===null)throw Error(r(459));var e=ja;return ja=null,e}function zh(e){if(e===ri||e===wl)throw Error(r(483))}var oi=null,ss=0;function Ml(e){var t=ss;return ss+=1,oi===null&&(oi=[]),Dh(oi,e,t)}function ls(e,t){t=t.props.ref,e.ref=t!==void 0?t:null}function Rl(e,t){throw t.$$typeof===S?Error(r(525)):(e=Object.prototype.toString.call(t),Error(r(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e)))}function Oh(e){function t(N,R){if(e){var O=N.deletions;O===null?(N.deletions=[R],N.flags|=16):O.push(R)}}function a(N,R){if(!e)return null;for(;R!==null;)t(N,R),R=R.sibling;return null}function s(N){for(var R=new Map;N!==null;)N.key!==null?R.set(N.key,N):R.set(N.index,N),N=N.sibling;return R}function o(N,R){return N=pn(N,R),N.index=0,N.sibling=null,N}function c(N,R,O){return N.index=O,e?(O=N.alternate,O!==null?(O=O.index,O<R?(N.flags|=67108866,R):O):(N.flags|=67108866,R)):(N.flags|=1048576,R)}function y(N){return e&&N.alternate===null&&(N.flags|=67108866),N}function b(N,R,O,q){return R===null||R.tag!==6?(R=Go(O,N.mode,q),R.return=N,R):(R=o(R,O),R.return=N,R)}function A(N,R,O,q){var ae=O.type;return ae===C?H(N,R,O.props.children,q,O.key):R!==null&&(R.elementType===ae||typeof ae=="object"&&ae!==null&&ae.$$typeof===P&&Ea(ae)===R.type)?(R=o(R,O.props),ls(R,O),R.return=N,R):(R=Sl(O.type,O.key,O.props,null,N.mode,q),ls(R,O),R.return=N,R)}function L(N,R,O,q){return R===null||R.tag!==4||R.stateNode.containerInfo!==O.containerInfo||R.stateNode.implementation!==O.implementation?(R=Ho(O,N.mode,q),R.return=N,R):(R=o(R,O.children||[]),R.return=N,R)}function H(N,R,O,q,ae){return R===null||R.tag!==7?(R=va(O,N.mode,q,ae),R.return=N,R):(R=o(R,O),R.return=N,R)}function Y(N,R,O){if(typeof R=="string"&&R!==""||typeof R=="number"||typeof R=="bigint")return R=Go(""+R,N.mode,O),R.return=N,R;if(typeof R=="object"&&R!==null){switch(R.$$typeof){case j:return O=Sl(R.type,R.key,R.props,null,N.mode,O),ls(O,R),O.return=N,O;case T:return R=Ho(R,N.mode,O),R.return=N,R;case P:return R=Ea(R),Y(N,R,O)}if(de(R)||ce(R))return R=va(R,N.mode,O,null),R.return=N,R;if(typeof R.then=="function")return Y(N,Ml(R),O);if(R.$$typeof===_)return Y(N,jl(N,R),O);Rl(N,R)}return null}function V(N,R,O,q){var ae=R!==null?R.key:null;if(typeof O=="string"&&O!==""||typeof O=="number"||typeof O=="bigint")return ae!==null?null:b(N,R,""+O,q);if(typeof O=="object"&&O!==null){switch(O.$$typeof){case j:return O.key===ae?A(N,R,O,q):null;case T:return O.key===ae?L(N,R,O,q):null;case P:return O=Ea(O),V(N,R,O,q)}if(de(O)||ce(O))return ae!==null?null:H(N,R,O,q,null);if(typeof O.then=="function")return V(N,R,Ml(O),q);if(O.$$typeof===_)return V(N,R,jl(N,O),q);Rl(N,O)}return null}function U(N,R,O,q,ae){if(typeof q=="string"&&q!==""||typeof q=="number"||typeof q=="bigint")return N=N.get(O)||null,b(R,N,""+q,ae);if(typeof q=="object"&&q!==null){switch(q.$$typeof){case j:return N=N.get(q.key===null?O:q.key)||null,A(R,N,q,ae);case T:return N=N.get(q.key===null?O:q.key)||null,L(R,N,q,ae);case P:return q=Ea(q),U(N,R,O,q,ae)}if(de(q)||ce(q))return N=N.get(O)||null,H(R,N,q,ae,null);if(typeof q.then=="function")return U(N,R,O,Ml(q),ae);if(q.$$typeof===_)return U(N,R,O,jl(R,q),ae);Rl(R,q)}return null}function ee(N,R,O,q){for(var ae=null,Ee=null,ne=R,me=R=0,xe=null;ne!==null&&me<O.length;me++){ne.index>me?(xe=ne,ne=null):xe=ne.sibling;var je=V(N,ne,O[me],q);if(je===null){ne===null&&(ne=xe);break}e&&ne&&je.alternate===null&&t(N,ne),R=c(je,R,me),Ee===null?ae=je:Ee.sibling=je,Ee=je,ne=xe}if(me===O.length)return a(N,ne),be&&gn(N,me),ae;if(ne===null){for(;me<O.length;me++)ne=Y(N,O[me],q),ne!==null&&(R=c(ne,R,me),Ee===null?ae=ne:Ee.sibling=ne,Ee=ne);return be&&gn(N,me),ae}for(ne=s(ne);me<O.length;me++)xe=U(ne,N,me,O[me],q),xe!==null&&(e&&xe.alternate!==null&&ne.delete(xe.key===null?me:xe.key),R=c(xe,R,me),Ee===null?ae=xe:Ee.sibling=xe,Ee=xe);return e&&ne.forEach(function(la){return t(N,la)}),be&&gn(N,me),ae}function se(N,R,O,q){if(O==null)throw Error(r(151));for(var ae=null,Ee=null,ne=R,me=R=0,xe=null,je=O.next();ne!==null&&!je.done;me++,je=O.next()){ne.index>me?(xe=ne,ne=null):xe=ne.sibling;var la=V(N,ne,je.value,q);if(la===null){ne===null&&(ne=xe);break}e&&ne&&la.alternate===null&&t(N,ne),R=c(la,R,me),Ee===null?ae=la:Ee.sibling=la,Ee=la,ne=xe}if(je.done)return a(N,ne),be&&gn(N,me),ae;if(ne===null){for(;!je.done;me++,je=O.next())je=Y(N,je.value,q),je!==null&&(R=c(je,R,me),Ee===null?ae=je:Ee.sibling=je,Ee=je);return be&&gn(N,me),ae}for(ne=s(ne);!je.done;me++,je=O.next())je=U(ne,N,me,je.value,q),je!==null&&(e&&je.alternate!==null&&ne.delete(je.key===null?me:je.key),R=c(je,R,me),Ee===null?ae=je:Ee.sibling=je,Ee=je);return e&&ne.forEach(function(aS){return t(N,aS)}),be&&gn(N,me),ae}function Ne(N,R,O,q){if(typeof O=="object"&&O!==null&&O.type===C&&O.key===null&&(O=O.props.children),typeof O=="object"&&O!==null){switch(O.$$typeof){case j:e:{for(var ae=O.key;R!==null;){if(R.key===ae){if(ae=O.type,ae===C){if(R.tag===7){a(N,R.sibling),q=o(R,O.props.children),q.return=N,N=q;break e}}else if(R.elementType===ae||typeof ae=="object"&&ae!==null&&ae.$$typeof===P&&Ea(ae)===R.type){a(N,R.sibling),q=o(R,O.props),ls(q,O),q.return=N,N=q;break e}a(N,R);break}else t(N,R);R=R.sibling}O.type===C?(q=va(O.props.children,N.mode,q,O.key),q.return=N,N=q):(q=Sl(O.type,O.key,O.props,null,N.mode,q),ls(q,O),q.return=N,N=q)}return y(N);case T:e:{for(ae=O.key;R!==null;){if(R.key===ae)if(R.tag===4&&R.stateNode.containerInfo===O.containerInfo&&R.stateNode.implementation===O.implementation){a(N,R.sibling),q=o(R,O.children||[]),q.return=N,N=q;break e}else{a(N,R);break}else t(N,R);R=R.sibling}q=Ho(O,N.mode,q),q.return=N,N=q}return y(N);case P:return O=Ea(O),Ne(N,R,O,q)}if(de(O))return ee(N,R,O,q);if(ce(O)){if(ae=ce(O),typeof ae!="function")throw Error(r(150));return O=ae.call(O),se(N,R,O,q)}if(typeof O.then=="function")return Ne(N,R,Ml(O),q);if(O.$$typeof===_)return Ne(N,R,jl(N,O),q);Rl(N,O)}return typeof O=="string"&&O!==""||typeof O=="number"||typeof O=="bigint"?(O=""+O,R!==null&&R.tag===6?(a(N,R.sibling),q=o(R,O),q.return=N,N=q):(a(N,R),q=Go(O,N.mode,q),q.return=N,N=q),y(N)):a(N,R)}return function(N,R,O,q){try{ss=0;var ae=Ne(N,R,O,q);return oi=null,ae}catch(ne){if(ne===ri||ne===wl)throw ne;var Ee=At(29,ne,null,N.mode);return Ee.lanes=q,Ee.return=N,Ee}finally{}}}var Aa=Oh(!0),Lh=Oh(!1),Yn=!1;function Io(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function eu(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function Pn(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function Xn(e,t,a){var s=e.updateQueue;if(s===null)return null;if(s=s.shared,(Ae&2)!==0){var o=s.pending;return o===null?t.next=t:(t.next=o.next,o.next=t),s.pending=t,t=bl(e),yh(e,null,a),t}return xl(e,s,t,a),bl(e)}function rs(e,t,a){if(t=t.updateQueue,t!==null&&(t=t.shared,(a&4194048)!==0)){var s=t.lanes;s&=e.pendingLanes,a|=s,t.lanes=a,Ad(e,a)}}function tu(e,t){var a=e.updateQueue,s=e.alternate;if(s!==null&&(s=s.updateQueue,a===s)){var o=null,c=null;if(a=a.firstBaseUpdate,a!==null){do{var y={lane:a.lane,tag:a.tag,payload:a.payload,callback:null,next:null};c===null?o=c=y:c=c.next=y,a=a.next}while(a!==null);c===null?o=c=t:c=c.next=t}else o=c=t;a={baseState:s.baseState,firstBaseUpdate:o,lastBaseUpdate:c,shared:s.shared,callbacks:s.callbacks},e.updateQueue=a;return}e=a.lastBaseUpdate,e===null?a.firstBaseUpdate=t:e.next=t,a.lastBaseUpdate=t}var nu=!1;function os(){if(nu){var e=li;if(e!==null)throw e}}function us(e,t,a,s){nu=!1;var o=e.updateQueue;Yn=!1;var c=o.firstBaseUpdate,y=o.lastBaseUpdate,b=o.shared.pending;if(b!==null){o.shared.pending=null;var A=b,L=A.next;A.next=null,y===null?c=L:y.next=L,y=A;var H=e.alternate;H!==null&&(H=H.updateQueue,b=H.lastBaseUpdate,b!==y&&(b===null?H.firstBaseUpdate=L:b.next=L,H.lastBaseUpdate=A))}if(c!==null){var Y=o.baseState;y=0,H=L=A=null,b=c;do{var V=b.lane&-536870913,U=V!==b.lane;if(U?(ve&V)===V:(s&V)===V){V!==0&&V===si&&(nu=!0),H!==null&&(H=H.next={lane:0,tag:b.tag,payload:b.payload,callback:null,next:null});e:{var ee=e,se=b;V=t;var Ne=a;switch(se.tag){case 1:if(ee=se.payload,typeof ee=="function"){Y=ee.call(Ne,Y,V);break e}Y=ee;break e;case 3:ee.flags=ee.flags&-65537|128;case 0:if(ee=se.payload,V=typeof ee=="function"?ee.call(Ne,Y,V):ee,V==null)break e;Y=x({},Y,V);break e;case 2:Yn=!0}}V=b.callback,V!==null&&(e.flags|=64,U&&(e.flags|=8192),U=o.callbacks,U===null?o.callbacks=[V]:U.push(V))}else U={lane:V,tag:b.tag,payload:b.payload,callback:b.callback,next:null},H===null?(L=H=U,A=Y):H=H.next=U,y|=V;if(b=b.next,b===null){if(b=o.shared.pending,b===null)break;U=b,b=U.next,U.next=null,o.lastBaseUpdate=U,o.shared.pending=null}}while(!0);H===null&&(A=Y),o.baseState=A,o.firstBaseUpdate=L,o.lastBaseUpdate=H,c===null&&(o.shared.lanes=0),Jn|=y,e.lanes=y,e.memoizedState=Y}}function _h(e,t){if(typeof e!="function")throw Error(r(191,e));e.call(t)}function Vh(e,t){var a=e.callbacks;if(a!==null)for(e.callbacks=null,e=0;e<a.length;e++)_h(a[e],t)}var ui=w(null),Dl=w(0);function Uh(e,t){e=Cn,Q(Dl,e),Q(ui,t),Cn=e|t.baseLanes}function au(){Q(Dl,Cn),Q(ui,ui.current)}function iu(){Cn=Dl.current,B(ui),B(Dl)}var wt=w(null),Gt=null;function Kn(e){var t=e.alternate;Q(Ye,Ye.current&1),Q(wt,e),Gt===null&&(t===null||ui.current!==null||t.memoizedState!==null)&&(Gt=e)}function su(e){Q(Ye,Ye.current),Q(wt,e),Gt===null&&(Gt=e)}function Bh(e){e.tag===22?(Q(Ye,Ye.current),Q(wt,e),Gt===null&&(Gt=e)):Qn()}function Qn(){Q(Ye,Ye.current),Q(wt,wt.current)}function Ct(e){B(wt),Gt===e&&(Gt=null),B(Ye)}var Ye=w(0);function Nl(e){for(var t=e;t!==null;){if(t.tag===13){var a=t.memoizedState;if(a!==null&&(a=a.dehydrated,a===null||fc(a)||dc(a)))return t}else if(t.tag===19&&(t.memoizedProps.revealOrder==="forwards"||t.memoizedProps.revealOrder==="backwards"||t.memoizedProps.revealOrder==="unstable_legacy-backwards"||t.memoizedProps.revealOrder==="together")){if((t.flags&128)!==0)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var xn=0,fe=null,Re=null,Ke=null,zl=!1,ci=!1,wa=!1,Ol=0,cs=0,fi=null,Qx=0;function Ge(){throw Error(r(321))}function lu(e,t){if(t===null)return!1;for(var a=0;a<t.length&&a<e.length;a++)if(!jt(e[a],t[a]))return!1;return!0}function ru(e,t,a,s,o,c){return xn=c,fe=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,k.H=e===null||e.memoizedState===null?Sm:Tu,wa=!1,c=a(s,o),wa=!1,ci&&(c=Gh(t,a,s,o)),kh(e),c}function kh(e){k.H=hs;var t=Re!==null&&Re.next!==null;if(xn=0,Ke=Re=fe=null,zl=!1,cs=0,fi=null,t)throw Error(r(300));e===null||Qe||(e=e.dependencies,e!==null&&El(e)&&(Qe=!0))}function Gh(e,t,a,s){fe=e;var o=0;do{if(ci&&(fi=null),cs=0,ci=!1,25<=o)throw Error(r(301));if(o+=1,Ke=Re=null,e.updateQueue!=null){var c=e.updateQueue;c.lastEffect=null,c.events=null,c.stores=null,c.memoCache!=null&&(c.memoCache.index=0)}k.H=Tm,c=t(a,s)}while(ci);return c}function Zx(){var e=k.H,t=e.useState()[0];return t=typeof t.then=="function"?fs(t):t,e=e.useState()[0],(Re!==null?Re.memoizedState:null)!==e&&(fe.flags|=1024),t}function ou(){var e=Ol!==0;return Ol=0,e}function uu(e,t,a){t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~a}function cu(e){if(zl){for(e=e.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}zl=!1}xn=0,Ke=Re=fe=null,ci=!1,cs=Ol=0,fi=null}function ct(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Ke===null?fe.memoizedState=Ke=e:Ke=Ke.next=e,Ke}function Pe(){if(Re===null){var e=fe.alternate;e=e!==null?e.memoizedState:null}else e=Re.next;var t=Ke===null?fe.memoizedState:Ke.next;if(t!==null)Ke=t,Re=e;else{if(e===null)throw fe.alternate===null?Error(r(467)):Error(r(310));Re=e,e={memoizedState:Re.memoizedState,baseState:Re.baseState,baseQueue:Re.baseQueue,queue:Re.queue,next:null},Ke===null?fe.memoizedState=Ke=e:Ke=Ke.next=e}return Ke}function Ll(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function fs(e){var t=cs;return cs+=1,fi===null&&(fi=[]),e=Dh(fi,e,t),t=fe,(Ke===null?t.memoizedState:Ke.next)===null&&(t=t.alternate,k.H=t===null||t.memoizedState===null?Sm:Tu),e}function _l(e){if(e!==null&&typeof e=="object"){if(typeof e.then=="function")return fs(e);if(e.$$typeof===_)return at(e)}throw Error(r(438,String(e)))}function fu(e){var t=null,a=fe.updateQueue;if(a!==null&&(t=a.memoCache),t==null){var s=fe.alternate;s!==null&&(s=s.updateQueue,s!==null&&(s=s.memoCache,s!=null&&(t={data:s.data.map(function(o){return o.slice()}),index:0})))}if(t==null&&(t={data:[],index:0}),a===null&&(a=Ll(),fe.updateQueue=a),a.memoCache=t,a=t.data[t.index],a===void 0)for(a=t.data[t.index]=Array(e),s=0;s<e;s++)a[s]=W;return t.index++,a}function bn(e,t){return typeof t=="function"?t(e):t}function Vl(e){var t=Pe();return du(t,Re,e)}function du(e,t,a){var s=e.queue;if(s===null)throw Error(r(311));s.lastRenderedReducer=a;var o=e.baseQueue,c=s.pending;if(c!==null){if(o!==null){var y=o.next;o.next=c.next,c.next=y}t.baseQueue=o=c,s.pending=null}if(c=e.baseState,o===null)e.memoizedState=c;else{t=o.next;var b=y=null,A=null,L=t,H=!1;do{var Y=L.lane&-536870913;if(Y!==L.lane?(ve&Y)===Y:(xn&Y)===Y){var V=L.revertLane;if(V===0)A!==null&&(A=A.next={lane:0,revertLane:0,gesture:null,action:L.action,hasEagerState:L.hasEagerState,eagerState:L.eagerState,next:null}),Y===si&&(H=!0);else if((xn&V)===V){L=L.next,V===si&&(H=!0);continue}else Y={lane:0,revertLane:L.revertLane,gesture:null,action:L.action,hasEagerState:L.hasEagerState,eagerState:L.eagerState,next:null},A===null?(b=A=Y,y=c):A=A.next=Y,fe.lanes|=V,Jn|=V;Y=L.action,wa&&a(c,Y),c=L.hasEagerState?L.eagerState:a(c,Y)}else V={lane:Y,revertLane:L.revertLane,gesture:L.gesture,action:L.action,hasEagerState:L.hasEagerState,eagerState:L.eagerState,next:null},A===null?(b=A=V,y=c):A=A.next=V,fe.lanes|=Y,Jn|=Y;L=L.next}while(L!==null&&L!==t);if(A===null?y=c:A.next=b,!jt(c,e.memoizedState)&&(Qe=!0,H&&(a=li,a!==null)))throw a;e.memoizedState=c,e.baseState=y,e.baseQueue=A,s.lastRenderedState=c}return o===null&&(s.lanes=0),[e.memoizedState,s.dispatch]}function hu(e){var t=Pe(),a=t.queue;if(a===null)throw Error(r(311));a.lastRenderedReducer=e;var s=a.dispatch,o=a.pending,c=t.memoizedState;if(o!==null){a.pending=null;var y=o=o.next;do c=e(c,y.action),y=y.next;while(y!==o);jt(c,t.memoizedState)||(Qe=!0),t.memoizedState=c,t.baseQueue===null&&(t.baseState=c),a.lastRenderedState=c}return[c,s]}function Hh(e,t,a){var s=fe,o=Pe(),c=be;if(c){if(a===void 0)throw Error(r(407));a=a()}else a=t();var y=!jt((Re||o).memoizedState,a);if(y&&(o.memoizedState=a,Qe=!0),o=o.queue,gu(Ph.bind(null,s,o,e),[e]),o.getSnapshot!==t||y||Ke!==null&&Ke.memoizedState.tag&1){if(s.flags|=2048,di(9,{destroy:void 0},Yh.bind(null,s,o,a,t),null),ze===null)throw Error(r(349));c||(xn&127)!==0||qh(s,t,a)}return a}function qh(e,t,a){e.flags|=16384,e={getSnapshot:t,value:a},t=fe.updateQueue,t===null?(t=Ll(),fe.updateQueue=t,t.stores=[e]):(a=t.stores,a===null?t.stores=[e]:a.push(e))}function Yh(e,t,a,s){t.value=a,t.getSnapshot=s,Xh(t)&&Kh(e)}function Ph(e,t,a){return a(function(){Xh(t)&&Kh(e)})}function Xh(e){var t=e.getSnapshot;e=e.value;try{var a=t();return!jt(e,a)}catch{return!0}}function Kh(e){var t=ya(e,2);t!==null&&xt(t,e,2)}function mu(e){var t=ct();if(typeof e=="function"){var a=e;if(e=a(),wa){Vn(!0);try{a()}finally{Vn(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:bn,lastRenderedState:e},t}function Qh(e,t,a,s){return e.baseState=a,du(e,Re,typeof s=="function"?s:bn)}function Fx(e,t,a,s,o){if(kl(e))throw Error(r(485));if(e=t.action,e!==null){var c={payload:o,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(y){c.listeners.push(y)}};k.T!==null?a(!0):c.isTransition=!1,s(c),a=t.pending,a===null?(c.next=t.pending=c,Zh(t,c)):(c.next=a.next,t.pending=a.next=c)}}function Zh(e,t){var a=t.action,s=t.payload,o=e.state;if(t.isTransition){var c=k.T,y={};k.T=y;try{var b=a(o,s),A=k.S;A!==null&&A(y,b),Fh(e,t,b)}catch(L){pu(e,t,L)}finally{c!==null&&y.types!==null&&(c.types=y.types),k.T=c}}else try{c=a(o,s),Fh(e,t,c)}catch(L){pu(e,t,L)}}function Fh(e,t,a){a!==null&&typeof a=="object"&&typeof a.then=="function"?a.then(function(s){Jh(e,t,s)},function(s){return pu(e,t,s)}):Jh(e,t,a)}function Jh(e,t,a){t.status="fulfilled",t.value=a,Wh(t),e.state=a,t=e.pending,t!==null&&(a=t.next,a===t?e.pending=null:(a=a.next,t.next=a,Zh(e,a)))}function pu(e,t,a){var s=e.pending;if(e.pending=null,s!==null){s=s.next;do t.status="rejected",t.reason=a,Wh(t),t=t.next;while(t!==s)}e.action=null}function Wh(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function $h(e,t){return t}function Ih(e,t){if(be){var a=ze.formState;if(a!==null){e:{var s=fe;if(be){if(Ve){t:{for(var o=Ve,c=kt;o.nodeType!==8;){if(!c){o=null;break t}if(o=Ht(o.nextSibling),o===null){o=null;break t}}c=o.data,o=c==="F!"||c==="F"?o:null}if(o){Ve=Ht(o.nextSibling),s=o.data==="F!";break e}}Hn(s)}s=!1}s&&(t=a[0])}}return a=ct(),a.memoizedState=a.baseState=t,s={pending:null,lanes:0,dispatch:null,lastRenderedReducer:$h,lastRenderedState:t},a.queue=s,a=vm.bind(null,fe,s),s.dispatch=a,s=mu(!1),c=Su.bind(null,fe,!1,s.queue),s=ct(),o={state:t,dispatch:null,action:e,pending:null},s.queue=o,a=Fx.bind(null,fe,o,c,a),o.dispatch=a,s.memoizedState=e,[t,a,!1]}function em(e){var t=Pe();return tm(t,Re,e)}function tm(e,t,a){if(t=du(e,t,$h)[0],e=Vl(bn)[0],typeof t=="object"&&t!==null&&typeof t.then=="function")try{var s=fs(t)}catch(y){throw y===ri?wl:y}else s=t;t=Pe();var o=t.queue,c=o.dispatch;return a!==t.memoizedState&&(fe.flags|=2048,di(9,{destroy:void 0},Jx.bind(null,o,a),null)),[s,c,e]}function Jx(e,t){e.action=t}function nm(e){var t=Pe(),a=Re;if(a!==null)return tm(t,a,e);Pe(),t=t.memoizedState,a=Pe();var s=a.queue.dispatch;return a.memoizedState=e,[t,s,!1]}function di(e,t,a,s){return e={tag:e,create:a,deps:s,inst:t,next:null},t=fe.updateQueue,t===null&&(t=Ll(),fe.updateQueue=t),a=t.lastEffect,a===null?t.lastEffect=e.next=e:(s=a.next,a.next=e,e.next=s,t.lastEffect=e),e}function am(){return Pe().memoizedState}function Ul(e,t,a,s){var o=ct();fe.flags|=e,o.memoizedState=di(1|t,{destroy:void 0},a,s===void 0?null:s)}function Bl(e,t,a,s){var o=Pe();s=s===void 0?null:s;var c=o.memoizedState.inst;Re!==null&&s!==null&&lu(s,Re.memoizedState.deps)?o.memoizedState=di(t,c,a,s):(fe.flags|=e,o.memoizedState=di(1|t,c,a,s))}function im(e,t){Ul(8390656,8,e,t)}function gu(e,t){Bl(2048,8,e,t)}function Wx(e){fe.flags|=4;var t=fe.updateQueue;if(t===null)t=Ll(),fe.updateQueue=t,t.events=[e];else{var a=t.events;a===null?t.events=[e]:a.push(e)}}function sm(e){var t=Pe().memoizedState;return Wx({ref:t,nextImpl:e}),function(){if((Ae&2)!==0)throw Error(r(440));return t.impl.apply(void 0,arguments)}}function lm(e,t){return Bl(4,2,e,t)}function rm(e,t){return Bl(4,4,e,t)}function om(e,t){if(typeof t=="function"){e=e();var a=t(e);return function(){typeof a=="function"?a():t(null)}}if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function um(e,t,a){a=a!=null?a.concat([e]):null,Bl(4,4,om.bind(null,t,e),a)}function yu(){}function cm(e,t){var a=Pe();t=t===void 0?null:t;var s=a.memoizedState;return t!==null&&lu(t,s[1])?s[0]:(a.memoizedState=[e,t],e)}function fm(e,t){var a=Pe();t=t===void 0?null:t;var s=a.memoizedState;if(t!==null&&lu(t,s[1]))return s[0];if(s=e(),wa){Vn(!0);try{e()}finally{Vn(!1)}}return a.memoizedState=[s,t],s}function vu(e,t,a){return a===void 0||(xn&1073741824)!==0&&(ve&261930)===0?e.memoizedState=t:(e.memoizedState=a,e=dp(),fe.lanes|=e,Jn|=e,a)}function dm(e,t,a,s){return jt(a,t)?a:ui.current!==null?(e=vu(e,a,s),jt(e,t)||(Qe=!0),e):(xn&42)===0||(xn&1073741824)!==0&&(ve&261930)===0?(Qe=!0,e.memoizedState=a):(e=dp(),fe.lanes|=e,Jn|=e,t)}function hm(e,t,a,s,o){var c=Z.p;Z.p=c!==0&&8>c?c:8;var y=k.T,b={};k.T=b,Su(e,!1,t,a);try{var A=o(),L=k.S;if(L!==null&&L(b,A),A!==null&&typeof A=="object"&&typeof A.then=="function"){var H=Kx(A,s);ds(e,t,H,Dt(e))}else ds(e,t,s,Dt(e))}catch(Y){ds(e,t,{then:function(){},status:"rejected",reason:Y},Dt())}finally{Z.p=c,y!==null&&b.types!==null&&(y.types=b.types),k.T=y}}function $x(){}function xu(e,t,a,s){if(e.tag!==5)throw Error(r(476));var o=mm(e).queue;hm(e,o,t,J,a===null?$x:function(){return pm(e),a(s)})}function mm(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:J,baseState:J,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:bn,lastRenderedState:J},next:null};var a={};return t.next={memoizedState:a,baseState:a,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:bn,lastRenderedState:a},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function pm(e){var t=mm(e);t.next===null&&(t=e.alternate.memoizedState),ds(e,t.next.queue,{},Dt())}function bu(){return at(Rs)}function gm(){return Pe().memoizedState}function ym(){return Pe().memoizedState}function Ix(e){for(var t=e.return;t!==null;){switch(t.tag){case 24:case 3:var a=Dt();e=Pn(a);var s=Xn(t,e,a);s!==null&&(xt(s,t,a),rs(s,t,a)),t={cache:Fo()},e.payload=t;return}t=t.return}}function eb(e,t,a){var s=Dt();a={lane:s,revertLane:0,gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null},kl(e)?xm(t,a):(a=Bo(e,t,a,s),a!==null&&(xt(a,e,s),bm(a,t,s)))}function vm(e,t,a){var s=Dt();ds(e,t,a,s)}function ds(e,t,a,s){var o={lane:s,revertLane:0,gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null};if(kl(e))xm(t,o);else{var c=e.alternate;if(e.lanes===0&&(c===null||c.lanes===0)&&(c=t.lastRenderedReducer,c!==null))try{var y=t.lastRenderedState,b=c(y,a);if(o.hasEagerState=!0,o.eagerState=b,jt(b,y))return xl(e,t,o,0),ze===null&&vl(),!1}catch{}finally{}if(a=Bo(e,t,o,s),a!==null)return xt(a,e,s),bm(a,t,s),!0}return!1}function Su(e,t,a,s){if(s={lane:2,revertLane:Iu(),gesture:null,action:s,hasEagerState:!1,eagerState:null,next:null},kl(e)){if(t)throw Error(r(479))}else t=Bo(e,a,s,2),t!==null&&xt(t,e,2)}function kl(e){var t=e.alternate;return e===fe||t!==null&&t===fe}function xm(e,t){ci=zl=!0;var a=e.pending;a===null?t.next=t:(t.next=a.next,a.next=t),e.pending=t}function bm(e,t,a){if((a&4194048)!==0){var s=t.lanes;s&=e.pendingLanes,a|=s,t.lanes=a,Ad(e,a)}}var hs={readContext:at,use:_l,useCallback:Ge,useContext:Ge,useEffect:Ge,useImperativeHandle:Ge,useLayoutEffect:Ge,useInsertionEffect:Ge,useMemo:Ge,useReducer:Ge,useRef:Ge,useState:Ge,useDebugValue:Ge,useDeferredValue:Ge,useTransition:Ge,useSyncExternalStore:Ge,useId:Ge,useHostTransitionStatus:Ge,useFormState:Ge,useActionState:Ge,useOptimistic:Ge,useMemoCache:Ge,useCacheRefresh:Ge};hs.useEffectEvent=Ge;var Sm={readContext:at,use:_l,useCallback:function(e,t){return ct().memoizedState=[e,t===void 0?null:t],e},useContext:at,useEffect:im,useImperativeHandle:function(e,t,a){a=a!=null?a.concat([e]):null,Ul(4194308,4,om.bind(null,t,e),a)},useLayoutEffect:function(e,t){return Ul(4194308,4,e,t)},useInsertionEffect:function(e,t){Ul(4,2,e,t)},useMemo:function(e,t){var a=ct();t=t===void 0?null:t;var s=e();if(wa){Vn(!0);try{e()}finally{Vn(!1)}}return a.memoizedState=[s,t],s},useReducer:function(e,t,a){var s=ct();if(a!==void 0){var o=a(t);if(wa){Vn(!0);try{a(t)}finally{Vn(!1)}}}else o=t;return s.memoizedState=s.baseState=o,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:o},s.queue=e,e=e.dispatch=eb.bind(null,fe,e),[s.memoizedState,e]},useRef:function(e){var t=ct();return e={current:e},t.memoizedState=e},useState:function(e){e=mu(e);var t=e.queue,a=vm.bind(null,fe,t);return t.dispatch=a,[e.memoizedState,a]},useDebugValue:yu,useDeferredValue:function(e,t){var a=ct();return vu(a,e,t)},useTransition:function(){var e=mu(!1);return e=hm.bind(null,fe,e.queue,!0,!1),ct().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,a){var s=fe,o=ct();if(be){if(a===void 0)throw Error(r(407));a=a()}else{if(a=t(),ze===null)throw Error(r(349));(ve&127)!==0||qh(s,t,a)}o.memoizedState=a;var c={value:a,getSnapshot:t};return o.queue=c,im(Ph.bind(null,s,c,e),[e]),s.flags|=2048,di(9,{destroy:void 0},Yh.bind(null,s,c,a,t),null),a},useId:function(){var e=ct(),t=ze.identifierPrefix;if(be){var a=nn,s=tn;a=(s&~(1<<32-Et(s)-1)).toString(32)+a,t="_"+t+"R_"+a,a=Ol++,0<a&&(t+="H"+a.toString(32)),t+="_"}else a=Qx++,t="_"+t+"r_"+a.toString(32)+"_";return e.memoizedState=t},useHostTransitionStatus:bu,useFormState:Ih,useActionState:Ih,useOptimistic:function(e){var t=ct();t.memoizedState=t.baseState=e;var a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=a,t=Su.bind(null,fe,!0,a),a.dispatch=t,[e,t]},useMemoCache:fu,useCacheRefresh:function(){return ct().memoizedState=Ix.bind(null,fe)},useEffectEvent:function(e){var t=ct(),a={impl:e};return t.memoizedState=a,function(){if((Ae&2)!==0)throw Error(r(440));return a.impl.apply(void 0,arguments)}}},Tu={readContext:at,use:_l,useCallback:cm,useContext:at,useEffect:gu,useImperativeHandle:um,useInsertionEffect:lm,useLayoutEffect:rm,useMemo:fm,useReducer:Vl,useRef:am,useState:function(){return Vl(bn)},useDebugValue:yu,useDeferredValue:function(e,t){var a=Pe();return dm(a,Re.memoizedState,e,t)},useTransition:function(){var e=Vl(bn)[0],t=Pe().memoizedState;return[typeof e=="boolean"?e:fs(e),t]},useSyncExternalStore:Hh,useId:gm,useHostTransitionStatus:bu,useFormState:em,useActionState:em,useOptimistic:function(e,t){var a=Pe();return Qh(a,Re,e,t)},useMemoCache:fu,useCacheRefresh:ym};Tu.useEffectEvent=sm;var Tm={readContext:at,use:_l,useCallback:cm,useContext:at,useEffect:gu,useImperativeHandle:um,useInsertionEffect:lm,useLayoutEffect:rm,useMemo:fm,useReducer:hu,useRef:am,useState:function(){return hu(bn)},useDebugValue:yu,useDeferredValue:function(e,t){var a=Pe();return Re===null?vu(a,e,t):dm(a,Re.memoizedState,e,t)},useTransition:function(){var e=hu(bn)[0],t=Pe().memoizedState;return[typeof e=="boolean"?e:fs(e),t]},useSyncExternalStore:Hh,useId:gm,useHostTransitionStatus:bu,useFormState:nm,useActionState:nm,useOptimistic:function(e,t){var a=Pe();return Re!==null?Qh(a,Re,e,t):(a.baseState=e,[e,a.queue.dispatch])},useMemoCache:fu,useCacheRefresh:ym};Tm.useEffectEvent=sm;function Eu(e,t,a,s){t=e.memoizedState,a=a(s,t),a=a==null?t:x({},t,a),e.memoizedState=a,e.lanes===0&&(e.updateQueue.baseState=a)}var ju={enqueueSetState:function(e,t,a){e=e._reactInternals;var s=Dt(),o=Pn(s);o.payload=t,a!=null&&(o.callback=a),t=Xn(e,o,s),t!==null&&(xt(t,e,s),rs(t,e,s))},enqueueReplaceState:function(e,t,a){e=e._reactInternals;var s=Dt(),o=Pn(s);o.tag=1,o.payload=t,a!=null&&(o.callback=a),t=Xn(e,o,s),t!==null&&(xt(t,e,s),rs(t,e,s))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var a=Dt(),s=Pn(a);s.tag=2,t!=null&&(s.callback=t),t=Xn(e,s,a),t!==null&&(xt(t,e,a),rs(t,e,a))}};function Em(e,t,a,s,o,c,y){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(s,c,y):t.prototype&&t.prototype.isPureReactComponent?!Ii(a,s)||!Ii(o,c):!0}function jm(e,t,a,s){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(a,s),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(a,s),t.state!==e&&ju.enqueueReplaceState(t,t.state,null)}function Ca(e,t){var a=t;if("ref"in t){a={};for(var s in t)s!=="ref"&&(a[s]=t[s])}if(e=e.defaultProps){a===t&&(a=x({},a));for(var o in e)a[o]===void 0&&(a[o]=e[o])}return a}function Am(e){yl(e)}function wm(e){console.error(e)}function Cm(e){yl(e)}function Gl(e,t){try{var a=e.onUncaughtError;a(t.value,{componentStack:t.stack})}catch(s){setTimeout(function(){throw s})}}function Mm(e,t,a){try{var s=e.onCaughtError;s(a.value,{componentStack:a.stack,errorBoundary:t.tag===1?t.stateNode:null})}catch(o){setTimeout(function(){throw o})}}function Au(e,t,a){return a=Pn(a),a.tag=3,a.payload={element:null},a.callback=function(){Gl(e,t)},a}function Rm(e){return e=Pn(e),e.tag=3,e}function Dm(e,t,a,s){var o=a.type.getDerivedStateFromError;if(typeof o=="function"){var c=s.value;e.payload=function(){return o(c)},e.callback=function(){Mm(t,a,s)}}var y=a.stateNode;y!==null&&typeof y.componentDidCatch=="function"&&(e.callback=function(){Mm(t,a,s),typeof o!="function"&&(Wn===null?Wn=new Set([this]):Wn.add(this));var b=s.stack;this.componentDidCatch(s.value,{componentStack:b!==null?b:""})})}function tb(e,t,a,s,o){if(a.flags|=32768,s!==null&&typeof s=="object"&&typeof s.then=="function"){if(t=a.alternate,t!==null&&ii(t,a,o,!0),a=wt.current,a!==null){switch(a.tag){case 31:case 13:return Gt===null?$l():a.alternate===null&&He===0&&(He=3),a.flags&=-257,a.flags|=65536,a.lanes=o,s===Cl?a.flags|=16384:(t=a.updateQueue,t===null?a.updateQueue=new Set([s]):t.add(s),Ju(e,s,o)),!1;case 22:return a.flags|=65536,s===Cl?a.flags|=16384:(t=a.updateQueue,t===null?(t={transitions:null,markerInstances:null,retryQueue:new Set([s])},a.updateQueue=t):(a=t.retryQueue,a===null?t.retryQueue=new Set([s]):a.add(s)),Ju(e,s,o)),!1}throw Error(r(435,a.tag))}return Ju(e,s,o),$l(),!1}if(be)return t=wt.current,t!==null?((t.flags&65536)===0&&(t.flags|=256),t.flags|=65536,t.lanes=o,s!==Po&&(e=Error(r(422),{cause:s}),ns(Vt(e,a)))):(s!==Po&&(t=Error(r(423),{cause:s}),ns(Vt(t,a))),e=e.current.alternate,e.flags|=65536,o&=-o,e.lanes|=o,s=Vt(s,a),o=Au(e.stateNode,s,o),tu(e,o),He!==4&&(He=2)),!1;var c=Error(r(520),{cause:s});if(c=Vt(c,a),Ss===null?Ss=[c]:Ss.push(c),He!==4&&(He=2),t===null)return!0;s=Vt(s,a),a=t;do{switch(a.tag){case 3:return a.flags|=65536,e=o&-o,a.lanes|=e,e=Au(a.stateNode,s,e),tu(a,e),!1;case 1:if(t=a.type,c=a.stateNode,(a.flags&128)===0&&(typeof t.getDerivedStateFromError=="function"||c!==null&&typeof c.componentDidCatch=="function"&&(Wn===null||!Wn.has(c))))return a.flags|=65536,o&=-o,a.lanes|=o,o=Rm(o),Dm(o,e,a,s),tu(a,o),!1}a=a.return}while(a!==null);return!1}var wu=Error(r(461)),Qe=!1;function it(e,t,a,s){t.child=e===null?Lh(t,null,a,s):Aa(t,e.child,a,s)}function Nm(e,t,a,s,o){a=a.render;var c=t.ref;if("ref"in s){var y={};for(var b in s)b!=="ref"&&(y[b]=s[b])}else y=s;return Sa(t),s=ru(e,t,a,y,c,o),b=ou(),e!==null&&!Qe?(uu(e,t,o),Sn(e,t,o)):(be&&b&&qo(t),t.flags|=1,it(e,t,s,o),t.child)}function zm(e,t,a,s,o){if(e===null){var c=a.type;return typeof c=="function"&&!ko(c)&&c.defaultProps===void 0&&a.compare===null?(t.tag=15,t.type=c,Om(e,t,c,s,o)):(e=Sl(a.type,null,s,t,t.mode,o),e.ref=t.ref,e.return=t,t.child=e)}if(c=e.child,!Lu(e,o)){var y=c.memoizedProps;if(a=a.compare,a=a!==null?a:Ii,a(y,s)&&e.ref===t.ref)return Sn(e,t,o)}return t.flags|=1,e=pn(c,s),e.ref=t.ref,e.return=t,t.child=e}function Om(e,t,a,s,o){if(e!==null){var c=e.memoizedProps;if(Ii(c,s)&&e.ref===t.ref)if(Qe=!1,t.pendingProps=s=c,Lu(e,o))(e.flags&131072)!==0&&(Qe=!0);else return t.lanes=e.lanes,Sn(e,t,o)}return Cu(e,t,a,s,o)}function Lm(e,t,a,s){var o=s.children,c=e!==null?e.memoizedState:null;if(e===null&&t.stateNode===null&&(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),s.mode==="hidden"){if((t.flags&128)!==0){if(c=c!==null?c.baseLanes|a:a,e!==null){for(s=t.child=e.child,o=0;s!==null;)o=o|s.lanes|s.childLanes,s=s.sibling;s=o&~c}else s=0,t.child=null;return _m(e,t,c,a,s)}if((a&536870912)!==0)t.memoizedState={baseLanes:0,cachePool:null},e!==null&&Al(t,c!==null?c.cachePool:null),c!==null?Uh(t,c):au(),Bh(t);else return s=t.lanes=536870912,_m(e,t,c!==null?c.baseLanes|a:a,a,s)}else c!==null?(Al(t,c.cachePool),Uh(t,c),Qn(),t.memoizedState=null):(e!==null&&Al(t,null),au(),Qn());return it(e,t,o,a),t.child}function ms(e,t){return e!==null&&e.tag===22||t.stateNode!==null||(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),t.sibling}function _m(e,t,a,s,o){var c=Wo();return c=c===null?null:{parent:Xe._currentValue,pool:c},t.memoizedState={baseLanes:a,cachePool:c},e!==null&&Al(t,null),au(),Bh(t),e!==null&&ii(e,t,s,!0),t.childLanes=o,null}function Hl(e,t){return t=Yl({mode:t.mode,children:t.children},e.mode),t.ref=e.ref,e.child=t,t.return=e,t}function Vm(e,t,a){return Aa(t,e.child,null,a),e=Hl(t,t.pendingProps),e.flags|=2,Ct(t),t.memoizedState=null,e}function nb(e,t,a){var s=t.pendingProps,o=(t.flags&128)!==0;if(t.flags&=-129,e===null){if(be){if(s.mode==="hidden")return e=Hl(t,s),t.lanes=536870912,ms(null,e);if(su(t),(e=Ve)?(e=Zp(e,kt),e=e!==null&&e.data==="&"?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:kn!==null?{id:tn,overflow:nn}:null,retryLane:536870912,hydrationErrors:null},a=xh(e),a.return=t,t.child=a,nt=t,Ve=null)):e=null,e===null)throw Hn(t);return t.lanes=536870912,null}return Hl(t,s)}var c=e.memoizedState;if(c!==null){var y=c.dehydrated;if(su(t),o)if(t.flags&256)t.flags&=-257,t=Vm(e,t,a);else if(t.memoizedState!==null)t.child=e.child,t.flags|=128,t=null;else throw Error(r(558));else if(Qe||ii(e,t,a,!1),o=(a&e.childLanes)!==0,Qe||o){if(s=ze,s!==null&&(y=wd(s,a),y!==0&&y!==c.retryLane))throw c.retryLane=y,ya(e,y),xt(s,e,y),wu;$l(),t=Vm(e,t,a)}else e=c.treeContext,Ve=Ht(y.nextSibling),nt=t,be=!0,Gn=null,kt=!1,e!==null&&Th(t,e),t=Hl(t,s),t.flags|=4096;return t}return e=pn(e.child,{mode:s.mode,children:s.children}),e.ref=t.ref,t.child=e,e.return=t,e}function ql(e,t){var a=t.ref;if(a===null)e!==null&&e.ref!==null&&(t.flags|=4194816);else{if(typeof a!="function"&&typeof a!="object")throw Error(r(284));(e===null||e.ref!==a)&&(t.flags|=4194816)}}function Cu(e,t,a,s,o){return Sa(t),a=ru(e,t,a,s,void 0,o),s=ou(),e!==null&&!Qe?(uu(e,t,o),Sn(e,t,o)):(be&&s&&qo(t),t.flags|=1,it(e,t,a,o),t.child)}function Um(e,t,a,s,o,c){return Sa(t),t.updateQueue=null,a=Gh(t,s,a,o),kh(e),s=ou(),e!==null&&!Qe?(uu(e,t,c),Sn(e,t,c)):(be&&s&&qo(t),t.flags|=1,it(e,t,a,c),t.child)}function Bm(e,t,a,s,o){if(Sa(t),t.stateNode===null){var c=ei,y=a.contextType;typeof y=="object"&&y!==null&&(c=at(y)),c=new a(s,c),t.memoizedState=c.state!==null&&c.state!==void 0?c.state:null,c.updater=ju,t.stateNode=c,c._reactInternals=t,c=t.stateNode,c.props=s,c.state=t.memoizedState,c.refs={},Io(t),y=a.contextType,c.context=typeof y=="object"&&y!==null?at(y):ei,c.state=t.memoizedState,y=a.getDerivedStateFromProps,typeof y=="function"&&(Eu(t,a,y,s),c.state=t.memoizedState),typeof a.getDerivedStateFromProps=="function"||typeof c.getSnapshotBeforeUpdate=="function"||typeof c.UNSAFE_componentWillMount!="function"&&typeof c.componentWillMount!="function"||(y=c.state,typeof c.componentWillMount=="function"&&c.componentWillMount(),typeof c.UNSAFE_componentWillMount=="function"&&c.UNSAFE_componentWillMount(),y!==c.state&&ju.enqueueReplaceState(c,c.state,null),us(t,s,c,o),os(),c.state=t.memoizedState),typeof c.componentDidMount=="function"&&(t.flags|=4194308),s=!0}else if(e===null){c=t.stateNode;var b=t.memoizedProps,A=Ca(a,b);c.props=A;var L=c.context,H=a.contextType;y=ei,typeof H=="object"&&H!==null&&(y=at(H));var Y=a.getDerivedStateFromProps;H=typeof Y=="function"||typeof c.getSnapshotBeforeUpdate=="function",b=t.pendingProps!==b,H||typeof c.UNSAFE_componentWillReceiveProps!="function"&&typeof c.componentWillReceiveProps!="function"||(b||L!==y)&&jm(t,c,s,y),Yn=!1;var V=t.memoizedState;c.state=V,us(t,s,c,o),os(),L=t.memoizedState,b||V!==L||Yn?(typeof Y=="function"&&(Eu(t,a,Y,s),L=t.memoizedState),(A=Yn||Em(t,a,A,s,V,L,y))?(H||typeof c.UNSAFE_componentWillMount!="function"&&typeof c.componentWillMount!="function"||(typeof c.componentWillMount=="function"&&c.componentWillMount(),typeof c.UNSAFE_componentWillMount=="function"&&c.UNSAFE_componentWillMount()),typeof c.componentDidMount=="function"&&(t.flags|=4194308)):(typeof c.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=s,t.memoizedState=L),c.props=s,c.state=L,c.context=y,s=A):(typeof c.componentDidMount=="function"&&(t.flags|=4194308),s=!1)}else{c=t.stateNode,eu(e,t),y=t.memoizedProps,H=Ca(a,y),c.props=H,Y=t.pendingProps,V=c.context,L=a.contextType,A=ei,typeof L=="object"&&L!==null&&(A=at(L)),b=a.getDerivedStateFromProps,(L=typeof b=="function"||typeof c.getSnapshotBeforeUpdate=="function")||typeof c.UNSAFE_componentWillReceiveProps!="function"&&typeof c.componentWillReceiveProps!="function"||(y!==Y||V!==A)&&jm(t,c,s,A),Yn=!1,V=t.memoizedState,c.state=V,us(t,s,c,o),os();var U=t.memoizedState;y!==Y||V!==U||Yn||e!==null&&e.dependencies!==null&&El(e.dependencies)?(typeof b=="function"&&(Eu(t,a,b,s),U=t.memoizedState),(H=Yn||Em(t,a,H,s,V,U,A)||e!==null&&e.dependencies!==null&&El(e.dependencies))?(L||typeof c.UNSAFE_componentWillUpdate!="function"&&typeof c.componentWillUpdate!="function"||(typeof c.componentWillUpdate=="function"&&c.componentWillUpdate(s,U,A),typeof c.UNSAFE_componentWillUpdate=="function"&&c.UNSAFE_componentWillUpdate(s,U,A)),typeof c.componentDidUpdate=="function"&&(t.flags|=4),typeof c.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof c.componentDidUpdate!="function"||y===e.memoizedProps&&V===e.memoizedState||(t.flags|=4),typeof c.getSnapshotBeforeUpdate!="function"||y===e.memoizedProps&&V===e.memoizedState||(t.flags|=1024),t.memoizedProps=s,t.memoizedState=U),c.props=s,c.state=U,c.context=A,s=H):(typeof c.componentDidUpdate!="function"||y===e.memoizedProps&&V===e.memoizedState||(t.flags|=4),typeof c.getSnapshotBeforeUpdate!="function"||y===e.memoizedProps&&V===e.memoizedState||(t.flags|=1024),s=!1)}return c=s,ql(e,t),s=(t.flags&128)!==0,c||s?(c=t.stateNode,a=s&&typeof a.getDerivedStateFromError!="function"?null:c.render(),t.flags|=1,e!==null&&s?(t.child=Aa(t,e.child,null,o),t.child=Aa(t,null,a,o)):it(e,t,a,o),t.memoizedState=c.state,e=t.child):e=Sn(e,t,o),e}function km(e,t,a,s){return xa(),t.flags|=256,it(e,t,a,s),t.child}var Mu={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function Ru(e){return{baseLanes:e,cachePool:Mh()}}function Du(e,t,a){return e=e!==null?e.childLanes&~a:0,t&&(e|=Rt),e}function Gm(e,t,a){var s=t.pendingProps,o=!1,c=(t.flags&128)!==0,y;if((y=c)||(y=e!==null&&e.memoizedState===null?!1:(Ye.current&2)!==0),y&&(o=!0,t.flags&=-129),y=(t.flags&32)!==0,t.flags&=-33,e===null){if(be){if(o?Kn(t):Qn(),(e=Ve)?(e=Zp(e,kt),e=e!==null&&e.data!=="&"?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:kn!==null?{id:tn,overflow:nn}:null,retryLane:536870912,hydrationErrors:null},a=xh(e),a.return=t,t.child=a,nt=t,Ve=null)):e=null,e===null)throw Hn(t);return dc(e)?t.lanes=32:t.lanes=536870912,null}var b=s.children;return s=s.fallback,o?(Qn(),o=t.mode,b=Yl({mode:"hidden",children:b},o),s=va(s,o,a,null),b.return=t,s.return=t,b.sibling=s,t.child=b,s=t.child,s.memoizedState=Ru(a),s.childLanes=Du(e,y,a),t.memoizedState=Mu,ms(null,s)):(Kn(t),Nu(t,b))}var A=e.memoizedState;if(A!==null&&(b=A.dehydrated,b!==null)){if(c)t.flags&256?(Kn(t),t.flags&=-257,t=zu(e,t,a)):t.memoizedState!==null?(Qn(),t.child=e.child,t.flags|=128,t=null):(Qn(),b=s.fallback,o=t.mode,s=Yl({mode:"visible",children:s.children},o),b=va(b,o,a,null),b.flags|=2,s.return=t,b.return=t,s.sibling=b,t.child=s,Aa(t,e.child,null,a),s=t.child,s.memoizedState=Ru(a),s.childLanes=Du(e,y,a),t.memoizedState=Mu,t=ms(null,s));else if(Kn(t),dc(b)){if(y=b.nextSibling&&b.nextSibling.dataset,y)var L=y.dgst;y=L,s=Error(r(419)),s.stack="",s.digest=y,ns({value:s,source:null,stack:null}),t=zu(e,t,a)}else if(Qe||ii(e,t,a,!1),y=(a&e.childLanes)!==0,Qe||y){if(y=ze,y!==null&&(s=wd(y,a),s!==0&&s!==A.retryLane))throw A.retryLane=s,ya(e,s),xt(y,e,s),wu;fc(b)||$l(),t=zu(e,t,a)}else fc(b)?(t.flags|=192,t.child=e.child,t=null):(e=A.treeContext,Ve=Ht(b.nextSibling),nt=t,be=!0,Gn=null,kt=!1,e!==null&&Th(t,e),t=Nu(t,s.children),t.flags|=4096);return t}return o?(Qn(),b=s.fallback,o=t.mode,A=e.child,L=A.sibling,s=pn(A,{mode:"hidden",children:s.children}),s.subtreeFlags=A.subtreeFlags&65011712,L!==null?b=pn(L,b):(b=va(b,o,a,null),b.flags|=2),b.return=t,s.return=t,s.sibling=b,t.child=s,ms(null,s),s=t.child,b=e.child.memoizedState,b===null?b=Ru(a):(o=b.cachePool,o!==null?(A=Xe._currentValue,o=o.parent!==A?{parent:A,pool:A}:o):o=Mh(),b={baseLanes:b.baseLanes|a,cachePool:o}),s.memoizedState=b,s.childLanes=Du(e,y,a),t.memoizedState=Mu,ms(e.child,s)):(Kn(t),a=e.child,e=a.sibling,a=pn(a,{mode:"visible",children:s.children}),a.return=t,a.sibling=null,e!==null&&(y=t.deletions,y===null?(t.deletions=[e],t.flags|=16):y.push(e)),t.child=a,t.memoizedState=null,a)}function Nu(e,t){return t=Yl({mode:"visible",children:t},e.mode),t.return=e,e.child=t}function Yl(e,t){return e=At(22,e,null,t),e.lanes=0,e}function zu(e,t,a){return Aa(t,e.child,null,a),e=Nu(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function Hm(e,t,a){e.lanes|=t;var s=e.alternate;s!==null&&(s.lanes|=t),Qo(e.return,t,a)}function Ou(e,t,a,s,o,c){var y=e.memoizedState;y===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:s,tail:a,tailMode:o,treeForkCount:c}:(y.isBackwards=t,y.rendering=null,y.renderingStartTime=0,y.last=s,y.tail=a,y.tailMode=o,y.treeForkCount=c)}function qm(e,t,a){var s=t.pendingProps,o=s.revealOrder,c=s.tail;s=s.children;var y=Ye.current,b=(y&2)!==0;if(b?(y=y&1|2,t.flags|=128):y&=1,Q(Ye,y),it(e,t,s,a),s=be?ts:0,!b&&e!==null&&(e.flags&128)!==0)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&Hm(e,a,t);else if(e.tag===19)Hm(e,a,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}switch(o){case"forwards":for(a=t.child,o=null;a!==null;)e=a.alternate,e!==null&&Nl(e)===null&&(o=a),a=a.sibling;a=o,a===null?(o=t.child,t.child=null):(o=a.sibling,a.sibling=null),Ou(t,!1,o,a,c,s);break;case"backwards":case"unstable_legacy-backwards":for(a=null,o=t.child,t.child=null;o!==null;){if(e=o.alternate,e!==null&&Nl(e)===null){t.child=o;break}e=o.sibling,o.sibling=a,a=o,o=e}Ou(t,!0,a,null,c,s);break;case"together":Ou(t,!1,null,null,void 0,s);break;default:t.memoizedState=null}return t.child}function Sn(e,t,a){if(e!==null&&(t.dependencies=e.dependencies),Jn|=t.lanes,(a&t.childLanes)===0)if(e!==null){if(ii(e,t,a,!1),(a&t.childLanes)===0)return null}else return null;if(e!==null&&t.child!==e.child)throw Error(r(153));if(t.child!==null){for(e=t.child,a=pn(e,e.pendingProps),t.child=a,a.return=t;e.sibling!==null;)e=e.sibling,a=a.sibling=pn(e,e.pendingProps),a.return=t;a.sibling=null}return t.child}function Lu(e,t){return(e.lanes&t)!==0?!0:(e=e.dependencies,!!(e!==null&&El(e)))}function ab(e,t,a){switch(t.tag){case 3:$e(t,t.stateNode.containerInfo),qn(t,Xe,e.memoizedState.cache),xa();break;case 27:case 5:Ln(t);break;case 4:$e(t,t.stateNode.containerInfo);break;case 10:qn(t,t.type,t.memoizedProps.value);break;case 31:if(t.memoizedState!==null)return t.flags|=128,su(t),null;break;case 13:var s=t.memoizedState;if(s!==null)return s.dehydrated!==null?(Kn(t),t.flags|=128,null):(a&t.child.childLanes)!==0?Gm(e,t,a):(Kn(t),e=Sn(e,t,a),e!==null?e.sibling:null);Kn(t);break;case 19:var o=(e.flags&128)!==0;if(s=(a&t.childLanes)!==0,s||(ii(e,t,a,!1),s=(a&t.childLanes)!==0),o){if(s)return qm(e,t,a);t.flags|=128}if(o=t.memoizedState,o!==null&&(o.rendering=null,o.tail=null,o.lastEffect=null),Q(Ye,Ye.current),s)break;return null;case 22:return t.lanes=0,Lm(e,t,a,t.pendingProps);case 24:qn(t,Xe,e.memoizedState.cache)}return Sn(e,t,a)}function Ym(e,t,a){if(e!==null)if(e.memoizedProps!==t.pendingProps)Qe=!0;else{if(!Lu(e,a)&&(t.flags&128)===0)return Qe=!1,ab(e,t,a);Qe=(e.flags&131072)!==0}else Qe=!1,be&&(t.flags&1048576)!==0&&Sh(t,ts,t.index);switch(t.lanes=0,t.tag){case 16:e:{var s=t.pendingProps;if(e=Ea(t.elementType),t.type=e,typeof e=="function")ko(e)?(s=Ca(e,s),t.tag=1,t=Bm(null,t,e,s,a)):(t.tag=0,t=Cu(null,t,e,s,a));else{if(e!=null){var o=e.$$typeof;if(o===G){t.tag=11,t=Nm(null,t,e,s,a);break e}else if(o===K){t.tag=14,t=zm(null,t,e,s,a);break e}}throw t=Se(e)||e,Error(r(306,t,""))}}return t;case 0:return Cu(e,t,t.type,t.pendingProps,a);case 1:return s=t.type,o=Ca(s,t.pendingProps),Bm(e,t,s,o,a);case 3:e:{if($e(t,t.stateNode.containerInfo),e===null)throw Error(r(387));s=t.pendingProps;var c=t.memoizedState;o=c.element,eu(e,t),us(t,s,null,a);var y=t.memoizedState;if(s=y.cache,qn(t,Xe,s),s!==c.cache&&Zo(t,[Xe],a,!0),os(),s=y.element,c.isDehydrated)if(c={element:s,isDehydrated:!1,cache:y.cache},t.updateQueue.baseState=c,t.memoizedState=c,t.flags&256){t=km(e,t,s,a);break e}else if(s!==o){o=Vt(Error(r(424)),t),ns(o),t=km(e,t,s,a);break e}else{switch(e=t.stateNode.containerInfo,e.nodeType){case 9:e=e.body;break;default:e=e.nodeName==="HTML"?e.ownerDocument.body:e}for(Ve=Ht(e.firstChild),nt=t,be=!0,Gn=null,kt=!0,a=Lh(t,null,s,a),t.child=a;a;)a.flags=a.flags&-3|4096,a=a.sibling}else{if(xa(),s===o){t=Sn(e,t,a);break e}it(e,t,s,a)}t=t.child}return t;case 26:return ql(e,t),e===null?(a=eg(t.type,null,t.pendingProps,null))?t.memoizedState=a:be||(a=t.type,e=t.pendingProps,s=sr(ie.current).createElement(a),s[tt]=t,s[ht]=e,st(s,a,e),Ie(s),t.stateNode=s):t.memoizedState=eg(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return Ln(t),e===null&&be&&(s=t.stateNode=Wp(t.type,t.pendingProps,ie.current),nt=t,kt=!0,o=Ve,ta(t.type)?(hc=o,Ve=Ht(s.firstChild)):Ve=o),it(e,t,t.pendingProps.children,a),ql(e,t),e===null&&(t.flags|=4194304),t.child;case 5:return e===null&&be&&((o=s=Ve)&&(s=Ob(s,t.type,t.pendingProps,kt),s!==null?(t.stateNode=s,nt=t,Ve=Ht(s.firstChild),kt=!1,o=!0):o=!1),o||Hn(t)),Ln(t),o=t.type,c=t.pendingProps,y=e!==null?e.memoizedProps:null,s=c.children,oc(o,c)?s=null:y!==null&&oc(o,y)&&(t.flags|=32),t.memoizedState!==null&&(o=ru(e,t,Zx,null,null,a),Rs._currentValue=o),ql(e,t),it(e,t,s,a),t.child;case 6:return e===null&&be&&((e=a=Ve)&&(a=Lb(a,t.pendingProps,kt),a!==null?(t.stateNode=a,nt=t,Ve=null,e=!0):e=!1),e||Hn(t)),null;case 13:return Gm(e,t,a);case 4:return $e(t,t.stateNode.containerInfo),s=t.pendingProps,e===null?t.child=Aa(t,null,s,a):it(e,t,s,a),t.child;case 11:return Nm(e,t,t.type,t.pendingProps,a);case 7:return it(e,t,t.pendingProps,a),t.child;case 8:return it(e,t,t.pendingProps.children,a),t.child;case 12:return it(e,t,t.pendingProps.children,a),t.child;case 10:return s=t.pendingProps,qn(t,t.type,s.value),it(e,t,s.children,a),t.child;case 9:return o=t.type._context,s=t.pendingProps.children,Sa(t),o=at(o),s=s(o),t.flags|=1,it(e,t,s,a),t.child;case 14:return zm(e,t,t.type,t.pendingProps,a);case 15:return Om(e,t,t.type,t.pendingProps,a);case 19:return qm(e,t,a);case 31:return nb(e,t,a);case 22:return Lm(e,t,a,t.pendingProps);case 24:return Sa(t),s=at(Xe),e===null?(o=Wo(),o===null&&(o=ze,c=Fo(),o.pooledCache=c,c.refCount++,c!==null&&(o.pooledCacheLanes|=a),o=c),t.memoizedState={parent:s,cache:o},Io(t),qn(t,Xe,o)):((e.lanes&a)!==0&&(eu(e,t),us(t,null,null,a),os()),o=e.memoizedState,c=t.memoizedState,o.parent!==s?(o={parent:s,cache:s},t.memoizedState=o,t.lanes===0&&(t.memoizedState=t.updateQueue.baseState=o),qn(t,Xe,s)):(s=c.cache,qn(t,Xe,s),s!==o.cache&&Zo(t,[Xe],a,!0))),it(e,t,t.pendingProps.children,a),t.child;case 29:throw t.pendingProps}throw Error(r(156,t.tag))}function Tn(e){e.flags|=4}function _u(e,t,a,s,o){if((t=(e.mode&32)!==0)&&(t=!1),t){if(e.flags|=16777216,(o&335544128)===o)if(e.stateNode.complete)e.flags|=8192;else if(gp())e.flags|=8192;else throw ja=Cl,$o}else e.flags&=-16777217}function Pm(e,t){if(t.type!=="stylesheet"||(t.state.loading&4)!==0)e.flags&=-16777217;else if(e.flags|=16777216,!sg(t))if(gp())e.flags|=8192;else throw ja=Cl,$o}function Pl(e,t){t!==null&&(e.flags|=4),e.flags&16384&&(t=e.tag!==22?Ed():536870912,e.lanes|=t,gi|=t)}function ps(e,t){if(!be)switch(e.tailMode){case"hidden":t=e.tail;for(var a=null;t!==null;)t.alternate!==null&&(a=t),t=t.sibling;a===null?e.tail=null:a.sibling=null;break;case"collapsed":a=e.tail;for(var s=null;a!==null;)a.alternate!==null&&(s=a),a=a.sibling;s===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:s.sibling=null}}function Ue(e){var t=e.alternate!==null&&e.alternate.child===e.child,a=0,s=0;if(t)for(var o=e.child;o!==null;)a|=o.lanes|o.childLanes,s|=o.subtreeFlags&65011712,s|=o.flags&65011712,o.return=e,o=o.sibling;else for(o=e.child;o!==null;)a|=o.lanes|o.childLanes,s|=o.subtreeFlags,s|=o.flags,o.return=e,o=o.sibling;return e.subtreeFlags|=s,e.childLanes=a,t}function ib(e,t,a){var s=t.pendingProps;switch(Yo(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Ue(t),null;case 1:return Ue(t),null;case 3:return a=t.stateNode,s=null,e!==null&&(s=e.memoizedState.cache),t.memoizedState.cache!==s&&(t.flags|=2048),vn(Xe),_e(),a.pendingContext&&(a.context=a.pendingContext,a.pendingContext=null),(e===null||e.child===null)&&(ai(t)?Tn(t):e===null||e.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,Xo())),Ue(t),null;case 26:var o=t.type,c=t.memoizedState;return e===null?(Tn(t),c!==null?(Ue(t),Pm(t,c)):(Ue(t),_u(t,o,null,s,a))):c?c!==e.memoizedState?(Tn(t),Ue(t),Pm(t,c)):(Ue(t),t.flags&=-16777217):(e=e.memoizedProps,e!==s&&Tn(t),Ue(t),_u(t,o,e,s,a)),null;case 27:if(_n(t),a=ie.current,o=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==s&&Tn(t);else{if(!s){if(t.stateNode===null)throw Error(r(166));return Ue(t),null}e=I.current,ai(t)?Eh(t):(e=Wp(o,s,a),t.stateNode=e,Tn(t))}return Ue(t),null;case 5:if(_n(t),o=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==s&&Tn(t);else{if(!s){if(t.stateNode===null)throw Error(r(166));return Ue(t),null}if(c=I.current,ai(t))Eh(t);else{var y=sr(ie.current);switch(c){case 1:c=y.createElementNS("http://www.w3.org/2000/svg",o);break;case 2:c=y.createElementNS("http://www.w3.org/1998/Math/MathML",o);break;default:switch(o){case"svg":c=y.createElementNS("http://www.w3.org/2000/svg",o);break;case"math":c=y.createElementNS("http://www.w3.org/1998/Math/MathML",o);break;case"script":c=y.createElement("div"),c.innerHTML="<script><\/script>",c=c.removeChild(c.firstChild);break;case"select":c=typeof s.is=="string"?y.createElement("select",{is:s.is}):y.createElement("select"),s.multiple?c.multiple=!0:s.size&&(c.size=s.size);break;default:c=typeof s.is=="string"?y.createElement(o,{is:s.is}):y.createElement(o)}}c[tt]=t,c[ht]=s;e:for(y=t.child;y!==null;){if(y.tag===5||y.tag===6)c.appendChild(y.stateNode);else if(y.tag!==4&&y.tag!==27&&y.child!==null){y.child.return=y,y=y.child;continue}if(y===t)break e;for(;y.sibling===null;){if(y.return===null||y.return===t)break e;y=y.return}y.sibling.return=y.return,y=y.sibling}t.stateNode=c;e:switch(st(c,o,s),o){case"button":case"input":case"select":case"textarea":s=!!s.autoFocus;break e;case"img":s=!0;break e;default:s=!1}s&&Tn(t)}}return Ue(t),_u(t,t.type,e===null?null:e.memoizedProps,t.pendingProps,a),null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==s&&Tn(t);else{if(typeof s!="string"&&t.stateNode===null)throw Error(r(166));if(e=ie.current,ai(t)){if(e=t.stateNode,a=t.memoizedProps,s=null,o=nt,o!==null)switch(o.tag){case 27:case 5:s=o.memoizedProps}e[tt]=t,e=!!(e.nodeValue===a||s!==null&&s.suppressHydrationWarning===!0||Gp(e.nodeValue,a)),e||Hn(t,!0)}else e=sr(e).createTextNode(s),e[tt]=t,t.stateNode=e}return Ue(t),null;case 31:if(a=t.memoizedState,e===null||e.memoizedState!==null){if(s=ai(t),a!==null){if(e===null){if(!s)throw Error(r(318));if(e=t.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(r(557));e[tt]=t}else xa(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;Ue(t),e=!1}else a=Xo(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=a),e=!0;if(!e)return t.flags&256?(Ct(t),t):(Ct(t),null);if((t.flags&128)!==0)throw Error(r(558))}return Ue(t),null;case 13:if(s=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(o=ai(t),s!==null&&s.dehydrated!==null){if(e===null){if(!o)throw Error(r(318));if(o=t.memoizedState,o=o!==null?o.dehydrated:null,!o)throw Error(r(317));o[tt]=t}else xa(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;Ue(t),o=!1}else o=Xo(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=o),o=!0;if(!o)return t.flags&256?(Ct(t),t):(Ct(t),null)}return Ct(t),(t.flags&128)!==0?(t.lanes=a,t):(a=s!==null,e=e!==null&&e.memoizedState!==null,a&&(s=t.child,o=null,s.alternate!==null&&s.alternate.memoizedState!==null&&s.alternate.memoizedState.cachePool!==null&&(o=s.alternate.memoizedState.cachePool.pool),c=null,s.memoizedState!==null&&s.memoizedState.cachePool!==null&&(c=s.memoizedState.cachePool.pool),c!==o&&(s.flags|=2048)),a!==e&&a&&(t.child.flags|=8192),Pl(t,t.updateQueue),Ue(t),null);case 4:return _e(),e===null&&ac(t.stateNode.containerInfo),Ue(t),null;case 10:return vn(t.type),Ue(t),null;case 19:if(B(Ye),s=t.memoizedState,s===null)return Ue(t),null;if(o=(t.flags&128)!==0,c=s.rendering,c===null)if(o)ps(s,!1);else{if(He!==0||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(c=Nl(e),c!==null){for(t.flags|=128,ps(s,!1),e=c.updateQueue,t.updateQueue=e,Pl(t,e),t.subtreeFlags=0,e=a,a=t.child;a!==null;)vh(a,e),a=a.sibling;return Q(Ye,Ye.current&1|2),be&&gn(t,s.treeForkCount),t.child}e=e.sibling}s.tail!==null&&St()>Fl&&(t.flags|=128,o=!0,ps(s,!1),t.lanes=4194304)}else{if(!o)if(e=Nl(c),e!==null){if(t.flags|=128,o=!0,e=e.updateQueue,t.updateQueue=e,Pl(t,e),ps(s,!0),s.tail===null&&s.tailMode==="hidden"&&!c.alternate&&!be)return Ue(t),null}else 2*St()-s.renderingStartTime>Fl&&a!==536870912&&(t.flags|=128,o=!0,ps(s,!1),t.lanes=4194304);s.isBackwards?(c.sibling=t.child,t.child=c):(e=s.last,e!==null?e.sibling=c:t.child=c,s.last=c)}return s.tail!==null?(e=s.tail,s.rendering=e,s.tail=e.sibling,s.renderingStartTime=St(),e.sibling=null,a=Ye.current,Q(Ye,o?a&1|2:a&1),be&&gn(t,s.treeForkCount),e):(Ue(t),null);case 22:case 23:return Ct(t),iu(),s=t.memoizedState!==null,e!==null?e.memoizedState!==null!==s&&(t.flags|=8192):s&&(t.flags|=8192),s?(a&536870912)!==0&&(t.flags&128)===0&&(Ue(t),t.subtreeFlags&6&&(t.flags|=8192)):Ue(t),a=t.updateQueue,a!==null&&Pl(t,a.retryQueue),a=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(a=e.memoizedState.cachePool.pool),s=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(s=t.memoizedState.cachePool.pool),s!==a&&(t.flags|=2048),e!==null&&B(Ta),null;case 24:return a=null,e!==null&&(a=e.memoizedState.cache),t.memoizedState.cache!==a&&(t.flags|=2048),vn(Xe),Ue(t),null;case 25:return null;case 30:return null}throw Error(r(156,t.tag))}function sb(e,t){switch(Yo(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return vn(Xe),_e(),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return _n(t),null;case 31:if(t.memoizedState!==null){if(Ct(t),t.alternate===null)throw Error(r(340));xa()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 13:if(Ct(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(r(340));xa()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return B(Ye),null;case 4:return _e(),null;case 10:return vn(t.type),null;case 22:case 23:return Ct(t),iu(),e!==null&&B(Ta),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 24:return vn(Xe),null;case 25:return null;default:return null}}function Xm(e,t){switch(Yo(t),t.tag){case 3:vn(Xe),_e();break;case 26:case 27:case 5:_n(t);break;case 4:_e();break;case 31:t.memoizedState!==null&&Ct(t);break;case 13:Ct(t);break;case 19:B(Ye);break;case 10:vn(t.type);break;case 22:case 23:Ct(t),iu(),e!==null&&B(Ta);break;case 24:vn(Xe)}}function gs(e,t){try{var a=t.updateQueue,s=a!==null?a.lastEffect:null;if(s!==null){var o=s.next;a=o;do{if((a.tag&e)===e){s=void 0;var c=a.create,y=a.inst;s=c(),y.destroy=s}a=a.next}while(a!==o)}}catch(b){Me(t,t.return,b)}}function Zn(e,t,a){try{var s=t.updateQueue,o=s!==null?s.lastEffect:null;if(o!==null){var c=o.next;s=c;do{if((s.tag&e)===e){var y=s.inst,b=y.destroy;if(b!==void 0){y.destroy=void 0,o=t;var A=a,L=b;try{L()}catch(H){Me(o,A,H)}}}s=s.next}while(s!==c)}}catch(H){Me(t,t.return,H)}}function Km(e){var t=e.updateQueue;if(t!==null){var a=e.stateNode;try{Vh(t,a)}catch(s){Me(e,e.return,s)}}}function Qm(e,t,a){a.props=Ca(e.type,e.memoizedProps),a.state=e.memoizedState;try{a.componentWillUnmount()}catch(s){Me(e,t,s)}}function ys(e,t){try{var a=e.ref;if(a!==null){switch(e.tag){case 26:case 27:case 5:var s=e.stateNode;break;case 30:s=e.stateNode;break;default:s=e.stateNode}typeof a=="function"?e.refCleanup=a(s):a.current=s}}catch(o){Me(e,t,o)}}function an(e,t){var a=e.ref,s=e.refCleanup;if(a!==null)if(typeof s=="function")try{s()}catch(o){Me(e,t,o)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof a=="function")try{a(null)}catch(o){Me(e,t,o)}else a.current=null}function Zm(e){var t=e.type,a=e.memoizedProps,s=e.stateNode;try{e:switch(t){case"button":case"input":case"select":case"textarea":a.autoFocus&&s.focus();break e;case"img":a.src?s.src=a.src:a.srcSet&&(s.srcset=a.srcSet)}}catch(o){Me(e,e.return,o)}}function Vu(e,t,a){try{var s=e.stateNode;Cb(s,e.type,a,t),s[ht]=t}catch(o){Me(e,e.return,o)}}function Fm(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&ta(e.type)||e.tag===4}function Uu(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Fm(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.tag===27&&ta(e.type)||e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Bu(e,t,a){var s=e.tag;if(s===5||s===6)e=e.stateNode,t?(a.nodeType===9?a.body:a.nodeName==="HTML"?a.ownerDocument.body:a).insertBefore(e,t):(t=a.nodeType===9?a.body:a.nodeName==="HTML"?a.ownerDocument.body:a,t.appendChild(e),a=a._reactRootContainer,a!=null||t.onclick!==null||(t.onclick=hn));else if(s!==4&&(s===27&&ta(e.type)&&(a=e.stateNode,t=null),e=e.child,e!==null))for(Bu(e,t,a),e=e.sibling;e!==null;)Bu(e,t,a),e=e.sibling}function Xl(e,t,a){var s=e.tag;if(s===5||s===6)e=e.stateNode,t?a.insertBefore(e,t):a.appendChild(e);else if(s!==4&&(s===27&&ta(e.type)&&(a=e.stateNode),e=e.child,e!==null))for(Xl(e,t,a),e=e.sibling;e!==null;)Xl(e,t,a),e=e.sibling}function Jm(e){var t=e.stateNode,a=e.memoizedProps;try{for(var s=e.type,o=t.attributes;o.length;)t.removeAttributeNode(o[0]);st(t,s,a),t[tt]=e,t[ht]=a}catch(c){Me(e,e.return,c)}}var En=!1,Ze=!1,ku=!1,Wm=typeof WeakSet=="function"?WeakSet:Set,et=null;function lb(e,t){if(e=e.containerInfo,lc=dr,e=uh(e),zo(e)){if("selectionStart"in e)var a={start:e.selectionStart,end:e.selectionEnd};else e:{a=(a=e.ownerDocument)&&a.defaultView||window;var s=a.getSelection&&a.getSelection();if(s&&s.rangeCount!==0){a=s.anchorNode;var o=s.anchorOffset,c=s.focusNode;s=s.focusOffset;try{a.nodeType,c.nodeType}catch{a=null;break e}var y=0,b=-1,A=-1,L=0,H=0,Y=e,V=null;t:for(;;){for(var U;Y!==a||o!==0&&Y.nodeType!==3||(b=y+o),Y!==c||s!==0&&Y.nodeType!==3||(A=y+s),Y.nodeType===3&&(y+=Y.nodeValue.length),(U=Y.firstChild)!==null;)V=Y,Y=U;for(;;){if(Y===e)break t;if(V===a&&++L===o&&(b=y),V===c&&++H===s&&(A=y),(U=Y.nextSibling)!==null)break;Y=V,V=Y.parentNode}Y=U}a=b===-1||A===-1?null:{start:b,end:A}}else a=null}a=a||{start:0,end:0}}else a=null;for(rc={focusedElem:e,selectionRange:a},dr=!1,et=t;et!==null;)if(t=et,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,et=e;else for(;et!==null;){switch(t=et,c=t.alternate,e=t.flags,t.tag){case 0:if((e&4)!==0&&(e=t.updateQueue,e=e!==null?e.events:null,e!==null))for(a=0;a<e.length;a++)o=e[a],o.ref.impl=o.nextImpl;break;case 11:case 15:break;case 1:if((e&1024)!==0&&c!==null){e=void 0,a=t,o=c.memoizedProps,c=c.memoizedState,s=a.stateNode;try{var ee=Ca(a.type,o);e=s.getSnapshotBeforeUpdate(ee,c),s.__reactInternalSnapshotBeforeUpdate=e}catch(se){Me(a,a.return,se)}}break;case 3:if((e&1024)!==0){if(e=t.stateNode.containerInfo,a=e.nodeType,a===9)cc(e);else if(a===1)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":cc(e);break;default:e.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((e&1024)!==0)throw Error(r(163))}if(e=t.sibling,e!==null){e.return=t.return,et=e;break}et=t.return}}function $m(e,t,a){var s=a.flags;switch(a.tag){case 0:case 11:case 15:An(e,a),s&4&&gs(5,a);break;case 1:if(An(e,a),s&4)if(e=a.stateNode,t===null)try{e.componentDidMount()}catch(y){Me(a,a.return,y)}else{var o=Ca(a.type,t.memoizedProps);t=t.memoizedState;try{e.componentDidUpdate(o,t,e.__reactInternalSnapshotBeforeUpdate)}catch(y){Me(a,a.return,y)}}s&64&&Km(a),s&512&&ys(a,a.return);break;case 3:if(An(e,a),s&64&&(e=a.updateQueue,e!==null)){if(t=null,a.child!==null)switch(a.child.tag){case 27:case 5:t=a.child.stateNode;break;case 1:t=a.child.stateNode}try{Vh(e,t)}catch(y){Me(a,a.return,y)}}break;case 27:t===null&&s&4&&Jm(a);case 26:case 5:An(e,a),t===null&&s&4&&Zm(a),s&512&&ys(a,a.return);break;case 12:An(e,a);break;case 31:An(e,a),s&4&&tp(e,a);break;case 13:An(e,a),s&4&&np(e,a),s&64&&(e=a.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(a=pb.bind(null,a),_b(e,a))));break;case 22:if(s=a.memoizedState!==null||En,!s){t=t!==null&&t.memoizedState!==null||Ze,o=En;var c=Ze;En=s,(Ze=t)&&!c?wn(e,a,(a.subtreeFlags&8772)!==0):An(e,a),En=o,Ze=c}break;case 30:break;default:An(e,a)}}function Im(e){var t=e.alternate;t!==null&&(e.alternate=null,Im(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&po(t)),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}var Be=null,pt=!1;function jn(e,t,a){for(a=a.child;a!==null;)ep(e,t,a),a=a.sibling}function ep(e,t,a){if(Tt&&typeof Tt.onCommitFiberUnmount=="function")try{Tt.onCommitFiberUnmount(Hi,a)}catch{}switch(a.tag){case 26:Ze||an(a,t),jn(e,t,a),a.memoizedState?a.memoizedState.count--:a.stateNode&&(a=a.stateNode,a.parentNode.removeChild(a));break;case 27:Ze||an(a,t);var s=Be,o=pt;ta(a.type)&&(Be=a.stateNode,pt=!1),jn(e,t,a),ws(a.stateNode),Be=s,pt=o;break;case 5:Ze||an(a,t);case 6:if(s=Be,o=pt,Be=null,jn(e,t,a),Be=s,pt=o,Be!==null)if(pt)try{(Be.nodeType===9?Be.body:Be.nodeName==="HTML"?Be.ownerDocument.body:Be).removeChild(a.stateNode)}catch(c){Me(a,t,c)}else try{Be.removeChild(a.stateNode)}catch(c){Me(a,t,c)}break;case 18:Be!==null&&(pt?(e=Be,Kp(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,a.stateNode),ji(e)):Kp(Be,a.stateNode));break;case 4:s=Be,o=pt,Be=a.stateNode.containerInfo,pt=!0,jn(e,t,a),Be=s,pt=o;break;case 0:case 11:case 14:case 15:Zn(2,a,t),Ze||Zn(4,a,t),jn(e,t,a);break;case 1:Ze||(an(a,t),s=a.stateNode,typeof s.componentWillUnmount=="function"&&Qm(a,t,s)),jn(e,t,a);break;case 21:jn(e,t,a);break;case 22:Ze=(s=Ze)||a.memoizedState!==null,jn(e,t,a),Ze=s;break;default:jn(e,t,a)}}function tp(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null))){e=e.dehydrated;try{ji(e)}catch(a){Me(t,t.return,a)}}}function np(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{ji(e)}catch(a){Me(t,t.return,a)}}function rb(e){switch(e.tag){case 31:case 13:case 19:var t=e.stateNode;return t===null&&(t=e.stateNode=new Wm),t;case 22:return e=e.stateNode,t=e._retryCache,t===null&&(t=e._retryCache=new Wm),t;default:throw Error(r(435,e.tag))}}function Kl(e,t){var a=rb(e);t.forEach(function(s){if(!a.has(s)){a.add(s);var o=gb.bind(null,e,s);s.then(o,o)}})}function gt(e,t){var a=t.deletions;if(a!==null)for(var s=0;s<a.length;s++){var o=a[s],c=e,y=t,b=y;e:for(;b!==null;){switch(b.tag){case 27:if(ta(b.type)){Be=b.stateNode,pt=!1;break e}break;case 5:Be=b.stateNode,pt=!1;break e;case 3:case 4:Be=b.stateNode.containerInfo,pt=!0;break e}b=b.return}if(Be===null)throw Error(r(160));ep(c,y,o),Be=null,pt=!1,c=o.alternate,c!==null&&(c.return=null),o.return=null}if(t.subtreeFlags&13886)for(t=t.child;t!==null;)ap(t,e),t=t.sibling}var Qt=null;function ap(e,t){var a=e.alternate,s=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:gt(t,e),yt(e),s&4&&(Zn(3,e,e.return),gs(3,e),Zn(5,e,e.return));break;case 1:gt(t,e),yt(e),s&512&&(Ze||a===null||an(a,a.return)),s&64&&En&&(e=e.updateQueue,e!==null&&(s=e.callbacks,s!==null&&(a=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=a===null?s:a.concat(s))));break;case 26:var o=Qt;if(gt(t,e),yt(e),s&512&&(Ze||a===null||an(a,a.return)),s&4){var c=a!==null?a.memoizedState:null;if(s=e.memoizedState,a===null)if(s===null)if(e.stateNode===null){e:{s=e.type,a=e.memoizedProps,o=o.ownerDocument||o;t:switch(s){case"title":c=o.getElementsByTagName("title")[0],(!c||c[Pi]||c[tt]||c.namespaceURI==="http://www.w3.org/2000/svg"||c.hasAttribute("itemprop"))&&(c=o.createElement(s),o.head.insertBefore(c,o.querySelector("head > title"))),st(c,s,a),c[tt]=e,Ie(c),s=c;break e;case"link":var y=ag("link","href",o).get(s+(a.href||""));if(y){for(var b=0;b<y.length;b++)if(c=y[b],c.getAttribute("href")===(a.href==null||a.href===""?null:a.href)&&c.getAttribute("rel")===(a.rel==null?null:a.rel)&&c.getAttribute("title")===(a.title==null?null:a.title)&&c.getAttribute("crossorigin")===(a.crossOrigin==null?null:a.crossOrigin)){y.splice(b,1);break t}}c=o.createElement(s),st(c,s,a),o.head.appendChild(c);break;case"meta":if(y=ag("meta","content",o).get(s+(a.content||""))){for(b=0;b<y.length;b++)if(c=y[b],c.getAttribute("content")===(a.content==null?null:""+a.content)&&c.getAttribute("name")===(a.name==null?null:a.name)&&c.getAttribute("property")===(a.property==null?null:a.property)&&c.getAttribute("http-equiv")===(a.httpEquiv==null?null:a.httpEquiv)&&c.getAttribute("charset")===(a.charSet==null?null:a.charSet)){y.splice(b,1);break t}}c=o.createElement(s),st(c,s,a),o.head.appendChild(c);break;default:throw Error(r(468,s))}c[tt]=e,Ie(c),s=c}e.stateNode=s}else ig(o,e.type,e.stateNode);else e.stateNode=ng(o,s,e.memoizedProps);else c!==s?(c===null?a.stateNode!==null&&(a=a.stateNode,a.parentNode.removeChild(a)):c.count--,s===null?ig(o,e.type,e.stateNode):ng(o,s,e.memoizedProps)):s===null&&e.stateNode!==null&&Vu(e,e.memoizedProps,a.memoizedProps)}break;case 27:gt(t,e),yt(e),s&512&&(Ze||a===null||an(a,a.return)),a!==null&&s&4&&Vu(e,e.memoizedProps,a.memoizedProps);break;case 5:if(gt(t,e),yt(e),s&512&&(Ze||a===null||an(a,a.return)),e.flags&32){o=e.stateNode;try{Qa(o,"")}catch(ee){Me(e,e.return,ee)}}s&4&&e.stateNode!=null&&(o=e.memoizedProps,Vu(e,o,a!==null?a.memoizedProps:o)),s&1024&&(ku=!0);break;case 6:if(gt(t,e),yt(e),s&4){if(e.stateNode===null)throw Error(r(162));s=e.memoizedProps,a=e.stateNode;try{a.nodeValue=s}catch(ee){Me(e,e.return,ee)}}break;case 3:if(or=null,o=Qt,Qt=lr(t.containerInfo),gt(t,e),Qt=o,yt(e),s&4&&a!==null&&a.memoizedState.isDehydrated)try{ji(t.containerInfo)}catch(ee){Me(e,e.return,ee)}ku&&(ku=!1,ip(e));break;case 4:s=Qt,Qt=lr(e.stateNode.containerInfo),gt(t,e),yt(e),Qt=s;break;case 12:gt(t,e),yt(e);break;case 31:gt(t,e),yt(e),s&4&&(s=e.updateQueue,s!==null&&(e.updateQueue=null,Kl(e,s)));break;case 13:gt(t,e),yt(e),e.child.flags&8192&&e.memoizedState!==null!=(a!==null&&a.memoizedState!==null)&&(Zl=St()),s&4&&(s=e.updateQueue,s!==null&&(e.updateQueue=null,Kl(e,s)));break;case 22:o=e.memoizedState!==null;var A=a!==null&&a.memoizedState!==null,L=En,H=Ze;if(En=L||o,Ze=H||A,gt(t,e),Ze=H,En=L,yt(e),s&8192)e:for(t=e.stateNode,t._visibility=o?t._visibility&-2:t._visibility|1,o&&(a===null||A||En||Ze||Ma(e)),a=null,t=e;;){if(t.tag===5||t.tag===26){if(a===null){A=a=t;try{if(c=A.stateNode,o)y=c.style,typeof y.setProperty=="function"?y.setProperty("display","none","important"):y.display="none";else{b=A.stateNode;var Y=A.memoizedProps.style,V=Y!=null&&Y.hasOwnProperty("display")?Y.display:null;b.style.display=V==null||typeof V=="boolean"?"":(""+V).trim()}}catch(ee){Me(A,A.return,ee)}}}else if(t.tag===6){if(a===null){A=t;try{A.stateNode.nodeValue=o?"":A.memoizedProps}catch(ee){Me(A,A.return,ee)}}}else if(t.tag===18){if(a===null){A=t;try{var U=A.stateNode;o?Qp(U,!0):Qp(A.stateNode,!1)}catch(ee){Me(A,A.return,ee)}}}else if((t.tag!==22&&t.tag!==23||t.memoizedState===null||t===e)&&t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break e;for(;t.sibling===null;){if(t.return===null||t.return===e)break e;a===t&&(a=null),t=t.return}a===t&&(a=null),t.sibling.return=t.return,t=t.sibling}s&4&&(s=e.updateQueue,s!==null&&(a=s.retryQueue,a!==null&&(s.retryQueue=null,Kl(e,a))));break;case 19:gt(t,e),yt(e),s&4&&(s=e.updateQueue,s!==null&&(e.updateQueue=null,Kl(e,s)));break;case 30:break;case 21:break;default:gt(t,e),yt(e)}}function yt(e){var t=e.flags;if(t&2){try{for(var a,s=e.return;s!==null;){if(Fm(s)){a=s;break}s=s.return}if(a==null)throw Error(r(160));switch(a.tag){case 27:var o=a.stateNode,c=Uu(e);Xl(e,c,o);break;case 5:var y=a.stateNode;a.flags&32&&(Qa(y,""),a.flags&=-33);var b=Uu(e);Xl(e,b,y);break;case 3:case 4:var A=a.stateNode.containerInfo,L=Uu(e);Bu(e,L,A);break;default:throw Error(r(161))}}catch(H){Me(e,e.return,H)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function ip(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var t=e;ip(t),t.tag===5&&t.flags&1024&&t.stateNode.reset(),e=e.sibling}}function An(e,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)$m(e,t.alternate,t),t=t.sibling}function Ma(e){for(e=e.child;e!==null;){var t=e;switch(t.tag){case 0:case 11:case 14:case 15:Zn(4,t,t.return),Ma(t);break;case 1:an(t,t.return);var a=t.stateNode;typeof a.componentWillUnmount=="function"&&Qm(t,t.return,a),Ma(t);break;case 27:ws(t.stateNode);case 26:case 5:an(t,t.return),Ma(t);break;case 22:t.memoizedState===null&&Ma(t);break;case 30:Ma(t);break;default:Ma(t)}e=e.sibling}}function wn(e,t,a){for(a=a&&(t.subtreeFlags&8772)!==0,t=t.child;t!==null;){var s=t.alternate,o=e,c=t,y=c.flags;switch(c.tag){case 0:case 11:case 15:wn(o,c,a),gs(4,c);break;case 1:if(wn(o,c,a),s=c,o=s.stateNode,typeof o.componentDidMount=="function")try{o.componentDidMount()}catch(L){Me(s,s.return,L)}if(s=c,o=s.updateQueue,o!==null){var b=s.stateNode;try{var A=o.shared.hiddenCallbacks;if(A!==null)for(o.shared.hiddenCallbacks=null,o=0;o<A.length;o++)_h(A[o],b)}catch(L){Me(s,s.return,L)}}a&&y&64&&Km(c),ys(c,c.return);break;case 27:Jm(c);case 26:case 5:wn(o,c,a),a&&s===null&&y&4&&Zm(c),ys(c,c.return);break;case 12:wn(o,c,a);break;case 31:wn(o,c,a),a&&y&4&&tp(o,c);break;case 13:wn(o,c,a),a&&y&4&&np(o,c);break;case 22:c.memoizedState===null&&wn(o,c,a),ys(c,c.return);break;case 30:break;default:wn(o,c,a)}t=t.sibling}}function Gu(e,t){var a=null;e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(a=e.memoizedState.cachePool.pool),e=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(e=t.memoizedState.cachePool.pool),e!==a&&(e!=null&&e.refCount++,a!=null&&as(a))}function Hu(e,t){e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&as(e))}function Zt(e,t,a,s){if(t.subtreeFlags&10256)for(t=t.child;t!==null;)sp(e,t,a,s),t=t.sibling}function sp(e,t,a,s){var o=t.flags;switch(t.tag){case 0:case 11:case 15:Zt(e,t,a,s),o&2048&&gs(9,t);break;case 1:Zt(e,t,a,s);break;case 3:Zt(e,t,a,s),o&2048&&(e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&as(e)));break;case 12:if(o&2048){Zt(e,t,a,s),e=t.stateNode;try{var c=t.memoizedProps,y=c.id,b=c.onPostCommit;typeof b=="function"&&b(y,t.alternate===null?"mount":"update",e.passiveEffectDuration,-0)}catch(A){Me(t,t.return,A)}}else Zt(e,t,a,s);break;case 31:Zt(e,t,a,s);break;case 13:Zt(e,t,a,s);break;case 23:break;case 22:c=t.stateNode,y=t.alternate,t.memoizedState!==null?c._visibility&2?Zt(e,t,a,s):vs(e,t):c._visibility&2?Zt(e,t,a,s):(c._visibility|=2,hi(e,t,a,s,(t.subtreeFlags&10256)!==0||!1)),o&2048&&Gu(y,t);break;case 24:Zt(e,t,a,s),o&2048&&Hu(t.alternate,t);break;default:Zt(e,t,a,s)}}function hi(e,t,a,s,o){for(o=o&&((t.subtreeFlags&10256)!==0||!1),t=t.child;t!==null;){var c=e,y=t,b=a,A=s,L=y.flags;switch(y.tag){case 0:case 11:case 15:hi(c,y,b,A,o),gs(8,y);break;case 23:break;case 22:var H=y.stateNode;y.memoizedState!==null?H._visibility&2?hi(c,y,b,A,o):vs(c,y):(H._visibility|=2,hi(c,y,b,A,o)),o&&L&2048&&Gu(y.alternate,y);break;case 24:hi(c,y,b,A,o),o&&L&2048&&Hu(y.alternate,y);break;default:hi(c,y,b,A,o)}t=t.sibling}}function vs(e,t){if(t.subtreeFlags&10256)for(t=t.child;t!==null;){var a=e,s=t,o=s.flags;switch(s.tag){case 22:vs(a,s),o&2048&&Gu(s.alternate,s);break;case 24:vs(a,s),o&2048&&Hu(s.alternate,s);break;default:vs(a,s)}t=t.sibling}}var xs=8192;function mi(e,t,a){if(e.subtreeFlags&xs)for(e=e.child;e!==null;)lp(e,t,a),e=e.sibling}function lp(e,t,a){switch(e.tag){case 26:mi(e,t,a),e.flags&xs&&e.memoizedState!==null&&Qb(a,Qt,e.memoizedState,e.memoizedProps);break;case 5:mi(e,t,a);break;case 3:case 4:var s=Qt;Qt=lr(e.stateNode.containerInfo),mi(e,t,a),Qt=s;break;case 22:e.memoizedState===null&&(s=e.alternate,s!==null&&s.memoizedState!==null?(s=xs,xs=16777216,mi(e,t,a),xs=s):mi(e,t,a));break;default:mi(e,t,a)}}function rp(e){var t=e.alternate;if(t!==null&&(e=t.child,e!==null)){t.child=null;do t=e.sibling,e.sibling=null,e=t;while(e!==null)}}function bs(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var a=0;a<t.length;a++){var s=t[a];et=s,up(s,e)}rp(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)op(e),e=e.sibling}function op(e){switch(e.tag){case 0:case 11:case 15:bs(e),e.flags&2048&&Zn(9,e,e.return);break;case 3:bs(e);break;case 12:bs(e);break;case 22:var t=e.stateNode;e.memoizedState!==null&&t._visibility&2&&(e.return===null||e.return.tag!==13)?(t._visibility&=-3,Ql(e)):bs(e);break;default:bs(e)}}function Ql(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var a=0;a<t.length;a++){var s=t[a];et=s,up(s,e)}rp(e)}for(e=e.child;e!==null;){switch(t=e,t.tag){case 0:case 11:case 15:Zn(8,t,t.return),Ql(t);break;case 22:a=t.stateNode,a._visibility&2&&(a._visibility&=-3,Ql(t));break;default:Ql(t)}e=e.sibling}}function up(e,t){for(;et!==null;){var a=et;switch(a.tag){case 0:case 11:case 15:Zn(8,a,t);break;case 23:case 22:if(a.memoizedState!==null&&a.memoizedState.cachePool!==null){var s=a.memoizedState.cachePool.pool;s!=null&&s.refCount++}break;case 24:as(a.memoizedState.cache)}if(s=a.child,s!==null)s.return=a,et=s;else e:for(a=e;et!==null;){s=et;var o=s.sibling,c=s.return;if(Im(s),s===a){et=null;break e}if(o!==null){o.return=c,et=o;break e}et=c}}}var ob={getCacheForType:function(e){var t=at(Xe),a=t.data.get(e);return a===void 0&&(a=e(),t.data.set(e,a)),a},cacheSignal:function(){return at(Xe).controller.signal}},ub=typeof WeakMap=="function"?WeakMap:Map,Ae=0,ze=null,ge=null,ve=0,Ce=0,Mt=null,Fn=!1,pi=!1,qu=!1,Cn=0,He=0,Jn=0,Ra=0,Yu=0,Rt=0,gi=0,Ss=null,vt=null,Pu=!1,Zl=0,cp=0,Fl=1/0,Jl=null,Wn=null,Je=0,$n=null,yi=null,Mn=0,Xu=0,Ku=null,fp=null,Ts=0,Qu=null;function Dt(){return(Ae&2)!==0&&ve!==0?ve&-ve:k.T!==null?Iu():Cd()}function dp(){if(Rt===0)if((ve&536870912)===0||be){var e=il;il<<=1,(il&3932160)===0&&(il=262144),Rt=e}else Rt=536870912;return e=wt.current,e!==null&&(e.flags|=32),Rt}function xt(e,t,a){(e===ze&&(Ce===2||Ce===9)||e.cancelPendingCommit!==null)&&(vi(e,0),In(e,ve,Rt,!1)),Yi(e,a),((Ae&2)===0||e!==ze)&&(e===ze&&((Ae&2)===0&&(Ra|=a),He===4&&In(e,ve,Rt,!1)),sn(e))}function hp(e,t,a){if((Ae&6)!==0)throw Error(r(327));var s=!a&&(t&127)===0&&(t&e.expiredLanes)===0||qi(e,t),o=s?db(e,t):Fu(e,t,!0),c=s;do{if(o===0){pi&&!s&&In(e,t,0,!1);break}else{if(a=e.current.alternate,c&&!cb(a)){o=Fu(e,t,!1),c=!1;continue}if(o===2){if(c=t,e.errorRecoveryDisabledLanes&c)var y=0;else y=e.pendingLanes&-536870913,y=y!==0?y:y&536870912?536870912:0;if(y!==0){t=y;e:{var b=e;o=Ss;var A=b.current.memoizedState.isDehydrated;if(A&&(vi(b,y).flags|=256),y=Fu(b,y,!1),y!==2){if(qu&&!A){b.errorRecoveryDisabledLanes|=c,Ra|=c,o=4;break e}c=vt,vt=o,c!==null&&(vt===null?vt=c:vt.push.apply(vt,c))}o=y}if(c=!1,o!==2)continue}}if(o===1){vi(e,0),In(e,t,0,!0);break}e:{switch(s=e,c=o,c){case 0:case 1:throw Error(r(345));case 4:if((t&4194048)!==t)break;case 6:In(s,t,Rt,!Fn);break e;case 2:vt=null;break;case 3:case 5:break;default:throw Error(r(329))}if((t&62914560)===t&&(o=Zl+300-St(),10<o)){if(In(s,t,Rt,!Fn),ll(s,0,!0)!==0)break e;Mn=t,s.timeoutHandle=Pp(mp.bind(null,s,a,vt,Jl,Pu,t,Rt,Ra,gi,Fn,c,"Throttled",-0,0),o);break e}mp(s,a,vt,Jl,Pu,t,Rt,Ra,gi,Fn,c,null,-0,0)}}break}while(!0);sn(e)}function mp(e,t,a,s,o,c,y,b,A,L,H,Y,V,U){if(e.timeoutHandle=-1,Y=t.subtreeFlags,Y&8192||(Y&16785408)===16785408){Y={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:hn},lp(t,c,Y);var ee=(c&62914560)===c?Zl-St():(c&4194048)===c?cp-St():0;if(ee=Zb(Y,ee),ee!==null){Mn=c,e.cancelPendingCommit=ee(Tp.bind(null,e,t,c,a,s,o,y,b,A,H,Y,null,V,U)),In(e,c,y,!L);return}}Tp(e,t,c,a,s,o,y,b,A)}function cb(e){for(var t=e;;){var a=t.tag;if((a===0||a===11||a===15)&&t.flags&16384&&(a=t.updateQueue,a!==null&&(a=a.stores,a!==null)))for(var s=0;s<a.length;s++){var o=a[s],c=o.getSnapshot;o=o.value;try{if(!jt(c(),o))return!1}catch{return!1}}if(a=t.child,t.subtreeFlags&16384&&a!==null)a.return=t,t=a;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function In(e,t,a,s){t&=~Yu,t&=~Ra,e.suspendedLanes|=t,e.pingedLanes&=~t,s&&(e.warmLanes|=t),s=e.expirationTimes;for(var o=t;0<o;){var c=31-Et(o),y=1<<c;s[c]=-1,o&=~y}a!==0&&jd(e,a,t)}function Wl(){return(Ae&6)===0?(Es(0),!1):!0}function Zu(){if(ge!==null){if(Ce===0)var e=ge.return;else e=ge,yn=ba=null,cu(e),oi=null,ss=0,e=ge;for(;e!==null;)Xm(e.alternate,e),e=e.return;ge=null}}function vi(e,t){var a=e.timeoutHandle;a!==-1&&(e.timeoutHandle=-1,Db(a)),a=e.cancelPendingCommit,a!==null&&(e.cancelPendingCommit=null,a()),Mn=0,Zu(),ze=e,ge=a=pn(e.current,null),ve=t,Ce=0,Mt=null,Fn=!1,pi=qi(e,t),qu=!1,gi=Rt=Yu=Ra=Jn=He=0,vt=Ss=null,Pu=!1,(t&8)!==0&&(t|=t&32);var s=e.entangledLanes;if(s!==0)for(e=e.entanglements,s&=t;0<s;){var o=31-Et(s),c=1<<o;t|=e[o],s&=~c}return Cn=t,vl(),a}function pp(e,t){fe=null,k.H=hs,t===ri||t===wl?(t=Nh(),Ce=3):t===$o?(t=Nh(),Ce=4):Ce=t===wu?8:t!==null&&typeof t=="object"&&typeof t.then=="function"?6:1,Mt=t,ge===null&&(He=1,Gl(e,Vt(t,e.current)))}function gp(){var e=wt.current;return e===null?!0:(ve&4194048)===ve?Gt===null:(ve&62914560)===ve||(ve&536870912)!==0?e===Gt:!1}function yp(){var e=k.H;return k.H=hs,e===null?hs:e}function vp(){var e=k.A;return k.A=ob,e}function $l(){He=4,Fn||(ve&4194048)!==ve&&wt.current!==null||(pi=!0),(Jn&134217727)===0&&(Ra&134217727)===0||ze===null||In(ze,ve,Rt,!1)}function Fu(e,t,a){var s=Ae;Ae|=2;var o=yp(),c=vp();(ze!==e||ve!==t)&&(Jl=null,vi(e,t)),t=!1;var y=He;e:do try{if(Ce!==0&&ge!==null){var b=ge,A=Mt;switch(Ce){case 8:Zu(),y=6;break e;case 3:case 2:case 9:case 6:wt.current===null&&(t=!0);var L=Ce;if(Ce=0,Mt=null,xi(e,b,A,L),a&&pi){y=0;break e}break;default:L=Ce,Ce=0,Mt=null,xi(e,b,A,L)}}fb(),y=He;break}catch(H){pp(e,H)}while(!0);return t&&e.shellSuspendCounter++,yn=ba=null,Ae=s,k.H=o,k.A=c,ge===null&&(ze=null,ve=0,vl()),y}function fb(){for(;ge!==null;)xp(ge)}function db(e,t){var a=Ae;Ae|=2;var s=yp(),o=vp();ze!==e||ve!==t?(Jl=null,Fl=St()+500,vi(e,t)):pi=qi(e,t);e:do try{if(Ce!==0&&ge!==null){t=ge;var c=Mt;t:switch(Ce){case 1:Ce=0,Mt=null,xi(e,t,c,1);break;case 2:case 9:if(Rh(c)){Ce=0,Mt=null,bp(t);break}t=function(){Ce!==2&&Ce!==9||ze!==e||(Ce=7),sn(e)},c.then(t,t);break e;case 3:Ce=7;break e;case 4:Ce=5;break e;case 7:Rh(c)?(Ce=0,Mt=null,bp(t)):(Ce=0,Mt=null,xi(e,t,c,7));break;case 5:var y=null;switch(ge.tag){case 26:y=ge.memoizedState;case 5:case 27:var b=ge;if(y?sg(y):b.stateNode.complete){Ce=0,Mt=null;var A=b.sibling;if(A!==null)ge=A;else{var L=b.return;L!==null?(ge=L,Il(L)):ge=null}break t}}Ce=0,Mt=null,xi(e,t,c,5);break;case 6:Ce=0,Mt=null,xi(e,t,c,6);break;case 8:Zu(),He=6;break e;default:throw Error(r(462))}}hb();break}catch(H){pp(e,H)}while(!0);return yn=ba=null,k.H=s,k.A=o,Ae=a,ge!==null?0:(ze=null,ve=0,vl(),He)}function hb(){for(;ge!==null&&!V1();)xp(ge)}function xp(e){var t=Ym(e.alternate,e,Cn);e.memoizedProps=e.pendingProps,t===null?Il(e):ge=t}function bp(e){var t=e,a=t.alternate;switch(t.tag){case 15:case 0:t=Um(a,t,t.pendingProps,t.type,void 0,ve);break;case 11:t=Um(a,t,t.pendingProps,t.type.render,t.ref,ve);break;case 5:cu(t);default:Xm(a,t),t=ge=vh(t,Cn),t=Ym(a,t,Cn)}e.memoizedProps=e.pendingProps,t===null?Il(e):ge=t}function xi(e,t,a,s){yn=ba=null,cu(t),oi=null,ss=0;var o=t.return;try{if(tb(e,o,t,a,ve)){He=1,Gl(e,Vt(a,e.current)),ge=null;return}}catch(c){if(o!==null)throw ge=o,c;He=1,Gl(e,Vt(a,e.current)),ge=null;return}t.flags&32768?(be||s===1?e=!0:pi||(ve&536870912)!==0?e=!1:(Fn=e=!0,(s===2||s===9||s===3||s===6)&&(s=wt.current,s!==null&&s.tag===13&&(s.flags|=16384))),Sp(t,e)):Il(t)}function Il(e){var t=e;do{if((t.flags&32768)!==0){Sp(t,Fn);return}e=t.return;var a=ib(t.alternate,t,Cn);if(a!==null){ge=a;return}if(t=t.sibling,t!==null){ge=t;return}ge=t=e}while(t!==null);He===0&&(He=5)}function Sp(e,t){do{var a=sb(e.alternate,e);if(a!==null){a.flags&=32767,ge=a;return}if(a=e.return,a!==null&&(a.flags|=32768,a.subtreeFlags=0,a.deletions=null),!t&&(e=e.sibling,e!==null)){ge=e;return}ge=e=a}while(e!==null);He=6,ge=null}function Tp(e,t,a,s,o,c,y,b,A){e.cancelPendingCommit=null;do er();while(Je!==0);if((Ae&6)!==0)throw Error(r(327));if(t!==null){if(t===e.current)throw Error(r(177));if(c=t.lanes|t.childLanes,c|=Uo,K1(e,a,c,y,b,A),e===ze&&(ge=ze=null,ve=0),yi=t,$n=e,Mn=a,Xu=c,Ku=o,fp=s,(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?(e.callbackNode=null,e.callbackPriority=0,yb(nl,function(){return Cp(),null})):(e.callbackNode=null,e.callbackPriority=0),s=(t.flags&13878)!==0,(t.subtreeFlags&13878)!==0||s){s=k.T,k.T=null,o=Z.p,Z.p=2,y=Ae,Ae|=4;try{lb(e,t,a)}finally{Ae=y,Z.p=o,k.T=s}}Je=1,Ep(),jp(),Ap()}}function Ep(){if(Je===1){Je=0;var e=$n,t=yi,a=(t.flags&13878)!==0;if((t.subtreeFlags&13878)!==0||a){a=k.T,k.T=null;var s=Z.p;Z.p=2;var o=Ae;Ae|=4;try{ap(t,e);var c=rc,y=uh(e.containerInfo),b=c.focusedElem,A=c.selectionRange;if(y!==b&&b&&b.ownerDocument&&oh(b.ownerDocument.documentElement,b)){if(A!==null&&zo(b)){var L=A.start,H=A.end;if(H===void 0&&(H=L),"selectionStart"in b)b.selectionStart=L,b.selectionEnd=Math.min(H,b.value.length);else{var Y=b.ownerDocument||document,V=Y&&Y.defaultView||window;if(V.getSelection){var U=V.getSelection(),ee=b.textContent.length,se=Math.min(A.start,ee),Ne=A.end===void 0?se:Math.min(A.end,ee);!U.extend&&se>Ne&&(y=Ne,Ne=se,se=y);var N=rh(b,se),R=rh(b,Ne);if(N&&R&&(U.rangeCount!==1||U.anchorNode!==N.node||U.anchorOffset!==N.offset||U.focusNode!==R.node||U.focusOffset!==R.offset)){var O=Y.createRange();O.setStart(N.node,N.offset),U.removeAllRanges(),se>Ne?(U.addRange(O),U.extend(R.node,R.offset)):(O.setEnd(R.node,R.offset),U.addRange(O))}}}}for(Y=[],U=b;U=U.parentNode;)U.nodeType===1&&Y.push({element:U,left:U.scrollLeft,top:U.scrollTop});for(typeof b.focus=="function"&&b.focus(),b=0;b<Y.length;b++){var q=Y[b];q.element.scrollLeft=q.left,q.element.scrollTop=q.top}}dr=!!lc,rc=lc=null}finally{Ae=o,Z.p=s,k.T=a}}e.current=t,Je=2}}function jp(){if(Je===2){Je=0;var e=$n,t=yi,a=(t.flags&8772)!==0;if((t.subtreeFlags&8772)!==0||a){a=k.T,k.T=null;var s=Z.p;Z.p=2;var o=Ae;Ae|=4;try{$m(e,t.alternate,t)}finally{Ae=o,Z.p=s,k.T=a}}Je=3}}function Ap(){if(Je===4||Je===3){Je=0,U1();var e=$n,t=yi,a=Mn,s=fp;(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?Je=5:(Je=0,yi=$n=null,wp(e,e.pendingLanes));var o=e.pendingLanes;if(o===0&&(Wn=null),ho(a),t=t.stateNode,Tt&&typeof Tt.onCommitFiberRoot=="function")try{Tt.onCommitFiberRoot(Hi,t,void 0,(t.current.flags&128)===128)}catch{}if(s!==null){t=k.T,o=Z.p,Z.p=2,k.T=null;try{for(var c=e.onRecoverableError,y=0;y<s.length;y++){var b=s[y];c(b.value,{componentStack:b.stack})}}finally{k.T=t,Z.p=o}}(Mn&3)!==0&&er(),sn(e),o=e.pendingLanes,(a&261930)!==0&&(o&42)!==0?e===Qu?Ts++:(Ts=0,Qu=e):Ts=0,Es(0)}}function wp(e,t){(e.pooledCacheLanes&=t)===0&&(t=e.pooledCache,t!=null&&(e.pooledCache=null,as(t)))}function er(){return Ep(),jp(),Ap(),Cp()}function Cp(){if(Je!==5)return!1;var e=$n,t=Xu;Xu=0;var a=ho(Mn),s=k.T,o=Z.p;try{Z.p=32>a?32:a,k.T=null,a=Ku,Ku=null;var c=$n,y=Mn;if(Je=0,yi=$n=null,Mn=0,(Ae&6)!==0)throw Error(r(331));var b=Ae;if(Ae|=4,op(c.current),sp(c,c.current,y,a),Ae=b,Es(0,!1),Tt&&typeof Tt.onPostCommitFiberRoot=="function")try{Tt.onPostCommitFiberRoot(Hi,c)}catch{}return!0}finally{Z.p=o,k.T=s,wp(e,t)}}function Mp(e,t,a){t=Vt(a,t),t=Au(e.stateNode,t,2),e=Xn(e,t,2),e!==null&&(Yi(e,2),sn(e))}function Me(e,t,a){if(e.tag===3)Mp(e,e,a);else for(;t!==null;){if(t.tag===3){Mp(t,e,a);break}else if(t.tag===1){var s=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof s.componentDidCatch=="function"&&(Wn===null||!Wn.has(s))){e=Vt(a,e),a=Rm(2),s=Xn(t,a,2),s!==null&&(Dm(a,s,t,e),Yi(s,2),sn(s));break}}t=t.return}}function Ju(e,t,a){var s=e.pingCache;if(s===null){s=e.pingCache=new ub;var o=new Set;s.set(t,o)}else o=s.get(t),o===void 0&&(o=new Set,s.set(t,o));o.has(a)||(qu=!0,o.add(a),e=mb.bind(null,e,t,a),t.then(e,e))}function mb(e,t,a){var s=e.pingCache;s!==null&&s.delete(t),e.pingedLanes|=e.suspendedLanes&a,e.warmLanes&=~a,ze===e&&(ve&a)===a&&(He===4||He===3&&(ve&62914560)===ve&&300>St()-Zl?(Ae&2)===0&&vi(e,0):Yu|=a,gi===ve&&(gi=0)),sn(e)}function Rp(e,t){t===0&&(t=Ed()),e=ya(e,t),e!==null&&(Yi(e,t),sn(e))}function pb(e){var t=e.memoizedState,a=0;t!==null&&(a=t.retryLane),Rp(e,a)}function gb(e,t){var a=0;switch(e.tag){case 31:case 13:var s=e.stateNode,o=e.memoizedState;o!==null&&(a=o.retryLane);break;case 19:s=e.stateNode;break;case 22:s=e.stateNode._retryCache;break;default:throw Error(r(314))}s!==null&&s.delete(t),Rp(e,a)}function yb(e,t){return oo(e,t)}var tr=null,bi=null,Wu=!1,nr=!1,$u=!1,ea=0;function sn(e){e!==bi&&e.next===null&&(bi===null?tr=bi=e:bi=bi.next=e),nr=!0,Wu||(Wu=!0,xb())}function Es(e,t){if(!$u&&nr){$u=!0;do for(var a=!1,s=tr;s!==null;){if(e!==0){var o=s.pendingLanes;if(o===0)var c=0;else{var y=s.suspendedLanes,b=s.pingedLanes;c=(1<<31-Et(42|e)+1)-1,c&=o&~(y&~b),c=c&201326741?c&201326741|1:c?c|2:0}c!==0&&(a=!0,Op(s,c))}else c=ve,c=ll(s,s===ze?c:0,s.cancelPendingCommit!==null||s.timeoutHandle!==-1),(c&3)===0||qi(s,c)||(a=!0,Op(s,c));s=s.next}while(a);$u=!1}}function vb(){Dp()}function Dp(){nr=Wu=!1;var e=0;ea!==0&&Rb()&&(e=ea);for(var t=St(),a=null,s=tr;s!==null;){var o=s.next,c=Np(s,t);c===0?(s.next=null,a===null?tr=o:a.next=o,o===null&&(bi=a)):(a=s,(e!==0||(c&3)!==0)&&(nr=!0)),s=o}Je!==0&&Je!==5||Es(e),ea!==0&&(ea=0)}function Np(e,t){for(var a=e.suspendedLanes,s=e.pingedLanes,o=e.expirationTimes,c=e.pendingLanes&-62914561;0<c;){var y=31-Et(c),b=1<<y,A=o[y];A===-1?((b&a)===0||(b&s)!==0)&&(o[y]=X1(b,t)):A<=t&&(e.expiredLanes|=b),c&=~b}if(t=ze,a=ve,a=ll(e,e===t?a:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),s=e.callbackNode,a===0||e===t&&(Ce===2||Ce===9)||e.cancelPendingCommit!==null)return s!==null&&s!==null&&uo(s),e.callbackNode=null,e.callbackPriority=0;if((a&3)===0||qi(e,a)){if(t=a&-a,t===e.callbackPriority)return t;switch(s!==null&&uo(s),ho(a)){case 2:case 8:a=Sd;break;case 32:a=nl;break;case 268435456:a=Td;break;default:a=nl}return s=zp.bind(null,e),a=oo(a,s),e.callbackPriority=t,e.callbackNode=a,t}return s!==null&&s!==null&&uo(s),e.callbackPriority=2,e.callbackNode=null,2}function zp(e,t){if(Je!==0&&Je!==5)return e.callbackNode=null,e.callbackPriority=0,null;var a=e.callbackNode;if(er()&&e.callbackNode!==a)return null;var s=ve;return s=ll(e,e===ze?s:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),s===0?null:(hp(e,s,t),Np(e,St()),e.callbackNode!=null&&e.callbackNode===a?zp.bind(null,e):null)}function Op(e,t){if(er())return null;hp(e,t,!0)}function xb(){Nb(function(){(Ae&6)!==0?oo(bd,vb):Dp()})}function Iu(){if(ea===0){var e=si;e===0&&(e=al,al<<=1,(al&261888)===0&&(al=256)),ea=e}return ea}function Lp(e){return e==null||typeof e=="symbol"||typeof e=="boolean"?null:typeof e=="function"?e:cl(""+e)}function _p(e,t){var a=t.ownerDocument.createElement("input");return a.name=t.name,a.value=t.value,e.id&&a.setAttribute("form",e.id),t.parentNode.insertBefore(a,t),e=new FormData(e),a.parentNode.removeChild(a),e}function bb(e,t,a,s,o){if(t==="submit"&&a&&a.stateNode===o){var c=Lp((o[ht]||null).action),y=s.submitter;y&&(t=(t=y[ht]||null)?Lp(t.formAction):y.getAttribute("formAction"),t!==null&&(c=t,y=null));var b=new ml("action","action",null,s,o);e.push({event:b,listeners:[{instance:null,listener:function(){if(s.defaultPrevented){if(ea!==0){var A=y?_p(o,y):new FormData(o);xu(a,{pending:!0,data:A,method:o.method,action:c},null,A)}}else typeof c=="function"&&(b.preventDefault(),A=y?_p(o,y):new FormData(o),xu(a,{pending:!0,data:A,method:o.method,action:c},c,A))},currentTarget:o}]})}}for(var ec=0;ec<Vo.length;ec++){var tc=Vo[ec],Sb=tc.toLowerCase(),Tb=tc[0].toUpperCase()+tc.slice(1);Kt(Sb,"on"+Tb)}Kt(dh,"onAnimationEnd"),Kt(hh,"onAnimationIteration"),Kt(mh,"onAnimationStart"),Kt("dblclick","onDoubleClick"),Kt("focusin","onFocus"),Kt("focusout","onBlur"),Kt(Bx,"onTransitionRun"),Kt(kx,"onTransitionStart"),Kt(Gx,"onTransitionCancel"),Kt(ph,"onTransitionEnd"),Xa("onMouseEnter",["mouseout","mouseover"]),Xa("onMouseLeave",["mouseout","mouseover"]),Xa("onPointerEnter",["pointerout","pointerover"]),Xa("onPointerLeave",["pointerout","pointerover"]),ha("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),ha("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),ha("onBeforeInput",["compositionend","keypress","textInput","paste"]),ha("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),ha("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),ha("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var js="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(" "),Eb=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(js));function Vp(e,t){t=(t&4)!==0;for(var a=0;a<e.length;a++){var s=e[a],o=s.event;s=s.listeners;e:{var c=void 0;if(t)for(var y=s.length-1;0<=y;y--){var b=s[y],A=b.instance,L=b.currentTarget;if(b=b.listener,A!==c&&o.isPropagationStopped())break e;c=b,o.currentTarget=L;try{c(o)}catch(H){yl(H)}o.currentTarget=null,c=A}else for(y=0;y<s.length;y++){if(b=s[y],A=b.instance,L=b.currentTarget,b=b.listener,A!==c&&o.isPropagationStopped())break e;c=b,o.currentTarget=L;try{c(o)}catch(H){yl(H)}o.currentTarget=null,c=A}}}}function ye(e,t){var a=t[mo];a===void 0&&(a=t[mo]=new Set);var s=e+"__bubble";a.has(s)||(Up(t,e,2,!1),a.add(s))}function nc(e,t,a){var s=0;t&&(s|=4),Up(a,e,s,t)}var ar="_reactListening"+Math.random().toString(36).slice(2);function ac(e){if(!e[ar]){e[ar]=!0,Dd.forEach(function(a){a!=="selectionchange"&&(Eb.has(a)||nc(a,!1,e),nc(a,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[ar]||(t[ar]=!0,nc("selectionchange",!1,t))}}function Up(e,t,a,s){switch(dg(t)){case 2:var o=Wb;break;case 8:o=$b;break;default:o=vc}a=o.bind(null,t,a,e),o=void 0,!Eo||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(o=!0),s?o!==void 0?e.addEventListener(t,a,{capture:!0,passive:o}):e.addEventListener(t,a,!0):o!==void 0?e.addEventListener(t,a,{passive:o}):e.addEventListener(t,a,!1)}function ic(e,t,a,s,o){var c=s;if((t&1)===0&&(t&2)===0&&s!==null)e:for(;;){if(s===null)return;var y=s.tag;if(y===3||y===4){var b=s.stateNode.containerInfo;if(b===o)break;if(y===4)for(y=s.return;y!==null;){var A=y.tag;if((A===3||A===4)&&y.stateNode.containerInfo===o)return;y=y.return}for(;b!==null;){if(y=qa(b),y===null)return;if(A=y.tag,A===5||A===6||A===26||A===27){s=c=y;continue e}b=b.parentNode}}s=s.return}qd(function(){var L=c,H=So(a),Y=[];e:{var V=gh.get(e);if(V!==void 0){var U=ml,ee=e;switch(e){case"keypress":if(dl(a)===0)break e;case"keydown":case"keyup":U=gx;break;case"focusin":ee="focus",U=Co;break;case"focusout":ee="blur",U=Co;break;case"beforeblur":case"afterblur":U=Co;break;case"click":if(a.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":U=Xd;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":U=ix;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":U=xx;break;case dh:case hh:case mh:U=rx;break;case ph:U=Sx;break;case"scroll":case"scrollend":U=nx;break;case"wheel":U=Ex;break;case"copy":case"cut":case"paste":U=ux;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":U=Qd;break;case"toggle":case"beforetoggle":U=Ax}var se=(t&4)!==0,Ne=!se&&(e==="scroll"||e==="scrollend"),N=se?V!==null?V+"Capture":null:V;se=[];for(var R=L,O;R!==null;){var q=R;if(O=q.stateNode,q=q.tag,q!==5&&q!==26&&q!==27||O===null||N===null||(q=Ki(R,N),q!=null&&se.push(As(R,q,O))),Ne)break;R=R.return}0<se.length&&(V=new U(V,ee,null,a,H),Y.push({event:V,listeners:se}))}}if((t&7)===0){e:{if(V=e==="mouseover"||e==="pointerover",U=e==="mouseout"||e==="pointerout",V&&a!==bo&&(ee=a.relatedTarget||a.fromElement)&&(qa(ee)||ee[Ha]))break e;if((U||V)&&(V=H.window===H?H:(V=H.ownerDocument)?V.defaultView||V.parentWindow:window,U?(ee=a.relatedTarget||a.toElement,U=L,ee=ee?qa(ee):null,ee!==null&&(Ne=f(ee),se=ee.tag,ee!==Ne||se!==5&&se!==27&&se!==6)&&(ee=null)):(U=null,ee=L),U!==ee)){if(se=Xd,q="onMouseLeave",N="onMouseEnter",R="mouse",(e==="pointerout"||e==="pointerover")&&(se=Qd,q="onPointerLeave",N="onPointerEnter",R="pointer"),Ne=U==null?V:Xi(U),O=ee==null?V:Xi(ee),V=new se(q,R+"leave",U,a,H),V.target=Ne,V.relatedTarget=O,q=null,qa(H)===L&&(se=new se(N,R+"enter",ee,a,H),se.target=O,se.relatedTarget=Ne,q=se),Ne=q,U&&ee)t:{for(se=jb,N=U,R=ee,O=0,q=N;q;q=se(q))O++;q=0;for(var ae=R;ae;ae=se(ae))q++;for(;0<O-q;)N=se(N),O--;for(;0<q-O;)R=se(R),q--;for(;O--;){if(N===R||R!==null&&N===R.alternate){se=N;break t}N=se(N),R=se(R)}se=null}else se=null;U!==null&&Bp(Y,V,U,se,!1),ee!==null&&Ne!==null&&Bp(Y,Ne,ee,se,!0)}}e:{if(V=L?Xi(L):window,U=V.nodeName&&V.nodeName.toLowerCase(),U==="select"||U==="input"&&V.type==="file")var Ee=th;else if(Id(V))if(nh)Ee=_x;else{Ee=Ox;var ne=zx}else U=V.nodeName,!U||U.toLowerCase()!=="input"||V.type!=="checkbox"&&V.type!=="radio"?L&&xo(L.elementType)&&(Ee=th):Ee=Lx;if(Ee&&(Ee=Ee(e,L))){eh(Y,Ee,a,H);break e}ne&&ne(e,V,L),e==="focusout"&&L&&V.type==="number"&&L.memoizedProps.value!=null&&vo(V,"number",V.value)}switch(ne=L?Xi(L):window,e){case"focusin":(Id(ne)||ne.contentEditable==="true")&&(Wa=ne,Oo=L,es=null);break;case"focusout":es=Oo=Wa=null;break;case"mousedown":Lo=!0;break;case"contextmenu":case"mouseup":case"dragend":Lo=!1,ch(Y,a,H);break;case"selectionchange":if(Ux)break;case"keydown":case"keyup":ch(Y,a,H)}var me;if(Ro)e:{switch(e){case"compositionstart":var xe="onCompositionStart";break e;case"compositionend":xe="onCompositionEnd";break e;case"compositionupdate":xe="onCompositionUpdate";break e}xe=void 0}else Ja?Wd(e,a)&&(xe="onCompositionEnd"):e==="keydown"&&a.keyCode===229&&(xe="onCompositionStart");xe&&(Zd&&a.locale!=="ko"&&(Ja||xe!=="onCompositionStart"?xe==="onCompositionEnd"&&Ja&&(me=Yd()):(Bn=H,jo="value"in Bn?Bn.value:Bn.textContent,Ja=!0)),ne=ir(L,xe),0<ne.length&&(xe=new Kd(xe,e,null,a,H),Y.push({event:xe,listeners:ne}),me?xe.data=me:(me=$d(a),me!==null&&(xe.data=me)))),(me=Cx?Mx(e,a):Rx(e,a))&&(xe=ir(L,"onBeforeInput"),0<xe.length&&(ne=new Kd("onBeforeInput","beforeinput",null,a,H),Y.push({event:ne,listeners:xe}),ne.data=me)),bb(Y,e,L,a,H)}Vp(Y,t)})}function As(e,t,a){return{instance:e,listener:t,currentTarget:a}}function ir(e,t){for(var a=t+"Capture",s=[];e!==null;){var o=e,c=o.stateNode;if(o=o.tag,o!==5&&o!==26&&o!==27||c===null||(o=Ki(e,a),o!=null&&s.unshift(As(e,o,c)),o=Ki(e,t),o!=null&&s.push(As(e,o,c))),e.tag===3)return s;e=e.return}return[]}function jb(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function Bp(e,t,a,s,o){for(var c=t._reactName,y=[];a!==null&&a!==s;){var b=a,A=b.alternate,L=b.stateNode;if(b=b.tag,A!==null&&A===s)break;b!==5&&b!==26&&b!==27||L===null||(A=L,o?(L=Ki(a,c),L!=null&&y.unshift(As(a,L,A))):o||(L=Ki(a,c),L!=null&&y.push(As(a,L,A)))),a=a.return}y.length!==0&&e.push({event:t,listeners:y})}var Ab=/\r\n?/g,wb=/\u0000|\uFFFD/g;function kp(e){return(typeof e=="string"?e:""+e).replace(Ab,`
49`).replace(wb,"")}function Gp(e,t){return t=kp(t),kp(e)===t}function De(e,t,a,s,o,c){switch(a){case"children":typeof s=="string"?t==="body"||t==="textarea"&&s===""||Qa(e,s):(typeof s=="number"||typeof s=="bigint")&&t!=="body"&&Qa(e,""+s);break;case"className":ol(e,"class",s);break;case"tabIndex":ol(e,"tabindex",s);break;case"dir":case"role":case"viewBox":case"width":case"height":ol(e,a,s);break;case"style":Gd(e,s,c);break;case"data":if(t!=="object"){ol(e,"data",s);break}case"src":case"href":if(s===""&&(t!=="a"||a!=="href")){e.removeAttribute(a);break}if(s==null||typeof s=="function"||typeof s=="symbol"||typeof s=="boolean"){e.removeAttribute(a);break}s=cl(""+s),e.setAttribute(a,s);break;case"action":case"formAction":if(typeof s=="function"){e.setAttribute(a,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof c=="function"&&(a==="formAction"?(t!=="input"&&De(e,t,"name",o.name,o,null),De(e,t,"formEncType",o.formEncType,o,null),De(e,t,"formMethod",o.formMethod,o,null),De(e,t,"formTarget",o.formTarget,o,null)):(De(e,t,"encType",o.encType,o,null),De(e,t,"method",o.method,o,null),De(e,t,"target",o.target,o,null)));if(s==null||typeof s=="symbol"||typeof s=="boolean"){e.removeAttribute(a);break}s=cl(""+s),e.setAttribute(a,s);break;case"onClick":s!=null&&(e.onclick=hn);break;case"onScroll":s!=null&&ye("scroll",e);break;case"onScrollEnd":s!=null&&ye("scrollend",e);break;case"dangerouslySetInnerHTML":if(s!=null){if(typeof s!="object"||!("__html"in s))throw Error(r(61));if(a=s.__html,a!=null){if(o.children!=null)throw Error(r(60));e.innerHTML=a}}break;case"multiple":e.multiple=s&&typeof s!="function"&&typeof s!="symbol";break;case"muted":e.muted=s&&typeof s!="function"&&typeof s!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(s==null||typeof s=="function"||typeof s=="boolean"||typeof s=="symbol"){e.removeAttribute("xlink:href");break}a=cl(""+s),e.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",a);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":s!=null&&typeof s!="function"&&typeof s!="symbol"?e.setAttribute(a,""+s):e.removeAttribute(a);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInl
49ine":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":s&&typeof s!="function"&&typeof s!="symbol"?e.setAttribute(a,""):e.removeAttribute(a);break;case"capture":case"download":s===!0?e.setAttribute(a,""):s!==!1&&s!=null&&typeof s!="function"&&typeof s!="symbol"?e.setAttribute(a,s):e.removeAttribute(a);break;case"cols":case"rows":case"size":case"span":s!=null&&typeof s!="function"&&typeof s!="symbol"&&!isNaN(s)&&1<=s?e.setAttribute(a,s):e.removeAttribute(a);break;case"rowSpan":case"start":s==null||typeof s=="function"||typeof s=="symbol"||isNaN(s)?e.removeAttribute(a):e.setAttribute(a,s);break;case"popover":ye("beforetoggle",e),ye("toggle",e),rl(e,"popover",s);break;case"xlinkActuate":dn(e,"http://www.w3.org/1999/xlink","xlink:actuate",s);break;case"xlinkArcrole":dn(e,"http://www.w3.org/1999/xlink","xlink:arcrole",s);break;case"xlinkRole":dn(e,"http://www.w3.org/1999/xlink","xlink:role",s);break;case"xlinkShow":dn(e,"http://www.w3.org/1999/xlink","xlink:show",s);break;case"xlinkTitle":dn(e,"http://www.w3.org/1999/xlink","xlink:title",s);break;case"xlinkType":dn(e,"http://www.w3.org/1999/xlink","xlink:type",s);break;case"xmlBase":dn(e,"http://www.w3.org/XML/1998/namespace","xml:base",s);break;case"xmlLang":dn(e,"http://www.w3.org/XML/1998/namespace","xml:lang",s);break;case"xmlSpace":dn(e,"http://www.w3.org/XML/1998/namespace","xml:space",s);break;case"is":rl(e,"is",s);break;case"innerText":case"textContent":break;default:(!(2<a.length)||a[0]!=="o"&&a[0]!=="O"||a[1]!=="n"&&a[1]!=="N")&&(a=ex.get(a)||a,rl(e,a,s))}}function sc(e,t,a,s,o,c){switch(a){case"style":Gd(e,s,c);break;case"dangerouslySetInnerHTML":if(s!=null){if(typeof s!="object"||!("__html"in s))throw Error(r(61));if(a=s.__html,a!=null){if(o.children!=null)throw Error(r(60));e.innerHTML=a}}break;case"children":typeof s=="string"?Qa(e,s):(typeof s=="number"||typeof s=="bigint")&&Qa(e,""+s);break;case"onScroll":s!=null&&ye("scroll",e);break;case"onScrollEnd":s!=null&&ye("scrollend",e);break;case"onClick":s!=null&&(e.onclick=hn);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!Nd.hasOwnProperty(a))e:{if(a[0]==="o"&&a[1]==="n"&&(o=a.endsWith("Capture"),t=a.slice(2,o?a.length-7:void 0),c=e[ht]||null,c=c!=null?c[a]:null,typeof c=="function"&&e.removeEventListener(t,c,o),typeof s=="function")){typeof c!="function"&&c!==null&&(a in e?e[a]=null:e.hasAttribute(a)&&e.removeAttribute(a)),e.addEventListener(t,s,o);break e}a in e?e[a]=s:s===!0?e.setAttribute(a,""):rl(e,a,s)}}}function st(e,t,a){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":ye("error",e),ye("load",e);var s=!1,o=!1,c;for(c in a)if(a.hasOwnProperty(c)){var y=a[c];if(y!=null)switch(c){case"src":s=!0;break;case"srcSet":o=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(r(137,t));default:De(e,t,c,y,a,null)}}o&&De(e,t,"srcSet",a.srcSet,a,null),s&&De(e,t,"src",a.src,a,null);return;case"input":ye("invalid",e);var b=c=y=o=null,A=null,L=null;for(s in a)if(a.hasOwnProperty(s)){var H=a[s];if(H!=null)switch(s){case"name":o=H;break;case"type":y=H;break;case"checked":A=H;break;case"defaultChecked":L=H;break;case"value":c=H;break;case"defaultValue":b=H;break;case"children":case"dangerouslySetInnerHTML":if(H!=null)throw Error(r(137,t));break;default:De(e,t,s,H,a,null)}}Vd(e,c,b,A,L,y,o,!1);return;case"select":ye("invalid",e),s=y=c=null;for(o in a)if(a.hasOwnProperty(o)&&(b=a[o],b!=null))switch(o){case"value":c=b;break;case"defaultValue":y=b;break;case"multiple":s=b;default:De(e,t,o,b,a,null)}t=c,a=y,e.multiple=!!s,t!=null?Ka(e,!!s,t,!1):a!=null&&Ka(e,!!s,a,!0);return;case"textarea":ye("invalid",e),c=o=s=null;for(y in a)if(a.hasOwnProperty(y)&&(b=a[y],b!=null))switch(y){case"value":s=b;break;case"defaultValue":o=b;break;case"children":c=b;break;case"dangerouslySetInnerHTML":if(b!=null)throw Error(r(91));break;default:De(e,t,y,b,a,null)}Bd(e,s,o,c);return;case"option":for(A in a)if(a.hasOwnProperty(A)&&(s=a[A],s!=null))switch(A){case"selected":e.selected=s&&typeof s!="function"&&typeof s!="symbol";break;default:De(e,t,A,s,a,null)}return;case"dialog":ye("beforetoggle",e),ye("toggle",e),ye("cancel",e),ye("close",e);break;case"iframe":case"object":ye("load",e);break;case"video":case"audio":for(s=0;s<js.length;s++)ye(js[s],e);break;case"image":ye("error",e),ye("load",e);break;case"details":ye("toggle",e);break;case"embed":case"source":case"link":ye("error",e),ye("load",e);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(L in a)if(a.hasOwnProperty(L)&&(s=a[L],s!=null))switch(L){case"children":case"dangerouslySetInnerHTML":throw Error(r(137,t));default:De(e,t,L,s,a,null)}return;default:if(xo(t)){for(H in a)a.hasOwnProperty(H)&&(s=a[H],s!==void 0&&sc(e,t,H,s,a,void 0));return}}for(b in a)a.hasOwnProperty(b)&&(s=a[b],s!=null&&De(e,t,b,s,a,null))}function Cb(e,t,a,s){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var o=null,c=null,y=null,b=null,A=null,L=null,H=null;for(U in a){var Y=a[U];if(a.hasOwnProperty(U)&&Y!=null)switch(U){case"checked":break;case"value":break;case"defaultValue":A=Y;default:s.hasOwnProperty(U)||De(e,t,U,null,s,Y)}}for(var V in s){var U=s[V];if(Y=a[V],s.hasOwnProperty(V)&&(U!=null||Y!=null))switch(V){case"type":c=U;break;case"name":o=U;break;case"checked":L=U;break;case"defaultChecked":H=U;break;case"value":y=U;break;case"defaultValue":b=U;break;case"children":case"dangerouslySetInnerHTML":if(U!=null)throw Error(r(137,t));break;default:U!==Y&&De(e,t,V,U,s,Y)}}yo(e,y,b,A,L,H,c,o);return;case"select":U=y=b=V=null;for(c in a)if(A=a[c],a.hasOwnProperty(c)&&A!=null)switch(c){case"value":break;case"multiple":U=A;default:s.hasOwnProperty(c)||De(e,t,c,null,s,A)}for(o in s)if(c=s[o],A=a[o],s.hasOwnProperty(o)&&(c!=null||A!=null))switch(o){case"value":V=c;break;case"defaultValue":b=c;break;case"multiple":y=c;default:c!==A&&De(e,t,o,c,s,A)}t=b,a=y,s=U,V!=null?Ka(e,!!a,V,!1):!!s!=!!a&&(t!=null?Ka(e,!!a,t,!0):Ka(e,!!a,a?[]:"",!1));return;case"textarea":U=V=null;for(b in a)if(o=a[b],a.hasOwnProperty(b)&&o!=null&&!s.hasOwnProperty(b))switch(b){case"value":break;case"children":break;default:De(e,t,b,null,s,o)}for(y in s)if(o=s[y],c=a[y],s.hasOwnProperty(y)&&(o!=null||c!=null))switch(y){case"value":V=o;break;case"defaultValue":U=o;break;case"children":break;case"dangerouslySetInnerHTML":if(o!=null)throw Error(r(91));break;default:o!==c&&De(e,t,y,o,s,c)}Ud(e,V,U);return;case"option":for(var ee in a)if(V=a[ee],a.hasOwnProperty(ee)&&V!=null&&!s.hasOwnProperty(ee))switch(ee){case"selected":e.selected=!1;break;default:De(e,t,ee,null,s,V)}for(A in s)if(V=s[A],U=a[A],s.hasOwnProperty(A)&&V!==U&&(V!=null||U!=null))switch(A){case"selected":e.selected=V&&typeof V!="function"&&typeof V!="symbol";break;default:De(e,t,A,V,s,U)}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 se in a)V=a[se],a.hasOwnProperty(se)&&V!=null&&!s.hasOwnProperty(se)&&De(e,t,se,null,s,V);for(L in s)if(V=s[L],U=a[L],s.hasOwnProperty(L)&&V!==U&&(V!=null||U!=null))switch(L){case"children":case"dangerouslySetInnerHTML":if(V!=null)throw Error(r(137,t));break;default:De(e,t,L,V,s,U)}return;default:if(xo(t)){for(var Ne in a)V=a[Ne],a.hasOwnProperty(Ne)&&V!==void 0&&!s.hasOwnProperty(Ne)&&sc(e,t,
vendor: 14,170 bytes, line 49
49Ne,void 0,s,V);for(H in s)V=s[H],U=a[H],!s.hasOwnProperty(H)||V===U||V===void 0&&U===void 0||sc(e,t,H,V,s,U);return}}for(var N in a)V=a[N],a.hasOwnProperty(N)&&V!=null&&!s.hasOwnProperty(N)&&De(e,t,N,null,s,V);for(Y in s)V=s[Y],U=a[Y],!s.hasOwnProperty(Y)||V===U||V==null&&U==null||De(e,t,Y,V,s,U)}function Hp(e){switch(e){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function Mb(){if(typeof performance.getEntriesByType=="function"){for(var e=0,t=0,a=performance.getEntriesByType("resource"),s=0;s<a.length;s++){var o=a[s],c=o.transferSize,y=o.initiatorType,b=o.duration;if(c&&b&&Hp(y)){for(y=0,b=o.responseEnd,s+=1;s<a.length;s++){var A=a[s],L=A.startTime;if(L>b)break;var H=A.transferSize,Y=A.initiatorType;H&&Hp(Y)&&(A=A.responseEnd,y+=H*(A<b?1:(b-L)/(A-L)))}if(--s,t+=8*(c+y)/(o.duration/1e3),e++,10<e)break}}if(0<e)return t/e/1e6}return navigator.connection&&(e=navigator.connection.downlink,typeof e=="number")?e:5}var lc=null,rc=null;function sr(e){return e.nodeType===9?e:e.ownerDocument}function qp(e){switch(e){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function Yp(e,t){if(e===0)switch(t){case"svg":return 1;case"math":return 2;default:return 0}return e===1&&t==="foreignObject"?0:e}function oc(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.children=="bigint"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var uc=null;function Rb(){var e=window.event;return e&&e.type==="popstate"?e===uc?!1:(uc=e,!0):(uc=null,!1)}var Pp=typeof setTimeout=="function"?setTimeout:void 0,Db=typeof clearTimeout=="function"?clearTimeout:void 0,Xp=typeof Promise=="function"?Promise:void 0,Nb=typeof queueMicrotask=="function"?queueMicrotask:typeof Xp<"u"?function(e){return Xp.resolve(null).then(e).catch(zb)}:Pp;function zb(e){setTimeout(function(){throw e})}function ta(e){return e==="head"}function Kp(e,t){var a=t,s=0;do{var o=a.nextSibling;if(e.removeChild(a),o&&o.nodeType===8)if(a=o.data,a==="/$"||a==="/&"){if(s===0){e.removeChild(o),ji(t);return}s--}else if(a==="$"||a==="$?"||a==="$~"||a==="$!"||a==="&")s++;else if(a==="html")ws(e.ownerDocument.documentElement);else if(a==="head"){a=e.ownerDocument.head,ws(a);for(var c=a.firstChild;c;){var y=c.nextSibling,b=c.nodeName;c[Pi]||b==="SCRIPT"||b==="STYLE"||b==="LINK"&&c.rel.toLowerCase()==="stylesheet"||a.removeChild(c),c=y}}else a==="body"&&ws(e.ownerDocument.body);a=o}while(a);ji(t)}function Qp(e,t){var a=e;e=0;do{var s=a.nextSibling;if(a.nodeType===1?t?(a._stashedDisplay=a.style.display,a.style.display="none"):(a.style.display=a._stashedDisplay||"",a.getAttribute("style")===""&&a.removeAttribute("style")):a.nodeType===3&&(t?(a._stashedText=a.nodeValue,a.nodeValue=""):a.nodeValue=a._stashedText||""),s&&s.nodeType===8)if(a=s.data,a==="/$"){if(e===0)break;e--}else a!=="$"&&a!=="$?"&&a!=="$~"&&a!=="$!"||e++;a=s}while(a)}function cc(e){var t=e.firstChild;for(t&&t.nodeType===10&&(t=t.nextSibling);t;){var a=t;switch(t=t.nextSibling,a.nodeName){case"HTML":case"HEAD":case"BODY":cc(a),po(a);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(a.rel.toLowerCase()==="stylesheet")continue}e.removeChild(a)}}function Ob(e,t,a,s){for(;e.nodeType===1;){var o=a;if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!s&&(e.nodeName!=="INPUT"||e.type!=="hidden"))break}else if(s){if(!e[Pi])switch(t){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if(c=e.getAttribute("rel"),c==="stylesheet"&&e.hasAttribute("data-precedence"))break;if(c!==o.rel||e.getAttribute("href")!==(o.href==null||o.href===""?null:o.href)||e.getAttribute("crossorigin")!==(o.crossOrigin==null?null:o.crossOrigin)||e.getAttribute("title")!==(o.title==null?null:o.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(c=e.getAttribute("src"),(c!==(o.src==null?null:o.src)||e.getAttribute("type")!==(o.type==null?null:o.type)||e.getAttribute("crossorigin")!==(o.crossOrigin==null?null:o.crossOrigin))&&c&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else if(t==="input"&&e.type==="hidden"){var c=o.name==null?null:""+o.name;if(o.type==="hidden"&&e.getAttribute("name")===c)return e}else return e;if(e=Ht(e.nextSibling),e===null)break}return null}function Lb(e,t,a){if(t==="")return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!a||(e=Ht(e.nextSibling),e===null))return null;return e}function Zp(e,t){for(;e.nodeType!==8;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!t||(e=Ht(e.nextSibling),e===null))return null;return e}function fc(e){return e.data==="$?"||e.data==="$~"}function dc(e){return e.data==="$!"||e.data==="$?"&&e.ownerDocument.readyState!=="loading"}function _b(e,t){var a=e.ownerDocument;if(e.data==="$~")e._reactRetry=t;else if(e.data!=="$?"||a.readyState!=="loading")t();else{var s=function(){t(),a.removeEventListener("DOMContentLoaded",s)};a.addEventListener("DOMContentLoaded",s),e._reactRetry=s}}function Ht(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?"||t==="$~"||t==="&"||t==="F!"||t==="F")break;if(t==="/$"||t==="/&")return null}}return e}var hc=null;function Fp(e){e=e.nextSibling;for(var t=0;e;){if(e.nodeType===8){var a=e.data;if(a==="/$"||a==="/&"){if(t===0)return Ht(e.nextSibling);t--}else a!=="$"&&a!=="$!"&&a!=="$?"&&a!=="$~"&&a!=="&"||t++}e=e.nextSibling}return null}function Jp(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var a=e.data;if(a==="$"||a==="$!"||a==="$?"||a==="$~"||a==="&"){if(t===0)return e;t--}else a!=="/$"&&a!=="/&"||t++}e=e.previousSibling}return null}function Wp(e,t,a){switch(t=sr(a),e){case"html":if(e=t.documentElement,!e)throw Error(r(452));return e;case"head":if(e=t.head,!e)throw Error(r(453));return e;case"body":if(e=t.body,!e)throw Error(r(454));return e;default:throw Error(r(451))}}function ws(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);po(e)}var qt=new Map,$p=new Set;function lr(e){return typeof e.getRootNode=="function"?e.getRootNode():e.nodeType===9?e:e.ownerDocument}var Rn=Z.d;Z.d={f:Vb,r:Ub,D:Bb,C:kb,L:Gb,m:Hb,X:Yb,S:qb,M:Pb};function Vb(){var e=Rn.f(),t=Wl();return e||t}function Ub(e){var t=Ya(e);t!==null&&t.tag===5&&t.type==="form"?pm(t):Rn.r(e)}var Si=typeof document>"u"?null:document;function Ip(e,t,a){var s=Si;if(s&&typeof t=="string"&&t){var o=Lt(t);o='link[rel="'+e+'"][href="'+o+'"]',typeof a=="string"&&(o+='[crossorigin="'+a+'"]'),$p.has(o)||($p.add(o),e={rel:e,crossOrigin:a,href:t},s.querySelector(o)===null&&(t=s.createElement("link"),st(t,"link",e),Ie(t),s.head.appendChild(t)))}}function Bb(e){Rn.D(e),Ip("dns-prefetch",e,null)}function kb(e,t){Rn.C(e,t),Ip("preconnect",e,t)}function Gb(e,t,a){Rn.L(e,t,a);var s=Si;if(s&&e&&t){var o='link[rel="preload"][as="'+Lt(t)+'"]';t==="image"&&a&&a.imageSrcSet?(o+='[imagesrcset="'+Lt(a.imageSrcSet)+'"]',typeof a.imageSizes=="string"&&(o+='[imagesizes="'+Lt(a.imageSizes)+'"]')):o+='[href="'+Lt(e)+'"]';var c=o;switch(t){case"style":c=Ti(e);break;case"script":c=Ei(e)}qt.has(c)||(e=x({rel:"preload",href:t==="image"&&a&&a.imageSrcSet?void 0:e,as:t},a),qt.set(c,e),s.querySelector(o)!==null||t==="style"&&s.querySelector(Cs(c))||t==="script"&&s.querySelector(Ms(c))||(t=s.createElement("link"),st(t,"link",e),Ie(t),s.head.appendChild(t)))}}function Hb(e,t){Rn.m(e,t);var a=Si;if(a&&e){var s=t&&typeof t.as=="string"?t.as:"script",o='link[rel="modulepreload"][as="'+Lt(s)+'"][href="'+Lt(e)+'"]',c=o;switch(s){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":c=Ei(e)}if(!qt.has(c)&&(e=x({rel:"modulepreload",href:e},t),qt.set(c,e),a.querySelector(o)===null)){switch(s){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(a.querySelector(Ms(c)))return}s=a.createElement("link"),st(s,"link",e),Ie(s),a.head.appendChild(s)}}}function qb(e,t,a){Rn.S(e,t,a);var s=Si;if(s&&e){var o=Pa(s).hoistableStyles,c=Ti(e);t=t||"default";var y=o.get(c);if(!y){var b={loading:0,preload:null};if(y=s.querySelector(Cs(c)))b.loading=5;else{e=x({rel:"stylesheet",href:e,"data-precedence":t},a),(a=qt.get(c))&&mc(e,a);var A=y=s.createElement("link");Ie(A),st(A,"link",e),A._p=new Promise(function(L,H){A.onload=L,A.onerror=H}),A.addEventListener("load",function(){b.loading|=1}),A.addEventListener("error",function(){b.loading|=2}),b.loading|=4,rr(y,t,s)}y={type:"stylesheet",instance:y,count:1,state:b},o.set(c,y)}}}function Yb(e,t){Rn.X(e,t);var a=Si;if(a&&e){var s=Pa(a).hoistableScripts,o=Ei(e),c=s.get(o);c||(c=a.querySelector(Ms(o)),c||(e=x({src:e,async:!0},t),(t=qt.get(o))&&pc(e,t),c=a.createElement("script"),Ie(c),st(c,"link",e),a.head.appendChild(c)),c={type:"script",instance:c,count:1,state:null},s.set(o,c))}}function Pb(e,t){Rn.M(e,t);var a=Si;if(a&&e){var s=Pa(a).hoistableScripts,o=Ei(e),c=s.get(o);c||(c=a.querySelector(Ms(o)),c||(e=x({src:e,async:!0,type:"module"},t),(t=qt.get(o))&&pc(e,t),c=a.createElement("script"),Ie(c),st(c,"link",e),a.head.appendChild(c)),c={type:"script",instance:c,count:1,state:null},s.set(o,c))}}function eg(e,t,a,s){var o=(o=ie.current)?lr(o):null;if(!o)throw Error(r(446));switch(e){case"meta":case"title":return null;case"style":return typeof a.precedence=="string"&&typeof a.href=="string"?(t=Ti(a.href),a=Pa(o).hoistableStyles,s=a.get(t),s||(s={type:"style",instance:null,count:0,state:null},a.set(t,s)),s):{type:"void",instance:null,count:0,state:null};case"link":if(a.rel==="stylesheet"&&typeof a.href=="string"&&typeof a.precedence=="string"){e=Ti(a.href);var c=Pa(o).hoistableStyles,y=c.get(e);if(y||(o=o.ownerDocument||o,y={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},c.set(e,y),(c=o.querySelector(Cs(e)))&&!c._p&&(y.instance=c,y.state.loading=5),qt.has(e)||(a={rel:"preload",as:"style",href:a.href,crossOrigin:a.crossOrigin,integrity:a.integrity,media:a.media,hrefLang:a.hrefLang,referrerPolicy:a.referrerPolicy},qt.set(e,a),c||Xb(o,e,a,y.state))),t&&s===null)throw Error(r(528,""));return y}if(t&&s!==null)throw Error(r(529,""));return null;case"script":return t=a.async,a=a.src,typeof a=="string"&&t&&typeof t!="function"&&typeof t!="symbol"?(t=Ei(a),a=Pa(o).hoistableScripts,s=a.get(t),s||(s={type:"script",instance:null,count:0,state:null},a.set(t,s)),s):{type:"void",instance:null,count:0,state:null};default:throw Error(r(444,e))}}function Ti(e){return'href="'+Lt(e)+'"'}function Cs(e){return'link[rel="stylesheet"]['+e+"]"}function tg(e){return x({},e,{"data-precedence":e.precedence,precedence:null})}function Xb(e,t,a,s){e.querySelector('link[rel="preload"][as="style"]['+t+"]")?s.loading=1:(t=e.createElement("link"),s.preload=t,t.addEventListener("load",function(){return s.loading|=1}),t.addEventListener("error",function(){return s.loading|=2}),st(t,"link",a),Ie(t),e.head.appendChild(t))}function Ei(e){return'[src="'+Lt(e)+'"]'}function Ms(e){return"script[async]"+e}function ng(e,t,a){if(t.count++,t.instance===null)switch(t.type){case"style":var s=e.querySelector('style[data-href~="'+Lt(a.href)+'"]');if(s)return t.instance=s,Ie(s),s;var o=x({},a,{"data-href":a.href,"data-precedence":a.precedence,href:null,precedence:null});return s=(e.ownerDocument||e).createElement("style"),Ie(s),st(s,"style",o),rr(s,a.precedence,e),t.instance=s;case"stylesheet":o=Ti(a.href);var c=e.querySelector(Cs(o));if(c)return t.state.loading|=4,t.instance=c,Ie(c),c;s=tg(a),(o=qt.get(o))&&mc(s,o),c=(e.ownerDocument||e).createElement("link"),Ie(c);var y=c;return y._p=new Promise(function(b,A){y.onload=b,y.onerror=A}),st(c,"link",s),t.state.loading|=4,rr(c,a.precedence,e),t.instance=c;case"script":return c=Ei(a.src),(o=e.querySelector(Ms(c)))?(t.instance=o,Ie(o),o):(s=a,(o=qt.get(c))&&(s=x({},a),pc(s,o)),e=e.ownerDocument||e,o=e.createElement("script"),Ie(o),st(o,"link",s),e.head.appendChild(o),t.instance=o);case"void":return null;default:throw Error(r(443,t.type))}else t.type==="stylesheet"&&(t.state.loading&4)===0&&(s=t.instance,t.state.loading|=4,rr(s,a.precedence,e));return t.instance}function rr(e,t,a){for(var s=a.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),o=s.length?s[s.length-1]:null,c=o,y=0;y<s.length;y++){var b=s[y];if(b.dataset.precedence===t)c=b;else if(c!==o)break}c?c.parentNode.insertBefore(e,c.nextSibling):(t=a.nodeType===9?a.head:a,t.insertBefore(e,t.firstChild))}function mc(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.title==null&&(e.title=t.title)}function pc(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.integrity==null&&(e.integrity=t.integrity)}var or=null;function ag(e,t,a){if(or===null){var s=new Map,o=or=new Map;o.set(a,s)}else o=or,s=o.get(a),s||(s=new Map,o.set(a,s));if(s.has(e))return s;for(s.set(e,null),a=a.getElementsByTagName(e),o=0;o<a.length;o++){var c=a[o];if(!(c[Pi]||c[tt]||e==="link"&&c.getAttribute("rel")==="stylesheet")&&c.namespaceURI!=="http://www.w3.org/2000/svg"){var y=c.getAttribute(t)||"";y=e+y;var b=s.get(y);b?b.push(c):s.set(y,[c])}}return s}function ig(e,t,a){e=e.ownerDocument||e,e.head.insertBefore(a,t==="title"?e.querySelector("head > title"):null)}function Kb(e,t,a){if(a===1||t.itemProp!=null)return!1;switch(e){case"meta":case"title":return!0;case"style":if(typeof t.precedence!="string"||typeof t.href!="string"||t.href==="")break;return!0;case"link":if(typeof t.rel!="string"||typeof t.href!="string"||t.href===""||t.onLoad||t.onError)break;switch(t.rel){case"stylesheet":return e=t.disabled,typeof t.precedence=="string"&&e==null;default:return!0}case"script":if(t.async&&typeof t.async!="function"&&typeof t.async!="symbol"&&!t.onLoad&&!t.onError&&t.src&&typeof t.src=="string")return!0}return!1}function sg(e){return!(e.type==="stylesheet"&&(e.state.loading&3)===0)}function Qb(e,t,a,s){if(a.type==="stylesheet"&&(typeof s.media!="str
49ing"||matchMedia(s.media).matches!==!1)&&(a.state.loading&4)===0){if(a.instance===null){var o=Ti(s.href),c=t.querySelector(Cs(o));if(c){t=c._p,t!==null&&typeof t=="object"&&typeof t.then=="function"&&(e.count++,e=ur.bind(e),t.then(e,e)),a.state.loading|=4,a.instance=c,Ie(c);return}c=t.ownerDocument||t,s=tg(s),(o=qt.get(o))&&mc(s,o),c=c.createElement("link"),Ie(c);var y=c;y._p=new Promise(function(b,A){y.onload=b,y.onerror=A}),st(c,"link",s),a.instance=c}e.stylesheets===null&&(e.stylesheets=new Map),e.stylesheets.set(a,t),(t=a.state.preload)&&(a.state.loading&3)===0&&(e.count++,a=ur.bind(e),t.addEventListener("load",a),t.addEventListener("error",a))}}var gc=0;function Zb(e,t){return e.stylesheets&&e.count===0&&fr(e,e.stylesheets),0<e.count||0<e.imgCount?function(a){var s=setTimeout(function(){if(e.stylesheets&&fr(e,e.stylesheets),e.unsuspend){var c=e.unsuspend;e.unsuspend=null,c()}},6e4+t);0<e.imgBytes&&gc===0&&(gc=62500*Mb());var o=setTimeout(function(){if(e.waitingForImages=!1,e.count===0&&(e.stylesheets&&fr(e,e.stylesheets),e.unsuspend)){var c=e.unsuspend;e.unsuspend=null,c()}},(e.imgBytes>gc?50:800)+t);return e.unsuspend=a,function(){e.unsuspend=null,clearTimeout(s),clearTimeout(o)}}:null}function ur(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)fr(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}var cr=null;function fr(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,cr=new Map,t.forEach(Fb,e),cr=null,ur.call(e))}function Fb(e,t){if(!(t.state.loading&4)){var a=cr.get(e);if(a)var s=a.get(null);else{a=new Map,cr.set(e,a);for(var o=e.querySelectorAll("link[data-precedence],style[data-precedence]"),c=0;c<o.length;c++){var y=o[c];(y.nodeName==="LINK"||y.getAttribute("media")!=="not all")&&(a.set(y.dataset.precedence,y),s=y)}s&&a.set(null,s)}o=t.instance,y=o.getAttribute("data-precedence"),c=a.get(y)||s,c===s&&a.set(null,o),a.set(y,o),this.count++,s=ur.bind(this),o.addEventListener("load",s),o.addEventListener("error",s),c?c.parentNode.insertBefore(o,c.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(o,e.firstChild)),t.state.loading|=4}}var Rs={$$typeof:_,Provider:null,Consumer:null,_currentValue:J,_currentValue2:J,_threadCount:0};function Jb(e,t,a,s,o,c,y,b,A){this.tag=1,this.containerInfo=e,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=co(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=co(0),this.hiddenUpdates=co(null),this.identifierPrefix=s,this.onUncaughtError=o,this.onCaughtError=c,this.onRecoverableError=y,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=A,this.incompleteTransitions=new Map}function lg(e,t,a,s,o,c,y,b,A,L,H,Y){return e=new Jb(e,t,a,y,A,L,H,Y,b),t=1,c===!0&&(t|=24),c=At(3,null,null,t),e.current=c,c.stateNode=e,t=Fo(),t.refCount++,e.pooledCache=t,t.refCount++,c.memoizedState={element:s,isDehydrated:a,cache:t},Io(c),e}function rg(e){return e?(e=ei,e):ei}function og(e,t,a,s,o,c){o=rg(o),s.context===null?s.context=o:s.pendingContext=o,s=Pn(t),s.payload={element:a},c=c===void 0?null:c,c!==null&&(s.callback=c),a=Xn(e,s,t),a!==null&&(xt(a,e,t),rs(a,e,t))}function ug(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var a=e.retryLane;e.retryLane=a!==0&&a<t?a:t}}function yc(e,t){ug(e,t),(e=e.alternate)&&ug(e,t)}function cg(e){if(e.tag===13||e.tag===31){var t=ya(e,67108864);t!==null&&xt(t,e,67108864),yc(e,67108864)}}function fg(e){if(e.tag===13||e.tag===31){var t=Dt();t=fo(t);var a=ya(e,t);a!==null&&xt(a,e,t),yc(e,t)}}var dr=!0;function Wb(e,t,a,s){var o=k.T;k.T=null;var c=Z.p;try{Z.p=2,vc(e,t,a,s)}finally{Z.p=c,k.T=o}}function $b(e,t,a,s){var o=k.T;k.T=null;var c=Z.p;try{Z.p=8,vc(e,t,a,s)}finally{Z.p=c,k.T=o}}function vc(e,t,a,s){if(dr){var o=xc(s);if(o===null)ic(e,t,s,hr,a),hg(e,s);else if(eS(o,e,t,a,s))s.stopPropagation();else if(hg(e,s),t&4&&-1<Ib.indexOf(e)){for(;o!==null;){var c=Ya(o);if(c!==null)switch(c.tag){case 3:if(c=c.stateNode,c.current.memoizedState.isDehydrated){var y=da(c.pendingLanes);if(y!==0){var b=c;for(b.pendingLanes|=2,b.entangledLanes|=2;y;){var A=1<<31-Et(y);b.entanglements[1]|=A,y&=~A}sn(c),(Ae&6)===0&&(Fl=St()+500,Es(0))}}break;case 31:case 13:b=ya(c,2),b!==null&&xt(b,c,2),Wl(),yc(c,2)}if(c=xc(s),c===null&&ic(e,t,s,hr,a),c===o)break;o=c}o!==null&&s.stopPropagation()}else ic(e,t,s,null,a)}}function xc(e){return e=So(e),bc(e)}var hr=null;function bc(e){if(hr=null,e=qa(e),e!==null){var t=f(e);
vendor: 6,628 bytes, line 49
49if(t===null)e=null;else{var a=t.tag;if(a===13){if(e=h(t),e!==null)return e;e=null}else if(a===31){if(e=m(t),e!==null)return e;e=null}else if(a===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null)}}return hr=e,null}function dg(e){switch(e){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(B1()){case bd:return 2;case Sd:return 8;case nl:case k1:return 32;case Td:return 268435456;default:return 32}default:return 32}}var Sc=!1,na=null,aa=null,ia=null,Ds=new Map,Ns=new Map,sa=[],Ib="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 hg(e,t){switch(e){case"focusin":case"focusout":na=null;break;case"dragenter":case"dragleave":aa=null;break;case"mouseover":case"mouseout":ia=null;break;case"pointerover":case"pointerout":Ds.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Ns.delete(t.pointerId)}}function zs(e,t,a,s,o,c){return e===null||e.nativeEvent!==c?(e={blockedOn:t,domEventName:a,eventSystemFlags:s,nativeEvent:c,targetContainers:[o]},t!==null&&(t=Ya(t),t!==null&&cg(t)),e):(e.eventSystemFlags|=s,t=e.targetContainers,o!==null&&t.indexOf(o)===-1&&t.push(o),e)}function eS(e,t,a,s,o){switch(t){case"focusin":return na=zs(na,e,t,a,s,o),!0;case"dragenter":return aa=zs(aa,e,t,a,s,o),!0;case"mouseover":return ia=zs(ia,e,t,a,s,o),!0;case"pointerover":var c=o.pointerId;return Ds.set(c,zs(Ds.get(c)||null,e,t,a,s,o)),!0;case"gotpointercapture":return c=o.pointerId,Ns.set(c,zs(Ns.get(c)||null,e,t,a,s,o)),!0}return!1}function mg(e){var t=qa(e.target);if(t!==null){var a=f(t);if(a!==null){if(t=a.tag,t===13){if(t=h(a),t!==null){e.blockedOn=t,Md(e.priority,function(){fg(a)});return}}else if(t===31){if(t=m(a),t!==null){e.blockedOn=t,Md(e.priority,function(){fg(a)});return}}else if(t===3&&a.stateNode.current.memoizedState.isDehydrated){e.blockedOn=a.tag===3?a.stateNode.containerInfo:null;return}}}e.blockedOn=null}function mr(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var a=xc(e.nativeEvent);if(a===null){a=e.nativeEvent;var s=new a.constructor(a.type,a);bo=s,a.target.dispatchEvent(s),bo=null}else return t=Ya(a),t!==null&&cg(t),e.blockedOn=a,!1;t.shift()}return!0}function pg(e,t,a){mr(e)&&a.delete(t)}function tS(){Sc=!1,na!==null&&mr(na)&&(na=null),aa!==null&&mr(aa)&&(aa=null),ia!==null&&mr(ia)&&(ia=null),Ds.forEach(pg),Ns.forEach(pg)}function pr(e,t){e.blockedOn===t&&(e.blockedOn=null,Sc||(Sc=!0,n.unstable_scheduleCallback(n.unstable_NormalPriority,tS)))}var gr=null;function gg(e){gr!==e&&(gr=e,n.unstable_scheduleCallback(n.unstable_NormalPriority,function(){gr===e&&(gr=null);for(var t=0;t<e.length;t+=3){var a=e[t],s=e[t+1],o=e[t+2];if(typeof s!="function"){if(bc(s||a)===null)continue;break}var c=Ya(a);c!==null&&(e.splice(t,3),t-=3,xu(c,{pending:!0,data:o,method:a.method,action:s},s,o))}}))}function ji(e){function t(A){return pr(A,e)}na!==null&&pr(na,e),aa!==null&&pr(aa,e),ia!==null&&pr(ia,e),Ds.forEach(t),Ns.forEach(t);for(var a=0;a<sa.length;a++){var s=sa[a];s.blockedOn===e&&(s.blockedOn=null)}for(;0<sa.length&&(a=sa[0],a.blockedOn===null);)mg(a),a.blockedOn===null&&sa.shift();if(a=(e.ownerDocument||e).$$reactFormReplay,a!=null)for(s=0;s<a.length;s+=3){var o=a[s],c=a[s+1],y=o[ht]||null;if(typeof c=="function")y||gg(a);else if(y){var b=null;if(c&&c.hasAttribute("formAction")){if(o=c,y=c[ht]||null)b=y.formAction;else if(bc(o)!==null)continue}else b=y.action;typeof b=="function"?a[s+1]=b:(a.splice(s,3),s-=3),gg(a)}}}function yg(){function e(c){c.canIntercept&&c.info==="react-transition"&&c.intercept({handler:function(){return new Promise(function(y){return o=y})},focusReset:"manual",scroll:"manual"})}function t(){o!==null&&(o(),o=null),s||setTimeout(a,20)}function a(){if(!s&&!navigation.transition){var c=navigation.currentEntry;c&&c.url!=null&&navigation.navigate(c.url,{state:c.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var s=!1,o=null;return navigation.addEventListener("navigate",e),navigation.addEventListener("navigatesuccess",t),navigation.addEventListener("navigateerror",t),setTimeout(a,100),function(){s=!0,navigation.removeEventListener("navigate",e),navigation.removeEventListener("navigatesuccess",t),navigation.removeEventListener("navigateerror",t),o!==null&&(o(),o=null)}}}function Tc(e){this._internalRoot=e}yr.prototype.render=Tc.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(r(409));var a=t.current,s=Dt();og(a,s,e,t,null,null)},yr.prototype.unmount=Tc.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;og(e.current,2,null,e,null,null),Wl(),t[Ha]=null}};function yr(e){this._internalRoot=e}yr.prototype.unstable_scheduleHydration=function(e){if(e){var t=Cd();e={blockedOn:null,target:e,priority:t};for(var a=0;a<sa.length&&t!==0&&t<sa[a].priority;a++);sa.splice(a,0,e),a===0&&mg(e)}};var vg=i.version;if(vg!=="19.2.7")throw Error(r(527,vg,"19.2.7"));Z.findDOMNode=function(e){var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(r(188)):(e=Object.keys(e).join(","),Error(r(268,e)));return e=p(t),e=e!==null?v(e):null,e=e===null?null:e.stateNode,e};var nS={bundleType:0,version:"19.2.7",rendererPackageName:"react-dom",currentDispatcherRef:k,reconcilerVersion:"19.2.7"};
49if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var vr=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!vr.isDisabled&&vr.supportsFiber)try{Hi=vr.inject(nS),Tt=vr}catch{}}return Ls.createRoot=function(e,t){if(!u(e))throw Error(r(299));var a=!1,s="",o=Am,c=wm,y=Cm;return t!=null&&(t.unstable_strictMode===!0&&(a=!0),t.identifierPrefix!==void 0&&(s=t.identifierPrefix),t.onUncaughtError!==void 0&&(o=t.onUncaughtError),t.onCaughtError!==void 0&&(c=t.onCaughtError),t.onRecoverableError!==void 0&&(y=t.onRecoverableError)),t=lg(e,1,!1,null,null,a,s,null,o,c,y,yg),e[Ha]=t.current,ac(e),new Tc(t)},Ls.hydrateRoot=function(e,t,a){if(!u(e))throw Error(r(299));var s=!1,o="",c=Am,y=wm,b=Cm,A=null;return a!=null&&(a.unstable_strictMode===!0&&(s=!0),a.identifierPrefix!==void 0&&(o=a.identifierPrefix),a.onUncaughtError!==void 0&&(c=a.onUncaughtError),a.onCaughtError!==void 0&&(y=a.onCaughtError),a.onRecoverableError!==void 0&&(b=a.onRecoverableError),a.formState!==void 0&&(A=a.formState)),t=lg(e,1,!0,t,a??null,s,o,A,c,y,b,yg),t.context=rg(null),a=t.current,s=Dt(),s=fo(s),o=Pn(s),o.callback=null,Xn(a,o,s),a=s,t.current.lanes=a,Yi(t,a),sn(t),e[Ha]=t.current,ac(e),new yr(t)},Ls.version="19.2.7",Ls}var Mg;function dS(){if(Mg)return Ac.exports;Mg=1;function n(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(n)}catch(i){console.error(i)}}return n(),Ac.exports=fS(),Ac.exports}var hS=dS();/**
50 * react-router v7.18.1
51 *
52 * Copyright (c) Remix Software Inc.
53 *
54 * This source code is licensed under the MIT license found in the
55 * LICENSE.md file in the root directory of this source tree.
56 *
57 * @license MIT
58 */var Df=/^(?:[a-z][a-z0-9+.-]*:|[\\/]{2})/i,fv=/^[\\/]{2}/;function mS(n,i){return i+n.replace(/\\/g,"/")}var Rg="popstate";function Dg(n){return typeof n=="object"&&n!=null&&"pathname"in n&&"search"in n&&"hash"in n&&"state"in n&&"key"in n}function pS(n={}){function i(r,u){var p;let f=(p=u.state)==null?void 0:p.masked,{pathname:h,search:m,hash:g}=f||r.location;return ef("",{pathname:h,search:m,hash:g},u.state&&u.state.usr||null,u.state&&u.state.key||"default",f?{pathname:r.location.pathname,search:r.location.search,hash:r.location.hash}:void 0)}function l(r,u){return typeof u=="string"?u:Xs(u)}return yS(i,l,null,n)}function ke(n,i){if(n===!1||n===null||typeof n>"u")throw new Error(i)}function Xt(n,i){if(!n){typeof console<"u"&&console.warn(i);try{throw new Error(i)}catch{}}}function gS(){return Math.random().toString(36).substring(2,10)}function Ng(n,i){return{usr:n.state,key:n.key,idx:i,masked:n.mask?{pathname:n.pathname,search:n.search,hash:n.hash}:void 0}}function ef(n,i,l=null,r,u){return{pathname:typeof n=="string"?n:n.pathname,search:"",hash:"",...typeof i=="string"?Li(i):i,state:l,key:i&&i.key||r||gS(),mask:u}}function Xs({pathname:n="/",search:i="",hash:l=""}){return i&&i!=="?"&&(n+=i.charAt(0)==="?"?i:"?"+i),l&&l!=="#"&&(n+=l.charAt(0)==="#"?l:"#"+l),n}function Li(n){let i={};if(n){let l=n.indexOf("#");l>=0&&(i.hash=n.substring(l),n=n.substring(0,l));let r=n.indexOf("?");r>=0&&(i.search=n.substring(r),n=n.substring(0,r)),n&&(i.pathname=n)}return i}function yS(n,i,l,r={}){let{window:u=document.defaultView,v5Compat:f=!1}=r,h=u.history,m="POP",g=null,p=v();p==null&&(p=0,h.replaceState({...h.state,idx:p},""));function v(){return(h.state||{idx:null}).idx}function x(){m="POP";let M=v(),D=M==null?null:M-p;p=M,g&&g({action:m,location:C.location,delta:D})}function S(M,D){m="PUSH";let z=Dg(M)?M:ef(C.location,M,D);p=v()+1;let _=Ng(z,p),G=C.createHref(z.mask||z);try{h.pushState(_,"",G)}catch(X){if(X instanceof DOMException&&X.name==="DataCloneError")throw X;u.location.assign(G)}f&&g&&g({action:m,location:C.location,delta:1})}function j(M,D){m="REPLACE";let z=Dg(M)?M:ef(C.location,M,D);p=v();let _=Ng(z,p),G=C.createHref(z.mask||z);h.replaceState(_,"",G),f&&g&&g({action:m,location:C.location,delta:0})}function T(M){return vS(u,M)}let C={get action(){return m},get location(){return n(u,h)},listen(M){if(g)throw new Error("A history only accepts one active listener");return u.addEventListener(Rg,x),g=M,()=>{u.removeEventListener(Rg,x),g=null}},createHref(M){return i(u,M)},createURL:T,encodeLocation(M){let D=T(M);return{pathname:D.pathname,search:D.search,hash:D.hash}},push:S,replace:j,go(M){return h.go(M)}};return C}function vS(n,i,l=!1){let r="http://localhost";n&&(r=n.location.origin!=="null"?n.location.origin:n.location.href),ke(r,"No window.location.(origin|href) available to create URL");let u=typeof i=="string"?i:Xs(i);return u=u.replace(/ $/,"%20"),!l&&fv.test(u)&&(u=r+u),new URL(u,r)}function dv(n,i,l="/"){return xS(n,i,l,!1)}function xS(n,i,l,r,u){let f=typeof i=="string"?Li(i):i,h=On(f.pathname||"/",l);if(h==null)return null;let m=bS(n),g=null,p=NS(h);for(let v=0;g==null&&v<m.length;++v)g=DS(m[v],p,r);return g}function bS(n){let i=hv(n);return SS(i),i}function hv(n,i=[],l=[],r="",u=!1){let f=(h,m,g=u,p)=>
58{let v={relativePath:p===void 0?h.path||"":p,caseSensitive:h.caseSensitive===!0,childrenIndex:m,route:h};if(v.relativePath.startsWith("/")){if(!v.relativePath.startsWith(r)&&g)return;ke(v.relativePath.startsWith(r),`Absolute route path "${v.relativePath}" nested under path "${r}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),v.relativePath=v.relativePath.slice(r.length)}let x=$t([r,v.relativePath]),S=l.concat(v);h.children&&h.children.length>0&&(ke(h.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${x}".`),hv(h.children,i,S,x,g)),!(h.path==null&&!h.index)&&i.push({path:x,score:MS(x,h.index),routesMeta:S.map((j,T)=>{let[C,M]=gv(j.relativePath,j.caseSensitive,T===S.length-1);return{...j,matcher:C,compiledParams:M}})})};return n.forEach((h,m)=>{var g;if(h.path===""||!((g=h.path)!=null&&g.includes("?")))f(h,m);else for(let p of mv(h.path))f(h,m,!0,p)}),i}function mv(n){let i=n.split("/");if(i.length===0)return[];let[l,...r]=i,u=l.endsWith("?"),f=l.replace(/\?$/,"");if(r.length===0)return u?[f,""]:[f];let h=mv(r.join("/")),m=[];return m.push(...h.map(g=>g===""?f:[f,g].join("/"))),u&&m.push(...h),m.map(g=>n.startsWith("/")&&g===""?"/":g)}function SS(n){n.sort((i,l)=>i.score!==l.score?l.score-i.score:RS(i.routesMeta.map(r=>r.childrenIndex),l.routesMeta.map(r=>r.childrenIndex)))}var TS=/^:[\w-]+$/,ES=3,jS=2,AS=1,wS=10,CS=-2,zg=n=>n==="*";function MS(n,i){let l=n.split("/"),r=l.length;return l.some(zg)&&(r+=CS),i&&(r+=jS),l.filter(u=>!zg(u)).reduce((u,f)=>u+(TS.test(f)?ES:f===""?AS:wS),r)}function RS(n,i){return n.length===i.length&&n.slice(0,-1).every((r,u)=>r===i[u])?n[n.length-1]-i[i.length-1]:0}function DS(n,i,l=!1){let{routesMeta:r}=n,u={},f="/",h=[];for(let m=0;m<r.length;++m){let g=r[m],p=m===r.length-1,v=f==="/"?i:i.slice(f.length)||"/",x={path:g.relativePath,caseSensitive:g.caseSensitive,end:p},S=g.matcher&&g.compiledParams?pv(x,v,g.matcher,g.compiledParams):Vr(x,v),j=g.route;if(!S&&p&&l&&!r[r.length-1].route.index&&(S=Vr({path:g.relativePath,caseSensitive:g.caseSensitive,end:!1},v)),!S)return null;
58Object.assign(u,S.params),h.push({params:u,pathname:$t([f,S.pathname]),pathnameBase:LS($t([f,S.pathnameBase])),route:j}),S.pathnameBase!=="/"&&(f=$t([f,S.pathnameBase]))}return h}function Vr(n,i){typeof n=="string"&&(n={path:n,caseSensitive:!1,end:!0});let[l,r]=gv(n.path,n.caseSensitive,n.end);return pv(n,i,l,r)}function pv(n,i,l,r){let u=i.match(l);if(!u)return null;let f=u[0],h=f.replace(/(.)\/+$/,"$1"),m=u.slice(1);return{params:r.reduce((p,{paramName:v,isOptional:x},S)=>{if(v==="*"){let T=m[S]||"";h=f.slice(0,f.length-T.length).replace(/(.)\/+$/,"$1")}const j=m[S];return x&&!j?p[v]=void 0:p[v]=(j||"").replace(/%2F/g,"/"),p},{}),pathname:f,pathnameBase:h,pattern:n}}function gv(n,i=!1,l=!0){Xt(n==="*"||!n.endsWith("*")||n.endsWith("/*"),`Route path "${n}" will be treated as if it were "${n.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${n.replace(/\*$/,"/*")}".`);let r=[],u="^"+n.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(h,m,g,p,v)=>{if(r.push({paramName:m,isOptional:g!=null}),g){let x=v.charAt(p+h.length);return x&&x!=="/"?"/([^\\/]*)":"(?:/([^\\/]*))?"}return"/([^\\/]+)"}).replace(/\/([\w-]+)\?(\/|$)/g,"(/$1)?$2");return n.endsWith("*")?(r.push({paramName:"*"}),u+=n==="*"||n==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):l?u+="\\/*$":n!==""&&n!=="/"&&(u+="(?:(?=\\/|$))"),[new RegExp(u,i?void 0:"i"),r]}function NS(n){try{return n.split("/").map(i=>decodeURIComponent(i).replace(/\//g,"%2F")).join("/")}catch(i){return Xt(!1,`The URL path "${n}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${i}).`),n}}
58function On(n,i){if(i==="/")return n;if(!n.toLowerCase().startsWith(i.toLowerCase()))return null;let l=i.endsWith("/")?i.length-1:i.length,r=n.charAt(l);return r&&r!=="/"?null:n.slice(l)||"/"}function zS(n,i="/"){let{pathname:l,search:r="",hash:u=""}=typeof n=="string"?Li(n):n,f;return l?(l=yv(l),l.startsWith("/")?f=Og(l.substring(1),"/"):f=Og(l,i)):f=i,{pathname:f,search:_S(r),hash:VS(u)}}function Og(n,i){let l=Ur(i).split("/");return n.split("/").forEach(u=>{u===".."?l.length>1&&l.pop():u!=="."&&l.push(u)}),l.length>1?l.join("/"):"/"}function Rc(n,i,l,r){return`Cannot include a '${n}' character in a manually specified \`to.${i}\` field [${JSON.stringify(r)}].  Please separate it out to the \`to.${l}\` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.`}function OS(n){return n.filter((i,l)=>l===0||i.route.path&&i.route.path.length>0)}function Nf(n){let i=OS(n);return i.map((l,r)=>r===i.length-1?l.pathname:l.pathnameBase)}function Jr(n,i,l,r=!1){let u;typeof n=="string"?u=Li(n):(u={...n},ke(!u.pathname||!u.pathname.includes("?"),Rc("?","pathname","search",u)),ke(!u.pathname||!u.pathname.includes("#"),Rc("#","pathname","hash",u)),ke(!u.search||!u.search.includes("#"),Rc("#","search","hash",u)));let f=n===""||u.pathname==="",h=f?"/":u.pathname,m;if(h==null)m=l;else{let x=i.length-1;if(!r&&h.startsWith("..")){let S=h.split("/");for(;S[0]==="..";)S.shift(),x-=1;u.pathname=S.join("/")}m=x>=0?i[x]:"/"}let g=zS(u,m),p=h&&h!=="/"&&h.endsWith("/"),v=(f||h===".")&&l.endsWith("/");return!g.pathname.endsWith("/")&&(p||v)&&(g.pathname+="/"),g}var yv=n=>n.replace(/[\\/]{2,}/g,"/"),$t=n=>yv(n.join("/")),Ur=n=>n.replace(/\/+$/,""),LS=n=>Ur(n).replace(/^\/*/,"/"),_S=n=>!n||n==="?"?"":n.startsWith("?")?n:"?"+n,VS=n=>!n||n==="#"?"":n.startsWith("#")?n:"#"+n,US=class{constructor(n,i,l,r=!1){this.status=n,this.statusText=i||"",this.internal=r,l instanceof Error?(this.data=l.toString(),this.error=l):this.data=l}};function BS(n){return n!=null&&typeof n.status=="number"&&typeof n.statusText=="string"&&typeof n.internal=="boolean"&&"data"in n}function kS(n){let i=n.map(l=>l.route.path).filter(Boolean);return $t(i)||"/"}var vv=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function xv(n,i){let l=n;if(typeof l!="string"||!Df.test(l))return{absoluteURL:void 0,isExternal:!1,to:l};let r=l,u=!1;if(vv)try{let f=new URL(window.location.href),h=fv.test(l)?new URL(mS(l,f.protocol)):new URL(l),m=On(h.pathname,i);h.origin===f.origin&&m!=null?l=m+h.search+h.hash:u=!0}catch{Xt(!1,`<Link to="${l}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}return{absoluteURL:r,isExternal:u,to:l}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");var bv=["POST","PUT","PATCH","DELETE"];new Set(bv);var GS=["GET",...bv];new Set(GS);var HS=["about:","blob:","chrome:","chrome-untrusted:","content:","data:","devtools:","file:","filesystem:","javascript:"];function qS(n){try{return HS.includes(new URL(n).protocol)}catch{return!1}}var _i=E.createContext(null);_i.displayName="DataRouter";var Wr=E.createContext(null);Wr.displayName="DataRouterState";var Sv=E.createContext(!1);function YS(){return E.useContext(Sv)}var Tv=E.createContext({isTransitioning:!1});Tv.displayName="ViewTransition";var PS=E.createContext(new Map);PS.displayName="Fetchers";var XS=E.createContext(null);XS.displayName="Await";var zt=E.createContext(null);zt.displayName="Navigation";var Js=E.createContext(null);Js.displayName="Location";var en=E.createContext({outlet:null,matches:[],isDataRoute:!1});en.displayName="Route";var zf=E.createContext(null);zf.displayName="RouteError";var Ev="REACT_ROUTER_ERROR",KS="REDIRECT",QS="ROUTE_ERROR_RESPONSE";function ZS(n){if(n.startsWith(`${Ev}:${KS}:{`))try{let i=JSON.parse(n.slice(28));if(typeof i=="object"&&i&&typeof i.status=="number"&&typeof i.statusText=="string"&&typeof i.location=="string"&&typeof i.reloadDocument=="boolean"&&typeof i.replace=="boolean")return i}catch{}}function FS(n){if(n.startsWith(`${Ev}:${QS}:{`))try{let i=JSON.parse(n.slice(40));if(typeof i=="object"&&i&&typeof i.status=="number"&&typeof i.statusText=="string")return new US(i.status,i.statusText,i.data)}catch{}}function JS(n,{relative:i}={}){ke(Vi(),"useHref() may be used only in the context of a <Router> component.");let{basename:l,navigator:r}=E.useContext(zt),{hash:u,pathname:f,search:h}=Ws(n,{relative:i}),m=f;return l!=="/"&&(m=f==="/"?l:$t([l,f])),r.createHref({pathname:m,search:h,hash:u})}function Vi(){return E.useContext(Js)!=null}function bt(){return ke(Vi(),"useLocation() may be used only in the context of a <Router> component."),E.useContext(Js).location}var jv="You should call navigate() in a React.useEffect(), not when your component is first rendered.";
58function Av(n){E.useContext(zt).static||E.useLayoutEffect(n)}function Ui(){let{isDataRoute:n}=E.useContext(en);return n?c2():WS()}function WS(){ke(Vi(),"useNavigate() may be used only in the context of a <Router> component.");let n=E.useContext(_i),{basename:i,navigator:l}=E.useContext(zt),{matches:r}=E.useContext(en),{pathname:u}=bt(),f=JSON.stringify(Nf(r)),h=E.useRef(!1);return Av(()=>{h.current=!0}),E.useCallback((g,p={})=>{if(Xt(h.current,jv),!h.current)return;if(typeof g=="number"){l.go(g);return}let v=Jr(g,JSON.parse(f),u,p.relative==="path");n==null&&i!=="/"&&(v.pathname=v.pathname==="/"?i:$t([i,v.pathname])),(p.replace?l.replace:l.push)(v,p.state,p)},[i,l,f,u,n])}E.createContext(null);function $S(){let{matches:n}=E.useContext(en),i=n[n.length-1];return(i==null?void 0:i.params)??{}}function Ws(n,{relative:i}={}){let{matches:l}=E.useContext(en),{pathname:r}=bt(),u=JSON.stringify(Nf(l));return E.useMemo(()=>Jr(n,JSON.parse(u),r,i==="path"),[n,u,r,i])}function IS(n,i){return wv(n,i)}function wv(n,i,l){var M;ke(Vi(),"useRoutes() may be used only in the context of a <Router> component.");let{navigator:r}=E.useContext(zt),{matches:u}=E.useContext(en),f=u[u.length-1],h=f?f.params:{},m=f?f.pathname:"/",g=f?f.pathnameBase:"/",p=f&&f.route;{let D=p&&p.path||"";Mv(m,!p||D.endsWith("*")||D.endsWith("*?"),`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${m}" (under <Route path="${D}">) but the parent route path has no trailing "*". This means if you navigate deeper, the parent won't match anymore and therefore the child routes will never render.
59
60Please change the parent <Route path="${D}"> to <Route path="${D==="/"?"*":`${D}/*`}">.`)}let v=bt(),x;if(i){let D=typeof i=="string"?Li(i):i;ke(g==="/"||((M=D.pathname)==null?void 0:M.startsWith(g)),`When overriding the location using \`<Routes location>\` or \`useRoutes(routes, location)\`, the location pathname must begin with the portion of the URL pathname that was matched by all parent routes. The current pathname base is "${g}" but pathname "${D.pathname}" was given in the \`location\` prop.`),x=D}else x=v;let S=x.pathname||"/",j=S;if(g!=="/"){let D=g.replace(/^\//,"").split("/");j="/"+S.replace(/^\//,"").split("/").slice(D.length).join("/")}let T=l&&l.state.matches.length?l.state.matches.map(D=>Object.assign(D,{route:l.manifest[D.route.id]||D.route})):dv(n,{pathname:j});Xt(p||T!=null,`No routes matched location "${x.pathname}${x.search}${x.hash}" `),Xt(T==null||T[T.length-1].route.element!==void 0||T[T.length-1].route.Component!==void 0||T[T.length-1].route.lazy!==void 0,`Matched leaf route at location "${x.pathname}${x.search}${x.hash}" does not have an element or Component. This means it will render an <Outlet /> with a null value by default resulting in an "empty" page.`);let C=i2(T&&T.map(D=>Object.assign({},D,{params:Object.assign({},h,D.params),pathname:$t([g,r.encodeLocation?r.encodeLocation(D.pathname.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:D.pathname]),pathnameBase:D.pathnameBase==="/"?g:$t([g,r.encodeLocation?r.encodeLocation(D.pathnameBase.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:D.pathnameBase])})),u,l);return i&&C?E.createElement(Js.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",mask:void 0,...x},navigationType:"POP"}},C):C}function e2(){let n=u2(),i=BS(n)?`${n.status} ${n.statusText}`:n instanceof Error?n.message:JSON.stringify(n),l=n instanceof Error?n.stack:null,r="rgba(200,200,200, 0.5)",u={padding:"0.5rem",backgroundColor:r},f={padding:"2px 4px",backgroundColor:r},h=null;return console.error("Error handled by React Router default ErrorBoundary:",n),h=E.createElement(E.Fragment,null,E.createElement("p",null,"💿 Hey developer 👋"),E.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",E.createElement("code",{style:f},"ErrorBoundary")," or"," ",E.createElement("code",{style:f},"errorElement")," prop on your route.")),E.createElement(E.Fragment,null,E.createElement("h2",null,"Unexpected Application 
60Error!"),E.createElement("h3",{style:{fontStyle:"italic"}},i),l?E.createElement("pre",{style:u},l):null,h)}var t2=E.createElement(e2,null),Cv=class extends E.Component{constructor(n){super(n),this.state={location:n.location,revalidation:n.revalidation,error:n.error}}static getDerivedStateFromError(n){return{error:n}}static getDerivedStateFromProps(n,i){return i.location!==n.location||i.revalidation!=="idle"&&n.revalidation==="idle"?{error:n.error,location:n.location,revalidation:n.revalidation}:{error:n.error!==void 0?n.error:i.error,location:i.location,revalidation:n.revalidation||i.revalidation}}componentDidCatch(n,i){this.props.onError?this.props.onError(n,i):console.error("React Router caught the following error during render",n)}render(){let n=this.state.error;if(this.context&&typeof n=="object"&&n&&"digest"in n&&typeof n.digest=="string"){const l=FS(n.digest);l&&(n=l)}let i=n!==void 0?E.createElement(en.Provider,{value:this.props.routeContext},E.createElement(zf.Provider,{value:n,children:this.props.component})):this.props.children;return this.context?E.createElement(n2,{error:n},i):i}};Cv.contextType=Sv;var Dc=new WeakMap;function n2({children:n,error:i}){let{basename:l}=E.useContext(zt);if(typeof i=="object"&&i&&"digest"in i&&typeof i.digest=="string"){let r=ZS(i.digest);if(r){let u=Dc.get(i);if(u)throw u;let f=xv(r.location,l),h=f.absoluteURL||f.to;if(qS(h))throw new Error("Invalid redirect location");if(vv&&!Dc.get(i))if(f.isExternal||r.reloadDocument)window.location.href=h;else{const m=Promise.resolve().then(()=>window.__reactRouterDataRouter.navigate(f.to,{replace:r.replace}));throw Dc.set(i,m),m}return E.createElement("meta",{httpEquiv:"refresh",content:`0;url=${h}`})}}return n}function a2({routeContext:n,match:i,children:l}){let r=E.useContext(_i);return r&&r.static&&r.staticContext&&(i.route.errorElement||i.route.ErrorBoundary)&&(r.staticContext._deepestRenderedBoundaryId=i.route.id),E.createElement(en.Provider,{value:n},l)}function i2(n,i=[],l){let r=l==null?void 0:l.state;if(n==null){if(!r)return null;if(r.errors)n=r.matches;else if(i.length===0&&!r.initialized&&r.matches.length>0)n=r.matches;else return null}let u=n,f=r==null?void 0:r.errors;if(f!=null){let v=u.findIndex(x=>x.route.id&&(f==null?void 0:f[x.route.id])!==void 0);ke(v>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(f).join(",")}`),u=u.slice(0,Math.min(u.length,v+1))}let h=!1,m=-1;if(l&&r){h=r.renderFallback;for(let v=0;v<u.length;v++){let x=u[v];if((x.route.HydrateFallback||x.route.hydrateFallbackElement)&&(m=v),x.route.id){let{loaderData:S,errors:j}=r,T=x.route.loader&&!S.hasOwnProperty(x.route.id)&&(!j||j[x.route.id]===void 0);if(x.route.lazy||T){l.isStatic&&(h=!0),m>=0?u=u.slice(0,m+1):u=[u[0]];break}}}}let g=l==null?void 0:l.onError,p=r&&g?(v,x)=>{var S,j;g(v,{location:r.location,params:((j=(S=r.matches)==null?void 0:S[0])==null?void 0:j.params)??{},pattern:kS(r.matches),errorInfo:x})}:void 0;return u.reduceRight((v,x,S)=>{let j,T=!1,C=null,M=null;r&&(j=f&&x.route.id?f[x.route.id]:void 0,C=x.route.errorElement||t2,h&&(m<0&&S===0?(Mv("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),T=!0,M=null):m===S&&(T=!0,M=x.route.hydrateFallbackElement||null)));let D=i.concat(u.slice(0,S+1)),z=()=>{let _;return j?_=C:T?_=M:x.route.Component?_=E.createElement(x.route.Component,null):x.route.element?_=x.route.element:_=v,E.createElement(a2,{match:x,routeContext:{outlet:v,matches:D,isDataRoute:r!=null},children:_})};return r&&(x.route.ErrorBoundary||x.route.errorElement||S===0)?E.createElement(Cv,{location:r.location,revalidation:r.revalidation,component:C,error:j,children:z(),routeContext:{outlet:null,matches:D,isDataRoute:!0},onError:p}):z()},null)}function Of(n){return`${n} must be used within a data router.  See https://reactrouter.com/en/main/routers/picking-a-router.`}function s2(n){let i=E.useContext(_i);return ke(i,Of(n)),i}function l2(n){let i=E.useContext(Wr);return ke(i,Of(n)),i}function r2(n){let i=E.useContext(en);return ke(i,Of(n)),i}function Lf(n){let i=r2(n),l=i.matches[i.matches.length-1];return ke(l.route.id,`${n} can only be used on routes that contain a unique "id"`),l.route.id}function o2(){return Lf("useRouteId")}function u2(){var r;let n=E.useContext(zf),i=l2("useRouteError"),l=Lf("useRouteError");return n!==void 0?n:(r=i.errors)==null?void 0:r[l]}function c2(){let{router:n}=s2("useNavigate"),i=Lf("useNavigate"),l=E.useRef(!1);return Av(()=>{l.current=!0}),E.useCallback(async(u,f={})=>{Xt(l.current,jv),l.current&&(typeof u=="number"?await n.navigate(u):await n.navigate(u,{fromRouteId:i,...f}))},[n,i])}var Lg={};function Mv(n,i,l){!i&&!Lg[n]&&(Lg[n]=!0,Xt(!1,l))}E.memo(f2);function f2({routes:n,manifest:i,future:l,state:r,isStatic:u,onError:f}){return wv(n,void 0,{manifest:i,state:r,isStatic:u,onError:f})}function d2({to:n,replace:i,state:l,relative:r}){ke(Vi(),"<Navigate> may be used only in the context of a <Router> component.");let{static:u}=E.useContext(zt);Xt(!u,"<Navigate> must not be used on the initial render in a <StaticRouter>. This is a no-op, but you should modify your code so the <Navigate> is only ever rendered in response to some user interaction or state change.");let{matches:f}=E.useContext(en),{pathname:h}=bt(),m=Ui(),g=Jr(n,Nf(f),h,r==="path"),p=JSON.stringify(g);return E.useEffect(()=>{m(JSON.parse(p),{replace:i,state:l,relative:r})},[m,p,r,i,l]),null}function ut(n){ke(!1,"A <Route> is only ever to be used as the child of <Routes> element, never rendered directly. Please wrap your <Route> in a <Routes>.")}function h2({basename:n="/",children:i=null,location:l,navigationType:r="POP",navigator:u,static:f=!1,useTransitions:h}){ke(!Vi(),"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let m=n.replace(/^\/*/,"/"),g=E.useMemo(()=>({basename:m,navigator:u,static:f,useTransitions:h,future:{}}),[m,u,f,h]);typeof l=="string"&&(l=Li(l));let{pathname:p="/",search:v="",hash:x="",state:S=null,key:j="default",mask:T}=l,C=E.useMemo(()=>{let M=On(p,m);return M==null?null:{location:{pathname:M,search:v,hash:x,state:S,key:j,mask:T},navigationType:r}},[m,p,v,x,S,j,r,T]);
60return Xt(C!=null,`<Router basename="${m}"> is not able to match the URL "${p}${v}${x}" because it does not start with the basename, so the <Router> won't render anything.`),C==null?null:E.createElement(zt.Provider,{value:g},E.createElement(Js.Provider,{children:i,value:C}))}function m2({children:n,location:i}){return IS(tf(n),i)}function tf(n,i=[]){let l=[];return E.Children.forEach(n,(r,u)=>{if(!E.isValidElement(r))return;let f=[...i,u];if(r.type===E.Fragment){l.push.apply(l,tf(r.props.children,f));return}ke(r.type===ut,`[${typeof r.type=="string"?r.type:r.type.name}] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>`),ke(!r.props.index||!r.props.children,"An index route cannot have child routes.");let h={id:r.props.id||f.join("-"),caseSensitive:r.props.caseSensitive,element:r.props.element,Component:r.props.Component,index:r.props.index,path:r.props.path,middleware:r.props.middleware,loader:r.props.loader,action:r.props.action,hydrateFallbackElement:r.props.hydrateFallbackElement,HydrateFallback:r.props.HydrateFallback,errorElement:r.props.errorElement,ErrorBoundary:r.props.ErrorBoundary,hasErrorBoundary:r.props.hasErrorBoundary===!0||r.props.ErrorBoundary!=null||r.props.errorElement!=null,shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle,lazy:r.props.lazy};r.props.children&&(h.children=tf(r.props.children,f)),l.push(h)}),l}var wr="get",Cr="application/x-www-form-urlencoded";function $r(n){return typeof HTMLElement<"u"&&n instanceof HTMLElement}function p2(n){return $r(n)&&n.tagName.toLowerCase()==="button"}function g2(n){return $r(n)&&n.tagName.toLowerCase()==="form"}function y2(n){return $r(n)&&n.tagName.toLowerCase()==="input"}function v2(n){return!!(n.metaKey||n.altKey||n.ctrlKey||n.shiftKey)}function x2(n,i){return n.button===0&&(!i||i==="_self")&&!v2(n)}function nf(n=""){return new URLSearchParams(typeof n=="string"||Array.isArray(n)||n instanceof URLSearchParams?n:Object.keys(n).reduce((i,l)=>{let r=n[l];return i.concat(Array.isArray(r)?r.map(u=>[l,u]):[[l,r]])},[]))}function b2(n,i){let l=nf(n);return i&&i.forEach((r,u)=>{l.has(u)||i.getAll(u).forEach(f=>{l.append(u,f)})}),l}var xr=null;function S2(){if(xr===null)try{new FormData(document.createElement("form"),0),xr=!1}catch{xr=!0}return xr}var T2=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function Nc(n){return n!=null&&!T2.has(n)?(Xt(!1,`"${n}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${Cr}"`),null):n}function E2(n,i){let l,r,u,f,h;if(g2(n)){let m=n.getAttribute("action");r=m?On(m,i):null,l=n.getAttribute("method")||wr,u=Nc(n.getAttribute("enctype"))||Cr,f=new FormData(n)}else if(p2(n)||y2(n)&&(n.type==="submit"||n.type==="image")){let m=n.form;if(m==null)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let g=n.getAttribute("formaction")||m.getAttribute("action");if(r=g?On(g,i):null,l=n.getAttribute("formmethod")||m.getAttribute("method")||wr,u=Nc(n.getAttribute("formenctype"))||Nc(m.getAttribute("enctype"))||Cr,f=new FormData(m,n),!S2()){let{name:p,type:v,value:x}=n;if(v==="image"){let S=p?`${p}.`:"";f.append(`${S}x`,"0"),f.append(`${S}y`,"0")}else p&&f.append(p,x)}}else{if($r(n))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');l=wr,r=null,u=Cr,h=n}return f&&u==="text/plain"&&(h=f,f=void 0),{action:r,method:l.toLowerCase(),encType:u,formData:f,body:h}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");function _f(n,i){if(n===!1||n===null||typeof n>"u")throw new Error(i)}function Rv(n,i,l,r){let u=typeof n=="string"?new URL(n,typeof window>"u"?"server://singlefetch/":window.location.origin):n;return l?u.pathname.endsWith("/")?u.pathname=`${u.pathname}_.${r}`:u.pathname=`${u.pathname}.${r}`:u.pathname==="/"?u.pathname=`_root.${r}`:i&&On(u.pathname,i)==="/"?u.pathname=`${Ur(i)}/_root.${r}`:u.pathname=`${Ur(u.pathname)}.${r}`,u}async function j2(n,i){if(n.id in i)return i[n.id];try{let l=await import(n.module);return i[n.id]=l,l}catch(l){return console.error(`Error loading route module \`${n.module}\`, reloading page...`),console.error(l),window.__reactRouterContext&&window.__reactRouterContext.
60isSpaMode,window.location.reload(),new Promise(()=>{})}}function A2(n){return n==null?!1:n.href==null?n.rel==="preload"&&typeof n.imageSrcSet=="string"&&typeof n.imageSizes=="string":typeof n.rel=="string"&&typeof n.href=="string"}async function w2(n,i,l){let r=await Promise.all(n.map(async u=>{let f=i.routes[u.route.id];if(f){let h=await j2(f,l);return h.links?h.links():[]}return[]}));return D2(r.flat(1).filter(A2).filter(u=>u.rel==="stylesheet"||u.rel==="preload").map(u=>u.rel==="stylesheet"?{...u,rel:"prefetch",as:"style"}:{...u,rel:"prefetch"}))}function _g(n,i,l,r,u,f){let h=(g,p)=>l[p]?g.route.id!==l[p].route.id:!0,m=(g,p)=>{var v;return l[p].pathname!==g.pathname||((v=l[p].route.path)==null?void 0:v.endsWith("*"))&&l[p].params["*"]!==g.params["*"]};return f==="assets"?i.filter((g,p)=>h(g,p)||m(g,p)):f==="data"?i.filter((g,p)=>{var x;let v=r.routes[g.route.id];if(!v||!v.hasLoader)return!1;if(h(g,p)||m(g,p))return!0;if(g.route.shouldRevalidate){let S=g.route.shouldRevalidate({currentUrl:new URL(u.pathname+u.search+u.hash,window.origin),currentParams:((x=l[0])==null?void 0:x.params)||{},nextUrl:new URL(n,window.origin),nextParams:g.params,defaultShouldRevalidate:!0});if(typeof S=="boolean")return S}return!0}):[]}function C2(n,i,{includeHydrateFallback:l}={}){return M2(n.map(r=>{let u=i.routes[r.route.id];if(!u)return[];let f=[u.module];return u.clientActionModule&&(f=f.concat(u.clientActionModule)),u.clientLoaderModule&&(f=f.concat(u.clientLoaderModule)),l&&u.hydrateFallbackModule&&(f=f.concat(u.hydrateFallbackModule)),u.imports&&(f=f.concat(u.imports)),f}).flat(1))}function M2(n){return[...new Set(n)]}function R2(n){let i={},l=Object.keys(n).sort();for(let r of l)i[r]=n[r];return i}function D2(n,i){let l=new Set;return new Set(i),n.reduce((r,u)=>{let f=JSON.stringify(R2(u));return l.has(f)||(l.add(f),r.push({key:f,link:u})),r},[])}function Vf(){let n=E.useContext(_i);return _f(n,"You must render this element inside a <DataRouterContext.Provider> element"),n}function N2(){let n=E.useContext(Wr);return _f(n,"You must render this element inside a <DataRouterStateContext.Provider> element"),n}var Uf=E.createContext(void 0);Uf.displayName="FrameworkContext";function Ir(){let n=E.useContext(Uf);return _f(n,"You must render this element inside a <HydratedRouter> element"),n}function z2(n,i){let l=E.useContext(Uf),[r,u]=E.useState(!1),[f,h]=E.useState(!1),{onFocus:m,onBlur:g,onMouseEnter:p,onMouseLeave:v,onTouchStart:x}=i,S=E.useRef(null);E.useEffect(()=>{if(n==="render"&&h(!0),n==="viewport"){let C=D=>{D.forEach(z=>{h(z.isIntersecting)})},M=new IntersectionObserver(C,{threshold:.5});return S.current&&M.observe(S.current),()=>{M.disconnect()}}},[n]),E.useEffect(()=>{if(r){let C=setTimeout(()=>{h(!0)},100);return()=>{clearTimeout(C)}}},[r]);let j=()=>{u(!0)},T=()=>{u(!1),h(!1)};return l?n!=="intent"?[f,S,{}]:[f,S,{onFocus:_s(m,j),onBlur:_s(g,T),onMouseEnter:_s(p,j),onMouseLeave:_s(v,T),onTouchStart:_s(x,j)}]:[!1,S,{}]}function _s(n,i){return l=>{n&&n(l),l.defaultPrevented||i(l)}}function O2({page:n,...i}){let l=YS(),{nonce:r}=Ir(),{router:u}=Vf(),f=E.useMemo(()=>dv(u.routes,n,u.basename),[u.routes,n,u.basename]);return f?(i.nonce==null&&r&&(i={...i,nonce:r}),l?E.createElement(_2,{page:n,matches:f,...i}):E.createElement(V2,{page:n,matches:f,...i})):null}function L2(n){let{manifest:i,routeModules:l}=Ir(),[r,u]=E.useState([]);return E.useEffect(()=>{let f=!1;return w2(n,i,l).then(h=>{f||u(h)}),()=>{f=!0}},[n,i,l]),r}function _2({page:n,matches:i,...l}){let r=bt(),{future:u}=Ir(),{basename:f}=Vf(),h=E.useMemo(()=>{if(n===r.pathname+r.search+r.hash)return[];let m=Rv(n,f,u.v8_trailingSlashAwareDataRequests,"rsc"),g=!1,p=[];for(let v of i)typeof v.route.shouldRevalidate=="function"?g=!0:p.push(v.route.id);return g&&p.length>0&&m.searchParams.set("_routes",p.join(",")),[m.pathname+m.search]},[f,u.v8_trailingSlashAwareDataRequests,n,r,i]);return E.createElement(E.Fragment,null,h.map(m=>E.createElement("link",{key:m,rel:"prefetch",as:"fetch",href:m,...l})))}function V2({page:n,matches:i,...l}){let r=bt(),{future:u,manifest:f,routeModules:h}=Ir(),{basename:m}=Vf(),{loaderData:g,matches:p}=N2(),v=E.useMemo(()=>_g(n,i,p,f,r,"data"),[n,i,p,f,r]),x=E.useMemo(()=>_g(n,i,p,f,r,"assets"),[n,i,p,f,r]),S=E.useMemo(()=>
60{if(n===r.pathname+r.search+r.hash)return[];let C=new Set,M=!1;if(i.forEach(z=>{var G;let _=f.routes[z.route.id];!_||!_.hasLoader||(!v.some(X=>X.route.id===z.route.id)&&z.route.id in g&&((G=h[z.route.id])!=null&&G.shouldRevalidate)||_.hasClientLoader?M=!0:C.add(z.route.id))}),C.size===0)return[];let D=Rv(n,m,u.v8_trailingSlashAwareDataRequests,"data");return M&&C.size>0&&D.searchParams.set("_routes",i.filter(z=>C.has(z.route.id)).map(z=>z.route.id).join(",")),[D.pathname+D.search]},[m,u.v8_trailingSlashAwareDataRequests,g,r,f,v,i,n,h]),j=E.useMemo(()=>C2(x,f),[x,f]),T=L2(x);return E.createElement(E.Fragment,null,S.map(C=>E.createElement("link",{key:C,rel:"prefetch",as:"fetch",href:C,...l})),j.map(C=>E.createElement("link",{key:C,rel:"modulepreload",href:C,...l})),T.map(({key:C,link:M})=>E.createElement("link",{key:C,nonce:l.nonce,...M,crossOrigin:M.crossOrigin??l.crossOrigin})))}function U2(...n){return i=>{n.forEach(l=>{typeof l=="function"?l(i):l!=null&&(l.current=i)})}}var B2=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";try{B2&&(window.__reactRouterVersion="7.18.1")}catch{}function k2({basename:n,children:i,useTransitions:l,window:r}){let u=E.useRef();u.current==null&&(u.current=pS({window:r,v5Compat:!0}));let f=u.current,[h,m]=E.useState({action:f.action,location:f.location}),g=E.useCallback(p=>{l===!1?m(p):E.startTransition(()=>m(p))},[l]);return E.useLayoutEffect(()=>f.listen(g),[f,g]),E.createElement(h2,{basename:n,children:i,location:h.location,navigationType:h.action,navigator:f,useTransitions:l})}var Te=E.forwardRef(function({onClick:i,discover:l="render",prefetch:r="none",relative:u,reloadDocument:f,replace:h,mask:m,state:g,target:p,to:v,preventScrollReset:x,viewTransition:S,defaultShouldRevalidate:j,...T},C){let{basename:M,navigator:D,useTransitions:z}=E.useContext(zt),_=typeof v=="string"&&Df.test(v),G=xv(v,M);v=G.to;let X=JS(v,{relative:u}),F=bt(),K=null;if(m){let de=Jr(m,[],F.mask?F.mask.pathname:"/",!0);M!=="/"&&(de.pathname=de.pathname==="/"?M:$t([M,de.pathname])),K=D.createHref(de)}let[P,$,W]=z2(r,T),le=Y2(v,{replace:h,mask:m,state:g,target:p,preventScrollReset:x,relative:u,viewTransition:S,defaultShouldRevalidate:j,useTransitions:z});function ce(de){i&&i(de),de.defaultPrevented||le(de)}let we=!(G.isExternal||f),Se=E.createElement("a",{...T,...W,href:(we?K:void 0)||G.absoluteURL||X,onClick:we?ce:i,ref:U2(C,$),target:p,"data-discover":!_&&l==="render"?"true":void 0});return P&&!_?E.createElement(E.Fragment,null,Se,E.createElement(O2,{page:X})):Se});Te.displayName="Link";var G2=E.forwardRef(function({"aria-current":i="page",caseSensitive:l=!1,className:r="",end:u=!1,style:f,to:h,viewTransition:m,children:g,...p},v){let x=Ws(h,{relative:p.relative}),S=bt(),j=E.useContext(Wr),{navigator:T,basename:C}=E.useContext(zt),M=j!=null&&Z2(x)&&m===!0,D=T.encodeLocation?T.encodeLocation(x).pathname:x.pathname,z=S.pathname,_=j&&j.navigation&&j.navigation.location?j.navigation.location.pathname:null;l||(z=z.toLowerCase(),_=_?_.toLowerCase():null,D=D.toLowerCase()),_&&C&&(_=On(_,C)||_);const G=D!=="/"&&D.endsWith("/")?D.length-1:D.length;let X=z===D||!u&&z.startsWith(D)&&z.charAt(G)==="/",F=_!=null&&(_===D||!u&&_.startsWith(D)&&_.charAt(D.length)==="/"),K={isActive:X,isPending:F,isTransitioning:M},P=X?i:void 0,$;typeof r=="function"?$=r(K):$=[r,X?"active":null,F?"pending":null,M?"transitioning":null].filter(Boolean).join(" ");let W=typeof f=="function"?f(K):f;return E.createElement(Te,{...p,"aria-current":P,className:$,ref:v,style:W,to:h,viewTransition:m},typeof g=="function"?g(K):g)});G2.displayName="NavLink";var H2=E.forwardRef(({discover:n="render",fetcherKey:i,navigate:l,reloadDocument:r,replace:u,state:f,method:h=wr,action:m,onSubmit:g,relative:p,preventScrollReset:v,viewTransition:x,defaultShouldRevalidate:S,...j},T)=>{let{useTransitions:C}=E.useContext(zt),M=K2(),D=Q2(m,{relative:p}),z=h.toLowerCase()==="get"?"get":"post",_=typeof m=="string"&&Df.test(m),G=X=>{if(g&&g(X),X.defaultPrevented)return;X.preventDefault();let F=X.nativeEvent.submitter,K=(F==null?void 0:F.getAttribute("formmethod"))||h,P=()=>M(F||X.currentTarget,{fetcherKey:i,method:K,navigate:l,replace:u,state:f,relative:p,preventScrollReset:v,viewTransition:x,defaultShouldRevalidate:S}
60);C&&l!==!1?E.startTransition(()=>P()):P()};return E.createElement("form",{ref:T,method:z,action:D,onSubmit:r?g:G,...j,"data-discover":!_&&n==="render"?"true":void 0})});H2.displayName="Form";function q2(n){return`${n} must be used within a data router.  See https://reactrouter.com/en/main/routers/picking-a-router.`}function Dv(n){let i=E.useContext(_i);return ke(i,q2(n)),i}function Y2(n,{target:i,replace:l,mask:r,state:u,preventScrollReset:f,relative:h,viewTransition:m,defaultShouldRevalidate:g,useTransitions:p}={}){let v=Ui(),x=bt(),S=Ws(n,{relative:h});return E.useCallback(j=>{if(x2(j,i)){j.preventDefault();let T=l!==void 0?l:Xs(x)===Xs(S),C=()=>v(n,{replace:T,mask:r,state:u,preventScrollReset:f,relative:h,viewTransition:m,defaultShouldRevalidate:g});p?E.startTransition(()=>C()):C()}},[x,v,S,l,r,u,i,n,f,h,m,g,p])}function Nv(n){Xt(typeof URLSearchParams<"u","You cannot use the `useSearchParams` hook in a browser that does not support the URLSearchParams API. If you need to support Internet Explorer 11, we recommend you load a polyfill such as https://github.com/ungap/url-search-params.");let i=E.useRef(nf(n)),l=E.useRef(!1),r=bt(),u=E.useMemo(()=>b2(r.search,l.current?null:i.current),[r.search]),f=Ui(),h=E.useCallback((m,g)=>{const p=nf(typeof m=="function"?m(new URLSearchParams(u)):m);l.current=!0,f("?"+p,g)},[f,u]);return[u,h]}var P2=0,X2=()=>`__${String(++P2)}__`;function K2(){let{router:n}=Dv("useSubmit"),{basename:i}=E.useContext(zt),l=o2(),r=n.fetch,u=n.navigate;return E.useCallback(async(f,h={})=>{let{action:m,method:g,encType:p,formData:v,body:x}=E2(f,i);if(h.navigate===!1){let S=h.fetcherKey||X2();await r(S,l,h.action||m,{defaultShouldRevalidate:h.defaultShouldRevalidate,preventScrollReset:h.preventScrollReset,formData:v,body:x,formMethod:h.method||g,formEncType:h.encType||p,flushSync:h.flushSync})}else await u(h.action||m,{defaultShouldRevalidate:h.defaultShouldRevalidate,preventScrollReset:h.preventScrollReset,formData:v,body:x,formMethod:h.method||g,formEncType:h.encType||p,replace:h.replace,state:h.state,fromRouteId:l,flushSync:h.flushSync,viewTransition:h.viewTransition})},[r,u,i,l])}function Q2(n,{relative:i}={}){let{basename:l}=E.useContext(zt),r=E.useContext(en);ke(r,"useFormAction must be used inside a RouteContext");let[u]=r.matches.slice(-1),f={...Ws(n||".",{relative:i})},h=bt();if(n==null){f.search=h.search;let m=new URLSearchParams(f.search),g=m.getAll("index");if(g.some(v=>v==="")){m.delete("index"),g.filter(x=>x).forEach(x=>m.append("index",x));let v=m.toString();f.search=v?`?${v}`:""}}return(!n||n===".")&&u.route.index&&(f.search=f.search?f.search.replace(/^\?/,"?index&"):"?index"),l!=="/"&&(f.pathname=f.pathname==="/"?l:$t([l,f.pathname])),Xs(f)}function Z2(n,{relative:i}={}){let l=E.useContext(Tv);ke(l!=null,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`.  Did you accidentally import `RouterProvider` from `react-router`?");let{basename:r}=Dv("useViewTransitionState"),u=Ws(n,{relative:i});if(!l.isTransitioning)return!1;let f=On(l.currentLocation.pathname,r)||l.currentLocation.pathname,h=On(l.nextLocation.pathname,r)||l.nextLocation.pathname;return Vr(u.pathname,h)!=null||Vr(u.pathname,f)!=null}const Gs=3,F2="https://chromewebstore.google.com/detail/geogpt-geoguesser-hack-ch/lcljflhncabedglpibogidcofglieecp";function Di({className:n="chrome-icon"}){return d.jsx("img",{className:n,src:"/chrome-web-store.svg",alt:"",width:20,height:20,decoding:"async"})}function Ua({className:n,children:i,...l}){return d.jsx("a",{className:n,href:F2,...l,children:i})}const J2=[{id:"setup",title:"Add extension, pin & sign in",shortTitle:"Pin & sign in",hint:"Pin GeoGPT to your toolbar, then sign in with your email.",video:"/pin_login.mp4"},{id:"play",title:"Open GeoGuessr or OpenGuessr & enjoy",shortTitle:"Open GeoGuessr or OpenGuessr & enjoy!",hint:"Start a round — the HUD shows the place and pin when you’re ready.",video:"/guide_play.mp4"}];function W2(){if(typeof navigator>"u")return!1;const n=navigator.userAgent||"";return/TikTok|Bytedance|ByteLocale|musical_ly|Instagram|FBAN|FBAV|Line\/|MicroMessenger/i.test(n)}
60function zc(n){n&&(n.muted=!0,n.defaultMuted=!0,n.playsInline=!0,n.setAttribute("muted",""),n.setAttribute("playsinline","true"),n.setAttribute("webkit-playsinline","true"),n.setAttribute("x5-playsinline","true"),n.setAttribute("x5-video-player-type","h5"),n.setAttribute("x5-video-player-fullscreen","false"),n.setAttribute("x5-video-orientation","portrait"))}function Vs(n){var i,l,r;try{typeof n.webkitDisplayingFullscreen=="boolean"&&n.webkitDisplayingFullscreen&&((i=n.webkitExitFullscreen)==null||i.call(n))}catch{}try{document.fullscreenElement===n&&((l=document.exitFullscreen)==null||l.call(document))}catch{}try{n.webkitPresentationMode==="fullscreen"&&((r=n.webkitSetPresentationMode)==null||r.call(n,"inline"))}catch{}}function zv({src:n,className:i="","aria-label":l,onError:r,preload:u="auto",autoPlayWhenVisible:f=!0,...h}){const m=E.useRef(null),g=E.useRef(!1),[p,v]=E.useState(!1),x=E.useCallback(j=>{if(j)try{j.readyState>=1&&j.currentTime<.05&&(j.currentTime=.08)}catch{}},[]),S=E.useCallback(async()=>{const j=m.current;if(!j)return!1;zc(j);try{const T=j.play();return T&&await T,Vs(j),v(!1),!0}catch{return v(!0),x(j),!1}},[x]);return E.useEffect(()=>{const j=m.current;if(!j||!n)return;let T=!1;const C=W2();zc(j);const M=()=>{if(T)return;const F=window.matchMedia("(prefers-reduced-motion: reduce)").matches;f&&!C&&g.current&&document.visibilityState==="visible"&&!F?S():(j.pause(),Vs(j),(g.current||C)&&(v(!0),x(j)))};if(j.dataset.srcAttached!=="1"||j.dataset.attachedSrc!==n){j.src=n.split("#")[0],j.dataset.srcAttached="1",j.dataset.attachedSrc=n;try{j.load()}catch{}}const D=()=>{Vs(j),C||v(!1)},z=()=>{zc(j),x(j),M()},_=()=>Vs(j);j.addEventListener("playing",D),j.addEventListener("loadeddata",z),j.addEventListener("canplay",z),j.addEventListener("loadedmetadata",z),j.addEventListener("webkitbeginfullscreen",_),j.addEventListener("fullscreenchange",_),j.addEventListener("webkitpresentationmodechanged",_);const G=new IntersectionObserver(([F])=>{g.current=!!(F!=null&&F.isIntersecting&&F.intersectionRatio>.12),M()},{threshold:[0,.12,.35],rootMargin:"120px 0px"});G.observe(j);const X=()=>M();return document.addEventListener("visibilitychange",X),C&&v(!0),()=>{T=!0,G.disconnect(),document.removeEventListener("visibilitychange",X),j.removeEventListener("playing",D),j.removeEventListener("loadeddata",z),j.removeEventListener("canplay",z),j.removeEventListener("loadedmetadata",z),j.removeEventListener("webkitbeginfullscreen",_),j.removeEventListener("fullscreenchange",_),j.removeEventListener("webkitpresentationmodechanged",_),j.pause(),Vs(j)}},[n,f,S,x]),d.jsx("div",{className:`smart-video${p?" has-controls":""}${i?` ${i}`:""}`,children:d.jsx("video",{ref:m,className:"smart-video__media",muted:!0,defaultMuted:!0,loop:!0,playsInline:!0,controls:p,controlsList:"nodownload noplaybackrate noremoteplayback",preload:u,disablePictureInPicture:!0,disableRemotePlayback:!0,"aria-label":l,onError:r,...h})})}function $2({step:n}){const[i,l]=E.useState(!1);return i||!n.video?d.jsx("div",{className:"welcome-demo","aria-label":`${n.title} demo video coming soon`,children:d.jsxs("div",{className:"welcome-demo-inner",children:[d.jsx("span",{className:"welcome-demo-icon","aria-hidden":"true",children:d.jsx("svg",{viewBox:"0 0 24 24",fill:"currentColor",width:"28",height:"28",children:d.jsx("path",{d:"M8 5v14l11-7L8 5z"})})}),d.jsx("p",{className:"welcome-demo-title",children:"Demo video"}),d.jsx("p",{className:"welcome-demo-copy",children:"Coming soon"})]})}):d.jsx("div",{className:"welcome-demo welcome-demo--video",children:d.jsx(zv,{className:"welcome-demo-video",src:n.video,"aria-label":`${n.title} demo`,onError:()=>l(!0)})})}function I2({step:n,split:i}){return n.id==="play"?d.jsxs("h2",{children:["Open"," ",d.jsx("a",{href:"https://www.geoguessr.com",target:"_blank",rel:"noopener noreferrer",children:"GeoGuessr"})," ","or"," ",d.jsx("a",{href:"https://www.openguessr.com",target:"_blank",rel:"noopener noreferrer",children:"OpenGuessr"})," ","& enjoy!"]}):d.jsx("h2",{children:i&&n.shortTitle||n.title})}function Ov({steps:n=J2,layout:i="stack"}){const l=i==="split";return d.jsx("ol",{className:`welcome-steps${l?" welcome-steps--split":""}`,children:n.map((r,u)=>d.jsxs("li",{className:`welcome-step${l?" welcome-step--split":""}`,children:[d.jsxs("div",{className:"welcome-step-copy",children:[d.jsxs("span",{className:"welcome-step-num",children:["Step ",u+1]}),d.jsx(I2,{step:r,split:l}),l?null:d.jsx("p",{children:r.hint})]}),d.jsx($2,{step:r})]},r.id))})}const Bf=E.createContext({});function kf(n){const i=E.useRef(null);return i.current===null&&(i.current=n()),i.current}const eT=typeof window<"u",Gf=eT?E.useLayoutEffect:E.useEffect,eo=E.createContext(null);function Hf(n,i){n.indexOf(i)===-1&&n.push(i)}function Br(n,i){const l=n.indexOf(i);l>-1&&n.splice(l,1)}const cn=(n,i,l)=>l>i?i:l<n?n:l;let qf=()=>{};const ua={},Lv=n=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(n),_v=n=>typeof n=="object"&&n!==null,Vv=n=>/^0[^.\s]+$/u.test(n);function Uv(n){let i;return()=>(i===void 0&&(i=n()),i)}const Pt=n=>n,$s=(...n)=>n.reduce((i,l)=>r=>l(i(r))),Ks=(n,i,l)=>{const r=i-n;return r?(l-n)/r:1};class Yf{constructor(){this.subscriptions=[]}add(i){return Hf(this.subscriptions,i),()=>Br(this.subscriptions,i)}notify(i,l,r){const u=this.subscriptions.length;if(u)if(u===1)this.subscriptions[0](i,l,r);else for(let f=0;f<u;f++){const h=this.subscriptions[f];h&&h(i,l,r)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const Nt=n=>n*1e3,Yt=n=>n/1e3,Bv=(n,i)=>i?n*(1e3/i):0,kv=(n,i,l)=>(((1-3*l+3*i)*n+(3*l-6*i))*n+3*i)*n,tT=1e-7,nT=12;function aT(n,i,l,r,u){let f,h,m=0;do h=i+(l-i)/2,f=kv(h,r,u)-n,f>0?l=h:i=h;while(Math.abs(f)>tT&&++m<nT);return h}function Is(n,i,l,r){if(n===i&&l===r)return Pt;const u=f=>aT(f,0,1,n,l);return f=>f===0||f===1?f:kv(u(f),i,r)}const Gv=n=>i=>i<=.5?n(2*i)/2:(2-n(2*(1-i)))/2,Hv=n=>i=>1-n(1-i),qv=Is(.33,1.53,.69,.99),Pf=Hv(qv),Yv=Gv(Pf),Pv=n=>n>=1?1:(n*=2)<1?.5*Pf(n):.5*(2-Math.pow(2,-10*(n-1))),Xf=n=>1-Math.sin(Math.acos(n)),Xv=Hv(Xf),Kv=Gv(Xf),iT=Is(.42,0,1,1),sT=Is(0,0,.58,1),Qv=Is(.42,0,.58,1),lT=n=>Array.isArray(n)&&typeof n[0]!="number",Zv=n=>Array.isArray(n)&&typeof n[0]=="number",rT={linear:Pt,easeIn:iT,easeInOut:Qv,easeOut:sT,circIn:Xf,circInOut:Kv,circOut:Xv,backIn:Pf,backInOut:Yv,backOut:qv,anticipate:Pv},oT=n=>typeof n=="string",Vg=n=>{if(Zv(n)){qf(n.length===4);const[i,l,r,u]=n;return Is(i,l,r,u)}else if(oT(n))return rT[n];return n},br=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function uT(n){let i=new Set,l=new Set,r=!1,u=!1;const f=new WeakSet;let h={delta:0,timestamp:0,isProcessing:!1};function m(p){f.has(p)&&(g.schedule(p),n()),p(h)}const g={schedule:(p,v=!1,x=!1)=>{const j=x&&r?i:l;return v&&f.add(p),j.add(p),p},cancel:p=>{l.delete(p),f.delete(p)},process:p=>{if(h=p,r){u=!0;return}r=!0;const v=i;
vendor: 9,603 bytes, line 60
60i=l,l=v,i.forEach(m),i.clear(),r=!1,u&&(u=!1,g.process(p))}};return g}const cT=40;function Fv(n,i){let l=!1,r=!0;const u={delta:0,timestamp:0,isProcessing:!1},f=()=>l=!0,h=br.reduce((_,G)=>(_[G]=uT(f),_),{}),{setup:m,read:g,resolveKeyframes:p,preUpdate:v,update:x,preRender:S,render:j,postRender:T}=h,C=()=>{const _=ua.useManualTiming,G=_?u.timestamp:performance.now();l=!1,_||(u.delta=r?1e3/60:Math.max(Math.min(G-u.timestamp,cT),1)),u.timestamp=G,u.isProcessing=!0,m.process(u),g.process(u),p.process(u),v.process(u),x.process(u),S.process(u),j.process(u),T.process(u),u.isProcessing=!1,l&&i&&(r=!1,n(C))},M=()=>{l=!0,r=!0,u.isProcessing||n(C)};return{schedule:br.reduce((_,G)=>{const X=h[G];return _[G]=(F,K=!1,P=!1)=>(l||M(),X.schedule(F,K,P)),_},{}),cancel:_=>{for(let G=0;G<br.length;G++)h[br[G]].cancel(_)},state:u,steps:h}}const{schedule:Le,cancel:ca,state:lt,steps:Oc}=Fv(typeof requestAnimationFrame<"u"?requestAnimationFrame:Pt,!0);let Mr;function fT(){Mr=void 0}const ft={now:()=>(Mr===void 0&&ft.set(lt.isProcessing||ua.useManualTiming?lt.timestamp:performance.now()),Mr),set:n=>{Mr=n,queueMicrotask(fT)}},Jv=n=>i=>typeof i=="string"&&i.startsWith(n),Wv=Jv("--"),dT=Jv("var(--"),Kf=n=>dT(n)?hT.test(n.split("/*")[0].trim()):!1,hT=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function Ug(n){return typeof n!="string"?!1:n.split("/*")[0].includes("var(--")}const Bi={test:n=>typeof n=="number",parse:parseFloat,transform:n=>n},Qs={...Bi,transform:n=>cn(0,1,n)},Sr={...Bi,default:1},Hs=n=>Math.round(n*1e5)/1e5,Qf=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function mT(n){return n==null}const pT=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,Zf=(n,i)=>l=>!!(typeof l=="string"&&pT.test(l)&&l.startsWith(n)||i&&!mT(l)&&Object.prototype.hasOwnProperty.call(l,i)),$v=(n,i,l)=>r=>{if(typeof r!="string")return r;const[u,f,h,m]=r.match(Qf);return{[n]:parseFloat(u),[i]:parseFloat(f),[l]:parseFloat(h),alpha:m!==void 0?parseFloat(m):1}},gT=n=>cn(0,255,n),Lc={...Bi,transform:n=>Math.round(gT(n))},Oa={test:Zf("rgb","red"),parse:$v("red","green","blue"),transform:({red:n,green:i,blue:l,alpha:r=1})=>"rgba("+Lc.transform(n)+", "+Lc.transform(i)+", "+Lc.transform(l)+", "+Hs(Qs.transform(r))+")"};function yT(n){let i="",l="",r="",u="";return n.length>5?(i=n.substring(1,3),l=n.substring(3,5),r=n.substring(5,7),u=n.substring(7,9)):(i=n.substring(1,2),l=n.substring(2,3),r=n.substring(3,4),u=n.substring(4,5),i+=i,l+=l,r+=r,u+=u),{red:parseInt(i,16),green:parseInt(l,16),blue:parseInt(r,16),alpha:u?parseInt(u,16)/255:1}}const af={test:Zf("#"),parse:yT,transform:Oa.transform},el=n=>({test:i=>typeof i=="string"&&i.endsWith(n)&&i.split(" ").length===1,parse:parseFloat,transform:i=>`${i}${n}`}),Dn=el("deg"),un=el("%"),te=el("px"),vT=el("vh"),xT=el("vw"),Bg={...un,parse:n=>un.parse(n)/100,transform:n=>un.transform(n*100)},wi={test:Zf("hsl","hue"),parse:$v("hue","saturation","lightness"),transform:({hue:n,saturation:i,lightness:l,alpha:r=1})=>"hsla("+Math.round(n)+", "+un.transform(Hs(i))+", "+un.transform(Hs(l))+", "+Hs(Qs.transform(r))+")"},Fe={test:n=>Oa.test(n)||af.test(n)||wi.test(n),parse:n=>Oa.test(n)?Oa.parse(n):wi.test(n)?wi.parse(n):af.parse(n),transform:n=>typeof n=="string"?n:n.hasOwnProperty("red")?Oa.transform(n):wi.transform(n),getAnimatableNone:n=>{const i=Fe.parse(n);return i.alpha=0,Fe.transform(i)}},bT=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function ST(n){var i,l;return isNaN(n)&&typeof n=="string"&&(((i=n.match(Qf))==null?void 0:i.length)||0)+(((l=n.match(bT))==null?void 0:l.length)||0)>0}const Iv="number",e0="color",TT="var",ET="var(",kg="${}",jT=/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 Ni(n){const i=n.toString(),l=[],r={color:[],number:[],var:[]},u=[];let f=0;const m=i.replace(jT,g=>(Fe.test(g)?(r.color.push(f),u.push(e0),l.push(Fe.parse(g))):g.startsWith(ET)?(r.var.push(f),u.push(TT),l.push(g)):(r.number.push(f),u.push(Iv),l.push(parseFloat(g))),++f,kg)).split(kg);return{values:l,split:m,indexes:r,types:u}}function AT(n){return Ni(n).values}function t0({split:n,types:i}){const l=n.length;return r=>{let u="";for(let f=0;f<l;f++)if(u+=n[f],r[f]!==void 0){const h=i[f];h===Iv?u+=Hs(r[f]):h===e0?u+=Fe.transform(r[f]):u+=r[f]}return u}}function wT(n){return t0(Ni(n))}const CT=n=>typeof n=="number"?0:Fe.test(n)?Fe.getAnimatableNone(n):n,MT=(n,i)=>typeof n=="number"?i!=null&&i.trim().endsWith("/")?n:0:CT(n);function RT(n){const i=Ni(n);return t0(i)(i.values.map((r,u)=>MT(r,i.split[u])))}const It={test:ST,parse:AT,createTransformer:wT,getAnimatableNone:RT};function _c(n,i,l){return l<0&&(l+=1),l>1&&(l-=1),l<1/6?n+(i-n)*6*l:l<1/2?i:l<2/3?n+(i-n)*(2/3-l)*6:n}function DT({hue:n,saturation:i,lightness:l,alpha:r}){n/=360,i/=100,l/=100;let u=0,f=0,h=0;if(!i)u=f=h=l;else{const m=l<.5?l*(1+i):l+i-l*i,g=2*l-m;u=_c(g,m,n+1/3),f=_c(g,m,n),h=_c(g,m,n-1/3)}return{red:Math.round(u*255),green:Math.round(f*255),blue:Math.round(h*255),alpha:r}}function kr(n,i){return l=>l>0?i:n}const Oe=(n,i,l)=>n+(i-n)*l,Vc=(n,i,l)=>{const r=n*n,u=l*(i*i-r)+r;return u<0?0:Math.sqrt(u)},NT=[af,Oa,wi],zT=n=>NT.find(i=>i.test(n));function Gg(n){const i=zT(n);if(!i)return!1;let l=i.parse(n);return i===wi&&(l=DT(l)),l}const Hg=(n,i)=>{const l=Gg(n),r=Gg(i);if(!l||!r)return kr(n,i);const u={...l};return f=>(u.red=Vc(l.red,r.red,f),u.green=Vc(l.green,r.green,f),u.blue=Vc(l.blue,r.blue,f),u.alpha=Oe(l.alpha,r.alpha,f),Oa.transform(u))},sf=new Set(["none","hidden"]);function OT(n,i){return sf.has(n)?l=>l<=0?n:i:l=>l>=1?i:n}function LT(n,i){return l=>Oe(n,i,l)}function Ff(n){return typeof n=="number"?LT:typeof n=="string"?Kf(n)?kr:Fe.test(n)?Hg:UT:Array.isArray(n)?n0:typeof n=="object"?Fe.test(n)?Hg:_T:kr}function n0(n,i){const l=[...n],r=l.length,u=n.map((f,h)=>Ff(f)(f,i[h]));return f=>{for(let h=0;h<r;h++)l[h]=u[h](f);return l}}function _T(n,i){const l={...n,...i},r={};for(const u in l)n[u]!==void 0&&i[u]!==void 0&&(r[u]=Ff(n[u])(n[u],i[u]));return u=>{for(const f in r)l[f]=r[f](u);return l}}function VT(n,i){const l=[],r={color:0,var:0,number:0};for(let u=0;u<i.values.length;u++){const f=i.types[u],h=n.indexes[f][r[f]],m=n.values[h]??0;l[u]=m,r[f]++}return l}const UT=(n,i)=>{const l=It.createTransformer(i),r=Ni(n),u=Ni(i);return r.indexes.var.length===u.indexes.var.length&&r.indexes.color.length===u.indexes.color.length&&r.indexes.number.length>=u.indexes.number.length?sf.has(n)&&!u.values.length||sf.has(i)&&!r.values.length?OT(n,i):$s(n0(VT(r,u),u.values),l):kr(n,i)};function a0(n,i,l){return typeof n=="number"&&typeof i=="number"&&typeof l=="number"?Oe(n,i,l):Ff(n)(n,i)}const BT=n=>{const i=({timestamp:l})=>n(l);return{start:(l=!0)=>Le.update(i,l),stop:()=>ca(i),now:()=>lt.isProcessing?lt.timestamp:ft.now()}},i0=(n,i,l=10)=>{let r="";const u=Math.max(Math.round(i/l),2);for(let f=0;f<u;f++)r+=Math.round(n(f/(u-1))*1e4)/1e4+", ";return`linear(${r.substring(0,r.length-2)})`},Gr=2e4;function Jf(n){let i=0;const l=50;let r=n.next(i);for(;!r.done&&i<Gr;)i+=l,r=n.next(i);return i>=Gr?1/0:i}function kT(n,i=100,l){const r=l({...n,keyframes:[0,i]}),u=Math.min(Jf(r),Gr);return{type:"keyframes",ease:f=>r.next(u*f).value/i,duration:Yt(u)}}const qe={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};function lf(n,i){return n*Math.sqrt(1-i*i)}const GT=12;function HT(n,i,l){let r=l;for(let u=1;u<GT;u++)r=r-n(r)/i(r);return r}const Uc=.001;function qT({duration:n=qe.duration,bounce:i=qe.bounce,velocity:l=qe.velocity,mass:r=qe.mass}){let u,f,h=1-i;h=cn(qe.minDamping,qe.maxDamping,h),n=cn(qe.minDuration,qe.maxDuration,Yt(n)),h<1?(u=p=>{const v=p*h,x=v*n,S=v-l,j=lf(p,h),T=Math.exp(-x);return Uc-S/j*T},f=p=>{const x=p*h*n,S=x*l+l,j=Math.pow(h,2)*Math.pow(p,2)*n,T=Math.exp(-x),C=lf(Math.pow(p,2),h);return(-u(p)+Uc>0?-1:1)*((S-j)*T)/C}):(u=p=>{const v=Math.exp(-p*n),x=(p-l)*n+1;return-Uc+v*x},f=p=>{const v=Math.exp(-p*n),x=(l-p)*(n*n);return v*x});const m=5/n,g=HT(u,f,m);if(n=Nt(n),isNaN(g))return{stiffness:qe.stiffness,damping:qe.damping,duration:n};{const p=Math.pow(g,2)*r;return{stiffness:p,damping:h*2*Math.sqrt(r*p),duration:n}}}const YT=["duration","bounce"],PT=["stiffness","damping","mass"];function qg(n,i){return i.some(l=>n[l]!==void 0)}function XT(n){let i={velocity:qe.velocity,stiffness:qe.stiffness,damping:qe.damping,mass:qe.mass,isResolvedFromDuration:!1,...n};if(!qg(n,PT)&&qg(n,YT))if(i.velocity=0,n.visualDuration){const l=n.visualDuration,r=2*Math.PI/(l*1.2),u=r*r,f=2*cn(.05,1,1-(n.bounce||0))*Math.sqrt(u);i={...i,mass:qe.mass,stiffness:u,damping:f}}else{const l=qT({...n,velocity:0});i={...i,...l,mass:qe.mass},i.isResolvedFromDuration=!0}return i}function Hr(n=qe.visualDuration,i=qe.bounce){const l=typeof n!="object"?{visualDuration:n,keyframes:[0,1],bounce:i}:n;let{restSpeed:r,restDelta:u}=l;const f=l.keyframes[0],h=l.keyframes[l.keyframes.length-1],m={done:!1,value:f},{stiffness:g,damping:p,mass:v,duration:x,velocity:S,isResolvedFromDuration:j}=XT({...l,velocity:-Yt(l.velocity||0)}),T=S||0,C=p/(2*Math.sqrt(g*v)),M=h-f,D=Yt(Math.sqrt(g/v)),z=Math.abs(M)<5;r||(r=z?qe.restSpeed.granular:qe.restSpeed.default),u||(u=z?qe.restDelta.granular:qe.restDelta.default);let _,G,X,F,K,P;
60if(C<1)X=lf(D,C),F=(T+C*D*M)/X,_=W=>{const le=Math.exp(-C*D*W);return h-le*(F*Math.sin(X*W)+M*Math.cos(X*W))},K=C*D*F+M*X,P=C*D*M-F*X,G=W=>Math.exp(-C*D*W)*(K*Math.sin(X*W)+P*Math.cos(X*W));else if(C===1){_=le=>h-Math.exp(-D*le)*(M+(T+D*M)*le);const W=T+D*M;G=le=>Math.exp(-D*le)*(D*W*le-T)}else{const W=D*Math.sqrt(C*C-1);_=Se=>{const de=Math.exp(-C*D*Se),k=Math.min(W*Se,300);return h-de*((T+C*D*M)*Math.sinh(k)+W*M*Math.cosh(k))/W};const le=(T+C*D*M)/W,ce=C*D*le-M*W,we=C*D*M-le*W;G=Se=>{const de=Math.exp(-C*D*Se),k=Math.min(W*Se,300);return de*(ce*Math.sinh(k)+we*Math.cosh(k))}}const $={calculatedDuration:j&&x||null,velocity:W=>Nt(G(W)),next:W=>{if(!j&&C<1){const ce=Math.exp(-C*D*W),we=Math.sin(X*W),Se=Math.cos(X*W),de=h-ce*(F*we+M*Se),k=Nt(ce*(K*we+P*Se));return m.done=Math.abs(k)<=r&&Math.abs(h-de)<=u,m.value=m.done?h:de,m}const le=_(W);if(j)m.done=W>=x;else{const ce=Nt(G(W));m.done=Math.abs(ce)<=r&&Math.abs(h-le)<=u}return m.value=m.done?h:le,m},toString:()=>{const W=Math.min(Jf($),Gr),le=i0(ce=>$.next(W*ce).value,W,30);return W+"ms "+le},toTransition:()=>{}};return $}Hr.applyToOptions=n=>{const i=kT(n,100,Hr);return n.ease=i.ease,n.duration=Nt(i.duration),n.type="keyframes",n};const KT=5;function s0(n,i,l){const r=Math.max(i-KT,0);return Bv(l-n(r),i-r)}function rf({keyframes:n,velocity:i=0,power:l=.8,timeConstant:r=325,bounceDamping:u=10,bounceStiffness:f=500,modifyTarget:h,min:m,max:g,restDelta:p=.5,restSpeed:v}){const x=n[0],S={done:!1,value:x},j=P=>m!==void 0&&P<m||g!==void 0&&P>g,T=P=>m===void 0?g:g===void 0||Math.abs(m-P)<Math.abs(g-P)?m:g;let C=l*i;const M=x+C,D=h===void 0?M:h(M);D!==M&&(C=D-x);const z=P=>-C*Math.exp(-P/r),_=P=>D+z(P),G=P=>{const $=z(P),W=_(P);S.done=Math.abs($)<=p,S.value=S.done?D:W};let X,F;const K=P=>{j(S.value)&&(X=P,F=Hr({keyframes:[S.value,T(S.value)],velocity:s0(_,P,S.value),damping:u,stiffness:f,restDelta:p,restSpeed:v}))};return K(0),{calculatedDuration:null,next:P=>{let $=!1;return!F&&X===void 0&&($=!0,G(P),K(P)),X!==void 0&&P>=X?F.next(P-X):(!$&&G(P),S)}}}function QT(n,i,l){const r=[],u=l||ua.mix||a0,f=n.length-1;for(let h=0;h<f;h++){let m=u(n[h],n[h+1]);if(i){const g=Array.isArray(i)?i[h]||Pt:i;m=$s(g,m)}r.push(m)}return r}function ZT(n,i,{clamp:l=!0,ease:r,mixer:u}={}){const f=n.length;if(qf(f===i.length),f===1)return()=>i[0];if(f===2&&i[0]===i[1])return()=>i[1];const h=n[0]===n[1];n[0]>n[f-1]&&(n=[...n].reverse(),i=[...i].reverse());const m=QT(i,r,u),g=m.length,p=v=>{if(h&&v<n[0])return i[0];let x=0;if(g>1)for(;x<n.length-2&&!(v<n[x+1]);x++);const S=Ks(n[x],n[x+1],v);return m[x](S)};return l?v=>p(cn(n[0],n[f-1],v)):p}function FT(n,i){const l=n[n.length-1];for(let r=1;r<=i;r++){const u=Ks(0,i,r);n.push(Oe(l,1,u))}}function JT(n){const i=[0];return FT(i,n.length-1),i}function WT(n,i){return n.map(l=>l*i)}function $T(n,i){return n.map(()=>i||Qv).splice(0,n.length-1)}function qs({duration:n=300,keyframes:i,times:l,ease:r="easeInOut"}){const u=lT(r)?r.map(Vg):Vg(r),f={done:!1,value:i[0]},h=WT(l&&l.length===i.length?l:JT(i),n),m=ZT(h,i,{ease:Array.isArray(u)?u:$T(i,u)});return{calculatedDuration:n,next:g=>(f.value=m(g),f.done=g>=n,f)}}const IT=n=>n!==null;function to(n,{repeat:i,repeatType:l="loop"},r,u=1){const f=n.filter(IT),m=u<0||i&&l!=="loop"&&i%2===1?0:f.length-1;return!m||r===void 0?f[m]:r}const eE={decay:rf,inertia:rf,tween:qs,keyframes:qs,spring:Hr};function l0(n){typeof n.type=="string"&&(n.type=eE[n.type])}class Wf{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(i=>{this.resolve=i})}notifyFinished(){this.resolve()}then(i,l){return this.finished.then(i,l)}}const tE=n=>n/100;class qr extends Wf{constructor(i){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.delayState={done:!1,value:void 0},this.stop=()=>{var r,u;const{motionValue:l}=this.options;l&&l.updatedAt!==ft.now()&&this.tick(ft.now()),this.isStopped=!0,this.state!=="idle"&&(this.teardown(),(u=(r=this.options).onStop)==null||u.call(r))},this.options=i,this.initAnimation(),this.play(),i.autoplay===!1&&this.pause()}initAnimation(){const{options:i}=this;l0(i);const{type:l=qs,repeat:r=0,repeatDelay:u=0,repeatType:f,velocity:h=0}=i;let{keyframes:m}=i;const g=l||qs;g!==qs&&typeof m[0]!="number"&&(this.mixKeyframes=$s(tE,a0(m[0],m[1])),m=[0,100]);const p=g({...i,keyframes:m});f==="mirror"&&(this.mirroredGenerator=g({...i,keyframes:[...m].reverse(),velocity:-h})),p.calculatedDuration===null&&(p.calculatedDuration=Jf(p));const{calculatedDuration:v}=p;this.calculatedDuration=v,this.resolvedDuration=v+u,this.totalDuration=this.resolvedDuration*(r+1)-u,this.generator=p}updateTime(i){const l=Math.round(i-this.startTime)*this.playbackSpeed;this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=l}tick(i,l=!1){const{generator:r,totalDuration:u,mixKeyframes:f,mirroredGenerator:h,resolvedDuration:m,calculatedDuration:g}=this;if(this.startTime===null)return r.next(0);const{delay:p=0,keyframes:v,repeat:x,repeatType:S,repeatDelay:j,type:T,onUpdate:C,finalKeyframe:M}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,i):this.speed<0&&(this.startTime=Math.min(i-u/this.speed,this.startTime)),l?this.currentTime=i:this.updateTime(i);const D=this.currentTime-p*(this.playbackSpeed>=0?1:-1),z=this.playbackSpeed>=0?D<0:D>u;this.currentTime=Math.max(D,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=u);let _=this.currentTime,G=r;if(x){const P=Math.min(this.currentTime,u)/m;let $=Math.floor(P),W=P%1;!W&&P>
60=1&&(W=1),W===1&&$--,$=Math.min($,x+1),!!($%2)&&(S==="reverse"?(W=1-W,j&&(W-=j/m)):S==="mirror"&&(G=h)),_=cn(0,1,W)*m}let X;z?(this.delayState.value=v[0],X=this.delayState):X=G.next(_),f&&!z&&(X.value=f(X.value));let{done:F}=X;!z&&g!==null&&(F=this.playbackSpeed>=0?this.currentTime>=u:this.currentTime<=0);const K=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&F);return K&&T!==rf&&(X.value=to(v,this.options,M,this.speed)),C&&C(X.value),K&&this.finish(),X}then(i,l){return this.finished.then(i,l)}get duration(){return Yt(this.calculatedDuration)}get iterationDuration(){const{delay:i=0}=this.options||{};return this.duration+Yt(i)}get time(){return Yt(this.currentTime)}set time(i){i=Nt(i),this.currentTime=i,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0?this.holdTime=i:this.driver&&(this.startTime=this.driver.now()-i/this.playbackSpeed),this.driver?this.driver.start(!1):(this.startTime=0,this.state="paused",this.holdTime=i,this.tick(i))}getGeneratorVelocity(){const i=this.currentTime;if(i<=0)return this.options.velocity||0;if(this.generator.velocity)return this.generator.velocity(i);const l=this.generator.next(i).value;return s0(r=>this.generator.next(r).value,i,l)}get speed(){return this.playbackSpeed}set speed(i){const l=this.playbackSpeed!==i;l&&this.driver&&this.updateTime(ft.now()),this.playbackSpeed=i,l&&this.driver&&(this.time=Yt(this.currentTime))}play(){var u,f;if(this.isStopped)return;const{driver:i=BT,startTime:l}=this.options;this.driver||(this.driver=i(h=>this.tick(h))),(f=(u=this.options).onPlay)==null||f.call(u);const r=this.driver.now();this.state==="finished"?(this.updateFinished(),this.startTime=r):this.holdTime!==null?this.startTime=r-this.holdTime:this.startTime||(this.startTime=l??r),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(ft.now()),this.holdTime=this.currentTime}complete(){this.state!=="running"&&this.play(),this.state="finished",this.holdTime=null}finish(){var i,l;this.notifyFinished(),this.teardown(),this.state="finished",(l=(i=this.options).onComplete)==null||l.call(i)}cancel(){var i,l;this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),(l=(i=this.options).onCancel)==null||l.call(i)}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(i){return this.startTime=0,this.tick(i,!0)}attachTimeline(i){var l;return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),(l=this.driver)==null||l.stop(),i.observe(this)}}function nE(n){for(let i=1;i<n.length;i++)n[i]??(n[i]=n[i-1])}const La=n=>n*180/Math.PI,of=n=>{const i=La(Math.atan2(n[1],n[0]));return uf(i)},aE={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:n=>(Math.abs(n[0])+Math.abs(n[3]))/2,rotate:of,rotateZ:of,skewX:n=>La(Math.atan(n[1])),skewY:n=>La(Math.atan(n[2])),skew:n=>(Math.abs(n[1])+Math.abs(n[2]))/2},uf=n=>(n=n%360,n<0&&(n+=360),n),Yg=of,Pg=n=>Math.sqrt(n[0]*n[0]+n[1]*n[1]),Xg=n=>Math.sqrt(n[4]*n[4]+n[5]*n[5]),iE={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:Pg,scaleY:Xg,scale:n=>(Pg(n)+Xg(n))/2,rotateX:n=>uf(La(Math.atan2(n[6],n[5]))),rotateY:n=>uf(La(Math.atan2(-n[2],n[0]))),rotateZ:Yg,rotate:Yg,skewX:n=>La(Math.atan(n[4])),skewY:n=>La(Math.atan(n[1])),skew:n=>(Math.abs(n[1])+Math.abs(n[4]))/2};function cf(n){return n.includes("scale")?1:0}function ff(n,i){if(!n||n==="none")return cf(i);const l=n.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let r,u;if(l)r=iE,u=l;else{const m=n.match(/^matrix\(([-\d.e\s,]+)\)$/u);r=aE,u=m}if(!u)return cf(i);const f=r[i],h=u[1].split(",").map(lE);return typeof f=="function"?f(h):h[f]}const sE=(n,i)=>{const{transform:l="none"}=getComputedStyle(n);return ff(l,i)};function lE(n){return parseFloat(n.trim())}const ki=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],Gi=new Set([...ki,"pathRotation"]),Kg=n=>n===Bi||n===te,rE=new Set(["x","y","z"]),oE=ki.filter(n=>!rE.has(n));function uE(n){const i=[];return oE.forEach(l=>{const r=n.getValue(l);r!==void 0&&(i.push([l,r.get()]),r.set(l.startsWith("scale")?1:0))}),i}const oa={width:({x:n},{paddingLeft:i="0",paddingRight:l="0",boxSizing:r})=>{const u=n.max-n.min;return r==="border-box"?u:u-parseFloat(i)-parseFloat(l)},height:({y:n},{paddingTop:i="0",paddingBottom:l="0",boxSizing:r})=>{const u=n.max-n.min;return r==="border-box"?u:u-parseFloat(i)-parseFloat(l)},top:(n,{top:i})=>parseFloat(i),left:(n,{left:i})=>parseFloat(i),bottom:({y:n},{top:i})=>parseFloat(i)+(n.max-n.min),right:({x:n},{left:i})=>parseFloat(i)+(n.max-n.min),x:(n,{transform:i})=>ff(i,"x"),y:(n,{transform:i})=>ff(i,"y")};oa.translateX=oa.x;oa.translateY=oa.y;const _a=new Set;let df=!1,hf=!1,mf=!1;function r0(){if(hf){const n=Array.from(_a).filter(r=>r.needsMeasurement),i=new Set(n.map(r=>r.element)),l=new Map;
60i.forEach(r=>{const u=uE(r);u.length&&(l.set(r,u),r.render())}),n.forEach(r=>r.measureInitialState()),i.forEach(r=>{r.render();const u=l.get(r);u&&u.forEach(([f,h])=>{var m;(m=r.getValue(f))==null||m.set(h)})}),n.forEach(r=>r.measureEndState()),n.forEach(r=>{r.suspendedScrollY!==void 0&&window.scrollTo(0,r.suspendedScrollY)})}hf=!1,df=!1,_a.forEach(n=>n.complete(mf)),_a.clear()}function o0(){_a.forEach(n=>{n.readKeyframes(),n.needsMeasurement&&(hf=!0)})}function cE(){mf=!0,o0(),r0(),mf=!1}class $f{constructor(i,l,r,u,f,h=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...i],this.onComplete=l,this.name=r,this.motionValue=u,this.element=f,this.isAsync=h}scheduleResolve(){this.state="scheduled",this.isAsync?(_a.add(this),df||(df=!0,Le.read(o0),Le.resolveKeyframes(r0))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:i,name:l,element:r,motionValue:u}=this;if(i[0]===null){const f=u==null?void 0:u.get(),h=i[i.length-1];if(f!==void 0)i[0]=f;else if(r&&l){const m=r.readValue(l,h);m!=null&&(i[0]=m)}i[0]===void 0&&(i[0]=h),u&&f===void 0&&u.set(i[0])}nE(i)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(i=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,i),_a.delete(this)}cancel(){this.state==="scheduled"&&(_a.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}}const fE=n=>n.startsWith("--");function u0(n,i,l){fE(i)?n.style.setProperty(i,l):n.style[i]=l}const dE={};function c0(n,i){const l=Uv(n);return()=>dE[i]??l()}const hE=c0(()=>window.ScrollTimeline!==void 0,"scrollTimeline"),f0=c0(()=>{try{document.createElement("div").animate({opacity:0}
60,{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),ks=([n,i,l,r])=>`cubic-bezier(${n}, ${i}, ${l}, ${r})`,Qg={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:ks([0,.65,.55,1]),circOut:ks([.55,0,1,.45]),backIn:ks([.31,.01,.66,-.59]),backOut:ks([.33,1.53,.69,.99])};function d0(n,i){if(n)return typeof n=="function"?f0()?i0(n,i):"ease-out":Zv(n)?ks(n):Array.isArray(n)?n.map(l=>d0(l,i)||Qg.easeOut):Qg[n]}function mE(n,i,l,{delay:r=0,duration:u=300,repeat:f=0,repeatType:h="loop",ease:m="easeOut",times:g}={},p=void 0){const v={[i]:l};g&&(v.offset=g);const x=d0(m,u);Array.isArray(x)&&(v.easing=x);const S={delay:r,duration:u,easing:Array.isArray(x)?"linear":x,fill:"both",iterations:f+1,direction:h==="reverse"?"alternate":"normal"};return p&&(S.pseudoElement=p),n.animate(v,S)}function h0(n){return typeof n=="function"&&"applyToOptions"in n}function pE({type:n,...i}){return h0(n)&&f0()?n.applyToOptions(i):(i.duration??(i.duration=300),i.ease??(i.ease="easeOut"),i)}class m0 extends Wf{constructor(i){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!i)return;const{element:l,name:r,keyframes:u,pseudoElement:f,allowFlatten:h=!1,finalKeyframe:m,onComplete:g}=i;this.isPseudoElement=!!f,this.allowFlatten=h,this.options=i,qf(typeof i.type!="string");const p=pE(i);this.animation=mE(l,r,u,p,f),p.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!f){const v=to(u,this.options,m,this.speed);this.updateMotionValue&&this.updateMotionValue(v),u0(l,r,v),this.animation.cancel()}g==null||g(),this.notifyFinished()}}play(){this.isStopped||(this.manualStartTime=null,this.animation.play(),this.state==="finished"&&this.updateFinished())}pause(){this.animation.pause()}complete(){var i,l;(l=(i=this.animation).finish)==null||l.call(i)}cancel(){try{this.animation.cancel()}catch{}}stop(){if(this.isStopped)return;this.isStopped=!0;const{state:i}=this;i==="idle"||i==="finished"||(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){var l,r,u;const i=(l=this.options)==null?void 0:l.element;!this.isPseudoElement&&(i!=null&&i.isConnected)&&((u=(r=this.animation).commitStyles)==null||u.call(r))}get duration(){var l,r;const i=((r=(l=this.animation.effect)==null?void 0:l.getComputedTiming)==null?void 0:r.call(l).duration)||0;return Yt(Number(i))}get iterationDuration(){const{delay:i=0}=this.options||{};return this.duration+Yt(i)}get time(){return Yt(Number(this.animation.currentTime)||0)}set time(i){const l=this.finishedTime!==null;this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=Nt(i),l&&this.animation.pause()}get speed(){return this.animation.playbackRate}set speed(i){i<0&&(this.finishedTime=null),this.animation.playbackRate=i}get state(){return this.finishedTime!==null?"finished":this.animation.playState}get startTime(){return this.manualStartTime??Number(this.animation.startTime)}set startTime(i){this.manualStartTime=this.animation.startTime=i}attachTimeline({timeline:i,rangeStart:l,rangeEnd:r,observe:u}){var f;return this.allowFlatten&&((f=this.animation.effect)==null||f.updateTiming({easing:"linear"})),this.animation.onfinish=null,i&&hE()?(this.animation.timeline=i,l&&(this.animation.rangeStart=l),r&&(this.animation.rangeEnd=r),Pt):u(this)}}const p0={anticipate:Pv,backInOut:Yv,circInOut:Kv};function gE(n){return n in p0}function yE(n){typeof n.ease=="string"&&gE(n.ease)&&(n.ease=p0[n.ease])}const Bc=10;class vE extends m0{constructor(i){yE(i),l0(i),super(i),i.startTime!==void 0&&i.autoplay!==!1&&(this.startTime=i.startTime),this.options=i}updateMotionValue(i){const{motionValue:l,onUpdate:r,onComplete:u,element:f,...h}=this.options;if(!l)return;if(i!==void 0){l.set(i);return}const m=new qr({...h,autoplay:!1}),g=Math.max(Bc,ft.now()-this.startTime),p=cn(0,Bc,g-Bc),v=m.sample(g).value,{name:x}=this.options;f&&x&&u0(f,x,v),l.setWithVelocity(m.sample(Math.max(0,g-p)).value,v,p),m.stop()}}const Zg=(n,i)=>i==="zIndex"?!1:!!(typeof n=="number"||Array.isArray(n)||typeof n=="string"&&(It.test(n)||n==="0")&&!n.startsWith("url("));function xE(n){const i=n[0];if(n.length===1)return!0;for(let l=0;l<n.length;l++)if(n[l]!==i)return!0}function bE(n,i,l,r){const u=n[0];if(u===null)return!1;if(i==="display"||i==="visibility")return!0;const f=n[n.length-1],h=Zg(u,i),m=Zg(f,i);return!h||!m?!1:xE(n)||(l==="spring"||h0(l))&&r}function pf(n){n.duration=0,n.type="keyframes"}const g0=new Set(["opacity","clipPath","filter","transform"]),SE=/^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/;function TE(n){for(let i=0;i<n.length;i++)if(typeof n[i]=="string"&&SE.test(n[i]))return!0;return!1}const EE=new Set(["color","backgroundColor","outlineColor","fill","stroke","borderColor","borderTopColor","borderRightColor","borderBottomColor","borderLeftColor"]),jE=Uv(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function AE(n){var x;const{motionValue:i,name:l,repeatDelay:r,repeatType:u,damping:f,type:h,keyframes:m}=n;if(!(((x=i==null?void 0:i.owner)==null?void 0:x.current)instanceof HTMLElement))return!1;const{onUpdate:p,transformTemplate:v}=i.owner.getProps();return jE()&&l&&(g0.has(l)||EE.has(l)&&TE(m))&&(l!=="transform"||!v)&&!p&&!r&&u!=="mirror"&&f!==0&&h!=="inertia"}const wE=40;class CE extends Wf{constructor({autoplay:i=!0,delay:l=0,type:r="keyframes",repeat:u=0,repeatDelay:f=0,repeatType:h="loop",keyframes:m,name:g,motionValue:p,element:v,...x}){var T;super(),this.stop=()=>{var C,M;this._animation&&(this._animation.stop(),(C=this.stopTimeline)==null||C.call(this)),(M=this.keyframeResolver)==null||M.cancel()},this.createdAt=ft.now();const S={autoplay:i,delay:l,type:r,repeat:u,repeatDelay:f,repeatType:h,name:g,motionValue:p,element:v,...x},j=(v==null?void 0:v.KeyframeResolver)||$f;this.keyframeResolver=new j(m,(C,M,D)=>this.onKeyframesResolved(C,M,S,!D),g,p,v),(T=this.keyframeResolver)==null||T.scheduleResolve()}onKeyframesResolved(i,l,r,u){var D,z;this.keyframeResolver=void 0;const{name:f,type:h,velocity:m,delay:g,isHandoff:p,onUpdate:v}=r;this.resolvedAt=ft.now();let x=!0;bE(i,f,h,m)||(x=!1,(ua.instantAnimations||!g)&&(v==null||v(to(i,r,l))),i[0]=i[i.length-1],pf(r),r.repeat=0);const j={startTime:u?this.resolvedAt?this.resolvedAt-this.createdAt>wE?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:l,...r,keyframes:i},T=x&&!p&&AE(j),C=(z=(D=j.motionValue)==null?void 0:D.owner)==null?void 0:z.current;let M;if(T)try{M=new vE({...j,element:C})}catch{M=new qr(j)}else M=new qr(j);M.finished.then(()=>{this.notifyFinished()}).catch(Pt),this.pendingTimeline&&(this.stopTimeline=M.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=M}get finished(){return this._animation?this.animation.finished:this._finished}then(i,l){return this.finished.finally(i).then(()=>{})}get animation(){var i;return this._animation||((i=this.keyframeResolver)==null||i.resume(),cE()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(i){this.animation.time=i}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(i){this.animation.speed=i}get startTime(){return this.animation.startTime}attachTimeline(i){return this._animation?this.stopTimeline=this.animation.attachTimeline(i):this.pendingTimeline=i,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){var i;this._animation&&this.animation.cancel(),(i=this.keyframeResolver)==null||i.cancel()}}function y0(n,i,l,r=0,u=1){const f=Array.from(n).sort((p,v)=>
60p.sortNodePosition(v)).indexOf(i),h=n.size,m=(h-1)*r;return typeof l=="function"?l(f,h):u===1?f*r:m-f*r}const Fg=30,ME=n=>!isNaN(parseFloat(n));class RE{constructor(i,l={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=r=>{var f;const u=ft.now();if(this.updatedAt!==u&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(r),this.current!==this.prev&&((f=this.events.change)==null||f.notify(this.current),this.dependents))for(const h of this.dependents)h.dirty()},this.hasAnimated=!1,this.setCurrent(i),this.owner=l.owner}setCurrent(i){this.current=i,this.updatedAt=ft.now(),this.canTrackVelocity===null&&i!==void 0&&(this.canTrackVelocity=ME(this.current))}setPrevFrameValue(i=this.current){this.prevFrameValue=i,this.prevUpdatedAt=this.updatedAt}onChange(i){return this.on("change",i)}on(i,l){this.events[i]||(this.events[i]=new Yf);const r=this.events[i].add(l);return i==="change"?()=>{r(),Le.read(()=>{this.events.change.getSize()||this.stop()})}:r}clearListeners(){for(const i in this.events)this.events[i].clear()}attach(i,l){this.passiveEffect=i,this.stopPassiveEffect=l}set(i){this.passiveEffect?this.passiveEffect(i,this.updateAndNotify):this.updateAndNotify(i)}setWithVelocity(i,l,r){this.set(l),this.prev=void 0,this.prevFrameValue=i,this.prevUpdatedAt=this.updatedAt-r}jump(i,l=!0){this.updateAndNotify(i),this.prev=i,this.prevUpdatedAt=this.prevFrameValue=void 0,l&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){var i;(i=this.events.change)==null||i.notify(this.current)}addDependent(i){this.dependents||(this.dependents=new Set),this.dependents.add(i)}removeDependent(i){this.dependents&&this.dependents.delete(i)}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const i=ft.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||i-this.updatedAt>Fg)return 0;const l=Math.min(this.updatedAt-this.prevUpdatedAt,Fg);return Bv(parseFloat(this.current)-parseFloat(this.prevFrameValue),l)}start(i){return this.stop(),new Promise(l=>{this.hasAnimated=!0,this.animation=i(l),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(){var i,l;(i=this.dependents)==null||i.clear(),(l=this.events.destroy)==null||l.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function zi(n,i){return new RE(n,i)}function v0(n,i){if(n!=null&&n.inherit&&i){const{inherit:l,...r}=n;return{...i,...r}}return n}function If(n,i){const l=(n==null?void 0:n[i])??(n==null?void 0:n.default)??n;return l!==n?v0(l,n):l}const DE={type:"spring",stiffness:500,damping:25,restSpeed:10},NE=n=>({type:"spring",stiffness:550,damping:n===0?2*Math.sqrt(550):30,restSpeed:10}),zE={type:"keyframes",duration:.8}
60,OE={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},LE=(n,{keyframes:i})=>i.length>2?zE:Gi.has(n)?n.startsWith("scale")?NE(i[1]):DE:OE,_E=new Set(["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from","elapsed"]);function VE(n){for(const i in n)if(!_E.has(i))return!0;return!1}const ed=(n,i,l,r={},u,f)=>h=>{const m=If(r,n)||{},g=m.delay||r.delay||0;let{elapsed:p=0}=r;p=p-Nt(g);const v={keyframes:Array.isArray(l)?l:[null,l],ease:"easeOut",velocity:i.getVelocity(),...m,delay:-p,onUpdate:S=>{i.set(S),m.onUpdate&&m.onUpdate(S)},onComplete:()=>{h(),m.onComplete&&m.onComplete()},name:n,motionValue:i,element:f?void 0:u};VE(m)||Object.assign(v,LE(n,v)),v.duration&&(v.duration=Nt(v.duration)),v.repeatDelay&&(v.repeatDelay=Nt(v.repeatDelay)),v.from!==void 0&&(v.keyframes[0]=v.from);let x=!1;if((v.type===!1||v.duration===0&&!v.repeatDelay)&&(pf(v),v.delay===0&&(x=!0)),(ua.instantAnimations||ua.skipAnimations||u!=null&&u.shouldSkipAnimations||m.skipAnimations)&&(x=!0,pf(v),v.delay=0),v.allowFlatten=!m.type&&!m.ease,x&&!f&&i.get()!==void 0){const S=to(v.keyframes,m);if(S!==void 0){Le.update(()=>{v.onUpdate(S),v.onComplete()});return}}return m.isSync?new qr(v):new CE(v)},UE=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function BE(n){const i=UE.exec(n);if(!i)return[,];const[,l,r,u]=i;return[`--${l??r}`,u]}function x0(n,i,l=1){const[r,u]=BE(n);if(!r)return;const f=window.getComputedStyle(i).getPropertyValue(r);if(f){const h=f.trim();return Lv(h)?parseFloat(h):h}return Kf(u)?x0(u,i,l+1):u}function Jg(n){const i=[{},{}];return n==null||n.values.forEach((l,r)=>{i[0][r]=l.get(),i[1][r]=l.getVelocity()}),i}function td(n,i,l,r){if(typeof i=="function"){const[u,f]=Jg(r);i=i(l!==void 0?l:n.custom,u,f)}if(typeof i=="string"&&(i=n.variants&&n.variants[i]),typeof i=="function"){const[u,f]=Jg(r);i=i(l!==void 0?l:n.custom,u,f)}return i}function Va(n,i,l){const r=n.getProps();return td(r,i,l!==void 0?l:r.custom,n)}const b0=new Set(["width","height","top","left","right","bottom",...ki]),gf=n=>Array.isArray(n);function kE(n,i,l){n.hasValue(i)?n.getValue(i).set(l):n.addValue(i,zi(l))}function GE(n){return gf(n)?n[n.length-1]||0:n}function HE(n,i){const l=Va(n,i);let{transitionEnd:r={},transition:u={},...f}=l||{};f={...f,...r};for(const h in f){const m=GE(f[h]);kE(n,h,m)}}const rt=n=>!!(n&&n.getVelocity);function qE(n){return!!(rt(n)&&n.add)}function yf(n,i){const l=n.getValue("willChange");if(qE(l))return l.add(i);if(!l&&ua.WillChange){const r=new ua.WillChange("auto");n.addValue("willChange",r),r.add(i)}}function nd(n){return n.replace(/([A-Z])/g,i=>`-${i.toLowerCase()}`)}const YE="framerAppearId",S0="data-"+nd(YE);function T0(n){return n.props[S0]}function PE({protectedKeys:n,needsAnimating:i},l){const r=n.hasOwnProperty(l)&&i[l]!==!0;return i[l]=!1,r}function E0(n,i,{delay:l=0,transitionOverride:r,type:u}={}){let{transition:f,transitionEnd:h,...m}=i;const g=n.getDefaultTransition();f=f?v0(f,g):g;const p=f==null?void 0:f.reduceMotion,v=f==null?void 0:f.skipAnimations;r&&(f=r);const x=[],S=u&&n.animationState&&n.animationState.getState()[u],j=f==null?void 0:f.path;j&&j.animateVisualElement(n,m,f,l,x);for(const T in m){const C=n.getValue(T,n.latestValues[T]??null),M=m[T];if(M===void 0||S&&PE(S,T))continue;const D={delay:l,...If(f||{},T)};v&&(D.skipAnimations=!0);const z=C.get();if(z!==void 0&&!C.isAnimating()&&!Array.isArray(M)&&M===z&&!D.velocity){Le.update(()=>C.set(M));continue}let _=!1;if(window.MotionHandoffAnimation){const F=T0(n);if(F){const K=window.MotionHandoffAnimation(F,T,Le);K!==null&&(D.startTime=K,_=!0)}}yf(n,T);const G=p??n.shouldReduceMotion;C.start(ed(T,C,M,G&&b0.has(T)?{type:!1}:D,n,_));const X=C.animation;X&&x.push(X)}if(h){const T=()=>Le.update(()=>{h&&HE(n,h)});x.length?Promise.all(x).then(T):T()}return x}function vf(n,i,l={}){var g;const r=Va(n,i,l.type==="exit"?(g=n.presenceContext)==null?void 0:g.custom:void 0);let{transition:u=n.getDefaultTransition()||{}}=r||{};l.transitionOverride&&(u=l.transitionOverride);const f=r?()=>Promise.all(E0(n,r,l)):()=>Promise.resolve(),h=n.variantChildren&&n.variantChildren.size?(p=0)=>{const{delayChildren:v=0,staggerChildren:x,staggerDirection:S}=u;return XE(n,i,p,v,x,S,l)}:()=>Promise.resolve(),{when:m}=u;if(m){const[p,v]=m==="beforeChildren"?[f,h]:[h,f];return p().then(()=>v())}else return Promise.all([f(),h(l.delay)])}function XE(n,i,l=0,r=0,u=0,f=1,h){const m=[];for(const g of n.variantChildren)g.notify("AnimationStart",i),m.push(vf(g,i,{...h,delay:l+(typeof r=="function"?0:r)+y0(n.variantChildren,g,r,u,f)}).then(()=>g.notify("AnimationComplete",i)));return Promise.all(m)}function KE(n,i,l={}){n.notify("AnimationStart",i);let r;if(Array.isArray(i)){const u=i.map(f=>vf(n,f,l));r=Promise.all(u)}else if(typeof i=="string")r=vf(n,i,l);else{const u=typeof i=="function"?Va(n,i,l.custom):i;r=Promise.all(E0(n,u,l))}return r.then(()=>{n.notify("AnimationComplete",i)})}const QE={test:n=>n==="auto",parse:n=>n},j0=n=>i=>i.test(n),A0=[Bi,te,un,Dn,xT,vT,QE],Wg=n=>A0.find(j0(n));function ZE(n){return typeof n=="number"?n===0:n!==null?n==="none"||n==="0"||Vv(n):!0}const FE=new Set(["brightness","contrast","saturate","opacity"]);function JE(n){const[i,l]=n.slice(0,-1).split("(");if(i==="drop-shadow")return n;const[r]=l.match(Qf)||[];if(!r)return n;const u=l.replace(r,"");let f=FE.has(i)?1:0;return r!==l&&(f*=100),i+"("+f+u+")"}const WE=/\b([a-z-]*)\(.*?\)/gu,xf={...It,getAnimatableNone:n=>{const i=n.match(WE);return i?i.map(JE).join(" "):n}},bf={...It,getAnimatableNone:n=>{const i=It.parse(n);return It.createTransformer(n)(i.map(r=>typeof r=="number"?0:typeof r=="object"?{...r,alpha:1}:r))}},$g={...Bi,transform:Math.round},$E={rotate:Dn,pathRotation:Dn,rotateX:Dn,rotateY:Dn,rotateZ:Dn,scale:Sr,scaleX:Sr,scaleY:Sr,scaleZ:Sr,skew:Dn,skewX:Dn,skewY:Dn,distance:te,translateX:te,translateY:te,translateZ:te,x:te,y:te,z
60:te,perspective:te,transformPerspective:te,opacity:Qs,originX:Bg,originY:Bg,originZ:te},Yr={borderWidth:te,borderTopWidth:te,borderRightWidth:te,borderBottomWidth:te,borderLeftWidth:te,borderRadius:te,borderTopLeftRadius:te,borderTopRightRadius:te,borderBottomRightRadius:te,borderBottomLeftRadius:te,width:te,maxWidth:te,height:te,maxHeight:te,top:te,right:te,bottom:te,left:te,inset:te,insetBlock:te,insetBlockStart:te,insetBlockEnd:te,insetInline:te,insetInlineStart:te,insetInlineEnd:te,padding:te,paddingTop:te,paddingRight:te,paddingBottom:te,paddingLeft:te,paddingBlock:te,paddingBlockStart:te,paddingBlockEnd:te,paddingInline:te,paddingInlineStart:te,paddingInlineEnd:te,margin:te,marginTop:te,marginRight:te,marginBottom:te,marginLeft:te,marginBlock:te,marginBlockStart:te,marginBlockEnd:te,marginInline:te,marginInlineStart:te,marginInlineEnd:te,fontSize:te,backgroundPositionX:te,backgroundPositionY:te,...$E,zIndex:$g,fillOpacity:Qs,strokeOpacity:Qs,numOctaves:$g},IE={...Yr,color:Fe,backgroundColor:Fe,outlineColor:Fe,fill:Fe,stroke:Fe,borderColor:Fe,borderTopColor:Fe,borderRightColor:Fe,borderBottomColor:Fe,borderLeftColor:Fe,filter:xf,WebkitFilter:xf,mask:bf,WebkitMask:bf},w0=n=>IE[n],ej=new Set([xf,bf]);function C0(n,i){let l=w0(n);return ej.has(l)||(l=It),l.getAnimatableNone?l.getAnimatableNone(i):void 0}const tj=new Set(["auto","none","0"]);function nj(n,i,l){let r=0,u;for(;r<n.length&&!u;){const f=n[r];typeof f=="string"&&!tj.has(f)&&Ni(f).values.length&&(u=n[r]),r++}if(u&&l)for(const f of i)n[f]=C0(l,u)}class aj extends $f{constructor(i,l,r,u,f){super(i,l,r,u,f,!0)}readKeyframes(){const{unresolvedKeyframes:i,element:l,name:r}=this;if(!l||!l.current)return;super.readKeyframes();for(let v=0;v<i.length;v++){let x=i[v];if(typeof x=="string"&&(x=x.trim(),Kf(x))){const S=x0(x,l.current);S!==void 0&&(i[v]=S),v===i.length-1&&(this.finalKeyframe=x)}}if(this.resolveNoneKeyframes(),!b0.has(r)||i.length!==2)return;const[u,f]=i,h=Wg(u),m=Wg(f),g=Ug(u),p=Ug(f);if(g!==p&&oa[r]){this.needsMeasurement=!0;return}if(h!==m)if(Kg(h)&&Kg(m))for(let v=0;v<i.length;v++){const x=i[v];typeof x=="string"&&(i[v]=parseFloat(x))}else oa[r]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:i,name:l}=this,r=[];for(let u=0;u<i.length;u++)(i[u]===null||ZE(i[u]))&&r.push(u);r.length&&nj(i,r,l)}measureInitialState(){const{element:i,unresolvedKeyframes:l,name:r}=this;if(!i||!i.current)return;r==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=oa[r](i.measureViewportBox(),window.getComputedStyle(i.current)),l[0]=this.measuredOrigin;const u=l[l.length-1];u!==void 0&&i.getValue(r,u).jump(u,!1)}measureEndState(){var m;const{element:i,name:l,unresolvedKeyframes:r}=this;if(!i||!i.current)return;const u=i.getValue(l);u&&u.jump(this.measuredOrigin,!1);const f=r.length-1,h=r[f];r[f]=oa[l](i.measureViewportBox(),window.getComputedStyle(i.current)),h!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=h),(m=this.removedTransforms)!=null&&m.length&&this.removedTransforms.forEac
60h(([g,p])=>{i.getValue(g).set(p)}),this.resolveNoneKeyframes()}}const ad=["borderTopLeftRadius","borderTopRightRadius","borderBottomRightRadius","borderBottomLeftRadius"];function M0(n,i,l){if(n==null)return[];if(n instanceof EventTarget)return[n];if(typeof n=="string"){let r=document;const u=(l==null?void 0:l[n])??r.querySelectorAll(n);return u?Array.from(u):[]}return Array.from(n).filter(r=>r!=null)}const Sf=(n,i)=>i&&typeof n=="number"?i.transform(n):n;function Rr(n){return _v(n)&&"offsetHeight"in n&&!("ownerSVGElement"in n)}const{schedule:id}=Fv(queueMicrotask,!1),Jt={x:!1,y:!1};function R0(){return Jt.x||Jt.y}function ij(n){return n==="x"||n==="y"?Jt[n]?null:(Jt[n]=!0,()=>{Jt[n]=!1}):Jt.x||Jt.y?null:(Jt.x=Jt.y=!0,()=>{Jt.x=Jt.y=!1})}function D0(n,i){const l=M0(n),r=new AbortController,u={passive:!0,...i,signal:r.signal};return[l,u,()=>r.abort()]}function sj(n){return!(n.pointerType==="touch"||R0())}function lj(n,i,l={}){const[r,u,f]=D0(n,l);return r.forEach(h=>{let m=!1,g=!1,p;const v=()=>{h.removeEventListener("pointerleave",T)},x=M=>{p&&(p(M),p=void 0),v()},S=M=>{m=!1,window.removeEventListener("pointerup",S),window.removeEventListener("pointercancel",S),g&&(g=!1,x(M))},j=()=>{m=!0,window.addEventListener("pointerup",S,u),window.addEventListener("pointercancel",S,u)},T=M=>{if(M.pointerType!=="touch"){if(m){g=!0;return}x(M)}},C=M=>{if(!sj(M))return;g=!1;const D=i(h,M);typeof D=="function"&&(p=D,h.addEventListener("pointerleave",T,u))};h.addEventListener("pointerenter",C,u),h.addEventListener("pointerdown",j,u)}),f}const N0=(n,i)=>i?n===i?!0:N0(n,i.parentElement):!1,sd=n=>n.pointerType==="mouse"?typeof n.button!="number"||n.button<=0:n.isPrimary!==!1,rj=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function oj(n){return rj.has(n.tagName)||n.isContentEditable===!0}const uj=new Set(["INPUT","SELECT","TEXTAREA"]);function cj(n){return uj.has(n.tagName)||n.isContentEditable===!0}const Dr=new WeakSet;function Ig(n){return i=>{i.key==="Enter"&&n(i)}}function kc(n,i){n.dispatchEvent(new PointerEvent("pointer"+i,{isPrimary:!0,bubbles:!0}))}const fj=(n,i)=>{const l=n.currentTarget;if(!l)return;const r=Ig(()=>{if(Dr.has(l))return;kc(l,"down");const u=Ig(()=>{kc(l,"up")}),f=()=>kc(l,"cancel");l.addEventListener("keyup",u,i),l.addEventListener("blur",f,i)});l.addEventListener("keydown",r,i),l.addEventListener("blur",()=>l.removeEventListener("keydown",r),i)};function ey(n){return sd(n)&&!R0()}const ty=new WeakSet;function dj(n,i,l={}){const[r,u,f]=D0(n,l),h=m=>{const g=m.currentTarget;if(!ey(m)||ty.has(m))return;Dr.add(g),l.stopPropagation&&ty.add(m);const p=i(g,m),v={...u,capture:!0},x=(T,C)=>{window.removeEventListener("pointerup",S,v),window.removeEventListener("pointercancel",j,v),Dr.has(g)&&Dr.delete(g),ey(T)&&typeof p=="function"&&p(T,{success:C})},S=T=>{x(T,g===window||g===document||l.useGlobalTarget||N0(g,T.target))},j=T=>{x(T,!1)};window.addEventListener("pointerup",S,v),window.addEventListener("pointercancel",j,v)};return r.forEach(m=>{(l.useGlobalTarget?window:m).addEventListener("pointerdown",h,u),Rr(m)&&(m.addEventListener("focus",p=>fj(p,u)),!oj(m)&&!m.hasAttribute("tabindex")&&(m.tabIndex=0))}),f}function ld(n){return _v(n)&&"ownerSVGElement"in n}const Nr=new WeakMap;let ra;const z0=(n,i,l)=>(r,u)=>u&&u[0]?u[0][n+"Size"]:ld(r)&&"getBBox"in r?r.getBBox()[i]:r[l],hj=z0("inline","width","offsetWidth"),mj=z0("block","height","offsetHeight");function pj({target:n,borderBoxSize:i}){var l;(l=Nr.get(n))==null||l.forEach(r=>{r(n,{get width(){return hj(n,i)},get height(){return mj(n,i)}})})}function gj(n){n.forEach(pj)}function yj(){typeof ResizeObserver>"u"||(ra=new ResizeObserver(gj))}function vj(n,i){ra||yj();const l=M0(n);return l.forEach(r=>{let u=Nr.get(r);u||(u=new Set,Nr.set(r,u)),u.add(i),ra==null||ra.observe(r)}),()=>{l.forEach(r=>{const u=Nr.get(r);u==null||u.delete(i),u!=null&&u.size||ra==null||ra.unobserve(r)})}}const zr=new Set;let Ci;function xj(){Ci=()=>{const n={get width(){return window.innerWidth},get height(){return window.innerHeight}};zr.forEach(i=>i(n))},window.addEventListener("resize",Ci)}function bj(n){return zr.add(n),Ci||xj(),()=>{zr.delete(n),!zr.size&&typeof Ci=="function"&&(window.removeEventListener("resize",Ci),Ci=void 0)}}function ny(n,i){return typeof n=="function"?bj(n):vj(n,i)}function Sj(n){return ld(n)&&n.tagName==="svg"}const Tj=[...A0,Fe,It],Ej=n=>Tj.find(j0(n)),ay=()=>({translate:0,scale:1,origin:0,originPoint:0}),Mi=()=>({x:ay(),y:ay()}),iy=()=>({min:0,max:0}),We=()=>({x:iy(),y:iy()}),jj=new WeakMap;function no(n){return n!==null&&typeof n=="object"&&typeof n.start=="function"}function Zs(n){return typeof n=="string"||Array.isArray(n)}const rd=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],od=["initial",...rd];function ao(n){return no(n.animate)||od.some(i=>Zs(n[i]))}function O0(n){return!!(ao(n)||n.variants)}function Aj(n,i,l){for(const r in i){const u=i[r],f=l[r];if(rt(u))n.addValue(r,u);else if(rt(f))n.addValue(r,zi(u,{owner:n}));else if(f!==u)if(n.hasValue(r)){const h=n.getValue(r);h.liveStyle===!0?h.jump(u):h.hasAnimated||h.set(u)}else{const h=n.getStaticValue(r);n.addValue(r,zi(h!==void 0?h:u,{owner:n}))}}for(const r in l)i[r]===void 0&&n.removeValue(r);return i}const Pr={current:null},ud={current:!1},wj=typeof window<"u";function L0(){if(ud.current=!0,!!wj)if(window.matchMedia){const n=window.matchMedia("(prefers-reduced-motion)"),i=()=>Pr.current=n.matches;
60n.addEventListener("change",i),i()}else Pr.current=!1}const sy=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];let Xr={};function _0(n){Xr=n}function Cj(){return Xr}class Mj{scrapeMotionValuesFromProps(i,l,r){return{}}constructor({parent:i,props:l,presenceContext:r,reducedMotionConfig:u,skipAnimations:f,blockInitialAnimation:h,visualState:m},g={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.shouldSkipAnimations=!1,this.values=new Map,this.KeyframeResolver=$f,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.hasBeenMounted=!1,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=()=>{const j=ft.now();this.renderScheduledAt<j&&(this.renderScheduledAt=j,Le.render(this.render,!1,!0))};const{latestValues:p,renderState:v}=m;this.latestValues=p,this.baseTarget={...p},this.initialValues=l.initial?{...p}:{},this.renderState=v,this.parent=i,this.props=l,this.presenceContext=r,this.depth=i?i.depth+1:0,this.reducedMotionConfig=u,this.skipAnimationsConfig=f,this.options=g,this.blockInitialAnimation=!!h,this.isControllingVariants=ao(l),this.isVariantNode=O0(l),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(i&&i.current);const{willChange:x,...S}=this.scrapeMotionValuesFromProps(l,{},this);for(const j in S){const T=S[j];p[j]!==void 0&&rt(T)&&T.set(p[j])}}mount(i){var l,r;if(this.hasBeenMounted)for(const u in this.initialValues)(l=this.values.get(u))==null||l.jump(this.initialValues[u]),this.latestValues[u]=this.initialValues[u];this.current=i,jj.set(i,this),this.projection&&!this.projection.instance&&this.projection.mount(i),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((u,f)=>this.bindToMotionValue(f,u)),this.reducedMotionConfig==="never"?this.shouldReduceMotion=!1:this.reducedMotionConfig==="always"?this.shouldReduceMotion=!0:(ud.current||L0(),this.shouldReduceMotion=Pr.current),this.shouldSkipAnimations=this.skipAnimationsConfig??!1,(r=this.parent)==null||r.addChild(this),this.update(this.props,this.presenceContext),this.hasBeenMounted=!0}unmount(){var i;this.projection&&this.projection.unmount(),ca(this.notifyUpdate),ca(this.render),this.valueSubscriptions.forEach(l=>l()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),(i=this.parent)==null||i.removeChild(this);for(const l in this.events)this.events[l].clear();for(const l in this.features){const r=this.features[l];r&&(r.unmount(),r.isMounted=!1)}this.current=null}addChild(i){this.children.add(i),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(i)}removeChild(i){this.children.delete(i),this.enteringChildren&&this.enteringChildren.delete(i)}bindToMotionValue(i,l){if(this.valueSubscriptions.has(i)&&this.valueSubscriptions.get(i)(),l.accelerate&&g0.has(i)&&this.current instanceof HTMLElement){const{factory:h,keyframes:m,times:g,ease:p,duration:v}=l.accelerate,x=new m0({element:this.current,name:i,keyframes:m,times:g,ease:p,duration:Nt(v)}),S=h(x);this.valueSubscriptions.set(i,()=>{S(),x.cancel()});return}const r=Gi.has(i);r&&this.onBindTransform&&this.onBindTransform();const u=l.on("change",h=>{this.latestValues[i]=h,this.props.onUpdate&&Le.preRender(this.notifyUpdate),r&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});let f;typeof window<"u"&&window.MotionCheckAppearSync&&(f=window.MotionCheckAppearSync(this,i,l)),this.valueSubscriptions.set(i,()=>{u(),f&&f()})}sortNodePosition(i){return!this.current||!this.sortInstanceNodePosition||this.type!==i.type?0:this.sortInstanceNodePosition(this.current,i.current)}updateFeatures(){let i="animation";for(i in Xr){const l=Xr[i];if(!l)continue;const{isEnabled:r,Feature:u}=l;if(!this.features[i]&&u&&r(this.props)&&(this.features[i]=new u(this)),this.features[i]){const f=this.features[i];
vendor: 6,918 bytes, line 60
60f.isMounted?f.update():(f.mount(),f.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):We()}getStaticValue(i){return this.latestValues[i]}setStaticValue(i,l){this.latestValues[i]=l}update(i,l){(i.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=i,this.prevPresenceContext=this.presenceContext,this.presenceContext=l;for(let r=0;r<sy.length;r++){const u=sy[r];this.propEventSubscriptions[u]&&(this.propEventSubscriptions[u](),delete this.propEventSubscriptions[u]);const f="on"+u,h=i[f];h&&(this.propEventSubscriptions[u]=this.on(u,h))}this.prevMotionValues=Aj(this,this.scrapeMotionValuesFromProps(i,this.prevProps||{},this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(i){return this.props.variants?this.props.variants[i]: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(i){const l=this.getClosestVariantNode();if(l)return l.variantChildren&&l.variantChildren.add(i),()=>l.variantChildren.delete(i)}addValue(i,l){const r=this.values.get(i);l!==r&&(r&&this.removeValue(i),this.bindToMotionValue(i,l),this.values.set(i,l),this.latestValues[i]=l.get())}removeValue(i){this.values.delete(i);const l=this.valueSubscriptions.get(i);l&&(l(),this.valueSubscriptions.delete(i)),delete this.latestValues[i],this.removeValueFromRenderState(i,this.renderState)}hasValue(i){return this.values.has(i)}getValue(i,l){if(this.props.values&&this.props.values[i])return this.props.values[i];let r=this.values.get(i);return r===void 0&&l!==void 0&&(r=zi(l===null?void 0:l,{owner:this}),this.addValue(i,r)),r}readValue(i,l){let r=this.latestValues[i]!==void 0||!this.current?this.latestValues[i]:this.getBaseTargetFromProps(this.props,i)??this.readValueFromInstance(this.current,i,this.options);return r!=null&&(typeof r=="string"&&(Lv(r)||Vv(r))?r=parseFloat(r):!Ej(r)&&It.test(l)&&(r=C0(i,l)),this.setBaseTarget(i,rt(r)?r.get():r)),rt(r)?r.get():r}setBaseTarget(i,l){this.baseTarget[i]=l}getBaseTarget(i){var f;const{initial:l}=this.props;let r;if(typeof l=="string"||typeof l=="object"){const h=td(this.props,l,(f=this.presenceContext)==null?void 0:f.custom);h&&(r=h[i])}if(l&&r!==void 0)return r;const u=this.getBaseTargetFromProps(this.props,i);return u!==void 0&&!rt(u)?u:this.initialValues[i]!==void 0&&r===void 0?void 0:this.baseTarget[i]}on(i,l){return this.events[i]||(this.events[i]=new Yf),this.events[i].add(l)}notify(i,...l){this.events[i]&&this.events[i].notify(...l)}scheduleRenderMicrotask(){id.render(this.render)}}class V0 extends Mj{constructor(){super(...arguments),this.KeyframeResolver=aj}sortInstanceNodePosition(i,l){return i.compareDocumentPosition(l)&2?1:-1}getBaseTargetFromProps(i,l){const r=i.style;return r?r[l]:void 0}removeValueFromRenderState(i,{vars:l,style:r}){delete l[i],delete r[i]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:i}=this.props;rt(i)&&(this.childSubscription=i.on("change",l=>{this.current&&(this.current.textContent=`${l}`)}))}}class fa{constructor(i){this.isMounted=!1,this.node=i}update(){}}function U0({top:n,left:i,right:l,bottom:r}){return{x:{min:i,max:l},y:{min:n,max:r}}}function Rj({x:n,y:i}){return{top:i.min,right:n.max,bottom:i.max,left:n.min}}function Dj(n,i){if(!i)return n;const l=i({x:n.left,y:n.top}),r=i({x:n.right,y:n.bottom});return{top:l.y,left:l.x,bottom:r.y,right:r.x}}function Gc(n){return n===void 0||n===1}function Tf({scale:n,scaleX:i,scaleY:l}){return!Gc(n)||!Gc(i)||!Gc(l)}function Na(n){return Tf(n)||B0(n)||n.z||n.rotate||n.rotateX||n.rotateY||n.skewX||n.skewY}function B0(n){return ly(n.x)||ly(n.y)}function ly(n){return n&&n!=="0%"}function Kr(n,i,l){const r=n-l,u=i*r;return l+u}function ry(n,i,l,r,u){return u!==void 0&&(n=Kr(n,u,r)),Kr(n,l,r)+i}function Ef(n,i=0,l=1,r,u){n.min=ry(n.min,i,l,r,u),n.max=ry(n.max,i,l,r,u)}function k0(n,{x:i,y:l}){Ef(n.x,i.translate,i.scale,i.originPoint),Ef(n.y,l.translate,l.scale,l.originPoint)}const oy=.999999999999,uy=1.0000000000001;function Nj(n,i,l,r=!1){var m;const u=l.length;if(!u)return;i.x=i.y=1;let f,h;for(let g=0;g<u;g++){f=l[g],h=f.projectionDelta;const{visualElement:p}=f.options;p&&p.props.style&&p.props.style.display==="contents"||(r&&f.options.layoutScroll&&f.scroll&&f!==f.root&&(on(n.x,-f.scroll.offset.x),on(n.y,-f.scroll.offset.y)),h&&(i.x*=h.x.scale,i.y*=h.y.scale,k0(n,h)),r&&Na(f.latestValues)&&Or(n,f.latestValues,(m=f.layout)==null?void 0:m.layoutBox))}i.x<uy&&i.x>oy&&(i.x=1),i.y<uy&&i.y>oy&&(i.y=1)}function on(n,i){n.min+=i,n.max+=i}function cy(n,i,l,r,u=.5){const f=Oe(n.min,n.max,u);Ef(n,i,l,f,r)}function fy(n,i){return typeof n=="string"?parseFloat(n)/100*(i.max-i.min):n}function Or(n,i,l){const r=l??n;cy(n.x,fy(i.x,r.x),i.scaleX,i.scale,i.originX),cy(n.y,fy(i.y,r.y),i.scaleY,i.scale,i.originY)}function G0(n,i){return U0(Dj(n.getBoundingClientRect(),i))}function zj(n,i,l){const r=G0(n,l),{scroll:u}=i;return u&&(on(r.x,u.offset.x),on(r.y,u.offset.y)),r}const Oj={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},Lj=ki.length;function _j(n,i,l){let r="",u=!0;for(let h=0;h<Lj;h++){const m=ki[h],g=n[m];if(g===void 0)continue;let p=!0;if(typeof g=="number")p=g===(m.startsWith("scale")?1:0);else{const v=parseFloat(g);p=m.startsWith("scale")?v===1:v===0}if(!p||l){const v=Sf(g,Yr[m]);if(!p){u=!1;const x=Oj[m]||m;r+=`${x}(${v}) `}l&&(i[m]=v)}}const f=n.pathRotation;return f&&(u=!1,r+=`rotate(${Sf(f,Yr.pathRotation)}) `),r=r.trim(),l?r=l(i,u?"":r):u&&(r="none"),r}function cd(n,i,l){const{style:r,vars:u,transformOrigin:f}=n;let h=!1,m=!1;for(const g in i){const p=i[g];if(Gi.has(g)){h=!0;continue}else if(Wv(g)){u[g]=p;continue}else{const v=Sf(p,Yr[g]);g.startsWith("origin")?(m=!0,f[g]=v):r[g]=v}}if(i.transform||(h||l?r.transform=_j(i,n.transform,l):r.transform&&(r.transform="none")),m){const{originX:g="50%",originY:p="50%",originZ:v=0}=f;r.transformOrigin=`${g} ${p} ${v}`}}function H0(n,{style:i,vars:l},r,u){const f=n.style;let h;for(h in i)f[h]=i[h];u==null||u.applyProjectionStyles(f,r);for(h in l)f.setProperty(h,l[h])}function dy(n,i){return i.max===i.min?0:n/(i.max-i.min)*100}const Us={correct:(n,i)=>{if(!i.target)return n;if(typeof n=="string")if(te.test(n))n=parseFloat(n);else return n;const l=dy(n,i.target.x),r=dy(n,i.target.y);return`${l}% ${r}%`}},Vj={correct:(n,{treeScale:i,projectionDelta:l})=>{const r=n,u=It.parse(n);if(u.length>5)return r;const f=It.createTransformer(n),h=typeof u[0]!="number"?1:0,m=l.x.scale*i.x,g=l.y.scale*i.y;u[0+h]/=m,u[1+h]/=g;const p=Oe(m,g,.5);
60return typeof u[2+h]=="number"&&(u[2+h]/=p),typeof u[3+h]=="number"&&(u[3+h]/=p),f(u)}},jf={borderRadius:{...Us,applyTo:[...ad]},borderTopLeftRadius:Us,borderTopRightRadius:Us,borderBottomLeftRadius:Us,borderBottomRightRadius:Us,boxShadow:Vj};function q0(n,{layout:i,layoutId:l}){return Gi.has(n)||n.startsWith("origin")||(i||l!==void 0)&&(!!jf[n]||n==="opacity")}function fd(n,i,l){var h;const r=n.style,u=i==null?void 0:i.style,f={};if(!r)return f;for(const m in r)(rt(r[m])||u&&rt(u[m])||q0(m,n)||((h=l==null?void 0:l.getValue(m))==null?void 0:h.liveStyle)!==void 0)&&(f[m]=r[m]);return f}function Uj(n){return window.getComputedStyle(n)}class Bj extends V0{constructor(){super(...arguments),this.type="html",this.renderInstance=H0}readValueFromInstance(i,l){var r;if(Gi.has(l))return(r=this.projection)!=null&&r.isProjecting?cf(l):sE(i,l);{const u=Uj(i),f=(Wv(l)?u.getPropertyValue(l):u[l])||0;return typeof f=="string"?f.trim():f}}measureInstanceViewportBox(i,{transformPagePoint:l}){return G0(i,l)}build(i,l,r){cd(i,l,r.transformTemplate)}scrapeMotionValuesFromProps(i,l,r){return fd(i,l,r)}}const kj={offset:"stroke-dashoffset",array:"stroke-dasharray"},Gj={offset:"strokeDashoffset",array:"strokeDasharray"};function Hj(n,i,l=1,r=0,u=!0){n.pathLength=1;const f=u?kj:Gj;n[f.offset]=`${-r}`,n[f.array]=`${i} ${l}`}const qj=["offsetDistance","offsetPath","offsetRotate","offsetAnchor"];function Y0(n,{attrX:i,attrY:l,attrScale:r,pathLength:u,pathSpacing:f=1,pathOffset:h=0,...m},g,p,v){if(cd(n,m,p),g){n.style.viewBox&&(n.attrs.viewBox=n.style.viewBox);return}n.attrs=n.style,n.style={};const{attrs:x,style:S}=n;x.transform&&(S.transform=x.transform,delete x.transform),(S.transform||x.transformOrigin)&&(S.transformOrigin=x.transformOrigin??"50% 50%",delete x.transformOrigin),S.transform&&(S.transformBox=(v==null?void 0:v.transformBox)??"fill-box",delete x.transformBox);for(const j of qj)x[j]!==void 0&&(S[j]=x[j],delete x[j]);i!==void 0&&(x.x=i),l!==void 0&&(x.y=l),r!==void 0&&(x.scale=r),u!==void 0&&Hj(x,u,f,h,!1)}const P0=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"]),X0=n=>typeof n=="string"&&n.toLowerCase()==="svg";function Yj(n,i,l,r){H0(n,i,void 0,r);for(const u in i.attrs)n.setAttribute(P0.has(u)?u:nd(u),i.attrs[u])}function K0(n,i,l){const r=fd(n,i,l);for(const u in n)if(rt(n[u])||rt(i[u])){const f=ki.indexOf(u)!==-1?"attr"+u.charAt(0).toUpperCase()+u.substring(1):u;r[f]=n[u]}return r}class Pj extends V0{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=We}getBaseTargetFromProps(i,l){return i[l]}readValueFromInstance(i,l){if(Gi.has(l)){const r=w0(l);return r&&r.default||0}return l=P0.has(l)?l:nd(l),i.getAttribute(l)}scrapeMotionValuesFromProps(i,l,r){return K0(i,l,r)}build(i,l,r){Y0(i,l,this.isSVGTag,r.transformTemplate,r.style)}renderInstance(i,l,r,u){Yj(i,l,r,u)}mount(i){this.isSVGTag=X0(i.tagName),super.mount(i)}}const Xj=od.length;function Q0(n){if(!n)return;if(!n.isControllingVariants){const l=n.parent?Q0(n.parent)||{}:{};return n.props.initial!==void 0&&(l.initial=n.props.initial),l}const i={};for(let l=0;l<Xj;l++){const r=od[l],u=n.props[r];(Zs(u)||u===!1)&&(i[r]=u)}return i}function Z0(n,i){if(!Array.isArray(i))return!1;const l=i.length;if(l!==n.length)return!1;for(let r=0;r<l;r++)if(i[r]!==n[r])return!1;return!0}const Kj=[...rd].reverse(),Qj=rd.length;function Zj(n){return i=>Promise.all(i.map(({animation:l,options:r})=>KE(n,l,r)))}function Fj(n){let i=Zj(n),l=hy(),r=!0,u=!1;const f=p=>(v,x)=>{var j;const S=Va(n,x,p==="exit"?(j=n.presenceContext)==null?void 0:j.custom:void 0);if(S){const{transition:T,transitionEnd:C,...M}=S;v={...v,...M,...C}}return v};function h(p){i=p(n)}function m(p){const{props:v}=n,x=Q0(n.parent)||{},S=[],j=new Set;let T={},C=1/0;for(let D=0;D<Qj;D++){const z=Kj[D],_=l[z],G=v[z]!==void 0?v[z]:x[z],X=Zs(G),F=z===p?_.isActive:null;F===!1&&(C=D);let K=G===x[z]&&G!==v[z]&&X;if(K&&(r||u)&&n.manuallyAnimateOnMount&&(K=!1),_.protectedKeys={...T},!_.isActive&&F===null||!G&&!_.prevProp||no(G)||typeof G=="boolean")continue;if(z==="exit"&&_.isActive&&F!==!0){_.prevResolvedValues&&(T={...T,..._.prevResolvedValues});continue}const P=Jj(_.prevProp,G);let $=P||z===p&&_.isActive&&!K&&X||D>C&&X,W=!1;const le=Array.isArray(G)?G:[G];let ce=le.reduce(f(z),{});F===!1&&(ce={});const{prevResolvedValues:we={}}=_,Se={...we,...ce},de=J=>{$=!0,j.has(J)&&(W=!0,j.delete(J)),_.needsAnimating[J]=!0;const re=n.getValue(J);re&&(re.liveStyle=!1)};for(const J in Se){const re=ce[J],pe=we[J];if(T.hasOwnProperty(J))continue;let w=!1;gf(re)&&gf(pe)?w=!Z0(re,pe)||P:w=re!==pe,w?re!=null?de(J):j.add(J):re!==void 0&&j.has(J)?de(J):_.protectedKeys[J]=!0}_.prevProp=G,_.prevResolvedValues=ce,_.isActive&&(T={...T,...ce}),(r||u)&&n.blockInitialAnimation&&($=!1);const k=K&&P;$&&(!k||W)&&S.push(...le.map(J=>{const re={type:z};if(typeof J=="string"&&(r||u)&&!k&&n.manuallyAnimateOnMount&&n.parent){const{parent:pe}=n,w=Va(pe,J);if(pe.enteringChildren&&w){const{delayChildren:B}=w.transition||{};re.delay=y0(pe.enteringChildren,n,B)}}return{animation:J,options:re}}))}if(j.size){const D={};if(typeof v.initial!="boolean"){const z=Va(n,Array.isArray(v.initial)?v.initial[0]:v.initial);z&&z.transition&&(D.transition=z.transition)}j.forEach(z=>{const _=n.getBaseTarget(z),G=n.getValue(z);G&&(G.liveStyle=!0),D[z]=_??null}),S.push({animation:D})}let M=!!S.length;return r&&(v.initial===!1||v.initial===v.animate)&&!n.manuallyAnimateOnMount&&(M=!1),r=!1,u=!1,M?
vendor: 3,363 bytes, line 60
60i(S):Promise.resolve()}function g(p,v){var S;if(l[p].isActive===v)return Promise.resolve();(S=n.variantChildren)==null||S.forEach(j=>{var T;return(T=j.animationState)==null?void 0:T.setActive(p,v)}),l[p].isActive=v;const x=m(p);for(const j in l)l[j].protectedKeys={};return x}return{animateChanges:m,setActive:g,setAnimateFunction:h,getState:()=>l,reset:()=>{l=hy(),u=!0}}}function Jj(n,i){return typeof i=="string"?i!==n:Array.isArray(i)?!Z0(i,n):!1}function Da(n=!1){return{isActive:n,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function hy(){return{animate:Da(!0),whileInView:Da(),whileHover:Da(),whileTap:Da(),whileDrag:Da(),whileFocus:Da(),exit:Da()}}function Af(n,i){n.min=i.min,n.max=i.max}function Ft(n,i){Af(n.x,i.x),Af(n.y,i.y)}function my(n,i){n.translate=i.translate,n.scale=i.scale,n.originPoint=i.originPoint,n.origin=i.origin}const F0=1e-4,Wj=1-F0,$j=1+F0,J0=.01,Ij=0-J0,eA=0+J0;function dt(n){return n.max-n.min}function tA(n,i,l){return Math.abs(n-i)<=l}function py(n,i,l,r=.5){n.origin=r,n.originPoint=Oe(i.min,i.max,n.origin),n.scale=dt(l)/dt(i),n.translate=Oe(l.min,l.max,n.origin)-n.originPoint,(n.scale>=Wj&&n.scale<=$j||isNaN(n.scale))&&(n.scale=1),(n.translate>=Ij&&n.translate<=eA||isNaN(n.translate))&&(n.translate=0)}function Ys(n,i,l,r){py(n.x,i.x,l.x,r?r.originX:void 0),py(n.y,i.y,l.y,r?r.originY:void 0)}function gy(n,i,l,r=0){const u=r?Oe(l.min,l.max,r):l.min;n.min=u+i.min,n.max=n.min+dt(i)}function nA(n,i,l,r){gy(n.x,i.x,l.x,r==null?void 0:r.x),gy(n.y,i.y,l.y,r==null?void 0:r.y)}function yy(n,i,l,r=0){const u=r?Oe(l.min,l.max,r):l.min;n.min=i.min-u,n.max=n.min+dt(i)}function Qr(n,i,l,r){yy(n.x,i.x,l.x,r==null?void 0:r.x),yy(n.y,i.y,l.y,r==null?void 0:r.y)}function vy(n,i,l,r,u){return n-=i,n=Kr(n,1/l,r),u!==void 0&&(n=Kr(n,1/u,r)),n}function aA(n,i=0,l=1,r=.5,u,f=n,h=n){if(un.test(i)&&(i=parseFloat(i),i=Oe(h.min,h.max,i/100)-h.min),typeof i!="number")return;let m=Oe(f.min,f.max,r);n===f&&(m-=i),n.min=vy(n.min,i,l,m,u),n.max=vy(n.max,i,l,m,u)}function xy(n,i,[l,r,u],f,h){aA(n,i[l],i[r],i[u],i.scale,f,h)}const iA=["x","scaleX","originX"],sA=["y","scaleY","originY"];function by(n,i,l,r){xy(n.x,i,iA,l?l.x:void 0,r?r.x:void 0),xy(n.y,i,sA,l?l.y:void 0,r?r.y:void 0)}function Sy(n){return n.translate===0&&n.scale===1}function W0(n){return Sy(n.x)&&Sy(n.y)}function Ty(n,i){return n.min===i.min&&n.max===i.max}function lA(n,i){return Ty(n.x,i.x)&&Ty(n.y,i.y)}function Ey(n,i){return Math.round(n.min)===Math.round(i.min)&&Math.round(n.max)===Math.round(i.max)}function $0(n,i){return Ey(n.x,i.x)&&Ey(n.y,i.y)}function jy(n){return dt(n.x)/dt(n.y)}function Ay(n,i){return n.translate===i.translate&&n.scale===i.scale&&n.originPoint===i.originPoint}function ln(n){return[n("x"),n("y")]}function rA(n,i,l){let r="";const u=n.x.translate/i.x,f=n.y.translate/i.y,h=(l==null?void 0:l.z)||0;if((u||f||h)&&(r=`translate3d(${u}px, ${f}px, ${h}px) `),(i.x!==1||i.y!==1)&&(r+=`scale(${1/i.x}, ${1/i.y}) `),l){const{transformPerspective:p,rotate:v,pathRotation:x,rotateX:S,rotateY:j,skewX:T,skewY:C}=l;p&&(r=`perspective(${p}px) ${r}`),v&&(r+=`rotate(${v}deg) `),x&&(r+=`rotate(${x}deg) `),S&&(r+=`rotateX(${S}deg) `),j&&(r+=`rotateY(${j}deg) `),T&&(r+=`skewX(${T}deg) `),C&&(r+=`skewY(${C}deg) `)}const m=n.x.scale*i.x,g=n.y.scale*i.y;return(m!==1||g!==1)&&(r+=`scale(${m}, ${g})`),r||"none"}const oA=ad.length,wy=n=>
60typeof n=="string"?parseFloat(n):n,Cy=n=>typeof n=="number"||te.test(n);function uA(n,i,l,r,u,f){u?(n.opacity=Oe(0,l.opacity??1,cA(r)),n.opacityExit=Oe(i.opacity??1,0,fA(r))):f&&(n.opacity=Oe(i.opacity??1,l.opacity??1,r));for(let h=0;h<oA;h++){const m=ad[h];let g=My(i,m),p=My(l,m);if(g===void 0&&p===void 0)continue;g||(g=0),p||(p=0),g===0||p===0||Cy(g)===Cy(p)?(n[m]=Math.max(Oe(wy(g),wy(p),r),0),(un.test(p)||un.test(g))&&(n[m]+="%")):n[m]=p}(i.rotate||l.rotate)&&(n.rotate=Oe(i.rotate||0,l.rotate||0,r))}function My(n,i){return n[i]!==void 0?n[i]:n.borderRadius}const cA=I0(0,.5,Xv),fA=I0(.5,.95,Pt);function I0(n,i,l){return r=>r<n?0:r>i?1:l(Ks(n,i,r))}function dA(n,i,l){const r=rt(n)?n:zi(n);return r.start(ed("",r,i,l)),r.animation}function Fs(n,i,l,r={passive:!0}){return n.addEventListener(i,l,r),()=>n.removeEventListener(i,l,r)}const hA=(n,i)=>n.depth-i.depth;class mA{constructor(){this.children=[],this.isDirty=!1}add(i){Hf(this.children,i),this.isDirty=!0}remove(i){Br(this.children,i),this.isDirty=!0}forEach(i){this.isDirty&&this.children.sort(hA),this.isDirty=!1,this.children.forEach(i)}}function pA(n,i){const l=ft.now(),r=({timestamp:u})=>{const f=u-l;f>=i&&(ca(r),n(f-i))};return Le.setup(r,!0),()=>ca(r)}function Lr(n){return rt(n)?n.get():n}class gA{constructor(){this.members=[]}add(i){Hf(this.members,i);for(let l=this.members.length-1;l>=0;l--){const r=this.members[l];if(r===i||r===this.lead||r===this.prevLead)continue;const u=r.instance;(!u||u.isConnected===!1)&&!r.snapshot&&(Br(this.members,r),r.unmount())}i.scheduleRender()}remove(i){if(Br(this.members,i),i===this.prevLead&&(this.prevLead=void 0),i===this.lead){const l=this.members[this.members.length-1];l&&this.promote(l)}}relegate(i){var l;for(let r=this.members.indexOf(i)-1;r>=0;r--){const u=this.members[r];if(u.isPresent!==!1&&((l=u.instance)==null?void 0:l.isConnected)!==!1)return this.promote(u),!0}return!1}promote(i,l){var u;const r=this.lead;if(i!==r&&(this.prevLead=r,this.lead=i,i.show(),r)){r.updateSnapshot(),i.scheduleRender();const{layoutDependency:f}=r.options,{layoutDependency:h}=i.options;(f===void 0||f!==h)&&(i.resumeFrom=r,l&&(r.preserveOpacity=!0),r.snapshot&&(i.snapshot=r.snapshot,i.snapshot.latestValues=r.animationValues||r.latestValues),(u=i.root)!=null&&u.isUpdating&&(i.isLayoutDirty=!0)),i.options.crossfade===!1&&r.hide()}}exitAnimationComplete(){this.members.forEach(i=>{var l,r,u,f,h;(r=(l=i.options).onExitComplete)==null||r.call(l),(h=(u=i.resumingFrom)==null?void 0:(f=u.options).onExitComplete)==null||h.call(f)})}scheduleRender(){this.members.forEach(i=>i.instance&&i.scheduleRender(!1))}removeLeadSnapshot(){var i;(i=this.lead)!=null&&i.snapshot&&(this.lead.snapshot=void 0)}}const _r={hasAnimatedSinceResize:!0,hasEverUpdated:!1},Hc=["","X","Y","Z"],yA=1e3;let vA=0;function qc(n,i,l,r){const{latestValues:u}=i;u[n]&&(l[n]=u[n],i.setStaticValue(n,0),r&&(r[n]=0))}function e1(n){if(n.hasCheckedOptimisedAppear=!0,n.root===n)return;const{visualElement:i}=n.options;if(!i)return;const l=T0(i);if(window.MotionHasOptimisedAnimation(l,"transform")){const{layout:u,layoutId:f}=n.options;window.MotionCancelOptimisedAnimation(l,"transform",Le,!(u||f))}const{parent:r}=n;r&&!r.hasCheckedOptimisedAppear&&e1(r)}function t1({attachResizeListener:n,defaultParent:i,measureScroll:l,checkIsScrollRoot:r,resetTransform:u}){return class{constructor(h={},m=i==null?void 0:i()){this.id=vA++,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.layoutVersion=0,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>
60{this.projectionUpdateScheduled=!1,this.nodes.forEach(SA),this.nodes.forEach(CA),this.nodes.forEach(MA),this.nodes.forEach(TA)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=h,this.root=m?m.root||m:this,this.path=m?[...m.path,m]:[],this.parent=m,this.depth=m?m.depth+1:0;for(let g=0;g<this.path.length;g++)this.path[g].shouldResetTransform=!0;this.root===this&&(this.nodes=new mA)}addEventListener(h,m){return this.eventHandlers.has(h)||this.eventHandlers.set(h,new Yf),this.eventHandlers.get(h).add(m)}notifyListeners(h,...m){const g=this.eventHandlers.get(h);g&&g.notify(...m)}hasListeners(h){return this.eventHandlers.has(h)}mount(h){if(this.instance)return;this.isSVG=ld(h)&&!Sj(h),this.instance=h;const{layoutId:m,layout:g,visualElement:p}=this.options;if(p&&!p.current&&p.mount(h),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(g||m)&&(this.isLayoutDirty=!0),n){let v,x=0;const S=()=>this.root.updateBlockedByResize=!1;Le.read(()=>{x=window.innerWidth}),n(h,()=>{const j=window.innerWidth;j!==x&&(x=j,this.root.updateBlockedByResize=!0,v&&v(),v=pA(S,250),_r.hasAnimatedSinceResize&&(_r.hasAnimatedSinceResize=!1,this.nodes.forEach(Ny)))})}m&&this.root.registerSharedNode(m,this),this.options.animate!==!1&&p&&(m||g)&&this.addEventListener("didUpdate",({delta:v,hasLayoutChanged:x,hasRelativeLayoutChanged:S,layout:j})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const T=this.options.transition||p.getDefaultTransition()||OA,{onLayoutAnimationStart:C,onLayoutAnimationComplete:M}=p.getProps(),D=!this.targetLayout||!$0(this.targetLayout,j),z=!x&&S;if(this.options.layoutRoot||this.resumeFrom||z||x&&(D||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);const _={...If(T,"layout"),onPlay:C,onComplete:M};(p.shouldReduceMotion||this.options.layoutRoot)&&(_.delay=0,_.type=!1),this.startAnimation(_),this.setAnimationOrigin(v,z,_.path)}else x||Ny(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=j})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const h=this.getStack();h&&h.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),ca(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(RA),this.animationId++)}getTransformTemplate(){const{visualElement:h}=this.options;return h&&h.getProps().transformTemplate}willUpdate(h=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&e1(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let v=0;v<this.path.length;v++){const x=this.path[v];x.shouldResetTransform=!0,(typeof x.latestValues.x=="string"||typeof x.latestValues.y=="string")&&(x.isLayoutDirty=!0),x.updateScroll("snapshot"),x.options.layoutRoot&&x.willUpdate(!1)}const{layoutId:m,layout:g}=this.options;if(m===void 0&&!g)return;const p=this.getTransformTemplate();this.prevTransformTemplateValue=p?p(this.latestValues,""):void 0,this.updateSnapshot(),h&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){const g=this.updateBlockedByResize;this.unblockUpdate(),this.updateBlockedByResize=!1,this.clearAllSnapshots(),g&&this.nodes.forEach(jA),this.nodes.forEach(Ry);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(Dy);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEac
60h(AA),this.nodes.forEach(wA),this.nodes.forEach(xA),this.nodes.forEach(bA)):this.nodes.forEach(Dy),this.clearAllSnapshots();const m=ft.now();lt.delta=cn(0,1e3/60,m-lt.timestamp),lt.timestamp=m,lt.isProcessing=!0,Oc.update.process(lt),Oc.preRender.process(lt),Oc.render.process(lt),lt.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,id.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(EA),this.sharedNodes.forEach(DA)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,Le.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){Le.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!dt(this.snapshot.measuredBox.x)&&!dt(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 g=0;g<this.path.length;g++)this.path[g].updateScroll();const h=this.layout;this.layout=this.measure(!1),this.layoutVersion++,this.layoutCorrected||(this.layoutCorrected=We()),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:m}=this.options;m&&m.notify("LayoutMeasure",this.layout.layoutBox,h?h.layoutBox:void 0)}updateScroll(h="measure"){let m=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===h&&(m=!1),m&&this.instance){const g=r(this.instance);this.scroll={animationId:this.root.animationId,phase:h,isRoot:g,offset:l(this.instance),wasRoot:this.scroll?this.scroll.isRoot:g}}}resetTransform(){if(!u)return;const h=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,m=this.projectionDelta&&!W0(this.projectionDelta),g=this.getTransformTemplate(),p=g?g(this.latestValues,""):void 0,v=p!==this.prevTransformTemplateValue;h&&this.instance&&(m||Na(this.latestValues)||v)&&(u(this.instance,p),this.shouldResetTransform=!1,this.scheduleRender())}measure(h=!0){const m=this.measurePageBox();let g=this.removeElementScroll(m);return h&&(g=this.removeTransform(g)),LA(g),{animationId:this.root.animationId,measuredBox:m,layoutBox:g,latestValues:{},source:this.id}}measurePageBox(){var p;const{visualElement:h}=this.options;if(!h)return We();const m=h.measureViewportBox();if(!(((p=this.scroll)==null?void 0:p.wasRoot)||this.path.some(_A))){const{scroll:v}=this.root;v&&(on(m.x,v.offset.x),on(m.y,v.offset.y))}return m}removeElementScroll(h){var g;const m=We();if(Ft(m,h),(g=this.scroll)!=null&&g.wasRoot)return m;for(let p=0;p<this.path.length;p++){const v=this.path[p],{scroll:x,options:S}=v;v!==this.root&&x&&S.layoutScroll&&(x.wasRoot&&Ft(m,h),on(m.x,x.offset.x),on(m.y,x.offset.y))}return m}applyTransform(h,m=!1,g){var v,x;const p=g||We();Ft(p,h);for(let S=0;S<this.path.length;S++){const j=this.path[S];!m&&j.options.layoutScroll&&j.scroll&&j!==j.root&&(on(p.x,-j.scroll.offset.x),on(p.y,-j.scroll.offset.y)),Na(j.latestValues)&&Or(p,j.latestValues,(v=j.layout)==null?void 0:v.layoutBox)}return Na(this.latestValues)&&Or(p,this.latestValues,(x=this.layout)==null?void 0:x.layoutBox),p}removeTransform(h){var g;const m=We();Ft(m,h);for(let p=0;p<this.path.length;p++){const v=this.path[p];if(!Na(v.latestValues))continue;let x;v.instance&&(Tf(v.latestValues)&&v.updateSnapshot(),x=We(),Ft(x,v.measurePageBox())),by(m,v.latestValues,(g=v.snapshot)==null?void 0:g.layoutBox,x)}return Na(this.latestValues)&&by(m,this.latestValues),m}setTargetDelta(h){this.targetDelta=h,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(h){this.options={...this.options,...h,crossfade:h.crossfade!==void 0?h.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!==lt.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(h=!1){var j;const m=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=m.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=m.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=m.isSharedProjectionDirty);const g=!!this.resumingFrom||this!==m;if(!(h||g&&this.isSharedProjectionDirty||this.isProjectionDirty||(j=this.parent)!=null&&j.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:v,layoutId:x}=this.options;if(!this.layout||!(v||x))return;this.resolvedRelativeTargetAt=lt.timestamp;const S=this.getClosestProjectingParent();S&&this.linkedParentVersion!==S.layoutVersion&&!S.options.layoutRoot&&this.removeRelativeTarget(),!this.targetDelta&&!this.relativeTarget&&(this.options.layoutAnchor!==!1&&S&&S.layout?this.createRelativeTarget(S,this.layout.layoutBox,S.layout.layoutBox):this.removeRelativeTarget()),!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=We(),this.targetWithTransforms=We()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),nA(this.target,this.relativeTarget,this.relativeParent.target,this.options.layoutAnchor||void 0)):this.targetDelta?(this.resumingFrom?this.applyTransform(this.layout.layoutBox,!1,this.target):Ft(this.target,this.layout.layoutBox),k0(this.target,this.targetDelta)):Ft(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,this.options.layoutAnchor!==!1&&S&&!!S.resumingFrom==!!this.resumingFrom&&!S.options.layoutScroll&&S.target&&this.animationProgress!==1?this.createRelativeTarget(S,this.target,S.target):this.relativeParent=this.relativeTarget=void 0))}getClosestProjectingParent(){if(!(!this.parent||Tf(this.parent.latestValues)||B0(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}createRelativeTarget(h,m,g){this.relativeParent=h,this.linkedParentVersion=h.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=We(),this.relativeTargetOrigin=We(),Qr(this.relativeTargetOrigin,m,g,this.options.layoutAnchor||void 0),Ft(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){var T;const h=this.getLead(),m=!!this.resumingFrom||this!==h;let g=!0;if((this.isProjectionDirty||(T=this.parent)!=null&&T.isProjectionDirty)&&
vendor: 5,713 bytes, line 60
60(g=!1),m&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(g=!1),this.resolvedRelativeTargetAt===lt.timestamp&&(g=!1),g)return;const{layout:p,layoutId:v}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(p||v))return;Ft(this.layoutCorrected,this.layout.layoutBox);const x=this.treeScale.x,S=this.treeScale.y;Nj(this.layoutCorrected,this.treeScale,this.path,m),h.layout&&!h.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(h.target=h.layout.layoutBox,h.targetWithTransforms=We());const{target:j}=h;if(!j){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(my(this.prevProjectionDelta.x,this.projectionDelta.x),my(this.prevProjectionDelta.y,this.projectionDelta.y)),Ys(this.projectionDelta,this.layoutCorrected,j,this.latestValues),(this.treeScale.x!==x||this.treeScale.y!==S||!Ay(this.projectionDelta.x,this.prevProjectionDelta.x)||!Ay(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",j))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(h=!0){var m;if((m=this.options.visualElement)==null||m.scheduleRender(),h){const g=this.getStack();g&&g.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=Mi(),this.projectionDelta=Mi(),this.projectionDeltaWithTransform=Mi()}setAnimationOrigin(h,m=!1,g){const p=this.snapshot,v=p?p.latestValues:{},x={...this.latestValues},S=Mi();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!m;const j=We(),T=p?p.source:void 0,C=this.layout?this.layout.source:void 0,M=T!==C,D=this.getStack(),z=!D||D.members.length<=1,_=!!(M&&!z&&this.options.crossfade===!0&&!this.path.some(zA));this.animationProgress=0;let G;const X=g==null?void 0:g.interpolateProjection(h);this.mixTargetDelta=F=>{const K=F/1e3,P=X==null?void 0:X(K);P?(S.x.translate=P.x,S.x.scale=Oe(h.x.scale,1,K),S.x.origin=h.x.origin,S.x.originPoint=h.x.originPoint,S.y.translate=P.y,S.y.scale=Oe(h.y.scale,1,K),S.y.origin=h.y.origin,S.y.originPoint=h.y.originPoint):(zy(S.x,h.x,K),zy(S.y,h.y,K)),this.setTargetDelta(S),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(Qr(j,this.layout.layoutBox,this.relativeParent.layout.layoutBox,this.options.layoutAnchor||void 0),NA(this.relativeTarget,this.relativeTargetOrigin,j,K),G&&lA(this.relativeTarget,G)&&(this.isProjectionDirty=!1),G||(G=We()),Ft(G,this.relativeTarget)),M&&(this.animationValues=x,uA(x,v,this.latestValues,K,_,z)),P&&P.rotate!==void 0&&(this.animationValues||(this.animationValues=x),this.animationValues.pathRotation=P.rotate),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=K},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(h){var m,g,p;this.notifyListeners("animationStart"),(m=this.currentAnimation)==null||m.stop(),(p=(g=this.resumingFrom)==null?void 0:g.currentAnimation)==null||p.stop(),this.pendingAnimation&&(ca(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=Le.update(()=>{_r.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=zi(0)),this.motionValue.jump(0,!1),this.currentAnimation=dA(this.motionValue,[0,1e3],{...h,velocity:0,isSync:!0,onUpdate:v=>{this.mixTargetDelta(v),h.onUpdate&&h.onUpdate(v)},onComplete:()=>{h.onComplete&&h.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const h=this.getStack();h&&h.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(yA),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const h=this.getLead();let{targetWithTransforms:m,target:g,layout:p,latestValues:v}=h;if(!(!m||!g||!p)){if(this!==h&&this.layout&&p&&n1(this.options.animationType,this.layout.layoutBox,p.layoutBox)){g=this.target||We();const x=dt(this.layout.layoutBox.x);g.x.min=h.target.x.min,g.x.max=g.x.min+x;const S=dt(this.layout.layoutBox.y);g.y.min=h.target.y.min,g.y.max=g.y.min+S}Ft(m,g),Or(m,v),Ys(this.projectionDeltaWithTransform,this.layoutCorrected,m,v)}}registerSharedNode(h,m){this.sharedNodes.has(h)||this.sharedNodes.set(h,new gA),this.sharedNodes.get(h).add(m);const p=m.options.initialPromotionConfig;m.promote({transition:p?p.transition:void 0,preserveFollowOpacity:p&&p.shouldPreserveFollowOpacity?p.shouldPreserveFollowOpacity(m):void 0})}isLead(){const h=this.getStack();return h?h.lead===this:!0}getLead(){var m;const{layoutId:h}=this.options;return h?((m=this.getStack())==null?void 0:m.lead)||this:this}getPrevLead(){var m;const{layoutId:h}=this.options;return h?(m=this.getStack())==null?void 0:m.prevLead:void 0}getStack(){const{layoutId:h}=this.options;if(h)return this.root.sharedNodes.get(h)}promote({needsReset:h,transition:m,preserveFollowOpacity:g}={}){const p=this.getStack();p&&p.promote(this,g),h&&(this.projectionDelta=void 0,this.needsReset=!0),m&&this.setOptions({transition:m})}relegate(){const h=this.getStack();return h?h.relegate(this):!1}
60resetSkewAndRotation(){const{visualElement:h}=this.options;if(!h)return;let m=!1;const{latestValues:g}=h;if((g.z||g.rotate||g.rotateX||g.rotateY||g.rotateZ||g.skewX||g.skewY)&&(m=!0),!m)return;const p={};g.z&&qc("z",h,p,this.animationValues);for(let v=0;v<Hc.length;v++)qc(`rotate${Hc[v]}`,h,p,this.animationValues),qc(`skew${Hc[v]}`,h,p,this.animationValues);h.render();for(const v in p)h.setStaticValue(v,p[v]),this.animationValues&&(this.animationValues[v]=p[v]);h.scheduleRender()}applyProjectionStyles(h,m){if(!this.instance||this.isSVG)return;if(!this.isVisible){h.visibility="hidden";return}const g=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,h.visibility="",h.opacity="",h.pointerEvents=Lr(m==null?void 0:m.pointerEvents)||"",h.transform=g?g(this.latestValues,""):"none";return}const p=this.getLead();if(!this.projectionDelta||!this.layout||!p.target){this.options.layoutId&&(h.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,h.pointerEvents=Lr(m==null?void 0:m.pointerEvents)||""),this.hasProjected&&!Na(this.latestValues)&&(h.transform=g?g({},""):"none",this.hasProjected=!1);return}h.visibility="";const v=p.animationValues||p.latestValues;this.applyTransformsToTarget();let x=rA(this.projectionDeltaWithTransform,this.treeScale,v);g&&(x=g(v,x)),h.transform=x;const{x:S,y:j}=this.projectionDelta;h.transformOrigin=`${S.origin*100}% ${j.origin*100}% 0`,p.animationValues?h.opacity=p===this?v.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:v.opacityExit:h.opacity=p===this?v.opacity!==void 0?v.opacity:"":v.opacityExit!==void 0?v.opacityExit:0;for(const T in jf){if(v[T]===void 0)continue;const{correct:C,applyTo:M,isCSSVariable:D}=jf[T],z=x==="none"?v[T]:C(v[T],p);if(M){const _=M.length;for(let G=0;G<_;G++)h[M[G]]=z}else D?this.options.visualElement.renderState.vars[T]=z:h[T]=z}this.options.layoutId&&(h.pointerEvents=p===this?Lr(m==null?void 0:m.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(h=>{var m;return(m=h.currentAnimation)==null?void 0:m.stop()}),this.root.nodes.forEach(Ry),this.root.sharedNodes.clear()}}}function xA(n){n.updateLayout()}function bA(n){var l;const i=((l=n.resumeFrom)==null?void 0:l.snapshot)||n.snapshot;if(n.isLead()&&n.layout&&i&&n.hasListeners("didUpdate")){const{layoutBox:r,measuredBox:u}=n.layout,{animationType:f}=n.options,h=i.source!==n.layout.source;if(f==="size")ln(x=>{const S=h?i.measuredBox[x]:i.layoutBox[x],j=dt(S);S.min=r[x].min,S.max=S.min+j});else if(f==="x"||f==="y"){const x=f==="x"?"y":"x";Af(h?i.measuredBox[x]:i.layoutBox[x],r[x])}else n1(f,i.layoutBox,r)&&ln(x=>{const S=h?i.measuredBox[x]:i.layoutBox[x],j=dt(r[x]);S.max=S.min+j,n.relativeTarget&&!n.currentAnimation&&(n.isProjectionDirty=!0,n.relativeTarget[x].max=n.relativeTarget[x].min+j)});const m=Mi();Ys(m,r,i.layoutBox);const g=Mi();h?Ys(g,n.applyTransform(u,!0),i.measuredBox):Ys(g,r,i.layoutBox);const p=!W0(m);let v=!1;if(!n.resumeFrom){const x=n.getClosestProjectingParent();if(x&&!x.resumeFrom){const{snapshot:S,layout:j}=x;if(S&&j){const T=n.options.layoutAnchor||void 0,C=We();Qr(C,i.layoutBox,S.layoutBox,T);const M=We();Qr(M,r,j.layoutBox,T),$0(C,M)||(v=!0),x.options.layoutRoot&&(n.relativeTarget=M,n.relativeTargetOrigin=C,n.relativeParent=x)}}}n.notifyListeners("didUpdate",{layout:r,snapshot:i,delta:g,layoutDelta:m,hasLayoutChanged:p,hasRelativeLayoutChanged:v})}else if(n.isLead()){const{onExitComplete:r}=n.options;r&&r()}n.options.transition=void 0}function SA(n){n.parent&&(n.isProjecting()||(n.isProjectionDirty=n.parent.isProjectionDirty),n.isSharedProjectionDirty||(n.isSharedProjectionDirty=!!(n.isProjectionDirty||n.parent.isProjectionDirty||n.parent.isSharedProjectionDirty)),n.isTransformDirty||(n.isTransformDirty=n.parent.isTransformDirty))}function TA(n){n.isProjectionDirty=n.isSharedProjectionDirty=n.isTransformDirty=!1}function EA(n){n.clearSnapshot()}function Ry(n){n.clearMeasurements()}function jA(n){n.isLayoutDirty=!0,n.updateLayout()}function Dy(n){n.isLayoutDirty=!1}
60function AA(n){n.isAnimationBlocked&&n.layout&&!n.isLayoutDirty&&(n.snapshot=n.layout,n.isLayoutDirty=!0)}function wA(n){const{visualElement:i}=n.options;i&&i.getProps().onBeforeLayoutMeasure&&i.notify("BeforeLayoutMeasure"),n.resetTransform()}function Ny(n){n.finishAnimation(),n.targetDelta=n.relativeTarget=n.target=void 0,n.isProjectionDirty=!0}function CA(n){n.resolveTargetDelta()}function MA(n){n.calcProjection()}function RA(n){n.resetSkewAndRotation()}function DA(n){n.removeLeadSnapshot()}function zy(n,i,l){n.translate=Oe(i.translate,0,l),n.scale=Oe(i.scale,1,l),n.origin=i.origin,n.originPoint=i.originPoint}function Oy(n,i,l,r){n.min=Oe(i.min,l.min,r),n.max=Oe(i.max,l.max,r)}function NA(n,i,l,r){Oy(n.x,i.x,l.x,r),Oy(n.y,i.y,l.y,r)}function zA(n){return n.animationValues&&n.animationValues.opacityExit!==void 0}const OA={duration:.45,ease:[.4,0,.1,1]},Ly=n=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(n),_y=Ly("applewebkit/")&&!Ly("chrome/")?Math.round:Pt;function Vy(n){n.min=_y(n.min),n.max=_y(n.max)}function LA(n){Vy(n.x),Vy(n.y)}function n1(n,i,l){return n==="position"||n==="preserve-aspect"&&!tA(jy(i),jy(l),.2)}function _A(n){var i;return n!==n.root&&((i=n.scroll)==null?void 0:i.wasRoot)}const VA=t1({attachResizeListener:(n,i)=>Fs(n,"resize",i),measureScroll:()=>{var n,i;return{x:document.documentElement.scrollLeft||((n=document.body)==null?void 0:n.scrollLeft)||0,y:document.documentElement.scrollTop||((i=document.body)==null?void 0:i.scrollTop)||0}},checkIsScrollRoot:()=>!0}),Yc={current:void 0},a1=t1({measureScroll:n=>({x:n.scrollLeft,y:n.scrollTop}),defaultParent:()=>{if(!Yc.current){const n=new VA({});n.mount(window),n.setOptions({layoutScroll:!0}),Yc.current=n}return Yc.current},resetTransform:(n,i)=>{n.style.transform=i!==void 0?i:"none"},checkIsScrollRoot:n=>window.getComputedStyle(n).position==="fixed"}),dd=E.createContext({transformPagePoint:n=>n,isStatic:!1,reducedMotion:"never"});function Uy(n,i){if(typeof n=="function")return n(i);n!=null&&(n.current=i)}function UA(...n){return i=>{let l=!1;const r=n.map(u=>{const f=Uy(u,i);return!l&&typeof f=="function"&&(l=!0),f});if(l)return()=>{for(let u=0;u<r.length;u++){const f=r[u];typeof f=="function"?f():Uy(n[u],null)}}}}function BA(...n){return E.useCallback(UA(...n),n)}class kA extends E.Component{getSnapshotBeforeUpdate(i){const l=this.props.childRef.current;if(Rr(l)&&i.isPresent&&!this.props.isPresent&&this.props.pop!==!1){const r=l.offsetParent,u=Rr(r)&&r.offsetWidth||0,f=Rr(r)&&r.offsetHeight||0,h=getComputedStyle(l),m=this.props.sizeRef.current;m.height=parseFloat(h.height),m.width=parseFloat(h.width),m.top=l.offsetTop,m.left=l.offsetLeft,m.right=u-m.width-m.left,m.bottom=f-m.height-m.top,m.direction=h.direction}return null}componentDidUpdate(){}render(){return this.props.children}}function GA({children:n,isPresent:i,anchorX:l,anchorY:r,root:u,pop:f}){var S;const h=E.useId(),m=E.useRef(null),g=E.useRef({width:0,height:0,top:0,left:0,right:0,bottom:0,direction:"ltr"}),{nonce:p}=E.useContext(dd),v=((S=n.props)==null?void 0:S.ref)??(n==null?void 0:n.ref),x=BA(m,v);return E.useInsertionEffect(()=>{const{width:j,height:T,top:C,left:M,right:D,bottom:z,direction:_}=g.current;if(i||f===!1||!m.current||!j||!T)return;const G=_==="rtl",X=l==="left"?G?`right: ${D}`:`left: ${M}`:G?`left: ${M}`:`right: ${D}`,F=r==="bottom"?`bottom: ${z}`:`top: ${C}`;m.current.dataset.motionPopId=h;const K=document.createElement("style");p&&(K.nonce=p);const P=u??document.head;return P.appendChild(K),K.sheet&&K.sheet.insertRule(`
61          [data-motion-pop-id="${h}"] {
62            position: absolute !important;
63            width: ${j}px !important;
64            height: ${T}px !important;
65            ${X}px !important;
66            ${F}px !important;
67          }
68        `),()=>{var $;($=m.current)==null||$.removeAttribute("data-motion-pop-id"),P.contains(K)&&P.removeChild(K)}},[i]),d.jsx(kA,{isPresent:i,childRef:m,sizeRef:g,pop:f,children:f===!1?n:E.cloneElement(n,{ref:x})})}const HA=({children:n,initial:i,isPresent:l,onExitComplete:r,custom:u,presenceAffectsLayout:f,mode:h,anchorX:m,anchorY:g,root:p})=>{const v=kf(qA),x=E.useId(),S=E.useRef(l),j=E.useRef(r);Gf(()=>{S.current=l,j.current=r});let T=!0,C=E.useMemo(()=>(T=!1,{id:x,initial:i,isPresent:l,custom:u,onExitComplete:M=>{v.set(M,!0);for(const D of v.values())if(!D)return;r&&r()},register:M=>(v.set(M,!1),()=>{var D;v.delete(M),!S.current&&!v.size&&((D=j.current)==null||D.call(j))})}),[l,v,r]);return f&&T&&(C={...C}),E.useMemo(()=>{v.forEach((M,D)=>v.set(D,!1))},[l]),E.useEffect(()=>{!l&&!v.size&&r&&r()},[l]),n=d.jsx(GA,{pop:h==="popLayout",isPresent:l,anchorX:m,anchorY:g,root:p,children:n}),d.jsx(eo.Provider,{value:C,children:n})};function qA(){return new Map}function i1(n=!0){const i=E.useContext(eo);if(i===null)return[!0,null];const{isPresent:l,onExitComplete:r,register:u}=i,f=E.useId();E.useEffect(()=>{if(n)return u(f)},[n]);const h=E.useCallback(()=>n&&r&&r(f),[f,r,n]);return!l&&r?[!1,h]:[!0]}const Tr=n=>n.key||"";function By(n){const i=[];
68return E.Children.forEach(n,l=>{E.isValidElement(l)&&i.push(l)}),i}const s1=({children:n,custom:i,initial:l=!0,onExitComplete:r,presenceAffectsLayout:u=!0,mode:f="sync",propagate:h=!1,anchorX:m="left",anchorY:g="top",root:p})=>{const[v,x]=i1(h),S=E.useMemo(()=>By(n),[n]),j=h&&!v?[]:S.map(Tr),T=E.useRef(!0),C=E.useRef(S),M=kf(()=>new Map),D=E.useRef(new Set),[z,_]=E.useState(S),[G,X]=E.useState(S);Gf(()=>{T.current=!1,C.current=S;for(let P=0;P<G.length;P++){const $=Tr(G[P]);j.includes($)?(M.delete($),D.current.delete($)):M.get($)!==!0&&M.set($,!1)}},[G,j.length,j.join("-")]);const F=[];if(S!==z){let P=[...S];for(let $=0;$<G.length;$++){const W=G[$],le=Tr(W);j.includes(le)||(P.splice($,0,W),F.push(W))}return f==="wait"&&F.length&&(P=F),X(By(P)),_(S),null}const{forceRender:K}=E.useContext(Bf);return d.jsx(d.Fragment,{children:G.map(P=>{const $=Tr(P),W=h&&!v?!1:S===G||j.includes($),le=()=>{if(D.current.has($))return;if(M.has($))D.current.add($),M.set($,!0);else return;let ce=!0;M.forEach(we=>{we||(ce=!1)}),ce&&(K==null||K(),X(C.current),h&&(x==null||x()),r&&r())};return d.jsx(HA,{isPresent:W,initial:!T.current||l?void 0:!1,custom:i,presenceAffectsLayout:u,mode:f,root:p,onExitComplete:W?void 0:le,anchorX:m,anchorY:g,children:P},$)})})},l1=E.createContext({strict:!1}),ky={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"]};let Gy=!1;function YA(){if(Gy)return;const n={};for(const i in ky)n[i]={isEnabled:l=>ky[i].some(r=>!!l[r])};_0(n),Gy=!0}function r1(){return YA(),Cj()}function PA(n){const i=r1();for(const l in n)i[l]={...i[l],...n[l]};_0(i)}const XA=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","propagate","ignoreStrict","viewport"]);function Zr(n){return n.startsWith("while")||n.startsWith("drag")&&n!=="draggable"||n.startsWith("layout")||n.startsWith("onTap")||n.startsWith("onPan")||n.startsWith("onLayout")||XA.has(n)}let o1=n=>!Zr(n);function KA(n){typeof n=="function"&&(o1=i=>i.startsWith("on")?!Zr(i):n(i))}try{KA(require("@emotion/is-prop-valid").default)}catch{}function QA(n,i,l){const r={};for(const u in n)u==="values"&&typeof n.values=="object"||rt(n[u])||(o1(u)||l===!0&&Zr(u)||!i&&!Zr(u)||n.draggable&&u.startsWith("onDrag"))&&(r[u]=n[u]);return r}const io=E.createContext({});function ZA(n,i){if(ao(n)){const{initial:l,animate:r}=n;return{initial:l===!1||Zs(l)?l:void 0,animate:Zs(r)?r:void 0}}return n.inherit!==!1?i:{}}function FA(n){const{initial:i,animate:l}=ZA(n,E.useContext(io));return E.useMemo(()=>({initial:i,animate:l}),[Hy(i),Hy(l)])}function Hy(n){return Array.isArray(n)?n.join(" "):n}const hd=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function u1(n,i,l){for(const r in i)!rt(i[r])&&!q0(r,l)&&(n[r]=i[r])}function JA({transformTemplate:n},i){return E.useMemo(()=>{const l=hd();return cd(l,i,n),Object.assign({},l.vars,l.style)},[i])}function WA(n,i){const l=n.style||{},r={};return u1(r,l,n),Object.assign(r,JA(n,i)),r}function $A(n,i){const l={},r=WA(n,i);return n.drag&&n.dragListener!==!1&&(l.draggable=!1,r.userSelect=r.WebkitUserSelect=r.WebkitTouchCallout="none",r.touchAction=n.drag===!0?"none":`pan-${n.drag==="x"?"y":"x"}`),n.tabIndex===void 0&&(n.onTap||n.onTapStart||n.whileTap)&&(l.tabIndex=0),l.style=r,l}const c1=()=>({...hd(),attrs:{}});function IA(n,i,l,r){const u=E.useMemo(()=>{const f=c1();return Y0(f,i,X0(r),n.transformTemplate,n.style),{...f.attrs,style:{...f.style}}},[i]);if(n.style){const f={};u1(f,n.style,n),u.style={...f,...u.style}}return u}const ew=["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"];
68function md(n){return typeof n!="string"||n.includes("-")?!1:!!(ew.indexOf(n)>-1||/[A-Z]/u.test(n))}function tw(n,i,l,{latestValues:r},u,f=!1,h){const g=(h??md(n)?IA:$A)(i,r,u,n),p=QA(i,typeof n=="string",f),v=n!==E.Fragment?{...p,...g,ref:l}:{},{children:x}=i,S=E.useMemo(()=>rt(x)?x.get():x,[x]);return E.createElement(n,{...v,children:S})}function nw({scrapeMotionValuesFromProps:n,createRenderState:i},l,r,u){return{latestValues:aw(l,r,u,n),renderState:i()}}function aw(n,i,l,r){const u={},f=r(n,{});for(const S in f)u[S]=Lr(f[S]);let{initial:h,animate:m}=n;const g=ao(n),p=O0(n);i&&p&&!g&&n.inherit!==!1&&(h===void 0&&(h=i.initial),m===void 0&&(m=i.animate));let v=l?l.initial===!1:!1;v=v||h===!1;const x=v?m:h;if(x&&typeof x!="boolean"&&!no(x)){const S=Array.isArray(x)?x:[x];for(let j=0;j<S.length;j++){const T=td(n,S[j]);if(T){const{transitionEnd:C,transition:M,...D}=T;for(const z in D){let _=D[z];if(Array.isArray(_)){const G=v?_.length-1:0;_=_[G]}_!==null&&(u[z]=_)}for(const z in C)u[z]=C[z]}}}return u}const f1=n=>(i,l)=>{const r=E.useContext(io),u=E.useContext(eo),f=()=>nw(n,i,r,u);return l?f():kf(f)},iw=f1({scrapeMotionValuesFromProps:fd,createRenderState:hd}),sw=f1({scrapeMotionValuesFromProps:K0,createRenderState:c1}),lw=Symbol.for("motionComponentSymbol");function rw(n,i,l){const r=E.useRef(l);E.useInsertionEffect(()=>{r.current=l});const u=E.useRef(null);return E.useCallback(f=>{var m;f&&((m=n.onMount)==null||m.call(n,f)),i&&(f?i.mount(f):i.unmount());const h=r.current;if(typeof h=="function")if(f){const g=h(f);typeof g=="function"&&(u.current=g)}else u.current?(u.current(),u.current=null):h(f);else h&&(h.current=f)},[i])}const d1=E.createContext({});function Ai(n){return n&&typeof n=="object"&&Object.prototype.hasOwnProperty.call(n,"current")}function ow(n,i,l,r,u,f){var _,G;const{visualElement:h}=E.useContext(io),m=E.useContext(l1),g=E.useContext(eo),p=E.useContext(dd),v=p.reducedMotion,x=p.skipAnimations,S=E.useRef(null),j=E.useRef(!1);r=r||m.renderer,!S.current&&r&&(S.current=r(n,{visualState:i,parent:h,props:l,presenceContext:g,blockInitialAnimation:g?g.initial===!1:!1,reducedMotionConfig:v,skipAnimations:x,isSVG:f}),j.current&&S.current&&(S.current.manuallyAnimateOnMount=!0));const T=S.current,C=E.useContext(d1);T&&!T.projection&&u&&(T.type==="html"||T.type==="svg")&&uw(S.current,l,u,C);const M=E.useRef(!1);E.useInsertionEffect(()=>{T&&M.current&&T.update(l,g)});const D=l[S0],z=E.useRef(!!D&&typeof window<"u"&&!((_=window.MotionHandoffIsComplete)!=null&&_.call(window,D))&&((G=window.MotionHasOptimisedAnimation)==null?void 0:G.call(window,D)));return Gf(()=>{j.current=!0,T&&(M.current=!0,window.MotionIsMounted=!0,T.updateFeatures(),T.scheduleRenderMicrotask(),z.current&&T.animationState&&T.animationState.animateChanges())}),E.useEffect(()=>{T&&(!z.current&&T.animationState&&T.animationState.animateChanges(),z.current&&(queueMicrotask(()=>{var X;(X=window.MotionHandoffMarkAsComplete)==null||X.call(window,D)}),z.current=!1),T.enteringChildren=void 0)}),T}function uw(n,i,l,r){const{layoutId:u,layout:f,drag:h,dragConstraints:m,layoutScroll:g,layoutRoot:p,layoutAnchor:v,layoutCrossfade:x}=i;n.projection=new l(n.latestValues,i["data-framer-portal-id"]?void 0:h1(n.parent)),n.projection.setOptions({layoutId:u,layout:f,alwaysMeasureLayout:!!h||m&&Ai(m),visualElement:n,animationType:typeof f=="string"?f:"both",initialPromotionConfig:r,crossfade:x,layoutScroll:g,layoutRoot:p,layoutAnchor:v})}function h1(n){if(n)return n.options.allowProjection!==!1?n.projection:h1(n.parent)}function Pc(n,{forwardMotionProps:i=!1,type:l}={},r,u){r&&PA(r);const f=l?l==="svg":md(n),h=f?sw:iw;function m(p,v){let x;const S={...E.useContext(dd),...p,layoutId:cw(p)},{isStatic:j}=S,T=FA(p),C=h(p,j);if(!j&&typeof window<"u"){fw();const M=dw(S);x=M.MeasureLayout,T.visualElement=ow(n,C,S,u,M.ProjectionNode,f)}return d.jsxs(io.Provider,{value:T,children:[x&&T.visualElement?d.jsx(x,{visualElement:T.visualElement,...S}):null,tw(n,p,rw(C,T.visualElement,v),C,j,i,f)]})}m.displayName=`motion.${typeof n=="string"?n:`create(${n.displayName??n.name??""})`}`;const g=E.forwardRef(m);return g[lw]=n,g}function cw({layoutId:n}){const i=E.useContext(Bf).id;return i&&n!==void 0?i+"-"+n:n}function fw(n,i){E.useContext(l1).strict}function dw(n){const i=r1(),{drag:l,layout:r}=i;if(!l&&!r)return{};const u={...l,...r};return{MeasureLayout:l!=null&&l.isEnabled(n)||r!=null&&r.isEnabled(n)?u.MeasureLayout:void 0,ProjectionNode:u.ProjectionNode}}
68function hw(n,i){if(typeof Proxy>"u")return Pc;const l=new Map,r=(f,h)=>Pc(f,h,n,i),u=(f,h)=>r(f,h);return new Proxy(u,{get:(f,h)=>h==="create"?r:(l.has(h)||l.set(h,Pc(h,void 0,n,i)),l.get(h))})}const mw=(n,i)=>i.isSVG??md(n)?new Pj(i):new Bj(i,{allowProjection:n!==E.Fragment});class pw extends fa{constructor(i){super(i),i.animationState||(i.animationState=Fj(i))}updateAnimationControlsSubscription(){const{animate:i}=this.node.getProps();no(i)&&(this.unmountControls=i.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:i}=this.node.getProps(),{animate:l}=this.node.prevProps||{};i!==l&&this.updateAnimationControlsSubscription()}unmount(){var i;this.node.animationState.reset(),(i=this.unmountControls)==null||i.call(this)}}let gw=0;class yw extends fa{constructor(){super(...arguments),this.id=gw++,this.isExitComplete=!1}update(){var f;if(!this.node.presenceContext)return;const{isPresent:i,onExitComplete:l}=this.node.presenceContext,{isPresent:r}=this.node.prevPresenceContext||{};if(!this.node.animationState||i===r)return;if(i&&r===!1){if(this.isExitComplete){const{initial:h,custom:m}=this.node.getProps();if(typeof h=="string"||typeof h=="object"&&h!==null&&!Array.isArray(h)){const g=Va(this.node,h,m);if(g){const{transition:p,transitionEnd:v,...x}=g;for(const S in x)(f=this.node.getValue(S))==null||f.jump(x[S])}}this.node.animationState.reset(),this.node.animationState.animateChanges()}else this.node.animationState.setActive("exit",!1);this.isExitComplete=!1;return}const u=this.node.animationState.setActive("exit",!i);l&&!i&&u.then(()=>{this.isExitComplete=!0,l(this.id)})}mount(){const{register:i,onExitComplete:l}=this.node.presenceContext||{};
vendor: 11,483 bytes, line 68
68l&&l(this.id),i&&(this.unmount=i(this.id))}unmount(){}}const vw={animation:{Feature:pw},exit:{Feature:yw}};function tl(n){return{point:{x:n.pageX,y:n.pageY}}}const xw=n=>i=>sd(i)&&n(i,tl(i));function Ps(n,i,l,r){return Fs(n,i,xw(l),r)}const m1=({current:n})=>n?n.ownerDocument.defaultView:null,qy=(n,i)=>Math.abs(n-i);function bw(n,i){const l=qy(n.x,i.x),r=qy(n.y,i.y);return Math.sqrt(l**2+r**2)}const Yy=new Set(["auto","scroll"]);class p1{constructor(i,l,{transformPagePoint:r,contextWindow:u=window,dragSnapToOrigin:f=!1,distanceThreshold:h=3,element:m}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.lastRawMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.scrollPositions=new Map,this.removeScrollListeners=null,this.onElementScroll=T=>{this.handleScroll(T.target)},this.onWindowScroll=()=>{this.handleScroll(window)},this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;this.lastRawMoveEventInfo&&(this.lastMoveEventInfo=Er(this.lastRawMoveEventInfo,this.transformPagePoint));const T=Xc(this.lastMoveEventInfo,this.history),C=this.startEvent!==null,M=bw(T.offset,{x:0,y:0})>=this.distanceThreshold;if(!C&&!M)return;const{point:D}=T,{timestamp:z}=lt;this.history.push({...D,timestamp:z});const{onStart:_,onMove:G}=this.handlers;C||(_&&_(this.lastMoveEvent,T),this.startEvent=this.lastMoveEvent),G&&G(this.lastMoveEvent,T)},this.handlePointerMove=(T,C)=>{this.lastMoveEvent=T,this.lastRawMoveEventInfo=C,this.lastMoveEventInfo=Er(C,this.transformPagePoint),Le.update(this.updatePoint,!0)},this.handlePointerUp=(T,C)=>{this.end();const{onEnd:M,onSessionEnd:D,resumeAnimation:z}=this.handlers;if((this.dragSnapToOrigin||!this.startEvent)&&z&&z(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const _=Xc(T.type==="pointercancel"?this.lastMoveEventInfo:Er(C,this.transformPagePoint),this.history);this.startEvent&&M&&M(T,_),D&&D(T,_)},!sd(i))return;this.dragSnapToOrigin=f,this.handlers=l,this.transformPagePoint=r,this.distanceThreshold=h,this.contextWindow=u||window;const g=tl(i),p=Er(g,this.transformPagePoint),{point:v}=p,{timestamp:x}=lt;this.history=[{...v,timestamp:x}];const{onSessionStart:S}=l;S&&S(i,Xc(p,this.history));const j={passive:!0,capture:!0};this.removeListeners=$s(Ps(this.contextWindow,"pointermove",this.handlePointerMove,j),Ps(this.contextWindow,"pointerup",this.handlePointerUp,j),Ps(this.contextWindow,"pointercancel",this.handlePointerUp,j)),m&&this.startScrollTracking(m)}startScrollTracking(i){let l=i.parentElement;for(;l;){const r=getComputedStyle(l);(Yy.has(r.overflowX)||Yy.has(r.overflowY))&&this.scrollPositions.set(l,{x:l.scrollLeft,y:l.scrollTop}),l=l.parentElement}this.scrollPositions.set(window,{x:window.scrollX,y:window.scrollY}),window.addEventListener("scroll",this.onElementScroll,{capture:!0}),window.addEventListener("scroll",this.onWindowScroll),this.removeScrollListeners=()=>{window.removeEventListener("scroll",this.onElementScroll,{capture:!0}),window.removeEventListener("scroll",this.onWindowScroll)}}handleScroll(i){const l=this.scrollPositions.get(i);if(!l)return;const r=i===window,u=r?{x:window.scrollX,y:window.scrollY}:{x:i.scrollLeft,y:i.scrollTop},f={x:u.x-l.x,y:u.y-l.y};f.x===0&&f.y===0||(r?this.lastMoveEventInfo&&(this.lastMoveEventInfo.point.x+=f.x,this.lastMoveEventInfo.point.y+=f.y):this.history.length>0&&(this.history[0].x-=f.x,this.history[0].y-=f.y),this.scrollPositions.set(i,u),Le.update(this.updatePoint,!0))}updateHandlers(i){this.handlers=i}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),ca(this.updatePoint)}}function Er(n,i){return i?{point:i(n.point)}:n}function Py(n,i){return{x:n.x-i.x,y:n.y-i.y}}function Xc({point:n},i){return{point:n,delta:Py(n,g1(i)),offset:Py(n,Sw(i)),velocity:Tw(i,.1)}}function Sw(n){return n[0]}function g1(n){return n[n.length-1]}function Tw(n,i){if(n.length<2)return{x:0,y:0};let l=n.length-1,r=null;const u=g1(n);for(;l>=0&&(r=n[l],!(u.timestamp-r.timestamp>Nt(i)));)l--;if(!r)return{x:0,y:0};r===n[0]&&n.length>2&&u.timestamp-r.timestamp>Nt(i)*2&&(r=n[1]);const f=Yt(u.timestamp-r.timestamp);if(f===0)return{x:0,y:0};const h={x:(u.x-r.x)/f,y:(u.y-r.y)/f};return h.x===1/0&&(h.x=0),h.y===1/0&&(h.y=0),h}function Ew(n,{min:i,max:l},r){return i!==void 0&&n<i?n=r?Oe(i,n,r.min):Math.max(n,i):l!==void 0&&n>l&&(n=r?Oe(l,n,r.max):Math.min(n,l)),n}function Xy(n,i,l){return{min:i!==void 0?n.min+i:void 0,max:l!==void 0?n.max+l-(n.max-n.min):void 0}}function jw(n,{top:i,left:l,bottom:r,right:u}){return{x:Xy(n.x,l,u),y:Xy(n.y,i,r)}}function Ky(n,i){let l=i.min-n.min,r=i.max-n.max;return i.max-i.min<n.max-n.min&&([l,r]=[r,l]),{min:l,max:r}}function Aw(n,i){return{x:Ky(n.x,i.x),y:Ky(n.y,i.y)}}function ww(n,i){let l=.5;const r=dt(n),u=dt(i);return u>r?l=Ks(i.min,i.max-r,n.min):r>u&&(l=Ks(n.min,n.max-u,i.min)),cn(0,1,l)}function Cw(n,i){const l={};return i.min!==void 0&&(l.min=i.min-n.min),i.max!==void 0&&(l.max=i.max-n.min),l}const wf=.35;function Mw(n=wf){return n===!1?n=0:n===!0&&(n=wf),{x:Qy(n,"left","right"),y:Qy(n,"top","bottom")}}function Qy(n,i,l){return{min:Zy(n,i),max:Zy(n,l)}}function Zy(n,i){return typeof n=="number"?n:n[i]||0}const Rw=new WeakMap;class Dw{constructor(i){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=We(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=i}start(i,{snapToCursor:l=!1,distanceThreshold:r}={}){const{presenceContext:u}=this.visualElement;if(u&&u.isPresent===!1)return;const f=x=>{l&&this.snapToCursor(tl(x).point),this.stopAnimation()},h=(x,S)=>{const{drag:j,dragPropagation:T,onDragStart:C}=this.getProps();if(j&&!T&&(this.openDragLock&&this.openDragLock(),this.openDragLock=ij(j),!this.openDragLock))return;this.latestPointerEvent=x,this.latestPanInfo=S,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),ln(D=>{let z=this.getAxisMotionValue(D).get()||0;if(un.test(z)){const{projection:_}=this.visualElement;if(_&&_.layout){const G=_.layout.layoutBox[D];G&&(z=dt(G)*(parseFloat(z)/100))}}this.originPoint[D]=z}),C&&Le.update(()=>C(x,S),!1,!0),yf(this.visualElement,"transform");const{animationState:M}=this.visualElement;M&&M.setActive("whileDrag",!0)},m=(x,S)=>{this.latestPointerEvent=x,this.latestPanInfo=S;const{dragPropagation:j,dragDirectionLock:T,onDirectionLock:C,onDrag:M}=this.getProps();if(!j&&!this.openDragLock)return;const{offset:D}=S;if(T&&this.currentDirection===null){this.currentDirection=zw(D),this.currentDirection!==null&&C&&C(this.currentDirection);return}this.updateAxis("x",S.point,D),this.updateAxis("y",S.point,D),this.visualElement.render(),M&&Le.update(()=>M(x,S),!1,!0)},g=(x,S)=>{this.latestPointerEvent=x,this.latestPanInfo=S,this.stop(x,S),this.latestPointerEvent=null,this.latestPanInfo=null},p=()=>{const{dragSnapToOrigin:x}=this.getProps();(x||this.constraints)&&this.startAnimation({x:0,y:0})},{dragSnapToOrigin:v}=this.getProps();this.panSession=new p1(i,{onSessionStart:f,onStart:h,onMove:m,onSessionEnd:g,resumeAnimation:p},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:v,distanceThreshold:r,contextWindow:m1(this.visualElement),element:this.visualElement.current})}stop(i,l){const r=i||this.latestPointerEvent,u=l||this.latestPanInfo,f=this.isDragging;if(this.cancel(),!f||!u||!r)return;const{velocity:h}=u;this.startAnimation(h);const{onDragEnd:m}=this.getProps();m&&Le.postRender(()=>m(r,u))}cancel(){this.isDragging=!1;const{projection:i,animationState:l}=this.visualElement;i&&(i.isAnimationBlocked=!1),this.endPanSession();const{dragPropagation:r}=this.getProps();!r&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),l&&l.setActive("whileDrag",!1)}endPanSession(){this.panSession&&this.panSession.end(),this.panSession=void 0}updateAxis(i,l,r){const{drag:u}=this.getProps();if(!r||!jr(i,u,this.currentDirection))return;const f=this.getAxisMotionValue(i);let h=this.originPoint[i]+r[i];this.constraints&&this.constraints[i]&&(h=Ew(h,this.constraints[i],this.elastic[i])),f.set(h)}resolveConstraints(){var f;const{dragConstraints:i,dragElastic:l}=this.getProps(),r=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):(f=this.visualElement.projection)==null?void 0:f.layout,u=this.constraints;i&&Ai(i)?this.constraints||(this.constraints=this.resolveRefConstraints()):i&&r?this.constraints=jw(r.layoutBox,i):this.constraints=!1,this.elastic=Mw(l),u!==this.constraints&&!Ai(i)&&r&&this.constraints&&!this.hasMutatedConstraints&&ln(h=>{this.constraints!==!1&&this.getAxisMotionValue(h)&&(this.constraints[h]=Cw(r.layoutBox[h],this.constraints[h]))})}resolveRefConstraints(){const{dragConstraints:i,onMeasureDragConstraints:l}=this.getProps();if(!i||!Ai(i))return!1;const r=i.current,{projection:u}=this.visualElement;if(!u||!u.layout)return!1;u.root&&(u.root.scroll=void 0,u.root.updateScroll());const f=zj(r,u.root,this.visualElement.getTransformPagePoint());let h=Aw(u.layout.layoutBox,f);if(l){const m=l(Rj(h));this.hasMutatedConstraints=!!m,m&&(h=U0(m))}return h}startAnimation(i){const{drag:l,dragMomentum:r,dragElastic:u,dragTransition:f,dragSnapToOrigin:h,onDragTransitionEnd:m}=this.getProps(),g=this.constraints||{},p=ln(v=>{if(!jr(v,l,this.currentDirection))return;let x=g&&g[v]||{};(h===!0||h===v)&&(x={min:0,max:0});const S=u?200:1e6,j=u?40:1e7,T={type:"inertia",velocity:r?i[v]:0,bounceStiffness:S,bounceDamping:j,timeConstant:750,restDelta:1,restSpeed:10,...f,...x};return this.startAxisValueAnimation(v,T)});return Promise.all(p).then(m)}startAxisValueAnimation(i,l){const r=this.getAxisMotionValue(i);return yf(this.visualElement,i),r.start(ed(i,r,0,l,this.visualElement,!1))}stopAnimation(){ln(i=>this.getAxisMotionValue(i).stop())}getAxisMotionValue(i){const l=`_drag${i.toUpperCase()}`,u=this.visualElement.getProps()[l];return u||this.visualElement.getValue(i,this.visualElement.latestValues[i]??0)}snapToCursor(i){ln(l=>{const{drag:r}=this.getProps();if(!jr(l,r,this.currentDirection))return;const{projection:u}=this.visualElement,f=this.getAxisMotionValue(l);if(u&&u.layout){const{min:h,max:m}=u.layout.layoutBox[l],g=f.get()||0;f.set(i[l]-Oe(h,m,.5)+g)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:i,dragConstraints:l}=this.getProps(),{projection:r}=this.visualElement;if(!Ai(l)||!r||!this.constraints)return;this.stopAnimation();const u={x:0,y:0};ln(h=>{const m=this.getAxisMotionValue(h);if(m&&this.constraints!==!1){const g=m.get();u[h]=ww({min:g,max:g},this.constraints[h])}});const{transformTemplate:f}=this.visualElement.getProps();this.visualElement.current.style.transform=f?f({},""):"none",r.root&&r.root.updateScroll(),r.updateLayout(),this.constraints=!1,this.resolveConstraints(),ln(h=>{if(!jr(h,i,null))return;const m=this.getAxisMotionValue(h),{min:g,max:p}=this.constraints[h];m.set(Oe(g,p,u[h]))}),this.visualElement.render()}addListeners(){if(!this.visualElement.current)return;Rw.set(this.visualElement,this);const i=this.visualElement.current,l=Ps(i,"pointerdown",p=>{const{drag:v,dragListener:x=!0}=this.getProps(),S=p.target,j=S!==i&&cj(S);v&&x&&!j&&this.start(p)});let r;const u=()=>{const{dragConstraints:p}=this.getProps();
68Ai(p)&&p.current&&(this.constraints=this.resolveRefConstraints(),r||(r=Nw(i,p.current,()=>this.scalePositionWithinConstraints())))},{projection:f}=this.visualElement,h=f.addEventListener("measure",u);f&&!f.layout&&(f.root&&f.root.updateScroll(),f.updateLayout()),Le.read(u);const m=Fs(window,"resize",()=>this.scalePositionWithinConstraints()),g=f.addEventListener("didUpdate",(({delta:p,hasLayoutChanged:v})=>{this.isDragging&&v&&(ln(x=>{const S=this.getAxisMotionValue(x);S&&(this.originPoint[x]+=p[x].translate,S.set(S.get()+p[x].translate))}),this.visualElement.render())}));return()=>{m(),l(),h(),g&&g(),r&&r()}}getProps(){const i=this.visualElement.getProps(),{drag:l=!1,dragDirectionLock:r=!1,dragPropagation:u=!1,dragConstraints:f=!1,dragElastic:h=wf,dragMomentum:m=!0}=i;return{...i,drag:l,dragDirectionLock:r,dragPropagation:u,dragConstraints:f,dragElastic:h,dragMomentum:m}}}function Fy(n){let i=!0;return()=>{if(i){i=!1;return}n()}}function Nw(n,i,l){const r=ny(n,Fy(l)),u=ny(i,Fy(l));return()=>{r(),u()}}function jr(n,i,l){return(i===!0||i===n)&&(l===null||l===n)}function zw(n,i=10){let l=null;return Math.abs(n.y)>i?l="y":Math.abs(n.x)>i&&(l="x"),l}class Ow extends fa{constructor(i){super(i),this.removeGroupControls=Pt,this.removeListeners=Pt,this.controls=new Dw(i)}mount(){const{dragControls:i}=this.node.getProps();i&&(this.removeGroupControls=i.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||Pt}update(){const{dragControls:i}=this.node.getProps(),{dragControls:l}=this.node.prevProps||{};i!==l&&(this.removeGroupControls(),i&&(this.removeGroupControls=i.subscribe(this.controls)))}unmount(){this.removeGroupControls(),this.removeListeners(),this.controls.isDragging||this.controls.endPanSession()}}const Kc=n=>(i,l)=>{n&&Le.update(()=>n(i,l),!1,!0)};class Lw extends fa{constructor(){super(...arguments),this.removePointerDownListener=Pt}onPointerDown(i){this.session=new p1(i,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:m1(this.node)})}createPanHandlers(){const{onPanSessionStart:i,onPanStart:l,onPan:r,onPanEnd:u}=this.node.getProps();return{onSessionStart:Kc(i),onStart:Kc(l),onMove:Kc(r),onEnd:(f,h)=>{delete this.session,u&&Le.postRender(()=>u(f,h))}}}mount(){this.removePointerDownListener=Ps(this.node.current,"pointerdown",i=>this.onPointerDown(i))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}let Qc=!1;class _w extends E.Component{componentDidMount(){const{visualElement:i,layoutGroup:l,switchLayoutGroup:r,layoutId:u}=this.props,{projection:f}=i;f&&(l.group&&l.group.add(f),r&&r.register&&u&&r.register(f),Qc&&f.root.didUpdate(),f.addEventListener("animationComplete",()=>{this.safeToRemove()}),f.setOptions({...f.options,layoutDependency:this.props.layoutDependency,onExitComplete:()=>this.safeToRemove()})),_r.hasEverUpdated=!0}getSnapshotBeforeUpdate(i){const{layoutDependency:l,visualElement:r,drag:u,isPresent:f}=this.props,{projection:h}=r;return h&&(h.isPresent=f,i.layoutDependency!==l&&h.setOptions({...h.options,layoutDependency:l}),Qc=!0,u||i.layoutDependency!==l||l===void 0||i.isPresent!==f?h.willUpdate():this.safeToRemove(),i.isPresent!==f&&(f?h.promote():h.relegate()||Le.postRender(()=>{const m=h.getStack();(!m||!m.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{visualElement:i,layoutAnchor:l}=this.props,{projection:r}=i;r&&(r.options.layoutAnchor=l,r.root.didUpdate(),id.postRender(()=>{!r.currentAnimation&&r.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:i,layoutGroup:l,switchLayoutGroup:r}=this.props,{projection:u}=i;Qc=!0,u&&(u.scheduleCheckAfterUnmount(),l&&l.group&&l.group.remove(u),r&&r.deregister&&r.deregister(u))}safeToRemove(){const{safeToRemove:i}=this.props;i&&i()}render(){return null}}function y1(n){const[i,l]=i1(),r=E.useContext(Bf);return d.jsx(_w,{...n,layoutGroup:r,switchLayoutGroup:E.useContext(d1),isPresent:i,safeToRemove:l})}const Vw={pan:{Feature:Lw},drag:{Feature:Ow,ProjectionNode:a1,MeasureLayout:y1}};function Jy(n,i,l){const{props:r}=n;n.animationState&&r.whileHover&&n.animationState.setActive("whileHover",l==="Start");const u="onHover"+l,f=r[u];f&&Le.postRender(()=>f(i,tl(i)))}class Uw extends fa{mount(){const{current:i}=this.node;i&&(this.unmount=lj(i,(l,r)=>(Jy(this.node,r,"Start"),u=>Jy(this.node,u,"End"))))}unmount(){}}class Bw extends fa{constructor(){super(...arguments),this.isActive=!1}onFocus(){let i=!1;try{i=this.node.current.matches(":focus-visible")}catch{i=!0}!i||!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=$s(Fs(this.node.current,"focus",()=>this.onFocus()),Fs(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function Wy(n,i,l){const{props:r}=n;if(n.current instanceof HTMLButtonElement&&n.current.disabled)return;n.animationState&&r.whileTap&&n.animationState.setActive("whileTap",l==="Start");const u="onTap"+(l==="End"?"":l),f=r[u];f&&Le.postRender(()=>f(i,tl(i)))}class kw extends fa{mount(){const{current:i}=this.node;if(!i)return;const{globalTapTarget:l,propagate:r}=this.node.props;this.unmount=dj(i,(u,f)=>(Wy(this.node,f,"Start"),(h,{success:m})=>Wy(this.node,h,m?"End":"Cancel")),{useGlobalTarget:l,stopPropagation:(r==null?void 0:r.tap)===!1})}unmount(){}}const Cf=new WeakMap,Zc=new WeakMap,Gw=n=>{const i=Cf.get(n.target);i&&i(n)},Hw=n=>
68{n.forEach(Gw)};function qw({root:n,...i}){const l=n||document;Zc.has(l)||Zc.set(l,{});const r=Zc.get(l),u=JSON.stringify(i);return r[u]||(r[u]=new IntersectionObserver(Hw,{root:n,...i})),r[u]}function Yw(n,i,l){const r=qw(i);return Cf.set(n,l),r.observe(n),()=>{Cf.delete(n),r.unobserve(n)}}const Pw={some:0,all:1};class Xw extends fa{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){var g;(g=this.stopObserver)==null||g.call(this);const{viewport:i={}}=this.node.getProps(),{root:l,margin:r,amount:u="some",once:f}=i,h={root:l?l.current:void 0,rootMargin:r,threshold:typeof u=="number"?u:Pw[u]},m=p=>{const{isIntersecting:v}=p;if(this.isInView===v||(this.isInView=v,f&&!v&&this.hasEnteredView))return;v&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",v);const{onViewportEnter:x,onViewportLeave:S}=this.node.getProps(),j=v?x:S;j&&j(p)};this.stopObserver=Yw(this.node.current,h,m)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:i,prevProps:l}=this.node;["amount","margin","root"].some(Kw(i,l))&&this.startObserver()}unmount(){var i;(i=this.stopObserver)==null||i.call(this),this.hasEnteredView=!1,this.isInView=!1}}function Kw({viewport:n={}},{viewport:i={}}={}){return l=>n[l]!==i[l]}const Qw={inView:{Feature:Xw},tap:{Feature:kw},focus:{Feature:Bw},hover:{Feature:Uw}},Zw={layout:{ProjectionNode:a1,MeasureLayout:y1}},Fw={...vw,...Qw,...Vw,...Zw},Jw=hw(Fw,mw);function pd(){!ud.current&&L0();const[n]=E.useState(Pr.current);return n}const rn=Jw;/**
69 * @license lucide-react v1.24.0 - ISC
70 *
71 * This source code is licensed under the ISC license.
72 * See the LICENSE file in the root directory of this source tree.
73 */const v1=(...n)=>n.filter((i,l,r)=>!!i&&i.trim()!==""&&r.indexOf(i)===l).join(" ").trim();/**
74 * @license lucide-react v1.24.0 - ISC
75 *
76 * This source code is licensed under the ISC license.
77 * See the LICENSE file in the root directory of this source tree.
78 */const Ww=n=>n.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase();/**
79 * @license lucide-react v1.24.0 - ISC
80 *
81 * This source code is licensed under the ISC license.
82 * See the LICENSE file in the root directory of this source tree.
83 */const $w=n=>n.replace(/^([A-Z])|[\s-_]+(\w)/g,(i,l,r)=>r?r.toUpperCase():l.toLowerCase());/**
84 * @license lucide-react v1.24.0 - ISC
85 *
86 * This source code is licensed under the ISC license.
87 * See the LICENSE file in the root directory of this source tree.
88 */const $y=n=>{const i=$w(n);return i.charAt(0).toUpperCase()+i.slice(1)};/**
89 * @license lucide-react v1.24.0 - ISC
90 *
91 * This source code is licensed under the ISC license.
92 * See the LICENSE file in the root directory of this source tree.
93 */var Fc={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/**
94 * @license lucide-react v1.24.0 - ISC
95 *
96 * This source code is licensed under the ISC license.
97 * See the LICENSE file in the root directory of this source tree.
98 */const Iw=n=>{for(const i in n)if(i.startsWith("aria-")||i==="role"||i==="title")return!0;return!1},eC=E.createContext({}),tC=()=>E.useContext(eC),nC=E.forwardRef(({color:n,size:i,strokeWidth:l,absoluteStrokeWidth:r,className:u="",children:f,iconNode:h,...m},g)=>{const{size:p=24,strokeWidth:v=2,absoluteStrokeWidth:x=!1,color:S="currentColor",className:j=""}=tC()??{},T=r??x?Number(l??v)*24/Number(i??p):l??v;return E.createElement("svg",{ref:g,...Fc,width:i??p??Fc.width,height:i??p??Fc.height,stroke:n??S,strokeWidth:T,className:v1("lucide",j,u),...!f&&!Iw(m)&&{"aria-hidden":"true"},...m},[...h.map(([C,M])=>E.createElement(C,M)),...Array.isArray(f)?f:[f]])});/**
99 * @license lucide-react v1.24.0 - ISC
100 *
101 * This source code is licensed under the ISC license.
102 * See the LICENSE file in the root directory of this source tree.
103 */const Ba=(n,i)=>{const l=E.forwardRef(({className:r,...u},f)=>E.createElement(nC,{ref:f,iconNode:i,className:v1(`lucide-${Ww($y(n))}`,`lucide-${n}`,r),...u}));return l.displayName=$y(n),l};/**
104 * @license lucide-react v1.24.0 - ISC
105 *
106 * This source code is licensed under the ISC license.
107 * See the LICENSE file in the root directory of this source tree.
108 */const aC=[["path",{d:"M10.733 5.076a10.744 10.744 0 0 1 11.205 6.575 1 1 0 0 1 0 .696 10.747 10.747 0 0 1-1.444 2.49",key:"ct8e1f"}],["path",{d:"M14.084 14.158a3 3 0 0 1-4.242-4.242",key:"151rxh"}],["path",{d:"M17.479 17.499a10.75 10.75 0 0 1-15.417-5.151 1 1 0 0 1 0-.696 10.75 10.75 0 0 1 4.446-5.143",key:"13bj9a"}],["path",{d:"m2 2 20 20",key:"1ooewy"}]],iC=Ba("eye-off",aC);/**
109 * @license lucide-react v1.24.0 - ISC
110 *
111 * This source code is licensed under the ISC license.
112 * See the LICENSE file in the root directory of this source tree.
113 */const sC=[["path",{d:"M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0",key:"1r0f0z"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}]],lC=Ba("map-pin",sC);/**
114 * @license lucide-react v1.24.0 - ISC
115 *
116 * This source code is licensed under the ISC license.
117 * See the LICENSE file in the root directory of this source tree.
118 */const rC=[["path",{d:"M4 5h16",key:"1tepv9"}],["path",{d:"M4 12h16",key:"1lakjw"}],["path",{d:"M4 19h16",key:"1djgab"}]],oC=Ba("menu",rC);/**
119 * @license lucide-react v1.24.0 - ISC
120 *
121 * This source code is licensed under the ISC license.
122 * See the LICENSE file in the root directory of this source tree.
123 */const uC=[["path",{d:"M3 7V5a2 2 0 0 1 2-2h2",key:"aa7l1z"}],["path",{d:"M17 3h2a2 2 0 0 1 2 2v2",key:"4qcy5o"}],["path",{d:"M21 17v2a2 2 0 0 1-2 2h-2",key:"6vwrx8"}],["path",{d:"M7 21H5a2 2 0 0 1-2-2v-2",key:"ioqczr"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}],["path",{d:"m16 16-1.9-1.9",key:"1dq9hf"}]],cC=Ba("scan-search",uC);/**
124 * @license lucide-react v1.24.0 - ISC
125 *
126 * This source code is licensed under the ISC license.
127 * See the LICENSE file in the root directory of this source tree.
128 */const fC=[["path",{d:"M10 5H3",key:"1qgfaw"}],["path",{d:"M12 19H3",key:"yhmn1j"}
128],["path",{d:"M14 3v4",key:"1sua03"}],["path",{d:"M16 17v4",key:"1q0r14"}],["path",{d:"M21 12h-9",key:"1o4lsq"}],["path",{d:"M21 19h-5",key:"1rlt1p"}],["path",{d:"M21 5h-7",key:"1oszz2"}],["path",{d:"M8 10v4",key:"tgpxqk"}],["path",{d:"M8 12H3",key:"a7s4jb"}]],dC=Ba("sliders-horizontal",fC);/**
129 * @license lucide-react v1.24.0 - ISC
130 *
131 * This source code is licensed under the ISC license.
132 * See the LICENSE file in the root directory of this source tree.
133 */const hC=[["circle",{cx:"12",cy:"8",r:"5",key:"1hypcn"}],["path",{d:"M20 21a8 8 0 0 0-16 0",key:"rfgkzh"}]],Iy=Ba("user-round",hC);/**
134 * @license lucide-react v1.24.0 - ISC
135 *
136 * This source code is licensed under the ISC license.
137 * See the LICENSE file in the root directory of this source tree.
138 */const mC=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],pC=Ba("x",mC),Jc=[{id:"auto-pin",title:"Auto Pin",description:"Pins the round as soon as the location is found.",video:"/auto_pin.mp4",icon:lC},{id:"range-mode",title:"Range Mode",description:"Offsets the pin into a score band you choose.",video:"/range.mp4",icon:dC},{id:"smart-zoom",title:"Smart Zoom",description:"Searches the map naturally before the pin drops.",video:"/smart_zoom.mp4",icon:cC},{id:"incognito",title:"Incognito",description:"Hides the HUD. Optional on-screen hint or detachable hint window.",video:"/incognito.mp4",icon:iC}],gC=1e4;function yC(){const n=pd(),[i,l]=E.useState(0),[r,u]=E.useState(0),[f,h]=E.useState(!1),m=E.useRef(null),g=E.useRef(null),p=E.useRef(null),v=Jc[i],[x,S]=E.useState(!1);E.useEffect(()=>{const T=g.current;if(!T)return;const C=new IntersectionObserver(([M])=>{h(!!(M!=null&&M.isIntersecting&&M.intersectionRatio>.2))},{threshold:[0,.2,.4],rootMargin:"60px 0px"});return C.observe(T),()=>C.disconnect()},[]),E.useEffect(()=>{const T=p.current;if(!T||n)return;const C=()=>{l(M=>(M+1)%Jc.length),u(M=>M+1)};return T.addEventListener("animationend",C),()=>T.removeEventListener("animationend",C)},[i,r,n]),E.useEffect(()=>{const T=m.current;if(!T)return;const C=navigator.userAgent||"",M=/TikTok|Bytedance|ByteLocale|musical_ly|Instagram|FBAN|FBAV|Line\/|MicroMessenger/i.test(C);T.muted=!0,T.defaultMuted=!0,T.playsInline=!0,T.setAttribute("playsinline","true"),T.setAttribute("webkit-playsinline","true"),T.setAttribute("x5-playsinline","true"),T.setAttribute("x5-video-player-type","h5"),T.setAttribute("x5-video-player-fullscreen","false");const D=()=>{var P,$;try{T.webkitDisplayingFullscreen&&((P=T.webkitExitFullscreen)==null||P.call(T))}catch{}try{document.fullscreenElement===T&&(($=document.exitFullscreen)==null||$.call(document))}catch{}};if(T.dataset.activeSrc!==v.video){T.src=v.video,T.dataset.activeSrc=v.video;try{T.load()}catch{}}const z=()=>{try{T.readyState>=1&&T.currentTime<.05&&(T.currentTime=.08)}catch{}};if(!(f&&document.visibilityState==="visible"&&!n&&!M)){T.pause(),D(),(f||M)&&S(!0),z();const P=()=>z();return T.addEventListener("loadeddata",P),T.addEventListener("loadedmetadata",P),()=>{T.removeEventListener("loadeddata",P),T.removeEventListener("loadedmetadata",P),D()}}S(!1);try{T.currentTime=.08}catch{}const G=T.play();G!=null&&G.catch&&G.catch(()=>{S(!0),z()});const X=()=>{D(),S(!1)},F=()=>z();T.addEventListener("playing",X),T.addEventListener("loadeddata",F),T.addEventListener("webkitbeginfullscreen",D),T.addEventListener("fullscreenchange",D);const K=()=>{if(document.visibilityState==="hidden")T.pause(),D();else if(!M){const P=T.play();P!=null&&P.catch&&P.catch(()=>S(!0))}};return document.addEventListener("visibilitychange",K),()=>{document.removeEventListener("visibilitychange",K),T.removeEventListener("playing",X),T.removeEventListener("loadeddata",F),T.removeEventListener("webkitbeginfullscreen",D),T.removeEventListener("fullscreenchange",D),D()}},[i,v.video,f,n,r]);function j(T){l(T),u(C=>C+1)}return d.jsxs("div",{className:"features-panel",ref:g,children:[d.jsx("div",{className:"features-panel-list",role:"tablist","aria-label":"Features",children:Jc.map((T,C)=>{const M=T.icon,D=i===C;return d.jsxs("button",{type:"button",role:"tab",id:`feature-tab-${T.id}`,"aria-selected":D,"aria-controls":"features-panel-preview",className:`features-panel-item${D?" is-active":""}`,onClick:()=>j(C),children:[d.jsx("span",{className:"features-panel-icon","aria-hidden":"true",children:d.jsx(M,{size:20,strokeWidth:2.2})}),d.jsxs("span",{className:"features-panel-copy",children:[d.jsx("span",{className:"features-panel-title",children:T.title}),d.jsx("span",{className:"features-panel-description",children:T.description}),d.jsx("span",{className:"features-panel-track","aria-hidden":"true",children:D?d.jsx("span",{ref:p,className:`features-panel-progress${n?" is-static":""}${f?"":" is-paused"}`,style:n?void 0:{animationDuration:`${gC}ms`}},`${T.id}-${r}`):null})]})]},T.id)})}),d.jsx("div",{className:"features-panel-preview",id:"features-panel-preview",role:"tabpanel","aria-labelledby":`feature-tab-${v.id}`,children:d.jsx("div",{className:"features-panel-frame",children:d.jsx("video",{ref:m,className:"features-panel-video",muted:!0,defaultMuted:!0,loop:!0,playsInl
138ine:!0,controls:x,controlsList:"nodownload noplaybackrate",preload:"auto",disablePictureInPicture:!0,disableRemotePlayback:!0,"aria-label":`${v.title} demo`})})})]})}const x1=[.22,.61,.36,1];function vC({children:n}){const i=bt(),l=pd();return d.jsx(s1,{mode:"wait",initial:!l,children:d.jsx(rn.div,{className:"page-transition",initial:l?!1:{opacity:0,y:14},animate:{opacity:1,y:0},exit:l?void 0:{opacity:0,y:-10},transition:{duration:l?0:.32,ease:x1},children:n},i.pathname)})}function Ri({children:n,className:i="",delay:l=0,y:r=22,once:u=!0,as:f="div",...h}){const m=pd(),g=rn[f]||rn.div;if(m){const p=f;return d.jsx(p,{className:i,...h,children:n})}return d.jsx(g,{className:i,initial:{opacity:0,y:r},whileInView:{opacity:1,y:0},viewport:{once:u,amount:.18,margin:"0px 0px -8% 0px"},transition:{duration:.55,delay:l,ease:x1},...h,children:n})}const xC=d.jsxs("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2","aria-hidden":"true",children:[d.jsx("path",{d:"M4 19.5A2.5 2.5 0 0 1 6.5 17H20"}),d.jsx("path",{d:"M6.5 2H20v20H6.5A2.5 2.5 0 0 1 4 19.5v-15A2.5 2.5 0 0 1 6.5 2z"})]}),bC=[{q:"How does GeoGPT work?",a:"GeoGPT utilizes advanced real-time data synchronization to analyze telemetry data directly within your browser session. Our proprietary Head-Up Display (HUD) instantly decodes and translates complex spatial datasets into precise location metrics, while the automated routing engine positions your map pins with millimeter accuracy."},{q:"Is it safe to use?",a:"Absolutely. GeoGPT is engineered with a strict privacy-first ar
138chitecture, operating entirely client-side within your browser ecosystem without invasive screen-scraping or external data logging. Furthermore, our proprietary Smart Zoom engine utilizes advanced behavioral simulation algorithms to replicate natural human interactions and micro-movements, ensuring completely organic and undetectable map placements."},{q:"What’s included for free?",a:`Starter includes ${Gs} assists per week forever — exact coordinates, Auto Place, and both games. No card required.`},{q:"Does it work on OpenGuessr?",a:"Yes. Auto Place, Smart Zoom, and Range Mode work on GeoGuessr and OpenGuessr."},{q:"What is Range Mode?",a:"Pick a score band (e.g. 3,000–4,000). GeoGPT offsets the pin so the round lands in that band instead of a perfect 5k every time."},{q:"Can I cancel Pro anytime?",a:"Yes — manage billing in your account via Stripe. You keep Pro until the period ends, then return to the free weekly limit."}];function SC(){return d.jsxs(d.Fragment,{children:[d.jsxs("section",{className:"hero",id:"hero","aria-label":"GeoGPT",children:[d.jsxs("div",{className:"hero-inner",children:[d.jsxs("h1",{className:"hero-title",children:["Never lose ",d.jsx("span",{className:"geoguessr-text",children:"GeoGuesser"})," again."]}),d.jsx("p",{className:"hero-lede",children:"Get instant access to live coordinates, country, and street name. Pinpoint your location and hit perfect 5,000-point guesses."}),d.jsxs("div",{className:"hero-ctas",children:[d.jsxs(Ua,{className:"btn btn-chrome btn-lg",children:[d.jsx(Di,{}),"Add to Chrome"]}),d.jsxs("a",{className:"btn btn-guide btn-lg",href:"#guide",children:[xC,"View Guide"]})]})]}),d.jsx("div",{className:"demo-video-wrap",children:d.jsx(zv,{className:"demo-video",src:"/demo1.mp4","aria-label":"GeoGPT extension demo",preload:"metadata"})})]}),d.jsxs(Ri,{as:"section",className:"section section-features",id:"features",delay:.04,children:[d.jsx("p",{className:"section-kicker",children:"Features"}),d.jsx("h2",{className:"section-title",children:"What GeoGPT does"}),d.jsx(yC,{})]}),d.jsxs(Ri,{as:"section",className:"section section-guide",id:"guide",delay:.04,children:[d.jsx("p",{className:"section-kicker",children:"Guide"}),d.jsx("h2",{className:"section-title",children:"How to use GeoGPT"}),d.jsx(Ov,{})]}),d.jsxs(Ri,{as:"section",className:"section section-narrow",id:"faq",delay:.06,children:[d.jsx("p",{className:"section-kicker",children:"FAQ"}),d.jsx("h2",{className:"section-title",children:"Frequently Asked Questions"}),d.jsx("div",{className:"faq",children:bC.map(n=>d.jsxs("details",{children:[d.jsx("summary",{children:n.q}),d.jsx("p",{children:n.a})]},n.q))})]}),d.jsxs(Ri,{as:"section",className:"cta-band",id:"ready",delay:.04,children:[d.jsx("h2",{children:"Ready to stop losing?"}),d.jsx("p",{children:"Add GeoGPT to Chrome, create a free account, and pin your next round."}),d.jsx("div",{className:"hero-ctas",children:d.jsxs(Ua,{className:"btn btn-chrome btn-lg",children:[d.jsx(Di,{}),"Add to Chrome"]})})]})]})}const TC="https://api.guessrgpt.com",gd="geogpt_token",yd="geogpt_user",Mf="geogpt_manual_logout";async function Wt(n,{method:i="GET",body:l,token:r}={}){const u={"Content-Type":"application/json"};r&&(u.Authorization=`Bearer ${r}`);const f=await fetch(`${TC}${n}`,{method:i,headers:u,body:l?JSON.stringify(l):void 0}),h=await f.json().catch(()=>({}));if(!f.ok)throw new Error(h.error||`Request failed (${f.status})`);return h}function Oi(){return localStorage.getItem(gd)}function Fr({token:n,user:i}){localStorage.setItem(gd,n),localStorage.setItem(yd,JSON.stringify(i)),localStorage.removeItem(Mf)}function EC({manual:n=!1}={}){localStorage.removeItem(gd),localStorage.removeItem(yd),n?(localStorage.setItem(Mf,"1"),window.dispatchEvent(new CustomEvent("geogpt-logout")),window.postMessage({source:"geogpt-web",type:"LOGOUT"},"*")):localStorage.removeItem(Mf)}function jC(){EC({manual:!0})}function AC(){try{return JSON.parse(localStorage.getItem(yd)||"null")}catch{return null}}const wC=[{q:"Can I cancel anytime?",a:"Yes. Cancel in one click from your account — you keep Pro until the end of the peri
138od, then drop back to the free weekly limit. No emails, no hoops."},{q:"Do I need a credit card to start?",a:"No. The Starter plan is free forever and works without a card. Only upgrade when you actually want unlimited guesses."},{q:"How are payments handled?",a:"All payments run through Stripe. We never see or store your card details, and every charge is encrypted end to end."},{q:"What happens when I upgrade?",a:"Pro unlocks instantly after checkout — unlimited guesses, Smart Zoom, and Incognito are available the moment you return."},{q:"Can I switch between monthly and yearly?",a:"Yes. Change your billing period anytime from your account; the new rate applies on your next renewal."}];function CC(){const n=Oi(),i=!!n,[l,r]=E.useState("year"),[u,f]=E.useState(!1),[h,m]=E.useState(""),g=l==="year",p=g?"4.17":"5.99",v=g?"8.34":"11.98";async function x(){if(n){f(!0),m("");try{const{url:S}=await Wt("/billing/checkout",{method:"POST",token:n,body:{interval:l}});window.location.href=S}catch(S){m(S.message),f(!1)}}}return d.jsxs("section",{className:"page page-pricing",children:[d.jsxs("header",{className:"pricing-hero",children:[d.jsx("h1",{children:"Choose your GeoGPT Plan"}),d.jsx("p",{className:"lede",children:"Start free, upgrade when you need more."})]}),d.jsxs("div",{className:"pricing-grid",children:[d.jsx("div",{className:"billing-toggle-wrap",children:d.jsxs("div",{className:"billing-toggle","aria-label":"Billing period","data-interval":l,children:[d.jsx("span",{className:"billing-toggle-pill","aria-hidden":"true"}),d.jsx("button",{type:"button",className:g?"":"active","aria-pressed":!g,onClick:()=>r("month"),children:"Monthly"}),d.jsx("button",{type:"button",className:g?"active":"","aria-pressed":g,onClick:()=>r("year"),children:"Yearly"})]})}),d.jsxs("article",{className:"plan",children:[d.jsx("h3",{children:"Starter"}),d.jsx("div",{className:"price-block",children:d.jsxs("p",{className:"price",children:[d.jsx("span",{className:"price-current",children:"$0"}),d.jsx("span",{className:"price-period",children:"/forever"})]})}),d.jsxs("ul",{children:[d.jsxs("li",{children:[Gs," guesses / week"]}),d.jsx("li",{children:"Exact GPS coordinates"}),d.jsx("li",{children:"Auto Place Pin"}),d.jsx("li",{children:"Range Mode"}),d.jsx("li",{children:"GeoGuessr & OpenGuessr"})]}),d.jsx(Ua,{className:"btn btn-ghost",children:"Get Started Free"})]}),d.jsxs("article",{className:"plan featured",children:[d.jsx("span",{className:"plan-deal-tag",children:"50% OFF"}),d.jsx("h3",{children:"Pro"}),d.jsxs("div",{className:"price-block",children:[d.jsxs("p",{className:"price",children:[d.jsxs("span",{className:"price-original",children:["$",v]}),d.jsxs("span",{className:"price-current",children:["$",p]}),d.jsx("span",{className:"price-period",children:"/month"})]}),d.jsx("p",{className:"price-deal-note",children:"Limited time discount!"})]}),d.jsxs("ul",{children:[d.jsx("li",{children:"∞ Unlimited guesses"}),d.jsx("li",{children:"Exact GPS coordinates"}),d.jsx("li",{children:"Auto Place Pin"}),d.jsx("li",{children:"Range Mode"}),d.jsx("li",{children:"Smart Zoom"}),d.jsx("li",{children:"Incognito mode"}),d.jsx("li",{children:"GeoGuessr & OpenGuessr"}),d.jsx("li",{children:"Cancel anytime"})]}),i?d.jsx("button",{type:"button",className:"btn",disabled:u||!1,onClick:x,children:u?"Opening checkout…":"Upgrade to Pro"}):d.jsx(Te,{className:"btn",to:"/login",children:"Sign in / Create account"})]})]}),h?d.jsx("p",{className:"error",children:h}):null,d.jsx("div",{className:"pricing-stripe",children:d.jsx("a",{className:"stripe-badge",href:"https://stripe.com",target:"_blank",rel:"noopener noreferrer","aria-label":"Powered by Stripe",children:d.jsx("img",{src:"/powered-by-stripe.svg",alt:"Powered by Stripe"})})}),d.jsxs("div",{className:"pricing-faq",children:[d.jsx("h2",{className:"pricing-faq-title",children:"Frequently Asked Questions"}),d.jsx("div",{className:"faq",children:wC.map(S=>d.jsxs("details",{children:[d.jsx("summary",{children:S.q}),d.jsx("p",{children:S.a})]},S.q))})]})]})}const vd="geogpt_ref";function b1(n){const i=String(n||"").trim().toUpperCase().replace(/[^A-Z0-9]/g,"").slice(0,16);if(!i)return"";try{sessionStorage.setItem(vd,i)}catch{}return i}function Ar(){try{return sessionStorage.getItem(vd)||""}catch{return""}}
138function S1(){try{sessionStorage.removeItem(vd)}catch{}}function MC(){const{code:n}=$S(),i=Ui();return E.useEffect(()=>{const l=b1(n),r=new URLSearchParams;l&&r.set("ref",l),i(`/login?${r}`,{replace:!0})},[n,i]),d.jsx("section",{className:"page page-referrals",children:d.jsx("div",{className:"referrals-shell",children:d.jsx("p",{className:"lede",children:"Opening invite…"})})})}const RC="https://api.guessrgpt.com",DC=!0;function NC(n){return n.replace(/[^a-zA-Z0-9_]/g,"").toLowerCase().slice(0,20)}function zC(){const n=Ui(),[i]=Nv(),l=i.get("handoff")||"",r=i.get("next")||"",[u,f]=E.useState(""),[h,m]=E.useState(""),[g,p]=E.useState(""),[v,x]=E.useState(i.get("needsUsername")?"username":"email"),[S,j]=E.useState(i.get("error")||""),[T,C]=E.useState(""),[M,D]=E.useState(!1),[z,_]=E.useState(""),[G,X]=E.useState(!1),[F,K]=E.useState(()=>Ar()),[P,$]=E.useState("");E.useEffect(()=>{i.get("error")&&j(i.get("error")),i.get("needsUsername")&&Oi()&&x("username");const w=i.get("ref");if(w){const B=b1(w);B&&K(B)}},[i]),E.useEffect(()=>{const w=F||Ar();if(!w){$("");return}let B=!1;return Wt(`/referrals/preview/${encodeURIComponent(w)}`).then(Q=>{B||$(Q.username||"")}).catch(()=>{B||$("")}),()=>{B=!0}},[F]);async function W(w){w.preventDefault(),j(""),C(""),_(""),X(!1),D(!0);try{const B=await Wt("/auth/request-code",{method:"POST",body:{email:u}});x("code"),B.reviewAccess?(X(!0),C("Enter the review access password as the code.")):C(B.delivered?`Code sent to ${B.email}. Check your inbox.`:"SMTP is not configured on the server — use the on-screen code for now."),B.devCode&&_(B.devCode)}catch(B){j(B.message)}finally{D(!1)}}async function le(w){var B;w.preventDefault(),j(""),D(!0);try{const Q=await Wt("/auth/verify-code",{method:"POST",body:{email:u,code:h,handoffId:l||void 0,referralCode:F||Ar()||void 0}});
138if(Fr(Q),S1(),Q.needsUsername||(B=Q.user)!=null&&B.needsUsername){x("username"),C("Pick a unique username for your account.");return}we()}catch(Q){j(Q.message)}finally{D(!1)}}async function ce(w){w.preventDefault(),j(""),D(!0);try{const B=Oi();if(!B){j("Session expired — request a new code."),x("email");return}const Q=await Wt("/auth/username",{method:"POST",token:B,body:{username:g,handoffId:l||void 0}});Fr(Q),we()}catch(B){j(B.message)}finally{D(!1)}}function we(){if(l){n(`/auth/complete?handoff=${encodeURIComponent(l)}&source=otp`);return}if(r&&r.startsWith("/")&&!r.startsWith("//")){n(r);return}n("/account")}const Se=new URLSearchParams;l&&Se.set("handoff",l);const de=F||Ar();de&&Se.set("ref",de);const k=Se.toString(),Z=`${RC}/auth/google${k?`?${k}`:""}`,J={email:{h1:"Sign in",lede:"Enter your email and we'll send a one-time code. No password."},code:{h1:G?"Enter access code":"Enter code",lede:T||"Check your inbox for the 6-digit code."},username:{h1:"Choose username",lede:T||"Letters, numbers, and underscores — 3 to 20 characters."}},re=J[v]||J.email,pe=G?h.trim().length>=8:h.length===6;return d.jsxs("div",{className:"auth-screen",children:[d.jsx("div",{className:"auth-screen-bg","aria-hidden":"true"}),d.jsxs("header",{className:"auth-topbar",children:[d.jsxs(Te,{to:"/",className:"auth-brand",children:[d.jsx("img",{src:"/logo.png",alt:"",width:28,height:28}),d.jsx("span",{children:"GeoGPT"})]}),d.jsx(Te,{to:"/",className:"auth-back",children:"← Back to site"})]}),d.jsx("main",{className:"auth-main",children:d.jsxs("div",{className:"auth-panel",children:[l?d.jsxs("div",{className:"login-handoff",role:"status",children:[d.jsx("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.9",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",children:d.jsx("path",{d:"M4 7h4V5a2 2 0 0 1 4 0v2h4a1 1 0 0 1 1 1v4h-2a2 2 0 0 0 0 4h2v4a1 1 0 0 1-1 1h-4v-2a2 2 0 0 0-4 0v2H5a1 1 0 0 1-1-1v-4h2a2 2 0 0 0 0-4H4V8a1 1 0 0 1 0-1Z"})}),d.jsx("span",{children:"Signing in for the Chrome extension. Keep this tab open until it finishes."})]}):null,F&&v==="email"?d.jsx("div",{className:"login-handoff login-referral",role:"status",children:d.jsx("span",{children:P?`@${P} has invited you!`:"Someone invited you!"})}):null,d.jsxs("header",{className:"auth-panel-head",children:[d.jsx("p",{className:"auth-eyebrow",children:"Account"}),d.jsx("h1",{children:re.h1}),d.jsx("p",{className:"auth-lede",children:re.lede})]}),v==="email"?d.jsxs("form",{className:"auth-form",onSubmit:W,children:[d.jsxs("label",{children:["Email",d.jsx("input",{value:u,onChange:w=>f(w.target.value),type:"email",autoComplete:"email",required:!0,autoFocus:!0,placeholder:"[email protected]"})]}),S?d.jsx("p",{className:"error",children:S}):null,d.jsx("button",{type:"submit",disabled:M,children:M?"Sending…":"Continue"})]}):null,v==="code"?d.jsxs("form",{className:"auth-form",onSubmit:le,children:[z?d.jsxs("p",{className:"dev-code",children:["Dev code: ",d.jsx("strong",{children:z})]}):null,d.jsxs("label",{children:[G?"Access code":"6-digit code",d.jsx("input",{value:h,onChange:w=>m(G?w.target.value:w.target.value.replace(/\D/g,"").slice(0,6)),type:G?"password":"text",inputMode:G?"text":"numeric",autoComplete:G?"current-password":"one-time-code",required:!0,autoFocus:!0,placeholder:G?"••••••••":"000000",className:"auth-code-input"})]}),S?d.jsx("p",{className:"error",children:S}):null,d.jsx("button",{type:"submit",disabled:M||!pe,children:M?"Checking…":"Verify"}),d.jsxs("button",{type:"button",className:"btn btn-ghost auth-back-email",onClick:()=>{x("email"),m(""),X(!1)},children:[d.jsxs("svg",{viewBox:"0 0 24 24",width:"16",height:"16",fill:"none",stroke:"currentColor",strokeWidth:"2.2",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",children:[d.jsx("path",{d:"M19 12H5"}),d.jsx("path",{d:"m12 19-7-7 7-7"})]}),"Use a different email"]})]}):null,v==="username"?d.jsxs("form",{className:"auth-form",onSubmit:ce,children:[d.jsxs("label",{children:["Username",d.jsx("input",{value:g,onChange:w=>p(NC(w.target.value)),autoComplete:"username",minLength:3,maxLength:20,pattern:"[a-z0-9_]{3,20}",required:!0,autoFocus:!0,placeholder:"map_hunter"})]}),S?d.jsx("p",{className:"error",children:S}):null,d.jsx("button",{type:"submit",disabled:M||g.length<3,children:M?"Saving…":"Save & continue"})]}):null,v==="email"&&DC?d.jsxs(d.Fragment,{children:[d.jsx("div",{className:"auth-divider",children:d.jsx("span",{children:"or"})}),d.jsxs("a",{className:"btn-google",href:Z,children:[d.jsxs("svg",{viewBox:"0 0 24 24",width:"18",height:"18","aria-hidden":"true",children:[d.jsx("path",{fill:"#4285F4",d:"M22.56 12.25c0-.78-.07-1.53-.2-2.25H12v4.26h5.92c-.26 1.37-1.04 2.53-2.21 3.31v2.77h3.57c2.08-1.92 3.28-4.74 3.28-8.09z"}),d.jsx("path",{fill:"#34A853",d:"M12 23c2.97 0 5.46-.98 7.28-2.66l-3.57-2.77c-.98.66-2.23 1.06-3.71 1.06-2.86 0-5.29-1.93-6.16-4.53H2.18v2.84C3.99 20.53 7.7 23 12 23z"}),d.jsx("path",{fill:"#FBBC05",d:"M5.84 14.09c-.22-.66-.35-1.36-.35-2.09s.13-1.43.35-2.09V7.07H2.18C1.43 8.55 1 10.22 1 12s.43 3.45 1.18 4.93l2.85-2.22.81-.62z"}),d.jsx("path",{fill:"#EA4335",d:"M12 5.38c1.62 0 3.06.56 4.21 1.64l3.15-3.15C17.45 2.09 14.97 1 12 1 7.7 1 3.99 3.47 2.18 7.07l3.66 2.84c.87-2.6 3.3-4.53 6.16-4.53z"})]}),"Continue with Google"]})]}):null,d.jsxs("p",{className:"auth-panel-foot",children:[d.jsx(Te,{to:"/pricing",children:"Pricing"}),d.jsx("span",{"aria-hidden":"true",children:"·"}),d.jsx(Te,{to:"/privacy",children:"Privacy"}),d.jsx("span",{"aria-hidden":"true",children:"·"}),d.jsx(Te,{to:"/terms",children:"Terms"})]})]})})]})}function OC(){const[n,i]=E.useState(AC()),[l,r]=E.useState(""),[u,f]=E.useState(!1),h=Oi();E.useEffect(()=>{h&&Wt("/auth/me",{token:h}).then(T=>{i(T.user),Fr({token:h,user:T.user})}).catch(T=>r(T.message))}
138,[h]);async function m(){f(!0),r("");try{const{url:T}=await Wt("/billing/portal",{method:"POST",token:h});window.location.href=T}catch(T){r(T.message),f(!1)}}const g=(n==null?void 0:n.plan)==="pro",p=(n==null?void 0:n.requestsRemaining)??(n==null?void 0:n.guessesRemaining),v=(n==null?void 0:n.guessesUsedThisWeek)??(n==null?void 0:n.requestsUsedThisWeek),x=v!=null?Number(v)||0:p!=null?Math.max(0,Gs-Number(p)):0,S=g?100:Math.min(100,Math.max(0,x/Gs*100)),j=n!=null&&n.username?`@${n.username}`:(n==null?void 0:n.email)||"GeoGPT account";return h?d.jsx("section",{className:"page page-account",children:d.jsxs("div",{className:"account-shell",children:[d.jsxs("header",{className:"account-head",children:[d.jsx("h1",{children:"Account"}),d.jsx("p",{className:"lede",children:"Manage your plan, weekly guesses, and billing."})]}),n!=null&&n.needsUsername?d.jsxs("p",{className:"error",children:["Your account still needs a username."," ",d.jsx(Te,{to:"/login?needsUsername=1",children:"Choose one now"})]}):null,l?d.jsx("p",{className:"error",children:l}):null,d.jsxs("div",{className:"account-card",children:[d.jsxs("div",{className:"account-identity",children:[d.jsxs("div",{children:[d.jsx("h2",{children:j}),n!=null&&n.username?d.jsx("p",{className:"account-email",children:n.email}):null]}),d.jsx("span",{className:`account-plan-badge${g?" is-pro":""}`,children:g?"Pro":"Free"})]}),d.jsxs("div",{className:"account-usage",children:[d.jsxs("div",{className:"account-usage-row",children:[d.jsx("span",{children:"Weekly usage"}),d.jsx("strong",{children:g?`${x} / ∞`:`${x} / ${Gs}`})]}),d.jsx("div",{className:`account-usage-bar${g?" is-pro":""}`,"aria-hidden":"true",children:d.jsx("span",{style:{width:`${S}%`}})}),d.jsx("p",{children:g?"Unlimited guesses on GeoGuessr and OpenGuessr.":`${p??0} free guesses left this week.`})]}),d.jsxs("div",{className:"account-actions",children:[g?d.jsx("button",{className:"btn",disabled:u,onClick:m,children:u?"Opening portal…":"Manage subscription"}):d.jsx(Te,{className:"btn",to:"/pricing",children:"Upgrade to Pro"}),d.jsx(Te,{className:"btn btn-ghost",to:"/referrals",children:"Invite friends — earn free Pro"}),d.jsxs("button",{type:"button",className:"account-logout",onClick:()=>{jC(),i(null),window.location.href="/login"},children:[d.jsx("span",{children:"Log out"}),d.jsxs("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2","aria-hidden":"true",children:[d.jsx("path",{d:"M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4"}),d.jsx("polyline",{points:"16 17 21 12 16 7"}),d.jsx("line",{x1:"21",y1:"12",x2:"9",y2:"12"})]})]})]})]})]})}):d.jsx("section",{className:"page page-account",children:d.jsxs("div",{className:"account-shell",children:[d.jsxs("header",{className:"account-head",children:[d.jsx("h1",{children:"Account"}),d.jsx("p",{className:"lede",children:"Sign in to manage your plan and subscription."})]}),d.jsxs("div",{className:"account-card account-card--signed-out",children:[d.jsx("p",{children:"You are not logged in."}),d.jsx(Te,{className:"btn",to:"/login",children:"Log in"})]})]})})}function LC(){const n=Ui(),[i]=Nv(),[l,r]=E.useState("Finishing sign-in…"),[u,f]=E.useState(!1),h=i.get("handoff"),m=i.get("token"),g=i.get("needsUsern
138ame")==="1";return E.useEffect(()=>{let p=!1;return(async()=>{var v;try{if(m){const x=await Wt("/auth/me",{token:m});if(p||(Fr({token:m,user:x.user}),S1()),(v=x.user)!=null&&v.needsUsername||g){const S=new URLSearchParams({needsUsername:"1"});h&&S.set("handoff",h),n(`/login?${S}`,{replace:!0});return}}if(p)return;h?(r("Signed in — return to the GeoGPT extension. You can close this tab."),f(!0)):(r("Signed in."),f(!0),window.setTimeout(()=>{window.location.href="/account"},500))}catch(x){p||(r(x.message||"Sign-in failed"),f(!0))}})(),()=>{p=!0}},[m,h,g,n]),d.jsxs("div",{className:"auth-screen",children:[d.jsx("div",{className:"auth-screen-bg","aria-hidden":"true"}),d.jsxs("header",{className:"auth-topbar",children:[d.jsxs(Te,{to:"/",className:"auth-brand",children:[d.jsx("img",{src:"/logo.png",alt:"",width:28,height:28}),d.jsx("span",{children:"GeoGPT"})]}),d.jsx(Te,{to:"/",className:"auth-back",children:"← Back to site"})]}),d.jsx("main",{className:"auth-main",children:d.jsxs("div",{className:"auth-panel auth-panel--status",children:[d.jsxs("header",{className:"auth-panel-head",children:[d.jsx("p",{className:"auth-eyebrow",children:"Account"}),d.jsx("h1",{children:u?"You're in":"Signing in"}),d.jsx("p",{className:"auth-lede",children:l})]}),u&&h?d.jsx("p",{className:"auth-panel-foot",children:d.jsx(Te,{to:"/",children:"Back to site"})}):null]})})]})}const Wc=["General question","Billing & subscription","Account & login","Bug report","Feature request","Other"];function _C(){const[n,i]=E.useState(""),[l,r]=E.useState(""),[u,f]=E.useState(Wc[0]),[h,m]=E.useState(""),[g,p]=E.useState(""),[v,x]=E.useState(!1),[S,j]=E.useState(!1);async function T(C){C.preventDefault(),p(""),j(!0);try{await Wt("/support/contact",{method:"POST",body:{name:n,email:l,subject:u,message:h}}),x(!0),i(""),r(""),f(Wc[0]),m("")}catch(M){p(M.message||"Could not send message")}finally{j(!1)}}return d.jsx("section",{className:"page page-contact",children:d.jsxs("div",{className:"contact-shell",children:[d.jsxs(Ri,{as:"header",className:"contact-head",y:16,children:[d.jsx("h1",{children:"Get in touch"}),d.jsxs("p",{className:"lede",children:["Questions about the extension, billing, or your account?",d.jsx("br",{}),"Send a message and we’ll get back to you by email."]})]}),d.jsx(Ri,{className:"contact-card",delay:.08,y:18,children:v?d.jsxs("div",{className:"contact-success",children:[d.jsx("div",{className:"contact-success-icon","aria-hidden":"true",children:d.jsx("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2.4",strokeLinecap:"round",strokeLinejoin:"round",children:d.jsx("path",{d:"M20 6 9 17l-5-5"})})}),d.jsx("h2",{children:"Message sent"}),d.jsx("p",{children:"Thanks — we’ll reply to your email soon."}),d.jsx("button",{type:"button",className:"btn btn-ghost",onClick:()=>x(!1),children:"Send another message"})]}):d.jsxs("form",{className:"contact-form",onSubmit:T,children:[d.jsxs("div",{className:"contact-row",children:[d.jsxs("label",{children:["Name",d.jsx("input",{value:n,onChange:C=>i(C.target.value),autoComplete:"name",required:!0,minLength:2,placeholder:"Your name"})]}),d.jsxs("label",{children:["Email",d.jsx("input",{value:l,onChange:C=>r(C.target.value),type:"email",autoComplete:"email",required:!0,placeholder:"[email protected]"})]})]}),d.jsxs("label",{children:["Subject",d.jsxs("div",{className:"select-wrap",children:[d.jsx("select",{value:u,onChange:C=>f(C.target.value),children:Wc.map(C=>d.jsx("option",{value:C,children:C},C))}),d.jsx("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",children:d.jsx("path",{d:"m6 9 6 6 6-6"})})]})]}),d.jsxs("label",{children:["Message",d.jsx("textarea",{value:h,onChange:C=>m(C.target.value),rows:6,required:!0,minLength:10,placeholder:"How can we help?"})]}),g?d.jsx("p",{className:"error",children:g}):null,d.jsx("button",{type:"submit",disabled:S,children:S?"Sending…":"Send message"})]})})]})})}function VC(){return d.jsxs("section",{className:"page legal-page",children:[d.jsx("p",{className:"section-kicker",children:"Legal"}),d.jsx("h1",{children:"Privacy Policy"}),d.jsx("p",{className:"lede",children:"Last updated: July 17, 2026 · Swiss Federal Act on Data Protection (FADP)"}),d.jsxs("div",{className:"legal-block",children:[d.jsxs("p",{children:["This Privacy Policy explains how ",d.jsx("strong",{children:"Daverion Digital KLG"})," (“we”, “us”) processes personal data in connection with the website ",d.jsx("strong",{children:"geogpt.site"})," and the GeoGPT browser extension."]}),d.jsxs("p",{children:[d.jsx("strong",{children:"Disclaimer:"})," GeoGPT is not affiliated with, endorsed by, or associated with GeoGuessr or OpenGuessr."]})]}),d.jsxs("div",{className:"legal-block",children:[d.jsx("h2",{children:"1. Controller"}),d.jsxs("p",{children:[d.jsx("strong",{children:"Daverion Digital KLG"}),d.jsx("br",{}),"Stockenstrasse 1",d.jsx("br",{}),"8802 Kilchberg ZH",d.jsx("br",{}),"Switzerland",d.jsx("br",{}),"Commercial register no.: CH-020.2.010.360-8",d.jsx("br",{}),"Email:"," ",d.jsx("a",{href:"mailto:[email protected]",children:"[email protected]"})]})]}),d.jsxs("div",{className:"legal-block",children:[d.jsx("h2",{children:"2. Data we process"}),d.jsxs("ul",{children:[d.jsxs("li",{children:[d.jsx("strong",{children:"Account data:"})," email address and, if you use Google sign-in, the related account identifier for authentication."]}),d.jsxs("li",{children:[d.jsx("strong",{children:"Usage data:"})," assist/request counts, subscription status, and technical logs as needed for limits, Pro access, and reliability."]}),d.jsxs("li",{children:[d.jsx("strong",{children:"Payment data:"})," billing is handled by Stripe. We store Stripe customer and subscription IDs — not your full card details."]}),d.jsxs("li",{children:[d.jsx("strong",{children:"Support:"})," name, email, and message if you contact us."]}),d.jsxs("li",{children:[d.jsx("strong",{children:"Extension settings:"})," preferences (e.g. Auto Place, Smart Zoom, Range Mode, Incognito) stored locally in your browser via Chrome storage."]})]}),d.jsx("p",{children:"GeoGPT does not permanently store Street View images on our servers. Location information is processed in your session as needed for the feature you use."})]}),d.jsxs("div",{className:"legal-block",children:[d.jsx("h2",{children:"3. Purposes and legal bases"}),d.jsx("p",{children:"We process data to:"}),d.jsxs("ul",{children:[d.jsx("li",{children:"sign you in and manage your account;"}),d.jsx("li",{children:"enforce free-tier limits and Pro entitlements;"}),d.jsx("li",{children:"process subscriptions through Stripe;"}),d.jsx("li",{children:"respond to support requests;"}),d.jsx("li",{children:"keep the Service secure and reliable and fix bugs."})]}),d.jsx("p",{children:"Processing is based on contract performance, our overriding interest in secure operation, your consent where required, and legal obligations (Swiss FADP; and GDPR where applicable for persons in the EEA/UK)."})]}),d.jsxs("div",{className:"legal-block",children:[d.jsx("h2",{children:"4. Sharing and processors"}),d.jsxs("ul",{children:[d.jsxs("li",{children:[d.jsx("strong",{children:"Stripe:"})," payment processing. See Stripe’s privacy policy for payment-related data."]}),d.jsxs("li",{children:[d.jsx("strong",{children:"Google:"})," if you use Google sign-in, Google’s terms and privacy policy also apply to that authentication flow."]}),d.jsxs("li",{children:[d.jsx("strong",{children:"Hosting / infrastru
138cture:"})," technical providers as needed to run the Service and send email."]})]}),d.jsx("p",{children:"We do not sell your personal information. We only share data as needed to run the Service or when required by law."})]}),d.jsxs("div",{className:"legal-block",children:[d.jsx("h2",{children:"5. Transfers abroad"}),d.jsx("p",{children:"Some providers (e.g. Stripe, Google) may process data outside Switzerland. Where the destination does not provide an adequate level of protection, we use appropriate safeguards (such as standard contractual clauses) where required."})]}),d.jsxs("div",{className:"legal-block",children:[d.jsx("h2",{children:"6. Retention"}),d.jsx("p",{children:"We keep personal data only as long as needed for the purposes above or as required by law (e.g. accounting records). Afterwards, data is deleted or anonymized."})]}),d.jsxs("div",{className:"legal-block",children:[d.jsx("h2",{children:"7. Your rights"}),d.jsx("p",{children:"Subject to applicable law, you may:"}),d.jsxs("ul",{children:[d.jsx("li",{children:"request access to your data;"}),d.jsx("li",{children:"request correction of inaccurate data;"}),d.jsx("li",{children:"request deletion or restriction of processing;"}),d.jsx("li",{children:"object to processing where applicable;"}),d.jsx("li",{children:"request data portability where applicable;"}),d.jsx("li",{children:"withdraw consent (without affecting prior processing)."})]}),d.jsxs("p",{children:["To exercise your rights, email"," ",d.jsx("a",{href:"mailto:[email protected]",children:"[email protected]"})," or use the"," ",d.jsx("a",{href:"/contact",children:"contact form"}),". Manage subscriptions via your account or the Stripe customer portal. Remove local extension data by uninstalling the extension or clearing extension storage."]})]}),d.jsxs("div",{className:"legal-block",children:[d.jsx("h2",{children:"8. Security"}),d.jsx("p",{children:"We apply appropriate technical and organizational measures to protect your data. Absolute security of internet transmission cannot be guaranteed."})]}),d.jsxs("div",{className:"legal-block",children:[d.jsx("h2",{children:"9. Changes"}),d.jsx("p",{children:"We may update this Privacy Policy. The current version is always available on this page with an updated date."})]}),d.jsxs("div",{className:"legal-block",children:[d.jsx("h2",{children:"10. Contact"}),d.jsxs("p",{children:["Privacy questions:"," ",d.jsx("a",{href:"mailto:[email protected]",children:"[email protected]"})," ·"," ",d.jsx("a",{href:"/contact",children:"Contact form"})," · ",d.jsx("a",{href:"/impressum",children:"Legal notice"})]})]})]})}function UC(){return d.jsxs("section",{className:"page legal-page",children:[d.jsx("p",{className:"section-kicker",children:"Legal"}),d.jsx("h1",{children:"Legal Notice (Impressum)"}),d.jsx("p",{className:"lede",children:"Information required under Swiss law"}),d.jsxs("div",{className:"legal-block",children:[d.jsx("h2",{children:"Service provider"}),d.jsxs("p",{children:[d.jsx("strong",{children:"Daverion Digital KLG"}),d.jsx("br",{}),"Stockenstrasse 1",d.jsx("br",{}),"8802 Kilchberg ZH",d.jsx("br",{}),"Switzerland"]}),d.jsxs("p",{children:["Legal form: General partnership (Kollektivgesellschaft / KLG)",d.jsx("br",{}),"Commercial register no.: CH-020.2.010.360-8",d.jsx("br",{}),"Register office: Commercial Register Office of the Canton of Zurich"]})]}),d.jsxs("div",{className:"legal-block",children:[d.jsx("h2",{children:"Contact"}),d.jsxs("p",{children:["Email:"," ",d.jsx("a",{href:"mailto:[email protected]",children:"[email protected]"}),d.jsx("br",{}),"Contact form: ",d.jsx("a",{href:"/contact",children:"geogpt.site/contact"})]})]}),d.jsxs("div",{className:"legal-block",children:[d.jsx("h2",{children:"Representation"}),d.jsx("p",{children:"Daverion Digital KLG is represented by its partners. Please send all inquiries to the contact details above."})]}),d.jsxs("div",{className:"legal-block",children:[d.jsx("h2",{children:"Disclaimer"}),d.jsx("p",{children:"The content of this website and the GeoGPT services is prepared with care. We do not warrant accuracy, completeness, or currency. Use is at your own risk. We are not responsible for third-party content linked from this site."})]}),d.jsxs("div",{className:"legal-block",children:[d.jsx("h2",{children:"Copyright"}),d.jsx("p",{children:"GeoGPT content, branding, and software are protected by copyright. GeoGuessr and OpenGuessr are trademarks or offerings of third parties. GeoGPT is not affiliated with, endorsed by, or associated with those providers."})]}),d.jsxs("div",{className:"legal-block",children:[d.jsx("h2",{children:"Dispute resolution"}),d.jsx("p",{children:"Swiss law applies. Place of jurisdiction is, to the extent permitted by law, Kilchberg ZH or the registered seat of Daverion Digital KLG."})]})]})}function BC(){return d.jsxs("section",{className:"page legal-page",children:[d.jsx("p",{className:"section-kicker",children:"Legal"}),d.jsx("h1",{children:"Terms of Service"}),d.jsx("p",{className:"lede",children:"Last updated: September 17, 2026 · Governed by Swiss law"}),d.jsxs("div",{className:"legal-block",children:[d.jsx("h2",{children:"1. Scope"}),d.jsxs("p",{children:["These Terms of Service (“Terms”) apply to the use of the website"," ",d.jsx("strong",{children:"geogpt.site"}),", the GeoGPT browser extension, and all related services (together “GeoGPT” or the “Service”) provided by ",d.jsx("strong",{children:"Daverion Digital KLG"}),", Stockenstrasse 1, 8802 Kilchberg ZH, Switzerland (commercial register no. CH-020.2.010.360-8; “we”, “us”)."]}),d.jsx("p",{children:"By registering, purchasing a subscription, or using the Service, you accept these Terms. Individual written agreements take precedence where they differ."})]}),d.jsxs("div",{className:"legal-block",children:[d.jsx("h2",{children:"2. Service description"}),d.jsx("p",{children:"GeoGPT is an assist tool for location-based games (including GeoGuessr and OpenGuessr). The extension may show place information and optional features such as Auto P
138in, Range Mode, Smart Zoom, or Incognito Mode."}),d.jsxs("p",{children:["GeoGPT is ",d.jsx("strong",{children:"not"})," an official product of GeoGuessr, OpenGuessr, or Google and has no commercial affiliation with those providers. Changes to third-party platforms may affect functionality at any time."]}),d.jsx("p",{children:"We may improve, change, limit, or discontinue parts of the Service where reasonably necessary for operation."})]}),d.jsxs("div",{className:"legal-block",children:[d.jsx("h2",{children:"3. Registration and account"}),d.jsx("p",{children:"Some features require an account. You must provide accurate information and keep your credentials confidential. Activity under your account is deemed authorized by you unless you prove otherwise."}),d.jsx("p",{children:"Use is limited to persons with legal capacity under applicable law. Minors need consent from a parent or legal guardian."})]}),d.jsxs("div",{className:"legal-block",children:[d.jsx("h2",{children:"4. Plans, pricing, and payment"}),d.jsxs("ul",{children:[d.jsxs("li",{children:[d.jsx("strong",{children:"Starter (free):"})," limited use as shown on the pricing page."]}),d.jsxs("li",{children:[d.jsx("strong",{children:"Pro:"})," paid subscription (monthly or yearly) with the features described there."]})]}),d.jsx("p",{children:"Prices are shown in the currency indicated on the pricing page and include or exclude taxes as displayed at checkout."}),d.jsxs("p",{children:["Payments are processed by ",d.jsx("strong",{children:"Stripe"}),". A subscription forms a contract for the selected term and renews automatically unless cancelled before the end of the current period."]}),d.jsx("p",{children:"You can cancel at any time as described in section 5. After cancellation, access continues until the end of the paid period."})]}),d.jsxs("div",{className:"legal-block",children:[d.jsx("h2",{children:"5. Cancellation"}),d.jsxs("p",{children:["Subscriptions are cancelled through the ",d.jsx("strong",{children:"Stripe customer portal"}),". To open it, go to ",d.jsx("strong",{children:"Settings → Account → Manage subscription"})," in the GeoGPT extension, or click ",d.jsx("strong",{children:"Manage subscription"})," on your"," ",d.jsx("a",{href:"/account",children:"account page"}),", while signed in. A cancellation made in the portal takes effect immediately, and you will receive a confirmation from Stripe."]}),d.jsxs("p",{children:["Please do not cancel by email or through the contact form. Such messages are not processed automatically and may not be answered right away. Your subscription stays active, and continues to renew, until it is cancelled in the Stripe customer portal. If you cannot access the portal, contact us at"," ",d.jsx("a",{href:"mailto:[email protected]",children:"[email protected]"})," and we will help you cancel."]}),d.jsx("p",{children:"A cancellation stops future renewals. The current paid period is not refunded and remains usable until it ends. Charges for periods that began before you cancelled remain owed."}),d.jsx("p",{children:"Before disputing a charge with your bank or card provider (chargeback), please cancel in the portal or contact us so we can resolve the issue. Where legally permitted, we may suspend accounts for unjustified chargebacks and recover the resulting fees."})]}),d.jsxs("div",{className:"legal-block",children:[d.jsx("h2",{children:"6. Withdrawal and refunds"}),d.jsx("p",{children:"For digital content and online services that begin with your express consent before any withdrawal period ends, refunds may be limited. Mandatory consumer rights remain unaffected."}),d.jsx("p",{children:"Goodwill refunds are decided case by case. Temporary outages do not automatically entitle you to a refund if we restore the Service within a reasonable time."})]}),d.jsxs("div",{className:"legal-block",children:[d.jsx("h2",{children:"7. Acceptable use"}),d.jsx("p",{children:"You agree not to use GeoGPT to:"}),d.jsxs("ul",{children:[d.jsx("li",{children:"violate applicable law or third-party terms of use;"}),d.jsx("li",{children:"abuse, overload, or manipulate the Service;"}),d.jsx("li",{children:"unlawfully share, resell, or transfer accounts or access;"}),d.jsx("li",{children:"bypass security measures or reverse-engineer the Service except where permitted by law."})]}),d.jsx("p",{children:"We may suspend or terminate accounts for violations. Where legally permitted, no refund is owed in that case."})]}),d.jsxs("div",{className:"legal-block",children:[d.jsx("h2",{children:"8. Availability"}),d.jsx("p",{children:"We aim for reliable availability but do not guarantee a specific uptime. Maintenance, third-party outages (hosting, Stripe, Google, game platforms), or force majeure may cause interruptions."})]}),d.jsxs("div",{className:"legal-block",children:[d.jsx("h2",{children:"9. Intellectual property"}),d.jsx("p",{children:"All rights in GeoGPT software, design, brands, and content remain with Daverion Digital KLG or its licensors. You receive a simple, non-transferable, revocable right to use the Service for the duration of your active account or subscription."})]}),d.jsxs("div",{className:"legal-block",children:[d.jsx("h2",{children:"10. Liability"}),d.jsx("p",{children:"To the extent permitted by law, we are liable only for damages caused by willful misconduct or gross negligence. Liability for slight negligence, indirect damages, lost profits, data loss, or in-game disadvantages is excluded where mandatory law does not provide otherwise."}),d.jsx("p",{children:"GeoGPT is an assist tool. You alone are responsible for complying with game rules, fair-play policies, and any sanctions by game providers."})]}),d.jsxs("div",{className:"legal-block",children:[d.jsx("h2",{children:"11. Privacy"}),d.jsxs("p",{children:["Processing of personal data is described 
138in our ",d.jsx("a",{href:"/privacy",children:"Privacy Policy"}),"."]})]}),d.jsxs("div",{className:"legal-block",children:[d.jsx("h2",{children:"12. Changes to these Terms"}),d.jsx("p",{children:"We may update these Terms. Material changes will be announced in an appropriate way (e.g. email or website notice). Continued use after the effective date constitutes acceptance where permitted by law. Benefits already paid for remain available for the current period."})]}),d.jsxs("div",{className:"legal-block",children:[d.jsx("h2",{children:"13. Final provisions"}),d.jsxs("p",{children:["If any provision is invalid, the remaining Terms stay in force. These Terms are governed by"," ",d.jsx("strong",{children:"Swiss law"}),", excluding conflict-of-law rules and the UN Convention on Contracts for the International Sale of Goods (CISG). Place of jurisdiction is, to the extent permitted, ",d.jsx("strong",{children:"Kilchberg ZH"})," or the seat of Daverion Digital KLG. Mandatory consumer protection rules at your place of residence remain reserved."]}),d.jsxs("p",{children:["Contact:"," ",d.jsx("a",{href:"mailto:[email protected]",children:"[email protected]"})," ·"," ",d.jsx("a",{href:"/contact",children:"Contact form"})," · ",d.jsx("a",{href:"/impressum",children:"Legal notice"})]})]})]})}function kC(){return d.jsxs("section",{className:"page page-welcome",children:[d.jsx("header",{className:"welcome-hero",children:d.jsx("h1",{children:"Welcome to GeoGPT"})}),d.jsx(Ov,{layout:"split"})]})}const GC=["Too expensive","Didn't work as expected","Found an alternative","Don't play GeoGuessr anymore","Missing features","Other"],ev="COMEBACK10";function HC(){const[n,i]=E.useState(""),[l,r]=E.useState(""),[u,f]=E.useState(""),[h,m]=E.useState(!1),[g,p]=E.useState(!1),[v,x]=E.useState(!1);async function S(T){if(T.preventDefault(),f(""),!n){f("Please select a reason");return}m(!0);try{await Wt("/support/uninstall-feedback",{method:"POST",body:{reason:n,message:l}}),p(!0)}catch(C){f(C.message||"Could not send feedback")}finally{m(!1)}}async function j(){try{await navigator.clipboard.writeText(ev),x(!0),window.setTimeout(()=>x(!1),1800)}catch{x(!1)}}return d.jsxs("section",{className:"page page-goodbye",children:[d.jsxs("div",{className:"goodbye-shell",children:[d.jsxs("header",{className:"goodbye-hero",children:[d.jsx("span",{className:"goodbye-emoji","aria-hidden":"true",children:"😢"}),d.jsx("h1",{children:"We're sorry to see you go"}),d.jsx("p",{className:"lede",children:"Tell us why — it only takes a second."})]}),d.jsxs("form",{className:"goodbye-form",onSubmit:S,children:[d.jsxs("fieldset",{className:"goodbye-reasons",children:[d.jsx("legend",{children:"Why did you uninstall?"}),d.jsx("div",{className:"goodbye-reason-grid",children:GC.map(T=>d.jsxs("label",{className:`goodbye-reason ${n===T?"is-selected":""}`,children:[d.jsx("input",{type:"radio",name:"reason",value:T,checked:n===T,onChange:()=>i(T)}),d.jsx("span",{children:T})]},T))})]}),d.jsxs("label",{className:"goodbye-message",children:["Anything else?",d.jsx("textarea",{value:l,onChange:T=>r(T.target.value),rows:3,maxLength:2e3,placeholder:"What could we have done better?"})]}),u?d.jsx("p",{className:"error",children:u}):null,d.jsx("button",{type:"submit",className:"btn btn-primary",disabled:h||!n,children:h?"Sending…":"Send feedback"})]}),d.jsxs("div",{className:"goodbye-redownload",children:[d.jsx("p",{children:"Changed your mind?"}),d.jsxs(Ua,{className:"btn btn-chrome btn-lg",children:[d.jsx(Di,{}),"Redownload"]})]})]}),g?d.jsx("div",{className:"goodbye-modal-backdrop",role:"presentation",onClick:()=>p(!1),children:d.jsxs("div",{className:"goodbye-modal",role:"dialog","aria-modal":"true","aria-labelledby":"comeback-title",onClick:T=>T.stopPropagation(),children:[d.jsx("button",{type:"button",className:"goodbye-modal-close","aria-label":"Close",onClick:()=>p(!1),children:d.jsx("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2.2","aria-hidden":"true",children:d.jsx("path",{d:"M18 6 6 18M6 6l12 12"})})}),d.jsx("p",{className:"goodbye-modal-kicker",children:"Welcome back offer"}),d.jsx("h2",{id:"comeback-title",children:"10% off when you return"}),d.jsx("p",{className:"goodbye-modal-copy",children:"Thanks for the feedback. Use this code on Pro if you come back."}),d.jsxs("button",{type:"button",className:"goodbye-code",onClick:j,children:[d.jsx("span",{children:ev}),d.jsx("small",{children:v?"Copied":"Click to copy"})]}),d.jsxs(Ua,{className:"btn btn-chrome goodbye-modal-cta",children:[d.jsx(Di,{}),"Redownload"]})]})}):null]})}const qC=[{n:"01",title:"Copy your invite link",copy:"Share your personal link with friends who play GeoGuessr or OpenGuessr."},{n:"02",title:"They create an account",copy:"They must sign up through your link so the invite is attributed to you."},{n:"03",title:"They upgrade to Pro",copy:"When they buy monthly or yearly Pro, you get one free month. Pro subscribers get that month credited on Stripe (no charge). Rewards stack."}],YC=[{q:"I already have Pro. Do I still get a free month?",a:"Yes. If you are on a paid Pro plan, we credit one free month to your Str
138ipe balance. That credit is applied to your next invoice(s) automatically, so you are not charged for that rewarded month. Rewards stack if you invite more people."},{q:"What if I am on the yearly plan?",a:"You still get one free month of value. We credit about 1/12 of your yearly price to your Stripe balance. On your next yearly renewal, that amount is deducted from the invoice, so you pay less by one month’s share. Multiple rewards stack as extra credit toward that renewal."},{q:"When do I get the free month?",a:"As soon as your friend completes their first Pro purchase (monthly or yearly). Signing up alone is not enough. The reward unlocks when they actually upgrade."},{q:"Can rewards stack?",a:"Yes. Every successful invite that upgrades to Pro adds another free month. There is no cap, so invite as many friends as you like."},{q:"What if I am on the free plan?",a:"You still earn Pro time. We unlock one complimentary month of Pro for each friend who upgrades. If you invite more people, those months stack back to back."},{q:"Can I invite myself or reuse my own link?",a:"No. Self-referrals are blocked. The person you invite must create a new account through your link and buy Pro for the reward to count."}];function PC(){const n=Oi(),[i,l]=E.useState(null),[r,u]=E.useState(""),[f,h]=E.useState(!1),[m,g]=E.useState(!!n);if(E.useEffect(()=>{if(!n)return;let v=!1;return g(!0),Wt("/referrals/me",{token:n}).then(x=>{v||l(x)}).catch(x=>{v||u(x.message)}).finally(()=>{v||g(!1)}),()=>{v=!0}},[n]),!n)return d.jsx(d2,{to:"/login?next=/referrals",replace:!0});async function p(){if(i!=null&&i.inviteUrl)try{await navigator.clipboard.writeText(i.inviteUrl),h(!0),window.setTimeout(()=>h(!1),1800)}catch{u("Could not copy. Select the link manually.")}}return d.jsx("section",{className:"page page-referrals",children:d.jsxs("div",{className:"referrals-shell",children:[d.jsxs("header",{className:"referrals-head",children:[d.jsx("h1",{children:"Get Pro for free"}),d.jsxs("p",{className:"lede",children:["Share GeoGPT. When a friend signs up with your link and buys Pro, you get"," ",d.jsx("strong",{className:"referrals-lede-highlight",children:"one free month"}),". Every successful invite stacks."]})]}),r?d.jsx("p",{className:"error",children:r}):null,d.jsxs("div",{className:"referrals-card",children:[d.jsx("h2",{children:"How it works"}),d.jsx("ol",{className:"referrals-steps",children:qC.map(v=>d.jsxs("li",{children:[d.jsx("span",{className:"referrals-step-n",children:v.n}),d.jsxs("div",{children:[d.jsx("strong",{children:v.title}),d.jsx("p",{children:v.copy})]})]},v.n))})]}),d.jsxs("div",{className:"referrals-card",children:[d.jsx("h2",{children:"Your invite link"}),m&&!i?d.jsx("p",{className:"referrals-muted",children:"Loading your link…"}):d.jsxs(d.Fragment,{children:[d.jsxs("div",{className:"referrals-link-row",children:[d.jsxs("div",{className:"referrals-link-field",onClick:v=>{const x=v.currentTarget.querySelector("input");x&&(x.focus({preventScroll:!0}),x.select())},children:[d.jsxs("svg",{className:"referrals-link-icon",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",children:[d.jsx("path",{d:"M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71"}),d.jsx("path",{d:"M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71"})]}),d.jsx("input",{className:"referrals-link-input",readOnly:!0,value:(i==null?void 0:i.inviteUrl)||"","aria-label":"Invite link",onClick:v=>v.stopPropagation()})]}),d.jsxs("button",{type:"button",className:"referrals-copy-btn",onClick:p,disabled:!(i!=null&&i.inviteUrl),children:[d.jsxs("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",children:[d.jsx("rect",{x:"9",y:"9",width:"13",height:"13",rx:"2"}),d.jsx("path",{d:"M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"})]}),d.jsx("span",{children:f?"Copied!":"Copy Link"})]})]}),i!=null&&i.inviteCode?d.jsxs("p",{className:"referrals-code-hint",children:["Code: ",d.jsx("strong",{children:i.inviteCode})]}):null]})]}),d.jsxs("div",{className:"referrals-stats",children:[d.jsxs("div",{className:"referrals-stat",children:[d.jsx("strong",{children:(i==null?void 0:i.invitedCount)??"—"}),d.jsx("span",{children:"Invited"})]}),d.jsxs("div",{className:"referrals-stat",children:[d.jsx("strong",{children:(i==null?void 0:i.convertedCount)??"—"}),d.jsx("span",{children:"Bought Pro"})]}),d.jsxs("div",{className:"referrals-stat",children:[d.jsx("strong",{children:(i==null?void 0:i.monthsEarned)??"—"}),d.jsx("span",{children:"Free months earned"})]})]}),d.jsxs("div",{className:"referrals-faq",children:[d.jsx("h2",{className:"referrals-faq-title",children:"Frequently Asked Questions"}),d.jsx("div",{className:"faq",children:YC.map(v=>d.jsxs("details",{children:[d.jsx("summary",{children:v.q}),d.jsx("p",{children:v.a})]},v.q))})]})]})})}const XC=[{id:"quizgpt",name:"QuizGPT",game:"Kahoot!",title:"Know every answer.",blurb:"Instant AI answers, automatic clicks, and a clean path to the top of the podium.",href:"https://quizgpt.site",logo:"/quizgpt-logo.png",cta:"Cheat Kahoot",theme:"quiz",features:["AI answers","Auto click"]},{id:"geogpt",name:"GeoGPT",game:"GeoGuessr",title:"Know every location.",blurb:"Live coordinates, exact locations, and automatic pins before the clock runs out.",href:"/",logo:"/logo.png",cta:"Cheat GeoGuessr",theme:"geo",features:["Live c
138oords","Auto place"]}];function KC({theme:n,game:i}){return n==="quiz"?d.jsx("span",{className:"kahoot-text","aria-label":"Kahoot!",children:"Kahoot!"}):d.jsx("span",{className:"geoguessr-text",children:i})}function tv(){return E.useEffect(()=>{const n=document.title;return document.title="Pick a tool — QuizGPT & GeoGPT",()=>{document.title=n}},[]),d.jsxs("main",{className:"product-gate","aria-label":"Choose a product",children:[d.jsxs("header",{className:"product-gate__header",children:[d.jsxs("span",{className:"product-gate__status",children:[d.jsx("i",{"aria-hidden":"true"}),"Choose your advantage"]}),d.jsxs("h1",{children:["Which game are",d.jsx("br",{}),"you playing?"]})]}),d.jsx("div",{className:"product-gate__choices",role:"list",children:XC.map(n=>{const i=/^https?:\/\//i.test(n.href);return d.jsxs("a",{className:`product-choice product-choice--${n.theme}`,href:n.href,role:"listitem",...i?{target:"_blank",rel:"noopener noreferrer"}:{},children:[d.jsx("div",{className:"product-choice__game",children:d.jsx(KC,{theme:n.theme,game:n.game})}),d.jsxs("div",{className:"product-choice__identity",children:[d.jsx("img",{className:"product-choice__logo",src:n.logo,alt:`${n.name} logo`,width:88,height:88,decoding:"async"}),d.jsx("span",{className:"product-choice__name",children:n.name})]}),d.jsxs("div",{className:"product-choice__copy",children:[d.jsx("h2",{children:n.title}),d.jsx("p",{children:n.blurb}),d.jsx("ul",{"aria-label":`${n.name} features`,children:n.features.map(l=>d.jsx("li",{children:l},l))})]}),d.jsxs("div",{className:"product-choice__cta",children:[d.jsx("span",{children:n.cta}),d.jsx("svg",{className:"product-choice__chevron",viewBox:"0 0 24 24",fill:"none","aria-hidden":"true",children:d.jsx("path",{d:"M9 5l7 7-7 7",stroke:"currentColor",strokeWidth:"2.2",strokeLinecap:"round",strokeLinejoin:"round"})})]})]},n.id)})}),d.jsx("p",{className:"product-gate__note",children:"Built for players who refuse second place."})]})}const nv=[{label:"Guide",href:"/#guide"},{label:"Pricing",to:"/pricing"},{label:"Referrals",to:"/referrals"},{label:"Contact",to:"/contact"}];function av({item:n,onClick:i,className:l=""}){const r={className:`pill-nav-link ${l}`.trim(),onClick:i};return n.to?d.jsx(Te,{to:n.to,...r,children:n.label}):d.jsx("a",{href:n.href,...r,children:n.label})}function QC(){const[n,i]=E.useState(!1),l=!!Oi(),r=()=>i(f=>!f),u=()=>i(!1);return E.useEffect(()=>{if(!n)return;const f=document.body.style.overflow;document.body.style.overflow="hidden";const h=m=>{m.key==="Escape"&&u()};return window.addEventListener("keydown",h),()=>{document.body.style.overflow=f,window.removeEventListener("keydown",h)}},[n]),d.jsxs("div",{className:`pill-nav-shell${n?" is-open":""}`,children:[d.jsxs(rn.div,{className:"pill-nav",initial:{opacity:0,y:-10},animate:{opacity:1,y:0},transition:{duration:.35,ease:[.22,.61,.36,1]},children:[d.jsxs(Te,{to:"/",className:"pill-nav-brand",onClick:u,children:[d.jsx("img",{className:"brand-mark",src:"/logo.png",alt:"",width:32,height:32,"aria-hidden":"true"}),d.jsx("span",{className:"pill-nav-brand-text",children:"GeoGPT"})]}),d.jsx("nav",{className:"pill-nav-desktop","aria-label":"Primary",children:nv.map((f,h)=>d.jsx(rn.div,{initial:{opacity:0,y:-8},animate:{opacity:1,y:0},transition:{duration:.25,delay:h*.04},children:d.jsx(av,{item:f})},f.label))}),d.jsxs("div",{className:"pill-nav-actions",children:[l?d.jsx(Te,{to:"/account",className:"pill-nav-account","aria-label":"Account",children:d.jsx(Iy,{size:20,strokeWidth:2.2,"aria-hidden":"true"})}):d.jsx(Te,{to:"/login",className:"pill-nav-login",children:"Log in"}),d.jsxs(Ua,{className:"btn btn-chrome pill-nav-cta",children:[d.jsx(Di,{}),"Add to Chrome"]})]}),d.jsx(rn.button,{type:"button",className:"pill-nav-burger",onClick:r,whileTap:{scale:.92},"aria-label":n?"Close menu":"Open menu","aria-expanded":n,children:n?d.jsx(pC,{size:22}):d.jsx(oC,{size:22})})]}),d.jsx(s1,{children:n?d.jsxs(rn.div,{className:"pill-nav-mobile",initial:{opacity:0}
138,animate:{opacity:1},exit:{opacity:0},transition:{duration:.18},children:[d.jsx("div",{className:"pill-nav-mobile-backdrop","aria-hidden":"true",onClick:u}),d.jsx(rn.div,{className:"pill-nav-mobile-sheet",initial:{opacity:0,y:18},animate:{opacity:1,y:0},exit:{opacity:0,y:12},transition:{type:"spring",damping:28,stiffness:320},children:d.jsxs("div",{className:"pill-nav-mobile-list",children:[nv.map((f,h)=>d.jsx(rn.div,{initial:{opacity:0,y:10},animate:{opacity:1,y:0},transition:{delay:h*.05+.04},children:d.jsx(av,{item:f,onClick:u,className:"pill-nav-link--mobile"})},f.label)),d.jsxs(rn.div,{initial:{opacity:0,y:12},animate:{opacity:1,y:0},transition:{delay:.28},className:"pill-nav-mobile-ctas",children:[l?d.jsxs(Te,{to:"/account",className:"btn btn-ghost pill-nav-account-mobile",onClick:u,"aria-label":"Account",children:[d.jsx(Iy,{size:18,strokeWidth:2.2,"aria-hidden":"true"}),"Account"]}):d.jsx(Te,{to:"/login",className:"btn btn-ghost",onClick:u,children:"Log in"}),d.jsxs(Ua,{className:"btn btn-chrome",onClick:u,children:[d.jsx(Di,{}),"Add to Chrome"]})]})]})})]}):null})]})}var iv=["x","y","z"],Nn=function(n){Object.assign(this,{uniforms:{},geometry:{vertices:[{x:0,y:0,z:0}]},mode:0,modifiers:{},attributes:[],multiplier:1,buffers:[]}),Object.assign(this,n),this.prepareProgram(),this.prepareUniforms(),this.prepareAttributes()};Nn.prototype.compileShader=function(n,i){var l=this.gl.createShader(n);return this.gl.shaderSource(l,i),this.gl.compileShader(l),l},Nn.prototype.prepareProgram=function(){var n=this.gl,i=this.vertex,l=this.fragment,r=n.createProgram();n.attachShader(r,this.compileShader(35633,i)),n.attachShader(r,this.compileShader(35632,l)),n.linkProgram(r),n.useProgram(r),this.program=r},Nn.prototype.prepareUniforms=function(){for(var n=Object.keys(this.uniforms),i=0;i<n.length;i+=1){var l=this.gl.getUniformLocation(this.program,n[i]);this.uniforms[n[i]].location=l}},Nn.prototype.prepareAttributes=function(){this.geometry.vertices!==void 0&&this.attributes.push({name:"aPosition",size:3}),this.geometry.normal!==void 0&&this.attributes.push({name:"aNormal",size:3}),this.attributeKeys=[];for(var n=0;n<this.attributes.length;n+=1)this.attributeKeys.push(this.attributes[n].name),this.prepareAttribute(this.attributes[n])},Nn.prototype.prepareAttribute=function(n){for(var i=this.geometry,l=this.multiplier,r=i.vertices,u=i.normal,f=new Float32Array(l*r.length*n.size),h=0;h<l;h+=1)for(var m=n.data&&n.data(h,l),g=h*r.length*n.size,p=0;p<r.length;p+=1)for(var v=0;v<n.size;v+=1){var x=this.modifiers[n.name];f[g]=x!==void 0?x(m,p,v,this):n.name==="aPosition"?r[p][iv[v]]:n.name==="aNormal"?u[p][iv[v]]:m[v],g+=1}this.attributes[this.attributeKeys.indexOf(n.name)].data=f,this.prepareBuffer(this.attributes[this.attributeKeys.indexOf(n.name)])},Nn.prototype.prepareBuffer=function(n){var i=n.data,l=n.name,r=n.size,u=this.gl.createBuffer();this.gl.bindBuffer(34962,u),this.gl.bufferData(34962,i,35044);var f=this.gl.getAttribLocation(this.program,l);this.gl.enableVertexAttribArray(f),this.gl.vertexAttribPointer(f,r,5126,!1,0,0),this.buffers[this.attributeKeys.indexOf(n.name)]={buffer:u,location:f,size:r}},Nn.prototype.render=function(n){var i=this,l=this.uniforms,r=this.multiplier,u=this.gl;u.useProgram(this.program);for(var f=0;f<this.buffers.length;f+=1){var h=this.buffers[f],m=h.location,g=h.buffer,p=h.size;u.enableVertexAttribArray(m),u.bindBuffer(34962,g),u.vertexAttribPointer(m,p,5126,!1,0,0)}Object.keys(n).forEach(function(v){l[v].value=n[v].value}),Object.keys(l).forEach(function(v){var x=l[v];i.uniformMap[x.type](x.location,x.value)}),u.drawArrays(this.mode,0,r*this.geometry.vertices.length),this.onRender&&this.onRender(this)},Nn.prototype.destroy=function(){for(var n=0;n<this.buffers.length;n+=1)this.gl.deleteBuffer(this.buffers[n].buffer);this.gl.deleteProgram(this.program),this.gl=null};var za=function(n){var i=this,l=n||{},r=l.canvas;r===void 0&&(r=document.querySelector("canvas"));var u=l.context;u===void 0&&(u={});var f=l.contextType;f===void 0&&(f="experimental-webgl");var h=l.settings;h===void 0&&(h={});var m=r.getContext(f,Object.assign({alpha:!1,antialias:!1},u));Object.assign(this,{gl:m,canvas:r,uniforms:{},instances:new Map,shouldRender:!0}),Object.assign(this,{devicePixelRatio:1,clearColor:[1,1,1,1],position:{x:0,y:0,z:2},clip:[.001,100]}),Object.assign(this,h),this.uniformMap={float:function(g,p){return m.uniform1f(g,p)},vec2:function(g,p){return m.uniform2fv(g,p)},vec3:function(g,p){return m.uniform3fv(g,p)},vec4:function(g,p){return m.uniform4fv(g,p)},mat2:function(g,p){return m.uniformMatrix2fv(g,!1,p)},mat3:function(g,p){return m.uniformMatrix3fv(g,!1,p)},mat4:function(g,p){return m.uniformMatrix4fv(g,!1,p)}},m.enable(m.DEPTH_TEST),m.depthFunc(m.LEQUAL),m.getContextAttributes().alpha===!1&&(m.clearColor.apply(m,this.clearColor),m.clearDepth(1)),this.onSetup&&this.onSetup(m),window.addEventListener("resize",function(){return i.resize()}),this.resize(),this.render()};za.prototype.resize=function(){var n=this.gl,i=this.canvas,l=this.devicePixelRatio,r=this.position;i.width=i.clientWidth*l,i.height=i.clientHeight*l;var u=n.drawingBufferWidth,f=n.drawingBufferHeight,h=u/f;n.viewport(0,0,u,f);var m=Math.tan(Math.PI/180*22.5),g=[1,0,0,0,0,1,0,0,0,0,1,0,r.x,r.y,(h<1?1:h)*-r.z,1];this.uniforms.uProjectionMatrix={type:"mat4",value:[.5/m,0,0,0,0,h/m*.5,0,0,0,0,-(this.clip[1]+this.clip[0])/(this.clip[1]-this.clip[0]),-1,0,0,-2*this.clip[1]*(this.clip[0]/(this.clip[1]-this.clip[0])),0]}
138,this.uniforms.uViewMatrix={type:"mat4",value:[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]},this.uniforms.uModelMatrix={type:"mat4",value:g}},za.prototype.toggle=function(n){n!==this.shouldRender&&(this.shouldRender=n!==void 0?n:!this.shouldRender,this.shouldRender&&this.render())},za.prototype.render=function(){var n=this;this.gl.clear(16640),this.instances.forEach(function(i){i.render(n.uniforms)}),this.onRender&&this.onRender(this),this.shouldRender&&requestAnimationFrame(function(){return n.render()})},za.prototype.add=function(n,i){i===void 0&&(i={uniforms:{}}),i.uniforms===void 0&&(i.uniforms={}),Object.assign(i.uniforms,JSON.parse(JSON.stringify(this.uniforms))),Object.assign(i,{gl:this.gl,uniformMap:this.uniformMap});var l=new Nn(i);return this.instances.set(n,l),l},za.prototype.remove=function(n){var i=this.instances.get(n);i!==void 0&&(i.destroy(),this.instances.delete(n))},za.prototype.destroy=function(){var n=this;this.instances.forEach(function(i,l){i.destroy(),n.instances.delete(l)}),this.toggle(!1)};var T1="phi",E1="theta",j1="mapSamples",A1="mapBrightness",w1="baseColor",C1="markerColor",M1="glowColor",Bs="markers",R1="diffuse",sv="devicePixelRatio",D1="dark",N1="offset",z1="scale",O1="opacity",L1="mapBaseBrightness",lv={[T1]:"A",[E1]:"B",[j1]:"m",[A1]:"E",[w1]:"R",[C1]:"S",[M1]:"z",[R1]:"F",[D1]:"G",[N1]:"y",[z1]:"C",[O1]:"H",[L1]:"I"},{PI:$c,sin:rv,cos:ov}=Math,uv=n=>[].concat(...n.map(i=>{let[l,r]=i.location;l=l*$c/180,r=r*$c/180-$c;let u=ov(l),f=[-u*ov(r),rv(l),u*rv(r),i.size],h=i.color?[...i.color,1]:[0,0,0,0];return[...f,...h]}),[0,0,0,0,0,0,0,0]),ZC=(n,i)=>{let l=(f,h,m)=>({type:f,value:typeof i[h]>"u"?m:i[h]}),r=n.getContext("webgl2")?"webgl2":n.getContext("webgl")?"webgl":"experimental-webgl",u=new za({canvas:n,contextType:r,context:{alpha:!0,stencil:!1,antialias:!0,depth:!1,preserveDrawingBuffer:!1,...i.context},settings:{[sv]:i[sv]||1,onSetup:f=>{let h=f.RGB,m=f.UNSIGNED_BYTE,g=f.TEXTURE_2D,p=f.createTexture();f.bindTexture(g,p),f.texImage2D(g,0,h,1,1,0,h,m,new Uint8Array([0,0,0,0]));let v=new Image;v.onload=()=>{f.bindTexture(g,p),f.texImage2D(g,0,h,h,m,v),f.generateMipmap(g);let x=f.getParameter(f.CURRENT_PROGRAM),S=f.getUniformLocation(x,"J");f.texParameteri(g,f.TEXTURE_MIN_FILTER,f.NEAREST),f.texParameteri(g,f.TEXTURE_MAG_FILTER,f.NEAREST),f.uniform1i(S,0)},v.src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQAAAACAAQAAAADMzoqnAAAAAXNSR0IArs4c6QAABA5JREFUeNrV179uHEUAx/Hf3JpbF+E2VASBsmVKTBcpKJs3SMEDcDwBiVJAAewYEBUivIHT0uUBIt0YCovKD0CRjUC4QfHYh8hYXu+P25vZ2Zm9c66gMd/GJ/tz82d3bk8GN4SrByYF2366FNTACIAkivVAAazQdnf3MvAlbNUQfOPAdQDvSAimMWhwy4I2g4SU+Kp04ISLpPBAKLxPyic3O/CCi+Y7rUJbio
138dcpDOFY7CgxCEXmdYD2EYK2s5lApOx5pEDDYCUwM1XdJUwBV11QQMg59kePSCaPAASQMEL2hwo6TJFgxpg+TgC2ymXPbuvc40awr3D1QCFfbH9kcoqAOkZozpQo0aqAGQRKCog/+tjkgbNFEtg2FffBvBGlSxHoAaAa1u6X4PBAwDiR8FFsrQgeUhfJTSALaB9jy5NCybJPn1SVFiWk7ywN+KzhH1aKAuydhGkbEF4lWohLXDXavlyFgHY7LBnLRdlAP6BS5Cc8RfVDXbkwN/oIvmY+6obbNeBP0JwTuMGu9gTzy1Q4RS/cWpfzszeYwd+CAFrtBW/Hur0gLbJGlD+/OjVwe/drfBxkbbg63dndEDfiEBlAd7ac0BPe1D6Jd8dfbLH+RI0OzseFB5s01/M+gMdAeluLOCAuaUA9Lezo/vSgXoCX9rtEiXnp7Q1W/CNyWcd8DXoS6jH/YZ5vAJEWY2dXFQe2TUgaFaNejCzJ98g6HnlVrsE58sDcYqg+9XY75fPqdoh/kRQWiXKg8MWlJQxUFMPjqnyujhFBE7UxIMjyszk0QwQlFsezImsyvUYYYVED2pk6m0Tg8T04Fwjk2kdAwSACqlM6gRRt3vQYAFGX0Ah7Ebx1H+MDRI5ui0QldH4j7FGcm90XdxD2Jg1AOEAVAKhEFXSn4cKUELurIAKwJ3MArypPscQaLhJFICJ0ohjDySAdH8AhDtCiTuMycH8CXzhH9jUACAO5uMhoAwA5i+T6WAKmmAqnLy80wxHqIPFYpqCwxGaYLt4Dyievg5kEoVEUAhs6pqKgFtDQYOuaXypaWKQfIuwwoGSZgfLsu/XAtI8cGN+h7Cc1A5oLOMhwlIPXuhu48AIvsSBkvtV9wsJRKCyYLfq5lTrQMFd1a262oqBck9K1V0YjQg0iEYYgpS1A9GlXQV5cykwm4A7BzVsxQqo7E+zCegO7Ma7yKgsuOcfKbMBwLC8wvVNYDsANYalEpOAa6zpWjTeMKGwEwC1CiQewJc5EKfgy7GmRAZA4vUVGwE2dPM/g0xuAInE/yG5aZ8ISxWGfYigUVbdyBElTHh2uCwGdfCkOLGgQVBh3Ewp+/QK4CDlR5Ws/Zf7yhCf8pH7vinWAvoVCQ6zz0NX5V/6GkAVV+2/5qsJ/gU8bsxpM8IeAQAAAABJRU5ErkJggg=="}}});return u.add("",{vertex:"attribute vec3 aPosition;uniform mat4 uProjectionMatrix;uniform mat4 uModelMatrix;uniform mat4 uViewMatrix;void main(){gl_Position=uProjectionMatrix*uModelMatrix*uViewMatrix*vec4(aPosition,1.);}",fragment:"precision highp float;uniform vec2 t,y;uniform vec3 R,S,z;uniform vec4 v[64*2];uniform float A,B,m,C,D,E,F,G,H,I;uniform sampler2D J;float K=1./m;mat3 L(float a,float b){float c=cos(a),d=cos(b),e=sin(a),f=sin(b);return mat3(d,f*e,-f*c,0.,c,e,f,d*-e,d*c);}vec3 w(vec3 c,out float x){c=c.xzy;float p=max(2.,floor(log2(2.236068*m*3.141593*(1.-c.z*c.z))*.72021));vec2 g=floor(pow(1.618034,p)/2.236068*vec2(1.,1.618034)+.5),d=fract((g+1.)*.618034)*6.283185-3.883222,e=-2.*g,f=vec2(atan(c.y,c.x),c.z-1.),q=floor(vec2(e.y*f.x-d.y*(f.y*m+1.),-e.x*f.x+d.x*(f.y*m+1.))/(d.x*e.y-e.x*d.y));float n=3.141593;vec3 r;for(float h=0.;h<4.;h+=1.){vec2 s=vec2(mod(h,2.),floor(h*.5));float j=dot(g,q+s);if(j>m)continue;float a=j,b=0.;if(a>=524288.)a-=524288.,b+=.803894;if(a>=262144.)a-=262144.,b+=.901947;if(a>=131072.)a-=131072.,b+=.950973;if(a>=65536.)a-=65536.,b+=.475487;if(a>=32768.)a-=32768.,b+=.737743;if(a>=16384.)a-=16384.,b+=.868872;if(a>=8192.)a-=8192.,b+=.934436;if(a>=4096.)a-=4096.,b+=.467218;if(a>=2048.)a-=2048.,b+=.733609;if(a>=1024.)a-=1024.,b+=.866804;if(a>=512.)a-=512.,b+=.433402;if(a>=256.)a-=256.,b+=.216701;if(a>=128.)a-=128.,b+=.108351;if(a>=64.)a-=64.,b+=.554175;if(a>=32.)a-=32.,b+=.777088;if(a>=16.)a-=16.,b+=.888544;if(a>=8.)a-=8.,b+=.944272;if(a>=4.)a-=4.,b+=.472136;if(a>=2.)a-=2.,b+=.236068;if(a>=1.)a-=1.,b+=.618034;float k=fract(b)*6.283185,i=1.-2.*j*K,l=sqrt(1.-i*i);vec3 o=vec3(cos(k)*l,sin(k)*l,i);float u=length(c-o);if(u<n)n=u,r=o;}x=n;return r.xzy;}void main(){vec2 b=(gl_FragCoord.xy/t*2.-1.)/C-y*vec2(1.,-1.)/t;b.x*=t.x/t.y;float c=dot(b,b);vec4 x=vec4(0.);float n=0.;if(c<=.64){for(int g=0;g<2;g++){vec4 e=vec4(0.);float a;vec3 u=vec3(0.,0.,1.),h=normalize(vec3(b,sqrt(.64-c)));h.z*=g>0?-1.:1.,u.z*=g>0?-1.:1.;vec3 i=h*L(B,A),j=w(i,a);float o=asin(j.y),k=acos(-j.x/cos(o));k=j.z<0.?-k:k;float M=max(texture2D(J,vec2(k*.5/3.141593,-(o/3.141593+.5))).x,I),N=smoothstep(8e-3,0.,a),l=dot(h,u),p=pow(l,F)*E,q=M*N*p,T=mix((1.-q)*pow(l,.4),q,G)+.1;e+=vec4(R*T,1.);int U=int(D);float V=0.;for(int d=0;d<64;d++){if(d>=U)break;vec4 r=v[d*2],O=v[d*2+1];vec3 s=r.xyz,P=s-i;float f=r.w;if(dot(P,P)>f*f*4.)continue;vec3 W=w(s,a);a=length(W-i);if(a<f)V+=smoothstep(f*.5,0.,a),e.xyz=O.w>.5?mix(e.xyz,O.xyz,smoothstep(f*.5,0.,a)*p):mix(e.xyz,S,smoothstep(f*.5,0.,a)*p);}e.xyz+=pow(1.-l,4.)*z,x+=e*(1.+(g>0?-H:H))/2.;}n=pow(dot(normalize(vec3(-b,sqrt(1.-c))),vec3(0.,0.,1.)),4.)*smoothstep(0.,1.,.2/(c-.64));}else{float Q=sqrt(.2/(c-.64));n=smoothstep(.5,1.,Q/(Q+1.));}gl_FragColor=x+vec4(n*z,n);}",uniforms:{t:{type:"vec2",value:[i.width,i.height]},A:l("float",T1),B:l("float",E1),m:l("float",j1),E:l("float",A1),I:l("float",L1),R:l("vec3",w1),S:l("vec3",C1),F:l("float",R1),z:l("vec3",M1),G:l("float",D1),v:{type:"vec4",value:uv(i[Bs])},D:{type:"float",value:i[Bs].length},y:l("vec2",N1,[0,0]),C:l("float",z1,1),H:l("float",O1,1)},mode:4,geometry:{vertices:[{x:-100,y:100,z:0},{x:-100,y:-100,z:0},{x:100,y:100,z:0},{x:100,y:-100,z:0},{x:-100,y:-100,z:0},{x:100,y:100,z:0}]},onRender:({uniforms:f})=>{let h={};if(i.onRender){h=i.onRender(h)||h;for(let m in lv)h[m]!==void 0&&(f[lv[m]].value=h[m]);h[Bs]!==void 0&&(f.v.value=uv(h[Bs]),f.D.value=h[Bs].length),h.width&&h.height&&(f.t.value=[h.width,h.height])}}}),u};const zn={width:800,height:800,phi:0,theta:.3,dark:1,diffuse:1.2,mapSamples:16e3,mapBrightness:6,baseColor:[.3,.3,.3],markerColor:[217/255,74/255,56/255],glowColor:[1,1,1],markers:[{location:[14.5995,120.9842],size:.03},{location:[19.076,72.8777],size:.1},{location:[23.8103,90.4125],size:.05},{location:[30.0444,31.2357],size:.07},{location:[39.9042,116.4074],size:.08},{location:[-23.5505,-46.6333],size:.1},{location:[19.4326,-99.1332],size:.1},{location:[40.7128,-74.006],size:.1},{location:[34.6937,135.5022],size:.05},{location:[41.0082,28.9784],size:.06}]},FC=.12,Ic=Math.PI*.42,JC=Math.PI*2.5,WC=180,$C=14;function IC({scrollDriven:n=!1}={}){var g;if(typeof window>"u")return{dpr:1,mapSamples:8e3,animate:!0,antialias:!0,markers:zn.markers};const i=window.devicePixelRatio||1,l=navigator.hardwareConcurrency||4,r=navigator.deviceMemory,u=!!((g=navigator.connection)!=null&&g.saveData),f=window.matchMedia("(prefers-reduced-motion: reduce)").matches,h=window.matchMedia("(max-width: 768px)").matches,m=u||l<=4||typeof r=="number"&&r<=4;return n?f?{dpr:1,mapSamples:2800,animate:!1,antialias:!1,markers:zn.markers.slice(0,3)}:m||h?{dpr:1,mapSamples:3500,animate:!0,antialias:!1,markers:zn.markers.slice(0,4)}:{dpr:Math.min(i,1.25),mapSamples:7e3,animate:!0,antialias:!1,markers:zn.markers.slice(0,6)}:f?{dpr:Math.min(i,1),mapSamples:4e3,animate:!1,antialias:!1,markers:zn.markers.slice(0,4)}:m?{dpr:1,mapSamples:5e3,animate:!0,antialias:!1,markers:zn.markers.slice(0,5)}:h?{dpr:Math.min(i,1),mapSamples:8e3,animate:!0,antialias:!1,markers:zn.markers.slice(0,6)}:{dpr:Math.min(i,1.5),mapSamples:12e3,animate:!0,antialias:!0,markers:zn.markers}}function e3({className:n="",config:i=zn,interactive:l=!0,scrollDriven:r=!1,active:u=!0}){const f=E.useRef(null),h=E.useRef(null),m=E.useRef(0),g=E.useRef(Ic),p=E.useRef(Ic),v=E.useRef(0),x=E.useRef(0),S=E.useRef(u),j=E.useRef(null),T=E.useRef(()=>{}),C=E.useRef(()=>{});E.useEffect(()=>{var z,_;if(S.current=u,!u){(z=C.current)==null||z.call(C);return}(_=T.current)==null||_.call(T)},[u]),E.useEffect(()=>{const z=f.current;if(!z)return;let _=null,G=!1,X=null,F=null,K=!0,P=0,$=8e3,W=0,le=0,ce=0,we=!1;const Se=IC({scrollDriven:r}),de=ie=>{var he;!_||G||(he=_.toggle)==null||he.call(_,ie)},k=()=>{const ie=document.documentElement.scrollHeight-window.innerHeight,he=ie>0?Math.min(Math.max(window.scrollY/ie,0),1):0;return Ic+he*JC},Z=()=>{r&&(p.current=k())},J=()=>{!r||G||!S.current||(we=!0,de(!0),window.clearTimeout(ce),ce=window.setTimeout(()=>{we=!1},WC))},re=()=>{!r||G||!S.current||le||(le=requestAnimationFrame(()=>{le=0,Z(),J()}))},pe=()=>Math.max(2,Math.round(v.current*Se.dpr)),w=()=>{var $e;if(G||_||!S.current)return;const ie=Math.round(z.offsetWidth||(($e=z.parentElement)==null?void 0:$e.offsetWidth)||0);if(ie<2)return;v.current=ie,$=Se.mapSamples,W=0;const he=pe();P=performance.now(),Z(),g.current=p.current,_=ZC(z,{...i,devicePixelRatio:Se.dpr,width:he,height:he,mapSamples:$,markers:Se.markers,context:{alpha:!0,stencil:!1,antialias:Se.antialias,depth:!1,powerPreference:"high-performance"},onRender:_e=>{const Ln=performance.now(),_n=Math.min(.064,(Ln-P)/1e3);if(P=Ln,!r&&_n>.033&&$>3500?(W+=1,W>45&&($=Math.max(3500,$-1500),W=0)):r||(W=Math.max(0,W-1)),r){const Ga=p.current,fn=1-Math.exp(-_n*$C);g.current+=(Ga-g.current)*fn,!we&&Math.abs(Ga-g.current)<4e-4&&(g.current=Ga,queueMicrotask(()=>{!G&&!we&&de(!1)}))}else Se.animate&&!h.current&&(g.current+=FC*_n);_e.phi=g.current+x.current,_e.mapSamples=$;
138const ka=pe();_e.width=ka,_e.height=ka}}),j.current=_,z.style.opacity="1",r?J():de(!0)},B=()=>{window.clearTimeout(ce),le&&(cancelAnimationFrame(le),le=0),_&&(_.destroy(),_=null,j.current=null,z.style.opacity="0")};C.current=()=>{we=!1,window.clearTimeout(ce),de(!1)},T.current=()=>{if(!(G||!S.current)){if(K=!0,!_){w();return}Z(),r?J():de(!0)}};const Q=()=>K&&!document.hidden&&S.current,I=()=>{Q()?_?r||de(!0):w():_&&(de(!1),document.hidden&&B()),P=performance.now()},oe=()=>{var he;const ie=Math.round(z.offsetWidth||((he=z.parentElement)==null?void 0:he.offsetWidth)||0);ie>0&&(v.current=ie),!_&&ie>0&&Q()?w():_&&r&&S.current&&(Z(),J())};return F=new IntersectionObserver(([ie])=>{K=ie.isIntersecting&&ie.intersectionRatio>.02,I()},{threshold:[0,.02,.1]}),F.observe(z.parentElement||z),z.offsetWidth>0?I():(X=new ResizeObserver(()=>{z.offsetWidth>0&&(X==null||X.disconnect(),X=null,I())}),X.observe(z.parentElement||z)),window.addEventListener("resize",oe),document.addEventListener("visibilitychange",I),r&&(window.addEventListener("scroll",re,{passive:!0}),Z()),()=>{G=!0,T.current=()=>{},C.current=()=>{},window.removeEventListener("resize",oe),document.removeEventListener("visibilitychange",I),r&&window.removeEventListener("scroll",re),window.clearTimeout(ce),le&&cancelAnimationFrame(le),X==null||X.disconnect(),F==null||F.disconnect(),B()}},[i,r]);const M=z=>{l&&(h.current=z,f.current&&(f.current.style.cursor=z?"grabbing":"grab"))},D=z=>{if(l&&h.current!==null){const _=z-h.current;m.current=_,x.current=_/200}};return d.jsx("div",{className:`globe-root ${n}`.trim(),children:d.jsx("canvas",{className:"globe-canvas",ref:f,onPointerDown:l?z=>M(z.clientX-m.current):void 0,onPointerUp:l?()=>M(null):void 0,onPointerOut:l?()=>M(null):void 0,onMouseMove:l?z=>D(z.clientX):void 0,onTouchMove:l?z=>z.touches[0]&&D(z.touches[0].clientX):void 0})})}function cv({fadeBefore:n=null,mode:i="scroll",className:l=""}){const[r,u]=E.useState(!0);return E.useEffect(()=>{if(!n){u(!0);return}let f=0,h=!0;const m=()=>{cancelAnimationFrame(f),f=requestAnimationFrame(()=>{const p=document.querySelector(n),v=!p||p.getBoundingClientRect().top>window.innerHeight*.55;v!==h&&(h=v,u(v))})};m(),window.addEventListener("scroll",m,{passive:!0}),window.addEventListener("resize",m);const g=[200,600,1200].map(p=>window.setTimeout(m,p));return()=>{cancelAnimationFrame(f),window.removeEventListener("scroll",m),window.removeEventListener("resize",m),g.forEach(p=>window.clearTimeout(p))}},[n]),d.jsx("div",{className:`scroll-globe ${l}`.trim(),"aria-hidden":"true","data-active":r?"1":"0",style:{opacity:r?1:0},children:d.jsx("div",{className:"scroll-globe-stage",children:d.jsx(e3,{interactive:!1,scrollDriven:i==="scroll",active:r})})})}const t3={instagram:"https://www.instagram.com/thequizgpt",tiktok:"https://www.tiktok.com/@thequizgpt",youtube:"https://www.youtube.com/@Quiz-GPT"},n3=[{id:"instagram",label:"Instagram",path:"M12 2.163c3.204 0 3.584.012 4.85.07 3.252.148 4.771 1.691 4.919 4.919.058 1.265.069 1.645.069 4.849 0 3.205-.012 3.584-.069 4.849-.149 3.225-1.664 4.771-4.919 4.919-1.266.058-1.644.07-4.85.07-3.204 0-3.584-.012-4.849-.07-3.26-.149-4.771-1.699-4.919-4.92-.058-1.265-.07-1.644-.07-4.849 0-3.204.013-3.583.07-4.849.149-3.227 1.664-4.771 4.919-4.919 1.266-.057 1.645-.069 4.849-.069zm0-2.163c-3.259 0-3.667.014-4.947.072-4.358.2-6.78 2.618-6.98 6.98-.059 1.281-.073 1.689-.073 4.948 0 3.259.014 3.668.072 4.948.2 4.358 2.618 6.78 6.98 6.98 1.281.058 1.689.072 4.948.072 3.259 0 3.668-.014 4.948-.072 4.354-.2 6.782-2.618 6.979-6.98.059-1.28.073-1.689.073-4.948 0-3.259-.014-3.667-.072-4.947-.196-4.354-2.617-6.78-6.979-6.98-1.281-.059-1.69-.073-4.949-.073zm0 5.838c-3.403 0-6.162 2.759-6.162 6.162s2.759 6.163 6.162 6.163 6.162-2.759 6.162-6.163c0-3.403-2.759-6.162-6.162-6.162zm0 10.162c-2.209 0-4-1.79-4-4 0-2.209 1.791-4 4-4s4 1.791 4 4c0 2.21-1.791 4-4 4zm6.406-11.845c-.796 0-1.441.645-1.441 1.44s.645 1.44 1.441 1.44c.795 0 1.439-.645 1.439-1.44s-.644-1.44-1.439-1.44z"},{id:"tiktok",label:"TikTok",path:"M19.59 6.69a4.83 4.83 0 0 1-3.77-4.25V2h-3.45v13.67a2.89 2.89 0 0 1-5.2 1.74 2.89 2.89 0 0 1 2.31-4.64 2.93 2.93 0 0 1 .88.13V9.4a6.84 6.84 0 0 0-1-.05A6.33 6.33 0 0 0 5 20.1a6.34 
1386.34 0 0 0 10.86-4.43v-7a8.16 8.16 0 0 0 4.77 1.52v-3.4a4.85 4.85 0 0 1-1-.1z"},{id:"youtube",label:"YouTube",path:"M23.498 6.186a3.016 3.016 0 0 0-2.122-2.136C19.505 3.545 12 3.545 12 3.545s-7.505 0-9.377.505A3.017 3.017 0 0 0 .502 6.186C0 8.07 0 12 0 12s0 3.93.502 5.814a3.016 3.016 0 0 0 2.122 2.136c1.871.505 9.376.505 9.376.505s7.505 0 9.377-.505a3.015 3.015 0 0 0 2.122-2.136C24 15.93 24 12 24 12s0-3.93-.502-5.814zM9.545 15.568V8.432L15.818 12l-6.273 3.568z"}];function a3(){const{pathname:n,hash:i}=bt();return E.useEffect(()=>{if(i){requestAnimationFrame(()=>{var l;(l=document.getElementById(i.slice(1)))==null||l.scrollIntoView()});return}window.scrollTo({top:0,left:0,behavior:"instant"})},[n,i]),null}function i3({links:n=t3}){return d.jsx("div",{className:"site-footer-social","aria-label":"Social media",children:n3.map(i=>{const l=n[i.id]||"",r=!!l,u=d.jsx("svg",{viewBox:"0 0 24 24",fill:"currentColor",width:"18",height:"18","aria-hidden":"true",children:d.jsx("path",{d:i.path})});return r?d.jsx("a",{href:l,target:"_blank",rel:"noopener noreferrer",className:"site-footer-social-link","aria-label":i.label,children:u},i.id):d.jsx("span",{className:"site-footer-social-link is-soon","aria-label":`${i.label} — coming soon`,title:`${i.label} — coming soon`,children:u},i.id)})})}function s3({variant:n="default"}){const i=new Date().getFullYear(),l=n==="hub";return d.jsx("footer",{className:`site-footer${l?" site-footer--hub":""}`,children:d.jsxs("div",{className:"site-footer-inner",children:[d.jsxs("div",{className:"site-footer-top",children:[d.jsxs("div",{className:"site-footer-brand-block",children:[l?d.jsxs(d.Fragment,{children:[d.jsxs("div",{className:"site-footer-brands","aria-label":"QuizGPT and GeoGPT",children:[d.jsxs("a",{href:"https://quizgpt.site",className:"site-footer-brand",target:"_blank",rel:"noopener noreferrer",children:[d.jsx("img",{src:"/quizgpt-logo.png",alt:"",width:"28",height:"28"}),d.jsx("span",{children:"QuizGPT"})]}),d.jsx("i",{className:"site-footer-brands-sep","aria-hidden":"true"}),d.jsxs(Te,{to:"/",className:"site-footer-brand",children:[d.jsx("img",{src:"/logo.png",alt:"",width:"28",height:"28"}),d.jsx("span",{children:"GeoGPT"})]})]}),d.jsx("p",{className:"site-footer-tagline",children:"Independent tools for competitive players."})]}):d.jsxs(d.Fragment,{children:[d.jsxs(Te,{to:"/",className:"site-footer-brand",children:[d.jsx("img",{src:"/logo.png",alt:"",width:"28",height:"28"}),d.jsx("span",{children:"GeoGPT"})]}),d.jsx("p",{className:"site-footer-tagline",children:"Exact coords for GeoGuessr & OpenGuessr."})]}),d.jsx(i3,{})]}),d.jsxs("div",{className:"site-footer-cols",children:[d.jsxs("div",{className:"site-footer-col",children:[d.jsx("p",{className:"site-footer-col-title",children:l?"Products":"Product"}),d.jsx("nav",{"aria-label":l?"Products":"Product",children:l?d.jsxs(d.Fragment,{children:[d.jsx("a",{href:"https://quizgpt.site",target:"_blank",rel:"noopener noreferrer",children:"QuizGPT"}),d.jsx(Te,{to:"/",children:"GeoGPT"}),d.jsx(Te,{to:"/contact",children:"Contact"})]}):d.jsxs(d.Fragment,{children:[d.jsx("a",{href:"/#features",children:"Features"}),d.jsx("a",{href:"/#guide",children:"Guide"}),d.jsx(Te,{to:"/pricing",children:"Pricing"}),d.jsx(Te,{to:"/referrals",children:"Referrals"}),d.jsx(Te,{to:"/contact",children:"Contact"})]})})]}),l?d.jsxs("div",{className:"site-footer-col",children:[d.jsx("p",{className:"site-footer-col-title",children:"QuizGPT Legal"}),d.jsxs("nav",{"aria-label":"QuizGPT Legal",children:[d.jsx("a",{href:"https://quizgpt.site/privacy.html",target:"_blank",rel:"noopener noreferrer",children:"Privacy"}),d.jsx("a",{href:"https://quizgpt.site/contact.html",target:"_blank",rel:"noopener noreferrer",children:"Contact"})]})]}):d.jsxs("div",{className:"site-footer-col",children:[d.jsx("p",{className:"site-footer-col-title",children:"Account"}),d.jsxs("nav",{"aria-label":"Account",children:[d.jsx(Te,{to:"/login",children:"Log in"}),d.jsx(Te,{to:"/account",children:"Account"})]})]}),d.jsxs("div",{className:"site-footer-col",children:[d.jsx("p",{className:"site-footer-col-title",children:l?"GeoGPT Legal":"Legal"}),d.jsxs("nav",{"aria-label":l?"GeoGPT Legal":"Legal",children:[d.jsx(Te,{to:"/privacy",children:"Privacy"}),d.jsx(Te,{to:"/terms",children:"Terms"}),d.jsx(Te,{to:"/impressum",children:"Legal notice"})]})]})]})]}),d.jsxs("div",{className:"site-footer-bottom",children:[d.jsxs("p",{className:"site-footer-copy",children:["© ",i," ",l?"Daverion Digital KLG":"GeoGPT"]}),d.jsx("p",{className:"site-footer-attribution",children:l?d.jsxs(d.Fragment,{children:["Tools by ",d.jsx("span",{children:"Daverion Digital KLG"})]}):d.jsxs(d.Fragment,{children:["A service by"," ",d.jsx("a",{href:"https://daverion.digital",target:"_blank",rel:"noopener noreferrer",children:"Daverion Digital KLG"})]})})]}),l?d.jsx("p",{className:"site-footer-disclaimer",children:"Not affiliated with, sponsored by, or endorsed by third-party platforms."}):null]})})}function l3(){const n=bt(),{pathname:i}=n,l=i==="/",r=i==="/login"||i==="/auth/complete",u=i==="/links"||i==="/link",f=i==="/privacy"||i==="/terms"||i==="/impressum";return d.jsxs("div",{className:`app${r?" app--auth":""}${f?" app--legal":""}${u?" app--links":""}`,children:[f||r||u?null:l?d.jsx(cv,{mode:"scroll",fadeBefore:"#ready"}):d.jsx(cv,{mode:"spin"}),d.jsx(a3,{}),r||u?null:d.jsx(QC,{}),d.jsx("div",{className:"main",children:d.jsx(vC,{children:d.jsxs(m2,{location:n,children:[d.jsx(ut,{path:"/",element:d.jsx(SC,{})}),d.jsx(ut,{path:"/links",element:d.jsx(tv,{})}),d.jsx(ut,{path:"/link",element:d.jsx(tv,{})}),d.jsx(ut,{path:"/pricing",element:d.jsx(CC,{})}),d.jsx(ut,{path:"/contact",element:d.jsx(_C,{})}),d.jsx(ut,{path:"/impressum",element:d.jsx(UC,{})}),d.jsx(ut,{path:"/terms",element:d.jsx(BC,{})}),d.jsx(ut,{path:"/privacy",element:d.jsx(VC,{})}),d.jsx(ut,{path:"/welcome",element:d.jsx(kC,{})}),d.jsx(ut,{path:"/goodbye",element:d.jsx(HC,{})}),d.jsx(ut,{path:"/login",element:d.jsx(zC,{})}),d.jsx(ut,{path:"/auth/complete",element:d.jsx(LC,{})}),d.jsx(ut,{path:"/account",element:d.jsx(OC,{})}),d.jsx(ut,{path:"/referrals",element:d.jsx(PC,{})}),d.jsx(ut,{path:"/r/:code",element:d.jsx(MC,{})})]})})}
138),r?null:d.jsx(s3,{variant:u?"hub":"default"})]})}hS.createRoot(document.getElementById("root")).render(d.jsx(E.StrictMode,{children:d.jsx(k2,{children:d.jsx(l3,{})})}));

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.