(function(){const i=document.createElement("link").relList;if(i&&i.supports&&i.supports("modulepreload"))return;for(const u of document.querySelectorAll('link[rel="modulepreload"]'))r(u);new MutationObserver(u=>{for(const d of u)if(d.type==="childList")for(const f of d.addedNodes)f.tagName==="LINK"&&f.rel==="modulepreload"&&r(f)}).observe(document,{childList:!0,subtree:!0});function s(u){const d={};return u.integrity&&(d.integrity=u.integrity),u.referrerPolicy&&(d.referrerPolicy=u.referrerPolicy),u.crossOrigin==="use-credentials"?d.credentials="include":u.crossOrigin==="anonymous"?d.credentials="omit":d.credentials="same-origin",d}function r(u){if(u.ep)return;u.ep=!0;const d=s(u);fetch(u.href,d)}})();function z2(n){return n&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n}var Oc={exports:{}},Ll={};/**
 * @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 jg;function k2(){if(jg)return Ll;jg=1;var n=Symbol.for("react.transitional.element"),i=Symbol.for("react.fragment");function s(r,u,d){var f=null;if(d!==void 0&&(f=""+d),u.key!==void 0&&(f=""+u.key),"key"in u){d={};for(var h in u)h!=="key"&&(d[h]=u[h])}else d=u;return u=d.ref,{$$typeof:n,type:r,key:f,ref:u!==void 0?u:null,props:d}}return Ll.Fragment=i,Ll.jsx=s,Ll.jsxs=s,Ll}var Dg;function O2(){return Dg||(Dg=1,Oc.exports=k2()),Oc.exports}var b=O2(),Vc={exports:{}},ft={};/**
 * @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 zg;function V2(){if(zg)return ft;zg=1;var n=Symbol.for("react.transitional.element"),i=Symbol.for("react.portal"),s=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),u=Symbol.for("react.profiler"),d=Symbol.for("react.consumer"),f=Symbol.for("react.context"),h=Symbol.for("react.forward_ref"),g=Symbol.for("react.suspense"),m=Symbol.for("react.memo"),y=Symbol.for("react.lazy"),v=Symbol.for("react.activity"),S=Symbol.iterator;function T(A){return A===null||typeof A!="object"?null:(A=S&&A[S]||A["@@iterator"],typeof A=="function"?A:null)}var M={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},j=Object.assign,N={};function D(A,G,P){this.props=A,this.context=G,this.refs=N,this.updater=P||M}D.prototype.isReactComponent={},D.prototype.setState=function(A,G){if(typeof A!="object"&&typeof A!="function"&&A!=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,A,G,"setState")},D.prototype.forceUpdate=function(A){this.updater.enqueueForceUpdate(this,A,"forceUpdate")};function H(){}H.prototype=D.prototype;function B(A,G,P){this.props=A,this.context=G,this.refs=N,this.updater=P||M}var X=B.prototype=new H;X.constructor=B,j(X,D.prototype),X.isPureReactComponent=!0;var K=Array.isArray;function it(){}var F={H:null,A:null,T:null,S:null},q=Object.prototype.hasOwnProperty;function W(A,G,P){var $=P.ref;return{$$typeof:n,type:A,key:G,ref:$!==void 0?$:null,props:P}}function tt(A,G){return W(A.type,G,A.props)}function mt(A){return typeof A=="object"&&A!==null&&A.$$typeof===n}function gt(A){var G={"=":"=0",":":"=2"};return"$"+A.replace(/[=:]/g,function(P){return G[P]})}var qt=/\/+/g;function Ot(A,G){return typeof A=="object"&&A!==null&&A.key!=null?gt(""+A.key):G.toString(36)}function vt(A){switch(A.status){case"fulfilled":return A.value;case"rejected":throw A.reason;default:switch(typeof A.status=="string"?A.then(it,it):(A.status="pending",A.then(function(G){A.status==="pending"&&(A.status="fulfilled",A.value=G)},function(G){A.status==="pending"&&(A.status="rejected",A.reason=G)})),A.status){case"fulfilled":return A.value;case"rejected":throw A.reason}}throw A}function V(A,G,P,$,st){var ot=typeof A;(ot==="undefined"||ot==="boolean")&&(A=null);var Tt=!1;if(A===null)Tt=!0;else switch(ot){case"bigint":case"string":case"number":Tt=!0;break;case"object":switch(A.$$typeof){case n:case i:Tt=!0;break;case y:return Tt=A._init,V(Tt(A._payload),G,P,$,st)}}if(Tt)return st=st(A),Tt=$===""?"."+Ot(A,0):$,K(st)?(P="",Tt!=null&&(P=Tt.replace(qt,"$&/")+"/"),V(st,G,P,"",function(Ln){return Ln})):st!=null&&(mt(st)&&(st=tt(st,P+(st.key==null||A&&A.key===st.key?"":(""+st.key).replace(qt,"$&/")+"/")+Tt)),G.push(st)),1;Tt=0;var ne=$===""?".":$+":";if(K(A))for(var pt=0;pt<A.length;pt++)$=A[pt],ot=ne+Ot($,pt),Tt+=V($,G,P,ot,st);else if(pt=T(A),typeof pt=="function")for(A=pt.call(A),pt=0;!($=A.next()).done;)$=$.value,ot=ne+Ot($,pt++),Tt+=V($,G,P,ot,st);else if(ot==="object"){if(typeof A.then=="function")return V(vt(A),G,P,$,st);throw G=String(A),Error("Objects are not valid as a React child (found: "+(G==="[object Object]"?"object with keys {"+Object.keys(A).join(", ")+"}":G)+"). If you meant to render a collection of children, use an array instead.")}return Tt}function Z(A,G,P){if(A==null)return A;var $=[],st=0;return V(A,$,"","",function(ot){return G.call(P,ot,st++)}),$}function J(A){if(A._status===-1){var G=A._result;G=G(),G.then(function(P){(A._status===0||A._status===-1)&&(A._status=1,A._result=P)},function(P){(A._status===0||A._status===-1)&&(A._status=2,A._result=P)}),A._status===-1&&(A._status=0,A._result=G)}if(A._status===1)return A._result.default;throw A._result}var ct=typeof reportError=="function"?reportError:function(A){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var G=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof A=="object"&&A!==null&&typeof A.message=="string"?String(A.message):String(A),error:A});if(!window.dispatchEvent(G))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",A);return}console.error(A)},Q={map:Z,forEach:function(A,G,P){Z(A,function(){G.apply(this,arguments)},P)},count:function(A){var G=0;return Z(A,function(){G++}),G},toArray:function(A){return Z(A,function(G){return G})||[]},only:function(A){if(!mt(A))throw Error("React.Children.only expected to receive a single React element child.");return A}};return ft.Activity=v,ft.Children=Q,ft.Component=D,ft.Fragment=s,ft.Profiler=u,ft.PureComponent=B,ft.StrictMode=r,ft.Suspense=g,ft.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=F,ft.__COMPILER_RUNTIME={__proto__:null,c:function(A){return F.H.useMemoCache(A)}},ft.cache=function(A){return function(){return A.apply(null,arguments)}},ft.cacheSignal=function(){return null},ft.cloneElement=function(A,G,P){if(A==null)throw Error("The argument must be a React element, but you passed "+A+".");var $=j({},A.props),st=A.key;if(G!=null)for(ot in G.key!==void 0&&(st=""+G.key),G)!q.call(G,ot)||ot==="key"||ot==="__self"||ot==="__source"||ot==="ref"&&G.ref===void 0||($[ot]=G[ot]);var ot=arguments.length-2;if(ot===1)$.children=P;else if(1<ot){for(var Tt=Array(ot),ne=0;ne<ot;ne++)Tt[ne]=arguments[ne+2];$.children=Tt}return W(A.type,st,$)},ft.createContext=function(A){return A={$$typeof:f,_currentValue:A,_currentValue2:A,_threadCount:0,Provider:null,Consumer:null},A.Provider=A,A.Consumer={$$typeof:d,_context:A},A},ft.createElement=function(A,G,P){var $,st={},ot=null;if(G!=null)for($ in G.key!==void 0&&(ot=""+G.key),G)q.call(G,$)&&$!=="key"&&$!=="__self"&&$!=="__source"&&(st[$]=G[$]);var Tt=arguments.length-2;if(Tt===1)st.children=P;else if(1<Tt){for(var ne=Array(Tt),pt=0;pt<Tt;pt++)ne[pt]=arguments[pt+2];st.children=ne}if(A&&A.defaultProps)for($ in Tt=A.defaultProps,Tt)st[$]===void 0&&(st[$]=Tt[$]);return W(A,ot,st)},ft.createRef=function(){return{current:null}},ft.forwardRef=function(A){return{$$typeof:h,render:A}},ft.isValidElement=mt,ft.lazy=function(A){return{$$typeof:y,_payload:{_status:-1,_result:A},_init:J}},ft.memo=function(A,G){return{$$typeof:m,type:A,compare:G===void 0?null:G}},ft.startTransition=function(A){var G=F.T,P={};F.T=P;try{var $=A(),st=F.S;st!==null&&st(P,$),typeof $=="object"&&$!==null&&typeof $.then=="function"&&$.then(it,ct)}catch(ot){ct(ot)}finally{G!==null&&P.types!==null&&(G.types=P.types),F.T=G}},ft.unstable_useCacheRefresh=function(){return F.H.useCacheRefresh()},ft.use=function(A){return F.H.use(A)},ft.useActionState=function(A,G,P){return F.H.useActionState(A,G,P)},ft.useCallback=function(A,G){return F.H.useCallback(A,G)},ft.useContext=function(A){return F.H.useContext(A)},ft.useDebugValue=function(){},ft.useDeferredValue=function(A,G){return F.H.useDeferredValue(A,G)},ft.useEffect=function(A,G){return F.H.useEffect(A,G)},ft.useEffectEvent=function(A){return F.H.useEffectEvent(A)},ft.useId=function(){return F.H.useId()},ft.useImperativeHandle=function(A,G,P){return F.H.useImperativeHandle(A,G,P)},ft.useInsertionEffect=function(A,G){return F.H.useInsertionEffect(A,G)},ft.useLayoutEffect=function(A,G){return F.H.useLayoutEffect(A,G)},ft.useMemo=function(A,G){return F.H.useMemo(A,G)},ft.useOptimistic=function(A,G){return F.H.useOptimistic(A,G)},ft.useReducer=function(A,G,P){return F.H.useReducer(A,G,P)},ft.useRef=function(A){return F.H.useRef(A)},ft.useState=function(A){return F.H.useState(A)},ft.useSyncExternalStore=function(A,G,P){return F.H.useSyncExternalStore(A,G,P)},ft.useTransition=function(){return F.H.useTransition()},ft.version="19.2.4",ft}var kg;function Yf(){return kg||(kg=1,Vc.exports=V2()),Vc.exports}var E=Yf();const cf=z2(E);var _c={exports:{}},Ul={},Bc={exports:{}},Lc={};/**
 * @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 Og;function _2(){return Og||(Og=1,(function(n){function i(V,Z){var J=V.length;V.push(Z);t:for(;0<J;){var ct=J-1>>>1,Q=V[ct];if(0<u(Q,Z))V[ct]=Z,V[J]=Q,J=ct;else break t}}function s(V){return V.length===0?null:V[0]}function r(V){if(V.length===0)return null;var Z=V[0],J=V.pop();if(J!==Z){V[0]=J;t:for(var ct=0,Q=V.length,A=Q>>>1;ct<A;){var G=2*(ct+1)-1,P=V[G],$=G+1,st=V[$];if(0>u(P,J))$<Q&&0>u(st,P)?(V[ct]=st,V[$]=J,ct=$):(V[ct]=P,V[G]=J,ct=G);else if($<Q&&0>u(st,J))V[ct]=st,V[$]=J,ct=$;else break t}}return Z}function u(V,Z){var J=V.sortIndex-Z.sortIndex;return J!==0?J:V.id-Z.id}if(n.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var d=performance;n.unstable_now=function(){return d.now()}}else{var f=Date,h=f.now();n.unstable_now=function(){return f.now()-h}}var g=[],m=[],y=1,v=null,S=3,T=!1,M=!1,j=!1,N=!1,D=typeof setTimeout=="function"?setTimeout:null,H=typeof clearTimeout=="function"?clearTimeout:null,B=typeof setImmediate<"u"?setImmediate:null;function X(V){for(var Z=s(m);Z!==null;){if(Z.callback===null)r(m);else if(Z.startTime<=V)r(m),Z.sortIndex=Z.expirationTime,i(g,Z);else break;Z=s(m)}}function K(V){if(j=!1,X(V),!M)if(s(g)!==null)M=!0,it||(it=!0,gt());else{var Z=s(m);Z!==null&&vt(K,Z.startTime-V)}}var it=!1,F=-1,q=5,W=-1;function tt(){return N?!0:!(n.unstable_now()-W<q)}function mt(){if(N=!1,it){var V=n.unstable_now();W=V;var Z=!0;try{t:{M=!1,j&&(j=!1,H(F),F=-1),T=!0;var J=S;try{e:{for(X(V),v=s(g);v!==null&&!(v.expirationTime>V&&tt());){var ct=v.callback;if(typeof ct=="function"){v.callback=null,S=v.priorityLevel;var Q=ct(v.expirationTime<=V);if(V=n.unstable_now(),typeof Q=="function"){v.callback=Q,X(V),Z=!0;break e}v===s(g)&&r(g),X(V)}else r(g);v=s(g)}if(v!==null)Z=!0;else{var A=s(m);A!==null&&vt(K,A.startTime-V),Z=!1}}break t}finally{v=null,S=J,T=!1}Z=void 0}}finally{Z?gt():it=!1}}}var gt;if(typeof B=="function")gt=function(){B(mt)};else if(typeof MessageChannel<"u"){var qt=new MessageChannel,Ot=qt.port2;qt.port1.onmessage=mt,gt=function(){Ot.postMessage(null)}}else gt=function(){D(mt,0)};function vt(V,Z){F=D(function(){V(n.unstable_now())},Z)}n.unstable_IdlePriority=5,n.unstable_ImmediatePriority=1,n.unstable_LowPriority=4,n.unstable_NormalPriority=3,n.unstable_Profiling=null,n.unstable_UserBlockingPriority=2,n.unstable_cancelCallback=function(V){V.callback=null},n.unstable_forceFrameRate=function(V){0>V||125<V?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):q=0<V?Math.floor(1e3/V):5},n.unstable_getCurrentPriorityLevel=function(){return S},n.unstable_next=function(V){switch(S){case 1:case 2:case 3:var Z=3;break;default:Z=S}var J=S;S=Z;try{return V()}finally{S=J}},n.unstable_requestPaint=function(){N=!0},n.unstable_runWithPriority=function(V,Z){switch(V){case 1:case 2:case 3:case 4:case 5:break;default:V=3}var J=S;S=V;try{return Z()}finally{S=J}},n.unstable_scheduleCallback=function(V,Z,J){var ct=n.unstable_now();switch(typeof J=="object"&&J!==null?(J=J.delay,J=typeof J=="number"&&0<J?ct+J:ct):J=ct,V){case 1:var Q=-1;break;case 2:Q=250;break;case 5:Q=1073741823;break;case 4:Q=1e4;break;default:Q=5e3}return Q=J+Q,V={id:y++,callback:Z,priorityLevel:V,startTime:J,expirationTime:Q,sortIndex:-1},J>ct?(V.sortIndex=J,i(m,V),s(g)===null&&V===s(m)&&(j?(H(F),F=-1):j=!0,vt(K,J-ct))):(V.sortIndex=Q,i(g,V),M||T||(M=!0,it||(it=!0,gt()))),V},n.unstable_shouldYield=tt,n.unstable_wrapCallback=function(V){var Z=S;return function(){var J=S;S=Z;try{return V.apply(this,arguments)}finally{S=J}}}})(Lc)),Lc}var Vg;function B2(){return Vg||(Vg=1,Bc.exports=_2()),Bc.exports}var Uc={exports:{}},he={};/**
 * @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 _g;function L2(){if(_g)return he;_g=1;var n=Yf();function i(g){var m="https://react.dev/errors/"+g;if(1<arguments.length){m+="?args[]="+encodeURIComponent(arguments[1]);for(var y=2;y<arguments.length;y++)m+="&args[]="+encodeURIComponent(arguments[y])}return"Minified React error #"+g+"; visit "+m+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function s(){}var r={d:{f:s,r:function(){throw Error(i(522))},D:s,C:s,L:s,m:s,X:s,S:s,M:s},p:0,findDOMNode:null},u=Symbol.for("react.portal");function d(g,m,y){var v=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:u,key:v==null?null:""+v,children:g,containerInfo:m,implementation:y}}var f=n.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function h(g,m){if(g==="font")return"";if(typeof m=="string")return m==="use-credentials"?m:""}return he.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=r,he.createPortal=function(g,m){var y=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!m||m.nodeType!==1&&m.nodeType!==9&&m.nodeType!==11)throw Error(i(299));return d(g,m,null,y)},he.flushSync=function(g){var m=f.T,y=r.p;try{if(f.T=null,r.p=2,g)return g()}finally{f.T=m,r.p=y,r.d.f()}},he.preconnect=function(g,m){typeof g=="string"&&(m?(m=m.crossOrigin,m=typeof m=="string"?m==="use-credentials"?m:"":void 0):m=null,r.d.C(g,m))},he.prefetchDNS=function(g){typeof g=="string"&&r.d.D(g)},he.preinit=function(g,m){if(typeof g=="string"&&m&&typeof m.as=="string"){var y=m.as,v=h(y,m.crossOrigin),S=typeof m.integrity=="string"?m.integrity:void 0,T=typeof m.fetchPriority=="string"?m.fetchPriority:void 0;y==="style"?r.d.S(g,typeof m.precedence=="string"?m.precedence:void 0,{crossOrigin:v,integrity:S,fetchPriority:T}):y==="script"&&r.d.X(g,{crossOrigin:v,integrity:S,fetchPriority:T,nonce:typeof m.nonce=="string"?m.nonce:void 0})}},he.preinitModule=function(g,m){if(typeof g=="string")if(typeof m=="object"&&m!==null){if(m.as==null||m.as==="script"){var y=h(m.as,m.crossOrigin);r.d.M(g,{crossOrigin:y,integrity:typeof m.integrity=="string"?m.integrity:void 0,nonce:typeof m.nonce=="string"?m.nonce:void 0})}}else m==null&&r.d.M(g)},he.preload=function(g,m){if(typeof g=="string"&&typeof m=="object"&&m!==null&&typeof m.as=="string"){var y=m.as,v=h(y,m.crossOrigin);r.d.L(g,y,{crossOrigin:v,integrity:typeof m.integrity=="string"?m.integrity:void 0,nonce:typeof m.nonce=="string"?m.nonce:void 0,type:typeof m.type=="string"?m.type:void 0,fetchPriority:typeof m.fetchPriority=="string"?m.fetchPriority:void 0,referrerPolicy:typeof m.referrerPolicy=="string"?m.referrerPolicy:void 0,imageSrcSet:typeof m.imageSrcSet=="string"?m.imageSrcSet:void 0,imageSizes:typeof m.imageSizes=="string"?m.imageSizes:void 0,media:typeof m.media=="string"?m.media:void 0})}},he.preloadModule=function(g,m){if(typeof g=="string")if(m){var y=h(m.as,m.crossOrigin);r.d.m(g,{as:typeof m.as=="string"&&m.as!=="script"?m.as:void 0,crossOrigin:y,integrity:typeof m.integrity=="string"?m.integrity:void 0})}else r.d.m(g)},he.requestFormReset=function(g){r.d.r(g)},he.unstable_batchedUpdates=function(g,m){return g(m)},he.useFormState=function(g,m,y){return f.H.useFormState(g,m,y)},he.useFormStatus=function(){return f.H.useHostTransitionStatus()},he.version="19.2.4",he}var Bg;function U2(){if(Bg)return Uc.exports;Bg=1;function n(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(n)}catch(i){console.error(i)}}return n(),Uc.exports=L2(),Uc.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 Lg;function H2(){if(Lg)return Ul;Lg=1;var n=B2(),i=Yf(),s=U2();function r(t){var e="https://react.dev/errors/"+t;if(1<arguments.length){e+="?args[]="+encodeURIComponent(arguments[1]);for(var a=2;a<arguments.length;a++)e+="&args[]="+encodeURIComponent(arguments[a])}return"Minified React error #"+t+"; visit "+e+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function u(t){return!(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11)}function d(t){var e=t,a=t;if(t.alternate)for(;e.return;)e=e.return;else{t=e;do e=t,(e.flags&4098)!==0&&(a=e.return),t=e.return;while(t)}return e.tag===3?a:null}function f(t){if(t.tag===13){var e=t.memoizedState;if(e===null&&(t=t.alternate,t!==null&&(e=t.memoizedState)),e!==null)return e.dehydrated}return null}function h(t){if(t.tag===31){var e=t.memoizedState;if(e===null&&(t=t.alternate,t!==null&&(e=t.memoizedState)),e!==null)return e.dehydrated}return null}function g(t){if(d(t)!==t)throw Error(r(188))}function m(t){var e=t.alternate;if(!e){if(e=d(t),e===null)throw Error(r(188));return e!==t?null:t}for(var a=t,l=e;;){var o=a.return;if(o===null)break;var c=o.alternate;if(c===null){if(l=o.return,l!==null){a=l;continue}break}if(o.child===c.child){for(c=o.child;c;){if(c===a)return g(o),t;if(c===l)return g(o),e;c=c.sibling}throw Error(r(188))}if(a.return!==l.return)a=o,l=c;else{for(var p=!1,x=o.child;x;){if(x===a){p=!0,a=o,l=c;break}if(x===l){p=!0,l=o,a=c;break}x=x.sibling}if(!p){for(x=c.child;x;){if(x===a){p=!0,a=c,l=o;break}if(x===l){p=!0,l=c,a=o;break}x=x.sibling}if(!p)throw Error(r(189))}}if(a.alternate!==l)throw Error(r(190))}if(a.tag!==3)throw Error(r(188));return a.stateNode.current===a?t:e}function y(t){var e=t.tag;if(e===5||e===26||e===27||e===6)return t;for(t=t.child;t!==null;){if(e=y(t),e!==null)return e;t=t.sibling}return null}var v=Object.assign,S=Symbol.for("react.element"),T=Symbol.for("react.transitional.element"),M=Symbol.for("react.portal"),j=Symbol.for("react.fragment"),N=Symbol.for("react.strict_mode"),D=Symbol.for("react.profiler"),H=Symbol.for("react.consumer"),B=Symbol.for("react.context"),X=Symbol.for("react.forward_ref"),K=Symbol.for("react.suspense"),it=Symbol.for("react.suspense_list"),F=Symbol.for("react.memo"),q=Symbol.for("react.lazy"),W=Symbol.for("react.activity"),tt=Symbol.for("react.memo_cache_sentinel"),mt=Symbol.iterator;function gt(t){return t===null||typeof t!="object"?null:(t=mt&&t[mt]||t["@@iterator"],typeof t=="function"?t:null)}var qt=Symbol.for("react.client.reference");function Ot(t){if(t==null)return null;if(typeof t=="function")return t.$$typeof===qt?null:t.displayName||t.name||null;if(typeof t=="string")return t;switch(t){case j:return"Fragment";case D:return"Profiler";case N:return"StrictMode";case K:return"Suspense";case it:return"SuspenseList";case W:return"Activity"}if(typeof t=="object")switch(t.$$typeof){case M:return"Portal";case B:return t.displayName||"Context";case H:return(t._context.displayName||"Context")+".Consumer";case X:var e=t.render;return t=t.displayName,t||(t=e.displayName||e.name||"",t=t!==""?"ForwardRef("+t+")":"ForwardRef"),t;case F:return e=t.displayName||null,e!==null?e:Ot(t.type)||"Memo";case q:e=t._payload,t=t._init;try{return Ot(t(e))}catch{}}return null}var vt=Array.isArray,V=i.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Z=s.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,J={pending:!1,data:null,method:null,action:null},ct=[],Q=-1;function A(t){return{current:t}}function G(t){0>Q||(t.current=ct[Q],ct[Q]=null,Q--)}function P(t,e){Q++,ct[Q]=t.current,t.current=e}var $=A(null),st=A(null),ot=A(null),Tt=A(null);function ne(t,e){switch(P(ot,e),P(st,t),P($,null),e.nodeType){case 9:case 11:t=(t=e.documentElement)&&(t=t.namespaceURI)?Ip(t):0;break;default:if(t=e.tagName,e=e.namespaceURI)e=Ip(e),t=tg(e,t);else switch(t){case"svg":t=1;break;case"math":t=2;break;default:t=0}}G($),P($,t)}function pt(){G($),G(st),G(ot)}function Ln(t){t.memoizedState!==null&&P(Tt,t);var e=$.current,a=tg(e,t.type);e!==a&&(P(st,t),P($,a))}function pn(t){st.current===t&&(G($),G(st)),Tt.current===t&&(G(Tt),Ol._currentValue=J)}var Un,Za;function Be(t){if(Un===void 0)try{throw Error()}catch(a){var e=a.stack.trim().match(/\n( *(at )?)/);Un=e&&e[1]||"",Za=-1<a.stack.indexOf(`
    at`)?" (<anonymous>)":-1<a.stack.indexOf("@")?"@unknown:0:0":""}return`
`+Un+t+Za}var yo=!1;function vo(t,e){if(!t||yo)return"";yo=!0;var a=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var l={DetermineComponentFrameRoot:function(){try{if(e){var Y=function(){throw Error()};if(Object.defineProperty(Y.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(Y,[])}catch(_){var O=_}Reflect.construct(t,[],Y)}else{try{Y.call()}catch(_){O=_}t.call(Y.prototype)}}else{try{throw Error()}catch(_){O=_}(Y=t())&&typeof Y.catch=="function"&&Y.catch(function(){})}}catch(_){if(_&&O&&typeof _.stack=="string")return[_.stack,O.stack]}return[null,null]}};l.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var o=Object.getOwnPropertyDescriptor(l.DetermineComponentFrameRoot,"name");o&&o.configurable&&Object.defineProperty(l.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var c=l.DetermineComponentFrameRoot(),p=c[0],x=c[1];if(p&&x){var w=p.split(`
`),k=x.split(`
`);for(o=l=0;l<w.length&&!w[l].includes("DetermineComponentFrameRoot");)l++;for(;o<k.length&&!k[o].includes("DetermineComponentFrameRoot");)o++;if(l===w.length||o===k.length)for(l=w.length-1,o=k.length-1;1<=l&&0<=o&&w[l]!==k[o];)o--;for(;1<=l&&0<=o;l--,o--)if(w[l]!==k[o]){if(l!==1||o!==1)do if(l--,o--,0>o||w[l]!==k[o]){var L=`
`+w[l].replace(" at new "," at ");return t.displayName&&L.includes("<anonymous>")&&(L=L.replace("<anonymous>",t.displayName)),L}while(1<=l&&0<=o);break}}}finally{yo=!1,Error.prepareStackTrace=a}return(a=t?t.displayName||t.name:"")?Be(a):""}function u1(t,e){switch(t.tag){case 26:case 27:case 5:return Be(t.type);case 16:return Be("Lazy");case 13:return t.child!==e&&e!==null?Be("Suspense Fallback"):Be("Suspense");case 19:return Be("SuspenseList");case 0:case 15:return vo(t.type,!1);case 11:return vo(t.type.render,!1);case 1:return vo(t.type,!0);case 31:return Be("Activity");default:return""}}function jd(t){try{var e="",a=null;do e+=u1(t,a),a=t,t=t.return;while(t);return e}catch(l){return`
Error generating stack: `+l.message+`
`+l.stack}}var bo=Object.prototype.hasOwnProperty,xo=n.unstable_scheduleCallback,So=n.unstable_cancelCallback,c1=n.unstable_shouldYield,f1=n.unstable_requestPaint,Ce=n.unstable_now,d1=n.unstable_getCurrentPriorityLevel,Dd=n.unstable_ImmediatePriority,zd=n.unstable_UserBlockingPriority,cs=n.unstable_NormalPriority,h1=n.unstable_LowPriority,kd=n.unstable_IdlePriority,m1=n.log,p1=n.unstable_setDisableYieldValue,Qi=null,Me=null;function Hn(t){if(typeof m1=="function"&&p1(t),Me&&typeof Me.setStrictMode=="function")try{Me.setStrictMode(Qi,t)}catch{}}var Re=Math.clz32?Math.clz32:v1,g1=Math.log,y1=Math.LN2;function v1(t){return t>>>=0,t===0?32:31-(g1(t)/y1|0)|0}var fs=256,ds=262144,hs=4194304;function xa(t){var e=t&42;if(e!==0)return e;switch(t&-t){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return t&261888;case 262144:case 524288:case 1048576:case 2097152:return t&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return t&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return t}}function ms(t,e,a){var l=t.pendingLanes;if(l===0)return 0;var o=0,c=t.suspendedLanes,p=t.pingedLanes;t=t.warmLanes;var x=l&134217727;return x!==0?(l=x&~c,l!==0?o=xa(l):(p&=x,p!==0?o=xa(p):a||(a=x&~t,a!==0&&(o=xa(a))))):(x=l&~c,x!==0?o=xa(x):p!==0?o=xa(p):a||(a=l&~t,a!==0&&(o=xa(a)))),o===0?0:e!==0&&e!==o&&(e&c)===0&&(c=o&-o,a=e&-e,c>=a||c===32&&(a&4194048)!==0)?e:o}function Zi(t,e){return(t.pendingLanes&~(t.suspendedLanes&~t.pingedLanes)&e)===0}function b1(t,e){switch(t){case 1:case 2:case 4:case 8:case 64:return e+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function Od(){var t=hs;return hs<<=1,(hs&62914560)===0&&(hs=4194304),t}function wo(t){for(var e=[],a=0;31>a;a++)e.push(t);return e}function Pi(t,e){t.pendingLanes|=e,e!==268435456&&(t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0)}function x1(t,e,a,l,o,c){var p=t.pendingLanes;t.pendingLanes=a,t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0,t.expiredLanes&=a,t.entangledLanes&=a,t.errorRecoveryDisabledLanes&=a,t.shellSuspendCounter=0;var x=t.entanglements,w=t.expirationTimes,k=t.hiddenUpdates;for(a=p&~a;0<a;){var L=31-Re(a),Y=1<<L;x[L]=0,w[L]=-1;var O=k[L];if(O!==null)for(k[L]=null,L=0;L<O.length;L++){var _=O[L];_!==null&&(_.lane&=-536870913)}a&=~Y}l!==0&&Vd(t,l,0),c!==0&&o===0&&t.tag!==0&&(t.suspendedLanes|=c&~(p&~e))}function Vd(t,e,a){t.pendingLanes|=e,t.suspendedLanes&=~e;var l=31-Re(e);t.entangledLanes|=e,t.entanglements[l]=t.entanglements[l]|1073741824|a&261930}function _d(t,e){var a=t.entangledLanes|=e;for(t=t.entanglements;a;){var l=31-Re(a),o=1<<l;o&e|t[l]&e&&(t[l]|=e),a&=~o}}function Bd(t,e){var a=e&-e;return a=(a&42)!==0?1:To(a),(a&(t.suspendedLanes|e))!==0?0:a}function To(t){switch(t){case 2:t=1;break;case 8:t=4;break;case 32:t=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:t=128;break;case 268435456:t=134217728;break;default:t=0}return t}function Eo(t){return t&=-t,2<t?8<t?(t&134217727)!==0?32:268435456:8:2}function Ld(){var t=Z.p;return t!==0?t:(t=window.event,t===void 0?32:Tg(t.type))}function Ud(t,e){var a=Z.p;try{return Z.p=t,e()}finally{Z.p=a}}var qn=Math.random().toString(36).slice(2),re="__reactFiber$"+qn,ye="__reactProps$"+qn,Pa="__reactContainer$"+qn,Ao="__reactEvents$"+qn,S1="__reactListeners$"+qn,w1="__reactHandles$"+qn,Hd="__reactResources$"+qn,Fi="__reactMarker$"+qn;function Co(t){delete t[re],delete t[ye],delete t[Ao],delete t[S1],delete t[w1]}function Fa(t){var e=t[re];if(e)return e;for(var a=t.parentNode;a;){if(e=a[Pa]||a[re]){if(a=e.alternate,e.child!==null||a!==null&&a.child!==null)for(t=rg(t);t!==null;){if(a=t[re])return a;t=rg(t)}return e}t=a,a=t.parentNode}return null}function Ja(t){if(t=t[re]||t[Pa]){var e=t.tag;if(e===5||e===6||e===13||e===31||e===26||e===27||e===3)return t}return null}function Ji(t){var e=t.tag;if(e===5||e===26||e===27||e===6)return t.stateNode;throw Error(r(33))}function Wa(t){var e=t[Hd];return e||(e=t[Hd]={hoistableStyles:new Map,hoistableScripts:new Map}),e}function ae(t){t[Fi]=!0}var qd=new Set,Gd={};function Sa(t,e){$a(t,e),$a(t+"Capture",e)}function $a(t,e){for(Gd[t]=e,t=0;t<e.length;t++)qd.add(e[t])}var T1=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]*$"),Yd={},Xd={};function E1(t){return bo.call(Xd,t)?!0:bo.call(Yd,t)?!1:T1.test(t)?Xd[t]=!0:(Yd[t]=!0,!1)}function ps(t,e,a){if(E1(e))if(a===null)t.removeAttribute(e);else{switch(typeof a){case"undefined":case"function":case"symbol":t.removeAttribute(e);return;case"boolean":var l=e.toLowerCase().slice(0,5);if(l!=="data-"&&l!=="aria-"){t.removeAttribute(e);return}}t.setAttribute(e,""+a)}}function gs(t,e,a){if(a===null)t.removeAttribute(e);else{switch(typeof a){case"undefined":case"function":case"symbol":case"boolean":t.removeAttribute(e);return}t.setAttribute(e,""+a)}}function gn(t,e,a,l){if(l===null)t.removeAttribute(a);else{switch(typeof l){case"undefined":case"function":case"symbol":case"boolean":t.removeAttribute(a);return}t.setAttributeNS(e,a,""+l)}}function Le(t){switch(typeof t){case"bigint":case"boolean":case"number":case"string":case"undefined":return t;case"object":return t;default:return""}}function Kd(t){var e=t.type;return(t=t.nodeName)&&t.toLowerCase()==="input"&&(e==="checkbox"||e==="radio")}function A1(t,e,a){var l=Object.getOwnPropertyDescriptor(t.constructor.prototype,e);if(!t.hasOwnProperty(e)&&typeof l<"u"&&typeof l.get=="function"&&typeof l.set=="function"){var o=l.get,c=l.set;return Object.defineProperty(t,e,{configurable:!0,get:function(){return o.call(this)},set:function(p){a=""+p,c.call(this,p)}}),Object.defineProperty(t,e,{enumerable:l.enumerable}),{getValue:function(){return a},setValue:function(p){a=""+p},stopTracking:function(){t._valueTracker=null,delete t[e]}}}}function Mo(t){if(!t._valueTracker){var e=Kd(t)?"checked":"value";t._valueTracker=A1(t,e,""+t[e])}}function Qd(t){if(!t)return!1;var e=t._valueTracker;if(!e)return!0;var a=e.getValue(),l="";return t&&(l=Kd(t)?t.checked?"true":"false":t.value),t=l,t!==a?(e.setValue(t),!0):!1}function ys(t){if(t=t||(typeof document<"u"?document:void 0),typeof t>"u")return null;try{return t.activeElement||t.body}catch{return t.body}}var C1=/[\n"\\]/g;function Ue(t){return t.replace(C1,function(e){return"\\"+e.charCodeAt(0).toString(16)+" "})}function Ro(t,e,a,l,o,c,p,x){t.name="",p!=null&&typeof p!="function"&&typeof p!="symbol"&&typeof p!="boolean"?t.type=p:t.removeAttribute("type"),e!=null?p==="number"?(e===0&&t.value===""||t.value!=e)&&(t.value=""+Le(e)):t.value!==""+Le(e)&&(t.value=""+Le(e)):p!=="submit"&&p!=="reset"||t.removeAttribute("value"),e!=null?No(t,p,Le(e)):a!=null?No(t,p,Le(a)):l!=null&&t.removeAttribute("value"),o==null&&c!=null&&(t.defaultChecked=!!c),o!=null&&(t.checked=o&&typeof o!="function"&&typeof o!="symbol"),x!=null&&typeof x!="function"&&typeof x!="symbol"&&typeof x!="boolean"?t.name=""+Le(x):t.removeAttribute("name")}function Zd(t,e,a,l,o,c,p,x){if(c!=null&&typeof c!="function"&&typeof c!="symbol"&&typeof c!="boolean"&&(t.type=c),e!=null||a!=null){if(!(c!=="submit"&&c!=="reset"||e!=null)){Mo(t);return}a=a!=null?""+Le(a):"",e=e!=null?""+Le(e):a,x||e===t.value||(t.value=e),t.defaultValue=e}l=l??o,l=typeof l!="function"&&typeof l!="symbol"&&!!l,t.checked=x?t.checked:!!l,t.defaultChecked=!!l,p!=null&&typeof p!="function"&&typeof p!="symbol"&&typeof p!="boolean"&&(t.name=p),Mo(t)}function No(t,e,a){e==="number"&&ys(t.ownerDocument)===t||t.defaultValue===""+a||(t.defaultValue=""+a)}function Ia(t,e,a,l){if(t=t.options,e){e={};for(var o=0;o<a.length;o++)e["$"+a[o]]=!0;for(a=0;a<t.length;a++)o=e.hasOwnProperty("$"+t[a].value),t[a].selected!==o&&(t[a].selected=o),o&&l&&(t[a].defaultSelected=!0)}else{for(a=""+Le(a),e=null,o=0;o<t.length;o++){if(t[o].value===a){t[o].selected=!0,l&&(t[o].defaultSelected=!0);return}e!==null||t[o].disabled||(e=t[o])}e!==null&&(e.selected=!0)}}function Pd(t,e,a){if(e!=null&&(e=""+Le(e),e!==t.value&&(t.value=e),a==null)){t.defaultValue!==e&&(t.defaultValue=e);return}t.defaultValue=a!=null?""+Le(a):""}function Fd(t,e,a,l){if(e==null){if(l!=null){if(a!=null)throw Error(r(92));if(vt(l)){if(1<l.length)throw Error(r(93));l=l[0]}a=l}a==null&&(a=""),e=a}a=Le(e),t.defaultValue=a,l=t.textContent,l===a&&l!==""&&l!==null&&(t.value=l),Mo(t)}function ti(t,e){if(e){var a=t.firstChild;if(a&&a===t.lastChild&&a.nodeType===3){a.nodeValue=e;return}}t.textContent=e}var M1=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 Jd(t,e,a){var l=e.indexOf("--")===0;a==null||typeof a=="boolean"||a===""?l?t.setProperty(e,""):e==="float"?t.cssFloat="":t[e]="":l?t.setProperty(e,a):typeof a!="number"||a===0||M1.has(e)?e==="float"?t.cssFloat=a:t[e]=(""+a).trim():t[e]=a+"px"}function Wd(t,e,a){if(e!=null&&typeof e!="object")throw Error(r(62));if(t=t.style,a!=null){for(var l in a)!a.hasOwnProperty(l)||e!=null&&e.hasOwnProperty(l)||(l.indexOf("--")===0?t.setProperty(l,""):l==="float"?t.cssFloat="":t[l]="");for(var o in e)l=e[o],e.hasOwnProperty(o)&&a[o]!==l&&Jd(t,o,l)}else for(var c in e)e.hasOwnProperty(c)&&Jd(t,c,e[c])}function jo(t){if(t.indexOf("-")===-1)return!1;switch(t){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var R1=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"]]),N1=/^[\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 vs(t){return N1.test(""+t)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":t}function yn(){}var Do=null;function zo(t){return t=t.target||t.srcElement||window,t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===3?t.parentNode:t}var ei=null,ni=null;function $d(t){var e=Ja(t);if(e&&(t=e.stateNode)){var a=t[ye]||null;t:switch(t=e.stateNode,e.type){case"input":if(Ro(t,a.value,a.defaultValue,a.defaultValue,a.checked,a.defaultChecked,a.type,a.name),e=a.name,a.type==="radio"&&e!=null){for(a=t;a.parentNode;)a=a.parentNode;for(a=a.querySelectorAll('input[name="'+Ue(""+e)+'"][type="radio"]'),e=0;e<a.length;e++){var l=a[e];if(l!==t&&l.form===t.form){var o=l[ye]||null;if(!o)throw Error(r(90));Ro(l,o.value,o.defaultValue,o.defaultValue,o.checked,o.defaultChecked,o.type,o.name)}}for(e=0;e<a.length;e++)l=a[e],l.form===t.form&&Qd(l)}break t;case"textarea":Pd(t,a.value,a.defaultValue);break t;case"select":e=a.value,e!=null&&Ia(t,!!a.multiple,e,!1)}}}var ko=!1;function Id(t,e,a){if(ko)return t(e,a);ko=!0;try{var l=t(e);return l}finally{if(ko=!1,(ei!==null||ni!==null)&&(lr(),ei&&(e=ei,t=ni,ni=ei=null,$d(e),t)))for(e=0;e<t.length;e++)$d(t[e])}}function Wi(t,e){var a=t.stateNode;if(a===null)return null;var l=a[ye]||null;if(l===null)return null;a=l[e];t:switch(e){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(l=!l.disabled)||(t=t.type,l=!(t==="button"||t==="input"||t==="select"||t==="textarea")),t=!l;break t;default:t=!1}if(t)return null;if(a&&typeof a!="function")throw Error(r(231,e,typeof a));return a}var vn=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Oo=!1;if(vn)try{var $i={};Object.defineProperty($i,"passive",{get:function(){Oo=!0}}),window.addEventListener("test",$i,$i),window.removeEventListener("test",$i,$i)}catch{Oo=!1}var Gn=null,Vo=null,bs=null;function th(){if(bs)return bs;var t,e=Vo,a=e.length,l,o="value"in Gn?Gn.value:Gn.textContent,c=o.length;for(t=0;t<a&&e[t]===o[t];t++);var p=a-t;for(l=1;l<=p&&e[a-l]===o[c-l];l++);return bs=o.slice(t,1<l?1-l:void 0)}function xs(t){var e=t.keyCode;return"charCode"in t?(t=t.charCode,t===0&&e===13&&(t=13)):t=e,t===10&&(t=13),32<=t||t===13?t:0}function Ss(){return!0}function eh(){return!1}function ve(t){function e(a,l,o,c,p){this._reactName=a,this._targetInst=o,this.type=l,this.nativeEvent=c,this.target=p,this.currentTarget=null;for(var x in t)t.hasOwnProperty(x)&&(a=t[x],this[x]=a?a(c):c[x]);return this.isDefaultPrevented=(c.defaultPrevented!=null?c.defaultPrevented:c.returnValue===!1)?Ss:eh,this.isPropagationStopped=eh,this}return v(e.prototype,{preventDefault:function(){this.defaultPrevented=!0;var a=this.nativeEvent;a&&(a.preventDefault?a.preventDefault():typeof a.returnValue!="unknown"&&(a.returnValue=!1),this.isDefaultPrevented=Ss)},stopPropagation:function(){var a=this.nativeEvent;a&&(a.stopPropagation?a.stopPropagation():typeof a.cancelBubble!="unknown"&&(a.cancelBubble=!0),this.isPropagationStopped=Ss)},persist:function(){},isPersistent:Ss}),e}var wa={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(t){return t.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},ws=ve(wa),Ii=v({},wa,{view:0,detail:0}),j1=ve(Ii),_o,Bo,tl,Ts=v({},Ii,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Uo,button:0,buttons:0,relatedTarget:function(t){return t.relatedTarget===void 0?t.fromElement===t.srcElement?t.toElement:t.fromElement:t.relatedTarget},movementX:function(t){return"movementX"in t?t.movementX:(t!==tl&&(tl&&t.type==="mousemove"?(_o=t.screenX-tl.screenX,Bo=t.screenY-tl.screenY):Bo=_o=0,tl=t),_o)},movementY:function(t){return"movementY"in t?t.movementY:Bo}}),nh=ve(Ts),D1=v({},Ts,{dataTransfer:0}),z1=ve(D1),k1=v({},Ii,{relatedTarget:0}),Lo=ve(k1),O1=v({},wa,{animationName:0,elapsedTime:0,pseudoElement:0}),V1=ve(O1),_1=v({},wa,{clipboardData:function(t){return"clipboardData"in t?t.clipboardData:window.clipboardData}}),B1=ve(_1),L1=v({},wa,{data:0}),ah=ve(L1),U1={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},H1={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"},q1={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function G1(t){var e=this.nativeEvent;return e.getModifierState?e.getModifierState(t):(t=q1[t])?!!e[t]:!1}function Uo(){return G1}var Y1=v({},Ii,{key:function(t){if(t.key){var e=U1[t.key]||t.key;if(e!=="Unidentified")return e}return t.type==="keypress"?(t=xs(t),t===13?"Enter":String.fromCharCode(t)):t.type==="keydown"||t.type==="keyup"?H1[t.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Uo,charCode:function(t){return t.type==="keypress"?xs(t):0},keyCode:function(t){return t.type==="keydown"||t.type==="keyup"?t.keyCode:0},which:function(t){return t.type==="keypress"?xs(t):t.type==="keydown"||t.type==="keyup"?t.keyCode:0}}),X1=ve(Y1),K1=v({},Ts,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),ih=ve(K1),Q1=v({},Ii,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Uo}),Z1=ve(Q1),P1=v({},wa,{propertyName:0,elapsedTime:0,pseudoElement:0}),F1=ve(P1),J1=v({},Ts,{deltaX:function(t){return"deltaX"in t?t.deltaX:"wheelDeltaX"in t?-t.wheelDeltaX:0},deltaY:function(t){return"deltaY"in t?t.deltaY:"wheelDeltaY"in t?-t.wheelDeltaY:"wheelDelta"in t?-t.wheelDelta:0},deltaZ:0,deltaMode:0}),W1=ve(J1),$1=v({},wa,{newState:0,oldState:0}),I1=ve($1),tx=[9,13,27,32],Ho=vn&&"CompositionEvent"in window,el=null;vn&&"documentMode"in document&&(el=document.documentMode);var ex=vn&&"TextEvent"in window&&!el,lh=vn&&(!Ho||el&&8<el&&11>=el),sh=" ",rh=!1;function oh(t,e){switch(t){case"keyup":return tx.indexOf(e.keyCode)!==-1;case"keydown":return e.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function uh(t){return t=t.detail,typeof t=="object"&&"data"in t?t.data:null}var ai=!1;function nx(t,e){switch(t){case"compositionend":return uh(e);case"keypress":return e.which!==32?null:(rh=!0,sh);case"textInput":return t=e.data,t===sh&&rh?null:t;default:return null}}function ax(t,e){if(ai)return t==="compositionend"||!Ho&&oh(t,e)?(t=th(),bs=Vo=Gn=null,ai=!1,t):null;switch(t){case"paste":return null;case"keypress":if(!(e.ctrlKey||e.altKey||e.metaKey)||e.ctrlKey&&e.altKey){if(e.char&&1<e.char.length)return e.char;if(e.which)return String.fromCharCode(e.which)}return null;case"compositionend":return lh&&e.locale!=="ko"?null:e.data;default:return null}}var ix={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 ch(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return e==="input"?!!ix[t.type]:e==="textarea"}function fh(t,e,a,l){ei?ni?ni.push(l):ni=[l]:ei=l,e=dr(e,"onChange"),0<e.length&&(a=new ws("onChange","change",null,a,l),t.push({event:a,listeners:e}))}var nl=null,al=null;function lx(t){Zp(t,0)}function Es(t){var e=Ji(t);if(Qd(e))return t}function dh(t,e){if(t==="change")return e}var hh=!1;if(vn){var qo;if(vn){var Go="oninput"in document;if(!Go){var mh=document.createElement("div");mh.setAttribute("oninput","return;"),Go=typeof mh.oninput=="function"}qo=Go}else qo=!1;hh=qo&&(!document.documentMode||9<document.documentMode)}function ph(){nl&&(nl.detachEvent("onpropertychange",gh),al=nl=null)}function gh(t){if(t.propertyName==="value"&&Es(al)){var e=[];fh(e,al,t,zo(t)),Id(lx,e)}}function sx(t,e,a){t==="focusin"?(ph(),nl=e,al=a,nl.attachEvent("onpropertychange",gh)):t==="focusout"&&ph()}function rx(t){if(t==="selectionchange"||t==="keyup"||t==="keydown")return Es(al)}function ox(t,e){if(t==="click")return Es(e)}function ux(t,e){if(t==="input"||t==="change")return Es(e)}function cx(t,e){return t===e&&(t!==0||1/t===1/e)||t!==t&&e!==e}var Ne=typeof Object.is=="function"?Object.is:cx;function il(t,e){if(Ne(t,e))return!0;if(typeof t!="object"||t===null||typeof e!="object"||e===null)return!1;var a=Object.keys(t),l=Object.keys(e);if(a.length!==l.length)return!1;for(l=0;l<a.length;l++){var o=a[l];if(!bo.call(e,o)||!Ne(t[o],e[o]))return!1}return!0}function yh(t){for(;t&&t.firstChild;)t=t.firstChild;return t}function vh(t,e){var a=yh(t);t=0;for(var l;a;){if(a.nodeType===3){if(l=t+a.textContent.length,t<=e&&l>=e)return{node:a,offset:e-t};t=l}t:{for(;a;){if(a.nextSibling){a=a.nextSibling;break t}a=a.parentNode}a=void 0}a=yh(a)}}function bh(t,e){return t&&e?t===e?!0:t&&t.nodeType===3?!1:e&&e.nodeType===3?bh(t,e.parentNode):"contains"in t?t.contains(e):t.compareDocumentPosition?!!(t.compareDocumentPosition(e)&16):!1:!1}function xh(t){t=t!=null&&t.ownerDocument!=null&&t.ownerDocument.defaultView!=null?t.ownerDocument.defaultView:window;for(var e=ys(t.document);e instanceof t.HTMLIFrameElement;){try{var a=typeof e.contentWindow.location.href=="string"}catch{a=!1}if(a)t=e.contentWindow;else break;e=ys(t.document)}return e}function Yo(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return e&&(e==="input"&&(t.type==="text"||t.type==="search"||t.type==="tel"||t.type==="url"||t.type==="password")||e==="textarea"||t.contentEditable==="true")}var fx=vn&&"documentMode"in document&&11>=document.documentMode,ii=null,Xo=null,ll=null,Ko=!1;function Sh(t,e,a){var l=a.window===a?a.document:a.nodeType===9?a:a.ownerDocument;Ko||ii==null||ii!==ys(l)||(l=ii,"selectionStart"in l&&Yo(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}),ll&&il(ll,l)||(ll=l,l=dr(Xo,"onSelect"),0<l.length&&(e=new ws("onSelect","select",null,e,a),t.push({event:e,listeners:l}),e.target=ii)))}function Ta(t,e){var a={};return a[t.toLowerCase()]=e.toLowerCase(),a["Webkit"+t]="webkit"+e,a["Moz"+t]="moz"+e,a}var li={animationend:Ta("Animation","AnimationEnd"),animationiteration:Ta("Animation","AnimationIteration"),animationstart:Ta("Animation","AnimationStart"),transitionrun:Ta("Transition","TransitionRun"),transitionstart:Ta("Transition","TransitionStart"),transitioncancel:Ta("Transition","TransitionCancel"),transitionend:Ta("Transition","TransitionEnd")},Qo={},wh={};vn&&(wh=document.createElement("div").style,"AnimationEvent"in window||(delete li.animationend.animation,delete li.animationiteration.animation,delete li.animationstart.animation),"TransitionEvent"in window||delete li.transitionend.transition);function Ea(t){if(Qo[t])return Qo[t];if(!li[t])return t;var e=li[t],a;for(a in e)if(e.hasOwnProperty(a)&&a in wh)return Qo[t]=e[a];return t}var Th=Ea("animationend"),Eh=Ea("animationiteration"),Ah=Ea("animationstart"),dx=Ea("transitionrun"),hx=Ea("transitionstart"),mx=Ea("transitioncancel"),Ch=Ea("transitionend"),Mh=new Map,Zo="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(" ");Zo.push("scrollEnd");function We(t,e){Mh.set(t,e),Sa(e,[t])}var As=typeof reportError=="function"?reportError:function(t){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var e=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof t=="object"&&t!==null&&typeof t.message=="string"?String(t.message):String(t),error:t});if(!window.dispatchEvent(e))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",t);return}console.error(t)},He=[],si=0,Po=0;function Cs(){for(var t=si,e=Po=si=0;e<t;){var a=He[e];He[e++]=null;var l=He[e];He[e++]=null;var o=He[e];He[e++]=null;var c=He[e];if(He[e++]=null,l!==null&&o!==null){var p=l.pending;p===null?o.next=o:(o.next=p.next,p.next=o),l.pending=o}c!==0&&Rh(a,o,c)}}function Ms(t,e,a,l){He[si++]=t,He[si++]=e,He[si++]=a,He[si++]=l,Po|=l,t.lanes|=l,t=t.alternate,t!==null&&(t.lanes|=l)}function Fo(t,e,a,l){return Ms(t,e,a,l),Rs(t)}function Aa(t,e){return Ms(t,null,null,e),Rs(t)}function Rh(t,e,a){t.lanes|=a;var l=t.alternate;l!==null&&(l.lanes|=a);for(var o=!1,c=t.return;c!==null;)c.childLanes|=a,l=c.alternate,l!==null&&(l.childLanes|=a),c.tag===22&&(t=c.stateNode,t===null||t._visibility&1||(o=!0)),t=c,c=c.return;return t.tag===3?(c=t.stateNode,o&&e!==null&&(o=31-Re(a),t=c.hiddenUpdates,l=t[o],l===null?t[o]=[e]:l.push(e),e.lane=a|536870912),c):null}function Rs(t){if(50<Ml)throw Ml=0,ic=null,Error(r(185));for(var e=t.return;e!==null;)t=e,e=t.return;return t.tag===3?t.stateNode:null}var ri={};function px(t,e,a,l){this.tag=t,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=e,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=l,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function je(t,e,a,l){return new px(t,e,a,l)}function Jo(t){return t=t.prototype,!(!t||!t.isReactComponent)}function bn(t,e){var a=t.alternate;return a===null?(a=je(t.tag,e,t.key,t.mode),a.elementType=t.elementType,a.type=t.type,a.stateNode=t.stateNode,a.alternate=t,t.alternate=a):(a.pendingProps=e,a.type=t.type,a.flags=0,a.subtreeFlags=0,a.deletions=null),a.flags=t.flags&65011712,a.childLanes=t.childLanes,a.lanes=t.lanes,a.child=t.child,a.memoizedProps=t.memoizedProps,a.memoizedState=t.memoizedState,a.updateQueue=t.updateQueue,e=t.dependencies,a.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext},a.sibling=t.sibling,a.index=t.index,a.ref=t.ref,a.refCleanup=t.refCleanup,a}function Nh(t,e){t.flags&=65011714;var a=t.alternate;return a===null?(t.childLanes=0,t.lanes=e,t.child=null,t.subtreeFlags=0,t.memoizedProps=null,t.memoizedState=null,t.updateQueue=null,t.dependencies=null,t.stateNode=null):(t.childLanes=a.childLanes,t.lanes=a.lanes,t.child=a.child,t.subtreeFlags=0,t.deletions=null,t.memoizedProps=a.memoizedProps,t.memoizedState=a.memoizedState,t.updateQueue=a.updateQueue,t.type=a.type,e=a.dependencies,t.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),t}function Ns(t,e,a,l,o,c){var p=0;if(l=t,typeof t=="function")Jo(t)&&(p=1);else if(typeof t=="string")p=x2(t,a,$.current)?26:t==="html"||t==="head"||t==="body"?27:5;else t:switch(t){case W:return t=je(31,a,e,o),t.elementType=W,t.lanes=c,t;case j:return Ca(a.children,o,c,e);case N:p=8,o|=24;break;case D:return t=je(12,a,e,o|2),t.elementType=D,t.lanes=c,t;case K:return t=je(13,a,e,o),t.elementType=K,t.lanes=c,t;case it:return t=je(19,a,e,o),t.elementType=it,t.lanes=c,t;default:if(typeof t=="object"&&t!==null)switch(t.$$typeof){case B:p=10;break t;case H:p=9;break t;case X:p=11;break t;case F:p=14;break t;case q:p=16,l=null;break t}p=29,a=Error(r(130,t===null?"null":typeof t,"")),l=null}return e=je(p,a,e,o),e.elementType=t,e.type=l,e.lanes=c,e}function Ca(t,e,a,l){return t=je(7,t,l,e),t.lanes=a,t}function Wo(t,e,a){return t=je(6,t,null,e),t.lanes=a,t}function jh(t){var e=je(18,null,null,0);return e.stateNode=t,e}function $o(t,e,a){return e=je(4,t.children!==null?t.children:[],t.key,e),e.lanes=a,e.stateNode={containerInfo:t.containerInfo,pendingChildren:null,implementation:t.implementation},e}var Dh=new WeakMap;function qe(t,e){if(typeof t=="object"&&t!==null){var a=Dh.get(t);return a!==void 0?a:(e={value:t,source:e,stack:jd(e)},Dh.set(t,e),e)}return{value:t,source:e,stack:jd(e)}}var oi=[],ui=0,js=null,sl=0,Ge=[],Ye=0,Yn=null,sn=1,rn="";function xn(t,e){oi[ui++]=sl,oi[ui++]=js,js=t,sl=e}function zh(t,e,a){Ge[Ye++]=sn,Ge[Ye++]=rn,Ge[Ye++]=Yn,Yn=t;var l=sn;t=rn;var o=32-Re(l)-1;l&=~(1<<o),a+=1;var c=32-Re(e)+o;if(30<c){var p=o-o%5;c=(l&(1<<p)-1).toString(32),l>>=p,o-=p,sn=1<<32-Re(e)+o|a<<o|l,rn=c+t}else sn=1<<c|a<<o|l,rn=t}function Io(t){t.return!==null&&(xn(t,1),zh(t,1,0))}function tu(t){for(;t===js;)js=oi[--ui],oi[ui]=null,sl=oi[--ui],oi[ui]=null;for(;t===Yn;)Yn=Ge[--Ye],Ge[Ye]=null,rn=Ge[--Ye],Ge[Ye]=null,sn=Ge[--Ye],Ge[Ye]=null}function kh(t,e){Ge[Ye++]=sn,Ge[Ye++]=rn,Ge[Ye++]=Yn,sn=e.id,rn=e.overflow,Yn=t}var oe=null,_t=null,Et=!1,Xn=null,Xe=!1,eu=Error(r(519));function Kn(t){var e=Error(r(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw rl(qe(e,t)),eu}function Oh(t){var e=t.stateNode,a=t.type,l=t.memoizedProps;switch(e[re]=t,e[ye]=l,a){case"dialog":xt("cancel",e),xt("close",e);break;case"iframe":case"object":case"embed":xt("load",e);break;case"video":case"audio":for(a=0;a<Nl.length;a++)xt(Nl[a],e);break;case"source":xt("error",e);break;case"img":case"image":case"link":xt("error",e),xt("load",e);break;case"details":xt("toggle",e);break;case"input":xt("invalid",e),Zd(e,l.value,l.defaultValue,l.checked,l.defaultChecked,l.type,l.name,!0);break;case"select":xt("invalid",e);break;case"textarea":xt("invalid",e),Fd(e,l.value,l.defaultValue,l.children)}a=l.children,typeof a!="string"&&typeof a!="number"&&typeof a!="bigint"||e.textContent===""+a||l.suppressHydrationWarning===!0||Wp(e.textContent,a)?(l.popover!=null&&(xt("beforetoggle",e),xt("toggle",e)),l.onScroll!=null&&xt("scroll",e),l.onScrollEnd!=null&&xt("scrollend",e),l.onClick!=null&&(e.onclick=yn),e=!0):e=!1,e||Kn(t,!0)}function Vh(t){for(oe=t.return;oe;)switch(oe.tag){case 5:case 31:case 13:Xe=!1;return;case 27:case 3:Xe=!0;return;default:oe=oe.return}}function ci(t){if(t!==oe)return!1;if(!Et)return Vh(t),Et=!0,!1;var e=t.tag,a;if((a=e!==3&&e!==27)&&((a=e===5)&&(a=t.type,a=!(a!=="form"&&a!=="button")||bc(t.type,t.memoizedProps)),a=!a),a&&_t&&Kn(t),Vh(t),e===13){if(t=t.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(r(317));_t=sg(t)}else if(e===31){if(t=t.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(r(317));_t=sg(t)}else e===27?(e=_t,la(t.type)?(t=Ec,Ec=null,_t=t):_t=e):_t=oe?Qe(t.stateNode.nextSibling):null;return!0}function Ma(){_t=oe=null,Et=!1}function nu(){var t=Xn;return t!==null&&(we===null?we=t:we.push.apply(we,t),Xn=null),t}function rl(t){Xn===null?Xn=[t]:Xn.push(t)}var au=A(null),Ra=null,Sn=null;function Qn(t,e,a){P(au,e._currentValue),e._currentValue=a}function wn(t){t._currentValue=au.current,G(au)}function iu(t,e,a){for(;t!==null;){var l=t.alternate;if((t.childLanes&e)!==e?(t.childLanes|=e,l!==null&&(l.childLanes|=e)):l!==null&&(l.childLanes&e)!==e&&(l.childLanes|=e),t===a)break;t=t.return}}function lu(t,e,a,l){var o=t.child;for(o!==null&&(o.return=t);o!==null;){var c=o.dependencies;if(c!==null){var p=o.child;c=c.firstContext;t:for(;c!==null;){var x=c;c=o;for(var w=0;w<e.length;w++)if(x.context===e[w]){c.lanes|=a,x=c.alternate,x!==null&&(x.lanes|=a),iu(c.return,a,t),l||(p=null);break t}c=x.next}}else if(o.tag===18){if(p=o.return,p===null)throw Error(r(341));p.lanes|=a,c=p.alternate,c!==null&&(c.lanes|=a),iu(p,a,t),p=null}else p=o.child;if(p!==null)p.return=o;else for(p=o;p!==null;){if(p===t){p=null;break}if(o=p.sibling,o!==null){o.return=p.return,p=o;break}p=p.return}o=p}}function fi(t,e,a,l){t=null;for(var o=e,c=!1;o!==null;){if(!c){if((o.flags&524288)!==0)c=!0;else if((o.flags&262144)!==0)break}if(o.tag===10){var p=o.alternate;if(p===null)throw Error(r(387));if(p=p.memoizedProps,p!==null){var x=o.type;Ne(o.pendingProps.value,p.value)||(t!==null?t.push(x):t=[x])}}else if(o===Tt.current){if(p=o.alternate,p===null)throw Error(r(387));p.memoizedState.memoizedState!==o.memoizedState.memoizedState&&(t!==null?t.push(Ol):t=[Ol])}o=o.return}t!==null&&lu(e,t,a,l),e.flags|=262144}function Ds(t){for(t=t.firstContext;t!==null;){if(!Ne(t.context._currentValue,t.memoizedValue))return!0;t=t.next}return!1}function Na(t){Ra=t,Sn=null,t=t.dependencies,t!==null&&(t.firstContext=null)}function ue(t){return _h(Ra,t)}function zs(t,e){return Ra===null&&Na(t),_h(t,e)}function _h(t,e){var a=e._currentValue;if(e={context:e,memoizedValue:a,next:null},Sn===null){if(t===null)throw Error(r(308));Sn=e,t.dependencies={lanes:0,firstContext:e},t.flags|=524288}else Sn=Sn.next=e;return a}var gx=typeof AbortController<"u"?AbortController:function(){var t=[],e=this.signal={aborted:!1,addEventListener:function(a,l){t.push(l)}};this.abort=function(){e.aborted=!0,t.forEach(function(a){return a()})}},yx=n.unstable_scheduleCallback,vx=n.unstable_NormalPriority,Pt={$$typeof:B,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function su(){return{controller:new gx,data:new Map,refCount:0}}function ol(t){t.refCount--,t.refCount===0&&yx(vx,function(){t.controller.abort()})}var ul=null,ru=0,di=0,hi=null;function bx(t,e){if(ul===null){var a=ul=[];ru=0,di=cc(),hi={status:"pending",value:void 0,then:function(l){a.push(l)}}}return ru++,e.then(Bh,Bh),e}function Bh(){if(--ru===0&&ul!==null){hi!==null&&(hi.status="fulfilled");var t=ul;ul=null,di=0,hi=null;for(var e=0;e<t.length;e++)(0,t[e])()}}function xx(t,e){var a=[],l={status:"pending",value:null,reason:null,then:function(o){a.push(o)}};return t.then(function(){l.status="fulfilled",l.value=e;for(var o=0;o<a.length;o++)(0,a[o])(e)},function(o){for(l.status="rejected",l.reason=o,o=0;o<a.length;o++)(0,a[o])(void 0)}),l}var Lh=V.S;V.S=function(t,e){Sp=Ce(),typeof e=="object"&&e!==null&&typeof e.then=="function"&&bx(t,e),Lh!==null&&Lh(t,e)};var ja=A(null);function ou(){var t=ja.current;return t!==null?t:Vt.pooledCache}function ks(t,e){e===null?P(ja,ja.current):P(ja,e.pool)}function Uh(){var t=ou();return t===null?null:{parent:Pt._currentValue,pool:t}}var mi=Error(r(460)),uu=Error(r(474)),Os=Error(r(542)),Vs={then:function(){}};function Hh(t){return t=t.status,t==="fulfilled"||t==="rejected"}function qh(t,e,a){switch(a=t[a],a===void 0?t.push(e):a!==e&&(e.then(yn,yn),e=a),e.status){case"fulfilled":return e.value;case"rejected":throw t=e.reason,Yh(t),t;default:if(typeof e.status=="string")e.then(yn,yn);else{if(t=Vt,t!==null&&100<t.shellSuspendCounter)throw Error(r(482));t=e,t.status="pending",t.then(function(l){if(e.status==="pending"){var o=e;o.status="fulfilled",o.value=l}},function(l){if(e.status==="pending"){var o=e;o.status="rejected",o.reason=l}})}switch(e.status){case"fulfilled":return e.value;case"rejected":throw t=e.reason,Yh(t),t}throw za=e,mi}}function Da(t){try{var e=t._init;return e(t._payload)}catch(a){throw a!==null&&typeof a=="object"&&typeof a.then=="function"?(za=a,mi):a}}var za=null;function Gh(){if(za===null)throw Error(r(459));var t=za;return za=null,t}function Yh(t){if(t===mi||t===Os)throw Error(r(483))}var pi=null,cl=0;function _s(t){var e=cl;return cl+=1,pi===null&&(pi=[]),qh(pi,t,e)}function fl(t,e){e=e.props.ref,t.ref=e!==void 0?e:null}function Bs(t,e){throw e.$$typeof===S?Error(r(525)):(t=Object.prototype.toString.call(e),Error(r(31,t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)))}function Xh(t){function e(R,C){if(t){var z=R.deletions;z===null?(R.deletions=[C],R.flags|=16):z.push(C)}}function a(R,C){if(!t)return null;for(;C!==null;)e(R,C),C=C.sibling;return null}function l(R){for(var C=new Map;R!==null;)R.key!==null?C.set(R.key,R):C.set(R.index,R),R=R.sibling;return C}function o(R,C){return R=bn(R,C),R.index=0,R.sibling=null,R}function c(R,C,z){return R.index=z,t?(z=R.alternate,z!==null?(z=z.index,z<C?(R.flags|=67108866,C):z):(R.flags|=67108866,C)):(R.flags|=1048576,C)}function p(R){return t&&R.alternate===null&&(R.flags|=67108866),R}function x(R,C,z,U){return C===null||C.tag!==6?(C=Wo(z,R.mode,U),C.return=R,C):(C=o(C,z),C.return=R,C)}function w(R,C,z,U){var rt=z.type;return rt===j?L(R,C,z.props.children,U,z.key):C!==null&&(C.elementType===rt||typeof rt=="object"&&rt!==null&&rt.$$typeof===q&&Da(rt)===C.type)?(C=o(C,z.props),fl(C,z),C.return=R,C):(C=Ns(z.type,z.key,z.props,null,R.mode,U),fl(C,z),C.return=R,C)}function k(R,C,z,U){return C===null||C.tag!==4||C.stateNode.containerInfo!==z.containerInfo||C.stateNode.implementation!==z.implementation?(C=$o(z,R.mode,U),C.return=R,C):(C=o(C,z.children||[]),C.return=R,C)}function L(R,C,z,U,rt){return C===null||C.tag!==7?(C=Ca(z,R.mode,U,rt),C.return=R,C):(C=o(C,z),C.return=R,C)}function Y(R,C,z){if(typeof C=="string"&&C!==""||typeof C=="number"||typeof C=="bigint")return C=Wo(""+C,R.mode,z),C.return=R,C;if(typeof C=="object"&&C!==null){switch(C.$$typeof){case T:return z=Ns(C.type,C.key,C.props,null,R.mode,z),fl(z,C),z.return=R,z;case M:return C=$o(C,R.mode,z),C.return=R,C;case q:return C=Da(C),Y(R,C,z)}if(vt(C)||gt(C))return C=Ca(C,R.mode,z,null),C.return=R,C;if(typeof C.then=="function")return Y(R,_s(C),z);if(C.$$typeof===B)return Y(R,zs(R,C),z);Bs(R,C)}return null}function O(R,C,z,U){var rt=C!==null?C.key:null;if(typeof z=="string"&&z!==""||typeof z=="number"||typeof z=="bigint")return rt!==null?null:x(R,C,""+z,U);if(typeof z=="object"&&z!==null){switch(z.$$typeof){case T:return z.key===rt?w(R,C,z,U):null;case M:return z.key===rt?k(R,C,z,U):null;case q:return z=Da(z),O(R,C,z,U)}if(vt(z)||gt(z))return rt!==null?null:L(R,C,z,U,null);if(typeof z.then=="function")return O(R,C,_s(z),U);if(z.$$typeof===B)return O(R,C,zs(R,z),U);Bs(R,z)}return null}function _(R,C,z,U,rt){if(typeof U=="string"&&U!==""||typeof U=="number"||typeof U=="bigint")return R=R.get(z)||null,x(C,R,""+U,rt);if(typeof U=="object"&&U!==null){switch(U.$$typeof){case T:return R=R.get(U.key===null?z:U.key)||null,w(C,R,U,rt);case M:return R=R.get(U.key===null?z:U.key)||null,k(C,R,U,rt);case q:return U=Da(U),_(R,C,z,U,rt)}if(vt(U)||gt(U))return R=R.get(z)||null,L(C,R,U,rt,null);if(typeof U.then=="function")return _(R,C,z,_s(U),rt);if(U.$$typeof===B)return _(R,C,z,zs(C,U),rt);Bs(C,U)}return null}function I(R,C,z,U){for(var rt=null,Ct=null,lt=C,ht=C=0,wt=null;lt!==null&&ht<z.length;ht++){lt.index>ht?(wt=lt,lt=null):wt=lt.sibling;var Mt=O(R,lt,z[ht],U);if(Mt===null){lt===null&&(lt=wt);break}t&&lt&&Mt.alternate===null&&e(R,lt),C=c(Mt,C,ht),Ct===null?rt=Mt:Ct.sibling=Mt,Ct=Mt,lt=wt}if(ht===z.length)return a(R,lt),Et&&xn(R,ht),rt;if(lt===null){for(;ht<z.length;ht++)lt=Y(R,z[ht],U),lt!==null&&(C=c(lt,C,ht),Ct===null?rt=lt:Ct.sibling=lt,Ct=lt);return Et&&xn(R,ht),rt}for(lt=l(lt);ht<z.length;ht++)wt=_(lt,R,ht,z[ht],U),wt!==null&&(t&&wt.alternate!==null&&lt.delete(wt.key===null?ht:wt.key),C=c(wt,C,ht),Ct===null?rt=wt:Ct.sibling=wt,Ct=wt);return t&&lt.forEach(function(ca){return e(R,ca)}),Et&&xn(R,ht),rt}function ut(R,C,z,U){if(z==null)throw Error(r(151));for(var rt=null,Ct=null,lt=C,ht=C=0,wt=null,Mt=z.next();lt!==null&&!Mt.done;ht++,Mt=z.next()){lt.index>ht?(wt=lt,lt=null):wt=lt.sibling;var ca=O(R,lt,Mt.value,U);if(ca===null){lt===null&&(lt=wt);break}t&&lt&&ca.alternate===null&&e(R,lt),C=c(ca,C,ht),Ct===null?rt=ca:Ct.sibling=ca,Ct=ca,lt=wt}if(Mt.done)return a(R,lt),Et&&xn(R,ht),rt;if(lt===null){for(;!Mt.done;ht++,Mt=z.next())Mt=Y(R,Mt.value,U),Mt!==null&&(C=c(Mt,C,ht),Ct===null?rt=Mt:Ct.sibling=Mt,Ct=Mt);return Et&&xn(R,ht),rt}for(lt=l(lt);!Mt.done;ht++,Mt=z.next())Mt=_(lt,R,ht,Mt.value,U),Mt!==null&&(t&&Mt.alternate!==null&&lt.delete(Mt.key===null?ht:Mt.key),C=c(Mt,C,ht),Ct===null?rt=Mt:Ct.sibling=Mt,Ct=Mt);return t&&lt.forEach(function(D2){return e(R,D2)}),Et&&xn(R,ht),rt}function kt(R,C,z,U){if(typeof z=="object"&&z!==null&&z.type===j&&z.key===null&&(z=z.props.children),typeof z=="object"&&z!==null){switch(z.$$typeof){case T:t:{for(var rt=z.key;C!==null;){if(C.key===rt){if(rt=z.type,rt===j){if(C.tag===7){a(R,C.sibling),U=o(C,z.props.children),U.return=R,R=U;break t}}else if(C.elementType===rt||typeof rt=="object"&&rt!==null&&rt.$$typeof===q&&Da(rt)===C.type){a(R,C.sibling),U=o(C,z.props),fl(U,z),U.return=R,R=U;break t}a(R,C);break}else e(R,C);C=C.sibling}z.type===j?(U=Ca(z.props.children,R.mode,U,z.key),U.return=R,R=U):(U=Ns(z.type,z.key,z.props,null,R.mode,U),fl(U,z),U.return=R,R=U)}return p(R);case M:t:{for(rt=z.key;C!==null;){if(C.key===rt)if(C.tag===4&&C.stateNode.containerInfo===z.containerInfo&&C.stateNode.implementation===z.implementation){a(R,C.sibling),U=o(C,z.children||[]),U.return=R,R=U;break t}else{a(R,C);break}else e(R,C);C=C.sibling}U=$o(z,R.mode,U),U.return=R,R=U}return p(R);case q:return z=Da(z),kt(R,C,z,U)}if(vt(z))return I(R,C,z,U);if(gt(z)){if(rt=gt(z),typeof rt!="function")throw Error(r(150));return z=rt.call(z),ut(R,C,z,U)}if(typeof z.then=="function")return kt(R,C,_s(z),U);if(z.$$typeof===B)return kt(R,C,zs(R,z),U);Bs(R,z)}return typeof z=="string"&&z!==""||typeof z=="number"||typeof z=="bigint"?(z=""+z,C!==null&&C.tag===6?(a(R,C.sibling),U=o(C,z),U.return=R,R=U):(a(R,C),U=Wo(z,R.mode,U),U.return=R,R=U),p(R)):a(R,C)}return function(R,C,z,U){try{cl=0;var rt=kt(R,C,z,U);return pi=null,rt}catch(lt){if(lt===mi||lt===Os)throw lt;var Ct=je(29,lt,null,R.mode);return Ct.lanes=U,Ct.return=R,Ct}finally{}}}var ka=Xh(!0),Kh=Xh(!1),Zn=!1;function cu(t){t.updateQueue={baseState:t.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function fu(t,e){t=t.updateQueue,e.updateQueue===t&&(e.updateQueue={baseState:t.baseState,firstBaseUpdate:t.firstBaseUpdate,lastBaseUpdate:t.lastBaseUpdate,shared:t.shared,callbacks:null})}function Pn(t){return{lane:t,tag:0,payload:null,callback:null,next:null}}function Fn(t,e,a){var l=t.updateQueue;if(l===null)return null;if(l=l.shared,(Rt&2)!==0){var o=l.pending;return o===null?e.next=e:(e.next=o.next,o.next=e),l.pending=e,e=Rs(t),Rh(t,null,a),e}return Ms(t,l,e,a),Rs(t)}function dl(t,e,a){if(e=e.updateQueue,e!==null&&(e=e.shared,(a&4194048)!==0)){var l=e.lanes;l&=t.pendingLanes,a|=l,e.lanes=a,_d(t,a)}}function du(t,e){var a=t.updateQueue,l=t.alternate;if(l!==null&&(l=l.updateQueue,a===l)){var o=null,c=null;if(a=a.firstBaseUpdate,a!==null){do{var p={lane:a.lane,tag:a.tag,payload:a.payload,callback:null,next:null};c===null?o=c=p:c=c.next=p,a=a.next}while(a!==null);c===null?o=c=e:c=c.next=e}else o=c=e;a={baseState:l.baseState,firstBaseUpdate:o,lastBaseUpdate:c,shared:l.shared,callbacks:l.callbacks},t.updateQueue=a;return}t=a.lastBaseUpdate,t===null?a.firstBaseUpdate=e:t.next=e,a.lastBaseUpdate=e}var hu=!1;function hl(){if(hu){var t=hi;if(t!==null)throw t}}function ml(t,e,a,l){hu=!1;var o=t.updateQueue;Zn=!1;var c=o.firstBaseUpdate,p=o.lastBaseUpdate,x=o.shared.pending;if(x!==null){o.shared.pending=null;var w=x,k=w.next;w.next=null,p===null?c=k:p.next=k,p=w;var L=t.alternate;L!==null&&(L=L.updateQueue,x=L.lastBaseUpdate,x!==p&&(x===null?L.firstBaseUpdate=k:x.next=k,L.lastBaseUpdate=w))}if(c!==null){var Y=o.baseState;p=0,L=k=w=null,x=c;do{var O=x.lane&-536870913,_=O!==x.lane;if(_?(St&O)===O:(l&O)===O){O!==0&&O===di&&(hu=!0),L!==null&&(L=L.next={lane:0,tag:x.tag,payload:x.payload,callback:null,next:null});t:{var I=t,ut=x;O=e;var kt=a;switch(ut.tag){case 1:if(I=ut.payload,typeof I=="function"){Y=I.call(kt,Y,O);break t}Y=I;break t;case 3:I.flags=I.flags&-65537|128;case 0:if(I=ut.payload,O=typeof I=="function"?I.call(kt,Y,O):I,O==null)break t;Y=v({},Y,O);break t;case 2:Zn=!0}}O=x.callback,O!==null&&(t.flags|=64,_&&(t.flags|=8192),_=o.callbacks,_===null?o.callbacks=[O]:_.push(O))}else _={lane:O,tag:x.tag,payload:x.payload,callback:x.callback,next:null},L===null?(k=L=_,w=Y):L=L.next=_,p|=O;if(x=x.next,x===null){if(x=o.shared.pending,x===null)break;_=x,x=_.next,_.next=null,o.lastBaseUpdate=_,o.shared.pending=null}}while(!0);L===null&&(w=Y),o.baseState=w,o.firstBaseUpdate=k,o.lastBaseUpdate=L,c===null&&(o.shared.lanes=0),ta|=p,t.lanes=p,t.memoizedState=Y}}function Qh(t,e){if(typeof t!="function")throw Error(r(191,t));t.call(e)}function Zh(t,e){var a=t.callbacks;if(a!==null)for(t.callbacks=null,t=0;t<a.length;t++)Qh(a[t],e)}var gi=A(null),Ls=A(0);function Ph(t,e){t=Dn,P(Ls,t),P(gi,e),Dn=t|e.baseLanes}function mu(){P(Ls,Dn),P(gi,gi.current)}function pu(){Dn=Ls.current,G(gi),G(Ls)}var De=A(null),Ke=null;function Jn(t){var e=t.alternate;P(Qt,Qt.current&1),P(De,t),Ke===null&&(e===null||gi.current!==null||e.memoizedState!==null)&&(Ke=t)}function gu(t){P(Qt,Qt.current),P(De,t),Ke===null&&(Ke=t)}function Fh(t){t.tag===22?(P(Qt,Qt.current),P(De,t),Ke===null&&(Ke=t)):Wn()}function Wn(){P(Qt,Qt.current),P(De,De.current)}function ze(t){G(De),Ke===t&&(Ke=null),G(Qt)}var Qt=A(0);function Us(t){for(var e=t;e!==null;){if(e.tag===13){var a=e.memoizedState;if(a!==null&&(a=a.dehydrated,a===null||wc(a)||Tc(a)))return e}else if(e.tag===19&&(e.memoizedProps.revealOrder==="forwards"||e.memoizedProps.revealOrder==="backwards"||e.memoizedProps.revealOrder==="unstable_legacy-backwards"||e.memoizedProps.revealOrder==="together")){if((e.flags&128)!==0)return e}else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break;for(;e.sibling===null;){if(e.return===null||e.return===t)return null;e=e.return}e.sibling.return=e.return,e=e.sibling}return null}var Tn=0,dt=null,Dt=null,Ft=null,Hs=!1,yi=!1,Oa=!1,qs=0,pl=0,vi=null,Sx=0;function Yt(){throw Error(r(321))}function yu(t,e){if(e===null)return!1;for(var a=0;a<e.length&&a<t.length;a++)if(!Ne(t[a],e[a]))return!1;return!0}function vu(t,e,a,l,o,c){return Tn=c,dt=e,e.memoizedState=null,e.updateQueue=null,e.lanes=0,V.H=t===null||t.memoizedState===null?zm:ku,Oa=!1,c=a(l,o),Oa=!1,yi&&(c=Wh(e,a,l,o)),Jh(t),c}function Jh(t){V.H=vl;var e=Dt!==null&&Dt.next!==null;if(Tn=0,Ft=Dt=dt=null,Hs=!1,pl=0,vi=null,e)throw Error(r(300));t===null||Jt||(t=t.dependencies,t!==null&&Ds(t)&&(Jt=!0))}function Wh(t,e,a,l){dt=t;var o=0;do{if(yi&&(vi=null),pl=0,yi=!1,25<=o)throw Error(r(301));if(o+=1,Ft=Dt=null,t.updateQueue!=null){var c=t.updateQueue;c.lastEffect=null,c.events=null,c.stores=null,c.memoCache!=null&&(c.memoCache.index=0)}V.H=km,c=e(a,l)}while(yi);return c}function wx(){var t=V.H,e=t.useState()[0];return e=typeof e.then=="function"?gl(e):e,t=t.useState()[0],(Dt!==null?Dt.memoizedState:null)!==t&&(dt.flags|=1024),e}function bu(){var t=qs!==0;return qs=0,t}function xu(t,e,a){e.updateQueue=t.updateQueue,e.flags&=-2053,t.lanes&=~a}function Su(t){if(Hs){for(t=t.memoizedState;t!==null;){var e=t.queue;e!==null&&(e.pending=null),t=t.next}Hs=!1}Tn=0,Ft=Dt=dt=null,yi=!1,pl=qs=0,vi=null}function me(){var t={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Ft===null?dt.memoizedState=Ft=t:Ft=Ft.next=t,Ft}function Zt(){if(Dt===null){var t=dt.alternate;t=t!==null?t.memoizedState:null}else t=Dt.next;var e=Ft===null?dt.memoizedState:Ft.next;if(e!==null)Ft=e,Dt=t;else{if(t===null)throw dt.alternate===null?Error(r(467)):Error(r(310));Dt=t,t={memoizedState:Dt.memoizedState,baseState:Dt.baseState,baseQueue:Dt.baseQueue,queue:Dt.queue,next:null},Ft===null?dt.memoizedState=Ft=t:Ft=Ft.next=t}return Ft}function Gs(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function gl(t){var e=pl;return pl+=1,vi===null&&(vi=[]),t=qh(vi,t,e),e=dt,(Ft===null?e.memoizedState:Ft.next)===null&&(e=e.alternate,V.H=e===null||e.memoizedState===null?zm:ku),t}function Ys(t){if(t!==null&&typeof t=="object"){if(typeof t.then=="function")return gl(t);if(t.$$typeof===B)return ue(t)}throw Error(r(438,String(t)))}function wu(t){var e=null,a=dt.updateQueue;if(a!==null&&(e=a.memoCache),e==null){var l=dt.alternate;l!==null&&(l=l.updateQueue,l!==null&&(l=l.memoCache,l!=null&&(e={data:l.data.map(function(o){return o.slice()}),index:0})))}if(e==null&&(e={data:[],index:0}),a===null&&(a=Gs(),dt.updateQueue=a),a.memoCache=e,a=e.data[e.index],a===void 0)for(a=e.data[e.index]=Array(t),l=0;l<t;l++)a[l]=tt;return e.index++,a}function En(t,e){return typeof e=="function"?e(t):e}function Xs(t){var e=Zt();return Tu(e,Dt,t)}function Tu(t,e,a){var l=t.queue;if(l===null)throw Error(r(311));l.lastRenderedReducer=a;var o=t.baseQueue,c=l.pending;if(c!==null){if(o!==null){var p=o.next;o.next=c.next,c.next=p}e.baseQueue=o=c,l.pending=null}if(c=t.baseState,o===null)t.memoizedState=c;else{e=o.next;var x=p=null,w=null,k=e,L=!1;do{var Y=k.lane&-536870913;if(Y!==k.lane?(St&Y)===Y:(Tn&Y)===Y){var O=k.revertLane;if(O===0)w!==null&&(w=w.next={lane:0,revertLane:0,gesture:null,action:k.action,hasEagerState:k.hasEagerState,eagerState:k.eagerState,next:null}),Y===di&&(L=!0);else if((Tn&O)===O){k=k.next,O===di&&(L=!0);continue}else Y={lane:0,revertLane:k.revertLane,gesture:null,action:k.action,hasEagerState:k.hasEagerState,eagerState:k.eagerState,next:null},w===null?(x=w=Y,p=c):w=w.next=Y,dt.lanes|=O,ta|=O;Y=k.action,Oa&&a(c,Y),c=k.hasEagerState?k.eagerState:a(c,Y)}else O={lane:Y,revertLane:k.revertLane,gesture:k.gesture,action:k.action,hasEagerState:k.hasEagerState,eagerState:k.eagerState,next:null},w===null?(x=w=O,p=c):w=w.next=O,dt.lanes|=Y,ta|=Y;k=k.next}while(k!==null&&k!==e);if(w===null?p=c:w.next=x,!Ne(c,t.memoizedState)&&(Jt=!0,L&&(a=hi,a!==null)))throw a;t.memoizedState=c,t.baseState=p,t.baseQueue=w,l.lastRenderedState=c}return o===null&&(l.lanes=0),[t.memoizedState,l.dispatch]}function Eu(t){var e=Zt(),a=e.queue;if(a===null)throw Error(r(311));a.lastRenderedReducer=t;var l=a.dispatch,o=a.pending,c=e.memoizedState;if(o!==null){a.pending=null;var p=o=o.next;do c=t(c,p.action),p=p.next;while(p!==o);Ne(c,e.memoizedState)||(Jt=!0),e.memoizedState=c,e.baseQueue===null&&(e.baseState=c),a.lastRenderedState=c}return[c,l]}function $h(t,e,a){var l=dt,o=Zt(),c=Et;if(c){if(a===void 0)throw Error(r(407));a=a()}else a=e();var p=!Ne((Dt||o).memoizedState,a);if(p&&(o.memoizedState=a,Jt=!0),o=o.queue,Mu(em.bind(null,l,o,t),[t]),o.getSnapshot!==e||p||Ft!==null&&Ft.memoizedState.tag&1){if(l.flags|=2048,bi(9,{destroy:void 0},tm.bind(null,l,o,a,e),null),Vt===null)throw Error(r(349));c||(Tn&127)!==0||Ih(l,e,a)}return a}function Ih(t,e,a){t.flags|=16384,t={getSnapshot:e,value:a},e=dt.updateQueue,e===null?(e=Gs(),dt.updateQueue=e,e.stores=[t]):(a=e.stores,a===null?e.stores=[t]:a.push(t))}function tm(t,e,a,l){e.value=a,e.getSnapshot=l,nm(e)&&am(t)}function em(t,e,a){return a(function(){nm(e)&&am(t)})}function nm(t){var e=t.getSnapshot;t=t.value;try{var a=e();return!Ne(t,a)}catch{return!0}}function am(t){var e=Aa(t,2);e!==null&&Te(e,t,2)}function Au(t){var e=me();if(typeof t=="function"){var a=t;if(t=a(),Oa){Hn(!0);try{a()}finally{Hn(!1)}}}return e.memoizedState=e.baseState=t,e.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:En,lastRenderedState:t},e}function im(t,e,a,l){return t.baseState=a,Tu(t,Dt,typeof l=="function"?l:En)}function Tx(t,e,a,l,o){if(Zs(t))throw Error(r(485));if(t=e.action,t!==null){var c={payload:o,action:t,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(p){c.listeners.push(p)}};V.T!==null?a(!0):c.isTransition=!1,l(c),a=e.pending,a===null?(c.next=e.pending=c,lm(e,c)):(c.next=a.next,e.pending=a.next=c)}}function lm(t,e){var a=e.action,l=e.payload,o=t.state;if(e.isTransition){var c=V.T,p={};V.T=p;try{var x=a(o,l),w=V.S;w!==null&&w(p,x),sm(t,e,x)}catch(k){Cu(t,e,k)}finally{c!==null&&p.types!==null&&(c.types=p.types),V.T=c}}else try{c=a(o,l),sm(t,e,c)}catch(k){Cu(t,e,k)}}function sm(t,e,a){a!==null&&typeof a=="object"&&typeof a.then=="function"?a.then(function(l){rm(t,e,l)},function(l){return Cu(t,e,l)}):rm(t,e,a)}function rm(t,e,a){e.status="fulfilled",e.value=a,om(e),t.state=a,e=t.pending,e!==null&&(a=e.next,a===e?t.pending=null:(a=a.next,e.next=a,lm(t,a)))}function Cu(t,e,a){var l=t.pending;if(t.pending=null,l!==null){l=l.next;do e.status="rejected",e.reason=a,om(e),e=e.next;while(e!==l)}t.action=null}function om(t){t=t.listeners;for(var e=0;e<t.length;e++)(0,t[e])()}function um(t,e){return e}function cm(t,e){if(Et){var a=Vt.formState;if(a!==null){t:{var l=dt;if(Et){if(_t){e:{for(var o=_t,c=Xe;o.nodeType!==8;){if(!c){o=null;break e}if(o=Qe(o.nextSibling),o===null){o=null;break e}}c=o.data,o=c==="F!"||c==="F"?o:null}if(o){_t=Qe(o.nextSibling),l=o.data==="F!";break t}}Kn(l)}l=!1}l&&(e=a[0])}}return a=me(),a.memoizedState=a.baseState=e,l={pending:null,lanes:0,dispatch:null,lastRenderedReducer:um,lastRenderedState:e},a.queue=l,a=Nm.bind(null,dt,l),l.dispatch=a,l=Au(!1),c=zu.bind(null,dt,!1,l.queue),l=me(),o={state:e,dispatch:null,action:t,pending:null},l.queue=o,a=Tx.bind(null,dt,o,c,a),o.dispatch=a,l.memoizedState=t,[e,a,!1]}function fm(t){var e=Zt();return dm(e,Dt,t)}function dm(t,e,a){if(e=Tu(t,e,um)[0],t=Xs(En)[0],typeof e=="object"&&e!==null&&typeof e.then=="function")try{var l=gl(e)}catch(p){throw p===mi?Os:p}else l=e;e=Zt();var o=e.queue,c=o.dispatch;return a!==e.memoizedState&&(dt.flags|=2048,bi(9,{destroy:void 0},Ex.bind(null,o,a),null)),[l,c,t]}function Ex(t,e){t.action=e}function hm(t){var e=Zt(),a=Dt;if(a!==null)return dm(e,a,t);Zt(),e=e.memoizedState,a=Zt();var l=a.queue.dispatch;return a.memoizedState=t,[e,l,!1]}function bi(t,e,a,l){return t={tag:t,create:a,deps:l,inst:e,next:null},e=dt.updateQueue,e===null&&(e=Gs(),dt.updateQueue=e),a=e.lastEffect,a===null?e.lastEffect=t.next=t:(l=a.next,a.next=t,t.next=l,e.lastEffect=t),t}function mm(){return Zt().memoizedState}function Ks(t,e,a,l){var o=me();dt.flags|=t,o.memoizedState=bi(1|e,{destroy:void 0},a,l===void 0?null:l)}function Qs(t,e,a,l){var o=Zt();l=l===void 0?null:l;var c=o.memoizedState.inst;Dt!==null&&l!==null&&yu(l,Dt.memoizedState.deps)?o.memoizedState=bi(e,c,a,l):(dt.flags|=t,o.memoizedState=bi(1|e,c,a,l))}function pm(t,e){Ks(8390656,8,t,e)}function Mu(t,e){Qs(2048,8,t,e)}function Ax(t){dt.flags|=4;var e=dt.updateQueue;if(e===null)e=Gs(),dt.updateQueue=e,e.events=[t];else{var a=e.events;a===null?e.events=[t]:a.push(t)}}function gm(t){var e=Zt().memoizedState;return Ax({ref:e,nextImpl:t}),function(){if((Rt&2)!==0)throw Error(r(440));return e.impl.apply(void 0,arguments)}}function ym(t,e){return Qs(4,2,t,e)}function vm(t,e){return Qs(4,4,t,e)}function bm(t,e){if(typeof e=="function"){t=t();var a=e(t);return function(){typeof a=="function"?a():e(null)}}if(e!=null)return t=t(),e.current=t,function(){e.current=null}}function xm(t,e,a){a=a!=null?a.concat([t]):null,Qs(4,4,bm.bind(null,e,t),a)}function Ru(){}function Sm(t,e){var a=Zt();e=e===void 0?null:e;var l=a.memoizedState;return e!==null&&yu(e,l[1])?l[0]:(a.memoizedState=[t,e],t)}function wm(t,e){var a=Zt();e=e===void 0?null:e;var l=a.memoizedState;if(e!==null&&yu(e,l[1]))return l[0];if(l=t(),Oa){Hn(!0);try{t()}finally{Hn(!1)}}return a.memoizedState=[l,e],l}function Nu(t,e,a){return a===void 0||(Tn&1073741824)!==0&&(St&261930)===0?t.memoizedState=e:(t.memoizedState=a,t=Tp(),dt.lanes|=t,ta|=t,a)}function Tm(t,e,a,l){return Ne(a,e)?a:gi.current!==null?(t=Nu(t,a,l),Ne(t,e)||(Jt=!0),t):(Tn&42)===0||(Tn&1073741824)!==0&&(St&261930)===0?(Jt=!0,t.memoizedState=a):(t=Tp(),dt.lanes|=t,ta|=t,e)}function Em(t,e,a,l,o){var c=Z.p;Z.p=c!==0&&8>c?c:8;var p=V.T,x={};V.T=x,zu(t,!1,e,a);try{var w=o(),k=V.S;if(k!==null&&k(x,w),w!==null&&typeof w=="object"&&typeof w.then=="function"){var L=xx(w,l);yl(t,e,L,Ve(t))}else yl(t,e,l,Ve(t))}catch(Y){yl(t,e,{then:function(){},status:"rejected",reason:Y},Ve())}finally{Z.p=c,p!==null&&x.types!==null&&(p.types=x.types),V.T=p}}function Cx(){}function ju(t,e,a,l){if(t.tag!==5)throw Error(r(476));var o=Am(t).queue;Em(t,o,e,J,a===null?Cx:function(){return Cm(t),a(l)})}function Am(t){var e=t.memoizedState;if(e!==null)return e;e={memoizedState:J,baseState:J,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:En,lastRenderedState:J},next:null};var a={};return e.next={memoizedState:a,baseState:a,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:En,lastRenderedState:a},next:null},t.memoizedState=e,t=t.alternate,t!==null&&(t.memoizedState=e),e}function Cm(t){var e=Am(t);e.next===null&&(e=t.alternate.memoizedState),yl(t,e.next.queue,{},Ve())}function Du(){return ue(Ol)}function Mm(){return Zt().memoizedState}function Rm(){return Zt().memoizedState}function Mx(t){for(var e=t.return;e!==null;){switch(e.tag){case 24:case 3:var a=Ve();t=Pn(a);var l=Fn(e,t,a);l!==null&&(Te(l,e,a),dl(l,e,a)),e={cache:su()},t.payload=e;return}e=e.return}}function Rx(t,e,a){var l=Ve();a={lane:l,revertLane:0,gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null},Zs(t)?jm(e,a):(a=Fo(t,e,a,l),a!==null&&(Te(a,t,l),Dm(a,e,l)))}function Nm(t,e,a){var l=Ve();yl(t,e,a,l)}function yl(t,e,a,l){var o={lane:l,revertLane:0,gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null};if(Zs(t))jm(e,o);else{var c=t.alternate;if(t.lanes===0&&(c===null||c.lanes===0)&&(c=e.lastRenderedReducer,c!==null))try{var p=e.lastRenderedState,x=c(p,a);if(o.hasEagerState=!0,o.eagerState=x,Ne(x,p))return Ms(t,e,o,0),Vt===null&&Cs(),!1}catch{}finally{}if(a=Fo(t,e,o,l),a!==null)return Te(a,t,l),Dm(a,e,l),!0}return!1}function zu(t,e,a,l){if(l={lane:2,revertLane:cc(),gesture:null,action:l,hasEagerState:!1,eagerState:null,next:null},Zs(t)){if(e)throw Error(r(479))}else e=Fo(t,a,l,2),e!==null&&Te(e,t,2)}function Zs(t){var e=t.alternate;return t===dt||e!==null&&e===dt}function jm(t,e){yi=Hs=!0;var a=t.pending;a===null?e.next=e:(e.next=a.next,a.next=e),t.pending=e}function Dm(t,e,a){if((a&4194048)!==0){var l=e.lanes;l&=t.pendingLanes,a|=l,e.lanes=a,_d(t,a)}}var vl={readContext:ue,use:Ys,useCallback:Yt,useContext:Yt,useEffect:Yt,useImperativeHandle:Yt,useLayoutEffect:Yt,useInsertionEffect:Yt,useMemo:Yt,useReducer:Yt,useRef:Yt,useState:Yt,useDebugValue:Yt,useDeferredValue:Yt,useTransition:Yt,useSyncExternalStore:Yt,useId:Yt,useHostTransitionStatus:Yt,useFormState:Yt,useActionState:Yt,useOptimistic:Yt,useMemoCache:Yt,useCacheRefresh:Yt};vl.useEffectEvent=Yt;var zm={readContext:ue,use:Ys,useCallback:function(t,e){return me().memoizedState=[t,e===void 0?null:e],t},useContext:ue,useEffect:pm,useImperativeHandle:function(t,e,a){a=a!=null?a.concat([t]):null,Ks(4194308,4,bm.bind(null,e,t),a)},useLayoutEffect:function(t,e){return Ks(4194308,4,t,e)},useInsertionEffect:function(t,e){Ks(4,2,t,e)},useMemo:function(t,e){var a=me();e=e===void 0?null:e;var l=t();if(Oa){Hn(!0);try{t()}finally{Hn(!1)}}return a.memoizedState=[l,e],l},useReducer:function(t,e,a){var l=me();if(a!==void 0){var o=a(e);if(Oa){Hn(!0);try{a(e)}finally{Hn(!1)}}}else o=e;return l.memoizedState=l.baseState=o,t={pending:null,lanes:0,dispatch:null,lastRenderedReducer:t,lastRenderedState:o},l.queue=t,t=t.dispatch=Rx.bind(null,dt,t),[l.memoizedState,t]},useRef:function(t){var e=me();return t={current:t},e.memoizedState=t},useState:function(t){t=Au(t);var e=t.queue,a=Nm.bind(null,dt,e);return e.dispatch=a,[t.memoizedState,a]},useDebugValue:Ru,useDeferredValue:function(t,e){var a=me();return Nu(a,t,e)},useTransition:function(){var t=Au(!1);return t=Em.bind(null,dt,t.queue,!0,!1),me().memoizedState=t,[!1,t]},useSyncExternalStore:function(t,e,a){var l=dt,o=me();if(Et){if(a===void 0)throw Error(r(407));a=a()}else{if(a=e(),Vt===null)throw Error(r(349));(St&127)!==0||Ih(l,e,a)}o.memoizedState=a;var c={value:a,getSnapshot:e};return o.queue=c,pm(em.bind(null,l,c,t),[t]),l.flags|=2048,bi(9,{destroy:void 0},tm.bind(null,l,c,a,e),null),a},useId:function(){var t=me(),e=Vt.identifierPrefix;if(Et){var a=rn,l=sn;a=(l&~(1<<32-Re(l)-1)).toString(32)+a,e="_"+e+"R_"+a,a=qs++,0<a&&(e+="H"+a.toString(32)),e+="_"}else a=Sx++,e="_"+e+"r_"+a.toString(32)+"_";return t.memoizedState=e},useHostTransitionStatus:Du,useFormState:cm,useActionState:cm,useOptimistic:function(t){var e=me();e.memoizedState=e.baseState=t;var a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return e.queue=a,e=zu.bind(null,dt,!0,a),a.dispatch=e,[t,e]},useMemoCache:wu,useCacheRefresh:function(){return me().memoizedState=Mx.bind(null,dt)},useEffectEvent:function(t){var e=me(),a={impl:t};return e.memoizedState=a,function(){if((Rt&2)!==0)throw Error(r(440));return a.impl.apply(void 0,arguments)}}},ku={readContext:ue,use:Ys,useCallback:Sm,useContext:ue,useEffect:Mu,useImperativeHandle:xm,useInsertionEffect:ym,useLayoutEffect:vm,useMemo:wm,useReducer:Xs,useRef:mm,useState:function(){return Xs(En)},useDebugValue:Ru,useDeferredValue:function(t,e){var a=Zt();return Tm(a,Dt.memoizedState,t,e)},useTransition:function(){var t=Xs(En)[0],e=Zt().memoizedState;return[typeof t=="boolean"?t:gl(t),e]},useSyncExternalStore:$h,useId:Mm,useHostTransitionStatus:Du,useFormState:fm,useActionState:fm,useOptimistic:function(t,e){var a=Zt();return im(a,Dt,t,e)},useMemoCache:wu,useCacheRefresh:Rm};ku.useEffectEvent=gm;var km={readContext:ue,use:Ys,useCallback:Sm,useContext:ue,useEffect:Mu,useImperativeHandle:xm,useInsertionEffect:ym,useLayoutEffect:vm,useMemo:wm,useReducer:Eu,useRef:mm,useState:function(){return Eu(En)},useDebugValue:Ru,useDeferredValue:function(t,e){var a=Zt();return Dt===null?Nu(a,t,e):Tm(a,Dt.memoizedState,t,e)},useTransition:function(){var t=Eu(En)[0],e=Zt().memoizedState;return[typeof t=="boolean"?t:gl(t),e]},useSyncExternalStore:$h,useId:Mm,useHostTransitionStatus:Du,useFormState:hm,useActionState:hm,useOptimistic:function(t,e){var a=Zt();return Dt!==null?im(a,Dt,t,e):(a.baseState=t,[t,a.queue.dispatch])},useMemoCache:wu,useCacheRefresh:Rm};km.useEffectEvent=gm;function Ou(t,e,a,l){e=t.memoizedState,a=a(l,e),a=a==null?e:v({},e,a),t.memoizedState=a,t.lanes===0&&(t.updateQueue.baseState=a)}var Vu={enqueueSetState:function(t,e,a){t=t._reactInternals;var l=Ve(),o=Pn(l);o.payload=e,a!=null&&(o.callback=a),e=Fn(t,o,l),e!==null&&(Te(e,t,l),dl(e,t,l))},enqueueReplaceState:function(t,e,a){t=t._reactInternals;var l=Ve(),o=Pn(l);o.tag=1,o.payload=e,a!=null&&(o.callback=a),e=Fn(t,o,l),e!==null&&(Te(e,t,l),dl(e,t,l))},enqueueForceUpdate:function(t,e){t=t._reactInternals;var a=Ve(),l=Pn(a);l.tag=2,e!=null&&(l.callback=e),e=Fn(t,l,a),e!==null&&(Te(e,t,a),dl(e,t,a))}};function Om(t,e,a,l,o,c,p){return t=t.stateNode,typeof t.shouldComponentUpdate=="function"?t.shouldComponentUpdate(l,c,p):e.prototype&&e.prototype.isPureReactComponent?!il(a,l)||!il(o,c):!0}function Vm(t,e,a,l){t=e.state,typeof e.componentWillReceiveProps=="function"&&e.componentWillReceiveProps(a,l),typeof e.UNSAFE_componentWillReceiveProps=="function"&&e.UNSAFE_componentWillReceiveProps(a,l),e.state!==t&&Vu.enqueueReplaceState(e,e.state,null)}function Va(t,e){var a=e;if("ref"in e){a={};for(var l in e)l!=="ref"&&(a[l]=e[l])}if(t=t.defaultProps){a===e&&(a=v({},a));for(var o in t)a[o]===void 0&&(a[o]=t[o])}return a}function _m(t){As(t)}function Bm(t){console.error(t)}function Lm(t){As(t)}function Ps(t,e){try{var a=t.onUncaughtError;a(e.value,{componentStack:e.stack})}catch(l){setTimeout(function(){throw l})}}function Um(t,e,a){try{var l=t.onCaughtError;l(a.value,{componentStack:a.stack,errorBoundary:e.tag===1?e.stateNode:null})}catch(o){setTimeout(function(){throw o})}}function _u(t,e,a){return a=Pn(a),a.tag=3,a.payload={element:null},a.callback=function(){Ps(t,e)},a}function Hm(t){return t=Pn(t),t.tag=3,t}function qm(t,e,a,l){var o=a.type.getDerivedStateFromError;if(typeof o=="function"){var c=l.value;t.payload=function(){return o(c)},t.callback=function(){Um(e,a,l)}}var p=a.stateNode;p!==null&&typeof p.componentDidCatch=="function"&&(t.callback=function(){Um(e,a,l),typeof o!="function"&&(ea===null?ea=new Set([this]):ea.add(this));var x=l.stack;this.componentDidCatch(l.value,{componentStack:x!==null?x:""})})}function Nx(t,e,a,l,o){if(a.flags|=32768,l!==null&&typeof l=="object"&&typeof l.then=="function"){if(e=a.alternate,e!==null&&fi(e,a,o,!0),a=De.current,a!==null){switch(a.tag){case 31:case 13:return Ke===null?sr():a.alternate===null&&Xt===0&&(Xt=3),a.flags&=-257,a.flags|=65536,a.lanes=o,l===Vs?a.flags|=16384:(e=a.updateQueue,e===null?a.updateQueue=new Set([l]):e.add(l),rc(t,l,o)),!1;case 22:return a.flags|=65536,l===Vs?a.flags|=16384:(e=a.updateQueue,e===null?(e={transitions:null,markerInstances:null,retryQueue:new Set([l])},a.updateQueue=e):(a=e.retryQueue,a===null?e.retryQueue=new Set([l]):a.add(l)),rc(t,l,o)),!1}throw Error(r(435,a.tag))}return rc(t,l,o),sr(),!1}if(Et)return e=De.current,e!==null?((e.flags&65536)===0&&(e.flags|=256),e.flags|=65536,e.lanes=o,l!==eu&&(t=Error(r(422),{cause:l}),rl(qe(t,a)))):(l!==eu&&(e=Error(r(423),{cause:l}),rl(qe(e,a))),t=t.current.alternate,t.flags|=65536,o&=-o,t.lanes|=o,l=qe(l,a),o=_u(t.stateNode,l,o),du(t,o),Xt!==4&&(Xt=2)),!1;var c=Error(r(520),{cause:l});if(c=qe(c,a),Cl===null?Cl=[c]:Cl.push(c),Xt!==4&&(Xt=2),e===null)return!0;l=qe(l,a),a=e;do{switch(a.tag){case 3:return a.flags|=65536,t=o&-o,a.lanes|=t,t=_u(a.stateNode,l,t),du(a,t),!1;case 1:if(e=a.type,c=a.stateNode,(a.flags&128)===0&&(typeof e.getDerivedStateFromError=="function"||c!==null&&typeof c.componentDidCatch=="function"&&(ea===null||!ea.has(c))))return a.flags|=65536,o&=-o,a.lanes|=o,o=Hm(o),qm(o,t,a,l),du(a,o),!1}a=a.return}while(a!==null);return!1}var Bu=Error(r(461)),Jt=!1;function ce(t,e,a,l){e.child=t===null?Kh(e,null,a,l):ka(e,t.child,a,l)}function Gm(t,e,a,l,o){a=a.render;var c=e.ref;if("ref"in l){var p={};for(var x in l)x!=="ref"&&(p[x]=l[x])}else p=l;return Na(e),l=vu(t,e,a,p,c,o),x=bu(),t!==null&&!Jt?(xu(t,e,o),An(t,e,o)):(Et&&x&&Io(e),e.flags|=1,ce(t,e,l,o),e.child)}function Ym(t,e,a,l,o){if(t===null){var c=a.type;return typeof c=="function"&&!Jo(c)&&c.defaultProps===void 0&&a.compare===null?(e.tag=15,e.type=c,Xm(t,e,c,l,o)):(t=Ns(a.type,null,l,e,e.mode,o),t.ref=e.ref,t.return=e,e.child=t)}if(c=t.child,!Ku(t,o)){var p=c.memoizedProps;if(a=a.compare,a=a!==null?a:il,a(p,l)&&t.ref===e.ref)return An(t,e,o)}return e.flags|=1,t=bn(c,l),t.ref=e.ref,t.return=e,e.child=t}function Xm(t,e,a,l,o){if(t!==null){var c=t.memoizedProps;if(il(c,l)&&t.ref===e.ref)if(Jt=!1,e.pendingProps=l=c,Ku(t,o))(t.flags&131072)!==0&&(Jt=!0);else return e.lanes=t.lanes,An(t,e,o)}return Lu(t,e,a,l,o)}function Km(t,e,a,l){var o=l.children,c=t!==null?t.memoizedState:null;if(t===null&&e.stateNode===null&&(e.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),l.mode==="hidden"){if((e.flags&128)!==0){if(c=c!==null?c.baseLanes|a:a,t!==null){for(l=e.child=t.child,o=0;l!==null;)o=o|l.lanes|l.childLanes,l=l.sibling;l=o&~c}else l=0,e.child=null;return Qm(t,e,c,a,l)}if((a&536870912)!==0)e.memoizedState={baseLanes:0,cachePool:null},t!==null&&ks(e,c!==null?c.cachePool:null),c!==null?Ph(e,c):mu(),Fh(e);else return l=e.lanes=536870912,Qm(t,e,c!==null?c.baseLanes|a:a,a,l)}else c!==null?(ks(e,c.cachePool),Ph(e,c),Wn(),e.memoizedState=null):(t!==null&&ks(e,null),mu(),Wn());return ce(t,e,o,a),e.child}function bl(t,e){return t!==null&&t.tag===22||e.stateNode!==null||(e.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),e.sibling}function Qm(t,e,a,l,o){var c=ou();return c=c===null?null:{parent:Pt._currentValue,pool:c},e.memoizedState={baseLanes:a,cachePool:c},t!==null&&ks(e,null),mu(),Fh(e),t!==null&&fi(t,e,l,!0),e.childLanes=o,null}function Fs(t,e){return e=Ws({mode:e.mode,children:e.children},t.mode),e.ref=t.ref,t.child=e,e.return=t,e}function Zm(t,e,a){return ka(e,t.child,null,a),t=Fs(e,e.pendingProps),t.flags|=2,ze(e),e.memoizedState=null,t}function jx(t,e,a){var l=e.pendingProps,o=(e.flags&128)!==0;if(e.flags&=-129,t===null){if(Et){if(l.mode==="hidden")return t=Fs(e,l),e.lanes=536870912,bl(null,t);if(gu(e),(t=_t)?(t=lg(t,Xe),t=t!==null&&t.data==="&"?t:null,t!==null&&(e.memoizedState={dehydrated:t,treeContext:Yn!==null?{id:sn,overflow:rn}:null,retryLane:536870912,hydrationErrors:null},a=jh(t),a.return=e,e.child=a,oe=e,_t=null)):t=null,t===null)throw Kn(e);return e.lanes=536870912,null}return Fs(e,l)}var c=t.memoizedState;if(c!==null){var p=c.dehydrated;if(gu(e),o)if(e.flags&256)e.flags&=-257,e=Zm(t,e,a);else if(e.memoizedState!==null)e.child=t.child,e.flags|=128,e=null;else throw Error(r(558));else if(Jt||fi(t,e,a,!1),o=(a&t.childLanes)!==0,Jt||o){if(l=Vt,l!==null&&(p=Bd(l,a),p!==0&&p!==c.retryLane))throw c.retryLane=p,Aa(t,p),Te(l,t,p),Bu;sr(),e=Zm(t,e,a)}else t=c.treeContext,_t=Qe(p.nextSibling),oe=e,Et=!0,Xn=null,Xe=!1,t!==null&&kh(e,t),e=Fs(e,l),e.flags|=4096;return e}return t=bn(t.child,{mode:l.mode,children:l.children}),t.ref=e.ref,e.child=t,t.return=e,t}function Js(t,e){var a=e.ref;if(a===null)t!==null&&t.ref!==null&&(e.flags|=4194816);else{if(typeof a!="function"&&typeof a!="object")throw Error(r(284));(t===null||t.ref!==a)&&(e.flags|=4194816)}}function Lu(t,e,a,l,o){return Na(e),a=vu(t,e,a,l,void 0,o),l=bu(),t!==null&&!Jt?(xu(t,e,o),An(t,e,o)):(Et&&l&&Io(e),e.flags|=1,ce(t,e,a,o),e.child)}function Pm(t,e,a,l,o,c){return Na(e),e.updateQueue=null,a=Wh(e,l,a,o),Jh(t),l=bu(),t!==null&&!Jt?(xu(t,e,c),An(t,e,c)):(Et&&l&&Io(e),e.flags|=1,ce(t,e,a,c),e.child)}function Fm(t,e,a,l,o){if(Na(e),e.stateNode===null){var c=ri,p=a.contextType;typeof p=="object"&&p!==null&&(c=ue(p)),c=new a(l,c),e.memoizedState=c.state!==null&&c.state!==void 0?c.state:null,c.updater=Vu,e.stateNode=c,c._reactInternals=e,c=e.stateNode,c.props=l,c.state=e.memoizedState,c.refs={},cu(e),p=a.contextType,c.context=typeof p=="object"&&p!==null?ue(p):ri,c.state=e.memoizedState,p=a.getDerivedStateFromProps,typeof p=="function"&&(Ou(e,a,p,l),c.state=e.memoizedState),typeof a.getDerivedStateFromProps=="function"||typeof c.getSnapshotBeforeUpdate=="function"||typeof c.UNSAFE_componentWillMount!="function"&&typeof c.componentWillMount!="function"||(p=c.state,typeof c.componentWillMount=="function"&&c.componentWillMount(),typeof c.UNSAFE_componentWillMount=="function"&&c.UNSAFE_componentWillMount(),p!==c.state&&Vu.enqueueReplaceState(c,c.state,null),ml(e,l,c,o),hl(),c.state=e.memoizedState),typeof c.componentDidMount=="function"&&(e.flags|=4194308),l=!0}else if(t===null){c=e.stateNode;var x=e.memoizedProps,w=Va(a,x);c.props=w;var k=c.context,L=a.contextType;p=ri,typeof L=="object"&&L!==null&&(p=ue(L));var Y=a.getDerivedStateFromProps;L=typeof Y=="function"||typeof c.getSnapshotBeforeUpdate=="function",x=e.pendingProps!==x,L||typeof c.UNSAFE_componentWillReceiveProps!="function"&&typeof c.componentWillReceiveProps!="function"||(x||k!==p)&&Vm(e,c,l,p),Zn=!1;var O=e.memoizedState;c.state=O,ml(e,l,c,o),hl(),k=e.memoizedState,x||O!==k||Zn?(typeof Y=="function"&&(Ou(e,a,Y,l),k=e.memoizedState),(w=Zn||Om(e,a,w,l,O,k,p))?(L||typeof c.UNSAFE_componentWillMount!="function"&&typeof c.componentWillMount!="function"||(typeof c.componentWillMount=="function"&&c.componentWillMount(),typeof c.UNSAFE_componentWillMount=="function"&&c.UNSAFE_componentWillMount()),typeof c.componentDidMount=="function"&&(e.flags|=4194308)):(typeof c.componentDidMount=="function"&&(e.flags|=4194308),e.memoizedProps=l,e.memoizedState=k),c.props=l,c.state=k,c.context=p,l=w):(typeof c.componentDidMount=="function"&&(e.flags|=4194308),l=!1)}else{c=e.stateNode,fu(t,e),p=e.memoizedProps,L=Va(a,p),c.props=L,Y=e.pendingProps,O=c.context,k=a.contextType,w=ri,typeof k=="object"&&k!==null&&(w=ue(k)),x=a.getDerivedStateFromProps,(k=typeof x=="function"||typeof c.getSnapshotBeforeUpdate=="function")||typeof c.UNSAFE_componentWillReceiveProps!="function"&&typeof c.componentWillReceiveProps!="function"||(p!==Y||O!==w)&&Vm(e,c,l,w),Zn=!1,O=e.memoizedState,c.state=O,ml(e,l,c,o),hl();var _=e.memoizedState;p!==Y||O!==_||Zn||t!==null&&t.dependencies!==null&&Ds(t.dependencies)?(typeof x=="function"&&(Ou(e,a,x,l),_=e.memoizedState),(L=Zn||Om(e,a,L,l,O,_,w)||t!==null&&t.dependencies!==null&&Ds(t.dependencies))?(k||typeof c.UNSAFE_componentWillUpdate!="function"&&typeof c.componentWillUpdate!="function"||(typeof c.componentWillUpdate=="function"&&c.componentWillUpdate(l,_,w),typeof c.UNSAFE_componentWillUpdate=="function"&&c.UNSAFE_componentWillUpdate(l,_,w)),typeof c.componentDidUpdate=="function"&&(e.flags|=4),typeof c.getSnapshotBeforeUpdate=="function"&&(e.flags|=1024)):(typeof c.componentDidUpdate!="function"||p===t.memoizedProps&&O===t.memoizedState||(e.flags|=4),typeof c.getSnapshotBeforeUpdate!="function"||p===t.memoizedProps&&O===t.memoizedState||(e.flags|=1024),e.memoizedProps=l,e.memoizedState=_),c.props=l,c.state=_,c.context=w,l=L):(typeof c.componentDidUpdate!="function"||p===t.memoizedProps&&O===t.memoizedState||(e.flags|=4),typeof c.getSnapshotBeforeUpdate!="function"||p===t.memoizedProps&&O===t.memoizedState||(e.flags|=1024),l=!1)}return c=l,Js(t,e),l=(e.flags&128)!==0,c||l?(c=e.stateNode,a=l&&typeof a.getDerivedStateFromError!="function"?null:c.render(),e.flags|=1,t!==null&&l?(e.child=ka(e,t.child,null,o),e.child=ka(e,null,a,o)):ce(t,e,a,o),e.memoizedState=c.state,t=e.child):t=An(t,e,o),t}function Jm(t,e,a,l){return Ma(),e.flags|=256,ce(t,e,a,l),e.child}var Uu={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function Hu(t){return{baseLanes:t,cachePool:Uh()}}function qu(t,e,a){return t=t!==null?t.childLanes&~a:0,e&&(t|=Oe),t}function Wm(t,e,a){var l=e.pendingProps,o=!1,c=(e.flags&128)!==0,p;if((p=c)||(p=t!==null&&t.memoizedState===null?!1:(Qt.current&2)!==0),p&&(o=!0,e.flags&=-129),p=(e.flags&32)!==0,e.flags&=-33,t===null){if(Et){if(o?Jn(e):Wn(),(t=_t)?(t=lg(t,Xe),t=t!==null&&t.data!=="&"?t:null,t!==null&&(e.memoizedState={dehydrated:t,treeContext:Yn!==null?{id:sn,overflow:rn}:null,retryLane:536870912,hydrationErrors:null},a=jh(t),a.return=e,e.child=a,oe=e,_t=null)):t=null,t===null)throw Kn(e);return Tc(t)?e.lanes=32:e.lanes=536870912,null}var x=l.children;return l=l.fallback,o?(Wn(),o=e.mode,x=Ws({mode:"hidden",children:x},o),l=Ca(l,o,a,null),x.return=e,l.return=e,x.sibling=l,e.child=x,l=e.child,l.memoizedState=Hu(a),l.childLanes=qu(t,p,a),e.memoizedState=Uu,bl(null,l)):(Jn(e),Gu(e,x))}var w=t.memoizedState;if(w!==null&&(x=w.dehydrated,x!==null)){if(c)e.flags&256?(Jn(e),e.flags&=-257,e=Yu(t,e,a)):e.memoizedState!==null?(Wn(),e.child=t.child,e.flags|=128,e=null):(Wn(),x=l.fallback,o=e.mode,l=Ws({mode:"visible",children:l.children},o),x=Ca(x,o,a,null),x.flags|=2,l.return=e,x.return=e,l.sibling=x,e.child=l,ka(e,t.child,null,a),l=e.child,l.memoizedState=Hu(a),l.childLanes=qu(t,p,a),e.memoizedState=Uu,e=bl(null,l));else if(Jn(e),Tc(x)){if(p=x.nextSibling&&x.nextSibling.dataset,p)var k=p.dgst;p=k,l=Error(r(419)),l.stack="",l.digest=p,rl({value:l,source:null,stack:null}),e=Yu(t,e,a)}else if(Jt||fi(t,e,a,!1),p=(a&t.childLanes)!==0,Jt||p){if(p=Vt,p!==null&&(l=Bd(p,a),l!==0&&l!==w.retryLane))throw w.retryLane=l,Aa(t,l),Te(p,t,l),Bu;wc(x)||sr(),e=Yu(t,e,a)}else wc(x)?(e.flags|=192,e.child=t.child,e=null):(t=w.treeContext,_t=Qe(x.nextSibling),oe=e,Et=!0,Xn=null,Xe=!1,t!==null&&kh(e,t),e=Gu(e,l.children),e.flags|=4096);return e}return o?(Wn(),x=l.fallback,o=e.mode,w=t.child,k=w.sibling,l=bn(w,{mode:"hidden",children:l.children}),l.subtreeFlags=w.subtreeFlags&65011712,k!==null?x=bn(k,x):(x=Ca(x,o,a,null),x.flags|=2),x.return=e,l.return=e,l.sibling=x,e.child=l,bl(null,l),l=e.child,x=t.child.memoizedState,x===null?x=Hu(a):(o=x.cachePool,o!==null?(w=Pt._currentValue,o=o.parent!==w?{parent:w,pool:w}:o):o=Uh(),x={baseLanes:x.baseLanes|a,cachePool:o}),l.memoizedState=x,l.childLanes=qu(t,p,a),e.memoizedState=Uu,bl(t.child,l)):(Jn(e),a=t.child,t=a.sibling,a=bn(a,{mode:"visible",children:l.children}),a.return=e,a.sibling=null,t!==null&&(p=e.deletions,p===null?(e.deletions=[t],e.flags|=16):p.push(t)),e.child=a,e.memoizedState=null,a)}function Gu(t,e){return e=Ws({mode:"visible",children:e},t.mode),e.return=t,t.child=e}function Ws(t,e){return t=je(22,t,null,e),t.lanes=0,t}function Yu(t,e,a){return ka(e,t.child,null,a),t=Gu(e,e.pendingProps.children),t.flags|=2,e.memoizedState=null,t}function $m(t,e,a){t.lanes|=e;var l=t.alternate;l!==null&&(l.lanes|=e),iu(t.return,e,a)}function Xu(t,e,a,l,o,c){var p=t.memoizedState;p===null?t.memoizedState={isBackwards:e,rendering:null,renderingStartTime:0,last:l,tail:a,tailMode:o,treeForkCount:c}:(p.isBackwards=e,p.rendering=null,p.renderingStartTime=0,p.last=l,p.tail=a,p.tailMode=o,p.treeForkCount=c)}function Im(t,e,a){var l=e.pendingProps,o=l.revealOrder,c=l.tail;l=l.children;var p=Qt.current,x=(p&2)!==0;if(x?(p=p&1|2,e.flags|=128):p&=1,P(Qt,p),ce(t,e,l,a),l=Et?sl:0,!x&&t!==null&&(t.flags&128)!==0)t:for(t=e.child;t!==null;){if(t.tag===13)t.memoizedState!==null&&$m(t,a,e);else if(t.tag===19)$m(t,a,e);else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break t;for(;t.sibling===null;){if(t.return===null||t.return===e)break t;t=t.return}t.sibling.return=t.return,t=t.sibling}switch(o){case"forwards":for(a=e.child,o=null;a!==null;)t=a.alternate,t!==null&&Us(t)===null&&(o=a),a=a.sibling;a=o,a===null?(o=e.child,e.child=null):(o=a.sibling,a.sibling=null),Xu(e,!1,o,a,c,l);break;case"backwards":case"unstable_legacy-backwards":for(a=null,o=e.child,e.child=null;o!==null;){if(t=o.alternate,t!==null&&Us(t)===null){e.child=o;break}t=o.sibling,o.sibling=a,a=o,o=t}Xu(e,!0,a,null,c,l);break;case"together":Xu(e,!1,null,null,void 0,l);break;default:e.memoizedState=null}return e.child}function An(t,e,a){if(t!==null&&(e.dependencies=t.dependencies),ta|=e.lanes,(a&e.childLanes)===0)if(t!==null){if(fi(t,e,a,!1),(a&e.childLanes)===0)return null}else return null;if(t!==null&&e.child!==t.child)throw Error(r(153));if(e.child!==null){for(t=e.child,a=bn(t,t.pendingProps),e.child=a,a.return=e;t.sibling!==null;)t=t.sibling,a=a.sibling=bn(t,t.pendingProps),a.return=e;a.sibling=null}return e.child}function Ku(t,e){return(t.lanes&e)!==0?!0:(t=t.dependencies,!!(t!==null&&Ds(t)))}function Dx(t,e,a){switch(e.tag){case 3:ne(e,e.stateNode.containerInfo),Qn(e,Pt,t.memoizedState.cache),Ma();break;case 27:case 5:Ln(e);break;case 4:ne(e,e.stateNode.containerInfo);break;case 10:Qn(e,e.type,e.memoizedProps.value);break;case 31:if(e.memoizedState!==null)return e.flags|=128,gu(e),null;break;case 13:var l=e.memoizedState;if(l!==null)return l.dehydrated!==null?(Jn(e),e.flags|=128,null):(a&e.child.childLanes)!==0?Wm(t,e,a):(Jn(e),t=An(t,e,a),t!==null?t.sibling:null);Jn(e);break;case 19:var o=(t.flags&128)!==0;if(l=(a&e.childLanes)!==0,l||(fi(t,e,a,!1),l=(a&e.childLanes)!==0),o){if(l)return Im(t,e,a);e.flags|=128}if(o=e.memoizedState,o!==null&&(o.rendering=null,o.tail=null,o.lastEffect=null),P(Qt,Qt.current),l)break;return null;case 22:return e.lanes=0,Km(t,e,a,e.pendingProps);case 24:Qn(e,Pt,t.memoizedState.cache)}return An(t,e,a)}function tp(t,e,a){if(t!==null)if(t.memoizedProps!==e.pendingProps)Jt=!0;else{if(!Ku(t,a)&&(e.flags&128)===0)return Jt=!1,Dx(t,e,a);Jt=(t.flags&131072)!==0}else Jt=!1,Et&&(e.flags&1048576)!==0&&zh(e,sl,e.index);switch(e.lanes=0,e.tag){case 16:t:{var l=e.pendingProps;if(t=Da(e.elementType),e.type=t,typeof t=="function")Jo(t)?(l=Va(t,l),e.tag=1,e=Fm(null,e,t,l,a)):(e.tag=0,e=Lu(null,e,t,l,a));else{if(t!=null){var o=t.$$typeof;if(o===X){e.tag=11,e=Gm(null,e,t,l,a);break t}else if(o===F){e.tag=14,e=Ym(null,e,t,l,a);break t}}throw e=Ot(t)||t,Error(r(306,e,""))}}return e;case 0:return Lu(t,e,e.type,e.pendingProps,a);case 1:return l=e.type,o=Va(l,e.pendingProps),Fm(t,e,l,o,a);case 3:t:{if(ne(e,e.stateNode.containerInfo),t===null)throw Error(r(387));l=e.pendingProps;var c=e.memoizedState;o=c.element,fu(t,e),ml(e,l,null,a);var p=e.memoizedState;if(l=p.cache,Qn(e,Pt,l),l!==c.cache&&lu(e,[Pt],a,!0),hl(),l=p.element,c.isDehydrated)if(c={element:l,isDehydrated:!1,cache:p.cache},e.updateQueue.baseState=c,e.memoizedState=c,e.flags&256){e=Jm(t,e,l,a);break t}else if(l!==o){o=qe(Error(r(424)),e),rl(o),e=Jm(t,e,l,a);break t}else{switch(t=e.stateNode.containerInfo,t.nodeType){case 9:t=t.body;break;default:t=t.nodeName==="HTML"?t.ownerDocument.body:t}for(_t=Qe(t.firstChild),oe=e,Et=!0,Xn=null,Xe=!0,a=Kh(e,null,l,a),e.child=a;a;)a.flags=a.flags&-3|4096,a=a.sibling}else{if(Ma(),l===o){e=An(t,e,a);break t}ce(t,e,l,a)}e=e.child}return e;case 26:return Js(t,e),t===null?(a=fg(e.type,null,e.pendingProps,null))?e.memoizedState=a:Et||(a=e.type,t=e.pendingProps,l=hr(ot.current).createElement(a),l[re]=e,l[ye]=t,fe(l,a,t),ae(l),e.stateNode=l):e.memoizedState=fg(e.type,t.memoizedProps,e.pendingProps,t.memoizedState),null;case 27:return Ln(e),t===null&&Et&&(l=e.stateNode=og(e.type,e.pendingProps,ot.current),oe=e,Xe=!0,o=_t,la(e.type)?(Ec=o,_t=Qe(l.firstChild)):_t=o),ce(t,e,e.pendingProps.children,a),Js(t,e),t===null&&(e.flags|=4194304),e.child;case 5:return t===null&&Et&&((o=l=_t)&&(l=r2(l,e.type,e.pendingProps,Xe),l!==null?(e.stateNode=l,oe=e,_t=Qe(l.firstChild),Xe=!1,o=!0):o=!1),o||Kn(e)),Ln(e),o=e.type,c=e.pendingProps,p=t!==null?t.memoizedProps:null,l=c.children,bc(o,c)?l=null:p!==null&&bc(o,p)&&(e.flags|=32),e.memoizedState!==null&&(o=vu(t,e,wx,null,null,a),Ol._currentValue=o),Js(t,e),ce(t,e,l,a),e.child;case 6:return t===null&&Et&&((t=a=_t)&&(a=o2(a,e.pendingProps,Xe),a!==null?(e.stateNode=a,oe=e,_t=null,t=!0):t=!1),t||Kn(e)),null;case 13:return Wm(t,e,a);case 4:return ne(e,e.stateNode.containerInfo),l=e.pendingProps,t===null?e.child=ka(e,null,l,a):ce(t,e,l,a),e.child;case 11:return Gm(t,e,e.type,e.pendingProps,a);case 7:return ce(t,e,e.pendingProps,a),e.child;case 8:return ce(t,e,e.pendingProps.children,a),e.child;case 12:return ce(t,e,e.pendingProps.children,a),e.child;case 10:return l=e.pendingProps,Qn(e,e.type,l.value),ce(t,e,l.children,a),e.child;case 9:return o=e.type._context,l=e.pendingProps.children,Na(e),o=ue(o),l=l(o),e.flags|=1,ce(t,e,l,a),e.child;case 14:return Ym(t,e,e.type,e.pendingProps,a);case 15:return Xm(t,e,e.type,e.pendingProps,a);case 19:return Im(t,e,a);case 31:return jx(t,e,a);case 22:return Km(t,e,a,e.pendingProps);case 24:return Na(e),l=ue(Pt),t===null?(o=ou(),o===null&&(o=Vt,c=su(),o.pooledCache=c,c.refCount++,c!==null&&(o.pooledCacheLanes|=a),o=c),e.memoizedState={parent:l,cache:o},cu(e),Qn(e,Pt,o)):((t.lanes&a)!==0&&(fu(t,e),ml(e,null,null,a),hl()),o=t.memoizedState,c=e.memoizedState,o.parent!==l?(o={parent:l,cache:l},e.memoizedState=o,e.lanes===0&&(e.memoizedState=e.updateQueue.baseState=o),Qn(e,Pt,l)):(l=c.cache,Qn(e,Pt,l),l!==o.cache&&lu(e,[Pt],a,!0))),ce(t,e,e.pendingProps.children,a),e.child;case 29:throw e.pendingProps}throw Error(r(156,e.tag))}function Cn(t){t.flags|=4}function Qu(t,e,a,l,o){if((e=(t.mode&32)!==0)&&(e=!1),e){if(t.flags|=16777216,(o&335544128)===o)if(t.stateNode.complete)t.flags|=8192;else if(Mp())t.flags|=8192;else throw za=Vs,uu}else t.flags&=-16777217}function ep(t,e){if(e.type!=="stylesheet"||(e.state.loading&4)!==0)t.flags&=-16777217;else if(t.flags|=16777216,!gg(e))if(Mp())t.flags|=8192;else throw za=Vs,uu}function $s(t,e){e!==null&&(t.flags|=4),t.flags&16384&&(e=t.tag!==22?Od():536870912,t.lanes|=e,Ti|=e)}function xl(t,e){if(!Et)switch(t.tailMode){case"hidden":e=t.tail;for(var a=null;e!==null;)e.alternate!==null&&(a=e),e=e.sibling;a===null?t.tail=null:a.sibling=null;break;case"collapsed":a=t.tail;for(var l=null;a!==null;)a.alternate!==null&&(l=a),a=a.sibling;l===null?e||t.tail===null?t.tail=null:t.tail.sibling=null:l.sibling=null}}function Bt(t){var e=t.alternate!==null&&t.alternate.child===t.child,a=0,l=0;if(e)for(var o=t.child;o!==null;)a|=o.lanes|o.childLanes,l|=o.subtreeFlags&65011712,l|=o.flags&65011712,o.return=t,o=o.sibling;else for(o=t.child;o!==null;)a|=o.lanes|o.childLanes,l|=o.subtreeFlags,l|=o.flags,o.return=t,o=o.sibling;return t.subtreeFlags|=l,t.childLanes=a,e}function zx(t,e,a){var l=e.pendingProps;switch(tu(e),e.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Bt(e),null;case 1:return Bt(e),null;case 3:return a=e.stateNode,l=null,t!==null&&(l=t.memoizedState.cache),e.memoizedState.cache!==l&&(e.flags|=2048),wn(Pt),pt(),a.pendingContext&&(a.context=a.pendingContext,a.pendingContext=null),(t===null||t.child===null)&&(ci(e)?Cn(e):t===null||t.memoizedState.isDehydrated&&(e.flags&256)===0||(e.flags|=1024,nu())),Bt(e),null;case 26:var o=e.type,c=e.memoizedState;return t===null?(Cn(e),c!==null?(Bt(e),ep(e,c)):(Bt(e),Qu(e,o,null,l,a))):c?c!==t.memoizedState?(Cn(e),Bt(e),ep(e,c)):(Bt(e),e.flags&=-16777217):(t=t.memoizedProps,t!==l&&Cn(e),Bt(e),Qu(e,o,t,l,a)),null;case 27:if(pn(e),a=ot.current,o=e.type,t!==null&&e.stateNode!=null)t.memoizedProps!==l&&Cn(e);else{if(!l){if(e.stateNode===null)throw Error(r(166));return Bt(e),null}t=$.current,ci(e)?Oh(e):(t=og(o,l,a),e.stateNode=t,Cn(e))}return Bt(e),null;case 5:if(pn(e),o=e.type,t!==null&&e.stateNode!=null)t.memoizedProps!==l&&Cn(e);else{if(!l){if(e.stateNode===null)throw Error(r(166));return Bt(e),null}if(c=$.current,ci(e))Oh(e);else{var p=hr(ot.current);switch(c){case 1:c=p.createElementNS("http://www.w3.org/2000/svg",o);break;case 2:c=p.createElementNS("http://www.w3.org/1998/Math/MathML",o);break;default:switch(o){case"svg":c=p.createElementNS("http://www.w3.org/2000/svg",o);break;case"math":c=p.createElementNS("http://www.w3.org/1998/Math/MathML",o);break;case"script":c=p.createElement("div"),c.innerHTML="<script><\/script>",c=c.removeChild(c.firstChild);break;case"select":c=typeof l.is=="string"?p.createElement("select",{is:l.is}):p.createElement("select"),l.multiple?c.multiple=!0:l.size&&(c.size=l.size);break;default:c=typeof l.is=="string"?p.createElement(o,{is:l.is}):p.createElement(o)}}c[re]=e,c[ye]=l;t:for(p=e.child;p!==null;){if(p.tag===5||p.tag===6)c.appendChild(p.stateNode);else if(p.tag!==4&&p.tag!==27&&p.child!==null){p.child.return=p,p=p.child;continue}if(p===e)break t;for(;p.sibling===null;){if(p.return===null||p.return===e)break t;p=p.return}p.sibling.return=p.return,p=p.sibling}e.stateNode=c;t:switch(fe(c,o,l),o){case"button":case"input":case"select":case"textarea":l=!!l.autoFocus;break t;case"img":l=!0;break t;default:l=!1}l&&Cn(e)}}return Bt(e),Qu(e,e.type,t===null?null:t.memoizedProps,e.pendingProps,a),null;case 6:if(t&&e.stateNode!=null)t.memoizedProps!==l&&Cn(e);else{if(typeof l!="string"&&e.stateNode===null)throw Error(r(166));if(t=ot.current,ci(e)){if(t=e.stateNode,a=e.memoizedProps,l=null,o=oe,o!==null)switch(o.tag){case 27:case 5:l=o.memoizedProps}t[re]=e,t=!!(t.nodeValue===a||l!==null&&l.suppressHydrationWarning===!0||Wp(t.nodeValue,a)),t||Kn(e,!0)}else t=hr(t).createTextNode(l),t[re]=e,e.stateNode=t}return Bt(e),null;case 31:if(a=e.memoizedState,t===null||t.memoizedState!==null){if(l=ci(e),a!==null){if(t===null){if(!l)throw Error(r(318));if(t=e.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(r(557));t[re]=e}else Ma(),(e.flags&128)===0&&(e.memoizedState=null),e.flags|=4;Bt(e),t=!1}else a=nu(),t!==null&&t.memoizedState!==null&&(t.memoizedState.hydrationErrors=a),t=!0;if(!t)return e.flags&256?(ze(e),e):(ze(e),null);if((e.flags&128)!==0)throw Error(r(558))}return Bt(e),null;case 13:if(l=e.memoizedState,t===null||t.memoizedState!==null&&t.memoizedState.dehydrated!==null){if(o=ci(e),l!==null&&l.dehydrated!==null){if(t===null){if(!o)throw Error(r(318));if(o=e.memoizedState,o=o!==null?o.dehydrated:null,!o)throw Error(r(317));o[re]=e}else Ma(),(e.flags&128)===0&&(e.memoizedState=null),e.flags|=4;Bt(e),o=!1}else o=nu(),t!==null&&t.memoizedState!==null&&(t.memoizedState.hydrationErrors=o),o=!0;if(!o)return e.flags&256?(ze(e),e):(ze(e),null)}return ze(e),(e.flags&128)!==0?(e.lanes=a,e):(a=l!==null,t=t!==null&&t.memoizedState!==null,a&&(l=e.child,o=null,l.alternate!==null&&l.alternate.memoizedState!==null&&l.alternate.memoizedState.cachePool!==null&&(o=l.alternate.memoizedState.cachePool.pool),c=null,l.memoizedState!==null&&l.memoizedState.cachePool!==null&&(c=l.memoizedState.cachePool.pool),c!==o&&(l.flags|=2048)),a!==t&&a&&(e.child.flags|=8192),$s(e,e.updateQueue),Bt(e),null);case 4:return pt(),t===null&&mc(e.stateNode.containerInfo),Bt(e),null;case 10:return wn(e.type),Bt(e),null;case 19:if(G(Qt),l=e.memoizedState,l===null)return Bt(e),null;if(o=(e.flags&128)!==0,c=l.rendering,c===null)if(o)xl(l,!1);else{if(Xt!==0||t!==null&&(t.flags&128)!==0)for(t=e.child;t!==null;){if(c=Us(t),c!==null){for(e.flags|=128,xl(l,!1),t=c.updateQueue,e.updateQueue=t,$s(e,t),e.subtreeFlags=0,t=a,a=e.child;a!==null;)Nh(a,t),a=a.sibling;return P(Qt,Qt.current&1|2),Et&&xn(e,l.treeForkCount),e.child}t=t.sibling}l.tail!==null&&Ce()>ar&&(e.flags|=128,o=!0,xl(l,!1),e.lanes=4194304)}else{if(!o)if(t=Us(c),t!==null){if(e.flags|=128,o=!0,t=t.updateQueue,e.updateQueue=t,$s(e,t),xl(l,!0),l.tail===null&&l.tailMode==="hidden"&&!c.alternate&&!Et)return Bt(e),null}else 2*Ce()-l.renderingStartTime>ar&&a!==536870912&&(e.flags|=128,o=!0,xl(l,!1),e.lanes=4194304);l.isBackwards?(c.sibling=e.child,e.child=c):(t=l.last,t!==null?t.sibling=c:e.child=c,l.last=c)}return l.tail!==null?(t=l.tail,l.rendering=t,l.tail=t.sibling,l.renderingStartTime=Ce(),t.sibling=null,a=Qt.current,P(Qt,o?a&1|2:a&1),Et&&xn(e,l.treeForkCount),t):(Bt(e),null);case 22:case 23:return ze(e),pu(),l=e.memoizedState!==null,t!==null?t.memoizedState!==null!==l&&(e.flags|=8192):l&&(e.flags|=8192),l?(a&536870912)!==0&&(e.flags&128)===0&&(Bt(e),e.subtreeFlags&6&&(e.flags|=8192)):Bt(e),a=e.updateQueue,a!==null&&$s(e,a.retryQueue),a=null,t!==null&&t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(a=t.memoizedState.cachePool.pool),l=null,e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(l=e.memoizedState.cachePool.pool),l!==a&&(e.flags|=2048),t!==null&&G(ja),null;case 24:return a=null,t!==null&&(a=t.memoizedState.cache),e.memoizedState.cache!==a&&(e.flags|=2048),wn(Pt),Bt(e),null;case 25:return null;case 30:return null}throw Error(r(156,e.tag))}function kx(t,e){switch(tu(e),e.tag){case 1:return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 3:return wn(Pt),pt(),t=e.flags,(t&65536)!==0&&(t&128)===0?(e.flags=t&-65537|128,e):null;case 26:case 27:case 5:return pn(e),null;case 31:if(e.memoizedState!==null){if(ze(e),e.alternate===null)throw Error(r(340));Ma()}return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 13:if(ze(e),t=e.memoizedState,t!==null&&t.dehydrated!==null){if(e.alternate===null)throw Error(r(340));Ma()}return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 19:return G(Qt),null;case 4:return pt(),null;case 10:return wn(e.type),null;case 22:case 23:return ze(e),pu(),t!==null&&G(ja),t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 24:return wn(Pt),null;case 25:return null;default:return null}}function np(t,e){switch(tu(e),e.tag){case 3:wn(Pt),pt();break;case 26:case 27:case 5:pn(e);break;case 4:pt();break;case 31:e.memoizedState!==null&&ze(e);break;case 13:ze(e);break;case 19:G(Qt);break;case 10:wn(e.type);break;case 22:case 23:ze(e),pu(),t!==null&&G(ja);break;case 24:wn(Pt)}}function Sl(t,e){try{var a=e.updateQueue,l=a!==null?a.lastEffect:null;if(l!==null){var o=l.next;a=o;do{if((a.tag&t)===t){l=void 0;var c=a.create,p=a.inst;l=c(),p.destroy=l}a=a.next}while(a!==o)}}catch(x){jt(e,e.return,x)}}function $n(t,e,a){try{var l=e.updateQueue,o=l!==null?l.lastEffect:null;if(o!==null){var c=o.next;l=c;do{if((l.tag&t)===t){var p=l.inst,x=p.destroy;if(x!==void 0){p.destroy=void 0,o=e;var w=a,k=x;try{k()}catch(L){jt(o,w,L)}}}l=l.next}while(l!==c)}}catch(L){jt(e,e.return,L)}}function ap(t){var e=t.updateQueue;if(e!==null){var a=t.stateNode;try{Zh(e,a)}catch(l){jt(t,t.return,l)}}}function ip(t,e,a){a.props=Va(t.type,t.memoizedProps),a.state=t.memoizedState;try{a.componentWillUnmount()}catch(l){jt(t,e,l)}}function wl(t,e){try{var a=t.ref;if(a!==null){switch(t.tag){case 26:case 27:case 5:var l=t.stateNode;break;case 30:l=t.stateNode;break;default:l=t.stateNode}typeof a=="function"?t.refCleanup=a(l):a.current=l}}catch(o){jt(t,e,o)}}function on(t,e){var a=t.ref,l=t.refCleanup;if(a!==null)if(typeof l=="function")try{l()}catch(o){jt(t,e,o)}finally{t.refCleanup=null,t=t.alternate,t!=null&&(t.refCleanup=null)}else if(typeof a=="function")try{a(null)}catch(o){jt(t,e,o)}else a.current=null}function lp(t){var e=t.type,a=t.memoizedProps,l=t.stateNode;try{t:switch(e){case"button":case"input":case"select":case"textarea":a.autoFocus&&l.focus();break t;case"img":a.src?l.src=a.src:a.srcSet&&(l.srcset=a.srcSet)}}catch(o){jt(t,t.return,o)}}function Zu(t,e,a){try{var l=t.stateNode;e2(l,t.type,a,e),l[ye]=e}catch(o){jt(t,t.return,o)}}function sp(t){return t.tag===5||t.tag===3||t.tag===26||t.tag===27&&la(t.type)||t.tag===4}function Pu(t){t:for(;;){for(;t.sibling===null;){if(t.return===null||sp(t.return))return null;t=t.return}for(t.sibling.return=t.return,t=t.sibling;t.tag!==5&&t.tag!==6&&t.tag!==18;){if(t.tag===27&&la(t.type)||t.flags&2||t.child===null||t.tag===4)continue t;t.child.return=t,t=t.child}if(!(t.flags&2))return t.stateNode}}function Fu(t,e,a){var l=t.tag;if(l===5||l===6)t=t.stateNode,e?(a.nodeType===9?a.body:a.nodeName==="HTML"?a.ownerDocument.body:a).insertBefore(t,e):(e=a.nodeType===9?a.body:a.nodeName==="HTML"?a.ownerDocument.body:a,e.appendChild(t),a=a._reactRootContainer,a!=null||e.onclick!==null||(e.onclick=yn));else if(l!==4&&(l===27&&la(t.type)&&(a=t.stateNode,e=null),t=t.child,t!==null))for(Fu(t,e,a),t=t.sibling;t!==null;)Fu(t,e,a),t=t.sibling}function Is(t,e,a){var l=t.tag;if(l===5||l===6)t=t.stateNode,e?a.insertBefore(t,e):a.appendChild(t);else if(l!==4&&(l===27&&la(t.type)&&(a=t.stateNode),t=t.child,t!==null))for(Is(t,e,a),t=t.sibling;t!==null;)Is(t,e,a),t=t.sibling}function rp(t){var e=t.stateNode,a=t.memoizedProps;try{for(var l=t.type,o=e.attributes;o.length;)e.removeAttributeNode(o[0]);fe(e,l,a),e[re]=t,e[ye]=a}catch(c){jt(t,t.return,c)}}var Mn=!1,Wt=!1,Ju=!1,op=typeof WeakSet=="function"?WeakSet:Set,ie=null;function Ox(t,e){if(t=t.containerInfo,yc=xr,t=xh(t),Yo(t)){if("selectionStart"in t)var a={start:t.selectionStart,end:t.selectionEnd};else t:{a=(a=t.ownerDocument)&&a.defaultView||window;var l=a.getSelection&&a.getSelection();if(l&&l.rangeCount!==0){a=l.anchorNode;var o=l.anchorOffset,c=l.focusNode;l=l.focusOffset;try{a.nodeType,c.nodeType}catch{a=null;break t}var p=0,x=-1,w=-1,k=0,L=0,Y=t,O=null;e:for(;;){for(var _;Y!==a||o!==0&&Y.nodeType!==3||(x=p+o),Y!==c||l!==0&&Y.nodeType!==3||(w=p+l),Y.nodeType===3&&(p+=Y.nodeValue.length),(_=Y.firstChild)!==null;)O=Y,Y=_;for(;;){if(Y===t)break e;if(O===a&&++k===o&&(x=p),O===c&&++L===l&&(w=p),(_=Y.nextSibling)!==null)break;Y=O,O=Y.parentNode}Y=_}a=x===-1||w===-1?null:{start:x,end:w}}else a=null}a=a||{start:0,end:0}}else a=null;for(vc={focusedElem:t,selectionRange:a},xr=!1,ie=e;ie!==null;)if(e=ie,t=e.child,(e.subtreeFlags&1028)!==0&&t!==null)t.return=e,ie=t;else for(;ie!==null;){switch(e=ie,c=e.alternate,t=e.flags,e.tag){case 0:if((t&4)!==0&&(t=e.updateQueue,t=t!==null?t.events:null,t!==null))for(a=0;a<t.length;a++)o=t[a],o.ref.impl=o.nextImpl;break;case 11:case 15:break;case 1:if((t&1024)!==0&&c!==null){t=void 0,a=e,o=c.memoizedProps,c=c.memoizedState,l=a.stateNode;try{var I=Va(a.type,o);t=l.getSnapshotBeforeUpdate(I,c),l.__reactInternalSnapshotBeforeUpdate=t}catch(ut){jt(a,a.return,ut)}}break;case 3:if((t&1024)!==0){if(t=e.stateNode.containerInfo,a=t.nodeType,a===9)Sc(t);else if(a===1)switch(t.nodeName){case"HEAD":case"HTML":case"BODY":Sc(t);break;default:t.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((t&1024)!==0)throw Error(r(163))}if(t=e.sibling,t!==null){t.return=e.return,ie=t;break}ie=e.return}}function up(t,e,a){var l=a.flags;switch(a.tag){case 0:case 11:case 15:Nn(t,a),l&4&&Sl(5,a);break;case 1:if(Nn(t,a),l&4)if(t=a.stateNode,e===null)try{t.componentDidMount()}catch(p){jt(a,a.return,p)}else{var o=Va(a.type,e.memoizedProps);e=e.memoizedState;try{t.componentDidUpdate(o,e,t.__reactInternalSnapshotBeforeUpdate)}catch(p){jt(a,a.return,p)}}l&64&&ap(a),l&512&&wl(a,a.return);break;case 3:if(Nn(t,a),l&64&&(t=a.updateQueue,t!==null)){if(e=null,a.child!==null)switch(a.child.tag){case 27:case 5:e=a.child.stateNode;break;case 1:e=a.child.stateNode}try{Zh(t,e)}catch(p){jt(a,a.return,p)}}break;case 27:e===null&&l&4&&rp(a);case 26:case 5:Nn(t,a),e===null&&l&4&&lp(a),l&512&&wl(a,a.return);break;case 12:Nn(t,a);break;case 31:Nn(t,a),l&4&&dp(t,a);break;case 13:Nn(t,a),l&4&&hp(t,a),l&64&&(t=a.memoizedState,t!==null&&(t=t.dehydrated,t!==null&&(a=Yx.bind(null,a),u2(t,a))));break;case 22:if(l=a.memoizedState!==null||Mn,!l){e=e!==null&&e.memoizedState!==null||Wt,o=Mn;var c=Wt;Mn=l,(Wt=e)&&!c?jn(t,a,(a.subtreeFlags&8772)!==0):Nn(t,a),Mn=o,Wt=c}break;case 30:break;default:Nn(t,a)}}function cp(t){var e=t.alternate;e!==null&&(t.alternate=null,cp(e)),t.child=null,t.deletions=null,t.sibling=null,t.tag===5&&(e=t.stateNode,e!==null&&Co(e)),t.stateNode=null,t.return=null,t.dependencies=null,t.memoizedProps=null,t.memoizedState=null,t.pendingProps=null,t.stateNode=null,t.updateQueue=null}var Ht=null,be=!1;function Rn(t,e,a){for(a=a.child;a!==null;)fp(t,e,a),a=a.sibling}function fp(t,e,a){if(Me&&typeof Me.onCommitFiberUnmount=="function")try{Me.onCommitFiberUnmount(Qi,a)}catch{}switch(a.tag){case 26:Wt||on(a,e),Rn(t,e,a),a.memoizedState?a.memoizedState.count--:a.stateNode&&(a=a.stateNode,a.parentNode.removeChild(a));break;case 27:Wt||on(a,e);var l=Ht,o=be;la(a.type)&&(Ht=a.stateNode,be=!1),Rn(t,e,a),Dl(a.stateNode),Ht=l,be=o;break;case 5:Wt||on(a,e);case 6:if(l=Ht,o=be,Ht=null,Rn(t,e,a),Ht=l,be=o,Ht!==null)if(be)try{(Ht.nodeType===9?Ht.body:Ht.nodeName==="HTML"?Ht.ownerDocument.body:Ht).removeChild(a.stateNode)}catch(c){jt(a,e,c)}else try{Ht.removeChild(a.stateNode)}catch(c){jt(a,e,c)}break;case 18:Ht!==null&&(be?(t=Ht,ag(t.nodeType===9?t.body:t.nodeName==="HTML"?t.ownerDocument.body:t,a.stateNode),Di(t)):ag(Ht,a.stateNode));break;case 4:l=Ht,o=be,Ht=a.stateNode.containerInfo,be=!0,Rn(t,e,a),Ht=l,be=o;break;case 0:case 11:case 14:case 15:$n(2,a,e),Wt||$n(4,a,e),Rn(t,e,a);break;case 1:Wt||(on(a,e),l=a.stateNode,typeof l.componentWillUnmount=="function"&&ip(a,e,l)),Rn(t,e,a);break;case 21:Rn(t,e,a);break;case 22:Wt=(l=Wt)||a.memoizedState!==null,Rn(t,e,a),Wt=l;break;default:Rn(t,e,a)}}function dp(t,e){if(e.memoizedState===null&&(t=e.alternate,t!==null&&(t=t.memoizedState,t!==null))){t=t.dehydrated;try{Di(t)}catch(a){jt(e,e.return,a)}}}function hp(t,e){if(e.memoizedState===null&&(t=e.alternate,t!==null&&(t=t.memoizedState,t!==null&&(t=t.dehydrated,t!==null))))try{Di(t)}catch(a){jt(e,e.return,a)}}function Vx(t){switch(t.tag){case 31:case 13:case 19:var e=t.stateNode;return e===null&&(e=t.stateNode=new op),e;case 22:return t=t.stateNode,e=t._retryCache,e===null&&(e=t._retryCache=new op),e;default:throw Error(r(435,t.tag))}}function tr(t,e){var a=Vx(t);e.forEach(function(l){if(!a.has(l)){a.add(l);var o=Xx.bind(null,t,l);l.then(o,o)}})}function xe(t,e){var a=e.deletions;if(a!==null)for(var l=0;l<a.length;l++){var o=a[l],c=t,p=e,x=p;t:for(;x!==null;){switch(x.tag){case 27:if(la(x.type)){Ht=x.stateNode,be=!1;break t}break;case 5:Ht=x.stateNode,be=!1;break t;case 3:case 4:Ht=x.stateNode.containerInfo,be=!0;break t}x=x.return}if(Ht===null)throw Error(r(160));fp(c,p,o),Ht=null,be=!1,c=o.alternate,c!==null&&(c.return=null),o.return=null}if(e.subtreeFlags&13886)for(e=e.child;e!==null;)mp(e,t),e=e.sibling}var $e=null;function mp(t,e){var a=t.alternate,l=t.flags;switch(t.tag){case 0:case 11:case 14:case 15:xe(e,t),Se(t),l&4&&($n(3,t,t.return),Sl(3,t),$n(5,t,t.return));break;case 1:xe(e,t),Se(t),l&512&&(Wt||a===null||on(a,a.return)),l&64&&Mn&&(t=t.updateQueue,t!==null&&(l=t.callbacks,l!==null&&(a=t.shared.hiddenCallbacks,t.shared.hiddenCallbacks=a===null?l:a.concat(l))));break;case 26:var o=$e;if(xe(e,t),Se(t),l&512&&(Wt||a===null||on(a,a.return)),l&4){var c=a!==null?a.memoizedState:null;if(l=t.memoizedState,a===null)if(l===null)if(t.stateNode===null){t:{l=t.type,a=t.memoizedProps,o=o.ownerDocument||o;e:switch(l){case"title":c=o.getElementsByTagName("title")[0],(!c||c[Fi]||c[re]||c.namespaceURI==="http://www.w3.org/2000/svg"||c.hasAttribute("itemprop"))&&(c=o.createElement(l),o.head.insertBefore(c,o.querySelector("head > title"))),fe(c,l,a),c[re]=t,ae(c),l=c;break t;case"link":var p=mg("link","href",o).get(l+(a.href||""));if(p){for(var x=0;x<p.length;x++)if(c=p[x],c.getAttribute("href")===(a.href==null||a.href===""?null:a.href)&&c.getAttribute("rel")===(a.rel==null?null:a.rel)&&c.getAttribute("title")===(a.title==null?null:a.title)&&c.getAttribute("crossorigin")===(a.crossOrigin==null?null:a.crossOrigin)){p.splice(x,1);break e}}c=o.createElement(l),fe(c,l,a),o.head.appendChild(c);break;case"meta":if(p=mg("meta","content",o).get(l+(a.content||""))){for(x=0;x<p.length;x++)if(c=p[x],c.getAttribute("content")===(a.content==null?null:""+a.content)&&c.getAttribute("name")===(a.name==null?null:a.name)&&c.getAttribute("property")===(a.property==null?null:a.property)&&c.getAttribute("http-equiv")===(a.httpEquiv==null?null:a.httpEquiv)&&c.getAttribute("charset")===(a.charSet==null?null:a.charSet)){p.splice(x,1);break e}}c=o.createElement(l),fe(c,l,a),o.head.appendChild(c);break;default:throw Error(r(468,l))}c[re]=t,ae(c),l=c}t.stateNode=l}else pg(o,t.type,t.stateNode);else t.stateNode=hg(o,l,t.memoizedProps);else c!==l?(c===null?a.stateNode!==null&&(a=a.stateNode,a.parentNode.removeChild(a)):c.count--,l===null?pg(o,t.type,t.stateNode):hg(o,l,t.memoizedProps)):l===null&&t.stateNode!==null&&Zu(t,t.memoizedProps,a.memoizedProps)}break;case 27:xe(e,t),Se(t),l&512&&(Wt||a===null||on(a,a.return)),a!==null&&l&4&&Zu(t,t.memoizedProps,a.memoizedProps);break;case 5:if(xe(e,t),Se(t),l&512&&(Wt||a===null||on(a,a.return)),t.flags&32){o=t.stateNode;try{ti(o,"")}catch(I){jt(t,t.return,I)}}l&4&&t.stateNode!=null&&(o=t.memoizedProps,Zu(t,o,a!==null?a.memoizedProps:o)),l&1024&&(Ju=!0);break;case 6:if(xe(e,t),Se(t),l&4){if(t.stateNode===null)throw Error(r(162));l=t.memoizedProps,a=t.stateNode;try{a.nodeValue=l}catch(I){jt(t,t.return,I)}}break;case 3:if(gr=null,o=$e,$e=mr(e.containerInfo),xe(e,t),$e=o,Se(t),l&4&&a!==null&&a.memoizedState.isDehydrated)try{Di(e.containerInfo)}catch(I){jt(t,t.return,I)}Ju&&(Ju=!1,pp(t));break;case 4:l=$e,$e=mr(t.stateNode.containerInfo),xe(e,t),Se(t),$e=l;break;case 12:xe(e,t),Se(t);break;case 31:xe(e,t),Se(t),l&4&&(l=t.updateQueue,l!==null&&(t.updateQueue=null,tr(t,l)));break;case 13:xe(e,t),Se(t),t.child.flags&8192&&t.memoizedState!==null!=(a!==null&&a.memoizedState!==null)&&(nr=Ce()),l&4&&(l=t.updateQueue,l!==null&&(t.updateQueue=null,tr(t,l)));break;case 22:o=t.memoizedState!==null;var w=a!==null&&a.memoizedState!==null,k=Mn,L=Wt;if(Mn=k||o,Wt=L||w,xe(e,t),Wt=L,Mn=k,Se(t),l&8192)t:for(e=t.stateNode,e._visibility=o?e._visibility&-2:e._visibility|1,o&&(a===null||w||Mn||Wt||_a(t)),a=null,e=t;;){if(e.tag===5||e.tag===26){if(a===null){w=a=e;try{if(c=w.stateNode,o)p=c.style,typeof p.setProperty=="function"?p.setProperty("display","none","important"):p.display="none";else{x=w.stateNode;var Y=w.memoizedProps.style,O=Y!=null&&Y.hasOwnProperty("display")?Y.display:null;x.style.display=O==null||typeof O=="boolean"?"":(""+O).trim()}}catch(I){jt(w,w.return,I)}}}else if(e.tag===6){if(a===null){w=e;try{w.stateNode.nodeValue=o?"":w.memoizedProps}catch(I){jt(w,w.return,I)}}}else if(e.tag===18){if(a===null){w=e;try{var _=w.stateNode;o?ig(_,!0):ig(w.stateNode,!1)}catch(I){jt(w,w.return,I)}}}else if((e.tag!==22&&e.tag!==23||e.memoizedState===null||e===t)&&e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break t;for(;e.sibling===null;){if(e.return===null||e.return===t)break t;a===e&&(a=null),e=e.return}a===e&&(a=null),e.sibling.return=e.return,e=e.sibling}l&4&&(l=t.updateQueue,l!==null&&(a=l.retryQueue,a!==null&&(l.retryQueue=null,tr(t,a))));break;case 19:xe(e,t),Se(t),l&4&&(l=t.updateQueue,l!==null&&(t.updateQueue=null,tr(t,l)));break;case 30:break;case 21:break;default:xe(e,t),Se(t)}}function Se(t){var e=t.flags;if(e&2){try{for(var a,l=t.return;l!==null;){if(sp(l)){a=l;break}l=l.return}if(a==null)throw Error(r(160));switch(a.tag){case 27:var o=a.stateNode,c=Pu(t);Is(t,c,o);break;case 5:var p=a.stateNode;a.flags&32&&(ti(p,""),a.flags&=-33);var x=Pu(t);Is(t,x,p);break;case 3:case 4:var w=a.stateNode.containerInfo,k=Pu(t);Fu(t,k,w);break;default:throw Error(r(161))}}catch(L){jt(t,t.return,L)}t.flags&=-3}e&4096&&(t.flags&=-4097)}function pp(t){if(t.subtreeFlags&1024)for(t=t.child;t!==null;){var e=t;pp(e),e.tag===5&&e.flags&1024&&e.stateNode.reset(),t=t.sibling}}function Nn(t,e){if(e.subtreeFlags&8772)for(e=e.child;e!==null;)up(t,e.alternate,e),e=e.sibling}function _a(t){for(t=t.child;t!==null;){var e=t;switch(e.tag){case 0:case 11:case 14:case 15:$n(4,e,e.return),_a(e);break;case 1:on(e,e.return);var a=e.stateNode;typeof a.componentWillUnmount=="function"&&ip(e,e.return,a),_a(e);break;case 27:Dl(e.stateNode);case 26:case 5:on(e,e.return),_a(e);break;case 22:e.memoizedState===null&&_a(e);break;case 30:_a(e);break;default:_a(e)}t=t.sibling}}function jn(t,e,a){for(a=a&&(e.subtreeFlags&8772)!==0,e=e.child;e!==null;){var l=e.alternate,o=t,c=e,p=c.flags;switch(c.tag){case 0:case 11:case 15:jn(o,c,a),Sl(4,c);break;case 1:if(jn(o,c,a),l=c,o=l.stateNode,typeof o.componentDidMount=="function")try{o.componentDidMount()}catch(k){jt(l,l.return,k)}if(l=c,o=l.updateQueue,o!==null){var x=l.stateNode;try{var w=o.shared.hiddenCallbacks;if(w!==null)for(o.shared.hiddenCallbacks=null,o=0;o<w.length;o++)Qh(w[o],x)}catch(k){jt(l,l.return,k)}}a&&p&64&&ap(c),wl(c,c.return);break;case 27:rp(c);case 26:case 5:jn(o,c,a),a&&l===null&&p&4&&lp(c),wl(c,c.return);break;case 12:jn(o,c,a);break;case 31:jn(o,c,a),a&&p&4&&dp(o,c);break;case 13:jn(o,c,a),a&&p&4&&hp(o,c);break;case 22:c.memoizedState===null&&jn(o,c,a),wl(c,c.return);break;case 30:break;default:jn(o,c,a)}e=e.sibling}}function Wu(t,e){var a=null;t!==null&&t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(a=t.memoizedState.cachePool.pool),t=null,e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(t=e.memoizedState.cachePool.pool),t!==a&&(t!=null&&t.refCount++,a!=null&&ol(a))}function $u(t,e){t=null,e.alternate!==null&&(t=e.alternate.memoizedState.cache),e=e.memoizedState.cache,e!==t&&(e.refCount++,t!=null&&ol(t))}function Ie(t,e,a,l){if(e.subtreeFlags&10256)for(e=e.child;e!==null;)gp(t,e,a,l),e=e.sibling}function gp(t,e,a,l){var o=e.flags;switch(e.tag){case 0:case 11:case 15:Ie(t,e,a,l),o&2048&&Sl(9,e);break;case 1:Ie(t,e,a,l);break;case 3:Ie(t,e,a,l),o&2048&&(t=null,e.alternate!==null&&(t=e.alternate.memoizedState.cache),e=e.memoizedState.cache,e!==t&&(e.refCount++,t!=null&&ol(t)));break;case 12:if(o&2048){Ie(t,e,a,l),t=e.stateNode;try{var c=e.memoizedProps,p=c.id,x=c.onPostCommit;typeof x=="function"&&x(p,e.alternate===null?"mount":"update",t.passiveEffectDuration,-0)}catch(w){jt(e,e.return,w)}}else Ie(t,e,a,l);break;case 31:Ie(t,e,a,l);break;case 13:Ie(t,e,a,l);break;case 23:break;case 22:c=e.stateNode,p=e.alternate,e.memoizedState!==null?c._visibility&2?Ie(t,e,a,l):Tl(t,e):c._visibility&2?Ie(t,e,a,l):(c._visibility|=2,xi(t,e,a,l,(e.subtreeFlags&10256)!==0||!1)),o&2048&&Wu(p,e);break;case 24:Ie(t,e,a,l),o&2048&&$u(e.alternate,e);break;default:Ie(t,e,a,l)}}function xi(t,e,a,l,o){for(o=o&&((e.subtreeFlags&10256)!==0||!1),e=e.child;e!==null;){var c=t,p=e,x=a,w=l,k=p.flags;switch(p.tag){case 0:case 11:case 15:xi(c,p,x,w,o),Sl(8,p);break;case 23:break;case 22:var L=p.stateNode;p.memoizedState!==null?L._visibility&2?xi(c,p,x,w,o):Tl(c,p):(L._visibility|=2,xi(c,p,x,w,o)),o&&k&2048&&Wu(p.alternate,p);break;case 24:xi(c,p,x,w,o),o&&k&2048&&$u(p.alternate,p);break;default:xi(c,p,x,w,o)}e=e.sibling}}function Tl(t,e){if(e.subtreeFlags&10256)for(e=e.child;e!==null;){var a=t,l=e,o=l.flags;switch(l.tag){case 22:Tl(a,l),o&2048&&Wu(l.alternate,l);break;case 24:Tl(a,l),o&2048&&$u(l.alternate,l);break;default:Tl(a,l)}e=e.sibling}}var El=8192;function Si(t,e,a){if(t.subtreeFlags&El)for(t=t.child;t!==null;)yp(t,e,a),t=t.sibling}function yp(t,e,a){switch(t.tag){case 26:Si(t,e,a),t.flags&El&&t.memoizedState!==null&&S2(a,$e,t.memoizedState,t.memoizedProps);break;case 5:Si(t,e,a);break;case 3:case 4:var l=$e;$e=mr(t.stateNode.containerInfo),Si(t,e,a),$e=l;break;case 22:t.memoizedState===null&&(l=t.alternate,l!==null&&l.memoizedState!==null?(l=El,El=16777216,Si(t,e,a),El=l):Si(t,e,a));break;default:Si(t,e,a)}}function vp(t){var e=t.alternate;if(e!==null&&(t=e.child,t!==null)){e.child=null;do e=t.sibling,t.sibling=null,t=e;while(t!==null)}}function Al(t){var e=t.deletions;if((t.flags&16)!==0){if(e!==null)for(var a=0;a<e.length;a++){var l=e[a];ie=l,xp(l,t)}vp(t)}if(t.subtreeFlags&10256)for(t=t.child;t!==null;)bp(t),t=t.sibling}function bp(t){switch(t.tag){case 0:case 11:case 15:Al(t),t.flags&2048&&$n(9,t,t.return);break;case 3:Al(t);break;case 12:Al(t);break;case 22:var e=t.stateNode;t.memoizedState!==null&&e._visibility&2&&(t.return===null||t.return.tag!==13)?(e._visibility&=-3,er(t)):Al(t);break;default:Al(t)}}function er(t){var e=t.deletions;if((t.flags&16)!==0){if(e!==null)for(var a=0;a<e.length;a++){var l=e[a];ie=l,xp(l,t)}vp(t)}for(t=t.child;t!==null;){switch(e=t,e.tag){case 0:case 11:case 15:$n(8,e,e.return),er(e);break;case 22:a=e.stateNode,a._visibility&2&&(a._visibility&=-3,er(e));break;default:er(e)}t=t.sibling}}function xp(t,e){for(;ie!==null;){var a=ie;switch(a.tag){case 0:case 11:case 15:$n(8,a,e);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:ol(a.memoizedState.cache)}if(l=a.child,l!==null)l.return=a,ie=l;else t:for(a=t;ie!==null;){l=ie;var o=l.sibling,c=l.return;if(cp(l),l===a){ie=null;break t}if(o!==null){o.return=c,ie=o;break t}ie=c}}}var _x={getCacheForType:function(t){var e=ue(Pt),a=e.data.get(t);return a===void 0&&(a=t(),e.data.set(t,a)),a},cacheSignal:function(){return ue(Pt).controller.signal}},Bx=typeof WeakMap=="function"?WeakMap:Map,Rt=0,Vt=null,bt=null,St=0,Nt=0,ke=null,In=!1,wi=!1,Iu=!1,Dn=0,Xt=0,ta=0,Ba=0,tc=0,Oe=0,Ti=0,Cl=null,we=null,ec=!1,nr=0,Sp=0,ar=1/0,ir=null,ea=null,It=0,na=null,Ei=null,zn=0,nc=0,ac=null,wp=null,Ml=0,ic=null;function Ve(){return(Rt&2)!==0&&St!==0?St&-St:V.T!==null?cc():Ld()}function Tp(){if(Oe===0)if((St&536870912)===0||Et){var t=ds;ds<<=1,(ds&3932160)===0&&(ds=262144),Oe=t}else Oe=536870912;return t=De.current,t!==null&&(t.flags|=32),Oe}function Te(t,e,a){(t===Vt&&(Nt===2||Nt===9)||t.cancelPendingCommit!==null)&&(Ai(t,0),aa(t,St,Oe,!1)),Pi(t,a),((Rt&2)===0||t!==Vt)&&(t===Vt&&((Rt&2)===0&&(Ba|=a),Xt===4&&aa(t,St,Oe,!1)),un(t))}function Ep(t,e,a){if((Rt&6)!==0)throw Error(r(327));var l=!a&&(e&127)===0&&(e&t.expiredLanes)===0||Zi(t,e),o=l?Hx(t,e):sc(t,e,!0),c=l;do{if(o===0){wi&&!l&&aa(t,e,0,!1);break}else{if(a=t.current.alternate,c&&!Lx(a)){o=sc(t,e,!1),c=!1;continue}if(o===2){if(c=e,t.errorRecoveryDisabledLanes&c)var p=0;else p=t.pendingLanes&-536870913,p=p!==0?p:p&536870912?536870912:0;if(p!==0){e=p;t:{var x=t;o=Cl;var w=x.current.memoizedState.isDehydrated;if(w&&(Ai(x,p).flags|=256),p=sc(x,p,!1),p!==2){if(Iu&&!w){x.errorRecoveryDisabledLanes|=c,Ba|=c,o=4;break t}c=we,we=o,c!==null&&(we===null?we=c:we.push.apply(we,c))}o=p}if(c=!1,o!==2)continue}}if(o===1){Ai(t,0),aa(t,e,0,!0);break}t:{switch(l=t,c=o,c){case 0:case 1:throw Error(r(345));case 4:if((e&4194048)!==e)break;case 6:aa(l,e,Oe,!In);break t;case 2:we=null;break;case 3:case 5:break;default:throw Error(r(329))}if((e&62914560)===e&&(o=nr+300-Ce(),10<o)){if(aa(l,e,Oe,!In),ms(l,0,!0)!==0)break t;zn=e,l.timeoutHandle=eg(Ap.bind(null,l,a,we,ir,ec,e,Oe,Ba,Ti,In,c,"Throttled",-0,0),o);break t}Ap(l,a,we,ir,ec,e,Oe,Ba,Ti,In,c,null,-0,0)}}break}while(!0);un(t)}function Ap(t,e,a,l,o,c,p,x,w,k,L,Y,O,_){if(t.timeoutHandle=-1,Y=e.subtreeFlags,Y&8192||(Y&16785408)===16785408){Y={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:yn},yp(e,c,Y);var I=(c&62914560)===c?nr-Ce():(c&4194048)===c?Sp-Ce():0;if(I=w2(Y,I),I!==null){zn=c,t.cancelPendingCommit=I(kp.bind(null,t,e,c,a,l,o,p,x,w,L,Y,null,O,_)),aa(t,c,p,!k);return}}kp(t,e,c,a,l,o,p,x,w)}function Lx(t){for(var e=t;;){var a=e.tag;if((a===0||a===11||a===15)&&e.flags&16384&&(a=e.updateQueue,a!==null&&(a=a.stores,a!==null)))for(var l=0;l<a.length;l++){var o=a[l],c=o.getSnapshot;o=o.value;try{if(!Ne(c(),o))return!1}catch{return!1}}if(a=e.child,e.subtreeFlags&16384&&a!==null)a.return=e,e=a;else{if(e===t)break;for(;e.sibling===null;){if(e.return===null||e.return===t)return!0;e=e.return}e.sibling.return=e.return,e=e.sibling}}return!0}function aa(t,e,a,l){e&=~tc,e&=~Ba,t.suspendedLanes|=e,t.pingedLanes&=~e,l&&(t.warmLanes|=e),l=t.expirationTimes;for(var o=e;0<o;){var c=31-Re(o),p=1<<c;l[c]=-1,o&=~p}a!==0&&Vd(t,a,e)}function lr(){return(Rt&6)===0?(Rl(0),!1):!0}function lc(){if(bt!==null){if(Nt===0)var t=bt.return;else t=bt,Sn=Ra=null,Su(t),pi=null,cl=0,t=bt;for(;t!==null;)np(t.alternate,t),t=t.return;bt=null}}function Ai(t,e){var a=t.timeoutHandle;a!==-1&&(t.timeoutHandle=-1,i2(a)),a=t.cancelPendingCommit,a!==null&&(t.cancelPendingCommit=null,a()),zn=0,lc(),Vt=t,bt=a=bn(t.current,null),St=e,Nt=0,ke=null,In=!1,wi=Zi(t,e),Iu=!1,Ti=Oe=tc=Ba=ta=Xt=0,we=Cl=null,ec=!1,(e&8)!==0&&(e|=e&32);var l=t.entangledLanes;if(l!==0)for(t=t.entanglements,l&=e;0<l;){var o=31-Re(l),c=1<<o;e|=t[o],l&=~c}return Dn=e,Cs(),a}function Cp(t,e){dt=null,V.H=vl,e===mi||e===Os?(e=Gh(),Nt=3):e===uu?(e=Gh(),Nt=4):Nt=e===Bu?8:e!==null&&typeof e=="object"&&typeof e.then=="function"?6:1,ke=e,bt===null&&(Xt=1,Ps(t,qe(e,t.current)))}function Mp(){var t=De.current;return t===null?!0:(St&4194048)===St?Ke===null:(St&62914560)===St||(St&536870912)!==0?t===Ke:!1}function Rp(){var t=V.H;return V.H=vl,t===null?vl:t}function Np(){var t=V.A;return V.A=_x,t}function sr(){Xt=4,In||(St&4194048)!==St&&De.current!==null||(wi=!0),(ta&134217727)===0&&(Ba&134217727)===0||Vt===null||aa(Vt,St,Oe,!1)}function sc(t,e,a){var l=Rt;Rt|=2;var o=Rp(),c=Np();(Vt!==t||St!==e)&&(ir=null,Ai(t,e)),e=!1;var p=Xt;t:do try{if(Nt!==0&&bt!==null){var x=bt,w=ke;switch(Nt){case 8:lc(),p=6;break t;case 3:case 2:case 9:case 6:De.current===null&&(e=!0);var k=Nt;if(Nt=0,ke=null,Ci(t,x,w,k),a&&wi){p=0;break t}break;default:k=Nt,Nt=0,ke=null,Ci(t,x,w,k)}}Ux(),p=Xt;break}catch(L){Cp(t,L)}while(!0);return e&&t.shellSuspendCounter++,Sn=Ra=null,Rt=l,V.H=o,V.A=c,bt===null&&(Vt=null,St=0,Cs()),p}function Ux(){for(;bt!==null;)jp(bt)}function Hx(t,e){var a=Rt;Rt|=2;var l=Rp(),o=Np();Vt!==t||St!==e?(ir=null,ar=Ce()+500,Ai(t,e)):wi=Zi(t,e);t:do try{if(Nt!==0&&bt!==null){e=bt;var c=ke;e:switch(Nt){case 1:Nt=0,ke=null,Ci(t,e,c,1);break;case 2:case 9:if(Hh(c)){Nt=0,ke=null,Dp(e);break}e=function(){Nt!==2&&Nt!==9||Vt!==t||(Nt=7),un(t)},c.then(e,e);break t;case 3:Nt=7;break t;case 4:Nt=5;break t;case 7:Hh(c)?(Nt=0,ke=null,Dp(e)):(Nt=0,ke=null,Ci(t,e,c,7));break;case 5:var p=null;switch(bt.tag){case 26:p=bt.memoizedState;case 5:case 27:var x=bt;if(p?gg(p):x.stateNode.complete){Nt=0,ke=null;var w=x.sibling;if(w!==null)bt=w;else{var k=x.return;k!==null?(bt=k,rr(k)):bt=null}break e}}Nt=0,ke=null,Ci(t,e,c,5);break;case 6:Nt=0,ke=null,Ci(t,e,c,6);break;case 8:lc(),Xt=6;break t;default:throw Error(r(462))}}qx();break}catch(L){Cp(t,L)}while(!0);return Sn=Ra=null,V.H=l,V.A=o,Rt=a,bt!==null?0:(Vt=null,St=0,Cs(),Xt)}function qx(){for(;bt!==null&&!c1();)jp(bt)}function jp(t){var e=tp(t.alternate,t,Dn);t.memoizedProps=t.pendingProps,e===null?rr(t):bt=e}function Dp(t){var e=t,a=e.alternate;switch(e.tag){case 15:case 0:e=Pm(a,e,e.pendingProps,e.type,void 0,St);break;case 11:e=Pm(a,e,e.pendingProps,e.type.render,e.ref,St);break;case 5:Su(e);default:np(a,e),e=bt=Nh(e,Dn),e=tp(a,e,Dn)}t.memoizedProps=t.pendingProps,e===null?rr(t):bt=e}function Ci(t,e,a,l){Sn=Ra=null,Su(e),pi=null,cl=0;var o=e.return;try{if(Nx(t,o,e,a,St)){Xt=1,Ps(t,qe(a,t.current)),bt=null;return}}catch(c){if(o!==null)throw bt=o,c;Xt=1,Ps(t,qe(a,t.current)),bt=null;return}e.flags&32768?(Et||l===1?t=!0:wi||(St&536870912)!==0?t=!1:(In=t=!0,(l===2||l===9||l===3||l===6)&&(l=De.current,l!==null&&l.tag===13&&(l.flags|=16384))),zp(e,t)):rr(e)}function rr(t){var e=t;do{if((e.flags&32768)!==0){zp(e,In);return}t=e.return;var a=zx(e.alternate,e,Dn);if(a!==null){bt=a;return}if(e=e.sibling,e!==null){bt=e;return}bt=e=t}while(e!==null);Xt===0&&(Xt=5)}function zp(t,e){do{var a=kx(t.alternate,t);if(a!==null){a.flags&=32767,bt=a;return}if(a=t.return,a!==null&&(a.flags|=32768,a.subtreeFlags=0,a.deletions=null),!e&&(t=t.sibling,t!==null)){bt=t;return}bt=t=a}while(t!==null);Xt=6,bt=null}function kp(t,e,a,l,o,c,p,x,w){t.cancelPendingCommit=null;do or();while(It!==0);if((Rt&6)!==0)throw Error(r(327));if(e!==null){if(e===t.current)throw Error(r(177));if(c=e.lanes|e.childLanes,c|=Po,x1(t,a,c,p,x,w),t===Vt&&(bt=Vt=null,St=0),Ei=e,na=t,zn=a,nc=c,ac=o,wp=l,(e.subtreeFlags&10256)!==0||(e.flags&10256)!==0?(t.callbackNode=null,t.callbackPriority=0,Kx(cs,function(){return Lp(),null})):(t.callbackNode=null,t.callbackPriority=0),l=(e.flags&13878)!==0,(e.subtreeFlags&13878)!==0||l){l=V.T,V.T=null,o=Z.p,Z.p=2,p=Rt,Rt|=4;try{Ox(t,e,a)}finally{Rt=p,Z.p=o,V.T=l}}It=1,Op(),Vp(),_p()}}function Op(){if(It===1){It=0;var t=na,e=Ei,a=(e.flags&13878)!==0;if((e.subtreeFlags&13878)!==0||a){a=V.T,V.T=null;var l=Z.p;Z.p=2;var o=Rt;Rt|=4;try{mp(e,t);var c=vc,p=xh(t.containerInfo),x=c.focusedElem,w=c.selectionRange;if(p!==x&&x&&x.ownerDocument&&bh(x.ownerDocument.documentElement,x)){if(w!==null&&Yo(x)){var k=w.start,L=w.end;if(L===void 0&&(L=k),"selectionStart"in x)x.selectionStart=k,x.selectionEnd=Math.min(L,x.value.length);else{var Y=x.ownerDocument||document,O=Y&&Y.defaultView||window;if(O.getSelection){var _=O.getSelection(),I=x.textContent.length,ut=Math.min(w.start,I),kt=w.end===void 0?ut:Math.min(w.end,I);!_.extend&&ut>kt&&(p=kt,kt=ut,ut=p);var R=vh(x,ut),C=vh(x,kt);if(R&&C&&(_.rangeCount!==1||_.anchorNode!==R.node||_.anchorOffset!==R.offset||_.focusNode!==C.node||_.focusOffset!==C.offset)){var z=Y.createRange();z.setStart(R.node,R.offset),_.removeAllRanges(),ut>kt?(_.addRange(z),_.extend(C.node,C.offset)):(z.setEnd(C.node,C.offset),_.addRange(z))}}}}for(Y=[],_=x;_=_.parentNode;)_.nodeType===1&&Y.push({element:_,left:_.scrollLeft,top:_.scrollTop});for(typeof x.focus=="function"&&x.focus(),x=0;x<Y.length;x++){var U=Y[x];U.element.scrollLeft=U.left,U.element.scrollTop=U.top}}xr=!!yc,vc=yc=null}finally{Rt=o,Z.p=l,V.T=a}}t.current=e,It=2}}function Vp(){if(It===2){It=0;var t=na,e=Ei,a=(e.flags&8772)!==0;if((e.subtreeFlags&8772)!==0||a){a=V.T,V.T=null;var l=Z.p;Z.p=2;var o=Rt;Rt|=4;try{up(t,e.alternate,e)}finally{Rt=o,Z.p=l,V.T=a}}It=3}}function _p(){if(It===4||It===3){It=0,f1();var t=na,e=Ei,a=zn,l=wp;(e.subtreeFlags&10256)!==0||(e.flags&10256)!==0?It=5:(It=0,Ei=na=null,Bp(t,t.pendingLanes));var o=t.pendingLanes;if(o===0&&(ea=null),Eo(a),e=e.stateNode,Me&&typeof Me.onCommitFiberRoot=="function")try{Me.onCommitFiberRoot(Qi,e,void 0,(e.current.flags&128)===128)}catch{}if(l!==null){e=V.T,o=Z.p,Z.p=2,V.T=null;try{for(var c=t.onRecoverableError,p=0;p<l.length;p++){var x=l[p];c(x.value,{componentStack:x.stack})}}finally{V.T=e,Z.p=o}}(zn&3)!==0&&or(),un(t),o=t.pendingLanes,(a&261930)!==0&&(o&42)!==0?t===ic?Ml++:(Ml=0,ic=t):Ml=0,Rl(0)}}function Bp(t,e){(t.pooledCacheLanes&=e)===0&&(e=t.pooledCache,e!=null&&(t.pooledCache=null,ol(e)))}function or(){return Op(),Vp(),_p(),Lp()}function Lp(){if(It!==5)return!1;var t=na,e=nc;nc=0;var a=Eo(zn),l=V.T,o=Z.p;try{Z.p=32>a?32:a,V.T=null,a=ac,ac=null;var c=na,p=zn;if(It=0,Ei=na=null,zn=0,(Rt&6)!==0)throw Error(r(331));var x=Rt;if(Rt|=4,bp(c.current),gp(c,c.current,p,a),Rt=x,Rl(0,!1),Me&&typeof Me.onPostCommitFiberRoot=="function")try{Me.onPostCommitFiberRoot(Qi,c)}catch{}return!0}finally{Z.p=o,V.T=l,Bp(t,e)}}function Up(t,e,a){e=qe(a,e),e=_u(t.stateNode,e,2),t=Fn(t,e,2),t!==null&&(Pi(t,2),un(t))}function jt(t,e,a){if(t.tag===3)Up(t,t,a);else for(;e!==null;){if(e.tag===3){Up(e,t,a);break}else if(e.tag===1){var l=e.stateNode;if(typeof e.type.getDerivedStateFromError=="function"||typeof l.componentDidCatch=="function"&&(ea===null||!ea.has(l))){t=qe(a,t),a=Hm(2),l=Fn(e,a,2),l!==null&&(qm(a,l,e,t),Pi(l,2),un(l));break}}e=e.return}}function rc(t,e,a){var l=t.pingCache;if(l===null){l=t.pingCache=new Bx;var o=new Set;l.set(e,o)}else o=l.get(e),o===void 0&&(o=new Set,l.set(e,o));o.has(a)||(Iu=!0,o.add(a),t=Gx.bind(null,t,e,a),e.then(t,t))}function Gx(t,e,a){var l=t.pingCache;l!==null&&l.delete(e),t.pingedLanes|=t.suspendedLanes&a,t.warmLanes&=~a,Vt===t&&(St&a)===a&&(Xt===4||Xt===3&&(St&62914560)===St&&300>Ce()-nr?(Rt&2)===0&&Ai(t,0):tc|=a,Ti===St&&(Ti=0)),un(t)}function Hp(t,e){e===0&&(e=Od()),t=Aa(t,e),t!==null&&(Pi(t,e),un(t))}function Yx(t){var e=t.memoizedState,a=0;e!==null&&(a=e.retryLane),Hp(t,a)}function Xx(t,e){var a=0;switch(t.tag){case 31:case 13:var l=t.stateNode,o=t.memoizedState;o!==null&&(a=o.retryLane);break;case 19:l=t.stateNode;break;case 22:l=t.stateNode._retryCache;break;default:throw Error(r(314))}l!==null&&l.delete(e),Hp(t,a)}function Kx(t,e){return xo(t,e)}var ur=null,Mi=null,oc=!1,cr=!1,uc=!1,ia=0;function un(t){t!==Mi&&t.next===null&&(Mi===null?ur=Mi=t:Mi=Mi.next=t),cr=!0,oc||(oc=!0,Zx())}function Rl(t,e){if(!uc&&cr){uc=!0;do for(var a=!1,l=ur;l!==null;){if(t!==0){var o=l.pendingLanes;if(o===0)var c=0;else{var p=l.suspendedLanes,x=l.pingedLanes;c=(1<<31-Re(42|t)+1)-1,c&=o&~(p&~x),c=c&201326741?c&201326741|1:c?c|2:0}c!==0&&(a=!0,Xp(l,c))}else c=St,c=ms(l,l===Vt?c:0,l.cancelPendingCommit!==null||l.timeoutHandle!==-1),(c&3)===0||Zi(l,c)||(a=!0,Xp(l,c));l=l.next}while(a);uc=!1}}function Qx(){qp()}function qp(){cr=oc=!1;var t=0;ia!==0&&a2()&&(t=ia);for(var e=Ce(),a=null,l=ur;l!==null;){var o=l.next,c=Gp(l,e);c===0?(l.next=null,a===null?ur=o:a.next=o,o===null&&(Mi=a)):(a=l,(t!==0||(c&3)!==0)&&(cr=!0)),l=o}It!==0&&It!==5||Rl(t),ia!==0&&(ia=0)}function Gp(t,e){for(var a=t.suspendedLanes,l=t.pingedLanes,o=t.expirationTimes,c=t.pendingLanes&-62914561;0<c;){var p=31-Re(c),x=1<<p,w=o[p];w===-1?((x&a)===0||(x&l)!==0)&&(o[p]=b1(x,e)):w<=e&&(t.expiredLanes|=x),c&=~x}if(e=Vt,a=St,a=ms(t,t===e?a:0,t.cancelPendingCommit!==null||t.timeoutHandle!==-1),l=t.callbackNode,a===0||t===e&&(Nt===2||Nt===9)||t.cancelPendingCommit!==null)return l!==null&&l!==null&&So(l),t.callbackNode=null,t.callbackPriority=0;if((a&3)===0||Zi(t,a)){if(e=a&-a,e===t.callbackPriority)return e;switch(l!==null&&So(l),Eo(a)){case 2:case 8:a=zd;break;case 32:a=cs;break;case 268435456:a=kd;break;default:a=cs}return l=Yp.bind(null,t),a=xo(a,l),t.callbackPriority=e,t.callbackNode=a,e}return l!==null&&l!==null&&So(l),t.callbackPriority=2,t.callbackNode=null,2}function Yp(t,e){if(It!==0&&It!==5)return t.callbackNode=null,t.callbackPriority=0,null;var a=t.callbackNode;if(or()&&t.callbackNode!==a)return null;var l=St;return l=ms(t,t===Vt?l:0,t.cancelPendingCommit!==null||t.timeoutHandle!==-1),l===0?null:(Ep(t,l,e),Gp(t,Ce()),t.callbackNode!=null&&t.callbackNode===a?Yp.bind(null,t):null)}function Xp(t,e){if(or())return null;Ep(t,e,!0)}function Zx(){l2(function(){(Rt&6)!==0?xo(Dd,Qx):qp()})}function cc(){if(ia===0){var t=di;t===0&&(t=fs,fs<<=1,(fs&261888)===0&&(fs=256)),ia=t}return ia}function Kp(t){return t==null||typeof t=="symbol"||typeof t=="boolean"?null:typeof t=="function"?t:vs(""+t)}function Qp(t,e){var a=e.ownerDocument.createElement("input");return a.name=e.name,a.value=e.value,t.id&&a.setAttribute("form",t.id),e.parentNode.insertBefore(a,e),t=new FormData(t),a.parentNode.removeChild(a),t}function Px(t,e,a,l,o){if(e==="submit"&&a&&a.stateNode===o){var c=Kp((o[ye]||null).action),p=l.submitter;p&&(e=(e=p[ye]||null)?Kp(e.formAction):p.getAttribute("formAction"),e!==null&&(c=e,p=null));var x=new ws("action","action",null,l,o);t.push({event:x,listeners:[{instance:null,listener:function(){if(l.defaultPrevented){if(ia!==0){var w=p?Qp(o,p):new FormData(o);ju(a,{pending:!0,data:w,method:o.method,action:c},null,w)}}else typeof c=="function"&&(x.preventDefault(),w=p?Qp(o,p):new FormData(o),ju(a,{pending:!0,data:w,method:o.method,action:c},c,w))},currentTarget:o}]})}}for(var fc=0;fc<Zo.length;fc++){var dc=Zo[fc],Fx=dc.toLowerCase(),Jx=dc[0].toUpperCase()+dc.slice(1);We(Fx,"on"+Jx)}We(Th,"onAnimationEnd"),We(Eh,"onAnimationIteration"),We(Ah,"onAnimationStart"),We("dblclick","onDoubleClick"),We("focusin","onFocus"),We("focusout","onBlur"),We(dx,"onTransitionRun"),We(hx,"onTransitionStart"),We(mx,"onTransitionCancel"),We(Ch,"onTransitionEnd"),$a("onMouseEnter",["mouseout","mouseover"]),$a("onMouseLeave",["mouseout","mouseover"]),$a("onPointerEnter",["pointerout","pointerover"]),$a("onPointerLeave",["pointerout","pointerover"]),Sa("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),Sa("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),Sa("onBeforeInput",["compositionend","keypress","textInput","paste"]),Sa("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),Sa("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),Sa("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Nl="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Wx=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Nl));function Zp(t,e){e=(e&4)!==0;for(var a=0;a<t.length;a++){var l=t[a],o=l.event;l=l.listeners;t:{var c=void 0;if(e)for(var p=l.length-1;0<=p;p--){var x=l[p],w=x.instance,k=x.currentTarget;if(x=x.listener,w!==c&&o.isPropagationStopped())break t;c=x,o.currentTarget=k;try{c(o)}catch(L){As(L)}o.currentTarget=null,c=w}else for(p=0;p<l.length;p++){if(x=l[p],w=x.instance,k=x.currentTarget,x=x.listener,w!==c&&o.isPropagationStopped())break t;c=x,o.currentTarget=k;try{c(o)}catch(L){As(L)}o.currentTarget=null,c=w}}}}function xt(t,e){var a=e[Ao];a===void 0&&(a=e[Ao]=new Set);var l=t+"__bubble";a.has(l)||(Pp(e,t,2,!1),a.add(l))}function hc(t,e,a){var l=0;e&&(l|=4),Pp(a,t,l,e)}var fr="_reactListening"+Math.random().toString(36).slice(2);function mc(t){if(!t[fr]){t[fr]=!0,qd.forEach(function(a){a!=="selectionchange"&&(Wx.has(a)||hc(a,!1,t),hc(a,!0,t))});var e=t.nodeType===9?t:t.ownerDocument;e===null||e[fr]||(e[fr]=!0,hc("selectionchange",!1,e))}}function Pp(t,e,a,l){switch(Tg(e)){case 2:var o=A2;break;case 8:o=C2;break;default:o=Nc}a=o.bind(null,e,a,t),o=void 0,!Oo||e!=="touchstart"&&e!=="touchmove"&&e!=="wheel"||(o=!0),l?o!==void 0?t.addEventListener(e,a,{capture:!0,passive:o}):t.addEventListener(e,a,!0):o!==void 0?t.addEventListener(e,a,{passive:o}):t.addEventListener(e,a,!1)}function pc(t,e,a,l,o){var c=l;if((e&1)===0&&(e&2)===0&&l!==null)t:for(;;){if(l===null)return;var p=l.tag;if(p===3||p===4){var x=l.stateNode.containerInfo;if(x===o)break;if(p===4)for(p=l.return;p!==null;){var w=p.tag;if((w===3||w===4)&&p.stateNode.containerInfo===o)return;p=p.return}for(;x!==null;){if(p=Fa(x),p===null)return;if(w=p.tag,w===5||w===6||w===26||w===27){l=c=p;continue t}x=x.parentNode}}l=l.return}Id(function(){var k=c,L=zo(a),Y=[];t:{var O=Mh.get(t);if(O!==void 0){var _=ws,I=t;switch(t){case"keypress":if(xs(a)===0)break t;case"keydown":case"keyup":_=X1;break;case"focusin":I="focus",_=Lo;break;case"focusout":I="blur",_=Lo;break;case"beforeblur":case"afterblur":_=Lo;break;case"click":if(a.button===2)break t;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":_=nh;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":_=z1;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":_=Z1;break;case Th:case Eh:case Ah:_=V1;break;case Ch:_=F1;break;case"scroll":case"scrollend":_=j1;break;case"wheel":_=W1;break;case"copy":case"cut":case"paste":_=B1;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":_=ih;break;case"toggle":case"beforetoggle":_=I1}var ut=(e&4)!==0,kt=!ut&&(t==="scroll"||t==="scrollend"),R=ut?O!==null?O+"Capture":null:O;ut=[];for(var C=k,z;C!==null;){var U=C;if(z=U.stateNode,U=U.tag,U!==5&&U!==26&&U!==27||z===null||R===null||(U=Wi(C,R),U!=null&&ut.push(jl(C,U,z))),kt)break;C=C.return}0<ut.length&&(O=new _(O,I,null,a,L),Y.push({event:O,listeners:ut}))}}if((e&7)===0){t:{if(O=t==="mouseover"||t==="pointerover",_=t==="mouseout"||t==="pointerout",O&&a!==Do&&(I=a.relatedTarget||a.fromElement)&&(Fa(I)||I[Pa]))break t;if((_||O)&&(O=L.window===L?L:(O=L.ownerDocument)?O.defaultView||O.parentWindow:window,_?(I=a.relatedTarget||a.toElement,_=k,I=I?Fa(I):null,I!==null&&(kt=d(I),ut=I.tag,I!==kt||ut!==5&&ut!==27&&ut!==6)&&(I=null)):(_=null,I=k),_!==I)){if(ut=nh,U="onMouseLeave",R="onMouseEnter",C="mouse",(t==="pointerout"||t==="pointerover")&&(ut=ih,U="onPointerLeave",R="onPointerEnter",C="pointer"),kt=_==null?O:Ji(_),z=I==null?O:Ji(I),O=new ut(U,C+"leave",_,a,L),O.target=kt,O.relatedTarget=z,U=null,Fa(L)===k&&(ut=new ut(R,C+"enter",I,a,L),ut.target=z,ut.relatedTarget=kt,U=ut),kt=U,_&&I)e:{for(ut=$x,R=_,C=I,z=0,U=R;U;U=ut(U))z++;U=0;for(var rt=C;rt;rt=ut(rt))U++;for(;0<z-U;)R=ut(R),z--;for(;0<U-z;)C=ut(C),U--;for(;z--;){if(R===C||C!==null&&R===C.alternate){ut=R;break e}R=ut(R),C=ut(C)}ut=null}else ut=null;_!==null&&Fp(Y,O,_,ut,!1),I!==null&&kt!==null&&Fp(Y,kt,I,ut,!0)}}t:{if(O=k?Ji(k):window,_=O.nodeName&&O.nodeName.toLowerCase(),_==="select"||_==="input"&&O.type==="file")var Ct=dh;else if(ch(O))if(hh)Ct=ux;else{Ct=rx;var lt=sx}else _=O.nodeName,!_||_.toLowerCase()!=="input"||O.type!=="checkbox"&&O.type!=="radio"?k&&jo(k.elementType)&&(Ct=dh):Ct=ox;if(Ct&&(Ct=Ct(t,k))){fh(Y,Ct,a,L);break t}lt&&lt(t,O,k),t==="focusout"&&k&&O.type==="number"&&k.memoizedProps.value!=null&&No(O,"number",O.value)}switch(lt=k?Ji(k):window,t){case"focusin":(ch(lt)||lt.contentEditable==="true")&&(ii=lt,Xo=k,ll=null);break;case"focusout":ll=Xo=ii=null;break;case"mousedown":Ko=!0;break;case"contextmenu":case"mouseup":case"dragend":Ko=!1,Sh(Y,a,L);break;case"selectionchange":if(fx)break;case"keydown":case"keyup":Sh(Y,a,L)}var ht;if(Ho)t:{switch(t){case"compositionstart":var wt="onCompositionStart";break t;case"compositionend":wt="onCompositionEnd";break t;case"compositionupdate":wt="onCompositionUpdate";break t}wt=void 0}else ai?oh(t,a)&&(wt="onCompositionEnd"):t==="keydown"&&a.keyCode===229&&(wt="onCompositionStart");wt&&(lh&&a.locale!=="ko"&&(ai||wt!=="onCompositionStart"?wt==="onCompositionEnd"&&ai&&(ht=th()):(Gn=L,Vo="value"in Gn?Gn.value:Gn.textContent,ai=!0)),lt=dr(k,wt),0<lt.length&&(wt=new ah(wt,t,null,a,L),Y.push({event:wt,listeners:lt}),ht?wt.data=ht:(ht=uh(a),ht!==null&&(wt.data=ht)))),(ht=ex?nx(t,a):ax(t,a))&&(wt=dr(k,"onBeforeInput"),0<wt.length&&(lt=new ah("onBeforeInput","beforeinput",null,a,L),Y.push({event:lt,listeners:wt}),lt.data=ht)),Px(Y,t,k,a,L)}Zp(Y,e)})}function jl(t,e,a){return{instance:t,listener:e,currentTarget:a}}function dr(t,e){for(var a=e+"Capture",l=[];t!==null;){var o=t,c=o.stateNode;if(o=o.tag,o!==5&&o!==26&&o!==27||c===null||(o=Wi(t,a),o!=null&&l.unshift(jl(t,o,c)),o=Wi(t,e),o!=null&&l.push(jl(t,o,c))),t.tag===3)return l;t=t.return}return[]}function $x(t){if(t===null)return null;do t=t.return;while(t&&t.tag!==5&&t.tag!==27);return t||null}function Fp(t,e,a,l,o){for(var c=e._reactName,p=[];a!==null&&a!==l;){var x=a,w=x.alternate,k=x.stateNode;if(x=x.tag,w!==null&&w===l)break;x!==5&&x!==26&&x!==27||k===null||(w=k,o?(k=Wi(a,c),k!=null&&p.unshift(jl(a,k,w))):o||(k=Wi(a,c),k!=null&&p.push(jl(a,k,w)))),a=a.return}p.length!==0&&t.push({event:e,listeners:p})}var Ix=/\r\n?/g,t2=/\u0000|\uFFFD/g;function Jp(t){return(typeof t=="string"?t:""+t).replace(Ix,`
`).replace(t2,"")}function Wp(t,e){return e=Jp(e),Jp(t)===e}function zt(t,e,a,l,o,c){switch(a){case"children":typeof l=="string"?e==="body"||e==="textarea"&&l===""||ti(t,l):(typeof l=="number"||typeof l=="bigint")&&e!=="body"&&ti(t,""+l);break;case"className":gs(t,"class",l);break;case"tabIndex":gs(t,"tabindex",l);break;case"dir":case"role":case"viewBox":case"width":case"height":gs(t,a,l);break;case"style":Wd(t,l,c);break;case"data":if(e!=="object"){gs(t,"data",l);break}case"src":case"href":if(l===""&&(e!=="a"||a!=="href")){t.removeAttribute(a);break}if(l==null||typeof l=="function"||typeof l=="symbol"||typeof l=="boolean"){t.removeAttribute(a);break}l=vs(""+l),t.setAttribute(a,l);break;case"action":case"formAction":if(typeof l=="function"){t.setAttribute(a,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof c=="function"&&(a==="formAction"?(e!=="input"&&zt(t,e,"name",o.name,o,null),zt(t,e,"formEncType",o.formEncType,o,null),zt(t,e,"formMethod",o.formMethod,o,null),zt(t,e,"formTarget",o.formTarget,o,null)):(zt(t,e,"encType",o.encType,o,null),zt(t,e,"method",o.method,o,null),zt(t,e,"target",o.target,o,null)));if(l==null||typeof l=="symbol"||typeof l=="boolean"){t.removeAttribute(a);break}l=vs(""+l),t.setAttribute(a,l);break;case"onClick":l!=null&&(t.onclick=yn);break;case"onScroll":l!=null&&xt("scroll",t);break;case"onScrollEnd":l!=null&&xt("scrollend",t);break;case"dangerouslySetInnerHTML":if(l!=null){if(typeof l!="object"||!("__html"in l))throw Error(r(61));if(a=l.__html,a!=null){if(o.children!=null)throw Error(r(60));t.innerHTML=a}}break;case"multiple":t.multiple=l&&typeof l!="function"&&typeof l!="symbol";break;case"muted":t.muted=l&&typeof l!="function"&&typeof l!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(l==null||typeof l=="function"||typeof l=="boolean"||typeof l=="symbol"){t.removeAttribute("xlink:href");break}a=vs(""+l),t.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"?t.setAttribute(a,""+l):t.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"?t.setAttribute(a,""):t.removeAttribute(a);break;case"capture":case"download":l===!0?t.setAttribute(a,""):l!==!1&&l!=null&&typeof l!="function"&&typeof l!="symbol"?t.setAttribute(a,l):t.removeAttribute(a);break;case"cols":case"rows":case"size":case"span":l!=null&&typeof l!="function"&&typeof l!="symbol"&&!isNaN(l)&&1<=l?t.setAttribute(a,l):t.removeAttribute(a);break;case"rowSpan":case"start":l==null||typeof l=="function"||typeof l=="symbol"||isNaN(l)?t.removeAttribute(a):t.setAttribute(a,l);break;case"popover":xt("beforetoggle",t),xt("toggle",t),ps(t,"popover",l);break;case"xlinkActuate":gn(t,"http://www.w3.org/1999/xlink","xlink:actuate",l);break;case"xlinkArcrole":gn(t,"http://www.w3.org/1999/xlink","xlink:arcrole",l);break;case"xlinkRole":gn(t,"http://www.w3.org/1999/xlink","xlink:role",l);break;case"xlinkShow":gn(t,"http://www.w3.org/1999/xlink","xlink:show",l);break;case"xlinkTitle":gn(t,"http://www.w3.org/1999/xlink","xlink:title",l);break;case"xlinkType":gn(t,"http://www.w3.org/1999/xlink","xlink:type",l);break;case"xmlBase":gn(t,"http://www.w3.org/XML/1998/namespace","xml:base",l);break;case"xmlLang":gn(t,"http://www.w3.org/XML/1998/namespace","xml:lang",l);break;case"xmlSpace":gn(t,"http://www.w3.org/XML/1998/namespace","xml:space",l);break;case"is":ps(t,"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=R1.get(a)||a,ps(t,a,l))}}function gc(t,e,a,l,o,c){switch(a){case"style":Wd(t,l,c);break;case"dangerouslySetInnerHTML":if(l!=null){if(typeof l!="object"||!("__html"in l))throw Error(r(61));if(a=l.__html,a!=null){if(o.children!=null)throw Error(r(60));t.innerHTML=a}}break;case"children":typeof l=="string"?ti(t,l):(typeof l=="number"||typeof l=="bigint")&&ti(t,""+l);break;case"onScroll":l!=null&&xt("scroll",t);break;case"onScrollEnd":l!=null&&xt("scrollend",t);break;case"onClick":l!=null&&(t.onclick=yn);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!Gd.hasOwnProperty(a))t:{if(a[0]==="o"&&a[1]==="n"&&(o=a.endsWith("Capture"),e=a.slice(2,o?a.length-7:void 0),c=t[ye]||null,c=c!=null?c[a]:null,typeof c=="function"&&t.removeEventListener(e,c,o),typeof l=="function")){typeof c!="function"&&c!==null&&(a in t?t[a]=null:t.hasAttribute(a)&&t.removeAttribute(a)),t.addEventListener(e,l,o);break t}a in t?t[a]=l:l===!0?t.setAttribute(a,""):ps(t,a,l)}}}function fe(t,e,a){switch(e){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":xt("error",t),xt("load",t);var l=!1,o=!1,c;for(c in a)if(a.hasOwnProperty(c)){var p=a[c];if(p!=null)switch(c){case"src":l=!0;break;case"srcSet":o=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(r(137,e));default:zt(t,e,c,p,a,null)}}o&&zt(t,e,"srcSet",a.srcSet,a,null),l&&zt(t,e,"src",a.src,a,null);return;case"input":xt("invalid",t);var x=c=p=o=null,w=null,k=null;for(l in a)if(a.hasOwnProperty(l)){var L=a[l];if(L!=null)switch(l){case"name":o=L;break;case"type":p=L;break;case"checked":w=L;break;case"defaultChecked":k=L;break;case"value":c=L;break;case"defaultValue":x=L;break;case"children":case"dangerouslySetInnerHTML":if(L!=null)throw Error(r(137,e));break;default:zt(t,e,l,L,a,null)}}Zd(t,c,x,w,k,p,o,!1);return;case"select":xt("invalid",t),l=p=c=null;for(o in a)if(a.hasOwnProperty(o)&&(x=a[o],x!=null))switch(o){case"value":c=x;break;case"defaultValue":p=x;break;case"multiple":l=x;default:zt(t,e,o,x,a,null)}e=c,a=p,t.multiple=!!l,e!=null?Ia(t,!!l,e,!1):a!=null&&Ia(t,!!l,a,!0);return;case"textarea":xt("invalid",t),c=o=l=null;for(p in a)if(a.hasOwnProperty(p)&&(x=a[p],x!=null))switch(p){case"value":l=x;break;case"defaultValue":o=x;break;case"children":c=x;break;case"dangerouslySetInnerHTML":if(x!=null)throw Error(r(91));break;default:zt(t,e,p,x,a,null)}Fd(t,l,o,c);return;case"option":for(w in a)if(a.hasOwnProperty(w)&&(l=a[w],l!=null))switch(w){case"selected":t.selected=l&&typeof l!="function"&&typeof l!="symbol";break;default:zt(t,e,w,l,a,null)}return;case"dialog":xt("beforetoggle",t),xt("toggle",t),xt("cancel",t),xt("close",t);break;case"iframe":case"object":xt("load",t);break;case"video":case"audio":for(l=0;l<Nl.length;l++)xt(Nl[l],t);break;case"image":xt("error",t),xt("load",t);break;case"details":xt("toggle",t);break;case"embed":case"source":case"link":xt("error",t),xt("load",t);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(k in a)if(a.hasOwnProperty(k)&&(l=a[k],l!=null))switch(k){case"children":case"dangerouslySetInnerHTML":throw Error(r(137,e));default:zt(t,e,k,l,a,null)}return;default:if(jo(e)){for(L in a)a.hasOwnProperty(L)&&(l=a[L],l!==void 0&&gc(t,e,L,l,a,void 0));return}}for(x in a)a.hasOwnProperty(x)&&(l=a[x],l!=null&&zt(t,e,x,l,a,null))}function e2(t,e,a,l){switch(e){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var o=null,c=null,p=null,x=null,w=null,k=null,L=null;for(_ in a){var Y=a[_];if(a.hasOwnProperty(_)&&Y!=null)switch(_){case"checked":break;case"value":break;case"defaultValue":w=Y;default:l.hasOwnProperty(_)||zt(t,e,_,null,l,Y)}}for(var O in l){var _=l[O];if(Y=a[O],l.hasOwnProperty(O)&&(_!=null||Y!=null))switch(O){case"type":c=_;break;case"name":o=_;break;case"checked":k=_;break;case"defaultChecked":L=_;break;case"value":p=_;break;case"defaultValue":x=_;break;case"children":case"dangerouslySetInnerHTML":if(_!=null)throw Error(r(137,e));break;default:_!==Y&&zt(t,e,O,_,l,Y)}}Ro(t,p,x,w,k,L,c,o);return;case"select":_=p=x=O=null;for(c in a)if(w=a[c],a.hasOwnProperty(c)&&w!=null)switch(c){case"value":break;case"multiple":_=w;default:l.hasOwnProperty(c)||zt(t,e,c,null,l,w)}for(o in l)if(c=l[o],w=a[o],l.hasOwnProperty(o)&&(c!=null||w!=null))switch(o){case"value":O=c;break;case"defaultValue":x=c;break;case"multiple":p=c;default:c!==w&&zt(t,e,o,c,l,w)}e=x,a=p,l=_,O!=null?Ia(t,!!a,O,!1):!!l!=!!a&&(e!=null?Ia(t,!!a,e,!0):Ia(t,!!a,a?[]:"",!1));return;case"textarea":_=O=null;for(x in a)if(o=a[x],a.hasOwnProperty(x)&&o!=null&&!l.hasOwnProperty(x))switch(x){case"value":break;case"children":break;default:zt(t,e,x,null,l,o)}for(p in l)if(o=l[p],c=a[p],l.hasOwnProperty(p)&&(o!=null||c!=null))switch(p){case"value":O=o;break;case"defaultValue":_=o;break;case"children":break;case"dangerouslySetInnerHTML":if(o!=null)throw Error(r(91));break;default:o!==c&&zt(t,e,p,o,l,c)}Pd(t,O,_);return;case"option":for(var I in a)if(O=a[I],a.hasOwnProperty(I)&&O!=null&&!l.hasOwnProperty(I))switch(I){case"selected":t.selected=!1;break;default:zt(t,e,I,null,l,O)}for(w in l)if(O=l[w],_=a[w],l.hasOwnProperty(w)&&O!==_&&(O!=null||_!=null))switch(w){case"selected":t.selected=O&&typeof O!="function"&&typeof O!="symbol";break;default:zt(t,e,w,O,l,_)}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 ut in a)O=a[ut],a.hasOwnProperty(ut)&&O!=null&&!l.hasOwnProperty(ut)&&zt(t,e,ut,null,l,O);for(k in l)if(O=l[k],_=a[k],l.hasOwnProperty(k)&&O!==_&&(O!=null||_!=null))switch(k){case"children":case"dangerouslySetInnerHTML":if(O!=null)throw Error(r(137,e));break;default:zt(t,e,k,O,l,_)}return;default:if(jo(e)){for(var kt in a)O=a[kt],a.hasOwnProperty(kt)&&O!==void 0&&!l.hasOwnProperty(kt)&&gc(t,e,kt,void 0,l,O);for(L in l)O=l[L],_=a[L],!l.hasOwnProperty(L)||O===_||O===void 0&&_===void 0||gc(t,e,L,O,l,_);return}}for(var R in a)O=a[R],a.hasOwnProperty(R)&&O!=null&&!l.hasOwnProperty(R)&&zt(t,e,R,null,l,O);for(Y in l)O=l[Y],_=a[Y],!l.hasOwnProperty(Y)||O===_||O==null&&_==null||zt(t,e,Y,O,l,_)}function $p(t){switch(t){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function n2(){if(typeof performance.getEntriesByType=="function"){for(var t=0,e=0,a=performance.getEntriesByType("resource"),l=0;l<a.length;l++){var o=a[l],c=o.transferSize,p=o.initiatorType,x=o.duration;if(c&&x&&$p(p)){for(p=0,x=o.responseEnd,l+=1;l<a.length;l++){var w=a[l],k=w.startTime;if(k>x)break;var L=w.transferSize,Y=w.initiatorType;L&&$p(Y)&&(w=w.responseEnd,p+=L*(w<x?1:(x-k)/(w-k)))}if(--l,e+=8*(c+p)/(o.duration/1e3),t++,10<t)break}}if(0<t)return e/t/1e6}return navigator.connection&&(t=navigator.connection.downlink,typeof t=="number")?t:5}var yc=null,vc=null;function hr(t){return t.nodeType===9?t:t.ownerDocument}function Ip(t){switch(t){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function tg(t,e){if(t===0)switch(e){case"svg":return 1;case"math":return 2;default:return 0}return t===1&&e==="foreignObject"?0:t}function bc(t,e){return t==="textarea"||t==="noscript"||typeof e.children=="string"||typeof e.children=="number"||typeof e.children=="bigint"||typeof e.dangerouslySetInnerHTML=="object"&&e.dangerouslySetInnerHTML!==null&&e.dangerouslySetInnerHTML.__html!=null}var xc=null;function a2(){var t=window.event;return t&&t.type==="popstate"?t===xc?!1:(xc=t,!0):(xc=null,!1)}var eg=typeof setTimeout=="function"?setTimeout:void 0,i2=typeof clearTimeout=="function"?clearTimeout:void 0,ng=typeof Promise=="function"?Promise:void 0,l2=typeof queueMicrotask=="function"?queueMicrotask:typeof ng<"u"?function(t){return ng.resolve(null).then(t).catch(s2)}:eg;function s2(t){setTimeout(function(){throw t})}function la(t){return t==="head"}function ag(t,e){var a=e,l=0;do{var o=a.nextSibling;if(t.removeChild(a),o&&o.nodeType===8)if(a=o.data,a==="/$"||a==="/&"){if(l===0){t.removeChild(o),Di(e);return}l--}else if(a==="$"||a==="$?"||a==="$~"||a==="$!"||a==="&")l++;else if(a==="html")Dl(t.ownerDocument.documentElement);else if(a==="head"){a=t.ownerDocument.head,Dl(a);for(var c=a.firstChild;c;){var p=c.nextSibling,x=c.nodeName;c[Fi]||x==="SCRIPT"||x==="STYLE"||x==="LINK"&&c.rel.toLowerCase()==="stylesheet"||a.removeChild(c),c=p}}else a==="body"&&Dl(t.ownerDocument.body);a=o}while(a);Di(e)}function ig(t,e){var a=t;t=0;do{var l=a.nextSibling;if(a.nodeType===1?e?(a._stashedDisplay=a.style.display,a.style.display="none"):(a.style.display=a._stashedDisplay||"",a.getAttribute("style")===""&&a.removeAttribute("style")):a.nodeType===3&&(e?(a._stashedText=a.nodeValue,a.nodeValue=""):a.nodeValue=a._stashedText||""),l&&l.nodeType===8)if(a=l.data,a==="/$"){if(t===0)break;t--}else a!=="$"&&a!=="$?"&&a!=="$~"&&a!=="$!"||t++;a=l}while(a)}function Sc(t){var e=t.firstChild;for(e&&e.nodeType===10&&(e=e.nextSibling);e;){var a=e;switch(e=e.nextSibling,a.nodeName){case"HTML":case"HEAD":case"BODY":Sc(a),Co(a);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(a.rel.toLowerCase()==="stylesheet")continue}t.removeChild(a)}}function r2(t,e,a,l){for(;t.nodeType===1;){var o=a;if(t.nodeName.toLowerCase()!==e.toLowerCase()){if(!l&&(t.nodeName!=="INPUT"||t.type!=="hidden"))break}else if(l){if(!t[Fi])switch(e){case"meta":if(!t.hasAttribute("itemprop"))break;return t;case"link":if(c=t.getAttribute("rel"),c==="stylesheet"&&t.hasAttribute("data-precedence"))break;if(c!==o.rel||t.getAttribute("href")!==(o.href==null||o.href===""?null:o.href)||t.getAttribute("crossorigin")!==(o.crossOrigin==null?null:o.crossOrigin)||t.getAttribute("title")!==(o.title==null?null:o.title))break;return t;case"style":if(t.hasAttribute("data-precedence"))break;return t;case"script":if(c=t.getAttribute("src"),(c!==(o.src==null?null:o.src)||t.getAttribute("type")!==(o.type==null?null:o.type)||t.getAttribute("crossorigin")!==(o.crossOrigin==null?null:o.crossOrigin))&&c&&t.hasAttribute("async")&&!t.hasAttribute("itemprop"))break;return t;default:return t}}else if(e==="input"&&t.type==="hidden"){var c=o.name==null?null:""+o.name;if(o.type==="hidden"&&t.getAttribute("name")===c)return t}else return t;if(t=Qe(t.nextSibling),t===null)break}return null}function o2(t,e,a){if(e==="")return null;for(;t.nodeType!==3;)if((t.nodeType!==1||t.nodeName!=="INPUT"||t.type!=="hidden")&&!a||(t=Qe(t.nextSibling),t===null))return null;return t}function lg(t,e){for(;t.nodeType!==8;)if((t.nodeType!==1||t.nodeName!=="INPUT"||t.type!=="hidden")&&!e||(t=Qe(t.nextSibling),t===null))return null;return t}function wc(t){return t.data==="$?"||t.data==="$~"}function Tc(t){return t.data==="$!"||t.data==="$?"&&t.ownerDocument.readyState!=="loading"}function u2(t,e){var a=t.ownerDocument;if(t.data==="$~")t._reactRetry=e;else if(t.data!=="$?"||a.readyState!=="loading")e();else{var l=function(){e(),a.removeEventListener("DOMContentLoaded",l)};a.addEventListener("DOMContentLoaded",l),t._reactRetry=l}}function Qe(t){for(;t!=null;t=t.nextSibling){var e=t.nodeType;if(e===1||e===3)break;if(e===8){if(e=t.data,e==="$"||e==="$!"||e==="$?"||e==="$~"||e==="&"||e==="F!"||e==="F")break;if(e==="/$"||e==="/&")return null}}return t}var Ec=null;function sg(t){t=t.nextSibling;for(var e=0;t;){if(t.nodeType===8){var a=t.data;if(a==="/$"||a==="/&"){if(e===0)return Qe(t.nextSibling);e--}else a!=="$"&&a!=="$!"&&a!=="$?"&&a!=="$~"&&a!=="&"||e++}t=t.nextSibling}return null}function rg(t){t=t.previousSibling;for(var e=0;t;){if(t.nodeType===8){var a=t.data;if(a==="$"||a==="$!"||a==="$?"||a==="$~"||a==="&"){if(e===0)return t;e--}else a!=="/$"&&a!=="/&"||e++}t=t.previousSibling}return null}function og(t,e,a){switch(e=hr(a),t){case"html":if(t=e.documentElement,!t)throw Error(r(452));return t;case"head":if(t=e.head,!t)throw Error(r(453));return t;case"body":if(t=e.body,!t)throw Error(r(454));return t;default:throw Error(r(451))}}function Dl(t){for(var e=t.attributes;e.length;)t.removeAttributeNode(e[0]);Co(t)}var Ze=new Map,ug=new Set;function mr(t){return typeof t.getRootNode=="function"?t.getRootNode():t.nodeType===9?t:t.ownerDocument}var kn=Z.d;Z.d={f:c2,r:f2,D:d2,C:h2,L:m2,m:p2,X:y2,S:g2,M:v2};function c2(){var t=kn.f(),e=lr();return t||e}function f2(t){var e=Ja(t);e!==null&&e.tag===5&&e.type==="form"?Cm(e):kn.r(t)}var Ri=typeof document>"u"?null:document;function cg(t,e,a){var l=Ri;if(l&&typeof e=="string"&&e){var o=Ue(e);o='link[rel="'+t+'"][href="'+o+'"]',typeof a=="string"&&(o+='[crossorigin="'+a+'"]'),ug.has(o)||(ug.add(o),t={rel:t,crossOrigin:a,href:e},l.querySelector(o)===null&&(e=l.createElement("link"),fe(e,"link",t),ae(e),l.head.appendChild(e)))}}function d2(t){kn.D(t),cg("dns-prefetch",t,null)}function h2(t,e){kn.C(t,e),cg("preconnect",t,e)}function m2(t,e,a){kn.L(t,e,a);var l=Ri;if(l&&t&&e){var o='link[rel="preload"][as="'+Ue(e)+'"]';e==="image"&&a&&a.imageSrcSet?(o+='[imagesrcset="'+Ue(a.imageSrcSet)+'"]',typeof a.imageSizes=="string"&&(o+='[imagesizes="'+Ue(a.imageSizes)+'"]')):o+='[href="'+Ue(t)+'"]';var c=o;switch(e){case"style":c=Ni(t);break;case"script":c=ji(t)}Ze.has(c)||(t=v({rel:"preload",href:e==="image"&&a&&a.imageSrcSet?void 0:t,as:e},a),Ze.set(c,t),l.querySelector(o)!==null||e==="style"&&l.querySelector(zl(c))||e==="script"&&l.querySelector(kl(c))||(e=l.createElement("link"),fe(e,"link",t),ae(e),l.head.appendChild(e)))}}function p2(t,e){kn.m(t,e);var a=Ri;if(a&&t){var l=e&&typeof e.as=="string"?e.as:"script",o='link[rel="modulepreload"][as="'+Ue(l)+'"][href="'+Ue(t)+'"]',c=o;switch(l){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":c=ji(t)}if(!Ze.has(c)&&(t=v({rel:"modulepreload",href:t},e),Ze.set(c,t),a.querySelector(o)===null)){switch(l){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(a.querySelector(kl(c)))return}l=a.createElement("link"),fe(l,"link",t),ae(l),a.head.appendChild(l)}}}function g2(t,e,a){kn.S(t,e,a);var l=Ri;if(l&&t){var o=Wa(l).hoistableStyles,c=Ni(t);e=e||"default";var p=o.get(c);if(!p){var x={loading:0,preload:null};if(p=l.querySelector(zl(c)))x.loading=5;else{t=v({rel:"stylesheet",href:t,"data-precedence":e},a),(a=Ze.get(c))&&Ac(t,a);var w=p=l.createElement("link");ae(w),fe(w,"link",t),w._p=new Promise(function(k,L){w.onload=k,w.onerror=L}),w.addEventListener("load",function(){x.loading|=1}),w.addEventListener("error",function(){x.loading|=2}),x.loading|=4,pr(p,e,l)}p={type:"stylesheet",instance:p,count:1,state:x},o.set(c,p)}}}function y2(t,e){kn.X(t,e);var a=Ri;if(a&&t){var l=Wa(a).hoistableScripts,o=ji(t),c=l.get(o);c||(c=a.querySelector(kl(o)),c||(t=v({src:t,async:!0},e),(e=Ze.get(o))&&Cc(t,e),c=a.createElement("script"),ae(c),fe(c,"link",t),a.head.appendChild(c)),c={type:"script",instance:c,count:1,state:null},l.set(o,c))}}function v2(t,e){kn.M(t,e);var a=Ri;if(a&&t){var l=Wa(a).hoistableScripts,o=ji(t),c=l.get(o);c||(c=a.querySelector(kl(o)),c||(t=v({src:t,async:!0,type:"module"},e),(e=Ze.get(o))&&Cc(t,e),c=a.createElement("script"),ae(c),fe(c,"link",t),a.head.appendChild(c)),c={type:"script",instance:c,count:1,state:null},l.set(o,c))}}function fg(t,e,a,l){var o=(o=ot.current)?mr(o):null;if(!o)throw Error(r(446));switch(t){case"meta":case"title":return null;case"style":return typeof a.precedence=="string"&&typeof a.href=="string"?(e=Ni(a.href),a=Wa(o).hoistableStyles,l=a.get(e),l||(l={type:"style",instance:null,count:0,state:null},a.set(e,l)),l):{type:"void",instance:null,count:0,state:null};case"link":if(a.rel==="stylesheet"&&typeof a.href=="string"&&typeof a.precedence=="string"){t=Ni(a.href);var c=Wa(o).hoistableStyles,p=c.get(t);if(p||(o=o.ownerDocument||o,p={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},c.set(t,p),(c=o.querySelector(zl(t)))&&!c._p&&(p.instance=c,p.state.loading=5),Ze.has(t)||(a={rel:"preload",as:"style",href:a.href,crossOrigin:a.crossOrigin,integrity:a.integrity,media:a.media,hrefLang:a.hrefLang,referrerPolicy:a.referrerPolicy},Ze.set(t,a),c||b2(o,t,a,p.state))),e&&l===null)throw Error(r(528,""));return p}if(e&&l!==null)throw Error(r(529,""));return null;case"script":return e=a.async,a=a.src,typeof a=="string"&&e&&typeof e!="function"&&typeof e!="symbol"?(e=ji(a),a=Wa(o).hoistableScripts,l=a.get(e),l||(l={type:"script",instance:null,count:0,state:null},a.set(e,l)),l):{type:"void",instance:null,count:0,state:null};default:throw Error(r(444,t))}}function Ni(t){return'href="'+Ue(t)+'"'}function zl(t){return'link[rel="stylesheet"]['+t+"]"}function dg(t){return v({},t,{"data-precedence":t.precedence,precedence:null})}function b2(t,e,a,l){t.querySelector('link[rel="preload"][as="style"]['+e+"]")?l.loading=1:(e=t.createElement("link"),l.preload=e,e.addEventListener("load",function(){return l.loading|=1}),e.addEventListener("error",function(){return l.loading|=2}),fe(e,"link",a),ae(e),t.head.appendChild(e))}function ji(t){return'[src="'+Ue(t)+'"]'}function kl(t){return"script[async]"+t}function hg(t,e,a){if(e.count++,e.instance===null)switch(e.type){case"style":var l=t.querySelector('style[data-href~="'+Ue(a.href)+'"]');if(l)return e.instance=l,ae(l),l;var o=v({},a,{"data-href":a.href,"data-precedence":a.precedence,href:null,precedence:null});return l=(t.ownerDocument||t).createElement("style"),ae(l),fe(l,"style",o),pr(l,a.precedence,t),e.instance=l;case"stylesheet":o=Ni(a.href);var c=t.querySelector(zl(o));if(c)return e.state.loading|=4,e.instance=c,ae(c),c;l=dg(a),(o=Ze.get(o))&&Ac(l,o),c=(t.ownerDocument||t).createElement("link"),ae(c);var p=c;return p._p=new Promise(function(x,w){p.onload=x,p.onerror=w}),fe(c,"link",l),e.state.loading|=4,pr(c,a.precedence,t),e.instance=c;case"script":return c=ji(a.src),(o=t.querySelector(kl(c)))?(e.instance=o,ae(o),o):(l=a,(o=Ze.get(c))&&(l=v({},a),Cc(l,o)),t=t.ownerDocument||t,o=t.createElement("script"),ae(o),fe(o,"link",l),t.head.appendChild(o),e.instance=o);case"void":return null;default:throw Error(r(443,e.type))}else e.type==="stylesheet"&&(e.state.loading&4)===0&&(l=e.instance,e.state.loading|=4,pr(l,a.precedence,t));return e.instance}function pr(t,e,a){for(var l=a.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),o=l.length?l[l.length-1]:null,c=o,p=0;p<l.length;p++){var x=l[p];if(x.dataset.precedence===e)c=x;else if(c!==o)break}c?c.parentNode.insertBefore(t,c.nextSibling):(e=a.nodeType===9?a.head:a,e.insertBefore(t,e.firstChild))}function Ac(t,e){t.crossOrigin==null&&(t.crossOrigin=e.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=e.referrerPolicy),t.title==null&&(t.title=e.title)}function Cc(t,e){t.crossOrigin==null&&(t.crossOrigin=e.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=e.referrerPolicy),t.integrity==null&&(t.integrity=e.integrity)}var gr=null;function mg(t,e,a){if(gr===null){var l=new Map,o=gr=new Map;o.set(a,l)}else o=gr,l=o.get(a),l||(l=new Map,o.set(a,l));if(l.has(t))return l;for(l.set(t,null),a=a.getElementsByTagName(t),o=0;o<a.length;o++){var c=a[o];if(!(c[Fi]||c[re]||t==="link"&&c.getAttribute("rel")==="stylesheet")&&c.namespaceURI!=="http://www.w3.org/2000/svg"){var p=c.getAttribute(e)||"";p=t+p;var x=l.get(p);x?x.push(c):l.set(p,[c])}}return l}function pg(t,e,a){t=t.ownerDocument||t,t.head.insertBefore(a,e==="title"?t.querySelector("head > title"):null)}function x2(t,e,a){if(a===1||e.itemProp!=null)return!1;switch(t){case"meta":case"title":return!0;case"style":if(typeof e.precedence!="string"||typeof e.href!="string"||e.href==="")break;return!0;case"link":if(typeof e.rel!="string"||typeof e.href!="string"||e.href===""||e.onLoad||e.onError)break;switch(e.rel){case"stylesheet":return t=e.disabled,typeof e.precedence=="string"&&t==null;default:return!0}case"script":if(e.async&&typeof e.async!="function"&&typeof e.async!="symbol"&&!e.onLoad&&!e.onError&&e.src&&typeof e.src=="string")return!0}return!1}function gg(t){return!(t.type==="stylesheet"&&(t.state.loading&3)===0)}function S2(t,e,a,l){if(a.type==="stylesheet"&&(typeof l.media!="string"||matchMedia(l.media).matches!==!1)&&(a.state.loading&4)===0){if(a.instance===null){var o=Ni(l.href),c=e.querySelector(zl(o));if(c){e=c._p,e!==null&&typeof e=="object"&&typeof e.then=="function"&&(t.count++,t=yr.bind(t),e.then(t,t)),a.state.loading|=4,a.instance=c,ae(c);return}c=e.ownerDocument||e,l=dg(l),(o=Ze.get(o))&&Ac(l,o),c=c.createElement("link"),ae(c);var p=c;p._p=new Promise(function(x,w){p.onload=x,p.onerror=w}),fe(c,"link",l),a.instance=c}t.stylesheets===null&&(t.stylesheets=new Map),t.stylesheets.set(a,e),(e=a.state.preload)&&(a.state.loading&3)===0&&(t.count++,a=yr.bind(t),e.addEventListener("load",a),e.addEventListener("error",a))}}var Mc=0;function w2(t,e){return t.stylesheets&&t.count===0&&br(t,t.stylesheets),0<t.count||0<t.imgCount?function(a){var l=setTimeout(function(){if(t.stylesheets&&br(t,t.stylesheets),t.unsuspend){var c=t.unsuspend;t.unsuspend=null,c()}},6e4+e);0<t.imgBytes&&Mc===0&&(Mc=62500*n2());var o=setTimeout(function(){if(t.waitingForImages=!1,t.count===0&&(t.stylesheets&&br(t,t.stylesheets),t.unsuspend)){var c=t.unsuspend;t.unsuspend=null,c()}},(t.imgBytes>Mc?50:800)+e);return t.unsuspend=a,function(){t.unsuspend=null,clearTimeout(l),clearTimeout(o)}}:null}function yr(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)br(this,this.stylesheets);else if(this.unsuspend){var t=this.unsuspend;this.unsuspend=null,t()}}}var vr=null;function br(t,e){t.stylesheets=null,t.unsuspend!==null&&(t.count++,vr=new Map,e.forEach(T2,t),vr=null,yr.call(t))}function T2(t,e){if(!(e.state.loading&4)){var a=vr.get(t);if(a)var l=a.get(null);else{a=new Map,vr.set(t,a);for(var o=t.querySelectorAll("link[data-precedence],style[data-precedence]"),c=0;c<o.length;c++){var p=o[c];(p.nodeName==="LINK"||p.getAttribute("media")!=="not all")&&(a.set(p.dataset.precedence,p),l=p)}l&&a.set(null,l)}o=e.instance,p=o.getAttribute("data-precedence"),c=a.get(p)||l,c===l&&a.set(null,o),a.set(p,o),this.count++,l=yr.bind(this),o.addEventListener("load",l),o.addEventListener("error",l),c?c.parentNode.insertBefore(o,c.nextSibling):(t=t.nodeType===9?t.head:t,t.insertBefore(o,t.firstChild)),e.state.loading|=4}}var Ol={$$typeof:B,Provider:null,Consumer:null,_currentValue:J,_currentValue2:J,_threadCount:0};function E2(t,e,a,l,o,c,p,x,w){this.tag=1,this.containerInfo=t,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=wo(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=wo(0),this.hiddenUpdates=wo(null),this.identifierPrefix=l,this.onUncaughtError=o,this.onCaughtError=c,this.onRecoverableError=p,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=w,this.incompleteTransitions=new Map}function yg(t,e,a,l,o,c,p,x,w,k,L,Y){return t=new E2(t,e,a,p,w,k,L,Y,x),e=1,c===!0&&(e|=24),c=je(3,null,null,e),t.current=c,c.stateNode=t,e=su(),e.refCount++,t.pooledCache=e,e.refCount++,c.memoizedState={element:l,isDehydrated:a,cache:e},cu(c),t}function vg(t){return t?(t=ri,t):ri}function bg(t,e,a,l,o,c){o=vg(o),l.context===null?l.context=o:l.pendingContext=o,l=Pn(e),l.payload={element:a},c=c===void 0?null:c,c!==null&&(l.callback=c),a=Fn(t,l,e),a!==null&&(Te(a,t,e),dl(a,t,e))}function xg(t,e){if(t=t.memoizedState,t!==null&&t.dehydrated!==null){var a=t.retryLane;t.retryLane=a!==0&&a<e?a:e}}function Rc(t,e){xg(t,e),(t=t.alternate)&&xg(t,e)}function Sg(t){if(t.tag===13||t.tag===31){var e=Aa(t,67108864);e!==null&&Te(e,t,67108864),Rc(t,67108864)}}function wg(t){if(t.tag===13||t.tag===31){var e=Ve();e=To(e);var a=Aa(t,e);a!==null&&Te(a,t,e),Rc(t,e)}}var xr=!0;function A2(t,e,a,l){var o=V.T;V.T=null;var c=Z.p;try{Z.p=2,Nc(t,e,a,l)}finally{Z.p=c,V.T=o}}function C2(t,e,a,l){var o=V.T;V.T=null;var c=Z.p;try{Z.p=8,Nc(t,e,a,l)}finally{Z.p=c,V.T=o}}function Nc(t,e,a,l){if(xr){var o=jc(l);if(o===null)pc(t,e,l,Sr,a),Eg(t,l);else if(R2(o,t,e,a,l))l.stopPropagation();else if(Eg(t,l),e&4&&-1<M2.indexOf(t)){for(;o!==null;){var c=Ja(o);if(c!==null)switch(c.tag){case 3:if(c=c.stateNode,c.current.memoizedState.isDehydrated){var p=xa(c.pendingLanes);if(p!==0){var x=c;for(x.pendingLanes|=2,x.entangledLanes|=2;p;){var w=1<<31-Re(p);x.entanglements[1]|=w,p&=~w}un(c),(Rt&6)===0&&(ar=Ce()+500,Rl(0))}}break;case 31:case 13:x=Aa(c,2),x!==null&&Te(x,c,2),lr(),Rc(c,2)}if(c=jc(l),c===null&&pc(t,e,l,Sr,a),c===o)break;o=c}o!==null&&l.stopPropagation()}else pc(t,e,l,null,a)}}function jc(t){return t=zo(t),Dc(t)}var Sr=null;function Dc(t){if(Sr=null,t=Fa(t),t!==null){var e=d(t);if(e===null)t=null;else{var a=e.tag;if(a===13){if(t=f(e),t!==null)return t;t=null}else if(a===31){if(t=h(e),t!==null)return t;t=null}else if(a===3){if(e.stateNode.current.memoizedState.isDehydrated)return e.tag===3?e.stateNode.containerInfo:null;t=null}else e!==t&&(t=null)}}return Sr=t,null}function Tg(t){switch(t){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 2;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(d1()){case Dd:return 2;case zd:return 8;case cs:case h1:return 32;case kd:return 268435456;default:return 32}default:return 32}}var zc=!1,sa=null,ra=null,oa=null,Vl=new Map,_l=new Map,ua=[],M2="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 Eg(t,e){switch(t){case"focusin":case"focusout":sa=null;break;case"dragenter":case"dragleave":ra=null;break;case"mouseover":case"mouseout":oa=null;break;case"pointerover":case"pointerout":Vl.delete(e.pointerId);break;case"gotpointercapture":case"lostpointercapture":_l.delete(e.pointerId)}}function Bl(t,e,a,l,o,c){return t===null||t.nativeEvent!==c?(t={blockedOn:e,domEventName:a,eventSystemFlags:l,nativeEvent:c,targetContainers:[o]},e!==null&&(e=Ja(e),e!==null&&Sg(e)),t):(t.eventSystemFlags|=l,e=t.targetContainers,o!==null&&e.indexOf(o)===-1&&e.push(o),t)}function R2(t,e,a,l,o){switch(e){case"focusin":return sa=Bl(sa,t,e,a,l,o),!0;case"dragenter":return ra=Bl(ra,t,e,a,l,o),!0;case"mouseover":return oa=Bl(oa,t,e,a,l,o),!0;case"pointerover":var c=o.pointerId;return Vl.set(c,Bl(Vl.get(c)||null,t,e,a,l,o)),!0;case"gotpointercapture":return c=o.pointerId,_l.set(c,Bl(_l.get(c)||null,t,e,a,l,o)),!0}return!1}function Ag(t){var e=Fa(t.target);if(e!==null){var a=d(e);if(a!==null){if(e=a.tag,e===13){if(e=f(a),e!==null){t.blockedOn=e,Ud(t.priority,function(){wg(a)});return}}else if(e===31){if(e=h(a),e!==null){t.blockedOn=e,Ud(t.priority,function(){wg(a)});return}}else if(e===3&&a.stateNode.current.memoizedState.isDehydrated){t.blockedOn=a.tag===3?a.stateNode.containerInfo:null;return}}}t.blockedOn=null}function wr(t){if(t.blockedOn!==null)return!1;for(var e=t.targetContainers;0<e.length;){var a=jc(t.nativeEvent);if(a===null){a=t.nativeEvent;var l=new a.constructor(a.type,a);Do=l,a.target.dispatchEvent(l),Do=null}else return e=Ja(a),e!==null&&Sg(e),t.blockedOn=a,!1;e.shift()}return!0}function Cg(t,e,a){wr(t)&&a.delete(e)}function N2(){zc=!1,sa!==null&&wr(sa)&&(sa=null),ra!==null&&wr(ra)&&(ra=null),oa!==null&&wr(oa)&&(oa=null),Vl.forEach(Cg),_l.forEach(Cg)}function Tr(t,e){t.blockedOn===e&&(t.blockedOn=null,zc||(zc=!0,n.unstable_scheduleCallback(n.unstable_NormalPriority,N2)))}var Er=null;function Mg(t){Er!==t&&(Er=t,n.unstable_scheduleCallback(n.unstable_NormalPriority,function(){Er===t&&(Er=null);for(var e=0;e<t.length;e+=3){var a=t[e],l=t[e+1],o=t[e+2];if(typeof l!="function"){if(Dc(l||a)===null)continue;break}var c=Ja(a);c!==null&&(t.splice(e,3),e-=3,ju(c,{pending:!0,data:o,method:a.method,action:l},l,o))}}))}function Di(t){function e(w){return Tr(w,t)}sa!==null&&Tr(sa,t),ra!==null&&Tr(ra,t),oa!==null&&Tr(oa,t),Vl.forEach(e),_l.forEach(e);for(var a=0;a<ua.length;a++){var l=ua[a];l.blockedOn===t&&(l.blockedOn=null)}for(;0<ua.length&&(a=ua[0],a.blockedOn===null);)Ag(a),a.blockedOn===null&&ua.shift();if(a=(t.ownerDocument||t).$$reactFormReplay,a!=null)for(l=0;l<a.length;l+=3){var o=a[l],c=a[l+1],p=o[ye]||null;if(typeof c=="function")p||Mg(a);else if(p){var x=null;if(c&&c.hasAttribute("formAction")){if(o=c,p=c[ye]||null)x=p.formAction;else if(Dc(o)!==null)continue}else x=p.action;typeof x=="function"?a[l+1]=x:(a.splice(l,3),l-=3),Mg(a)}}}function Rg(){function t(c){c.canIntercept&&c.info==="react-transition"&&c.intercept({handler:function(){return new Promise(function(p){return o=p})},focusReset:"manual",scroll:"manual"})}function e(){o!==null&&(o(),o=null),l||setTimeout(a,20)}function a(){if(!l&&!navigation.transition){var c=navigation.currentEntry;c&&c.url!=null&&navigation.navigate(c.url,{state:c.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var l=!1,o=null;return navigation.addEventListener("navigate",t),navigation.addEventListener("navigatesuccess",e),navigation.addEventListener("navigateerror",e),setTimeout(a,100),function(){l=!0,navigation.removeEventListener("navigate",t),navigation.removeEventListener("navigatesuccess",e),navigation.removeEventListener("navigateerror",e),o!==null&&(o(),o=null)}}}function kc(t){this._internalRoot=t}Ar.prototype.render=kc.prototype.render=function(t){var e=this._internalRoot;if(e===null)throw Error(r(409));var a=e.current,l=Ve();bg(a,l,t,e,null,null)},Ar.prototype.unmount=kc.prototype.unmount=function(){var t=this._internalRoot;if(t!==null){this._internalRoot=null;var e=t.containerInfo;bg(t.current,2,null,t,null,null),lr(),e[Pa]=null}};function Ar(t){this._internalRoot=t}Ar.prototype.unstable_scheduleHydration=function(t){if(t){var e=Ld();t={blockedOn:null,target:t,priority:e};for(var a=0;a<ua.length&&e!==0&&e<ua[a].priority;a++);ua.splice(a,0,t),a===0&&Ag(t)}};var Ng=i.version;if(Ng!=="19.2.4")throw Error(r(527,Ng,"19.2.4"));Z.findDOMNode=function(t){var e=t._reactInternals;if(e===void 0)throw typeof t.render=="function"?Error(r(188)):(t=Object.keys(t).join(","),Error(r(268,t)));return t=m(e),t=t!==null?y(t):null,t=t===null?null:t.stateNode,t};var j2={bundleType:0,version:"19.2.4",rendererPackageName:"react-dom",currentDispatcherRef:V,reconcilerVersion:"19.2.4"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Cr=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Cr.isDisabled&&Cr.supportsFiber)try{Qi=Cr.inject(j2),Me=Cr}catch{}}return Ul.createRoot=function(t,e){if(!u(t))throw Error(r(299));var a=!1,l="",o=_m,c=Bm,p=Lm;return e!=null&&(e.unstable_strictMode===!0&&(a=!0),e.identifierPrefix!==void 0&&(l=e.identifierPrefix),e.onUncaughtError!==void 0&&(o=e.onUncaughtError),e.onCaughtError!==void 0&&(c=e.onCaughtError),e.onRecoverableError!==void 0&&(p=e.onRecoverableError)),e=yg(t,1,!1,null,null,a,l,null,o,c,p,Rg),t[Pa]=e.current,mc(t),new kc(e)},Ul.hydrateRoot=function(t,e,a){if(!u(t))throw Error(r(299));var l=!1,o="",c=_m,p=Bm,x=Lm,w=null;return a!=null&&(a.unstable_strictMode===!0&&(l=!0),a.identifierPrefix!==void 0&&(o=a.identifierPrefix),a.onUncaughtError!==void 0&&(c=a.onUncaughtError),a.onCaughtError!==void 0&&(p=a.onCaughtError),a.onRecoverableError!==void 0&&(x=a.onRecoverableError),a.formState!==void 0&&(w=a.formState)),e=yg(t,1,!0,e,a??null,l,o,w,c,p,x,Rg),e.context=vg(null),a=e.current,l=Ve(),l=To(l),o=Pn(l),o.callback=null,Fn(a,o,l),a=l,e.current.lanes=a,Pi(e,a),un(e),t[Pa]=e.current,mc(t),new Ar(e)},Ul.version="19.2.4",Ul}var Ug;function q2(){if(Ug)return _c.exports;Ug=1;function n(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(n)}catch(i){console.error(i)}}return n(),_c.exports=H2(),_c.exports}var G2=q2();/**
 * react-router v7.13.2
 *
 * Copyright (c) Remix Software Inc.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE.md file in the root directory of this source tree.
 *
 * @license MIT
 */var Hg="popstate";function qg(n){return typeof n=="object"&&n!=null&&"pathname"in n&&"search"in n&&"hash"in n&&"state"in n&&"key"in n}function Y2(n={}){function i(r,u){var m;let d=(m=u.state)==null?void 0:m.masked,{pathname:f,search:h,hash:g}=d||r.location;return ff("",{pathname:f,search:h,hash:g},u.state&&u.state.usr||null,u.state&&u.state.key||"default",d?{pathname:r.location.pathname,search:r.location.search,hash:r.location.hash}:void 0)}function s(r,u){return typeof u=="string"?u:Wl(u)}return K2(i,s,null,n)}function Gt(n,i){if(n===!1||n===null||typeof n>"u")throw new Error(i)}function mn(n,i){if(!n){typeof console<"u"&&console.warn(i);try{throw new Error(i)}catch{}}}function X2(){return Math.random().toString(36).substring(2,10)}function Gg(n,i){return{usr:n.state,key:n.key,idx:i,masked:n.unstable_mask?{pathname:n.pathname,search:n.search,hash:n.hash}:void 0}}function ff(n,i,s=null,r,u){return{pathname:typeof n=="string"?n:n.pathname,search:"",hash:"",...typeof i=="string"?qi(i):i,state:s,key:i&&i.key||r||X2(),unstable_mask:u}}function Wl({pathname:n="/",search:i="",hash:s=""}){return i&&i!=="?"&&(n+=i.charAt(0)==="?"?i:"?"+i),s&&s!=="#"&&(n+=s.charAt(0)==="#"?s:"#"+s),n}function qi(n){let i={};if(n){let s=n.indexOf("#");s>=0&&(i.hash=n.substring(s),n=n.substring(0,s));let r=n.indexOf("?");r>=0&&(i.search=n.substring(r),n=n.substring(0,r)),n&&(i.pathname=n)}return i}function K2(n,i,s,r={}){let{window:u=document.defaultView,v5Compat:d=!1}=r,f=u.history,h="POP",g=null,m=y();m==null&&(m=0,f.replaceState({...f.state,idx:m},""));function y(){return(f.state||{idx:null}).idx}function v(){h="POP";let N=y(),D=N==null?null:N-m;m=N,g&&g({action:h,location:j.location,delta:D})}function S(N,D){h="PUSH";let H=qg(N)?N:ff(j.location,N,D);m=y()+1;let B=Gg(H,m),X=j.createHref(H.unstable_mask||H);try{f.pushState(B,"",X)}catch(K){if(K instanceof DOMException&&K.name==="DataCloneError")throw K;u.location.assign(X)}d&&g&&g({action:h,location:j.location,delta:1})}function T(N,D){h="REPLACE";let H=qg(N)?N:ff(j.location,N,D);m=y();let B=Gg(H,m),X=j.createHref(H.unstable_mask||H);f.replaceState(B,"",X),d&&g&&g({action:h,location:j.location,delta:0})}function M(N){return Q2(N)}let j={get action(){return h},get location(){return n(u,f)},listen(N){if(g)throw new Error("A history only accepts one active listener");return u.addEventListener(Hg,v),g=N,()=>{u.removeEventListener(Hg,v),g=null}},createHref(N){return i(u,N)},createURL:M,encodeLocation(N){let D=M(N);return{pathname:D.pathname,search:D.search,hash:D.hash}},push:S,replace:T,go(N){return f.go(N)}};return j}function Q2(n,i=!1){let s="http://localhost";typeof window<"u"&&(s=window.location.origin!=="null"?window.location.origin:window.location.href),Gt(s,"No window.location.(origin|href) available to create URL");let r=typeof n=="string"?n:Wl(n);return r=r.replace(/ $/,"%20"),!i&&r.startsWith("//")&&(r=s+r),new URL(r,s)}function j0(n,i,s="/"){return Z2(n,i,s,!1)}function Z2(n,i,s,r){let u=typeof i=="string"?qi(i):i,d=Vn(u.pathname||"/",s);if(d==null)return null;let f=D0(n);P2(f);let h=null;for(let g=0;h==null&&g<f.length;++g){let m=lS(d);h=aS(f[g],m,r)}return h}function D0(n,i=[],s=[],r="",u=!1){let d=(f,h,g=u,m)=>{let y={relativePath:m===void 0?f.path||"":m,caseSensitive:f.caseSensitive===!0,childrenIndex:h,route:f};if(y.relativePath.startsWith("/")){if(!y.relativePath.startsWith(r)&&g)return;Gt(y.relativePath.startsWith(r),`Absolute route path "${y.relativePath}" nested under path "${r}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),y.relativePath=y.relativePath.slice(r.length)}let v=dn([r,y.relativePath]),S=s.concat(y);f.children&&f.children.length>0&&(Gt(f.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${v}".`),D0(f.children,i,S,v,g)),!(f.path==null&&!f.index)&&i.push({path:v,score:eS(v,f.index),routesMeta:S})};return n.forEach((f,h)=>{var g;if(f.path===""||!((g=f.path)!=null&&g.includes("?")))d(f,h);else for(let m of z0(f.path))d(f,h,!0,m)}),i}function z0(n){let i=n.split("/");if(i.length===0)return[];let[s,...r]=i,u=s.endsWith("?"),d=s.replace(/\?$/,"");if(r.length===0)return u?[d,""]:[d];let f=z0(r.join("/")),h=[];return h.push(...f.map(g=>g===""?d:[d,g].join("/"))),u&&h.push(...f),h.map(g=>n.startsWith("/")&&g===""?"/":g)}function P2(n){n.sort((i,s)=>i.score!==s.score?s.score-i.score:nS(i.routesMeta.map(r=>r.childrenIndex),s.routesMeta.map(r=>r.childrenIndex)))}var F2=/^:[\w-]+$/,J2=3,W2=2,$2=1,I2=10,tS=-2,Yg=n=>n==="*";function eS(n,i){let s=n.split("/"),r=s.length;return s.some(Yg)&&(r+=tS),i&&(r+=W2),s.filter(u=>!Yg(u)).reduce((u,d)=>u+(F2.test(d)?J2:d===""?$2:I2),r)}function nS(n,i){return n.length===i.length&&n.slice(0,-1).every((r,u)=>r===i[u])?n[n.length-1]-i[i.length-1]:0}function aS(n,i,s=!1){let{routesMeta:r}=n,u={},d="/",f=[];for(let h=0;h<r.length;++h){let g=r[h],m=h===r.length-1,y=d==="/"?i:i.slice(d.length)||"/",v=Zr({path:g.relativePath,caseSensitive:g.caseSensitive,end:m},y),S=g.route;if(!v&&m&&s&&!r[r.length-1].route.index&&(v=Zr({path:g.relativePath,caseSensitive:g.caseSensitive,end:!1},y)),!v)return null;Object.assign(u,v.params),f.push({params:u,pathname:dn([d,v.pathname]),pathnameBase:uS(dn([d,v.pathnameBase])),route:S}),v.pathnameBase!=="/"&&(d=dn([d,v.pathnameBase]))}return f}function Zr(n,i){typeof n=="string"&&(n={path:n,caseSensitive:!1,end:!0});let[s,r]=iS(n.path,n.caseSensitive,n.end),u=i.match(s);if(!u)return null;let d=u[0],f=d.replace(/(.)\/+$/,"$1"),h=u.slice(1);return{params:r.reduce((m,{paramName:y,isOptional:v},S)=>{if(y==="*"){let M=h[S]||"";f=d.slice(0,d.length-M.length).replace(/(.)\/+$/,"$1")}const T=h[S];return v&&!T?m[y]=void 0:m[y]=(T||"").replace(/%2F/g,"/"),m},{}),pathname:d,pathnameBase:f,pattern:n}}function iS(n,i=!1,s=!0){mn(n==="*"||!n.endsWith("*")||n.endsWith("/*"),`Route path "${n}" will be treated as if it were "${n.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${n.replace(/\*$/,"/*")}".`);let r=[],u="^"+n.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(f,h,g,m,y)=>{if(r.push({paramName:h,isOptional:g!=null}),g){let v=y.charAt(m+f.length);return v&&v!=="/"?"/([^\\/]*)":"(?:/([^\\/]*))?"}return"/([^\\/]+)"}).replace(/\/([\w-]+)\?(\/|$)/g,"(/$1)?$2");return n.endsWith("*")?(r.push({paramName:"*"}),u+=n==="*"||n==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):s?u+="\\/*$":n!==""&&n!=="/"&&(u+="(?:(?=\\/|$))"),[new RegExp(u,i?void 0:"i"),r]}function lS(n){try{return n.split("/").map(i=>decodeURIComponent(i).replace(/\//g,"%2F")).join("/")}catch(i){return mn(!1,`The URL path "${n}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${i}).`),n}}function Vn(n,i){if(i==="/")return n;if(!n.toLowerCase().startsWith(i.toLowerCase()))return null;let s=i.endsWith("/")?i.length-1:i.length,r=n.charAt(s);return r&&r!=="/"?null:n.slice(s)||"/"}var sS=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i;function rS(n,i="/"){let{pathname:s,search:r="",hash:u=""}=typeof n=="string"?qi(n):n,d;return s?(s=s.replace(/\/\/+/g,"/"),s.startsWith("/")?d=Xg(s.substring(1),"/"):d=Xg(s,i)):d=i,{pathname:d,search:cS(r),hash:fS(u)}}function Xg(n,i){let s=i.replace(/\/+$/,"").split("/");return n.split("/").forEach(u=>{u===".."?s.length>1&&s.pop():u!=="."&&s.push(u)}),s.length>1?s.join("/"):"/"}function Hc(n,i,s,r){return`Cannot include a '${n}' character in a manually specified \`to.${i}\` field [${JSON.stringify(r)}].  Please separate it out to the \`to.${s}\` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.`}function oS(n){return n.filter((i,s)=>s===0||i.route.path&&i.route.path.length>0)}function k0(n){let i=oS(n);return i.map((s,r)=>r===i.length-1?s.pathname:s.pathnameBase)}function Xf(n,i,s,r=!1){let u;typeof n=="string"?u=qi(n):(u={...n},Gt(!u.pathname||!u.pathname.includes("?"),Hc("?","pathname","search",u)),Gt(!u.pathname||!u.pathname.includes("#"),Hc("#","pathname","hash",u)),Gt(!u.search||!u.search.includes("#"),Hc("#","search","hash",u)));let d=n===""||u.pathname==="",f=d?"/":u.pathname,h;if(f==null)h=s;else{let v=i.length-1;if(!r&&f.startsWith("..")){let S=f.split("/");for(;S[0]==="..";)S.shift(),v-=1;u.pathname=S.join("/")}h=v>=0?i[v]:"/"}let g=rS(u,h),m=f&&f!=="/"&&f.endsWith("/"),y=(d||f===".")&&s.endsWith("/");return!g.pathname.endsWith("/")&&(m||y)&&(g.pathname+="/"),g}var dn=n=>n.join("/").replace(/\/\/+/g,"/"),uS=n=>n.replace(/\/+$/,"").replace(/^\/*/,"/"),cS=n=>!n||n==="?"?"":n.startsWith("?")?n:"?"+n,fS=n=>!n||n==="#"?"":n.startsWith("#")?n:"#"+n,dS=class{constructor(n,i,s,r=!1){this.status=n,this.statusText=i||"",this.internal=r,s instanceof Error?(this.data=s.toString(),this.error=s):this.data=s}};function hS(n){return n!=null&&typeof n.status=="number"&&typeof n.statusText=="string"&&typeof n.internal=="boolean"&&"data"in n}function mS(n){return n.map(i=>i.route.path).filter(Boolean).join("/").replace(/\/\/*/g,"/")||"/"}var O0=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function V0(n,i){let s=n;if(typeof s!="string"||!sS.test(s))return{absoluteURL:void 0,isExternal:!1,to:s};let r=s,u=!1;if(O0)try{let d=new URL(window.location.href),f=s.startsWith("//")?new URL(d.protocol+s):new URL(s),h=Vn(f.pathname,i);f.origin===d.origin&&h!=null?s=h+f.search+f.hash:u=!0}catch{mn(!1,`<Link to="${s}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}return{absoluteURL:r,isExternal:u,to:s}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");var _0=["POST","PUT","PATCH","DELETE"];new Set(_0);var pS=["GET",..._0];new Set(pS);var Gi=E.createContext(null);Gi.displayName="DataRouter";var so=E.createContext(null);so.displayName="DataRouterState";var gS=E.createContext(!1),B0=E.createContext({isTransitioning:!1});B0.displayName="ViewTransition";var yS=E.createContext(new Map);yS.displayName="Fetchers";var vS=E.createContext(null);vS.displayName="Await";var Je=E.createContext(null);Je.displayName="Navigation";var as=E.createContext(null);as.displayName="Location";var _n=E.createContext({outlet:null,matches:[],isDataRoute:!1});_n.displayName="Route";var Kf=E.createContext(null);Kf.displayName="RouteError";var L0="REACT_ROUTER_ERROR",bS="REDIRECT",xS="ROUTE_ERROR_RESPONSE";function SS(n){if(n.startsWith(`${L0}:${bS}:{`))try{let i=JSON.parse(n.slice(28));if(typeof i=="object"&&i&&typeof i.status=="number"&&typeof i.statusText=="string"&&typeof i.location=="string"&&typeof i.reloadDocument=="boolean"&&typeof i.replace=="boolean")return i}catch{}}function wS(n){if(n.startsWith(`${L0}:${xS}:{`))try{let i=JSON.parse(n.slice(40));if(typeof i=="object"&&i&&typeof i.status=="number"&&typeof i.statusText=="string")return new dS(i.status,i.statusText,i.data)}catch{}}function TS(n,{relative:i}={}){Gt(is(),"useHref() may be used only in the context of a <Router> component.");let{basename:s,navigator:r}=E.useContext(Je),{hash:u,pathname:d,search:f}=ls(n,{relative:i}),h=d;return s!=="/"&&(h=d==="/"?s:dn([s,d])),r.createHref({pathname:h,search:f,hash:u})}function is(){return E.useContext(as)!=null}function Bn(){return Gt(is(),"useLocation() may be used only in the context of a <Router> component."),E.useContext(as).location}var U0="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function H0(n){E.useContext(Je).static||E.useLayoutEffect(n)}function ES(){let{isDataRoute:n}=E.useContext(_n);return n?BS():AS()}function AS(){Gt(is(),"useNavigate() may be used only in the context of a <Router> component.");let n=E.useContext(Gi),{basename:i,navigator:s}=E.useContext(Je),{matches:r}=E.useContext(_n),{pathname:u}=Bn(),d=JSON.stringify(k0(r)),f=E.useRef(!1);return H0(()=>{f.current=!0}),E.useCallback((g,m={})=>{if(mn(f.current,U0),!f.current)return;if(typeof g=="number"){s.go(g);return}let y=Xf(g,JSON.parse(d),u,m.relative==="path");n==null&&i!=="/"&&(y.pathname=y.pathname==="/"?i:dn([i,y.pathname])),(m.replace?s.replace:s.push)(y,m.state,m)},[i,s,d,u,n])}E.createContext(null);function ls(n,{relative:i}={}){let{matches:s}=E.useContext(_n),{pathname:r}=Bn(),u=JSON.stringify(k0(s));return E.useMemo(()=>Xf(n,JSON.parse(u),r,i==="path"),[n,u,r,i])}function CS(n,i){return q0(n,i)}function q0(n,i,s){var N;Gt(is(),"useRoutes() may be used only in the context of a <Router> component.");let{navigator:r}=E.useContext(Je),{matches:u}=E.useContext(_n),d=u[u.length-1],f=d?d.params:{},h=d?d.pathname:"/",g=d?d.pathnameBase:"/",m=d&&d.route;{let D=m&&m.path||"";Y0(h,!m||D.endsWith("*")||D.endsWith("*?"),`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${h}" (under <Route path="${D}">) but the parent route path has no trailing "*". This means if you navigate deeper, the parent won't match anymore and therefore the child routes will never render.

Please change the parent <Route path="${D}"> to <Route path="${D==="/"?"*":`${D}/*`}">.`)}let y=Bn(),v;if(i){let D=typeof i=="string"?qi(i):i;Gt(g==="/"||((N=D.pathname)==null?void 0:N.startsWith(g)),`When overriding the location using \`<Routes location>\` or \`useRoutes(routes, location)\`, the location pathname must begin with the portion of the URL pathname that was matched by all parent routes. The current pathname base is "${g}" but pathname "${D.pathname}" was given in the \`location\` prop.`),v=D}else v=y;let S=v.pathname||"/",T=S;if(g!=="/"){let D=g.replace(/^\//,"").split("/");T="/"+S.replace(/^\//,"").split("/").slice(D.length).join("/")}let M=j0(n,{pathname:T});mn(m||M!=null,`No routes matched location "${v.pathname}${v.search}${v.hash}" `),mn(M==null||M[M.length-1].route.element!==void 0||M[M.length-1].route.Component!==void 0||M[M.length-1].route.lazy!==void 0,`Matched leaf route at location "${v.pathname}${v.search}${v.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 j=DS(M&&M.map(D=>Object.assign({},D,{params:Object.assign({},f,D.params),pathname:dn([g,r.encodeLocation?r.encodeLocation(D.pathname.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:D.pathname]),pathnameBase:D.pathnameBase==="/"?g:dn([g,r.encodeLocation?r.encodeLocation(D.pathnameBase.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:D.pathnameBase])})),u,s);return i&&j?E.createElement(as.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",unstable_mask:void 0,...v},navigationType:"POP"}},j):j}function MS(){let n=_S(),i=hS(n)?`${n.status} ${n.statusText}`:n instanceof Error?n.message:JSON.stringify(n),s=n instanceof Error?n.stack:null,r="rgba(200,200,200, 0.5)",u={padding:"0.5rem",backgroundColor:r},d={padding:"2px 4px",backgroundColor:r},f=null;return console.error("Error handled by React Router default ErrorBoundary:",n),f=E.createElement(E.Fragment,null,E.createElement("p",null,"💿 Hey developer 👋"),E.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",E.createElement("code",{style:d},"ErrorBoundary")," or"," ",E.createElement("code",{style:d},"errorElement")," prop on your route.")),E.createElement(E.Fragment,null,E.createElement("h2",null,"Unexpected Application Error!"),E.createElement("h3",{style:{fontStyle:"italic"}},i),s?E.createElement("pre",{style:u},s):null,f)}var RS=E.createElement(MS,null),G0=class extends E.Component{constructor(n){super(n),this.state={location:n.location,revalidation:n.revalidation,error:n.error}}static getDerivedStateFromError(n){return{error:n}}static getDerivedStateFromProps(n,i){return i.location!==n.location||i.revalidation!=="idle"&&n.revalidation==="idle"?{error:n.error,location:n.location,revalidation:n.revalidation}:{error:n.error!==void 0?n.error:i.error,location:i.location,revalidation:n.revalidation||i.revalidation}}componentDidCatch(n,i){this.props.onError?this.props.onError(n,i):console.error("React Router caught the following error during render",n)}render(){let n=this.state.error;if(this.context&&typeof n=="object"&&n&&"digest"in n&&typeof n.digest=="string"){const s=wS(n.digest);s&&(n=s)}let i=n!==void 0?E.createElement(_n.Provider,{value:this.props.routeContext},E.createElement(Kf.Provider,{value:n,children:this.props.component})):this.props.children;return this.context?E.createElement(NS,{error:n},i):i}};G0.contextType=gS;var qc=new WeakMap;function NS({children:n,error:i}){let{basename:s}=E.useContext(Je);if(typeof i=="object"&&i&&"digest"in i&&typeof i.digest=="string"){let r=SS(i.digest);if(r){let u=qc.get(i);if(u)throw u;let d=V0(r.location,s);if(O0&&!qc.get(i))if(d.isExternal||r.reloadDocument)window.location.href=d.absoluteURL||d.to;else{const f=Promise.resolve().then(()=>window.__reactRouterDataRouter.navigate(d.to,{replace:r.replace}));throw qc.set(i,f),f}return E.createElement("meta",{httpEquiv:"refresh",content:`0;url=${d.absoluteURL||d.to}`})}}return n}function jS({routeContext:n,match:i,children:s}){let r=E.useContext(Gi);return r&&r.static&&r.staticContext&&(i.route.errorElement||i.route.ErrorBoundary)&&(r.staticContext._deepestRenderedBoundaryId=i.route.id),E.createElement(_n.Provider,{value:n},s)}function DS(n,i=[],s){let r=s==null?void 0:s.state;if(n==null){if(!r)return null;if(r.errors)n=r.matches;else if(i.length===0&&!r.initialized&&r.matches.length>0)n=r.matches;else return null}let u=n,d=r==null?void 0:r.errors;if(d!=null){let y=u.findIndex(v=>v.route.id&&(d==null?void 0:d[v.route.id])!==void 0);Gt(y>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(d).join(",")}`),u=u.slice(0,Math.min(u.length,y+1))}let f=!1,h=-1;if(s&&r){f=r.renderFallback;for(let y=0;y<u.length;y++){let v=u[y];if((v.route.HydrateFallback||v.route.hydrateFallbackElement)&&(h=y),v.route.id){let{loaderData:S,errors:T}=r,M=v.route.loader&&!S.hasOwnProperty(v.route.id)&&(!T||T[v.route.id]===void 0);if(v.route.lazy||M){s.isStatic&&(f=!0),h>=0?u=u.slice(0,h+1):u=[u[0]];break}}}}let g=s==null?void 0:s.onError,m=r&&g?(y,v)=>{var S,T;g(y,{location:r.location,params:((T=(S=r.matches)==null?void 0:S[0])==null?void 0:T.params)??{},unstable_pattern:mS(r.matches),errorInfo:v})}:void 0;return u.reduceRight((y,v,S)=>{let T,M=!1,j=null,N=null;r&&(T=d&&v.route.id?d[v.route.id]:void 0,j=v.route.errorElement||RS,f&&(h<0&&S===0?(Y0("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),M=!0,N=null):h===S&&(M=!0,N=v.route.hydrateFallbackElement||null)));let D=i.concat(u.slice(0,S+1)),H=()=>{let B;return T?B=j:M?B=N:v.route.Component?B=E.createElement(v.route.Component,null):v.route.element?B=v.route.element:B=y,E.createElement(jS,{match:v,routeContext:{outlet:y,matches:D,isDataRoute:r!=null},children:B})};return r&&(v.route.ErrorBoundary||v.route.errorElement||S===0)?E.createElement(G0,{location:r.location,revalidation:r.revalidation,component:j,error:T,children:H(),routeContext:{outlet:null,matches:D,isDataRoute:!0},onError:m}):H()},null)}function Qf(n){return`${n} must be used within a data router.  See https://reactrouter.com/en/main/routers/picking-a-router.`}function zS(n){let i=E.useContext(Gi);return Gt(i,Qf(n)),i}function kS(n){let i=E.useContext(so);return Gt(i,Qf(n)),i}function OS(n){let i=E.useContext(_n);return Gt(i,Qf(n)),i}function Zf(n){let i=OS(n),s=i.matches[i.matches.length-1];return Gt(s.route.id,`${n} can only be used on routes that contain a unique "id"`),s.route.id}function VS(){return Zf("useRouteId")}function _S(){var r;let n=E.useContext(Kf),i=kS("useRouteError"),s=Zf("useRouteError");return n!==void 0?n:(r=i.errors)==null?void 0:r[s]}function BS(){let{router:n}=zS("useNavigate"),i=Zf("useNavigate"),s=E.useRef(!1);return H0(()=>{s.current=!0}),E.useCallback(async(u,d={})=>{mn(s.current,U0),s.current&&(typeof u=="number"?await n.navigate(u):await n.navigate(u,{fromRouteId:i,...d}))},[n,i])}var Kg={};function Y0(n,i,s){!i&&!Kg[n]&&(Kg[n]=!0,mn(!1,s))}E.memo(LS);function LS({routes:n,future:i,state:s,isStatic:r,onError:u}){return q0(n,void 0,{state:s,isStatic:r,onError:u})}function Ha(n){Gt(!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 US({basename:n="/",children:i=null,location:s,navigationType:r="POP",navigator:u,static:d=!1,unstable_useTransitions:f}){Gt(!is(),"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let h=n.replace(/^\/*/,"/"),g=E.useMemo(()=>({basename:h,navigator:u,static:d,unstable_useTransitions:f,future:{}}),[h,u,d,f]);typeof s=="string"&&(s=qi(s));let{pathname:m="/",search:y="",hash:v="",state:S=null,key:T="default",unstable_mask:M}=s,j=E.useMemo(()=>{let N=Vn(m,h);return N==null?null:{location:{pathname:N,search:y,hash:v,state:S,key:T,unstable_mask:M},navigationType:r}},[h,m,y,v,S,T,r,M]);return mn(j!=null,`<Router basename="${h}"> is not able to match the URL "${m}${y}${v}" because it does not start with the basename, so the <Router> won't render anything.`),j==null?null:E.createElement(Je.Provider,{value:g},E.createElement(as.Provider,{children:i,value:j}))}function HS({children:n,location:i}){return CS(df(n),i)}function df(n,i=[]){let s=[];return E.Children.forEach(n,(r,u)=>{if(!E.isValidElement(r))return;let d=[...i,u];if(r.type===E.Fragment){s.push.apply(s,df(r.props.children,d));return}Gt(r.type===Ha,`[${typeof r.type=="string"?r.type:r.type.name}] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>`),Gt(!r.props.index||!r.props.children,"An index route cannot have child routes.");let f={id:r.props.id||d.join("-"),caseSensitive:r.props.caseSensitive,element:r.props.element,Component:r.props.Component,index:r.props.index,path:r.props.path,middleware:r.props.middleware,loader:r.props.loader,action:r.props.action,hydrateFallbackElement:r.props.hydrateFallbackElement,HydrateFallback:r.props.HydrateFallback,errorElement:r.props.errorElement,ErrorBoundary:r.props.ErrorBoundary,hasErrorBoundary:r.props.hasErrorBoundary===!0||r.props.ErrorBoundary!=null||r.props.errorElement!=null,shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle,lazy:r.props.lazy};r.props.children&&(f.children=df(r.props.children,d)),s.push(f)}),s}var Br="get",Lr="application/x-www-form-urlencoded";function ro(n){return typeof HTMLElement<"u"&&n instanceof HTMLElement}function qS(n){return ro(n)&&n.tagName.toLowerCase()==="button"}function GS(n){return ro(n)&&n.tagName.toLowerCase()==="form"}function YS(n){return ro(n)&&n.tagName.toLowerCase()==="input"}function XS(n){return!!(n.metaKey||n.altKey||n.ctrlKey||n.shiftKey)}function KS(n,i){return n.button===0&&(!i||i==="_self")&&!XS(n)}var Mr=null;function QS(){if(Mr===null)try{new FormData(document.createElement("form"),0),Mr=!1}catch{Mr=!0}return Mr}var ZS=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function Gc(n){return n!=null&&!ZS.has(n)?(mn(!1,`"${n}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${Lr}"`),null):n}function PS(n,i){let s,r,u,d,f;if(GS(n)){let h=n.getAttribute("action");r=h?Vn(h,i):null,s=n.getAttribute("method")||Br,u=Gc(n.getAttribute("enctype"))||Lr,d=new FormData(n)}else if(qS(n)||YS(n)&&(n.type==="submit"||n.type==="image")){let h=n.form;if(h==null)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let g=n.getAttribute("formaction")||h.getAttribute("action");if(r=g?Vn(g,i):null,s=n.getAttribute("formmethod")||h.getAttribute("method")||Br,u=Gc(n.getAttribute("formenctype"))||Gc(h.getAttribute("enctype"))||Lr,d=new FormData(h,n),!QS()){let{name:m,type:y,value:v}=n;if(y==="image"){let S=m?`${m}.`:"";d.append(`${S}x`,"0"),d.append(`${S}y`,"0")}else m&&d.append(m,v)}}else{if(ro(n))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');s=Br,r=null,u=Lr,f=n}return d&&u==="text/plain"&&(f=d,d=void 0),{action:r,method:s.toLowerCase(),encType:u,formData:d,body:f}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");function Pf(n,i){if(n===!1||n===null||typeof n>"u")throw new Error(i)}function FS(n,i,s,r){let u=typeof n=="string"?new URL(n,typeof window>"u"?"server://singlefetch/":window.location.origin):n;return s?u.pathname.endsWith("/")?u.pathname=`${u.pathname}_.${r}`:u.pathname=`${u.pathname}.${r}`:u.pathname==="/"?u.pathname=`_root.${r}`:i&&Vn(u.pathname,i)==="/"?u.pathname=`${i.replace(/\/$/,"")}/_root.${r}`:u.pathname=`${u.pathname.replace(/\/$/,"")}.${r}`,u}async function JS(n,i){if(n.id in i)return i[n.id];try{let s=await import(n.module);return i[n.id]=s,s}catch(s){return console.error(`Error loading route module \`${n.module}\`, reloading page...`),console.error(s),window.__reactRouterContext&&window.__reactRouterContext.isSpaMode,window.location.reload(),new Promise(()=>{})}}function WS(n){return n==null?!1:n.href==null?n.rel==="preload"&&typeof n.imageSrcSet=="string"&&typeof n.imageSizes=="string":typeof n.rel=="string"&&typeof n.href=="string"}async function $S(n,i,s){let r=await Promise.all(n.map(async u=>{let d=i.routes[u.route.id];if(d){let f=await JS(d,s);return f.links?f.links():[]}return[]}));return nw(r.flat(1).filter(WS).filter(u=>u.rel==="stylesheet"||u.rel==="preload").map(u=>u.rel==="stylesheet"?{...u,rel:"prefetch",as:"style"}:{...u,rel:"prefetch"}))}function Qg(n,i,s,r,u,d){let f=(g,m)=>s[m]?g.route.id!==s[m].route.id:!0,h=(g,m)=>{var y;return s[m].pathname!==g.pathname||((y=s[m].route.path)==null?void 0:y.endsWith("*"))&&s[m].params["*"]!==g.params["*"]};return d==="assets"?i.filter((g,m)=>f(g,m)||h(g,m)):d==="data"?i.filter((g,m)=>{var v;let y=r.routes[g.route.id];if(!y||!y.hasLoader)return!1;if(f(g,m)||h(g,m))return!0;if(g.route.shouldRevalidate){let S=g.route.shouldRevalidate({currentUrl:new URL(u.pathname+u.search+u.hash,window.origin),currentParams:((v=s[0])==null?void 0:v.params)||{},nextUrl:new URL(n,window.origin),nextParams:g.params,defaultShouldRevalidate:!0});if(typeof S=="boolean")return S}return!0}):[]}function IS(n,i,{includeHydrateFallback:s}={}){return tw(n.map(r=>{let u=i.routes[r.route.id];if(!u)return[];let d=[u.module];return u.clientActionModule&&(d=d.concat(u.clientActionModule)),u.clientLoaderModule&&(d=d.concat(u.clientLoaderModule)),s&&u.hydrateFallbackModule&&(d=d.concat(u.hydrateFallbackModule)),u.imports&&(d=d.concat(u.imports)),d}).flat(1))}function tw(n){return[...new Set(n)]}function ew(n){let i={},s=Object.keys(n).sort();for(let r of s)i[r]=n[r];return i}function nw(n,i){let s=new Set;return new Set(i),n.reduce((r,u)=>{let d=JSON.stringify(ew(u));return s.has(d)||(s.add(d),r.push({key:d,link:u})),r},[])}function X0(){let n=E.useContext(Gi);return Pf(n,"You must render this element inside a <DataRouterContext.Provider> element"),n}function aw(){let n=E.useContext(so);return Pf(n,"You must render this element inside a <DataRouterStateContext.Provider> element"),n}var Ff=E.createContext(void 0);Ff.displayName="FrameworkContext";function K0(){let n=E.useContext(Ff);return Pf(n,"You must render this element inside a <HydratedRouter> element"),n}function iw(n,i){let s=E.useContext(Ff),[r,u]=E.useState(!1),[d,f]=E.useState(!1),{onFocus:h,onBlur:g,onMouseEnter:m,onMouseLeave:y,onTouchStart:v}=i,S=E.useRef(null);E.useEffect(()=>{if(n==="render"&&f(!0),n==="viewport"){let j=D=>{D.forEach(H=>{f(H.isIntersecting)})},N=new IntersectionObserver(j,{threshold:.5});return S.current&&N.observe(S.current),()=>{N.disconnect()}}},[n]),E.useEffect(()=>{if(r){let j=setTimeout(()=>{f(!0)},100);return()=>{clearTimeout(j)}}},[r]);let T=()=>{u(!0)},M=()=>{u(!1),f(!1)};return s?n!=="intent"?[d,S,{}]:[d,S,{onFocus:Hl(h,T),onBlur:Hl(g,M),onMouseEnter:Hl(m,T),onMouseLeave:Hl(y,M),onTouchStart:Hl(v,T)}]:[!1,S,{}]}function Hl(n,i){return s=>{n&&n(s),s.defaultPrevented||i(s)}}function lw({page:n,...i}){let{router:s}=X0(),r=E.useMemo(()=>j0(s.routes,n,s.basename),[s.routes,n,s.basename]);return r?E.createElement(rw,{page:n,matches:r,...i}):null}function sw(n){let{manifest:i,routeModules:s}=K0(),[r,u]=E.useState([]);return E.useEffect(()=>{let d=!1;return $S(n,i,s).then(f=>{d||u(f)}),()=>{d=!0}},[n,i,s]),r}function rw({page:n,matches:i,...s}){let r=Bn(),{future:u,manifest:d,routeModules:f}=K0(),{basename:h}=X0(),{loaderData:g,matches:m}=aw(),y=E.useMemo(()=>Qg(n,i,m,d,r,"data"),[n,i,m,d,r]),v=E.useMemo(()=>Qg(n,i,m,d,r,"assets"),[n,i,m,d,r]),S=E.useMemo(()=>{if(n===r.pathname+r.search+r.hash)return[];let j=new Set,N=!1;if(i.forEach(H=>{var X;let B=d.routes[H.route.id];!B||!B.hasLoader||(!y.some(K=>K.route.id===H.route.id)&&H.route.id in g&&((X=f[H.route.id])!=null&&X.shouldRevalidate)||B.hasClientLoader?N=!0:j.add(H.route.id))}),j.size===0)return[];let D=FS(n,h,u.unstable_trailingSlashAwareDataRequests,"data");return N&&j.size>0&&D.searchParams.set("_routes",i.filter(H=>j.has(H.route.id)).map(H=>H.route.id).join(",")),[D.pathname+D.search]},[h,u.unstable_trailingSlashAwareDataRequests,g,r,d,y,i,n,f]),T=E.useMemo(()=>IS(v,d),[v,d]),M=sw(v);return E.createElement(E.Fragment,null,S.map(j=>E.createElement("link",{key:j,rel:"prefetch",as:"fetch",href:j,...s})),T.map(j=>E.createElement("link",{key:j,rel:"modulepreload",href:j,...s})),M.map(({key:j,link:N})=>E.createElement("link",{key:j,nonce:s.nonce,...N,crossOrigin:N.crossOrigin??s.crossOrigin})))}function ow(...n){return i=>{n.forEach(s=>{typeof s=="function"?s(i):s!=null&&(s.current=i)})}}var uw=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";try{uw&&(window.__reactRouterVersion="7.13.2")}catch{}function cw({basename:n,children:i,unstable_useTransitions:s,window:r}){let u=E.useRef();u.current==null&&(u.current=Y2({window:r,v5Compat:!0}));let d=u.current,[f,h]=E.useState({action:d.action,location:d.location}),g=E.useCallback(m=>{s===!1?h(m):E.startTransition(()=>h(m))},[s]);return E.useLayoutEffect(()=>d.listen(g),[d,g]),E.createElement(US,{basename:n,children:i,location:f.location,navigationType:f.action,navigator:d,unstable_useTransitions:s})}var Q0=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Li=E.forwardRef(function({onClick:i,discover:s="render",prefetch:r="none",relative:u,reloadDocument:d,replace:f,unstable_mask:h,state:g,target:m,to:y,preventScrollReset:v,viewTransition:S,unstable_defaultShouldRevalidate:T,...M},j){let{basename:N,navigator:D,unstable_useTransitions:H}=E.useContext(Je),B=typeof y=="string"&&Q0.test(y),X=V0(y,N);y=X.to;let K=TS(y,{relative:u}),it=Bn(),F=null;if(h){let vt=Xf(h,[],it.unstable_mask?it.unstable_mask.pathname:"/",!0);N!=="/"&&(vt.pathname=vt.pathname==="/"?N:dn([N,vt.pathname])),F=D.createHref(vt)}let[q,W,tt]=iw(r,M),mt=hw(y,{replace:f,unstable_mask:h,state:g,target:m,preventScrollReset:v,relative:u,viewTransition:S,unstable_defaultShouldRevalidate:T,unstable_useTransitions:H});function gt(vt){i&&i(vt),vt.defaultPrevented||mt(vt)}let qt=!(X.isExternal||d),Ot=E.createElement("a",{...M,...tt,href:(qt?F:void 0)||X.absoluteURL||K,onClick:qt?gt:i,ref:ow(j,W),target:m,"data-discover":!B&&s==="render"?"true":void 0});return q&&!B?E.createElement(E.Fragment,null,Ot,E.createElement(lw,{page:K})):Ot});Li.displayName="Link";var hf=E.forwardRef(function({"aria-current":i="page",caseSensitive:s=!1,className:r="",end:u=!1,style:d,to:f,viewTransition:h,children:g,...m},y){let v=ls(f,{relative:m.relative}),S=Bn(),T=E.useContext(so),{navigator:M,basename:j}=E.useContext(Je),N=T!=null&&vw(v)&&h===!0,D=M.encodeLocation?M.encodeLocation(v).pathname:v.pathname,H=S.pathname,B=T&&T.navigation&&T.navigation.location?T.navigation.location.pathname:null;s||(H=H.toLowerCase(),B=B?B.toLowerCase():null,D=D.toLowerCase()),B&&j&&(B=Vn(B,j)||B);const X=D!=="/"&&D.endsWith("/")?D.length-1:D.length;let K=H===D||!u&&H.startsWith(D)&&H.charAt(X)==="/",it=B!=null&&(B===D||!u&&B.startsWith(D)&&B.charAt(D.length)==="/"),F={isActive:K,isPending:it,isTransitioning:N},q=K?i:void 0,W;typeof r=="function"?W=r(F):W=[r,K?"active":null,it?"pending":null,N?"transitioning":null].filter(Boolean).join(" ");let tt=typeof d=="function"?d(F):d;return E.createElement(Li,{...m,"aria-current":q,className:W,ref:y,style:tt,to:f,viewTransition:h},typeof g=="function"?g(F):g)});hf.displayName="NavLink";var fw=E.forwardRef(({discover:n="render",fetcherKey:i,navigate:s,reloadDocument:r,replace:u,state:d,method:f=Br,action:h,onSubmit:g,relative:m,preventScrollReset:y,viewTransition:v,unstable_defaultShouldRevalidate:S,...T},M)=>{let{unstable_useTransitions:j}=E.useContext(Je),N=gw(),D=yw(h,{relative:m}),H=f.toLowerCase()==="get"?"get":"post",B=typeof h=="string"&&Q0.test(h),X=K=>{if(g&&g(K),K.defaultPrevented)return;K.preventDefault();let it=K.nativeEvent.submitter,F=(it==null?void 0:it.getAttribute("formmethod"))||f,q=()=>N(it||K.currentTarget,{fetcherKey:i,method:F,navigate:s,replace:u,state:d,relative:m,preventScrollReset:y,viewTransition:v,unstable_defaultShouldRevalidate:S});j&&s!==!1?E.startTransition(()=>q()):q()};return E.createElement("form",{ref:M,method:H,action:D,onSubmit:r?g:X,...T,"data-discover":!B&&n==="render"?"true":void 0})});fw.displayName="Form";function dw(n){return`${n} must be used within a data router.  See https://reactrouter.com/en/main/routers/picking-a-router.`}function Z0(n){let i=E.useContext(Gi);return Gt(i,dw(n)),i}function hw(n,{target:i,replace:s,unstable_mask:r,state:u,preventScrollReset:d,relative:f,viewTransition:h,unstable_defaultShouldRevalidate:g,unstable_useTransitions:m}={}){let y=ES(),v=Bn(),S=ls(n,{relative:f});return E.useCallback(T=>{if(KS(T,i)){T.preventDefault();let M=s!==void 0?s:Wl(v)===Wl(S),j=()=>y(n,{replace:M,unstable_mask:r,state:u,preventScrollReset:d,relative:f,viewTransition:h,unstable_defaultShouldRevalidate:g});m?E.startTransition(()=>j()):j()}},[v,y,S,s,r,u,i,n,d,f,h,g,m])}var mw=0,pw=()=>`__${String(++mw)}__`;function gw(){let{router:n}=Z0("useSubmit"),{basename:i}=E.useContext(Je),s=VS(),r=n.fetch,u=n.navigate;return E.useCallback(async(d,f={})=>{let{action:h,method:g,encType:m,formData:y,body:v}=PS(d,i);if(f.navigate===!1){let S=f.fetcherKey||pw();await r(S,s,f.action||h,{unstable_defaultShouldRevalidate:f.unstable_defaultShouldRevalidate,preventScrollReset:f.preventScrollReset,formData:y,body:v,formMethod:f.method||g,formEncType:f.encType||m,flushSync:f.flushSync})}else await u(f.action||h,{unstable_defaultShouldRevalidate:f.unstable_defaultShouldRevalidate,preventScrollReset:f.preventScrollReset,formData:y,body:v,formMethod:f.method||g,formEncType:f.encType||m,replace:f.replace,state:f.state,fromRouteId:s,flushSync:f.flushSync,viewTransition:f.viewTransition})},[r,u,i,s])}function yw(n,{relative:i}={}){let{basename:s}=E.useContext(Je),r=E.useContext(_n);Gt(r,"useFormAction must be used inside a RouteContext");let[u]=r.matches.slice(-1),d={...ls(n||".",{relative:i})},f=Bn();if(n==null){d.search=f.search;let h=new URLSearchParams(d.search),g=h.getAll("index");if(g.some(y=>y==="")){h.delete("index"),g.filter(v=>v).forEach(v=>h.append("index",v));let y=h.toString();d.search=y?`?${y}`:""}}return(!n||n===".")&&u.route.index&&(d.search=d.search?d.search.replace(/^\?/,"?index&"):"?index"),s!=="/"&&(d.pathname=d.pathname==="/"?s:dn([s,d.pathname])),Wl(d)}function vw(n,{relative:i}={}){let s=E.useContext(B0);Gt(s!=null,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`.  Did you accidentally import `RouterProvider` from `react-router`?");let{basename:r}=Z0("useViewTransitionState"),u=ls(n,{relative:i});if(!s.isTransitioning)return!1;let d=Vn(s.currentLocation.pathname,r)||s.currentLocation.pathname,f=Vn(s.nextLocation.pathname,r)||s.nextLocation.pathname;return Zr(u.pathname,f)!=null||Zr(u.pathname,d)!=null}/**
 * @license lucide-react v0.546.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const bw=n=>n.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),xw=n=>n.replace(/^([A-Z])|[\s-_]+(\w)/g,(i,s,r)=>r?r.toUpperCase():s.toLowerCase()),Zg=n=>{const i=xw(n);return i.charAt(0).toUpperCase()+i.slice(1)},P0=(...n)=>n.filter((i,s,r)=>!!i&&i.trim()!==""&&r.indexOf(i)===s).join(" ").trim(),Sw=n=>{for(const i in n)if(i.startsWith("aria-")||i==="role"||i==="title")return!0};/**
 * @license lucide-react v0.546.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */var ww={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/**
 * @license lucide-react v0.546.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Tw=E.forwardRef(({color:n="currentColor",size:i=24,strokeWidth:s=2,absoluteStrokeWidth:r,className:u="",children:d,iconNode:f,...h},g)=>E.createElement("svg",{ref:g,...ww,width:i,height:i,stroke:n,strokeWidth:r?Number(s)*24/Number(i):s,className:P0("lucide",u),...!d&&!Sw(h)&&{"aria-hidden":"true"},...h},[...f.map(([m,y])=>E.createElement(m,y)),...Array.isArray(d)?d:[d]]));/**
 * @license lucide-react v0.546.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Ut=(n,i)=>{const s=E.forwardRef(({className:r,...u},d)=>E.createElement(Tw,{ref:d,iconNode:i,className:P0(`lucide-${bw(Zg(n))}`,`lucide-${n}`,r),...u}));return s.displayName=Zg(n),s};/**
 * @license lucide-react v0.546.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Ew=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]],$l=Ut("arrow-right",Ew);/**
 * @license lucide-react v0.546.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Aw=[["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"}]],Cw=Ut("award",Aw);/**
 * @license lucide-react v0.546.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Mw=[["path",{d:"M19 17h2c.6 0 1-.4 1-1v-3c0-.9-.7-1.7-1.5-1.9C18.7 10.6 16 10 16 10s-1.3-1.4-2.2-2.3c-.5-.4-1.1-.7-1.8-.7H5c-.6 0-1.1.4-1.4.9l-1.4 2.9A3.7 3.7 0 0 0 2 12v4c0 .6.4 1 1 1h2",key:"5owen"}],["circle",{cx:"7",cy:"17",r:"2",key:"u2ysq9"}],["path",{d:"M9 17h6",key:"r8uit2"}],["circle",{cx:"17",cy:"17",r:"2",key:"axvx0g"}]],Rw=Ut("car",Mw);/**
 * @license lucide-react v0.546.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Nw=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]],oo=Ut("circle-check",Nw);/**
 * @license lucide-react v0.546.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const jw=[["path",{d:"M12 6v6l4 2",key:"mmk7yg"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]],F0=Ut("clock",jw);/**
 * @license lucide-react v0.546.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Dw=[["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"}]],zw=Ut("cpu",Dw);/**
 * @license lucide-react v0.546.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const kw=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}]],Ow=Ut("disc",kw);/**
 * @license lucide-react v0.546.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Vw=[["path",{d:"M7 16.3c2.2 0 4-1.83 4-4.05 0-1.16-.57-2.26-1.71-3.19S7.29 6.75 7 5.3c-.29 1.45-1.14 2.84-2.29 3.76S3 11.1 3 12.25c0 2.22 1.8 4.05 4 4.05z",key:"1ptgy4"}],["path",{d:"M12.56 6.6A10.97 10.97 0 0 0 14 3.02c.5 2.5 2 4.9 4 6.5s3 3.5 3 5.5a6.98 6.98 0 0 1-11.91 4.97",key:"1sl1rz"}]],J0=Ut("droplets",Vw);/**
 * @license lucide-react v0.546.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const _w=[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"m9 15 2 2 4-4",key:"1grp1n"}]],Bw=Ut("file-check",_w);/**
 * @license lucide-react v0.546.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Lw=[["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"}]],Uw=Ut("mail",Lw);/**
 * @license lucide-react v0.546.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Hw=[["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"}]],qw=Ut("map-pin",Hw);/**
 * @license lucide-react v0.546.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Gw=[["path",{d:"M4 5h16",key:"1tepv9"}],["path",{d:"M4 12h16",key:"1lakjw"}],["path",{d:"M4 19h16",key:"1djgab"}]],Yw=Ut("menu",Gw);/**
 * @license lucide-react v0.546.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Xw=[["path",{d:"M2.992 16.342a2 2 0 0 1 .094 1.167l-1.065 3.29a1 1 0 0 0 1.236 1.168l3.413-.998a2 2 0 0 1 1.099.092 10 10 0 1 0-4.777-4.719",key:"1sd12s"}]],Pg=Ut("message-circle",Xw);/**
 * @license lucide-react v0.546.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Kw=[["path",{d:"m14.622 17.897-10.68-2.913",key:"vj2p1u"}],["path",{d:"M18.376 2.622a1 1 0 1 1 3.002 3.002L17.36 9.643a.5.5 0 0 0 0 .707l.944.944a2.41 2.41 0 0 1 0 3.408l-.944.944a.5.5 0 0 1-.707 0L8.354 7.348a.5.5 0 0 1 0-.707l.944-.944a2.41 2.41 0 0 1 3.408 0l.944.944a.5.5 0 0 0 .707 0z",key:"18tc5c"}],["path",{d:"M9 8c-1.804 2.71-3.97 3.46-6.583 3.948a.507.507 0 0 0-.302.819l7.32 8.883a1 1 0 0 0 1.185.204C12.735 20.405 16 16.792 16 15",key:"ytzfxy"}]],W0=Ut("paintbrush",Kw);/**
 * @license lucide-react v0.546.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Qw=[["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"}]],$0=Ut("phone",Qw);/**
 * @license lucide-react v0.546.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Zw=[["path",{d:"M16 3a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2 1 1 0 0 1 1 1v1a2 2 0 0 1-2 2 1 1 0 0 0-1 1v2a1 1 0 0 0 1 1 6 6 0 0 0 6-6V5a2 2 0 0 0-2-2z",key:"rib7q0"}],["path",{d:"M5 3a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2 1 1 0 0 1 1 1v1a2 2 0 0 1-2 2 1 1 0 0 0-1 1v2a1 1 0 0 0 1 1 6 6 0 0 0 6-6V5a2 2 0 0 0-2-2z",key:"1ymkrd"}]],Pw=Ut("quote",Zw);/**
 * @license lucide-react v0.546.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Fw=[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]],Jw=Ut("search",Fw);/**
 * @license lucide-react v0.546.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Ww=[["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"}]],$w=Ut("send",Ww);/**
 * @license lucide-react v0.546.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Iw=[["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"}]],Jf=Ut("shield",Iw);/**
 * @license lucide-react v0.546.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const tT=[["path",{d:"M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z",key:"r04s7s"}]],I0=Ut("star",tT);/**
 * @license lucide-react v0.546.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const eT=[["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"m4.93 4.93 1.41 1.41",key:"149t6j"}],["path",{d:"m17.66 17.66 1.41 1.41",key:"ptbguv"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"m6.34 17.66-1.41 1.41",key:"1m8zz5"}],["path",{d:"m19.07 4.93-1.41 1.41",key:"1shlcs"}]],nT=Ut("sun",eT);/**
 * @license lucide-react v0.546.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const aT=[["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"}]],iT=Ut("users",aT);/**
 * @license lucide-react v0.546.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const lT=[["path",{d:"M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.106-3.105c.32-.322.863-.22.983.218a6 6 0 0 1-8.259 7.057l-7.91 7.91a1 1 0 0 1-2.999-3l7.91-7.91a6 6 0 0 1 7.057-8.259c.438.12.54.662.219.984z",key:"1ngwbx"}]],sT=Ut("wrench",lT);/**
 * @license lucide-react v0.546.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const rT=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],tv=Ut("x",rT);/**
 * @license lucide-react v0.546.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const oT=[["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"}]],uT=Ut("zap",oT),Wf=E.createContext({});function ga(n){const i=E.useRef(null);return i.current===null&&(i.current=n()),i.current}const cT=typeof window<"u",uo=cT?E.useLayoutEffect:E.useEffect,co=E.createContext(null);function $f(n,i){n.indexOf(i)===-1&&n.push(i)}function Pr(n,i){const s=n.indexOf(i);s>-1&&n.splice(s,1)}const ln=(n,i,s)=>s>i?i:s<n?n:s;let Il=()=>{};const ya={},ev=n=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(n);function nv(n){return typeof n=="object"&&n!==null}const av=n=>/^0[^.\s]+$/u.test(n);function iv(n){let i;return()=>(i===void 0&&(i=n()),i)}const Ee=n=>n,fT=(n,i)=>s=>i(n(s)),ss=(...n)=>n.reduce(fT),Ui=(n,i,s)=>{const r=i-n;return r===0?1:(s-n)/r};class If{constructor(){this.subscriptions=[]}add(i){return $f(this.subscriptions,i),()=>Pr(this.subscriptions,i)}notify(i,s,r){const u=this.subscriptions.length;if(u)if(u===1)this.subscriptions[0](i,s,r);else for(let d=0;d<u;d++){const f=this.subscriptions[d];f&&f(i,s,r)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const _e=n=>n*1e3,Pe=n=>n/1e3;function td(n,i){return i?n*(1e3/i):0}const lv=(n,i,s)=>(((1-3*s+3*i)*n+(3*s-6*i))*n+3*i)*n,dT=1e-7,hT=12;function mT(n,i,s,r,u){let d,f,h=0;do f=i+(s-i)/2,d=lv(f,r,u)-n,d>0?s=f:i=f;while(Math.abs(d)>dT&&++h<hT);return f}function rs(n,i,s,r){if(n===i&&s===r)return Ee;const u=d=>mT(d,0,1,n,s);return d=>d===0||d===1?d:lv(u(d),i,r)}const sv=n=>i=>i<=.5?n(2*i)/2:(2-n(2*(1-i)))/2,rv=n=>i=>1-n(1-i),ov=rs(.33,1.53,.69,.99),ed=rv(ov),uv=sv(ed),cv=n=>n>=1?1:(n*=2)<1?.5*ed(n):.5*(2-Math.pow(2,-10*(n-1))),nd=n=>1-Math.sin(Math.acos(n)),fv=rv(nd),dv=sv(nd),pT=rs(.42,0,1,1),gT=rs(0,0,.58,1),hv=rs(.42,0,.58,1),yT=n=>Array.isArray(n)&&typeof n[0]!="number",mv=n=>Array.isArray(n)&&typeof n[0]=="number",vT={linear:Ee,easeIn:pT,easeInOut:hv,easeOut:gT,circIn:nd,circInOut:dv,circOut:fv,backIn:ed,backInOut:uv,backOut:ov,anticipate:cv},bT=n=>typeof n=="string",Fg=n=>{if(mv(n)){Il(n.length===4);const[i,s,r,u]=n;return rs(i,s,r,u)}else if(bT(n))return vT[n];return n},Rr=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function xT(n,i){let s=new Set,r=new Set,u=!1,d=!1;const f=new WeakSet;let h={delta:0,timestamp:0,isProcessing:!1};function g(y){f.has(y)&&(m.schedule(y),n()),y(h)}const m={schedule:(y,v=!1,S=!1)=>{const M=S&&u?s:r;return v&&f.add(y),M.add(y),y},cancel:y=>{r.delete(y),f.delete(y)},process:y=>{if(h=y,u){d=!0;return}u=!0;const v=s;s=r,r=v,s.forEach(g),s.clear(),u=!1,d&&(d=!1,m.process(y))}};return m}const ST=40;function pv(n,i){let s=!1,r=!0;const u={delta:0,timestamp:0,isProcessing:!1},d=()=>s=!0,f=Rr.reduce((B,X)=>(B[X]=xT(d),B),{}),{setup:h,read:g,resolveKeyframes:m,preUpdate:y,update:v,preRender:S,render:T,postRender:M}=f,j=()=>{const B=ya.useManualTiming,X=B?u.timestamp:performance.now();s=!1,B||(u.delta=r?1e3/60:Math.max(Math.min(X-u.timestamp,ST),1)),u.timestamp=X,u.isProcessing=!0,h.process(u),g.process(u),m.process(u),y.process(u),v.process(u),S.process(u),T.process(u),M.process(u),u.isProcessing=!1,s&&i&&(r=!1,n(j))},N=()=>{s=!0,r=!0,u.isProcessing||n(j)};return{schedule:Rr.reduce((B,X)=>{const K=f[X];return B[X]=(it,F=!1,q=!1)=>(s||N(),K.schedule(it,F,q)),B},{}),cancel:B=>{for(let X=0;X<Rr.length;X++)f[Rr[X]].cancel(B)},state:u,steps:f}}const{schedule:At,cancel:Fe,state:le,steps:Yc}=pv(typeof requestAnimationFrame<"u"?requestAnimationFrame:Ee,!0);let Ur;function wT(){Ur=void 0}const pe={now:()=>(Ur===void 0&&pe.set(le.isProcessing||ya.useManualTiming?le.timestamp:performance.now()),Ur),set:n=>{Ur=n,queueMicrotask(wT)}},gv=n=>i=>typeof i=="string"&&i.startsWith(n),yv=gv("--"),TT=gv("var(--"),ad=n=>TT(n)?ET.test(n.split("/*")[0].trim()):!1,ET=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function Jg(n){return typeof n!="string"?!1:n.split("/*")[0].includes("var(--")}const Yi={test:n=>typeof n=="number",parse:parseFloat,transform:n=>n},ts={...Yi,transform:n=>ln(0,1,n)},Nr={...Yi,default:1},Kl=n=>Math.round(n*1e5)/1e5,id=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function AT(n){return n==null}const CT=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,ld=(n,i)=>s=>!!(typeof s=="string"&&CT.test(s)&&s.startsWith(n)||i&&!AT(s)&&Object.prototype.hasOwnProperty.call(s,i)),vv=(n,i,s)=>r=>{if(typeof r!="string")return r;const[u,d,f,h]=r.match(id);return{[n]:parseFloat(u),[i]:parseFloat(d),[s]:parseFloat(f),alpha:h!==void 0?parseFloat(h):1}},MT=n=>ln(0,255,n),Xc={...Yi,transform:n=>Math.round(MT(n))},Ga={test:ld("rgb","red"),parse:vv("red","green","blue"),transform:({red:n,green:i,blue:s,alpha:r=1})=>"rgba("+Xc.transform(n)+", "+Xc.transform(i)+", "+Xc.transform(s)+", "+Kl(ts.transform(r))+")"};function RT(n){let i="",s="",r="",u="";return n.length>5?(i=n.substring(1,3),s=n.substring(3,5),r=n.substring(5,7),u=n.substring(7,9)):(i=n.substring(1,2),s=n.substring(2,3),r=n.substring(3,4),u=n.substring(4,5),i+=i,s+=s,r+=r,u+=u),{red:parseInt(i,16),green:parseInt(s,16),blue:parseInt(r,16),alpha:u?parseInt(u,16)/255:1}}const mf={test:ld("#"),parse:RT,transform:Ga.transform},os=n=>({test:i=>typeof i=="string"&&i.endsWith(n)&&i.split(" ").length===1,parse:parseFloat,transform:i=>`${i}${n}`}),ha=os("deg"),hn=os("%"),nt=os("px"),NT=os("vh"),jT=os("vw"),Wg={...hn,parse:n=>hn.parse(n)/100,transform:n=>hn.transform(n*100)},Vi={test:ld("hsl","hue"),parse:vv("hue","saturation","lightness"),transform:({hue:n,saturation:i,lightness:s,alpha:r=1})=>"hsla("+Math.round(n)+", "+hn.transform(Kl(i))+", "+hn.transform(Kl(s))+", "+Kl(ts.transform(r))+")"},$t={test:n=>Ga.test(n)||mf.test(n)||Vi.test(n),parse:n=>Ga.test(n)?Ga.parse(n):Vi.test(n)?Vi.parse(n):mf.parse(n),transform:n=>typeof n=="string"?n:n.hasOwnProperty("red")?Ga.transform(n):Vi.transform(n),getAnimatableNone:n=>{const i=$t.parse(n);return i.alpha=0,$t.transform(i)}},DT=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function zT(n){var i,s;return isNaN(n)&&typeof n=="string"&&(((i=n.match(id))==null?void 0:i.length)||0)+(((s=n.match(DT))==null?void 0:s.length)||0)>0}const bv="number",xv="color",kT="var",OT="var(",$g="${}",VT=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function Hi(n){const i=n.toString(),s=[],r={color:[],number:[],var:[]},u=[];let d=0;const h=i.replace(VT,g=>($t.test(g)?(r.color.push(d),u.push(xv),s.push($t.parse(g))):g.startsWith(OT)?(r.var.push(d),u.push(kT),s.push(g)):(r.number.push(d),u.push(bv),s.push(parseFloat(g))),++d,$g)).split($g);return{values:s,split:h,indexes:r,types:u}}function _T(n){return Hi(n).values}function Sv({split:n,types:i}){const s=n.length;return r=>{let u="";for(let d=0;d<s;d++)if(u+=n[d],r[d]!==void 0){const f=i[d];f===bv?u+=Kl(r[d]):f===xv?u+=$t.transform(r[d]):u+=r[d]}return u}}function BT(n){return Sv(Hi(n))}const LT=n=>typeof n=="number"?0:$t.test(n)?$t.getAnimatableNone(n):n,UT=(n,i)=>typeof n=="number"?i!=null&&i.trim().endsWith("/")?n:0:LT(n);function HT(n){const i=Hi(n);return Sv(i)(i.values.map((r,u)=>UT(r,i.split[u])))}const an={test:zT,parse:_T,createTransformer:BT,getAnimatableNone:HT};function Kc(n,i,s){return s<0&&(s+=1),s>1&&(s-=1),s<1/6?n+(i-n)*6*s:s<1/2?i:s<2/3?n+(i-n)*(2/3-s)*6:n}function qT({hue:n,saturation:i,lightness:s,alpha:r}){n/=360,i/=100,s/=100;let u=0,d=0,f=0;if(!i)u=d=f=s;else{const h=s<.5?s*(1+i):s+i-s*i,g=2*s-h;u=Kc(g,h,n+1/3),d=Kc(g,h,n),f=Kc(g,h,n-1/3)}return{red:Math.round(u*255),green:Math.round(d*255),blue:Math.round(f*255),alpha:r}}function Fr(n,i){return s=>s>0?i:n}const Lt=(n,i,s)=>n+(i-n)*s,Qc=(n,i,s)=>{const r=n*n,u=s*(i*i-r)+r;return u<0?0:Math.sqrt(u)},GT=[mf,Ga,Vi],YT=n=>GT.find(i=>i.test(n));function Ig(n){const i=YT(n);if(!i)return!1;let s=i.parse(n);return i===Vi&&(s=qT(s)),s}const ty=(n,i)=>{const s=Ig(n),r=Ig(i);if(!s||!r)return Fr(n,i);const u={...s};return d=>(u.red=Qc(s.red,r.red,d),u.green=Qc(s.green,r.green,d),u.blue=Qc(s.blue,r.blue,d),u.alpha=Lt(s.alpha,r.alpha,d),Ga.transform(u))},pf=new Set(["none","hidden"]);function XT(n,i){return pf.has(n)?s=>s<=0?n:i:s=>s>=1?i:n}function KT(n,i){return s=>Lt(n,i,s)}function sd(n){return typeof n=="number"?KT:typeof n=="string"?ad(n)?Fr:$t.test(n)?ty:PT:Array.isArray(n)?wv:typeof n=="object"?$t.test(n)?ty:QT:Fr}function wv(n,i){const s=[...n],r=s.length,u=n.map((d,f)=>sd(d)(d,i[f]));return d=>{for(let f=0;f<r;f++)s[f]=u[f](d);return s}}function QT(n,i){const s={...n,...i},r={};for(const u in s)n[u]!==void 0&&i[u]!==void 0&&(r[u]=sd(n[u])(n[u],i[u]));return u=>{for(const d in r)s[d]=r[d](u);return s}}function ZT(n,i){const s=[],r={color:0,var:0,number:0};for(let u=0;u<i.values.length;u++){const d=i.types[u],f=n.indexes[d][r[d]],h=n.values[f]??0;s[u]=h,r[d]++}return s}const PT=(n,i)=>{const s=an.createTransformer(i),r=Hi(n),u=Hi(i);return r.indexes.var.length===u.indexes.var.length&&r.indexes.color.length===u.indexes.color.length&&r.indexes.number.length>=u.indexes.number.length?pf.has(n)&&!u.values.length||pf.has(i)&&!r.values.length?XT(n,i):ss(wv(ZT(r,u),u.values),s):Fr(n,i)};function Tv(n,i,s){return typeof n=="number"&&typeof i=="number"&&typeof s=="number"?Lt(n,i,s):sd(n)(n,i)}const FT=n=>{const i=({timestamp:s})=>n(s);return{start:(s=!0)=>At.update(i,s),stop:()=>Fe(i),now:()=>le.isProcessing?le.timestamp:pe.now()}},Ev=(n,i,s=10)=>{let r="";const u=Math.max(Math.round(i/s),2);for(let d=0;d<u;d++)r+=Math.round(n(d/(u-1))*1e4)/1e4+", ";return`linear(${r.substring(0,r.length-2)})`},Jr=2e4;function rd(n){let i=0;const s=50;let r=n.next(i);for(;!r.done&&i<Jr;)i+=s,r=n.next(i);return i>=Jr?1/0:i}function JT(n,i=100,s){const r=s({...n,keyframes:[0,i]}),u=Math.min(rd(r),Jr);return{type:"keyframes",ease:d=>r.next(u*d).value/i,duration:Pe(u)}}const Kt={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1};function gf(n,i){return n*Math.sqrt(1-i*i)}const WT=12;function $T(n,i,s){let r=s;for(let u=1;u<WT;u++)r=r-n(r)/i(r);return r}const Zc=.001;function IT({duration:n=Kt.duration,bounce:i=Kt.bounce,velocity:s=Kt.velocity,mass:r=Kt.mass}){let u,d,f=1-i;f=ln(Kt.minDamping,Kt.maxDamping,f),n=ln(Kt.minDuration,Kt.maxDuration,Pe(n)),f<1?(u=m=>{const y=m*f,v=y*n,S=y-s,T=gf(m,f),M=Math.exp(-v);return Zc-S/T*M},d=m=>{const v=m*f*n,S=v*s+s,T=Math.pow(f,2)*Math.pow(m,2)*n,M=Math.exp(-v),j=gf(Math.pow(m,2),f);return(-u(m)+Zc>0?-1:1)*((S-T)*M)/j}):(u=m=>{const y=Math.exp(-m*n),v=(m-s)*n+1;return-Zc+y*v},d=m=>{const y=Math.exp(-m*n),v=(s-m)*(n*n);return y*v});const h=5/n,g=$T(u,d,h);if(n=_e(n),isNaN(g))return{stiffness:Kt.stiffness,damping:Kt.damping,duration:n};{const m=Math.pow(g,2)*r;return{stiffness:m,damping:f*2*Math.sqrt(r*m),duration:n}}}const tE=["duration","bounce"],eE=["stiffness","damping","mass"];function ey(n,i){return i.some(s=>n[s]!==void 0)}function nE(n){let i={velocity:Kt.velocity,stiffness:Kt.stiffness,damping:Kt.damping,mass:Kt.mass,isResolvedFromDuration:!1,...n};if(!ey(n,eE)&&ey(n,tE))if(i.velocity=0,n.visualDuration){const s=n.visualDuration,r=2*Math.PI/(s*1.2),u=r*r,d=2*ln(.05,1,1-(n.bounce||0))*Math.sqrt(u);i={...i,mass:Kt.mass,stiffness:u,damping:d}}else{const s=IT({...n,velocity:0});i={...i,...s,mass:Kt.mass},i.isResolvedFromDuration=!0}return i}function Wr(n=Kt.visualDuration,i=Kt.bounce){const s=typeof n!="object"?{visualDuration:n,keyframes:[0,1],bounce:i}:n;let{restSpeed:r,restDelta:u}=s;const d=s.keyframes[0],f=s.keyframes[s.keyframes.length-1],h={done:!1,value:d},{stiffness:g,damping:m,mass:y,duration:v,velocity:S,isResolvedFromDuration:T}=nE({...s,velocity:-Pe(s.velocity||0)}),M=S||0,j=m/(2*Math.sqrt(g*y)),N=f-d,D=Pe(Math.sqrt(g/y)),H=Math.abs(N)<5;r||(r=H?Kt.restSpeed.granular:Kt.restSpeed.default),u||(u=H?Kt.restDelta.granular:Kt.restDelta.default);let B,X,K,it,F,q;if(j<1)K=gf(D,j),it=(M+j*D*N)/K,B=tt=>{const mt=Math.exp(-j*D*tt);return f-mt*(it*Math.sin(K*tt)+N*Math.cos(K*tt))},F=j*D*it+N*K,q=j*D*N-it*K,X=tt=>Math.exp(-j*D*tt)*(F*Math.sin(K*tt)+q*Math.cos(K*tt));else if(j===1){B=mt=>f-Math.exp(-D*mt)*(N+(M+D*N)*mt);const tt=M+D*N;X=mt=>Math.exp(-D*mt)*(D*tt*mt-M)}else{const tt=D*Math.sqrt(j*j-1);B=Ot=>{const vt=Math.exp(-j*D*Ot),V=Math.min(tt*Ot,300);return f-vt*((M+j*D*N)*Math.sinh(V)+tt*N*Math.cosh(V))/tt};const mt=(M+j*D*N)/tt,gt=j*D*mt-N*tt,qt=j*D*N-mt*tt;X=Ot=>{const vt=Math.exp(-j*D*Ot),V=Math.min(tt*Ot,300);return vt*(gt*Math.sinh(V)+qt*Math.cosh(V))}}const W={calculatedDuration:T&&v||null,velocity:tt=>_e(X(tt)),next:tt=>{if(!T&&j<1){const gt=Math.exp(-j*D*tt),qt=Math.sin(K*tt),Ot=Math.cos(K*tt),vt=f-gt*(it*qt+N*Ot),V=_e(gt*(F*qt+q*Ot));return h.done=Math.abs(V)<=r&&Math.abs(f-vt)<=u,h.value=h.done?f:vt,h}const mt=B(tt);if(T)h.done=tt>=v;else{const gt=_e(X(tt));h.done=Math.abs(gt)<=r&&Math.abs(f-mt)<=u}return h.value=h.done?f:mt,h},toString:()=>{const tt=Math.min(rd(W),Jr),mt=Ev(gt=>W.next(tt*gt).value,tt,30);return tt+"ms "+mt},toTransition:()=>{}};return W}Wr.applyToOptions=n=>{const i=JT(n,100,Wr);return n.ease=i.ease,n.duration=_e(i.duration),n.type="keyframes",n};const aE=5;function Av(n,i,s){const r=Math.max(i-aE,0);return td(s-n(r),i-r)}function yf({keyframes:n,velocity:i=0,power:s=.8,timeConstant:r=325,bounceDamping:u=10,bounceStiffness:d=500,modifyTarget:f,min:h,max:g,restDelta:m=.5,restSpeed:y}){const v=n[0],S={done:!1,value:v},T=q=>h!==void 0&&q<h||g!==void 0&&q>g,M=q=>h===void 0?g:g===void 0||Math.abs(h-q)<Math.abs(g-q)?h:g;let j=s*i;const N=v+j,D=f===void 0?N:f(N);D!==N&&(j=D-v);const H=q=>-j*Math.exp(-q/r),B=q=>D+H(q),X=q=>{const W=H(q),tt=B(q);S.done=Math.abs(W)<=m,S.value=S.done?D:tt};let K,it;const F=q=>{T(S.value)&&(K=q,it=Wr({keyframes:[S.value,M(S.value)],velocity:Av(B,q,S.value),damping:u,stiffness:d,restDelta:m,restSpeed:y}))};return F(0),{calculatedDuration:null,next:q=>{let W=!1;return!it&&K===void 0&&(W=!0,X(q),F(q)),K!==void 0&&q>=K?it.next(q-K):(!W&&X(q),S)}}}function iE(n,i,s){const r=[],u=s||ya.mix||Tv,d=n.length-1;for(let f=0;f<d;f++){let h=u(n[f],n[f+1]);if(i){const g=Array.isArray(i)?i[f]||Ee:i;h=ss(g,h)}r.push(h)}return r}function od(n,i,{clamp:s=!0,ease:r,mixer:u}={}){const d=n.length;if(Il(d===i.length),d===1)return()=>i[0];if(d===2&&i[0]===i[1])return()=>i[1];const f=n[0]===n[1];n[0]>n[d-1]&&(n=[...n].reverse(),i=[...i].reverse());const h=iE(i,r,u),g=h.length,m=y=>{if(f&&y<n[0])return i[0];let v=0;if(g>1)for(;v<n.length-2&&!(y<n[v+1]);v++);const S=Ui(n[v],n[v+1],y);return h[v](S)};return s?y=>m(ln(n[0],n[d-1],y)):m}function lE(n,i){const s=n[n.length-1];for(let r=1;r<=i;r++){const u=Ui(0,i,r);n.push(Lt(s,1,u))}}function Cv(n){const i=[0];return lE(i,n.length-1),i}function sE(n,i){return n.map(s=>s*i)}function rE(n,i){return n.map(()=>i||hv).splice(0,n.length-1)}function Ql({duration:n=300,keyframes:i,times:s,ease:r="easeInOut"}){const u=yT(r)?r.map(Fg):Fg(r),d={done:!1,value:i[0]},f=sE(s&&s.length===i.length?s:Cv(i),n),h=od(f,i,{ease:Array.isArray(u)?u:rE(i,u)});return{calculatedDuration:n,next:g=>(d.value=h(g),d.done=g>=n,d)}}const oE=n=>n!==null;function fo(n,{repeat:i,repeatType:s="loop"},r,u=1){const d=n.filter(oE),h=u<0||i&&s!=="loop"&&i%2===1?0:d.length-1;return!h||r===void 0?d[h]:r}const uE={decay:yf,inertia:yf,tween:Ql,keyframes:Ql,spring:Wr};function Mv(n){typeof n.type=="string"&&(n.type=uE[n.type])}class ud{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(i=>{this.resolve=i})}notifyFinished(){this.resolve()}then(i,s){return this.finished.then(i,s)}}const cE=n=>n/100;class $r extends ud{constructor(i){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.delayState={done:!1,value:void 0},this.stop=()=>{var r,u;const{motionValue:s}=this.options;s&&s.updatedAt!==pe.now()&&this.tick(pe.now()),this.isStopped=!0,this.state!=="idle"&&(this.teardown(),(u=(r=this.options).onStop)==null||u.call(r))},this.options=i,this.initAnimation(),this.play(),i.autoplay===!1&&this.pause()}initAnimation(){const{options:i}=this;Mv(i);const{type:s=Ql,repeat:r=0,repeatDelay:u=0,repeatType:d,velocity:f=0}=i;let{keyframes:h}=i;const g=s||Ql;g!==Ql&&typeof h[0]!="number"&&(this.mixKeyframes=ss(cE,Tv(h[0],h[1])),h=[0,100]);const m=g({...i,keyframes:h});d==="mirror"&&(this.mirroredGenerator=g({...i,keyframes:[...h].reverse(),velocity:-f})),m.calculatedDuration===null&&(m.calculatedDuration=rd(m));const{calculatedDuration:y}=m;this.calculatedDuration=y,this.resolvedDuration=y+u,this.totalDuration=this.resolvedDuration*(r+1)-u,this.generator=m}updateTime(i){const s=Math.round(i-this.startTime)*this.playbackSpeed;this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=s}tick(i,s=!1){const{generator:r,totalDuration:u,mixKeyframes:d,mirroredGenerator:f,resolvedDuration:h,calculatedDuration:g}=this;if(this.startTime===null)return r.next(0);const{delay:m=0,keyframes:y,repeat:v,repeatType:S,repeatDelay:T,type:M,onUpdate:j,finalKeyframe:N}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,i):this.speed<0&&(this.startTime=Math.min(i-u/this.speed,this.startTime)),s?this.currentTime=i:this.updateTime(i);const D=this.currentTime-m*(this.playbackSpeed>=0?1:-1),H=this.playbackSpeed>=0?D<0:D>u;this.currentTime=Math.max(D,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=u);let B=this.currentTime,X=r;if(v){const q=Math.min(this.currentTime,u)/h;let W=Math.floor(q),tt=q%1;!tt&&q>=1&&(tt=1),tt===1&&W--,W=Math.min(W,v+1),!!(W%2)&&(S==="reverse"?(tt=1-tt,T&&(tt-=T/h)):S==="mirror"&&(X=f)),B=ln(0,1,tt)*h}let K;H?(this.delayState.value=y[0],K=this.delayState):K=X.next(B),d&&!H&&(K.value=d(K.value));let{done:it}=K;!H&&g!==null&&(it=this.playbackSpeed>=0?this.currentTime>=u:this.currentTime<=0);const F=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&it);return F&&M!==yf&&(K.value=fo(y,this.options,N,this.speed)),j&&j(K.value),F&&this.finish(),K}then(i,s){return this.finished.then(i,s)}get duration(){return Pe(this.calculatedDuration)}get iterationDuration(){const{delay:i=0}=this.options||{};return this.duration+Pe(i)}get time(){return Pe(this.currentTime)}set time(i){i=_e(i),this.currentTime=i,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0?this.holdTime=i:this.driver&&(this.startTime=this.driver.now()-i/this.playbackSpeed),this.driver?this.driver.start(!1):(this.startTime=0,this.state="paused",this.holdTime=i,this.tick(i))}getGeneratorVelocity(){const i=this.currentTime;if(i<=0)return this.options.velocity||0;if(this.generator.velocity)return this.generator.velocity(i);const s=this.generator.next(i).value;return Av(r=>this.generator.next(r).value,i,s)}get speed(){return this.playbackSpeed}set speed(i){const s=this.playbackSpeed!==i;s&&this.driver&&this.updateTime(pe.now()),this.playbackSpeed=i,s&&this.driver&&(this.time=Pe(this.currentTime))}play(){var u,d;if(this.isStopped)return;const{driver:i=FT,startTime:s}=this.options;this.driver||(this.driver=i(f=>this.tick(f))),(d=(u=this.options).onPlay)==null||d.call(u);const r=this.driver.now();this.state==="finished"?(this.updateFinished(),this.startTime=r):this.holdTime!==null?this.startTime=r-this.holdTime:this.startTime||(this.startTime=s??r),this.state==="finished"&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(pe.now()),this.holdTime=this.currentTime}complete(){this.state!=="running"&&this.play(),this.state="finished",this.holdTime=null}finish(){var i,s;this.notifyFinished(),this.teardown(),this.state="finished",(s=(i=this.options).onComplete)==null||s.call(i)}cancel(){var i,s;this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),(s=(i=this.options).onCancel)==null||s.call(i)}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(i){return this.startTime=0,this.tick(i,!0)}attachTimeline(i){var s;return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),(s=this.driver)==null||s.stop(),i.observe(this)}}function fE(n){for(let i=1;i<n.length;i++)n[i]??(n[i]=n[i-1])}const Ya=n=>n*180/Math.PI,vf=n=>{const i=Ya(Math.atan2(n[1],n[0]));return bf(i)},dE={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:n=>(Math.abs(n[0])+Math.abs(n[3]))/2,rotate:vf,rotateZ:vf,skewX:n=>Ya(Math.atan(n[1])),skewY:n=>Ya(Math.atan(n[2])),skew:n=>(Math.abs(n[1])+Math.abs(n[2]))/2},bf=n=>(n=n%360,n<0&&(n+=360),n),ny=vf,ay=n=>Math.sqrt(n[0]*n[0]+n[1]*n[1]),iy=n=>Math.sqrt(n[4]*n[4]+n[5]*n[5]),hE={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:ay,scaleY:iy,scale:n=>(ay(n)+iy(n))/2,rotateX:n=>bf(Ya(Math.atan2(n[6],n[5]))),rotateY:n=>bf(Ya(Math.atan2(-n[2],n[0]))),rotateZ:ny,rotate:ny,skewX:n=>Ya(Math.atan(n[4])),skewY:n=>Ya(Math.atan(n[1])),skew:n=>(Math.abs(n[1])+Math.abs(n[4]))/2};function xf(n){return n.includes("scale")?1:0}function Sf(n,i){if(!n||n==="none")return xf(i);const s=n.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let r,u;if(s)r=hE,u=s;else{const h=n.match(/^matrix\(([-\d.e\s,]+)\)$/u);r=dE,u=h}if(!u)return xf(i);const d=r[i],f=u[1].split(",").map(pE);return typeof d=="function"?d(f):f[d]}const mE=(n,i)=>{const{transform:s="none"}=getComputedStyle(n);return Sf(s,i)};function pE(n){return parseFloat(n.trim())}const Xi=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],Ki=new Set(Xi),ly=n=>n===Yi||n===nt,gE=new Set(["x","y","z"]),yE=Xi.filter(n=>!gE.has(n));function vE(n){const i=[];return yE.forEach(s=>{const r=n.getValue(s);r!==void 0&&(i.push([s,r.get()]),r.set(s.startsWith("scale")?1:0))}),i}const pa={width:({x:n},{paddingLeft:i="0",paddingRight:s="0",boxSizing:r})=>{const u=n.max-n.min;return r==="border-box"?u:u-parseFloat(i)-parseFloat(s)},height:({y:n},{paddingTop:i="0",paddingBottom:s="0",boxSizing:r})=>{const u=n.max-n.min;return r==="border-box"?u:u-parseFloat(i)-parseFloat(s)},top:(n,{top:i})=>parseFloat(i),left:(n,{left:i})=>parseFloat(i),bottom:({y:n},{top:i})=>parseFloat(i)+(n.max-n.min),right:({x:n},{left:i})=>parseFloat(i)+(n.max-n.min),x:(n,{transform:i})=>Sf(i,"x"),y:(n,{transform:i})=>Sf(i,"y")};pa.translateX=pa.x;pa.translateY=pa.y;const Xa=new Set;let wf=!1,Tf=!1,Ef=!1;function Rv(){if(Tf){const n=Array.from(Xa).filter(r=>r.needsMeasurement),i=new Set(n.map(r=>r.element)),s=new Map;i.forEach(r=>{const u=vE(r);u.length&&(s.set(r,u),r.render())}),n.forEach(r=>r.measureInitialState()),i.forEach(r=>{r.render();const u=s.get(r);u&&u.forEach(([d,f])=>{var h;(h=r.getValue(d))==null||h.set(f)})}),n.forEach(r=>r.measureEndState()),n.forEach(r=>{r.suspendedScrollY!==void 0&&window.scrollTo(0,r.suspendedScrollY)})}Tf=!1,wf=!1,Xa.forEach(n=>n.complete(Ef)),Xa.clear()}function Nv(){Xa.forEach(n=>{n.readKeyframes(),n.needsMeasurement&&(Tf=!0)})}function bE(){Ef=!0,Nv(),Rv(),Ef=!1}class cd{constructor(i,s,r,u,d,f=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...i],this.onComplete=s,this.name=r,this.motionValue=u,this.element=d,this.isAsync=f}scheduleResolve(){this.state="scheduled",this.isAsync?(Xa.add(this),wf||(wf=!0,At.read(Nv),At.resolveKeyframes(Rv))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:i,name:s,element:r,motionValue:u}=this;if(i[0]===null){const d=u==null?void 0:u.get(),f=i[i.length-1];if(d!==void 0)i[0]=d;else if(r&&s){const h=r.readValue(s,f);h!=null&&(i[0]=h)}i[0]===void 0&&(i[0]=f),u&&d===void 0&&u.set(i[0])}fE(i)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(i=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,i),Xa.delete(this)}cancel(){this.state==="scheduled"&&(Xa.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}}const xE=n=>n.startsWith("--");function jv(n,i,s){xE(i)?n.style.setProperty(i,s):n.style[i]=s}const SE={};function fd(n,i){const s=iv(n);return()=>SE[i]??s()}const dd=fd(()=>window.ScrollTimeline!==void 0,"scrollTimeline"),Dv=fd(()=>window.ViewTimeline!==void 0,"viewTimeline"),zv=fd(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),Yl=([n,i,s,r])=>`cubic-bezier(${n}, ${i}, ${s}, ${r})`,sy={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:Yl([0,.65,.55,1]),circOut:Yl([.55,0,1,.45]),backIn:Yl([.31,.01,.66,-.59]),backOut:Yl([.33,1.53,.69,.99])};function kv(n,i){if(n)return typeof n=="function"?zv()?Ev(n,i):"ease-out":mv(n)?Yl(n):Array.isArray(n)?n.map(s=>kv(s,i)||sy.easeOut):sy[n]}function wE(n,i,s,{delay:r=0,duration:u=300,repeat:d=0,repeatType:f="loop",ease:h="easeOut",times:g}={},m=void 0){const y={[i]:s};g&&(y.offset=g);const v=kv(h,u);Array.isArray(v)&&(y.easing=v);const S={delay:r,duration:u,easing:Array.isArray(v)?"linear":v,fill:"both",iterations:d+1,direction:f==="reverse"?"alternate":"normal"};return m&&(S.pseudoElement=m),n.animate(y,S)}function Ov(n){return typeof n=="function"&&"applyToOptions"in n}function TE({type:n,...i}){return Ov(n)&&zv()?n.applyToOptions(i):(i.duration??(i.duration=300),i.ease??(i.ease="easeOut"),i)}class Vv extends ud{constructor(i){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!i)return;const{element:s,name:r,keyframes:u,pseudoElement:d,allowFlatten:f=!1,finalKeyframe:h,onComplete:g}=i;this.isPseudoElement=!!d,this.allowFlatten=f,this.options=i,Il(typeof i.type!="string");const m=TE(i);this.animation=wE(s,r,u,m,d),m.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!d){const y=fo(u,this.options,h,this.speed);this.updateMotionValue&&this.updateMotionValue(y),jv(s,r,y),this.animation.cancel()}g==null||g(),this.notifyFinished()}}play(){this.isStopped||(this.manualStartTime=null,this.animation.play(),this.state==="finished"&&this.updateFinished())}pause(){this.animation.pause()}complete(){var i,s;(s=(i=this.animation).finish)==null||s.call(i)}cancel(){try{this.animation.cancel()}catch{}}stop(){if(this.isStopped)return;this.isStopped=!0;const{state:i}=this;i==="idle"||i==="finished"||(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){var s,r,u;const i=(s=this.options)==null?void 0:s.element;!this.isPseudoElement&&(i!=null&&i.isConnected)&&((u=(r=this.animation).commitStyles)==null||u.call(r))}get duration(){var s,r;const i=((r=(s=this.animation.effect)==null?void 0:s.getComputedTiming)==null?void 0:r.call(s).duration)||0;return Pe(Number(i))}get iterationDuration(){const{delay:i=0}=this.options||{};return this.duration+Pe(i)}get time(){return Pe(Number(this.animation.currentTime)||0)}set time(i){const s=this.finishedTime!==null;this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=_e(i),s&&this.animation.pause()}get speed(){return this.animation.playbackRate}set speed(i){i<0&&(this.finishedTime=null),this.animation.playbackRate=i}get state(){return this.finishedTime!==null?"finished":this.animation.playState}get startTime(){return this.manualStartTime??Number(this.animation.startTime)}set startTime(i){this.manualStartTime=this.animation.startTime=i}attachTimeline({timeline:i,rangeStart:s,rangeEnd:r,observe:u}){var d;return this.allowFlatten&&((d=this.animation.effect)==null||d.updateTiming({easing:"linear"})),this.animation.onfinish=null,i&&dd()?(this.animation.timeline=i,s&&(this.animation.rangeStart=s),r&&(this.animation.rangeEnd=r),Ee):u(this)}}const _v={anticipate:cv,backInOut:uv,circInOut:dv};function EE(n){return n in _v}function AE(n){typeof n.ease=="string"&&EE(n.ease)&&(n.ease=_v[n.ease])}const Pc=10;class CE extends Vv{constructor(i){AE(i),Mv(i),super(i),i.startTime!==void 0&&i.autoplay!==!1&&(this.startTime=i.startTime),this.options=i}updateMotionValue(i){const{motionValue:s,onUpdate:r,onComplete:u,element:d,...f}=this.options;if(!s)return;if(i!==void 0){s.set(i);return}const h=new $r({...f,autoplay:!1}),g=Math.max(Pc,pe.now()-this.startTime),m=ln(0,Pc,g-Pc),y=h.sample(g).value,{name:v}=this.options;d&&v&&jv(d,v,y),s.setWithVelocity(h.sample(Math.max(0,g-m)).value,y,m),h.stop()}}const ry=(n,i)=>i==="zIndex"?!1:!!(typeof n=="number"||Array.isArray(n)||typeof n=="string"&&(an.test(n)||n==="0")&&!n.startsWith("url("));function ME(n){const i=n[0];if(n.length===1)return!0;for(let s=0;s<n.length;s++)if(n[s]!==i)return!0}function RE(n,i,s,r){const u=n[0];if(u===null)return!1;if(i==="display"||i==="visibility")return!0;const d=n[n.length-1],f=ry(u,i),h=ry(d,i);return!f||!h?!1:ME(n)||(s==="spring"||Ov(s))&&r}function Af(n){n.duration=0,n.type="keyframes"}const Bv=new Set(["opacity","clipPath","filter","transform"]),NE=/^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/;function jE(n){for(let i=0;i<n.length;i++)if(typeof n[i]=="string"&&NE.test(n[i]))return!0;return!1}const DE=new Set(["color","backgroundColor","outlineColor","fill","stroke","borderColor","borderTopColor","borderRightColor","borderBottomColor","borderLeftColor"]),zE=iv(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function kE(n){var v;const{motionValue:i,name:s,repeatDelay:r,repeatType:u,damping:d,type:f,keyframes:h}=n;if(!(((v=i==null?void 0:i.owner)==null?void 0:v.current)instanceof HTMLElement))return!1;const{onUpdate:m,transformTemplate:y}=i.owner.getProps();return zE()&&s&&(Bv.has(s)||DE.has(s)&&jE(h))&&(s!=="transform"||!y)&&!m&&!r&&u!=="mirror"&&d!==0&&f!=="inertia"}const OE=40;class VE extends ud{constructor({autoplay:i=!0,delay:s=0,type:r="keyframes",repeat:u=0,repeatDelay:d=0,repeatType:f="loop",keyframes:h,name:g,motionValue:m,element:y,...v}){var M;super(),this.stop=()=>{var j,N;this._animation&&(this._animation.stop(),(j=this.stopTimeline)==null||j.call(this)),(N=this.keyframeResolver)==null||N.cancel()},this.createdAt=pe.now();const S={autoplay:i,delay:s,type:r,repeat:u,repeatDelay:d,repeatType:f,name:g,motionValue:m,element:y,...v},T=(y==null?void 0:y.KeyframeResolver)||cd;this.keyframeResolver=new T(h,(j,N,D)=>this.onKeyframesResolved(j,N,S,!D),g,m,y),(M=this.keyframeResolver)==null||M.scheduleResolve()}onKeyframesResolved(i,s,r,u){var D,H;this.keyframeResolver=void 0;const{name:d,type:f,velocity:h,delay:g,isHandoff:m,onUpdate:y}=r;this.resolvedAt=pe.now();let v=!0;RE(i,d,f,h)||(v=!1,(ya.instantAnimations||!g)&&(y==null||y(fo(i,r,s))),i[0]=i[i.length-1],Af(r),r.repeat=0);const T={startTime:u?this.resolvedAt?this.resolvedAt-this.createdAt>OE?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:s,...r,keyframes:i},M=v&&!m&&kE(T),j=(H=(D=T.motionValue)==null?void 0:D.owner)==null?void 0:H.current;let N;if(M)try{N=new CE({...T,element:j})}catch{N=new $r(T)}else N=new $r(T);N.finished.then(()=>{this.notifyFinished()}).catch(Ee),this.pendingTimeline&&(this.stopTimeline=N.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=N}get finished(){return this._animation?this.animation.finished:this._finished}then(i,s){return this.finished.finally(i).then(()=>{})}get animation(){var i;return this._animation||((i=this.keyframeResolver)==null||i.resume(),bE()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(i){this.animation.time=i}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(i){this.animation.speed=i}get startTime(){return this.animation.startTime}attachTimeline(i){return this._animation?this.stopTimeline=this.animation.attachTimeline(i):this.pendingTimeline=i,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){var i;this._animation&&this.animation.cancel(),(i=this.keyframeResolver)==null||i.cancel()}}function Lv(n,i,s,r=0,u=1){const d=Array.from(n).sort((m,y)=>m.sortNodePosition(y)).indexOf(i),f=n.size,h=(f-1)*r;return typeof s=="function"?s(d,f):u===1?d*r:h-d*r}const _E=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function BE(n){const i=_E.exec(n);if(!i)return[,];const[,s,r,u]=i;return[`--${s??r}`,u]}function Uv(n,i,s=1){const[r,u]=BE(n);if(!r)return;const d=window.getComputedStyle(i).getPropertyValue(r);if(d){const f=d.trim();return ev(f)?parseFloat(f):f}return ad(u)?Uv(u,i,s+1):u}const LE={type:"spring",stiffness:500,damping:25,restSpeed:10},UE=n=>({type:"spring",stiffness:550,damping:n===0?2*Math.sqrt(550):30,restSpeed:10}),HE={type:"keyframes",duration:.8},qE={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},GE=(n,{keyframes:i})=>i.length>2?HE:Ki.has(n)?n.startsWith("scale")?UE(i[1]):LE:qE;function Hv(n,i){if(n!=null&&n.inherit&&i){const{inherit:s,...r}=n;return{...i,...r}}return n}function hd(n,i){const s=(n==null?void 0:n[i])??(n==null?void 0:n.default)??n;return s!==n?Hv(s,n):s}const YE=new Set(["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from","elapsed"]);function XE(n){for(const i in n)if(!YE.has(i))return!0;return!1}const md=(n,i,s,r={},u,d)=>f=>{const h=hd(r,n)||{},g=h.delay||r.delay||0;let{elapsed:m=0}=r;m=m-_e(g);const y={keyframes:Array.isArray(s)?s:[null,s],ease:"easeOut",velocity:i.getVelocity(),...h,delay:-m,onUpdate:S=>{i.set(S),h.onUpdate&&h.onUpdate(S)},onComplete:()=>{f(),h.onComplete&&h.onComplete()},name:n,motionValue:i,element:d?void 0:u};XE(h)||Object.assign(y,GE(n,y)),y.duration&&(y.duration=_e(y.duration)),y.repeatDelay&&(y.repeatDelay=_e(y.repeatDelay)),y.from!==void 0&&(y.keyframes[0]=y.from);let v=!1;if((y.type===!1||y.duration===0&&!y.repeatDelay)&&(Af(y),y.delay===0&&(v=!0)),(ya.instantAnimations||ya.skipAnimations||u!=null&&u.shouldSkipAnimations)&&(v=!0,Af(y),y.delay=0),y.allowFlatten=!h.type&&!h.ease,v&&!d&&i.get()!==void 0){const S=fo(y.keyframes,h);if(S!==void 0){At.update(()=>{y.onUpdate(S),y.onComplete()});return}}return h.isSync?new $r(y):new VE(y)};function oy(n){const i=[{},{}];return n==null||n.values.forEach((s,r)=>{i[0][r]=s.get(),i[1][r]=s.getVelocity()}),i}function pd(n,i,s,r){if(typeof i=="function"){const[u,d]=oy(r);i=i(s!==void 0?s:n.custom,u,d)}if(typeof i=="string"&&(i=n.variants&&n.variants[i]),typeof i=="function"){const[u,d]=oy(r);i=i(s!==void 0?s:n.custom,u,d)}return i}function Ka(n,i,s){const r=n.getProps();return pd(r,i,s!==void 0?s:r.custom,n)}const qv=new Set(["width","height","top","left","right","bottom",...Xi]),uy=30,KE=n=>!isNaN(parseFloat(n)),Zl={current:void 0};class QE{constructor(i,s={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=r=>{var d;const u=pe.now();if(this.updatedAt!==u&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(r),this.current!==this.prev&&((d=this.events.change)==null||d.notify(this.current),this.dependents))for(const f of this.dependents)f.dirty()},this.hasAnimated=!1,this.setCurrent(i),this.owner=s.owner}setCurrent(i){this.current=i,this.updatedAt=pe.now(),this.canTrackVelocity===null&&i!==void 0&&(this.canTrackVelocity=KE(this.current))}setPrevFrameValue(i=this.current){this.prevFrameValue=i,this.prevUpdatedAt=this.updatedAt}onChange(i){return this.on("change",i)}on(i,s){this.events[i]||(this.events[i]=new If);const r=this.events[i].add(s);return i==="change"?()=>{r(),At.read(()=>{this.events.change.getSize()||this.stop()})}:r}clearListeners(){for(const i in this.events)this.events[i].clear()}attach(i,s){this.passiveEffect=i,this.stopPassiveEffect=s}set(i){this.passiveEffect?this.passiveEffect(i,this.updateAndNotify):this.updateAndNotify(i)}setWithVelocity(i,s,r){this.set(s),this.prev=void 0,this.prevFrameValue=i,this.prevUpdatedAt=this.updatedAt-r}jump(i,s=!0){this.updateAndNotify(i),this.prev=i,this.prevUpdatedAt=this.prevFrameValue=void 0,s&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){var i;(i=this.events.change)==null||i.notify(this.current)}addDependent(i){this.dependents||(this.dependents=new Set),this.dependents.add(i)}removeDependent(i){this.dependents&&this.dependents.delete(i)}get(){return Zl.current&&Zl.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){const i=pe.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||i-this.updatedAt>uy)return 0;const s=Math.min(this.updatedAt-this.prevUpdatedAt,uy);return td(parseFloat(this.current)-parseFloat(this.prevFrameValue),s)}start(i){return this.stop(),new Promise(s=>{this.hasAnimated=!0,this.animation=i(s),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){var i,s;(i=this.dependents)==null||i.clear(),(s=this.events.destroy)==null||s.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function nn(n,i){return new QE(n,i)}const Cf=n=>Array.isArray(n);function ZE(n,i,s){n.hasValue(i)?n.getValue(i).set(s):n.addValue(i,nn(s))}function PE(n){return Cf(n)?n[n.length-1]||0:n}function FE(n,i){const s=Ka(n,i);let{transitionEnd:r={},transition:u={},...d}=s||{};d={...d,...r};for(const f in d){const h=PE(d[f]);ZE(n,f,h)}}const de=n=>!!(n&&n.getVelocity);function JE(n){return!!(de(n)&&n.add)}function Mf(n,i){const s=n.getValue("willChange");if(JE(s))return s.add(i);if(!s&&ya.WillChange){const r=new ya.WillChange("auto");n.addValue("willChange",r),r.add(i)}}function gd(n){return n.replace(/([A-Z])/g,i=>`-${i.toLowerCase()}`)}const WE="framerAppearId",Gv="data-"+gd(WE);function Yv(n){return n.props[Gv]}function $E({protectedKeys:n,needsAnimating:i},s){const r=n.hasOwnProperty(s)&&i[s]!==!0;return i[s]=!1,r}function Xv(n,i,{delay:s=0,transitionOverride:r,type:u}={}){let{transition:d,transitionEnd:f,...h}=i;const g=n.getDefaultTransition();d=d?Hv(d,g):g;const m=d==null?void 0:d.reduceMotion;r&&(d=r);const y=[],v=u&&n.animationState&&n.animationState.getState()[u];for(const S in h){const T=n.getValue(S,n.latestValues[S]??null),M=h[S];if(M===void 0||v&&$E(v,S))continue;const j={delay:s,...hd(d||{},S)},N=T.get();if(N!==void 0&&!T.isAnimating()&&!Array.isArray(M)&&M===N&&!j.velocity){At.update(()=>T.set(M));continue}let D=!1;if(window.MotionHandoffAnimation){const X=Yv(n);if(X){const K=window.MotionHandoffAnimation(X,S,At);K!==null&&(j.startTime=K,D=!0)}}Mf(n,S);const H=m??n.shouldReduceMotion;T.start(md(S,T,M,H&&qv.has(S)?{type:!1}:j,n,D));const B=T.animation;B&&y.push(B)}if(f){const S=()=>At.update(()=>{f&&FE(n,f)});y.length?Promise.all(y).then(S):S()}return y}function Rf(n,i,s={}){var g;const r=Ka(n,i,s.type==="exit"?(g=n.presenceContext)==null?void 0:g.custom:void 0);let{transition:u=n.getDefaultTransition()||{}}=r||{};s.transitionOverride&&(u=s.transitionOverride);const d=r?()=>Promise.all(Xv(n,r,s)):()=>Promise.resolve(),f=n.variantChildren&&n.variantChildren.size?(m=0)=>{const{delayChildren:y=0,staggerChildren:v,staggerDirection:S}=u;return IE(n,i,m,y,v,S,s)}:()=>Promise.resolve(),{when:h}=u;if(h){const[m,y]=h==="beforeChildren"?[d,f]:[f,d];return m().then(()=>y())}else return Promise.all([d(),f(s.delay)])}function IE(n,i,s=0,r=0,u=0,d=1,f){const h=[];for(const g of n.variantChildren)g.notify("AnimationStart",i),h.push(Rf(g,i,{...f,delay:s+(typeof r=="function"?0:r)+Lv(n.variantChildren,g,r,u,d)}).then(()=>g.notify("AnimationComplete",i)));return Promise.all(h)}function tA(n,i,s={}){n.notify("AnimationStart",i);let r;if(Array.isArray(i)){const u=i.map(d=>Rf(n,d,s));r=Promise.all(u)}else if(typeof i=="string")r=Rf(n,i,s);else{const u=typeof i=="function"?Ka(n,i,s.custom):i;r=Promise.all(Xv(n,u,s))}return r.then(()=>{n.notify("AnimationComplete",i)})}const eA={test:n=>n==="auto",parse:n=>n},Kv=n=>i=>i.test(n),Qv=[Yi,nt,hn,ha,jT,NT,eA],cy=n=>Qv.find(Kv(n));function nA(n){return typeof n=="number"?n===0:n!==null?n==="none"||n==="0"||av(n):!0}const aA=new Set(["brightness","contrast","saturate","opacity"]);function iA(n){const[i,s]=n.slice(0,-1).split("(");if(i==="drop-shadow")return n;const[r]=s.match(id)||[];if(!r)return n;const u=s.replace(r,"");let d=aA.has(i)?1:0;return r!==s&&(d*=100),i+"("+d+u+")"}const lA=/\b([a-z-]*)\(.*?\)/gu,Nf={...an,getAnimatableNone:n=>{const i=n.match(lA);return i?i.map(iA).join(" "):n}},jf={...an,getAnimatableNone:n=>{const i=an.parse(n);return an.createTransformer(n)(i.map(r=>typeof r=="number"?0:typeof r=="object"?{...r,alpha:1}:r))}},fy={...Yi,transform:Math.round},sA={rotate:ha,rotateX:ha,rotateY:ha,rotateZ:ha,scale:Nr,scaleX:Nr,scaleY:Nr,scaleZ:Nr,skew:ha,skewX:ha,skewY:ha,distance:nt,translateX:nt,translateY:nt,translateZ:nt,x:nt,y:nt,z:nt,perspective:nt,transformPerspective:nt,opacity:ts,originX:Wg,originY:Wg,originZ:nt},yd={borderWidth:nt,borderTopWidth:nt,borderRightWidth:nt,borderBottomWidth:nt,borderLeftWidth:nt,borderRadius:nt,borderTopLeftRadius:nt,borderTopRightRadius:nt,borderBottomRightRadius:nt,borderBottomLeftRadius:nt,width:nt,maxWidth:nt,height:nt,maxHeight:nt,top:nt,right:nt,bottom:nt,left:nt,inset:nt,insetBlock:nt,insetBlockStart:nt,insetBlockEnd:nt,insetInline:nt,insetInlineStart:nt,insetInlineEnd:nt,padding:nt,paddingTop:nt,paddingRight:nt,paddingBottom:nt,paddingLeft:nt,paddingBlock:nt,paddingBlockStart:nt,paddingBlockEnd:nt,paddingInline:nt,paddingInlineStart:nt,paddingInlineEnd:nt,margin:nt,marginTop:nt,marginRight:nt,marginBottom:nt,marginLeft:nt,marginBlock:nt,marginBlockStart:nt,marginBlockEnd:nt,marginInline:nt,marginInlineStart:nt,marginInlineEnd:nt,fontSize:nt,backgroundPositionX:nt,backgroundPositionY:nt,...sA,zIndex:fy,fillOpacity:ts,strokeOpacity:ts,numOctaves:fy},rA={...yd,color:$t,backgroundColor:$t,outlineColor:$t,fill:$t,stroke:$t,borderColor:$t,borderTopColor:$t,borderRightColor:$t,borderBottomColor:$t,borderLeftColor:$t,filter:Nf,WebkitFilter:Nf,mask:jf,WebkitMask:jf},Zv=n=>rA[n],oA=new Set([Nf,jf]);function Pv(n,i){let s=Zv(n);return oA.has(s)||(s=an),s.getAnimatableNone?s.getAnimatableNone(i):void 0}const uA=new Set(["auto","none","0"]);function cA(n,i,s){let r=0,u;for(;r<n.length&&!u;){const d=n[r];typeof d=="string"&&!uA.has(d)&&Hi(d).values.length&&(u=n[r]),r++}if(u&&s)for(const d of i)n[d]=Pv(s,u)}class fA extends cd{constructor(i,s,r,u,d){super(i,s,r,u,d,!0)}readKeyframes(){const{unresolvedKeyframes:i,element:s,name:r}=this;if(!s||!s.current)return;super.readKeyframes();for(let y=0;y<i.length;y++){let v=i[y];if(typeof v=="string"&&(v=v.trim(),ad(v))){const S=Uv(v,s.current);S!==void 0&&(i[y]=S),y===i.length-1&&(this.finalKeyframe=v)}}if(this.resolveNoneKeyframes(),!qv.has(r)||i.length!==2)return;const[u,d]=i,f=cy(u),h=cy(d),g=Jg(u),m=Jg(d);if(g!==m&&pa[r]){this.needsMeasurement=!0;return}if(f!==h)if(ly(f)&&ly(h))for(let y=0;y<i.length;y++){const v=i[y];typeof v=="string"&&(i[y]=parseFloat(v))}else pa[r]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:i,name:s}=this,r=[];for(let u=0;u<i.length;u++)(i[u]===null||nA(i[u]))&&r.push(u);r.length&&cA(i,r,s)}measureInitialState(){const{element:i,unresolvedKeyframes:s,name:r}=this;if(!i||!i.current)return;r==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=pa[r](i.measureViewportBox(),window.getComputedStyle(i.current)),s[0]=this.measuredOrigin;const u=s[s.length-1];u!==void 0&&i.getValue(r,u).jump(u,!1)}measureEndState(){var h;const{element:i,name:s,unresolvedKeyframes:r}=this;if(!i||!i.current)return;const u=i.getValue(s);u&&u.jump(this.measuredOrigin,!1);const d=r.length-1,f=r[d];r[d]=pa[s](i.measureViewportBox(),window.getComputedStyle(i.current)),f!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=f),(h=this.removedTransforms)!=null&&h.length&&this.removedTransforms.forEach(([g,m])=>{i.getValue(g).set(m)}),this.resolveNoneKeyframes()}}function Fv(n,i,s){if(n==null)return[];if(n instanceof EventTarget)return[n];if(typeof n=="string"){const u=document.querySelectorAll(n);return u?Array.from(u):[]}return Array.from(n).filter(r=>r!=null)}const Jv=(n,i)=>i&&typeof n=="number"?i.transform(n):n;function Pl(n){return nv(n)&&"offsetHeight"in n&&!("ownerSVGElement"in n)}const{schedule:vd}=pv(queueMicrotask,!1),en={x:!1,y:!1};function Wv(){return en.x||en.y}function dA(n){return n==="x"||n==="y"?en[n]?null:(en[n]=!0,()=>{en[n]=!1}):en.x||en.y?null:(en.x=en.y=!0,()=>{en.x=en.y=!1})}function $v(n,i){const s=Fv(n),r=new AbortController,u={passive:!0,...i,signal:r.signal};return[s,u,()=>r.abort()]}function hA(n){return!(n.pointerType==="touch"||Wv())}function mA(n,i,s={}){const[r,u,d]=$v(n,s);return r.forEach(f=>{let h=!1,g=!1,m;const y=()=>{f.removeEventListener("pointerleave",M)},v=N=>{m&&(m(N),m=void 0),y()},S=N=>{h=!1,window.removeEventListener("pointerup",S),window.removeEventListener("pointercancel",S),g&&(g=!1,v(N))},T=()=>{h=!0,window.addEventListener("pointerup",S,u),window.addEventListener("pointercancel",S,u)},M=N=>{if(N.pointerType!=="touch"){if(h){g=!0;return}v(N)}},j=N=>{if(!hA(N))return;g=!1;const D=i(f,N);typeof D=="function"&&(m=D,f.addEventListener("pointerleave",M,u))};f.addEventListener("pointerenter",j,u),f.addEventListener("pointerdown",T,u)}),d}const Iv=(n,i)=>i?n===i?!0:Iv(n,i.parentElement):!1,bd=n=>n.pointerType==="mouse"?typeof n.button!="number"||n.button<=0:n.isPrimary!==!1,pA=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function gA(n){return pA.has(n.tagName)||n.isContentEditable===!0}const yA=new Set(["INPUT","SELECT","TEXTAREA"]);function vA(n){return yA.has(n.tagName)||n.isContentEditable===!0}const Hr=new WeakSet;function dy(n){return i=>{i.key==="Enter"&&n(i)}}function Fc(n,i){n.dispatchEvent(new PointerEvent("pointer"+i,{isPrimary:!0,bubbles:!0}))}const bA=(n,i)=>{const s=n.currentTarget;if(!s)return;const r=dy(()=>{if(Hr.has(s))return;Fc(s,"down");const u=dy(()=>{Fc(s,"up")}),d=()=>Fc(s,"cancel");s.addEventListener("keyup",u,i),s.addEventListener("blur",d,i)});s.addEventListener("keydown",r,i),s.addEventListener("blur",()=>s.removeEventListener("keydown",r),i)};function hy(n){return bd(n)&&!Wv()}const my=new WeakSet;function xA(n,i,s={}){const[r,u,d]=$v(n,s),f=h=>{const g=h.currentTarget;if(!hy(h)||my.has(h))return;Hr.add(g),s.stopPropagation&&my.add(h);const m=i(g,h),y=(T,M)=>{window.removeEventListener("pointerup",v),window.removeEventListener("pointercancel",S),Hr.has(g)&&Hr.delete(g),hy(T)&&typeof m=="function"&&m(T,{success:M})},v=T=>{y(T,g===window||g===document||s.useGlobalTarget||Iv(g,T.target))},S=T=>{y(T,!1)};window.addEventListener("pointerup",v,u),window.addEventListener("pointercancel",S,u)};return r.forEach(h=>{(s.useGlobalTarget?window:h).addEventListener("pointerdown",f,u),Pl(h)&&(h.addEventListener("focus",m=>bA(m,u)),!gA(h)&&!h.hasAttribute("tabindex")&&(h.tabIndex=0))}),d}function xd(n){return nv(n)&&"ownerSVGElement"in n}const qr=new WeakMap;let ma;const tb=(n,i,s)=>(r,u)=>u&&u[0]?u[0][n+"Size"]:xd(r)&&"getBBox"in r?r.getBBox()[i]:r[s],SA=tb("inline","width","offsetWidth"),wA=tb("block","height","offsetHeight");function TA({target:n,borderBoxSize:i}){var s;(s=qr.get(n))==null||s.forEach(r=>{r(n,{get width(){return SA(n,i)},get height(){return wA(n,i)}})})}function EA(n){n.forEach(TA)}function AA(){typeof ResizeObserver>"u"||(ma=new ResizeObserver(EA))}function CA(n,i){ma||AA();const s=Fv(n);return s.forEach(r=>{let u=qr.get(r);u||(u=new Set,qr.set(r,u)),u.add(i),ma==null||ma.observe(r)}),()=>{s.forEach(r=>{const u=qr.get(r);u==null||u.delete(i),u!=null&&u.size||ma==null||ma.unobserve(r)})}}const Gr=new Set;let _i;function MA(){_i=()=>{const n={get width(){return window.innerWidth},get height(){return window.innerHeight}};Gr.forEach(i=>i(n))},window.addEventListener("resize",_i)}function RA(n){return Gr.add(n),_i||MA(),()=>{Gr.delete(n),!Gr.size&&typeof _i=="function"&&(window.removeEventListener("resize",_i),_i=void 0)}}function Df(n,i){return typeof n=="function"?RA(n):CA(n,i)}function eb(n,i){let s;const r=()=>{const{currentTime:u}=i,f=(u===null?0:u.value)/100;s!==f&&n(f),s=f};return At.preUpdate(r,!0),()=>Fe(r)}function NA(n){return xd(n)&&n.tagName==="svg"}function jA(...n){const i=!Array.isArray(n[0]),s=i?0:-1,r=n[0+s],u=n[1+s],d=n[2+s],f=n[3+s],h=od(u,d,f);return i?h(r):h}const DA=[...Qv,$t,an],zA=n=>DA.find(Kv(n)),py=()=>({translate:0,scale:1,origin:0,originPoint:0}),Bi=()=>({x:py(),y:py()}),gy=()=>({min:0,max:0}),ee=()=>({x:gy(),y:gy()}),kA=new WeakMap;function ho(n){return n!==null&&typeof n=="object"&&typeof n.start=="function"}function es(n){return typeof n=="string"||Array.isArray(n)}const Sd=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],wd=["initial",...Sd];function mo(n){return ho(n.animate)||wd.some(i=>es(n[i]))}function nb(n){return!!(mo(n)||n.variants)}function OA(n,i,s){for(const r in i){const u=i[r],d=s[r];if(de(u))n.addValue(r,u);else if(de(d))n.addValue(r,nn(u,{owner:n}));else if(d!==u)if(n.hasValue(r)){const f=n.getValue(r);f.liveStyle===!0?f.jump(u):f.hasAnimated||f.set(u)}else{const f=n.getStaticValue(r);n.addValue(r,nn(f!==void 0?f:u,{owner:n}))}}for(const r in s)i[r]===void 0&&n.removeValue(r);return i}const zf={current:null},ab={current:!1},VA=typeof window<"u";function _A(){if(ab.current=!0,!!VA)if(window.matchMedia){const n=window.matchMedia("(prefers-reduced-motion)"),i=()=>zf.current=n.matches;n.addEventListener("change",i),i()}else zf.current=!1}const yy=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];let Ir={};function ib(n){Ir=n}function BA(){return Ir}class LA{scrapeMotionValuesFromProps(i,s,r){return{}}constructor({parent:i,props:s,presenceContext:r,reducedMotionConfig:u,skipAnimations:d,blockInitialAnimation:f,visualState:h},g={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.shouldSkipAnimations=!1,this.values=new Map,this.KeyframeResolver=cd,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.hasBeenMounted=!1,this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{const T=pe.now();this.renderScheduledAt<T&&(this.renderScheduledAt=T,At.render(this.render,!1,!0))};const{latestValues:m,renderState:y}=h;this.latestValues=m,this.baseTarget={...m},this.initialValues=s.initial?{...m}:{},this.renderState=y,this.parent=i,this.props=s,this.presenceContext=r,this.depth=i?i.depth+1:0,this.reducedMotionConfig=u,this.skipAnimationsConfig=d,this.options=g,this.blockInitialAnimation=!!f,this.isControllingVariants=mo(s),this.isVariantNode=nb(s),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(i&&i.current);const{willChange:v,...S}=this.scrapeMotionValuesFromProps(s,{},this);for(const T in S){const M=S[T];m[T]!==void 0&&de(M)&&M.set(m[T])}}mount(i){var s,r;if(this.hasBeenMounted)for(const u in this.initialValues)(s=this.values.get(u))==null||s.jump(this.initialValues[u]),this.latestValues[u]=this.initialValues[u];this.current=i,kA.set(i,this),this.projection&&!this.projection.instance&&this.projection.mount(i),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((u,d)=>this.bindToMotionValue(d,u)),this.reducedMotionConfig==="never"?this.shouldReduceMotion=!1:this.reducedMotionConfig==="always"?this.shouldReduceMotion=!0:(ab.current||_A(),this.shouldReduceMotion=zf.current),this.shouldSkipAnimations=this.skipAnimationsConfig??!1,(r=this.parent)==null||r.addChild(this),this.update(this.props,this.presenceContext),this.hasBeenMounted=!0}unmount(){var i;this.projection&&this.projection.unmount(),Fe(this.notifyUpdate),Fe(this.render),this.valueSubscriptions.forEach(s=>s()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),(i=this.parent)==null||i.removeChild(this);for(const s in this.events)this.events[s].clear();for(const s in this.features){const r=this.features[s];r&&(r.unmount(),r.isMounted=!1)}this.current=null}addChild(i){this.children.add(i),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(i)}removeChild(i){this.children.delete(i),this.enteringChildren&&this.enteringChildren.delete(i)}bindToMotionValue(i,s){if(this.valueSubscriptions.has(i)&&this.valueSubscriptions.get(i)(),s.accelerate&&Bv.has(i)&&this.current instanceof HTMLElement){const{factory:f,keyframes:h,times:g,ease:m,duration:y}=s.accelerate,v=new Vv({element:this.current,name:i,keyframes:h,times:g,ease:m,duration:_e(y)}),S=f(v);this.valueSubscriptions.set(i,()=>{S(),v.cancel()});return}const r=Ki.has(i);r&&this.onBindTransform&&this.onBindTransform();const u=s.on("change",f=>{this.latestValues[i]=f,this.props.onUpdate&&At.preRender(this.notifyUpdate),r&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});let d;typeof window<"u"&&window.MotionCheckAppearSync&&(d=window.MotionCheckAppearSync(this,i,s)),this.valueSubscriptions.set(i,()=>{u(),d&&d(),s.owner&&s.stop()})}sortNodePosition(i){return!this.current||!this.sortInstanceNodePosition||this.type!==i.type?0:this.sortInstanceNodePosition(this.current,i.current)}updateFeatures(){let i="animation";for(i in Ir){const s=Ir[i];if(!s)continue;const{isEnabled:r,Feature:u}=s;if(!this.features[i]&&u&&r(this.props)&&(this.features[i]=new u(this)),this.features[i]){const d=this.features[i];d.isMounted?d.update():(d.mount(),d.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):ee()}getStaticValue(i){return this.latestValues[i]}setStaticValue(i,s){this.latestValues[i]=s}update(i,s){(i.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=i,this.prevPresenceContext=this.presenceContext,this.presenceContext=s;for(let r=0;r<yy.length;r++){const u=yy[r];this.propEventSubscriptions[u]&&(this.propEventSubscriptions[u](),delete this.propEventSubscriptions[u]);const d="on"+u,f=i[d];f&&(this.propEventSubscriptions[u]=this.on(u,f))}this.prevMotionValues=OA(this,this.scrapeMotionValuesFromProps(i,this.prevProps||{},this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(i){return this.props.variants?this.props.variants[i]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(i){const s=this.getClosestVariantNode();if(s)return s.variantChildren&&s.variantChildren.add(i),()=>s.variantChildren.delete(i)}addValue(i,s){const r=this.values.get(i);s!==r&&(r&&this.removeValue(i),this.bindToMotionValue(i,s),this.values.set(i,s),this.latestValues[i]=s.get())}removeValue(i){this.values.delete(i);const s=this.valueSubscriptions.get(i);s&&(s(),this.valueSubscriptions.delete(i)),delete this.latestValues[i],this.removeValueFromRenderState(i,this.renderState)}hasValue(i){return this.values.has(i)}getValue(i,s){if(this.props.values&&this.props.values[i])return this.props.values[i];let r=this.values.get(i);return r===void 0&&s!==void 0&&(r=nn(s===null?void 0:s,{owner:this}),this.addValue(i,r)),r}readValue(i,s){let r=this.latestValues[i]!==void 0||!this.current?this.latestValues[i]:this.getBaseTargetFromProps(this.props,i)??this.readValueFromInstance(this.current,i,this.options);return r!=null&&(typeof r=="string"&&(ev(r)||av(r))?r=parseFloat(r):!zA(r)&&an.test(s)&&(r=Pv(i,s)),this.setBaseTarget(i,de(r)?r.get():r)),de(r)?r.get():r}setBaseTarget(i,s){this.baseTarget[i]=s}getBaseTarget(i){var d;const{initial:s}=this.props;let r;if(typeof s=="string"||typeof s=="object"){const f=pd(this.props,s,(d=this.presenceContext)==null?void 0:d.custom);f&&(r=f[i])}if(s&&r!==void 0)return r;const u=this.getBaseTargetFromProps(this.props,i);return u!==void 0&&!de(u)?u:this.initialValues[i]!==void 0&&r===void 0?void 0:this.baseTarget[i]}on(i,s){return this.events[i]||(this.events[i]=new If),this.events[i].add(s)}notify(i,...s){this.events[i]&&this.events[i].notify(...s)}scheduleRenderMicrotask(){vd.render(this.render)}}class lb extends LA{constructor(){super(...arguments),this.KeyframeResolver=fA}sortInstanceNodePosition(i,s){return i.compareDocumentPosition(s)&2?1:-1}getBaseTargetFromProps(i,s){const r=i.style;return r?r[s]:void 0}removeValueFromRenderState(i,{vars:s,style:r}){delete s[i],delete r[i]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:i}=this.props;de(i)&&(this.childSubscription=i.on("change",s=>{this.current&&(this.current.textContent=`${s}`)}))}}class va{constructor(i){this.isMounted=!1,this.node=i}update(){}}function sb({top:n,left:i,right:s,bottom:r}){return{x:{min:i,max:s},y:{min:n,max:r}}}function UA({x:n,y:i}){return{top:i.min,right:n.max,bottom:i.max,left:n.min}}function HA(n,i){if(!i)return n;const s=i({x:n.left,y:n.top}),r=i({x:n.right,y:n.bottom});return{top:s.y,left:s.x,bottom:r.y,right:r.x}}function Jc(n){return n===void 0||n===1}function kf({scale:n,scaleX:i,scaleY:s}){return!Jc(n)||!Jc(i)||!Jc(s)}function qa(n){return kf(n)||rb(n)||n.z||n.rotate||n.rotateX||n.rotateY||n.skewX||n.skewY}function rb(n){return vy(n.x)||vy(n.y)}function vy(n){return n&&n!=="0%"}function to(n,i,s){const r=n-s,u=i*r;return s+u}function by(n,i,s,r,u){return u!==void 0&&(n=to(n,u,r)),to(n,s,r)+i}function Of(n,i=0,s=1,r,u){n.min=by(n.min,i,s,r,u),n.max=by(n.max,i,s,r,u)}function ob(n,{x:i,y:s}){Of(n.x,i.translate,i.scale,i.originPoint),Of(n.y,s.translate,s.scale,s.originPoint)}const xy=.999999999999,Sy=1.0000000000001;function qA(n,i,s,r=!1){var h;const u=s.length;if(!u)return;i.x=i.y=1;let d,f;for(let g=0;g<u;g++){d=s[g],f=d.projectionDelta;const{visualElement:m}=d.options;m&&m.props.style&&m.props.style.display==="contents"||(r&&d.options.layoutScroll&&d.scroll&&d!==d.root&&(fn(n.x,-d.scroll.offset.x),fn(n.y,-d.scroll.offset.y)),f&&(i.x*=f.x.scale,i.y*=f.y.scale,ob(n,f)),r&&qa(d.latestValues)&&Yr(n,d.latestValues,(h=d.layout)==null?void 0:h.layoutBox))}i.x<Sy&&i.x>xy&&(i.x=1),i.y<Sy&&i.y>xy&&(i.y=1)}function fn(n,i){n.min+=i,n.max+=i}function wy(n,i,s,r,u=.5){const d=Lt(n.min,n.max,u);Of(n,i,s,d,r)}function Ty(n,i){return typeof n=="string"?parseFloat(n)/100*(i.max-i.min):n}function Yr(n,i,s){const r=s??n;wy(n.x,Ty(i.x,r.x),i.scaleX,i.scale,i.originX),wy(n.y,Ty(i.y,r.y),i.scaleY,i.scale,i.originY)}function ub(n,i){return sb(HA(n.getBoundingClientRect(),i))}function GA(n,i,s){const r=ub(n,s),{scroll:u}=i;return u&&(fn(r.x,u.offset.x),fn(r.y,u.offset.y)),r}const YA={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},XA=Xi.length;function KA(n,i,s){let r="",u=!0;for(let d=0;d<XA;d++){const f=Xi[d],h=n[f];if(h===void 0)continue;let g=!0;if(typeof h=="number")g=h===(f.startsWith("scale")?1:0);else{const m=parseFloat(h);g=f.startsWith("scale")?m===1:m===0}if(!g||s){const m=Jv(h,yd[f]);if(!g){u=!1;const y=YA[f]||f;r+=`${y}(${m}) `}s&&(i[f]=m)}}return r=r.trim(),s?r=s(i,u?"":r):u&&(r="none"),r}function Td(n,i,s){const{style:r,vars:u,transformOrigin:d}=n;let f=!1,h=!1;for(const g in i){const m=i[g];if(Ki.has(g)){f=!0;continue}else if(yv(g)){u[g]=m;continue}else{const y=Jv(m,yd[g]);g.startsWith("origin")?(h=!0,d[g]=y):r[g]=y}}if(i.transform||(f||s?r.transform=KA(i,n.transform,s):r.transform&&(r.transform="none")),h){const{originX:g="50%",originY:m="50%",originZ:y=0}=d;r.transformOrigin=`${g} ${m} ${y}`}}function cb(n,{style:i,vars:s},r,u){const d=n.style;let f;for(f in i)d[f]=i[f];u==null||u.applyProjectionStyles(d,r);for(f in s)d.setProperty(f,s[f])}function Ey(n,i){return i.max===i.min?0:n/(i.max-i.min)*100}const ql={correct:(n,i)=>{if(!i.target)return n;if(typeof n=="string")if(nt.test(n))n=parseFloat(n);else return n;const s=Ey(n,i.target.x),r=Ey(n,i.target.y);return`${s}% ${r}%`}},QA={correct:(n,{treeScale:i,projectionDelta:s})=>{const r=n,u=an.parse(n);if(u.length>5)return r;const d=an.createTransformer(n),f=typeof u[0]!="number"?1:0,h=s.x.scale*i.x,g=s.y.scale*i.y;u[0+f]/=h,u[1+f]/=g;const m=Lt(h,g,.5);return typeof u[2+f]=="number"&&(u[2+f]/=m),typeof u[3+f]=="number"&&(u[3+f]/=m),d(u)}},Vf={borderRadius:{...ql,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:ql,borderTopRightRadius:ql,borderBottomLeftRadius:ql,borderBottomRightRadius:ql,boxShadow:QA};function fb(n,{layout:i,layoutId:s}){return Ki.has(n)||n.startsWith("origin")||(i||s!==void 0)&&(!!Vf[n]||n==="opacity")}function Ed(n,i,s){var f;const r=n.style,u=i==null?void 0:i.style,d={};if(!r)return d;for(const h in r)(de(r[h])||u&&de(u[h])||fb(h,n)||((f=s==null?void 0:s.getValue(h))==null?void 0:f.liveStyle)!==void 0)&&(d[h]=r[h]);return d}function ZA(n){return window.getComputedStyle(n)}class PA extends lb{constructor(){super(...arguments),this.type="html",this.renderInstance=cb}readValueFromInstance(i,s){var r;if(Ki.has(s))return(r=this.projection)!=null&&r.isProjecting?xf(s):mE(i,s);{const u=ZA(i),d=(yv(s)?u.getPropertyValue(s):u[s])||0;return typeof d=="string"?d.trim():d}}measureInstanceViewportBox(i,{transformPagePoint:s}){return ub(i,s)}build(i,s,r){Td(i,s,r.transformTemplate)}scrapeMotionValuesFromProps(i,s,r){return Ed(i,s,r)}}const FA={offset:"stroke-dashoffset",array:"stroke-dasharray"},JA={offset:"strokeDashoffset",array:"strokeDasharray"};function WA(n,i,s=1,r=0,u=!0){n.pathLength=1;const d=u?FA:JA;n[d.offset]=`${-r}`,n[d.array]=`${i} ${s}`}const $A=["offsetDistance","offsetPath","offsetRotate","offsetAnchor"];function db(n,{attrX:i,attrY:s,attrScale:r,pathLength:u,pathSpacing:d=1,pathOffset:f=0,...h},g,m,y){if(Td(n,h,m),g){n.style.viewBox&&(n.attrs.viewBox=n.style.viewBox);return}n.attrs=n.style,n.style={};const{attrs:v,style:S}=n;v.transform&&(S.transform=v.transform,delete v.transform),(S.transform||v.transformOrigin)&&(S.transformOrigin=v.transformOrigin??"50% 50%",delete v.transformOrigin),S.transform&&(S.transformBox=(y==null?void 0:y.transformBox)??"fill-box",delete v.transformBox);for(const T of $A)v[T]!==void 0&&(S[T]=v[T],delete v[T]);i!==void 0&&(v.x=i),s!==void 0&&(v.y=s),r!==void 0&&(v.scale=r),u!==void 0&&WA(v,u,d,f,!1)}const hb=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]),mb=n=>typeof n=="string"&&n.toLowerCase()==="svg";function IA(n,i,s,r){cb(n,i,void 0,r);for(const u in i.attrs)n.setAttribute(hb.has(u)?u:gd(u),i.attrs[u])}function pb(n,i,s){const r=Ed(n,i,s);for(const u in n)if(de(n[u])||de(i[u])){const d=Xi.indexOf(u)!==-1?"attr"+u.charAt(0).toUpperCase()+u.substring(1):u;r[d]=n[u]}return r}class tC extends lb{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=ee}getBaseTargetFromProps(i,s){return i[s]}readValueFromInstance(i,s){if(Ki.has(s)){const r=Zv(s);return r&&r.default||0}return s=hb.has(s)?s:gd(s),i.getAttribute(s)}scrapeMotionValuesFromProps(i,s,r){return pb(i,s,r)}build(i,s,r){db(i,s,this.isSVGTag,r.transformTemplate,r.style)}renderInstance(i,s,r,u){IA(i,s,r,u)}mount(i){this.isSVGTag=mb(i.tagName),super.mount(i)}}const eC=wd.length;function gb(n){if(!n)return;if(!n.isControllingVariants){const s=n.parent?gb(n.parent)||{}:{};return n.props.initial!==void 0&&(s.initial=n.props.initial),s}const i={};for(let s=0;s<eC;s++){const r=wd[s],u=n.props[r];(es(u)||u===!1)&&(i[r]=u)}return i}function yb(n,i){if(!Array.isArray(i))return!1;const s=i.length;if(s!==n.length)return!1;for(let r=0;r<s;r++)if(i[r]!==n[r])return!1;return!0}const nC=[...Sd].reverse(),aC=Sd.length;function iC(n){return i=>Promise.all(i.map(({animation:s,options:r})=>tA(n,s,r)))}function lC(n){let i=iC(n),s=Ay(),r=!0,u=!1;const d=m=>(y,v)=>{var T;const S=Ka(n,v,m==="exit"?(T=n.presenceContext)==null?void 0:T.custom:void 0);if(S){const{transition:M,transitionEnd:j,...N}=S;y={...y,...N,...j}}return y};function f(m){i=m(n)}function h(m){const{props:y}=n,v=gb(n.parent)||{},S=[],T=new Set;let M={},j=1/0;for(let D=0;D<aC;D++){const H=nC[D],B=s[H],X=y[H]!==void 0?y[H]:v[H],K=es(X),it=H===m?B.isActive:null;it===!1&&(j=D);let F=X===v[H]&&X!==y[H]&&K;if(F&&(r||u)&&n.manuallyAnimateOnMount&&(F=!1),B.protectedKeys={...M},!B.isActive&&it===null||!X&&!B.prevProp||ho(X)||typeof X=="boolean")continue;if(H==="exit"&&B.isActive&&it!==!0){B.prevResolvedValues&&(M={...M,...B.prevResolvedValues});continue}const q=sC(B.prevProp,X);let W=q||H===m&&B.isActive&&!F&&K||D>j&&K,tt=!1;const mt=Array.isArray(X)?X:[X];let gt=mt.reduce(d(H),{});it===!1&&(gt={});const{prevResolvedValues:qt={}}=B,Ot={...qt,...gt},vt=J=>{W=!0,T.has(J)&&(tt=!0,T.delete(J)),B.needsAnimating[J]=!0;const ct=n.getValue(J);ct&&(ct.liveStyle=!1)};for(const J in Ot){const ct=gt[J],Q=qt[J];if(M.hasOwnProperty(J))continue;let A=!1;Cf(ct)&&Cf(Q)?A=!yb(ct,Q):A=ct!==Q,A?ct!=null?vt(J):T.add(J):ct!==void 0&&T.has(J)?vt(J):B.protectedKeys[J]=!0}B.prevProp=X,B.prevResolvedValues=gt,B.isActive&&(M={...M,...gt}),(r||u)&&n.blockInitialAnimation&&(W=!1);const V=F&&q;W&&(!V||tt)&&S.push(...mt.map(J=>{const ct={type:H};if(typeof J=="string"&&(r||u)&&!V&&n.manuallyAnimateOnMount&&n.parent){const{parent:Q}=n,A=Ka(Q,J);if(Q.enteringChildren&&A){const{delayChildren:G}=A.transition||{};ct.delay=Lv(Q.enteringChildren,n,G)}}return{animation:J,options:ct}}))}if(T.size){const D={};if(typeof y.initial!="boolean"){const H=Ka(n,Array.isArray(y.initial)?y.initial[0]:y.initial);H&&H.transition&&(D.transition=H.transition)}T.forEach(H=>{const B=n.getBaseTarget(H),X=n.getValue(H);X&&(X.liveStyle=!0),D[H]=B??null}),S.push({animation:D})}let N=!!S.length;return r&&(y.initial===!1||y.initial===y.animate)&&!n.manuallyAnimateOnMount&&(N=!1),r=!1,u=!1,N?i(S):Promise.resolve()}function g(m,y){var S;if(s[m].isActive===y)return Promise.resolve();(S=n.variantChildren)==null||S.forEach(T=>{var M;return(M=T.animationState)==null?void 0:M.setActive(m,y)}),s[m].isActive=y;const v=h(m);for(const T in s)s[T].protectedKeys={};return v}return{animateChanges:h,setActive:g,setAnimateFunction:f,getState:()=>s,reset:()=>{s=Ay(),u=!0}}}function sC(n,i){return typeof i=="string"?i!==n:Array.isArray(i)?!yb(i,n):!1}function La(n=!1){return{isActive:n,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function Ay(){return{animate:La(!0),whileInView:La(),whileHover:La(),whileTap:La(),whileDrag:La(),whileFocus:La(),exit:La()}}function _f(n,i){n.min=i.min,n.max=i.max}function tn(n,i){_f(n.x,i.x),_f(n.y,i.y)}function Cy(n,i){n.translate=i.translate,n.scale=i.scale,n.originPoint=i.originPoint,n.origin=i.origin}const vb=1e-4,rC=1-vb,oC=1+vb,bb=.01,uC=0-bb,cC=0+bb;function ge(n){return n.max-n.min}function fC(n,i,s){return Math.abs(n-i)<=s}function My(n,i,s,r=.5){n.origin=r,n.originPoint=Lt(i.min,i.max,n.origin),n.scale=ge(s)/ge(i),n.translate=Lt(s.min,s.max,n.origin)-n.originPoint,(n.scale>=rC&&n.scale<=oC||isNaN(n.scale))&&(n.scale=1),(n.translate>=uC&&n.translate<=cC||isNaN(n.translate))&&(n.translate=0)}function Fl(n,i,s,r){My(n.x,i.x,s.x,r?r.originX:void 0),My(n.y,i.y,s.y,r?r.originY:void 0)}function Ry(n,i,s,r=0){const u=r?Lt(s.min,s.max,r):s.min;n.min=u+i.min,n.max=n.min+ge(i)}function dC(n,i,s,r){Ry(n.x,i.x,s.x,r==null?void 0:r.x),Ry(n.y,i.y,s.y,r==null?void 0:r.y)}function Ny(n,i,s,r=0){const u=r?Lt(s.min,s.max,r):s.min;n.min=i.min-u,n.max=n.min+ge(i)}function eo(n,i,s,r){Ny(n.x,i.x,s.x,r==null?void 0:r.x),Ny(n.y,i.y,s.y,r==null?void 0:r.y)}function jy(n,i,s,r,u){return n-=i,n=to(n,1/s,r),u!==void 0&&(n=to(n,1/u,r)),n}function hC(n,i=0,s=1,r=.5,u,d=n,f=n){if(hn.test(i)&&(i=parseFloat(i),i=Lt(f.min,f.max,i/100)-f.min),typeof i!="number")return;let h=Lt(d.min,d.max,r);n===d&&(h-=i),n.min=jy(n.min,i,s,h,u),n.max=jy(n.max,i,s,h,u)}function Dy(n,i,[s,r,u],d,f){hC(n,i[s],i[r],i[u],i.scale,d,f)}const mC=["x","scaleX","originX"],pC=["y","scaleY","originY"];function zy(n,i,s,r){Dy(n.x,i,mC,s?s.x:void 0,r?r.x:void 0),Dy(n.y,i,pC,s?s.y:void 0,r?r.y:void 0)}function ky(n){return n.translate===0&&n.scale===1}function xb(n){return ky(n.x)&&ky(n.y)}function Oy(n,i){return n.min===i.min&&n.max===i.max}function gC(n,i){return Oy(n.x,i.x)&&Oy(n.y,i.y)}function Vy(n,i){return Math.round(n.min)===Math.round(i.min)&&Math.round(n.max)===Math.round(i.max)}function Sb(n,i){return Vy(n.x,i.x)&&Vy(n.y,i.y)}function _y(n){return ge(n.x)/ge(n.y)}function By(n,i){return n.translate===i.translate&&n.scale===i.scale&&n.originPoint===i.originPoint}function cn(n){return[n("x"),n("y")]}function yC(n,i,s){let r="";const u=n.x.translate/i.x,d=n.y.translate/i.y,f=(s==null?void 0:s.z)||0;if((u||d||f)&&(r=`translate3d(${u}px, ${d}px, ${f}px) `),(i.x!==1||i.y!==1)&&(r+=`scale(${1/i.x}, ${1/i.y}) `),s){const{transformPerspective:m,rotate:y,rotateX:v,rotateY:S,skewX:T,skewY:M}=s;m&&(r=`perspective(${m}px) ${r}`),y&&(r+=`rotate(${y}deg) `),v&&(r+=`rotateX(${v}deg) `),S&&(r+=`rotateY(${S}deg) `),T&&(r+=`skewX(${T}deg) `),M&&(r+=`skewY(${M}deg) `)}const h=n.x.scale*i.x,g=n.y.scale*i.y;return(h!==1||g!==1)&&(r+=`scale(${h}, ${g})`),r||"none"}const wb=["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"],vC=wb.length,Ly=n=>typeof n=="string"?parseFloat(n):n,Uy=n=>typeof n=="number"||nt.test(n);function bC(n,i,s,r,u,d){u?(n.opacity=Lt(0,s.opacity??1,xC(r)),n.opacityExit=Lt(i.opacity??1,0,SC(r))):d&&(n.opacity=Lt(i.opacity??1,s.opacity??1,r));for(let f=0;f<vC;f++){const h=wb[f];let g=Hy(i,h),m=Hy(s,h);if(g===void 0&&m===void 0)continue;g||(g=0),m||(m=0),g===0||m===0||Uy(g)===Uy(m)?(n[h]=Math.max(Lt(Ly(g),Ly(m),r),0),(hn.test(m)||hn.test(g))&&(n[h]+="%")):n[h]=m}(i.rotate||s.rotate)&&(n.rotate=Lt(i.rotate||0,s.rotate||0,r))}function Hy(n,i){return n[i]!==void 0?n[i]:n.borderRadius}const xC=Tb(0,.5,fv),SC=Tb(.5,.95,Ee);function Tb(n,i,s){return r=>r<n?0:r>i?1:s(Ui(n,i,r))}function wC(n,i,s){const r=de(n)?n:nn(n);return r.start(md("",r,i,s)),r.animation}function ns(n,i,s,r={passive:!0}){return n.addEventListener(i,s,r),()=>n.removeEventListener(i,s)}const TC=(n,i)=>n.depth-i.depth;class EC{constructor(){this.children=[],this.isDirty=!1}add(i){$f(this.children,i),this.isDirty=!0}remove(i){Pr(this.children,i),this.isDirty=!0}forEach(i){this.isDirty&&this.children.sort(TC),this.isDirty=!1,this.children.forEach(i)}}function AC(n,i){const s=pe.now(),r=({timestamp:u})=>{const d=u-s;d>=i&&(Fe(r),n(d-i))};return At.setup(r,!0),()=>Fe(r)}function Xr(n){return de(n)?n.get():n}class CC{constructor(){this.members=[]}add(i){$f(this.members,i);for(let s=this.members.length-1;s>=0;s--){const r=this.members[s];if(r===i||r===this.lead||r===this.prevLead)continue;const u=r.instance;(!u||u.isConnected===!1)&&!r.snapshot&&(Pr(this.members,r),r.unmount())}i.scheduleRender()}remove(i){if(Pr(this.members,i),i===this.prevLead&&(this.prevLead=void 0),i===this.lead){const s=this.members[this.members.length-1];s&&this.promote(s)}}relegate(i){var s;for(let r=this.members.indexOf(i)-1;r>=0;r--){const u=this.members[r];if(u.isPresent!==!1&&((s=u.instance)==null?void 0:s.isConnected)!==!1)return this.promote(u),!0}return!1}promote(i,s){var u;const r=this.lead;if(i!==r&&(this.prevLead=r,this.lead=i,i.show(),r)){r.updateSnapshot(),i.scheduleRender();const{layoutDependency:d}=r.options,{layoutDependency:f}=i.options;(d===void 0||d!==f)&&(i.resumeFrom=r,s&&(r.preserveOpacity=!0),r.snapshot&&(i.snapshot=r.snapshot,i.snapshot.latestValues=r.animationValues||r.latestValues),(u=i.root)!=null&&u.isUpdating&&(i.isLayoutDirty=!0)),i.options.crossfade===!1&&r.hide()}}exitAnimationComplete(){this.members.forEach(i=>{var s,r,u,d,f;(r=(s=i.options).onExitComplete)==null||r.call(s),(f=(u=i.resumingFrom)==null?void 0:(d=u.options).onExitComplete)==null||f.call(d)})}scheduleRender(){this.members.forEach(i=>i.instance&&i.scheduleRender(!1))}removeLeadSnapshot(){var i;(i=this.lead)!=null&&i.snapshot&&(this.lead.snapshot=void 0)}}const Kr={hasAnimatedSinceResize:!0,hasEverUpdated:!1},Wc=["","X","Y","Z"],MC=1e3;let RC=0;function $c(n,i,s,r){const{latestValues:u}=i;u[n]&&(s[n]=u[n],i.setStaticValue(n,0),r&&(r[n]=0))}function Eb(n){if(n.hasCheckedOptimisedAppear=!0,n.root===n)return;const{visualElement:i}=n.options;if(!i)return;const s=Yv(i);if(window.MotionHasOptimisedAnimation(s,"transform")){const{layout:u,layoutId:d}=n.options;window.MotionCancelOptimisedAnimation(s,"transform",At,!(u||d))}const{parent:r}=n;r&&!r.hasCheckedOptimisedAppear&&Eb(r)}function Ab({attachResizeListener:n,defaultParent:i,measureScroll:s,checkIsScrollRoot:r,resetTransform:u}){return class{constructor(f={},h=i==null?void 0:i()){this.id=RC++,this.animationId=0,this.animationCommitId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.layoutVersion=0,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,this.nodes.forEach(DC),this.nodes.forEach(BC),this.nodes.forEach(LC),this.nodes.forEach(zC)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=f,this.root=h?h.root||h:this,this.path=h?[...h.path,h]:[],this.parent=h,this.depth=h?h.depth+1:0;for(let g=0;g<this.path.length;g++)this.path[g].shouldResetTransform=!0;this.root===this&&(this.nodes=new EC)}addEventListener(f,h){return this.eventHandlers.has(f)||this.eventHandlers.set(f,new If),this.eventHandlers.get(f).add(h)}notifyListeners(f,...h){const g=this.eventHandlers.get(f);g&&g.notify(...h)}hasListeners(f){return this.eventHandlers.has(f)}mount(f){if(this.instance)return;this.isSVG=xd(f)&&!NA(f),this.instance=f;const{layoutId:h,layout:g,visualElement:m}=this.options;if(m&&!m.current&&m.mount(f),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(g||h)&&(this.isLayoutDirty=!0),n){let y,v=0;const S=()=>this.root.updateBlockedByResize=!1;At.read(()=>{v=window.innerWidth}),n(f,()=>{const T=window.innerWidth;T!==v&&(v=T,this.root.updateBlockedByResize=!0,y&&y(),y=AC(S,250),Kr.hasAnimatedSinceResize&&(Kr.hasAnimatedSinceResize=!1,this.nodes.forEach(Yy)))})}h&&this.root.registerSharedNode(h,this),this.options.animate!==!1&&m&&(h||g)&&this.addEventListener("didUpdate",({delta:y,hasLayoutChanged:v,hasRelativeLayoutChanged:S,layout:T})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const M=this.options.transition||m.getDefaultTransition()||YC,{onLayoutAnimationStart:j,onLayoutAnimationComplete:N}=m.getProps(),D=!this.targetLayout||!Sb(this.targetLayout,T),H=!v&&S;if(this.options.layoutRoot||this.resumeFrom||H||v&&(D||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);const B={...hd(M,"layout"),onPlay:j,onComplete:N};(m.shouldReduceMotion||this.options.layoutRoot)&&(B.delay=0,B.type=!1),this.startAnimation(B),this.setAnimationOrigin(y,H)}else v||Yy(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=T})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const f=this.getStack();f&&f.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),Fe(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(UC),this.animationId++)}getTransformTemplate(){const{visualElement:f}=this.options;return f&&f.getProps().transformTemplate}willUpdate(f=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&Eb(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let y=0;y<this.path.length;y++){const v=this.path[y];v.shouldResetTransform=!0,(typeof v.latestValues.x=="string"||typeof v.latestValues.y=="string")&&(v.isLayoutDirty=!0),v.updateScroll("snapshot"),v.options.layoutRoot&&v.willUpdate(!1)}const{layoutId:h,layout:g}=this.options;if(h===void 0&&!g)return;const m=this.getTransformTemplate();this.prevTransformTemplateValue=m?m(this.latestValues,""):void 0,this.updateSnapshot(),f&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){const g=this.updateBlockedByResize;this.unblockUpdate(),this.updateBlockedByResize=!1,this.clearAllSnapshots(),g&&this.nodes.forEach(OC),this.nodes.forEach(qy);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(Gy);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(VC),this.nodes.forEach(_C),this.nodes.forEach(NC),this.nodes.forEach(jC)):this.nodes.forEach(Gy),this.clearAllSnapshots();const h=pe.now();le.delta=ln(0,1e3/60,h-le.timestamp),le.timestamp=h,le.isProcessing=!0,Yc.update.process(le),Yc.preRender.process(le),Yc.render.process(le),le.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,vd.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(kC),this.sharedNodes.forEach(HC)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,At.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){At.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!ge(this.snapshot.measuredBox.x)&&!ge(this.snapshot.measuredBox.y)&&(this.snapshot=void 0))}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let g=0;g<this.path.length;g++)this.path[g].updateScroll();const f=this.layout;this.layout=this.measure(!1),this.layoutVersion++,this.layoutCorrected||(this.layoutCorrected=ee()),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:h}=this.options;h&&h.notify("LayoutMeasure",this.layout.layoutBox,f?f.layoutBox:void 0)}updateScroll(f="measure"){let h=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===f&&(h=!1),h&&this.instance){const g=r(this.instance);this.scroll={animationId:this.root.animationId,phase:f,isRoot:g,offset:s(this.instance),wasRoot:this.scroll?this.scroll.isRoot:g}}}resetTransform(){if(!u)return;const f=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,h=this.projectionDelta&&!xb(this.projectionDelta),g=this.getTransformTemplate(),m=g?g(this.latestValues,""):void 0,y=m!==this.prevTransformTemplateValue;f&&this.instance&&(h||qa(this.latestValues)||y)&&(u(this.instance,m),this.shouldResetTransform=!1,this.scheduleRender())}measure(f=!0){const h=this.measurePageBox();let g=this.removeElementScroll(h);return f&&(g=this.removeTransform(g)),XC(g),{animationId:this.root.animationId,measuredBox:h,layoutBox:g,latestValues:{},source:this.id}}measurePageBox(){var m;const{visualElement:f}=this.options;if(!f)return ee();const h=f.measureViewportBox();if(!(((m=this.scroll)==null?void 0:m.wasRoot)||this.path.some(KC))){const{scroll:y}=this.root;y&&(fn(h.x,y.offset.x),fn(h.y,y.offset.y))}return h}removeElementScroll(f){var g;const h=ee();if(tn(h,f),(g=this.scroll)!=null&&g.wasRoot)return h;for(let m=0;m<this.path.length;m++){const y=this.path[m],{scroll:v,options:S}=y;y!==this.root&&v&&S.layoutScroll&&(v.wasRoot&&tn(h,f),fn(h.x,v.offset.x),fn(h.y,v.offset.y))}return h}applyTransform(f,h=!1,g){var y,v;const m=g||ee();tn(m,f);for(let S=0;S<this.path.length;S++){const T=this.path[S];!h&&T.options.layoutScroll&&T.scroll&&T!==T.root&&(fn(m.x,-T.scroll.offset.x),fn(m.y,-T.scroll.offset.y)),qa(T.latestValues)&&Yr(m,T.latestValues,(y=T.layout)==null?void 0:y.layoutBox)}return qa(this.latestValues)&&Yr(m,this.latestValues,(v=this.layout)==null?void 0:v.layoutBox),m}removeTransform(f){var g;const h=ee();tn(h,f);for(let m=0;m<this.path.length;m++){const y=this.path[m];if(!qa(y.latestValues))continue;let v;y.instance&&(kf(y.latestValues)&&y.updateSnapshot(),v=ee(),tn(v,y.measurePageBox())),zy(h,y.latestValues,(g=y.snapshot)==null?void 0:g.layoutBox,v)}return qa(this.latestValues)&&zy(h,this.latestValues),h}setTargetDelta(f){this.targetDelta=f,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(f){this.options={...this.options,...f,crossfade:f.crossfade!==void 0?f.crossfade:!0}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==le.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(f=!1){var T;const h=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=h.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=h.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=h.isSharedProjectionDirty);const g=!!this.resumingFrom||this!==h;if(!(f||g&&this.isSharedProjectionDirty||this.isProjectionDirty||(T=this.parent)!=null&&T.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:y,layoutId:v}=this.options;if(!this.layout||!(y||v))return;this.resolvedRelativeTargetAt=le.timestamp;const S=this.getClosestProjectingParent();S&&this.linkedParentVersion!==S.layoutVersion&&!S.options.layoutRoot&&this.removeRelativeTarget(),!this.targetDelta&&!this.relativeTarget&&(this.options.layoutAnchor!==!1&&S&&S.layout?this.createRelativeTarget(S,this.layout.layoutBox,S.layout.layoutBox):this.removeRelativeTarget()),!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=ee(),this.targetWithTransforms=ee()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),dC(this.target,this.relativeTarget,this.relativeParent.target,this.options.layoutAnchor||void 0)):this.targetDelta?(this.resumingFrom?this.applyTransform(this.layout.layoutBox,!1,this.target):tn(this.target,this.layout.layoutBox),ob(this.target,this.targetDelta)):tn(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,this.options.layoutAnchor!==!1&&S&&!!S.resumingFrom==!!this.resumingFrom&&!S.options.layoutScroll&&S.target&&this.animationProgress!==1?this.createRelativeTarget(S,this.target,S.target):this.relativeParent=this.relativeTarget=void 0))}getClosestProjectingParent(){if(!(!this.parent||kf(this.parent.latestValues)||rb(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}createRelativeTarget(f,h,g){this.relativeParent=f,this.linkedParentVersion=f.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=ee(),this.relativeTargetOrigin=ee(),eo(this.relativeTargetOrigin,h,g,this.options.layoutAnchor||void 0),tn(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){var M;const f=this.getLead(),h=!!this.resumingFrom||this!==f;let g=!0;if((this.isProjectionDirty||(M=this.parent)!=null&&M.isProjectionDirty)&&(g=!1),h&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(g=!1),this.resolvedRelativeTargetAt===le.timestamp&&(g=!1),g)return;const{layout:m,layoutId:y}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(m||y))return;tn(this.layoutCorrected,this.layout.layoutBox);const v=this.treeScale.x,S=this.treeScale.y;qA(this.layoutCorrected,this.treeScale,this.path,h),f.layout&&!f.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(f.target=f.layout.layoutBox,f.targetWithTransforms=ee());const{target:T}=f;if(!T){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(Cy(this.prevProjectionDelta.x,this.projectionDelta.x),Cy(this.prevProjectionDelta.y,this.projectionDelta.y)),Fl(this.projectionDelta,this.layoutCorrected,T,this.latestValues),(this.treeScale.x!==v||this.treeScale.y!==S||!By(this.projectionDelta.x,this.prevProjectionDelta.x)||!By(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",T))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(f=!0){var h;if((h=this.options.visualElement)==null||h.scheduleRender(),f){const g=this.getStack();g&&g.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=Bi(),this.projectionDelta=Bi(),this.projectionDeltaWithTransform=Bi()}setAnimationOrigin(f,h=!1){const g=this.snapshot,m=g?g.latestValues:{},y={...this.latestValues},v=Bi();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!h;const S=ee(),T=g?g.source:void 0,M=this.layout?this.layout.source:void 0,j=T!==M,N=this.getStack(),D=!N||N.members.length<=1,H=!!(j&&!D&&this.options.crossfade===!0&&!this.path.some(GC));this.animationProgress=0;let B;this.mixTargetDelta=X=>{const K=X/1e3;Xy(v.x,f.x,K),Xy(v.y,f.y,K),this.setTargetDelta(v),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(eo(S,this.layout.layoutBox,this.relativeParent.layout.layoutBox,this.options.layoutAnchor||void 0),qC(this.relativeTarget,this.relativeTargetOrigin,S,K),B&&gC(this.relativeTarget,B)&&(this.isProjectionDirty=!1),B||(B=ee()),tn(B,this.relativeTarget)),j&&(this.animationValues=y,bC(y,m,this.latestValues,K,H,D)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=K},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(f){var h,g,m;this.notifyListeners("animationStart"),(h=this.currentAnimation)==null||h.stop(),(m=(g=this.resumingFrom)==null?void 0:g.currentAnimation)==null||m.stop(),this.pendingAnimation&&(Fe(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=At.update(()=>{Kr.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=nn(0)),this.motionValue.jump(0,!1),this.currentAnimation=wC(this.motionValue,[0,1e3],{...f,velocity:0,isSync:!0,onUpdate:y=>{this.mixTargetDelta(y),f.onUpdate&&f.onUpdate(y)},onStop:()=>{},onComplete:()=>{f.onComplete&&f.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const f=this.getStack();f&&f.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(MC),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const f=this.getLead();let{targetWithTransforms:h,target:g,layout:m,latestValues:y}=f;if(!(!h||!g||!m)){if(this!==f&&this.layout&&m&&Cb(this.options.animationType,this.layout.layoutBox,m.layoutBox)){g=this.target||ee();const v=ge(this.layout.layoutBox.x);g.x.min=f.target.x.min,g.x.max=g.x.min+v;const S=ge(this.layout.layoutBox.y);g.y.min=f.target.y.min,g.y.max=g.y.min+S}tn(h,g),Yr(h,y),Fl(this.projectionDeltaWithTransform,this.layoutCorrected,h,y)}}registerSharedNode(f,h){this.sharedNodes.has(f)||this.sharedNodes.set(f,new CC),this.sharedNodes.get(f).add(h);const m=h.options.initialPromotionConfig;h.promote({transition:m?m.transition:void 0,preserveFollowOpacity:m&&m.shouldPreserveFollowOpacity?m.shouldPreserveFollowOpacity(h):void 0})}isLead(){const f=this.getStack();return f?f.lead===this:!0}getLead(){var h;const{layoutId:f}=this.options;return f?((h=this.getStack())==null?void 0:h.lead)||this:this}getPrevLead(){var h;const{layoutId:f}=this.options;return f?(h=this.getStack())==null?void 0:h.prevLead:void 0}getStack(){const{layoutId:f}=this.options;if(f)return this.root.sharedNodes.get(f)}promote({needsReset:f,transition:h,preserveFollowOpacity:g}={}){const m=this.getStack();m&&m.promote(this,g),f&&(this.projectionDelta=void 0,this.needsReset=!0),h&&this.setOptions({transition:h})}relegate(){const f=this.getStack();return f?f.relegate(this):!1}resetSkewAndRotation(){const{visualElement:f}=this.options;if(!f)return;let h=!1;const{latestValues:g}=f;if((g.z||g.rotate||g.rotateX||g.rotateY||g.rotateZ||g.skewX||g.skewY)&&(h=!0),!h)return;const m={};g.z&&$c("z",f,m,this.animationValues);for(let y=0;y<Wc.length;y++)$c(`rotate${Wc[y]}`,f,m,this.animationValues),$c(`skew${Wc[y]}`,f,m,this.animationValues);f.render();for(const y in m)f.setStaticValue(y,m[y]),this.animationValues&&(this.animationValues[y]=m[y]);f.scheduleRender()}applyProjectionStyles(f,h){if(!this.instance||this.isSVG)return;if(!this.isVisible){f.visibility="hidden";return}const g=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,f.visibility="",f.opacity="",f.pointerEvents=Xr(h==null?void 0:h.pointerEvents)||"",f.transform=g?g(this.latestValues,""):"none";return}const m=this.getLead();if(!this.projectionDelta||!this.layout||!m.target){this.options.layoutId&&(f.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,f.pointerEvents=Xr(h==null?void 0:h.pointerEvents)||""),this.hasProjected&&!qa(this.latestValues)&&(f.transform=g?g({},""):"none",this.hasProjected=!1);return}f.visibility="";const y=m.animationValues||m.latestValues;this.applyTransformsToTarget();let v=yC(this.projectionDeltaWithTransform,this.treeScale,y);g&&(v=g(y,v)),f.transform=v;const{x:S,y:T}=this.projectionDelta;f.transformOrigin=`${S.origin*100}% ${T.origin*100}% 0`,m.animationValues?f.opacity=m===this?y.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:y.opacityExit:f.opacity=m===this?y.opacity!==void 0?y.opacity:"":y.opacityExit!==void 0?y.opacityExit:0;for(const M in Vf){if(y[M]===void 0)continue;const{correct:j,applyTo:N,isCSSVariable:D}=Vf[M],H=v==="none"?y[M]:j(y[M],m);if(N){const B=N.length;for(let X=0;X<B;X++)f[N[X]]=H}else D?this.options.visualElement.renderState.vars[M]=H:f[M]=H}this.options.layoutId&&(f.pointerEvents=m===this?Xr(h==null?void 0:h.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(f=>{var h;return(h=f.currentAnimation)==null?void 0:h.stop()}),this.root.nodes.forEach(qy),this.root.sharedNodes.clear()}}}function NC(n){n.updateLayout()}function jC(n){var s;const i=((s=n.resumeFrom)==null?void 0:s.snapshot)||n.snapshot;if(n.isLead()&&n.layout&&i&&n.hasListeners("didUpdate")){const{layoutBox:r,measuredBox:u}=n.layout,{animationType:d}=n.options,f=i.source!==n.layout.source;if(d==="size")cn(v=>{const S=f?i.measuredBox[v]:i.layoutBox[v],T=ge(S);S.min=r[v].min,S.max=S.min+T});else if(d==="x"||d==="y"){const v=d==="x"?"y":"x";_f(f?i.measuredBox[v]:i.layoutBox[v],r[v])}else Cb(d,i.layoutBox,r)&&cn(v=>{const S=f?i.measuredBox[v]:i.layoutBox[v],T=ge(r[v]);S.max=S.min+T,n.relativeTarget&&!n.currentAnimation&&(n.isProjectionDirty=!0,n.relativeTarget[v].max=n.relativeTarget[v].min+T)});const h=Bi();Fl(h,r,i.layoutBox);const g=Bi();f?Fl(g,n.applyTransform(u,!0),i.measuredBox):Fl(g,r,i.layoutBox);const m=!xb(h);let y=!1;if(!n.resumeFrom){const v=n.getClosestProjectingParent();if(v&&!v.resumeFrom){const{snapshot:S,layout:T}=v;if(S&&T){const M=n.options.layoutAnchor||void 0,j=ee();eo(j,i.layoutBox,S.layoutBox,M);const N=ee();eo(N,r,T.layoutBox,M),Sb(j,N)||(y=!0),v.options.layoutRoot&&(n.relativeTarget=N,n.relativeTargetOrigin=j,n.relativeParent=v)}}}n.notifyListeners("didUpdate",{layout:r,snapshot:i,delta:g,layoutDelta:h,hasLayoutChanged:m,hasRelativeLayoutChanged:y})}else if(n.isLead()){const{onExitComplete:r}=n.options;r&&r()}n.options.transition=void 0}function DC(n){n.parent&&(n.isProjecting()||(n.isProjectionDirty=n.parent.isProjectionDirty),n.isSharedProjectionDirty||(n.isSharedProjectionDirty=!!(n.isProjectionDirty||n.parent.isProjectionDirty||n.parent.isSharedProjectionDirty)),n.isTransformDirty||(n.isTransformDirty=n.parent.isTransformDirty))}function zC(n){n.isProjectionDirty=n.isSharedProjectionDirty=n.isTransformDirty=!1}function kC(n){n.clearSnapshot()}function qy(n){n.clearMeasurements()}function OC(n){n.isLayoutDirty=!0,n.updateLayout()}function Gy(n){n.isLayoutDirty=!1}function VC(n){n.isAnimationBlocked&&n.layout&&!n.isLayoutDirty&&(n.snapshot=n.layout,n.isLayoutDirty=!0)}function _C(n){const{visualElement:i}=n.options;i&&i.getProps().onBeforeLayoutMeasure&&i.notify("BeforeLayoutMeasure"),n.resetTransform()}function Yy(n){n.finishAnimation(),n.targetDelta=n.relativeTarget=n.target=void 0,n.isProjectionDirty=!0}function BC(n){n.resolveTargetDelta()}function LC(n){n.calcProjection()}function UC(n){n.resetSkewAndRotation()}function HC(n){n.removeLeadSnapshot()}function Xy(n,i,s){n.translate=Lt(i.translate,0,s),n.scale=Lt(i.scale,1,s),n.origin=i.origin,n.originPoint=i.originPoint}function Ky(n,i,s,r){n.min=Lt(i.min,s.min,r),n.max=Lt(i.max,s.max,r)}function qC(n,i,s,r){Ky(n.x,i.x,s.x,r),Ky(n.y,i.y,s.y,r)}function GC(n){return n.animationValues&&n.animationValues.opacityExit!==void 0}const YC={duration:.45,ease:[.4,0,.1,1]},Qy=n=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(n),Zy=Qy("applewebkit/")&&!Qy("chrome/")?Math.round:Ee;function Py(n){n.min=Zy(n.min),n.max=Zy(n.max)}function XC(n){Py(n.x),Py(n.y)}function Cb(n,i,s){return n==="position"||n==="preserve-aspect"&&!fC(_y(i),_y(s),.2)}function KC(n){var i;return n!==n.root&&((i=n.scroll)==null?void 0:i.wasRoot)}const QC=Ab({attachResizeListener:(n,i)=>ns(n,"resize",i),measureScroll:()=>{var n,i;return{x:document.documentElement.scrollLeft||((n=document.body)==null?void 0:n.scrollLeft)||0,y:document.documentElement.scrollTop||((i=document.body)==null?void 0:i.scrollTop)||0}},checkIsScrollRoot:()=>!0}),Ic={current:void 0},Mb=Ab({measureScroll:n=>({x:n.scrollLeft,y:n.scrollTop}),defaultParent:()=>{if(!Ic.current){const n=new QC({});n.mount(window),n.setOptions({layoutScroll:!0}),Ic.current=n}return Ic.current},resetTransform:(n,i)=>{n.style.transform=i!==void 0?i:"none"},checkIsScrollRoot:n=>window.getComputedStyle(n).position==="fixed"}),po=E.createContext({transformPagePoint:n=>n,isStatic:!1,reducedMotion:"never"});function Fy(n,i){if(typeof n=="function")return n(i);n!=null&&(n.current=i)}function ZC(...n){return i=>{let s=!1;const r=n.map(u=>{const d=Fy(u,i);return!s&&typeof d=="function"&&(s=!0),d});if(s)return()=>{for(let u=0;u<r.length;u++){const d=r[u];typeof d=="function"?d():Fy(n[u],null)}}}}function PC(...n){return E.useCallback(ZC(...n),n)}class FC extends E.Component{getSnapshotBeforeUpdate(i){const s=this.props.childRef.current;if(Pl(s)&&i.isPresent&&!this.props.isPresent&&this.props.pop!==!1){const r=s.offsetParent,u=Pl(r)&&r.offsetWidth||0,d=Pl(r)&&r.offsetHeight||0,f=getComputedStyle(s),h=this.props.sizeRef.current;h.height=parseFloat(f.height),h.width=parseFloat(f.width),h.top=s.offsetTop,h.left=s.offsetLeft,h.right=u-h.width-h.left,h.bottom=d-h.height-h.top}return null}componentDidUpdate(){}render(){return this.props.children}}function JC({children:n,isPresent:i,anchorX:s,anchorY:r,root:u,pop:d}){var S;const f=E.useId(),h=E.useRef(null),g=E.useRef({width:0,height:0,top:0,left:0,right:0,bottom:0}),{nonce:m}=E.useContext(po),y=((S=n.props)==null?void 0:S.ref)??(n==null?void 0:n.ref),v=PC(h,y);return E.useInsertionEffect(()=>{const{width:T,height:M,top:j,left:N,right:D,bottom:H}=g.current;if(i||d===!1||!h.current||!T||!M)return;const B=s==="left"?`left: ${N}`:`right: ${D}`,X=r==="bottom"?`bottom: ${H}`:`top: ${j}`;h.current.dataset.motionPopId=f;const K=document.createElement("style");m&&(K.nonce=m);const it=u??document.head;return it.appendChild(K),K.sheet&&K.sheet.insertRule(`
          [data-motion-pop-id="${f}"] {
            position: absolute !important;
            width: ${T}px !important;
            height: ${M}px !important;
            ${B}px !important;
            ${X}px !important;
          }
        `),()=>{var F;(F=h.current)==null||F.removeAttribute("data-motion-pop-id"),it.contains(K)&&it.removeChild(K)}},[i]),b.jsx(FC,{isPresent:i,childRef:h,sizeRef:g,pop:d,children:d===!1?n:E.cloneElement(n,{ref:v})})}const WC=({children:n,initial:i,isPresent:s,onExitComplete:r,custom:u,presenceAffectsLayout:d,mode:f,anchorX:h,anchorY:g,root:m})=>{const y=ga($C),v=E.useId();let S=!0,T=E.useMemo(()=>(S=!1,{id:v,initial:i,isPresent:s,custom:u,onExitComplete:M=>{y.set(M,!0);for(const j of y.values())if(!j)return;r&&r()},register:M=>(y.set(M,!1),()=>y.delete(M))}),[s,y,r]);return d&&S&&(T={...T}),E.useMemo(()=>{y.forEach((M,j)=>y.set(j,!1))},[s]),E.useEffect(()=>{!s&&!y.size&&r&&r()},[s]),n=b.jsx(JC,{pop:f==="popLayout",isPresent:s,anchorX:h,anchorY:g,root:m,children:n}),b.jsx(co.Provider,{value:T,children:n})};function $C(){return new Map}function Rb(n=!0){const i=E.useContext(co);if(i===null)return[!0,null];const{isPresent:s,onExitComplete:r,register:u}=i,d=E.useId();E.useEffect(()=>{if(n)return u(d)},[n]);const f=E.useCallback(()=>n&&r&&r(d),[d,r,n]);return!s&&r?[!1,f]:[!0]}const jr=n=>n.key||"";function Jy(n){const i=[];return E.Children.forEach(n,s=>{E.isValidElement(s)&&i.push(s)}),i}const no=({children:n,custom:i,initial:s=!0,onExitComplete:r,presenceAffectsLayout:u=!0,mode:d="sync",propagate:f=!1,anchorX:h="left",anchorY:g="top",root:m})=>{const[y,v]=Rb(f),S=E.useMemo(()=>Jy(n),[n]),T=f&&!y?[]:S.map(jr),M=E.useRef(!0),j=E.useRef(S),N=ga(()=>new Map),D=E.useRef(new Set),[H,B]=E.useState(S),[X,K]=E.useState(S);uo(()=>{M.current=!1,j.current=S;for(let q=0;q<X.length;q++){const W=jr(X[q]);T.includes(W)?(N.delete(W),D.current.delete(W)):N.get(W)!==!0&&N.set(W,!1)}},[X,T.length,T.join("-")]);const it=[];if(S!==H){let q=[...S];for(let W=0;W<X.length;W++){const tt=X[W],mt=jr(tt);T.includes(mt)||(q.splice(W,0,tt),it.push(tt))}return d==="wait"&&it.length&&(q=it),K(Jy(q)),B(S),null}const{forceRender:F}=E.useContext(Wf);return b.jsx(b.Fragment,{children:X.map(q=>{const W=jr(q),tt=f&&!y?!1:S===X||T.includes(W),mt=()=>{if(D.current.has(W))return;if(N.has(W))D.current.add(W),N.set(W,!0);else return;let gt=!0;N.forEach(qt=>{qt||(gt=!1)}),gt&&(F==null||F(),K(j.current),f&&(v==null||v()),r&&r())};return b.jsx(WC,{isPresent:tt,initial:!M.current||s?void 0:!1,custom:i,presenceAffectsLayout:u,mode:d,root:m,onExitComplete:tt?void 0:mt,anchorX:h,anchorY:g,children:q},W)})})},Nb=E.createContext({strict:!1}),Wy={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]};let $y=!1;function IC(){if($y)return;const n={};for(const i in Wy)n[i]={isEnabled:s=>Wy[i].some(r=>!!s[r])};ib(n),$y=!0}function jb(){return IC(),BA()}function t3(n){const i=jb();for(const s in n)i[s]={...i[s],...n[s]};ib(i)}const e3=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","propagate","ignoreStrict","viewport"]);function ao(n){return n.startsWith("while")||n.startsWith("drag")&&n!=="draggable"||n.startsWith("layout")||n.startsWith("onTap")||n.startsWith("onPan")||n.startsWith("onLayout")||e3.has(n)}let Db=n=>!ao(n);function n3(n){typeof n=="function"&&(Db=i=>i.startsWith("on")?!ao(i):n(i))}try{n3(require("@emotion/is-prop-valid").default)}catch{}function a3(n,i,s){const r={};for(const u in n)u==="values"&&typeof n.values=="object"||de(n[u])||(Db(u)||s===!0&&ao(u)||!i&&!ao(u)||n.draggable&&u.startsWith("onDrag"))&&(r[u]=n[u]);return r}const go=E.createContext({});function i3(n,i){if(mo(n)){const{initial:s,animate:r}=n;return{initial:s===!1||es(s)?s:void 0,animate:es(r)?r:void 0}}return n.inherit!==!1?i:{}}function l3(n){const{initial:i,animate:s}=i3(n,E.useContext(go));return E.useMemo(()=>({initial:i,animate:s}),[Iy(i),Iy(s)])}function Iy(n){return Array.isArray(n)?n.join(" "):n}const Ad=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function zb(n,i,s){for(const r in i)!de(i[r])&&!fb(r,s)&&(n[r]=i[r])}function s3({transformTemplate:n},i){return E.useMemo(()=>{const s=Ad();return Td(s,i,n),Object.assign({},s.vars,s.style)},[i])}function r3(n,i){const s=n.style||{},r={};return zb(r,s,n),Object.assign(r,s3(n,i)),r}function o3(n,i){const s={},r=r3(n,i);return n.drag&&n.dragListener!==!1&&(s.draggable=!1,r.userSelect=r.WebkitUserSelect=r.WebkitTouchCallout="none",r.touchAction=n.drag===!0?"none":`pan-${n.drag==="x"?"y":"x"}`),n.tabIndex===void 0&&(n.onTap||n.onTapStart||n.whileTap)&&(s.tabIndex=0),s.style=r,s}const kb=()=>({...Ad(),attrs:{}});function u3(n,i,s,r){const u=E.useMemo(()=>{const d=kb();return db(d,i,mb(r),n.transformTemplate,n.style),{...d.attrs,style:{...d.style}}},[i]);if(n.style){const d={};zb(d,n.style,n),u.style={...d,...u.style}}return u}const c3=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function Cd(n){return typeof n!="string"||n.includes("-")?!1:!!(c3.indexOf(n)>-1||/[A-Z]/u.test(n))}function f3(n,i,s,{latestValues:r},u,d=!1,f){const g=(f??Cd(n)?u3:o3)(i,r,u,n),m=a3(i,typeof n=="string",d),y=n!==E.Fragment?{...m,...g,ref:s}:{},{children:v}=i,S=E.useMemo(()=>de(v)?v.get():v,[v]);return E.createElement(n,{...y,children:S})}function d3({scrapeMotionValuesFromProps:n,createRenderState:i},s,r,u){return{latestValues:h3(s,r,u,n),renderState:i()}}function h3(n,i,s,r){const u={},d=r(n,{});for(const S in d)u[S]=Xr(d[S]);let{initial:f,animate:h}=n;const g=mo(n),m=nb(n);i&&m&&!g&&n.inherit!==!1&&(f===void 0&&(f=i.initial),h===void 0&&(h=i.animate));let y=s?s.initial===!1:!1;y=y||f===!1;const v=y?h:f;if(v&&typeof v!="boolean"&&!ho(v)){const S=Array.isArray(v)?v:[v];for(let T=0;T<S.length;T++){const M=pd(n,S[T]);if(M){const{transitionEnd:j,transition:N,...D}=M;for(const H in D){let B=D[H];if(Array.isArray(B)){const X=y?B.length-1:0;B=B[X]}B!==null&&(u[H]=B)}for(const H in j)u[H]=j[H]}}}return u}const Ob=n=>(i,s)=>{const r=E.useContext(go),u=E.useContext(co),d=()=>d3(n,i,r,u);return s?d():ga(d)},m3=Ob({scrapeMotionValuesFromProps:Ed,createRenderState:Ad}),p3=Ob({scrapeMotionValuesFromProps:pb,createRenderState:kb}),g3=Symbol.for("motionComponentSymbol");function y3(n,i,s){const r=E.useRef(s);E.useInsertionEffect(()=>{r.current=s});const u=E.useRef(null);return E.useCallback(d=>{var h;d&&((h=n.onMount)==null||h.call(n,d));const f=r.current;if(typeof f=="function")if(d){const g=f(d);typeof g=="function"&&(u.current=g)}else u.current?(u.current(),u.current=null):f(d);else f&&(f.current=d);i&&(d?i.mount(d):i.unmount())},[i])}const Vb=E.createContext({});function ki(n){return n&&typeof n=="object"&&Object.prototype.hasOwnProperty.call(n,"current")}function v3(n,i,s,r,u,d){var B,X;const{visualElement:f}=E.useContext(go),h=E.useContext(Nb),g=E.useContext(co),m=E.useContext(po),y=m.reducedMotion,v=m.skipAnimations,S=E.useRef(null),T=E.useRef(!1);r=r||h.renderer,!S.current&&r&&(S.current=r(n,{visualState:i,parent:f,props:s,presenceContext:g,blockInitialAnimation:g?g.initial===!1:!1,reducedMotionConfig:y,skipAnimations:v,isSVG:d}),T.current&&S.current&&(S.current.manuallyAnimateOnMount=!0));const M=S.current,j=E.useContext(Vb);M&&!M.projection&&u&&(M.type==="html"||M.type==="svg")&&b3(S.current,s,u,j);const N=E.useRef(!1);E.useInsertionEffect(()=>{M&&N.current&&M.update(s,g)});const D=s[Gv],H=E.useRef(!!D&&typeof window<"u"&&!((B=window.MotionHandoffIsComplete)!=null&&B.call(window,D))&&((X=window.MotionHasOptimisedAnimation)==null?void 0:X.call(window,D)));return uo(()=>{T.current=!0,M&&(N.current=!0,window.MotionIsMounted=!0,M.updateFeatures(),M.scheduleRenderMicrotask(),H.current&&M.animationState&&M.animationState.animateChanges())}),E.useEffect(()=>{M&&(!H.current&&M.animationState&&M.animationState.animateChanges(),H.current&&(queueMicrotask(()=>{var K;(K=window.MotionHandoffMarkAsComplete)==null||K.call(window,D)}),H.current=!1),M.enteringChildren=void 0)}),M}function b3(n,i,s,r){const{layoutId:u,layout:d,drag:f,dragConstraints:h,layoutScroll:g,layoutRoot:m,layoutAnchor:y,layoutCrossfade:v}=i;n.projection=new s(n.latestValues,i["data-framer-portal-id"]?void 0:_b(n.parent)),n.projection.setOptions({layoutId:u,layout:d,alwaysMeasureLayout:!!f||h&&ki(h),visualElement:n,animationType:typeof d=="string"?d:"both",initialPromotionConfig:r,crossfade:v,layoutScroll:g,layoutRoot:m,layoutAnchor:y})}function _b(n){if(n)return n.options.allowProjection!==!1?n.projection:_b(n.parent)}function tf(n,{forwardMotionProps:i=!1,type:s}={},r,u){r&&t3(r);const d=s?s==="svg":Cd(n),f=d?p3:m3;function h(m,y){let v;const S={...E.useContext(po),...m,layoutId:x3(m)},{isStatic:T}=S,M=l3(m),j=f(m,T);if(!T&&typeof window<"u"){S3();const N=w3(S);v=N.MeasureLayout,M.visualElement=v3(n,j,S,u,N.ProjectionNode,d)}return b.jsxs(go.Provider,{value:M,children:[v&&M.visualElement?b.jsx(v,{visualElement:M.visualElement,...S}):null,f3(n,m,y3(j,M.visualElement,y),j,T,i,d)]})}h.displayName=`motion.${typeof n=="string"?n:`create(${n.displayName??n.name??""})`}`;const g=E.forwardRef(h);return g[g3]=n,g}function x3({layoutId:n}){const i=E.useContext(Wf).id;return i&&n!==void 0?i+"-"+n:n}function S3(n,i){E.useContext(Nb).strict}function w3(n){const i=jb(),{drag:s,layout:r}=i;if(!s&&!r)return{};const u={...s,...r};return{MeasureLayout:s!=null&&s.isEnabled(n)||r!=null&&r.isEnabled(n)?u.MeasureLayout:void 0,ProjectionNode:u.ProjectionNode}}function T3(n,i){if(typeof Proxy>"u")return tf;const s=new Map,r=(d,f)=>tf(d,f,n,i),u=(d,f)=>r(d,f);return new Proxy(u,{get:(d,f)=>f==="create"?r:(s.has(f)||s.set(f,tf(f,void 0,n,i)),s.get(f))})}const E3=(n,i)=>i.isSVG??Cd(n)?new tC(i):new PA(i,{allowProjection:n!==E.Fragment});class A3 extends va{constructor(i){super(i),i.animationState||(i.animationState=lC(i))}updateAnimationControlsSubscription(){const{animate:i}=this.node.getProps();ho(i)&&(this.unmountControls=i.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:i}=this.node.getProps(),{animate:s}=this.node.prevProps||{};i!==s&&this.updateAnimationControlsSubscription()}unmount(){var i;this.node.animationState.reset(),(i=this.unmountControls)==null||i.call(this)}}let C3=0;class M3 extends va{constructor(){super(...arguments),this.id=C3++,this.isExitComplete=!1}update(){var d;if(!this.node.presenceContext)return;const{isPresent:i,onExitComplete:s}=this.node.presenceContext,{isPresent:r}=this.node.prevPresenceContext||{};if(!this.node.animationState||i===r)return;if(i&&r===!1){if(this.isExitComplete){const{initial:f,custom:h}=this.node.getProps();if(typeof f=="string"){const g=Ka(this.node,f,h);if(g){const{transition:m,transitionEnd:y,...v}=g;for(const S in v)(d=this.node.getValue(S))==null||d.jump(v[S])}}this.node.animationState.reset(),this.node.animationState.animateChanges()}else this.node.animationState.setActive("exit",!1);this.isExitComplete=!1;return}const u=this.node.animationState.setActive("exit",!i);s&&!i&&u.then(()=>{this.isExitComplete=!0,s(this.id)})}mount(){const{register:i,onExitComplete:s}=this.node.presenceContext||{};s&&s(this.id),i&&(this.unmount=i(this.id))}unmount(){}}const R3={animation:{Feature:A3},exit:{Feature:M3}};function us(n){return{point:{x:n.pageX,y:n.pageY}}}const N3=n=>i=>bd(i)&&n(i,us(i));function Jl(n,i,s,r){return ns(n,i,N3(s),r)}const Bb=({current:n})=>n?n.ownerDocument.defaultView:null,t0=(n,i)=>Math.abs(n-i);function j3(n,i){const s=t0(n.x,i.x),r=t0(n.y,i.y);return Math.sqrt(s**2+r**2)}const e0=new Set(["auto","scroll"]);class Lb{constructor(i,s,{transformPagePoint:r,contextWindow:u=window,dragSnapToOrigin:d=!1,distanceThreshold:f=3,element:h}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.lastRawMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.scrollPositions=new Map,this.removeScrollListeners=null,this.onElementScroll=T=>{this.handleScroll(T.target)},this.onWindowScroll=()=>{this.handleScroll(window)},this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;this.lastRawMoveEventInfo&&(this.lastMoveEventInfo=Dr(this.lastRawMoveEventInfo,this.transformPagePoint));const T=ef(this.lastMoveEventInfo,this.history),M=this.startEvent!==null,j=j3(T.offset,{x:0,y:0})>=this.distanceThreshold;if(!M&&!j)return;const{point:N}=T,{timestamp:D}=le;this.history.push({...N,timestamp:D});const{onStart:H,onMove:B}=this.handlers;M||(H&&H(this.lastMoveEvent,T),this.startEvent=this.lastMoveEvent),B&&B(this.lastMoveEvent,T)},this.handlePointerMove=(T,M)=>{this.lastMoveEvent=T,this.lastRawMoveEventInfo=M,this.lastMoveEventInfo=Dr(M,this.transformPagePoint),At.update(this.updatePoint,!0)},this.handlePointerUp=(T,M)=>{this.end();const{onEnd:j,onSessionEnd:N,resumeAnimation:D}=this.handlers;if((this.dragSnapToOrigin||!this.startEvent)&&D&&D(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const H=ef(T.type==="pointercancel"?this.lastMoveEventInfo:Dr(M,this.transformPagePoint),this.history);this.startEvent&&j&&j(T,H),N&&N(T,H)},!bd(i))return;this.dragSnapToOrigin=d,this.handlers=s,this.transformPagePoint=r,this.distanceThreshold=f,this.contextWindow=u||window;const g=us(i),m=Dr(g,this.transformPagePoint),{point:y}=m,{timestamp:v}=le;this.history=[{...y,timestamp:v}];const{onSessionStart:S}=s;S&&S(i,ef(m,this.history)),this.removeListeners=ss(Jl(this.contextWindow,"pointermove",this.handlePointerMove),Jl(this.contextWindow,"pointerup",this.handlePointerUp),Jl(this.contextWindow,"pointercancel",this.handlePointerUp)),h&&this.startScrollTracking(h)}startScrollTracking(i){let s=i.parentElement;for(;s;){const r=getComputedStyle(s);(e0.has(r.overflowX)||e0.has(r.overflowY))&&this.scrollPositions.set(s,{x:s.scrollLeft,y:s.scrollTop}),s=s.parentElement}this.scrollPositions.set(window,{x:window.scrollX,y:window.scrollY}),window.addEventListener("scroll",this.onElementScroll,{capture:!0}),window.addEventListener("scroll",this.onWindowScroll),this.removeScrollListeners=()=>{window.removeEventListener("scroll",this.onElementScroll,{capture:!0}),window.removeEventListener("scroll",this.onWindowScroll)}}handleScroll(i){const s=this.scrollPositions.get(i);if(!s)return;const r=i===window,u=r?{x:window.scrollX,y:window.scrollY}:{x:i.scrollLeft,y:i.scrollTop},d={x:u.x-s.x,y:u.y-s.y};d.x===0&&d.y===0||(r?this.lastMoveEventInfo&&(this.lastMoveEventInfo.point.x+=d.x,this.lastMoveEventInfo.point.y+=d.y):this.history.length>0&&(this.history[0].x-=d.x,this.history[0].y-=d.y),this.scrollPositions.set(i,u),At.update(this.updatePoint,!0))}updateHandlers(i){this.handlers=i}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),Fe(this.updatePoint)}}function Dr(n,i){return i?{point:i(n.point)}:n}function n0(n,i){return{x:n.x-i.x,y:n.y-i.y}}function ef({point:n},i){return{point:n,delta:n0(n,Ub(i)),offset:n0(n,D3(i)),velocity:z3(i,.1)}}function D3(n){return n[0]}function Ub(n){return n[n.length-1]}function z3(n,i){if(n.length<2)return{x:0,y:0};let s=n.length-1,r=null;const u=Ub(n);for(;s>=0&&(r=n[s],!(u.timestamp-r.timestamp>_e(i)));)s--;if(!r)return{x:0,y:0};r===n[0]&&n.length>2&&u.timestamp-r.timestamp>_e(i)*2&&(r=n[1]);const d=Pe(u.timestamp-r.timestamp);if(d===0)return{x:0,y:0};const f={x:(u.x-r.x)/d,y:(u.y-r.y)/d};return f.x===1/0&&(f.x=0),f.y===1/0&&(f.y=0),f}function k3(n,{min:i,max:s},r){return i!==void 0&&n<i?n=r?Lt(i,n,r.min):Math.max(n,i):s!==void 0&&n>s&&(n=r?Lt(s,n,r.max):Math.min(n,s)),n}function a0(n,i,s){return{min:i!==void 0?n.min+i:void 0,max:s!==void 0?n.max+s-(n.max-n.min):void 0}}function O3(n,{top:i,left:s,bottom:r,right:u}){return{x:a0(n.x,s,u),y:a0(n.y,i,r)}}function i0(n,i){let s=i.min-n.min,r=i.max-n.max;return i.max-i.min<n.max-n.min&&([s,r]=[r,s]),{min:s,max:r}}function V3(n,i){return{x:i0(n.x,i.x),y:i0(n.y,i.y)}}function _3(n,i){let s=.5;const r=ge(n),u=ge(i);return u>r?s=Ui(i.min,i.max-r,n.min):r>u&&(s=Ui(n.min,n.max-u,i.min)),ln(0,1,s)}function B3(n,i){const s={};return i.min!==void 0&&(s.min=i.min-n.min),i.max!==void 0&&(s.max=i.max-n.min),s}const Bf=.35;function L3(n=Bf){return n===!1?n=0:n===!0&&(n=Bf),{x:l0(n,"left","right"),y:l0(n,"top","bottom")}}function l0(n,i,s){return{min:s0(n,i),max:s0(n,s)}}function s0(n,i){return typeof n=="number"?n:n[i]||0}const U3=new WeakMap;class H3{constructor(i){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=ee(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=i}start(i,{snapToCursor:s=!1,distanceThreshold:r}={}){const{presenceContext:u}=this.visualElement;if(u&&u.isPresent===!1)return;const d=v=>{s&&this.snapToCursor(us(v).point),this.stopAnimation()},f=(v,S)=>{const{drag:T,dragPropagation:M,onDragStart:j}=this.getProps();if(T&&!M&&(this.openDragLock&&this.openDragLock(),this.openDragLock=dA(T),!this.openDragLock))return;this.latestPointerEvent=v,this.latestPanInfo=S,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),cn(D=>{let H=this.getAxisMotionValue(D).get()||0;if(hn.test(H)){const{projection:B}=this.visualElement;if(B&&B.layout){const X=B.layout.layoutBox[D];X&&(H=ge(X)*(parseFloat(H)/100))}}this.originPoint[D]=H}),j&&At.update(()=>j(v,S),!1,!0),Mf(this.visualElement,"transform");const{animationState:N}=this.visualElement;N&&N.setActive("whileDrag",!0)},h=(v,S)=>{this.latestPointerEvent=v,this.latestPanInfo=S;const{dragPropagation:T,dragDirectionLock:M,onDirectionLock:j,onDrag:N}=this.getProps();if(!T&&!this.openDragLock)return;const{offset:D}=S;if(M&&this.currentDirection===null){this.currentDirection=G3(D),this.currentDirection!==null&&j&&j(this.currentDirection);return}this.updateAxis("x",S.point,D),this.updateAxis("y",S.point,D),this.visualElement.render(),N&&At.update(()=>N(v,S),!1,!0)},g=(v,S)=>{this.latestPointerEvent=v,this.latestPanInfo=S,this.stop(v,S),this.latestPointerEvent=null,this.latestPanInfo=null},m=()=>{const{dragSnapToOrigin:v}=this.getProps();(v||this.constraints)&&this.startAnimation({x:0,y:0})},{dragSnapToOrigin:y}=this.getProps();this.panSession=new Lb(i,{onSessionStart:d,onStart:f,onMove:h,onSessionEnd:g,resumeAnimation:m},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:y,distanceThreshold:r,contextWindow:Bb(this.visualElement),element:this.visualElement.current})}stop(i,s){const r=i||this.latestPointerEvent,u=s||this.latestPanInfo,d=this.isDragging;if(this.cancel(),!d||!u||!r)return;const{velocity:f}=u;this.startAnimation(f);const{onDragEnd:h}=this.getProps();h&&At.postRender(()=>h(r,u))}cancel(){this.isDragging=!1;const{projection:i,animationState:s}=this.visualElement;i&&(i.isAnimationBlocked=!1),this.endPanSession();const{dragPropagation:r}=this.getProps();!r&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),s&&s.setActive("whileDrag",!1)}endPanSession(){this.panSession&&this.panSession.end(),this.panSession=void 0}updateAxis(i,s,r){const{drag:u}=this.getProps();if(!r||!zr(i,u,this.currentDirection))return;const d=this.getAxisMotionValue(i);let f=this.originPoint[i]+r[i];this.constraints&&this.constraints[i]&&(f=k3(f,this.constraints[i],this.elastic[i])),d.set(f)}resolveConstraints(){var d;const{dragConstraints:i,dragElastic:s}=this.getProps(),r=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):(d=this.visualElement.projection)==null?void 0:d.layout,u=this.constraints;i&&ki(i)?this.constraints||(this.constraints=this.resolveRefConstraints()):i&&r?this.constraints=O3(r.layoutBox,i):this.constraints=!1,this.elastic=L3(s),u!==this.constraints&&!ki(i)&&r&&this.constraints&&!this.hasMutatedConstraints&&cn(f=>{this.constraints!==!1&&this.getAxisMotionValue(f)&&(this.constraints[f]=B3(r.layoutBox[f],this.constraints[f]))})}resolveRefConstraints(){const{dragConstraints:i,onMeasureDragConstraints:s}=this.getProps();if(!i||!ki(i))return!1;const r=i.current,{projection:u}=this.visualElement;if(!u||!u.layout)return!1;const d=GA(r,u.root,this.visualElement.getTransformPagePoint());let f=V3(u.layout.layoutBox,d);if(s){const h=s(UA(f));this.hasMutatedConstraints=!!h,h&&(f=sb(h))}return f}startAnimation(i){const{drag:s,dragMomentum:r,dragElastic:u,dragTransition:d,dragSnapToOrigin:f,onDragTransitionEnd:h}=this.getProps(),g=this.constraints||{},m=cn(y=>{if(!zr(y,s,this.currentDirection))return;let v=g&&g[y]||{};(f===!0||f===y)&&(v={min:0,max:0});const S=u?200:1e6,T=u?40:1e7,M={type:"inertia",velocity:r?i[y]:0,bounceStiffness:S,bounceDamping:T,timeConstant:750,restDelta:1,restSpeed:10,...d,...v};return this.startAxisValueAnimation(y,M)});return Promise.all(m).then(h)}startAxisValueAnimation(i,s){const r=this.getAxisMotionValue(i);return Mf(this.visualElement,i),r.start(md(i,r,0,s,this.visualElement,!1))}stopAnimation(){cn(i=>this.getAxisMotionValue(i).stop())}getAxisMotionValue(i){const s=`_drag${i.toUpperCase()}`,r=this.visualElement.getProps(),u=r[s];return u||this.visualElement.getValue(i,(r.initial?r.initial[i]:void 0)||0)}snapToCursor(i){cn(s=>{const{drag:r}=this.getProps();if(!zr(s,r,this.currentDirection))return;const{projection:u}=this.visualElement,d=this.getAxisMotionValue(s);if(u&&u.layout){const{min:f,max:h}=u.layout.layoutBox[s],g=d.get()||0;d.set(i[s]-Lt(f,h,.5)+g)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:i,dragConstraints:s}=this.getProps(),{projection:r}=this.visualElement;if(!ki(s)||!r||!this.constraints)return;this.stopAnimation();const u={x:0,y:0};cn(f=>{const h=this.getAxisMotionValue(f);if(h&&this.constraints!==!1){const g=h.get();u[f]=_3({min:g,max:g},this.constraints[f])}});const{transformTemplate:d}=this.visualElement.getProps();this.visualElement.current.style.transform=d?d({},""):"none",r.root&&r.root.updateScroll(),r.updateLayout(),this.constraints=!1,this.resolveConstraints(),cn(f=>{if(!zr(f,i,null))return;const h=this.getAxisMotionValue(f),{min:g,max:m}=this.constraints[f];h.set(Lt(g,m,u[f]))}),this.visualElement.render()}addListeners(){if(!this.visualElement.current)return;U3.set(this.visualElement,this);const i=this.visualElement.current,s=Jl(i,"pointerdown",m=>{const{drag:y,dragListener:v=!0}=this.getProps(),S=m.target,T=S!==i&&vA(S);y&&v&&!T&&this.start(m)});let r;const u=()=>{const{dragConstraints:m}=this.getProps();ki(m)&&m.current&&(this.constraints=this.resolveRefConstraints(),r||(r=q3(i,m.current,()=>this.scalePositionWithinConstraints())))},{projection:d}=this.visualElement,f=d.addEventListener("measure",u);d&&!d.layout&&(d.root&&d.root.updateScroll(),d.updateLayout()),At.read(u);const h=ns(window,"resize",()=>this.scalePositionWithinConstraints()),g=d.addEventListener("didUpdate",(({delta:m,hasLayoutChanged:y})=>{this.isDragging&&y&&(cn(v=>{const S=this.getAxisMotionValue(v);S&&(this.originPoint[v]+=m[v].translate,S.set(S.get()+m[v].translate))}),this.visualElement.render())}));return()=>{h(),s(),f(),g&&g(),r&&r()}}getProps(){const i=this.visualElement.getProps(),{drag:s=!1,dragDirectionLock:r=!1,dragPropagation:u=!1,dragConstraints:d=!1,dragElastic:f=Bf,dragMomentum:h=!0}=i;return{...i,drag:s,dragDirectionLock:r,dragPropagation:u,dragConstraints:d,dragElastic:f,dragMomentum:h}}}function r0(n){let i=!0;return()=>{if(i){i=!1;return}n()}}function q3(n,i,s){const r=Df(n,r0(s)),u=Df(i,r0(s));return()=>{r(),u()}}function zr(n,i,s){return(i===!0||i===n)&&(s===null||s===n)}function G3(n,i=10){let s=null;return Math.abs(n.y)>i?s="y":Math.abs(n.x)>i&&(s="x"),s}class Y3 extends va{constructor(i){super(i),this.removeGroupControls=Ee,this.removeListeners=Ee,this.controls=new H3(i)}mount(){const{dragControls:i}=this.node.getProps();i&&(this.removeGroupControls=i.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||Ee}update(){const{dragControls:i}=this.node.getProps(),{dragControls:s}=this.node.prevProps||{};i!==s&&(this.removeGroupControls(),i&&(this.removeGroupControls=i.subscribe(this.controls)))}unmount(){this.removeGroupControls(),this.removeListeners(),this.controls.isDragging||this.controls.endPanSession()}}const nf=n=>(i,s)=>{n&&At.update(()=>n(i,s),!1,!0)};class X3 extends va{constructor(){super(...arguments),this.removePointerDownListener=Ee}onPointerDown(i){this.session=new Lb(i,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:Bb(this.node)})}createPanHandlers(){const{onPanSessionStart:i,onPanStart:s,onPan:r,onPanEnd:u}=this.node.getProps();return{onSessionStart:nf(i),onStart:nf(s),onMove:nf(r),onEnd:(d,f)=>{delete this.session,u&&At.postRender(()=>u(d,f))}}}mount(){this.removePointerDownListener=Jl(this.node.current,"pointerdown",i=>this.onPointerDown(i))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}let af=!1;class K3 extends E.Component{componentDidMount(){const{visualElement:i,layoutGroup:s,switchLayoutGroup:r,layoutId:u}=this.props,{projection:d}=i;d&&(s.group&&s.group.add(d),r&&r.register&&u&&r.register(d),af&&d.root.didUpdate(),d.addEventListener("animationComplete",()=>{this.safeToRemove()}),d.setOptions({...d.options,layoutDependency:this.props.layoutDependency,onExitComplete:()=>this.safeToRemove()})),Kr.hasEverUpdated=!0}getSnapshotBeforeUpdate(i){const{layoutDependency:s,visualElement:r,drag:u,isPresent:d}=this.props,{projection:f}=r;return f&&(f.isPresent=d,i.layoutDependency!==s&&f.setOptions({...f.options,layoutDependency:s}),af=!0,u||i.layoutDependency!==s||s===void 0||i.isPresent!==d?f.willUpdate():this.safeToRemove(),i.isPresent!==d&&(d?f.promote():f.relegate()||At.postRender(()=>{const h=f.getStack();(!h||!h.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{visualElement:i,layoutAnchor:s}=this.props,{projection:r}=i;r&&(r.options.layoutAnchor=s,r.root.didUpdate(),vd.postRender(()=>{!r.currentAnimation&&r.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:i,layoutGroup:s,switchLayoutGroup:r}=this.props,{projection:u}=i;af=!0,u&&(u.scheduleCheckAfterUnmount(),s&&s.group&&s.group.remove(u),r&&r.deregister&&r.deregister(u))}safeToRemove(){const{safeToRemove:i}=this.props;i&&i()}render(){return null}}function Hb(n){const[i,s]=Rb(),r=E.useContext(Wf);return b.jsx(K3,{...n,layoutGroup:r,switchLayoutGroup:E.useContext(Vb),isPresent:i,safeToRemove:s})}const Q3={pan:{Feature:X3},drag:{Feature:Y3,ProjectionNode:Mb,MeasureLayout:Hb}};function o0(n,i,s){const{props:r}=n;n.animationState&&r.whileHover&&n.animationState.setActive("whileHover",s==="Start");const u="onHover"+s,d=r[u];d&&At.postRender(()=>d(i,us(i)))}class Z3 extends va{mount(){const{current:i}=this.node;i&&(this.unmount=mA(i,(s,r)=>(o0(this.node,r,"Start"),u=>o0(this.node,u,"End"))))}unmount(){}}class P3 extends va{constructor(){super(...arguments),this.isActive=!1}onFocus(){let i=!1;try{i=this.node.current.matches(":focus-visible")}catch{i=!0}!i||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){!this.isActive||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=ss(ns(this.node.current,"focus",()=>this.onFocus()),ns(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function u0(n,i,s){const{props:r}=n;if(n.current instanceof HTMLButtonElement&&n.current.disabled)return;n.animationState&&r.whileTap&&n.animationState.setActive("whileTap",s==="Start");const u="onTap"+(s==="End"?"":s),d=r[u];d&&At.postRender(()=>d(i,us(i)))}class F3 extends va{mount(){const{current:i}=this.node;if(!i)return;const{globalTapTarget:s,propagate:r}=this.node.props;this.unmount=xA(i,(u,d)=>(u0(this.node,d,"Start"),(f,{success:h})=>u0(this.node,f,h?"End":"Cancel")),{useGlobalTarget:s,stopPropagation:(r==null?void 0:r.tap)===!1})}unmount(){}}const Lf=new WeakMap,lf=new WeakMap,J3=n=>{const i=Lf.get(n.target);i&&i(n)},W3=n=>{n.forEach(J3)};function $3({root:n,...i}){const s=n||document;lf.has(s)||lf.set(s,{});const r=lf.get(s),u=JSON.stringify(i);return r[u]||(r[u]=new IntersectionObserver(W3,{root:n,...i})),r[u]}function I3(n,i,s){const r=$3(i);return Lf.set(n,s),r.observe(n),()=>{Lf.delete(n),r.unobserve(n)}}const tM={some:0,all:1};class eM extends va{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){var g;(g=this.stopObserver)==null||g.call(this);const{viewport:i={}}=this.node.getProps(),{root:s,margin:r,amount:u="some",once:d}=i,f={root:s?s.current:void 0,rootMargin:r,threshold:typeof u=="number"?u:tM[u]},h=m=>{const{isIntersecting:y}=m;if(this.isInView===y||(this.isInView=y,d&&!y&&this.hasEnteredView))return;y&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",y);const{onViewportEnter:v,onViewportLeave:S}=this.node.getProps(),T=y?v:S;T&&T(m)};this.stopObserver=I3(this.node.current,f,h)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:i,prevProps:s}=this.node;["amount","margin","root"].some(nM(i,s))&&this.startObserver()}unmount(){var i;(i=this.stopObserver)==null||i.call(this),this.hasEnteredView=!1,this.isInView=!1}}function nM({viewport:n={}},{viewport:i={}}={}){return s=>n[s]!==i[s]}const aM={inView:{Feature:eM},tap:{Feature:F3},focus:{Feature:P3},hover:{Feature:Z3}},iM={layout:{ProjectionNode:Mb,MeasureLayout:Hb}},lM={...R3,...aM,...Q3,...iM},se=T3(lM,E3);function io(n){return typeof window>"u"?!1:n?Dv():dd()}const sM=50,c0=()=>({current:0,offset:[],progress:0,scrollLength:0,targetOffset:0,targetLength:0,containerLength:0,velocity:0}),rM=()=>({time:0,x:c0(),y:c0()}),oM={x:{length:"Width",position:"Left"},y:{length:"Height",position:"Top"}};function f0(n,i,s,r){const u=s[i],{length:d,position:f}=oM[i],h=u.current,g=s.time;u.current=Math.abs(n[`scroll${f}`]),u.scrollLength=n[`scroll${d}`]-n[`client${d}`],u.offset.length=0,u.offset[0]=0,u.offset[1]=u.scrollLength,u.progress=Ui(0,u.scrollLength,u.current);const m=r-g;u.velocity=m>sM?0:td(u.current-h,m)}function uM(n,i,s){f0(n,"x",i,s),f0(n,"y",i,s),i.time=s}function cM(n,i){const s={x:0,y:0};let r=n;for(;r&&r!==i;)if(Pl(r))s.x+=r.offsetLeft,s.y+=r.offsetTop,r=r.offsetParent;else if(r.tagName==="svg"){const u=r.getBoundingClientRect();r=r.parentElement;const d=r.getBoundingClientRect();s.x+=u.left-d.left,s.y+=u.top-d.top}else if(r instanceof SVGGraphicsElement){const{x:u,y:d}=r.getBBox();s.x+=u,s.y+=d;let f=null,h=r.parentNode;for(;!f;)h.tagName==="svg"&&(f=h),h=r.parentNode;r=f}else break;return s}const Uf={start:0,center:.5,end:1};function d0(n,i,s=0){let r=0;if(n in Uf&&(n=Uf[n]),typeof n=="string"){const u=parseFloat(n);n.endsWith("px")?r=u:n.endsWith("%")?n=u/100:n.endsWith("vw")?r=u/100*document.documentElement.clientWidth:n.endsWith("vh")?r=u/100*document.documentElement.clientHeight:n=u}return typeof n=="number"&&(r=i*n),s+r}const fM=[0,0];function dM(n,i,s,r){let u=Array.isArray(n)?n:fM,d=0,f=0;return typeof n=="number"?u=[n,n]:typeof n=="string"&&(n=n.trim(),n.includes(" ")?u=n.split(" "):u=[n,Uf[n]?n:"0"]),d=d0(u[0],s,r),f=d0(u[1],i),d-f}const Xl={Enter:[[0,1],[1,1]],Exit:[[0,0],[1,0]],Any:[[1,0],[0,1]],All:[[0,0],[1,1]]},hM={x:0,y:0};function mM(n){return"getBBox"in n&&n.tagName!=="svg"?n.getBBox():{width:n.clientWidth,height:n.clientHeight}}function pM(n,i,s){const{offset:r=Xl.All}=s,{target:u=n,axis:d="y"}=s,f=d==="y"?"height":"width",h=u!==n?cM(u,n):hM,g=u===n?{width:n.scrollWidth,height:n.scrollHeight}:mM(u),m={width:n.clientWidth,height:n.clientHeight};i[d].offset.length=0;let y=!i[d].interpolate;const v=r.length;for(let S=0;S<v;S++){const T=dM(r[S],m[f],g[f],h[d]);!y&&T!==i[d].interpolatorOffsets[S]&&(y=!0),i[d].offset[S]=T}y&&(i[d].interpolate=od(i[d].offset,Cv(r),{clamp:!1}),i[d].interpolatorOffsets=[...i[d].offset]),i[d].progress=ln(0,1,i[d].interpolate(i[d].current))}function gM(n,i=n,s){if(s.x.targetOffset=0,s.y.targetOffset=0,i!==n){let r=i;for(;r&&r!==n;)s.x.targetOffset+=r.offsetLeft,s.y.targetOffset+=r.offsetTop,r=r.offsetParent}s.x.targetLength=i===n?i.scrollWidth:i.clientWidth,s.y.targetLength=i===n?i.scrollHeight:i.clientHeight,s.x.containerLength=n.clientWidth,s.y.containerLength=n.clientHeight}function yM(n,i,s,r={}){return{measure:u=>{gM(n,r.target,s),uM(n,s,u),(r.offset||r.target)&&pM(n,s,r)},notify:()=>i(s)}}const zi=new WeakMap,h0=new WeakMap,sf=new WeakMap,m0=new WeakMap,kr=new WeakMap,p0=n=>n===document.scrollingElement?window:n;function qb(n,{container:i=document.scrollingElement,trackContentSize:s=!1,...r}={}){if(!i)return Ee;let u=sf.get(i);u||(u=new Set,sf.set(i,u));const d=rM(),f=yM(i,n,d,r);if(u.add(f),!zi.has(i)){const g=()=>{for(const S of u)S.measure(le.timestamp);At.preUpdate(m)},m=()=>{for(const S of u)S.notify()},y=()=>At.read(g);zi.set(i,y);const v=p0(i);window.addEventListener("resize",y),i!==document.documentElement&&h0.set(i,Df(i,y)),v.addEventListener("scroll",y),y()}if(s&&!kr.has(i)){const g=zi.get(i),m={width:i.scrollWidth,height:i.scrollHeight};m0.set(i,m);const y=()=>{const S=i.scrollWidth,T=i.scrollHeight;(m.width!==S||m.height!==T)&&(g(),m.width=S,m.height=T)},v=At.read(y,!0);kr.set(i,v)}const h=zi.get(i);return At.read(h,!1,!0),()=>{var v;Fe(h);const g=sf.get(i);if(!g||(g.delete(f),g.size))return;const m=zi.get(i);zi.delete(i),m&&(p0(i).removeEventListener("scroll",m),(v=h0.get(i))==null||v(),window.removeEventListener("resize",m));const y=kr.get(i);y&&(Fe(y),kr.delete(i)),m0.delete(i)}}const vM=[[Xl.Enter,"entry"],[Xl.Exit,"exit"],[Xl.Any,"cover"],[Xl.All,"contain"]],g0={start:0,end:1};function bM(n){const i=n.trim().split(/\s+/);if(i.length!==2)return;const s=g0[i[0]],r=g0[i[1]];if(!(s===void 0||r===void 0))return[s,r]}function xM(n){if(n.length!==2)return;const i=[];for(const s of n)if(Array.isArray(s))i.push(s);else if(typeof s=="string"){const r=bM(s);if(!r)return;i.push(r)}else return;return i}function SM(n,i){const s=xM(n);if(!s)return!1;for(let r=0;r<2;r++){const u=s[r],d=i[r];if(u[0]!==d[0]||u[1]!==d[1])return!1}return!0}function Md(n){if(!n)return{rangeStart:"contain 0%",rangeEnd:"contain 100%"};for(const[i,s]of vM)if(SM(n,i))return{rangeStart:`${s} 0%`,rangeEnd:`${s} 100%`}}const y0=new Map;function v0(n){const i={value:0},s=qb(r=>{i.value=r[n.axis].progress*100},n);return{currentTime:i,cancel:s}}function Gb({source:n,container:i,...s}){const{axis:r}=s;n&&(i=n);let u=y0.get(i);u||(u=new Map,y0.set(i,u));const d=s.target??"self";let f=u.get(d);f||(f={},u.set(d,f));const h=r+(s.offset??[]).join(",");return f[h]||(s.target&&io(s.target)?Md(s.offset)?f[h]=new ViewTimeline({subject:s.target,axis:r}):f[h]=v0({container:i,...s}):io()?f[h]=new ScrollTimeline({source:i,axis:r}):f[h]=v0({container:i,...s})),f[h]}function wM(n,i){const s=Gb(i),r=i.target?Md(i.offset):void 0,u=i.target?io(i.target)&&!!r:io();return n.attachTimeline({timeline:u?s:void 0,...r&&u&&{rangeStart:r.rangeStart,rangeEnd:r.rangeEnd},observe:d=>(d.pause(),eb(f=>{d.time=d.iterationDuration*f},s))})}function TM(n){return n.length===2}function EM(n,i){return TM(n)?qb(s=>{n(s[i.axis].progress,s)},i):eb(n,Gb(i))}function Yb(n,{axis:i="y",container:s=document.scrollingElement,...r}={}){if(!s)return Ee;const u={axis:i,container:s,...r};return typeof n=="function"?EM(n,u):wM(n,u)}const AM=()=>({scrollX:nn(0),scrollY:nn(0),scrollXProgress:nn(0),scrollYProgress:nn(0)}),Or=n=>n?!n.current:!1;function b0(n,i,s,r){return{factory:u=>Yb(u,{...i,axis:n,container:(s==null?void 0:s.current)||void 0,target:(r==null?void 0:r.current)||void 0}),times:[0,1],keyframes:[0,1],ease:u=>u,duration:1}}function CM(n,i){return typeof window>"u"?!1:n?Dv()&&!!Md(i):dd()}function MM({container:n,target:i,...s}={}){const r=ga(AM);CM(i,s.offset)&&(r.scrollXProgress.accelerate=b0("x",s,n,i),r.scrollYProgress.accelerate=b0("y",s,n,i));const u=E.useRef(null),d=E.useRef(!1),f=E.useCallback(()=>(u.current=Yb((h,{x:g,y:m})=>{r.scrollX.set(g.current),r.scrollXProgress.set(g.progress),r.scrollY.set(m.current),r.scrollYProgress.set(m.progress)},{...s,container:(n==null?void 0:n.current)||void 0,target:(i==null?void 0:i.current)||void 0}),()=>{var h;(h=u.current)==null||h.call(u)}),[n,i,JSON.stringify(s.offset)]);return uo(()=>{if(d.current=!1,Or(n)||Or(i)){d.current=!0;return}else return f()},[f]),E.useEffect(()=>{if(d.current)return Il(!Or(n)),Il(!Or(i)),f()},[f]),r}function RM(n){const i=ga(()=>nn(n)),{isStatic:s}=E.useContext(po);if(s){const[,r]=E.useState(n);E.useEffect(()=>i.on("change",r),[])}return i}function Xb(n,i){const s=RM(i()),r=()=>s.set(i());return r(),uo(()=>{const u=()=>At.preRender(r,!1,!0),d=n.map(f=>f.on("change",u));return()=>{d.forEach(f=>f()),Fe(r)}}),s}function NM(n){Zl.current=[],n();const i=Xb(Zl.current,n);return Zl.current=void 0,i}function Hf(n,i,s,r){if(typeof n=="function")return NM(n);if(s!==void 0&&!Array.isArray(s)&&typeof i!="function")return jM(n,i,s,r);const f=typeof i=="function"?i:jA(i,s,r),h=Array.isArray(n)?x0(n,f):x0([n],([m])=>f(m)),g=Array.isArray(n)?void 0:n.accelerate;return g&&!g.isTransformed&&typeof i!="function"&&Array.isArray(s)&&(r==null?void 0:r.clamp)!==!1&&(h.accelerate={...g,times:i,keyframes:s,isTransformed:!0}),h}function x0(n,i){const s=ga(()=>[]);return Xb(n,()=>{s.length=0;const r=n.length;for(let u=0;u<r;u++)s[u]=n[u].get();return i(s)})}function jM(n,i,s,r){const u=ga(()=>Object.keys(s)),d=ga(()=>({}));for(const f of u)d[f]=Hf(n,i,s[f],r);return d}function Kb(n){var i,s,r="";if(typeof n=="string"||typeof n=="number")r+=n;else if(typeof n=="object")if(Array.isArray(n)){var u=n.length;for(i=0;i<u;i++)n[i]&&(s=Kb(n[i]))&&(r&&(r+=" "),r+=s)}else for(s in n)n[s]&&(r&&(r+=" "),r+=s);return r}function DM(){for(var n,i,s=0,r="",u=arguments.length;s<u;s++)(n=arguments[s])&&(i=Kb(n))&&(r&&(r+=" "),r+=i);return r}const zM=(n,i)=>{const s=new Array(n.length+i.length);for(let r=0;r<n.length;r++)s[r]=n[r];for(let r=0;r<i.length;r++)s[n.length+r]=i[r];return s},kM=(n,i)=>({classGroupId:n,validator:i}),Qb=(n=new Map,i=null,s)=>({nextPart:n,validators:i,classGroupId:s}),lo="-",S0=[],OM="arbitrary..",VM=n=>{const i=BM(n),{conflictingClassGroups:s,conflictingClassGroupModifiers:r}=n;return{getClassGroupId:f=>{if(f.startsWith("[")&&f.endsWith("]"))return _M(f);const h=f.split(lo),g=h[0]===""&&h.length>1?1:0;return Zb(h,g,i)},getConflictingClassGroupIds:(f,h)=>{if(h){const g=r[f],m=s[f];return g?m?zM(m,g):g:m||S0}return s[f]||S0}}},Zb=(n,i,s)=>{if(n.length-i===0)return s.classGroupId;const u=n[i],d=s.nextPart.get(u);if(d){const m=Zb(n,i+1,d);if(m)return m}const f=s.validators;if(f===null)return;const h=i===0?n.join(lo):n.slice(i).join(lo),g=f.length;for(let m=0;m<g;m++){const y=f[m];if(y.validator(h))return y.classGroupId}},_M=n=>n.slice(1,-1).indexOf(":")===-1?void 0:(()=>{const i=n.slice(1,-1),s=i.indexOf(":"),r=i.slice(0,s);return r?OM+r:void 0})(),BM=n=>{const{theme:i,classGroups:s}=n;return LM(s,i)},LM=(n,i)=>{const s=Qb();for(const r in n){const u=n[r];Rd(u,s,r,i)}return s},Rd=(n,i,s,r)=>{const u=n.length;for(let d=0;d<u;d++){const f=n[d];UM(f,i,s,r)}},UM=(n,i,s,r)=>{if(typeof n=="string"){HM(n,i,s);return}if(typeof n=="function"){qM(n,i,s,r);return}GM(n,i,s,r)},HM=(n,i,s)=>{const r=n===""?i:Pb(i,n);r.classGroupId=s},qM=(n,i,s,r)=>{if(YM(n)){Rd(n(r),i,s,r);return}i.validators===null&&(i.validators=[]),i.validators.push(kM(s,n))},GM=(n,i,s,r)=>{const u=Object.entries(n),d=u.length;for(let f=0;f<d;f++){const[h,g]=u[f];Rd(g,Pb(i,h),s,r)}},Pb=(n,i)=>{let s=n;const r=i.split(lo),u=r.length;for(let d=0;d<u;d++){const f=r[d];let h=s.nextPart.get(f);h||(h=Qb(),s.nextPart.set(f,h)),s=h}return s},YM=n=>"isThemeGetter"in n&&n.isThemeGetter===!0,XM=n=>{if(n<1)return{get:()=>{},set:()=>{}};let i=0,s=Object.create(null),r=Object.create(null);const u=(d,f)=>{s[d]=f,i++,i>n&&(i=0,r=s,s=Object.create(null))};return{get(d){let f=s[d];if(f!==void 0)return f;if((f=r[d])!==void 0)return u(d,f),f},set(d,f){d in s?s[d]=f:u(d,f)}}},qf="!",w0=":",KM=[],T0=(n,i,s,r,u)=>({modifiers:n,hasImportantModifier:i,baseClassName:s,maybePostfixModifierPosition:r,isExternal:u}),QM=n=>{const{prefix:i,experimentalParseClassName:s}=n;let r=u=>{const d=[];let f=0,h=0,g=0,m;const y=u.length;for(let j=0;j<y;j++){const N=u[j];if(f===0&&h===0){if(N===w0){d.push(u.slice(g,j)),g=j+1;continue}if(N==="/"){m=j;continue}}N==="["?f++:N==="]"?f--:N==="("?h++:N===")"&&h--}const v=d.length===0?u:u.slice(g);let S=v,T=!1;v.endsWith(qf)?(S=v.slice(0,-1),T=!0):v.startsWith(qf)&&(S=v.slice(1),T=!0);const M=m&&m>g?m-g:void 0;return T0(d,T,S,M)};if(i){const u=i+w0,d=r;r=f=>f.startsWith(u)?d(f.slice(u.length)):T0(KM,!1,f,void 0,!0)}if(s){const u=r;r=d=>s({className:d,parseClassName:u})}return r},ZM=n=>{const i=new Map;return n.orderSensitiveModifiers.forEach((s,r)=>{i.set(s,1e6+r)}),s=>{const r=[];let u=[];for(let d=0;d<s.length;d++){const f=s[d],h=f[0]==="[",g=i.has(f);h||g?(u.length>0&&(u.sort(),r.push(...u),u=[]),r.push(f)):u.push(f)}return u.length>0&&(u.sort(),r.push(...u)),r}},PM=n=>({cache:XM(n.cacheSize),parseClassName:QM(n),sortModifiers:ZM(n),...VM(n)}),FM=/\s+/,JM=(n,i)=>{const{parseClassName:s,getClassGroupId:r,getConflictingClassGroupIds:u,sortModifiers:d}=i,f=[],h=n.trim().split(FM);let g="";for(let m=h.length-1;m>=0;m-=1){const y=h[m],{isExternal:v,modifiers:S,hasImportantModifier:T,baseClassName:M,maybePostfixModifierPosition:j}=s(y);if(v){g=y+(g.length>0?" "+g:g);continue}let N=!!j,D=r(N?M.substring(0,j):M);if(!D){if(!N){g=y+(g.length>0?" "+g:g);continue}if(D=r(M),!D){g=y+(g.length>0?" "+g:g);continue}N=!1}const H=S.length===0?"":S.length===1?S[0]:d(S).join(":"),B=T?H+qf:H,X=B+D;if(f.indexOf(X)>-1)continue;f.push(X);const K=u(D,N);for(let it=0;it<K.length;++it){const F=K[it];f.push(B+F)}g=y+(g.length>0?" "+g:g)}return g},WM=(...n)=>{let i=0,s,r,u="";for(;i<n.length;)(s=n[i++])&&(r=Fb(s))&&(u&&(u+=" "),u+=r);return u},Fb=n=>{if(typeof n=="string")return n;let i,s="";for(let r=0;r<n.length;r++)n[r]&&(i=Fb(n[r]))&&(s&&(s+=" "),s+=i);return s},$M=(n,...i)=>{let s,r,u,d;const f=g=>{const m=i.reduce((y,v)=>v(y),n());return s=PM(m),r=s.cache.get,u=s.cache.set,d=h,h(g)},h=g=>{const m=r(g);if(m)return m;const y=JM(g,s);return u(g,y),y};return d=f,(...g)=>d(WM(...g))},IM=[],te=n=>{const i=s=>s[n]||IM;return i.isThemeGetter=!0,i},Jb=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,Wb=/^\((?:(\w[\w-]*):)?(.+)\)$/i,t5=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,e5=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,n5=/\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$/,a5=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,i5=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,l5=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,fa=n=>t5.test(n),yt=n=>!!n&&!Number.isNaN(Number(n)),da=n=>!!n&&Number.isInteger(Number(n)),rf=n=>n.endsWith("%")&&yt(n.slice(0,-1)),On=n=>e5.test(n),$b=()=>!0,s5=n=>n5.test(n)&&!a5.test(n),Nd=()=>!1,r5=n=>i5.test(n),o5=n=>l5.test(n),u5=n=>!et(n)&&!at(n),c5=n=>ba(n,e1,Nd),et=n=>Jb.test(n),Ua=n=>ba(n,n1,s5),E0=n=>ba(n,v5,yt),f5=n=>ba(n,i1,$b),d5=n=>ba(n,a1,Nd),A0=n=>ba(n,Ib,Nd),h5=n=>ba(n,t1,o5),Vr=n=>ba(n,l1,r5),at=n=>Wb.test(n),Gl=n=>Qa(n,n1),m5=n=>Qa(n,a1),C0=n=>Qa(n,Ib),p5=n=>Qa(n,e1),g5=n=>Qa(n,t1),_r=n=>Qa(n,l1,!0),y5=n=>Qa(n,i1,!0),ba=(n,i,s)=>{const r=Jb.exec(n);return r?r[1]?i(r[1]):s(r[2]):!1},Qa=(n,i,s=!1)=>{const r=Wb.exec(n);return r?r[1]?i(r[1]):s:!1},Ib=n=>n==="position"||n==="percentage",t1=n=>n==="image"||n==="url",e1=n=>n==="length"||n==="size"||n==="bg-size",n1=n=>n==="length",v5=n=>n==="number",a1=n=>n==="family-name",i1=n=>n==="number"||n==="weight",l1=n=>n==="shadow",b5=()=>{const n=te("color"),i=te("font"),s=te("text"),r=te("font-weight"),u=te("tracking"),d=te("leading"),f=te("breakpoint"),h=te("container"),g=te("spacing"),m=te("radius"),y=te("shadow"),v=te("inset-shadow"),S=te("text-shadow"),T=te("drop-shadow"),M=te("blur"),j=te("perspective"),N=te("aspect"),D=te("ease"),H=te("animate"),B=()=>["auto","avoid","all","avoid-page","page","left","right","column"],X=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],K=()=>[...X(),at,et],it=()=>["auto","hidden","clip","visible","scroll"],F=()=>["auto","contain","none"],q=()=>[at,et,g],W=()=>[fa,"full","auto",...q()],tt=()=>[da,"none","subgrid",at,et],mt=()=>["auto",{span:["full",da,at,et]},da,at,et],gt=()=>[da,"auto",at,et],qt=()=>["auto","min","max","fr",at,et],Ot=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],vt=()=>["start","end","center","stretch","center-safe","end-safe"],V=()=>["auto",...q()],Z=()=>[fa,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...q()],J=()=>[fa,"screen","full","dvw","lvw","svw","min","max","fit",...q()],ct=()=>[fa,"screen","full","lh","dvh","lvh","svh","min","max","fit",...q()],Q=()=>[n,at,et],A=()=>[...X(),C0,A0,{position:[at,et]}],G=()=>["no-repeat",{repeat:["","x","y","space","round"]}],P=()=>["auto","cover","contain",p5,c5,{size:[at,et]}],$=()=>[rf,Gl,Ua],st=()=>["","none","full",m,at,et],ot=()=>["",yt,Gl,Ua],Tt=()=>["solid","dashed","dotted","double"],ne=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],pt=()=>[yt,rf,C0,A0],Ln=()=>["","none",M,at,et],pn=()=>["none",yt,at,et],Un=()=>["none",yt,at,et],Za=()=>[yt,at,et],Be=()=>[fa,"full",...q()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[On],breakpoint:[On],color:[$b],container:[On],"drop-shadow":[On],ease:["in","out","in-out"],font:[u5],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[On],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[On],shadow:[On],spacing:["px",yt],text:[On],"text-shadow":[On],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",fa,et,at,N]}],container:["container"],columns:[{columns:[yt,et,at,h]}],"break-after":[{"break-after":B()}],"break-before":[{"break-before":B()}],"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:K()}],overflow:[{overflow:it()}],"overflow-x":[{"overflow-x":it()}],"overflow-y":[{"overflow-y":it()}],overscroll:[{overscroll:F()}],"overscroll-x":[{"overscroll-x":F()}],"overscroll-y":[{"overscroll-y":F()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:W()}],"inset-x":[{"inset-x":W()}],"inset-y":[{"inset-y":W()}],start:[{"inset-s":W(),start:W()}],end:[{"inset-e":W(),end:W()}],"inset-bs":[{"inset-bs":W()}],"inset-be":[{"inset-be":W()}],top:[{top:W()}],right:[{right:W()}],bottom:[{bottom:W()}],left:[{left:W()}],visibility:["visible","invisible","collapse"],z:[{z:[da,"auto",at,et]}],basis:[{basis:[fa,"full","auto",h,...q()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[yt,fa,"auto","initial","none",et]}],grow:[{grow:["",yt,at,et]}],shrink:[{shrink:["",yt,at,et]}],order:[{order:[da,"first","last","none",at,et]}],"grid-cols":[{"grid-cols":tt()}],"col-start-end":[{col:mt()}],"col-start":[{"col-start":gt()}],"col-end":[{"col-end":gt()}],"grid-rows":[{"grid-rows":tt()}],"row-start-end":[{row:mt()}],"row-start":[{"row-start":gt()}],"row-end":[{"row-end":gt()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":qt()}],"auto-rows":[{"auto-rows":qt()}],gap:[{gap:q()}],"gap-x":[{"gap-x":q()}],"gap-y":[{"gap-y":q()}],"justify-content":[{justify:[...Ot(),"normal"]}],"justify-items":[{"justify-items":[...vt(),"normal"]}],"justify-self":[{"justify-self":["auto",...vt()]}],"align-content":[{content:["normal",...Ot()]}],"align-items":[{items:[...vt(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...vt(),{baseline:["","last"]}]}],"place-content":[{"place-content":Ot()}],"place-items":[{"place-items":[...vt(),"baseline"]}],"place-self":[{"place-self":["auto",...vt()]}],p:[{p:q()}],px:[{px:q()}],py:[{py:q()}],ps:[{ps:q()}],pe:[{pe:q()}],pbs:[{pbs:q()}],pbe:[{pbe:q()}],pt:[{pt:q()}],pr:[{pr:q()}],pb:[{pb:q()}],pl:[{pl:q()}],m:[{m:V()}],mx:[{mx:V()}],my:[{my:V()}],ms:[{ms:V()}],me:[{me:V()}],mbs:[{mbs:V()}],mbe:[{mbe:V()}],mt:[{mt:V()}],mr:[{mr:V()}],mb:[{mb:V()}],ml:[{ml:V()}],"space-x":[{"space-x":q()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":q()}],"space-y-reverse":["space-y-reverse"],size:[{size:Z()}],"inline-size":[{inline:["auto",...J()]}],"min-inline-size":[{"min-inline":["auto",...J()]}],"max-inline-size":[{"max-inline":["none",...J()]}],"block-size":[{block:["auto",...ct()]}],"min-block-size":[{"min-block":["auto",...ct()]}],"max-block-size":[{"max-block":["none",...ct()]}],w:[{w:[h,"screen",...Z()]}],"min-w":[{"min-w":[h,"screen","none",...Z()]}],"max-w":[{"max-w":[h,"screen","none","prose",{screen:[f]},...Z()]}],h:[{h:["screen","lh",...Z()]}],"min-h":[{"min-h":["screen","lh","none",...Z()]}],"max-h":[{"max-h":["screen","lh",...Z()]}],"font-size":[{text:["base",s,Gl,Ua]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[r,y5,f5]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",rf,et]}],"font-family":[{font:[m5,d5,i]}],"font-features":[{"font-features":[et]}],"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:[u,at,et]}],"line-clamp":[{"line-clamp":[yt,"none",at,E0]}],leading:[{leading:[d,...q()]}],"list-image":[{"list-image":["none",at,et]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",at,et]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:Q()}],"text-color":[{text:Q()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...Tt(),"wavy"]}],"text-decoration-thickness":[{decoration:[yt,"from-font","auto",at,Ua]}],"text-decoration-color":[{decoration:Q()}],"underline-offset":[{"underline-offset":[yt,"auto",at,et]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:q()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",at,et]}],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",at,et]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:A()}],"bg-repeat":[{bg:G()}],"bg-size":[{bg:P()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},da,at,et],radial:["",at,et],conic:[da,at,et]},g5,h5]}],"bg-color":[{bg:Q()}],"gradient-from-pos":[{from:$()}],"gradient-via-pos":[{via:$()}],"gradient-to-pos":[{to:$()}],"gradient-from":[{from:Q()}],"gradient-via":[{via:Q()}],"gradient-to":[{to:Q()}],rounded:[{rounded:st()}],"rounded-s":[{"rounded-s":st()}],"rounded-e":[{"rounded-e":st()}],"rounded-t":[{"rounded-t":st()}],"rounded-r":[{"rounded-r":st()}],"rounded-b":[{"rounded-b":st()}],"rounded-l":[{"rounded-l":st()}],"rounded-ss":[{"rounded-ss":st()}],"rounded-se":[{"rounded-se":st()}],"rounded-ee":[{"rounded-ee":st()}],"rounded-es":[{"rounded-es":st()}],"rounded-tl":[{"rounded-tl":st()}],"rounded-tr":[{"rounded-tr":st()}],"rounded-br":[{"rounded-br":st()}],"rounded-bl":[{"rounded-bl":st()}],"border-w":[{border:ot()}],"border-w-x":[{"border-x":ot()}],"border-w-y":[{"border-y":ot()}],"border-w-s":[{"border-s":ot()}],"border-w-e":[{"border-e":ot()}],"border-w-bs":[{"border-bs":ot()}],"border-w-be":[{"border-be":ot()}],"border-w-t":[{"border-t":ot()}],"border-w-r":[{"border-r":ot()}],"border-w-b":[{"border-b":ot()}],"border-w-l":[{"border-l":ot()}],"divide-x":[{"divide-x":ot()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":ot()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...Tt(),"hidden","none"]}],"divide-style":[{divide:[...Tt(),"hidden","none"]}],"border-color":[{border:Q()}],"border-color-x":[{"border-x":Q()}],"border-color-y":[{"border-y":Q()}],"border-color-s":[{"border-s":Q()}],"border-color-e":[{"border-e":Q()}],"border-color-bs":[{"border-bs":Q()}],"border-color-be":[{"border-be":Q()}],"border-color-t":[{"border-t":Q()}],"border-color-r":[{"border-r":Q()}],"border-color-b":[{"border-b":Q()}],"border-color-l":[{"border-l":Q()}],"divide-color":[{divide:Q()}],"outline-style":[{outline:[...Tt(),"none","hidden"]}],"outline-offset":[{"outline-offset":[yt,at,et]}],"outline-w":[{outline:["",yt,Gl,Ua]}],"outline-color":[{outline:Q()}],shadow:[{shadow:["","none",y,_r,Vr]}],"shadow-color":[{shadow:Q()}],"inset-shadow":[{"inset-shadow":["none",v,_r,Vr]}],"inset-shadow-color":[{"inset-shadow":Q()}],"ring-w":[{ring:ot()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:Q()}],"ring-offset-w":[{"ring-offset":[yt,Ua]}],"ring-offset-color":[{"ring-offset":Q()}],"inset-ring-w":[{"inset-ring":ot()}],"inset-ring-color":[{"inset-ring":Q()}],"text-shadow":[{"text-shadow":["none",S,_r,Vr]}],"text-shadow-color":[{"text-shadow":Q()}],opacity:[{opacity:[yt,at,et]}],"mix-blend":[{"mix-blend":[...ne(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":ne()}],"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":[yt]}],"mask-image-linear-from-pos":[{"mask-linear-from":pt()}],"mask-image-linear-to-pos":[{"mask-linear-to":pt()}],"mask-image-linear-from-color":[{"mask-linear-from":Q()}],"mask-image-linear-to-color":[{"mask-linear-to":Q()}],"mask-image-t-from-pos":[{"mask-t-from":pt()}],"mask-image-t-to-pos":[{"mask-t-to":pt()}],"mask-image-t-from-color":[{"mask-t-from":Q()}],"mask-image-t-to-color":[{"mask-t-to":Q()}],"mask-image-r-from-pos":[{"mask-r-from":pt()}],"mask-image-r-to-pos":[{"mask-r-to":pt()}],"mask-image-r-from-color":[{"mask-r-from":Q()}],"mask-image-r-to-color":[{"mask-r-to":Q()}],"mask-image-b-from-pos":[{"mask-b-from":pt()}],"mask-image-b-to-pos":[{"mask-b-to":pt()}],"mask-image-b-from-color":[{"mask-b-from":Q()}],"mask-image-b-to-color":[{"mask-b-to":Q()}],"mask-image-l-from-pos":[{"mask-l-from":pt()}],"mask-image-l-to-pos":[{"mask-l-to":pt()}],"mask-image-l-from-color":[{"mask-l-from":Q()}],"mask-image-l-to-color":[{"mask-l-to":Q()}],"mask-image-x-from-pos":[{"mask-x-from":pt()}],"mask-image-x-to-pos":[{"mask-x-to":pt()}],"mask-image-x-from-color":[{"mask-x-from":Q()}],"mask-image-x-to-color":[{"mask-x-to":Q()}],"mask-image-y-from-pos":[{"mask-y-from":pt()}],"mask-image-y-to-pos":[{"mask-y-to":pt()}],"mask-image-y-from-color":[{"mask-y-from":Q()}],"mask-image-y-to-color":[{"mask-y-to":Q()}],"mask-image-radial":[{"mask-radial":[at,et]}],"mask-image-radial-from-pos":[{"mask-radial-from":pt()}],"mask-image-radial-to-pos":[{"mask-radial-to":pt()}],"mask-image-radial-from-color":[{"mask-radial-from":Q()}],"mask-image-radial-to-color":[{"mask-radial-to":Q()}],"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":X()}],"mask-image-conic-pos":[{"mask-conic":[yt]}],"mask-image-conic-from-pos":[{"mask-conic-from":pt()}],"mask-image-conic-to-pos":[{"mask-conic-to":pt()}],"mask-image-conic-from-color":[{"mask-conic-from":Q()}],"mask-image-conic-to-color":[{"mask-conic-to":Q()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:A()}],"mask-repeat":[{mask:G()}],"mask-size":[{mask:P()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",at,et]}],filter:[{filter:["","none",at,et]}],blur:[{blur:Ln()}],brightness:[{brightness:[yt,at,et]}],contrast:[{contrast:[yt,at,et]}],"drop-shadow":[{"drop-shadow":["","none",T,_r,Vr]}],"drop-shadow-color":[{"drop-shadow":Q()}],grayscale:[{grayscale:["",yt,at,et]}],"hue-rotate":[{"hue-rotate":[yt,at,et]}],invert:[{invert:["",yt,at,et]}],saturate:[{saturate:[yt,at,et]}],sepia:[{sepia:["",yt,at,et]}],"backdrop-filter":[{"backdrop-filter":["","none",at,et]}],"backdrop-blur":[{"backdrop-blur":Ln()}],"backdrop-brightness":[{"backdrop-brightness":[yt,at,et]}],"backdrop-contrast":[{"backdrop-contrast":[yt,at,et]}],"backdrop-grayscale":[{"backdrop-grayscale":["",yt,at,et]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[yt,at,et]}],"backdrop-invert":[{"backdrop-invert":["",yt,at,et]}],"backdrop-opacity":[{"backdrop-opacity":[yt,at,et]}],"backdrop-saturate":[{"backdrop-saturate":[yt,at,et]}],"backdrop-sepia":[{"backdrop-sepia":["",yt,at,et]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":q()}],"border-spacing-x":[{"border-spacing-x":q()}],"border-spacing-y":[{"border-spacing-y":q()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",at,et]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[yt,"initial",at,et]}],ease:[{ease:["linear","initial",D,at,et]}],delay:[{delay:[yt,at,et]}],animate:[{animate:["none",H,at,et]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[j,at,et]}],"perspective-origin":[{"perspective-origin":K()}],rotate:[{rotate:pn()}],"rotate-x":[{"rotate-x":pn()}],"rotate-y":[{"rotate-y":pn()}],"rotate-z":[{"rotate-z":pn()}],scale:[{scale:Un()}],"scale-x":[{"scale-x":Un()}],"scale-y":[{"scale-y":Un()}],"scale-z":[{"scale-z":Un()}],"scale-3d":["scale-3d"],skew:[{skew:Za()}],"skew-x":[{"skew-x":Za()}],"skew-y":[{"skew-y":Za()}],transform:[{transform:[at,et,"","none","gpu","cpu"]}],"transform-origin":[{origin:K()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:Be()}],"translate-x":[{"translate-x":Be()}],"translate-y":[{"translate-y":Be()}],"translate-z":[{"translate-z":Be()}],"translate-none":["translate-none"],accent:[{accent:Q()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:Q()}],"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",at,et]}],"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":q()}],"scroll-mx":[{"scroll-mx":q()}],"scroll-my":[{"scroll-my":q()}],"scroll-ms":[{"scroll-ms":q()}],"scroll-me":[{"scroll-me":q()}],"scroll-mbs":[{"scroll-mbs":q()}],"scroll-mbe":[{"scroll-mbe":q()}],"scroll-mt":[{"scroll-mt":q()}],"scroll-mr":[{"scroll-mr":q()}],"scroll-mb":[{"scroll-mb":q()}],"scroll-ml":[{"scroll-ml":q()}],"scroll-p":[{"scroll-p":q()}],"scroll-px":[{"scroll-px":q()}],"scroll-py":[{"scroll-py":q()}],"scroll-ps":[{"scroll-ps":q()}],"scroll-pe":[{"scroll-pe":q()}],"scroll-pbs":[{"scroll-pbs":q()}],"scroll-pbe":[{"scroll-pbe":q()}],"scroll-pt":[{"scroll-pt":q()}],"scroll-pr":[{"scroll-pr":q()}],"scroll-pb":[{"scroll-pb":q()}],"scroll-pl":[{"scroll-pl":q()}],"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",at,et]}],fill:[{fill:["none",...Q()]}],"stroke-w":[{stroke:[yt,Gl,Ua,E0]}],stroke:[{stroke:["none",...Q()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","inset-bs","inset-be","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","pbs","pbe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mbs","mbe","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-bs","border-w-be","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-bs","border-color-be","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-mbs","scroll-mbe","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-pbs","scroll-pbe","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"]}},x5=$M(b5);function Ae(...n){return x5(DM(n))}const M0=[{name:"Home",path:"/"},{name:"Services",path:"/services"},{name:"Work",path:"/work"},{name:"Packages",path:"/packages"},{name:"About Us",path:"/about"},{name:"Contact",path:"/contact"}];function S5({children:n}){const[i,s]=E.useState(!1),[r,u]=E.useState(!1),[d,f]=E.useState(!1),h=Bn();E.useEffect(()=>{const m=()=>{u(window.scrollY>50),f(window.scrollY>500)};return window.addEventListener("scroll",m),()=>window.removeEventListener("scroll",m)},[]),E.useEffect(()=>{window.scrollTo(0,0),s(!1)},[h.pathname]);const g=()=>{window.scrollTo({top:0,behavior:"smooth"})};return b.jsxs("div",{className:"min-h-screen bg-white text-brand-black selection:bg-brand-gold/30",children:[b.jsx("header",{className:Ae("fixed top-0 left-0 right-0 z-50 transition-all duration-500 px-6 py-6",r?"glass py-4 backdrop-blur-xl":"bg-transparent"),children:b.jsxs("div",{className:"max-w-7xl mx-auto flex justify-between items-center",children:[b.jsx(Li,{to:"/",className:"flex items-center",children:b.jsx("img",{src:"/assets/logo.png",alt:"Expert Auto Care",className:"h-12 w-auto"})}),b.jsx("nav",{className:"hidden md:flex items-center gap-10 text-xs font-bold tracking-widest uppercase text-brand-black/80",children:M0.map(m=>b.jsx(hf,{to:m.path,className:({isActive:y})=>Ae("hover:text-brand-accent transition-colors duration-300",y&&"text-brand-gold"),children:m.name},m.path))}),b.jsx("button",{className:"md:hidden text-brand-black p-2 glass rounded-full",onClick:()=>s(!i),children:i?b.jsx(tv,{size:20}):b.jsx(Yw,{size:20})})]})}),b.jsx(no,{children:i&&b.jsx(se.div,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},className:"fixed inset-0 z-40 bg-white/95 backdrop-blur-3xl flex flex-col items-center justify-center gap-12 text-4xl font-display font-black tracking-tighter",children:M0.map((m,y)=>b.jsx(se.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:y*.1+.2},children:b.jsx(hf,{to:m.path,className:({isActive:v})=>Ae("hover:text-brand-gold transition-colors",v&&"text-brand-gold"),children:m.name})},m.path))})}),b.jsx("main",{children:n}),b.jsx("footer",{className:"py-20 px-6 border-t border-black/5 bg-brand-grey",children:b.jsxs("div",{className:"max-w-7xl mx-auto flex flex-col md:flex-row justify-between items-center gap-10 text-center md:text-left",children:[b.jsxs("div",{className:"flex flex-col items-center md:items-start gap-4",children:[b.jsx(Li,{to:"/",className:"flex items-center",children:b.jsx("img",{src:"/assets/logo.png",alt:"Expert Auto Care",className:"h-10 w-auto"})}),b.jsx("p",{className:"text-brand-black/50 text-[10px] font-black tracking-widest uppercase max-w-xs",children:"Road No. 11, Kakatiya Hills, Madhapur, Hyderabad, 500081"})]}),b.jsxs("div",{className:"flex flex-col items-center gap-6",children:[b.jsxs("div",{className:"flex gap-10 text-[10px] font-black tracking-widest uppercase text-brand-black/60",children:[b.jsx("a",{href:"#",className:"hover:text-brand-accent transition-colors",children:"Instagram"}),b.jsx("a",{href:"#",className:"hover:text-brand-accent transition-colors",children:"Facebook"}),b.jsx("a",{href:"#",className:"hover:text-brand-accent transition-colors",children:"WhatsApp"})]}),b.jsx("p",{className:"text-[10px] font-black tracking-widest uppercase text-brand-black/50",children:"© 2026 Expert Auto Care Hyderabad"})]}),b.jsxs("div",{className:"flex flex-col items-center md:items-end gap-4",children:[b.jsx("a",{href:"tel:+919642255678",className:"text-brand-black/80 hover:text-brand-gold transition-colors font-bold",children:"+91 96422 55678"}),b.jsx("a",{href:"mailto:info@expertautocare.in",className:"text-brand-black/80 hover:text-brand-gold transition-colors font-bold",children:"info@expertautocare.in"})]})]})}),b.jsx(se.a,{href:"https://wa.me/919642255678",target:"_blank",rel:"noopener noreferrer",whileHover:{scale:1.1},whileTap:{scale:.9},className:"fixed bottom-32 right-8 z-50 w-16 h-16 bg-[#25D366] rounded-full flex items-center justify-center shadow-2xl shadow-[#25D366]/20",children:b.jsx(Pg,{className:"text-white w-9 h-9"})}),b.jsx(no,{children:d&&b.jsx(se.button,{initial:{opacity:0,scale:.5},animate:{opacity:1,scale:1},exit:{opacity:0,scale:.5},onClick:g,className:"fixed bottom-32 left-8 z-50 w-14 h-14 glass rounded-full flex items-center justify-center text-brand-gold hover:bg-white/10 transition-all duration-300 shadow-2xl",children:b.jsx($l,{className:"-rotate-90 w-6 h-6"})})}),b.jsx("div",{className:"fixed bottom-0 left-0 right-0 z-50 glass backdrop-blur-3xl border-t border-white/10 p-5 md:hidden",children:b.jsxs("div",{className:"flex gap-4",children:[b.jsxs("a",{href:"tel:+919642255678",className:"flex-1 bg-white text-black font-bold py-5 rounded-2xl flex items-center justify-center gap-3 text-sm shadow-xl",children:[b.jsx($0,{size:18})," Call Now"]}),b.jsxs("a",{href:"https://wa.me/919642255678",className:"flex-1 bg-[#25D366] text-white font-bold py-5 rounded-2xl flex items-center justify-center gap-3 text-sm shadow-xl",children:[b.jsx(Pg,{size:18})," WhatsApp"]})]})}),b.jsx("div",{className:"h-24 md:hidden"})]})}const s1=({isOpen:n,onClose:i,initialService:s=""})=>{const[r,u]=E.useState({name:"",phone:"",model:"",year:"",service:s,accessories:[],message:""});cf.useEffect(()=>{n&&u(m=>({...m,service:s}))},[s,n]);const d=["General Repairs","Denting & Painting","Interior Detailing","Vehicle Inspection","Accessories","Window Tints","Ceramic Coating & PPF","Tyres and Wheel alignments","Insurance Claims"],f=["Rims","Headlights","Bumper","Suspension","Audio System","Body Kit"],h=m=>{u(y=>({...y,accessories:y.accessories.includes(m)?y.accessories.filter(v=>v!==m):[...y.accessories,m]}))},g=m=>{m.preventDefault();const y=r.accessories.length>0?`
*Accessories:* ${r.accessories.join(", ")}`:"",v=`*New Booking Request from Expert Auto Care Website*
----------------------------------
*Name:* ${r.name}
*Phone:* ${r.phone}
*Car Model:* ${r.model}
*Make Year:* ${r.year}
*Service:* ${r.service}${y}
*Message:* ${r.message}
----------------------------------`,T=`https://wa.me/919999999999?text=${encodeURIComponent(v)}`;window.open(T,"_blank"),i()};return b.jsx(no,{children:n&&b.jsxs("div",{className:"fixed inset-0 z-[100] flex items-center justify-center p-6",children:[b.jsx(se.div,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},onClick:i,className:"absolute inset-0 bg-black/80 backdrop-blur-sm"}),b.jsx(se.div,{initial:{opacity:0,scale:.9,y:20},animate:{opacity:1,scale:1,y:0},exit:{opacity:0,scale:.9,y:20},className:"relative w-full max-w-2xl glass rounded-2xl overflow-hidden border border-black/5 max-h-[90vh] overflow-y-auto bg-white shadow-2xl",children:b.jsxs("div",{className:"p-8 md:p-12",children:[b.jsx("button",{onClick:i,className:"absolute top-8 right-8 text-brand-black/40 hover:text-brand-black transition-colors",children:b.jsx(tv,{className:"w-6 h-6"})}),b.jsxs("div",{className:"mb-10",children:[b.jsx("span",{className:"text-brand-gold text-[10px] font-black tracking-[0.3em] uppercase mb-4 block",children:"Book an Appointment"}),b.jsx("h2",{className:"text-4xl font-bold font-display tracking-tight text-brand-black",children:"Get a Premium Quote"})]}),b.jsxs("form",{onSubmit:g,className:"space-y-8",children:[b.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-8",children:[b.jsxs("div",{className:"space-y-2",children:[b.jsx("label",{className:"text-[10px] font-black tracking-widest uppercase text-brand-black/40 ml-4",children:"Full Name"}),b.jsx("input",{required:!0,type:"text",placeholder:"John Doe",className:"w-full bg-brand-grey border border-black/5 rounded-xl px-6 py-4 text-brand-black focus:outline-none focus:border-brand-gold transition-colors",value:r.name,onChange:m=>u({...r,name:m.target.value})})]}),b.jsxs("div",{className:"space-y-2",children:[b.jsx("label",{className:"text-[10px] font-black tracking-widest uppercase text-brand-black/40 ml-4",children:"Phone Number"}),b.jsx("input",{required:!0,type:"tel",placeholder:"+91 00000 00000",className:"w-full bg-brand-grey border border-black/5 rounded-xl px-6 py-4 text-brand-black focus:outline-none focus:border-brand-gold transition-colors",value:r.phone,onChange:m=>u({...r,phone:m.target.value})})]})]}),b.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-8",children:[b.jsxs("div",{className:"space-y-2",children:[b.jsx("label",{className:"text-[10px] font-black tracking-widest uppercase text-brand-black/40 ml-4",children:"Car Model"}),b.jsx("input",{required:!0,type:"text",placeholder:"e.g. BMW M4",className:"w-full bg-brand-grey border border-black/5 rounded-xl px-6 py-4 text-brand-black focus:outline-none focus:border-brand-gold transition-colors",value:r.model,onChange:m=>u({...r,model:m.target.value})})]}),b.jsxs("div",{className:"space-y-2",children:[b.jsx("label",{className:"text-[10px] font-black tracking-widest uppercase text-brand-black/40 ml-4",children:"Make Year"}),b.jsx("input",{required:!0,type:"number",placeholder:"2024",className:"w-full bg-brand-grey border border-black/5 rounded-xl px-6 py-4 text-brand-black focus:outline-none focus:border-brand-gold transition-colors",value:r.year,onChange:m=>u({...r,year:m.target.value})})]})]}),b.jsxs("div",{className:"space-y-4",children:[b.jsx("label",{className:"text-[10px] font-black tracking-widest uppercase text-brand-black/40 ml-4",children:"Select Service"}),b.jsx("div",{className:"grid grid-cols-2 md:grid-cols-3 gap-3",children:d.map(m=>b.jsx("button",{type:"button",onClick:()=>u({...r,service:m}),className:Ae("px-4 py-3 rounded-xl text-[10px] font-bold tracking-wider uppercase transition-all border",r.service===m?"bg-brand-black text-white border-brand-black":"bg-brand-grey text-brand-black/60 border-black/5 hover:border-black/20"),children:m},m))})]}),b.jsxs("div",{className:"space-y-4",children:[b.jsx("label",{className:"text-[10px] font-black tracking-widest uppercase text-brand-black/40 ml-4",children:"Accessories (Optional)"}),b.jsx("div",{className:"grid grid-cols-2 md:grid-cols-3 gap-3",children:f.map(m=>b.jsxs("button",{type:"button",onClick:()=>h(m),className:Ae("px-4 py-3 rounded-xl text-[10px] font-bold tracking-wider uppercase transition-all border flex items-center justify-between",r.accessories.includes(m)?"bg-brand-black/5 text-brand-gold border-brand-gold/50":"bg-brand-grey text-brand-black/40 border-black/5 hover:border-black/20"),children:[m,r.accessories.includes(m)&&b.jsx(oo,{className:"w-3 h-3"})]},m))})]}),b.jsxs("div",{className:"space-y-2",children:[b.jsx("label",{className:"text-[10px] font-black tracking-widest uppercase text-brand-black/40 ml-4",children:"Additional Details"}),b.jsx("textarea",{rows:3,placeholder:"Tell us more about your requirements...",className:"w-full bg-brand-grey border border-black/5 rounded-xl px-6 py-4 text-brand-black focus:outline-none focus:border-brand-gold transition-colors resize-none",value:r.message,onChange:m=>u({...r,message:m.target.value})})]}),b.jsxs("button",{type:"submit",className:"w-full bg-brand-black text-white font-black tracking-[0.2em] uppercase py-6 rounded-xl hover:bg-brand-gold hover:text-black transition-all flex items-center justify-center gap-3 group shadow-xl",children:["Send to WhatsApp ",b.jsx($w,{className:"w-4 h-4 group-hover:translate-x-1 transition-transform"})]})]})]})})]})})},Oi=({children:n,className:i,delay:s=0})=>b.jsx(se.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-100px"},transition:{duration:.8,delay:s,ease:[.16,1,.3,1]},className:i,children:n}),R0=({children:n,className:i,delay:s=0})=>b.jsx(Oi,{delay:s,className:Ae("glass rounded-2xl p-10 transition-all duration-500 glow-on-hover group",i),children:n}),w5=()=>{const n=[{url:"https://images.unsplash.com/photo-1621259182978-f09e5e2ca845?auto=format&fit=crop&q=80&w=2000",title:"Toyota Vellfire"},{url:"https://images.unsplash.com/photo-1555215695-3004980ad54e?auto=format&fit=crop&q=80&w=2000",title:"BMW 5 Series"},{url:"https://images.unsplash.com/photo-1606152421802-db97b9c7a11b?auto=format&fit=crop&q=80&w=2000",title:"Audi A6"}],[i,s]=E.useState(0);return E.useEffect(()=>{const r=setInterval(()=>{s(u=>(u+1)%n.length)},5e3);return()=>clearInterval(r)},[n.length]),b.jsx("div",{className:"relative w-full h-[60vh] md:h-[80vh] overflow-hidden rounded-2xl border border-black/5 shadow-lg",children:n.map((r,u)=>b.jsxs(se.div,{initial:{opacity:0},animate:{opacity:i===u?1:0},transition:{duration:1.5},className:"absolute inset-0",children:[b.jsx("img",{src:r.url,alt:r.title,className:"w-full h-full object-cover",referrerPolicy:"no-referrer"}),b.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-black/40 via-transparent to-transparent"}),b.jsx("div",{className:"absolute bottom-12 left-12",children:b.jsx("h3",{className:"text-4xl font-display font-black tracking-tighter text-white",children:r.title})})]},u))})},T5=()=>b.jsxs("div",{className:"absolute inset-0 z-0 overflow-hidden",children:[b.jsx("video",{autoPlay:!0,loop:!0,muted:!0,playsInline:!0,className:"w-full h-full object-cover opacity-80 scale-110",children:b.jsx("source",{src:"/assets/hero.mp4",type:"video/mp4"})}),b.jsx("div",{className:"absolute inset-0 bg-gradient-to-b from-white/10 via-white/30 to-white"})]}),E5=()=>{const i=["General Repairs","Performance Upgrades","Deep Body Works","Premium Painting","Interior Detailing","Vehicle Inspection","Car Accessories","Electronic Upgrades","Ambient Lighting","Infotainment Systems","Reverse Cameras","Window Tints","Heat Rejection Films","Ceramic Coating","Paint Protection Film (PPF)","Tyres & Wheel Alignment","Insurance Claims","Policy Renewals","Complete Car Care","Premium Automotive Solutions"].join(" • ");return b.jsxs("div",{className:"relative w-full overflow-hidden bg-brand-grey border-y border-black/5 py-6 md:py-8 z-20",children:[b.jsx("div",{className:"absolute inset-y-0 left-0 w-20 md:w-40 bg-gradient-to-r from-brand-grey to-transparent z-10 pointer-events-none"}),b.jsx("div",{className:"absolute inset-y-0 right-0 w-20 md:w-40 bg-gradient-to-l from-brand-grey to-transparent z-10 pointer-events-none"}),b.jsx(se.div,{className:"flex whitespace-nowrap gap-8 items-center",animate:{x:[0,-1e3]},transition:{duration:40,repeat:1/0,ease:"linear"},whileHover:{animationPlayState:"paused"},children:[...Array(4)].map((s,r)=>b.jsxs("span",{className:"text-brand-black text-sm md:text-lg font-sans tracking-[0.1em] font-light flex items-center gap-8",children:[i,b.jsx("span",{className:"opacity-20",children:"•"})]},r))})]})},A5=()=>{const n=[{name:"gsk venkatesh",car:"Customer",heading:"Precise & Professional",text:"Precise service and professional response. Kudos to the team.",rating:5},{name:"rkexplores",car:"Customer",heading:"Great Customer Experience",text:"Good service and excellent customer handling.",rating:5},{name:"Omkar Borulkar",car:"Customer",heading:"Skilled Technicians",text:"Technicians handled multiple issues efficiently.",rating:5},{name:"Srinath Sakhamuri",car:"Customer",heading:"Transparent Service",text:"Regular updates and honest pricing. Very reliable.",rating:5},{name:"Sai Madhuri",car:"Customer",heading:"Customer Friendly",text:"They explained options clearly and helped choose the best.",rating:5},{name:"Abbas Madani Alawi",car:"Customer",heading:"Fast & Reliable",text:"Quick response and expert mechanics fixed the issue fast.",rating:5},{name:"Karunakar V",car:"Customer",heading:"Excellent Work",text:"Fully satisfied with the quality and results.",rating:5}],[i,s]=E.useState(0);return E.useEffect(()=>{const r=setInterval(()=>{s(u=>(u+1)%n.length)},5e3);return()=>clearInterval(r)},[n.length]),b.jsxs("div",{className:"relative w-full py-20 overflow-hidden",children:[b.jsx("div",{className:"text-center mb-12",children:b.jsxs("div",{className:"inline-flex items-center gap-2 px-4 py-2 rounded-full glass border border-black/5",children:[b.jsx("span",{className:"text-brand-gold font-bold",children:"⭐ 4.0 Rating"}),b.jsx("span",{className:"text-brand-black/20",children:"•"}),b.jsx("span",{className:"text-brand-black/60 text-xs font-bold tracking-widest uppercase",children:"70+ Reviews on Google"})]})}),b.jsx("div",{className:"absolute inset-y-0 left-0 w-20 md:w-60 bg-gradient-to-r from-white to-transparent z-10 pointer-events-none"}),b.jsx("div",{className:"absolute inset-y-0 right-0 w-20 md:w-60 bg-gradient-to-l from-white to-transparent z-10 pointer-events-none"}),b.jsxs("div",{className:"max-w-7xl mx-auto px-6",children:[b.jsx("div",{className:"relative h-[450px] md:h-[400px] flex items-center justify-center",children:b.jsx(no,{mode:"wait",children:b.jsx(se.div,{initial:{opacity:0,x:50,scale:.95},animate:{opacity:1,x:0,scale:1},exit:{opacity:0,x:-50,scale:.95},transition:{duration:.6,ease:"easeInOut"},drag:"x",dragConstraints:{left:0,right:0},onDragEnd:(r,u)=>{u.offset.x<-50&&s(d=>(d+1)%n.length),u.offset.x>50&&s(d=>(d-1+n.length)%n.length)},className:"absolute w-full max-w-2xl cursor-grab active:cursor-grabbing",children:b.jsxs("div",{className:"glass rounded-2xl p-8 md:p-12 border border-black/5 shadow-xl relative group",children:[b.jsx("div",{className:"absolute inset-0 bg-brand-gold/5 blur-3xl rounded-full opacity-0 group-hover:opacity-100 transition-opacity duration-700 pointer-events-none"}),b.jsxs("div",{className:"relative z-10",children:[b.jsx("div",{className:"flex gap-1 mb-6",children:[...Array(n[i].rating)].map((r,u)=>b.jsx(I0,{className:"w-4 h-4 fill-brand-gold text-brand-gold"},u))}),b.jsx("h3",{className:"text-xl md:text-2xl font-bold mb-4 font-display tracking-tight text-brand-black",children:n[i].heading}),b.jsxs("p",{className:"text-brand-black/80 text-lg md:text-xl mb-8 leading-relaxed line-clamp-3",children:['"',n[i].text,'"']}),b.jsxs("div",{className:"flex items-center justify-between",children:[b.jsxs("div",{children:[b.jsx("p",{className:"text-brand-black font-medium text-sm",children:n[i].name}),b.jsx("p",{className:"text-brand-gold text-[10px] font-black tracking-widest uppercase mt-1",children:n[i].car})]}),b.jsx("div",{className:"w-10 h-10 rounded-full bg-black/5 flex items-center justify-center",children:b.jsx(Rw,{className:"w-5 h-5 text-brand-black/20"})})]})]})]})},i)})}),b.jsx("div",{className:"flex justify-center gap-3 mt-8",children:n.map((r,u)=>b.jsx("button",{onClick:()=>s(u),className:Ae("h-1 transition-all duration-500 rounded-full",i===u?"w-8 bg-brand-gold":"w-2 bg-black/10")},u))}),b.jsx("div",{className:"flex justify-center mt-16",children:b.jsxs("a",{href:"https://www.google.com/maps/search/?api=1&query=Expert+Auto+Care+Madhapur+Hyderabad",target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-3 px-8 py-4 glass rounded-full text-brand-black/60 hover:text-brand-black hover:bg-black/5 transition-all duration-500 text-xs font-bold tracking-widest uppercase group",children:["View All Reviews on Google ",b.jsx($l,{className:"w-4 h-4 group-hover:translate-x-1 transition-transform"})]})})]})]})};function C5(){const{scrollYProgress:n}=MM(),i=Hf(n,[0,.2],[1,0]),s=Hf(n,[0,.2],[1,1.1]),[r,u]=E.useState(!1),[d,f]=E.useState(""),h=(m="")=>{f(m),u(!0)},g=[{title:"Ceramic Coating & PPF",icon:b.jsx(Jf,{className:"w-6 h-6",strokeWidth:1.5})},{title:"Denting & Painting",icon:b.jsx(W0,{className:"w-6 h-6",strokeWidth:1.5})},{title:"Interior Detailing",icon:b.jsx(J0,{className:"w-6 h-6",strokeWidth:1.5})}];return b.jsxs("div",{className:"min-h-screen",children:[b.jsxs("section",{className:"relative h-screen flex items-center justify-center overflow-hidden",children:[b.jsx(se.div,{style:{opacity:i,scale:s},className:"absolute inset-0 z-0",children:b.jsx(T5,{})}),b.jsx("div",{className:"relative z-10 max-w-7xl mx-auto px-6 text-center",children:b.jsxs(se.div,{initial:{opacity:0,y:40},animate:{opacity:1,y:0},transition:{duration:1.2},children:[b.jsxs("h1",{className:"font-display text-6xl md:text-8xl lg:text-9xl font-black mb-8 tracking-tighter leading-[0.85] text-brand-black",children:["Expert Auto",b.jsx("br",{}),b.jsx("span",{className:"text-transparent bg-clip-text bg-gradient-to-r from-brand-silver via-brand-black to-brand-silver",children:"Care"})]}),b.jsx("p",{className:"text-brand-black text-lg md:text-2xl max-w-3xl mx-auto mb-6 font-light tracking-tight leading-relaxed",children:"Precision. Protection. Perfection"}),b.jsx("span",{className:"inline-block px-5 py-2 rounded-full glass text-brand-gold text-[10px] font-black tracking-[0.3em] uppercase mb-12 border border-brand-gold/20",children:"Madhapur Hyderabad"}),b.jsxs("div",{className:"flex flex-col sm:flex-row items-center justify-center gap-6",children:[b.jsxs("button",{onClick:()=>h(),className:"w-full sm:w-auto px-10 py-5 bg-brand-black text-white font-bold rounded-full hover:bg-brand-accent transition-all duration-500 flex items-center justify-center gap-3 group shadow-xl",children:["Book an Appointment ",b.jsx($l,{className:"w-5 h-5 group-hover:translate-x-1 transition-transform"})]}),b.jsx(Li,{to:"/services",className:"w-full sm:w-auto px-10 py-5 glass text-brand-black font-bold rounded-full hover:bg-black/5 transition-all duration-500 border border-black/10",children:"View Our Services"})]})]})})]}),b.jsx(Oi,{children:b.jsx(E5,{})}),b.jsxs("section",{className:"py-32 px-6 max-w-7xl mx-auto",children:[b.jsxs(Oi,{className:"mb-20 text-center",children:[b.jsx("h2",{className:"font-display text-4xl md:text-6xl font-bold mb-6 tracking-tight",children:"Our Expertise"}),b.jsx("p",{className:"text-brand-black/60 text-lg max-w-2xl mx-auto",children:"Crafting automotive excellence through advanced protection and bespoke customization."})]}),b.jsx("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-8 mb-16",children:g.map((m,y)=>b.jsxs(R0,{delay:y*.1,children:[b.jsx("div",{className:"mb-8 p-4 w-fit rounded-2xl bg-black/5 text-brand-gold",children:m.icon}),b.jsx("h3",{className:"text-2xl font-bold mb-4 font-display tracking-tight",children:m.title}),b.jsxs(Li,{to:"/services",className:"text-brand-gold text-[10px] font-black tracking-widest uppercase flex items-center gap-2 hover:gap-4 transition-all",children:["Learn More ",b.jsx($l,{className:"w-4 h-4"})]})]},y))})]}),b.jsx("section",{className:"py-32 px-6 bg-brand-grey",children:b.jsx("div",{className:"max-w-7xl mx-auto",children:b.jsxs(Oi,{className:"mb-20 text-center",children:[b.jsx("h2",{className:"font-display text-4xl md:text-6xl font-bold mb-6 tracking-tight",children:"Our Gallery"}),b.jsx(w5,{})]})})}),b.jsxs("section",{className:"py-32 px-6 max-w-7xl mx-auto overflow-hidden",children:[b.jsxs(Oi,{className:"mb-20 text-center",children:[b.jsx("span",{className:"text-brand-gold text-[10px] font-black tracking-[0.3em] uppercase mb-4 block",children:"Client Stories"}),b.jsx("h2",{className:"font-display text-4xl md:text-6xl font-bold mb-6 tracking-tight",children:"Trusted by Enthusiasts"})]}),b.jsx(Oi,{children:b.jsx(A5,{})})]}),b.jsx("section",{className:"py-32 px-6 bg-brand-grey",children:b.jsxs(R0,{className:"max-w-5xl mx-auto text-center py-20 bg-white border-black/5 shadow-2xl",children:[b.jsx("h2",{className:"font-display text-4xl md:text-6xl font-bold mb-8 tracking-tight",children:"Join 70+ happy customers in Hyderabad"}),b.jsx("p",{className:"text-brand-black/60 text-lg mb-12 max-w-2xl mx-auto",children:"Experience the gold standard in automotive care. Your car deserves nothing less than perfection."}),b.jsx("button",{onClick:()=>h(),className:"inline-flex px-12 py-6 bg-brand-black text-white font-bold rounded-full hover:bg-brand-accent transition-all duration-500 shadow-2xl",children:"Book Your Service"})]})}),b.jsx(s1,{isOpen:r,onClose:()=>u(!1),initialService:d})]})}const r1=({children:n,className:i,delay:s=0})=>b.jsx(se.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-100px"},transition:{duration:.8,delay:s,ease:[.16,1,.3,1]},className:i,children:n}),M5=({children:n,className:i,delay:s=0})=>b.jsx(r1,{delay:s,className:Ae("glass rounded-2xl p-12 transition-all duration-700 glow-on-hover",i),children:n});function R5(){const[n,i]=cf.useState(!1),[s,r]=cf.useState(""),u=f=>{r(f),i(!0)},d=[{title:"General Repairs & Performance Upgrades",desc:"Keep your vehicle running at its best with reliable repairs and performance-focused upgrades. From routine maintenance to advanced fixes, we ensure smooth and efficient driving.",icon:b.jsx(sT,{className:"w-8 h-8",strokeWidth:1.5}),features:["Routine Maintenance","Engine Diagnostics","Suspension Tuning","Brake Repairs"],image:"https://images.unsplash.com/photo-1486262715619-67b85e0b08d3?auto=format&fit=crop&q=80&w=1000"},{title:"Deep Body Works & Painting",desc:"Restore your car’s original beauty with professional denting, painting, and full body restoration. We use precision techniques and high-quality paints for a flawless, factory-like finish.",icon:b.jsx(W0,{className:"w-8 h-8",strokeWidth:1.5}),features:["Precision Color Match","Dent Removal","Full Body Restoration","Scratch Repair"],image:"https://images.unsplash.com/photo-1619642751034-765dfdf7c58e?auto=format&fit=crop&q=80&w=1000"},{title:"Body Wash & Interior Detailing",desc:"Give your car a complete refresh with deep cleaning services. From exterior shine to interior hygiene, we ensure your vehicle looks and feels like new.",icon:b.jsx(J0,{className:"w-8 h-8",strokeWidth:1.5}),features:["Steam Cleaning","Leather Conditioning","Deep Vacuuming","Exterior Polishing"],image:"https://images.unsplash.com/photo-1520340356584-f9917d1eea6f?auto=format&fit=crop&q=80&w=1000"},{title:"Vehicle Inspection & Repairs",desc:"Comprehensive vehicle diagnostics and inspections to identify issues early. Our experts provide transparent solutions and reliable repairs for long-term performance.",icon:b.jsx(Jw,{className:"w-8 h-8",strokeWidth:1.5}),features:["Pre-Purchase Inspection","Safety Checks","Computerized Diagnostics","Full Health Report"],image:"https://images.unsplash.com/photo-1487754180451-c456f719a1fc?auto=format&fit=crop&q=80&w=1000"},{title:"Accessories & Electronic Upgrades",desc:"Upgrade your driving experience with premium car accessories and modern electronic systems like ambient lighting, infotainment, and reverse cameras.",icon:b.jsx(zw,{className:"w-8 h-8",strokeWidth:1.5}),features:["Ambient Lighting","Infotainment Systems","Reverse Cameras","Custom Enhancements"],image:"https://images.unsplash.com/photo-1541899481282-d53bffe3c35d?auto=format&fit=crop&q=80&w=1000"},{title:"Window Tints & Heat Protection",desc:"Enhance comfort and privacy with high-quality window films. Reduce heat, block UV rays, and improve driving comfort with premium solutions.",icon:b.jsx(nT,{className:"w-8 h-8",strokeWidth:1.5}),features:["Heat Rejection","UV Protection","Privacy Films","Glare Reduction"],image:"https://images.unsplash.com/photo-1503376780353-7e6692767b70?auto=format&fit=crop&q=80&w=1000"},{title:"Ceramic Coating & Paint Protection Film (PPF)",desc:"Protect your car’s exterior with advanced ceramic coatings and PPF. Prevent scratches, enhance gloss, and maintain long-lasting shine.",icon:b.jsx(Jf,{className:"w-8 h-8",strokeWidth:1.5}),features:["9H Hardness","Self-Healing PPF","Hydrophobic Coating","Mirror Finish"],image:"https://images.unsplash.com/photo-1618843479313-40f8afb4b4d8?auto=format&fit=crop&q=80&w=1000"},{title:"Tyres and Wheel alignments",desc:"Ensure a smooth and safe ride with professional tyre services and precision wheel alignment. We help extend tyre life and improve fuel efficiency.",icon:b.jsx(Ow,{className:"w-8 h-8",strokeWidth:1.5}),features:["Wheel Alignment","Tyre Balancing","Tyre Replacement","Pressure Check"],image:"https://images.unsplash.com/photo-1551522435-a13afa10f103?auto=format&fit=crop&q=80&w=1000"},{title:"Insurance Claims & Policy Renewals",desc:"Hassle-free support for insurance claims and renewals. We assist you through the process, ensuring quick approvals and smooth service.",icon:b.jsx(Bw,{className:"w-8 h-8",strokeWidth:1.5}),features:["Claim Assistance","Policy Renewals","Cashless Repairs","Documentation Support"],image:"https://images.unsplash.com/photo-1450101499163-c8848c66ca85?auto=format&fit=crop&q=80&w=1000"}];return b.jsxs("div",{className:"pt-32 pb-20 px-6 bg-white",children:[b.jsxs("div",{className:"max-w-7xl mx-auto",children:[b.jsxs(r1,{className:"mb-20 text-center",children:[b.jsx("span",{className:"text-brand-gold text-[10px] font-black tracking-[0.3em] uppercase mb-4 block",children:"Our Services"}),b.jsx("h1",{className:"font-display text-5xl md:text-7xl font-bold mb-8 tracking-tight",children:"Complete Car Care & Customization"}),b.jsx("p",{className:"text-brand-black/60 text-lg max-w-2xl mx-auto leading-relaxed",children:"At Expert Auto Care, we offer end-to-end automotive solutions — from routine servicing to premium customization and protection."})]}),b.jsx("div",{className:"grid grid-cols-1 gap-12",children:d.map((f,h)=>b.jsxs(M5,{delay:h*.1,className:Ae("grid grid-cols-1 lg:grid-cols-2 gap-12 items-center",h%2!==0&&"lg:bg-brand-grey/50"),children:[b.jsxs("div",{className:"space-y-8",children:[b.jsx("div",{className:"w-16 h-16 rounded-2xl bg-black/5 flex items-center justify-center text-brand-gold",children:f.icon}),b.jsx("h2",{className:"text-4xl font-bold font-display tracking-tight",children:f.title}),b.jsx("p",{className:"text-brand-black/60 text-lg leading-relaxed",children:f.desc}),b.jsx("div",{className:"grid grid-cols-2 gap-4",children:f.features.map((g,m)=>b.jsxs("div",{className:"flex items-center gap-3 text-sm text-brand-black/60",children:[b.jsx(oo,{className:"w-4 h-4 text-brand-gold"}),g]},m))}),b.jsxs("div",{className:"flex flex-wrap gap-4 pt-4",children:[b.jsxs("button",{onClick:()=>u(f.title),className:"flex items-center gap-3 bg-brand-black text-white font-black tracking-widest uppercase text-[10px] px-8 py-4 rounded-xl hover:bg-brand-accent transition-all group shadow-lg",children:["Book Now ",b.jsx($l,{className:"w-4 h-4 group-hover:translate-x-1 transition-transform"})]}),b.jsxs("button",{onClick:()=>u(f.title),className:"flex items-center gap-3 glass border border-black/5 text-brand-black font-black tracking-widest uppercase text-[10px] px-8 py-4 rounded-xl hover:bg-black/5 transition-all group",children:["Get Quote ",b.jsx(Pw,{className:"w-4 h-4 opacity-40 group-hover:opacity-100 transition-opacity"})]})]})]}),b.jsxs("div",{className:"aspect-[4/3] rounded-2xl overflow-hidden border border-black/5 shadow-xl relative group/img",children:[b.jsx("img",{src:f.image,alt:f.title,className:"w-full h-full object-cover group-hover/img:scale-105 transition-all duration-1000",referrerPolicy:"no-referrer"}),b.jsx("div",{className:"absolute inset-0 bg-black/10 group-hover/img:opacity-0 transition-opacity duration-700"})]})]},h))})]}),b.jsx(s1,{isOpen:n,onClose:()=>i(!1),initialService:s})]})}const of=({children:n,className:i,delay:s=0})=>b.jsx(se.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-100px"},transition:{duration:.8,delay:s,ease:[.16,1,.3,1]},className:i,children:n}),N5=()=>{const[n,i]=E.useState(50),s=E.useRef(null),r=u=>{if(!s.current)return;const d=s.current.getBoundingClientRect(),h=(("touches"in u?u.touches[0].clientX:u.clientX)-d.left)/d.width*100;i(Math.min(Math.max(h,0),100))};return b.jsxs("div",{ref:s,className:"relative aspect-[16/9] md:aspect-[21/9] rounded-2xl overflow-hidden cursor-ew-resize select-none border border-black/5 shadow-2xl",onMouseMove:r,onTouchMove:r,children:[b.jsx("img",{src:"https://images.unsplash.com/photo-1555215695-3004980ad54e?auto=format&fit=crop&q=80&w=2000",alt:"After",className:"absolute inset-0 w-full h-full object-cover",referrerPolicy:"no-referrer"}),b.jsx("div",{className:"absolute inset-0 w-full h-full overflow-hidden",style:{clipPath:`inset(0 ${100-n}% 0 0)`},children:b.jsx("img",{src:"https://images.unsplash.com/photo-1593476190414-e2e14e9d2003?auto=format&fit=crop&q=80&w=2000",alt:"Before",className:"absolute inset-0 w-full h-full object-cover grayscale brightness-75",referrerPolicy:"no-referrer"})}),b.jsx("div",{className:"absolute top-0 bottom-0 w-1 bg-white z-10",style:{left:`${n}%`},children:b.jsx("div",{className:"absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 w-12 h-12 glass rounded-full flex items-center justify-center border-2 border-white shadow-2xl group-hover:scale-110 transition-transform",children:b.jsxs("div",{className:"flex gap-1",children:[b.jsx("div",{className:"w-1 h-4 bg-white rounded-full opacity-50"}),b.jsx("div",{className:"w-1 h-4 bg-white rounded-full"}),b.jsx("div",{className:"w-1 h-4 bg-white rounded-full opacity-50"})]})})}),b.jsx("div",{className:"absolute bottom-6 left-6 glass px-5 py-2.5 rounded-full text-[10px] font-black tracking-[0.2em] uppercase backdrop-blur-md border border-white/10 text-white",children:"Before"}),b.jsx("div",{className:"absolute bottom-6 right-6 bg-brand-gold px-5 py-2.5 rounded-full text-[10px] font-black tracking-[0.2em] uppercase text-black shadow-lg shadow-brand-gold/20",children:"After"})]})};function j5(){const n=[{url:"https://images.unsplash.com/photo-1621259182978-f09e5e2ca845?auto=format&fit=crop&q=80&w=1000",title:"Toyota Vellfire"},{url:"https://images.unsplash.com/photo-1555215695-3004980ad54e?auto=format&fit=crop&q=80&w=1000",title:"BMW 5 Series"},{url:"https://images.unsplash.com/photo-1606152421802-db97b9c7a11b?auto=format&fit=crop&q=80&w=1000",title:"Audi A6"},{url:"https://images.unsplash.com/photo-1614162692292-7ac56d7f7f1e?auto=format&fit=crop&q=80&w=1000",title:"Mercedes S-Class"},{url:"https://images.unsplash.com/photo-1503376780353-7e6692767b70?auto=format&fit=crop&q=80&w=1000",title:"Porsche 911"},{url:"https://images.unsplash.com/photo-1525609004556-c46c7d6cf048?auto=format&fit=crop&q=80&w=1000",title:"Jaguar F-Type"}];return b.jsx("div",{className:"pt-32 pb-20 px-6 bg-white",children:b.jsxs("div",{className:"max-w-7xl mx-auto",children:[b.jsxs(of,{className:"mb-20 text-center",children:[b.jsx("span",{className:"text-brand-gold text-[10px] font-black tracking-[0.3em] uppercase mb-4 block",children:"Our Portfolio"}),b.jsx("h1",{className:"font-display text-5xl md:text-7xl font-bold mb-8 tracking-tight",children:"The Transformation"}),b.jsx("p",{className:"text-brand-black/60 text-lg max-w-2xl mx-auto leading-relaxed",children:"Witness the journey from factory standard to bespoke perfection."})]}),b.jsx(of,{className:"mb-32",children:b.jsx(N5,{})}),b.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8",children:n.map((i,s)=>b.jsx(of,{delay:s*.1,children:b.jsxs("div",{className:"group relative aspect-square rounded-2xl overflow-hidden border border-black/5 glass p-6 transition-all duration-700 hover:bg-brand-grey/50 shadow-sm hover:shadow-xl glow-on-hover",children:[b.jsx("img",{src:i.url,alt:i.title,className:"w-full h-full object-cover rounded-xl group-hover:scale-105 transition-all duration-1000",referrerPolicy:"no-referrer"}),b.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-brand-black via-transparent to-transparent opacity-0 group-hover:opacity-60 transition-opacity duration-500"}),b.jsx("div",{className:"absolute bottom-10 left-10 opacity-0 group-hover:opacity-100 transition-all duration-500 translate-y-4 group-hover:translate-y-0",children:b.jsx("h3",{className:"text-2xl font-bold font-display tracking-tight text-white",children:i.title})})]})},s))})]})})}const o1=({children:n,className:i,delay:s=0})=>b.jsx(se.div,{initial:{opacity:0,y:40},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-100px"},transition:{duration:1.2,delay:s,ease:[.16,1,.3,1]},className:i,children:n}),D5=({children:n,className:i,delay:s=0})=>b.jsx(o1,{delay:s,className:Ae("glass rounded-[2rem] p-8 transition-all duration-500",i),children:n});function z5(){const n=[{name:"Standard",price:"₹4,999",icon:b.jsx(uT,{className:"w-6 h-6"}),desc:"Perfect for regular maintenance and a quick refresh.",features:["Exterior Detailing","Interior Vacuum","Paint Decontamination","Basic Wax","Wheel Cleaning","Tire Dressing"],popular:!1},{name:"Elite",price:"₹14,999",icon:b.jsx(I0,{className:"w-6 h-6"}),desc:"Our most popular choice for long-lasting protection.",features:["9H Ceramic Coating","Engine Bay Detailing","Interior Deep Clean","Glass Coating","Leather Conditioning","Trim Restoration"],popular:!0},{name:"Ultimate",price:"₹79,999",icon:b.jsx(Jf,{className:"w-6 h-6"}),desc:"The pinnacle of automotive protection and luxury.",features:["Self-Healing PPF","Heat Rejection Tint","Leather Protection","Alloy Coating","Full Interior Detailing","Anti-Fog Treatment"],popular:!1}];return b.jsx("div",{className:"pt-32 pb-20 px-6",children:b.jsxs("div",{className:"max-w-7xl mx-auto",children:[b.jsxs(o1,{className:"mb-20 text-center",children:[b.jsx("span",{className:"text-brand-gold text-[10px] font-black tracking-[0.3em] uppercase mb-4 block",children:"Pricing"}),b.jsx("h1",{className:"font-display text-5xl md:text-7xl font-bold mb-8 tracking-tight",children:"Premium Packages"}),b.jsx("p",{className:"text-white text-lg max-w-2xl mx-auto leading-relaxed",children:"Tailored protection solutions for every automotive enthusiast."})]}),b.jsx("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-8",children:n.map((i,s)=>b.jsxs(D5,{className:Ae("relative flex flex-col h-full transition-all duration-500",i.popular&&"border-brand-gold/30 bg-brand-gold/[0.02] shadow-[0_0_60px_rgba(212,175,55,0.1)] md:scale-105 z-10"),delay:s*.1,children:[i.popular&&b.jsx(se.div,{initial:{opacity:0,y:-20},whileInView:{opacity:1,y:0},className:"absolute -top-4 left-1/2 -translate-x-1/2 bg-brand-gold text-black text-[10px] font-black px-6 py-2 rounded-full tracking-[0.2em] uppercase shadow-xl shadow-brand-gold/20 border border-white/20 z-20",children:"Most Popular"}),b.jsx("div",{className:"w-12 h-12 rounded-xl glass flex items-center justify-center text-brand-gold mb-8",children:i.icon}),b.jsx("h3",{className:"text-3xl font-bold font-display mb-2 tracking-tight",children:i.name}),b.jsx("p",{className:"text-white/80 text-sm mb-8 leading-relaxed",children:i.desc}),b.jsx("div",{className:"text-5xl font-black text-white mb-10 tracking-tighter",children:i.price}),b.jsx("ul",{className:"space-y-5 mb-12 flex-grow",children:i.features.map((r,u)=>b.jsxs("li",{className:"flex items-center gap-4 text-sm text-white/80",children:[b.jsx(oo,{className:"w-5 h-5 text-brand-gold shrink-0"}),r]},u))}),b.jsx("button",{className:Ae("w-full py-5 rounded-2xl font-bold transition-all duration-500",i.popular?"bg-white text-black hover:bg-brand-gold":"glass hover:bg-white/10"),children:"Get Started"})]},s))})]})})}const Gf=({children:n,className:i,delay:s=0})=>b.jsx(se.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-100px"},transition:{duration:.8,delay:s,ease:[.16,1,.3,1]},className:i,children:n}),uf=({children:n,className:i,delay:s=0})=>b.jsx(Gf,{delay:s,className:Ae("glass rounded-2xl p-8 transition-all duration-500 glow-on-hover",i),children:n});function k5(){const n=[{icon:b.jsx(F0,{className:"w-6 h-6"}),label:"Founded",value:"2014"},{icon:b.jsx(iT,{className:"w-6 h-6"}),label:"Happy Clients",value:"5000+"},{icon:b.jsx(Cw,{className:"w-6 h-6"}),label:"Expert Technicians",value:"20+"},{icon:b.jsx(oo,{className:"w-6 h-6"}),label:"Services Completed",value:"15,000+"}];return b.jsx("div",{className:"pt-32 pb-20 px-6 bg-white",children:b.jsxs("div",{className:"max-w-7xl mx-auto",children:[b.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-20 items-center mb-32",children:[b.jsxs(Gf,{children:[b.jsx("span",{className:"text-brand-gold text-[10px] font-black tracking-[0.3em] uppercase mb-4 block",children:"Our Story"}),b.jsxs("h1",{className:"font-display text-5xl md:text-7xl font-bold mb-8 tracking-tight leading-[0.9]",children:["Precision Craftsmanship Since ",b.jsx("span",{className:"text-brand-gold",children:"2014"})]}),b.jsxs("div",{className:"space-y-6 text-brand-black/60 text-lg leading-relaxed",children:[b.jsx("p",{children:"Founded in 2014, Expert Auto Care has grown into a trusted destination for car servicing, customization, and detailing in Madhapur, Hyderabad."}),b.jsx("p",{children:"Built on a passion for automobiles and precision craftsmanship, we specialize in transforming everyday vehicles into refined, high-performance machines. From paint protection and ceramic coating to interior customization and denting & painting, we deliver complete A2Z car solutions under one roof."})]})]}),b.jsxs(Gf,{delay:.2,className:"relative group max-w-md mx-auto lg:ml-auto",children:[b.jsxs("div",{className:"aspect-square rounded-2xl overflow-hidden border border-black/5 glass p-4 relative z-10 shadow-2xl",children:[b.jsx("div",{className:"absolute inset-0 bg-black/10 group-hover:opacity-0 transition-opacity duration-700 z-10"}),b.jsx("img",{src:"/assets/founder.png",alt:"Boyapati Naveen Kumar - Founder of Expert Auto Care",className:"w-full h-full object-cover rounded-xl group-hover:scale-105 transition-all duration-700",referrerPolicy:"no-referrer"})]}),b.jsx("div",{className:"absolute -top-6 -right-6 w-32 h-32 bg-brand-gold/5 rounded-full blur-3xl"}),b.jsx("div",{className:"absolute -bottom-6 -left-6 w-32 h-32 bg-brand-gold/5 rounded-full blur-3xl"}),b.jsxs("div",{className:"absolute -bottom-10 -left-10 glass p-8 rounded-2xl border border-black/5 hidden md:block z-20 shadow-2xl",children:[b.jsx("h3",{className:"text-2xl font-bold font-display mb-1 tracking-tight",children:"Boyapati Naveen Kumar"}),b.jsx("p",{className:"text-brand-gold text-[10px] font-black tracking-widest uppercase",children:"Founder & Lead Specialist"})]})]})]}),b.jsx("div",{className:"grid grid-cols-2 lg:grid-cols-4 gap-8 mb-32",children:n.map((i,s)=>b.jsxs(uf,{delay:s*.1,className:"text-center bg-brand-grey/50",children:[b.jsx("div",{className:"w-12 h-12 rounded-xl bg-black/5 flex items-center justify-center text-brand-gold mx-auto mb-6",children:i.icon}),b.jsx("div",{className:"text-4xl font-black text-brand-black mb-2 tracking-tighter",children:i.value}),b.jsx("div",{className:"text-[10px] font-black tracking-widest uppercase text-brand-black/40",children:i.label})]},s))}),b.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-8 mb-32",children:[b.jsxs(uf,{className:"bg-brand-grey/50 border-black/5",children:[b.jsx("h2",{className:"text-3xl font-bold font-display mb-6 tracking-tight",children:"Our Mission"}),b.jsx("p",{className:"text-brand-black/60 leading-relaxed",children:"Led by Boyapati Naveen Kumar, our team focuses on quality, transparency, and customer satisfaction. Every car we work on is treated with attention to detail and care, ensuring results that not only meet expectations—but exceed them."})]}),b.jsxs(uf,{className:"bg-brand-grey/50 border-black/5",children:[b.jsx("h2",{className:"text-3xl font-bold font-display mb-6 tracking-tight",children:"Our Vision"}),b.jsx("p",{className:"text-brand-black/60 leading-relaxed",children:"Over the years, we have earned the trust of customers across Hyderabad by combining skilled technicians, reliable materials, and modern techniques. We aim to be the gold standard in automotive care, one vehicle at a time."})]})]})]})})}const Qr=({children:n,className:i,delay:s=0})=>b.jsx(se.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-100px"},transition:{duration:.8,delay:s,ease:[.16,1,.3,1]},className:i,children:n}),N0=({children:n,className:i,delay:s=0})=>b.jsx(Qr,{delay:s,className:Ae("glass rounded-2xl p-8 transition-all duration-500 glow-on-hover",i),children:n});function O5(){const n=[{icon:b.jsx(qw,{}),title:"Our Studio",detail:"Road No. 11, Kakatiya Hills, Guttala Begumpet, Kavuri Hills, Madhapur, Hyderabad, 500081"},{icon:b.jsx($0,{}),title:"Call Us",detail:"+91 96422 55678"},{icon:b.jsx(Uw,{}),title:"Email Us",detail:"info@expertautocare.in"},{icon:b.jsx(F0,{}),title:"Working Hours",detail:"Mon - Sat: 10:00 AM - 8:00 PM"}];return b.jsx("div",{className:"pt-32 pb-20 px-6 bg-white",children:b.jsxs("div",{className:"max-w-7xl mx-auto",children:[b.jsxs(Qr,{className:"mb-20 text-center",children:[b.jsx("span",{className:"text-brand-gold text-[10px] font-black tracking-[0.3em] uppercase mb-4 block",children:"Get In Touch"}),b.jsx("h1",{className:"font-display text-5xl md:text-7xl font-bold mb-8 tracking-tight",children:"Let's Connect"}),b.jsx("p",{className:"text-brand-black/60 text-lg max-w-2xl mx-auto leading-relaxed",children:"Ready to transform your vehicle? Reach out to our experts today."})]}),b.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-20",children:[b.jsxs("div",{className:"space-y-12",children:[b.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-8",children:n.map((i,s)=>b.jsxs(N0,{delay:s*.1,className:"bg-brand-grey/50 border-black/5",children:[b.jsx("div",{className:"w-12 h-12 rounded-xl bg-black/5 flex items-center justify-center text-brand-gold mb-6",children:i.icon}),b.jsx("h4",{className:"font-bold mb-2 text-xl tracking-tight text-brand-black",children:i.title}),b.jsx("p",{className:"text-brand-black/60 text-sm leading-relaxed",children:i.detail})]},s))}),b.jsx(Qr,{delay:.4,children:b.jsx("div",{className:"rounded-2xl overflow-hidden h-[400px] glass border border-black/5 grayscale hover:grayscale-0 transition-all duration-700 shadow-xl",children:b.jsx("iframe",{src:"https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d3806.2872323242605!2d78.39684699457719!3d17.446136323242605!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x3bcb9158f201b205%3A0x11bbb7a111111111!2sExpert%20Auto%20Care!5e0!3m2!1sen!2sin!4v1711260000000!5m2!1sen!2sin",width:"100%",height:"100%",style:{border:0},allowFullScreen:!0,loading:"lazy",referrerPolicy:"no-referrer-when-downgrade"})})})]}),b.jsx(Qr,{delay:.2,children:b.jsxs(N0,{className:"h-full bg-brand-grey/50 p-12 border-black/5 shadow-2xl",children:[b.jsx("h3",{className:"text-3xl font-bold font-display mb-10 tracking-tight text-brand-black",children:"Book an Appointment"}),b.jsxs("form",{className:"space-y-8",onSubmit:i=>{i.preventDefault();const s=i.target,r=s[0].value,u=s[1].value,d=s[2].value,f=s[3].value,h=s[4].value,g=s[5].value,m=`*New Booking Request from Contact Page*
----------------------------------
*Name:* ${r}
*Phone:* ${u}
*Car Model:* ${d}
*Make Year:* ${f}
*Service:* ${h}
*Message:* ${g}
----------------------------------`,y=encodeURIComponent(m);window.open(`https://wa.me/919642255678?text=${y}`,"_blank")},children:[b.jsxs("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-8",children:[b.jsxs("div",{className:"space-y-3",children:[b.jsx("label",{className:"text-[10px] font-black tracking-widest uppercase text-brand-black/40 ml-2",children:"Name"}),b.jsx("input",{required:!0,type:"text",className:"w-full bg-white border border-black/5 rounded-xl px-6 py-5 focus:outline-none focus:border-brand-gold transition-colors text-brand-black",placeholder:"Your Name"})]}),b.jsxs("div",{className:"space-y-3",children:[b.jsx("label",{className:"text-[10px] font-black tracking-widest uppercase text-brand-black/40 ml-2",children:"Phone"}),b.jsx("input",{required:!0,type:"tel",className:"w-full bg-white border border-black/5 rounded-xl px-6 py-5 focus:outline-none focus:border-brand-gold transition-colors text-brand-black",placeholder:"+91 00000 00000"})]})]}),b.jsxs("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-8",children:[b.jsxs("div",{className:"space-y-3",children:[b.jsx("label",{className:"text-[10px] font-black tracking-widest uppercase text-brand-black/40 ml-2",children:"Car Model"}),b.jsx("input",{required:!0,type:"text",className:"w-full bg-white border border-black/5 rounded-xl px-6 py-5 focus:outline-none focus:border-brand-gold transition-colors text-brand-black",placeholder:"e.g. BMW M4"})]}),b.jsxs("div",{className:"space-y-3",children:[b.jsx("label",{className:"text-[10px] font-black tracking-widest uppercase text-brand-black/40 ml-2",children:"Make Year"}),b.jsx("input",{required:!0,type:"number",className:"w-full bg-white border border-black/5 rounded-xl px-6 py-5 focus:outline-none focus:border-brand-gold transition-colors text-brand-black",placeholder:"2024"})]})]}),b.jsxs("div",{className:"space-y-3",children:[b.jsx("label",{className:"text-[10px] font-black tracking-widest uppercase text-brand-black/40 ml-2",children:"Service"}),b.jsxs("select",{required:!0,className:"w-full bg-white border border-black/5 rounded-xl px-6 py-5 focus:outline-none focus:border-brand-gold transition-colors appearance-none text-brand-black/60",children:[b.jsx("option",{children:"General Services"}),b.jsx("option",{children:"Paint Protection Film (PPF)"}),b.jsx("option",{children:"Ceramic Coating"}),b.jsx("option",{children:"Interior Customization"}),b.jsx("option",{children:"Window Tinting"}),b.jsx("option",{children:"Seat Upgrades"}),b.jsx("option",{children:"Denting & Painting"}),b.jsx("option",{children:"Accessories (Rims, Bumper, etc.)"})]})]}),b.jsxs("div",{className:"space-y-3",children:[b.jsx("label",{className:"text-[10px] font-black tracking-widest uppercase text-brand-black/40 ml-2",children:"Message"}),b.jsx("textarea",{rows:5,className:"w-full bg-white border border-black/5 rounded-xl px-6 py-5 focus:outline-none focus:border-brand-gold transition-colors text-brand-black",placeholder:"Tell us about your vehicle..."})]}),b.jsx("button",{type:"submit",className:"w-full py-6 bg-brand-black text-white font-bold rounded-xl hover:bg-brand-gold hover:text-black transition-all duration-500 shadow-xl text-lg",children:"Send to WhatsApp"})]})]})})]})]})})}function V5(){return b.jsx(cw,{children:b.jsx(S5,{children:b.jsxs(HS,{children:[b.jsx(Ha,{path:"/",element:b.jsx(C5,{})}),b.jsx(Ha,{path:"/services",element:b.jsx(R5,{})}),b.jsx(Ha,{path:"/work",element:b.jsx(j5,{})}),b.jsx(Ha,{path:"/packages",element:b.jsx(z5,{})}),b.jsx(Ha,{path:"/about",element:b.jsx(k5,{})}),b.jsx(Ha,{path:"/contact",element:b.jsx(O5,{})})]})})})}G2.createRoot(document.getElementById("root")).render(b.jsx(E.StrictMode,{children:b.jsx(V5,{})}));
