(function(){const d=document.createElement("link").relList;if(d&&d.supports&&d.supports("modulepreload"))return;for(const f of document.querySelectorAll('link[rel="modulepreload"]'))c(f);new MutationObserver(f=>{for(const h of f)if(h.type==="childList")for(const v of h.addedNodes)v.tagName==="LINK"&&v.rel==="modulepreload"&&c(v)}).observe(document,{childList:!0,subtree:!0});function u(f){const h={};return f.integrity&&(h.integrity=f.integrity),f.referrerPolicy&&(h.referrerPolicy=f.referrerPolicy),f.crossOrigin==="use-credentials"?h.credentials="include":f.crossOrigin==="anonymous"?h.credentials="omit":h.credentials="same-origin",h}function c(f){if(f.ep)return;f.ep=!0;const h=u(f);fetch(f.href,h)}})();var Zc={exports:{}},Fn={};/**
 * @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 dm;function Jp(){if(dm)return Fn;dm=1;var r=Symbol.for("react.transitional.element"),d=Symbol.for("react.fragment");function u(c,f,h){var v=null;if(h!==void 0&&(v=""+h),f.key!==void 0&&(v=""+f.key),"key"in f){h={};for(var N in f)N!=="key"&&(h[N]=f[N])}else h=f;return f=h.ref,{$$typeof:r,type:c,key:v,ref:f!==void 0?f:null,props:h}}return Fn.Fragment=d,Fn.jsx=u,Fn.jsxs=u,Fn}var fm;function $p(){return fm||(fm=1,Zc.exports=Jp()),Zc.exports}var i=$p(),Kc={exports:{}},ne={};/**
 * @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 mm;function Wp(){if(mm)return ne;mm=1;var r=Symbol.for("react.transitional.element"),d=Symbol.for("react.portal"),u=Symbol.for("react.fragment"),c=Symbol.for("react.strict_mode"),f=Symbol.for("react.profiler"),h=Symbol.for("react.consumer"),v=Symbol.for("react.context"),N=Symbol.for("react.forward_ref"),p=Symbol.for("react.suspense"),x=Symbol.for("react.memo"),A=Symbol.for("react.lazy"),C=Symbol.iterator;function T(y){return y===null||typeof y!="object"?null:(y=C&&y[C]||y["@@iterator"],typeof y=="function"?y:null)}var G={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},_=Object.assign,L={};function V(y,q,X){this.props=y,this.context=q,this.refs=L,this.updater=X||G}V.prototype.isReactComponent={},V.prototype.setState=function(y,q){if(typeof y!="object"&&typeof y!="function"&&y!=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,y,q,"setState")},V.prototype.forceUpdate=function(y){this.updater.enqueueForceUpdate(this,y,"forceUpdate")};function B(){}B.prototype=V.prototype;function Q(y,q,X){this.props=y,this.context=q,this.refs=L,this.updater=X||G}var F=Q.prototype=new B;F.constructor=Q,_(F,V.prototype),F.isPureReactComponent=!0;var se=Array.isArray,I={H:null,A:null,T:null,S:null,V:null},we=Object.prototype.hasOwnProperty;function Ee(y,q,X,H,Z,ue){return X=ue.ref,{$$typeof:r,type:y,key:q,ref:X!==void 0?X:null,props:ue}}function K(y,q){return Ee(y.type,q,void 0,void 0,void 0,y.props)}function me(y){return typeof y=="object"&&y!==null&&y.$$typeof===r}function $e(y){var q={"=":"=0",":":"=2"};return"$"+y.replace(/[=:]/g,function(X){return q[X]})}var rt=/\/+/g;function Ge(y,q){return typeof y=="object"&&y!==null&&y.key!=null?$e(""+y.key):q.toString(36)}function kt(){}function Dt(y){switch(y.status){case"fulfilled":return y.value;case"rejected":throw y.reason;default:switch(typeof y.status=="string"?y.then(kt,kt):(y.status="pending",y.then(function(q){y.status==="pending"&&(y.status="fulfilled",y.value=q)},function(q){y.status==="pending"&&(y.status="rejected",y.reason=q)})),y.status){case"fulfilled":return y.value;case"rejected":throw y.reason}}throw y}function Oe(y,q,X,H,Z){var ue=typeof y;(ue==="undefined"||ue==="boolean")&&(y=null);var le=!1;if(y===null)le=!0;else switch(ue){case"bigint":case"string":case"number":le=!0;break;case"object":switch(y.$$typeof){case r:case d:le=!0;break;case A:return le=y._init,Oe(le(y._payload),q,X,H,Z)}}if(le)return Z=Z(y),le=H===""?"."+Ge(y,0):H,se(Z)?(X="",le!=null&&(X=le.replace(rt,"$&/")+"/"),Oe(Z,q,X,"",function(ht){return ht})):Z!=null&&(me(Z)&&(Z=K(Z,X+(Z.key==null||y&&y.key===Z.key?"":(""+Z.key).replace(rt,"$&/")+"/")+le)),q.push(Z)),1;le=0;var ve=H===""?".":H+":";if(se(y))for(var Re=0;Re<y.length;Re++)H=y[Re],ue=ve+Ge(H,Re),le+=Oe(H,q,X,ue,Z);else if(Re=T(y),typeof Re=="function")for(y=Re.call(y),Re=0;!(H=y.next()).done;)H=H.value,ue=ve+Ge(H,Re++),le+=Oe(H,q,X,ue,Z);else if(ue==="object"){if(typeof y.then=="function")return Oe(Dt(y),q,X,H,Z);throw q=String(y),Error("Objects are not valid as a React child (found: "+(q==="[object Object]"?"object with keys {"+Object.keys(y).join(", ")+"}":q)+"). If you meant to render a collection of children, use an array instead.")}return le}function R(y,q,X){if(y==null)return y;var H=[],Z=0;return Oe(y,H,"","",function(ue){return q.call(X,ue,Z++)}),H}function Y(y){if(y._status===-1){var q=y._result;q=q(),q.then(function(X){(y._status===0||y._status===-1)&&(y._status=1,y._result=X)},function(X){(y._status===0||y._status===-1)&&(y._status=2,y._result=X)}),y._status===-1&&(y._status=0,y._result=q)}if(y._status===1)return y._result.default;throw y._result}var k=typeof reportError=="function"?reportError:function(y){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var q=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof y=="object"&&y!==null&&typeof y.message=="string"?String(y.message):String(y),error:y});if(!window.dispatchEvent(q))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",y);return}console.error(y)};function je(){}return ne.Children={map:R,forEach:function(y,q,X){R(y,function(){q.apply(this,arguments)},X)},count:function(y){var q=0;return R(y,function(){q++}),q},toArray:function(y){return R(y,function(q){return q})||[]},only:function(y){if(!me(y))throw Error("React.Children.only expected to receive a single React element child.");return y}},ne.Component=V,ne.Fragment=u,ne.Profiler=f,ne.PureComponent=Q,ne.StrictMode=c,ne.Suspense=p,ne.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=I,ne.__COMPILER_RUNTIME={__proto__:null,c:function(y){return I.H.useMemoCache(y)}},ne.cache=function(y){return function(){return y.apply(null,arguments)}},ne.cloneElement=function(y,q,X){if(y==null)throw Error("The argument must be a React element, but you passed "+y+".");var H=_({},y.props),Z=y.key,ue=void 0;if(q!=null)for(le in q.ref!==void 0&&(ue=void 0),q.key!==void 0&&(Z=""+q.key),q)!we.call(q,le)||le==="key"||le==="__self"||le==="__source"||le==="ref"&&q.ref===void 0||(H[le]=q[le]);var le=arguments.length-2;if(le===1)H.children=X;else if(1<le){for(var ve=Array(le),Re=0;Re<le;Re++)ve[Re]=arguments[Re+2];H.children=ve}return Ee(y.type,Z,void 0,void 0,ue,H)},ne.createContext=function(y){return y={$$typeof:v,_currentValue:y,_currentValue2:y,_threadCount:0,Provider:null,Consumer:null},y.Provider=y,y.Consumer={$$typeof:h,_context:y},y},ne.createElement=function(y,q,X){var H,Z={},ue=null;if(q!=null)for(H in q.key!==void 0&&(ue=""+q.key),q)we.call(q,H)&&H!=="key"&&H!=="__self"&&H!=="__source"&&(Z[H]=q[H]);var le=arguments.length-2;if(le===1)Z.children=X;else if(1<le){for(var ve=Array(le),Re=0;Re<le;Re++)ve[Re]=arguments[Re+2];Z.children=ve}if(y&&y.defaultProps)for(H in le=y.defaultProps,le)Z[H]===void 0&&(Z[H]=le[H]);return Ee(y,ue,void 0,void 0,null,Z)},ne.createRef=function(){return{current:null}},ne.forwardRef=function(y){return{$$typeof:N,render:y}},ne.isValidElement=me,ne.lazy=function(y){return{$$typeof:A,_payload:{_status:-1,_result:y},_init:Y}},ne.memo=function(y,q){return{$$typeof:x,type:y,compare:q===void 0?null:q}},ne.startTransition=function(y){var q=I.T,X={};I.T=X;try{var H=y(),Z=I.S;Z!==null&&Z(X,H),typeof H=="object"&&H!==null&&typeof H.then=="function"&&H.then(je,k)}catch(ue){k(ue)}finally{I.T=q}},ne.unstable_useCacheRefresh=function(){return I.H.useCacheRefresh()},ne.use=function(y){return I.H.use(y)},ne.useActionState=function(y,q,X){return I.H.useActionState(y,q,X)},ne.useCallback=function(y,q){return I.H.useCallback(y,q)},ne.useContext=function(y){return I.H.useContext(y)},ne.useDebugValue=function(){},ne.useDeferredValue=function(y,q){return I.H.useDeferredValue(y,q)},ne.useEffect=function(y,q,X){var H=I.H;if(typeof X=="function")throw Error("useEffect CRUD overload is not enabled in this build of React.");return H.useEffect(y,q)},ne.useId=function(){return I.H.useId()},ne.useImperativeHandle=function(y,q,X){return I.H.useImperativeHandle(y,q,X)},ne.useInsertionEffect=function(y,q){return I.H.useInsertionEffect(y,q)},ne.useLayoutEffect=function(y,q){return I.H.useLayoutEffect(y,q)},ne.useMemo=function(y,q){return I.H.useMemo(y,q)},ne.useOptimistic=function(y,q){return I.H.useOptimistic(y,q)},ne.useReducer=function(y,q,X){return I.H.useReducer(y,q,X)},ne.useRef=function(y){return I.H.useRef(y)},ne.useState=function(y){return I.H.useState(y)},ne.useSyncExternalStore=function(y,q,X){return I.H.useSyncExternalStore(y,q,X)},ne.useTransition=function(){return I.H.useTransition()},ne.version="19.1.0",ne}var hm;function co(){return hm||(hm=1,Kc.exports=Wp()),Kc.exports}var z=co(),Jc={exports:{}},ei={},$c={exports:{}},Wc={};/**
 * @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 xm;function Pp(){return xm||(xm=1,function(r){function d(R,Y){var k=R.length;R.push(Y);e:for(;0<k;){var je=k-1>>>1,y=R[je];if(0<f(y,Y))R[je]=Y,R[k]=y,k=je;else break e}}function u(R){return R.length===0?null:R[0]}function c(R){if(R.length===0)return null;var Y=R[0],k=R.pop();if(k!==Y){R[0]=k;e:for(var je=0,y=R.length,q=y>>>1;je<q;){var X=2*(je+1)-1,H=R[X],Z=X+1,ue=R[Z];if(0>f(H,k))Z<y&&0>f(ue,H)?(R[je]=ue,R[Z]=k,je=Z):(R[je]=H,R[X]=k,je=X);else if(Z<y&&0>f(ue,k))R[je]=ue,R[Z]=k,je=Z;else break e}}return Y}function f(R,Y){var k=R.sortIndex-Y.sortIndex;return k!==0?k:R.id-Y.id}if(r.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var h=performance;r.unstable_now=function(){return h.now()}}else{var v=Date,N=v.now();r.unstable_now=function(){return v.now()-N}}var p=[],x=[],A=1,C=null,T=3,G=!1,_=!1,L=!1,V=!1,B=typeof setTimeout=="function"?setTimeout:null,Q=typeof clearTimeout=="function"?clearTimeout:null,F=typeof setImmediate<"u"?setImmediate:null;function se(R){for(var Y=u(x);Y!==null;){if(Y.callback===null)c(x);else if(Y.startTime<=R)c(x),Y.sortIndex=Y.expirationTime,d(p,Y);else break;Y=u(x)}}function I(R){if(L=!1,se(R),!_)if(u(p)!==null)_=!0,we||(we=!0,Ge());else{var Y=u(x);Y!==null&&Oe(I,Y.startTime-R)}}var we=!1,Ee=-1,K=5,me=-1;function $e(){return V?!0:!(r.unstable_now()-me<K)}function rt(){if(V=!1,we){var R=r.unstable_now();me=R;var Y=!0;try{e:{_=!1,L&&(L=!1,Q(Ee),Ee=-1),G=!0;var k=T;try{t:{for(se(R),C=u(p);C!==null&&!(C.expirationTime>R&&$e());){var je=C.callback;if(typeof je=="function"){C.callback=null,T=C.priorityLevel;var y=je(C.expirationTime<=R);if(R=r.unstable_now(),typeof y=="function"){C.callback=y,se(R),Y=!0;break t}C===u(p)&&c(p),se(R)}else c(p);C=u(p)}if(C!==null)Y=!0;else{var q=u(x);q!==null&&Oe(I,q.startTime-R),Y=!1}}break e}finally{C=null,T=k,G=!1}Y=void 0}}finally{Y?Ge():we=!1}}}var Ge;if(typeof F=="function")Ge=function(){F(rt)};else if(typeof MessageChannel<"u"){var kt=new MessageChannel,Dt=kt.port2;kt.port1.onmessage=rt,Ge=function(){Dt.postMessage(null)}}else Ge=function(){B(rt,0)};function Oe(R,Y){Ee=B(function(){R(r.unstable_now())},Y)}r.unstable_IdlePriority=5,r.unstable_ImmediatePriority=1,r.unstable_LowPriority=4,r.unstable_NormalPriority=3,r.unstable_Profiling=null,r.unstable_UserBlockingPriority=2,r.unstable_cancelCallback=function(R){R.callback=null},r.unstable_forceFrameRate=function(R){0>R||125<R?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):K=0<R?Math.floor(1e3/R):5},r.unstable_getCurrentPriorityLevel=function(){return T},r.unstable_next=function(R){switch(T){case 1:case 2:case 3:var Y=3;break;default:Y=T}var k=T;T=Y;try{return R()}finally{T=k}},r.unstable_requestPaint=function(){V=!0},r.unstable_runWithPriority=function(R,Y){switch(R){case 1:case 2:case 3:case 4:case 5:break;default:R=3}var k=T;T=R;try{return Y()}finally{T=k}},r.unstable_scheduleCallback=function(R,Y,k){var je=r.unstable_now();switch(typeof k=="object"&&k!==null?(k=k.delay,k=typeof k=="number"&&0<k?je+k:je):k=je,R){case 1:var y=-1;break;case 2:y=250;break;case 5:y=1073741823;break;case 4:y=1e4;break;default:y=5e3}return y=k+y,R={id:A++,callback:Y,priorityLevel:R,startTime:k,expirationTime:y,sortIndex:-1},k>je?(R.sortIndex=k,d(x,R),u(p)===null&&R===u(x)&&(L?(Q(Ee),Ee=-1):L=!0,Oe(I,k-je))):(R.sortIndex=y,d(p,R),_||G||(_=!0,we||(we=!0,Ge()))),R},r.unstable_shouldYield=$e,r.unstable_wrapCallback=function(R){var Y=T;return function(){var k=T;T=Y;try{return R.apply(this,arguments)}finally{T=k}}}}(Wc)),Wc}var pm;function Ip(){return pm||(pm=1,$c.exports=Pp()),$c.exports}var Pc={exports:{}},st={};/**
 * @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 gm;function Fp(){if(gm)return st;gm=1;var r=co();function d(p){var x="https://react.dev/errors/"+p;if(1<arguments.length){x+="?args[]="+encodeURIComponent(arguments[1]);for(var A=2;A<arguments.length;A++)x+="&args[]="+encodeURIComponent(arguments[A])}return"Minified React error #"+p+"; visit "+x+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function u(){}var c={d:{f:u,r:function(){throw Error(d(522))},D:u,C:u,L:u,m:u,X:u,S:u,M:u},p:0,findDOMNode:null},f=Symbol.for("react.portal");function h(p,x,A){var C=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:f,key:C==null?null:""+C,children:p,containerInfo:x,implementation:A}}var v=r.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function N(p,x){if(p==="font")return"";if(typeof x=="string")return x==="use-credentials"?x:""}return st.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=c,st.createPortal=function(p,x){var A=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!x||x.nodeType!==1&&x.nodeType!==9&&x.nodeType!==11)throw Error(d(299));return h(p,x,null,A)},st.flushSync=function(p){var x=v.T,A=c.p;try{if(v.T=null,c.p=2,p)return p()}finally{v.T=x,c.p=A,c.d.f()}},st.preconnect=function(p,x){typeof p=="string"&&(x?(x=x.crossOrigin,x=typeof x=="string"?x==="use-credentials"?x:"":void 0):x=null,c.d.C(p,x))},st.prefetchDNS=function(p){typeof p=="string"&&c.d.D(p)},st.preinit=function(p,x){if(typeof p=="string"&&x&&typeof x.as=="string"){var A=x.as,C=N(A,x.crossOrigin),T=typeof x.integrity=="string"?x.integrity:void 0,G=typeof x.fetchPriority=="string"?x.fetchPriority:void 0;A==="style"?c.d.S(p,typeof x.precedence=="string"?x.precedence:void 0,{crossOrigin:C,integrity:T,fetchPriority:G}):A==="script"&&c.d.X(p,{crossOrigin:C,integrity:T,fetchPriority:G,nonce:typeof x.nonce=="string"?x.nonce:void 0})}},st.preinitModule=function(p,x){if(typeof p=="string")if(typeof x=="object"&&x!==null){if(x.as==null||x.as==="script"){var A=N(x.as,x.crossOrigin);c.d.M(p,{crossOrigin:A,integrity:typeof x.integrity=="string"?x.integrity:void 0,nonce:typeof x.nonce=="string"?x.nonce:void 0})}}else x==null&&c.d.M(p)},st.preload=function(p,x){if(typeof p=="string"&&typeof x=="object"&&x!==null&&typeof x.as=="string"){var A=x.as,C=N(A,x.crossOrigin);c.d.L(p,A,{crossOrigin:C,integrity:typeof x.integrity=="string"?x.integrity:void 0,nonce:typeof x.nonce=="string"?x.nonce:void 0,type:typeof x.type=="string"?x.type:void 0,fetchPriority:typeof x.fetchPriority=="string"?x.fetchPriority:void 0,referrerPolicy:typeof x.referrerPolicy=="string"?x.referrerPolicy:void 0,imageSrcSet:typeof x.imageSrcSet=="string"?x.imageSrcSet:void 0,imageSizes:typeof x.imageSizes=="string"?x.imageSizes:void 0,media:typeof x.media=="string"?x.media:void 0})}},st.preloadModule=function(p,x){if(typeof p=="string")if(x){var A=N(x.as,x.crossOrigin);c.d.m(p,{as:typeof x.as=="string"&&x.as!=="script"?x.as:void 0,crossOrigin:A,integrity:typeof x.integrity=="string"?x.integrity:void 0})}else c.d.m(p)},st.requestFormReset=function(p){c.d.r(p)},st.unstable_batchedUpdates=function(p,x){return p(x)},st.useFormState=function(p,x,A){return v.H.useFormState(p,x,A)},st.useFormStatus=function(){return v.H.useHostTransitionStatus()},st.version="19.1.0",st}var vm;function eg(){if(vm)return Pc.exports;vm=1;function r(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(r)}catch(d){console.error(d)}}return r(),Pc.exports=Fp(),Pc.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 ym;function tg(){if(ym)return ei;ym=1;var r=Ip(),d=co(),u=eg();function c(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var a=2;a<arguments.length;a++)t+="&args[]="+encodeURIComponent(arguments[a])}return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function f(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function h(e){var t=e,a=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,(t.flags&4098)!==0&&(a=t.return),e=t.return;while(e)}return t.tag===3?a:null}function v(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function N(e){if(h(e)!==e)throw Error(c(188))}function p(e){var t=e.alternate;if(!t){if(t=h(e),t===null)throw Error(c(188));return t!==e?null:e}for(var a=e,l=t;;){var n=a.return;if(n===null)break;var s=n.alternate;if(s===null){if(l=n.return,l!==null){a=l;continue}break}if(n.child===s.child){for(s=n.child;s;){if(s===a)return N(n),e;if(s===l)return N(n),t;s=s.sibling}throw Error(c(188))}if(a.return!==l.return)a=n,l=s;else{for(var o=!1,m=n.child;m;){if(m===a){o=!0,a=n,l=s;break}if(m===l){o=!0,l=n,a=s;break}m=m.sibling}if(!o){for(m=s.child;m;){if(m===a){o=!0,a=s,l=n;break}if(m===l){o=!0,l=s,a=n;break}m=m.sibling}if(!o)throw Error(c(189))}}if(a.alternate!==l)throw Error(c(190))}if(a.tag!==3)throw Error(c(188));return a.stateNode.current===a?e:t}function x(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=x(e),t!==null)return t;e=e.sibling}return null}var A=Object.assign,C=Symbol.for("react.element"),T=Symbol.for("react.transitional.element"),G=Symbol.for("react.portal"),_=Symbol.for("react.fragment"),L=Symbol.for("react.strict_mode"),V=Symbol.for("react.profiler"),B=Symbol.for("react.provider"),Q=Symbol.for("react.consumer"),F=Symbol.for("react.context"),se=Symbol.for("react.forward_ref"),I=Symbol.for("react.suspense"),we=Symbol.for("react.suspense_list"),Ee=Symbol.for("react.memo"),K=Symbol.for("react.lazy"),me=Symbol.for("react.activity"),$e=Symbol.for("react.memo_cache_sentinel"),rt=Symbol.iterator;function Ge(e){return e===null||typeof e!="object"?null:(e=rt&&e[rt]||e["@@iterator"],typeof e=="function"?e:null)}var kt=Symbol.for("react.client.reference");function Dt(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===kt?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case _:return"Fragment";case V:return"Profiler";case L:return"StrictMode";case I:return"Suspense";case we:return"SuspenseList";case me:return"Activity"}if(typeof e=="object")switch(e.$$typeof){case G:return"Portal";case F:return(e.displayName||"Context")+".Provider";case Q:return(e._context.displayName||"Context")+".Consumer";case se:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Ee:return t=e.displayName||null,t!==null?t:Dt(e.type)||"Memo";case K:t=e._payload,e=e._init;try{return Dt(e(t))}catch{}}return null}var Oe=Array.isArray,R=d.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Y=u.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,k={pending:!1,data:null,method:null,action:null},je=[],y=-1;function q(e){return{current:e}}function X(e){0>y||(e.current=je[y],je[y]=null,y--)}function H(e,t){y++,je[y]=e.current,e.current=t}var Z=q(null),ue=q(null),le=q(null),ve=q(null);function Re(e,t){switch(H(le,t),H(ue,e),H(Z,null),t.nodeType){case 9:case 11:e=(e=t.documentElement)&&(e=e.namespaceURI)?Bf(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)t=Bf(t),e=Lf(t,e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}X(Z),H(Z,e)}function ht(){X(Z),X(ue),X(le)}function ma(e){e.memoizedState!==null&&H(ve,e);var t=Z.current,a=Lf(t,e.type);t!==a&&(H(ue,e),H(Z,a))}function ha(e){ue.current===e&&(X(Z),X(ue)),ve.current===e&&(X(ve),Jn._currentValue=k)}var xa=Object.prototype.hasOwnProperty,Ds=r.unstable_scheduleCallback,Os=r.unstable_cancelCallback,Eh=r.unstable_shouldYield,Mh=r.unstable_requestPaint,Ht=r.unstable_now,zh=r.unstable_getCurrentPriorityLevel,vo=r.unstable_ImmediatePriority,yo=r.unstable_UserBlockingPriority,di=r.unstable_NormalPriority,Th=r.unstable_LowPriority,bo=r.unstable_IdlePriority,Rh=r.log,Ch=r.unstable_setDisableYieldValue,tn=null,xt=null;function pa(e){if(typeof Rh=="function"&&Ch(e),xt&&typeof xt.setStrictMode=="function")try{xt.setStrictMode(tn,e)}catch{}}var pt=Math.clz32?Math.clz32:Oh,_h=Math.log,Dh=Math.LN2;function Oh(e){return e>>>=0,e===0?32:31-(_h(e)/Dh|0)|0}var fi=256,mi=4194304;function Va(e){var t=e&42;if(t!==0)return t;switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194048;case 4194304:case 8388608:case 16777216:case 33554432:return e&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return e}}function hi(e,t,a){var l=e.pendingLanes;if(l===0)return 0;var n=0,s=e.suspendedLanes,o=e.pingedLanes;e=e.warmLanes;var m=l&134217727;return m!==0?(l=m&~s,l!==0?n=Va(l):(o&=m,o!==0?n=Va(o):a||(a=m&~e,a!==0&&(n=Va(a))))):(m=l&~s,m!==0?n=Va(m):o!==0?n=Va(o):a||(a=l&~e,a!==0&&(n=Va(a)))),n===0?0:t!==0&&t!==n&&(t&s)===0&&(s=n&-n,a=t&-t,s>=a||s===32&&(a&4194048)!==0)?t:n}function an(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function Uh(e,t){switch(e){case 1:case 2:case 4:case 8:case 64:return t+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function jo(){var e=fi;return fi<<=1,(fi&4194048)===0&&(fi=256),e}function No(){var e=mi;return mi<<=1,(mi&62914560)===0&&(mi=4194304),e}function Us(e){for(var t=[],a=0;31>a;a++)t.push(e);return t}function ln(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function qh(e,t,a,l,n,s){var o=e.pendingLanes;e.pendingLanes=a,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=a,e.entangledLanes&=a,e.errorRecoveryDisabledLanes&=a,e.shellSuspendCounter=0;var m=e.entanglements,g=e.expirationTimes,w=e.hiddenUpdates;for(a=o&~a;0<a;){var D=31-pt(a),U=1<<D;m[D]=0,g[D]=-1;var E=w[D];if(E!==null)for(w[D]=null,D=0;D<E.length;D++){var M=E[D];M!==null&&(M.lane&=-536870913)}a&=~U}l!==0&&So(e,l,0),s!==0&&n===0&&e.tag!==0&&(e.suspendedLanes|=s&~(o&~t))}function So(e,t,a){e.pendingLanes|=t,e.suspendedLanes&=~t;var l=31-pt(t);e.entangledLanes|=t,e.entanglements[l]=e.entanglements[l]|1073741824|a&4194090}function Ao(e,t){var a=e.entangledLanes|=t;for(e=e.entanglements;a;){var l=31-pt(a),n=1<<l;n&t|e[l]&t&&(e[l]|=t),a&=~n}}function qs(e){switch(e){case 2:e=1;break;case 8:e=4;break;case 32:e=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:e=128;break;case 268435456:e=134217728;break;default:e=0}return e}function ks(e){return e&=-e,2<e?8<e?(e&134217727)!==0?32:268435456:8:2}function wo(){var e=Y.p;return e!==0?e:(e=window.event,e===void 0?32:im(e.type))}function kh(e,t){var a=Y.p;try{return Y.p=e,t()}finally{Y.p=a}}var ga=Math.random().toString(36).slice(2),nt="__reactFiber$"+ga,ot="__reactProps$"+ga,ul="__reactContainer$"+ga,Hs="__reactEvents$"+ga,Hh="__reactListeners$"+ga,Bh="__reactHandles$"+ga,Eo="__reactResources$"+ga,nn="__reactMarker$"+ga;function Bs(e){delete e[nt],delete e[ot],delete e[Hs],delete e[Hh],delete e[Bh]}function dl(e){var t=e[nt];if(t)return t;for(var a=e.parentNode;a;){if(t=a[ul]||a[nt]){if(a=t.alternate,t.child!==null||a!==null&&a.child!==null)for(e=Xf(e);e!==null;){if(a=e[nt])return a;e=Xf(e)}return t}e=a,a=e.parentNode}return null}function fl(e){if(e=e[nt]||e[ul]){var t=e.tag;if(t===5||t===6||t===13||t===26||t===27||t===3)return e}return null}function sn(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e.stateNode;throw Error(c(33))}function ml(e){var t=e[Eo];return t||(t=e[Eo]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function We(e){e[nn]=!0}var Mo=new Set,zo={};function Xa(e,t){hl(e,t),hl(e+"Capture",t)}function hl(e,t){for(zo[e]=t,e=0;e<t.length;e++)Mo.add(t[e])}var Lh=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]*$"),To={},Ro={};function Gh(e){return xa.call(Ro,e)?!0:xa.call(To,e)?!1:Lh.test(e)?Ro[e]=!0:(To[e]=!0,!1)}function xi(e,t,a){if(Gh(t))if(a===null)e.removeAttribute(t);else{switch(typeof a){case"undefined":case"function":case"symbol":e.removeAttribute(t);return;case"boolean":var l=t.toLowerCase().slice(0,5);if(l!=="data-"&&l!=="aria-"){e.removeAttribute(t);return}}e.setAttribute(t,""+a)}}function pi(e,t,a){if(a===null)e.removeAttribute(t);else{switch(typeof a){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(t);return}e.setAttribute(t,""+a)}}function Zt(e,t,a,l){if(l===null)e.removeAttribute(a);else{switch(typeof l){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(a);return}e.setAttributeNS(t,a,""+l)}}var Ls,Co;function xl(e){if(Ls===void 0)try{throw Error()}catch(a){var t=a.stack.trim().match(/\n( *(at )?)/);Ls=t&&t[1]||"",Co=-1<a.stack.indexOf(`
    at`)?" (<anonymous>)":-1<a.stack.indexOf("@")?"@unknown:0:0":""}return`
`+Ls+e+Co}var Gs=!1;function Ys(e,t){if(!e||Gs)return"";Gs=!0;var a=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var l={DetermineComponentFrameRoot:function(){try{if(t){var U=function(){throw Error()};if(Object.defineProperty(U.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(U,[])}catch(M){var E=M}Reflect.construct(e,[],U)}else{try{U.call()}catch(M){E=M}e.call(U.prototype)}}else{try{throw Error()}catch(M){E=M}(U=e())&&typeof U.catch=="function"&&U.catch(function(){})}}catch(M){if(M&&E&&typeof M.stack=="string")return[M.stack,E.stack]}return[null,null]}};l.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var n=Object.getOwnPropertyDescriptor(l.DetermineComponentFrameRoot,"name");n&&n.configurable&&Object.defineProperty(l.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var s=l.DetermineComponentFrameRoot(),o=s[0],m=s[1];if(o&&m){var g=o.split(`
`),w=m.split(`
`);for(n=l=0;l<g.length&&!g[l].includes("DetermineComponentFrameRoot");)l++;for(;n<w.length&&!w[n].includes("DetermineComponentFrameRoot");)n++;if(l===g.length||n===w.length)for(l=g.length-1,n=w.length-1;1<=l&&0<=n&&g[l]!==w[n];)n--;for(;1<=l&&0<=n;l--,n--)if(g[l]!==w[n]){if(l!==1||n!==1)do if(l--,n--,0>n||g[l]!==w[n]){var D=`
`+g[l].replace(" at new "," at ");return e.displayName&&D.includes("<anonymous>")&&(D=D.replace("<anonymous>",e.displayName)),D}while(1<=l&&0<=n);break}}}finally{Gs=!1,Error.prepareStackTrace=a}return(a=e?e.displayName||e.name:"")?xl(a):""}function Yh(e){switch(e.tag){case 26:case 27:case 5:return xl(e.type);case 16:return xl("Lazy");case 13:return xl("Suspense");case 19:return xl("SuspenseList");case 0:case 15:return Ys(e.type,!1);case 11:return Ys(e.type.render,!1);case 1:return Ys(e.type,!0);case 31:return xl("Activity");default:return""}}function _o(e){try{var t="";do t+=Yh(e),e=e.return;while(e);return t}catch(a){return`
Error generating stack: `+a.message+`
`+a.stack}}function At(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Do(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Vh(e){var t=Do(e)?"checked":"value",a=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),l=""+e[t];if(!e.hasOwnProperty(t)&&typeof a<"u"&&typeof a.get=="function"&&typeof a.set=="function"){var n=a.get,s=a.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return n.call(this)},set:function(o){l=""+o,s.call(this,o)}}),Object.defineProperty(e,t,{enumerable:a.enumerable}),{getValue:function(){return l},setValue:function(o){l=""+o},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function gi(e){e._valueTracker||(e._valueTracker=Vh(e))}function Oo(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var a=t.getValue(),l="";return e&&(l=Do(e)?e.checked?"true":"false":e.value),e=l,e!==a?(t.setValue(e),!0):!1}function vi(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}var Xh=/[\n"\\]/g;function wt(e){return e.replace(Xh,function(t){return"\\"+t.charCodeAt(0).toString(16)+" "})}function Vs(e,t,a,l,n,s,o,m){e.name="",o!=null&&typeof o!="function"&&typeof o!="symbol"&&typeof o!="boolean"?e.type=o:e.removeAttribute("type"),t!=null?o==="number"?(t===0&&e.value===""||e.value!=t)&&(e.value=""+At(t)):e.value!==""+At(t)&&(e.value=""+At(t)):o!=="submit"&&o!=="reset"||e.removeAttribute("value"),t!=null?Xs(e,o,At(t)):a!=null?Xs(e,o,At(a)):l!=null&&e.removeAttribute("value"),n==null&&s!=null&&(e.defaultChecked=!!s),n!=null&&(e.checked=n&&typeof n!="function"&&typeof n!="symbol"),m!=null&&typeof m!="function"&&typeof m!="symbol"&&typeof m!="boolean"?e.name=""+At(m):e.removeAttribute("name")}function Uo(e,t,a,l,n,s,o,m){if(s!=null&&typeof s!="function"&&typeof s!="symbol"&&typeof s!="boolean"&&(e.type=s),t!=null||a!=null){if(!(s!=="submit"&&s!=="reset"||t!=null))return;a=a!=null?""+At(a):"",t=t!=null?""+At(t):a,m||t===e.value||(e.value=t),e.defaultValue=t}l=l??n,l=typeof l!="function"&&typeof l!="symbol"&&!!l,e.checked=m?e.checked:!!l,e.defaultChecked=!!l,o!=null&&typeof o!="function"&&typeof o!="symbol"&&typeof o!="boolean"&&(e.name=o)}function Xs(e,t,a){t==="number"&&vi(e.ownerDocument)===e||e.defaultValue===""+a||(e.defaultValue=""+a)}function pl(e,t,a,l){if(e=e.options,t){t={};for(var n=0;n<a.length;n++)t["$"+a[n]]=!0;for(a=0;a<e.length;a++)n=t.hasOwnProperty("$"+e[a].value),e[a].selected!==n&&(e[a].selected=n),n&&l&&(e[a].defaultSelected=!0)}else{for(a=""+At(a),t=null,n=0;n<e.length;n++){if(e[n].value===a){e[n].selected=!0,l&&(e[n].defaultSelected=!0);return}t!==null||e[n].disabled||(t=e[n])}t!==null&&(t.selected=!0)}}function qo(e,t,a){if(t!=null&&(t=""+At(t),t!==e.value&&(e.value=t),a==null)){e.defaultValue!==t&&(e.defaultValue=t);return}e.defaultValue=a!=null?""+At(a):""}function ko(e,t,a,l){if(t==null){if(l!=null){if(a!=null)throw Error(c(92));if(Oe(l)){if(1<l.length)throw Error(c(93));l=l[0]}a=l}a==null&&(a=""),t=a}a=At(t),e.defaultValue=a,l=e.textContent,l===a&&l!==""&&l!==null&&(e.value=l)}function gl(e,t){if(t){var a=e.firstChild;if(a&&a===e.lastChild&&a.nodeType===3){a.nodeValue=t;return}}e.textContent=t}var Qh=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 Ho(e,t,a){var l=t.indexOf("--")===0;a==null||typeof a=="boolean"||a===""?l?e.setProperty(t,""):t==="float"?e.cssFloat="":e[t]="":l?e.setProperty(t,a):typeof a!="number"||a===0||Qh.has(t)?t==="float"?e.cssFloat=a:e[t]=(""+a).trim():e[t]=a+"px"}function Bo(e,t,a){if(t!=null&&typeof t!="object")throw Error(c(62));if(e=e.style,a!=null){for(var l in a)!a.hasOwnProperty(l)||t!=null&&t.hasOwnProperty(l)||(l.indexOf("--")===0?e.setProperty(l,""):l==="float"?e.cssFloat="":e[l]="");for(var n in t)l=t[n],t.hasOwnProperty(n)&&a[n]!==l&&Ho(e,n,l)}else for(var s in t)t.hasOwnProperty(s)&&Ho(e,s,t[s])}function Qs(e){if(e.indexOf("-")===-1)return!1;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Zh=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"]]),Kh=/^[\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 yi(e){return Kh.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}var Zs=null;function Ks(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var vl=null,yl=null;function Lo(e){var t=fl(e);if(t&&(e=t.stateNode)){var a=e[ot]||null;e:switch(e=t.stateNode,t.type){case"input":if(Vs(e,a.value,a.defaultValue,a.defaultValue,a.checked,a.defaultChecked,a.type,a.name),t=a.name,a.type==="radio"&&t!=null){for(a=e;a.parentNode;)a=a.parentNode;for(a=a.querySelectorAll('input[name="'+wt(""+t)+'"][type="radio"]'),t=0;t<a.length;t++){var l=a[t];if(l!==e&&l.form===e.form){var n=l[ot]||null;if(!n)throw Error(c(90));Vs(l,n.value,n.defaultValue,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name)}}for(t=0;t<a.length;t++)l=a[t],l.form===e.form&&Oo(l)}break e;case"textarea":qo(e,a.value,a.defaultValue);break e;case"select":t=a.value,t!=null&&pl(e,!!a.multiple,t,!1)}}}var Js=!1;function Go(e,t,a){if(Js)return e(t,a);Js=!0;try{var l=e(t);return l}finally{if(Js=!1,(vl!==null||yl!==null)&&(ns(),vl&&(t=vl,e=yl,yl=vl=null,Lo(t),e)))for(t=0;t<e.length;t++)Lo(e[t])}}function rn(e,t){var a=e.stateNode;if(a===null)return null;var l=a[ot]||null;if(l===null)return null;a=l[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(l=!l.disabled)||(e=e.type,l=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!l;break e;default:e=!1}if(e)return null;if(a&&typeof a!="function")throw Error(c(231,t,typeof a));return a}var Kt=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),$s=!1;if(Kt)try{var cn={};Object.defineProperty(cn,"passive",{get:function(){$s=!0}}),window.addEventListener("test",cn,cn),window.removeEventListener("test",cn,cn)}catch{$s=!1}var va=null,Ws=null,bi=null;function Yo(){if(bi)return bi;var e,t=Ws,a=t.length,l,n="value"in va?va.value:va.textContent,s=n.length;for(e=0;e<a&&t[e]===n[e];e++);var o=a-e;for(l=1;l<=o&&t[a-l]===n[s-l];l++);return bi=n.slice(e,1<l?1-l:void 0)}function ji(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function Ni(){return!0}function Vo(){return!1}function ut(e){function t(a,l,n,s,o){this._reactName=a,this._targetInst=n,this.type=l,this.nativeEvent=s,this.target=o,this.currentTarget=null;for(var m in e)e.hasOwnProperty(m)&&(a=e[m],this[m]=a?a(s):s[m]);return this.isDefaultPrevented=(s.defaultPrevented!=null?s.defaultPrevented:s.returnValue===!1)?Ni:Vo,this.isPropagationStopped=Vo,this}return A(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var a=this.nativeEvent;a&&(a.preventDefault?a.preventDefault():typeof a.returnValue!="unknown"&&(a.returnValue=!1),this.isDefaultPrevented=Ni)},stopPropagation:function(){var a=this.nativeEvent;a&&(a.stopPropagation?a.stopPropagation():typeof a.cancelBubble!="unknown"&&(a.cancelBubble=!0),this.isPropagationStopped=Ni)},persist:function(){},isPersistent:Ni}),t}var Qa={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Si=ut(Qa),on=A({},Qa,{view:0,detail:0}),Jh=ut(on),Ps,Is,un,Ai=A({},on,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:er,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==un&&(un&&e.type==="mousemove"?(Ps=e.screenX-un.screenX,Is=e.screenY-un.screenY):Is=Ps=0,un=e),Ps)},movementY:function(e){return"movementY"in e?e.movementY:Is}}),Xo=ut(Ai),$h=A({},Ai,{dataTransfer:0}),Wh=ut($h),Ph=A({},on,{relatedTarget:0}),Fs=ut(Ph),Ih=A({},Qa,{animationName:0,elapsedTime:0,pseudoElement:0}),Fh=ut(Ih),ex=A({},Qa,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),tx=ut(ex),ax=A({},Qa,{data:0}),Qo=ut(ax),lx={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},nx={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"},ix={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function sx(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=ix[e])?!!t[e]:!1}function er(){return sx}var rx=A({},on,{key:function(e){if(e.key){var t=lx[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=ji(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?nx[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:er,charCode:function(e){return e.type==="keypress"?ji(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?ji(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),cx=ut(rx),ox=A({},Ai,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Zo=ut(ox),ux=A({},on,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:er}),dx=ut(ux),fx=A({},Qa,{propertyName:0,elapsedTime:0,pseudoElement:0}),mx=ut(fx),hx=A({},Ai,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),xx=ut(hx),px=A({},Qa,{newState:0,oldState:0}),gx=ut(px),vx=[9,13,27,32],tr=Kt&&"CompositionEvent"in window,dn=null;Kt&&"documentMode"in document&&(dn=document.documentMode);var yx=Kt&&"TextEvent"in window&&!dn,Ko=Kt&&(!tr||dn&&8<dn&&11>=dn),Jo=" ",$o=!1;function Wo(e,t){switch(e){case"keyup":return vx.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Po(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var bl=!1;function bx(e,t){switch(e){case"compositionend":return Po(t);case"keypress":return t.which!==32?null:($o=!0,Jo);case"textInput":return e=t.data,e===Jo&&$o?null:e;default:return null}}function jx(e,t){if(bl)return e==="compositionend"||!tr&&Wo(e,t)?(e=Yo(),bi=Ws=va=null,bl=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Ko&&t.locale!=="ko"?null:t.data;default:return null}}var Nx={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 Io(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!Nx[e.type]:t==="textarea"}function Fo(e,t,a,l){vl?yl?yl.push(l):yl=[l]:vl=l,t=us(t,"onChange"),0<t.length&&(a=new Si("onChange","change",null,a,l),e.push({event:a,listeners:t}))}var fn=null,mn=null;function Sx(e){Of(e,0)}function wi(e){var t=sn(e);if(Oo(t))return e}function eu(e,t){if(e==="change")return t}var tu=!1;if(Kt){var ar;if(Kt){var lr="oninput"in document;if(!lr){var au=document.createElement("div");au.setAttribute("oninput","return;"),lr=typeof au.oninput=="function"}ar=lr}else ar=!1;tu=ar&&(!document.documentMode||9<document.documentMode)}function lu(){fn&&(fn.detachEvent("onpropertychange",nu),mn=fn=null)}function nu(e){if(e.propertyName==="value"&&wi(mn)){var t=[];Fo(t,mn,e,Ks(e)),Go(Sx,t)}}function Ax(e,t,a){e==="focusin"?(lu(),fn=t,mn=a,fn.attachEvent("onpropertychange",nu)):e==="focusout"&&lu()}function wx(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return wi(mn)}function Ex(e,t){if(e==="click")return wi(t)}function Mx(e,t){if(e==="input"||e==="change")return wi(t)}function zx(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var gt=typeof Object.is=="function"?Object.is:zx;function hn(e,t){if(gt(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var a=Object.keys(e),l=Object.keys(t);if(a.length!==l.length)return!1;for(l=0;l<a.length;l++){var n=a[l];if(!xa.call(t,n)||!gt(e[n],t[n]))return!1}return!0}function iu(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function su(e,t){var a=iu(e);e=0;for(var l;a;){if(a.nodeType===3){if(l=e+a.textContent.length,e<=t&&l>=t)return{node:a,offset:t-e};e=l}e:{for(;a;){if(a.nextSibling){a=a.nextSibling;break e}a=a.parentNode}a=void 0}a=iu(a)}}function ru(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?ru(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function cu(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=vi(e.document);t instanceof e.HTMLIFrameElement;){try{var a=typeof t.contentWindow.location.href=="string"}catch{a=!1}if(a)e=t.contentWindow;else break;t=vi(e.document)}return t}function nr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}var Tx=Kt&&"documentMode"in document&&11>=document.documentMode,jl=null,ir=null,xn=null,sr=!1;function ou(e,t,a){var l=a.window===a?a.document:a.nodeType===9?a:a.ownerDocument;sr||jl==null||jl!==vi(l)||(l=jl,"selectionStart"in l&&nr(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}),xn&&hn(xn,l)||(xn=l,l=us(ir,"onSelect"),0<l.length&&(t=new Si("onSelect","select",null,t,a),e.push({event:t,listeners:l}),t.target=jl)))}function Za(e,t){var a={};return a[e.toLowerCase()]=t.toLowerCase(),a["Webkit"+e]="webkit"+t,a["Moz"+e]="moz"+t,a}var Nl={animationend:Za("Animation","AnimationEnd"),animationiteration:Za("Animation","AnimationIteration"),animationstart:Za("Animation","AnimationStart"),transitionrun:Za("Transition","TransitionRun"),transitionstart:Za("Transition","TransitionStart"),transitioncancel:Za("Transition","TransitionCancel"),transitionend:Za("Transition","TransitionEnd")},rr={},uu={};Kt&&(uu=document.createElement("div").style,"AnimationEvent"in window||(delete Nl.animationend.animation,delete Nl.animationiteration.animation,delete Nl.animationstart.animation),"TransitionEvent"in window||delete Nl.transitionend.transition);function Ka(e){if(rr[e])return rr[e];if(!Nl[e])return e;var t=Nl[e],a;for(a in t)if(t.hasOwnProperty(a)&&a in uu)return rr[e]=t[a];return e}var du=Ka("animationend"),fu=Ka("animationiteration"),mu=Ka("animationstart"),Rx=Ka("transitionrun"),Cx=Ka("transitionstart"),_x=Ka("transitioncancel"),hu=Ka("transitionend"),xu=new Map,cr="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(" ");cr.push("scrollEnd");function Ot(e,t){xu.set(e,t),Xa(t,[e])}var pu=new WeakMap;function Et(e,t){if(typeof e=="object"&&e!==null){var a=pu.get(e);return a!==void 0?a:(t={value:e,source:t,stack:_o(t)},pu.set(e,t),t)}return{value:e,source:t,stack:_o(t)}}var Mt=[],Sl=0,or=0;function Ei(){for(var e=Sl,t=or=Sl=0;t<e;){var a=Mt[t];Mt[t++]=null;var l=Mt[t];Mt[t++]=null;var n=Mt[t];Mt[t++]=null;var s=Mt[t];if(Mt[t++]=null,l!==null&&n!==null){var o=l.pending;o===null?n.next=n:(n.next=o.next,o.next=n),l.pending=n}s!==0&&gu(a,n,s)}}function Mi(e,t,a,l){Mt[Sl++]=e,Mt[Sl++]=t,Mt[Sl++]=a,Mt[Sl++]=l,or|=l,e.lanes|=l,e=e.alternate,e!==null&&(e.lanes|=l)}function ur(e,t,a,l){return Mi(e,t,a,l),zi(e)}function Al(e,t){return Mi(e,null,null,t),zi(e)}function gu(e,t,a){e.lanes|=a;var l=e.alternate;l!==null&&(l.lanes|=a);for(var n=!1,s=e.return;s!==null;)s.childLanes|=a,l=s.alternate,l!==null&&(l.childLanes|=a),s.tag===22&&(e=s.stateNode,e===null||e._visibility&1||(n=!0)),e=s,s=s.return;return e.tag===3?(s=e.stateNode,n&&t!==null&&(n=31-pt(a),e=s.hiddenUpdates,l=e[n],l===null?e[n]=[t]:l.push(t),t.lane=a|536870912),s):null}function zi(e){if(50<Ln)throw Ln=0,pc=null,Error(c(185));for(var t=e.return;t!==null;)e=t,t=e.return;return e.tag===3?e.stateNode:null}var wl={};function Dx(e,t,a,l){this.tag=e,this.key=a,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=l,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function vt(e,t,a,l){return new Dx(e,t,a,l)}function dr(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Jt(e,t){var a=e.alternate;return a===null?(a=vt(e.tag,t,e.key,e.mode),a.elementType=e.elementType,a.type=e.type,a.stateNode=e.stateNode,a.alternate=e,e.alternate=a):(a.pendingProps=t,a.type=e.type,a.flags=0,a.subtreeFlags=0,a.deletions=null),a.flags=e.flags&65011712,a.childLanes=e.childLanes,a.lanes=e.lanes,a.child=e.child,a.memoizedProps=e.memoizedProps,a.memoizedState=e.memoizedState,a.updateQueue=e.updateQueue,t=e.dependencies,a.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},a.sibling=e.sibling,a.index=e.index,a.ref=e.ref,a.refCleanup=e.refCleanup,a}function vu(e,t){e.flags&=65011714;var a=e.alternate;return a===null?(e.childLanes=0,e.lanes=t,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null):(e.childLanes=a.childLanes,e.lanes=a.lanes,e.child=a.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=a.memoizedProps,e.memoizedState=a.memoizedState,e.updateQueue=a.updateQueue,e.type=a.type,t=a.dependencies,e.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext}),e}function Ti(e,t,a,l,n,s){var o=0;if(l=e,typeof e=="function")dr(e)&&(o=1);else if(typeof e=="string")o=Up(e,a,Z.current)?26:e==="html"||e==="head"||e==="body"?27:5;else e:switch(e){case me:return e=vt(31,a,t,n),e.elementType=me,e.lanes=s,e;case _:return Ja(a.children,n,s,t);case L:o=8,n|=24;break;case V:return e=vt(12,a,t,n|2),e.elementType=V,e.lanes=s,e;case I:return e=vt(13,a,t,n),e.elementType=I,e.lanes=s,e;case we:return e=vt(19,a,t,n),e.elementType=we,e.lanes=s,e;default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case B:case F:o=10;break e;case Q:o=9;break e;case se:o=11;break e;case Ee:o=14;break e;case K:o=16,l=null;break e}o=29,a=Error(c(130,e===null?"null":typeof e,"")),l=null}return t=vt(o,a,t,n),t.elementType=e,t.type=l,t.lanes=s,t}function Ja(e,t,a,l){return e=vt(7,e,l,t),e.lanes=a,e}function fr(e,t,a){return e=vt(6,e,null,t),e.lanes=a,e}function mr(e,t,a){return t=vt(4,e.children!==null?e.children:[],e.key,t),t.lanes=a,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}var El=[],Ml=0,Ri=null,Ci=0,zt=[],Tt=0,$a=null,$t=1,Wt="";function Wa(e,t){El[Ml++]=Ci,El[Ml++]=Ri,Ri=e,Ci=t}function yu(e,t,a){zt[Tt++]=$t,zt[Tt++]=Wt,zt[Tt++]=$a,$a=e;var l=$t;e=Wt;var n=32-pt(l)-1;l&=~(1<<n),a+=1;var s=32-pt(t)+n;if(30<s){var o=n-n%5;s=(l&(1<<o)-1).toString(32),l>>=o,n-=o,$t=1<<32-pt(t)+n|a<<n|l,Wt=s+e}else $t=1<<s|a<<n|l,Wt=e}function hr(e){e.return!==null&&(Wa(e,1),yu(e,1,0))}function xr(e){for(;e===Ri;)Ri=El[--Ml],El[Ml]=null,Ci=El[--Ml],El[Ml]=null;for(;e===$a;)$a=zt[--Tt],zt[Tt]=null,Wt=zt[--Tt],zt[Tt]=null,$t=zt[--Tt],zt[Tt]=null}var ct=null,He=null,be=!1,Pa=null,Bt=!1,pr=Error(c(519));function Ia(e){var t=Error(c(418,""));throw vn(Et(t,e)),pr}function bu(e){var t=e.stateNode,a=e.type,l=e.memoizedProps;switch(t[nt]=e,t[ot]=l,a){case"dialog":fe("cancel",t),fe("close",t);break;case"iframe":case"object":case"embed":fe("load",t);break;case"video":case"audio":for(a=0;a<Yn.length;a++)fe(Yn[a],t);break;case"source":fe("error",t);break;case"img":case"image":case"link":fe("error",t),fe("load",t);break;case"details":fe("toggle",t);break;case"input":fe("invalid",t),Uo(t,l.value,l.defaultValue,l.checked,l.defaultChecked,l.type,l.name,!0),gi(t);break;case"select":fe("invalid",t);break;case"textarea":fe("invalid",t),ko(t,l.value,l.defaultValue,l.children),gi(t)}a=l.children,typeof a!="string"&&typeof a!="number"&&typeof a!="bigint"||t.textContent===""+a||l.suppressHydrationWarning===!0||Hf(t.textContent,a)?(l.popover!=null&&(fe("beforetoggle",t),fe("toggle",t)),l.onScroll!=null&&fe("scroll",t),l.onScrollEnd!=null&&fe("scrollend",t),l.onClick!=null&&(t.onclick=ds),t=!0):t=!1,t||Ia(e)}function ju(e){for(ct=e.return;ct;)switch(ct.tag){case 5:case 13:Bt=!1;return;case 27:case 3:Bt=!0;return;default:ct=ct.return}}function pn(e){if(e!==ct)return!1;if(!be)return ju(e),be=!0,!1;var t=e.tag,a;if((a=t!==3&&t!==27)&&((a=t===5)&&(a=e.type,a=!(a!=="form"&&a!=="button")||_c(e.type,e.memoizedProps)),a=!a),a&&He&&Ia(e),ju(e),t===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(c(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8)if(a=e.data,a==="/$"){if(t===0){He=qt(e.nextSibling);break e}t--}else a!=="$"&&a!=="$!"&&a!=="$?"||t++;e=e.nextSibling}He=null}}else t===27?(t=He,Oa(e.type)?(e=qc,qc=null,He=e):He=t):He=ct?qt(e.stateNode.nextSibling):null;return!0}function gn(){He=ct=null,be=!1}function Nu(){var e=Pa;return e!==null&&(mt===null?mt=e:mt.push.apply(mt,e),Pa=null),e}function vn(e){Pa===null?Pa=[e]:Pa.push(e)}var gr=q(null),Fa=null,Pt=null;function ya(e,t,a){H(gr,t._currentValue),t._currentValue=a}function It(e){e._currentValue=gr.current,X(gr)}function vr(e,t,a){for(;e!==null;){var l=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,l!==null&&(l.childLanes|=t)):l!==null&&(l.childLanes&t)!==t&&(l.childLanes|=t),e===a)break;e=e.return}}function yr(e,t,a,l){var n=e.child;for(n!==null&&(n.return=e);n!==null;){var s=n.dependencies;if(s!==null){var o=n.child;s=s.firstContext;e:for(;s!==null;){var m=s;s=n;for(var g=0;g<t.length;g++)if(m.context===t[g]){s.lanes|=a,m=s.alternate,m!==null&&(m.lanes|=a),vr(s.return,a,e),l||(o=null);break e}s=m.next}}else if(n.tag===18){if(o=n.return,o===null)throw Error(c(341));o.lanes|=a,s=o.alternate,s!==null&&(s.lanes|=a),vr(o,a,e),o=null}else o=n.child;if(o!==null)o.return=n;else for(o=n;o!==null;){if(o===e){o=null;break}if(n=o.sibling,n!==null){n.return=o.return,o=n;break}o=o.return}n=o}}function yn(e,t,a,l){e=null;for(var n=t,s=!1;n!==null;){if(!s){if((n.flags&524288)!==0)s=!0;else if((n.flags&262144)!==0)break}if(n.tag===10){var o=n.alternate;if(o===null)throw Error(c(387));if(o=o.memoizedProps,o!==null){var m=n.type;gt(n.pendingProps.value,o.value)||(e!==null?e.push(m):e=[m])}}else if(n===ve.current){if(o=n.alternate,o===null)throw Error(c(387));o.memoizedState.memoizedState!==n.memoizedState.memoizedState&&(e!==null?e.push(Jn):e=[Jn])}n=n.return}e!==null&&yr(t,e,a,l),t.flags|=262144}function _i(e){for(e=e.firstContext;e!==null;){if(!gt(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function el(e){Fa=e,Pt=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function it(e){return Su(Fa,e)}function Di(e,t){return Fa===null&&el(e),Su(e,t)}function Su(e,t){var a=t._currentValue;if(t={context:t,memoizedValue:a,next:null},Pt===null){if(e===null)throw Error(c(308));Pt=t,e.dependencies={lanes:0,firstContext:t},e.flags|=524288}else Pt=Pt.next=t;return a}var Ox=typeof AbortController<"u"?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(a,l){e.push(l)}};this.abort=function(){t.aborted=!0,e.forEach(function(a){return a()})}},Ux=r.unstable_scheduleCallback,qx=r.unstable_NormalPriority,Ze={$$typeof:F,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function br(){return{controller:new Ox,data:new Map,refCount:0}}function bn(e){e.refCount--,e.refCount===0&&Ux(qx,function(){e.controller.abort()})}var jn=null,jr=0,zl=0,Tl=null;function kx(e,t){if(jn===null){var a=jn=[];jr=0,zl=Sc(),Tl={status:"pending",value:void 0,then:function(l){a.push(l)}}}return jr++,t.then(Au,Au),t}function Au(){if(--jr===0&&jn!==null){Tl!==null&&(Tl.status="fulfilled");var e=jn;jn=null,zl=0,Tl=null;for(var t=0;t<e.length;t++)(0,e[t])()}}function Hx(e,t){var a=[],l={status:"pending",value:null,reason:null,then:function(n){a.push(n)}};return e.then(function(){l.status="fulfilled",l.value=t;for(var n=0;n<a.length;n++)(0,a[n])(t)},function(n){for(l.status="rejected",l.reason=n,n=0;n<a.length;n++)(0,a[n])(void 0)}),l}var wu=R.S;R.S=function(e,t){typeof t=="object"&&t!==null&&typeof t.then=="function"&&kx(e,t),wu!==null&&wu(e,t)};var tl=q(null);function Nr(){var e=tl.current;return e!==null?e:_e.pooledCache}function Oi(e,t){t===null?H(tl,tl.current):H(tl,t.pool)}function Eu(){var e=Nr();return e===null?null:{parent:Ze._currentValue,pool:e}}var Nn=Error(c(460)),Mu=Error(c(474)),Ui=Error(c(542)),Sr={then:function(){}};function zu(e){return e=e.status,e==="fulfilled"||e==="rejected"}function qi(){}function Tu(e,t,a){switch(a=e[a],a===void 0?e.push(t):a!==t&&(t.then(qi,qi),t=a),t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,Cu(e),e;default:if(typeof t.status=="string")t.then(qi,qi);else{if(e=_e,e!==null&&100<e.shellSuspendCounter)throw Error(c(482));e=t,e.status="pending",e.then(function(l){if(t.status==="pending"){var n=t;n.status="fulfilled",n.value=l}},function(l){if(t.status==="pending"){var n=t;n.status="rejected",n.reason=l}})}switch(t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,Cu(e),e}throw Sn=t,Nn}}var Sn=null;function Ru(){if(Sn===null)throw Error(c(459));var e=Sn;return Sn=null,e}function Cu(e){if(e===Nn||e===Ui)throw Error(c(483))}var ba=!1;function Ar(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function wr(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function ja(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function Na(e,t,a){var l=e.updateQueue;if(l===null)return null;if(l=l.shared,(Se&2)!==0){var n=l.pending;return n===null?t.next=t:(t.next=n.next,n.next=t),l.pending=t,t=zi(e),gu(e,null,a),t}return Mi(e,l,t,a),zi(e)}function An(e,t,a){if(t=t.updateQueue,t!==null&&(t=t.shared,(a&4194048)!==0)){var l=t.lanes;l&=e.pendingLanes,a|=l,t.lanes=a,Ao(e,a)}}function Er(e,t){var a=e.updateQueue,l=e.alternate;if(l!==null&&(l=l.updateQueue,a===l)){var n=null,s=null;if(a=a.firstBaseUpdate,a!==null){do{var o={lane:a.lane,tag:a.tag,payload:a.payload,callback:null,next:null};s===null?n=s=o:s=s.next=o,a=a.next}while(a!==null);s===null?n=s=t:s=s.next=t}else n=s=t;a={baseState:l.baseState,firstBaseUpdate:n,lastBaseUpdate:s,shared:l.shared,callbacks:l.callbacks},e.updateQueue=a;return}e=a.lastBaseUpdate,e===null?a.firstBaseUpdate=t:e.next=t,a.lastBaseUpdate=t}var Mr=!1;function wn(){if(Mr){var e=Tl;if(e!==null)throw e}}function En(e,t,a,l){Mr=!1;var n=e.updateQueue;ba=!1;var s=n.firstBaseUpdate,o=n.lastBaseUpdate,m=n.shared.pending;if(m!==null){n.shared.pending=null;var g=m,w=g.next;g.next=null,o===null?s=w:o.next=w,o=g;var D=e.alternate;D!==null&&(D=D.updateQueue,m=D.lastBaseUpdate,m!==o&&(m===null?D.firstBaseUpdate=w:m.next=w,D.lastBaseUpdate=g))}if(s!==null){var U=n.baseState;o=0,D=w=g=null,m=s;do{var E=m.lane&-536870913,M=E!==m.lane;if(M?(he&E)===E:(l&E)===E){E!==0&&E===zl&&(Mr=!0),D!==null&&(D=D.next={lane:0,tag:m.tag,payload:m.payload,callback:null,next:null});e:{var ae=e,ee=m;E=t;var Te=a;switch(ee.tag){case 1:if(ae=ee.payload,typeof ae=="function"){U=ae.call(Te,U,E);break e}U=ae;break e;case 3:ae.flags=ae.flags&-65537|128;case 0:if(ae=ee.payload,E=typeof ae=="function"?ae.call(Te,U,E):ae,E==null)break e;U=A({},U,E);break e;case 2:ba=!0}}E=m.callback,E!==null&&(e.flags|=64,M&&(e.flags|=8192),M=n.callbacks,M===null?n.callbacks=[E]:M.push(E))}else M={lane:E,tag:m.tag,payload:m.payload,callback:m.callback,next:null},D===null?(w=D=M,g=U):D=D.next=M,o|=E;if(m=m.next,m===null){if(m=n.shared.pending,m===null)break;M=m,m=M.next,M.next=null,n.lastBaseUpdate=M,n.shared.pending=null}}while(!0);D===null&&(g=U),n.baseState=g,n.firstBaseUpdate=w,n.lastBaseUpdate=D,s===null&&(n.shared.lanes=0),Ra|=o,e.lanes=o,e.memoizedState=U}}function _u(e,t){if(typeof e!="function")throw Error(c(191,e));e.call(t)}function Du(e,t){var a=e.callbacks;if(a!==null)for(e.callbacks=null,e=0;e<a.length;e++)_u(a[e],t)}var Rl=q(null),ki=q(0);function Ou(e,t){e=ia,H(ki,e),H(Rl,t),ia=e|t.baseLanes}function zr(){H(ki,ia),H(Rl,Rl.current)}function Tr(){ia=ki.current,X(Rl),X(ki)}var Sa=0,re=null,Me=null,Xe=null,Hi=!1,Cl=!1,al=!1,Bi=0,Mn=0,_l=null,Bx=0;function Ye(){throw Error(c(321))}function Rr(e,t){if(t===null)return!1;for(var a=0;a<t.length&&a<e.length;a++)if(!gt(e[a],t[a]))return!1;return!0}function Cr(e,t,a,l,n,s){return Sa=s,re=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,R.H=e===null||e.memoizedState===null?gd:vd,al=!1,s=a(l,n),al=!1,Cl&&(s=qu(t,a,l,n)),Uu(e),s}function Uu(e){R.H=Qi;var t=Me!==null&&Me.next!==null;if(Sa=0,Xe=Me=re=null,Hi=!1,Mn=0,_l=null,t)throw Error(c(300));e===null||Pe||(e=e.dependencies,e!==null&&_i(e)&&(Pe=!0))}function qu(e,t,a,l){re=e;var n=0;do{if(Cl&&(_l=null),Mn=0,Cl=!1,25<=n)throw Error(c(301));if(n+=1,Xe=Me=null,e.updateQueue!=null){var s=e.updateQueue;s.lastEffect=null,s.events=null,s.stores=null,s.memoCache!=null&&(s.memoCache.index=0)}R.H=Zx,s=t(a,l)}while(Cl);return s}function Lx(){var e=R.H,t=e.useState()[0];return t=typeof t.then=="function"?zn(t):t,e=e.useState()[0],(Me!==null?Me.memoizedState:null)!==e&&(re.flags|=1024),t}function _r(){var e=Bi!==0;return Bi=0,e}function Dr(e,t,a){t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~a}function Or(e){if(Hi){for(e=e.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}Hi=!1}Sa=0,Xe=Me=re=null,Cl=!1,Mn=Bi=0,_l=null}function dt(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Xe===null?re.memoizedState=Xe=e:Xe=Xe.next=e,Xe}function Qe(){if(Me===null){var e=re.alternate;e=e!==null?e.memoizedState:null}else e=Me.next;var t=Xe===null?re.memoizedState:Xe.next;if(t!==null)Xe=t,Me=e;else{if(e===null)throw re.alternate===null?Error(c(467)):Error(c(310));Me=e,e={memoizedState:Me.memoizedState,baseState:Me.baseState,baseQueue:Me.baseQueue,queue:Me.queue,next:null},Xe===null?re.memoizedState=Xe=e:Xe=Xe.next=e}return Xe}function Ur(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function zn(e){var t=Mn;return Mn+=1,_l===null&&(_l=[]),e=Tu(_l,e,t),t=re,(Xe===null?t.memoizedState:Xe.next)===null&&(t=t.alternate,R.H=t===null||t.memoizedState===null?gd:vd),e}function Li(e){if(e!==null&&typeof e=="object"){if(typeof e.then=="function")return zn(e);if(e.$$typeof===F)return it(e)}throw Error(c(438,String(e)))}function qr(e){var t=null,a=re.updateQueue;if(a!==null&&(t=a.memoCache),t==null){var l=re.alternate;l!==null&&(l=l.updateQueue,l!==null&&(l=l.memoCache,l!=null&&(t={data:l.data.map(function(n){return n.slice()}),index:0})))}if(t==null&&(t={data:[],index:0}),a===null&&(a=Ur(),re.updateQueue=a),a.memoCache=t,a=t.data[t.index],a===void 0)for(a=t.data[t.index]=Array(e),l=0;l<e;l++)a[l]=$e;return t.index++,a}function Ft(e,t){return typeof t=="function"?t(e):t}function Gi(e){var t=Qe();return kr(t,Me,e)}function kr(e,t,a){var l=e.queue;if(l===null)throw Error(c(311));l.lastRenderedReducer=a;var n=e.baseQueue,s=l.pending;if(s!==null){if(n!==null){var o=n.next;n.next=s.next,s.next=o}t.baseQueue=n=s,l.pending=null}if(s=e.baseState,n===null)e.memoizedState=s;else{t=n.next;var m=o=null,g=null,w=t,D=!1;do{var U=w.lane&-536870913;if(U!==w.lane?(he&U)===U:(Sa&U)===U){var E=w.revertLane;if(E===0)g!==null&&(g=g.next={lane:0,revertLane:0,action:w.action,hasEagerState:w.hasEagerState,eagerState:w.eagerState,next:null}),U===zl&&(D=!0);else if((Sa&E)===E){w=w.next,E===zl&&(D=!0);continue}else U={lane:0,revertLane:w.revertLane,action:w.action,hasEagerState:w.hasEagerState,eagerState:w.eagerState,next:null},g===null?(m=g=U,o=s):g=g.next=U,re.lanes|=E,Ra|=E;U=w.action,al&&a(s,U),s=w.hasEagerState?w.eagerState:a(s,U)}else E={lane:U,revertLane:w.revertLane,action:w.action,hasEagerState:w.hasEagerState,eagerState:w.eagerState,next:null},g===null?(m=g=E,o=s):g=g.next=E,re.lanes|=U,Ra|=U;w=w.next}while(w!==null&&w!==t);if(g===null?o=s:g.next=m,!gt(s,e.memoizedState)&&(Pe=!0,D&&(a=Tl,a!==null)))throw a;e.memoizedState=s,e.baseState=o,e.baseQueue=g,l.lastRenderedState=s}return n===null&&(l.lanes=0),[e.memoizedState,l.dispatch]}function Hr(e){var t=Qe(),a=t.queue;if(a===null)throw Error(c(311));a.lastRenderedReducer=e;var l=a.dispatch,n=a.pending,s=t.memoizedState;if(n!==null){a.pending=null;var o=n=n.next;do s=e(s,o.action),o=o.next;while(o!==n);gt(s,t.memoizedState)||(Pe=!0),t.memoizedState=s,t.baseQueue===null&&(t.baseState=s),a.lastRenderedState=s}return[s,l]}function ku(e,t,a){var l=re,n=Qe(),s=be;if(s){if(a===void 0)throw Error(c(407));a=a()}else a=t();var o=!gt((Me||n).memoizedState,a);o&&(n.memoizedState=a,Pe=!0),n=n.queue;var m=Lu.bind(null,l,n,e);if(Tn(2048,8,m,[e]),n.getSnapshot!==t||o||Xe!==null&&Xe.memoizedState.tag&1){if(l.flags|=2048,Dl(9,Yi(),Bu.bind(null,l,n,a,t),null),_e===null)throw Error(c(349));s||(Sa&124)!==0||Hu(l,t,a)}return a}function Hu(e,t,a){e.flags|=16384,e={getSnapshot:t,value:a},t=re.updateQueue,t===null?(t=Ur(),re.updateQueue=t,t.stores=[e]):(a=t.stores,a===null?t.stores=[e]:a.push(e))}function Bu(e,t,a,l){t.value=a,t.getSnapshot=l,Gu(t)&&Yu(e)}function Lu(e,t,a){return a(function(){Gu(t)&&Yu(e)})}function Gu(e){var t=e.getSnapshot;e=e.value;try{var a=t();return!gt(e,a)}catch{return!0}}function Yu(e){var t=Al(e,2);t!==null&&St(t,e,2)}function Br(e){var t=dt();if(typeof e=="function"){var a=e;if(e=a(),al){pa(!0);try{a()}finally{pa(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ft,lastRenderedState:e},t}function Vu(e,t,a,l){return e.baseState=a,kr(e,Me,typeof l=="function"?l:Ft)}function Gx(e,t,a,l,n){if(Xi(e))throw Error(c(485));if(e=t.action,e!==null){var s={payload:n,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(o){s.listeners.push(o)}};R.T!==null?a(!0):s.isTransition=!1,l(s),a=t.pending,a===null?(s.next=t.pending=s,Xu(t,s)):(s.next=a.next,t.pending=a.next=s)}}function Xu(e,t){var a=t.action,l=t.payload,n=e.state;if(t.isTransition){var s=R.T,o={};R.T=o;try{var m=a(n,l),g=R.S;g!==null&&g(o,m),Qu(e,t,m)}catch(w){Lr(e,t,w)}finally{R.T=s}}else try{s=a(n,l),Qu(e,t,s)}catch(w){Lr(e,t,w)}}function Qu(e,t,a){a!==null&&typeof a=="object"&&typeof a.then=="function"?a.then(function(l){Zu(e,t,l)},function(l){return Lr(e,t,l)}):Zu(e,t,a)}function Zu(e,t,a){t.status="fulfilled",t.value=a,Ku(t),e.state=a,t=e.pending,t!==null&&(a=t.next,a===t?e.pending=null:(a=a.next,t.next=a,Xu(e,a)))}function Lr(e,t,a){var l=e.pending;if(e.pending=null,l!==null){l=l.next;do t.status="rejected",t.reason=a,Ku(t),t=t.next;while(t!==l)}e.action=null}function Ku(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function Ju(e,t){return t}function $u(e,t){if(be){var a=_e.formState;if(a!==null){e:{var l=re;if(be){if(He){t:{for(var n=He,s=Bt;n.nodeType!==8;){if(!s){n=null;break t}if(n=qt(n.nextSibling),n===null){n=null;break t}}s=n.data,n=s==="F!"||s==="F"?n:null}if(n){He=qt(n.nextSibling),l=n.data==="F!";break e}}Ia(l)}l=!1}l&&(t=a[0])}}return a=dt(),a.memoizedState=a.baseState=t,l={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ju,lastRenderedState:t},a.queue=l,a=hd.bind(null,re,l),l.dispatch=a,l=Br(!1),s=Qr.bind(null,re,!1,l.queue),l=dt(),n={state:t,dispatch:null,action:e,pending:null},l.queue=n,a=Gx.bind(null,re,n,s,a),n.dispatch=a,l.memoizedState=e,[t,a,!1]}function Wu(e){var t=Qe();return Pu(t,Me,e)}function Pu(e,t,a){if(t=kr(e,t,Ju)[0],e=Gi(Ft)[0],typeof t=="object"&&t!==null&&typeof t.then=="function")try{var l=zn(t)}catch(o){throw o===Nn?Ui:o}else l=t;t=Qe();var n=t.queue,s=n.dispatch;return a!==t.memoizedState&&(re.flags|=2048,Dl(9,Yi(),Yx.bind(null,n,a),null)),[l,s,e]}function Yx(e,t){e.action=t}function Iu(e){var t=Qe(),a=Me;if(a!==null)return Pu(t,a,e);Qe(),t=t.memoizedState,a=Qe();var l=a.queue.dispatch;return a.memoizedState=e,[t,l,!1]}function Dl(e,t,a,l){return e={tag:e,create:a,deps:l,inst:t,next:null},t=re.updateQueue,t===null&&(t=Ur(),re.updateQueue=t),a=t.lastEffect,a===null?t.lastEffect=e.next=e:(l=a.next,a.next=e,e.next=l,t.lastEffect=e),e}function Yi(){return{destroy:void 0,resource:void 0}}function Fu(){return Qe().memoizedState}function Vi(e,t,a,l){var n=dt();l=l===void 0?null:l,re.flags|=e,n.memoizedState=Dl(1|t,Yi(),a,l)}function Tn(e,t,a,l){var n=Qe();l=l===void 0?null:l;var s=n.memoizedState.inst;Me!==null&&l!==null&&Rr(l,Me.memoizedState.deps)?n.memoizedState=Dl(t,s,a,l):(re.flags|=e,n.memoizedState=Dl(1|t,s,a,l))}function ed(e,t){Vi(8390656,8,e,t)}function td(e,t){Tn(2048,8,e,t)}function ad(e,t){return Tn(4,2,e,t)}function ld(e,t){return Tn(4,4,e,t)}function nd(e,t){if(typeof t=="function"){e=e();var a=t(e);return function(){typeof a=="function"?a():t(null)}}if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function id(e,t,a){a=a!=null?a.concat([e]):null,Tn(4,4,nd.bind(null,t,e),a)}function Gr(){}function sd(e,t){var a=Qe();t=t===void 0?null:t;var l=a.memoizedState;return t!==null&&Rr(t,l[1])?l[0]:(a.memoizedState=[e,t],e)}function rd(e,t){var a=Qe();t=t===void 0?null:t;var l=a.memoizedState;if(t!==null&&Rr(t,l[1]))return l[0];if(l=e(),al){pa(!0);try{e()}finally{pa(!1)}}return a.memoizedState=[l,t],l}function Yr(e,t,a){return a===void 0||(Sa&1073741824)!==0?e.memoizedState=t:(e.memoizedState=a,e=df(),re.lanes|=e,Ra|=e,a)}function cd(e,t,a,l){return gt(a,t)?a:Rl.current!==null?(e=Yr(e,a,l),gt(e,t)||(Pe=!0),e):(Sa&42)===0?(Pe=!0,e.memoizedState=a):(e=df(),re.lanes|=e,Ra|=e,t)}function od(e,t,a,l,n){var s=Y.p;Y.p=s!==0&&8>s?s:8;var o=R.T,m={};R.T=m,Qr(e,!1,t,a);try{var g=n(),w=R.S;if(w!==null&&w(m,g),g!==null&&typeof g=="object"&&typeof g.then=="function"){var D=Hx(g,l);Rn(e,t,D,Nt(e))}else Rn(e,t,l,Nt(e))}catch(U){Rn(e,t,{then:function(){},status:"rejected",reason:U},Nt())}finally{Y.p=s,R.T=o}}function Vx(){}function Vr(e,t,a,l){if(e.tag!==5)throw Error(c(476));var n=ud(e).queue;od(e,n,t,k,a===null?Vx:function(){return dd(e),a(l)})}function ud(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:k,baseState:k,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ft,lastRenderedState:k},next:null};var a={};return t.next={memoizedState:a,baseState:a,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ft,lastRenderedState:a},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function dd(e){var t=ud(e).next.queue;Rn(e,t,{},Nt())}function Xr(){return it(Jn)}function fd(){return Qe().memoizedState}function md(){return Qe().memoizedState}function Xx(e){for(var t=e.return;t!==null;){switch(t.tag){case 24:case 3:var a=Nt();e=ja(a);var l=Na(t,e,a);l!==null&&(St(l,t,a),An(l,t,a)),t={cache:br()},e.payload=t;return}t=t.return}}function Qx(e,t,a){var l=Nt();a={lane:l,revertLane:0,action:a,hasEagerState:!1,eagerState:null,next:null},Xi(e)?xd(t,a):(a=ur(e,t,a,l),a!==null&&(St(a,e,l),pd(a,t,l)))}function hd(e,t,a){var l=Nt();Rn(e,t,a,l)}function Rn(e,t,a,l){var n={lane:l,revertLane:0,action:a,hasEagerState:!1,eagerState:null,next:null};if(Xi(e))xd(t,n);else{var s=e.alternate;if(e.lanes===0&&(s===null||s.lanes===0)&&(s=t.lastRenderedReducer,s!==null))try{var o=t.lastRenderedState,m=s(o,a);if(n.hasEagerState=!0,n.eagerState=m,gt(m,o))return Mi(e,t,n,0),_e===null&&Ei(),!1}catch{}finally{}if(a=ur(e,t,n,l),a!==null)return St(a,e,l),pd(a,t,l),!0}return!1}function Qr(e,t,a,l){if(l={lane:2,revertLane:Sc(),action:l,hasEagerState:!1,eagerState:null,next:null},Xi(e)){if(t)throw Error(c(479))}else t=ur(e,a,l,2),t!==null&&St(t,e,2)}function Xi(e){var t=e.alternate;return e===re||t!==null&&t===re}function xd(e,t){Cl=Hi=!0;var a=e.pending;a===null?t.next=t:(t.next=a.next,a.next=t),e.pending=t}function pd(e,t,a){if((a&4194048)!==0){var l=t.lanes;l&=e.pendingLanes,a|=l,t.lanes=a,Ao(e,a)}}var Qi={readContext:it,use:Li,useCallback:Ye,useContext:Ye,useEffect:Ye,useImperativeHandle:Ye,useLayoutEffect:Ye,useInsertionEffect:Ye,useMemo:Ye,useReducer:Ye,useRef:Ye,useState:Ye,useDebugValue:Ye,useDeferredValue:Ye,useTransition:Ye,useSyncExternalStore:Ye,useId:Ye,useHostTransitionStatus:Ye,useFormState:Ye,useActionState:Ye,useOptimistic:Ye,useMemoCache:Ye,useCacheRefresh:Ye},gd={readContext:it,use:Li,useCallback:function(e,t){return dt().memoizedState=[e,t===void 0?null:t],e},useContext:it,useEffect:ed,useImperativeHandle:function(e,t,a){a=a!=null?a.concat([e]):null,Vi(4194308,4,nd.bind(null,t,e),a)},useLayoutEffect:function(e,t){return Vi(4194308,4,e,t)},useInsertionEffect:function(e,t){Vi(4,2,e,t)},useMemo:function(e,t){var a=dt();t=t===void 0?null:t;var l=e();if(al){pa(!0);try{e()}finally{pa(!1)}}return a.memoizedState=[l,t],l},useReducer:function(e,t,a){var l=dt();if(a!==void 0){var n=a(t);if(al){pa(!0);try{a(t)}finally{pa(!1)}}}else n=t;return l.memoizedState=l.baseState=n,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:n},l.queue=e,e=e.dispatch=Qx.bind(null,re,e),[l.memoizedState,e]},useRef:function(e){var t=dt();return e={current:e},t.memoizedState=e},useState:function(e){e=Br(e);var t=e.queue,a=hd.bind(null,re,t);return t.dispatch=a,[e.memoizedState,a]},useDebugValue:Gr,useDeferredValue:function(e,t){var a=dt();return Yr(a,e,t)},useTransition:function(){var e=Br(!1);return e=od.bind(null,re,e.queue,!0,!1),dt().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,a){var l=re,n=dt();if(be){if(a===void 0)throw Error(c(407));a=a()}else{if(a=t(),_e===null)throw Error(c(349));(he&124)!==0||Hu(l,t,a)}n.memoizedState=a;var s={value:a,getSnapshot:t};return n.queue=s,ed(Lu.bind(null,l,s,e),[e]),l.flags|=2048,Dl(9,Yi(),Bu.bind(null,l,s,a,t),null),a},useId:function(){var e=dt(),t=_e.identifierPrefix;if(be){var a=Wt,l=$t;a=(l&~(1<<32-pt(l)-1)).toString(32)+a,t="«"+t+"R"+a,a=Bi++,0<a&&(t+="H"+a.toString(32)),t+="»"}else a=Bx++,t="«"+t+"r"+a.toString(32)+"»";return e.memoizedState=t},useHostTransitionStatus:Xr,useFormState:$u,useActionState:$u,useOptimistic:function(e){var t=dt();t.memoizedState=t.baseState=e;var a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=a,t=Qr.bind(null,re,!0,a),a.dispatch=t,[e,t]},useMemoCache:qr,useCacheRefresh:function(){return dt().memoizedState=Xx.bind(null,re)}},vd={readContext:it,use:Li,useCallback:sd,useContext:it,useEffect:td,useImperativeHandle:id,useInsertionEffect:ad,useLayoutEffect:ld,useMemo:rd,useReducer:Gi,useRef:Fu,useState:function(){return Gi(Ft)},useDebugValue:Gr,useDeferredValue:function(e,t){var a=Qe();return cd(a,Me.memoizedState,e,t)},useTransition:function(){var e=Gi(Ft)[0],t=Qe().memoizedState;return[typeof e=="boolean"?e:zn(e),t]},useSyncExternalStore:ku,useId:fd,useHostTransitionStatus:Xr,useFormState:Wu,useActionState:Wu,useOptimistic:function(e,t){var a=Qe();return Vu(a,Me,e,t)},useMemoCache:qr,useCacheRefresh:md},Zx={readContext:it,use:Li,useCallback:sd,useContext:it,useEffect:td,useImperativeHandle:id,useInsertionEffect:ad,useLayoutEffect:ld,useMemo:rd,useReducer:Hr,useRef:Fu,useState:function(){return Hr(Ft)},useDebugValue:Gr,useDeferredValue:function(e,t){var a=Qe();return Me===null?Yr(a,e,t):cd(a,Me.memoizedState,e,t)},useTransition:function(){var e=Hr(Ft)[0],t=Qe().memoizedState;return[typeof e=="boolean"?e:zn(e),t]},useSyncExternalStore:ku,useId:fd,useHostTransitionStatus:Xr,useFormState:Iu,useActionState:Iu,useOptimistic:function(e,t){var a=Qe();return Me!==null?Vu(a,Me,e,t):(a.baseState=e,[e,a.queue.dispatch])},useMemoCache:qr,useCacheRefresh:md},Ol=null,Cn=0;function Zi(e){var t=Cn;return Cn+=1,Ol===null&&(Ol=[]),Tu(Ol,e,t)}function _n(e,t){t=t.props.ref,e.ref=t!==void 0?t:null}function Ki(e,t){throw t.$$typeof===C?Error(c(525)):(e=Object.prototype.toString.call(t),Error(c(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e)))}function yd(e){var t=e._init;return t(e._payload)}function bd(e){function t(j,b){if(e){var S=j.deletions;S===null?(j.deletions=[b],j.flags|=16):S.push(b)}}function a(j,b){if(!e)return null;for(;b!==null;)t(j,b),b=b.sibling;return null}function l(j){for(var b=new Map;j!==null;)j.key!==null?b.set(j.key,j):b.set(j.index,j),j=j.sibling;return b}function n(j,b){return j=Jt(j,b),j.index=0,j.sibling=null,j}function s(j,b,S){return j.index=S,e?(S=j.alternate,S!==null?(S=S.index,S<b?(j.flags|=67108866,b):S):(j.flags|=67108866,b)):(j.flags|=1048576,b)}function o(j){return e&&j.alternate===null&&(j.flags|=67108866),j}function m(j,b,S,O){return b===null||b.tag!==6?(b=fr(S,j.mode,O),b.return=j,b):(b=n(b,S),b.return=j,b)}function g(j,b,S,O){var J=S.type;return J===_?D(j,b,S.props.children,O,S.key):b!==null&&(b.elementType===J||typeof J=="object"&&J!==null&&J.$$typeof===K&&yd(J)===b.type)?(b=n(b,S.props),_n(b,S),b.return=j,b):(b=Ti(S.type,S.key,S.props,null,j.mode,O),_n(b,S),b.return=j,b)}function w(j,b,S,O){return b===null||b.tag!==4||b.stateNode.containerInfo!==S.containerInfo||b.stateNode.implementation!==S.implementation?(b=mr(S,j.mode,O),b.return=j,b):(b=n(b,S.children||[]),b.return=j,b)}function D(j,b,S,O,J){return b===null||b.tag!==7?(b=Ja(S,j.mode,O,J),b.return=j,b):(b=n(b,S),b.return=j,b)}function U(j,b,S){if(typeof b=="string"&&b!==""||typeof b=="number"||typeof b=="bigint")return b=fr(""+b,j.mode,S),b.return=j,b;if(typeof b=="object"&&b!==null){switch(b.$$typeof){case T:return S=Ti(b.type,b.key,b.props,null,j.mode,S),_n(S,b),S.return=j,S;case G:return b=mr(b,j.mode,S),b.return=j,b;case K:var O=b._init;return b=O(b._payload),U(j,b,S)}if(Oe(b)||Ge(b))return b=Ja(b,j.mode,S,null),b.return=j,b;if(typeof b.then=="function")return U(j,Zi(b),S);if(b.$$typeof===F)return U(j,Di(j,b),S);Ki(j,b)}return null}function E(j,b,S,O){var J=b!==null?b.key:null;if(typeof S=="string"&&S!==""||typeof S=="number"||typeof S=="bigint")return J!==null?null:m(j,b,""+S,O);if(typeof S=="object"&&S!==null){switch(S.$$typeof){case T:return S.key===J?g(j,b,S,O):null;case G:return S.key===J?w(j,b,S,O):null;case K:return J=S._init,S=J(S._payload),E(j,b,S,O)}if(Oe(S)||Ge(S))return J!==null?null:D(j,b,S,O,null);if(typeof S.then=="function")return E(j,b,Zi(S),O);if(S.$$typeof===F)return E(j,b,Di(j,S),O);Ki(j,S)}return null}function M(j,b,S,O,J){if(typeof O=="string"&&O!==""||typeof O=="number"||typeof O=="bigint")return j=j.get(S)||null,m(b,j,""+O,J);if(typeof O=="object"&&O!==null){switch(O.$$typeof){case T:return j=j.get(O.key===null?S:O.key)||null,g(b,j,O,J);case G:return j=j.get(O.key===null?S:O.key)||null,w(b,j,O,J);case K:var oe=O._init;return O=oe(O._payload),M(j,b,S,O,J)}if(Oe(O)||Ge(O))return j=j.get(S)||null,D(b,j,O,J,null);if(typeof O.then=="function")return M(j,b,S,Zi(O),J);if(O.$$typeof===F)return M(j,b,S,Di(b,O),J);Ki(b,O)}return null}function ae(j,b,S,O){for(var J=null,oe=null,P=b,te=b=0,Fe=null;P!==null&&te<S.length;te++){P.index>te?(Fe=P,P=null):Fe=P.sibling;var ye=E(j,P,S[te],O);if(ye===null){P===null&&(P=Fe);break}e&&P&&ye.alternate===null&&t(j,P),b=s(ye,b,te),oe===null?J=ye:oe.sibling=ye,oe=ye,P=Fe}if(te===S.length)return a(j,P),be&&Wa(j,te),J;if(P===null){for(;te<S.length;te++)P=U(j,S[te],O),P!==null&&(b=s(P,b,te),oe===null?J=P:oe.sibling=P,oe=P);return be&&Wa(j,te),J}for(P=l(P);te<S.length;te++)Fe=M(P,j,te,S[te],O),Fe!==null&&(e&&Fe.alternate!==null&&P.delete(Fe.key===null?te:Fe.key),b=s(Fe,b,te),oe===null?J=Fe:oe.sibling=Fe,oe=Fe);return e&&P.forEach(function(Ba){return t(j,Ba)}),be&&Wa(j,te),J}function ee(j,b,S,O){if(S==null)throw Error(c(151));for(var J=null,oe=null,P=b,te=b=0,Fe=null,ye=S.next();P!==null&&!ye.done;te++,ye=S.next()){P.index>te?(Fe=P,P=null):Fe=P.sibling;var Ba=E(j,P,ye.value,O);if(Ba===null){P===null&&(P=Fe);break}e&&P&&Ba.alternate===null&&t(j,P),b=s(Ba,b,te),oe===null?J=Ba:oe.sibling=Ba,oe=Ba,P=Fe}if(ye.done)return a(j,P),be&&Wa(j,te),J;if(P===null){for(;!ye.done;te++,ye=S.next())ye=U(j,ye.value,O),ye!==null&&(b=s(ye,b,te),oe===null?J=ye:oe.sibling=ye,oe=ye);return be&&Wa(j,te),J}for(P=l(P);!ye.done;te++,ye=S.next())ye=M(P,j,te,ye.value,O),ye!==null&&(e&&ye.alternate!==null&&P.delete(ye.key===null?te:ye.key),b=s(ye,b,te),oe===null?J=ye:oe.sibling=ye,oe=ye);return e&&P.forEach(function(Kp){return t(j,Kp)}),be&&Wa(j,te),J}function Te(j,b,S,O){if(typeof S=="object"&&S!==null&&S.type===_&&S.key===null&&(S=S.props.children),typeof S=="object"&&S!==null){switch(S.$$typeof){case T:e:{for(var J=S.key;b!==null;){if(b.key===J){if(J=S.type,J===_){if(b.tag===7){a(j,b.sibling),O=n(b,S.props.children),O.return=j,j=O;break e}}else if(b.elementType===J||typeof J=="object"&&J!==null&&J.$$typeof===K&&yd(J)===b.type){a(j,b.sibling),O=n(b,S.props),_n(O,S),O.return=j,j=O;break e}a(j,b);break}else t(j,b);b=b.sibling}S.type===_?(O=Ja(S.props.children,j.mode,O,S.key),O.return=j,j=O):(O=Ti(S.type,S.key,S.props,null,j.mode,O),_n(O,S),O.return=j,j=O)}return o(j);case G:e:{for(J=S.key;b!==null;){if(b.key===J)if(b.tag===4&&b.stateNode.containerInfo===S.containerInfo&&b.stateNode.implementation===S.implementation){a(j,b.sibling),O=n(b,S.children||[]),O.return=j,j=O;break e}else{a(j,b);break}else t(j,b);b=b.sibling}O=mr(S,j.mode,O),O.return=j,j=O}return o(j);case K:return J=S._init,S=J(S._payload),Te(j,b,S,O)}if(Oe(S))return ae(j,b,S,O);if(Ge(S)){if(J=Ge(S),typeof J!="function")throw Error(c(150));return S=J.call(S),ee(j,b,S,O)}if(typeof S.then=="function")return Te(j,b,Zi(S),O);if(S.$$typeof===F)return Te(j,b,Di(j,S),O);Ki(j,S)}return typeof S=="string"&&S!==""||typeof S=="number"||typeof S=="bigint"?(S=""+S,b!==null&&b.tag===6?(a(j,b.sibling),O=n(b,S),O.return=j,j=O):(a(j,b),O=fr(S,j.mode,O),O.return=j,j=O),o(j)):a(j,b)}return function(j,b,S,O){try{Cn=0;var J=Te(j,b,S,O);return Ol=null,J}catch(P){if(P===Nn||P===Ui)throw P;var oe=vt(29,P,null,j.mode);return oe.lanes=O,oe.return=j,oe}finally{}}}var Ul=bd(!0),jd=bd(!1),Rt=q(null),Lt=null;function Aa(e){var t=e.alternate;H(Ke,Ke.current&1),H(Rt,e),Lt===null&&(t===null||Rl.current!==null||t.memoizedState!==null)&&(Lt=e)}function Nd(e){if(e.tag===22){if(H(Ke,Ke.current),H(Rt,e),Lt===null){var t=e.alternate;t!==null&&t.memoizedState!==null&&(Lt=e)}}else wa()}function wa(){H(Ke,Ke.current),H(Rt,Rt.current)}function ea(e){X(Rt),Lt===e&&(Lt=null),X(Ke)}var Ke=q(0);function Ji(e){for(var t=e;t!==null;){if(t.tag===13){var a=t.memoizedState;if(a!==null&&(a=a.dehydrated,a===null||a.data==="$?"||Uc(a)))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if((t.flags&128)!==0)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}function Zr(e,t,a,l){t=e.memoizedState,a=a(l,t),a=a==null?t:A({},t,a),e.memoizedState=a,e.lanes===0&&(e.updateQueue.baseState=a)}var Kr={enqueueSetState:function(e,t,a){e=e._reactInternals;var l=Nt(),n=ja(l);n.payload=t,a!=null&&(n.callback=a),t=Na(e,n,l),t!==null&&(St(t,e,l),An(t,e,l))},enqueueReplaceState:function(e,t,a){e=e._reactInternals;var l=Nt(),n=ja(l);n.tag=1,n.payload=t,a!=null&&(n.callback=a),t=Na(e,n,l),t!==null&&(St(t,e,l),An(t,e,l))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var a=Nt(),l=ja(a);l.tag=2,t!=null&&(l.callback=t),t=Na(e,l,a),t!==null&&(St(t,e,a),An(t,e,a))}};function Sd(e,t,a,l,n,s,o){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(l,s,o):t.prototype&&t.prototype.isPureReactComponent?!hn(a,l)||!hn(n,s):!0}function Ad(e,t,a,l){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(a,l),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(a,l),t.state!==e&&Kr.enqueueReplaceState(t,t.state,null)}function ll(e,t){var a=t;if("ref"in t){a={};for(var l in t)l!=="ref"&&(a[l]=t[l])}if(e=e.defaultProps){a===t&&(a=A({},a));for(var n in e)a[n]===void 0&&(a[n]=e[n])}return a}var $i=typeof reportError=="function"?reportError:function(e){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof e=="object"&&e!==null&&typeof e.message=="string"?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",e);return}console.error(e)};function wd(e){$i(e)}function Ed(e){console.error(e)}function Md(e){$i(e)}function Wi(e,t){try{var a=e.onUncaughtError;a(t.value,{componentStack:t.stack})}catch(l){setTimeout(function(){throw l})}}function zd(e,t,a){try{var l=e.onCaughtError;l(a.value,{componentStack:a.stack,errorBoundary:t.tag===1?t.stateNode:null})}catch(n){setTimeout(function(){throw n})}}function Jr(e,t,a){return a=ja(a),a.tag=3,a.payload={element:null},a.callback=function(){Wi(e,t)},a}function Td(e){return e=ja(e),e.tag=3,e}function Rd(e,t,a,l){var n=a.type.getDerivedStateFromError;if(typeof n=="function"){var s=l.value;e.payload=function(){return n(s)},e.callback=function(){zd(t,a,l)}}var o=a.stateNode;o!==null&&typeof o.componentDidCatch=="function"&&(e.callback=function(){zd(t,a,l),typeof n!="function"&&(Ca===null?Ca=new Set([this]):Ca.add(this));var m=l.stack;this.componentDidCatch(l.value,{componentStack:m!==null?m:""})})}function Kx(e,t,a,l,n){if(a.flags|=32768,l!==null&&typeof l=="object"&&typeof l.then=="function"){if(t=a.alternate,t!==null&&yn(t,a,n,!0),a=Rt.current,a!==null){switch(a.tag){case 13:return Lt===null?vc():a.alternate===null&&Be===0&&(Be=3),a.flags&=-257,a.flags|=65536,a.lanes=n,l===Sr?a.flags|=16384:(t=a.updateQueue,t===null?a.updateQueue=new Set([l]):t.add(l),bc(e,l,n)),!1;case 22:return a.flags|=65536,l===Sr?a.flags|=16384:(t=a.updateQueue,t===null?(t={transitions:null,markerInstances:null,retryQueue:new Set([l])},a.updateQueue=t):(a=t.retryQueue,a===null?t.retryQueue=new Set([l]):a.add(l)),bc(e,l,n)),!1}throw Error(c(435,a.tag))}return bc(e,l,n),vc(),!1}if(be)return t=Rt.current,t!==null?((t.flags&65536)===0&&(t.flags|=256),t.flags|=65536,t.lanes=n,l!==pr&&(e=Error(c(422),{cause:l}),vn(Et(e,a)))):(l!==pr&&(t=Error(c(423),{cause:l}),vn(Et(t,a))),e=e.current.alternate,e.flags|=65536,n&=-n,e.lanes|=n,l=Et(l,a),n=Jr(e.stateNode,l,n),Er(e,n),Be!==4&&(Be=2)),!1;var s=Error(c(520),{cause:l});if(s=Et(s,a),Bn===null?Bn=[s]:Bn.push(s),Be!==4&&(Be=2),t===null)return!0;l=Et(l,a),a=t;do{switch(a.tag){case 3:return a.flags|=65536,e=n&-n,a.lanes|=e,e=Jr(a.stateNode,l,e),Er(a,e),!1;case 1:if(t=a.type,s=a.stateNode,(a.flags&128)===0&&(typeof t.getDerivedStateFromError=="function"||s!==null&&typeof s.componentDidCatch=="function"&&(Ca===null||!Ca.has(s))))return a.flags|=65536,n&=-n,a.lanes|=n,n=Td(n),Rd(n,e,a,l),Er(a,n),!1}a=a.return}while(a!==null);return!1}var Cd=Error(c(461)),Pe=!1;function et(e,t,a,l){t.child=e===null?jd(t,null,a,l):Ul(t,e.child,a,l)}function _d(e,t,a,l,n){a=a.render;var s=t.ref;if("ref"in l){var o={};for(var m in l)m!=="ref"&&(o[m]=l[m])}else o=l;return el(t),l=Cr(e,t,a,o,s,n),m=_r(),e!==null&&!Pe?(Dr(e,t,n),ta(e,t,n)):(be&&m&&hr(t),t.flags|=1,et(e,t,l,n),t.child)}function Dd(e,t,a,l,n){if(e===null){var s=a.type;return typeof s=="function"&&!dr(s)&&s.defaultProps===void 0&&a.compare===null?(t.tag=15,t.type=s,Od(e,t,s,l,n)):(e=Ti(a.type,null,l,t,t.mode,n),e.ref=t.ref,e.return=t,t.child=e)}if(s=e.child,!ac(e,n)){var o=s.memoizedProps;if(a=a.compare,a=a!==null?a:hn,a(o,l)&&e.ref===t.ref)return ta(e,t,n)}return t.flags|=1,e=Jt(s,l),e.ref=t.ref,e.return=t,t.child=e}function Od(e,t,a,l,n){if(e!==null){var s=e.memoizedProps;if(hn(s,l)&&e.ref===t.ref)if(Pe=!1,t.pendingProps=l=s,ac(e,n))(e.flags&131072)!==0&&(Pe=!0);else return t.lanes=e.lanes,ta(e,t,n)}return $r(e,t,a,l,n)}function Ud(e,t,a){var l=t.pendingProps,n=l.children,s=e!==null?e.memoizedState:null;if(l.mode==="hidden"){if((t.flags&128)!==0){if(l=s!==null?s.baseLanes|a:a,e!==null){for(n=t.child=e.child,s=0;n!==null;)s=s|n.lanes|n.childLanes,n=n.sibling;t.childLanes=s&~l}else t.childLanes=0,t.child=null;return qd(e,t,l,a)}if((a&536870912)!==0)t.memoizedState={baseLanes:0,cachePool:null},e!==null&&Oi(t,s!==null?s.cachePool:null),s!==null?Ou(t,s):zr(),Nd(t);else return t.lanes=t.childLanes=536870912,qd(e,t,s!==null?s.baseLanes|a:a,a)}else s!==null?(Oi(t,s.cachePool),Ou(t,s),wa(),t.memoizedState=null):(e!==null&&Oi(t,null),zr(),wa());return et(e,t,n,a),t.child}function qd(e,t,a,l){var n=Nr();return n=n===null?null:{parent:Ze._currentValue,pool:n},t.memoizedState={baseLanes:a,cachePool:n},e!==null&&Oi(t,null),zr(),Nd(t),e!==null&&yn(e,t,l,!0),null}function Pi(e,t){var a=t.ref;if(a===null)e!==null&&e.ref!==null&&(t.flags|=4194816);else{if(typeof a!="function"&&typeof a!="object")throw Error(c(284));(e===null||e.ref!==a)&&(t.flags|=4194816)}}function $r(e,t,a,l,n){return el(t),a=Cr(e,t,a,l,void 0,n),l=_r(),e!==null&&!Pe?(Dr(e,t,n),ta(e,t,n)):(be&&l&&hr(t),t.flags|=1,et(e,t,a,n),t.child)}function kd(e,t,a,l,n,s){return el(t),t.updateQueue=null,a=qu(t,l,a,n),Uu(e),l=_r(),e!==null&&!Pe?(Dr(e,t,s),ta(e,t,s)):(be&&l&&hr(t),t.flags|=1,et(e,t,a,s),t.child)}function Hd(e,t,a,l,n){if(el(t),t.stateNode===null){var s=wl,o=a.contextType;typeof o=="object"&&o!==null&&(s=it(o)),s=new a(l,s),t.memoizedState=s.state!==null&&s.state!==void 0?s.state:null,s.updater=Kr,t.stateNode=s,s._reactInternals=t,s=t.stateNode,s.props=l,s.state=t.memoizedState,s.refs={},Ar(t),o=a.contextType,s.context=typeof o=="object"&&o!==null?it(o):wl,s.state=t.memoizedState,o=a.getDerivedStateFromProps,typeof o=="function"&&(Zr(t,a,o,l),s.state=t.memoizedState),typeof a.getDerivedStateFromProps=="function"||typeof s.getSnapshotBeforeUpdate=="function"||typeof s.UNSAFE_componentWillMount!="function"&&typeof s.componentWillMount!="function"||(o=s.state,typeof s.componentWillMount=="function"&&s.componentWillMount(),typeof s.UNSAFE_componentWillMount=="function"&&s.UNSAFE_componentWillMount(),o!==s.state&&Kr.enqueueReplaceState(s,s.state,null),En(t,l,s,n),wn(),s.state=t.memoizedState),typeof s.componentDidMount=="function"&&(t.flags|=4194308),l=!0}else if(e===null){s=t.stateNode;var m=t.memoizedProps,g=ll(a,m);s.props=g;var w=s.context,D=a.contextType;o=wl,typeof D=="object"&&D!==null&&(o=it(D));var U=a.getDerivedStateFromProps;D=typeof U=="function"||typeof s.getSnapshotBeforeUpdate=="function",m=t.pendingProps!==m,D||typeof s.UNSAFE_componentWillReceiveProps!="function"&&typeof s.componentWillReceiveProps!="function"||(m||w!==o)&&Ad(t,s,l,o),ba=!1;var E=t.memoizedState;s.state=E,En(t,l,s,n),wn(),w=t.memoizedState,m||E!==w||ba?(typeof U=="function"&&(Zr(t,a,U,l),w=t.memoizedState),(g=ba||Sd(t,a,g,l,E,w,o))?(D||typeof s.UNSAFE_componentWillMount!="function"&&typeof s.componentWillMount!="function"||(typeof s.componentWillMount=="function"&&s.componentWillMount(),typeof s.UNSAFE_componentWillMount=="function"&&s.UNSAFE_componentWillMount()),typeof s.componentDidMount=="function"&&(t.flags|=4194308)):(typeof s.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=l,t.memoizedState=w),s.props=l,s.state=w,s.context=o,l=g):(typeof s.componentDidMount=="function"&&(t.flags|=4194308),l=!1)}else{s=t.stateNode,wr(e,t),o=t.memoizedProps,D=ll(a,o),s.props=D,U=t.pendingProps,E=s.context,w=a.contextType,g=wl,typeof w=="object"&&w!==null&&(g=it(w)),m=a.getDerivedStateFromProps,(w=typeof m=="function"||typeof s.getSnapshotBeforeUpdate=="function")||typeof s.UNSAFE_componentWillReceiveProps!="function"&&typeof s.componentWillReceiveProps!="function"||(o!==U||E!==g)&&Ad(t,s,l,g),ba=!1,E=t.memoizedState,s.state=E,En(t,l,s,n),wn();var M=t.memoizedState;o!==U||E!==M||ba||e!==null&&e.dependencies!==null&&_i(e.dependencies)?(typeof m=="function"&&(Zr(t,a,m,l),M=t.memoizedState),(D=ba||Sd(t,a,D,l,E,M,g)||e!==null&&e.dependencies!==null&&_i(e.dependencies))?(w||typeof s.UNSAFE_componentWillUpdate!="function"&&typeof s.componentWillUpdate!="function"||(typeof s.componentWillUpdate=="function"&&s.componentWillUpdate(l,M,g),typeof s.UNSAFE_componentWillUpdate=="function"&&s.UNSAFE_componentWillUpdate(l,M,g)),typeof s.componentDidUpdate=="function"&&(t.flags|=4),typeof s.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof s.componentDidUpdate!="function"||o===e.memoizedProps&&E===e.memoizedState||(t.flags|=4),typeof s.getSnapshotBeforeUpdate!="function"||o===e.memoizedProps&&E===e.memoizedState||(t.flags|=1024),t.memoizedProps=l,t.memoizedState=M),s.props=l,s.state=M,s.context=g,l=D):(typeof s.componentDidUpdate!="function"||o===e.memoizedProps&&E===e.memoizedState||(t.flags|=4),typeof s.getSnapshotBeforeUpdate!="function"||o===e.memoizedProps&&E===e.memoizedState||(t.flags|=1024),l=!1)}return s=l,Pi(e,t),l=(t.flags&128)!==0,s||l?(s=t.stateNode,a=l&&typeof a.getDerivedStateFromError!="function"?null:s.render(),t.flags|=1,e!==null&&l?(t.child=Ul(t,e.child,null,n),t.child=Ul(t,null,a,n)):et(e,t,a,n),t.memoizedState=s.state,e=t.child):e=ta(e,t,n),e}function Bd(e,t,a,l){return gn(),t.flags|=256,et(e,t,a,l),t.child}var Wr={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function Pr(e){return{baseLanes:e,cachePool:Eu()}}function Ir(e,t,a){return e=e!==null?e.childLanes&~a:0,t&&(e|=Ct),e}function Ld(e,t,a){var l=t.pendingProps,n=!1,s=(t.flags&128)!==0,o;if((o=s)||(o=e!==null&&e.memoizedState===null?!1:(Ke.current&2)!==0),o&&(n=!0,t.flags&=-129),o=(t.flags&32)!==0,t.flags&=-33,e===null){if(be){if(n?Aa(t):wa(),be){var m=He,g;if(g=m){e:{for(g=m,m=Bt;g.nodeType!==8;){if(!m){m=null;break e}if(g=qt(g.nextSibling),g===null){m=null;break e}}m=g}m!==null?(t.memoizedState={dehydrated:m,treeContext:$a!==null?{id:$t,overflow:Wt}:null,retryLane:536870912,hydrationErrors:null},g=vt(18,null,null,0),g.stateNode=m,g.return=t,t.child=g,ct=t,He=null,g=!0):g=!1}g||Ia(t)}if(m=t.memoizedState,m!==null&&(m=m.dehydrated,m!==null))return Uc(m)?t.lanes=32:t.lanes=536870912,null;ea(t)}return m=l.children,l=l.fallback,n?(wa(),n=t.mode,m=Ii({mode:"hidden",children:m},n),l=Ja(l,n,a,null),m.return=t,l.return=t,m.sibling=l,t.child=m,n=t.child,n.memoizedState=Pr(a),n.childLanes=Ir(e,o,a),t.memoizedState=Wr,l):(Aa(t),Fr(t,m))}if(g=e.memoizedState,g!==null&&(m=g.dehydrated,m!==null)){if(s)t.flags&256?(Aa(t),t.flags&=-257,t=ec(e,t,a)):t.memoizedState!==null?(wa(),t.child=e.child,t.flags|=128,t=null):(wa(),n=l.fallback,m=t.mode,l=Ii({mode:"visible",children:l.children},m),n=Ja(n,m,a,null),n.flags|=2,l.return=t,n.return=t,l.sibling=n,t.child=l,Ul(t,e.child,null,a),l=t.child,l.memoizedState=Pr(a),l.childLanes=Ir(e,o,a),t.memoizedState=Wr,t=n);else if(Aa(t),Uc(m)){if(o=m.nextSibling&&m.nextSibling.dataset,o)var w=o.dgst;o=w,l=Error(c(419)),l.stack="",l.digest=o,vn({value:l,source:null,stack:null}),t=ec(e,t,a)}else if(Pe||yn(e,t,a,!1),o=(a&e.childLanes)!==0,Pe||o){if(o=_e,o!==null&&(l=a&-a,l=(l&42)!==0?1:qs(l),l=(l&(o.suspendedLanes|a))!==0?0:l,l!==0&&l!==g.retryLane))throw g.retryLane=l,Al(e,l),St(o,e,l),Cd;m.data==="$?"||vc(),t=ec(e,t,a)}else m.data==="$?"?(t.flags|=192,t.child=e.child,t=null):(e=g.treeContext,He=qt(m.nextSibling),ct=t,be=!0,Pa=null,Bt=!1,e!==null&&(zt[Tt++]=$t,zt[Tt++]=Wt,zt[Tt++]=$a,$t=e.id,Wt=e.overflow,$a=t),t=Fr(t,l.children),t.flags|=4096);return t}return n?(wa(),n=l.fallback,m=t.mode,g=e.child,w=g.sibling,l=Jt(g,{mode:"hidden",children:l.children}),l.subtreeFlags=g.subtreeFlags&65011712,w!==null?n=Jt(w,n):(n=Ja(n,m,a,null),n.flags|=2),n.return=t,l.return=t,l.sibling=n,t.child=l,l=n,n=t.child,m=e.child.memoizedState,m===null?m=Pr(a):(g=m.cachePool,g!==null?(w=Ze._currentValue,g=g.parent!==w?{parent:w,pool:w}:g):g=Eu(),m={baseLanes:m.baseLanes|a,cachePool:g}),n.memoizedState=m,n.childLanes=Ir(e,o,a),t.memoizedState=Wr,l):(Aa(t),a=e.child,e=a.sibling,a=Jt(a,{mode:"visible",children:l.children}),a.return=t,a.sibling=null,e!==null&&(o=t.deletions,o===null?(t.deletions=[e],t.flags|=16):o.push(e)),t.child=a,t.memoizedState=null,a)}function Fr(e,t){return t=Ii({mode:"visible",children:t},e.mode),t.return=e,e.child=t}function Ii(e,t){return e=vt(22,e,null,t),e.lanes=0,e.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null},e}function ec(e,t,a){return Ul(t,e.child,null,a),e=Fr(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function Gd(e,t,a){e.lanes|=t;var l=e.alternate;l!==null&&(l.lanes|=t),vr(e.return,t,a)}function tc(e,t,a,l,n){var s=e.memoizedState;s===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:l,tail:a,tailMode:n}:(s.isBackwards=t,s.rendering=null,s.renderingStartTime=0,s.last=l,s.tail=a,s.tailMode=n)}function Yd(e,t,a){var l=t.pendingProps,n=l.revealOrder,s=l.tail;if(et(e,t,l.children,a),l=Ke.current,(l&2)!==0)l=l&1|2,t.flags|=128;else{if(e!==null&&(e.flags&128)!==0)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&Gd(e,a,t);else if(e.tag===19)Gd(e,a,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}l&=1}switch(H(Ke,l),n){case"forwards":for(a=t.child,n=null;a!==null;)e=a.alternate,e!==null&&Ji(e)===null&&(n=a),a=a.sibling;a=n,a===null?(n=t.child,t.child=null):(n=a.sibling,a.sibling=null),tc(t,!1,n,a,s);break;case"backwards":for(a=null,n=t.child,t.child=null;n!==null;){if(e=n.alternate,e!==null&&Ji(e)===null){t.child=n;break}e=n.sibling,n.sibling=a,a=n,n=e}tc(t,!0,a,null,s);break;case"together":tc(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function ta(e,t,a){if(e!==null&&(t.dependencies=e.dependencies),Ra|=t.lanes,(a&t.childLanes)===0)if(e!==null){if(yn(e,t,a,!1),(a&t.childLanes)===0)return null}else return null;if(e!==null&&t.child!==e.child)throw Error(c(153));if(t.child!==null){for(e=t.child,a=Jt(e,e.pendingProps),t.child=a,a.return=t;e.sibling!==null;)e=e.sibling,a=a.sibling=Jt(e,e.pendingProps),a.return=t;a.sibling=null}return t.child}function ac(e,t){return(e.lanes&t)!==0?!0:(e=e.dependencies,!!(e!==null&&_i(e)))}function Jx(e,t,a){switch(t.tag){case 3:Re(t,t.stateNode.containerInfo),ya(t,Ze,e.memoizedState.cache),gn();break;case 27:case 5:ma(t);break;case 4:Re(t,t.stateNode.containerInfo);break;case 10:ya(t,t.type,t.memoizedProps.value);break;case 13:var l=t.memoizedState;if(l!==null)return l.dehydrated!==null?(Aa(t),t.flags|=128,null):(a&t.child.childLanes)!==0?Ld(e,t,a):(Aa(t),e=ta(e,t,a),e!==null?e.sibling:null);Aa(t);break;case 19:var n=(e.flags&128)!==0;if(l=(a&t.childLanes)!==0,l||(yn(e,t,a,!1),l=(a&t.childLanes)!==0),n){if(l)return Yd(e,t,a);t.flags|=128}if(n=t.memoizedState,n!==null&&(n.rendering=null,n.tail=null,n.lastEffect=null),H(Ke,Ke.current),l)break;return null;case 22:case 23:return t.lanes=0,Ud(e,t,a);case 24:ya(t,Ze,e.memoizedState.cache)}return ta(e,t,a)}function Vd(e,t,a){if(e!==null)if(e.memoizedProps!==t.pendingProps)Pe=!0;else{if(!ac(e,a)&&(t.flags&128)===0)return Pe=!1,Jx(e,t,a);Pe=(e.flags&131072)!==0}else Pe=!1,be&&(t.flags&1048576)!==0&&yu(t,Ci,t.index);switch(t.lanes=0,t.tag){case 16:e:{e=t.pendingProps;var l=t.elementType,n=l._init;if(l=n(l._payload),t.type=l,typeof l=="function")dr(l)?(e=ll(l,e),t.tag=1,t=Hd(null,t,l,e,a)):(t.tag=0,t=$r(null,t,l,e,a));else{if(l!=null){if(n=l.$$typeof,n===se){t.tag=11,t=_d(null,t,l,e,a);break e}else if(n===Ee){t.tag=14,t=Dd(null,t,l,e,a);break e}}throw t=Dt(l)||l,Error(c(306,t,""))}}return t;case 0:return $r(e,t,t.type,t.pendingProps,a);case 1:return l=t.type,n=ll(l,t.pendingProps),Hd(e,t,l,n,a);case 3:e:{if(Re(t,t.stateNode.containerInfo),e===null)throw Error(c(387));l=t.pendingProps;var s=t.memoizedState;n=s.element,wr(e,t),En(t,l,null,a);var o=t.memoizedState;if(l=o.cache,ya(t,Ze,l),l!==s.cache&&yr(t,[Ze],a,!0),wn(),l=o.element,s.isDehydrated)if(s={element:l,isDehydrated:!1,cache:o.cache},t.updateQueue.baseState=s,t.memoizedState=s,t.flags&256){t=Bd(e,t,l,a);break e}else if(l!==n){n=Et(Error(c(424)),t),vn(n),t=Bd(e,t,l,a);break e}else{switch(e=t.stateNode.containerInfo,e.nodeType){case 9:e=e.body;break;default:e=e.nodeName==="HTML"?e.ownerDocument.body:e}for(He=qt(e.firstChild),ct=t,be=!0,Pa=null,Bt=!0,a=jd(t,null,l,a),t.child=a;a;)a.flags=a.flags&-3|4096,a=a.sibling}else{if(gn(),l===n){t=ta(e,t,a);break e}et(e,t,l,a)}t=t.child}return t;case 26:return Pi(e,t),e===null?(a=Jf(t.type,null,t.pendingProps,null))?t.memoizedState=a:be||(a=t.type,e=t.pendingProps,l=fs(le.current).createElement(a),l[nt]=t,l[ot]=e,at(l,a,e),We(l),t.stateNode=l):t.memoizedState=Jf(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return ma(t),e===null&&be&&(l=t.stateNode=Qf(t.type,t.pendingProps,le.current),ct=t,Bt=!0,n=He,Oa(t.type)?(qc=n,He=qt(l.firstChild)):He=n),et(e,t,t.pendingProps.children,a),Pi(e,t),e===null&&(t.flags|=4194304),t.child;case 5:return e===null&&be&&((n=l=He)&&(l=Np(l,t.type,t.pendingProps,Bt),l!==null?(t.stateNode=l,ct=t,He=qt(l.firstChild),Bt=!1,n=!0):n=!1),n||Ia(t)),ma(t),n=t.type,s=t.pendingProps,o=e!==null?e.memoizedProps:null,l=s.children,_c(n,s)?l=null:o!==null&&_c(n,o)&&(t.flags|=32),t.memoizedState!==null&&(n=Cr(e,t,Lx,null,null,a),Jn._currentValue=n),Pi(e,t),et(e,t,l,a),t.child;case 6:return e===null&&be&&((e=a=He)&&(a=Sp(a,t.pendingProps,Bt),a!==null?(t.stateNode=a,ct=t,He=null,e=!0):e=!1),e||Ia(t)),null;case 13:return Ld(e,t,a);case 4:return Re(t,t.stateNode.containerInfo),l=t.pendingProps,e===null?t.child=Ul(t,null,l,a):et(e,t,l,a),t.child;case 11:return _d(e,t,t.type,t.pendingProps,a);case 7:return et(e,t,t.pendingProps,a),t.child;case 8:return et(e,t,t.pendingProps.children,a),t.child;case 12:return et(e,t,t.pendingProps.children,a),t.child;case 10:return l=t.pendingProps,ya(t,t.type,l.value),et(e,t,l.children,a),t.child;case 9:return n=t.type._context,l=t.pendingProps.children,el(t),n=it(n),l=l(n),t.flags|=1,et(e,t,l,a),t.child;case 14:return Dd(e,t,t.type,t.pendingProps,a);case 15:return Od(e,t,t.type,t.pendingProps,a);case 19:return Yd(e,t,a);case 31:return l=t.pendingProps,a=t.mode,l={mode:l.mode,children:l.children},e===null?(a=Ii(l,a),a.ref=t.ref,t.child=a,a.return=t,t=a):(a=Jt(e.child,l),a.ref=t.ref,t.child=a,a.return=t,t=a),t;case 22:return Ud(e,t,a);case 24:return el(t),l=it(Ze),e===null?(n=Nr(),n===null&&(n=_e,s=br(),n.pooledCache=s,s.refCount++,s!==null&&(n.pooledCacheLanes|=a),n=s),t.memoizedState={parent:l,cache:n},Ar(t),ya(t,Ze,n)):((e.lanes&a)!==0&&(wr(e,t),En(t,null,null,a),wn()),n=e.memoizedState,s=t.memoizedState,n.parent!==l?(n={parent:l,cache:l},t.memoizedState=n,t.lanes===0&&(t.memoizedState=t.updateQueue.baseState=n),ya(t,Ze,l)):(l=s.cache,ya(t,Ze,l),l!==n.cache&&yr(t,[Ze],a,!0))),et(e,t,t.pendingProps.children,a),t.child;case 29:throw t.pendingProps}throw Error(c(156,t.tag))}function aa(e){e.flags|=4}function Xd(e,t){if(t.type!=="stylesheet"||(t.state.loading&4)!==0)e.flags&=-16777217;else if(e.flags|=16777216,!Ff(t)){if(t=Rt.current,t!==null&&((he&4194048)===he?Lt!==null:(he&62914560)!==he&&(he&536870912)===0||t!==Lt))throw Sn=Sr,Mu;e.flags|=8192}}function Fi(e,t){t!==null&&(e.flags|=4),e.flags&16384&&(t=e.tag!==22?No():536870912,e.lanes|=t,Bl|=t)}function Dn(e,t){if(!be)switch(e.tailMode){case"hidden":t=e.tail;for(var a=null;t!==null;)t.alternate!==null&&(a=t),t=t.sibling;a===null?e.tail=null:a.sibling=null;break;case"collapsed":a=e.tail;for(var l=null;a!==null;)a.alternate!==null&&(l=a),a=a.sibling;l===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:l.sibling=null}}function Ue(e){var t=e.alternate!==null&&e.alternate.child===e.child,a=0,l=0;if(t)for(var n=e.child;n!==null;)a|=n.lanes|n.childLanes,l|=n.subtreeFlags&65011712,l|=n.flags&65011712,n.return=e,n=n.sibling;else for(n=e.child;n!==null;)a|=n.lanes|n.childLanes,l|=n.subtreeFlags,l|=n.flags,n.return=e,n=n.sibling;return e.subtreeFlags|=l,e.childLanes=a,t}function $x(e,t,a){var l=t.pendingProps;switch(xr(t),t.tag){case 31:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Ue(t),null;case 1:return Ue(t),null;case 3:return a=t.stateNode,l=null,e!==null&&(l=e.memoizedState.cache),t.memoizedState.cache!==l&&(t.flags|=2048),It(Ze),ht(),a.pendingContext&&(a.context=a.pendingContext,a.pendingContext=null),(e===null||e.child===null)&&(pn(t)?aa(t):e===null||e.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,Nu())),Ue(t),null;case 26:return a=t.memoizedState,e===null?(aa(t),a!==null?(Ue(t),Xd(t,a)):(Ue(t),t.flags&=-16777217)):a?a!==e.memoizedState?(aa(t),Ue(t),Xd(t,a)):(Ue(t),t.flags&=-16777217):(e.memoizedProps!==l&&aa(t),Ue(t),t.flags&=-16777217),null;case 27:ha(t),a=le.current;var n=t.type;if(e!==null&&t.stateNode!=null)e.memoizedProps!==l&&aa(t);else{if(!l){if(t.stateNode===null)throw Error(c(166));return Ue(t),null}e=Z.current,pn(t)?bu(t):(e=Qf(n,l,a),t.stateNode=e,aa(t))}return Ue(t),null;case 5:if(ha(t),a=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==l&&aa(t);else{if(!l){if(t.stateNode===null)throw Error(c(166));return Ue(t),null}if(e=Z.current,pn(t))bu(t);else{switch(n=fs(le.current),e){case 1:e=n.createElementNS("http://www.w3.org/2000/svg",a);break;case 2:e=n.createElementNS("http://www.w3.org/1998/Math/MathML",a);break;default:switch(a){case"svg":e=n.createElementNS("http://www.w3.org/2000/svg",a);break;case"math":e=n.createElementNS("http://www.w3.org/1998/Math/MathML",a);break;case"script":e=n.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild);break;case"select":e=typeof l.is=="string"?n.createElement("select",{is:l.is}):n.createElement("select"),l.multiple?e.multiple=!0:l.size&&(e.size=l.size);break;default:e=typeof l.is=="string"?n.createElement(a,{is:l.is}):n.createElement(a)}}e[nt]=t,e[ot]=l;e:for(n=t.child;n!==null;){if(n.tag===5||n.tag===6)e.appendChild(n.stateNode);else if(n.tag!==4&&n.tag!==27&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===t)break e;for(;n.sibling===null;){if(n.return===null||n.return===t)break e;n=n.return}n.sibling.return=n.return,n=n.sibling}t.stateNode=e;e:switch(at(e,a,l),a){case"button":case"input":case"select":case"textarea":e=!!l.autoFocus;break e;case"img":e=!0;break e;default:e=!1}e&&aa(t)}}return Ue(t),t.flags&=-16777217,null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==l&&aa(t);else{if(typeof l!="string"&&t.stateNode===null)throw Error(c(166));if(e=le.current,pn(t)){if(e=t.stateNode,a=t.memoizedProps,l=null,n=ct,n!==null)switch(n.tag){case 27:case 5:l=n.memoizedProps}e[nt]=t,e=!!(e.nodeValue===a||l!==null&&l.suppressHydrationWarning===!0||Hf(e.nodeValue,a)),e||Ia(t)}else e=fs(e).createTextNode(l),e[nt]=t,t.stateNode=e}return Ue(t),null;case 13:if(l=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(n=pn(t),l!==null&&l.dehydrated!==null){if(e===null){if(!n)throw Error(c(318));if(n=t.memoizedState,n=n!==null?n.dehydrated:null,!n)throw Error(c(317));n[nt]=t}else gn(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;Ue(t),n=!1}else n=Nu(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=n),n=!0;if(!n)return t.flags&256?(ea(t),t):(ea(t),null)}if(ea(t),(t.flags&128)!==0)return t.lanes=a,t;if(a=l!==null,e=e!==null&&e.memoizedState!==null,a){l=t.child,n=null,l.alternate!==null&&l.alternate.memoizedState!==null&&l.alternate.memoizedState.cachePool!==null&&(n=l.alternate.memoizedState.cachePool.pool);var s=null;l.memoizedState!==null&&l.memoizedState.cachePool!==null&&(s=l.memoizedState.cachePool.pool),s!==n&&(l.flags|=2048)}return a!==e&&a&&(t.child.flags|=8192),Fi(t,t.updateQueue),Ue(t),null;case 4:return ht(),e===null&&Mc(t.stateNode.containerInfo),Ue(t),null;case 10:return It(t.type),Ue(t),null;case 19:if(X(Ke),n=t.memoizedState,n===null)return Ue(t),null;if(l=(t.flags&128)!==0,s=n.rendering,s===null)if(l)Dn(n,!1);else{if(Be!==0||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(s=Ji(e),s!==null){for(t.flags|=128,Dn(n,!1),e=s.updateQueue,t.updateQueue=e,Fi(t,e),t.subtreeFlags=0,e=a,a=t.child;a!==null;)vu(a,e),a=a.sibling;return H(Ke,Ke.current&1|2),t.child}e=e.sibling}n.tail!==null&&Ht()>as&&(t.flags|=128,l=!0,Dn(n,!1),t.lanes=4194304)}else{if(!l)if(e=Ji(s),e!==null){if(t.flags|=128,l=!0,e=e.updateQueue,t.updateQueue=e,Fi(t,e),Dn(n,!0),n.tail===null&&n.tailMode==="hidden"&&!s.alternate&&!be)return Ue(t),null}else 2*Ht()-n.renderingStartTime>as&&a!==536870912&&(t.flags|=128,l=!0,Dn(n,!1),t.lanes=4194304);n.isBackwards?(s.sibling=t.child,t.child=s):(e=n.last,e!==null?e.sibling=s:t.child=s,n.last=s)}return n.tail!==null?(t=n.tail,n.rendering=t,n.tail=t.sibling,n.renderingStartTime=Ht(),t.sibling=null,e=Ke.current,H(Ke,l?e&1|2:e&1),t):(Ue(t),null);case 22:case 23:return ea(t),Tr(),l=t.memoizedState!==null,e!==null?e.memoizedState!==null!==l&&(t.flags|=8192):l&&(t.flags|=8192),l?(a&536870912)!==0&&(t.flags&128)===0&&(Ue(t),t.subtreeFlags&6&&(t.flags|=8192)):Ue(t),a=t.updateQueue,a!==null&&Fi(t,a.retryQueue),a=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(a=e.memoizedState.cachePool.pool),l=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(l=t.memoizedState.cachePool.pool),l!==a&&(t.flags|=2048),e!==null&&X(tl),null;case 24:return a=null,e!==null&&(a=e.memoizedState.cache),t.memoizedState.cache!==a&&(t.flags|=2048),It(Ze),Ue(t),null;case 25:return null;case 30:return null}throw Error(c(156,t.tag))}function Wx(e,t){switch(xr(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return It(Ze),ht(),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return ha(t),null;case 13:if(ea(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(c(340));gn()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return X(Ke),null;case 4:return ht(),null;case 10:return It(t.type),null;case 22:case 23:return ea(t),Tr(),e!==null&&X(tl),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 24:return It(Ze),null;case 25:return null;default:return null}}function Qd(e,t){switch(xr(t),t.tag){case 3:It(Ze),ht();break;case 26:case 27:case 5:ha(t);break;case 4:ht();break;case 13:ea(t);break;case 19:X(Ke);break;case 10:It(t.type);break;case 22:case 23:ea(t),Tr(),e!==null&&X(tl);break;case 24:It(Ze)}}function On(e,t){try{var a=t.updateQueue,l=a!==null?a.lastEffect:null;if(l!==null){var n=l.next;a=n;do{if((a.tag&e)===e){l=void 0;var s=a.create,o=a.inst;l=s(),o.destroy=l}a=a.next}while(a!==n)}}catch(m){Ce(t,t.return,m)}}function Ea(e,t,a){try{var l=t.updateQueue,n=l!==null?l.lastEffect:null;if(n!==null){var s=n.next;l=s;do{if((l.tag&e)===e){var o=l.inst,m=o.destroy;if(m!==void 0){o.destroy=void 0,n=t;var g=a,w=m;try{w()}catch(D){Ce(n,g,D)}}}l=l.next}while(l!==s)}}catch(D){Ce(t,t.return,D)}}function Zd(e){var t=e.updateQueue;if(t!==null){var a=e.stateNode;try{Du(t,a)}catch(l){Ce(e,e.return,l)}}}function Kd(e,t,a){a.props=ll(e.type,e.memoizedProps),a.state=e.memoizedState;try{a.componentWillUnmount()}catch(l){Ce(e,t,l)}}function Un(e,t){try{var a=e.ref;if(a!==null){switch(e.tag){case 26:case 27:case 5:var l=e.stateNode;break;case 30:l=e.stateNode;break;default:l=e.stateNode}typeof a=="function"?e.refCleanup=a(l):a.current=l}}catch(n){Ce(e,t,n)}}function Gt(e,t){var a=e.ref,l=e.refCleanup;if(a!==null)if(typeof l=="function")try{l()}catch(n){Ce(e,t,n)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof a=="function")try{a(null)}catch(n){Ce(e,t,n)}else a.current=null}function Jd(e){var t=e.type,a=e.memoizedProps,l=e.stateNode;try{e:switch(t){case"button":case"input":case"select":case"textarea":a.autoFocus&&l.focus();break e;case"img":a.src?l.src=a.src:a.srcSet&&(l.srcset=a.srcSet)}}catch(n){Ce(e,e.return,n)}}function lc(e,t,a){try{var l=e.stateNode;gp(l,e.type,a,t),l[ot]=t}catch(n){Ce(e,e.return,n)}}function $d(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&Oa(e.type)||e.tag===4}function nc(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||$d(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.tag===27&&Oa(e.type)||e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function ic(e,t,a){var l=e.tag;if(l===5||l===6)e=e.stateNode,t?(a.nodeType===9?a.body:a.nodeName==="HTML"?a.ownerDocument.body:a).insertBefore(e,t):(t=a.nodeType===9?a.body:a.nodeName==="HTML"?a.ownerDocument.body:a,t.appendChild(e),a=a._reactRootContainer,a!=null||t.onclick!==null||(t.onclick=ds));else if(l!==4&&(l===27&&Oa(e.type)&&(a=e.stateNode,t=null),e=e.child,e!==null))for(ic(e,t,a),e=e.sibling;e!==null;)ic(e,t,a),e=e.sibling}function es(e,t,a){var l=e.tag;if(l===5||l===6)e=e.stateNode,t?a.insertBefore(e,t):a.appendChild(e);else if(l!==4&&(l===27&&Oa(e.type)&&(a=e.stateNode),e=e.child,e!==null))for(es(e,t,a),e=e.sibling;e!==null;)es(e,t,a),e=e.sibling}function Wd(e){var t=e.stateNode,a=e.memoizedProps;try{for(var l=e.type,n=t.attributes;n.length;)t.removeAttributeNode(n[0]);at(t,l,a),t[nt]=e,t[ot]=a}catch(s){Ce(e,e.return,s)}}var la=!1,Ve=!1,sc=!1,Pd=typeof WeakSet=="function"?WeakSet:Set,Ie=null;function Px(e,t){if(e=e.containerInfo,Rc=vs,e=cu(e),nr(e)){if("selectionStart"in e)var a={start:e.selectionStart,end:e.selectionEnd};else e:{a=(a=e.ownerDocument)&&a.defaultView||window;var l=a.getSelection&&a.getSelection();if(l&&l.rangeCount!==0){a=l.anchorNode;var n=l.anchorOffset,s=l.focusNode;l=l.focusOffset;try{a.nodeType,s.nodeType}catch{a=null;break e}var o=0,m=-1,g=-1,w=0,D=0,U=e,E=null;t:for(;;){for(var M;U!==a||n!==0&&U.nodeType!==3||(m=o+n),U!==s||l!==0&&U.nodeType!==3||(g=o+l),U.nodeType===3&&(o+=U.nodeValue.length),(M=U.firstChild)!==null;)E=U,U=M;for(;;){if(U===e)break t;if(E===a&&++w===n&&(m=o),E===s&&++D===l&&(g=o),(M=U.nextSibling)!==null)break;U=E,E=U.parentNode}U=M}a=m===-1||g===-1?null:{start:m,end:g}}else a=null}a=a||{start:0,end:0}}else a=null;for(Cc={focusedElem:e,selectionRange:a},vs=!1,Ie=t;Ie!==null;)if(t=Ie,e=t.child,(t.subtreeFlags&1024)!==0&&e!==null)e.return=t,Ie=e;else for(;Ie!==null;){switch(t=Ie,s=t.alternate,e=t.flags,t.tag){case 0:break;case 11:case 15:break;case 1:if((e&1024)!==0&&s!==null){e=void 0,a=t,n=s.memoizedProps,s=s.memoizedState,l=a.stateNode;try{var ae=ll(a.type,n,a.elementType===a.type);e=l.getSnapshotBeforeUpdate(ae,s),l.__reactInternalSnapshotBeforeUpdate=e}catch(ee){Ce(a,a.return,ee)}}break;case 3:if((e&1024)!==0){if(e=t.stateNode.containerInfo,a=e.nodeType,a===9)Oc(e);else if(a===1)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":Oc(e);break;default:e.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((e&1024)!==0)throw Error(c(163))}if(e=t.sibling,e!==null){e.return=t.return,Ie=e;break}Ie=t.return}}function Id(e,t,a){var l=a.flags;switch(a.tag){case 0:case 11:case 15:Ma(e,a),l&4&&On(5,a);break;case 1:if(Ma(e,a),l&4)if(e=a.stateNode,t===null)try{e.componentDidMount()}catch(o){Ce(a,a.return,o)}else{var n=ll(a.type,t.memoizedProps);t=t.memoizedState;try{e.componentDidUpdate(n,t,e.__reactInternalSnapshotBeforeUpdate)}catch(o){Ce(a,a.return,o)}}l&64&&Zd(a),l&512&&Un(a,a.return);break;case 3:if(Ma(e,a),l&64&&(e=a.updateQueue,e!==null)){if(t=null,a.child!==null)switch(a.child.tag){case 27:case 5:t=a.child.stateNode;break;case 1:t=a.child.stateNode}try{Du(e,t)}catch(o){Ce(a,a.return,o)}}break;case 27:t===null&&l&4&&Wd(a);case 26:case 5:Ma(e,a),t===null&&l&4&&Jd(a),l&512&&Un(a,a.return);break;case 12:Ma(e,a);break;case 13:Ma(e,a),l&4&&tf(e,a),l&64&&(e=a.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(a=sp.bind(null,a),Ap(e,a))));break;case 22:if(l=a.memoizedState!==null||la,!l){t=t!==null&&t.memoizedState!==null||Ve,n=la;var s=Ve;la=l,(Ve=t)&&!s?za(e,a,(a.subtreeFlags&8772)!==0):Ma(e,a),la=n,Ve=s}break;case 30:break;default:Ma(e,a)}}function Fd(e){var t=e.alternate;t!==null&&(e.alternate=null,Fd(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&Bs(t)),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}var De=null,ft=!1;function na(e,t,a){for(a=a.child;a!==null;)ef(e,t,a),a=a.sibling}function ef(e,t,a){if(xt&&typeof xt.onCommitFiberUnmount=="function")try{xt.onCommitFiberUnmount(tn,a)}catch{}switch(a.tag){case 26:Ve||Gt(a,t),na(e,t,a),a.memoizedState?a.memoizedState.count--:a.stateNode&&(a=a.stateNode,a.parentNode.removeChild(a));break;case 27:Ve||Gt(a,t);var l=De,n=ft;Oa(a.type)&&(De=a.stateNode,ft=!1),na(e,t,a),Xn(a.stateNode),De=l,ft=n;break;case 5:Ve||Gt(a,t);case 6:if(l=De,n=ft,De=null,na(e,t,a),De=l,ft=n,De!==null)if(ft)try{(De.nodeType===9?De.body:De.nodeName==="HTML"?De.ownerDocument.body:De).removeChild(a.stateNode)}catch(s){Ce(a,t,s)}else try{De.removeChild(a.stateNode)}catch(s){Ce(a,t,s)}break;case 18:De!==null&&(ft?(e=De,Vf(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,a.stateNode),In(e)):Vf(De,a.stateNode));break;case 4:l=De,n=ft,De=a.stateNode.containerInfo,ft=!0,na(e,t,a),De=l,ft=n;break;case 0:case 11:case 14:case 15:Ve||Ea(2,a,t),Ve||Ea(4,a,t),na(e,t,a);break;case 1:Ve||(Gt(a,t),l=a.stateNode,typeof l.componentWillUnmount=="function"&&Kd(a,t,l)),na(e,t,a);break;case 21:na(e,t,a);break;case 22:Ve=(l=Ve)||a.memoizedState!==null,na(e,t,a),Ve=l;break;default:na(e,t,a)}}function tf(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{In(e)}catch(a){Ce(t,t.return,a)}}function Ix(e){switch(e.tag){case 13:case 19:var t=e.stateNode;return t===null&&(t=e.stateNode=new Pd),t;case 22:return e=e.stateNode,t=e._retryCache,t===null&&(t=e._retryCache=new Pd),t;default:throw Error(c(435,e.tag))}}function rc(e,t){var a=Ix(e);t.forEach(function(l){var n=rp.bind(null,e,l);a.has(l)||(a.add(l),l.then(n,n))})}function yt(e,t){var a=t.deletions;if(a!==null)for(var l=0;l<a.length;l++){var n=a[l],s=e,o=t,m=o;e:for(;m!==null;){switch(m.tag){case 27:if(Oa(m.type)){De=m.stateNode,ft=!1;break e}break;case 5:De=m.stateNode,ft=!1;break e;case 3:case 4:De=m.stateNode.containerInfo,ft=!0;break e}m=m.return}if(De===null)throw Error(c(160));ef(s,o,n),De=null,ft=!1,s=n.alternate,s!==null&&(s.return=null),n.return=null}if(t.subtreeFlags&13878)for(t=t.child;t!==null;)af(t,e),t=t.sibling}var Ut=null;function af(e,t){var a=e.alternate,l=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:yt(t,e),bt(e),l&4&&(Ea(3,e,e.return),On(3,e),Ea(5,e,e.return));break;case 1:yt(t,e),bt(e),l&512&&(Ve||a===null||Gt(a,a.return)),l&64&&la&&(e=e.updateQueue,e!==null&&(l=e.callbacks,l!==null&&(a=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=a===null?l:a.concat(l))));break;case 26:var n=Ut;if(yt(t,e),bt(e),l&512&&(Ve||a===null||Gt(a,a.return)),l&4){var s=a!==null?a.memoizedState:null;if(l=e.memoizedState,a===null)if(l===null)if(e.stateNode===null){e:{l=e.type,a=e.memoizedProps,n=n.ownerDocument||n;t:switch(l){case"title":s=n.getElementsByTagName("title")[0],(!s||s[nn]||s[nt]||s.namespaceURI==="http://www.w3.org/2000/svg"||s.hasAttribute("itemprop"))&&(s=n.createElement(l),n.head.insertBefore(s,n.querySelector("head > title"))),at(s,l,a),s[nt]=e,We(s),l=s;break e;case"link":var o=Pf("link","href",n).get(l+(a.href||""));if(o){for(var m=0;m<o.length;m++)if(s=o[m],s.getAttribute("href")===(a.href==null||a.href===""?null:a.href)&&s.getAttribute("rel")===(a.rel==null?null:a.rel)&&s.getAttribute("title")===(a.title==null?null:a.title)&&s.getAttribute("crossorigin")===(a.crossOrigin==null?null:a.crossOrigin)){o.splice(m,1);break t}}s=n.createElement(l),at(s,l,a),n.head.appendChild(s);break;case"meta":if(o=Pf("meta","content",n).get(l+(a.content||""))){for(m=0;m<o.length;m++)if(s=o[m],s.getAttribute("content")===(a.content==null?null:""+a.content)&&s.getAttribute("name")===(a.name==null?null:a.name)&&s.getAttribute("property")===(a.property==null?null:a.property)&&s.getAttribute("http-equiv")===(a.httpEquiv==null?null:a.httpEquiv)&&s.getAttribute("charset")===(a.charSet==null?null:a.charSet)){o.splice(m,1);break t}}s=n.createElement(l),at(s,l,a),n.head.appendChild(s);break;default:throw Error(c(468,l))}s[nt]=e,We(s),l=s}e.stateNode=l}else If(n,e.type,e.stateNode);else e.stateNode=Wf(n,l,e.memoizedProps);else s!==l?(s===null?a.stateNode!==null&&(a=a.stateNode,a.parentNode.removeChild(a)):s.count--,l===null?If(n,e.type,e.stateNode):Wf(n,l,e.memoizedProps)):l===null&&e.stateNode!==null&&lc(e,e.memoizedProps,a.memoizedProps)}break;case 27:yt(t,e),bt(e),l&512&&(Ve||a===null||Gt(a,a.return)),a!==null&&l&4&&lc(e,e.memoizedProps,a.memoizedProps);break;case 5:if(yt(t,e),bt(e),l&512&&(Ve||a===null||Gt(a,a.return)),e.flags&32){n=e.stateNode;try{gl(n,"")}catch(M){Ce(e,e.return,M)}}l&4&&e.stateNode!=null&&(n=e.memoizedProps,lc(e,n,a!==null?a.memoizedProps:n)),l&1024&&(sc=!0);break;case 6:if(yt(t,e),bt(e),l&4){if(e.stateNode===null)throw Error(c(162));l=e.memoizedProps,a=e.stateNode;try{a.nodeValue=l}catch(M){Ce(e,e.return,M)}}break;case 3:if(xs=null,n=Ut,Ut=ms(t.containerInfo),yt(t,e),Ut=n,bt(e),l&4&&a!==null&&a.memoizedState.isDehydrated)try{In(t.containerInfo)}catch(M){Ce(e,e.return,M)}sc&&(sc=!1,lf(e));break;case 4:l=Ut,Ut=ms(e.stateNode.containerInfo),yt(t,e),bt(e),Ut=l;break;case 12:yt(t,e),bt(e);break;case 13:yt(t,e),bt(e),e.child.flags&8192&&e.memoizedState!==null!=(a!==null&&a.memoizedState!==null)&&(mc=Ht()),l&4&&(l=e.updateQueue,l!==null&&(e.updateQueue=null,rc(e,l)));break;case 22:n=e.memoizedState!==null;var g=a!==null&&a.memoizedState!==null,w=la,D=Ve;if(la=w||n,Ve=D||g,yt(t,e),Ve=D,la=w,bt(e),l&8192)e:for(t=e.stateNode,t._visibility=n?t._visibility&-2:t._visibility|1,n&&(a===null||g||la||Ve||nl(e)),a=null,t=e;;){if(t.tag===5||t.tag===26){if(a===null){g=a=t;try{if(s=g.stateNode,n)o=s.style,typeof o.setProperty=="function"?o.setProperty("display","none","important"):o.display="none";else{m=g.stateNode;var U=g.memoizedProps.style,E=U!=null&&U.hasOwnProperty("display")?U.display:null;m.style.display=E==null||typeof E=="boolean"?"":(""+E).trim()}}catch(M){Ce(g,g.return,M)}}}else if(t.tag===6){if(a===null){g=t;try{g.stateNode.nodeValue=n?"":g.memoizedProps}catch(M){Ce(g,g.return,M)}}}else if((t.tag!==22&&t.tag!==23||t.memoizedState===null||t===e)&&t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break e;for(;t.sibling===null;){if(t.return===null||t.return===e)break e;a===t&&(a=null),t=t.return}a===t&&(a=null),t.sibling.return=t.return,t=t.sibling}l&4&&(l=e.updateQueue,l!==null&&(a=l.retryQueue,a!==null&&(l.retryQueue=null,rc(e,a))));break;case 19:yt(t,e),bt(e),l&4&&(l=e.updateQueue,l!==null&&(e.updateQueue=null,rc(e,l)));break;case 30:break;case 21:break;default:yt(t,e),bt(e)}}function bt(e){var t=e.flags;if(t&2){try{for(var a,l=e.return;l!==null;){if($d(l)){a=l;break}l=l.return}if(a==null)throw Error(c(160));switch(a.tag){case 27:var n=a.stateNode,s=nc(e);es(e,s,n);break;case 5:var o=a.stateNode;a.flags&32&&(gl(o,""),a.flags&=-33);var m=nc(e);es(e,m,o);break;case 3:case 4:var g=a.stateNode.containerInfo,w=nc(e);ic(e,w,g);break;default:throw Error(c(161))}}catch(D){Ce(e,e.return,D)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function lf(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var t=e;lf(t),t.tag===5&&t.flags&1024&&t.stateNode.reset(),e=e.sibling}}function Ma(e,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)Id(e,t.alternate,t),t=t.sibling}function nl(e){for(e=e.child;e!==null;){var t=e;switch(t.tag){case 0:case 11:case 14:case 15:Ea(4,t,t.return),nl(t);break;case 1:Gt(t,t.return);var a=t.stateNode;typeof a.componentWillUnmount=="function"&&Kd(t,t.return,a),nl(t);break;case 27:Xn(t.stateNode);case 26:case 5:Gt(t,t.return),nl(t);break;case 22:t.memoizedState===null&&nl(t);break;case 30:nl(t);break;default:nl(t)}e=e.sibling}}function za(e,t,a){for(a=a&&(t.subtreeFlags&8772)!==0,t=t.child;t!==null;){var l=t.alternate,n=e,s=t,o=s.flags;switch(s.tag){case 0:case 11:case 15:za(n,s,a),On(4,s);break;case 1:if(za(n,s,a),l=s,n=l.stateNode,typeof n.componentDidMount=="function")try{n.componentDidMount()}catch(w){Ce(l,l.return,w)}if(l=s,n=l.updateQueue,n!==null){var m=l.stateNode;try{var g=n.shared.hiddenCallbacks;if(g!==null)for(n.shared.hiddenCallbacks=null,n=0;n<g.length;n++)_u(g[n],m)}catch(w){Ce(l,l.return,w)}}a&&o&64&&Zd(s),Un(s,s.return);break;case 27:Wd(s);case 26:case 5:za(n,s,a),a&&l===null&&o&4&&Jd(s),Un(s,s.return);break;case 12:za(n,s,a);break;case 13:za(n,s,a),a&&o&4&&tf(n,s);break;case 22:s.memoizedState===null&&za(n,s,a),Un(s,s.return);break;case 30:break;default:za(n,s,a)}t=t.sibling}}function cc(e,t){var a=null;e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(a=e.memoizedState.cachePool.pool),e=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(e=t.memoizedState.cachePool.pool),e!==a&&(e!=null&&e.refCount++,a!=null&&bn(a))}function oc(e,t){e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&bn(e))}function Yt(e,t,a,l){if(t.subtreeFlags&10256)for(t=t.child;t!==null;)nf(e,t,a,l),t=t.sibling}function nf(e,t,a,l){var n=t.flags;switch(t.tag){case 0:case 11:case 15:Yt(e,t,a,l),n&2048&&On(9,t);break;case 1:Yt(e,t,a,l);break;case 3:Yt(e,t,a,l),n&2048&&(e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&bn(e)));break;case 12:if(n&2048){Yt(e,t,a,l),e=t.stateNode;try{var s=t.memoizedProps,o=s.id,m=s.onPostCommit;typeof m=="function"&&m(o,t.alternate===null?"mount":"update",e.passiveEffectDuration,-0)}catch(g){Ce(t,t.return,g)}}else Yt(e,t,a,l);break;case 13:Yt(e,t,a,l);break;case 23:break;case 22:s=t.stateNode,o=t.alternate,t.memoizedState!==null?s._visibility&2?Yt(e,t,a,l):qn(e,t):s._visibility&2?Yt(e,t,a,l):(s._visibility|=2,ql(e,t,a,l,(t.subtreeFlags&10256)!==0)),n&2048&&cc(o,t);break;case 24:Yt(e,t,a,l),n&2048&&oc(t.alternate,t);break;default:Yt(e,t,a,l)}}function ql(e,t,a,l,n){for(n=n&&(t.subtreeFlags&10256)!==0,t=t.child;t!==null;){var s=e,o=t,m=a,g=l,w=o.flags;switch(o.tag){case 0:case 11:case 15:ql(s,o,m,g,n),On(8,o);break;case 23:break;case 22:var D=o.stateNode;o.memoizedState!==null?D._visibility&2?ql(s,o,m,g,n):qn(s,o):(D._visibility|=2,ql(s,o,m,g,n)),n&&w&2048&&cc(o.alternate,o);break;case 24:ql(s,o,m,g,n),n&&w&2048&&oc(o.alternate,o);break;default:ql(s,o,m,g,n)}t=t.sibling}}function qn(e,t){if(t.subtreeFlags&10256)for(t=t.child;t!==null;){var a=e,l=t,n=l.flags;switch(l.tag){case 22:qn(a,l),n&2048&&cc(l.alternate,l);break;case 24:qn(a,l),n&2048&&oc(l.alternate,l);break;default:qn(a,l)}t=t.sibling}}var kn=8192;function kl(e){if(e.subtreeFlags&kn)for(e=e.child;e!==null;)sf(e),e=e.sibling}function sf(e){switch(e.tag){case 26:kl(e),e.flags&kn&&e.memoizedState!==null&&kp(Ut,e.memoizedState,e.memoizedProps);break;case 5:kl(e);break;case 3:case 4:var t=Ut;Ut=ms(e.stateNode.containerInfo),kl(e),Ut=t;break;case 22:e.memoizedState===null&&(t=e.alternate,t!==null&&t.memoizedState!==null?(t=kn,kn=16777216,kl(e),kn=t):kl(e));break;default:kl(e)}}function rf(e){var t=e.alternate;if(t!==null&&(e=t.child,e!==null)){t.child=null;do t=e.sibling,e.sibling=null,e=t;while(e!==null)}}function Hn(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var a=0;a<t.length;a++){var l=t[a];Ie=l,of(l,e)}rf(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)cf(e),e=e.sibling}function cf(e){switch(e.tag){case 0:case 11:case 15:Hn(e),e.flags&2048&&Ea(9,e,e.return);break;case 3:Hn(e);break;case 12:Hn(e);break;case 22:var t=e.stateNode;e.memoizedState!==null&&t._visibility&2&&(e.return===null||e.return.tag!==13)?(t._visibility&=-3,ts(e)):Hn(e);break;default:Hn(e)}}function ts(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var a=0;a<t.length;a++){var l=t[a];Ie=l,of(l,e)}rf(e)}for(e=e.child;e!==null;){switch(t=e,t.tag){case 0:case 11:case 15:Ea(8,t,t.return),ts(t);break;case 22:a=t.stateNode,a._visibility&2&&(a._visibility&=-3,ts(t));break;default:ts(t)}e=e.sibling}}function of(e,t){for(;Ie!==null;){var a=Ie;switch(a.tag){case 0:case 11:case 15:Ea(8,a,t);break;case 23:case 22:if(a.memoizedState!==null&&a.memoizedState.cachePool!==null){var l=a.memoizedState.cachePool.pool;l!=null&&l.refCount++}break;case 24:bn(a.memoizedState.cache)}if(l=a.child,l!==null)l.return=a,Ie=l;else e:for(a=e;Ie!==null;){l=Ie;var n=l.sibling,s=l.return;if(Fd(l),l===a){Ie=null;break e}if(n!==null){n.return=s,Ie=n;break e}Ie=s}}}var Fx={getCacheForType:function(e){var t=it(Ze),a=t.data.get(e);return a===void 0&&(a=e(),t.data.set(e,a)),a}},ep=typeof WeakMap=="function"?WeakMap:Map,Se=0,_e=null,de=null,he=0,Ae=0,jt=null,Ta=!1,Hl=!1,uc=!1,ia=0,Be=0,Ra=0,il=0,dc=0,Ct=0,Bl=0,Bn=null,mt=null,fc=!1,mc=0,as=1/0,ls=null,Ca=null,tt=0,_a=null,Ll=null,Gl=0,hc=0,xc=null,uf=null,Ln=0,pc=null;function Nt(){if((Se&2)!==0&&he!==0)return he&-he;if(R.T!==null){var e=zl;return e!==0?e:Sc()}return wo()}function df(){Ct===0&&(Ct=(he&536870912)===0||be?jo():536870912);var e=Rt.current;return e!==null&&(e.flags|=32),Ct}function St(e,t,a){(e===_e&&(Ae===2||Ae===9)||e.cancelPendingCommit!==null)&&(Yl(e,0),Da(e,he,Ct,!1)),ln(e,a),((Se&2)===0||e!==_e)&&(e===_e&&((Se&2)===0&&(il|=a),Be===4&&Da(e,he,Ct,!1)),Vt(e))}function ff(e,t,a){if((Se&6)!==0)throw Error(c(327));var l=!a&&(t&124)===0&&(t&e.expiredLanes)===0||an(e,t),n=l?lp(e,t):yc(e,t,!0),s=l;do{if(n===0){Hl&&!l&&Da(e,t,0,!1);break}else{if(a=e.current.alternate,s&&!tp(a)){n=yc(e,t,!1),s=!1;continue}if(n===2){if(s=t,e.errorRecoveryDisabledLanes&s)var o=0;else o=e.pendingLanes&-536870913,o=o!==0?o:o&536870912?536870912:0;if(o!==0){t=o;e:{var m=e;n=Bn;var g=m.current.memoizedState.isDehydrated;if(g&&(Yl(m,o).flags|=256),o=yc(m,o,!1),o!==2){if(uc&&!g){m.errorRecoveryDisabledLanes|=s,il|=s,n=4;break e}s=mt,mt=n,s!==null&&(mt===null?mt=s:mt.push.apply(mt,s))}n=o}if(s=!1,n!==2)continue}}if(n===1){Yl(e,0),Da(e,t,0,!0);break}e:{switch(l=e,s=n,s){case 0:case 1:throw Error(c(345));case 4:if((t&4194048)!==t)break;case 6:Da(l,t,Ct,!Ta);break e;case 2:mt=null;break;case 3:case 5:break;default:throw Error(c(329))}if((t&62914560)===t&&(n=mc+300-Ht(),10<n)){if(Da(l,t,Ct,!Ta),hi(l,0,!0)!==0)break e;l.timeoutHandle=Gf(mf.bind(null,l,a,mt,ls,fc,t,Ct,il,Bl,Ta,s,2,-0,0),n);break e}mf(l,a,mt,ls,fc,t,Ct,il,Bl,Ta,s,0,-0,0)}}break}while(!0);Vt(e)}function mf(e,t,a,l,n,s,o,m,g,w,D,U,E,M){if(e.timeoutHandle=-1,U=t.subtreeFlags,(U&8192||(U&16785408)===16785408)&&(Kn={stylesheets:null,count:0,unsuspend:qp},sf(t),U=Hp(),U!==null)){e.cancelPendingCommit=U(bf.bind(null,e,t,s,a,l,n,o,m,g,D,1,E,M)),Da(e,s,o,!w);return}bf(e,t,s,a,l,n,o,m,g)}function tp(e){for(var t=e;;){var a=t.tag;if((a===0||a===11||a===15)&&t.flags&16384&&(a=t.updateQueue,a!==null&&(a=a.stores,a!==null)))for(var l=0;l<a.length;l++){var n=a[l],s=n.getSnapshot;n=n.value;try{if(!gt(s(),n))return!1}catch{return!1}}if(a=t.child,t.subtreeFlags&16384&&a!==null)a.return=t,t=a;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function Da(e,t,a,l){t&=~dc,t&=~il,e.suspendedLanes|=t,e.pingedLanes&=~t,l&&(e.warmLanes|=t),l=e.expirationTimes;for(var n=t;0<n;){var s=31-pt(n),o=1<<s;l[s]=-1,n&=~o}a!==0&&So(e,a,t)}function ns(){return(Se&6)===0?(Gn(0),!1):!0}function gc(){if(de!==null){if(Ae===0)var e=de.return;else e=de,Pt=Fa=null,Or(e),Ol=null,Cn=0,e=de;for(;e!==null;)Qd(e.alternate,e),e=e.return;de=null}}function Yl(e,t){var a=e.timeoutHandle;a!==-1&&(e.timeoutHandle=-1,yp(a)),a=e.cancelPendingCommit,a!==null&&(e.cancelPendingCommit=null,a()),gc(),_e=e,de=a=Jt(e.current,null),he=t,Ae=0,jt=null,Ta=!1,Hl=an(e,t),uc=!1,Bl=Ct=dc=il=Ra=Be=0,mt=Bn=null,fc=!1,(t&8)!==0&&(t|=t&32);var l=e.entangledLanes;if(l!==0)for(e=e.entanglements,l&=t;0<l;){var n=31-pt(l),s=1<<n;t|=e[n],l&=~s}return ia=t,Ei(),a}function hf(e,t){re=null,R.H=Qi,t===Nn||t===Ui?(t=Ru(),Ae=3):t===Mu?(t=Ru(),Ae=4):Ae=t===Cd?8:t!==null&&typeof t=="object"&&typeof t.then=="function"?6:1,jt=t,de===null&&(Be=1,Wi(e,Et(t,e.current)))}function xf(){var e=R.H;return R.H=Qi,e===null?Qi:e}function pf(){var e=R.A;return R.A=Fx,e}function vc(){Be=4,Ta||(he&4194048)!==he&&Rt.current!==null||(Hl=!0),(Ra&134217727)===0&&(il&134217727)===0||_e===null||Da(_e,he,Ct,!1)}function yc(e,t,a){var l=Se;Se|=2;var n=xf(),s=pf();(_e!==e||he!==t)&&(ls=null,Yl(e,t)),t=!1;var o=Be;e:do try{if(Ae!==0&&de!==null){var m=de,g=jt;switch(Ae){case 8:gc(),o=6;break e;case 3:case 2:case 9:case 6:Rt.current===null&&(t=!0);var w=Ae;if(Ae=0,jt=null,Vl(e,m,g,w),a&&Hl){o=0;break e}break;default:w=Ae,Ae=0,jt=null,Vl(e,m,g,w)}}ap(),o=Be;break}catch(D){hf(e,D)}while(!0);return t&&e.shellSuspendCounter++,Pt=Fa=null,Se=l,R.H=n,R.A=s,de===null&&(_e=null,he=0,Ei()),o}function ap(){for(;de!==null;)gf(de)}function lp(e,t){var a=Se;Se|=2;var l=xf(),n=pf();_e!==e||he!==t?(ls=null,as=Ht()+500,Yl(e,t)):Hl=an(e,t);e:do try{if(Ae!==0&&de!==null){t=de;var s=jt;t:switch(Ae){case 1:Ae=0,jt=null,Vl(e,t,s,1);break;case 2:case 9:if(zu(s)){Ae=0,jt=null,vf(t);break}t=function(){Ae!==2&&Ae!==9||_e!==e||(Ae=7),Vt(e)},s.then(t,t);break e;case 3:Ae=7;break e;case 4:Ae=5;break e;case 7:zu(s)?(Ae=0,jt=null,vf(t)):(Ae=0,jt=null,Vl(e,t,s,7));break;case 5:var o=null;switch(de.tag){case 26:o=de.memoizedState;case 5:case 27:var m=de;if(!o||Ff(o)){Ae=0,jt=null;var g=m.sibling;if(g!==null)de=g;else{var w=m.return;w!==null?(de=w,is(w)):de=null}break t}}Ae=0,jt=null,Vl(e,t,s,5);break;case 6:Ae=0,jt=null,Vl(e,t,s,6);break;case 8:gc(),Be=6;break e;default:throw Error(c(462))}}np();break}catch(D){hf(e,D)}while(!0);return Pt=Fa=null,R.H=l,R.A=n,Se=a,de!==null?0:(_e=null,he=0,Ei(),Be)}function np(){for(;de!==null&&!Eh();)gf(de)}function gf(e){var t=Vd(e.alternate,e,ia);e.memoizedProps=e.pendingProps,t===null?is(e):de=t}function vf(e){var t=e,a=t.alternate;switch(t.tag){case 15:case 0:t=kd(a,t,t.pendingProps,t.type,void 0,he);break;case 11:t=kd(a,t,t.pendingProps,t.type.render,t.ref,he);break;case 5:Or(t);default:Qd(a,t),t=de=vu(t,ia),t=Vd(a,t,ia)}e.memoizedProps=e.pendingProps,t===null?is(e):de=t}function Vl(e,t,a,l){Pt=Fa=null,Or(t),Ol=null,Cn=0;var n=t.return;try{if(Kx(e,n,t,a,he)){Be=1,Wi(e,Et(a,e.current)),de=null;return}}catch(s){if(n!==null)throw de=n,s;Be=1,Wi(e,Et(a,e.current)),de=null;return}t.flags&32768?(be||l===1?e=!0:Hl||(he&536870912)!==0?e=!1:(Ta=e=!0,(l===2||l===9||l===3||l===6)&&(l=Rt.current,l!==null&&l.tag===13&&(l.flags|=16384))),yf(t,e)):is(t)}function is(e){var t=e;do{if((t.flags&32768)!==0){yf(t,Ta);return}e=t.return;var a=$x(t.alternate,t,ia);if(a!==null){de=a;return}if(t=t.sibling,t!==null){de=t;return}de=t=e}while(t!==null);Be===0&&(Be=5)}function yf(e,t){do{var a=Wx(e.alternate,e);if(a!==null){a.flags&=32767,de=a;return}if(a=e.return,a!==null&&(a.flags|=32768,a.subtreeFlags=0,a.deletions=null),!t&&(e=e.sibling,e!==null)){de=e;return}de=e=a}while(e!==null);Be=6,de=null}function bf(e,t,a,l,n,s,o,m,g){e.cancelPendingCommit=null;do ss();while(tt!==0);if((Se&6)!==0)throw Error(c(327));if(t!==null){if(t===e.current)throw Error(c(177));if(s=t.lanes|t.childLanes,s|=or,qh(e,a,s,o,m,g),e===_e&&(de=_e=null,he=0),Ll=t,_a=e,Gl=a,hc=s,xc=n,uf=l,(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?(e.callbackNode=null,e.callbackPriority=0,cp(di,function(){return wf(),null})):(e.callbackNode=null,e.callbackPriority=0),l=(t.flags&13878)!==0,(t.subtreeFlags&13878)!==0||l){l=R.T,R.T=null,n=Y.p,Y.p=2,o=Se,Se|=4;try{Px(e,t,a)}finally{Se=o,Y.p=n,R.T=l}}tt=1,jf(),Nf(),Sf()}}function jf(){if(tt===1){tt=0;var e=_a,t=Ll,a=(t.flags&13878)!==0;if((t.subtreeFlags&13878)!==0||a){a=R.T,R.T=null;var l=Y.p;Y.p=2;var n=Se;Se|=4;try{af(t,e);var s=Cc,o=cu(e.containerInfo),m=s.focusedElem,g=s.selectionRange;if(o!==m&&m&&m.ownerDocument&&ru(m.ownerDocument.documentElement,m)){if(g!==null&&nr(m)){var w=g.start,D=g.end;if(D===void 0&&(D=w),"selectionStart"in m)m.selectionStart=w,m.selectionEnd=Math.min(D,m.value.length);else{var U=m.ownerDocument||document,E=U&&U.defaultView||window;if(E.getSelection){var M=E.getSelection(),ae=m.textContent.length,ee=Math.min(g.start,ae),Te=g.end===void 0?ee:Math.min(g.end,ae);!M.extend&&ee>Te&&(o=Te,Te=ee,ee=o);var j=su(m,ee),b=su(m,Te);if(j&&b&&(M.rangeCount!==1||M.anchorNode!==j.node||M.anchorOffset!==j.offset||M.focusNode!==b.node||M.focusOffset!==b.offset)){var S=U.createRange();S.setStart(j.node,j.offset),M.removeAllRanges(),ee>Te?(M.addRange(S),M.extend(b.node,b.offset)):(S.setEnd(b.node,b.offset),M.addRange(S))}}}}for(U=[],M=m;M=M.parentNode;)M.nodeType===1&&U.push({element:M,left:M.scrollLeft,top:M.scrollTop});for(typeof m.focus=="function"&&m.focus(),m=0;m<U.length;m++){var O=U[m];O.element.scrollLeft=O.left,O.element.scrollTop=O.top}}vs=!!Rc,Cc=Rc=null}finally{Se=n,Y.p=l,R.T=a}}e.current=t,tt=2}}function Nf(){if(tt===2){tt=0;var e=_a,t=Ll,a=(t.flags&8772)!==0;if((t.subtreeFlags&8772)!==0||a){a=R.T,R.T=null;var l=Y.p;Y.p=2;var n=Se;Se|=4;try{Id(e,t.alternate,t)}finally{Se=n,Y.p=l,R.T=a}}tt=3}}function Sf(){if(tt===4||tt===3){tt=0,Mh();var e=_a,t=Ll,a=Gl,l=uf;(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?tt=5:(tt=0,Ll=_a=null,Af(e,e.pendingLanes));var n=e.pendingLanes;if(n===0&&(Ca=null),ks(a),t=t.stateNode,xt&&typeof xt.onCommitFiberRoot=="function")try{xt.onCommitFiberRoot(tn,t,void 0,(t.current.flags&128)===128)}catch{}if(l!==null){t=R.T,n=Y.p,Y.p=2,R.T=null;try{for(var s=e.onRecoverableError,o=0;o<l.length;o++){var m=l[o];s(m.value,{componentStack:m.stack})}}finally{R.T=t,Y.p=n}}(Gl&3)!==0&&ss(),Vt(e),n=e.pendingLanes,(a&4194090)!==0&&(n&42)!==0?e===pc?Ln++:(Ln=0,pc=e):Ln=0,Gn(0)}}function Af(e,t){(e.pooledCacheLanes&=t)===0&&(t=e.pooledCache,t!=null&&(e.pooledCache=null,bn(t)))}function ss(e){return jf(),Nf(),Sf(),wf()}function wf(){if(tt!==5)return!1;var e=_a,t=hc;hc=0;var a=ks(Gl),l=R.T,n=Y.p;try{Y.p=32>a?32:a,R.T=null,a=xc,xc=null;var s=_a,o=Gl;if(tt=0,Ll=_a=null,Gl=0,(Se&6)!==0)throw Error(c(331));var m=Se;if(Se|=4,cf(s.current),nf(s,s.current,o,a),Se=m,Gn(0,!1),xt&&typeof xt.onPostCommitFiberRoot=="function")try{xt.onPostCommitFiberRoot(tn,s)}catch{}return!0}finally{Y.p=n,R.T=l,Af(e,t)}}function Ef(e,t,a){t=Et(a,t),t=Jr(e.stateNode,t,2),e=Na(e,t,2),e!==null&&(ln(e,2),Vt(e))}function Ce(e,t,a){if(e.tag===3)Ef(e,e,a);else for(;t!==null;){if(t.tag===3){Ef(t,e,a);break}else if(t.tag===1){var l=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof l.componentDidCatch=="function"&&(Ca===null||!Ca.has(l))){e=Et(a,e),a=Td(2),l=Na(t,a,2),l!==null&&(Rd(a,l,t,e),ln(l,2),Vt(l));break}}t=t.return}}function bc(e,t,a){var l=e.pingCache;if(l===null){l=e.pingCache=new ep;var n=new Set;l.set(t,n)}else n=l.get(t),n===void 0&&(n=new Set,l.set(t,n));n.has(a)||(uc=!0,n.add(a),e=ip.bind(null,e,t,a),t.then(e,e))}function ip(e,t,a){var l=e.pingCache;l!==null&&l.delete(t),e.pingedLanes|=e.suspendedLanes&a,e.warmLanes&=~a,_e===e&&(he&a)===a&&(Be===4||Be===3&&(he&62914560)===he&&300>Ht()-mc?(Se&2)===0&&Yl(e,0):dc|=a,Bl===he&&(Bl=0)),Vt(e)}function Mf(e,t){t===0&&(t=No()),e=Al(e,t),e!==null&&(ln(e,t),Vt(e))}function sp(e){var t=e.memoizedState,a=0;t!==null&&(a=t.retryLane),Mf(e,a)}function rp(e,t){var a=0;switch(e.tag){case 13:var l=e.stateNode,n=e.memoizedState;n!==null&&(a=n.retryLane);break;case 19:l=e.stateNode;break;case 22:l=e.stateNode._retryCache;break;default:throw Error(c(314))}l!==null&&l.delete(t),Mf(e,a)}function cp(e,t){return Ds(e,t)}var rs=null,Xl=null,jc=!1,cs=!1,Nc=!1,sl=0;function Vt(e){e!==Xl&&e.next===null&&(Xl===null?rs=Xl=e:Xl=Xl.next=e),cs=!0,jc||(jc=!0,up())}function Gn(e,t){if(!Nc&&cs){Nc=!0;do for(var a=!1,l=rs;l!==null;){if(e!==0){var n=l.pendingLanes;if(n===0)var s=0;else{var o=l.suspendedLanes,m=l.pingedLanes;s=(1<<31-pt(42|e)+1)-1,s&=n&~(o&~m),s=s&201326741?s&201326741|1:s?s|2:0}s!==0&&(a=!0,Cf(l,s))}else s=he,s=hi(l,l===_e?s:0,l.cancelPendingCommit!==null||l.timeoutHandle!==-1),(s&3)===0||an(l,s)||(a=!0,Cf(l,s));l=l.next}while(a);Nc=!1}}function op(){zf()}function zf(){cs=jc=!1;var e=0;sl!==0&&(vp()&&(e=sl),sl=0);for(var t=Ht(),a=null,l=rs;l!==null;){var n=l.next,s=Tf(l,t);s===0?(l.next=null,a===null?rs=n:a.next=n,n===null&&(Xl=a)):(a=l,(e!==0||(s&3)!==0)&&(cs=!0)),l=n}Gn(e)}function Tf(e,t){for(var a=e.suspendedLanes,l=e.pingedLanes,n=e.expirationTimes,s=e.pendingLanes&-62914561;0<s;){var o=31-pt(s),m=1<<o,g=n[o];g===-1?((m&a)===0||(m&l)!==0)&&(n[o]=Uh(m,t)):g<=t&&(e.expiredLanes|=m),s&=~m}if(t=_e,a=he,a=hi(e,e===t?a:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),l=e.callbackNode,a===0||e===t&&(Ae===2||Ae===9)||e.cancelPendingCommit!==null)return l!==null&&l!==null&&Os(l),e.callbackNode=null,e.callbackPriority=0;if((a&3)===0||an(e,a)){if(t=a&-a,t===e.callbackPriority)return t;switch(l!==null&&Os(l),ks(a)){case 2:case 8:a=yo;break;case 32:a=di;break;case 268435456:a=bo;break;default:a=di}return l=Rf.bind(null,e),a=Ds(a,l),e.callbackPriority=t,e.callbackNode=a,t}return l!==null&&l!==null&&Os(l),e.callbackPriority=2,e.callbackNode=null,2}function Rf(e,t){if(tt!==0&&tt!==5)return e.callbackNode=null,e.callbackPriority=0,null;var a=e.callbackNode;if(ss()&&e.callbackNode!==a)return null;var l=he;return l=hi(e,e===_e?l:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),l===0?null:(ff(e,l,t),Tf(e,Ht()),e.callbackNode!=null&&e.callbackNode===a?Rf.bind(null,e):null)}function Cf(e,t){if(ss())return null;ff(e,t,!0)}function up(){bp(function(){(Se&6)!==0?Ds(vo,op):zf()})}function Sc(){return sl===0&&(sl=jo()),sl}function _f(e){return e==null||typeof e=="symbol"||typeof e=="boolean"?null:typeof e=="function"?e:yi(""+e)}function Df(e,t){var a=t.ownerDocument.createElement("input");return a.name=t.name,a.value=t.value,e.id&&a.setAttribute("form",e.id),t.parentNode.insertBefore(a,t),e=new FormData(e),a.parentNode.removeChild(a),e}function dp(e,t,a,l,n){if(t==="submit"&&a&&a.stateNode===n){var s=_f((n[ot]||null).action),o=l.submitter;o&&(t=(t=o[ot]||null)?_f(t.formAction):o.getAttribute("formAction"),t!==null&&(s=t,o=null));var m=new Si("action","action",null,l,n);e.push({event:m,listeners:[{instance:null,listener:function(){if(l.defaultPrevented){if(sl!==0){var g=o?Df(n,o):new FormData(n);Vr(a,{pending:!0,data:g,method:n.method,action:s},null,g)}}else typeof s=="function"&&(m.preventDefault(),g=o?Df(n,o):new FormData(n),Vr(a,{pending:!0,data:g,method:n.method,action:s},s,g))},currentTarget:n}]})}}for(var Ac=0;Ac<cr.length;Ac++){var wc=cr[Ac],fp=wc.toLowerCase(),mp=wc[0].toUpperCase()+wc.slice(1);Ot(fp,"on"+mp)}Ot(du,"onAnimationEnd"),Ot(fu,"onAnimationIteration"),Ot(mu,"onAnimationStart"),Ot("dblclick","onDoubleClick"),Ot("focusin","onFocus"),Ot("focusout","onBlur"),Ot(Rx,"onTransitionRun"),Ot(Cx,"onTransitionStart"),Ot(_x,"onTransitionCancel"),Ot(hu,"onTransitionEnd"),hl("onMouseEnter",["mouseout","mouseover"]),hl("onMouseLeave",["mouseout","mouseover"]),hl("onPointerEnter",["pointerout","pointerover"]),hl("onPointerLeave",["pointerout","pointerover"]),Xa("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),Xa("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),Xa("onBeforeInput",["compositionend","keypress","textInput","paste"]),Xa("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),Xa("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),Xa("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Yn="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(" "),hp=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Yn));function Of(e,t){t=(t&4)!==0;for(var a=0;a<e.length;a++){var l=e[a],n=l.event;l=l.listeners;e:{var s=void 0;if(t)for(var o=l.length-1;0<=o;o--){var m=l[o],g=m.instance,w=m.currentTarget;if(m=m.listener,g!==s&&n.isPropagationStopped())break e;s=m,n.currentTarget=w;try{s(n)}catch(D){$i(D)}n.currentTarget=null,s=g}else for(o=0;o<l.length;o++){if(m=l[o],g=m.instance,w=m.currentTarget,m=m.listener,g!==s&&n.isPropagationStopped())break e;s=m,n.currentTarget=w;try{s(n)}catch(D){$i(D)}n.currentTarget=null,s=g}}}}function fe(e,t){var a=t[Hs];a===void 0&&(a=t[Hs]=new Set);var l=e+"__bubble";a.has(l)||(Uf(t,e,2,!1),a.add(l))}function Ec(e,t,a){var l=0;t&&(l|=4),Uf(a,e,l,t)}var os="_reactListening"+Math.random().toString(36).slice(2);function Mc(e){if(!e[os]){e[os]=!0,Mo.forEach(function(a){a!=="selectionchange"&&(hp.has(a)||Ec(a,!1,e),Ec(a,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[os]||(t[os]=!0,Ec("selectionchange",!1,t))}}function Uf(e,t,a,l){switch(im(t)){case 2:var n=Gp;break;case 8:n=Yp;break;default:n=Gc}a=n.bind(null,t,a,e),n=void 0,!$s||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(n=!0),l?n!==void 0?e.addEventListener(t,a,{capture:!0,passive:n}):e.addEventListener(t,a,!0):n!==void 0?e.addEventListener(t,a,{passive:n}):e.addEventListener(t,a,!1)}function zc(e,t,a,l,n){var s=l;if((t&1)===0&&(t&2)===0&&l!==null)e:for(;;){if(l===null)return;var o=l.tag;if(o===3||o===4){var m=l.stateNode.containerInfo;if(m===n)break;if(o===4)for(o=l.return;o!==null;){var g=o.tag;if((g===3||g===4)&&o.stateNode.containerInfo===n)return;o=o.return}for(;m!==null;){if(o=dl(m),o===null)return;if(g=o.tag,g===5||g===6||g===26||g===27){l=s=o;continue e}m=m.parentNode}}l=l.return}Go(function(){var w=s,D=Ks(a),U=[];e:{var E=xu.get(e);if(E!==void 0){var M=Si,ae=e;switch(e){case"keypress":if(ji(a)===0)break e;case"keydown":case"keyup":M=cx;break;case"focusin":ae="focus",M=Fs;break;case"focusout":ae="blur",M=Fs;break;case"beforeblur":case"afterblur":M=Fs;break;case"click":if(a.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":M=Xo;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":M=Wh;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":M=dx;break;case du:case fu:case mu:M=Fh;break;case hu:M=mx;break;case"scroll":case"scrollend":M=Jh;break;case"wheel":M=xx;break;case"copy":case"cut":case"paste":M=tx;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":M=Zo;break;case"toggle":case"beforetoggle":M=gx}var ee=(t&4)!==0,Te=!ee&&(e==="scroll"||e==="scrollend"),j=ee?E!==null?E+"Capture":null:E;ee=[];for(var b=w,S;b!==null;){var O=b;if(S=O.stateNode,O=O.tag,O!==5&&O!==26&&O!==27||S===null||j===null||(O=rn(b,j),O!=null&&ee.push(Vn(b,O,S))),Te)break;b=b.return}0<ee.length&&(E=new M(E,ae,null,a,D),U.push({event:E,listeners:ee}))}}if((t&7)===0){e:{if(E=e==="mouseover"||e==="pointerover",M=e==="mouseout"||e==="pointerout",E&&a!==Zs&&(ae=a.relatedTarget||a.fromElement)&&(dl(ae)||ae[ul]))break e;if((M||E)&&(E=D.window===D?D:(E=D.ownerDocument)?E.defaultView||E.parentWindow:window,M?(ae=a.relatedTarget||a.toElement,M=w,ae=ae?dl(ae):null,ae!==null&&(Te=h(ae),ee=ae.tag,ae!==Te||ee!==5&&ee!==27&&ee!==6)&&(ae=null)):(M=null,ae=w),M!==ae)){if(ee=Xo,O="onMouseLeave",j="onMouseEnter",b="mouse",(e==="pointerout"||e==="pointerover")&&(ee=Zo,O="onPointerLeave",j="onPointerEnter",b="pointer"),Te=M==null?E:sn(M),S=ae==null?E:sn(ae),E=new ee(O,b+"leave",M,a,D),E.target=Te,E.relatedTarget=S,O=null,dl(D)===w&&(ee=new ee(j,b+"enter",ae,a,D),ee.target=S,ee.relatedTarget=Te,O=ee),Te=O,M&&ae)t:{for(ee=M,j=ae,b=0,S=ee;S;S=Ql(S))b++;for(S=0,O=j;O;O=Ql(O))S++;for(;0<b-S;)ee=Ql(ee),b--;for(;0<S-b;)j=Ql(j),S--;for(;b--;){if(ee===j||j!==null&&ee===j.alternate)break t;ee=Ql(ee),j=Ql(j)}ee=null}else ee=null;M!==null&&qf(U,E,M,ee,!1),ae!==null&&Te!==null&&qf(U,Te,ae,ee,!0)}}e:{if(E=w?sn(w):window,M=E.nodeName&&E.nodeName.toLowerCase(),M==="select"||M==="input"&&E.type==="file")var J=eu;else if(Io(E))if(tu)J=Mx;else{J=wx;var oe=Ax}else M=E.nodeName,!M||M.toLowerCase()!=="input"||E.type!=="checkbox"&&E.type!=="radio"?w&&Qs(w.elementType)&&(J=eu):J=Ex;if(J&&(J=J(e,w))){Fo(U,J,a,D);break e}oe&&oe(e,E,w),e==="focusout"&&w&&E.type==="number"&&w.memoizedProps.value!=null&&Xs(E,"number",E.value)}switch(oe=w?sn(w):window,e){case"focusin":(Io(oe)||oe.contentEditable==="true")&&(jl=oe,ir=w,xn=null);break;case"focusout":xn=ir=jl=null;break;case"mousedown":sr=!0;break;case"contextmenu":case"mouseup":case"dragend":sr=!1,ou(U,a,D);break;case"selectionchange":if(Tx)break;case"keydown":case"keyup":ou(U,a,D)}var P;if(tr)e:{switch(e){case"compositionstart":var te="onCompositionStart";break e;case"compositionend":te="onCompositionEnd";break e;case"compositionupdate":te="onCompositionUpdate";break e}te=void 0}else bl?Wo(e,a)&&(te="onCompositionEnd"):e==="keydown"&&a.keyCode===229&&(te="onCompositionStart");te&&(Ko&&a.locale!=="ko"&&(bl||te!=="onCompositionStart"?te==="onCompositionEnd"&&bl&&(P=Yo()):(va=D,Ws="value"in va?va.value:va.textContent,bl=!0)),oe=us(w,te),0<oe.length&&(te=new Qo(te,e,null,a,D),U.push({event:te,listeners:oe}),P?te.data=P:(P=Po(a),P!==null&&(te.data=P)))),(P=yx?bx(e,a):jx(e,a))&&(te=us(w,"onBeforeInput"),0<te.length&&(oe=new Qo("onBeforeInput","beforeinput",null,a,D),U.push({event:oe,listeners:te}),oe.data=P)),dp(U,e,w,a,D)}Of(U,t)})}function Vn(e,t,a){return{instance:e,listener:t,currentTarget:a}}function us(e,t){for(var a=t+"Capture",l=[];e!==null;){var n=e,s=n.stateNode;if(n=n.tag,n!==5&&n!==26&&n!==27||s===null||(n=rn(e,a),n!=null&&l.unshift(Vn(e,n,s)),n=rn(e,t),n!=null&&l.push(Vn(e,n,s))),e.tag===3)return l;e=e.return}return[]}function Ql(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function qf(e,t,a,l,n){for(var s=t._reactName,o=[];a!==null&&a!==l;){var m=a,g=m.alternate,w=m.stateNode;if(m=m.tag,g!==null&&g===l)break;m!==5&&m!==26&&m!==27||w===null||(g=w,n?(w=rn(a,s),w!=null&&o.unshift(Vn(a,w,g))):n||(w=rn(a,s),w!=null&&o.push(Vn(a,w,g)))),a=a.return}o.length!==0&&e.push({event:t,listeners:o})}var xp=/\r\n?/g,pp=/\u0000|\uFFFD/g;function kf(e){return(typeof e=="string"?e:""+e).replace(xp,`
`).replace(pp,"")}function Hf(e,t){return t=kf(t),kf(e)===t}function ds(){}function ze(e,t,a,l,n,s){switch(a){case"children":typeof l=="string"?t==="body"||t==="textarea"&&l===""||gl(e,l):(typeof l=="number"||typeof l=="bigint")&&t!=="body"&&gl(e,""+l);break;case"className":pi(e,"class",l);break;case"tabIndex":pi(e,"tabindex",l);break;case"dir":case"role":case"viewBox":case"width":case"height":pi(e,a,l);break;case"style":Bo(e,l,s);break;case"data":if(t!=="object"){pi(e,"data",l);break}case"src":case"href":if(l===""&&(t!=="a"||a!=="href")){e.removeAttribute(a);break}if(l==null||typeof l=="function"||typeof l=="symbol"||typeof l=="boolean"){e.removeAttribute(a);break}l=yi(""+l),e.setAttribute(a,l);break;case"action":case"formAction":if(typeof l=="function"){e.setAttribute(a,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof s=="function"&&(a==="formAction"?(t!=="input"&&ze(e,t,"name",n.name,n,null),ze(e,t,"formEncType",n.formEncType,n,null),ze(e,t,"formMethod",n.formMethod,n,null),ze(e,t,"formTarget",n.formTarget,n,null)):(ze(e,t,"encType",n.encType,n,null),ze(e,t,"method",n.method,n,null),ze(e,t,"target",n.target,n,null)));if(l==null||typeof l=="symbol"||typeof l=="boolean"){e.removeAttribute(a);break}l=yi(""+l),e.setAttribute(a,l);break;case"onClick":l!=null&&(e.onclick=ds);break;case"onScroll":l!=null&&fe("scroll",e);break;case"onScrollEnd":l!=null&&fe("scrollend",e);break;case"dangerouslySetInnerHTML":if(l!=null){if(typeof l!="object"||!("__html"in l))throw Error(c(61));if(a=l.__html,a!=null){if(n.children!=null)throw Error(c(60));e.innerHTML=a}}break;case"multiple":e.multiple=l&&typeof l!="function"&&typeof l!="symbol";break;case"muted":e.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"){e.removeAttribute("xlink:href");break}a=yi(""+l),e.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",a);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":l!=null&&typeof l!="function"&&typeof l!="symbol"?e.setAttribute(a,""+l):e.removeAttribute(a);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":l&&typeof l!="function"&&typeof l!="symbol"?e.setAttribute(a,""):e.removeAttribute(a);break;case"capture":case"download":l===!0?e.setAttribute(a,""):l!==!1&&l!=null&&typeof l!="function"&&typeof l!="symbol"?e.setAttribute(a,l):e.removeAttribute(a);break;case"cols":case"rows":case"size":case"span":l!=null&&typeof l!="function"&&typeof l!="symbol"&&!isNaN(l)&&1<=l?e.setAttribute(a,l):e.removeAttribute(a);break;case"rowSpan":case"start":l==null||typeof l=="function"||typeof l=="symbol"||isNaN(l)?e.removeAttribute(a):e.setAttribute(a,l);break;case"popover":fe("beforetoggle",e),fe("toggle",e),xi(e,"popover",l);break;case"xlinkActuate":Zt(e,"http://www.w3.org/1999/xlink","xlink:actuate",l);break;case"xlinkArcrole":Zt(e,"http://www.w3.org/1999/xlink","xlink:arcrole",l);break;case"xlinkRole":Zt(e,"http://www.w3.org/1999/xlink","xlink:role",l);break;case"xlinkShow":Zt(e,"http://www.w3.org/1999/xlink","xlink:show",l);break;case"xlinkTitle":Zt(e,"http://www.w3.org/1999/xlink","xlink:title",l);break;case"xlinkType":Zt(e,"http://www.w3.org/1999/xlink","xlink:type",l);break;case"xmlBase":Zt(e,"http://www.w3.org/XML/1998/namespace","xml:base",l);break;case"xmlLang":Zt(e,"http://www.w3.org/XML/1998/namespace","xml:lang",l);break;case"xmlSpace":Zt(e,"http://www.w3.org/XML/1998/namespace","xml:space",l);break;case"is":xi(e,"is",l);break;case"innerText":case"textContent":break;default:(!(2<a.length)||a[0]!=="o"&&a[0]!=="O"||a[1]!=="n"&&a[1]!=="N")&&(a=Zh.get(a)||a,xi(e,a,l))}}function Tc(e,t,a,l,n,s){switch(a){case"style":Bo(e,l,s);break;case"dangerouslySetInnerHTML":if(l!=null){if(typeof l!="object"||!("__html"in l))throw Error(c(61));if(a=l.__html,a!=null){if(n.children!=null)throw Error(c(60));e.innerHTML=a}}break;case"children":typeof l=="string"?gl(e,l):(typeof l=="number"||typeof l=="bigint")&&gl(e,""+l);break;case"onScroll":l!=null&&fe("scroll",e);break;case"onScrollEnd":l!=null&&fe("scrollend",e);break;case"onClick":l!=null&&(e.onclick=ds);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!zo.hasOwnProperty(a))e:{if(a[0]==="o"&&a[1]==="n"&&(n=a.endsWith("Capture"),t=a.slice(2,n?a.length-7:void 0),s=e[ot]||null,s=s!=null?s[a]:null,typeof s=="function"&&e.removeEventListener(t,s,n),typeof l=="function")){typeof s!="function"&&s!==null&&(a in e?e[a]=null:e.hasAttribute(a)&&e.removeAttribute(a)),e.addEventListener(t,l,n);break e}a in e?e[a]=l:l===!0?e.setAttribute(a,""):xi(e,a,l)}}}function at(e,t,a){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":fe("error",e),fe("load",e);var l=!1,n=!1,s;for(s in a)if(a.hasOwnProperty(s)){var o=a[s];if(o!=null)switch(s){case"src":l=!0;break;case"srcSet":n=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(c(137,t));default:ze(e,t,s,o,a,null)}}n&&ze(e,t,"srcSet",a.srcSet,a,null),l&&ze(e,t,"src",a.src,a,null);return;case"input":fe("invalid",e);var m=s=o=n=null,g=null,w=null;for(l in a)if(a.hasOwnProperty(l)){var D=a[l];if(D!=null)switch(l){case"name":n=D;break;case"type":o=D;break;case"checked":g=D;break;case"defaultChecked":w=D;break;case"value":s=D;break;case"defaultValue":m=D;break;case"children":case"dangerouslySetInnerHTML":if(D!=null)throw Error(c(137,t));break;default:ze(e,t,l,D,a,null)}}Uo(e,s,m,g,w,o,n,!1),gi(e);return;case"select":fe("invalid",e),l=o=s=null;for(n in a)if(a.hasOwnProperty(n)&&(m=a[n],m!=null))switch(n){case"value":s=m;break;case"defaultValue":o=m;break;case"multiple":l=m;default:ze(e,t,n,m,a,null)}t=s,a=o,e.multiple=!!l,t!=null?pl(e,!!l,t,!1):a!=null&&pl(e,!!l,a,!0);return;case"textarea":fe("invalid",e),s=n=l=null;for(o in a)if(a.hasOwnProperty(o)&&(m=a[o],m!=null))switch(o){case"value":l=m;break;case"defaultValue":n=m;break;case"children":s=m;break;case"dangerouslySetInnerHTML":if(m!=null)throw Error(c(91));break;default:ze(e,t,o,m,a,null)}ko(e,l,n,s),gi(e);return;case"option":for(g in a)if(a.hasOwnProperty(g)&&(l=a[g],l!=null))switch(g){case"selected":e.selected=l&&typeof l!="function"&&typeof l!="symbol";break;default:ze(e,t,g,l,a,null)}return;case"dialog":fe("beforetoggle",e),fe("toggle",e),fe("cancel",e),fe("close",e);break;case"iframe":case"object":fe("load",e);break;case"video":case"audio":for(l=0;l<Yn.length;l++)fe(Yn[l],e);break;case"image":fe("error",e),fe("load",e);break;case"details":fe("toggle",e);break;case"embed":case"source":case"link":fe("error",e),fe("load",e);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(w in a)if(a.hasOwnProperty(w)&&(l=a[w],l!=null))switch(w){case"children":case"dangerouslySetInnerHTML":throw Error(c(137,t));default:ze(e,t,w,l,a,null)}return;default:if(Qs(t)){for(D in a)a.hasOwnProperty(D)&&(l=a[D],l!==void 0&&Tc(e,t,D,l,a,void 0));return}}for(m in a)a.hasOwnProperty(m)&&(l=a[m],l!=null&&ze(e,t,m,l,a,null))}function gp(e,t,a,l){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var n=null,s=null,o=null,m=null,g=null,w=null,D=null;for(M in a){var U=a[M];if(a.hasOwnProperty(M)&&U!=null)switch(M){case"checked":break;case"value":break;case"defaultValue":g=U;default:l.hasOwnProperty(M)||ze(e,t,M,null,l,U)}}for(var E in l){var M=l[E];if(U=a[E],l.hasOwnProperty(E)&&(M!=null||U!=null))switch(E){case"type":s=M;break;case"name":n=M;break;case"checked":w=M;break;case"defaultChecked":D=M;break;case"value":o=M;break;case"defaultValue":m=M;break;case"children":case"dangerouslySetInnerHTML":if(M!=null)throw Error(c(137,t));break;default:M!==U&&ze(e,t,E,M,l,U)}}Vs(e,o,m,g,w,D,s,n);return;case"select":M=o=m=E=null;for(s in a)if(g=a[s],a.hasOwnProperty(s)&&g!=null)switch(s){case"value":break;case"multiple":M=g;default:l.hasOwnProperty(s)||ze(e,t,s,null,l,g)}for(n in l)if(s=l[n],g=a[n],l.hasOwnProperty(n)&&(s!=null||g!=null))switch(n){case"value":E=s;break;case"defaultValue":m=s;break;case"multiple":o=s;default:s!==g&&ze(e,t,n,s,l,g)}t=m,a=o,l=M,E!=null?pl(e,!!a,E,!1):!!l!=!!a&&(t!=null?pl(e,!!a,t,!0):pl(e,!!a,a?[]:"",!1));return;case"textarea":M=E=null;for(m in a)if(n=a[m],a.hasOwnProperty(m)&&n!=null&&!l.hasOwnProperty(m))switch(m){case"value":break;case"children":break;default:ze(e,t,m,null,l,n)}for(o in l)if(n=l[o],s=a[o],l.hasOwnProperty(o)&&(n!=null||s!=null))switch(o){case"value":E=n;break;case"defaultValue":M=n;break;case"children":break;case"dangerouslySetInnerHTML":if(n!=null)throw Error(c(91));break;default:n!==s&&ze(e,t,o,n,l,s)}qo(e,E,M);return;case"option":for(var ae in a)if(E=a[ae],a.hasOwnProperty(ae)&&E!=null&&!l.hasOwnProperty(ae))switch(ae){case"selected":e.selected=!1;break;default:ze(e,t,ae,null,l,E)}for(g in l)if(E=l[g],M=a[g],l.hasOwnProperty(g)&&E!==M&&(E!=null||M!=null))switch(g){case"selected":e.selected=E&&typeof E!="function"&&typeof E!="symbol";break;default:ze(e,t,g,E,l,M)}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 ee in a)E=a[ee],a.hasOwnProperty(ee)&&E!=null&&!l.hasOwnProperty(ee)&&ze(e,t,ee,null,l,E);for(w in l)if(E=l[w],M=a[w],l.hasOwnProperty(w)&&E!==M&&(E!=null||M!=null))switch(w){case"children":case"dangerouslySetInnerHTML":if(E!=null)throw Error(c(137,t));break;default:ze(e,t,w,E,l,M)}return;default:if(Qs(t)){for(var Te in a)E=a[Te],a.hasOwnProperty(Te)&&E!==void 0&&!l.hasOwnProperty(Te)&&Tc(e,t,Te,void 0,l,E);for(D in l)E=l[D],M=a[D],!l.hasOwnProperty(D)||E===M||E===void 0&&M===void 0||Tc(e,t,D,E,l,M);return}}for(var j in a)E=a[j],a.hasOwnProperty(j)&&E!=null&&!l.hasOwnProperty(j)&&ze(e,t,j,null,l,E);for(U in l)E=l[U],M=a[U],!l.hasOwnProperty(U)||E===M||E==null&&M==null||ze(e,t,U,E,l,M)}var Rc=null,Cc=null;function fs(e){return e.nodeType===9?e:e.ownerDocument}function Bf(e){switch(e){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function Lf(e,t){if(e===0)switch(t){case"svg":return 1;case"math":return 2;default:return 0}return e===1&&t==="foreignObject"?0:e}function _c(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.children=="bigint"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var Dc=null;function vp(){var e=window.event;return e&&e.type==="popstate"?e===Dc?!1:(Dc=e,!0):(Dc=null,!1)}var Gf=typeof setTimeout=="function"?setTimeout:void 0,yp=typeof clearTimeout=="function"?clearTimeout:void 0,Yf=typeof Promise=="function"?Promise:void 0,bp=typeof queueMicrotask=="function"?queueMicrotask:typeof Yf<"u"?function(e){return Yf.resolve(null).then(e).catch(jp)}:Gf;function jp(e){setTimeout(function(){throw e})}function Oa(e){return e==="head"}function Vf(e,t){var a=t,l=0,n=0;do{var s=a.nextSibling;if(e.removeChild(a),s&&s.nodeType===8)if(a=s.data,a==="/$"){if(0<l&&8>l){a=l;var o=e.ownerDocument;if(a&1&&Xn(o.documentElement),a&2&&Xn(o.body),a&4)for(a=o.head,Xn(a),o=a.firstChild;o;){var m=o.nextSibling,g=o.nodeName;o[nn]||g==="SCRIPT"||g==="STYLE"||g==="LINK"&&o.rel.toLowerCase()==="stylesheet"||a.removeChild(o),o=m}}if(n===0){e.removeChild(s),In(t);return}n--}else a==="$"||a==="$?"||a==="$!"?n++:l=a.charCodeAt(0)-48;else l=0;a=s}while(a);In(t)}function Oc(e){var t=e.firstChild;for(t&&t.nodeType===10&&(t=t.nextSibling);t;){var a=t;switch(t=t.nextSibling,a.nodeName){case"HTML":case"HEAD":case"BODY":Oc(a),Bs(a);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(a.rel.toLowerCase()==="stylesheet")continue}e.removeChild(a)}}function Np(e,t,a,l){for(;e.nodeType===1;){var n=a;if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!l&&(e.nodeName!=="INPUT"||e.type!=="hidden"))break}else if(l){if(!e[nn])switch(t){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if(s=e.getAttribute("rel"),s==="stylesheet"&&e.hasAttribute("data-precedence"))break;if(s!==n.rel||e.getAttribute("href")!==(n.href==null||n.href===""?null:n.href)||e.getAttribute("crossorigin")!==(n.crossOrigin==null?null:n.crossOrigin)||e.getAttribute("title")!==(n.title==null?null:n.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(s=e.getAttribute("src"),(s!==(n.src==null?null:n.src)||e.getAttribute("type")!==(n.type==null?null:n.type)||e.getAttribute("crossorigin")!==(n.crossOrigin==null?null:n.crossOrigin))&&s&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else if(t==="input"&&e.type==="hidden"){var s=n.name==null?null:""+n.name;if(n.type==="hidden"&&e.getAttribute("name")===s)return e}else return e;if(e=qt(e.nextSibling),e===null)break}return null}function Sp(e,t,a){if(t==="")return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!a||(e=qt(e.nextSibling),e===null))return null;return e}function Uc(e){return e.data==="$!"||e.data==="$?"&&e.ownerDocument.readyState==="complete"}function Ap(e,t){var a=e.ownerDocument;if(e.data!=="$?"||a.readyState==="complete")t();else{var l=function(){t(),a.removeEventListener("DOMContentLoaded",l)};a.addEventListener("DOMContentLoaded",l),e._reactRetry=l}}function qt(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?"||t==="F!"||t==="F")break;if(t==="/$")return null}}return e}var qc=null;function Xf(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var a=e.data;if(a==="$"||a==="$!"||a==="$?"){if(t===0)return e;t--}else a==="/$"&&t++}e=e.previousSibling}return null}function Qf(e,t,a){switch(t=fs(a),e){case"html":if(e=t.documentElement,!e)throw Error(c(452));return e;case"head":if(e=t.head,!e)throw Error(c(453));return e;case"body":if(e=t.body,!e)throw Error(c(454));return e;default:throw Error(c(451))}}function Xn(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);Bs(e)}var _t=new Map,Zf=new Set;function ms(e){return typeof e.getRootNode=="function"?e.getRootNode():e.nodeType===9?e:e.ownerDocument}var sa=Y.d;Y.d={f:wp,r:Ep,D:Mp,C:zp,L:Tp,m:Rp,X:_p,S:Cp,M:Dp};function wp(){var e=sa.f(),t=ns();return e||t}function Ep(e){var t=fl(e);t!==null&&t.tag===5&&t.type==="form"?dd(t):sa.r(e)}var Zl=typeof document>"u"?null:document;function Kf(e,t,a){var l=Zl;if(l&&typeof t=="string"&&t){var n=wt(t);n='link[rel="'+e+'"][href="'+n+'"]',typeof a=="string"&&(n+='[crossorigin="'+a+'"]'),Zf.has(n)||(Zf.add(n),e={rel:e,crossOrigin:a,href:t},l.querySelector(n)===null&&(t=l.createElement("link"),at(t,"link",e),We(t),l.head.appendChild(t)))}}function Mp(e){sa.D(e),Kf("dns-prefetch",e,null)}function zp(e,t){sa.C(e,t),Kf("preconnect",e,t)}function Tp(e,t,a){sa.L(e,t,a);var l=Zl;if(l&&e&&t){var n='link[rel="preload"][as="'+wt(t)+'"]';t==="image"&&a&&a.imageSrcSet?(n+='[imagesrcset="'+wt(a.imageSrcSet)+'"]',typeof a.imageSizes=="string"&&(n+='[imagesizes="'+wt(a.imageSizes)+'"]')):n+='[href="'+wt(e)+'"]';var s=n;switch(t){case"style":s=Kl(e);break;case"script":s=Jl(e)}_t.has(s)||(e=A({rel:"preload",href:t==="image"&&a&&a.imageSrcSet?void 0:e,as:t},a),_t.set(s,e),l.querySelector(n)!==null||t==="style"&&l.querySelector(Qn(s))||t==="script"&&l.querySelector(Zn(s))||(t=l.createElement("link"),at(t,"link",e),We(t),l.head.appendChild(t)))}}function Rp(e,t){sa.m(e,t);var a=Zl;if(a&&e){var l=t&&typeof t.as=="string"?t.as:"script",n='link[rel="modulepreload"][as="'+wt(l)+'"][href="'+wt(e)+'"]',s=n;switch(l){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":s=Jl(e)}if(!_t.has(s)&&(e=A({rel:"modulepreload",href:e},t),_t.set(s,e),a.querySelector(n)===null)){switch(l){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(a.querySelector(Zn(s)))return}l=a.createElement("link"),at(l,"link",e),We(l),a.head.appendChild(l)}}}function Cp(e,t,a){sa.S(e,t,a);var l=Zl;if(l&&e){var n=ml(l).hoistableStyles,s=Kl(e);t=t||"default";var o=n.get(s);if(!o){var m={loading:0,preload:null};if(o=l.querySelector(Qn(s)))m.loading=5;else{e=A({rel:"stylesheet",href:e,"data-precedence":t},a),(a=_t.get(s))&&kc(e,a);var g=o=l.createElement("link");We(g),at(g,"link",e),g._p=new Promise(function(w,D){g.onload=w,g.onerror=D}),g.addEventListener("load",function(){m.loading|=1}),g.addEventListener("error",function(){m.loading|=2}),m.loading|=4,hs(o,t,l)}o={type:"stylesheet",instance:o,count:1,state:m},n.set(s,o)}}}function _p(e,t){sa.X(e,t);var a=Zl;if(a&&e){var l=ml(a).hoistableScripts,n=Jl(e),s=l.get(n);s||(s=a.querySelector(Zn(n)),s||(e=A({src:e,async:!0},t),(t=_t.get(n))&&Hc(e,t),s=a.createElement("script"),We(s),at(s,"link",e),a.head.appendChild(s)),s={type:"script",instance:s,count:1,state:null},l.set(n,s))}}function Dp(e,t){sa.M(e,t);var a=Zl;if(a&&e){var l=ml(a).hoistableScripts,n=Jl(e),s=l.get(n);s||(s=a.querySelector(Zn(n)),s||(e=A({src:e,async:!0,type:"module"},t),(t=_t.get(n))&&Hc(e,t),s=a.createElement("script"),We(s),at(s,"link",e),a.head.appendChild(s)),s={type:"script",instance:s,count:1,state:null},l.set(n,s))}}function Jf(e,t,a,l){var n=(n=le.current)?ms(n):null;if(!n)throw Error(c(446));switch(e){case"meta":case"title":return null;case"style":return typeof a.precedence=="string"&&typeof a.href=="string"?(t=Kl(a.href),a=ml(n).hoistableStyles,l=a.get(t),l||(l={type:"style",instance:null,count:0,state:null},a.set(t,l)),l):{type:"void",instance:null,count:0,state:null};case"link":if(a.rel==="stylesheet"&&typeof a.href=="string"&&typeof a.precedence=="string"){e=Kl(a.href);var s=ml(n).hoistableStyles,o=s.get(e);if(o||(n=n.ownerDocument||n,o={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},s.set(e,o),(s=n.querySelector(Qn(e)))&&!s._p&&(o.instance=s,o.state.loading=5),_t.has(e)||(a={rel:"preload",as:"style",href:a.href,crossOrigin:a.crossOrigin,integrity:a.integrity,media:a.media,hrefLang:a.hrefLang,referrerPolicy:a.referrerPolicy},_t.set(e,a),s||Op(n,e,a,o.state))),t&&l===null)throw Error(c(528,""));return o}if(t&&l!==null)throw Error(c(529,""));return null;case"script":return t=a.async,a=a.src,typeof a=="string"&&t&&typeof t!="function"&&typeof t!="symbol"?(t=Jl(a),a=ml(n).hoistableScripts,l=a.get(t),l||(l={type:"script",instance:null,count:0,state:null},a.set(t,l)),l):{type:"void",instance:null,count:0,state:null};default:throw Error(c(444,e))}}function Kl(e){return'href="'+wt(e)+'"'}function Qn(e){return'link[rel="stylesheet"]['+e+"]"}function $f(e){return A({},e,{"data-precedence":e.precedence,precedence:null})}function Op(e,t,a,l){e.querySelector('link[rel="preload"][as="style"]['+t+"]")?l.loading=1:(t=e.createElement("link"),l.preload=t,t.addEventListener("load",function(){return l.loading|=1}),t.addEventListener("error",function(){return l.loading|=2}),at(t,"link",a),We(t),e.head.appendChild(t))}function Jl(e){return'[src="'+wt(e)+'"]'}function Zn(e){return"script[async]"+e}function Wf(e,t,a){if(t.count++,t.instance===null)switch(t.type){case"style":var l=e.querySelector('style[data-href~="'+wt(a.href)+'"]');if(l)return t.instance=l,We(l),l;var n=A({},a,{"data-href":a.href,"data-precedence":a.precedence,href:null,precedence:null});return l=(e.ownerDocument||e).createElement("style"),We(l),at(l,"style",n),hs(l,a.precedence,e),t.instance=l;case"stylesheet":n=Kl(a.href);var s=e.querySelector(Qn(n));if(s)return t.state.loading|=4,t.instance=s,We(s),s;l=$f(a),(n=_t.get(n))&&kc(l,n),s=(e.ownerDocument||e).createElement("link"),We(s);var o=s;return o._p=new Promise(function(m,g){o.onload=m,o.onerror=g}),at(s,"link",l),t.state.loading|=4,hs(s,a.precedence,e),t.instance=s;case"script":return s=Jl(a.src),(n=e.querySelector(Zn(s)))?(t.instance=n,We(n),n):(l=a,(n=_t.get(s))&&(l=A({},a),Hc(l,n)),e=e.ownerDocument||e,n=e.createElement("script"),We(n),at(n,"link",l),e.head.appendChild(n),t.instance=n);case"void":return null;default:throw Error(c(443,t.type))}else t.type==="stylesheet"&&(t.state.loading&4)===0&&(l=t.instance,t.state.loading|=4,hs(l,a.precedence,e));return t.instance}function hs(e,t,a){for(var l=a.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),n=l.length?l[l.length-1]:null,s=n,o=0;o<l.length;o++){var m=l[o];if(m.dataset.precedence===t)s=m;else if(s!==n)break}s?s.parentNode.insertBefore(e,s.nextSibling):(t=a.nodeType===9?a.head:a,t.insertBefore(e,t.firstChild))}function kc(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.title==null&&(e.title=t.title)}function Hc(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.integrity==null&&(e.integrity=t.integrity)}var xs=null;function Pf(e,t,a){if(xs===null){var l=new Map,n=xs=new Map;n.set(a,l)}else n=xs,l=n.get(a),l||(l=new Map,n.set(a,l));if(l.has(e))return l;for(l.set(e,null),a=a.getElementsByTagName(e),n=0;n<a.length;n++){var s=a[n];if(!(s[nn]||s[nt]||e==="link"&&s.getAttribute("rel")==="stylesheet")&&s.namespaceURI!=="http://www.w3.org/2000/svg"){var o=s.getAttribute(t)||"";o=e+o;var m=l.get(o);m?m.push(s):l.set(o,[s])}}return l}function If(e,t,a){e=e.ownerDocument||e,e.head.insertBefore(a,t==="title"?e.querySelector("head > title"):null)}function Up(e,t,a){if(a===1||t.itemProp!=null)return!1;switch(e){case"meta":case"title":return!0;case"style":if(typeof t.precedence!="string"||typeof t.href!="string"||t.href==="")break;return!0;case"link":if(typeof t.rel!="string"||typeof t.href!="string"||t.href===""||t.onLoad||t.onError)break;switch(t.rel){case"stylesheet":return e=t.disabled,typeof t.precedence=="string"&&e==null;default:return!0}case"script":if(t.async&&typeof t.async!="function"&&typeof t.async!="symbol"&&!t.onLoad&&!t.onError&&t.src&&typeof t.src=="string")return!0}return!1}function Ff(e){return!(e.type==="stylesheet"&&(e.state.loading&3)===0)}var Kn=null;function qp(){}function kp(e,t,a){if(Kn===null)throw Error(c(475));var l=Kn;if(t.type==="stylesheet"&&(typeof a.media!="string"||matchMedia(a.media).matches!==!1)&&(t.state.loading&4)===0){if(t.instance===null){var n=Kl(a.href),s=e.querySelector(Qn(n));if(s){e=s._p,e!==null&&typeof e=="object"&&typeof e.then=="function"&&(l.count++,l=ps.bind(l),e.then(l,l)),t.state.loading|=4,t.instance=s,We(s);return}s=e.ownerDocument||e,a=$f(a),(n=_t.get(n))&&kc(a,n),s=s.createElement("link"),We(s);var o=s;o._p=new Promise(function(m,g){o.onload=m,o.onerror=g}),at(s,"link",a),t.instance=s}l.stylesheets===null&&(l.stylesheets=new Map),l.stylesheets.set(t,e),(e=t.state.preload)&&(t.state.loading&3)===0&&(l.count++,t=ps.bind(l),e.addEventListener("load",t),e.addEventListener("error",t))}}function Hp(){if(Kn===null)throw Error(c(475));var e=Kn;return e.stylesheets&&e.count===0&&Bc(e,e.stylesheets),0<e.count?function(t){var a=setTimeout(function(){if(e.stylesheets&&Bc(e,e.stylesheets),e.unsuspend){var l=e.unsuspend;e.unsuspend=null,l()}},6e4);return e.unsuspend=t,function(){e.unsuspend=null,clearTimeout(a)}}:null}function ps(){if(this.count--,this.count===0){if(this.stylesheets)Bc(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}var gs=null;function Bc(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,gs=new Map,t.forEach(Bp,e),gs=null,ps.call(e))}function Bp(e,t){if(!(t.state.loading&4)){var a=gs.get(e);if(a)var l=a.get(null);else{a=new Map,gs.set(e,a);for(var n=e.querySelectorAll("link[data-precedence],style[data-precedence]"),s=0;s<n.length;s++){var o=n[s];(o.nodeName==="LINK"||o.getAttribute("media")!=="not all")&&(a.set(o.dataset.precedence,o),l=o)}l&&a.set(null,l)}n=t.instance,o=n.getAttribute("data-precedence"),s=a.get(o)||l,s===l&&a.set(null,n),a.set(o,n),this.count++,l=ps.bind(this),n.addEventListener("load",l),n.addEventListener("error",l),s?s.parentNode.insertBefore(n,s.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(n,e.firstChild)),t.state.loading|=4}}var Jn={$$typeof:F,Provider:null,Consumer:null,_currentValue:k,_currentValue2:k,_threadCount:0};function Lp(e,t,a,l,n,s,o,m){this.tag=1,this.containerInfo=e,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=Us(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Us(0),this.hiddenUpdates=Us(null),this.identifierPrefix=l,this.onUncaughtError=n,this.onCaughtError=s,this.onRecoverableError=o,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=m,this.incompleteTransitions=new Map}function em(e,t,a,l,n,s,o,m,g,w,D,U){return e=new Lp(e,t,a,o,m,g,w,U),t=1,s===!0&&(t|=24),s=vt(3,null,null,t),e.current=s,s.stateNode=e,t=br(),t.refCount++,e.pooledCache=t,t.refCount++,s.memoizedState={element:l,isDehydrated:a,cache:t},Ar(s),e}function tm(e){return e?(e=wl,e):wl}function am(e,t,a,l,n,s){n=tm(n),l.context===null?l.context=n:l.pendingContext=n,l=ja(t),l.payload={element:a},s=s===void 0?null:s,s!==null&&(l.callback=s),a=Na(e,l,t),a!==null&&(St(a,e,t),An(a,e,t))}function lm(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var a=e.retryLane;e.retryLane=a!==0&&a<t?a:t}}function Lc(e,t){lm(e,t),(e=e.alternate)&&lm(e,t)}function nm(e){if(e.tag===13){var t=Al(e,67108864);t!==null&&St(t,e,67108864),Lc(e,67108864)}}var vs=!0;function Gp(e,t,a,l){var n=R.T;R.T=null;var s=Y.p;try{Y.p=2,Gc(e,t,a,l)}finally{Y.p=s,R.T=n}}function Yp(e,t,a,l){var n=R.T;R.T=null;var s=Y.p;try{Y.p=8,Gc(e,t,a,l)}finally{Y.p=s,R.T=n}}function Gc(e,t,a,l){if(vs){var n=Yc(l);if(n===null)zc(e,t,l,ys,a),sm(e,l);else if(Xp(n,e,t,a,l))l.stopPropagation();else if(sm(e,l),t&4&&-1<Vp.indexOf(e)){for(;n!==null;){var s=fl(n);if(s!==null)switch(s.tag){case 3:if(s=s.stateNode,s.current.memoizedState.isDehydrated){var o=Va(s.pendingLanes);if(o!==0){var m=s;for(m.pendingLanes|=2,m.entangledLanes|=2;o;){var g=1<<31-pt(o);m.entanglements[1]|=g,o&=~g}Vt(s),(Se&6)===0&&(as=Ht()+500,Gn(0))}}break;case 13:m=Al(s,2),m!==null&&St(m,s,2),ns(),Lc(s,2)}if(s=Yc(l),s===null&&zc(e,t,l,ys,a),s===n)break;n=s}n!==null&&l.stopPropagation()}else zc(e,t,l,null,a)}}function Yc(e){return e=Ks(e),Vc(e)}var ys=null;function Vc(e){if(ys=null,e=dl(e),e!==null){var t=h(e);if(t===null)e=null;else{var a=t.tag;if(a===13){if(e=v(t),e!==null)return e;e=null}else if(a===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null)}}return ys=e,null}function im(e){switch(e){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 2;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(zh()){case vo:return 2;case yo:return 8;case di:case Th:return 32;case bo:return 268435456;default:return 32}default:return 32}}var Xc=!1,Ua=null,qa=null,ka=null,$n=new Map,Wn=new Map,Ha=[],Vp="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 sm(e,t){switch(e){case"focusin":case"focusout":Ua=null;break;case"dragenter":case"dragleave":qa=null;break;case"mouseover":case"mouseout":ka=null;break;case"pointerover":case"pointerout":$n.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Wn.delete(t.pointerId)}}function Pn(e,t,a,l,n,s){return e===null||e.nativeEvent!==s?(e={blockedOn:t,domEventName:a,eventSystemFlags:l,nativeEvent:s,targetContainers:[n]},t!==null&&(t=fl(t),t!==null&&nm(t)),e):(e.eventSystemFlags|=l,t=e.targetContainers,n!==null&&t.indexOf(n)===-1&&t.push(n),e)}function Xp(e,t,a,l,n){switch(t){case"focusin":return Ua=Pn(Ua,e,t,a,l,n),!0;case"dragenter":return qa=Pn(qa,e,t,a,l,n),!0;case"mouseover":return ka=Pn(ka,e,t,a,l,n),!0;case"pointerover":var s=n.pointerId;return $n.set(s,Pn($n.get(s)||null,e,t,a,l,n)),!0;case"gotpointercapture":return s=n.pointerId,Wn.set(s,Pn(Wn.get(s)||null,e,t,a,l,n)),!0}return!1}function rm(e){var t=dl(e.target);if(t!==null){var a=h(t);if(a!==null){if(t=a.tag,t===13){if(t=v(a),t!==null){e.blockedOn=t,kh(e.priority,function(){if(a.tag===13){var l=Nt();l=qs(l);var n=Al(a,l);n!==null&&St(n,a,l),Lc(a,l)}});return}}else if(t===3&&a.stateNode.current.memoizedState.isDehydrated){e.blockedOn=a.tag===3?a.stateNode.containerInfo:null;return}}}e.blockedOn=null}function bs(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var a=Yc(e.nativeEvent);if(a===null){a=e.nativeEvent;var l=new a.constructor(a.type,a);Zs=l,a.target.dispatchEvent(l),Zs=null}else return t=fl(a),t!==null&&nm(t),e.blockedOn=a,!1;t.shift()}return!0}function cm(e,t,a){bs(e)&&a.delete(t)}function Qp(){Xc=!1,Ua!==null&&bs(Ua)&&(Ua=null),qa!==null&&bs(qa)&&(qa=null),ka!==null&&bs(ka)&&(ka=null),$n.forEach(cm),Wn.forEach(cm)}function js(e,t){e.blockedOn===t&&(e.blockedOn=null,Xc||(Xc=!0,r.unstable_scheduleCallback(r.unstable_NormalPriority,Qp)))}var Ns=null;function om(e){Ns!==e&&(Ns=e,r.unstable_scheduleCallback(r.unstable_NormalPriority,function(){Ns===e&&(Ns=null);for(var t=0;t<e.length;t+=3){var a=e[t],l=e[t+1],n=e[t+2];if(typeof l!="function"){if(Vc(l||a)===null)continue;break}var s=fl(a);s!==null&&(e.splice(t,3),t-=3,Vr(s,{pending:!0,data:n,method:a.method,action:l},l,n))}}))}function In(e){function t(g){return js(g,e)}Ua!==null&&js(Ua,e),qa!==null&&js(qa,e),ka!==null&&js(ka,e),$n.forEach(t),Wn.forEach(t);for(var a=0;a<Ha.length;a++){var l=Ha[a];l.blockedOn===e&&(l.blockedOn=null)}for(;0<Ha.length&&(a=Ha[0],a.blockedOn===null);)rm(a),a.blockedOn===null&&Ha.shift();if(a=(e.ownerDocument||e).$$reactFormReplay,a!=null)for(l=0;l<a.length;l+=3){var n=a[l],s=a[l+1],o=n[ot]||null;if(typeof s=="function")o||om(a);else if(o){var m=null;if(s&&s.hasAttribute("formAction")){if(n=s,o=s[ot]||null)m=o.formAction;else if(Vc(n)!==null)continue}else m=o.action;typeof m=="function"?a[l+1]=m:(a.splice(l,3),l-=3),om(a)}}}function Qc(e){this._internalRoot=e}Ss.prototype.render=Qc.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(c(409));var a=t.current,l=Nt();am(a,l,e,t,null,null)},Ss.prototype.unmount=Qc.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;am(e.current,2,null,e,null,null),ns(),t[ul]=null}};function Ss(e){this._internalRoot=e}Ss.prototype.unstable_scheduleHydration=function(e){if(e){var t=wo();e={blockedOn:null,target:e,priority:t};for(var a=0;a<Ha.length&&t!==0&&t<Ha[a].priority;a++);Ha.splice(a,0,e),a===0&&rm(e)}};var um=d.version;if(um!=="19.1.0")throw Error(c(527,um,"19.1.0"));Y.findDOMNode=function(e){var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(c(188)):(e=Object.keys(e).join(","),Error(c(268,e)));return e=p(t),e=e!==null?x(e):null,e=e===null?null:e.stateNode,e};var Zp={bundleType:0,version:"19.1.0",rendererPackageName:"react-dom",currentDispatcherRef:R,reconcilerVersion:"19.1.0"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var As=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!As.isDisabled&&As.supportsFiber)try{tn=As.inject(Zp),xt=As}catch{}}return ei.createRoot=function(e,t){if(!f(e))throw Error(c(299));var a=!1,l="",n=wd,s=Ed,o=Md,m=null;return t!=null&&(t.unstable_strictMode===!0&&(a=!0),t.identifierPrefix!==void 0&&(l=t.identifierPrefix),t.onUncaughtError!==void 0&&(n=t.onUncaughtError),t.onCaughtError!==void 0&&(s=t.onCaughtError),t.onRecoverableError!==void 0&&(o=t.onRecoverableError),t.unstable_transitionCallbacks!==void 0&&(m=t.unstable_transitionCallbacks)),t=em(e,1,!1,null,null,a,l,n,s,o,m,null),e[ul]=t.current,Mc(e),new Qc(t)},ei.hydrateRoot=function(e,t,a){if(!f(e))throw Error(c(299));var l=!1,n="",s=wd,o=Ed,m=Md,g=null,w=null;return a!=null&&(a.unstable_strictMode===!0&&(l=!0),a.identifierPrefix!==void 0&&(n=a.identifierPrefix),a.onUncaughtError!==void 0&&(s=a.onUncaughtError),a.onCaughtError!==void 0&&(o=a.onCaughtError),a.onRecoverableError!==void 0&&(m=a.onRecoverableError),a.unstable_transitionCallbacks!==void 0&&(g=a.unstable_transitionCallbacks),a.formState!==void 0&&(w=a.formState)),t=em(e,1,!0,t,a??null,l,n,s,o,m,g,w),t.context=tm(null),a=t.current,l=Nt(),l=qs(l),n=ja(l),n.callback=null,Na(a,n,l),a=l,t.current.lanes=a,ln(t,a),Vt(t),e[ul]=t.current,Mc(e),new Ss(t)},ei.version="19.1.0",ei}var bm;function ag(){if(bm)return Jc.exports;bm=1;function r(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(r)}catch(d){console.error(d)}}return r(),Jc.exports=tg(),Jc.exports}var lg=ag(),ti={},jm;function ng(){if(jm)return ti;jm=1,Object.defineProperty(ti,"__esModule",{value:!0}),ti.parse=v,ti.serialize=x;const r=/^[\u0021-\u003A\u003C\u003E-\u007E]+$/,d=/^[\u0021-\u003A\u003C-\u007E]*$/,u=/^([.]?[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)([.][a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)*$/i,c=/^[\u0020-\u003A\u003D-\u007E]*$/,f=Object.prototype.toString,h=(()=>{const T=function(){};return T.prototype=Object.create(null),T})();function v(T,G){const _=new h,L=T.length;if(L<2)return _;const V=(G==null?void 0:G.decode)||A;let B=0;do{const Q=T.indexOf("=",B);if(Q===-1)break;const F=T.indexOf(";",B),se=F===-1?L:F;if(Q>se){B=T.lastIndexOf(";",Q-1)+1;continue}const I=N(T,B,Q),we=p(T,Q,I),Ee=T.slice(I,we);if(_[Ee]===void 0){let K=N(T,Q+1,se),me=p(T,se,K);const $e=V(T.slice(K,me));_[Ee]=$e}B=se+1}while(B<L);return _}function N(T,G,_){do{const L=T.charCodeAt(G);if(L!==32&&L!==9)return G}while(++G<_);return _}function p(T,G,_){for(;G>_;){const L=T.charCodeAt(--G);if(L!==32&&L!==9)return G+1}return _}function x(T,G,_){const L=(_==null?void 0:_.encode)||encodeURIComponent;if(!r.test(T))throw new TypeError(`argument name is invalid: ${T}`);const V=L(G);if(!d.test(V))throw new TypeError(`argument val is invalid: ${G}`);let B=T+"="+V;if(!_)return B;if(_.maxAge!==void 0){if(!Number.isInteger(_.maxAge))throw new TypeError(`option maxAge is invalid: ${_.maxAge}`);B+="; Max-Age="+_.maxAge}if(_.domain){if(!u.test(_.domain))throw new TypeError(`option domain is invalid: ${_.domain}`);B+="; Domain="+_.domain}if(_.path){if(!c.test(_.path))throw new TypeError(`option path is invalid: ${_.path}`);B+="; Path="+_.path}if(_.expires){if(!C(_.expires)||!Number.isFinite(_.expires.valueOf()))throw new TypeError(`option expires is invalid: ${_.expires}`);B+="; Expires="+_.expires.toUTCString()}if(_.httpOnly&&(B+="; HttpOnly"),_.secure&&(B+="; Secure"),_.partitioned&&(B+="; Partitioned"),_.priority)switch(typeof _.priority=="string"?_.priority.toLowerCase():void 0){case"low":B+="; Priority=Low";break;case"medium":B+="; Priority=Medium";break;case"high":B+="; Priority=High";break;default:throw new TypeError(`option priority is invalid: ${_.priority}`)}if(_.sameSite)switch(typeof _.sameSite=="string"?_.sameSite.toLowerCase():_.sameSite){case!0:case"strict":B+="; SameSite=Strict";break;case"lax":B+="; SameSite=Lax";break;case"none":B+="; SameSite=None";break;default:throw new TypeError(`option sameSite is invalid: ${_.sameSite}`)}return B}function A(T){if(T.indexOf("%")===-1)return T;try{return decodeURIComponent(T)}catch{return T}}function C(T){return f.call(T)==="[object Date]"}return ti}ng();var Nm="popstate";function ig(r={}){function d(c,f){let{pathname:h,search:v,hash:N}=c.location;return ao("",{pathname:h,search:v,hash:N},f.state&&f.state.usr||null,f.state&&f.state.key||"default")}function u(c,f){return typeof f=="string"?f:ii(f)}return rg(d,u,null,r)}function ke(r,d){if(r===!1||r===null||typeof r>"u")throw new Error(d)}function Xt(r,d){if(!r){typeof console<"u"&&console.warn(d);try{throw new Error(d)}catch{}}}function sg(){return Math.random().toString(36).substring(2,10)}function Sm(r,d){return{usr:r.state,key:r.key,idx:d}}function ao(r,d,u=null,c){return{pathname:typeof r=="string"?r:r.pathname,search:"",hash:"",...typeof d=="string"?Pl(d):d,state:u,key:d&&d.key||c||sg()}}function ii({pathname:r="/",search:d="",hash:u=""}){return d&&d!=="?"&&(r+=d.charAt(0)==="?"?d:"?"+d),u&&u!=="#"&&(r+=u.charAt(0)==="#"?u:"#"+u),r}function Pl(r){let d={};if(r){let u=r.indexOf("#");u>=0&&(d.hash=r.substring(u),r=r.substring(0,u));let c=r.indexOf("?");c>=0&&(d.search=r.substring(c),r=r.substring(0,c)),r&&(d.pathname=r)}return d}function rg(r,d,u,c={}){let{window:f=document.defaultView,v5Compat:h=!1}=c,v=f.history,N="POP",p=null,x=A();x==null&&(x=0,v.replaceState({...v.state,idx:x},""));function A(){return(v.state||{idx:null}).idx}function C(){N="POP";let V=A(),B=V==null?null:V-x;x=V,p&&p({action:N,location:L.location,delta:B})}function T(V,B){N="PUSH";let Q=ao(L.location,V,B);x=A()+1;let F=Sm(Q,x),se=L.createHref(Q);try{v.pushState(F,"",se)}catch(I){if(I instanceof DOMException&&I.name==="DataCloneError")throw I;f.location.assign(se)}h&&p&&p({action:N,location:L.location,delta:1})}function G(V,B){N="REPLACE";let Q=ao(L.location,V,B);x=A();let F=Sm(Q,x),se=L.createHref(Q);v.replaceState(F,"",se),h&&p&&p({action:N,location:L.location,delta:0})}function _(V){return cg(V)}let L={get action(){return N},get location(){return r(f,v)},listen(V){if(p)throw new Error("A history only accepts one active listener");return f.addEventListener(Nm,C),p=V,()=>{f.removeEventListener(Nm,C),p=null}},createHref(V){return d(f,V)},createURL:_,encodeLocation(V){let B=_(V);return{pathname:B.pathname,search:B.search,hash:B.hash}},push:T,replace:G,go(V){return v.go(V)}};return L}function cg(r,d=!1){let u="http://localhost";typeof window<"u"&&(u=window.location.origin!=="null"?window.location.origin:window.location.href),ke(u,"No window.location.(origin|href) available to create URL");let c=typeof r=="string"?r:ii(r);return c=c.replace(/ $/,"%20"),!d&&c.startsWith("//")&&(c=u+c),new URL(c,u)}function Hm(r,d,u="/"){return og(r,d,u,!1)}function og(r,d,u,c){let f=typeof d=="string"?Pl(d):d,h=da(f.pathname||"/",u);if(h==null)return null;let v=Bm(r);ug(v);let N=null;for(let p=0;N==null&&p<v.length;++p){let x=jg(h);N=yg(v[p],x,c)}return N}function Bm(r,d=[],u=[],c=""){let f=(h,v,N)=>{let p={relativePath:N===void 0?h.path||"":N,caseSensitive:h.caseSensitive===!0,childrenIndex:v,route:h};p.relativePath.startsWith("/")&&(ke(p.relativePath.startsWith(c),`Absolute route path "${p.relativePath}" nested under path "${c}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),p.relativePath=p.relativePath.slice(c.length));let x=oa([c,p.relativePath]),A=u.concat(p);h.children&&h.children.length>0&&(ke(h.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${x}".`),Bm(h.children,d,A,x)),!(h.path==null&&!h.index)&&d.push({path:x,score:gg(x,h.index),routesMeta:A})};return r.forEach((h,v)=>{var N;if(h.path===""||!((N=h.path)!=null&&N.includes("?")))f(h,v);else for(let p of Lm(h.path))f(h,v,p)}),d}function Lm(r){let d=r.split("/");if(d.length===0)return[];let[u,...c]=d,f=u.endsWith("?"),h=u.replace(/\?$/,"");if(c.length===0)return f?[h,""]:[h];let v=Lm(c.join("/")),N=[];return N.push(...v.map(p=>p===""?h:[h,p].join("/"))),f&&N.push(...v),N.map(p=>r.startsWith("/")&&p===""?"/":p)}function ug(r){r.sort((d,u)=>d.score!==u.score?u.score-d.score:vg(d.routesMeta.map(c=>c.childrenIndex),u.routesMeta.map(c=>c.childrenIndex)))}var dg=/^:[\w-]+$/,fg=3,mg=2,hg=1,xg=10,pg=-2,Am=r=>r==="*";function gg(r,d){let u=r.split("/"),c=u.length;return u.some(Am)&&(c+=pg),d&&(c+=mg),u.filter(f=>!Am(f)).reduce((f,h)=>f+(dg.test(h)?fg:h===""?hg:xg),c)}function vg(r,d){return r.length===d.length&&r.slice(0,-1).every((c,f)=>c===d[f])?r[r.length-1]-d[d.length-1]:0}function yg(r,d,u=!1){let{routesMeta:c}=r,f={},h="/",v=[];for(let N=0;N<c.length;++N){let p=c[N],x=N===c.length-1,A=h==="/"?d:d.slice(h.length)||"/",C=Rs({path:p.relativePath,caseSensitive:p.caseSensitive,end:x},A),T=p.route;if(!C&&x&&u&&!c[c.length-1].route.index&&(C=Rs({path:p.relativePath,caseSensitive:p.caseSensitive,end:!1},A)),!C)return null;Object.assign(f,C.params),v.push({params:f,pathname:oa([h,C.pathname]),pathnameBase:wg(oa([h,C.pathnameBase])),route:T}),C.pathnameBase!=="/"&&(h=oa([h,C.pathnameBase]))}return v}function Rs(r,d){typeof r=="string"&&(r={path:r,caseSensitive:!1,end:!0});let[u,c]=bg(r.path,r.caseSensitive,r.end),f=d.match(u);if(!f)return null;let h=f[0],v=h.replace(/(.)\/+$/,"$1"),N=f.slice(1);return{params:c.reduce((x,{paramName:A,isOptional:C},T)=>{if(A==="*"){let _=N[T]||"";v=h.slice(0,h.length-_.length).replace(/(.)\/+$/,"$1")}const G=N[T];return C&&!G?x[A]=void 0:x[A]=(G||"").replace(/%2F/g,"/"),x},{}),pathname:h,pathnameBase:v,pattern:r}}function bg(r,d=!1,u=!0){Xt(r==="*"||!r.endsWith("*")||r.endsWith("/*"),`Route path "${r}" will be treated as if it were "${r.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${r.replace(/\*$/,"/*")}".`);let c=[],f="^"+r.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(v,N,p)=>(c.push({paramName:N,isOptional:p!=null}),p?"/?([^\\/]+)?":"/([^\\/]+)"));return r.endsWith("*")?(c.push({paramName:"*"}),f+=r==="*"||r==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):u?f+="\\/*$":r!==""&&r!=="/"&&(f+="(?:(?=\\/|$))"),[new RegExp(f,d?void 0:"i"),c]}function jg(r){try{return r.split("/").map(d=>decodeURIComponent(d).replace(/\//g,"%2F")).join("/")}catch(d){return Xt(!1,`The URL path "${r}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${d}).`),r}}function da(r,d){if(d==="/")return r;if(!r.toLowerCase().startsWith(d.toLowerCase()))return null;let u=d.endsWith("/")?d.length-1:d.length,c=r.charAt(u);return c&&c!=="/"?null:r.slice(u)||"/"}function Ng(r,d="/"){let{pathname:u,search:c="",hash:f=""}=typeof r=="string"?Pl(r):r;return{pathname:u?u.startsWith("/")?u:Sg(u,d):d,search:Eg(c),hash:Mg(f)}}function Sg(r,d){let u=d.replace(/\/+$/,"").split("/");return r.split("/").forEach(f=>{f===".."?u.length>1&&u.pop():f!=="."&&u.push(f)}),u.length>1?u.join("/"):"/"}function Ic(r,d,u,c){return`Cannot include a '${r}' character in a manually specified \`to.${d}\` field [${JSON.stringify(c)}].  Please separate it out to the \`to.${u}\` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.`}function Ag(r){return r.filter((d,u)=>u===0||d.route.path&&d.route.path.length>0)}function Gm(r){let d=Ag(r);return d.map((u,c)=>c===d.length-1?u.pathname:u.pathnameBase)}function Ym(r,d,u,c=!1){let f;typeof r=="string"?f=Pl(r):(f={...r},ke(!f.pathname||!f.pathname.includes("?"),Ic("?","pathname","search",f)),ke(!f.pathname||!f.pathname.includes("#"),Ic("#","pathname","hash",f)),ke(!f.search||!f.search.includes("#"),Ic("#","search","hash",f)));let h=r===""||f.pathname==="",v=h?"/":f.pathname,N;if(v==null)N=u;else{let C=d.length-1;if(!c&&v.startsWith("..")){let T=v.split("/");for(;T[0]==="..";)T.shift(),C-=1;f.pathname=T.join("/")}N=C>=0?d[C]:"/"}let p=Ng(f,N),x=v&&v!=="/"&&v.endsWith("/"),A=(h||v===".")&&u.endsWith("/");return!p.pathname.endsWith("/")&&(x||A)&&(p.pathname+="/"),p}var oa=r=>r.join("/").replace(/\/\/+/g,"/"),wg=r=>r.replace(/\/+$/,"").replace(/^\/*/,"/"),Eg=r=>!r||r==="?"?"":r.startsWith("?")?r:"?"+r,Mg=r=>!r||r==="#"?"":r.startsWith("#")?r:"#"+r;function zg(r){return r!=null&&typeof r.status=="number"&&typeof r.statusText=="string"&&typeof r.internal=="boolean"&&"data"in r}var Vm=["POST","PUT","PATCH","DELETE"];new Set(Vm);var Tg=["GET",...Vm];new Set(Tg);var Il=z.createContext(null);Il.displayName="DataRouter";var Cs=z.createContext(null);Cs.displayName="DataRouterState";var Xm=z.createContext({isTransitioning:!1});Xm.displayName="ViewTransition";var Rg=z.createContext(new Map);Rg.displayName="Fetchers";var Cg=z.createContext(null);Cg.displayName="Await";var Qt=z.createContext(null);Qt.displayName="Navigation";var ri=z.createContext(null);ri.displayName="Location";var fa=z.createContext({outlet:null,matches:[],isDataRoute:!1});fa.displayName="Route";var oo=z.createContext(null);oo.displayName="RouteError";function _g(r,{relative:d}={}){ke(ci(),"useHref() may be used only in the context of a <Router> component.");let{basename:u,navigator:c}=z.useContext(Qt),{hash:f,pathname:h,search:v}=oi(r,{relative:d}),N=h;return u!=="/"&&(N=h==="/"?u:oa([u,h])),c.createHref({pathname:N,search:v,hash:f})}function ci(){return z.useContext(ri)!=null}function Ga(){return ke(ci(),"useLocation() may be used only in the context of a <Router> component."),z.useContext(ri).location}var Qm="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function Zm(r){z.useContext(Qt).static||z.useLayoutEffect(r)}function Dg(){let{isDataRoute:r}=z.useContext(fa);return r?Zg():Og()}function Og(){ke(ci(),"useNavigate() may be used only in the context of a <Router> component.");let r=z.useContext(Il),{basename:d,navigator:u}=z.useContext(Qt),{matches:c}=z.useContext(fa),{pathname:f}=Ga(),h=JSON.stringify(Gm(c)),v=z.useRef(!1);return Zm(()=>{v.current=!0}),z.useCallback((p,x={})=>{if(Xt(v.current,Qm),!v.current)return;if(typeof p=="number"){u.go(p);return}let A=Ym(p,JSON.parse(h),f,x.relative==="path");r==null&&d!=="/"&&(A.pathname=A.pathname==="/"?d:oa([d,A.pathname])),(x.replace?u.replace:u.push)(A,x.state,x)},[d,u,h,f,r])}z.createContext(null);function oi(r,{relative:d}={}){let{matches:u}=z.useContext(fa),{pathname:c}=Ga(),f=JSON.stringify(Gm(u));return z.useMemo(()=>Ym(r,JSON.parse(f),c,d==="path"),[r,f,c,d])}function Ug(r,d){return Km(r,d)}function Km(r,d,u,c){var B;ke(ci(),"useRoutes() may be used only in the context of a <Router> component.");let{navigator:f}=z.useContext(Qt),{matches:h}=z.useContext(fa),v=h[h.length-1],N=v?v.params:{},p=v?v.pathname:"/",x=v?v.pathnameBase:"/",A=v&&v.route;{let Q=A&&A.path||"";Jm(p,!A||Q.endsWith("*")||Q.endsWith("*?"),`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${p}" (under <Route path="${Q}">) 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="${Q}"> to <Route path="${Q==="/"?"*":`${Q}/*`}">.`)}let C=Ga(),T;if(d){let Q=typeof d=="string"?Pl(d):d;ke(x==="/"||((B=Q.pathname)==null?void 0:B.startsWith(x)),`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 "${x}" but pathname "${Q.pathname}" was given in the \`location\` prop.`),T=Q}else T=C;let G=T.pathname||"/",_=G;if(x!=="/"){let Q=x.replace(/^\//,"").split("/");_="/"+G.replace(/^\//,"").split("/").slice(Q.length).join("/")}let L=Hm(r,{pathname:_});Xt(A||L!=null,`No routes matched location "${T.pathname}${T.search}${T.hash}" `),Xt(L==null||L[L.length-1].route.element!==void 0||L[L.length-1].route.Component!==void 0||L[L.length-1].route.lazy!==void 0,`Matched leaf route at location "${T.pathname}${T.search}${T.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 V=Lg(L&&L.map(Q=>Object.assign({},Q,{params:Object.assign({},N,Q.params),pathname:oa([x,f.encodeLocation?f.encodeLocation(Q.pathname).pathname:Q.pathname]),pathnameBase:Q.pathnameBase==="/"?x:oa([x,f.encodeLocation?f.encodeLocation(Q.pathnameBase).pathname:Q.pathnameBase])})),h,u,c);return d&&V?z.createElement(ri.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",...T},navigationType:"POP"}},V):V}function qg(){let r=Qg(),d=zg(r)?`${r.status} ${r.statusText}`:r instanceof Error?r.message:JSON.stringify(r),u=r instanceof Error?r.stack:null,c="rgba(200,200,200, 0.5)",f={padding:"0.5rem",backgroundColor:c},h={padding:"2px 4px",backgroundColor:c},v=null;return console.error("Error handled by React Router default ErrorBoundary:",r),v=z.createElement(z.Fragment,null,z.createElement("p",null,"💿 Hey developer 👋"),z.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",z.createElement("code",{style:h},"ErrorBoundary")," or"," ",z.createElement("code",{style:h},"errorElement")," prop on your route.")),z.createElement(z.Fragment,null,z.createElement("h2",null,"Unexpected Application Error!"),z.createElement("h3",{style:{fontStyle:"italic"}},d),u?z.createElement("pre",{style:f},u):null,v)}var kg=z.createElement(qg,null),Hg=class extends z.Component{constructor(r){super(r),this.state={location:r.location,revalidation:r.revalidation,error:r.error}}static getDerivedStateFromError(r){return{error:r}}static getDerivedStateFromProps(r,d){return d.location!==r.location||d.revalidation!=="idle"&&r.revalidation==="idle"?{error:r.error,location:r.location,revalidation:r.revalidation}:{error:r.error!==void 0?r.error:d.error,location:d.location,revalidation:r.revalidation||d.revalidation}}componentDidCatch(r,d){console.error("React Router caught the following error during render",r,d)}render(){return this.state.error!==void 0?z.createElement(fa.Provider,{value:this.props.routeContext},z.createElement(oo.Provider,{value:this.state.error,children:this.props.component})):this.props.children}};function Bg({routeContext:r,match:d,children:u}){let c=z.useContext(Il);return c&&c.static&&c.staticContext&&(d.route.errorElement||d.route.ErrorBoundary)&&(c.staticContext._deepestRenderedBoundaryId=d.route.id),z.createElement(fa.Provider,{value:r},u)}function Lg(r,d=[],u=null,c=null){if(r==null){if(!u)return null;if(u.errors)r=u.matches;else if(d.length===0&&!u.initialized&&u.matches.length>0)r=u.matches;else return null}let f=r,h=u==null?void 0:u.errors;if(h!=null){let p=f.findIndex(x=>x.route.id&&(h==null?void 0:h[x.route.id])!==void 0);ke(p>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(h).join(",")}`),f=f.slice(0,Math.min(f.length,p+1))}let v=!1,N=-1;if(u)for(let p=0;p<f.length;p++){let x=f[p];if((x.route.HydrateFallback||x.route.hydrateFallbackElement)&&(N=p),x.route.id){let{loaderData:A,errors:C}=u,T=x.route.loader&&!A.hasOwnProperty(x.route.id)&&(!C||C[x.route.id]===void 0);if(x.route.lazy||T){v=!0,N>=0?f=f.slice(0,N+1):f=[f[0]];break}}}return f.reduceRight((p,x,A)=>{let C,T=!1,G=null,_=null;u&&(C=h&&x.route.id?h[x.route.id]:void 0,G=x.route.errorElement||kg,v&&(N<0&&A===0?(Jm("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),T=!0,_=null):N===A&&(T=!0,_=x.route.hydrateFallbackElement||null)));let L=d.concat(f.slice(0,A+1)),V=()=>{let B;return C?B=G:T?B=_:x.route.Component?B=z.createElement(x.route.Component,null):x.route.element?B=x.route.element:B=p,z.createElement(Bg,{match:x,routeContext:{outlet:p,matches:L,isDataRoute:u!=null},children:B})};return u&&(x.route.ErrorBoundary||x.route.errorElement||A===0)?z.createElement(Hg,{location:u.location,revalidation:u.revalidation,component:G,error:C,children:V(),routeContext:{outlet:null,matches:L,isDataRoute:!0}}):V()},null)}function uo(r){return`${r} must be used within a data router.  See https://reactrouter.com/en/main/routers/picking-a-router.`}function Gg(r){let d=z.useContext(Il);return ke(d,uo(r)),d}function Yg(r){let d=z.useContext(Cs);return ke(d,uo(r)),d}function Vg(r){let d=z.useContext(fa);return ke(d,uo(r)),d}function fo(r){let d=Vg(r),u=d.matches[d.matches.length-1];return ke(u.route.id,`${r} can only be used on routes that contain a unique "id"`),u.route.id}function Xg(){return fo("useRouteId")}function Qg(){var c;let r=z.useContext(oo),d=Yg("useRouteError"),u=fo("useRouteError");return r!==void 0?r:(c=d.errors)==null?void 0:c[u]}function Zg(){let{router:r}=Gg("useNavigate"),d=fo("useNavigate"),u=z.useRef(!1);return Zm(()=>{u.current=!0}),z.useCallback(async(f,h={})=>{Xt(u.current,Qm),u.current&&(typeof f=="number"?r.navigate(f):await r.navigate(f,{fromRouteId:d,...h}))},[r,d])}var wm={};function Jm(r,d,u){!d&&!wm[r]&&(wm[r]=!0,Xt(!1,u))}z.memo(Kg);function Kg({routes:r,future:d,state:u}){return Km(r,void 0,u,d)}function ca(r){ke(!1,"A <Route> is only ever to be used as the child of <Routes> element, never rendered directly. Please wrap your <Route> in a <Routes>.")}function Jg({basename:r="/",children:d=null,location:u,navigationType:c="POP",navigator:f,static:h=!1}){ke(!ci(),"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let v=r.replace(/^\/*/,"/"),N=z.useMemo(()=>({basename:v,navigator:f,static:h,future:{}}),[v,f,h]);typeof u=="string"&&(u=Pl(u));let{pathname:p="/",search:x="",hash:A="",state:C=null,key:T="default"}=u,G=z.useMemo(()=>{let _=da(p,v);return _==null?null:{location:{pathname:_,search:x,hash:A,state:C,key:T},navigationType:c}},[v,p,x,A,C,T,c]);return Xt(G!=null,`<Router basename="${v}"> is not able to match the URL "${p}${x}${A}" because it does not start with the basename, so the <Router> won't render anything.`),G==null?null:z.createElement(Qt.Provider,{value:N},z.createElement(ri.Provider,{children:d,value:G}))}function $g({children:r,location:d}){return Ug(lo(r),d)}function lo(r,d=[]){let u=[];return z.Children.forEach(r,(c,f)=>{if(!z.isValidElement(c))return;let h=[...d,f];if(c.type===z.Fragment){u.push.apply(u,lo(c.props.children,h));return}ke(c.type===ca,`[${typeof c.type=="string"?c.type:c.type.name}] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>`),ke(!c.props.index||!c.props.children,"An index route cannot have child routes.");let v={id:c.props.id||h.join("-"),caseSensitive:c.props.caseSensitive,element:c.props.element,Component:c.props.Component,index:c.props.index,path:c.props.path,loader:c.props.loader,action:c.props.action,hydrateFallbackElement:c.props.hydrateFallbackElement,HydrateFallback:c.props.HydrateFallback,errorElement:c.props.errorElement,ErrorBoundary:c.props.ErrorBoundary,hasErrorBoundary:c.props.hasErrorBoundary===!0||c.props.ErrorBoundary!=null||c.props.errorElement!=null,shouldRevalidate:c.props.shouldRevalidate,handle:c.props.handle,lazy:c.props.lazy};c.props.children&&(v.children=lo(c.props.children,h)),u.push(v)}),u}var zs="get",Ts="application/x-www-form-urlencoded";function _s(r){return r!=null&&typeof r.tagName=="string"}function Wg(r){return _s(r)&&r.tagName.toLowerCase()==="button"}function Pg(r){return _s(r)&&r.tagName.toLowerCase()==="form"}function Ig(r){return _s(r)&&r.tagName.toLowerCase()==="input"}function Fg(r){return!!(r.metaKey||r.altKey||r.ctrlKey||r.shiftKey)}function e0(r,d){return r.button===0&&(!d||d==="_self")&&!Fg(r)}var ws=null;function t0(){if(ws===null)try{new FormData(document.createElement("form"),0),ws=!1}catch{ws=!0}return ws}var a0=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function Fc(r){return r!=null&&!a0.has(r)?(Xt(!1,`"${r}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${Ts}"`),null):r}function l0(r,d){let u,c,f,h,v;if(Pg(r)){let N=r.getAttribute("action");c=N?da(N,d):null,u=r.getAttribute("method")||zs,f=Fc(r.getAttribute("enctype"))||Ts,h=new FormData(r)}else if(Wg(r)||Ig(r)&&(r.type==="submit"||r.type==="image")){let N=r.form;if(N==null)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let p=r.getAttribute("formaction")||N.getAttribute("action");if(c=p?da(p,d):null,u=r.getAttribute("formmethod")||N.getAttribute("method")||zs,f=Fc(r.getAttribute("formenctype"))||Fc(N.getAttribute("enctype"))||Ts,h=new FormData(N,r),!t0()){let{name:x,type:A,value:C}=r;if(A==="image"){let T=x?`${x}.`:"";h.append(`${T}x`,"0"),h.append(`${T}y`,"0")}else x&&h.append(x,C)}}else{if(_s(r))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');u=zs,c=null,f=Ts,v=r}return h&&f==="text/plain"&&(v=h,h=void 0),{action:c,method:u.toLowerCase(),encType:f,formData:h,body:v}}function mo(r,d){if(r===!1||r===null||typeof r>"u")throw new Error(d)}async function n0(r,d){if(r.id in d)return d[r.id];try{let u=await import(r.module);return d[r.id]=u,u}catch(u){return console.error(`Error loading route module \`${r.module}\`, reloading page...`),console.error(u),window.__reactRouterContext&&window.__reactRouterContext.isSpaMode,window.location.reload(),new Promise(()=>{})}}function i0(r){return r==null?!1:r.href==null?r.rel==="preload"&&typeof r.imageSrcSet=="string"&&typeof r.imageSizes=="string":typeof r.rel=="string"&&typeof r.href=="string"}async function s0(r,d,u){let c=await Promise.all(r.map(async f=>{let h=d.routes[f.route.id];if(h){let v=await n0(h,u);return v.links?v.links():[]}return[]}));return u0(c.flat(1).filter(i0).filter(f=>f.rel==="stylesheet"||f.rel==="preload").map(f=>f.rel==="stylesheet"?{...f,rel:"prefetch",as:"style"}:{...f,rel:"prefetch"}))}function Em(r,d,u,c,f,h){let v=(p,x)=>u[x]?p.route.id!==u[x].route.id:!0,N=(p,x)=>{var A;return u[x].pathname!==p.pathname||((A=u[x].route.path)==null?void 0:A.endsWith("*"))&&u[x].params["*"]!==p.params["*"]};return h==="assets"?d.filter((p,x)=>v(p,x)||N(p,x)):h==="data"?d.filter((p,x)=>{var C;let A=c.routes[p.route.id];if(!A||!A.hasLoader)return!1;if(v(p,x)||N(p,x))return!0;if(p.route.shouldRevalidate){let T=p.route.shouldRevalidate({currentUrl:new URL(f.pathname+f.search+f.hash,window.origin),currentParams:((C=u[0])==null?void 0:C.params)||{},nextUrl:new URL(r,window.origin),nextParams:p.params,defaultShouldRevalidate:!0});if(typeof T=="boolean")return T}return!0}):[]}function r0(r,d,{includeHydrateFallback:u}={}){return c0(r.map(c=>{let f=d.routes[c.route.id];if(!f)return[];let h=[f.module];return f.clientActionModule&&(h=h.concat(f.clientActionModule)),f.clientLoaderModule&&(h=h.concat(f.clientLoaderModule)),u&&f.hydrateFallbackModule&&(h=h.concat(f.hydrateFallbackModule)),f.imports&&(h=h.concat(f.imports)),h}).flat(1))}function c0(r){return[...new Set(r)]}function o0(r){let d={},u=Object.keys(r).sort();for(let c of u)d[c]=r[c];return d}function u0(r,d){let u=new Set;return new Set(d),r.reduce((c,f)=>{let h=JSON.stringify(o0(f));return u.has(h)||(u.add(h),c.push({key:h,link:f})),c},[])}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");var d0=new Set([100,101,204,205]);function f0(r,d){let u=typeof r=="string"?new URL(r,typeof window>"u"?"server://singlefetch/":window.location.origin):r;return u.pathname==="/"?u.pathname="_root.data":d&&da(u.pathname,d)==="/"?u.pathname=`${d.replace(/\/$/,"")}/_root.data`:u.pathname=`${u.pathname.replace(/\/$/,"")}.data`,u}function $m(){let r=z.useContext(Il);return mo(r,"You must render this element inside a <DataRouterContext.Provider> element"),r}function m0(){let r=z.useContext(Cs);return mo(r,"You must render this element inside a <DataRouterStateContext.Provider> element"),r}var ho=z.createContext(void 0);ho.displayName="FrameworkContext";function Wm(){let r=z.useContext(ho);return mo(r,"You must render this element inside a <HydratedRouter> element"),r}function h0(r,d){let u=z.useContext(ho),[c,f]=z.useState(!1),[h,v]=z.useState(!1),{onFocus:N,onBlur:p,onMouseEnter:x,onMouseLeave:A,onTouchStart:C}=d,T=z.useRef(null);z.useEffect(()=>{if(r==="render"&&v(!0),r==="viewport"){let L=B=>{B.forEach(Q=>{v(Q.isIntersecting)})},V=new IntersectionObserver(L,{threshold:.5});return T.current&&V.observe(T.current),()=>{V.disconnect()}}},[r]),z.useEffect(()=>{if(c){let L=setTimeout(()=>{v(!0)},100);return()=>{clearTimeout(L)}}},[c]);let G=()=>{f(!0)},_=()=>{f(!1),v(!1)};return u?r!=="intent"?[h,T,{}]:[h,T,{onFocus:ai(N,G),onBlur:ai(p,_),onMouseEnter:ai(x,G),onMouseLeave:ai(A,_),onTouchStart:ai(C,G)}]:[!1,T,{}]}function ai(r,d){return u=>{r&&r(u),u.defaultPrevented||d(u)}}function x0({page:r,...d}){let{router:u}=$m(),c=z.useMemo(()=>Hm(u.routes,r,u.basename),[u.routes,r,u.basename]);return c?z.createElement(g0,{page:r,matches:c,...d}):null}function p0(r){let{manifest:d,routeModules:u}=Wm(),[c,f]=z.useState([]);return z.useEffect(()=>{let h=!1;return s0(r,d,u).then(v=>{h||f(v)}),()=>{h=!0}},[r,d,u]),c}function g0({page:r,matches:d,...u}){let c=Ga(),{manifest:f,routeModules:h}=Wm(),{basename:v}=$m(),{loaderData:N,matches:p}=m0(),x=z.useMemo(()=>Em(r,d,p,f,c,"data"),[r,d,p,f,c]),A=z.useMemo(()=>Em(r,d,p,f,c,"assets"),[r,d,p,f,c]),C=z.useMemo(()=>{if(r===c.pathname+c.search+c.hash)return[];let _=new Set,L=!1;if(d.forEach(B=>{var F;let Q=f.routes[B.route.id];!Q||!Q.hasLoader||(!x.some(se=>se.route.id===B.route.id)&&B.route.id in N&&((F=h[B.route.id])!=null&&F.shouldRevalidate)||Q.hasClientLoader?L=!0:_.add(B.route.id))}),_.size===0)return[];let V=f0(r,v);return L&&_.size>0&&V.searchParams.set("_routes",d.filter(B=>_.has(B.route.id)).map(B=>B.route.id).join(",")),[V.pathname+V.search]},[v,N,c,f,x,d,r,h]),T=z.useMemo(()=>r0(A,f),[A,f]),G=p0(A);return z.createElement(z.Fragment,null,C.map(_=>z.createElement("link",{key:_,rel:"prefetch",as:"fetch",href:_,...u})),T.map(_=>z.createElement("link",{key:_,rel:"modulepreload",href:_,...u})),G.map(({key:_,link:L})=>z.createElement("link",{key:_,...L})))}function v0(...r){return d=>{r.forEach(u=>{typeof u=="function"?u(d):u!=null&&(u.current=d)})}}var Pm=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";try{Pm&&(window.__reactRouterVersion="7.6.3")}catch{}function y0({basename:r,children:d,window:u}){let c=z.useRef();c.current==null&&(c.current=ig({window:u,v5Compat:!0}));let f=c.current,[h,v]=z.useState({action:f.action,location:f.location}),N=z.useCallback(p=>{z.startTransition(()=>v(p))},[v]);return z.useLayoutEffect(()=>f.listen(N),[f,N]),z.createElement(Jg,{basename:r,children:d,location:h.location,navigationType:h.action,navigator:f})}var Im=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,lt=z.forwardRef(function({onClick:d,discover:u="render",prefetch:c="none",relative:f,reloadDocument:h,replace:v,state:N,target:p,to:x,preventScrollReset:A,viewTransition:C,...T},G){let{basename:_}=z.useContext(Qt),L=typeof x=="string"&&Im.test(x),V,B=!1;if(typeof x=="string"&&L&&(V=x,Pm))try{let me=new URL(window.location.href),$e=x.startsWith("//")?new URL(me.protocol+x):new URL(x),rt=da($e.pathname,_);$e.origin===me.origin&&rt!=null?x=rt+$e.search+$e.hash:B=!0}catch{Xt(!1,`<Link to="${x}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}let Q=_g(x,{relative:f}),[F,se,I]=h0(c,T),we=S0(x,{replace:v,state:N,target:p,preventScrollReset:A,relative:f,viewTransition:C});function Ee(me){d&&d(me),me.defaultPrevented||we(me)}let K=z.createElement("a",{...T,...I,href:V||Q,onClick:B||h?d:Ee,ref:v0(G,se),target:p,"data-discover":!L&&u==="render"?"true":void 0});return F&&!L?z.createElement(z.Fragment,null,K,z.createElement(x0,{page:Q})):K});lt.displayName="Link";var b0=z.forwardRef(function({"aria-current":d="page",caseSensitive:u=!1,className:c="",end:f=!1,style:h,to:v,viewTransition:N,children:p,...x},A){let C=oi(v,{relative:x.relative}),T=Ga(),G=z.useContext(Cs),{navigator:_,basename:L}=z.useContext(Qt),V=G!=null&&z0(C)&&N===!0,B=_.encodeLocation?_.encodeLocation(C).pathname:C.pathname,Q=T.pathname,F=G&&G.navigation&&G.navigation.location?G.navigation.location.pathname:null;u||(Q=Q.toLowerCase(),F=F?F.toLowerCase():null,B=B.toLowerCase()),F&&L&&(F=da(F,L)||F);const se=B!=="/"&&B.endsWith("/")?B.length-1:B.length;let I=Q===B||!f&&Q.startsWith(B)&&Q.charAt(se)==="/",we=F!=null&&(F===B||!f&&F.startsWith(B)&&F.charAt(B.length)==="/"),Ee={isActive:I,isPending:we,isTransitioning:V},K=I?d:void 0,me;typeof c=="function"?me=c(Ee):me=[c,I?"active":null,we?"pending":null,V?"transitioning":null].filter(Boolean).join(" ");let $e=typeof h=="function"?h(Ee):h;return z.createElement(lt,{...x,"aria-current":K,className:me,ref:A,style:$e,to:v,viewTransition:N},typeof p=="function"?p(Ee):p)});b0.displayName="NavLink";var j0=z.forwardRef(({discover:r="render",fetcherKey:d,navigate:u,reloadDocument:c,replace:f,state:h,method:v=zs,action:N,onSubmit:p,relative:x,preventScrollReset:A,viewTransition:C,...T},G)=>{let _=E0(),L=M0(N,{relative:x}),V=v.toLowerCase()==="get"?"get":"post",B=typeof N=="string"&&Im.test(N),Q=F=>{if(p&&p(F),F.defaultPrevented)return;F.preventDefault();let se=F.nativeEvent.submitter,I=(se==null?void 0:se.getAttribute("formmethod"))||v;_(se||F.currentTarget,{fetcherKey:d,method:I,navigate:u,replace:f,state:h,relative:x,preventScrollReset:A,viewTransition:C})};return z.createElement("form",{ref:G,method:V,action:L,onSubmit:c?p:Q,...T,"data-discover":!B&&r==="render"?"true":void 0})});j0.displayName="Form";function N0(r){return`${r} must be used within a data router.  See https://reactrouter.com/en/main/routers/picking-a-router.`}function Fm(r){let d=z.useContext(Il);return ke(d,N0(r)),d}function S0(r,{target:d,replace:u,state:c,preventScrollReset:f,relative:h,viewTransition:v}={}){let N=Dg(),p=Ga(),x=oi(r,{relative:h});return z.useCallback(A=>{if(e0(A,d)){A.preventDefault();let C=u!==void 0?u:ii(p)===ii(x);N(r,{replace:C,state:c,preventScrollReset:f,relative:h,viewTransition:v})}},[p,N,x,u,c,d,r,f,h,v])}var A0=0,w0=()=>`__${String(++A0)}__`;function E0(){let{router:r}=Fm("useSubmit"),{basename:d}=z.useContext(Qt),u=Xg();return z.useCallback(async(c,f={})=>{let{action:h,method:v,encType:N,formData:p,body:x}=l0(c,d);if(f.navigate===!1){let A=f.fetcherKey||w0();await r.fetch(A,u,f.action||h,{preventScrollReset:f.preventScrollReset,formData:p,body:x,formMethod:f.method||v,formEncType:f.encType||N,flushSync:f.flushSync})}else await r.navigate(f.action||h,{preventScrollReset:f.preventScrollReset,formData:p,body:x,formMethod:f.method||v,formEncType:f.encType||N,replace:f.replace,state:f.state,fromRouteId:u,flushSync:f.flushSync,viewTransition:f.viewTransition})},[r,d,u])}function M0(r,{relative:d}={}){let{basename:u}=z.useContext(Qt),c=z.useContext(fa);ke(c,"useFormAction must be used inside a RouteContext");let[f]=c.matches.slice(-1),h={...oi(r||".",{relative:d})},v=Ga();if(r==null){h.search=v.search;let N=new URLSearchParams(h.search),p=N.getAll("index");if(p.some(A=>A==="")){N.delete("index"),p.filter(C=>C).forEach(C=>N.append("index",C));let A=N.toString();h.search=A?`?${A}`:""}}return(!r||r===".")&&f.route.index&&(h.search=h.search?h.search.replace(/^\?/,"?index&"):"?index"),u!=="/"&&(h.pathname=h.pathname==="/"?u:oa([u,h.pathname])),ii(h)}function z0(r,d={}){let u=z.useContext(Xm);ke(u!=null,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`.  Did you accidentally import `RouterProvider` from `react-router`?");let{basename:c}=Fm("useViewTransitionState"),f=oi(r,{relative:d.relative});if(!u.isTransitioning)return!1;let h=da(u.currentLocation.pathname,c)||u.currentLocation.pathname,v=da(u.nextLocation.pathname,c)||u.nextLocation.pathname;return Rs(f.pathname,v)!=null||Rs(f.pathname,h)!=null}[...d0];/**
 * @license lucide-react v0.510.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const T0=r=>r.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),R0=r=>r.replace(/^([A-Z])|[\s-_]+(\w)/g,(d,u,c)=>c?c.toUpperCase():u.toLowerCase()),Mm=r=>{const d=R0(r);return d.charAt(0).toUpperCase()+d.slice(1)},eh=(...r)=>r.filter((d,u,c)=>!!d&&d.trim()!==""&&c.indexOf(d)===u).join(" ").trim(),C0=r=>{for(const d in r)if(d.startsWith("aria-")||d==="role"||d==="title")return!0};/**
 * @license lucide-react v0.510.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */var _0={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/**
 * @license lucide-react v0.510.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const D0=z.forwardRef(({color:r="currentColor",size:d=24,strokeWidth:u=2,absoluteStrokeWidth:c,className:f="",children:h,iconNode:v,...N},p)=>z.createElement("svg",{ref:p,..._0,width:d,height:d,stroke:r,strokeWidth:c?Number(u)*24/Number(d):u,className:eh("lucide",f),...!h&&!C0(N)&&{"aria-hidden":"true"},...N},[...v.map(([x,A])=>z.createElement(x,A)),...Array.isArray(h)?h:[h]]));/**
 * @license lucide-react v0.510.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const ie=(r,d)=>{const u=z.forwardRef(({className:c,...f},h)=>z.createElement(D0,{ref:h,iconNode:d,className:eh(`lucide-${T0(Mm(r))}`,`lucide-${r}`,c),...f}));return u.displayName=Mm(r),u};/**
 * @license lucide-react v0.510.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const O0=[["path",{d:"M22 12h-2.48a2 2 0 0 0-1.93 1.46l-2.35 8.36a.25.25 0 0 1-.48 0L9.24 2.18a.25.25 0 0 0-.48 0l-2.35 8.36A2 2 0 0 1 4.49 12H2",key:"169zse"}]],U0=ie("activity",O0);/**
 * @license lucide-react v0.510.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const q0=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]],ni=ie("arrow-right",q0);/**
 * @license lucide-react v0.510.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const k0=[["path",{d:"m15.477 12.89 1.515 8.526a.5.5 0 0 1-.81.47l-3.58-2.687a1 1 0 0 0-1.197 0l-3.586 2.686a.5.5 0 0 1-.81-.469l1.514-8.526",key:"1yiouv"}],["circle",{cx:"12",cy:"8",r:"6",key:"1vp47v"}]],th=ie("award",k0);/**
 * @license lucide-react v0.510.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const H0=[["path",{d:"M4.5 3h15",key:"c7n0jr"}],["path",{d:"M6 3v16a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V3",key:"m1uhx7"}],["path",{d:"M6 14h12",key:"4cwo0f"}]],B0=ie("beaker",H0);/**
 * @license lucide-react v0.510.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const L0=[["path",{d:"M12 5a3 3 0 1 0-5.997.125 4 4 0 0 0-2.526 5.77 4 4 0 0 0 .556 6.588A4 4 0 1 0 12 18Z",key:"l5xja"}],["path",{d:"M12 5a3 3 0 1 1 5.997.125 4 4 0 0 1 2.526 5.77 4 4 0 0 1-.556 6.588A4 4 0 1 1 12 18Z",key:"ep3f8r"}],["path",{d:"M15 13a4.5 4.5 0 0 1-3-4 4.5 4.5 0 0 1-3 4",key:"1p4c4q"}],["path",{d:"M17.599 6.5a3 3 0 0 0 .399-1.375",key:"tmeiqw"}],["path",{d:"M6.003 5.125A3 3 0 0 0 6.401 6.5",key:"105sqy"}],["path",{d:"M3.477 10.896a4 4 0 0 1 .585-.396",key:"ql3yin"}],["path",{d:"M19.938 10.5a4 4 0 0 1 .585.396",key:"1qfode"}],["path",{d:"M6 18a4 4 0 0 1-1.967-.516",key:"2e4loj"}],["path",{d:"M19.967 17.484A4 4 0 0 1 18 18",key:"159ez6"}]],xo=ie("brain",L0);/**
 * @license lucide-react v0.510.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const G0=[["rect",{width:"16",height:"20",x:"4",y:"2",rx:"2",ry:"2",key:"76otgf"}],["path",{d:"M9 22v-4h6v4",key:"r93iot"}],["path",{d:"M8 6h.01",key:"1dz90k"}],["path",{d:"M16 6h.01",key:"1x0f13"}],["path",{d:"M12 6h.01",key:"1vi96p"}],["path",{d:"M12 10h.01",key:"1nrarc"}],["path",{d:"M12 14h.01",key:"1etili"}],["path",{d:"M16 10h.01",key:"1m94wz"}],["path",{d:"M16 14h.01",key:"1gbofw"}],["path",{d:"M8 10h.01",key:"19clt8"}],["path",{d:"M8 14h.01",key:"6423bh"}]],Y0=ie("building",G0);/**
 * @license lucide-react v0.510.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const V0=[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}]],X0=ie("calendar",V0);/**
 * @license lucide-react v0.510.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Q0=[["path",{d:"M3 3v16a2 2 0 0 0 2 2h16",key:"c24i48"}],["path",{d:"M18 17V9",key:"2bz60n"}],["path",{d:"M13 17V5",key:"1frdt8"}],["path",{d:"M8 17v-3",key:"17ska0"}]],Z0=ie("chart-column",Q0);/**
 * @license lucide-react v0.510.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const K0=[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]],J0=ie("chevron-down",K0);/**
 * @license lucide-react v0.510.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const $0=[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]],W0=ie("chevron-up",$0);/**
 * @license lucide-react v0.510.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const P0=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]],I0=ie("circle-alert",P0);/**
 * @license lucide-react v0.510.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const F0=[["path",{d:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]],cl=ie("circle-check-big",F0);/**
 * @license lucide-react v0.510.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const ev=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polyline",{points:"12 6 12 12 16 14",key:"68esgv"}]],ah=ie("clock",ev);/**
 * @license lucide-react v0.510.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const tv=[["path",{d:"M17.5 19H9a7 7 0 1 1 6.71-9h1.79a4.5 4.5 0 1 1 0 9Z",key:"p7xjir"}]],av=ie("cloud",tv);/**
 * @license lucide-react v0.510.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const lv=[["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M17 20v2",key:"1rnc9c"}],["path",{d:"M17 2v2",key:"11trls"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M2 17h2",key:"7oei6x"}],["path",{d:"M2 7h2",key:"asdhe0"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"M20 17h2",key:"1fpfkl"}],["path",{d:"M20 7h2",key:"1o8tra"}],["path",{d:"M7 20v2",key:"4gnj0m"}],["path",{d:"M7 2v2",key:"1i4yhu"}],["rect",{x:"4",y:"4",width:"16",height:"16",rx:"2",key:"1vbyd7"}],["rect",{x:"8",y:"8",width:"8",height:"8",rx:"1",key:"z9xiuo"}]],nv=ie("cpu",lv);/**
 * @license lucide-react v0.510.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const iv=[["ellipse",{cx:"12",cy:"5",rx:"9",ry:"3",key:"msslwz"}],["path",{d:"M3 5V19A9 3 0 0 0 21 19V5",key:"1wlel7"}],["path",{d:"M3 12A9 3 0 0 0 21 12",key:"mv7ke4"}]],si=ie("database",iv);/**
 * @license lucide-react v0.510.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const sv=[["line",{x1:"12",x2:"12",y1:"2",y2:"22",key:"7eqyqh"}],["path",{d:"M17 5H9.5a3.5 3.5 0 0 0 0 7h5a3.5 3.5 0 0 1 0 7H6",key:"1b0p4s"}]],lh=ie("dollar-sign",sv);/**
 * @license lucide-react v0.510.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const rv=[["path",{d:"M10.733 5.076a10.744 10.744 0 0 1 11.205 6.575 1 1 0 0 1 0 .696 10.747 10.747 0 0 1-1.444 2.49",key:"ct8e1f"}],["path",{d:"M14.084 14.158a3 3 0 0 1-4.242-4.242",key:"151rxh"}],["path",{d:"M17.479 17.499a10.75 10.75 0 0 1-15.417-5.151 1 1 0 0 1 0-.696 10.75 10.75 0 0 1 4.446-5.143",key:"13bj9a"}],["path",{d:"m2 2 20 20",key:"1ooewy"}]],cv=ie("eye-off",rv);/**
 * @license lucide-react v0.510.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const ov=[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]],nh=ie("eye",ov);/**
 * @license lucide-react v0.510.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const uv=[["path",{d:"M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z",key:"c3ymky"}]],Wl=ie("heart",uv);/**
 * @license lucide-react v0.510.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const dv=[["path",{d:"M12 6v4",key:"16clxf"}],["path",{d:"M14 14h-4",key:"esezmu"}],["path",{d:"M14 18h-4",key:"16mqa2"}],["path",{d:"M14 8h-4",key:"z8ypaz"}],["path",{d:"M18 12h2a2 2 0 0 1 2 2v6a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2v-9a2 2 0 0 1 2-2h2",key:"b1k337"}],["path",{d:"M18 22V4a2 2 0 0 0-2-2H8a2 2 0 0 0-2 2v18",key:"16g51d"}]],fv=ie("hospital",dv);/**
 * @license lucide-react v0.510.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const mv=[["path",{d:"M15 14c.2-1 .7-1.7 1.5-2.5 1-.9 1.5-2.2 1.5-3.5A6 6 0 0 0 6 8c0 1 .2 2.2 1.5 3.5.7.7 1.3 1.5 1.5 2.5",key:"1gvzjb"}],["path",{d:"M9 18h6",key:"x1upvd"}],["path",{d:"M10 22h4",key:"ceow96"}]],hv=ie("lightbulb",mv);/**
 * @license lucide-react v0.510.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const xv=[["path",{d:"M16 8a6 6 0 0 1 6 6v7h-4v-7a2 2 0 0 0-2-2 2 2 0 0 0-2 2v7h-4v-7a6 6 0 0 1 6-6z",key:"c2jq9f"}],["rect",{width:"4",height:"12",x:"2",y:"9",key:"mk3on5"}],["circle",{cx:"4",cy:"4",r:"2",key:"bt5ra8"}]],pv=ie("linkedin",xv);/**
 * @license lucide-react v0.510.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const gv=[["rect",{width:"18",height:"11",x:"3",y:"11",rx:"2",ry:"2",key:"1w4ew1"}],["path",{d:"M7 11V7a5 5 0 0 1 10 0v4",key:"fwvmzm"}]],ih=ie("lock",gv);/**
 * @license lucide-react v0.510.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const vv=[["path",{d:"M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4",key:"1uf3rs"}],["polyline",{points:"16 17 21 12 16 7",key:"1gabdz"}],["line",{x1:"21",x2:"9",y1:"12",y2:"12",key:"1uyos4"}]],zm=ie("log-out",vv);/**
 * @license lucide-react v0.510.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const yv=[["path",{d:"m22 7-8.991 5.727a2 2 0 0 1-2.009 0L2 7",key:"132q7q"}],["rect",{x:"2",y:"4",width:"20",height:"16",rx:"2",key:"izxlao"}]],sh=ie("mail",yv);/**
 * @license lucide-react v0.510.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const bv=[["path",{d:"M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0",key:"1r0f0z"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}]],rh=ie("map-pin",bv);/**
 * @license lucide-react v0.510.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const jv=[["path",{d:"M4 12h16",key:"1lakjw"}],["path",{d:"M4 18h16",key:"19g7jn"}],["path",{d:"M4 6h16",key:"1o0s65"}]],Nv=ie("menu",jv);/**
 * @license lucide-react v0.510.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Sv=[["path",{d:"M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z",key:"1lielz"}]],Av=ie("message-square",Sv);/**
 * @license lucide-react v0.510.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const wv=[["rect",{x:"16",y:"16",width:"6",height:"6",rx:"1",key:"4q2zg0"}],["rect",{x:"2",y:"16",width:"6",height:"6",rx:"1",key:"8cvhb9"}],["rect",{x:"9",y:"2",width:"6",height:"6",rx:"1",key:"1egb70"}],["path",{d:"M5 16v-3a1 1 0 0 1 1-1h12a1 1 0 0 1 1 1v3",key:"1jsf9p"}],["path",{d:"M12 12V8",key:"2874zd"}]],Ev=ie("network",wv);/**
 * @license lucide-react v0.510.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Mv=[["path",{d:"M13.832 16.568a1 1 0 0 0 1.213-.303l.355-.465A2 2 0 0 1 17 15h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2A18 18 0 0 1 2 4a2 2 0 0 1 2-2h3a2 2 0 0 1 2 2v3a2 2 0 0 1-.8 1.6l-.468.351a1 1 0 0 0-.292 1.233 14 14 0 0 0 6.392 6.384",key:"9njp5v"}]],ch=ie("phone",Mv);/**
 * @license lucide-react v0.510.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const zv=[["path",{d:"m17 2 4 4-4 4",key:"nntrym"}],["path",{d:"M3 11v-1a4 4 0 0 1 4-4h14",key:"84bu3i"}],["path",{d:"m7 22-4-4 4-4",key:"1wqhfi"}],["path",{d:"M21 13v1a4 4 0 0 1-4 4H3",key:"1rx37r"}]],Tv=ie("repeat",zv);/**
 * @license lucide-react v0.510.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Rv=[["path",{d:"M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z",key:"1ffxy3"}],["path",{d:"m21.854 2.147-10.94 10.939",key:"12cjpa"}]],Cv=ie("send",Rv);/**
 * @license lucide-react v0.510.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const _v=[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}]],ui=ie("shield",_v);/**
 * @license lucide-react v0.510.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Dv=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["circle",{cx:"12",cy:"12",r:"6",key:"1vlfrh"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}]],oh=ie("target",Dv);/**
 * @license lucide-react v0.510.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Ov=[["polyline",{points:"22 7 13.5 15.5 8.5 10.5 2 17",key:"126l90"}],["polyline",{points:"16 7 22 7 22 13",key:"kwv8wd"}]],Uv=ie("trending-up",Ov);/**
 * @license lucide-react v0.510.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const qv=[["path",{d:"M22 4s-.7 2.1-2 3.4c1.6 10-9.4 17.3-18 11.6 2.2.1 4.4-.6 6-2C3 15.5.5 9.6 3 5c2.2 2.6 5.6 4.1 9 4-.9-4.2 4-6.6 7-3.8 1.1 0 3-1.2 3-1.2z",key:"pff0z6"}]],kv=ie("twitter",qv);/**
 * @license lucide-react v0.510.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Hv=[["path",{d:"M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2",key:"975kel"}],["circle",{cx:"12",cy:"7",r:"4",key:"17ys0d"}]],Bv=ie("user",Hv);/**
 * @license lucide-react v0.510.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Lv=[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["path",{d:"M16 3.128a4 4 0 0 1 0 7.744",key:"16gr8j"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}]],ol=ie("users",Lv);/**
 * @license lucide-react v0.510.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Gv=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],Yv=ie("x",Gv);/**
 * @license lucide-react v0.510.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Vv=[["path",{d:"M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z",key:"1xq2db"}]],po=ie("zap",Vv);function Tm(r,d){if(typeof r=="function")return r(d);r!=null&&(r.current=d)}function Xv(...r){return d=>{let u=!1;const c=r.map(f=>{const h=Tm(f,d);return!u&&typeof h=="function"&&(u=!0),h});if(u)return()=>{for(let f=0;f<c.length;f++){const h=c[f];typeof h=="function"?h():Tm(r[f],null)}}}}function Qv(r){const d=Zv(r),u=z.forwardRef((c,f)=>{const{children:h,...v}=c,N=z.Children.toArray(h),p=N.find(Jv);if(p){const x=p.props.children,A=N.map(C=>C===p?z.Children.count(x)>1?z.Children.only(null):z.isValidElement(x)?x.props.children:null:C);return i.jsx(d,{...v,ref:f,children:z.isValidElement(x)?z.cloneElement(x,void 0,A):null})}return i.jsx(d,{...v,ref:f,children:h})});return u.displayName=`${r}.Slot`,u}var uh=Qv("Slot");function Zv(r){const d=z.forwardRef((u,c)=>{const{children:f,...h}=u;if(z.isValidElement(f)){const v=Wv(f),N=$v(h,f.props);return f.type!==z.Fragment&&(N.ref=c?Xv(c,v):v),z.cloneElement(f,N)}return z.Children.count(f)>1?z.Children.only(null):null});return d.displayName=`${r}.SlotClone`,d}var Kv=Symbol("radix.slottable");function Jv(r){return z.isValidElement(r)&&typeof r.type=="function"&&"__radixId"in r.type&&r.type.__radixId===Kv}function $v(r,d){const u={...d};for(const c in d){const f=r[c],h=d[c];/^on[A-Z]/.test(c)?f&&h?u[c]=(...N)=>{const p=h(...N);return f(...N),p}:f&&(u[c]=f):c==="style"?u[c]={...f,...h}:c==="className"&&(u[c]=[f,h].filter(Boolean).join(" "))}return{...r,...u}}function Wv(r){var c,f;let d=(c=Object.getOwnPropertyDescriptor(r.props,"ref"))==null?void 0:c.get,u=d&&"isReactWarning"in d&&d.isReactWarning;return u?r.ref:(d=(f=Object.getOwnPropertyDescriptor(r,"ref"))==null?void 0:f.get,u=d&&"isReactWarning"in d&&d.isReactWarning,u?r.props.ref:r.props.ref||r.ref)}function dh(r){var d,u,c="";if(typeof r=="string"||typeof r=="number")c+=r;else if(typeof r=="object")if(Array.isArray(r)){var f=r.length;for(d=0;d<f;d++)r[d]&&(u=dh(r[d]))&&(c&&(c+=" "),c+=u)}else for(u in r)r[u]&&(c&&(c+=" "),c+=u);return c}function fh(){for(var r,d,u=0,c="",f=arguments.length;u<f;u++)(r=arguments[u])&&(d=dh(r))&&(c&&(c+=" "),c+=d);return c}const Rm=r=>typeof r=="boolean"?`${r}`:r===0?"0":r,Cm=fh,mh=(r,d)=>u=>{var c;if((d==null?void 0:d.variants)==null)return Cm(r,u==null?void 0:u.class,u==null?void 0:u.className);const{variants:f,defaultVariants:h}=d,v=Object.keys(f).map(x=>{const A=u==null?void 0:u[x],C=h==null?void 0:h[x];if(A===null)return null;const T=Rm(A)||Rm(C);return f[x][T]}),N=u&&Object.entries(u).reduce((x,A)=>{let[C,T]=A;return T===void 0||(x[C]=T),x},{}),p=d==null||(c=d.compoundVariants)===null||c===void 0?void 0:c.reduce((x,A)=>{let{class:C,className:T,...G}=A;return Object.entries(G).every(_=>{let[L,V]=_;return Array.isArray(V)?V.includes({...h,...N}[L]):{...h,...N}[L]===V})?[...x,C,T]:x},[]);return Cm(r,v,p,u==null?void 0:u.class,u==null?void 0:u.className)},go="-",Pv=r=>{const d=Fv(r),{conflictingClassGroups:u,conflictingClassGroupModifiers:c}=r;return{getClassGroupId:v=>{const N=v.split(go);return N[0]===""&&N.length!==1&&N.shift(),hh(N,d)||Iv(v)},getConflictingClassGroupIds:(v,N)=>{const p=u[v]||[];return N&&c[v]?[...p,...c[v]]:p}}},hh=(r,d)=>{var v;if(r.length===0)return d.classGroupId;const u=r[0],c=d.nextPart.get(u),f=c?hh(r.slice(1),c):void 0;if(f)return f;if(d.validators.length===0)return;const h=r.join(go);return(v=d.validators.find(({validator:N})=>N(h)))==null?void 0:v.classGroupId},_m=/^\[(.+)\]$/,Iv=r=>{if(_m.test(r)){const d=_m.exec(r)[1],u=d==null?void 0:d.substring(0,d.indexOf(":"));if(u)return"arbitrary.."+u}},Fv=r=>{const{theme:d,classGroups:u}=r,c={nextPart:new Map,validators:[]};for(const f in u)no(u[f],c,f,d);return c},no=(r,d,u,c)=>{r.forEach(f=>{if(typeof f=="string"){const h=f===""?d:Dm(d,f);h.classGroupId=u;return}if(typeof f=="function"){if(ey(f)){no(f(c),d,u,c);return}d.validators.push({validator:f,classGroupId:u});return}Object.entries(f).forEach(([h,v])=>{no(v,Dm(d,h),u,c)})})},Dm=(r,d)=>{let u=r;return d.split(go).forEach(c=>{u.nextPart.has(c)||u.nextPart.set(c,{nextPart:new Map,validators:[]}),u=u.nextPart.get(c)}),u},ey=r=>r.isThemeGetter,ty=r=>{if(r<1)return{get:()=>{},set:()=>{}};let d=0,u=new Map,c=new Map;const f=(h,v)=>{u.set(h,v),d++,d>r&&(d=0,c=u,u=new Map)};return{get(h){let v=u.get(h);if(v!==void 0)return v;if((v=c.get(h))!==void 0)return f(h,v),v},set(h,v){u.has(h)?u.set(h,v):f(h,v)}}},io="!",so=":",ay=so.length,ly=r=>{const{prefix:d,experimentalParseClassName:u}=r;let c=f=>{const h=[];let v=0,N=0,p=0,x;for(let _=0;_<f.length;_++){let L=f[_];if(v===0&&N===0){if(L===so){h.push(f.slice(p,_)),p=_+ay;continue}if(L==="/"){x=_;continue}}L==="["?v++:L==="]"?v--:L==="("?N++:L===")"&&N--}const A=h.length===0?f:f.substring(p),C=ny(A),T=C!==A,G=x&&x>p?x-p:void 0;return{modifiers:h,hasImportantModifier:T,baseClassName:C,maybePostfixModifierPosition:G}};if(d){const f=d+so,h=c;c=v=>v.startsWith(f)?h(v.substring(f.length)):{isExternal:!0,modifiers:[],hasImportantModifier:!1,baseClassName:v,maybePostfixModifierPosition:void 0}}if(u){const f=c;c=h=>u({className:h,parseClassName:f})}return c},ny=r=>r.endsWith(io)?r.substring(0,r.length-1):r.startsWith(io)?r.substring(1):r,iy=r=>{const d=Object.fromEntries(r.orderSensitiveModifiers.map(c=>[c,!0]));return c=>{if(c.length<=1)return c;const f=[];let h=[];return c.forEach(v=>{v[0]==="["||d[v]?(f.push(...h.sort(),v),h=[]):h.push(v)}),f.push(...h.sort()),f}},sy=r=>({cache:ty(r.cacheSize),parseClassName:ly(r),sortModifiers:iy(r),...Pv(r)}),ry=/\s+/,cy=(r,d)=>{const{parseClassName:u,getClassGroupId:c,getConflictingClassGroupIds:f,sortModifiers:h}=d,v=[],N=r.trim().split(ry);let p="";for(let x=N.length-1;x>=0;x-=1){const A=N[x],{isExternal:C,modifiers:T,hasImportantModifier:G,baseClassName:_,maybePostfixModifierPosition:L}=u(A);if(C){p=A+(p.length>0?" "+p:p);continue}let V=!!L,B=c(V?_.substring(0,L):_);if(!B){if(!V){p=A+(p.length>0?" "+p:p);continue}if(B=c(_),!B){p=A+(p.length>0?" "+p:p);continue}V=!1}const Q=h(T).join(":"),F=G?Q+io:Q,se=F+B;if(v.includes(se))continue;v.push(se);const I=f(B,V);for(let we=0;we<I.length;++we){const Ee=I[we];v.push(F+Ee)}p=A+(p.length>0?" "+p:p)}return p};function oy(){let r=0,d,u,c="";for(;r<arguments.length;)(d=arguments[r++])&&(u=xh(d))&&(c&&(c+=" "),c+=u);return c}const xh=r=>{if(typeof r=="string")return r;let d,u="";for(let c=0;c<r.length;c++)r[c]&&(d=xh(r[c]))&&(u&&(u+=" "),u+=d);return u};function uy(r,...d){let u,c,f,h=v;function v(p){const x=d.reduce((A,C)=>C(A),r());return u=sy(x),c=u.cache.get,f=u.cache.set,h=N,N(p)}function N(p){const x=c(p);if(x)return x;const A=cy(p,u);return f(p,A),A}return function(){return h(oy.apply(null,arguments))}}const Je=r=>{const d=u=>u[r]||[];return d.isThemeGetter=!0,d},ph=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,gh=/^\((?:(\w[\w-]*):)?(.+)\)$/i,dy=/^\d+\/\d+$/,fy=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,my=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,hy=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,xy=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,py=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,$l=r=>dy.test(r),ce=r=>!!r&&!Number.isNaN(Number(r)),La=r=>!!r&&Number.isInteger(Number(r)),eo=r=>r.endsWith("%")&&ce(r.slice(0,-1)),ra=r=>fy.test(r),gy=()=>!0,vy=r=>my.test(r)&&!hy.test(r),vh=()=>!1,yy=r=>xy.test(r),by=r=>py.test(r),jy=r=>!$(r)&&!W(r),Ny=r=>Fl(r,jh,vh),$=r=>ph.test(r),rl=r=>Fl(r,Nh,vy),to=r=>Fl(r,My,ce),Om=r=>Fl(r,yh,vh),Sy=r=>Fl(r,bh,by),Es=r=>Fl(r,Sh,yy),W=r=>gh.test(r),li=r=>en(r,Nh),Ay=r=>en(r,zy),Um=r=>en(r,yh),wy=r=>en(r,jh),Ey=r=>en(r,bh),Ms=r=>en(r,Sh,!0),Fl=(r,d,u)=>{const c=ph.exec(r);return c?c[1]?d(c[1]):u(c[2]):!1},en=(r,d,u=!1)=>{const c=gh.exec(r);return c?c[1]?d(c[1]):u:!1},yh=r=>r==="position"||r==="percentage",bh=r=>r==="image"||r==="url",jh=r=>r==="length"||r==="size"||r==="bg-size",Nh=r=>r==="length",My=r=>r==="number",zy=r=>r==="family-name",Sh=r=>r==="shadow",Ty=()=>{const r=Je("color"),d=Je("font"),u=Je("text"),c=Je("font-weight"),f=Je("tracking"),h=Je("leading"),v=Je("breakpoint"),N=Je("container"),p=Je("spacing"),x=Je("radius"),A=Je("shadow"),C=Je("inset-shadow"),T=Je("text-shadow"),G=Je("drop-shadow"),_=Je("blur"),L=Je("perspective"),V=Je("aspect"),B=Je("ease"),Q=Je("animate"),F=()=>["auto","avoid","all","avoid-page","page","left","right","column"],se=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],I=()=>[...se(),W,$],we=()=>["auto","hidden","clip","visible","scroll"],Ee=()=>["auto","contain","none"],K=()=>[W,$,p],me=()=>[$l,"full","auto",...K()],$e=()=>[La,"none","subgrid",W,$],rt=()=>["auto",{span:["full",La,W,$]},La,W,$],Ge=()=>[La,"auto",W,$],kt=()=>["auto","min","max","fr",W,$],Dt=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],Oe=()=>["start","end","center","stretch","center-safe","end-safe"],R=()=>["auto",...K()],Y=()=>[$l,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...K()],k=()=>[r,W,$],je=()=>[...se(),Um,Om,{position:[W,$]}],y=()=>["no-repeat",{repeat:["","x","y","space","round"]}],q=()=>["auto","cover","contain",wy,Ny,{size:[W,$]}],X=()=>[eo,li,rl],H=()=>["","none","full",x,W,$],Z=()=>["",ce,li,rl],ue=()=>["solid","dashed","dotted","double"],le=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],ve=()=>[ce,eo,Um,Om],Re=()=>["","none",_,W,$],ht=()=>["none",ce,W,$],ma=()=>["none",ce,W,$],ha=()=>[ce,W,$],xa=()=>[$l,"full",...K()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[ra],breakpoint:[ra],color:[gy],container:[ra],"drop-shadow":[ra],ease:["in","out","in-out"],font:[jy],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[ra],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[ra],shadow:[ra],spacing:["px",ce],text:[ra],"text-shadow":[ra],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",$l,$,W,V]}],container:["container"],columns:[{columns:[ce,$,W,N]}],"break-after":[{"break-after":F()}],"break-before":[{"break-before":F()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:I()}],overflow:[{overflow:we()}],"overflow-x":[{"overflow-x":we()}],"overflow-y":[{"overflow-y":we()}],overscroll:[{overscroll:Ee()}],"overscroll-x":[{"overscroll-x":Ee()}],"overscroll-y":[{"overscroll-y":Ee()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:me()}],"inset-x":[{"inset-x":me()}],"inset-y":[{"inset-y":me()}],start:[{start:me()}],end:[{end:me()}],top:[{top:me()}],right:[{right:me()}],bottom:[{bottom:me()}],left:[{left:me()}],visibility:["visible","invisible","collapse"],z:[{z:[La,"auto",W,$]}],basis:[{basis:[$l,"full","auto",N,...K()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[ce,$l,"auto","initial","none",$]}],grow:[{grow:["",ce,W,$]}],shrink:[{shrink:["",ce,W,$]}],order:[{order:[La,"first","last","none",W,$]}],"grid-cols":[{"grid-cols":$e()}],"col-start-end":[{col:rt()}],"col-start":[{"col-start":Ge()}],"col-end":[{"col-end":Ge()}],"grid-rows":[{"grid-rows":$e()}],"row-start-end":[{row:rt()}],"row-start":[{"row-start":Ge()}],"row-end":[{"row-end":Ge()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":kt()}],"auto-rows":[{"auto-rows":kt()}],gap:[{gap:K()}],"gap-x":[{"gap-x":K()}],"gap-y":[{"gap-y":K()}],"justify-content":[{justify:[...Dt(),"normal"]}],"justify-items":[{"justify-items":[...Oe(),"normal"]}],"justify-self":[{"justify-self":["auto",...Oe()]}],"align-content":[{content:["normal",...Dt()]}],"align-items":[{items:[...Oe(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...Oe(),{baseline:["","last"]}]}],"place-content":[{"place-content":Dt()}],"place-items":[{"place-items":[...Oe(),"baseline"]}],"place-self":[{"place-self":["auto",...Oe()]}],p:[{p:K()}],px:[{px:K()}],py:[{py:K()}],ps:[{ps:K()}],pe:[{pe:K()}],pt:[{pt:K()}],pr:[{pr:K()}],pb:[{pb:K()}],pl:[{pl:K()}],m:[{m:R()}],mx:[{mx:R()}],my:[{my:R()}],ms:[{ms:R()}],me:[{me:R()}],mt:[{mt:R()}],mr:[{mr:R()}],mb:[{mb:R()}],ml:[{ml:R()}],"space-x":[{"space-x":K()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":K()}],"space-y-reverse":["space-y-reverse"],size:[{size:Y()}],w:[{w:[N,"screen",...Y()]}],"min-w":[{"min-w":[N,"screen","none",...Y()]}],"max-w":[{"max-w":[N,"screen","none","prose",{screen:[v]},...Y()]}],h:[{h:["screen","lh",...Y()]}],"min-h":[{"min-h":["screen","lh","none",...Y()]}],"max-h":[{"max-h":["screen","lh",...Y()]}],"font-size":[{text:["base",u,li,rl]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[c,W,to]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",eo,$]}],"font-family":[{font:[Ay,$,d]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[f,W,$]}],"line-clamp":[{"line-clamp":[ce,"none",W,to]}],leading:[{leading:[h,...K()]}],"list-image":[{"list-image":["none",W,$]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",W,$]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:k()}],"text-color":[{text:k()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...ue(),"wavy"]}],"text-decoration-thickness":[{decoration:[ce,"from-font","auto",W,rl]}],"text-decoration-color":[{decoration:k()}],"underline-offset":[{"underline-offset":[ce,"auto",W,$]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:K()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",W,$]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",W,$]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:je()}],"bg-repeat":[{bg:y()}],"bg-size":[{bg:q()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},La,W,$],radial:["",W,$],conic:[La,W,$]},Ey,Sy]}],"bg-color":[{bg:k()}],"gradient-from-pos":[{from:X()}],"gradient-via-pos":[{via:X()}],"gradient-to-pos":[{to:X()}],"gradient-from":[{from:k()}],"gradient-via":[{via:k()}],"gradient-to":[{to:k()}],rounded:[{rounded:H()}],"rounded-s":[{"rounded-s":H()}],"rounded-e":[{"rounded-e":H()}],"rounded-t":[{"rounded-t":H()}],"rounded-r":[{"rounded-r":H()}],"rounded-b":[{"rounded-b":H()}],"rounded-l":[{"rounded-l":H()}],"rounded-ss":[{"rounded-ss":H()}],"rounded-se":[{"rounded-se":H()}],"rounded-ee":[{"rounded-ee":H()}],"rounded-es":[{"rounded-es":H()}],"rounded-tl":[{"rounded-tl":H()}],"rounded-tr":[{"rounded-tr":H()}],"rounded-br":[{"rounded-br":H()}],"rounded-bl":[{"rounded-bl":H()}],"border-w":[{border:Z()}],"border-w-x":[{"border-x":Z()}],"border-w-y":[{"border-y":Z()}],"border-w-s":[{"border-s":Z()}],"border-w-e":[{"border-e":Z()}],"border-w-t":[{"border-t":Z()}],"border-w-r":[{"border-r":Z()}],"border-w-b":[{"border-b":Z()}],"border-w-l":[{"border-l":Z()}],"divide-x":[{"divide-x":Z()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":Z()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...ue(),"hidden","none"]}],"divide-style":[{divide:[...ue(),"hidden","none"]}],"border-color":[{border:k()}],"border-color-x":[{"border-x":k()}],"border-color-y":[{"border-y":k()}],"border-color-s":[{"border-s":k()}],"border-color-e":[{"border-e":k()}],"border-color-t":[{"border-t":k()}],"border-color-r":[{"border-r":k()}],"border-color-b":[{"border-b":k()}],"border-color-l":[{"border-l":k()}],"divide-color":[{divide:k()}],"outline-style":[{outline:[...ue(),"none","hidden"]}],"outline-offset":[{"outline-offset":[ce,W,$]}],"outline-w":[{outline:["",ce,li,rl]}],"outline-color":[{outline:k()}],shadow:[{shadow:["","none",A,Ms,Es]}],"shadow-color":[{shadow:k()}],"inset-shadow":[{"inset-shadow":["none",C,Ms,Es]}],"inset-shadow-color":[{"inset-shadow":k()}],"ring-w":[{ring:Z()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:k()}],"ring-offset-w":[{"ring-offset":[ce,rl]}],"ring-offset-color":[{"ring-offset":k()}],"inset-ring-w":[{"inset-ring":Z()}],"inset-ring-color":[{"inset-ring":k()}],"text-shadow":[{"text-shadow":["none",T,Ms,Es]}],"text-shadow-color":[{"text-shadow":k()}],opacity:[{opacity:[ce,W,$]}],"mix-blend":[{"mix-blend":[...le(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":le()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[ce]}],"mask-image-linear-from-pos":[{"mask-linear-from":ve()}],"mask-image-linear-to-pos":[{"mask-linear-to":ve()}],"mask-image-linear-from-color":[{"mask-linear-from":k()}],"mask-image-linear-to-color":[{"mask-linear-to":k()}],"mask-image-t-from-pos":[{"mask-t-from":ve()}],"mask-image-t-to-pos":[{"mask-t-to":ve()}],"mask-image-t-from-color":[{"mask-t-from":k()}],"mask-image-t-to-color":[{"mask-t-to":k()}],"mask-image-r-from-pos":[{"mask-r-from":ve()}],"mask-image-r-to-pos":[{"mask-r-to":ve()}],"mask-image-r-from-color":[{"mask-r-from":k()}],"mask-image-r-to-color":[{"mask-r-to":k()}],"mask-image-b-from-pos":[{"mask-b-from":ve()}],"mask-image-b-to-pos":[{"mask-b-to":ve()}],"mask-image-b-from-color":[{"mask-b-from":k()}],"mask-image-b-to-color":[{"mask-b-to":k()}],"mask-image-l-from-pos":[{"mask-l-from":ve()}],"mask-image-l-to-pos":[{"mask-l-to":ve()}],"mask-image-l-from-color":[{"mask-l-from":k()}],"mask-image-l-to-color":[{"mask-l-to":k()}],"mask-image-x-from-pos":[{"mask-x-from":ve()}],"mask-image-x-to-pos":[{"mask-x-to":ve()}],"mask-image-x-from-color":[{"mask-x-from":k()}],"mask-image-x-to-color":[{"mask-x-to":k()}],"mask-image-y-from-pos":[{"mask-y-from":ve()}],"mask-image-y-to-pos":[{"mask-y-to":ve()}],"mask-image-y-from-color":[{"mask-y-from":k()}],"mask-image-y-to-color":[{"mask-y-to":k()}],"mask-image-radial":[{"mask-radial":[W,$]}],"mask-image-radial-from-pos":[{"mask-radial-from":ve()}],"mask-image-radial-to-pos":[{"mask-radial-to":ve()}],"mask-image-radial-from-color":[{"mask-radial-from":k()}],"mask-image-radial-to-color":[{"mask-radial-to":k()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":se()}],"mask-image-conic-pos":[{"mask-conic":[ce]}],"mask-image-conic-from-pos":[{"mask-conic-from":ve()}],"mask-image-conic-to-pos":[{"mask-conic-to":ve()}],"mask-image-conic-from-color":[{"mask-conic-from":k()}],"mask-image-conic-to-color":[{"mask-conic-to":k()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:je()}],"mask-repeat":[{mask:y()}],"mask-size":[{mask:q()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",W,$]}],filter:[{filter:["","none",W,$]}],blur:[{blur:Re()}],brightness:[{brightness:[ce,W,$]}],contrast:[{contrast:[ce,W,$]}],"drop-shadow":[{"drop-shadow":["","none",G,Ms,Es]}],"drop-shadow-color":[{"drop-shadow":k()}],grayscale:[{grayscale:["",ce,W,$]}],"hue-rotate":[{"hue-rotate":[ce,W,$]}],invert:[{invert:["",ce,W,$]}],saturate:[{saturate:[ce,W,$]}],sepia:[{sepia:["",ce,W,$]}],"backdrop-filter":[{"backdrop-filter":["","none",W,$]}],"backdrop-blur":[{"backdrop-blur":Re()}],"backdrop-brightness":[{"backdrop-brightness":[ce,W,$]}],"backdrop-contrast":[{"backdrop-contrast":[ce,W,$]}],"backdrop-grayscale":[{"backdrop-grayscale":["",ce,W,$]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[ce,W,$]}],"backdrop-invert":[{"backdrop-invert":["",ce,W,$]}],"backdrop-opacity":[{"backdrop-opacity":[ce,W,$]}],"backdrop-saturate":[{"backdrop-saturate":[ce,W,$]}],"backdrop-sepia":[{"backdrop-sepia":["",ce,W,$]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":K()}],"border-spacing-x":[{"border-spacing-x":K()}],"border-spacing-y":[{"border-spacing-y":K()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",W,$]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[ce,"initial",W,$]}],ease:[{ease:["linear","initial",B,W,$]}],delay:[{delay:[ce,W,$]}],animate:[{animate:["none",Q,W,$]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[L,W,$]}],"perspective-origin":[{"perspective-origin":I()}],rotate:[{rotate:ht()}],"rotate-x":[{"rotate-x":ht()}],"rotate-y":[{"rotate-y":ht()}],"rotate-z":[{"rotate-z":ht()}],scale:[{scale:ma()}],"scale-x":[{"scale-x":ma()}],"scale-y":[{"scale-y":ma()}],"scale-z":[{"scale-z":ma()}],"scale-3d":["scale-3d"],skew:[{skew:ha()}],"skew-x":[{"skew-x":ha()}],"skew-y":[{"skew-y":ha()}],transform:[{transform:[W,$,"","none","gpu","cpu"]}],"transform-origin":[{origin:I()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:xa()}],"translate-x":[{"translate-x":xa()}],"translate-y":[{"translate-y":xa()}],"translate-z":[{"translate-z":xa()}],"translate-none":["translate-none"],accent:[{accent:k()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:k()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",W,$]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":K()}],"scroll-mx":[{"scroll-mx":K()}],"scroll-my":[{"scroll-my":K()}],"scroll-ms":[{"scroll-ms":K()}],"scroll-me":[{"scroll-me":K()}],"scroll-mt":[{"scroll-mt":K()}],"scroll-mr":[{"scroll-mr":K()}],"scroll-mb":[{"scroll-mb":K()}],"scroll-ml":[{"scroll-ml":K()}],"scroll-p":[{"scroll-p":K()}],"scroll-px":[{"scroll-px":K()}],"scroll-py":[{"scroll-py":K()}],"scroll-ps":[{"scroll-ps":K()}],"scroll-pe":[{"scroll-pe":K()}],"scroll-pt":[{"scroll-pt":K()}],"scroll-pr":[{"scroll-pr":K()}],"scroll-pb":[{"scroll-pb":K()}],"scroll-pl":[{"scroll-pl":K()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",W,$]}],fill:[{fill:["none",...k()]}],"stroke-w":[{stroke:[ce,li,rl,to]}],stroke:[{stroke:["none",...k()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},Ry=uy(Ty);function Ya(...r){return Ry(fh(r))}const Cy=mh("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",{variants:{variant:{default:"bg-primary text-primary-foreground shadow-xs hover:bg-primary/90",destructive:"bg-destructive text-white shadow-xs hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"border bg-background shadow-xs hover:bg-accent hover:text-accent-foreground dark:bg-input/30 dark:border-input dark:hover:bg-input/50",secondary:"bg-secondary text-secondary-foreground shadow-xs hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent/50",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2 has-[>svg]:px-3",sm:"h-8 rounded-md gap-1.5 px-3 has-[>svg]:px-2.5",lg:"h-10 rounded-md px-6 has-[>svg]:px-4",icon:"size-9"}},defaultVariants:{variant:"default",size:"default"}});function Le({className:r,variant:d,size:u,asChild:c=!1,...f}){const h=c?uh:"button";return i.jsx(h,{"data-slot":"button",className:Ya(Cy({variant:d,size:u,className:r})),...f})}const _y=({onLogout:r})=>{const[d,u]=z.useState(!1),c=Ga(),f=[{name:"Home",href:"/"},{name:"Sobre",href:"/sobre"},{name:"Plataforma",href:"/plataforma"},{name:"Módulos",href:"/modulos"},{name:"Tecnologia",href:"/tecnologia"},{name:"Impacto",href:"/impacto"},{name:"Para Quem",href:"/para-quem"},{name:"Contato",href:"/contato"}],h=v=>c.pathname===v;return i.jsx("header",{className:"bg-white/95 backdrop-blur-sm border-b border-gray-200 sticky top-0 z-50",children:i.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[i.jsxs("div",{className:"flex justify-between items-center h-16",children:[i.jsx("div",{className:"flex-shrink-0",children:i.jsxs(lt,{to:"/",className:"flex items-center",children:[i.jsx("div",{className:"w-10 h-10 bg-primary rounded-lg flex items-center justify-center mr-3",children:i.jsx("span",{className:"text-white font-bold text-xl",children:"I"})}),i.jsx("span",{className:"text-2xl font-bold gradient-text",children:"IAsis"})]})}),i.jsx("nav",{className:"hidden md:flex space-x-8",children:f.map(v=>i.jsx(lt,{to:v.href,className:`px-3 py-2 rounded-md text-sm font-medium transition-colors ${h(v.href)?"text-primary bg-primary/10":"text-gray-700 hover:text-primary hover:bg-gray-50"}`,children:v.name},v.name))}),i.jsxs("div",{className:"hidden md:flex items-center space-x-4",children:[i.jsx(Le,{asChild:!0,children:i.jsx(lt,{to:"/contato",children:"Solicitar Demo"})}),i.jsxs(Le,{variant:"outline",size:"sm",onClick:r,className:"flex items-center space-x-2",children:[i.jsx(zm,{className:"h-4 w-4"}),i.jsx("span",{children:"Sair"})]})]}),i.jsx("div",{className:"md:hidden",children:i.jsx("button",{onClick:()=>u(!d),className:"inline-flex items-center justify-center p-2 rounded-md text-gray-700 hover:text-primary hover:bg-gray-100 focus:outline-none focus:ring-2 focus:ring-inset focus:ring-primary",children:d?i.jsx(Yv,{className:"block h-6 w-6"}):i.jsx(Nv,{className:"block h-6 w-6"})})})]}),d&&i.jsx("div",{className:"md:hidden",children:i.jsxs("div",{className:"px-2 pt-2 pb-3 space-y-1 sm:px-3 bg-white border-t border-gray-200",children:[f.map(v=>i.jsx(lt,{to:v.href,className:`block px-3 py-2 rounded-md text-base font-medium transition-colors ${h(v.href)?"text-primary bg-primary/10":"text-gray-700 hover:text-primary hover:bg-gray-50"}`,onClick:()=>u(!1),children:v.name},v.name)),i.jsxs("div",{className:"pt-4 space-y-2",children:[i.jsx(Le,{asChild:!0,className:"w-full",children:i.jsx(lt,{to:"/contato",onClick:()=>u(!1),children:"Solicitar Demo"})}),i.jsxs(Le,{variant:"outline",className:"w-full flex items-center justify-center space-x-2",onClick:()=>{u(!1),r()},children:[i.jsx(zm,{className:"h-4 w-4"}),i.jsx("span",{children:"Sair"})]})]})]})})]})})},Dy=()=>i.jsx("footer",{className:"bg-gray-900 text-white",children:i.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-12",children:[i.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-4 gap-8",children:[i.jsxs("div",{className:"col-span-1 md:col-span-2",children:[i.jsxs("div",{className:"flex items-center mb-4",children:[i.jsx("div",{className:"w-10 h-10 bg-primary rounded-lg flex items-center justify-center mr-3",children:i.jsx("span",{className:"text-white font-bold text-xl",children:"I"})}),i.jsx("span",{className:"text-2xl font-bold",children:"IAsis"})]}),i.jsx("p",{className:"text-gray-300 mb-6 max-w-md",children:"A plataforma de interoperabilidade em saúde que conecta sistemas, traduz dados e ativa decisões para transformar o cuidado em saúde no Brasil."}),i.jsxs("div",{className:"flex space-x-4",children:[i.jsx("a",{href:"#",className:"text-gray-400 hover:text-white transition-colors",children:i.jsx(pv,{className:"h-5 w-5"})}),i.jsx("a",{href:"#",className:"text-gray-400 hover:text-white transition-colors",children:i.jsx(kv,{className:"h-5 w-5"})})]})]}),i.jsxs("div",{children:[i.jsx("h3",{className:"text-lg font-semibold mb-4",children:"Links Rápidos"}),i.jsxs("ul",{className:"space-y-2",children:[i.jsx("li",{children:i.jsx(lt,{to:"/sobre",className:"text-gray-300 hover:text-white transition-colors",children:"Sobre Nós"})}),i.jsx("li",{children:i.jsx(lt,{to:"/plataforma",className:"text-gray-300 hover:text-white transition-colors",children:"Plataforma"})}),i.jsx("li",{children:i.jsx(lt,{to:"/modulos",className:"text-gray-300 hover:text-white transition-colors",children:"Módulos"})}),i.jsx("li",{children:i.jsx(lt,{to:"/tecnologia",className:"text-gray-300 hover:text-white transition-colors",children:"Tecnologia"})}),i.jsx("li",{children:i.jsx(lt,{to:"/impacto",className:"text-gray-300 hover:text-white transition-colors",children:"Impacto"})})]})]}),i.jsxs("div",{children:[i.jsx("h3",{className:"text-lg font-semibold mb-4",children:"Contato"}),i.jsxs("ul",{className:"space-y-3",children:[i.jsxs("li",{className:"flex items-center",children:[i.jsx(sh,{className:"h-4 w-4 mr-2 text-primary"}),i.jsx("span",{className:"text-gray-300",children:"contato@iasis.com.br"})]}),i.jsxs("li",{className:"flex items-center",children:[i.jsx(ch,{className:"h-4 w-4 mr-2 text-primary"}),i.jsx("span",{className:"text-gray-300",children:"+55 (11) 9999-9999"})]}),i.jsxs("li",{className:"flex items-start",children:[i.jsx(rh,{className:"h-4 w-4 mr-2 text-primary mt-1"}),i.jsxs("span",{className:"text-gray-300",children:["São Paulo, SP",i.jsx("br",{}),"Brasil"]})]})]})]})]}),i.jsxs("div",{className:"border-t border-gray-800 mt-8 pt-8 flex flex-col md:flex-row justify-between items-center",children:[i.jsx("p",{className:"text-gray-400 text-sm",children:"© 2025 IAsis. Todos os direitos reservados."}),i.jsxs("div",{className:"flex space-x-6 mt-4 md:mt-0",children:[i.jsx("a",{href:"#",className:"text-gray-400 hover:text-white text-sm transition-colors",children:"Política de Privacidade"}),i.jsx("a",{href:"#",className:"text-gray-400 hover:text-white text-sm transition-colors",children:"Termos de Uso"}),i.jsx("a",{href:"#",className:"text-gray-400 hover:text-white text-sm transition-colors",children:"LGPD"})]})]})]})});function xe({className:r,...d}){return i.jsx("div",{"data-slot":"card",className:Ya("bg-card text-card-foreground flex flex-col gap-6 rounded-xl border py-6 shadow-sm",r),...d})}function pe({className:r,...d}){return i.jsx("div",{"data-slot":"card-header",className:Ya("@container/card-header grid auto-rows-min grid-rows-[auto_auto] items-start gap-1.5 px-6 has-data-[slot=card-action]:grid-cols-[1fr_auto] [.border-b]:pb-6",r),...d})}function ge({className:r,...d}){return i.jsx("div",{"data-slot":"card-title",className:Ya("leading-none font-semibold",r),...d})}function qe({className:r,...d}){return i.jsx("div",{"data-slot":"card-description",className:Ya("text-muted-foreground text-sm",r),...d})}function Ne({className:r,...d}){return i.jsx("div",{"data-slot":"card-content",className:Ya("px-6",r),...d})}const ro="/assets/interoperabilidade_saude_1-BoELfxBX.jpg",Oy="/assets/ia_saude_1-DLHBfmun.jpg",Ah="/assets/digital_twin_saude_1-3Fbdyu_X.png",Uy=()=>{const r=[{icon:si,title:"Interoperabilidade Real",description:"Conecta qualquer sistema de saúde sem necessidade de troca de infraestrutura."},{icon:xo,title:"Inteligência Artificial",description:"IA aplicada para classificação, auditoria e predição em saúde."},{icon:Wl,title:"Continuidade do Cuidado",description:"Jornadas clínicas completas que acompanham o paciente em toda a rede."},{icon:ui,title:"Segurança e LGPD",description:"Governança de dados com total conformidade e rastreabilidade."},{icon:po,title:"Implementação Rápida",description:"Valor entregue em 30-60 dias com metodologia ágil e modular."},{icon:ol,title:"Squads Especializados",description:"Time multidisciplinar com expertise em saúde, dados e tecnologia."}],d=[{number:"18M+",label:"Pacientes Integrados"},{number:"40→3",label:"Dias de Regulação"},{number:"3.200+",label:"Jornadas Completas"},{number:"95%",label:"Redução de Glosas"}],u=[{title:"WEB3 ENGINE",description:"Infraestrutura de integração e ingestão de dados automatizada",image:ro,features:["Conectores universais","Golder Record","Automação RPA"]},{title:"SMART DIGITAL TWIN",description:"Inteligência estratégica e visualização analítica do território",image:Ah,features:["Painéis inteligentes","Insights preditivos","Decisões em tempo real"]},{title:"MED JOURNEY",description:"Continuidade de cuidado e navegação personalizada em saúde",image:Oy,features:["Jornadas clínicas","Alertas inteligentes","Busca ativa"]}];return i.jsxs("div",{className:"min-h-screen",children:[i.jsx("section",{className:"relative gradient-bg hero-pattern section-padding overflow-hidden",children:i.jsx("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:i.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-12 items-center",children:[i.jsxs("div",{className:"text-white",children:[i.jsxs("h1",{className:"text-4xl md:text-6xl font-bold mb-6 leading-tight",children:["O Cérebro Digital da",i.jsx("span",{className:"block text-accent-foreground",children:"Saúde Brasileira"})]}),i.jsx("p",{className:"text-xl mb-8 text-white/90 leading-relaxed",children:"Transformamos ecossistemas de saúde fragmentados em redes inteligentes, interoperáveis e humanas, orientadas por dados e conduzidas por tecnologia viva."}),i.jsxs("div",{className:"flex flex-col sm:flex-row gap-4",children:[i.jsx(Le,{size:"lg",asChild:!0,className:"bg-white text-primary hover:bg-white/90",children:i.jsxs(lt,{to:"/contato",children:["Solicitar Demonstração",i.jsx(ni,{className:"ml-2 h-5 w-5"})]})}),i.jsx(Le,{size:"lg",variant:"outline",asChild:!0,className:"border-white text-white hover:bg-white hover:text-primary",children:i.jsx(lt,{to:"/plataforma",children:"Conhecer Plataforma"})})]})]}),i.jsx("div",{className:"relative",children:i.jsx("div",{className:"animate-float",children:i.jsx("img",{src:ro,alt:"Interoperabilidade em Saúde",className:"rounded-2xl shadow-2xl"})})})]})})}),i.jsx("section",{className:"py-16 bg-white",children:i.jsx("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:i.jsx("div",{className:"grid grid-cols-2 md:grid-cols-4 gap-8",children:d.map((c,f)=>i.jsxs("div",{className:"text-center",children:[i.jsx("div",{className:"text-3xl md:text-4xl font-bold text-primary mb-2",children:c.number}),i.jsx("div",{className:"text-gray-600",children:c.label})]},f))})})}),i.jsx("section",{className:"section-padding bg-gray-50",children:i.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[i.jsxs("div",{className:"text-center mb-16",children:[i.jsx("h2",{className:"text-3xl md:text-4xl font-bold text-gray-900 mb-4",children:"Por que escolher a IAsis?"}),i.jsx("p",{className:"text-xl text-gray-600 max-w-3xl mx-auto",children:"Nossa plataforma resolve os principais desafios da saúde digital com tecnologia de ponta e metodologia comprovada."})]}),i.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8",children:r.map((c,f)=>i.jsxs(xe,{className:"card-hover border-0 shadow-lg",children:[i.jsxs(pe,{children:[i.jsx("div",{className:"w-12 h-12 bg-primary/10 rounded-lg flex items-center justify-center mb-4",children:i.jsx(c.icon,{className:"h-6 w-6 text-primary"})}),i.jsx(ge,{className:"text-xl",children:c.title})]}),i.jsx(Ne,{children:i.jsx(qe,{className:"text-gray-600",children:c.description})})]},f))})]})}),i.jsx("section",{className:"section-padding bg-white",children:i.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[i.jsxs("div",{className:"text-center mb-16",children:[i.jsx("h2",{className:"text-3xl md:text-4xl font-bold text-gray-900 mb-4",children:"Nossos Produtos Digitais"}),i.jsx("p",{className:"text-xl text-gray-600 max-w-3xl mx-auto",children:"Três produtos principais que se integram para formar uma plataforma completa de interoperabilidade em saúde."})]}),i.jsx("div",{className:"grid grid-cols-1 lg:grid-cols-3 gap-8",children:u.map((c,f)=>i.jsxs(xe,{className:"card-hover overflow-hidden",children:[i.jsx("div",{className:"aspect-video overflow-hidden",children:i.jsx("img",{src:c.image,alt:c.title,className:"w-full h-full object-cover"})}),i.jsxs(pe,{children:[i.jsx(ge,{className:"text-xl gradient-text",children:c.title}),i.jsx(qe,{children:c.description})]}),i.jsx(Ne,{children:i.jsx("ul",{className:"space-y-2",children:c.features.map((h,v)=>i.jsxs("li",{className:"flex items-center text-sm text-gray-600",children:[i.jsx("div",{className:"w-1.5 h-1.5 bg-primary rounded-full mr-2"}),h]},v))})})]},f))}),i.jsx("div",{className:"text-center mt-12",children:i.jsx(Le,{size:"lg",asChild:!0,children:i.jsxs(lt,{to:"/plataforma",children:["Explorar Plataforma Completa",i.jsx(ni,{className:"ml-2 h-5 w-5"})]})})})]})}),i.jsx("section",{className:"section-padding gradient-bg",children:i.jsxs("div",{className:"max-w-4xl mx-auto px-4 sm:px-6 lg:px-8 text-center",children:[i.jsx("h2",{className:"text-3xl md:text-4xl font-bold text-white mb-6",children:"Pronto para transformar sua rede de saúde?"}),i.jsx("p",{className:"text-xl text-white/90 mb-8",children:"Agende uma demonstração e veja como a IAsis pode revolucionar a gestão de dados e o cuidado em sua organização."}),i.jsxs("div",{className:"flex flex-col sm:flex-row gap-4 justify-center",children:[i.jsx(Le,{size:"lg",asChild:!0,className:"bg-white text-primary hover:bg-white/90",children:i.jsxs(lt,{to:"/contato",children:["Agendar Demonstração",i.jsx(ni,{className:"ml-2 h-5 w-5"})]})}),i.jsx(Le,{size:"lg",variant:"outline",asChild:!0,className:"border-white text-white hover:bg-white hover:text-primary",children:i.jsx(lt,{to:"/sobre",children:"Conhecer Nossa História"})})]})]})})]})},qy="/assets/saude_conectada_1-Dmbu6kf2.jpg",wh="/assets/tecnologia_saude_1-CDunotUd.webp",ky=()=>{const r=[{icon:Wl,title:"Impacto Humano",description:"Cada linha de código que escrevemos tem como objetivo salvar vidas e melhorar o cuidado em saúde."},{icon:hv,title:"Inovação Responsável",description:"Desenvolvemos tecnologia de ponta sempre com foco na aplicabilidade real e no valor entregue."},{icon:ol,title:"Colaboração",description:"Trabalhamos em parceria com gestores, profissionais de saúde e pacientes para criar soluções efetivas."},{icon:th,title:"Excelência Técnica",description:"Mantemos os mais altos padrões de qualidade, segurança e conformidade em todas as nossas soluções."}],d=[{year:"2020",title:"Fundação",description:"IAsis nasce com a missão de resolver a fragmentação dos dados em saúde no Brasil."},{year:"2021",title:"Primeiros Projetos",description:"Desenvolvimento dos primeiros conectores e validação do framework de interoperabilidade."},{year:"2022",title:"Expansão",description:"Implementação em múltiplos municípios e desenvolvimento dos produtos digitais principais."},{year:"2023",title:"Consolidação",description:"Mais de 18 milhões de pacientes integrados e parcerias estratégicas estabelecidas."},{year:"2024",title:"Inovação",description:"Lançamento de IA aplicada e expansão para operadoras de saúde suplementar."},{year:"2025",title:"Futuro",description:"Consolidação como plataforma nacional de dados em saúde federada."}];return i.jsxs("div",{className:"min-h-screen",children:[i.jsx("section",{className:"section-padding bg-gradient-to-br from-blue-50 to-indigo-100",children:i.jsx("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:i.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-12 items-center",children:[i.jsxs("div",{children:[i.jsxs("h1",{className:"text-4xl md:text-5xl font-bold text-gray-900 mb-6",children:["Sobre a ",i.jsx("span",{className:"gradient-text",children:"IAsis"})]}),i.jsx("p",{className:"text-xl text-gray-600 mb-8 leading-relaxed",children:"Somos uma empresa de tecnologia em saúde dedicada a transformar ecossistemas fragmentados em redes inteligentes e interoperáveis. Nossa missão é conectar dados, pessoas e sistemas para criar um futuro onde o cuidado em saúde seja mais eficiente, humano e acessível."}),i.jsxs("div",{className:"grid grid-cols-2 gap-6",children:[i.jsxs("div",{children:[i.jsx("div",{className:"text-3xl font-bold text-primary mb-2",children:"18M+"}),i.jsx("div",{className:"text-gray-600",children:"Pacientes Conectados"})]}),i.jsxs("div",{children:[i.jsx("div",{className:"text-3xl font-bold text-primary mb-2",children:"50+"}),i.jsx("div",{className:"text-gray-600",children:"Municípios Atendidos"})]})]})]}),i.jsx("div",{className:"relative",children:i.jsx("img",{src:qy,alt:"Saúde Conectada",className:"rounded-2xl shadow-xl"})})]})})}),i.jsx("section",{className:"section-padding bg-white",children:i.jsx("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:i.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-3 gap-8 mb-16",children:[i.jsxs(xe,{className:"text-center border-0 shadow-lg",children:[i.jsxs(pe,{children:[i.jsx("div",{className:"w-16 h-16 bg-primary/10 rounded-full flex items-center justify-center mx-auto mb-4",children:i.jsx(oh,{className:"h-8 w-8 text-primary"})}),i.jsx(ge,{className:"text-2xl",children:"Missão"})]}),i.jsx(Ne,{children:i.jsx(qe,{className:"text-gray-600 text-base",children:"Transformar ecossistemas de saúde fragmentados em redes inteligentes, interoperáveis e humanas, orientadas por dados e conduzidas por tecnologia viva."})})]}),i.jsxs(xe,{className:"text-center border-0 shadow-lg",children:[i.jsxs(pe,{children:[i.jsx("div",{className:"w-16 h-16 bg-primary/10 rounded-full flex items-center justify-center mx-auto mb-4",children:i.jsx(nh,{className:"h-8 w-8 text-primary"})}),i.jsx(ge,{className:"text-2xl",children:"Visão"})]}),i.jsx(Ne,{children:i.jsx(qe,{className:"text-gray-600 text-base",children:"Ser a principal plataforma de interoperabilidade baseada em produtos de dados de saúde do Brasil, conectando o caos dos dados à clareza da gestão."})})]}),i.jsxs(xe,{className:"text-center border-0 shadow-lg",children:[i.jsxs(pe,{children:[i.jsx("div",{className:"w-16 h-16 bg-primary/10 rounded-full flex items-center justify-center mx-auto mb-4",children:i.jsx(Wl,{className:"h-8 w-8 text-primary"})}),i.jsx(ge,{className:"text-2xl",children:"Propósito"})]}),i.jsx(Ne,{children:i.jsx(qe,{className:"text-gray-600 text-base",children:"Promover equidade no acesso ao cuidado e capacitar redes de saúde com tecnologia leve, inteligente e impactante para salvar vidas."})})]})]})})}),i.jsx("section",{className:"section-padding bg-gray-50",children:i.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[i.jsxs("div",{className:"text-center mb-16",children:[i.jsx("h2",{className:"text-3xl md:text-4xl font-bold text-gray-900 mb-4",children:"Nossos Valores"}),i.jsx("p",{className:"text-xl text-gray-600 max-w-3xl mx-auto",children:"Os princípios que guiam cada decisão e cada linha de código que desenvolvemos."})]}),i.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-8",children:r.map((u,c)=>i.jsxs(xe,{className:"card-hover text-center border-0 shadow-lg",children:[i.jsxs(pe,{children:[i.jsx("div",{className:"w-12 h-12 bg-primary/10 rounded-lg flex items-center justify-center mx-auto mb-4",children:i.jsx(u.icon,{className:"h-6 w-6 text-primary"})}),i.jsx(ge,{className:"text-lg",children:u.title})]}),i.jsx(Ne,{children:i.jsx(qe,{className:"text-gray-600",children:u.description})})]},c))})]})}),i.jsx("section",{className:"section-padding bg-white",children:i.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[i.jsxs("div",{className:"text-center mb-16",children:[i.jsx("h2",{className:"text-3xl md:text-4xl font-bold text-gray-900 mb-4",children:"Nossa Jornada"}),i.jsx("p",{className:"text-xl text-gray-600 max-w-3xl mx-auto",children:"A evolução da IAsis desde a fundação até se tornar referência em interoperabilidade em saúde no Brasil."})]}),i.jsxs("div",{className:"relative",children:[i.jsx("div",{className:"absolute left-1/2 transform -translate-x-1/2 w-1 h-full bg-primary/20"}),i.jsx("div",{className:"space-y-12",children:d.map((u,c)=>i.jsxs("div",{className:`flex items-center ${c%2===0?"flex-row":"flex-row-reverse"}`,children:[i.jsx("div",{className:`w-1/2 ${c%2===0?"pr-8 text-right":"pl-8 text-left"}`,children:i.jsxs(xe,{className:"border-0 shadow-lg",children:[i.jsxs(pe,{children:[i.jsx(ge,{className:"text-xl gradient-text",children:u.title}),i.jsx(qe,{className:"text-primary font-semibold",children:u.year})]}),i.jsx(Ne,{children:i.jsx("p",{className:"text-gray-600",children:u.description})})]})}),i.jsx("div",{className:"relative z-10",children:i.jsx("div",{className:"w-4 h-4 bg-primary rounded-full border-4 border-white shadow-lg"})}),i.jsx("div",{className:"w-1/2"})]},c))})]})]})}),i.jsx("section",{className:"section-padding bg-gray-50",children:i.jsx("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:i.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-12 items-center",children:[i.jsxs("div",{children:[i.jsx("h2",{className:"text-3xl md:text-4xl font-bold text-gray-900 mb-6",children:"Nossa Equipe"}),i.jsx("p",{className:"text-xl text-gray-600 mb-8 leading-relaxed",children:"Somos um time multidisciplinar de especialistas em saúde, tecnologia, dados e gestão. Nossa diversidade de conhecimentos nos permite criar soluções que realmente atendem às necessidades do setor de saúde."}),i.jsxs("div",{className:"grid grid-cols-2 gap-6",children:[i.jsxs("div",{children:[i.jsx("div",{className:"text-2xl font-bold text-primary mb-2",children:"Engenheiros"}),i.jsx("div",{className:"text-gray-600",children:"Especialistas em dados e integração"})]}),i.jsxs("div",{children:[i.jsx("div",{className:"text-2xl font-bold text-primary mb-2",children:"Médicos"}),i.jsx("div",{className:"text-gray-600",children:"Profissionais de saúde experientes"})]}),i.jsxs("div",{children:[i.jsx("div",{className:"text-2xl font-bold text-primary mb-2",children:"Gestores"}),i.jsx("div",{className:"text-gray-600",children:"Especialistas em saúde pública"})]}),i.jsxs("div",{children:[i.jsx("div",{className:"text-2xl font-bold text-primary mb-2",children:"Designers"}),i.jsx("div",{className:"text-gray-600",children:"Focados em experiência do usuário"})]})]})]}),i.jsx("div",{className:"relative",children:i.jsx("img",{src:wh,alt:"Tecnologia em Saúde",className:"rounded-2xl shadow-xl"})})]})})})]})},Hy=mh("inline-flex items-center justify-center rounded-md border px-2 py-0.5 text-xs font-medium w-fit whitespace-nowrap shrink-0 [&>svg]:size-3 gap-1 [&>svg]:pointer-events-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive transition-[color,box-shadow] overflow-hidden",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground [a&]:hover:bg-primary/90",secondary:"border-transparent bg-secondary text-secondary-foreground [a&]:hover:bg-secondary/90",destructive:"border-transparent bg-destructive text-white [a&]:hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"text-foreground [a&]:hover:bg-accent [a&]:hover:text-accent-foreground"}},defaultVariants:{variant:"default"}});function ua({className:r,variant:d,asChild:u=!1,...c}){const f=u?uh:"span";return i.jsx(f,{"data-slot":"badge",className:Ya(Hy({variant:d}),r),...c})}const By="/assets/jornada_paciente_1-BabfGcKz.png",Ly=()=>{const r=[{title:"WEB3 ENGINE",subtitle:"Infraestrutura de Integração",description:"O coração técnico da IAsis que resolve a fragmentação dos sistemas legados, transformando dados desconexos em uma infraestrutura viva, interoperável e inteligente.",image:ro,icon:si,color:"bg-blue-500",features:["Conectores REST/SOAP/HL7/FHIR","Golder Record do paciente","Leitura automatizada de dados","Orquestração de processos (RPA + AI)","Ontologia própria","Data lake federado por território"],users:["Times de TI","Engenharia","Gestão de Sistemas","Auditores"],technologies:["Apache Camel","Spark","Databricks","NiFi","S3"]},{title:"SMART DIGITAL TWIN",subtitle:"Inteligência Estratégica",description:"Transforma o território em um gêmeo digital da saúde, permitindo decisões em tempo real baseadas em dados organizados e cruzados.",image:Ah,icon:xo,color:"bg-purple-500",features:["Painéis táticos e estratégicos","Insights preditivos e prescritivos","Cruza dados clínicos e epidemiológicos","Ações orientadas por dados","IA explicável e personalizável","APIs públicas para integração"],users:["Secretários de saúde","Diretoria de Operações","Núcleos de Informação"],technologies:["Power BI","Metabase","Spark/Databricks","APIs REST"]},{title:"MED JOURNEY",subtitle:"Continuidade do Cuidado",description:"Promove continuidade de cuidado, integrando dados clínicos e notificando pacientes e equipes de saúde sobre ações necessárias.",image:By,icon:Wl,color:"bg-green-500",features:["Navegador de jornada clínica","Monitoramento de linhas prioritárias","Notificações inteligentes","Conexão com teleatendimento","Motor de jornada personalizável","Apps mobile e web"],users:["Equipes de saúde da família","Cuidadores","Regulação","Atenção primária"],technologies:["React Native","APIs abertas","Push notifications","WebRTC"]}],d=[{layer:"Camada de Integração",description:"Conectores universais para qualquer sistema de saúde",technologies:["HL7 FHIR","REST/SOAP APIs","CSV/XML","Bancos de dados"]},{layer:"Camada de Processamento",description:"Pipeline de dados em tempo real com normalização semântica",technologies:["Apache Spark","Databricks","Apache NiFi","Data Lake"]},{layer:"Camada de Inteligência",description:"IA aplicada para classificação, predição e automação",technologies:["Machine Learning","NLP","Computer Vision","RPA"]},{layer:"Camada de Produtos",description:"Dashboards, APIs e aplicações para usuários finais",technologies:["React","Power BI","APIs REST","Mobile Apps"]}],u=[{icon:po,title:"Implementação Rápida",description:"Valor entregue em 30-60 dias com metodologia ágil"},{icon:ui,title:"Segurança Total",description:"Conformidade com LGPD e padrões internacionais"},{icon:ol,title:"Squads Especializados",description:"Time multidisciplinar dedicado ao seu sucesso"},{icon:si,title:"Interoperabilidade Real",description:"Conecta qualquer sistema sem troca de infraestrutura"}];return i.jsxs("div",{className:"min-h-screen",children:[i.jsx("section",{className:"section-padding bg-gradient-to-br from-blue-50 to-indigo-100",children:i.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[i.jsxs("div",{className:"text-center mb-16",children:[i.jsxs("h1",{className:"text-4xl md:text-5xl font-bold text-gray-900 mb-6",children:["Plataforma ",i.jsx("span",{className:"gradient-text",children:"IAsis"})]}),i.jsx("p",{className:"text-xl text-gray-600 max-w-4xl mx-auto leading-relaxed",children:"Uma arquitetura modular e escalável que transforma dados de saúde fragmentados em inteligência acionável, conectando sistemas, pessoas e processos em uma rede integrada de cuidado."})]}),i.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6",children:u.map((c,f)=>i.jsxs(xe,{className:"text-center border-0 shadow-lg card-hover",children:[i.jsxs(pe,{children:[i.jsx("div",{className:"w-12 h-12 bg-primary/10 rounded-lg flex items-center justify-center mx-auto mb-4",children:i.jsx(c.icon,{className:"h-6 w-6 text-primary"})}),i.jsx(ge,{className:"text-lg",children:c.title})]}),i.jsx(Ne,{children:i.jsx(qe,{children:c.description})})]},f))})]})}),i.jsx("section",{className:"section-padding bg-white",children:i.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[i.jsxs("div",{className:"text-center mb-16",children:[i.jsx("h2",{className:"text-3xl md:text-4xl font-bold text-gray-900 mb-4",children:"Nossos Produtos Digitais"}),i.jsx("p",{className:"text-xl text-gray-600 max-w-3xl mx-auto",children:"Três produtos principais que se integram para formar uma plataforma completa de interoperabilidade em saúde."})]}),i.jsx("div",{className:"space-y-24",children:r.map((c,f)=>i.jsxs("div",{className:`grid grid-cols-1 lg:grid-cols-2 gap-12 items-center ${f%2===1?"lg:grid-flow-col-dense":""}`,children:[i.jsxs("div",{className:f%2===1?"lg:col-start-2":"",children:[i.jsxs("div",{className:"flex items-center mb-6",children:[i.jsx("div",{className:`w-12 h-12 ${c.color} rounded-lg flex items-center justify-center mr-4`,children:i.jsx(c.icon,{className:"h-6 w-6 text-white"})}),i.jsxs("div",{children:[i.jsx("h3",{className:"text-2xl font-bold gradient-text",children:c.title}),i.jsx("p",{className:"text-gray-600",children:c.subtitle})]})]}),i.jsx("p",{className:"text-lg text-gray-600 mb-8 leading-relaxed",children:c.description}),i.jsxs("div",{className:"mb-8",children:[i.jsx("h4",{className:"text-lg font-semibold text-gray-900 mb-4",children:"Principais Funcionalidades:"}),i.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-3",children:c.features.map((h,v)=>i.jsxs("div",{className:"flex items-center",children:[i.jsx(cl,{className:"h-4 w-4 text-green-500 mr-2 flex-shrink-0"}),i.jsx("span",{className:"text-gray-600 text-sm",children:h})]},v))})]}),i.jsxs("div",{className:"mb-8",children:[i.jsx("h4",{className:"text-lg font-semibold text-gray-900 mb-4",children:"Usuários Principais:"}),i.jsx("div",{className:"flex flex-wrap gap-2",children:c.users.map((h,v)=>i.jsx(ua,{variant:"secondary",children:h},v))})]}),i.jsxs("div",{children:[i.jsx("h4",{className:"text-lg font-semibold text-gray-900 mb-4",children:"Tecnologias:"}),i.jsx("div",{className:"flex flex-wrap gap-2",children:c.technologies.map((h,v)=>i.jsx(ua,{variant:"outline",children:h},v))})]})]}),i.jsx("div",{className:f%2===1?"lg:col-start-1":"",children:i.jsx("div",{className:"relative",children:i.jsx("img",{src:c.image,alt:c.title,className:"rounded-2xl shadow-xl w-full"})})})]},f))})]})}),i.jsx("section",{className:"section-padding bg-gray-50",children:i.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[i.jsxs("div",{className:"text-center mb-16",children:[i.jsx("h2",{className:"text-3xl md:text-4xl font-bold text-gray-900 mb-4",children:"Arquitetura da Plataforma"}),i.jsx("p",{className:"text-xl text-gray-600 max-w-3xl mx-auto",children:"Uma arquitetura em camadas que garante escalabilidade, segurança e interoperabilidade em todos os níveis."})]}),i.jsx("div",{className:"space-y-6",children:d.map((c,f)=>i.jsxs(xe,{className:"border-0 shadow-lg",children:[i.jsx(pe,{children:i.jsxs("div",{className:"flex items-center justify-between",children:[i.jsxs("div",{children:[i.jsx(ge,{className:"text-xl",children:c.layer}),i.jsx(qe,{className:"text-base mt-2",children:c.description})]}),i.jsx("div",{className:"text-3xl font-bold text-primary/20",children:String(f+1).padStart(2,"0")})]})}),i.jsx(Ne,{children:i.jsx("div",{className:"flex flex-wrap gap-2",children:c.technologies.map((h,v)=>i.jsx(ua,{variant:"secondary",children:h},v))})})]},f))})]})}),i.jsx("section",{className:"section-padding gradient-bg",children:i.jsxs("div",{className:"max-w-4xl mx-auto px-4 sm:px-6 lg:px-8 text-center",children:[i.jsx("h2",{className:"text-3xl md:text-4xl font-bold text-white mb-6",children:"Pronto para conhecer nossa plataforma na prática?"}),i.jsx("p",{className:"text-xl text-white/90 mb-8",children:"Agende uma demonstração personalizada e veja como a IAsis pode transformar a gestão de dados em sua organização de saúde."}),i.jsxs("div",{className:"flex flex-col sm:flex-row gap-4 justify-center",children:[i.jsx(Le,{size:"lg",asChild:!0,className:"bg-white text-primary hover:bg-white/90",children:i.jsxs("a",{href:"/contato",children:["Agendar Demonstração",i.jsx(ni,{className:"ml-2 h-5 w-5"})]})}),i.jsx(Le,{size:"lg",variant:"outline",asChild:!0,className:"border-white text-white hover:bg-white hover:text-primary",children:i.jsx("a",{href:"/modulos",children:"Explorar Módulos"})})]})]})})]})},Gy=()=>{const[r,d]=z.useState(null),u=[{id:1,title:"Módulo de Integração e Normalização de Dados",subtitle:"Core da Plataforma",description:"Coração técnico da IAsis. Sem troca de sistema, sem barreiras.",icon:si,color:"bg-blue-500",category:"Core",functions:["Conexão com sistemas legados (HIS, APS, CNES, e-SUS, SIVEP, etc.)","Leitura de APIs, CSVs, bancos de dados e arquivos desestruturados (PDF, XML)","Mapeamento de códigos, tabelas e identificação semântica (CID, DRG, procedimentos, etc.)","Criação do repositório longitudinal por CPF/Cartão SUS"],technologies:["Spark","NiFi","Databricks","Lakehouse","Apache Camel","REST/SOAP APIs"],benefits:["Integração sem troca de sistemas","Dados unificados em tempo real","Redução de retrabalho manual","Base sólida para outros módulos"]},{id:2,title:"Módulo de Linha do Cuidado e Gestão Populacional",subtitle:"Jornadas Clínicas Acionáveis",description:"Transforma dados desconectados em jornadas clínicas acionáveis.",icon:U0,color:"bg-green-500",category:"Cuidado",functions:["Construção de jornadas específicas (ex.: câncer de mama, diabetes, gestante, puericultura)","Identificação de vazios assistenciais e pacientes perdidos na rede","Painel de rastreio e continuidade de cuidado","Regras clínicas adaptáveis (ex.: diretrizes SUS, ANS)"],technologies:["Motor de regras clínicas","APIs de notificação","Dashboards interativos"],benefits:["Redução de mortalidade evitável","Aumento de cobertura e adesão","Qualificação para programas de incentivo (Previne Brasil, Rede Cegonha, etc.)","Melhoria na continuidade do cuidado"]},{id:3,title:"Módulo de Regulação Inteligente e Auditoria Ativa",subtitle:"Organização do Caos Regulatório",description:"O módulo que organiza o caos regulatório.",icon:ui,color:"bg-purple-500",category:"Regulação",functions:["Classificação automatizada de OTMs (ordens de internação)","Auditoria por IA (glosas, DRG, inconsistências)","Visualização de filas reguladas por tempo, complexidade e risco","Compatível com SISREG, SUSFácil, plataformas próprias"],technologies:["NLP para CID/DRG","Motores de regras clínicas","Automação com RPA"],benefits:["Redução de tempo de regulação","Diminuição de glosas","Melhoria na gestão de filas","Auditoria preventiva automatizada"]},{id:4,title:"Módulo de Receita Pública e Incentivos Federais",subtitle:"Ponte para Verbas Federais",description:"A ponte entre operação local e verbas federais.",icon:lh,color:"bg-yellow-500",category:"Financeiro",functions:["Geração e validação de bases e-SUS, CNES, SIVEP, e-Gestor","Correção de duplicidade de cadastros (e.g. CPF em múltiplas bases)","Consolidação e padronização para envio mensal","Estimativa e simulação de receita com diferentes estratégias"],technologies:["APIs governamentais","Validadores automáticos","Simuladores de receita"],benefits:["Aumento da captação federal","Redução de retrabalho das secretarias","Conformidade com prazos e exigências do MS","Maximização de incentivos disponíveis"]},{id:5,title:"Módulo de Produtos de Dados e Visualizações Estratégicas",subtitle:"Do Dado ao Insight",description:"Do dado cru ao insight estratégico.",icon:Z0,color:"bg-indigo-500",category:"Analytics",functions:["Dashboards customizados por perfil de usuário (gestor, clínico, regulador, auditor)","Alertas inteligentes por email, sistema ou API","Ferramentas de exploração de dados para tomada de decisão","Consolidação por território, grupo populacional ou condição clínica"],technologies:["Power BI","Metabase","APIs de alertas","Ferramentas de BI"],benefits:["Decisões baseadas em dados","Visibilidade em tempo real","Alertas proativos","Relatórios personalizados"]},{id:6,title:"Módulo de Inteligência Artificial e Automatização",subtitle:"IA Aplicada a Problemas Reais",description:"IA leve e aplicada a problemas reais.",icon:xo,color:"bg-pink-500",category:"IA",functions:["Classificação automática de CID, DRG e complexidade","Matching de pacientes entre sistemas","IA para triagem de filas (por tempo, risco e urgência)","Previsão de abandono ou complicação"],technologies:["Machine Learning","NLP","Computer Vision","Algoritmos preditivos"],benefits:["IA transparente e auditável (explainable AI)","Treinada em dados públicos e dados reais da rede","Automação de processos manuais","Predição de riscos e complicações"]},{id:7,title:"Módulo de Governança de Dados e LGPD",subtitle:"Segurança e Confiança",description:"Segurança, rastreabilidade e confiança.",icon:ih,color:"bg-red-500",category:"Segurança",functions:["Controle federado de acesso por papel e órgão","Logs de acesso, uso e edição","Consentimento e pseudonimização conforme LGPD","Relatórios de auditoria para corregedorias e CGUs"],technologies:["Blockchain (opcional)","Zero-trust security","Criptografia avançada"],benefits:["Conformidade total com LGPD","Rastreabilidade completa","Segurança de dados garantida","Auditoria transparente"]},{id:8,title:"Módulo de Laboratório de Dados e Configuração Avançada",subtitle:"Para Maior Maturidade Técnica",description:"Para municípios, operadoras ou estados com maior maturidade técnica.",icon:B0,color:"bg-teal-500",category:"Avançado",functions:["Ambiente sandbox para criar e testar regras clínicas ou pipelines","Simulação de políticas públicas e estimativas de impacto","Publicação de produtos de dados em APIs internas","Suporte à pesquisa e inovação (ex.: universidades, laboratórios clínicos)"],technologies:["Sandbox environments","API management","Simuladores","Ferramentas de pesquisa"],benefits:["Experimentação segura","Inovação contínua","Suporte à pesquisa","Customização avançada"]},{id:9,title:"Módulo de Implantação e Squad Integrado",subtitle:"Serviço + Produto",description:"Serviço técnico + produto = entrega garantida.",icon:ol,color:"bg-orange-500",category:"Serviços",functions:["Time de engenharia para integração local","Time de interoperabilidade semântica","Especialistas em vigilância, atenção primária, saúde suplementar","Templates, cronogramas e documentação compartilhada"],technologies:["Metodologias ágeis","Ferramentas de gestão","Templates de implementação"],benefits:["Implementação garantida","Suporte especializado","Transferência de conhecimento","Sucesso do cliente assegurado"]},{id:10,title:"Módulo de Replicação e Escalonamento Territorial",subtitle:"Expansão Territorial",description:"Acelerador para expansão estadual ou multicliente.",icon:Tv,color:"bg-cyan-500",category:"Escala",functions:["Estados que integram múltiplos municípios","Operadoras com múltiplas redes","Criação de hubs regionais de interoperabilidade","Suporte ao desenho de contratos e repasse com base em dados"],technologies:["Arquitetura federada","Multi-tenancy","APIs de integração"],benefits:["Escalabilidade territorial","Gestão centralizada","Economia de escala","Padronização regional"]}],c=["Todos","Core","Cuidado","Regulação","Financeiro","Analytics","IA","Segurança","Avançado","Serviços","Escala"],[f,h]=z.useState("Todos"),v=f==="Todos"?u:u.filter(p=>p.category===f),N=p=>{d(r===p?null:p)};return i.jsxs("div",{className:"min-h-screen",children:[i.jsx("section",{className:"section-padding bg-gradient-to-br from-blue-50 to-indigo-100",children:i.jsx("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:i.jsxs("div",{className:"text-center mb-16",children:[i.jsxs("h1",{className:"text-4xl md:text-5xl font-bold text-gray-900 mb-6",children:["Módulos da ",i.jsx("span",{className:"gradient-text",children:"Plataforma IAsis"})]}),i.jsx("p",{className:"text-xl text-gray-600 max-w-4xl mx-auto leading-relaxed",children:"Cada módulo da IAsis é projetado como uma unidade autônoma de valor, mas que se conecta de forma integrada ao ecossistema de dados e ao repositório longitudinal da saúde de cada cliente."})]})})}),i.jsx("section",{className:"py-8 bg-white border-b",children:i.jsx("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:i.jsx("div",{className:"flex flex-wrap gap-2 justify-center",children:c.map(p=>i.jsx(Le,{variant:f===p?"default":"outline",onClick:()=>h(p),className:"mb-2",children:p},p))})})}),i.jsx("section",{className:"section-padding bg-white",children:i.jsx("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:i.jsx("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-8",children:v.map(p=>i.jsxs(xe,{className:"border-0 shadow-lg card-hover",children:[i.jsx(pe,{children:i.jsxs("div",{className:"flex items-start justify-between",children:[i.jsxs("div",{className:"flex items-start space-x-4",children:[i.jsx("div",{className:`w-12 h-12 ${p.color} rounded-lg flex items-center justify-center flex-shrink-0`,children:i.jsx(p.icon,{className:"h-6 w-6 text-white"})}),i.jsxs("div",{className:"flex-1",children:[i.jsx("div",{className:"flex items-center gap-2 mb-2",children:i.jsx(ua,{variant:"secondary",children:p.category})}),i.jsx(ge,{className:"text-xl mb-2",children:p.title}),i.jsx(qe,{className:"text-primary font-medium mb-2",children:p.subtitle}),i.jsx(qe,{className:"text-gray-600",children:p.description})]})]}),i.jsx(Le,{variant:"ghost",size:"sm",onClick:()=>N(p.id),className:"flex-shrink-0",children:r===p.id?i.jsx(W0,{className:"h-4 w-4"}):i.jsx(J0,{className:"h-4 w-4"})})]})}),r===p.id&&i.jsx(Ne,{className:"pt-0",children:i.jsxs("div",{className:"space-y-6",children:[i.jsxs("div",{children:[i.jsx("h4",{className:"font-semibold text-gray-900 mb-3",children:"Principais Funcionalidades:"}),i.jsx("ul",{className:"space-y-2",children:p.functions.map((x,A)=>i.jsxs("li",{className:"flex items-start",children:[i.jsx("div",{className:"w-1.5 h-1.5 bg-primary rounded-full mt-2 mr-3 flex-shrink-0"}),i.jsx("span",{className:"text-gray-600 text-sm",children:x})]},A))})]}),i.jsxs("div",{children:[i.jsx("h4",{className:"font-semibold text-gray-900 mb-3",children:"Tecnologias:"}),i.jsx("div",{className:"flex flex-wrap gap-2",children:p.technologies.map((x,A)=>i.jsx(ua,{variant:"outline",className:"text-xs",children:x},A))})]}),i.jsxs("div",{children:[i.jsx("h4",{className:"font-semibold text-gray-900 mb-3",children:"Benefícios:"}),i.jsx("ul",{className:"space-y-2",children:p.benefits.map((x,A)=>i.jsxs("li",{className:"flex items-start",children:[i.jsx("div",{className:"w-1.5 h-1.5 bg-green-500 rounded-full mt-2 mr-3 flex-shrink-0"}),i.jsx("span",{className:"text-gray-600 text-sm",children:x})]},A))})]})]})})]},p.id))})})}),i.jsx("section",{className:"section-padding bg-gray-50",children:i.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[i.jsxs("div",{className:"text-center mb-16",children:[i.jsx("h2",{className:"text-3xl md:text-4xl font-bold text-gray-900 mb-4",children:"Modelo Comercial Modular"}),i.jsx("p",{className:"text-xl text-gray-600 max-w-3xl mx-auto",children:"A IAsis trabalha por módulo e por impacto, com licenças e serviços escaláveis conforme necessidade."})]}),i.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-8",children:[i.jsxs(xe,{className:"border-0 shadow-lg",children:[i.jsx(pe,{children:i.jsx(ge,{className:"text-lg",children:"Município Pequeno"})}),i.jsx(Ne,{children:i.jsxs("ul",{className:"space-y-2 text-sm text-gray-600",children:[i.jsx("li",{children:"• Integração + Receita Pública"}),i.jsx("li",{children:"• Linha do cuidado básica"}),i.jsx("li",{children:"• Dashboards essenciais"})]})})]}),i.jsxs(xe,{className:"border-0 shadow-lg",children:[i.jsx(pe,{children:i.jsx(ge,{className:"text-lg",children:"Município Médio"})}),i.jsx(Ne,{children:i.jsxs("ul",{className:"space-y-2 text-sm text-gray-600",children:[i.jsx("li",{children:"• Módulos básicos +"}),i.jsx("li",{children:"• Regulação inteligente"}),i.jsx("li",{children:"• Produtos de dados avançados"})]})})]}),i.jsxs(xe,{className:"border-0 shadow-lg",children:[i.jsx(pe,{children:i.jsx(ge,{className:"text-lg",children:"Estado"})}),i.jsx(Ne,{children:i.jsxs("ul",{className:"space-y-2 text-sm text-gray-600",children:[i.jsx("li",{children:"• Todos os módulos"}),i.jsx("li",{children:"• Replicação territorial"}),i.jsx("li",{children:"• Governança federada"})]})})]}),i.jsxs(xe,{className:"border-0 shadow-lg",children:[i.jsx(pe,{children:i.jsx(ge,{className:"text-lg",children:"Operadora"})}),i.jsx(Ne,{children:i.jsxs("ul",{className:"space-y-2 text-sm text-gray-600",children:[i.jsx("li",{children:"• Linha do cuidado"}),i.jsx("li",{children:"• Regulação + Auditoria"}),i.jsx("li",{children:"• Gestão de risco populacional"})]})})]})]})]})}),i.jsx("section",{className:"section-padding gradient-bg",children:i.jsxs("div",{className:"max-w-4xl mx-auto px-4 sm:px-6 lg:px-8 text-center",children:[i.jsx("h2",{className:"text-3xl md:text-4xl font-bold text-white mb-6",children:"Interessado em módulos específicos?"}),i.jsx("p",{className:"text-xl text-white/90 mb-8",children:"Converse com nossos especialistas para entender qual combinação de módulos é ideal para sua organização."}),i.jsx(Le,{size:"lg",asChild:!0,className:"bg-white text-primary hover:bg-white/90",children:i.jsx("a",{href:"/contato",children:"Falar com Especialista"})})]})})]})},Yy="/assets/redes_saude_inteligentes_1-f50vk3Tg.png",Vy=()=>{const r=[{category:"Integração de Dados",icon:si,color:"bg-blue-500",technologies:[{name:"Apache Camel",description:"Framework de integração empresarial"},{name:"Apache NiFi",description:"Automação de fluxo de dados"},{name:"HL7 FHIR",description:"Padrão de interoperabilidade em saúde"},{name:"REST/SOAP APIs",description:"Conectores universais"}]},{category:"Processamento de Dados",icon:nv,color:"bg-green-500",technologies:[{name:"Apache Spark",description:"Processamento distribuído em tempo real"},{name:"Databricks",description:"Plataforma de analytics unificada"},{name:"Data Lake",description:"Armazenamento escalável de dados"},{name:"Lakehouse",description:"Arquitetura híbrida de dados"}]},{category:"Inteligência Artificial",icon:po,color:"bg-purple-500",technologies:[{name:"Machine Learning",description:"Algoritmos de aprendizado automático"},{name:"Natural Language Processing",description:"Processamento de linguagem natural"},{name:"Computer Vision",description:"Análise de imagens médicas"},{name:"RPA",description:"Automação robótica de processos"}]},{category:"Infraestrutura Cloud",icon:av,color:"bg-indigo-500",technologies:[{name:"Amazon S3",description:"Armazenamento de objetos escalável"},{name:"Kubernetes",description:"Orquestração de containers"},{name:"Docker",description:"Containerização de aplicações"},{name:"Microservices",description:"Arquitetura de serviços distribuídos"}]},{category:"Segurança e Governança",icon:ui,color:"bg-red-500",technologies:[{name:"Zero Trust Security",description:"Modelo de segurança sem confiança implícita"},{name:"Blockchain",description:"Rastreabilidade e auditoria (opcional)"},{name:"Criptografia Avançada",description:"Proteção de dados sensíveis"},{name:"LGPD Compliance",description:"Conformidade com regulamentações"}]},{category:"Visualização e APIs",icon:Ev,color:"bg-yellow-500",technologies:[{name:"Power BI",description:"Dashboards e relatórios interativos"},{name:"Metabase",description:"Analytics self-service"},{name:"React",description:"Interface de usuário moderna"},{name:"GraphQL",description:"APIs flexíveis e eficientes"}]}],d=[{layer:"Camada de Apresentação",description:"Interfaces web e mobile responsivas",components:["React Web Apps","React Native Mobile","Power BI Dashboards","APIs REST/GraphQL"]},{layer:"Camada de Aplicação",description:"Lógica de negócio e processamento",components:["Microservices","Business Logic","Workflow Engine","Notification Service"]},{layer:"Camada de Dados",description:"Processamento e armazenamento de dados",components:["Apache Spark","Databricks","Data Lake","Real-time Streaming"]},{layer:"Camada de Integração",description:"Conectores e adaptadores de sistemas",components:["Apache Camel","HL7 FHIR","REST/SOAP APIs","File Processors"]}],u=[{title:"Interoperabilidade por Design",description:"Construída desde o início para conectar sistemas heterogêneos sem necessidade de mudanças nos sistemas existentes."},{title:"Escalabilidade Horizontal",description:"Arquitetura que cresce conforme a demanda, suportando desde pequenos municípios até estados inteiros."},{title:"Segurança em Camadas",description:"Múltiplas camadas de segurança garantem proteção total dos dados sensíveis de saúde."},{title:"IA Explicável",description:"Algoritmos transparentes e auditáveis que permitem compreender como as decisões são tomadas."}];return i.jsxs("div",{className:"min-h-screen",children:[i.jsx("section",{className:"section-padding bg-gradient-to-br from-blue-50 to-indigo-100",children:i.jsx("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:i.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-12 items-center",children:[i.jsxs("div",{children:[i.jsxs("h1",{className:"text-4xl md:text-5xl font-bold text-gray-900 mb-6",children:["Tecnologia ",i.jsx("span",{className:"gradient-text",children:"IAsis"})]}),i.jsx("p",{className:"text-xl text-gray-600 mb-8 leading-relaxed",children:"Nossa stack tecnológica combina as melhores ferramentas de mercado com arquiteturas modernas para criar uma plataforma robusta, escalável e segura para interoperabilidade em saúde."}),i.jsxs("div",{className:"grid grid-cols-2 gap-6",children:[i.jsxs("div",{children:[i.jsx("div",{className:"text-3xl font-bold text-primary mb-2",children:"99.9%"}),i.jsx("div",{className:"text-gray-600",children:"Uptime Garantido"})]}),i.jsxs("div",{children:[i.jsx("div",{className:"text-3xl font-bold text-primary mb-2",children:"<100ms"}),i.jsx("div",{className:"text-gray-600",children:"Latência de APIs"})]})]})]}),i.jsx("div",{className:"relative",children:i.jsx("img",{src:wh,alt:"Tecnologia em Saúde",className:"rounded-2xl shadow-xl"})})]})})}),i.jsx("section",{className:"section-padding bg-white",children:i.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[i.jsxs("div",{className:"text-center mb-16",children:[i.jsx("h2",{className:"text-3xl md:text-4xl font-bold text-gray-900 mb-4",children:"Stack Tecnológico"}),i.jsx("p",{className:"text-xl text-gray-600 max-w-3xl mx-auto",children:"Utilizamos tecnologias de ponta para garantir performance, escalabilidade e confiabilidade em todos os aspectos da plataforma."})]}),i.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8",children:r.map((c,f)=>i.jsxs(xe,{className:"border-0 shadow-lg card-hover",children:[i.jsx(pe,{children:i.jsxs("div",{className:"flex items-center space-x-3 mb-4",children:[i.jsx("div",{className:`w-10 h-10 ${c.color} rounded-lg flex items-center justify-center`,children:i.jsx(c.icon,{className:"h-5 w-5 text-white"})}),i.jsx(ge,{className:"text-lg",children:c.category})]})}),i.jsx(Ne,{children:i.jsx("div",{className:"space-y-4",children:c.technologies.map((h,v)=>i.jsxs("div",{children:[i.jsx("div",{className:"flex items-center justify-between mb-1",children:i.jsx("span",{className:"font-medium text-gray-900",children:h.name})}),i.jsx("p",{className:"text-sm text-gray-600",children:h.description})]},v))})})]},f))})]})}),i.jsx("section",{className:"section-padding bg-gray-50",children:i.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[i.jsxs("div",{className:"text-center mb-16",children:[i.jsx("h2",{className:"text-3xl md:text-4xl font-bold text-gray-900 mb-4",children:"Arquitetura da Plataforma"}),i.jsx("p",{className:"text-xl text-gray-600 max-w-3xl mx-auto",children:"Uma arquitetura em camadas que garante modularidade, manutenibilidade e escalabilidade."})]}),i.jsx("div",{className:"space-y-6",children:d.map((c,f)=>i.jsxs(xe,{className:"border-0 shadow-lg",children:[i.jsx(pe,{children:i.jsxs("div",{className:"flex items-center justify-between",children:[i.jsxs("div",{children:[i.jsx(ge,{className:"text-xl",children:c.layer}),i.jsx(qe,{className:"text-base mt-2",children:c.description})]}),i.jsx("div",{className:"text-3xl font-bold text-primary/20",children:String(d.length-f).padStart(2,"0")})]})}),i.jsx(Ne,{children:i.jsx("div",{className:"grid grid-cols-2 md:grid-cols-4 gap-3",children:c.components.map((h,v)=>i.jsx(ua,{variant:"secondary",className:"justify-center py-2",children:h},v))})})]},f))})]})}),i.jsx("section",{className:"section-padding bg-white",children:i.jsx("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:i.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-12 items-center",children:[i.jsxs("div",{children:[i.jsx("h2",{className:"text-3xl md:text-4xl font-bold text-gray-900 mb-8",children:"Princípios Arquiteturais"}),i.jsx("div",{className:"space-y-6",children:u.map((c,f)=>i.jsxs("div",{className:"border-l-4 border-primary pl-6",children:[i.jsx("h3",{className:"text-xl font-semibold text-gray-900 mb-2",children:c.title}),i.jsx("p",{className:"text-gray-600 leading-relaxed",children:c.description})]},f))})]}),i.jsx("div",{className:"relative",children:i.jsx("img",{src:Yy,alt:"Redes de Saúde Inteligentes",className:"rounded-2xl shadow-xl"})})]})})}),i.jsx("section",{className:"section-padding bg-gray-50",children:i.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[i.jsxs("div",{className:"text-center mb-16",children:[i.jsx("h2",{className:"text-3xl md:text-4xl font-bold text-gray-900 mb-4",children:"Performance e Confiabilidade"}),i.jsx("p",{className:"text-xl text-gray-600 max-w-3xl mx-auto",children:"Métricas que demonstram a robustez e eficiência da nossa plataforma."})]}),i.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-8",children:[i.jsx(xe,{className:"text-center border-0 shadow-lg",children:i.jsxs(pe,{children:[i.jsx(ge,{className:"text-3xl font-bold text-primary",children:"99.9%"}),i.jsx(qe,{children:"Uptime Garantido"})]})}),i.jsx(xe,{className:"text-center border-0 shadow-lg",children:i.jsxs(pe,{children:[i.jsx(ge,{className:"text-3xl font-bold text-primary",children:"<100ms"}),i.jsx(qe,{children:"Latência de APIs"})]})}),i.jsx(xe,{className:"text-center border-0 shadow-lg",children:i.jsxs(pe,{children:[i.jsx(ge,{className:"text-3xl font-bold text-primary",children:"1M+"}),i.jsx(qe,{children:"Registros/Segundo"})]})}),i.jsx(xe,{className:"text-center border-0 shadow-lg",children:i.jsxs(pe,{children:[i.jsx(ge,{className:"text-3xl font-bold text-primary",children:"24/7"}),i.jsx(qe,{children:"Monitoramento"})]})})]})]})}),i.jsx("section",{className:"section-padding gradient-bg",children:i.jsxs("div",{className:"max-w-4xl mx-auto px-4 sm:px-6 lg:px-8 text-center",children:[i.jsx("h2",{className:"text-3xl md:text-4xl font-bold text-white mb-6",children:"Quer conhecer nossa arquitetura em detalhes?"}),i.jsx("p",{className:"text-xl text-white/90 mb-8",children:"Nossos arquitetos de soluções podem apresentar como nossa tecnologia se adapta às suas necessidades específicas."}),i.jsxs("div",{className:"flex flex-col sm:flex-row gap-4 justify-center",children:[i.jsx("button",{className:"bg-white text-primary hover:bg-white/90 px-6 py-3 rounded-lg font-medium transition-colors",children:"Falar com Arquiteto"}),i.jsx("button",{className:"border border-white text-white hover:bg-white hover:text-primary px-6 py-3 rounded-lg font-medium transition-colors",children:"Download Whitepaper"})]})]})})]})},Xy=()=>{const r=[{icon:ol,number:"18M+",label:"Pacientes Integrados",description:"Dados unificados de mais de 18 milhões de pacientes em uma única plataforma",color:"bg-blue-500"},{icon:ah,number:"40→3",label:"Dias de Regulação",description:"Redução dramática no tempo de regulação de internações e procedimentos",color:"bg-green-500"},{icon:Wl,number:"3.200+",label:"Jornadas Completas",description:"Gestantes acompanhadas do pré-natal ao puerpério com continuidade total",color:"bg-pink-500"},{icon:lh,number:"95%",label:"Redução de Glosas",description:"Diminuição significativa em glosas por auditoria inteligente e preventiva",color:"bg-yellow-500"},{icon:Uv,number:"300%",label:"Aumento de Receita",description:"Incremento na captação de recursos federais através de dados corretos",color:"bg-purple-500"},{icon:cl,number:"99.8%",label:"Precisão de Dados",description:"Qualidade e confiabilidade dos dados após normalização e validação",color:"bg-indigo-500"}],d=[{title:"Município de São Carlos - SP",category:"Atenção Primária",challenge:"Fragmentação de dados entre UBS e falta de continuidade no cuidado de gestantes",solution:"Implementação do módulo de Linha do Cuidado com foco em saúde materno-infantil",results:["100% das gestantes cadastradas no pré-natal","85% de adesão às consultas de puerpério","40% redução na mortalidade infantil","R$ 2.3M em recursos adicionais captados"],timeframe:"6 meses"},{title:"Consórcio Intermunicipal ABC",category:"Regulação Regional",challenge:"Filas de regulação desorganizadas e tempo excessivo para internações",solution:"Módulo de Regulação Inteligente com IA para classificação de prioridades",results:["Redução de 40 para 3 dias no tempo médio de regulação","60% melhoria na satisfação dos usuários","90% redução em glosas por auditoria","Integração de 15 municípios em rede única"],timeframe:"4 meses"},{title:"Operadora Unimed Regional",category:"Saúde Suplementar",challenge:"Alto índice de sinistralidade e falta de gestão de risco populacional",solution:"Smart Digital Twin para gestão de risco e Med Journey para cuidado preventivo",results:["25% redução na sinistralidade","150% aumento em ações preventivas","80% melhoria na experiência do beneficiário","ROI de 340% em 12 meses"],timeframe:"8 meses"}],u=[{category:"Para Pacientes",icon:Wl,items:["Continuidade de cuidado garantida","Redução no tempo de espera","Histórico médico unificado","Cuidado preventivo personalizado","Maior segurança nos dados"]},{category:"Para Gestores",icon:oh,items:["Decisões baseadas em dados reais","Aumento na captação de recursos","Redução de custos operacionais","Melhoria nos indicadores de saúde","Conformidade regulatória automática"]},{category:"Para Profissionais",icon:th,items:["Acesso rápido ao histórico do paciente","Alertas inteligentes para ações","Redução de trabalho manual","Ferramentas de apoio à decisão","Integração entre níveis de atenção"]}],c=[{title:"Redução da Mortalidade Evitável",description:"Identificação precoce de riscos e intervenções oportunas salvam vidas",impact:"40% redução"},{title:"Equidade no Acesso",description:"Dados organizados garantem que ninguém seja esquecido no sistema",impact:"100% cobertura"},{title:"Eficiência do SUS",description:"Otimização de recursos públicos para maior impacto social",impact:"R$ 50M economizados"},{title:"Inovação em Saúde",description:"Plataforma que acelera pesquisa e desenvolvimento de novas soluções",impact:"15 projetos de pesquisa"}];return i.jsxs("div",{className:"min-h-screen",children:[i.jsx("section",{className:"section-padding bg-gradient-to-br from-blue-50 to-indigo-100",children:i.jsx("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:i.jsxs("div",{className:"text-center mb-16",children:[i.jsxs("h1",{className:"text-4xl md:text-5xl font-bold text-gray-900 mb-6",children:["Impacto ",i.jsx("span",{className:"gradient-text",children:"Real"})]}),i.jsx("p",{className:"text-xl text-gray-600 max-w-4xl mx-auto leading-relaxed",children:"Nossos resultados falam por si. Veja como a IAsis está transformando a saúde no Brasil com dados concretos e histórias reais de sucesso."})]})})}),i.jsx("section",{className:"section-padding bg-white",children:i.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[i.jsxs("div",{className:"text-center mb-16",children:[i.jsx("h2",{className:"text-3xl md:text-4xl font-bold text-gray-900 mb-4",children:"Números que Importam"}),i.jsx("p",{className:"text-xl text-gray-600 max-w-3xl mx-auto",children:"Métricas que demonstram o impacto real da IAsis na vida das pessoas e na eficiência dos sistemas de saúde."})]}),i.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8",children:r.map((f,h)=>i.jsxs(xe,{className:"border-0 shadow-lg card-hover text-center",children:[i.jsxs(pe,{children:[i.jsx("div",{className:`w-16 h-16 ${f.color} rounded-full flex items-center justify-center mx-auto mb-4`,children:i.jsx(f.icon,{className:"h-8 w-8 text-white"})}),i.jsx(ge,{className:"text-4xl font-bold text-primary mb-2",children:f.number}),i.jsx(qe,{className:"text-lg font-semibold text-gray-900",children:f.label})]}),i.jsx(Ne,{children:i.jsx("p",{className:"text-gray-600",children:f.description})})]},h))})]})}),i.jsx("section",{className:"section-padding bg-gray-50",children:i.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[i.jsxs("div",{className:"text-center mb-16",children:[i.jsx("h2",{className:"text-3xl md:text-4xl font-bold text-gray-900 mb-4",children:"Casos de Sucesso"}),i.jsx("p",{className:"text-xl text-gray-600 max-w-3xl mx-auto",children:"Histórias reais de transformação em diferentes contextos e necessidades do sistema de saúde brasileiro."})]}),i.jsx("div",{className:"space-y-12",children:d.map((f,h)=>i.jsxs(xe,{className:"border-0 shadow-lg",children:[i.jsx(pe,{children:i.jsxs("div",{className:"flex items-center justify-between mb-4",children:[i.jsxs("div",{children:[i.jsx(ge,{className:"text-2xl mb-2",children:f.title}),i.jsx(ua,{variant:"secondary",children:f.category})]}),i.jsxs("div",{className:"text-right",children:[i.jsx("div",{className:"text-sm text-gray-500",children:"Implementação"}),i.jsx("div",{className:"font-semibold text-primary",children:f.timeframe})]})]})}),i.jsx(Ne,{children:i.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-3 gap-8",children:[i.jsxs("div",{children:[i.jsx("h4",{className:"font-semibold text-gray-900 mb-3",children:"Desafio"}),i.jsx("p",{className:"text-gray-600",children:f.challenge})]}),i.jsxs("div",{children:[i.jsx("h4",{className:"font-semibold text-gray-900 mb-3",children:"Solução"}),i.jsx("p",{className:"text-gray-600",children:f.solution})]}),i.jsxs("div",{children:[i.jsx("h4",{className:"font-semibold text-gray-900 mb-3",children:"Resultados"}),i.jsx("ul",{className:"space-y-2",children:f.results.map((v,N)=>i.jsxs("li",{className:"flex items-start",children:[i.jsx(cl,{className:"h-4 w-4 text-green-500 mr-2 mt-0.5 flex-shrink-0"}),i.jsx("span",{className:"text-gray-600 text-sm",children:v})]},N))})]})]})})]},h))})]})}),i.jsx("section",{className:"section-padding bg-white",children:i.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[i.jsxs("div",{className:"text-center mb-16",children:[i.jsx("h2",{className:"text-3xl md:text-4xl font-bold text-gray-900 mb-4",children:"Benefícios para Todos"}),i.jsx("p",{className:"text-xl text-gray-600 max-w-3xl mx-auto",children:"A IAsis gera valor para todos os stakeholders do ecossistema de saúde."})]}),i.jsx("div",{className:"grid grid-cols-1 lg:grid-cols-3 gap-8",children:u.map((f,h)=>i.jsxs(xe,{className:"border-0 shadow-lg card-hover",children:[i.jsx(pe,{children:i.jsxs("div",{className:"flex items-center space-x-3 mb-4",children:[i.jsx("div",{className:"w-12 h-12 bg-primary/10 rounded-lg flex items-center justify-center",children:i.jsx(f.icon,{className:"h-6 w-6 text-primary"})}),i.jsx(ge,{className:"text-xl",children:f.category})]})}),i.jsx(Ne,{children:i.jsx("ul",{className:"space-y-3",children:f.items.map((v,N)=>i.jsxs("li",{className:"flex items-start",children:[i.jsx(cl,{className:"h-4 w-4 text-green-500 mr-3 mt-0.5 flex-shrink-0"}),i.jsx("span",{className:"text-gray-600",children:v})]},N))})})]},h))})]})}),i.jsx("section",{className:"section-padding bg-gray-50",children:i.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[i.jsxs("div",{className:"text-center mb-16",children:[i.jsx("h2",{className:"text-3xl md:text-4xl font-bold text-gray-900 mb-4",children:"Impacto Social"}),i.jsx("p",{className:"text-xl text-gray-600 max-w-3xl mx-auto",children:"Além dos números, nosso maior orgulho é o impacto positivo na vida das pessoas e na sociedade como um todo."})]}),i.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-8",children:c.map((f,h)=>i.jsxs(xe,{className:"border-0 shadow-lg",children:[i.jsx(pe,{children:i.jsxs("div",{className:"flex items-center justify-between",children:[i.jsx(ge,{className:"text-xl",children:f.title}),i.jsx(ua,{variant:"outline",className:"text-primary border-primary",children:f.impact})]})}),i.jsx(Ne,{children:i.jsx("p",{className:"text-gray-600",children:f.description})})]},h))})]})}),i.jsx("section",{className:"section-padding gradient-bg",children:i.jsxs("div",{className:"max-w-4xl mx-auto px-4 sm:px-6 lg:px-8 text-center",children:[i.jsx("h2",{className:"text-3xl md:text-4xl font-bold text-white mb-6",children:"Pronto para gerar impacto real?"}),i.jsx("p",{className:"text-xl text-white/90 mb-8",children:"Junte-se às organizações que já estão transformando a saúde com dados e tecnologia inteligente."}),i.jsxs("div",{className:"flex flex-col sm:flex-row gap-4 justify-center",children:[i.jsx("button",{className:"bg-white text-primary hover:bg-white/90 px-6 py-3 rounded-lg font-medium transition-colors",children:"Ver Mais Casos de Sucesso"}),i.jsx("button",{className:"border border-white text-white hover:bg-white hover:text-primary px-6 py-3 rounded-lg font-medium transition-colors",children:"Calcular Seu ROI"})]})]})})]})},Qy=()=>{const r=[{title:"Municípios",subtitle:"Gestão Pública de Saúde",icon:Y0,color:"bg-blue-500",description:"Soluções completas para secretarias municipais de saúde que buscam integração, eficiência e melhores resultados.",sizes:[{size:"Pequeno Porte",population:"Até 50 mil habitantes",modules:["Integração + Receita Pública","Linha do cuidado básica","Dashboards essenciais"],benefits:["Acesso a tecnologia de ponta","Entrada modular e acessível","Suporte especializado"],investment:"A partir de R$ 15.000/mês"},{size:"Médio Porte",population:"50 mil a 200 mil habitantes",modules:["Módulos básicos +","Regulação inteligente","Produtos de dados avançados","IA aplicada"],benefits:["Gestão integrada completa","Redução significativa de custos","Melhoria nos indicadores"],investment:"A partir de R$ 35.000/mês"},{size:"Grande Porte",population:"Acima de 200 mil habitantes",modules:["Plataforma completa","Customizações avançadas","Laboratório de dados","APIs próprias"],benefits:["Solução enterprise","Inovação contínua","Liderança regional"],investment:"Sob consulta"}]},{title:"Estados",subtitle:"Gestão Estadual e Regional",icon:ol,color:"bg-green-500",description:"Plataformas federadas para secretarias estaduais que precisam integrar múltiplos municípios e regiões.",features:["Integração regional com múltiplos municípios","Monitoramento em tempo real de indicadores estaduais","Captação otimizada de recursos federais","Governança federada de dados","Hubs regionais de interoperabilidade","Suporte ao desenho de contratos baseados em dados"],benefits:["Visão unificada da saúde estadual","Redução de disparidades regionais","Otimização de recursos públicos","Compliance automático com regulamentações"],caseStudy:"Estado de Minas Gerais: 853 municípios conectados, R$ 120M em recursos adicionais captados"},{title:"Operadoras de Saúde",subtitle:"Saúde Suplementar",icon:ui,color:"bg-purple-500",description:"Gestão de risco populacional, auditoria inteligente e cuidado preventivo para operadoras e autogestões.",solutions:[{type:"Operadoras Regionais",focus:"Gestão de risco e sinistralidade",modules:["Smart Digital Twin","Med Journey","Auditoria ativa","Gestão populacional"],roi:"ROI médio de 340% em 12 meses"},{type:"Autogestões",focus:"Cuidado preventivo e bem-estar",modules:["Jornadas de cuidado","Medicina preventiva","Analytics de saúde","Engajamento"],roi:"25% redução em sinistralidade"},{type:"Cooperativas Médicas",focus:"Integração com rede própria",modules:["Interoperabilidade","Regulação interna","Qualidade assistencial","Compliance ANS"],roi:"60% melhoria na satisfação"}]},{title:"Hospitais e Clínicas",subtitle:"Prestadores de Serviços",icon:fv,color:"bg-red-500",description:"Integração com redes de saúde, otimização de processos e melhoria da qualidade assistencial.",categories:[{type:"Hospitais Públicos",challenges:["Integração com SISREG","Otimização de leitos","Redução de glosas"],solutions:["Regulação inteligente","Gestão de leitos","Auditoria preventiva"]},{type:"Hospitais Privados",challenges:["Gestão de convênios","Qualidade assistencial","Eficiência operacional"],solutions:["Integração com operadoras","Protocolos clínicos","Analytics operacional"]},{type:"Clínicas Especializadas",challenges:["Continuidade do cuidado","Referência e contrarreferência","Dados fragmentados"],solutions:["Jornadas integradas","Comunicação com APS","Histórico unificado"]}]}],d=[{feature:"Integração de Sistemas",municipio:"✓ Básica",estado:"✓ Avançada",operadora:"✓ Especializada",hospital:"✓ Focada"},{feature:"IA e Automação",municipio:"✓ Essencial",estado:"✓ Completa",operadora:"✓ Preditiva",hospital:"✓ Operacional"},{feature:"Dashboards",municipio:"✓ Gerenciais",estado:"✓ Executivos",operadora:"✓ Risco",hospital:"✓ Assistenciais"},{feature:"Suporte",municipio:"✓ Remoto",estado:"✓ Dedicado",operadora:"✓ Especializado",hospital:"✓ Técnico"},{feature:"Customização",municipio:"✓ Limitada",estado:"✓ Ampla",operadora:"✓ Específica",hospital:"✓ Focada"}];return i.jsxs("div",{className:"min-h-screen",children:[i.jsx("section",{className:"section-padding bg-gradient-to-br from-blue-50 to-indigo-100",children:i.jsx("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:i.jsxs("div",{className:"text-center mb-16",children:[i.jsxs("h1",{className:"text-4xl md:text-5xl font-bold text-gray-900 mb-6",children:["Para Quem é a ",i.jsx("span",{className:"gradient-text",children:"IAsis"})]}),i.jsx("p",{className:"text-xl text-gray-600 max-w-4xl mx-auto leading-relaxed",children:"Nossa plataforma atende diferentes segmentos do ecossistema de saúde, com soluções personalizadas para cada necessidade e contexto específico."})]})})}),i.jsx("section",{className:"section-padding bg-white",children:i.jsx("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:i.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-8 mb-16",children:r.map((u,c)=>i.jsxs(xe,{className:"border-0 shadow-lg card-hover text-center",children:[i.jsxs(pe,{children:[i.jsx("div",{className:`w-16 h-16 ${u.color} rounded-full flex items-center justify-center mx-auto mb-4`,children:i.jsx(u.icon,{className:"h-8 w-8 text-white"})}),i.jsx(ge,{className:"text-xl",children:u.title}),i.jsx(qe,{className:"text-primary font-medium",children:u.subtitle})]}),i.jsx(Ne,{children:i.jsx("p",{className:"text-gray-600 text-sm",children:u.description})})]},c))})})}),i.jsx("section",{className:"section-padding bg-gray-50",children:i.jsx("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:i.jsxs("div",{className:"space-y-24",children:[i.jsxs("div",{children:[i.jsxs("div",{className:"text-center mb-12",children:[i.jsx("h2",{className:"text-3xl md:text-4xl font-bold text-gray-900 mb-4",children:"Soluções para Municípios"}),i.jsx("p",{className:"text-xl text-gray-600 max-w-3xl mx-auto",children:"Desde pequenos municípios até grandes centros urbanos, oferecemos soluções escaláveis e acessíveis."})]}),i.jsx("div",{className:"grid grid-cols-1 lg:grid-cols-3 gap-8",children:r[0].sizes.map((u,c)=>i.jsxs(xe,{className:"border-0 shadow-lg",children:[i.jsx(pe,{children:i.jsxs("div",{className:"flex items-center justify-between mb-4",children:[i.jsx(ge,{className:"text-xl",children:u.size}),i.jsx(ua,{variant:"outline",children:u.population})]})}),i.jsxs(Ne,{className:"space-y-6",children:[i.jsxs("div",{children:[i.jsx("h4",{className:"font-semibold text-gray-900 mb-3",children:"Módulos Inclusos:"}),i.jsx("ul",{className:"space-y-2",children:u.modules.map((f,h)=>i.jsxs("li",{className:"flex items-start",children:[i.jsx(cl,{className:"h-4 w-4 text-green-500 mr-2 mt-0.5 flex-shrink-0"}),i.jsx("span",{className:"text-gray-600 text-sm",children:f})]},h))})]}),i.jsxs("div",{children:[i.jsx("h4",{className:"font-semibold text-gray-900 mb-3",children:"Principais Benefícios:"}),i.jsx("ul",{className:"space-y-2",children:u.benefits.map((f,h)=>i.jsxs("li",{className:"flex items-start",children:[i.jsx("div",{className:"w-1.5 h-1.5 bg-primary rounded-full mt-2 mr-2 flex-shrink-0"}),i.jsx("span",{className:"text-gray-600 text-sm",children:f})]},h))})]}),i.jsxs("div",{className:"pt-4 border-t",children:[i.jsx("div",{className:"text-sm text-gray-500 mb-1",children:"Investimento"}),i.jsx("div",{className:"text-lg font-semibold text-primary",children:u.investment})]})]})]},c))})]}),i.jsxs("div",{children:[i.jsxs("div",{className:"text-center mb-12",children:[i.jsx("h2",{className:"text-3xl md:text-4xl font-bold text-gray-900 mb-4",children:"Soluções para Estados"}),i.jsx("p",{className:"text-xl text-gray-600 max-w-3xl mx-auto",children:"Plataformas federadas que conectam múltiplos municípios em uma rede estadual integrada."})]}),i.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-12 items-center",children:[i.jsxs("div",{children:[i.jsx("h3",{className:"text-2xl font-bold text-gray-900 mb-6",children:"Funcionalidades Principais"}),i.jsx("ul",{className:"space-y-4",children:r[1].features.map((u,c)=>i.jsxs("li",{className:"flex items-start",children:[i.jsx(cl,{className:"h-5 w-5 text-green-500 mr-3 mt-0.5 flex-shrink-0"}),i.jsx("span",{className:"text-gray-600",children:u})]},c))})]}),i.jsx("div",{children:i.jsxs(xe,{className:"border-0 shadow-lg",children:[i.jsx(pe,{children:i.jsx(ge,{className:"text-xl",children:"Caso de Sucesso"})}),i.jsxs(Ne,{children:[i.jsx("p",{className:"text-gray-600 mb-4",children:r[1].caseStudy}),i.jsx("div",{className:"space-y-3",children:r[1].benefits.map((u,c)=>i.jsxs("div",{className:"flex items-start",children:[i.jsx("div",{className:"w-1.5 h-1.5 bg-green-500 rounded-full mt-2 mr-3 flex-shrink-0"}),i.jsx("span",{className:"text-gray-600 text-sm",children:u})]},c))})]})]})})]})]}),i.jsxs("div",{children:[i.jsxs("div",{className:"text-center mb-12",children:[i.jsx("h2",{className:"text-3xl md:text-4xl font-bold text-gray-900 mb-4",children:"Soluções para Operadoras"}),i.jsx("p",{className:"text-xl text-gray-600 max-w-3xl mx-auto",children:"Gestão de risco, auditoria inteligente e cuidado preventivo para o setor de saúde suplementar."})]}),i.jsx("div",{className:"grid grid-cols-1 lg:grid-cols-3 gap-8",children:r[2].solutions.map((u,c)=>i.jsxs(xe,{className:"border-0 shadow-lg",children:[i.jsxs(pe,{children:[i.jsx(ge,{className:"text-xl",children:u.type}),i.jsx(qe,{className:"text-primary font-medium",children:u.focus})]}),i.jsxs(Ne,{className:"space-y-4",children:[i.jsxs("div",{children:[i.jsx("h4",{className:"font-semibold text-gray-900 mb-3",children:"Módulos:"}),i.jsx("ul",{className:"space-y-2",children:u.modules.map((f,h)=>i.jsxs("li",{className:"flex items-start",children:[i.jsx("div",{className:"w-1.5 h-1.5 bg-primary rounded-full mt-2 mr-2 flex-shrink-0"}),i.jsx("span",{className:"text-gray-600 text-sm",children:f})]},h))})]}),i.jsxs("div",{className:"pt-4 border-t",children:[i.jsx("div",{className:"text-sm text-gray-500 mb-1",children:"ROI Típico"}),i.jsx("div",{className:"text-lg font-semibold text-green-600",children:u.roi})]})]})]},c))})]})]})})}),i.jsx("section",{className:"section-padding bg-white",children:i.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[i.jsxs("div",{className:"text-center mb-16",children:[i.jsx("h2",{className:"text-3xl md:text-4xl font-bold text-gray-900 mb-4",children:"Comparativo de Soluções"}),i.jsx("p",{className:"text-xl text-gray-600 max-w-3xl mx-auto",children:"Veja como nossas soluções se adaptam a cada tipo de organização."})]}),i.jsx("div",{className:"overflow-x-auto",children:i.jsxs("table",{className:"w-full border-collapse",children:[i.jsx("thead",{children:i.jsxs("tr",{className:"border-b-2 border-gray-200",children:[i.jsx("th",{className:"text-left py-4 px-6 font-semibold text-gray-900",children:"Funcionalidade"}),i.jsx("th",{className:"text-center py-4 px-6 font-semibold text-gray-900",children:"Municípios"}),i.jsx("th",{className:"text-center py-4 px-6 font-semibold text-gray-900",children:"Estados"}),i.jsx("th",{className:"text-center py-4 px-6 font-semibold text-gray-900",children:"Operadoras"}),i.jsx("th",{className:"text-center py-4 px-6 font-semibold text-gray-900",children:"Hospitais"})]})}),i.jsx("tbody",{children:d.map((u,c)=>i.jsxs("tr",{className:"border-b border-gray-100",children:[i.jsx("td",{className:"py-4 px-6 font-medium text-gray-900",children:u.feature}),i.jsx("td",{className:"py-4 px-6 text-center text-gray-600",children:u.municipio}),i.jsx("td",{className:"py-4 px-6 text-center text-gray-600",children:u.estado}),i.jsx("td",{className:"py-4 px-6 text-center text-gray-600",children:u.operadora}),i.jsx("td",{className:"py-4 px-6 text-center text-gray-600",children:u.hospital})]},c))})]})})]})}),i.jsx("section",{className:"section-padding gradient-bg",children:i.jsxs("div",{className:"max-w-4xl mx-auto px-4 sm:px-6 lg:px-8 text-center",children:[i.jsx("h2",{className:"text-3xl md:text-4xl font-bold text-white mb-6",children:"Qual solução é ideal para você?"}),i.jsx("p",{className:"text-xl text-white/90 mb-8",children:"Converse com nossos especialistas para entender como a IAsis pode se adaptar às suas necessidades específicas."}),i.jsxs("div",{className:"flex flex-col sm:flex-row gap-4 justify-center",children:[i.jsx(Le,{size:"lg",asChild:!0,className:"bg-white text-primary hover:bg-white/90",children:i.jsxs("a",{href:"/contato",children:["Falar com Especialista",i.jsx(ni,{className:"ml-2 h-5 w-5"})]})}),i.jsx(Le,{size:"lg",variant:"outline",asChild:!0,className:"border-white text-white hover:bg-white hover:text-primary",children:i.jsx("a",{href:"/contato",children:"Solicitar Proposta"})})]})]})})]})},Zy=()=>{const[r,d]=z.useState({name:"",email:"",organization:"",role:"",phone:"",segment:"",interest:"",message:""}),[u,c]=z.useState(!1),f=C=>{const{name:T,value:G}=C.target;d(_=>({..._,[T]:G}))},h=C=>{C.preventDefault(),console.log("Form submitted:",r),c(!0)},v=[{icon:sh,title:"Email",value:"contato@iasis.com.br",description:"Resposta em até 24 horas"},{icon:ch,title:"Telefone",value:"+55 (11) 9999-9999",description:"Seg a Sex, 9h às 18h"},{icon:rh,title:"Endereço",value:"São Paulo, SP",description:"Brasil"},{icon:ah,title:"Horário",value:"9h às 18h",description:"Segunda a Sexta-feira"}],N=[{icon:X0,title:"Agendar Demonstração",description:"Veja a plataforma IAsis em ação com nossos especialistas",action:"Agendar Demo",color:"bg-blue-500"},{icon:ol,title:"Falar com Especialista",description:"Converse com nosso time sobre suas necessidades específicas",action:"Falar Agora",color:"bg-green-500"},{icon:Av,title:"Suporte Técnico",description:"Já é cliente? Acesse nosso suporte especializado",action:"Abrir Ticket",color:"bg-purple-500"}],p=["Município","Estado","Operadora de Saúde","Hospital","Clínica","Consórcio","Outro"],x=["Demonstração da Plataforma","Proposta Comercial","Consultoria Técnica","Parceria","Suporte","Outro"],A=[{question:"Quanto tempo leva para implementar a IAsis?",answer:"A implementação básica leva de 30 a 60 dias, dependendo da complexidade dos sistemas existentes. Nosso time de especialistas acompanha todo o processo."},{question:"É necessário trocar os sistemas atuais?",answer:"Não! A IAsis foi projetada para integrar com sistemas existentes sem necessidade de substituição. Conectamos com qualquer sistema através de APIs, conectores ou importação de dados."},{question:"Como funciona o modelo de precificação?",answer:"Trabalhamos com modelo modular baseado no tamanho da população atendida e módulos utilizados. Oferecemos desde soluções básicas para pequenos municípios até plataformas completas para estados."},{question:"Vocês oferecem suporte e treinamento?",answer:"Sim! Incluímos treinamento completo da equipe, documentação detalhada e suporte técnico contínuo. Nossos squads especializados garantem o sucesso da implementação."}];return u?i.jsx("div",{className:"min-h-screen flex items-center justify-center bg-gradient-to-br from-blue-50 to-indigo-100",children:i.jsxs(xe,{className:"max-w-md mx-auto border-0 shadow-xl",children:[i.jsxs(pe,{className:"text-center",children:[i.jsx("div",{className:"w-16 h-16 bg-green-500 rounded-full flex items-center justify-center mx-auto mb-4",children:i.jsx(cl,{className:"h-8 w-8 text-white"})}),i.jsx(ge,{className:"text-2xl",children:"Mensagem Enviada!"}),i.jsx(qe,{children:"Recebemos sua mensagem e entraremos em contato em breve."})]}),i.jsx(Ne,{className:"text-center",children:i.jsx(Le,{onClick:()=>c(!1),className:"w-full",children:"Enviar Nova Mensagem"})})]})}):i.jsxs("div",{className:"min-h-screen",children:[i.jsx("section",{className:"section-padding bg-gradient-to-br from-blue-50 to-indigo-100",children:i.jsx("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:i.jsxs("div",{className:"text-center mb-16",children:[i.jsxs("h1",{className:"text-4xl md:text-5xl font-bold text-gray-900 mb-6",children:["Entre em ",i.jsx("span",{className:"gradient-text",children:"Contato"})]}),i.jsx("p",{className:"text-xl text-gray-600 max-w-4xl mx-auto leading-relaxed",children:"Estamos prontos para ajudar você a transformar a gestão de dados em saúde na sua organização. Fale conosco!"})]})})}),i.jsx("section",{className:"section-padding bg-white",children:i.jsx("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:i.jsx("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-8 mb-16",children:N.map((C,T)=>i.jsxs(xe,{className:"border-0 shadow-lg card-hover text-center",children:[i.jsxs(pe,{children:[i.jsx("div",{className:`w-16 h-16 ${C.color} rounded-full flex items-center justify-center mx-auto mb-4`,children:i.jsx(C.icon,{className:"h-8 w-8 text-white"})}),i.jsx(ge,{className:"text-xl",children:C.title}),i.jsx(qe,{children:C.description})]}),i.jsx(Ne,{children:i.jsx(Le,{className:"w-full",children:C.action})})]},T))})})}),i.jsx("section",{className:"section-padding bg-gray-50",children:i.jsx("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:i.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-12",children:[i.jsxs(xe,{className:"border-0 shadow-lg",children:[i.jsxs(pe,{children:[i.jsx(ge,{className:"text-2xl",children:"Envie sua Mensagem"}),i.jsx(qe,{children:"Preencha o formulário abaixo e entraremos em contato em breve."})]}),i.jsx(Ne,{children:i.jsxs("form",{onSubmit:h,className:"space-y-6",children:[i.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[i.jsxs("div",{children:[i.jsx("label",{className:"block text-sm font-medium text-gray-700 mb-2",children:"Nome Completo *"}),i.jsx("input",{type:"text",name:"name",value:r.name,onChange:f,required:!0,className:"w-full px-3 py-2 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-primary focus:border-transparent",placeholder:"Seu nome completo"})]}),i.jsxs("div",{children:[i.jsx("label",{className:"block text-sm font-medium text-gray-700 mb-2",children:"Email *"}),i.jsx("input",{type:"email",name:"email",value:r.email,onChange:f,required:!0,className:"w-full px-3 py-2 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-primary focus:border-transparent",placeholder:"seu@email.com"})]})]}),i.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[i.jsxs("div",{children:[i.jsx("label",{className:"block text-sm font-medium text-gray-700 mb-2",children:"Organização *"}),i.jsx("input",{type:"text",name:"organization",value:r.organization,onChange:f,required:!0,className:"w-full px-3 py-2 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-primary focus:border-transparent",placeholder:"Nome da organização"})]}),i.jsxs("div",{children:[i.jsx("label",{className:"block text-sm font-medium text-gray-700 mb-2",children:"Cargo"}),i.jsx("input",{type:"text",name:"role",value:r.role,onChange:f,className:"w-full px-3 py-2 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-primary focus:border-transparent",placeholder:"Seu cargo"})]})]}),i.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[i.jsxs("div",{children:[i.jsx("label",{className:"block text-sm font-medium text-gray-700 mb-2",children:"Telefone"}),i.jsx("input",{type:"tel",name:"phone",value:r.phone,onChange:f,className:"w-full px-3 py-2 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-primary focus:border-transparent",placeholder:"(11) 99999-9999"})]}),i.jsxs("div",{children:[i.jsx("label",{className:"block text-sm font-medium text-gray-700 mb-2",children:"Segmento *"}),i.jsxs("select",{name:"segment",value:r.segment,onChange:f,required:!0,className:"w-full px-3 py-2 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-primary focus:border-transparent",children:[i.jsx("option",{value:"",children:"Selecione..."}),p.map((C,T)=>i.jsx("option",{value:C,children:C},T))]})]})]}),i.jsxs("div",{children:[i.jsx("label",{className:"block text-sm font-medium text-gray-700 mb-2",children:"Interesse *"}),i.jsxs("select",{name:"interest",value:r.interest,onChange:f,required:!0,className:"w-full px-3 py-2 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-primary focus:border-transparent",children:[i.jsx("option",{value:"",children:"Selecione..."}),x.map((C,T)=>i.jsx("option",{value:C,children:C},T))]})]}),i.jsxs("div",{children:[i.jsx("label",{className:"block text-sm font-medium text-gray-700 mb-2",children:"Mensagem"}),i.jsx("textarea",{name:"message",value:r.message,onChange:f,rows:4,className:"w-full px-3 py-2 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-primary focus:border-transparent",placeholder:"Conte-nos mais sobre suas necessidades..."})]}),i.jsxs(Le,{type:"submit",className:"w-full",size:"lg",children:[i.jsx(Cv,{className:"mr-2 h-5 w-5"}),"Enviar Mensagem"]})]})})]}),i.jsxs("div",{className:"space-y-8",children:[i.jsxs(xe,{className:"border-0 shadow-lg",children:[i.jsx(pe,{children:i.jsx(ge,{className:"text-2xl",children:"Informações de Contato"})}),i.jsx(Ne,{children:i.jsx("div",{className:"space-y-6",children:v.map((C,T)=>i.jsxs("div",{className:"flex items-start space-x-4",children:[i.jsx("div",{className:"w-10 h-10 bg-primary/10 rounded-lg flex items-center justify-center flex-shrink-0",children:i.jsx(C.icon,{className:"h-5 w-5 text-primary"})}),i.jsxs("div",{children:[i.jsx("div",{className:"font-semibold text-gray-900",children:C.title}),i.jsx("div",{className:"text-primary font-medium",children:C.value}),i.jsx("div",{className:"text-sm text-gray-600",children:C.description})]})]},T))})})]}),i.jsxs(xe,{className:"border-0 shadow-lg",children:[i.jsx(pe,{children:i.jsx(ge,{className:"text-2xl",children:"Perguntas Frequentes"})}),i.jsx(Ne,{children:i.jsx("div",{className:"space-y-6",children:A.map((C,T)=>i.jsxs("div",{children:[i.jsx("h4",{className:"font-semibold text-gray-900 mb-2",children:C.question}),i.jsx("p",{className:"text-gray-600 text-sm leading-relaxed",children:C.answer})]},T))})})]})]})]})})}),i.jsx("section",{className:"section-padding gradient-bg",children:i.jsxs("div",{className:"max-w-4xl mx-auto px-4 sm:px-6 lg:px-8 text-center",children:[i.jsx("h2",{className:"text-3xl md:text-4xl font-bold text-white mb-6",children:"Pronto para começar?"}),i.jsx("p",{className:"text-xl text-white/90 mb-8",children:"Agende uma demonstração personalizada e veja como a IAsis pode transformar sua organização de saúde."}),i.jsxs("div",{className:"flex flex-col sm:flex-row gap-4 justify-center",children:[i.jsx(Le,{size:"lg",asChild:!0,className:"bg-white text-primary hover:bg-white/90",children:i.jsx("a",{href:"#contact-form",children:"Agendar Demonstração"})}),i.jsx(Le,{size:"lg",variant:"outline",asChild:!0,className:"border-white text-white hover:bg-white hover:text-primary",children:i.jsx("a",{href:"tel:+5511999999999",children:"Ligar Agora"})})]})]})})]})};function qm({className:r,type:d,...u}){return i.jsx("input",{type:d,"data-slot":"input",className:Ya("file:text-foreground placeholder:text-muted-foreground selection:bg-primary selection:text-primary-foreground dark:bg-input/30 border-input flex h-9 w-full min-w-0 rounded-md border bg-transparent px-3 py-1 text-base shadow-xs transition-[color,box-shadow] outline-none file:inline-flex file:h-7 file:border-0 file:bg-transparent file:text-sm file:font-medium disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 md:text-sm","focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px]","aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",r),...u})}const km={login:"Admin",password:"Iasis@2025"},Ky=({onLogin:r})=>{const[d,u]=z.useState({login:"",password:""}),[c,f]=z.useState(!1),[h,v]=z.useState(""),[N,p]=z.useState(!1),x=G=>{const{name:_,value:L}=G.target;u(V=>({...V,[_]:L})),h&&v("")},A=(G,_)=>G===km.login&&_===km.password,C=async G=>{G.preventDefault(),p(!0),v(""),await new Promise(V=>setTimeout(V,1e3));const{login:_,password:L}=d;if(!_||!L){v("Por favor, preencha todos os campos"),p(!1);return}if(!A(_,L)){v("Login ou senha incorretos"),p(!1);return}localStorage.setItem("iasis_authenticated","true"),localStorage.setItem("iasis_user",_),r(!0),p(!1)},T=()=>{f(!c)};return i.jsx("div",{className:"min-h-screen flex items-center justify-center bg-gray-50 px-4 sm:px-6 lg:px-8",children:i.jsxs("div",{className:"max-w-md w-full space-y-8",children:[i.jsxs("div",{className:"text-center",children:[i.jsx("div",{className:"flex justify-center mb-6",children:i.jsx("div",{className:"w-16 h-16 bg-primary rounded-xl flex items-center justify-center",children:i.jsx("span",{className:"text-white font-bold text-3xl",children:"I"})})}),i.jsx("h2",{className:"text-3xl font-bold gradient-text mb-2",children:"Acesso ao Sistema"}),i.jsx("p",{className:"text-gray-600",children:"Entre com suas credenciais para acessar a plataforma IAsis"})]}),i.jsxs(xe,{className:"shadow-lg",children:[i.jsxs(pe,{children:[i.jsx(ge,{className:"text-center",children:"Login"}),i.jsx(qe,{className:"text-center",children:"Faça login para continuar"})]}),i.jsx(Ne,{children:i.jsxs("form",{onSubmit:C,className:"space-y-6",children:[i.jsxs("div",{children:[i.jsx("label",{htmlFor:"login",className:"block text-sm font-medium text-gray-700 mb-2",children:"Usuário"}),i.jsxs("div",{className:"relative",children:[i.jsx("div",{className:"absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none",children:i.jsx(Bv,{className:"h-5 w-5 text-gray-400"})}),i.jsx(qm,{id:"login",name:"login",type:"text",required:!0,value:d.login,onChange:x,className:"pl-10",placeholder:"Digite seu usuário",disabled:N})]})]}),i.jsxs("div",{children:[i.jsx("label",{htmlFor:"password",className:"block text-sm font-medium text-gray-700 mb-2",children:"Senha"}),i.jsxs("div",{className:"relative",children:[i.jsx("div",{className:"absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none",children:i.jsx(ih,{className:"h-5 w-5 text-gray-400"})}),i.jsx(qm,{id:"password",name:"password",type:c?"text":"password",required:!0,value:d.password,onChange:x,className:"pl-10 pr-10",placeholder:"Digite sua senha",disabled:N}),i.jsx("button",{type:"button",onClick:T,className:"absolute inset-y-0 right-0 pr-3 flex items-center",disabled:N,children:c?i.jsx(cv,{className:"h-5 w-5 text-gray-400 hover:text-gray-600"}):i.jsx(nh,{className:"h-5 w-5 text-gray-400 hover:text-gray-600"})})]})]}),h&&i.jsxs("div",{className:"flex items-center space-x-2 text-red-600 text-sm",children:[i.jsx(I0,{className:"h-4 w-4"}),i.jsx("span",{children:h})]}),i.jsx(Le,{type:"submit",className:"w-full",disabled:N,children:N?"Entrando...":"Entrar"})]})})]}),i.jsxs("div",{className:"text-center text-sm text-gray-500",children:[i.jsx("p",{children:"Sistema de acesso seguro IAsis"}),i.jsx("p",{className:"mt-1",children:"© 2025 IAsis. Todos os direitos reservados."})]})]})})};function Jy(){const[r,d]=z.useState(!1),[u,c]=z.useState(!0);z.useEffect(()=>{(()=>{localStorage.getItem("iasis_authenticated")==="true"&&d(!0),c(!1)})()},[]);const f=v=>{d(v)},h=()=>{localStorage.removeItem("iasis_authenticated"),localStorage.removeItem("iasis_user"),d(!1)};return u?i.jsx("div",{className:"min-h-screen flex items-center justify-center bg-gray-50",children:i.jsxs("div",{className:"text-center",children:[i.jsx("div",{className:"w-16 h-16 bg-primary rounded-xl flex items-center justify-center mx-auto mb-4",children:i.jsx("span",{className:"text-white font-bold text-3xl",children:"I"})}),i.jsx("div",{className:"text-lg font-medium text-gray-700",children:"Carregando..."})]})}):r?i.jsx(y0,{children:i.jsxs("div",{className:"min-h-screen bg-background",children:[i.jsx(_y,{onLogout:h}),i.jsx("main",{children:i.jsxs($g,{children:[i.jsx(ca,{path:"/",element:i.jsx(Uy,{})}),i.jsx(ca,{path:"/sobre",element:i.jsx(ky,{})}),i.jsx(ca,{path:"/plataforma",element:i.jsx(Ly,{})}),i.jsx(ca,{path:"/modulos",element:i.jsx(Gy,{})}),i.jsx(ca,{path:"/tecnologia",element:i.jsx(Vy,{})}),i.jsx(ca,{path:"/impacto",element:i.jsx(Xy,{})}),i.jsx(ca,{path:"/para-quem",element:i.jsx(Qy,{})}),i.jsx(ca,{path:"/contato",element:i.jsx(Zy,{})})]})}),i.jsx(Dy,{})]})}):i.jsx(Ky,{onLogin:f})}lg.createRoot(document.getElementById("root")).render(i.jsx(z.StrictMode,{children:i.jsx(Jy,{})}));
