(function(){const i=document.createElement("link").relList;if(i&&i.supports&&i.supports("modulepreload"))return;for(const u of document.querySelectorAll('link[rel="modulepreload"]'))r(u);new MutationObserver(u=>{for(const d of u)if(d.type==="childList")for(const f of d.addedNodes)f.tagName==="LINK"&&f.rel==="modulepreload"&&r(f)}).observe(document,{childList:!0,subtree:!0});function s(u){const d={};return u.integrity&&(d.integrity=u.integrity),u.referrerPolicy&&(d.referrerPolicy=u.referrerPolicy),u.crossOrigin==="use-credentials"?d.credentials="include":u.crossOrigin==="anonymous"?d.credentials="omit":d.credentials="same-origin",d}function r(u){if(u.ep)return;u.ep=!0;const d=s(u);fetch(u.href,d)}})();function m2(a){return a&&a.__esModule&&Object.prototype.hasOwnProperty.call(a,"default")?a.default:a}var ku={exports:{}},pl={};/**
 * @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 hp;function p2(){if(hp)return pl;hp=1;var a=Symbol.for("react.transitional.element"),i=Symbol.for("react.fragment");function s(r,u,d){var f=null;if(d!==void 0&&(f=""+d),u.key!==void 0&&(f=""+u.key),"key"in u){d={};for(var y in u)y!=="key"&&(d[y]=u[y])}else d=u;return u=d.ref,{$$typeof:a,type:r,key:f,ref:u!==void 0?u:null,props:d}}return pl.Fragment=i,pl.jsx=s,pl.jsxs=s,pl}var mp;function g2(){return mp||(mp=1,ku.exports=p2()),ku.exports}var h=g2(),Xu={exports:{}},rt={};/**
 * @license React
 * react.production.js
 *
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var pp;function y2(){if(pp)return rt;pp=1;var a=Symbol.for("react.transitional.element"),i=Symbol.for("react.portal"),s=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),u=Symbol.for("react.profiler"),d=Symbol.for("react.consumer"),f=Symbol.for("react.context"),y=Symbol.for("react.forward_ref"),m=Symbol.for("react.suspense"),p=Symbol.for("react.memo"),v=Symbol.for("react.lazy"),b=Symbol.iterator;function S(E){return E===null||typeof E!="object"?null:(E=b&&E[b]||E["@@iterator"],typeof E=="function"?E:null)}var R={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},N=Object.assign,z={};function _(E,Y,K){this.props=E,this.context=Y,this.refs=z,this.updater=K||R}_.prototype.isReactComponent={},_.prototype.setState=function(E,Y){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,Y,"setState")},_.prototype.forceUpdate=function(E){this.updater.enqueueForceUpdate(this,E,"forceUpdate")};function V(){}V.prototype=_.prototype;function G(E,Y,K){this.props=E,this.context=Y,this.refs=z,this.updater=K||R}var q=G.prototype=new V;q.constructor=G,N(q,_.prototype),q.isPureReactComponent=!0;var F=Array.isArray,P={H:null,A:null,T:null,S:null,V:null},W=Object.prototype.hasOwnProperty;function I(E,Y,K,X,tt,mt){return K=mt.ref,{$$typeof:a,type:E,key:Y,ref:K!==void 0?K:null,props:mt}}function Z(E,Y){return I(E.type,Y,void 0,void 0,void 0,E.props)}function st(E){return typeof E=="object"&&E!==null&&E.$$typeof===a}function vt(E){var Y={"=":"=0",":":"=2"};return"$"+E.replace(/[=:]/g,function(K){return Y[K]})}var Lt=/\/+/g;function Pt(E,Y){return typeof E=="object"&&E!==null&&E.key!=null?vt(""+E.key):Y.toString(36)}function Ie(){}function qe(E){switch(E.status){case"fulfilled":return E.value;case"rejected":throw E.reason;default:switch(typeof E.status=="string"?E.then(Ie,Ie):(E.status="pending",E.then(function(Y){E.status==="pending"&&(E.status="fulfilled",E.value=Y)},function(Y){E.status==="pending"&&(E.status="rejected",E.reason=Y)})),E.status){case"fulfilled":return E.value;case"rejected":throw E.reason}}throw E}function Ft(E,Y,K,X,tt){var mt=typeof E;(mt==="undefined"||mt==="boolean")&&(E=null);var lt=!1;if(E===null)lt=!0;else switch(mt){case"bigint":case"string":case"number":lt=!0;break;case"object":switch(E.$$typeof){case a:case i:lt=!0;break;case v:return lt=E._init,Ft(lt(E._payload),Y,K,X,tt)}}if(lt)return tt=tt(E),lt=X===""?"."+Pt(E,0):X,F(tt)?(K="",lt!=null&&(K=lt.replace(Lt,"$&/")+"/"),Ft(tt,Y,K,"",function(Sn){return Sn})):tt!=null&&(st(tt)&&(tt=Z(tt,K+(tt.key==null||E&&E.key===tt.key?"":(""+tt.key).replace(Lt,"$&/")+"/")+lt)),Y.push(tt)),1;lt=0;var me=X===""?".":X+":";if(F(E))for(var Mt=0;Mt<E.length;Mt++)X=E[Mt],mt=me+Pt(X,Mt),lt+=Ft(X,Y,K,mt,tt);else if(Mt=S(E),typeof Mt=="function")for(E=Mt.call(E),Mt=0;!(X=E.next()).done;)X=X.value,mt=me+Pt(X,Mt++),lt+=Ft(X,Y,K,mt,tt);else if(mt==="object"){if(typeof E.then=="function")return Ft(qe(E),Y,K,X,tt);throw Y=String(E),Error("Objects are not valid as a React child (found: "+(Y==="[object Object]"?"object with keys {"+Object.keys(E).join(", ")+"}":Y)+"). If you meant to render a collection of children, use an array instead.")}return lt}function B(E,Y,K){if(E==null)return E;var X=[],tt=0;return Ft(E,X,"","",function(mt){return Y.call(K,mt,tt++)}),X}function k(E){if(E._status===-1){var Y=E._result;Y=Y(),Y.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=Y)}if(E._status===1)return E._result.default;throw E._result}var J=typeof reportError=="function"?reportError:function(E){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var Y=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(Y))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",E);return}console.error(E)};function gt(){}return rt.Children={map:B,forEach:function(E,Y,K){B(E,function(){Y.apply(this,arguments)},K)},count:function(E){var Y=0;return B(E,function(){Y++}),Y},toArray:function(E){return B(E,function(Y){return Y})||[]},only:function(E){if(!st(E))throw Error("React.Children.only expected to receive a single React element child.");return E}},rt.Component=_,rt.Fragment=s,rt.Profiler=u,rt.PureComponent=G,rt.StrictMode=r,rt.Suspense=m,rt.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=P,rt.__COMPILER_RUNTIME={__proto__:null,c:function(E){return P.H.useMemoCache(E)}},rt.cache=function(E){return function(){return E.apply(null,arguments)}},rt.cloneElement=function(E,Y,K){if(E==null)throw Error("The argument must be a React element, but you passed "+E+".");var X=N({},E.props),tt=E.key,mt=void 0;if(Y!=null)for(lt in Y.ref!==void 0&&(mt=void 0),Y.key!==void 0&&(tt=""+Y.key),Y)!W.call(Y,lt)||lt==="key"||lt==="__self"||lt==="__source"||lt==="ref"&&Y.ref===void 0||(X[lt]=Y[lt]);var lt=arguments.length-2;if(lt===1)X.children=K;else if(1<lt){for(var me=Array(lt),Mt=0;Mt<lt;Mt++)me[Mt]=arguments[Mt+2];X.children=me}return I(E.type,tt,void 0,void 0,mt,X)},rt.createContext=function(E){return E={$$typeof:f,_currentValue:E,_currentValue2:E,_threadCount:0,Provider:null,Consumer:null},E.Provider=E,E.Consumer={$$typeof:d,_context:E},E},rt.createElement=function(E,Y,K){var X,tt={},mt=null;if(Y!=null)for(X in Y.key!==void 0&&(mt=""+Y.key),Y)W.call(Y,X)&&X!=="key"&&X!=="__self"&&X!=="__source"&&(tt[X]=Y[X]);var lt=arguments.length-2;if(lt===1)tt.children=K;else if(1<lt){for(var me=Array(lt),Mt=0;Mt<lt;Mt++)me[Mt]=arguments[Mt+2];tt.children=me}if(E&&E.defaultProps)for(X in lt=E.defaultProps,lt)tt[X]===void 0&&(tt[X]=lt[X]);return I(E,mt,void 0,void 0,null,tt)},rt.createRef=function(){return{current:null}},rt.forwardRef=function(E){return{$$typeof:y,render:E}},rt.isValidElement=st,rt.lazy=function(E){return{$$typeof:v,_payload:{_status:-1,_result:E},_init:k}},rt.memo=function(E,Y){return{$$typeof:p,type:E,compare:Y===void 0?null:Y}},rt.startTransition=function(E){var Y=P.T,K={};P.T=K;try{var X=E(),tt=P.S;tt!==null&&tt(K,X),typeof X=="object"&&X!==null&&typeof X.then=="function"&&X.then(gt,J)}catch(mt){J(mt)}finally{P.T=Y}},rt.unstable_useCacheRefresh=function(){return P.H.useCacheRefresh()},rt.use=function(E){return P.H.use(E)},rt.useActionState=function(E,Y,K){return P.H.useActionState(E,Y,K)},rt.useCallback=function(E,Y){return P.H.useCallback(E,Y)},rt.useContext=function(E){return P.H.useContext(E)},rt.useDebugValue=function(){},rt.useDeferredValue=function(E,Y){return P.H.useDeferredValue(E,Y)},rt.useEffect=function(E,Y,K){var X=P.H;if(typeof K=="function")throw Error("useEffect CRUD overload is not enabled in this build of React.");return X.useEffect(E,Y)},rt.useId=function(){return P.H.useId()},rt.useImperativeHandle=function(E,Y,K){return P.H.useImperativeHandle(E,Y,K)},rt.useInsertionEffect=function(E,Y){return P.H.useInsertionEffect(E,Y)},rt.useLayoutEffect=function(E,Y){return P.H.useLayoutEffect(E,Y)},rt.useMemo=function(E,Y){return P.H.useMemo(E,Y)},rt.useOptimistic=function(E,Y){return P.H.useOptimistic(E,Y)},rt.useReducer=function(E,Y,K){return P.H.useReducer(E,Y,K)},rt.useRef=function(E){return P.H.useRef(E)},rt.useState=function(E){return P.H.useState(E)},rt.useSyncExternalStore=function(E,Y,K){return P.H.useSyncExternalStore(E,Y,K)},rt.useTransition=function(){return P.H.useTransition()},rt.version="19.1.1",rt}var gp;function zc(){return gp||(gp=1,Xu.exports=y2()),Xu.exports}var j=zc();const va=m2(j);var Ku={exports:{}},gl={},Qu={exports:{}},Zu={};/**
 * @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 yp;function v2(){return yp||(yp=1,function(a){function i(B,k){var J=B.length;B.push(k);t:for(;0<J;){var gt=J-1>>>1,E=B[gt];if(0<u(E,k))B[gt]=k,B[J]=E,J=gt;else break t}}function s(B){return B.length===0?null:B[0]}function r(B){if(B.length===0)return null;var k=B[0],J=B.pop();if(J!==k){B[0]=J;t:for(var gt=0,E=B.length,Y=E>>>1;gt<Y;){var K=2*(gt+1)-1,X=B[K],tt=K+1,mt=B[tt];if(0>u(X,J))tt<E&&0>u(mt,X)?(B[gt]=mt,B[tt]=J,gt=tt):(B[gt]=X,B[K]=J,gt=K);else if(tt<E&&0>u(mt,J))B[gt]=mt,B[tt]=J,gt=tt;else break t}}return k}function u(B,k){var J=B.sortIndex-k.sortIndex;return J!==0?J:B.id-k.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 f=Date,y=f.now();a.unstable_now=function(){return f.now()-y}}var m=[],p=[],v=1,b=null,S=3,R=!1,N=!1,z=!1,_=!1,V=typeof setTimeout=="function"?setTimeout:null,G=typeof clearTimeout=="function"?clearTimeout:null,q=typeof setImmediate<"u"?setImmediate:null;function F(B){for(var k=s(p);k!==null;){if(k.callback===null)r(p);else if(k.startTime<=B)r(p),k.sortIndex=k.expirationTime,i(m,k);else break;k=s(p)}}function P(B){if(z=!1,F(B),!N)if(s(m)!==null)N=!0,W||(W=!0,Pt());else{var k=s(p);k!==null&&Ft(P,k.startTime-B)}}var W=!1,I=-1,Z=5,st=-1;function vt(){return _?!0:!(a.unstable_now()-st<Z)}function Lt(){if(_=!1,W){var B=a.unstable_now();st=B;var k=!0;try{t:{N=!1,z&&(z=!1,G(I),I=-1),R=!0;var J=S;try{e:{for(F(B),b=s(m);b!==null&&!(b.expirationTime>B&&vt());){var gt=b.callback;if(typeof gt=="function"){b.callback=null,S=b.priorityLevel;var E=gt(b.expirationTime<=B);if(B=a.unstable_now(),typeof E=="function"){b.callback=E,F(B),k=!0;break e}b===s(m)&&r(m),F(B)}else r(m);b=s(m)}if(b!==null)k=!0;else{var Y=s(p);Y!==null&&Ft(P,Y.startTime-B),k=!1}}break t}finally{b=null,S=J,R=!1}k=void 0}}finally{k?Pt():W=!1}}}var Pt;if(typeof q=="function")Pt=function(){q(Lt)};else if(typeof MessageChannel<"u"){var Ie=new MessageChannel,qe=Ie.port2;Ie.port1.onmessage=Lt,Pt=function(){qe.postMessage(null)}}else Pt=function(){V(Lt,0)};function Ft(B,k){I=V(function(){B(a.unstable_now())},k)}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(B){B.callback=null},a.unstable_forceFrameRate=function(B){0>B||125<B?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):Z=0<B?Math.floor(1e3/B):5},a.unstable_getCurrentPriorityLevel=function(){return S},a.unstable_next=function(B){switch(S){case 1:case 2:case 3:var k=3;break;default:k=S}var J=S;S=k;try{return B()}finally{S=J}},a.unstable_requestPaint=function(){_=!0},a.unstable_runWithPriority=function(B,k){switch(B){case 1:case 2:case 3:case 4:case 5:break;default:B=3}var J=S;S=B;try{return k()}finally{S=J}},a.unstable_scheduleCallback=function(B,k,J){var gt=a.unstable_now();switch(typeof J=="object"&&J!==null?(J=J.delay,J=typeof J=="number"&&0<J?gt+J:gt):J=gt,B){case 1:var E=-1;break;case 2:E=250;break;case 5:E=1073741823;break;case 4:E=1e4;break;default:E=5e3}return E=J+E,B={id:v++,callback:k,priorityLevel:B,startTime:J,expirationTime:E,sortIndex:-1},J>gt?(B.sortIndex=J,i(p,B),s(m)===null&&B===s(p)&&(z?(G(I),I=-1):z=!0,Ft(P,J-gt))):(B.sortIndex=E,i(m,B),N||R||(N=!0,W||(W=!0,Pt()))),B},a.unstable_shouldYield=vt,a.unstable_wrapCallback=function(B){var k=S;return function(){var J=S;S=k;try{return B.apply(this,arguments)}finally{S=J}}}}(Zu)),Zu}var vp;function x2(){return vp||(vp=1,Qu.exports=v2()),Qu.exports}var Fu={exports:{}},ne={};/**
 * @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 xp;function b2(){if(xp)return ne;xp=1;var a=zc();function i(m){var p="https://react.dev/errors/"+m;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 #"+m+"; visit "+p+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function s(){}var r={d:{f:s,r:function(){throw Error(i(522))},D:s,C:s,L:s,m:s,X:s,S:s,M:s},p:0,findDOMNode:null},u=Symbol.for("react.portal");function d(m,p,v){var b=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:u,key:b==null?null:""+b,children:m,containerInfo:p,implementation:v}}var f=a.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function y(m,p){if(m==="font")return"";if(typeof p=="string")return p==="use-credentials"?p:""}return ne.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=r,ne.createPortal=function(m,p){var v=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!p||p.nodeType!==1&&p.nodeType!==9&&p.nodeType!==11)throw Error(i(299));return d(m,p,null,v)},ne.flushSync=function(m){var p=f.T,v=r.p;try{if(f.T=null,r.p=2,m)return m()}finally{f.T=p,r.p=v,r.d.f()}},ne.preconnect=function(m,p){typeof m=="string"&&(p?(p=p.crossOrigin,p=typeof p=="string"?p==="use-credentials"?p:"":void 0):p=null,r.d.C(m,p))},ne.prefetchDNS=function(m){typeof m=="string"&&r.d.D(m)},ne.preinit=function(m,p){if(typeof m=="string"&&p&&typeof p.as=="string"){var v=p.as,b=y(v,p.crossOrigin),S=typeof p.integrity=="string"?p.integrity:void 0,R=typeof p.fetchPriority=="string"?p.fetchPriority:void 0;v==="style"?r.d.S(m,typeof p.precedence=="string"?p.precedence:void 0,{crossOrigin:b,integrity:S,fetchPriority:R}):v==="script"&&r.d.X(m,{crossOrigin:b,integrity:S,fetchPriority:R,nonce:typeof p.nonce=="string"?p.nonce:void 0})}},ne.preinitModule=function(m,p){if(typeof m=="string")if(typeof p=="object"&&p!==null){if(p.as==null||p.as==="script"){var v=y(p.as,p.crossOrigin);r.d.M(m,{crossOrigin:v,integrity:typeof p.integrity=="string"?p.integrity:void 0,nonce:typeof p.nonce=="string"?p.nonce:void 0})}}else p==null&&r.d.M(m)},ne.preload=function(m,p){if(typeof m=="string"&&typeof p=="object"&&p!==null&&typeof p.as=="string"){var v=p.as,b=y(v,p.crossOrigin);r.d.L(m,v,{crossOrigin:b,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})}},ne.preloadModule=function(m,p){if(typeof m=="string")if(p){var v=y(p.as,p.crossOrigin);r.d.m(m,{as:typeof p.as=="string"&&p.as!=="script"?p.as:void 0,crossOrigin:v,integrity:typeof p.integrity=="string"?p.integrity:void 0})}else r.d.m(m)},ne.requestFormReset=function(m){r.d.r(m)},ne.unstable_batchedUpdates=function(m,p){return m(p)},ne.useFormState=function(m,p,v){return f.H.useFormState(m,p,v)},ne.useFormStatus=function(){return f.H.useHostTransitionStatus()},ne.version="19.1.1",ne}var bp;function S2(){if(bp)return Fu.exports;bp=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(i){console.error(i)}}return a(),Fu.exports=b2(),Fu.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 Sp;function T2(){if(Sp)return gl;Sp=1;var a=x2(),i=zc(),s=S2();function r(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 u(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 f(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 y(t){if(d(t)!==t)throw Error(r(188))}function m(t){var e=t.alternate;if(!e){if(e=d(t),e===null)throw Error(r(188));return e!==t?null:t}for(var n=t,l=e;;){var o=n.return;if(o===null)break;var c=o.alternate;if(c===null){if(l=o.return,l!==null){n=l;continue}break}if(o.child===c.child){for(c=o.child;c;){if(c===n)return y(o),t;if(c===l)return y(o),e;c=c.sibling}throw Error(r(188))}if(n.return!==l.return)n=o,l=c;else{for(var g=!1,x=o.child;x;){if(x===n){g=!0,n=o,l=c;break}if(x===l){g=!0,l=o,n=c;break}x=x.sibling}if(!g){for(x=c.child;x;){if(x===n){g=!0,n=c,l=o;break}if(x===l){g=!0,l=c,n=o;break}x=x.sibling}if(!g)throw Error(r(189))}}if(n.alternate!==l)throw Error(r(190))}if(n.tag!==3)throw Error(r(188));return n.stateNode.current===n?t:e}function p(t){var e=t.tag;if(e===5||e===26||e===27||e===6)return t;for(t=t.child;t!==null;){if(e=p(t),e!==null)return e;t=t.sibling}return null}var v=Object.assign,b=Symbol.for("react.element"),S=Symbol.for("react.transitional.element"),R=Symbol.for("react.portal"),N=Symbol.for("react.fragment"),z=Symbol.for("react.strict_mode"),_=Symbol.for("react.profiler"),V=Symbol.for("react.provider"),G=Symbol.for("react.consumer"),q=Symbol.for("react.context"),F=Symbol.for("react.forward_ref"),P=Symbol.for("react.suspense"),W=Symbol.for("react.suspense_list"),I=Symbol.for("react.memo"),Z=Symbol.for("react.lazy"),st=Symbol.for("react.activity"),vt=Symbol.for("react.memo_cache_sentinel"),Lt=Symbol.iterator;function Pt(t){return t===null||typeof t!="object"?null:(t=Lt&&t[Lt]||t["@@iterator"],typeof t=="function"?t:null)}var Ie=Symbol.for("react.client.reference");function qe(t){if(t==null)return null;if(typeof t=="function")return t.$$typeof===Ie?null:t.displayName||t.name||null;if(typeof t=="string")return t;switch(t){case N:return"Fragment";case _:return"Profiler";case z:return"StrictMode";case P:return"Suspense";case W:return"SuspenseList";case st:return"Activity"}if(typeof t=="object")switch(t.$$typeof){case R:return"Portal";case q:return(t.displayName||"Context")+".Provider";case G:return(t._context.displayName||"Context")+".Consumer";case F:var e=t.render;return t=t.displayName,t||(t=e.displayName||e.name||"",t=t!==""?"ForwardRef("+t+")":"ForwardRef"),t;case I:return e=t.displayName||null,e!==null?e:qe(t.type)||"Memo";case Z:e=t._payload,t=t._init;try{return qe(t(e))}catch{}}return null}var Ft=Array.isArray,B=i.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,k=s.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,J={pending:!1,data:null,method:null,action:null},gt=[],E=-1;function Y(t){return{current:t}}function K(t){0>E||(t.current=gt[E],gt[E]=null,E--)}function X(t,e){E++,gt[E]=t.current,t.current=e}var tt=Y(null),mt=Y(null),lt=Y(null),me=Y(null);function Mt(t,e){switch(X(lt,e),X(mt,t),X(tt,null),e.nodeType){case 9:case 11:t=(t=e.documentElement)&&(t=t.namespaceURI)?Ym(t):0;break;default:if(t=e.tagName,e=e.namespaceURI)e=Ym(e),t=Pm(e,t);else switch(t){case"svg":t=1;break;case"math":t=2;break;default:t=0}}K(tt),X(tt,t)}function Sn(){K(tt),K(mt),K(lt)}function Dr(t){t.memoizedState!==null&&X(me,t);var e=tt.current,n=Pm(e,t.type);e!==n&&(X(mt,t),X(tt,n))}function Yl(t){mt.current===t&&(K(tt),K(mt)),me.current===t&&(K(me),cl._currentValue=J)}var Cr=Object.prototype.hasOwnProperty,wr=a.unstable_scheduleCallback,Nr=a.unstable_cancelCallback,K0=a.unstable_shouldYield,Q0=a.unstable_requestPaint,Ye=a.unstable_now,Z0=a.unstable_getCurrentPriorityLevel,Sf=a.unstable_ImmediatePriority,Tf=a.unstable_UserBlockingPriority,Pl=a.unstable_NormalPriority,F0=a.unstable_LowPriority,jf=a.unstable_IdlePriority,J0=a.log,$0=a.unstable_setDisableYieldValue,vi=null,pe=null;function Tn(t){if(typeof J0=="function"&&$0(t),pe&&typeof pe.setStrictMode=="function")try{pe.setStrictMode(vi,t)}catch{}}var ge=Math.clz32?Math.clz32:tv,W0=Math.log,I0=Math.LN2;function tv(t){return t>>>=0,t===0?32:31-(W0(t)/I0|0)|0}var Gl=256,kl=4194304;function Jn(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:case 262144:case 524288:case 1048576:case 2097152:return t&4194048;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 Xl(t,e,n){var l=t.pendingLanes;if(l===0)return 0;var o=0,c=t.suspendedLanes,g=t.pingedLanes;t=t.warmLanes;var x=l&134217727;return x!==0?(l=x&~c,l!==0?o=Jn(l):(g&=x,g!==0?o=Jn(g):n||(n=x&~t,n!==0&&(o=Jn(n))))):(x=l&~c,x!==0?o=Jn(x):g!==0?o=Jn(g):n||(n=l&~t,n!==0&&(o=Jn(n)))),o===0?0:e!==0&&e!==o&&(e&c)===0&&(c=o&-o,n=e&-e,c>=n||c===32&&(n&4194048)!==0)?e:o}function xi(t,e){return(t.pendingLanes&~(t.suspendedLanes&~t.pingedLanes)&e)===0}function ev(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 Ef(){var t=Gl;return Gl<<=1,(Gl&4194048)===0&&(Gl=256),t}function Af(){var t=kl;return kl<<=1,(kl&62914560)===0&&(kl=4194304),t}function Or(t){for(var e=[],n=0;31>n;n++)e.push(t);return e}function bi(t,e){t.pendingLanes|=e,e!==268435456&&(t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0)}function nv(t,e,n,l,o,c){var g=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 x=t.entanglements,T=t.expirationTimes,C=t.hiddenUpdates;for(n=g&~n;0<n;){var L=31-ge(n),H=1<<L;x[L]=0,T[L]=-1;var w=C[L];if(w!==null)for(C[L]=null,L=0;L<w.length;L++){var O=w[L];O!==null&&(O.lane&=-536870913)}n&=~H}l!==0&&Mf(t,l,0),c!==0&&o===0&&t.tag!==0&&(t.suspendedLanes|=c&~(g&~e))}function Mf(t,e,n){t.pendingLanes|=e,t.suspendedLanes&=~e;var l=31-ge(e);t.entangledLanes|=e,t.entanglements[l]=t.entanglements[l]|1073741824|n&4194090}function Rf(t,e){var n=t.entangledLanes|=e;for(t=t.entanglements;n;){var l=31-ge(n),o=1<<l;o&e|t[l]&e&&(t[l]|=e),n&=~o}}function Vr(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 zr(t){return t&=-t,2<t?8<t?(t&134217727)!==0?32:268435456:8:2}function Df(){var t=k.p;return t!==0?t:(t=window.event,t===void 0?32:rp(t.type))}function av(t,e){var n=k.p;try{return k.p=t,e()}finally{k.p=n}}var jn=Math.random().toString(36).slice(2),te="__reactFiber$"+jn,oe="__reactProps$"+jn,Sa="__reactContainer$"+jn,Lr="__reactEvents$"+jn,iv="__reactListeners$"+jn,lv="__reactHandles$"+jn,Cf="__reactResources$"+jn,Si="__reactMarker$"+jn;function Br(t){delete t[te],delete t[oe],delete t[Lr],delete t[iv],delete t[lv]}function Ta(t){var e=t[te];if(e)return e;for(var n=t.parentNode;n;){if(e=n[Sa]||n[te]){if(n=e.alternate,e.child!==null||n!==null&&n.child!==null)for(t=Km(t);t!==null;){if(n=t[te])return n;t=Km(t)}return e}t=n,n=t.parentNode}return null}function ja(t){if(t=t[te]||t[Sa]){var e=t.tag;if(e===5||e===6||e===13||e===26||e===27||e===3)return t}return null}function Ti(t){var e=t.tag;if(e===5||e===26||e===27||e===6)return t.stateNode;throw Error(r(33))}function Ea(t){var e=t[Cf];return e||(e=t[Cf]={hoistableStyles:new Map,hoistableScripts:new Map}),e}function Xt(t){t[Si]=!0}var wf=new Set,Nf={};function $n(t,e){Aa(t,e),Aa(t+"Capture",e)}function Aa(t,e){for(Nf[t]=e,t=0;t<e.length;t++)wf.add(e[t])}var sv=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]*$"),Of={},Vf={};function rv(t){return Cr.call(Vf,t)?!0:Cr.call(Of,t)?!1:sv.test(t)?Vf[t]=!0:(Of[t]=!0,!1)}function Kl(t,e,n){if(rv(e))if(n===null)t.removeAttribute(e);else{switch(typeof n){case"undefined":case"function":case"symbol":t.removeAttribute(e);return;case"boolean":var l=e.toLowerCase().slice(0,5);if(l!=="data-"&&l!=="aria-"){t.removeAttribute(e);return}}t.setAttribute(e,""+n)}}function Ql(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 tn(t,e,n,l){if(l===null)t.removeAttribute(n);else{switch(typeof l){case"undefined":case"function":case"symbol":case"boolean":t.removeAttribute(n);return}t.setAttributeNS(e,n,""+l)}}var Ur,zf;function Ma(t){if(Ur===void 0)try{throw Error()}catch(n){var e=n.stack.trim().match(/\n( *(at )?)/);Ur=e&&e[1]||"",zf=-1<n.stack.indexOf(`
    at`)?" (<anonymous>)":-1<n.stack.indexOf("@")?"@unknown:0:0":""}return`
`+Ur+t+zf}var _r=!1;function Hr(t,e){if(!t||_r)return"";_r=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var l={DetermineComponentFrameRoot:function(){try{if(e){var H=function(){throw Error()};if(Object.defineProperty(H.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(H,[])}catch(O){var w=O}Reflect.construct(t,[],H)}else{try{H.call()}catch(O){w=O}t.call(H.prototype)}}else{try{throw Error()}catch(O){w=O}(H=t())&&typeof H.catch=="function"&&H.catch(function(){})}}catch(O){if(O&&w&&typeof O.stack=="string")return[O.stack,w.stack]}return[null,null]}};l.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var o=Object.getOwnPropertyDescriptor(l.DetermineComponentFrameRoot,"name");o&&o.configurable&&Object.defineProperty(l.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var c=l.DetermineComponentFrameRoot(),g=c[0],x=c[1];if(g&&x){var T=g.split(`
`),C=x.split(`
`);for(o=l=0;l<T.length&&!T[l].includes("DetermineComponentFrameRoot");)l++;for(;o<C.length&&!C[o].includes("DetermineComponentFrameRoot");)o++;if(l===T.length||o===C.length)for(l=T.length-1,o=C.length-1;1<=l&&0<=o&&T[l]!==C[o];)o--;for(;1<=l&&0<=o;l--,o--)if(T[l]!==C[o]){if(l!==1||o!==1)do if(l--,o--,0>o||T[l]!==C[o]){var L=`
`+T[l].replace(" at new "," at ");return t.displayName&&L.includes("<anonymous>")&&(L=L.replace("<anonymous>",t.displayName)),L}while(1<=l&&0<=o);break}}}finally{_r=!1,Error.prepareStackTrace=n}return(n=t?t.displayName||t.name:"")?Ma(n):""}function ov(t){switch(t.tag){case 26:case 27:case 5:return Ma(t.type);case 16:return Ma("Lazy");case 13:return Ma("Suspense");case 19:return Ma("SuspenseList");case 0:case 15:return Hr(t.type,!1);case 11:return Hr(t.type.render,!1);case 1:return Hr(t.type,!0);case 31:return Ma("Activity");default:return""}}function Lf(t){try{var e="";do e+=ov(t),t=t.return;while(t);return e}catch(n){return`
Error generating stack: `+n.message+`
`+n.stack}}function Ee(t){switch(typeof t){case"bigint":case"boolean":case"number":case"string":case"undefined":return t;case"object":return t;default:return""}}function Bf(t){var e=t.type;return(t=t.nodeName)&&t.toLowerCase()==="input"&&(e==="checkbox"||e==="radio")}function uv(t){var e=Bf(t)?"checked":"value",n=Object.getOwnPropertyDescriptor(t.constructor.prototype,e),l=""+t[e];if(!t.hasOwnProperty(e)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var o=n.get,c=n.set;return Object.defineProperty(t,e,{configurable:!0,get:function(){return o.call(this)},set:function(g){l=""+g,c.call(this,g)}}),Object.defineProperty(t,e,{enumerable:n.enumerable}),{getValue:function(){return l},setValue:function(g){l=""+g},stopTracking:function(){t._valueTracker=null,delete t[e]}}}}function Zl(t){t._valueTracker||(t._valueTracker=uv(t))}function Uf(t){if(!t)return!1;var e=t._valueTracker;if(!e)return!0;var n=e.getValue(),l="";return t&&(l=Bf(t)?t.checked?"true":"false":t.value),t=l,t!==n?(e.setValue(t),!0):!1}function Fl(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 cv=/[\n"\\]/g;function Ae(t){return t.replace(cv,function(e){return"\\"+e.charCodeAt(0).toString(16)+" "})}function qr(t,e,n,l,o,c,g,x){t.name="",g!=null&&typeof g!="function"&&typeof g!="symbol"&&typeof g!="boolean"?t.type=g:t.removeAttribute("type"),e!=null?g==="number"?(e===0&&t.value===""||t.value!=e)&&(t.value=""+Ee(e)):t.value!==""+Ee(e)&&(t.value=""+Ee(e)):g!=="submit"&&g!=="reset"||t.removeAttribute("value"),e!=null?Yr(t,g,Ee(e)):n!=null?Yr(t,g,Ee(n)):l!=null&&t.removeAttribute("value"),o==null&&c!=null&&(t.defaultChecked=!!c),o!=null&&(t.checked=o&&typeof o!="function"&&typeof o!="symbol"),x!=null&&typeof x!="function"&&typeof x!="symbol"&&typeof x!="boolean"?t.name=""+Ee(x):t.removeAttribute("name")}function _f(t,e,n,l,o,c,g,x){if(c!=null&&typeof c!="function"&&typeof c!="symbol"&&typeof c!="boolean"&&(t.type=c),e!=null||n!=null){if(!(c!=="submit"&&c!=="reset"||e!=null))return;n=n!=null?""+Ee(n):"",e=e!=null?""+Ee(e):n,x||e===t.value||(t.value=e),t.defaultValue=e}l=l??o,l=typeof l!="function"&&typeof l!="symbol"&&!!l,t.checked=x?t.checked:!!l,t.defaultChecked=!!l,g!=null&&typeof g!="function"&&typeof g!="symbol"&&typeof g!="boolean"&&(t.name=g)}function Yr(t,e,n){e==="number"&&Fl(t.ownerDocument)===t||t.defaultValue===""+n||(t.defaultValue=""+n)}function Ra(t,e,n,l){if(t=t.options,e){e={};for(var o=0;o<n.length;o++)e["$"+n[o]]=!0;for(n=0;n<t.length;n++)o=e.hasOwnProperty("$"+t[n].value),t[n].selected!==o&&(t[n].selected=o),o&&l&&(t[n].defaultSelected=!0)}else{for(n=""+Ee(n),e=null,o=0;o<t.length;o++){if(t[o].value===n){t[o].selected=!0,l&&(t[o].defaultSelected=!0);return}e!==null||t[o].disabled||(e=t[o])}e!==null&&(e.selected=!0)}}function Hf(t,e,n){if(e!=null&&(e=""+Ee(e),e!==t.value&&(t.value=e),n==null)){t.defaultValue!==e&&(t.defaultValue=e);return}t.defaultValue=n!=null?""+Ee(n):""}function qf(t,e,n,l){if(e==null){if(l!=null){if(n!=null)throw Error(r(92));if(Ft(l)){if(1<l.length)throw Error(r(93));l=l[0]}n=l}n==null&&(n=""),e=n}n=Ee(e),t.defaultValue=n,l=t.textContent,l===n&&l!==""&&l!==null&&(t.value=l)}function Da(t,e){if(e){var n=t.firstChild;if(n&&n===t.lastChild&&n.nodeType===3){n.nodeValue=e;return}}t.textContent=e}var fv=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 Yf(t,e,n){var l=e.indexOf("--")===0;n==null||typeof n=="boolean"||n===""?l?t.setProperty(e,""):e==="float"?t.cssFloat="":t[e]="":l?t.setProperty(e,n):typeof n!="number"||n===0||fv.has(e)?e==="float"?t.cssFloat=n:t[e]=(""+n).trim():t[e]=n+"px"}function Pf(t,e,n){if(e!=null&&typeof e!="object")throw Error(r(62));if(t=t.style,n!=null){for(var l in n)!n.hasOwnProperty(l)||e!=null&&e.hasOwnProperty(l)||(l.indexOf("--")===0?t.setProperty(l,""):l==="float"?t.cssFloat="":t[l]="");for(var o in e)l=e[o],e.hasOwnProperty(o)&&n[o]!==l&&Yf(t,o,l)}else for(var c in e)e.hasOwnProperty(c)&&Yf(t,c,e[c])}function Pr(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 dv=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"]]),hv=/^[\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 Jl(t){return hv.test(""+t)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":t}var Gr=null;function kr(t){return t=t.target||t.srcElement||window,t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===3?t.parentNode:t}var Ca=null,wa=null;function Gf(t){var e=ja(t);if(e&&(t=e.stateNode)){var n=t[oe]||null;t:switch(t=e.stateNode,e.type){case"input":if(qr(t,n.value,n.defaultValue,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name),e=n.name,n.type==="radio"&&e!=null){for(n=t;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll('input[name="'+Ae(""+e)+'"][type="radio"]'),e=0;e<n.length;e++){var l=n[e];if(l!==t&&l.form===t.form){var o=l[oe]||null;if(!o)throw Error(r(90));qr(l,o.value,o.defaultValue,o.defaultValue,o.checked,o.defaultChecked,o.type,o.name)}}for(e=0;e<n.length;e++)l=n[e],l.form===t.form&&Uf(l)}break t;case"textarea":Hf(t,n.value,n.defaultValue);break t;case"select":e=n.value,e!=null&&Ra(t,!!n.multiple,e,!1)}}}var Xr=!1;function kf(t,e,n){if(Xr)return t(e,n);Xr=!0;try{var l=t(e);return l}finally{if(Xr=!1,(Ca!==null||wa!==null)&&(Ls(),Ca&&(e=Ca,t=wa,wa=Ca=null,Gf(e),t)))for(e=0;e<t.length;e++)Gf(t[e])}}function ji(t,e){var n=t.stateNode;if(n===null)return null;var l=n[oe]||null;if(l===null)return null;n=l[e];t:switch(e){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(l=!l.disabled)||(t=t.type,l=!(t==="button"||t==="input"||t==="select"||t==="textarea")),t=!l;break t;default:t=!1}if(t)return null;if(n&&typeof n!="function")throw Error(r(231,e,typeof n));return n}var en=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Kr=!1;if(en)try{var Ei={};Object.defineProperty(Ei,"passive",{get:function(){Kr=!0}}),window.addEventListener("test",Ei,Ei),window.removeEventListener("test",Ei,Ei)}catch{Kr=!1}var En=null,Qr=null,$l=null;function Xf(){if($l)return $l;var t,e=Qr,n=e.length,l,o="value"in En?En.value:En.textContent,c=o.length;for(t=0;t<n&&e[t]===o[t];t++);var g=n-t;for(l=1;l<=g&&e[n-l]===o[c-l];l++);return $l=o.slice(t,1<l?1-l:void 0)}function Wl(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 Il(){return!0}function Kf(){return!1}function ue(t){function e(n,l,o,c,g){this._reactName=n,this._targetInst=o,this.type=l,this.nativeEvent=c,this.target=g,this.currentTarget=null;for(var x in t)t.hasOwnProperty(x)&&(n=t[x],this[x]=n?n(c):c[x]);return this.isDefaultPrevented=(c.defaultPrevented!=null?c.defaultPrevented:c.returnValue===!1)?Il:Kf,this.isPropagationStopped=Kf,this}return v(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=Il)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=Il)},persist:function(){},isPersistent:Il}),e}var Wn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(t){return t.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},ts=ue(Wn),Ai=v({},Wn,{view:0,detail:0}),mv=ue(Ai),Zr,Fr,Mi,es=v({},Ai,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:$r,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"?(Zr=t.screenX-Mi.screenX,Fr=t.screenY-Mi.screenY):Fr=Zr=0,Mi=t),Zr)},movementY:function(t){return"movementY"in t?t.movementY:Fr}}),Qf=ue(es),pv=v({},es,{dataTransfer:0}),gv=ue(pv),yv=v({},Ai,{relatedTarget:0}),Jr=ue(yv),vv=v({},Wn,{animationName:0,elapsedTime:0,pseudoElement:0}),xv=ue(vv),bv=v({},Wn,{clipboardData:function(t){return"clipboardData"in t?t.clipboardData:window.clipboardData}}),Sv=ue(bv),Tv=v({},Wn,{data:0}),Zf=ue(Tv),jv={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Ev={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"},Av={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Mv(t){var e=this.nativeEvent;return e.getModifierState?e.getModifierState(t):(t=Av[t])?!!e[t]:!1}function $r(){return Mv}var Rv=v({},Ai,{key:function(t){if(t.key){var e=jv[t.key]||t.key;if(e!=="Unidentified")return e}return t.type==="keypress"?(t=Wl(t),t===13?"Enter":String.fromCharCode(t)):t.type==="keydown"||t.type==="keyup"?Ev[t.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:$r,charCode:function(t){return t.type==="keypress"?Wl(t):0},keyCode:function(t){return t.type==="keydown"||t.type==="keyup"?t.keyCode:0},which:function(t){return t.type==="keypress"?Wl(t):t.type==="keydown"||t.type==="keyup"?t.keyCode:0}}),Dv=ue(Rv),Cv=v({},es,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Ff=ue(Cv),wv=v({},Ai,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:$r}),Nv=ue(wv),Ov=v({},Wn,{propertyName:0,elapsedTime:0,pseudoElement:0}),Vv=ue(Ov),zv=v({},es,{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}),Lv=ue(zv),Bv=v({},Wn,{newState:0,oldState:0}),Uv=ue(Bv),_v=[9,13,27,32],Wr=en&&"CompositionEvent"in window,Ri=null;en&&"documentMode"in document&&(Ri=document.documentMode);var Hv=en&&"TextEvent"in window&&!Ri,Jf=en&&(!Wr||Ri&&8<Ri&&11>=Ri),$f=" ",Wf=!1;function If(t,e){switch(t){case"keyup":return _v.indexOf(e.keyCode)!==-1;case"keydown":return e.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function td(t){return t=t.detail,typeof t=="object"&&"data"in t?t.data:null}var Na=!1;function qv(t,e){switch(t){case"compositionend":return td(e);case"keypress":return e.which!==32?null:(Wf=!0,$f);case"textInput":return t=e.data,t===$f&&Wf?null:t;default:return null}}function Yv(t,e){if(Na)return t==="compositionend"||!Wr&&If(t,e)?(t=Xf(),$l=Qr=En=null,Na=!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 Jf&&e.locale!=="ko"?null:e.data;default:return null}}var Pv={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 ed(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return e==="input"?!!Pv[t.type]:e==="textarea"}function nd(t,e,n,l){Ca?wa?wa.push(l):wa=[l]:Ca=l,e=Ys(e,"onChange"),0<e.length&&(n=new ts("onChange","change",null,n,l),t.push({event:n,listeners:e}))}var Di=null,Ci=null;function Gv(t){Bm(t,0)}function ns(t){var e=Ti(t);if(Uf(e))return t}function ad(t,e){if(t==="change")return e}var id=!1;if(en){var Ir;if(en){var to="oninput"in document;if(!to){var ld=document.createElement("div");ld.setAttribute("oninput","return;"),to=typeof ld.oninput=="function"}Ir=to}else Ir=!1;id=Ir&&(!document.documentMode||9<document.documentMode)}function sd(){Di&&(Di.detachEvent("onpropertychange",rd),Ci=Di=null)}function rd(t){if(t.propertyName==="value"&&ns(Ci)){var e=[];nd(e,Ci,t,kr(t)),kf(Gv,e)}}function kv(t,e,n){t==="focusin"?(sd(),Di=e,Ci=n,Di.attachEvent("onpropertychange",rd)):t==="focusout"&&sd()}function Xv(t){if(t==="selectionchange"||t==="keyup"||t==="keydown")return ns(Ci)}function Kv(t,e){if(t==="click")return ns(e)}function Qv(t,e){if(t==="input"||t==="change")return ns(e)}function Zv(t,e){return t===e&&(t!==0||1/t===1/e)||t!==t&&e!==e}var ye=typeof Object.is=="function"?Object.is:Zv;function wi(t,e){if(ye(t,e))return!0;if(typeof t!="object"||t===null||typeof e!="object"||e===null)return!1;var n=Object.keys(t),l=Object.keys(e);if(n.length!==l.length)return!1;for(l=0;l<n.length;l++){var o=n[l];if(!Cr.call(e,o)||!ye(t[o],e[o]))return!1}return!0}function od(t){for(;t&&t.firstChild;)t=t.firstChild;return t}function ud(t,e){var n=od(t);t=0;for(var l;n;){if(n.nodeType===3){if(l=t+n.textContent.length,t<=e&&l>=e)return{node:n,offset:e-t};t=l}t:{for(;n;){if(n.nextSibling){n=n.nextSibling;break t}n=n.parentNode}n=void 0}n=od(n)}}function cd(t,e){return t&&e?t===e?!0:t&&t.nodeType===3?!1:e&&e.nodeType===3?cd(t,e.parentNode):"contains"in t?t.contains(e):t.compareDocumentPosition?!!(t.compareDocumentPosition(e)&16):!1:!1}function fd(t){t=t!=null&&t.ownerDocument!=null&&t.ownerDocument.defaultView!=null?t.ownerDocument.defaultView:window;for(var e=Fl(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=Fl(t.document)}return e}function eo(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 Fv=en&&"documentMode"in document&&11>=document.documentMode,Oa=null,no=null,Ni=null,ao=!1;function dd(t,e,n){var l=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;ao||Oa==null||Oa!==Fl(l)||(l=Oa,"selectionStart"in l&&eo(l)?l={start:l.selectionStart,end:l.selectionEnd}:(l=(l.ownerDocument&&l.ownerDocument.defaultView||window).getSelection(),l={anchorNode:l.anchorNode,anchorOffset:l.anchorOffset,focusNode:l.focusNode,focusOffset:l.focusOffset}),Ni&&wi(Ni,l)||(Ni=l,l=Ys(no,"onSelect"),0<l.length&&(e=new ts("onSelect","select",null,e,n),t.push({event:e,listeners:l}),e.target=Oa)))}function In(t,e){var n={};return n[t.toLowerCase()]=e.toLowerCase(),n["Webkit"+t]="webkit"+e,n["Moz"+t]="moz"+e,n}var Va={animationend:In("Animation","AnimationEnd"),animationiteration:In("Animation","AnimationIteration"),animationstart:In("Animation","AnimationStart"),transitionrun:In("Transition","TransitionRun"),transitionstart:In("Transition","TransitionStart"),transitioncancel:In("Transition","TransitionCancel"),transitionend:In("Transition","TransitionEnd")},io={},hd={};en&&(hd=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 ta(t){if(io[t])return io[t];if(!Va[t])return t;var e=Va[t],n;for(n in e)if(e.hasOwnProperty(n)&&n in hd)return io[t]=e[n];return t}var md=ta("animationend"),pd=ta("animationiteration"),gd=ta("animationstart"),Jv=ta("transitionrun"),$v=ta("transitionstart"),Wv=ta("transitioncancel"),yd=ta("transitionend"),vd=new Map,lo="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(" ");lo.push("scrollEnd");function Be(t,e){vd.set(t,e),$n(e,[t])}var xd=new WeakMap;function Me(t,e){if(typeof t=="object"&&t!==null){var n=xd.get(t);return n!==void 0?n:(e={value:t,source:e,stack:Lf(e)},xd.set(t,e),e)}return{value:t,source:e,stack:Lf(e)}}var Re=[],za=0,so=0;function as(){for(var t=za,e=so=za=0;e<t;){var n=Re[e];Re[e++]=null;var l=Re[e];Re[e++]=null;var o=Re[e];Re[e++]=null;var c=Re[e];if(Re[e++]=null,l!==null&&o!==null){var g=l.pending;g===null?o.next=o:(o.next=g.next,g.next=o),l.pending=o}c!==0&&bd(n,o,c)}}function is(t,e,n,l){Re[za++]=t,Re[za++]=e,Re[za++]=n,Re[za++]=l,so|=l,t.lanes|=l,t=t.alternate,t!==null&&(t.lanes|=l)}function ro(t,e,n,l){return is(t,e,n,l),ls(t)}function La(t,e){return is(t,null,null,e),ls(t)}function bd(t,e,n){t.lanes|=n;var l=t.alternate;l!==null&&(l.lanes|=n);for(var o=!1,c=t.return;c!==null;)c.childLanes|=n,l=c.alternate,l!==null&&(l.childLanes|=n),c.tag===22&&(t=c.stateNode,t===null||t._visibility&1||(o=!0)),t=c,c=c.return;return t.tag===3?(c=t.stateNode,o&&e!==null&&(o=31-ge(n),t=c.hiddenUpdates,l=t[o],l===null?t[o]=[e]:l.push(e),e.lane=n|536870912),c):null}function ls(t){if(50<nl)throw nl=0,mu=null,Error(r(185));for(var e=t.return;e!==null;)t=e,e=t.return;return t.tag===3?t.stateNode:null}var Ba={};function Iv(t,e,n,l){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=l,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function ve(t,e,n,l){return new Iv(t,e,n,l)}function oo(t){return t=t.prototype,!(!t||!t.isReactComponent)}function nn(t,e){var n=t.alternate;return n===null?(n=ve(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 Sd(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 ss(t,e,n,l,o,c){var g=0;if(l=t,typeof t=="function")oo(t)&&(g=1);else if(typeof t=="string")g=e2(t,n,tt.current)?26:t==="html"||t==="head"||t==="body"?27:5;else t:switch(t){case st:return t=ve(31,n,e,o),t.elementType=st,t.lanes=c,t;case N:return ea(n.children,o,c,e);case z:g=8,o|=24;break;case _:return t=ve(12,n,e,o|2),t.elementType=_,t.lanes=c,t;case P:return t=ve(13,n,e,o),t.elementType=P,t.lanes=c,t;case W:return t=ve(19,n,e,o),t.elementType=W,t.lanes=c,t;default:if(typeof t=="object"&&t!==null)switch(t.$$typeof){case V:case q:g=10;break t;case G:g=9;break t;case F:g=11;break t;case I:g=14;break t;case Z:g=16,l=null;break t}g=29,n=Error(r(130,t===null?"null":typeof t,"")),l=null}return e=ve(g,n,e,o),e.elementType=t,e.type=l,e.lanes=c,e}function ea(t,e,n,l){return t=ve(7,t,l,e),t.lanes=n,t}function uo(t,e,n){return t=ve(6,t,null,e),t.lanes=n,t}function co(t,e,n){return e=ve(4,t.children!==null?t.children:[],t.key,e),e.lanes=n,e.stateNode={containerInfo:t.containerInfo,pendingChildren:null,implementation:t.implementation},e}var Ua=[],_a=0,rs=null,os=0,De=[],Ce=0,na=null,an=1,ln="";function aa(t,e){Ua[_a++]=os,Ua[_a++]=rs,rs=t,os=e}function Td(t,e,n){De[Ce++]=an,De[Ce++]=ln,De[Ce++]=na,na=t;var l=an;t=ln;var o=32-ge(l)-1;l&=~(1<<o),n+=1;var c=32-ge(e)+o;if(30<c){var g=o-o%5;c=(l&(1<<g)-1).toString(32),l>>=g,o-=g,an=1<<32-ge(e)+o|n<<o|l,ln=c+t}else an=1<<c|n<<o|l,ln=t}function fo(t){t.return!==null&&(aa(t,1),Td(t,1,0))}function ho(t){for(;t===rs;)rs=Ua[--_a],Ua[_a]=null,os=Ua[--_a],Ua[_a]=null;for(;t===na;)na=De[--Ce],De[Ce]=null,ln=De[--Ce],De[Ce]=null,an=De[--Ce],De[Ce]=null}var le=null,Ot=null,yt=!1,ia=null,Pe=!1,mo=Error(r(519));function la(t){var e=Error(r(418,""));throw zi(Me(e,t)),mo}function jd(t){var e=t.stateNode,n=t.type,l=t.memoizedProps;switch(e[te]=t,e[oe]=l,n){case"dialog":dt("cancel",e),dt("close",e);break;case"iframe":case"object":case"embed":dt("load",e);break;case"video":case"audio":for(n=0;n<il.length;n++)dt(il[n],e);break;case"source":dt("error",e);break;case"img":case"image":case"link":dt("error",e),dt("load",e);break;case"details":dt("toggle",e);break;case"input":dt("invalid",e),_f(e,l.value,l.defaultValue,l.checked,l.defaultChecked,l.type,l.name,!0),Zl(e);break;case"select":dt("invalid",e);break;case"textarea":dt("invalid",e),qf(e,l.value,l.defaultValue,l.children),Zl(e)}n=l.children,typeof n!="string"&&typeof n!="number"&&typeof n!="bigint"||e.textContent===""+n||l.suppressHydrationWarning===!0||qm(e.textContent,n)?(l.popover!=null&&(dt("beforetoggle",e),dt("toggle",e)),l.onScroll!=null&&dt("scroll",e),l.onScrollEnd!=null&&dt("scrollend",e),l.onClick!=null&&(e.onclick=Ps),e=!0):e=!1,e||la(t)}function Ed(t){for(le=t.return;le;)switch(le.tag){case 5:case 13:Pe=!1;return;case 27:case 3:Pe=!0;return;default:le=le.return}}function Oi(t){if(t!==le)return!1;if(!yt)return Ed(t),yt=!0,!1;var e=t.tag,n;if((n=e!==3&&e!==27)&&((n=e===5)&&(n=t.type,n=!(n!=="form"&&n!=="button")||wu(t.type,t.memoizedProps)),n=!n),n&&Ot&&la(t),Ed(t),e===13){if(t=t.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(r(317));t:{for(t=t.nextSibling,e=0;t;){if(t.nodeType===8)if(n=t.data,n==="/$"){if(e===0){Ot=_e(t.nextSibling);break t}e--}else n!=="$"&&n!=="$!"&&n!=="$?"||e++;t=t.nextSibling}Ot=null}}else e===27?(e=Ot,qn(t.type)?(t=zu,zu=null,Ot=t):Ot=e):Ot=le?_e(t.stateNode.nextSibling):null;return!0}function Vi(){Ot=le=null,yt=!1}function Ad(){var t=ia;return t!==null&&(de===null?de=t:de.push.apply(de,t),ia=null),t}function zi(t){ia===null?ia=[t]:ia.push(t)}var po=Y(null),sa=null,sn=null;function An(t,e,n){X(po,e._currentValue),e._currentValue=n}function rn(t){t._currentValue=po.current,K(po)}function go(t,e,n){for(;t!==null;){var l=t.alternate;if((t.childLanes&e)!==e?(t.childLanes|=e,l!==null&&(l.childLanes|=e)):l!==null&&(l.childLanes&e)!==e&&(l.childLanes|=e),t===n)break;t=t.return}}function yo(t,e,n,l){var o=t.child;for(o!==null&&(o.return=t);o!==null;){var c=o.dependencies;if(c!==null){var g=o.child;c=c.firstContext;t:for(;c!==null;){var x=c;c=o;for(var T=0;T<e.length;T++)if(x.context===e[T]){c.lanes|=n,x=c.alternate,x!==null&&(x.lanes|=n),go(c.return,n,t),l||(g=null);break t}c=x.next}}else if(o.tag===18){if(g=o.return,g===null)throw Error(r(341));g.lanes|=n,c=g.alternate,c!==null&&(c.lanes|=n),go(g,n,t),g=null}else g=o.child;if(g!==null)g.return=o;else for(g=o;g!==null;){if(g===t){g=null;break}if(o=g.sibling,o!==null){o.return=g.return,g=o;break}g=g.return}o=g}}function Li(t,e,n,l){t=null;for(var o=e,c=!1;o!==null;){if(!c){if((o.flags&524288)!==0)c=!0;else if((o.flags&262144)!==0)break}if(o.tag===10){var g=o.alternate;if(g===null)throw Error(r(387));if(g=g.memoizedProps,g!==null){var x=o.type;ye(o.pendingProps.value,g.value)||(t!==null?t.push(x):t=[x])}}else if(o===me.current){if(g=o.alternate,g===null)throw Error(r(387));g.memoizedState.memoizedState!==o.memoizedState.memoizedState&&(t!==null?t.push(cl):t=[cl])}o=o.return}t!==null&&yo(e,t,n,l),e.flags|=262144}function us(t){for(t=t.firstContext;t!==null;){if(!ye(t.context._currentValue,t.memoizedValue))return!0;t=t.next}return!1}function ra(t){sa=t,sn=null,t=t.dependencies,t!==null&&(t.firstContext=null)}function ee(t){return Md(sa,t)}function cs(t,e){return sa===null&&ra(t),Md(t,e)}function Md(t,e){var n=e._currentValue;if(e={context:e,memoizedValue:n,next:null},sn===null){if(t===null)throw Error(r(308));sn=e,t.dependencies={lanes:0,firstContext:e},t.flags|=524288}else sn=sn.next=e;return n}var t1=typeof AbortController<"u"?AbortController:function(){var t=[],e=this.signal={aborted:!1,addEventListener:function(n,l){t.push(l)}};this.abort=function(){e.aborted=!0,t.forEach(function(n){return n()})}},e1=a.unstable_scheduleCallback,n1=a.unstable_NormalPriority,Gt={$$typeof:q,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function vo(){return{controller:new t1,data:new Map,refCount:0}}function Bi(t){t.refCount--,t.refCount===0&&e1(n1,function(){t.controller.abort()})}var Ui=null,xo=0,Ha=0,qa=null;function a1(t,e){if(Ui===null){var n=Ui=[];xo=0,Ha=Su(),qa={status:"pending",value:void 0,then:function(l){n.push(l)}}}return xo++,e.then(Rd,Rd),e}function Rd(){if(--xo===0&&Ui!==null){qa!==null&&(qa.status="fulfilled");var t=Ui;Ui=null,Ha=0,qa=null;for(var e=0;e<t.length;e++)(0,t[e])()}}function i1(t,e){var n=[],l={status:"pending",value:null,reason:null,then:function(o){n.push(o)}};return t.then(function(){l.status="fulfilled",l.value=e;for(var o=0;o<n.length;o++)(0,n[o])(e)},function(o){for(l.status="rejected",l.reason=o,o=0;o<n.length;o++)(0,n[o])(void 0)}),l}var Dd=B.S;B.S=function(t,e){typeof e=="object"&&e!==null&&typeof e.then=="function"&&a1(t,e),Dd!==null&&Dd(t,e)};var oa=Y(null);function bo(){var t=oa.current;return t!==null?t:At.pooledCache}function fs(t,e){e===null?X(oa,oa.current):X(oa,e.pool)}function Cd(){var t=bo();return t===null?null:{parent:Gt._currentValue,pool:t}}var _i=Error(r(460)),wd=Error(r(474)),ds=Error(r(542)),So={then:function(){}};function Nd(t){return t=t.status,t==="fulfilled"||t==="rejected"}function hs(){}function Od(t,e,n){switch(n=t[n],n===void 0?t.push(e):n!==e&&(e.then(hs,hs),e=n),e.status){case"fulfilled":return e.value;case"rejected":throw t=e.reason,zd(t),t;default:if(typeof e.status=="string")e.then(hs,hs);else{if(t=At,t!==null&&100<t.shellSuspendCounter)throw Error(r(482));t=e,t.status="pending",t.then(function(l){if(e.status==="pending"){var o=e;o.status="fulfilled",o.value=l}},function(l){if(e.status==="pending"){var o=e;o.status="rejected",o.reason=l}})}switch(e.status){case"fulfilled":return e.value;case"rejected":throw t=e.reason,zd(t),t}throw Hi=e,_i}}var Hi=null;function Vd(){if(Hi===null)throw Error(r(459));var t=Hi;return Hi=null,t}function zd(t){if(t===_i||t===ds)throw Error(r(483))}var Mn=!1;function To(t){t.updateQueue={baseState:t.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function jo(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 Rn(t){return{lane:t,tag:0,payload:null,callback:null,next:null}}function Dn(t,e,n){var l=t.updateQueue;if(l===null)return null;if(l=l.shared,(xt&2)!==0){var o=l.pending;return o===null?e.next=e:(e.next=o.next,o.next=e),l.pending=e,e=ls(t),bd(t,null,n),e}return is(t,l,e,n),ls(t)}function qi(t,e,n){if(e=e.updateQueue,e!==null&&(e=e.shared,(n&4194048)!==0)){var l=e.lanes;l&=t.pendingLanes,n|=l,e.lanes=n,Rf(t,n)}}function Eo(t,e){var n=t.updateQueue,l=t.alternate;if(l!==null&&(l=l.updateQueue,n===l)){var o=null,c=null;if(n=n.firstBaseUpdate,n!==null){do{var g={lane:n.lane,tag:n.tag,payload:n.payload,callback:null,next:null};c===null?o=c=g:c=c.next=g,n=n.next}while(n!==null);c===null?o=c=e:c=c.next=e}else o=c=e;n={baseState:l.baseState,firstBaseUpdate:o,lastBaseUpdate:c,shared:l.shared,callbacks:l.callbacks},t.updateQueue=n;return}t=n.lastBaseUpdate,t===null?n.firstBaseUpdate=e:t.next=e,n.lastBaseUpdate=e}var Ao=!1;function Yi(){if(Ao){var t=qa;if(t!==null)throw t}}function Pi(t,e,n,l){Ao=!1;var o=t.updateQueue;Mn=!1;var c=o.firstBaseUpdate,g=o.lastBaseUpdate,x=o.shared.pending;if(x!==null){o.shared.pending=null;var T=x,C=T.next;T.next=null,g===null?c=C:g.next=C,g=T;var L=t.alternate;L!==null&&(L=L.updateQueue,x=L.lastBaseUpdate,x!==g&&(x===null?L.firstBaseUpdate=C:x.next=C,L.lastBaseUpdate=T))}if(c!==null){var H=o.baseState;g=0,L=C=T=null,x=c;do{var w=x.lane&-536870913,O=w!==x.lane;if(O?(ht&w)===w:(l&w)===w){w!==0&&w===Ha&&(Ao=!0),L!==null&&(L=L.next={lane:0,tag:x.tag,payload:x.payload,callback:null,next:null});t:{var at=t,et=x;w=e;var jt=n;switch(et.tag){case 1:if(at=et.payload,typeof at=="function"){H=at.call(jt,H,w);break t}H=at;break t;case 3:at.flags=at.flags&-65537|128;case 0:if(at=et.payload,w=typeof at=="function"?at.call(jt,H,w):at,w==null)break t;H=v({},H,w);break t;case 2:Mn=!0}}w=x.callback,w!==null&&(t.flags|=64,O&&(t.flags|=8192),O=o.callbacks,O===null?o.callbacks=[w]:O.push(w))}else O={lane:w,tag:x.tag,payload:x.payload,callback:x.callback,next:null},L===null?(C=L=O,T=H):L=L.next=O,g|=w;if(x=x.next,x===null){if(x=o.shared.pending,x===null)break;O=x,x=O.next,O.next=null,o.lastBaseUpdate=O,o.shared.pending=null}}while(!0);L===null&&(T=H),o.baseState=T,o.firstBaseUpdate=C,o.lastBaseUpdate=L,c===null&&(o.shared.lanes=0),Bn|=g,t.lanes=g,t.memoizedState=H}}function Ld(t,e){if(typeof t!="function")throw Error(r(191,t));t.call(e)}function Bd(t,e){var n=t.callbacks;if(n!==null)for(t.callbacks=null,t=0;t<n.length;t++)Ld(n[t],e)}var Ya=Y(null),ms=Y(0);function Ud(t,e){t=mn,X(ms,t),X(Ya,e),mn=t|e.baseLanes}function Mo(){X(ms,mn),X(Ya,Ya.current)}function Ro(){mn=ms.current,K(Ya),K(ms)}var Cn=0,ut=null,St=null,Ht=null,ps=!1,Pa=!1,ua=!1,gs=0,Gi=0,Ga=null,l1=0;function Bt(){throw Error(r(321))}function Do(t,e){if(e===null)return!1;for(var n=0;n<e.length&&n<t.length;n++)if(!ye(t[n],e[n]))return!1;return!0}function Co(t,e,n,l,o,c){return Cn=c,ut=e,e.memoizedState=null,e.updateQueue=null,e.lanes=0,B.H=t===null||t.memoizedState===null?bh:Sh,ua=!1,c=n(l,o),ua=!1,Pa&&(c=Hd(e,n,l,o)),_d(t),c}function _d(t){B.H=Ts;var e=St!==null&&St.next!==null;if(Cn=0,Ht=St=ut=null,ps=!1,Gi=0,Ga=null,e)throw Error(r(300));t===null||Kt||(t=t.dependencies,t!==null&&us(t)&&(Kt=!0))}function Hd(t,e,n,l){ut=t;var o=0;do{if(Pa&&(Ga=null),Gi=0,Pa=!1,25<=o)throw Error(r(301));if(o+=1,Ht=St=null,t.updateQueue!=null){var c=t.updateQueue;c.lastEffect=null,c.events=null,c.stores=null,c.memoCache!=null&&(c.memoCache.index=0)}B.H=d1,c=e(n,l)}while(Pa);return c}function s1(){var t=B.H,e=t.useState()[0];return e=typeof e.then=="function"?ki(e):e,t=t.useState()[0],(St!==null?St.memoizedState:null)!==t&&(ut.flags|=1024),e}function wo(){var t=gs!==0;return gs=0,t}function No(t,e,n){e.updateQueue=t.updateQueue,e.flags&=-2053,t.lanes&=~n}function Oo(t){if(ps){for(t=t.memoizedState;t!==null;){var e=t.queue;e!==null&&(e.pending=null),t=t.next}ps=!1}Cn=0,Ht=St=ut=null,Pa=!1,Gi=gs=0,Ga=null}function ce(){var t={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Ht===null?ut.memoizedState=Ht=t:Ht=Ht.next=t,Ht}function qt(){if(St===null){var t=ut.alternate;t=t!==null?t.memoizedState:null}else t=St.next;var e=Ht===null?ut.memoizedState:Ht.next;if(e!==null)Ht=e,St=t;else{if(t===null)throw ut.alternate===null?Error(r(467)):Error(r(310));St=t,t={memoizedState:St.memoizedState,baseState:St.baseState,baseQueue:St.baseQueue,queue:St.queue,next:null},Ht===null?ut.memoizedState=Ht=t:Ht=Ht.next=t}return Ht}function Vo(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function ki(t){var e=Gi;return Gi+=1,Ga===null&&(Ga=[]),t=Od(Ga,t,e),e=ut,(Ht===null?e.memoizedState:Ht.next)===null&&(e=e.alternate,B.H=e===null||e.memoizedState===null?bh:Sh),t}function ys(t){if(t!==null&&typeof t=="object"){if(typeof t.then=="function")return ki(t);if(t.$$typeof===q)return ee(t)}throw Error(r(438,String(t)))}function zo(t){var e=null,n=ut.updateQueue;if(n!==null&&(e=n.memoCache),e==null){var l=ut.alternate;l!==null&&(l=l.updateQueue,l!==null&&(l=l.memoCache,l!=null&&(e={data:l.data.map(function(o){return o.slice()}),index:0})))}if(e==null&&(e={data:[],index:0}),n===null&&(n=Vo(),ut.updateQueue=n),n.memoCache=e,n=e.data[e.index],n===void 0)for(n=e.data[e.index]=Array(t),l=0;l<t;l++)n[l]=vt;return e.index++,n}function on(t,e){return typeof e=="function"?e(t):e}function vs(t){var e=qt();return Lo(e,St,t)}function Lo(t,e,n){var l=t.queue;if(l===null)throw Error(r(311));l.lastRenderedReducer=n;var o=t.baseQueue,c=l.pending;if(c!==null){if(o!==null){var g=o.next;o.next=c.next,c.next=g}e.baseQueue=o=c,l.pending=null}if(c=t.baseState,o===null)t.memoizedState=c;else{e=o.next;var x=g=null,T=null,C=e,L=!1;do{var H=C.lane&-536870913;if(H!==C.lane?(ht&H)===H:(Cn&H)===H){var w=C.revertLane;if(w===0)T!==null&&(T=T.next={lane:0,revertLane:0,action:C.action,hasEagerState:C.hasEagerState,eagerState:C.eagerState,next:null}),H===Ha&&(L=!0);else if((Cn&w)===w){C=C.next,w===Ha&&(L=!0);continue}else H={lane:0,revertLane:C.revertLane,action:C.action,hasEagerState:C.hasEagerState,eagerState:C.eagerState,next:null},T===null?(x=T=H,g=c):T=T.next=H,ut.lanes|=w,Bn|=w;H=C.action,ua&&n(c,H),c=C.hasEagerState?C.eagerState:n(c,H)}else w={lane:H,revertLane:C.revertLane,action:C.action,hasEagerState:C.hasEagerState,eagerState:C.eagerState,next:null},T===null?(x=T=w,g=c):T=T.next=w,ut.lanes|=H,Bn|=H;C=C.next}while(C!==null&&C!==e);if(T===null?g=c:T.next=x,!ye(c,t.memoizedState)&&(Kt=!0,L&&(n=qa,n!==null)))throw n;t.memoizedState=c,t.baseState=g,t.baseQueue=T,l.lastRenderedState=c}return o===null&&(l.lanes=0),[t.memoizedState,l.dispatch]}function Bo(t){var e=qt(),n=e.queue;if(n===null)throw Error(r(311));n.lastRenderedReducer=t;var l=n.dispatch,o=n.pending,c=e.memoizedState;if(o!==null){n.pending=null;var g=o=o.next;do c=t(c,g.action),g=g.next;while(g!==o);ye(c,e.memoizedState)||(Kt=!0),e.memoizedState=c,e.baseQueue===null&&(e.baseState=c),n.lastRenderedState=c}return[c,l]}function qd(t,e,n){var l=ut,o=qt(),c=yt;if(c){if(n===void 0)throw Error(r(407));n=n()}else n=e();var g=!ye((St||o).memoizedState,n);g&&(o.memoizedState=n,Kt=!0),o=o.queue;var x=Gd.bind(null,l,o,t);if(Xi(2048,8,x,[t]),o.getSnapshot!==e||g||Ht!==null&&Ht.memoizedState.tag&1){if(l.flags|=2048,ka(9,xs(),Pd.bind(null,l,o,n,e),null),At===null)throw Error(r(349));c||(Cn&124)!==0||Yd(l,e,n)}return n}function Yd(t,e,n){t.flags|=16384,t={getSnapshot:e,value:n},e=ut.updateQueue,e===null?(e=Vo(),ut.updateQueue=e,e.stores=[t]):(n=e.stores,n===null?e.stores=[t]:n.push(t))}function Pd(t,e,n,l){e.value=n,e.getSnapshot=l,kd(e)&&Xd(t)}function Gd(t,e,n){return n(function(){kd(e)&&Xd(t)})}function kd(t){var e=t.getSnapshot;t=t.value;try{var n=e();return!ye(t,n)}catch{return!0}}function Xd(t){var e=La(t,2);e!==null&&je(e,t,2)}function Uo(t){var e=ce();if(typeof t=="function"){var n=t;if(t=n(),ua){Tn(!0);try{n()}finally{Tn(!1)}}}return e.memoizedState=e.baseState=t,e.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:on,lastRenderedState:t},e}function Kd(t,e,n,l){return t.baseState=n,Lo(t,St,typeof l=="function"?l:on)}function r1(t,e,n,l,o){if(Ss(t))throw Error(r(485));if(t=e.action,t!==null){var c={payload:o,action:t,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(g){c.listeners.push(g)}};B.T!==null?n(!0):c.isTransition=!1,l(c),n=e.pending,n===null?(c.next=e.pending=c,Qd(e,c)):(c.next=n.next,e.pending=n.next=c)}}function Qd(t,e){var n=e.action,l=e.payload,o=t.state;if(e.isTransition){var c=B.T,g={};B.T=g;try{var x=n(o,l),T=B.S;T!==null&&T(g,x),Zd(t,e,x)}catch(C){_o(t,e,C)}finally{B.T=c}}else try{c=n(o,l),Zd(t,e,c)}catch(C){_o(t,e,C)}}function Zd(t,e,n){n!==null&&typeof n=="object"&&typeof n.then=="function"?n.then(function(l){Fd(t,e,l)},function(l){return _o(t,e,l)}):Fd(t,e,n)}function Fd(t,e,n){e.status="fulfilled",e.value=n,Jd(e),t.state=n,e=t.pending,e!==null&&(n=e.next,n===e?t.pending=null:(n=n.next,e.next=n,Qd(t,n)))}function _o(t,e,n){var l=t.pending;if(t.pending=null,l!==null){l=l.next;do e.status="rejected",e.reason=n,Jd(e),e=e.next;while(e!==l)}t.action=null}function Jd(t){t=t.listeners;for(var e=0;e<t.length;e++)(0,t[e])()}function $d(t,e){return e}function Wd(t,e){if(yt){var n=At.formState;if(n!==null){t:{var l=ut;if(yt){if(Ot){e:{for(var o=Ot,c=Pe;o.nodeType!==8;){if(!c){o=null;break e}if(o=_e(o.nextSibling),o===null){o=null;break e}}c=o.data,o=c==="F!"||c==="F"?o:null}if(o){Ot=_e(o.nextSibling),l=o.data==="F!";break t}}la(l)}l=!1}l&&(e=n[0])}}return n=ce(),n.memoizedState=n.baseState=e,l={pending:null,lanes:0,dispatch:null,lastRenderedReducer:$d,lastRenderedState:e},n.queue=l,n=yh.bind(null,ut,l),l.dispatch=n,l=Uo(!1),c=Go.bind(null,ut,!1,l.queue),l=ce(),o={state:e,dispatch:null,action:t,pending:null},l.queue=o,n=r1.bind(null,ut,o,c,n),o.dispatch=n,l.memoizedState=t,[e,n,!1]}function Id(t){var e=qt();return th(e,St,t)}function th(t,e,n){if(e=Lo(t,e,$d)[0],t=vs(on)[0],typeof e=="object"&&e!==null&&typeof e.then=="function")try{var l=ki(e)}catch(g){throw g===_i?ds:g}else l=e;e=qt();var o=e.queue,c=o.dispatch;return n!==e.memoizedState&&(ut.flags|=2048,ka(9,xs(),o1.bind(null,o,n),null)),[l,c,t]}function o1(t,e){t.action=e}function eh(t){var e=qt(),n=St;if(n!==null)return th(e,n,t);qt(),e=e.memoizedState,n=qt();var l=n.queue.dispatch;return n.memoizedState=t,[e,l,!1]}function ka(t,e,n,l){return t={tag:t,create:n,deps:l,inst:e,next:null},e=ut.updateQueue,e===null&&(e=Vo(),ut.updateQueue=e),n=e.lastEffect,n===null?e.lastEffect=t.next=t:(l=n.next,n.next=t,t.next=l,e.lastEffect=t),t}function xs(){return{destroy:void 0,resource:void 0}}function nh(){return qt().memoizedState}function bs(t,e,n,l){var o=ce();l=l===void 0?null:l,ut.flags|=t,o.memoizedState=ka(1|e,xs(),n,l)}function Xi(t,e,n,l){var o=qt();l=l===void 0?null:l;var c=o.memoizedState.inst;St!==null&&l!==null&&Do(l,St.memoizedState.deps)?o.memoizedState=ka(e,c,n,l):(ut.flags|=t,o.memoizedState=ka(1|e,c,n,l))}function ah(t,e){bs(8390656,8,t,e)}function ih(t,e){Xi(2048,8,t,e)}function lh(t,e){return Xi(4,2,t,e)}function sh(t,e){return Xi(4,4,t,e)}function rh(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 oh(t,e,n){n=n!=null?n.concat([t]):null,Xi(4,4,rh.bind(null,e,t),n)}function Ho(){}function uh(t,e){var n=qt();e=e===void 0?null:e;var l=n.memoizedState;return e!==null&&Do(e,l[1])?l[0]:(n.memoizedState=[t,e],t)}function ch(t,e){var n=qt();e=e===void 0?null:e;var l=n.memoizedState;if(e!==null&&Do(e,l[1]))return l[0];if(l=t(),ua){Tn(!0);try{t()}finally{Tn(!1)}}return n.memoizedState=[l,e],l}function qo(t,e,n){return n===void 0||(Cn&1073741824)!==0?t.memoizedState=e:(t.memoizedState=n,t=hm(),ut.lanes|=t,Bn|=t,n)}function fh(t,e,n,l){return ye(n,e)?n:Ya.current!==null?(t=qo(t,n,l),ye(t,e)||(Kt=!0),t):(Cn&42)===0?(Kt=!0,t.memoizedState=n):(t=hm(),ut.lanes|=t,Bn|=t,e)}function dh(t,e,n,l,o){var c=k.p;k.p=c!==0&&8>c?c:8;var g=B.T,x={};B.T=x,Go(t,!1,e,n);try{var T=o(),C=B.S;if(C!==null&&C(x,T),T!==null&&typeof T=="object"&&typeof T.then=="function"){var L=i1(T,l);Ki(t,e,L,Te(t))}else Ki(t,e,l,Te(t))}catch(H){Ki(t,e,{then:function(){},status:"rejected",reason:H},Te())}finally{k.p=c,B.T=g}}function u1(){}function Yo(t,e,n,l){if(t.tag!==5)throw Error(r(476));var o=hh(t).queue;dh(t,o,e,J,n===null?u1:function(){return mh(t),n(l)})}function hh(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:on,lastRenderedState:J},next:null};var n={};return e.next={memoizedState:n,baseState:n,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:on,lastRenderedState:n},next:null},t.memoizedState=e,t=t.alternate,t!==null&&(t.memoizedState=e),e}function mh(t){var e=hh(t).next.queue;Ki(t,e,{},Te())}function Po(){return ee(cl)}function ph(){return qt().memoizedState}function gh(){return qt().memoizedState}function c1(t){for(var e=t.return;e!==null;){switch(e.tag){case 24:case 3:var n=Te();t=Rn(n);var l=Dn(e,t,n);l!==null&&(je(l,e,n),qi(l,e,n)),e={cache:vo()},t.payload=e;return}e=e.return}}function f1(t,e,n){var l=Te();n={lane:l,revertLane:0,action:n,hasEagerState:!1,eagerState:null,next:null},Ss(t)?vh(e,n):(n=ro(t,e,n,l),n!==null&&(je(n,t,l),xh(n,e,l)))}function yh(t,e,n){var l=Te();Ki(t,e,n,l)}function Ki(t,e,n,l){var o={lane:l,revertLane:0,action:n,hasEagerState:!1,eagerState:null,next:null};if(Ss(t))vh(e,o);else{var c=t.alternate;if(t.lanes===0&&(c===null||c.lanes===0)&&(c=e.lastRenderedReducer,c!==null))try{var g=e.lastRenderedState,x=c(g,n);if(o.hasEagerState=!0,o.eagerState=x,ye(x,g))return is(t,e,o,0),At===null&&as(),!1}catch{}finally{}if(n=ro(t,e,o,l),n!==null)return je(n,t,l),xh(n,e,l),!0}return!1}function Go(t,e,n,l){if(l={lane:2,revertLane:Su(),action:l,hasEagerState:!1,eagerState:null,next:null},Ss(t)){if(e)throw Error(r(479))}else e=ro(t,n,l,2),e!==null&&je(e,t,2)}function Ss(t){var e=t.alternate;return t===ut||e!==null&&e===ut}function vh(t,e){Pa=ps=!0;var n=t.pending;n===null?e.next=e:(e.next=n.next,n.next=e),t.pending=e}function xh(t,e,n){if((n&4194048)!==0){var l=e.lanes;l&=t.pendingLanes,n|=l,e.lanes=n,Rf(t,n)}}var Ts={readContext:ee,use:ys,useCallback:Bt,useContext:Bt,useEffect:Bt,useImperativeHandle:Bt,useLayoutEffect:Bt,useInsertionEffect:Bt,useMemo:Bt,useReducer:Bt,useRef:Bt,useState:Bt,useDebugValue:Bt,useDeferredValue:Bt,useTransition:Bt,useSyncExternalStore:Bt,useId:Bt,useHostTransitionStatus:Bt,useFormState:Bt,useActionState:Bt,useOptimistic:Bt,useMemoCache:Bt,useCacheRefresh:Bt},bh={readContext:ee,use:ys,useCallback:function(t,e){return ce().memoizedState=[t,e===void 0?null:e],t},useContext:ee,useEffect:ah,useImperativeHandle:function(t,e,n){n=n!=null?n.concat([t]):null,bs(4194308,4,rh.bind(null,e,t),n)},useLayoutEffect:function(t,e){return bs(4194308,4,t,e)},useInsertionEffect:function(t,e){bs(4,2,t,e)},useMemo:function(t,e){var n=ce();e=e===void 0?null:e;var l=t();if(ua){Tn(!0);try{t()}finally{Tn(!1)}}return n.memoizedState=[l,e],l},useReducer:function(t,e,n){var l=ce();if(n!==void 0){var o=n(e);if(ua){Tn(!0);try{n(e)}finally{Tn(!1)}}}else o=e;return l.memoizedState=l.baseState=o,t={pending:null,lanes:0,dispatch:null,lastRenderedReducer:t,lastRenderedState:o},l.queue=t,t=t.dispatch=f1.bind(null,ut,t),[l.memoizedState,t]},useRef:function(t){var e=ce();return t={current:t},e.memoizedState=t},useState:function(t){t=Uo(t);var e=t.queue,n=yh.bind(null,ut,e);return e.dispatch=n,[t.memoizedState,n]},useDebugValue:Ho,useDeferredValue:function(t,e){var n=ce();return qo(n,t,e)},useTransition:function(){var t=Uo(!1);return t=dh.bind(null,ut,t.queue,!0,!1),ce().memoizedState=t,[!1,t]},useSyncExternalStore:function(t,e,n){var l=ut,o=ce();if(yt){if(n===void 0)throw Error(r(407));n=n()}else{if(n=e(),At===null)throw Error(r(349));(ht&124)!==0||Yd(l,e,n)}o.memoizedState=n;var c={value:n,getSnapshot:e};return o.queue=c,ah(Gd.bind(null,l,c,t),[t]),l.flags|=2048,ka(9,xs(),Pd.bind(null,l,c,n,e),null),n},useId:function(){var t=ce(),e=At.identifierPrefix;if(yt){var n=ln,l=an;n=(l&~(1<<32-ge(l)-1)).toString(32)+n,e="«"+e+"R"+n,n=gs++,0<n&&(e+="H"+n.toString(32)),e+="»"}else n=l1++,e="«"+e+"r"+n.toString(32)+"»";return t.memoizedState=e},useHostTransitionStatus:Po,useFormState:Wd,useActionState:Wd,useOptimistic:function(t){var e=ce();e.memoizedState=e.baseState=t;var n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return e.queue=n,e=Go.bind(null,ut,!0,n),n.dispatch=e,[t,e]},useMemoCache:zo,useCacheRefresh:function(){return ce().memoizedState=c1.bind(null,ut)}},Sh={readContext:ee,use:ys,useCallback:uh,useContext:ee,useEffect:ih,useImperativeHandle:oh,useInsertionEffect:lh,useLayoutEffect:sh,useMemo:ch,useReducer:vs,useRef:nh,useState:function(){return vs(on)},useDebugValue:Ho,useDeferredValue:function(t,e){var n=qt();return fh(n,St.memoizedState,t,e)},useTransition:function(){var t=vs(on)[0],e=qt().memoizedState;return[typeof t=="boolean"?t:ki(t),e]},useSyncExternalStore:qd,useId:ph,useHostTransitionStatus:Po,useFormState:Id,useActionState:Id,useOptimistic:function(t,e){var n=qt();return Kd(n,St,t,e)},useMemoCache:zo,useCacheRefresh:gh},d1={readContext:ee,use:ys,useCallback:uh,useContext:ee,useEffect:ih,useImperativeHandle:oh,useInsertionEffect:lh,useLayoutEffect:sh,useMemo:ch,useReducer:Bo,useRef:nh,useState:function(){return Bo(on)},useDebugValue:Ho,useDeferredValue:function(t,e){var n=qt();return St===null?qo(n,t,e):fh(n,St.memoizedState,t,e)},useTransition:function(){var t=Bo(on)[0],e=qt().memoizedState;return[typeof t=="boolean"?t:ki(t),e]},useSyncExternalStore:qd,useId:ph,useHostTransitionStatus:Po,useFormState:eh,useActionState:eh,useOptimistic:function(t,e){var n=qt();return St!==null?Kd(n,St,t,e):(n.baseState=t,[t,n.queue.dispatch])},useMemoCache:zo,useCacheRefresh:gh},Xa=null,Qi=0;function js(t){var e=Qi;return Qi+=1,Xa===null&&(Xa=[]),Od(Xa,t,e)}function Zi(t,e){e=e.props.ref,t.ref=e!==void 0?e:null}function Es(t,e){throw e.$$typeof===b?Error(r(525)):(t=Object.prototype.toString.call(e),Error(r(31,t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)))}function Th(t){var e=t._init;return e(t._payload)}function jh(t){function e(M,A){if(t){var D=M.deletions;D===null?(M.deletions=[A],M.flags|=16):D.push(A)}}function n(M,A){if(!t)return null;for(;A!==null;)e(M,A),A=A.sibling;return null}function l(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 o(M,A){return M=nn(M,A),M.index=0,M.sibling=null,M}function c(M,A,D){return M.index=D,t?(D=M.alternate,D!==null?(D=D.index,D<A?(M.flags|=67108866,A):D):(M.flags|=67108866,A)):(M.flags|=1048576,A)}function g(M){return t&&M.alternate===null&&(M.flags|=67108866),M}function x(M,A,D,U){return A===null||A.tag!==6?(A=uo(D,M.mode,U),A.return=M,A):(A=o(A,D),A.return=M,A)}function T(M,A,D,U){var Q=D.type;return Q===N?L(M,A,D.props.children,U,D.key):A!==null&&(A.elementType===Q||typeof Q=="object"&&Q!==null&&Q.$$typeof===Z&&Th(Q)===A.type)?(A=o(A,D.props),Zi(A,D),A.return=M,A):(A=ss(D.type,D.key,D.props,null,M.mode,U),Zi(A,D),A.return=M,A)}function C(M,A,D,U){return A===null||A.tag!==4||A.stateNode.containerInfo!==D.containerInfo||A.stateNode.implementation!==D.implementation?(A=co(D,M.mode,U),A.return=M,A):(A=o(A,D.children||[]),A.return=M,A)}function L(M,A,D,U,Q){return A===null||A.tag!==7?(A=ea(D,M.mode,U,Q),A.return=M,A):(A=o(A,D),A.return=M,A)}function H(M,A,D){if(typeof A=="string"&&A!==""||typeof A=="number"||typeof A=="bigint")return A=uo(""+A,M.mode,D),A.return=M,A;if(typeof A=="object"&&A!==null){switch(A.$$typeof){case S:return D=ss(A.type,A.key,A.props,null,M.mode,D),Zi(D,A),D.return=M,D;case R:return A=co(A,M.mode,D),A.return=M,A;case Z:var U=A._init;return A=U(A._payload),H(M,A,D)}if(Ft(A)||Pt(A))return A=ea(A,M.mode,D,null),A.return=M,A;if(typeof A.then=="function")return H(M,js(A),D);if(A.$$typeof===q)return H(M,cs(M,A),D);Es(M,A)}return null}function w(M,A,D,U){var Q=A!==null?A.key:null;if(typeof D=="string"&&D!==""||typeof D=="number"||typeof D=="bigint")return Q!==null?null:x(M,A,""+D,U);if(typeof D=="object"&&D!==null){switch(D.$$typeof){case S:return D.key===Q?T(M,A,D,U):null;case R:return D.key===Q?C(M,A,D,U):null;case Z:return Q=D._init,D=Q(D._payload),w(M,A,D,U)}if(Ft(D)||Pt(D))return Q!==null?null:L(M,A,D,U,null);if(typeof D.then=="function")return w(M,A,js(D),U);if(D.$$typeof===q)return w(M,A,cs(M,D),U);Es(M,D)}return null}function O(M,A,D,U,Q){if(typeof U=="string"&&U!==""||typeof U=="number"||typeof U=="bigint")return M=M.get(D)||null,x(A,M,""+U,Q);if(typeof U=="object"&&U!==null){switch(U.$$typeof){case S:return M=M.get(U.key===null?D:U.key)||null,T(A,M,U,Q);case R:return M=M.get(U.key===null?D:U.key)||null,C(A,M,U,Q);case Z:var ct=U._init;return U=ct(U._payload),O(M,A,D,U,Q)}if(Ft(U)||Pt(U))return M=M.get(D)||null,L(A,M,U,Q,null);if(typeof U.then=="function")return O(M,A,D,js(U),Q);if(U.$$typeof===q)return O(M,A,D,cs(A,U),Q);Es(A,U)}return null}function at(M,A,D,U){for(var Q=null,ct=null,$=A,nt=A=0,Zt=null;$!==null&&nt<D.length;nt++){$.index>nt?(Zt=$,$=null):Zt=$.sibling;var pt=w(M,$,D[nt],U);if(pt===null){$===null&&($=Zt);break}t&&$&&pt.alternate===null&&e(M,$),A=c(pt,A,nt),ct===null?Q=pt:ct.sibling=pt,ct=pt,$=Zt}if(nt===D.length)return n(M,$),yt&&aa(M,nt),Q;if($===null){for(;nt<D.length;nt++)$=H(M,D[nt],U),$!==null&&(A=c($,A,nt),ct===null?Q=$:ct.sibling=$,ct=$);return yt&&aa(M,nt),Q}for($=l($);nt<D.length;nt++)Zt=O($,M,nt,D[nt],U),Zt!==null&&(t&&Zt.alternate!==null&&$.delete(Zt.key===null?nt:Zt.key),A=c(Zt,A,nt),ct===null?Q=Zt:ct.sibling=Zt,ct=Zt);return t&&$.forEach(function(Xn){return e(M,Xn)}),yt&&aa(M,nt),Q}function et(M,A,D,U){if(D==null)throw Error(r(151));for(var Q=null,ct=null,$=A,nt=A=0,Zt=null,pt=D.next();$!==null&&!pt.done;nt++,pt=D.next()){$.index>nt?(Zt=$,$=null):Zt=$.sibling;var Xn=w(M,$,pt.value,U);if(Xn===null){$===null&&($=Zt);break}t&&$&&Xn.alternate===null&&e(M,$),A=c(Xn,A,nt),ct===null?Q=Xn:ct.sibling=Xn,ct=Xn,$=Zt}if(pt.done)return n(M,$),yt&&aa(M,nt),Q;if($===null){for(;!pt.done;nt++,pt=D.next())pt=H(M,pt.value,U),pt!==null&&(A=c(pt,A,nt),ct===null?Q=pt:ct.sibling=pt,ct=pt);return yt&&aa(M,nt),Q}for($=l($);!pt.done;nt++,pt=D.next())pt=O($,M,nt,pt.value,U),pt!==null&&(t&&pt.alternate!==null&&$.delete(pt.key===null?nt:pt.key),A=c(pt,A,nt),ct===null?Q=pt:ct.sibling=pt,ct=pt);return t&&$.forEach(function(h2){return e(M,h2)}),yt&&aa(M,nt),Q}function jt(M,A,D,U){if(typeof D=="object"&&D!==null&&D.type===N&&D.key===null&&(D=D.props.children),typeof D=="object"&&D!==null){switch(D.$$typeof){case S:t:{for(var Q=D.key;A!==null;){if(A.key===Q){if(Q=D.type,Q===N){if(A.tag===7){n(M,A.sibling),U=o(A,D.props.children),U.return=M,M=U;break t}}else if(A.elementType===Q||typeof Q=="object"&&Q!==null&&Q.$$typeof===Z&&Th(Q)===A.type){n(M,A.sibling),U=o(A,D.props),Zi(U,D),U.return=M,M=U;break t}n(M,A);break}else e(M,A);A=A.sibling}D.type===N?(U=ea(D.props.children,M.mode,U,D.key),U.return=M,M=U):(U=ss(D.type,D.key,D.props,null,M.mode,U),Zi(U,D),U.return=M,M=U)}return g(M);case R:t:{for(Q=D.key;A!==null;){if(A.key===Q)if(A.tag===4&&A.stateNode.containerInfo===D.containerInfo&&A.stateNode.implementation===D.implementation){n(M,A.sibling),U=o(A,D.children||[]),U.return=M,M=U;break t}else{n(M,A);break}else e(M,A);A=A.sibling}U=co(D,M.mode,U),U.return=M,M=U}return g(M);case Z:return Q=D._init,D=Q(D._payload),jt(M,A,D,U)}if(Ft(D))return at(M,A,D,U);if(Pt(D)){if(Q=Pt(D),typeof Q!="function")throw Error(r(150));return D=Q.call(D),et(M,A,D,U)}if(typeof D.then=="function")return jt(M,A,js(D),U);if(D.$$typeof===q)return jt(M,A,cs(M,D),U);Es(M,D)}return typeof D=="string"&&D!==""||typeof D=="number"||typeof D=="bigint"?(D=""+D,A!==null&&A.tag===6?(n(M,A.sibling),U=o(A,D),U.return=M,M=U):(n(M,A),U=uo(D,M.mode,U),U.return=M,M=U),g(M)):n(M,A)}return function(M,A,D,U){try{Qi=0;var Q=jt(M,A,D,U);return Xa=null,Q}catch($){if($===_i||$===ds)throw $;var ct=ve(29,$,null,M.mode);return ct.lanes=U,ct.return=M,ct}finally{}}}var Ka=jh(!0),Eh=jh(!1),we=Y(null),Ge=null;function wn(t){var e=t.alternate;X(kt,kt.current&1),X(we,t),Ge===null&&(e===null||Ya.current!==null||e.memoizedState!==null)&&(Ge=t)}function Ah(t){if(t.tag===22){if(X(kt,kt.current),X(we,t),Ge===null){var e=t.alternate;e!==null&&e.memoizedState!==null&&(Ge=t)}}else Nn()}function Nn(){X(kt,kt.current),X(we,we.current)}function un(t){K(we),Ge===t&&(Ge=null),K(kt)}var kt=Y(0);function As(t){for(var e=t;e!==null;){if(e.tag===13){var n=e.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||Vu(n)))return e}else if(e.tag===19&&e.memoizedProps.revealOrder!==void 0){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}function ko(t,e,n,l){e=t.memoizedState,n=n(l,e),n=n==null?e:v({},e,n),t.memoizedState=n,t.lanes===0&&(t.updateQueue.baseState=n)}var Xo={enqueueSetState:function(t,e,n){t=t._reactInternals;var l=Te(),o=Rn(l);o.payload=e,n!=null&&(o.callback=n),e=Dn(t,o,l),e!==null&&(je(e,t,l),qi(e,t,l))},enqueueReplaceState:function(t,e,n){t=t._reactInternals;var l=Te(),o=Rn(l);o.tag=1,o.payload=e,n!=null&&(o.callback=n),e=Dn(t,o,l),e!==null&&(je(e,t,l),qi(e,t,l))},enqueueForceUpdate:function(t,e){t=t._reactInternals;var n=Te(),l=Rn(n);l.tag=2,e!=null&&(l.callback=e),e=Dn(t,l,n),e!==null&&(je(e,t,n),qi(e,t,n))}};function Mh(t,e,n,l,o,c,g){return t=t.stateNode,typeof t.shouldComponentUpdate=="function"?t.shouldComponentUpdate(l,c,g):e.prototype&&e.prototype.isPureReactComponent?!wi(n,l)||!wi(o,c):!0}function Rh(t,e,n,l){t=e.state,typeof e.componentWillReceiveProps=="function"&&e.componentWillReceiveProps(n,l),typeof e.UNSAFE_componentWillReceiveProps=="function"&&e.UNSAFE_componentWillReceiveProps(n,l),e.state!==t&&Xo.enqueueReplaceState(e,e.state,null)}function ca(t,e){var n=e;if("ref"in e){n={};for(var l in e)l!=="ref"&&(n[l]=e[l])}if(t=t.defaultProps){n===e&&(n=v({},n));for(var o in t)n[o]===void 0&&(n[o]=t[o])}return n}var Ms=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)};function Dh(t){Ms(t)}function Ch(t){console.error(t)}function wh(t){Ms(t)}function Rs(t,e){try{var n=t.onUncaughtError;n(e.value,{componentStack:e.stack})}catch(l){setTimeout(function(){throw l})}}function Nh(t,e,n){try{var l=t.onCaughtError;l(n.value,{componentStack:n.stack,errorBoundary:e.tag===1?e.stateNode:null})}catch(o){setTimeout(function(){throw o})}}function Ko(t,e,n){return n=Rn(n),n.tag=3,n.payload={element:null},n.callback=function(){Rs(t,e)},n}function Oh(t){return t=Rn(t),t.tag=3,t}function Vh(t,e,n,l){var o=n.type.getDerivedStateFromError;if(typeof o=="function"){var c=l.value;t.payload=function(){return o(c)},t.callback=function(){Nh(e,n,l)}}var g=n.stateNode;g!==null&&typeof g.componentDidCatch=="function"&&(t.callback=function(){Nh(e,n,l),typeof o!="function"&&(Un===null?Un=new Set([this]):Un.add(this));var x=l.stack;this.componentDidCatch(l.value,{componentStack:x!==null?x:""})})}function h1(t,e,n,l,o){if(n.flags|=32768,l!==null&&typeof l=="object"&&typeof l.then=="function"){if(e=n.alternate,e!==null&&Li(e,n,o,!0),n=we.current,n!==null){switch(n.tag){case 13:return Ge===null?gu():n.alternate===null&&Vt===0&&(Vt=3),n.flags&=-257,n.flags|=65536,n.lanes=o,l===So?n.flags|=16384:(e=n.updateQueue,e===null?n.updateQueue=new Set([l]):e.add(l),vu(t,l,o)),!1;case 22:return n.flags|=65536,l===So?n.flags|=16384:(e=n.updateQueue,e===null?(e={transitions:null,markerInstances:null,retryQueue:new Set([l])},n.updateQueue=e):(n=e.retryQueue,n===null?e.retryQueue=new Set([l]):n.add(l)),vu(t,l,o)),!1}throw Error(r(435,n.tag))}return vu(t,l,o),gu(),!1}if(yt)return e=we.current,e!==null?((e.flags&65536)===0&&(e.flags|=256),e.flags|=65536,e.lanes=o,l!==mo&&(t=Error(r(422),{cause:l}),zi(Me(t,n)))):(l!==mo&&(e=Error(r(423),{cause:l}),zi(Me(e,n))),t=t.current.alternate,t.flags|=65536,o&=-o,t.lanes|=o,l=Me(l,n),o=Ko(t.stateNode,l,o),Eo(t,o),Vt!==4&&(Vt=2)),!1;var c=Error(r(520),{cause:l});if(c=Me(c,n),el===null?el=[c]:el.push(c),Vt!==4&&(Vt=2),e===null)return!0;l=Me(l,n),n=e;do{switch(n.tag){case 3:return n.flags|=65536,t=o&-o,n.lanes|=t,t=Ko(n.stateNode,l,t),Eo(n,t),!1;case 1:if(e=n.type,c=n.stateNode,(n.flags&128)===0&&(typeof e.getDerivedStateFromError=="function"||c!==null&&typeof c.componentDidCatch=="function"&&(Un===null||!Un.has(c))))return n.flags|=65536,o&=-o,n.lanes|=o,o=Oh(o),Vh(o,t,n,l),Eo(n,o),!1}n=n.return}while(n!==null);return!1}var zh=Error(r(461)),Kt=!1;function Jt(t,e,n,l){e.child=t===null?Eh(e,null,n,l):Ka(e,t.child,n,l)}function Lh(t,e,n,l,o){n=n.render;var c=e.ref;if("ref"in l){var g={};for(var x in l)x!=="ref"&&(g[x]=l[x])}else g=l;return ra(e),l=Co(t,e,n,g,c,o),x=wo(),t!==null&&!Kt?(No(t,e,o),cn(t,e,o)):(yt&&x&&fo(e),e.flags|=1,Jt(t,e,l,o),e.child)}function Bh(t,e,n,l,o){if(t===null){var c=n.type;return typeof c=="function"&&!oo(c)&&c.defaultProps===void 0&&n.compare===null?(e.tag=15,e.type=c,Uh(t,e,c,l,o)):(t=ss(n.type,null,l,e,e.mode,o),t.ref=e.ref,t.return=e,e.child=t)}if(c=t.child,!tu(t,o)){var g=c.memoizedProps;if(n=n.compare,n=n!==null?n:wi,n(g,l)&&t.ref===e.ref)return cn(t,e,o)}return e.flags|=1,t=nn(c,l),t.ref=e.ref,t.return=e,e.child=t}function Uh(t,e,n,l,o){if(t!==null){var c=t.memoizedProps;if(wi(c,l)&&t.ref===e.ref)if(Kt=!1,e.pendingProps=l=c,tu(t,o))(t.flags&131072)!==0&&(Kt=!0);else return e.lanes=t.lanes,cn(t,e,o)}return Qo(t,e,n,l,o)}function _h(t,e,n){var l=e.pendingProps,o=l.children,c=t!==null?t.memoizedState:null;if(l.mode==="hidden"){if((e.flags&128)!==0){if(l=c!==null?c.baseLanes|n:n,t!==null){for(o=e.child=t.child,c=0;o!==null;)c=c|o.lanes|o.childLanes,o=o.sibling;e.childLanes=c&~l}else e.childLanes=0,e.child=null;return Hh(t,e,l,n)}if((n&536870912)!==0)e.memoizedState={baseLanes:0,cachePool:null},t!==null&&fs(e,c!==null?c.cachePool:null),c!==null?Ud(e,c):Mo(),Ah(e);else return e.lanes=e.childLanes=536870912,Hh(t,e,c!==null?c.baseLanes|n:n,n)}else c!==null?(fs(e,c.cachePool),Ud(e,c),Nn(),e.memoizedState=null):(t!==null&&fs(e,null),Mo(),Nn());return Jt(t,e,o,n),e.child}function Hh(t,e,n,l){var o=bo();return o=o===null?null:{parent:Gt._currentValue,pool:o},e.memoizedState={baseLanes:n,cachePool:o},t!==null&&fs(e,null),Mo(),Ah(e),t!==null&&Li(t,e,l,!0),null}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(r(284));(t===null||t.ref!==n)&&(e.flags|=4194816)}}function Qo(t,e,n,l,o){return ra(e),n=Co(t,e,n,l,void 0,o),l=wo(),t!==null&&!Kt?(No(t,e,o),cn(t,e,o)):(yt&&l&&fo(e),e.flags|=1,Jt(t,e,n,o),e.child)}function qh(t,e,n,l,o,c){return ra(e),e.updateQueue=null,n=Hd(e,l,n,o),_d(t),l=wo(),t!==null&&!Kt?(No(t,e,c),cn(t,e,c)):(yt&&l&&fo(e),e.flags|=1,Jt(t,e,n,c),e.child)}function Yh(t,e,n,l,o){if(ra(e),e.stateNode===null){var c=Ba,g=n.contextType;typeof g=="object"&&g!==null&&(c=ee(g)),c=new n(l,c),e.memoizedState=c.state!==null&&c.state!==void 0?c.state:null,c.updater=Xo,e.stateNode=c,c._reactInternals=e,c=e.stateNode,c.props=l,c.state=e.memoizedState,c.refs={},To(e),g=n.contextType,c.context=typeof g=="object"&&g!==null?ee(g):Ba,c.state=e.memoizedState,g=n.getDerivedStateFromProps,typeof g=="function"&&(ko(e,n,g,l),c.state=e.memoizedState),typeof n.getDerivedStateFromProps=="function"||typeof c.getSnapshotBeforeUpdate=="function"||typeof c.UNSAFE_componentWillMount!="function"&&typeof c.componentWillMount!="function"||(g=c.state,typeof c.componentWillMount=="function"&&c.componentWillMount(),typeof c.UNSAFE_componentWillMount=="function"&&c.UNSAFE_componentWillMount(),g!==c.state&&Xo.enqueueReplaceState(c,c.state,null),Pi(e,l,c,o),Yi(),c.state=e.memoizedState),typeof c.componentDidMount=="function"&&(e.flags|=4194308),l=!0}else if(t===null){c=e.stateNode;var x=e.memoizedProps,T=ca(n,x);c.props=T;var C=c.context,L=n.contextType;g=Ba,typeof L=="object"&&L!==null&&(g=ee(L));var H=n.getDerivedStateFromProps;L=typeof H=="function"||typeof c.getSnapshotBeforeUpdate=="function",x=e.pendingProps!==x,L||typeof c.UNSAFE_componentWillReceiveProps!="function"&&typeof c.componentWillReceiveProps!="function"||(x||C!==g)&&Rh(e,c,l,g),Mn=!1;var w=e.memoizedState;c.state=w,Pi(e,l,c,o),Yi(),C=e.memoizedState,x||w!==C||Mn?(typeof H=="function"&&(ko(e,n,H,l),C=e.memoizedState),(T=Mn||Mh(e,n,T,l,w,C,g))?(L||typeof c.UNSAFE_componentWillMount!="function"&&typeof c.componentWillMount!="function"||(typeof c.componentWillMount=="function"&&c.componentWillMount(),typeof c.UNSAFE_componentWillMount=="function"&&c.UNSAFE_componentWillMount()),typeof c.componentDidMount=="function"&&(e.flags|=4194308)):(typeof c.componentDidMount=="function"&&(e.flags|=4194308),e.memoizedProps=l,e.memoizedState=C),c.props=l,c.state=C,c.context=g,l=T):(typeof c.componentDidMount=="function"&&(e.flags|=4194308),l=!1)}else{c=e.stateNode,jo(t,e),g=e.memoizedProps,L=ca(n,g),c.props=L,H=e.pendingProps,w=c.context,C=n.contextType,T=Ba,typeof C=="object"&&C!==null&&(T=ee(C)),x=n.getDerivedStateFromProps,(C=typeof x=="function"||typeof c.getSnapshotBeforeUpdate=="function")||typeof c.UNSAFE_componentWillReceiveProps!="function"&&typeof c.componentWillReceiveProps!="function"||(g!==H||w!==T)&&Rh(e,c,l,T),Mn=!1,w=e.memoizedState,c.state=w,Pi(e,l,c,o),Yi();var O=e.memoizedState;g!==H||w!==O||Mn||t!==null&&t.dependencies!==null&&us(t.dependencies)?(typeof x=="function"&&(ko(e,n,x,l),O=e.memoizedState),(L=Mn||Mh(e,n,L,l,w,O,T)||t!==null&&t.dependencies!==null&&us(t.dependencies))?(C||typeof c.UNSAFE_componentWillUpdate!="function"&&typeof c.componentWillUpdate!="function"||(typeof c.componentWillUpdate=="function"&&c.componentWillUpdate(l,O,T),typeof c.UNSAFE_componentWillUpdate=="function"&&c.UNSAFE_componentWillUpdate(l,O,T)),typeof c.componentDidUpdate=="function"&&(e.flags|=4),typeof c.getSnapshotBeforeUpdate=="function"&&(e.flags|=1024)):(typeof c.componentDidUpdate!="function"||g===t.memoizedProps&&w===t.memoizedState||(e.flags|=4),typeof c.getSnapshotBeforeUpdate!="function"||g===t.memoizedProps&&w===t.memoizedState||(e.flags|=1024),e.memoizedProps=l,e.memoizedState=O),c.props=l,c.state=O,c.context=T,l=L):(typeof c.componentDidUpdate!="function"||g===t.memoizedProps&&w===t.memoizedState||(e.flags|=4),typeof c.getSnapshotBeforeUpdate!="function"||g===t.memoizedProps&&w===t.memoizedState||(e.flags|=1024),l=!1)}return c=l,Ds(t,e),l=(e.flags&128)!==0,c||l?(c=e.stateNode,n=l&&typeof n.getDerivedStateFromError!="function"?null:c.render(),e.flags|=1,t!==null&&l?(e.child=Ka(e,t.child,null,o),e.child=Ka(e,null,n,o)):Jt(t,e,n,o),e.memoizedState=c.state,t=e.child):t=cn(t,e,o),t}function Ph(t,e,n,l){return Vi(),e.flags|=256,Jt(t,e,n,l),e.child}var Zo={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function Fo(t){return{baseLanes:t,cachePool:Cd()}}function Jo(t,e,n){return t=t!==null?t.childLanes&~n:0,e&&(t|=Ne),t}function Gh(t,e,n){var l=e.pendingProps,o=!1,c=(e.flags&128)!==0,g;if((g=c)||(g=t!==null&&t.memoizedState===null?!1:(kt.current&2)!==0),g&&(o=!0,e.flags&=-129),g=(e.flags&32)!==0,e.flags&=-33,t===null){if(yt){if(o?wn(e):Nn(),yt){var x=Ot,T;if(T=x){t:{for(T=x,x=Pe;T.nodeType!==8;){if(!x){x=null;break t}if(T=_e(T.nextSibling),T===null){x=null;break t}}x=T}x!==null?(e.memoizedState={dehydrated:x,treeContext:na!==null?{id:an,overflow:ln}:null,retryLane:536870912,hydrationErrors:null},T=ve(18,null,null,0),T.stateNode=x,T.return=e,e.child=T,le=e,Ot=null,T=!0):T=!1}T||la(e)}if(x=e.memoizedState,x!==null&&(x=x.dehydrated,x!==null))return Vu(x)?e.lanes=32:e.lanes=536870912,null;un(e)}return x=l.children,l=l.fallback,o?(Nn(),o=e.mode,x=Cs({mode:"hidden",children:x},o),l=ea(l,o,n,null),x.return=e,l.return=e,x.sibling=l,e.child=x,o=e.child,o.memoizedState=Fo(n),o.childLanes=Jo(t,g,n),e.memoizedState=Zo,l):(wn(e),$o(e,x))}if(T=t.memoizedState,T!==null&&(x=T.dehydrated,x!==null)){if(c)e.flags&256?(wn(e),e.flags&=-257,e=Wo(t,e,n)):e.memoizedState!==null?(Nn(),e.child=t.child,e.flags|=128,e=null):(Nn(),o=l.fallback,x=e.mode,l=Cs({mode:"visible",children:l.children},x),o=ea(o,x,n,null),o.flags|=2,l.return=e,o.return=e,l.sibling=o,e.child=l,Ka(e,t.child,null,n),l=e.child,l.memoizedState=Fo(n),l.childLanes=Jo(t,g,n),e.memoizedState=Zo,e=o);else if(wn(e),Vu(x)){if(g=x.nextSibling&&x.nextSibling.dataset,g)var C=g.dgst;g=C,l=Error(r(419)),l.stack="",l.digest=g,zi({value:l,source:null,stack:null}),e=Wo(t,e,n)}else if(Kt||Li(t,e,n,!1),g=(n&t.childLanes)!==0,Kt||g){if(g=At,g!==null&&(l=n&-n,l=(l&42)!==0?1:Vr(l),l=(l&(g.suspendedLanes|n))!==0?0:l,l!==0&&l!==T.retryLane))throw T.retryLane=l,La(t,l),je(g,t,l),zh;x.data==="$?"||gu(),e=Wo(t,e,n)}else x.data==="$?"?(e.flags|=192,e.child=t.child,e=null):(t=T.treeContext,Ot=_e(x.nextSibling),le=e,yt=!0,ia=null,Pe=!1,t!==null&&(De[Ce++]=an,De[Ce++]=ln,De[Ce++]=na,an=t.id,ln=t.overflow,na=e),e=$o(e,l.children),e.flags|=4096);return e}return o?(Nn(),o=l.fallback,x=e.mode,T=t.child,C=T.sibling,l=nn(T,{mode:"hidden",children:l.children}),l.subtreeFlags=T.subtreeFlags&65011712,C!==null?o=nn(C,o):(o=ea(o,x,n,null),o.flags|=2),o.return=e,l.return=e,l.sibling=o,e.child=l,l=o,o=e.child,x=t.child.memoizedState,x===null?x=Fo(n):(T=x.cachePool,T!==null?(C=Gt._currentValue,T=T.parent!==C?{parent:C,pool:C}:T):T=Cd(),x={baseLanes:x.baseLanes|n,cachePool:T}),o.memoizedState=x,o.childLanes=Jo(t,g,n),e.memoizedState=Zo,l):(wn(e),n=t.child,t=n.sibling,n=nn(n,{mode:"visible",children:l.children}),n.return=e,n.sibling=null,t!==null&&(g=e.deletions,g===null?(e.deletions=[t],e.flags|=16):g.push(t)),e.child=n,e.memoizedState=null,n)}function $o(t,e){return e=Cs({mode:"visible",children:e},t.mode),e.return=t,t.child=e}function Cs(t,e){return t=ve(22,t,null,e),t.lanes=0,t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null},t}function Wo(t,e,n){return Ka(e,t.child,null,n),t=$o(e,e.pendingProps.children),t.flags|=2,e.memoizedState=null,t}function kh(t,e,n){t.lanes|=e;var l=t.alternate;l!==null&&(l.lanes|=e),go(t.return,e,n)}function Io(t,e,n,l,o){var c=t.memoizedState;c===null?t.memoizedState={isBackwards:e,rendering:null,renderingStartTime:0,last:l,tail:n,tailMode:o}:(c.isBackwards=e,c.rendering=null,c.renderingStartTime=0,c.last=l,c.tail=n,c.tailMode=o)}function Xh(t,e,n){var l=e.pendingProps,o=l.revealOrder,c=l.tail;if(Jt(t,e,l.children,n),l=kt.current,(l&2)!==0)l=l&1|2,e.flags|=128;else{if(t!==null&&(t.flags&128)!==0)t:for(t=e.child;t!==null;){if(t.tag===13)t.memoizedState!==null&&kh(t,n,e);else if(t.tag===19)kh(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}l&=1}switch(X(kt,l),o){case"forwards":for(n=e.child,o=null;n!==null;)t=n.alternate,t!==null&&As(t)===null&&(o=n),n=n.sibling;n=o,n===null?(o=e.child,e.child=null):(o=n.sibling,n.sibling=null),Io(e,!1,o,n,c);break;case"backwards":for(n=null,o=e.child,e.child=null;o!==null;){if(t=o.alternate,t!==null&&As(t)===null){e.child=o;break}t=o.sibling,o.sibling=n,n=o,o=t}Io(e,!0,n,null,c);break;case"together":Io(e,!1,null,null,void 0);break;default:e.memoizedState=null}return e.child}function cn(t,e,n){if(t!==null&&(e.dependencies=t.dependencies),Bn|=e.lanes,(n&e.childLanes)===0)if(t!==null){if(Li(t,e,n,!1),(n&e.childLanes)===0)return null}else return null;if(t!==null&&e.child!==t.child)throw Error(r(153));if(e.child!==null){for(t=e.child,n=nn(t,t.pendingProps),e.child=n,n.return=e;t.sibling!==null;)t=t.sibling,n=n.sibling=nn(t,t.pendingProps),n.return=e;n.sibling=null}return e.child}function tu(t,e){return(t.lanes&e)!==0?!0:(t=t.dependencies,!!(t!==null&&us(t)))}function m1(t,e,n){switch(e.tag){case 3:Mt(e,e.stateNode.containerInfo),An(e,Gt,t.memoizedState.cache),Vi();break;case 27:case 5:Dr(e);break;case 4:Mt(e,e.stateNode.containerInfo);break;case 10:An(e,e.type,e.memoizedProps.value);break;case 13:var l=e.memoizedState;if(l!==null)return l.dehydrated!==null?(wn(e),e.flags|=128,null):(n&e.child.childLanes)!==0?Gh(t,e,n):(wn(e),t=cn(t,e,n),t!==null?t.sibling:null);wn(e);break;case 19:var o=(t.flags&128)!==0;if(l=(n&e.childLanes)!==0,l||(Li(t,e,n,!1),l=(n&e.childLanes)!==0),o){if(l)return Xh(t,e,n);e.flags|=128}if(o=e.memoizedState,o!==null&&(o.rendering=null,o.tail=null,o.lastEffect=null),X(kt,kt.current),l)break;return null;case 22:case 23:return e.lanes=0,_h(t,e,n);case 24:An(e,Gt,t.memoizedState.cache)}return cn(t,e,n)}function Kh(t,e,n){if(t!==null)if(t.memoizedProps!==e.pendingProps)Kt=!0;else{if(!tu(t,n)&&(e.flags&128)===0)return Kt=!1,m1(t,e,n);Kt=(t.flags&131072)!==0}else Kt=!1,yt&&(e.flags&1048576)!==0&&Td(e,os,e.index);switch(e.lanes=0,e.tag){case 16:t:{t=e.pendingProps;var l=e.elementType,o=l._init;if(l=o(l._payload),e.type=l,typeof l=="function")oo(l)?(t=ca(l,t),e.tag=1,e=Yh(null,e,l,t,n)):(e.tag=0,e=Qo(null,e,l,t,n));else{if(l!=null){if(o=l.$$typeof,o===F){e.tag=11,e=Lh(null,e,l,t,n);break t}else if(o===I){e.tag=14,e=Bh(null,e,l,t,n);break t}}throw e=qe(l)||l,Error(r(306,e,""))}}return e;case 0:return Qo(t,e,e.type,e.pendingProps,n);case 1:return l=e.type,o=ca(l,e.pendingProps),Yh(t,e,l,o,n);case 3:t:{if(Mt(e,e.stateNode.containerInfo),t===null)throw Error(r(387));l=e.pendingProps;var c=e.memoizedState;o=c.element,jo(t,e),Pi(e,l,null,n);var g=e.memoizedState;if(l=g.cache,An(e,Gt,l),l!==c.cache&&yo(e,[Gt],n,!0),Yi(),l=g.element,c.isDehydrated)if(c={element:l,isDehydrated:!1,cache:g.cache},e.updateQueue.baseState=c,e.memoizedState=c,e.flags&256){e=Ph(t,e,l,n);break t}else if(l!==o){o=Me(Error(r(424)),e),zi(o),e=Ph(t,e,l,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(Ot=_e(t.firstChild),le=e,yt=!0,ia=null,Pe=!0,n=Eh(e,null,l,n),e.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling}else{if(Vi(),l===o){e=cn(t,e,n);break t}Jt(t,e,l,n)}e=e.child}return e;case 26:return Ds(t,e),t===null?(n=Jm(e.type,null,e.pendingProps,null))?e.memoizedState=n:yt||(n=e.type,t=e.pendingProps,l=Gs(lt.current).createElement(n),l[te]=e,l[oe]=t,Wt(l,n,t),Xt(l),e.stateNode=l):e.memoizedState=Jm(e.type,t.memoizedProps,e.pendingProps,t.memoizedState),null;case 27:return Dr(e),t===null&&yt&&(l=e.stateNode=Qm(e.type,e.pendingProps,lt.current),le=e,Pe=!0,o=Ot,qn(e.type)?(zu=o,Ot=_e(l.firstChild)):Ot=o),Jt(t,e,e.pendingProps.children,n),Ds(t,e),t===null&&(e.flags|=4194304),e.child;case 5:return t===null&&yt&&((o=l=Ot)&&(l=P1(l,e.type,e.pendingProps,Pe),l!==null?(e.stateNode=l,le=e,Ot=_e(l.firstChild),Pe=!1,o=!0):o=!1),o||la(e)),Dr(e),o=e.type,c=e.pendingProps,g=t!==null?t.memoizedProps:null,l=c.children,wu(o,c)?l=null:g!==null&&wu(o,g)&&(e.flags|=32),e.memoizedState!==null&&(o=Co(t,e,s1,null,null,n),cl._currentValue=o),Ds(t,e),Jt(t,e,l,n),e.child;case 6:return t===null&&yt&&((t=n=Ot)&&(n=G1(n,e.pendingProps,Pe),n!==null?(e.stateNode=n,le=e,Ot=null,t=!0):t=!1),t||la(e)),null;case 13:return Gh(t,e,n);case 4:return Mt(e,e.stateNode.containerInfo),l=e.pendingProps,t===null?e.child=Ka(e,null,l,n):Jt(t,e,l,n),e.child;case 11:return Lh(t,e,e.type,e.pendingProps,n);case 7:return Jt(t,e,e.pendingProps,n),e.child;case 8:return Jt(t,e,e.pendingProps.children,n),e.child;case 12:return Jt(t,e,e.pendingProps.children,n),e.child;case 10:return l=e.pendingProps,An(e,e.type,l.value),Jt(t,e,l.children,n),e.child;case 9:return o=e.type._context,l=e.pendingProps.children,ra(e),o=ee(o),l=l(o),e.flags|=1,Jt(t,e,l,n),e.child;case 14:return Bh(t,e,e.type,e.pendingProps,n);case 15:return Uh(t,e,e.type,e.pendingProps,n);case 19:return Xh(t,e,n);case 31:return l=e.pendingProps,n=e.mode,l={mode:l.mode,children:l.children},t===null?(n=Cs(l,n),n.ref=e.ref,e.child=n,n.return=e,e=n):(n=nn(t.child,l),n.ref=e.ref,e.child=n,n.return=e,e=n),e;case 22:return _h(t,e,n);case 24:return ra(e),l=ee(Gt),t===null?(o=bo(),o===null&&(o=At,c=vo(),o.pooledCache=c,c.refCount++,c!==null&&(o.pooledCacheLanes|=n),o=c),e.memoizedState={parent:l,cache:o},To(e),An(e,Gt,o)):((t.lanes&n)!==0&&(jo(t,e),Pi(e,null,null,n),Yi()),o=t.memoizedState,c=e.memoizedState,o.parent!==l?(o={parent:l,cache:l},e.memoizedState=o,e.lanes===0&&(e.memoizedState=e.updateQueue.baseState=o),An(e,Gt,l)):(l=c.cache,An(e,Gt,l),l!==o.cache&&yo(e,[Gt],n,!0))),Jt(t,e,e.pendingProps.children,n),e.child;case 29:throw e.pendingProps}throw Error(r(156,e.tag))}function fn(t){t.flags|=4}function Qh(t,e){if(e.type!=="stylesheet"||(e.state.loading&4)!==0)t.flags&=-16777217;else if(t.flags|=16777216,!ep(e)){if(e=we.current,e!==null&&((ht&4194048)===ht?Ge!==null:(ht&62914560)!==ht&&(ht&536870912)===0||e!==Ge))throw Hi=So,wd;t.flags|=8192}}function ws(t,e){e!==null&&(t.flags|=4),t.flags&16384&&(e=t.tag!==22?Af():536870912,t.lanes|=e,Ja|=e)}function Fi(t,e){if(!yt)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 l=null;n!==null;)n.alternate!==null&&(l=n),n=n.sibling;l===null?e||t.tail===null?t.tail=null:t.tail.sibling=null:l.sibling=null}}function Ct(t){var e=t.alternate!==null&&t.alternate.child===t.child,n=0,l=0;if(e)for(var o=t.child;o!==null;)n|=o.lanes|o.childLanes,l|=o.subtreeFlags&65011712,l|=o.flags&65011712,o.return=t,o=o.sibling;else for(o=t.child;o!==null;)n|=o.lanes|o.childLanes,l|=o.subtreeFlags,l|=o.flags,o.return=t,o=o.sibling;return t.subtreeFlags|=l,t.childLanes=n,e}function p1(t,e,n){var l=e.pendingProps;switch(ho(e),e.tag){case 31:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Ct(e),null;case 1:return Ct(e),null;case 3:return n=e.stateNode,l=null,t!==null&&(l=t.memoizedState.cache),e.memoizedState.cache!==l&&(e.flags|=2048),rn(Gt),Sn(),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),(t===null||t.child===null)&&(Oi(e)?fn(e):t===null||t.memoizedState.isDehydrated&&(e.flags&256)===0||(e.flags|=1024,Ad())),Ct(e),null;case 26:return n=e.memoizedState,t===null?(fn(e),n!==null?(Ct(e),Qh(e,n)):(Ct(e),e.flags&=-16777217)):n?n!==t.memoizedState?(fn(e),Ct(e),Qh(e,n)):(Ct(e),e.flags&=-16777217):(t.memoizedProps!==l&&fn(e),Ct(e),e.flags&=-16777217),null;case 27:Yl(e),n=lt.current;var o=e.type;if(t!==null&&e.stateNode!=null)t.memoizedProps!==l&&fn(e);else{if(!l){if(e.stateNode===null)throw Error(r(166));return Ct(e),null}t=tt.current,Oi(e)?jd(e):(t=Qm(o,l,n),e.stateNode=t,fn(e))}return Ct(e),null;case 5:if(Yl(e),n=e.type,t!==null&&e.stateNode!=null)t.memoizedProps!==l&&fn(e);else{if(!l){if(e.stateNode===null)throw Error(r(166));return Ct(e),null}if(t=tt.current,Oi(e))jd(e);else{switch(o=Gs(lt.current),t){case 1:t=o.createElementNS("http://www.w3.org/2000/svg",n);break;case 2:t=o.createElementNS("http://www.w3.org/1998/Math/MathML",n);break;default:switch(n){case"svg":t=o.createElementNS("http://www.w3.org/2000/svg",n);break;case"math":t=o.createElementNS("http://www.w3.org/1998/Math/MathML",n);break;case"script":t=o.createElement("div"),t.innerHTML="<script><\/script>",t=t.removeChild(t.firstChild);break;case"select":t=typeof l.is=="string"?o.createElement("select",{is:l.is}):o.createElement("select"),l.multiple?t.multiple=!0:l.size&&(t.size=l.size);break;default:t=typeof l.is=="string"?o.createElement(n,{is:l.is}):o.createElement(n)}}t[te]=e,t[oe]=l;t:for(o=e.child;o!==null;){if(o.tag===5||o.tag===6)t.appendChild(o.stateNode);else if(o.tag!==4&&o.tag!==27&&o.child!==null){o.child.return=o,o=o.child;continue}if(o===e)break t;for(;o.sibling===null;){if(o.return===null||o.return===e)break t;o=o.return}o.sibling.return=o.return,o=o.sibling}e.stateNode=t;t:switch(Wt(t,n,l),n){case"button":case"input":case"select":case"textarea":t=!!l.autoFocus;break t;case"img":t=!0;break t;default:t=!1}t&&fn(e)}}return Ct(e),e.flags&=-16777217,null;case 6:if(t&&e.stateNode!=null)t.memoizedProps!==l&&fn(e);else{if(typeof l!="string"&&e.stateNode===null)throw Error(r(166));if(t=lt.current,Oi(e)){if(t=e.stateNode,n=e.memoizedProps,l=null,o=le,o!==null)switch(o.tag){case 27:case 5:l=o.memoizedProps}t[te]=e,t=!!(t.nodeValue===n||l!==null&&l.suppressHydrationWarning===!0||qm(t.nodeValue,n)),t||la(e)}else t=Gs(t).createTextNode(l),t[te]=e,e.stateNode=t}return Ct(e),null;case 13:if(l=e.memoizedState,t===null||t.memoizedState!==null&&t.memoizedState.dehydrated!==null){if(o=Oi(e),l!==null&&l.dehydrated!==null){if(t===null){if(!o)throw Error(r(318));if(o=e.memoizedState,o=o!==null?o.dehydrated:null,!o)throw Error(r(317));o[te]=e}else Vi(),(e.flags&128)===0&&(e.memoizedState=null),e.flags|=4;Ct(e),o=!1}else o=Ad(),t!==null&&t.memoizedState!==null&&(t.memoizedState.hydrationErrors=o),o=!0;if(!o)return e.flags&256?(un(e),e):(un(e),null)}if(un(e),(e.flags&128)!==0)return e.lanes=n,e;if(n=l!==null,t=t!==null&&t.memoizedState!==null,n){l=e.child,o=null,l.alternate!==null&&l.alternate.memoizedState!==null&&l.alternate.memoizedState.cachePool!==null&&(o=l.alternate.memoizedState.cachePool.pool);var c=null;l.memoizedState!==null&&l.memoizedState.cachePool!==null&&(c=l.memoizedState.cachePool.pool),c!==o&&(l.flags|=2048)}return n!==t&&n&&(e.child.flags|=8192),ws(e,e.updateQueue),Ct(e),null;case 4:return Sn(),t===null&&Au(e.stateNode.containerInfo),Ct(e),null;case 10:return rn(e.type),Ct(e),null;case 19:if(K(kt),o=e.memoizedState,o===null)return Ct(e),null;if(l=(e.flags&128)!==0,c=o.rendering,c===null)if(l)Fi(o,!1);else{if(Vt!==0||t!==null&&(t.flags&128)!==0)for(t=e.child;t!==null;){if(c=As(t),c!==null){for(e.flags|=128,Fi(o,!1),t=c.updateQueue,e.updateQueue=t,ws(e,t),e.subtreeFlags=0,t=n,n=e.child;n!==null;)Sd(n,t),n=n.sibling;return X(kt,kt.current&1|2),e.child}t=t.sibling}o.tail!==null&&Ye()>Vs&&(e.flags|=128,l=!0,Fi(o,!1),e.lanes=4194304)}else{if(!l)if(t=As(c),t!==null){if(e.flags|=128,l=!0,t=t.updateQueue,e.updateQueue=t,ws(e,t),Fi(o,!0),o.tail===null&&o.tailMode==="hidden"&&!c.alternate&&!yt)return Ct(e),null}else 2*Ye()-o.renderingStartTime>Vs&&n!==536870912&&(e.flags|=128,l=!0,Fi(o,!1),e.lanes=4194304);o.isBackwards?(c.sibling=e.child,e.child=c):(t=o.last,t!==null?t.sibling=c:e.child=c,o.last=c)}return o.tail!==null?(e=o.tail,o.rendering=e,o.tail=e.sibling,o.renderingStartTime=Ye(),e.sibling=null,t=kt.current,X(kt,l?t&1|2:t&1),e):(Ct(e),null);case 22:case 23:return un(e),Ro(),l=e.memoizedState!==null,t!==null?t.memoizedState!==null!==l&&(e.flags|=8192):l&&(e.flags|=8192),l?(n&536870912)!==0&&(e.flags&128)===0&&(Ct(e),e.subtreeFlags&6&&(e.flags|=8192)):Ct(e),n=e.updateQueue,n!==null&&ws(e,n.retryQueue),n=null,t!==null&&t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(n=t.memoizedState.cachePool.pool),l=null,e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(l=e.memoizedState.cachePool.pool),l!==n&&(e.flags|=2048),t!==null&&K(oa),null;case 24:return n=null,t!==null&&(n=t.memoizedState.cache),e.memoizedState.cache!==n&&(e.flags|=2048),rn(Gt),Ct(e),null;case 25:return null;case 30:return null}throw Error(r(156,e.tag))}function g1(t,e){switch(ho(e),e.tag){case 1:return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 3:return rn(Gt),Sn(),t=e.flags,(t&65536)!==0&&(t&128)===0?(e.flags=t&-65537|128,e):null;case 26:case 27:case 5:return Yl(e),null;case 13:if(un(e),t=e.memoizedState,t!==null&&t.dehydrated!==null){if(e.alternate===null)throw Error(r(340));Vi()}return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 19:return K(kt),null;case 4:return Sn(),null;case 10:return rn(e.type),null;case 22:case 23:return un(e),Ro(),t!==null&&K(oa),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 Zh(t,e){switch(ho(e),e.tag){case 3:rn(Gt),Sn();break;case 26:case 27:case 5:Yl(e);break;case 4:Sn();break;case 13:un(e);break;case 19:K(kt);break;case 10:rn(e.type);break;case 22:case 23:un(e),Ro(),t!==null&&K(oa);break;case 24:rn(Gt)}}function Ji(t,e){try{var n=e.updateQueue,l=n!==null?n.lastEffect:null;if(l!==null){var o=l.next;n=o;do{if((n.tag&t)===t){l=void 0;var c=n.create,g=n.inst;l=c(),g.destroy=l}n=n.next}while(n!==o)}}catch(x){Et(e,e.return,x)}}function On(t,e,n){try{var l=e.updateQueue,o=l!==null?l.lastEffect:null;if(o!==null){var c=o.next;l=c;do{if((l.tag&t)===t){var g=l.inst,x=g.destroy;if(x!==void 0){g.destroy=void 0,o=e;var T=n,C=x;try{C()}catch(L){Et(o,T,L)}}}l=l.next}while(l!==c)}}catch(L){Et(e,e.return,L)}}function Fh(t){var e=t.updateQueue;if(e!==null){var n=t.stateNode;try{Bd(e,n)}catch(l){Et(t,t.return,l)}}}function Jh(t,e,n){n.props=ca(t.type,t.memoizedProps),n.state=t.memoizedState;try{n.componentWillUnmount()}catch(l){Et(t,e,l)}}function $i(t,e){try{var n=t.ref;if(n!==null){switch(t.tag){case 26:case 27:case 5:var l=t.stateNode;break;case 30:l=t.stateNode;break;default:l=t.stateNode}typeof n=="function"?t.refCleanup=n(l):n.current=l}}catch(o){Et(t,e,o)}}function ke(t,e){var n=t.ref,l=t.refCleanup;if(n!==null)if(typeof l=="function")try{l()}catch(o){Et(t,e,o)}finally{t.refCleanup=null,t=t.alternate,t!=null&&(t.refCleanup=null)}else if(typeof n=="function")try{n(null)}catch(o){Et(t,e,o)}else n.current=null}function $h(t){var e=t.type,n=t.memoizedProps,l=t.stateNode;try{t:switch(e){case"button":case"input":case"select":case"textarea":n.autoFocus&&l.focus();break t;case"img":n.src?l.src=n.src:n.srcSet&&(l.srcset=n.srcSet)}}catch(o){Et(t,t.return,o)}}function eu(t,e,n){try{var l=t.stateNode;U1(l,t.type,n,e),l[oe]=e}catch(o){Et(t,t.return,o)}}function Wh(t){return t.tag===5||t.tag===3||t.tag===26||t.tag===27&&qn(t.type)||t.tag===4}function nu(t){t:for(;;){for(;t.sibling===null;){if(t.return===null||Wh(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 au(t,e,n){var l=t.tag;if(l===5||l===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=Ps));else if(l!==4&&(l===27&&qn(t.type)&&(n=t.stateNode,e=null),t=t.child,t!==null))for(au(t,e,n),t=t.sibling;t!==null;)au(t,e,n),t=t.sibling}function Ns(t,e,n){var l=t.tag;if(l===5||l===6)t=t.stateNode,e?n.insertBefore(t,e):n.appendChild(t);else if(l!==4&&(l===27&&qn(t.type)&&(n=t.stateNode),t=t.child,t!==null))for(Ns(t,e,n),t=t.sibling;t!==null;)Ns(t,e,n),t=t.sibling}function Ih(t){var e=t.stateNode,n=t.memoizedProps;try{for(var l=t.type,o=e.attributes;o.length;)e.removeAttributeNode(o[0]);Wt(e,l,n),e[te]=t,e[oe]=n}catch(c){Et(t,t.return,c)}}var dn=!1,Ut=!1,iu=!1,tm=typeof WeakSet=="function"?WeakSet:Set,Qt=null;function y1(t,e){if(t=t.containerInfo,Du=Fs,t=fd(t),eo(t)){if("selectionStart"in t)var n={start:t.selectionStart,end:t.selectionEnd};else t:{n=(n=t.ownerDocument)&&n.defaultView||window;var l=n.getSelection&&n.getSelection();if(l&&l.rangeCount!==0){n=l.anchorNode;var o=l.anchorOffset,c=l.focusNode;l=l.focusOffset;try{n.nodeType,c.nodeType}catch{n=null;break t}var g=0,x=-1,T=-1,C=0,L=0,H=t,w=null;e:for(;;){for(var O;H!==n||o!==0&&H.nodeType!==3||(x=g+o),H!==c||l!==0&&H.nodeType!==3||(T=g+l),H.nodeType===3&&(g+=H.nodeValue.length),(O=H.firstChild)!==null;)w=H,H=O;for(;;){if(H===t)break e;if(w===n&&++C===o&&(x=g),w===c&&++L===l&&(T=g),(O=H.nextSibling)!==null)break;H=w,w=H.parentNode}H=O}n=x===-1||T===-1?null:{start:x,end:T}}else n=null}n=n||{start:0,end:0}}else n=null;for(Cu={focusedElem:t,selectionRange:n},Fs=!1,Qt=e;Qt!==null;)if(e=Qt,t=e.child,(e.subtreeFlags&1024)!==0&&t!==null)t.return=e,Qt=t;else for(;Qt!==null;){switch(e=Qt,c=e.alternate,t=e.flags,e.tag){case 0:break;case 11:case 15:break;case 1:if((t&1024)!==0&&c!==null){t=void 0,n=e,o=c.memoizedProps,c=c.memoizedState,l=n.stateNode;try{var at=ca(n.type,o,n.elementType===n.type);t=l.getSnapshotBeforeUpdate(at,c),l.__reactInternalSnapshotBeforeUpdate=t}catch(et){Et(n,n.return,et)}}break;case 3:if((t&1024)!==0){if(t=e.stateNode.containerInfo,n=t.nodeType,n===9)Ou(t);else if(n===1)switch(t.nodeName){case"HEAD":case"HTML":case"BODY":Ou(t);break;default:t.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((t&1024)!==0)throw Error(r(163))}if(t=e.sibling,t!==null){t.return=e.return,Qt=t;break}Qt=e.return}}function em(t,e,n){var l=n.flags;switch(n.tag){case 0:case 11:case 15:Vn(t,n),l&4&&Ji(5,n);break;case 1:if(Vn(t,n),l&4)if(t=n.stateNode,e===null)try{t.componentDidMount()}catch(g){Et(n,n.return,g)}else{var o=ca(n.type,e.memoizedProps);e=e.memoizedState;try{t.componentDidUpdate(o,e,t.__reactInternalSnapshotBeforeUpdate)}catch(g){Et(n,n.return,g)}}l&64&&Fh(n),l&512&&$i(n,n.return);break;case 3:if(Vn(t,n),l&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{Bd(t,e)}catch(g){Et(n,n.return,g)}}break;case 27:e===null&&l&4&&Ih(n);case 26:case 5:Vn(t,n),e===null&&l&4&&$h(n),l&512&&$i(n,n.return);break;case 12:Vn(t,n);break;case 13:Vn(t,n),l&4&&im(t,n),l&64&&(t=n.memoizedState,t!==null&&(t=t.dehydrated,t!==null&&(n=M1.bind(null,n),k1(t,n))));break;case 22:if(l=n.memoizedState!==null||dn,!l){e=e!==null&&e.memoizedState!==null||Ut,o=dn;var c=Ut;dn=l,(Ut=e)&&!c?zn(t,n,(n.subtreeFlags&8772)!==0):Vn(t,n),dn=o,Ut=c}break;case 30:break;default:Vn(t,n)}}function nm(t){var e=t.alternate;e!==null&&(t.alternate=null,nm(e)),t.child=null,t.deletions=null,t.sibling=null,t.tag===5&&(e=t.stateNode,e!==null&&Br(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 Rt=null,fe=!1;function hn(t,e,n){for(n=n.child;n!==null;)am(t,e,n),n=n.sibling}function am(t,e,n){if(pe&&typeof pe.onCommitFiberUnmount=="function")try{pe.onCommitFiberUnmount(vi,n)}catch{}switch(n.tag){case 26:Ut||ke(n,e),hn(t,e,n),n.memoizedState?n.memoizedState.count--:n.stateNode&&(n=n.stateNode,n.parentNode.removeChild(n));break;case 27:Ut||ke(n,e);var l=Rt,o=fe;qn(n.type)&&(Rt=n.stateNode,fe=!1),hn(t,e,n),sl(n.stateNode),Rt=l,fe=o;break;case 5:Ut||ke(n,e);case 6:if(l=Rt,o=fe,Rt=null,hn(t,e,n),Rt=l,fe=o,Rt!==null)if(fe)try{(Rt.nodeType===9?Rt.body:Rt.nodeName==="HTML"?Rt.ownerDocument.body:Rt).removeChild(n.stateNode)}catch(c){Et(n,e,c)}else try{Rt.removeChild(n.stateNode)}catch(c){Et(n,e,c)}break;case 18:Rt!==null&&(fe?(t=Rt,Xm(t.nodeType===9?t.body:t.nodeName==="HTML"?t.ownerDocument.body:t,n.stateNode),ml(t)):Xm(Rt,n.stateNode));break;case 4:l=Rt,o=fe,Rt=n.stateNode.containerInfo,fe=!0,hn(t,e,n),Rt=l,fe=o;break;case 0:case 11:case 14:case 15:Ut||On(2,n,e),Ut||On(4,n,e),hn(t,e,n);break;case 1:Ut||(ke(n,e),l=n.stateNode,typeof l.componentWillUnmount=="function"&&Jh(n,e,l)),hn(t,e,n);break;case 21:hn(t,e,n);break;case 22:Ut=(l=Ut)||n.memoizedState!==null,hn(t,e,n),Ut=l;break;default:hn(t,e,n)}}function im(t,e){if(e.memoizedState===null&&(t=e.alternate,t!==null&&(t=t.memoizedState,t!==null&&(t=t.dehydrated,t!==null))))try{ml(t)}catch(n){Et(e,e.return,n)}}function v1(t){switch(t.tag){case 13:case 19:var e=t.stateNode;return e===null&&(e=t.stateNode=new tm),e;case 22:return t=t.stateNode,e=t._retryCache,e===null&&(e=t._retryCache=new tm),e;default:throw Error(r(435,t.tag))}}function lu(t,e){var n=v1(t);e.forEach(function(l){var o=R1.bind(null,t,l);n.has(l)||(n.add(l),l.then(o,o))})}function xe(t,e){var n=e.deletions;if(n!==null)for(var l=0;l<n.length;l++){var o=n[l],c=t,g=e,x=g;t:for(;x!==null;){switch(x.tag){case 27:if(qn(x.type)){Rt=x.stateNode,fe=!1;break t}break;case 5:Rt=x.stateNode,fe=!1;break t;case 3:case 4:Rt=x.stateNode.containerInfo,fe=!0;break t}x=x.return}if(Rt===null)throw Error(r(160));am(c,g,o),Rt=null,fe=!1,c=o.alternate,c!==null&&(c.return=null),o.return=null}if(e.subtreeFlags&13878)for(e=e.child;e!==null;)lm(e,t),e=e.sibling}var Ue=null;function lm(t,e){var n=t.alternate,l=t.flags;switch(t.tag){case 0:case 11:case 14:case 15:xe(e,t),be(t),l&4&&(On(3,t,t.return),Ji(3,t),On(5,t,t.return));break;case 1:xe(e,t),be(t),l&512&&(Ut||n===null||ke(n,n.return)),l&64&&dn&&(t=t.updateQueue,t!==null&&(l=t.callbacks,l!==null&&(n=t.shared.hiddenCallbacks,t.shared.hiddenCallbacks=n===null?l:n.concat(l))));break;case 26:var o=Ue;if(xe(e,t),be(t),l&512&&(Ut||n===null||ke(n,n.return)),l&4){var c=n!==null?n.memoizedState:null;if(l=t.memoizedState,n===null)if(l===null)if(t.stateNode===null){t:{l=t.type,n=t.memoizedProps,o=o.ownerDocument||o;e:switch(l){case"title":c=o.getElementsByTagName("title")[0],(!c||c[Si]||c[te]||c.namespaceURI==="http://www.w3.org/2000/svg"||c.hasAttribute("itemprop"))&&(c=o.createElement(l),o.head.insertBefore(c,o.querySelector("head > title"))),Wt(c,l,n),c[te]=t,Xt(c),l=c;break t;case"link":var g=Im("link","href",o).get(l+(n.href||""));if(g){for(var x=0;x<g.length;x++)if(c=g[x],c.getAttribute("href")===(n.href==null||n.href===""?null:n.href)&&c.getAttribute("rel")===(n.rel==null?null:n.rel)&&c.getAttribute("title")===(n.title==null?null:n.title)&&c.getAttribute("crossorigin")===(n.crossOrigin==null?null:n.crossOrigin)){g.splice(x,1);break e}}c=o.createElement(l),Wt(c,l,n),o.head.appendChild(c);break;case"meta":if(g=Im("meta","content",o).get(l+(n.content||""))){for(x=0;x<g.length;x++)if(c=g[x],c.getAttribute("content")===(n.content==null?null:""+n.content)&&c.getAttribute("name")===(n.name==null?null:n.name)&&c.getAttribute("property")===(n.property==null?null:n.property)&&c.getAttribute("http-equiv")===(n.httpEquiv==null?null:n.httpEquiv)&&c.getAttribute("charset")===(n.charSet==null?null:n.charSet)){g.splice(x,1);break e}}c=o.createElement(l),Wt(c,l,n),o.head.appendChild(c);break;default:throw Error(r(468,l))}c[te]=t,Xt(c),l=c}t.stateNode=l}else tp(o,t.type,t.stateNode);else t.stateNode=Wm(o,l,t.memoizedProps);else c!==l?(c===null?n.stateNode!==null&&(n=n.stateNode,n.parentNode.removeChild(n)):c.count--,l===null?tp(o,t.type,t.stateNode):Wm(o,l,t.memoizedProps)):l===null&&t.stateNode!==null&&eu(t,t.memoizedProps,n.memoizedProps)}break;case 27:xe(e,t),be(t),l&512&&(Ut||n===null||ke(n,n.return)),n!==null&&l&4&&eu(t,t.memoizedProps,n.memoizedProps);break;case 5:if(xe(e,t),be(t),l&512&&(Ut||n===null||ke(n,n.return)),t.flags&32){o=t.stateNode;try{Da(o,"")}catch(O){Et(t,t.return,O)}}l&4&&t.stateNode!=null&&(o=t.memoizedProps,eu(t,o,n!==null?n.memoizedProps:o)),l&1024&&(iu=!0);break;case 6:if(xe(e,t),be(t),l&4){if(t.stateNode===null)throw Error(r(162));l=t.memoizedProps,n=t.stateNode;try{n.nodeValue=l}catch(O){Et(t,t.return,O)}}break;case 3:if(Ks=null,o=Ue,Ue=ks(e.containerInfo),xe(e,t),Ue=o,be(t),l&4&&n!==null&&n.memoizedState.isDehydrated)try{ml(e.containerInfo)}catch(O){Et(t,t.return,O)}iu&&(iu=!1,sm(t));break;case 4:l=Ue,Ue=ks(t.stateNode.containerInfo),xe(e,t),be(t),Ue=l;break;case 12:xe(e,t),be(t);break;case 13:xe(e,t),be(t),t.child.flags&8192&&t.memoizedState!==null!=(n!==null&&n.memoizedState!==null)&&(fu=Ye()),l&4&&(l=t.updateQueue,l!==null&&(t.updateQueue=null,lu(t,l)));break;case 22:o=t.memoizedState!==null;var T=n!==null&&n.memoizedState!==null,C=dn,L=Ut;if(dn=C||o,Ut=L||T,xe(e,t),Ut=L,dn=C,be(t),l&8192)t:for(e=t.stateNode,e._visibility=o?e._visibility&-2:e._visibility|1,o&&(n===null||T||dn||Ut||fa(t)),n=null,e=t;;){if(e.tag===5||e.tag===26){if(n===null){T=n=e;try{if(c=T.stateNode,o)g=c.style,typeof g.setProperty=="function"?g.setProperty("display","none","important"):g.display="none";else{x=T.stateNode;var H=T.memoizedProps.style,w=H!=null&&H.hasOwnProperty("display")?H.display:null;x.style.display=w==null||typeof w=="boolean"?"":(""+w).trim()}}catch(O){Et(T,T.return,O)}}}else if(e.tag===6){if(n===null){T=e;try{T.stateNode.nodeValue=o?"":T.memoizedProps}catch(O){Et(T,T.return,O)}}}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}l&4&&(l=t.updateQueue,l!==null&&(n=l.retryQueue,n!==null&&(l.retryQueue=null,lu(t,n))));break;case 19:xe(e,t),be(t),l&4&&(l=t.updateQueue,l!==null&&(t.updateQueue=null,lu(t,l)));break;case 30:break;case 21:break;default:xe(e,t),be(t)}}function be(t){var e=t.flags;if(e&2){try{for(var n,l=t.return;l!==null;){if(Wh(l)){n=l;break}l=l.return}if(n==null)throw Error(r(160));switch(n.tag){case 27:var o=n.stateNode,c=nu(t);Ns(t,c,o);break;case 5:var g=n.stateNode;n.flags&32&&(Da(g,""),n.flags&=-33);var x=nu(t);Ns(t,x,g);break;case 3:case 4:var T=n.stateNode.containerInfo,C=nu(t);au(t,C,T);break;default:throw Error(r(161))}}catch(L){Et(t,t.return,L)}t.flags&=-3}e&4096&&(t.flags&=-4097)}function sm(t){if(t.subtreeFlags&1024)for(t=t.child;t!==null;){var e=t;sm(e),e.tag===5&&e.flags&1024&&e.stateNode.reset(),t=t.sibling}}function Vn(t,e){if(e.subtreeFlags&8772)for(e=e.child;e!==null;)em(t,e.alternate,e),e=e.sibling}function fa(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),fa(e);break;case 1:ke(e,e.return);var n=e.stateNode;typeof n.componentWillUnmount=="function"&&Jh(e,e.return,n),fa(e);break;case 27:sl(e.stateNode);case 26:case 5:ke(e,e.return),fa(e);break;case 22:e.memoizedState===null&&fa(e);break;case 30:fa(e);break;default:fa(e)}t=t.sibling}}function zn(t,e,n){for(n=n&&(e.subtreeFlags&8772)!==0,e=e.child;e!==null;){var l=e.alternate,o=t,c=e,g=c.flags;switch(c.tag){case 0:case 11:case 15:zn(o,c,n),Ji(4,c);break;case 1:if(zn(o,c,n),l=c,o=l.stateNode,typeof o.componentDidMount=="function")try{o.componentDidMount()}catch(C){Et(l,l.return,C)}if(l=c,o=l.updateQueue,o!==null){var x=l.stateNode;try{var T=o.shared.hiddenCallbacks;if(T!==null)for(o.shared.hiddenCallbacks=null,o=0;o<T.length;o++)Ld(T[o],x)}catch(C){Et(l,l.return,C)}}n&&g&64&&Fh(c),$i(c,c.return);break;case 27:Ih(c);case 26:case 5:zn(o,c,n),n&&l===null&&g&4&&$h(c),$i(c,c.return);break;case 12:zn(o,c,n);break;case 13:zn(o,c,n),n&&g&4&&im(o,c);break;case 22:c.memoizedState===null&&zn(o,c,n),$i(c,c.return);break;case 30:break;default:zn(o,c,n)}e=e.sibling}}function su(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&&Bi(n))}function ru(t,e){t=null,e.alternate!==null&&(t=e.alternate.memoizedState.cache),e=e.memoizedState.cache,e!==t&&(e.refCount++,t!=null&&Bi(t))}function Xe(t,e,n,l){if(e.subtreeFlags&10256)for(e=e.child;e!==null;)rm(t,e,n,l),e=e.sibling}function rm(t,e,n,l){var o=e.flags;switch(e.tag){case 0:case 11:case 15:Xe(t,e,n,l),o&2048&&Ji(9,e);break;case 1:Xe(t,e,n,l);break;case 3:Xe(t,e,n,l),o&2048&&(t=null,e.alternate!==null&&(t=e.alternate.memoizedState.cache),e=e.memoizedState.cache,e!==t&&(e.refCount++,t!=null&&Bi(t)));break;case 12:if(o&2048){Xe(t,e,n,l),t=e.stateNode;try{var c=e.memoizedProps,g=c.id,x=c.onPostCommit;typeof x=="function"&&x(g,e.alternate===null?"mount":"update",t.passiveEffectDuration,-0)}catch(T){Et(e,e.return,T)}}else Xe(t,e,n,l);break;case 13:Xe(t,e,n,l);break;case 23:break;case 22:c=e.stateNode,g=e.alternate,e.memoizedState!==null?c._visibility&2?Xe(t,e,n,l):Wi(t,e):c._visibility&2?Xe(t,e,n,l):(c._visibility|=2,Qa(t,e,n,l,(e.subtreeFlags&10256)!==0)),o&2048&&su(g,e);break;case 24:Xe(t,e,n,l),o&2048&&ru(e.alternate,e);break;default:Xe(t,e,n,l)}}function Qa(t,e,n,l,o){for(o=o&&(e.subtreeFlags&10256)!==0,e=e.child;e!==null;){var c=t,g=e,x=n,T=l,C=g.flags;switch(g.tag){case 0:case 11:case 15:Qa(c,g,x,T,o),Ji(8,g);break;case 23:break;case 22:var L=g.stateNode;g.memoizedState!==null?L._visibility&2?Qa(c,g,x,T,o):Wi(c,g):(L._visibility|=2,Qa(c,g,x,T,o)),o&&C&2048&&su(g.alternate,g);break;case 24:Qa(c,g,x,T,o),o&&C&2048&&ru(g.alternate,g);break;default:Qa(c,g,x,T,o)}e=e.sibling}}function Wi(t,e){if(e.subtreeFlags&10256)for(e=e.child;e!==null;){var n=t,l=e,o=l.flags;switch(l.tag){case 22:Wi(n,l),o&2048&&su(l.alternate,l);break;case 24:Wi(n,l),o&2048&&ru(l.alternate,l);break;default:Wi(n,l)}e=e.sibling}}var Ii=8192;function Za(t){if(t.subtreeFlags&Ii)for(t=t.child;t!==null;)om(t),t=t.sibling}function om(t){switch(t.tag){case 26:Za(t),t.flags&Ii&&t.memoizedState!==null&&a2(Ue,t.memoizedState,t.memoizedProps);break;case 5:Za(t);break;case 3:case 4:var e=Ue;Ue=ks(t.stateNode.containerInfo),Za(t),Ue=e;break;case 22:t.memoizedState===null&&(e=t.alternate,e!==null&&e.memoizedState!==null?(e=Ii,Ii=16777216,Za(t),Ii=e):Za(t));break;default:Za(t)}}function um(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 tl(t){var e=t.deletions;if((t.flags&16)!==0){if(e!==null)for(var n=0;n<e.length;n++){var l=e[n];Qt=l,fm(l,t)}um(t)}if(t.subtreeFlags&10256)for(t=t.child;t!==null;)cm(t),t=t.sibling}function cm(t){switch(t.tag){case 0:case 11:case 15:tl(t),t.flags&2048&&On(9,t,t.return);break;case 3:tl(t);break;case 12:tl(t);break;case 22:var e=t.stateNode;t.memoizedState!==null&&e._visibility&2&&(t.return===null||t.return.tag!==13)?(e._visibility&=-3,Os(t)):tl(t);break;default:tl(t)}}function Os(t){var e=t.deletions;if((t.flags&16)!==0){if(e!==null)for(var n=0;n<e.length;n++){var l=e[n];Qt=l,fm(l,t)}um(t)}for(t=t.child;t!==null;){switch(e=t,e.tag){case 0:case 11:case 15:On(8,e,e.return),Os(e);break;case 22:n=e.stateNode,n._visibility&2&&(n._visibility&=-3,Os(e));break;default:Os(e)}t=t.sibling}}function fm(t,e){for(;Qt!==null;){var n=Qt;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 l=n.memoizedState.cachePool.pool;l!=null&&l.refCount++}break;case 24:Bi(n.memoizedState.cache)}if(l=n.child,l!==null)l.return=n,Qt=l;else t:for(n=t;Qt!==null;){l=Qt;var o=l.sibling,c=l.return;if(nm(l),l===n){Qt=null;break t}if(o!==null){o.return=c,Qt=o;break t}Qt=c}}}var x1={getCacheForType:function(t){var e=ee(Gt),n=e.data.get(t);return n===void 0&&(n=t(),e.data.set(t,n)),n}},b1=typeof WeakMap=="function"?WeakMap:Map,xt=0,At=null,ft=null,ht=0,bt=0,Se=null,Ln=!1,Fa=!1,ou=!1,mn=0,Vt=0,Bn=0,da=0,uu=0,Ne=0,Ja=0,el=null,de=null,cu=!1,fu=0,Vs=1/0,zs=null,Un=null,$t=0,_n=null,$a=null,Wa=0,du=0,hu=null,dm=null,nl=0,mu=null;function Te(){if((xt&2)!==0&&ht!==0)return ht&-ht;if(B.T!==null){var t=Ha;return t!==0?t:Su()}return Df()}function hm(){Ne===0&&(Ne=(ht&536870912)===0||yt?Ef():536870912);var t=we.current;return t!==null&&(t.flags|=32),Ne}function je(t,e,n){(t===At&&(bt===2||bt===9)||t.cancelPendingCommit!==null)&&(Ia(t,0),Hn(t,ht,Ne,!1)),bi(t,n),((xt&2)===0||t!==At)&&(t===At&&((xt&2)===0&&(da|=n),Vt===4&&Hn(t,ht,Ne,!1)),Ke(t))}function mm(t,e,n){if((xt&6)!==0)throw Error(r(327));var l=!n&&(e&124)===0&&(e&t.expiredLanes)===0||xi(t,e),o=l?j1(t,e):yu(t,e,!0),c=l;do{if(o===0){Fa&&!l&&Hn(t,e,0,!1);break}else{if(n=t.current.alternate,c&&!S1(n)){o=yu(t,e,!1),c=!1;continue}if(o===2){if(c=e,t.errorRecoveryDisabledLanes&c)var g=0;else g=t.pendingLanes&-536870913,g=g!==0?g:g&536870912?536870912:0;if(g!==0){e=g;t:{var x=t;o=el;var T=x.current.memoizedState.isDehydrated;if(T&&(Ia(x,g).flags|=256),g=yu(x,g,!1),g!==2){if(ou&&!T){x.errorRecoveryDisabledLanes|=c,da|=c,o=4;break t}c=de,de=o,c!==null&&(de===null?de=c:de.push.apply(de,c))}o=g}if(c=!1,o!==2)continue}}if(o===1){Ia(t,0),Hn(t,e,0,!0);break}t:{switch(l=t,c=o,c){case 0:case 1:throw Error(r(345));case 4:if((e&4194048)!==e)break;case 6:Hn(l,e,Ne,!Ln);break t;case 2:de=null;break;case 3:case 5:break;default:throw Error(r(329))}if((e&62914560)===e&&(o=fu+300-Ye(),10<o)){if(Hn(l,e,Ne,!Ln),Xl(l,0,!0)!==0)break t;l.timeoutHandle=Gm(pm.bind(null,l,n,de,zs,cu,e,Ne,da,Ja,Ln,c,2,-0,0),o);break t}pm(l,n,de,zs,cu,e,Ne,da,Ja,Ln,c,0,-0,0)}}break}while(!0);Ke(t)}function pm(t,e,n,l,o,c,g,x,T,C,L,H,w,O){if(t.timeoutHandle=-1,H=e.subtreeFlags,(H&8192||(H&16785408)===16785408)&&(ul={stylesheets:null,count:0,unsuspend:n2},om(e),H=i2(),H!==null)){t.cancelPendingCommit=H(Tm.bind(null,t,e,c,n,l,o,g,x,T,L,1,w,O)),Hn(t,c,g,!C);return}Tm(t,e,c,n,l,o,g,x,T)}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 l=0;l<n.length;l++){var o=n[l],c=o.getSnapshot;o=o.value;try{if(!ye(c(),o))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 Hn(t,e,n,l){e&=~uu,e&=~da,t.suspendedLanes|=e,t.pingedLanes&=~e,l&&(t.warmLanes|=e),l=t.expirationTimes;for(var o=e;0<o;){var c=31-ge(o),g=1<<c;l[c]=-1,o&=~g}n!==0&&Mf(t,n,e)}function Ls(){return(xt&6)===0?(al(0),!1):!0}function pu(){if(ft!==null){if(bt===0)var t=ft.return;else t=ft,sn=sa=null,Oo(t),Xa=null,Qi=0,t=ft;for(;t!==null;)Zh(t.alternate,t),t=t.return;ft=null}}function Ia(t,e){var n=t.timeoutHandle;n!==-1&&(t.timeoutHandle=-1,H1(n)),n=t.cancelPendingCommit,n!==null&&(t.cancelPendingCommit=null,n()),pu(),At=t,ft=n=nn(t.current,null),ht=e,bt=0,Se=null,Ln=!1,Fa=xi(t,e),ou=!1,Ja=Ne=uu=da=Bn=Vt=0,de=el=null,cu=!1,(e&8)!==0&&(e|=e&32);var l=t.entangledLanes;if(l!==0)for(t=t.entanglements,l&=e;0<l;){var o=31-ge(l),c=1<<o;e|=t[o],l&=~c}return mn=e,as(),n}function gm(t,e){ut=null,B.H=Ts,e===_i||e===ds?(e=Vd(),bt=3):e===wd?(e=Vd(),bt=4):bt=e===zh?8:e!==null&&typeof e=="object"&&typeof e.then=="function"?6:1,Se=e,ft===null&&(Vt=1,Rs(t,Me(e,t.current)))}function ym(){var t=B.H;return B.H=Ts,t===null?Ts:t}function vm(){var t=B.A;return B.A=x1,t}function gu(){Vt=4,Ln||(ht&4194048)!==ht&&we.current!==null||(Fa=!0),(Bn&134217727)===0&&(da&134217727)===0||At===null||Hn(At,ht,Ne,!1)}function yu(t,e,n){var l=xt;xt|=2;var o=ym(),c=vm();(At!==t||ht!==e)&&(zs=null,Ia(t,e)),e=!1;var g=Vt;t:do try{if(bt!==0&&ft!==null){var x=ft,T=Se;switch(bt){case 8:pu(),g=6;break t;case 3:case 2:case 9:case 6:we.current===null&&(e=!0);var C=bt;if(bt=0,Se=null,ti(t,x,T,C),n&&Fa){g=0;break t}break;default:C=bt,bt=0,Se=null,ti(t,x,T,C)}}T1(),g=Vt;break}catch(L){gm(t,L)}while(!0);return e&&t.shellSuspendCounter++,sn=sa=null,xt=l,B.H=o,B.A=c,ft===null&&(At=null,ht=0,as()),g}function T1(){for(;ft!==null;)xm(ft)}function j1(t,e){var n=xt;xt|=2;var l=ym(),o=vm();At!==t||ht!==e?(zs=null,Vs=Ye()+500,Ia(t,e)):Fa=xi(t,e);t:do try{if(bt!==0&&ft!==null){e=ft;var c=Se;e:switch(bt){case 1:bt=0,Se=null,ti(t,e,c,1);break;case 2:case 9:if(Nd(c)){bt=0,Se=null,bm(e);break}e=function(){bt!==2&&bt!==9||At!==t||(bt=7),Ke(t)},c.then(e,e);break t;case 3:bt=7;break t;case 4:bt=5;break t;case 7:Nd(c)?(bt=0,Se=null,bm(e)):(bt=0,Se=null,ti(t,e,c,7));break;case 5:var g=null;switch(ft.tag){case 26:g=ft.memoizedState;case 5:case 27:var x=ft;if(!g||ep(g)){bt=0,Se=null;var T=x.sibling;if(T!==null)ft=T;else{var C=x.return;C!==null?(ft=C,Bs(C)):ft=null}break e}}bt=0,Se=null,ti(t,e,c,5);break;case 6:bt=0,Se=null,ti(t,e,c,6);break;case 8:pu(),Vt=6;break t;default:throw Error(r(462))}}E1();break}catch(L){gm(t,L)}while(!0);return sn=sa=null,B.H=l,B.A=o,xt=n,ft!==null?0:(At=null,ht=0,as(),Vt)}function E1(){for(;ft!==null&&!K0();)xm(ft)}function xm(t){var e=Kh(t.alternate,t,mn);t.memoizedProps=t.pendingProps,e===null?Bs(t):ft=e}function bm(t){var e=t,n=e.alternate;switch(e.tag){case 15:case 0:e=qh(n,e,e.pendingProps,e.type,void 0,ht);break;case 11:e=qh(n,e,e.pendingProps,e.type.render,e.ref,ht);break;case 5:Oo(e);default:Zh(n,e),e=ft=Sd(e,mn),e=Kh(n,e,mn)}t.memoizedProps=t.pendingProps,e===null?Bs(t):ft=e}function ti(t,e,n,l){sn=sa=null,Oo(e),Xa=null,Qi=0;var o=e.return;try{if(h1(t,o,e,n,ht)){Vt=1,Rs(t,Me(n,t.current)),ft=null;return}}catch(c){if(o!==null)throw ft=o,c;Vt=1,Rs(t,Me(n,t.current)),ft=null;return}e.flags&32768?(yt||l===1?t=!0:Fa||(ht&536870912)!==0?t=!1:(Ln=t=!0,(l===2||l===9||l===3||l===6)&&(l=we.current,l!==null&&l.tag===13&&(l.flags|=16384))),Sm(e,t)):Bs(e)}function Bs(t){var e=t;do{if((e.flags&32768)!==0){Sm(e,Ln);return}t=e.return;var n=p1(e.alternate,e,mn);if(n!==null){ft=n;return}if(e=e.sibling,e!==null){ft=e;return}ft=e=t}while(e!==null);Vt===0&&(Vt=5)}function Sm(t,e){do{var n=g1(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);Vt=6,ft=null}function Tm(t,e,n,l,o,c,g,x,T){t.cancelPendingCommit=null;do Us();while($t!==0);if((xt&6)!==0)throw Error(r(327));if(e!==null){if(e===t.current)throw Error(r(177));if(c=e.lanes|e.childLanes,c|=so,nv(t,n,c,g,x,T),t===At&&(ft=At=null,ht=0),$a=e,_n=t,Wa=n,du=c,hu=o,dm=l,(e.subtreeFlags&10256)!==0||(e.flags&10256)!==0?(t.callbackNode=null,t.callbackPriority=0,D1(Pl,function(){return Rm(),null})):(t.callbackNode=null,t.callbackPriority=0),l=(e.flags&13878)!==0,(e.subtreeFlags&13878)!==0||l){l=B.T,B.T=null,o=k.p,k.p=2,g=xt,xt|=4;try{y1(t,e,n)}finally{xt=g,k.p=o,B.T=l}}$t=1,jm(),Em(),Am()}}function jm(){if($t===1){$t=0;var t=_n,e=$a,n=(e.flags&13878)!==0;if((e.subtreeFlags&13878)!==0||n){n=B.T,B.T=null;var l=k.p;k.p=2;var o=xt;xt|=4;try{lm(e,t);var c=Cu,g=fd(t.containerInfo),x=c.focusedElem,T=c.selectionRange;if(g!==x&&x&&x.ownerDocument&&cd(x.ownerDocument.documentElement,x)){if(T!==null&&eo(x)){var C=T.start,L=T.end;if(L===void 0&&(L=C),"selectionStart"in x)x.selectionStart=C,x.selectionEnd=Math.min(L,x.value.length);else{var H=x.ownerDocument||document,w=H&&H.defaultView||window;if(w.getSelection){var O=w.getSelection(),at=x.textContent.length,et=Math.min(T.start,at),jt=T.end===void 0?et:Math.min(T.end,at);!O.extend&&et>jt&&(g=jt,jt=et,et=g);var M=ud(x,et),A=ud(x,jt);if(M&&A&&(O.rangeCount!==1||O.anchorNode!==M.node||O.anchorOffset!==M.offset||O.focusNode!==A.node||O.focusOffset!==A.offset)){var D=H.createRange();D.setStart(M.node,M.offset),O.removeAllRanges(),et>jt?(O.addRange(D),O.extend(A.node,A.offset)):(D.setEnd(A.node,A.offset),O.addRange(D))}}}}for(H=[],O=x;O=O.parentNode;)O.nodeType===1&&H.push({element:O,left:O.scrollLeft,top:O.scrollTop});for(typeof x.focus=="function"&&x.focus(),x=0;x<H.length;x++){var U=H[x];U.element.scrollLeft=U.left,U.element.scrollTop=U.top}}Fs=!!Du,Cu=Du=null}finally{xt=o,k.p=l,B.T=n}}t.current=e,$t=2}}function Em(){if($t===2){$t=0;var t=_n,e=$a,n=(e.flags&8772)!==0;if((e.subtreeFlags&8772)!==0||n){n=B.T,B.T=null;var l=k.p;k.p=2;var o=xt;xt|=4;try{em(t,e.alternate,e)}finally{xt=o,k.p=l,B.T=n}}$t=3}}function Am(){if($t===4||$t===3){$t=0,Q0();var t=_n,e=$a,n=Wa,l=dm;(e.subtreeFlags&10256)!==0||(e.flags&10256)!==0?$t=5:($t=0,$a=_n=null,Mm(t,t.pendingLanes));var o=t.pendingLanes;if(o===0&&(Un=null),zr(n),e=e.stateNode,pe&&typeof pe.onCommitFiberRoot=="function")try{pe.onCommitFiberRoot(vi,e,void 0,(e.current.flags&128)===128)}catch{}if(l!==null){e=B.T,o=k.p,k.p=2,B.T=null;try{for(var c=t.onRecoverableError,g=0;g<l.length;g++){var x=l[g];c(x.value,{componentStack:x.stack})}}finally{B.T=e,k.p=o}}(Wa&3)!==0&&Us(),Ke(t),o=t.pendingLanes,(n&4194090)!==0&&(o&42)!==0?t===mu?nl++:(nl=0,mu=t):nl=0,al(0)}}function Mm(t,e){(t.pooledCacheLanes&=e)===0&&(e=t.pooledCache,e!=null&&(t.pooledCache=null,Bi(e)))}function Us(t){return jm(),Em(),Am(),Rm()}function Rm(){if($t!==5)return!1;var t=_n,e=du;du=0;var n=zr(Wa),l=B.T,o=k.p;try{k.p=32>n?32:n,B.T=null,n=hu,hu=null;var c=_n,g=Wa;if($t=0,$a=_n=null,Wa=0,(xt&6)!==0)throw Error(r(331));var x=xt;if(xt|=4,cm(c.current),rm(c,c.current,g,n),xt=x,al(0,!1),pe&&typeof pe.onPostCommitFiberRoot=="function")try{pe.onPostCommitFiberRoot(vi,c)}catch{}return!0}finally{k.p=o,B.T=l,Mm(t,e)}}function Dm(t,e,n){e=Me(n,e),e=Ko(t.stateNode,e,2),t=Dn(t,e,2),t!==null&&(bi(t,2),Ke(t))}function Et(t,e,n){if(t.tag===3)Dm(t,t,n);else for(;e!==null;){if(e.tag===3){Dm(e,t,n);break}else if(e.tag===1){var l=e.stateNode;if(typeof e.type.getDerivedStateFromError=="function"||typeof l.componentDidCatch=="function"&&(Un===null||!Un.has(l))){t=Me(n,t),n=Oh(2),l=Dn(e,n,2),l!==null&&(Vh(n,l,e,t),bi(l,2),Ke(l));break}}e=e.return}}function vu(t,e,n){var l=t.pingCache;if(l===null){l=t.pingCache=new b1;var o=new Set;l.set(e,o)}else o=l.get(e),o===void 0&&(o=new Set,l.set(e,o));o.has(n)||(ou=!0,o.add(n),t=A1.bind(null,t,e,n),e.then(t,t))}function A1(t,e,n){var l=t.pingCache;l!==null&&l.delete(e),t.pingedLanes|=t.suspendedLanes&n,t.warmLanes&=~n,At===t&&(ht&n)===n&&(Vt===4||Vt===3&&(ht&62914560)===ht&&300>Ye()-fu?(xt&2)===0&&Ia(t,0):uu|=n,Ja===ht&&(Ja=0)),Ke(t)}function Cm(t,e){e===0&&(e=Af()),t=La(t,e),t!==null&&(bi(t,e),Ke(t))}function M1(t){var e=t.memoizedState,n=0;e!==null&&(n=e.retryLane),Cm(t,n)}function R1(t,e){var n=0;switch(t.tag){case 13:var l=t.stateNode,o=t.memoizedState;o!==null&&(n=o.retryLane);break;case 19:l=t.stateNode;break;case 22:l=t.stateNode._retryCache;break;default:throw Error(r(314))}l!==null&&l.delete(e),Cm(t,n)}function D1(t,e){return wr(t,e)}var _s=null,ei=null,xu=!1,Hs=!1,bu=!1,ha=0;function Ke(t){t!==ei&&t.next===null&&(ei===null?_s=ei=t:ei=ei.next=t),Hs=!0,xu||(xu=!0,w1())}function al(t,e){if(!bu&&Hs){bu=!0;do for(var n=!1,l=_s;l!==null;){if(t!==0){var o=l.pendingLanes;if(o===0)var c=0;else{var g=l.suspendedLanes,x=l.pingedLanes;c=(1<<31-ge(42|t)+1)-1,c&=o&~(g&~x),c=c&201326741?c&201326741|1:c?c|2:0}c!==0&&(n=!0,Vm(l,c))}else c=ht,c=Xl(l,l===At?c:0,l.cancelPendingCommit!==null||l.timeoutHandle!==-1),(c&3)===0||xi(l,c)||(n=!0,Vm(l,c));l=l.next}while(n);bu=!1}}function C1(){wm()}function wm(){Hs=xu=!1;var t=0;ha!==0&&(_1()&&(t=ha),ha=0);for(var e=Ye(),n=null,l=_s;l!==null;){var o=l.next,c=Nm(l,e);c===0?(l.next=null,n===null?_s=o:n.next=o,o===null&&(ei=n)):(n=l,(t!==0||(c&3)!==0)&&(Hs=!0)),l=o}al(t)}function Nm(t,e){for(var n=t.suspendedLanes,l=t.pingedLanes,o=t.expirationTimes,c=t.pendingLanes&-62914561;0<c;){var g=31-ge(c),x=1<<g,T=o[g];T===-1?((x&n)===0||(x&l)!==0)&&(o[g]=ev(x,e)):T<=e&&(t.expiredLanes|=x),c&=~x}if(e=At,n=ht,n=Xl(t,t===e?n:0,t.cancelPendingCommit!==null||t.timeoutHandle!==-1),l=t.callbackNode,n===0||t===e&&(bt===2||bt===9)||t.cancelPendingCommit!==null)return l!==null&&l!==null&&Nr(l),t.callbackNode=null,t.callbackPriority=0;if((n&3)===0||xi(t,n)){if(e=n&-n,e===t.callbackPriority)return e;switch(l!==null&&Nr(l),zr(n)){case 2:case 8:n=Tf;break;case 32:n=Pl;break;case 268435456:n=jf;break;default:n=Pl}return l=Om.bind(null,t),n=wr(n,l),t.callbackPriority=e,t.callbackNode=n,e}return l!==null&&l!==null&&Nr(l),t.callbackPriority=2,t.callbackNode=null,2}function Om(t,e){if($t!==0&&$t!==5)return t.callbackNode=null,t.callbackPriority=0,null;var n=t.callbackNode;if(Us()&&t.callbackNode!==n)return null;var l=ht;return l=Xl(t,t===At?l:0,t.cancelPendingCommit!==null||t.timeoutHandle!==-1),l===0?null:(mm(t,l,e),Nm(t,Ye()),t.callbackNode!=null&&t.callbackNode===n?Om.bind(null,t):null)}function Vm(t,e){if(Us())return null;mm(t,e,!0)}function w1(){q1(function(){(xt&6)!==0?wr(Sf,C1):wm()})}function Su(){return ha===0&&(ha=Ef()),ha}function zm(t){return t==null||typeof t=="symbol"||typeof t=="boolean"?null:typeof t=="function"?t:Jl(""+t)}function Lm(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 N1(t,e,n,l,o){if(e==="submit"&&n&&n.stateNode===o){var c=zm((o[oe]||null).action),g=l.submitter;g&&(e=(e=g[oe]||null)?zm(e.formAction):g.getAttribute("formAction"),e!==null&&(c=e,g=null));var x=new ts("action","action",null,l,o);t.push({event:x,listeners:[{instance:null,listener:function(){if(l.defaultPrevented){if(ha!==0){var T=g?Lm(o,g):new FormData(o);Yo(n,{pending:!0,data:T,method:o.method,action:c},null,T)}}else typeof c=="function"&&(x.preventDefault(),T=g?Lm(o,g):new FormData(o),Yo(n,{pending:!0,data:T,method:o.method,action:c},c,T))},currentTarget:o}]})}}for(var Tu=0;Tu<lo.length;Tu++){var ju=lo[Tu],O1=ju.toLowerCase(),V1=ju[0].toUpperCase()+ju.slice(1);Be(O1,"on"+V1)}Be(md,"onAnimationEnd"),Be(pd,"onAnimationIteration"),Be(gd,"onAnimationStart"),Be("dblclick","onDoubleClick"),Be("focusin","onFocus"),Be("focusout","onBlur"),Be(Jv,"onTransitionRun"),Be($v,"onTransitionStart"),Be(Wv,"onTransitionCancel"),Be(yd,"onTransitionEnd"),Aa("onMouseEnter",["mouseout","mouseover"]),Aa("onMouseLeave",["mouseout","mouseover"]),Aa("onPointerEnter",["pointerout","pointerover"]),Aa("onPointerLeave",["pointerout","pointerover"]),$n("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),$n("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),$n("onBeforeInput",["compositionend","keypress","textInput","paste"]),$n("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),$n("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),$n("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var il="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(" "),z1=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(il));function Bm(t,e){e=(e&4)!==0;for(var n=0;n<t.length;n++){var l=t[n],o=l.event;l=l.listeners;t:{var c=void 0;if(e)for(var g=l.length-1;0<=g;g--){var x=l[g],T=x.instance,C=x.currentTarget;if(x=x.listener,T!==c&&o.isPropagationStopped())break t;c=x,o.currentTarget=C;try{c(o)}catch(L){Ms(L)}o.currentTarget=null,c=T}else for(g=0;g<l.length;g++){if(x=l[g],T=x.instance,C=x.currentTarget,x=x.listener,T!==c&&o.isPropagationStopped())break t;c=x,o.currentTarget=C;try{c(o)}catch(L){Ms(L)}o.currentTarget=null,c=T}}}}function dt(t,e){var n=e[Lr];n===void 0&&(n=e[Lr]=new Set);var l=t+"__bubble";n.has(l)||(Um(e,t,2,!1),n.add(l))}function Eu(t,e,n){var l=0;e&&(l|=4),Um(n,t,l,e)}var qs="_reactListening"+Math.random().toString(36).slice(2);function Au(t){if(!t[qs]){t[qs]=!0,wf.forEach(function(n){n!=="selectionchange"&&(z1.has(n)||Eu(n,!1,t),Eu(n,!0,t))});var e=t.nodeType===9?t:t.ownerDocument;e===null||e[qs]||(e[qs]=!0,Eu("selectionchange",!1,e))}}function Um(t,e,n,l){switch(rp(e)){case 2:var o=r2;break;case 8:o=o2;break;default:o=Hu}n=o.bind(null,e,n,t),o=void 0,!Kr||e!=="touchstart"&&e!=="touchmove"&&e!=="wheel"||(o=!0),l?o!==void 0?t.addEventListener(e,n,{capture:!0,passive:o}):t.addEventListener(e,n,!0):o!==void 0?t.addEventListener(e,n,{passive:o}):t.addEventListener(e,n,!1)}function Mu(t,e,n,l,o){var c=l;if((e&1)===0&&(e&2)===0&&l!==null)t:for(;;){if(l===null)return;var g=l.tag;if(g===3||g===4){var x=l.stateNode.containerInfo;if(x===o)break;if(g===4)for(g=l.return;g!==null;){var T=g.tag;if((T===3||T===4)&&g.stateNode.containerInfo===o)return;g=g.return}for(;x!==null;){if(g=Ta(x),g===null)return;if(T=g.tag,T===5||T===6||T===26||T===27){l=c=g;continue t}x=x.parentNode}}l=l.return}kf(function(){var C=c,L=kr(n),H=[];t:{var w=vd.get(t);if(w!==void 0){var O=ts,at=t;switch(t){case"keypress":if(Wl(n)===0)break t;case"keydown":case"keyup":O=Dv;break;case"focusin":at="focus",O=Jr;break;case"focusout":at="blur",O=Jr;break;case"beforeblur":case"afterblur":O=Jr;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":O=Qf;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":O=gv;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":O=Nv;break;case md:case pd:case gd:O=xv;break;case yd:O=Vv;break;case"scroll":case"scrollend":O=mv;break;case"wheel":O=Lv;break;case"copy":case"cut":case"paste":O=Sv;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":O=Ff;break;case"toggle":case"beforetoggle":O=Uv}var et=(e&4)!==0,jt=!et&&(t==="scroll"||t==="scrollend"),M=et?w!==null?w+"Capture":null:w;et=[];for(var A=C,D;A!==null;){var U=A;if(D=U.stateNode,U=U.tag,U!==5&&U!==26&&U!==27||D===null||M===null||(U=ji(A,M),U!=null&&et.push(ll(A,U,D))),jt)break;A=A.return}0<et.length&&(w=new O(w,at,null,n,L),H.push({event:w,listeners:et}))}}if((e&7)===0){t:{if(w=t==="mouseover"||t==="pointerover",O=t==="mouseout"||t==="pointerout",w&&n!==Gr&&(at=n.relatedTarget||n.fromElement)&&(Ta(at)||at[Sa]))break t;if((O||w)&&(w=L.window===L?L:(w=L.ownerDocument)?w.defaultView||w.parentWindow:window,O?(at=n.relatedTarget||n.toElement,O=C,at=at?Ta(at):null,at!==null&&(jt=d(at),et=at.tag,at!==jt||et!==5&&et!==27&&et!==6)&&(at=null)):(O=null,at=C),O!==at)){if(et=Qf,U="onMouseLeave",M="onMouseEnter",A="mouse",(t==="pointerout"||t==="pointerover")&&(et=Ff,U="onPointerLeave",M="onPointerEnter",A="pointer"),jt=O==null?w:Ti(O),D=at==null?w:Ti(at),w=new et(U,A+"leave",O,n,L),w.target=jt,w.relatedTarget=D,U=null,Ta(L)===C&&(et=new et(M,A+"enter",at,n,L),et.target=D,et.relatedTarget=jt,U=et),jt=U,O&&at)e:{for(et=O,M=at,A=0,D=et;D;D=ni(D))A++;for(D=0,U=M;U;U=ni(U))D++;for(;0<A-D;)et=ni(et),A--;for(;0<D-A;)M=ni(M),D--;for(;A--;){if(et===M||M!==null&&et===M.alternate)break e;et=ni(et),M=ni(M)}et=null}else et=null;O!==null&&_m(H,w,O,et,!1),at!==null&&jt!==null&&_m(H,jt,at,et,!0)}}t:{if(w=C?Ti(C):window,O=w.nodeName&&w.nodeName.toLowerCase(),O==="select"||O==="input"&&w.type==="file")var Q=ad;else if(ed(w))if(id)Q=Qv;else{Q=Xv;var ct=kv}else O=w.nodeName,!O||O.toLowerCase()!=="input"||w.type!=="checkbox"&&w.type!=="radio"?C&&Pr(C.elementType)&&(Q=ad):Q=Kv;if(Q&&(Q=Q(t,C))){nd(H,Q,n,L);break t}ct&&ct(t,w,C),t==="focusout"&&C&&w.type==="number"&&C.memoizedProps.value!=null&&Yr(w,"number",w.value)}switch(ct=C?Ti(C):window,t){case"focusin":(ed(ct)||ct.contentEditable==="true")&&(Oa=ct,no=C,Ni=null);break;case"focusout":Ni=no=Oa=null;break;case"mousedown":ao=!0;break;case"contextmenu":case"mouseup":case"dragend":ao=!1,dd(H,n,L);break;case"selectionchange":if(Fv)break;case"keydown":case"keyup":dd(H,n,L)}var $;if(Wr)t:{switch(t){case"compositionstart":var nt="onCompositionStart";break t;case"compositionend":nt="onCompositionEnd";break t;case"compositionupdate":nt="onCompositionUpdate";break t}nt=void 0}else Na?If(t,n)&&(nt="onCompositionEnd"):t==="keydown"&&n.keyCode===229&&(nt="onCompositionStart");nt&&(Jf&&n.locale!=="ko"&&(Na||nt!=="onCompositionStart"?nt==="onCompositionEnd"&&Na&&($=Xf()):(En=L,Qr="value"in En?En.value:En.textContent,Na=!0)),ct=Ys(C,nt),0<ct.length&&(nt=new Zf(nt,t,null,n,L),H.push({event:nt,listeners:ct}),$?nt.data=$:($=td(n),$!==null&&(nt.data=$)))),($=Hv?qv(t,n):Yv(t,n))&&(nt=Ys(C,"onBeforeInput"),0<nt.length&&(ct=new Zf("onBeforeInput","beforeinput",null,n,L),H.push({event:ct,listeners:nt}),ct.data=$)),N1(H,t,C,n,L)}Bm(H,e)})}function ll(t,e,n){return{instance:t,listener:e,currentTarget:n}}function Ys(t,e){for(var n=e+"Capture",l=[];t!==null;){var o=t,c=o.stateNode;if(o=o.tag,o!==5&&o!==26&&o!==27||c===null||(o=ji(t,n),o!=null&&l.unshift(ll(t,o,c)),o=ji(t,e),o!=null&&l.push(ll(t,o,c))),t.tag===3)return l;t=t.return}return[]}function ni(t){if(t===null)return null;do t=t.return;while(t&&t.tag!==5&&t.tag!==27);return t||null}function _m(t,e,n,l,o){for(var c=e._reactName,g=[];n!==null&&n!==l;){var x=n,T=x.alternate,C=x.stateNode;if(x=x.tag,T!==null&&T===l)break;x!==5&&x!==26&&x!==27||C===null||(T=C,o?(C=ji(n,c),C!=null&&g.unshift(ll(n,C,T))):o||(C=ji(n,c),C!=null&&g.push(ll(n,C,T)))),n=n.return}g.length!==0&&t.push({event:e,listeners:g})}var L1=/\r\n?/g,B1=/\u0000|\uFFFD/g;function Hm(t){return(typeof t=="string"?t:""+t).replace(L1,`
`).replace(B1,"")}function qm(t,e){return e=Hm(e),Hm(t)===e}function Ps(){}function Tt(t,e,n,l,o,c){switch(n){case"children":typeof l=="string"?e==="body"||e==="textarea"&&l===""||Da(t,l):(typeof l=="number"||typeof l=="bigint")&&e!=="body"&&Da(t,""+l);break;case"className":Ql(t,"class",l);break;case"tabIndex":Ql(t,"tabindex",l);break;case"dir":case"role":case"viewBox":case"width":case"height":Ql(t,n,l);break;case"style":Pf(t,l,c);break;case"data":if(e!=="object"){Ql(t,"data",l);break}case"src":case"href":if(l===""&&(e!=="a"||n!=="href")){t.removeAttribute(n);break}if(l==null||typeof l=="function"||typeof l=="symbol"||typeof l=="boolean"){t.removeAttribute(n);break}l=Jl(""+l),t.setAttribute(n,l);break;case"action":case"formAction":if(typeof l=="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 c=="function"&&(n==="formAction"?(e!=="input"&&Tt(t,e,"name",o.name,o,null),Tt(t,e,"formEncType",o.formEncType,o,null),Tt(t,e,"formMethod",o.formMethod,o,null),Tt(t,e,"formTarget",o.formTarget,o,null)):(Tt(t,e,"encType",o.encType,o,null),Tt(t,e,"method",o.method,o,null),Tt(t,e,"target",o.target,o,null)));if(l==null||typeof l=="symbol"||typeof l=="boolean"){t.removeAttribute(n);break}l=Jl(""+l),t.setAttribute(n,l);break;case"onClick":l!=null&&(t.onclick=Ps);break;case"onScroll":l!=null&&dt("scroll",t);break;case"onScrollEnd":l!=null&&dt("scrollend",t);break;case"dangerouslySetInnerHTML":if(l!=null){if(typeof l!="object"||!("__html"in l))throw Error(r(61));if(n=l.__html,n!=null){if(o.children!=null)throw Error(r(60));t.innerHTML=n}}break;case"multiple":t.multiple=l&&typeof l!="function"&&typeof l!="symbol";break;case"muted":t.muted=l&&typeof l!="function"&&typeof l!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(l==null||typeof l=="function"||typeof l=="boolean"||typeof l=="symbol"){t.removeAttribute("xlink:href");break}n=Jl(""+l),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":l!=null&&typeof l!="function"&&typeof l!="symbol"?t.setAttribute(n,""+l):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":l&&typeof l!="function"&&typeof l!="symbol"?t.setAttribute(n,""):t.removeAttribute(n);break;case"capture":case"download":l===!0?t.setAttribute(n,""):l!==!1&&l!=null&&typeof l!="function"&&typeof l!="symbol"?t.setAttribute(n,l):t.removeAttribute(n);break;case"cols":case"rows":case"size":case"span":l!=null&&typeof l!="function"&&typeof l!="symbol"&&!isNaN(l)&&1<=l?t.setAttribute(n,l):t.removeAttribute(n);break;case"rowSpan":case"start":l==null||typeof l=="function"||typeof l=="symbol"||isNaN(l)?t.removeAttribute(n):t.setAttribute(n,l);break;case"popover":dt("beforetoggle",t),dt("toggle",t),Kl(t,"popover",l);break;case"xlinkActuate":tn(t,"http://www.w3.org/1999/xlink","xlink:actuate",l);break;case"xlinkArcrole":tn(t,"http://www.w3.org/1999/xlink","xlink:arcrole",l);break;case"xlinkRole":tn(t,"http://www.w3.org/1999/xlink","xlink:role",l);break;case"xlinkShow":tn(t,"http://www.w3.org/1999/xlink","xlink:show",l);break;case"xlinkTitle":tn(t,"http://www.w3.org/1999/xlink","xlink:title",l);break;case"xlinkType":tn(t,"http://www.w3.org/1999/xlink","xlink:type",l);break;case"xmlBase":tn(t,"http://www.w3.org/XML/1998/namespace","xml:base",l);break;case"xmlLang":tn(t,"http://www.w3.org/XML/1998/namespace","xml:lang",l);break;case"xmlSpace":tn(t,"http://www.w3.org/XML/1998/namespace","xml:space",l);break;case"is":Kl(t,"is",l);break;case"innerText":case"textContent":break;default:(!(2<n.length)||n[0]!=="o"&&n[0]!=="O"||n[1]!=="n"&&n[1]!=="N")&&(n=dv.get(n)||n,Kl(t,n,l))}}function Ru(t,e,n,l,o,c){switch(n){case"style":Pf(t,l,c);break;case"dangerouslySetInnerHTML":if(l!=null){if(typeof l!="object"||!("__html"in l))throw Error(r(61));if(n=l.__html,n!=null){if(o.children!=null)throw Error(r(60));t.innerHTML=n}}break;case"children":typeof l=="string"?Da(t,l):(typeof l=="number"||typeof l=="bigint")&&Da(t,""+l);break;case"onScroll":l!=null&&dt("scroll",t);break;case"onScrollEnd":l!=null&&dt("scrollend",t);break;case"onClick":l!=null&&(t.onclick=Ps);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!Nf.hasOwnProperty(n))t:{if(n[0]==="o"&&n[1]==="n"&&(o=n.endsWith("Capture"),e=n.slice(2,o?n.length-7:void 0),c=t[oe]||null,c=c!=null?c[n]:null,typeof c=="function"&&t.removeEventListener(e,c,o),typeof l=="function")){typeof c!="function"&&c!==null&&(n in t?t[n]=null:t.hasAttribute(n)&&t.removeAttribute(n)),t.addEventListener(e,l,o);break t}n in t?t[n]=l:l===!0?t.setAttribute(n,""):Kl(t,n,l)}}}function Wt(t,e,n){switch(e){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":dt("error",t),dt("load",t);var l=!1,o=!1,c;for(c in n)if(n.hasOwnProperty(c)){var g=n[c];if(g!=null)switch(c){case"src":l=!0;break;case"srcSet":o=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(r(137,e));default:Tt(t,e,c,g,n,null)}}o&&Tt(t,e,"srcSet",n.srcSet,n,null),l&&Tt(t,e,"src",n.src,n,null);return;case"input":dt("invalid",t);var x=c=g=o=null,T=null,C=null;for(l in n)if(n.hasOwnProperty(l)){var L=n[l];if(L!=null)switch(l){case"name":o=L;break;case"type":g=L;break;case"checked":T=L;break;case"defaultChecked":C=L;break;case"value":c=L;break;case"defaultValue":x=L;break;case"children":case"dangerouslySetInnerHTML":if(L!=null)throw Error(r(137,e));break;default:Tt(t,e,l,L,n,null)}}_f(t,c,x,T,C,g,o,!1),Zl(t);return;case"select":dt("invalid",t),l=g=c=null;for(o in n)if(n.hasOwnProperty(o)&&(x=n[o],x!=null))switch(o){case"value":c=x;break;case"defaultValue":g=x;break;case"multiple":l=x;default:Tt(t,e,o,x,n,null)}e=c,n=g,t.multiple=!!l,e!=null?Ra(t,!!l,e,!1):n!=null&&Ra(t,!!l,n,!0);return;case"textarea":dt("invalid",t),c=o=l=null;for(g in n)if(n.hasOwnProperty(g)&&(x=n[g],x!=null))switch(g){case"value":l=x;break;case"defaultValue":o=x;break;case"children":c=x;break;case"dangerouslySetInnerHTML":if(x!=null)throw Error(r(91));break;default:Tt(t,e,g,x,n,null)}qf(t,l,o,c),Zl(t);return;case"option":for(T in n)if(n.hasOwnProperty(T)&&(l=n[T],l!=null))switch(T){case"selected":t.selected=l&&typeof l!="function"&&typeof l!="symbol";break;default:Tt(t,e,T,l,n,null)}return;case"dialog":dt("beforetoggle",t),dt("toggle",t),dt("cancel",t),dt("close",t);break;case"iframe":case"object":dt("load",t);break;case"video":case"audio":for(l=0;l<il.length;l++)dt(il[l],t);break;case"image":dt("error",t),dt("load",t);break;case"details":dt("toggle",t);break;case"embed":case"source":case"link":dt("error",t),dt("load",t);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(C in n)if(n.hasOwnProperty(C)&&(l=n[C],l!=null))switch(C){case"children":case"dangerouslySetInnerHTML":throw Error(r(137,e));default:Tt(t,e,C,l,n,null)}return;default:if(Pr(e)){for(L in n)n.hasOwnProperty(L)&&(l=n[L],l!==void 0&&Ru(t,e,L,l,n,void 0));return}}for(x in n)n.hasOwnProperty(x)&&(l=n[x],l!=null&&Tt(t,e,x,l,n,null))}function U1(t,e,n,l){switch(e){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var o=null,c=null,g=null,x=null,T=null,C=null,L=null;for(O in n){var H=n[O];if(n.hasOwnProperty(O)&&H!=null)switch(O){case"checked":break;case"value":break;case"defaultValue":T=H;default:l.hasOwnProperty(O)||Tt(t,e,O,null,l,H)}}for(var w in l){var O=l[w];if(H=n[w],l.hasOwnProperty(w)&&(O!=null||H!=null))switch(w){case"type":c=O;break;case"name":o=O;break;case"checked":C=O;break;case"defaultChecked":L=O;break;case"value":g=O;break;case"defaultValue":x=O;break;case"children":case"dangerouslySetInnerHTML":if(O!=null)throw Error(r(137,e));break;default:O!==H&&Tt(t,e,w,O,l,H)}}qr(t,g,x,T,C,L,c,o);return;case"select":O=g=x=w=null;for(c in n)if(T=n[c],n.hasOwnProperty(c)&&T!=null)switch(c){case"value":break;case"multiple":O=T;default:l.hasOwnProperty(c)||Tt(t,e,c,null,l,T)}for(o in l)if(c=l[o],T=n[o],l.hasOwnProperty(o)&&(c!=null||T!=null))switch(o){case"value":w=c;break;case"defaultValue":x=c;break;case"multiple":g=c;default:c!==T&&Tt(t,e,o,c,l,T)}e=x,n=g,l=O,w!=null?Ra(t,!!n,w,!1):!!l!=!!n&&(e!=null?Ra(t,!!n,e,!0):Ra(t,!!n,n?[]:"",!1));return;case"textarea":O=w=null;for(x in n)if(o=n[x],n.hasOwnProperty(x)&&o!=null&&!l.hasOwnProperty(x))switch(x){case"value":break;case"children":break;default:Tt(t,e,x,null,l,o)}for(g in l)if(o=l[g],c=n[g],l.hasOwnProperty(g)&&(o!=null||c!=null))switch(g){case"value":w=o;break;case"defaultValue":O=o;break;case"children":break;case"dangerouslySetInnerHTML":if(o!=null)throw Error(r(91));break;default:o!==c&&Tt(t,e,g,o,l,c)}Hf(t,w,O);return;case"option":for(var at in n)if(w=n[at],n.hasOwnProperty(at)&&w!=null&&!l.hasOwnProperty(at))switch(at){case"selected":t.selected=!1;break;default:Tt(t,e,at,null,l,w)}for(T in l)if(w=l[T],O=n[T],l.hasOwnProperty(T)&&w!==O&&(w!=null||O!=null))switch(T){case"selected":t.selected=w&&typeof w!="function"&&typeof w!="symbol";break;default:Tt(t,e,T,w,l,O)}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 et in n)w=n[et],n.hasOwnProperty(et)&&w!=null&&!l.hasOwnProperty(et)&&Tt(t,e,et,null,l,w);for(C in l)if(w=l[C],O=n[C],l.hasOwnProperty(C)&&w!==O&&(w!=null||O!=null))switch(C){case"children":case"dangerouslySetInnerHTML":if(w!=null)throw Error(r(137,e));break;default:Tt(t,e,C,w,l,O)}return;default:if(Pr(e)){for(var jt in n)w=n[jt],n.hasOwnProperty(jt)&&w!==void 0&&!l.hasOwnProperty(jt)&&Ru(t,e,jt,void 0,l,w);for(L in l)w=l[L],O=n[L],!l.hasOwnProperty(L)||w===O||w===void 0&&O===void 0||Ru(t,e,L,w,l,O);return}}for(var M in n)w=n[M],n.hasOwnProperty(M)&&w!=null&&!l.hasOwnProperty(M)&&Tt(t,e,M,null,l,w);for(H in l)w=l[H],O=n[H],!l.hasOwnProperty(H)||w===O||w==null&&O==null||Tt(t,e,H,w,l,O)}var Du=null,Cu=null;function Gs(t){return t.nodeType===9?t:t.ownerDocument}function Ym(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 Pm(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 wu(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 Nu=null;function _1(){var t=window.event;return t&&t.type==="popstate"?t===Nu?!1:(Nu=t,!0):(Nu=null,!1)}var Gm=typeof setTimeout=="function"?setTimeout:void 0,H1=typeof clearTimeout=="function"?clearTimeout:void 0,km=typeof Promise=="function"?Promise:void 0,q1=typeof queueMicrotask=="function"?queueMicrotask:typeof km<"u"?function(t){return km.resolve(null).then(t).catch(Y1)}:Gm;function Y1(t){setTimeout(function(){throw t})}function qn(t){return t==="head"}function Xm(t,e){var n=e,l=0,o=0;do{var c=n.nextSibling;if(t.removeChild(n),c&&c.nodeType===8)if(n=c.data,n==="/$"){if(0<l&&8>l){n=l;var g=t.ownerDocument;if(n&1&&sl(g.documentElement),n&2&&sl(g.body),n&4)for(n=g.head,sl(n),g=n.firstChild;g;){var x=g.nextSibling,T=g.nodeName;g[Si]||T==="SCRIPT"||T==="STYLE"||T==="LINK"&&g.rel.toLowerCase()==="stylesheet"||n.removeChild(g),g=x}}if(o===0){t.removeChild(c),ml(e);return}o--}else n==="$"||n==="$?"||n==="$!"?o++:l=n.charCodeAt(0)-48;else l=0;n=c}while(n);ml(e)}function Ou(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":Ou(n),Br(n);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(n.rel.toLowerCase()==="stylesheet")continue}t.removeChild(n)}}function P1(t,e,n,l){for(;t.nodeType===1;){var o=n;if(t.nodeName.toLowerCase()!==e.toLowerCase()){if(!l&&(t.nodeName!=="INPUT"||t.type!=="hidden"))break}else if(l){if(!t[Si])switch(e){case"meta":if(!t.hasAttribute("itemprop"))break;return t;case"link":if(c=t.getAttribute("rel"),c==="stylesheet"&&t.hasAttribute("data-precedence"))break;if(c!==o.rel||t.getAttribute("href")!==(o.href==null||o.href===""?null:o.href)||t.getAttribute("crossorigin")!==(o.crossOrigin==null?null:o.crossOrigin)||t.getAttribute("title")!==(o.title==null?null:o.title))break;return t;case"style":if(t.hasAttribute("data-precedence"))break;return t;case"script":if(c=t.getAttribute("src"),(c!==(o.src==null?null:o.src)||t.getAttribute("type")!==(o.type==null?null:o.type)||t.getAttribute("crossorigin")!==(o.crossOrigin==null?null:o.crossOrigin))&&c&&t.hasAttribute("async")&&!t.hasAttribute("itemprop"))break;return t;default:return t}}else if(e==="input"&&t.type==="hidden"){var c=o.name==null?null:""+o.name;if(o.type==="hidden"&&t.getAttribute("name")===c)return t}else return t;if(t=_e(t.nextSibling),t===null)break}return null}function G1(t,e,n){if(e==="")return null;for(;t.nodeType!==3;)if((t.nodeType!==1||t.nodeName!=="INPUT"||t.type!=="hidden")&&!n||(t=_e(t.nextSibling),t===null))return null;return t}function Vu(t){return t.data==="$!"||t.data==="$?"&&t.ownerDocument.readyState==="complete"}function k1(t,e){var n=t.ownerDocument;if(t.data!=="$?"||n.readyState==="complete")e();else{var l=function(){e(),n.removeEventListener("DOMContentLoaded",l)};n.addEventListener("DOMContentLoaded",l),t._reactRetry=l}}function _e(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==="F!"||e==="F")break;if(e==="/$")return null}}return t}var zu=null;function Km(t){t=t.previousSibling;for(var e=0;t;){if(t.nodeType===8){var n=t.data;if(n==="$"||n==="$!"||n==="$?"){if(e===0)return t;e--}else n==="/$"&&e++}t=t.previousSibling}return null}function Qm(t,e,n){switch(e=Gs(n),t){case"html":if(t=e.documentElement,!t)throw Error(r(452));return t;case"head":if(t=e.head,!t)throw Error(r(453));return t;case"body":if(t=e.body,!t)throw Error(r(454));return t;default:throw Error(r(451))}}function sl(t){for(var e=t.attributes;e.length;)t.removeAttributeNode(e[0]);Br(t)}var Oe=new Map,Zm=new Set;function ks(t){return typeof t.getRootNode=="function"?t.getRootNode():t.nodeType===9?t:t.ownerDocument}var pn=k.d;k.d={f:X1,r:K1,D:Q1,C:Z1,L:F1,m:J1,X:W1,S:$1,M:I1};function X1(){var t=pn.f(),e=Ls();return t||e}function K1(t){var e=ja(t);e!==null&&e.tag===5&&e.type==="form"?mh(e):pn.r(t)}var ai=typeof document>"u"?null:document;function Fm(t,e,n){var l=ai;if(l&&typeof e=="string"&&e){var o=Ae(e);o='link[rel="'+t+'"][href="'+o+'"]',typeof n=="string"&&(o+='[crossorigin="'+n+'"]'),Zm.has(o)||(Zm.add(o),t={rel:t,crossOrigin:n,href:e},l.querySelector(o)===null&&(e=l.createElement("link"),Wt(e,"link",t),Xt(e),l.head.appendChild(e)))}}function Q1(t){pn.D(t),Fm("dns-prefetch",t,null)}function Z1(t,e){pn.C(t,e),Fm("preconnect",t,e)}function F1(t,e,n){pn.L(t,e,n);var l=ai;if(l&&t&&e){var o='link[rel="preload"][as="'+Ae(e)+'"]';e==="image"&&n&&n.imageSrcSet?(o+='[imagesrcset="'+Ae(n.imageSrcSet)+'"]',typeof n.imageSizes=="string"&&(o+='[imagesizes="'+Ae(n.imageSizes)+'"]')):o+='[href="'+Ae(t)+'"]';var c=o;switch(e){case"style":c=ii(t);break;case"script":c=li(t)}Oe.has(c)||(t=v({rel:"preload",href:e==="image"&&n&&n.imageSrcSet?void 0:t,as:e},n),Oe.set(c,t),l.querySelector(o)!==null||e==="style"&&l.querySelector(rl(c))||e==="script"&&l.querySelector(ol(c))||(e=l.createElement("link"),Wt(e,"link",t),Xt(e),l.head.appendChild(e)))}}function J1(t,e){pn.m(t,e);var n=ai;if(n&&t){var l=e&&typeof e.as=="string"?e.as:"script",o='link[rel="modulepreload"][as="'+Ae(l)+'"][href="'+Ae(t)+'"]',c=o;switch(l){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":c=li(t)}if(!Oe.has(c)&&(t=v({rel:"modulepreload",href:t},e),Oe.set(c,t),n.querySelector(o)===null)){switch(l){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(n.querySelector(ol(c)))return}l=n.createElement("link"),Wt(l,"link",t),Xt(l),n.head.appendChild(l)}}}function $1(t,e,n){pn.S(t,e,n);var l=ai;if(l&&t){var o=Ea(l).hoistableStyles,c=ii(t);e=e||"default";var g=o.get(c);if(!g){var x={loading:0,preload:null};if(g=l.querySelector(rl(c)))x.loading=5;else{t=v({rel:"stylesheet",href:t,"data-precedence":e},n),(n=Oe.get(c))&&Lu(t,n);var T=g=l.createElement("link");Xt(T),Wt(T,"link",t),T._p=new Promise(function(C,L){T.onload=C,T.onerror=L}),T.addEventListener("load",function(){x.loading|=1}),T.addEventListener("error",function(){x.loading|=2}),x.loading|=4,Xs(g,e,l)}g={type:"stylesheet",instance:g,count:1,state:x},o.set(c,g)}}}function W1(t,e){pn.X(t,e);var n=ai;if(n&&t){var l=Ea(n).hoistableScripts,o=li(t),c=l.get(o);c||(c=n.querySelector(ol(o)),c||(t=v({src:t,async:!0},e),(e=Oe.get(o))&&Bu(t,e),c=n.createElement("script"),Xt(c),Wt(c,"link",t),n.head.appendChild(c)),c={type:"script",instance:c,count:1,state:null},l.set(o,c))}}function I1(t,e){pn.M(t,e);var n=ai;if(n&&t){var l=Ea(n).hoistableScripts,o=li(t),c=l.get(o);c||(c=n.querySelector(ol(o)),c||(t=v({src:t,async:!0,type:"module"},e),(e=Oe.get(o))&&Bu(t,e),c=n.createElement("script"),Xt(c),Wt(c,"link",t),n.head.appendChild(c)),c={type:"script",instance:c,count:1,state:null},l.set(o,c))}}function Jm(t,e,n,l){var o=(o=lt.current)?ks(o):null;if(!o)throw Error(r(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=Ea(o).hoistableStyles,l=n.get(e),l||(l={type:"style",instance:null,count:0,state:null},n.set(e,l)),l):{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 c=Ea(o).hoistableStyles,g=c.get(t);if(g||(o=o.ownerDocument||o,g={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},c.set(t,g),(c=o.querySelector(rl(t)))&&!c._p&&(g.instance=c,g.state.loading=5),Oe.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},Oe.set(t,n),c||t2(o,t,n,g.state))),e&&l===null)throw Error(r(528,""));return g}if(e&&l!==null)throw Error(r(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=Ea(o).hoistableScripts,l=n.get(e),l||(l={type:"script",instance:null,count:0,state:null},n.set(e,l)),l):{type:"void",instance:null,count:0,state:null};default:throw Error(r(444,t))}}function ii(t){return'href="'+Ae(t)+'"'}function rl(t){return'link[rel="stylesheet"]['+t+"]"}function $m(t){return v({},t,{"data-precedence":t.precedence,precedence:null})}function t2(t,e,n,l){t.querySelector('link[rel="preload"][as="style"]['+e+"]")?l.loading=1:(e=t.createElement("link"),l.preload=e,e.addEventListener("load",function(){return l.loading|=1}),e.addEventListener("error",function(){return l.loading|=2}),Wt(e,"link",n),Xt(e),t.head.appendChild(e))}function li(t){return'[src="'+Ae(t)+'"]'}function ol(t){return"script[async]"+t}function Wm(t,e,n){if(e.count++,e.instance===null)switch(e.type){case"style":var l=t.querySelector('style[data-href~="'+Ae(n.href)+'"]');if(l)return e.instance=l,Xt(l),l;var o=v({},n,{"data-href":n.href,"data-precedence":n.precedence,href:null,precedence:null});return l=(t.ownerDocument||t).createElement("style"),Xt(l),Wt(l,"style",o),Xs(l,n.precedence,t),e.instance=l;case"stylesheet":o=ii(n.href);var c=t.querySelector(rl(o));if(c)return e.state.loading|=4,e.instance=c,Xt(c),c;l=$m(n),(o=Oe.get(o))&&Lu(l,o),c=(t.ownerDocument||t).createElement("link"),Xt(c);var g=c;return g._p=new Promise(function(x,T){g.onload=x,g.onerror=T}),Wt(c,"link",l),e.state.loading|=4,Xs(c,n.precedence,t),e.instance=c;case"script":return c=li(n.src),(o=t.querySelector(ol(c)))?(e.instance=o,Xt(o),o):(l=n,(o=Oe.get(c))&&(l=v({},n),Bu(l,o)),t=t.ownerDocument||t,o=t.createElement("script"),Xt(o),Wt(o,"link",l),t.head.appendChild(o),e.instance=o);case"void":return null;default:throw Error(r(443,e.type))}else e.type==="stylesheet"&&(e.state.loading&4)===0&&(l=e.instance,e.state.loading|=4,Xs(l,n.precedence,t));return e.instance}function Xs(t,e,n){for(var l=n.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),o=l.length?l[l.length-1]:null,c=o,g=0;g<l.length;g++){var x=l[g];if(x.dataset.precedence===e)c=x;else if(c!==o)break}c?c.parentNode.insertBefore(t,c.nextSibling):(e=n.nodeType===9?n.head:n,e.insertBefore(t,e.firstChild))}function Lu(t,e){t.crossOrigin==null&&(t.crossOrigin=e.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=e.referrerPolicy),t.title==null&&(t.title=e.title)}function Bu(t,e){t.crossOrigin==null&&(t.crossOrigin=e.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=e.referrerPolicy),t.integrity==null&&(t.integrity=e.integrity)}var Ks=null;function Im(t,e,n){if(Ks===null){var l=new Map,o=Ks=new Map;o.set(n,l)}else o=Ks,l=o.get(n),l||(l=new Map,o.set(n,l));if(l.has(t))return l;for(l.set(t,null),n=n.getElementsByTagName(t),o=0;o<n.length;o++){var c=n[o];if(!(c[Si]||c[te]||t==="link"&&c.getAttribute("rel")==="stylesheet")&&c.namespaceURI!=="http://www.w3.org/2000/svg"){var g=c.getAttribute(e)||"";g=t+g;var x=l.get(g);x?x.push(c):l.set(g,[c])}}return l}function tp(t,e,n){t=t.ownerDocument||t,t.head.insertBefore(n,e==="title"?t.querySelector("head > title"):null)}function e2(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 ep(t){return!(t.type==="stylesheet"&&(t.state.loading&3)===0)}var ul=null;function n2(){}function a2(t,e,n){if(ul===null)throw Error(r(475));var l=ul;if(e.type==="stylesheet"&&(typeof n.media!="string"||matchMedia(n.media).matches!==!1)&&(e.state.loading&4)===0){if(e.instance===null){var o=ii(n.href),c=t.querySelector(rl(o));if(c){t=c._p,t!==null&&typeof t=="object"&&typeof t.then=="function"&&(l.count++,l=Qs.bind(l),t.then(l,l)),e.state.loading|=4,e.instance=c,Xt(c);return}c=t.ownerDocument||t,n=$m(n),(o=Oe.get(o))&&Lu(n,o),c=c.createElement("link"),Xt(c);var g=c;g._p=new Promise(function(x,T){g.onload=x,g.onerror=T}),Wt(c,"link",n),e.instance=c}l.stylesheets===null&&(l.stylesheets=new Map),l.stylesheets.set(e,t),(t=e.state.preload)&&(e.state.loading&3)===0&&(l.count++,e=Qs.bind(l),t.addEventListener("load",e),t.addEventListener("error",e))}}function i2(){if(ul===null)throw Error(r(475));var t=ul;return t.stylesheets&&t.count===0&&Uu(t,t.stylesheets),0<t.count?function(e){var n=setTimeout(function(){if(t.stylesheets&&Uu(t,t.stylesheets),t.unsuspend){var l=t.unsuspend;t.unsuspend=null,l()}},6e4);return t.unsuspend=e,function(){t.unsuspend=null,clearTimeout(n)}}:null}function Qs(){if(this.count--,this.count===0){if(this.stylesheets)Uu(this,this.stylesheets);else if(this.unsuspend){var t=this.unsuspend;this.unsuspend=null,t()}}}var Zs=null;function Uu(t,e){t.stylesheets=null,t.unsuspend!==null&&(t.count++,Zs=new Map,e.forEach(l2,t),Zs=null,Qs.call(t))}function l2(t,e){if(!(e.state.loading&4)){var n=Zs.get(t);if(n)var l=n.get(null);else{n=new Map,Zs.set(t,n);for(var o=t.querySelectorAll("link[data-precedence],style[data-precedence]"),c=0;c<o.length;c++){var g=o[c];(g.nodeName==="LINK"||g.getAttribute("media")!=="not all")&&(n.set(g.dataset.precedence,g),l=g)}l&&n.set(null,l)}o=e.instance,g=o.getAttribute("data-precedence"),c=n.get(g)||l,c===l&&n.set(null,o),n.set(g,o),this.count++,l=Qs.bind(this),o.addEventListener("load",l),o.addEventListener("error",l),c?c.parentNode.insertBefore(o,c.nextSibling):(t=t.nodeType===9?t.head:t,t.insertBefore(o,t.firstChild)),e.state.loading|=4}}var cl={$$typeof:q,Provider:null,Consumer:null,_currentValue:J,_currentValue2:J,_threadCount:0};function s2(t,e,n,l,o,c,g,x){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=Or(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Or(0),this.hiddenUpdates=Or(null),this.identifierPrefix=l,this.onUncaughtError=o,this.onCaughtError=c,this.onRecoverableError=g,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=x,this.incompleteTransitions=new Map}function np(t,e,n,l,o,c,g,x,T,C,L,H){return t=new s2(t,e,n,g,x,T,C,H),e=1,c===!0&&(e|=24),c=ve(3,null,null,e),t.current=c,c.stateNode=t,e=vo(),e.refCount++,t.pooledCache=e,e.refCount++,c.memoizedState={element:l,isDehydrated:n,cache:e},To(c),t}function ap(t){return t?(t=Ba,t):Ba}function ip(t,e,n,l,o,c){o=ap(o),l.context===null?l.context=o:l.pendingContext=o,l=Rn(e),l.payload={element:n},c=c===void 0?null:c,c!==null&&(l.callback=c),n=Dn(t,l,e),n!==null&&(je(n,t,e),qi(n,t,e))}function lp(t,e){if(t=t.memoizedState,t!==null&&t.dehydrated!==null){var n=t.retryLane;t.retryLane=n!==0&&n<e?n:e}}function _u(t,e){lp(t,e),(t=t.alternate)&&lp(t,e)}function sp(t){if(t.tag===13){var e=La(t,67108864);e!==null&&je(e,t,67108864),_u(t,67108864)}}var Fs=!0;function r2(t,e,n,l){var o=B.T;B.T=null;var c=k.p;try{k.p=2,Hu(t,e,n,l)}finally{k.p=c,B.T=o}}function o2(t,e,n,l){var o=B.T;B.T=null;var c=k.p;try{k.p=8,Hu(t,e,n,l)}finally{k.p=c,B.T=o}}function Hu(t,e,n,l){if(Fs){var o=qu(l);if(o===null)Mu(t,e,l,Js,n),op(t,l);else if(c2(o,t,e,n,l))l.stopPropagation();else if(op(t,l),e&4&&-1<u2.indexOf(t)){for(;o!==null;){var c=ja(o);if(c!==null)switch(c.tag){case 3:if(c=c.stateNode,c.current.memoizedState.isDehydrated){var g=Jn(c.pendingLanes);if(g!==0){var x=c;for(x.pendingLanes|=2,x.entangledLanes|=2;g;){var T=1<<31-ge(g);x.entanglements[1]|=T,g&=~T}Ke(c),(xt&6)===0&&(Vs=Ye()+500,al(0))}}break;case 13:x=La(c,2),x!==null&&je(x,c,2),Ls(),_u(c,2)}if(c=qu(l),c===null&&Mu(t,e,l,Js,n),c===o)break;o=c}o!==null&&l.stopPropagation()}else Mu(t,e,l,null,n)}}function qu(t){return t=kr(t),Yu(t)}var Js=null;function Yu(t){if(Js=null,t=Ta(t),t!==null){var e=d(t);if(e===null)t=null;else{var n=e.tag;if(n===13){if(t=f(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 Js=t,null}function rp(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(Z0()){case Sf:return 2;case Tf:return 8;case Pl:case F0:return 32;case jf:return 268435456;default:return 32}default:return 32}}var Pu=!1,Yn=null,Pn=null,Gn=null,fl=new Map,dl=new Map,kn=[],u2="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 op(t,e){switch(t){case"focusin":case"focusout":Yn=null;break;case"dragenter":case"dragleave":Pn=null;break;case"mouseover":case"mouseout":Gn=null;break;case"pointerover":case"pointerout":fl.delete(e.pointerId);break;case"gotpointercapture":case"lostpointercapture":dl.delete(e.pointerId)}}function hl(t,e,n,l,o,c){return t===null||t.nativeEvent!==c?(t={blockedOn:e,domEventName:n,eventSystemFlags:l,nativeEvent:c,targetContainers:[o]},e!==null&&(e=ja(e),e!==null&&sp(e)),t):(t.eventSystemFlags|=l,e=t.targetContainers,o!==null&&e.indexOf(o)===-1&&e.push(o),t)}function c2(t,e,n,l,o){switch(e){case"focusin":return Yn=hl(Yn,t,e,n,l,o),!0;case"dragenter":return Pn=hl(Pn,t,e,n,l,o),!0;case"mouseover":return Gn=hl(Gn,t,e,n,l,o),!0;case"pointerover":var c=o.pointerId;return fl.set(c,hl(fl.get(c)||null,t,e,n,l,o)),!0;case"gotpointercapture":return c=o.pointerId,dl.set(c,hl(dl.get(c)||null,t,e,n,l,o)),!0}return!1}function up(t){var e=Ta(t.target);if(e!==null){var n=d(e);if(n!==null){if(e=n.tag,e===13){if(e=f(n),e!==null){t.blockedOn=e,av(t.priority,function(){if(n.tag===13){var l=Te();l=Vr(l);var o=La(n,l);o!==null&&je(o,n,l),_u(n,l)}});return}}else if(e===3&&n.stateNode.current.memoizedState.isDehydrated){t.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}t.blockedOn=null}function $s(t){if(t.blockedOn!==null)return!1;for(var e=t.targetContainers;0<e.length;){var n=qu(t.nativeEvent);if(n===null){n=t.nativeEvent;var l=new n.constructor(n.type,n);Gr=l,n.target.dispatchEvent(l),Gr=null}else return e=ja(n),e!==null&&sp(e),t.blockedOn=n,!1;e.shift()}return!0}function cp(t,e,n){$s(t)&&n.delete(e)}function f2(){Pu=!1,Yn!==null&&$s(Yn)&&(Yn=null),Pn!==null&&$s(Pn)&&(Pn=null),Gn!==null&&$s(Gn)&&(Gn=null),fl.forEach(cp),dl.forEach(cp)}function Ws(t,e){t.blockedOn===e&&(t.blockedOn=null,Pu||(Pu=!0,a.unstable_scheduleCallback(a.unstable_NormalPriority,f2)))}var Is=null;function fp(t){Is!==t&&(Is=t,a.unstable_scheduleCallback(a.unstable_NormalPriority,function(){Is===t&&(Is=null);for(var e=0;e<t.length;e+=3){var n=t[e],l=t[e+1],o=t[e+2];if(typeof l!="function"){if(Yu(l||n)===null)continue;break}var c=ja(n);c!==null&&(t.splice(e,3),e-=3,Yo(c,{pending:!0,data:o,method:n.method,action:l},l,o))}}))}function ml(t){function e(T){return Ws(T,t)}Yn!==null&&Ws(Yn,t),Pn!==null&&Ws(Pn,t),Gn!==null&&Ws(Gn,t),fl.forEach(e),dl.forEach(e);for(var n=0;n<kn.length;n++){var l=kn[n];l.blockedOn===t&&(l.blockedOn=null)}for(;0<kn.length&&(n=kn[0],n.blockedOn===null);)up(n),n.blockedOn===null&&kn.shift();if(n=(t.ownerDocument||t).$$reactFormReplay,n!=null)for(l=0;l<n.length;l+=3){var o=n[l],c=n[l+1],g=o[oe]||null;if(typeof c=="function")g||fp(n);else if(g){var x=null;if(c&&c.hasAttribute("formAction")){if(o=c,g=c[oe]||null)x=g.formAction;else if(Yu(o)!==null)continue}else x=g.action;typeof x=="function"?n[l+1]=x:(n.splice(l,3),l-=3),fp(n)}}}function Gu(t){this._internalRoot=t}tr.prototype.render=Gu.prototype.render=function(t){var e=this._internalRoot;if(e===null)throw Error(r(409));var n=e.current,l=Te();ip(n,l,t,e,null,null)},tr.prototype.unmount=Gu.prototype.unmount=function(){var t=this._internalRoot;if(t!==null){this._internalRoot=null;var e=t.containerInfo;ip(t.current,2,null,t,null,null),Ls(),e[Sa]=null}};function tr(t){this._internalRoot=t}tr.prototype.unstable_scheduleHydration=function(t){if(t){var e=Df();t={blockedOn:null,target:t,priority:e};for(var n=0;n<kn.length&&e!==0&&e<kn[n].priority;n++);kn.splice(n,0,t),n===0&&up(t)}};var dp=i.version;if(dp!=="19.1.1")throw Error(r(527,dp,"19.1.1"));k.findDOMNode=function(t){var e=t._reactInternals;if(e===void 0)throw typeof t.render=="function"?Error(r(188)):(t=Object.keys(t).join(","),Error(r(268,t)));return t=m(e),t=t!==null?p(t):null,t=t===null?null:t.stateNode,t};var d2={bundleType:0,version:"19.1.1",rendererPackageName:"react-dom",currentDispatcherRef:B,reconcilerVersion:"19.1.1"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var er=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!er.isDisabled&&er.supportsFiber)try{vi=er.inject(d2),pe=er}catch{}}return gl.createRoot=function(t,e){if(!u(t))throw Error(r(299));var n=!1,l="",o=Dh,c=Ch,g=wh,x=null;return e!=null&&(e.unstable_strictMode===!0&&(n=!0),e.identifierPrefix!==void 0&&(l=e.identifierPrefix),e.onUncaughtError!==void 0&&(o=e.onUncaughtError),e.onCaughtError!==void 0&&(c=e.onCaughtError),e.onRecoverableError!==void 0&&(g=e.onRecoverableError),e.unstable_transitionCallbacks!==void 0&&(x=e.unstable_transitionCallbacks)),e=np(t,1,!1,null,null,n,l,o,c,g,x,null),t[Sa]=e.current,Au(t),new Gu(e)},gl.hydrateRoot=function(t,e,n){if(!u(t))throw Error(r(299));var l=!1,o="",c=Dh,g=Ch,x=wh,T=null,C=null;return n!=null&&(n.unstable_strictMode===!0&&(l=!0),n.identifierPrefix!==void 0&&(o=n.identifierPrefix),n.onUncaughtError!==void 0&&(c=n.onUncaughtError),n.onCaughtError!==void 0&&(g=n.onCaughtError),n.onRecoverableError!==void 0&&(x=n.onRecoverableError),n.unstable_transitionCallbacks!==void 0&&(T=n.unstable_transitionCallbacks),n.formState!==void 0&&(C=n.formState)),e=np(t,1,!0,e,n??null,l,o,c,g,x,T,C),e.context=ap(null),n=e.current,l=Te(),l=Vr(l),o=Rn(l),o.callback=null,Dn(n,o,l),n=l,e.current.lanes=n,bi(e,n),Ke(e),t[Sa]=e.current,Au(t),new tr(e)},gl.version="19.1.1",gl}var Tp;function j2(){if(Tp)return Ku.exports;Tp=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(i){console.error(i)}}return a(),Ku.exports=T2(),Ku.exports}var E2=j2();/**
 * react-router v7.7.0
 *
 * Copyright (c) Remix Software Inc.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE.md file in the root directory of this source tree.
 *
 * @license MIT
 */var jp="popstate";function A2(a={}){function i(r,u){let{pathname:d,search:f,hash:y}=r.location;return dc("",{pathname:d,search:f,hash:y},u.state&&u.state.usr||null,u.state&&u.state.key||"default")}function s(r,u){return typeof u=="string"?u:Ml(u)}return R2(i,s,null,a)}function Nt(a,i){if(a===!1||a===null||typeof a>"u")throw new Error(i)}function Je(a,i){if(!a){typeof console<"u"&&console.warn(i);try{throw new Error(i)}catch{}}}function M2(){return Math.random().toString(36).substring(2,10)}function Ep(a,i){return{usr:a.state,key:a.key,idx:i}}function dc(a,i,s=null,r){return{pathname:typeof a=="string"?a:a.pathname,search:"",hash:"",...typeof i=="string"?hi(i):i,state:s,key:i&&i.key||r||M2()}}function Ml({pathname:a="/",search:i="",hash:s=""}){return i&&i!=="?"&&(a+=i.charAt(0)==="?"?i:"?"+i),s&&s!=="#"&&(a+=s.charAt(0)==="#"?s:"#"+s),a}function hi(a){let i={};if(a){let s=a.indexOf("#");s>=0&&(i.hash=a.substring(s),a=a.substring(0,s));let r=a.indexOf("?");r>=0&&(i.search=a.substring(r),a=a.substring(0,r)),a&&(i.pathname=a)}return i}function R2(a,i,s,r={}){let{window:u=document.defaultView,v5Compat:d=!1}=r,f=u.history,y="POP",m=null,p=v();p==null&&(p=0,f.replaceState({...f.state,idx:p},""));function v(){return(f.state||{idx:null}).idx}function b(){y="POP";let _=v(),V=_==null?null:_-p;p=_,m&&m({action:y,location:z.location,delta:V})}function S(_,V){y="PUSH";let G=dc(z.location,_,V);p=v()+1;let q=Ep(G,p),F=z.createHref(G);try{f.pushState(q,"",F)}catch(P){if(P instanceof DOMException&&P.name==="DataCloneError")throw P;u.location.assign(F)}d&&m&&m({action:y,location:z.location,delta:1})}function R(_,V){y="REPLACE";let G=dc(z.location,_,V);p=v();let q=Ep(G,p),F=z.createHref(G);f.replaceState(q,"",F),d&&m&&m({action:y,location:z.location,delta:0})}function N(_){return D2(_)}let z={get action(){return y},get location(){return a(u,f)},listen(_){if(m)throw new Error("A history only accepts one active listener");return u.addEventListener(jp,b),m=_,()=>{u.removeEventListener(jp,b),m=null}},createHref(_){return i(u,_)},createURL:N,encodeLocation(_){let V=N(_);return{pathname:V.pathname,search:V.search,hash:V.hash}},push:S,replace:R,go(_){return f.go(_)}};return z}function D2(a,i=!1){let s="http://localhost";typeof window<"u"&&(s=window.location.origin!=="null"?window.location.origin:window.location.href),Nt(s,"No window.location.(origin|href) available to create URL");let r=typeof a=="string"?a:Ml(a);return r=r.replace(/ $/,"%20"),!i&&r.startsWith("//")&&(r=s+r),new URL(r,s)}function Xg(a,i,s="/"){return C2(a,i,s,!1)}function C2(a,i,s,r){let u=typeof i=="string"?hi(i):i,d=yn(u.pathname||"/",s);if(d==null)return null;let f=Kg(a);w2(f);let y=null;for(let m=0;y==null&&m<f.length;++m){let p=Y2(d);y=H2(f[m],p,r)}return y}function Kg(a,i=[],s=[],r=""){let u=(d,f,y)=>{let m={relativePath:y===void 0?d.path||"":y,caseSensitive:d.caseSensitive===!0,childrenIndex:f,route:d};m.relativePath.startsWith("/")&&(Nt(m.relativePath.startsWith(r),`Absolute route path "${m.relativePath}" nested under path "${r}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),m.relativePath=m.relativePath.slice(r.length));let p=gn([r,m.relativePath]),v=s.concat(m);d.children&&d.children.length>0&&(Nt(d.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${p}".`),Kg(d.children,i,v,p)),!(d.path==null&&!d.index)&&i.push({path:p,score:U2(p,d.index),routesMeta:v})};return a.forEach((d,f)=>{if(d.path===""||!d.path?.includes("?"))u(d,f);else for(let y of Qg(d.path))u(d,f,y)}),i}function Qg(a){let i=a.split("/");if(i.length===0)return[];let[s,...r]=i,u=s.endsWith("?"),d=s.replace(/\?$/,"");if(r.length===0)return u?[d,""]:[d];let f=Qg(r.join("/")),y=[];return y.push(...f.map(m=>m===""?d:[d,m].join("/"))),u&&y.push(...f),y.map(m=>a.startsWith("/")&&m===""?"/":m)}function w2(a){a.sort((i,s)=>i.score!==s.score?s.score-i.score:_2(i.routesMeta.map(r=>r.childrenIndex),s.routesMeta.map(r=>r.childrenIndex)))}var N2=/^:[\w-]+$/,O2=3,V2=2,z2=1,L2=10,B2=-2,Ap=a=>a==="*";function U2(a,i){let s=a.split("/"),r=s.length;return s.some(Ap)&&(r+=B2),i&&(r+=V2),s.filter(u=>!Ap(u)).reduce((u,d)=>u+(N2.test(d)?O2:d===""?z2:L2),r)}function _2(a,i){return a.length===i.length&&a.slice(0,-1).every((r,u)=>r===i[u])?a[a.length-1]-i[i.length-1]:0}function H2(a,i,s=!1){let{routesMeta:r}=a,u={},d="/",f=[];for(let y=0;y<r.length;++y){let m=r[y],p=y===r.length-1,v=d==="/"?i:i.slice(d.length)||"/",b=mr({path:m.relativePath,caseSensitive:m.caseSensitive,end:p},v),S=m.route;if(!b&&p&&s&&!r[r.length-1].route.index&&(b=mr({path:m.relativePath,caseSensitive:m.caseSensitive,end:!1},v)),!b)return null;Object.assign(u,b.params),f.push({params:u,pathname:gn([d,b.pathname]),pathnameBase:X2(gn([d,b.pathnameBase])),route:S}),b.pathnameBase!=="/"&&(d=gn([d,b.pathnameBase]))}return f}function mr(a,i){typeof a=="string"&&(a={path:a,caseSensitive:!1,end:!0});let[s,r]=q2(a.path,a.caseSensitive,a.end),u=i.match(s);if(!u)return null;let d=u[0],f=d.replace(/(.)\/+$/,"$1"),y=u.slice(1);return{params:r.reduce((p,{paramName:v,isOptional:b},S)=>{if(v==="*"){let N=y[S]||"";f=d.slice(0,d.length-N.length).replace(/(.)\/+$/,"$1")}const R=y[S];return b&&!R?p[v]=void 0:p[v]=(R||"").replace(/%2F/g,"/"),p},{}),pathname:d,pathnameBase:f,pattern:a}}function q2(a,i=!1,s=!0){Je(a==="*"||!a.endsWith("*")||a.endsWith("/*"),`Route path "${a}" will be treated as if it were "${a.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${a.replace(/\*$/,"/*")}".`);let r=[],u="^"+a.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(f,y,m)=>(r.push({paramName:y,isOptional:m!=null}),m?"/?([^\\/]+)?":"/([^\\/]+)"));return a.endsWith("*")?(r.push({paramName:"*"}),u+=a==="*"||a==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):s?u+="\\/*$":a!==""&&a!=="/"&&(u+="(?:(?=\\/|$))"),[new RegExp(u,i?void 0:"i"),r]}function Y2(a){try{return a.split("/").map(i=>decodeURIComponent(i).replace(/\//g,"%2F")).join("/")}catch(i){return Je(!1,`The URL path "${a}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${i}).`),a}}function yn(a,i){if(i==="/")return a;if(!a.toLowerCase().startsWith(i.toLowerCase()))return null;let s=i.endsWith("/")?i.length-1:i.length,r=a.charAt(s);return r&&r!=="/"?null:a.slice(s)||"/"}function P2(a,i="/"){let{pathname:s,search:r="",hash:u=""}=typeof a=="string"?hi(a):a;return{pathname:s?s.startsWith("/")?s:G2(s,i):i,search:K2(r),hash:Q2(u)}}function G2(a,i){let s=i.replace(/\/+$/,"").split("/");return a.split("/").forEach(u=>{u===".."?s.length>1&&s.pop():u!=="."&&s.push(u)}),s.length>1?s.join("/"):"/"}function Ju(a,i,s,r){return`Cannot include a '${a}' character in a manually specified \`to.${i}\` field [${JSON.stringify(r)}].  Please separate it out to the \`to.${s}\` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.`}function k2(a){return a.filter((i,s)=>s===0||i.route.path&&i.route.path.length>0)}function Zg(a){let i=k2(a);return i.map((s,r)=>r===i.length-1?s.pathname:s.pathnameBase)}function Fg(a,i,s,r=!1){let u;typeof a=="string"?u=hi(a):(u={...a},Nt(!u.pathname||!u.pathname.includes("?"),Ju("?","pathname","search",u)),Nt(!u.pathname||!u.pathname.includes("#"),Ju("#","pathname","hash",u)),Nt(!u.search||!u.search.includes("#"),Ju("#","search","hash",u)));let d=a===""||u.pathname==="",f=d?"/":u.pathname,y;if(f==null)y=s;else{let b=i.length-1;if(!r&&f.startsWith("..")){let S=f.split("/");for(;S[0]==="..";)S.shift(),b-=1;u.pathname=S.join("/")}y=b>=0?i[b]:"/"}let m=P2(u,y),p=f&&f!=="/"&&f.endsWith("/"),v=(d||f===".")&&s.endsWith("/");return!m.pathname.endsWith("/")&&(p||v)&&(m.pathname+="/"),m}var gn=a=>a.join("/").replace(/\/\/+/g,"/"),X2=a=>a.replace(/\/+$/,"").replace(/^\/*/,"/"),K2=a=>!a||a==="?"?"":a.startsWith("?")?a:"?"+a,Q2=a=>!a||a==="#"?"":a.startsWith("#")?a:"#"+a;function Z2(a){return a!=null&&typeof a.status=="number"&&typeof a.statusText=="string"&&typeof a.internal=="boolean"&&"data"in a}var Jg=["POST","PUT","PATCH","DELETE"];new Set(Jg);var F2=["GET",...Jg];new Set(F2);var mi=j.createContext(null);mi.displayName="DataRouter";var Tr=j.createContext(null);Tr.displayName="DataRouterState";j.createContext(!1);var $g=j.createContext({isTransitioning:!1});$g.displayName="ViewTransition";var J2=j.createContext(new Map);J2.displayName="Fetchers";var $2=j.createContext(null);$2.displayName="Await";var $e=j.createContext(null);$e.displayName="Navigation";var zl=j.createContext(null);zl.displayName="Location";var We=j.createContext({outlet:null,matches:[],isDataRoute:!1});We.displayName="Route";var Lc=j.createContext(null);Lc.displayName="RouteError";function W2(a,{relative:i}={}){Nt(Ll(),"useHref() may be used only in the context of a <Router> component.");let{basename:s,navigator:r}=j.useContext($e),{hash:u,pathname:d,search:f}=Bl(a,{relative:i}),y=d;return s!=="/"&&(y=d==="/"?s:gn([s,d])),r.createHref({pathname:y,search:f,hash:u})}function Ll(){return j.useContext(zl)!=null}function bn(){return Nt(Ll(),"useLocation() may be used only in the context of a <Router> component."),j.useContext(zl).location}var Wg="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function Ig(a){j.useContext($e).static||j.useLayoutEffect(a)}function I2(){let{isDataRoute:a}=j.useContext(We);return a?dx():tx()}function tx(){Nt(Ll(),"useNavigate() may be used only in the context of a <Router> component.");let a=j.useContext(mi),{basename:i,navigator:s}=j.useContext($e),{matches:r}=j.useContext(We),{pathname:u}=bn(),d=JSON.stringify(Zg(r)),f=j.useRef(!1);return Ig(()=>{f.current=!0}),j.useCallback((m,p={})=>{if(Je(f.current,Wg),!f.current)return;if(typeof m=="number"){s.go(m);return}let v=Fg(m,JSON.parse(d),u,p.relative==="path");a==null&&i!=="/"&&(v.pathname=v.pathname==="/"?i:gn([i,v.pathname])),(p.replace?s.replace:s.push)(v,p.state,p)},[i,s,d,u,a])}j.createContext(null);function ty(){let{matches:a}=j.useContext(We),i=a[a.length-1];return i?i.params:{}}function Bl(a,{relative:i}={}){let{matches:s}=j.useContext(We),{pathname:r}=bn(),u=JSON.stringify(Zg(s));return j.useMemo(()=>Fg(a,JSON.parse(u),r,i==="path"),[a,u,r,i])}function ex(a,i){return ey(a,i)}function ey(a,i,s,r){Nt(Ll(),"useRoutes() may be used only in the context of a <Router> component.");let{navigator:u}=j.useContext($e),{matches:d}=j.useContext(We),f=d[d.length-1],y=f?f.params:{},m=f?f.pathname:"/",p=f?f.pathnameBase:"/",v=f&&f.route;{let V=v&&v.path||"";ny(m,!v||V.endsWith("*")||V.endsWith("*?"),`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${m}" (under <Route path="${V}">) but the parent route path has no trailing "*". This means if you navigate deeper, the parent won't match anymore and therefore the child routes will never render.

Please change the parent <Route path="${V}"> to <Route path="${V==="/"?"*":`${V}/*`}">.`)}let b=bn(),S;if(i){let V=typeof i=="string"?hi(i):i;Nt(p==="/"||V.pathname?.startsWith(p),`When overriding the location using \`<Routes location>\` or \`useRoutes(routes, location)\`, the location pathname must begin with the portion of the URL pathname that was matched by all parent routes. The current pathname base is "${p}" but pathname "${V.pathname}" was given in the \`location\` prop.`),S=V}else S=b;let R=S.pathname||"/",N=R;if(p!=="/"){let V=p.replace(/^\//,"").split("/");N="/"+R.replace(/^\//,"").split("/").slice(V.length).join("/")}let z=Xg(a,{pathname:N});Je(v||z!=null,`No routes matched location "${S.pathname}${S.search}${S.hash}" `),Je(z==null||z[z.length-1].route.element!==void 0||z[z.length-1].route.Component!==void 0||z[z.length-1].route.lazy!==void 0,`Matched leaf route at location "${S.pathname}${S.search}${S.hash}" does not have an element or Component. This means it will render an <Outlet /> with a null value by default resulting in an "empty" page.`);let _=sx(z&&z.map(V=>Object.assign({},V,{params:Object.assign({},y,V.params),pathname:gn([p,u.encodeLocation?u.encodeLocation(V.pathname).pathname:V.pathname]),pathnameBase:V.pathnameBase==="/"?p:gn([p,u.encodeLocation?u.encodeLocation(V.pathnameBase).pathname:V.pathnameBase])})),d,s,r);return i&&_?j.createElement(zl.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",...S},navigationType:"POP"}},_):_}function nx(){let a=fx(),i=Z2(a)?`${a.status} ${a.statusText}`:a instanceof Error?a.message:JSON.stringify(a),s=a instanceof Error?a.stack:null,r="rgba(200,200,200, 0.5)",u={padding:"0.5rem",backgroundColor:r},d={padding:"2px 4px",backgroundColor:r},f=null;return console.error("Error handled by React Router default ErrorBoundary:",a),f=j.createElement(j.Fragment,null,j.createElement("p",null,"💿 Hey developer 👋"),j.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",j.createElement("code",{style:d},"ErrorBoundary")," or"," ",j.createElement("code",{style:d},"errorElement")," prop on your route.")),j.createElement(j.Fragment,null,j.createElement("h2",null,"Unexpected Application Error!"),j.createElement("h3",{style:{fontStyle:"italic"}},i),s?j.createElement("pre",{style:u},s):null,f)}var ax=j.createElement(nx,null),ix=class extends j.Component{constructor(a){super(a),this.state={location:a.location,revalidation:a.revalidation,error:a.error}}static getDerivedStateFromError(a){return{error:a}}static getDerivedStateFromProps(a,i){return i.location!==a.location||i.revalidation!=="idle"&&a.revalidation==="idle"?{error:a.error,location:a.location,revalidation:a.revalidation}:{error:a.error!==void 0?a.error:i.error,location:i.location,revalidation:a.revalidation||i.revalidation}}componentDidCatch(a,i){console.error("React Router caught the following error during render",a,i)}render(){return this.state.error!==void 0?j.createElement(We.Provider,{value:this.props.routeContext},j.createElement(Lc.Provider,{value:this.state.error,children:this.props.component})):this.props.children}};function lx({routeContext:a,match:i,children:s}){let r=j.useContext(mi);return r&&r.static&&r.staticContext&&(i.route.errorElement||i.route.ErrorBoundary)&&(r.staticContext._deepestRenderedBoundaryId=i.route.id),j.createElement(We.Provider,{value:a},s)}function sx(a,i=[],s=null,r=null){if(a==null){if(!s)return null;if(s.errors)a=s.matches;else if(i.length===0&&!s.initialized&&s.matches.length>0)a=s.matches;else return null}let u=a,d=s?.errors;if(d!=null){let m=u.findIndex(p=>p.route.id&&d?.[p.route.id]!==void 0);Nt(m>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(d).join(",")}`),u=u.slice(0,Math.min(u.length,m+1))}let f=!1,y=-1;if(s)for(let m=0;m<u.length;m++){let p=u[m];if((p.route.HydrateFallback||p.route.hydrateFallbackElement)&&(y=m),p.route.id){let{loaderData:v,errors:b}=s,S=p.route.loader&&!v.hasOwnProperty(p.route.id)&&(!b||b[p.route.id]===void 0);if(p.route.lazy||S){f=!0,y>=0?u=u.slice(0,y+1):u=[u[0]];break}}}return u.reduceRight((m,p,v)=>{let b,S=!1,R=null,N=null;s&&(b=d&&p.route.id?d[p.route.id]:void 0,R=p.route.errorElement||ax,f&&(y<0&&v===0?(ny("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),S=!0,N=null):y===v&&(S=!0,N=p.route.hydrateFallbackElement||null)));let z=i.concat(u.slice(0,v+1)),_=()=>{let V;return b?V=R:S?V=N:p.route.Component?V=j.createElement(p.route.Component,null):p.route.element?V=p.route.element:V=m,j.createElement(lx,{match:p,routeContext:{outlet:m,matches:z,isDataRoute:s!=null},children:V})};return s&&(p.route.ErrorBoundary||p.route.errorElement||v===0)?j.createElement(ix,{location:s.location,revalidation:s.revalidation,component:R,error:b,children:_(),routeContext:{outlet:null,matches:z,isDataRoute:!0}}):_()},null)}function Bc(a){return`${a} must be used within a data router.  See https://reactrouter.com/en/main/routers/picking-a-router.`}function rx(a){let i=j.useContext(mi);return Nt(i,Bc(a)),i}function ox(a){let i=j.useContext(Tr);return Nt(i,Bc(a)),i}function ux(a){let i=j.useContext(We);return Nt(i,Bc(a)),i}function Uc(a){let i=ux(a),s=i.matches[i.matches.length-1];return Nt(s.route.id,`${a} can only be used on routes that contain a unique "id"`),s.route.id}function cx(){return Uc("useRouteId")}function fx(){let a=j.useContext(Lc),i=ox("useRouteError"),s=Uc("useRouteError");return a!==void 0?a:i.errors?.[s]}function dx(){let{router:a}=rx("useNavigate"),i=Uc("useNavigate"),s=j.useRef(!1);return Ig(()=>{s.current=!0}),j.useCallback(async(u,d={})=>{Je(s.current,Wg),s.current&&(typeof u=="number"?a.navigate(u):await a.navigate(u,{fromRouteId:i,...d}))},[a,i])}var Mp={};function ny(a,i,s){!i&&!Mp[a]&&(Mp[a]=!0,Je(!1,s))}j.memo(hx);function hx({routes:a,future:i,state:s}){return ey(a,void 0,s,i)}function se(a){Nt(!1,"A <Route> is only ever to be used as the child of <Routes> element, never rendered directly. Please wrap your <Route> in a <Routes>.")}function mx({basename:a="/",children:i=null,location:s,navigationType:r="POP",navigator:u,static:d=!1}){Nt(!Ll(),"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let f=a.replace(/^\/*/,"/"),y=j.useMemo(()=>({basename:f,navigator:u,static:d,future:{}}),[f,u,d]);typeof s=="string"&&(s=hi(s));let{pathname:m="/",search:p="",hash:v="",state:b=null,key:S="default"}=s,R=j.useMemo(()=>{let N=yn(m,f);return N==null?null:{location:{pathname:N,search:p,hash:v,state:b,key:S},navigationType:r}},[f,m,p,v,b,S,r]);return Je(R!=null,`<Router basename="${f}"> is not able to match the URL "${m}${p}${v}" because it does not start with the basename, so the <Router> won't render anything.`),R==null?null:j.createElement($e.Provider,{value:y},j.createElement(zl.Provider,{children:i,value:R}))}function px({children:a,location:i}){return ex(hc(a),i)}function hc(a,i=[]){let s=[];return j.Children.forEach(a,(r,u)=>{if(!j.isValidElement(r))return;let d=[...i,u];if(r.type===j.Fragment){s.push.apply(s,hc(r.props.children,d));return}Nt(r.type===se,`[${typeof r.type=="string"?r.type:r.type.name}] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>`),Nt(!r.props.index||!r.props.children,"An index route cannot have child routes.");let f={id:r.props.id||d.join("-"),caseSensitive:r.props.caseSensitive,element:r.props.element,Component:r.props.Component,index:r.props.index,path:r.props.path,loader:r.props.loader,action:r.props.action,hydrateFallbackElement:r.props.hydrateFallbackElement,HydrateFallback:r.props.HydrateFallback,errorElement:r.props.errorElement,ErrorBoundary:r.props.ErrorBoundary,hasErrorBoundary:r.props.hasErrorBoundary===!0||r.props.ErrorBoundary!=null||r.props.errorElement!=null,shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle,lazy:r.props.lazy};r.props.children&&(f.children=hc(r.props.children,d)),s.push(f)}),s}var or="get",ur="application/x-www-form-urlencoded";function jr(a){return a!=null&&typeof a.tagName=="string"}function gx(a){return jr(a)&&a.tagName.toLowerCase()==="button"}function yx(a){return jr(a)&&a.tagName.toLowerCase()==="form"}function vx(a){return jr(a)&&a.tagName.toLowerCase()==="input"}function xx(a){return!!(a.metaKey||a.altKey||a.ctrlKey||a.shiftKey)}function bx(a,i){return a.button===0&&(!i||i==="_self")&&!xx(a)}var nr=null;function Sx(){if(nr===null)try{new FormData(document.createElement("form"),0),nr=!1}catch{nr=!0}return nr}var Tx=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function $u(a){return a!=null&&!Tx.has(a)?(Je(!1,`"${a}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${ur}"`),null):a}function jx(a,i){let s,r,u,d,f;if(yx(a)){let y=a.getAttribute("action");r=y?yn(y,i):null,s=a.getAttribute("method")||or,u=$u(a.getAttribute("enctype"))||ur,d=new FormData(a)}else if(gx(a)||vx(a)&&(a.type==="submit"||a.type==="image")){let y=a.form;if(y==null)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let m=a.getAttribute("formaction")||y.getAttribute("action");if(r=m?yn(m,i):null,s=a.getAttribute("formmethod")||y.getAttribute("method")||or,u=$u(a.getAttribute("formenctype"))||$u(y.getAttribute("enctype"))||ur,d=new FormData(y,a),!Sx()){let{name:p,type:v,value:b}=a;if(v==="image"){let S=p?`${p}.`:"";d.append(`${S}x`,"0"),d.append(`${S}y`,"0")}else p&&d.append(p,b)}}else{if(jr(a))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');s=or,r=null,u=ur,f=a}return d&&u==="text/plain"&&(f=d,d=void 0),{action:r,method:s.toLowerCase(),encType:u,formData:d,body:f}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");function _c(a,i){if(a===!1||a===null||typeof a>"u")throw new Error(i)}function Ex(a,i,s){let r=typeof a=="string"?new URL(a,typeof window>"u"?"server://singlefetch/":window.location.origin):a;return r.pathname==="/"?r.pathname=`_root.${s}`:i&&yn(r.pathname,i)==="/"?r.pathname=`${i.replace(/\/$/,"")}/_root.${s}`:r.pathname=`${r.pathname.replace(/\/$/,"")}.${s}`,r}async function Ax(a,i){if(a.id in i)return i[a.id];try{let s=await import(a.module);return i[a.id]=s,s}catch(s){return console.error(`Error loading route module \`${a.module}\`, reloading page...`),console.error(s),window.__reactRouterContext&&window.__reactRouterContext.isSpaMode,window.location.reload(),new Promise(()=>{})}}function Mx(a){return a==null?!1:a.href==null?a.rel==="preload"&&typeof a.imageSrcSet=="string"&&typeof a.imageSizes=="string":typeof a.rel=="string"&&typeof a.href=="string"}async function Rx(a,i,s){let r=await Promise.all(a.map(async u=>{let d=i.routes[u.route.id];if(d){let f=await Ax(d,s);return f.links?f.links():[]}return[]}));return Nx(r.flat(1).filter(Mx).filter(u=>u.rel==="stylesheet"||u.rel==="preload").map(u=>u.rel==="stylesheet"?{...u,rel:"prefetch",as:"style"}:{...u,rel:"prefetch"}))}function Rp(a,i,s,r,u,d){let f=(m,p)=>s[p]?m.route.id!==s[p].route.id:!0,y=(m,p)=>s[p].pathname!==m.pathname||s[p].route.path?.endsWith("*")&&s[p].params["*"]!==m.params["*"];return d==="assets"?i.filter((m,p)=>f(m,p)||y(m,p)):d==="data"?i.filter((m,p)=>{let v=r.routes[m.route.id];if(!v||!v.hasLoader)return!1;if(f(m,p)||y(m,p))return!0;if(m.route.shouldRevalidate){let b=m.route.shouldRevalidate({currentUrl:new URL(u.pathname+u.search+u.hash,window.origin),currentParams:s[0]?.params||{},nextUrl:new URL(a,window.origin),nextParams:m.params,defaultShouldRevalidate:!0});if(typeof b=="boolean")return b}return!0}):[]}function Dx(a,i,{includeHydrateFallback:s}={}){return Cx(a.map(r=>{let u=i.routes[r.route.id];if(!u)return[];let d=[u.module];return u.clientActionModule&&(d=d.concat(u.clientActionModule)),u.clientLoaderModule&&(d=d.concat(u.clientLoaderModule)),s&&u.hydrateFallbackModule&&(d=d.concat(u.hydrateFallbackModule)),u.imports&&(d=d.concat(u.imports)),d}).flat(1))}function Cx(a){return[...new Set(a)]}function wx(a){let i={},s=Object.keys(a).sort();for(let r of s)i[r]=a[r];return i}function Nx(a,i){let s=new Set;return new Set(i),a.reduce((r,u)=>{let d=JSON.stringify(wx(u));return s.has(d)||(s.add(d),r.push({key:d,link:u})),r},[])}function ay(){let a=j.useContext(mi);return _c(a,"You must render this element inside a <DataRouterContext.Provider> element"),a}function Ox(){let a=j.useContext(Tr);return _c(a,"You must render this element inside a <DataRouterStateContext.Provider> element"),a}var Hc=j.createContext(void 0);Hc.displayName="FrameworkContext";function iy(){let a=j.useContext(Hc);return _c(a,"You must render this element inside a <HydratedRouter> element"),a}function Vx(a,i){let s=j.useContext(Hc),[r,u]=j.useState(!1),[d,f]=j.useState(!1),{onFocus:y,onBlur:m,onMouseEnter:p,onMouseLeave:v,onTouchStart:b}=i,S=j.useRef(null);j.useEffect(()=>{if(a==="render"&&f(!0),a==="viewport"){let z=V=>{V.forEach(G=>{f(G.isIntersecting)})},_=new IntersectionObserver(z,{threshold:.5});return S.current&&_.observe(S.current),()=>{_.disconnect()}}},[a]),j.useEffect(()=>{if(r){let z=setTimeout(()=>{f(!0)},100);return()=>{clearTimeout(z)}}},[r]);let R=()=>{u(!0)},N=()=>{u(!1),f(!1)};return s?a!=="intent"?[d,S,{}]:[d,S,{onFocus:yl(y,R),onBlur:yl(m,N),onMouseEnter:yl(p,R),onMouseLeave:yl(v,N),onTouchStart:yl(b,R)}]:[!1,S,{}]}function yl(a,i){return s=>{a&&a(s),s.defaultPrevented||i(s)}}function zx({page:a,...i}){let{router:s}=ay(),r=j.useMemo(()=>Xg(s.routes,a,s.basename),[s.routes,a,s.basename]);return r?j.createElement(Bx,{page:a,matches:r,...i}):null}function Lx(a){let{manifest:i,routeModules:s}=iy(),[r,u]=j.useState([]);return j.useEffect(()=>{let d=!1;return Rx(a,i,s).then(f=>{d||u(f)}),()=>{d=!0}},[a,i,s]),r}function Bx({page:a,matches:i,...s}){let r=bn(),{manifest:u,routeModules:d}=iy(),{basename:f}=ay(),{loaderData:y,matches:m}=Ox(),p=j.useMemo(()=>Rp(a,i,m,u,r,"data"),[a,i,m,u,r]),v=j.useMemo(()=>Rp(a,i,m,u,r,"assets"),[a,i,m,u,r]),b=j.useMemo(()=>{if(a===r.pathname+r.search+r.hash)return[];let N=new Set,z=!1;if(i.forEach(V=>{let G=u.routes[V.route.id];!G||!G.hasLoader||(!p.some(q=>q.route.id===V.route.id)&&V.route.id in y&&d[V.route.id]?.shouldRevalidate||G.hasClientLoader?z=!0:N.add(V.route.id))}),N.size===0)return[];let _=Ex(a,f,"data");return z&&N.size>0&&_.searchParams.set("_routes",i.filter(V=>N.has(V.route.id)).map(V=>V.route.id).join(",")),[_.pathname+_.search]},[f,y,r,u,p,i,a,d]),S=j.useMemo(()=>Dx(v,u),[v,u]),R=Lx(v);return j.createElement(j.Fragment,null,b.map(N=>j.createElement("link",{key:N,rel:"prefetch",as:"fetch",href:N,...s})),S.map(N=>j.createElement("link",{key:N,rel:"modulepreload",href:N,...s})),R.map(({key:N,link:z})=>j.createElement("link",{key:N,...z})))}function Ux(...a){return i=>{a.forEach(s=>{typeof s=="function"?s(i):s!=null&&(s.current=i)})}}var ly=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";try{ly&&(window.__reactRouterVersion="7.7.0")}catch{}function _x({basename:a,children:i,window:s}){let r=j.useRef();r.current==null&&(r.current=A2({window:s,v5Compat:!0}));let u=r.current,[d,f]=j.useState({action:u.action,location:u.location}),y=j.useCallback(m=>{j.startTransition(()=>f(m))},[f]);return j.useLayoutEffect(()=>u.listen(y),[u,y]),j.createElement(mx,{basename:a,children:i,location:d.location,navigationType:d.action,navigator:u})}var sy=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,ot=j.forwardRef(function({onClick:i,discover:s="render",prefetch:r="none",relative:u,reloadDocument:d,replace:f,state:y,target:m,to:p,preventScrollReset:v,viewTransition:b,...S},R){let{basename:N}=j.useContext($e),z=typeof p=="string"&&sy.test(p),_,V=!1;if(typeof p=="string"&&z&&(_=p,ly))try{let st=new URL(window.location.href),vt=p.startsWith("//")?new URL(st.protocol+p):new URL(p),Lt=yn(vt.pathname,N);vt.origin===st.origin&&Lt!=null?p=Lt+vt.search+vt.hash:V=!0}catch{Je(!1,`<Link to="${p}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}let G=W2(p,{relative:u}),[q,F,P]=Vx(r,S),W=Px(p,{replace:f,state:y,target:m,preventScrollReset:v,relative:u,viewTransition:b});function I(st){i&&i(st),st.defaultPrevented||W(st)}let Z=j.createElement("a",{...S,...P,href:_||G,onClick:V||d?i:I,ref:Ux(R,F),target:m,"data-discover":!z&&s==="render"?"true":void 0});return q&&!z?j.createElement(j.Fragment,null,Z,j.createElement(zx,{page:G})):Z});ot.displayName="Link";var Hx=j.forwardRef(function({"aria-current":i="page",caseSensitive:s=!1,className:r="",end:u=!1,style:d,to:f,viewTransition:y,children:m,...p},v){let b=Bl(f,{relative:p.relative}),S=bn(),R=j.useContext(Tr),{navigator:N,basename:z}=j.useContext($e),_=R!=null&&Qx(b)&&y===!0,V=N.encodeLocation?N.encodeLocation(b).pathname:b.pathname,G=S.pathname,q=R&&R.navigation&&R.navigation.location?R.navigation.location.pathname:null;s||(G=G.toLowerCase(),q=q?q.toLowerCase():null,V=V.toLowerCase()),q&&z&&(q=yn(q,z)||q);const F=V!=="/"&&V.endsWith("/")?V.length-1:V.length;let P=G===V||!u&&G.startsWith(V)&&G.charAt(F)==="/",W=q!=null&&(q===V||!u&&q.startsWith(V)&&q.charAt(V.length)==="/"),I={isActive:P,isPending:W,isTransitioning:_},Z=P?i:void 0,st;typeof r=="function"?st=r(I):st=[r,P?"active":null,W?"pending":null,_?"transitioning":null].filter(Boolean).join(" ");let vt=typeof d=="function"?d(I):d;return j.createElement(ot,{...p,"aria-current":Z,className:st,ref:v,style:vt,to:f,viewTransition:y},typeof m=="function"?m(I):m)});Hx.displayName="NavLink";var qx=j.forwardRef(({discover:a="render",fetcherKey:i,navigate:s,reloadDocument:r,replace:u,state:d,method:f=or,action:y,onSubmit:m,relative:p,preventScrollReset:v,viewTransition:b,...S},R)=>{let N=Xx(),z=Kx(y,{relative:p}),_=f.toLowerCase()==="get"?"get":"post",V=typeof y=="string"&&sy.test(y),G=q=>{if(m&&m(q),q.defaultPrevented)return;q.preventDefault();let F=q.nativeEvent.submitter,P=F?.getAttribute("formmethod")||f;N(F||q.currentTarget,{fetcherKey:i,method:P,navigate:s,replace:u,state:d,relative:p,preventScrollReset:v,viewTransition:b})};return j.createElement("form",{ref:R,method:_,action:z,onSubmit:r?m:G,...S,"data-discover":!V&&a==="render"?"true":void 0})});qx.displayName="Form";function Yx(a){return`${a} must be used within a data router.  See https://reactrouter.com/en/main/routers/picking-a-router.`}function ry(a){let i=j.useContext(mi);return Nt(i,Yx(a)),i}function Px(a,{target:i,replace:s,state:r,preventScrollReset:u,relative:d,viewTransition:f}={}){let y=I2(),m=bn(),p=Bl(a,{relative:d});return j.useCallback(v=>{if(bx(v,i)){v.preventDefault();let b=s!==void 0?s:Ml(m)===Ml(p);y(a,{replace:b,state:r,preventScrollReset:u,relative:d,viewTransition:f})}},[m,y,p,s,r,i,a,u,d,f])}var Gx=0,kx=()=>`__${String(++Gx)}__`;function Xx(){let{router:a}=ry("useSubmit"),{basename:i}=j.useContext($e),s=cx();return j.useCallback(async(r,u={})=>{let{action:d,method:f,encType:y,formData:m,body:p}=jx(r,i);if(u.navigate===!1){let v=u.fetcherKey||kx();await a.fetch(v,s,u.action||d,{preventScrollReset:u.preventScrollReset,formData:m,body:p,formMethod:u.method||f,formEncType:u.encType||y,flushSync:u.flushSync})}else await a.navigate(u.action||d,{preventScrollReset:u.preventScrollReset,formData:m,body:p,formMethod:u.method||f,formEncType:u.encType||y,replace:u.replace,state:u.state,fromRouteId:s,flushSync:u.flushSync,viewTransition:u.viewTransition})},[a,i,s])}function Kx(a,{relative:i}={}){let{basename:s}=j.useContext($e),r=j.useContext(We);Nt(r,"useFormAction must be used inside a RouteContext");let[u]=r.matches.slice(-1),d={...Bl(a||".",{relative:i})},f=bn();if(a==null){d.search=f.search;let y=new URLSearchParams(d.search),m=y.getAll("index");if(m.some(v=>v==="")){y.delete("index"),m.filter(b=>b).forEach(b=>y.append("index",b));let v=y.toString();d.search=v?`?${v}`:""}}return(!a||a===".")&&u.route.index&&(d.search=d.search?d.search.replace(/^\?/,"?index&"):"?index"),s!=="/"&&(d.pathname=d.pathname==="/"?s:gn([s,d.pathname])),Ml(d)}function Qx(a,i={}){let s=j.useContext($g);Nt(s!=null,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`.  Did you accidentally import `RouterProvider` from `react-router`?");let{basename:r}=ry("useViewTransitionState"),u=Bl(a,{relative:i.relative});if(!s.isTransitioning)return!1;let d=yn(s.currentLocation.pathname,r)||s.currentLocation.pathname,f=yn(s.nextLocation.pathname,r)||s.nextLocation.pathname;return mr(u.pathname,f)!=null||mr(u.pathname,d)!=null}const Dp=[{title:"Nurture",text:"We are committed to nurturing individuals through a supportive ecosystem where they can grow and become active contributors.",image:"/images/img4.jpg"},{title:"Empower",text:"Empowering individuals with the tools and knowledge they need to succeed in their personal and professional lives.",image:"/images/img2.jpg"},{title:"Elevate",text:"We elevate communities by unlocking the potential within every person and fostering a culture of leadership.",image:"/images/img3.jpg"}];function Zx(){const[a,i]=j.useState(0),[s,r]=j.useState(!1);j.useEffect(()=>{const y=setInterval(()=>{r(!0),setTimeout(()=>{i(m=>(m+1)%Dp.length),r(!1)},1e3)},8e3);return()=>clearInterval(y)},[]);const{title:u,text:d,image:f}=Dp[a];return h.jsxs("section",{className:"hero-section",children:[h.jsx("div",{className:"hero-overlay"}),h.jsxs("div",{className:"hero-container",children:[h.jsxs("div",{className:"hero-text",children:[h.jsx("h1",{className:`hero-title ${s?"fade-out-title":"fade-in-title"}`,children:u}),h.jsx("p",{className:`hero-description ${s?"fade-out-text":"fade-in-text"}`,children:d}),h.jsxs("div",{className:`button-group ${s?"fade-out-buttons":"fade-in-buttons"}`,children:[h.jsx(ot,{to:"/about",className:"hero-button button-yellow",children:"Learn More"}),h.jsx(ot,{to:"/signup",className:"hero-button button-black",children:"Sign Up"})]})]}),h.jsx("div",{className:`hero-image ${s?"fade-out-image":"fade-in-image"}`,children:h.jsx("img",{src:f,alt:u})})]})]})}var oy={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},Cp=va.createContext&&va.createContext(oy),Fx=["attr","size","title"];function Jx(a,i){if(a==null)return{};var s=$x(a,i),r,u;if(Object.getOwnPropertySymbols){var d=Object.getOwnPropertySymbols(a);for(u=0;u<d.length;u++)r=d[u],!(i.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(a,r)&&(s[r]=a[r])}return s}function $x(a,i){if(a==null)return{};var s={};for(var r in a)if(Object.prototype.hasOwnProperty.call(a,r)){if(i.indexOf(r)>=0)continue;s[r]=a[r]}return s}function pr(){return pr=Object.assign?Object.assign.bind():function(a){for(var i=1;i<arguments.length;i++){var s=arguments[i];for(var r in s)Object.prototype.hasOwnProperty.call(s,r)&&(a[r]=s[r])}return a},pr.apply(this,arguments)}function wp(a,i){var s=Object.keys(a);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(a);i&&(r=r.filter(function(u){return Object.getOwnPropertyDescriptor(a,u).enumerable})),s.push.apply(s,r)}return s}function gr(a){for(var i=1;i<arguments.length;i++){var s=arguments[i]!=null?arguments[i]:{};i%2?wp(Object(s),!0).forEach(function(r){Wx(a,r,s[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(a,Object.getOwnPropertyDescriptors(s)):wp(Object(s)).forEach(function(r){Object.defineProperty(a,r,Object.getOwnPropertyDescriptor(s,r))})}return a}function Wx(a,i,s){return i=Ix(i),i in a?Object.defineProperty(a,i,{value:s,enumerable:!0,configurable:!0,writable:!0}):a[i]=s,a}function Ix(a){var i=tb(a,"string");return typeof i=="symbol"?i:i+""}function tb(a,i){if(typeof a!="object"||!a)return a;var s=a[Symbol.toPrimitive];if(s!==void 0){var r=s.call(a,i);if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(i==="string"?String:Number)(a)}function uy(a){return a&&a.map((i,s)=>va.createElement(i.tag,gr({key:s},i.attr),uy(i.child)))}function ie(a){return i=>va.createElement(eb,pr({attr:gr({},a.attr)},i),uy(a.child))}function eb(a){var i=s=>{var{attr:r,size:u,title:d}=a,f=Jx(a,Fx),y=u||s.size||"1em",m;return s.className&&(m=s.className),a.className&&(m=(m?m+" ":"")+a.className),va.createElement("svg",pr({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},s.attr,r,f,{className:m,style:gr(gr({color:a.color||s.color},s.style),a.style),height:y,width:y,xmlns:"http://www.w3.org/2000/svg"}),d&&va.createElement("title",null,d),a.children)};return Cp!==void 0?va.createElement(Cp.Consumer,null,s=>i(s)):i(oy)}function cy(a){return ie({attr:{viewBox:"0 0 320 512"},child:[{tag:"path",attr:{d:"M279.14 288l14.22-92.66h-88.91v-60.13c0-25.35 12.42-50.06 52.24-50.06h40.42V6.26S260.43 0 225.36 0c-73.22 0-121.08 44.38-121.08 124.72v70.62H22.89V288h81.39v224h100.17V288z"},child:[]}]})(a)}function fy(a){return ie({attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M100.28 448H7.4V148.9h92.88zM53.79 108.1C24.09 108.1 0 83.5 0 53.8a53.79 53.79 0 0 1 107.58 0c0 29.7-24.1 54.3-53.79 54.3zM447.9 448h-92.68V302.4c0-34.7-.7-79.2-48.29-79.2-48.29 0-55.69 37.7-55.69 76.7V448h-92.78V148.9h89.08v40.8h1.3c12.4-23.5 42.69-48.3 87.88-48.3 94 0 111.28 61.9 111.28 142.3V448z"},child:[]}]})(a)}function dy(a){return ie({attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M459.37 151.716c.325 4.548.325 9.097.325 13.645 0 138.72-105.583 298.558-298.558 298.558-59.452 0-114.68-17.219-161.137-47.106 8.447.974 16.568 1.299 25.34 1.299 49.055 0 94.213-16.568 130.274-44.832-46.132-.975-84.792-31.188-98.112-72.772 6.498.974 12.995 1.624 19.818 1.624 9.421 0 18.843-1.3 27.614-3.573-48.081-9.747-84.143-51.98-84.143-102.985v-1.299c13.969 7.797 30.214 12.67 47.431 13.319-28.264-18.843-46.781-51.005-46.781-87.391 0-19.492 5.197-37.36 14.294-52.954 51.655 63.675 129.3 105.258 216.365 109.807-1.624-7.797-2.599-15.918-2.599-24.04 0-57.828 46.782-104.934 104.934-104.934 30.213 0 57.502 12.67 76.67 33.137 23.715-4.548 46.456-13.32 66.599-25.34-7.798 24.366-24.366 44.833-46.132 57.827 21.117-2.273 41.584-8.122 60.426-16.243-14.292 20.791-32.161 39.308-52.628 54.253z"},child:[]}]})(a)}function nb(a){return ie({attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M207.029 381.476L12.686 187.132c-9.373-9.373-9.373-24.569 0-33.941l22.667-22.667c9.357-9.357 24.522-9.375 33.901-.04L224 284.505l154.745-154.021c9.379-9.335 24.544-9.317 33.901.04l22.667 22.667c9.373 9.373 9.373 24.569 0 33.941L240.971 381.476c-9.373 9.372-24.569 9.372-33.942 0z"},child:[]}]})(a)}function ab(a){return ie({attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M240.971 130.524l194.343 194.343c9.373 9.373 9.373 24.569 0 33.941l-22.667 22.667c-9.357 9.357-24.522 9.375-33.901.04L224 227.495 69.255 381.516c-9.379 9.335-24.544 9.317-33.901-.04l-22.667-22.667c-9.373-9.373-9.373-24.569 0-33.941L207.03 130.525c9.372-9.373 24.568-9.373 33.941-.001z"},child:[]}]})(a)}function hy(a){return ie({attr:{viewBox:"0 0 576 512"},child:[{tag:"path",attr:{d:"M288 115L69.47 307.71c-1.62 1.46-3.69 2.14-5.47 3.35V496a16 16 0 0 0 16 16h416a16 16 0 0 0 16-16V311.1c-1.7-1.16-3.72-1.82-5.26-3.2zm96 261a8 8 0 0 1-8 8h-56v56a8 8 0 0 1-8 8h-48a8 8 0 0 1-8-8v-56h-56a8 8 0 0 1-8-8v-48a8 8 0 0 1 8-8h56v-56a8 8 0 0 1 8-8h48a8 8 0 0 1 8 8v56h56a8 8 0 0 1 8 8zm186.69-139.72l-255.94-226a39.85 39.85 0 0 0-53.45 0l-256 226a16 16 0 0 0-1.21 22.6L25.5 282.7a16 16 0 0 0 22.6 1.21L277.42 81.63a16 16 0 0 1 21.17 0L527.91 283.9a16 16 0 0 0 22.6-1.21l21.4-23.82a16 16 0 0 0-1.22-22.59z"},child:[]}]})(a)}function my(a){return ie({attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M502.3 190.8c3.9-3.1 9.7-.2 9.7 4.7V400c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V195.6c0-5 5.7-7.8 9.7-4.7 22.4 17.4 52.1 39.5 154.1 113.6 21.1 15.4 56.7 47.8 92.2 47.6 35.7.3 72-32.8 92.3-47.6 102-74.1 131.6-96.3 154-113.7zM256 320c23.2.4 56.6-29.2 73.4-41.4 132.7-96.3 142.8-104.7 173.4-128.7 5.8-4.5 9.2-11.5 9.2-18.9v-19c0-26.5-21.5-48-48-48H48C21.5 64 0 85.5 0 112v19c0 7.4 3.4 14.3 9.2 18.9 30.6 23.9 40.7 32.4 173.4 128.7 16.8 12.2 50.2 41.8 73.4 41.4z"},child:[]}]})(a)}function ib(a){return ie({attr:{viewBox:"0 0 576 512"},child:[{tag:"path",attr:{d:"M280.37 148.26L96 300.11V464a16 16 0 0 0 16 16l112.06-.29a16 16 0 0 0 15.92-16V368a16 16 0 0 1 16-16h64a16 16 0 0 1 16 16v95.64a16 16 0 0 0 16 16.05L464 480a16 16 0 0 0 16-16V300L295.67 148.26a12.19 12.19 0 0 0-15.3 0zM571.6 251.47L488 182.56V44.05a12 12 0 0 0-12-12h-56a12 12 0 0 0-12 12v72.61L318.47 43a48 48 0 0 0-61 0L4.34 251.47a12 12 0 0 0-1.6 16.9l25.5 31A12 12 0 0 0 45.15 301l235.22-193.74a12.19 12.19 0 0 1 15.3 0L530.9 301a12 12 0 0 0 16.9-1.6l25.5-31a12 12 0 0 0-1.7-16.93z"},child:[]}]})(a)}function lb(a){return ie({attr:{viewBox:"0 0 384 512"},child:[{tag:"path",attr:{d:"M172.268 501.67C26.97 291.031 0 269.413 0 192 0 85.961 85.961 0 192 0s192 85.961 192 192c0 77.413-26.97 99.031-172.268 309.67-9.535 13.774-29.93 13.773-39.464 0zM192 272c44.183 0 80-35.817 80-80s-35.817-80-80-80-80 35.817-80 80 35.817 80 80 80z"},child:[]}]})(a)}function sb(a){return ie({attr:{viewBox:"0 0 640 512"},child:[{tag:"path",attr:{d:"M640 264v-16c0-8.84-7.16-16-16-16H344v-40h72c17.67 0 32-14.33 32-32V32c0-17.67-14.33-32-32-32H224c-17.67 0-32 14.33-32 32v128c0 17.67 14.33 32 32 32h72v40H16c-8.84 0-16 7.16-16 16v16c0 8.84 7.16 16 16 16h104v40H64c-17.67 0-32 14.33-32 32v128c0 17.67 14.33 32 32 32h160c17.67 0 32-14.33 32-32V352c0-17.67-14.33-32-32-32h-56v-40h304v40h-56c-17.67 0-32 14.33-32 32v128c0 17.67 14.33 32 32 32h160c17.67 0 32-14.33 32-32V352c0-17.67-14.33-32-32-32h-56v-40h104c8.84 0 16-7.16 16-16zM256 128V64h128v64H256zm-64 320H96v-64h96v64zm352 0h-96v-64h96v64z"},child:[]}]})(a)}function rb(a){return ie({attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M497.39 361.8l-112-48a24 24 0 0 0-28 6.9l-49.6 60.6A370.66 370.66 0 0 1 130.6 204.11l60.6-49.6a23.94 23.94 0 0 0 6.9-28l-48-112A24.16 24.16 0 0 0 122.6.61l-104 24A24 24 0 0 0 0 48c0 256.5 207.9 464 464 464a24 24 0 0 0 23.4-18.6l24-104a24.29 24.29 0 0 0-14.01-27.6z"},child:[]}]})(a)}function ob(a){return ie({attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M504 256c0 136.997-111.043 248-248 248S8 392.997 8 256C8 119.083 119.043 8 256 8s248 111.083 248 248zM262.655 90c-54.497 0-89.255 22.957-116.549 63.758-3.536 5.286-2.353 12.415 2.715 16.258l34.699 26.31c5.205 3.947 12.621 3.008 16.665-2.122 17.864-22.658 30.113-35.797 57.303-35.797 20.429 0 45.698 13.148 45.698 32.958 0 14.976-12.363 22.667-32.534 33.976C247.128 238.528 216 254.941 216 296v4c0 6.627 5.373 12 12 12h56c6.627 0 12-5.373 12-12v-1.333c0-28.462 83.186-29.647 83.186-106.667 0-58.002-60.165-102-116.531-102zM256 338c-25.365 0-46 20.635-46 46 0 25.364 20.635 46 46 46s46-20.636 46-46c0-25.365-20.635-46-46-46z"},child:[]}]})(a)}function ub(a){return ie({attr:{viewBox:"0 0 640 512"},child:[{tag:"path",attr:{d:"M610.5 341.3c2.6-14.1 2.6-28.5 0-42.6l25.8-14.9c3-1.7 4.3-5.2 3.3-8.5-6.7-21.6-18.2-41.2-33.2-57.4-2.3-2.5-6-3.1-9-1.4l-25.8 14.9c-10.9-9.3-23.4-16.5-36.9-21.3v-29.8c0-3.4-2.4-6.4-5.7-7.1-22.3-5-45-4.8-66.2 0-3.3.7-5.7 3.7-5.7 7.1v29.8c-13.5 4.8-26 12-36.9 21.3l-25.8-14.9c-2.9-1.7-6.7-1.1-9 1.4-15 16.2-26.5 35.8-33.2 57.4-1 3.3.4 6.8 3.3 8.5l25.8 14.9c-2.6 14.1-2.6 28.5 0 42.6l-25.8 14.9c-3 1.7-4.3 5.2-3.3 8.5 6.7 21.6 18.2 41.1 33.2 57.4 2.3 2.5 6 3.1 9 1.4l25.8-14.9c10.9 9.3 23.4 16.5 36.9 21.3v29.8c0 3.4 2.4 6.4 5.7 7.1 22.3 5 45 4.8 66.2 0 3.3-.7 5.7-3.7 5.7-7.1v-29.8c13.5-4.8 26-12 36.9-21.3l25.8 14.9c2.9 1.7 6.7 1.1 9-1.4 15-16.2 26.5-35.8 33.2-57.4 1-3.3-.4-6.8-3.3-8.5l-25.8-14.9zM496 368.5c-26.8 0-48.5-21.8-48.5-48.5s21.8-48.5 48.5-48.5 48.5 21.8 48.5 48.5-21.7 48.5-48.5 48.5zM96 224c35.3 0 64-28.7 64-64s-28.7-64-64-64-64 28.7-64 64 28.7 64 64 64zm224 32c1.9 0 3.7-.5 5.6-.6 8.3-21.7 20.5-42.1 36.3-59.2 7.4-8 17.9-12.6 28.9-12.6 6.9 0 13.7 1.8 19.6 5.3l7.9 4.6c.8-.5 1.6-.9 2.4-1.4 7-14.6 11.2-30.8 11.2-48 0-61.9-50.1-112-112-112S208 82.1 208 144c0 61.9 50.1 112 112 112zm105.2 194.5c-2.3-1.2-4.6-2.6-6.8-3.9-8.2 4.8-15.3 9.8-27.5 9.8-10.9 0-21.4-4.6-28.9-12.6-18.3-19.8-32.3-43.9-40.2-69.6-10.7-34.5 24.9-49.7 25.8-50.3-.1-2.6-.1-5.2 0-7.8l-7.9-4.6c-3.8-2.2-7-5-9.8-8.1-3.3.2-6.5.6-9.8.6-24.6 0-47.6-6-68.5-16h-8.3C179.6 288 128 339.6 128 403.2V432c0 26.5 21.5 48 48 48h255.4c-3.7-6-6.2-12.8-6.2-20.3v-9.2zM173.1 274.6C161.5 263.1 145.6 256 128 256H64c-35.3 0-64 28.7-64 64v32c0 17.7 14.3 32 32 32h65.9c6.3-47.4 34.9-87.3 75.2-109.4z"},child:[]}]})(a)}function cb(a){return ie({attr:{viewBox:"0 0 640 512"},child:[{tag:"path",attr:{d:"M96 224c35.3 0 64-28.7 64-64s-28.7-64-64-64-64 28.7-64 64 28.7 64 64 64zm448 0c35.3 0 64-28.7 64-64s-28.7-64-64-64-64 28.7-64 64 28.7 64 64 64zm32 32h-64c-17.6 0-33.5 7.1-45.1 18.6 40.3 22.1 68.9 62 75.1 109.4h66c17.7 0 32-14.3 32-32v-32c0-35.3-28.7-64-64-64zm-256 0c61.9 0 112-50.1 112-112S381.9 32 320 32 208 82.1 208 144s50.1 112 112 112zm76.8 32h-8.3c-20.8 10-43.9 16-68.5 16s-47.6-6-68.5-16h-8.3C179.6 288 128 339.6 128 403.2V432c0 26.5 21.5 48 48 48h288c26.5 0 48-21.5 48-48v-28.8c0-63.6-51.6-115.2-115.2-115.2zm-223.7-13.4C161.5 263.1 145.6 256 128 256H64c-35.3 0-64 28.7-64 64v32c0 17.7 14.3 32 32 32h65.9c6.3-47.4 34.9-87.3 75.2-109.4z"},child:[]}]})(a)}function fb(a){return ie({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M16.5 12c1.38 0 2.49-1.12 2.49-2.5S17.88 7 16.5 7a2.5 2.5 0 0 0 0 5zM9 11c1.66 0 2.99-1.34 2.99-3S10.66 5 9 5C7.34 5 6 6.34 6 8s1.34 3 3 3zm7.5 3c-1.83 0-5.5.92-5.5 2.75V19h11v-2.25c0-1.83-3.67-2.75-5.5-2.75zM9 13c-2.33 0-7 1.17-7 3.5V19h7v-2.25c0-.85.33-2.34 2.37-3.47C10.5 13.1 9.66 13 9 13z"},child:[]}]})(a)}function db(){const a=j.useRef(null);return j.useEffect(()=>{const i=a.current;if(!i)return;const s=new IntersectionObserver(([r])=>{r.isIntersecting&&i.classList.add("visible")},{threshold:.1});return s.observe(i),()=>{s.disconnect()}},[]),h.jsxs("section",{ref:a,className:"about-section scroll-animate fade-in-up",children:[h.jsxs("div",{className:"features",children:[h.jsxs("div",{className:"feature",children:[h.jsx(cb,{className:"feature-icon"}),h.jsx("h3",{children:"Strategic Networking Hub"}),h.jsx("p",{children:"Face to face networking, mentoring, career coaching"})]}),h.jsxs("div",{className:"feature",children:[h.jsx(fb,{className:"feature-icon"}),h.jsx("h3",{children:"Centered Leadership model"}),h.jsx("p",{children:"Access to valuable information and tools that will empower you to lead with impact, resilience and fulfillment."})]}),h.jsxs("div",{className:"feature",children:[h.jsx(hy,{className:"feature-icon"}),h.jsx("h3",{children:"HR Clinics #AskLN"}),h.jsx("p",{children:"Provides you with insights, strategies & tools to navigate the evolving professional world"})]})]}),h.jsxs("div",{className:"welcome-section",children:[h.jsxs("div",{className:"images",children:[h.jsx("img",{src:"/images/img4.jpg",alt:"Event 1",className:"image image-left"}),h.jsx("img",{src:"/images/img5.jpg",alt:"Event 2",className:"image image-right"})]}),h.jsxs("div",{className:"welcome-text",children:[h.jsx("h4",{children:"Welcome To"}),h.jsx("h2",{children:"Velvety Solutions Limited"}),h.jsx("p",{children:"It's thrilling to welcome you with honour to Velvety Solutions Limited. A vibrant and inclusive community dedicated to unleashing the true potential within each of us. Our mission is clear: to foster transformation and create a lasting impact in Kenya through strategic networking, mentorship, centered leadership, creating a safe space for leaders, executive coaching, and offering HR clinics"}),h.jsx("p",{children:"Here, we believe in the power of collective empowerment. As the founder of this network, my vision is to build a supportive ecosystem where individuals can thrive, grow, and contribute meaningfully to their personal and professional journeys"}),h.jsx("p",{children:"Whether you're here for networking opportunities, mentorship, or seeking guidance in leadership and HR, you've found a home. Let's embark on this empowering journey together, unlocking possibilities and shaping a brighter future for ourselves and Kenya as a whole"}),h.jsxs("p",{children:[h.jsx("strong",{children:"Edith Kariuki"}),h.jsx("br",{}),h.jsx("em",{children:"Founder, Velvety Solutions Limited"})]}),h.jsx(ot,{to:"/signup",children:h.jsx("button",{className:"join-button",children:"Fill In This Form And Join The Network"})})]})]})]})}function hb(a){return ie({attr:{viewBox:"0 0 576 512"},child:[{tag:"path",attr:{d:"M309 106c11.4-7 19-19.7 19-34c0-22.1-17.9-40-40-40s-40 17.9-40 40c0 14.4 7.6 27 19 34L209.7 220.6c-9.1 18.2-32.7 23.4-48.6 10.7L72 160c5-6.7 8-15 8-24c0-22.1-17.9-40-40-40S0 113.9 0 136s17.9 40 40 40c.2 0 .5 0 .7 0L86.4 427.4c5.5 30.4 32 52.6 63 52.6l277.2 0c30.9 0 57.4-22.1 63-52.6L535.3 176c.2 0 .5 0 .7 0c22.1 0 40-17.9 40-40s-17.9-40-40-40s-40 17.9-40 40c0 9 3 17.3 8 24l-89.1 71.3c-15.9 12.7-39.5 7.5-48.6-10.7L309 106z"},child:[]}]})(a)}function mb(){const a=j.useRef(),[i,s]=j.useState(!1);return j.useEffect(()=>{const r=new IntersectionObserver(([u])=>{u.isIntersecting&&(s(!0),r.disconnect())},{threshold:.2});return a.current&&r.observe(a.current),()=>r.disconnect()},[]),h.jsxs("section",{ref:a,className:`membership-section ${i?"animate-section":""}`,children:[h.jsx("h2",{children:"Our Membership"}),h.jsx("div",{className:"membership-cards",children:[1,2,3,4].map((r,u)=>h.jsxs("div",{className:"membership-card fade-up",children:[h.jsxs("div",{className:"icon-wrapper",children:[h.jsx(hb,{className:"membership-icon"}),h.jsx("span",{className:"membership-level",children:r})]}),h.jsxs("h3",{children:[r===1&&"Associate Membership",r===2&&"Senior Membership",r===3&&"Premier Membership",r===4&&"Corporate Membership"]}),h.jsxs("p",{children:[r===1&&"Embark on your professional journey with the Velvety Solutions Limited’s Associate Membership...",r===2&&"Elevate your leadership trajectory with the Velvety Solutions Limited’s Senior Membership...",r===3&&"Unlock unparalleled opportunities with the Velvety Solutions Limited’s Premier Membership...",r===4&&"Elevate your organization's potential with Velvety Solutions Limited’s Corporate Membership..."]}),h.jsx(ot,{to:"/programs",className:"read-more",children:"Read More..."})]},u))})]})}function pb(){const a="Join the velvety solutions Limited today and unlock your full potential!",[i,s]=j.useState(""),[r,u]=j.useState(0);return j.useEffect(()=>{let d;return r<a.length?d=setInterval(()=>{s(f=>f+a.charAt(r)),u(f=>f+1)},50):setTimeout(()=>{s(""),u(0)},2e3),()=>clearInterval(d)},[r,a]),h.jsx("section",{className:"signup-section",children:h.jsxs("div",{className:"signup-content",children:[h.jsx("h2",{className:"slide-down",children:"Sign Up"}),h.jsx("p",{className:"typewriter",children:i||" "}),h.jsx("button",{className:"join-button",children:"Join The Network"})]})})}function gb(){return h.jsxs(h.Fragment,{children:[h.jsx(Zx,{}),h.jsx(db,{}),h.jsx(pb,{}),h.jsx(mb,{})]})}const vl=[{id:1,title:"Featured Post One",author:"John Doe",date:"August 10, 2023",image:"/images/img2.jpg",excerpt:"This is a short excerpt for the featured post one.",category:"Technology"},{id:2,title:"Featured Post Two",author:"Jane Smith",date:"August 8, 2023",image:"/images/img3.jpg",excerpt:"This is a short excerpt for the featured post two.",category:"Health"},{id:3,title:"Featured Post Three",author:"Alice Johnson",date:"August 5, 2023",image:"/images/img4.jpg",excerpt:"This is a short excerpt for the featured post three.",category:"Lifestyle"},{id:4,title:"Featured Post Four",author:"Bob Brown",date:"August 1, 2023",image:"/images/img5.jpg",excerpt:"This is a short excerpt for the featured post four.",category:"Business"}],yb=[{id:5,title:"Latest Post One",author:"Chris Green",date:"August 12, 2023",image:"/images/img6.jpg",excerpt:"This is a short excerpt for the latest post one.",category:"Technology"},{id:6,title:"Latest Post Two",author:"Diana White",date:"August 11, 2023",image:"/images/img7.jpg",excerpt:"This is a short excerpt for the latest post two.",category:"Health"},{id:7,title:"Latest Post Three",author:"Evan Black",date:"August 9, 2023",image:"/images/img8.jpg",excerpt:"This is a short excerpt for the latest post three.",category:"Lifestyle"}],vb=["Technology","Health","Lifestyle","Business","Education"],xb=[{id:8,title:"Popular Post One",date:"July 30, 2023"},{id:9,title:"Popular Post Two",date:"July 25, 2023"},{id:10,title:"Popular Post Three",date:"July 20, 2023"}],bb=[{name:"Facebook",url:"https://facebook.com"},{name:"Twitter",url:"https://twitter.com"},{name:"Instagram",url:"https://instagram.com"},{name:"LinkedIn",url:"https://linkedin.com"}];function Sb(){const[a,i]=j.useState(""),[s,r]=j.useState(""),u=j.useMemo(()=>vl.filter(m=>{const p=m.title.toLowerCase().includes(a.toLowerCase()),v=s?m.category===s:!0;return p&&v}),[a,s]),d=j.useMemo(()=>yb.filter(m=>{const p=m.title.toLowerCase().includes(a.toLowerCase()),v=s?m.category===s:!0;return p&&v}),[a,s]),f=m=>{r(s===m?"":m)},y=async m=>{m.preventDefault();const p=m.target[0].value;try{const v=await fetch("/api/newsletter",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({email:p})});if(v.ok)alert("Thank you for subscribing!"),m.target.reset();else{const b=await v.json();alert("Error: "+(b.message||"Failed to subscribe"))}}catch(v){alert("Network error: "+v.message)}};return h.jsxs("div",{className:"blog-page",children:[h.jsx("div",{className:"search-bar-container",children:h.jsxs("div",{className:"search-wrapper",children:[h.jsx("span",{className:"search-icon",children:"🔍"}),h.jsx("input",{type:"text",placeholder:"Search posts...",value:a,onChange:m=>i(m.target.value),className:"search-input"})]})}),h.jsx("section",{className:"hero-banner",style:{backgroundImage:`url(${vl[0].image})`},children:h.jsxs("div",{className:"hero-overlay",children:[h.jsx("h1",{className:"hero-title",children:vl[0].title}),h.jsxs("p",{className:"hero-meta",children:["By ",vl[0].author," | ",vl[0].date]})]})}),h.jsxs("div",{className:"blog-content container",children:[h.jsxs("main",{className:"main-content",children:[h.jsxs("section",{className:"featured-posts",children:[h.jsx("h2",{children:"Featured Posts"}),h.jsx("div",{className:"featured-grid",children:u.map(m=>h.jsx("article",{className:"post-card",children:h.jsxs(ot,{to:`/blog/${m.id}`,children:[h.jsx("div",{className:"post-image",style:{backgroundImage:`url(${m.image})`}}),h.jsxs("div",{className:"post-info",children:[h.jsx("h3",{children:m.title}),h.jsx("p",{className:"post-excerpt",children:m.excerpt}),h.jsxs("p",{className:"post-meta",children:["By ",m.author," | ",m.date]}),h.jsx("span",{className:"post-category",children:m.category})]})]})},m.id))})]}),h.jsxs("section",{className:"latest-posts",children:[h.jsx("h2",{children:"Latest Posts"}),h.jsx("ul",{children:d.map(m=>h.jsx("li",{className:"latest-post-item",children:h.jsxs(ot,{to:`/blog/${m.id}`,children:[h.jsx("img",{src:m.image,alt:m.title,className:"latest-post-image"}),h.jsxs("div",{className:"latest-post-info",children:[h.jsx("h3",{children:m.title}),h.jsx("p",{className:"post-excerpt",children:m.excerpt}),h.jsxs("p",{className:"post-meta",children:["By ",m.author," | ",m.date]}),h.jsx("span",{className:"post-category",children:m.category})]})]})},m.id))})]})]}),h.jsxs("aside",{className:"sidebar",children:[h.jsxs("section",{className:"categories",children:[h.jsx("h3",{children:"Categories"}),h.jsx("ul",{children:vb.map(m=>h.jsx("li",{children:h.jsx("button",{className:`category-button ${s===m?"active":""}`,onClick:()=>f(m),children:m})},m))})]}),h.jsxs("section",{className:"newsletter-signup",children:[h.jsx("h3",{children:"Newsletter Signup"}),h.jsxs("form",{onSubmit:y,children:[h.jsx("input",{type:"email",placeholder:"Your email",required:!0}),h.jsx("button",{type:"submit",children:"Subscribe"})]})]}),h.jsxs("section",{className:"popular-posts",children:[h.jsx("h3",{children:"Popular Posts"}),h.jsx("ul",{children:xb.map(m=>h.jsxs("li",{children:[h.jsx(ot,{to:`/blog/${m.id}`,children:m.title}),h.jsx("span",{className:"post-date",children:m.date})]},m.id))})]}),h.jsxs("section",{className:"social-links",children:[h.jsx("h3",{children:"Follow Us"}),h.jsx("ul",{children:bb.map(m=>h.jsx("li",{children:h.jsx("a",{href:m.url,target:"_blank",rel:"noopener noreferrer",children:m.name})},m.name))})]})]})]}),h.jsx("footer",{className:"blog-footer",children:h.jsxs("div",{className:"container",children:[h.jsxs("section",{className:"about-section",children:[h.jsx("h3",{children:"About Us"}),h.jsx("p",{children:"We are dedicated to providing quality content and resources to our readers. Stay connected for the latest updates."})]}),h.jsxs("section",{className:"footer-links",children:[h.jsx(ot,{to:"/privacy",children:"Privacy Policy"}),h.jsx(ot,{to:"/terms",children:"Terms of Service"}),h.jsx(ot,{to:"/newsletter",children:"Newsletter"})]})]})})]})}function Tb(){const[a,i]=j.useState({name:"",email:"",message:""}),[s,r]=j.useState(!1);j.useEffect(()=>{r(!0)},[]);const u=f=>{i({...a,[f.target.name]:f.target.value})},d=async f=>{f.preventDefault();try{const y=await fetch("/api/contact",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(a)});if(y.ok)alert("Message sent!"),i({name:"",email:"",message:""});else{const m=await y.json();alert("Error: "+(m.message||"Failed to send message"))}}catch(y){alert("Network error: "+y.message)}};return h.jsxs("div",{className:"contact-container",children:[h.jsx("h1",{children:"Contact Us"}),h.jsx("p",{className:"contact-subtext",children:"We’d love to hear from you. Fill out the form and we’ll get back to you as soon as possible."}),h.jsxs("div",{className:"contact-grid",children:[h.jsxs("div",{className:"contact-info",children:[h.jsx("h3",{children:"Get In Touch"}),h.jsxs("p",{children:[h.jsx("strong",{children:"📍 Address:"}),"Nexus Business Centre – Ruiru 3rd Floor, Block, 301"]}),h.jsxs("p",{children:[h.jsx("strong",{children:"📞 Phone:"})," +254 720458676/733330213"]}),h.jsxs("p",{children:[h.jsx("strong",{children:"✉️ Email:"})," info@VelvetySolutionsLimited.com"]})]}),h.jsxs("form",{className:"contact-form",onSubmit:d,children:[h.jsxs("div",{className:"form-group fade-in-up",style:{animationDelay:"0ms"},children:[h.jsx("label",{children:"Name"}),h.jsx("input",{type:"text",name:"name",required:!0,value:a.name,onChange:u})]}),h.jsxs("div",{className:"form-group fade-in-up",style:{animationDelay:s?"150ms":"0ms"},children:[h.jsx("label",{children:"Email"}),h.jsx("input",{type:"email",name:"email",required:!0,value:a.email,onChange:u})]}),h.jsxs("div",{className:"form-group fade-in-up",style:{animationDelay:s?"300ms":"0ms"},children:[h.jsx("label",{children:"Message"}),h.jsx("textarea",{name:"message",rows:"5",required:!0,value:a.message,onChange:u})]}),h.jsx("button",{type:"submit",className:"contact-btn fade-in-up",style:{animationDelay:s?"450ms":"0ms"},children:"Send Message"})]})]})]})}const jb=[{id:"training-services",title:"Training Services",description:"Professional training sessions to boost your skills and knowledge.",image:"/images/img2.jpg"},{id:"organizational-restructuring-transformation",title:"Organizational Restructuring & Transformation",description:"Guidance for organizations to restructure and transform effectively.",image:"/images/img3.jpg"},{id:"performance-management",title:"Performance Management",description:"Tools and strategies to enhance employee and organizational performance.",image:"/images/img4.jpg"},{id:"alternative-dispute-resolution",title:"Alternative Dispute Resolution",description:"Support for resolving workplace disputes and conflicts.",image:"/images/img5.jpg"},{id:"staff-establishment",title:"Staff Establishment",description:"Assistance in building and developing your workforce.",image:"/images/staff establishment.jpg"},{id:"data-protection-policy-development-training",title:"Data Protection Policy Development and Training",description:"Training and development of data protection policies for organizations.",image:"/images/data protection.jpg"},{id:"leadership-management-trainings",title:"Leadership Management and Trainings",description:"Leadership development programs and management training.",image:"/images/leadership management.jpg"},{id:"research-human-resource-management",title:"Research in Human Resource Management",description:"Research services focused on HR management practices.",image:"/images/img7.jpg"},{id:"job-evaluation",title:"Job Evaluation",description:"Comprehensive job evaluation for fair compensation and roles.",image:"/images/img7.jpg"},{id:"executive-coaching",title:"Executive Coaching",description:"Personalized coaching for executives and leaders.",image:"/images/Executive Coaching.jpg"},{id:"development-hr-strategies",title:"Development of HR Strategies",description:"Strategic HR planning and development for organizations.",image:"/images/HR Strategies.jpg"},{id:"development-hr-policies-manuals-career-guidelines",title:"Development HR Policies Manuals & Careers Progression Guidelines",description:"Creation of HR policies, manuals, and career progression guides.",image:"/images/HR Policies Manuals.jpg"},{id:"auditing-financial-support",title:"Auditing and All Financial Support",description:"Auditing services and financial support for organizations.",image:"/images/img7.jpg"},{id:"human-capital-mentoring",title:"Human Capital Mentoring",description:"Mentoring programs to develop and nurture human capital.",image:"/images/human capital mentoring.jpg"}];function Eb(){const[a,i]=j.useState(!1);return j.useEffect(()=>{i(!0)},[]),h.jsxs("div",{className:"our-programs-container scroll-animate",children:[h.jsx("h1",{children:"Our Programs"}),h.jsx("div",{className:"programs-grid",children:jb.map((s,r)=>h.jsxs("div",{className:`program-card zoom-in ${a?"fade-scale-in":""}`,style:{animationDelay:a?`${r*150}ms`:"0ms"},children:[h.jsx("img",{src:s.image,alt:s.title}),h.jsx("h3",{children:s.title}),h.jsx("p",{children:s.description}),h.jsxs(ot,{to:`/programs/${s.id}`,children:["Read More ",">"]})]},s.id))})]})}const Ab={"training-services":{title:"Training Services",content:"Professional training sessions designed to boost your skills and knowledge in various fields. Our programs are tailored to meet the needs of individuals and organizations seeking growth.",image:"/images/img2.jpg"},"organizational-restructuring-transformation":{title:"Organizational Restructuring & Transformation",content:"We provide expert guidance for organizations to restructure and transform effectively, ensuring sustainable growth and improved efficiency.",image:"/images/img3.jpg"},"performance-management":{title:"Performance Management",content:"Our tools and strategies help enhance employee and organizational performance, driving success and achieving goals.",image:"/images/img4.jpg"},"alternative-dispute-resolution":{title:"Alternative Dispute Resolution",content:"Support for resolving workplace disputes and conflicts through proven methods and expert facilitation.",image:"/images/img5.jpg"},"staff-establishment":{title:"Staff Establishment",content:"We assist organizations in building and developing their workforce for optimal productivity and growth.",image:"/images/img6.jpg"},"data-protection-policy-development-training":{title:"Data Protection Policy Development and Training",content:"Comprehensive training and development of data protection policies to safeguard organizational information.",image:"/images/img7.jpg"},"leadership-management-trainings":{title:"Leadership Management and Trainings",content:"Leadership development programs and management training to empower current and future leaders.",image:"/images/img7.jpg"},"research-human-resource-management":{title:"Research in Human Resource Management",content:"Research services focused on best practices and innovations in HR management.",image:"/images/img7.jpg"},"job-evaluation":{title:"Job Evaluation",content:"Comprehensive job evaluation services for fair compensation and clear role definitions.",image:"/images/img7.jpg"},"executive-coaching":{title:"Executive Coaching",content:"Personalized coaching for executives and leaders to enhance their effectiveness and impact.",image:"/images/img7.jpg"},"development-hr-strategies":{title:"Development of HR Strategies",content:"Strategic HR planning and development to align human resources with organizational goals.",image:"/images/img7.jpg"},"development-hr-policies-manuals-career-guidelines":{title:"Development HR Policies Manuals & Careers Progression Guidelines",content:"Creation of HR policies, manuals, and career progression guides for structured growth.",image:"/images/img7.jpg"},"auditing-financial-support":{title:"Auditing and All Financial Support",content:"Auditing services and financial support to ensure transparency and accountability.",image:"/images/img7.jpg"},"human-capital-mentoring":{title:"Human Capital Mentoring",content:"Mentoring programs designed to develop and nurture human capital for long-term success.",image:"/images/img7.jpg"}};function Mb(){const{id:a}=ty(),i=Ab[a];return i?h.jsxs("div",{className:"program-detail-container",children:[h.jsx("h1",{children:i.title}),h.jsxs("div",{className:"program-detail-wrapper",children:[h.jsx("div",{className:"program-detail-image",children:h.jsx("img",{src:i.image,alt:i.title})}),h.jsxs("div",{className:"program-detail-content",children:[h.jsx("p",{children:i.content}),h.jsx(ot,{to:"/programs",className:"back-link",children:"< Back to Programs"})]})]})]}):h.jsxs("div",{className:"program-detail-container",children:[h.jsx("h2",{children:"Program not found"}),h.jsx(ot,{to:"/programs",className:"back-link",children:"Back to Programs"})]})}const Rb=[{id:1,title:"Individual Mentorship",iconNumber:1,image:"/images/img2.jpg",items:[{title:"Personal Guidance",info:"Detailed info about Personal Guidance."},{title:"Career Coaching",info:"Detailed info about Career Coaching."},{title:"Micro Mentorship",info:"Detailed info about Micro Mentorship."},{title:"Reverse Mentorship",info:"Detailed info about Reverse Mentorship."},{title:"Peer Mentorship",info:"Detailed info about Peer Mentorship."},{title:"Entrepreneurship Mentorship",info:"Detailed info about Entrepreneurship Mentorship."}]},{id:2,title:"Corporates Mentorship",iconNumber:2,image:"/images/img3.jpg",items:[{title:"Leadership Development",info:"Detailed info about Leadership Development."},{title:"Diversity, Equity, and Inclusion (DEI) Mentorship",info:"Detailed info about DEI Mentorship."},{title:"Succession Planning",info:"Detailed info about Succession Planning."},{title:"Employee Engagement and Retention",info:"Detailed info about Employee Engagement and Retention."},{title:"Cross–Functional Mentorship",info:"Detailed info about Cross–Functional Mentorship."},{title:"Onboarding Mentorship",info:"Detailed info about Onboarding Mentorship."}]},{id:3,title:"Schools & Institutions of higher learning",iconNumber:3,image:"/images/img4.jpg",items:[{title:"College and Career Readiness Mentorship",info:"Detailed info about College and Career Readiness Mentorship."},{title:"Career Exploration Mentorship",info:"Detailed info about Career Exploration Mentorship."},{title:"Graduate School and Career Planning Mentorship",info:"Detailed info about Graduate School and Career Planning Mentorship."},{title:"Academic and Professional Development Mentorship",info:"Detailed info about Academic and Professional Development Mentorship."}]}];function Db(){const[a,i]=j.useState({}),s=(r,u)=>{const d=`${r}-${u}`;i(f=>({...f,[d]:!f[d]}))};return h.jsxs("div",{className:"mentorship-container",children:[h.jsx("h1",{className:"mentorship-title",children:"Mentorship"}),h.jsx("div",{children:Rb.map(({id:r,title:u,iconNumber:d,image:f,items:y})=>h.jsxs("div",{className:"mentorship-section",children:[h.jsxs("div",{className:"mentorship-left",children:[h.jsx("div",{className:"mentorship-icon-circle",children:h.jsx("span",{children:d})}),h.jsx("div",{className:"mentorship-left-title",children:u})]}),h.jsx("div",{className:"mentorship-middle",children:y.map(({title:m,info:p},v)=>{const b=`${r}-${v}`,S=a[b];return h.jsxs("div",{className:"mentorship-item",children:[h.jsxs("button",{onClick:()=>s(r,v),className:"mentorship-button","aria-expanded":S,"aria-controls":`info-${b}`,children:[h.jsx("span",{children:m}),h.jsx("svg",{className:S?"rotate":"",fill:"none",stroke:"currentColor",strokeWidth:"2",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",style:{width:"1.25rem",height:"1.25rem",transition:"transform 0.3s ease"},children:h.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 4v16m8-8H4"})})]}),S&&h.jsx("p",{id:`info-${b}`,className:"mentorship-info",children:p})]},b)})}),h.jsx("div",{className:"mentorship-right",children:h.jsx("img",{src:f,alt:`${u} image`,className:"mentorship-image"})})]},r))})]})}function Cb(){const[a,i]=j.useState(!1),s=j.useRef(null),r=()=>{i(d=>!d)},u=()=>{i(!1)};return j.useEffect(()=>{const d=f=>{s.current&&!s.current.contains(f.target)&&u()};return a?document.addEventListener("mousedown",d):document.removeEventListener("mousedown",d),()=>{document.removeEventListener("mousedown",d)}},[a]),h.jsxs(h.Fragment,{children:[h.jsxs("div",{className:"top-info-bar",children:[h.jsxs("div",{className:"left-content",children:[h.jsxs("div",{className:"info-group",children:[h.jsx("span",{children:"📞"}),h.jsx("span",{children:"+254 733330213"})]}),h.jsxs("div",{className:"info-group border-left",children:[h.jsx("span",{children:"✉️"}),h.jsx("span",{children:"info@VelvetySolutionLimited.com"})]})]}),h.jsx(ot,{to:"/signup",children:h.jsx("button",{className:"join-button",children:"JOIN THE NETWORK"})})]}),h.jsxs("nav",{className:"main-navbar",children:[h.jsxs("div",{className:"navbar-inner",children:[h.jsx("div",{className:"logo-group",children:h.jsx(ot,{to:"/",children:h.jsx("img",{src:"/images/velvetylogo.jpeg",alt:"Logo",className:"navbar-logo"})})}),h.jsxs("ul",{className:"menu desktop-menu",children:[h.jsxs("li",{className:"has-dropdown",children:[h.jsx(ot,{to:"/about",children:"WHO WE ARE"}),h.jsxs("ul",{className:"dropdown",children:[h.jsx("li",{children:h.jsx(ot,{to:"/about",children:"About Us"})}),h.jsx("li",{children:h.jsx(ot,{to:"/team",children:"Team"})}),h.jsx("li",{children:h.jsx(ot,{to:"/faq",children:"FAQs"})})]})]}),h.jsx("li",{children:h.jsx(ot,{to:"/programs",children:"OUR PROGRAMS"})}),h.jsx("li",{children:h.jsx(ot,{to:"/mentorship",children:"MENTORSHIP"})}),h.jsx("li",{children:h.jsx(ot,{to:"/blog",children:"BLOGS"})}),h.jsxs("li",{className:"has-dropdown",children:[h.jsx(ot,{to:"/media",children:"MEDIA"}),h.jsxs("ul",{className:"dropdown",children:[h.jsx("li",{children:h.jsx(ot,{to:"/gallery",children:"Gallery"})}),h.jsx("li",{children:h.jsx(ot,{to:"/videos",children:"Videos"})})]})]}),h.jsx("li",{children:h.jsx(ot,{to:"/contact",children:"CONTACT US"})})]}),h.jsx("button",{className:"hamburger",onClick:r,children:"☰"})]}),a&&h.jsx("div",{className:"overlay",onClick:u}),h.jsx("div",{ref:s,className:`mobile-slide-menu ${a?"open":""}`,children:h.jsxs("ul",{className:"mobile-menu",children:[h.jsx("li",{children:h.jsx(ot,{to:"/about",onClick:u,children:"About Us"})}),h.jsx("li",{children:h.jsx(ot,{to:"/team",onClick:u,children:"Team"})}),h.jsx("li",{children:h.jsx(ot,{to:"/faq",onClick:u,children:"FAQs"})}),h.jsx("li",{children:h.jsx(ot,{to:"/programs",onClick:u,children:"Our Programs"})}),h.jsx("li",{children:h.jsx(ot,{to:"/mentorship",onClick:u,children:"Mentorship"})}),h.jsx("li",{children:h.jsx(ot,{to:"/blog",onClick:u,children:"Blogs"})}),h.jsx("li",{children:h.jsx(ot,{to:"/gallery",onClick:u,children:"Gallery"})}),h.jsx("li",{children:h.jsx(ot,{to:"/videos",onClick:u,children:"Videos"})}),h.jsx("li",{children:h.jsx(ot,{to:"/contact",onClick:u,children:"Contact Us"})})]})})]})]})}function wb(){return h.jsxs("footer",{className:"footer",children:[h.jsxs("div",{className:"footer-container",children:[h.jsxs("div",{className:"footer-column",children:[h.jsx("img",{src:"/images/velvetylogo.jpeg",alt:"Velvety Solutions Limited Logo",className:"footer-logo"}),h.jsx("p",{className:"footer-description",children:"I am passionate about sharing my knowledge and insights with the next generation of leaders, helping them grow through mentorship, inspiration, and connection."})]}),h.jsxs("div",{className:"footer-column",children:[h.jsx("h3",{className:"footer-heading",children:"Quick Links"}),h.jsx("ul",{className:"footer-list",children:[{name:"Who We Are",url:"/about"},{name:"Our Programs",url:"/programs"},{name:"Join The Network",url:"/join"},{name:"Gallery",url:"/gallery"},{name:"Contact Us",url:"/contact"}].map(({name:a,url:i})=>h.jsx("li",{className:"footer-list-item",children:h.jsx("a",{href:i,className:"footer-link",children:a})},a))})]}),h.jsxs("div",{className:"footer-column",children:[h.jsx("h3",{className:"footer-heading",children:"Contact"}),h.jsxs("ul",{className:"footer-contact-list",children:[h.jsxs("li",{className:"footer-contact-item",children:[h.jsx(rb,{}),h.jsx("span",{children:"+254 733330213"})]}),h.jsxs("li",{className:"footer-contact-item",children:[h.jsx(my,{}),h.jsx("span",{children:"info@VelvetySolutionsLimited.com"})]}),h.jsxs("li",{className:"footer-contact-item",children:[h.jsx(lb,{}),h.jsx("span",{children:"Nexus Business Centre – Ruiru,"})]}),h.jsxs("li",{className:"footer-contact-item",children:[h.jsx(ib,{}),h.jsx("span",{children:"3rd Floor, Block, 301"})]})]}),h.jsxs("div",{className:"footer-social-icons",children:[h.jsx("a",{href:"https://facebook.com",target:"_blank",rel:"noreferrer",className:"footer-social-icon",children:h.jsx(cy,{})}),h.jsx("a",{href:"https://twitter.com",target:"_blank",rel:"noreferrer",className:"footer-social-icon",children:h.jsx(dy,{})}),h.jsx("a",{href:"https://linkedin.com",target:"_blank",rel:"noreferrer",className:"footer-social-icon",children:h.jsx(fy,{})})]})]}),h.jsxs("div",{className:"footer-column",children:[h.jsx("h3",{className:"footer-heading",children:"Newsletter"}),h.jsx("p",{className:"footer-newsletter-text",children:"Get updates straight to your inbox."}),h.jsxs("form",{className:"footer-newsletter-form",children:[h.jsx("input",{type:"email",placeholder:"Your email address",required:!0}),h.jsx("button",{type:"submit",children:"SUBMIT"})]})]})]}),h.jsx("div",{className:"footer-divider"}),h.jsx("div",{className:"footer-bottom",children:h.jsxs("p",{children:["© ",new Date().getFullYear()," velvety solutions Limited. All rights reserved."]})})]})}const ar=["/images/img2.jpg","/images/img3.jpg","/images/img4.jpg","/images/img5.jpg","/images/img6.jpg","/images/img7.jpg","/images/img8.jpg","/images/img9.jpg","/images/img10.jpg"];function Nb(){const[a,i]=j.useState(!1),[s,r]=j.useState(0),[u,d]=j.useState(!1);j.useEffect(()=>{d(!0)},[]);const f=v=>{r(v),i(!0)},y=()=>{i(!1)},m=()=>{r(v=>v===0?ar.length-1:v-1)},p=()=>{r(v=>v===ar.length-1?0:v+1)};return h.jsxs("section",{className:"gallery",children:[h.jsx("h2",{children:"Gallery"}),!a&&h.jsx("div",{className:"gallery-grid",children:ar.map((v,b)=>h.jsx("img",{src:v,alt:`Gallery image ${b+1}`,onClick:()=>f(b),className:u?"fade-zoom-in":"",style:{animationDelay:`${b*100}ms`}},b))}),a&&h.jsxs("div",{className:"modal",children:[h.jsx("img",{src:ar[s],alt:`Gallery image ${s+1}`}),h.jsxs("div",{className:"modal-buttons",children:[h.jsx("button",{onClick:m,children:"Previous"}),h.jsx("button",{onClick:p,children:"Next"}),h.jsx("button",{onClick:y,children:"Back to Grid"})]})]})]})}const Ob=[{id:"wh5rLnsc8LU",title:"Video 1"},{id:"wyEWCfYlC5Q",title:"Video 2"},{id:"4-LubHKyfPo",title:"Video 3"}];function Vb(){const[a,i]=j.useState(null),s=u=>{i(u)},r=()=>{i(null)};return h.jsxs("section",{className:"videos",children:[h.jsx("h2",{children:"Videos"}),h.jsx("div",{className:"video-grid",children:Ob.map(u=>h.jsxs("div",{className:"video-item",onClick:()=>s(u.id),children:[h.jsx("img",{src:`https://img.youtube.com/vi/${u.id}/hqdefault.jpg`,alt:u.title}),h.jsx("p",{children:u.title})]},u.id))}),a&&h.jsx("div",{className:"video-popup-overlay",children:h.jsxs("div",{className:"video-popup",children:[h.jsx("button",{onClick:r,className:"close-button",children:"Close"}),h.jsx("iframe",{width:"100%",height:"100%",src:`https://www.youtube.com/embed/${a}?autoplay=1&enablejsapi=1`,title:"YouTube video player",frameBorder:"0",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; autoplay",allowFullScreen:!0})]})})]})}function zb(){const a=j.useRef();return j.useEffect(()=>{const i=a.current.querySelectorAll(".scroll-animate"),s=new IntersectionObserver(r=>{r.forEach(u=>{u.isIntersecting&&u.target.classList.add("visible")})},{threshold:.1});return i.forEach(r=>s.observe(r)),()=>s.disconnect()},[]),h.jsxs("div",{className:"aboutus-container",ref:a,children:[h.jsxs("section",{className:"intro-section scroll-animate",children:[h.jsxs("div",{className:"intro-text",children:[h.jsx("h1",{children:"Velvety Solutions Limited"}),h.jsx("p",{children:"Solutions LTD is a distinguished consulting, training, and research firm, excelling in the provision of organizational development transformation strategies and human resources solutions. With a commitment to excellence, Velvety Consulting Solutions offers tailored solutions to organizations seeking to enhance their performance, efficiency, and overall effectiveness"}),h.jsx("p",{children:"At Velvety Consulting Solutions LTD., we understand the dynamic nature of today’s business environment and the need for organizations to adapt and thrive. Our team of experienced consultants and trainers are dedicated to providing innovative and sustainable solutions that drive growth and success. With a focus on building strong partnerships with our clients, Velvety Consulting Solutions works Collaboratively to identify challenges, develop strategies, and implement solutions that address the specific needs of each organization. We take pride in our ability to deliver results that exceed expectations and contribute to the long-term success of our clients."}),h.jsx("p",{children:"We understand that true leadership is not just about titles but about influence, inspiration, and impact. Velvety Solutions Network is committed to nurturing leaders who lead from the heart, guided by integrity, empathy, and a profound sense of responsibility"})]}),h.jsx("div",{className:"intro-image",children:h.jsx("img",{src:"/images/img2.jpg",alt:"Lillian Ngala"})})]}),h.jsxs("section",{className:"stats-section scroll-animate",children:[h.jsxs("div",{className:"stat-item",children:[h.jsx("h2",{children:"100%"}),h.jsx("p",{children:"Satisfaction Rate"})]}),h.jsxs("div",{className:"stat-item",children:[h.jsx("h2",{children:"800+"}),h.jsx("p",{children:"Finished Sessions"})]}),h.jsxs("div",{className:"stat-item",children:[h.jsx("h2",{children:"803+"}),h.jsx("p",{children:"Happy Users"})]}),h.jsxs("div",{className:"stat-item",children:[h.jsx("h2",{children:"1200+"}),h.jsx("p",{children:"Enrolled Users"})]})]}),h.jsxs("section",{className:"mission-vision-section scroll-animate",children:[h.jsx("div",{className:"mission-image",children:h.jsx("img",{src:"/images/img3.jpg",alt:"Mission"})}),h.jsxs("div",{className:"mission-text",children:[h.jsx("h3",{children:"Mission"}),h.jsx("p",{children:"To empower organizations with innovative strategies and solutions that optimize performance, enhance efficiency, and cultivate a culture of excellence and continuous improvement"}),h.jsx("h3",{children:"Vision"}),h.jsx("p",{children:"To be the leading provider of transformation organizational development and human resources solutions, driving sustainable growth and excellence in organizations globally."})]})]}),h.jsxs("section",{className:"pillars-section scroll-animate",children:[h.jsx("h3",{children:"Our Pillars"}),h.jsxs("div",{className:"pillars-items",children:[h.jsxs("div",{className:"pillar",children:[h.jsx(sb,{className:"pillar-icon"}),h.jsx("h4",{children:"Strategic Networking"}),h.jsx("p",{children:"We provide you with a unique opportunity to connect, learn, grow, and interact with like-minded individuals"})]}),h.jsxs("div",{className:"pillar",children:[h.jsx(ub,{className:"pillar-icon"}),h.jsx("h4",{children:"Centered Leadership model"}),h.jsx("p",{children:"Access to valuable information and tools that will empower you to lead with impact, resilience and fulfillment."})]}),h.jsxs("div",{className:"pillar",children:[h.jsx(hy,{className:"pillar-icon"}),h.jsx("h4",{children:"HR Clinics #AskLN"}),h.jsx("p",{children:"Provides you with insights, strategies & tools to navigate the evolving professional world"})]})]})]})]})}const Lb=[{id:1,name:"CHRP Edith Wambui Ndungu",role:"Founder & CEO",image:"/src/assets/logos/velvetylogo.jpeg",motto:"Empowering leaders for a better tomorrow.",bio:h.jsxs(h.Fragment,{children:["Edith has over 20 years of experience in leadership development and strategic networking.",h.jsx("br",{}),"She is passionate about nurturing talent and creating impactful communities.",h.jsx("br",{}),"Dip. BM, BBA(HRM), Master of Management and Leadership",h.jsx("br",{}),"Certified HR Professional - Practicing License No.4080",h.jsx("br",{}),"Certified Professional Mediator - SDRC",h.jsx("br",{}),"Certified Executive/Leadership Coach - SDRC/ICF",h.jsx("br",{}),"Productivity and Performance Consultant",h.jsx("br",{}),"Certified Trustee and Professional Trainer"]}),social:{facebook:"https://facebook.com/janedoe",twitter:"https://twitter.com/janedoe",linkedin:"https://linkedin.com/in/janedoe",email:"mailto:jane.doe@example.com"}},{id:2,name:"Apollo Kiarii",role:"Chartered Mediator, Professional Negotiator",image:"/src/assets/logos/velvetylogo.jpeg",motto:"Driving operational excellence.",bio:h.jsxs(h.Fragment,{children:["Human Capital/Industrial relations expert and Practitioner.",h.jsx("br",{}),"Board Member – NITA/FKE/AEA/Centro food Industries Ltd."]}),social:{facebook:"https://facebook.com/johnsmith",twitter:"https://twitter.com/johnsmith",linkedin:"https://linkedin.com/in/johnsmith",email:"mailto:john.smith@example.com"}}];function Bb(){const[a,i]=j.useState(null),s=u=>{i(u)},r=()=>{i(null)};return h.jsxs(h.Fragment,{children:[h.jsxs("div",{className:"team-section scroll-animate",children:[h.jsx("h2",{children:"Meet Our Team"}),h.jsx("div",{className:"team-grid",children:Lb.map((u,d)=>h.jsxs("div",{className:`team-card ${d%2===0?"fade-in-left":"fade-in-right"}`,onClick:()=>s(u),tabIndex:0,onKeyDown:f=>{f.key==="Enter"&&s(u)},role:"button","aria-label":`View bio of ${u.name}`,children:[h.jsx("img",{src:u.image,alt:u.name,className:"team-image"}),h.jsx("h3",{children:u.name}),h.jsx("h4",{children:u.role}),h.jsx("p",{className:"motto",children:u.motto}),h.jsxs("div",{className:"social-icons",children:[h.jsx("a",{href:u.social.facebook,target:"_blank",rel:"noopener noreferrer",onClick:f=>f.stopPropagation(),children:h.jsx(cy,{})}),h.jsx("a",{href:u.social.twitter,target:"_blank",rel:"noopener noreferrer",onClick:f=>f.stopPropagation(),children:h.jsx(dy,{})}),h.jsx("a",{href:u.social.linkedin,target:"_blank",rel:"noopener noreferrer",onClick:f=>f.stopPropagation(),children:h.jsx(fy,{})}),h.jsx("a",{href:u.social.email,onClick:f=>f.stopPropagation(),children:h.jsx(my,{})})]})]},u.id))})]}),a&&h.jsx("div",{className:"modal-overlay",onClick:r,role:"dialog","aria-modal":"true","aria-labelledby":"modal-title",children:h.jsxs("div",{className:"modal-content",onClick:u=>u.stopPropagation(),children:[h.jsx("button",{className:"modal-close",onClick:r,"aria-label":"Close modal",children:"×"}),h.jsx("img",{src:a.image,alt:a.name,className:"modal-image"}),h.jsx("h2",{id:"modal-title",children:a.name}),h.jsx("h3",{children:a.role}),h.jsx("p",{children:a.bio})]})})]})}function Ub(){return h.jsx("main",{children:h.jsx(Bb,{})})}const qc=j.createContext({});function Yc(a){const i=j.useRef(null);return i.current===null&&(i.current=a()),i.current}const Pc=typeof window<"u",py=Pc?j.useLayoutEffect:j.useEffect,Er=j.createContext(null);function Gc(a,i){a.indexOf(i)===-1&&a.push(i)}function kc(a,i){const s=a.indexOf(i);s>-1&&a.splice(s,1)}const vn=(a,i,s)=>s>i?i:s<a?a:s;let Xc=()=>{};const xn={},gy=a=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(a);function yy(a){return typeof a=="object"&&a!==null}const vy=a=>/^0[^.\s]+$/u.test(a);function Kc(a){let i;return()=>(i===void 0&&(i=a()),i)}const Le=a=>a,_b=(a,i)=>s=>i(a(s)),Ul=(...a)=>a.reduce(_b),Rl=(a,i,s)=>{const r=i-a;return r===0?1:(s-a)/r};class Qc{constructor(){this.subscriptions=[]}add(i){return Gc(this.subscriptions,i),()=>kc(this.subscriptions,i)}notify(i,s,r){const u=this.subscriptions.length;if(u)if(u===1)this.subscriptions[0](i,s,r);else for(let d=0;d<u;d++){const f=this.subscriptions[d];f&&f(i,s,r)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const Qe=a=>a*1e3,Ze=a=>a/1e3;function xy(a,i){return i?a*(1e3/i):0}const by=(a,i,s)=>(((1-3*s+3*i)*a+(3*s-6*i))*a+3*i)*a,Hb=1e-7,qb=12;function Yb(a,i,s,r,u){let d,f,y=0;do f=i+(s-i)/2,d=by(f,r,u)-a,d>0?s=f:i=f;while(Math.abs(d)>Hb&&++y<qb);return f}function _l(a,i,s,r){if(a===i&&s===r)return Le;const u=d=>Yb(d,0,1,a,s);return d=>d===0||d===1?d:by(u(d),i,r)}const Sy=a=>i=>i<=.5?a(2*i)/2:(2-a(2*(1-i)))/2,Ty=a=>i=>1-a(1-i),jy=_l(.33,1.53,.69,.99),Zc=Ty(jy),Ey=Sy(Zc),Ay=a=>(a*=2)<1?.5*Zc(a):.5*(2-Math.pow(2,-10*(a-1))),Fc=a=>1-Math.sin(Math.acos(a)),My=Ty(Fc),Ry=Sy(Fc),Pb=_l(.42,0,1,1),Gb=_l(0,0,.58,1),Dy=_l(.42,0,.58,1),kb=a=>Array.isArray(a)&&typeof a[0]!="number",Cy=a=>Array.isArray(a)&&typeof a[0]=="number",Xb={linear:Le,easeIn:Pb,easeInOut:Dy,easeOut:Gb,circIn:Fc,circInOut:Ry,circOut:My,backIn:Zc,backInOut:Ey,backOut:jy,anticipate:Ay},Kb=a=>typeof a=="string",Np=a=>{if(Cy(a)){Xc(a.length===4);const[i,s,r,u]=a;return _l(i,s,r,u)}else if(Kb(a))return Xb[a];return a},ir=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function Qb(a,i){let s=new Set,r=new Set,u=!1,d=!1;const f=new WeakSet;let y={delta:0,timestamp:0,isProcessing:!1};function m(v){f.has(v)&&(p.schedule(v),a()),v(y)}const p={schedule:(v,b=!1,S=!1)=>{const N=S&&u?s:r;return b&&f.add(v),N.has(v)||N.add(v),v},cancel:v=>{r.delete(v),f.delete(v)},process:v=>{if(y=v,u){d=!0;return}u=!0,[s,r]=[r,s],s.forEach(m),s.clear(),u=!1,d&&(d=!1,p.process(v))}};return p}const Zb=40;function wy(a,i){let s=!1,r=!0;const u={delta:0,timestamp:0,isProcessing:!1},d=()=>s=!0,f=ir.reduce((q,F)=>(q[F]=Qb(d),q),{}),{setup:y,read:m,resolveKeyframes:p,preUpdate:v,update:b,preRender:S,render:R,postRender:N}=f,z=()=>{const q=xn.useManualTiming?u.timestamp:performance.now();s=!1,xn.useManualTiming||(u.delta=r?1e3/60:Math.max(Math.min(q-u.timestamp,Zb),1)),u.timestamp=q,u.isProcessing=!0,y.process(u),m.process(u),p.process(u),v.process(u),b.process(u),S.process(u),R.process(u),N.process(u),u.isProcessing=!1,s&&i&&(r=!1,a(z))},_=()=>{s=!0,r=!0,u.isProcessing||a(z)};return{schedule:ir.reduce((q,F)=>{const P=f[F];return q[F]=(W,I=!1,Z=!1)=>(s||_(),P.schedule(W,I,Z)),q},{}),cancel:q=>{for(let F=0;F<ir.length;F++)f[ir[F]].cancel(q)},state:u,steps:f}}const{schedule:Dt,cancel:Qn,state:It,steps:Wu}=wy(typeof requestAnimationFrame<"u"?requestAnimationFrame:Le,!0);let cr;function Fb(){cr=void 0}const he={now:()=>(cr===void 0&&he.set(It.isProcessing||xn.useManualTiming?It.timestamp:performance.now()),cr),set:a=>{cr=a,queueMicrotask(Fb)}},Ny=a=>i=>typeof i=="string"&&i.startsWith(a),Jc=Ny("--"),Jb=Ny("var(--"),$c=a=>Jb(a)?$b.test(a.split("/*")[0].trim()):!1,$b=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,pi={test:a=>typeof a=="number",parse:parseFloat,transform:a=>a},Dl={...pi,transform:a=>vn(0,1,a)},lr={...pi,default:1},Sl=a=>Math.round(a*1e5)/1e5,Wc=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function Wb(a){return a==null}const Ib=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,Ic=(a,i)=>s=>!!(typeof s=="string"&&Ib.test(s)&&s.startsWith(a)||i&&!Wb(s)&&Object.prototype.hasOwnProperty.call(s,i)),Oy=(a,i,s)=>r=>{if(typeof r!="string")return r;const[u,d,f,y]=r.match(Wc);return{[a]:parseFloat(u),[i]:parseFloat(d),[s]:parseFloat(f),alpha:y!==void 0?parseFloat(y):1}},tS=a=>vn(0,255,a),Iu={...pi,transform:a=>Math.round(tS(a))},ga={test:Ic("rgb","red"),parse:Oy("red","green","blue"),transform:({red:a,green:i,blue:s,alpha:r=1})=>"rgba("+Iu.transform(a)+", "+Iu.transform(i)+", "+Iu.transform(s)+", "+Sl(Dl.transform(r))+")"};function eS(a){let i="",s="",r="",u="";return a.length>5?(i=a.substring(1,3),s=a.substring(3,5),r=a.substring(5,7),u=a.substring(7,9)):(i=a.substring(1,2),s=a.substring(2,3),r=a.substring(3,4),u=a.substring(4,5),i+=i,s+=s,r+=r,u+=u),{red:parseInt(i,16),green:parseInt(s,16),blue:parseInt(r,16),alpha:u?parseInt(u,16)/255:1}}const mc={test:Ic("#"),parse:eS,transform:ga.transform},Hl=a=>({test:i=>typeof i=="string"&&i.endsWith(a)&&i.split(" ").length===1,parse:parseFloat,transform:i=>`${i}${a}`}),Kn=Hl("deg"),Fe=Hl("%"),it=Hl("px"),nS=Hl("vh"),aS=Hl("vw"),Op={...Fe,parse:a=>Fe.parse(a)/100,transform:a=>Fe.transform(a*100)},si={test:Ic("hsl","hue"),parse:Oy("hue","saturation","lightness"),transform:({hue:a,saturation:i,lightness:s,alpha:r=1})=>"hsla("+Math.round(a)+", "+Fe.transform(Sl(i))+", "+Fe.transform(Sl(s))+", "+Sl(Dl.transform(r))+")"},Yt={test:a=>ga.test(a)||mc.test(a)||si.test(a),parse:a=>ga.test(a)?ga.parse(a):si.test(a)?si.parse(a):mc.parse(a),transform:a=>typeof a=="string"?a:a.hasOwnProperty("red")?ga.transform(a):si.transform(a),getAnimatableNone:a=>{const i=Yt.parse(a);return i.alpha=0,Yt.transform(i)}},iS=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function lS(a){return isNaN(a)&&typeof a=="string"&&(a.match(Wc)?.length||0)+(a.match(iS)?.length||0)>0}const Vy="number",zy="color",sS="var",rS="var(",Vp="${}",oS=/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 Cl(a){const i=a.toString(),s=[],r={color:[],number:[],var:[]},u=[];let d=0;const y=i.replace(oS,m=>(Yt.test(m)?(r.color.push(d),u.push(zy),s.push(Yt.parse(m))):m.startsWith(rS)?(r.var.push(d),u.push(sS),s.push(m)):(r.number.push(d),u.push(Vy),s.push(parseFloat(m))),++d,Vp)).split(Vp);return{values:s,split:y,indexes:r,types:u}}function Ly(a){return Cl(a).values}function By(a){const{split:i,types:s}=Cl(a),r=i.length;return u=>{let d="";for(let f=0;f<r;f++)if(d+=i[f],u[f]!==void 0){const y=s[f];y===Vy?d+=Sl(u[f]):y===zy?d+=Yt.transform(u[f]):d+=u[f]}return d}}const uS=a=>typeof a=="number"?0:Yt.test(a)?Yt.getAnimatableNone(a):a;function cS(a){const i=Ly(a);return By(a)(i.map(uS))}const Zn={test:lS,parse:Ly,createTransformer:By,getAnimatableNone:cS};function tc(a,i,s){return s<0&&(s+=1),s>1&&(s-=1),s<1/6?a+(i-a)*6*s:s<1/2?i:s<2/3?a+(i-a)*(2/3-s)*6:a}function fS({hue:a,saturation:i,lightness:s,alpha:r}){a/=360,i/=100,s/=100;let u=0,d=0,f=0;if(!i)u=d=f=s;else{const y=s<.5?s*(1+i):s+i-s*i,m=2*s-y;u=tc(m,y,a+1/3),d=tc(m,y,a),f=tc(m,y,a-1/3)}return{red:Math.round(u*255),green:Math.round(d*255),blue:Math.round(f*255),alpha:r}}function yr(a,i){return s=>s>0?i:a}const wt=(a,i,s)=>a+(i-a)*s,ec=(a,i,s)=>{const r=a*a,u=s*(i*i-r)+r;return u<0?0:Math.sqrt(u)},dS=[mc,ga,si],hS=a=>dS.find(i=>i.test(a));function zp(a){const i=hS(a);if(!i)return!1;let s=i.parse(a);return i===si&&(s=fS(s)),s}const Lp=(a,i)=>{const s=zp(a),r=zp(i);if(!s||!r)return yr(a,i);const u={...s};return d=>(u.red=ec(s.red,r.red,d),u.green=ec(s.green,r.green,d),u.blue=ec(s.blue,r.blue,d),u.alpha=wt(s.alpha,r.alpha,d),ga.transform(u))},pc=new Set(["none","hidden"]);function mS(a,i){return pc.has(a)?s=>s<=0?a:i:s=>s>=1?i:a}function pS(a,i){return s=>wt(a,i,s)}function tf(a){return typeof a=="number"?pS:typeof a=="string"?$c(a)?yr:Yt.test(a)?Lp:vS:Array.isArray(a)?Uy:typeof a=="object"?Yt.test(a)?Lp:gS:yr}function Uy(a,i){const s=[...a],r=s.length,u=a.map((d,f)=>tf(d)(d,i[f]));return d=>{for(let f=0;f<r;f++)s[f]=u[f](d);return s}}function gS(a,i){const s={...a,...i},r={};for(const u in s)a[u]!==void 0&&i[u]!==void 0&&(r[u]=tf(a[u])(a[u],i[u]));return u=>{for(const d in r)s[d]=r[d](u);return s}}function yS(a,i){const s=[],r={color:0,var:0,number:0};for(let u=0;u<i.values.length;u++){const d=i.types[u],f=a.indexes[d][r[d]],y=a.values[f]??0;s[u]=y,r[d]++}return s}const vS=(a,i)=>{const s=Zn.createTransformer(i),r=Cl(a),u=Cl(i);return r.indexes.var.length===u.indexes.var.length&&r.indexes.color.length===u.indexes.color.length&&r.indexes.number.length>=u.indexes.number.length?pc.has(a)&&!u.values.length||pc.has(i)&&!r.values.length?mS(a,i):Ul(Uy(yS(r,u),u.values),s):yr(a,i)};function _y(a,i,s){return typeof a=="number"&&typeof i=="number"&&typeof s=="number"?wt(a,i,s):tf(a)(a,i)}const xS=a=>{const i=({timestamp:s})=>a(s);return{start:(s=!0)=>Dt.update(i,s),stop:()=>Qn(i),now:()=>It.isProcessing?It.timestamp:he.now()}},Hy=(a,i,s=10)=>{let r="";const u=Math.max(Math.round(i/s),2);for(let d=0;d<u;d++)r+=Math.round(a(d/(u-1))*1e4)/1e4+", ";return`linear(${r.substring(0,r.length-2)})`},vr=2e4;function ef(a){let i=0;const s=50;let r=a.next(i);for(;!r.done&&i<vr;)i+=s,r=a.next(i);return i>=vr?1/0:i}function bS(a,i=100,s){const r=s({...a,keyframes:[0,i]}),u=Math.min(ef(r),vr);return{type:"keyframes",ease:d=>r.next(u*d).value/i,duration:Ze(u)}}const SS=5;function qy(a,i,s){const r=Math.max(i-SS,0);return xy(s-a(r),i-r)}const zt={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},nc=.001;function TS({duration:a=zt.duration,bounce:i=zt.bounce,velocity:s=zt.velocity,mass:r=zt.mass}){let u,d,f=1-i;f=vn(zt.minDamping,zt.maxDamping,f),a=vn(zt.minDuration,zt.maxDuration,Ze(a)),f<1?(u=p=>{const v=p*f,b=v*a,S=v-s,R=gc(p,f),N=Math.exp(-b);return nc-S/R*N},d=p=>{const b=p*f*a,S=b*s+s,R=Math.pow(f,2)*Math.pow(p,2)*a,N=Math.exp(-b),z=gc(Math.pow(p,2),f);return(-u(p)+nc>0?-1:1)*((S-R)*N)/z}):(u=p=>{const v=Math.exp(-p*a),b=(p-s)*a+1;return-nc+v*b},d=p=>{const v=Math.exp(-p*a),b=(s-p)*(a*a);return v*b});const y=5/a,m=ES(u,d,y);if(a=Qe(a),isNaN(m))return{stiffness:zt.stiffness,damping:zt.damping,duration:a};{const p=Math.pow(m,2)*r;return{stiffness:p,damping:f*2*Math.sqrt(r*p),duration:a}}}const jS=12;function ES(a,i,s){let r=s;for(let u=1;u<jS;u++)r=r-a(r)/i(r);return r}function gc(a,i){return a*Math.sqrt(1-i*i)}const AS=["duration","bounce"],MS=["stiffness","damping","mass"];function Bp(a,i){return i.some(s=>a[s]!==void 0)}function RS(a){let i={velocity:zt.velocity,stiffness:zt.stiffness,damping:zt.damping,mass:zt.mass,isResolvedFromDuration:!1,...a};if(!Bp(a,MS)&&Bp(a,AS))if(a.visualDuration){const s=a.visualDuration,r=2*Math.PI/(s*1.2),u=r*r,d=2*vn(.05,1,1-(a.bounce||0))*Math.sqrt(u);i={...i,mass:zt.mass,stiffness:u,damping:d}}else{const s=TS(a);i={...i,...s,mass:zt.mass},i.isResolvedFromDuration=!0}return i}function xr(a=zt.visualDuration,i=zt.bounce){const s=typeof a!="object"?{visualDuration:a,keyframes:[0,1],bounce:i}:a;let{restSpeed:r,restDelta:u}=s;const d=s.keyframes[0],f=s.keyframes[s.keyframes.length-1],y={done:!1,value:d},{stiffness:m,damping:p,mass:v,duration:b,velocity:S,isResolvedFromDuration:R}=RS({...s,velocity:-Ze(s.velocity||0)}),N=S||0,z=p/(2*Math.sqrt(m*v)),_=f-d,V=Ze(Math.sqrt(m/v)),G=Math.abs(_)<5;r||(r=G?zt.restSpeed.granular:zt.restSpeed.default),u||(u=G?zt.restDelta.granular:zt.restDelta.default);let q;if(z<1){const P=gc(V,z);q=W=>{const I=Math.exp(-z*V*W);return f-I*((N+z*V*_)/P*Math.sin(P*W)+_*Math.cos(P*W))}}else if(z===1)q=P=>f-Math.exp(-V*P)*(_+(N+V*_)*P);else{const P=V*Math.sqrt(z*z-1);q=W=>{const I=Math.exp(-z*V*W),Z=Math.min(P*W,300);return f-I*((N+z*V*_)*Math.sinh(Z)+P*_*Math.cosh(Z))/P}}const F={calculatedDuration:R&&b||null,next:P=>{const W=q(P);if(R)y.done=P>=b;else{let I=P===0?N:0;z<1&&(I=P===0?Qe(N):qy(q,P,W));const Z=Math.abs(I)<=r,st=Math.abs(f-W)<=u;y.done=Z&&st}return y.value=y.done?f:W,y},toString:()=>{const P=Math.min(ef(F),vr),W=Hy(I=>F.next(P*I).value,P,30);return P+"ms "+W},toTransition:()=>{}};return F}xr.applyToOptions=a=>{const i=bS(a,100,xr);return a.ease=i.ease,a.duration=Qe(i.duration),a.type="keyframes",a};function yc({keyframes:a,velocity:i=0,power:s=.8,timeConstant:r=325,bounceDamping:u=10,bounceStiffness:d=500,modifyTarget:f,min:y,max:m,restDelta:p=.5,restSpeed:v}){const b=a[0],S={done:!1,value:b},R=Z=>y!==void 0&&Z<y||m!==void 0&&Z>m,N=Z=>y===void 0?m:m===void 0||Math.abs(y-Z)<Math.abs(m-Z)?y:m;let z=s*i;const _=b+z,V=f===void 0?_:f(_);V!==_&&(z=V-b);const G=Z=>-z*Math.exp(-Z/r),q=Z=>V+G(Z),F=Z=>{const st=G(Z),vt=q(Z);S.done=Math.abs(st)<=p,S.value=S.done?V:vt};let P,W;const I=Z=>{R(S.value)&&(P=Z,W=xr({keyframes:[S.value,N(S.value)],velocity:qy(q,Z,S.value),damping:u,stiffness:d,restDelta:p,restSpeed:v}))};return I(0),{calculatedDuration:null,next:Z=>{let st=!1;return!W&&P===void 0&&(st=!0,F(Z),I(Z)),P!==void 0&&Z>=P?W.next(Z-P):(!st&&F(Z),S)}}}function DS(a,i,s){const r=[],u=s||xn.mix||_y,d=a.length-1;for(let f=0;f<d;f++){let y=u(a[f],a[f+1]);if(i){const m=Array.isArray(i)?i[f]||Le:i;y=Ul(m,y)}r.push(y)}return r}function CS(a,i,{clamp:s=!0,ease:r,mixer:u}={}){const d=a.length;if(Xc(d===i.length),d===1)return()=>i[0];if(d===2&&i[0]===i[1])return()=>i[1];const f=a[0]===a[1];a[0]>a[d-1]&&(a=[...a].reverse(),i=[...i].reverse());const y=DS(i,r,u),m=y.length,p=v=>{if(f&&v<a[0])return i[0];let b=0;if(m>1)for(;b<a.length-2&&!(v<a[b+1]);b++);const S=Rl(a[b],a[b+1],v);return y[b](S)};return s?v=>p(vn(a[0],a[d-1],v)):p}function wS(a,i){const s=a[a.length-1];for(let r=1;r<=i;r++){const u=Rl(0,i,r);a.push(wt(s,1,u))}}function NS(a){const i=[0];return wS(i,a.length-1),i}function OS(a,i){return a.map(s=>s*i)}function VS(a,i){return a.map(()=>i||Dy).splice(0,a.length-1)}function Tl({duration:a=300,keyframes:i,times:s,ease:r="easeInOut"}){const u=kb(r)?r.map(Np):Np(r),d={done:!1,value:i[0]},f=OS(s&&s.length===i.length?s:NS(i),a),y=CS(f,i,{ease:Array.isArray(u)?u:VS(i,u)});return{calculatedDuration:a,next:m=>(d.value=y(m),d.done=m>=a,d)}}const zS=a=>a!==null;function nf(a,{repeat:i,repeatType:s="loop"},r,u=1){const d=a.filter(zS),y=u<0||i&&s!=="loop"&&i%2===1?0:d.length-1;return!y||r===void 0?d[y]:r}const LS={decay:yc,inertia:yc,tween:Tl,keyframes:Tl,spring:xr};function Yy(a){typeof a.type=="string"&&(a.type=LS[a.type])}class af{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(i=>{this.resolve=i})}notifyFinished(){this.resolve()}then(i,s){return this.finished.then(i,s)}}const BS=a=>a/100;class lf extends af{constructor(i){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.stop=()=>{const{motionValue:s}=this.options;s&&s.updatedAt!==he.now()&&this.tick(he.now()),this.isStopped=!0,this.state!=="idle"&&(this.teardown(),this.options.onStop?.())},this.options=i,this.initAnimation(),this.play(),i.autoplay===!1&&this.pause()}initAnimation(){const{options:i}=this;Yy(i);const{type:s=Tl,repeat:r=0,repeatDelay:u=0,repeatType:d,velocity:f=0}=i;let{keyframes:y}=i;const m=s||Tl;m!==Tl&&typeof y[0]!="number"&&(this.mixKeyframes=Ul(BS,_y(y[0],y[1])),y=[0,100]);const p=m({...i,keyframes:y});d==="mirror"&&(this.mirroredGenerator=m({...i,keyframes:[...y].reverse(),velocity:-f})),p.calculatedDuration===null&&(p.calculatedDuration=ef(p));const{calculatedDuration:v}=p;this.calculatedDuration=v,this.resolvedDuration=v+u,this.totalDuration=this.resolvedDuration*(r+1)-u,this.generator=p}updateTime(i){const s=Math.round(i-this.startTime)*this.playbackSpeed;this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=s}tick(i,s=!1){const{generator:r,totalDuration:u,mixKeyframes:d,mirroredGenerator:f,resolvedDuration:y,calculatedDuration:m}=this;if(this.startTime===null)return r.next(0);const{delay:p=0,keyframes:v,repeat:b,repeatType:S,repeatDelay:R,type:N,onUpdate:z,finalKeyframe:_}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,i):this.speed<0&&(this.startTime=Math.min(i-u/this.speed,this.startTime)),s?this.currentTime=i:this.updateTime(i);const V=this.currentTime-p*(this.playbackSpeed>=0?1:-1),G=this.playbackSpeed>=0?V<0:V>u;this.currentTime=Math.max(V,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=u);let q=this.currentTime,F=r;if(b){const Z=Math.min(this.currentTime,u)/y;let st=Math.floor(Z),vt=Z%1;!vt&&Z>=1&&(vt=1),vt===1&&st--,st=Math.min(st,b+1),!!(st%2)&&(S==="reverse"?(vt=1-vt,R&&(vt-=R/y)):S==="mirror"&&(F=f)),q=vn(0,1,vt)*y}const P=G?{done:!1,value:v[0]}:F.next(q);d&&(P.value=d(P.value));let{done:W}=P;!G&&m!==null&&(W=this.playbackSpeed>=0?this.currentTime>=u:this.currentTime<=0);const I=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&W);return I&&N!==yc&&(P.value=nf(v,this.options,_,this.speed)),z&&z(P.value),I&&this.finish(),P}then(i,s){return this.finished.then(i,s)}get duration(){return Ze(this.calculatedDuration)}get time(){return Ze(this.currentTime)}set time(i){i=Qe(i),this.currentTime=i,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0?this.holdTime=i:this.driver&&(this.startTime=this.driver.now()-i/this.playbackSpeed),this.driver?.start(!1)}get speed(){return this.playbackSpeed}set speed(i){this.updateTime(he.now());const s=this.playbackSpeed!==i;this.playbackSpeed=i,s&&(this.time=Ze(this.currentTime))}play(){if(this.isStopped)return;const{driver:i=xS,startTime:s}=this.options;this.driver||(this.driver=i(u=>this.tick(u))),this.options.onPlay?.();const r=this.driver.now();this.state==="finished"?(this.updateFinished(),this.startTime=r):this.holdTime!==null?this.startTime=r-this.holdTime:this.startTime||(this.startTime=s??r),this.state==="finished"&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(he.now()),this.holdTime=this.currentTime}complete(){this.state!=="running"&&this.play(),this.state="finished",this.holdTime=null}finish(){this.notifyFinished(),this.teardown(),this.state="finished",this.options.onComplete?.()}cancel(){this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),this.options.onCancel?.()}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(i){return this.startTime=0,this.tick(i,!0)}attachTimeline(i){return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),this.driver?.stop(),i.observe(this)}}function US(a){for(let i=1;i<a.length;i++)a[i]??(a[i]=a[i-1])}const ya=a=>a*180/Math.PI,vc=a=>{const i=ya(Math.atan2(a[1],a[0]));return xc(i)},_S={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:a=>(Math.abs(a[0])+Math.abs(a[3]))/2,rotate:vc,rotateZ:vc,skewX:a=>ya(Math.atan(a[1])),skewY:a=>ya(Math.atan(a[2])),skew:a=>(Math.abs(a[1])+Math.abs(a[2]))/2},xc=a=>(a=a%360,a<0&&(a+=360),a),Up=vc,_p=a=>Math.sqrt(a[0]*a[0]+a[1]*a[1]),Hp=a=>Math.sqrt(a[4]*a[4]+a[5]*a[5]),HS={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:_p,scaleY:Hp,scale:a=>(_p(a)+Hp(a))/2,rotateX:a=>xc(ya(Math.atan2(a[6],a[5]))),rotateY:a=>xc(ya(Math.atan2(-a[2],a[0]))),rotateZ:Up,rotate:Up,skewX:a=>ya(Math.atan(a[4])),skewY:a=>ya(Math.atan(a[1])),skew:a=>(Math.abs(a[1])+Math.abs(a[4]))/2};function bc(a){return a.includes("scale")?1:0}function Sc(a,i){if(!a||a==="none")return bc(i);const s=a.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let r,u;if(s)r=HS,u=s;else{const y=a.match(/^matrix\(([-\d.e\s,]+)\)$/u);r=_S,u=y}if(!u)return bc(i);const d=r[i],f=u[1].split(",").map(YS);return typeof d=="function"?d(f):f[d]}const qS=(a,i)=>{const{transform:s="none"}=getComputedStyle(a);return Sc(s,i)};function YS(a){return parseFloat(a.trim())}const gi=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],yi=new Set(gi),qp=a=>a===pi||a===it,PS=new Set(["x","y","z"]),GS=gi.filter(a=>!PS.has(a));function kS(a){const i=[];return GS.forEach(s=>{const r=a.getValue(s);r!==void 0&&(i.push([s,r.get()]),r.set(s.startsWith("scale")?1:0))}),i}const xa={width:({x:a},{paddingLeft:i="0",paddingRight:s="0"})=>a.max-a.min-parseFloat(i)-parseFloat(s),height:({y:a},{paddingTop:i="0",paddingBottom:s="0"})=>a.max-a.min-parseFloat(i)-parseFloat(s),top:(a,{top:i})=>parseFloat(i),left:(a,{left:i})=>parseFloat(i),bottom:({y:a},{top:i})=>parseFloat(i)+(a.max-a.min),right:({x:a},{left:i})=>parseFloat(i)+(a.max-a.min),x:(a,{transform:i})=>Sc(i,"x"),y:(a,{transform:i})=>Sc(i,"y")};xa.translateX=xa.x;xa.translateY=xa.y;const ba=new Set;let Tc=!1,jc=!1,Ec=!1;function Py(){if(jc){const a=Array.from(ba).filter(r=>r.needsMeasurement),i=new Set(a.map(r=>r.element)),s=new Map;i.forEach(r=>{const u=kS(r);u.length&&(s.set(r,u),r.render())}),a.forEach(r=>r.measureInitialState()),i.forEach(r=>{r.render();const u=s.get(r);u&&u.forEach(([d,f])=>{r.getValue(d)?.set(f)})}),a.forEach(r=>r.measureEndState()),a.forEach(r=>{r.suspendedScrollY!==void 0&&window.scrollTo(0,r.suspendedScrollY)})}jc=!1,Tc=!1,ba.forEach(a=>a.complete(Ec)),ba.clear()}function Gy(){ba.forEach(a=>{a.readKeyframes(),a.needsMeasurement&&(jc=!0)})}function XS(){Ec=!0,Gy(),Py(),Ec=!1}class sf{constructor(i,s,r,u,d,f=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...i],this.onComplete=s,this.name=r,this.motionValue=u,this.element=d,this.isAsync=f}scheduleResolve(){this.state="scheduled",this.isAsync?(ba.add(this),Tc||(Tc=!0,Dt.read(Gy),Dt.resolveKeyframes(Py))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:i,name:s,element:r,motionValue:u}=this;if(i[0]===null){const d=u?.get(),f=i[i.length-1];if(d!==void 0)i[0]=d;else if(r&&s){const y=r.readValue(s,f);y!=null&&(i[0]=y)}i[0]===void 0&&(i[0]=f),u&&d===void 0&&u.set(i[0])}US(i)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(i=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,i),ba.delete(this)}cancel(){this.state==="scheduled"&&(ba.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}}const KS=a=>a.startsWith("--");function QS(a,i,s){KS(i)?a.style.setProperty(i,s):a.style[i]=s}const ZS=Kc(()=>window.ScrollTimeline!==void 0),FS={};function JS(a,i){const s=Kc(a);return()=>FS[i]??s()}const ky=JS(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),bl=([a,i,s,r])=>`cubic-bezier(${a}, ${i}, ${s}, ${r})`,Yp={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:bl([0,.65,.55,1]),circOut:bl([.55,0,1,.45]),backIn:bl([.31,.01,.66,-.59]),backOut:bl([.33,1.53,.69,.99])};function Xy(a,i){if(a)return typeof a=="function"?ky()?Hy(a,i):"ease-out":Cy(a)?bl(a):Array.isArray(a)?a.map(s=>Xy(s,i)||Yp.easeOut):Yp[a]}function $S(a,i,s,{delay:r=0,duration:u=300,repeat:d=0,repeatType:f="loop",ease:y="easeOut",times:m}={},p=void 0){const v={[i]:s};m&&(v.offset=m);const b=Xy(y,u);Array.isArray(b)&&(v.easing=b);const S={delay:r,duration:u,easing:Array.isArray(b)?"linear":b,fill:"both",iterations:d+1,direction:f==="reverse"?"alternate":"normal"};return p&&(S.pseudoElement=p),a.animate(v,S)}function Ky(a){return typeof a=="function"&&"applyToOptions"in a}function WS({type:a,...i}){return Ky(a)&&ky()?a.applyToOptions(i):(i.duration??(i.duration=300),i.ease??(i.ease="easeOut"),i)}class IS extends af{constructor(i){if(super(),this.finishedTime=null,this.isStopped=!1,!i)return;const{element:s,name:r,keyframes:u,pseudoElement:d,allowFlatten:f=!1,finalKeyframe:y,onComplete:m}=i;this.isPseudoElement=!!d,this.allowFlatten=f,this.options=i,Xc(typeof i.type!="string");const p=WS(i);this.animation=$S(s,r,u,p,d),p.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!d){const v=nf(u,this.options,y,this.speed);this.updateMotionValue?this.updateMotionValue(v):QS(s,r,v),this.animation.cancel()}m?.(),this.notifyFinished()}}play(){this.isStopped||(this.animation.play(),this.state==="finished"&&this.updateFinished())}pause(){this.animation.pause()}complete(){this.animation.finish?.()}cancel(){try{this.animation.cancel()}catch{}}stop(){if(this.isStopped)return;this.isStopped=!0;const{state:i}=this;i==="idle"||i==="finished"||(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){this.isPseudoElement||this.animation.commitStyles?.()}get duration(){const i=this.animation.effect?.getComputedTiming?.().duration||0;return Ze(Number(i))}get time(){return Ze(Number(this.animation.currentTime)||0)}set time(i){this.finishedTime=null,this.animation.currentTime=Qe(i)}get speed(){return this.animation.playbackRate}set speed(i){i<0&&(this.finishedTime=null),this.animation.playbackRate=i}get state(){return this.finishedTime!==null?"finished":this.animation.playState}get startTime(){return Number(this.animation.startTime)}set startTime(i){this.animation.startTime=i}attachTimeline({timeline:i,observe:s}){return this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,i&&ZS()?(this.animation.timeline=i,Le):s(this)}}const Qy={anticipate:Ay,backInOut:Ey,circInOut:Ry};function t3(a){return a in Qy}function e3(a){typeof a.ease=="string"&&t3(a.ease)&&(a.ease=Qy[a.ease])}const Pp=10;class n3 extends IS{constructor(i){e3(i),Yy(i),super(i),i.startTime&&(this.startTime=i.startTime),this.options=i}updateMotionValue(i){const{motionValue:s,onUpdate:r,onComplete:u,element:d,...f}=this.options;if(!s)return;if(i!==void 0){s.set(i);return}const y=new lf({...f,autoplay:!1}),m=Qe(this.finishedTime??this.time);s.setWithVelocity(y.sample(m-Pp).value,y.sample(m).value,Pp),y.stop()}}const Gp=(a,i)=>i==="zIndex"?!1:!!(typeof a=="number"||Array.isArray(a)||typeof a=="string"&&(Zn.test(a)||a==="0")&&!a.startsWith("url("));function a3(a){const i=a[0];if(a.length===1)return!0;for(let s=0;s<a.length;s++)if(a[s]!==i)return!0}function i3(a,i,s,r){const u=a[0];if(u===null)return!1;if(i==="display"||i==="visibility")return!0;const d=a[a.length-1],f=Gp(u,i),y=Gp(d,i);return!f||!y?!1:a3(a)||(s==="spring"||Ky(s))&&r}const l3=new Set(["opacity","clipPath","filter","transform"]),s3=Kc(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function r3(a){const{motionValue:i,name:s,repeatDelay:r,repeatType:u,damping:d,type:f}=a;if(!(i?.owner?.current instanceof HTMLElement))return!1;const{onUpdate:m,transformTemplate:p}=i.owner.getProps();return s3()&&s&&l3.has(s)&&(s!=="transform"||!p)&&!m&&!r&&u!=="mirror"&&d!==0&&f!=="inertia"}const o3=40;class u3 extends af{constructor({autoplay:i=!0,delay:s=0,type:r="keyframes",repeat:u=0,repeatDelay:d=0,repeatType:f="loop",keyframes:y,name:m,motionValue:p,element:v,...b}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=he.now();const S={autoplay:i,delay:s,type:r,repeat:u,repeatDelay:d,repeatType:f,name:m,motionValue:p,element:v,...b},R=v?.KeyframeResolver||sf;this.keyframeResolver=new R(y,(N,z,_)=>this.onKeyframesResolved(N,z,S,!_),m,p,v),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(i,s,r,u){this.keyframeResolver=void 0;const{name:d,type:f,velocity:y,delay:m,isHandoff:p,onUpdate:v}=r;this.resolvedAt=he.now(),i3(i,d,f,y)||((xn.instantAnimations||!m)&&v?.(nf(i,r,s)),i[0]=i[i.length-1],r.duration=0,r.repeat=0);const S={startTime:u?this.resolvedAt?this.resolvedAt-this.createdAt>o3?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:s,...r,keyframes:i},R=!p&&r3(S)?new n3({...S,element:S.motionValue.owner.current}):new lf(S);R.finished.then(()=>this.notifyFinished()).catch(Le),this.pendingTimeline&&(this.stopTimeline=R.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=R}get finished(){return this._animation?this.animation.finished:this._finished}then(i,s){return this.finished.finally(i).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),XS()),this._animation}get duration(){return this.animation.duration}get time(){return this.animation.time}set time(i){this.animation.time=i}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(i){this.animation.speed=i}get startTime(){return this.animation.startTime}attachTimeline(i){return this._animation?this.stopTimeline=this.animation.attachTimeline(i):this.pendingTimeline=i,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}}const c3=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function f3(a){const i=c3.exec(a);if(!i)return[,];const[,s,r,u]=i;return[`--${s??r}`,u]}function Zy(a,i,s=1){const[r,u]=f3(a);if(!r)return;const d=window.getComputedStyle(i).getPropertyValue(r);if(d){const f=d.trim();return gy(f)?parseFloat(f):f}return $c(u)?Zy(u,i,s+1):u}function rf(a,i){return a?.[i]??a?.default??a}const Fy=new Set(["width","height","top","left","right","bottom",...gi]),d3={test:a=>a==="auto",parse:a=>a},Jy=a=>i=>i.test(a),$y=[pi,it,Fe,Kn,aS,nS,d3],kp=a=>$y.find(Jy(a));function h3(a){return typeof a=="number"?a===0:a!==null?a==="none"||a==="0"||vy(a):!0}const m3=new Set(["brightness","contrast","saturate","opacity"]);function p3(a){const[i,s]=a.slice(0,-1).split("(");if(i==="drop-shadow")return a;const[r]=s.match(Wc)||[];if(!r)return a;const u=s.replace(r,"");let d=m3.has(i)?1:0;return r!==s&&(d*=100),i+"("+d+u+")"}const g3=/\b([a-z-]*)\(.*?\)/gu,Ac={...Zn,getAnimatableNone:a=>{const i=a.match(g3);return i?i.map(p3).join(" "):a}},Xp={...pi,transform:Math.round},y3={rotate:Kn,rotateX:Kn,rotateY:Kn,rotateZ:Kn,scale:lr,scaleX:lr,scaleY:lr,scaleZ:lr,skew:Kn,skewX:Kn,skewY:Kn,distance:it,translateX:it,translateY:it,translateZ:it,x:it,y:it,z:it,perspective:it,transformPerspective:it,opacity:Dl,originX:Op,originY:Op,originZ:it},of={borderWidth:it,borderTopWidth:it,borderRightWidth:it,borderBottomWidth:it,borderLeftWidth:it,borderRadius:it,radius:it,borderTopLeftRadius:it,borderTopRightRadius:it,borderBottomRightRadius:it,borderBottomLeftRadius:it,width:it,maxWidth:it,height:it,maxHeight:it,top:it,right:it,bottom:it,left:it,padding:it,paddingTop:it,paddingRight:it,paddingBottom:it,paddingLeft:it,margin:it,marginTop:it,marginRight:it,marginBottom:it,marginLeft:it,backgroundPositionX:it,backgroundPositionY:it,...y3,zIndex:Xp,fillOpacity:Dl,strokeOpacity:Dl,numOctaves:Xp},v3={...of,color:Yt,backgroundColor:Yt,outlineColor:Yt,fill:Yt,stroke:Yt,borderColor:Yt,borderTopColor:Yt,borderRightColor:Yt,borderBottomColor:Yt,borderLeftColor:Yt,filter:Ac,WebkitFilter:Ac},Wy=a=>v3[a];function Iy(a,i){let s=Wy(a);return s!==Ac&&(s=Zn),s.getAnimatableNone?s.getAnimatableNone(i):void 0}const x3=new Set(["auto","none","0"]);function b3(a,i,s){let r=0,u;for(;r<a.length&&!u;){const d=a[r];typeof d=="string"&&!x3.has(d)&&Cl(d).values.length&&(u=a[r]),r++}if(u&&s)for(const d of i)a[d]=Iy(s,u)}class S3 extends sf{constructor(i,s,r,u,d){super(i,s,r,u,d,!0)}readKeyframes(){const{unresolvedKeyframes:i,element:s,name:r}=this;if(!s||!s.current)return;super.readKeyframes();for(let m=0;m<i.length;m++){let p=i[m];if(typeof p=="string"&&(p=p.trim(),$c(p))){const v=Zy(p,s.current);v!==void 0&&(i[m]=v),m===i.length-1&&(this.finalKeyframe=p)}}if(this.resolveNoneKeyframes(),!Fy.has(r)||i.length!==2)return;const[u,d]=i,f=kp(u),y=kp(d);if(f!==y)if(qp(f)&&qp(y))for(let m=0;m<i.length;m++){const p=i[m];typeof p=="string"&&(i[m]=parseFloat(p))}else xa[r]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:i,name:s}=this,r=[];for(let u=0;u<i.length;u++)(i[u]===null||h3(i[u]))&&r.push(u);r.length&&b3(i,r,s)}measureInitialState(){const{element:i,unresolvedKeyframes:s,name:r}=this;if(!i||!i.current)return;r==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=xa[r](i.measureViewportBox(),window.getComputedStyle(i.current)),s[0]=this.measuredOrigin;const u=s[s.length-1];u!==void 0&&i.getValue(r,u).jump(u,!1)}measureEndState(){const{element:i,name:s,unresolvedKeyframes:r}=this;if(!i||!i.current)return;const u=i.getValue(s);u&&u.jump(this.measuredOrigin,!1);const d=r.length-1,f=r[d];r[d]=xa[s](i.measureViewportBox(),window.getComputedStyle(i.current)),f!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=f),this.removedTransforms?.length&&this.removedTransforms.forEach(([y,m])=>{i.getValue(y).set(m)}),this.resolveNoneKeyframes()}}function T3(a,i,s){if(a instanceof EventTarget)return[a];if(typeof a=="string"){let r=document;const u=s?.[a]??r.querySelectorAll(a);return u?Array.from(u):[]}return Array.from(a)}const t0=(a,i)=>i&&typeof a=="number"?i.transform(a):a;function e0(a){return yy(a)&&"offsetHeight"in a}const Kp=30,j3=a=>!isNaN(parseFloat(a));class E3{constructor(i,s={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=(r,u=!0)=>{const d=he.now();if(this.updatedAt!==d&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(r),this.current!==this.prev&&(this.events.change?.notify(this.current),this.dependents))for(const f of this.dependents)f.dirty();u&&this.events.renderRequest?.notify(this.current)},this.hasAnimated=!1,this.setCurrent(i),this.owner=s.owner}setCurrent(i){this.current=i,this.updatedAt=he.now(),this.canTrackVelocity===null&&i!==void 0&&(this.canTrackVelocity=j3(this.current))}setPrevFrameValue(i=this.current){this.prevFrameValue=i,this.prevUpdatedAt=this.updatedAt}onChange(i){return this.on("change",i)}on(i,s){this.events[i]||(this.events[i]=new Qc);const r=this.events[i].add(s);return i==="change"?()=>{r(),Dt.read(()=>{this.events.change.getSize()||this.stop()})}:r}clearListeners(){for(const i in this.events)this.events[i].clear()}attach(i,s){this.passiveEffect=i,this.stopPassiveEffect=s}set(i,s=!0){!s||!this.passiveEffect?this.updateAndNotify(i,s):this.passiveEffect(i,this.updateAndNotify)}setWithVelocity(i,s,r){this.set(s),this.prev=void 0,this.prevFrameValue=i,this.prevUpdatedAt=this.updatedAt-r}jump(i,s=!0){this.updateAndNotify(i),this.prev=i,this.prevUpdatedAt=this.prevFrameValue=void 0,s&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){this.events.change?.notify(this.current)}addDependent(i){this.dependents||(this.dependents=new Set),this.dependents.add(i)}removeDependent(i){this.dependents&&this.dependents.delete(i)}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const i=he.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||i-this.updatedAt>Kp)return 0;const s=Math.min(this.updatedAt-this.prevUpdatedAt,Kp);return xy(parseFloat(this.current)-parseFloat(this.prevFrameValue),s)}start(i){return this.stop(),new Promise(s=>{this.hasAnimated=!0,this.animation=i(s),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.dependents?.clear(),this.events.destroy?.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function fi(a,i){return new E3(a,i)}const{schedule:uf}=wy(queueMicrotask,!1),He={x:!1,y:!1};function n0(){return He.x||He.y}function A3(a){return a==="x"||a==="y"?He[a]?null:(He[a]=!0,()=>{He[a]=!1}):He.x||He.y?null:(He.x=He.y=!0,()=>{He.x=He.y=!1})}function a0(a,i){const s=T3(a),r=new AbortController,u={passive:!0,...i,signal:r.signal};return[s,u,()=>r.abort()]}function Qp(a){return!(a.pointerType==="touch"||n0())}function M3(a,i,s={}){const[r,u,d]=a0(a,s),f=y=>{if(!Qp(y))return;const{target:m}=y,p=i(m,y);if(typeof p!="function"||!m)return;const v=b=>{Qp(b)&&(p(b),m.removeEventListener("pointerleave",v))};m.addEventListener("pointerleave",v,u)};return r.forEach(y=>{y.addEventListener("pointerenter",f,u)}),d}const i0=(a,i)=>i?a===i?!0:i0(a,i.parentElement):!1,cf=a=>a.pointerType==="mouse"?typeof a.button!="number"||a.button<=0:a.isPrimary!==!1,R3=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function D3(a){return R3.has(a.tagName)||a.tabIndex!==-1}const fr=new WeakSet;function Zp(a){return i=>{i.key==="Enter"&&a(i)}}function ac(a,i){a.dispatchEvent(new PointerEvent("pointer"+i,{isPrimary:!0,bubbles:!0}))}const C3=(a,i)=>{const s=a.currentTarget;if(!s)return;const r=Zp(()=>{if(fr.has(s))return;ac(s,"down");const u=Zp(()=>{ac(s,"up")}),d=()=>ac(s,"cancel");s.addEventListener("keyup",u,i),s.addEventListener("blur",d,i)});s.addEventListener("keydown",r,i),s.addEventListener("blur",()=>s.removeEventListener("keydown",r),i)};function Fp(a){return cf(a)&&!n0()}function w3(a,i,s={}){const[r,u,d]=a0(a,s),f=y=>{const m=y.currentTarget;if(!Fp(y))return;fr.add(m);const p=i(m,y),v=(R,N)=>{window.removeEventListener("pointerup",b),window.removeEventListener("pointercancel",S),fr.has(m)&&fr.delete(m),Fp(R)&&typeof p=="function"&&p(R,{success:N})},b=R=>{v(R,m===window||m===document||s.useGlobalTarget||i0(m,R.target))},S=R=>{v(R,!1)};window.addEventListener("pointerup",b,u),window.addEventListener("pointercancel",S,u)};return r.forEach(y=>{(s.useGlobalTarget?window:y).addEventListener("pointerdown",f,u),e0(y)&&(y.addEventListener("focus",p=>C3(p,u)),!D3(y)&&!y.hasAttribute("tabindex")&&(y.tabIndex=0))}),d}function l0(a){return yy(a)&&"ownerSVGElement"in a}function N3(a){return l0(a)&&a.tagName==="svg"}const ae=a=>!!(a&&a.getVelocity),O3=[...$y,Yt,Zn],V3=a=>O3.find(Jy(a)),ff=j.createContext({transformPagePoint:a=>a,isStatic:!1,reducedMotion:"never"});class z3 extends j.Component{getSnapshotBeforeUpdate(i){const s=this.props.childRef.current;if(s&&i.isPresent&&!this.props.isPresent){const r=s.offsetParent,u=e0(r)&&r.offsetWidth||0,d=this.props.sizeRef.current;d.height=s.offsetHeight||0,d.width=s.offsetWidth||0,d.top=s.offsetTop,d.left=s.offsetLeft,d.right=u-d.width-d.left}return null}componentDidUpdate(){}render(){return this.props.children}}function L3({children:a,isPresent:i,anchorX:s,root:r}){const u=j.useId(),d=j.useRef(null),f=j.useRef({width:0,height:0,top:0,left:0,right:0}),{nonce:y}=j.useContext(ff);return j.useInsertionEffect(()=>{const{width:m,height:p,top:v,left:b,right:S}=f.current;if(i||!d.current||!m||!p)return;const R=s==="left"?`left: ${b}`:`right: ${S}`;d.current.dataset.motionPopId=u;const N=document.createElement("style");y&&(N.nonce=y);const z=r??document.head;return z.appendChild(N),N.sheet&&N.sheet.insertRule(`
          [data-motion-pop-id="${u}"] {
            position: absolute !important;
            width: ${m}px !important;
            height: ${p}px !important;
            ${R}px !important;
            top: ${v}px !important;
          }
        `),()=>{z.removeChild(N),z.contains(N)&&z.removeChild(N)}},[i]),h.jsx(z3,{isPresent:i,childRef:d,sizeRef:f,children:j.cloneElement(a,{ref:d})})}const B3=({children:a,initial:i,isPresent:s,onExitComplete:r,custom:u,presenceAffectsLayout:d,mode:f,anchorX:y,root:m})=>{const p=Yc(U3),v=j.useId();let b=!0,S=j.useMemo(()=>(b=!1,{id:v,initial:i,isPresent:s,custom:u,onExitComplete:R=>{p.set(R,!0);for(const N of p.values())if(!N)return;r&&r()},register:R=>(p.set(R,!1),()=>p.delete(R))}),[s,p,r]);return d&&b&&(S={...S}),j.useMemo(()=>{p.forEach((R,N)=>p.set(N,!1))},[s]),j.useEffect(()=>{!s&&!p.size&&r&&r()},[s]),f==="popLayout"&&(a=h.jsx(L3,{isPresent:s,anchorX:y,root:m,children:a})),h.jsx(Er.Provider,{value:S,children:a})};function U3(){return new Map}function s0(a=!0){const i=j.useContext(Er);if(i===null)return[!0,null];const{isPresent:s,onExitComplete:r,register:u}=i,d=j.useId();j.useEffect(()=>{if(a)return u(d)},[a]);const f=j.useCallback(()=>a&&r&&r(d),[d,r,a]);return!s&&r?[!1,f]:[!0]}const sr=a=>a.key||"";function Jp(a){const i=[];return j.Children.forEach(a,s=>{j.isValidElement(s)&&i.push(s)}),i}const _3=({children:a,custom:i,initial:s=!0,onExitComplete:r,presenceAffectsLayout:u=!0,mode:d="sync",propagate:f=!1,anchorX:y="left",root:m})=>{const[p,v]=s0(f),b=j.useMemo(()=>Jp(a),[a]),S=f&&!p?[]:b.map(sr),R=j.useRef(!0),N=j.useRef(b),z=Yc(()=>new Map),[_,V]=j.useState(b),[G,q]=j.useState(b);py(()=>{R.current=!1,N.current=b;for(let W=0;W<G.length;W++){const I=sr(G[W]);S.includes(I)?z.delete(I):z.get(I)!==!0&&z.set(I,!1)}},[G,S.length,S.join("-")]);const F=[];if(b!==_){let W=[...b];for(let I=0;I<G.length;I++){const Z=G[I],st=sr(Z);S.includes(st)||(W.splice(I,0,Z),F.push(Z))}return d==="wait"&&F.length&&(W=F),q(Jp(W)),V(b),null}const{forceRender:P}=j.useContext(qc);return h.jsx(h.Fragment,{children:G.map(W=>{const I=sr(W),Z=f&&!p?!1:b===G||S.includes(I),st=()=>{if(z.has(I))z.set(I,!0);else return;let vt=!0;z.forEach(Lt=>{Lt||(vt=!1)}),vt&&(P?.(),q(N.current),f&&v?.(),r&&r())};return h.jsx(B3,{isPresent:Z,initial:!R.current||s?void 0:!1,custom:i,presenceAffectsLayout:u,mode:d,root:m,onExitComplete:Z?void 0:st,anchorX:y,children:W},I)})})},r0=j.createContext({strict:!1}),$p={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"]},di={};for(const a in $p)di[a]={isEnabled:i=>$p[a].some(s=>!!i[s])};function H3(a){for(const i in a)di[i]={...di[i],...a[i]}}const q3=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function br(a){return a.startsWith("while")||a.startsWith("drag")&&a!=="draggable"||a.startsWith("layout")||a.startsWith("onTap")||a.startsWith("onPan")||a.startsWith("onLayout")||q3.has(a)}let o0=a=>!br(a);function Y3(a){typeof a=="function"&&(o0=i=>i.startsWith("on")?!br(i):a(i))}try{Y3(require("@emotion/is-prop-valid").default)}catch{}function P3(a,i,s){const r={};for(const u in a)u==="values"&&typeof a.values=="object"||(o0(u)||s===!0&&br(u)||!i&&!br(u)||a.draggable&&u.startsWith("onDrag"))&&(r[u]=a[u]);return r}const Ar=j.createContext({});function Mr(a){return a!==null&&typeof a=="object"&&typeof a.start=="function"}function wl(a){return typeof a=="string"||Array.isArray(a)}const df=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],hf=["initial",...df];function Rr(a){return Mr(a.animate)||hf.some(i=>wl(a[i]))}function u0(a){return!!(Rr(a)||a.variants)}function G3(a,i){if(Rr(a)){const{initial:s,animate:r}=a;return{initial:s===!1||wl(s)?s:void 0,animate:wl(r)?r:void 0}}return a.inherit!==!1?i:{}}function k3(a){const{initial:i,animate:s}=G3(a,j.useContext(Ar));return j.useMemo(()=>({initial:i,animate:s}),[Wp(i),Wp(s)])}function Wp(a){return Array.isArray(a)?a.join(" "):a}const Nl={};function X3(a){for(const i in a)Nl[i]=a[i],Jc(i)&&(Nl[i].isCSSVariable=!0)}function c0(a,{layout:i,layoutId:s}){return yi.has(a)||a.startsWith("origin")||(i||s!==void 0)&&(!!Nl[a]||a==="opacity")}const K3={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},Q3=gi.length;function Z3(a,i,s){let r="",u=!0;for(let d=0;d<Q3;d++){const f=gi[d],y=a[f];if(y===void 0)continue;let m=!0;if(typeof y=="number"?m=y===(f.startsWith("scale")?1:0):m=parseFloat(y)===0,!m||s){const p=t0(y,of[f]);if(!m){u=!1;const v=K3[f]||f;r+=`${v}(${p}) `}s&&(i[f]=p)}}return r=r.trim(),s?r=s(i,u?"":r):u&&(r="none"),r}function mf(a,i,s){const{style:r,vars:u,transformOrigin:d}=a;let f=!1,y=!1;for(const m in i){const p=i[m];if(yi.has(m)){f=!0;continue}else if(Jc(m)){u[m]=p;continue}else{const v=t0(p,of[m]);m.startsWith("origin")?(y=!0,d[m]=v):r[m]=v}}if(i.transform||(f||s?r.transform=Z3(i,a.transform,s):r.transform&&(r.transform="none")),y){const{originX:m="50%",originY:p="50%",originZ:v=0}=d;r.transformOrigin=`${m} ${p} ${v}`}}const pf=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function f0(a,i,s){for(const r in i)!ae(i[r])&&!c0(r,s)&&(a[r]=i[r])}function F3({transformTemplate:a},i){return j.useMemo(()=>{const s=pf();return mf(s,i,a),Object.assign({},s.vars,s.style)},[i])}function J3(a,i){const s=a.style||{},r={};return f0(r,s,a),Object.assign(r,F3(a,i)),r}function $3(a,i){const s={},r=J3(a,i);return a.drag&&a.dragListener!==!1&&(s.draggable=!1,r.userSelect=r.WebkitUserSelect=r.WebkitTouchCallout="none",r.touchAction=a.drag===!0?"none":`pan-${a.drag==="x"?"y":"x"}`),a.tabIndex===void 0&&(a.onTap||a.onTapStart||a.whileTap)&&(s.tabIndex=0),s.style=r,s}const W3={offset:"stroke-dashoffset",array:"stroke-dasharray"},I3={offset:"strokeDashoffset",array:"strokeDasharray"};function t4(a,i,s=1,r=0,u=!0){a.pathLength=1;const d=u?W3:I3;a[d.offset]=it.transform(-r);const f=it.transform(i),y=it.transform(s);a[d.array]=`${f} ${y}`}function d0(a,{attrX:i,attrY:s,attrScale:r,pathLength:u,pathSpacing:d=1,pathOffset:f=0,...y},m,p,v){if(mf(a,y,p),m){a.style.viewBox&&(a.attrs.viewBox=a.style.viewBox);return}a.attrs=a.style,a.style={};const{attrs:b,style:S}=a;b.transform&&(S.transform=b.transform,delete b.transform),(S.transform||b.transformOrigin)&&(S.transformOrigin=b.transformOrigin??"50% 50%",delete b.transformOrigin),S.transform&&(S.transformBox=v?.transformBox??"fill-box",delete b.transformBox),i!==void 0&&(b.x=i),s!==void 0&&(b.y=s),r!==void 0&&(b.scale=r),u!==void 0&&t4(b,u,d,f,!1)}const h0=()=>({...pf(),attrs:{}}),m0=a=>typeof a=="string"&&a.toLowerCase()==="svg";function e4(a,i,s,r){const u=j.useMemo(()=>{const d=h0();return d0(d,i,m0(r),a.transformTemplate,a.style),{...d.attrs,style:{...d.style}}},[i]);if(a.style){const d={};f0(d,a.style,a),u.style={...d,...u.style}}return u}const n4=["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 gf(a){return typeof a!="string"||a.includes("-")?!1:!!(n4.indexOf(a)>-1||/[A-Z]/u.test(a))}function a4(a,i,s,{latestValues:r},u,d=!1){const y=(gf(a)?e4:$3)(i,r,u,a),m=P3(i,typeof a=="string",d),p=a!==j.Fragment?{...m,...y,ref:s}:{},{children:v}=i,b=j.useMemo(()=>ae(v)?v.get():v,[v]);return j.createElement(a,{...p,children:b})}function Ip(a){const i=[{},{}];return a?.values.forEach((s,r)=>{i[0][r]=s.get(),i[1][r]=s.getVelocity()}),i}function yf(a,i,s,r){if(typeof i=="function"){const[u,d]=Ip(r);i=i(s!==void 0?s:a.custom,u,d)}if(typeof i=="string"&&(i=a.variants&&a.variants[i]),typeof i=="function"){const[u,d]=Ip(r);i=i(s!==void 0?s:a.custom,u,d)}return i}function dr(a){return ae(a)?a.get():a}function i4({scrapeMotionValuesFromProps:a,createRenderState:i},s,r,u){return{latestValues:l4(s,r,u,a),renderState:i()}}function l4(a,i,s,r){const u={},d=r(a,{});for(const S in d)u[S]=dr(d[S]);let{initial:f,animate:y}=a;const m=Rr(a),p=u0(a);i&&p&&!m&&a.inherit!==!1&&(f===void 0&&(f=i.initial),y===void 0&&(y=i.animate));let v=s?s.initial===!1:!1;v=v||f===!1;const b=v?y:f;if(b&&typeof b!="boolean"&&!Mr(b)){const S=Array.isArray(b)?b:[b];for(let R=0;R<S.length;R++){const N=yf(a,S[R]);if(N){const{transitionEnd:z,transition:_,...V}=N;for(const G in V){let q=V[G];if(Array.isArray(q)){const F=v?q.length-1:0;q=q[F]}q!==null&&(u[G]=q)}for(const G in z)u[G]=z[G]}}}return u}const p0=a=>(i,s)=>{const r=j.useContext(Ar),u=j.useContext(Er),d=()=>i4(a,i,r,u);return s?d():Yc(d)};function vf(a,i,s){const{style:r}=a,u={};for(const d in r)(ae(r[d])||i.style&&ae(i.style[d])||c0(d,a)||s?.getValue(d)?.liveStyle!==void 0)&&(u[d]=r[d]);return u}const s4=p0({scrapeMotionValuesFromProps:vf,createRenderState:pf});function g0(a,i,s){const r=vf(a,i,s);for(const u in a)if(ae(a[u])||ae(i[u])){const d=gi.indexOf(u)!==-1?"attr"+u.charAt(0).toUpperCase()+u.substring(1):u;r[d]=a[u]}return r}const r4=p0({scrapeMotionValuesFromProps:g0,createRenderState:h0}),o4=Symbol.for("motionComponentSymbol");function ri(a){return a&&typeof a=="object"&&Object.prototype.hasOwnProperty.call(a,"current")}function u4(a,i,s){return j.useCallback(r=>{r&&a.onMount&&a.onMount(r),i&&(r?i.mount(r):i.unmount()),s&&(typeof s=="function"?s(r):ri(s)&&(s.current=r))},[i])}const xf=a=>a.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),c4="framerAppearId",y0="data-"+xf(c4),v0=j.createContext({});function f4(a,i,s,r,u){const{visualElement:d}=j.useContext(Ar),f=j.useContext(r0),y=j.useContext(Er),m=j.useContext(ff).reducedMotion,p=j.useRef(null);r=r||f.renderer,!p.current&&r&&(p.current=r(a,{visualState:i,parent:d,props:s,presenceContext:y,blockInitialAnimation:y?y.initial===!1:!1,reducedMotionConfig:m}));const v=p.current,b=j.useContext(v0);v&&!v.projection&&u&&(v.type==="html"||v.type==="svg")&&d4(p.current,s,u,b);const S=j.useRef(!1);j.useInsertionEffect(()=>{v&&S.current&&v.update(s,y)});const R=s[y0],N=j.useRef(!!R&&!window.MotionHandoffIsComplete?.(R)&&window.MotionHasOptimisedAnimation?.(R));return py(()=>{v&&(S.current=!0,window.MotionIsMounted=!0,v.updateFeatures(),v.scheduleRenderMicrotask(),N.current&&v.animationState&&v.animationState.animateChanges())}),j.useEffect(()=>{v&&(!N.current&&v.animationState&&v.animationState.animateChanges(),N.current&&(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(R)}),N.current=!1))}),v}function d4(a,i,s,r){const{layoutId:u,layout:d,drag:f,dragConstraints:y,layoutScroll:m,layoutRoot:p,layoutCrossfade:v}=i;a.projection=new s(a.latestValues,i["data-framer-portal-id"]?void 0:x0(a.parent)),a.projection.setOptions({layoutId:u,layout:d,alwaysMeasureLayout:!!f||y&&ri(y),visualElement:a,animationType:typeof d=="string"?d:"both",initialPromotionConfig:r,crossfade:v,layoutScroll:m,layoutRoot:p})}function x0(a){if(a)return a.options.allowProjection!==!1?a.projection:x0(a.parent)}function ic(a,{forwardMotionProps:i=!1}={},s,r){s&&H3(s);const u=gf(a)?r4:s4;function d(y,m){let p;const v={...j.useContext(ff),...y,layoutId:h4(y)},{isStatic:b}=v,S=k3(y),R=u(y,b);if(!b&&Pc){m4();const N=p4(v);p=N.MeasureLayout,S.visualElement=f4(a,R,v,r,N.ProjectionNode)}return h.jsxs(Ar.Provider,{value:S,children:[p&&S.visualElement?h.jsx(p,{visualElement:S.visualElement,...v}):null,a4(a,y,u4(R,S.visualElement,m),R,b,i)]})}d.displayName=`motion.${typeof a=="string"?a:`create(${a.displayName??a.name??""})`}`;const f=j.forwardRef(d);return f[o4]=a,f}function h4({layoutId:a}){const i=j.useContext(qc).id;return i&&a!==void 0?i+"-"+a:a}function m4(a,i){j.useContext(r0).strict}function p4(a){const{drag:i,layout:s}=di;if(!i&&!s)return{};const r={...i,...s};return{MeasureLayout:i?.isEnabled(a)||s?.isEnabled(a)?r.MeasureLayout:void 0,ProjectionNode:r.ProjectionNode}}function g4(a,i){if(typeof Proxy>"u")return ic;const s=new Map,r=(d,f)=>ic(d,f,a,i),u=(d,f)=>r(d,f);return new Proxy(u,{get:(d,f)=>f==="create"?r:(s.has(f)||s.set(f,ic(f,void 0,a,i)),s.get(f))})}function b0({top:a,left:i,right:s,bottom:r}){return{x:{min:i,max:s},y:{min:a,max:r}}}function y4({x:a,y:i}){return{top:i.min,right:a.max,bottom:i.max,left:a.min}}function v4(a,i){if(!i)return a;const s=i({x:a.left,y:a.top}),r=i({x:a.right,y:a.bottom});return{top:s.y,left:s.x,bottom:r.y,right:r.x}}function lc(a){return a===void 0||a===1}function Mc({scale:a,scaleX:i,scaleY:s}){return!lc(a)||!lc(i)||!lc(s)}function pa(a){return Mc(a)||S0(a)||a.z||a.rotate||a.rotateX||a.rotateY||a.skewX||a.skewY}function S0(a){return tg(a.x)||tg(a.y)}function tg(a){return a&&a!=="0%"}function Sr(a,i,s){const r=a-s,u=i*r;return s+u}function eg(a,i,s,r,u){return u!==void 0&&(a=Sr(a,u,r)),Sr(a,s,r)+i}function Rc(a,i=0,s=1,r,u){a.min=eg(a.min,i,s,r,u),a.max=eg(a.max,i,s,r,u)}function T0(a,{x:i,y:s}){Rc(a.x,i.translate,i.scale,i.originPoint),Rc(a.y,s.translate,s.scale,s.originPoint)}const ng=.999999999999,ag=1.0000000000001;function x4(a,i,s,r=!1){const u=s.length;if(!u)return;i.x=i.y=1;let d,f;for(let y=0;y<u;y++){d=s[y],f=d.projectionDelta;const{visualElement:m}=d.options;m&&m.props.style&&m.props.style.display==="contents"||(r&&d.options.layoutScroll&&d.scroll&&d!==d.root&&ui(a,{x:-d.scroll.offset.x,y:-d.scroll.offset.y}),f&&(i.x*=f.x.scale,i.y*=f.y.scale,T0(a,f)),r&&pa(d.latestValues)&&ui(a,d.latestValues))}i.x<ag&&i.x>ng&&(i.x=1),i.y<ag&&i.y>ng&&(i.y=1)}function oi(a,i){a.min=a.min+i,a.max=a.max+i}function ig(a,i,s,r,u=.5){const d=wt(a.min,a.max,u);Rc(a,i,s,d,r)}function ui(a,i){ig(a.x,i.x,i.scaleX,i.scale,i.originX),ig(a.y,i.y,i.scaleY,i.scale,i.originY)}function j0(a,i){return b0(v4(a.getBoundingClientRect(),i))}function b4(a,i,s){const r=j0(a,s),{scroll:u}=i;return u&&(oi(r.x,u.offset.x),oi(r.y,u.offset.y)),r}const lg=()=>({translate:0,scale:1,origin:0,originPoint:0}),ci=()=>({x:lg(),y:lg()}),sg=()=>({min:0,max:0}),_t=()=>({x:sg(),y:sg()}),Dc={current:null},E0={current:!1};function S4(){if(E0.current=!0,!!Pc)if(window.matchMedia){const a=window.matchMedia("(prefers-reduced-motion)"),i=()=>Dc.current=a.matches;a.addEventListener("change",i),i()}else Dc.current=!1}const T4=new WeakMap;function j4(a,i,s){for(const r in i){const u=i[r],d=s[r];if(ae(u))a.addValue(r,u);else if(ae(d))a.addValue(r,fi(u,{owner:a}));else if(d!==u)if(a.hasValue(r)){const f=a.getValue(r);f.liveStyle===!0?f.jump(u):f.hasAnimated||f.set(u)}else{const f=a.getStaticValue(r);a.addValue(r,fi(f!==void 0?f:u,{owner:a}))}}for(const r in s)i[r]===void 0&&a.removeValue(r);return i}const rg=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class E4{scrapeMotionValuesFromProps(i,s,r){return{}}constructor({parent:i,props:s,presenceContext:r,reducedMotionConfig:u,blockInitialAnimation:d,visualState:f},y={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=sf,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{const S=he.now();this.renderScheduledAt<S&&(this.renderScheduledAt=S,Dt.render(this.render,!1,!0))};const{latestValues:m,renderState:p}=f;this.latestValues=m,this.baseTarget={...m},this.initialValues=s.initial?{...m}:{},this.renderState=p,this.parent=i,this.props=s,this.presenceContext=r,this.depth=i?i.depth+1:0,this.reducedMotionConfig=u,this.options=y,this.blockInitialAnimation=!!d,this.isControllingVariants=Rr(s),this.isVariantNode=u0(s),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(i&&i.current);const{willChange:v,...b}=this.scrapeMotionValuesFromProps(s,{},this);for(const S in b){const R=b[S];m[S]!==void 0&&ae(R)&&R.set(m[S],!1)}}mount(i){this.current=i,T4.set(i,this),this.projection&&!this.projection.instance&&this.projection.mount(i),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((s,r)=>this.bindToMotionValue(r,s)),E0.current||S4(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:Dc.current,this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){this.projection&&this.projection.unmount(),Qn(this.notifyUpdate),Qn(this.render),this.valueSubscriptions.forEach(i=>i()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this);for(const i in this.events)this.events[i].clear();for(const i in this.features){const s=this.features[i];s&&(s.unmount(),s.isMounted=!1)}this.current=null}bindToMotionValue(i,s){this.valueSubscriptions.has(i)&&this.valueSubscriptions.get(i)();const r=yi.has(i);r&&this.onBindTransform&&this.onBindTransform();const u=s.on("change",y=>{this.latestValues[i]=y,this.props.onUpdate&&Dt.preRender(this.notifyUpdate),r&&this.projection&&(this.projection.isTransformDirty=!0)}),d=s.on("renderRequest",this.scheduleRender);let f;window.MotionCheckAppearSync&&(f=window.MotionCheckAppearSync(this,i,s)),this.valueSubscriptions.set(i,()=>{u(),d(),f&&f(),s.owner&&s.stop()})}sortNodePosition(i){return!this.current||!this.sortInstanceNodePosition||this.type!==i.type?0:this.sortInstanceNodePosition(this.current,i.current)}updateFeatures(){let i="animation";for(i in di){const s=di[i];if(!s)continue;const{isEnabled:r,Feature:u}=s;if(!this.features[i]&&u&&r(this.props)&&(this.features[i]=new u(this)),this.features[i]){const d=this.features[i];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):_t()}getStaticValue(i){return this.latestValues[i]}setStaticValue(i,s){this.latestValues[i]=s}update(i,s){(i.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=i,this.prevPresenceContext=this.presenceContext,this.presenceContext=s;for(let r=0;r<rg.length;r++){const u=rg[r];this.propEventSubscriptions[u]&&(this.propEventSubscriptions[u](),delete this.propEventSubscriptions[u]);const d="on"+u,f=i[d];f&&(this.propEventSubscriptions[u]=this.on(u,f))}this.prevMotionValues=j4(this,this.scrapeMotionValuesFromProps(i,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(i){return this.props.variants?this.props.variants[i]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(i){const s=this.getClosestVariantNode();if(s)return s.variantChildren&&s.variantChildren.add(i),()=>s.variantChildren.delete(i)}addValue(i,s){const r=this.values.get(i);s!==r&&(r&&this.removeValue(i),this.bindToMotionValue(i,s),this.values.set(i,s),this.latestValues[i]=s.get())}removeValue(i){this.values.delete(i);const s=this.valueSubscriptions.get(i);s&&(s(),this.valueSubscriptions.delete(i)),delete this.latestValues[i],this.removeValueFromRenderState(i,this.renderState)}hasValue(i){return this.values.has(i)}getValue(i,s){if(this.props.values&&this.props.values[i])return this.props.values[i];let r=this.values.get(i);return r===void 0&&s!==void 0&&(r=fi(s===null?void 0:s,{owner:this}),this.addValue(i,r)),r}readValue(i,s){let r=this.latestValues[i]!==void 0||!this.current?this.latestValues[i]:this.getBaseTargetFromProps(this.props,i)??this.readValueFromInstance(this.current,i,this.options);return r!=null&&(typeof r=="string"&&(gy(r)||vy(r))?r=parseFloat(r):!V3(r)&&Zn.test(s)&&(r=Iy(i,s)),this.setBaseTarget(i,ae(r)?r.get():r)),ae(r)?r.get():r}setBaseTarget(i,s){this.baseTarget[i]=s}getBaseTarget(i){const{initial:s}=this.props;let r;if(typeof s=="string"||typeof s=="object"){const d=yf(this.props,s,this.presenceContext?.custom);d&&(r=d[i])}if(s&&r!==void 0)return r;const u=this.getBaseTargetFromProps(this.props,i);return u!==void 0&&!ae(u)?u:this.initialValues[i]!==void 0&&r===void 0?void 0:this.baseTarget[i]}on(i,s){return this.events[i]||(this.events[i]=new Qc),this.events[i].add(s)}notify(i,...s){this.events[i]&&this.events[i].notify(...s)}scheduleRenderMicrotask(){uf.render(this.render)}}class A0 extends E4{constructor(){super(...arguments),this.KeyframeResolver=S3}sortInstanceNodePosition(i,s){return i.compareDocumentPosition(s)&2?1:-1}getBaseTargetFromProps(i,s){return i.style?i.style[s]:void 0}removeValueFromRenderState(i,{vars:s,style:r}){delete s[i],delete r[i]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:i}=this.props;ae(i)&&(this.childSubscription=i.on("change",s=>{this.current&&(this.current.textContent=`${s}`)}))}}function M0(a,{style:i,vars:s},r,u){const d=a.style;let f;for(f in i)d[f]=i[f];u?.applyProjectionStyles(d,r);for(f in s)d.setProperty(f,s[f])}function A4(a){return window.getComputedStyle(a)}class M4 extends A0{constructor(){super(...arguments),this.type="html",this.renderInstance=M0}readValueFromInstance(i,s){if(yi.has(s))return this.projection?.isProjecting?bc(s):qS(i,s);{const r=A4(i),u=(Jc(s)?r.getPropertyValue(s):r[s])||0;return typeof u=="string"?u.trim():u}}measureInstanceViewportBox(i,{transformPagePoint:s}){return j0(i,s)}build(i,s,r){mf(i,s,r.transformTemplate)}scrapeMotionValuesFromProps(i,s,r){return vf(i,s,r)}}const R0=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);function R4(a,i,s,r){M0(a,i,void 0,r);for(const u in i.attrs)a.setAttribute(R0.has(u)?u:xf(u),i.attrs[u])}class D4 extends A0{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=_t}getBaseTargetFromProps(i,s){return i[s]}readValueFromInstance(i,s){if(yi.has(s)){const r=Wy(s);return r&&r.default||0}return s=R0.has(s)?s:xf(s),i.getAttribute(s)}scrapeMotionValuesFromProps(i,s,r){return g0(i,s,r)}build(i,s,r){d0(i,s,this.isSVGTag,r.transformTemplate,r.style)}renderInstance(i,s,r,u){R4(i,s,r,u)}mount(i){this.isSVGTag=m0(i.tagName),super.mount(i)}}const C4=(a,i)=>gf(a)?new D4(i):new M4(i,{allowProjection:a!==j.Fragment});function Ol(a,i,s){const r=a.getProps();return yf(r,i,s!==void 0?s:r.custom,a)}const Cc=a=>Array.isArray(a);function w4(a,i,s){a.hasValue(i)?a.getValue(i).set(s):a.addValue(i,fi(s))}function N4(a){return Cc(a)?a[a.length-1]||0:a}function O4(a,i){const s=Ol(a,i);let{transitionEnd:r={},transition:u={},...d}=s||{};d={...d,...r};for(const f in d){const y=N4(d[f]);w4(a,f,y)}}function V4(a){return!!(ae(a)&&a.add)}function wc(a,i){const s=a.getValue("willChange");if(V4(s))return s.add(i);if(!s&&xn.WillChange){const r=new xn.WillChange("auto");a.addValue("willChange",r),r.add(i)}}function D0(a){return a.props[y0]}const z4=a=>a!==null;function L4(a,{repeat:i,repeatType:s="loop"},r){const u=a.filter(z4),d=i&&s!=="loop"&&i%2===1?0:u.length-1;return u[d]}const B4={type:"spring",stiffness:500,damping:25,restSpeed:10},U4=a=>({type:"spring",stiffness:550,damping:a===0?2*Math.sqrt(550):30,restSpeed:10}),_4={type:"keyframes",duration:.8},H4={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},q4=(a,{keyframes:i})=>i.length>2?_4:yi.has(a)?a.startsWith("scale")?U4(i[1]):B4:H4;function Y4({when:a,delay:i,delayChildren:s,staggerChildren:r,staggerDirection:u,repeat:d,repeatType:f,repeatDelay:y,from:m,elapsed:p,...v}){return!!Object.keys(v).length}const bf=(a,i,s,r={},u,d)=>f=>{const y=rf(r,a)||{},m=y.delay||r.delay||0;let{elapsed:p=0}=r;p=p-Qe(m);const v={keyframes:Array.isArray(s)?s:[null,s],ease:"easeOut",velocity:i.getVelocity(),...y,delay:-p,onUpdate:S=>{i.set(S),y.onUpdate&&y.onUpdate(S)},onComplete:()=>{f(),y.onComplete&&y.onComplete()},name:a,motionValue:i,element:d?void 0:u};Y4(y)||Object.assign(v,q4(a,v)),v.duration&&(v.duration=Qe(v.duration)),v.repeatDelay&&(v.repeatDelay=Qe(v.repeatDelay)),v.from!==void 0&&(v.keyframes[0]=v.from);let b=!1;if((v.type===!1||v.duration===0&&!v.repeatDelay)&&(v.duration=0,v.delay===0&&(b=!0)),(xn.instantAnimations||xn.skipAnimations)&&(b=!0,v.duration=0,v.delay=0),v.allowFlatten=!y.type&&!y.ease,b&&!d&&i.get()!==void 0){const S=L4(v.keyframes,y);if(S!==void 0){Dt.update(()=>{v.onUpdate(S),v.onComplete()});return}}return y.isSync?new lf(v):new u3(v)};function P4({protectedKeys:a,needsAnimating:i},s){const r=a.hasOwnProperty(s)&&i[s]!==!0;return i[s]=!1,r}function C0(a,i,{delay:s=0,transitionOverride:r,type:u}={}){let{transition:d=a.getDefaultTransition(),transitionEnd:f,...y}=i;r&&(d=r);const m=[],p=u&&a.animationState&&a.animationState.getState()[u];for(const v in y){const b=a.getValue(v,a.latestValues[v]??null),S=y[v];if(S===void 0||p&&P4(p,v))continue;const R={delay:s,...rf(d||{},v)},N=b.get();if(N!==void 0&&!b.isAnimating&&!Array.isArray(S)&&S===N&&!R.velocity)continue;let z=!1;if(window.MotionHandoffAnimation){const V=D0(a);if(V){const G=window.MotionHandoffAnimation(V,v,Dt);G!==null&&(R.startTime=G,z=!0)}}wc(a,v),b.start(bf(v,b,S,a.shouldReduceMotion&&Fy.has(v)?{type:!1}:R,a,z));const _=b.animation;_&&m.push(_)}return f&&Promise.all(m).then(()=>{Dt.update(()=>{f&&O4(a,f)})}),m}function Nc(a,i,s={}){const r=Ol(a,i,s.type==="exit"?a.presenceContext?.custom:void 0);let{transition:u=a.getDefaultTransition()||{}}=r||{};s.transitionOverride&&(u=s.transitionOverride);const d=r?()=>Promise.all(C0(a,r,s)):()=>Promise.resolve(),f=a.variantChildren&&a.variantChildren.size?(m=0)=>{const{delayChildren:p=0,staggerChildren:v,staggerDirection:b}=u;return G4(a,i,m,p,v,b,s)}:()=>Promise.resolve(),{when:y}=u;if(y){const[m,p]=y==="beforeChildren"?[d,f]:[f,d];return m().then(()=>p())}else return Promise.all([d(),f(s.delay)])}function G4(a,i,s=0,r=0,u=0,d=1,f){const y=[],m=a.variantChildren.size,p=(m-1)*u,v=typeof r=="function",b=v?S=>r(S,m):d===1?(S=0)=>S*u:(S=0)=>p-S*u;return Array.from(a.variantChildren).sort(k4).forEach((S,R)=>{S.notify("AnimationStart",i),y.push(Nc(S,i,{...f,delay:s+(v?0:r)+b(R)}).then(()=>S.notify("AnimationComplete",i)))}),Promise.all(y)}function k4(a,i){return a.sortNodePosition(i)}function X4(a,i,s={}){a.notify("AnimationStart",i);let r;if(Array.isArray(i)){const u=i.map(d=>Nc(a,d,s));r=Promise.all(u)}else if(typeof i=="string")r=Nc(a,i,s);else{const u=typeof i=="function"?Ol(a,i,s.custom):i;r=Promise.all(C0(a,u,s))}return r.then(()=>{a.notify("AnimationComplete",i)})}function w0(a,i){if(!Array.isArray(i))return!1;const s=i.length;if(s!==a.length)return!1;for(let r=0;r<s;r++)if(i[r]!==a[r])return!1;return!0}const K4=hf.length;function N0(a){if(!a)return;if(!a.isControllingVariants){const s=a.parent?N0(a.parent)||{}:{};return a.props.initial!==void 0&&(s.initial=a.props.initial),s}const i={};for(let s=0;s<K4;s++){const r=hf[s],u=a.props[r];(wl(u)||u===!1)&&(i[r]=u)}return i}const Q4=[...df].reverse(),Z4=df.length;function F4(a){return i=>Promise.all(i.map(({animation:s,options:r})=>X4(a,s,r)))}function J4(a){let i=F4(a),s=og(),r=!0;const u=m=>(p,v)=>{const b=Ol(a,v,m==="exit"?a.presenceContext?.custom:void 0);if(b){const{transition:S,transitionEnd:R,...N}=b;p={...p,...N,...R}}return p};function d(m){i=m(a)}function f(m){const{props:p}=a,v=N0(a.parent)||{},b=[],S=new Set;let R={},N=1/0;for(let _=0;_<Z4;_++){const V=Q4[_],G=s[V],q=p[V]!==void 0?p[V]:v[V],F=wl(q),P=V===m?G.isActive:null;P===!1&&(N=_);let W=q===v[V]&&q!==p[V]&&F;if(W&&r&&a.manuallyAnimateOnMount&&(W=!1),G.protectedKeys={...R},!G.isActive&&P===null||!q&&!G.prevProp||Mr(q)||typeof q=="boolean")continue;const I=$4(G.prevProp,q);let Z=I||V===m&&G.isActive&&!W&&F||_>N&&F,st=!1;const vt=Array.isArray(q)?q:[q];let Lt=vt.reduce(u(V),{});P===!1&&(Lt={});const{prevResolvedValues:Pt={}}=G,Ie={...Pt,...Lt},qe=k=>{Z=!0,S.has(k)&&(st=!0,S.delete(k)),G.needsAnimating[k]=!0;const J=a.getValue(k);J&&(J.liveStyle=!1)};for(const k in Ie){const J=Lt[k],gt=Pt[k];if(R.hasOwnProperty(k))continue;let E=!1;Cc(J)&&Cc(gt)?E=!w0(J,gt):E=J!==gt,E?J!=null?qe(k):S.add(k):J!==void 0&&S.has(k)?qe(k):G.protectedKeys[k]=!0}G.prevProp=q,G.prevResolvedValues=Lt,G.isActive&&(R={...R,...Lt}),r&&a.blockInitialAnimation&&(Z=!1),Z&&(!(W&&I)||st)&&b.push(...vt.map(k=>({animation:k,options:{type:V}})))}if(S.size){const _={};if(typeof p.initial!="boolean"){const V=Ol(a,Array.isArray(p.initial)?p.initial[0]:p.initial);V&&V.transition&&(_.transition=V.transition)}S.forEach(V=>{const G=a.getBaseTarget(V),q=a.getValue(V);q&&(q.liveStyle=!0),_[V]=G??null}),b.push({animation:_})}let z=!!b.length;return r&&(p.initial===!1||p.initial===p.animate)&&!a.manuallyAnimateOnMount&&(z=!1),r=!1,z?i(b):Promise.resolve()}function y(m,p){if(s[m].isActive===p)return Promise.resolve();a.variantChildren?.forEach(b=>b.animationState?.setActive(m,p)),s[m].isActive=p;const v=f(m);for(const b in s)s[b].protectedKeys={};return v}return{animateChanges:f,setActive:y,setAnimateFunction:d,getState:()=>s,reset:()=>{s=og(),r=!0}}}function $4(a,i){return typeof i=="string"?i!==a:Array.isArray(i)?!w0(i,a):!1}function ma(a=!1){return{isActive:a,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function og(){return{animate:ma(!0),whileInView:ma(),whileHover:ma(),whileTap:ma(),whileDrag:ma(),whileFocus:ma(),exit:ma()}}class Fn{constructor(i){this.isMounted=!1,this.node=i}update(){}}class W4 extends Fn{constructor(i){super(i),i.animationState||(i.animationState=J4(i))}updateAnimationControlsSubscription(){const{animate:i}=this.node.getProps();Mr(i)&&(this.unmountControls=i.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:i}=this.node.getProps(),{animate:s}=this.node.prevProps||{};i!==s&&this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}}let I4=0;class tT extends Fn{constructor(){super(...arguments),this.id=I4++}update(){if(!this.node.presenceContext)return;const{isPresent:i,onExitComplete:s}=this.node.presenceContext,{isPresent:r}=this.node.prevPresenceContext||{};if(!this.node.animationState||i===r)return;const u=this.node.animationState.setActive("exit",!i);s&&!i&&u.then(()=>{s(this.id)})}mount(){const{register:i,onExitComplete:s}=this.node.presenceContext||{};s&&s(this.id),i&&(this.unmount=i(this.id))}unmount(){}}const eT={animation:{Feature:W4},exit:{Feature:tT}};function Vl(a,i,s,r={passive:!0}){return a.addEventListener(i,s,r),()=>a.removeEventListener(i,s)}function ql(a){return{point:{x:a.pageX,y:a.pageY}}}const nT=a=>i=>cf(i)&&a(i,ql(i));function jl(a,i,s,r){return Vl(a,i,nT(s),r)}const O0=1e-4,aT=1-O0,iT=1+O0,V0=.01,lT=0-V0,sT=0+V0;function re(a){return a.max-a.min}function rT(a,i,s){return Math.abs(a-i)<=s}function ug(a,i,s,r=.5){a.origin=r,a.originPoint=wt(i.min,i.max,a.origin),a.scale=re(s)/re(i),a.translate=wt(s.min,s.max,a.origin)-a.originPoint,(a.scale>=aT&&a.scale<=iT||isNaN(a.scale))&&(a.scale=1),(a.translate>=lT&&a.translate<=sT||isNaN(a.translate))&&(a.translate=0)}function El(a,i,s,r){ug(a.x,i.x,s.x,r?r.originX:void 0),ug(a.y,i.y,s.y,r?r.originY:void 0)}function cg(a,i,s){a.min=s.min+i.min,a.max=a.min+re(i)}function oT(a,i,s){cg(a.x,i.x,s.x),cg(a.y,i.y,s.y)}function fg(a,i,s){a.min=i.min-s.min,a.max=a.min+re(i)}function Al(a,i,s){fg(a.x,i.x,s.x),fg(a.y,i.y,s.y)}function ze(a){return[a("x"),a("y")]}const z0=({current:a})=>a?a.ownerDocument.defaultView:null,dg=(a,i)=>Math.abs(a-i);function uT(a,i){const s=dg(a.x,i.x),r=dg(a.y,i.y);return Math.sqrt(s**2+r**2)}class L0{constructor(i,s,{transformPagePoint:r,contextWindow:u=window,dragSnapToOrigin:d=!1,distanceThreshold:f=3}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const S=rc(this.lastMoveEventInfo,this.history),R=this.startEvent!==null,N=uT(S.offset,{x:0,y:0})>=this.distanceThreshold;if(!R&&!N)return;const{point:z}=S,{timestamp:_}=It;this.history.push({...z,timestamp:_});const{onStart:V,onMove:G}=this.handlers;R||(V&&V(this.lastMoveEvent,S),this.startEvent=this.lastMoveEvent),G&&G(this.lastMoveEvent,S)},this.handlePointerMove=(S,R)=>{this.lastMoveEvent=S,this.lastMoveEventInfo=sc(R,this.transformPagePoint),Dt.update(this.updatePoint,!0)},this.handlePointerUp=(S,R)=>{this.end();const{onEnd:N,onSessionEnd:z,resumeAnimation:_}=this.handlers;if(this.dragSnapToOrigin&&_&&_(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const V=rc(S.type==="pointercancel"?this.lastMoveEventInfo:sc(R,this.transformPagePoint),this.history);this.startEvent&&N&&N(S,V),z&&z(S,V)},!cf(i))return;this.dragSnapToOrigin=d,this.handlers=s,this.transformPagePoint=r,this.distanceThreshold=f,this.contextWindow=u||window;const y=ql(i),m=sc(y,this.transformPagePoint),{point:p}=m,{timestamp:v}=It;this.history=[{...p,timestamp:v}];const{onSessionStart:b}=s;b&&b(i,rc(m,this.history)),this.removeListeners=Ul(jl(this.contextWindow,"pointermove",this.handlePointerMove),jl(this.contextWindow,"pointerup",this.handlePointerUp),jl(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(i){this.handlers=i}end(){this.removeListeners&&this.removeListeners(),Qn(this.updatePoint)}}function sc(a,i){return i?{point:i(a.point)}:a}function hg(a,i){return{x:a.x-i.x,y:a.y-i.y}}function rc({point:a},i){return{point:a,delta:hg(a,B0(i)),offset:hg(a,cT(i)),velocity:fT(i,.1)}}function cT(a){return a[0]}function B0(a){return a[a.length-1]}function fT(a,i){if(a.length<2)return{x:0,y:0};let s=a.length-1,r=null;const u=B0(a);for(;s>=0&&(r=a[s],!(u.timestamp-r.timestamp>Qe(i)));)s--;if(!r)return{x:0,y:0};const d=Ze(u.timestamp-r.timestamp);if(d===0)return{x:0,y:0};const f={x:(u.x-r.x)/d,y:(u.y-r.y)/d};return f.x===1/0&&(f.x=0),f.y===1/0&&(f.y=0),f}function dT(a,{min:i,max:s},r){return i!==void 0&&a<i?a=r?wt(i,a,r.min):Math.max(a,i):s!==void 0&&a>s&&(a=r?wt(s,a,r.max):Math.min(a,s)),a}function mg(a,i,s){return{min:i!==void 0?a.min+i:void 0,max:s!==void 0?a.max+s-(a.max-a.min):void 0}}function hT(a,{top:i,left:s,bottom:r,right:u}){return{x:mg(a.x,s,u),y:mg(a.y,i,r)}}function pg(a,i){let s=i.min-a.min,r=i.max-a.max;return i.max-i.min<a.max-a.min&&([s,r]=[r,s]),{min:s,max:r}}function mT(a,i){return{x:pg(a.x,i.x),y:pg(a.y,i.y)}}function pT(a,i){let s=.5;const r=re(a),u=re(i);return u>r?s=Rl(i.min,i.max-r,a.min):r>u&&(s=Rl(a.min,a.max-u,i.min)),vn(0,1,s)}function gT(a,i){const s={};return i.min!==void 0&&(s.min=i.min-a.min),i.max!==void 0&&(s.max=i.max-a.min),s}const Oc=.35;function yT(a=Oc){return a===!1?a=0:a===!0&&(a=Oc),{x:gg(a,"left","right"),y:gg(a,"top","bottom")}}function gg(a,i,s){return{min:yg(a,i),max:yg(a,s)}}function yg(a,i){return typeof a=="number"?a:a[i]||0}const vT=new WeakMap;class xT{constructor(i){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=_t(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=i}start(i,{snapToCursor:s=!1,distanceThreshold:r}={}){const{presenceContext:u}=this.visualElement;if(u&&u.isPresent===!1)return;const d=b=>{const{dragSnapToOrigin:S}=this.getProps();S?this.pauseAnimation():this.stopAnimation(),s&&this.snapToCursor(ql(b).point)},f=(b,S)=>{const{drag:R,dragPropagation:N,onDragStart:z}=this.getProps();if(R&&!N&&(this.openDragLock&&this.openDragLock(),this.openDragLock=A3(R),!this.openDragLock))return;this.latestPointerEvent=b,this.latestPanInfo=S,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),ze(V=>{let G=this.getAxisMotionValue(V).get()||0;if(Fe.test(G)){const{projection:q}=this.visualElement;if(q&&q.layout){const F=q.layout.layoutBox[V];F&&(G=re(F)*(parseFloat(G)/100))}}this.originPoint[V]=G}),z&&Dt.postRender(()=>z(b,S)),wc(this.visualElement,"transform");const{animationState:_}=this.visualElement;_&&_.setActive("whileDrag",!0)},y=(b,S)=>{this.latestPointerEvent=b,this.latestPanInfo=S;const{dragPropagation:R,dragDirectionLock:N,onDirectionLock:z,onDrag:_}=this.getProps();if(!R&&!this.openDragLock)return;const{offset:V}=S;if(N&&this.currentDirection===null){this.currentDirection=bT(V),this.currentDirection!==null&&z&&z(this.currentDirection);return}this.updateAxis("x",S.point,V),this.updateAxis("y",S.point,V),this.visualElement.render(),_&&_(b,S)},m=(b,S)=>{this.latestPointerEvent=b,this.latestPanInfo=S,this.stop(b,S),this.latestPointerEvent=null,this.latestPanInfo=null},p=()=>ze(b=>this.getAnimationState(b)==="paused"&&this.getAxisMotionValue(b).animation?.play()),{dragSnapToOrigin:v}=this.getProps();this.panSession=new L0(i,{onSessionStart:d,onStart:f,onMove:y,onSessionEnd:m,resumeAnimation:p},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:v,distanceThreshold:r,contextWindow:z0(this.visualElement)})}stop(i,s){const r=i||this.latestPointerEvent,u=s||this.latestPanInfo,d=this.isDragging;if(this.cancel(),!d||!u||!r)return;const{velocity:f}=u;this.startAnimation(f);const{onDragEnd:y}=this.getProps();y&&Dt.postRender(()=>y(r,u))}cancel(){this.isDragging=!1;const{projection:i,animationState:s}=this.visualElement;i&&(i.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:r}=this.getProps();!r&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),s&&s.setActive("whileDrag",!1)}updateAxis(i,s,r){const{drag:u}=this.getProps();if(!r||!rr(i,u,this.currentDirection))return;const d=this.getAxisMotionValue(i);let f=this.originPoint[i]+r[i];this.constraints&&this.constraints[i]&&(f=dT(f,this.constraints[i],this.elastic[i])),d.set(f)}resolveConstraints(){const{dragConstraints:i,dragElastic:s}=this.getProps(),r=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,u=this.constraints;i&&ri(i)?this.constraints||(this.constraints=this.resolveRefConstraints()):i&&r?this.constraints=hT(r.layoutBox,i):this.constraints=!1,this.elastic=yT(s),u!==this.constraints&&r&&this.constraints&&!this.hasMutatedConstraints&&ze(d=>{this.constraints!==!1&&this.getAxisMotionValue(d)&&(this.constraints[d]=gT(r.layoutBox[d],this.constraints[d]))})}resolveRefConstraints(){const{dragConstraints:i,onMeasureDragConstraints:s}=this.getProps();if(!i||!ri(i))return!1;const r=i.current,{projection:u}=this.visualElement;if(!u||!u.layout)return!1;const d=b4(r,u.root,this.visualElement.getTransformPagePoint());let f=mT(u.layout.layoutBox,d);if(s){const y=s(y4(f));this.hasMutatedConstraints=!!y,y&&(f=b0(y))}return f}startAnimation(i){const{drag:s,dragMomentum:r,dragElastic:u,dragTransition:d,dragSnapToOrigin:f,onDragTransitionEnd:y}=this.getProps(),m=this.constraints||{},p=ze(v=>{if(!rr(v,s,this.currentDirection))return;let b=m&&m[v]||{};f&&(b={min:0,max:0});const S=u?200:1e6,R=u?40:1e7,N={type:"inertia",velocity:r?i[v]:0,bounceStiffness:S,bounceDamping:R,timeConstant:750,restDelta:1,restSpeed:10,...d,...b};return this.startAxisValueAnimation(v,N)});return Promise.all(p).then(y)}startAxisValueAnimation(i,s){const r=this.getAxisMotionValue(i);return wc(this.visualElement,i),r.start(bf(i,r,0,s,this.visualElement,!1))}stopAnimation(){ze(i=>this.getAxisMotionValue(i).stop())}pauseAnimation(){ze(i=>this.getAxisMotionValue(i).animation?.pause())}getAnimationState(i){return this.getAxisMotionValue(i).animation?.state}getAxisMotionValue(i){const s=`_drag${i.toUpperCase()}`,r=this.visualElement.getProps(),u=r[s];return u||this.visualElement.getValue(i,(r.initial?r.initial[i]:void 0)||0)}snapToCursor(i){ze(s=>{const{drag:r}=this.getProps();if(!rr(s,r,this.currentDirection))return;const{projection:u}=this.visualElement,d=this.getAxisMotionValue(s);if(u&&u.layout){const{min:f,max:y}=u.layout.layoutBox[s];d.set(i[s]-wt(f,y,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:i,dragConstraints:s}=this.getProps(),{projection:r}=this.visualElement;if(!ri(s)||!r||!this.constraints)return;this.stopAnimation();const u={x:0,y:0};ze(f=>{const y=this.getAxisMotionValue(f);if(y&&this.constraints!==!1){const m=y.get();u[f]=pT({min:m,max:m},this.constraints[f])}});const{transformTemplate:d}=this.visualElement.getProps();this.visualElement.current.style.transform=d?d({},""):"none",r.root&&r.root.updateScroll(),r.updateLayout(),this.resolveConstraints(),ze(f=>{if(!rr(f,i,null))return;const y=this.getAxisMotionValue(f),{min:m,max:p}=this.constraints[f];y.set(wt(m,p,u[f]))})}addListeners(){if(!this.visualElement.current)return;vT.set(this.visualElement,this);const i=this.visualElement.current,s=jl(i,"pointerdown",m=>{const{drag:p,dragListener:v=!0}=this.getProps();p&&v&&this.start(m)}),r=()=>{const{dragConstraints:m}=this.getProps();ri(m)&&m.current&&(this.constraints=this.resolveRefConstraints())},{projection:u}=this.visualElement,d=u.addEventListener("measure",r);u&&!u.layout&&(u.root&&u.root.updateScroll(),u.updateLayout()),Dt.read(r);const f=Vl(window,"resize",()=>this.scalePositionWithinConstraints()),y=u.addEventListener("didUpdate",({delta:m,hasLayoutChanged:p})=>{this.isDragging&&p&&(ze(v=>{const b=this.getAxisMotionValue(v);b&&(this.originPoint[v]+=m[v].translate,b.set(b.get()+m[v].translate))}),this.visualElement.render())});return()=>{f(),s(),d(),y&&y()}}getProps(){const i=this.visualElement.getProps(),{drag:s=!1,dragDirectionLock:r=!1,dragPropagation:u=!1,dragConstraints:d=!1,dragElastic:f=Oc,dragMomentum:y=!0}=i;return{...i,drag:s,dragDirectionLock:r,dragPropagation:u,dragConstraints:d,dragElastic:f,dragMomentum:y}}}function rr(a,i,s){return(i===!0||i===a)&&(s===null||s===a)}function bT(a,i=10){let s=null;return Math.abs(a.y)>i?s="y":Math.abs(a.x)>i&&(s="x"),s}class ST extends Fn{constructor(i){super(i),this.removeGroupControls=Le,this.removeListeners=Le,this.controls=new xT(i)}mount(){const{dragControls:i}=this.node.getProps();i&&(this.removeGroupControls=i.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||Le}unmount(){this.removeGroupControls(),this.removeListeners()}}const vg=a=>(i,s)=>{a&&Dt.postRender(()=>a(i,s))};class TT extends Fn{constructor(){super(...arguments),this.removePointerDownListener=Le}onPointerDown(i){this.session=new L0(i,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:z0(this.node)})}createPanHandlers(){const{onPanSessionStart:i,onPanStart:s,onPan:r,onPanEnd:u}=this.node.getProps();return{onSessionStart:vg(i),onStart:vg(s),onMove:r,onEnd:(d,f)=>{delete this.session,u&&Dt.postRender(()=>u(d,f))}}}mount(){this.removePointerDownListener=jl(this.node.current,"pointerdown",i=>this.onPointerDown(i))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}const hr={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function xg(a,i){return i.max===i.min?0:a/(i.max-i.min)*100}const xl={correct:(a,i)=>{if(!i.target)return a;if(typeof a=="string")if(it.test(a))a=parseFloat(a);else return a;const s=xg(a,i.target.x),r=xg(a,i.target.y);return`${s}% ${r}%`}},jT={correct:(a,{treeScale:i,projectionDelta:s})=>{const r=a,u=Zn.parse(a);if(u.length>5)return r;const d=Zn.createTransformer(a),f=typeof u[0]!="number"?1:0,y=s.x.scale*i.x,m=s.y.scale*i.y;u[0+f]/=y,u[1+f]/=m;const p=wt(y,m,.5);return typeof u[2+f]=="number"&&(u[2+f]/=p),typeof u[3+f]=="number"&&(u[3+f]/=p),d(u)}};let bg=!1;class ET extends j.Component{componentDidMount(){const{visualElement:i,layoutGroup:s,switchLayoutGroup:r,layoutId:u}=this.props,{projection:d}=i;X3(AT),d&&(s.group&&s.group.add(d),r&&r.register&&u&&r.register(d),bg&&d.root.didUpdate(),d.addEventListener("animationComplete",()=>{this.safeToRemove()}),d.setOptions({...d.options,onExitComplete:()=>this.safeToRemove()})),hr.hasEverUpdated=!0}getSnapshotBeforeUpdate(i){const{layoutDependency:s,visualElement:r,drag:u,isPresent:d}=this.props,{projection:f}=r;return f&&(f.isPresent=d,bg=!0,u||i.layoutDependency!==s||s===void 0||i.isPresent!==d?f.willUpdate():this.safeToRemove(),i.isPresent!==d&&(d?f.promote():f.relegate()||Dt.postRender(()=>{const y=f.getStack();(!y||!y.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:i}=this.props.visualElement;i&&(i.root.didUpdate(),uf.postRender(()=>{!i.currentAnimation&&i.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:i,layoutGroup:s,switchLayoutGroup:r}=this.props,{projection:u}=i;u&&(u.scheduleCheckAfterUnmount(),s&&s.group&&s.group.remove(u),r&&r.deregister&&r.deregister(u))}safeToRemove(){const{safeToRemove:i}=this.props;i&&i()}render(){return null}}function U0(a){const[i,s]=s0(),r=j.useContext(qc);return h.jsx(ET,{...a,layoutGroup:r,switchLayoutGroup:j.useContext(v0),isPresent:i,safeToRemove:s})}const AT={borderRadius:{...xl,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:xl,borderTopRightRadius:xl,borderBottomLeftRadius:xl,borderBottomRightRadius:xl,boxShadow:jT};function MT(a,i,s){const r=ae(a)?a:fi(a);return r.start(bf("",r,i,s)),r.animation}const RT=(a,i)=>a.depth-i.depth;class DT{constructor(){this.children=[],this.isDirty=!1}add(i){Gc(this.children,i),this.isDirty=!0}remove(i){kc(this.children,i),this.isDirty=!0}forEach(i){this.isDirty&&this.children.sort(RT),this.isDirty=!1,this.children.forEach(i)}}function CT(a,i){const s=he.now(),r=({timestamp:u})=>{const d=u-s;d>=i&&(Qn(r),a(d-i))};return Dt.setup(r,!0),()=>Qn(r)}const _0=["TopLeft","TopRight","BottomLeft","BottomRight"],wT=_0.length,Sg=a=>typeof a=="string"?parseFloat(a):a,Tg=a=>typeof a=="number"||it.test(a);function NT(a,i,s,r,u,d){u?(a.opacity=wt(0,s.opacity??1,OT(r)),a.opacityExit=wt(i.opacity??1,0,VT(r))):d&&(a.opacity=wt(i.opacity??1,s.opacity??1,r));for(let f=0;f<wT;f++){const y=`border${_0[f]}Radius`;let m=jg(i,y),p=jg(s,y);if(m===void 0&&p===void 0)continue;m||(m=0),p||(p=0),m===0||p===0||Tg(m)===Tg(p)?(a[y]=Math.max(wt(Sg(m),Sg(p),r),0),(Fe.test(p)||Fe.test(m))&&(a[y]+="%")):a[y]=p}(i.rotate||s.rotate)&&(a.rotate=wt(i.rotate||0,s.rotate||0,r))}function jg(a,i){return a[i]!==void 0?a[i]:a.borderRadius}const OT=H0(0,.5,My),VT=H0(.5,.95,Le);function H0(a,i,s){return r=>r<a?0:r>i?1:s(Rl(a,i,r))}function Eg(a,i){a.min=i.min,a.max=i.max}function Ve(a,i){Eg(a.x,i.x),Eg(a.y,i.y)}function Ag(a,i){a.translate=i.translate,a.scale=i.scale,a.originPoint=i.originPoint,a.origin=i.origin}function Mg(a,i,s,r,u){return a-=i,a=Sr(a,1/s,r),u!==void 0&&(a=Sr(a,1/u,r)),a}function zT(a,i=0,s=1,r=.5,u,d=a,f=a){if(Fe.test(i)&&(i=parseFloat(i),i=wt(f.min,f.max,i/100)-f.min),typeof i!="number")return;let y=wt(d.min,d.max,r);a===d&&(y-=i),a.min=Mg(a.min,i,s,y,u),a.max=Mg(a.max,i,s,y,u)}function Rg(a,i,[s,r,u],d,f){zT(a,i[s],i[r],i[u],i.scale,d,f)}const LT=["x","scaleX","originX"],BT=["y","scaleY","originY"];function Dg(a,i,s,r){Rg(a.x,i,LT,s?s.x:void 0,r?r.x:void 0),Rg(a.y,i,BT,s?s.y:void 0,r?r.y:void 0)}function Cg(a){return a.translate===0&&a.scale===1}function q0(a){return Cg(a.x)&&Cg(a.y)}function wg(a,i){return a.min===i.min&&a.max===i.max}function UT(a,i){return wg(a.x,i.x)&&wg(a.y,i.y)}function Ng(a,i){return Math.round(a.min)===Math.round(i.min)&&Math.round(a.max)===Math.round(i.max)}function Y0(a,i){return Ng(a.x,i.x)&&Ng(a.y,i.y)}function Og(a){return re(a.x)/re(a.y)}function Vg(a,i){return a.translate===i.translate&&a.scale===i.scale&&a.originPoint===i.originPoint}class _T{constructor(){this.members=[]}add(i){Gc(this.members,i),i.scheduleRender()}remove(i){if(kc(this.members,i),i===this.prevLead&&(this.prevLead=void 0),i===this.lead){const s=this.members[this.members.length-1];s&&this.promote(s)}}relegate(i){const s=this.members.findIndex(u=>i===u);if(s===0)return!1;let r;for(let u=s;u>=0;u--){const d=this.members[u];if(d.isPresent!==!1){r=d;break}}return r?(this.promote(r),!0):!1}promote(i,s){const r=this.lead;if(i!==r&&(this.prevLead=r,this.lead=i,i.show(),r)){r.instance&&r.scheduleRender(),i.scheduleRender(),i.resumeFrom=r,s&&(i.resumeFrom.preserveOpacity=!0),r.snapshot&&(i.snapshot=r.snapshot,i.snapshot.latestValues=r.animationValues||r.latestValues),i.root&&i.root.isUpdating&&(i.isLayoutDirty=!0);const{crossfade:u}=i.options;u===!1&&r.hide()}}exitAnimationComplete(){this.members.forEach(i=>{const{options:s,resumingFrom:r}=i;s.onExitComplete&&s.onExitComplete(),r&&r.options.onExitComplete&&r.options.onExitComplete()})}scheduleRender(){this.members.forEach(i=>{i.instance&&i.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function HT(a,i,s){let r="";const u=a.x.translate/i.x,d=a.y.translate/i.y,f=s?.z||0;if((u||d||f)&&(r=`translate3d(${u}px, ${d}px, ${f}px) `),(i.x!==1||i.y!==1)&&(r+=`scale(${1/i.x}, ${1/i.y}) `),s){const{transformPerspective:p,rotate:v,rotateX:b,rotateY:S,skewX:R,skewY:N}=s;p&&(r=`perspective(${p}px) ${r}`),v&&(r+=`rotate(${v}deg) `),b&&(r+=`rotateX(${b}deg) `),S&&(r+=`rotateY(${S}deg) `),R&&(r+=`skewX(${R}deg) `),N&&(r+=`skewY(${N}deg) `)}const y=a.x.scale*i.x,m=a.y.scale*i.y;return(y!==1||m!==1)&&(r+=`scale(${y}, ${m})`),r||"none"}const oc=["","X","Y","Z"],qT=1e3;let YT=0;function uc(a,i,s,r){const{latestValues:u}=i;u[a]&&(s[a]=u[a],i.setStaticValue(a,0),r&&(r[a]=0))}function P0(a){if(a.hasCheckedOptimisedAppear=!0,a.root===a)return;const{visualElement:i}=a.options;if(!i)return;const s=D0(i);if(window.MotionHasOptimisedAnimation(s,"transform")){const{layout:u,layoutId:d}=a.options;window.MotionCancelOptimisedAnimation(s,"transform",Dt,!(u||d))}const{parent:r}=a;r&&!r.hasCheckedOptimisedAppear&&P0(r)}function G0({attachResizeListener:a,defaultParent:i,measureScroll:s,checkIsScrollRoot:r,resetTransform:u}){return class{constructor(f={},y=i?.()){this.id=YT++,this.animationId=0,this.animationCommitId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,this.nodes.forEach(kT),this.nodes.forEach(ZT),this.nodes.forEach(FT),this.nodes.forEach(XT)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=f,this.root=y?y.root||y:this,this.path=y?[...y.path,y]:[],this.parent=y,this.depth=y?y.depth+1:0;for(let m=0;m<this.path.length;m++)this.path[m].shouldResetTransform=!0;this.root===this&&(this.nodes=new DT)}addEventListener(f,y){return this.eventHandlers.has(f)||this.eventHandlers.set(f,new Qc),this.eventHandlers.get(f).add(y)}notifyListeners(f,...y){const m=this.eventHandlers.get(f);m&&m.notify(...y)}hasListeners(f){return this.eventHandlers.has(f)}mount(f){if(this.instance)return;this.isSVG=l0(f)&&!N3(f),this.instance=f;const{layoutId:y,layout:m,visualElement:p}=this.options;if(p&&!p.current&&p.mount(f),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(m||y)&&(this.isLayoutDirty=!0),a){let v,b=0;const S=()=>this.root.updateBlockedByResize=!1;Dt.read(()=>{b=window.innerWidth}),a(f,()=>{const R=window.innerWidth;R!==b&&(b=R,this.root.updateBlockedByResize=!0,v&&v(),v=CT(S,250),hr.hasAnimatedSinceResize&&(hr.hasAnimatedSinceResize=!1,this.nodes.forEach(Bg)))})}y&&this.root.registerSharedNode(y,this),this.options.animate!==!1&&p&&(y||m)&&this.addEventListener("didUpdate",({delta:v,hasLayoutChanged:b,hasRelativeLayoutChanged:S,layout:R})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const N=this.options.transition||p.getDefaultTransition()||t6,{onLayoutAnimationStart:z,onLayoutAnimationComplete:_}=p.getProps(),V=!this.targetLayout||!Y0(this.targetLayout,R),G=!b&&S;if(this.options.layoutRoot||this.resumeFrom||G||b&&(V||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);const q={...rf(N,"layout"),onPlay:z,onComplete:_};(p.shouldReduceMotion||this.options.layoutRoot)&&(q.delay=0,q.type=!1),this.startAnimation(q),this.setAnimationOrigin(v,G)}else b||Bg(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=R})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const f=this.getStack();f&&f.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),Qn(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(JT),this.animationId++)}getTransformTemplate(){const{visualElement:f}=this.options;return f&&f.getProps().transformTemplate}willUpdate(f=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&P0(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let v=0;v<this.path.length;v++){const b=this.path[v];b.shouldResetTransform=!0,b.updateScroll("snapshot"),b.options.layoutRoot&&b.willUpdate(!1)}const{layoutId:y,layout:m}=this.options;if(y===void 0&&!m)return;const p=this.getTransformTemplate();this.prevTransformTemplateValue=p?p(this.latestValues,""):void 0,this.updateSnapshot(),f&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(zg);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(Lg);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(QT),this.nodes.forEach(PT),this.nodes.forEach(GT)):this.nodes.forEach(Lg),this.clearAllSnapshots();const y=he.now();It.delta=vn(0,1e3/60,y-It.timestamp),It.timestamp=y,It.isProcessing=!0,Wu.update.process(It),Wu.preRender.process(It),Wu.render.process(It),It.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,uf.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(KT),this.sharedNodes.forEach($T)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,Dt.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){Dt.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!re(this.snapshot.measuredBox.x)&&!re(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 m=0;m<this.path.length;m++)this.path[m].updateScroll();const f=this.layout;this.layout=this.measure(!1),this.layoutCorrected=_t(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:y}=this.options;y&&y.notify("LayoutMeasure",this.layout.layoutBox,f?f.layoutBox:void 0)}updateScroll(f="measure"){let y=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===f&&(y=!1),y&&this.instance){const m=r(this.instance);this.scroll={animationId:this.root.animationId,phase:f,isRoot:m,offset:s(this.instance),wasRoot:this.scroll?this.scroll.isRoot:m}}}resetTransform(){if(!u)return;const f=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,y=this.projectionDelta&&!q0(this.projectionDelta),m=this.getTransformTemplate(),p=m?m(this.latestValues,""):void 0,v=p!==this.prevTransformTemplateValue;f&&this.instance&&(y||pa(this.latestValues)||v)&&(u(this.instance,p),this.shouldResetTransform=!1,this.scheduleRender())}measure(f=!0){const y=this.measurePageBox();let m=this.removeElementScroll(y);return f&&(m=this.removeTransform(m)),e6(m),{animationId:this.root.animationId,measuredBox:y,layoutBox:m,latestValues:{},source:this.id}}measurePageBox(){const{visualElement:f}=this.options;if(!f)return _t();const y=f.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(n6))){const{scroll:p}=this.root;p&&(oi(y.x,p.offset.x),oi(y.y,p.offset.y))}return y}removeElementScroll(f){const y=_t();if(Ve(y,f),this.scroll?.wasRoot)return y;for(let m=0;m<this.path.length;m++){const p=this.path[m],{scroll:v,options:b}=p;p!==this.root&&v&&b.layoutScroll&&(v.wasRoot&&Ve(y,f),oi(y.x,v.offset.x),oi(y.y,v.offset.y))}return y}applyTransform(f,y=!1){const m=_t();Ve(m,f);for(let p=0;p<this.path.length;p++){const v=this.path[p];!y&&v.options.layoutScroll&&v.scroll&&v!==v.root&&ui(m,{x:-v.scroll.offset.x,y:-v.scroll.offset.y}),pa(v.latestValues)&&ui(m,v.latestValues)}return pa(this.latestValues)&&ui(m,this.latestValues),m}removeTransform(f){const y=_t();Ve(y,f);for(let m=0;m<this.path.length;m++){const p=this.path[m];if(!p.instance||!pa(p.latestValues))continue;Mc(p.latestValues)&&p.updateSnapshot();const v=_t(),b=p.measurePageBox();Ve(v,b),Dg(y,p.latestValues,p.snapshot?p.snapshot.layoutBox:void 0,v)}return pa(this.latestValues)&&Dg(y,this.latestValues),y}setTargetDelta(f){this.targetDelta=f,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(f){this.options={...this.options,...f,crossfade:f.crossfade!==void 0?f.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!==It.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(f=!1){const y=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=y.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=y.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=y.isSharedProjectionDirty);const m=!!this.resumingFrom||this!==y;if(!(f||m&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:v,layoutId:b}=this.options;if(!(!this.layout||!(v||b))){if(this.resolvedRelativeTargetAt=It.timestamp,!this.targetDelta&&!this.relativeTarget){const S=this.getClosestProjectingParent();S&&S.layout&&this.animationProgress!==1?(this.relativeParent=S,this.forceRelativeParentToResolveTarget(),this.relativeTarget=_t(),this.relativeTargetOrigin=_t(),Al(this.relativeTargetOrigin,this.layout.layoutBox,S.layout.layoutBox),Ve(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=_t(),this.targetWithTransforms=_t()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),oT(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):Ve(this.target,this.layout.layoutBox),T0(this.target,this.targetDelta)):Ve(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget)){this.attemptToResolveRelativeTarget=!1;const S=this.getClosestProjectingParent();S&&!!S.resumingFrom==!!this.resumingFrom&&!S.options.layoutScroll&&S.target&&this.animationProgress!==1?(this.relativeParent=S,this.forceRelativeParentToResolveTarget(),this.relativeTarget=_t(),this.relativeTargetOrigin=_t(),Al(this.relativeTargetOrigin,this.target,S.target),Ve(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}}}getClosestProjectingParent(){if(!(!this.parent||Mc(this.parent.latestValues)||S0(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){const f=this.getLead(),y=!!this.resumingFrom||this!==f;let m=!0;if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(m=!1),y&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(m=!1),this.resolvedRelativeTargetAt===It.timestamp&&(m=!1),m)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;Ve(this.layoutCorrected,this.layout.layoutBox);const b=this.treeScale.x,S=this.treeScale.y;x4(this.layoutCorrected,this.treeScale,this.path,y),f.layout&&!f.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(f.target=f.layout.layoutBox,f.targetWithTransforms=_t());const{target:R}=f;if(!R){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(Ag(this.prevProjectionDelta.x,this.projectionDelta.x),Ag(this.prevProjectionDelta.y,this.projectionDelta.y)),El(this.projectionDelta,this.layoutCorrected,R,this.latestValues),(this.treeScale.x!==b||this.treeScale.y!==S||!Vg(this.projectionDelta.x,this.prevProjectionDelta.x)||!Vg(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",R))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(f=!0){if(this.options.visualElement?.scheduleRender(),f){const y=this.getStack();y&&y.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=ci(),this.projectionDelta=ci(),this.projectionDeltaWithTransform=ci()}setAnimationOrigin(f,y=!1){const m=this.snapshot,p=m?m.latestValues:{},v={...this.latestValues},b=ci();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!y;const S=_t(),R=m?m.source:void 0,N=this.layout?this.layout.source:void 0,z=R!==N,_=this.getStack(),V=!_||_.members.length<=1,G=!!(z&&!V&&this.options.crossfade===!0&&!this.path.some(IT));this.animationProgress=0;let q;this.mixTargetDelta=F=>{const P=F/1e3;Ug(b.x,f.x,P),Ug(b.y,f.y,P),this.setTargetDelta(b),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(Al(S,this.layout.layoutBox,this.relativeParent.layout.layoutBox),WT(this.relativeTarget,this.relativeTargetOrigin,S,P),q&&UT(this.relativeTarget,q)&&(this.isProjectionDirty=!1),q||(q=_t()),Ve(q,this.relativeTarget)),z&&(this.animationValues=v,NT(v,p,this.latestValues,P,G,V)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=P},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(f){this.notifyListeners("animationStart"),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&(Qn(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=Dt.update(()=>{hr.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=fi(0)),this.currentAnimation=MT(this.motionValue,[0,1e3],{...f,velocity:0,isSync:!0,onUpdate:y=>{this.mixTargetDelta(y),f.onUpdate&&f.onUpdate(y)},onStop:()=>{},onComplete:()=>{f.onComplete&&f.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 f=this.getStack();f&&f.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(qT),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const f=this.getLead();let{targetWithTransforms:y,target:m,layout:p,latestValues:v}=f;if(!(!y||!m||!p)){if(this!==f&&this.layout&&p&&k0(this.options.animationType,this.layout.layoutBox,p.layoutBox)){m=this.target||_t();const b=re(this.layout.layoutBox.x);m.x.min=f.target.x.min,m.x.max=m.x.min+b;const S=re(this.layout.layoutBox.y);m.y.min=f.target.y.min,m.y.max=m.y.min+S}Ve(y,m),ui(y,v),El(this.projectionDeltaWithTransform,this.layoutCorrected,y,v)}}registerSharedNode(f,y){this.sharedNodes.has(f)||this.sharedNodes.set(f,new _T),this.sharedNodes.get(f).add(y);const p=y.options.initialPromotionConfig;y.promote({transition:p?p.transition:void 0,preserveFollowOpacity:p&&p.shouldPreserveFollowOpacity?p.shouldPreserveFollowOpacity(y):void 0})}isLead(){const f=this.getStack();return f?f.lead===this:!0}getLead(){const{layoutId:f}=this.options;return f?this.getStack()?.lead||this:this}getPrevLead(){const{layoutId:f}=this.options;return f?this.getStack()?.prevLead:void 0}getStack(){const{layoutId:f}=this.options;if(f)return this.root.sharedNodes.get(f)}promote({needsReset:f,transition:y,preserveFollowOpacity:m}={}){const p=this.getStack();p&&p.promote(this,m),f&&(this.projectionDelta=void 0,this.needsReset=!0),y&&this.setOptions({transition:y})}relegate(){const f=this.getStack();return f?f.relegate(this):!1}resetSkewAndRotation(){const{visualElement:f}=this.options;if(!f)return;let y=!1;const{latestValues:m}=f;if((m.z||m.rotate||m.rotateX||m.rotateY||m.rotateZ||m.skewX||m.skewY)&&(y=!0),!y)return;const p={};m.z&&uc("z",f,p,this.animationValues);for(let v=0;v<oc.length;v++)uc(`rotate${oc[v]}`,f,p,this.animationValues),uc(`skew${oc[v]}`,f,p,this.animationValues);f.render();for(const v in p)f.setStaticValue(v,p[v]),this.animationValues&&(this.animationValues[v]=p[v]);f.scheduleRender()}applyProjectionStyles(f,y){if(!this.instance||this.isSVG)return;if(!this.isVisible){f.visibility="hidden";return}const m=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,f.visibility="",f.opacity="",f.pointerEvents=dr(y?.pointerEvents)||"",f.transform=m?m(this.latestValues,""):"none";return}const p=this.getLead();if(!this.projectionDelta||!this.layout||!p.target){this.options.layoutId&&(f.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,f.pointerEvents=dr(y?.pointerEvents)||""),this.hasProjected&&!pa(this.latestValues)&&(f.transform=m?m({},""):"none",this.hasProjected=!1);return}f.visibility="";const v=p.animationValues||p.latestValues;this.applyTransformsToTarget();let b=HT(this.projectionDeltaWithTransform,this.treeScale,v);m&&(b=m(v,b)),f.transform=b;const{x:S,y:R}=this.projectionDelta;f.transformOrigin=`${S.origin*100}% ${R.origin*100}% 0`,p.animationValues?f.opacity=p===this?v.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:v.opacityExit:f.opacity=p===this?v.opacity!==void 0?v.opacity:"":v.opacityExit!==void 0?v.opacityExit:0;for(const N in Nl){if(v[N]===void 0)continue;const{correct:z,applyTo:_,isCSSVariable:V}=Nl[N],G=b==="none"?v[N]:z(v[N],p);if(_){const q=_.length;for(let F=0;F<q;F++)f[_[F]]=G}else V?this.options.visualElement.renderState.vars[N]=G:f[N]=G}this.options.layoutId&&(f.pointerEvents=p===this?dr(y?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(f=>f.currentAnimation?.stop()),this.root.nodes.forEach(zg),this.root.sharedNodes.clear()}}}function PT(a){a.updateLayout()}function GT(a){const i=a.resumeFrom?.snapshot||a.snapshot;if(a.isLead()&&a.layout&&i&&a.hasListeners("didUpdate")){const{layoutBox:s,measuredBox:r}=a.layout,{animationType:u}=a.options,d=i.source!==a.layout.source;u==="size"?ze(v=>{const b=d?i.measuredBox[v]:i.layoutBox[v],S=re(b);b.min=s[v].min,b.max=b.min+S}):k0(u,i.layoutBox,s)&&ze(v=>{const b=d?i.measuredBox[v]:i.layoutBox[v],S=re(s[v]);b.max=b.min+S,a.relativeTarget&&!a.currentAnimation&&(a.isProjectionDirty=!0,a.relativeTarget[v].max=a.relativeTarget[v].min+S)});const f=ci();El(f,s,i.layoutBox);const y=ci();d?El(y,a.applyTransform(r,!0),i.measuredBox):El(y,s,i.layoutBox);const m=!q0(f);let p=!1;if(!a.resumeFrom){const v=a.getClosestProjectingParent();if(v&&!v.resumeFrom){const{snapshot:b,layout:S}=v;if(b&&S){const R=_t();Al(R,i.layoutBox,b.layoutBox);const N=_t();Al(N,s,S.layoutBox),Y0(R,N)||(p=!0),v.options.layoutRoot&&(a.relativeTarget=N,a.relativeTargetOrigin=R,a.relativeParent=v)}}}a.notifyListeners("didUpdate",{layout:s,snapshot:i,delta:y,layoutDelta:f,hasLayoutChanged:m,hasRelativeLayoutChanged:p})}else if(a.isLead()){const{onExitComplete:s}=a.options;s&&s()}a.options.transition=void 0}function kT(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 XT(a){a.isProjectionDirty=a.isSharedProjectionDirty=a.isTransformDirty=!1}function KT(a){a.clearSnapshot()}function zg(a){a.clearMeasurements()}function Lg(a){a.isLayoutDirty=!1}function QT(a){const{visualElement:i}=a.options;i&&i.getProps().onBeforeLayoutMeasure&&i.notify("BeforeLayoutMeasure"),a.resetTransform()}function Bg(a){a.finishAnimation(),a.targetDelta=a.relativeTarget=a.target=void 0,a.isProjectionDirty=!0}function ZT(a){a.resolveTargetDelta()}function FT(a){a.calcProjection()}function JT(a){a.resetSkewAndRotation()}function $T(a){a.removeLeadSnapshot()}function Ug(a,i,s){a.translate=wt(i.translate,0,s),a.scale=wt(i.scale,1,s),a.origin=i.origin,a.originPoint=i.originPoint}function _g(a,i,s,r){a.min=wt(i.min,s.min,r),a.max=wt(i.max,s.max,r)}function WT(a,i,s,r){_g(a.x,i.x,s.x,r),_g(a.y,i.y,s.y,r)}function IT(a){return a.animationValues&&a.animationValues.opacityExit!==void 0}const t6={duration:.45,ease:[.4,0,.1,1]},Hg=a=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(a),qg=Hg("applewebkit/")&&!Hg("chrome/")?Math.round:Le;function Yg(a){a.min=qg(a.min),a.max=qg(a.max)}function e6(a){Yg(a.x),Yg(a.y)}function k0(a,i,s){return a==="position"||a==="preserve-aspect"&&!rT(Og(i),Og(s),.2)}function n6(a){return a!==a.root&&a.scroll?.wasRoot}const a6=G0({attachResizeListener:(a,i)=>Vl(a,"resize",i),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),cc={current:void 0},X0=G0({measureScroll:a=>({x:a.scrollLeft,y:a.scrollTop}),defaultParent:()=>{if(!cc.current){const a=new a6({});a.mount(window),a.setOptions({layoutScroll:!0}),cc.current=a}return cc.current},resetTransform:(a,i)=>{a.style.transform=i!==void 0?i:"none"},checkIsScrollRoot:a=>window.getComputedStyle(a).position==="fixed"}),i6={pan:{Feature:TT},drag:{Feature:ST,ProjectionNode:X0,MeasureLayout:U0}};function Pg(a,i,s){const{props:r}=a;a.animationState&&r.whileHover&&a.animationState.setActive("whileHover",s==="Start");const u="onHover"+s,d=r[u];d&&Dt.postRender(()=>d(i,ql(i)))}class l6 extends Fn{mount(){const{current:i}=this.node;i&&(this.unmount=M3(i,(s,r)=>(Pg(this.node,r,"Start"),u=>Pg(this.node,u,"End"))))}unmount(){}}class s6 extends Fn{constructor(){super(...arguments),this.isActive=!1}onFocus(){let i=!1;try{i=this.node.current.matches(":focus-visible")}catch{i=!0}!i||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){!this.isActive||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=Ul(Vl(this.node.current,"focus",()=>this.onFocus()),Vl(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function Gg(a,i,s){const{props:r}=a;if(a.current instanceof HTMLButtonElement&&a.current.disabled)return;a.animationState&&r.whileTap&&a.animationState.setActive("whileTap",s==="Start");const u="onTap"+(s==="End"?"":s),d=r[u];d&&Dt.postRender(()=>d(i,ql(i)))}class r6 extends Fn{mount(){const{current:i}=this.node;i&&(this.unmount=w3(i,(s,r)=>(Gg(this.node,r,"Start"),(u,{success:d})=>Gg(this.node,u,d?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}const Vc=new WeakMap,fc=new WeakMap,o6=a=>{const i=Vc.get(a.target);i&&i(a)},u6=a=>{a.forEach(o6)};function c6({root:a,...i}){const s=a||document;fc.has(s)||fc.set(s,{});const r=fc.get(s),u=JSON.stringify(i);return r[u]||(r[u]=new IntersectionObserver(u6,{root:a,...i})),r[u]}function f6(a,i,s){const r=c6(i);return Vc.set(a,s),r.observe(a),()=>{Vc.delete(a),r.unobserve(a)}}const d6={some:0,all:1};class h6 extends Fn{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:i={}}=this.node.getProps(),{root:s,margin:r,amount:u="some",once:d}=i,f={root:s?s.current:void 0,rootMargin:r,threshold:typeof u=="number"?u:d6[u]},y=m=>{const{isIntersecting:p}=m;if(this.isInView===p||(this.isInView=p,d&&!p&&this.hasEnteredView))return;p&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",p);const{onViewportEnter:v,onViewportLeave:b}=this.node.getProps(),S=p?v:b;S&&S(m)};return f6(this.node.current,f,y)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:i,prevProps:s}=this.node;["amount","margin","root"].some(m6(i,s))&&this.startObserver()}unmount(){}}function m6({viewport:a={}},{viewport:i={}}={}){return s=>a[s]!==i[s]}const p6={inView:{Feature:h6},tap:{Feature:r6},focus:{Feature:s6},hover:{Feature:l6}},g6={layout:{ProjectionNode:X0,MeasureLayout:U0}},y6={...eT,...p6,...i6,...g6},v6=g4(y6,C4),x6=[{id:1,question:"What is Velvety Solutions Limited?",answer:"Velvety Solutions Limited is a distinguished consulting, training, and research firm, excelling in the provision of organizational development transformation strategies and human resources solutions."},{id:2,question:"How can I join the network?",answer:'You can join the network by clicking the "JOIN THE NETWORK" button on the top info bar or contacting us via email or phone.'},{id:3,question:"What programs do you offer?",answer:"We offer various programs including mentorship, leadership development, HR clinics, and exclusive networking events."},{id:4,question:"How do I contact a team member?",answer:"You can find contact information on the Team page or reach out to us via the contact page."}];function b6(){const[a,i]=j.useState(""),[s,r]=j.useState(null),u=x6.filter(f=>f.question.toLowerCase().includes(a.toLowerCase())),d=f=>{r(s===f?null:f)};return h.jsxs("div",{className:"faq-section scroll-animate accordion-slide",children:[h.jsx("h2",{children:"Frequently Asked Questions"}),h.jsx("div",{className:"faq-search",children:h.jsx("input",{type:"text",placeholder:"Search FAQs...",value:a,onChange:f=>i(f.target.value),"aria-label":"Search FAQs"})}),h.jsx("div",{className:"faq-list",children:u.map(f=>h.jsxs("div",{className:"faq-item",children:[h.jsxs("button",{className:"faq-question",onClick:()=>d(f.id),"aria-expanded":s===f.id,"aria-controls":`faq-answer-${f.id}`,children:[h.jsx(ob,{className:"faq-icon"}),h.jsx("span",{children:f.question}),s===f.id?h.jsx(ab,{}):h.jsx(nb,{})]}),h.jsx(_3,{children:s===f.id&&h.jsx(v6.div,{id:`faq-answer-${f.id}`,className:"faq-answer",initial:{height:0,opacity:0},animate:{height:"auto",opacity:1},exit:{height:0,opacity:0},transition:{duration:.3},children:h.jsx("p",{children:f.answer})},"content")})]},f.id))})]})}function S6(){return h.jsx("main",{children:h.jsx(b6,{})})}function kg(a){let i=0;return a.length>=8&&i++,/[A-Z]/.test(a)&&i++,/[a-z]/.test(a)&&i++,/[0-9]/.test(a)&&i++,/[^A-Za-z0-9]/.test(a)&&i++,i}function T6(){const[a,i]=j.useState({fullName:"",email:"",password:"",confirmPassword:"",phone:"",terms:!1}),[s,r]=j.useState({}),[u,d]=j.useState({}),f=()=>{const S={};return a.fullName.trim()||(S.fullName="Full Name is required"),a.email?/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(a.email)||(S.email="Invalid email format"):S.email="Email is required",a.password?kg(a.password)<4&&(S.password="Password is too weak"):S.password="Password is required",a.confirmPassword?a.password!==a.confirmPassword&&(S.confirmPassword="Passwords do not match"):S.confirmPassword="Please confirm your password",a.terms||(S.terms="You must accept the terms and conditions"),S},y=S=>{const{name:R,value:N,type:z,checked:_}=S.target;i(V=>({...V,[R]:z==="checkbox"?_:N}))},m=S=>{const{name:R}=S.target;d(N=>({...N,[R]:!0}))},p=async S=>{S.preventDefault();const R=f();if(r(R),d({fullName:!0,email:!0,password:!0,confirmPassword:!0,terms:!0}),Object.keys(R).length===0)try{const N=await fetch("/api/signup",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(a)});if(N.ok)alert("Account created successfully!"),i({fullName:"",email:"",password:"",confirmPassword:"",phone:"",terms:!1});else{const z=await N.json();alert("Error: "+(z.message||"Failed to create account"))}}catch(N){alert("Network error: "+N.message)}},v=kg(a.password),b=["Very Weak","Weak","Fair","Good","Strong"];return h.jsx("div",{className:"signup-page",children:h.jsxs("div",{className:"signup-container",children:[h.jsxs("div",{className:"signup-left",children:[h.jsx("img",{src:"/images/img3.jpg",alt:"Brand Logo",className:"brand-logo"}),h.jsx("h2",{children:"Welcome to VelvetySolutionLimited"}),h.jsx("p",{children:"Your journey to transformation starts here."})]}),h.jsxs("form",{className:"signup-form",onSubmit:p,noValidate:!0,children:[h.jsx("h2",{children:"Create Account"}),h.jsx("label",{htmlFor:"fullName",children:"Full Name *"}),h.jsx("input",{type:"text",id:"fullName",name:"fullName",value:a.fullName,onChange:y,onBlur:m,"aria-describedby":"fullNameError","aria-invalid":!!s.fullName}),u.fullName&&s.fullName&&h.jsx("div",{id:"fullNameError",className:"error",children:s.fullName}),u.fullName&&!s.fullName&&h.jsx("div",{className:"valid",children:"✅"}),h.jsx("label",{htmlFor:"email",children:"Email *"}),h.jsx("input",{type:"email",id:"email",name:"email",value:a.email,onChange:y,onBlur:m,"aria-describedby":"emailError","aria-invalid":!!s.email}),u.email&&s.email&&h.jsx("div",{id:"emailError",className:"error",children:s.email}),u.email&&!s.email&&h.jsx("div",{className:"valid",children:"✅"}),h.jsx("label",{htmlFor:"password",children:"Password *"}),h.jsx("input",{type:"password",id:"password",name:"password",value:a.password,onChange:y,onBlur:m,"aria-describedby":"passwordError passwordHelp","aria-invalid":!!s.password}),u.password&&s.password&&h.jsx("div",{id:"passwordError",className:"error",children:s.password}),h.jsxs("div",{id:"passwordHelp",className:"password-help",children:[h.jsx("small",{children:"8+ characters, mix of uppercase, lowercase, number, symbol"}),h.jsxs("div",{className:`password-strength strength-${v}`,children:["Strength: ",b[v-1]||"Very Weak"]})]}),u.password&&!s.password&&h.jsx("div",{className:"valid",children:"✅"}),h.jsx("label",{htmlFor:"confirmPassword",children:"Confirm Password *"}),h.jsx("input",{type:"password",id:"confirmPassword",name:"confirmPassword",value:a.confirmPassword,onChange:y,onBlur:m,"aria-describedby":"confirmPasswordError","aria-invalid":!!s.confirmPassword}),u.confirmPassword&&s.confirmPassword&&h.jsx("div",{id:"confirmPasswordError",className:"error",children:s.confirmPassword}),u.confirmPassword&&!s.confirmPassword&&h.jsx("div",{className:"valid",children:"✅"}),h.jsx("label",{htmlFor:"phone",children:"Phone Number (Optional)"}),h.jsx("input",{type:"tel",id:"phone",name:"phone",value:a.phone,onChange:y,onBlur:m}),h.jsxs("div",{className:"terms",children:[h.jsx("input",{type:"checkbox",id:"terms",name:"terms",checked:a.terms,onChange:y,onBlur:m,"aria-describedby":"termsError"}),h.jsxs("label",{htmlFor:"terms",children:["I accept the ",h.jsx(ot,{to:"/terms",children:"terms and conditions"})," *"]})]}),u.terms&&s.terms&&h.jsx("div",{id:"termsError",className:"error",children:s.terms}),h.jsx("button",{type:"submit",className:"submit-button",children:"Create Account"}),h.jsxs("div",{className:"social-signup",children:[h.jsx("div",{className:"separator",children:"OR"}),h.jsx("button",{type:"button",className:"social-button google",children:"Continue with Google"}),h.jsx("button",{type:"button",className:"social-button facebook",children:"Continue with Facebook"})]}),h.jsxs("div",{className:"login-link",children:["Already have an account? ",h.jsx(ot,{to:"/login",children:"Log in"})]}),h.jsxs("div",{className:"trust-note",children:[h.jsx("span",{role:"img","aria-label":"lock",children:"🔒"})," Your information is safe with us."]})]})]})})}const j6=[{id:"1",title:"Featured Post One",author:"Jackson Barare",date:"August 10, 2025",image:"/images/img2.jpg",content:`
      <p>This is the full content of Featured Post One. It includes paragraphs, images, and other elements.</p>
      <blockquote>This is a pull quote with italic and larger font size.</blockquote>
      <pre><code>const example = 'Code block with monospace font and highlighted background';</code></pre>
      <table>
        <thead>
          <tr><th>Header 1</th><th>Header 2</th></tr>
        </thead>
        <tbody>
          <tr><td>Row 1 Col 1</td><td>Row 1 Col 2</td></tr>
          <tr><td>Row 2 Col 1</td><td>Row 2 Col 2</td></tr>
        </tbody>
      </table>
      <p>More content with images:</p>
      <img src="/images/img3.jpg" alt="Example" />
    `,tags:["Technology","Featured"]}],E6=[{id:"2",title:"Featured Post Two"},{id:"3",title:"Featured Post Three"}];function A6(){const{id:a}=ty(),i=j6.find(s=>s.id===a);return i?h.jsx("div",{className:"blog-post-page",children:h.jsxs("article",{children:[h.jsx("img",{src:i.image,alt:i.title,className:"feature-image"}),h.jsx("h1",{children:i.title}),h.jsxs("p",{className:"post-meta",children:["By ",i.author," | ",i.date]}),h.jsxs("div",{className:"social-sharing",children:[h.jsx("a",{href:`https://facebook.com/sharer/sharer.php?u=${window.location.href}`,target:"_blank",rel:"noopener noreferrer",children:"Facebook"}),h.jsx("a",{href:`https://twitter.com/intent/tweet?url=${window.location.href}&text=${i.title}`,target:"_blank",rel:"noopener noreferrer",children:"Twitter"}),h.jsx("a",{href:`https://linkedin.com/shareArticle?url=${window.location.href}&title=${i.title}`,target:"_blank",rel:"noopener noreferrer",children:"LinkedIn"})]}),h.jsx("div",{className:"post-content",dangerouslySetInnerHTML:{__html:i.content}}),h.jsxs("section",{className:"related-posts",children:[h.jsx("h2",{children:"Related Posts"}),h.jsx("ul",{children:E6.map(s=>h.jsx("li",{children:h.jsx(ot,{to:`/blog/${s.id}`,children:s.title})},s.id))})]}),h.jsxs("section",{className:"comments-section",children:[h.jsx("h2",{children:"Comments"}),h.jsx("p",{children:"Comments feature coming soon."})]})]})}):h.jsx("div",{children:"Post not found"})}function M6(){const{pathname:a}=bn();return j.useEffect(()=>{window.scrollTo(0,0)},[a]),null}function R6({children:a}){const{pathname:i}=bn();return j.useEffect(()=>{const s=new IntersectionObserver(u=>{u.forEach(d=>{d.isIntersecting&&d.target.classList.add("visible")})},{threshold:.1}),r=document.querySelectorAll(".scroll-animate");return r.forEach(u=>s.observe(u)),()=>{r.forEach(u=>s.unobserve(u)),s.disconnect()}},[i]),a}function D6(){const[a,i]=j.useState([]),[s,r]=j.useState(null),[u,d]=j.useState(""),[f,y]=j.useState(!1),[m,p]=j.useState("");j.useEffect(()=>{fetch("http://localhost:5000/api/images").then(b=>b.json()).then(i).catch(()=>p("Failed to fetch images"))},[]);const v=async b=>{if(b.preventDefault(),!s)return p("Please select an image");y(!0),p("");const S=new FormData;S.append("image",s),S.append("position",u);try{const R=await fetch("http://localhost:5000/api/images/upload",{method:"POST",body:S});if(!R.ok)throw new Error("Upload failed");const N=await R.json();i(z=>[...z,N]),r(null),d("")}catch(R){p(R.message)}y(!1)};return h.jsxs("div",{style:{maxWidth:600,margin:"2rem auto",padding:24,border:"1px solid #ccc",borderRadius:8},children:[h.jsx("h2",{children:"Admin Dashboard - Image Manager"}),h.jsxs("form",{onSubmit:v,style:{marginBottom:24},children:[h.jsx("input",{type:"file",accept:"image/*",onChange:b=>r(b.target.files[0]),required:!0}),h.jsx("input",{type:"text",placeholder:"Position (e.g. about-section-left)",value:u,onChange:b=>d(b.target.value),style:{marginLeft:8}}),h.jsx("button",{type:"submit",disabled:f,style:{marginLeft:8},children:f?"Uploading...":"Upload"})]}),m&&h.jsx("div",{style:{color:"red",marginBottom:16},children:m}),h.jsx("h3",{children:"Uploaded Images"}),h.jsx("ul",{style:{listStyle:"none",padding:0},children:a.map(b=>h.jsxs("li",{style:{marginBottom:16,display:"flex",alignItems:"center"},children:[h.jsx("img",{src:`http://localhost:5000${b.url}`,alt:b.filename,style:{width:80,height:60,objectFit:"cover",marginRight:16}}),h.jsxs("div",{children:[h.jsxs("div",{children:[h.jsx("strong",{children:"Position:"})," ",b.position||"-"]}),h.jsxs("div",{children:[h.jsx("strong",{children:"URL:"}),h.jsx("input",{type:"text",value:`http://localhost:5000${b.url}`,readOnly:!0,style:{width:250,marginLeft:8},onFocus:S=>S.target.select()})]})]})]},b._id||b.id))})]})}function C6(){return h.jsxs(_x,{children:[h.jsx(Cb,{}),h.jsx(M6,{}),h.jsx(R6,{children:h.jsxs(px,{children:[h.jsx(se,{path:"/",element:h.jsx(gb,{})}),h.jsx(se,{path:"/blog",element:h.jsx(Sb,{})}),h.jsx(se,{path:"/blog/:id",element:h.jsx(A6,{})}),h.jsx(se,{path:"/contact",element:h.jsx(Tb,{})}),h.jsx(se,{path:"/programs",element:h.jsx(Eb,{})}),h.jsx(se,{path:"/programs/:id",element:h.jsx(Mb,{})}),h.jsx(se,{path:"/mentorship",element:h.jsx(Db,{})}),h.jsx(se,{path:"/gallery",element:h.jsx(Nb,{})}),h.jsx(se,{path:"/videos",element:h.jsx(Vb,{})}),h.jsx(se,{path:"/about",element:h.jsx(zb,{})}),h.jsx(se,{path:"/team",element:h.jsx(Ub,{})}),h.jsx(se,{path:"/faq",element:h.jsx(S6,{})}),h.jsx(se,{path:"/signup",element:h.jsx(T6,{})}),h.jsx(se,{path:"/admin",element:h.jsx(D6,{})})]})}),h.jsx(wb,{})]})}function w6(){return h.jsx(C6,{})}function N6(){return j.useEffect(()=>{const a=new IntersectionObserver(s=>{s.forEach(r=>{r.isIntersecting&&r.target.classList.add("visible")})},{threshold:.1}),i=document.querySelectorAll(".scroll-animate");return i.forEach(s=>a.observe(s)),()=>{i.forEach(s=>a.unobserve(s))}},[]),h.jsx(j.StrictMode,{children:h.jsx(w6,{})})}E2.createRoot(document.getElementById("root")).render(h.jsx(N6,{}));
