.elementor-10928 .elementor-element.elementor-element-2f33d05d{--display:flex;}.elementor-widget-text-editor{font-family:var( --e-global-typography-text-font-family ), Sans-serif;font-weight:var( --e-global-typography-text-font-weight );color:var( --e-global-color-text );}.elementor-widget-text-editor.elementor-drop-cap-view-stacked .elementor-drop-cap{background-color:var( --e-global-color-primary );}.elementor-widget-text-editor.elementor-drop-cap-view-framed .elementor-drop-cap, .elementor-widget-text-editor.elementor-drop-cap-view-default .elementor-drop-cap{color:var( --e-global-color-primary );border-color:var( --e-global-color-primary );}/* Start custom CSS */<!doctype html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>My Google AI Studio App</title>
    <script type="module" crossorigin>(function(){const l=document.createElement("link").relList;if(l&&l.supports&&l.supports("modulepreload"))return;for(const c of document.querySelectorAll('link[rel="modulepreload"]'))u(c);new MutationObserver(c=>{for(const d of c)if(d.type==="childList")for(const h of d.addedNodes)h.tagName==="LINK"&&h.rel==="modulepreload"&&u(h)}).observe(document,{childList:!0,subtree:!0});function o(c){const d={};return c.integrity&&(d.integrity=c.integrity),c.referrerPolicy&&(d.referrerPolicy=c.referrerPolicy),c.crossOrigin==="use-credentials"?d.credentials="include":c.crossOrigin==="anonymous"?d.credentials="omit":d.credentials="same-origin",d}function u(c){if(c.ep)return;c.ep=!0;const d=o(c);fetch(c.href,d)}})();var Br={exports:{}},rl={};/**
 * @license React
 * react-jsx-runtime.production.js
 *
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var op;function tx(){if(op)return rl;op=1;var a=Symbol.for("react.transitional.element"),l=Symbol.for("react.fragment");function o(u,c,d){var h=null;if(d!==void 0&&(h=""+d),c.key!==void 0&&(h=""+c.key),"key"in c){d={};for(var m in c)m!=="key"&&(d[m]=c[m])}else d=c;return c=d.ref,{$$typeof:a,type:u,key:h,ref:c!==void 0?c:null,props:d}}return rl.Fragment=l,rl.jsx=o,rl.jsxs=o,rl}var rp;function ex(){return rp||(rp=1,Br.exports=tx()),Br.exports}var b=ex(),Ur={exports:{}},lt={};/**
 * @license React
 * react.production.js
 *
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var cp;function nx(){if(cp)return lt;cp=1;var a=Symbol.for("react.transitional.element"),l=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),u=Symbol.for("react.strict_mode"),c=Symbol.for("react.profiler"),d=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"),T=Symbol.iterator;function D(E){return E===null||typeof E!="object"?null:(E=T&&E[T]||E["@@iterator"],typeof E=="function"?E:null)}var j={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},H=Object.assign,O={};function q(E,L,K){this.props=E,this.context=L,this.refs=O,this.updater=K||j}q.prototype.isReactComponent={},q.prototype.setState=function(E,L){if(typeof E!="object"&&typeof E!="function"&&E!=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,E,L,"setState")},q.prototype.forceUpdate=function(E){this.updater.enqueueForceUpdate(this,E,"forceUpdate")};function G(){}G.prototype=q.prototype;function Y(E,L,K){this.props=E,this.context=L,this.refs=O,this.updater=K||j}var _=Y.prototype=new G;_.constructor=Y,H(_,q.prototype),_.isPureReactComponent=!0;var Z=Array.isArray;function it(){}var k={H:null,A:null,T:null,S:null},F=Object.prototype.hasOwnProperty;function at(E,L,K){var $=K.ref;return{$$typeof:a,type:E,key:L,ref:$!==void 0?$:null,props:K}}function tt(E,L){return at(E.type,L,E.props)}function pt(E){return typeof E=="object"&&E!==null&&E.$$typeof===a}function vt(E){var L={"=":"=0",":":"=2"};return"$"+E.replace(/[=:]/g,function(K){return L[K]})}var $t=/\/+/g;function Yt(E,L){return typeof E=="object"&&E!==null&&E.key!=null?vt(""+E.key):L.toString(36)}function Ut(E){switch(E.status){case"fulfilled":return E.value;case"rejected":throw E.reason;default:switch(typeof E.status=="string"?E.then(it,it):(E.status="pending",E.then(function(L){E.status==="pending"&&(E.status="fulfilled",E.value=L)},function(L){E.status==="pending"&&(E.status="rejected",E.reason=L)})),E.status){case"fulfilled":return E.value;case"rejected":throw E.reason}}throw E}function R(E,L,K,$,st){var ct=typeof E;(ct==="undefined"||ct==="boolean")&&(E=null);var Tt=!1;if(E===null)Tt=!0;else switch(ct){case"bigint":case"string":case"number":Tt=!0;break;case"object":switch(E.$$typeof){case a:case l:Tt=!0;break;case v:return Tt=E._init,R(Tt(E._payload),L,K,$,st)}}if(Tt)return st=st(E),Tt=$===""?"."+Yt(E,0):$,Z(st)?(K="",Tt!=null&&(K=Tt.replace($t,"$&/")+"/"),R(st,L,K,"",function(yi){return yi})):st!=null&&(pt(st)&&(st=tt(st,K+(st.key==null||E&&E.key===st.key?"":(""+st.key).replace($t,"$&/")+"/")+Tt)),L.push(st)),1;Tt=0;var ue=$===""?".":$+":";if(Z(E))for(var Lt=0;Lt<E.length;Lt++)$=E[Lt],ct=ue+Yt($,Lt),Tt+=R($,L,K,ct,st);else if(Lt=D(E),typeof Lt=="function")for(E=Lt.call(E),Lt=0;!($=E.next()).done;)$=$.value,ct=ue+Yt($,Lt++),Tt+=R($,L,K,ct,st);else if(ct==="object"){if(typeof E.then=="function")return R(Ut(E),L,K,$,st);throw L=String(E),Error("Objects are not valid as a React child (found: "+(L==="[object Object]"?"object with keys {"+Object.keys(E).join(", ")+"}":L)+"). If you meant to render a collection of children, use an array instead.")}return Tt}function Q(E,L,K){if(E==null)return E;var $=[],st=0;return R(E,$,"","",function(ct){return L.call(K,ct,st++)}),$}function J(E){if(E._status===-1){var L=E._result;L=L(),L.then(function(K){(E._status===0||E._status===-1)&&(E._status=1,E._result=K)},function(K){(E._status===0||E._status===-1)&&(E._status=2,E._result=K)}),E._status===-1&&(E._status=0,E._result=L)}if(E._status===1)return E._result.default;throw E._result}var ot=typeof reportError=="function"?reportError:function(E){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var L=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(L))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",E);return}console.error(E)},yt={map:Q,forEach:function(E,L,K){Q(E,function(){L.apply(this,arguments)},K)},count:function(E){var L=0;return Q(E,function(){L++}),L},toArray:function(E){return Q(E,function(L){return L})||[]},only:function(E){if(!pt(E))throw Error("React.Children.only expected to receive a single React element child.");return E}};return lt.Activity=x,lt.Children=yt,lt.Component=q,lt.Fragment=o,lt.Profiler=c,lt.PureComponent=Y,lt.StrictMode=u,lt.Suspense=g,lt.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=k,lt.__COMPILER_RUNTIME={__proto__:null,c:function(E){return k.H.useMemoCache(E)}},lt.cache=function(E){return function(){return E.apply(null,arguments)}},lt.cacheSignal=function(){return null},lt.cloneElement=function(E,L,K){if(E==null)throw Error("The argument must be a React element, but you passed "+E+".");var $=H({},E.props),st=E.key;if(L!=null)for(ct in L.key!==void 0&&(st=""+L.key),L)!F.call(L,ct)||ct==="key"||ct==="__self"||ct==="__source"||ct==="ref"&&L.ref===void 0||($[ct]=L[ct]);var ct=arguments.length-2;if(ct===1)$.children=K;else if(1<ct){for(var Tt=Array(ct),ue=0;ue<ct;ue++)Tt[ue]=arguments[ue+2];$.children=Tt}return at(E.type,st,$)},lt.createContext=function(E){return E={$$typeof:h,_currentValue:E,_currentValue2:E,_threadCount:0,Provider:null,Consumer:null},E.Provider=E,E.Consumer={$$typeof:d,_context:E},E},lt.createElement=function(E,L,K){var $,st={},ct=null;if(L!=null)for($ in L.key!==void 0&&(ct=""+L.key),L)F.call(L,$)&&$!=="key"&&$!=="__self"&&$!=="__source"&&(st[$]=L[$]);var Tt=arguments.length-2;if(Tt===1)st.children=K;else if(1<Tt){for(var ue=Array(Tt),Lt=0;Lt<Tt;Lt++)ue[Lt]=arguments[Lt+2];st.children=ue}if(E&&E.defaultProps)for($ in Tt=E.defaultProps,Tt)st[$]===void 0&&(st[$]=Tt[$]);return at(E,ct,st)},lt.createRef=function(){return{current:null}},lt.forwardRef=function(E){return{$$typeof:m,render:E}},lt.isValidElement=pt,lt.lazy=function(E){return{$$typeof:v,_payload:{_status:-1,_result:E},_init:J}},lt.memo=function(E,L){return{$$typeof:p,type:E,compare:L===void 0?null:L}},lt.startTransition=function(E){var L=k.T,K={};k.T=K;try{var $=E(),st=k.S;st!==null&&st(K,$),typeof $=="object"&&$!==null&&typeof $.then=="function"&&$.then(it,ot)}catch(ct){ot(ct)}finally{L!==null&&K.types!==null&&(L.types=K.types),k.T=L}},lt.unstable_useCacheRefresh=function(){return k.H.useCacheRefresh()},lt.use=function(E){return k.H.use(E)},lt.useActionState=function(E,L,K){return k.H.useActionState(E,L,K)},lt.useCallback=function(E,L){return k.H.useCallback(E,L)},lt.useContext=function(E){return k.H.useContext(E)},lt.useDebugValue=function(){},lt.useDeferredValue=function(E,L){return k.H.useDeferredValue(E,L)},lt.useEffect=function(E,L){return k.H.useEffect(E,L)},lt.useEffectEvent=function(E){return k.H.useEffectEvent(E)},lt.useId=function(){return k.H.useId()},lt.useImperativeHandle=function(E,L,K){return k.H.useImperativeHandle(E,L,K)},lt.useInsertionEffect=function(E,L){return k.H.useInsertionEffect(E,L)},lt.useLayoutEffect=function(E,L){return k.H.useLayoutEffect(E,L)},lt.useMemo=function(E,L){return k.H.useMemo(E,L)},lt.useOptimistic=function(E,L){return k.H.useOptimistic(E,L)},lt.useReducer=function(E,L,K){return k.H.useReducer(E,L,K)},lt.useRef=function(E){return k.H.useRef(E)},lt.useState=function(E){return k.H.useState(E)},lt.useSyncExternalStore=function(E,L,K){return k.H.useSyncExternalStore(E,L,K)},lt.useTransition=function(){return k.H.useTransition()},lt.version="19.2.6",lt}var fp;function jc(){return fp||(fp=1,Ur.exports=nx()),Ur.exports}var X=jc(),Lr={exports:{}},cl={},Hr={exports:{}},qr={};/**
 * @license React
 * scheduler.production.js
 *
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var hp;function ax(){return hp||(hp=1,(function(a){function l(R,Q){var J=R.length;R.push(Q);t:for(;0<J;){var ot=J-1>>>1,yt=R[ot];if(0<c(yt,Q))R[ot]=Q,R[J]=yt,J=ot;else break t}}function o(R){return R.length===0?null:R[0]}function u(R){if(R.length===0)return null;var Q=R[0],J=R.pop();if(J!==Q){R[0]=J;t:for(var ot=0,yt=R.length,E=yt>>>1;ot<E;){var L=2*(ot+1)-1,K=R[L],$=L+1,st=R[$];if(0>c(K,J))$<yt&&0>c(st,K)?(R[ot]=st,R[$]=J,ot=$):(R[ot]=K,R[L]=J,ot=L);else if($<yt&&0>c(st,J))R[ot]=st,R[$]=J,ot=$;else break t}}return Q}function c(R,Q){var J=R.sortIndex-Q.sortIndex;return J!==0?J:R.id-Q.id}if(a.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var d=performance;a.unstable_now=function(){return d.now()}}else{var h=Date,m=h.now();a.unstable_now=function(){return h.now()-m}}var g=[],p=[],v=1,x=null,T=3,D=!1,j=!1,H=!1,O=!1,q=typeof setTimeout=="function"?setTimeout:null,G=typeof clearTimeout=="function"?clearTimeout:null,Y=typeof setImmediate<"u"?setImmediate:null;function _(R){for(var Q=o(p);Q!==null;){if(Q.callback===null)u(p);else if(Q.startTime<=R)u(p),Q.sortIndex=Q.expirationTime,l(g,Q);else break;Q=o(p)}}function Z(R){if(H=!1,_(R),!j)if(o(g)!==null)j=!0,it||(it=!0,vt());else{var Q=o(p);Q!==null&&Ut(Z,Q.startTime-R)}}var it=!1,k=-1,F=5,at=-1;function tt(){return O?!0:!(a.unstable_now()-at<F)}function pt(){if(O=!1,it){var R=a.unstable_now();at=R;var Q=!0;try{t:{j=!1,H&&(H=!1,G(k),k=-1),D=!0;var J=T;try{e:{for(_(R),x=o(g);x!==null&&!(x.expirationTime>R&&tt());){var ot=x.callback;if(typeof ot=="function"){x.callback=null,T=x.priorityLevel;var yt=ot(x.expirationTime<=R);if(R=a.unstable_now(),typeof yt=="function"){x.callback=yt,_(R),Q=!0;break e}x===o(g)&&u(g),_(R)}else u(g);x=o(g)}if(x!==null)Q=!0;else{var E=o(p);E!==null&&Ut(Z,E.startTime-R),Q=!1}}break t}finally{x=null,T=J,D=!1}Q=void 0}}finally{Q?vt():it=!1}}}var vt;if(typeof Y=="function")vt=function(){Y(pt)};else if(typeof MessageChannel<"u"){var $t=new MessageChannel,Yt=$t.port2;$t.port1.onmessage=pt,vt=function(){Yt.postMessage(null)}}else vt=function(){q(pt,0)};function Ut(R,Q){k=q(function(){R(a.unstable_now())},Q)}a.unstable_IdlePriority=5,a.unstable_ImmediatePriority=1,a.unstable_LowPriority=4,a.unstable_NormalPriority=3,a.unstable_Profiling=null,a.unstable_UserBlockingPriority=2,a.unstable_cancelCallback=function(R){R.callback=null},a.unstable_forceFrameRate=function(R){0>R||125<R?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):F=0<R?Math.floor(1e3/R):5},a.unstable_getCurrentPriorityLevel=function(){return T},a.unstable_next=function(R){switch(T){case 1:case 2:case 3:var Q=3;break;default:Q=T}var J=T;T=Q;try{return R()}finally{T=J}},a.unstable_requestPaint=function(){O=!0},a.unstable_runWithPriority=function(R,Q){switch(R){case 1:case 2:case 3:case 4:case 5:break;default:R=3}var J=T;T=R;try{return Q()}finally{T=J}},a.unstable_scheduleCallback=function(R,Q,J){var ot=a.unstable_now();switch(typeof J=="object"&&J!==null?(J=J.delay,J=typeof J=="number"&&0<J?ot+J:ot):J=ot,R){case 1:var yt=-1;break;case 2:yt=250;break;case 5:yt=1073741823;break;case 4:yt=1e4;break;default:yt=5e3}return yt=J+yt,R={id:v++,callback:Q,priorityLevel:R,startTime:J,expirationTime:yt,sortIndex:-1},J>ot?(R.sortIndex=J,l(p,R),o(g)===null&&R===o(p)&&(H?(G(k),k=-1):H=!0,Ut(Z,J-ot))):(R.sortIndex=yt,l(g,R),j||D||(j=!0,it||(it=!0,vt()))),R},a.unstable_shouldYield=tt,a.unstable_wrapCallback=function(R){var Q=T;return function(){var J=T;T=Q;try{return R.apply(this,arguments)}finally{T=J}}}})(qr)),qr}var dp;function ix(){return dp||(dp=1,Hr.exports=ax()),Hr.exports}var Yr={exports:{}},se={};/**
 * @license React
 * react-dom.production.js
 *
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var mp;function lx(){if(mp)return se;mp=1;var a=jc();function l(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 o(){}var u={d:{f:o,r:function(){throw Error(l(522))},D:o,C:o,L:o,m:o,X:o,S:o,M:o},p:0,findDOMNode:null},c=Symbol.for("react.portal");function d(g,p,v){var x=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:c,key:x==null?null:""+x,children:g,containerInfo:p,implementation:v}}var h=a.__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 se.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=u,se.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(l(299));return d(g,p,null,v)},se.flushSync=function(g){var p=h.T,v=u.p;try{if(h.T=null,u.p=2,g)return g()}finally{h.T=p,u.p=v,u.d.f()}},se.preconnect=function(g,p){typeof g=="string"&&(p?(p=p.crossOrigin,p=typeof p=="string"?p==="use-credentials"?p:"":void 0):p=null,u.d.C(g,p))},se.prefetchDNS=function(g){typeof g=="string"&&u.d.D(g)},se.preinit=function(g,p){if(typeof g=="string"&&p&&typeof p.as=="string"){var v=p.as,x=m(v,p.crossOrigin),T=typeof p.integrity=="string"?p.integrity:void 0,D=typeof p.fetchPriority=="string"?p.fetchPriority:void 0;v==="style"?u.d.S(g,typeof p.precedence=="string"?p.precedence:void 0,{crossOrigin:x,integrity:T,fetchPriority:D}):v==="script"&&u.d.X(g,{crossOrigin:x,integrity:T,fetchPriority:D,nonce:typeof p.nonce=="string"?p.nonce:void 0})}},se.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);u.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&&u.d.M(g)},se.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);u.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})}},se.preloadModule=function(g,p){if(typeof g=="string")if(p){var v=m(p.as,p.crossOrigin);u.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 u.d.m(g)},se.requestFormReset=function(g){u.d.r(g)},se.unstable_batchedUpdates=function(g,p){return g(p)},se.useFormState=function(g,p,v){return h.H.useFormState(g,p,v)},se.useFormStatus=function(){return h.H.useHostTransitionStatus()},se.version="19.2.6",se}var pp;function sx(){if(pp)return Yr.exports;pp=1;function a(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(a)}catch(l){console.error(l)}}return a(),Yr.exports=lx(),Yr.exports}/**
 * @license React
 * react-dom-client.production.js
 *
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var yp;function ux(){if(yp)return cl;yp=1;var a=ix(),l=jc(),o=sx();function u(t){var e="https://react.dev/errors/"+t;if(1<arguments.length){e+="?args[]="+encodeURIComponent(arguments[1]);for(var n=2;n<arguments.length;n++)e+="&args[]="+encodeURIComponent(arguments[n])}return"Minified React error #"+t+"; visit "+e+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function c(t){return!(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11)}function d(t){var e=t,n=t;if(t.alternate)for(;e.return;)e=e.return;else{t=e;do e=t,(e.flags&4098)!==0&&(n=e.return),t=e.return;while(t)}return e.tag===3?n:null}function h(t){if(t.tag===13){var e=t.memoizedState;if(e===null&&(t=t.alternate,t!==null&&(e=t.memoizedState)),e!==null)return e.dehydrated}return null}function m(t){if(t.tag===31){var e=t.memoizedState;if(e===null&&(t=t.alternate,t!==null&&(e=t.memoizedState)),e!==null)return e.dehydrated}return null}function g(t){if(d(t)!==t)throw Error(u(188))}function p(t){var e=t.alternate;if(!e){if(e=d(t),e===null)throw Error(u(188));return e!==t?null:t}for(var n=t,i=e;;){var s=n.return;if(s===null)break;var r=s.alternate;if(r===null){if(i=s.return,i!==null){n=i;continue}break}if(s.child===r.child){for(r=s.child;r;){if(r===n)return g(s),t;if(r===i)return g(s),e;r=r.sibling}throw Error(u(188))}if(n.return!==i.return)n=s,i=r;else{for(var f=!1,y=s.child;y;){if(y===n){f=!0,n=s,i=r;break}if(y===i){f=!0,i=s,n=r;break}y=y.sibling}if(!f){for(y=r.child;y;){if(y===n){f=!0,n=r,i=s;break}if(y===i){f=!0,i=r,n=s;break}y=y.sibling}if(!f)throw Error(u(189))}}if(n.alternate!==i)throw Error(u(190))}if(n.tag!==3)throw Error(u(188));return n.stateNode.current===n?t:e}function v(t){var e=t.tag;if(e===5||e===26||e===27||e===6)return t;for(t=t.child;t!==null;){if(e=v(t),e!==null)return e;t=t.sibling}return null}var x=Object.assign,T=Symbol.for("react.element"),D=Symbol.for("react.transitional.element"),j=Symbol.for("react.portal"),H=Symbol.for("react.fragment"),O=Symbol.for("react.strict_mode"),q=Symbol.for("react.profiler"),G=Symbol.for("react.consumer"),Y=Symbol.for("react.context"),_=Symbol.for("react.forward_ref"),Z=Symbol.for("react.suspense"),it=Symbol.for("react.suspense_list"),k=Symbol.for("react.memo"),F=Symbol.for("react.lazy"),at=Symbol.for("react.activity"),tt=Symbol.for("react.memo_cache_sentinel"),pt=Symbol.iterator;function vt(t){return t===null||typeof t!="object"?null:(t=pt&&t[pt]||t["@@iterator"],typeof t=="function"?t:null)}var $t=Symbol.for("react.client.reference");function Yt(t){if(t==null)return null;if(typeof t=="function")return t.$$typeof===$t?null:t.displayName||t.name||null;if(typeof t=="string")return t;switch(t){case H:return"Fragment";case q:return"Profiler";case O:return"StrictMode";case Z:return"Suspense";case it:return"SuspenseList";case at:return"Activity"}if(typeof t=="object")switch(t.$$typeof){case j:return"Portal";case Y:return t.displayName||"Context";case G:return(t._context.displayName||"Context")+".Consumer";case _:var e=t.render;return t=t.displayName,t||(t=e.displayName||e.name||"",t=t!==""?"ForwardRef("+t+")":"ForwardRef"),t;case k:return e=t.displayName||null,e!==null?e:Yt(t.type)||"Memo";case F:e=t._payload,t=t._init;try{return Yt(t(e))}catch{}}return null}var Ut=Array.isArray,R=l.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Q=o.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,J={pending:!1,data:null,method:null,action:null},ot=[],yt=-1;function E(t){return{current:t}}function L(t){0>yt||(t.current=ot[yt],ot[yt]=null,yt--)}function K(t,e){yt++,ot[yt]=t.current,t.current=e}var $=E(null),st=E(null),ct=E(null),Tt=E(null);function ue(t,e){switch(K(ct,e),K(st,t),K($,null),e.nodeType){case 9:case 11:t=(t=e.documentElement)&&(t=t.namespaceURI)?Nm(t):0;break;default:if(t=e.tagName,e=e.namespaceURI)e=Nm(e),t=Rm(e,t);else switch(t){case"svg":t=1;break;case"math":t=2;break;default:t=0}}L($),K($,t)}function Lt(){L($),L(st),L(ct)}function yi(t){t.memoizedState!==null&&K(Tt,t);var e=$.current,n=Rm(e,t.type);e!==n&&(K(st,t),K($,n))}function Dl(t){st.current===t&&(L($),L(st)),Tt.current===t&&(L(Tt),ll._currentValue=J)}var gu,uf;function $n(t){if(gu===void 0)try{throw Error()}catch(n){var e=n.stack.trim().match(/\n( *(at )?)/);gu=e&&e[1]||"",uf=-1<n.stack.indexOf(`
    at`)?" (<anonymous>)":-1<n.stack.indexOf("@")?"@unknown:0:0":""}return`
`+gu+t+uf}var vu=!1;function xu(t,e){if(!t||vu)return"";vu=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var i={DetermineComponentFrameRoot:function(){try{if(e){var U=function(){throw Error()};if(Object.defineProperty(U.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(U,[])}catch(N){var z=N}Reflect.construct(t,[],U)}else{try{U.call()}catch(N){z=N}t.call(U.prototype)}}else{try{throw Error()}catch(N){z=N}(U=t())&&typeof U.catch=="function"&&U.catch(function(){})}}catch(N){if(N&&z&&typeof N.stack=="string")return[N.stack,z.stack]}return[null,null]}};i.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var s=Object.getOwnPropertyDescriptor(i.DetermineComponentFrameRoot,"name");s&&s.configurable&&Object.defineProperty(i.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var r=i.DetermineComponentFrameRoot(),f=r[0],y=r[1];if(f&&y){var S=f.split(`
`),w=y.split(`
`);for(s=i=0;i<S.length&&!S[i].includes("DetermineComponentFrameRoot");)i++;for(;s<w.length&&!w[s].includes("DetermineComponentFrameRoot");)s++;if(i===S.length||s===w.length)for(i=S.length-1,s=w.length-1;1<=i&&0<=s&&S[i]!==w[s];)s--;for(;1<=i&&0<=s;i--,s--)if(S[i]!==w[s]){if(i!==1||s!==1)do if(i--,s--,0>s||S[i]!==w[s]){var V=`
`+S[i].replace(" at new "," at ");return t.displayName&&V.includes("<anonymous>")&&(V=V.replace("<anonymous>",t.displayName)),V}while(1<=i&&0<=s);break}}}finally{vu=!1,Error.prepareStackTrace=n}return(n=t?t.displayName||t.name:"")?$n(n):""}function Ng(t,e){switch(t.tag){case 26:case 27:case 5:return $n(t.type);case 16:return $n("Lazy");case 13:return t.child!==e&&e!==null?$n("Suspense Fallback"):$n("Suspense");case 19:return $n("SuspenseList");case 0:case 15:return xu(t.type,!1);case 11:return xu(t.type.render,!1);case 1:return xu(t.type,!0);case 31:return $n("Activity");default:return""}}function of(t){try{var e="",n=null;do e+=Ng(t,n),n=t,t=t.return;while(t);return e}catch(i){return`
Error generating stack: `+i.message+`
`+i.stack}}var bu=Object.prototype.hasOwnProperty,Su=a.unstable_scheduleCallback,Tu=a.unstable_cancelCallback,Rg=a.unstable_shouldYield,Og=a.unstable_requestPaint,ve=a.unstable_now,Vg=a.unstable_getCurrentPriorityLevel,rf=a.unstable_ImmediatePriority,cf=a.unstable_UserBlockingPriority,Cl=a.unstable_NormalPriority,_g=a.unstable_LowPriority,ff=a.unstable_IdlePriority,Bg=a.log,Ug=a.unstable_setDisableYieldValue,gi=null,xe=null;function Sn(t){if(typeof Bg=="function"&&Ug(t),xe&&typeof xe.setStrictMode=="function")try{xe.setStrictMode(gi,t)}catch{}}var be=Math.clz32?Math.clz32:qg,Lg=Math.log,Hg=Math.LN2;function qg(t){return t>>>=0,t===0?32:31-(Lg(t)/Hg|0)|0}var wl=256,zl=262144,jl=4194304;function In(t){var e=t&42;if(e!==0)return e;switch(t&-t){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return t&261888;case 262144:case 524288:case 1048576:case 2097152:return t&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return t&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return t}}function Nl(t,e,n){var i=t.pendingLanes;if(i===0)return 0;var s=0,r=t.suspendedLanes,f=t.pingedLanes;t=t.warmLanes;var y=i&134217727;return y!==0?(i=y&~r,i!==0?s=In(i):(f&=y,f!==0?s=In(f):n||(n=y&~t,n!==0&&(s=In(n))))):(y=i&~r,y!==0?s=In(y):f!==0?s=In(f):n||(n=i&~t,n!==0&&(s=In(n)))),s===0?0:e!==0&&e!==s&&(e&r)===0&&(r=s&-s,n=e&-e,r>=n||r===32&&(n&4194048)!==0)?e:s}function vi(t,e){return(t.pendingLanes&~(t.suspendedLanes&~t.pingedLanes)&e)===0}function Yg(t,e){switch(t){case 1:case 2:case 4:case 8:case 64:return e+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function hf(){var t=jl;return jl<<=1,(jl&62914560)===0&&(jl=4194304),t}function Au(t){for(var e=[],n=0;31>n;n++)e.push(t);return e}function xi(t,e){t.pendingLanes|=e,e!==268435456&&(t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0)}function Gg(t,e,n,i,s,r){var f=t.pendingLanes;t.pendingLanes=n,t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0,t.expiredLanes&=n,t.entangledLanes&=n,t.errorRecoveryDisabledLanes&=n,t.shellSuspendCounter=0;var y=t.entanglements,S=t.expirationTimes,w=t.hiddenUpdates;for(n=f&~n;0<n;){var V=31-be(n),U=1<<V;y[V]=0,S[V]=-1;var z=w[V];if(z!==null)for(w[V]=null,V=0;V<z.length;V++){var N=z[V];N!==null&&(N.lane&=-536870913)}n&=~U}i!==0&&df(t,i,0),r!==0&&s===0&&t.tag!==0&&(t.suspendedLanes|=r&~(f&~e))}function df(t,e,n){t.pendingLanes|=e,t.suspendedLanes&=~e;var i=31-be(e);t.entangledLanes|=e,t.entanglements[i]=t.entanglements[i]|1073741824|n&261930}function mf(t,e){var n=t.entangledLanes|=e;for(t=t.entanglements;n;){var i=31-be(n),s=1<<i;s&e|t[i]&e&&(t[i]|=e),n&=~s}}function pf(t,e){var n=e&-e;return n=(n&42)!==0?1:Eu(n),(n&(t.suspendedLanes|e))!==0?0:n}function Eu(t){switch(t){case 2:t=1;break;case 8:t=4;break;case 32:t=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:t=128;break;case 268435456:t=134217728;break;default:t=0}return t}function Mu(t){return t&=-t,2<t?8<t?(t&134217727)!==0?32:268435456:8:2}function yf(){var t=Q.p;return t!==0?t:(t=window.event,t===void 0?32:ep(t.type))}function gf(t,e){var n=Q.p;try{return Q.p=t,e()}finally{Q.p=n}}var Tn=Math.random().toString(36).slice(2),It="__reactFiber$"+Tn,fe="__reactProps$"+Tn,Aa="__reactContainer$"+Tn,Du="__reactEvents$"+Tn,Xg="__reactListeners$"+Tn,Qg="__reactHandles$"+Tn,vf="__reactResources$"+Tn,bi="__reactMarker$"+Tn;function Cu(t){delete t[It],delete t[fe],delete t[Du],delete t[Xg],delete t[Qg]}function Ea(t){var e=t[It];if(e)return e;for(var n=t.parentNode;n;){if(e=n[Aa]||n[It]){if(n=e.alternate,e.child!==null||n!==null&&n.child!==null)for(t=Hm(t);t!==null;){if(n=t[It])return n;t=Hm(t)}return e}t=n,n=t.parentNode}return null}function Ma(t){if(t=t[It]||t[Aa]){var e=t.tag;if(e===5||e===6||e===13||e===31||e===26||e===27||e===3)return t}return null}function Si(t){var e=t.tag;if(e===5||e===26||e===27||e===6)return t.stateNode;throw Error(u(33))}function Da(t){var e=t[vf];return e||(e=t[vf]={hoistableStyles:new Map,hoistableScripts:new Map}),e}function Wt(t){t[bi]=!0}var xf=new Set,bf={};function ta(t,e){Ca(t,e),Ca(t+"Capture",e)}function Ca(t,e){for(bf[t]=e,t=0;t<e.length;t++)xf.add(e[t])}var Zg=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]*$"),Sf={},Tf={};function Kg(t){return bu.call(Tf,t)?!0:bu.call(Sf,t)?!1:Zg.test(t)?Tf[t]=!0:(Sf[t]=!0,!1)}function Rl(t,e,n){if(Kg(e))if(n===null)t.removeAttribute(e);else{switch(typeof n){case"undefined":case"function":case"symbol":t.removeAttribute(e);return;case"boolean":var i=e.toLowerCase().slice(0,5);if(i!=="data-"&&i!=="aria-"){t.removeAttribute(e);return}}t.setAttribute(e,""+n)}}function Ol(t,e,n){if(n===null)t.removeAttribute(e);else{switch(typeof n){case"undefined":case"function":case"symbol":case"boolean":t.removeAttribute(e);return}t.setAttribute(e,""+n)}}function nn(t,e,n,i){if(i===null)t.removeAttribute(n);else{switch(typeof i){case"undefined":case"function":case"symbol":case"boolean":t.removeAttribute(n);return}t.setAttributeNS(e,n,""+i)}}function ze(t){switch(typeof t){case"bigint":case"boolean":case"number":case"string":case"undefined":return t;case"object":return t;default:return""}}function Af(t){var e=t.type;return(t=t.nodeName)&&t.toLowerCase()==="input"&&(e==="checkbox"||e==="radio")}function kg(t,e,n){var i=Object.getOwnPropertyDescriptor(t.constructor.prototype,e);if(!t.hasOwnProperty(e)&&typeof i<"u"&&typeof i.get=="function"&&typeof i.set=="function"){var s=i.get,r=i.set;return Object.defineProperty(t,e,{configurable:!0,get:function(){return s.call(this)},set:function(f){n=""+f,r.call(this,f)}}),Object.defineProperty(t,e,{enumerable:i.enumerable}),{getValue:function(){return n},setValue:function(f){n=""+f},stopTracking:function(){t._valueTracker=null,delete t[e]}}}}function wu(t){if(!t._valueTracker){var e=Af(t)?"checked":"value";t._valueTracker=kg(t,e,""+t[e])}}function Ef(t){if(!t)return!1;var e=t._valueTracker;if(!e)return!0;var n=e.getValue(),i="";return t&&(i=Af(t)?t.checked?"true":"false":t.value),t=i,t!==n?(e.setValue(t),!0):!1}function Vl(t){if(t=t||(typeof document<"u"?document:void 0),typeof t>"u")return null;try{return t.activeElement||t.body}catch{return t.body}}var Jg=/[\n"\\]/g;function je(t){return t.replace(Jg,function(e){return"\\"+e.charCodeAt(0).toString(16)+" "})}function zu(t,e,n,i,s,r,f,y){t.name="",f!=null&&typeof f!="function"&&typeof f!="symbol"&&typeof f!="boolean"?t.type=f:t.removeAttribute("type"),e!=null?f==="number"?(e===0&&t.value===""||t.value!=e)&&(t.value=""+ze(e)):t.value!==""+ze(e)&&(t.value=""+ze(e)):f!=="submit"&&f!=="reset"||t.removeAttribute("value"),e!=null?ju(t,f,ze(e)):n!=null?ju(t,f,ze(n)):i!=null&&t.removeAttribute("value"),s==null&&r!=null&&(t.defaultChecked=!!r),s!=null&&(t.checked=s&&typeof s!="function"&&typeof s!="symbol"),y!=null&&typeof y!="function"&&typeof y!="symbol"&&typeof y!="boolean"?t.name=""+ze(y):t.removeAttribute("name")}function Mf(t,e,n,i,s,r,f,y){if(r!=null&&typeof r!="function"&&typeof r!="symbol"&&typeof r!="boolean"&&(t.type=r),e!=null||n!=null){if(!(r!=="submit"&&r!=="reset"||e!=null)){wu(t);return}n=n!=null?""+ze(n):"",e=e!=null?""+ze(e):n,y||e===t.value||(t.value=e),t.defaultValue=e}i=i??s,i=typeof i!="function"&&typeof i!="symbol"&&!!i,t.checked=y?t.checked:!!i,t.defaultChecked=!!i,f!=null&&typeof f!="function"&&typeof f!="symbol"&&typeof f!="boolean"&&(t.name=f),wu(t)}function ju(t,e,n){e==="number"&&Vl(t.ownerDocument)===t||t.defaultValue===""+n||(t.defaultValue=""+n)}function wa(t,e,n,i){if(t=t.options,e){e={};for(var s=0;s<n.length;s++)e["$"+n[s]]=!0;for(n=0;n<t.length;n++)s=e.hasOwnProperty("$"+t[n].value),t[n].selected!==s&&(t[n].selected=s),s&&i&&(t[n].defaultSelected=!0)}else{for(n=""+ze(n),e=null,s=0;s<t.length;s++){if(t[s].value===n){t[s].selected=!0,i&&(t[s].defaultSelected=!0);return}e!==null||t[s].disabled||(e=t[s])}e!==null&&(e.selected=!0)}}function Df(t,e,n){if(e!=null&&(e=""+ze(e),e!==t.value&&(t.value=e),n==null)){t.defaultValue!==e&&(t.defaultValue=e);return}t.defaultValue=n!=null?""+ze(n):""}function Cf(t,e,n,i){if(e==null){if(i!=null){if(n!=null)throw Error(u(92));if(Ut(i)){if(1<i.length)throw Error(u(93));i=i[0]}n=i}n==null&&(n=""),e=n}n=ze(e),t.defaultValue=n,i=t.textContent,i===n&&i!==""&&i!==null&&(t.value=i),wu(t)}function za(t,e){if(e){var n=t.firstChild;if(n&&n===t.lastChild&&n.nodeType===3){n.nodeValue=e;return}}t.textContent=e}var Fg=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 wf(t,e,n){var i=e.indexOf("--")===0;n==null||typeof n=="boolean"||n===""?i?t.setProperty(e,""):e==="float"?t.cssFloat="":t[e]="":i?t.setProperty(e,n):typeof n!="number"||n===0||Fg.has(e)?e==="float"?t.cssFloat=n:t[e]=(""+n).trim():t[e]=n+"px"}function zf(t,e,n){if(e!=null&&typeof e!="object")throw Error(u(62));if(t=t.style,n!=null){for(var i in n)!n.hasOwnProperty(i)||e!=null&&e.hasOwnProperty(i)||(i.indexOf("--")===0?t.setProperty(i,""):i==="float"?t.cssFloat="":t[i]="");for(var s in e)i=e[s],e.hasOwnProperty(s)&&n[s]!==i&&wf(t,s,i)}else for(var r in e)e.hasOwnProperty(r)&&wf(t,r,e[r])}function Nu(t){if(t.indexOf("-")===-1)return!1;switch(t){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Wg=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),Pg=/^[\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 _l(t){return Pg.test(""+t)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":t}function an(){}var Ru=null;function Ou(t){return t=t.target||t.srcElement||window,t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===3?t.parentNode:t}var ja=null,Na=null;function jf(t){var e=Ma(t);if(e&&(t=e.stateNode)){var n=t[fe]||null;t:switch(t=e.stateNode,e.type){case"input":if(zu(t,n.value,n.defaultValue,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name),e=n.name,n.type==="radio"&&e!=null){for(n=t;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll('input[name="'+je(""+e)+'"][type="radio"]'),e=0;e<n.length;e++){var i=n[e];if(i!==t&&i.form===t.form){var s=i[fe]||null;if(!s)throw Error(u(90));zu(i,s.value,s.defaultValue,s.defaultValue,s.checked,s.defaultChecked,s.type,s.name)}}for(e=0;e<n.length;e++)i=n[e],i.form===t.form&&Ef(i)}break t;case"textarea":Df(t,n.value,n.defaultValue);break t;case"select":e=n.value,e!=null&&wa(t,!!n.multiple,e,!1)}}}var Vu=!1;function Nf(t,e,n){if(Vu)return t(e,n);Vu=!0;try{var i=t(e);return i}finally{if(Vu=!1,(ja!==null||Na!==null)&&(Ts(),ja&&(e=ja,t=Na,Na=ja=null,jf(e),t)))for(e=0;e<t.length;e++)jf(t[e])}}function Ti(t,e){var n=t.stateNode;if(n===null)return null;var i=n[fe]||null;if(i===null)return null;n=i[e];t:switch(e){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(i=!i.disabled)||(t=t.type,i=!(t==="button"||t==="input"||t==="select"||t==="textarea")),t=!i;break t;default:t=!1}if(t)return null;if(n&&typeof n!="function")throw Error(u(231,e,typeof n));return n}var ln=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),_u=!1;if(ln)try{var Ai={};Object.defineProperty(Ai,"passive",{get:function(){_u=!0}}),window.addEventListener("test",Ai,Ai),window.removeEventListener("test",Ai,Ai)}catch{_u=!1}var An=null,Bu=null,Bl=null;function Rf(){if(Bl)return Bl;var t,e=Bu,n=e.length,i,s="value"in An?An.value:An.textContent,r=s.length;for(t=0;t<n&&e[t]===s[t];t++);var f=n-t;for(i=1;i<=f&&e[n-i]===s[r-i];i++);return Bl=s.slice(t,1<i?1-i:void 0)}function Ul(t){var e=t.keyCode;return"charCode"in t?(t=t.charCode,t===0&&e===13&&(t=13)):t=e,t===10&&(t=13),32<=t||t===13?t:0}function Ll(){return!0}function Of(){return!1}function he(t){function e(n,i,s,r,f){this._reactName=n,this._targetInst=s,this.type=i,this.nativeEvent=r,this.target=f,this.currentTarget=null;for(var y in t)t.hasOwnProperty(y)&&(n=t[y],this[y]=n?n(r):r[y]);return this.isDefaultPrevented=(r.defaultPrevented!=null?r.defaultPrevented:r.returnValue===!1)?Ll:Of,this.isPropagationStopped=Of,this}return x(e.prototype,{preventDefault:function(){this.defaultPrevented=!0;var n=this.nativeEvent;n&&(n.preventDefault?n.preventDefault():typeof n.returnValue!="unknown"&&(n.returnValue=!1),this.isDefaultPrevented=Ll)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=Ll)},persist:function(){},isPersistent:Ll}),e}var ea={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(t){return t.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Hl=he(ea),Ei=x({},ea,{view:0,detail:0}),$g=he(Ei),Uu,Lu,Mi,ql=x({},Ei,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:qu,button:0,buttons:0,relatedTarget:function(t){return t.relatedTarget===void 0?t.fromElement===t.srcElement?t.toElement:t.fromElement:t.relatedTarget},movementX:function(t){return"movementX"in t?t.movementX:(t!==Mi&&(Mi&&t.type==="mousemove"?(Uu=t.screenX-Mi.screenX,Lu=t.screenY-Mi.screenY):Lu=Uu=0,Mi=t),Uu)},movementY:function(t){return"movementY"in t?t.movementY:Lu}}),Vf=he(ql),Ig=x({},ql,{dataTransfer:0}),tv=he(Ig),ev=x({},Ei,{relatedTarget:0}),Hu=he(ev),nv=x({},ea,{animationName:0,elapsedTime:0,pseudoElement:0}),av=he(nv),iv=x({},ea,{clipboardData:function(t){return"clipboardData"in t?t.clipboardData:window.clipboardData}}),lv=he(iv),sv=x({},ea,{data:0}),_f=he(sv),uv={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},ov={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"},rv={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function cv(t){var e=this.nativeEvent;return e.getModifierState?e.getModifierState(t):(t=rv[t])?!!e[t]:!1}function qu(){return cv}var fv=x({},Ei,{key:function(t){if(t.key){var e=uv[t.key]||t.key;if(e!=="Unidentified")return e}return t.type==="keypress"?(t=Ul(t),t===13?"Enter":String.fromCharCode(t)):t.type==="keydown"||t.type==="keyup"?ov[t.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:qu,charCode:function(t){return t.type==="keypress"?Ul(t):0},keyCode:function(t){return t.type==="keydown"||t.type==="keyup"?t.keyCode:0},which:function(t){return t.type==="keypress"?Ul(t):t.type==="keydown"||t.type==="keyup"?t.keyCode:0}}),hv=he(fv),dv=x({},ql,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Bf=he(dv),mv=x({},Ei,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:qu}),pv=he(mv),yv=x({},ea,{propertyName:0,elapsedTime:0,pseudoElement:0}),gv=he(yv),vv=x({},ql,{deltaX:function(t){return"deltaX"in t?t.deltaX:"wheelDeltaX"in t?-t.wheelDeltaX:0},deltaY:function(t){return"deltaY"in t?t.deltaY:"wheelDeltaY"in t?-t.wheelDeltaY:"wheelDelta"in t?-t.wheelDelta:0},deltaZ:0,deltaMode:0}),xv=he(vv),bv=x({},ea,{newState:0,oldState:0}),Sv=he(bv),Tv=[9,13,27,32],Yu=ln&&"CompositionEvent"in window,Di=null;ln&&"documentMode"in document&&(Di=document.documentMode);var Av=ln&&"TextEvent"in window&&!Di,Uf=ln&&(!Yu||Di&&8<Di&&11>=Di),Lf=" ",Hf=!1;function qf(t,e){switch(t){case"keyup":return Tv.indexOf(e.keyCode)!==-1;case"keydown":return e.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Yf(t){return t=t.detail,typeof t=="object"&&"data"in t?t.data:null}var Ra=!1;function Ev(t,e){switch(t){case"compositionend":return Yf(e);case"keypress":return e.which!==32?null:(Hf=!0,Lf);case"textInput":return t=e.data,t===Lf&&Hf?null:t;default:return null}}function Mv(t,e){if(Ra)return t==="compositionend"||!Yu&&qf(t,e)?(t=Rf(),Bl=Bu=An=null,Ra=!1,t):null;switch(t){case"paste":return null;case"keypress":if(!(e.ctrlKey||e.altKey||e.metaKey)||e.ctrlKey&&e.altKey){if(e.char&&1<e.char.length)return e.char;if(e.which)return String.fromCharCode(e.which)}return null;case"compositionend":return Uf&&e.locale!=="ko"?null:e.data;default:return null}}var Dv={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 Gf(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return e==="input"?!!Dv[t.type]:e==="textarea"}function Xf(t,e,n,i){ja?Na?Na.push(i):Na=[i]:ja=i,e=zs(e,"onChange"),0<e.length&&(n=new Hl("onChange","change",null,n,i),t.push({event:n,listeners:e}))}var Ci=null,wi=null;function Cv(t){Mm(t,0)}function Yl(t){var e=Si(t);if(Ef(e))return t}function Qf(t,e){if(t==="change")return e}var Zf=!1;if(ln){var Gu;if(ln){var Xu="oninput"in document;if(!Xu){var Kf=document.createElement("div");Kf.setAttribute("oninput","return;"),Xu=typeof Kf.oninput=="function"}Gu=Xu}else Gu=!1;Zf=Gu&&(!document.documentMode||9<document.documentMode)}function kf(){Ci&&(Ci.detachEvent("onpropertychange",Jf),wi=Ci=null)}function Jf(t){if(t.propertyName==="value"&&Yl(wi)){var e=[];Xf(e,wi,t,Ou(t)),Nf(Cv,e)}}function wv(t,e,n){t==="focusin"?(kf(),Ci=e,wi=n,Ci.attachEvent("onpropertychange",Jf)):t==="focusout"&&kf()}function zv(t){if(t==="selectionchange"||t==="keyup"||t==="keydown")return Yl(wi)}function jv(t,e){if(t==="click")return Yl(e)}function Nv(t,e){if(t==="input"||t==="change")return Yl(e)}function Rv(t,e){return t===e&&(t!==0||1/t===1/e)||t!==t&&e!==e}var Se=typeof Object.is=="function"?Object.is:Rv;function zi(t,e){if(Se(t,e))return!0;if(typeof t!="object"||t===null||typeof e!="object"||e===null)return!1;var n=Object.keys(t),i=Object.keys(e);if(n.length!==i.length)return!1;for(i=0;i<n.length;i++){var s=n[i];if(!bu.call(e,s)||!Se(t[s],e[s]))return!1}return!0}function Ff(t){for(;t&&t.firstChild;)t=t.firstChild;return t}function Wf(t,e){var n=Ff(t);t=0;for(var i;n;){if(n.nodeType===3){if(i=t+n.textContent.length,t<=e&&i>=e)return{node:n,offset:e-t};t=i}t:{for(;n;){if(n.nextSibling){n=n.nextSibling;break t}n=n.parentNode}n=void 0}n=Ff(n)}}function Pf(t,e){return t&&e?t===e?!0:t&&t.nodeType===3?!1:e&&e.nodeType===3?Pf(t,e.parentNode):"contains"in t?t.contains(e):t.compareDocumentPosition?!!(t.compareDocumentPosition(e)&16):!1:!1}function $f(t){t=t!=null&&t.ownerDocument!=null&&t.ownerDocument.defaultView!=null?t.ownerDocument.defaultView:window;for(var e=Vl(t.document);e instanceof t.HTMLIFrameElement;){try{var n=typeof e.contentWindow.location.href=="string"}catch{n=!1}if(n)t=e.contentWindow;else break;e=Vl(t.document)}return e}function Qu(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return e&&(e==="input"&&(t.type==="text"||t.type==="search"||t.type==="tel"||t.type==="url"||t.type==="password")||e==="textarea"||t.contentEditable==="true")}var Ov=ln&&"documentMode"in document&&11>=document.documentMode,Oa=null,Zu=null,ji=null,Ku=!1;function If(t,e,n){var i=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Ku||Oa==null||Oa!==Vl(i)||(i=Oa,"selectionStart"in i&&Qu(i)?i={start:i.selectionStart,end:i.selectionEnd}:(i=(i.ownerDocument&&i.ownerDocument.defaultView||window).getSelection(),i={anchorNode:i.anchorNode,anchorOffset:i.anchorOffset,focusNode:i.focusNode,focusOffset:i.focusOffset}),ji&&zi(ji,i)||(ji=i,i=zs(Zu,"onSelect"),0<i.length&&(e=new Hl("onSelect","select",null,e,n),t.push({event:e,listeners:i}),e.target=Oa)))}function na(t,e){var n={};return n[t.toLowerCase()]=e.toLowerCase(),n["Webkit"+t]="webkit"+e,n["Moz"+t]="moz"+e,n}var Va={animationend:na("Animation","AnimationEnd"),animationiteration:na("Animation","AnimationIteration"),animationstart:na("Animation","AnimationStart"),transitionrun:na("Transition","TransitionRun"),transitionstart:na("Transition","TransitionStart"),transitioncancel:na("Transition","TransitionCancel"),transitionend:na("Transition","TransitionEnd")},ku={},th={};ln&&(th=document.createElement("div").style,"AnimationEvent"in window||(delete Va.animationend.animation,delete Va.animationiteration.animation,delete Va.animationstart.animation),"TransitionEvent"in window||delete Va.transitionend.transition);function aa(t){if(ku[t])return ku[t];if(!Va[t])return t;var e=Va[t],n;for(n in e)if(e.hasOwnProperty(n)&&n in th)return ku[t]=e[n];return t}var eh=aa("animationend"),nh=aa("animationiteration"),ah=aa("animationstart"),Vv=aa("transitionrun"),_v=aa("transitionstart"),Bv=aa("transitioncancel"),ih=aa("transitionend"),lh=new Map,Ju="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(" ");Ju.push("scrollEnd");function Ye(t,e){lh.set(t,e),ta(e,[t])}var Gl=typeof reportError=="function"?reportError:function(t){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var e=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof t=="object"&&t!==null&&typeof t.message=="string"?String(t.message):String(t),error:t});if(!window.dispatchEvent(e))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",t);return}console.error(t)},Ne=[],_a=0,Fu=0;function Xl(){for(var t=_a,e=Fu=_a=0;e<t;){var n=Ne[e];Ne[e++]=null;var i=Ne[e];Ne[e++]=null;var s=Ne[e];Ne[e++]=null;var r=Ne[e];if(Ne[e++]=null,i!==null&&s!==null){var f=i.pending;f===null?s.next=s:(s.next=f.next,f.next=s),i.pending=s}r!==0&&sh(n,s,r)}}function Ql(t,e,n,i){Ne[_a++]=t,Ne[_a++]=e,Ne[_a++]=n,Ne[_a++]=i,Fu|=i,t.lanes|=i,t=t.alternate,t!==null&&(t.lanes|=i)}function Wu(t,e,n,i){return Ql(t,e,n,i),Zl(t)}function ia(t,e){return Ql(t,null,null,e),Zl(t)}function sh(t,e,n){t.lanes|=n;var i=t.alternate;i!==null&&(i.lanes|=n);for(var s=!1,r=t.return;r!==null;)r.childLanes|=n,i=r.alternate,i!==null&&(i.childLanes|=n),r.tag===22&&(t=r.stateNode,t===null||t._visibility&1||(s=!0)),t=r,r=r.return;return t.tag===3?(r=t.stateNode,s&&e!==null&&(s=31-be(n),t=r.hiddenUpdates,i=t[s],i===null?t[s]=[e]:i.push(e),e.lane=n|536870912),r):null}function Zl(t){if(50<$i)throw $i=0,sr=null,Error(u(185));for(var e=t.return;e!==null;)t=e,e=t.return;return t.tag===3?t.stateNode:null}var Ba={};function Uv(t,e,n,i){this.tag=t,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=e,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=i,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Te(t,e,n,i){return new Uv(t,e,n,i)}function Pu(t){return t=t.prototype,!(!t||!t.isReactComponent)}function sn(t,e){var n=t.alternate;return n===null?(n=Te(t.tag,e,t.key,t.mode),n.elementType=t.elementType,n.type=t.type,n.stateNode=t.stateNode,n.alternate=t,t.alternate=n):(n.pendingProps=e,n.type=t.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=t.flags&65011712,n.childLanes=t.childLanes,n.lanes=t.lanes,n.child=t.child,n.memoizedProps=t.memoizedProps,n.memoizedState=t.memoizedState,n.updateQueue=t.updateQueue,e=t.dependencies,n.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext},n.sibling=t.sibling,n.index=t.index,n.ref=t.ref,n.refCleanup=t.refCleanup,n}function uh(t,e){t.flags&=65011714;var n=t.alternate;return n===null?(t.childLanes=0,t.lanes=e,t.child=null,t.subtreeFlags=0,t.memoizedProps=null,t.memoizedState=null,t.updateQueue=null,t.dependencies=null,t.stateNode=null):(t.childLanes=n.childLanes,t.lanes=n.lanes,t.child=n.child,t.subtreeFlags=0,t.deletions=null,t.memoizedProps=n.memoizedProps,t.memoizedState=n.memoizedState,t.updateQueue=n.updateQueue,t.type=n.type,e=n.dependencies,t.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),t}function Kl(t,e,n,i,s,r){var f=0;if(i=t,typeof t=="function")Pu(t)&&(f=1);else if(typeof t=="string")f=G1(t,n,$.current)?26:t==="html"||t==="head"||t==="body"?27:5;else t:switch(t){case at:return t=Te(31,n,e,s),t.elementType=at,t.lanes=r,t;case H:return la(n.children,s,r,e);case O:f=8,s|=24;break;case q:return t=Te(12,n,e,s|2),t.elementType=q,t.lanes=r,t;case Z:return t=Te(13,n,e,s),t.elementType=Z,t.lanes=r,t;case it:return t=Te(19,n,e,s),t.elementType=it,t.lanes=r,t;default:if(typeof t=="object"&&t!==null)switch(t.$$typeof){case Y:f=10;break t;case G:f=9;break t;case _:f=11;break t;case k:f=14;break t;case F:f=16,i=null;break t}f=29,n=Error(u(130,t===null?"null":typeof t,"")),i=null}return e=Te(f,n,e,s),e.elementType=t,e.type=i,e.lanes=r,e}function la(t,e,n,i){return t=Te(7,t,i,e),t.lanes=n,t}function $u(t,e,n){return t=Te(6,t,null,e),t.lanes=n,t}function oh(t){var e=Te(18,null,null,0);return e.stateNode=t,e}function Iu(t,e,n){return e=Te(4,t.children!==null?t.children:[],t.key,e),e.lanes=n,e.stateNode={containerInfo:t.containerInfo,pendingChildren:null,implementation:t.implementation},e}var rh=new WeakMap;function Re(t,e){if(typeof t=="object"&&t!==null){var n=rh.get(t);return n!==void 0?n:(e={value:t,source:e,stack:of(e)},rh.set(t,e),e)}return{value:t,source:e,stack:of(e)}}var Ua=[],La=0,kl=null,Ni=0,Oe=[],Ve=0,En=null,ke=1,Je="";function un(t,e){Ua[La++]=Ni,Ua[La++]=kl,kl=t,Ni=e}function ch(t,e,n){Oe[Ve++]=ke,Oe[Ve++]=Je,Oe[Ve++]=En,En=t;var i=ke;t=Je;var s=32-be(i)-1;i&=~(1<<s),n+=1;var r=32-be(e)+s;if(30<r){var f=s-s%5;r=(i&(1<<f)-1).toString(32),i>>=f,s-=f,ke=1<<32-be(e)+s|n<<s|i,Je=r+t}else ke=1<<r|n<<s|i,Je=t}function to(t){t.return!==null&&(un(t,1),ch(t,1,0))}function eo(t){for(;t===kl;)kl=Ua[--La],Ua[La]=null,Ni=Ua[--La],Ua[La]=null;for(;t===En;)En=Oe[--Ve],Oe[Ve]=null,Je=Oe[--Ve],Oe[Ve]=null,ke=Oe[--Ve],Oe[Ve]=null}function fh(t,e){Oe[Ve++]=ke,Oe[Ve++]=Je,Oe[Ve++]=En,ke=e.id,Je=e.overflow,En=t}var te=null,jt=null,gt=!1,Mn=null,_e=!1,no=Error(u(519));function Dn(t){var e=Error(u(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw Ri(Re(e,t)),no}function hh(t){var e=t.stateNode,n=t.type,i=t.memoizedProps;switch(e[It]=t,e[fe]=i,n){case"dialog":ht("cancel",e),ht("close",e);break;case"iframe":case"object":case"embed":ht("load",e);break;case"video":case"audio":for(n=0;n<tl.length;n++)ht(tl[n],e);break;case"source":ht("error",e);break;case"img":case"image":case"link":ht("error",e),ht("load",e);break;case"details":ht("toggle",e);break;case"input":ht("invalid",e),Mf(e,i.value,i.defaultValue,i.checked,i.defaultChecked,i.type,i.name,!0);break;case"select":ht("invalid",e);break;case"textarea":ht("invalid",e),Cf(e,i.value,i.defaultValue,i.children)}n=i.children,typeof n!="string"&&typeof n!="number"&&typeof n!="bigint"||e.textContent===""+n||i.suppressHydrationWarning===!0||zm(e.textContent,n)?(i.popover!=null&&(ht("beforetoggle",e),ht("toggle",e)),i.onScroll!=null&&ht("scroll",e),i.onScrollEnd!=null&&ht("scrollend",e),i.onClick!=null&&(e.onclick=an),e=!0):e=!1,e||Dn(t,!0)}function dh(t){for(te=t.return;te;)switch(te.tag){case 5:case 31:case 13:_e=!1;return;case 27:case 3:_e=!0;return;default:te=te.return}}function Ha(t){if(t!==te)return!1;if(!gt)return dh(t),gt=!0,!1;var e=t.tag,n;if((n=e!==3&&e!==27)&&((n=e===5)&&(n=t.type,n=!(n!=="form"&&n!=="button")||Sr(t.type,t.memoizedProps)),n=!n),n&&jt&&Dn(t),dh(t),e===13){if(t=t.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(u(317));jt=Lm(t)}else if(e===31){if(t=t.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(u(317));jt=Lm(t)}else e===27?(e=jt,qn(t.type)?(t=Dr,Dr=null,jt=t):jt=e):jt=te?Ue(t.stateNode.nextSibling):null;return!0}function sa(){jt=te=null,gt=!1}function ao(){var t=Mn;return t!==null&&(ye===null?ye=t:ye.push.apply(ye,t),Mn=null),t}function Ri(t){Mn===null?Mn=[t]:Mn.push(t)}var io=E(null),ua=null,on=null;function Cn(t,e,n){K(io,e._currentValue),e._currentValue=n}function rn(t){t._currentValue=io.current,L(io)}function lo(t,e,n){for(;t!==null;){var i=t.alternate;if((t.childLanes&e)!==e?(t.childLanes|=e,i!==null&&(i.childLanes|=e)):i!==null&&(i.childLanes&e)!==e&&(i.childLanes|=e),t===n)break;t=t.return}}function so(t,e,n,i){var s=t.child;for(s!==null&&(s.return=t);s!==null;){var r=s.dependencies;if(r!==null){var f=s.child;r=r.firstContext;t:for(;r!==null;){var y=r;r=s;for(var S=0;S<e.length;S++)if(y.context===e[S]){r.lanes|=n,y=r.alternate,y!==null&&(y.lanes|=n),lo(r.return,n,t),i||(f=null);break t}r=y.next}}else if(s.tag===18){if(f=s.return,f===null)throw Error(u(341));f.lanes|=n,r=f.alternate,r!==null&&(r.lanes|=n),lo(f,n,t),f=null}else f=s.child;if(f!==null)f.return=s;else for(f=s;f!==null;){if(f===t){f=null;break}if(s=f.sibling,s!==null){s.return=f.return,f=s;break}f=f.return}s=f}}function qa(t,e,n,i){t=null;for(var s=e,r=!1;s!==null;){if(!r){if((s.flags&524288)!==0)r=!0;else if((s.flags&262144)!==0)break}if(s.tag===10){var f=s.alternate;if(f===null)throw Error(u(387));if(f=f.memoizedProps,f!==null){var y=s.type;Se(s.pendingProps.value,f.value)||(t!==null?t.push(y):t=[y])}}else if(s===Tt.current){if(f=s.alternate,f===null)throw Error(u(387));f.memoizedState.memoizedState!==s.memoizedState.memoizedState&&(t!==null?t.push(ll):t=[ll])}s=s.return}t!==null&&so(e,t,n,i),e.flags|=262144}function Jl(t){for(t=t.firstContext;t!==null;){if(!Se(t.context._currentValue,t.memoizedValue))return!0;t=t.next}return!1}function oa(t){ua=t,on=null,t=t.dependencies,t!==null&&(t.firstContext=null)}function ee(t){return mh(ua,t)}function Fl(t,e){return ua===null&&oa(t),mh(t,e)}function mh(t,e){var n=e._currentValue;if(e={context:e,memoizedValue:n,next:null},on===null){if(t===null)throw Error(u(308));on=e,t.dependencies={lanes:0,firstContext:e},t.flags|=524288}else on=on.next=e;return n}var Lv=typeof AbortController<"u"?AbortController:function(){var t=[],e=this.signal={aborted:!1,addEventListener:function(n,i){t.push(i)}};this.abort=function(){e.aborted=!0,t.forEach(function(n){return n()})}},Hv=a.unstable_scheduleCallback,qv=a.unstable_NormalPriority,Gt={$$typeof:Y,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function uo(){return{controller:new Lv,data:new Map,refCount:0}}function Oi(t){t.refCount--,t.refCount===0&&Hv(qv,function(){t.controller.abort()})}var Vi=null,oo=0,Ya=0,Ga=null;function Yv(t,e){if(Vi===null){var n=Vi=[];oo=0,Ya=hr(),Ga={status:"pending",value:void 0,then:function(i){n.push(i)}}}return oo++,e.then(ph,ph),e}function ph(){if(--oo===0&&Vi!==null){Ga!==null&&(Ga.status="fulfilled");var t=Vi;Vi=null,Ya=0,Ga=null;for(var e=0;e<t.length;e++)(0,t[e])()}}function Gv(t,e){var n=[],i={status:"pending",value:null,reason:null,then:function(s){n.push(s)}};return t.then(function(){i.status="fulfilled",i.value=e;for(var s=0;s<n.length;s++)(0,n[s])(e)},function(s){for(i.status="rejected",i.reason=s,s=0;s<n.length;s++)(0,n[s])(void 0)}),i}var yh=R.S;R.S=function(t,e){Id=ve(),typeof e=="object"&&e!==null&&typeof e.then=="function"&&Yv(t,e),yh!==null&&yh(t,e)};var ra=E(null);function ro(){var t=ra.current;return t!==null?t:wt.pooledCache}function Wl(t,e){e===null?K(ra,ra.current):K(ra,e.pool)}function gh(){var t=ro();return t===null?null:{parent:Gt._currentValue,pool:t}}var Xa=Error(u(460)),co=Error(u(474)),Pl=Error(u(542)),$l={then:function(){}};function vh(t){return t=t.status,t==="fulfilled"||t==="rejected"}function xh(t,e,n){switch(n=t[n],n===void 0?t.push(e):n!==e&&(e.then(an,an),e=n),e.status){case"fulfilled":return e.value;case"rejected":throw t=e.reason,Sh(t),t;default:if(typeof e.status=="string")e.then(an,an);else{if(t=wt,t!==null&&100<t.shellSuspendCounter)throw Error(u(482));t=e,t.status="pending",t.then(function(i){if(e.status==="pending"){var s=e;s.status="fulfilled",s.value=i}},function(i){if(e.status==="pending"){var s=e;s.status="rejected",s.reason=i}})}switch(e.status){case"fulfilled":return e.value;case"rejected":throw t=e.reason,Sh(t),t}throw fa=e,Xa}}function ca(t){try{var e=t._init;return e(t._payload)}catch(n){throw n!==null&&typeof n=="object"&&typeof n.then=="function"?(fa=n,Xa):n}}var fa=null;function bh(){if(fa===null)throw Error(u(459));var t=fa;return fa=null,t}function Sh(t){if(t===Xa||t===Pl)throw Error(u(483))}var Qa=null,_i=0;function Il(t){var e=_i;return _i+=1,Qa===null&&(Qa=[]),xh(Qa,t,e)}function Bi(t,e){e=e.props.ref,t.ref=e!==void 0?e:null}function ts(t,e){throw e.$$typeof===T?Error(u(525)):(t=Object.prototype.toString.call(e),Error(u(31,t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)))}function Th(t){function e(M,A){if(t){var C=M.deletions;C===null?(M.deletions=[A],M.flags|=16):C.push(A)}}function n(M,A){if(!t)return null;for(;A!==null;)e(M,A),A=A.sibling;return null}function i(M){for(var A=new Map;M!==null;)M.key!==null?A.set(M.key,M):A.set(M.index,M),M=M.sibling;return A}function s(M,A){return M=sn(M,A),M.index=0,M.sibling=null,M}function r(M,A,C){return M.index=C,t?(C=M.alternate,C!==null?(C=C.index,C<A?(M.flags|=67108866,A):C):(M.flags|=67108866,A)):(M.flags|=1048576,A)}function f(M){return t&&M.alternate===null&&(M.flags|=67108866),M}function y(M,A,C,B){return A===null||A.tag!==6?(A=$u(C,M.mode,B),A.return=M,A):(A=s(A,C),A.return=M,A)}function S(M,A,C,B){var et=C.type;return et===H?V(M,A,C.props.children,B,C.key):A!==null&&(A.elementType===et||typeof et=="object"&&et!==null&&et.$$typeof===F&&ca(et)===A.type)?(A=s(A,C.props),Bi(A,C),A.return=M,A):(A=Kl(C.type,C.key,C.props,null,M.mode,B),Bi(A,C),A.return=M,A)}function w(M,A,C,B){return A===null||A.tag!==4||A.stateNode.containerInfo!==C.containerInfo||A.stateNode.implementation!==C.implementation?(A=Iu(C,M.mode,B),A.return=M,A):(A=s(A,C.children||[]),A.return=M,A)}function V(M,A,C,B,et){return A===null||A.tag!==7?(A=la(C,M.mode,B,et),A.return=M,A):(A=s(A,C),A.return=M,A)}function U(M,A,C){if(typeof A=="string"&&A!==""||typeof A=="number"||typeof A=="bigint")return A=$u(""+A,M.mode,C),A.return=M,A;if(typeof A=="object"&&A!==null){switch(A.$$typeof){case D:return C=Kl(A.type,A.key,A.props,null,M.mode,C),Bi(C,A),C.return=M,C;case j:return A=Iu(A,M.mode,C),A.return=M,A;case F:return A=ca(A),U(M,A,C)}if(Ut(A)||vt(A))return A=la(A,M.mode,C,null),A.return=M,A;if(typeof A.then=="function")return U(M,Il(A),C);if(A.$$typeof===Y)return U(M,Fl(M,A),C);ts(M,A)}return null}function z(M,A,C,B){var et=A!==null?A.key:null;if(typeof C=="string"&&C!==""||typeof C=="number"||typeof C=="bigint")return et!==null?null:y(M,A,""+C,B);if(typeof C=="object"&&C!==null){switch(C.$$typeof){case D:return C.key===et?S(M,A,C,B):null;case j:return C.key===et?w(M,A,C,B):null;case F:return C=ca(C),z(M,A,C,B)}if(Ut(C)||vt(C))return et!==null?null:V(M,A,C,B,null);if(typeof C.then=="function")return z(M,A,Il(C),B);if(C.$$typeof===Y)return z(M,A,Fl(M,C),B);ts(M,C)}return null}function N(M,A,C,B,et){if(typeof B=="string"&&B!==""||typeof B=="number"||typeof B=="bigint")return M=M.get(C)||null,y(A,M,""+B,et);if(typeof B=="object"&&B!==null){switch(B.$$typeof){case D:return M=M.get(B.key===null?C:B.key)||null,S(A,M,B,et);case j:return M=M.get(B.key===null?C:B.key)||null,w(A,M,B,et);case F:return B=ca(B),N(M,A,C,B,et)}if(Ut(B)||vt(B))return M=M.get(C)||null,V(A,M,B,et,null);if(typeof B.then=="function")return N(M,A,C,Il(B),et);if(B.$$typeof===Y)return N(M,A,C,Fl(A,B),et);ts(A,B)}return null}function W(M,A,C,B){for(var et=null,xt=null,I=A,rt=A=0,mt=null;I!==null&&rt<C.length;rt++){I.index>rt?(mt=I,I=null):mt=I.sibling;var bt=z(M,I,C[rt],B);if(bt===null){I===null&&(I=mt);break}t&&I&&bt.alternate===null&&e(M,I),A=r(bt,A,rt),xt===null?et=bt:xt.sibling=bt,xt=bt,I=mt}if(rt===C.length)return n(M,I),gt&&un(M,rt),et;if(I===null){for(;rt<C.length;rt++)I=U(M,C[rt],B),I!==null&&(A=r(I,A,rt),xt===null?et=I:xt.sibling=I,xt=I);return gt&&un(M,rt),et}for(I=i(I);rt<C.length;rt++)mt=N(I,M,rt,C[rt],B),mt!==null&&(t&&mt.alternate!==null&&I.delete(mt.key===null?rt:mt.key),A=r(mt,A,rt),xt===null?et=mt:xt.sibling=mt,xt=mt);return t&&I.forEach(function(Zn){return e(M,Zn)}),gt&&un(M,rt),et}function nt(M,A,C,B){if(C==null)throw Error(u(151));for(var et=null,xt=null,I=A,rt=A=0,mt=null,bt=C.next();I!==null&&!bt.done;rt++,bt=C.next()){I.index>rt?(mt=I,I=null):mt=I.sibling;var Zn=z(M,I,bt.value,B);if(Zn===null){I===null&&(I=mt);break}t&&I&&Zn.alternate===null&&e(M,I),A=r(Zn,A,rt),xt===null?et=Zn:xt.sibling=Zn,xt=Zn,I=mt}if(bt.done)return n(M,I),gt&&un(M,rt),et;if(I===null){for(;!bt.done;rt++,bt=C.next())bt=U(M,bt.value,B),bt!==null&&(A=r(bt,A,rt),xt===null?et=bt:xt.sibling=bt,xt=bt);return gt&&un(M,rt),et}for(I=i(I);!bt.done;rt++,bt=C.next())bt=N(I,M,rt,bt.value,B),bt!==null&&(t&&bt.alternate!==null&&I.delete(bt.key===null?rt:bt.key),A=r(bt,A,rt),xt===null?et=bt:xt.sibling=bt,xt=bt);return t&&I.forEach(function(I1){return e(M,I1)}),gt&&un(M,rt),et}function Ct(M,A,C,B){if(typeof C=="object"&&C!==null&&C.type===H&&C.key===null&&(C=C.props.children),typeof C=="object"&&C!==null){switch(C.$$typeof){case D:t:{for(var et=C.key;A!==null;){if(A.key===et){if(et=C.type,et===H){if(A.tag===7){n(M,A.sibling),B=s(A,C.props.children),B.return=M,M=B;break t}}else if(A.elementType===et||typeof et=="object"&&et!==null&&et.$$typeof===F&&ca(et)===A.type){n(M,A.sibling),B=s(A,C.props),Bi(B,C),B.return=M,M=B;break t}n(M,A);break}else e(M,A);A=A.sibling}C.type===H?(B=la(C.props.children,M.mode,B,C.key),B.return=M,M=B):(B=Kl(C.type,C.key,C.props,null,M.mode,B),Bi(B,C),B.return=M,M=B)}return f(M);case j:t:{for(et=C.key;A!==null;){if(A.key===et)if(A.tag===4&&A.stateNode.containerInfo===C.containerInfo&&A.stateNode.implementation===C.implementation){n(M,A.sibling),B=s(A,C.children||[]),B.return=M,M=B;break t}else{n(M,A);break}else e(M,A);A=A.sibling}B=Iu(C,M.mode,B),B.return=M,M=B}return f(M);case F:return C=ca(C),Ct(M,A,C,B)}if(Ut(C))return W(M,A,C,B);if(vt(C)){if(et=vt(C),typeof et!="function")throw Error(u(150));return C=et.call(C),nt(M,A,C,B)}if(typeof C.then=="function")return Ct(M,A,Il(C),B);if(C.$$typeof===Y)return Ct(M,A,Fl(M,C),B);ts(M,C)}return typeof C=="string"&&C!==""||typeof C=="number"||typeof C=="bigint"?(C=""+C,A!==null&&A.tag===6?(n(M,A.sibling),B=s(A,C),B.return=M,M=B):(n(M,A),B=$u(C,M.mode,B),B.return=M,M=B),f(M)):n(M,A)}return function(M,A,C,B){try{_i=0;var et=Ct(M,A,C,B);return Qa=null,et}catch(I){if(I===Xa||I===Pl)throw I;var xt=Te(29,I,null,M.mode);return xt.lanes=B,xt.return=M,xt}finally{}}}var ha=Th(!0),Ah=Th(!1),wn=!1;function fo(t){t.updateQueue={baseState:t.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function ho(t,e){t=t.updateQueue,e.updateQueue===t&&(e.updateQueue={baseState:t.baseState,firstBaseUpdate:t.firstBaseUpdate,lastBaseUpdate:t.lastBaseUpdate,shared:t.shared,callbacks:null})}function zn(t){return{lane:t,tag:0,payload:null,callback:null,next:null}}function jn(t,e,n){var i=t.updateQueue;if(i===null)return null;if(i=i.shared,(St&2)!==0){var s=i.pending;return s===null?e.next=e:(e.next=s.next,s.next=e),i.pending=e,e=Zl(t),sh(t,null,n),e}return Ql(t,i,e,n),Zl(t)}function Ui(t,e,n){if(e=e.updateQueue,e!==null&&(e=e.shared,(n&4194048)!==0)){var i=e.lanes;i&=t.pendingLanes,n|=i,e.lanes=n,mf(t,n)}}function mo(t,e){var n=t.updateQueue,i=t.alternate;if(i!==null&&(i=i.updateQueue,n===i)){var s=null,r=null;if(n=n.firstBaseUpdate,n!==null){do{var f={lane:n.lane,tag:n.tag,payload:n.payload,callback:null,next:null};r===null?s=r=f:r=r.next=f,n=n.next}while(n!==null);r===null?s=r=e:r=r.next=e}else s=r=e;n={baseState:i.baseState,firstBaseUpdate:s,lastBaseUpdate:r,shared:i.shared,callbacks:i.callbacks},t.updateQueue=n;return}t=n.lastBaseUpdate,t===null?n.firstBaseUpdate=e:t.next=e,n.lastBaseUpdate=e}var po=!1;function Li(){if(po){var t=Ga;if(t!==null)throw t}}function Hi(t,e,n,i){po=!1;var s=t.updateQueue;wn=!1;var r=s.firstBaseUpdate,f=s.lastBaseUpdate,y=s.shared.pending;if(y!==null){s.shared.pending=null;var S=y,w=S.next;S.next=null,f===null?r=w:f.next=w,f=S;var V=t.alternate;V!==null&&(V=V.updateQueue,y=V.lastBaseUpdate,y!==f&&(y===null?V.firstBaseUpdate=w:y.next=w,V.lastBaseUpdate=S))}if(r!==null){var U=s.baseState;f=0,V=w=S=null,y=r;do{var z=y.lane&-536870913,N=z!==y.lane;if(N?(dt&z)===z:(i&z)===z){z!==0&&z===Ya&&(po=!0),V!==null&&(V=V.next={lane:0,tag:y.tag,payload:y.payload,callback:null,next:null});t:{var W=t,nt=y;z=e;var Ct=n;switch(nt.tag){case 1:if(W=nt.payload,typeof W=="function"){U=W.call(Ct,U,z);break t}U=W;break t;case 3:W.flags=W.flags&-65537|128;case 0:if(W=nt.payload,z=typeof W=="function"?W.call(Ct,U,z):W,z==null)break t;U=x({},U,z);break t;case 2:wn=!0}}z=y.callback,z!==null&&(t.flags|=64,N&&(t.flags|=8192),N=s.callbacks,N===null?s.callbacks=[z]:N.push(z))}else N={lane:z,tag:y.tag,payload:y.payload,callback:y.callback,next:null},V===null?(w=V=N,S=U):V=V.next=N,f|=z;if(y=y.next,y===null){if(y=s.shared.pending,y===null)break;N=y,y=N.next,N.next=null,s.lastBaseUpdate=N,s.shared.pending=null}}while(!0);V===null&&(S=U),s.baseState=S,s.firstBaseUpdate=w,s.lastBaseUpdate=V,r===null&&(s.shared.lanes=0),_n|=f,t.lanes=f,t.memoizedState=U}}function Eh(t,e){if(typeof t!="function")throw Error(u(191,t));t.call(e)}function Mh(t,e){var n=t.callbacks;if(n!==null)for(t.callbacks=null,t=0;t<n.length;t++)Eh(n[t],e)}var Za=E(null),es=E(0);function Dh(t,e){t=vn,K(es,t),K(Za,e),vn=t|e.baseLanes}function yo(){K(es,vn),K(Za,Za.current)}function go(){vn=es.current,L(Za),L(es)}var Ae=E(null),Be=null;function Nn(t){var e=t.alternate;K(Ht,Ht.current&1),K(Ae,t),Be===null&&(e===null||Za.current!==null||e.memoizedState!==null)&&(Be=t)}function vo(t){K(Ht,Ht.current),K(Ae,t),Be===null&&(Be=t)}function Ch(t){t.tag===22?(K(Ht,Ht.current),K(Ae,t),Be===null&&(Be=t)):Rn()}function Rn(){K(Ht,Ht.current),K(Ae,Ae.current)}function Ee(t){L(Ae),Be===t&&(Be=null),L(Ht)}var Ht=E(0);function ns(t){for(var e=t;e!==null;){if(e.tag===13){var n=e.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||Er(n)||Mr(n)))return e}else if(e.tag===19&&(e.memoizedProps.revealOrder==="forwards"||e.memoizedProps.revealOrder==="backwards"||e.memoizedProps.revealOrder==="unstable_legacy-backwards"||e.memoizedProps.revealOrder==="together")){if((e.flags&128)!==0)return e}else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break;for(;e.sibling===null;){if(e.return===null||e.return===t)return null;e=e.return}e.sibling.return=e.return,e=e.sibling}return null}var cn=0,ut=null,Mt=null,Xt=null,as=!1,Ka=!1,da=!1,is=0,qi=0,ka=null,Xv=0;function Vt(){throw Error(u(321))}function xo(t,e){if(e===null)return!1;for(var n=0;n<e.length&&n<t.length;n++)if(!Se(t[n],e[n]))return!1;return!0}function bo(t,e,n,i,s,r){return cn=r,ut=e,e.memoizedState=null,e.updateQueue=null,e.lanes=0,R.H=t===null||t.memoizedState===null?cd:_o,da=!1,r=n(i,s),da=!1,Ka&&(r=zh(e,n,i,s)),wh(t),r}function wh(t){R.H=Xi;var e=Mt!==null&&Mt.next!==null;if(cn=0,Xt=Mt=ut=null,as=!1,qi=0,ka=null,e)throw Error(u(300));t===null||Qt||(t=t.dependencies,t!==null&&Jl(t)&&(Qt=!0))}function zh(t,e,n,i){ut=t;var s=0;do{if(Ka&&(ka=null),qi=0,Ka=!1,25<=s)throw Error(u(301));if(s+=1,Xt=Mt=null,t.updateQueue!=null){var r=t.updateQueue;r.lastEffect=null,r.events=null,r.stores=null,r.memoCache!=null&&(r.memoCache.index=0)}R.H=fd,r=e(n,i)}while(Ka);return r}function Qv(){var t=R.H,e=t.useState()[0];return e=typeof e.then=="function"?Yi(e):e,t=t.useState()[0],(Mt!==null?Mt.memoizedState:null)!==t&&(ut.flags|=1024),e}function So(){var t=is!==0;return is=0,t}function To(t,e,n){e.updateQueue=t.updateQueue,e.flags&=-2053,t.lanes&=~n}function Ao(t){if(as){for(t=t.memoizedState;t!==null;){var e=t.queue;e!==null&&(e.pending=null),t=t.next}as=!1}cn=0,Xt=Mt=ut=null,Ka=!1,qi=is=0,ka=null}function oe(){var t={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Xt===null?ut.memoizedState=Xt=t:Xt=Xt.next=t,Xt}function qt(){if(Mt===null){var t=ut.alternate;t=t!==null?t.memoizedState:null}else t=Mt.next;var e=Xt===null?ut.memoizedState:Xt.next;if(e!==null)Xt=e,Mt=t;else{if(t===null)throw ut.alternate===null?Error(u(467)):Error(u(310));Mt=t,t={memoizedState:Mt.memoizedState,baseState:Mt.baseState,baseQueue:Mt.baseQueue,queue:Mt.queue,next:null},Xt===null?ut.memoizedState=Xt=t:Xt=Xt.next=t}return Xt}function ls(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Yi(t){var e=qi;return qi+=1,ka===null&&(ka=[]),t=xh(ka,t,e),e=ut,(Xt===null?e.memoizedState:Xt.next)===null&&(e=e.alternate,R.H=e===null||e.memoizedState===null?cd:_o),t}function ss(t){if(t!==null&&typeof t=="object"){if(typeof t.then=="function")return Yi(t);if(t.$$typeof===Y)return ee(t)}throw Error(u(438,String(t)))}function Eo(t){var e=null,n=ut.updateQueue;if(n!==null&&(e=n.memoCache),e==null){var i=ut.alternate;i!==null&&(i=i.updateQueue,i!==null&&(i=i.memoCache,i!=null&&(e={data:i.data.map(function(s){return s.slice()}),index:0})))}if(e==null&&(e={data:[],index:0}),n===null&&(n=ls(),ut.updateQueue=n),n.memoCache=e,n=e.data[e.index],n===void 0)for(n=e.data[e.index]=Array(t),i=0;i<t;i++)n[i]=tt;return e.index++,n}function fn(t,e){return typeof e=="function"?e(t):e}function us(t){var e=qt();return Mo(e,Mt,t)}function Mo(t,e,n){var i=t.queue;if(i===null)throw Error(u(311));i.lastRenderedReducer=n;var s=t.baseQueue,r=i.pending;if(r!==null){if(s!==null){var f=s.next;s.next=r.next,r.next=f}e.baseQueue=s=r,i.pending=null}if(r=t.baseState,s===null)t.memoizedState=r;else{e=s.next;var y=f=null,S=null,w=e,V=!1;do{var U=w.lane&-536870913;if(U!==w.lane?(dt&U)===U:(cn&U)===U){var z=w.revertLane;if(z===0)S!==null&&(S=S.next={lane:0,revertLane:0,gesture:null,action:w.action,hasEagerState:w.hasEagerState,eagerState:w.eagerState,next:null}),U===Ya&&(V=!0);else if((cn&z)===z){w=w.next,z===Ya&&(V=!0);continue}else U={lane:0,revertLane:w.revertLane,gesture:null,action:w.action,hasEagerState:w.hasEagerState,eagerState:w.eagerState,next:null},S===null?(y=S=U,f=r):S=S.next=U,ut.lanes|=z,_n|=z;U=w.action,da&&n(r,U),r=w.hasEagerState?w.eagerState:n(r,U)}else z={lane:U,revertLane:w.revertLane,gesture:w.gesture,action:w.action,hasEagerState:w.hasEagerState,eagerState:w.eagerState,next:null},S===null?(y=S=z,f=r):S=S.next=z,ut.lanes|=U,_n|=U;w=w.next}while(w!==null&&w!==e);if(S===null?f=r:S.next=y,!Se(r,t.memoizedState)&&(Qt=!0,V&&(n=Ga,n!==null)))throw n;t.memoizedState=r,t.baseState=f,t.baseQueue=S,i.lastRenderedState=r}return s===null&&(i.lanes=0),[t.memoizedState,i.dispatch]}function Do(t){var e=qt(),n=e.queue;if(n===null)throw Error(u(311));n.lastRenderedReducer=t;var i=n.dispatch,s=n.pending,r=e.memoizedState;if(s!==null){n.pending=null;var f=s=s.next;do r=t(r,f.action),f=f.next;while(f!==s);Se(r,e.memoizedState)||(Qt=!0),e.memoizedState=r,e.baseQueue===null&&(e.baseState=r),n.lastRenderedState=r}return[r,i]}function jh(t,e,n){var i=ut,s=qt(),r=gt;if(r){if(n===void 0)throw Error(u(407));n=n()}else n=e();var f=!Se((Mt||s).memoizedState,n);if(f&&(s.memoizedState=n,Qt=!0),s=s.queue,zo(Oh.bind(null,i,s,t),[t]),s.getSnapshot!==e||f||Xt!==null&&Xt.memoizedState.tag&1){if(i.flags|=2048,Ja(9,{destroy:void 0},Rh.bind(null,i,s,n,e),null),wt===null)throw Error(u(349));r||(cn&127)!==0||Nh(i,e,n)}return n}function Nh(t,e,n){t.flags|=16384,t={getSnapshot:e,value:n},e=ut.updateQueue,e===null?(e=ls(),ut.updateQueue=e,e.stores=[t]):(n=e.stores,n===null?e.stores=[t]:n.push(t))}function Rh(t,e,n,i){e.value=n,e.getSnapshot=i,Vh(e)&&_h(t)}function Oh(t,e,n){return n(function(){Vh(e)&&_h(t)})}function Vh(t){var e=t.getSnapshot;t=t.value;try{var n=e();return!Se(t,n)}catch{return!0}}function _h(t){var e=ia(t,2);e!==null&&ge(e,t,2)}function Co(t){var e=oe();if(typeof t=="function"){var n=t;if(t=n(),da){Sn(!0);try{n()}finally{Sn(!1)}}}return e.memoizedState=e.baseState=t,e.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:fn,lastRenderedState:t},e}function Bh(t,e,n,i){return t.baseState=n,Mo(t,Mt,typeof i=="function"?i:fn)}function Zv(t,e,n,i,s){if(cs(t))throw Error(u(485));if(t=e.action,t!==null){var r={payload:s,action:t,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(f){r.listeners.push(f)}};R.T!==null?n(!0):r.isTransition=!1,i(r),n=e.pending,n===null?(r.next=e.pending=r,Uh(e,r)):(r.next=n.next,e.pending=n.next=r)}}function Uh(t,e){var n=e.action,i=e.payload,s=t.state;if(e.isTransition){var r=R.T,f={};R.T=f;try{var y=n(s,i),S=R.S;S!==null&&S(f,y),Lh(t,e,y)}catch(w){wo(t,e,w)}finally{r!==null&&f.types!==null&&(r.types=f.types),R.T=r}}else try{r=n(s,i),Lh(t,e,r)}catch(w){wo(t,e,w)}}function Lh(t,e,n){n!==null&&typeof n=="object"&&typeof n.then=="function"?n.then(function(i){Hh(t,e,i)},function(i){return wo(t,e,i)}):Hh(t,e,n)}function Hh(t,e,n){e.status="fulfilled",e.value=n,qh(e),t.state=n,e=t.pending,e!==null&&(n=e.next,n===e?t.pending=null:(n=n.next,e.next=n,Uh(t,n)))}function wo(t,e,n){var i=t.pending;if(t.pending=null,i!==null){i=i.next;do e.status="rejected",e.reason=n,qh(e),e=e.next;while(e!==i)}t.action=null}function qh(t){t=t.listeners;for(var e=0;e<t.length;e++)(0,t[e])()}function Yh(t,e){return e}function Gh(t,e){if(gt){var n=wt.formState;if(n!==null){t:{var i=ut;if(gt){if(jt){e:{for(var s=jt,r=_e;s.nodeType!==8;){if(!r){s=null;break e}if(s=Ue(s.nextSibling),s===null){s=null;break e}}r=s.data,s=r==="F!"||r==="F"?s:null}if(s){jt=Ue(s.nextSibling),i=s.data==="F!";break t}}Dn(i)}i=!1}i&&(e=n[0])}}return n=oe(),n.memoizedState=n.baseState=e,i={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Yh,lastRenderedState:e},n.queue=i,n=ud.bind(null,ut,i),i.dispatch=n,i=Co(!1),r=Vo.bind(null,ut,!1,i.queue),i=oe(),s={state:e,dispatch:null,action:t,pending:null},i.queue=s,n=Zv.bind(null,ut,s,r,n),s.dispatch=n,i.memoizedState=t,[e,n,!1]}function Xh(t){var e=qt();return Qh(e,Mt,t)}function Qh(t,e,n){if(e=Mo(t,e,Yh)[0],t=us(fn)[0],typeof e=="object"&&e!==null&&typeof e.then=="function")try{var i=Yi(e)}catch(f){throw f===Xa?Pl:f}else i=e;e=qt();var s=e.queue,r=s.dispatch;return n!==e.memoizedState&&(ut.flags|=2048,Ja(9,{destroy:void 0},Kv.bind(null,s,n),null)),[i,r,t]}function Kv(t,e){t.action=e}function Zh(t){var e=qt(),n=Mt;if(n!==null)return Qh(e,n,t);qt(),e=e.memoizedState,n=qt();var i=n.queue.dispatch;return n.memoizedState=t,[e,i,!1]}function Ja(t,e,n,i){return t={tag:t,create:n,deps:i,inst:e,next:null},e=ut.updateQueue,e===null&&(e=ls(),ut.updateQueue=e),n=e.lastEffect,n===null?e.lastEffect=t.next=t:(i=n.next,n.next=t,t.next=i,e.lastEffect=t),t}function Kh(){return qt().memoizedState}function os(t,e,n,i){var s=oe();ut.flags|=t,s.memoizedState=Ja(1|e,{destroy:void 0},n,i===void 0?null:i)}function rs(t,e,n,i){var s=qt();i=i===void 0?null:i;var r=s.memoizedState.inst;Mt!==null&&i!==null&&xo(i,Mt.memoizedState.deps)?s.memoizedState=Ja(e,r,n,i):(ut.flags|=t,s.memoizedState=Ja(1|e,r,n,i))}function kh(t,e){os(8390656,8,t,e)}function zo(t,e){rs(2048,8,t,e)}function kv(t){ut.flags|=4;var e=ut.updateQueue;if(e===null)e=ls(),ut.updateQueue=e,e.events=[t];else{var n=e.events;n===null?e.events=[t]:n.push(t)}}function Jh(t){var e=qt().memoizedState;return kv({ref:e,nextImpl:t}),function(){if((St&2)!==0)throw Error(u(440));return e.impl.apply(void 0,arguments)}}function Fh(t,e){return rs(4,2,t,e)}function Wh(t,e){return rs(4,4,t,e)}function Ph(t,e){if(typeof e=="function"){t=t();var n=e(t);return function(){typeof n=="function"?n():e(null)}}if(e!=null)return t=t(),e.current=t,function(){e.current=null}}function $h(t,e,n){n=n!=null?n.concat([t]):null,rs(4,4,Ph.bind(null,e,t),n)}function jo(){}function Ih(t,e){var n=qt();e=e===void 0?null:e;var i=n.memoizedState;return e!==null&&xo(e,i[1])?i[0]:(n.memoizedState=[t,e],t)}function td(t,e){var n=qt();e=e===void 0?null:e;var i=n.memoizedState;if(e!==null&&xo(e,i[1]))return i[0];if(i=t(),da){Sn(!0);try{t()}finally{Sn(!1)}}return n.memoizedState=[i,e],i}function No(t,e,n){return n===void 0||(cn&1073741824)!==0&&(dt&261930)===0?t.memoizedState=e:(t.memoizedState=n,t=em(),ut.lanes|=t,_n|=t,n)}function ed(t,e,n,i){return Se(n,e)?n:Za.current!==null?(t=No(t,n,i),Se(t,e)||(Qt=!0),t):(cn&42)===0||(cn&1073741824)!==0&&(dt&261930)===0?(Qt=!0,t.memoizedState=n):(t=em(),ut.lanes|=t,_n|=t,e)}function nd(t,e,n,i,s){var r=Q.p;Q.p=r!==0&&8>r?r:8;var f=R.T,y={};R.T=y,Vo(t,!1,e,n);try{var S=s(),w=R.S;if(w!==null&&w(y,S),S!==null&&typeof S=="object"&&typeof S.then=="function"){var V=Gv(S,i);Gi(t,e,V,Ce(t))}else Gi(t,e,i,Ce(t))}catch(U){Gi(t,e,{then:function(){},status:"rejected",reason:U},Ce())}finally{Q.p=r,f!==null&&y.types!==null&&(f.types=y.types),R.T=f}}function Jv(){}function Ro(t,e,n,i){if(t.tag!==5)throw Error(u(476));var s=ad(t).queue;nd(t,s,e,J,n===null?Jv:function(){return id(t),n(i)})}function ad(t){var e=t.memoizedState;if(e!==null)return e;e={memoizedState:J,baseState:J,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:fn,lastRenderedState:J},next:null};var n={};return e.next={memoizedState:n,baseState:n,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:fn,lastRenderedState:n},next:null},t.memoizedState=e,t=t.alternate,t!==null&&(t.memoizedState=e),e}function id(t){var e=ad(t);e.next===null&&(e=t.alternate.memoizedState),Gi(t,e.next.queue,{},Ce())}function Oo(){return ee(ll)}function ld(){return qt().memoizedState}function sd(){return qt().memoizedState}function Fv(t){for(var e=t.return;e!==null;){switch(e.tag){case 24:case 3:var n=Ce();t=zn(n);var i=jn(e,t,n);i!==null&&(ge(i,e,n),Ui(i,e,n)),e={cache:uo()},t.payload=e;return}e=e.return}}function Wv(t,e,n){var i=Ce();n={lane:i,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null},cs(t)?od(e,n):(n=Wu(t,e,n,i),n!==null&&(ge(n,t,i),rd(n,e,i)))}function ud(t,e,n){var i=Ce();Gi(t,e,n,i)}function Gi(t,e,n,i){var s={lane:i,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null};if(cs(t))od(e,s);else{var r=t.alternate;if(t.lanes===0&&(r===null||r.lanes===0)&&(r=e.lastRenderedReducer,r!==null))try{var f=e.lastRenderedState,y=r(f,n);if(s.hasEagerState=!0,s.eagerState=y,Se(y,f))return Ql(t,e,s,0),wt===null&&Xl(),!1}catch{}finally{}if(n=Wu(t,e,s,i),n!==null)return ge(n,t,i),rd(n,e,i),!0}return!1}function Vo(t,e,n,i){if(i={lane:2,revertLane:hr(),gesture:null,action:i,hasEagerState:!1,eagerState:null,next:null},cs(t)){if(e)throw Error(u(479))}else e=Wu(t,n,i,2),e!==null&&ge(e,t,2)}function cs(t){var e=t.alternate;return t===ut||e!==null&&e===ut}function od(t,e){Ka=as=!0;var n=t.pending;n===null?e.next=e:(e.next=n.next,n.next=e),t.pending=e}function rd(t,e,n){if((n&4194048)!==0){var i=e.lanes;i&=t.pendingLanes,n|=i,e.lanes=n,mf(t,n)}}var Xi={readContext:ee,use:ss,useCallback:Vt,useContext:Vt,useEffect:Vt,useImperativeHandle:Vt,useLayoutEffect:Vt,useInsertionEffect:Vt,useMemo:Vt,useReducer:Vt,useRef:Vt,useState:Vt,useDebugValue:Vt,useDeferredValue:Vt,useTransition:Vt,useSyncExternalStore:Vt,useId:Vt,useHostTransitionStatus:Vt,useFormState:Vt,useActionState:Vt,useOptimistic:Vt,useMemoCache:Vt,useCacheRefresh:Vt};Xi.useEffectEvent=Vt;var cd={readContext:ee,use:ss,useCallback:function(t,e){return oe().memoizedState=[t,e===void 0?null:e],t},useContext:ee,useEffect:kh,useImperativeHandle:function(t,e,n){n=n!=null?n.concat([t]):null,os(4194308,4,Ph.bind(null,e,t),n)},useLayoutEffect:function(t,e){return os(4194308,4,t,e)},useInsertionEffect:function(t,e){os(4,2,t,e)},useMemo:function(t,e){var n=oe();e=e===void 0?null:e;var i=t();if(da){Sn(!0);try{t()}finally{Sn(!1)}}return n.memoizedState=[i,e],i},useReducer:function(t,e,n){var i=oe();if(n!==void 0){var s=n(e);if(da){Sn(!0);try{n(e)}finally{Sn(!1)}}}else s=e;return i.memoizedState=i.baseState=s,t={pending:null,lanes:0,dispatch:null,lastRenderedReducer:t,lastRenderedState:s},i.queue=t,t=t.dispatch=Wv.bind(null,ut,t),[i.memoizedState,t]},useRef:function(t){var e=oe();return t={current:t},e.memoizedState=t},useState:function(t){t=Co(t);var e=t.queue,n=ud.bind(null,ut,e);return e.dispatch=n,[t.memoizedState,n]},useDebugValue:jo,useDeferredValue:function(t,e){var n=oe();return No(n,t,e)},useTransition:function(){var t=Co(!1);return t=nd.bind(null,ut,t.queue,!0,!1),oe().memoizedState=t,[!1,t]},useSyncExternalStore:function(t,e,n){var i=ut,s=oe();if(gt){if(n===void 0)throw Error(u(407));n=n()}else{if(n=e(),wt===null)throw Error(u(349));(dt&127)!==0||Nh(i,e,n)}s.memoizedState=n;var r={value:n,getSnapshot:e};return s.queue=r,kh(Oh.bind(null,i,r,t),[t]),i.flags|=2048,Ja(9,{destroy:void 0},Rh.bind(null,i,r,n,e),null),n},useId:function(){var t=oe(),e=wt.identifierPrefix;if(gt){var n=Je,i=ke;n=(i&~(1<<32-be(i)-1)).toString(32)+n,e="_"+e+"R_"+n,n=is++,0<n&&(e+="H"+n.toString(32)),e+="_"}else n=Xv++,e="_"+e+"r_"+n.toString(32)+"_";return t.memoizedState=e},useHostTransitionStatus:Oo,useFormState:Gh,useActionState:Gh,useOptimistic:function(t){var e=oe();e.memoizedState=e.baseState=t;var n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return e.queue=n,e=Vo.bind(null,ut,!0,n),n.dispatch=e,[t,e]},useMemoCache:Eo,useCacheRefresh:function(){return oe().memoizedState=Fv.bind(null,ut)},useEffectEvent:function(t){var e=oe(),n={impl:t};return e.memoizedState=n,function(){if((St&2)!==0)throw Error(u(440));return n.impl.apply(void 0,arguments)}}},_o={readContext:ee,use:ss,useCallback:Ih,useContext:ee,useEffect:zo,useImperativeHandle:$h,useInsertionEffect:Fh,useLayoutEffect:Wh,useMemo:td,useReducer:us,useRef:Kh,useState:function(){return us(fn)},useDebugValue:jo,useDeferredValue:function(t,e){var n=qt();return ed(n,Mt.memoizedState,t,e)},useTransition:function(){var t=us(fn)[0],e=qt().memoizedState;return[typeof t=="boolean"?t:Yi(t),e]},useSyncExternalStore:jh,useId:ld,useHostTransitionStatus:Oo,useFormState:Xh,useActionState:Xh,useOptimistic:function(t,e){var n=qt();return Bh(n,Mt,t,e)},useMemoCache:Eo,useCacheRefresh:sd};_o.useEffectEvent=Jh;var fd={readContext:ee,use:ss,useCallback:Ih,useContext:ee,useEffect:zo,useImperativeHandle:$h,useInsertionEffect:Fh,useLayoutEffect:Wh,useMemo:td,useReducer:Do,useRef:Kh,useState:function(){return Do(fn)},useDebugValue:jo,useDeferredValue:function(t,e){var n=qt();return Mt===null?No(n,t,e):ed(n,Mt.memoizedState,t,e)},useTransition:function(){var t=Do(fn)[0],e=qt().memoizedState;return[typeof t=="boolean"?t:Yi(t),e]},useSyncExternalStore:jh,useId:ld,useHostTransitionStatus:Oo,useFormState:Zh,useActionState:Zh,useOptimistic:function(t,e){var n=qt();return Mt!==null?Bh(n,Mt,t,e):(n.baseState=t,[t,n.queue.dispatch])},useMemoCache:Eo,useCacheRefresh:sd};fd.useEffectEvent=Jh;function Bo(t,e,n,i){e=t.memoizedState,n=n(i,e),n=n==null?e:x({},e,n),t.memoizedState=n,t.lanes===0&&(t.updateQueue.baseState=n)}var Uo={enqueueSetState:function(t,e,n){t=t._reactInternals;var i=Ce(),s=zn(i);s.payload=e,n!=null&&(s.callback=n),e=jn(t,s,i),e!==null&&(ge(e,t,i),Ui(e,t,i))},enqueueReplaceState:function(t,e,n){t=t._reactInternals;var i=Ce(),s=zn(i);s.tag=1,s.payload=e,n!=null&&(s.callback=n),e=jn(t,s,i),e!==null&&(ge(e,t,i),Ui(e,t,i))},enqueueForceUpdate:function(t,e){t=t._reactInternals;var n=Ce(),i=zn(n);i.tag=2,e!=null&&(i.callback=e),e=jn(t,i,n),e!==null&&(ge(e,t,n),Ui(e,t,n))}};function hd(t,e,n,i,s,r,f){return t=t.stateNode,typeof t.shouldComponentUpdate=="function"?t.shouldComponentUpdate(i,r,f):e.prototype&&e.prototype.isPureReactComponent?!zi(n,i)||!zi(s,r):!0}function dd(t,e,n,i){t=e.state,typeof e.componentWillReceiveProps=="function"&&e.componentWillReceiveProps(n,i),typeof e.UNSAFE_componentWillReceiveProps=="function"&&e.UNSAFE_componentWillReceiveProps(n,i),e.state!==t&&Uo.enqueueReplaceState(e,e.state,null)}function ma(t,e){var n=e;if("ref"in e){n={};for(var i in e)i!=="ref"&&(n[i]=e[i])}if(t=t.defaultProps){n===e&&(n=x({},n));for(var s in t)n[s]===void 0&&(n[s]=t[s])}return n}function md(t){Gl(t)}function pd(t){console.error(t)}function yd(t){Gl(t)}function fs(t,e){try{var n=t.onUncaughtError;n(e.value,{componentStack:e.stack})}catch(i){setTimeout(function(){throw i})}}function gd(t,e,n){try{var i=t.onCaughtError;i(n.value,{componentStack:n.stack,errorBoundary:e.tag===1?e.stateNode:null})}catch(s){setTimeout(function(){throw s})}}function Lo(t,e,n){return n=zn(n),n.tag=3,n.payload={element:null},n.callback=function(){fs(t,e)},n}function vd(t){return t=zn(t),t.tag=3,t}function xd(t,e,n,i){var s=n.type.getDerivedStateFromError;if(typeof s=="function"){var r=i.value;t.payload=function(){return s(r)},t.callback=function(){gd(e,n,i)}}var f=n.stateNode;f!==null&&typeof f.componentDidCatch=="function"&&(t.callback=function(){gd(e,n,i),typeof s!="function"&&(Bn===null?Bn=new Set([this]):Bn.add(this));var y=i.stack;this.componentDidCatch(i.value,{componentStack:y!==null?y:""})})}function Pv(t,e,n,i,s){if(n.flags|=32768,i!==null&&typeof i=="object"&&typeof i.then=="function"){if(e=n.alternate,e!==null&&qa(e,n,s,!0),n=Ae.current,n!==null){switch(n.tag){case 31:case 13:return Be===null?As():n.alternate===null&&_t===0&&(_t=3),n.flags&=-257,n.flags|=65536,n.lanes=s,i===$l?n.flags|=16384:(e=n.updateQueue,e===null?n.updateQueue=new Set([i]):e.add(i),rr(t,i,s)),!1;case 22:return n.flags|=65536,i===$l?n.flags|=16384:(e=n.updateQueue,e===null?(e={transitions:null,markerInstances:null,retryQueue:new Set([i])},n.updateQueue=e):(n=e.retryQueue,n===null?e.retryQueue=new Set([i]):n.add(i)),rr(t,i,s)),!1}throw Error(u(435,n.tag))}return rr(t,i,s),As(),!1}if(gt)return e=Ae.current,e!==null?((e.flags&65536)===0&&(e.flags|=256),e.flags|=65536,e.lanes=s,i!==no&&(t=Error(u(422),{cause:i}),Ri(Re(t,n)))):(i!==no&&(e=Error(u(423),{cause:i}),Ri(Re(e,n))),t=t.current.alternate,t.flags|=65536,s&=-s,t.lanes|=s,i=Re(i,n),s=Lo(t.stateNode,i,s),mo(t,s),_t!==4&&(_t=2)),!1;var r=Error(u(520),{cause:i});if(r=Re(r,n),Pi===null?Pi=[r]:Pi.push(r),_t!==4&&(_t=2),e===null)return!0;i=Re(i,n),n=e;do{switch(n.tag){case 3:return n.flags|=65536,t=s&-s,n.lanes|=t,t=Lo(n.stateNode,i,t),mo(n,t),!1;case 1:if(e=n.type,r=n.stateNode,(n.flags&128)===0&&(typeof e.getDerivedStateFromError=="function"||r!==null&&typeof r.componentDidCatch=="function"&&(Bn===null||!Bn.has(r))))return n.flags|=65536,s&=-s,n.lanes|=s,s=vd(s),xd(s,t,n,i),mo(n,s),!1}n=n.return}while(n!==null);return!1}var Ho=Error(u(461)),Qt=!1;function ne(t,e,n,i){e.child=t===null?Ah(e,null,n,i):ha(e,t.child,n,i)}function bd(t,e,n,i,s){n=n.render;var r=e.ref;if("ref"in i){var f={};for(var y in i)y!=="ref"&&(f[y]=i[y])}else f=i;return oa(e),i=bo(t,e,n,f,r,s),y=So(),t!==null&&!Qt?(To(t,e,s),hn(t,e,s)):(gt&&y&&to(e),e.flags|=1,ne(t,e,i,s),e.child)}function Sd(t,e,n,i,s){if(t===null){var r=n.type;return typeof r=="function"&&!Pu(r)&&r.defaultProps===void 0&&n.compare===null?(e.tag=15,e.type=r,Td(t,e,r,i,s)):(t=Kl(n.type,null,i,e,e.mode,s),t.ref=e.ref,t.return=e,e.child=t)}if(r=t.child,!ko(t,s)){var f=r.memoizedProps;if(n=n.compare,n=n!==null?n:zi,n(f,i)&&t.ref===e.ref)return hn(t,e,s)}return e.flags|=1,t=sn(r,i),t.ref=e.ref,t.return=e,e.child=t}function Td(t,e,n,i,s){if(t!==null){var r=t.memoizedProps;if(zi(r,i)&&t.ref===e.ref)if(Qt=!1,e.pendingProps=i=r,ko(t,s))(t.flags&131072)!==0&&(Qt=!0);else return e.lanes=t.lanes,hn(t,e,s)}return qo(t,e,n,i,s)}function Ad(t,e,n,i){var s=i.children,r=t!==null?t.memoizedState:null;if(t===null&&e.stateNode===null&&(e.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),i.mode==="hidden"){if((e.flags&128)!==0){if(r=r!==null?r.baseLanes|n:n,t!==null){for(i=e.child=t.child,s=0;i!==null;)s=s|i.lanes|i.childLanes,i=i.sibling;i=s&~r}else i=0,e.child=null;return Ed(t,e,r,n,i)}if((n&536870912)!==0)e.memoizedState={baseLanes:0,cachePool:null},t!==null&&Wl(e,r!==null?r.cachePool:null),r!==null?Dh(e,r):yo(),Ch(e);else return i=e.lanes=536870912,Ed(t,e,r!==null?r.baseLanes|n:n,n,i)}else r!==null?(Wl(e,r.cachePool),Dh(e,r),Rn(),e.memoizedState=null):(t!==null&&Wl(e,null),yo(),Rn());return ne(t,e,s,n),e.child}function Qi(t,e){return t!==null&&t.tag===22||e.stateNode!==null||(e.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),e.sibling}function Ed(t,e,n,i,s){var r=ro();return r=r===null?null:{parent:Gt._currentValue,pool:r},e.memoizedState={baseLanes:n,cachePool:r},t!==null&&Wl(e,null),yo(),Ch(e),t!==null&&qa(t,e,i,!0),e.childLanes=s,null}function hs(t,e){return e=ms({mode:e.mode,children:e.children},t.mode),e.ref=t.ref,t.child=e,e.return=t,e}function Md(t,e,n){return ha(e,t.child,null,n),t=hs(e,e.pendingProps),t.flags|=2,Ee(e),e.memoizedState=null,t}function $v(t,e,n){var i=e.pendingProps,s=(e.flags&128)!==0;if(e.flags&=-129,t===null){if(gt){if(i.mode==="hidden")return t=hs(e,i),e.lanes=536870912,Qi(null,t);if(vo(e),(t=jt)?(t=Um(t,_e),t=t!==null&&t.data==="&"?t:null,t!==null&&(e.memoizedState={dehydrated:t,treeContext:En!==null?{id:ke,overflow:Je}:null,retryLane:536870912,hydrationErrors:null},n=oh(t),n.return=e,e.child=n,te=e,jt=null)):t=null,t===null)throw Dn(e);return e.lanes=536870912,null}return hs(e,i)}var r=t.memoizedState;if(r!==null){var f=r.dehydrated;if(vo(e),s)if(e.flags&256)e.flags&=-257,e=Md(t,e,n);else if(e.memoizedState!==null)e.child=t.child,e.flags|=128,e=null;else throw Error(u(558));else if(Qt||qa(t,e,n,!1),s=(n&t.childLanes)!==0,Qt||s){if(i=wt,i!==null&&(f=pf(i,n),f!==0&&f!==r.retryLane))throw r.retryLane=f,ia(t,f),ge(i,t,f),Ho;As(),e=Md(t,e,n)}else t=r.treeContext,jt=Ue(f.nextSibling),te=e,gt=!0,Mn=null,_e=!1,t!==null&&fh(e,t),e=hs(e,i),e.flags|=4096;return e}return t=sn(t.child,{mode:i.mode,children:i.children}),t.ref=e.ref,e.child=t,t.return=e,t}function ds(t,e){var n=e.ref;if(n===null)t!==null&&t.ref!==null&&(e.flags|=4194816);else{if(typeof n!="function"&&typeof n!="object")throw Error(u(284));(t===null||t.ref!==n)&&(e.flags|=4194816)}}function qo(t,e,n,i,s){return oa(e),n=bo(t,e,n,i,void 0,s),i=So(),t!==null&&!Qt?(To(t,e,s),hn(t,e,s)):(gt&&i&&to(e),e.flags|=1,ne(t,e,n,s),e.child)}function Dd(t,e,n,i,s,r){return oa(e),e.updateQueue=null,n=zh(e,i,n,s),wh(t),i=So(),t!==null&&!Qt?(To(t,e,r),hn(t,e,r)):(gt&&i&&to(e),e.flags|=1,ne(t,e,n,r),e.child)}function Cd(t,e,n,i,s){if(oa(e),e.stateNode===null){var r=Ba,f=n.contextType;typeof f=="object"&&f!==null&&(r=ee(f)),r=new n(i,r),e.memoizedState=r.state!==null&&r.state!==void 0?r.state:null,r.updater=Uo,e.stateNode=r,r._reactInternals=e,r=e.stateNode,r.props=i,r.state=e.memoizedState,r.refs={},fo(e),f=n.contextType,r.context=typeof f=="object"&&f!==null?ee(f):Ba,r.state=e.memoizedState,f=n.getDerivedStateFromProps,typeof f=="function"&&(Bo(e,n,f,i),r.state=e.memoizedState),typeof n.getDerivedStateFromProps=="function"||typeof r.getSnapshotBeforeUpdate=="function"||typeof r.UNSAFE_componentWillMount!="function"&&typeof r.componentWillMount!="function"||(f=r.state,typeof r.componentWillMount=="function"&&r.componentWillMount(),typeof r.UNSAFE_componentWillMount=="function"&&r.UNSAFE_componentWillMount(),f!==r.state&&Uo.enqueueReplaceState(r,r.state,null),Hi(e,i,r,s),Li(),r.state=e.memoizedState),typeof r.componentDidMount=="function"&&(e.flags|=4194308),i=!0}else if(t===null){r=e.stateNode;var y=e.memoizedProps,S=ma(n,y);r.props=S;var w=r.context,V=n.contextType;f=Ba,typeof V=="object"&&V!==null&&(f=ee(V));var U=n.getDerivedStateFromProps;V=typeof U=="function"||typeof r.getSnapshotBeforeUpdate=="function",y=e.pendingProps!==y,V||typeof r.UNSAFE_componentWillReceiveProps!="function"&&typeof r.componentWillReceiveProps!="function"||(y||w!==f)&&dd(e,r,i,f),wn=!1;var z=e.memoizedState;r.state=z,Hi(e,i,r,s),Li(),w=e.memoizedState,y||z!==w||wn?(typeof U=="function"&&(Bo(e,n,U,i),w=e.memoizedState),(S=wn||hd(e,n,S,i,z,w,f))?(V||typeof r.UNSAFE_componentWillMount!="function"&&typeof r.componentWillMount!="function"||(typeof r.componentWillMount=="function"&&r.componentWillMount(),typeof r.UNSAFE_componentWillMount=="function"&&r.UNSAFE_componentWillMount()),typeof r.componentDidMount=="function"&&(e.flags|=4194308)):(typeof r.componentDidMount=="function"&&(e.flags|=4194308),e.memoizedProps=i,e.memoizedState=w),r.props=i,r.state=w,r.context=f,i=S):(typeof r.componentDidMount=="function"&&(e.flags|=4194308),i=!1)}else{r=e.stateNode,ho(t,e),f=e.memoizedProps,V=ma(n,f),r.props=V,U=e.pendingProps,z=r.context,w=n.contextType,S=Ba,typeof w=="object"&&w!==null&&(S=ee(w)),y=n.getDerivedStateFromProps,(w=typeof y=="function"||typeof r.getSnapshotBeforeUpdate=="function")||typeof r.UNSAFE_componentWillReceiveProps!="function"&&typeof r.componentWillReceiveProps!="function"||(f!==U||z!==S)&&dd(e,r,i,S),wn=!1,z=e.memoizedState,r.state=z,Hi(e,i,r,s),Li();var N=e.memoizedState;f!==U||z!==N||wn||t!==null&&t.dependencies!==null&&Jl(t.dependencies)?(typeof y=="function"&&(Bo(e,n,y,i),N=e.memoizedState),(V=wn||hd(e,n,V,i,z,N,S)||t!==null&&t.dependencies!==null&&Jl(t.dependencies))?(w||typeof r.UNSAFE_componentWillUpdate!="function"&&typeof r.componentWillUpdate!="function"||(typeof r.componentWillUpdate=="function"&&r.componentWillUpdate(i,N,S),typeof r.UNSAFE_componentWillUpdate=="function"&&r.UNSAFE_componentWillUpdate(i,N,S)),typeof r.componentDidUpdate=="function"&&(e.flags|=4),typeof r.getSnapshotBeforeUpdate=="function"&&(e.flags|=1024)):(typeof r.componentDidUpdate!="function"||f===t.memoizedProps&&z===t.memoizedState||(e.flags|=4),typeof r.getSnapshotBeforeUpdate!="function"||f===t.memoizedProps&&z===t.memoizedState||(e.flags|=1024),e.memoizedProps=i,e.memoizedState=N),r.props=i,r.state=N,r.context=S,i=V):(typeof r.componentDidUpdate!="function"||f===t.memoizedProps&&z===t.memoizedState||(e.flags|=4),typeof r.getSnapshotBeforeUpdate!="function"||f===t.memoizedProps&&z===t.memoizedState||(e.flags|=1024),i=!1)}return r=i,ds(t,e),i=(e.flags&128)!==0,r||i?(r=e.stateNode,n=i&&typeof n.getDerivedStateFromError!="function"?null:r.render(),e.flags|=1,t!==null&&i?(e.child=ha(e,t.child,null,s),e.child=ha(e,null,n,s)):ne(t,e,n,s),e.memoizedState=r.state,t=e.child):t=hn(t,e,s),t}function wd(t,e,n,i){return sa(),e.flags|=256,ne(t,e,n,i),e.child}var Yo={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function Go(t){return{baseLanes:t,cachePool:gh()}}function Xo(t,e,n){return t=t!==null?t.childLanes&~n:0,e&&(t|=De),t}function zd(t,e,n){var i=e.pendingProps,s=!1,r=(e.flags&128)!==0,f;if((f=r)||(f=t!==null&&t.memoizedState===null?!1:(Ht.current&2)!==0),f&&(s=!0,e.flags&=-129),f=(e.flags&32)!==0,e.flags&=-33,t===null){if(gt){if(s?Nn(e):Rn(),(t=jt)?(t=Um(t,_e),t=t!==null&&t.data!=="&"?t:null,t!==null&&(e.memoizedState={dehydrated:t,treeContext:En!==null?{id:ke,overflow:Je}:null,retryLane:536870912,hydrationErrors:null},n=oh(t),n.return=e,e.child=n,te=e,jt=null)):t=null,t===null)throw Dn(e);return Mr(t)?e.lanes=32:e.lanes=536870912,null}var y=i.children;return i=i.fallback,s?(Rn(),s=e.mode,y=ms({mode:"hidden",children:y},s),i=la(i,s,n,null),y.return=e,i.return=e,y.sibling=i,e.child=y,i=e.child,i.memoizedState=Go(n),i.childLanes=Xo(t,f,n),e.memoizedState=Yo,Qi(null,i)):(Nn(e),Qo(e,y))}var S=t.memoizedState;if(S!==null&&(y=S.dehydrated,y!==null)){if(r)e.flags&256?(Nn(e),e.flags&=-257,e=Zo(t,e,n)):e.memoizedState!==null?(Rn(),e.child=t.child,e.flags|=128,e=null):(Rn(),y=i.fallback,s=e.mode,i=ms({mode:"visible",children:i.children},s),y=la(y,s,n,null),y.flags|=2,i.return=e,y.return=e,i.sibling=y,e.child=i,ha(e,t.child,null,n),i=e.child,i.memoizedState=Go(n),i.childLanes=Xo(t,f,n),e.memoizedState=Yo,e=Qi(null,i));else if(Nn(e),Mr(y)){if(f=y.nextSibling&&y.nextSibling.dataset,f)var w=f.dgst;f=w,i=Error(u(419)),i.stack="",i.digest=f,Ri({value:i,source:null,stack:null}),e=Zo(t,e,n)}else if(Qt||qa(t,e,n,!1),f=(n&t.childLanes)!==0,Qt||f){if(f=wt,f!==null&&(i=pf(f,n),i!==0&&i!==S.retryLane))throw S.retryLane=i,ia(t,i),ge(f,t,i),Ho;Er(y)||As(),e=Zo(t,e,n)}else Er(y)?(e.flags|=192,e.child=t.child,e=null):(t=S.treeContext,jt=Ue(y.nextSibling),te=e,gt=!0,Mn=null,_e=!1,t!==null&&fh(e,t),e=Qo(e,i.children),e.flags|=4096);return e}return s?(Rn(),y=i.fallback,s=e.mode,S=t.child,w=S.sibling,i=sn(S,{mode:"hidden",children:i.children}),i.subtreeFlags=S.subtreeFlags&65011712,w!==null?y=sn(w,y):(y=la(y,s,n,null),y.flags|=2),y.return=e,i.return=e,i.sibling=y,e.child=i,Qi(null,i),i=e.child,y=t.child.memoizedState,y===null?y=Go(n):(s=y.cachePool,s!==null?(S=Gt._currentValue,s=s.parent!==S?{parent:S,pool:S}:s):s=gh(),y={baseLanes:y.baseLanes|n,cachePool:s}),i.memoizedState=y,i.childLanes=Xo(t,f,n),e.memoizedState=Yo,Qi(t.child,i)):(Nn(e),n=t.child,t=n.sibling,n=sn(n,{mode:"visible",children:i.children}),n.return=e,n.sibling=null,t!==null&&(f=e.deletions,f===null?(e.deletions=[t],e.flags|=16):f.push(t)),e.child=n,e.memoizedState=null,n)}function Qo(t,e){return e=ms({mode:"visible",children:e},t.mode),e.return=t,t.child=e}function ms(t,e){return t=Te(22,t,null,e),t.lanes=0,t}function Zo(t,e,n){return ha(e,t.child,null,n),t=Qo(e,e.pendingProps.children),t.flags|=2,e.memoizedState=null,t}function jd(t,e,n){t.lanes|=e;var i=t.alternate;i!==null&&(i.lanes|=e),lo(t.return,e,n)}function Ko(t,e,n,i,s,r){var f=t.memoizedState;f===null?t.memoizedState={isBackwards:e,rendering:null,renderingStartTime:0,last:i,tail:n,tailMode:s,treeForkCount:r}:(f.isBackwards=e,f.rendering=null,f.renderingStartTime=0,f.last=i,f.tail=n,f.tailMode=s,f.treeForkCount=r)}function Nd(t,e,n){var i=e.pendingProps,s=i.revealOrder,r=i.tail;i=i.children;var f=Ht.current,y=(f&2)!==0;if(y?(f=f&1|2,e.flags|=128):f&=1,K(Ht,f),ne(t,e,i,n),i=gt?Ni:0,!y&&t!==null&&(t.flags&128)!==0)t:for(t=e.child;t!==null;){if(t.tag===13)t.memoizedState!==null&&jd(t,n,e);else if(t.tag===19)jd(t,n,e);else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break t;for(;t.sibling===null;){if(t.return===null||t.return===e)break t;t=t.return}t.sibling.return=t.return,t=t.sibling}switch(s){case"forwards":for(n=e.child,s=null;n!==null;)t=n.alternate,t!==null&&ns(t)===null&&(s=n),n=n.sibling;n=s,n===null?(s=e.child,e.child=null):(s=n.sibling,n.sibling=null),Ko(e,!1,s,n,r,i);break;case"backwards":case"unstable_legacy-backwards":for(n=null,s=e.child,e.child=null;s!==null;){if(t=s.alternate,t!==null&&ns(t)===null){e.child=s;break}t=s.sibling,s.sibling=n,n=s,s=t}Ko(e,!0,n,null,r,i);break;case"together":Ko(e,!1,null,null,void 0,i);break;default:e.memoizedState=null}return e.child}function hn(t,e,n){if(t!==null&&(e.dependencies=t.dependencies),_n|=e.lanes,(n&e.childLanes)===0)if(t!==null){if(qa(t,e,n,!1),(n&e.childLanes)===0)return null}else return null;if(t!==null&&e.child!==t.child)throw Error(u(153));if(e.child!==null){for(t=e.child,n=sn(t,t.pendingProps),e.child=n,n.return=e;t.sibling!==null;)t=t.sibling,n=n.sibling=sn(t,t.pendingProps),n.return=e;n.sibling=null}return e.child}function ko(t,e){return(t.lanes&e)!==0?!0:(t=t.dependencies,!!(t!==null&&Jl(t)))}function Iv(t,e,n){switch(e.tag){case 3:ue(e,e.stateNode.containerInfo),Cn(e,Gt,t.memoizedState.cache),sa();break;case 27:case 5:yi(e);break;case 4:ue(e,e.stateNode.containerInfo);break;case 10:Cn(e,e.type,e.memoizedProps.value);break;case 31:if(e.memoizedState!==null)return e.flags|=128,vo(e),null;break;case 13:var i=e.memoizedState;if(i!==null)return i.dehydrated!==null?(Nn(e),e.flags|=128,null):(n&e.child.childLanes)!==0?zd(t,e,n):(Nn(e),t=hn(t,e,n),t!==null?t.sibling:null);Nn(e);break;case 19:var s=(t.flags&128)!==0;if(i=(n&e.childLanes)!==0,i||(qa(t,e,n,!1),i=(n&e.childLanes)!==0),s){if(i)return Nd(t,e,n);e.flags|=128}if(s=e.memoizedState,s!==null&&(s.rendering=null,s.tail=null,s.lastEffect=null),K(Ht,Ht.current),i)break;return null;case 22:return e.lanes=0,Ad(t,e,n,e.pendingProps);case 24:Cn(e,Gt,t.memoizedState.cache)}return hn(t,e,n)}function Rd(t,e,n){if(t!==null)if(t.memoizedProps!==e.pendingProps)Qt=!0;else{if(!ko(t,n)&&(e.flags&128)===0)return Qt=!1,Iv(t,e,n);Qt=(t.flags&131072)!==0}else Qt=!1,gt&&(e.flags&1048576)!==0&&ch(e,Ni,e.index);switch(e.lanes=0,e.tag){case 16:t:{var i=e.pendingProps;if(t=ca(e.elementType),e.type=t,typeof t=="function")Pu(t)?(i=ma(t,i),e.tag=1,e=Cd(null,e,t,i,n)):(e.tag=0,e=qo(null,e,t,i,n));else{if(t!=null){var s=t.$$typeof;if(s===_){e.tag=11,e=bd(null,e,t,i,n);break t}else if(s===k){e.tag=14,e=Sd(null,e,t,i,n);break t}}throw e=Yt(t)||t,Error(u(306,e,""))}}return e;case 0:return qo(t,e,e.type,e.pendingProps,n);case 1:return i=e.type,s=ma(i,e.pendingProps),Cd(t,e,i,s,n);case 3:t:{if(ue(e,e.stateNode.containerInfo),t===null)throw Error(u(387));i=e.pendingProps;var r=e.memoizedState;s=r.element,ho(t,e),Hi(e,i,null,n);var f=e.memoizedState;if(i=f.cache,Cn(e,Gt,i),i!==r.cache&&so(e,[Gt],n,!0),Li(),i=f.element,r.isDehydrated)if(r={element:i,isDehydrated:!1,cache:f.cache},e.updateQueue.baseState=r,e.memoizedState=r,e.flags&256){e=wd(t,e,i,n);break t}else if(i!==s){s=Re(Error(u(424)),e),Ri(s),e=wd(t,e,i,n);break t}else{switch(t=e.stateNode.containerInfo,t.nodeType){case 9:t=t.body;break;default:t=t.nodeName==="HTML"?t.ownerDocument.body:t}for(jt=Ue(t.firstChild),te=e,gt=!0,Mn=null,_e=!0,n=Ah(e,null,i,n),e.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling}else{if(sa(),i===s){e=hn(t,e,n);break t}ne(t,e,i,n)}e=e.child}return e;case 26:return ds(t,e),t===null?(n=Xm(e.type,null,e.pendingProps,null))?e.memoizedState=n:gt||(n=e.type,t=e.pendingProps,i=js(ct.current).createElement(n),i[It]=e,i[fe]=t,ae(i,n,t),Wt(i),e.stateNode=i):e.memoizedState=Xm(e.type,t.memoizedProps,e.pendingProps,t.memoizedState),null;case 27:return yi(e),t===null&&gt&&(i=e.stateNode=qm(e.type,e.pendingProps,ct.current),te=e,_e=!0,s=jt,qn(e.type)?(Dr=s,jt=Ue(i.firstChild)):jt=s),ne(t,e,e.pendingProps.children,n),ds(t,e),t===null&&(e.flags|=4194304),e.child;case 5:return t===null&&gt&&((s=i=jt)&&(i=z1(i,e.type,e.pendingProps,_e),i!==null?(e.stateNode=i,te=e,jt=Ue(i.firstChild),_e=!1,s=!0):s=!1),s||Dn(e)),yi(e),s=e.type,r=e.pendingProps,f=t!==null?t.memoizedProps:null,i=r.children,Sr(s,r)?i=null:f!==null&&Sr(s,f)&&(e.flags|=32),e.memoizedState!==null&&(s=bo(t,e,Qv,null,null,n),ll._currentValue=s),ds(t,e),ne(t,e,i,n),e.child;case 6:return t===null&&gt&&((t=n=jt)&&(n=j1(n,e.pendingProps,_e),n!==null?(e.stateNode=n,te=e,jt=null,t=!0):t=!1),t||Dn(e)),null;case 13:return zd(t,e,n);case 4:return ue(e,e.stateNode.containerInfo),i=e.pendingProps,t===null?e.child=ha(e,null,i,n):ne(t,e,i,n),e.child;case 11:return bd(t,e,e.type,e.pendingProps,n);case 7:return ne(t,e,e.pendingProps,n),e.child;case 8:return ne(t,e,e.pendingProps.children,n),e.child;case 12:return ne(t,e,e.pendingProps.children,n),e.child;case 10:return i=e.pendingProps,Cn(e,e.type,i.value),ne(t,e,i.children,n),e.child;case 9:return s=e.type._context,i=e.pendingProps.children,oa(e),s=ee(s),i=i(s),e.flags|=1,ne(t,e,i,n),e.child;case 14:return Sd(t,e,e.type,e.pendingProps,n);case 15:return Td(t,e,e.type,e.pendingProps,n);case 19:return Nd(t,e,n);case 31:return $v(t,e,n);case 22:return Ad(t,e,n,e.pendingProps);case 24:return oa(e),i=ee(Gt),t===null?(s=ro(),s===null&&(s=wt,r=uo(),s.pooledCache=r,r.refCount++,r!==null&&(s.pooledCacheLanes|=n),s=r),e.memoizedState={parent:i,cache:s},fo(e),Cn(e,Gt,s)):((t.lanes&n)!==0&&(ho(t,e),Hi(e,null,null,n),Li()),s=t.memoizedState,r=e.memoizedState,s.parent!==i?(s={parent:i,cache:i},e.memoizedState=s,e.lanes===0&&(e.memoizedState=e.updateQueue.baseState=s),Cn(e,Gt,i)):(i=r.cache,Cn(e,Gt,i),i!==s.cache&&so(e,[Gt],n,!0))),ne(t,e,e.pendingProps.children,n),e.child;case 29:throw e.pendingProps}throw Error(u(156,e.tag))}function dn(t){t.flags|=4}function Jo(t,e,n,i,s){if((e=(t.mode&32)!==0)&&(e=!1),e){if(t.flags|=16777216,(s&335544128)===s)if(t.stateNode.complete)t.flags|=8192;else if(lm())t.flags|=8192;else throw fa=$l,co}else t.flags&=-16777217}function Od(t,e){if(e.type!=="stylesheet"||(e.state.loading&4)!==0)t.flags&=-16777217;else if(t.flags|=16777216,!Jm(e))if(lm())t.flags|=8192;else throw fa=$l,co}function ps(t,e){e!==null&&(t.flags|=4),t.flags&16384&&(e=t.tag!==22?hf():536870912,t.lanes|=e,$a|=e)}function Zi(t,e){if(!gt)switch(t.tailMode){case"hidden":e=t.tail;for(var n=null;e!==null;)e.alternate!==null&&(n=e),e=e.sibling;n===null?t.tail=null:n.sibling=null;break;case"collapsed":n=t.tail;for(var i=null;n!==null;)n.alternate!==null&&(i=n),n=n.sibling;i===null?e||t.tail===null?t.tail=null:t.tail.sibling=null:i.sibling=null}}function Nt(t){var e=t.alternate!==null&&t.alternate.child===t.child,n=0,i=0;if(e)for(var s=t.child;s!==null;)n|=s.lanes|s.childLanes,i|=s.subtreeFlags&65011712,i|=s.flags&65011712,s.return=t,s=s.sibling;else for(s=t.child;s!==null;)n|=s.lanes|s.childLanes,i|=s.subtreeFlags,i|=s.flags,s.return=t,s=s.sibling;return t.subtreeFlags|=i,t.childLanes=n,e}function t1(t,e,n){var i=e.pendingProps;switch(eo(e),e.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Nt(e),null;case 1:return Nt(e),null;case 3:return n=e.stateNode,i=null,t!==null&&(i=t.memoizedState.cache),e.memoizedState.cache!==i&&(e.flags|=2048),rn(Gt),Lt(),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),(t===null||t.child===null)&&(Ha(e)?dn(e):t===null||t.memoizedState.isDehydrated&&(e.flags&256)===0||(e.flags|=1024,ao())),Nt(e),null;case 26:var s=e.type,r=e.memoizedState;return t===null?(dn(e),r!==null?(Nt(e),Od(e,r)):(Nt(e),Jo(e,s,null,i,n))):r?r!==t.memoizedState?(dn(e),Nt(e),Od(e,r)):(Nt(e),e.flags&=-16777217):(t=t.memoizedProps,t!==i&&dn(e),Nt(e),Jo(e,s,t,i,n)),null;case 27:if(Dl(e),n=ct.current,s=e.type,t!==null&&e.stateNode!=null)t.memoizedProps!==i&&dn(e);else{if(!i){if(e.stateNode===null)throw Error(u(166));return Nt(e),null}t=$.current,Ha(e)?hh(e):(t=qm(s,i,n),e.stateNode=t,dn(e))}return Nt(e),null;case 5:if(Dl(e),s=e.type,t!==null&&e.stateNode!=null)t.memoizedProps!==i&&dn(e);else{if(!i){if(e.stateNode===null)throw Error(u(166));return Nt(e),null}if(r=$.current,Ha(e))hh(e);else{var f=js(ct.current);switch(r){case 1:r=f.createElementNS("http://www.w3.org/2000/svg",s);break;case 2:r=f.createElementNS("http://www.w3.org/1998/Math/MathML",s);break;default:switch(s){case"svg":r=f.createElementNS("http://www.w3.org/2000/svg",s);break;case"math":r=f.createElementNS("http://www.w3.org/1998/Math/MathML",s);break;case"script":r=f.createElement("div"),r.innerHTML="<script><\/script>",r=r.removeChild(r.firstChild);break;case"select":r=typeof i.is=="string"?f.createElement("select",{is:i.is}):f.createElement("select"),i.multiple?r.multiple=!0:i.size&&(r.size=i.size);break;default:r=typeof i.is=="string"?f.createElement(s,{is:i.is}):f.createElement(s)}}r[It]=e,r[fe]=i;t:for(f=e.child;f!==null;){if(f.tag===5||f.tag===6)r.appendChild(f.stateNode);else if(f.tag!==4&&f.tag!==27&&f.child!==null){f.child.return=f,f=f.child;continue}if(f===e)break t;for(;f.sibling===null;){if(f.return===null||f.return===e)break t;f=f.return}f.sibling.return=f.return,f=f.sibling}e.stateNode=r;t:switch(ae(r,s,i),s){case"button":case"input":case"select":case"textarea":i=!!i.autoFocus;break t;case"img":i=!0;break t;default:i=!1}i&&dn(e)}}return Nt(e),Jo(e,e.type,t===null?null:t.memoizedProps,e.pendingProps,n),null;case 6:if(t&&e.stateNode!=null)t.memoizedProps!==i&&dn(e);else{if(typeof i!="string"&&e.stateNode===null)throw Error(u(166));if(t=ct.current,Ha(e)){if(t=e.stateNode,n=e.memoizedProps,i=null,s=te,s!==null)switch(s.tag){case 27:case 5:i=s.memoizedProps}t[It]=e,t=!!(t.nodeValue===n||i!==null&&i.suppressHydrationWarning===!0||zm(t.nodeValue,n)),t||Dn(e,!0)}else t=js(t).createTextNode(i),t[It]=e,e.stateNode=t}return Nt(e),null;case 31:if(n=e.memoizedState,t===null||t.memoizedState!==null){if(i=Ha(e),n!==null){if(t===null){if(!i)throw Error(u(318));if(t=e.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(u(557));t[It]=e}else sa(),(e.flags&128)===0&&(e.memoizedState=null),e.flags|=4;Nt(e),t=!1}else n=ao(),t!==null&&t.memoizedState!==null&&(t.memoizedState.hydrationErrors=n),t=!0;if(!t)return e.flags&256?(Ee(e),e):(Ee(e),null);if((e.flags&128)!==0)throw Error(u(558))}return Nt(e),null;case 13:if(i=e.memoizedState,t===null||t.memoizedState!==null&&t.memoizedState.dehydrated!==null){if(s=Ha(e),i!==null&&i.dehydrated!==null){if(t===null){if(!s)throw Error(u(318));if(s=e.memoizedState,s=s!==null?s.dehydrated:null,!s)throw Error(u(317));s[It]=e}else sa(),(e.flags&128)===0&&(e.memoizedState=null),e.flags|=4;Nt(e),s=!1}else s=ao(),t!==null&&t.memoizedState!==null&&(t.memoizedState.hydrationErrors=s),s=!0;if(!s)return e.flags&256?(Ee(e),e):(Ee(e),null)}return Ee(e),(e.flags&128)!==0?(e.lanes=n,e):(n=i!==null,t=t!==null&&t.memoizedState!==null,n&&(i=e.child,s=null,i.alternate!==null&&i.alternate.memoizedState!==null&&i.alternate.memoizedState.cachePool!==null&&(s=i.alternate.memoizedState.cachePool.pool),r=null,i.memoizedState!==null&&i.memoizedState.cachePool!==null&&(r=i.memoizedState.cachePool.pool),r!==s&&(i.flags|=2048)),n!==t&&n&&(e.child.flags|=8192),ps(e,e.updateQueue),Nt(e),null);case 4:return Lt(),t===null&&yr(e.stateNode.containerInfo),Nt(e),null;case 10:return rn(e.type),Nt(e),null;case 19:if(L(Ht),i=e.memoizedState,i===null)return Nt(e),null;if(s=(e.flags&128)!==0,r=i.rendering,r===null)if(s)Zi(i,!1);else{if(_t!==0||t!==null&&(t.flags&128)!==0)for(t=e.child;t!==null;){if(r=ns(t),r!==null){for(e.flags|=128,Zi(i,!1),t=r.updateQueue,e.updateQueue=t,ps(e,t),e.subtreeFlags=0,t=n,n=e.child;n!==null;)uh(n,t),n=n.sibling;return K(Ht,Ht.current&1|2),gt&&un(e,i.treeForkCount),e.child}t=t.sibling}i.tail!==null&&ve()>bs&&(e.flags|=128,s=!0,Zi(i,!1),e.lanes=4194304)}else{if(!s)if(t=ns(r),t!==null){if(e.flags|=128,s=!0,t=t.updateQueue,e.updateQueue=t,ps(e,t),Zi(i,!0),i.tail===null&&i.tailMode==="hidden"&&!r.alternate&&!gt)return Nt(e),null}else 2*ve()-i.renderingStartTime>bs&&n!==536870912&&(e.flags|=128,s=!0,Zi(i,!1),e.lanes=4194304);i.isBackwards?(r.sibling=e.child,e.child=r):(t=i.last,t!==null?t.sibling=r:e.child=r,i.last=r)}return i.tail!==null?(t=i.tail,i.rendering=t,i.tail=t.sibling,i.renderingStartTime=ve(),t.sibling=null,n=Ht.current,K(Ht,s?n&1|2:n&1),gt&&un(e,i.treeForkCount),t):(Nt(e),null);case 22:case 23:return Ee(e),go(),i=e.memoizedState!==null,t!==null?t.memoizedState!==null!==i&&(e.flags|=8192):i&&(e.flags|=8192),i?(n&536870912)!==0&&(e.flags&128)===0&&(Nt(e),e.subtreeFlags&6&&(e.flags|=8192)):Nt(e),n=e.updateQueue,n!==null&&ps(e,n.retryQueue),n=null,t!==null&&t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(n=t.memoizedState.cachePool.pool),i=null,e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(i=e.memoizedState.cachePool.pool),i!==n&&(e.flags|=2048),t!==null&&L(ra),null;case 24:return n=null,t!==null&&(n=t.memoizedState.cache),e.memoizedState.cache!==n&&(e.flags|=2048),rn(Gt),Nt(e),null;case 25:return null;case 30:return null}throw Error(u(156,e.tag))}function e1(t,e){switch(eo(e),e.tag){case 1:return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 3:return rn(Gt),Lt(),t=e.flags,(t&65536)!==0&&(t&128)===0?(e.flags=t&-65537|128,e):null;case 26:case 27:case 5:return Dl(e),null;case 31:if(e.memoizedState!==null){if(Ee(e),e.alternate===null)throw Error(u(340));sa()}return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 13:if(Ee(e),t=e.memoizedState,t!==null&&t.dehydrated!==null){if(e.alternate===null)throw Error(u(340));sa()}return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 19:return L(Ht),null;case 4:return Lt(),null;case 10:return rn(e.type),null;case 22:case 23:return Ee(e),go(),t!==null&&L(ra),t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 24:return rn(Gt),null;case 25:return null;default:return null}}function Vd(t,e){switch(eo(e),e.tag){case 3:rn(Gt),Lt();break;case 26:case 27:case 5:Dl(e);break;case 4:Lt();break;case 31:e.memoizedState!==null&&Ee(e);break;case 13:Ee(e);break;case 19:L(Ht);break;case 10:rn(e.type);break;case 22:case 23:Ee(e),go(),t!==null&&L(ra);break;case 24:rn(Gt)}}function Ki(t,e){try{var n=e.updateQueue,i=n!==null?n.lastEffect:null;if(i!==null){var s=i.next;n=s;do{if((n.tag&t)===t){i=void 0;var r=n.create,f=n.inst;i=r(),f.destroy=i}n=n.next}while(n!==s)}}catch(y){Et(e,e.return,y)}}function On(t,e,n){try{var i=e.updateQueue,s=i!==null?i.lastEffect:null;if(s!==null){var r=s.next;i=r;do{if((i.tag&t)===t){var f=i.inst,y=f.destroy;if(y!==void 0){f.destroy=void 0,s=e;var S=n,w=y;try{w()}catch(V){Et(s,S,V)}}}i=i.next}while(i!==r)}}catch(V){Et(e,e.return,V)}}function _d(t){var e=t.updateQueue;if(e!==null){var n=t.stateNode;try{Mh(e,n)}catch(i){Et(t,t.return,i)}}}function Bd(t,e,n){n.props=ma(t.type,t.memoizedProps),n.state=t.memoizedState;try{n.componentWillUnmount()}catch(i){Et(t,e,i)}}function ki(t,e){try{var n=t.ref;if(n!==null){switch(t.tag){case 26:case 27:case 5:var i=t.stateNode;break;case 30:i=t.stateNode;break;default:i=t.stateNode}typeof n=="function"?t.refCleanup=n(i):n.current=i}}catch(s){Et(t,e,s)}}function Fe(t,e){var n=t.ref,i=t.refCleanup;if(n!==null)if(typeof i=="function")try{i()}catch(s){Et(t,e,s)}finally{t.refCleanup=null,t=t.alternate,t!=null&&(t.refCleanup=null)}else if(typeof n=="function")try{n(null)}catch(s){Et(t,e,s)}else n.current=null}function Ud(t){var e=t.type,n=t.memoizedProps,i=t.stateNode;try{t:switch(e){case"button":case"input":case"select":case"textarea":n.autoFocus&&i.focus();break t;case"img":n.src?i.src=n.src:n.srcSet&&(i.srcset=n.srcSet)}}catch(s){Et(t,t.return,s)}}function Fo(t,e,n){try{var i=t.stateNode;A1(i,t.type,n,e),i[fe]=e}catch(s){Et(t,t.return,s)}}function Ld(t){return t.tag===5||t.tag===3||t.tag===26||t.tag===27&&qn(t.type)||t.tag===4}function Wo(t){t:for(;;){for(;t.sibling===null;){if(t.return===null||Ld(t.return))return null;t=t.return}for(t.sibling.return=t.return,t=t.sibling;t.tag!==5&&t.tag!==6&&t.tag!==18;){if(t.tag===27&&qn(t.type)||t.flags&2||t.child===null||t.tag===4)continue t;t.child.return=t,t=t.child}if(!(t.flags&2))return t.stateNode}}function Po(t,e,n){var i=t.tag;if(i===5||i===6)t=t.stateNode,e?(n.nodeType===9?n.body:n.nodeName==="HTML"?n.ownerDocument.body:n).insertBefore(t,e):(e=n.nodeType===9?n.body:n.nodeName==="HTML"?n.ownerDocument.body:n,e.appendChild(t),n=n._reactRootContainer,n!=null||e.onclick!==null||(e.onclick=an));else if(i!==4&&(i===27&&qn(t.type)&&(n=t.stateNode,e=null),t=t.child,t!==null))for(Po(t,e,n),t=t.sibling;t!==null;)Po(t,e,n),t=t.sibling}function ys(t,e,n){var i=t.tag;if(i===5||i===6)t=t.stateNode,e?n.insertBefore(t,e):n.appendChild(t);else if(i!==4&&(i===27&&qn(t.type)&&(n=t.stateNode),t=t.child,t!==null))for(ys(t,e,n),t=t.sibling;t!==null;)ys(t,e,n),t=t.sibling}function Hd(t){var e=t.stateNode,n=t.memoizedProps;try{for(var i=t.type,s=e.attributes;s.length;)e.removeAttributeNode(s[0]);ae(e,i,n),e[It]=t,e[fe]=n}catch(r){Et(t,t.return,r)}}var mn=!1,Zt=!1,$o=!1,qd=typeof WeakSet=="function"?WeakSet:Set,Pt=null;function n1(t,e){if(t=t.containerInfo,xr=Us,t=$f(t),Qu(t)){if("selectionStart"in t)var n={start:t.selectionStart,end:t.selectionEnd};else t:{n=(n=t.ownerDocument)&&n.defaultView||window;var i=n.getSelection&&n.getSelection();if(i&&i.rangeCount!==0){n=i.anchorNode;var s=i.anchorOffset,r=i.focusNode;i=i.focusOffset;try{n.nodeType,r.nodeType}catch{n=null;break t}var f=0,y=-1,S=-1,w=0,V=0,U=t,z=null;e:for(;;){for(var N;U!==n||s!==0&&U.nodeType!==3||(y=f+s),U!==r||i!==0&&U.nodeType!==3||(S=f+i),U.nodeType===3&&(f+=U.nodeValue.length),(N=U.firstChild)!==null;)z=U,U=N;for(;;){if(U===t)break e;if(z===n&&++w===s&&(y=f),z===r&&++V===i&&(S=f),(N=U.nextSibling)!==null)break;U=z,z=U.parentNode}U=N}n=y===-1||S===-1?null:{start:y,end:S}}else n=null}n=n||{start:0,end:0}}else n=null;for(br={focusedElem:t,selectionRange:n},Us=!1,Pt=e;Pt!==null;)if(e=Pt,t=e.child,(e.subtreeFlags&1028)!==0&&t!==null)t.return=e,Pt=t;else for(;Pt!==null;){switch(e=Pt,r=e.alternate,t=e.flags,e.tag){case 0:if((t&4)!==0&&(t=e.updateQueue,t=t!==null?t.events:null,t!==null))for(n=0;n<t.length;n++)s=t[n],s.ref.impl=s.nextImpl;break;case 11:case 15:break;case 1:if((t&1024)!==0&&r!==null){t=void 0,n=e,s=r.memoizedProps,r=r.memoizedState,i=n.stateNode;try{var W=ma(n.type,s);t=i.getSnapshotBeforeUpdate(W,r),i.__reactInternalSnapshotBeforeUpdate=t}catch(nt){Et(n,n.return,nt)}}break;case 3:if((t&1024)!==0){if(t=e.stateNode.containerInfo,n=t.nodeType,n===9)Ar(t);else if(n===1)switch(t.nodeName){case"HEAD":case"HTML":case"BODY":Ar(t);break;default:t.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((t&1024)!==0)throw Error(u(163))}if(t=e.sibling,t!==null){t.return=e.return,Pt=t;break}Pt=e.return}}function Yd(t,e,n){var i=n.flags;switch(n.tag){case 0:case 11:case 15:yn(t,n),i&4&&Ki(5,n);break;case 1:if(yn(t,n),i&4)if(t=n.stateNode,e===null)try{t.componentDidMount()}catch(f){Et(n,n.return,f)}else{var s=ma(n.type,e.memoizedProps);e=e.memoizedState;try{t.componentDidUpdate(s,e,t.__reactInternalSnapshotBeforeUpdate)}catch(f){Et(n,n.return,f)}}i&64&&_d(n),i&512&&ki(n,n.return);break;case 3:if(yn(t,n),i&64&&(t=n.updateQueue,t!==null)){if(e=null,n.child!==null)switch(n.child.tag){case 27:case 5:e=n.child.stateNode;break;case 1:e=n.child.stateNode}try{Mh(t,e)}catch(f){Et(n,n.return,f)}}break;case 27:e===null&&i&4&&Hd(n);case 26:case 5:yn(t,n),e===null&&i&4&&Ud(n),i&512&&ki(n,n.return);break;case 12:yn(t,n);break;case 31:yn(t,n),i&4&&Qd(t,n);break;case 13:yn(t,n),i&4&&Zd(t,n),i&64&&(t=n.memoizedState,t!==null&&(t=t.dehydrated,t!==null&&(n=f1.bind(null,n),N1(t,n))));break;case 22:if(i=n.memoizedState!==null||mn,!i){e=e!==null&&e.memoizedState!==null||Zt,s=mn;var r=Zt;mn=i,(Zt=e)&&!r?gn(t,n,(n.subtreeFlags&8772)!==0):yn(t,n),mn=s,Zt=r}break;case 30:break;default:yn(t,n)}}function Gd(t){var e=t.alternate;e!==null&&(t.alternate=null,Gd(e)),t.child=null,t.deletions=null,t.sibling=null,t.tag===5&&(e=t.stateNode,e!==null&&Cu(e)),t.stateNode=null,t.return=null,t.dependencies=null,t.memoizedProps=null,t.memoizedState=null,t.pendingProps=null,t.stateNode=null,t.updateQueue=null}var Ot=null,de=!1;function pn(t,e,n){for(n=n.child;n!==null;)Xd(t,e,n),n=n.sibling}function Xd(t,e,n){if(xe&&typeof xe.onCommitFiberUnmount=="function")try{xe.onCommitFiberUnmount(gi,n)}catch{}switch(n.tag){case 26:Zt||Fe(n,e),pn(t,e,n),n.memoizedState?n.memoizedState.count--:n.stateNode&&(n=n.stateNode,n.parentNode.removeChild(n));break;case 27:Zt||Fe(n,e);var i=Ot,s=de;qn(n.type)&&(Ot=n.stateNode,de=!1),pn(t,e,n),nl(n.stateNode),Ot=i,de=s;break;case 5:Zt||Fe(n,e);case 6:if(i=Ot,s=de,Ot=null,pn(t,e,n),Ot=i,de=s,Ot!==null)if(de)try{(Ot.nodeType===9?Ot.body:Ot.nodeName==="HTML"?Ot.ownerDocument.body:Ot).removeChild(n.stateNode)}catch(r){Et(n,e,r)}else try{Ot.removeChild(n.stateNode)}catch(r){Et(n,e,r)}break;case 18:Ot!==null&&(de?(t=Ot,_m(t.nodeType===9?t.body:t.nodeName==="HTML"?t.ownerDocument.body:t,n.stateNode),si(t)):_m(Ot,n.stateNode));break;case 4:i=Ot,s=de,Ot=n.stateNode.containerInfo,de=!0,pn(t,e,n),Ot=i,de=s;break;case 0:case 11:case 14:case 15:On(2,n,e),Zt||On(4,n,e),pn(t,e,n);break;case 1:Zt||(Fe(n,e),i=n.stateNode,typeof i.componentWillUnmount=="function"&&Bd(n,e,i)),pn(t,e,n);break;case 21:pn(t,e,n);break;case 22:Zt=(i=Zt)||n.memoizedState!==null,pn(t,e,n),Zt=i;break;default:pn(t,e,n)}}function Qd(t,e){if(e.memoizedState===null&&(t=e.alternate,t!==null&&(t=t.memoizedState,t!==null))){t=t.dehydrated;try{si(t)}catch(n){Et(e,e.return,n)}}}function Zd(t,e){if(e.memoizedState===null&&(t=e.alternate,t!==null&&(t=t.memoizedState,t!==null&&(t=t.dehydrated,t!==null))))try{si(t)}catch(n){Et(e,e.return,n)}}function a1(t){switch(t.tag){case 31:case 13:case 19:var e=t.stateNode;return e===null&&(e=t.stateNode=new qd),e;case 22:return t=t.stateNode,e=t._retryCache,e===null&&(e=t._retryCache=new qd),e;default:throw Error(u(435,t.tag))}}function gs(t,e){var n=a1(t);e.forEach(function(i){if(!n.has(i)){n.add(i);var s=h1.bind(null,t,i);i.then(s,s)}})}function me(t,e){var n=e.deletions;if(n!==null)for(var i=0;i<n.length;i++){var s=n[i],r=t,f=e,y=f;t:for(;y!==null;){switch(y.tag){case 27:if(qn(y.type)){Ot=y.stateNode,de=!1;break t}break;case 5:Ot=y.stateNode,de=!1;break t;case 3:case 4:Ot=y.stateNode.containerInfo,de=!0;break t}y=y.return}if(Ot===null)throw Error(u(160));Xd(r,f,s),Ot=null,de=!1,r=s.alternate,r!==null&&(r.return=null),s.return=null}if(e.subtreeFlags&13886)for(e=e.child;e!==null;)Kd(e,t),e=e.sibling}var Ge=null;function Kd(t,e){var n=t.alternate,i=t.flags;switch(t.tag){case 0:case 11:case 14:case 15:me(e,t),pe(t),i&4&&(On(3,t,t.return),Ki(3,t),On(5,t,t.return));break;case 1:me(e,t),pe(t),i&512&&(Zt||n===null||Fe(n,n.return)),i&64&&mn&&(t=t.updateQueue,t!==null&&(i=t.callbacks,i!==null&&(n=t.shared.hiddenCallbacks,t.shared.hiddenCallbacks=n===null?i:n.concat(i))));break;case 26:var s=Ge;if(me(e,t),pe(t),i&512&&(Zt||n===null||Fe(n,n.return)),i&4){var r=n!==null?n.memoizedState:null;if(i=t.memoizedState,n===null)if(i===null)if(t.stateNode===null){t:{i=t.type,n=t.memoizedProps,s=s.ownerDocument||s;e:switch(i){case"title":r=s.getElementsByTagName("title")[0],(!r||r[bi]||r[It]||r.namespaceURI==="http://www.w3.org/2000/svg"||r.hasAttribute("itemprop"))&&(r=s.createElement(i),s.head.insertBefore(r,s.querySelector("head > title"))),ae(r,i,n),r[It]=t,Wt(r),i=r;break t;case"link":var f=Km("link","href",s).get(i+(n.href||""));if(f){for(var y=0;y<f.length;y++)if(r=f[y],r.getAttribute("href")===(n.href==null||n.href===""?null:n.href)&&r.getAttribute("rel")===(n.rel==null?null:n.rel)&&r.getAttribute("title")===(n.title==null?null:n.title)&&r.getAttribute("crossorigin")===(n.crossOrigin==null?null:n.crossOrigin)){f.splice(y,1);break e}}r=s.createElement(i),ae(r,i,n),s.head.appendChild(r);break;case"meta":if(f=Km("meta","content",s).get(i+(n.content||""))){for(y=0;y<f.length;y++)if(r=f[y],r.getAttribute("content")===(n.content==null?null:""+n.content)&&r.getAttribute("name")===(n.name==null?null:n.name)&&r.getAttribute("property")===(n.property==null?null:n.property)&&r.getAttribute("http-equiv")===(n.httpEquiv==null?null:n.httpEquiv)&&r.getAttribute("charset")===(n.charSet==null?null:n.charSet)){f.splice(y,1);break e}}r=s.createElement(i),ae(r,i,n),s.head.appendChild(r);break;default:throw Error(u(468,i))}r[It]=t,Wt(r),i=r}t.stateNode=i}else km(s,t.type,t.stateNode);else t.stateNode=Zm(s,i,t.memoizedProps);else r!==i?(r===null?n.stateNode!==null&&(n=n.stateNode,n.parentNode.removeChild(n)):r.count--,i===null?km(s,t.type,t.stateNode):Zm(s,i,t.memoizedProps)):i===null&&t.stateNode!==null&&Fo(t,t.memoizedProps,n.memoizedProps)}break;case 27:me(e,t),pe(t),i&512&&(Zt||n===null||Fe(n,n.return)),n!==null&&i&4&&Fo(t,t.memoizedProps,n.memoizedProps);break;case 5:if(me(e,t),pe(t),i&512&&(Zt||n===null||Fe(n,n.return)),t.flags&32){s=t.stateNode;try{za(s,"")}catch(W){Et(t,t.return,W)}}i&4&&t.stateNode!=null&&(s=t.memoizedProps,Fo(t,s,n!==null?n.memoizedProps:s)),i&1024&&($o=!0);break;case 6:if(me(e,t),pe(t),i&4){if(t.stateNode===null)throw Error(u(162));i=t.memoizedProps,n=t.stateNode;try{n.nodeValue=i}catch(W){Et(t,t.return,W)}}break;case 3:if(Os=null,s=Ge,Ge=Ns(e.containerInfo),me(e,t),Ge=s,pe(t),i&4&&n!==null&&n.memoizedState.isDehydrated)try{si(e.containerInfo)}catch(W){Et(t,t.return,W)}$o&&($o=!1,kd(t));break;case 4:i=Ge,Ge=Ns(t.stateNode.containerInfo),me(e,t),pe(t),Ge=i;break;case 12:me(e,t),pe(t);break;case 31:me(e,t),pe(t),i&4&&(i=t.updateQueue,i!==null&&(t.updateQueue=null,gs(t,i)));break;case 13:me(e,t),pe(t),t.child.flags&8192&&t.memoizedState!==null!=(n!==null&&n.memoizedState!==null)&&(xs=ve()),i&4&&(i=t.updateQueue,i!==null&&(t.updateQueue=null,gs(t,i)));break;case 22:s=t.memoizedState!==null;var S=n!==null&&n.memoizedState!==null,w=mn,V=Zt;if(mn=w||s,Zt=V||S,me(e,t),Zt=V,mn=w,pe(t),i&8192)t:for(e=t.stateNode,e._visibility=s?e._visibility&-2:e._visibility|1,s&&(n===null||S||mn||Zt||pa(t)),n=null,e=t;;){if(e.tag===5||e.tag===26){if(n===null){S=n=e;try{if(r=S.stateNode,s)f=r.style,typeof f.setProperty=="function"?f.setProperty("display","none","important"):f.display="none";else{y=S.stateNode;var U=S.memoizedProps.style,z=U!=null&&U.hasOwnProperty("display")?U.display:null;y.style.display=z==null||typeof z=="boolean"?"":(""+z).trim()}}catch(W){Et(S,S.return,W)}}}else if(e.tag===6){if(n===null){S=e;try{S.stateNode.nodeValue=s?"":S.memoizedProps}catch(W){Et(S,S.return,W)}}}else if(e.tag===18){if(n===null){S=e;try{var N=S.stateNode;s?Bm(N,!0):Bm(S.stateNode,!1)}catch(W){Et(S,S.return,W)}}}else if((e.tag!==22&&e.tag!==23||e.memoizedState===null||e===t)&&e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break t;for(;e.sibling===null;){if(e.return===null||e.return===t)break t;n===e&&(n=null),e=e.return}n===e&&(n=null),e.sibling.return=e.return,e=e.sibling}i&4&&(i=t.updateQueue,i!==null&&(n=i.retryQueue,n!==null&&(i.retryQueue=null,gs(t,n))));break;case 19:me(e,t),pe(t),i&4&&(i=t.updateQueue,i!==null&&(t.updateQueue=null,gs(t,i)));break;case 30:break;case 21:break;default:me(e,t),pe(t)}}function pe(t){var e=t.flags;if(e&2){try{for(var n,i=t.return;i!==null;){if(Ld(i)){n=i;break}i=i.return}if(n==null)throw Error(u(160));switch(n.tag){case 27:var s=n.stateNode,r=Wo(t);ys(t,r,s);break;case 5:var f=n.stateNode;n.flags&32&&(za(f,""),n.flags&=-33);var y=Wo(t);ys(t,y,f);break;case 3:case 4:var S=n.stateNode.containerInfo,w=Wo(t);Po(t,w,S);break;default:throw Error(u(161))}}catch(V){Et(t,t.return,V)}t.flags&=-3}e&4096&&(t.flags&=-4097)}function kd(t){if(t.subtreeFlags&1024)for(t=t.child;t!==null;){var e=t;kd(e),e.tag===5&&e.flags&1024&&e.stateNode.reset(),t=t.sibling}}function yn(t,e){if(e.subtreeFlags&8772)for(e=e.child;e!==null;)Yd(t,e.alternate,e),e=e.sibling}function pa(t){for(t=t.child;t!==null;){var e=t;switch(e.tag){case 0:case 11:case 14:case 15:On(4,e,e.return),pa(e);break;case 1:Fe(e,e.return);var n=e.stateNode;typeof n.componentWillUnmount=="function"&&Bd(e,e.return,n),pa(e);break;case 27:nl(e.stateNode);case 26:case 5:Fe(e,e.return),pa(e);break;case 22:e.memoizedState===null&&pa(e);break;case 30:pa(e);break;default:pa(e)}t=t.sibling}}function gn(t,e,n){for(n=n&&(e.subtreeFlags&8772)!==0,e=e.child;e!==null;){var i=e.alternate,s=t,r=e,f=r.flags;switch(r.tag){case 0:case 11:case 15:gn(s,r,n),Ki(4,r);break;case 1:if(gn(s,r,n),i=r,s=i.stateNode,typeof s.componentDidMount=="function")try{s.componentDidMount()}catch(w){Et(i,i.return,w)}if(i=r,s=i.updateQueue,s!==null){var y=i.stateNode;try{var S=s.shared.hiddenCallbacks;if(S!==null)for(s.shared.hiddenCallbacks=null,s=0;s<S.length;s++)Eh(S[s],y)}catch(w){Et(i,i.return,w)}}n&&f&64&&_d(r),ki(r,r.return);break;case 27:Hd(r);case 26:case 5:gn(s,r,n),n&&i===null&&f&4&&Ud(r),ki(r,r.return);break;case 12:gn(s,r,n);break;case 31:gn(s,r,n),n&&f&4&&Qd(s,r);break;case 13:gn(s,r,n),n&&f&4&&Zd(s,r);break;case 22:r.memoizedState===null&&gn(s,r,n),ki(r,r.return);break;case 30:break;default:gn(s,r,n)}e=e.sibling}}function Io(t,e){var n=null;t!==null&&t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(n=t.memoizedState.cachePool.pool),t=null,e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(t=e.memoizedState.cachePool.pool),t!==n&&(t!=null&&t.refCount++,n!=null&&Oi(n))}function tr(t,e){t=null,e.alternate!==null&&(t=e.alternate.memoizedState.cache),e=e.memoizedState.cache,e!==t&&(e.refCount++,t!=null&&Oi(t))}function Xe(t,e,n,i){if(e.subtreeFlags&10256)for(e=e.child;e!==null;)Jd(t,e,n,i),e=e.sibling}function Jd(t,e,n,i){var s=e.flags;switch(e.tag){case 0:case 11:case 15:Xe(t,e,n,i),s&2048&&Ki(9,e);break;case 1:Xe(t,e,n,i);break;case 3:Xe(t,e,n,i),s&2048&&(t=null,e.alternate!==null&&(t=e.alternate.memoizedState.cache),e=e.memoizedState.cache,e!==t&&(e.refCount++,t!=null&&Oi(t)));break;case 12:if(s&2048){Xe(t,e,n,i),t=e.stateNode;try{var r=e.memoizedProps,f=r.id,y=r.onPostCommit;typeof y=="function"&&y(f,e.alternate===null?"mount":"update",t.passiveEffectDuration,-0)}catch(S){Et(e,e.return,S)}}else Xe(t,e,n,i);break;case 31:Xe(t,e,n,i);break;case 13:Xe(t,e,n,i);break;case 23:break;case 22:r=e.stateNode,f=e.alternate,e.memoizedState!==null?r._visibility&2?Xe(t,e,n,i):Ji(t,e):r._visibility&2?Xe(t,e,n,i):(r._visibility|=2,Fa(t,e,n,i,(e.subtreeFlags&10256)!==0||!1)),s&2048&&Io(f,e);break;case 24:Xe(t,e,n,i),s&2048&&tr(e.alternate,e);break;default:Xe(t,e,n,i)}}function Fa(t,e,n,i,s){for(s=s&&((e.subtreeFlags&10256)!==0||!1),e=e.child;e!==null;){var r=t,f=e,y=n,S=i,w=f.flags;switch(f.tag){case 0:case 11:case 15:Fa(r,f,y,S,s),Ki(8,f);break;case 23:break;case 22:var V=f.stateNode;f.memoizedState!==null?V._visibility&2?Fa(r,f,y,S,s):Ji(r,f):(V._visibility|=2,Fa(r,f,y,S,s)),s&&w&2048&&Io(f.alternate,f);break;case 24:Fa(r,f,y,S,s),s&&w&2048&&tr(f.alternate,f);break;default:Fa(r,f,y,S,s)}e=e.sibling}}function Ji(t,e){if(e.subtreeFlags&10256)for(e=e.child;e!==null;){var n=t,i=e,s=i.flags;switch(i.tag){case 22:Ji(n,i),s&2048&&Io(i.alternate,i);break;case 24:Ji(n,i),s&2048&&tr(i.alternate,i);break;default:Ji(n,i)}e=e.sibling}}var Fi=8192;function Wa(t,e,n){if(t.subtreeFlags&Fi)for(t=t.child;t!==null;)Fd(t,e,n),t=t.sibling}function Fd(t,e,n){switch(t.tag){case 26:Wa(t,e,n),t.flags&Fi&&t.memoizedState!==null&&X1(n,Ge,t.memoizedState,t.memoizedProps);break;case 5:Wa(t,e,n);break;case 3:case 4:var i=Ge;Ge=Ns(t.stateNode.containerInfo),Wa(t,e,n),Ge=i;break;case 22:t.memoizedState===null&&(i=t.alternate,i!==null&&i.memoizedState!==null?(i=Fi,Fi=16777216,Wa(t,e,n),Fi=i):Wa(t,e,n));break;default:Wa(t,e,n)}}function Wd(t){var e=t.alternate;if(e!==null&&(t=e.child,t!==null)){e.child=null;do e=t.sibling,t.sibling=null,t=e;while(t!==null)}}function Wi(t){var e=t.deletions;if((t.flags&16)!==0){if(e!==null)for(var n=0;n<e.length;n++){var i=e[n];Pt=i,$d(i,t)}Wd(t)}if(t.subtreeFlags&10256)for(t=t.child;t!==null;)Pd(t),t=t.sibling}function Pd(t){switch(t.tag){case 0:case 11:case 15:Wi(t),t.flags&2048&&On(9,t,t.return);break;case 3:Wi(t);break;case 12:Wi(t);break;case 22:var e=t.stateNode;t.memoizedState!==null&&e._visibility&2&&(t.return===null||t.return.tag!==13)?(e._visibility&=-3,vs(t)):Wi(t);break;default:Wi(t)}}function vs(t){var e=t.deletions;if((t.flags&16)!==0){if(e!==null)for(var n=0;n<e.length;n++){var i=e[n];Pt=i,$d(i,t)}Wd(t)}for(t=t.child;t!==null;){switch(e=t,e.tag){case 0:case 11:case 15:On(8,e,e.return),vs(e);break;case 22:n=e.stateNode,n._visibility&2&&(n._visibility&=-3,vs(e));break;default:vs(e)}t=t.sibling}}function $d(t,e){for(;Pt!==null;){var n=Pt;switch(n.tag){case 0:case 11:case 15:On(8,n,e);break;case 23:case 22:if(n.memoizedState!==null&&n.memoizedState.cachePool!==null){var i=n.memoizedState.cachePool.pool;i!=null&&i.refCount++}break;case 24:Oi(n.memoizedState.cache)}if(i=n.child,i!==null)i.return=n,Pt=i;else t:for(n=t;Pt!==null;){i=Pt;var s=i.sibling,r=i.return;if(Gd(i),i===n){Pt=null;break t}if(s!==null){s.return=r,Pt=s;break t}Pt=r}}}var i1={getCacheForType:function(t){var e=ee(Gt),n=e.data.get(t);return n===void 0&&(n=t(),e.data.set(t,n)),n},cacheSignal:function(){return ee(Gt).controller.signal}},l1=typeof WeakMap=="function"?WeakMap:Map,St=0,wt=null,ft=null,dt=0,At=0,Me=null,Vn=!1,Pa=!1,er=!1,vn=0,_t=0,_n=0,ya=0,nr=0,De=0,$a=0,Pi=null,ye=null,ar=!1,xs=0,Id=0,bs=1/0,Ss=null,Bn=null,kt=0,Un=null,Ia=null,xn=0,ir=0,lr=null,tm=null,$i=0,sr=null;function Ce(){return(St&2)!==0&&dt!==0?dt&-dt:R.T!==null?hr():yf()}function em(){if(De===0)if((dt&536870912)===0||gt){var t=zl;zl<<=1,(zl&3932160)===0&&(zl=262144),De=t}else De=536870912;return t=Ae.current,t!==null&&(t.flags|=32),De}function ge(t,e,n){(t===wt&&(At===2||At===9)||t.cancelPendingCommit!==null)&&(ti(t,0),Ln(t,dt,De,!1)),xi(t,n),((St&2)===0||t!==wt)&&(t===wt&&((St&2)===0&&(ya|=n),_t===4&&Ln(t,dt,De,!1)),We(t))}function nm(t,e,n){if((St&6)!==0)throw Error(u(327));var i=!n&&(e&127)===0&&(e&t.expiredLanes)===0||vi(t,e),s=i?o1(t,e):or(t,e,!0),r=i;do{if(s===0){Pa&&!i&&Ln(t,e,0,!1);break}else{if(n=t.current.alternate,r&&!s1(n)){s=or(t,e,!1),r=!1;continue}if(s===2){if(r=e,t.errorRecoveryDisabledLanes&r)var f=0;else f=t.pendingLanes&-536870913,f=f!==0?f:f&536870912?536870912:0;if(f!==0){e=f;t:{var y=t;s=Pi;var S=y.current.memoizedState.isDehydrated;if(S&&(ti(y,f).flags|=256),f=or(y,f,!1),f!==2){if(er&&!S){y.errorRecoveryDisabledLanes|=r,ya|=r,s=4;break t}r=ye,ye=s,r!==null&&(ye===null?ye=r:ye.push.apply(ye,r))}s=f}if(r=!1,s!==2)continue}}if(s===1){ti(t,0),Ln(t,e,0,!0);break}t:{switch(i=t,r=s,r){case 0:case 1:throw Error(u(345));case 4:if((e&4194048)!==e)break;case 6:Ln(i,e,De,!Vn);break t;case 2:ye=null;break;case 3:case 5:break;default:throw Error(u(329))}if((e&62914560)===e&&(s=xs+300-ve(),10<s)){if(Ln(i,e,De,!Vn),Nl(i,0,!0)!==0)break t;xn=e,i.timeoutHandle=Om(am.bind(null,i,n,ye,Ss,ar,e,De,ya,$a,Vn,r,"Throttled",-0,0),s);break t}am(i,n,ye,Ss,ar,e,De,ya,$a,Vn,r,null,-0,0)}}break}while(!0);We(t)}function am(t,e,n,i,s,r,f,y,S,w,V,U,z,N){if(t.timeoutHandle=-1,U=e.subtreeFlags,U&8192||(U&16785408)===16785408){U={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:an},Fd(e,r,U);var W=(r&62914560)===r?xs-ve():(r&4194048)===r?Id-ve():0;if(W=Q1(U,W),W!==null){xn=r,t.cancelPendingCommit=W(fm.bind(null,t,e,r,n,i,s,f,y,S,V,U,null,z,N)),Ln(t,r,f,!w);return}}fm(t,e,r,n,i,s,f,y,S)}function s1(t){for(var e=t;;){var n=e.tag;if((n===0||n===11||n===15)&&e.flags&16384&&(n=e.updateQueue,n!==null&&(n=n.stores,n!==null)))for(var i=0;i<n.length;i++){var s=n[i],r=s.getSnapshot;s=s.value;try{if(!Se(r(),s))return!1}catch{return!1}}if(n=e.child,e.subtreeFlags&16384&&n!==null)n.return=e,e=n;else{if(e===t)break;for(;e.sibling===null;){if(e.return===null||e.return===t)return!0;e=e.return}e.sibling.return=e.return,e=e.sibling}}return!0}function Ln(t,e,n,i){e&=~nr,e&=~ya,t.suspendedLanes|=e,t.pingedLanes&=~e,i&&(t.warmLanes|=e),i=t.expirationTimes;for(var s=e;0<s;){var r=31-be(s),f=1<<r;i[r]=-1,s&=~f}n!==0&&df(t,n,e)}function Ts(){return(St&6)===0?(Ii(0),!1):!0}function ur(){if(ft!==null){if(At===0)var t=ft.return;else t=ft,on=ua=null,Ao(t),Qa=null,_i=0,t=ft;for(;t!==null;)Vd(t.alternate,t),t=t.return;ft=null}}function ti(t,e){var n=t.timeoutHandle;n!==-1&&(t.timeoutHandle=-1,D1(n)),n=t.cancelPendingCommit,n!==null&&(t.cancelPendingCommit=null,n()),xn=0,ur(),wt=t,ft=n=sn(t.current,null),dt=e,At=0,Me=null,Vn=!1,Pa=vi(t,e),er=!1,$a=De=nr=ya=_n=_t=0,ye=Pi=null,ar=!1,(e&8)!==0&&(e|=e&32);var i=t.entangledLanes;if(i!==0)for(t=t.entanglements,i&=e;0<i;){var s=31-be(i),r=1<<s;e|=t[s],i&=~r}return vn=e,Xl(),n}function im(t,e){ut=null,R.H=Xi,e===Xa||e===Pl?(e=bh(),At=3):e===co?(e=bh(),At=4):At=e===Ho?8:e!==null&&typeof e=="object"&&typeof e.then=="function"?6:1,Me=e,ft===null&&(_t=1,fs(t,Re(e,t.current)))}function lm(){var t=Ae.current;return t===null?!0:(dt&4194048)===dt?Be===null:(dt&62914560)===dt||(dt&536870912)!==0?t===Be:!1}function sm(){var t=R.H;return R.H=Xi,t===null?Xi:t}function um(){var t=R.A;return R.A=i1,t}function As(){_t=4,Vn||(dt&4194048)!==dt&&Ae.current!==null||(Pa=!0),(_n&134217727)===0&&(ya&134217727)===0||wt===null||Ln(wt,dt,De,!1)}function or(t,e,n){var i=St;St|=2;var s=sm(),r=um();(wt!==t||dt!==e)&&(Ss=null,ti(t,e)),e=!1;var f=_t;t:do try{if(At!==0&&ft!==null){var y=ft,S=Me;switch(At){case 8:ur(),f=6;break t;case 3:case 2:case 9:case 6:Ae.current===null&&(e=!0);var w=At;if(At=0,Me=null,ei(t,y,S,w),n&&Pa){f=0;break t}break;default:w=At,At=0,Me=null,ei(t,y,S,w)}}u1(),f=_t;break}catch(V){im(t,V)}while(!0);return e&&t.shellSuspendCounter++,on=ua=null,St=i,R.H=s,R.A=r,ft===null&&(wt=null,dt=0,Xl()),f}function u1(){for(;ft!==null;)om(ft)}function o1(t,e){var n=St;St|=2;var i=sm(),s=um();wt!==t||dt!==e?(Ss=null,bs=ve()+500,ti(t,e)):Pa=vi(t,e);t:do try{if(At!==0&&ft!==null){e=ft;var r=Me;e:switch(At){case 1:At=0,Me=null,ei(t,e,r,1);break;case 2:case 9:if(vh(r)){At=0,Me=null,rm(e);break}e=function(){At!==2&&At!==9||wt!==t||(At=7),We(t)},r.then(e,e);break t;case 3:At=7;break t;case 4:At=5;break t;case 7:vh(r)?(At=0,Me=null,rm(e)):(At=0,Me=null,ei(t,e,r,7));break;case 5:var f=null;switch(ft.tag){case 26:f=ft.memoizedState;case 5:case 27:var y=ft;if(f?Jm(f):y.stateNode.complete){At=0,Me=null;var S=y.sibling;if(S!==null)ft=S;else{var w=y.return;w!==null?(ft=w,Es(w)):ft=null}break e}}At=0,Me=null,ei(t,e,r,5);break;case 6:At=0,Me=null,ei(t,e,r,6);break;case 8:ur(),_t=6;break t;default:throw Error(u(462))}}r1();break}catch(V){im(t,V)}while(!0);return on=ua=null,R.H=i,R.A=s,St=n,ft!==null?0:(wt=null,dt=0,Xl(),_t)}function r1(){for(;ft!==null&&!Rg();)om(ft)}function om(t){var e=Rd(t.alternate,t,vn);t.memoizedProps=t.pendingProps,e===null?Es(t):ft=e}function rm(t){var e=t,n=e.alternate;switch(e.tag){case 15:case 0:e=Dd(n,e,e.pendingProps,e.type,void 0,dt);break;case 11:e=Dd(n,e,e.pendingProps,e.type.render,e.ref,dt);break;case 5:Ao(e);default:Vd(n,e),e=ft=uh(e,vn),e=Rd(n,e,vn)}t.memoizedProps=t.pendingProps,e===null?Es(t):ft=e}function ei(t,e,n,i){on=ua=null,Ao(e),Qa=null,_i=0;var s=e.return;try{if(Pv(t,s,e,n,dt)){_t=1,fs(t,Re(n,t.current)),ft=null;return}}catch(r){if(s!==null)throw ft=s,r;_t=1,fs(t,Re(n,t.current)),ft=null;return}e.flags&32768?(gt||i===1?t=!0:Pa||(dt&536870912)!==0?t=!1:(Vn=t=!0,(i===2||i===9||i===3||i===6)&&(i=Ae.current,i!==null&&i.tag===13&&(i.flags|=16384))),cm(e,t)):Es(e)}function Es(t){var e=t;do{if((e.flags&32768)!==0){cm(e,Vn);return}t=e.return;var n=t1(e.alternate,e,vn);if(n!==null){ft=n;return}if(e=e.sibling,e!==null){ft=e;return}ft=e=t}while(e!==null);_t===0&&(_t=5)}function cm(t,e){do{var n=e1(t.alternate,t);if(n!==null){n.flags&=32767,ft=n;return}if(n=t.return,n!==null&&(n.flags|=32768,n.subtreeFlags=0,n.deletions=null),!e&&(t=t.sibling,t!==null)){ft=t;return}ft=t=n}while(t!==null);_t=6,ft=null}function fm(t,e,n,i,s,r,f,y,S){t.cancelPendingCommit=null;do Ms();while(kt!==0);if((St&6)!==0)throw Error(u(327));if(e!==null){if(e===t.current)throw Error(u(177));if(r=e.lanes|e.childLanes,r|=Fu,Gg(t,n,r,f,y,S),t===wt&&(ft=wt=null,dt=0),Ia=e,Un=t,xn=n,ir=r,lr=s,tm=i,(e.subtreeFlags&10256)!==0||(e.flags&10256)!==0?(t.callbackNode=null,t.callbackPriority=0,d1(Cl,function(){return ym(),null})):(t.callbackNode=null,t.callbackPriority=0),i=(e.flags&13878)!==0,(e.subtreeFlags&13878)!==0||i){i=R.T,R.T=null,s=Q.p,Q.p=2,f=St,St|=4;try{n1(t,e,n)}finally{St=f,Q.p=s,R.T=i}}kt=1,hm(),dm(),mm()}}function hm(){if(kt===1){kt=0;var t=Un,e=Ia,n=(e.flags&13878)!==0;if((e.subtreeFlags&13878)!==0||n){n=R.T,R.T=null;var i=Q.p;Q.p=2;var s=St;St|=4;try{Kd(e,t);var r=br,f=$f(t.containerInfo),y=r.focusedElem,S=r.selectionRange;if(f!==y&&y&&y.ownerDocument&&Pf(y.ownerDocument.documentElement,y)){if(S!==null&&Qu(y)){var w=S.start,V=S.end;if(V===void 0&&(V=w),"selectionStart"in y)y.selectionStart=w,y.selectionEnd=Math.min(V,y.value.length);else{var U=y.ownerDocument||document,z=U&&U.defaultView||window;if(z.getSelection){var N=z.getSelection(),W=y.textContent.length,nt=Math.min(S.start,W),Ct=S.end===void 0?nt:Math.min(S.end,W);!N.extend&&nt>Ct&&(f=Ct,Ct=nt,nt=f);var M=Wf(y,nt),A=Wf(y,Ct);if(M&&A&&(N.rangeCount!==1||N.anchorNode!==M.node||N.anchorOffset!==M.offset||N.focusNode!==A.node||N.focusOffset!==A.offset)){var C=U.createRange();C.setStart(M.node,M.offset),N.removeAllRanges(),nt>Ct?(N.addRange(C),N.extend(A.node,A.offset)):(C.setEnd(A.node,A.offset),N.addRange(C))}}}}for(U=[],N=y;N=N.parentNode;)N.nodeType===1&&U.push({element:N,left:N.scrollLeft,top:N.scrollTop});for(typeof y.focus=="function"&&y.focus(),y=0;y<U.length;y++){var B=U[y];B.element.scrollLeft=B.left,B.element.scrollTop=B.top}}Us=!!xr,br=xr=null}finally{St=s,Q.p=i,R.T=n}}t.current=e,kt=2}}function dm(){if(kt===2){kt=0;var t=Un,e=Ia,n=(e.flags&8772)!==0;if((e.subtreeFlags&8772)!==0||n){n=R.T,R.T=null;var i=Q.p;Q.p=2;var s=St;St|=4;try{Yd(t,e.alternate,e)}finally{St=s,Q.p=i,R.T=n}}kt=3}}function mm(){if(kt===4||kt===3){kt=0,Og();var t=Un,e=Ia,n=xn,i=tm;(e.subtreeFlags&10256)!==0||(e.flags&10256)!==0?kt=5:(kt=0,Ia=Un=null,pm(t,t.pendingLanes));var s=t.pendingLanes;if(s===0&&(Bn=null),Mu(n),e=e.stateNode,xe&&typeof xe.onCommitFiberRoot=="function")try{xe.onCommitFiberRoot(gi,e,void 0,(e.current.flags&128)===128)}catch{}if(i!==null){e=R.T,s=Q.p,Q.p=2,R.T=null;try{for(var r=t.onRecoverableError,f=0;f<i.length;f++){var y=i[f];r(y.value,{componentStack:y.stack})}}finally{R.T=e,Q.p=s}}(xn&3)!==0&&Ms(),We(t),s=t.pendingLanes,(n&261930)!==0&&(s&42)!==0?t===sr?$i++:($i=0,sr=t):$i=0,Ii(0)}}function pm(t,e){(t.pooledCacheLanes&=e)===0&&(e=t.pooledCache,e!=null&&(t.pooledCache=null,Oi(e)))}function Ms(){return hm(),dm(),mm(),ym()}function ym(){if(kt!==5)return!1;var t=Un,e=ir;ir=0;var n=Mu(xn),i=R.T,s=Q.p;try{Q.p=32>n?32:n,R.T=null,n=lr,lr=null;var r=Un,f=xn;if(kt=0,Ia=Un=null,xn=0,(St&6)!==0)throw Error(u(331));var y=St;if(St|=4,Pd(r.current),Jd(r,r.current,f,n),St=y,Ii(0,!1),xe&&typeof xe.onPostCommitFiberRoot=="function")try{xe.onPostCommitFiberRoot(gi,r)}catch{}return!0}finally{Q.p=s,R.T=i,pm(t,e)}}function gm(t,e,n){e=Re(n,e),e=Lo(t.stateNode,e,2),t=jn(t,e,2),t!==null&&(xi(t,2),We(t))}function Et(t,e,n){if(t.tag===3)gm(t,t,n);else for(;e!==null;){if(e.tag===3){gm(e,t,n);break}else if(e.tag===1){var i=e.stateNode;if(typeof e.type.getDerivedStateFromError=="function"||typeof i.componentDidCatch=="function"&&(Bn===null||!Bn.has(i))){t=Re(n,t),n=vd(2),i=jn(e,n,2),i!==null&&(xd(n,i,e,t),xi(i,2),We(i));break}}e=e.return}}function rr(t,e,n){var i=t.pingCache;if(i===null){i=t.pingCache=new l1;var s=new Set;i.set(e,s)}else s=i.get(e),s===void 0&&(s=new Set,i.set(e,s));s.has(n)||(er=!0,s.add(n),t=c1.bind(null,t,e,n),e.then(t,t))}function c1(t,e,n){var i=t.pingCache;i!==null&&i.delete(e),t.pingedLanes|=t.suspendedLanes&n,t.warmLanes&=~n,wt===t&&(dt&n)===n&&(_t===4||_t===3&&(dt&62914560)===dt&&300>ve()-xs?(St&2)===0&&ti(t,0):nr|=n,$a===dt&&($a=0)),We(t)}function vm(t,e){e===0&&(e=hf()),t=ia(t,e),t!==null&&(xi(t,e),We(t))}function f1(t){var e=t.memoizedState,n=0;e!==null&&(n=e.retryLane),vm(t,n)}function h1(t,e){var n=0;switch(t.tag){case 31:case 13:var i=t.stateNode,s=t.memoizedState;s!==null&&(n=s.retryLane);break;case 19:i=t.stateNode;break;case 22:i=t.stateNode._retryCache;break;default:throw Error(u(314))}i!==null&&i.delete(e),vm(t,n)}function d1(t,e){return Su(t,e)}var Ds=null,ni=null,cr=!1,Cs=!1,fr=!1,Hn=0;function We(t){t!==ni&&t.next===null&&(ni===null?Ds=ni=t:ni=ni.next=t),Cs=!0,cr||(cr=!0,p1())}function Ii(t,e){if(!fr&&Cs){fr=!0;do for(var n=!1,i=Ds;i!==null;){if(t!==0){var s=i.pendingLanes;if(s===0)var r=0;else{var f=i.suspendedLanes,y=i.pingedLanes;r=(1<<31-be(42|t)+1)-1,r&=s&~(f&~y),r=r&201326741?r&201326741|1:r?r|2:0}r!==0&&(n=!0,Tm(i,r))}else r=dt,r=Nl(i,i===wt?r:0,i.cancelPendingCommit!==null||i.timeoutHandle!==-1),(r&3)===0||vi(i,r)||(n=!0,Tm(i,r));i=i.next}while(n);fr=!1}}function m1(){xm()}function xm(){Cs=cr=!1;var t=0;Hn!==0&&M1()&&(t=Hn);for(var e=ve(),n=null,i=Ds;i!==null;){var s=i.next,r=bm(i,e);r===0?(i.next=null,n===null?Ds=s:n.next=s,s===null&&(ni=n)):(n=i,(t!==0||(r&3)!==0)&&(Cs=!0)),i=s}kt!==0&&kt!==5||Ii(t),Hn!==0&&(Hn=0)}function bm(t,e){for(var n=t.suspendedLanes,i=t.pingedLanes,s=t.expirationTimes,r=t.pendingLanes&-62914561;0<r;){var f=31-be(r),y=1<<f,S=s[f];S===-1?((y&n)===0||(y&i)!==0)&&(s[f]=Yg(y,e)):S<=e&&(t.expiredLanes|=y),r&=~y}if(e=wt,n=dt,n=Nl(t,t===e?n:0,t.cancelPendingCommit!==null||t.timeoutHandle!==-1),i=t.callbackNode,n===0||t===e&&(At===2||At===9)||t.cancelPendingCommit!==null)return i!==null&&i!==null&&Tu(i),t.callbackNode=null,t.callbackPriority=0;if((n&3)===0||vi(t,n)){if(e=n&-n,e===t.callbackPriority)return e;switch(i!==null&&Tu(i),Mu(n)){case 2:case 8:n=cf;break;case 32:n=Cl;break;case 268435456:n=ff;break;default:n=Cl}return i=Sm.bind(null,t),n=Su(n,i),t.callbackPriority=e,t.callbackNode=n,e}return i!==null&&i!==null&&Tu(i),t.callbackPriority=2,t.callbackNode=null,2}function Sm(t,e){if(kt!==0&&kt!==5)return t.callbackNode=null,t.callbackPriority=0,null;var n=t.callbackNode;if(Ms()&&t.callbackNode!==n)return null;var i=dt;return i=Nl(t,t===wt?i:0,t.cancelPendingCommit!==null||t.timeoutHandle!==-1),i===0?null:(nm(t,i,e),bm(t,ve()),t.callbackNode!=null&&t.callbackNode===n?Sm.bind(null,t):null)}function Tm(t,e){if(Ms())return null;nm(t,e,!0)}function p1(){C1(function(){(St&6)!==0?Su(rf,m1):xm()})}function hr(){if(Hn===0){var t=Ya;t===0&&(t=wl,wl<<=1,(wl&261888)===0&&(wl=256)),Hn=t}return Hn}function Am(t){return t==null||typeof t=="symbol"||typeof t=="boolean"?null:typeof t=="function"?t:_l(""+t)}function Em(t,e){var n=e.ownerDocument.createElement("input");return n.name=e.name,n.value=e.value,t.id&&n.setAttribute("form",t.id),e.parentNode.insertBefore(n,e),t=new FormData(t),n.parentNode.removeChild(n),t}function y1(t,e,n,i,s){if(e==="submit"&&n&&n.stateNode===s){var r=Am((s[fe]||null).action),f=i.submitter;f&&(e=(e=f[fe]||null)?Am(e.formAction):f.getAttribute("formAction"),e!==null&&(r=e,f=null));var y=new Hl("action","action",null,i,s);t.push({event:y,listeners:[{instance:null,listener:function(){if(i.defaultPrevented){if(Hn!==0){var S=f?Em(s,f):new FormData(s);Ro(n,{pending:!0,data:S,method:s.method,action:r},null,S)}}else typeof r=="function"&&(y.preventDefault(),S=f?Em(s,f):new FormData(s),Ro(n,{pending:!0,data:S,method:s.method,action:r},r,S))},currentTarget:s}]})}}for(var dr=0;dr<Ju.length;dr++){var mr=Ju[dr],g1=mr.toLowerCase(),v1=mr[0].toUpperCase()+mr.slice(1);Ye(g1,"on"+v1)}Ye(eh,"onAnimationEnd"),Ye(nh,"onAnimationIteration"),Ye(ah,"onAnimationStart"),Ye("dblclick","onDoubleClick"),Ye("focusin","onFocus"),Ye("focusout","onBlur"),Ye(Vv,"onTransitionRun"),Ye(_v,"onTransitionStart"),Ye(Bv,"onTransitionCancel"),Ye(ih,"onTransitionEnd"),Ca("onMouseEnter",["mouseout","mouseover"]),Ca("onMouseLeave",["mouseout","mouseover"]),Ca("onPointerEnter",["pointerout","pointerover"]),Ca("onPointerLeave",["pointerout","pointerover"]),ta("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),ta("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),ta("onBeforeInput",["compositionend","keypress","textInput","paste"]),ta("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),ta("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),ta("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var tl="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(" "),x1=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(tl));function Mm(t,e){e=(e&4)!==0;for(var n=0;n<t.length;n++){var i=t[n],s=i.event;i=i.listeners;t:{var r=void 0;if(e)for(var f=i.length-1;0<=f;f--){var y=i[f],S=y.instance,w=y.currentTarget;if(y=y.listener,S!==r&&s.isPropagationStopped())break t;r=y,s.currentTarget=w;try{r(s)}catch(V){Gl(V)}s.currentTarget=null,r=S}else for(f=0;f<i.length;f++){if(y=i[f],S=y.instance,w=y.currentTarget,y=y.listener,S!==r&&s.isPropagationStopped())break t;r=y,s.currentTarget=w;try{r(s)}catch(V){Gl(V)}s.currentTarget=null,r=S}}}}function ht(t,e){var n=e[Du];n===void 0&&(n=e[Du]=new Set);var i=t+"__bubble";n.has(i)||(Dm(e,t,2,!1),n.add(i))}function pr(t,e,n){var i=0;e&&(i|=4),Dm(n,t,i,e)}var ws="_reactListening"+Math.random().toString(36).slice(2);function yr(t){if(!t[ws]){t[ws]=!0,xf.forEach(function(n){n!=="selectionchange"&&(x1.has(n)||pr(n,!1,t),pr(n,!0,t))});var e=t.nodeType===9?t:t.ownerDocument;e===null||e[ws]||(e[ws]=!0,pr("selectionchange",!1,e))}}function Dm(t,e,n,i){switch(ep(e)){case 2:var s=k1;break;case 8:s=J1;break;default:s=Nr}n=s.bind(null,e,n,t),s=void 0,!_u||e!=="touchstart"&&e!=="touchmove"&&e!=="wheel"||(s=!0),i?s!==void 0?t.addEventListener(e,n,{capture:!0,passive:s}):t.addEventListener(e,n,!0):s!==void 0?t.addEventListener(e,n,{passive:s}):t.addEventListener(e,n,!1)}function gr(t,e,n,i,s){var r=i;if((e&1)===0&&(e&2)===0&&i!==null)t:for(;;){if(i===null)return;var f=i.tag;if(f===3||f===4){var y=i.stateNode.containerInfo;if(y===s)break;if(f===4)for(f=i.return;f!==null;){var S=f.tag;if((S===3||S===4)&&f.stateNode.containerInfo===s)return;f=f.return}for(;y!==null;){if(f=Ea(y),f===null)return;if(S=f.tag,S===5||S===6||S===26||S===27){i=r=f;continue t}y=y.parentNode}}i=i.return}Nf(function(){var w=r,V=Ou(n),U=[];t:{var z=lh.get(t);if(z!==void 0){var N=Hl,W=t;switch(t){case"keypress":if(Ul(n)===0)break t;case"keydown":case"keyup":N=hv;break;case"focusin":W="focus",N=Hu;break;case"focusout":W="blur",N=Hu;break;case"beforeblur":case"afterblur":N=Hu;break;case"click":if(n.button===2)break t;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":N=Vf;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":N=tv;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":N=pv;break;case eh:case nh:case ah:N=av;break;case ih:N=gv;break;case"scroll":case"scrollend":N=$g;break;case"wheel":N=xv;break;case"copy":case"cut":case"paste":N=lv;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":N=Bf;break;case"toggle":case"beforetoggle":N=Sv}var nt=(e&4)!==0,Ct=!nt&&(t==="scroll"||t==="scrollend"),M=nt?z!==null?z+"Capture":null:z;nt=[];for(var A=w,C;A!==null;){var B=A;if(C=B.stateNode,B=B.tag,B!==5&&B!==26&&B!==27||C===null||M===null||(B=Ti(A,M),B!=null&&nt.push(el(A,B,C))),Ct)break;A=A.return}0<nt.length&&(z=new N(z,W,null,n,V),U.push({event:z,listeners:nt}))}}if((e&7)===0){t:{if(z=t==="mouseover"||t==="pointerover",N=t==="mouseout"||t==="pointerout",z&&n!==Ru&&(W=n.relatedTarget||n.fromElement)&&(Ea(W)||W[Aa]))break t;if((N||z)&&(z=V.window===V?V:(z=V.ownerDocument)?z.defaultView||z.parentWindow:window,N?(W=n.relatedTarget||n.toElement,N=w,W=W?Ea(W):null,W!==null&&(Ct=d(W),nt=W.tag,W!==Ct||nt!==5&&nt!==27&&nt!==6)&&(W=null)):(N=null,W=w),N!==W)){if(nt=Vf,B="onMouseLeave",M="onMouseEnter",A="mouse",(t==="pointerout"||t==="pointerover")&&(nt=Bf,B="onPointerLeave",M="onPointerEnter",A="pointer"),Ct=N==null?z:Si(N),C=W==null?z:Si(W),z=new nt(B,A+"leave",N,n,V),z.target=Ct,z.relatedTarget=C,B=null,Ea(V)===w&&(nt=new nt(M,A+"enter",W,n,V),nt.target=C,nt.relatedTarget=Ct,B=nt),Ct=B,N&&W)e:{for(nt=b1,M=N,A=W,C=0,B=M;B;B=nt(B))C++;B=0;for(var et=A;et;et=nt(et))B++;for(;0<C-B;)M=nt(M),C--;for(;0<B-C;)A=nt(A),B--;for(;C--;){if(M===A||A!==null&&M===A.alternate){nt=M;break e}M=nt(M),A=nt(A)}nt=null}else nt=null;N!==null&&Cm(U,z,N,nt,!1),W!==null&&Ct!==null&&Cm(U,Ct,W,nt,!0)}}t:{if(z=w?Si(w):window,N=z.nodeName&&z.nodeName.toLowerCase(),N==="select"||N==="input"&&z.type==="file")var xt=Qf;else if(Gf(z))if(Zf)xt=Nv;else{xt=zv;var I=wv}else N=z.nodeName,!N||N.toLowerCase()!=="input"||z.type!=="checkbox"&&z.type!=="radio"?w&&Nu(w.elementType)&&(xt=Qf):xt=jv;if(xt&&(xt=xt(t,w))){Xf(U,xt,n,V);break t}I&&I(t,z,w),t==="focusout"&&w&&z.type==="number"&&w.memoizedProps.value!=null&&ju(z,"number",z.value)}switch(I=w?Si(w):window,t){case"focusin":(Gf(I)||I.contentEditable==="true")&&(Oa=I,Zu=w,ji=null);break;case"focusout":ji=Zu=Oa=null;break;case"mousedown":Ku=!0;break;case"contextmenu":case"mouseup":case"dragend":Ku=!1,If(U,n,V);break;case"selectionchange":if(Ov)break;case"keydown":case"keyup":If(U,n,V)}var rt;if(Yu)t:{switch(t){case"compositionstart":var mt="onCompositionStart";break t;case"compositionend":mt="onCompositionEnd";break t;case"compositionupdate":mt="onCompositionUpdate";break t}mt=void 0}else Ra?qf(t,n)&&(mt="onCompositionEnd"):t==="keydown"&&n.keyCode===229&&(mt="onCompositionStart");mt&&(Uf&&n.locale!=="ko"&&(Ra||mt!=="onCompositionStart"?mt==="onCompositionEnd"&&Ra&&(rt=Rf()):(An=V,Bu="value"in An?An.value:An.textContent,Ra=!0)),I=zs(w,mt),0<I.length&&(mt=new _f(mt,t,null,n,V),U.push({event:mt,listeners:I}),rt?mt.data=rt:(rt=Yf(n),rt!==null&&(mt.data=rt)))),(rt=Av?Ev(t,n):Mv(t,n))&&(mt=zs(w,"onBeforeInput"),0<mt.length&&(I=new _f("onBeforeInput","beforeinput",null,n,V),U.push({event:I,listeners:mt}),I.data=rt)),y1(U,t,w,n,V)}Mm(U,e)})}function el(t,e,n){return{instance:t,listener:e,currentTarget:n}}function zs(t,e){for(var n=e+"Capture",i=[];t!==null;){var s=t,r=s.stateNode;if(s=s.tag,s!==5&&s!==26&&s!==27||r===null||(s=Ti(t,n),s!=null&&i.unshift(el(t,s,r)),s=Ti(t,e),s!=null&&i.push(el(t,s,r))),t.tag===3)return i;t=t.return}return[]}function b1(t){if(t===null)return null;do t=t.return;while(t&&t.tag!==5&&t.tag!==27);return t||null}function Cm(t,e,n,i,s){for(var r=e._reactName,f=[];n!==null&&n!==i;){var y=n,S=y.alternate,w=y.stateNode;if(y=y.tag,S!==null&&S===i)break;y!==5&&y!==26&&y!==27||w===null||(S=w,s?(w=Ti(n,r),w!=null&&f.unshift(el(n,w,S))):s||(w=Ti(n,r),w!=null&&f.push(el(n,w,S)))),n=n.return}f.length!==0&&t.push({event:e,listeners:f})}var S1=/\r\n?/g,T1=/\u0000|\uFFFD/g;function wm(t){return(typeof t=="string"?t:""+t).replace(S1,`
`).replace(T1,"")}function zm(t,e){return e=wm(e),wm(t)===e}function Dt(t,e,n,i,s,r){switch(n){case"children":typeof i=="string"?e==="body"||e==="textarea"&&i===""||za(t,i):(typeof i=="number"||typeof i=="bigint")&&e!=="body"&&za(t,""+i);break;case"className":Ol(t,"class",i);break;case"tabIndex":Ol(t,"tabindex",i);break;case"dir":case"role":case"viewBox":case"width":case"height":Ol(t,n,i);break;case"style":zf(t,i,r);break;case"data":if(e!=="object"){Ol(t,"data",i);break}case"src":case"href":if(i===""&&(e!=="a"||n!=="href")){t.removeAttribute(n);break}if(i==null||typeof i=="function"||typeof i=="symbol"||typeof i=="boolean"){t.removeAttribute(n);break}i=_l(""+i),t.setAttribute(n,i);break;case"action":case"formAction":if(typeof i=="function"){t.setAttribute(n,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof r=="function"&&(n==="formAction"?(e!=="input"&&Dt(t,e,"name",s.name,s,null),Dt(t,e,"formEncType",s.formEncType,s,null),Dt(t,e,"formMethod",s.formMethod,s,null),Dt(t,e,"formTarget",s.formTarget,s,null)):(Dt(t,e,"encType",s.encType,s,null),Dt(t,e,"method",s.method,s,null),Dt(t,e,"target",s.target,s,null)));if(i==null||typeof i=="symbol"||typeof i=="boolean"){t.removeAttribute(n);break}i=_l(""+i),t.setAttribute(n,i);break;case"onClick":i!=null&&(t.onclick=an);break;case"onScroll":i!=null&&ht("scroll",t);break;case"onScrollEnd":i!=null&&ht("scrollend",t);break;case"dangerouslySetInnerHTML":if(i!=null){if(typeof i!="object"||!("__html"in i))throw Error(u(61));if(n=i.__html,n!=null){if(s.children!=null)throw Error(u(60));t.innerHTML=n}}break;case"multiple":t.multiple=i&&typeof i!="function"&&typeof i!="symbol";break;case"muted":t.muted=i&&typeof i!="function"&&typeof i!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(i==null||typeof i=="function"||typeof i=="boolean"||typeof i=="symbol"){t.removeAttribute("xlink:href");break}n=_l(""+i),t.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",n);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":i!=null&&typeof i!="function"&&typeof i!="symbol"?t.setAttribute(n,""+i):t.removeAttribute(n);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":i&&typeof i!="function"&&typeof i!="symbol"?t.setAttribute(n,""):t.removeAttribute(n);break;case"capture":case"download":i===!0?t.setAttribute(n,""):i!==!1&&i!=null&&typeof i!="function"&&typeof i!="symbol"?t.setAttribute(n,i):t.removeAttribute(n);break;case"cols":case"rows":case"size":case"span":i!=null&&typeof i!="function"&&typeof i!="symbol"&&!isNaN(i)&&1<=i?t.setAttribute(n,i):t.removeAttribute(n);break;case"rowSpan":case"start":i==null||typeof i=="function"||typeof i=="symbol"||isNaN(i)?t.removeAttribute(n):t.setAttribute(n,i);break;case"popover":ht("beforetoggle",t),ht("toggle",t),Rl(t,"popover",i);break;case"xlinkActuate":nn(t,"http://www.w3.org/1999/xlink","xlink:actuate",i);break;case"xlinkArcrole":nn(t,"http://www.w3.org/1999/xlink","xlink:arcrole",i);break;case"xlinkRole":nn(t,"http://www.w3.org/1999/xlink","xlink:role",i);break;case"xlinkShow":nn(t,"http://www.w3.org/1999/xlink","xlink:show",i);break;case"xlinkTitle":nn(t,"http://www.w3.org/1999/xlink","xlink:title",i);break;case"xlinkType":nn(t,"http://www.w3.org/1999/xlink","xlink:type",i);break;case"xmlBase":nn(t,"http://www.w3.org/XML/1998/namespace","xml:base",i);break;case"xmlLang":nn(t,"http://www.w3.org/XML/1998/namespace","xml:lang",i);break;case"xmlSpace":nn(t,"http://www.w3.org/XML/1998/namespace","xml:space",i);break;case"is":Rl(t,"is",i);break;case"innerText":case"textContent":break;default:(!(2<n.length)||n[0]!=="o"&&n[0]!=="O"||n[1]!=="n"&&n[1]!=="N")&&(n=Wg.get(n)||n,Rl(t,n,i))}}function vr(t,e,n,i,s,r){switch(n){case"style":zf(t,i,r);break;case"dangerouslySetInnerHTML":if(i!=null){if(typeof i!="object"||!("__html"in i))throw Error(u(61));if(n=i.__html,n!=null){if(s.children!=null)throw Error(u(60));t.innerHTML=n}}break;case"children":typeof i=="string"?za(t,i):(typeof i=="number"||typeof i=="bigint")&&za(t,""+i);break;case"onScroll":i!=null&&ht("scroll",t);break;case"onScrollEnd":i!=null&&ht("scrollend",t);break;case"onClick":i!=null&&(t.onclick=an);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!bf.hasOwnProperty(n))t:{if(n[0]==="o"&&n[1]==="n"&&(s=n.endsWith("Capture"),e=n.slice(2,s?n.length-7:void 0),r=t[fe]||null,r=r!=null?r[n]:null,typeof r=="function"&&t.removeEventListener(e,r,s),typeof i=="function")){typeof r!="function"&&r!==null&&(n in t?t[n]=null:t.hasAttribute(n)&&t.removeAttribute(n)),t.addEventListener(e,i,s);break t}n in t?t[n]=i:i===!0?t.setAttribute(n,""):Rl(t,n,i)}}}function ae(t,e,n){switch(e){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":ht("error",t),ht("load",t);var i=!1,s=!1,r;for(r in n)if(n.hasOwnProperty(r)){var f=n[r];if(f!=null)switch(r){case"src":i=!0;break;case"srcSet":s=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(u(137,e));default:Dt(t,e,r,f,n,null)}}s&&Dt(t,e,"srcSet",n.srcSet,n,null),i&&Dt(t,e,"src",n.src,n,null);return;case"input":ht("invalid",t);var y=r=f=s=null,S=null,w=null;for(i in n)if(n.hasOwnProperty(i)){var V=n[i];if(V!=null)switch(i){case"name":s=V;break;case"type":f=V;break;case"checked":S=V;break;case"defaultChecked":w=V;break;case"value":r=V;break;case"defaultValue":y=V;break;case"children":case"dangerouslySetInnerHTML":if(V!=null)throw Error(u(137,e));break;default:Dt(t,e,i,V,n,null)}}Mf(t,r,y,S,w,f,s,!1);return;case"select":ht("invalid",t),i=f=r=null;for(s in n)if(n.hasOwnProperty(s)&&(y=n[s],y!=null))switch(s){case"value":r=y;break;case"defaultValue":f=y;break;case"multiple":i=y;default:Dt(t,e,s,y,n,null)}e=r,n=f,t.multiple=!!i,e!=null?wa(t,!!i,e,!1):n!=null&&wa(t,!!i,n,!0);return;case"textarea":ht("invalid",t),r=s=i=null;for(f in n)if(n.hasOwnProperty(f)&&(y=n[f],y!=null))switch(f){case"value":i=y;break;case"defaultValue":s=y;break;case"children":r=y;break;case"dangerouslySetInnerHTML":if(y!=null)throw Error(u(91));break;default:Dt(t,e,f,y,n,null)}Cf(t,i,s,r);return;case"option":for(S in n)if(n.hasOwnProperty(S)&&(i=n[S],i!=null))switch(S){case"selected":t.selected=i&&typeof i!="function"&&typeof i!="symbol";break;default:Dt(t,e,S,i,n,null)}return;case"dialog":ht("beforetoggle",t),ht("toggle",t),ht("cancel",t),ht("close",t);break;case"iframe":case"object":ht("load",t);break;case"video":case"audio":for(i=0;i<tl.length;i++)ht(tl[i],t);break;case"image":ht("error",t),ht("load",t);break;case"details":ht("toggle",t);break;case"embed":case"source":case"link":ht("error",t),ht("load",t);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(w in n)if(n.hasOwnProperty(w)&&(i=n[w],i!=null))switch(w){case"children":case"dangerouslySetInnerHTML":throw Error(u(137,e));default:Dt(t,e,w,i,n,null)}return;default:if(Nu(e)){for(V in n)n.hasOwnProperty(V)&&(i=n[V],i!==void 0&&vr(t,e,V,i,n,void 0));return}}for(y in n)n.hasOwnProperty(y)&&(i=n[y],i!=null&&Dt(t,e,y,i,n,null))}function A1(t,e,n,i){switch(e){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var s=null,r=null,f=null,y=null,S=null,w=null,V=null;for(N in n){var U=n[N];if(n.hasOwnProperty(N)&&U!=null)switch(N){case"checked":break;case"value":break;case"defaultValue":S=U;default:i.hasOwnProperty(N)||Dt(t,e,N,null,i,U)}}for(var z in i){var N=i[z];if(U=n[z],i.hasOwnProperty(z)&&(N!=null||U!=null))switch(z){case"type":r=N;break;case"name":s=N;break;case"checked":w=N;break;case"defaultChecked":V=N;break;case"value":f=N;break;case"defaultValue":y=N;break;case"children":case"dangerouslySetInnerHTML":if(N!=null)throw Error(u(137,e));break;default:N!==U&&Dt(t,e,z,N,i,U)}}zu(t,f,y,S,w,V,r,s);return;case"select":N=f=y=z=null;for(r in n)if(S=n[r],n.hasOwnProperty(r)&&S!=null)switch(r){case"value":break;case"multiple":N=S;default:i.hasOwnProperty(r)||Dt(t,e,r,null,i,S)}for(s in i)if(r=i[s],S=n[s],i.hasOwnProperty(s)&&(r!=null||S!=null))switch(s){case"value":z=r;break;case"defaultValue":y=r;break;case"multiple":f=r;default:r!==S&&Dt(t,e,s,r,i,S)}e=y,n=f,i=N,z!=null?wa(t,!!n,z,!1):!!i!=!!n&&(e!=null?wa(t,!!n,e,!0):wa(t,!!n,n?[]:"",!1));return;case"textarea":N=z=null;for(y in n)if(s=n[y],n.hasOwnProperty(y)&&s!=null&&!i.hasOwnProperty(y))switch(y){case"value":break;case"children":break;default:Dt(t,e,y,null,i,s)}for(f in i)if(s=i[f],r=n[f],i.hasOwnProperty(f)&&(s!=null||r!=null))switch(f){case"value":z=s;break;case"defaultValue":N=s;break;case"children":break;case"dangerouslySetInnerHTML":if(s!=null)throw Error(u(91));break;default:s!==r&&Dt(t,e,f,s,i,r)}Df(t,z,N);return;case"option":for(var W in n)if(z=n[W],n.hasOwnProperty(W)&&z!=null&&!i.hasOwnProperty(W))switch(W){case"selected":t.selected=!1;break;default:Dt(t,e,W,null,i,z)}for(S in i)if(z=i[S],N=n[S],i.hasOwnProperty(S)&&z!==N&&(z!=null||N!=null))switch(S){case"selected":t.selected=z&&typeof z!="function"&&typeof z!="symbol";break;default:Dt(t,e,S,z,i,N)}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 nt in n)z=n[nt],n.hasOwnProperty(nt)&&z!=null&&!i.hasOwnProperty(nt)&&Dt(t,e,nt,null,i,z);for(w in i)if(z=i[w],N=n[w],i.hasOwnProperty(w)&&z!==N&&(z!=null||N!=null))switch(w){case"children":case"dangerouslySetInnerHTML":if(z!=null)throw Error(u(137,e));break;default:Dt(t,e,w,z,i,N)}return;default:if(Nu(e)){for(var Ct in n)z=n[Ct],n.hasOwnProperty(Ct)&&z!==void 0&&!i.hasOwnProperty(Ct)&&vr(t,e,Ct,void 0,i,z);for(V in i)z=i[V],N=n[V],!i.hasOwnProperty(V)||z===N||z===void 0&&N===void 0||vr(t,e,V,z,i,N);return}}for(var M in n)z=n[M],n.hasOwnProperty(M)&&z!=null&&!i.hasOwnProperty(M)&&Dt(t,e,M,null,i,z);for(U in i)z=i[U],N=n[U],!i.hasOwnProperty(U)||z===N||z==null&&N==null||Dt(t,e,U,z,i,N)}function jm(t){switch(t){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function E1(){if(typeof performance.getEntriesByType=="function"){for(var t=0,e=0,n=performance.getEntriesByType("resource"),i=0;i<n.length;i++){var s=n[i],r=s.transferSize,f=s.initiatorType,y=s.duration;if(r&&y&&jm(f)){for(f=0,y=s.responseEnd,i+=1;i<n.length;i++){var S=n[i],w=S.startTime;if(w>y)break;var V=S.transferSize,U=S.initiatorType;V&&jm(U)&&(S=S.responseEnd,f+=V*(S<y?1:(y-w)/(S-w)))}if(--i,e+=8*(r+f)/(s.duration/1e3),t++,10<t)break}}if(0<t)return e/t/1e6}return navigator.connection&&(t=navigator.connection.downlink,typeof t=="number")?t:5}var xr=null,br=null;function js(t){return t.nodeType===9?t:t.ownerDocument}function Nm(t){switch(t){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function Rm(t,e){if(t===0)switch(e){case"svg":return 1;case"math":return 2;default:return 0}return t===1&&e==="foreignObject"?0:t}function Sr(t,e){return t==="textarea"||t==="noscript"||typeof e.children=="string"||typeof e.children=="number"||typeof e.children=="bigint"||typeof e.dangerouslySetInnerHTML=="object"&&e.dangerouslySetInnerHTML!==null&&e.dangerouslySetInnerHTML.__html!=null}var Tr=null;function M1(){var t=window.event;return t&&t.type==="popstate"?t===Tr?!1:(Tr=t,!0):(Tr=null,!1)}var Om=typeof setTimeout=="function"?setTimeout:void 0,D1=typeof clearTimeout=="function"?clearTimeout:void 0,Vm=typeof Promise=="function"?Promise:void 0,C1=typeof queueMicrotask=="function"?queueMicrotask:typeof Vm<"u"?function(t){return Vm.resolve(null).then(t).catch(w1)}:Om;function w1(t){setTimeout(function(){throw t})}function qn(t){return t==="head"}function _m(t,e){var n=e,i=0;do{var s=n.nextSibling;if(t.removeChild(n),s&&s.nodeType===8)if(n=s.data,n==="/$"||n==="/&"){if(i===0){t.removeChild(s),si(e);return}i--}else if(n==="$"||n==="$?"||n==="$~"||n==="$!"||n==="&")i++;else if(n==="html")nl(t.ownerDocument.documentElement);else if(n==="head"){n=t.ownerDocument.head,nl(n);for(var r=n.firstChild;r;){var f=r.nextSibling,y=r.nodeName;r[bi]||y==="SCRIPT"||y==="STYLE"||y==="LINK"&&r.rel.toLowerCase()==="stylesheet"||n.removeChild(r),r=f}}else n==="body"&&nl(t.ownerDocument.body);n=s}while(n);si(e)}function Bm(t,e){var n=t;t=0;do{var i=n.nextSibling;if(n.nodeType===1?e?(n._stashedDisplay=n.style.display,n.style.display="none"):(n.style.display=n._stashedDisplay||"",n.getAttribute("style")===""&&n.removeAttribute("style")):n.nodeType===3&&(e?(n._stashedText=n.nodeValue,n.nodeValue=""):n.nodeValue=n._stashedText||""),i&&i.nodeType===8)if(n=i.data,n==="/$"){if(t===0)break;t--}else n!=="$"&&n!=="$?"&&n!=="$~"&&n!=="$!"||t++;n=i}while(n)}function Ar(t){var e=t.firstChild;for(e&&e.nodeType===10&&(e=e.nextSibling);e;){var n=e;switch(e=e.nextSibling,n.nodeName){case"HTML":case"HEAD":case"BODY":Ar(n),Cu(n);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(n.rel.toLowerCase()==="stylesheet")continue}t.removeChild(n)}}function z1(t,e,n,i){for(;t.nodeType===1;){var s=n;if(t.nodeName.toLowerCase()!==e.toLowerCase()){if(!i&&(t.nodeName!=="INPUT"||t.type!=="hidden"))break}else if(i){if(!t[bi])switch(e){case"meta":if(!t.hasAttribute("itemprop"))break;return t;case"link":if(r=t.getAttribute("rel"),r==="stylesheet"&&t.hasAttribute("data-precedence"))break;if(r!==s.rel||t.getAttribute("href")!==(s.href==null||s.href===""?null:s.href)||t.getAttribute("crossorigin")!==(s.crossOrigin==null?null:s.crossOrigin)||t.getAttribute("title")!==(s.title==null?null:s.title))break;return t;case"style":if(t.hasAttribute("data-precedence"))break;return t;case"script":if(r=t.getAttribute("src"),(r!==(s.src==null?null:s.src)||t.getAttribute("type")!==(s.type==null?null:s.type)||t.getAttribute("crossorigin")!==(s.crossOrigin==null?null:s.crossOrigin))&&r&&t.hasAttribute("async")&&!t.hasAttribute("itemprop"))break;return t;default:return t}}else if(e==="input"&&t.type==="hidden"){var r=s.name==null?null:""+s.name;if(s.type==="hidden"&&t.getAttribute("name")===r)return t}else return t;if(t=Ue(t.nextSibling),t===null)break}return null}function j1(t,e,n){if(e==="")return null;for(;t.nodeType!==3;)if((t.nodeType!==1||t.nodeName!=="INPUT"||t.type!=="hidden")&&!n||(t=Ue(t.nextSibling),t===null))return null;return t}function Um(t,e){for(;t.nodeType!==8;)if((t.nodeType!==1||t.nodeName!=="INPUT"||t.type!=="hidden")&&!e||(t=Ue(t.nextSibling),t===null))return null;return t}function Er(t){return t.data==="$?"||t.data==="$~"}function Mr(t){return t.data==="$!"||t.data==="$?"&&t.ownerDocument.readyState!=="loading"}function N1(t,e){var n=t.ownerDocument;if(t.data==="$~")t._reactRetry=e;else if(t.data!=="$?"||n.readyState!=="loading")e();else{var i=function(){e(),n.removeEventListener("DOMContentLoaded",i)};n.addEventListener("DOMContentLoaded",i),t._reactRetry=i}}function Ue(t){for(;t!=null;t=t.nextSibling){var e=t.nodeType;if(e===1||e===3)break;if(e===8){if(e=t.data,e==="$"||e==="$!"||e==="$?"||e==="$~"||e==="&"||e==="F!"||e==="F")break;if(e==="/$"||e==="/&")return null}}return t}var Dr=null;function Lm(t){t=t.nextSibling;for(var e=0;t;){if(t.nodeType===8){var n=t.data;if(n==="/$"||n==="/&"){if(e===0)return Ue(t.nextSibling);e--}else n!=="$"&&n!=="$!"&&n!=="$?"&&n!=="$~"&&n!=="&"||e++}t=t.nextSibling}return null}function Hm(t){t=t.previousSibling;for(var e=0;t;){if(t.nodeType===8){var n=t.data;if(n==="$"||n==="$!"||n==="$?"||n==="$~"||n==="&"){if(e===0)return t;e--}else n!=="/$"&&n!=="/&"||e++}t=t.previousSibling}return null}function qm(t,e,n){switch(e=js(n),t){case"html":if(t=e.documentElement,!t)throw Error(u(452));return t;case"head":if(t=e.head,!t)throw Error(u(453));return t;case"body":if(t=e.body,!t)throw Error(u(454));return t;default:throw Error(u(451))}}function nl(t){for(var e=t.attributes;e.length;)t.removeAttributeNode(e[0]);Cu(t)}var Le=new Map,Ym=new Set;function Ns(t){return typeof t.getRootNode=="function"?t.getRootNode():t.nodeType===9?t:t.ownerDocument}var bn=Q.d;Q.d={f:R1,r:O1,D:V1,C:_1,L:B1,m:U1,X:H1,S:L1,M:q1};function R1(){var t=bn.f(),e=Ts();return t||e}function O1(t){var e=Ma(t);e!==null&&e.tag===5&&e.type==="form"?id(e):bn.r(t)}var ai=typeof document>"u"?null:document;function Gm(t,e,n){var i=ai;if(i&&typeof e=="string"&&e){var s=je(e);s='link[rel="'+t+'"][href="'+s+'"]',typeof n=="string"&&(s+='[crossorigin="'+n+'"]'),Ym.has(s)||(Ym.add(s),t={rel:t,crossOrigin:n,href:e},i.querySelector(s)===null&&(e=i.createElement("link"),ae(e,"link",t),Wt(e),i.head.appendChild(e)))}}function V1(t){bn.D(t),Gm("dns-prefetch",t,null)}function _1(t,e){bn.C(t,e),Gm("preconnect",t,e)}function B1(t,e,n){bn.L(t,e,n);var i=ai;if(i&&t&&e){var s='link[rel="preload"][as="'+je(e)+'"]';e==="image"&&n&&n.imageSrcSet?(s+='[imagesrcset="'+je(n.imageSrcSet)+'"]',typeof n.imageSizes=="string"&&(s+='[imagesizes="'+je(n.imageSizes)+'"]')):s+='[href="'+je(t)+'"]';var r=s;switch(e){case"style":r=ii(t);break;case"script":r=li(t)}Le.has(r)||(t=x({rel:"preload",href:e==="image"&&n&&n.imageSrcSet?void 0:t,as:e},n),Le.set(r,t),i.querySelector(s)!==null||e==="style"&&i.querySelector(al(r))||e==="script"&&i.querySelector(il(r))||(e=i.createElement("link"),ae(e,"link",t),Wt(e),i.head.appendChild(e)))}}function U1(t,e){bn.m(t,e);var n=ai;if(n&&t){var i=e&&typeof e.as=="string"?e.as:"script",s='link[rel="modulepreload"][as="'+je(i)+'"][href="'+je(t)+'"]',r=s;switch(i){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":r=li(t)}if(!Le.has(r)&&(t=x({rel:"modulepreload",href:t},e),Le.set(r,t),n.querySelector(s)===null)){switch(i){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(n.querySelector(il(r)))return}i=n.createElement("link"),ae(i,"link",t),Wt(i),n.head.appendChild(i)}}}function L1(t,e,n){bn.S(t,e,n);var i=ai;if(i&&t){var s=Da(i).hoistableStyles,r=ii(t);e=e||"default";var f=s.get(r);if(!f){var y={loading:0,preload:null};if(f=i.querySelector(al(r)))y.loading=5;else{t=x({rel:"stylesheet",href:t,"data-precedence":e},n),(n=Le.get(r))&&Cr(t,n);var S=f=i.createElement("link");Wt(S),ae(S,"link",t),S._p=new Promise(function(w,V){S.onload=w,S.onerror=V}),S.addEventListener("load",function(){y.loading|=1}),S.addEventListener("error",function(){y.loading|=2}),y.loading|=4,Rs(f,e,i)}f={type:"stylesheet",instance:f,count:1,state:y},s.set(r,f)}}}function H1(t,e){bn.X(t,e);var n=ai;if(n&&t){var i=Da(n).hoistableScripts,s=li(t),r=i.get(s);r||(r=n.querySelector(il(s)),r||(t=x({src:t,async:!0},e),(e=Le.get(s))&&wr(t,e),r=n.createElement("script"),Wt(r),ae(r,"link",t),n.head.appendChild(r)),r={type:"script",instance:r,count:1,state:null},i.set(s,r))}}function q1(t,e){bn.M(t,e);var n=ai;if(n&&t){var i=Da(n).hoistableScripts,s=li(t),r=i.get(s);r||(r=n.querySelector(il(s)),r||(t=x({src:t,async:!0,type:"module"},e),(e=Le.get(s))&&wr(t,e),r=n.createElement("script"),Wt(r),ae(r,"link",t),n.head.appendChild(r)),r={type:"script",instance:r,count:1,state:null},i.set(s,r))}}function Xm(t,e,n,i){var s=(s=ct.current)?Ns(s):null;if(!s)throw Error(u(446));switch(t){case"meta":case"title":return null;case"style":return typeof n.precedence=="string"&&typeof n.href=="string"?(e=ii(n.href),n=Da(s).hoistableStyles,i=n.get(e),i||(i={type:"style",instance:null,count:0,state:null},n.set(e,i)),i):{type:"void",instance:null,count:0,state:null};case"link":if(n.rel==="stylesheet"&&typeof n.href=="string"&&typeof n.precedence=="string"){t=ii(n.href);var r=Da(s).hoistableStyles,f=r.get(t);if(f||(s=s.ownerDocument||s,f={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},r.set(t,f),(r=s.querySelector(al(t)))&&!r._p&&(f.instance=r,f.state.loading=5),Le.has(t)||(n={rel:"preload",as:"style",href:n.href,crossOrigin:n.crossOrigin,integrity:n.integrity,media:n.media,hrefLang:n.hrefLang,referrerPolicy:n.referrerPolicy},Le.set(t,n),r||Y1(s,t,n,f.state))),e&&i===null)throw Error(u(528,""));return f}if(e&&i!==null)throw Error(u(529,""));return null;case"script":return e=n.async,n=n.src,typeof n=="string"&&e&&typeof e!="function"&&typeof e!="symbol"?(e=li(n),n=Da(s).hoistableScripts,i=n.get(e),i||(i={type:"script",instance:null,count:0,state:null},n.set(e,i)),i):{type:"void",instance:null,count:0,state:null};default:throw Error(u(444,t))}}function ii(t){return'href="'+je(t)+'"'}function al(t){return'link[rel="stylesheet"]['+t+"]"}function Qm(t){return x({},t,{"data-precedence":t.precedence,precedence:null})}function Y1(t,e,n,i){t.querySelector('link[rel="preload"][as="style"]['+e+"]")?i.loading=1:(e=t.createElement("link"),i.preload=e,e.addEventListener("load",function(){return i.loading|=1}),e.addEventListener("error",function(){return i.loading|=2}),ae(e,"link",n),Wt(e),t.head.appendChild(e))}function li(t){return'[src="'+je(t)+'"]'}function il(t){return"script[async]"+t}function Zm(t,e,n){if(e.count++,e.instance===null)switch(e.type){case"style":var i=t.querySelector('style[data-href~="'+je(n.href)+'"]');if(i)return e.instance=i,Wt(i),i;var s=x({},n,{"data-href":n.href,"data-precedence":n.precedence,href:null,precedence:null});return i=(t.ownerDocument||t).createElement("style"),Wt(i),ae(i,"style",s),Rs(i,n.precedence,t),e.instance=i;case"stylesheet":s=ii(n.href);var r=t.querySelector(al(s));if(r)return e.state.loading|=4,e.instance=r,Wt(r),r;i=Qm(n),(s=Le.get(s))&&Cr(i,s),r=(t.ownerDocument||t).createElement("link"),Wt(r);var f=r;return f._p=new Promise(function(y,S){f.onload=y,f.onerror=S}),ae(r,"link",i),e.state.loading|=4,Rs(r,n.precedence,t),e.instance=r;case"script":return r=li(n.src),(s=t.querySelector(il(r)))?(e.instance=s,Wt(s),s):(i=n,(s=Le.get(r))&&(i=x({},n),wr(i,s)),t=t.ownerDocument||t,s=t.createElement("script"),Wt(s),ae(s,"link",i),t.head.appendChild(s),e.instance=s);case"void":return null;default:throw Error(u(443,e.type))}else e.type==="stylesheet"&&(e.state.loading&4)===0&&(i=e.instance,e.state.loading|=4,Rs(i,n.precedence,t));return e.instance}function Rs(t,e,n){for(var i=n.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),s=i.length?i[i.length-1]:null,r=s,f=0;f<i.length;f++){var y=i[f];if(y.dataset.precedence===e)r=y;else if(r!==s)break}r?r.parentNode.insertBefore(t,r.nextSibling):(e=n.nodeType===9?n.head:n,e.insertBefore(t,e.firstChild))}function Cr(t,e){t.crossOrigin==null&&(t.crossOrigin=e.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=e.referrerPolicy),t.title==null&&(t.title=e.title)}function wr(t,e){t.crossOrigin==null&&(t.crossOrigin=e.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=e.referrerPolicy),t.integrity==null&&(t.integrity=e.integrity)}var Os=null;function Km(t,e,n){if(Os===null){var i=new Map,s=Os=new Map;s.set(n,i)}else s=Os,i=s.get(n),i||(i=new Map,s.set(n,i));if(i.has(t))return i;for(i.set(t,null),n=n.getElementsByTagName(t),s=0;s<n.length;s++){var r=n[s];if(!(r[bi]||r[It]||t==="link"&&r.getAttribute("rel")==="stylesheet")&&r.namespaceURI!=="http://www.w3.org/2000/svg"){var f=r.getAttribute(e)||"";f=t+f;var y=i.get(f);y?y.push(r):i.set(f,[r])}}return i}function km(t,e,n){t=t.ownerDocument||t,t.head.insertBefore(n,e==="title"?t.querySelector("head > title"):null)}function G1(t,e,n){if(n===1||e.itemProp!=null)return!1;switch(t){case"meta":case"title":return!0;case"style":if(typeof e.precedence!="string"||typeof e.href!="string"||e.href==="")break;return!0;case"link":if(typeof e.rel!="string"||typeof e.href!="string"||e.href===""||e.onLoad||e.onError)break;switch(e.rel){case"stylesheet":return t=e.disabled,typeof e.precedence=="string"&&t==null;default:return!0}case"script":if(e.async&&typeof e.async!="function"&&typeof e.async!="symbol"&&!e.onLoad&&!e.onError&&e.src&&typeof e.src=="string")return!0}return!1}function Jm(t){return!(t.type==="stylesheet"&&(t.state.loading&3)===0)}function X1(t,e,n,i){if(n.type==="stylesheet"&&(typeof i.media!="string"||matchMedia(i.media).matches!==!1)&&(n.state.loading&4)===0){if(n.instance===null){var s=ii(i.href),r=e.querySelector(al(s));if(r){e=r._p,e!==null&&typeof e=="object"&&typeof e.then=="function"&&(t.count++,t=Vs.bind(t),e.then(t,t)),n.state.loading|=4,n.instance=r,Wt(r);return}r=e.ownerDocument||e,i=Qm(i),(s=Le.get(s))&&Cr(i,s),r=r.createElement("link"),Wt(r);var f=r;f._p=new Promise(function(y,S){f.onload=y,f.onerror=S}),ae(r,"link",i),n.instance=r}t.stylesheets===null&&(t.stylesheets=new Map),t.stylesheets.set(n,e),(e=n.state.preload)&&(n.state.loading&3)===0&&(t.count++,n=Vs.bind(t),e.addEventListener("load",n),e.addEventListener("error",n))}}var zr=0;function Q1(t,e){return t.stylesheets&&t.count===0&&Bs(t,t.stylesheets),0<t.count||0<t.imgCount?function(n){var i=setTimeout(function(){if(t.stylesheets&&Bs(t,t.stylesheets),t.unsuspend){var r=t.unsuspend;t.unsuspend=null,r()}},6e4+e);0<t.imgBytes&&zr===0&&(zr=62500*E1());var s=setTimeout(function(){if(t.waitingForImages=!1,t.count===0&&(t.stylesheets&&Bs(t,t.stylesheets),t.unsuspend)){var r=t.unsuspend;t.unsuspend=null,r()}},(t.imgBytes>zr?50:800)+e);return t.unsuspend=n,function(){t.unsuspend=null,clearTimeout(i),clearTimeout(s)}}:null}function Vs(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)Bs(this,this.stylesheets);else if(this.unsuspend){var t=this.unsuspend;this.unsuspend=null,t()}}}var _s=null;function Bs(t,e){t.stylesheets=null,t.unsuspend!==null&&(t.count++,_s=new Map,e.forEach(Z1,t),_s=null,Vs.call(t))}function Z1(t,e){if(!(e.state.loading&4)){var n=_s.get(t);if(n)var i=n.get(null);else{n=new Map,_s.set(t,n);for(var s=t.querySelectorAll("link[data-precedence],style[data-precedence]"),r=0;r<s.length;r++){var f=s[r];(f.nodeName==="LINK"||f.getAttribute("media")!=="not all")&&(n.set(f.dataset.precedence,f),i=f)}i&&n.set(null,i)}s=e.instance,f=s.getAttribute("data-precedence"),r=n.get(f)||i,r===i&&n.set(null,s),n.set(f,s),this.count++,i=Vs.bind(this),s.addEventListener("load",i),s.addEventListener("error",i),r?r.parentNode.insertBefore(s,r.nextSibling):(t=t.nodeType===9?t.head:t,t.insertBefore(s,t.firstChild)),e.state.loading|=4}}var ll={$$typeof:Y,Provider:null,Consumer:null,_currentValue:J,_currentValue2:J,_threadCount:0};function K1(t,e,n,i,s,r,f,y,S){this.tag=1,this.containerInfo=t,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=Au(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Au(0),this.hiddenUpdates=Au(null),this.identifierPrefix=i,this.onUncaughtError=s,this.onCaughtError=r,this.onRecoverableError=f,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=S,this.incompleteTransitions=new Map}function Fm(t,e,n,i,s,r,f,y,S,w,V,U){return t=new K1(t,e,n,f,S,w,V,U,y),e=1,r===!0&&(e|=24),r=Te(3,null,null,e),t.current=r,r.stateNode=t,e=uo(),e.refCount++,t.pooledCache=e,e.refCount++,r.memoizedState={element:i,isDehydrated:n,cache:e},fo(r),t}function Wm(t){return t?(t=Ba,t):Ba}function Pm(t,e,n,i,s,r){s=Wm(s),i.context===null?i.context=s:i.pendingContext=s,i=zn(e),i.payload={element:n},r=r===void 0?null:r,r!==null&&(i.callback=r),n=jn(t,i,e),n!==null&&(ge(n,t,e),Ui(n,t,e))}function $m(t,e){if(t=t.memoizedState,t!==null&&t.dehydrated!==null){var n=t.retryLane;t.retryLane=n!==0&&n<e?n:e}}function jr(t,e){$m(t,e),(t=t.alternate)&&$m(t,e)}function Im(t){if(t.tag===13||t.tag===31){var e=ia(t,67108864);e!==null&&ge(e,t,67108864),jr(t,67108864)}}function tp(t){if(t.tag===13||t.tag===31){var e=Ce();e=Eu(e);var n=ia(t,e);n!==null&&ge(n,t,e),jr(t,e)}}var Us=!0;function k1(t,e,n,i){var s=R.T;R.T=null;var r=Q.p;try{Q.p=2,Nr(t,e,n,i)}finally{Q.p=r,R.T=s}}function J1(t,e,n,i){var s=R.T;R.T=null;var r=Q.p;try{Q.p=8,Nr(t,e,n,i)}finally{Q.p=r,R.T=s}}function Nr(t,e,n,i){if(Us){var s=Rr(i);if(s===null)gr(t,e,i,Ls,n),np(t,i);else if(W1(s,t,e,n,i))i.stopPropagation();else if(np(t,i),e&4&&-1<F1.indexOf(t)){for(;s!==null;){var r=Ma(s);if(r!==null)switch(r.tag){case 3:if(r=r.stateNode,r.current.memoizedState.isDehydrated){var f=In(r.pendingLanes);if(f!==0){var y=r;for(y.pendingLanes|=2,y.entangledLanes|=2;f;){var S=1<<31-be(f);y.entanglements[1]|=S,f&=~S}We(r),(St&6)===0&&(bs=ve()+500,Ii(0))}}break;case 31:case 13:y=ia(r,2),y!==null&&ge(y,r,2),Ts(),jr(r,2)}if(r=Rr(i),r===null&&gr(t,e,i,Ls,n),r===s)break;s=r}s!==null&&i.stopPropagation()}else gr(t,e,i,null,n)}}function Rr(t){return t=Ou(t),Or(t)}var Ls=null;function Or(t){if(Ls=null,t=Ea(t),t!==null){var e=d(t);if(e===null)t=null;else{var n=e.tag;if(n===13){if(t=h(e),t!==null)return t;t=null}else if(n===31){if(t=m(e),t!==null)return t;t=null}else if(n===3){if(e.stateNode.current.memoizedState.isDehydrated)return e.tag===3?e.stateNode.containerInfo:null;t=null}else e!==t&&(t=null)}}return Ls=t,null}function ep(t){switch(t){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 2;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(Vg()){case rf:return 2;case cf:return 8;case Cl:case _g:return 32;case ff:return 268435456;default:return 32}default:return 32}}var Vr=!1,Yn=null,Gn=null,Xn=null,sl=new Map,ul=new Map,Qn=[],F1="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 np(t,e){switch(t){case"focusin":case"focusout":Yn=null;break;case"dragenter":case"dragleave":Gn=null;break;case"mouseover":case"mouseout":Xn=null;break;case"pointerover":case"pointerout":sl.delete(e.pointerId);break;case"gotpointercapture":case"lostpointercapture":ul.delete(e.pointerId)}}function ol(t,e,n,i,s,r){return t===null||t.nativeEvent!==r?(t={blockedOn:e,domEventName:n,eventSystemFlags:i,nativeEvent:r,targetContainers:[s]},e!==null&&(e=Ma(e),e!==null&&Im(e)),t):(t.eventSystemFlags|=i,e=t.targetContainers,s!==null&&e.indexOf(s)===-1&&e.push(s),t)}function W1(t,e,n,i,s){switch(e){case"focusin":return Yn=ol(Yn,t,e,n,i,s),!0;case"dragenter":return Gn=ol(Gn,t,e,n,i,s),!0;case"mouseover":return Xn=ol(Xn,t,e,n,i,s),!0;case"pointerover":var r=s.pointerId;return sl.set(r,ol(sl.get(r)||null,t,e,n,i,s)),!0;case"gotpointercapture":return r=s.pointerId,ul.set(r,ol(ul.get(r)||null,t,e,n,i,s)),!0}return!1}function ap(t){var e=Ea(t.target);if(e!==null){var n=d(e);if(n!==null){if(e=n.tag,e===13){if(e=h(n),e!==null){t.blockedOn=e,gf(t.priority,function(){tp(n)});return}}else if(e===31){if(e=m(n),e!==null){t.blockedOn=e,gf(t.priority,function(){tp(n)});return}}else if(e===3&&n.stateNode.current.memoizedState.isDehydrated){t.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}t.blockedOn=null}function Hs(t){if(t.blockedOn!==null)return!1;for(var e=t.targetContainers;0<e.length;){var n=Rr(t.nativeEvent);if(n===null){n=t.nativeEvent;var i=new n.constructor(n.type,n);Ru=i,n.target.dispatchEvent(i),Ru=null}else return e=Ma(n),e!==null&&Im(e),t.blockedOn=n,!1;e.shift()}return!0}function ip(t,e,n){Hs(t)&&n.delete(e)}function P1(){Vr=!1,Yn!==null&&Hs(Yn)&&(Yn=null),Gn!==null&&Hs(Gn)&&(Gn=null),Xn!==null&&Hs(Xn)&&(Xn=null),sl.forEach(ip),ul.forEach(ip)}function qs(t,e){t.blockedOn===e&&(t.blockedOn=null,Vr||(Vr=!0,a.unstable_scheduleCallback(a.unstable_NormalPriority,P1)))}var Ys=null;function lp(t){Ys!==t&&(Ys=t,a.unstable_scheduleCallback(a.unstable_NormalPriority,function(){Ys===t&&(Ys=null);for(var e=0;e<t.length;e+=3){var n=t[e],i=t[e+1],s=t[e+2];if(typeof i!="function"){if(Or(i||n)===null)continue;break}var r=Ma(n);r!==null&&(t.splice(e,3),e-=3,Ro(r,{pending:!0,data:s,method:n.method,action:i},i,s))}}))}function si(t){function e(S){return qs(S,t)}Yn!==null&&qs(Yn,t),Gn!==null&&qs(Gn,t),Xn!==null&&qs(Xn,t),sl.forEach(e),ul.forEach(e);for(var n=0;n<Qn.length;n++){var i=Qn[n];i.blockedOn===t&&(i.blockedOn=null)}for(;0<Qn.length&&(n=Qn[0],n.blockedOn===null);)ap(n),n.blockedOn===null&&Qn.shift();if(n=(t.ownerDocument||t).$$reactFormReplay,n!=null)for(i=0;i<n.length;i+=3){var s=n[i],r=n[i+1],f=s[fe]||null;if(typeof r=="function")f||lp(n);else if(f){var y=null;if(r&&r.hasAttribute("formAction")){if(s=r,f=r[fe]||null)y=f.formAction;else if(Or(s)!==null)continue}else y=f.action;typeof y=="function"?n[i+1]=y:(n.splice(i,3),i-=3),lp(n)}}}function sp(){function t(r){r.canIntercept&&r.info==="react-transition"&&r.intercept({handler:function(){return new Promise(function(f){return s=f})},focusReset:"manual",scroll:"manual"})}function e(){s!==null&&(s(),s=null),i||setTimeout(n,20)}function n(){if(!i&&!navigation.transition){var r=navigation.currentEntry;r&&r.url!=null&&navigation.navigate(r.url,{state:r.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var i=!1,s=null;return navigation.addEventListener("navigate",t),navigation.addEventListener("navigatesuccess",e),navigation.addEventListener("navigateerror",e),setTimeout(n,100),function(){i=!0,navigation.removeEventListener("navigate",t),navigation.removeEventListener("navigatesuccess",e),navigation.removeEventListener("navigateerror",e),s!==null&&(s(),s=null)}}}function _r(t){this._internalRoot=t}Gs.prototype.render=_r.prototype.render=function(t){var e=this._internalRoot;if(e===null)throw Error(u(409));var n=e.current,i=Ce();Pm(n,i,t,e,null,null)},Gs.prototype.unmount=_r.prototype.unmount=function(){var t=this._internalRoot;if(t!==null){this._internalRoot=null;var e=t.containerInfo;Pm(t.current,2,null,t,null,null),Ts(),e[Aa]=null}};function Gs(t){this._internalRoot=t}Gs.prototype.unstable_scheduleHydration=function(t){if(t){var e=yf();t={blockedOn:null,target:t,priority:e};for(var n=0;n<Qn.length&&e!==0&&e<Qn[n].priority;n++);Qn.splice(n,0,t),n===0&&ap(t)}};var up=l.version;if(up!=="19.2.6")throw Error(u(527,up,"19.2.6"));Q.findDOMNode=function(t){var e=t._reactInternals;if(e===void 0)throw typeof t.render=="function"?Error(u(188)):(t=Object.keys(t).join(","),Error(u(268,t)));return t=p(e),t=t!==null?v(t):null,t=t===null?null:t.stateNode,t};var $1={bundleType:0,version:"19.2.6",rendererPackageName:"react-dom",currentDispatcherRef:R,reconcilerVersion:"19.2.6"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Xs=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Xs.isDisabled&&Xs.supportsFiber)try{gi=Xs.inject($1),xe=Xs}catch{}}return cl.createRoot=function(t,e){if(!c(t))throw Error(u(299));var n=!1,i="",s=md,r=pd,f=yd;return e!=null&&(e.unstable_strictMode===!0&&(n=!0),e.identifierPrefix!==void 0&&(i=e.identifierPrefix),e.onUncaughtError!==void 0&&(s=e.onUncaughtError),e.onCaughtError!==void 0&&(r=e.onCaughtError),e.onRecoverableError!==void 0&&(f=e.onRecoverableError)),e=Fm(t,1,!1,null,null,n,i,null,s,r,f,sp),t[Aa]=e.current,yr(t),new _r(e)},cl.hydrateRoot=function(t,e,n){if(!c(t))throw Error(u(299));var i=!1,s="",r=md,f=pd,y=yd,S=null;return n!=null&&(n.unstable_strictMode===!0&&(i=!0),n.identifierPrefix!==void 0&&(s=n.identifierPrefix),n.onUncaughtError!==void 0&&(r=n.onUncaughtError),n.onCaughtError!==void 0&&(f=n.onCaughtError),n.onRecoverableError!==void 0&&(y=n.onRecoverableError),n.formState!==void 0&&(S=n.formState)),e=Fm(t,1,!0,e,n??null,i,s,S,r,f,y,sp),e.context=Wm(null),n=e.current,i=Ce(),i=Eu(i),s=zn(i),s.callback=null,jn(n,s,i),n=i,e.current.lanes=n,xi(e,n),We(e),t[Aa]=e.current,yr(t),new Gs(e)},cl.version="19.2.6",cl}var gp;function ox(){if(gp)return Lr.exports;gp=1;function a(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(a)}catch(l){console.error(l)}}return a(),Lr.exports=ux(),Lr.exports}var rx=ox();const Nc=X.createContext({});function Rc(a){const l=X.useRef(null);return l.current===null&&(l.current=a()),l.current}const cx=typeof window<"u",Xy=cx?X.useLayoutEffect:X.useEffect,hu=X.createContext(null);function Oc(a,l){a.indexOf(l)===-1&&a.push(l)}function au(a,l){const o=a.indexOf(l);o>-1&&a.splice(o,1)}const en=(a,l,o)=>o>l?l:o<a?a:o;let Vc=()=>{};const Fn={},Qy=a=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(a),Zy=a=>typeof a=="object"&&a!==null,Ky=a=>/^0[^.\s]+$/u.test(a);function ky(a){let l;return()=>(l===void 0&&(l=a()),l)}const qe=a=>a,Tl=(...a)=>a.reduce((l,o)=>u=>o(l(u))),vl=(a,l,o)=>{const u=l-a;return u?(o-a)/u:1};class _c{constructor(){this.subscriptions=[]}add(l){return Oc(this.subscriptions,l),()=>au(this.subscriptions,l)}notify(l,o,u){const c=this.subscriptions.length;if(c)if(c===1)this.subscriptions[0](l,o,u);else for(let d=0;d<c;d++){const h=this.subscriptions[d];h&&h(l,o,u)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const we=a=>a*1e3,He=a=>a/1e3,Jy=(a,l)=>l?a*(1e3/l):0,Fy=(a,l,o)=>(((1-3*o+3*l)*a+(3*o-6*l))*a+3*l)*a,fx=1e-7,hx=12;function dx(a,l,o,u,c){let d,h,m=0;do h=l+(o-l)/2,d=Fy(h,u,c)-a,d>0?o=h:l=h;while(Math.abs(d)>fx&&++m<hx);return h}function Al(a,l,o,u){if(a===l&&o===u)return qe;const c=d=>dx(d,0,1,a,o);return d=>d===0||d===1?d:Fy(c(d),l,u)}const Wy=a=>l=>l<=.5?a(2*l)/2:(2-a(2*(1-l)))/2,Py=a=>l=>1-a(1-l),$y=Al(.33,1.53,.69,.99),Bc=Py($y),Iy=Wy(Bc),t0=a=>a>=1?1:(a*=2)<1?.5*Bc(a):.5*(2-Math.pow(2,-10*(a-1))),Uc=a=>1-Math.sin(Math.acos(a)),e0=Py(Uc),n0=Wy(Uc),mx=Al(.42,0,1,1),px=Al(0,0,.58,1),a0=Al(.42,0,.58,1),yx=a=>Array.isArray(a)&&typeof a[0]!="number",i0=a=>Array.isArray(a)&&typeof a[0]=="number",gx={linear:qe,easeIn:mx,easeInOut:a0,easeOut:px,circIn:Uc,circInOut:n0,circOut:e0,backIn:Bc,backInOut:Iy,backOut:$y,anticipate:t0},vx=a=>typeof a=="string",vp=a=>{if(i0(a)){Vc(a.length===4);const[l,o,u,c]=a;return Al(l,o,u,c)}else if(vx(a))return gx[a];return a},Qs=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function xx(a,l){let o=new Set,u=new Set,c=!1,d=!1;const h=new WeakSet;let m={delta:0,timestamp:0,isProcessing:!1};function g(v){h.has(v)&&(p.schedule(v),a()),v(m)}const p={schedule:(v,x=!1,T=!1)=>{const j=T&&c?o:u;return x&&h.add(v),j.add(v),v},cancel:v=>{u.delete(v),h.delete(v)},process:v=>{if(m=v,c){d=!0;return}c=!0;const x=o;o=u,u=x,o.forEach(g),o.clear(),c=!1,d&&(d=!1,p.process(v))}};return p}const bx=40;function l0(a,l){let o=!1,u=!0;const c={delta:0,timestamp:0,isProcessing:!1},d=()=>o=!0,h=Qs.reduce((Y,_)=>(Y[_]=xx(d),Y),{}),{setup:m,read:g,resolveKeyframes:p,preUpdate:v,update:x,preRender:T,render:D,postRender:j}=h,H=()=>{const Y=Fn.useManualTiming,_=Y?c.timestamp:performance.now();o=!1,Y||(c.delta=u?1e3/60:Math.max(Math.min(_-c.timestamp,bx),1)),c.timestamp=_,c.isProcessing=!0,m.process(c),g.process(c),p.process(c),v.process(c),x.process(c),T.process(c),D.process(c),j.process(c),c.isProcessing=!1,o&&l&&(u=!1,a(H))},O=()=>{o=!0,u=!0,c.isProcessing||a(H)};return{schedule:Qs.reduce((Y,_)=>{const Z=h[_];return Y[_]=(it,k=!1,F=!1)=>(o||O(),Z.schedule(it,k,F)),Y},{}),cancel:Y=>{for(let _=0;_<Qs.length;_++)h[Qs[_]].cancel(Y)},state:c,steps:h}}const{schedule:zt,cancel:Wn,state:ie,steps:Gr}=l0(typeof requestAnimationFrame<"u"?requestAnimationFrame:qe,!0);let Fs;function Sx(){Fs=void 0}const re={now:()=>(Fs===void 0&&re.set(ie.isProcessing||Fn.useManualTiming?ie.timestamp:performance.now()),Fs),set:a=>{Fs=a,queueMicrotask(Sx)}},s0=a=>l=>typeof l=="string"&&l.startsWith(a),u0=s0("--"),Tx=s0("var(--"),Lc=a=>Tx(a)?Ax.test(a.split("/*")[0].trim()):!1,Ax=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function xp(a){return typeof a!="string"?!1:a.split("/*")[0].includes("var(--")}const di={test:a=>typeof a=="number",parse:parseFloat,transform:a=>a},xl={...di,transform:a=>en(0,1,a)},Zs={...di,default:1},ml=a=>Math.round(a*1e5)/1e5,Hc=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function Ex(a){return a==null}const Mx=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,qc=(a,l)=>o=>!!(typeof o=="string"&&Mx.test(o)&&o.startsWith(a)||l&&!Ex(o)&&Object.prototype.hasOwnProperty.call(o,l)),o0=(a,l,o)=>u=>{if(typeof u!="string")return u;const[c,d,h,m]=u.match(Hc);return{[a]:parseFloat(c),[l]:parseFloat(d),[o]:parseFloat(h),alpha:m!==void 0?parseFloat(m):1}},Dx=a=>en(0,255,a),Xr={...di,transform:a=>Math.round(Dx(a))},xa={test:qc("rgb","red"),parse:o0("red","green","blue"),transform:({red:a,green:l,blue:o,alpha:u=1})=>"rgba("+Xr.transform(a)+", "+Xr.transform(l)+", "+Xr.transform(o)+", "+ml(xl.transform(u))+")"};function Cx(a){let l="",o="",u="",c="";return a.length>5?(l=a.substring(1,3),o=a.substring(3,5),u=a.substring(5,7),c=a.substring(7,9)):(l=a.substring(1,2),o=a.substring(2,3),u=a.substring(3,4),c=a.substring(4,5),l+=l,o+=o,u+=u,c+=c),{red:parseInt(l,16),green:parseInt(o,16),blue:parseInt(u,16),alpha:c?parseInt(c,16)/255:1}}const sc={test:qc("#"),parse:Cx,transform:xa.transform},El=a=>({test:l=>typeof l=="string"&&l.endsWith(a)&&l.split(" ").length===1,parse:parseFloat,transform:l=>`${l}${a}`}),Kn=El("deg"),tn=El("%"),P=El("px"),wx=El("vh"),zx=El("vw"),bp={...tn,parse:a=>tn.parse(a)/100,transform:a=>tn.transform(a*100)},oi={test:qc("hsl","hue"),parse:o0("hue","saturation","lightness"),transform:({hue:a,saturation:l,lightness:o,alpha:u=1})=>"hsla("+Math.round(a)+", "+tn.transform(ml(l))+", "+tn.transform(ml(o))+", "+ml(xl.transform(u))+")"},Kt={test:a=>xa.test(a)||sc.test(a)||oi.test(a),parse:a=>xa.test(a)?xa.parse(a):oi.test(a)?oi.parse(a):sc.parse(a),transform:a=>typeof a=="string"?a:a.hasOwnProperty("red")?xa.transform(a):oi.transform(a),getAnimatableNone:a=>{const l=Kt.parse(a);return l.alpha=0,Kt.transform(l)}},jx=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function Nx(a){var l,o;return isNaN(a)&&typeof a=="string"&&(((l=a.match(Hc))==null?void 0:l.length)||0)+(((o=a.match(jx))==null?void 0:o.length)||0)>0}const r0="number",c0="color",Rx="var",Ox="var(",Sp="${}",Vx=/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 fi(a){const l=a.toString(),o=[],u={color:[],number:[],var:[]},c=[];let d=0;const m=l.replace(Vx,g=>(Kt.test(g)?(u.color.push(d),c.push(c0),o.push(Kt.parse(g))):g.startsWith(Ox)?(u.var.push(d),c.push(Rx),o.push(g)):(u.number.push(d),c.push(r0),o.push(parseFloat(g))),++d,Sp)).split(Sp);return{values:o,split:m,indexes:u,types:c}}function _x(a){return fi(a).values}function f0({split:a,types:l}){const o=a.length;return u=>{let c="";for(let d=0;d<o;d++)if(c+=a[d],u[d]!==void 0){const h=l[d];h===r0?c+=ml(u[d]):h===c0?c+=Kt.transform(u[d]):c+=u[d]}return c}}function Bx(a){return f0(fi(a))}const Ux=a=>typeof a=="number"?0:Kt.test(a)?Kt.getAnimatableNone(a):a,Lx=(a,l)=>typeof a=="number"?l!=null&&l.trim().endsWith("/")?a:0:Ux(a);function Hx(a){const l=fi(a);return f0(l)(l.values.map((u,c)=>Lx(u,l.split[c])))}const Ke={test:Nx,parse:_x,createTransformer:Bx,getAnimatableNone:Hx};function Qr(a,l,o){return o<0&&(o+=1),o>1&&(o-=1),o<1/6?a+(l-a)*6*o:o<1/2?l:o<2/3?a+(l-a)*(2/3-o)*6:a}function qx({hue:a,saturation:l,lightness:o,alpha:u}){a/=360,l/=100,o/=100;let c=0,d=0,h=0;if(!l)c=d=h=o;else{const m=o<.5?o*(1+l):o+l-o*l,g=2*o-m;c=Qr(g,m,a+1/3),d=Qr(g,m,a),h=Qr(g,m,a-1/3)}return{red:Math.round(c*255),green:Math.round(d*255),blue:Math.round(h*255),alpha:u}}function iu(a,l){return o=>o>0?l:a}const Rt=(a,l,o)=>a+(l-a)*o,Zr=(a,l,o)=>{const u=a*a,c=o*(l*l-u)+u;return c<0?0:Math.sqrt(c)},Yx=[sc,xa,oi],Gx=a=>Yx.find(l=>l.test(a));function Tp(a){const l=Gx(a);if(!l)return!1;let o=l.parse(a);return l===oi&&(o=qx(o)),o}const Ap=(a,l)=>{const o=Tp(a),u=Tp(l);if(!o||!u)return iu(a,l);const c={...o};return d=>(c.red=Zr(o.red,u.red,d),c.green=Zr(o.green,u.green,d),c.blue=Zr(o.blue,u.blue,d),c.alpha=Rt(o.alpha,u.alpha,d),xa.transform(c))},uc=new Set(["none","hidden"]);function Xx(a,l){return uc.has(a)?o=>o<=0?a:l:o=>o>=1?l:a}function Qx(a,l){return o=>Rt(a,l,o)}function Yc(a){return typeof a=="number"?Qx:typeof a=="string"?Lc(a)?iu:Kt.test(a)?Ap:kx:Array.isArray(a)?h0:typeof a=="object"?Kt.test(a)?Ap:Zx:iu}function h0(a,l){const o=[...a],u=o.length,c=a.map((d,h)=>Yc(d)(d,l[h]));return d=>{for(let h=0;h<u;h++)o[h]=c[h](d);return o}}function Zx(a,l){const o={...a,...l},u={};for(const c in o)a[c]!==void 0&&l[c]!==void 0&&(u[c]=Yc(a[c])(a[c],l[c]));return c=>{for(const d in u)o[d]=u[d](c);return o}}function Kx(a,l){const o=[],u={color:0,var:0,number:0};for(let c=0;c<l.values.length;c++){const d=l.types[c],h=a.indexes[d][u[d]],m=a.values[h]??0;o[c]=m,u[d]++}return o}const kx=(a,l)=>{const o=Ke.createTransformer(l),u=fi(a),c=fi(l);return u.indexes.var.length===c.indexes.var.length&&u.indexes.color.length===c.indexes.color.length&&u.indexes.number.length>=c.indexes.number.length?uc.has(a)&&!c.values.length||uc.has(l)&&!u.values.length?Xx(a,l):Tl(h0(Kx(u,c),c.values),o):iu(a,l)};function d0(a,l,o){return typeof a=="number"&&typeof l=="number"&&typeof o=="number"?Rt(a,l,o):Yc(a)(a,l)}const Jx=a=>{const l=({timestamp:o})=>a(o);return{start:(o=!0)=>zt.update(l,o),stop:()=>Wn(l),now:()=>ie.isProcessing?ie.timestamp:re.now()}},m0=(a,l,o=10)=>{let u="";const c=Math.max(Math.round(l/o),2);for(let d=0;d<c;d++)u+=Math.round(a(d/(c-1))*1e4)/1e4+", ";return`linear(${u.substring(0,u.length-2)})`},lu=2e4;function Gc(a){let l=0;const o=50;let u=a.next(l);for(;!u.done&&l<lu;)l+=o,u=a.next(l);return l>=lu?1/0:l}function Fx(a,l=100,o){const u=o({...a,keyframes:[0,l]}),c=Math.min(Gc(u),lu);return{type:"keyframes",ease:d=>u.next(c*d).value/l,duration:He(c)}}const Bt={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 oc(a,l){return a*Math.sqrt(1-l*l)}const Wx=12;function Px(a,l,o){let u=o;for(let c=1;c<Wx;c++)u=u-a(u)/l(u);return u}const Kr=.001;function $x({duration:a=Bt.duration,bounce:l=Bt.bounce,velocity:o=Bt.velocity,mass:u=Bt.mass}){let c,d,h=1-l;h=en(Bt.minDamping,Bt.maxDamping,h),a=en(Bt.minDuration,Bt.maxDuration,He(a)),h<1?(c=p=>{const v=p*h,x=v*a,T=v-o,D=oc(p,h),j=Math.exp(-x);return Kr-T/D*j},d=p=>{const x=p*h*a,T=x*o+o,D=Math.pow(h,2)*Math.pow(p,2)*a,j=Math.exp(-x),H=oc(Math.pow(p,2),h);return(-c(p)+Kr>0?-1:1)*((T-D)*j)/H}):(c=p=>{const v=Math.exp(-p*a),x=(p-o)*a+1;return-Kr+v*x},d=p=>{const v=Math.exp(-p*a),x=(o-p)*(a*a);return v*x});const m=5/a,g=Px(c,d,m);if(a=we(a),isNaN(g))return{stiffness:Bt.stiffness,damping:Bt.damping,duration:a};{const p=Math.pow(g,2)*u;return{stiffness:p,damping:h*2*Math.sqrt(u*p),duration:a}}}const Ix=["duration","bounce"],tb=["stiffness","damping","mass"];function Ep(a,l){return l.some(o=>a[o]!==void 0)}function eb(a){let l={velocity:Bt.velocity,stiffness:Bt.stiffness,damping:Bt.damping,mass:Bt.mass,isResolvedFromDuration:!1,...a};if(!Ep(a,tb)&&Ep(a,Ix))if(l.velocity=0,a.visualDuration){const o=a.visualDuration,u=2*Math.PI/(o*1.2),c=u*u,d=2*en(.05,1,1-(a.bounce||0))*Math.sqrt(c);l={...l,mass:Bt.mass,stiffness:c,damping:d}}else{const o=$x({...a,velocity:0});l={...l,...o,mass:Bt.mass},l.isResolvedFromDuration=!0}return l}function su(a=Bt.visualDuration,l=Bt.bounce){const o=typeof a!="object"?{visualDuration:a,keyframes:[0,1],bounce:l}:a;let{restSpeed:u,restDelta:c}=o;const d=o.keyframes[0],h=o.keyframes[o.keyframes.length-1],m={done:!1,value:d},{stiffness:g,damping:p,mass:v,duration:x,velocity:T,isResolvedFromDuration:D}=eb({...o,velocity:-He(o.velocity||0)}),j=T||0,H=p/(2*Math.sqrt(g*v)),O=h-d,q=He(Math.sqrt(g/v)),G=Math.abs(O)<5;u||(u=G?Bt.restSpeed.granular:Bt.restSpeed.default),c||(c=G?Bt.restDelta.granular:Bt.restDelta.default);let Y,_,Z,it,k,F;if(H<1)Z=oc(q,H),it=(j+H*q*O)/Z,Y=tt=>{const pt=Math.exp(-H*q*tt);return h-pt*(it*Math.sin(Z*tt)+O*Math.cos(Z*tt))},k=H*q*it+O*Z,F=H*q*O-it*Z,_=tt=>Math.exp(-H*q*tt)*(k*Math.sin(Z*tt)+F*Math.cos(Z*tt));else if(H===1){Y=pt=>h-Math.exp(-q*pt)*(O+(j+q*O)*pt);const tt=j+q*O;_=pt=>Math.exp(-q*pt)*(q*tt*pt-j)}else{const tt=q*Math.sqrt(H*H-1);Y=Yt=>{const Ut=Math.exp(-H*q*Yt),R=Math.min(tt*Yt,300);return h-Ut*((j+H*q*O)*Math.sinh(R)+tt*O*Math.cosh(R))/tt};const pt=(j+H*q*O)/tt,vt=H*q*pt-O*tt,$t=H*q*O-pt*tt;_=Yt=>{const Ut=Math.exp(-H*q*Yt),R=Math.min(tt*Yt,300);return Ut*(vt*Math.sinh(R)+$t*Math.cosh(R))}}const at={calculatedDuration:D&&x||null,velocity:tt=>we(_(tt)),next:tt=>{if(!D&&H<1){const vt=Math.exp(-H*q*tt),$t=Math.sin(Z*tt),Yt=Math.cos(Z*tt),Ut=h-vt*(it*$t+O*Yt),R=we(vt*(k*$t+F*Yt));return m.done=Math.abs(R)<=u&&Math.abs(h-Ut)<=c,m.value=m.done?h:Ut,m}const pt=Y(tt);if(D)m.done=tt>=x;else{const vt=we(_(tt));m.done=Math.abs(vt)<=u&&Math.abs(h-pt)<=c}return m.value=m.done?h:pt,m},toString:()=>{const tt=Math.min(Gc(at),lu),pt=m0(vt=>at.next(tt*vt).value,tt,30);return tt+"ms "+pt},toTransition:()=>{}};return at}su.applyToOptions=a=>{const l=Fx(a,100,su);return a.ease=l.ease,a.duration=we(l.duration),a.type="keyframes",a};const nb=5;function p0(a,l,o){const u=Math.max(l-nb,0);return Jy(o-a(u),l-u)}function rc({keyframes:a,velocity:l=0,power:o=.8,timeConstant:u=325,bounceDamping:c=10,bounceStiffness:d=500,modifyTarget:h,min:m,max:g,restDelta:p=.5,restSpeed:v}){const x=a[0],T={done:!1,value:x},D=F=>m!==void 0&&F<m||g!==void 0&&F>g,j=F=>m===void 0?g:g===void 0||Math.abs(m-F)<Math.abs(g-F)?m:g;let H=o*l;const O=x+H,q=h===void 0?O:h(O);q!==O&&(H=q-x);const G=F=>-H*Math.exp(-F/u),Y=F=>q+G(F),_=F=>{const at=G(F),tt=Y(F);T.done=Math.abs(at)<=p,T.value=T.done?q:tt};let Z,it;const k=F=>{D(T.value)&&(Z=F,it=su({keyframes:[T.value,j(T.value)],velocity:p0(Y,F,T.value),damping:c,stiffness:d,restDelta:p,restSpeed:v}))};return k(0),{calculatedDuration:null,next:F=>{let at=!1;return!it&&Z===void 0&&(at=!0,_(F),k(F)),Z!==void 0&&F>=Z?it.next(F-Z):(!at&&_(F),T)}}}function ab(a,l,o){const u=[],c=o||Fn.mix||d0,d=a.length-1;for(let h=0;h<d;h++){let m=c(a[h],a[h+1]);if(l){const g=Array.isArray(l)?l[h]||qe:l;m=Tl(g,m)}u.push(m)}return u}function ib(a,l,{clamp:o=!0,ease:u,mixer:c}={}){const d=a.length;if(Vc(d===l.length),d===1)return()=>l[0];if(d===2&&l[0]===l[1])return()=>l[1];const h=a[0]===a[1];a[0]>a[d-1]&&(a=[...a].reverse(),l=[...l].reverse());const m=ab(l,u,c),g=m.length,p=v=>{if(h&&v<a[0])return l[0];let x=0;if(g>1)for(;x<a.length-2&&!(v<a[x+1]);x++);const T=vl(a[x],a[x+1],v);return m[x](T)};return o?v=>p(en(a[0],a[d-1],v)):p}function lb(a,l){const o=a[a.length-1];for(let u=1;u<=l;u++){const c=vl(0,l,u);a.push(Rt(o,1,c))}}function sb(a){const l=[0];return lb(l,a.length-1),l}function ub(a,l){return a.map(o=>o*l)}function ob(a,l){return a.map(()=>l||a0).splice(0,a.length-1)}function pl({duration:a=300,keyframes:l,times:o,ease:u="easeInOut"}){const c=yx(u)?u.map(vp):vp(u),d={done:!1,value:l[0]},h=ub(o&&o.length===l.length?o:sb(l),a),m=ib(h,l,{ease:Array.isArray(c)?c:ob(l,c)});return{calculatedDuration:a,next:g=>(d.value=m(g),d.done=g>=a,d)}}const rb=a=>a!==null;function du(a,{repeat:l,repeatType:o="loop"},u,c=1){const d=a.filter(rb),m=c<0||l&&o!=="loop"&&l%2===1?0:d.length-1;return!m||u===void 0?d[m]:u}const cb={decay:rc,inertia:rc,tween:pl,keyframes:pl,spring:su};function y0(a){typeof a.type=="string"&&(a.type=cb[a.type])}class Xc{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(l=>{this.resolve=l})}notifyFinished(){this.resolve()}then(l,o){return this.finished.then(l,o)}}const fb=a=>a/100;class uu extends Xc{constructor(l){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 u,c;const{motionValue:o}=this.options;o&&o.updatedAt!==re.now()&&this.tick(re.now()),this.isStopped=!0,this.state!=="idle"&&(this.teardown(),(c=(u=this.options).onStop)==null||c.call(u))},this.options=l,this.initAnimation(),this.play(),l.autoplay===!1&&this.pause()}initAnimation(){const{options:l}=this;y0(l);const{type:o=pl,repeat:u=0,repeatDelay:c=0,repeatType:d,velocity:h=0}=l;let{keyframes:m}=l;const g=o||pl;g!==pl&&typeof m[0]!="number"&&(this.mixKeyframes=Tl(fb,d0(m[0],m[1])),m=[0,100]);const p=g({...l,keyframes:m});d==="mirror"&&(this.mirroredGenerator=g({...l,keyframes:[...m].reverse(),velocity:-h})),p.calculatedDuration===null&&(p.calculatedDuration=Gc(p));const{calculatedDuration:v}=p;this.calculatedDuration=v,this.resolvedDuration=v+c,this.totalDuration=this.resolvedDuration*(u+1)-c,this.generator=p}updateTime(l){const o=Math.round(l-this.startTime)*this.playbackSpeed;this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=o}tick(l,o=!1){const{generator:u,totalDuration:c,mixKeyframes:d,mirroredGenerator:h,resolvedDuration:m,calculatedDuration:g}=this;if(this.startTime===null)return u.next(0);const{delay:p=0,keyframes:v,repeat:x,repeatType:T,repeatDelay:D,type:j,onUpdate:H,finalKeyframe:O}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,l):this.speed<0&&(this.startTime=Math.min(l-c/this.speed,this.startTime)),o?this.currentTime=l:this.updateTime(l);const q=this.currentTime-p*(this.playbackSpeed>=0?1:-1),G=this.playbackSpeed>=0?q<0:q>c;this.currentTime=Math.max(q,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=c);let Y=this.currentTime,_=u;if(x){const F=Math.min(this.currentTime,c)/m;let at=Math.floor(F),tt=F%1;!tt&&F>=1&&(tt=1),tt===1&&at--,at=Math.min(at,x+1),!!(at%2)&&(T==="reverse"?(tt=1-tt,D&&(tt-=D/m)):T==="mirror"&&(_=h)),Y=en(0,1,tt)*m}let Z;G?(this.delayState.value=v[0],Z=this.delayState):Z=_.next(Y),d&&!G&&(Z.value=d(Z.value));let{done:it}=Z;!G&&g!==null&&(it=this.playbackSpeed>=0?this.currentTime>=c:this.currentTime<=0);const k=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&it);return k&&j!==rc&&(Z.value=du(v,this.options,O,this.speed)),H&&H(Z.value),k&&this.finish(),Z}then(l,o){return this.finished.then(l,o)}get duration(){return He(this.calculatedDuration)}get iterationDuration(){const{delay:l=0}=this.options||{};return this.duration+He(l)}get time(){return He(this.currentTime)}set time(l){l=we(l),this.currentTime=l,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0?this.holdTime=l:this.driver&&(this.startTime=this.driver.now()-l/this.playbackSpeed),this.driver?this.driver.start(!1):(this.startTime=0,this.state="paused",this.holdTime=l,this.tick(l))}getGeneratorVelocity(){const l=this.currentTime;if(l<=0)return this.options.velocity||0;if(this.generator.velocity)return this.generator.velocity(l);const o=this.generator.next(l).value;return p0(u=>this.generator.next(u).value,l,o)}get speed(){return this.playbackSpeed}set speed(l){const o=this.playbackSpeed!==l;o&&this.driver&&this.updateTime(re.now()),this.playbackSpeed=l,o&&this.driver&&(this.time=He(this.currentTime))}play(){var c,d;if(this.isStopped)return;const{driver:l=Jx,startTime:o}=this.options;this.driver||(this.driver=l(h=>this.tick(h))),(d=(c=this.options).onPlay)==null||d.call(c);const u=this.driver.now();this.state==="finished"?(this.updateFinished(),this.startTime=u):this.holdTime!==null?this.startTime=u-this.holdTime:this.startTime||(this.startTime=o??u),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(re.now()),this.holdTime=this.currentTime}complete(){this.state!=="running"&&this.play(),this.state="finished",this.holdTime=null}finish(){var l,o;this.notifyFinished(),this.teardown(),this.state="finished",(o=(l=this.options).onComplete)==null||o.call(l)}cancel(){var l,o;this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),(o=(l=this.options).onCancel)==null||o.call(l)}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(l){return this.startTime=0,this.tick(l,!0)}attachTimeline(l){var o;return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),(o=this.driver)==null||o.stop(),l.observe(this)}}function hb(a){for(let l=1;l<a.length;l++)a[l]??(a[l]=a[l-1])}const ba=a=>a*180/Math.PI,cc=a=>{const l=ba(Math.atan2(a[1],a[0]));return fc(l)},db={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:a=>(Math.abs(a[0])+Math.abs(a[3]))/2,rotate:cc,rotateZ:cc,skewX:a=>ba(Math.atan(a[1])),skewY:a=>ba(Math.atan(a[2])),skew:a=>(Math.abs(a[1])+Math.abs(a[2]))/2},fc=a=>(a=a%360,a<0&&(a+=360),a),Mp=cc,Dp=a=>Math.sqrt(a[0]*a[0]+a[1]*a[1]),Cp=a=>Math.sqrt(a[4]*a[4]+a[5]*a[5]),mb={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:Dp,scaleY:Cp,scale:a=>(Dp(a)+Cp(a))/2,rotateX:a=>fc(ba(Math.atan2(a[6],a[5]))),rotateY:a=>fc(ba(Math.atan2(-a[2],a[0]))),rotateZ:Mp,rotate:Mp,skewX:a=>ba(Math.atan(a[4])),skewY:a=>ba(Math.atan(a[1])),skew:a=>(Math.abs(a[1])+Math.abs(a[4]))/2};function hc(a){return a.includes("scale")?1:0}function dc(a,l){if(!a||a==="none")return hc(l);const o=a.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let u,c;if(o)u=mb,c=o;else{const m=a.match(/^matrix\(([-\d.e\s,]+)\)$/u);u=db,c=m}if(!c)return hc(l);const d=u[l],h=c[1].split(",").map(yb);return typeof d=="function"?d(h):h[d]}const pb=(a,l)=>{const{transform:o="none"}=getComputedStyle(a);return dc(o,l)};function yb(a){return parseFloat(a.trim())}const mi=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],pi=new Set(mi),wp=a=>a===di||a===P,gb=new Set(["x","y","z"]),vb=mi.filter(a=>!gb.has(a));function xb(a){const l=[];return vb.forEach(o=>{const u=a.getValue(o);u!==void 0&&(l.push([o,u.get()]),u.set(o.startsWith("scale")?1:0))}),l}const Jn={width:({x:a},{paddingLeft:l="0",paddingRight:o="0",boxSizing:u})=>{const c=a.max-a.min;return u==="border-box"?c:c-parseFloat(l)-parseFloat(o)},height:({y:a},{paddingTop:l="0",paddingBottom:o="0",boxSizing:u})=>{const c=a.max-a.min;return u==="border-box"?c:c-parseFloat(l)-parseFloat(o)},top:(a,{top:l})=>parseFloat(l),left:(a,{left:l})=>parseFloat(l),bottom:({y:a},{top:l})=>parseFloat(l)+(a.max-a.min),right:({x:a},{left:l})=>parseFloat(l)+(a.max-a.min),x:(a,{transform:l})=>dc(l,"x"),y:(a,{transform:l})=>dc(l,"y")};Jn.translateX=Jn.x;Jn.translateY=Jn.y;const Sa=new Set;let mc=!1,pc=!1,yc=!1;function g0(){if(pc){const a=Array.from(Sa).filter(u=>u.needsMeasurement),l=new Set(a.map(u=>u.element)),o=new Map;l.forEach(u=>{const c=xb(u);c.length&&(o.set(u,c),u.render())}),a.forEach(u=>u.measureInitialState()),l.forEach(u=>{u.render();const c=o.get(u);c&&c.forEach(([d,h])=>{var m;(m=u.getValue(d))==null||m.set(h)})}),a.forEach(u=>u.measureEndState()),a.forEach(u=>{u.suspendedScrollY!==void 0&&window.scrollTo(0,u.suspendedScrollY)})}pc=!1,mc=!1,Sa.forEach(a=>a.complete(yc)),Sa.clear()}function v0(){Sa.forEach(a=>{a.readKeyframes(),a.needsMeasurement&&(pc=!0)})}function bb(){yc=!0,v0(),g0(),yc=!1}class Qc{constructor(l,o,u,c,d,h=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...l],this.onComplete=o,this.name=u,this.motionValue=c,this.element=d,this.isAsync=h}scheduleResolve(){this.state="scheduled",this.isAsync?(Sa.add(this),mc||(mc=!0,zt.read(v0),zt.resolveKeyframes(g0))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:l,name:o,element:u,motionValue:c}=this;if(l[0]===null){const d=c==null?void 0:c.get(),h=l[l.length-1];if(d!==void 0)l[0]=d;else if(u&&o){const m=u.readValue(o,h);m!=null&&(l[0]=m)}l[0]===void 0&&(l[0]=h),c&&d===void 0&&c.set(l[0])}hb(l)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(l=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,l),Sa.delete(this)}cancel(){this.state==="scheduled"&&(Sa.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}}const Sb=a=>a.startsWith("--");function x0(a,l,o){Sb(l)?a.style.setProperty(l,o):a.style[l]=o}const Tb={};function b0(a,l){const o=ky(a);return()=>Tb[l]??o()}const Ab=b0(()=>window.ScrollTimeline!==void 0,"scrollTimeline"),S0=b0(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),dl=([a,l,o,u])=>`cubic-bezier(${a}, ${l}, ${o}, ${u})`,zp={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:dl([0,.65,.55,1]),circOut:dl([.55,0,1,.45]),backIn:dl([.31,.01,.66,-.59]),backOut:dl([.33,1.53,.69,.99])};function T0(a,l){if(a)return typeof a=="function"?S0()?m0(a,l):"ease-out":i0(a)?dl(a):Array.isArray(a)?a.map(o=>T0(o,l)||zp.easeOut):zp[a]}function Eb(a,l,o,{delay:u=0,duration:c=300,repeat:d=0,repeatType:h="loop",ease:m="easeOut",times:g}={},p=void 0){const v={[l]:o};g&&(v.offset=g);const x=T0(m,c);Array.isArray(x)&&(v.easing=x);const T={delay:u,duration:c,easing:Array.isArray(x)?"linear":x,fill:"both",iterations:d+1,direction:h==="reverse"?"alternate":"normal"};return p&&(T.pseudoElement=p),a.animate(v,T)}function A0(a){return typeof a=="function"&&"applyToOptions"in a}function Mb({type:a,...l}){return A0(a)&&S0()?a.applyToOptions(l):(l.duration??(l.duration=300),l.ease??(l.ease="easeOut"),l)}class E0 extends Xc{constructor(l){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!l)return;const{element:o,name:u,keyframes:c,pseudoElement:d,allowFlatten:h=!1,finalKeyframe:m,onComplete:g}=l;this.isPseudoElement=!!d,this.allowFlatten=h,this.options=l,Vc(typeof l.type!="string");const p=Mb(l);this.animation=Eb(o,u,c,p,d),p.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!d){const v=du(c,this.options,m,this.speed);this.updateMotionValue&&this.updateMotionValue(v),x0(o,u,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 l,o;(o=(l=this.animation).finish)==null||o.call(l)}cancel(){try{this.animation.cancel()}catch{}}stop(){if(this.isStopped)return;this.isStopped=!0;const{state:l}=this;l==="idle"||l==="finished"||(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){var o,u,c;const l=(o=this.options)==null?void 0:o.element;!this.isPseudoElement&&(l!=null&&l.isConnected)&&((c=(u=this.animation).commitStyles)==null||c.call(u))}get duration(){var o,u;const l=((u=(o=this.animation.effect)==null?void 0:o.getComputedTiming)==null?void 0:u.call(o).duration)||0;return He(Number(l))}get iterationDuration(){const{delay:l=0}=this.options||{};return this.duration+He(l)}get time(){return He(Number(this.animation.currentTime)||0)}set time(l){const o=this.finishedTime!==null;this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=we(l),o&&this.animation.pause()}get speed(){return this.animation.playbackRate}set speed(l){l<0&&(this.finishedTime=null),this.animation.playbackRate=l}get state(){return this.finishedTime!==null?"finished":this.animation.playState}get startTime(){return this.manualStartTime??Number(this.animation.startTime)}set startTime(l){this.manualStartTime=this.animation.startTime=l}attachTimeline({timeline:l,rangeStart:o,rangeEnd:u,observe:c}){var d;return this.allowFlatten&&((d=this.animation.effect)==null||d.updateTiming({easing:"linear"})),this.animation.onfinish=null,l&&Ab()?(this.animation.timeline=l,o&&(this.animation.rangeStart=o),u&&(this.animation.rangeEnd=u),qe):c(this)}}const M0={anticipate:t0,backInOut:Iy,circInOut:n0};function Db(a){return a in M0}function Cb(a){typeof a.ease=="string"&&Db(a.ease)&&(a.ease=M0[a.ease])}const kr=10;class wb extends E0{constructor(l){Cb(l),y0(l),super(l),l.startTime!==void 0&&l.autoplay!==!1&&(this.startTime=l.startTime),this.options=l}updateMotionValue(l){const{motionValue:o,onUpdate:u,onComplete:c,element:d,...h}=this.options;if(!o)return;if(l!==void 0){o.set(l);return}const m=new uu({...h,autoplay:!1}),g=Math.max(kr,re.now()-this.startTime),p=en(0,kr,g-kr),v=m.sample(g).value,{name:x}=this.options;d&&x&&x0(d,x,v),o.setWithVelocity(m.sample(Math.max(0,g-p)).value,v,p),m.stop()}}const jp=(a,l)=>l==="zIndex"?!1:!!(typeof a=="number"||Array.isArray(a)||typeof a=="string"&&(Ke.test(a)||a==="0")&&!a.startsWith("url("));function zb(a){const l=a[0];if(a.length===1)return!0;for(let o=0;o<a.length;o++)if(a[o]!==l)return!0}function jb(a,l,o,u){const c=a[0];if(c===null)return!1;if(l==="display"||l==="visibility")return!0;const d=a[a.length-1],h=jp(c,l),m=jp(d,l);return!h||!m?!1:zb(a)||(o==="spring"||A0(o))&&u}function gc(a){a.duration=0,a.type="keyframes"}const D0=new Set(["opacity","clipPath","filter","transform"]),Nb=/^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/;function Rb(a){for(let l=0;l<a.length;l++)if(typeof a[l]=="string"&&Nb.test(a[l]))return!0;return!1}const Ob=new Set(["color","backgroundColor","outlineColor","fill","stroke","borderColor","borderTopColor","borderRightColor","borderBottomColor","borderLeftColor"]),Vb=ky(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function _b(a){var x;const{motionValue:l,name:o,repeatDelay:u,repeatType:c,damping:d,type:h,keyframes:m}=a;if(!(((x=l==null?void 0:l.owner)==null?void 0:x.current)instanceof HTMLElement))return!1;const{onUpdate:p,transformTemplate:v}=l.owner.getProps();return Vb()&&o&&(D0.has(o)||Ob.has(o)&&Rb(m))&&(o!=="transform"||!v)&&!p&&!u&&c!=="mirror"&&d!==0&&h!=="inertia"}const Bb=40;class Ub extends Xc{constructor({autoplay:l=!0,delay:o=0,type:u="keyframes",repeat:c=0,repeatDelay:d=0,repeatType:h="loop",keyframes:m,name:g,motionValue:p,element:v,...x}){var j;super(),this.stop=()=>{var H,O;this._animation&&(this._animation.stop(),(H=this.stopTimeline)==null||H.call(this)),(O=this.keyframeResolver)==null||O.cancel()},this.createdAt=re.now();const T={autoplay:l,delay:o,type:u,repeat:c,repeatDelay:d,repeatType:h,name:g,motionValue:p,element:v,...x},D=(v==null?void 0:v.KeyframeResolver)||Qc;this.keyframeResolver=new D(m,(H,O,q)=>this.onKeyframesResolved(H,O,T,!q),g,p,v),(j=this.keyframeResolver)==null||j.scheduleResolve()}onKeyframesResolved(l,o,u,c){var q,G;this.keyframeResolver=void 0;const{name:d,type:h,velocity:m,delay:g,isHandoff:p,onUpdate:v}=u;this.resolvedAt=re.now();let x=!0;jb(l,d,h,m)||(x=!1,(Fn.instantAnimations||!g)&&(v==null||v(du(l,u,o))),l[0]=l[l.length-1],gc(u),u.repeat=0);const D={startTime:c?this.resolvedAt?this.resolvedAt-this.createdAt>Bb?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:o,...u,keyframes:l},j=x&&!p&&_b(D),H=(G=(q=D.motionValue)==null?void 0:q.owner)==null?void 0:G.current;let O;if(j)try{O=new wb({...D,element:H})}catch{O=new uu(D)}else O=new uu(D);O.finished.then(()=>{this.notifyFinished()}).catch(qe),this.pendingTimeline&&(this.stopTimeline=O.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=O}get finished(){return this._animation?this.animation.finished:this._finished}then(l,o){return this.finished.finally(l).then(()=>{})}get animation(){var l;return this._animation||((l=this.keyframeResolver)==null||l.resume(),bb()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(l){this.animation.time=l}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(l){this.animation.speed=l}get startTime(){return this.animation.startTime}attachTimeline(l){return this._animation?this.stopTimeline=this.animation.attachTimeline(l):this.pendingTimeline=l,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){var l;this._animation&&this.animation.cancel(),(l=this.keyframeResolver)==null||l.cancel()}}function C0(a,l,o,u=0,c=1){const d=Array.from(a).sort((p,v)=>p.sortNodePosition(v)).indexOf(l),h=a.size,m=(h-1)*u;return typeof o=="function"?o(d,h):c===1?d*u:m-d*u}const Lb=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function Hb(a){const l=Lb.exec(a);if(!l)return[,];const[,o,u,c]=l;return[`--${o??u}`,c]}function w0(a,l,o=1){const[u,c]=Hb(a);if(!u)return;const d=window.getComputedStyle(l).getPropertyValue(u);if(d){const h=d.trim();return Qy(h)?parseFloat(h):h}return Lc(c)?w0(c,l,o+1):c}const qb={type:"spring",stiffness:500,damping:25,restSpeed:10},Yb=a=>({type:"spring",stiffness:550,damping:a===0?2*Math.sqrt(550):30,restSpeed:10}),Gb={type:"keyframes",duration:.8},Xb={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},Qb=(a,{keyframes:l})=>l.length>2?Gb:pi.has(a)?a.startsWith("scale")?Yb(l[1]):qb:Xb;function z0(a,l){if(a!=null&&a.inherit&&l){const{inherit:o,...u}=a;return{...l,...u}}return a}function Zc(a,l){const o=(a==null?void 0:a[l])??(a==null?void 0:a.default)??a;return o!==a?z0(o,a):o}const Zb=new Set(["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from","elapsed"]);function Kb(a){for(const l in a)if(!Zb.has(l))return!0;return!1}const Kc=(a,l,o,u={},c,d)=>h=>{const m=Zc(u,a)||{},g=m.delay||u.delay||0;let{elapsed:p=0}=u;p=p-we(g);const v={keyframes:Array.isArray(o)?o:[null,o],ease:"easeOut",velocity:l.getVelocity(),...m,delay:-p,onUpdate:T=>{l.set(T),m.onUpdate&&m.onUpdate(T)},onComplete:()=>{h(),m.onComplete&&m.onComplete()},name:a,motionValue:l,element:d?void 0:c};Kb(m)||Object.assign(v,Qb(a,v)),v.duration&&(v.duration=we(v.duration)),v.repeatDelay&&(v.repeatDelay=we(v.repeatDelay)),v.from!==void 0&&(v.keyframes[0]=v.from);let x=!1;if((v.type===!1||v.duration===0&&!v.repeatDelay)&&(gc(v),v.delay===0&&(x=!0)),(Fn.instantAnimations||Fn.skipAnimations||c!=null&&c.shouldSkipAnimations||m.skipAnimations)&&(x=!0,gc(v),v.delay=0),v.allowFlatten=!m.type&&!m.ease,x&&!d&&l.get()!==void 0){const T=du(v.keyframes,m);if(T!==void 0){zt.update(()=>{v.onUpdate(T),v.onComplete()});return}}return m.isSync?new uu(v):new Ub(v)};function Np(a){const l=[{},{}];return a==null||a.values.forEach((o,u)=>{l[0][u]=o.get(),l[1][u]=o.getVelocity()}),l}function kc(a,l,o,u){if(typeof l=="function"){const[c,d]=Np(u);l=l(o!==void 0?o:a.custom,c,d)}if(typeof l=="string"&&(l=a.variants&&a.variants[l]),typeof l=="function"){const[c,d]=Np(u);l=l(o!==void 0?o:a.custom,c,d)}return l}function Ta(a,l,o){const u=a.getProps();return kc(u,l,o!==void 0?o:u.custom,a)}const j0=new Set(["width","height","top","left","right","bottom",...mi]),Rp=30,kb=a=>!isNaN(parseFloat(a));class Jb{constructor(l,o={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=u=>{var d;const c=re.now();if(this.updatedAt!==c&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(u),this.current!==this.prev&&((d=this.events.change)==null||d.notify(this.current),this.dependents))for(const h of this.dependents)h.dirty()},this.hasAnimated=!1,this.setCurrent(l),this.owner=o.owner}setCurrent(l){this.current=l,this.updatedAt=re.now(),this.canTrackVelocity===null&&l!==void 0&&(this.canTrackVelocity=kb(this.current))}setPrevFrameValue(l=this.current){this.prevFrameValue=l,this.prevUpdatedAt=this.updatedAt}onChange(l){return this.on("change",l)}on(l,o){this.events[l]||(this.events[l]=new _c);const u=this.events[l].add(o);return l==="change"?()=>{u(),zt.read(()=>{this.events.change.getSize()||this.stop()})}:u}clearListeners(){for(const l in this.events)this.events[l].clear()}attach(l,o){this.passiveEffect=l,this.stopPassiveEffect=o}set(l){this.passiveEffect?this.passiveEffect(l,this.updateAndNotify):this.updateAndNotify(l)}setWithVelocity(l,o,u){this.set(o),this.prev=void 0,this.prevFrameValue=l,this.prevUpdatedAt=this.updatedAt-u}jump(l,o=!0){this.updateAndNotify(l),this.prev=l,this.prevUpdatedAt=this.prevFrameValue=void 0,o&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){var l;(l=this.events.change)==null||l.notify(this.current)}addDependent(l){this.dependents||(this.dependents=new Set),this.dependents.add(l)}removeDependent(l){this.dependents&&this.dependents.delete(l)}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const l=re.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||l-this.updatedAt>Rp)return 0;const o=Math.min(this.updatedAt-this.prevUpdatedAt,Rp);return Jy(parseFloat(this.current)-parseFloat(this.prevFrameValue),o)}start(l){return this.stop(),new Promise(o=>{this.hasAnimated=!0,this.animation=l(o),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 l,o;(l=this.dependents)==null||l.clear(),(o=this.events.destroy)==null||o.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function hi(a,l){return new Jb(a,l)}const vc=a=>Array.isArray(a);function Fb(a,l,o){a.hasValue(l)?a.getValue(l).set(o):a.addValue(l,hi(o))}function Wb(a){return vc(a)?a[a.length-1]||0:a}function Pb(a,l){const o=Ta(a,l);let{transitionEnd:u={},transition:c={},...d}=o||{};d={...d,...u};for(const h in d){const m=Wb(d[h]);Fb(a,h,m)}}const le=a=>!!(a&&a.getVelocity);function $b(a){return!!(le(a)&&a.add)}function xc(a,l){const o=a.getValue("willChange");if($b(o))return o.add(l);if(!o&&Fn.WillChange){const u=new Fn.WillChange("auto");a.addValue("willChange",u),u.add(l)}}function Jc(a){return a.replace(/([A-Z])/g,l=>`-${l.toLowerCase()}`)}const Ib="framerAppearId",N0="data-"+Jc(Ib);function R0(a){return a.props[N0]}function tS({protectedKeys:a,needsAnimating:l},o){const u=a.hasOwnProperty(o)&&l[o]!==!0;return l[o]=!1,u}function O0(a,l,{delay:o=0,transitionOverride:u,type:c}={}){let{transition:d,transitionEnd:h,...m}=l;const g=a.getDefaultTransition();d=d?z0(d,g):g;const p=d==null?void 0:d.reduceMotion,v=d==null?void 0:d.skipAnimations;u&&(d=u);const x=[],T=c&&a.animationState&&a.animationState.getState()[c];for(const D in m){const j=a.getValue(D,a.latestValues[D]??null),H=m[D];if(H===void 0||T&&tS(T,D))continue;const O={delay:o,...Zc(d||{},D)};v&&(O.skipAnimations=!0);const q=j.get();if(q!==void 0&&!j.isAnimating()&&!Array.isArray(H)&&H===q&&!O.velocity){zt.update(()=>j.set(H));continue}let G=!1;if(window.MotionHandoffAnimation){const Z=R0(a);if(Z){const it=window.MotionHandoffAnimation(Z,D,zt);it!==null&&(O.startTime=it,G=!0)}}xc(a,D);const Y=p??a.shouldReduceMotion;j.start(Kc(D,j,H,Y&&j0.has(D)?{type:!1}:O,a,G));const _=j.animation;_&&x.push(_)}if(h){const D=()=>zt.update(()=>{h&&Pb(a,h)});x.length?Promise.all(x).then(D):D()}return x}function bc(a,l,o={}){var g;const u=Ta(a,l,o.type==="exit"?(g=a.presenceContext)==null?void 0:g.custom:void 0);let{transition:c=a.getDefaultTransition()||{}}=u||{};o.transitionOverride&&(c=o.transitionOverride);const d=u?()=>Promise.all(O0(a,u,o)):()=>Promise.resolve(),h=a.variantChildren&&a.variantChildren.size?(p=0)=>{const{delayChildren:v=0,staggerChildren:x,staggerDirection:T}=c;return eS(a,l,p,v,x,T,o)}:()=>Promise.resolve(),{when:m}=c;if(m){const[p,v]=m==="beforeChildren"?[d,h]:[h,d];return p().then(()=>v())}else return Promise.all([d(),h(o.delay)])}function eS(a,l,o=0,u=0,c=0,d=1,h){const m=[];for(const g of a.variantChildren)g.notify("AnimationStart",l),m.push(bc(g,l,{...h,delay:o+(typeof u=="function"?0:u)+C0(a.variantChildren,g,u,c,d)}).then(()=>g.notify("AnimationComplete",l)));return Promise.all(m)}function nS(a,l,o={}){a.notify("AnimationStart",l);let u;if(Array.isArray(l)){const c=l.map(d=>bc(a,d,o));u=Promise.all(c)}else if(typeof l=="string")u=bc(a,l,o);else{const c=typeof l=="function"?Ta(a,l,o.custom):l;u=Promise.all(O0(a,c,o))}return u.then(()=>{a.notify("AnimationComplete",l)})}const aS={test:a=>a==="auto",parse:a=>a},V0=a=>l=>l.test(a),_0=[di,P,tn,Kn,zx,wx,aS],Op=a=>_0.find(V0(a));function iS(a){return typeof a=="number"?a===0:a!==null?a==="none"||a==="0"||Ky(a):!0}const lS=new Set(["brightness","contrast","saturate","opacity"]);function sS(a){const[l,o]=a.slice(0,-1).split("(");if(l==="drop-shadow")return a;const[u]=o.match(Hc)||[];if(!u)return a;const c=o.replace(u,"");let d=lS.has(l)?1:0;return u!==o&&(d*=100),l+"("+d+c+")"}const uS=/\b([a-z-]*)\(.*?\)/gu,Sc={...Ke,getAnimatableNone:a=>{const l=a.match(uS);return l?l.map(sS).join(" "):a}},Tc={...Ke,getAnimatableNone:a=>{const l=Ke.parse(a);return Ke.createTransformer(a)(l.map(u=>typeof u=="number"?0:typeof u=="object"?{...u,alpha:1}:u))}},Vp={...di,transform:Math.round},oS={rotate:Kn,rotateX:Kn,rotateY:Kn,rotateZ:Kn,scale:Zs,scaleX:Zs,scaleY:Zs,scaleZ:Zs,skew:Kn,skewX:Kn,skewY:Kn,distance:P,translateX:P,translateY:P,translateZ:P,x:P,y:P,z:P,perspective:P,transformPerspective:P,opacity:xl,originX:bp,originY:bp,originZ:P},Fc={borderWidth:P,borderTopWidth:P,borderRightWidth:P,borderBottomWidth:P,borderLeftWidth:P,borderRadius:P,borderTopLeftRadius:P,borderTopRightRadius:P,borderBottomRightRadius:P,borderBottomLeftRadius:P,width:P,maxWidth:P,height:P,maxHeight:P,top:P,right:P,bottom:P,left:P,inset:P,insetBlock:P,insetBlockStart:P,insetBlockEnd:P,insetInline:P,insetInlineStart:P,insetInlineEnd:P,padding:P,paddingTop:P,paddingRight:P,paddingBottom:P,paddingLeft:P,paddingBlock:P,paddingBlockStart:P,paddingBlockEnd:P,paddingInline:P,paddingInlineStart:P,paddingInlineEnd:P,margin:P,marginTop:P,marginRight:P,marginBottom:P,marginLeft:P,marginBlock:P,marginBlockStart:P,marginBlockEnd:P,marginInline:P,marginInlineStart:P,marginInlineEnd:P,fontSize:P,backgroundPositionX:P,backgroundPositionY:P,...oS,zIndex:Vp,fillOpacity:xl,strokeOpacity:xl,numOctaves:Vp},rS={...Fc,color:Kt,backgroundColor:Kt,outlineColor:Kt,fill:Kt,stroke:Kt,borderColor:Kt,borderTopColor:Kt,borderRightColor:Kt,borderBottomColor:Kt,borderLeftColor:Kt,filter:Sc,WebkitFilter:Sc,mask:Tc,WebkitMask:Tc},B0=a=>rS[a],cS=new Set([Sc,Tc]);function U0(a,l){let o=B0(a);return cS.has(o)||(o=Ke),o.getAnimatableNone?o.getAnimatableNone(l):void 0}const fS=new Set(["auto","none","0"]);function hS(a,l,o){let u=0,c;for(;u<a.length&&!c;){const d=a[u];typeof d=="string"&&!fS.has(d)&&fi(d).values.length&&(c=a[u]),u++}if(c&&o)for(const d of l)a[d]=U0(o,c)}class dS extends Qc{constructor(l,o,u,c,d){super(l,o,u,c,d,!0)}readKeyframes(){const{unresolvedKeyframes:l,element:o,name:u}=this;if(!o||!o.current)return;super.readKeyframes();for(let v=0;v<l.length;v++){let x=l[v];if(typeof x=="string"&&(x=x.trim(),Lc(x))){const T=w0(x,o.current);T!==void 0&&(l[v]=T),v===l.length-1&&(this.finalKeyframe=x)}}if(this.resolveNoneKeyframes(),!j0.has(u)||l.length!==2)return;const[c,d]=l,h=Op(c),m=Op(d),g=xp(c),p=xp(d);if(g!==p&&Jn[u]){this.needsMeasurement=!0;return}if(h!==m)if(wp(h)&&wp(m))for(let v=0;v<l.length;v++){const x=l[v];typeof x=="string"&&(l[v]=parseFloat(x))}else Jn[u]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:l,name:o}=this,u=[];for(let c=0;c<l.length;c++)(l[c]===null||iS(l[c]))&&u.push(c);u.length&&hS(l,u,o)}measureInitialState(){const{element:l,unresolvedKeyframes:o,name:u}=this;if(!l||!l.current)return;u==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=Jn[u](l.measureViewportBox(),window.getComputedStyle(l.current)),o[0]=this.measuredOrigin;const c=o[o.length-1];c!==void 0&&l.getValue(u,c).jump(c,!1)}measureEndState(){var m;const{element:l,name:o,unresolvedKeyframes:u}=this;if(!l||!l.current)return;const c=l.getValue(o);c&&c.jump(this.measuredOrigin,!1);const d=u.length-1,h=u[d];u[d]=Jn[o](l.measureViewportBox(),window.getComputedStyle(l.current)),h!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=h),(m=this.removedTransforms)!=null&&m.length&&this.removedTransforms.forEach(([g,p])=>{l.getValue(g).set(p)}),this.resolveNoneKeyframes()}}function L0(a,l,o){if(a==null)return[];if(a instanceof EventTarget)return[a];if(typeof a=="string"){let u=document;const c=(o==null?void 0:o[a])??u.querySelectorAll(a);return c?Array.from(c):[]}return Array.from(a).filter(u=>u!=null)}const H0=(a,l)=>l&&typeof a=="number"?l.transform(a):a;function Ws(a){return Zy(a)&&"offsetHeight"in a&&!("ownerSVGElement"in a)}const{schedule:Wc}=l0(queueMicrotask,!1),Ze={x:!1,y:!1};function q0(){return Ze.x||Ze.y}function mS(a){return a==="x"||a==="y"?Ze[a]?null:(Ze[a]=!0,()=>{Ze[a]=!1}):Ze.x||Ze.y?null:(Ze.x=Ze.y=!0,()=>{Ze.x=Ze.y=!1})}function Y0(a,l){const o=L0(a),u=new AbortController,c={passive:!0,...l,signal:u.signal};return[o,c,()=>u.abort()]}function pS(a){return!(a.pointerType==="touch"||q0())}function yS(a,l,o={}){const[u,c,d]=Y0(a,o);return u.forEach(h=>{let m=!1,g=!1,p;const v=()=>{h.removeEventListener("pointerleave",j)},x=O=>{p&&(p(O),p=void 0),v()},T=O=>{m=!1,window.removeEventListener("pointerup",T),window.removeEventListener("pointercancel",T),g&&(g=!1,x(O))},D=()=>{m=!0,window.addEventListener("pointerup",T,c),window.addEventListener("pointercancel",T,c)},j=O=>{if(O.pointerType!=="touch"){if(m){g=!0;return}x(O)}},H=O=>{if(!pS(O))return;g=!1;const q=l(h,O);typeof q=="function"&&(p=q,h.addEventListener("pointerleave",j,c))};h.addEventListener("pointerenter",H,c),h.addEventListener("pointerdown",D,c)}),d}const G0=(a,l)=>l?a===l?!0:G0(a,l.parentElement):!1,Pc=a=>a.pointerType==="mouse"?typeof a.button!="number"||a.button<=0:a.isPrimary!==!1,gS=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function vS(a){return gS.has(a.tagName)||a.isContentEditable===!0}const xS=new Set(["INPUT","SELECT","TEXTAREA"]);function bS(a){return xS.has(a.tagName)||a.isContentEditable===!0}const Ps=new WeakSet;function _p(a){return l=>{l.key==="Enter"&&a(l)}}function Jr(a,l){a.dispatchEvent(new PointerEvent("pointer"+l,{isPrimary:!0,bubbles:!0}))}const SS=(a,l)=>{const o=a.currentTarget;if(!o)return;const u=_p(()=>{if(Ps.has(o))return;Jr(o,"down");const c=_p(()=>{Jr(o,"up")}),d=()=>Jr(o,"cancel");o.addEventListener("keyup",c,l),o.addEventListener("blur",d,l)});o.addEventListener("keydown",u,l),o.addEventListener("blur",()=>o.removeEventListener("keydown",u),l)};function Bp(a){return Pc(a)&&!q0()}const Up=new WeakSet;function TS(a,l,o={}){const[u,c,d]=Y0(a,o),h=m=>{const g=m.currentTarget;if(!Bp(m)||Up.has(m))return;Ps.add(g),o.stopPropagation&&Up.add(m);const p=l(g,m),v=(D,j)=>{window.removeEventListener("pointerup",x),window.removeEventListener("pointercancel",T),Ps.has(g)&&Ps.delete(g),Bp(D)&&typeof p=="function"&&p(D,{success:j})},x=D=>{v(D,g===window||g===document||o.useGlobalTarget||G0(g,D.target))},T=D=>{v(D,!1)};window.addEventListener("pointerup",x,c),window.addEventListener("pointercancel",T,c)};return u.forEach(m=>{(o.useGlobalTarget?window:m).addEventListener("pointerdown",h,c),Ws(m)&&(m.addEventListener("focus",p=>SS(p,c)),!vS(m)&&!m.hasAttribute("tabindex")&&(m.tabIndex=0))}),d}function $c(a){return Zy(a)&&"ownerSVGElement"in a}const $s=new WeakMap;let kn;const X0=(a,l,o)=>(u,c)=>c&&c[0]?c[0][a+"Size"]:$c(u)&&"getBBox"in u?u.getBBox()[l]:u[o],AS=X0("inline","width","offsetWidth"),ES=X0("block","height","offsetHeight");function MS({target:a,borderBoxSize:l}){var o;(o=$s.get(a))==null||o.forEach(u=>{u(a,{get width(){return AS(a,l)},get height(){return ES(a,l)}})})}function DS(a){a.forEach(MS)}function CS(){typeof ResizeObserver>"u"||(kn=new ResizeObserver(DS))}function wS(a,l){kn||CS();const o=L0(a);return o.forEach(u=>{let c=$s.get(u);c||(c=new Set,$s.set(u,c)),c.add(l),kn==null||kn.observe(u)}),()=>{o.forEach(u=>{const c=$s.get(u);c==null||c.delete(l),c!=null&&c.size||kn==null||kn.unobserve(u)})}}const Is=new Set;let ri;function zS(){ri=()=>{const a={get width(){return window.innerWidth},get height(){return window.innerHeight}};Is.forEach(l=>l(a))},window.addEventListener("resize",ri)}function jS(a){return Is.add(a),ri||zS(),()=>{Is.delete(a),!Is.size&&typeof ri=="function"&&(window.removeEventListener("resize",ri),ri=void 0)}}function Lp(a,l){return typeof a=="function"?jS(a):wS(a,l)}function NS(a){return $c(a)&&a.tagName==="svg"}const RS=[..._0,Kt,Ke],OS=a=>RS.find(V0(a)),Hp=()=>({translate:0,scale:1,origin:0,originPoint:0}),ci=()=>({x:Hp(),y:Hp()}),qp=()=>({min:0,max:0}),Jt=()=>({x:qp(),y:qp()}),VS=new WeakMap;function mu(a){return a!==null&&typeof a=="object"&&typeof a.start=="function"}function bl(a){return typeof a=="string"||Array.isArray(a)}const Ic=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],tf=["initial",...Ic];function pu(a){return mu(a.animate)||tf.some(l=>bl(a[l]))}function Q0(a){return!!(pu(a)||a.variants)}function _S(a,l,o){for(const u in l){const c=l[u],d=o[u];if(le(c))a.addValue(u,c);else if(le(d))a.addValue(u,hi(c,{owner:a}));else if(d!==c)if(a.hasValue(u)){const h=a.getValue(u);h.liveStyle===!0?h.jump(c):h.hasAnimated||h.set(c)}else{const h=a.getStaticValue(u);a.addValue(u,hi(h!==void 0?h:c,{owner:a}))}}for(const u in o)l[u]===void 0&&a.removeValue(u);return l}const Ac={current:null},Z0={current:!1},BS=typeof window<"u";function US(){if(Z0.current=!0,!!BS)if(window.matchMedia){const a=window.matchMedia("(prefers-reduced-motion)"),l=()=>Ac.current=a.matches;a.addEventListener("change",l),l()}else Ac.current=!1}const Yp=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];let ou={};function K0(a){ou=a}function LS(){return ou}class HS{scrapeMotionValuesFromProps(l,o,u){return{}}constructor({parent:l,props:o,presenceContext:u,reducedMotionConfig:c,skipAnimations:d,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=Qc,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 D=re.now();this.renderScheduledAt<D&&(this.renderScheduledAt=D,zt.render(this.render,!1,!0))};const{latestValues:p,renderState:v}=m;this.latestValues=p,this.baseTarget={...p},this.initialValues=o.initial?{...p}:{},this.renderState=v,this.parent=l,this.props=o,this.presenceContext=u,this.depth=l?l.depth+1:0,this.reducedMotionConfig=c,this.skipAnimationsConfig=d,this.options=g,this.blockInitialAnimation=!!h,this.isControllingVariants=pu(o),this.isVariantNode=Q0(o),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(l&&l.current);const{willChange:x,...T}=this.scrapeMotionValuesFromProps(o,{},this);for(const D in T){const j=T[D];p[D]!==void 0&&le(j)&&j.set(p[D])}}mount(l){var o,u;if(this.hasBeenMounted)for(const c in this.initialValues)(o=this.values.get(c))==null||o.jump(this.initialValues[c]),this.latestValues[c]=this.initialValues[c];this.current=l,VS.set(l,this),this.projection&&!this.projection.instance&&this.projection.mount(l),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((c,d)=>this.bindToMotionValue(d,c)),this.reducedMotionConfig==="never"?this.shouldReduceMotion=!1:this.reducedMotionConfig==="always"?this.shouldReduceMotion=!0:(Z0.current||US(),this.shouldReduceMotion=Ac.current),this.shouldSkipAnimations=this.skipAnimationsConfig??!1,(u=this.parent)==null||u.addChild(this),this.update(this.props,this.presenceContext),this.hasBeenMounted=!0}unmount(){var l;this.projection&&this.projection.unmount(),Wn(this.notifyUpdate),Wn(this.render),this.valueSubscriptions.forEach(o=>o()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),(l=this.parent)==null||l.removeChild(this);for(const o in this.events)this.events[o].clear();for(const o in this.features){const u=this.features[o];u&&(u.unmount(),u.isMounted=!1)}this.current=null}addChild(l){this.children.add(l),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(l)}removeChild(l){this.children.delete(l),this.enteringChildren&&this.enteringChildren.delete(l)}bindToMotionValue(l,o){if(this.valueSubscriptions.has(l)&&this.valueSubscriptions.get(l)(),o.accelerate&&D0.has(l)&&this.current instanceof HTMLElement){const{factory:h,keyframes:m,times:g,ease:p,duration:v}=o.accelerate,x=new E0({element:this.current,name:l,keyframes:m,times:g,ease:p,duration:we(v)}),T=h(x);this.valueSubscriptions.set(l,()=>{T(),x.cancel()});return}const u=pi.has(l);u&&this.onBindTransform&&this.onBindTransform();const c=o.on("change",h=>{this.latestValues[l]=h,this.props.onUpdate&&zt.preRender(this.notifyUpdate),u&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});let d;typeof window<"u"&&window.MotionCheckAppearSync&&(d=window.MotionCheckAppearSync(this,l,o)),this.valueSubscriptions.set(l,()=>{c(),d&&d()})}sortNodePosition(l){return!this.current||!this.sortInstanceNodePosition||this.type!==l.type?0:this.sortInstanceNodePosition(this.current,l.current)}updateFeatures(){let l="animation";for(l in ou){const o=ou[l];if(!o)continue;const{isEnabled:u,Feature:c}=o;if(!this.features[l]&&c&&u(this.props)&&(this.features[l]=new c(this)),this.features[l]){const d=this.features[l];d.isMounted?d.update():(d.mount(),d.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):Jt()}getStaticValue(l){return this.latestValues[l]}setStaticValue(l,o){this.latestValues[l]=o}update(l,o){(l.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=l,this.prevPresenceContext=this.presenceContext,this.presenceContext=o;for(let u=0;u<Yp.length;u++){const c=Yp[u];this.propEventSubscriptions[c]&&(this.propEventSubscriptions[c](),delete this.propEventSubscriptions[c]);const d="on"+c,h=l[d];h&&(this.propEventSubscriptions[c]=this.on(c,h))}this.prevMotionValues=_S(this,this.scrapeMotionValuesFromProps(l,this.prevProps||{},this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(l){return this.props.variants?this.props.variants[l]: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(l){const o=this.getClosestVariantNode();if(o)return o.variantChildren&&o.variantChildren.add(l),()=>o.variantChildren.delete(l)}addValue(l,o){const u=this.values.get(l);o!==u&&(u&&this.removeValue(l),this.bindToMotionValue(l,o),this.values.set(l,o),this.latestValues[l]=o.get())}removeValue(l){this.values.delete(l);const o=this.valueSubscriptions.get(l);o&&(o(),this.valueSubscriptions.delete(l)),delete this.latestValues[l],this.removeValueFromRenderState(l,this.renderState)}hasValue(l){return this.values.has(l)}getValue(l,o){if(this.props.values&&this.props.values[l])return this.props.values[l];let u=this.values.get(l);return u===void 0&&o!==void 0&&(u=hi(o===null?void 0:o,{owner:this}),this.addValue(l,u)),u}readValue(l,o){let u=this.latestValues[l]!==void 0||!this.current?this.latestValues[l]:this.getBaseTargetFromProps(this.props,l)??this.readValueFromInstance(this.current,l,this.options);return u!=null&&(typeof u=="string"&&(Qy(u)||Ky(u))?u=parseFloat(u):!OS(u)&&Ke.test(o)&&(u=U0(l,o)),this.setBaseTarget(l,le(u)?u.get():u)),le(u)?u.get():u}setBaseTarget(l,o){this.baseTarget[l]=o}getBaseTarget(l){var d;const{initial:o}=this.props;let u;if(typeof o=="string"||typeof o=="object"){const h=kc(this.props,o,(d=this.presenceContext)==null?void 0:d.custom);h&&(u=h[l])}if(o&&u!==void 0)return u;const c=this.getBaseTargetFromProps(this.props,l);return c!==void 0&&!le(c)?c:this.initialValues[l]!==void 0&&u===void 0?void 0:this.baseTarget[l]}on(l,o){return this.events[l]||(this.events[l]=new _c),this.events[l].add(o)}notify(l,...o){this.events[l]&&this.events[l].notify(...o)}scheduleRenderMicrotask(){Wc.render(this.render)}}class k0 extends HS{constructor(){super(...arguments),this.KeyframeResolver=dS}sortInstanceNodePosition(l,o){return l.compareDocumentPosition(o)&2?1:-1}getBaseTargetFromProps(l,o){const u=l.style;return u?u[o]:void 0}removeValueFromRenderState(l,{vars:o,style:u}){delete o[l],delete u[l]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:l}=this.props;le(l)&&(this.childSubscription=l.on("change",o=>{this.current&&(this.current.textContent=`${o}`)}))}}class Pn{constructor(l){this.isMounted=!1,this.node=l}update(){}}function J0({top:a,left:l,right:o,bottom:u}){return{x:{min:l,max:o},y:{min:a,max:u}}}function qS({x:a,y:l}){return{top:l.min,right:a.max,bottom:l.max,left:a.min}}function YS(a,l){if(!l)return a;const o=l({x:a.left,y:a.top}),u=l({x:a.right,y:a.bottom});return{top:o.y,left:o.x,bottom:u.y,right:u.x}}function Fr(a){return a===void 0||a===1}function Ec({scale:a,scaleX:l,scaleY:o}){return!Fr(a)||!Fr(l)||!Fr(o)}function va(a){return Ec(a)||F0(a)||a.z||a.rotate||a.rotateX||a.rotateY||a.skewX||a.skewY}function F0(a){return Gp(a.x)||Gp(a.y)}function Gp(a){return a&&a!=="0%"}function ru(a,l,o){const u=a-o,c=l*u;return o+c}function Xp(a,l,o,u,c){return c!==void 0&&(a=ru(a,c,u)),ru(a,o,u)+l}function Mc(a,l=0,o=1,u,c){a.min=Xp(a.min,l,o,u,c),a.max=Xp(a.max,l,o,u,c)}function W0(a,{x:l,y:o}){Mc(a.x,l.translate,l.scale,l.originPoint),Mc(a.y,o.translate,o.scale,o.originPoint)}const Qp=.999999999999,Zp=1.0000000000001;function GS(a,l,o,u=!1){var m;const c=o.length;if(!c)return;l.x=l.y=1;let d,h;for(let g=0;g<c;g++){d=o[g],h=d.projectionDelta;const{visualElement:p}=d.options;p&&p.props.style&&p.props.style.display==="contents"||(u&&d.options.layoutScroll&&d.scroll&&d!==d.root&&(Ie(a.x,-d.scroll.offset.x),Ie(a.y,-d.scroll.offset.y)),h&&(l.x*=h.x.scale,l.y*=h.y.scale,W0(a,h)),u&&va(d.latestValues)&&tu(a,d.latestValues,(m=d.layout)==null?void 0:m.layoutBox))}l.x<Zp&&l.x>Qp&&(l.x=1),l.y<Zp&&l.y>Qp&&(l.y=1)}function Ie(a,l){a.min+=l,a.max+=l}function Kp(a,l,o,u,c=.5){const d=Rt(a.min,a.max,c);Mc(a,l,o,d,u)}function kp(a,l){return typeof a=="string"?parseFloat(a)/100*(l.max-l.min):a}function tu(a,l,o){const u=o??a;Kp(a.x,kp(l.x,u.x),l.scaleX,l.scale,l.originX),Kp(a.y,kp(l.y,u.y),l.scaleY,l.scale,l.originY)}function P0(a,l){return J0(YS(a.getBoundingClientRect(),l))}function XS(a,l,o){const u=P0(a,o),{scroll:c}=l;return c&&(Ie(u.x,c.offset.x),Ie(u.y,c.offset.y)),u}const QS={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},ZS=mi.length;function KS(a,l,o){let u="",c=!0;for(let d=0;d<ZS;d++){const h=mi[d],m=a[h];if(m===void 0)continue;let g=!0;if(typeof m=="number")g=m===(h.startsWith("scale")?1:0);else{const p=parseFloat(m);g=h.startsWith("scale")?p===1:p===0}if(!g||o){const p=H0(m,Fc[h]);if(!g){c=!1;const v=QS[h]||h;u+=`${v}(${p}) `}o&&(l[h]=p)}}return u=u.trim(),o?u=o(l,c?"":u):c&&(u="none"),u}function ef(a,l,o){const{style:u,vars:c,transformOrigin:d}=a;let h=!1,m=!1;for(const g in l){const p=l[g];if(pi.has(g)){h=!0;continue}else if(u0(g)){c[g]=p;continue}else{const v=H0(p,Fc[g]);g.startsWith("origin")?(m=!0,d[g]=v):u[g]=v}}if(l.transform||(h||o?u.transform=KS(l,a.transform,o):u.transform&&(u.transform="none")),m){const{originX:g="50%",originY:p="50%",originZ:v=0}=d;u.transformOrigin=`${g} ${p} ${v}`}}function $0(a,{style:l,vars:o},u,c){const d=a.style;let h;for(h in l)d[h]=l[h];c==null||c.applyProjectionStyles(d,u);for(h in o)d.setProperty(h,o[h])}function Jp(a,l){return l.max===l.min?0:a/(l.max-l.min)*100}const fl={correct:(a,l)=>{if(!l.target)return a;if(typeof a=="string")if(P.test(a))a=parseFloat(a);else return a;const o=Jp(a,l.target.x),u=Jp(a,l.target.y);return`${o}% ${u}%`}},kS={correct:(a,{treeScale:l,projectionDelta:o})=>{const u=a,c=Ke.parse(a);if(c.length>5)return u;const d=Ke.createTransformer(a),h=typeof c[0]!="number"?1:0,m=o.x.scale*l.x,g=o.y.scale*l.y;c[0+h]/=m,c[1+h]/=g;const p=Rt(m,g,.5);return typeof c[2+h]=="number"&&(c[2+h]/=p),typeof c[3+h]=="number"&&(c[3+h]/=p),d(c)}},Dc={borderRadius:{...fl,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:fl,borderTopRightRadius:fl,borderBottomLeftRadius:fl,borderBottomRightRadius:fl,boxShadow:kS};function I0(a,{layout:l,layoutId:o}){return pi.has(a)||a.startsWith("origin")||(l||o!==void 0)&&(!!Dc[a]||a==="opacity")}function nf(a,l,o){var h;const u=a.style,c=l==null?void 0:l.style,d={};if(!u)return d;for(const m in u)(le(u[m])||c&&le(c[m])||I0(m,a)||((h=o==null?void 0:o.getValue(m))==null?void 0:h.liveStyle)!==void 0)&&(d[m]=u[m]);return d}function JS(a){return window.getComputedStyle(a)}class FS extends k0{constructor(){super(...arguments),this.type="html",this.renderInstance=$0}readValueFromInstance(l,o){var u;if(pi.has(o))return(u=this.projection)!=null&&u.isProjecting?hc(o):pb(l,o);{const c=JS(l),d=(u0(o)?c.getPropertyValue(o):c[o])||0;return typeof d=="string"?d.trim():d}}measureInstanceViewportBox(l,{transformPagePoint:o}){return P0(l,o)}build(l,o,u){ef(l,o,u.transformTemplate)}scrapeMotionValuesFromProps(l,o,u){return nf(l,o,u)}}const WS={offset:"stroke-dashoffset",array:"stroke-dasharray"},PS={offset:"strokeDashoffset",array:"strokeDasharray"};function $S(a,l,o=1,u=0,c=!0){a.pathLength=1;const d=c?WS:PS;a[d.offset]=`${-u}`,a[d.array]=`${l} ${o}`}const IS=["offsetDistance","offsetPath","offsetRotate","offsetAnchor"];function tg(a,{attrX:l,attrY:o,attrScale:u,pathLength:c,pathSpacing:d=1,pathOffset:h=0,...m},g,p,v){if(ef(a,m,p),g){a.style.viewBox&&(a.attrs.viewBox=a.style.viewBox);return}a.attrs=a.style,a.style={};const{attrs:x,style:T}=a;x.transform&&(T.transform=x.transform,delete x.transform),(T.transform||x.transformOrigin)&&(T.transformOrigin=x.transformOrigin??"50% 50%",delete x.transformOrigin),T.transform&&(T.transformBox=(v==null?void 0:v.transformBox)??"fill-box",delete x.transformBox);for(const D of IS)x[D]!==void 0&&(T[D]=x[D],delete x[D]);l!==void 0&&(x.x=l),o!==void 0&&(x.y=o),u!==void 0&&(x.scale=u),c!==void 0&&$S(x,c,d,h,!1)}const eg=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"]),ng=a=>typeof a=="string"&&a.toLowerCase()==="svg";function t2(a,l,o,u){$0(a,l,void 0,u);for(const c in l.attrs)a.setAttribute(eg.has(c)?c:Jc(c),l.attrs[c])}function ag(a,l,o){const u=nf(a,l,o);for(const c in a)if(le(a[c])||le(l[c])){const d=mi.indexOf(c)!==-1?"attr"+c.charAt(0).toUpperCase()+c.substring(1):c;u[d]=a[c]}return u}class e2 extends k0{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=Jt}getBaseTargetFromProps(l,o){return l[o]}readValueFromInstance(l,o){if(pi.has(o)){const u=B0(o);return u&&u.default||0}return o=eg.has(o)?o:Jc(o),l.getAttribute(o)}scrapeMotionValuesFromProps(l,o,u){return ag(l,o,u)}build(l,o,u){tg(l,o,this.isSVGTag,u.transformTemplate,u.style)}renderInstance(l,o,u,c){t2(l,o,u,c)}mount(l){this.isSVGTag=ng(l.tagName),super.mount(l)}}const n2=tf.length;function ig(a){if(!a)return;if(!a.isControllingVariants){const o=a.parent?ig(a.parent)||{}:{};return a.props.initial!==void 0&&(o.initial=a.props.initial),o}const l={};for(let o=0;o<n2;o++){const u=tf[o],c=a.props[u];(bl(c)||c===!1)&&(l[u]=c)}return l}function lg(a,l){if(!Array.isArray(l))return!1;const o=l.length;if(o!==a.length)return!1;for(let u=0;u<o;u++)if(l[u]!==a[u])return!1;return!0}const a2=[...Ic].reverse(),i2=Ic.length;function l2(a){return l=>Promise.all(l.map(({animation:o,options:u})=>nS(a,o,u)))}function s2(a){let l=l2(a),o=Fp(),u=!0,c=!1;const d=p=>(v,x)=>{var D;const T=Ta(a,x,p==="exit"?(D=a.presenceContext)==null?void 0:D.custom:void 0);if(T){const{transition:j,transitionEnd:H,...O}=T;v={...v,...O,...H}}return v};function h(p){l=p(a)}function m(p){const{props:v}=a,x=ig(a.parent)||{},T=[],D=new Set;let j={},H=1/0;for(let q=0;q<i2;q++){const G=a2[q],Y=o[G],_=v[G]!==void 0?v[G]:x[G],Z=bl(_),it=G===p?Y.isActive:null;it===!1&&(H=q);let k=_===x[G]&&_!==v[G]&&Z;if(k&&(u||c)&&a.manuallyAnimateOnMount&&(k=!1),Y.protectedKeys={...j},!Y.isActive&&it===null||!_&&!Y.prevProp||mu(_)||typeof _=="boolean")continue;if(G==="exit"&&Y.isActive&&it!==!0){Y.prevResolvedValues&&(j={...j,...Y.prevResolvedValues});continue}const F=u2(Y.prevProp,_);let at=F||G===p&&Y.isActive&&!k&&Z||q>H&&Z,tt=!1;const pt=Array.isArray(_)?_:[_];let vt=pt.reduce(d(G),{});it===!1&&(vt={});const{prevResolvedValues:$t={}}=Y,Yt={...$t,...vt},Ut=J=>{at=!0,D.has(J)&&(tt=!0,D.delete(J)),Y.needsAnimating[J]=!0;const ot=a.getValue(J);ot&&(ot.liveStyle=!1)};for(const J in Yt){const ot=vt[J],yt=$t[J];if(j.hasOwnProperty(J))continue;let E=!1;vc(ot)&&vc(yt)?E=!lg(ot,yt)||F:E=ot!==yt,E?ot!=null?Ut(J):D.add(J):ot!==void 0&&D.has(J)?Ut(J):Y.protectedKeys[J]=!0}Y.prevProp=_,Y.prevResolvedValues=vt,Y.isActive&&(j={...j,...vt}),(u||c)&&a.blockInitialAnimation&&(at=!1);const R=k&&F;at&&(!R||tt)&&T.push(...pt.map(J=>{const ot={type:G};if(typeof J=="string"&&(u||c)&&!R&&a.manuallyAnimateOnMount&&a.parent){const{parent:yt}=a,E=Ta(yt,J);if(yt.enteringChildren&&E){const{delayChildren:L}=E.transition||{};ot.delay=C0(yt.enteringChildren,a,L)}}return{animation:J,options:ot}}))}if(D.size){const q={};if(typeof v.initial!="boolean"){const G=Ta(a,Array.isArray(v.initial)?v.initial[0]:v.initial);G&&G.transition&&(q.transition=G.transition)}D.forEach(G=>{const Y=a.getBaseTarget(G),_=a.getValue(G);_&&(_.liveStyle=!0),q[G]=Y??null}),T.push({animation:q})}let O=!!T.length;return u&&(v.initial===!1||v.initial===v.animate)&&!a.manuallyAnimateOnMount&&(O=!1),u=!1,c=!1,O?l(T):Promise.resolve()}function g(p,v){var T;if(o[p].isActive===v)return Promise.resolve();(T=a.variantChildren)==null||T.forEach(D=>{var j;return(j=D.animationState)==null?void 0:j.setActive(p,v)}),o[p].isActive=v;const x=m(p);for(const D in o)o[D].protectedKeys={};return x}return{animateChanges:m,setActive:g,setAnimateFunction:h,getState:()=>o,reset:()=>{o=Fp(),c=!0}}}function u2(a,l){return typeof l=="string"?l!==a:Array.isArray(l)?!lg(l,a):!1}function ga(a=!1){return{isActive:a,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function Fp(){return{animate:ga(!0),whileInView:ga(),whileHover:ga(),whileTap:ga(),whileDrag:ga(),whileFocus:ga(),exit:ga()}}function Cc(a,l){a.min=l.min,a.max=l.max}function Qe(a,l){Cc(a.x,l.x),Cc(a.y,l.y)}function Wp(a,l){a.translate=l.translate,a.scale=l.scale,a.originPoint=l.originPoint,a.origin=l.origin}const sg=1e-4,o2=1-sg,r2=1+sg,ug=.01,c2=0-ug,f2=0+ug;function ce(a){return a.max-a.min}function h2(a,l,o){return Math.abs(a-l)<=o}function Pp(a,l,o,u=.5){a.origin=u,a.originPoint=Rt(l.min,l.max,a.origin),a.scale=ce(o)/ce(l),a.translate=Rt(o.min,o.max,a.origin)-a.originPoint,(a.scale>=o2&&a.scale<=r2||isNaN(a.scale))&&(a.scale=1),(a.translate>=c2&&a.translate<=f2||isNaN(a.translate))&&(a.translate=0)}function yl(a,l,o,u){Pp(a.x,l.x,o.x,u?u.originX:void 0),Pp(a.y,l.y,o.y,u?u.originY:void 0)}function $p(a,l,o,u=0){const c=u?Rt(o.min,o.max,u):o.min;a.min=c+l.min,a.max=a.min+ce(l)}function d2(a,l,o,u){$p(a.x,l.x,o.x,u==null?void 0:u.x),$p(a.y,l.y,o.y,u==null?void 0:u.y)}function Ip(a,l,o,u=0){const c=u?Rt(o.min,o.max,u):o.min;a.min=l.min-c,a.max=a.min+ce(l)}function cu(a,l,o,u){Ip(a.x,l.x,o.x,u==null?void 0:u.x),Ip(a.y,l.y,o.y,u==null?void 0:u.y)}function ty(a,l,o,u,c){return a-=l,a=ru(a,1/o,u),c!==void 0&&(a=ru(a,1/c,u)),a}function m2(a,l=0,o=1,u=.5,c,d=a,h=a){if(tn.test(l)&&(l=parseFloat(l),l=Rt(h.min,h.max,l/100)-h.min),typeof l!="number")return;let m=Rt(d.min,d.max,u);a===d&&(m-=l),a.min=ty(a.min,l,o,m,c),a.max=ty(a.max,l,o,m,c)}function ey(a,l,[o,u,c],d,h){m2(a,l[o],l[u],l[c],l.scale,d,h)}const p2=["x","scaleX","originX"],y2=["y","scaleY","originY"];function ny(a,l,o,u){ey(a.x,l,p2,o?o.x:void 0,u?u.x:void 0),ey(a.y,l,y2,o?o.y:void 0,u?u.y:void 0)}function ay(a){return a.translate===0&&a.scale===1}function og(a){return ay(a.x)&&ay(a.y)}function iy(a,l){return a.min===l.min&&a.max===l.max}function g2(a,l){return iy(a.x,l.x)&&iy(a.y,l.y)}function ly(a,l){return Math.round(a.min)===Math.round(l.min)&&Math.round(a.max)===Math.round(l.max)}function rg(a,l){return ly(a.x,l.x)&&ly(a.y,l.y)}function sy(a){return ce(a.x)/ce(a.y)}function uy(a,l){return a.translate===l.translate&&a.scale===l.scale&&a.originPoint===l.originPoint}function $e(a){return[a("x"),a("y")]}function v2(a,l,o){let u="";const c=a.x.translate/l.x,d=a.y.translate/l.y,h=(o==null?void 0:o.z)||0;if((c||d||h)&&(u=`translate3d(${c}px, ${d}px, ${h}px) `),(l.x!==1||l.y!==1)&&(u+=`scale(${1/l.x}, ${1/l.y}) `),o){const{transformPerspective:p,rotate:v,rotateX:x,rotateY:T,skewX:D,skewY:j}=o;p&&(u=`perspective(${p}px) ${u}`),v&&(u+=`rotate(${v}deg) `),x&&(u+=`rotateX(${x}deg) `),T&&(u+=`rotateY(${T}deg) `),D&&(u+=`skewX(${D}deg) `),j&&(u+=`skewY(${j}deg) `)}const m=a.x.scale*l.x,g=a.y.scale*l.y;return(m!==1||g!==1)&&(u+=`scale(${m}, ${g})`),u||"none"}const cg=["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"],x2=cg.length,oy=a=>typeof a=="string"?parseFloat(a):a,ry=a=>typeof a=="number"||P.test(a);function b2(a,l,o,u,c,d){c?(a.opacity=Rt(0,o.opacity??1,S2(u)),a.opacityExit=Rt(l.opacity??1,0,T2(u))):d&&(a.opacity=Rt(l.opacity??1,o.opacity??1,u));for(let h=0;h<x2;h++){const m=cg[h];let g=cy(l,m),p=cy(o,m);if(g===void 0&&p===void 0)continue;g||(g=0),p||(p=0),g===0||p===0||ry(g)===ry(p)?(a[m]=Math.max(Rt(oy(g),oy(p),u),0),(tn.test(p)||tn.test(g))&&(a[m]+="%")):a[m]=p}(l.rotate||o.rotate)&&(a.rotate=Rt(l.rotate||0,o.rotate||0,u))}function cy(a,l){return a[l]!==void 0?a[l]:a.borderRadius}const S2=fg(0,.5,e0),T2=fg(.5,.95,qe);function fg(a,l,o){return u=>u<a?0:u>l?1:o(vl(a,l,u))}function A2(a,l,o){const u=le(a)?a:hi(a);return u.start(Kc("",u,l,o)),u.animation}function Sl(a,l,o,u={passive:!0}){return a.addEventListener(l,o,u),()=>a.removeEventListener(l,o)}const E2=(a,l)=>a.depth-l.depth;class M2{constructor(){this.children=[],this.isDirty=!1}add(l){Oc(this.children,l),this.isDirty=!0}remove(l){au(this.children,l),this.isDirty=!0}forEach(l){this.isDirty&&this.children.sort(E2),this.isDirty=!1,this.children.forEach(l)}}function D2(a,l){const o=re.now(),u=({timestamp:c})=>{const d=c-o;d>=l&&(Wn(u),a(d-l))};return zt.setup(u,!0),()=>Wn(u)}function eu(a){return le(a)?a.get():a}class C2{constructor(){this.members=[]}add(l){Oc(this.members,l);for(let o=this.members.length-1;o>=0;o--){const u=this.members[o];if(u===l||u===this.lead||u===this.prevLead)continue;const c=u.instance;(!c||c.isConnected===!1)&&!u.snapshot&&(au(this.members,u),u.unmount())}l.scheduleRender()}remove(l){if(au(this.members,l),l===this.prevLead&&(this.prevLead=void 0),l===this.lead){const o=this.members[this.members.length-1];o&&this.promote(o)}}relegate(l){var o;for(let u=this.members.indexOf(l)-1;u>=0;u--){const c=this.members[u];if(c.isPresent!==!1&&((o=c.instance)==null?void 0:o.isConnected)!==!1)return this.promote(c),!0}return!1}promote(l,o){var c;const u=this.lead;if(l!==u&&(this.prevLead=u,this.lead=l,l.show(),u)){u.updateSnapshot(),l.scheduleRender();const{layoutDependency:d}=u.options,{layoutDependency:h}=l.options;(d===void 0||d!==h)&&(l.resumeFrom=u,o&&(u.preserveOpacity=!0),u.snapshot&&(l.snapshot=u.snapshot,l.snapshot.latestValues=u.animationValues||u.latestValues),(c=l.root)!=null&&c.isUpdating&&(l.isLayoutDirty=!0)),l.options.crossfade===!1&&u.hide()}}exitAnimationComplete(){this.members.forEach(l=>{var o,u,c,d,h;(u=(o=l.options).onExitComplete)==null||u.call(o),(h=(c=l.resumingFrom)==null?void 0:(d=c.options).onExitComplete)==null||h.call(d)})}scheduleRender(){this.members.forEach(l=>l.instance&&l.scheduleRender(!1))}removeLeadSnapshot(){var l;(l=this.lead)!=null&&l.snapshot&&(this.lead.snapshot=void 0)}}const nu={hasAnimatedSinceResize:!0,hasEverUpdated:!1},Wr=["","X","Y","Z"],w2=1e3;let z2=0;function Pr(a,l,o,u){const{latestValues:c}=l;c[a]&&(o[a]=c[a],l.setStaticValue(a,0),u&&(u[a]=0))}function hg(a){if(a.hasCheckedOptimisedAppear=!0,a.root===a)return;const{visualElement:l}=a.options;if(!l)return;const o=R0(l);if(window.MotionHasOptimisedAnimation(o,"transform")){const{layout:c,layoutId:d}=a.options;window.MotionCancelOptimisedAnimation(o,"transform",zt,!(c||d))}const{parent:u}=a;u&&!u.hasCheckedOptimisedAppear&&hg(u)}function dg({attachResizeListener:a,defaultParent:l,measureScroll:o,checkIsScrollRoot:u,resetTransform:c}){return class{constructor(h={},m=l==null?void 0:l()){this.id=z2++,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=()=>{this.projectionUpdateScheduled=!1,this.nodes.forEach(R2),this.nodes.forEach(L2),this.nodes.forEach(H2),this.nodes.forEach(O2)},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 M2)}addEventListener(h,m){return this.eventHandlers.has(h)||this.eventHandlers.set(h,new _c),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=$c(h)&&!NS(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),a){let v,x=0;const T=()=>this.root.updateBlockedByResize=!1;zt.read(()=>{x=window.innerWidth}),a(h,()=>{const D=window.innerWidth;D!==x&&(x=D,this.root.updateBlockedByResize=!0,v&&v(),v=D2(T,250),nu.hasAnimatedSinceResize&&(nu.hasAnimatedSinceResize=!1,this.nodes.forEach(dy)))})}m&&this.root.registerSharedNode(m,this),this.options.animate!==!1&&p&&(m||g)&&this.addEventListener("didUpdate",({delta:v,hasLayoutChanged:x,hasRelativeLayoutChanged:T,layout:D})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const j=this.options.transition||p.getDefaultTransition()||Q2,{onLayoutAnimationStart:H,onLayoutAnimationComplete:O}=p.getProps(),q=!this.targetLayout||!rg(this.targetLayout,D),G=!x&&T;if(this.options.layoutRoot||this.resumeFrom||G||x&&(q||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);const Y={...Zc(j,"layout"),onPlay:H,onComplete:O};(p.shouldReduceMotion||this.options.layoutRoot)&&(Y.delay=0,Y.type=!1),this.startAnimation(Y),this.setAnimationOrigin(v,G)}else x||dy(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=D})}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(),Wn(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(q2),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&&hg(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(_2),this.nodes.forEach(fy);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(hy);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(B2),this.nodes.forEach(U2),this.nodes.forEach(j2),this.nodes.forEach(N2)):this.nodes.forEach(hy),this.clearAllSnapshots();const m=re.now();ie.delta=en(0,1e3/60,m-ie.timestamp),ie.timestamp=m,ie.isProcessing=!0,Gr.update.process(ie),Gr.preRender.process(ie),Gr.render.process(ie),ie.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,Wc.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(V2),this.sharedNodes.forEach(Y2)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,zt.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){zt.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!ce(this.snapshot.measuredBox.x)&&!ce(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=Jt()),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=u(this.instance);this.scroll={animationId:this.root.animationId,phase:h,isRoot:g,offset:o(this.instance),wasRoot:this.scroll?this.scroll.isRoot:g}}}resetTransform(){if(!c)return;const h=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,m=this.projectionDelta&&!og(this.projectionDelta),g=this.getTransformTemplate(),p=g?g(this.latestValues,""):void 0,v=p!==this.prevTransformTemplateValue;h&&this.instance&&(m||va(this.latestValues)||v)&&(c(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)),Z2(g),{animationId:this.root.animationId,measuredBox:m,layoutBox:g,latestValues:{},source:this.id}}measurePageBox(){var p;const{visualElement:h}=this.options;if(!h)return Jt();const m=h.measureViewportBox();if(!(((p=this.scroll)==null?void 0:p.wasRoot)||this.path.some(K2))){const{scroll:v}=this.root;v&&(Ie(m.x,v.offset.x),Ie(m.y,v.offset.y))}return m}removeElementScroll(h){var g;const m=Jt();if(Qe(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:T}=v;v!==this.root&&x&&T.layoutScroll&&(x.wasRoot&&Qe(m,h),Ie(m.x,x.offset.x),Ie(m.y,x.offset.y))}return m}applyTransform(h,m=!1,g){var v,x;const p=g||Jt();Qe(p,h);for(let T=0;T<this.path.length;T++){const D=this.path[T];!m&&D.options.layoutScroll&&D.scroll&&D!==D.root&&(Ie(p.x,-D.scroll.offset.x),Ie(p.y,-D.scroll.offset.y)),va(D.latestValues)&&tu(p,D.latestValues,(v=D.layout)==null?void 0:v.layoutBox)}return va(this.latestValues)&&tu(p,this.latestValues,(x=this.layout)==null?void 0:x.layoutBox),p}removeTransform(h){var g;const m=Jt();Qe(m,h);for(let p=0;p<this.path.length;p++){const v=this.path[p];if(!va(v.latestValues))continue;let x;v.instance&&(Ec(v.latestValues)&&v.updateSnapshot(),x=Jt(),Qe(x,v.measurePageBox())),ny(m,v.latestValues,(g=v.snapshot)==null?void 0:g.layoutBox,x)}return va(this.latestValues)&&ny(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!==ie.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(h=!1){var D;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||(D=this.parent)!=null&&D.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:v,layoutId:x}=this.options;if(!this.layout||!(v||x))return;this.resolvedRelativeTargetAt=ie.timestamp;const T=this.getClosestProjectingParent();T&&this.linkedParentVersion!==T.layoutVersion&&!T.options.layoutRoot&&this.removeRelativeTarget(),!this.targetDelta&&!this.relativeTarget&&(this.options.layoutAnchor!==!1&&T&&T.layout?this.createRelativeTarget(T,this.layout.layoutBox,T.layout.layoutBox):this.removeRelativeTarget()),!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=Jt(),this.targetWithTransforms=Jt()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),d2(this.target,this.relativeTarget,this.relativeParent.target,this.options.layoutAnchor||void 0)):this.targetDelta?(this.resumingFrom?this.applyTransform(this.layout.layoutBox,!1,this.target):Qe(this.target,this.layout.layoutBox),W0(this.target,this.targetDelta)):Qe(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,this.options.layoutAnchor!==!1&&T&&!!T.resumingFrom==!!this.resumingFrom&&!T.options.layoutScroll&&T.target&&this.animationProgress!==1?this.createRelativeTarget(T,this.target,T.target):this.relativeParent=this.relativeTarget=void 0))}getClosestProjectingParent(){if(!(!this.parent||Ec(this.parent.latestValues)||F0(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=Jt(),this.relativeTargetOrigin=Jt(),cu(this.relativeTargetOrigin,m,g,this.options.layoutAnchor||void 0),Qe(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){var j;const h=this.getLead(),m=!!this.resumingFrom||this!==h;let g=!0;if((this.isProjectionDirty||(j=this.parent)!=null&&j.isProjectionDirty)&&(g=!1),m&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(g=!1),this.resolvedRelativeTargetAt===ie.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;Qe(this.layoutCorrected,this.layout.layoutBox);const x=this.treeScale.x,T=this.treeScale.y;GS(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=Jt());const{target:D}=h;if(!D){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(Wp(this.prevProjectionDelta.x,this.projectionDelta.x),Wp(this.prevProjectionDelta.y,this.projectionDelta.y)),yl(this.projectionDelta,this.layoutCorrected,D,this.latestValues),(this.treeScale.x!==x||this.treeScale.y!==T||!uy(this.projectionDelta.x,this.prevProjectionDelta.x)||!uy(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",D))}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=ci(),this.projectionDelta=ci(),this.projectionDeltaWithTransform=ci()}setAnimationOrigin(h,m=!1){const g=this.snapshot,p=g?g.latestValues:{},v={...this.latestValues},x=ci();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!m;const T=Jt(),D=g?g.source:void 0,j=this.layout?this.layout.source:void 0,H=D!==j,O=this.getStack(),q=!O||O.members.length<=1,G=!!(H&&!q&&this.options.crossfade===!0&&!this.path.some(X2));this.animationProgress=0;let Y;this.mixTargetDelta=_=>{const Z=_/1e3;my(x.x,h.x,Z),my(x.y,h.y,Z),this.setTargetDelta(x),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(cu(T,this.layout.layoutBox,this.relativeParent.layout.layoutBox,this.options.layoutAnchor||void 0),G2(this.relativeTarget,this.relativeTargetOrigin,T,Z),Y&&g2(this.relativeTarget,Y)&&(this.isProjectionDirty=!1),Y||(Y=Jt()),Qe(Y,this.relativeTarget)),H&&(this.animationValues=v,b2(v,p,this.latestValues,Z,G,q)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=Z},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&&(Wn(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=zt.update(()=>{nu.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=hi(0)),this.motionValue.jump(0,!1),this.currentAnimation=A2(this.motionValue,[0,1e3],{...h,velocity:0,isSync:!0,onUpdate:v=>{this.mixTargetDelta(v),h.onUpdate&&h.onUpdate(v)},onStop:()=>{},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(w2),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&&mg(this.options.animationType,this.layout.layoutBox,p.layoutBox)){g=this.target||Jt();const x=ce(this.layout.layoutBox.x);g.x.min=h.target.x.min,g.x.max=g.x.min+x;const T=ce(this.layout.layoutBox.y);g.y.min=h.target.y.min,g.y.max=g.y.min+T}Qe(m,g),tu(m,v),yl(this.projectionDeltaWithTransform,this.layoutCorrected,m,v)}}registerSharedNode(h,m){this.sharedNodes.has(h)||this.sharedNodes.set(h,new C2),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}resetSkewAndRotation(){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&&Pr("z",h,p,this.animationValues);for(let v=0;v<Wr.length;v++)Pr(`rotate${Wr[v]}`,h,p,this.animationValues),Pr(`skew${Wr[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=eu(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=eu(m==null?void 0:m.pointerEvents)||""),this.hasProjected&&!va(this.latestValues)&&(h.transform=g?g({},""):"none",this.hasProjected=!1);return}h.visibility="";const v=p.animationValues||p.latestValues;this.applyTransformsToTarget();let x=v2(this.projectionDeltaWithTransform,this.treeScale,v);g&&(x=g(v,x)),h.transform=x;const{x:T,y:D}=this.projectionDelta;h.transformOrigin=`${T.origin*100}% ${D.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 j in Dc){if(v[j]===void 0)continue;const{correct:H,applyTo:O,isCSSVariable:q}=Dc[j],G=x==="none"?v[j]:H(v[j],p);if(O){const Y=O.length;for(let _=0;_<Y;_++)h[O[_]]=G}else q?this.options.visualElement.renderState.vars[j]=G:h[j]=G}this.options.layoutId&&(h.pointerEvents=p===this?eu(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(fy),this.root.sharedNodes.clear()}}}function j2(a){a.updateLayout()}function N2(a){var o;const l=((o=a.resumeFrom)==null?void 0:o.snapshot)||a.snapshot;if(a.isLead()&&a.layout&&l&&a.hasListeners("didUpdate")){const{layoutBox:u,measuredBox:c}=a.layout,{animationType:d}=a.options,h=l.source!==a.layout.source;if(d==="size")$e(x=>{const T=h?l.measuredBox[x]:l.layoutBox[x],D=ce(T);T.min=u[x].min,T.max=T.min+D});else if(d==="x"||d==="y"){const x=d==="x"?"y":"x";Cc(h?l.measuredBox[x]:l.layoutBox[x],u[x])}else mg(d,l.layoutBox,u)&&$e(x=>{const T=h?l.measuredBox[x]:l.layoutBox[x],D=ce(u[x]);T.max=T.min+D,a.relativeTarget&&!a.currentAnimation&&(a.isProjectionDirty=!0,a.relativeTarget[x].max=a.relativeTarget[x].min+D)});const m=ci();yl(m,u,l.layoutBox);const g=ci();h?yl(g,a.applyTransform(c,!0),l.measuredBox):yl(g,u,l.layoutBox);const p=!og(m);let v=!1;if(!a.resumeFrom){const x=a.getClosestProjectingParent();if(x&&!x.resumeFrom){const{snapshot:T,layout:D}=x;if(T&&D){const j=a.options.layoutAnchor||void 0,H=Jt();cu(H,l.layoutBox,T.layoutBox,j);const O=Jt();cu(O,u,D.layoutBox,j),rg(H,O)||(v=!0),x.options.layoutRoot&&(a.relativeTarget=O,a.relativeTargetOrigin=H,a.relativeParent=x)}}}a.notifyListeners("didUpdate",{layout:u,snapshot:l,delta:g,layoutDelta:m,hasLayoutChanged:p,hasRelativeLayoutChanged:v})}else if(a.isLead()){const{onExitComplete:u}=a.options;u&&u()}a.options.transition=void 0}function R2(a){a.parent&&(a.isProjecting()||(a.isProjectionDirty=a.parent.isProjectionDirty),a.isSharedProjectionDirty||(a.isSharedProjectionDirty=!!(a.isProjectionDirty||a.parent.isProjectionDirty||a.parent.isSharedProjectionDirty)),a.isTransformDirty||(a.isTransformDirty=a.parent.isTransformDirty))}function O2(a){a.isProjectionDirty=a.isSharedProjectionDirty=a.isTransformDirty=!1}function V2(a){a.clearSnapshot()}function fy(a){a.clearMeasurements()}function _2(a){a.isLayoutDirty=!0,a.updateLayout()}function hy(a){a.isLayoutDirty=!1}function B2(a){a.isAnimationBlocked&&a.layout&&!a.isLayoutDirty&&(a.snapshot=a.layout,a.isLayoutDirty=!0)}function U2(a){const{visualElement:l}=a.options;l&&l.getProps().onBeforeLayoutMeasure&&l.notify("BeforeLayoutMeasure"),a.resetTransform()}function dy(a){a.finishAnimation(),a.targetDelta=a.relativeTarget=a.target=void 0,a.isProjectionDirty=!0}function L2(a){a.resolveTargetDelta()}function H2(a){a.calcProjection()}function q2(a){a.resetSkewAndRotation()}function Y2(a){a.removeLeadSnapshot()}function my(a,l,o){a.translate=Rt(l.translate,0,o),a.scale=Rt(l.scale,1,o),a.origin=l.origin,a.originPoint=l.originPoint}function py(a,l,o,u){a.min=Rt(l.min,o.min,u),a.max=Rt(l.max,o.max,u)}function G2(a,l,o,u){py(a.x,l.x,o.x,u),py(a.y,l.y,o.y,u)}function X2(a){return a.animationValues&&a.animationValues.opacityExit!==void 0}const Q2={duration:.45,ease:[.4,0,.1,1]},yy=a=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(a),gy=yy("applewebkit/")&&!yy("chrome/")?Math.round:qe;function vy(a){a.min=gy(a.min),a.max=gy(a.max)}function Z2(a){vy(a.x),vy(a.y)}function mg(a,l,o){return a==="position"||a==="preserve-aspect"&&!h2(sy(l),sy(o),.2)}function K2(a){var l;return a!==a.root&&((l=a.scroll)==null?void 0:l.wasRoot)}const k2=dg({attachResizeListener:(a,l)=>Sl(a,"resize",l),measureScroll:()=>{var a,l;return{x:document.documentElement.scrollLeft||((a=document.body)==null?void 0:a.scrollLeft)||0,y:document.documentElement.scrollTop||((l=document.body)==null?void 0:l.scrollTop)||0}},checkIsScrollRoot:()=>!0}),$r={current:void 0},pg=dg({measureScroll:a=>({x:a.scrollLeft,y:a.scrollTop}),defaultParent:()=>{if(!$r.current){const a=new k2({});a.mount(window),a.setOptions({layoutScroll:!0}),$r.current=a}return $r.current},resetTransform:(a,l)=>{a.style.transform=l!==void 0?l:"none"},checkIsScrollRoot:a=>window.getComputedStyle(a).position==="fixed"}),af=X.createContext({transformPagePoint:a=>a,isStatic:!1,reducedMotion:"never"});function xy(a,l){if(typeof a=="function")return a(l);a!=null&&(a.current=l)}function J2(...a){return l=>{let o=!1;const u=a.map(c=>{const d=xy(c,l);return!o&&typeof d=="function"&&(o=!0),d});if(o)return()=>{for(let c=0;c<u.length;c++){const d=u[c];typeof d=="function"?d():xy(a[c],null)}}}}function F2(...a){return X.useCallback(J2(...a),a)}class W2 extends X.Component{getSnapshotBeforeUpdate(l){const o=this.props.childRef.current;if(Ws(o)&&l.isPresent&&!this.props.isPresent&&this.props.pop!==!1){const u=o.offsetParent,c=Ws(u)&&u.offsetWidth||0,d=Ws(u)&&u.offsetHeight||0,h=getComputedStyle(o),m=this.props.sizeRef.current;m.height=parseFloat(h.height),m.width=parseFloat(h.width),m.top=o.offsetTop,m.left=o.offsetLeft,m.right=c-m.width-m.left,m.bottom=d-m.height-m.top,m.direction=h.direction}return null}componentDidUpdate(){}render(){return this.props.children}}function P2({children:a,isPresent:l,anchorX:o,anchorY:u,root:c,pop:d}){var T;const h=X.useId(),m=X.useRef(null),g=X.useRef({width:0,height:0,top:0,left:0,right:0,bottom:0,direction:"ltr"}),{nonce:p}=X.useContext(af),v=((T=a.props)==null?void 0:T.ref)??(a==null?void 0:a.ref),x=F2(m,v);return X.useInsertionEffect(()=>{const{width:D,height:j,top:H,left:O,right:q,bottom:G,direction:Y}=g.current;if(l||d===!1||!m.current||!D||!j)return;const _=Y==="rtl",Z=o==="left"?_?`right: ${q}`:`left: ${O}`:_?`left: ${O}`:`right: ${q}`,it=u==="bottom"?`bottom: ${G}`:`top: ${H}`;m.current.dataset.motionPopId=h;const k=document.createElement("style");p&&(k.nonce=p);const F=c??document.head;return F.appendChild(k),k.sheet&&k.sheet.insertRule(`
          [data-motion-pop-id="${h}"] {
            position: absolute !important;
            width: ${D}px !important;
            height: ${j}px !important;
            ${Z}px !important;
            ${it}px !important;
          }
        `),()=>{var at;(at=m.current)==null||at.removeAttribute("data-motion-pop-id"),F.contains(k)&&F.removeChild(k)}},[l]),b.jsx(W2,{isPresent:l,childRef:m,sizeRef:g,pop:d,children:d===!1?a:X.cloneElement(a,{ref:x})})}const $2=({children:a,initial:l,isPresent:o,onExitComplete:u,custom:c,presenceAffectsLayout:d,mode:h,anchorX:m,anchorY:g,root:p})=>{const v=Rc(I2),x=X.useId();let T=!0,D=X.useMemo(()=>(T=!1,{id:x,initial:l,isPresent:o,custom:c,onExitComplete:j=>{v.set(j,!0);for(const H of v.values())if(!H)return;u&&u()},register:j=>(v.set(j,!1),()=>v.delete(j))}),[o,v,u]);return d&&T&&(D={...D}),X.useMemo(()=>{v.forEach((j,H)=>v.set(H,!1))},[o]),X.useEffect(()=>{!o&&!v.size&&u&&u()},[o]),a=b.jsx(P2,{pop:h==="popLayout",isPresent:o,anchorX:m,anchorY:g,root:p,children:a}),b.jsx(hu.Provider,{value:D,children:a})};function I2(){return new Map}function yg(a=!0){const l=X.useContext(hu);if(l===null)return[!0,null];const{isPresent:o,onExitComplete:u,register:c}=l,d=X.useId();X.useEffect(()=>{if(a)return c(d)},[a]);const h=X.useCallback(()=>a&&u&&u(d),[d,u,a]);return!o&&u?[!1,h]:[!0]}const Ks=a=>a.key||"";function by(a){const l=[];return X.Children.forEach(a,o=>{X.isValidElement(o)&&l.push(o)}),l}const hl=({children:a,custom:l,initial:o=!0,onExitComplete:u,presenceAffectsLayout:c=!0,mode:d="sync",propagate:h=!1,anchorX:m="left",anchorY:g="top",root:p})=>{const[v,x]=yg(h),T=X.useMemo(()=>by(a),[a]),D=h&&!v?[]:T.map(Ks),j=X.useRef(!0),H=X.useRef(T),O=Rc(()=>new Map),q=X.useRef(new Set),[G,Y]=X.useState(T),[_,Z]=X.useState(T);Xy(()=>{j.current=!1,H.current=T;for(let F=0;F<_.length;F++){const at=Ks(_[F]);D.includes(at)?(O.delete(at),q.current.delete(at)):O.get(at)!==!0&&O.set(at,!1)}},[_,D.length,D.join("-")]);const it=[];if(T!==G){let F=[...T];for(let at=0;at<_.length;at++){const tt=_[at],pt=Ks(tt);D.includes(pt)||(F.splice(at,0,tt),it.push(tt))}return d==="wait"&&it.length&&(F=it),Z(by(F)),Y(T),null}const{forceRender:k}=X.useContext(Nc);return b.jsx(b.Fragment,{children:_.map(F=>{const at=Ks(F),tt=h&&!v?!1:T===_||D.includes(at),pt=()=>{if(q.current.has(at))return;if(O.has(at))q.current.add(at),O.set(at,!0);else return;let vt=!0;O.forEach($t=>{$t||(vt=!1)}),vt&&(k==null||k(),Z(H.current),h&&(x==null||x()),u&&u())};return b.jsx($2,{isPresent:tt,initial:!j.current||o?void 0:!1,custom:l,presenceAffectsLayout:c,mode:d,root:p,onExitComplete:tt?void 0:pt,anchorX:m,anchorY:g,children:F},at)})})},gg=X.createContext({strict:!1}),Sy={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 Ty=!1;function tT(){if(Ty)return;const a={};for(const l in Sy)a[l]={isEnabled:o=>Sy[l].some(u=>!!o[u])};K0(a),Ty=!0}function vg(){return tT(),LS()}function eT(a){const l=vg();for(const o in a)l[o]={...l[o],...a[o]};K0(l)}const nT=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 fu(a){return a.startsWith("while")||a.startsWith("drag")&&a!=="draggable"||a.startsWith("layout")||a.startsWith("onTap")||a.startsWith("onPan")||a.startsWith("onLayout")||nT.has(a)}let xg=a=>!fu(a);function aT(a){typeof a=="function"&&(xg=l=>l.startsWith("on")?!fu(l):a(l))}try{aT(require("@emotion/is-prop-valid").default)}catch{}function iT(a,l,o){const u={};for(const c in a)c==="values"&&typeof a.values=="object"||le(a[c])||(xg(c)||o===!0&&fu(c)||!l&&!fu(c)||a.draggable&&c.startsWith("onDrag"))&&(u[c]=a[c]);return u}const yu=X.createContext({});function lT(a,l){if(pu(a)){const{initial:o,animate:u}=a;return{initial:o===!1||bl(o)?o:void 0,animate:bl(u)?u:void 0}}return a.inherit!==!1?l:{}}function sT(a){const{initial:l,animate:o}=lT(a,X.useContext(yu));return X.useMemo(()=>({initial:l,animate:o}),[Ay(l),Ay(o)])}function Ay(a){return Array.isArray(a)?a.join(" "):a}const lf=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function bg(a,l,o){for(const u in l)!le(l[u])&&!I0(u,o)&&(a[u]=l[u])}function uT({transformTemplate:a},l){return X.useMemo(()=>{const o=lf();return ef(o,l,a),Object.assign({},o.vars,o.style)},[l])}function oT(a,l){const o=a.style||{},u={};return bg(u,o,a),Object.assign(u,uT(a,l)),u}function rT(a,l){const o={},u=oT(a,l);return a.drag&&a.dragListener!==!1&&(o.draggable=!1,u.userSelect=u.WebkitUserSelect=u.WebkitTouchCallout="none",u.touchAction=a.drag===!0?"none":`pan-${a.drag==="x"?"y":"x"}`),a.tabIndex===void 0&&(a.onTap||a.onTapStart||a.whileTap)&&(o.tabIndex=0),o.style=u,o}const Sg=()=>({...lf(),attrs:{}});function cT(a,l,o,u){const c=X.useMemo(()=>{const d=Sg();return tg(d,l,ng(u),a.transformTemplate,a.style),{...d.attrs,style:{...d.style}}},[l]);if(a.style){const d={};bg(d,a.style,a),c.style={...d,...c.style}}return c}const fT=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function sf(a){return typeof a!="string"||a.includes("-")?!1:!!(fT.indexOf(a)>-1||/[A-Z]/u.test(a))}function hT(a,l,o,{latestValues:u},c,d=!1,h){const g=(h??sf(a)?cT:rT)(l,u,c,a),p=iT(l,typeof a=="string",d),v=a!==X.Fragment?{...p,...g,ref:o}:{},{children:x}=l,T=X.useMemo(()=>le(x)?x.get():x,[x]);return X.createElement(a,{...v,children:T})}function dT({scrapeMotionValuesFromProps:a,createRenderState:l},o,u,c){return{latestValues:mT(o,u,c,a),renderState:l()}}function mT(a,l,o,u){const c={},d=u(a,{});for(const T in d)c[T]=eu(d[T]);let{initial:h,animate:m}=a;const g=pu(a),p=Q0(a);l&&p&&!g&&a.inherit!==!1&&(h===void 0&&(h=l.initial),m===void 0&&(m=l.animate));let v=o?o.initial===!1:!1;v=v||h===!1;const x=v?m:h;if(x&&typeof x!="boolean"&&!mu(x)){const T=Array.isArray(x)?x:[x];for(let D=0;D<T.length;D++){const j=kc(a,T[D]);if(j){const{transitionEnd:H,transition:O,...q}=j;for(const G in q){let Y=q[G];if(Array.isArray(Y)){const _=v?Y.length-1:0;Y=Y[_]}Y!==null&&(c[G]=Y)}for(const G in H)c[G]=H[G]}}}return c}const Tg=a=>(l,o)=>{const u=X.useContext(yu),c=X.useContext(hu),d=()=>dT(a,l,u,c);return o?d():Rc(d)},pT=Tg({scrapeMotionValuesFromProps:nf,createRenderState:lf}),yT=Tg({scrapeMotionValuesFromProps:ag,createRenderState:Sg}),gT=Symbol.for("motionComponentSymbol");function vT(a,l,o){const u=X.useRef(o);X.useInsertionEffect(()=>{u.current=o});const c=X.useRef(null);return X.useCallback(d=>{var m;d&&((m=a.onMount)==null||m.call(a,d)),l&&(d?l.mount(d):l.unmount());const h=u.current;if(typeof h=="function")if(d){const g=h(d);typeof g=="function"&&(c.current=g)}else c.current?(c.current(),c.current=null):h(d);else h&&(h.current=d)},[l])}const Ag=X.createContext({});function ui(a){return a&&typeof a=="object"&&Object.prototype.hasOwnProperty.call(a,"current")}function xT(a,l,o,u,c,d){var Y,_;const{visualElement:h}=X.useContext(yu),m=X.useContext(gg),g=X.useContext(hu),p=X.useContext(af),v=p.reducedMotion,x=p.skipAnimations,T=X.useRef(null),D=X.useRef(!1);u=u||m.renderer,!T.current&&u&&(T.current=u(a,{visualState:l,parent:h,props:o,presenceContext:g,blockInitialAnimation:g?g.initial===!1:!1,reducedMotionConfig:v,skipAnimations:x,isSVG:d}),D.current&&T.current&&(T.current.manuallyAnimateOnMount=!0));const j=T.current,H=X.useContext(Ag);j&&!j.projection&&c&&(j.type==="html"||j.type==="svg")&&bT(T.current,o,c,H);const O=X.useRef(!1);X.useInsertionEffect(()=>{j&&O.current&&j.update(o,g)});const q=o[N0],G=X.useRef(!!q&&typeof window<"u"&&!((Y=window.MotionHandoffIsComplete)!=null&&Y.call(window,q))&&((_=window.MotionHasOptimisedAnimation)==null?void 0:_.call(window,q)));return Xy(()=>{D.current=!0,j&&(O.current=!0,window.MotionIsMounted=!0,j.updateFeatures(),j.scheduleRenderMicrotask(),G.current&&j.animationState&&j.animationState.animateChanges())}),X.useEffect(()=>{j&&(!G.current&&j.animationState&&j.animationState.animateChanges(),G.current&&(queueMicrotask(()=>{var Z;(Z=window.MotionHandoffMarkAsComplete)==null||Z.call(window,q)}),G.current=!1),j.enteringChildren=void 0)}),j}function bT(a,l,o,u){const{layoutId:c,layout:d,drag:h,dragConstraints:m,layoutScroll:g,layoutRoot:p,layoutAnchor:v,layoutCrossfade:x}=l;a.projection=new o(a.latestValues,l["data-framer-portal-id"]?void 0:Eg(a.parent)),a.projection.setOptions({layoutId:c,layout:d,alwaysMeasureLayout:!!h||m&&ui(m),visualElement:a,animationType:typeof d=="string"?d:"both",initialPromotionConfig:u,crossfade:x,layoutScroll:g,layoutRoot:p,layoutAnchor:v})}function Eg(a){if(a)return a.options.allowProjection!==!1?a.projection:Eg(a.parent)}function Ir(a,{forwardMotionProps:l=!1,type:o}={},u,c){u&&eT(u);const d=o?o==="svg":sf(a),h=d?yT:pT;function m(p,v){let x;const T={...X.useContext(af),...p,layoutId:ST(p)},{isStatic:D}=T,j=sT(p),H=h(p,D);if(!D&&typeof window<"u"){TT();const O=AT(T);x=O.MeasureLayout,j.visualElement=xT(a,H,T,c,O.ProjectionNode,d)}return b.jsxs(yu.Provider,{value:j,children:[x&&j.visualElement?b.jsx(x,{visualElement:j.visualElement,...T}):null,hT(a,p,vT(H,j.visualElement,v),H,D,l,d)]})}m.displayName=`motion.${typeof a=="string"?a:`create(${a.displayName??a.name??""})`}`;const g=X.forwardRef(m);return g[gT]=a,g}function ST({layoutId:a}){const l=X.useContext(Nc).id;return l&&a!==void 0?l+"-"+a:a}function TT(a,l){X.useContext(gg).strict}function AT(a){const l=vg(),{drag:o,layout:u}=l;if(!o&&!u)return{};const c={...o,...u};return{MeasureLayout:o!=null&&o.isEnabled(a)||u!=null&&u.isEnabled(a)?c.MeasureLayout:void 0,ProjectionNode:c.ProjectionNode}}function ET(a,l){if(typeof Proxy>"u")return Ir;const o=new Map,u=(d,h)=>Ir(d,h,a,l),c=(d,h)=>u(d,h);return new Proxy(c,{get:(d,h)=>h==="create"?u:(o.has(h)||o.set(h,Ir(h,void 0,a,l)),o.get(h))})}const MT=(a,l)=>l.isSVG??sf(a)?new e2(l):new FS(l,{allowProjection:a!==X.Fragment});class DT extends Pn{constructor(l){super(l),l.animationState||(l.animationState=s2(l))}updateAnimationControlsSubscription(){const{animate:l}=this.node.getProps();mu(l)&&(this.unmountControls=l.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:l}=this.node.getProps(),{animate:o}=this.node.prevProps||{};l!==o&&this.updateAnimationControlsSubscription()}unmount(){var l;this.node.animationState.reset(),(l=this.unmountControls)==null||l.call(this)}}let CT=0;class wT extends Pn{constructor(){super(...arguments),this.id=CT++,this.isExitComplete=!1}update(){var d;if(!this.node.presenceContext)return;const{isPresent:l,onExitComplete:o}=this.node.presenceContext,{isPresent:u}=this.node.prevPresenceContext||{};if(!this.node.animationState||l===u)return;if(l&&u===!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=Ta(this.node,h,m);if(g){const{transition:p,transitionEnd:v,...x}=g;for(const T in x)(d=this.node.getValue(T))==null||d.jump(x[T])}}this.node.animationState.reset(),this.node.animationState.animateChanges()}else this.node.animationState.setActive("exit",!1);this.isExitComplete=!1;return}const c=this.node.animationState.setActive("exit",!l);o&&!l&&c.then(()=>{this.isExitComplete=!0,o(this.id)})}mount(){const{register:l,onExitComplete:o}=this.node.presenceContext||{};o&&o(this.id),l&&(this.unmount=l(this.id))}unmount(){}}const zT={animation:{Feature:DT},exit:{Feature:wT}};function Ml(a){return{point:{x:a.pageX,y:a.pageY}}}const jT=a=>l=>Pc(l)&&a(l,Ml(l));function gl(a,l,o,u){return Sl(a,l,jT(o),u)}const Mg=({current:a})=>a?a.ownerDocument.defaultView:null,Ey=(a,l)=>Math.abs(a-l);function NT(a,l){const o=Ey(a.x,l.x),u=Ey(a.y,l.y);return Math.sqrt(o**2+u**2)}const My=new Set(["auto","scroll"]);class Dg{constructor(l,o,{transformPagePoint:u,contextWindow:c=window,dragSnapToOrigin:d=!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=D=>{this.handleScroll(D.target)},this.onWindowScroll=()=>{this.handleScroll(window)},this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;this.lastRawMoveEventInfo&&(this.lastMoveEventInfo=ks(this.lastRawMoveEventInfo,this.transformPagePoint));const D=tc(this.lastMoveEventInfo,this.history),j=this.startEvent!==null,H=NT(D.offset,{x:0,y:0})>=this.distanceThreshold;if(!j&&!H)return;const{point:O}=D,{timestamp:q}=ie;this.history.push({...O,timestamp:q});const{onStart:G,onMove:Y}=this.handlers;j||(G&&G(this.lastMoveEvent,D),this.startEvent=this.lastMoveEvent),Y&&Y(this.lastMoveEvent,D)},this.handlePointerMove=(D,j)=>{this.lastMoveEvent=D,this.lastRawMoveEventInfo=j,this.lastMoveEventInfo=ks(j,this.transformPagePoint),zt.update(this.updatePoint,!0)},this.handlePointerUp=(D,j)=>{this.end();const{onEnd:H,onSessionEnd:O,resumeAnimation:q}=this.handlers;if((this.dragSnapToOrigin||!this.startEvent)&&q&&q(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const G=tc(D.type==="pointercancel"?this.lastMoveEventInfo:ks(j,this.transformPagePoint),this.history);this.startEvent&&H&&H(D,G),O&&O(D,G)},!Pc(l))return;this.dragSnapToOrigin=d,this.handlers=o,this.transformPagePoint=u,this.distanceThreshold=h,this.contextWindow=c||window;const g=Ml(l),p=ks(g,this.transformPagePoint),{point:v}=p,{timestamp:x}=ie;this.history=[{...v,timestamp:x}];const{onSessionStart:T}=o;T&&T(l,tc(p,this.history)),this.removeListeners=Tl(gl(this.contextWindow,"pointermove",this.handlePointerMove),gl(this.contextWindow,"pointerup",this.handlePointerUp),gl(this.contextWindow,"pointercancel",this.handlePointerUp)),m&&this.startScrollTracking(m)}startScrollTracking(l){let o=l.parentElement;for(;o;){const u=getComputedStyle(o);(My.has(u.overflowX)||My.has(u.overflowY))&&this.scrollPositions.set(o,{x:o.scrollLeft,y:o.scrollTop}),o=o.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(l){const o=this.scrollPositions.get(l);if(!o)return;const u=l===window,c=u?{x:window.scrollX,y:window.scrollY}:{x:l.scrollLeft,y:l.scrollTop},d={x:c.x-o.x,y:c.y-o.y};d.x===0&&d.y===0||(u?this.lastMoveEventInfo&&(this.lastMoveEventInfo.point.x+=d.x,this.lastMoveEventInfo.point.y+=d.y):this.history.length>0&&(this.history[0].x-=d.x,this.history[0].y-=d.y),this.scrollPositions.set(l,c),zt.update(this.updatePoint,!0))}updateHandlers(l){this.handlers=l}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),Wn(this.updatePoint)}}function ks(a,l){return l?{point:l(a.point)}:a}function Dy(a,l){return{x:a.x-l.x,y:a.y-l.y}}function tc({point:a},l){return{point:a,delta:Dy(a,Cg(l)),offset:Dy(a,RT(l)),velocity:OT(l,.1)}}function RT(a){return a[0]}function Cg(a){return a[a.length-1]}function OT(a,l){if(a.length<2)return{x:0,y:0};let o=a.length-1,u=null;const c=Cg(a);for(;o>=0&&(u=a[o],!(c.timestamp-u.timestamp>we(l)));)o--;if(!u)return{x:0,y:0};u===a[0]&&a.length>2&&c.timestamp-u.timestamp>we(l)*2&&(u=a[1]);const d=He(c.timestamp-u.timestamp);if(d===0)return{x:0,y:0};const h={x:(c.x-u.x)/d,y:(c.y-u.y)/d};return h.x===1/0&&(h.x=0),h.y===1/0&&(h.y=0),h}function VT(a,{min:l,max:o},u){return l!==void 0&&a<l?a=u?Rt(l,a,u.min):Math.max(a,l):o!==void 0&&a>o&&(a=u?Rt(o,a,u.max):Math.min(a,o)),a}function Cy(a,l,o){return{min:l!==void 0?a.min+l:void 0,max:o!==void 0?a.max+o-(a.max-a.min):void 0}}function _T(a,{top:l,left:o,bottom:u,right:c}){return{x:Cy(a.x,o,c),y:Cy(a.y,l,u)}}function wy(a,l){let o=l.min-a.min,u=l.max-a.max;return l.max-l.min<a.max-a.min&&([o,u]=[u,o]),{min:o,max:u}}function BT(a,l){return{x:wy(a.x,l.x),y:wy(a.y,l.y)}}function UT(a,l){let o=.5;const u=ce(a),c=ce(l);return c>u?o=vl(l.min,l.max-u,a.min):u>c&&(o=vl(a.min,a.max-c,l.min)),en(0,1,o)}function LT(a,l){const o={};return l.min!==void 0&&(o.min=l.min-a.min),l.max!==void 0&&(o.max=l.max-a.min),o}const wc=.35;function HT(a=wc){return a===!1?a=0:a===!0&&(a=wc),{x:zy(a,"left","right"),y:zy(a,"top","bottom")}}function zy(a,l,o){return{min:jy(a,l),max:jy(a,o)}}function jy(a,l){return typeof a=="number"?a:a[l]||0}const qT=new WeakMap;class YT{constructor(l){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=Jt(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=l}start(l,{snapToCursor:o=!1,distanceThreshold:u}={}){const{presenceContext:c}=this.visualElement;if(c&&c.isPresent===!1)return;const d=x=>{o&&this.snapToCursor(Ml(x).point),this.stopAnimation()},h=(x,T)=>{const{drag:D,dragPropagation:j,onDragStart:H}=this.getProps();if(D&&!j&&(this.openDragLock&&this.openDragLock(),this.openDragLock=mS(D),!this.openDragLock))return;this.latestPointerEvent=x,this.latestPanInfo=T,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),$e(q=>{let G=this.getAxisMotionValue(q).get()||0;if(tn.test(G)){const{projection:Y}=this.visualElement;if(Y&&Y.layout){const _=Y.layout.layoutBox[q];_&&(G=ce(_)*(parseFloat(G)/100))}}this.originPoint[q]=G}),H&&zt.update(()=>H(x,T),!1,!0),xc(this.visualElement,"transform");const{animationState:O}=this.visualElement;O&&O.setActive("whileDrag",!0)},m=(x,T)=>{this.latestPointerEvent=x,this.latestPanInfo=T;const{dragPropagation:D,dragDirectionLock:j,onDirectionLock:H,onDrag:O}=this.getProps();if(!D&&!this.openDragLock)return;const{offset:q}=T;if(j&&this.currentDirection===null){this.currentDirection=XT(q),this.currentDirection!==null&&H&&H(this.currentDirection);return}this.updateAxis("x",T.point,q),this.updateAxis("y",T.point,q),this.visualElement.render(),O&&zt.update(()=>O(x,T),!1,!0)},g=(x,T)=>{this.latestPointerEvent=x,this.latestPanInfo=T,this.stop(x,T),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 Dg(l,{onSessionStart:d,onStart:h,onMove:m,onSessionEnd:g,resumeAnimation:p},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:v,distanceThreshold:u,contextWindow:Mg(this.visualElement),element:this.visualElement.current})}stop(l,o){const u=l||this.latestPointerEvent,c=o||this.latestPanInfo,d=this.isDragging;if(this.cancel(),!d||!c||!u)return;const{velocity:h}=c;this.startAnimation(h);const{onDragEnd:m}=this.getProps();m&&zt.postRender(()=>m(u,c))}cancel(){this.isDragging=!1;const{projection:l,animationState:o}=this.visualElement;l&&(l.isAnimationBlocked=!1),this.endPanSession();const{dragPropagation:u}=this.getProps();!u&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),o&&o.setActive("whileDrag",!1)}endPanSession(){this.panSession&&this.panSession.end(),this.panSession=void 0}updateAxis(l,o,u){const{drag:c}=this.getProps();if(!u||!Js(l,c,this.currentDirection))return;const d=this.getAxisMotionValue(l);let h=this.originPoint[l]+u[l];this.constraints&&this.constraints[l]&&(h=VT(h,this.constraints[l],this.elastic[l])),d.set(h)}resolveConstraints(){var d;const{dragConstraints:l,dragElastic:o}=this.getProps(),u=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):(d=this.visualElement.projection)==null?void 0:d.layout,c=this.constraints;l&&ui(l)?this.constraints||(this.constraints=this.resolveRefConstraints()):l&&u?this.constraints=_T(u.layoutBox,l):this.constraints=!1,this.elastic=HT(o),c!==this.constraints&&!ui(l)&&u&&this.constraints&&!this.hasMutatedConstraints&&$e(h=>{this.constraints!==!1&&this.getAxisMotionValue(h)&&(this.constraints[h]=LT(u.layoutBox[h],this.constraints[h]))})}resolveRefConstraints(){const{dragConstraints:l,onMeasureDragConstraints:o}=this.getProps();if(!l||!ui(l))return!1;const u=l.current,{projection:c}=this.visualElement;if(!c||!c.layout)return!1;c.root&&(c.root.scroll=void 0,c.root.updateScroll());const d=XS(u,c.root,this.visualElement.getTransformPagePoint());let h=BT(c.layout.layoutBox,d);if(o){const m=o(qS(h));this.hasMutatedConstraints=!!m,m&&(h=J0(m))}return h}startAnimation(l){const{drag:o,dragMomentum:u,dragElastic:c,dragTransition:d,dragSnapToOrigin:h,onDragTransitionEnd:m}=this.getProps(),g=this.constraints||{},p=$e(v=>{if(!Js(v,o,this.currentDirection))return;let x=g&&g[v]||{};(h===!0||h===v)&&(x={min:0,max:0});const T=c?200:1e6,D=c?40:1e7,j={type:"inertia",velocity:u?l[v]:0,bounceStiffness:T,bounceDamping:D,timeConstant:750,restDelta:1,restSpeed:10,...d,...x};return this.startAxisValueAnimation(v,j)});return Promise.all(p).then(m)}startAxisValueAnimation(l,o){const u=this.getAxisMotionValue(l);return xc(this.visualElement,l),u.start(Kc(l,u,0,o,this.visualElement,!1))}stopAnimation(){$e(l=>this.getAxisMotionValue(l).stop())}getAxisMotionValue(l){const o=`_drag${l.toUpperCase()}`,c=this.visualElement.getProps()[o];return c||this.visualElement.getValue(l,this.visualElement.latestValues[l]??0)}snapToCursor(l){$e(o=>{const{drag:u}=this.getProps();if(!Js(o,u,this.currentDirection))return;const{projection:c}=this.visualElement,d=this.getAxisMotionValue(o);if(c&&c.layout){const{min:h,max:m}=c.layout.layoutBox[o],g=d.get()||0;d.set(l[o]-Rt(h,m,.5)+g)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:l,dragConstraints:o}=this.getProps(),{projection:u}=this.visualElement;if(!ui(o)||!u||!this.constraints)return;this.stopAnimation();const c={x:0,y:0};$e(h=>{const m=this.getAxisMotionValue(h);if(m&&this.constraints!==!1){const g=m.get();c[h]=UT({min:g,max:g},this.constraints[h])}});const{transformTemplate:d}=this.visualElement.getProps();this.visualElement.current.style.transform=d?d({},""):"none",u.root&&u.root.updateScroll(),u.updateLayout(),this.constraints=!1,this.resolveConstraints(),$e(h=>{if(!Js(h,l,null))return;const m=this.getAxisMotionValue(h),{min:g,max:p}=this.constraints[h];m.set(Rt(g,p,c[h]))}),this.visualElement.render()}addListeners(){if(!this.visualElement.current)return;qT.set(this.visualElement,this);const l=this.visualElement.current,o=gl(l,"pointerdown",p=>{const{drag:v,dragListener:x=!0}=this.getProps(),T=p.target,D=T!==l&&bS(T);v&&x&&!D&&this.start(p)});let u;const c=()=>{const{dragConstraints:p}=this.getProps();ui(p)&&p.current&&(this.constraints=this.resolveRefConstraints(),u||(u=GT(l,p.current,()=>this.scalePositionWithinConstraints())))},{projection:d}=this.visualElement,h=d.addEventListener("measure",c);d&&!d.layout&&(d.root&&d.root.updateScroll(),d.updateLayout()),zt.read(c);const m=Sl(window,"resize",()=>this.scalePositionWithinConstraints()),g=d.addEventListener("didUpdate",(({delta:p,hasLayoutChanged:v})=>{this.isDragging&&v&&($e(x=>{const T=this.getAxisMotionValue(x);T&&(this.originPoint[x]+=p[x].translate,T.set(T.get()+p[x].translate))}),this.visualElement.render())}));return()=>{m(),o(),h(),g&&g(),u&&u()}}getProps(){const l=this.visualElement.getProps(),{drag:o=!1,dragDirectionLock:u=!1,dragPropagation:c=!1,dragConstraints:d=!1,dragElastic:h=wc,dragMomentum:m=!0}=l;return{...l,drag:o,dragDirectionLock:u,dragPropagation:c,dragConstraints:d,dragElastic:h,dragMomentum:m}}}function Ny(a){let l=!0;return()=>{if(l){l=!1;return}a()}}function GT(a,l,o){const u=Lp(a,Ny(o)),c=Lp(l,Ny(o));return()=>{u(),c()}}function Js(a,l,o){return(l===!0||l===a)&&(o===null||o===a)}function XT(a,l=10){let o=null;return Math.abs(a.y)>l?o="y":Math.abs(a.x)>l&&(o="x"),o}class QT extends Pn{constructor(l){super(l),this.removeGroupControls=qe,this.removeListeners=qe,this.controls=new YT(l)}mount(){const{dragControls:l}=this.node.getProps();l&&(this.removeGroupControls=l.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||qe}update(){const{dragControls:l}=this.node.getProps(),{dragControls:o}=this.node.prevProps||{};l!==o&&(this.removeGroupControls(),l&&(this.removeGroupControls=l.subscribe(this.controls)))}unmount(){this.removeGroupControls(),this.removeListeners(),this.controls.isDragging||this.controls.endPanSession()}}const ec=a=>(l,o)=>{a&&zt.update(()=>a(l,o),!1,!0)};class ZT extends Pn{constructor(){super(...arguments),this.removePointerDownListener=qe}onPointerDown(l){this.session=new Dg(l,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:Mg(this.node)})}createPanHandlers(){const{onPanSessionStart:l,onPanStart:o,onPan:u,onPanEnd:c}=this.node.getProps();return{onSessionStart:ec(l),onStart:ec(o),onMove:ec(u),onEnd:(d,h)=>{delete this.session,c&&zt.postRender(()=>c(d,h))}}}mount(){this.removePointerDownListener=gl(this.node.current,"pointerdown",l=>this.onPointerDown(l))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}let nc=!1;class KT extends X.Component{componentDidMount(){const{visualElement:l,layoutGroup:o,switchLayoutGroup:u,layoutId:c}=this.props,{projection:d}=l;d&&(o.group&&o.group.add(d),u&&u.register&&c&&u.register(d),nc&&d.root.didUpdate(),d.addEventListener("animationComplete",()=>{this.safeToRemove()}),d.setOptions({...d.options,layoutDependency:this.props.layoutDependency,onExitComplete:()=>this.safeToRemove()})),nu.hasEverUpdated=!0}getSnapshotBeforeUpdate(l){const{layoutDependency:o,visualElement:u,drag:c,isPresent:d}=this.props,{projection:h}=u;return h&&(h.isPresent=d,l.layoutDependency!==o&&h.setOptions({...h.options,layoutDependency:o}),nc=!0,c||l.layoutDependency!==o||o===void 0||l.isPresent!==d?h.willUpdate():this.safeToRemove(),l.isPresent!==d&&(d?h.promote():h.relegate()||zt.postRender(()=>{const m=h.getStack();(!m||!m.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{visualElement:l,layoutAnchor:o}=this.props,{projection:u}=l;u&&(u.options.layoutAnchor=o,u.root.didUpdate(),Wc.postRender(()=>{!u.currentAnimation&&u.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:l,layoutGroup:o,switchLayoutGroup:u}=this.props,{projection:c}=l;nc=!0,c&&(c.scheduleCheckAfterUnmount(),o&&o.group&&o.group.remove(c),u&&u.deregister&&u.deregister(c))}safeToRemove(){const{safeToRemove:l}=this.props;l&&l()}render(){return null}}function wg(a){const[l,o]=yg(),u=X.useContext(Nc);return b.jsx(KT,{...a,layoutGroup:u,switchLayoutGroup:X.useContext(Ag),isPresent:l,safeToRemove:o})}const kT={pan:{Feature:ZT},drag:{Feature:QT,ProjectionNode:pg,MeasureLayout:wg}};function Ry(a,l,o){const{props:u}=a;a.animationState&&u.whileHover&&a.animationState.setActive("whileHover",o==="Start");const c="onHover"+o,d=u[c];d&&zt.postRender(()=>d(l,Ml(l)))}class JT extends Pn{mount(){const{current:l}=this.node;l&&(this.unmount=yS(l,(o,u)=>(Ry(this.node,u,"Start"),c=>Ry(this.node,c,"End"))))}unmount(){}}class FT extends Pn{constructor(){super(...arguments),this.isActive=!1}onFocus(){let l=!1;try{l=this.node.current.matches(":focus-visible")}catch{l=!0}!l||!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=Tl(Sl(this.node.current,"focus",()=>this.onFocus()),Sl(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function Oy(a,l,o){const{props:u}=a;if(a.current instanceof HTMLButtonElement&&a.current.disabled)return;a.animationState&&u.whileTap&&a.animationState.setActive("whileTap",o==="Start");const c="onTap"+(o==="End"?"":o),d=u[c];d&&zt.postRender(()=>d(l,Ml(l)))}class WT extends Pn{mount(){const{current:l}=this.node;if(!l)return;const{globalTapTarget:o,propagate:u}=this.node.props;this.unmount=TS(l,(c,d)=>(Oy(this.node,d,"Start"),(h,{success:m})=>Oy(this.node,h,m?"End":"Cancel")),{useGlobalTarget:o,stopPropagation:(u==null?void 0:u.tap)===!1})}unmount(){}}const zc=new WeakMap,ac=new WeakMap,PT=a=>{const l=zc.get(a.target);l&&l(a)},$T=a=>{a.forEach(PT)};function IT({root:a,...l}){const o=a||document;ac.has(o)||ac.set(o,{});const u=ac.get(o),c=JSON.stringify(l);return u[c]||(u[c]=new IntersectionObserver($T,{root:a,...l})),u[c]}function tA(a,l,o){const u=IT(l);return zc.set(a,o),u.observe(a),()=>{zc.delete(a),u.unobserve(a)}}const eA={some:0,all:1};class nA extends Pn{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){var g;(g=this.stopObserver)==null||g.call(this);const{viewport:l={}}=this.node.getProps(),{root:o,margin:u,amount:c="some",once:d}=l,h={root:o?o.current:void 0,rootMargin:u,threshold:typeof c=="number"?c:eA[c]},m=p=>{const{isIntersecting:v}=p;if(this.isInView===v||(this.isInView=v,d&&!v&&this.hasEnteredView))return;v&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",v);const{onViewportEnter:x,onViewportLeave:T}=this.node.getProps(),D=v?x:T;D&&D(p)};this.stopObserver=tA(this.node.current,h,m)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:l,prevProps:o}=this.node;["amount","margin","root"].some(aA(l,o))&&this.startObserver()}unmount(){var l;(l=this.stopObserver)==null||l.call(this),this.hasEnteredView=!1,this.isInView=!1}}function aA({viewport:a={}},{viewport:l={}}={}){return o=>a[o]!==l[o]}const iA={inView:{Feature:nA},tap:{Feature:WT},focus:{Feature:FT},hover:{Feature:JT}},lA={layout:{ProjectionNode:pg,MeasureLayout:wg}},sA={...zT,...iA,...kT,...lA},Pe=ET(sA,MT);/**
 * @license lucide-react v0.546.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const uA=a=>a.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),oA=a=>a.replace(/^([A-Z])|[\s-_]+(\w)/g,(l,o,u)=>u?u.toUpperCase():o.toLowerCase()),Vy=a=>{const l=oA(a);return l.charAt(0).toUpperCase()+l.slice(1)},zg=(...a)=>a.filter((l,o,u)=>!!l&&l.trim()!==""&&u.indexOf(l)===o).join(" ").trim(),rA=a=>{for(const l in a)if(l.startsWith("aria-")||l==="role"||l==="title")return!0};/**
 * @license lucide-react v0.546.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */var cA={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/**
 * @license lucide-react v0.546.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const fA=X.forwardRef(({color:a="currentColor",size:l=24,strokeWidth:o=2,absoluteStrokeWidth:u,className:c="",children:d,iconNode:h,...m},g)=>X.createElement("svg",{ref:g,...cA,width:l,height:l,stroke:a,strokeWidth:u?Number(o)*24/Number(l):o,className:zg("lucide",c),...!d&&!rA(m)&&{"aria-hidden":"true"},...m},[...h.map(([p,v])=>X.createElement(p,v)),...Array.isArray(d)?d:[d]]));/**
 * @license lucide-react v0.546.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Ft=(a,l)=>{const o=X.forwardRef(({className:u,...c},d)=>X.createElement(fA,{ref:d,iconNode:l,className:zg(`lucide-${uA(Vy(a))}`,`lucide-${a}`,u),...c}));return o.displayName=Vy(a),o};/**
 * @license lucide-react v0.546.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const hA=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]],dA=Ft("arrow-right",hA);/**
 * @license lucide-react v0.546.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const mA=[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]],pA=Ft("chevron-left",mA);/**
 * @license lucide-react v0.546.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const yA=[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]],_y=Ft("chevron-right",yA);/**
 * @license lucide-react v0.546.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const gA=[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]],vA=Ft("chevron-up",gA);/**
 * @license lucide-react v0.546.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const xA=[["path",{d:"M18 2h-3a5 5 0 0 0-5 5v3H7v4h3v8h4v-8h3l1-4h-4V7a1 1 0 0 1 1-1h3z",key:"1jg4f8"}]],bA=Ft("facebook",xA);/**
 * @license lucide-react v0.546.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const SA=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20",key:"13o1zl"}],["path",{d:"M2 12h20",key:"9i4pu4"}]],By=Ft("globe",SA);/**
 * @license lucide-react v0.546.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const TA=[["rect",{width:"20",height:"20",x:"2",y:"2",rx:"5",ry:"5",key:"2e1cvw"}],["path",{d:"M16 11.37A4 4 0 1 1 12.63 8 4 4 0 0 1 16 11.37z",key:"9exkf1"}],["line",{x1:"17.5",x2:"17.51",y1:"6.5",y2:"6.5",key:"r4j83e"}]],AA=Ft("instagram",TA);/**
 * @license lucide-react v0.546.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const EA=[["path",{d:"m5 8 6 6",key:"1wu5hv"}],["path",{d:"m4 14 6-6 2-3",key:"1k1g8d"}],["path",{d:"M2 5h12",key:"or177f"}],["path",{d:"M7 2h1",key:"1t2jsx"}],["path",{d:"m22 22-5-10-5 10",key:"don7ne"}],["path",{d:"M14 18h6",key:"1m8k6r"}]],MA=Ft("languages",EA);/**
 * @license lucide-react v0.546.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const DA=[["path",{d:"m22 7-8.991 5.727a2 2 0 0 1-2.009 0L2 7",key:"132q7q"}],["rect",{x:"2",y:"4",width:"20",height:"16",rx:"2",key:"izxlao"}]],Uy=Ft("mail",DA);/**
 * @license lucide-react v0.546.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const CA=[["path",{d:"M4 5h16",key:"1tepv9"}],["path",{d:"M4 12h16",key:"1lakjw"}],["path",{d:"M4 19h16",key:"1djgab"}]],wA=Ft("menu",CA);/**
 * @license lucide-react v0.546.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const zA=[["path",{d:"M13.832 16.568a1 1 0 0 0 1.213-.303l.355-.465A2 2 0 0 1 17 15h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2A18 18 0 0 1 2 4a2 2 0 0 1 2-2h3a2 2 0 0 1 2 2v3a2 2 0 0 1-.8 1.6l-.468.351a1 1 0 0 0-.292 1.233 14 14 0 0 0 6.392 6.384",key:"9njp5v"}]],Ly=Ft("phone",zA);/**
 * @license lucide-react v0.546.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const jA=[["path",{d:"M16 3a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2 1 1 0 0 1 1 1v1a2 2 0 0 1-2 2 1 1 0 0 0-1 1v2a1 1 0 0 0 1 1 6 6 0 0 0 6-6V5a2 2 0 0 0-2-2z",key:"rib7q0"}],["path",{d:"M5 3a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2 1 1 0 0 1 1 1v1a2 2 0 0 1-2 2 1 1 0 0 0-1 1v2a1 1 0 0 0 1 1 6 6 0 0 0 6-6V5a2 2 0 0 0-2-2z",key:"1ymkrd"}]],Hy=Ft("quote",jA);/**
 * @license lucide-react v0.546.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const NA=[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]],qy=Ft("search",NA);/**
 * @license lucide-react v0.546.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const RA=[["path",{d:"M16 10a4 4 0 0 1-8 0",key:"1ltviw"}],["path",{d:"M3.103 6.034h17.794",key:"awc11p"}],["path",{d:"M3.4 5.467a2 2 0 0 0-.4 1.2V20a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V6.667a2 2 0 0 0-.4-1.2l-2-2.667A2 2 0 0 0 17 2H7a2 2 0 0 0-1.6.8z",key:"o988cm"}]],OA=Ft("shopping-bag",RA);/**
 * @license lucide-react v0.546.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const VA=[["path",{d:"M22 4s-.7 2.1-2 3.4c1.6 10-9.4 17.3-18 11.6 2.2.1 4.4-.6 6-2C3 15.5.5 9.6 3 5c2.2 2.6 5.6 4.1 9 4-.9-4.2 4-6.6 7-3.8 1.1 0 3-1.2 3-1.2z",key:"pff0z6"}]],_A=Ft("twitter",VA);/**
 * @license lucide-react v0.546.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const BA=[["path",{d:"M12 4v16",key:"1654pz"}],["path",{d:"M4 7V5a1 1 0 0 1 1-1h14a1 1 0 0 1 1 1v2",key:"e0r10z"}],["path",{d:"M9 20h6",key:"s66wpe"}]],UA=Ft("type",BA);/**
 * @license lucide-react v0.546.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const LA=[["path",{d:"M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2",key:"975kel"}],["circle",{cx:"12",cy:"7",r:"4",key:"17ys0d"}]],HA=Ft("user",LA);/**
 * @license lucide-react v0.546.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const qA=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],ic=Ft("x",qA);/**
 * @license lucide-react v0.546.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const YA=[["path",{d:"M2.5 17a24.12 24.12 0 0 1 0-10 2 2 0 0 1 1.4-1.4 49.56 49.56 0 0 1 16.2 0A2 2 0 0 1 21.5 7a24.12 24.12 0 0 1 0 10 2 2 0 0 1-1.4 1.4 49.55 49.55 0 0 1-16.2 0A2 2 0 0 1 2.5 17",key:"1q2vi4"}],["path",{d:"m10 15 5-3-5-3z",key:"1jp15x"}]],GA=Ft("youtube",YA),lc="https://lh3.googleusercontent.com/aida-public/AB6AXuBEY7UVtw9_Qkm3jQgIyw79g90G23qN3jydKtBt_kOxWbrMsjB3AY0t_RxYpLsqVd69LXVX9qznqp4BAcFshcY8XhBgPHKl6-Q6RQUAsRaefMp5kRbYybqvfveTaYow_mtc1NkOtMF2Kk6_-wGn5kN7Ur0mP2P-ySxfJk_AdUug5r3VhXRYmxG8VTj6C2P5JBXHGYEtmuJ3kyPjSCc5BFHuaN2RRpdOBMP7-Q5_pohZINv5XhYLVB7gy2haJ4aRM3IPrXs3LZ1jyA",XA="https://lh3.googleusercontent.com/aida-public/AB6AXuCiUg38D0rnfOMEl5EYNjqLKz3YG7SHglzWAqq14cFtIkAffelIRrGqCudNplUG0jq2EM3bBwH45UsKlE4NXb_mxsbKBYNKjyVUhA2WSDbqPUOXTEXjv6FYuc3kLnpyxNt9iJ54gO63C_w0L4mTmgYAbdTbWlSPLDEM-j5P0j1xrtxn_C8THNPo4EfaUlIs0nAflQqwtrBiRzGV7bbTN7U2VJCqynroe_Dw-HsFJnWR6S6rhIgpJAnbwcMAiPA6lynxizIpm485mg",jg="https://lh3.googleusercontent.com/aida-public/AB6AXuDtB5Fijczy7yDjxWhKD07mVktmaQUM-e73i3utXzSi0AhuYOgay4_Sy0feAol6lzqXebXRwlQnigVLKQywWdqy1y0ZJeR4Wwbdd6GvrnLw9NPZYK2tEBPHTQ_5dd2TVJ73Z-nsoeLb4ZadnV3RTZuF15tZzaW9u5ZOCmsoeDCS1LIYkSCGvoT44rIL2hHKEFHNXfj3slQU1pZNWDcB90EGnkkj_y-ZIb6oEuj1oYY4vE8C-DrMEiY6NDdatHoHGR8Q3Yze_H3cOg",Yy=[{id:1,name:"梁諾妍 Inez",role:"藝人",category:"義工",image:"https://lh3.googleusercontent.com/aida-public/AB6AXuA1giB9XN2oX728hQmNaQf7I9rIqknVnsdaxSVxKyXc_OrekjWv-DijrncYU8LxiDhMAh6f_yHDdetDV9AQNbR6l2EyIiEv7B_O2i0vYmqYbupMxdCocUaL_4ikieZb-kqEmuddHKOClyUBLLsbMEz7cDvyYOH4YnnyrH7fjY-oAwqcvpSaiwM4AjGAqKCL8A3WORKOe-JydplTO4Kjt8Qmz3ysI2YtT3XJ3I0DaNqV5oD7eKkVvXqV9dbT_y38LLfsEhalUwacqw",quote:"「極地」同行讓我知道何謂傷健共融共學共享精神！",fullStory:`2018年1月，我跟Steve一起成為領跑員，負責帶領視障跑手穿越加拿大育空區冰河極地。我們三人一隊，在零下50度的極端天氣下「傷健同行」，切切實實地感受到傷殘人士的堅毅，同時更體會到傷健合力奮鬥所展現出來的力量！
「極地」同行讓我知道何謂傷健共融共學共享精神，讓我能從傷殘人士身上學習到他們的專注力、努力不懈、堅持和樂觀的人生態度。`},{id:2,name:"陳梓鍵",role:"杜興氏肌肉營養不良症患者",category:"參加者",image:"https://images.unsplash.com/photo-1507003211169-0a1dd7228f2d?auto=format&fit=crop&q=80&w=200&h=200",quote:"Steve哥哥和極地同行，改寫我的人生！",fullStory:`大家好我是陳梓鍵，一位患有杜興氏肌肉營養不良症的輪椅患者。2017年認識的極地同行創辦人Steve哥哥已经5年了，他和極地同行陪伴著我突破身體極限創造了許多的第一次與不可能。
第一次坐上特制輪椅完成人生第一個10公里跑步賽事、踏上戈壁沙漠進行100公里賽、登上吉爾吉斯3300高原、接受電台訪問、媒體拍攝採訪、幫助我開設YouTube 頻道，完成夢想，揹我上山成功挑戰滑翔傘！
Steve和極地同行的每位義工一直陪伴在我人生的道路上，更改寫我的人生，更籍著他的座佑銘＂放棄不在選擇之列＂引領著我，令我以你為學習的榜樣，讓我更自信、勇敢地去迎接挑戰創造更多每一個不可能，我希望可以薪火相傳讓這份愛與力量傳承下去能燃點和照耀着更多身处逆境中有需要的人士，期望每一個人都能走出自己人生的極地，活出不一樣的人生。

謝謝極地同行！`},{id:3,name:"梁寶蓮",role:"癌症病患者",category:"參加者",image:"https://lh3.googleusercontent.com/aida-public/AB6AXuBC40Oxt4o0ou09F8CdjrVYkH5EJuJTTQfg6JV56uDAsvi_JMAAPaIxc5km1q9lzi4CD7moBEKG7dJy9GwGYXjeYeOqE-uSZraqarMCELy-vW2wN3iDvR8-ezOvJCZMnhdI8exx3MMFGj7DHzorI9wiR2OP9tnuwJ7gNEPLh2rqg_ww3cys8et6GvPFdei5RUwcMV5t5SkqNi5WRRYM_rZEOR8vCt6lZtm6MPgplnsP5sWSTJUEZwY_ne3RT1WAoIzkRLtj0Ac6Ag",quote:"眼淚不停流下，原來人間真的有愛！",fullStory:`各位好！我係極地同行金毛癌症藥物資助基金受惠者BoBo，好開心可以在此和大家分享我感受。
自工傷後都需要依靠輪椅輔助，接著亦患上子宮瘤、結腸癌。經手術後仍未能完全康復，更影響到肝臟。幸好經某機構認識金毛癌症藥物資助基金，當收到支票的時候，感覺好像發夢一樣，眼淚不停流下，原來人間真的有愛！我把基金錢用作治療我的病，購買呼吸機。我衷心多謝極地同行！多謝金毛癌症藥物資助基金。讓我在困難中望見光芒。

最後祝願所有患病中朋友！努力加油！明天會更好!`},{id:4,name:"Walter Tsui",role:"CareER 聯合創辦人及行政總裁",category:"參加者",image:"https://lh3.googleusercontent.com/aida-public/AB6AXuBdnVOq9J5EaXJOpRGDX0mFfrY7zyWDDmRuDbgcFpGo1F09vI2Ozy9PW80yXO_L34xkcxGdDpGJ1fl4c2yU-baeOavGfW_JbBMq8QZJEVFveLDK8IoSyVpuJ6qhlqFy-kMNvePoqhQajq3hhHoYxcQkLzxDK5fhICHaLymHiTmpGV3vR0KRH_1AghywLY2TR386cqNwcWuPXRIUL7rfvCwYWQoI0L3YY0ryzNb_ONqm-sAMhhUh-baD6aVaElGQHvrR-OrCRY6nMg",quote:"作為一位視障人士，我相信每一個人都有各自獨特的地方，願我們一同在崎嶇人生路上，一同極地同行。",fullStory:"作為一位視障人士，我相信每一個人都有各自獨特的地方，願我們一同在崎嶇人生路上，一同極地同行。"},{id:5,name:"曾錦源",role:"小腦萎縮症患者",category:"參加者",image:"https://images.unsplash.com/photo-1500648767791-00dcc994a43e?auto=format&fit=crop&q=80&w=200&h=200",quote:"我初嘗深刻的喜悅，我開始有笑容，我投入在每一個活動細節！",fullStory:`我以前從來不會笑，拍照的時候也是如此，也不會做任何開心的手勢。
而在極地同行的活動裏，我初嘗深刻的喜悅，我開始有笑容，我投入在每一個活動細節，我會和其他同行者做V字手勢，我會與他們分享我的知識、我的經驗、我的喜悅。
初次認識和坐上 極地同行 亞洲獨有的特製越野輪椅，初時我會感到一點點不自在，但當一大班 極地同行的青年推着我一起去行山，帶我去到一些我永遠不能踏足的地方，我感到非常的興奮。路途上不算危險，但總會有一些障礙和挑戰，包括我自己在內一隊人一起解決問題，迎難而上，最終能夠到達目的地。一級樓梯或是一條窄路，以前已經是我們的盡頭，但現在不是了。而最重要是，坐上極地戰車讓我明白到我們必須要相信身邊幫助你的人，繼而要互相學習、互相尊重、互相體諒和互相支持!`},{id:6,name:"葉湛溪",role:"香港復康力量主席",category:"參加者",image:jg,quote:"極地不獨是外境苦寒坎坷的環境，亦可能是內心迷惑、徬徨、痛苦與掙扎的沉淪陌生世界。",fullStory:"極地不獨是外境苦寒坎坷的環境，亦可能是內心迷惑、徬徨、痛苦與掙扎的沉淪陌生世界，自己作為一名傷健人士自少飽歷內外交煎深諳處極地之苦！欣悉機構理念是以善行之道力能及所默默去理解及支援身處困境之人，沿路陪伴他們走出極地陰霾，向晴朗的一天出發，如此有意義的組織焉能不支持學習？"},{id:7,name:"Michelle Chan",role:"罕見病患者家長",category:"義工",image:"https://images.unsplash.com/photo-1544005313-94ddf0286df2?auto=format&fit=crop&q=80&w=200&h=200",quote:"藉着我們的改變與進步，默默地讓更多身心處於極地狀態的人士，走出人生的低谷。",fullStory:`我是Michelle，一位罕見病患者的媽媽，懷着一顆感恩的心來分享一下，我和極地同行創辦人Steve 同行5年的心路歷程與變化。
我的孩子在極地同行一衆有愛的人士幫助下，突破了身體限制完成了許多不可能，我亦透過身處期中，被Steve的勇於挑戰和拼搏的精神與人生經歷，還有他的待人真誠，認真努力的工作態度的影響下，我也由一個普通沒有自信的家庭主婦，慢慢地成長和建立起自信心。雖然我沒有能夠穿越冰天雪地的南北兩極，亦沒走過人跡罕至的撒哈拉沙漠，但我卻在與他們的同行過程中學會欣賞和學習不同人士身上的優點與精神，令自己的視野和心態有了許多的突破與轉變，亦透過分享我們的生命故事和轉變去感染身邊的人。
哈哈！回首過往，我也會覺得自己內心的變化也不遜色Steve過往各類的極地挑戰。雖然我們沒有什麼驚天動地的行動可以去改變世界和感動幫助到每一個人，但藉着我們的改變與進步，默默地像極地和他一樣讓更多身心處於極地狀態的人士，也能藉着極地同行的理念與精神-放棄不在選擇之列，走出人生的低谷朝着美好的方向邁進。
祝極地同行越辦越好幫助更多有需要的人士，走出他們的人生極地。`},{id:8,name:"陳凱茵",role:"肌肉萎縮症患者",category:"參加者",image:"https://images.unsplash.com/photo-1438761681033-6461ffad8d80?auto=format&fit=crop&q=80&w=200&h=200",quote:"《極地同行》就像一個大家庭，只要齊心就能衝破難關。",fullStory:`自從加入了《極地同行》該組織後，一路走過也有許多得著，整個過程令我成長了不少！
直到2021年9月就正式創立了手語義工培訓班，同而締造了傷健共融，讓傷健人士凝聚集一起做朋友，共學、共享
《極地同行》就像一個大家庭，雖然有一些行山路徑對我有些障礙，而一眾《極地同行》年青人推著極地戰車帶著我衝破一些不可能踏足的地方，只要齊心就能衝破難關，總會見到新天地、新領域、還記得鯉魚門石礦場經歷也是我最深刻的一次，要極地戰車輔助我進入陝窄的小巷，這樣我才能有機會看到美麗的世外桃源！

最重要的是，在這團隊中讓我學習了互助扶持、信任、包容、接納、理解的所有，和大家一齊成長與進步。

傷健共融、同行路走一世`},{id:9,name:"陳津",role:"香港整理及收納師協會",category:"義工",image:"https://images.unsplash.com/photo-1552058544-f2b08422138a?auto=format&fit=crop&q=80&w=200&h=200",quote:"和極地戰士一同參與義務工作後，讓我明白原來人生路途並不孤單。",fullStory:"『困難中如果能夠互相扶持，就算處身逆境又何需懼怕』。 和極地戰士一同參與義務工作後，讓我明白原來人生路途並不孤單，勇敢面對總有一天會重遇光明，未來一定會繼續支持極地同行。"},{id:10,name:"歐陽文傑",role:"物理治療師",category:"義工",image:"https://images.unsplash.com/photo-1472099645785-5658abf4ff4e?auto=format&fit=crop&q=80&w=200&h=200",quote:"我不是從頭到尾都是施與者， 更多的時候我更似是受助者。",fullStory:`先後參與過幾次 ‘極地同行’ 的活動，最深刻當然是戈壁沙漠那一次, 以物理治療師身份幫助同行的參與者。
每一次活動之中都能感受到每位參與者的堅持，從不放棄的精神, 反而達到了互助的效果，在往後的人生中幫助了我更多, 我不是從頭到尾都是施與者， 更多的時候我更似是受助者，在整個活動當中, 發現自身的不足, 亦從義工, 工作人員, 殘障人士身上學習到很多寶貴的經驗。
希望往後，’極地同行’ 能舉辦更多活動, 發揮助人自助精神, 令彼此人生更豐盛。`},{id:11,name:"Iris Lam",role:"香港劍擊運動員",category:"義工",image:"https://images.unsplash.com/photo-1494790108377-be9c29b29330?auto=format&fit=crop&q=80&w=200&h=200",quote:"證明共融係雙向亦都係平等！無分界限！",fullStory:`大家好我係香港劍擊運動員Iris，我喺2018年透過一次輪椅體驗活動入面認識到 極地同行 同埋其創辦人 Steve Lo。
我感到十分榮幸可以從佢哋舉辦嘅活動入面認識到一班傷健人士，每次同佢哋參加不同嘅挑戰，佢哋嘅堅持同拼搏精神實在令我大開眼界！亦好多謝佢哋，間接會令我發揮我嘅小宇宙，突破左自己好多嘅不可能。
其實我好欣賞傷健人士不屈不撓嘅精神，我深信佢哋要突破自己身體極限去完成唔同嘅任務係會俾我哋健全人士更艱辛，但係佢哋都能夠一一完成，永不放棄。所以我覺得佢比我哋健全人士更堅強，更高超。從而教會我喺逆境嘅時候都唔可以氣餒，因為我哋一定會有方法同能力搵到自己嘅方向同埋出路！
極地同行 令我最深深體會到 其實傷殘同健全人士一樣無異！大家都一樣可以為社會作貢獻，證明共融係雙向亦都係平等！無分界限！
希望大家一齊支持極地同行呢一個平台
實行 傷健共融！共學！共享！`},{id:12,name:"余曉彤 Hidy",role:"藝人",category:"義工",image:"https://images.unsplash.com/photo-1580489944761-15a19d654956?auto=format&fit=crop&q=80&w=200&h=200",quote:"我們近五十人的小隊，互相照顧，共同進退，一起完成這個100公里的長征。",fullStory:`回想2018⋯⋯
希望三天的沙漠之旅會感動你和我 ·· ·
為甚麼···？
那天出發了，與「極地同行」一同到戈壁沙漠參與100公里挑戰賽。
我們三十多人中，包括1名視障，3名聽障，及裝上義肢的參賽者。義工方面則有消防、警察、音樂人、藝人、學生，退休人士及其他職場人仕。眾人組成一個近五十人的小隊，互相照顧，共同進退，一起完成這個100公里的長征。
背著3日的糧食、睡袋，期待每日一個馬拉松，日曬夜凍，訓蒙古包，同班戰友在荒漠共度中秋，和3位超可愛的小男孩，一同製造不平凡的經歷。
今次，和「極地同行」一起行動，機構的目標除了是為傷健人仕帶來人生的一次色彩之旅，更重要的是經過這個活動，帶出社會公眾對各種罕見病的關注和傷健人士的支援。
這對我特別有意義。
「極地同行」需要大眾的力量。`}],Gy=[{label:"關於極地",sub:["主席的話","我們的使命","獎項及嘉許","組織架構","領導團隊","資訊及媒體","同行者見證","極地大使","聯絡我們"]},{label:"最新動向",sub:["夢妮妲 第三次半馬 支持 極地同行","English Channel Two Way Relay August 2025","學校及青少年活動","活動日程","最新通訊"]},{label:"我們的服務",sub:["生命教育","傷健同行暢遊郊野計劃","網上SEN學生補習計劃","企業培訓","傷健友好校園計劃","手語義工訓練","輪椅保養及維修","癌症藥物資助計劃","心理健康急救課程"]},{label:"傷健運動",sub:["戶外傷健共同合作運動","室內傷健共同合作運動"]},{label:"成為義工"},{label:"支持極地",sub:["極地商店"]}];function QA(){const[a,l]=X.useState("全部"),[o,u]=X.useState(0),[c,d]=X.useState(null),[h,m]=X.useState(1),[g,p]=X.useState(!1),[v,x]=X.useState(!1);X.useEffect(()=>(v?document.body.style.overflow="hidden":document.body.style.overflow="unset",()=>{document.body.style.overflow="unset"}),[v]);const[T,D]=X.useState(!1);X.useEffect(()=>{const _=()=>{D(window.scrollY>50)};return window.addEventListener("scroll",_),()=>window.removeEventListener("scroll",_)},[]),X.useEffect(()=>{document.documentElement.style.setProperty("--text-scale",h.toString())},[h]);const j=a==="全部"?Yy:Yy.filter(_=>_.category===a),H=j.slice(o,o+5),O=j[o%j.length],q=_=>{l(_),u(0)},G=()=>{u(_=>(_+1)%j.length)},Y=()=>{u(_=>(_-1+j.length)%j.length)};return b.jsxs("div",{className:"min-h-screen bg-warm-white text-deep-navy selection:bg-vibrant-orange/30",children:[b.jsxs("header",{className:`fixed top-0 left-0 w-full z-50 transition-all duration-300 ${T?"bg-black/80 shadow-lg":"bg-transparent hover:bg-black/80"} ${g?"bg-white text-deep-navy shadow-xl":""}`,children:[b.jsxs("div",{className:`max-w-[1600px] mx-auto flex items-center transition-all duration-300 px-4 md:px-8 ${T?"h-[60px] md:h-[70px]":"h-[80px] md:h-[100px]"}`,children:[b.jsx("div",{className:"h-full w-[80px] md:w-[100px] flex items-center justify-center shrink-0",children:b.jsx("img",{src:lc,alt:"Wheel for Oneness Logo",className:`h-3/4 md:h-4/5 object-contain transition-all duration-300 ${T||!g?"brightness-100 invert":"brightness-100"}`})}),b.jsxs("div",{className:"flex-1 px-4 md:px-8 flex items-center justify-between gap-2 md:gap-6",children:[b.jsx("button",{onClick:()=>x(!v),className:"xl:hidden bg-black/50 backdrop-blur-md text-white p-2.5 rounded-xl hover:bg-black/70 transition-all shadow-lg border border-white/10",children:b.jsx(wA,{size:24})}),b.jsxs("nav",{className:"hidden xl:flex items-center h-full",children:[b.jsx("button",{className:`${T||!g?"text-white":"text-deep-navy"} hover:opacity-80 transition-opacity mr-6`,children:b.jsx(qy,{size:24})}),Gy.map(_=>b.jsxs("div",{className:"group relative h-full flex items-center",children:[b.jsx("a",{href:"#",className:`font-sans text-sm font-bold tracking-wider whitespace-nowrap flex items-center gap-1 px-4 h-full transition-colors ${T||!g?"text-white hover:bg-white/10":"text-deep-navy hover:bg-deep-navy/5"}`,children:_.label}),_.sub&&b.jsx("div",{className:`absolute left-0 bg-black/90 shadow-2xl py-0 min-w-[200px] opacity-0 invisible group-hover:opacity-100 group-hover:visible transition-all duration-200 z-[60] ${T?"top-[70px]":"top-[100px]"}`,children:_.sub.map(Z=>b.jsx("a",{href:"#",className:"block px-6 py-4 text-[15px] font-bold text-white hover:bg-white/10 transition-colors border-b border-white/5 last:border-0",children:Z},Z))})]},_.label))]}),b.jsxs("div",{className:"flex items-center gap-3 md:gap-6 shrink-0 h-full",children:[b.jsxs("div",{className:"group relative h-full flex items-center",children:[b.jsx("button",{className:"bg-vibrant-orange text-white px-4 md:px-6 py-2 md:py-2.5 rounded-full font-sans font-bold text-[13px] md:text-[15px] shadow-lg hover:brightness-110 transition-all active:scale-95 cursor-pointer",children:"捐款"}),b.jsx("div",{className:`absolute right-0 bg-black/90 shadow-2xl py-0 min-w-[220px] opacity-0 invisible group-hover:opacity-100 group-hover:visible transition-all duration-200 z-[60] ${T?"top-[60px] md:top-[70px]":"top-[80px] md:top-[100px]"}`,children:["支持極地同行的運作","個案及籌款項目","實體捐款站"].map(_=>b.jsx("a",{href:"#",className:"block px-6 py-4 text-[15px] font-bold text-white hover:bg-white/10 transition-colors border-b border-white/5 last:border-0 whitespace-nowrap",children:_},_))})]}),b.jsxs("a",{href:"#",className:`hidden sm:block font-sans text-xs md:text-[13px] leading-tight font-bold max-w-[120px] text-center hover:opacity-80 ${T||!g?"text-white":"text-deep-navy"}`,children:["越野人力車",b.jsx("br",{className:"hidden md:block"}),"全港校園分佈圖"]}),b.jsxs("div",{className:`flex items-center gap-3 md:gap-4 relative ${T||!g?"text-white":"text-deep-navy"}`,children:[b.jsxs("div",{className:"group/acc relative flex",children:[b.jsxs("button",{onClick:()=>p(!g),className:`flex items-center gap-2 ${T||!g?"bg-white/10 hover:bg-white/20 text-white":"bg-deep-navy/5 hover:bg-deep-navy/10 text-deep-navy"} px-3 py-1.5 rounded-lg transition-all text-sm font-bold active:scale-95`,title:"Accessibility Tools",children:[b.jsx(UA,{size:18}),b.jsx("span",{className:"hidden sm:inline",children:"A+"})]}),b.jsx(hl,{children:g&&b.jsxs(Pe.div,{initial:{opacity:0,y:10,scale:.95},animate:{opacity:1,y:0,scale:1},exit:{opacity:0,y:10,scale:.95},className:"absolute top-[50px] right-0 w-72 bg-white rounded-2xl shadow-2xl p-6 text-deep-navy z-[100] border border-deep-navy/5",children:[b.jsxs("div",{className:"flex items-center justify-between mb-6",children:[b.jsx("h4",{className:"font-bold text-sm uppercase tracking-wider text-deep-navy/50",children:"無障礙工具"}),b.jsx("button",{onClick:()=>p(!1),className:"text-deep-navy/20 hover:text-deep-navy",children:b.jsx(ic,{size:20})})]}),b.jsxs("div",{className:"mb-0",children:[b.jsx("label",{className:"block text-xs font-bold mb-3",children:"文字大小 Text Size"}),b.jsxs("div",{className:"flex items-center gap-2",children:[b.jsx("button",{onClick:()=>m(Math.max(1,h-.1)),disabled:h<=1,className:"w-10 h-10 rounded-lg bg-deep-navy/5 flex items-center justify-center hover:bg-deep-navy hover:text-white transition-all font-bold disabled:opacity-30 disabled:cursor-not-allowed",children:"-"}),b.jsx("button",{onClick:()=>m(Math.min(1.5,h+.1)),disabled:h>=1.5,className:"w-10 h-10 rounded-lg bg-deep-navy/5 flex items-center justify-center hover:bg-deep-navy hover:text-white transition-all font-bold disabled:opacity-30 disabled:cursor-not-allowed",children:"+"})]})]})]})})]}),b.jsx(By,{size:20,className:"cursor-pointer hover:opacity-80 hidden sm:block"}),b.jsx(MA,{size:20,className:"cursor-pointer hover:opacity-80 hidden md:block"}),b.jsx(HA,{size:20,className:"cursor-pointer hover:opacity-80"}),b.jsxs("div",{className:"relative cursor-pointer hover:opacity-80",children:[b.jsx(OA,{size:20}),b.jsx("span",{className:"absolute -top-1.5 -right-2 bg-white text-vibrant-orange text-[9px] font-bold w-4 h-4 rounded-full flex items-center justify-center border-1 border-vibrant-orange",children:"1"})]})]})]})]})]}),b.jsx(hl,{children:v&&b.jsxs(b.Fragment,{children:[b.jsx(Pe.div,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},onClick:()=>x(!1),className:"fixed inset-0 bg-black/50 backdrop-blur-sm z-[100] xl:hidden"}),b.jsxs(Pe.div,{initial:{x:"-100%"},animate:{x:0},exit:{x:"-100%"},transition:{type:"spring",damping:25,stiffness:200},className:"fixed top-0 left-0 w-[80%] max-w-[300px] max-h-[92vh] bg-white z-[110] xl:hidden flex flex-col shadow-2xl rounded-br-[2.5rem] overflow-hidden",children:[b.jsxs("div",{className:"flex items-center justify-between p-3 border-b border-gray-100/50",children:[b.jsx("img",{src:lc,alt:"Logo",className:"h-6 object-contain"}),b.jsx("button",{onClick:()=>x(!1),className:"text-deep-navy p-1 hover:bg-deep-navy/5 rounded-full transition-colors",children:b.jsx(ic,{size:22})})]}),b.jsxs("div",{className:"flex-1 overflow-y-auto p-3.5",children:[b.jsx("div",{className:"mb-4",children:b.jsxs("div",{className:"relative",children:[b.jsx(qy,{className:"absolute left-3.5 top-1/2 -translate-y-1/2 text-deep-navy/30",size:16}),b.jsx("input",{type:"text",placeholder:"搜尋 Search",className:"w-full bg-[#f1f4f9] text-deep-navy font-bold py-2.5 pl-10 pr-4 rounded-lg outline-none text-sm"})]})}),b.jsx("div",{className:"space-y-0",children:Gy.map(_=>b.jsxs("div",{className:"border-b border-gray-100/50",children:[b.jsxs("button",{className:"w-full py-3 flex items-center justify-between text-deep-navy font-bold text-base hover:text-vibrant-orange transition-colors text-left",onClick:Z=>{if(_.sub){const it=Z.currentTarget.nextElementSibling;if(it){it.classList.toggle("hidden");const k=Z.currentTarget.querySelector(".chevron-icon");k&&k.classList.toggle("rotate-90")}}},children:[b.jsx("span",{children:_.label}),_.sub&&b.jsx(_y,{size:18,className:"text-gray-300 transition-transform duration-200 chevron-icon"})]}),_.sub&&b.jsx("div",{className:"hidden pl-3 pb-3 space-y-2 pt-0.5",children:_.sub.map(Z=>b.jsx("a",{href:"#",className:"block text-sm text-deep-navy/60 hover:text-vibrant-orange py-0.5",children:Z},Z))})]},_.label))}),b.jsxs("div",{className:"mt-6 space-y-3",children:[b.jsx("button",{className:"w-full bg-vibrant-orange text-white py-3.5 rounded-lg font-bold text-base shadow-md active:scale-95 transition-all",children:"立即捐款 Donate Now"}),b.jsxs("div",{className:"flex justify-center gap-6 text-deep-navy/20 py-4",children:[b.jsx(By,{size:20}),b.jsx(Uy,{size:20}),b.jsx(Ly,{size:20})]})]})]})]})]})})]}),b.jsxs("main",{children:[b.jsxs("section",{className:"relative overflow-hidden min-h-screen md:min-h-screen flex items-center py-20 md:py-0",children:[b.jsx("div",{className:"absolute inset-0 w-full h-full z-0 overflow-hidden pointer-events-none",children:b.jsx("iframe",{className:"absolute w-[400%] h-[100%] left-[-150%] top-0 md:w-[110%] md:h-[110%] md:left-[-5%] md:top-[-5%] object-cover object-center scale-[1.5] brightness-75 transition-all duration-700",src:"https://www.youtube.com/embed/om47XkWLR5g?autoplay=1&mute=1&loop=1&playlist=om47XkWLR5g&controls=0&modestbranding=1&rel=0&iv_load_policy=3&showinfo=0",title:"Testimonial Background",frameBorder:"0",allow:"autoplay; encrypted-media"})}),b.jsx("div",{className:"absolute inset-0 bg-gradient-to-b from-black/40 via-transparent to-transparent z-10"}),b.jsx("div",{className:"absolute inset-0 bg-white/20 backdrop-blur-[0.5px] z-10"}),b.jsx("div",{className:"max-w-[1600px] mx-auto px-4 md:px-8 w-full py-20 relative z-20",children:b.jsxs(Pe.div,{initial:{opacity:0,x:-30},whileInView:{opacity:1,x:0},viewport:{once:!0},transition:{duration:.8,ease:"easeOut"},className:"max-w-2xl",children:[b.jsx("span",{className:"font-display text-vibrant-orange tracking-[0.2em] text-xs md:text-sm mb-4 block",children:"TESTIMONIALS"}),b.jsxs("h1",{className:"font-serif text-4xl sm:text-5xl md:text-7xl font-bold text-deep-navy mb-8 leading-[1.1]",children:["同行之聲 ",b.jsx("br",{})," ",b.jsx("span",{className:"text-vibrant-orange",children:"Voices of Oneness"})]}),b.jsx("p",{className:"font-sans text-base md:text-lg text-deep-navy/70 leading-relaxed max-w-xl",children:"在「極地同行」，我們相信冒險不應受限於身體。每一段旅程都是傷健共融的見證，每一個故事都散發著勇氣與人性的光輝。聽聽那些曾在高原、沙漠與共融路上的同行者，分享他們如何重新定義「可能」。"})]})})]}),b.jsx("section",{className:"bg-deep-navy py-24 md:py-32",children:b.jsxs(Pe.div,{initial:{opacity:0,scale:.95},whileInView:{opacity:1,scale:1},viewport:{once:!0},className:"max-w-[1600px] mx-auto px-4 md:px-8 text-center",children:[b.jsx("div",{className:"flex justify-center mb-8",children:b.jsx(Hy,{size:64,className:"text-vibrant-orange fill-vibrant-orange opacity-80"})}),b.jsx("blockquote",{className:"font-serif text-base md:text-4xl text-warm-white max-w-6xl mx-auto mb-12 italic leading-[1.6] md:leading-[1.45] tracking-wide px-4 md:px-0",children:"「極地同行一個非常感性名字的機構。極地不獨是外境苦寒坎坷的環境，亦可能是內心迷惑、徬徨、痛苦與掙扎的沉淪陌生世界，自己作為一名傷健人士自少飽歷內外交煎深諳處極地之苦！欣悉機構理念是以善行之道力能及所默默去理解及支援身處困境之人，沿路陪伴他們走出極地陰霾，向晴朗的一天出發，如此有意義的組織焉能不支持學習？」"}),b.jsxs("div",{className:"flex flex-col items-center",children:[b.jsx("img",{src:jg,alt:"葉湛溪",className:"w-24 h-24 rounded-full border-4 border-vibrant-orange mb-6 object-cover shadow-xl"}),b.jsxs("cite",{className:"not-italic",children:[b.jsx("span",{className:"font-display text-vibrant-orange tracking-[0.15em] text-sm block mb-1",children:"葉湛溪"}),b.jsx("span",{className:"font-sans text-warm-white/60 text-base",children:"香港復康力量主席"})]})]})]})}),b.jsx("section",{className:"py-24 bg-white",children:b.jsxs("div",{className:"max-w-[1600px] mx-auto px-4 md:px-8",children:[b.jsxs("div",{className:"flex flex-col md:flex-row md:items-end justify-between mb-16 gap-8",children:[b.jsxs("div",{children:[b.jsx("div",{className:"flex items-center gap-6 mb-4",children:b.jsx("h2",{className:"font-serif text-2xl md:text-5xl font-bold text-deep-navy",children:"真實故事"})}),b.jsx("p",{className:"font-sans text-deep-navy/60 text-sm md:text-lg",children:"探索我們社群中每一位成員的獨特旅程。"})]}),b.jsx("div",{className:"flex bg-[#f8f6f2] p-1 md:p-1.5 rounded-2xl overflow-hidden shadow-inner w-full md:w-fit",children:["全部","參加者","義工"].map(_=>b.jsx("button",{onClick:()=>q(_),className:`flex-1 md:flex-none px-5 md:px-8 py-2 md:py-2.5 rounded-xl font-bold text-sm md:text-base transition-all duration-300 ${a===_?"bg-vibrant-orange text-white shadow-md":"text-deep-navy/50 hover:text-deep-navy"}`,children:_},_))})]}),b.jsxs("div",{className:"relative px-4",children:[b.jsx("button",{onClick:Y,className:"absolute left-[-15px] lg:left-[-60px] top-1/2 -translate-y-1/2 z-10 w-10 h-10 md:w-12 md:h-12 rounded-full bg-white border-2 border-deep-navy/10 flex items-center justify-center text-deep-navy hover:bg-deep-navy hover:text-white transition-all shadow-lg active:scale-90",children:b.jsx(pA,{size:24})}),b.jsx("button",{onClick:G,className:"absolute right-[-15px] lg:right-[-60px] top-1/2 -translate-y-1/2 z-10 w-10 h-10 md:w-12 md:h-12 rounded-full bg-white border-2 border-deep-navy/10 flex items-center justify-center text-deep-navy hover:bg-deep-navy hover:text-white transition-all shadow-lg active:scale-90",children:b.jsx(_y,{size:24})}),b.jsx("div",{className:"hidden md:grid grid-cols-2 lg:grid-cols-3 xl:grid-cols-5 gap-4 lg:gap-6",children:b.jsx(hl,{mode:"popLayout",initial:!1,children:H.map(_=>b.jsxs(Pe.div,{layout:!0,initial:{opacity:0,scale:.9},animate:{opacity:1,scale:1},exit:{opacity:0,scale:.9},transition:{duration:.3},className:"bg-white p-6 lg:p-8 rounded-[1.5rem] lg:rounded-[2rem] border border-deep-navy/5 shadow-[0px_8px_40px_-10px_rgba(0,51,102,0.08)] hover:shadow-[0px_20px_50px_-10px_rgba(0,51,102,0.15)] transition-all flex flex-col items-center group min-h-[480px] h-full",children:[b.jsxs("div",{className:"flex flex-col items-center text-center gap-4 mb-8",children:[b.jsxs("div",{className:"relative",children:[b.jsx("img",{src:_.image,alt:_.name,className:"w-20 h-20 rounded-full object-cover shadow-md group-hover:scale-105 transition-transform duration-500"}),b.jsx("div",{className:"absolute -bottom-1 -right-1 w-6 h-6 bg-vibrant-orange rounded-full flex items-center justify-center border-2 border-white",children:b.jsx("div",{className:"w-1.5 h-1.5 bg-white rounded-full"})})]}),b.jsxs("div",{children:[b.jsx("h4",{className:"font-bold text-xl text-deep-navy mb-1",children:_.name}),b.jsx("span",{className:"font-display text-[11px] uppercase tracking-widest text-vibrant-orange font-bold",children:_.role})]})]}),b.jsx("p",{className:"font-sans text-deep-navy text-lg flex-grow font-bold text-center leading-relaxed mb-10",children:_.quote}),b.jsx("div",{className:"pt-8 border-t border-deep-navy/5 w-full flex justify-center",children:b.jsxs("button",{onClick:()=>d(_),className:"text-vibrant-orange font-bold hover:gap-3 transition-all inline-flex items-center gap-2 group/btn",children:["閱讀更多 ",b.jsx(dA,{size:18,className:"group-hover/btn:translate-x-1 transition-transform"})]})})]},_.id))})}),b.jsx("div",{className:"md:hidden",children:b.jsx(hl,{mode:"wait",children:b.jsxs(Pe.div,{initial:{opacity:0,x:20},animate:{opacity:1,x:0},exit:{opacity:0,x:-20},transition:{duration:.3},className:"bg-white p-6 rounded-[2rem] border border-deep-navy/5 shadow-xl flex flex-col items-center min-h-[380px]",children:[b.jsxs("div",{className:"flex flex-col items-center text-center gap-3 mb-6",children:[b.jsxs("div",{className:"relative",children:[b.jsx("img",{src:O==null?void 0:O.image,alt:O==null?void 0:O.name,className:"w-16 h-16 rounded-full object-cover shadow-md"}),b.jsx("div",{className:"absolute -bottom-1 -right-1 w-5 h-5 bg-vibrant-orange rounded-full flex items-center justify-center border-2 border-white",children:b.jsx("div",{className:"w-1 h-1 bg-white rounded-full"})})]}),b.jsxs("div",{children:[b.jsx("h4",{className:"font-bold text-lg text-deep-navy mb-0.5",children:O==null?void 0:O.name}),b.jsx("span",{className:"font-display text-[10px] uppercase tracking-[0.2em] text-vibrant-orange font-bold",children:O==null?void 0:O.role})]})]}),b.jsxs("p",{className:"font-sans text-deep-navy text-base font-bold text-center leading-relaxed mb-8 flex-1",children:['"',O==null?void 0:O.quote,'"']}),b.jsxs("div",{className:"pt-4 border-t border-deep-navy/5 w-full flex flex-col items-center gap-4",children:[b.jsx("button",{onClick:()=>O&&d(O),className:"text-vibrant-orange font-bold text-sm",children:"閱讀更多 Read More"}),b.jsx("div",{className:"flex gap-1.5",children:j.map((_,Z)=>b.jsx("div",{className:`h-1 rounded-full transition-all duration-300 ${o%j.length===Z?"w-4 bg-vibrant-orange":"w-1 bg-deep-navy/10"}`},Z))})]})]},O==null?void 0:O.id)})})]})]})}),b.jsx("section",{className:"py-16 md:py-32 bg-soft-blush overflow-hidden",children:b.jsx("div",{className:"max-w-[1280px] mx-auto px-6",children:b.jsxs(Pe.div,{initial:{opacity:0,y:40},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"bg-deep-navy rounded-3xl sm:rounded-[3rem] p-8 sm:p-16 md:p-24 relative overflow-hidden flex flex-col items-center text-center shadow-2xl",children:[b.jsxs("div",{className:"relative z-10 max-w-2xl",children:[b.jsxs("h2",{className:"font-serif text-3xl md:text-6xl font-bold text-warm-white mb-6 md:mb-8 leading-tight",children:["成為旅程的一分子 ",b.jsx("span",{className:"block mt-2 opacity-90 text-2xl md:text-4xl italic",children:"Be Part of the Journey"})]}),b.jsx("p",{className:"font-sans text-base md:text-xl text-warm-white/70 mb-8 md:mb-12 max-w-lg mx-auto",children:"您的支持能讓更多傷殘人士有機會體驗極地旅程，共同推動傷健共融的社會價值。"}),b.jsxs("div",{className:"flex flex-col sm:flex-row gap-4 md:gap-6 justify-center w-full sm:w-auto",children:[b.jsx("button",{className:"bg-vibrant-orange text-white px-8 md:px-12 py-4 md:py-5 rounded-2xl font-bold text-lg md:text-xl hover:brightness-110 hover:scale-105 transition-all shadow-xl active:scale-95",children:"立即捐款 Donate"}),b.jsx("button",{className:"border-2 border-warm-white text-warm-white px-8 md:px-12 py-4 md:py-5 rounded-2xl font-bold text-lg md:text-xl hover:bg-warm-white hover:text-deep-navy hover:scale-105 transition-all shadow-xl active:scale-95",children:"成為義工 Volunteer"})]})]}),b.jsx("div",{className:"absolute -right-20 -bottom-20 w-[400px] h-[400px] bg-vibrant-orange/10 rounded-full blur-[100px] pointer-events-none"}),b.jsx("div",{className:"absolute -left-20 -top-20 w-[300px] h-[300px] bg-vibrant-orange/5 rounded-full blur-[80px] pointer-events-none"})]})})})]}),b.jsxs("section",{className:"relative",children:[b.jsxs("div",{className:"relative h-auto md:h-[280px] py-12 md:py-0 flex items-center overflow-hidden",children:[b.jsx("img",{src:XA,alt:"Background",className:"absolute inset-0 w-full h-full object-cover brightness-[0.4] scale-105"}),b.jsxs("div",{className:"relative z-10 max-w-[1600px] mx-auto px-4 md:px-8 w-full flex flex-col lg:flex-row items-center justify-between gap-8 md:gap-12 text-white",children:[b.jsxs("div",{className:"flex flex-col sm:flex-row items-center gap-4 w-full lg:w-auto order-2 lg:order-1",children:[b.jsx("input",{type:"email",placeholder:"電郵地址 Email Address",className:"bg-white text-deep-navy px-6 py-4 w-full sm:w-[300px] outline-none rounded-lg md:rounded-none font-bold shadow-lg"}),b.jsx("button",{className:"bg-vibrant-orange hover:bg-vibrant-orange/90 text-white font-bold px-12 py-4 transition-all shrink-0 rounded-lg md:rounded-none w-full sm:w-auto shadow-lg active:scale-95",children:"訂閱 Subscribe"})]}),b.jsxs("div",{className:"max-w-2xl text-center lg:text-left order-1 lg:order-2",children:[b.jsx("p",{className:"text-base md:text-lg font-bold mb-3 md:mb-4",children:"填寫簡單資料，即可訂閱極地同行電子報，緊貼最新活動資訊，支持本會工作。"}),b.jsx("p",{className:"text-[10px] md:text-[11px] opacity-70 leading-relaxed",children:"極地同行（下稱「本會」）會遵守及履行個人資料（私隱）條例之規定，並確保你的個人資料準確及安全。閣下的個人資料（包括你的姓名、電郵地址及其他）或會被本會透過電子郵件，用作提供最新組織資訊、問卷調查、籌募活動、會員活動及其他通訊和推廣之用途。"})]})]})]}),b.jsxs("footer",{className:"bg-[#001D2E] pt-20 pb-10 relative",children:[b.jsxs("div",{className:"max-w-[1600px] mx-auto px-4 md:px-8",children:[b.jsx("div",{className:"flex flex-col md:flex-row justify-end items-start md:items-center gap-10 mb-20",children:b.jsxs("div",{className:"flex flex-col gap-6",children:[b.jsx("h4",{className:"text-white font-bold text-lg border-l-4 border-[#FFA337] pl-4",children:"轄下機構"}),b.jsxs("div",{className:"flex items-center gap-4 sm:gap-8",children:[b.jsxs("div",{className:"h-14 md:h-20 flex items-center gap-2 md:gap-3",children:[b.jsx("div",{className:"w-10 h-10 md:w-16 md:h-16 bg-white rounded-full flex items-center justify-center p-0.5 md:p-1",children:b.jsx("img",{src:lc,alt:"WSA",className:"w-full h-full object-contain"})}),b.jsxs("div",{className:"text-white",children:[b.jsx("div",{className:"text-sm md:text-xl font-black italic tracking-tighter",children:"WFO STUDENTS"}),b.jsx("div",{className:"text-[8px] md:text-xs tracking-[0.2em] md:tracking-[0.3em] font-medium opacity-80",children:"- ASSOCIATION -"})]})]}),b.jsxs("div",{className:"h-14 md:h-20 flex items-end gap-1",children:[b.jsx("span",{className:"text-white text-2xl md:text-5xl font-black italic tracking-tighter leading-none",children:"KAMMO"}),b.jsx("div",{className:"flex flex-col -mb-0.5 md:-mb-1",children:b.jsx("span",{className:"text-[#FFA337] text-base md:text-2xl font-black italic leading-none",children:"極地同行"})})]})]}),b.jsxs("div",{className:"flex items-center gap-6 pt-6 border-t border-white/10",children:[b.jsx("div",{className:"w-1 h-12 bg-[#FFA337] mr-2"}),b.jsx("a",{href:"#",className:"text-white hover:text-[#FFA337] transition-colors",children:b.jsx(bA,{size:24})}),b.jsx("a",{href:"#",className:"text-white hover:text-[#FFA337] transition-colors",children:b.jsx(_A,{size:24})}),b.jsx("a",{href:"#",className:"text-white hover:text-[#FFA337] transition-colors",children:b.jsx(AA,{size:24})}),b.jsx("a",{href:"#",className:"text-white hover:text-[#FFA337] transition-colors",children:b.jsx(GA,{size:24})}),b.jsx("a",{href:"#",className:"text-white hover:text-[#FFA337] transition-colors",children:b.jsx(Uy,{size:24})}),b.jsx("a",{href:"#",className:"text-white hover:text-[#FFA337] transition-colors",children:b.jsx(Ly,{size:24})})]})]})}),b.jsx("div",{className:"flex justify-end pt-10 border-t border-white/5",children:b.jsx("p",{className:"text-white/40 text-[11px] font-sans",children:"© 2026 WHEEL FOR ONENESS 極地同行"})})]}),b.jsx("button",{onClick:()=>window.scrollTo({top:0,behavior:"smooth"}),className:"absolute right-6 bottom-10 w-12 h-12 border border-white/20 rounded flex items-center justify-center text-white/40 hover:text-white hover:border-white transition-all overflow-hidden group cursor-pointer",children:b.jsx(vA,{size:24,className:"group-hover:-translate-y-1 transition-transform"})})]})]}),b.jsx(hl,{children:c&&b.jsxs("div",{className:"fixed inset-0 z-[100] flex items-center justify-center p-4 md:p-8",children:[b.jsx(Pe.div,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},onClick:()=>d(null),className:"absolute inset-0 bg-deep-navy/80 backdrop-blur-sm"}),b.jsxs(Pe.div,{initial:{opacity:0,scale:.9,y:20},animate:{opacity:1,scale:1,y:0},exit:{opacity:0,scale:.9,y:20},className:"relative w-full max-w-4xl bg-white rounded-[2.5rem] overflow-hidden shadow-2xl flex flex-col md:flex-row max-h-[90vh]",children:[b.jsx("button",{onClick:()=>d(null),className:"absolute top-6 right-6 z-10 w-10 h-10 bg-deep-navy/5 hover:bg-vibrant-orange hover:text-white rounded-full flex items-center justify-center transition-all active:scale-90",children:b.jsx(ic,{size:24})}),b.jsxs("div",{className:"w-full md:w-2/5 h-64 md:h-auto shrink-0 relative",children:[b.jsx("img",{src:c.image,alt:c.name,className:"w-full h-full object-cover"}),b.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-deep-navy/60 to-transparent md:hidden"}),b.jsxs("div",{className:"absolute bottom-6 left-6 md:hidden",children:[b.jsx("h3",{className:"font-serif text-3xl font-bold text-white mb-1",children:c.name}),b.jsx("p",{className:"font-display text-xs uppercase tracking-widest text-vibrant-orange font-bold",children:c.role})]})]}),b.jsxs("div",{className:"flex-1 p-8 md:p-12 overflow-y-auto",children:[b.jsxs("div",{className:"hidden md:block mb-8",children:[b.jsx("h3",{className:"font-serif text-4xl font-bold text-deep-navy mb-2",children:c.name}),b.jsxs("div",{className:"flex items-center gap-4",children:[b.jsx("span",{className:"font-display text-[13px] uppercase tracking-[0.2em] text-vibrant-orange font-black",children:c.role}),b.jsx("div",{className:"h-px flex-1 bg-deep-navy/5"})]})]}),b.jsx("div",{className:"prose prose-lg max-w-none",children:c.fullStory.split(`
`).map((_,Z)=>b.jsx("p",{className:"font-sans text-deep-navy/80 leading-relaxed mb-6 last:mb-0 text-lg",children:_},Z))}),b.jsxs("div",{className:"mt-6 pt-6 border-t border-deep-navy/5 flex items-center justify-between gap-4",children:[b.jsxs("div",{className:"flex gap-2 items-center",children:[b.jsx("div",{className:"w-7 h-7 rounded-full bg-soft-blush flex items-center justify-center shrink-0",children:b.jsx(Hy,{size:12,className:"text-vibrant-orange"})}),b.jsx("p",{className:"font-serif italic text-deep-navy/40 text-[10px] leading-tight max-w-[160px]",children:"「極地同行」相信冒險不應受限於身體，共融是平等。"})]}),b.jsx("button",{onClick:()=>d(null),className:"bg-vibrant-orange text-white px-4 py-2 rounded-lg font-bold text-[13px] hover:brightness-110 transition-all active:scale-95 whitespace-nowrap shadow-md",children:"關閉視窗"})]})]})]})]})})]})}rx.createRoot(document.getElementById("root")).render(b.jsx(X.StrictMode,{children:b.jsx(QA,{})}));</script>
    <style rel="stylesheet" crossorigin>@import"https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Montserrat:wght@400;500;600&family=Epilogue:wght@700&display=swap";@import"https://cdn.jsdelivr.net/npm/open-dyslexic@1.0.3/dist/css/open-dyslexic.min.css";/*! tailwindcss v4.3.0 | MIT License | https://tailwindcss.com */@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scale-z:1;--tw-space-y-reverse:0;--tw-border-style:solid;--tw-gradient-position:initial;--tw-gradient-from:#0000;--tw-gradient-via:#0000;--tw-gradient-to:#0000;--tw-gradient-stops:initial;--tw-gradient-via-stops:initial;--tw-gradient-from-position:0%;--tw-gradient-via-position:50%;--tw-gradient-to-position:100%;--tw-leading:initial;--tw-font-weight:initial;--tw-tracking:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-backdrop-blur:initial;--tw-backdrop-brightness:initial;--tw-backdrop-contrast:initial;--tw-backdrop-grayscale:initial;--tw-backdrop-hue-rotate:initial;--tw-backdrop-invert:initial;--tw-backdrop-opacity:initial;--tw-backdrop-saturate:initial;--tw-backdrop-sepia:initial;--tw-duration:initial}}}@layer theme{:root,:host{--font-sans:"Montserrat", sans-serif;--font-serif:"Playfair Display", serif;--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--color-gray-100:oklch(96.7% .003 264.542);--color-gray-300:oklch(87.2% .01 258.338);--color-black:#000;--color-white:#fff;--spacing:.25rem;--container-lg:32rem;--container-xl:36rem;--container-2xl:42rem;--container-4xl:56rem;--container-6xl:72rem;--text-xs:.75rem;--text-xs--line-height:calc(1 / .75);--text-sm:.875rem;--text-sm--line-height:calc(1.25 / .875);--text-base:1rem;--text-base--line-height: 1.5 ;--text-lg:1.125rem;--text-lg--line-height:calc(1.75 / 1.125);--text-xl:1.25rem;--text-xl--line-height:calc(1.75 / 1.25);--text-2xl:1.5rem;--text-2xl--line-height:calc(2 / 1.5);--text-3xl:1.875rem;--text-3xl--line-height: 1.2 ;--text-4xl:2.25rem;--text-4xl--line-height:calc(2.5 / 2.25);--text-5xl:3rem;--text-5xl--line-height:1;--text-6xl:3.75rem;--text-6xl--line-height:1;--text-7xl:4.5rem;--text-7xl--line-height:1;--font-weight-medium:500;--font-weight-bold:700;--font-weight-black:900;--tracking-tighter:-.05em;--tracking-wide:.025em;--tracking-wider:.05em;--tracking-widest:.1em;--leading-tight:1.25;--leading-relaxed:1.625;--radius-lg:.5rem;--radius-xl:.75rem;--radius-2xl:1rem;--radius-3xl:1.5rem;--blur-sm:8px;--blur-md:12px;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono);--color-vibrant-orange:#f39200;--color-deep-navy:#036;--color-warm-white:#fdfbf7;--color-soft-blush:#fbf3f2;--font-display:"Epilogue", sans-serif;--font-dyslexic:"OpenDyslexic", sans-serif}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-body.elementor-page-10928-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-body.elementor-page-10928-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-body.elementor-page-10928-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){-webkit-appearance:button;-moz-appearance:button;appearance:button}::file-body.elementor-page-10928-button{-webkit-appearance:button;-moz-appearance:button;appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}:root{--text-scale:1}html{font-size:calc(100% * var(--text-scale))}body{font-family:var(--font-sans)}}@layer components;@layer utilities{.pointer-events-none{pointer-events:none}.invisible{visibility:hidden}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.inset-0{inset:calc(var(--spacing) * 0)}.-top-1\.5{top:calc(var(--spacing) * -1.5)}.-top-20{top:calc(var(--spacing) * -20)}.top-0{top:calc(var(--spacing) * 0)}.top-1\/2{top:50%}.top-6{top:calc(var(--spacing) * 6)}.top-\[50px\]{top:50px}.top-\[60px\]{top:60px}.top-\[70px\]{top:70px}.top-\[80px\]{top:80px}.top-\[100px\]{top:100px}.-right-1{right:calc(var(--spacing) * -1)}.-right-2{right:calc(var(--spacing) * -2)}.-right-20{right:calc(var(--spacing) * -20)}.right-0{right:calc(var(--spacing) * 0)}.right-6{right:calc(var(--spacing) * 6)}.right-\[-15px\]{right:-15px}.-bottom-1{bottom:calc(var(--spacing) * -1)}.-bottom-20{bottom:calc(var(--spacing) * -20)}.bottom-6{bottom:calc(var(--spacing) * 6)}.bottom-10{bottom:calc(var(--spacing) * 10)}.-left-20{left:calc(var(--spacing) * -20)}.left-0{left:calc(var(--spacing) * 0)}.left-3\.5{left:calc(var(--spacing) * 3.5)}.left-6{left:calc(var(--spacing) * 6)}.left-\[-15px\]{left:-15px}.left-\[-150\%\]{left:-150%}.z-0{z-index:0}.z-10{z-index:10}.z-20{z-index:20}.z-50{z-index:50}.z-\[60\]{z-index:60}.z-\[100\]{z-index:100}.z-\[110\]{z-index:110}.order-1{order:1}.order-2{order:2}.mx-auto{margin-inline:auto}.mt-2{margin-top:calc(var(--spacing) * 2)}.mt-6{margin-top:calc(var(--spacing) * 6)}.mr-2{margin-right:calc(var(--spacing) * 2)}.mr-6{margin-right:calc(var(--spacing) * 6)}.-mb-0\.5{margin-bottom:calc(var(--spacing) * -.5)}.mb-0{margin-bottom:calc(var(--spacing) * 0)}.mb-0\.5{margin-bottom:calc(var(--spacing) * .5)}.mb-1{margin-bottom:calc(var(--spacing) * 1)}.mb-2{margin-bottom:calc(var(--spacing) * 2)}.mb-3{margin-bottom:calc(var(--spacing) * 3)}.mb-4{margin-bottom:calc(var(--spacing) * 4)}.mb-6{margin-bottom:calc(var(--spacing) * 6)}.mb-8{margin-bottom:calc(var(--spacing) * 8)}.mb-10{margin-bottom:calc(var(--spacing) * 10)}.mb-12{margin-bottom:calc(var(--spacing) * 12)}.mb-16{margin-bottom:calc(var(--spacing) * 16)}.mb-20{margin-bottom:calc(var(--spacing) * 20)}.block{display:block}.flex{display:flex}.hidden{display:none}.inline-flex{display:inline-flex}.h-1{height:calc(var(--spacing) * 1)}.h-1\.5{height:calc(var(--spacing) * 1.5)}.h-3\/4{height:75%}.h-4{height:calc(var(--spacing) * 4)}.h-5{height:calc(var(--spacing) * 5)}.h-6{height:calc(var(--spacing) * 6)}.h-7{height:calc(var(--spacing) * 7)}.h-10{height:calc(var(--spacing) * 10)}.h-12{height:calc(var(--spacing) * 12)}.h-14{height:calc(var(--spacing) * 14)}.h-16{height:calc(var(--spacing) * 16)}.h-20{height:calc(var(--spacing) * 20)}.h-24{height:calc(var(--spacing) * 24)}.h-64{height:calc(var(--spacing) * 64)}.h-\[60px\]{height:60px}.h-\[80px\]{height:80px}.h-\[100\%\]{height:100%}.h-\[300px\]{height:300px}.h-\[400px\]{height:400px}.h-auto{height:auto}.h-full{height:100%}.h-px{height:1px}.max-h-\[90vh\]{max-height:90vh}.max-h-\[92vh\]{max-height:92vh}.min-h-\[380px\]{min-height:380px}.min-h-\[480px\]{min-height:480px}.min-h-screen{min-height:100vh}.w-1{width:calc(var(--spacing) * 1)}.w-1\.5{width:calc(var(--spacing) * 1.5)}.w-4{width:calc(var(--spacing) * 4)}.w-5{width:calc(var(--spacing) * 5)}.w-6{width:calc(var(--spacing) * 6)}.w-7{width:calc(var(--spacing) * 7)}.w-10{width:calc(var(--spacing) * 10)}.w-12{width:calc(var(--spacing) * 12)}.w-16{width:calc(var(--spacing) * 16)}.w-20{width:calc(var(--spacing) * 20)}.w-24{width:calc(var(--spacing) * 24)}.w-72{width:calc(var(--spacing) * 72)}.w-\[80\%\]{width:80%}.w-\[80px\]{width:80px}.w-\[300px\]{width:300px}.w-\[400\%\]{width:400%}.w-\[400px\]{width:400px}.w-full{width:100%}.max-w-2xl{max-width:var(--container-2xl)}.max-w-4xl{max-width:var(--container-4xl)}.max-w-6xl{max-width:var(--container-6xl)}.max-w-\[120px\]{max-width:120px}.max-w-\[160px\]{max-width:160px}.max-w-\[300px\]{max-width:300px}.max-w-\[1280px\]{max-width:1280px}.max-w-\[1600px\]{max-width:1600px}.max-w-lg{max-width:var(--container-lg)}.max-w-none{max-width:none}.max-w-xl{max-width:var(--container-xl)}.min-w-\[200px\]{min-width:200px}.min-w-\[220px\]{min-width:220px}.flex-1{flex:1}.shrink-0{flex-shrink:0}.flex-grow{flex-grow:1}.-translate-y-1\/2{--tw-translate-y: -50% ;translate:var(--tw-translate-x) var(--tw-translate-y)}.scale-105{--tw-scale-x:105%;--tw-scale-y:105%;--tw-scale-z:105%;scale:var(--tw-scale-x) var(--tw-scale-y)}.scale-\[1\.5\]{scale:1.5}.rotate-90{rotate:90deg}.cursor-pointer{cursor:pointer}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.flex-col{flex-direction:column}.items-center{align-items:center}.items-end{align-items:flex-end}.items-start{align-items:flex-start}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.justify-end{justify-content:flex-end}.gap-1{gap:calc(var(--spacing) * 1)}.gap-1\.5{gap:calc(var(--spacing) * 1.5)}.gap-2{gap:calc(var(--spacing) * 2)}.gap-3{gap:calc(var(--spacing) * 3)}.gap-4{gap:calc(var(--spacing) * 4)}.gap-6{gap:calc(var(--spacing) * 6)}.gap-8{gap:calc(var(--spacing) * 8)}.gap-10{gap:calc(var(--spacing) * 10)}:where(.space-y-0>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 0) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 0) * calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-2>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 2) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 2) * calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-3>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 3) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 3) * calc(1 - var(--tw-space-y-reverse)))}.overflow-hidden{overflow:hidden}.overflow-y-auto{overflow-y:auto}.rounded{border-radius:.25rem}.rounded-2xl{border-radius:var(--radius-2xl)}.rounded-3xl{border-radius:var(--radius-3xl)}.rounded-\[1\.5rem\]{border-radius:1.5rem}.rounded-\[2\.5rem\]{border-radius:2.5rem}.rounded-\[2rem\]{border-radius:2rem}.rounded-full{border-radius:3.40282e38px}.rounded-lg{border-radius:var(--radius-lg)}.rounded-xl{border-radius:var(--radius-xl)}.rounded-br-\[2\.5rem\]{border-bottom-right-radius:2.5rem}.border,.border-1{border-style:var(--tw-border-style);border-width:1px}.border-2{border-style:var(--tw-border-style);border-width:2px}.border-4{border-style:var(--tw-border-style);border-width:4px}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-l-4{border-left-style:var(--tw-border-style);border-left-width:4px}.border-\[\#FFA337\]{border-color:#ffa337}.border-deep-navy\/5{border-color:#0033660d}@supports (color:color-mix(in lab,red,red)){.border-deep-navy\/5{border-color:color-mix(in oklab,var(--color-deep-navy) 5%,transparent)}}.border-deep-navy\/10{border-color:#0033661a}@supports (color:color-mix(in lab,red,red)){.border-deep-navy\/10{border-color:color-mix(in oklab,var(--color-deep-navy) 10%,transparent)}}.border-gray-100\/50{border-color:#f3f4f680}@supports (color:color-mix(in lab,red,red)){.border-gray-100\/50{border-color:color-mix(in oklab,var(--color-gray-100) 50%,transparent)}}.border-vibrant-orange{border-color:var(--color-vibrant-orange)}.border-warm-white{border-color:var(--color-warm-white)}.border-white{border-color:var(--color-white)}.border-white\/5{border-color:#ffffff0d}@supports (color:color-mix(in lab,red,red)){.border-white\/5{border-color:color-mix(in oklab,var(--color-white) 5%,transparent)}}.border-white\/10{border-color:#ffffff1a}@supports (color:color-mix(in lab,red,red)){.border-white\/10{border-color:color-mix(in oklab,var(--color-white) 10%,transparent)}}.border-white\/20{border-color:#fff3}@supports (color:color-mix(in lab,red,red)){.border-white\/20{border-color:color-mix(in oklab,var(--color-white) 20%,transparent)}}.bg-\[\#001D2E\]{background-color:#001d2e}.bg-\[\#FFA337\]{background-color:#ffa337}.bg-\[\#f1f4f9\]{background-color:#f1f4f9}.bg-\[\#f8f6f2\]{background-color:#f8f6f2}.bg-black\/50{background-color:#00000080}@supports (color:color-mix(in lab,red,red)){.bg-black\/50{background-color:color-mix(in oklab,var(--color-black) 50%,transparent)}}.bg-black\/80{background-color:#000c}@supports (color:color-mix(in lab,red,red)){.bg-black\/80{background-color:color-mix(in oklab,var(--color-black) 80%,transparent)}}.bg-black\/90{background-color:#000000e6}@supports (color:color-mix(in lab,red,red)){.bg-black\/90{background-color:color-mix(in oklab,var(--color-black) 90%,transparent)}}.bg-deep-navy{background-color:var(--color-deep-navy)}.bg-deep-navy\/5{background-color:#0033660d}@supports (color:color-mix(in lab,red,red)){.bg-deep-navy\/5{background-color:color-mix(in oklab,var(--color-deep-navy) 5%,transparent)}}.bg-deep-navy\/10{background-color:#0033661a}@supports (color:color-mix(in lab,red,red)){.bg-deep-navy\/10{background-color:color-mix(in oklab,var(--color-deep-navy) 10%,transparent)}}.bg-deep-navy\/80{background-color:#036c}@supports (color:color-mix(in lab,red,red)){.bg-deep-navy\/80{background-color:color-mix(in oklab,var(--color-deep-navy) 80%,transparent)}}.bg-soft-blush{background-color:var(--color-soft-blush)}.bg-transparent{background-color:#0000}.bg-vibrant-orange{background-color:var(--color-vibrant-orange)}.bg-vibrant-orange\/5{background-color:#f392000d}@supports (color:color-mix(in lab,red,red)){.bg-vibrant-orange\/5{background-color:color-mix(in oklab,var(--color-vibrant-orange) 5%,transparent)}}.bg-vibrant-orange\/10{background-color:#f392001a}@supports (color:color-mix(in lab,red,red)){.bg-vibrant-orange\/10{background-color:color-mix(in oklab,var(--color-vibrant-orange) 10%,transparent)}}.bg-warm-white{background-color:var(--color-warm-white)}.bg-white{background-color:var(--color-white)}.bg-white\/10{background-color:#ffffff1a}@supports (color:color-mix(in lab,red,red)){.bg-white\/10{background-color:color-mix(in oklab,var(--color-white) 10%,transparent)}}.bg-white\/20{background-color:#fff3}@supports (color:color-mix(in lab,red,red)){.bg-white\/20{background-color:color-mix(in oklab,var(--color-white) 20%,transparent)}}.bg-gradient-to-b{--tw-gradient-position:to bottom in oklab;background-image:linear-gradient(var(--tw-gradient-stops))}.bg-gradient-to-t{--tw-gradient-position:to top in oklab;background-image:linear-gradient(var(--tw-gradient-stops))}.from-black\/40{--tw-gradient-from:#0006}@supports (color:color-mix(in lab,red,red)){.from-black\/40{--tw-gradient-from:color-mix(in oklab, var(--color-black) 40%, transparent)}}.from-black\/40{--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-deep-navy\/60{--tw-gradient-from:#0369}@supports (color:color-mix(in lab,red,red)){.from-deep-navy\/60{--tw-gradient-from:color-mix(in oklab, var(--color-deep-navy) 60%, transparent)}}.from-deep-navy\/60{--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.via-transparent{--tw-gradient-via:transparent;--tw-gradient-via-stops:var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-via) var(--tw-gradient-via-position), var(--tw-gradient-to) var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-via-stops)}.to-transparent{--tw-gradient-to:transparent;--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.fill-vibrant-orange{fill:var(--color-vibrant-orange)}.object-contain{object-fit:contain}.object-cover{object-fit:cover}.object-center{object-position:center}.p-0\.5{padding:calc(var(--spacing) * .5)}.p-1{padding:calc(var(--spacing) * 1)}.p-2\.5{padding:calc(var(--spacing) * 2.5)}.p-3{padding:calc(var(--spacing) * 3)}.p-3\.5{padding:calc(var(--spacing) * 3.5)}.p-4{padding:calc(var(--spacing) * 4)}.p-6{padding:calc(var(--spacing) * 6)}.p-8{padding:calc(var(--spacing) * 8)}.px-3{padding-inline:calc(var(--spacing) * 3)}.px-4{padding-inline:calc(var(--spacing) * 4)}.px-5{padding-inline:calc(var(--spacing) * 5)}.px-6{padding-inline:calc(var(--spacing) * 6)}.px-8{padding-inline:calc(var(--spacing) * 8)}.px-12{padding-inline:calc(var(--spacing) * 12)}.py-0{padding-block:calc(var(--spacing) * 0)}.py-0\.5{padding-block:calc(var(--spacing) * .5)}.py-1\.5{padding-block:calc(var(--spacing) * 1.5)}.py-2{padding-block:calc(var(--spacing) * 2)}.py-2\.5{padding-block:calc(var(--spacing) * 2.5)}.py-3{padding-block:calc(var(--spacing) * 3)}.py-3\.5{padding-block:calc(var(--spacing) * 3.5)}.py-4{padding-block:calc(var(--spacing) * 4)}.py-12{padding-block:calc(var(--spacing) * 12)}.py-16{padding-block:calc(var(--spacing) * 16)}.py-20{padding-block:calc(var(--spacing) * 20)}.py-24{padding-block:calc(var(--spacing) * 24)}.pt-0\.5{padding-top:calc(var(--spacing) * .5)}.pt-4{padding-top:calc(var(--spacing) * 4)}.pt-6{padding-top:calc(var(--spacing) * 6)}.pt-8{padding-top:calc(var(--spacing) * 8)}.pt-10{padding-top:calc(var(--spacing) * 10)}.pt-20{padding-top:calc(var(--spacing) * 20)}.pr-4{padding-right:calc(var(--spacing) * 4)}.pb-3{padding-bottom:calc(var(--spacing) * 3)}.pb-10{padding-bottom:calc(var(--spacing) * 10)}.pl-3{padding-left:calc(var(--spacing) * 3)}.pl-4{padding-left:calc(var(--spacing) * 4)}.pl-10{padding-left:calc(var(--spacing) * 10)}.text-center{text-align:center}.text-left{text-align:left}.font-display{font-family:var(--font-display)}.font-sans{font-family:var(--font-sans)}.font-serif{font-family:var(--font-serif)}.text-2xl{font-size:var(--text-2xl);line-height:var(--tw-leading,var(--text-2xl--line-height))}.text-3xl{font-size:var(--text-3xl);line-height:var(--tw-leading,var(--text-3xl--line-height))}.text-4xl{font-size:var(--text-4xl);line-height:var(--tw-leading,var(--text-4xl--line-height))}.text-base{font-size:var(--text-base);line-height:var(--tw-leading,var(--text-base--line-height))}.text-lg{font-size:var(--text-lg);line-height:var(--tw-leading,var(--text-lg--line-height))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xl{font-size:var(--text-xl);line-height:var(--tw-leading,var(--text-xl--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.text-\[8px\]{font-size:8px}.text-\[9px\]{font-size:9px}.text-\[10px\]{font-size:10px}.text-\[11px\]{font-size:11px}.text-\[13px\]{font-size:13px}.text-\[15px\]{font-size:15px}.leading-\[1\.1\]{--tw-leading:1.1;line-height:1.1}.leading-\[1\.6\]{--tw-leading:1.6;line-height:1.6}.leading-none{--tw-leading:1;line-height:1}.leading-relaxed{--tw-leading:var(--leading-relaxed);line-height:var(--leading-relaxed)}.leading-tight{--tw-leading:var(--leading-tight);line-height:var(--leading-tight)}.font-black{--tw-font-weight:var(--font-weight-black);font-weight:var(--font-weight-black)}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.tracking-\[0\.2em\]{--tw-tracking:.2em;letter-spacing:.2em}.tracking-\[0\.15em\]{--tw-tracking:.15em;letter-spacing:.15em}.tracking-tighter{--tw-tracking:var(--tracking-tighter);letter-spacing:var(--tracking-tighter)}.tracking-wide{--tw-tracking:var(--tracking-wide);letter-spacing:var(--tracking-wide)}.tracking-wider{--tw-tracking:var(--tracking-wider);letter-spacing:var(--tracking-wider)}.tracking-widest{--tw-tracking:var(--tracking-widest);letter-spacing:var(--tracking-widest)}.whitespace-nowrap{white-space:nowrap}.text-\[\#FFA337\]{color:#ffa337}.text-deep-navy{color:var(--color-deep-navy)}.text-deep-navy\/20{color:#0363}@supports (color:color-mix(in lab,red,red)){.text-deep-navy\/20{color:color-mix(in oklab,var(--color-deep-navy) 20%,transparent)}}.text-deep-navy\/30{color:#0033664d}@supports (color:color-mix(in lab,red,red)){.text-deep-navy\/30{color:color-mix(in oklab,var(--color-deep-navy) 30%,transparent)}}.text-deep-navy\/40{color:#0366}@supports (color:color-mix(in lab,red,red)){.text-deep-navy\/40{color:color-mix(in oklab,var(--color-deep-navy) 40%,transparent)}}.text-deep-navy\/50{color:#00336680}@supports (color:color-mix(in lab,red,red)){.text-deep-navy\/50{color:color-mix(in oklab,var(--color-deep-navy) 50%,transparent)}}.text-deep-navy\/60{color:#0369}@supports (color:color-mix(in lab,red,red)){.text-deep-navy\/60{color:color-mix(in oklab,var(--color-deep-navy) 60%,transparent)}}.text-deep-navy\/70{color:#003366b3}@supports (color:color-mix(in lab,red,red)){.text-deep-navy\/70{color:color-mix(in oklab,var(--color-deep-navy) 70%,transparent)}}.text-deep-navy\/80{color:#036c}@supports (color:color-mix(in lab,red,red)){.text-deep-navy\/80{color:color-mix(in oklab,var(--color-deep-navy) 80%,transparent)}}.text-gray-300{color:var(--color-gray-300)}.text-vibrant-orange{color:var(--color-vibrant-orange)}.text-warm-white{color:var(--color-warm-white)}.text-warm-white\/60{color:#fdfbf799}@supports (color:color-mix(in lab,red,red)){.text-warm-white\/60{color:color-mix(in oklab,var(--color-warm-white) 60%,transparent)}}.text-warm-white\/70{color:#fdfbf7b3}@supports (color:color-mix(in lab,red,red)){.text-warm-white\/70{color:color-mix(in oklab,var(--color-warm-white) 70%,transparent)}}.text-white{color:var(--color-white)}.text-white\/40{color:#fff6}@supports (color:color-mix(in lab,red,red)){.text-white\/40{color:color-mix(in oklab,var(--color-white) 40%,transparent)}}.uppercase{text-transform:uppercase}.italic{font-style:italic}.not-italic{font-style:normal}.opacity-0{opacity:0}.opacity-70{opacity:.7}.opacity-80{opacity:.8}.opacity-90{opacity:.9}.shadow-2xl{--tw-shadow:0 25px 50px -12px var(--tw-shadow-color,#00000040);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-\[0px_8px_40px_-10px_rgba\(0\,51\,102\,0\.08\)\]{--tw-shadow:0px 8px 40px -10px var(--tw-shadow-color,#00336614);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-inner{--tw-shadow:inset 0 2px 4px 0 var(--tw-shadow-color,#0000000d);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-lg{--tw-shadow:0 10px 15px -3px var(--tw-shadow-color,#0000001a), 0 4px 6px -4px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-md{--tw-shadow:0 4px 6px -1px var(--tw-shadow-color,#0000001a), 0 2px 4px -2px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-xl{--tw-shadow:0 20px 25px -5px var(--tw-shadow-color,#0000001a), 0 8px 10px -6px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.blur-\[80px\]{--tw-blur:blur(80px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.blur-\[100px\]{--tw-blur:blur(100px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.brightness-75{--tw-brightness:brightness(75%);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.brightness-100{--tw-brightness:brightness(100%);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.brightness-\[0\.4\]{--tw-brightness:brightness(.4);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.invert{--tw-invert:invert(100%);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.backdrop-blur-\[0\.5px\]{--tw-backdrop-blur:blur(.5px);-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.backdrop-blur-md{--tw-backdrop-blur:blur(var(--blur-md));-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.backdrop-blur-sm{--tw-backdrop-blur:blur(var(--blur-sm));-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-all{transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-opacity{transition-property:opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-transform{transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.duration-200{--tw-duration:.2s;transition-duration:.2s}.duration-300{--tw-duration:.3s;transition-duration:.3s}.duration-500{--tw-duration:.5s;transition-duration:.5s}.duration-700{--tw-duration:.7s;transition-duration:.7s}.outline-none{--tw-outline-style:none;outline-style:none}@media(hover:hover){.group-hover\:visible:is(:where(.group):hover *){visibility:visible}.group-hover\:-translate-y-1:is(:where(.group):hover *){--tw-translate-y:calc(var(--spacing) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.group-hover\:scale-105:is(:where(.group):hover *){--tw-scale-x:105%;--tw-scale-y:105%;--tw-scale-z:105%;scale:var(--tw-scale-x) var(--tw-scale-y)}.group-hover\:opacity-100:is(:where(.group):hover *){opacity:1}.group-hover\/btn\:translate-x-1:is(:where(.group\/btn):hover *){--tw-translate-x:calc(var(--spacing) * 1);translate:var(--tw-translate-x) var(--tw-translate-y)}}.selection\:bg-vibrant-orange\/30 ::selection{background-color:#f392004d}@supports (color:color-mix(in lab,red,red)){.selection\:bg-vibrant-orange\/30 ::selection{background-color:color-mix(in oklab,var(--color-vibrant-orange) 30%,transparent)}}.selection\:bg-vibrant-orange\/30::selection{background-color:#f392004d}@supports (color:color-mix(in lab,red,red)){.selection\:bg-vibrant-orange\/30::selection{background-color:color-mix(in oklab,var(--color-vibrant-orange) 30%,transparent)}}.last\:mb-0:last-child{margin-bottom:calc(var(--spacing) * 0)}.last\:border-0:last-child{border-style:var(--tw-border-style);border-width:0}@media(hover:hover){.hover\:scale-105:hover{--tw-scale-x:105%;--tw-scale-y:105%;--tw-scale-z:105%;scale:var(--tw-scale-x) var(--tw-scale-y)}.hover\:gap-3:hover{gap:calc(var(--spacing) * 3)}.hover\:border-white:hover{border-color:var(--color-white)}.hover\:bg-black\/70:hover{background-color:#000000b3}@supports (color:color-mix(in lab,red,red)){.hover\:bg-black\/70:hover{background-color:color-mix(in oklab,var(--color-black) 70%,transparent)}}.hover\:bg-black\/80:hover{background-color:#000c}@supports (color:color-mix(in lab,red,red)){.hover\:bg-black\/80:hover{background-color:color-mix(in oklab,var(--color-black) 80%,transparent)}}.hover\:bg-deep-navy:hover{background-color:var(--color-deep-navy)}.hover\:bg-deep-navy\/5:hover{background-color:#0033660d}@supports (color:color-mix(in lab,red,red)){.hover\:bg-deep-navy\/5:hover{background-color:color-mix(in oklab,var(--color-deep-navy) 5%,transparent)}}.hover\:bg-deep-navy\/10:hover{background-color:#0033661a}@supports (color:color-mix(in lab,red,red)){.hover\:bg-deep-navy\/10:hover{background-color:color-mix(in oklab,var(--color-deep-navy) 10%,transparent)}}.hover\:bg-vibrant-orange:hover{background-color:var(--color-vibrant-orange)}.hover\:bg-vibrant-orange\/90:hover{background-color:#f39200e6}@supports (color:color-mix(in lab,red,red)){.hover\:bg-vibrant-orange\/90:hover{background-color:color-mix(in oklab,var(--color-vibrant-orange) 90%,transparent)}}.hover\:bg-warm-white:hover{background-color:var(--color-warm-white)}.hover\:bg-white\/10:hover{background-color:#ffffff1a}@supports (color:color-mix(in lab,red,red)){.hover\:bg-white\/10:hover{background-color:color-mix(in oklab,var(--color-white) 10%,transparent)}}.hover\:bg-white\/20:hover{background-color:#fff3}@supports (color:color-mix(in lab,red,red)){.hover\:bg-white\/20:hover{background-color:color-mix(in oklab,var(--color-white) 20%,transparent)}}.hover\:text-\[\#FFA337\]:hover{color:#ffa337}.hover\:text-deep-navy:hover{color:var(--color-deep-navy)}.hover\:text-vibrant-orange:hover{color:var(--color-vibrant-orange)}.hover\:text-white:hover{color:var(--color-white)}.hover\:opacity-80:hover{opacity:.8}.hover\:shadow-\[0px_20px_50px_-10px_rgba\(0\,51\,102\,0\.15\)\]:hover{--tw-shadow:0px 20px 50px -10px var(--tw-shadow-color,#00336626);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.hover\:brightness-110:hover{--tw-brightness:brightness(110%);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}}.active\:scale-90:active{--tw-scale-x:90%;--tw-scale-y:90%;--tw-scale-z:90%;scale:var(--tw-scale-x) var(--tw-scale-y)}.active\:scale-95:active{--tw-scale-x:95%;--tw-scale-y:95%;--tw-scale-z:95%;scale:var(--tw-scale-x) var(--tw-scale-y)}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:opacity-30:disabled{opacity:.3}@media(min-width:40rem){.sm\:block{display:block}.sm\:inline{display:inline}.sm\:w-\[300px\]{width:300px}.sm\:w-auto{width:auto}.sm\:flex-row{flex-direction:row}.sm\:gap-8{gap:calc(var(--spacing) * 8)}.sm\:rounded-\[3rem\]{border-radius:3rem}.sm\:p-16{padding:calc(var(--spacing) * 16)}.sm\:text-5xl{font-size:var(--text-5xl);line-height:var(--tw-leading,var(--text-5xl--line-height))}}@media(min-width:48rem){.md\:top-\[-5\%\]{top:-5%}.md\:top-\[70px\]{top:70px}.md\:top-\[100px\]{top:100px}.md\:left-\[-5\%\]{left:-5%}.md\:-mb-1{margin-bottom:calc(var(--spacing) * -1)}.md\:mb-4{margin-bottom:calc(var(--spacing) * 4)}.md\:mb-8{margin-bottom:calc(var(--spacing) * 8)}.md\:mb-12{margin-bottom:calc(var(--spacing) * 12)}.md\:block{display:block}.md\:grid{display:grid}.md\:hidden{display:none}.md\:h-4\/5{height:80%}.md\:h-12{height:calc(var(--spacing) * 12)}.md\:h-16{height:calc(var(--spacing) * 16)}.md\:h-20{height:calc(var(--spacing) * 20)}.md\:h-\[70px\]{height:70px}.md\:h-\[100px\]{height:100px}.md\:h-\[110\%\]{height:110%}.md\:h-\[280px\]{height:280px}.md\:h-auto{height:auto}.md\:min-h-screen{min-height:100vh}.md\:w-2\/5{width:40%}.md\:w-12{width:calc(var(--spacing) * 12)}.md\:w-16{width:calc(var(--spacing) * 16)}.md\:w-\[100px\]{width:100px}.md\:w-\[110\%\]{width:110%}.md\:w-fit{width:fit-content}.md\:flex-none{flex:none}.md\:flex-row{flex-direction:row}.md\:items-center{align-items:center}.md\:items-end{align-items:flex-end}.md\:gap-3{gap:calc(var(--spacing) * 3)}.md\:gap-4{gap:calc(var(--spacing) * 4)}.md\:gap-6{gap:calc(var(--spacing) * 6)}.md\:gap-12{gap:calc(var(--spacing) * 12)}.md\:rounded-none{border-radius:0}.md\:p-1{padding:calc(var(--spacing) * 1)}.md\:p-1\.5{padding:calc(var(--spacing) * 1.5)}.md\:p-8{padding:calc(var(--spacing) * 8)}.md\:p-12{padding:calc(var(--spacing) * 12)}.md\:p-24{padding:calc(var(--spacing) * 24)}.md\:px-0{padding-inline:calc(var(--spacing) * 0)}.md\:px-6{padding-inline:calc(var(--spacing) * 6)}.md\:px-8{padding-inline:calc(var(--spacing) * 8)}.md\:px-12{padding-inline:calc(var(--spacing) * 12)}.md\:py-0{padding-block:calc(var(--spacing) * 0)}.md\:py-2\.5{padding-block:calc(var(--spacing) * 2.5)}.md\:py-5{padding-block:calc(var(--spacing) * 5)}.md\:py-32{padding-block:calc(var(--spacing) * 32)}.md\:text-2xl{font-size:var(--text-2xl);line-height:var(--tw-leading,var(--text-2xl--line-height))}.md\:text-4xl{font-size:var(--text-4xl);line-height:var(--tw-leading,var(--text-4xl--line-height))}.md\:text-5xl{font-size:var(--text-5xl);line-height:var(--tw-leading,var(--text-5xl--line-height))}.md\:text-6xl{font-size:var(--text-6xl);line-height:var(--tw-leading,var(--text-6xl--line-height))}.md\:text-7xl{font-size:var(--text-7xl);line-height:var(--tw-leading,var(--text-7xl--line-height))}.md\:text-base{font-size:var(--text-base);line-height:var(--tw-leading,var(--text-base--line-height))}.md\:text-lg{font-size:var(--text-lg);line-height:var(--tw-leading,var(--text-lg--line-height))}.md\:text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.md\:text-xl{font-size:var(--text-xl);line-height:var(--tw-leading,var(--text-xl--line-height))}.md\:text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.md\:text-\[11px\]{font-size:11px}.md\:text-\[13px\]{font-size:13px}.md\:text-\[15px\]{font-size:15px}.md\:leading-\[1\.45\]{--tw-leading:1.45;line-height:1.45}.md\:tracking-\[0\.3em\]{--tw-tracking:.3em;letter-spacing:.3em}}@media(min-width:64rem){.lg\:right-\[-60px\]{right:-60px}.lg\:left-\[-60px\]{left:-60px}.lg\:order-1{order:1}.lg\:order-2{order:2}.lg\:w-auto{width:auto}.lg\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.lg\:flex-row{flex-direction:row}.lg\:gap-6{gap:calc(var(--spacing) * 6)}.lg\:rounded-\[2rem\]{border-radius:2rem}.lg\:p-8{padding:calc(var(--spacing) * 8)}.lg\:text-left{text-align:left}}@media(min-width:80rem){.xl\:flex{display:flex}.xl\:hidden{display:none}.xl\:grid-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}}.no-scrollbar::-webkit-scrollbar{display:none}.no-scrollbar{-ms-overflow-style:none;scrollbar-width:none}}.font-dyslexic{font-family:var(--font-dyslexic)}.theme-high-contrast{--color-deep-navy:#000;--color-vibrant-orange:#ff0;--color-warm-white:#fff;--color-soft-blush:#000;color:#fff;background-color:#000}.theme-high-contrast .bg-white{background-color:#000;border-color:#fff}.theme-high-contrast text-deep-navy{color:#fff}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@property --tw-scale-x{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-y{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-z{syntax:"*";inherits:false;initial-value:1}@property --tw-space-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-gradient-position{syntax:"*";inherits:false}@property --tw-gradient-from{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-via{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-to{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-stops{syntax:"*";inherits:false}@property --tw-gradient-via-stops{syntax:"*";inherits:false}@property --tw-gradient-from-position{syntax:"<length-percentage>";inherits:false;initial-value:0%}@property --tw-gradient-via-position{syntax:"<length-percentage>";inherits:false;initial-value:50%}@property --tw-gradient-to-position{syntax:"<length-percentage>";inherits:false;initial-value:100%}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-tracking{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-backdrop-blur{syntax:"*";inherits:false}@property --tw-backdrop-brightness{syntax:"*";inherits:false}@property --tw-backdrop-contrast{syntax:"*";inherits:false}@property --tw-backdrop-grayscale{syntax:"*";inherits:false}@property --tw-backdrop-hue-rotate{syntax:"*";inherits:false}@property --tw-backdrop-invert{syntax:"*";inherits:false}@property --tw-backdrop-opacity{syntax:"*";inherits:false}@property --tw-backdrop-saturate{syntax:"*";inherits:false}@property --tw-backdrop-sepia{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}</style>
  </head>
  <body>
    <div id="root"></div>
  </body>
</html>/* End custom CSS */