var Gw=Object.defineProperty;var Yw=(n,i,s)=>i in n?Gw(n,i,{enumerable:!0,configurable:!0,writable:!0,value:s}):n[i]=s;var Dn=(n,i,s)=>Yw(n,typeof i!="symbol"?i+"":i,s);function Xw(n,i){for(var s=0;s<i.length;s++){const o=i[s];if(typeof o!="string"&&!Array.isArray(o)){for(const u in o)if(u!=="default"&&!(u in n)){const f=Object.getOwnPropertyDescriptor(o,u);f&&Object.defineProperty(n,u,f.get?f:{enumerable:!0,get:()=>o[u]})}}}return Object.freeze(Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}))}(function(){const i=document.createElement("link").relList;if(i&&i.supports&&i.supports("modulepreload"))return;for(const u of document.querySelectorAll('link[rel="modulepreload"]'))o(u);new MutationObserver(u=>{for(const f of u)if(f.type==="childList")for(const m of f.addedNodes)m.tagName==="LINK"&&m.rel==="modulepreload"&&o(m)}).observe(document,{childList:!0,subtree:!0});function s(u){const f={};return u.integrity&&(f.integrity=u.integrity),u.referrerPolicy&&(f.referrerPolicy=u.referrerPolicy),u.crossOrigin==="use-credentials"?f.credentials="include":u.crossOrigin==="anonymous"?f.credentials="omit":f.credentials="same-origin",f}function o(u){if(u.ep)return;u.ep=!0;const f=s(u);fetch(u.href,f)}})();function pl(n){return n&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n}var Vu={exports:{}},Gs={};/**
 * @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 O0;function Kw(){if(O0)return Gs;O0=1;var n=Symbol.for("react.transitional.element"),i=Symbol.for("react.fragment");function s(o,u,f){var m=null;if(f!==void 0&&(m=""+f),u.key!==void 0&&(m=""+u.key),"key"in u){f={};for(var h in u)h!=="key"&&(f[h]=u[h])}else f=u;return u=f.ref,{$$typeof:n,type:o,key:m,ref:u!==void 0?u:null,props:f}}return Gs.Fragment=i,Gs.jsx=s,Gs.jsxs=s,Gs}var k0;function Qw(){return k0||(k0=1,Vu.exports=Kw()),Vu.exports}var r=Qw(),Uu={exports:{}},ue={};/**
 * @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 z0;function Zw(){if(z0)return ue;z0=1;var n=Symbol.for("react.transitional.element"),i=Symbol.for("react.portal"),s=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),u=Symbol.for("react.profiler"),f=Symbol.for("react.consumer"),m=Symbol.for("react.context"),h=Symbol.for("react.forward_ref"),p=Symbol.for("react.suspense"),y=Symbol.for("react.memo"),g=Symbol.for("react.lazy"),v=Symbol.iterator;function w(N){return N===null||typeof N!="object"?null:(N=v&&N[v]||N["@@iterator"],typeof N=="function"?N:null)}var S={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},A=Object.assign,M={};function O(N,X,W){this.props=N,this.context=X,this.refs=M,this.updater=W||S}O.prototype.isReactComponent={},O.prototype.setState=function(N,X){if(typeof N!="object"&&typeof N!="function"&&N!=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,N,X,"setState")},O.prototype.forceUpdate=function(N){this.updater.enqueueForceUpdate(this,N,"forceUpdate")};function E(){}E.prototype=O.prototype;function z(N,X,W){this.props=N,this.context=X,this.refs=M,this.updater=W||S}var U=z.prototype=new E;U.constructor=z,A(U,O.prototype),U.isPureReactComponent=!0;var Q=Array.isArray,H={H:null,A:null,T:null,S:null,V:null},F=Object.prototype.hasOwnProperty;function ne(N,X,W,Z,I,he){return W=he.ref,{$$typeof:n,type:N,key:X,ref:W!==void 0?W:null,props:he}}function q(N,X){return ne(N.type,X,void 0,void 0,void 0,N.props)}function ie(N){return typeof N=="object"&&N!==null&&N.$$typeof===n}function xe(N){var X={"=":"=0",":":"=2"};return"$"+N.replace(/[=:]/g,function(W){return X[W]})}var He=/\/+/g;function ze(N,X){return typeof N=="object"&&N!==null&&N.key!=null?xe(""+N.key):X.toString(36)}function Ot(){}function ht(N){switch(N.status){case"fulfilled":return N.value;case"rejected":throw N.reason;default:switch(typeof N.status=="string"?N.then(Ot,Ot):(N.status="pending",N.then(function(X){N.status==="pending"&&(N.status="fulfilled",N.value=X)},function(X){N.status==="pending"&&(N.status="rejected",N.reason=X)})),N.status){case"fulfilled":return N.value;case"rejected":throw N.reason}}throw N}function _e(N,X,W,Z,I){var he=typeof N;(he==="undefined"||he==="boolean")&&(N=null);var ce=!1;if(N===null)ce=!0;else switch(he){case"bigint":case"string":case"number":ce=!0;break;case"object":switch(N.$$typeof){case n:case i:ce=!0;break;case g:return ce=N._init,_e(ce(N._payload),X,W,Z,I)}}if(ce)return I=I(N),ce=Z===""?"."+ze(N,0):Z,Q(I)?(W="",ce!=null&&(W=ce.replace(He,"$&/")+"/"),_e(I,X,W,"",function(jt){return jt})):I!=null&&(ie(I)&&(I=q(I,W+(I.key==null||N&&N.key===I.key?"":(""+I.key).replace(He,"$&/")+"/")+ce)),X.push(I)),1;ce=0;var we=Z===""?".":Z+":";if(Q(N))for(var Re=0;Re<N.length;Re++)Z=N[Re],he=we+ze(Z,Re),ce+=_e(Z,X,W,he,I);else if(Re=w(N),typeof Re=="function")for(N=Re.call(N),Re=0;!(Z=N.next()).done;)Z=Z.value,he=we+ze(Z,Re++),ce+=_e(Z,X,W,he,I);else if(he==="object"){if(typeof N.then=="function")return _e(ht(N),X,W,Z,I);throw X=String(N),Error("Objects are not valid as a React child (found: "+(X==="[object Object]"?"object with keys {"+Object.keys(N).join(", ")+"}":X)+"). If you meant to render a collection of children, use an array instead.")}return ce}function L(N,X,W){if(N==null)return N;var Z=[],I=0;return _e(N,Z,"","",function(he){return X.call(W,he,I++)}),Z}function K(N){if(N._status===-1){var X=N._result;X=X(),X.then(function(W){(N._status===0||N._status===-1)&&(N._status=1,N._result=W)},function(W){(N._status===0||N._status===-1)&&(N._status=2,N._result=W)}),N._status===-1&&(N._status=0,N._result=X)}if(N._status===1)return N._result.default;throw N._result}var Y=typeof reportError=="function"?reportError:function(N){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var X=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof N=="object"&&N!==null&&typeof N.message=="string"?String(N.message):String(N),error:N});if(!window.dispatchEvent(X))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",N);return}console.error(N)};function ve(){}return ue.Children={map:L,forEach:function(N,X,W){L(N,function(){X.apply(this,arguments)},W)},count:function(N){var X=0;return L(N,function(){X++}),X},toArray:function(N){return L(N,function(X){return X})||[]},only:function(N){if(!ie(N))throw Error("React.Children.only expected to receive a single React element child.");return N}},ue.Component=O,ue.Fragment=s,ue.Profiler=u,ue.PureComponent=z,ue.StrictMode=o,ue.Suspense=p,ue.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=H,ue.__COMPILER_RUNTIME={__proto__:null,c:function(N){return H.H.useMemoCache(N)}},ue.cache=function(N){return function(){return N.apply(null,arguments)}},ue.cloneElement=function(N,X,W){if(N==null)throw Error("The argument must be a React element, but you passed "+N+".");var Z=A({},N.props),I=N.key,he=void 0;if(X!=null)for(ce in X.ref!==void 0&&(he=void 0),X.key!==void 0&&(I=""+X.key),X)!F.call(X,ce)||ce==="key"||ce==="__self"||ce==="__source"||ce==="ref"&&X.ref===void 0||(Z[ce]=X[ce]);var ce=arguments.length-2;if(ce===1)Z.children=W;else if(1<ce){for(var we=Array(ce),Re=0;Re<ce;Re++)we[Re]=arguments[Re+2];Z.children=we}return ne(N.type,I,void 0,void 0,he,Z)},ue.createContext=function(N){return N={$$typeof:m,_currentValue:N,_currentValue2:N,_threadCount:0,Provider:null,Consumer:null},N.Provider=N,N.Consumer={$$typeof:f,_context:N},N},ue.createElement=function(N,X,W){var Z,I={},he=null;if(X!=null)for(Z in X.key!==void 0&&(he=""+X.key),X)F.call(X,Z)&&Z!=="key"&&Z!=="__self"&&Z!=="__source"&&(I[Z]=X[Z]);var ce=arguments.length-2;if(ce===1)I.children=W;else if(1<ce){for(var we=Array(ce),Re=0;Re<ce;Re++)we[Re]=arguments[Re+2];I.children=we}if(N&&N.defaultProps)for(Z in ce=N.defaultProps,ce)I[Z]===void 0&&(I[Z]=ce[Z]);return ne(N,he,void 0,void 0,null,I)},ue.createRef=function(){return{current:null}},ue.forwardRef=function(N){return{$$typeof:h,render:N}},ue.isValidElement=ie,ue.lazy=function(N){return{$$typeof:g,_payload:{_status:-1,_result:N},_init:K}},ue.memo=function(N,X){return{$$typeof:y,type:N,compare:X===void 0?null:X}},ue.startTransition=function(N){var X=H.T,W={};H.T=W;try{var Z=N(),I=H.S;I!==null&&I(W,Z),typeof Z=="object"&&Z!==null&&typeof Z.then=="function"&&Z.then(ve,Y)}catch(he){Y(he)}finally{H.T=X}},ue.unstable_useCacheRefresh=function(){return H.H.useCacheRefresh()},ue.use=function(N){return H.H.use(N)},ue.useActionState=function(N,X,W){return H.H.useActionState(N,X,W)},ue.useCallback=function(N,X){return H.H.useCallback(N,X)},ue.useContext=function(N){return H.H.useContext(N)},ue.useDebugValue=function(){},ue.useDeferredValue=function(N,X){return H.H.useDeferredValue(N,X)},ue.useEffect=function(N,X,W){var Z=H.H;if(typeof W=="function")throw Error("useEffect CRUD overload is not enabled in this build of React.");return Z.useEffect(N,X)},ue.useId=function(){return H.H.useId()},ue.useImperativeHandle=function(N,X,W){return H.H.useImperativeHandle(N,X,W)},ue.useInsertionEffect=function(N,X){return H.H.useInsertionEffect(N,X)},ue.useLayoutEffect=function(N,X){return H.H.useLayoutEffect(N,X)},ue.useMemo=function(N,X){return H.H.useMemo(N,X)},ue.useOptimistic=function(N,X){return H.H.useOptimistic(N,X)},ue.useReducer=function(N,X,W){return H.H.useReducer(N,X,W)},ue.useRef=function(N){return H.H.useRef(N)},ue.useState=function(N){return H.H.useState(N)},ue.useSyncExternalStore=function(N,X,W){return H.H.useSyncExternalStore(N,X,W)},ue.useTransition=function(){return H.H.useTransition()},ue.version="19.1.0",ue}var _0;function Pd(){return _0||(_0=1,Uu.exports=Zw()),Uu.exports}var j=Pd();const ge=pl(j),Dg=Xw({__proto__:null,default:ge},[j]);var Lu={exports:{}},Ys={},Bu={exports:{}},Hu={};/**
 * @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 V0;function Fw(){return V0||(V0=1,function(n){function i(L,K){var Y=L.length;L.push(K);e:for(;0<Y;){var ve=Y-1>>>1,N=L[ve];if(0<u(N,K))L[ve]=K,L[Y]=N,Y=ve;else break e}}function s(L){return L.length===0?null:L[0]}function o(L){if(L.length===0)return null;var K=L[0],Y=L.pop();if(Y!==K){L[0]=Y;e:for(var ve=0,N=L.length,X=N>>>1;ve<X;){var W=2*(ve+1)-1,Z=L[W],I=W+1,he=L[I];if(0>u(Z,Y))I<N&&0>u(he,Z)?(L[ve]=he,L[I]=Y,ve=I):(L[ve]=Z,L[W]=Y,ve=W);else if(I<N&&0>u(he,Y))L[ve]=he,L[I]=Y,ve=I;else break e}}return K}function u(L,K){var Y=L.sortIndex-K.sortIndex;return Y!==0?Y:L.id-K.id}if(n.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var f=performance;n.unstable_now=function(){return f.now()}}else{var m=Date,h=m.now();n.unstable_now=function(){return m.now()-h}}var p=[],y=[],g=1,v=null,w=3,S=!1,A=!1,M=!1,O=!1,E=typeof setTimeout=="function"?setTimeout:null,z=typeof clearTimeout=="function"?clearTimeout:null,U=typeof setImmediate<"u"?setImmediate:null;function Q(L){for(var K=s(y);K!==null;){if(K.callback===null)o(y);else if(K.startTime<=L)o(y),K.sortIndex=K.expirationTime,i(p,K);else break;K=s(y)}}function H(L){if(M=!1,Q(L),!A)if(s(p)!==null)A=!0,F||(F=!0,ze());else{var K=s(y);K!==null&&_e(H,K.startTime-L)}}var F=!1,ne=-1,q=5,ie=-1;function xe(){return O?!0:!(n.unstable_now()-ie<q)}function He(){if(O=!1,F){var L=n.unstable_now();ie=L;var K=!0;try{e:{A=!1,M&&(M=!1,z(ne),ne=-1),S=!0;var Y=w;try{t:{for(Q(L),v=s(p);v!==null&&!(v.expirationTime>L&&xe());){var ve=v.callback;if(typeof ve=="function"){v.callback=null,w=v.priorityLevel;var N=ve(v.expirationTime<=L);if(L=n.unstable_now(),typeof N=="function"){v.callback=N,Q(L),K=!0;break t}v===s(p)&&o(p),Q(L)}else o(p);v=s(p)}if(v!==null)K=!0;else{var X=s(y);X!==null&&_e(H,X.startTime-L),K=!1}}break e}finally{v=null,w=Y,S=!1}K=void 0}}finally{K?ze():F=!1}}}var ze;if(typeof U=="function")ze=function(){U(He)};else if(typeof MessageChannel<"u"){var Ot=new MessageChannel,ht=Ot.port2;Ot.port1.onmessage=He,ze=function(){ht.postMessage(null)}}else ze=function(){E(He,0)};function _e(L,K){ne=E(function(){L(n.unstable_now())},K)}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(L){L.callback=null},n.unstable_forceFrameRate=function(L){0>L||125<L?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):q=0<L?Math.floor(1e3/L):5},n.unstable_getCurrentPriorityLevel=function(){return w},n.unstable_next=function(L){switch(w){case 1:case 2:case 3:var K=3;break;default:K=w}var Y=w;w=K;try{return L()}finally{w=Y}},n.unstable_requestPaint=function(){O=!0},n.unstable_runWithPriority=function(L,K){switch(L){case 1:case 2:case 3:case 4:case 5:break;default:L=3}var Y=w;w=L;try{return K()}finally{w=Y}},n.unstable_scheduleCallback=function(L,K,Y){var ve=n.unstable_now();switch(typeof Y=="object"&&Y!==null?(Y=Y.delay,Y=typeof Y=="number"&&0<Y?ve+Y:ve):Y=ve,L){case 1:var N=-1;break;case 2:N=250;break;case 5:N=1073741823;break;case 4:N=1e4;break;default:N=5e3}return N=Y+N,L={id:g++,callback:K,priorityLevel:L,startTime:Y,expirationTime:N,sortIndex:-1},Y>ve?(L.sortIndex=Y,i(y,L),s(p)===null&&L===s(y)&&(M?(z(ne),ne=-1):M=!0,_e(H,Y-ve))):(L.sortIndex=N,i(p,L),A||S||(A=!0,F||(F=!0,ze()))),L},n.unstable_shouldYield=xe,n.unstable_wrapCallback=function(L){var K=w;return function(){var Y=w;w=K;try{return L.apply(this,arguments)}finally{w=Y}}}}(Hu)),Hu}var U0;function $w(){return U0||(U0=1,Bu.exports=Fw()),Bu.exports}var Pu={exports:{}},ct={};/**
 * @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 L0;function Ww(){if(L0)return ct;L0=1;var n=Pd();function i(p){var y="https://react.dev/errors/"+p;if(1<arguments.length){y+="?args[]="+encodeURIComponent(arguments[1]);for(var g=2;g<arguments.length;g++)y+="&args[]="+encodeURIComponent(arguments[g])}return"Minified React error #"+p+"; visit "+y+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function s(){}var o={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 f(p,y,g){var v=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:u,key:v==null?null:""+v,children:p,containerInfo:y,implementation:g}}var m=n.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function h(p,y){if(p==="font")return"";if(typeof y=="string")return y==="use-credentials"?y:""}return ct.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=o,ct.createPortal=function(p,y){var g=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!y||y.nodeType!==1&&y.nodeType!==9&&y.nodeType!==11)throw Error(i(299));return f(p,y,null,g)},ct.flushSync=function(p){var y=m.T,g=o.p;try{if(m.T=null,o.p=2,p)return p()}finally{m.T=y,o.p=g,o.d.f()}},ct.preconnect=function(p,y){typeof p=="string"&&(y?(y=y.crossOrigin,y=typeof y=="string"?y==="use-credentials"?y:"":void 0):y=null,o.d.C(p,y))},ct.prefetchDNS=function(p){typeof p=="string"&&o.d.D(p)},ct.preinit=function(p,y){if(typeof p=="string"&&y&&typeof y.as=="string"){var g=y.as,v=h(g,y.crossOrigin),w=typeof y.integrity=="string"?y.integrity:void 0,S=typeof y.fetchPriority=="string"?y.fetchPriority:void 0;g==="style"?o.d.S(p,typeof y.precedence=="string"?y.precedence:void 0,{crossOrigin:v,integrity:w,fetchPriority:S}):g==="script"&&o.d.X(p,{crossOrigin:v,integrity:w,fetchPriority:S,nonce:typeof y.nonce=="string"?y.nonce:void 0})}},ct.preinitModule=function(p,y){if(typeof p=="string")if(typeof y=="object"&&y!==null){if(y.as==null||y.as==="script"){var g=h(y.as,y.crossOrigin);o.d.M(p,{crossOrigin:g,integrity:typeof y.integrity=="string"?y.integrity:void 0,nonce:typeof y.nonce=="string"?y.nonce:void 0})}}else y==null&&o.d.M(p)},ct.preload=function(p,y){if(typeof p=="string"&&typeof y=="object"&&y!==null&&typeof y.as=="string"){var g=y.as,v=h(g,y.crossOrigin);o.d.L(p,g,{crossOrigin:v,integrity:typeof y.integrity=="string"?y.integrity:void 0,nonce:typeof y.nonce=="string"?y.nonce:void 0,type:typeof y.type=="string"?y.type:void 0,fetchPriority:typeof y.fetchPriority=="string"?y.fetchPriority:void 0,referrerPolicy:typeof y.referrerPolicy=="string"?y.referrerPolicy:void 0,imageSrcSet:typeof y.imageSrcSet=="string"?y.imageSrcSet:void 0,imageSizes:typeof y.imageSizes=="string"?y.imageSizes:void 0,media:typeof y.media=="string"?y.media:void 0})}},ct.preloadModule=function(p,y){if(typeof p=="string")if(y){var g=h(y.as,y.crossOrigin);o.d.m(p,{as:typeof y.as=="string"&&y.as!=="script"?y.as:void 0,crossOrigin:g,integrity:typeof y.integrity=="string"?y.integrity:void 0})}else o.d.m(p)},ct.requestFormReset=function(p){o.d.r(p)},ct.unstable_batchedUpdates=function(p,y){return p(y)},ct.useFormState=function(p,y,g){return m.H.useFormState(p,y,g)},ct.useFormStatus=function(){return m.H.useHostTransitionStatus()},ct.version="19.1.0",ct}var B0;function Og(){if(B0)return Pu.exports;B0=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(),Pu.exports=Ww(),Pu.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 H0;function Iw(){if(H0)return Ys;H0=1;var n=$w(),i=Pd(),s=Og();function o(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var a=2;a<arguments.length;a++)t+="&args[]="+encodeURIComponent(arguments[a])}return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function u(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function f(e){var t=e,a=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,(t.flags&4098)!==0&&(a=t.return),e=t.return;while(e)}return t.tag===3?a:null}function m(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function h(e){if(f(e)!==e)throw Error(o(188))}function p(e){var t=e.alternate;if(!t){if(t=f(e),t===null)throw Error(o(188));return t!==e?null:e}for(var a=e,l=t;;){var c=a.return;if(c===null)break;var d=c.alternate;if(d===null){if(l=c.return,l!==null){a=l;continue}break}if(c.child===d.child){for(d=c.child;d;){if(d===a)return h(c),e;if(d===l)return h(c),t;d=d.sibling}throw Error(o(188))}if(a.return!==l.return)a=c,l=d;else{for(var x=!1,b=c.child;b;){if(b===a){x=!0,a=c,l=d;break}if(b===l){x=!0,l=c,a=d;break}b=b.sibling}if(!x){for(b=d.child;b;){if(b===a){x=!0,a=d,l=c;break}if(b===l){x=!0,l=d,a=c;break}b=b.sibling}if(!x)throw Error(o(189))}}if(a.alternate!==l)throw Error(o(190))}if(a.tag!==3)throw Error(o(188));return a.stateNode.current===a?e:t}function y(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=y(e),t!==null)return t;e=e.sibling}return null}var g=Object.assign,v=Symbol.for("react.element"),w=Symbol.for("react.transitional.element"),S=Symbol.for("react.portal"),A=Symbol.for("react.fragment"),M=Symbol.for("react.strict_mode"),O=Symbol.for("react.profiler"),E=Symbol.for("react.provider"),z=Symbol.for("react.consumer"),U=Symbol.for("react.context"),Q=Symbol.for("react.forward_ref"),H=Symbol.for("react.suspense"),F=Symbol.for("react.suspense_list"),ne=Symbol.for("react.memo"),q=Symbol.for("react.lazy"),ie=Symbol.for("react.activity"),xe=Symbol.for("react.memo_cache_sentinel"),He=Symbol.iterator;function ze(e){return e===null||typeof e!="object"?null:(e=He&&e[He]||e["@@iterator"],typeof e=="function"?e:null)}var Ot=Symbol.for("react.client.reference");function ht(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===Ot?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case A:return"Fragment";case O:return"Profiler";case M:return"StrictMode";case H:return"Suspense";case F:return"SuspenseList";case ie:return"Activity"}if(typeof e=="object")switch(e.$$typeof){case S:return"Portal";case U:return(e.displayName||"Context")+".Provider";case z:return(e._context.displayName||"Context")+".Consumer";case Q:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case ne:return t=e.displayName||null,t!==null?t:ht(e.type)||"Memo";case q:t=e._payload,e=e._init;try{return ht(e(t))}catch{}}return null}var _e=Array.isArray,L=i.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,K=s.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Y={pending:!1,data:null,method:null,action:null},ve=[],N=-1;function X(e){return{current:e}}function W(e){0>N||(e.current=ve[N],ve[N]=null,N--)}function Z(e,t){N++,ve[N]=e.current,e.current=t}var I=X(null),he=X(null),ce=X(null),we=X(null);function Re(e,t){switch(Z(ce,t),Z(he,e),Z(I,null),t.nodeType){case 9:case 11:e=(e=t.documentElement)&&(e=e.namespaceURI)?l0(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)t=l0(t),e=o0(t,e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}W(I),Z(I,e)}function jt(){W(I),W(he),W(ce)}function Un(e){e.memoizedState!==null&&Z(we,e);var t=I.current,a=o0(t,e.type);t!==a&&(Z(he,e),Z(I,a))}function Ln(e){he.current===e&&(W(I),W(he)),we.current===e&&(W(we),Ls._currentValue=Y)}var Bn=Object.prototype.hasOwnProperty,Sr=n.unstable_scheduleCallback,Tr=n.unstable_cancelCallback,wb=n.unstable_shouldYield,jb=n.unstable_requestPaint,en=n.unstable_now,Sb=n.unstable_getCurrentPriorityLevel,Hf=n.unstable_ImmediatePriority,Pf=n.unstable_UserBlockingPriority,Tl=n.unstable_NormalPriority,Tb=n.unstable_LowPriority,qf=n.unstable_IdlePriority,Ab=n.log,Nb=n.unstable_setDisableYieldValue,Ki=null,St=null;function Hn(e){if(typeof Ab=="function"&&Nb(e),St&&typeof St.setStrictMode=="function")try{St.setStrictMode(Ki,e)}catch{}}var Tt=Math.clz32?Math.clz32:Mb,Cb=Math.log,Eb=Math.LN2;function Mb(e){return e>>>=0,e===0?32:31-(Cb(e)/Eb|0)|0}var Al=256,Nl=4194304;function ya(e){var t=e&42;if(t!==0)return t;switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194048;case 4194304:case 8388608:case 16777216:case 33554432:return e&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return e}}function Cl(e,t,a){var l=e.pendingLanes;if(l===0)return 0;var c=0,d=e.suspendedLanes,x=e.pingedLanes;e=e.warmLanes;var b=l&134217727;return b!==0?(l=b&~d,l!==0?c=ya(l):(x&=b,x!==0?c=ya(x):a||(a=b&~e,a!==0&&(c=ya(a))))):(b=l&~d,b!==0?c=ya(b):x!==0?c=ya(x):a||(a=l&~e,a!==0&&(c=ya(a)))),c===0?0:t!==0&&t!==c&&(t&d)===0&&(d=c&-c,a=t&-t,d>=a||d===32&&(a&4194048)!==0)?t:c}function Qi(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function Rb(e,t){switch(e){case 1:case 2:case 4:case 8:case 64:return t+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function Gf(){var e=Al;return Al<<=1,(Al&4194048)===0&&(Al=256),e}function Yf(){var e=Nl;return Nl<<=1,(Nl&62914560)===0&&(Nl=4194304),e}function Ar(e){for(var t=[],a=0;31>a;a++)t.push(e);return t}function Zi(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function Db(e,t,a,l,c,d){var x=e.pendingLanes;e.pendingLanes=a,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=a,e.entangledLanes&=a,e.errorRecoveryDisabledLanes&=a,e.shellSuspendCounter=0;var b=e.entanglements,T=e.expirationTimes,k=e.hiddenUpdates;for(a=x&~a;0<a;){var B=31-Tt(a),G=1<<B;b[B]=0,T[B]=-1;var _=k[B];if(_!==null)for(k[B]=null,B=0;B<_.length;B++){var V=_[B];V!==null&&(V.lane&=-536870913)}a&=~G}l!==0&&Xf(e,l,0),d!==0&&c===0&&e.tag!==0&&(e.suspendedLanes|=d&~(x&~t))}function Xf(e,t,a){e.pendingLanes|=t,e.suspendedLanes&=~t;var l=31-Tt(t);e.entangledLanes|=t,e.entanglements[l]=e.entanglements[l]|1073741824|a&4194090}function Kf(e,t){var a=e.entangledLanes|=t;for(e=e.entanglements;a;){var l=31-Tt(a),c=1<<l;c&t|e[l]&t&&(e[l]|=t),a&=~c}}function Nr(e){switch(e){case 2:e=1;break;case 8:e=4;break;case 32:e=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:e=128;break;case 268435456:e=134217728;break;default:e=0}return e}function Cr(e){return e&=-e,2<e?8<e?(e&134217727)!==0?32:268435456:8:2}function Qf(){var e=K.p;return e!==0?e:(e=window.event,e===void 0?32:N0(e.type))}function Ob(e,t){var a=K.p;try{return K.p=e,t()}finally{K.p=a}}var Pn=Math.random().toString(36).slice(2),ot="__reactFiber$"+Pn,pt="__reactProps$"+Pn,Ga="__reactContainer$"+Pn,Er="__reactEvents$"+Pn,kb="__reactListeners$"+Pn,zb="__reactHandles$"+Pn,Zf="__reactResources$"+Pn,Fi="__reactMarker$"+Pn;function Mr(e){delete e[ot],delete e[pt],delete e[Er],delete e[kb],delete e[zb]}function Ya(e){var t=e[ot];if(t)return t;for(var a=e.parentNode;a;){if(t=a[Ga]||a[ot]){if(a=t.alternate,t.child!==null||a!==null&&a.child!==null)for(e=d0(e);e!==null;){if(a=e[ot])return a;e=d0(e)}return t}e=a,a=e.parentNode}return null}function Xa(e){if(e=e[ot]||e[Ga]){var t=e.tag;if(t===5||t===6||t===13||t===26||t===27||t===3)return e}return null}function $i(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e.stateNode;throw Error(o(33))}function Ka(e){var t=e[Zf];return t||(t=e[Zf]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function Ie(e){e[Fi]=!0}var Ff=new Set,$f={};function ga(e,t){Qa(e,t),Qa(e+"Capture",t)}function Qa(e,t){for($f[e]=t,e=0;e<t.length;e++)Ff.add(t[e])}var _b=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]*$"),Wf={},If={};function Vb(e){return Bn.call(If,e)?!0:Bn.call(Wf,e)?!1:_b.test(e)?If[e]=!0:(Wf[e]=!0,!1)}function El(e,t,a){if(Vb(t))if(a===null)e.removeAttribute(t);else{switch(typeof a){case"undefined":case"function":case"symbol":e.removeAttribute(t);return;case"boolean":var l=t.toLowerCase().slice(0,5);if(l!=="data-"&&l!=="aria-"){e.removeAttribute(t);return}}e.setAttribute(t,""+a)}}function Ml(e,t,a){if(a===null)e.removeAttribute(t);else{switch(typeof a){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(t);return}e.setAttribute(t,""+a)}}function yn(e,t,a,l){if(l===null)e.removeAttribute(a);else{switch(typeof l){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(a);return}e.setAttributeNS(t,a,""+l)}}var Rr,Jf;function Za(e){if(Rr===void 0)try{throw Error()}catch(a){var t=a.stack.trim().match(/\n( *(at )?)/);Rr=t&&t[1]||"",Jf=-1<a.stack.indexOf(`
    at`)?" (<anonymous>)":-1<a.stack.indexOf("@")?"@unknown:0:0":""}return`
`+Rr+e+Jf}var Dr=!1;function Or(e,t){if(!e||Dr)return"";Dr=!0;var a=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var l={DetermineComponentFrameRoot:function(){try{if(t){var G=function(){throw Error()};if(Object.defineProperty(G.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(G,[])}catch(V){var _=V}Reflect.construct(e,[],G)}else{try{G.call()}catch(V){_=V}e.call(G.prototype)}}else{try{throw Error()}catch(V){_=V}(G=e())&&typeof G.catch=="function"&&G.catch(function(){})}}catch(V){if(V&&_&&typeof V.stack=="string")return[V.stack,_.stack]}return[null,null]}};l.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var c=Object.getOwnPropertyDescriptor(l.DetermineComponentFrameRoot,"name");c&&c.configurable&&Object.defineProperty(l.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var d=l.DetermineComponentFrameRoot(),x=d[0],b=d[1];if(x&&b){var T=x.split(`
`),k=b.split(`
`);for(c=l=0;l<T.length&&!T[l].includes("DetermineComponentFrameRoot");)l++;for(;c<k.length&&!k[c].includes("DetermineComponentFrameRoot");)c++;if(l===T.length||c===k.length)for(l=T.length-1,c=k.length-1;1<=l&&0<=c&&T[l]!==k[c];)c--;for(;1<=l&&0<=c;l--,c--)if(T[l]!==k[c]){if(l!==1||c!==1)do if(l--,c--,0>c||T[l]!==k[c]){var B=`
`+T[l].replace(" at new "," at ");return e.displayName&&B.includes("<anonymous>")&&(B=B.replace("<anonymous>",e.displayName)),B}while(1<=l&&0<=c);break}}}finally{Dr=!1,Error.prepareStackTrace=a}return(a=e?e.displayName||e.name:"")?Za(a):""}function Ub(e){switch(e.tag){case 26:case 27:case 5:return Za(e.type);case 16:return Za("Lazy");case 13:return Za("Suspense");case 19:return Za("SuspenseList");case 0:case 15:return Or(e.type,!1);case 11:return Or(e.type.render,!1);case 1:return Or(e.type,!0);case 31:return Za("Activity");default:return""}}function em(e){try{var t="";do t+=Ub(e),e=e.return;while(e);return t}catch(a){return`
Error generating stack: `+a.message+`
`+a.stack}}function kt(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function tm(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Lb(e){var t=tm(e)?"checked":"value",a=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),l=""+e[t];if(!e.hasOwnProperty(t)&&typeof a<"u"&&typeof a.get=="function"&&typeof a.set=="function"){var c=a.get,d=a.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return c.call(this)},set:function(x){l=""+x,d.call(this,x)}}),Object.defineProperty(e,t,{enumerable:a.enumerable}),{getValue:function(){return l},setValue:function(x){l=""+x},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Rl(e){e._valueTracker||(e._valueTracker=Lb(e))}function nm(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var a=t.getValue(),l="";return e&&(l=tm(e)?e.checked?"true":"false":e.value),e=l,e!==a?(t.setValue(e),!0):!1}function Dl(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}var Bb=/[\n"\\]/g;function zt(e){return e.replace(Bb,function(t){return"\\"+t.charCodeAt(0).toString(16)+" "})}function kr(e,t,a,l,c,d,x,b){e.name="",x!=null&&typeof x!="function"&&typeof x!="symbol"&&typeof x!="boolean"?e.type=x:e.removeAttribute("type"),t!=null?x==="number"?(t===0&&e.value===""||e.value!=t)&&(e.value=""+kt(t)):e.value!==""+kt(t)&&(e.value=""+kt(t)):x!=="submit"&&x!=="reset"||e.removeAttribute("value"),t!=null?zr(e,x,kt(t)):a!=null?zr(e,x,kt(a)):l!=null&&e.removeAttribute("value"),c==null&&d!=null&&(e.defaultChecked=!!d),c!=null&&(e.checked=c&&typeof c!="function"&&typeof c!="symbol"),b!=null&&typeof b!="function"&&typeof b!="symbol"&&typeof b!="boolean"?e.name=""+kt(b):e.removeAttribute("name")}function am(e,t,a,l,c,d,x,b){if(d!=null&&typeof d!="function"&&typeof d!="symbol"&&typeof d!="boolean"&&(e.type=d),t!=null||a!=null){if(!(d!=="submit"&&d!=="reset"||t!=null))return;a=a!=null?""+kt(a):"",t=t!=null?""+kt(t):a,b||t===e.value||(e.value=t),e.defaultValue=t}l=l??c,l=typeof l!="function"&&typeof l!="symbol"&&!!l,e.checked=b?e.checked:!!l,e.defaultChecked=!!l,x!=null&&typeof x!="function"&&typeof x!="symbol"&&typeof x!="boolean"&&(e.name=x)}function zr(e,t,a){t==="number"&&Dl(e.ownerDocument)===e||e.defaultValue===""+a||(e.defaultValue=""+a)}function Fa(e,t,a,l){if(e=e.options,t){t={};for(var c=0;c<a.length;c++)t["$"+a[c]]=!0;for(a=0;a<e.length;a++)c=t.hasOwnProperty("$"+e[a].value),e[a].selected!==c&&(e[a].selected=c),c&&l&&(e[a].defaultSelected=!0)}else{for(a=""+kt(a),t=null,c=0;c<e.length;c++){if(e[c].value===a){e[c].selected=!0,l&&(e[c].defaultSelected=!0);return}t!==null||e[c].disabled||(t=e[c])}t!==null&&(t.selected=!0)}}function im(e,t,a){if(t!=null&&(t=""+kt(t),t!==e.value&&(e.value=t),a==null)){e.defaultValue!==t&&(e.defaultValue=t);return}e.defaultValue=a!=null?""+kt(a):""}function sm(e,t,a,l){if(t==null){if(l!=null){if(a!=null)throw Error(o(92));if(_e(l)){if(1<l.length)throw Error(o(93));l=l[0]}a=l}a==null&&(a=""),t=a}a=kt(t),e.defaultValue=a,l=e.textContent,l===a&&l!==""&&l!==null&&(e.value=l)}function $a(e,t){if(t){var a=e.firstChild;if(a&&a===e.lastChild&&a.nodeType===3){a.nodeValue=t;return}}e.textContent=t}var Hb=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 lm(e,t,a){var l=t.indexOf("--")===0;a==null||typeof a=="boolean"||a===""?l?e.setProperty(t,""):t==="float"?e.cssFloat="":e[t]="":l?e.setProperty(t,a):typeof a!="number"||a===0||Hb.has(t)?t==="float"?e.cssFloat=a:e[t]=(""+a).trim():e[t]=a+"px"}function om(e,t,a){if(t!=null&&typeof t!="object")throw Error(o(62));if(e=e.style,a!=null){for(var l in a)!a.hasOwnProperty(l)||t!=null&&t.hasOwnProperty(l)||(l.indexOf("--")===0?e.setProperty(l,""):l==="float"?e.cssFloat="":e[l]="");for(var c in t)l=t[c],t.hasOwnProperty(c)&&a[c]!==l&&lm(e,c,l)}else for(var d in t)t.hasOwnProperty(d)&&lm(e,d,t[d])}function _r(e){if(e.indexOf("-")===-1)return!1;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Pb=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"]]),qb=/^[\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 Ol(e){return qb.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}var Vr=null;function Ur(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Wa=null,Ia=null;function rm(e){var t=Xa(e);if(t&&(e=t.stateNode)){var a=e[pt]||null;e:switch(e=t.stateNode,t.type){case"input":if(kr(e,a.value,a.defaultValue,a.defaultValue,a.checked,a.defaultChecked,a.type,a.name),t=a.name,a.type==="radio"&&t!=null){for(a=e;a.parentNode;)a=a.parentNode;for(a=a.querySelectorAll('input[name="'+zt(""+t)+'"][type="radio"]'),t=0;t<a.length;t++){var l=a[t];if(l!==e&&l.form===e.form){var c=l[pt]||null;if(!c)throw Error(o(90));kr(l,c.value,c.defaultValue,c.defaultValue,c.checked,c.defaultChecked,c.type,c.name)}}for(t=0;t<a.length;t++)l=a[t],l.form===e.form&&nm(l)}break e;case"textarea":im(e,a.value,a.defaultValue);break e;case"select":t=a.value,t!=null&&Fa(e,!!a.multiple,t,!1)}}}var Lr=!1;function cm(e,t,a){if(Lr)return e(t,a);Lr=!0;try{var l=e(t);return l}finally{if(Lr=!1,(Wa!==null||Ia!==null)&&(xo(),Wa&&(t=Wa,e=Ia,Ia=Wa=null,rm(t),e)))for(t=0;t<e.length;t++)rm(e[t])}}function Wi(e,t){var a=e.stateNode;if(a===null)return null;var l=a[pt]||null;if(l===null)return null;a=l[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(l=!l.disabled)||(e=e.type,l=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!l;break e;default:e=!1}if(e)return null;if(a&&typeof a!="function")throw Error(o(231,t,typeof a));return a}var gn=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Br=!1;if(gn)try{var Ii={};Object.defineProperty(Ii,"passive",{get:function(){Br=!0}}),window.addEventListener("test",Ii,Ii),window.removeEventListener("test",Ii,Ii)}catch{Br=!1}var qn=null,Hr=null,kl=null;function um(){if(kl)return kl;var e,t=Hr,a=t.length,l,c="value"in qn?qn.value:qn.textContent,d=c.length;for(e=0;e<a&&t[e]===c[e];e++);var x=a-e;for(l=1;l<=x&&t[a-l]===c[d-l];l++);return kl=c.slice(e,1<l?1-l:void 0)}function zl(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function _l(){return!0}function dm(){return!1}function yt(e){function t(a,l,c,d,x){this._reactName=a,this._targetInst=c,this.type=l,this.nativeEvent=d,this.target=x,this.currentTarget=null;for(var b in e)e.hasOwnProperty(b)&&(a=e[b],this[b]=a?a(d):d[b]);return this.isDefaultPrevented=(d.defaultPrevented!=null?d.defaultPrevented:d.returnValue===!1)?_l:dm,this.isPropagationStopped=dm,this}return g(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var a=this.nativeEvent;a&&(a.preventDefault?a.preventDefault():typeof a.returnValue!="unknown"&&(a.returnValue=!1),this.isDefaultPrevented=_l)},stopPropagation:function(){var a=this.nativeEvent;a&&(a.stopPropagation?a.stopPropagation():typeof a.cancelBubble!="unknown"&&(a.cancelBubble=!0),this.isPropagationStopped=_l)},persist:function(){},isPersistent:_l}),t}var xa={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Vl=yt(xa),Ji=g({},xa,{view:0,detail:0}),Gb=yt(Ji),Pr,qr,es,Ul=g({},Ji,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Yr,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==es&&(es&&e.type==="mousemove"?(Pr=e.screenX-es.screenX,qr=e.screenY-es.screenY):qr=Pr=0,es=e),Pr)},movementY:function(e){return"movementY"in e?e.movementY:qr}}),fm=yt(Ul),Yb=g({},Ul,{dataTransfer:0}),Xb=yt(Yb),Kb=g({},Ji,{relatedTarget:0}),Gr=yt(Kb),Qb=g({},xa,{animationName:0,elapsedTime:0,pseudoElement:0}),Zb=yt(Qb),Fb=g({},xa,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),$b=yt(Fb),Wb=g({},xa,{data:0}),mm=yt(Wb),Ib={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Jb={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"},e1={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function t1(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=e1[e])?!!t[e]:!1}function Yr(){return t1}var n1=g({},Ji,{key:function(e){if(e.key){var t=Ib[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=zl(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?Jb[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Yr,charCode:function(e){return e.type==="keypress"?zl(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?zl(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),a1=yt(n1),i1=g({},Ul,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),hm=yt(i1),s1=g({},Ji,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Yr}),l1=yt(s1),o1=g({},xa,{propertyName:0,elapsedTime:0,pseudoElement:0}),r1=yt(o1),c1=g({},Ul,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),u1=yt(c1),d1=g({},xa,{newState:0,oldState:0}),f1=yt(d1),m1=[9,13,27,32],Xr=gn&&"CompositionEvent"in window,ts=null;gn&&"documentMode"in document&&(ts=document.documentMode);var h1=gn&&"TextEvent"in window&&!ts,pm=gn&&(!Xr||ts&&8<ts&&11>=ts),ym=" ",gm=!1;function xm(e,t){switch(e){case"keyup":return m1.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function vm(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Ja=!1;function p1(e,t){switch(e){case"compositionend":return vm(t);case"keypress":return t.which!==32?null:(gm=!0,ym);case"textInput":return e=t.data,e===ym&&gm?null:e;default:return null}}function y1(e,t){if(Ja)return e==="compositionend"||!Xr&&xm(e,t)?(e=um(),kl=Hr=qn=null,Ja=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return pm&&t.locale!=="ko"?null:t.data;default:return null}}var g1={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 bm(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!g1[e.type]:t==="textarea"}function wm(e,t,a,l){Wa?Ia?Ia.push(l):Ia=[l]:Wa=l,t=To(t,"onChange"),0<t.length&&(a=new Vl("onChange","change",null,a,l),e.push({event:a,listeners:t}))}var ns=null,as=null;function x1(e){t0(e,0)}function Ll(e){var t=$i(e);if(nm(t))return e}function jm(e,t){if(e==="change")return t}var Sm=!1;if(gn){var Kr;if(gn){var Qr="oninput"in document;if(!Qr){var Tm=document.createElement("div");Tm.setAttribute("oninput","return;"),Qr=typeof Tm.oninput=="function"}Kr=Qr}else Kr=!1;Sm=Kr&&(!document.documentMode||9<document.documentMode)}function Am(){ns&&(ns.detachEvent("onpropertychange",Nm),as=ns=null)}function Nm(e){if(e.propertyName==="value"&&Ll(as)){var t=[];wm(t,as,e,Ur(e)),cm(x1,t)}}function v1(e,t,a){e==="focusin"?(Am(),ns=t,as=a,ns.attachEvent("onpropertychange",Nm)):e==="focusout"&&Am()}function b1(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Ll(as)}function w1(e,t){if(e==="click")return Ll(t)}function j1(e,t){if(e==="input"||e==="change")return Ll(t)}function S1(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var At=typeof Object.is=="function"?Object.is:S1;function is(e,t){if(At(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var a=Object.keys(e),l=Object.keys(t);if(a.length!==l.length)return!1;for(l=0;l<a.length;l++){var c=a[l];if(!Bn.call(t,c)||!At(e[c],t[c]))return!1}return!0}function Cm(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Em(e,t){var a=Cm(e);e=0;for(var l;a;){if(a.nodeType===3){if(l=e+a.textContent.length,e<=t&&l>=t)return{node:a,offset:t-e};e=l}e:{for(;a;){if(a.nextSibling){a=a.nextSibling;break e}a=a.parentNode}a=void 0}a=Cm(a)}}function Mm(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Mm(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Rm(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=Dl(e.document);t instanceof e.HTMLIFrameElement;){try{var a=typeof t.contentWindow.location.href=="string"}catch{a=!1}if(a)e=t.contentWindow;else break;t=Dl(e.document)}return t}function Zr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}var T1=gn&&"documentMode"in document&&11>=document.documentMode,ei=null,Fr=null,ss=null,$r=!1;function Dm(e,t,a){var l=a.window===a?a.document:a.nodeType===9?a:a.ownerDocument;$r||ei==null||ei!==Dl(l)||(l=ei,"selectionStart"in l&&Zr(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}),ss&&is(ss,l)||(ss=l,l=To(Fr,"onSelect"),0<l.length&&(t=new Vl("onSelect","select",null,t,a),e.push({event:t,listeners:l}),t.target=ei)))}function va(e,t){var a={};return a[e.toLowerCase()]=t.toLowerCase(),a["Webkit"+e]="webkit"+t,a["Moz"+e]="moz"+t,a}var ti={animationend:va("Animation","AnimationEnd"),animationiteration:va("Animation","AnimationIteration"),animationstart:va("Animation","AnimationStart"),transitionrun:va("Transition","TransitionRun"),transitionstart:va("Transition","TransitionStart"),transitioncancel:va("Transition","TransitionCancel"),transitionend:va("Transition","TransitionEnd")},Wr={},Om={};gn&&(Om=document.createElement("div").style,"AnimationEvent"in window||(delete ti.animationend.animation,delete ti.animationiteration.animation,delete ti.animationstart.animation),"TransitionEvent"in window||delete ti.transitionend.transition);function ba(e){if(Wr[e])return Wr[e];if(!ti[e])return e;var t=ti[e],a;for(a in t)if(t.hasOwnProperty(a)&&a in Om)return Wr[e]=t[a];return e}var km=ba("animationend"),zm=ba("animationiteration"),_m=ba("animationstart"),A1=ba("transitionrun"),N1=ba("transitionstart"),C1=ba("transitioncancel"),Vm=ba("transitionend"),Um=new Map,Ir="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(" ");Ir.push("scrollEnd");function Qt(e,t){Um.set(e,t),ga(t,[e])}var Lm=new WeakMap;function _t(e,t){if(typeof e=="object"&&e!==null){var a=Lm.get(e);return a!==void 0?a:(t={value:e,source:t,stack:em(t)},Lm.set(e,t),t)}return{value:e,source:t,stack:em(t)}}var Vt=[],ni=0,Jr=0;function Bl(){for(var e=ni,t=Jr=ni=0;t<e;){var a=Vt[t];Vt[t++]=null;var l=Vt[t];Vt[t++]=null;var c=Vt[t];Vt[t++]=null;var d=Vt[t];if(Vt[t++]=null,l!==null&&c!==null){var x=l.pending;x===null?c.next=c:(c.next=x.next,x.next=c),l.pending=c}d!==0&&Bm(a,c,d)}}function Hl(e,t,a,l){Vt[ni++]=e,Vt[ni++]=t,Vt[ni++]=a,Vt[ni++]=l,Jr|=l,e.lanes|=l,e=e.alternate,e!==null&&(e.lanes|=l)}function ec(e,t,a,l){return Hl(e,t,a,l),Pl(e)}function ai(e,t){return Hl(e,null,null,t),Pl(e)}function Bm(e,t,a){e.lanes|=a;var l=e.alternate;l!==null&&(l.lanes|=a);for(var c=!1,d=e.return;d!==null;)d.childLanes|=a,l=d.alternate,l!==null&&(l.childLanes|=a),d.tag===22&&(e=d.stateNode,e===null||e._visibility&1||(c=!0)),e=d,d=d.return;return e.tag===3?(d=e.stateNode,c&&t!==null&&(c=31-Tt(a),e=d.hiddenUpdates,l=e[c],l===null?e[c]=[t]:l.push(t),t.lane=a|536870912),d):null}function Pl(e){if(50<Rs)throw Rs=0,lu=null,Error(o(185));for(var t=e.return;t!==null;)e=t,t=e.return;return e.tag===3?e.stateNode:null}var ii={};function E1(e,t,a,l){this.tag=e,this.key=a,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=l,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Nt(e,t,a,l){return new E1(e,t,a,l)}function tc(e){return e=e.prototype,!(!e||!e.isReactComponent)}function xn(e,t){var a=e.alternate;return a===null?(a=Nt(e.tag,t,e.key,e.mode),a.elementType=e.elementType,a.type=e.type,a.stateNode=e.stateNode,a.alternate=e,e.alternate=a):(a.pendingProps=t,a.type=e.type,a.flags=0,a.subtreeFlags=0,a.deletions=null),a.flags=e.flags&65011712,a.childLanes=e.childLanes,a.lanes=e.lanes,a.child=e.child,a.memoizedProps=e.memoizedProps,a.memoizedState=e.memoizedState,a.updateQueue=e.updateQueue,t=e.dependencies,a.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},a.sibling=e.sibling,a.index=e.index,a.ref=e.ref,a.refCleanup=e.refCleanup,a}function Hm(e,t){e.flags&=65011714;var a=e.alternate;return a===null?(e.childLanes=0,e.lanes=t,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null):(e.childLanes=a.childLanes,e.lanes=a.lanes,e.child=a.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=a.memoizedProps,e.memoizedState=a.memoizedState,e.updateQueue=a.updateQueue,e.type=a.type,t=a.dependencies,e.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext}),e}function ql(e,t,a,l,c,d){var x=0;if(l=e,typeof e=="function")tc(e)&&(x=1);else if(typeof e=="string")x=Rw(e,a,I.current)?26:e==="html"||e==="head"||e==="body"?27:5;else e:switch(e){case ie:return e=Nt(31,a,t,c),e.elementType=ie,e.lanes=d,e;case A:return wa(a.children,c,d,t);case M:x=8,c|=24;break;case O:return e=Nt(12,a,t,c|2),e.elementType=O,e.lanes=d,e;case H:return e=Nt(13,a,t,c),e.elementType=H,e.lanes=d,e;case F:return e=Nt(19,a,t,c),e.elementType=F,e.lanes=d,e;default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case E:case U:x=10;break e;case z:x=9;break e;case Q:x=11;break e;case ne:x=14;break e;case q:x=16,l=null;break e}x=29,a=Error(o(130,e===null?"null":typeof e,"")),l=null}return t=Nt(x,a,t,c),t.elementType=e,t.type=l,t.lanes=d,t}function wa(e,t,a,l){return e=Nt(7,e,l,t),e.lanes=a,e}function nc(e,t,a){return e=Nt(6,e,null,t),e.lanes=a,e}function ac(e,t,a){return t=Nt(4,e.children!==null?e.children:[],e.key,t),t.lanes=a,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}var si=[],li=0,Gl=null,Yl=0,Ut=[],Lt=0,ja=null,vn=1,bn="";function Sa(e,t){si[li++]=Yl,si[li++]=Gl,Gl=e,Yl=t}function Pm(e,t,a){Ut[Lt++]=vn,Ut[Lt++]=bn,Ut[Lt++]=ja,ja=e;var l=vn;e=bn;var c=32-Tt(l)-1;l&=~(1<<c),a+=1;var d=32-Tt(t)+c;if(30<d){var x=c-c%5;d=(l&(1<<x)-1).toString(32),l>>=x,c-=x,vn=1<<32-Tt(t)+c|a<<c|l,bn=d+e}else vn=1<<d|a<<c|l,bn=e}function ic(e){e.return!==null&&(Sa(e,1),Pm(e,1,0))}function sc(e){for(;e===Gl;)Gl=si[--li],si[li]=null,Yl=si[--li],si[li]=null;for(;e===ja;)ja=Ut[--Lt],Ut[Lt]=null,bn=Ut[--Lt],Ut[Lt]=null,vn=Ut[--Lt],Ut[Lt]=null}var ft=null,Pe=null,Se=!1,Ta=null,tn=!1,lc=Error(o(519));function Aa(e){var t=Error(o(418,""));throw rs(_t(t,e)),lc}function qm(e){var t=e.stateNode,a=e.type,l=e.memoizedProps;switch(t[ot]=e,t[pt]=l,a){case"dialog":ye("cancel",t),ye("close",t);break;case"iframe":case"object":case"embed":ye("load",t);break;case"video":case"audio":for(a=0;a<Os.length;a++)ye(Os[a],t);break;case"source":ye("error",t);break;case"img":case"image":case"link":ye("error",t),ye("load",t);break;case"details":ye("toggle",t);break;case"input":ye("invalid",t),am(t,l.value,l.defaultValue,l.checked,l.defaultChecked,l.type,l.name,!0),Rl(t);break;case"select":ye("invalid",t);break;case"textarea":ye("invalid",t),sm(t,l.value,l.defaultValue,l.children),Rl(t)}a=l.children,typeof a!="string"&&typeof a!="number"&&typeof a!="bigint"||t.textContent===""+a||l.suppressHydrationWarning===!0||s0(t.textContent,a)?(l.popover!=null&&(ye("beforetoggle",t),ye("toggle",t)),l.onScroll!=null&&ye("scroll",t),l.onScrollEnd!=null&&ye("scrollend",t),l.onClick!=null&&(t.onclick=Ao),t=!0):t=!1,t||Aa(e)}function Gm(e){for(ft=e.return;ft;)switch(ft.tag){case 5:case 13:tn=!1;return;case 27:case 3:tn=!0;return;default:ft=ft.return}}function ls(e){if(e!==ft)return!1;if(!Se)return Gm(e),Se=!0,!1;var t=e.tag,a;if((a=t!==3&&t!==27)&&((a=t===5)&&(a=e.type,a=!(a!=="form"&&a!=="button")||ju(e.type,e.memoizedProps)),a=!a),a&&Pe&&Aa(e),Gm(e),t===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(o(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8)if(a=e.data,a==="/$"){if(t===0){Pe=Ft(e.nextSibling);break e}t--}else a!=="$"&&a!=="$!"&&a!=="$?"||t++;e=e.nextSibling}Pe=null}}else t===27?(t=Pe,ia(e.type)?(e=Nu,Nu=null,Pe=e):Pe=t):Pe=ft?Ft(e.stateNode.nextSibling):null;return!0}function os(){Pe=ft=null,Se=!1}function Ym(){var e=Ta;return e!==null&&(vt===null?vt=e:vt.push.apply(vt,e),Ta=null),e}function rs(e){Ta===null?Ta=[e]:Ta.push(e)}var oc=X(null),Na=null,wn=null;function Gn(e,t,a){Z(oc,t._currentValue),t._currentValue=a}function jn(e){e._currentValue=oc.current,W(oc)}function rc(e,t,a){for(;e!==null;){var l=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,l!==null&&(l.childLanes|=t)):l!==null&&(l.childLanes&t)!==t&&(l.childLanes|=t),e===a)break;e=e.return}}function cc(e,t,a,l){var c=e.child;for(c!==null&&(c.return=e);c!==null;){var d=c.dependencies;if(d!==null){var x=c.child;d=d.firstContext;e:for(;d!==null;){var b=d;d=c;for(var T=0;T<t.length;T++)if(b.context===t[T]){d.lanes|=a,b=d.alternate,b!==null&&(b.lanes|=a),rc(d.return,a,e),l||(x=null);break e}d=b.next}}else if(c.tag===18){if(x=c.return,x===null)throw Error(o(341));x.lanes|=a,d=x.alternate,d!==null&&(d.lanes|=a),rc(x,a,e),x=null}else x=c.child;if(x!==null)x.return=c;else for(x=c;x!==null;){if(x===e){x=null;break}if(c=x.sibling,c!==null){c.return=x.return,x=c;break}x=x.return}c=x}}function cs(e,t,a,l){e=null;for(var c=t,d=!1;c!==null;){if(!d){if((c.flags&524288)!==0)d=!0;else if((c.flags&262144)!==0)break}if(c.tag===10){var x=c.alternate;if(x===null)throw Error(o(387));if(x=x.memoizedProps,x!==null){var b=c.type;At(c.pendingProps.value,x.value)||(e!==null?e.push(b):e=[b])}}else if(c===we.current){if(x=c.alternate,x===null)throw Error(o(387));x.memoizedState.memoizedState!==c.memoizedState.memoizedState&&(e!==null?e.push(Ls):e=[Ls])}c=c.return}e!==null&&cc(t,e,a,l),t.flags|=262144}function Xl(e){for(e=e.firstContext;e!==null;){if(!At(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function Ca(e){Na=e,wn=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function rt(e){return Xm(Na,e)}function Kl(e,t){return Na===null&&Ca(e),Xm(e,t)}function Xm(e,t){var a=t._currentValue;if(t={context:t,memoizedValue:a,next:null},wn===null){if(e===null)throw Error(o(308));wn=t,e.dependencies={lanes:0,firstContext:t},e.flags|=524288}else wn=wn.next=t;return a}var M1=typeof AbortController<"u"?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(a,l){e.push(l)}};this.abort=function(){t.aborted=!0,e.forEach(function(a){return a()})}},R1=n.unstable_scheduleCallback,D1=n.unstable_NormalPriority,Fe={$$typeof:U,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function uc(){return{controller:new M1,data:new Map,refCount:0}}function us(e){e.refCount--,e.refCount===0&&R1(D1,function(){e.controller.abort()})}var ds=null,dc=0,oi=0,ri=null;function O1(e,t){if(ds===null){var a=ds=[];dc=0,oi=mu(),ri={status:"pending",value:void 0,then:function(l){a.push(l)}}}return dc++,t.then(Km,Km),t}function Km(){if(--dc===0&&ds!==null){ri!==null&&(ri.status="fulfilled");var e=ds;ds=null,oi=0,ri=null;for(var t=0;t<e.length;t++)(0,e[t])()}}function k1(e,t){var a=[],l={status:"pending",value:null,reason:null,then:function(c){a.push(c)}};return e.then(function(){l.status="fulfilled",l.value=t;for(var c=0;c<a.length;c++)(0,a[c])(t)},function(c){for(l.status="rejected",l.reason=c,c=0;c<a.length;c++)(0,a[c])(void 0)}),l}var Qm=L.S;L.S=function(e,t){typeof t=="object"&&t!==null&&typeof t.then=="function"&&O1(e,t),Qm!==null&&Qm(e,t)};var Ea=X(null);function fc(){var e=Ea.current;return e!==null?e:Oe.pooledCache}function Ql(e,t){t===null?Z(Ea,Ea.current):Z(Ea,t.pool)}function Zm(){var e=fc();return e===null?null:{parent:Fe._currentValue,pool:e}}var fs=Error(o(460)),Fm=Error(o(474)),Zl=Error(o(542)),mc={then:function(){}};function $m(e){return e=e.status,e==="fulfilled"||e==="rejected"}function Fl(){}function Wm(e,t,a){switch(a=e[a],a===void 0?e.push(t):a!==t&&(t.then(Fl,Fl),t=a),t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,Jm(e),e;default:if(typeof t.status=="string")t.then(Fl,Fl);else{if(e=Oe,e!==null&&100<e.shellSuspendCounter)throw Error(o(482));e=t,e.status="pending",e.then(function(l){if(t.status==="pending"){var c=t;c.status="fulfilled",c.value=l}},function(l){if(t.status==="pending"){var c=t;c.status="rejected",c.reason=l}})}switch(t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,Jm(e),e}throw ms=t,fs}}var ms=null;function Im(){if(ms===null)throw Error(o(459));var e=ms;return ms=null,e}function Jm(e){if(e===fs||e===Zl)throw Error(o(483))}var Yn=!1;function hc(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function pc(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function Xn(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function Kn(e,t,a){var l=e.updateQueue;if(l===null)return null;if(l=l.shared,(Te&2)!==0){var c=l.pending;return c===null?t.next=t:(t.next=c.next,c.next=t),l.pending=t,t=Pl(e),Bm(e,null,a),t}return Hl(e,l,t,a),Pl(e)}function hs(e,t,a){if(t=t.updateQueue,t!==null&&(t=t.shared,(a&4194048)!==0)){var l=t.lanes;l&=e.pendingLanes,a|=l,t.lanes=a,Kf(e,a)}}function yc(e,t){var a=e.updateQueue,l=e.alternate;if(l!==null&&(l=l.updateQueue,a===l)){var c=null,d=null;if(a=a.firstBaseUpdate,a!==null){do{var x={lane:a.lane,tag:a.tag,payload:a.payload,callback:null,next:null};d===null?c=d=x:d=d.next=x,a=a.next}while(a!==null);d===null?c=d=t:d=d.next=t}else c=d=t;a={baseState:l.baseState,firstBaseUpdate:c,lastBaseUpdate:d,shared:l.shared,callbacks:l.callbacks},e.updateQueue=a;return}e=a.lastBaseUpdate,e===null?a.firstBaseUpdate=t:e.next=t,a.lastBaseUpdate=t}var gc=!1;function ps(){if(gc){var e=ri;if(e!==null)throw e}}function ys(e,t,a,l){gc=!1;var c=e.updateQueue;Yn=!1;var d=c.firstBaseUpdate,x=c.lastBaseUpdate,b=c.shared.pending;if(b!==null){c.shared.pending=null;var T=b,k=T.next;T.next=null,x===null?d=k:x.next=k,x=T;var B=e.alternate;B!==null&&(B=B.updateQueue,b=B.lastBaseUpdate,b!==x&&(b===null?B.firstBaseUpdate=k:b.next=k,B.lastBaseUpdate=T))}if(d!==null){var G=c.baseState;x=0,B=k=T=null,b=d;do{var _=b.lane&-536870913,V=_!==b.lane;if(V?(be&_)===_:(l&_)===_){_!==0&&_===oi&&(gc=!0),B!==null&&(B=B.next={lane:0,tag:b.tag,payload:b.payload,callback:null,next:null});e:{var re=e,se=b;_=t;var Ee=a;switch(se.tag){case 1:if(re=se.payload,typeof re=="function"){G=re.call(Ee,G,_);break e}G=re;break e;case 3:re.flags=re.flags&-65537|128;case 0:if(re=se.payload,_=typeof re=="function"?re.call(Ee,G,_):re,_==null)break e;G=g({},G,_);break e;case 2:Yn=!0}}_=b.callback,_!==null&&(e.flags|=64,V&&(e.flags|=8192),V=c.callbacks,V===null?c.callbacks=[_]:V.push(_))}else V={lane:_,tag:b.tag,payload:b.payload,callback:b.callback,next:null},B===null?(k=B=V,T=G):B=B.next=V,x|=_;if(b=b.next,b===null){if(b=c.shared.pending,b===null)break;V=b,b=V.next,V.next=null,c.lastBaseUpdate=V,c.shared.pending=null}}while(!0);B===null&&(T=G),c.baseState=T,c.firstBaseUpdate=k,c.lastBaseUpdate=B,d===null&&(c.shared.lanes=0),ea|=x,e.lanes=x,e.memoizedState=G}}function eh(e,t){if(typeof e!="function")throw Error(o(191,e));e.call(t)}function th(e,t){var a=e.callbacks;if(a!==null)for(e.callbacks=null,e=0;e<a.length;e++)eh(a[e],t)}var ci=X(null),$l=X(0);function nh(e,t){e=Mn,Z($l,e),Z(ci,t),Mn=e|t.baseLanes}function xc(){Z($l,Mn),Z(ci,ci.current)}function vc(){Mn=$l.current,W(ci),W($l)}var Qn=0,de=null,Ne=null,Qe=null,Wl=!1,ui=!1,Ma=!1,Il=0,gs=0,di=null,z1=0;function Ye(){throw Error(o(321))}function bc(e,t){if(t===null)return!1;for(var a=0;a<t.length&&a<e.length;a++)if(!At(e[a],t[a]))return!1;return!0}function wc(e,t,a,l,c,d){return Qn=d,de=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,L.H=e===null||e.memoizedState===null?Bh:Hh,Ma=!1,d=a(l,c),Ma=!1,ui&&(d=ih(t,a,l,c)),ah(e),d}function ah(e){L.H=io;var t=Ne!==null&&Ne.next!==null;if(Qn=0,Qe=Ne=de=null,Wl=!1,gs=0,di=null,t)throw Error(o(300));e===null||Je||(e=e.dependencies,e!==null&&Xl(e)&&(Je=!0))}function ih(e,t,a,l){de=e;var c=0;do{if(ui&&(di=null),gs=0,ui=!1,25<=c)throw Error(o(301));if(c+=1,Qe=Ne=null,e.updateQueue!=null){var d=e.updateQueue;d.lastEffect=null,d.events=null,d.stores=null,d.memoCache!=null&&(d.memoCache.index=0)}L.H=P1,d=t(a,l)}while(ui);return d}function _1(){var e=L.H,t=e.useState()[0];return t=typeof t.then=="function"?xs(t):t,e=e.useState()[0],(Ne!==null?Ne.memoizedState:null)!==e&&(de.flags|=1024),t}function jc(){var e=Il!==0;return Il=0,e}function Sc(e,t,a){t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~a}function Tc(e){if(Wl){for(e=e.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}Wl=!1}Qn=0,Qe=Ne=de=null,ui=!1,gs=Il=0,di=null}function gt(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Qe===null?de.memoizedState=Qe=e:Qe=Qe.next=e,Qe}function Ze(){if(Ne===null){var e=de.alternate;e=e!==null?e.memoizedState:null}else e=Ne.next;var t=Qe===null?de.memoizedState:Qe.next;if(t!==null)Qe=t,Ne=e;else{if(e===null)throw de.alternate===null?Error(o(467)):Error(o(310));Ne=e,e={memoizedState:Ne.memoizedState,baseState:Ne.baseState,baseQueue:Ne.baseQueue,queue:Ne.queue,next:null},Qe===null?de.memoizedState=Qe=e:Qe=Qe.next=e}return Qe}function Ac(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function xs(e){var t=gs;return gs+=1,di===null&&(di=[]),e=Wm(di,e,t),t=de,(Qe===null?t.memoizedState:Qe.next)===null&&(t=t.alternate,L.H=t===null||t.memoizedState===null?Bh:Hh),e}function Jl(e){if(e!==null&&typeof e=="object"){if(typeof e.then=="function")return xs(e);if(e.$$typeof===U)return rt(e)}throw Error(o(438,String(e)))}function Nc(e){var t=null,a=de.updateQueue;if(a!==null&&(t=a.memoCache),t==null){var l=de.alternate;l!==null&&(l=l.updateQueue,l!==null&&(l=l.memoCache,l!=null&&(t={data:l.data.map(function(c){return c.slice()}),index:0})))}if(t==null&&(t={data:[],index:0}),a===null&&(a=Ac(),de.updateQueue=a),a.memoCache=t,a=t.data[t.index],a===void 0)for(a=t.data[t.index]=Array(e),l=0;l<e;l++)a[l]=xe;return t.index++,a}function Sn(e,t){return typeof t=="function"?t(e):t}function eo(e){var t=Ze();return Cc(t,Ne,e)}function Cc(e,t,a){var l=e.queue;if(l===null)throw Error(o(311));l.lastRenderedReducer=a;var c=e.baseQueue,d=l.pending;if(d!==null){if(c!==null){var x=c.next;c.next=d.next,d.next=x}t.baseQueue=c=d,l.pending=null}if(d=e.baseState,c===null)e.memoizedState=d;else{t=c.next;var b=x=null,T=null,k=t,B=!1;do{var G=k.lane&-536870913;if(G!==k.lane?(be&G)===G:(Qn&G)===G){var _=k.revertLane;if(_===0)T!==null&&(T=T.next={lane:0,revertLane:0,action:k.action,hasEagerState:k.hasEagerState,eagerState:k.eagerState,next:null}),G===oi&&(B=!0);else if((Qn&_)===_){k=k.next,_===oi&&(B=!0);continue}else G={lane:0,revertLane:k.revertLane,action:k.action,hasEagerState:k.hasEagerState,eagerState:k.eagerState,next:null},T===null?(b=T=G,x=d):T=T.next=G,de.lanes|=_,ea|=_;G=k.action,Ma&&a(d,G),d=k.hasEagerState?k.eagerState:a(d,G)}else _={lane:G,revertLane:k.revertLane,action:k.action,hasEagerState:k.hasEagerState,eagerState:k.eagerState,next:null},T===null?(b=T=_,x=d):T=T.next=_,de.lanes|=G,ea|=G;k=k.next}while(k!==null&&k!==t);if(T===null?x=d:T.next=b,!At(d,e.memoizedState)&&(Je=!0,B&&(a=ri,a!==null)))throw a;e.memoizedState=d,e.baseState=x,e.baseQueue=T,l.lastRenderedState=d}return c===null&&(l.lanes=0),[e.memoizedState,l.dispatch]}function Ec(e){var t=Ze(),a=t.queue;if(a===null)throw Error(o(311));a.lastRenderedReducer=e;var l=a.dispatch,c=a.pending,d=t.memoizedState;if(c!==null){a.pending=null;var x=c=c.next;do d=e(d,x.action),x=x.next;while(x!==c);At(d,t.memoizedState)||(Je=!0),t.memoizedState=d,t.baseQueue===null&&(t.baseState=d),a.lastRenderedState=d}return[d,l]}function sh(e,t,a){var l=de,c=Ze(),d=Se;if(d){if(a===void 0)throw Error(o(407));a=a()}else a=t();var x=!At((Ne||c).memoizedState,a);x&&(c.memoizedState=a,Je=!0),c=c.queue;var b=rh.bind(null,l,c,e);if(vs(2048,8,b,[e]),c.getSnapshot!==t||x||Qe!==null&&Qe.memoizedState.tag&1){if(l.flags|=2048,fi(9,to(),oh.bind(null,l,c,a,t),null),Oe===null)throw Error(o(349));d||(Qn&124)!==0||lh(l,t,a)}return a}function lh(e,t,a){e.flags|=16384,e={getSnapshot:t,value:a},t=de.updateQueue,t===null?(t=Ac(),de.updateQueue=t,t.stores=[e]):(a=t.stores,a===null?t.stores=[e]:a.push(e))}function oh(e,t,a,l){t.value=a,t.getSnapshot=l,ch(t)&&uh(e)}function rh(e,t,a){return a(function(){ch(t)&&uh(e)})}function ch(e){var t=e.getSnapshot;e=e.value;try{var a=t();return!At(e,a)}catch{return!0}}function uh(e){var t=ai(e,2);t!==null&&Dt(t,e,2)}function Mc(e){var t=gt();if(typeof e=="function"){var a=e;if(e=a(),Ma){Hn(!0);try{a()}finally{Hn(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Sn,lastRenderedState:e},t}function dh(e,t,a,l){return e.baseState=a,Cc(e,Ne,typeof l=="function"?l:Sn)}function V1(e,t,a,l,c){if(ao(e))throw Error(o(485));if(e=t.action,e!==null){var d={payload:c,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(x){d.listeners.push(x)}};L.T!==null?a(!0):d.isTransition=!1,l(d),a=t.pending,a===null?(d.next=t.pending=d,fh(t,d)):(d.next=a.next,t.pending=a.next=d)}}function fh(e,t){var a=t.action,l=t.payload,c=e.state;if(t.isTransition){var d=L.T,x={};L.T=x;try{var b=a(c,l),T=L.S;T!==null&&T(x,b),mh(e,t,b)}catch(k){Rc(e,t,k)}finally{L.T=d}}else try{d=a(c,l),mh(e,t,d)}catch(k){Rc(e,t,k)}}function mh(e,t,a){a!==null&&typeof a=="object"&&typeof a.then=="function"?a.then(function(l){hh(e,t,l)},function(l){return Rc(e,t,l)}):hh(e,t,a)}function hh(e,t,a){t.status="fulfilled",t.value=a,ph(t),e.state=a,t=e.pending,t!==null&&(a=t.next,a===t?e.pending=null:(a=a.next,t.next=a,fh(e,a)))}function Rc(e,t,a){var l=e.pending;if(e.pending=null,l!==null){l=l.next;do t.status="rejected",t.reason=a,ph(t),t=t.next;while(t!==l)}e.action=null}function ph(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function yh(e,t){return t}function gh(e,t){if(Se){var a=Oe.formState;if(a!==null){e:{var l=de;if(Se){if(Pe){t:{for(var c=Pe,d=tn;c.nodeType!==8;){if(!d){c=null;break t}if(c=Ft(c.nextSibling),c===null){c=null;break t}}d=c.data,c=d==="F!"||d==="F"?c:null}if(c){Pe=Ft(c.nextSibling),l=c.data==="F!";break e}}Aa(l)}l=!1}l&&(t=a[0])}}return a=gt(),a.memoizedState=a.baseState=t,l={pending:null,lanes:0,dispatch:null,lastRenderedReducer:yh,lastRenderedState:t},a.queue=l,a=Vh.bind(null,de,l),l.dispatch=a,l=Mc(!1),d=_c.bind(null,de,!1,l.queue),l=gt(),c={state:t,dispatch:null,action:e,pending:null},l.queue=c,a=V1.bind(null,de,c,d,a),c.dispatch=a,l.memoizedState=e,[t,a,!1]}function xh(e){var t=Ze();return vh(t,Ne,e)}function vh(e,t,a){if(t=Cc(e,t,yh)[0],e=eo(Sn)[0],typeof t=="object"&&t!==null&&typeof t.then=="function")try{var l=xs(t)}catch(x){throw x===fs?Zl:x}else l=t;t=Ze();var c=t.queue,d=c.dispatch;return a!==t.memoizedState&&(de.flags|=2048,fi(9,to(),U1.bind(null,c,a),null)),[l,d,e]}function U1(e,t){e.action=t}function bh(e){var t=Ze(),a=Ne;if(a!==null)return vh(t,a,e);Ze(),t=t.memoizedState,a=Ze();var l=a.queue.dispatch;return a.memoizedState=e,[t,l,!1]}function fi(e,t,a,l){return e={tag:e,create:a,deps:l,inst:t,next:null},t=de.updateQueue,t===null&&(t=Ac(),de.updateQueue=t),a=t.lastEffect,a===null?t.lastEffect=e.next=e:(l=a.next,a.next=e,e.next=l,t.lastEffect=e),e}function to(){return{destroy:void 0,resource:void 0}}function wh(){return Ze().memoizedState}function no(e,t,a,l){var c=gt();l=l===void 0?null:l,de.flags|=e,c.memoizedState=fi(1|t,to(),a,l)}function vs(e,t,a,l){var c=Ze();l=l===void 0?null:l;var d=c.memoizedState.inst;Ne!==null&&l!==null&&bc(l,Ne.memoizedState.deps)?c.memoizedState=fi(t,d,a,l):(de.flags|=e,c.memoizedState=fi(1|t,d,a,l))}function jh(e,t){no(8390656,8,e,t)}function Sh(e,t){vs(2048,8,e,t)}function Th(e,t){return vs(4,2,e,t)}function Ah(e,t){return vs(4,4,e,t)}function Nh(e,t){if(typeof t=="function"){e=e();var a=t(e);return function(){typeof a=="function"?a():t(null)}}if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function Ch(e,t,a){a=a!=null?a.concat([e]):null,vs(4,4,Nh.bind(null,t,e),a)}function Dc(){}function Eh(e,t){var a=Ze();t=t===void 0?null:t;var l=a.memoizedState;return t!==null&&bc(t,l[1])?l[0]:(a.memoizedState=[e,t],e)}function Mh(e,t){var a=Ze();t=t===void 0?null:t;var l=a.memoizedState;if(t!==null&&bc(t,l[1]))return l[0];if(l=e(),Ma){Hn(!0);try{e()}finally{Hn(!1)}}return a.memoizedState=[l,t],l}function Oc(e,t,a){return a===void 0||(Qn&1073741824)!==0?e.memoizedState=t:(e.memoizedState=a,e=Op(),de.lanes|=e,ea|=e,a)}function Rh(e,t,a,l){return At(a,t)?a:ci.current!==null?(e=Oc(e,a,l),At(e,t)||(Je=!0),e):(Qn&42)===0?(Je=!0,e.memoizedState=a):(e=Op(),de.lanes|=e,ea|=e,t)}function Dh(e,t,a,l,c){var d=K.p;K.p=d!==0&&8>d?d:8;var x=L.T,b={};L.T=b,_c(e,!1,t,a);try{var T=c(),k=L.S;if(k!==null&&k(b,T),T!==null&&typeof T=="object"&&typeof T.then=="function"){var B=k1(T,l);bs(e,t,B,Rt(e))}else bs(e,t,l,Rt(e))}catch(G){bs(e,t,{then:function(){},status:"rejected",reason:G},Rt())}finally{K.p=d,L.T=x}}function L1(){}function kc(e,t,a,l){if(e.tag!==5)throw Error(o(476));var c=Oh(e).queue;Dh(e,c,t,Y,a===null?L1:function(){return kh(e),a(l)})}function Oh(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:Y,baseState:Y,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Sn,lastRenderedState:Y},next:null};var a={};return t.next={memoizedState:a,baseState:a,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Sn,lastRenderedState:a},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function kh(e){var t=Oh(e).next.queue;bs(e,t,{},Rt())}function zc(){return rt(Ls)}function zh(){return Ze().memoizedState}function _h(){return Ze().memoizedState}function B1(e){for(var t=e.return;t!==null;){switch(t.tag){case 24:case 3:var a=Rt();e=Xn(a);var l=Kn(t,e,a);l!==null&&(Dt(l,t,a),hs(l,t,a)),t={cache:uc()},e.payload=t;return}t=t.return}}function H1(e,t,a){var l=Rt();a={lane:l,revertLane:0,action:a,hasEagerState:!1,eagerState:null,next:null},ao(e)?Uh(t,a):(a=ec(e,t,a,l),a!==null&&(Dt(a,e,l),Lh(a,t,l)))}function Vh(e,t,a){var l=Rt();bs(e,t,a,l)}function bs(e,t,a,l){var c={lane:l,revertLane:0,action:a,hasEagerState:!1,eagerState:null,next:null};if(ao(e))Uh(t,c);else{var d=e.alternate;if(e.lanes===0&&(d===null||d.lanes===0)&&(d=t.lastRenderedReducer,d!==null))try{var x=t.lastRenderedState,b=d(x,a);if(c.hasEagerState=!0,c.eagerState=b,At(b,x))return Hl(e,t,c,0),Oe===null&&Bl(),!1}catch{}finally{}if(a=ec(e,t,c,l),a!==null)return Dt(a,e,l),Lh(a,t,l),!0}return!1}function _c(e,t,a,l){if(l={lane:2,revertLane:mu(),action:l,hasEagerState:!1,eagerState:null,next:null},ao(e)){if(t)throw Error(o(479))}else t=ec(e,a,l,2),t!==null&&Dt(t,e,2)}function ao(e){var t=e.alternate;return e===de||t!==null&&t===de}function Uh(e,t){ui=Wl=!0;var a=e.pending;a===null?t.next=t:(t.next=a.next,a.next=t),e.pending=t}function Lh(e,t,a){if((a&4194048)!==0){var l=t.lanes;l&=e.pendingLanes,a|=l,t.lanes=a,Kf(e,a)}}var io={readContext:rt,use:Jl,useCallback:Ye,useContext:Ye,useEffect:Ye,useImperativeHandle:Ye,useLayoutEffect:Ye,useInsertionEffect:Ye,useMemo:Ye,useReducer:Ye,useRef:Ye,useState:Ye,useDebugValue:Ye,useDeferredValue:Ye,useTransition:Ye,useSyncExternalStore:Ye,useId:Ye,useHostTransitionStatus:Ye,useFormState:Ye,useActionState:Ye,useOptimistic:Ye,useMemoCache:Ye,useCacheRefresh:Ye},Bh={readContext:rt,use:Jl,useCallback:function(e,t){return gt().memoizedState=[e,t===void 0?null:t],e},useContext:rt,useEffect:jh,useImperativeHandle:function(e,t,a){a=a!=null?a.concat([e]):null,no(4194308,4,Nh.bind(null,t,e),a)},useLayoutEffect:function(e,t){return no(4194308,4,e,t)},useInsertionEffect:function(e,t){no(4,2,e,t)},useMemo:function(e,t){var a=gt();t=t===void 0?null:t;var l=e();if(Ma){Hn(!0);try{e()}finally{Hn(!1)}}return a.memoizedState=[l,t],l},useReducer:function(e,t,a){var l=gt();if(a!==void 0){var c=a(t);if(Ma){Hn(!0);try{a(t)}finally{Hn(!1)}}}else c=t;return l.memoizedState=l.baseState=c,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:c},l.queue=e,e=e.dispatch=H1.bind(null,de,e),[l.memoizedState,e]},useRef:function(e){var t=gt();return e={current:e},t.memoizedState=e},useState:function(e){e=Mc(e);var t=e.queue,a=Vh.bind(null,de,t);return t.dispatch=a,[e.memoizedState,a]},useDebugValue:Dc,useDeferredValue:function(e,t){var a=gt();return Oc(a,e,t)},useTransition:function(){var e=Mc(!1);return e=Dh.bind(null,de,e.queue,!0,!1),gt().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,a){var l=de,c=gt();if(Se){if(a===void 0)throw Error(o(407));a=a()}else{if(a=t(),Oe===null)throw Error(o(349));(be&124)!==0||lh(l,t,a)}c.memoizedState=a;var d={value:a,getSnapshot:t};return c.queue=d,jh(rh.bind(null,l,d,e),[e]),l.flags|=2048,fi(9,to(),oh.bind(null,l,d,a,t),null),a},useId:function(){var e=gt(),t=Oe.identifierPrefix;if(Se){var a=bn,l=vn;a=(l&~(1<<32-Tt(l)-1)).toString(32)+a,t="«"+t+"R"+a,a=Il++,0<a&&(t+="H"+a.toString(32)),t+="»"}else a=z1++,t="«"+t+"r"+a.toString(32)+"»";return e.memoizedState=t},useHostTransitionStatus:zc,useFormState:gh,useActionState:gh,useOptimistic:function(e){var t=gt();t.memoizedState=t.baseState=e;var a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=a,t=_c.bind(null,de,!0,a),a.dispatch=t,[e,t]},useMemoCache:Nc,useCacheRefresh:function(){return gt().memoizedState=B1.bind(null,de)}},Hh={readContext:rt,use:Jl,useCallback:Eh,useContext:rt,useEffect:Sh,useImperativeHandle:Ch,useInsertionEffect:Th,useLayoutEffect:Ah,useMemo:Mh,useReducer:eo,useRef:wh,useState:function(){return eo(Sn)},useDebugValue:Dc,useDeferredValue:function(e,t){var a=Ze();return Rh(a,Ne.memoizedState,e,t)},useTransition:function(){var e=eo(Sn)[0],t=Ze().memoizedState;return[typeof e=="boolean"?e:xs(e),t]},useSyncExternalStore:sh,useId:zh,useHostTransitionStatus:zc,useFormState:xh,useActionState:xh,useOptimistic:function(e,t){var a=Ze();return dh(a,Ne,e,t)},useMemoCache:Nc,useCacheRefresh:_h},P1={readContext:rt,use:Jl,useCallback:Eh,useContext:rt,useEffect:Sh,useImperativeHandle:Ch,useInsertionEffect:Th,useLayoutEffect:Ah,useMemo:Mh,useReducer:Ec,useRef:wh,useState:function(){return Ec(Sn)},useDebugValue:Dc,useDeferredValue:function(e,t){var a=Ze();return Ne===null?Oc(a,e,t):Rh(a,Ne.memoizedState,e,t)},useTransition:function(){var e=Ec(Sn)[0],t=Ze().memoizedState;return[typeof e=="boolean"?e:xs(e),t]},useSyncExternalStore:sh,useId:zh,useHostTransitionStatus:zc,useFormState:bh,useActionState:bh,useOptimistic:function(e,t){var a=Ze();return Ne!==null?dh(a,Ne,e,t):(a.baseState=e,[e,a.queue.dispatch])},useMemoCache:Nc,useCacheRefresh:_h},mi=null,ws=0;function so(e){var t=ws;return ws+=1,mi===null&&(mi=[]),Wm(mi,e,t)}function js(e,t){t=t.props.ref,e.ref=t!==void 0?t:null}function lo(e,t){throw t.$$typeof===v?Error(o(525)):(e=Object.prototype.toString.call(t),Error(o(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e)))}function Ph(e){var t=e._init;return t(e._payload)}function qh(e){function t(R,C){if(e){var D=R.deletions;D===null?(R.deletions=[C],R.flags|=16):D.push(C)}}function a(R,C){if(!e)return null;for(;C!==null;)t(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 c(R,C){return R=xn(R,C),R.index=0,R.sibling=null,R}function d(R,C,D){return R.index=D,e?(D=R.alternate,D!==null?(D=D.index,D<C?(R.flags|=67108866,C):D):(R.flags|=67108866,C)):(R.flags|=1048576,C)}function x(R){return e&&R.alternate===null&&(R.flags|=67108866),R}function b(R,C,D,P){return C===null||C.tag!==6?(C=nc(D,R.mode,P),C.return=R,C):(C=c(C,D),C.return=R,C)}function T(R,C,D,P){var J=D.type;return J===A?B(R,C,D.props.children,P,D.key):C!==null&&(C.elementType===J||typeof J=="object"&&J!==null&&J.$$typeof===q&&Ph(J)===C.type)?(C=c(C,D.props),js(C,D),C.return=R,C):(C=ql(D.type,D.key,D.props,null,R.mode,P),js(C,D),C.return=R,C)}function k(R,C,D,P){return C===null||C.tag!==4||C.stateNode.containerInfo!==D.containerInfo||C.stateNode.implementation!==D.implementation?(C=ac(D,R.mode,P),C.return=R,C):(C=c(C,D.children||[]),C.return=R,C)}function B(R,C,D,P,J){return C===null||C.tag!==7?(C=wa(D,R.mode,P,J),C.return=R,C):(C=c(C,D),C.return=R,C)}function G(R,C,D){if(typeof C=="string"&&C!==""||typeof C=="number"||typeof C=="bigint")return C=nc(""+C,R.mode,D),C.return=R,C;if(typeof C=="object"&&C!==null){switch(C.$$typeof){case w:return D=ql(C.type,C.key,C.props,null,R.mode,D),js(D,C),D.return=R,D;case S:return C=ac(C,R.mode,D),C.return=R,C;case q:var P=C._init;return C=P(C._payload),G(R,C,D)}if(_e(C)||ze(C))return C=wa(C,R.mode,D,null),C.return=R,C;if(typeof C.then=="function")return G(R,so(C),D);if(C.$$typeof===U)return G(R,Kl(R,C),D);lo(R,C)}return null}function _(R,C,D,P){var J=C!==null?C.key:null;if(typeof D=="string"&&D!==""||typeof D=="number"||typeof D=="bigint")return J!==null?null:b(R,C,""+D,P);if(typeof D=="object"&&D!==null){switch(D.$$typeof){case w:return D.key===J?T(R,C,D,P):null;case S:return D.key===J?k(R,C,D,P):null;case q:return J=D._init,D=J(D._payload),_(R,C,D,P)}if(_e(D)||ze(D))return J!==null?null:B(R,C,D,P,null);if(typeof D.then=="function")return _(R,C,so(D),P);if(D.$$typeof===U)return _(R,C,Kl(R,D),P);lo(R,D)}return null}function V(R,C,D,P,J){if(typeof P=="string"&&P!==""||typeof P=="number"||typeof P=="bigint")return R=R.get(D)||null,b(C,R,""+P,J);if(typeof P=="object"&&P!==null){switch(P.$$typeof){case w:return R=R.get(P.key===null?D:P.key)||null,T(C,R,P,J);case S:return R=R.get(P.key===null?D:P.key)||null,k(C,R,P,J);case q:var me=P._init;return P=me(P._payload),V(R,C,D,P,J)}if(_e(P)||ze(P))return R=R.get(D)||null,B(C,R,P,J,null);if(typeof P.then=="function")return V(R,C,D,so(P),J);if(P.$$typeof===U)return V(R,C,D,Kl(C,P),J);lo(C,P)}return null}function re(R,C,D,P){for(var J=null,me=null,ae=C,le=C=0,tt=null;ae!==null&&le<D.length;le++){ae.index>le?(tt=ae,ae=null):tt=ae.sibling;var je=_(R,ae,D[le],P);if(je===null){ae===null&&(ae=tt);break}e&&ae&&je.alternate===null&&t(R,ae),C=d(je,C,le),me===null?J=je:me.sibling=je,me=je,ae=tt}if(le===D.length)return a(R,ae),Se&&Sa(R,le),J;if(ae===null){for(;le<D.length;le++)ae=G(R,D[le],P),ae!==null&&(C=d(ae,C,le),me===null?J=ae:me.sibling=ae,me=ae);return Se&&Sa(R,le),J}for(ae=l(ae);le<D.length;le++)tt=V(ae,R,le,D[le],P),tt!==null&&(e&&tt.alternate!==null&&ae.delete(tt.key===null?le:tt.key),C=d(tt,C,le),me===null?J=tt:me.sibling=tt,me=tt);return e&&ae.forEach(function(ca){return t(R,ca)}),Se&&Sa(R,le),J}function se(R,C,D,P){if(D==null)throw Error(o(151));for(var J=null,me=null,ae=C,le=C=0,tt=null,je=D.next();ae!==null&&!je.done;le++,je=D.next()){ae.index>le?(tt=ae,ae=null):tt=ae.sibling;var ca=_(R,ae,je.value,P);if(ca===null){ae===null&&(ae=tt);break}e&&ae&&ca.alternate===null&&t(R,ae),C=d(ca,C,le),me===null?J=ca:me.sibling=ca,me=ca,ae=tt}if(je.done)return a(R,ae),Se&&Sa(R,le),J;if(ae===null){for(;!je.done;le++,je=D.next())je=G(R,je.value,P),je!==null&&(C=d(je,C,le),me===null?J=je:me.sibling=je,me=je);return Se&&Sa(R,le),J}for(ae=l(ae);!je.done;le++,je=D.next())je=V(ae,R,le,je.value,P),je!==null&&(e&&je.alternate!==null&&ae.delete(je.key===null?le:je.key),C=d(je,C,le),me===null?J=je:me.sibling=je,me=je);return e&&ae.forEach(function(qw){return t(R,qw)}),Se&&Sa(R,le),J}function Ee(R,C,D,P){if(typeof D=="object"&&D!==null&&D.type===A&&D.key===null&&(D=D.props.children),typeof D=="object"&&D!==null){switch(D.$$typeof){case w:e:{for(var J=D.key;C!==null;){if(C.key===J){if(J=D.type,J===A){if(C.tag===7){a(R,C.sibling),P=c(C,D.props.children),P.return=R,R=P;break e}}else if(C.elementType===J||typeof J=="object"&&J!==null&&J.$$typeof===q&&Ph(J)===C.type){a(R,C.sibling),P=c(C,D.props),js(P,D),P.return=R,R=P;break e}a(R,C);break}else t(R,C);C=C.sibling}D.type===A?(P=wa(D.props.children,R.mode,P,D.key),P.return=R,R=P):(P=ql(D.type,D.key,D.props,null,R.mode,P),js(P,D),P.return=R,R=P)}return x(R);case S:e:{for(J=D.key;C!==null;){if(C.key===J)if(C.tag===4&&C.stateNode.containerInfo===D.containerInfo&&C.stateNode.implementation===D.implementation){a(R,C.sibling),P=c(C,D.children||[]),P.return=R,R=P;break e}else{a(R,C);break}else t(R,C);C=C.sibling}P=ac(D,R.mode,P),P.return=R,R=P}return x(R);case q:return J=D._init,D=J(D._payload),Ee(R,C,D,P)}if(_e(D))return re(R,C,D,P);if(ze(D)){if(J=ze(D),typeof J!="function")throw Error(o(150));return D=J.call(D),se(R,C,D,P)}if(typeof D.then=="function")return Ee(R,C,so(D),P);if(D.$$typeof===U)return Ee(R,C,Kl(R,D),P);lo(R,D)}return typeof D=="string"&&D!==""||typeof D=="number"||typeof D=="bigint"?(D=""+D,C!==null&&C.tag===6?(a(R,C.sibling),P=c(C,D),P.return=R,R=P):(a(R,C),P=nc(D,R.mode,P),P.return=R,R=P),x(R)):a(R,C)}return function(R,C,D,P){try{ws=0;var J=Ee(R,C,D,P);return mi=null,J}catch(ae){if(ae===fs||ae===Zl)throw ae;var me=Nt(29,ae,null,R.mode);return me.lanes=P,me.return=R,me}finally{}}}var hi=qh(!0),Gh=qh(!1),Bt=X(null),nn=null;function Zn(e){var t=e.alternate;Z($e,$e.current&1),Z(Bt,e),nn===null&&(t===null||ci.current!==null||t.memoizedState!==null)&&(nn=e)}function Yh(e){if(e.tag===22){if(Z($e,$e.current),Z(Bt,e),nn===null){var t=e.alternate;t!==null&&t.memoizedState!==null&&(nn=e)}}else Fn()}function Fn(){Z($e,$e.current),Z(Bt,Bt.current)}function Tn(e){W(Bt),nn===e&&(nn=null),W($e)}var $e=X(0);function oo(e){for(var t=e;t!==null;){if(t.tag===13){var a=t.memoizedState;if(a!==null&&(a=a.dehydrated,a===null||a.data==="$?"||Au(a)))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if((t.flags&128)!==0)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}function Vc(e,t,a,l){t=e.memoizedState,a=a(l,t),a=a==null?t:g({},t,a),e.memoizedState=a,e.lanes===0&&(e.updateQueue.baseState=a)}var Uc={enqueueSetState:function(e,t,a){e=e._reactInternals;var l=Rt(),c=Xn(l);c.payload=t,a!=null&&(c.callback=a),t=Kn(e,c,l),t!==null&&(Dt(t,e,l),hs(t,e,l))},enqueueReplaceState:function(e,t,a){e=e._reactInternals;var l=Rt(),c=Xn(l);c.tag=1,c.payload=t,a!=null&&(c.callback=a),t=Kn(e,c,l),t!==null&&(Dt(t,e,l),hs(t,e,l))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var a=Rt(),l=Xn(a);l.tag=2,t!=null&&(l.callback=t),t=Kn(e,l,a),t!==null&&(Dt(t,e,a),hs(t,e,a))}};function Xh(e,t,a,l,c,d,x){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(l,d,x):t.prototype&&t.prototype.isPureReactComponent?!is(a,l)||!is(c,d):!0}function Kh(e,t,a,l){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(a,l),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(a,l),t.state!==e&&Uc.enqueueReplaceState(t,t.state,null)}function Ra(e,t){var a=t;if("ref"in t){a={};for(var l in t)l!=="ref"&&(a[l]=t[l])}if(e=e.defaultProps){a===t&&(a=g({},a));for(var c in e)a[c]===void 0&&(a[c]=e[c])}return a}var ro=typeof reportError=="function"?reportError:function(e){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof e=="object"&&e!==null&&typeof e.message=="string"?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",e);return}console.error(e)};function Qh(e){ro(e)}function Zh(e){console.error(e)}function Fh(e){ro(e)}function co(e,t){try{var a=e.onUncaughtError;a(t.value,{componentStack:t.stack})}catch(l){setTimeout(function(){throw l})}}function $h(e,t,a){try{var l=e.onCaughtError;l(a.value,{componentStack:a.stack,errorBoundary:t.tag===1?t.stateNode:null})}catch(c){setTimeout(function(){throw c})}}function Lc(e,t,a){return a=Xn(a),a.tag=3,a.payload={element:null},a.callback=function(){co(e,t)},a}function Wh(e){return e=Xn(e),e.tag=3,e}function Ih(e,t,a,l){var c=a.type.getDerivedStateFromError;if(typeof c=="function"){var d=l.value;e.payload=function(){return c(d)},e.callback=function(){$h(t,a,l)}}var x=a.stateNode;x!==null&&typeof x.componentDidCatch=="function"&&(e.callback=function(){$h(t,a,l),typeof c!="function"&&(ta===null?ta=new Set([this]):ta.add(this));var b=l.stack;this.componentDidCatch(l.value,{componentStack:b!==null?b:""})})}function q1(e,t,a,l,c){if(a.flags|=32768,l!==null&&typeof l=="object"&&typeof l.then=="function"){if(t=a.alternate,t!==null&&cs(t,a,c,!0),a=Bt.current,a!==null){switch(a.tag){case 13:return nn===null?ru():a.alternate===null&&qe===0&&(qe=3),a.flags&=-257,a.flags|=65536,a.lanes=c,l===mc?a.flags|=16384:(t=a.updateQueue,t===null?a.updateQueue=new Set([l]):t.add(l),uu(e,l,c)),!1;case 22:return a.flags|=65536,l===mc?a.flags|=16384:(t=a.updateQueue,t===null?(t={transitions:null,markerInstances:null,retryQueue:new Set([l])},a.updateQueue=t):(a=t.retryQueue,a===null?t.retryQueue=new Set([l]):a.add(l)),uu(e,l,c)),!1}throw Error(o(435,a.tag))}return uu(e,l,c),ru(),!1}if(Se)return t=Bt.current,t!==null?((t.flags&65536)===0&&(t.flags|=256),t.flags|=65536,t.lanes=c,l!==lc&&(e=Error(o(422),{cause:l}),rs(_t(e,a)))):(l!==lc&&(t=Error(o(423),{cause:l}),rs(_t(t,a))),e=e.current.alternate,e.flags|=65536,c&=-c,e.lanes|=c,l=_t(l,a),c=Lc(e.stateNode,l,c),yc(e,c),qe!==4&&(qe=2)),!1;var d=Error(o(520),{cause:l});if(d=_t(d,a),Ms===null?Ms=[d]:Ms.push(d),qe!==4&&(qe=2),t===null)return!0;l=_t(l,a),a=t;do{switch(a.tag){case 3:return a.flags|=65536,e=c&-c,a.lanes|=e,e=Lc(a.stateNode,l,e),yc(a,e),!1;case 1:if(t=a.type,d=a.stateNode,(a.flags&128)===0&&(typeof t.getDerivedStateFromError=="function"||d!==null&&typeof d.componentDidCatch=="function"&&(ta===null||!ta.has(d))))return a.flags|=65536,c&=-c,a.lanes|=c,c=Wh(c),Ih(c,e,a,l),yc(a,c),!1}a=a.return}while(a!==null);return!1}var Jh=Error(o(461)),Je=!1;function at(e,t,a,l){t.child=e===null?Gh(t,null,a,l):hi(t,e.child,a,l)}function ep(e,t,a,l,c){a=a.render;var d=t.ref;if("ref"in l){var x={};for(var b in l)b!=="ref"&&(x[b]=l[b])}else x=l;return Ca(t),l=wc(e,t,a,x,d,c),b=jc(),e!==null&&!Je?(Sc(e,t,c),An(e,t,c)):(Se&&b&&ic(t),t.flags|=1,at(e,t,l,c),t.child)}function tp(e,t,a,l,c){if(e===null){var d=a.type;return typeof d=="function"&&!tc(d)&&d.defaultProps===void 0&&a.compare===null?(t.tag=15,t.type=d,np(e,t,d,l,c)):(e=ql(a.type,null,l,t,t.mode,c),e.ref=t.ref,e.return=t,t.child=e)}if(d=e.child,!Kc(e,c)){var x=d.memoizedProps;if(a=a.compare,a=a!==null?a:is,a(x,l)&&e.ref===t.ref)return An(e,t,c)}return t.flags|=1,e=xn(d,l),e.ref=t.ref,e.return=t,t.child=e}function np(e,t,a,l,c){if(e!==null){var d=e.memoizedProps;if(is(d,l)&&e.ref===t.ref)if(Je=!1,t.pendingProps=l=d,Kc(e,c))(e.flags&131072)!==0&&(Je=!0);else return t.lanes=e.lanes,An(e,t,c)}return Bc(e,t,a,l,c)}function ap(e,t,a){var l=t.pendingProps,c=l.children,d=e!==null?e.memoizedState:null;if(l.mode==="hidden"){if((t.flags&128)!==0){if(l=d!==null?d.baseLanes|a:a,e!==null){for(c=t.child=e.child,d=0;c!==null;)d=d|c.lanes|c.childLanes,c=c.sibling;t.childLanes=d&~l}else t.childLanes=0,t.child=null;return ip(e,t,l,a)}if((a&536870912)!==0)t.memoizedState={baseLanes:0,cachePool:null},e!==null&&Ql(t,d!==null?d.cachePool:null),d!==null?nh(t,d):xc(),Yh(t);else return t.lanes=t.childLanes=536870912,ip(e,t,d!==null?d.baseLanes|a:a,a)}else d!==null?(Ql(t,d.cachePool),nh(t,d),Fn(),t.memoizedState=null):(e!==null&&Ql(t,null),xc(),Fn());return at(e,t,c,a),t.child}function ip(e,t,a,l){var c=fc();return c=c===null?null:{parent:Fe._currentValue,pool:c},t.memoizedState={baseLanes:a,cachePool:c},e!==null&&Ql(t,null),xc(),Yh(t),e!==null&&cs(e,t,l,!0),null}function uo(e,t){var a=t.ref;if(a===null)e!==null&&e.ref!==null&&(t.flags|=4194816);else{if(typeof a!="function"&&typeof a!="object")throw Error(o(284));(e===null||e.ref!==a)&&(t.flags|=4194816)}}function Bc(e,t,a,l,c){return Ca(t),a=wc(e,t,a,l,void 0,c),l=jc(),e!==null&&!Je?(Sc(e,t,c),An(e,t,c)):(Se&&l&&ic(t),t.flags|=1,at(e,t,a,c),t.child)}function sp(e,t,a,l,c,d){return Ca(t),t.updateQueue=null,a=ih(t,l,a,c),ah(e),l=jc(),e!==null&&!Je?(Sc(e,t,d),An(e,t,d)):(Se&&l&&ic(t),t.flags|=1,at(e,t,a,d),t.child)}function lp(e,t,a,l,c){if(Ca(t),t.stateNode===null){var d=ii,x=a.contextType;typeof x=="object"&&x!==null&&(d=rt(x)),d=new a(l,d),t.memoizedState=d.state!==null&&d.state!==void 0?d.state:null,d.updater=Uc,t.stateNode=d,d._reactInternals=t,d=t.stateNode,d.props=l,d.state=t.memoizedState,d.refs={},hc(t),x=a.contextType,d.context=typeof x=="object"&&x!==null?rt(x):ii,d.state=t.memoizedState,x=a.getDerivedStateFromProps,typeof x=="function"&&(Vc(t,a,x,l),d.state=t.memoizedState),typeof a.getDerivedStateFromProps=="function"||typeof d.getSnapshotBeforeUpdate=="function"||typeof d.UNSAFE_componentWillMount!="function"&&typeof d.componentWillMount!="function"||(x=d.state,typeof d.componentWillMount=="function"&&d.componentWillMount(),typeof d.UNSAFE_componentWillMount=="function"&&d.UNSAFE_componentWillMount(),x!==d.state&&Uc.enqueueReplaceState(d,d.state,null),ys(t,l,d,c),ps(),d.state=t.memoizedState),typeof d.componentDidMount=="function"&&(t.flags|=4194308),l=!0}else if(e===null){d=t.stateNode;var b=t.memoizedProps,T=Ra(a,b);d.props=T;var k=d.context,B=a.contextType;x=ii,typeof B=="object"&&B!==null&&(x=rt(B));var G=a.getDerivedStateFromProps;B=typeof G=="function"||typeof d.getSnapshotBeforeUpdate=="function",b=t.pendingProps!==b,B||typeof d.UNSAFE_componentWillReceiveProps!="function"&&typeof d.componentWillReceiveProps!="function"||(b||k!==x)&&Kh(t,d,l,x),Yn=!1;var _=t.memoizedState;d.state=_,ys(t,l,d,c),ps(),k=t.memoizedState,b||_!==k||Yn?(typeof G=="function"&&(Vc(t,a,G,l),k=t.memoizedState),(T=Yn||Xh(t,a,T,l,_,k,x))?(B||typeof d.UNSAFE_componentWillMount!="function"&&typeof d.componentWillMount!="function"||(typeof d.componentWillMount=="function"&&d.componentWillMount(),typeof d.UNSAFE_componentWillMount=="function"&&d.UNSAFE_componentWillMount()),typeof d.componentDidMount=="function"&&(t.flags|=4194308)):(typeof d.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=l,t.memoizedState=k),d.props=l,d.state=k,d.context=x,l=T):(typeof d.componentDidMount=="function"&&(t.flags|=4194308),l=!1)}else{d=t.stateNode,pc(e,t),x=t.memoizedProps,B=Ra(a,x),d.props=B,G=t.pendingProps,_=d.context,k=a.contextType,T=ii,typeof k=="object"&&k!==null&&(T=rt(k)),b=a.getDerivedStateFromProps,(k=typeof b=="function"||typeof d.getSnapshotBeforeUpdate=="function")||typeof d.UNSAFE_componentWillReceiveProps!="function"&&typeof d.componentWillReceiveProps!="function"||(x!==G||_!==T)&&Kh(t,d,l,T),Yn=!1,_=t.memoizedState,d.state=_,ys(t,l,d,c),ps();var V=t.memoizedState;x!==G||_!==V||Yn||e!==null&&e.dependencies!==null&&Xl(e.dependencies)?(typeof b=="function"&&(Vc(t,a,b,l),V=t.memoizedState),(B=Yn||Xh(t,a,B,l,_,V,T)||e!==null&&e.dependencies!==null&&Xl(e.dependencies))?(k||typeof d.UNSAFE_componentWillUpdate!="function"&&typeof d.componentWillUpdate!="function"||(typeof d.componentWillUpdate=="function"&&d.componentWillUpdate(l,V,T),typeof d.UNSAFE_componentWillUpdate=="function"&&d.UNSAFE_componentWillUpdate(l,V,T)),typeof d.componentDidUpdate=="function"&&(t.flags|=4),typeof d.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof d.componentDidUpdate!="function"||x===e.memoizedProps&&_===e.memoizedState||(t.flags|=4),typeof d.getSnapshotBeforeUpdate!="function"||x===e.memoizedProps&&_===e.memoizedState||(t.flags|=1024),t.memoizedProps=l,t.memoizedState=V),d.props=l,d.state=V,d.context=T,l=B):(typeof d.componentDidUpdate!="function"||x===e.memoizedProps&&_===e.memoizedState||(t.flags|=4),typeof d.getSnapshotBeforeUpdate!="function"||x===e.memoizedProps&&_===e.memoizedState||(t.flags|=1024),l=!1)}return d=l,uo(e,t),l=(t.flags&128)!==0,d||l?(d=t.stateNode,a=l&&typeof a.getDerivedStateFromError!="function"?null:d.render(),t.flags|=1,e!==null&&l?(t.child=hi(t,e.child,null,c),t.child=hi(t,null,a,c)):at(e,t,a,c),t.memoizedState=d.state,e=t.child):e=An(e,t,c),e}function op(e,t,a,l){return os(),t.flags|=256,at(e,t,a,l),t.child}var Hc={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function Pc(e){return{baseLanes:e,cachePool:Zm()}}function qc(e,t,a){return e=e!==null?e.childLanes&~a:0,t&&(e|=Ht),e}function rp(e,t,a){var l=t.pendingProps,c=!1,d=(t.flags&128)!==0,x;if((x=d)||(x=e!==null&&e.memoizedState===null?!1:($e.current&2)!==0),x&&(c=!0,t.flags&=-129),x=(t.flags&32)!==0,t.flags&=-33,e===null){if(Se){if(c?Zn(t):Fn(),Se){var b=Pe,T;if(T=b){e:{for(T=b,b=tn;T.nodeType!==8;){if(!b){b=null;break e}if(T=Ft(T.nextSibling),T===null){b=null;break e}}b=T}b!==null?(t.memoizedState={dehydrated:b,treeContext:ja!==null?{id:vn,overflow:bn}:null,retryLane:536870912,hydrationErrors:null},T=Nt(18,null,null,0),T.stateNode=b,T.return=t,t.child=T,ft=t,Pe=null,T=!0):T=!1}T||Aa(t)}if(b=t.memoizedState,b!==null&&(b=b.dehydrated,b!==null))return Au(b)?t.lanes=32:t.lanes=536870912,null;Tn(t)}return b=l.children,l=l.fallback,c?(Fn(),c=t.mode,b=fo({mode:"hidden",children:b},c),l=wa(l,c,a,null),b.return=t,l.return=t,b.sibling=l,t.child=b,c=t.child,c.memoizedState=Pc(a),c.childLanes=qc(e,x,a),t.memoizedState=Hc,l):(Zn(t),Gc(t,b))}if(T=e.memoizedState,T!==null&&(b=T.dehydrated,b!==null)){if(d)t.flags&256?(Zn(t),t.flags&=-257,t=Yc(e,t,a)):t.memoizedState!==null?(Fn(),t.child=e.child,t.flags|=128,t=null):(Fn(),c=l.fallback,b=t.mode,l=fo({mode:"visible",children:l.children},b),c=wa(c,b,a,null),c.flags|=2,l.return=t,c.return=t,l.sibling=c,t.child=l,hi(t,e.child,null,a),l=t.child,l.memoizedState=Pc(a),l.childLanes=qc(e,x,a),t.memoizedState=Hc,t=c);else if(Zn(t),Au(b)){if(x=b.nextSibling&&b.nextSibling.dataset,x)var k=x.dgst;x=k,l=Error(o(419)),l.stack="",l.digest=x,rs({value:l,source:null,stack:null}),t=Yc(e,t,a)}else if(Je||cs(e,t,a,!1),x=(a&e.childLanes)!==0,Je||x){if(x=Oe,x!==null&&(l=a&-a,l=(l&42)!==0?1:Nr(l),l=(l&(x.suspendedLanes|a))!==0?0:l,l!==0&&l!==T.retryLane))throw T.retryLane=l,ai(e,l),Dt(x,e,l),Jh;b.data==="$?"||ru(),t=Yc(e,t,a)}else b.data==="$?"?(t.flags|=192,t.child=e.child,t=null):(e=T.treeContext,Pe=Ft(b.nextSibling),ft=t,Se=!0,Ta=null,tn=!1,e!==null&&(Ut[Lt++]=vn,Ut[Lt++]=bn,Ut[Lt++]=ja,vn=e.id,bn=e.overflow,ja=t),t=Gc(t,l.children),t.flags|=4096);return t}return c?(Fn(),c=l.fallback,b=t.mode,T=e.child,k=T.sibling,l=xn(T,{mode:"hidden",children:l.children}),l.subtreeFlags=T.subtreeFlags&65011712,k!==null?c=xn(k,c):(c=wa(c,b,a,null),c.flags|=2),c.return=t,l.return=t,l.sibling=c,t.child=l,l=c,c=t.child,b=e.child.memoizedState,b===null?b=Pc(a):(T=b.cachePool,T!==null?(k=Fe._currentValue,T=T.parent!==k?{parent:k,pool:k}:T):T=Zm(),b={baseLanes:b.baseLanes|a,cachePool:T}),c.memoizedState=b,c.childLanes=qc(e,x,a),t.memoizedState=Hc,l):(Zn(t),a=e.child,e=a.sibling,a=xn(a,{mode:"visible",children:l.children}),a.return=t,a.sibling=null,e!==null&&(x=t.deletions,x===null?(t.deletions=[e],t.flags|=16):x.push(e)),t.child=a,t.memoizedState=null,a)}function Gc(e,t){return t=fo({mode:"visible",children:t},e.mode),t.return=e,e.child=t}function fo(e,t){return e=Nt(22,e,null,t),e.lanes=0,e.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null},e}function Yc(e,t,a){return hi(t,e.child,null,a),e=Gc(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function cp(e,t,a){e.lanes|=t;var l=e.alternate;l!==null&&(l.lanes|=t),rc(e.return,t,a)}function Xc(e,t,a,l,c){var d=e.memoizedState;d===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:l,tail:a,tailMode:c}:(d.isBackwards=t,d.rendering=null,d.renderingStartTime=0,d.last=l,d.tail=a,d.tailMode=c)}function up(e,t,a){var l=t.pendingProps,c=l.revealOrder,d=l.tail;if(at(e,t,l.children,a),l=$e.current,(l&2)!==0)l=l&1|2,t.flags|=128;else{if(e!==null&&(e.flags&128)!==0)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&cp(e,a,t);else if(e.tag===19)cp(e,a,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}l&=1}switch(Z($e,l),c){case"forwards":for(a=t.child,c=null;a!==null;)e=a.alternate,e!==null&&oo(e)===null&&(c=a),a=a.sibling;a=c,a===null?(c=t.child,t.child=null):(c=a.sibling,a.sibling=null),Xc(t,!1,c,a,d);break;case"backwards":for(a=null,c=t.child,t.child=null;c!==null;){if(e=c.alternate,e!==null&&oo(e)===null){t.child=c;break}e=c.sibling,c.sibling=a,a=c,c=e}Xc(t,!0,a,null,d);break;case"together":Xc(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function An(e,t,a){if(e!==null&&(t.dependencies=e.dependencies),ea|=t.lanes,(a&t.childLanes)===0)if(e!==null){if(cs(e,t,a,!1),(a&t.childLanes)===0)return null}else return null;if(e!==null&&t.child!==e.child)throw Error(o(153));if(t.child!==null){for(e=t.child,a=xn(e,e.pendingProps),t.child=a,a.return=t;e.sibling!==null;)e=e.sibling,a=a.sibling=xn(e,e.pendingProps),a.return=t;a.sibling=null}return t.child}function Kc(e,t){return(e.lanes&t)!==0?!0:(e=e.dependencies,!!(e!==null&&Xl(e)))}function G1(e,t,a){switch(t.tag){case 3:Re(t,t.stateNode.containerInfo),Gn(t,Fe,e.memoizedState.cache),os();break;case 27:case 5:Un(t);break;case 4:Re(t,t.stateNode.containerInfo);break;case 10:Gn(t,t.type,t.memoizedProps.value);break;case 13:var l=t.memoizedState;if(l!==null)return l.dehydrated!==null?(Zn(t),t.flags|=128,null):(a&t.child.childLanes)!==0?rp(e,t,a):(Zn(t),e=An(e,t,a),e!==null?e.sibling:null);Zn(t);break;case 19:var c=(e.flags&128)!==0;if(l=(a&t.childLanes)!==0,l||(cs(e,t,a,!1),l=(a&t.childLanes)!==0),c){if(l)return up(e,t,a);t.flags|=128}if(c=t.memoizedState,c!==null&&(c.rendering=null,c.tail=null,c.lastEffect=null),Z($e,$e.current),l)break;return null;case 22:case 23:return t.lanes=0,ap(e,t,a);case 24:Gn(t,Fe,e.memoizedState.cache)}return An(e,t,a)}function dp(e,t,a){if(e!==null)if(e.memoizedProps!==t.pendingProps)Je=!0;else{if(!Kc(e,a)&&(t.flags&128)===0)return Je=!1,G1(e,t,a);Je=(e.flags&131072)!==0}else Je=!1,Se&&(t.flags&1048576)!==0&&Pm(t,Yl,t.index);switch(t.lanes=0,t.tag){case 16:e:{e=t.pendingProps;var l=t.elementType,c=l._init;if(l=c(l._payload),t.type=l,typeof l=="function")tc(l)?(e=Ra(l,e),t.tag=1,t=lp(null,t,l,e,a)):(t.tag=0,t=Bc(null,t,l,e,a));else{if(l!=null){if(c=l.$$typeof,c===Q){t.tag=11,t=ep(null,t,l,e,a);break e}else if(c===ne){t.tag=14,t=tp(null,t,l,e,a);break e}}throw t=ht(l)||l,Error(o(306,t,""))}}return t;case 0:return Bc(e,t,t.type,t.pendingProps,a);case 1:return l=t.type,c=Ra(l,t.pendingProps),lp(e,t,l,c,a);case 3:e:{if(Re(t,t.stateNode.containerInfo),e===null)throw Error(o(387));l=t.pendingProps;var d=t.memoizedState;c=d.element,pc(e,t),ys(t,l,null,a);var x=t.memoizedState;if(l=x.cache,Gn(t,Fe,l),l!==d.cache&&cc(t,[Fe],a,!0),ps(),l=x.element,d.isDehydrated)if(d={element:l,isDehydrated:!1,cache:x.cache},t.updateQueue.baseState=d,t.memoizedState=d,t.flags&256){t=op(e,t,l,a);break e}else if(l!==c){c=_t(Error(o(424)),t),rs(c),t=op(e,t,l,a);break e}else{switch(e=t.stateNode.containerInfo,e.nodeType){case 9:e=e.body;break;default:e=e.nodeName==="HTML"?e.ownerDocument.body:e}for(Pe=Ft(e.firstChild),ft=t,Se=!0,Ta=null,tn=!0,a=Gh(t,null,l,a),t.child=a;a;)a.flags=a.flags&-3|4096,a=a.sibling}else{if(os(),l===c){t=An(e,t,a);break e}at(e,t,l,a)}t=t.child}return t;case 26:return uo(e,t),e===null?(a=p0(t.type,null,t.pendingProps,null))?t.memoizedState=a:Se||(a=t.type,e=t.pendingProps,l=No(ce.current).createElement(a),l[ot]=t,l[pt]=e,st(l,a,e),Ie(l),t.stateNode=l):t.memoizedState=p0(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return Un(t),e===null&&Se&&(l=t.stateNode=f0(t.type,t.pendingProps,ce.current),ft=t,tn=!0,c=Pe,ia(t.type)?(Nu=c,Pe=Ft(l.firstChild)):Pe=c),at(e,t,t.pendingProps.children,a),uo(e,t),e===null&&(t.flags|=4194304),t.child;case 5:return e===null&&Se&&((c=l=Pe)&&(l=gw(l,t.type,t.pendingProps,tn),l!==null?(t.stateNode=l,ft=t,Pe=Ft(l.firstChild),tn=!1,c=!0):c=!1),c||Aa(t)),Un(t),c=t.type,d=t.pendingProps,x=e!==null?e.memoizedProps:null,l=d.children,ju(c,d)?l=null:x!==null&&ju(c,x)&&(t.flags|=32),t.memoizedState!==null&&(c=wc(e,t,_1,null,null,a),Ls._currentValue=c),uo(e,t),at(e,t,l,a),t.child;case 6:return e===null&&Se&&((e=a=Pe)&&(a=xw(a,t.pendingProps,tn),a!==null?(t.stateNode=a,ft=t,Pe=null,e=!0):e=!1),e||Aa(t)),null;case 13:return rp(e,t,a);case 4:return Re(t,t.stateNode.containerInfo),l=t.pendingProps,e===null?t.child=hi(t,null,l,a):at(e,t,l,a),t.child;case 11:return ep(e,t,t.type,t.pendingProps,a);case 7:return at(e,t,t.pendingProps,a),t.child;case 8:return at(e,t,t.pendingProps.children,a),t.child;case 12:return at(e,t,t.pendingProps.children,a),t.child;case 10:return l=t.pendingProps,Gn(t,t.type,l.value),at(e,t,l.children,a),t.child;case 9:return c=t.type._context,l=t.pendingProps.children,Ca(t),c=rt(c),l=l(c),t.flags|=1,at(e,t,l,a),t.child;case 14:return tp(e,t,t.type,t.pendingProps,a);case 15:return np(e,t,t.type,t.pendingProps,a);case 19:return up(e,t,a);case 31:return l=t.pendingProps,a=t.mode,l={mode:l.mode,children:l.children},e===null?(a=fo(l,a),a.ref=t.ref,t.child=a,a.return=t,t=a):(a=xn(e.child,l),a.ref=t.ref,t.child=a,a.return=t,t=a),t;case 22:return ap(e,t,a);case 24:return Ca(t),l=rt(Fe),e===null?(c=fc(),c===null&&(c=Oe,d=uc(),c.pooledCache=d,d.refCount++,d!==null&&(c.pooledCacheLanes|=a),c=d),t.memoizedState={parent:l,cache:c},hc(t),Gn(t,Fe,c)):((e.lanes&a)!==0&&(pc(e,t),ys(t,null,null,a),ps()),c=e.memoizedState,d=t.memoizedState,c.parent!==l?(c={parent:l,cache:l},t.memoizedState=c,t.lanes===0&&(t.memoizedState=t.updateQueue.baseState=c),Gn(t,Fe,l)):(l=d.cache,Gn(t,Fe,l),l!==c.cache&&cc(t,[Fe],a,!0))),at(e,t,t.pendingProps.children,a),t.child;case 29:throw t.pendingProps}throw Error(o(156,t.tag))}function Nn(e){e.flags|=4}function fp(e,t){if(t.type!=="stylesheet"||(t.state.loading&4)!==0)e.flags&=-16777217;else if(e.flags|=16777216,!b0(t)){if(t=Bt.current,t!==null&&((be&4194048)===be?nn!==null:(be&62914560)!==be&&(be&536870912)===0||t!==nn))throw ms=mc,Fm;e.flags|=8192}}function mo(e,t){t!==null&&(e.flags|=4),e.flags&16384&&(t=e.tag!==22?Yf():536870912,e.lanes|=t,xi|=t)}function Ss(e,t){if(!Se)switch(e.tailMode){case"hidden":t=e.tail;for(var a=null;t!==null;)t.alternate!==null&&(a=t),t=t.sibling;a===null?e.tail=null:a.sibling=null;break;case"collapsed":a=e.tail;for(var l=null;a!==null;)a.alternate!==null&&(l=a),a=a.sibling;l===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:l.sibling=null}}function Ue(e){var t=e.alternate!==null&&e.alternate.child===e.child,a=0,l=0;if(t)for(var c=e.child;c!==null;)a|=c.lanes|c.childLanes,l|=c.subtreeFlags&65011712,l|=c.flags&65011712,c.return=e,c=c.sibling;else for(c=e.child;c!==null;)a|=c.lanes|c.childLanes,l|=c.subtreeFlags,l|=c.flags,c.return=e,c=c.sibling;return e.subtreeFlags|=l,e.childLanes=a,t}function Y1(e,t,a){var l=t.pendingProps;switch(sc(t),t.tag){case 31:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Ue(t),null;case 1:return Ue(t),null;case 3:return a=t.stateNode,l=null,e!==null&&(l=e.memoizedState.cache),t.memoizedState.cache!==l&&(t.flags|=2048),jn(Fe),jt(),a.pendingContext&&(a.context=a.pendingContext,a.pendingContext=null),(e===null||e.child===null)&&(ls(t)?Nn(t):e===null||e.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,Ym())),Ue(t),null;case 26:return a=t.memoizedState,e===null?(Nn(t),a!==null?(Ue(t),fp(t,a)):(Ue(t),t.flags&=-16777217)):a?a!==e.memoizedState?(Nn(t),Ue(t),fp(t,a)):(Ue(t),t.flags&=-16777217):(e.memoizedProps!==l&&Nn(t),Ue(t),t.flags&=-16777217),null;case 27:Ln(t),a=ce.current;var c=t.type;if(e!==null&&t.stateNode!=null)e.memoizedProps!==l&&Nn(t);else{if(!l){if(t.stateNode===null)throw Error(o(166));return Ue(t),null}e=I.current,ls(t)?qm(t):(e=f0(c,l,a),t.stateNode=e,Nn(t))}return Ue(t),null;case 5:if(Ln(t),a=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==l&&Nn(t);else{if(!l){if(t.stateNode===null)throw Error(o(166));return Ue(t),null}if(e=I.current,ls(t))qm(t);else{switch(c=No(ce.current),e){case 1:e=c.createElementNS("http://www.w3.org/2000/svg",a);break;case 2:e=c.createElementNS("http://www.w3.org/1998/Math/MathML",a);break;default:switch(a){case"svg":e=c.createElementNS("http://www.w3.org/2000/svg",a);break;case"math":e=c.createElementNS("http://www.w3.org/1998/Math/MathML",a);break;case"script":e=c.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild);break;case"select":e=typeof l.is=="string"?c.createElement("select",{is:l.is}):c.createElement("select"),l.multiple?e.multiple=!0:l.size&&(e.size=l.size);break;default:e=typeof l.is=="string"?c.createElement(a,{is:l.is}):c.createElement(a)}}e[ot]=t,e[pt]=l;e:for(c=t.child;c!==null;){if(c.tag===5||c.tag===6)e.appendChild(c.stateNode);else if(c.tag!==4&&c.tag!==27&&c.child!==null){c.child.return=c,c=c.child;continue}if(c===t)break e;for(;c.sibling===null;){if(c.return===null||c.return===t)break e;c=c.return}c.sibling.return=c.return,c=c.sibling}t.stateNode=e;e:switch(st(e,a,l),a){case"button":case"input":case"select":case"textarea":e=!!l.autoFocus;break e;case"img":e=!0;break e;default:e=!1}e&&Nn(t)}}return Ue(t),t.flags&=-16777217,null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==l&&Nn(t);else{if(typeof l!="string"&&t.stateNode===null)throw Error(o(166));if(e=ce.current,ls(t)){if(e=t.stateNode,a=t.memoizedProps,l=null,c=ft,c!==null)switch(c.tag){case 27:case 5:l=c.memoizedProps}e[ot]=t,e=!!(e.nodeValue===a||l!==null&&l.suppressHydrationWarning===!0||s0(e.nodeValue,a)),e||Aa(t)}else e=No(e).createTextNode(l),e[ot]=t,t.stateNode=e}return Ue(t),null;case 13:if(l=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(c=ls(t),l!==null&&l.dehydrated!==null){if(e===null){if(!c)throw Error(o(318));if(c=t.memoizedState,c=c!==null?c.dehydrated:null,!c)throw Error(o(317));c[ot]=t}else os(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;Ue(t),c=!1}else c=Ym(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=c),c=!0;if(!c)return t.flags&256?(Tn(t),t):(Tn(t),null)}if(Tn(t),(t.flags&128)!==0)return t.lanes=a,t;if(a=l!==null,e=e!==null&&e.memoizedState!==null,a){l=t.child,c=null,l.alternate!==null&&l.alternate.memoizedState!==null&&l.alternate.memoizedState.cachePool!==null&&(c=l.alternate.memoizedState.cachePool.pool);var d=null;l.memoizedState!==null&&l.memoizedState.cachePool!==null&&(d=l.memoizedState.cachePool.pool),d!==c&&(l.flags|=2048)}return a!==e&&a&&(t.child.flags|=8192),mo(t,t.updateQueue),Ue(t),null;case 4:return jt(),e===null&&gu(t.stateNode.containerInfo),Ue(t),null;case 10:return jn(t.type),Ue(t),null;case 19:if(W($e),c=t.memoizedState,c===null)return Ue(t),null;if(l=(t.flags&128)!==0,d=c.rendering,d===null)if(l)Ss(c,!1);else{if(qe!==0||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(d=oo(e),d!==null){for(t.flags|=128,Ss(c,!1),e=d.updateQueue,t.updateQueue=e,mo(t,e),t.subtreeFlags=0,e=a,a=t.child;a!==null;)Hm(a,e),a=a.sibling;return Z($e,$e.current&1|2),t.child}e=e.sibling}c.tail!==null&&en()>yo&&(t.flags|=128,l=!0,Ss(c,!1),t.lanes=4194304)}else{if(!l)if(e=oo(d),e!==null){if(t.flags|=128,l=!0,e=e.updateQueue,t.updateQueue=e,mo(t,e),Ss(c,!0),c.tail===null&&c.tailMode==="hidden"&&!d.alternate&&!Se)return Ue(t),null}else 2*en()-c.renderingStartTime>yo&&a!==536870912&&(t.flags|=128,l=!0,Ss(c,!1),t.lanes=4194304);c.isBackwards?(d.sibling=t.child,t.child=d):(e=c.last,e!==null?e.sibling=d:t.child=d,c.last=d)}return c.tail!==null?(t=c.tail,c.rendering=t,c.tail=t.sibling,c.renderingStartTime=en(),t.sibling=null,e=$e.current,Z($e,l?e&1|2:e&1),t):(Ue(t),null);case 22:case 23:return Tn(t),vc(),l=t.memoizedState!==null,e!==null?e.memoizedState!==null!==l&&(t.flags|=8192):l&&(t.flags|=8192),l?(a&536870912)!==0&&(t.flags&128)===0&&(Ue(t),t.subtreeFlags&6&&(t.flags|=8192)):Ue(t),a=t.updateQueue,a!==null&&mo(t,a.retryQueue),a=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(a=e.memoizedState.cachePool.pool),l=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(l=t.memoizedState.cachePool.pool),l!==a&&(t.flags|=2048),e!==null&&W(Ea),null;case 24:return a=null,e!==null&&(a=e.memoizedState.cache),t.memoizedState.cache!==a&&(t.flags|=2048),jn(Fe),Ue(t),null;case 25:return null;case 30:return null}throw Error(o(156,t.tag))}function X1(e,t){switch(sc(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return jn(Fe),jt(),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return Ln(t),null;case 13:if(Tn(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(o(340));os()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return W($e),null;case 4:return jt(),null;case 10:return jn(t.type),null;case 22:case 23:return Tn(t),vc(),e!==null&&W(Ea),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 24:return jn(Fe),null;case 25:return null;default:return null}}function mp(e,t){switch(sc(t),t.tag){case 3:jn(Fe),jt();break;case 26:case 27:case 5:Ln(t);break;case 4:jt();break;case 13:Tn(t);break;case 19:W($e);break;case 10:jn(t.type);break;case 22:case 23:Tn(t),vc(),e!==null&&W(Ea);break;case 24:jn(Fe)}}function Ts(e,t){try{var a=t.updateQueue,l=a!==null?a.lastEffect:null;if(l!==null){var c=l.next;a=c;do{if((a.tag&e)===e){l=void 0;var d=a.create,x=a.inst;l=d(),x.destroy=l}a=a.next}while(a!==c)}}catch(b){De(t,t.return,b)}}function $n(e,t,a){try{var l=t.updateQueue,c=l!==null?l.lastEffect:null;if(c!==null){var d=c.next;l=d;do{if((l.tag&e)===e){var x=l.inst,b=x.destroy;if(b!==void 0){x.destroy=void 0,c=t;var T=a,k=b;try{k()}catch(B){De(c,T,B)}}}l=l.next}while(l!==d)}}catch(B){De(t,t.return,B)}}function hp(e){var t=e.updateQueue;if(t!==null){var a=e.stateNode;try{th(t,a)}catch(l){De(e,e.return,l)}}}function pp(e,t,a){a.props=Ra(e.type,e.memoizedProps),a.state=e.memoizedState;try{a.componentWillUnmount()}catch(l){De(e,t,l)}}function As(e,t){try{var a=e.ref;if(a!==null){switch(e.tag){case 26:case 27:case 5:var l=e.stateNode;break;case 30:l=e.stateNode;break;default:l=e.stateNode}typeof a=="function"?e.refCleanup=a(l):a.current=l}}catch(c){De(e,t,c)}}function an(e,t){var a=e.ref,l=e.refCleanup;if(a!==null)if(typeof l=="function")try{l()}catch(c){De(e,t,c)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof a=="function")try{a(null)}catch(c){De(e,t,c)}else a.current=null}function yp(e){var t=e.type,a=e.memoizedProps,l=e.stateNode;try{e:switch(t){case"button":case"input":case"select":case"textarea":a.autoFocus&&l.focus();break e;case"img":a.src?l.src=a.src:a.srcSet&&(l.srcset=a.srcSet)}}catch(c){De(e,e.return,c)}}function Qc(e,t,a){try{var l=e.stateNode;fw(l,e.type,a,t),l[pt]=t}catch(c){De(e,e.return,c)}}function gp(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&ia(e.type)||e.tag===4}function Zc(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||gp(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.tag===27&&ia(e.type)||e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Fc(e,t,a){var l=e.tag;if(l===5||l===6)e=e.stateNode,t?(a.nodeType===9?a.body:a.nodeName==="HTML"?a.ownerDocument.body:a).insertBefore(e,t):(t=a.nodeType===9?a.body:a.nodeName==="HTML"?a.ownerDocument.body:a,t.appendChild(e),a=a._reactRootContainer,a!=null||t.onclick!==null||(t.onclick=Ao));else if(l!==4&&(l===27&&ia(e.type)&&(a=e.stateNode,t=null),e=e.child,e!==null))for(Fc(e,t,a),e=e.sibling;e!==null;)Fc(e,t,a),e=e.sibling}function ho(e,t,a){var l=e.tag;if(l===5||l===6)e=e.stateNode,t?a.insertBefore(e,t):a.appendChild(e);else if(l!==4&&(l===27&&ia(e.type)&&(a=e.stateNode),e=e.child,e!==null))for(ho(e,t,a),e=e.sibling;e!==null;)ho(e,t,a),e=e.sibling}function xp(e){var t=e.stateNode,a=e.memoizedProps;try{for(var l=e.type,c=t.attributes;c.length;)t.removeAttributeNode(c[0]);st(t,l,a),t[ot]=e,t[pt]=a}catch(d){De(e,e.return,d)}}var Cn=!1,Xe=!1,$c=!1,vp=typeof WeakSet=="function"?WeakSet:Set,et=null;function K1(e,t){if(e=e.containerInfo,bu=Oo,e=Rm(e),Zr(e)){if("selectionStart"in e)var a={start:e.selectionStart,end:e.selectionEnd};else e:{a=(a=e.ownerDocument)&&a.defaultView||window;var l=a.getSelection&&a.getSelection();if(l&&l.rangeCount!==0){a=l.anchorNode;var c=l.anchorOffset,d=l.focusNode;l=l.focusOffset;try{a.nodeType,d.nodeType}catch{a=null;break e}var x=0,b=-1,T=-1,k=0,B=0,G=e,_=null;t:for(;;){for(var V;G!==a||c!==0&&G.nodeType!==3||(b=x+c),G!==d||l!==0&&G.nodeType!==3||(T=x+l),G.nodeType===3&&(x+=G.nodeValue.length),(V=G.firstChild)!==null;)_=G,G=V;for(;;){if(G===e)break t;if(_===a&&++k===c&&(b=x),_===d&&++B===l&&(T=x),(V=G.nextSibling)!==null)break;G=_,_=G.parentNode}G=V}a=b===-1||T===-1?null:{start:b,end:T}}else a=null}a=a||{start:0,end:0}}else a=null;for(wu={focusedElem:e,selectionRange:a},Oo=!1,et=t;et!==null;)if(t=et,e=t.child,(t.subtreeFlags&1024)!==0&&e!==null)e.return=t,et=e;else for(;et!==null;){switch(t=et,d=t.alternate,e=t.flags,t.tag){case 0:break;case 11:case 15:break;case 1:if((e&1024)!==0&&d!==null){e=void 0,a=t,c=d.memoizedProps,d=d.memoizedState,l=a.stateNode;try{var re=Ra(a.type,c,a.elementType===a.type);e=l.getSnapshotBeforeUpdate(re,d),l.__reactInternalSnapshotBeforeUpdate=e}catch(se){De(a,a.return,se)}}break;case 3:if((e&1024)!==0){if(e=t.stateNode.containerInfo,a=e.nodeType,a===9)Tu(e);else if(a===1)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":Tu(e);break;default:e.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((e&1024)!==0)throw Error(o(163))}if(e=t.sibling,e!==null){e.return=t.return,et=e;break}et=t.return}}function bp(e,t,a){var l=a.flags;switch(a.tag){case 0:case 11:case 15:Wn(e,a),l&4&&Ts(5,a);break;case 1:if(Wn(e,a),l&4)if(e=a.stateNode,t===null)try{e.componentDidMount()}catch(x){De(a,a.return,x)}else{var c=Ra(a.type,t.memoizedProps);t=t.memoizedState;try{e.componentDidUpdate(c,t,e.__reactInternalSnapshotBeforeUpdate)}catch(x){De(a,a.return,x)}}l&64&&hp(a),l&512&&As(a,a.return);break;case 3:if(Wn(e,a),l&64&&(e=a.updateQueue,e!==null)){if(t=null,a.child!==null)switch(a.child.tag){case 27:case 5:t=a.child.stateNode;break;case 1:t=a.child.stateNode}try{th(e,t)}catch(x){De(a,a.return,x)}}break;case 27:t===null&&l&4&&xp(a);case 26:case 5:Wn(e,a),t===null&&l&4&&yp(a),l&512&&As(a,a.return);break;case 12:Wn(e,a);break;case 13:Wn(e,a),l&4&&Sp(e,a),l&64&&(e=a.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(a=tw.bind(null,a),vw(e,a))));break;case 22:if(l=a.memoizedState!==null||Cn,!l){t=t!==null&&t.memoizedState!==null||Xe,c=Cn;var d=Xe;Cn=l,(Xe=t)&&!d?In(e,a,(a.subtreeFlags&8772)!==0):Wn(e,a),Cn=c,Xe=d}break;case 30:break;default:Wn(e,a)}}function wp(e){var t=e.alternate;t!==null&&(e.alternate=null,wp(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&Mr(t)),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}var Ve=null,xt=!1;function En(e,t,a){for(a=a.child;a!==null;)jp(e,t,a),a=a.sibling}function jp(e,t,a){if(St&&typeof St.onCommitFiberUnmount=="function")try{St.onCommitFiberUnmount(Ki,a)}catch{}switch(a.tag){case 26:Xe||an(a,t),En(e,t,a),a.memoizedState?a.memoizedState.count--:a.stateNode&&(a=a.stateNode,a.parentNode.removeChild(a));break;case 27:Xe||an(a,t);var l=Ve,c=xt;ia(a.type)&&(Ve=a.stateNode,xt=!1),En(e,t,a),zs(a.stateNode),Ve=l,xt=c;break;case 5:Xe||an(a,t);case 6:if(l=Ve,c=xt,Ve=null,En(e,t,a),Ve=l,xt=c,Ve!==null)if(xt)try{(Ve.nodeType===9?Ve.body:Ve.nodeName==="HTML"?Ve.ownerDocument.body:Ve).removeChild(a.stateNode)}catch(d){De(a,t,d)}else try{Ve.removeChild(a.stateNode)}catch(d){De(a,t,d)}break;case 18:Ve!==null&&(xt?(e=Ve,u0(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,a.stateNode),qs(e)):u0(Ve,a.stateNode));break;case 4:l=Ve,c=xt,Ve=a.stateNode.containerInfo,xt=!0,En(e,t,a),Ve=l,xt=c;break;case 0:case 11:case 14:case 15:Xe||$n(2,a,t),Xe||$n(4,a,t),En(e,t,a);break;case 1:Xe||(an(a,t),l=a.stateNode,typeof l.componentWillUnmount=="function"&&pp(a,t,l)),En(e,t,a);break;case 21:En(e,t,a);break;case 22:Xe=(l=Xe)||a.memoizedState!==null,En(e,t,a),Xe=l;break;default:En(e,t,a)}}function Sp(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{qs(e)}catch(a){De(t,t.return,a)}}function Q1(e){switch(e.tag){case 13:case 19:var t=e.stateNode;return t===null&&(t=e.stateNode=new vp),t;case 22:return e=e.stateNode,t=e._retryCache,t===null&&(t=e._retryCache=new vp),t;default:throw Error(o(435,e.tag))}}function Wc(e,t){var a=Q1(e);t.forEach(function(l){var c=nw.bind(null,e,l);a.has(l)||(a.add(l),l.then(c,c))})}function Ct(e,t){var a=t.deletions;if(a!==null)for(var l=0;l<a.length;l++){var c=a[l],d=e,x=t,b=x;e:for(;b!==null;){switch(b.tag){case 27:if(ia(b.type)){Ve=b.stateNode,xt=!1;break e}break;case 5:Ve=b.stateNode,xt=!1;break e;case 3:case 4:Ve=b.stateNode.containerInfo,xt=!0;break e}b=b.return}if(Ve===null)throw Error(o(160));jp(d,x,c),Ve=null,xt=!1,d=c.alternate,d!==null&&(d.return=null),c.return=null}if(t.subtreeFlags&13878)for(t=t.child;t!==null;)Tp(t,e),t=t.sibling}var Zt=null;function Tp(e,t){var a=e.alternate,l=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:Ct(t,e),Et(e),l&4&&($n(3,e,e.return),Ts(3,e),$n(5,e,e.return));break;case 1:Ct(t,e),Et(e),l&512&&(Xe||a===null||an(a,a.return)),l&64&&Cn&&(e=e.updateQueue,e!==null&&(l=e.callbacks,l!==null&&(a=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=a===null?l:a.concat(l))));break;case 26:var c=Zt;if(Ct(t,e),Et(e),l&512&&(Xe||a===null||an(a,a.return)),l&4){var d=a!==null?a.memoizedState:null;if(l=e.memoizedState,a===null)if(l===null)if(e.stateNode===null){e:{l=e.type,a=e.memoizedProps,c=c.ownerDocument||c;t:switch(l){case"title":d=c.getElementsByTagName("title")[0],(!d||d[Fi]||d[ot]||d.namespaceURI==="http://www.w3.org/2000/svg"||d.hasAttribute("itemprop"))&&(d=c.createElement(l),c.head.insertBefore(d,c.querySelector("head > title"))),st(d,l,a),d[ot]=e,Ie(d),l=d;break e;case"link":var x=x0("link","href",c).get(l+(a.href||""));if(x){for(var b=0;b<x.length;b++)if(d=x[b],d.getAttribute("href")===(a.href==null||a.href===""?null:a.href)&&d.getAttribute("rel")===(a.rel==null?null:a.rel)&&d.getAttribute("title")===(a.title==null?null:a.title)&&d.getAttribute("crossorigin")===(a.crossOrigin==null?null:a.crossOrigin)){x.splice(b,1);break t}}d=c.createElement(l),st(d,l,a),c.head.appendChild(d);break;case"meta":if(x=x0("meta","content",c).get(l+(a.content||""))){for(b=0;b<x.length;b++)if(d=x[b],d.getAttribute("content")===(a.content==null?null:""+a.content)&&d.getAttribute("name")===(a.name==null?null:a.name)&&d.getAttribute("property")===(a.property==null?null:a.property)&&d.getAttribute("http-equiv")===(a.httpEquiv==null?null:a.httpEquiv)&&d.getAttribute("charset")===(a.charSet==null?null:a.charSet)){x.splice(b,1);break t}}d=c.createElement(l),st(d,l,a),c.head.appendChild(d);break;default:throw Error(o(468,l))}d[ot]=e,Ie(d),l=d}e.stateNode=l}else v0(c,e.type,e.stateNode);else e.stateNode=g0(c,l,e.memoizedProps);else d!==l?(d===null?a.stateNode!==null&&(a=a.stateNode,a.parentNode.removeChild(a)):d.count--,l===null?v0(c,e.type,e.stateNode):g0(c,l,e.memoizedProps)):l===null&&e.stateNode!==null&&Qc(e,e.memoizedProps,a.memoizedProps)}break;case 27:Ct(t,e),Et(e),l&512&&(Xe||a===null||an(a,a.return)),a!==null&&l&4&&Qc(e,e.memoizedProps,a.memoizedProps);break;case 5:if(Ct(t,e),Et(e),l&512&&(Xe||a===null||an(a,a.return)),e.flags&32){c=e.stateNode;try{$a(c,"")}catch(V){De(e,e.return,V)}}l&4&&e.stateNode!=null&&(c=e.memoizedProps,Qc(e,c,a!==null?a.memoizedProps:c)),l&1024&&($c=!0);break;case 6:if(Ct(t,e),Et(e),l&4){if(e.stateNode===null)throw Error(o(162));l=e.memoizedProps,a=e.stateNode;try{a.nodeValue=l}catch(V){De(e,e.return,V)}}break;case 3:if(Mo=null,c=Zt,Zt=Co(t.containerInfo),Ct(t,e),Zt=c,Et(e),l&4&&a!==null&&a.memoizedState.isDehydrated)try{qs(t.containerInfo)}catch(V){De(e,e.return,V)}$c&&($c=!1,Ap(e));break;case 4:l=Zt,Zt=Co(e.stateNode.containerInfo),Ct(t,e),Et(e),Zt=l;break;case 12:Ct(t,e),Et(e);break;case 13:Ct(t,e),Et(e),e.child.flags&8192&&e.memoizedState!==null!=(a!==null&&a.memoizedState!==null)&&(au=en()),l&4&&(l=e.updateQueue,l!==null&&(e.updateQueue=null,Wc(e,l)));break;case 22:c=e.memoizedState!==null;var T=a!==null&&a.memoizedState!==null,k=Cn,B=Xe;if(Cn=k||c,Xe=B||T,Ct(t,e),Xe=B,Cn=k,Et(e),l&8192)e:for(t=e.stateNode,t._visibility=c?t._visibility&-2:t._visibility|1,c&&(a===null||T||Cn||Xe||Da(e)),a=null,t=e;;){if(t.tag===5||t.tag===26){if(a===null){T=a=t;try{if(d=T.stateNode,c)x=d.style,typeof x.setProperty=="function"?x.setProperty("display","none","important"):x.display="none";else{b=T.stateNode;var G=T.memoizedProps.style,_=G!=null&&G.hasOwnProperty("display")?G.display:null;b.style.display=_==null||typeof _=="boolean"?"":(""+_).trim()}}catch(V){De(T,T.return,V)}}}else if(t.tag===6){if(a===null){T=t;try{T.stateNode.nodeValue=c?"":T.memoizedProps}catch(V){De(T,T.return,V)}}}else if((t.tag!==22&&t.tag!==23||t.memoizedState===null||t===e)&&t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break e;for(;t.sibling===null;){if(t.return===null||t.return===e)break e;a===t&&(a=null),t=t.return}a===t&&(a=null),t.sibling.return=t.return,t=t.sibling}l&4&&(l=e.updateQueue,l!==null&&(a=l.retryQueue,a!==null&&(l.retryQueue=null,Wc(e,a))));break;case 19:Ct(t,e),Et(e),l&4&&(l=e.updateQueue,l!==null&&(e.updateQueue=null,Wc(e,l)));break;case 30:break;case 21:break;default:Ct(t,e),Et(e)}}function Et(e){var t=e.flags;if(t&2){try{for(var a,l=e.return;l!==null;){if(gp(l)){a=l;break}l=l.return}if(a==null)throw Error(o(160));switch(a.tag){case 27:var c=a.stateNode,d=Zc(e);ho(e,d,c);break;case 5:var x=a.stateNode;a.flags&32&&($a(x,""),a.flags&=-33);var b=Zc(e);ho(e,b,x);break;case 3:case 4:var T=a.stateNode.containerInfo,k=Zc(e);Fc(e,k,T);break;default:throw Error(o(161))}}catch(B){De(e,e.return,B)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function Ap(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var t=e;Ap(t),t.tag===5&&t.flags&1024&&t.stateNode.reset(),e=e.sibling}}function Wn(e,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)bp(e,t.alternate,t),t=t.sibling}function Da(e){for(e=e.child;e!==null;){var t=e;switch(t.tag){case 0:case 11:case 14:case 15:$n(4,t,t.return),Da(t);break;case 1:an(t,t.return);var a=t.stateNode;typeof a.componentWillUnmount=="function"&&pp(t,t.return,a),Da(t);break;case 27:zs(t.stateNode);case 26:case 5:an(t,t.return),Da(t);break;case 22:t.memoizedState===null&&Da(t);break;case 30:Da(t);break;default:Da(t)}e=e.sibling}}function In(e,t,a){for(a=a&&(t.subtreeFlags&8772)!==0,t=t.child;t!==null;){var l=t.alternate,c=e,d=t,x=d.flags;switch(d.tag){case 0:case 11:case 15:In(c,d,a),Ts(4,d);break;case 1:if(In(c,d,a),l=d,c=l.stateNode,typeof c.componentDidMount=="function")try{c.componentDidMount()}catch(k){De(l,l.return,k)}if(l=d,c=l.updateQueue,c!==null){var b=l.stateNode;try{var T=c.shared.hiddenCallbacks;if(T!==null)for(c.shared.hiddenCallbacks=null,c=0;c<T.length;c++)eh(T[c],b)}catch(k){De(l,l.return,k)}}a&&x&64&&hp(d),As(d,d.return);break;case 27:xp(d);case 26:case 5:In(c,d,a),a&&l===null&&x&4&&yp(d),As(d,d.return);break;case 12:In(c,d,a);break;case 13:In(c,d,a),a&&x&4&&Sp(c,d);break;case 22:d.memoizedState===null&&In(c,d,a),As(d,d.return);break;case 30:break;default:In(c,d,a)}t=t.sibling}}function Ic(e,t){var a=null;e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(a=e.memoizedState.cachePool.pool),e=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(e=t.memoizedState.cachePool.pool),e!==a&&(e!=null&&e.refCount++,a!=null&&us(a))}function Jc(e,t){e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&us(e))}function sn(e,t,a,l){if(t.subtreeFlags&10256)for(t=t.child;t!==null;)Np(e,t,a,l),t=t.sibling}function Np(e,t,a,l){var c=t.flags;switch(t.tag){case 0:case 11:case 15:sn(e,t,a,l),c&2048&&Ts(9,t);break;case 1:sn(e,t,a,l);break;case 3:sn(e,t,a,l),c&2048&&(e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&us(e)));break;case 12:if(c&2048){sn(e,t,a,l),e=t.stateNode;try{var d=t.memoizedProps,x=d.id,b=d.onPostCommit;typeof b=="function"&&b(x,t.alternate===null?"mount":"update",e.passiveEffectDuration,-0)}catch(T){De(t,t.return,T)}}else sn(e,t,a,l);break;case 13:sn(e,t,a,l);break;case 23:break;case 22:d=t.stateNode,x=t.alternate,t.memoizedState!==null?d._visibility&2?sn(e,t,a,l):Ns(e,t):d._visibility&2?sn(e,t,a,l):(d._visibility|=2,pi(e,t,a,l,(t.subtreeFlags&10256)!==0)),c&2048&&Ic(x,t);break;case 24:sn(e,t,a,l),c&2048&&Jc(t.alternate,t);break;default:sn(e,t,a,l)}}function pi(e,t,a,l,c){for(c=c&&(t.subtreeFlags&10256)!==0,t=t.child;t!==null;){var d=e,x=t,b=a,T=l,k=x.flags;switch(x.tag){case 0:case 11:case 15:pi(d,x,b,T,c),Ts(8,x);break;case 23:break;case 22:var B=x.stateNode;x.memoizedState!==null?B._visibility&2?pi(d,x,b,T,c):Ns(d,x):(B._visibility|=2,pi(d,x,b,T,c)),c&&k&2048&&Ic(x.alternate,x);break;case 24:pi(d,x,b,T,c),c&&k&2048&&Jc(x.alternate,x);break;default:pi(d,x,b,T,c)}t=t.sibling}}function Ns(e,t){if(t.subtreeFlags&10256)for(t=t.child;t!==null;){var a=e,l=t,c=l.flags;switch(l.tag){case 22:Ns(a,l),c&2048&&Ic(l.alternate,l);break;case 24:Ns(a,l),c&2048&&Jc(l.alternate,l);break;default:Ns(a,l)}t=t.sibling}}var Cs=8192;function yi(e){if(e.subtreeFlags&Cs)for(e=e.child;e!==null;)Cp(e),e=e.sibling}function Cp(e){switch(e.tag){case 26:yi(e),e.flags&Cs&&e.memoizedState!==null&&Ow(Zt,e.memoizedState,e.memoizedProps);break;case 5:yi(e);break;case 3:case 4:var t=Zt;Zt=Co(e.stateNode.containerInfo),yi(e),Zt=t;break;case 22:e.memoizedState===null&&(t=e.alternate,t!==null&&t.memoizedState!==null?(t=Cs,Cs=16777216,yi(e),Cs=t):yi(e));break;default:yi(e)}}function Ep(e){var t=e.alternate;if(t!==null&&(e=t.child,e!==null)){t.child=null;do t=e.sibling,e.sibling=null,e=t;while(e!==null)}}function Es(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var a=0;a<t.length;a++){var l=t[a];et=l,Rp(l,e)}Ep(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)Mp(e),e=e.sibling}function Mp(e){switch(e.tag){case 0:case 11:case 15:Es(e),e.flags&2048&&$n(9,e,e.return);break;case 3:Es(e);break;case 12:Es(e);break;case 22:var t=e.stateNode;e.memoizedState!==null&&t._visibility&2&&(e.return===null||e.return.tag!==13)?(t._visibility&=-3,po(e)):Es(e);break;default:Es(e)}}function po(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var a=0;a<t.length;a++){var l=t[a];et=l,Rp(l,e)}Ep(e)}for(e=e.child;e!==null;){switch(t=e,t.tag){case 0:case 11:case 15:$n(8,t,t.return),po(t);break;case 22:a=t.stateNode,a._visibility&2&&(a._visibility&=-3,po(t));break;default:po(t)}e=e.sibling}}function Rp(e,t){for(;et!==null;){var a=et;switch(a.tag){case 0:case 11:case 15:$n(8,a,t);break;case 23:case 22:if(a.memoizedState!==null&&a.memoizedState.cachePool!==null){var l=a.memoizedState.cachePool.pool;l!=null&&l.refCount++}break;case 24:us(a.memoizedState.cache)}if(l=a.child,l!==null)l.return=a,et=l;else e:for(a=e;et!==null;){l=et;var c=l.sibling,d=l.return;if(wp(l),l===a){et=null;break e}if(c!==null){c.return=d,et=c;break e}et=d}}}var Z1={getCacheForType:function(e){var t=rt(Fe),a=t.data.get(e);return a===void 0&&(a=e(),t.data.set(e,a)),a}},F1=typeof WeakMap=="function"?WeakMap:Map,Te=0,Oe=null,pe=null,be=0,Ae=0,Mt=null,Jn=!1,gi=!1,eu=!1,Mn=0,qe=0,ea=0,Oa=0,tu=0,Ht=0,xi=0,Ms=null,vt=null,nu=!1,au=0,yo=1/0,go=null,ta=null,it=0,na=null,vi=null,bi=0,iu=0,su=null,Dp=null,Rs=0,lu=null;function Rt(){if((Te&2)!==0&&be!==0)return be&-be;if(L.T!==null){var e=oi;return e!==0?e:mu()}return Qf()}function Op(){Ht===0&&(Ht=(be&536870912)===0||Se?Gf():536870912);var e=Bt.current;return e!==null&&(e.flags|=32),Ht}function Dt(e,t,a){(e===Oe&&(Ae===2||Ae===9)||e.cancelPendingCommit!==null)&&(wi(e,0),aa(e,be,Ht,!1)),Zi(e,a),((Te&2)===0||e!==Oe)&&(e===Oe&&((Te&2)===0&&(Oa|=a),qe===4&&aa(e,be,Ht,!1)),ln(e))}function kp(e,t,a){if((Te&6)!==0)throw Error(o(327));var l=!a&&(t&124)===0&&(t&e.expiredLanes)===0||Qi(e,t),c=l?I1(e,t):cu(e,t,!0),d=l;do{if(c===0){gi&&!l&&aa(e,t,0,!1);break}else{if(a=e.current.alternate,d&&!$1(a)){c=cu(e,t,!1),d=!1;continue}if(c===2){if(d=t,e.errorRecoveryDisabledLanes&d)var x=0;else x=e.pendingLanes&-536870913,x=x!==0?x:x&536870912?536870912:0;if(x!==0){t=x;e:{var b=e;c=Ms;var T=b.current.memoizedState.isDehydrated;if(T&&(wi(b,x).flags|=256),x=cu(b,x,!1),x!==2){if(eu&&!T){b.errorRecoveryDisabledLanes|=d,Oa|=d,c=4;break e}d=vt,vt=c,d!==null&&(vt===null?vt=d:vt.push.apply(vt,d))}c=x}if(d=!1,c!==2)continue}}if(c===1){wi(e,0),aa(e,t,0,!0);break}e:{switch(l=e,d=c,d){case 0:case 1:throw Error(o(345));case 4:if((t&4194048)!==t)break;case 6:aa(l,t,Ht,!Jn);break e;case 2:vt=null;break;case 3:case 5:break;default:throw Error(o(329))}if((t&62914560)===t&&(c=au+300-en(),10<c)){if(aa(l,t,Ht,!Jn),Cl(l,0,!0)!==0)break e;l.timeoutHandle=r0(zp.bind(null,l,a,vt,go,nu,t,Ht,Oa,xi,Jn,d,2,-0,0),c);break e}zp(l,a,vt,go,nu,t,Ht,Oa,xi,Jn,d,0,-0,0)}}break}while(!0);ln(e)}function zp(e,t,a,l,c,d,x,b,T,k,B,G,_,V){if(e.timeoutHandle=-1,G=t.subtreeFlags,(G&8192||(G&16785408)===16785408)&&(Us={stylesheets:null,count:0,unsuspend:Dw},Cp(t),G=kw(),G!==null)){e.cancelPendingCommit=G(Pp.bind(null,e,t,d,a,l,c,x,b,T,B,1,_,V)),aa(e,d,x,!k);return}Pp(e,t,d,a,l,c,x,b,T)}function $1(e){for(var t=e;;){var a=t.tag;if((a===0||a===11||a===15)&&t.flags&16384&&(a=t.updateQueue,a!==null&&(a=a.stores,a!==null)))for(var l=0;l<a.length;l++){var c=a[l],d=c.getSnapshot;c=c.value;try{if(!At(d(),c))return!1}catch{return!1}}if(a=t.child,t.subtreeFlags&16384&&a!==null)a.return=t,t=a;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function aa(e,t,a,l){t&=~tu,t&=~Oa,e.suspendedLanes|=t,e.pingedLanes&=~t,l&&(e.warmLanes|=t),l=e.expirationTimes;for(var c=t;0<c;){var d=31-Tt(c),x=1<<d;l[d]=-1,c&=~x}a!==0&&Xf(e,a,t)}function xo(){return(Te&6)===0?(Ds(0),!1):!0}function ou(){if(pe!==null){if(Ae===0)var e=pe.return;else e=pe,wn=Na=null,Tc(e),mi=null,ws=0,e=pe;for(;e!==null;)mp(e.alternate,e),e=e.return;pe=null}}function wi(e,t){var a=e.timeoutHandle;a!==-1&&(e.timeoutHandle=-1,hw(a)),a=e.cancelPendingCommit,a!==null&&(e.cancelPendingCommit=null,a()),ou(),Oe=e,pe=a=xn(e.current,null),be=t,Ae=0,Mt=null,Jn=!1,gi=Qi(e,t),eu=!1,xi=Ht=tu=Oa=ea=qe=0,vt=Ms=null,nu=!1,(t&8)!==0&&(t|=t&32);var l=e.entangledLanes;if(l!==0)for(e=e.entanglements,l&=t;0<l;){var c=31-Tt(l),d=1<<c;t|=e[c],l&=~d}return Mn=t,Bl(),a}function _p(e,t){de=null,L.H=io,t===fs||t===Zl?(t=Im(),Ae=3):t===Fm?(t=Im(),Ae=4):Ae=t===Jh?8:t!==null&&typeof t=="object"&&typeof t.then=="function"?6:1,Mt=t,pe===null&&(qe=1,co(e,_t(t,e.current)))}function Vp(){var e=L.H;return L.H=io,e===null?io:e}function Up(){var e=L.A;return L.A=Z1,e}function ru(){qe=4,Jn||(be&4194048)!==be&&Bt.current!==null||(gi=!0),(ea&134217727)===0&&(Oa&134217727)===0||Oe===null||aa(Oe,be,Ht,!1)}function cu(e,t,a){var l=Te;Te|=2;var c=Vp(),d=Up();(Oe!==e||be!==t)&&(go=null,wi(e,t)),t=!1;var x=qe;e:do try{if(Ae!==0&&pe!==null){var b=pe,T=Mt;switch(Ae){case 8:ou(),x=6;break e;case 3:case 2:case 9:case 6:Bt.current===null&&(t=!0);var k=Ae;if(Ae=0,Mt=null,ji(e,b,T,k),a&&gi){x=0;break e}break;default:k=Ae,Ae=0,Mt=null,ji(e,b,T,k)}}W1(),x=qe;break}catch(B){_p(e,B)}while(!0);return t&&e.shellSuspendCounter++,wn=Na=null,Te=l,L.H=c,L.A=d,pe===null&&(Oe=null,be=0,Bl()),x}function W1(){for(;pe!==null;)Lp(pe)}function I1(e,t){var a=Te;Te|=2;var l=Vp(),c=Up();Oe!==e||be!==t?(go=null,yo=en()+500,wi(e,t)):gi=Qi(e,t);e:do try{if(Ae!==0&&pe!==null){t=pe;var d=Mt;t:switch(Ae){case 1:Ae=0,Mt=null,ji(e,t,d,1);break;case 2:case 9:if($m(d)){Ae=0,Mt=null,Bp(t);break}t=function(){Ae!==2&&Ae!==9||Oe!==e||(Ae=7),ln(e)},d.then(t,t);break e;case 3:Ae=7;break e;case 4:Ae=5;break e;case 7:$m(d)?(Ae=0,Mt=null,Bp(t)):(Ae=0,Mt=null,ji(e,t,d,7));break;case 5:var x=null;switch(pe.tag){case 26:x=pe.memoizedState;case 5:case 27:var b=pe;if(!x||b0(x)){Ae=0,Mt=null;var T=b.sibling;if(T!==null)pe=T;else{var k=b.return;k!==null?(pe=k,vo(k)):pe=null}break t}}Ae=0,Mt=null,ji(e,t,d,5);break;case 6:Ae=0,Mt=null,ji(e,t,d,6);break;case 8:ou(),qe=6;break e;default:throw Error(o(462))}}J1();break}catch(B){_p(e,B)}while(!0);return wn=Na=null,L.H=l,L.A=c,Te=a,pe!==null?0:(Oe=null,be=0,Bl(),qe)}function J1(){for(;pe!==null&&!wb();)Lp(pe)}function Lp(e){var t=dp(e.alternate,e,Mn);e.memoizedProps=e.pendingProps,t===null?vo(e):pe=t}function Bp(e){var t=e,a=t.alternate;switch(t.tag){case 15:case 0:t=sp(a,t,t.pendingProps,t.type,void 0,be);break;case 11:t=sp(a,t,t.pendingProps,t.type.render,t.ref,be);break;case 5:Tc(t);default:mp(a,t),t=pe=Hm(t,Mn),t=dp(a,t,Mn)}e.memoizedProps=e.pendingProps,t===null?vo(e):pe=t}function ji(e,t,a,l){wn=Na=null,Tc(t),mi=null,ws=0;var c=t.return;try{if(q1(e,c,t,a,be)){qe=1,co(e,_t(a,e.current)),pe=null;return}}catch(d){if(c!==null)throw pe=c,d;qe=1,co(e,_t(a,e.current)),pe=null;return}t.flags&32768?(Se||l===1?e=!0:gi||(be&536870912)!==0?e=!1:(Jn=e=!0,(l===2||l===9||l===3||l===6)&&(l=Bt.current,l!==null&&l.tag===13&&(l.flags|=16384))),Hp(t,e)):vo(t)}function vo(e){var t=e;do{if((t.flags&32768)!==0){Hp(t,Jn);return}e=t.return;var a=Y1(t.alternate,t,Mn);if(a!==null){pe=a;return}if(t=t.sibling,t!==null){pe=t;return}pe=t=e}while(t!==null);qe===0&&(qe=5)}function Hp(e,t){do{var a=X1(e.alternate,e);if(a!==null){a.flags&=32767,pe=a;return}if(a=e.return,a!==null&&(a.flags|=32768,a.subtreeFlags=0,a.deletions=null),!t&&(e=e.sibling,e!==null)){pe=e;return}pe=e=a}while(e!==null);qe=6,pe=null}function Pp(e,t,a,l,c,d,x,b,T){e.cancelPendingCommit=null;do bo();while(it!==0);if((Te&6)!==0)throw Error(o(327));if(t!==null){if(t===e.current)throw Error(o(177));if(d=t.lanes|t.childLanes,d|=Jr,Db(e,a,d,x,b,T),e===Oe&&(pe=Oe=null,be=0),vi=t,na=e,bi=a,iu=d,su=c,Dp=l,(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?(e.callbackNode=null,e.callbackPriority=0,aw(Tl,function(){return Kp(),null})):(e.callbackNode=null,e.callbackPriority=0),l=(t.flags&13878)!==0,(t.subtreeFlags&13878)!==0||l){l=L.T,L.T=null,c=K.p,K.p=2,x=Te,Te|=4;try{K1(e,t,a)}finally{Te=x,K.p=c,L.T=l}}it=1,qp(),Gp(),Yp()}}function qp(){if(it===1){it=0;var e=na,t=vi,a=(t.flags&13878)!==0;if((t.subtreeFlags&13878)!==0||a){a=L.T,L.T=null;var l=K.p;K.p=2;var c=Te;Te|=4;try{Tp(t,e);var d=wu,x=Rm(e.containerInfo),b=d.focusedElem,T=d.selectionRange;if(x!==b&&b&&b.ownerDocument&&Mm(b.ownerDocument.documentElement,b)){if(T!==null&&Zr(b)){var k=T.start,B=T.end;if(B===void 0&&(B=k),"selectionStart"in b)b.selectionStart=k,b.selectionEnd=Math.min(B,b.value.length);else{var G=b.ownerDocument||document,_=G&&G.defaultView||window;if(_.getSelection){var V=_.getSelection(),re=b.textContent.length,se=Math.min(T.start,re),Ee=T.end===void 0?se:Math.min(T.end,re);!V.extend&&se>Ee&&(x=Ee,Ee=se,se=x);var R=Em(b,se),C=Em(b,Ee);if(R&&C&&(V.rangeCount!==1||V.anchorNode!==R.node||V.anchorOffset!==R.offset||V.focusNode!==C.node||V.focusOffset!==C.offset)){var D=G.createRange();D.setStart(R.node,R.offset),V.removeAllRanges(),se>Ee?(V.addRange(D),V.extend(C.node,C.offset)):(D.setEnd(C.node,C.offset),V.addRange(D))}}}}for(G=[],V=b;V=V.parentNode;)V.nodeType===1&&G.push({element:V,left:V.scrollLeft,top:V.scrollTop});for(typeof b.focus=="function"&&b.focus(),b=0;b<G.length;b++){var P=G[b];P.element.scrollLeft=P.left,P.element.scrollTop=P.top}}Oo=!!bu,wu=bu=null}finally{Te=c,K.p=l,L.T=a}}e.current=t,it=2}}function Gp(){if(it===2){it=0;var e=na,t=vi,a=(t.flags&8772)!==0;if((t.subtreeFlags&8772)!==0||a){a=L.T,L.T=null;var l=K.p;K.p=2;var c=Te;Te|=4;try{bp(e,t.alternate,t)}finally{Te=c,K.p=l,L.T=a}}it=3}}function Yp(){if(it===4||it===3){it=0,jb();var e=na,t=vi,a=bi,l=Dp;(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?it=5:(it=0,vi=na=null,Xp(e,e.pendingLanes));var c=e.pendingLanes;if(c===0&&(ta=null),Cr(a),t=t.stateNode,St&&typeof St.onCommitFiberRoot=="function")try{St.onCommitFiberRoot(Ki,t,void 0,(t.current.flags&128)===128)}catch{}if(l!==null){t=L.T,c=K.p,K.p=2,L.T=null;try{for(var d=e.onRecoverableError,x=0;x<l.length;x++){var b=l[x];d(b.value,{componentStack:b.stack})}}finally{L.T=t,K.p=c}}(bi&3)!==0&&bo(),ln(e),c=e.pendingLanes,(a&4194090)!==0&&(c&42)!==0?e===lu?Rs++:(Rs=0,lu=e):Rs=0,Ds(0)}}function Xp(e,t){(e.pooledCacheLanes&=t)===0&&(t=e.pooledCache,t!=null&&(e.pooledCache=null,us(t)))}function bo(e){return qp(),Gp(),Yp(),Kp()}function Kp(){if(it!==5)return!1;var e=na,t=iu;iu=0;var a=Cr(bi),l=L.T,c=K.p;try{K.p=32>a?32:a,L.T=null,a=su,su=null;var d=na,x=bi;if(it=0,vi=na=null,bi=0,(Te&6)!==0)throw Error(o(331));var b=Te;if(Te|=4,Mp(d.current),Np(d,d.current,x,a),Te=b,Ds(0,!1),St&&typeof St.onPostCommitFiberRoot=="function")try{St.onPostCommitFiberRoot(Ki,d)}catch{}return!0}finally{K.p=c,L.T=l,Xp(e,t)}}function Qp(e,t,a){t=_t(a,t),t=Lc(e.stateNode,t,2),e=Kn(e,t,2),e!==null&&(Zi(e,2),ln(e))}function De(e,t,a){if(e.tag===3)Qp(e,e,a);else for(;t!==null;){if(t.tag===3){Qp(t,e,a);break}else if(t.tag===1){var l=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof l.componentDidCatch=="function"&&(ta===null||!ta.has(l))){e=_t(a,e),a=Wh(2),l=Kn(t,a,2),l!==null&&(Ih(a,l,t,e),Zi(l,2),ln(l));break}}t=t.return}}function uu(e,t,a){var l=e.pingCache;if(l===null){l=e.pingCache=new F1;var c=new Set;l.set(t,c)}else c=l.get(t),c===void 0&&(c=new Set,l.set(t,c));c.has(a)||(eu=!0,c.add(a),e=ew.bind(null,e,t,a),t.then(e,e))}function ew(e,t,a){var l=e.pingCache;l!==null&&l.delete(t),e.pingedLanes|=e.suspendedLanes&a,e.warmLanes&=~a,Oe===e&&(be&a)===a&&(qe===4||qe===3&&(be&62914560)===be&&300>en()-au?(Te&2)===0&&wi(e,0):tu|=a,xi===be&&(xi=0)),ln(e)}function Zp(e,t){t===0&&(t=Yf()),e=ai(e,t),e!==null&&(Zi(e,t),ln(e))}function tw(e){var t=e.memoizedState,a=0;t!==null&&(a=t.retryLane),Zp(e,a)}function nw(e,t){var a=0;switch(e.tag){case 13:var l=e.stateNode,c=e.memoizedState;c!==null&&(a=c.retryLane);break;case 19:l=e.stateNode;break;case 22:l=e.stateNode._retryCache;break;default:throw Error(o(314))}l!==null&&l.delete(t),Zp(e,a)}function aw(e,t){return Sr(e,t)}var wo=null,Si=null,du=!1,jo=!1,fu=!1,ka=0;function ln(e){e!==Si&&e.next===null&&(Si===null?wo=Si=e:Si=Si.next=e),jo=!0,du||(du=!0,sw())}function Ds(e,t){if(!fu&&jo){fu=!0;do for(var a=!1,l=wo;l!==null;){if(e!==0){var c=l.pendingLanes;if(c===0)var d=0;else{var x=l.suspendedLanes,b=l.pingedLanes;d=(1<<31-Tt(42|e)+1)-1,d&=c&~(x&~b),d=d&201326741?d&201326741|1:d?d|2:0}d!==0&&(a=!0,Ip(l,d))}else d=be,d=Cl(l,l===Oe?d:0,l.cancelPendingCommit!==null||l.timeoutHandle!==-1),(d&3)===0||Qi(l,d)||(a=!0,Ip(l,d));l=l.next}while(a);fu=!1}}function iw(){Fp()}function Fp(){jo=du=!1;var e=0;ka!==0&&(mw()&&(e=ka),ka=0);for(var t=en(),a=null,l=wo;l!==null;){var c=l.next,d=$p(l,t);d===0?(l.next=null,a===null?wo=c:a.next=c,c===null&&(Si=a)):(a=l,(e!==0||(d&3)!==0)&&(jo=!0)),l=c}Ds(e)}function $p(e,t){for(var a=e.suspendedLanes,l=e.pingedLanes,c=e.expirationTimes,d=e.pendingLanes&-62914561;0<d;){var x=31-Tt(d),b=1<<x,T=c[x];T===-1?((b&a)===0||(b&l)!==0)&&(c[x]=Rb(b,t)):T<=t&&(e.expiredLanes|=b),d&=~b}if(t=Oe,a=be,a=Cl(e,e===t?a:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),l=e.callbackNode,a===0||e===t&&(Ae===2||Ae===9)||e.cancelPendingCommit!==null)return l!==null&&l!==null&&Tr(l),e.callbackNode=null,e.callbackPriority=0;if((a&3)===0||Qi(e,a)){if(t=a&-a,t===e.callbackPriority)return t;switch(l!==null&&Tr(l),Cr(a)){case 2:case 8:a=Pf;break;case 32:a=Tl;break;case 268435456:a=qf;break;default:a=Tl}return l=Wp.bind(null,e),a=Sr(a,l),e.callbackPriority=t,e.callbackNode=a,t}return l!==null&&l!==null&&Tr(l),e.callbackPriority=2,e.callbackNode=null,2}function Wp(e,t){if(it!==0&&it!==5)return e.callbackNode=null,e.callbackPriority=0,null;var a=e.callbackNode;if(bo()&&e.callbackNode!==a)return null;var l=be;return l=Cl(e,e===Oe?l:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),l===0?null:(kp(e,l,t),$p(e,en()),e.callbackNode!=null&&e.callbackNode===a?Wp.bind(null,e):null)}function Ip(e,t){if(bo())return null;kp(e,t,!0)}function sw(){pw(function(){(Te&6)!==0?Sr(Hf,iw):Fp()})}function mu(){return ka===0&&(ka=Gf()),ka}function Jp(e){return e==null||typeof e=="symbol"||typeof e=="boolean"?null:typeof e=="function"?e:Ol(""+e)}function e0(e,t){var a=t.ownerDocument.createElement("input");return a.name=t.name,a.value=t.value,e.id&&a.setAttribute("form",e.id),t.parentNode.insertBefore(a,t),e=new FormData(e),a.parentNode.removeChild(a),e}function lw(e,t,a,l,c){if(t==="submit"&&a&&a.stateNode===c){var d=Jp((c[pt]||null).action),x=l.submitter;x&&(t=(t=x[pt]||null)?Jp(t.formAction):x.getAttribute("formAction"),t!==null&&(d=t,x=null));var b=new Vl("action","action",null,l,c);e.push({event:b,listeners:[{instance:null,listener:function(){if(l.defaultPrevented){if(ka!==0){var T=x?e0(c,x):new FormData(c);kc(a,{pending:!0,data:T,method:c.method,action:d},null,T)}}else typeof d=="function"&&(b.preventDefault(),T=x?e0(c,x):new FormData(c),kc(a,{pending:!0,data:T,method:c.method,action:d},d,T))},currentTarget:c}]})}}for(var hu=0;hu<Ir.length;hu++){var pu=Ir[hu],ow=pu.toLowerCase(),rw=pu[0].toUpperCase()+pu.slice(1);Qt(ow,"on"+rw)}Qt(km,"onAnimationEnd"),Qt(zm,"onAnimationIteration"),Qt(_m,"onAnimationStart"),Qt("dblclick","onDoubleClick"),Qt("focusin","onFocus"),Qt("focusout","onBlur"),Qt(A1,"onTransitionRun"),Qt(N1,"onTransitionStart"),Qt(C1,"onTransitionCancel"),Qt(Vm,"onTransitionEnd"),Qa("onMouseEnter",["mouseout","mouseover"]),Qa("onMouseLeave",["mouseout","mouseover"]),Qa("onPointerEnter",["pointerout","pointerover"]),Qa("onPointerLeave",["pointerout","pointerover"]),ga("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),ga("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),ga("onBeforeInput",["compositionend","keypress","textInput","paste"]),ga("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),ga("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),ga("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Os="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(" "),cw=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Os));function t0(e,t){t=(t&4)!==0;for(var a=0;a<e.length;a++){var l=e[a],c=l.event;l=l.listeners;e:{var d=void 0;if(t)for(var x=l.length-1;0<=x;x--){var b=l[x],T=b.instance,k=b.currentTarget;if(b=b.listener,T!==d&&c.isPropagationStopped())break e;d=b,c.currentTarget=k;try{d(c)}catch(B){ro(B)}c.currentTarget=null,d=T}else for(x=0;x<l.length;x++){if(b=l[x],T=b.instance,k=b.currentTarget,b=b.listener,T!==d&&c.isPropagationStopped())break e;d=b,c.currentTarget=k;try{d(c)}catch(B){ro(B)}c.currentTarget=null,d=T}}}}function ye(e,t){var a=t[Er];a===void 0&&(a=t[Er]=new Set);var l=e+"__bubble";a.has(l)||(n0(t,e,2,!1),a.add(l))}function yu(e,t,a){var l=0;t&&(l|=4),n0(a,e,l,t)}var So="_reactListening"+Math.random().toString(36).slice(2);function gu(e){if(!e[So]){e[So]=!0,Ff.forEach(function(a){a!=="selectionchange"&&(cw.has(a)||yu(a,!1,e),yu(a,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[So]||(t[So]=!0,yu("selectionchange",!1,t))}}function n0(e,t,a,l){switch(N0(t)){case 2:var c=Vw;break;case 8:c=Uw;break;default:c=Du}a=c.bind(null,t,a,e),c=void 0,!Br||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(c=!0),l?c!==void 0?e.addEventListener(t,a,{capture:!0,passive:c}):e.addEventListener(t,a,!0):c!==void 0?e.addEventListener(t,a,{passive:c}):e.addEventListener(t,a,!1)}function xu(e,t,a,l,c){var d=l;if((t&1)===0&&(t&2)===0&&l!==null)e:for(;;){if(l===null)return;var x=l.tag;if(x===3||x===4){var b=l.stateNode.containerInfo;if(b===c)break;if(x===4)for(x=l.return;x!==null;){var T=x.tag;if((T===3||T===4)&&x.stateNode.containerInfo===c)return;x=x.return}for(;b!==null;){if(x=Ya(b),x===null)return;if(T=x.tag,T===5||T===6||T===26||T===27){l=d=x;continue e}b=b.parentNode}}l=l.return}cm(function(){var k=d,B=Ur(a),G=[];e:{var _=Um.get(e);if(_!==void 0){var V=Vl,re=e;switch(e){case"keypress":if(zl(a)===0)break e;case"keydown":case"keyup":V=a1;break;case"focusin":re="focus",V=Gr;break;case"focusout":re="blur",V=Gr;break;case"beforeblur":case"afterblur":V=Gr;break;case"click":if(a.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":V=fm;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":V=Xb;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":V=l1;break;case km:case zm:case _m:V=Zb;break;case Vm:V=r1;break;case"scroll":case"scrollend":V=Gb;break;case"wheel":V=u1;break;case"copy":case"cut":case"paste":V=$b;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":V=hm;break;case"toggle":case"beforetoggle":V=f1}var se=(t&4)!==0,Ee=!se&&(e==="scroll"||e==="scrollend"),R=se?_!==null?_+"Capture":null:_;se=[];for(var C=k,D;C!==null;){var P=C;if(D=P.stateNode,P=P.tag,P!==5&&P!==26&&P!==27||D===null||R===null||(P=Wi(C,R),P!=null&&se.push(ks(C,P,D))),Ee)break;C=C.return}0<se.length&&(_=new V(_,re,null,a,B),G.push({event:_,listeners:se}))}}if((t&7)===0){e:{if(_=e==="mouseover"||e==="pointerover",V=e==="mouseout"||e==="pointerout",_&&a!==Vr&&(re=a.relatedTarget||a.fromElement)&&(Ya(re)||re[Ga]))break e;if((V||_)&&(_=B.window===B?B:(_=B.ownerDocument)?_.defaultView||_.parentWindow:window,V?(re=a.relatedTarget||a.toElement,V=k,re=re?Ya(re):null,re!==null&&(Ee=f(re),se=re.tag,re!==Ee||se!==5&&se!==27&&se!==6)&&(re=null)):(V=null,re=k),V!==re)){if(se=fm,P="onMouseLeave",R="onMouseEnter",C="mouse",(e==="pointerout"||e==="pointerover")&&(se=hm,P="onPointerLeave",R="onPointerEnter",C="pointer"),Ee=V==null?_:$i(V),D=re==null?_:$i(re),_=new se(P,C+"leave",V,a,B),_.target=Ee,_.relatedTarget=D,P=null,Ya(B)===k&&(se=new se(R,C+"enter",re,a,B),se.target=D,se.relatedTarget=Ee,P=se),Ee=P,V&&re)t:{for(se=V,R=re,C=0,D=se;D;D=Ti(D))C++;for(D=0,P=R;P;P=Ti(P))D++;for(;0<C-D;)se=Ti(se),C--;for(;0<D-C;)R=Ti(R),D--;for(;C--;){if(se===R||R!==null&&se===R.alternate)break t;se=Ti(se),R=Ti(R)}se=null}else se=null;V!==null&&a0(G,_,V,se,!1),re!==null&&Ee!==null&&a0(G,Ee,re,se,!0)}}e:{if(_=k?$i(k):window,V=_.nodeName&&_.nodeName.toLowerCase(),V==="select"||V==="input"&&_.type==="file")var J=jm;else if(bm(_))if(Sm)J=j1;else{J=b1;var me=v1}else V=_.nodeName,!V||V.toLowerCase()!=="input"||_.type!=="checkbox"&&_.type!=="radio"?k&&_r(k.elementType)&&(J=jm):J=w1;if(J&&(J=J(e,k))){wm(G,J,a,B);break e}me&&me(e,_,k),e==="focusout"&&k&&_.type==="number"&&k.memoizedProps.value!=null&&zr(_,"number",_.value)}switch(me=k?$i(k):window,e){case"focusin":(bm(me)||me.contentEditable==="true")&&(ei=me,Fr=k,ss=null);break;case"focusout":ss=Fr=ei=null;break;case"mousedown":$r=!0;break;case"contextmenu":case"mouseup":case"dragend":$r=!1,Dm(G,a,B);break;case"selectionchange":if(T1)break;case"keydown":case"keyup":Dm(G,a,B)}var ae;if(Xr)e:{switch(e){case"compositionstart":var le="onCompositionStart";break e;case"compositionend":le="onCompositionEnd";break e;case"compositionupdate":le="onCompositionUpdate";break e}le=void 0}else Ja?xm(e,a)&&(le="onCompositionEnd"):e==="keydown"&&a.keyCode===229&&(le="onCompositionStart");le&&(pm&&a.locale!=="ko"&&(Ja||le!=="onCompositionStart"?le==="onCompositionEnd"&&Ja&&(ae=um()):(qn=B,Hr="value"in qn?qn.value:qn.textContent,Ja=!0)),me=To(k,le),0<me.length&&(le=new mm(le,e,null,a,B),G.push({event:le,listeners:me}),ae?le.data=ae:(ae=vm(a),ae!==null&&(le.data=ae)))),(ae=h1?p1(e,a):y1(e,a))&&(le=To(k,"onBeforeInput"),0<le.length&&(me=new mm("onBeforeInput","beforeinput",null,a,B),G.push({event:me,listeners:le}),me.data=ae)),lw(G,e,k,a,B)}t0(G,t)})}function ks(e,t,a){return{instance:e,listener:t,currentTarget:a}}function To(e,t){for(var a=t+"Capture",l=[];e!==null;){var c=e,d=c.stateNode;if(c=c.tag,c!==5&&c!==26&&c!==27||d===null||(c=Wi(e,a),c!=null&&l.unshift(ks(e,c,d)),c=Wi(e,t),c!=null&&l.push(ks(e,c,d))),e.tag===3)return l;e=e.return}return[]}function Ti(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function a0(e,t,a,l,c){for(var d=t._reactName,x=[];a!==null&&a!==l;){var b=a,T=b.alternate,k=b.stateNode;if(b=b.tag,T!==null&&T===l)break;b!==5&&b!==26&&b!==27||k===null||(T=k,c?(k=Wi(a,d),k!=null&&x.unshift(ks(a,k,T))):c||(k=Wi(a,d),k!=null&&x.push(ks(a,k,T)))),a=a.return}x.length!==0&&e.push({event:t,listeners:x})}var uw=/\r\n?/g,dw=/\u0000|\uFFFD/g;function i0(e){return(typeof e=="string"?e:""+e).replace(uw,`
`).replace(dw,"")}function s0(e,t){return t=i0(t),i0(e)===t}function Ao(){}function Ce(e,t,a,l,c,d){switch(a){case"children":typeof l=="string"?t==="body"||t==="textarea"&&l===""||$a(e,l):(typeof l=="number"||typeof l=="bigint")&&t!=="body"&&$a(e,""+l);break;case"className":Ml(e,"class",l);break;case"tabIndex":Ml(e,"tabindex",l);break;case"dir":case"role":case"viewBox":case"width":case"height":Ml(e,a,l);break;case"style":om(e,l,d);break;case"data":if(t!=="object"){Ml(e,"data",l);break}case"src":case"href":if(l===""&&(t!=="a"||a!=="href")){e.removeAttribute(a);break}if(l==null||typeof l=="function"||typeof l=="symbol"||typeof l=="boolean"){e.removeAttribute(a);break}l=Ol(""+l),e.setAttribute(a,l);break;case"action":case"formAction":if(typeof l=="function"){e.setAttribute(a,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof d=="function"&&(a==="formAction"?(t!=="input"&&Ce(e,t,"name",c.name,c,null),Ce(e,t,"formEncType",c.formEncType,c,null),Ce(e,t,"formMethod",c.formMethod,c,null),Ce(e,t,"formTarget",c.formTarget,c,null)):(Ce(e,t,"encType",c.encType,c,null),Ce(e,t,"method",c.method,c,null),Ce(e,t,"target",c.target,c,null)));if(l==null||typeof l=="symbol"||typeof l=="boolean"){e.removeAttribute(a);break}l=Ol(""+l),e.setAttribute(a,l);break;case"onClick":l!=null&&(e.onclick=Ao);break;case"onScroll":l!=null&&ye("scroll",e);break;case"onScrollEnd":l!=null&&ye("scrollend",e);break;case"dangerouslySetInnerHTML":if(l!=null){if(typeof l!="object"||!("__html"in l))throw Error(o(61));if(a=l.__html,a!=null){if(c.children!=null)throw Error(o(60));e.innerHTML=a}}break;case"multiple":e.multiple=l&&typeof l!="function"&&typeof l!="symbol";break;case"muted":e.muted=l&&typeof l!="function"&&typeof l!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(l==null||typeof l=="function"||typeof l=="boolean"||typeof l=="symbol"){e.removeAttribute("xlink:href");break}a=Ol(""+l),e.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",a);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":l!=null&&typeof l!="function"&&typeof l!="symbol"?e.setAttribute(a,""+l):e.removeAttribute(a);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":l&&typeof l!="function"&&typeof l!="symbol"?e.setAttribute(a,""):e.removeAttribute(a);break;case"capture":case"download":l===!0?e.setAttribute(a,""):l!==!1&&l!=null&&typeof l!="function"&&typeof l!="symbol"?e.setAttribute(a,l):e.removeAttribute(a);break;case"cols":case"rows":case"size":case"span":l!=null&&typeof l!="function"&&typeof l!="symbol"&&!isNaN(l)&&1<=l?e.setAttribute(a,l):e.removeAttribute(a);break;case"rowSpan":case"start":l==null||typeof l=="function"||typeof l=="symbol"||isNaN(l)?e.removeAttribute(a):e.setAttribute(a,l);break;case"popover":ye("beforetoggle",e),ye("toggle",e),El(e,"popover",l);break;case"xlinkActuate":yn(e,"http://www.w3.org/1999/xlink","xlink:actuate",l);break;case"xlinkArcrole":yn(e,"http://www.w3.org/1999/xlink","xlink:arcrole",l);break;case"xlinkRole":yn(e,"http://www.w3.org/1999/xlink","xlink:role",l);break;case"xlinkShow":yn(e,"http://www.w3.org/1999/xlink","xlink:show",l);break;case"xlinkTitle":yn(e,"http://www.w3.org/1999/xlink","xlink:title",l);break;case"xlinkType":yn(e,"http://www.w3.org/1999/xlink","xlink:type",l);break;case"xmlBase":yn(e,"http://www.w3.org/XML/1998/namespace","xml:base",l);break;case"xmlLang":yn(e,"http://www.w3.org/XML/1998/namespace","xml:lang",l);break;case"xmlSpace":yn(e,"http://www.w3.org/XML/1998/namespace","xml:space",l);break;case"is":El(e,"is",l);break;case"innerText":case"textContent":break;default:(!(2<a.length)||a[0]!=="o"&&a[0]!=="O"||a[1]!=="n"&&a[1]!=="N")&&(a=Pb.get(a)||a,El(e,a,l))}}function vu(e,t,a,l,c,d){switch(a){case"style":om(e,l,d);break;case"dangerouslySetInnerHTML":if(l!=null){if(typeof l!="object"||!("__html"in l))throw Error(o(61));if(a=l.__html,a!=null){if(c.children!=null)throw Error(o(60));e.innerHTML=a}}break;case"children":typeof l=="string"?$a(e,l):(typeof l=="number"||typeof l=="bigint")&&$a(e,""+l);break;case"onScroll":l!=null&&ye("scroll",e);break;case"onScrollEnd":l!=null&&ye("scrollend",e);break;case"onClick":l!=null&&(e.onclick=Ao);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!$f.hasOwnProperty(a))e:{if(a[0]==="o"&&a[1]==="n"&&(c=a.endsWith("Capture"),t=a.slice(2,c?a.length-7:void 0),d=e[pt]||null,d=d!=null?d[a]:null,typeof d=="function"&&e.removeEventListener(t,d,c),typeof l=="function")){typeof d!="function"&&d!==null&&(a in e?e[a]=null:e.hasAttribute(a)&&e.removeAttribute(a)),e.addEventListener(t,l,c);break e}a in e?e[a]=l:l===!0?e.setAttribute(a,""):El(e,a,l)}}}function st(e,t,a){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":ye("error",e),ye("load",e);var l=!1,c=!1,d;for(d in a)if(a.hasOwnProperty(d)){var x=a[d];if(x!=null)switch(d){case"src":l=!0;break;case"srcSet":c=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(o(137,t));default:Ce(e,t,d,x,a,null)}}c&&Ce(e,t,"srcSet",a.srcSet,a,null),l&&Ce(e,t,"src",a.src,a,null);return;case"input":ye("invalid",e);var b=d=x=c=null,T=null,k=null;for(l in a)if(a.hasOwnProperty(l)){var B=a[l];if(B!=null)switch(l){case"name":c=B;break;case"type":x=B;break;case"checked":T=B;break;case"defaultChecked":k=B;break;case"value":d=B;break;case"defaultValue":b=B;break;case"children":case"dangerouslySetInnerHTML":if(B!=null)throw Error(o(137,t));break;default:Ce(e,t,l,B,a,null)}}am(e,d,b,T,k,x,c,!1),Rl(e);return;case"select":ye("invalid",e),l=x=d=null;for(c in a)if(a.hasOwnProperty(c)&&(b=a[c],b!=null))switch(c){case"value":d=b;break;case"defaultValue":x=b;break;case"multiple":l=b;default:Ce(e,t,c,b,a,null)}t=d,a=x,e.multiple=!!l,t!=null?Fa(e,!!l,t,!1):a!=null&&Fa(e,!!l,a,!0);return;case"textarea":ye("invalid",e),d=c=l=null;for(x in a)if(a.hasOwnProperty(x)&&(b=a[x],b!=null))switch(x){case"value":l=b;break;case"defaultValue":c=b;break;case"children":d=b;break;case"dangerouslySetInnerHTML":if(b!=null)throw Error(o(91));break;default:Ce(e,t,x,b,a,null)}sm(e,l,c,d),Rl(e);return;case"option":for(T in a)if(a.hasOwnProperty(T)&&(l=a[T],l!=null))switch(T){case"selected":e.selected=l&&typeof l!="function"&&typeof l!="symbol";break;default:Ce(e,t,T,l,a,null)}return;case"dialog":ye("beforetoggle",e),ye("toggle",e),ye("cancel",e),ye("close",e);break;case"iframe":case"object":ye("load",e);break;case"video":case"audio":for(l=0;l<Os.length;l++)ye(Os[l],e);break;case"image":ye("error",e),ye("load",e);break;case"details":ye("toggle",e);break;case"embed":case"source":case"link":ye("error",e),ye("load",e);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(k in a)if(a.hasOwnProperty(k)&&(l=a[k],l!=null))switch(k){case"children":case"dangerouslySetInnerHTML":throw Error(o(137,t));default:Ce(e,t,k,l,a,null)}return;default:if(_r(t)){for(B in a)a.hasOwnProperty(B)&&(l=a[B],l!==void 0&&vu(e,t,B,l,a,void 0));return}}for(b in a)a.hasOwnProperty(b)&&(l=a[b],l!=null&&Ce(e,t,b,l,a,null))}function fw(e,t,a,l){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var c=null,d=null,x=null,b=null,T=null,k=null,B=null;for(V in a){var G=a[V];if(a.hasOwnProperty(V)&&G!=null)switch(V){case"checked":break;case"value":break;case"defaultValue":T=G;default:l.hasOwnProperty(V)||Ce(e,t,V,null,l,G)}}for(var _ in l){var V=l[_];if(G=a[_],l.hasOwnProperty(_)&&(V!=null||G!=null))switch(_){case"type":d=V;break;case"name":c=V;break;case"checked":k=V;break;case"defaultChecked":B=V;break;case"value":x=V;break;case"defaultValue":b=V;break;case"children":case"dangerouslySetInnerHTML":if(V!=null)throw Error(o(137,t));break;default:V!==G&&Ce(e,t,_,V,l,G)}}kr(e,x,b,T,k,B,d,c);return;case"select":V=x=b=_=null;for(d in a)if(T=a[d],a.hasOwnProperty(d)&&T!=null)switch(d){case"value":break;case"multiple":V=T;default:l.hasOwnProperty(d)||Ce(e,t,d,null,l,T)}for(c in l)if(d=l[c],T=a[c],l.hasOwnProperty(c)&&(d!=null||T!=null))switch(c){case"value":_=d;break;case"defaultValue":b=d;break;case"multiple":x=d;default:d!==T&&Ce(e,t,c,d,l,T)}t=b,a=x,l=V,_!=null?Fa(e,!!a,_,!1):!!l!=!!a&&(t!=null?Fa(e,!!a,t,!0):Fa(e,!!a,a?[]:"",!1));return;case"textarea":V=_=null;for(b in a)if(c=a[b],a.hasOwnProperty(b)&&c!=null&&!l.hasOwnProperty(b))switch(b){case"value":break;case"children":break;default:Ce(e,t,b,null,l,c)}for(x in l)if(c=l[x],d=a[x],l.hasOwnProperty(x)&&(c!=null||d!=null))switch(x){case"value":_=c;break;case"defaultValue":V=c;break;case"children":break;case"dangerouslySetInnerHTML":if(c!=null)throw Error(o(91));break;default:c!==d&&Ce(e,t,x,c,l,d)}im(e,_,V);return;case"option":for(var re in a)if(_=a[re],a.hasOwnProperty(re)&&_!=null&&!l.hasOwnProperty(re))switch(re){case"selected":e.selected=!1;break;default:Ce(e,t,re,null,l,_)}for(T in l)if(_=l[T],V=a[T],l.hasOwnProperty(T)&&_!==V&&(_!=null||V!=null))switch(T){case"selected":e.selected=_&&typeof _!="function"&&typeof _!="symbol";break;default:Ce(e,t,T,_,l,V)}return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var se in a)_=a[se],a.hasOwnProperty(se)&&_!=null&&!l.hasOwnProperty(se)&&Ce(e,t,se,null,l,_);for(k in l)if(_=l[k],V=a[k],l.hasOwnProperty(k)&&_!==V&&(_!=null||V!=null))switch(k){case"children":case"dangerouslySetInnerHTML":if(_!=null)throw Error(o(137,t));break;default:Ce(e,t,k,_,l,V)}return;default:if(_r(t)){for(var Ee in a)_=a[Ee],a.hasOwnProperty(Ee)&&_!==void 0&&!l.hasOwnProperty(Ee)&&vu(e,t,Ee,void 0,l,_);for(B in l)_=l[B],V=a[B],!l.hasOwnProperty(B)||_===V||_===void 0&&V===void 0||vu(e,t,B,_,l,V);return}}for(var R in a)_=a[R],a.hasOwnProperty(R)&&_!=null&&!l.hasOwnProperty(R)&&Ce(e,t,R,null,l,_);for(G in l)_=l[G],V=a[G],!l.hasOwnProperty(G)||_===V||_==null&&V==null||Ce(e,t,G,_,l,V)}var bu=null,wu=null;function No(e){return e.nodeType===9?e:e.ownerDocument}function l0(e){switch(e){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function o0(e,t){if(e===0)switch(t){case"svg":return 1;case"math":return 2;default:return 0}return e===1&&t==="foreignObject"?0:e}function ju(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.children=="bigint"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var Su=null;function mw(){var e=window.event;return e&&e.type==="popstate"?e===Su?!1:(Su=e,!0):(Su=null,!1)}var r0=typeof setTimeout=="function"?setTimeout:void 0,hw=typeof clearTimeout=="function"?clearTimeout:void 0,c0=typeof Promise=="function"?Promise:void 0,pw=typeof queueMicrotask=="function"?queueMicrotask:typeof c0<"u"?function(e){return c0.resolve(null).then(e).catch(yw)}:r0;function yw(e){setTimeout(function(){throw e})}function ia(e){return e==="head"}function u0(e,t){var a=t,l=0,c=0;do{var d=a.nextSibling;if(e.removeChild(a),d&&d.nodeType===8)if(a=d.data,a==="/$"){if(0<l&&8>l){a=l;var x=e.ownerDocument;if(a&1&&zs(x.documentElement),a&2&&zs(x.body),a&4)for(a=x.head,zs(a),x=a.firstChild;x;){var b=x.nextSibling,T=x.nodeName;x[Fi]||T==="SCRIPT"||T==="STYLE"||T==="LINK"&&x.rel.toLowerCase()==="stylesheet"||a.removeChild(x),x=b}}if(c===0){e.removeChild(d),qs(t);return}c--}else a==="$"||a==="$?"||a==="$!"?c++:l=a.charCodeAt(0)-48;else l=0;a=d}while(a);qs(t)}function Tu(e){var t=e.firstChild;for(t&&t.nodeType===10&&(t=t.nextSibling);t;){var a=t;switch(t=t.nextSibling,a.nodeName){case"HTML":case"HEAD":case"BODY":Tu(a),Mr(a);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(a.rel.toLowerCase()==="stylesheet")continue}e.removeChild(a)}}function gw(e,t,a,l){for(;e.nodeType===1;){var c=a;if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!l&&(e.nodeName!=="INPUT"||e.type!=="hidden"))break}else if(l){if(!e[Fi])switch(t){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if(d=e.getAttribute("rel"),d==="stylesheet"&&e.hasAttribute("data-precedence"))break;if(d!==c.rel||e.getAttribute("href")!==(c.href==null||c.href===""?null:c.href)||e.getAttribute("crossorigin")!==(c.crossOrigin==null?null:c.crossOrigin)||e.getAttribute("title")!==(c.title==null?null:c.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(d=e.getAttribute("src"),(d!==(c.src==null?null:c.src)||e.getAttribute("type")!==(c.type==null?null:c.type)||e.getAttribute("crossorigin")!==(c.crossOrigin==null?null:c.crossOrigin))&&d&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else if(t==="input"&&e.type==="hidden"){var d=c.name==null?null:""+c.name;if(c.type==="hidden"&&e.getAttribute("name")===d)return e}else return e;if(e=Ft(e.nextSibling),e===null)break}return null}function xw(e,t,a){if(t==="")return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!a||(e=Ft(e.nextSibling),e===null))return null;return e}function Au(e){return e.data==="$!"||e.data==="$?"&&e.ownerDocument.readyState==="complete"}function vw(e,t){var a=e.ownerDocument;if(e.data!=="$?"||a.readyState==="complete")t();else{var l=function(){t(),a.removeEventListener("DOMContentLoaded",l)};a.addEventListener("DOMContentLoaded",l),e._reactRetry=l}}function Ft(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?"||t==="F!"||t==="F")break;if(t==="/$")return null}}return e}var Nu=null;function d0(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var a=e.data;if(a==="$"||a==="$!"||a==="$?"){if(t===0)return e;t--}else a==="/$"&&t++}e=e.previousSibling}return null}function f0(e,t,a){switch(t=No(a),e){case"html":if(e=t.documentElement,!e)throw Error(o(452));return e;case"head":if(e=t.head,!e)throw Error(o(453));return e;case"body":if(e=t.body,!e)throw Error(o(454));return e;default:throw Error(o(451))}}function zs(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);Mr(e)}var Pt=new Map,m0=new Set;function Co(e){return typeof e.getRootNode=="function"?e.getRootNode():e.nodeType===9?e:e.ownerDocument}var Rn=K.d;K.d={f:bw,r:ww,D:jw,C:Sw,L:Tw,m:Aw,X:Cw,S:Nw,M:Ew};function bw(){var e=Rn.f(),t=xo();return e||t}function ww(e){var t=Xa(e);t!==null&&t.tag===5&&t.type==="form"?kh(t):Rn.r(e)}var Ai=typeof document>"u"?null:document;function h0(e,t,a){var l=Ai;if(l&&typeof t=="string"&&t){var c=zt(t);c='link[rel="'+e+'"][href="'+c+'"]',typeof a=="string"&&(c+='[crossorigin="'+a+'"]'),m0.has(c)||(m0.add(c),e={rel:e,crossOrigin:a,href:t},l.querySelector(c)===null&&(t=l.createElement("link"),st(t,"link",e),Ie(t),l.head.appendChild(t)))}}function jw(e){Rn.D(e),h0("dns-prefetch",e,null)}function Sw(e,t){Rn.C(e,t),h0("preconnect",e,t)}function Tw(e,t,a){Rn.L(e,t,a);var l=Ai;if(l&&e&&t){var c='link[rel="preload"][as="'+zt(t)+'"]';t==="image"&&a&&a.imageSrcSet?(c+='[imagesrcset="'+zt(a.imageSrcSet)+'"]',typeof a.imageSizes=="string"&&(c+='[imagesizes="'+zt(a.imageSizes)+'"]')):c+='[href="'+zt(e)+'"]';var d=c;switch(t){case"style":d=Ni(e);break;case"script":d=Ci(e)}Pt.has(d)||(e=g({rel:"preload",href:t==="image"&&a&&a.imageSrcSet?void 0:e,as:t},a),Pt.set(d,e),l.querySelector(c)!==null||t==="style"&&l.querySelector(_s(d))||t==="script"&&l.querySelector(Vs(d))||(t=l.createElement("link"),st(t,"link",e),Ie(t),l.head.appendChild(t)))}}function Aw(e,t){Rn.m(e,t);var a=Ai;if(a&&e){var l=t&&typeof t.as=="string"?t.as:"script",c='link[rel="modulepreload"][as="'+zt(l)+'"][href="'+zt(e)+'"]',d=c;switch(l){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":d=Ci(e)}if(!Pt.has(d)&&(e=g({rel:"modulepreload",href:e},t),Pt.set(d,e),a.querySelector(c)===null)){switch(l){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(a.querySelector(Vs(d)))return}l=a.createElement("link"),st(l,"link",e),Ie(l),a.head.appendChild(l)}}}function Nw(e,t,a){Rn.S(e,t,a);var l=Ai;if(l&&e){var c=Ka(l).hoistableStyles,d=Ni(e);t=t||"default";var x=c.get(d);if(!x){var b={loading:0,preload:null};if(x=l.querySelector(_s(d)))b.loading=5;else{e=g({rel:"stylesheet",href:e,"data-precedence":t},a),(a=Pt.get(d))&&Cu(e,a);var T=x=l.createElement("link");Ie(T),st(T,"link",e),T._p=new Promise(function(k,B){T.onload=k,T.onerror=B}),T.addEventListener("load",function(){b.loading|=1}),T.addEventListener("error",function(){b.loading|=2}),b.loading|=4,Eo(x,t,l)}x={type:"stylesheet",instance:x,count:1,state:b},c.set(d,x)}}}function Cw(e,t){Rn.X(e,t);var a=Ai;if(a&&e){var l=Ka(a).hoistableScripts,c=Ci(e),d=l.get(c);d||(d=a.querySelector(Vs(c)),d||(e=g({src:e,async:!0},t),(t=Pt.get(c))&&Eu(e,t),d=a.createElement("script"),Ie(d),st(d,"link",e),a.head.appendChild(d)),d={type:"script",instance:d,count:1,state:null},l.set(c,d))}}function Ew(e,t){Rn.M(e,t);var a=Ai;if(a&&e){var l=Ka(a).hoistableScripts,c=Ci(e),d=l.get(c);d||(d=a.querySelector(Vs(c)),d||(e=g({src:e,async:!0,type:"module"},t),(t=Pt.get(c))&&Eu(e,t),d=a.createElement("script"),Ie(d),st(d,"link",e),a.head.appendChild(d)),d={type:"script",instance:d,count:1,state:null},l.set(c,d))}}function p0(e,t,a,l){var c=(c=ce.current)?Co(c):null;if(!c)throw Error(o(446));switch(e){case"meta":case"title":return null;case"style":return typeof a.precedence=="string"&&typeof a.href=="string"?(t=Ni(a.href),a=Ka(c).hoistableStyles,l=a.get(t),l||(l={type:"style",instance:null,count:0,state:null},a.set(t,l)),l):{type:"void",instance:null,count:0,state:null};case"link":if(a.rel==="stylesheet"&&typeof a.href=="string"&&typeof a.precedence=="string"){e=Ni(a.href);var d=Ka(c).hoistableStyles,x=d.get(e);if(x||(c=c.ownerDocument||c,x={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},d.set(e,x),(d=c.querySelector(_s(e)))&&!d._p&&(x.instance=d,x.state.loading=5),Pt.has(e)||(a={rel:"preload",as:"style",href:a.href,crossOrigin:a.crossOrigin,integrity:a.integrity,media:a.media,hrefLang:a.hrefLang,referrerPolicy:a.referrerPolicy},Pt.set(e,a),d||Mw(c,e,a,x.state))),t&&l===null)throw Error(o(528,""));return x}if(t&&l!==null)throw Error(o(529,""));return null;case"script":return t=a.async,a=a.src,typeof a=="string"&&t&&typeof t!="function"&&typeof t!="symbol"?(t=Ci(a),a=Ka(c).hoistableScripts,l=a.get(t),l||(l={type:"script",instance:null,count:0,state:null},a.set(t,l)),l):{type:"void",instance:null,count:0,state:null};default:throw Error(o(444,e))}}function Ni(e){return'href="'+zt(e)+'"'}function _s(e){return'link[rel="stylesheet"]['+e+"]"}function y0(e){return g({},e,{"data-precedence":e.precedence,precedence:null})}function Mw(e,t,a,l){e.querySelector('link[rel="preload"][as="style"]['+t+"]")?l.loading=1:(t=e.createElement("link"),l.preload=t,t.addEventListener("load",function(){return l.loading|=1}),t.addEventListener("error",function(){return l.loading|=2}),st(t,"link",a),Ie(t),e.head.appendChild(t))}function Ci(e){return'[src="'+zt(e)+'"]'}function Vs(e){return"script[async]"+e}function g0(e,t,a){if(t.count++,t.instance===null)switch(t.type){case"style":var l=e.querySelector('style[data-href~="'+zt(a.href)+'"]');if(l)return t.instance=l,Ie(l),l;var c=g({},a,{"data-href":a.href,"data-precedence":a.precedence,href:null,precedence:null});return l=(e.ownerDocument||e).createElement("style"),Ie(l),st(l,"style",c),Eo(l,a.precedence,e),t.instance=l;case"stylesheet":c=Ni(a.href);var d=e.querySelector(_s(c));if(d)return t.state.loading|=4,t.instance=d,Ie(d),d;l=y0(a),(c=Pt.get(c))&&Cu(l,c),d=(e.ownerDocument||e).createElement("link"),Ie(d);var x=d;return x._p=new Promise(function(b,T){x.onload=b,x.onerror=T}),st(d,"link",l),t.state.loading|=4,Eo(d,a.precedence,e),t.instance=d;case"script":return d=Ci(a.src),(c=e.querySelector(Vs(d)))?(t.instance=c,Ie(c),c):(l=a,(c=Pt.get(d))&&(l=g({},a),Eu(l,c)),e=e.ownerDocument||e,c=e.createElement("script"),Ie(c),st(c,"link",l),e.head.appendChild(c),t.instance=c);case"void":return null;default:throw Error(o(443,t.type))}else t.type==="stylesheet"&&(t.state.loading&4)===0&&(l=t.instance,t.state.loading|=4,Eo(l,a.precedence,e));return t.instance}function Eo(e,t,a){for(var l=a.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),c=l.length?l[l.length-1]:null,d=c,x=0;x<l.length;x++){var b=l[x];if(b.dataset.precedence===t)d=b;else if(d!==c)break}d?d.parentNode.insertBefore(e,d.nextSibling):(t=a.nodeType===9?a.head:a,t.insertBefore(e,t.firstChild))}function Cu(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.title==null&&(e.title=t.title)}function Eu(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.integrity==null&&(e.integrity=t.integrity)}var Mo=null;function x0(e,t,a){if(Mo===null){var l=new Map,c=Mo=new Map;c.set(a,l)}else c=Mo,l=c.get(a),l||(l=new Map,c.set(a,l));if(l.has(e))return l;for(l.set(e,null),a=a.getElementsByTagName(e),c=0;c<a.length;c++){var d=a[c];if(!(d[Fi]||d[ot]||e==="link"&&d.getAttribute("rel")==="stylesheet")&&d.namespaceURI!=="http://www.w3.org/2000/svg"){var x=d.getAttribute(t)||"";x=e+x;var b=l.get(x);b?b.push(d):l.set(x,[d])}}return l}function v0(e,t,a){e=e.ownerDocument||e,e.head.insertBefore(a,t==="title"?e.querySelector("head > title"):null)}function Rw(e,t,a){if(a===1||t.itemProp!=null)return!1;switch(e){case"meta":case"title":return!0;case"style":if(typeof t.precedence!="string"||typeof t.href!="string"||t.href==="")break;return!0;case"link":if(typeof t.rel!="string"||typeof t.href!="string"||t.href===""||t.onLoad||t.onError)break;switch(t.rel){case"stylesheet":return e=t.disabled,typeof t.precedence=="string"&&e==null;default:return!0}case"script":if(t.async&&typeof t.async!="function"&&typeof t.async!="symbol"&&!t.onLoad&&!t.onError&&t.src&&typeof t.src=="string")return!0}return!1}function b0(e){return!(e.type==="stylesheet"&&(e.state.loading&3)===0)}var Us=null;function Dw(){}function Ow(e,t,a){if(Us===null)throw Error(o(475));var l=Us;if(t.type==="stylesheet"&&(typeof a.media!="string"||matchMedia(a.media).matches!==!1)&&(t.state.loading&4)===0){if(t.instance===null){var c=Ni(a.href),d=e.querySelector(_s(c));if(d){e=d._p,e!==null&&typeof e=="object"&&typeof e.then=="function"&&(l.count++,l=Ro.bind(l),e.then(l,l)),t.state.loading|=4,t.instance=d,Ie(d);return}d=e.ownerDocument||e,a=y0(a),(c=Pt.get(c))&&Cu(a,c),d=d.createElement("link"),Ie(d);var x=d;x._p=new Promise(function(b,T){x.onload=b,x.onerror=T}),st(d,"link",a),t.instance=d}l.stylesheets===null&&(l.stylesheets=new Map),l.stylesheets.set(t,e),(e=t.state.preload)&&(t.state.loading&3)===0&&(l.count++,t=Ro.bind(l),e.addEventListener("load",t),e.addEventListener("error",t))}}function kw(){if(Us===null)throw Error(o(475));var e=Us;return e.stylesheets&&e.count===0&&Mu(e,e.stylesheets),0<e.count?function(t){var a=setTimeout(function(){if(e.stylesheets&&Mu(e,e.stylesheets),e.unsuspend){var l=e.unsuspend;e.unsuspend=null,l()}},6e4);return e.unsuspend=t,function(){e.unsuspend=null,clearTimeout(a)}}:null}function Ro(){if(this.count--,this.count===0){if(this.stylesheets)Mu(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}var Do=null;function Mu(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,Do=new Map,t.forEach(zw,e),Do=null,Ro.call(e))}function zw(e,t){if(!(t.state.loading&4)){var a=Do.get(e);if(a)var l=a.get(null);else{a=new Map,Do.set(e,a);for(var c=e.querySelectorAll("link[data-precedence],style[data-precedence]"),d=0;d<c.length;d++){var x=c[d];(x.nodeName==="LINK"||x.getAttribute("media")!=="not all")&&(a.set(x.dataset.precedence,x),l=x)}l&&a.set(null,l)}c=t.instance,x=c.getAttribute("data-precedence"),d=a.get(x)||l,d===l&&a.set(null,c),a.set(x,c),this.count++,l=Ro.bind(this),c.addEventListener("load",l),c.addEventListener("error",l),d?d.parentNode.insertBefore(c,d.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(c,e.firstChild)),t.state.loading|=4}}var Ls={$$typeof:U,Provider:null,Consumer:null,_currentValue:Y,_currentValue2:Y,_threadCount:0};function _w(e,t,a,l,c,d,x,b){this.tag=1,this.containerInfo=e,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=Ar(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Ar(0),this.hiddenUpdates=Ar(null),this.identifierPrefix=l,this.onUncaughtError=c,this.onCaughtError=d,this.onRecoverableError=x,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=b,this.incompleteTransitions=new Map}function w0(e,t,a,l,c,d,x,b,T,k,B,G){return e=new _w(e,t,a,x,b,T,k,G),t=1,d===!0&&(t|=24),d=Nt(3,null,null,t),e.current=d,d.stateNode=e,t=uc(),t.refCount++,e.pooledCache=t,t.refCount++,d.memoizedState={element:l,isDehydrated:a,cache:t},hc(d),e}function j0(e){return e?(e=ii,e):ii}function S0(e,t,a,l,c,d){c=j0(c),l.context===null?l.context=c:l.pendingContext=c,l=Xn(t),l.payload={element:a},d=d===void 0?null:d,d!==null&&(l.callback=d),a=Kn(e,l,t),a!==null&&(Dt(a,e,t),hs(a,e,t))}function T0(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var a=e.retryLane;e.retryLane=a!==0&&a<t?a:t}}function Ru(e,t){T0(e,t),(e=e.alternate)&&T0(e,t)}function A0(e){if(e.tag===13){var t=ai(e,67108864);t!==null&&Dt(t,e,67108864),Ru(e,67108864)}}var Oo=!0;function Vw(e,t,a,l){var c=L.T;L.T=null;var d=K.p;try{K.p=2,Du(e,t,a,l)}finally{K.p=d,L.T=c}}function Uw(e,t,a,l){var c=L.T;L.T=null;var d=K.p;try{K.p=8,Du(e,t,a,l)}finally{K.p=d,L.T=c}}function Du(e,t,a,l){if(Oo){var c=Ou(l);if(c===null)xu(e,t,l,ko,a),C0(e,l);else if(Bw(c,e,t,a,l))l.stopPropagation();else if(C0(e,l),t&4&&-1<Lw.indexOf(e)){for(;c!==null;){var d=Xa(c);if(d!==null)switch(d.tag){case 3:if(d=d.stateNode,d.current.memoizedState.isDehydrated){var x=ya(d.pendingLanes);if(x!==0){var b=d;for(b.pendingLanes|=2,b.entangledLanes|=2;x;){var T=1<<31-Tt(x);b.entanglements[1]|=T,x&=~T}ln(d),(Te&6)===0&&(yo=en()+500,Ds(0))}}break;case 13:b=ai(d,2),b!==null&&Dt(b,d,2),xo(),Ru(d,2)}if(d=Ou(l),d===null&&xu(e,t,l,ko,a),d===c)break;c=d}c!==null&&l.stopPropagation()}else xu(e,t,l,null,a)}}function Ou(e){return e=Ur(e),ku(e)}var ko=null;function ku(e){if(ko=null,e=Ya(e),e!==null){var t=f(e);if(t===null)e=null;else{var a=t.tag;if(a===13){if(e=m(t),e!==null)return e;e=null}else if(a===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null)}}return ko=e,null}function N0(e){switch(e){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 2;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(Sb()){case Hf:return 2;case Pf:return 8;case Tl:case Tb:return 32;case qf:return 268435456;default:return 32}default:return 32}}var zu=!1,sa=null,la=null,oa=null,Bs=new Map,Hs=new Map,ra=[],Lw="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 C0(e,t){switch(e){case"focusin":case"focusout":sa=null;break;case"dragenter":case"dragleave":la=null;break;case"mouseover":case"mouseout":oa=null;break;case"pointerover":case"pointerout":Bs.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Hs.delete(t.pointerId)}}function Ps(e,t,a,l,c,d){return e===null||e.nativeEvent!==d?(e={blockedOn:t,domEventName:a,eventSystemFlags:l,nativeEvent:d,targetContainers:[c]},t!==null&&(t=Xa(t),t!==null&&A0(t)),e):(e.eventSystemFlags|=l,t=e.targetContainers,c!==null&&t.indexOf(c)===-1&&t.push(c),e)}function Bw(e,t,a,l,c){switch(t){case"focusin":return sa=Ps(sa,e,t,a,l,c),!0;case"dragenter":return la=Ps(la,e,t,a,l,c),!0;case"mouseover":return oa=Ps(oa,e,t,a,l,c),!0;case"pointerover":var d=c.pointerId;return Bs.set(d,Ps(Bs.get(d)||null,e,t,a,l,c)),!0;case"gotpointercapture":return d=c.pointerId,Hs.set(d,Ps(Hs.get(d)||null,e,t,a,l,c)),!0}return!1}function E0(e){var t=Ya(e.target);if(t!==null){var a=f(t);if(a!==null){if(t=a.tag,t===13){if(t=m(a),t!==null){e.blockedOn=t,Ob(e.priority,function(){if(a.tag===13){var l=Rt();l=Nr(l);var c=ai(a,l);c!==null&&Dt(c,a,l),Ru(a,l)}});return}}else if(t===3&&a.stateNode.current.memoizedState.isDehydrated){e.blockedOn=a.tag===3?a.stateNode.containerInfo:null;return}}}e.blockedOn=null}function zo(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var a=Ou(e.nativeEvent);if(a===null){a=e.nativeEvent;var l=new a.constructor(a.type,a);Vr=l,a.target.dispatchEvent(l),Vr=null}else return t=Xa(a),t!==null&&A0(t),e.blockedOn=a,!1;t.shift()}return!0}function M0(e,t,a){zo(e)&&a.delete(t)}function Hw(){zu=!1,sa!==null&&zo(sa)&&(sa=null),la!==null&&zo(la)&&(la=null),oa!==null&&zo(oa)&&(oa=null),Bs.forEach(M0),Hs.forEach(M0)}function _o(e,t){e.blockedOn===t&&(e.blockedOn=null,zu||(zu=!0,n.unstable_scheduleCallback(n.unstable_NormalPriority,Hw)))}var Vo=null;function R0(e){Vo!==e&&(Vo=e,n.unstable_scheduleCallback(n.unstable_NormalPriority,function(){Vo===e&&(Vo=null);for(var t=0;t<e.length;t+=3){var a=e[t],l=e[t+1],c=e[t+2];if(typeof l!="function"){if(ku(l||a)===null)continue;break}var d=Xa(a);d!==null&&(e.splice(t,3),t-=3,kc(d,{pending:!0,data:c,method:a.method,action:l},l,c))}}))}function qs(e){function t(T){return _o(T,e)}sa!==null&&_o(sa,e),la!==null&&_o(la,e),oa!==null&&_o(oa,e),Bs.forEach(t),Hs.forEach(t);for(var a=0;a<ra.length;a++){var l=ra[a];l.blockedOn===e&&(l.blockedOn=null)}for(;0<ra.length&&(a=ra[0],a.blockedOn===null);)E0(a),a.blockedOn===null&&ra.shift();if(a=(e.ownerDocument||e).$$reactFormReplay,a!=null)for(l=0;l<a.length;l+=3){var c=a[l],d=a[l+1],x=c[pt]||null;if(typeof d=="function")x||R0(a);else if(x){var b=null;if(d&&d.hasAttribute("formAction")){if(c=d,x=d[pt]||null)b=x.formAction;else if(ku(c)!==null)continue}else b=x.action;typeof b=="function"?a[l+1]=b:(a.splice(l,3),l-=3),R0(a)}}}function _u(e){this._internalRoot=e}Uo.prototype.render=_u.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(o(409));var a=t.current,l=Rt();S0(a,l,e,t,null,null)},Uo.prototype.unmount=_u.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;S0(e.current,2,null,e,null,null),xo(),t[Ga]=null}};function Uo(e){this._internalRoot=e}Uo.prototype.unstable_scheduleHydration=function(e){if(e){var t=Qf();e={blockedOn:null,target:e,priority:t};for(var a=0;a<ra.length&&t!==0&&t<ra[a].priority;a++);ra.splice(a,0,e),a===0&&E0(e)}};var D0=i.version;if(D0!=="19.1.0")throw Error(o(527,D0,"19.1.0"));K.findDOMNode=function(e){var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(o(188)):(e=Object.keys(e).join(","),Error(o(268,e)));return e=p(t),e=e!==null?y(e):null,e=e===null?null:e.stateNode,e};var Pw={bundleType:0,version:"19.1.0",rendererPackageName:"react-dom",currentDispatcherRef:L,reconcilerVersion:"19.1.0"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Lo=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Lo.isDisabled&&Lo.supportsFiber)try{Ki=Lo.inject(Pw),St=Lo}catch{}}return Ys.createRoot=function(e,t){if(!u(e))throw Error(o(299));var a=!1,l="",c=Qh,d=Zh,x=Fh,b=null;return t!=null&&(t.unstable_strictMode===!0&&(a=!0),t.identifierPrefix!==void 0&&(l=t.identifierPrefix),t.onUncaughtError!==void 0&&(c=t.onUncaughtError),t.onCaughtError!==void 0&&(d=t.onCaughtError),t.onRecoverableError!==void 0&&(x=t.onRecoverableError),t.unstable_transitionCallbacks!==void 0&&(b=t.unstable_transitionCallbacks)),t=w0(e,1,!1,null,null,a,l,c,d,x,b,null),e[Ga]=t.current,gu(e),new _u(t)},Ys.hydrateRoot=function(e,t,a){if(!u(e))throw Error(o(299));var l=!1,c="",d=Qh,x=Zh,b=Fh,T=null,k=null;return a!=null&&(a.unstable_strictMode===!0&&(l=!0),a.identifierPrefix!==void 0&&(c=a.identifierPrefix),a.onUncaughtError!==void 0&&(d=a.onUncaughtError),a.onCaughtError!==void 0&&(x=a.onCaughtError),a.onRecoverableError!==void 0&&(b=a.onRecoverableError),a.unstable_transitionCallbacks!==void 0&&(T=a.unstable_transitionCallbacks),a.formState!==void 0&&(k=a.formState)),t=w0(e,1,!0,t,a??null,l,c,d,x,b,T,k),t.context=j0(null),a=t.current,l=Rt(),l=Nr(l),c=Xn(l),c.callback=null,Kn(a,c,l),a=l,t.current.lanes=a,Zi(t,a),ln(t),e[Ga]=t.current,gu(e),new Uo(t)},Ys.version="19.1.0",Ys}var P0;function Jw(){if(P0)return Lu.exports;P0=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(),Lu.exports=Iw(),Lu.exports}var ej=Jw();const tj=pl(ej);var Xs={},q0;function nj(){if(q0)return Xs;q0=1,Object.defineProperty(Xs,"__esModule",{value:!0}),Xs.parse=m,Xs.serialize=y;const n=/^[\u0021-\u003A\u003C\u003E-\u007E]+$/,i=/^[\u0021-\u003A\u003C-\u007E]*$/,s=/^([.]?[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)([.][a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)*$/i,o=/^[\u0020-\u003A\u003D-\u007E]*$/,u=Object.prototype.toString,f=(()=>{const w=function(){};return w.prototype=Object.create(null),w})();function m(w,S){const A=new f,M=w.length;if(M<2)return A;const O=(S==null?void 0:S.decode)||g;let E=0;do{const z=w.indexOf("=",E);if(z===-1)break;const U=w.indexOf(";",E),Q=U===-1?M:U;if(z>Q){E=w.lastIndexOf(";",z-1)+1;continue}const H=h(w,E,z),F=p(w,z,H),ne=w.slice(H,F);if(A[ne]===void 0){let q=h(w,z+1,Q),ie=p(w,Q,q);const xe=O(w.slice(q,ie));A[ne]=xe}E=Q+1}while(E<M);return A}function h(w,S,A){do{const M=w.charCodeAt(S);if(M!==32&&M!==9)return S}while(++S<A);return A}function p(w,S,A){for(;S>A;){const M=w.charCodeAt(--S);if(M!==32&&M!==9)return S+1}return A}function y(w,S,A){const M=(A==null?void 0:A.encode)||encodeURIComponent;if(!n.test(w))throw new TypeError(`argument name is invalid: ${w}`);const O=M(S);if(!i.test(O))throw new TypeError(`argument val is invalid: ${S}`);let E=w+"="+O;if(!A)return E;if(A.maxAge!==void 0){if(!Number.isInteger(A.maxAge))throw new TypeError(`option maxAge is invalid: ${A.maxAge}`);E+="; Max-Age="+A.maxAge}if(A.domain){if(!s.test(A.domain))throw new TypeError(`option domain is invalid: ${A.domain}`);E+="; Domain="+A.domain}if(A.path){if(!o.test(A.path))throw new TypeError(`option path is invalid: ${A.path}`);E+="; Path="+A.path}if(A.expires){if(!v(A.expires)||!Number.isFinite(A.expires.valueOf()))throw new TypeError(`option expires is invalid: ${A.expires}`);E+="; Expires="+A.expires.toUTCString()}if(A.httpOnly&&(E+="; HttpOnly"),A.secure&&(E+="; Secure"),A.partitioned&&(E+="; Partitioned"),A.priority)switch(typeof A.priority=="string"?A.priority.toLowerCase():void 0){case"low":E+="; Priority=Low";break;case"medium":E+="; Priority=Medium";break;case"high":E+="; Priority=High";break;default:throw new TypeError(`option priority is invalid: ${A.priority}`)}if(A.sameSite)switch(typeof A.sameSite=="string"?A.sameSite.toLowerCase():A.sameSite){case!0:case"strict":E+="; SameSite=Strict";break;case"lax":E+="; SameSite=Lax";break;case"none":E+="; SameSite=None";break;default:throw new TypeError(`option sameSite is invalid: ${A.sameSite}`)}return E}function g(w){if(w.indexOf("%")===-1)return w;try{return decodeURIComponent(w)}catch{return w}}function v(w){return u.call(w)==="[object Date]"}return Xs}nj();var G0="popstate";function aj(n={}){function i(o,u){let{pathname:f,search:m,hash:h}=o.location;return dd("",{pathname:f,search:m,hash:h},u.state&&u.state.usr||null,u.state&&u.state.key||"default")}function s(o,u){return typeof u=="string"?u:il(u)}return sj(i,s,null,n)}function Be(n,i){if(n===!1||n===null||typeof n>"u")throw new Error(i)}function un(n,i){if(!n){typeof console<"u"&&console.warn(i);try{throw new Error(i)}catch{}}}function ij(){return Math.random().toString(36).substring(2,10)}function Y0(n,i){return{usr:n.state,key:n.key,idx:i}}function dd(n,i,s=null,o){return{pathname:typeof n=="string"?n:n.pathname,search:"",hash:"",...typeof i=="string"?Hi(i):i,state:s,key:i&&i.key||o||ij()}}function il({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 Hi(n){let i={};if(n){let s=n.indexOf("#");s>=0&&(i.hash=n.substring(s),n=n.substring(0,s));let o=n.indexOf("?");o>=0&&(i.search=n.substring(o),n=n.substring(0,o)),n&&(i.pathname=n)}return i}function sj(n,i,s,o={}){let{window:u=document.defaultView,v5Compat:f=!1}=o,m=u.history,h="POP",p=null,y=g();y==null&&(y=0,m.replaceState({...m.state,idx:y},""));function g(){return(m.state||{idx:null}).idx}function v(){h="POP";let O=g(),E=O==null?null:O-y;y=O,p&&p({action:h,location:M.location,delta:E})}function w(O,E){h="PUSH";let z=dd(M.location,O,E);y=g()+1;let U=Y0(z,y),Q=M.createHref(z);try{m.pushState(U,"",Q)}catch(H){if(H instanceof DOMException&&H.name==="DataCloneError")throw H;u.location.assign(Q)}f&&p&&p({action:h,location:M.location,delta:1})}function S(O,E){h="REPLACE";let z=dd(M.location,O,E);y=g();let U=Y0(z,y),Q=M.createHref(z);m.replaceState(U,"",Q),f&&p&&p({action:h,location:M.location,delta:0})}function A(O){return lj(O)}let M={get action(){return h},get location(){return n(u,m)},listen(O){if(p)throw new Error("A history only accepts one active listener");return u.addEventListener(G0,v),p=O,()=>{u.removeEventListener(G0,v),p=null}},createHref(O){return i(u,O)},createURL:A,encodeLocation(O){let E=A(O);return{pathname:E.pathname,search:E.search,hash:E.hash}},push:w,replace:S,go(O){return m.go(O)}};return M}function lj(n,i=!1){let s="http://localhost";typeof window<"u"&&(s=window.location.origin!=="null"?window.location.origin:window.location.href),Be(s,"No window.location.(origin|href) available to create URL");let o=typeof n=="string"?n:il(n);return o=o.replace(/ $/,"%20"),!i&&o.startsWith("//")&&(o=s+o),new URL(o,s)}function kg(n,i,s="/"){return oj(n,i,s,!1)}function oj(n,i,s,o){let u=typeof i=="string"?Hi(i):i,f=zn(u.pathname||"/",s);if(f==null)return null;let m=zg(n);rj(m);let h=null;for(let p=0;h==null&&p<m.length;++p){let y=vj(f);h=gj(m[p],y,o)}return h}function zg(n,i=[],s=[],o=""){let u=(f,m,h)=>{let p={relativePath:h===void 0?f.path||"":h,caseSensitive:f.caseSensitive===!0,childrenIndex:m,route:f};p.relativePath.startsWith("/")&&(Be(p.relativePath.startsWith(o),`Absolute route path "${p.relativePath}" nested under path "${o}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),p.relativePath=p.relativePath.slice(o.length));let y=kn([o,p.relativePath]),g=s.concat(p);f.children&&f.children.length>0&&(Be(f.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${y}".`),zg(f.children,i,g,y)),!(f.path==null&&!f.index)&&i.push({path:y,score:pj(y,f.index),routesMeta:g})};return n.forEach((f,m)=>{var h;if(f.path===""||!((h=f.path)!=null&&h.includes("?")))u(f,m);else for(let p of _g(f.path))u(f,m,p)}),i}function _g(n){let i=n.split("/");if(i.length===0)return[];let[s,...o]=i,u=s.endsWith("?"),f=s.replace(/\?$/,"");if(o.length===0)return u?[f,""]:[f];let m=_g(o.join("/")),h=[];return h.push(...m.map(p=>p===""?f:[f,p].join("/"))),u&&h.push(...m),h.map(p=>n.startsWith("/")&&p===""?"/":p)}function rj(n){n.sort((i,s)=>i.score!==s.score?s.score-i.score:yj(i.routesMeta.map(o=>o.childrenIndex),s.routesMeta.map(o=>o.childrenIndex)))}var cj=/^:[\w-]+$/,uj=3,dj=2,fj=1,mj=10,hj=-2,X0=n=>n==="*";function pj(n,i){let s=n.split("/"),o=s.length;return s.some(X0)&&(o+=hj),i&&(o+=dj),s.filter(u=>!X0(u)).reduce((u,f)=>u+(cj.test(f)?uj:f===""?fj:mj),o)}function yj(n,i){return n.length===i.length&&n.slice(0,-1).every((o,u)=>o===i[u])?n[n.length-1]-i[i.length-1]:0}function gj(n,i,s=!1){let{routesMeta:o}=n,u={},f="/",m=[];for(let h=0;h<o.length;++h){let p=o[h],y=h===o.length-1,g=f==="/"?i:i.slice(f.length)||"/",v=er({path:p.relativePath,caseSensitive:p.caseSensitive,end:y},g),w=p.route;if(!v&&y&&s&&!o[o.length-1].route.index&&(v=er({path:p.relativePath,caseSensitive:p.caseSensitive,end:!1},g)),!v)return null;Object.assign(u,v.params),m.push({params:u,pathname:kn([f,v.pathname]),pathnameBase:Sj(kn([f,v.pathnameBase])),route:w}),v.pathnameBase!=="/"&&(f=kn([f,v.pathnameBase]))}return m}function er(n,i){typeof n=="string"&&(n={path:n,caseSensitive:!1,end:!0});let[s,o]=xj(n.path,n.caseSensitive,n.end),u=i.match(s);if(!u)return null;let f=u[0],m=f.replace(/(.)\/+$/,"$1"),h=u.slice(1);return{params:o.reduce((y,{paramName:g,isOptional:v},w)=>{if(g==="*"){let A=h[w]||"";m=f.slice(0,f.length-A.length).replace(/(.)\/+$/,"$1")}const S=h[w];return v&&!S?y[g]=void 0:y[g]=(S||"").replace(/%2F/g,"/"),y},{}),pathname:f,pathnameBase:m,pattern:n}}function xj(n,i=!1,s=!0){un(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 o=[],u="^"+n.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(m,h,p)=>(o.push({paramName:h,isOptional:p!=null}),p?"/?([^\\/]+)?":"/([^\\/]+)"));return n.endsWith("*")?(o.push({paramName:"*"}),u+=n==="*"||n==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):s?u+="\\/*$":n!==""&&n!=="/"&&(u+="(?:(?=\\/|$))"),[new RegExp(u,i?void 0:"i"),o]}function vj(n){try{return n.split("/").map(i=>decodeURIComponent(i).replace(/\//g,"%2F")).join("/")}catch(i){return un(!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 zn(n,i){if(i==="/")return n;if(!n.toLowerCase().startsWith(i.toLowerCase()))return null;let s=i.endsWith("/")?i.length-1:i.length,o=n.charAt(s);return o&&o!=="/"?null:n.slice(s)||"/"}function bj(n,i="/"){let{pathname:s,search:o="",hash:u=""}=typeof n=="string"?Hi(n):n;return{pathname:s?s.startsWith("/")?s:wj(s,i):i,search:Tj(o),hash:Aj(u)}}function wj(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 qu(n,i,s,o){return`Cannot include a '${n}' character in a manually specified \`to.${i}\` field [${JSON.stringify(o)}].  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 jj(n){return n.filter((i,s)=>s===0||i.route.path&&i.route.path.length>0)}function Vg(n){let i=jj(n);return i.map((s,o)=>o===i.length-1?s.pathname:s.pathnameBase)}function Ug(n,i,s,o=!1){let u;typeof n=="string"?u=Hi(n):(u={...n},Be(!u.pathname||!u.pathname.includes("?"),qu("?","pathname","search",u)),Be(!u.pathname||!u.pathname.includes("#"),qu("#","pathname","hash",u)),Be(!u.search||!u.search.includes("#"),qu("#","search","hash",u)));let f=n===""||u.pathname==="",m=f?"/":u.pathname,h;if(m==null)h=s;else{let v=i.length-1;if(!o&&m.startsWith("..")){let w=m.split("/");for(;w[0]==="..";)w.shift(),v-=1;u.pathname=w.join("/")}h=v>=0?i[v]:"/"}let p=bj(u,h),y=m&&m!=="/"&&m.endsWith("/"),g=(f||m===".")&&s.endsWith("/");return!p.pathname.endsWith("/")&&(y||g)&&(p.pathname+="/"),p}var kn=n=>n.join("/").replace(/\/\/+/g,"/"),Sj=n=>n.replace(/\/+$/,"").replace(/^\/*/,"/"),Tj=n=>!n||n==="?"?"":n.startsWith("?")?n:"?"+n,Aj=n=>!n||n==="#"?"":n.startsWith("#")?n:"#"+n;function Nj(n){return n!=null&&typeof n.status=="number"&&typeof n.statusText=="string"&&typeof n.internal=="boolean"&&"data"in n}var Lg=["POST","PUT","PATCH","DELETE"];new Set(Lg);var Cj=["GET",...Lg];new Set(Cj);var Pi=j.createContext(null);Pi.displayName="DataRouter";var ur=j.createContext(null);ur.displayName="DataRouterState";var Bg=j.createContext({isTransitioning:!1});Bg.displayName="ViewTransition";var Ej=j.createContext(new Map);Ej.displayName="Fetchers";var Mj=j.createContext(null);Mj.displayName="Await";var dn=j.createContext(null);dn.displayName="Navigation";var yl=j.createContext(null);yl.displayName="Location";var fn=j.createContext({outlet:null,matches:[],isDataRoute:!1});fn.displayName="Route";var qd=j.createContext(null);qd.displayName="RouteError";function Rj(n,{relative:i}={}){Be(gl(),"useHref() may be used only in the context of a <Router> component.");let{basename:s,navigator:o}=j.useContext(dn),{hash:u,pathname:f,search:m}=xl(n,{relative:i}),h=f;return s!=="/"&&(h=f==="/"?s:kn([s,f])),o.createHref({pathname:h,search:m,hash:u})}function gl(){return j.useContext(yl)!=null}function mn(){return Be(gl(),"useLocation() may be used only in the context of a <Router> component."),j.useContext(yl).location}var Hg="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function Pg(n){j.useContext(dn).static||j.useLayoutEffect(n)}function qg(){let{isDataRoute:n}=j.useContext(fn);return n?Yj():Dj()}function Dj(){Be(gl(),"useNavigate() may be used only in the context of a <Router> component.");let n=j.useContext(Pi),{basename:i,navigator:s}=j.useContext(dn),{matches:o}=j.useContext(fn),{pathname:u}=mn(),f=JSON.stringify(Vg(o)),m=j.useRef(!1);return Pg(()=>{m.current=!0}),j.useCallback((p,y={})=>{if(un(m.current,Hg),!m.current)return;if(typeof p=="number"){s.go(p);return}let g=Ug(p,JSON.parse(f),u,y.relative==="path");n==null&&i!=="/"&&(g.pathname=g.pathname==="/"?i:kn([i,g.pathname])),(y.replace?s.replace:s.push)(g,y.state,y)},[i,s,f,u,n])}j.createContext(null);function Oj(){let{matches:n}=j.useContext(fn),i=n[n.length-1];return i?i.params:{}}function xl(n,{relative:i}={}){let{matches:s}=j.useContext(fn),{pathname:o}=mn(),u=JSON.stringify(Vg(s));return j.useMemo(()=>Ug(n,JSON.parse(u),o,i==="path"),[n,u,o,i])}function kj(n,i){return Gg(n,i)}function Gg(n,i,s,o){var E;Be(gl(),"useRoutes() may be used only in the context of a <Router> component.");let{navigator:u}=j.useContext(dn),{matches:f}=j.useContext(fn),m=f[f.length-1],h=m?m.params:{},p=m?m.pathname:"/",y=m?m.pathnameBase:"/",g=m&&m.route;{let z=g&&g.path||"";Yg(p,!g||z.endsWith("*")||z.endsWith("*?"),`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${p}" (under <Route path="${z}">) 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="${z}"> to <Route path="${z==="/"?"*":`${z}/*`}">.`)}let v=mn(),w;if(i){let z=typeof i=="string"?Hi(i):i;Be(y==="/"||((E=z.pathname)==null?void 0:E.startsWith(y)),`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 "${y}" but pathname "${z.pathname}" was given in the \`location\` prop.`),w=z}else w=v;let S=w.pathname||"/",A=S;if(y!=="/"){let z=y.replace(/^\//,"").split("/");A="/"+S.replace(/^\//,"").split("/").slice(z.length).join("/")}let M=kg(n,{pathname:A});un(g||M!=null,`No routes matched location "${w.pathname}${w.search}${w.hash}" `),un(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 "${w.pathname}${w.search}${w.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 O=Lj(M&&M.map(z=>Object.assign({},z,{params:Object.assign({},h,z.params),pathname:kn([y,u.encodeLocation?u.encodeLocation(z.pathname).pathname:z.pathname]),pathnameBase:z.pathnameBase==="/"?y:kn([y,u.encodeLocation?u.encodeLocation(z.pathnameBase).pathname:z.pathnameBase])})),f,s,o);return i&&O?j.createElement(yl.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",...w},navigationType:"POP"}},O):O}function zj(){let n=Gj(),i=Nj(n)?`${n.status} ${n.statusText}`:n instanceof Error?n.message:JSON.stringify(n),s=n instanceof Error?n.stack:null,o="rgba(200,200,200, 0.5)",u={padding:"0.5rem",backgroundColor:o},f={padding:"2px 4px",backgroundColor:o},m=null;return console.error("Error handled by React Router default ErrorBoundary:",n),m=j.createElement(j.Fragment,null,j.createElement("p",null,"💿 Hey developer 👋"),j.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",j.createElement("code",{style:f},"ErrorBoundary")," or"," ",j.createElement("code",{style:f},"errorElement")," prop on your route.")),j.createElement(j.Fragment,null,j.createElement("h2",null,"Unexpected Application Error!"),j.createElement("h3",{style:{fontStyle:"italic"}},i),s?j.createElement("pre",{style:u},s):null,m)}var _j=j.createElement(zj,null),Vj=class extends j.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){console.error("React Router caught the following error during render",n,i)}render(){return this.state.error!==void 0?j.createElement(fn.Provider,{value:this.props.routeContext},j.createElement(qd.Provider,{value:this.state.error,children:this.props.component})):this.props.children}};function Uj({routeContext:n,match:i,children:s}){let o=j.useContext(Pi);return o&&o.static&&o.staticContext&&(i.route.errorElement||i.route.ErrorBoundary)&&(o.staticContext._deepestRenderedBoundaryId=i.route.id),j.createElement(fn.Provider,{value:n},s)}function Lj(n,i=[],s=null,o=null){if(n==null){if(!s)return null;if(s.errors)n=s.matches;else if(i.length===0&&!s.initialized&&s.matches.length>0)n=s.matches;else return null}let u=n,f=s==null?void 0:s.errors;if(f!=null){let p=u.findIndex(y=>y.route.id&&(f==null?void 0:f[y.route.id])!==void 0);Be(p>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(f).join(",")}`),u=u.slice(0,Math.min(u.length,p+1))}let m=!1,h=-1;if(s)for(let p=0;p<u.length;p++){let y=u[p];if((y.route.HydrateFallback||y.route.hydrateFallbackElement)&&(h=p),y.route.id){let{loaderData:g,errors:v}=s,w=y.route.loader&&!g.hasOwnProperty(y.route.id)&&(!v||v[y.route.id]===void 0);if(y.route.lazy||w){m=!0,h>=0?u=u.slice(0,h+1):u=[u[0]];break}}}return u.reduceRight((p,y,g)=>{let v,w=!1,S=null,A=null;s&&(v=f&&y.route.id?f[y.route.id]:void 0,S=y.route.errorElement||_j,m&&(h<0&&g===0?(Yg("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),w=!0,A=null):h===g&&(w=!0,A=y.route.hydrateFallbackElement||null)));let M=i.concat(u.slice(0,g+1)),O=()=>{let E;return v?E=S:w?E=A:y.route.Component?E=j.createElement(y.route.Component,null):y.route.element?E=y.route.element:E=p,j.createElement(Uj,{match:y,routeContext:{outlet:p,matches:M,isDataRoute:s!=null},children:E})};return s&&(y.route.ErrorBoundary||y.route.errorElement||g===0)?j.createElement(Vj,{location:s.location,revalidation:s.revalidation,component:S,error:v,children:O(),routeContext:{outlet:null,matches:M,isDataRoute:!0}}):O()},null)}function Gd(n){return`${n} must be used within a data router.  See https://reactrouter.com/en/main/routers/picking-a-router.`}function Bj(n){let i=j.useContext(Pi);return Be(i,Gd(n)),i}function Hj(n){let i=j.useContext(ur);return Be(i,Gd(n)),i}function Pj(n){let i=j.useContext(fn);return Be(i,Gd(n)),i}function Yd(n){let i=Pj(n),s=i.matches[i.matches.length-1];return Be(s.route.id,`${n} can only be used on routes that contain a unique "id"`),s.route.id}function qj(){return Yd("useRouteId")}function Gj(){var o;let n=j.useContext(qd),i=Hj("useRouteError"),s=Yd("useRouteError");return n!==void 0?n:(o=i.errors)==null?void 0:o[s]}function Yj(){let{router:n}=Bj("useNavigate"),i=Yd("useNavigate"),s=j.useRef(!1);return Pg(()=>{s.current=!0}),j.useCallback(async(u,f={})=>{un(s.current,Hg),s.current&&(typeof u=="number"?n.navigate(u):await n.navigate(u,{fromRouteId:i,...f}))},[n,i])}var K0={};function Yg(n,i,s){!i&&!K0[n]&&(K0[n]=!0,un(!1,s))}j.memo(Xj);function Xj({routes:n,future:i,state:s}){return Gg(n,void 0,s,i)}function Gt(n){Be(!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 Kj({basename:n="/",children:i=null,location:s,navigationType:o="POP",navigator:u,static:f=!1}){Be(!gl(),"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let m=n.replace(/^\/*/,"/"),h=j.useMemo(()=>({basename:m,navigator:u,static:f,future:{}}),[m,u,f]);typeof s=="string"&&(s=Hi(s));let{pathname:p="/",search:y="",hash:g="",state:v=null,key:w="default"}=s,S=j.useMemo(()=>{let A=zn(p,m);return A==null?null:{location:{pathname:A,search:y,hash:g,state:v,key:w},navigationType:o}},[m,p,y,g,v,w,o]);return un(S!=null,`<Router basename="${m}"> is not able to match the URL "${p}${y}${g}" because it does not start with the basename, so the <Router> won't render anything.`),S==null?null:j.createElement(dn.Provider,{value:h},j.createElement(yl.Provider,{children:i,value:S}))}function Qj({children:n,location:i}){return kj(fd(n),i)}function fd(n,i=[]){let s=[];return j.Children.forEach(n,(o,u)=>{if(!j.isValidElement(o))return;let f=[...i,u];if(o.type===j.Fragment){s.push.apply(s,fd(o.props.children,f));return}Be(o.type===Gt,`[${typeof o.type=="string"?o.type:o.type.name}] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>`),Be(!o.props.index||!o.props.children,"An index route cannot have child routes.");let m={id:o.props.id||f.join("-"),caseSensitive:o.props.caseSensitive,element:o.props.element,Component:o.props.Component,index:o.props.index,path:o.props.path,loader:o.props.loader,action:o.props.action,hydrateFallbackElement:o.props.hydrateFallbackElement,HydrateFallback:o.props.HydrateFallback,errorElement:o.props.errorElement,ErrorBoundary:o.props.ErrorBoundary,hasErrorBoundary:o.props.hasErrorBoundary===!0||o.props.ErrorBoundary!=null||o.props.errorElement!=null,shouldRevalidate:o.props.shouldRevalidate,handle:o.props.handle,lazy:o.props.lazy};o.props.children&&(m.children=fd(o.props.children,f)),s.push(m)}),s}var Zo="get",Fo="application/x-www-form-urlencoded";function dr(n){return n!=null&&typeof n.tagName=="string"}function Zj(n){return dr(n)&&n.tagName.toLowerCase()==="button"}function Fj(n){return dr(n)&&n.tagName.toLowerCase()==="form"}function $j(n){return dr(n)&&n.tagName.toLowerCase()==="input"}function Wj(n){return!!(n.metaKey||n.altKey||n.ctrlKey||n.shiftKey)}function Ij(n,i){return n.button===0&&(!i||i==="_self")&&!Wj(n)}var Bo=null;function Jj(){if(Bo===null)try{new FormData(document.createElement("form"),0),Bo=!1}catch{Bo=!0}return Bo}var e2=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function Gu(n){return n!=null&&!e2.has(n)?(un(!1,`"${n}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${Fo}"`),null):n}function t2(n,i){let s,o,u,f,m;if(Fj(n)){let h=n.getAttribute("action");o=h?zn(h,i):null,s=n.getAttribute("method")||Zo,u=Gu(n.getAttribute("enctype"))||Fo,f=new FormData(n)}else if(Zj(n)||$j(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 p=n.getAttribute("formaction")||h.getAttribute("action");if(o=p?zn(p,i):null,s=n.getAttribute("formmethod")||h.getAttribute("method")||Zo,u=Gu(n.getAttribute("formenctype"))||Gu(h.getAttribute("enctype"))||Fo,f=new FormData(h,n),!Jj()){let{name:y,type:g,value:v}=n;if(g==="image"){let w=y?`${y}.`:"";f.append(`${w}x`,"0"),f.append(`${w}y`,"0")}else y&&f.append(y,v)}}else{if(dr(n))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');s=Zo,o=null,u=Fo,m=n}return f&&u==="text/plain"&&(m=f,f=void 0),{action:o,method:s.toLowerCase(),encType:u,formData:f,body:m}}function Xd(n,i){if(n===!1||n===null||typeof n>"u")throw new Error(i)}async function n2(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 a2(n){return n==null?!1:n.href==null?n.rel==="preload"&&typeof n.imageSrcSet=="string"&&typeof n.imageSizes=="string":typeof n.rel=="string"&&typeof n.href=="string"}async function i2(n,i,s){let o=await Promise.all(n.map(async u=>{let f=i.routes[u.route.id];if(f){let m=await n2(f,s);return m.links?m.links():[]}return[]}));return r2(o.flat(1).filter(a2).filter(u=>u.rel==="stylesheet"||u.rel==="preload").map(u=>u.rel==="stylesheet"?{...u,rel:"prefetch",as:"style"}:{...u,rel:"prefetch"}))}function Q0(n,i,s,o,u,f){let m=(p,y)=>s[y]?p.route.id!==s[y].route.id:!0,h=(p,y)=>{var g;return s[y].pathname!==p.pathname||((g=s[y].route.path)==null?void 0:g.endsWith("*"))&&s[y].params["*"]!==p.params["*"]};return f==="assets"?i.filter((p,y)=>m(p,y)||h(p,y)):f==="data"?i.filter((p,y)=>{var v;let g=o.routes[p.route.id];if(!g||!g.hasLoader)return!1;if(m(p,y)||h(p,y))return!0;if(p.route.shouldRevalidate){let w=p.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:p.params,defaultShouldRevalidate:!0});if(typeof w=="boolean")return w}return!0}):[]}function s2(n,i,{includeHydrateFallback:s}={}){return l2(n.map(o=>{let u=i.routes[o.route.id];if(!u)return[];let f=[u.module];return u.clientActionModule&&(f=f.concat(u.clientActionModule)),u.clientLoaderModule&&(f=f.concat(u.clientLoaderModule)),s&&u.hydrateFallbackModule&&(f=f.concat(u.hydrateFallbackModule)),u.imports&&(f=f.concat(u.imports)),f}).flat(1))}function l2(n){return[...new Set(n)]}function o2(n){let i={},s=Object.keys(n).sort();for(let o of s)i[o]=n[o];return i}function r2(n,i){let s=new Set;return new Set(i),n.reduce((o,u)=>{let f=JSON.stringify(o2(u));return s.has(f)||(s.add(f),o.push({key:f,link:u})),o},[])}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");var c2=new Set([100,101,204,205]);function u2(n,i){let s=typeof n=="string"?new URL(n,typeof window>"u"?"server://singlefetch/":window.location.origin):n;return s.pathname==="/"?s.pathname="_root.data":i&&zn(s.pathname,i)==="/"?s.pathname=`${i.replace(/\/$/,"")}/_root.data`:s.pathname=`${s.pathname.replace(/\/$/,"")}.data`,s}function Xg(){let n=j.useContext(Pi);return Xd(n,"You must render this element inside a <DataRouterContext.Provider> element"),n}function d2(){let n=j.useContext(ur);return Xd(n,"You must render this element inside a <DataRouterStateContext.Provider> element"),n}var Kd=j.createContext(void 0);Kd.displayName="FrameworkContext";function Kg(){let n=j.useContext(Kd);return Xd(n,"You must render this element inside a <HydratedRouter> element"),n}function f2(n,i){let s=j.useContext(Kd),[o,u]=j.useState(!1),[f,m]=j.useState(!1),{onFocus:h,onBlur:p,onMouseEnter:y,onMouseLeave:g,onTouchStart:v}=i,w=j.useRef(null);j.useEffect(()=>{if(n==="render"&&m(!0),n==="viewport"){let M=E=>{E.forEach(z=>{m(z.isIntersecting)})},O=new IntersectionObserver(M,{threshold:.5});return w.current&&O.observe(w.current),()=>{O.disconnect()}}},[n]),j.useEffect(()=>{if(o){let M=setTimeout(()=>{m(!0)},100);return()=>{clearTimeout(M)}}},[o]);let S=()=>{u(!0)},A=()=>{u(!1),m(!1)};return s?n!=="intent"?[f,w,{}]:[f,w,{onFocus:Ks(h,S),onBlur:Ks(p,A),onMouseEnter:Ks(y,S),onMouseLeave:Ks(g,A),onTouchStart:Ks(v,S)}]:[!1,w,{}]}function Ks(n,i){return s=>{n&&n(s),s.defaultPrevented||i(s)}}function m2({page:n,...i}){let{router:s}=Xg(),o=j.useMemo(()=>kg(s.routes,n,s.basename),[s.routes,n,s.basename]);return o?j.createElement(p2,{page:n,matches:o,...i}):null}function h2(n){let{manifest:i,routeModules:s}=Kg(),[o,u]=j.useState([]);return j.useEffect(()=>{let f=!1;return i2(n,i,s).then(m=>{f||u(m)}),()=>{f=!0}},[n,i,s]),o}function p2({page:n,matches:i,...s}){let o=mn(),{manifest:u,routeModules:f}=Kg(),{basename:m}=Xg(),{loaderData:h,matches:p}=d2(),y=j.useMemo(()=>Q0(n,i,p,u,o,"data"),[n,i,p,u,o]),g=j.useMemo(()=>Q0(n,i,p,u,o,"assets"),[n,i,p,u,o]),v=j.useMemo(()=>{if(n===o.pathname+o.search+o.hash)return[];let A=new Set,M=!1;if(i.forEach(E=>{var U;let z=u.routes[E.route.id];!z||!z.hasLoader||(!y.some(Q=>Q.route.id===E.route.id)&&E.route.id in h&&((U=f[E.route.id])!=null&&U.shouldRevalidate)||z.hasClientLoader?M=!0:A.add(E.route.id))}),A.size===0)return[];let O=u2(n,m);return M&&A.size>0&&O.searchParams.set("_routes",i.filter(E=>A.has(E.route.id)).map(E=>E.route.id).join(",")),[O.pathname+O.search]},[m,h,o,u,y,i,n,f]),w=j.useMemo(()=>s2(g,u),[g,u]),S=h2(g);return j.createElement(j.Fragment,null,v.map(A=>j.createElement("link",{key:A,rel:"prefetch",as:"fetch",href:A,...s})),w.map(A=>j.createElement("link",{key:A,rel:"modulepreload",href:A,...s})),S.map(({key:A,link:M})=>j.createElement("link",{key:A,...M})))}function y2(...n){return i=>{n.forEach(s=>{typeof s=="function"?s(i):s!=null&&(s.current=i)})}}var Qg=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";try{Qg&&(window.__reactRouterVersion="7.6.2")}catch{}function g2({basename:n,children:i,window:s}){let o=j.useRef();o.current==null&&(o.current=aj({window:s,v5Compat:!0}));let u=o.current,[f,m]=j.useState({action:u.action,location:u.location}),h=j.useCallback(p=>{j.startTransition(()=>m(p))},[m]);return j.useLayoutEffect(()=>u.listen(h),[u,h]),j.createElement(Kj,{basename:n,children:i,location:f.location,navigationType:f.action,navigator:u})}var Zg=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Me=j.forwardRef(function({onClick:i,discover:s="render",prefetch:o="none",relative:u,reloadDocument:f,replace:m,state:h,target:p,to:y,preventScrollReset:g,viewTransition:v,...w},S){let{basename:A}=j.useContext(dn),M=typeof y=="string"&&Zg.test(y),O,E=!1;if(typeof y=="string"&&M&&(O=y,Qg))try{let ie=new URL(window.location.href),xe=y.startsWith("//")?new URL(ie.protocol+y):new URL(y),He=zn(xe.pathname,A);xe.origin===ie.origin&&He!=null?y=He+xe.search+xe.hash:E=!0}catch{un(!1,`<Link to="${y}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}let z=Rj(y,{relative:u}),[U,Q,H]=f2(o,w),F=w2(y,{replace:m,state:h,target:p,preventScrollReset:g,relative:u,viewTransition:v});function ne(ie){i&&i(ie),ie.defaultPrevented||F(ie)}let q=j.createElement("a",{...w,...H,href:O||z,onClick:E||f?i:ne,ref:y2(S,Q),target:p,"data-discover":!M&&s==="render"?"true":void 0});return U&&!M?j.createElement(j.Fragment,null,q,j.createElement(m2,{page:z})):q});Me.displayName="Link";var x2=j.forwardRef(function({"aria-current":i="page",caseSensitive:s=!1,className:o="",end:u=!1,style:f,to:m,viewTransition:h,children:p,...y},g){let v=xl(m,{relative:y.relative}),w=mn(),S=j.useContext(ur),{navigator:A,basename:M}=j.useContext(dn),O=S!=null&&N2(v)&&h===!0,E=A.encodeLocation?A.encodeLocation(v).pathname:v.pathname,z=w.pathname,U=S&&S.navigation&&S.navigation.location?S.navigation.location.pathname:null;s||(z=z.toLowerCase(),U=U?U.toLowerCase():null,E=E.toLowerCase()),U&&M&&(U=zn(U,M)||U);const Q=E!=="/"&&E.endsWith("/")?E.length-1:E.length;let H=z===E||!u&&z.startsWith(E)&&z.charAt(Q)==="/",F=U!=null&&(U===E||!u&&U.startsWith(E)&&U.charAt(E.length)==="/"),ne={isActive:H,isPending:F,isTransitioning:O},q=H?i:void 0,ie;typeof o=="function"?ie=o(ne):ie=[o,H?"active":null,F?"pending":null,O?"transitioning":null].filter(Boolean).join(" ");let xe=typeof f=="function"?f(ne):f;return j.createElement(Me,{...y,"aria-current":q,className:ie,ref:g,style:xe,to:m,viewTransition:h},typeof p=="function"?p(ne):p)});x2.displayName="NavLink";var v2=j.forwardRef(({discover:n="render",fetcherKey:i,navigate:s,reloadDocument:o,replace:u,state:f,method:m=Zo,action:h,onSubmit:p,relative:y,preventScrollReset:g,viewTransition:v,...w},S)=>{let A=T2(),M=A2(h,{relative:y}),O=m.toLowerCase()==="get"?"get":"post",E=typeof h=="string"&&Zg.test(h),z=U=>{if(p&&p(U),U.defaultPrevented)return;U.preventDefault();let Q=U.nativeEvent.submitter,H=(Q==null?void 0:Q.getAttribute("formmethod"))||m;A(Q||U.currentTarget,{fetcherKey:i,method:H,navigate:s,replace:u,state:f,relative:y,preventScrollReset:g,viewTransition:v})};return j.createElement("form",{ref:S,method:O,action:M,onSubmit:o?p:z,...w,"data-discover":!E&&n==="render"?"true":void 0})});v2.displayName="Form";function b2(n){return`${n} must be used within a data router.  See https://reactrouter.com/en/main/routers/picking-a-router.`}function Fg(n){let i=j.useContext(Pi);return Be(i,b2(n)),i}function w2(n,{target:i,replace:s,state:o,preventScrollReset:u,relative:f,viewTransition:m}={}){let h=qg(),p=mn(),y=xl(n,{relative:f});return j.useCallback(g=>{if(Ij(g,i)){g.preventDefault();let v=s!==void 0?s:il(p)===il(y);h(n,{replace:v,state:o,preventScrollReset:u,relative:f,viewTransition:m})}},[p,h,y,s,o,i,n,u,f,m])}var j2=0,S2=()=>`__${String(++j2)}__`;function T2(){let{router:n}=Fg("useSubmit"),{basename:i}=j.useContext(dn),s=qj();return j.useCallback(async(o,u={})=>{let{action:f,method:m,encType:h,formData:p,body:y}=t2(o,i);if(u.navigate===!1){let g=u.fetcherKey||S2();await n.fetch(g,s,u.action||f,{preventScrollReset:u.preventScrollReset,formData:p,body:y,formMethod:u.method||m,formEncType:u.encType||h,flushSync:u.flushSync})}else await n.navigate(u.action||f,{preventScrollReset:u.preventScrollReset,formData:p,body:y,formMethod:u.method||m,formEncType:u.encType||h,replace:u.replace,state:u.state,fromRouteId:s,flushSync:u.flushSync,viewTransition:u.viewTransition})},[n,i,s])}function A2(n,{relative:i}={}){let{basename:s}=j.useContext(dn),o=j.useContext(fn);Be(o,"useFormAction must be used inside a RouteContext");let[u]=o.matches.slice(-1),f={...xl(n||".",{relative:i})},m=mn();if(n==null){f.search=m.search;let h=new URLSearchParams(f.search),p=h.getAll("index");if(p.some(g=>g==="")){h.delete("index"),p.filter(v=>v).forEach(v=>h.append("index",v));let g=h.toString();f.search=g?`?${g}`:""}}return(!n||n===".")&&u.route.index&&(f.search=f.search?f.search.replace(/^\?/,"?index&"):"?index"),s!=="/"&&(f.pathname=f.pathname==="/"?s:kn([s,f.pathname])),il(f)}function N2(n,i={}){let s=j.useContext(Bg);Be(s!=null,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`.  Did you accidentally import `RouterProvider` from `react-router`?");let{basename:o}=Fg("useViewTransitionState"),u=xl(n,{relative:i.relative});if(!s.isTransitioning)return!1;let f=zn(s.currentLocation.pathname,o)||s.currentLocation.pathname,m=zn(s.nextLocation.pathname,o)||s.nextLocation.pathname;return er(u.pathname,m)!=null||er(u.pathname,f)!=null}[...c2];Og();var Yu,Z0;function C2(){if(Z0)return Yu;Z0=1;var n=typeof Element<"u",i=typeof Map=="function",s=typeof Set=="function",o=typeof ArrayBuffer=="function"&&!!ArrayBuffer.isView;function u(f,m){if(f===m)return!0;if(f&&m&&typeof f=="object"&&typeof m=="object"){if(f.constructor!==m.constructor)return!1;var h,p,y;if(Array.isArray(f)){if(h=f.length,h!=m.length)return!1;for(p=h;p--!==0;)if(!u(f[p],m[p]))return!1;return!0}var g;if(i&&f instanceof Map&&m instanceof Map){if(f.size!==m.size)return!1;for(g=f.entries();!(p=g.next()).done;)if(!m.has(p.value[0]))return!1;for(g=f.entries();!(p=g.next()).done;)if(!u(p.value[1],m.get(p.value[0])))return!1;return!0}if(s&&f instanceof Set&&m instanceof Set){if(f.size!==m.size)return!1;for(g=f.entries();!(p=g.next()).done;)if(!m.has(p.value[0]))return!1;return!0}if(o&&ArrayBuffer.isView(f)&&ArrayBuffer.isView(m)){if(h=f.length,h!=m.length)return!1;for(p=h;p--!==0;)if(f[p]!==m[p])return!1;return!0}if(f.constructor===RegExp)return f.source===m.source&&f.flags===m.flags;if(f.valueOf!==Object.prototype.valueOf&&typeof f.valueOf=="function"&&typeof m.valueOf=="function")return f.valueOf()===m.valueOf();if(f.toString!==Object.prototype.toString&&typeof f.toString=="function"&&typeof m.toString=="function")return f.toString()===m.toString();if(y=Object.keys(f),h=y.length,h!==Object.keys(m).length)return!1;for(p=h;p--!==0;)if(!Object.prototype.hasOwnProperty.call(m,y[p]))return!1;if(n&&f instanceof Element)return!1;for(p=h;p--!==0;)if(!((y[p]==="_owner"||y[p]==="__v"||y[p]==="__o")&&f.$$typeof)&&!u(f[y[p]],m[y[p]]))return!1;return!0}return f!==f&&m!==m}return Yu=function(m,h){try{return u(m,h)}catch(p){if((p.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw p}},Yu}var E2=C2();const M2=pl(E2);var Xu,F0;function R2(){if(F0)return Xu;F0=1;var n=function(i,s,o,u,f,m,h,p){if(!i){var y;if(s===void 0)y=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var g=[o,u,f,m,h,p],v=0;y=new Error(s.replace(/%s/g,function(){return g[v++]})),y.name="Invariant Violation"}throw y.framesToPop=1,y}};return Xu=n,Xu}var D2=R2();const $0=pl(D2);var Ku,W0;function O2(){return W0||(W0=1,Ku=function(i,s,o,u){var f=o?o.call(u,i,s):void 0;if(f!==void 0)return!!f;if(i===s)return!0;if(typeof i!="object"||!i||typeof s!="object"||!s)return!1;var m=Object.keys(i),h=Object.keys(s);if(m.length!==h.length)return!1;for(var p=Object.prototype.hasOwnProperty.bind(s),y=0;y<m.length;y++){var g=m[y];if(!p(g))return!1;var v=i[g],w=s[g];if(f=o?o.call(u,v,w,g):void 0,f===!1||f===void 0&&v!==w)return!1}return!0}),Ku}var k2=O2();const z2=pl(k2);var $g=(n=>(n.BASE="base",n.BODY="body",n.HEAD="head",n.HTML="html",n.LINK="link",n.META="meta",n.NOSCRIPT="noscript",n.SCRIPT="script",n.STYLE="style",n.TITLE="title",n.FRAGMENT="Symbol(react.fragment)",n))($g||{}),Qu={link:{rel:["amphtml","canonical","alternate"]},script:{type:["application/ld+json"]},meta:{charset:"",name:["generator","robots","description"],property:["og:type","og:title","og:url","og:image","og:image:alt","og:description","twitter:url","twitter:title","twitter:description","twitter:image","twitter:image:alt","twitter:card","twitter:site"]}},I0=Object.values($g),Qd={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},_2=Object.entries(Qd).reduce((n,[i,s])=>(n[s]=i,n),{}),Wt="data-rh",_i={DEFAULT_TITLE:"defaultTitle",DEFER:"defer",ENCODE_SPECIAL_CHARACTERS:"encodeSpecialCharacters",ON_CHANGE_CLIENT_STATE:"onChangeClientState",TITLE_TEMPLATE:"titleTemplate",PRIORITIZE_SEO_TAGS:"prioritizeSeoTags"},Vi=(n,i)=>{for(let s=n.length-1;s>=0;s-=1){const o=n[s];if(Object.prototype.hasOwnProperty.call(o,i))return o[i]}return null},V2=n=>{let i=Vi(n,"title");const s=Vi(n,_i.TITLE_TEMPLATE);if(Array.isArray(i)&&(i=i.join("")),s&&i)return s.replace(/%s/g,()=>i);const o=Vi(n,_i.DEFAULT_TITLE);return i||o||void 0},U2=n=>Vi(n,_i.ON_CHANGE_CLIENT_STATE)||(()=>{}),Zu=(n,i)=>i.filter(s=>typeof s[n]<"u").map(s=>s[n]).reduce((s,o)=>({...s,...o}),{}),L2=(n,i)=>i.filter(s=>typeof s.base<"u").map(s=>s.base).reverse().reduce((s,o)=>{if(!s.length){const u=Object.keys(o);for(let f=0;f<u.length;f+=1){const h=u[f].toLowerCase();if(n.indexOf(h)!==-1&&o[h])return s.concat(o)}}return s},[]),B2=n=>console&&typeof console.warn=="function"&&console.warn(n),Qs=(n,i,s)=>{const o={};return s.filter(u=>Array.isArray(u[n])?!0:(typeof u[n]<"u"&&B2(`Helmet: ${n} should be of type "Array". Instead found type "${typeof u[n]}"`),!1)).map(u=>u[n]).reverse().reduce((u,f)=>{const m={};f.filter(p=>{let y;const g=Object.keys(p);for(let w=0;w<g.length;w+=1){const S=g[w],A=S.toLowerCase();i.indexOf(A)!==-1&&!(y==="rel"&&p[y].toLowerCase()==="canonical")&&!(A==="rel"&&p[A].toLowerCase()==="stylesheet")&&(y=A),i.indexOf(S)!==-1&&(S==="innerHTML"||S==="cssText"||S==="itemprop")&&(y=S)}if(!y||!p[y])return!1;const v=p[y].toLowerCase();return o[y]||(o[y]={}),m[y]||(m[y]={}),o[y][v]?!1:(m[y][v]=!0,!0)}).reverse().forEach(p=>u.push(p));const h=Object.keys(m);for(let p=0;p<h.length;p+=1){const y=h[p],g={...o[y],...m[y]};o[y]=g}return u},[]).reverse()},H2=(n,i)=>{if(Array.isArray(n)&&n.length){for(let s=0;s<n.length;s+=1)if(n[s][i])return!0}return!1},P2=n=>({baseTag:L2(["href"],n),bodyAttributes:Zu("bodyAttributes",n),defer:Vi(n,_i.DEFER),encode:Vi(n,_i.ENCODE_SPECIAL_CHARACTERS),htmlAttributes:Zu("htmlAttributes",n),linkTags:Qs("link",["rel","href"],n),metaTags:Qs("meta",["name","charset","http-equiv","property","itemprop"],n),noscriptTags:Qs("noscript",["innerHTML"],n),onChangeClientState:U2(n),scriptTags:Qs("script",["src","innerHTML"],n),styleTags:Qs("style",["cssText"],n),title:V2(n),titleAttributes:Zu("titleAttributes",n),prioritizeSeoTags:H2(n,_i.PRIORITIZE_SEO_TAGS)}),Wg=n=>Array.isArray(n)?n.join(""):n,q2=(n,i)=>{const s=Object.keys(n);for(let o=0;o<s.length;o+=1)if(i[s[o]]&&i[s[o]].includes(n[s[o]]))return!0;return!1},Fu=(n,i)=>Array.isArray(n)?n.reduce((s,o)=>(q2(o,i)?s.priority.push(o):s.default.push(o),s),{priority:[],default:[]}):{default:n,priority:[]},J0=(n,i)=>({...n,[i]:void 0}),G2=["noscript","script","style"],md=(n,i=!0)=>i===!1?String(n):String(n).replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#x27;"),Ig=n=>Object.keys(n).reduce((i,s)=>{const o=typeof n[s]<"u"?`${s}="${n[s]}"`:`${s}`;return i?`${i} ${o}`:o},""),Y2=(n,i,s,o)=>{const u=Ig(s),f=Wg(i);return u?`<${n} ${Wt}="true" ${u}>${md(f,o)}</${n}>`:`<${n} ${Wt}="true">${md(f,o)}</${n}>`},X2=(n,i,s=!0)=>i.reduce((o,u)=>{const f=u,m=Object.keys(f).filter(y=>!(y==="innerHTML"||y==="cssText")).reduce((y,g)=>{const v=typeof f[g]>"u"?g:`${g}="${md(f[g],s)}"`;return y?`${y} ${v}`:v},""),h=f.innerHTML||f.cssText||"",p=G2.indexOf(n)===-1;return`${o}<${n} ${Wt}="true" ${m}${p?"/>":`>${h}</${n}>`}`},""),Jg=(n,i={})=>Object.keys(n).reduce((s,o)=>{const u=Qd[o];return s[u||o]=n[o],s},i),K2=(n,i,s)=>{const o={key:i,[Wt]:!0},u=Jg(s,o);return[ge.createElement("title",u,i)]},$o=(n,i)=>i.map((s,o)=>{const u={key:o,[Wt]:!0};return Object.keys(s).forEach(f=>{const h=Qd[f]||f;if(h==="innerHTML"||h==="cssText"){const p=s.innerHTML||s.cssText;u.dangerouslySetInnerHTML={__html:p}}else u[h]=s[f]}),ge.createElement(n,u)}),Xt=(n,i,s=!0)=>{switch(n){case"title":return{toComponent:()=>K2(n,i.title,i.titleAttributes),toString:()=>Y2(n,i.title,i.titleAttributes,s)};case"bodyAttributes":case"htmlAttributes":return{toComponent:()=>Jg(i),toString:()=>Ig(i)};default:return{toComponent:()=>$o(n,i),toString:()=>X2(n,i,s)}}},Q2=({metaTags:n,linkTags:i,scriptTags:s,encode:o})=>{const u=Fu(n,Qu.meta),f=Fu(i,Qu.link),m=Fu(s,Qu.script);return{priorityMethods:{toComponent:()=>[...$o("meta",u.priority),...$o("link",f.priority),...$o("script",m.priority)],toString:()=>`${Xt("meta",u.priority,o)} ${Xt("link",f.priority,o)} ${Xt("script",m.priority,o)}`},metaTags:u.default,linkTags:f.default,scriptTags:m.default}},Z2=n=>{const{baseTag:i,bodyAttributes:s,encode:o=!0,htmlAttributes:u,noscriptTags:f,styleTags:m,title:h="",titleAttributes:p,prioritizeSeoTags:y}=n;let{linkTags:g,metaTags:v,scriptTags:w}=n,S={toComponent:()=>{},toString:()=>""};return y&&({priorityMethods:S,linkTags:g,metaTags:v,scriptTags:w}=Q2(n)),{priority:S,base:Xt("base",i,o),bodyAttributes:Xt("bodyAttributes",s,o),htmlAttributes:Xt("htmlAttributes",u,o),link:Xt("link",g,o),meta:Xt("meta",v,o),noscript:Xt("noscript",f,o),script:Xt("script",w,o),style:Xt("style",m,o),title:Xt("title",{title:h,titleAttributes:p},o)}},hd=Z2,Ho=[],ex=!!(typeof window<"u"&&window.document&&window.document.createElement),pd=class{constructor(n,i){Dn(this,"instances",[]);Dn(this,"canUseDOM",ex);Dn(this,"context");Dn(this,"value",{setHelmet:n=>{this.context.helmet=n},helmetInstances:{get:()=>this.canUseDOM?Ho:this.instances,add:n=>{(this.canUseDOM?Ho:this.instances).push(n)},remove:n=>{const i=(this.canUseDOM?Ho:this.instances).indexOf(n);(this.canUseDOM?Ho:this.instances).splice(i,1)}}});this.context=n,this.canUseDOM=i||!1,i||(n.helmet=hd({baseTag:[],bodyAttributes:{},htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}}))}},F2={},tx=ge.createContext(F2),Ba,nx=(Ba=class extends j.Component{constructor(s){super(s);Dn(this,"helmetData");this.helmetData=new pd(this.props.context||{},Ba.canUseDOM)}render(){return ge.createElement(tx.Provider,{value:this.helmetData.value},this.props.children)}},Dn(Ba,"canUseDOM",ex),Ba),Ei=(n,i)=>{const s=document.head||document.querySelector("head"),o=s.querySelectorAll(`${n}[${Wt}]`),u=[].slice.call(o),f=[];let m;return i&&i.length&&i.forEach(h=>{const p=document.createElement(n);for(const y in h)if(Object.prototype.hasOwnProperty.call(h,y))if(y==="innerHTML")p.innerHTML=h.innerHTML;else if(y==="cssText")p.styleSheet?p.styleSheet.cssText=h.cssText:p.appendChild(document.createTextNode(h.cssText));else{const g=y,v=typeof h[g]>"u"?"":h[g];p.setAttribute(y,v)}p.setAttribute(Wt,"true"),u.some((y,g)=>(m=g,p.isEqualNode(y)))?u.splice(m,1):f.push(p)}),u.forEach(h=>{var p;return(p=h.parentNode)==null?void 0:p.removeChild(h)}),f.forEach(h=>s.appendChild(h)),{oldTags:u,newTags:f}},yd=(n,i)=>{const s=document.getElementsByTagName(n)[0];if(!s)return;const o=s.getAttribute(Wt),u=o?o.split(","):[],f=[...u],m=Object.keys(i);for(const h of m){const p=i[h]||"";s.getAttribute(h)!==p&&s.setAttribute(h,p),u.indexOf(h)===-1&&u.push(h);const y=f.indexOf(h);y!==-1&&f.splice(y,1)}for(let h=f.length-1;h>=0;h-=1)s.removeAttribute(f[h]);u.length===f.length?s.removeAttribute(Wt):s.getAttribute(Wt)!==m.join(",")&&s.setAttribute(Wt,m.join(","))},$2=(n,i)=>{typeof n<"u"&&document.title!==n&&(document.title=Wg(n)),yd("title",i)},ey=(n,i)=>{const{baseTag:s,bodyAttributes:o,htmlAttributes:u,linkTags:f,metaTags:m,noscriptTags:h,onChangeClientState:p,scriptTags:y,styleTags:g,title:v,titleAttributes:w}=n;yd("body",o),yd("html",u),$2(v,w);const S={baseTag:Ei("base",s),linkTags:Ei("link",f),metaTags:Ei("meta",m),noscriptTags:Ei("noscript",h),scriptTags:Ei("script",y),styleTags:Ei("style",g)},A={},M={};Object.keys(S).forEach(O=>{const{newTags:E,oldTags:z}=S[O];E.length&&(A[O]=E),z.length&&(M[O]=S[O].oldTags)}),i&&i(),p(n,A,M)},Zs=null,W2=n=>{Zs&&cancelAnimationFrame(Zs),n.defer?Zs=requestAnimationFrame(()=>{ey(n,()=>{Zs=null})}):(ey(n),Zs=null)},I2=W2,ty=class extends j.Component{constructor(){super(...arguments);Dn(this,"rendered",!1)}shouldComponentUpdate(i){return!z2(i,this.props)}componentDidUpdate(){this.emitChange()}componentWillUnmount(){const{helmetInstances:i}=this.props.context;i.remove(this),this.emitChange()}emitChange(){const{helmetInstances:i,setHelmet:s}=this.props.context;let o=null;const u=P2(i.get().map(f=>{const m={...f.props};return delete m.context,m}));nx.canUseDOM?I2(u):hd&&(o=hd(u)),s(o)}init(){if(this.rendered)return;this.rendered=!0;const{helmetInstances:i}=this.props.context;i.add(this),this.emitChange()}render(){return this.init(),null}},ud,ax=(ud=class extends j.Component{shouldComponentUpdate(n){return!M2(J0(this.props,"helmetData"),J0(n,"helmetData"))}mapNestedChildrenToProps(n,i){if(!i)return null;switch(n.type){case"script":case"noscript":return{innerHTML:i};case"style":return{cssText:i};default:throw new Error(`<${n.type} /> elements are self-closing and can not contain children. Refer to our API for more information.`)}}flattenArrayTypeChildren(n,i,s,o){return{...i,[n.type]:[...i[n.type]||[],{...s,...this.mapNestedChildrenToProps(n,o)}]}}mapObjectTypeChildren(n,i,s,o){switch(n.type){case"title":return{...i,[n.type]:o,titleAttributes:{...s}};case"body":return{...i,bodyAttributes:{...s}};case"html":return{...i,htmlAttributes:{...s}};default:return{...i,[n.type]:{...s}}}}mapArrayTypeChildrenToProps(n,i){let s={...i};return Object.keys(n).forEach(o=>{s={...s,[o]:n[o]}}),s}warnOnInvalidChildren(n,i){return $0(I0.some(s=>n.type===s),typeof n.type=="function"?"You may be attempting to nest <Helmet> components within each other, which is not allowed. Refer to our API for more information.":`Only elements types ${I0.join(", ")} are allowed. Helmet does not support rendering <${n.type}> elements. Refer to our API for more information.`),$0(!i||typeof i=="string"||Array.isArray(i)&&!i.some(s=>typeof s!="string"),`Helmet expects a string as a child of <${n.type}>. Did you forget to wrap your children in braces? ( <${n.type}>{\`\`}</${n.type}> ) Refer to our API for more information.`),!0}mapChildrenToProps(n,i){let s={};return ge.Children.forEach(n,o=>{if(!o||!o.props)return;const{children:u,...f}=o.props,m=Object.keys(f).reduce((p,y)=>(p[_2[y]||y]=f[y],p),{});let{type:h}=o;switch(typeof h=="symbol"?h=h.toString():this.warnOnInvalidChildren(o,u),h){case"Symbol(react.fragment)":i=this.mapChildrenToProps(u,i);break;case"link":case"meta":case"noscript":case"script":case"style":s=this.flattenArrayTypeChildren(o,s,m,u);break;default:i=this.mapObjectTypeChildren(o,i,m,u);break}}),this.mapArrayTypeChildrenToProps(s,i)}render(){const{children:n,...i}=this.props;let s={...i},{helmetData:o}=i;if(n&&(s=this.mapChildrenToProps(n,s)),o&&!(o instanceof pd)){const u=o;o=new pd(u.context,!0),delete s.helmetData}return o?ge.createElement(ty,{...s,context:o.value}):ge.createElement(tx.Consumer,null,u=>ge.createElement(ty,{...s,context:u}))}},Dn(ud,"defaultProps",{defer:!0,encodeSpecialCharacters:!0,prioritizeSeoTags:!1}),ud);const ix=j.createContext(),J2=({children:n})=>{const[i,s]=j.useState(new Set),o=h=>{s(p=>new Set([...p,h]))},u=h=>!i.has(h),f=h=>!i.has(h),m=h=>{j.useEffect(()=>{i.has(h)||o(h)},[h])};return r.jsx(ix.Provider,{value:{shouldAnimate:f,isFirstVisit:u,markPageVisited:o,useMarkPageVisited:m},children:n})},hn=()=>{const n=j.useContext(ix);if(!n)throw new Error("useAnimation must be used within an AnimationProvider");return n},Zd=j.createContext({});function Fd(n){const i=j.useRef(null);return i.current===null&&(i.current=n()),i.current}const $d=typeof window<"u",sx=$d?j.useLayoutEffect:j.useEffect,fr=j.createContext(null),Wd=j.createContext({transformPagePoint:n=>n,isStatic:!1,reducedMotion:"never"});class e4 extends j.Component{getSnapshotBeforeUpdate(i){const s=this.props.childRef.current;if(s&&i.isPresent&&!this.props.isPresent){const o=s.offsetParent,u=o instanceof HTMLElement&&o.offsetWidth||0,f=this.props.sizeRef.current;f.height=s.offsetHeight||0,f.width=s.offsetWidth||0,f.top=s.offsetTop,f.left=s.offsetLeft,f.right=u-f.width-f.left}return null}componentDidUpdate(){}render(){return this.props.children}}function t4({children:n,isPresent:i,anchorX:s}){const o=j.useId(),u=j.useRef(null),f=j.useRef({width:0,height:0,top:0,left:0,right:0}),{nonce:m}=j.useContext(Wd);return j.useInsertionEffect(()=>{const{width:h,height:p,top:y,left:g,right:v}=f.current;if(i||!u.current||!h||!p)return;const w=s==="left"?`left: ${g}`:`right: ${v}`;u.current.dataset.motionPopId=o;const S=document.createElement("style");return m&&(S.nonce=m),document.head.appendChild(S),S.sheet&&S.sheet.insertRule(`
          [data-motion-pop-id="${o}"] {
            position: absolute !important;
            width: ${h}px !important;
            height: ${p}px !important;
            ${w}px !important;
            top: ${y}px !important;
          }
        `),()=>{document.head.removeChild(S)}},[i]),r.jsx(e4,{isPresent:i,childRef:u,sizeRef:f,children:j.cloneElement(n,{ref:u})})}const n4=({children:n,initial:i,isPresent:s,onExitComplete:o,custom:u,presenceAffectsLayout:f,mode:m,anchorX:h})=>{const p=Fd(a4),y=j.useId();let g=!0,v=j.useMemo(()=>(g=!1,{id:y,initial:i,isPresent:s,custom:u,onExitComplete:w=>{p.set(w,!0);for(const S of p.values())if(!S)return;o&&o()},register:w=>(p.set(w,!1),()=>p.delete(w))}),[s,p,o]);return f&&g&&(v={...v}),j.useMemo(()=>{p.forEach((w,S)=>p.set(S,!1))},[s]),j.useEffect(()=>{!s&&!p.size&&o&&o()},[s]),m==="popLayout"&&(n=r.jsx(t4,{isPresent:s,anchorX:h,children:n})),r.jsx(fr.Provider,{value:v,children:n})};function a4(){return new Map}function lx(n=!0){const i=j.useContext(fr);if(i===null)return[!0,null];const{isPresent:s,onExitComplete:o,register:u}=i,f=j.useId();j.useEffect(()=>{if(n)return u(f)},[n]);const m=j.useCallback(()=>n&&o&&o(f),[f,o,n]);return!s&&o?[!1,m]:[!0]}const Po=n=>n.key||"";function ny(n){const i=[];return j.Children.forEach(n,s=>{j.isValidElement(s)&&i.push(s)}),i}const i4=({children:n,custom:i,initial:s=!0,onExitComplete:o,presenceAffectsLayout:u=!0,mode:f="sync",propagate:m=!1,anchorX:h="left"})=>{const[p,y]=lx(m),g=j.useMemo(()=>ny(n),[n]),v=m&&!p?[]:g.map(Po),w=j.useRef(!0),S=j.useRef(g),A=Fd(()=>new Map),[M,O]=j.useState(g),[E,z]=j.useState(g);sx(()=>{w.current=!1,S.current=g;for(let H=0;H<E.length;H++){const F=Po(E[H]);v.includes(F)?A.delete(F):A.get(F)!==!0&&A.set(F,!1)}},[E,v.length,v.join("-")]);const U=[];if(g!==M){let H=[...g];for(let F=0;F<E.length;F++){const ne=E[F],q=Po(ne);v.includes(q)||(H.splice(F,0,ne),U.push(ne))}return f==="wait"&&U.length&&(H=U),z(ny(H)),O(g),null}const{forceRender:Q}=j.useContext(Zd);return r.jsx(r.Fragment,{children:E.map(H=>{const F=Po(H),ne=m&&!p?!1:g===E||v.includes(F),q=()=>{if(A.has(F))A.set(F,!0);else return;let ie=!0;A.forEach(xe=>{xe||(ie=!1)}),ie&&(Q==null||Q(),z(S.current),m&&(y==null||y()),o&&o())};return r.jsx(n4,{isPresent:ne,initial:!w.current||s?void 0:!1,custom:i,presenceAffectsLayout:u,mode:f,onExitComplete:ne?void 0:q,anchorX:h,children:H},F)})})};function Id(n,i){n.indexOf(i)===-1&&n.push(i)}function Jd(n,i){const s=n.indexOf(i);s>-1&&n.splice(s,1)}const _n=(n,i,s)=>s>i?i:s<n?n:s;let ef=()=>{};const Vn={},ox=n=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(n),rx=n=>/^0[^.\s]+$/u.test(n);function tf(n){let i;return()=>(i===void 0&&(i=n()),i)}const Kt=n=>n,s4=(n,i)=>s=>i(n(s)),vl=(...n)=>n.reduce(s4),sl=(n,i,s)=>{const o=i-n;return o===0?1:(s-n)/o};class nf{constructor(){this.subscriptions=[]}add(i){return Id(this.subscriptions,i),()=>Jd(this.subscriptions,i)}notify(i,s,o){const u=this.subscriptions.length;if(u)if(u===1)this.subscriptions[0](i,s,o);else for(let f=0;f<u;f++){const m=this.subscriptions[f];m&&m(i,s,o)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const on=n=>n*1e3,rn=n=>n/1e3;function cx(n,i){return i?n*(1e3/i):0}const ux=(n,i,s)=>(((1-3*s+3*i)*n+(3*s-6*i))*n+3*i)*n,l4=1e-7,o4=12;function r4(n,i,s,o,u){let f,m,h=0;do m=i+(s-i)/2,f=ux(m,o,u)-n,f>0?s=m:i=m;while(Math.abs(f)>l4&&++h<o4);return m}function bl(n,i,s,o){if(n===i&&s===o)return Kt;const u=f=>r4(f,0,1,n,s);return f=>f===0||f===1?f:ux(u(f),i,o)}const dx=n=>i=>i<=.5?n(2*i)/2:(2-n(2*(1-i)))/2,fx=n=>i=>1-n(1-i),mx=bl(.33,1.53,.69,.99),af=fx(mx),hx=dx(af),px=n=>(n*=2)<1?.5*af(n):.5*(2-Math.pow(2,-10*(n-1))),sf=n=>1-Math.sin(Math.acos(n)),yx=fx(sf),gx=dx(sf),c4=bl(.42,0,1,1),u4=bl(0,0,.58,1),xx=bl(.42,0,.58,1),d4=n=>Array.isArray(n)&&typeof n[0]!="number",vx=n=>Array.isArray(n)&&typeof n[0]=="number",f4={linear:Kt,easeIn:c4,easeInOut:xx,easeOut:u4,circIn:sf,circInOut:gx,circOut:yx,backIn:af,backInOut:hx,backOut:mx,anticipate:px},m4=n=>typeof n=="string",ay=n=>{if(vx(n)){ef(n.length===4);const[i,s,o,u]=n;return bl(i,s,o,u)}else if(m4(n))return f4[n];return n},qo=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"],iy={value:null};function h4(n,i){let s=new Set,o=new Set,u=!1,f=!1;const m=new WeakSet;let h={delta:0,timestamp:0,isProcessing:!1},p=0;function y(v){m.has(v)&&(g.schedule(v),n()),p++,v(h)}const g={schedule:(v,w=!1,S=!1)=>{const M=S&&u?s:o;return w&&m.add(v),M.has(v)||M.add(v),v},cancel:v=>{o.delete(v),m.delete(v)},process:v=>{if(h=v,u){f=!0;return}u=!0,[s,o]=[o,s],s.forEach(y),i&&iy.value&&iy.value.frameloop[i].push(p),p=0,s.clear(),u=!1,f&&(f=!1,g.process(v))}};return g}const p4=40;function bx(n,i){let s=!1,o=!0;const u={delta:0,timestamp:0,isProcessing:!1},f=()=>s=!0,m=qo.reduce((U,Q)=>(U[Q]=h4(f,i?Q:void 0),U),{}),{setup:h,read:p,resolveKeyframes:y,preUpdate:g,update:v,preRender:w,render:S,postRender:A}=m,M=()=>{const U=Vn.useManualTiming?u.timestamp:performance.now();s=!1,Vn.useManualTiming||(u.delta=o?1e3/60:Math.max(Math.min(U-u.timestamp,p4),1)),u.timestamp=U,u.isProcessing=!0,h.process(u),p.process(u),y.process(u),g.process(u),v.process(u),w.process(u),S.process(u),A.process(u),u.isProcessing=!1,s&&i&&(o=!1,n(M))},O=()=>{s=!0,o=!0,u.isProcessing||n(M)};return{schedule:qo.reduce((U,Q)=>{const H=m[Q];return U[Q]=(F,ne=!1,q=!1)=>(s||O(),H.schedule(F,ne,q)),U},{}),cancel:U=>{for(let Q=0;Q<qo.length;Q++)m[qo[Q]].cancel(U)},state:u,steps:m}}const{schedule:ke,cancel:fa,state:lt,steps:$u}=bx(typeof requestAnimationFrame<"u"?requestAnimationFrame:Kt,!0);let Wo;function y4(){Wo=void 0}const bt={now:()=>(Wo===void 0&&bt.set(lt.isProcessing||Vn.useManualTiming?lt.timestamp:performance.now()),Wo),set:n=>{Wo=n,queueMicrotask(y4)}},wx=n=>i=>typeof i=="string"&&i.startsWith(n),lf=wx("--"),g4=wx("var(--"),of=n=>g4(n)?x4.test(n.split("/*")[0].trim()):!1,x4=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,qi={test:n=>typeof n=="number",parse:parseFloat,transform:n=>n},ll={...qi,transform:n=>_n(0,1,n)},Go={...qi,default:1},Js=n=>Math.round(n*1e5)/1e5,rf=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function v4(n){return n==null}const b4=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,cf=(n,i)=>s=>!!(typeof s=="string"&&b4.test(s)&&s.startsWith(n)||i&&!v4(s)&&Object.prototype.hasOwnProperty.call(s,i)),jx=(n,i,s)=>o=>{if(typeof o!="string")return o;const[u,f,m,h]=o.match(rf);return{[n]:parseFloat(u),[i]:parseFloat(f),[s]:parseFloat(m),alpha:h!==void 0?parseFloat(h):1}},w4=n=>_n(0,255,n),Wu={...qi,transform:n=>Math.round(w4(n))},Ua={test:cf("rgb","red"),parse:jx("red","green","blue"),transform:({red:n,green:i,blue:s,alpha:o=1})=>"rgba("+Wu.transform(n)+", "+Wu.transform(i)+", "+Wu.transform(s)+", "+Js(ll.transform(o))+")"};function j4(n){let i="",s="",o="",u="";return n.length>5?(i=n.substring(1,3),s=n.substring(3,5),o=n.substring(5,7),u=n.substring(7,9)):(i=n.substring(1,2),s=n.substring(2,3),o=n.substring(3,4),u=n.substring(4,5),i+=i,s+=s,o+=o,u+=u),{red:parseInt(i,16),green:parseInt(s,16),blue:parseInt(o,16),alpha:u?parseInt(u,16)/255:1}}const gd={test:cf("#"),parse:j4,transform:Ua.transform},wl=n=>({test:i=>typeof i=="string"&&i.endsWith(n)&&i.split(" ").length===1,parse:parseFloat,transform:i=>`${i}${n}`}),da=wl("deg"),cn=wl("%"),oe=wl("px"),S4=wl("vh"),T4=wl("vw"),sy={...cn,parse:n=>cn.parse(n)/100,transform:n=>cn.transform(n*100)},Ri={test:cf("hsl","hue"),parse:jx("hue","saturation","lightness"),transform:({hue:n,saturation:i,lightness:s,alpha:o=1})=>"hsla("+Math.round(n)+", "+cn.transform(Js(i))+", "+cn.transform(Js(s))+", "+Js(ll.transform(o))+")"},ut={test:n=>Ua.test(n)||gd.test(n)||Ri.test(n),parse:n=>Ua.test(n)?Ua.parse(n):Ri.test(n)?Ri.parse(n):gd.parse(n),transform:n=>typeof n=="string"?n:n.hasOwnProperty("red")?Ua.transform(n):Ri.transform(n)},A4=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function N4(n){var i,s;return isNaN(n)&&typeof n=="string"&&(((i=n.match(rf))==null?void 0:i.length)||0)+(((s=n.match(A4))==null?void 0:s.length)||0)>0}const Sx="number",Tx="color",C4="var",E4="var(",ly="${}",M4=/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 ol(n){const i=n.toString(),s=[],o={color:[],number:[],var:[]},u=[];let f=0;const h=i.replace(M4,p=>(ut.test(p)?(o.color.push(f),u.push(Tx),s.push(ut.parse(p))):p.startsWith(E4)?(o.var.push(f),u.push(C4),s.push(p)):(o.number.push(f),u.push(Sx),s.push(parseFloat(p))),++f,ly)).split(ly);return{values:s,split:h,indexes:o,types:u}}function Ax(n){return ol(n).values}function Nx(n){const{split:i,types:s}=ol(n),o=i.length;return u=>{let f="";for(let m=0;m<o;m++)if(f+=i[m],u[m]!==void 0){const h=s[m];h===Sx?f+=Js(u[m]):h===Tx?f+=ut.transform(u[m]):f+=u[m]}return f}}const R4=n=>typeof n=="number"?0:n;function D4(n){const i=Ax(n);return Nx(n)(i.map(R4))}const ma={test:N4,parse:Ax,createTransformer:Nx,getAnimatableNone:D4};function Iu(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 O4({hue:n,saturation:i,lightness:s,alpha:o}){n/=360,i/=100,s/=100;let u=0,f=0,m=0;if(!i)u=f=m=s;else{const h=s<.5?s*(1+i):s+i-s*i,p=2*s-h;u=Iu(p,h,n+1/3),f=Iu(p,h,n),m=Iu(p,h,n-1/3)}return{red:Math.round(u*255),green:Math.round(f*255),blue:Math.round(m*255),alpha:o}}function tr(n,i){return s=>s>0?i:n}const Le=(n,i,s)=>n+(i-n)*s,Ju=(n,i,s)=>{const o=n*n,u=s*(i*i-o)+o;return u<0?0:Math.sqrt(u)},k4=[gd,Ua,Ri],z4=n=>k4.find(i=>i.test(n));function oy(n){const i=z4(n);if(!i)return!1;let s=i.parse(n);return i===Ri&&(s=O4(s)),s}const ry=(n,i)=>{const s=oy(n),o=oy(i);if(!s||!o)return tr(n,i);const u={...s};return f=>(u.red=Ju(s.red,o.red,f),u.green=Ju(s.green,o.green,f),u.blue=Ju(s.blue,o.blue,f),u.alpha=Le(s.alpha,o.alpha,f),Ua.transform(u))},xd=new Set(["none","hidden"]);function _4(n,i){return xd.has(n)?s=>s<=0?n:i:s=>s>=1?i:n}function V4(n,i){return s=>Le(n,i,s)}function uf(n){return typeof n=="number"?V4:typeof n=="string"?of(n)?tr:ut.test(n)?ry:B4:Array.isArray(n)?Cx:typeof n=="object"?ut.test(n)?ry:U4:tr}function Cx(n,i){const s=[...n],o=s.length,u=n.map((f,m)=>uf(f)(f,i[m]));return f=>{for(let m=0;m<o;m++)s[m]=u[m](f);return s}}function U4(n,i){const s={...n,...i},o={};for(const u in s)n[u]!==void 0&&i[u]!==void 0&&(o[u]=uf(n[u])(n[u],i[u]));return u=>{for(const f in o)s[f]=o[f](u);return s}}function L4(n,i){const s=[],o={color:0,var:0,number:0};for(let u=0;u<i.values.length;u++){const f=i.types[u],m=n.indexes[f][o[f]],h=n.values[m]??0;s[u]=h,o[f]++}return s}const B4=(n,i)=>{const s=ma.createTransformer(i),o=ol(n),u=ol(i);return o.indexes.var.length===u.indexes.var.length&&o.indexes.color.length===u.indexes.color.length&&o.indexes.number.length>=u.indexes.number.length?xd.has(n)&&!u.values.length||xd.has(i)&&!o.values.length?_4(n,i):vl(Cx(L4(o,u),u.values),s):tr(n,i)};function Ex(n,i,s){return typeof n=="number"&&typeof i=="number"&&typeof s=="number"?Le(n,i,s):uf(n)(n,i)}const H4=n=>{const i=({timestamp:s})=>n(s);return{start:()=>ke.update(i,!0),stop:()=>fa(i),now:()=>lt.isProcessing?lt.timestamp:bt.now()}},Mx=(n,i,s=10)=>{let o="";const u=Math.max(Math.round(i/s),2);for(let f=0;f<u;f++)o+=n(f/(u-1))+", ";return`linear(${o.substring(0,o.length-2)})`},nr=2e4;function df(n){let i=0;const s=50;let o=n.next(i);for(;!o.done&&i<nr;)i+=s,o=n.next(i);return i>=nr?1/0:i}function P4(n,i=100,s){const o=s({...n,keyframes:[0,i]}),u=Math.min(df(o),nr);return{type:"keyframes",ease:f=>o.next(u*f).value/i,duration:rn(u)}}const q4=5;function Rx(n,i,s){const o=Math.max(i-q4,0);return cx(s-n(o),i-o)}const Ge={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},cy=.001;function G4({duration:n=Ge.duration,bounce:i=Ge.bounce,velocity:s=Ge.velocity,mass:o=Ge.mass}){let u,f,m=1-i;m=_n(Ge.minDamping,Ge.maxDamping,m),n=_n(Ge.minDuration,Ge.maxDuration,rn(n)),m<1?(u=y=>{const g=y*m,v=g*n,w=g-s,S=vd(y,m),A=Math.exp(-v);return cy-w/S*A},f=y=>{const v=y*m*n,w=v*s+s,S=Math.pow(m,2)*Math.pow(y,2)*n,A=Math.exp(-v),M=vd(Math.pow(y,2),m);return(-u(y)+cy>0?-1:1)*((w-S)*A)/M}):(u=y=>{const g=Math.exp(-y*n),v=(y-s)*n+1;return-.001+g*v},f=y=>{const g=Math.exp(-y*n),v=(s-y)*(n*n);return g*v});const h=5/n,p=X4(u,f,h);if(n=on(n),isNaN(p))return{stiffness:Ge.stiffness,damping:Ge.damping,duration:n};{const y=Math.pow(p,2)*o;return{stiffness:y,damping:m*2*Math.sqrt(o*y),duration:n}}}const Y4=12;function X4(n,i,s){let o=s;for(let u=1;u<Y4;u++)o=o-n(o)/i(o);return o}function vd(n,i){return n*Math.sqrt(1-i*i)}const K4=["duration","bounce"],Q4=["stiffness","damping","mass"];function uy(n,i){return i.some(s=>n[s]!==void 0)}function Z4(n){let i={velocity:Ge.velocity,stiffness:Ge.stiffness,damping:Ge.damping,mass:Ge.mass,isResolvedFromDuration:!1,...n};if(!uy(n,Q4)&&uy(n,K4))if(n.visualDuration){const s=n.visualDuration,o=2*Math.PI/(s*1.2),u=o*o,f=2*_n(.05,1,1-(n.bounce||0))*Math.sqrt(u);i={...i,mass:Ge.mass,stiffness:u,damping:f}}else{const s=G4(n);i={...i,...s,mass:Ge.mass},i.isResolvedFromDuration=!0}return i}function ar(n=Ge.visualDuration,i=Ge.bounce){const s=typeof n!="object"?{visualDuration:n,keyframes:[0,1],bounce:i}:n;let{restSpeed:o,restDelta:u}=s;const f=s.keyframes[0],m=s.keyframes[s.keyframes.length-1],h={done:!1,value:f},{stiffness:p,damping:y,mass:g,duration:v,velocity:w,isResolvedFromDuration:S}=Z4({...s,velocity:-rn(s.velocity||0)}),A=w||0,M=y/(2*Math.sqrt(p*g)),O=m-f,E=rn(Math.sqrt(p/g)),z=Math.abs(O)<5;o||(o=z?Ge.restSpeed.granular:Ge.restSpeed.default),u||(u=z?Ge.restDelta.granular:Ge.restDelta.default);let U;if(M<1){const H=vd(E,M);U=F=>{const ne=Math.exp(-M*E*F);return m-ne*((A+M*E*O)/H*Math.sin(H*F)+O*Math.cos(H*F))}}else if(M===1)U=H=>m-Math.exp(-E*H)*(O+(A+E*O)*H);else{const H=E*Math.sqrt(M*M-1);U=F=>{const ne=Math.exp(-M*E*F),q=Math.min(H*F,300);return m-ne*((A+M*E*O)*Math.sinh(q)+H*O*Math.cosh(q))/H}}const Q={calculatedDuration:S&&v||null,next:H=>{const F=U(H);if(S)h.done=H>=v;else{let ne=H===0?A:0;M<1&&(ne=H===0?on(A):Rx(U,H,F));const q=Math.abs(ne)<=o,ie=Math.abs(m-F)<=u;h.done=q&&ie}return h.value=h.done?m:F,h},toString:()=>{const H=Math.min(df(Q),nr),F=Mx(ne=>Q.next(H*ne).value,H,30);return H+"ms "+F},toTransition:()=>{}};return Q}ar.applyToOptions=n=>{const i=P4(n,100,ar);return n.ease=i.ease,n.duration=on(i.duration),n.type="keyframes",n};function bd({keyframes:n,velocity:i=0,power:s=.8,timeConstant:o=325,bounceDamping:u=10,bounceStiffness:f=500,modifyTarget:m,min:h,max:p,restDelta:y=.5,restSpeed:g}){const v=n[0],w={done:!1,value:v},S=q=>h!==void 0&&q<h||p!==void 0&&q>p,A=q=>h===void 0?p:p===void 0||Math.abs(h-q)<Math.abs(p-q)?h:p;let M=s*i;const O=v+M,E=m===void 0?O:m(O);E!==O&&(M=E-v);const z=q=>-M*Math.exp(-q/o),U=q=>E+z(q),Q=q=>{const ie=z(q),xe=U(q);w.done=Math.abs(ie)<=y,w.value=w.done?E:xe};let H,F;const ne=q=>{S(w.value)&&(H=q,F=ar({keyframes:[w.value,A(w.value)],velocity:Rx(U,q,w.value),damping:u,stiffness:f,restDelta:y,restSpeed:g}))};return ne(0),{calculatedDuration:null,next:q=>{let ie=!1;return!F&&H===void 0&&(ie=!0,Q(q),ne(q)),H!==void 0&&q>=H?F.next(q-H):(!ie&&Q(q),w)}}}function F4(n,i,s){const o=[],u=s||Vn.mix||Ex,f=n.length-1;for(let m=0;m<f;m++){let h=u(n[m],n[m+1]);if(i){const p=Array.isArray(i)?i[m]||Kt:i;h=vl(p,h)}o.push(h)}return o}function $4(n,i,{clamp:s=!0,ease:o,mixer:u}={}){const f=n.length;if(ef(f===i.length),f===1)return()=>i[0];if(f===2&&i[0]===i[1])return()=>i[1];const m=n[0]===n[1];n[0]>n[f-1]&&(n=[...n].reverse(),i=[...i].reverse());const h=F4(i,o,u),p=h.length,y=g=>{if(m&&g<n[0])return i[0];let v=0;if(p>1)for(;v<n.length-2&&!(g<n[v+1]);v++);const w=sl(n[v],n[v+1],g);return h[v](w)};return s?g=>y(_n(n[0],n[f-1],g)):y}function W4(n,i){const s=n[n.length-1];for(let o=1;o<=i;o++){const u=sl(0,i,o);n.push(Le(s,1,u))}}function I4(n){const i=[0];return W4(i,n.length-1),i}function J4(n,i){return n.map(s=>s*i)}function eS(n,i){return n.map(()=>i||xx).splice(0,n.length-1)}function el({duration:n=300,keyframes:i,times:s,ease:o="easeInOut"}){const u=d4(o)?o.map(ay):ay(o),f={done:!1,value:i[0]},m=J4(s&&s.length===i.length?s:I4(i),n),h=$4(m,i,{ease:Array.isArray(u)?u:eS(i,u)});return{calculatedDuration:n,next:p=>(f.value=h(p),f.done=p>=n,f)}}const tS=n=>n!==null;function ff(n,{repeat:i,repeatType:s="loop"},o,u=1){const f=n.filter(tS),h=u<0||i&&s!=="loop"&&i%2===1?0:f.length-1;return!h||o===void 0?f[h]:o}const nS={decay:bd,inertia:bd,tween:el,keyframes:el,spring:ar};function Dx(n){typeof n.type=="string"&&(n.type=nS[n.type])}class mf{constructor(){this.count=0,this.updateFinished()}get finished(){return this._finished}updateFinished(){this.count++,this._finished=new Promise(i=>{this.resolve=i})}notifyFinished(){this.resolve()}then(i,s){return this.finished.then(i,s)}}const aS=n=>n/100;class Ox extends mf{constructor(i){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.stop=()=>{const{motionValue:s}=this.options;if(s&&s.updatedAt!==bt.now()&&this.tick(bt.now()),this.isStopped=!0,this.state==="idle")return;this.teardown();const{onStop:o}=this.options;o&&o()},this.options=i,this.initAnimation(),this.play(),i.autoplay===!1&&this.pause()}initAnimation(){const{options:i}=this;Dx(i);const{type:s=el,repeat:o=0,repeatDelay:u=0,repeatType:f,velocity:m=0}=i;let{keyframes:h}=i;const p=s||el;p!==el&&typeof h[0]!="number"&&(this.mixKeyframes=vl(aS,Ex(h[0],h[1])),h=[0,100]);const y=p({...i,keyframes:h});f==="mirror"&&(this.mirroredGenerator=p({...i,keyframes:[...h].reverse(),velocity:-m})),y.calculatedDuration===null&&(y.calculatedDuration=df(y));const{calculatedDuration:g}=y;this.calculatedDuration=g,this.resolvedDuration=g+u,this.totalDuration=this.resolvedDuration*(o+1)-u,this.generator=y}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:o,totalDuration:u,mixKeyframes:f,mirroredGenerator:m,resolvedDuration:h,calculatedDuration:p}=this;if(this.startTime===null)return o.next(0);const{delay:y=0,keyframes:g,repeat:v,repeatType:w,repeatDelay:S,type:A,onUpdate:M,finalKeyframe:O}=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 E=this.currentTime-y*(this.playbackSpeed>=0?1:-1),z=this.playbackSpeed>=0?E<0:E>u;this.currentTime=Math.max(E,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=u);let U=this.currentTime,Q=o;if(v){const q=Math.min(this.currentTime,u)/h;let ie=Math.floor(q),xe=q%1;!xe&&q>=1&&(xe=1),xe===1&&ie--,ie=Math.min(ie,v+1),!!(ie%2)&&(w==="reverse"?(xe=1-xe,S&&(xe-=S/h)):w==="mirror"&&(Q=m)),U=_n(0,1,xe)*h}const H=z?{done:!1,value:g[0]}:Q.next(U);f&&(H.value=f(H.value));let{done:F}=H;!z&&p!==null&&(F=this.playbackSpeed>=0?this.currentTime>=u:this.currentTime<=0);const ne=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&F);return ne&&A!==bd&&(H.value=ff(g,this.options,O,this.speed)),M&&M(H.value),ne&&this.finish(),H}then(i,s){return this.finished.then(i,s)}get duration(){return rn(this.calculatedDuration)}get time(){return rn(this.currentTime)}set time(i){i=on(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)}get speed(){return this.playbackSpeed}set speed(i){this.updateTime(bt.now());const s=this.playbackSpeed!==i;this.playbackSpeed=i,s&&(this.time=rn(this.currentTime))}play(){if(this.isStopped)return;const{driver:i=H4,onPlay:s,startTime:o}=this.options;this.driver||(this.driver=i(f=>this.tick(f))),s&&s();const u=this.driver.now();this.holdTime!==null?this.startTime=u-this.holdTime:this.state==="finished"?(this.updateFinished(),this.startTime=u):this.startTime||(this.startTime=o??u),this.state==="finished"&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(bt.now()),this.holdTime=this.currentTime}complete(){this.state!=="running"&&this.play(),this.state="finished",this.holdTime=null}finish(){this.notifyFinished(),this.teardown(),this.state="finished";const{onComplete:i}=this.options;i&&i()}cancel(){this.holdTime=null,this.startTime=0,this.tick(0),this.teardown()}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(i){return this.startTime=0,this.tick(i,!0)}attachTimeline(i){return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),i.observe(this)}}function iS(n){for(let i=1;i<n.length;i++)n[i]??(n[i]=n[i-1])}const La=n=>n*180/Math.PI,wd=n=>{const i=La(Math.atan2(n[1],n[0]));return jd(i)},sS={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:n=>(Math.abs(n[0])+Math.abs(n[3]))/2,rotate:wd,rotateZ:wd,skewX:n=>La(Math.atan(n[1])),skewY:n=>La(Math.atan(n[2])),skew:n=>(Math.abs(n[1])+Math.abs(n[2]))/2},jd=n=>(n=n%360,n<0&&(n+=360),n),dy=wd,fy=n=>Math.sqrt(n[0]*n[0]+n[1]*n[1]),my=n=>Math.sqrt(n[4]*n[4]+n[5]*n[5]),lS={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:fy,scaleY:my,scale:n=>(fy(n)+my(n))/2,rotateX:n=>jd(La(Math.atan2(n[6],n[5]))),rotateY:n=>jd(La(Math.atan2(-n[2],n[0]))),rotateZ:dy,rotate:dy,skewX:n=>La(Math.atan(n[4])),skewY:n=>La(Math.atan(n[1])),skew:n=>(Math.abs(n[1])+Math.abs(n[4]))/2};function hy(n){return n.includes("scale")?1:0}function Sd(n,i){if(!n||n==="none")return hy(i);const s=n.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let o,u;if(s)o=lS,u=s;else{const h=n.match(/^matrix\(([-\d.e\s,]+)\)$/u);o=sS,u=h}if(!u)return hy(i);const f=o[i],m=u[1].split(",").map(rS);return typeof f=="function"?f(m):m[f]}const oS=(n,i)=>{const{transform:s="none"}=getComputedStyle(n);return Sd(s,i)};function rS(n){return parseFloat(n.trim())}const Gi=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],qa=new Set(Gi),py=n=>n===qi||n===oe,cS=new Set(["x","y","z"]),uS=Gi.filter(n=>!cS.has(n));function dS(n){const i=[];return uS.forEach(s=>{const o=n.getValue(s);o!==void 0&&(i.push([s,o.get()]),o.set(s.startsWith("scale")?1:0))}),i}const Ui={width:({x:n},{paddingLeft:i="0",paddingRight:s="0"})=>n.max-n.min-parseFloat(i)-parseFloat(s),height:({y:n},{paddingTop:i="0",paddingBottom:s="0"})=>n.max-n.min-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})=>Sd(i,"x"),y:(n,{transform:i})=>Sd(i,"y")};Ui.translateX=Ui.x;Ui.translateY=Ui.y;const Ha=new Set;let Td=!1,Ad=!1,Nd=!1;function kx(){if(Ad){const n=Array.from(Ha).filter(o=>o.needsMeasurement),i=new Set(n.map(o=>o.element)),s=new Map;i.forEach(o=>{const u=dS(o);u.length&&(s.set(o,u),o.render())}),n.forEach(o=>o.measureInitialState()),i.forEach(o=>{o.render();const u=s.get(o);u&&u.forEach(([f,m])=>{var h;(h=o.getValue(f))==null||h.set(m)})}),n.forEach(o=>o.measureEndState()),n.forEach(o=>{o.suspendedScrollY!==void 0&&window.scrollTo(0,o.suspendedScrollY)})}Ad=!1,Td=!1,Ha.forEach(n=>n.complete(Nd)),Ha.clear()}function zx(){Ha.forEach(n=>{n.readKeyframes(),n.needsMeasurement&&(Ad=!0)})}function fS(){Nd=!0,zx(),kx(),Nd=!1}class hf{constructor(i,s,o,u,f,m=!1){this.isComplete=!1,this.isAsync=!1,this.needsMeasurement=!1,this.isScheduled=!1,this.unresolvedKeyframes=[...i],this.onComplete=s,this.name=o,this.motionValue=u,this.element=f,this.isAsync=m}scheduleResolve(){this.isScheduled=!0,this.isAsync?(Ha.add(this),Td||(Td=!0,ke.read(zx),ke.resolveKeyframes(kx))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:i,name:s,element:o,motionValue:u}=this;if(i[0]===null){const f=u==null?void 0:u.get(),m=i[i.length-1];if(f!==void 0)i[0]=f;else if(o&&s){const h=o.readValue(s,m);h!=null&&(i[0]=h)}i[0]===void 0&&(i[0]=m),u&&f===void 0&&u.set(i[0])}iS(i)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(i=!1){this.isComplete=!0,this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,i),Ha.delete(this)}cancel(){this.isComplete||(this.isScheduled=!1,Ha.delete(this))}resume(){this.isComplete||this.scheduleResolve()}}const mS=n=>n.startsWith("--");function hS(n,i,s){mS(i)?n.style.setProperty(i,s):n.style[i]=s}const pS=tf(()=>window.ScrollTimeline!==void 0),yS={};function gS(n,i){const s=tf(n);return()=>yS[i]??s()}const _x=gS(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),Ws=([n,i,s,o])=>`cubic-bezier(${n}, ${i}, ${s}, ${o})`,yy={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:Ws([0,.65,.55,1]),circOut:Ws([.55,0,1,.45]),backIn:Ws([.31,.01,.66,-.59]),backOut:Ws([.33,1.53,.69,.99])};function Vx(n,i){if(n)return typeof n=="function"?_x()?Mx(n,i):"ease-out":vx(n)?Ws(n):Array.isArray(n)?n.map(s=>Vx(s,i)||yy.easeOut):yy[n]}function xS(n,i,s,{delay:o=0,duration:u=300,repeat:f=0,repeatType:m="loop",ease:h="easeOut",times:p}={},y=void 0){const g={[i]:s};p&&(g.offset=p);const v=Vx(h,u);Array.isArray(v)&&(g.easing=v);const w={delay:o,duration:u,easing:Array.isArray(v)?"linear":v,fill:"both",iterations:f+1,direction:m==="reverse"?"alternate":"normal"};return y&&(w.pseudoElement=y),n.animate(g,w)}function Ux(n){return typeof n=="function"&&"applyToOptions"in n}function vS({type:n,...i}){return Ux(n)&&_x()?n.applyToOptions(i):(i.duration??(i.duration=300),i.ease??(i.ease="easeOut"),i)}class bS extends mf{constructor(i){if(super(),this.finishedTime=null,this.isStopped=!1,!i)return;const{element:s,name:o,keyframes:u,pseudoElement:f,allowFlatten:m=!1,finalKeyframe:h}=i;this.isPseudoElement=!!f,this.allowFlatten=m,this.options=i,ef(typeof i.type!="string");const p=vS(i);this.animation=xS(s,o,u,p,f),p.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!f){const y=ff(u,this.options,h,this.speed);this.updateMotionValue?this.updateMotionValue(y):hS(s,o,y),this.animation.cancel()}this.notifyFinished()}}play(){this.isStopped||(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 i,s;this.isPseudoElement||(s=(i=this.animation).commitStyles)==null||s.call(i)}get duration(){var s,o;const i=((o=(s=this.animation.effect)==null?void 0:s.getComputedTiming)==null?void 0:o.call(s).duration)||0;return rn(Number(i))}get time(){return rn(Number(this.animation.currentTime)||0)}set time(i){this.finishedTime=null,this.animation.currentTime=on(i)}get speed(){return this.animation.playbackRate}set speed(i){i<0&&(this.finishedTime=null),this.animation.playbackRate=i}get state(){return this.finishedTime!==null?"finished":this.animation.playState}get startTime(){return Number(this.animation.startTime)}set startTime(i){this.animation.startTime=i}attachTimeline({timeline:i,observe:s}){var o;return this.allowFlatten&&((o=this.animation.effect)==null||o.updateTiming({easing:"linear"})),this.animation.onfinish=null,i&&pS()?(this.animation.timeline=i,Kt):s(this)}}const Lx={anticipate:px,backInOut:hx,circInOut:gx};function wS(n){return n in Lx}function jS(n){typeof n.ease=="string"&&wS(n.ease)&&(n.ease=Lx[n.ease])}const gy=10;class SS extends bS{constructor(i){jS(i),Dx(i),super(i),i.startTime&&(this.startTime=i.startTime),this.options=i}updateMotionValue(i){const{motionValue:s,onUpdate:o,onComplete:u,element:f,...m}=this.options;if(!s)return;if(i!==void 0){s.set(i);return}const h=new Ox({...m,autoplay:!1}),p=on(this.finishedTime??this.time);s.setWithVelocity(h.sample(p-gy).value,h.sample(p).value,gy),h.stop()}}const xy=(n,i)=>i==="zIndex"?!1:!!(typeof n=="number"||Array.isArray(n)||typeof n=="string"&&(ma.test(n)||n==="0")&&!n.startsWith("url("));function TS(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 AS(n,i,s,o){const u=n[0];if(u===null)return!1;if(i==="display"||i==="visibility")return!0;const f=n[n.length-1],m=xy(u,i),h=xy(f,i);return!m||!h?!1:TS(n)||(s==="spring"||Ux(s))&&o}const NS=new Set(["opacity","clipPath","filter","transform"]),CS=tf(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function ES(n){const{motionValue:i,name:s,repeatDelay:o,repeatType:u,damping:f,type:m}=n;if(!i||!i.owner||!(i.owner.current instanceof HTMLElement))return!1;const{onUpdate:h,transformTemplate:p}=i.owner.getProps();return CS()&&s&&NS.has(s)&&(s!=="transform"||!p)&&!h&&!o&&u!=="mirror"&&f!==0&&m!=="inertia"}const MS=40;class RS extends mf{constructor({autoplay:i=!0,delay:s=0,type:o="keyframes",repeat:u=0,repeatDelay:f=0,repeatType:m="loop",keyframes:h,name:p,motionValue:y,element:g,...v}){var A;super(),this.stop=()=>{var M,O;this._animation?(this._animation.stop(),(M=this.stopTimeline)==null||M.call(this)):(O=this.keyframeResolver)==null||O.cancel()},this.createdAt=bt.now();const w={autoplay:i,delay:s,type:o,repeat:u,repeatDelay:f,repeatType:m,name:p,motionValue:y,element:g,...v},S=(g==null?void 0:g.KeyframeResolver)||hf;this.keyframeResolver=new S(h,(M,O,E)=>this.onKeyframesResolved(M,O,w,!E),p,y,g),(A=this.keyframeResolver)==null||A.scheduleResolve()}onKeyframesResolved(i,s,o,u){this.keyframeResolver=void 0;const{name:f,type:m,velocity:h,delay:p,isHandoff:y,onUpdate:g,onComplete:v}=o;this.resolvedAt=bt.now(),AS(i,f,m,h)||((Vn.instantAnimations||!p)&&(g==null||g(ff(i,o,s))),i[0]=i[i.length-1],o.duration=0,o.repeat=0);const S={startTime:u?this.resolvedAt?this.resolvedAt-this.createdAt>MS?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:s,...o,keyframes:i},A=!y&&ES(S)?new SS({...S,element:S.motionValue.owner.current}):new Ox(S);A.finished.then(()=>{v==null||v(),this.notifyFinished()}).catch(Kt),this.pendingTimeline&&(this.stopTimeline=A.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=A}get finished(){return this._animation?this.animation.finished:this._finished}then(i,s){return this.finished.finally(i).then(()=>{})}get animation(){return this._animation||fS(),this._animation}get duration(){return this.animation.duration}get time(){return this.animation.time}set time(i){this.animation.time=i}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(i){this.animation.speed=i}get startTime(){return this.animation.startTime}attachTimeline(i){return this._animation?this.stopTimeline=this.animation.attachTimeline(i):this.pendingTimeline=i,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this.animation.cancel()}}const DS=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function OS(n){const i=DS.exec(n);if(!i)return[,];const[,s,o,u]=i;return[`--${s??o}`,u]}function Bx(n,i,s=1){const[o,u]=OS(n);if(!o)return;const f=window.getComputedStyle(i).getPropertyValue(o);if(f){const m=f.trim();return ox(m)?parseFloat(m):m}return of(u)?Bx(u,i,s+1):u}function pf(n,i){return(n==null?void 0:n[i])??(n==null?void 0:n.default)??n}const Hx=new Set(["width","height","top","left","right","bottom",...Gi]),kS={test:n=>n==="auto",parse:n=>n},Px=n=>i=>i.test(n),qx=[qi,oe,cn,da,T4,S4,kS],vy=n=>qx.find(Px(n));function zS(n){return typeof n=="number"?n===0:n!==null?n==="none"||n==="0"||rx(n):!0}const _S=new Set(["brightness","contrast","saturate","opacity"]);function VS(n){const[i,s]=n.slice(0,-1).split("(");if(i==="drop-shadow")return n;const[o]=s.match(rf)||[];if(!o)return n;const u=s.replace(o,"");let f=_S.has(i)?1:0;return o!==s&&(f*=100),i+"("+f+u+")"}const US=/\b([a-z-]*)\(.*?\)/gu,Cd={...ma,getAnimatableNone:n=>{const i=n.match(US);return i?i.map(VS).join(" "):n}},by={...qi,transform:Math.round},LS={rotate:da,rotateX:da,rotateY:da,rotateZ:da,scale:Go,scaleX:Go,scaleY:Go,scaleZ:Go,skew:da,skewX:da,skewY:da,distance:oe,translateX:oe,translateY:oe,translateZ:oe,x:oe,y:oe,z:oe,perspective:oe,transformPerspective:oe,opacity:ll,originX:sy,originY:sy,originZ:oe},yf={borderWidth:oe,borderTopWidth:oe,borderRightWidth:oe,borderBottomWidth:oe,borderLeftWidth:oe,borderRadius:oe,radius:oe,borderTopLeftRadius:oe,borderTopRightRadius:oe,borderBottomRightRadius:oe,borderBottomLeftRadius:oe,width:oe,maxWidth:oe,height:oe,maxHeight:oe,top:oe,right:oe,bottom:oe,left:oe,padding:oe,paddingTop:oe,paddingRight:oe,paddingBottom:oe,paddingLeft:oe,margin:oe,marginTop:oe,marginRight:oe,marginBottom:oe,marginLeft:oe,backgroundPositionX:oe,backgroundPositionY:oe,...LS,zIndex:by,fillOpacity:ll,strokeOpacity:ll,numOctaves:by},BS={...yf,color:ut,backgroundColor:ut,outlineColor:ut,fill:ut,stroke:ut,borderColor:ut,borderTopColor:ut,borderRightColor:ut,borderBottomColor:ut,borderLeftColor:ut,filter:Cd,WebkitFilter:Cd},Gx=n=>BS[n];function Yx(n,i){let s=Gx(n);return s!==Cd&&(s=ma),s.getAnimatableNone?s.getAnimatableNone(i):void 0}const HS=new Set(["auto","none","0"]);function PS(n,i,s){let o=0,u;for(;o<n.length&&!u;){const f=n[o];typeof f=="string"&&!HS.has(f)&&ol(f).values.length&&(u=n[o]),o++}if(u&&s)for(const f of i)n[f]=Yx(s,u)}class qS extends hf{constructor(i,s,o,u,f){super(i,s,o,u,f,!0)}readKeyframes(){const{unresolvedKeyframes:i,element:s,name:o}=this;if(!s||!s.current)return;super.readKeyframes();for(let p=0;p<i.length;p++){let y=i[p];if(typeof y=="string"&&(y=y.trim(),of(y))){const g=Bx(y,s.current);g!==void 0&&(i[p]=g),p===i.length-1&&(this.finalKeyframe=y)}}if(this.resolveNoneKeyframes(),!Hx.has(o)||i.length!==2)return;const[u,f]=i,m=vy(u),h=vy(f);if(m!==h)if(py(m)&&py(h))for(let p=0;p<i.length;p++){const y=i[p];typeof y=="string"&&(i[p]=parseFloat(y))}else this.needsMeasurement=!0}resolveNoneKeyframes(){const{unresolvedKeyframes:i,name:s}=this,o=[];for(let u=0;u<i.length;u++)(i[u]===null||zS(i[u]))&&o.push(u);o.length&&PS(i,o,s)}measureInitialState(){const{element:i,unresolvedKeyframes:s,name:o}=this;if(!i||!i.current)return;o==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=Ui[o](i.measureViewportBox(),window.getComputedStyle(i.current)),s[0]=this.measuredOrigin;const u=s[s.length-1];u!==void 0&&i.getValue(o,u).jump(u,!1)}measureEndState(){var h;const{element:i,name:s,unresolvedKeyframes:o}=this;if(!i||!i.current)return;const u=i.getValue(s);u&&u.jump(this.measuredOrigin,!1);const f=o.length-1,m=o[f];o[f]=Ui[s](i.measureViewportBox(),window.getComputedStyle(i.current)),m!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=m),(h=this.removedTransforms)!=null&&h.length&&this.removedTransforms.forEach(([p,y])=>{i.getValue(p).set(y)}),this.resolveNoneKeyframes()}}const{schedule:gf}=bx(queueMicrotask,!1),$t={x:!1,y:!1};function Xx(){return $t.x||$t.y}function GS(n){return n==="x"||n==="y"?$t[n]?null:($t[n]=!0,()=>{$t[n]=!1}):$t.x||$t.y?null:($t.x=$t.y=!0,()=>{$t.x=$t.y=!1})}function YS(n,i,s){if(n instanceof EventTarget)return[n];if(typeof n=="string"){let o=document;const u=(s==null?void 0:s[n])??o.querySelectorAll(n);return u?Array.from(u):[]}return Array.from(n)}function Kx(n,i){const s=YS(n),o=new AbortController,u={passive:!0,...i,signal:o.signal};return[s,u,()=>o.abort()]}function wy(n){return!(n.pointerType==="touch"||Xx())}function XS(n,i,s={}){const[o,u,f]=Kx(n,s),m=h=>{if(!wy(h))return;const{target:p}=h,y=i(p,h);if(typeof y!="function"||!p)return;const g=v=>{wy(v)&&(y(v),p.removeEventListener("pointerleave",g))};p.addEventListener("pointerleave",g,u)};return o.forEach(h=>{h.addEventListener("pointerenter",m,u)}),f}const Qx=(n,i)=>i?n===i?!0:Qx(n,i.parentElement):!1,xf=n=>n.pointerType==="mouse"?typeof n.button!="number"||n.button<=0:n.isPrimary!==!1,KS=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function QS(n){return KS.has(n.tagName)||n.tabIndex!==-1}const Is=new WeakSet;function jy(n){return i=>{i.key==="Enter"&&n(i)}}function ed(n,i){n.dispatchEvent(new PointerEvent("pointer"+i,{isPrimary:!0,bubbles:!0}))}const ZS=(n,i)=>{const s=n.currentTarget;if(!s)return;const o=jy(()=>{if(Is.has(s))return;ed(s,"down");const u=jy(()=>{ed(s,"up")}),f=()=>ed(s,"cancel");s.addEventListener("keyup",u,i),s.addEventListener("blur",f,i)});s.addEventListener("keydown",o,i),s.addEventListener("blur",()=>s.removeEventListener("keydown",o),i)};function Sy(n){return xf(n)&&!Xx()}function FS(n,i,s={}){const[o,u,f]=Kx(n,s),m=h=>{const p=h.currentTarget;if(!Sy(h)||Is.has(p))return;Is.add(p);const y=i(p,h),g=(S,A)=>{window.removeEventListener("pointerup",v),window.removeEventListener("pointercancel",w),!(!Sy(S)||!Is.has(p))&&(Is.delete(p),typeof y=="function"&&y(S,{success:A}))},v=S=>{g(S,p===window||p===document||s.useGlobalTarget||Qx(p,S.target))},w=S=>{g(S,!1)};window.addEventListener("pointerup",v,u),window.addEventListener("pointercancel",w,u)};return o.forEach(h=>{(s.useGlobalTarget?window:h).addEventListener("pointerdown",m,u),h instanceof HTMLElement&&(h.addEventListener("focus",y=>ZS(y,u)),!QS(h)&&!h.hasAttribute("tabindex")&&(h.tabIndex=0))}),f}const Ty=30,$S=n=>!isNaN(parseFloat(n));class WS{constructor(i,s={}){this.version="12.8.0",this.canTrackVelocity=null,this.events={},this.updateAndNotify=(o,u=!0)=>{const f=bt.now();this.updatedAt!==f&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(o),this.current!==this.prev&&this.events.change&&this.events.change.notify(this.current),u&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.hasAnimated=!1,this.setCurrent(i),this.owner=s.owner}setCurrent(i){this.current=i,this.updatedAt=bt.now(),this.canTrackVelocity===null&&i!==void 0&&(this.canTrackVelocity=$S(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 nf);const o=this.events[i].add(s);return i==="change"?()=>{o(),ke.read(()=>{this.events.change.getSize()||this.stop()})}:o}clearListeners(){for(const i in this.events)this.events[i].clear()}attach(i,s){this.passiveEffect=i,this.stopPassiveEffect=s}set(i,s=!0){i==="none"&&console.trace(),!s||!this.passiveEffect?this.updateAndNotify(i,s):this.passiveEffect(i,this.updateAndNotify)}setWithVelocity(i,s,o){this.set(s),this.prev=void 0,this.prevFrameValue=i,this.prevUpdatedAt=this.updatedAt-o}jump(i,s=!0){this.updateAndNotify(i),this.prev=i,this.prevUpdatedAt=this.prevFrameValue=void 0,s&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const i=bt.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||i-this.updatedAt>Ty)return 0;const s=Math.min(this.updatedAt-this.prevUpdatedAt,Ty);return cx(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;(i=this.events.destroy)==null||i.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function rl(n,i){return new WS(n,i)}const IS=[...qx,ut,ma],JS=n=>IS.find(Px(n)),Zx=(n,i)=>i&&typeof n=="number"?i.transform(n):n,Fx=j.createContext({strict:!1}),Ay={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"]},Li={};for(const n in Ay)Li[n]={isEnabled:i=>Ay[n].some(s=>!!i[s])};function e3(n){for(const i in n)Li[i]={...Li[i],...n[i]}}const t3=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function ir(n){return n.startsWith("while")||n.startsWith("drag")&&n!=="draggable"||n.startsWith("layout")||n.startsWith("onTap")||n.startsWith("onPan")||n.startsWith("onLayout")||t3.has(n)}let $x=n=>!ir(n);function n3(n){n&&($x=i=>i.startsWith("on")?!ir(i):n(i))}try{n3(require("@emotion/is-prop-valid").default)}catch{}function a3(n,i,s){const o={};for(const u in n)u==="values"&&typeof n.values=="object"||($x(u)||s===!0&&ir(u)||!i&&!ir(u)||n.draggable&&u.startsWith("onDrag"))&&(o[u]=n[u]);return o}function i3(n){if(typeof Proxy>"u")return n;const i=new Map,s=(...o)=>n(...o);return new Proxy(s,{get:(o,u)=>u==="create"?n:(i.has(u)||i.set(u,n(u)),i.get(u))})}const mr=j.createContext({});function hr(n){return n!==null&&typeof n=="object"&&typeof n.start=="function"}function cl(n){return typeof n=="string"||Array.isArray(n)}const vf=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],bf=["initial",...vf];function pr(n){return hr(n.animate)||bf.some(i=>cl(n[i]))}function Wx(n){return!!(pr(n)||n.variants)}function s3(n,i){if(pr(n)){const{initial:s,animate:o}=n;return{initial:s===!1||cl(s)?s:void 0,animate:cl(o)?o:void 0}}return n.inherit!==!1?i:{}}function l3(n){const{initial:i,animate:s}=s3(n,j.useContext(mr));return j.useMemo(()=>({initial:i,animate:s}),[Ny(i),Ny(s)])}function Ny(n){return Array.isArray(n)?n.join(" "):n}const o3=Symbol.for("motionComponentSymbol");function Di(n){return n&&typeof n=="object"&&Object.prototype.hasOwnProperty.call(n,"current")}function r3(n,i,s){return j.useCallback(o=>{o&&n.onMount&&n.onMount(o),i&&(o?i.mount(o):i.unmount()),s&&(typeof s=="function"?s(o):Di(s)&&(s.current=o))},[i])}const wf=n=>n.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),c3="framerAppearId",Ix="data-"+wf(c3),Jx=j.createContext({});function u3(n,i,s,o,u){var M,O;const{visualElement:f}=j.useContext(mr),m=j.useContext(Fx),h=j.useContext(fr),p=j.useContext(Wd).reducedMotion,y=j.useRef(null);o=o||m.renderer,!y.current&&o&&(y.current=o(n,{visualState:i,parent:f,props:s,presenceContext:h,blockInitialAnimation:h?h.initial===!1:!1,reducedMotionConfig:p}));const g=y.current,v=j.useContext(Jx);g&&!g.projection&&u&&(g.type==="html"||g.type==="svg")&&d3(y.current,s,u,v);const w=j.useRef(!1);j.useInsertionEffect(()=>{g&&w.current&&g.update(s,h)});const S=s[Ix],A=j.useRef(!!S&&!((M=window.MotionHandoffIsComplete)!=null&&M.call(window,S))&&((O=window.MotionHasOptimisedAnimation)==null?void 0:O.call(window,S)));return sx(()=>{g&&(w.current=!0,window.MotionIsMounted=!0,g.updateFeatures(),gf.render(g.render),A.current&&g.animationState&&g.animationState.animateChanges())}),j.useEffect(()=>{g&&(!A.current&&g.animationState&&g.animationState.animateChanges(),A.current&&(queueMicrotask(()=>{var E;(E=window.MotionHandoffMarkAsComplete)==null||E.call(window,S)}),A.current=!1))}),g}function d3(n,i,s,o){const{layoutId:u,layout:f,drag:m,dragConstraints:h,layoutScroll:p,layoutRoot:y,layoutCrossfade:g}=i;n.projection=new s(n.latestValues,i["data-framer-portal-id"]?void 0:ev(n.parent)),n.projection.setOptions({layoutId:u,layout:f,alwaysMeasureLayout:!!m||h&&Di(h),visualElement:n,animationType:typeof f=="string"?f:"both",initialPromotionConfig:o,crossfade:g,layoutScroll:p,layoutRoot:y})}function ev(n){if(n)return n.options.allowProjection!==!1?n.projection:ev(n.parent)}function f3({preloadedFeatures:n,createVisualElement:i,useRender:s,useVisualState:o,Component:u}){n&&e3(n);function f(h,p){let y;const g={...j.useContext(Wd),...h,layoutId:m3(h)},{isStatic:v}=g,w=l3(h),S=o(h,v);if(!v&&$d){h3();const A=p3(g);y=A.MeasureLayout,w.visualElement=u3(u,S,g,i,A.ProjectionNode)}return r.jsxs(mr.Provider,{value:w,children:[y&&w.visualElement?r.jsx(y,{visualElement:w.visualElement,...g}):null,s(u,h,r3(S,w.visualElement,p),S,v,w.visualElement)]})}f.displayName=`motion.${typeof u=="string"?u:`create(${u.displayName??u.name??""})`}`;const m=j.forwardRef(f);return m[o3]=u,m}function m3({layoutId:n}){const i=j.useContext(Zd).id;return i&&n!==void 0?i+"-"+n:n}function h3(n,i){j.useContext(Fx).strict}function p3(n){const{drag:i,layout:s}=Li;if(!i&&!s)return{};const o={...i,...s};return{MeasureLayout:i!=null&&i.isEnabled(n)||s!=null&&s.isEnabled(n)?o.MeasureLayout:void 0,ProjectionNode:o.ProjectionNode}}const ul={};function y3(n){for(const i in n)ul[i]=n[i],lf(i)&&(ul[i].isCSSVariable=!0)}function tv(n,{layout:i,layoutId:s}){return qa.has(n)||n.startsWith("origin")||(i||s!==void 0)&&(!!ul[n]||n==="opacity")}const dt=n=>!!(n&&n.getVelocity),g3={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},x3=Gi.length;function v3(n,i,s){let o="",u=!0;for(let f=0;f<x3;f++){const m=Gi[f],h=n[m];if(h===void 0)continue;let p=!0;if(typeof h=="number"?p=h===(m.startsWith("scale")?1:0):p=parseFloat(h)===0,!p||s){const y=Zx(h,yf[m]);if(!p){u=!1;const g=g3[m]||m;o+=`${g}(${y}) `}s&&(i[m]=y)}}return o=o.trim(),s?o=s(i,u?"":o):u&&(o="none"),o}function jf(n,i,s){const{style:o,vars:u,transformOrigin:f}=n;let m=!1,h=!1;for(const p in i){const y=i[p];if(qa.has(p)){m=!0;continue}else if(lf(p)){u[p]=y;continue}else{const g=Zx(y,yf[p]);p.startsWith("origin")?(h=!0,f[p]=g):o[p]=g}}if(i.transform||(m||s?o.transform=v3(i,n.transform,s):o.transform&&(o.transform="none")),h){const{originX:p="50%",originY:y="50%",originZ:g=0}=f;o.transformOrigin=`${p} ${y} ${g}`}}const Sf=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function nv(n,i,s){for(const o in i)!dt(i[o])&&!tv(o,s)&&(n[o]=i[o])}function b3({transformTemplate:n},i){return j.useMemo(()=>{const s=Sf();return jf(s,i,n),Object.assign({},s.vars,s.style)},[i])}function w3(n,i){const s=n.style||{},o={};return nv(o,s,n),Object.assign(o,b3(n,i)),o}function j3(n,i){const s={},o=w3(n,i);return n.drag&&n.dragListener!==!1&&(s.draggable=!1,o.userSelect=o.WebkitUserSelect=o.WebkitTouchCallout="none",o.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=o,s}const S3=["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 Tf(n){return typeof n!="string"||n.includes("-")?!1:!!(S3.indexOf(n)>-1||/[A-Z]/u.test(n))}const T3={offset:"stroke-dashoffset",array:"stroke-dasharray"},A3={offset:"strokeDashoffset",array:"strokeDasharray"};function N3(n,i,s=1,o=0,u=!0){n.pathLength=1;const f=u?T3:A3;n[f.offset]=oe.transform(-o);const m=oe.transform(i),h=oe.transform(s);n[f.array]=`${m} ${h}`}function Cy(n,i,s){return typeof n=="string"?n:oe.transform(i+s*n)}function C3(n,i,s){const o=Cy(i,n.x,n.width),u=Cy(s,n.y,n.height);return`${o} ${u}`}function Af(n,{attrX:i,attrY:s,attrScale:o,originX:u,originY:f,pathLength:m,pathSpacing:h=1,pathOffset:p=0,...y},g,v){if(jf(n,y,v),g){n.style.viewBox&&(n.attrs.viewBox=n.style.viewBox);return}n.attrs=n.style,n.style={};const{attrs:w,style:S,dimensions:A}=n;w.transform&&(A&&(S.transform=w.transform),delete w.transform),A&&(u!==void 0||f!==void 0||S.transform)&&(S.transformOrigin=C3(A,u!==void 0?u:.5,f!==void 0?f:.5)),i!==void 0&&(w.x=i),s!==void 0&&(w.y=s),o!==void 0&&(w.scale=o),m!==void 0&&N3(w,m,h,p,!1)}const av=()=>({...Sf(),attrs:{}}),Nf=n=>typeof n=="string"&&n.toLowerCase()==="svg";function E3(n,i,s,o){const u=j.useMemo(()=>{const f=av();return Af(f,i,Nf(o),n.transformTemplate),{...f.attrs,style:{...f.style}}},[i]);if(n.style){const f={};nv(f,n.style,n),u.style={...f,...u.style}}return u}function M3(n=!1){return(s,o,u,{latestValues:f},m)=>{const p=(Tf(s)?E3:j3)(o,f,m,s),y=a3(o,typeof s=="string",n),g=s!==j.Fragment?{...y,...p,ref:u}:{},{children:v}=o,w=j.useMemo(()=>dt(v)?v.get():v,[v]);return j.createElement(s,{...g,children:w})}}function Ey(n){const i=[{},{}];return n==null||n.values.forEach((s,o)=>{i[0][o]=s.get(),i[1][o]=s.getVelocity()}),i}function Cf(n,i,s,o){if(typeof i=="function"){const[u,f]=Ey(o);i=i(s!==void 0?s:n.custom,u,f)}if(typeof i=="string"&&(i=n.variants&&n.variants[i]),typeof i=="function"){const[u,f]=Ey(o);i=i(s!==void 0?s:n.custom,u,f)}return i}function Io(n){return dt(n)?n.get():n}function R3({scrapeMotionValuesFromProps:n,createRenderState:i,onUpdate:s},o,u,f){const m={latestValues:D3(o,u,f,n),renderState:i()};return s&&(m.onMount=h=>s({props:o,current:h,...m}),m.onUpdate=h=>s(h)),m}const iv=n=>(i,s)=>{const o=j.useContext(mr),u=j.useContext(fr),f=()=>R3(n,i,o,u);return s?f():Fd(f)};function D3(n,i,s,o){const u={},f=o(n,{});for(const w in f)u[w]=Io(f[w]);let{initial:m,animate:h}=n;const p=pr(n),y=Wx(n);i&&y&&!p&&n.inherit!==!1&&(m===void 0&&(m=i.initial),h===void 0&&(h=i.animate));let g=s?s.initial===!1:!1;g=g||m===!1;const v=g?h:m;if(v&&typeof v!="boolean"&&!hr(v)){const w=Array.isArray(v)?v:[v];for(let S=0;S<w.length;S++){const A=Cf(n,w[S]);if(A){const{transitionEnd:M,transition:O,...E}=A;for(const z in E){let U=E[z];if(Array.isArray(U)){const Q=g?U.length-1:0;U=U[Q]}U!==null&&(u[z]=U)}for(const z in M)u[z]=M[z]}}}return u}function Ef(n,i,s){var f;const{style:o}=n,u={};for(const m in o)(dt(o[m])||i.style&&dt(i.style[m])||tv(m,n)||((f=s==null?void 0:s.getValue(m))==null?void 0:f.liveStyle)!==void 0)&&(u[m]=o[m]);return u}const O3={useVisualState:iv({scrapeMotionValuesFromProps:Ef,createRenderState:Sf})};function sv(n,i){try{i.dimensions=typeof n.getBBox=="function"?n.getBBox():n.getBoundingClientRect()}catch{i.dimensions={x:0,y:0,width:0,height:0}}}function lv(n,{style:i,vars:s},o,u){Object.assign(n.style,i,u&&u.getProjectionStyles(o));for(const f in s)n.style.setProperty(f,s[f])}const ov=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);function rv(n,i,s,o){lv(n,i,void 0,o);for(const u in i.attrs)n.setAttribute(ov.has(u)?u:wf(u),i.attrs[u])}function cv(n,i,s){const o=Ef(n,i,s);for(const u in n)if(dt(n[u])||dt(i[u])){const f=Gi.indexOf(u)!==-1?"attr"+u.charAt(0).toUpperCase()+u.substring(1):u;o[f]=n[u]}return o}const My=["x","y","width","height","cx","cy","r"],k3={useVisualState:iv({scrapeMotionValuesFromProps:cv,createRenderState:av,onUpdate:({props:n,prevProps:i,current:s,renderState:o,latestValues:u})=>{if(!s)return;let f=!!n.drag;if(!f){for(const h in u)if(qa.has(h)){f=!0;break}}if(!f)return;let m=!i;if(i)for(let h=0;h<My.length;h++){const p=My[h];n[p]!==i[p]&&(m=!0)}m&&ke.read(()=>{sv(s,o),ke.render(()=>{Af(o,u,Nf(s.tagName),n.transformTemplate),rv(s,o)})})}})};function z3(n,i){return function(o,{forwardMotionProps:u}={forwardMotionProps:!1}){const m={...Tf(o)?k3:O3,preloadedFeatures:n,useRender:M3(u),createVisualElement:i,Component:o};return f3(m)}}function dl(n,i,s){const o=n.getProps();return Cf(o,i,s!==void 0?s:o.custom,n)}const Ed=n=>Array.isArray(n);function _3(n,i,s){n.hasValue(i)?n.getValue(i).set(s):n.addValue(i,rl(s))}function V3(n){return Ed(n)?n[n.length-1]||0:n}function U3(n,i){const s=dl(n,i);let{transitionEnd:o={},transition:u={},...f}=s||{};f={...f,...o};for(const m in f){const h=V3(f[m]);_3(n,m,h)}}function L3(n){return!!(dt(n)&&n.add)}function Md(n,i){const s=n.getValue("willChange");if(L3(s))return s.add(i);if(!s&&Vn.WillChange){const o=new Vn.WillChange("auto");n.addValue("willChange",o),o.add(i)}}function uv(n){return n.props[Ix]}const B3=n=>n!==null;function H3(n,{repeat:i,repeatType:s="loop"},o){const u=n.filter(B3),f=i&&s!=="loop"&&i%2===1?0:u.length-1;return u[f]}const P3={type:"spring",stiffness:500,damping:25,restSpeed:10},q3=n=>({type:"spring",stiffness:550,damping:n===0?2*Math.sqrt(550):30,restSpeed:10}),G3={type:"keyframes",duration:.8},Y3={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},X3=(n,{keyframes:i})=>i.length>2?G3:qa.has(n)?n.startsWith("scale")?q3(i[1]):P3:Y3;function K3({when:n,delay:i,delayChildren:s,staggerChildren:o,staggerDirection:u,repeat:f,repeatType:m,repeatDelay:h,from:p,elapsed:y,...g}){return!!Object.keys(g).length}const Mf=(n,i,s,o={},u,f)=>m=>{const h=pf(o,n)||{},p=h.delay||o.delay||0;let{elapsed:y=0}=o;y=y-on(p);const g={keyframes:Array.isArray(s)?s:[null,s],ease:"easeOut",velocity:i.getVelocity(),...h,delay:-y,onUpdate:w=>{i.set(w),h.onUpdate&&h.onUpdate(w)},onComplete:()=>{m(),h.onComplete&&h.onComplete()},name:n,motionValue:i,element:f?void 0:u};K3(h)||Object.assign(g,X3(n,g)),g.duration&&(g.duration=on(g.duration)),g.repeatDelay&&(g.repeatDelay=on(g.repeatDelay)),g.from!==void 0&&(g.keyframes[0]=g.from);let v=!1;if((g.type===!1||g.duration===0&&!g.repeatDelay)&&(g.duration=0,g.delay===0&&(v=!0)),(Vn.instantAnimations||Vn.skipAnimations)&&(v=!0,g.duration=0,g.delay=0),g.allowFlatten=!h.type&&!h.ease,v&&!f&&i.get()!==void 0){const w=H3(g.keyframes,h);if(w!==void 0){ke.update(()=>{g.onUpdate(w),g.onComplete()});return}}return new RS(g)};function Q3({protectedKeys:n,needsAnimating:i},s){const o=n.hasOwnProperty(s)&&i[s]!==!0;return i[s]=!1,o}function dv(n,i,{delay:s=0,transitionOverride:o,type:u}={}){let{transition:f=n.getDefaultTransition(),transitionEnd:m,...h}=i;o&&(f=o);const p=[],y=u&&n.animationState&&n.animationState.getState()[u];for(const g in h){const v=n.getValue(g,n.latestValues[g]??null),w=h[g];if(w===void 0||y&&Q3(y,g))continue;const S={delay:s,...pf(f||{},g)};let A=!1;if(window.MotionHandoffAnimation){const O=uv(n);if(O){const E=window.MotionHandoffAnimation(O,g,ke);E!==null&&(S.startTime=E,A=!0)}}Md(n,g),v.start(Mf(g,v,w,n.shouldReduceMotion&&Hx.has(g)?{type:!1}:S,n,A));const M=v.animation;M&&p.push(M)}return m&&Promise.all(p).then(()=>{ke.update(()=>{m&&U3(n,m)})}),p}function Rd(n,i,s={}){var p;const o=dl(n,i,s.type==="exit"?(p=n.presenceContext)==null?void 0:p.custom:void 0);let{transition:u=n.getDefaultTransition()||{}}=o||{};s.transitionOverride&&(u=s.transitionOverride);const f=o?()=>Promise.all(dv(n,o,s)):()=>Promise.resolve(),m=n.variantChildren&&n.variantChildren.size?(y=0)=>{const{delayChildren:g=0,staggerChildren:v,staggerDirection:w}=u;return Z3(n,i,g+y,v,w,s)}:()=>Promise.resolve(),{when:h}=u;if(h){const[y,g]=h==="beforeChildren"?[f,m]:[m,f];return y().then(()=>g())}else return Promise.all([f(),m(s.delay)])}function Z3(n,i,s=0,o=0,u=1,f){const m=[],h=(n.variantChildren.size-1)*o,p=u===1?(y=0)=>y*o:(y=0)=>h-y*o;return Array.from(n.variantChildren).sort(F3).forEach((y,g)=>{y.notify("AnimationStart",i),m.push(Rd(y,i,{...f,delay:s+p(g)}).then(()=>y.notify("AnimationComplete",i)))}),Promise.all(m)}function F3(n,i){return n.sortNodePosition(i)}function $3(n,i,s={}){n.notify("AnimationStart",i);let o;if(Array.isArray(i)){const u=i.map(f=>Rd(n,f,s));o=Promise.all(u)}else if(typeof i=="string")o=Rd(n,i,s);else{const u=typeof i=="function"?dl(n,i,s.custom):i;o=Promise.all(dv(n,u,s))}return o.then(()=>{n.notify("AnimationComplete",i)})}function fv(n,i){if(!Array.isArray(i))return!1;const s=i.length;if(s!==n.length)return!1;for(let o=0;o<s;o++)if(i[o]!==n[o])return!1;return!0}const W3=bf.length;function mv(n){if(!n)return;if(!n.isControllingVariants){const s=n.parent?mv(n.parent)||{}:{};return n.props.initial!==void 0&&(s.initial=n.props.initial),s}const i={};for(let s=0;s<W3;s++){const o=bf[s],u=n.props[o];(cl(u)||u===!1)&&(i[o]=u)}return i}const I3=[...vf].reverse(),J3=vf.length;function eT(n){return i=>Promise.all(i.map(({animation:s,options:o})=>$3(n,s,o)))}function tT(n){let i=eT(n),s=Ry(),o=!0;const u=p=>(y,g)=>{var w;const v=dl(n,g,p==="exit"?(w=n.presenceContext)==null?void 0:w.custom:void 0);if(v){const{transition:S,transitionEnd:A,...M}=v;y={...y,...M,...A}}return y};function f(p){i=p(n)}function m(p){const{props:y}=n,g=mv(n.parent)||{},v=[],w=new Set;let S={},A=1/0;for(let O=0;O<J3;O++){const E=I3[O],z=s[E],U=y[E]!==void 0?y[E]:g[E],Q=cl(U),H=E===p?z.isActive:null;H===!1&&(A=O);let F=U===g[E]&&U!==y[E]&&Q;if(F&&o&&n.manuallyAnimateOnMount&&(F=!1),z.protectedKeys={...S},!z.isActive&&H===null||!U&&!z.prevProp||hr(U)||typeof U=="boolean")continue;const ne=nT(z.prevProp,U);let q=ne||E===p&&z.isActive&&!F&&Q||O>A&&Q,ie=!1;const xe=Array.isArray(U)?U:[U];let He=xe.reduce(u(E),{});H===!1&&(He={});const{prevResolvedValues:ze={}}=z,Ot={...ze,...He},ht=K=>{q=!0,w.has(K)&&(ie=!0,w.delete(K)),z.needsAnimating[K]=!0;const Y=n.getValue(K);Y&&(Y.liveStyle=!1)};for(const K in Ot){const Y=He[K],ve=ze[K];if(S.hasOwnProperty(K))continue;let N=!1;Ed(Y)&&Ed(ve)?N=!fv(Y,ve):N=Y!==ve,N?Y!=null?ht(K):w.add(K):Y!==void 0&&w.has(K)?ht(K):z.protectedKeys[K]=!0}z.prevProp=U,z.prevResolvedValues=He,z.isActive&&(S={...S,...He}),o&&n.blockInitialAnimation&&(q=!1),q&&(!(F&&ne)||ie)&&v.push(...xe.map(K=>({animation:K,options:{type:E}})))}if(w.size){const O={};if(typeof y.initial!="boolean"){const E=dl(n,Array.isArray(y.initial)?y.initial[0]:y.initial);E&&E.transition&&(O.transition=E.transition)}w.forEach(E=>{const z=n.getBaseTarget(E),U=n.getValue(E);U&&(U.liveStyle=!0),O[E]=z??null}),v.push({animation:O})}let M=!!v.length;return o&&(y.initial===!1||y.initial===y.animate)&&!n.manuallyAnimateOnMount&&(M=!1),o=!1,M?i(v):Promise.resolve()}function h(p,y){var v;if(s[p].isActive===y)return Promise.resolve();(v=n.variantChildren)==null||v.forEach(w=>{var S;return(S=w.animationState)==null?void 0:S.setActive(p,y)}),s[p].isActive=y;const g=m(p);for(const w in s)s[w].protectedKeys={};return g}return{animateChanges:m,setActive:h,setAnimateFunction:f,getState:()=>s,reset:()=>{s=Ry(),o=!0}}}function nT(n,i){return typeof i=="string"?i!==n:Array.isArray(i)?!fv(i,n):!1}function za(n=!1){return{isActive:n,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function Ry(){return{animate:za(!0),whileInView:za(),whileHover:za(),whileTap:za(),whileDrag:za(),whileFocus:za(),exit:za()}}class ha{constructor(i){this.isMounted=!1,this.node=i}update(){}}class aT extends ha{constructor(i){super(i),i.animationState||(i.animationState=tT(i))}updateAnimationControlsSubscription(){const{animate:i}=this.node.getProps();hr(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 iT=0;class sT extends ha{constructor(){super(...arguments),this.id=iT++}update(){if(!this.node.presenceContext)return;const{isPresent:i,onExitComplete:s}=this.node.presenceContext,{isPresent:o}=this.node.prevPresenceContext||{};if(!this.node.animationState||i===o)return;const u=this.node.animationState.setActive("exit",!i);s&&!i&&u.then(()=>{s(this.id)})}mount(){const{register:i,onExitComplete:s}=this.node.presenceContext||{};s&&s(this.id),i&&(this.unmount=i(this.id))}unmount(){}}const lT={animation:{Feature:aT},exit:{Feature:sT}};function fl(n,i,s,o={passive:!0}){return n.addEventListener(i,s,o),()=>n.removeEventListener(i,s)}function jl(n){return{point:{x:n.pageX,y:n.pageY}}}const oT=n=>i=>xf(i)&&n(i,jl(i));function tl(n,i,s,o){return fl(n,i,oT(s),o)}function hv({top:n,left:i,right:s,bottom:o}){return{x:{min:i,max:s},y:{min:n,max:o}}}function rT({x:n,y:i}){return{top:i.min,right:n.max,bottom:i.max,left:n.min}}function cT(n,i){if(!i)return n;const s=i({x:n.left,y:n.top}),o=i({x:n.right,y:n.bottom});return{top:s.y,left:s.x,bottom:o.y,right:o.x}}const pv=1e-4,uT=1-pv,dT=1+pv,yv=.01,fT=0-yv,mT=0+yv;function mt(n){return n.max-n.min}function hT(n,i,s){return Math.abs(n-i)<=s}function Dy(n,i,s,o=.5){n.origin=o,n.originPoint=Le(i.min,i.max,n.origin),n.scale=mt(s)/mt(i),n.translate=Le(s.min,s.max,n.origin)-n.originPoint,(n.scale>=uT&&n.scale<=dT||isNaN(n.scale))&&(n.scale=1),(n.translate>=fT&&n.translate<=mT||isNaN(n.translate))&&(n.translate=0)}function nl(n,i,s,o){Dy(n.x,i.x,s.x,o?o.originX:void 0),Dy(n.y,i.y,s.y,o?o.originY:void 0)}function Oy(n,i,s){n.min=s.min+i.min,n.max=n.min+mt(i)}function pT(n,i,s){Oy(n.x,i.x,s.x),Oy(n.y,i.y,s.y)}function ky(n,i,s){n.min=i.min-s.min,n.max=n.min+mt(i)}function al(n,i,s){ky(n.x,i.x,s.x),ky(n.y,i.y,s.y)}const zy=()=>({translate:0,scale:1,origin:0,originPoint:0}),Oi=()=>({x:zy(),y:zy()}),_y=()=>({min:0,max:0}),Ke=()=>({x:_y(),y:_y()});function Yt(n){return[n("x"),n("y")]}function td(n){return n===void 0||n===1}function Dd({scale:n,scaleX:i,scaleY:s}){return!td(n)||!td(i)||!td(s)}function Va(n){return Dd(n)||gv(n)||n.z||n.rotate||n.rotateX||n.rotateY||n.skewX||n.skewY}function gv(n){return Vy(n.x)||Vy(n.y)}function Vy(n){return n&&n!=="0%"}function sr(n,i,s){const o=n-s,u=i*o;return s+u}function Uy(n,i,s,o,u){return u!==void 0&&(n=sr(n,u,o)),sr(n,s,o)+i}function Od(n,i=0,s=1,o,u){n.min=Uy(n.min,i,s,o,u),n.max=Uy(n.max,i,s,o,u)}function xv(n,{x:i,y:s}){Od(n.x,i.translate,i.scale,i.originPoint),Od(n.y,s.translate,s.scale,s.originPoint)}const Ly=.999999999999,By=1.0000000000001;function yT(n,i,s,o=!1){const u=s.length;if(!u)return;i.x=i.y=1;let f,m;for(let h=0;h<u;h++){f=s[h],m=f.projectionDelta;const{visualElement:p}=f.options;p&&p.props.style&&p.props.style.display==="contents"||(o&&f.options.layoutScroll&&f.scroll&&f!==f.root&&zi(n,{x:-f.scroll.offset.x,y:-f.scroll.offset.y}),m&&(i.x*=m.x.scale,i.y*=m.y.scale,xv(n,m)),o&&Va(f.latestValues)&&zi(n,f.latestValues))}i.x<By&&i.x>Ly&&(i.x=1),i.y<By&&i.y>Ly&&(i.y=1)}function ki(n,i){n.min=n.min+i,n.max=n.max+i}function Hy(n,i,s,o,u=.5){const f=Le(n.min,n.max,u);Od(n,i,s,f,o)}function zi(n,i){Hy(n.x,i.x,i.scaleX,i.scale,i.originX),Hy(n.y,i.y,i.scaleY,i.scale,i.originY)}function vv(n,i){return hv(cT(n.getBoundingClientRect(),i))}function gT(n,i,s){const o=vv(n,s),{scroll:u}=i;return u&&(ki(o.x,u.offset.x),ki(o.y,u.offset.y)),o}const bv=({current:n})=>n?n.ownerDocument.defaultView:null,Py=(n,i)=>Math.abs(n-i);function xT(n,i){const s=Py(n.x,i.x),o=Py(n.y,i.y);return Math.sqrt(s**2+o**2)}class wv{constructor(i,s,{transformPagePoint:o,contextWindow:u,dragSnapToOrigin:f=!1}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const v=ad(this.lastMoveEventInfo,this.history),w=this.startEvent!==null,S=xT(v.offset,{x:0,y:0})>=3;if(!w&&!S)return;const{point:A}=v,{timestamp:M}=lt;this.history.push({...A,timestamp:M});const{onStart:O,onMove:E}=this.handlers;w||(O&&O(this.lastMoveEvent,v),this.startEvent=this.lastMoveEvent),E&&E(this.lastMoveEvent,v)},this.handlePointerMove=(v,w)=>{this.lastMoveEvent=v,this.lastMoveEventInfo=nd(w,this.transformPagePoint),ke.update(this.updatePoint,!0)},this.handlePointerUp=(v,w)=>{this.end();const{onEnd:S,onSessionEnd:A,resumeAnimation:M}=this.handlers;if(this.dragSnapToOrigin&&M&&M(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const O=ad(v.type==="pointercancel"?this.lastMoveEventInfo:nd(w,this.transformPagePoint),this.history);this.startEvent&&S&&S(v,O),A&&A(v,O)},!xf(i))return;this.dragSnapToOrigin=f,this.handlers=s,this.transformPagePoint=o,this.contextWindow=u||window;const m=jl(i),h=nd(m,this.transformPagePoint),{point:p}=h,{timestamp:y}=lt;this.history=[{...p,timestamp:y}];const{onSessionStart:g}=s;g&&g(i,ad(h,this.history)),this.removeListeners=vl(tl(this.contextWindow,"pointermove",this.handlePointerMove),tl(this.contextWindow,"pointerup",this.handlePointerUp),tl(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(i){this.handlers=i}end(){this.removeListeners&&this.removeListeners(),fa(this.updatePoint)}}function nd(n,i){return i?{point:i(n.point)}:n}function qy(n,i){return{x:n.x-i.x,y:n.y-i.y}}function ad({point:n},i){return{point:n,delta:qy(n,jv(i)),offset:qy(n,vT(i)),velocity:bT(i,.1)}}function vT(n){return n[0]}function jv(n){return n[n.length-1]}function bT(n,i){if(n.length<2)return{x:0,y:0};let s=n.length-1,o=null;const u=jv(n);for(;s>=0&&(o=n[s],!(u.timestamp-o.timestamp>on(i)));)s--;if(!o)return{x:0,y:0};const f=rn(u.timestamp-o.timestamp);if(f===0)return{x:0,y:0};const m={x:(u.x-o.x)/f,y:(u.y-o.y)/f};return m.x===1/0&&(m.x=0),m.y===1/0&&(m.y=0),m}function wT(n,{min:i,max:s},o){return i!==void 0&&n<i?n=o?Le(i,n,o.min):Math.max(n,i):s!==void 0&&n>s&&(n=o?Le(s,n,o.max):Math.min(n,s)),n}function Gy(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 jT(n,{top:i,left:s,bottom:o,right:u}){return{x:Gy(n.x,s,u),y:Gy(n.y,i,o)}}function Yy(n,i){let s=i.min-n.min,o=i.max-n.max;return i.max-i.min<n.max-n.min&&([s,o]=[o,s]),{min:s,max:o}}function ST(n,i){return{x:Yy(n.x,i.x),y:Yy(n.y,i.y)}}function TT(n,i){let s=.5;const o=mt(n),u=mt(i);return u>o?s=sl(i.min,i.max-o,n.min):o>u&&(s=sl(n.min,n.max-u,i.min)),_n(0,1,s)}function AT(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 kd=.35;function NT(n=kd){return n===!1?n=0:n===!0&&(n=kd),{x:Xy(n,"left","right"),y:Xy(n,"top","bottom")}}function Xy(n,i,s){return{min:Ky(n,i),max:Ky(n,s)}}function Ky(n,i){return typeof n=="number"?n:n[i]||0}const CT=new WeakMap;class ET{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=Ke(),this.visualElement=i}start(i,{snapToCursor:s=!1}={}){const{presenceContext:o}=this.visualElement;if(o&&o.isPresent===!1)return;const u=g=>{const{dragSnapToOrigin:v}=this.getProps();v?this.pauseAnimation():this.stopAnimation(),s&&this.snapToCursor(jl(g).point)},f=(g,v)=>{const{drag:w,dragPropagation:S,onDragStart:A}=this.getProps();if(w&&!S&&(this.openDragLock&&this.openDragLock(),this.openDragLock=GS(w),!this.openDragLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),Yt(O=>{let E=this.getAxisMotionValue(O).get()||0;if(cn.test(E)){const{projection:z}=this.visualElement;if(z&&z.layout){const U=z.layout.layoutBox[O];U&&(E=mt(U)*(parseFloat(E)/100))}}this.originPoint[O]=E}),A&&ke.postRender(()=>A(g,v)),Md(this.visualElement,"transform");const{animationState:M}=this.visualElement;M&&M.setActive("whileDrag",!0)},m=(g,v)=>{const{dragPropagation:w,dragDirectionLock:S,onDirectionLock:A,onDrag:M}=this.getProps();if(!w&&!this.openDragLock)return;const{offset:O}=v;if(S&&this.currentDirection===null){this.currentDirection=MT(O),this.currentDirection!==null&&A&&A(this.currentDirection);return}this.updateAxis("x",v.point,O),this.updateAxis("y",v.point,O),this.visualElement.render(),M&&M(g,v)},h=(g,v)=>this.stop(g,v),p=()=>Yt(g=>{var v;return this.getAnimationState(g)==="paused"&&((v=this.getAxisMotionValue(g).animation)==null?void 0:v.play())}),{dragSnapToOrigin:y}=this.getProps();this.panSession=new wv(i,{onSessionStart:u,onStart:f,onMove:m,onSessionEnd:h,resumeAnimation:p},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:y,contextWindow:bv(this.visualElement)})}stop(i,s){const o=this.isDragging;if(this.cancel(),!o)return;const{velocity:u}=s;this.startAnimation(u);const{onDragEnd:f}=this.getProps();f&&ke.postRender(()=>f(i,s))}cancel(){this.isDragging=!1;const{projection:i,animationState:s}=this.visualElement;i&&(i.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:o}=this.getProps();!o&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),s&&s.setActive("whileDrag",!1)}updateAxis(i,s,o){const{drag:u}=this.getProps();if(!o||!Yo(i,u,this.currentDirection))return;const f=this.getAxisMotionValue(i);let m=this.originPoint[i]+o[i];this.constraints&&this.constraints[i]&&(m=wT(m,this.constraints[i],this.elastic[i])),f.set(m)}resolveConstraints(){var f;const{dragConstraints:i,dragElastic:s}=this.getProps(),o=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):(f=this.visualElement.projection)==null?void 0:f.layout,u=this.constraints;i&&Di(i)?this.constraints||(this.constraints=this.resolveRefConstraints()):i&&o?this.constraints=jT(o.layoutBox,i):this.constraints=!1,this.elastic=NT(s),u!==this.constraints&&o&&this.constraints&&!this.hasMutatedConstraints&&Yt(m=>{this.constraints!==!1&&this.getAxisMotionValue(m)&&(this.constraints[m]=AT(o.layoutBox[m],this.constraints[m]))})}resolveRefConstraints(){const{dragConstraints:i,onMeasureDragConstraints:s}=this.getProps();if(!i||!Di(i))return!1;const o=i.current,{projection:u}=this.visualElement;if(!u||!u.layout)return!1;const f=gT(o,u.root,this.visualElement.getTransformPagePoint());let m=ST(u.layout.layoutBox,f);if(s){const h=s(rT(m));this.hasMutatedConstraints=!!h,h&&(m=hv(h))}return m}startAnimation(i){const{drag:s,dragMomentum:o,dragElastic:u,dragTransition:f,dragSnapToOrigin:m,onDragTransitionEnd:h}=this.getProps(),p=this.constraints||{},y=Yt(g=>{if(!Yo(g,s,this.currentDirection))return;let v=p&&p[g]||{};m&&(v={min:0,max:0});const w=u?200:1e6,S=u?40:1e7,A={type:"inertia",velocity:o?i[g]:0,bounceStiffness:w,bounceDamping:S,timeConstant:750,restDelta:1,restSpeed:10,...f,...v};return this.startAxisValueAnimation(g,A)});return Promise.all(y).then(h)}startAxisValueAnimation(i,s){const o=this.getAxisMotionValue(i);return Md(this.visualElement,i),o.start(Mf(i,o,0,s,this.visualElement,!1))}stopAnimation(){Yt(i=>this.getAxisMotionValue(i).stop())}pauseAnimation(){Yt(i=>{var s;return(s=this.getAxisMotionValue(i).animation)==null?void 0:s.pause()})}getAnimationState(i){var s;return(s=this.getAxisMotionValue(i).animation)==null?void 0:s.state}getAxisMotionValue(i){const s=`_drag${i.toUpperCase()}`,o=this.visualElement.getProps(),u=o[s];return u||this.visualElement.getValue(i,(o.initial?o.initial[i]:void 0)||0)}snapToCursor(i){Yt(s=>{const{drag:o}=this.getProps();if(!Yo(s,o,this.currentDirection))return;const{projection:u}=this.visualElement,f=this.getAxisMotionValue(s);if(u&&u.layout){const{min:m,max:h}=u.layout.layoutBox[s];f.set(i[s]-Le(m,h,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:i,dragConstraints:s}=this.getProps(),{projection:o}=this.visualElement;if(!Di(s)||!o||!this.constraints)return;this.stopAnimation();const u={x:0,y:0};Yt(m=>{const h=this.getAxisMotionValue(m);if(h&&this.constraints!==!1){const p=h.get();u[m]=TT({min:p,max:p},this.constraints[m])}});const{transformTemplate:f}=this.visualElement.getProps();this.visualElement.current.style.transform=f?f({},""):"none",o.root&&o.root.updateScroll(),o.updateLayout(),this.resolveConstraints(),Yt(m=>{if(!Yo(m,i,null))return;const h=this.getAxisMotionValue(m),{min:p,max:y}=this.constraints[m];h.set(Le(p,y,u[m]))})}addListeners(){if(!this.visualElement.current)return;CT.set(this.visualElement,this);const i=this.visualElement.current,s=tl(i,"pointerdown",p=>{const{drag:y,dragListener:g=!0}=this.getProps();y&&g&&this.start(p)}),o=()=>{const{dragConstraints:p}=this.getProps();Di(p)&&p.current&&(this.constraints=this.resolveRefConstraints())},{projection:u}=this.visualElement,f=u.addEventListener("measure",o);u&&!u.layout&&(u.root&&u.root.updateScroll(),u.updateLayout()),ke.read(o);const m=fl(window,"resize",()=>this.scalePositionWithinConstraints()),h=u.addEventListener("didUpdate",({delta:p,hasLayoutChanged:y})=>{this.isDragging&&y&&(Yt(g=>{const v=this.getAxisMotionValue(g);v&&(this.originPoint[g]+=p[g].translate,v.set(v.get()+p[g].translate))}),this.visualElement.render())});return()=>{m(),s(),f(),h&&h()}}getProps(){const i=this.visualElement.getProps(),{drag:s=!1,dragDirectionLock:o=!1,dragPropagation:u=!1,dragConstraints:f=!1,dragElastic:m=kd,dragMomentum:h=!0}=i;return{...i,drag:s,dragDirectionLock:o,dragPropagation:u,dragConstraints:f,dragElastic:m,dragMomentum:h}}}function Yo(n,i,s){return(i===!0||i===n)&&(s===null||s===n)}function MT(n,i=10){let s=null;return Math.abs(n.y)>i?s="y":Math.abs(n.x)>i&&(s="x"),s}class RT extends ha{constructor(i){super(i),this.removeGroupControls=Kt,this.removeListeners=Kt,this.controls=new ET(i)}mount(){const{dragControls:i}=this.node.getProps();i&&(this.removeGroupControls=i.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||Kt}unmount(){this.removeGroupControls(),this.removeListeners()}}const Qy=n=>(i,s)=>{n&&ke.postRender(()=>n(i,s))};class DT extends ha{constructor(){super(...arguments),this.removePointerDownListener=Kt}onPointerDown(i){this.session=new wv(i,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:bv(this.node)})}createPanHandlers(){const{onPanSessionStart:i,onPanStart:s,onPan:o,onPanEnd:u}=this.node.getProps();return{onSessionStart:Qy(i),onStart:Qy(s),onMove:o,onEnd:(f,m)=>{delete this.session,u&&ke.postRender(()=>u(f,m))}}}mount(){this.removePointerDownListener=tl(this.node.current,"pointerdown",i=>this.onPointerDown(i))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}const Jo={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function Zy(n,i){return i.max===i.min?0:n/(i.max-i.min)*100}const Fs={correct:(n,i)=>{if(!i.target)return n;if(typeof n=="string")if(oe.test(n))n=parseFloat(n);else return n;const s=Zy(n,i.target.x),o=Zy(n,i.target.y);return`${s}% ${o}%`}},OT={correct:(n,{treeScale:i,projectionDelta:s})=>{const o=n,u=ma.parse(n);if(u.length>5)return o;const f=ma.createTransformer(n),m=typeof u[0]!="number"?1:0,h=s.x.scale*i.x,p=s.y.scale*i.y;u[0+m]/=h,u[1+m]/=p;const y=Le(h,p,.5);return typeof u[2+m]=="number"&&(u[2+m]/=y),typeof u[3+m]=="number"&&(u[3+m]/=y),f(u)}};class kT extends j.Component{componentDidMount(){const{visualElement:i,layoutGroup:s,switchLayoutGroup:o,layoutId:u}=this.props,{projection:f}=i;y3(zT),f&&(s.group&&s.group.add(f),o&&o.register&&u&&o.register(f),f.root.didUpdate(),f.addEventListener("animationComplete",()=>{this.safeToRemove()}),f.setOptions({...f.options,onExitComplete:()=>this.safeToRemove()})),Jo.hasEverUpdated=!0}getSnapshotBeforeUpdate(i){const{layoutDependency:s,visualElement:o,drag:u,isPresent:f}=this.props,m=o.projection;return m&&(m.isPresent=f,u||i.layoutDependency!==s||s===void 0||i.isPresent!==f?m.willUpdate():this.safeToRemove(),i.isPresent!==f&&(f?m.promote():m.relegate()||ke.postRender(()=>{const h=m.getStack();(!h||!h.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:i}=this.props.visualElement;i&&(i.root.didUpdate(),gf.postRender(()=>{!i.currentAnimation&&i.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:i,layoutGroup:s,switchLayoutGroup:o}=this.props,{projection:u}=i;u&&(u.scheduleCheckAfterUnmount(),s&&s.group&&s.group.remove(u),o&&o.deregister&&o.deregister(u))}safeToRemove(){const{safeToRemove:i}=this.props;i&&i()}render(){return null}}function Sv(n){const[i,s]=lx(),o=j.useContext(Zd);return r.jsx(kT,{...n,layoutGroup:o,switchLayoutGroup:j.useContext(Jx),isPresent:i,safeToRemove:s})}const zT={borderRadius:{...Fs,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:Fs,borderTopRightRadius:Fs,borderBottomLeftRadius:Fs,borderBottomRightRadius:Fs,boxShadow:OT};function _T(n,i,s){const o=dt(n)?n:rl(n);return o.start(Mf("",o,i,s)),o.animation}function VT(n){return n instanceof SVGElement&&n.tagName!=="svg"}const UT=(n,i)=>n.depth-i.depth;class LT{constructor(){this.children=[],this.isDirty=!1}add(i){Id(this.children,i),this.isDirty=!0}remove(i){Jd(this.children,i),this.isDirty=!0}forEach(i){this.isDirty&&this.children.sort(UT),this.isDirty=!1,this.children.forEach(i)}}function BT(n,i){const s=bt.now(),o=({timestamp:u})=>{const f=u-s;f>=i&&(fa(o),n(f-i))};return ke.setup(o,!0),()=>fa(o)}const Tv=["TopLeft","TopRight","BottomLeft","BottomRight"],HT=Tv.length,Fy=n=>typeof n=="string"?parseFloat(n):n,$y=n=>typeof n=="number"||oe.test(n);function PT(n,i,s,o,u,f){u?(n.opacity=Le(0,s.opacity??1,qT(o)),n.opacityExit=Le(i.opacity??1,0,GT(o))):f&&(n.opacity=Le(i.opacity??1,s.opacity??1,o));for(let m=0;m<HT;m++){const h=`border${Tv[m]}Radius`;let p=Wy(i,h),y=Wy(s,h);if(p===void 0&&y===void 0)continue;p||(p=0),y||(y=0),p===0||y===0||$y(p)===$y(y)?(n[h]=Math.max(Le(Fy(p),Fy(y),o),0),(cn.test(y)||cn.test(p))&&(n[h]+="%")):n[h]=y}(i.rotate||s.rotate)&&(n.rotate=Le(i.rotate||0,s.rotate||0,o))}function Wy(n,i){return n[i]!==void 0?n[i]:n.borderRadius}const qT=Av(0,.5,yx),GT=Av(.5,.95,Kt);function Av(n,i,s){return o=>o<n?0:o>i?1:s(sl(n,i,o))}function Iy(n,i){n.min=i.min,n.max=i.max}function qt(n,i){Iy(n.x,i.x),Iy(n.y,i.y)}function Jy(n,i){n.translate=i.translate,n.scale=i.scale,n.originPoint=i.originPoint,n.origin=i.origin}function eg(n,i,s,o,u){return n-=i,n=sr(n,1/s,o),u!==void 0&&(n=sr(n,1/u,o)),n}function YT(n,i=0,s=1,o=.5,u,f=n,m=n){if(cn.test(i)&&(i=parseFloat(i),i=Le(m.min,m.max,i/100)-m.min),typeof i!="number")return;let h=Le(f.min,f.max,o);n===f&&(h-=i),n.min=eg(n.min,i,s,h,u),n.max=eg(n.max,i,s,h,u)}function tg(n,i,[s,o,u],f,m){YT(n,i[s],i[o],i[u],i.scale,f,m)}const XT=["x","scaleX","originX"],KT=["y","scaleY","originY"];function ng(n,i,s,o){tg(n.x,i,XT,s?s.x:void 0,o?o.x:void 0),tg(n.y,i,KT,s?s.y:void 0,o?o.y:void 0)}function ag(n){return n.translate===0&&n.scale===1}function Nv(n){return ag(n.x)&&ag(n.y)}function ig(n,i){return n.min===i.min&&n.max===i.max}function QT(n,i){return ig(n.x,i.x)&&ig(n.y,i.y)}function sg(n,i){return Math.round(n.min)===Math.round(i.min)&&Math.round(n.max)===Math.round(i.max)}function Cv(n,i){return sg(n.x,i.x)&&sg(n.y,i.y)}function lg(n){return mt(n.x)/mt(n.y)}function og(n,i){return n.translate===i.translate&&n.scale===i.scale&&n.originPoint===i.originPoint}class ZT{constructor(){this.members=[]}add(i){Id(this.members,i),i.scheduleRender()}remove(i){if(Jd(this.members,i),i===this.prevLead&&(this.prevLead=void 0),i===this.lead){const s=this.members[this.members.length-1];s&&this.promote(s)}}relegate(i){const s=this.members.findIndex(u=>i===u);if(s===0)return!1;let o;for(let u=s;u>=0;u--){const f=this.members[u];if(f.isPresent!==!1){o=f;break}}return o?(this.promote(o),!0):!1}promote(i,s){const o=this.lead;if(i!==o&&(this.prevLead=o,this.lead=i,i.show(),o)){o.instance&&o.scheduleRender(),i.scheduleRender(),i.resumeFrom=o,s&&(i.resumeFrom.preserveOpacity=!0),o.snapshot&&(i.snapshot=o.snapshot,i.snapshot.latestValues=o.animationValues||o.latestValues),i.root&&i.root.isUpdating&&(i.isLayoutDirty=!0);const{crossfade:u}=i.options;u===!1&&o.hide()}}exitAnimationComplete(){this.members.forEach(i=>{const{options:s,resumingFrom:o}=i;s.onExitComplete&&s.onExitComplete(),o&&o.options.onExitComplete&&o.options.onExitComplete()})}scheduleRender(){this.members.forEach(i=>{i.instance&&i.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function FT(n,i,s){let o="";const u=n.x.translate/i.x,f=n.y.translate/i.y,m=(s==null?void 0:s.z)||0;if((u||f||m)&&(o=`translate3d(${u}px, ${f}px, ${m}px) `),(i.x!==1||i.y!==1)&&(o+=`scale(${1/i.x}, ${1/i.y}) `),s){const{transformPerspective:y,rotate:g,rotateX:v,rotateY:w,skewX:S,skewY:A}=s;y&&(o=`perspective(${y}px) ${o}`),g&&(o+=`rotate(${g}deg) `),v&&(o+=`rotateX(${v}deg) `),w&&(o+=`rotateY(${w}deg) `),S&&(o+=`skewX(${S}deg) `),A&&(o+=`skewY(${A}deg) `)}const h=n.x.scale*i.x,p=n.y.scale*i.y;return(h!==1||p!==1)&&(o+=`scale(${h}, ${p})`),o||"none"}const id=["","X","Y","Z"],$T={visibility:"hidden"},rg=1e3;let WT=0;function sd(n,i,s,o){const{latestValues:u}=i;u[n]&&(s[n]=u[n],i.setStaticValue(n,0),o&&(o[n]=0))}function Ev(n){if(n.hasCheckedOptimisedAppear=!0,n.root===n)return;const{visualElement:i}=n.options;if(!i)return;const s=uv(i);if(window.MotionHasOptimisedAnimation(s,"transform")){const{layout:u,layoutId:f}=n.options;window.MotionCancelOptimisedAnimation(s,"transform",ke,!(u||f))}const{parent:o}=n;o&&!o.hasCheckedOptimisedAppear&&Ev(o)}function Mv({attachResizeListener:n,defaultParent:i,measureScroll:s,checkIsScrollRoot:o,resetTransform:u}){return class{constructor(m={},h=i==null?void 0:i()){this.id=WT++,this.animationId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,this.nodes.forEach(eA),this.nodes.forEach(sA),this.nodes.forEach(lA),this.nodes.forEach(tA)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=m,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 p=0;p<this.path.length;p++)this.path[p].shouldResetTransform=!0;this.root===this&&(this.nodes=new LT)}addEventListener(m,h){return this.eventHandlers.has(m)||this.eventHandlers.set(m,new nf),this.eventHandlers.get(m).add(h)}notifyListeners(m,...h){const p=this.eventHandlers.get(m);p&&p.notify(...h)}hasListeners(m){return this.eventHandlers.has(m)}mount(m,h=this.root.hasTreeAnimated){if(this.instance)return;this.isSVG=VT(m),this.instance=m;const{layoutId:p,layout:y,visualElement:g}=this.options;if(g&&!g.current&&g.mount(m),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),h&&(y||p)&&(this.isLayoutDirty=!0),n){let v;const w=()=>this.root.updateBlockedByResize=!1;n(m,()=>{this.root.updateBlockedByResize=!0,v&&v(),v=BT(w,250),Jo.hasAnimatedSinceResize&&(Jo.hasAnimatedSinceResize=!1,this.nodes.forEach(ug))})}p&&this.root.registerSharedNode(p,this),this.options.animate!==!1&&g&&(p||y)&&this.addEventListener("didUpdate",({delta:v,hasLayoutChanged:w,hasRelativeLayoutChanged:S,layout:A})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const M=this.options.transition||g.getDefaultTransition()||dA,{onLayoutAnimationStart:O,onLayoutAnimationComplete:E}=g.getProps(),z=!this.targetLayout||!Cv(this.targetLayout,A),U=!w&&S;if(this.options.layoutRoot||this.resumeFrom||U||w&&(z||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(v,U);const Q={...pf(M,"layout"),onPlay:O,onComplete:E};(g.shouldReduceMotion||this.options.layoutRoot)&&(Q.delay=0,Q.type=!1),this.startAnimation(Q)}else w||ug(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=A})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const m=this.getStack();m&&m.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,fa(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(oA),this.animationId++)}getTransformTemplate(){const{visualElement:m}=this.options;return m&&m.getProps().transformTemplate}willUpdate(m=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&Ev(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let g=0;g<this.path.length;g++){const v=this.path[g];v.shouldResetTransform=!0,v.updateScroll("snapshot"),v.options.layoutRoot&&v.willUpdate(!1)}const{layoutId:h,layout:p}=this.options;if(h===void 0&&!p)return;const y=this.getTransformTemplate();this.prevTransformTemplateValue=y?y(this.latestValues,""):void 0,this.updateSnapshot(),m&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(cg);return}this.isUpdating||this.nodes.forEach(aA),this.isUpdating=!1,this.nodes.forEach(iA),this.nodes.forEach(IT),this.nodes.forEach(JT),this.clearAllSnapshots();const h=bt.now();lt.delta=_n(0,1e3/60,h-lt.timestamp),lt.timestamp=h,lt.isProcessing=!0,$u.update.process(lt),$u.preRender.process(lt),$u.render.process(lt),lt.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,gf.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(nA),this.sharedNodes.forEach(rA)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,ke.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){ke.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!mt(this.snapshot.measuredBox.x)&&!mt(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 p=0;p<this.path.length;p++)this.path[p].updateScroll();const m=this.layout;this.layout=this.measure(!1),this.layoutCorrected=Ke(),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,m?m.layoutBox:void 0)}updateScroll(m="measure"){let h=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===m&&(h=!1),h){const p=o(this.instance);this.scroll={animationId:this.root.animationId,phase:m,isRoot:p,offset:s(this.instance),wasRoot:this.scroll?this.scroll.isRoot:p}}}resetTransform(){if(!u)return;const m=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,h=this.projectionDelta&&!Nv(this.projectionDelta),p=this.getTransformTemplate(),y=p?p(this.latestValues,""):void 0,g=y!==this.prevTransformTemplateValue;m&&(h||Va(this.latestValues)||g)&&(u(this.instance,y),this.shouldResetTransform=!1,this.scheduleRender())}measure(m=!0){const h=this.measurePageBox();let p=this.removeElementScroll(h);return m&&(p=this.removeTransform(p)),fA(p),{animationId:this.root.animationId,measuredBox:h,layoutBox:p,latestValues:{},source:this.id}}measurePageBox(){var y;const{visualElement:m}=this.options;if(!m)return Ke();const h=m.measureViewportBox();if(!(((y=this.scroll)==null?void 0:y.wasRoot)||this.path.some(mA))){const{scroll:g}=this.root;g&&(ki(h.x,g.offset.x),ki(h.y,g.offset.y))}return h}removeElementScroll(m){var p;const h=Ke();if(qt(h,m),(p=this.scroll)!=null&&p.wasRoot)return h;for(let y=0;y<this.path.length;y++){const g=this.path[y],{scroll:v,options:w}=g;g!==this.root&&v&&w.layoutScroll&&(v.wasRoot&&qt(h,m),ki(h.x,v.offset.x),ki(h.y,v.offset.y))}return h}applyTransform(m,h=!1){const p=Ke();qt(p,m);for(let y=0;y<this.path.length;y++){const g=this.path[y];!h&&g.options.layoutScroll&&g.scroll&&g!==g.root&&zi(p,{x:-g.scroll.offset.x,y:-g.scroll.offset.y}),Va(g.latestValues)&&zi(p,g.latestValues)}return Va(this.latestValues)&&zi(p,this.latestValues),p}removeTransform(m){const h=Ke();qt(h,m);for(let p=0;p<this.path.length;p++){const y=this.path[p];if(!y.instance||!Va(y.latestValues))continue;Dd(y.latestValues)&&y.updateSnapshot();const g=Ke(),v=y.measurePageBox();qt(g,v),ng(h,y.latestValues,y.snapshot?y.snapshot.layoutBox:void 0,g)}return Va(this.latestValues)&&ng(h,this.latestValues),h}setTargetDelta(m){this.targetDelta=m,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(m){this.options={...this.options,...m,crossfade:m.crossfade!==void 0?m.crossfade:!0}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==lt.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(m=!1){var w;const h=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=h.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=h.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=h.isSharedProjectionDirty);const p=!!this.resumingFrom||this!==h;if(!(m||p&&this.isSharedProjectionDirty||this.isProjectionDirty||(w=this.parent)!=null&&w.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:g,layoutId:v}=this.options;if(!(!this.layout||!(g||v))){if(this.resolvedRelativeTargetAt=lt.timestamp,!this.targetDelta&&!this.relativeTarget){const S=this.getClosestProjectingParent();S&&S.layout&&this.animationProgress!==1?(this.relativeParent=S,this.forceRelativeParentToResolveTarget(),this.relativeTarget=Ke(),this.relativeTargetOrigin=Ke(),al(this.relativeTargetOrigin,this.layout.layoutBox,S.layout.layoutBox),qt(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=Ke(),this.targetWithTransforms=Ke()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),pT(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):qt(this.target,this.layout.layoutBox),xv(this.target,this.targetDelta)):qt(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget)){this.attemptToResolveRelativeTarget=!1;const S=this.getClosestProjectingParent();S&&!!S.resumingFrom==!!this.resumingFrom&&!S.options.layoutScroll&&S.target&&this.animationProgress!==1?(this.relativeParent=S,this.forceRelativeParentToResolveTarget(),this.relativeTarget=Ke(),this.relativeTargetOrigin=Ke(),al(this.relativeTargetOrigin,this.target,S.target),qt(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}}}getClosestProjectingParent(){if(!(!this.parent||Dd(this.parent.latestValues)||gv(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){var A;const m=this.getLead(),h=!!this.resumingFrom||this!==m;let p=!0;if((this.isProjectionDirty||(A=this.parent)!=null&&A.isProjectionDirty)&&(p=!1),h&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(p=!1),this.resolvedRelativeTargetAt===lt.timestamp&&(p=!1),p)return;const{layout:y,layoutId:g}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(y||g))return;qt(this.layoutCorrected,this.layout.layoutBox);const v=this.treeScale.x,w=this.treeScale.y;yT(this.layoutCorrected,this.treeScale,this.path,h),m.layout&&!m.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(m.target=m.layout.layoutBox,m.targetWithTransforms=Ke());const{target:S}=m;if(!S){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(Jy(this.prevProjectionDelta.x,this.projectionDelta.x),Jy(this.prevProjectionDelta.y,this.projectionDelta.y)),nl(this.projectionDelta,this.layoutCorrected,S,this.latestValues),(this.treeScale.x!==v||this.treeScale.y!==w||!og(this.projectionDelta.x,this.prevProjectionDelta.x)||!og(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",S))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(m=!0){var h;if((h=this.options.visualElement)==null||h.scheduleRender(),m){const p=this.getStack();p&&p.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=Oi(),this.projectionDelta=Oi(),this.projectionDeltaWithTransform=Oi()}setAnimationOrigin(m,h=!1){const p=this.snapshot,y=p?p.latestValues:{},g={...this.latestValues},v=Oi();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!h;const w=Ke(),S=p?p.source:void 0,A=this.layout?this.layout.source:void 0,M=S!==A,O=this.getStack(),E=!O||O.members.length<=1,z=!!(M&&!E&&this.options.crossfade===!0&&!this.path.some(uA));this.animationProgress=0;let U;this.mixTargetDelta=Q=>{const H=Q/1e3;dg(v.x,m.x,H),dg(v.y,m.y,H),this.setTargetDelta(v),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(al(w,this.layout.layoutBox,this.relativeParent.layout.layoutBox),cA(this.relativeTarget,this.relativeTargetOrigin,w,H),U&&QT(this.relativeTarget,U)&&(this.isProjectionDirty=!1),U||(U=Ke()),qt(U,this.relativeTarget)),M&&(this.animationValues=g,PT(g,y,this.latestValues,H,z,E)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=H},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(m){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&(fa(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=ke.update(()=>{Jo.hasAnimatedSinceResize=!0,this.currentAnimation=_T(0,rg,{...m,onUpdate:h=>{this.mixTargetDelta(h),m.onUpdate&&m.onUpdate(h)},onStop:()=>{},onComplete:()=>{m.onComplete&&m.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 m=this.getStack();m&&m.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(rg),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const m=this.getLead();let{targetWithTransforms:h,target:p,layout:y,latestValues:g}=m;if(!(!h||!p||!y)){if(this!==m&&this.layout&&y&&Rv(this.options.animationType,this.layout.layoutBox,y.layoutBox)){p=this.target||Ke();const v=mt(this.layout.layoutBox.x);p.x.min=m.target.x.min,p.x.max=p.x.min+v;const w=mt(this.layout.layoutBox.y);p.y.min=m.target.y.min,p.y.max=p.y.min+w}qt(h,p),zi(h,g),nl(this.projectionDeltaWithTransform,this.layoutCorrected,h,g)}}registerSharedNode(m,h){this.sharedNodes.has(m)||this.sharedNodes.set(m,new ZT),this.sharedNodes.get(m).add(h);const y=h.options.initialPromotionConfig;h.promote({transition:y?y.transition:void 0,preserveFollowOpacity:y&&y.shouldPreserveFollowOpacity?y.shouldPreserveFollowOpacity(h):void 0})}isLead(){const m=this.getStack();return m?m.lead===this:!0}getLead(){var h;const{layoutId:m}=this.options;return m?((h=this.getStack())==null?void 0:h.lead)||this:this}getPrevLead(){var h;const{layoutId:m}=this.options;return m?(h=this.getStack())==null?void 0:h.prevLead:void 0}getStack(){const{layoutId:m}=this.options;if(m)return this.root.sharedNodes.get(m)}promote({needsReset:m,transition:h,preserveFollowOpacity:p}={}){const y=this.getStack();y&&y.promote(this,p),m&&(this.projectionDelta=void 0,this.needsReset=!0),h&&this.setOptions({transition:h})}relegate(){const m=this.getStack();return m?m.relegate(this):!1}resetSkewAndRotation(){const{visualElement:m}=this.options;if(!m)return;let h=!1;const{latestValues:p}=m;if((p.z||p.rotate||p.rotateX||p.rotateY||p.rotateZ||p.skewX||p.skewY)&&(h=!0),!h)return;const y={};p.z&&sd("z",m,y,this.animationValues);for(let g=0;g<id.length;g++)sd(`rotate${id[g]}`,m,y,this.animationValues),sd(`skew${id[g]}`,m,y,this.animationValues);m.render();for(const g in y)m.setStaticValue(g,y[g]),this.animationValues&&(this.animationValues[g]=y[g]);m.scheduleRender()}getProjectionStyles(m){if(!this.instance||this.isSVG)return;if(!this.isVisible)return $T;const h={visibility:""},p=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,h.opacity="",h.pointerEvents=Io(m==null?void 0:m.pointerEvents)||"",h.transform=p?p(this.latestValues,""):"none",h;const y=this.getLead();if(!this.projectionDelta||!this.layout||!y.target){const S={};return this.options.layoutId&&(S.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,S.pointerEvents=Io(m==null?void 0:m.pointerEvents)||""),this.hasProjected&&!Va(this.latestValues)&&(S.transform=p?p({},""):"none",this.hasProjected=!1),S}const g=y.animationValues||y.latestValues;this.applyTransformsToTarget(),h.transform=FT(this.projectionDeltaWithTransform,this.treeScale,g),p&&(h.transform=p(g,h.transform));const{x:v,y:w}=this.projectionDelta;h.transformOrigin=`${v.origin*100}% ${w.origin*100}% 0`,y.animationValues?h.opacity=y===this?g.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:g.opacityExit:h.opacity=y===this?g.opacity!==void 0?g.opacity:"":g.opacityExit!==void 0?g.opacityExit:0;for(const S in ul){if(g[S]===void 0)continue;const{correct:A,applyTo:M,isCSSVariable:O}=ul[S],E=h.transform==="none"?g[S]:A(g[S],y);if(M){const z=M.length;for(let U=0;U<z;U++)h[M[U]]=E}else O?this.options.visualElement.renderState.vars[S]=E:h[S]=E}return this.options.layoutId&&(h.pointerEvents=y===this?Io(m==null?void 0:m.pointerEvents)||"":"none"),h}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(m=>{var h;return(h=m.currentAnimation)==null?void 0:h.stop()}),this.root.nodes.forEach(cg),this.root.sharedNodes.clear()}}}function IT(n){n.updateLayout()}function JT(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:o,measuredBox:u}=n.layout,{animationType:f}=n.options,m=i.source!==n.layout.source;f==="size"?Yt(v=>{const w=m?i.measuredBox[v]:i.layoutBox[v],S=mt(w);w.min=o[v].min,w.max=w.min+S}):Rv(f,i.layoutBox,o)&&Yt(v=>{const w=m?i.measuredBox[v]:i.layoutBox[v],S=mt(o[v]);w.max=w.min+S,n.relativeTarget&&!n.currentAnimation&&(n.isProjectionDirty=!0,n.relativeTarget[v].max=n.relativeTarget[v].min+S)});const h=Oi();nl(h,o,i.layoutBox);const p=Oi();m?nl(p,n.applyTransform(u,!0),i.measuredBox):nl(p,o,i.layoutBox);const y=!Nv(h);let g=!1;if(!n.resumeFrom){const v=n.getClosestProjectingParent();if(v&&!v.resumeFrom){const{snapshot:w,layout:S}=v;if(w&&S){const A=Ke();al(A,i.layoutBox,w.layoutBox);const M=Ke();al(M,o,S.layoutBox),Cv(A,M)||(g=!0),v.options.layoutRoot&&(n.relativeTarget=M,n.relativeTargetOrigin=A,n.relativeParent=v)}}}n.notifyListeners("didUpdate",{layout:o,snapshot:i,delta:p,layoutDelta:h,hasLayoutChanged:y,hasRelativeLayoutChanged:g})}else if(n.isLead()){const{onExitComplete:o}=n.options;o&&o()}n.options.transition=void 0}function eA(n){n.parent&&(n.isProjecting()||(n.isProjectionDirty=n.parent.isProjectionDirty),n.isSharedProjectionDirty||(n.isSharedProjectionDirty=!!(n.isProjectionDirty||n.parent.isProjectionDirty||n.parent.isSharedProjectionDirty)),n.isTransformDirty||(n.isTransformDirty=n.parent.isTransformDirty))}function tA(n){n.isProjectionDirty=n.isSharedProjectionDirty=n.isTransformDirty=!1}function nA(n){n.clearSnapshot()}function cg(n){n.clearMeasurements()}function aA(n){n.isLayoutDirty=!1}function iA(n){const{visualElement:i}=n.options;i&&i.getProps().onBeforeLayoutMeasure&&i.notify("BeforeLayoutMeasure"),n.resetTransform()}function ug(n){n.finishAnimation(),n.targetDelta=n.relativeTarget=n.target=void 0,n.isProjectionDirty=!0}function sA(n){n.resolveTargetDelta()}function lA(n){n.calcProjection()}function oA(n){n.resetSkewAndRotation()}function rA(n){n.removeLeadSnapshot()}function dg(n,i,s){n.translate=Le(i.translate,0,s),n.scale=Le(i.scale,1,s),n.origin=i.origin,n.originPoint=i.originPoint}function fg(n,i,s,o){n.min=Le(i.min,s.min,o),n.max=Le(i.max,s.max,o)}function cA(n,i,s,o){fg(n.x,i.x,s.x,o),fg(n.y,i.y,s.y,o)}function uA(n){return n.animationValues&&n.animationValues.opacityExit!==void 0}const dA={duration:.45,ease:[.4,0,.1,1]},mg=n=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(n),hg=mg("applewebkit/")&&!mg("chrome/")?Math.round:Kt;function pg(n){n.min=hg(n.min),n.max=hg(n.max)}function fA(n){pg(n.x),pg(n.y)}function Rv(n,i,s){return n==="position"||n==="preserve-aspect"&&!hT(lg(i),lg(s),.2)}function mA(n){var i;return n!==n.root&&((i=n.scroll)==null?void 0:i.wasRoot)}const hA=Mv({attachResizeListener:(n,i)=>fl(n,"resize",i),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),ld={current:void 0},Dv=Mv({measureScroll:n=>({x:n.scrollLeft,y:n.scrollTop}),defaultParent:()=>{if(!ld.current){const n=new hA({});n.mount(window),n.setOptions({layoutScroll:!0}),ld.current=n}return ld.current},resetTransform:(n,i)=>{n.style.transform=i!==void 0?i:"none"},checkIsScrollRoot:n=>window.getComputedStyle(n).position==="fixed"}),pA={pan:{Feature:DT},drag:{Feature:RT,ProjectionNode:Dv,MeasureLayout:Sv}};function yg(n,i,s){const{props:o}=n;n.animationState&&o.whileHover&&n.animationState.setActive("whileHover",s==="Start");const u="onHover"+s,f=o[u];f&&ke.postRender(()=>f(i,jl(i)))}class yA extends ha{mount(){const{current:i}=this.node;i&&(this.unmount=XS(i,(s,o)=>(yg(this.node,o,"Start"),u=>yg(this.node,u,"End"))))}unmount(){}}class gA extends ha{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=vl(fl(this.node.current,"focus",()=>this.onFocus()),fl(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function gg(n,i,s){const{props:o}=n;if(n.current instanceof HTMLButtonElement&&n.current.disabled)return;n.animationState&&o.whileTap&&n.animationState.setActive("whileTap",s==="Start");const u="onTap"+(s==="End"?"":s),f=o[u];f&&ke.postRender(()=>f(i,jl(i)))}class xA extends ha{mount(){const{current:i}=this.node;i&&(this.unmount=FS(i,(s,o)=>(gg(this.node,o,"Start"),(u,{success:f})=>gg(this.node,u,f?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}const zd=new WeakMap,od=new WeakMap,vA=n=>{const i=zd.get(n.target);i&&i(n)},bA=n=>{n.forEach(vA)};function wA({root:n,...i}){const s=n||document;od.has(s)||od.set(s,{});const o=od.get(s),u=JSON.stringify(i);return o[u]||(o[u]=new IntersectionObserver(bA,{root:n,...i})),o[u]}function jA(n,i,s){const o=wA(i);return zd.set(n,s),o.observe(n),()=>{zd.delete(n),o.unobserve(n)}}const SA={some:0,all:1};class TA extends ha{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:i={}}=this.node.getProps(),{root:s,margin:o,amount:u="some",once:f}=i,m={root:s?s.current:void 0,rootMargin:o,threshold:typeof u=="number"?u:SA[u]},h=p=>{const{isIntersecting:y}=p;if(this.isInView===y||(this.isInView=y,f&&!y&&this.hasEnteredView))return;y&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",y);const{onViewportEnter:g,onViewportLeave:v}=this.node.getProps(),w=y?g:v;w&&w(p)};return jA(this.node.current,m,h)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:i,prevProps:s}=this.node;["amount","margin","root"].some(AA(i,s))&&this.startObserver()}unmount(){}}function AA({viewport:n={}},{viewport:i={}}={}){return s=>n[s]!==i[s]}const NA={inView:{Feature:TA},tap:{Feature:xA},focus:{Feature:gA},hover:{Feature:yA}},CA={layout:{ProjectionNode:Dv,MeasureLayout:Sv}},_d={current:null},Ov={current:!1};function EA(){if(Ov.current=!0,!!$d)if(window.matchMedia){const n=window.matchMedia("(prefers-reduced-motion)"),i=()=>_d.current=n.matches;n.addListener(i),i()}else _d.current=!1}const MA=new WeakMap;function RA(n,i,s){for(const o in i){const u=i[o],f=s[o];if(dt(u))n.addValue(o,u);else if(dt(f))n.addValue(o,rl(u,{owner:n}));else if(f!==u)if(n.hasValue(o)){const m=n.getValue(o);m.liveStyle===!0?m.jump(u):m.hasAnimated||m.set(u)}else{const m=n.getStaticValue(o);n.addValue(o,rl(m!==void 0?m:u,{owner:n}))}}for(const o in s)i[o]===void 0&&n.removeValue(o);return i}const xg=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class DA{scrapeMotionValuesFromProps(i,s,o){return{}}constructor({parent:i,props:s,presenceContext:o,reducedMotionConfig:u,blockInitialAnimation:f,visualState:m},h={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=hf,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{const S=bt.now();this.renderScheduledAt<S&&(this.renderScheduledAt=S,ke.render(this.render,!1,!0))};const{latestValues:p,renderState:y,onUpdate:g}=m;this.onUpdate=g,this.latestValues=p,this.baseTarget={...p},this.initialValues=s.initial?{...p}:{},this.renderState=y,this.parent=i,this.props=s,this.presenceContext=o,this.depth=i?i.depth+1:0,this.reducedMotionConfig=u,this.options=h,this.blockInitialAnimation=!!f,this.isControllingVariants=pr(s),this.isVariantNode=Wx(s),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(i&&i.current);const{willChange:v,...w}=this.scrapeMotionValuesFromProps(s,{},this);for(const S in w){const A=w[S];p[S]!==void 0&&dt(A)&&A.set(p[S],!1)}}mount(i){this.current=i,MA.set(i,this),this.projection&&!this.projection.instance&&this.projection.mount(i),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((s,o)=>this.bindToMotionValue(o,s)),Ov.current||EA(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:_d.current,this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){this.projection&&this.projection.unmount(),fa(this.notifyUpdate),fa(this.render),this.valueSubscriptions.forEach(i=>i()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this);for(const i in this.events)this.events[i].clear();for(const i in this.features){const s=this.features[i];s&&(s.unmount(),s.isMounted=!1)}this.current=null}bindToMotionValue(i,s){this.valueSubscriptions.has(i)&&this.valueSubscriptions.get(i)();const o=qa.has(i);o&&this.onBindTransform&&this.onBindTransform();const u=s.on("change",h=>{this.latestValues[i]=h,this.props.onUpdate&&ke.preRender(this.notifyUpdate),o&&this.projection&&(this.projection.isTransformDirty=!0)}),f=s.on("renderRequest",this.scheduleRender);let m;window.MotionCheckAppearSync&&(m=window.MotionCheckAppearSync(this,i,s)),this.valueSubscriptions.set(i,()=>{u(),f(),m&&m(),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 Li){const s=Li[i];if(!s)continue;const{isEnabled:o,Feature:u}=s;if(!this.features[i]&&u&&o(this.props)&&(this.features[i]=new u(this)),this.features[i]){const f=this.features[i];f.isMounted?f.update():(f.mount(),f.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):Ke()}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 o=0;o<xg.length;o++){const u=xg[o];this.propEventSubscriptions[u]&&(this.propEventSubscriptions[u](),delete this.propEventSubscriptions[u]);const f="on"+u,m=i[f];m&&(this.propEventSubscriptions[u]=this.on(u,m))}this.prevMotionValues=RA(this,this.scrapeMotionValuesFromProps(i,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue(),this.onUpdate&&this.onUpdate(this)}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 o=this.values.get(i);s!==o&&(o&&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 o=this.values.get(i);return o===void 0&&s!==void 0&&(o=rl(s===null?void 0:s,{owner:this}),this.addValue(i,o)),o}readValue(i,s){let o=this.latestValues[i]!==void 0||!this.current?this.latestValues[i]:this.getBaseTargetFromProps(this.props,i)??this.readValueFromInstance(this.current,i,this.options);return o!=null&&(typeof o=="string"&&(ox(o)||rx(o))?o=parseFloat(o):!JS(o)&&ma.test(s)&&(o=Yx(i,s)),this.setBaseTarget(i,dt(o)?o.get():o)),dt(o)?o.get():o}setBaseTarget(i,s){this.baseTarget[i]=s}getBaseTarget(i){var f;const{initial:s}=this.props;let o;if(typeof s=="string"||typeof s=="object"){const m=Cf(this.props,s,(f=this.presenceContext)==null?void 0:f.custom);m&&(o=m[i])}if(s&&o!==void 0)return o;const u=this.getBaseTargetFromProps(this.props,i);return u!==void 0&&!dt(u)?u:this.initialValues[i]!==void 0&&o===void 0?void 0:this.baseTarget[i]}on(i,s){return this.events[i]||(this.events[i]=new nf),this.events[i].add(s)}notify(i,...s){this.events[i]&&this.events[i].notify(...s)}}class kv extends DA{constructor(){super(...arguments),this.KeyframeResolver=qS}sortInstanceNodePosition(i,s){return i.compareDocumentPosition(s)&2?1:-1}getBaseTargetFromProps(i,s){return i.style?i.style[s]:void 0}removeValueFromRenderState(i,{vars:s,style:o}){delete s[i],delete o[i]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:i}=this.props;dt(i)&&(this.childSubscription=i.on("change",s=>{this.current&&(this.current.textContent=`${s}`)}))}}function OA(n){return window.getComputedStyle(n)}class kA extends kv{constructor(){super(...arguments),this.type="html",this.renderInstance=lv}readValueFromInstance(i,s){if(qa.has(s))return oS(i,s);{const o=OA(i),u=(lf(s)?o.getPropertyValue(s):o[s])||0;return typeof u=="string"?u.trim():u}}measureInstanceViewportBox(i,{transformPagePoint:s}){return vv(i,s)}build(i,s,o){jf(i,s,o.transformTemplate)}scrapeMotionValuesFromProps(i,s,o){return Ef(i,s,o)}}class zA extends kv{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=Ke,this.updateDimensions=()=>{this.current&&!this.renderState.dimensions&&sv(this.current,this.renderState)}}getBaseTargetFromProps(i,s){return i[s]}readValueFromInstance(i,s){if(qa.has(s)){const o=Gx(s);return o&&o.default||0}return s=ov.has(s)?s:wf(s),i.getAttribute(s)}scrapeMotionValuesFromProps(i,s,o){return cv(i,s,o)}onBindTransform(){this.current&&!this.renderState.dimensions&&ke.postRender(this.updateDimensions)}build(i,s,o){Af(i,s,this.isSVGTag,o.transformTemplate)}renderInstance(i,s,o,u){rv(i,s,o,u)}mount(i){this.isSVGTag=Nf(i.tagName),super.mount(i)}}const _A=(n,i)=>Tf(n)?new zA(i):new kA(i,{allowProjection:n!==j.Fragment}),VA=z3({...lT,...NA,...pA,...CA},_A),$=i3(VA);/**
 * @license lucide-react v0.503.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const UA=n=>n.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),LA=n=>n.replace(/^([A-Z])|[\s-_]+(\w)/g,(i,s,o)=>o?o.toUpperCase():s.toLowerCase()),vg=n=>{const i=LA(n);return i.charAt(0).toUpperCase()+i.slice(1)},zv=(...n)=>n.filter((i,s,o)=>!!i&&i.trim()!==""&&o.indexOf(i)===s).join(" ").trim(),BA=n=>{for(const i in n)if(i.startsWith("aria-")||i==="role"||i==="title")return!0};/**
 * @license lucide-react v0.503.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */var HA={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.503.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const PA=j.forwardRef(({color:n="currentColor",size:i=24,strokeWidth:s=2,absoluteStrokeWidth:o,className:u="",children:f,iconNode:m,...h},p)=>j.createElement("svg",{ref:p,...HA,width:i,height:i,stroke:n,strokeWidth:o?Number(s)*24/Number(i):s,className:zv("lucide",u),...!f&&!BA(h)&&{"aria-hidden":"true"},...h},[...m.map(([y,g])=>j.createElement(y,g)),...Array.isArray(f)?f:[f]]));/**
 * @license lucide-react v0.503.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const nt=(n,i)=>{const s=j.forwardRef(({className:o,...u},f)=>j.createElement(PA,{ref:f,iconNode:i,className:zv(`lucide-${UA(vg(n))}`,`lucide-${n}`,o),...u}));return s.displayName=vg(n),s};/**
 * @license lucide-react v0.503.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const qA=[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]],GA=nt("arrow-left",qA);/**
 * @license lucide-react v0.503.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const YA=[["path",{d:"M12 7v14",key:"1akyts"}],["path",{d:"M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z",key:"ruj8y"}]],XA=nt("book-open",YA);/**
 * @license lucide-react v0.503.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const KA=[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]],Vd=nt("check",KA);/**
 * @license lucide-react v0.503.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const QA=[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]],ZA=nt("chevron-down",QA);/**
 * @license lucide-react v0.503.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const FA=[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]],$A=nt("chevron-right",FA);/**
 * @license lucide-react v0.503.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const WA=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3",key:"1u773s"}],["path",{d:"M12 17h.01",key:"p32p05"}]],IA=nt("circle-help",WA);/**
 * @license lucide-react v0.503.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const JA=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polyline",{points:"12 6 12 12 16 14",key:"68esgv"}]],eN=nt("clock",JA);/**
 * @license lucide-react v0.503.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const tN=[["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["polyline",{points:"7 10 12 15 17 10",key:"2ggqvy"}],["line",{x1:"12",x2:"12",y1:"15",y2:"3",key:"1vk2je"}]],Bi=nt("download",tN);/**
 * @license lucide-react v0.503.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const nN=[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]],aN=nt("eye",nN);/**
 * @license lucide-react v0.503.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const iN=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20",key:"13o1zl"}],["path",{d:"M2 12h20",key:"9i4pu4"}]],Rf=nt("globe",iN);/**
 * @license lucide-react v0.503.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const sN=[["path",{d:"M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z",key:"c3ymky"}]],_v=nt("heart",sN);/**
 * @license lucide-react v0.503.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const lN=[["path",{d:"M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8",key:"5wwlr5"}],["path",{d:"M3 10a2 2 0 0 1 .709-1.528l7-5.999a2 2 0 0 1 2.582 0l7 5.999A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z",key:"1d0kgt"}]],bg=nt("house",lN);/**
 * @license lucide-react v0.503.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const oN=[["rect",{width:"20",height:"16",x:"2",y:"4",rx:"2",key:"18n3k1"}],["path",{d:"m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7",key:"1ocrg3"}]],rN=nt("mail",oN);/**
 * @license lucide-react v0.503.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const cN=[["line",{x1:"4",x2:"20",y1:"12",y2:"12",key:"1e0a9i"}],["line",{x1:"4",x2:"20",y1:"6",y2:"6",key:"1owob3"}],["line",{x1:"4",x2:"20",y1:"18",y2:"18",key:"yk5zj1"}]],uN=nt("menu",cN);/**
 * @license lucide-react v0.503.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const dN=[["path",{d:"M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z",key:"foiqr5"}]],fN=nt("phone",dN);/**
 * @license lucide-react v0.503.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const mN=[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]],hN=nt("search",mN);/**
 * @license lucide-react v0.503.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const pN=[["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"}]],yN=nt("star",pN);/**
 * @license lucide-react v0.503.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const gN=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],Vv=nt("x",gN),xN=()=>r.jsx("a",{href:"#main-content",className:"sr-only focus:not-sr-only focus:absolute focus:top-4 focus:left-4 bg-yellow-400 text-black px-4 py-2 z-50 rounded-md",children:"Skip to content"}),vN=()=>{const n=mn(),[i,s]=j.useState(!1),[o,u]=j.useState(!1);j.useEffect(()=>{const m=()=>{window.scrollY>50?s(!0):s(!1)};return window.addEventListener("scroll",m),()=>{window.removeEventListener("scroll",m)}},[]),j.useEffect(()=>{u(!1)},[n.pathname]);const f=[{path:"/",label:"Home",ariaLabel:"Go to home page"},{path:"/about",label:"About Us",ariaLabel:"Learn about us"},{path:"/download",label:"Download",ariaLabel:"Download our app"},{path:"/faqs",label:"FAQs",ariaLabel:"View frequently asked questions"},{path:"/contact",label:"Contact",ariaLabel:"Contact us"}];return r.jsxs(r.Fragment,{children:[r.jsx(xN,{}),r.jsx("header",{className:`fixed w-full z-50 transition-all duration-500 ${i?"bg-black bg-opacity-80 backdrop-blur-lg py-2 shadow-lg":"bg-gradient-to-b from-black via-black to-transparent py-5"}`,role:"banner",children:r.jsx("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:r.jsxs("div",{className:"flex items-center justify-between",children:[r.jsxs(Me,{to:"/",className:"flex items-center group","aria-label":"jmcomic homepage",children:[r.jsxs("div",{className:"relative overflow-hidden rounded-full w-12 h-12 flex items-center justify-center bg-gradient-to-r from-orange-400 to-orange-300 group-hover:from-orange-300 group-hover:to-orange-200 transition-all duration-300 shadow-lg mr-3",children:[r.jsx("img",{src:"/assets/jmcomic main.png",alt:"jmcomic mascot",className:"w-10 h-10 object-cover rounded-full"}),r.jsx("span",{className:"absolute -top-1 -right-1 w-2 h-2 rounded-full bg-yellow-200 animate-pulse"})]}),r.jsxs("div",{className:"flex flex-col",children:[r.jsxs("h1",{className:"text-2xl font-bold",children:[r.jsx("span",{className:"bg-gradient-to-r from-white to-gray-300 bg-clip-text text-transparent group-hover:from-yellow-300 group-hover:to-yellow-200 transition-all duration-300",children:"jm"}),r.jsx("span",{className:"bg-gradient-to-r from-yellow-400 to-yellow-300 bg-clip-text text-transparent group-hover:from-yellow-300 group-hover:to-yellow-200 transition-all duration-300",children:"comic"})]}),r.jsx("span",{className:"text-xs text-gray-400 group-hover:text-gray-300 tracking-wider font-light mt-[-4px] hidden sm:block",children:"PREMIUM COMICS EXPERIENCE"})]})]}),r.jsxs("div",{className:"flex items-center gap-3",children:[r.jsx("div",{className:"md:hidden",children:r.jsx("button",{className:"text-gray-300 hover:text-white focus:outline-none focus:ring-2 focus:ring-yellow-400 rounded-md p-1",onClick:()=>u(!o),"aria-expanded":o,"aria-controls":"mobile-menu","aria-label":o?"Close menu":"Open menu",children:o?r.jsx(Vv,{className:"w-6 h-6 text-yellow-400"}):r.jsx(uN,{className:"w-6 h-6 text-yellow-400"})})}),r.jsxs("nav",{className:"hidden md:flex items-center space-x-1","aria-label":"Main navigation",children:[f.map(m=>r.jsxs(Me,{to:m.path,className:"relative px-4 py-2 rounded-lg text-sm font-medium transition-colors duration-300 group overflow-hidden","aria-label":m.ariaLabel,"aria-current":n.pathname===m.path?"page":void 0,children:[r.jsx("span",{className:`relative z-10 ${n.pathname===m.path?"text-yellow-400":"text-gray-300 group-hover:text-white"}`,children:m.label}),r.jsx("span",{className:"absolute bottom-0 left-0 w-full h-[2px] bg-gradient-to-r from-yellow-400 to-yellow-300 transform translate-y-2 group-hover:translate-y-0 opacity-0 group-hover:opacity-100 transition-all duration-300"}),n.pathname===m.path&&r.jsx($.div,{layoutId:"activeNavIndicator",className:"absolute bottom-0 left-0 w-full h-[2px] bg-gradient-to-r from-yellow-400 to-yellow-300",initial:!1,transition:{type:"spring",stiffness:300,damping:30}}),r.jsx("span",{className:"absolute inset-0 bg-gradient-to-r from-yellow-500 to-yellow-400 opacity-0 group-hover:opacity-10 rounded-lg transition-opacity duration-300"})]},m.path)),r.jsx($.div,{whileHover:{scale:1.05},whileTap:{scale:.95},className:"ml-4",children:r.jsxs("a",{href:"#signup-form",className:"relative inline-flex items-center px-6 py-2 overflow-hidden text-sm font-medium text-black bg-gradient-to-r from-yellow-400 to-yellow-300 rounded-lg group shadow-lg hover:shadow-xl transition-all duration-300","aria-label":"Get started with jmcomic",children:[r.jsxs("span",{className:"relative z-10 flex items-center",children:["Get Started",r.jsx($A,{className:"ml-1 w-4 h-4"})]}),r.jsx("span",{className:"absolute top-0 left-0 w-full h-full bg-gradient-to-r from-yellow-300 to-yellow-200 opacity-0 group-hover:opacity-100 transition-opacity duration-300 transform"})]})})]})]})]})})}),r.jsx(i4,{children:o&&r.jsxs($.div,{id:"mobile-menu",className:"fixed inset-0 z-40 bg-black bg-opacity-95 backdrop-blur-lg pt-20 md:hidden flex flex-col",initial:{opacity:0,y:-50},animate:{opacity:1,y:0},exit:{opacity:0,y:-50},transition:{duration:.3},role:"dialog","aria-modal":"true","aria-label":"Mobile navigation menu",children:[r.jsxs("div",{className:"px-4 py-8 space-y-4",children:[f.map((m,h)=>r.jsx($.div,{initial:{opacity:0,x:-20},animate:{opacity:1,x:0},transition:{delay:h*.1,duration:.3},children:r.jsx(Me,{to:m.path,className:`block px-4 py-3 text-xl font-medium rounded-lg transition-all duration-300 ${n.pathname===m.path?"bg-gradient-to-r from-yellow-500 to-yellow-400 text-black font-bold shadow-lg":"text-gray-300 hover:bg-gray-800 hover:text-white"}`,onClick:()=>u(!1),"aria-current":n.pathname===m.path?"page":void 0,"aria-label":m.ariaLabel,children:m.label})},m.path)),r.jsx($.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:.5,duration:.3},className:"pt-4 mt-6 border-t border-gray-800",children:r.jsx("a",{href:"#signup-form",className:"block w-full py-3 px-4 text-center text-black font-medium bg-gradient-to-r from-yellow-400 to-yellow-300 rounded-lg shadow-lg",onClick:()=>u(!1),"aria-label":"Get started with jmcomic",children:"Get Started"})})]}),r.jsx("div",{className:"mt-auto p-6 text-center text-gray-500 text-sm",children:r.jsx("p",{children:"© 2025 jmcomic. All rights reserved."})})]})})]})};var Uv={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},wg=ge.createContext&&ge.createContext(Uv),bN=["attr","size","title"];function wN(n,i){if(n==null)return{};var s=jN(n,i),o,u;if(Object.getOwnPropertySymbols){var f=Object.getOwnPropertySymbols(n);for(u=0;u<f.length;u++)o=f[u],!(i.indexOf(o)>=0)&&Object.prototype.propertyIsEnumerable.call(n,o)&&(s[o]=n[o])}return s}function jN(n,i){if(n==null)return{};var s={};for(var o in n)if(Object.prototype.hasOwnProperty.call(n,o)){if(i.indexOf(o)>=0)continue;s[o]=n[o]}return s}function lr(){return lr=Object.assign?Object.assign.bind():function(n){for(var i=1;i<arguments.length;i++){var s=arguments[i];for(var o in s)Object.prototype.hasOwnProperty.call(s,o)&&(n[o]=s[o])}return n},lr.apply(this,arguments)}function jg(n,i){var s=Object.keys(n);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(n);i&&(o=o.filter(function(u){return Object.getOwnPropertyDescriptor(n,u).enumerable})),s.push.apply(s,o)}return s}function or(n){for(var i=1;i<arguments.length;i++){var s=arguments[i]!=null?arguments[i]:{};i%2?jg(Object(s),!0).forEach(function(o){SN(n,o,s[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(s)):jg(Object(s)).forEach(function(o){Object.defineProperty(n,o,Object.getOwnPropertyDescriptor(s,o))})}return n}function SN(n,i,s){return i=TN(i),i in n?Object.defineProperty(n,i,{value:s,enumerable:!0,configurable:!0,writable:!0}):n[i]=s,n}function TN(n){var i=AN(n,"string");return typeof i=="symbol"?i:i+""}function AN(n,i){if(typeof n!="object"||!n)return n;var s=n[Symbol.toPrimitive];if(s!==void 0){var o=s.call(n,i);if(typeof o!="object")return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return(i==="string"?String:Number)(n)}function Lv(n){return n&&n.map((i,s)=>ge.createElement(i.tag,or({key:s},i.attr),Lv(i.child)))}function pa(n){return i=>ge.createElement(NN,lr({attr:or({},n.attr)},i),Lv(n.child))}function NN(n){var i=s=>{var{attr:o,size:u,title:f}=n,m=wN(n,bN),h=u||s.size||"1em",p;return s.className&&(p=s.className),n.className&&(p=(p?p+" ":"")+n.className),ge.createElement("svg",lr({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},s.attr,o,m,{className:p,style:or(or({color:n.color||s.color},s.style),n.style),height:h,width:h,xmlns:"http://www.w3.org/2000/svg"}),f&&ge.createElement("title",null,f),n.children)};return wg!==void 0?ge.createElement(wg.Consumer,null,s=>i(s)):i(Uv)}function yr(n){return pa({attr:{viewBox:"0 0 576 512"},child:[{tag:"path",attr:{d:"M420.55,301.93a24,24,0,1,1,24-24,24,24,0,0,1-24,24m-265.1,0a24,24,0,1,1,24-24,24,24,0,0,1-24,24m273.7-144.48,47.94-83a10,10,0,1,0-17.27-10h0l-48.54,84.07a301.25,301.25,0,0,0-246.56,0L116.18,64.45a10,10,0,1,0-17.27,10h0l47.94,83C64.53,202.22,8.24,285.55,0,384H576c-8.24-98.45-64.54-181.78-146.85-226.55"},child:[]}]})(n)}function gr(n){return pa({attr:{viewBox:"0 0 384 512"},child:[{tag:"path",attr:{d:"M318.7 268.7c-.2-36.7 16.4-64.4 50-84.8-18.8-26.9-47.2-41.7-84.7-44.6-35.5-2.8-74.3 20.7-88.5 20.7-15 0-49.4-19.7-76.4-19.7C63.3 141.2 4 184.8 4 273.5q0 39.3 14.4 81.2c12.8 36.7 59 126.7 107.2 125.2 25.2-.6 43-17.9 75.8-17.9 31.8 0 48.3 17.9 76.4 17.9 48.6-.7 90.4-82.5 102.6-119.3-65.2-30.7-61.7-90-61.7-91.9zm-56.6-164.2c27.3-32.4 24.8-61.9 24-72.5-24.1 1.4-52 16.4-67.9 34.9-17.5 19.8-27.8 44.3-25.6 71.9 26.1 2 49.9-11.4 69.5-34.3z"},child:[]}]})(n)}function Bv(n){return pa({attr:{viewBox:"0 0 640 512"},child:[{tag:"path",attr:{d:"M524.531,69.836a1.5,1.5,0,0,0-.764-.7A485.065,485.065,0,0,0,404.081,32.03a1.816,1.816,0,0,0-1.923.91,337.461,337.461,0,0,0-14.9,30.6,447.848,447.848,0,0,0-134.426,0,309.541,309.541,0,0,0-15.135-30.6,1.89,1.89,0,0,0-1.924-.91A483.689,483.689,0,0,0,116.085,69.137a1.712,1.712,0,0,0-.788.676C39.068,183.651,18.186,294.69,28.43,404.354a2.016,2.016,0,0,0,.765,1.375A487.666,487.666,0,0,0,176.02,479.918a1.9,1.9,0,0,0,2.063-.676A348.2,348.2,0,0,0,208.12,430.4a1.86,1.86,0,0,0-1.019-2.588,321.173,321.173,0,0,1-45.868-21.853,1.885,1.885,0,0,1-.185-3.126c3.082-2.309,6.166-4.711,9.109-7.137a1.819,1.819,0,0,1,1.9-.256c96.229,43.917,200.41,43.917,295.5,0a1.812,1.812,0,0,1,1.924.233c2.944,2.426,6.027,4.851,9.132,7.16a1.884,1.884,0,0,1-.162,3.126,301.407,301.407,0,0,1-45.89,21.83,1.875,1.875,0,0,0-1,2.611,391.055,391.055,0,0,0,30.014,48.815,1.864,1.864,0,0,0,2.063.7A486.048,486.048,0,0,0,610.7,405.729a1.882,1.882,0,0,0,.765-1.352C623.729,277.594,590.933,167.465,524.531,69.836ZM222.491,337.58c-28.972,0-52.844-26.587-52.844-59.239S193.056,219.1,222.491,219.1c29.665,0,53.306,26.82,52.843,59.239C275.334,310.993,251.924,337.58,222.491,337.58Zm195.38,0c-28.971,0-52.843-26.587-52.843-59.239S388.437,219.1,417.871,219.1c29.667,0,53.307,26.82,52.844,59.239C470.715,310.993,447.538,337.58,417.871,337.58Z"},child:[]}]})(n)}function Hv(n){return pa({attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M504 256C504 119 393 8 256 8S8 119 8 256c0 123.78 90.69 226.38 209.25 245V327.69h-63V256h63v-54.64c0-62.15 37-96.48 93.67-96.48 27.14 0 55.52 4.84 55.52 4.84v61h-31.28c-30.8 0-40.41 19.12-40.41 38.73V256h68.78l-11 71.69h-57.78V501C413.31 482.38 504 379.78 504 256z"},child:[]}]})(n)}function Pv(n){return pa({attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M224.1 141c-63.6 0-114.9 51.3-114.9 114.9s51.3 114.9 114.9 114.9S339 319.5 339 255.9 287.7 141 224.1 141zm0 189.6c-41.1 0-74.7-33.5-74.7-74.7s33.5-74.7 74.7-74.7 74.7 33.5 74.7 74.7-33.6 74.7-74.7 74.7zm146.4-194.3c0 14.9-12 26.8-26.8 26.8-14.9 0-26.8-12-26.8-26.8s12-26.8 26.8-26.8 26.8 12 26.8 26.8zm76.1 27.2c-1.7-35.9-9.9-67.7-36.2-93.9-26.2-26.2-58-34.4-93.9-36.2-37-2.1-147.9-2.1-184.9 0-35.8 1.7-67.6 9.9-93.9 36.1s-34.4 58-36.2 93.9c-2.1 37-2.1 147.9 0 184.9 1.7 35.9 9.9 67.7 36.2 93.9s58 34.4 93.9 36.2c37 2.1 147.9 2.1 184.9 0 35.9-1.7 67.7-9.9 93.9-36.2 26.2-26.2 34.4-58 36.2-93.9 2.1-37 2.1-147.8 0-184.8zM398.8 388c-7.8 19.6-22.9 34.7-42.6 42.6-29.5 11.7-99.5 9-132.1 9s-102.7 2.6-132.1-9c-19.6-7.8-34.7-22.9-42.6-42.6-11.7-29.5-9-99.5-9-132.1s-2.6-102.7 9-132.1c7.8-19.6 22.9-34.7 42.6-42.6 29.5-11.7 99.5-9 132.1-9s102.7-2.6 132.1 9c19.6 7.8 34.7 22.9 42.6 42.6 11.7 29.5 9 99.5 9 132.1s2.7 102.7-9 132.1z"},child:[]}]})(n)}function qv(n){return pa({attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M459.37 151.716c.325 4.548.325 9.097.325 13.645 0 138.72-105.583 298.558-298.558 298.558-59.452 0-114.68-17.219-161.137-47.106 8.447.974 16.568 1.299 25.34 1.299 49.055 0 94.213-16.568 130.274-44.832-46.132-.975-84.792-31.188-98.112-72.772 6.498.974 12.995 1.624 19.818 1.624 9.421 0 18.843-1.3 27.614-3.573-48.081-9.747-84.143-51.98-84.143-102.985v-1.299c13.969 7.797 30.214 12.67 47.431 13.319-28.264-18.843-46.781-51.005-46.781-87.391 0-19.492 5.197-37.36 14.294-52.954 51.655 63.675 129.3 105.258 216.365 109.807-1.624-7.797-2.599-15.918-2.599-24.04 0-57.828 46.782-104.934 104.934-104.934 30.213 0 57.502 12.67 76.67 33.137 23.715-4.548 46.456-13.32 66.599-25.34-7.798 24.366-24.366 44.833-46.132 57.827 21.117-2.273 41.584-8.122 60.426-16.243-14.292 20.791-32.161 39.308-52.628 54.253z"},child:[]}]})(n)}function xr(n){return pa({attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M0 93.7l183.6-25.3v177.4H0V93.7zm0 324.6l183.6 25.3V268.4H0v149.9zm203.8 28L448 480V268.4H203.8v177.9zm0-380.6v180.1H448V32L203.8 65.7z"},child:[]}]})(n)}function Sg(n){return pa({attr:{viewBox:"0 0 576 512"},child:[{tag:"path",attr:{d:"M259.3 17.8L194 150.2 47.9 171.5c-26.2 3.8-36.7 36.1-17.7 54.6l105.7 103-25 145.5c-4.5 26.3 23.2 46 46.4 33.7L288 439.6l130.7 68.7c23.2 12.2 50.9-7.4 46.4-33.7l-25-145.5 105.7-103c19-18.5 8.5-50.8-17.7-54.6L382 150.2 316.7 17.8c-11.7-23.6-45.6-23.9-57.4 0z"},child:[]}]})(n)}const CN=()=>r.jsxs("footer",{className:"bg-gray-900 text-white py-10",role:"contentinfo",children:[r.jsxs("div",{className:"max-w-6xl mx-auto px-4 grid grid-cols-1 md:grid-cols-4 gap-8",children:[r.jsxs("div",{children:[r.jsx("h4",{className:"font-bold text-lg mb-4 text-yellow-400",children:"jmcomic"}),r.jsx("p",{className:"text-gray-300 mb-4",children:"Your ultimate comic reading experience, anywhere, anytime."}),r.jsxs("div",{className:"flex space-x-4 text-xl",children:[r.jsx("a",{href:"#",className:"text-gray-400 hover:text-yellow-400 transition-colors duration-300","aria-label":"Twitter",children:r.jsx(qv,{})}),r.jsx("a",{href:"#",className:"text-gray-400 hover:text-yellow-400 transition-colors duration-300","aria-label":"Facebook",children:r.jsx(Hv,{})}),r.jsx("a",{href:"#",className:"text-gray-400 hover:text-yellow-400 transition-colors duration-300","aria-label":"Instagram",children:r.jsx(Pv,{})}),r.jsx("a",{href:"#",className:"text-gray-400 hover:text-yellow-400 transition-colors duration-300","aria-label":"Discord",children:r.jsx(Bv,{})})]})]}),r.jsxs("div",{children:[r.jsx("h4",{className:"font-bold text-lg mb-4 text-yellow-400",children:"Navigation"}),r.jsxs("ul",{className:"space-y-2",children:[r.jsx("li",{children:r.jsx(Me,{to:"/",className:"text-gray-300 hover:text-yellow-300 transition-colors duration-300",children:"Home"})}),r.jsx("li",{children:r.jsx(Me,{to:"/about",className:"text-gray-300 hover:text-yellow-300 transition-colors duration-300",children:"About Us"})}),r.jsx("li",{children:r.jsx(Me,{to:"/contact",className:"text-gray-300 hover:text-yellow-300 transition-colors duration-300",children:"Contact Us"})}),r.jsx("li",{children:r.jsx(Me,{to:"/download",className:"text-gray-300 hover:text-yellow-300 transition-colors duration-300",children:"Download"})}),r.jsx("li",{children:r.jsx(Me,{to:"/faqs",className:"text-gray-300 hover:text-yellow-300 transition-colors duration-300",children:"FAQs"})})]})]}),r.jsxs("div",{children:[r.jsx("h4",{className:"font-bold text-lg mb-4 text-yellow-400",children:"Legal"}),r.jsxs("ul",{className:"space-y-2",children:[r.jsx("li",{children:r.jsx(Me,{to:"/terms",className:"text-gray-300 hover:text-yellow-300 transition-colors duration-300",children:"Terms of Service"})}),r.jsx("li",{children:r.jsx(Me,{to:"/privacy",className:"text-gray-300 hover:text-yellow-300 transition-colors duration-300",children:"Privacy Policy"})}),r.jsx("li",{children:r.jsx(Me,{to:"/cookies",className:"text-gray-300 hover:text-yellow-300 transition-colors duration-300",children:"Cookie Policy"})}),r.jsx("li",{children:r.jsx(Me,{to:"/dmca",className:"text-gray-300 hover:text-yellow-300 transition-colors duration-300",children:"DMCA"})})]})]}),r.jsxs("div",{children:[r.jsx("h4",{className:"font-bold text-lg mb-4 text-yellow-400",children:"Download Now On"}),r.jsxs("div",{className:"flex flex-col space-y-2",children:[r.jsxs(Me,{to:"/download",className:"flex items-center text-gray-300 hover:text-yellow-300 transition-colors duration-300","aria-label":"Download for Android",children:[r.jsx(yr,{className:"mr-2"})," Android"]}),r.jsxs(Me,{to:"/download",className:"flex items-center text-gray-300 hover:text-yellow-300 transition-colors duration-300","aria-label":"Download for iOS",children:[r.jsx(gr,{className:"mr-2"})," iOS"]}),r.jsxs(Me,{to:"/download",className:"flex items-center text-gray-300 hover:text-yellow-300 transition-colors duration-300","aria-label":"Download for Windows",children:[r.jsx(xr,{className:"mr-2"})," Windows"]})]})]})]}),r.jsxs("div",{className:"border-t border-gray-800 mt-8 pt-8 text-center",children:[r.jsx("p",{className:"text-gray-400",children:"© 2025 jmcomic. All rights reserved."}),r.jsxs("div",{className:"mt-4 flex justify-center gap-4 text-sm",children:[r.jsx("a",{href:"/sitemap.xml",className:"text-gray-500 hover:text-yellow-400 transition-colors duration-300",children:"Sitemap"}),r.jsx("span",{className:"text-gray-700",children:"|"}),r.jsx("button",{className:"text-gray-500 hover:text-yellow-400 focus:outline-none transition-colors duration-300",onClick:()=>window.scrollTo({top:0,behavior:"smooth"}),children:"Back to top"})]})]})]}),EN=()=>r.jsx("section",{className:"py-16 bg-gray-800",id:"signup-form",children:r.jsx("div",{className:"max-w-6xl mx-auto px-6",children:r.jsxs("div",{className:"bg-gray-900 rounded-2xl p-8 md:p-12 shadow-2xl relative overflow-hidden",children:[r.jsx("div",{className:"absolute -top-20 -right-20 w-64 h-64 bg-yellow-500 opacity-10 rounded-full filter blur-3xl"}),r.jsxs("div",{className:"relative z-10",children:[r.jsx("h3",{className:"text-3xl font-bold mb-4 text-center text-yellow-400",children:"Stay Updated"}),r.jsx("p",{className:"text-gray-400 text-center max-w-2xl mx-auto mb-8",children:"Subscribe to our newsletter for the latest updates, exclusive content, and special offers."}),r.jsxs("form",{className:"max-w-md mx-auto",children:[r.jsxs("div",{className:"flex flex-col sm:flex-row gap-4",children:[r.jsx("input",{type:"email",placeholder:"Enter your email","aria-label":"Email address",className:"flex-grow px-4 py-3 rounded-lg bg-gray-800 border border-gray-700 text-white focus:outline-none focus:ring-2 focus:ring-yellow-400",required:!0}),r.jsx("button",{type:"submit",className:"bg-yellow-400 text-black px-6 py-3 rounded-lg hover:bg-yellow-300 transition-colors font-medium","aria-label":"Subscribe to newsletter",children:"Subscribe"})]}),r.jsx("div",{className:"mt-3 text-sm text-gray-400",children:r.jsxs("label",{className:"flex items-center gap-2",children:[r.jsx("input",{type:"checkbox",className:"rounded text-yellow-400 focus:ring-yellow-400"}),"I agree to receive marketing emails from jmcomic"]})})]})]})]})})}),MN=()=>{const{pathname:n}=mn();return j.useEffect(()=>{window.scrollTo(0,0)},[n]),null},RN=({children:n})=>{const i=mn();return r.jsx($.div,{initial:{opacity:0,y:8},animate:{opacity:1,y:0},transition:{duration:.15,ease:"easeOut"},style:{width:"100%",minHeight:"100%"},children:n},i.pathname)},DN=({children:n})=>r.jsxs("div",{className:"min-h-screen bg-gradient-to-br from-gray-900 to-black text-white font-sans",children:[r.jsx(vN,{}),r.jsxs("main",{className:"pt-20",id:"main-content",role:"main",children:[r.jsx(MN,{}),r.jsx(RN,{children:n})]}),r.jsx(EN,{}),r.jsx(CN,{})]}),ON=()=>{const[n,i]=j.useState(!1);j.useEffect(()=>{localStorage.getItem("cookieConsent")||setTimeout(()=>i(!0),1500)},[]);const s=()=>{localStorage.setItem("cookieConsent","true"),i(!1)},o=()=>{localStorage.setItem("cookieConsent","false"),i(!1)};return n?r.jsx($.div,{className:"fixed bottom-0 left-0 right-0 bg-gray-900 border-t border-gray-800 p-4 z-50",initial:{y:100},animate:{y:0},exit:{y:100},children:r.jsxs("div",{className:"max-w-6xl mx-auto flex flex-col md:flex-row items-center justify-between gap-4",children:[r.jsxs("div",{children:[r.jsx("h4",{className:"text-lg font-medium text-yellow-400 mb-1",children:"Cookie Consent"}),r.jsx("p",{className:"text-sm text-gray-400",children:'We use cookies to enhance your browsing experience, analyze site traffic, and personalize content. By clicking "Accept", you consent to our use of cookies.'})]}),r.jsxs("div",{className:"flex gap-3",children:[r.jsx("button",{onClick:s,className:"bg-yellow-400 text-black px-5 py-2 rounded-lg text-sm font-medium whitespace-nowrap",children:"Accept All"}),r.jsx("button",{onClick:o,className:"border border-gray-600 text-gray-300 px-5 py-2 rounded-lg text-sm whitespace-nowrap",children:"Decline"})]})]})}):null},kN=()=>{const[n,i]=j.useState(!1),[s,o]=j.useState(!1),[u,f]=j.useState(null);j.useEffect(()=>{if(window.matchMedia("(display-mode: standalone)").matches)return;const h=p=>{p.preventDefault(),f(p),o(!0),setTimeout(()=>i(!0),3e3)};return window.addEventListener("beforeinstallprompt",h),()=>{window.removeEventListener("beforeinstallprompt",h)}},[]);const m=async()=>{if(!u)return;u.prompt();const{outcome:h}=await u.userChoice;f(null),i(!1),console.log(`User ${h==="accepted"?"accepted":"dismissed"} the install prompt`)};return!n||!s?null:r.jsx($.div,{className:"fixed bottom-4 right-4 z-30 bg-gray-900 p-4 rounded-xl shadow-2xl border border-gray-800 max-w-sm",initial:{opacity:0,y:50},animate:{opacity:1,y:0},exit:{opacity:0,y:50},children:r.jsxs("div",{className:"flex items-start gap-4",children:[r.jsx("div",{className:"p-2 bg-yellow-400 rounded-lg",children:r.jsx(Bi,{className:"w-6 h-6 text-black"})}),r.jsxs("div",{className:"flex-1",children:[r.jsx("h4",{className:"text-lg font-medium text-yellow-400 mb-1",children:"Install jmcomic App"}),r.jsx("p",{className:"text-sm text-gray-400 mb-3",children:"Add jmcomic to your home screen for faster access and a better reading experience."}),r.jsxs("div",{className:"flex gap-2",children:[r.jsx("button",{onClick:m,className:"bg-yellow-400 text-black px-3 py-1.5 rounded-lg text-sm font-medium",children:"Install Now"}),r.jsx("button",{onClick:()=>i(!1),className:"text-gray-400 hover:text-white px-3 py-1.5 text-sm",children:"Maybe Later"})]})]}),r.jsx("button",{onClick:()=>i(!1),className:"text-gray-500 hover:text-white","aria-label":"Close installation prompt",children:r.jsx(Vv,{className:"w-5 h-5"})})]})})},It=({title:n,description:i,keywords:s,image:o,url:u,type:f="website",author:m="jmcomic",publishedDate:h,modifiedDate:p,robots:y="index, follow",canonical:g,structuredData:v,alternateLanguages:w,noindex:S=!1})=>{const A="jmcomic - The Ultimate Comic Reading Experience",M="Experience the best comic reading app with over 20,000 comics. Download jmcomic for Android, iOS, and Windows. Read offline, sync across devices, and discover amazing comics from around the world.",O="https://jmcomic.store/assets/og-image.jpg",E="https://jmcomic.store/",z=n?`${n} | jmcomic`:A,U=i||M,Q=o||O,H=u||E,F=g||H,ne=S?"noindex, nofollow":y;return j.useEffect(()=>{console.log("SEO Component - Setting title to:",z),document.title=z;const q=setTimeout(()=>{document.title!==z&&(console.log("Title mismatch detected, forcing update:",document.title,"vs",z),document.title=z)},100);return()=>clearTimeout(q)},[z]),r.jsxs(ax,{children:[r.jsx("title",{children:z}),r.jsx("meta",{name:"description",content:U}),s&&r.jsx("meta",{name:"keywords",content:s}),r.jsx("meta",{name:"author",content:m}),r.jsx("meta",{name:"robots",content:ne}),r.jsx("link",{rel:"canonical",href:F}),r.jsx("meta",{property:"og:type",content:f}),r.jsx("meta",{property:"og:title",content:z}),r.jsx("meta",{property:"og:description",content:U}),r.jsx("meta",{property:"og:image",content:Q}),r.jsx("meta",{property:"og:url",content:H}),r.jsx("meta",{property:"og:site_name",content:"jmcomic"}),r.jsx("meta",{property:"og:locale",content:"en_US"}),r.jsx("meta",{name:"twitter:card",content:"summary_large_image"}),r.jsx("meta",{name:"twitter:site",content:"@jmcomic"}),r.jsx("meta",{name:"twitter:creator",content:"@jmcomic"}),r.jsx("meta",{name:"twitter:title",content:z}),r.jsx("meta",{name:"twitter:description",content:U}),r.jsx("meta",{name:"twitter:image",content:Q}),f==="article"&&h&&r.jsx("meta",{property:"article:published_time",content:h}),f==="article"&&p&&r.jsx("meta",{property:"article:modified_time",content:p}),f==="article"&&m&&r.jsx("meta",{property:"article:author",content:m}),w&&w.map(q=>r.jsx("link",{rel:"alternate",hreflang:q.hreflang,href:q.href},q.hreflang)),v&&r.jsx("script",{type:"application/ld+json",children:JSON.stringify(v)})]})},wt={home:{title:"The Ultimate Comic Reading Experience",description:"Experience the best comic reading app with over 20,000 comics. Download jmcomic for Android, iOS, and Windows. Read offline, sync across devices, and discover amazing comics from around the world.",keywords:"comic reader app, read comics online, comic book app, manga reader, digital comics, comic collection, offline reading, comic app download, best comic app, free comic reader",url:"https://jmcomic.store/",structuredData:{"@context":"https://schema.org","@type":"WebApplication",name:"jmcomic",url:"https://jmcomic.store",description:"The ultimate comic reading experience with over 20,000 comics",applicationCategory:"Entertainment",operatingSystem:["Android","iOS","Windows"],offers:{"@type":"Offer",price:"0",priceCurrency:"USD"},aggregateRating:{"@type":"AggregateRating",ratingValue:"4.8",ratingCount:"10000"}}},about:{title:"About Us - Our Story & Mission",description:"Learn about jmcomic's journey to revolutionize digital comic reading. Founded in 2020, we serve millions of comic enthusiasts worldwide with innovative reading experiences and global comic collections.",keywords:"jmcomic about, comic app company, digital comics history, comic reading innovation, global comic platform, comic app developers",url:"https://jmcomic.store/about",type:"article",structuredData:{"@context":"https://schema.org","@type":"AboutPage",name:"About jmcomic",description:"Learn about jmcomic's mission to revolutionize digital comic reading",mainEntity:{"@type":"Organization",name:"jmcomic",foundingDate:"2020",description:"Digital comic reading platform serving millions worldwide"}}},download:{title:"Download jmcomic - Free Comic Reader App",description:"Download jmcomic for free on Android, iOS, and Windows. Get access to 20,000+ comics, offline reading, cross-device sync, and personalized recommendations. Start reading today!",keywords:"download jmcomic, comic app download, free comic reader, Android comic app, iOS comic app, Windows comic app, comic app store, install jmcomic",url:"https://jmcomic.store/download",structuredData:{"@context":"https://schema.org","@type":"SoftwareApplication",name:"jmcomic",operatingSystem:["Android","iOS","Windows"],applicationCategory:"Entertainment",downloadUrl:"https://jmcomic.store/download",offers:{"@type":"Offer",price:"0",priceCurrency:"USD"}}},downloadAndroid:{title:"Download jmcomic for Android - Free APK",description:"Download jmcomic Android app (APK) for free. Compatible with Android 7.0+. Features fast browsing, custom reading modes, home screen widget, and offline reading capabilities.",keywords:"jmcomic android, android comic app, comic reader android, android apk download, free android comic app, mobile comic reader",url:"https://jmcomic.store/download/android"},downloadIOS:{title:"Download jmcomic for iOS - iPhone & iPad App",description:"Get jmcomic from the App Store for iPhone and iPad. Optimized for iOS 12.0+, featuring dark mode support, iCloud sync, and enhanced iPad reading experience.",keywords:"jmcomic ios, iphone comic app, ipad comic reader, ios app store, comic reader iphone, ipad comic app, ios comic book app",url:"https://jmcomic.store/download/ios"},downloadWindows:{title:"Download jmcomic for Windows PC - Desktop App",description:"Install jmcomic on Windows 10+ for the ultimate desktop reading experience. Features multiple window support, enhanced reading tools, and custom library organization.",keywords:"jmcomic windows, windows comic app, pc comic reader, desktop comic app, windows 10 comic reader, computer comic app",url:"https://jmcomic.store/download/windows"},faqs:{title:"Frequently Asked Questions - Help & Support",description:"Find answers to common questions about jmcomic. Get help with account creation, reading features, downloads, troubleshooting, and more. Quick solutions to your queries.",keywords:"jmcomic faq, comic app help, jmcomic support, comic reader questions, app troubleshooting, comic app guide, user manual",url:"https://jmcomic.store/faqs",structuredData:{"@context":"https://schema.org","@type":"FAQPage",mainEntity:[{"@type":"Question",name:"Is jmcomic free to use?",acceptedAnswer:{"@type":"Answer",text:"Yes, jmcomic is free to download and use. We offer a basic free tier with access to thousands of comics."}},{"@type":"Question",name:"How do I create an account?",acceptedAnswer:{"@type":"Answer",text:"You can sign up using your email, Google account, or Apple ID. Simply download the app and follow the on-screen instructions."}}]}},contact:{title:"Contact Us - Get Help & Support",description:"Contact jmcomic support team for help, feedback, or inquiries. Email us at support@jmcomic.store, call +1 (800) 123-4567, or connect via social media. We're here to help!",keywords:"contact jmcomic, jmcomic support, comic app help, customer service, technical support, feedback, business inquiries",url:"https://jmcomic.store/contact",structuredData:{"@context":"https://schema.org","@type":"ContactPage",mainEntity:{"@type":"Organization",name:"jmcomic",contactPoint:{"@type":"ContactPoint",telephone:"+1-800-123-4567",contactType:"customer service",email:"support@jmcomic.store",availableLanguage:["English","Spanish","French","Japanese","Korean","Chinese"]}}}},terms:{title:"Terms of Service - User Agreement",description:"Read jmcomic's Terms of Service. Understand your rights and responsibilities when using our comic reading platform. Last updated: 2025.",keywords:"jmcomic terms, terms of service, user agreement, legal terms, app terms, comic app legal, usage policy",url:"https://jmcomic.store/terms",type:"article",robots:"index, follow",structuredData:{"@context":"https://schema.org","@type":"WebPage",name:"Terms of Service",description:"Legal terms and conditions for using jmcomic"}},privacy:{title:"Privacy Policy - How We Protect Your Data",description:"Learn how jmcomic protects your privacy and data. Understand what information we collect, how we use it, and your privacy rights. Transparent data practices.",keywords:"jmcomic privacy, privacy policy, data protection, user privacy, personal information, data security, GDPR compliance",url:"https://jmcomic.store/privacy",type:"article",structuredData:{"@context":"https://schema.org","@type":"WebPage",name:"Privacy Policy",description:"Information about how jmcomic handles user data and privacy"}},cookies:{title:"Cookie Policy - How We Use Cookies",description:"Understand how jmcomic uses cookies to enhance your experience. Learn about cookie types, management options, and your choices for cookie preferences.",keywords:"jmcomic cookies, cookie policy, website cookies, tracking, analytics cookies, advertising cookies, cookie consent",url:"https://jmcomic.store/cookies",type:"article"},dmca:{title:"DMCA Policy - Copyright Protection",description:"jmcomic's Digital Millennium Copyright Act (DMCA) policy. Learn how to file takedown notices, counter-notifications, and our commitment to copyright protection.",keywords:"jmcomic DMCA, copyright policy, takedown notice, intellectual property, copyright protection, DMCA compliance",url:"https://jmcomic.store/dmca",type:"article"},notFound:{title:"404 - Page Not Found",description:"Oops! The page you're looking for seems to have wandered off. Return to jmcomic homepage to continue exploring our amazing comic collection.",robots:"noindex, nofollow",url:"https://jmcomic.store/404",noindex:!0}},zN=n=>({android:wt.downloadAndroid,ios:wt.downloadIOS,windows:wt.downloadWindows})[n.toLowerCase()]||wt.download,pn=[{hreflang:"en",href:"https://jmcomic.store/"},{hreflang:"es",href:"https://jmcomic.store/es/"},{hreflang:"fr",href:"https://jmcomic.store/fr/"},{hreflang:"ja",href:"https://jmcomic.store/ja/"},{hreflang:"ko",href:"https://jmcomic.store/ko/"},{hreflang:"zh",href:"https://jmcomic.store/zh/"},{hreflang:"x-default",href:"https://jmcomic.store/"}],_N=({animate:n=!0})=>r.jsxs($.section,{className:"relative text-center py-28 px-4 min-h-[90vh] flex items-center justify-center overflow-hidden",initial:n?{opacity:0}:{opacity:1},animate:{opacity:1},transition:n?{duration:.8}:{duration:0},children:[r.jsxs("div",{className:"absolute inset-0 z-0",children:[r.jsx("img",{src:"https://images.unsplash.com/photo-1607083206833-8b44d179e1c6?auto=format&fit=crop&w=1350&q=80",alt:"",className:"w-full h-full object-cover","aria-hidden":"true"}),r.jsx("div",{className:"absolute inset-0 bg-black bg-opacity-70"})]}),r.jsx($.div,{className:"absolute top-20 right-10 z-20 hidden lg:block",initial:n?{x:100,opacity:0,rotate:-10}:{x:0,opacity:1,rotate:0},animate:{x:0,opacity:1,rotate:0},transition:n?{delay:1,duration:1,type:"spring",stiffness:100}:{duration:0},whileHover:{y:-10,rotate:5,transition:{duration:.3,type:"spring",stiffness:300}},children:r.jsxs("div",{className:"relative",children:[r.jsx("div",{className:"absolute -inset-4 bg-gradient-to-r from-orange-400 to-yellow-300 rounded-full opacity-30 blur-xl animate-pulse"}),r.jsx("img",{src:"/assets/jmcomic happy.png",alt:"jmcomic mascot",className:"relative w-40 h-40 object-cover rounded-full border-4 border-yellow-400 shadow-2xl"}),r.jsx("div",{className:"absolute -top-2 -right-2 w-4 h-4 bg-yellow-400 rounded-full animate-ping"}),r.jsx("div",{className:"absolute top-10 -left-3 w-2 h-2 bg-orange-400 rounded-full animate-bounce delay-300"}),r.jsx("div",{className:"absolute bottom-5 right-2 w-3 h-3 bg-yellow-300 rounded-full animate-pulse delay-700"})]})}),r.jsx($.div,{className:"absolute top-32 left-10 z-20 hidden lg:block",initial:n?{x:-100,opacity:0,rotate:10}:{x:0,opacity:1,rotate:0},animate:{x:0,opacity:1,rotate:0},transition:n?{delay:1.2,duration:1,type:"spring",stiffness:100}:{duration:0},whileHover:{y:-10,rotate:-5,transition:{duration:.3,type:"spring",stiffness:300}},children:r.jsxs("div",{className:"relative",children:[r.jsx("div",{className:"absolute -inset-4 bg-gradient-to-l from-yellow-400 to-orange-300 rounded-full opacity-25 blur-xl animate-pulse delay-500"}),r.jsx("img",{src:"/assets/jmcomic welcome.png",alt:"jmcomic character",className:"relative w-36 h-36 object-cover rounded-full border-4 border-orange-400 shadow-2xl"}),r.jsx("div",{className:"absolute -top-1 -left-2 w-3 h-3 bg-orange-400 rounded-full animate-ping delay-200"}),r.jsx("div",{className:"absolute top-8 -right-2 w-2 h-2 bg-yellow-400 rounded-full animate-bounce delay-500"}),r.jsx("div",{className:"absolute bottom-8 left-1 w-4 h-4 bg-yellow-300 rounded-full animate-pulse delay-1000"})]})}),r.jsx($.div,{className:"absolute top-16 right-4 z-20 lg:hidden",initial:n?{x:50,opacity:0}:{x:0,opacity:1},animate:{x:0,opacity:1},transition:n?{delay:1,duration:.8}:{duration:0},children:r.jsxs("div",{className:"relative",children:[r.jsx("div",{className:"absolute -inset-2 bg-gradient-to-r from-orange-400 to-yellow-300 rounded-full opacity-30 blur-lg animate-pulse"}),r.jsx("img",{src:"/assets/jmcomic happy.png",alt:"jmcomic mascot",className:"relative w-20 h-20 object-cover rounded-full border-2 border-yellow-400 shadow-xl"})]})}),r.jsxs("div",{className:"relative z-10 max-w-5xl mx-auto text-center",children:[r.jsx($.div,{initial:n?{y:-50,opacity:0}:{y:0,opacity:1},animate:{y:0,opacity:1},transition:n?{delay:.3,duration:.8}:{duration:0},children:r.jsx("h2",{className:"text-5xl sm:text-6xl lg:text-7xl font-extrabold mb-6 drop-shadow-lg bg-clip-text text-transparent bg-gradient-to-r from-yellow-400 to-yellow-200 leading-tight",children:"Unleash the World of Comics"})}),r.jsx($.p,{className:"text-xl md:text-2xl text-gray-200 mb-10 max-w-4xl mx-auto leading-relaxed",initial:n?{y:50,opacity:0}:{y:0,opacity:1},animate:{y:0,opacity:1},transition:n?{delay:.5,duration:.8}:{duration:0},children:"Access thousands of comics from around the world on any device. Your ultimate reading companion for immersive comic experiences."}),r.jsxs($.div,{className:"flex flex-col sm:flex-row gap-6 justify-center items-center mb-12",initial:n?{scale:.9,opacity:0}:{scale:1,opacity:1},animate:{scale:1,opacity:1},transition:n?{delay:.7,duration:.5}:{duration:0},children:[r.jsxs(Me,{to:"/download",className:"bg-yellow-400 text-black text-lg px-10 py-5 rounded-xl hover:bg-yellow-300 transition-all transform hover:scale-105 font-bold shadow-lg min-w-[200px] flex items-center justify-center gap-2",children:[r.jsx(Bi,{className:"w-5 h-5"}),"Download Now"]}),r.jsx("button",{onClick:()=>{var i;return(i=document.getElementById("features-section"))==null?void 0:i.scrollIntoView({behavior:"smooth"})},className:"bg-transparent border-2 border-yellow-400 text-yellow-400 text-lg px-10 py-5 rounded-xl hover:bg-yellow-400/10 transition-all transform hover:scale-105 font-bold min-w-[200px] flex items-center justify-center",children:"Explore Features"})]}),r.jsxs($.div,{className:"flex flex-col sm:flex-row items-center justify-center gap-8",initial:n?{opacity:0}:{opacity:1},animate:{opacity:1},transition:n?{delay:.9,duration:.8}:{duration:0},children:[r.jsxs("div",{className:"flex items-center",children:[r.jsx("div",{className:"flex -space-x-2",children:[1,2,3,4].map(i=>r.jsx("img",{src:`https://randomuser.me/api/portraits/men/${i+10}.jpg`,alt:"",className:"w-12 h-12 rounded-full border-3 border-gray-900","aria-hidden":"true"},i))}),r.jsxs("div",{className:"ml-4",children:[r.jsx("div",{className:"flex items-center",children:[1,2,3,4,5].map(i=>r.jsx(yN,{className:"w-5 h-5 text-yellow-400 fill-current"},i))}),r.jsx("p",{className:"text-sm text-gray-300 mt-1",children:"Trusted by 10,000+ comic enthusiasts"})]})]}),r.jsxs("div",{className:"flex items-center gap-8 text-center",children:[r.jsxs("div",{children:[r.jsx("div",{className:"text-3xl font-bold text-yellow-400",children:"20K+"}),r.jsx("div",{className:"text-sm text-gray-400",children:"Comics Available"})]}),r.jsxs("div",{children:[r.jsx("div",{className:"text-3xl font-bold text-yellow-400",children:"4.8★"}),r.jsx("div",{className:"text-sm text-gray-400",children:"User Rating"})]}),r.jsxs("div",{children:[r.jsx("div",{className:"text-3xl font-bold text-yellow-400",children:"10M+"}),r.jsx("div",{className:"text-sm text-gray-400",children:"Downloads"})]})]})]})]}),r.jsx($.div,{className:"absolute bottom-0 left-0 right-0 h-20 bg-gradient-to-t from-gray-900 to-transparent",initial:n?{opacity:0}:{opacity:1},animate:{opacity:1},transition:n?{delay:1,duration:.8}:{duration:0}})]}),VN=({animate:n=!0})=>r.jsx("section",{className:"py-20 px-4 text-center max-w-5xl mx-auto",children:r.jsxs($.div,{initial:n?{opacity:0,y:30}:{opacity:1,y:0},animate:{opacity:1,y:0},transition:n?{duration:.8}:{duration:0},children:[r.jsx("span",{className:"inline-block bg-yellow-400 bg-opacity-20 text-yellow-400 px-4 py-1 rounded-full text-sm font-medium mb-4",children:"Discover jmcomic"}),r.jsx("h2",{className:"text-4xl font-bold mb-6 text-yellow-400",children:"The Ultimate Comic Experience"}),r.jsx("p",{className:"text-lg text-gray-300 mb-8",children:"jmcomic delivers a premium comic reading experience with a focus on quality, performance, and user satisfaction. Our platform connects you with thousands of comics from diverse genres, cultures, and art styles, all in one intuitive app."}),r.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-6 mt-10",children:[r.jsxs($.div,{className:"bg-gray-800 p-6 rounded-xl shadow-lg relative overflow-hidden group",initial:n?{opacity:0,y:30}:{opacity:1,y:0},animate:{opacity:1,y:0},transition:n?{delay:.2,duration:.5}:{duration:0},whileHover:{y:-10,boxShadow:"0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04)"},children:[r.jsx("div",{className:"absolute top-0 left-0 w-full h-1 bg-gradient-to-r from-yellow-400 to-yellow-200 transform origin-left scale-x-0 group-hover:scale-x-100 transition-transform duration-300"}),r.jsx(aN,{className:"text-yellow-400 mx-auto mb-4 w-12 h-12"}),r.jsx("h3",{className:"text-xl font-semibold mb-2",children:"Immersive Reading"}),r.jsx("p",{className:"text-gray-400",children:"Customize your reading experience with multiple view modes, zoom features, and personalized settings."})]}),r.jsxs($.div,{className:"bg-gray-800 p-6 rounded-xl shadow-lg relative overflow-hidden group",initial:n?{opacity:0,y:30}:{opacity:1,y:0},animate:{opacity:1,y:0},transition:n?{delay:.4,duration:.5}:{duration:0},whileHover:{y:-10,boxShadow:"0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04)"},children:[r.jsx("div",{className:"absolute top-0 left-0 w-full h-1 bg-gradient-to-r from-yellow-400 to-yellow-200 transform origin-left scale-x-0 group-hover:scale-x-100 transition-transform duration-300"}),r.jsx(_v,{className:"text-yellow-400 mx-auto mb-4 w-12 h-12"}),r.jsx("h3",{className:"text-xl font-semibold mb-2",children:"Fan Favorite"}),r.jsx("p",{className:"text-gray-400",children:"Join our community of millions of comic enthusiasts who rate jmcomic as their #1 reading app."})]}),r.jsxs($.div,{className:"bg-gray-800 p-6 rounded-xl shadow-lg relative overflow-hidden group",initial:n?{opacity:0,y:30}:{opacity:1,y:0},animate:{opacity:1,y:0},transition:n?{delay:.6,duration:.5}:{duration:0},whileHover:{y:-10,boxShadow:"0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04)"},children:[r.jsx("div",{className:"absolute top-0 left-0 w-full h-1 bg-gradient-to-r from-yellow-400 to-yellow-200 transform origin-left scale-x-0 group-hover:scale-x-100 transition-transform duration-300"}),r.jsx(Rf,{className:"text-yellow-400 mx-auto mb-4 w-12 h-12"}),r.jsx("h3",{className:"text-xl font-semibold mb-2",children:"Global Collection"}),r.jsx("p",{className:"text-gray-400",children:"Explore diverse comics from different countries, with regular updates and new releases each week."})]})]}),r.jsx("div",{className:"mt-16 grid grid-cols-2 md:grid-cols-4 gap-6",children:[{metric:"10M+",label:"Downloads"},{metric:"4.8",label:"Average Rating"},{metric:"20,000+",label:"Comic Titles"},{metric:"120+",label:"Countries"}].map((i,s)=>r.jsxs($.div,{className:"text-center",initial:n?{opacity:0,y:20}:{opacity:1,y:0},animate:{opacity:1,y:0},transition:n?{delay:.8+s*.1,duration:.5}:{duration:0},children:[r.jsx("h4",{className:"text-4xl font-bold text-yellow-400 mb-2",children:i.metric}),r.jsx("p",{className:"text-gray-400",children:i.label})]},s))})]})});function Tg(n,i){if(typeof n=="function")return n(i);n!=null&&(n.current=i)}function Gv(...n){return i=>{let s=!1;const o=n.map(u=>{const f=Tg(u,i);return!s&&typeof f=="function"&&(s=!0),f});if(s)return()=>{for(let u=0;u<o.length;u++){const f=o[u];typeof f=="function"?f():Tg(n[u],null)}}}}function ml(...n){return j.useCallback(Gv(...n),n)}function rr(n){const i=LN(n),s=j.forwardRef((o,u)=>{const{children:f,...m}=o,h=j.Children.toArray(f),p=h.find(HN);if(p){const y=p.props.children,g=h.map(v=>v===p?j.Children.count(y)>1?j.Children.only(null):j.isValidElement(y)?y.props.children:null:v);return r.jsx(i,{...m,ref:u,children:j.isValidElement(y)?j.cloneElement(y,void 0,g):null})}return r.jsx(i,{...m,ref:u,children:f})});return s.displayName=`${n}.Slot`,s}var UN=rr("Slot");function LN(n){const i=j.forwardRef((s,o)=>{const{children:u,...f}=s;if(j.isValidElement(u)){const m=qN(u),h=PN(f,u.props);return u.type!==j.Fragment&&(h.ref=o?Gv(o,m):m),j.cloneElement(u,h)}return j.Children.count(u)>1?j.Children.only(null):null});return i.displayName=`${n}.SlotClone`,i}var BN=Symbol("radix.slottable");function HN(n){return j.isValidElement(n)&&typeof n.type=="function"&&"__radixId"in n.type&&n.type.__radixId===BN}function PN(n,i){const s={...i};for(const o in i){const u=n[o],f=i[o];/^on[A-Z]/.test(o)?u&&f?s[o]=(...h)=>{f(...h),u(...h)}:u&&(s[o]=u):o==="style"?s[o]={...u,...f}:o==="className"&&(s[o]=[u,f].filter(Boolean).join(" "))}return{...n,...s}}function qN(n){var o,u;let i=(o=Object.getOwnPropertyDescriptor(n.props,"ref"))==null?void 0:o.get,s=i&&"isReactWarning"in i&&i.isReactWarning;return s?n.ref:(i=(u=Object.getOwnPropertyDescriptor(n,"ref"))==null?void 0:u.get,s=i&&"isReactWarning"in i&&i.isReactWarning,s?n.props.ref:n.props.ref||n.ref)}function Yv(n){var i,s,o="";if(typeof n=="string"||typeof n=="number")o+=n;else if(typeof n=="object")if(Array.isArray(n)){var u=n.length;for(i=0;i<u;i++)n[i]&&(s=Yv(n[i]))&&(o&&(o+=" "),o+=s)}else for(s in n)n[s]&&(o&&(o+=" "),o+=s);return o}function Xv(){for(var n,i,s=0,o="",u=arguments.length;s<u;s++)(n=arguments[s])&&(i=Yv(n))&&(o&&(o+=" "),o+=i);return o}const Ag=n=>typeof n=="boolean"?`${n}`:n===0?"0":n,Ng=Xv,GN=(n,i)=>s=>{var o;if((i==null?void 0:i.variants)==null)return Ng(n,s==null?void 0:s.class,s==null?void 0:s.className);const{variants:u,defaultVariants:f}=i,m=Object.keys(u).map(y=>{const g=s==null?void 0:s[y],v=f==null?void 0:f[y];if(g===null)return null;const w=Ag(g)||Ag(v);return u[y][w]}),h=s&&Object.entries(s).reduce((y,g)=>{let[v,w]=g;return w===void 0||(y[v]=w),y},{}),p=i==null||(o=i.compoundVariants)===null||o===void 0?void 0:o.reduce((y,g)=>{let{class:v,className:w,...S}=g;return Object.entries(S).every(A=>{let[M,O]=A;return Array.isArray(O)?O.includes({...f,...h}[M]):{...f,...h}[M]===O})?[...y,v,w]:y},[]);return Ng(n,m,p,s==null?void 0:s.class,s==null?void 0:s.className)},Df="-",YN=n=>{const i=KN(n),{conflictingClassGroups:s,conflictingClassGroupModifiers:o}=n;return{getClassGroupId:m=>{const h=m.split(Df);return h[0]===""&&h.length!==1&&h.shift(),Kv(h,i)||XN(m)},getConflictingClassGroupIds:(m,h)=>{const p=s[m]||[];return h&&o[m]?[...p,...o[m]]:p}}},Kv=(n,i)=>{var m;if(n.length===0)return i.classGroupId;const s=n[0],o=i.nextPart.get(s),u=o?Kv(n.slice(1),o):void 0;if(u)return u;if(i.validators.length===0)return;const f=n.join(Df);return(m=i.validators.find(({validator:h})=>h(f)))==null?void 0:m.classGroupId},Cg=/^\[(.+)\]$/,XN=n=>{if(Cg.test(n)){const i=Cg.exec(n)[1],s=i==null?void 0:i.substring(0,i.indexOf(":"));if(s)return"arbitrary.."+s}},KN=n=>{const{theme:i,classGroups:s}=n,o={nextPart:new Map,validators:[]};for(const u in s)Ud(s[u],o,u,i);return o},Ud=(n,i,s,o)=>{n.forEach(u=>{if(typeof u=="string"){const f=u===""?i:Eg(i,u);f.classGroupId=s;return}if(typeof u=="function"){if(QN(u)){Ud(u(o),i,s,o);return}i.validators.push({validator:u,classGroupId:s});return}Object.entries(u).forEach(([f,m])=>{Ud(m,Eg(i,f),s,o)})})},Eg=(n,i)=>{let s=n;return i.split(Df).forEach(o=>{s.nextPart.has(o)||s.nextPart.set(o,{nextPart:new Map,validators:[]}),s=s.nextPart.get(o)}),s},QN=n=>n.isThemeGetter,ZN=n=>{if(n<1)return{get:()=>{},set:()=>{}};let i=0,s=new Map,o=new Map;const u=(f,m)=>{s.set(f,m),i++,i>n&&(i=0,o=s,s=new Map)};return{get(f){let m=s.get(f);if(m!==void 0)return m;if((m=o.get(f))!==void 0)return u(f,m),m},set(f,m){s.has(f)?s.set(f,m):u(f,m)}}},Ld="!",Bd=":",FN=Bd.length,$N=n=>{const{prefix:i,experimentalParseClassName:s}=n;let o=u=>{const f=[];let m=0,h=0,p=0,y;for(let A=0;A<u.length;A++){let M=u[A];if(m===0&&h===0){if(M===Bd){f.push(u.slice(p,A)),p=A+FN;continue}if(M==="/"){y=A;continue}}M==="["?m++:M==="]"?m--:M==="("?h++:M===")"&&h--}const g=f.length===0?u:u.substring(p),v=WN(g),w=v!==g,S=y&&y>p?y-p:void 0;return{modifiers:f,hasImportantModifier:w,baseClassName:v,maybePostfixModifierPosition:S}};if(i){const u=i+Bd,f=o;o=m=>m.startsWith(u)?f(m.substring(u.length)):{isExternal:!0,modifiers:[],hasImportantModifier:!1,baseClassName:m,maybePostfixModifierPosition:void 0}}if(s){const u=o;o=f=>s({className:f,parseClassName:u})}return o},WN=n=>n.endsWith(Ld)?n.substring(0,n.length-1):n.startsWith(Ld)?n.substring(1):n,IN=n=>{const i=Object.fromEntries(n.orderSensitiveModifiers.map(o=>[o,!0]));return o=>{if(o.length<=1)return o;const u=[];let f=[];return o.forEach(m=>{m[0]==="["||i[m]?(u.push(...f.sort(),m),f=[]):f.push(m)}),u.push(...f.sort()),u}},JN=n=>({cache:ZN(n.cacheSize),parseClassName:$N(n),sortModifiers:IN(n),...YN(n)}),eC=/\s+/,tC=(n,i)=>{const{parseClassName:s,getClassGroupId:o,getConflictingClassGroupIds:u,sortModifiers:f}=i,m=[],h=n.trim().split(eC);let p="";for(let y=h.length-1;y>=0;y-=1){const g=h[y],{isExternal:v,modifiers:w,hasImportantModifier:S,baseClassName:A,maybePostfixModifierPosition:M}=s(g);if(v){p=g+(p.length>0?" "+p:p);continue}let O=!!M,E=o(O?A.substring(0,M):A);if(!E){if(!O){p=g+(p.length>0?" "+p:p);continue}if(E=o(A),!E){p=g+(p.length>0?" "+p:p);continue}O=!1}const z=f(w).join(":"),U=S?z+Ld:z,Q=U+E;if(m.includes(Q))continue;m.push(Q);const H=u(E,O);for(let F=0;F<H.length;++F){const ne=H[F];m.push(U+ne)}p=g+(p.length>0?" "+p:p)}return p};function nC(){let n=0,i,s,o="";for(;n<arguments.length;)(i=arguments[n++])&&(s=Qv(i))&&(o&&(o+=" "),o+=s);return o}const Qv=n=>{if(typeof n=="string")return n;let i,s="";for(let o=0;o<n.length;o++)n[o]&&(i=Qv(n[o]))&&(s&&(s+=" "),s+=i);return s};function aC(n,...i){let s,o,u,f=m;function m(p){const y=i.reduce((g,v)=>v(g),n());return s=JN(y),o=s.cache.get,u=s.cache.set,f=h,h(p)}function h(p){const y=o(p);if(y)return y;const g=tC(p,s);return u(p,g),g}return function(){return f(nC.apply(null,arguments))}}const We=n=>{const i=s=>s[n]||[];return i.isThemeGetter=!0,i},Zv=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,Fv=/^\((?:(\w[\w-]*):)?(.+)\)$/i,iC=/^\d+\/\d+$/,sC=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,lC=/\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$/,oC=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,rC=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,cC=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Mi=n=>iC.test(n),fe=n=>!!n&&!Number.isNaN(Number(n)),ua=n=>!!n&&Number.isInteger(Number(n)),rd=n=>n.endsWith("%")&&fe(n.slice(0,-1)),On=n=>sC.test(n),uC=()=>!0,dC=n=>lC.test(n)&&!oC.test(n),$v=()=>!1,fC=n=>rC.test(n),mC=n=>cC.test(n),hC=n=>!ee(n)&&!te(n),pC=n=>Yi(n,Jv,$v),ee=n=>Zv.test(n),_a=n=>Yi(n,eb,dC),cd=n=>Yi(n,bC,fe),Mg=n=>Yi(n,Wv,$v),yC=n=>Yi(n,Iv,mC),Xo=n=>Yi(n,tb,fC),te=n=>Fv.test(n),$s=n=>Xi(n,eb),gC=n=>Xi(n,wC),Rg=n=>Xi(n,Wv),xC=n=>Xi(n,Jv),vC=n=>Xi(n,Iv),Ko=n=>Xi(n,tb,!0),Yi=(n,i,s)=>{const o=Zv.exec(n);return o?o[1]?i(o[1]):s(o[2]):!1},Xi=(n,i,s=!1)=>{const o=Fv.exec(n);return o?o[1]?i(o[1]):s:!1},Wv=n=>n==="position"||n==="percentage",Iv=n=>n==="image"||n==="url",Jv=n=>n==="length"||n==="size"||n==="bg-size",eb=n=>n==="length",bC=n=>n==="number",wC=n=>n==="family-name",tb=n=>n==="shadow",jC=()=>{const n=We("color"),i=We("font"),s=We("text"),o=We("font-weight"),u=We("tracking"),f=We("leading"),m=We("breakpoint"),h=We("container"),p=We("spacing"),y=We("radius"),g=We("shadow"),v=We("inset-shadow"),w=We("text-shadow"),S=We("drop-shadow"),A=We("blur"),M=We("perspective"),O=We("aspect"),E=We("ease"),z=We("animate"),U=()=>["auto","avoid","all","avoid-page","page","left","right","column"],Q=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],H=()=>[...Q(),te,ee],F=()=>["auto","hidden","clip","visible","scroll"],ne=()=>["auto","contain","none"],q=()=>[te,ee,p],ie=()=>[Mi,"full","auto",...q()],xe=()=>[ua,"none","subgrid",te,ee],He=()=>["auto",{span:["full",ua,te,ee]},ua,te,ee],ze=()=>[ua,"auto",te,ee],Ot=()=>["auto","min","max","fr",te,ee],ht=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],_e=()=>["start","end","center","stretch","center-safe","end-safe"],L=()=>["auto",...q()],K=()=>[Mi,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...q()],Y=()=>[n,te,ee],ve=()=>[...Q(),Rg,Mg,{position:[te,ee]}],N=()=>["no-repeat",{repeat:["","x","y","space","round"]}],X=()=>["auto","cover","contain",xC,pC,{size:[te,ee]}],W=()=>[rd,$s,_a],Z=()=>["","none","full",y,te,ee],I=()=>["",fe,$s,_a],he=()=>["solid","dashed","dotted","double"],ce=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],we=()=>[fe,rd,Rg,Mg],Re=()=>["","none",A,te,ee],jt=()=>["none",fe,te,ee],Un=()=>["none",fe,te,ee],Ln=()=>[fe,te,ee],Bn=()=>[Mi,"full",...q()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[On],breakpoint:[On],color:[uC],container:[On],"drop-shadow":[On],ease:["in","out","in-out"],font:[hC],"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",fe],text:[On],"text-shadow":[On],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",Mi,ee,te,O]}],container:["container"],columns:[{columns:[fe,ee,te,h]}],"break-after":[{"break-after":U()}],"break-before":[{"break-before":U()}],"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:H()}],overflow:[{overflow:F()}],"overflow-x":[{"overflow-x":F()}],"overflow-y":[{"overflow-y":F()}],overscroll:[{overscroll:ne()}],"overscroll-x":[{"overscroll-x":ne()}],"overscroll-y":[{"overscroll-y":ne()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:ie()}],"inset-x":[{"inset-x":ie()}],"inset-y":[{"inset-y":ie()}],start:[{start:ie()}],end:[{end:ie()}],top:[{top:ie()}],right:[{right:ie()}],bottom:[{bottom:ie()}],left:[{left:ie()}],visibility:["visible","invisible","collapse"],z:[{z:[ua,"auto",te,ee]}],basis:[{basis:[Mi,"full","auto",h,...q()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[fe,Mi,"auto","initial","none",ee]}],grow:[{grow:["",fe,te,ee]}],shrink:[{shrink:["",fe,te,ee]}],order:[{order:[ua,"first","last","none",te,ee]}],"grid-cols":[{"grid-cols":xe()}],"col-start-end":[{col:He()}],"col-start":[{"col-start":ze()}],"col-end":[{"col-end":ze()}],"grid-rows":[{"grid-rows":xe()}],"row-start-end":[{row:He()}],"row-start":[{"row-start":ze()}],"row-end":[{"row-end":ze()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":Ot()}],"auto-rows":[{"auto-rows":Ot()}],gap:[{gap:q()}],"gap-x":[{"gap-x":q()}],"gap-y":[{"gap-y":q()}],"justify-content":[{justify:[...ht(),"normal"]}],"justify-items":[{"justify-items":[..._e(),"normal"]}],"justify-self":[{"justify-self":["auto",..._e()]}],"align-content":[{content:["normal",...ht()]}],"align-items":[{items:[..._e(),{baseline:["","last"]}]}],"align-self":[{self:["auto",..._e(),{baseline:["","last"]}]}],"place-content":[{"place-content":ht()}],"place-items":[{"place-items":[..._e(),"baseline"]}],"place-self":[{"place-self":["auto",..._e()]}],p:[{p:q()}],px:[{px:q()}],py:[{py:q()}],ps:[{ps:q()}],pe:[{pe:q()}],pt:[{pt:q()}],pr:[{pr:q()}],pb:[{pb:q()}],pl:[{pl:q()}],m:[{m:L()}],mx:[{mx:L()}],my:[{my:L()}],ms:[{ms:L()}],me:[{me:L()}],mt:[{mt:L()}],mr:[{mr:L()}],mb:[{mb:L()}],ml:[{ml:L()}],"space-x":[{"space-x":q()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":q()}],"space-y-reverse":["space-y-reverse"],size:[{size:K()}],w:[{w:[h,"screen",...K()]}],"min-w":[{"min-w":[h,"screen","none",...K()]}],"max-w":[{"max-w":[h,"screen","none","prose",{screen:[m]},...K()]}],h:[{h:["screen",...K()]}],"min-h":[{"min-h":["screen","none",...K()]}],"max-h":[{"max-h":["screen",...K()]}],"font-size":[{text:["base",s,$s,_a]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[o,te,cd]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",rd,ee]}],"font-family":[{font:[gC,ee,i]}],"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,te,ee]}],"line-clamp":[{"line-clamp":[fe,"none",te,cd]}],leading:[{leading:[f,...q()]}],"list-image":[{"list-image":["none",te,ee]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",te,ee]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:Y()}],"text-color":[{text:Y()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...he(),"wavy"]}],"text-decoration-thickness":[{decoration:[fe,"from-font","auto",te,_a]}],"text-decoration-color":[{decoration:Y()}],"underline-offset":[{"underline-offset":[fe,"auto",te,ee]}],"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",te,ee]}],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",te,ee]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:ve()}],"bg-repeat":[{bg:N()}],"bg-size":[{bg:X()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},ua,te,ee],radial:["",te,ee],conic:[ua,te,ee]},vC,yC]}],"bg-color":[{bg:Y()}],"gradient-from-pos":[{from:W()}],"gradient-via-pos":[{via:W()}],"gradient-to-pos":[{to:W()}],"gradient-from":[{from:Y()}],"gradient-via":[{via:Y()}],"gradient-to":[{to:Y()}],rounded:[{rounded:Z()}],"rounded-s":[{"rounded-s":Z()}],"rounded-e":[{"rounded-e":Z()}],"rounded-t":[{"rounded-t":Z()}],"rounded-r":[{"rounded-r":Z()}],"rounded-b":[{"rounded-b":Z()}],"rounded-l":[{"rounded-l":Z()}],"rounded-ss":[{"rounded-ss":Z()}],"rounded-se":[{"rounded-se":Z()}],"rounded-ee":[{"rounded-ee":Z()}],"rounded-es":[{"rounded-es":Z()}],"rounded-tl":[{"rounded-tl":Z()}],"rounded-tr":[{"rounded-tr":Z()}],"rounded-br":[{"rounded-br":Z()}],"rounded-bl":[{"rounded-bl":Z()}],"border-w":[{border:I()}],"border-w-x":[{"border-x":I()}],"border-w-y":[{"border-y":I()}],"border-w-s":[{"border-s":I()}],"border-w-e":[{"border-e":I()}],"border-w-t":[{"border-t":I()}],"border-w-r":[{"border-r":I()}],"border-w-b":[{"border-b":I()}],"border-w-l":[{"border-l":I()}],"divide-x":[{"divide-x":I()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":I()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...he(),"hidden","none"]}],"divide-style":[{divide:[...he(),"hidden","none"]}],"border-color":[{border:Y()}],"border-color-x":[{"border-x":Y()}],"border-color-y":[{"border-y":Y()}],"border-color-s":[{"border-s":Y()}],"border-color-e":[{"border-e":Y()}],"border-color-t":[{"border-t":Y()}],"border-color-r":[{"border-r":Y()}],"border-color-b":[{"border-b":Y()}],"border-color-l":[{"border-l":Y()}],"divide-color":[{divide:Y()}],"outline-style":[{outline:[...he(),"none","hidden"]}],"outline-offset":[{"outline-offset":[fe,te,ee]}],"outline-w":[{outline:["",fe,$s,_a]}],"outline-color":[{outline:Y()}],shadow:[{shadow:["","none",g,Ko,Xo]}],"shadow-color":[{shadow:Y()}],"inset-shadow":[{"inset-shadow":["none",v,Ko,Xo]}],"inset-shadow-color":[{"inset-shadow":Y()}],"ring-w":[{ring:I()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:Y()}],"ring-offset-w":[{"ring-offset":[fe,_a]}],"ring-offset-color":[{"ring-offset":Y()}],"inset-ring-w":[{"inset-ring":I()}],"inset-ring-color":[{"inset-ring":Y()}],"text-shadow":[{"text-shadow":["none",w,Ko,Xo]}],"text-shadow-color":[{"text-shadow":Y()}],opacity:[{opacity:[fe,te,ee]}],"mix-blend":[{"mix-blend":[...ce(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":ce()}],"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":[fe]}],"mask-image-linear-from-pos":[{"mask-linear-from":we()}],"mask-image-linear-to-pos":[{"mask-linear-to":we()}],"mask-image-linear-from-color":[{"mask-linear-from":Y()}],"mask-image-linear-to-color":[{"mask-linear-to":Y()}],"mask-image-t-from-pos":[{"mask-t-from":we()}],"mask-image-t-to-pos":[{"mask-t-to":we()}],"mask-image-t-from-color":[{"mask-t-from":Y()}],"mask-image-t-to-color":[{"mask-t-to":Y()}],"mask-image-r-from-pos":[{"mask-r-from":we()}],"mask-image-r-to-pos":[{"mask-r-to":we()}],"mask-image-r-from-color":[{"mask-r-from":Y()}],"mask-image-r-to-color":[{"mask-r-to":Y()}],"mask-image-b-from-pos":[{"mask-b-from":we()}],"mask-image-b-to-pos":[{"mask-b-to":we()}],"mask-image-b-from-color":[{"mask-b-from":Y()}],"mask-image-b-to-color":[{"mask-b-to":Y()}],"mask-image-l-from-pos":[{"mask-l-from":we()}],"mask-image-l-to-pos":[{"mask-l-to":we()}],"mask-image-l-from-color":[{"mask-l-from":Y()}],"mask-image-l-to-color":[{"mask-l-to":Y()}],"mask-image-x-from-pos":[{"mask-x-from":we()}],"mask-image-x-to-pos":[{"mask-x-to":we()}],"mask-image-x-from-color":[{"mask-x-from":Y()}],"mask-image-x-to-color":[{"mask-x-to":Y()}],"mask-image-y-from-pos":[{"mask-y-from":we()}],"mask-image-y-to-pos":[{"mask-y-to":we()}],"mask-image-y-from-color":[{"mask-y-from":Y()}],"mask-image-y-to-color":[{"mask-y-to":Y()}],"mask-image-radial":[{"mask-radial":[te,ee]}],"mask-image-radial-from-pos":[{"mask-radial-from":we()}],"mask-image-radial-to-pos":[{"mask-radial-to":we()}],"mask-image-radial-from-color":[{"mask-radial-from":Y()}],"mask-image-radial-to-color":[{"mask-radial-to":Y()}],"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":Q()}],"mask-image-conic-pos":[{"mask-conic":[fe]}],"mask-image-conic-from-pos":[{"mask-conic-from":we()}],"mask-image-conic-to-pos":[{"mask-conic-to":we()}],"mask-image-conic-from-color":[{"mask-conic-from":Y()}],"mask-image-conic-to-color":[{"mask-conic-to":Y()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:ve()}],"mask-repeat":[{mask:N()}],"mask-size":[{mask:X()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",te,ee]}],filter:[{filter:["","none",te,ee]}],blur:[{blur:Re()}],brightness:[{brightness:[fe,te,ee]}],contrast:[{contrast:[fe,te,ee]}],"drop-shadow":[{"drop-shadow":["","none",S,Ko,Xo]}],"drop-shadow-color":[{"drop-shadow":Y()}],grayscale:[{grayscale:["",fe,te,ee]}],"hue-rotate":[{"hue-rotate":[fe,te,ee]}],invert:[{invert:["",fe,te,ee]}],saturate:[{saturate:[fe,te,ee]}],sepia:[{sepia:["",fe,te,ee]}],"backdrop-filter":[{"backdrop-filter":["","none",te,ee]}],"backdrop-blur":[{"backdrop-blur":Re()}],"backdrop-brightness":[{"backdrop-brightness":[fe,te,ee]}],"backdrop-contrast":[{"backdrop-contrast":[fe,te,ee]}],"backdrop-grayscale":[{"backdrop-grayscale":["",fe,te,ee]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[fe,te,ee]}],"backdrop-invert":[{"backdrop-invert":["",fe,te,ee]}],"backdrop-opacity":[{"backdrop-opacity":[fe,te,ee]}],"backdrop-saturate":[{"backdrop-saturate":[fe,te,ee]}],"backdrop-sepia":[{"backdrop-sepia":["",fe,te,ee]}],"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",te,ee]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[fe,"initial",te,ee]}],ease:[{ease:["linear","initial",E,te,ee]}],delay:[{delay:[fe,te,ee]}],animate:[{animate:["none",z,te,ee]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[M,te,ee]}],"perspective-origin":[{"perspective-origin":H()}],rotate:[{rotate:jt()}],"rotate-x":[{"rotate-x":jt()}],"rotate-y":[{"rotate-y":jt()}],"rotate-z":[{"rotate-z":jt()}],scale:[{scale:Un()}],"scale-x":[{"scale-x":Un()}],"scale-y":[{"scale-y":Un()}],"scale-z":[{"scale-z":Un()}],"scale-3d":["scale-3d"],skew:[{skew:Ln()}],"skew-x":[{"skew-x":Ln()}],"skew-y":[{"skew-y":Ln()}],transform:[{transform:[te,ee,"","none","gpu","cpu"]}],"transform-origin":[{origin:H()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:Bn()}],"translate-x":[{"translate-x":Bn()}],"translate-y":[{"translate-y":Bn()}],"translate-z":[{"translate-z":Bn()}],"translate-none":["translate-none"],accent:[{accent:Y()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:Y()}],"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",te,ee]}],"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-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-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",te,ee]}],fill:[{fill:["none",...Y()]}],"stroke-w":[{stroke:[fe,$s,_a,cd]}],stroke:[{stroke:["none",...Y()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},SC=aC(jC);function vr(...n){return SC(Xv(n))}const TC=GN("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",{variants:{variant:{default:"bg-primary text-primary-foreground shadow-xs hover:bg-primary/90",destructive:"bg-destructive text-white shadow-xs hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"border bg-background shadow-xs hover:bg-accent hover:text-accent-foreground dark:bg-input/30 dark:border-input dark:hover:bg-input/50",secondary:"bg-secondary text-secondary-foreground shadow-xs hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent/50",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2 has-[>svg]:px-3",sm:"h-8 rounded-md gap-1.5 px-3 has-[>svg]:px-2.5",lg:"h-10 rounded-md px-6 has-[>svg]:px-4",icon:"size-9"}},defaultVariants:{variant:"default",size:"default"}});function Pa({className:n,variant:i,size:s,asChild:o=!1,...u}){const f=o?UN:"button";return r.jsx(f,{"data-slot":"button",className:vr(TC({variant:i,size:s,className:n})),...u})}const AC=[{title:"Extensive Library",desc:"Access our growing collection of over 20,000 comics across all popular genres and styles.",icon:XA},{title:"Offline Reading",desc:"Download your favorites to read anywhere, anytime, with no internet connection required.",icon:Bi},{title:"Cross-Platform Sync",desc:"Seamlessly switch between your phone, tablet, and computer with perfect reading progress sync.",icon:Rf},{title:"Personalized Collections",desc:"Create custom collections, bookmark favorites, and receive recommendations based on your preferences.",icon:_v}],NC=({animate:n=!0})=>r.jsx("section",{id:"features-section",className:"py-24 px-6 bg-gray-900",children:r.jsxs($.div,{initial:n?{opacity:0}:{opacity:1},animate:{opacity:1},transition:n?{duration:.8}:{duration:0},children:[r.jsx("span",{className:"block text-center text-yellow-400 font-medium mb-4",children:"POWERFUL FEATURES"}),r.jsx("h3",{className:"text-4xl font-bold text-center mb-4 text-yellow-400",children:"Everything You Need"}),r.jsx("p",{className:"text-center text-gray-400 max-w-3xl mx-auto mb-16",children:"Discover why jmcomic is the preferred choice for comic enthusiasts worldwide"}),r.jsx("div",{className:"grid md:grid-cols-2 lg:grid-cols-4 gap-8 max-w-6xl mx-auto",children:AC.map((i,s)=>r.jsxs($.div,{className:"bg-gray-800 rounded-2xl p-6 shadow-md text-center overflow-hidden relative group",initial:n?{opacity:0,y:50}:{opacity:1,y:0},animate:{opacity:1,y:0},transition:n?{duration:.5,delay:s*.1}:{duration:0},whileHover:{scale:1.05,boxShadow:"0 25px 50px -12px rgba(0, 0, 0, 0.25)"},children:[r.jsx("div",{className:"absolute top-0 left-0 w-full h-1 bg-gradient-to-r from-yellow-400 to-yellow-200 transform origin-left scale-x-0 group-hover:scale-x-100 transition-transform duration-300"}),r.jsx(i.icon,{className:"w-16 h-16 mx-auto mb-4 text-yellow-400"}),r.jsx("h3",{className:"text-xl font-semibold mb-3 text-yellow-400 group-hover:text-yellow-300 transition-colors",children:i.title}),r.jsx("p",{className:"text-gray-300",children:i.desc})]},s))}),r.jsx("div",{className:"mt-24 max-w-6xl mx-auto",children:r.jsxs("div",{className:"grid md:grid-cols-2 gap-12 items-center",children:[r.jsxs($.div,{initial:n?{opacity:0,x:-30}:{opacity:1,x:0},animate:{opacity:1,x:0},transition:n?{delay:.6,duration:.8}:{duration:0},children:[r.jsx("span",{className:"inline-block bg-yellow-400 bg-opacity-20 text-yellow-400 px-4 py-1 rounded-full text-sm font-medium mb-4",children:"ADVANCED READING"}),r.jsx("h3",{className:"text-3xl font-bold mb-4 text-white",children:"Customized Reading Experience"}),r.jsx("p",{className:"text-gray-300 mb-6",children:"Personalize your reading with multiple view modes, brightness control, page transitions, and more. Our app adapts to your preferences for the most comfortable reading experience."}),r.jsx("ul",{className:"space-y-3",children:["Vertical scrolling or page-by-page navigation","Automatic night mode for comfortable night reading","Smart panel view for mobile devices","Custom color themes and font options"].map((i,s)=>r.jsxs($.li,{className:"flex items-start gap-2",initial:n?{opacity:0,x:-20}:{opacity:1,x:0},animate:{opacity:1,x:0},transition:n?{delay:.8+s*.1,duration:.5}:{duration:0},children:[r.jsx(Vd,{className:"text-yellow-400 mt-1 flex-shrink-0"}),r.jsx("span",{className:"text-gray-300",children:i})]},s))}),r.jsx(Me,{to:"/about",children:r.jsx(Pa,{className:"mt-8 bg-yellow-400 text-black px-6 py-3 rounded-lg hover:bg-yellow-300 transition-colors",children:"Learn More"})})]}),r.jsxs($.div,{className:"relative",initial:n?{opacity:0,x:30}:{opacity:1,x:0},animate:{opacity:1,x:0},transition:n?{delay:.8,duration:.8}:{duration:0},children:[r.jsx("div",{className:"absolute -inset-4 bg-gradient-to-r from-yellow-400 to-yellow-300 rounded-xl opacity-20 blur-xl"}),r.jsx("div",{className:"relative bg-gray-800 p-4 rounded-xl overflow-hidden shadow-2xl",children:r.jsx("img",{src:"/assets/jmcomic_explain.png",alt:"App screenshot showing reading interface",className:"rounded-lg shadow-lg"})})]})]})})]})}),CC=[{name:"Alex R.",text:"Best comic app ever! So smooth and intuitive. The reading experience is just phenomenal.",rating:5,image:"https://randomuser.me/api/portraits/men/32.jpg"},{name:"Sam T.",text:"Tons of content, love the offline mode! Perfect for my daily commute.",rating:4,image:"https://randomuser.me/api/portraits/women/44.jpg"},{name:"Dana W.",text:"Cross-device sync is amazing. Highly recommend for any comic lover!",rating:5,image:"https://randomuser.me/api/portraits/women/68.jpg"},{name:"Chris M.",text:"I use it daily. Clean UI and fast performance. Can't imagine reading comics any other way now.",rating:5,image:"https://randomuser.me/api/portraits/men/75.jpg"},{name:"Lena K.",text:"Finally a comic app that does everything right. The library is massive and constantly updated.",rating:5,image:"https://randomuser.me/api/portraits/women/90.jpg"},{name:"Mike J.",text:"The best I've used so far. Great selection of comics and the reading view is perfect.",rating:4,image:"https://randomuser.me/api/portraits/men/22.jpg"}],EC=({animate:n=!0})=>r.jsx("section",{className:"py-24 bg-gray-800",children:r.jsxs($.div,{initial:n?{opacity:0}:{opacity:1},animate:{opacity:1},transition:n?{duration:.8}:{duration:0},children:[r.jsx("span",{className:"block text-center text-yellow-400 font-medium mb-4",children:"TESTIMONIALS"}),r.jsx("h2",{className:"text-center text-4xl font-bold mb-4 text-yellow-400",children:"What Our Users Say"}),r.jsx("p",{className:"text-center text-gray-400 max-w-3xl mx-auto mb-16",children:"Join thousands of satisfied comic enthusiasts who've made jmcomic their daily reading companion"}),r.jsx("div",{className:"max-w-6xl mx-auto px-6 grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8",children:CC.map((i,s)=>r.jsxs($.div,{className:"bg-gray-900 p-8 rounded-xl shadow-md relative overflow-hidden",initial:n?{opacity:0,y:50}:{opacity:1,y:0},animate:{opacity:1,y:0},transition:n?{duration:.5,delay:s*.1}:{duration:0},whileHover:{y:-8,boxShadow:"0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04)"},children:[r.jsx("div",{className:"absolute top-0 left-0 w-full h-1 bg-yellow-400"}),r.jsxs("div",{className:"flex gap-1 mb-4",children:[[...Array(i.rating)].map((o,u)=>r.jsx(Sg,{className:"text-yellow-400"},u)),[...Array(5-i.rating)].map((o,u)=>r.jsx(Sg,{className:"text-gray-600"},u+i.rating))]}),r.jsxs("p",{className:"italic text-gray-300 mb-6 text-lg",children:['"',i.text,'"']}),r.jsxs("div",{className:"flex items-center mt-6",children:[r.jsx("img",{src:i.image,alt:i.name,className:"w-12 h-12 rounded-full mr-4 border-2 border-yellow-400"}),r.jsxs("div",{children:[r.jsx("p",{className:"font-bold text-gray-200",children:i.name}),r.jsx("p",{className:"text-gray-400 text-sm",children:"Verified User"})]})]})]},s))}),r.jsxs($.div,{className:"text-center mt-16",initial:n?{opacity:0,y:30}:{opacity:1,y:0},animate:{opacity:1,y:0},transition:n?{delay:.8,duration:.6}:{duration:0},children:[r.jsx("h3",{className:"text-2xl font-bold mb-4 text-white",children:"Join Our Growing Community"}),r.jsx("p",{className:"text-gray-400 mb-8 max-w-2xl mx-auto",children:"Experience why thousands of comic fans switch to jmcomic every day"}),r.jsx(Me,{to:"/download",children:r.jsx("button",{className:"bg-yellow-400 text-black px-8 py-4 rounded-xl hover:bg-yellow-300 transition-all font-bold",children:"Download Now"})})]})]})}),MC=({animate:n=!0})=>r.jsxs("section",{className:"py-24 px-6 bg-gray-900 text-white text-center relative overflow-hidden",children:[r.jsx($.div,{className:"absolute inset-0 bg-gradient-to-br from-yellow-500 to-yellow-700 opacity-10",initial:n?{opacity:0}:{opacity:.1},animate:{opacity:.1},transition:n?{duration:1}:{duration:0}}),r.jsxs($.div,{initial:n?{opacity:0,y:30}:{opacity:1,y:0},animate:{opacity:1,y:0},transition:n?{duration:.8}:{duration:0},className:"relative z-10",children:[r.jsx("h2",{className:"text-4xl font-bold mb-4 text-yellow-400",children:"Download jmcomic Today"}),r.jsx("p",{className:"mb-10 text-gray-300 max-w-2xl mx-auto",children:"Available on all major platforms. Start reading your favorite comics anywhere, anytime."}),r.jsxs("div",{className:"flex flex-wrap justify-center gap-6",children:[r.jsx($.div,{initial:n?{opacity:0,y:20}:{opacity:1,y:0},animate:{opacity:1,y:0},transition:n?{delay:.2,duration:.5}:{duration:0},whileHover:{scale:1.05,boxShadow:"0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04)"},whileTap:{scale:.98},children:r.jsxs(Me,{to:"/download",className:"bg-black text-white px-8 py-4 rounded-xl flex items-center gap-3 hover:bg-gray-900 transition-all shadow-lg border border-gray-700","aria-label":"Download for Android",children:[r.jsx(yr,{className:"text-2xl text-yellow-400"}),r.jsxs("div",{className:"text-left",children:[r.jsx("div",{className:"text-xs",children:"DOWNLOAD FOR"}),r.jsx("div",{className:"font-bold",children:"Android"})]})]})}),r.jsx($.div,{initial:n?{opacity:0,y:20}:{opacity:1,y:0},animate:{opacity:1,y:0},transition:n?{delay:.4,duration:.5}:{duration:0},whileHover:{scale:1.05,boxShadow:"0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04)"},whileTap:{scale:.98},children:r.jsxs(Me,{to:"/download",className:"bg-black text-white px-8 py-4 rounded-xl flex items-center gap-3 hover:bg-gray-900 transition-all shadow-lg border border-gray-700","aria-label":"Download for iOS",children:[r.jsx(gr,{className:"text-2xl text-yellow-400"}),r.jsxs("div",{className:"text-left",children:[r.jsx("div",{className:"text-xs",children:"DOWNLOAD FOR"}),r.jsx("div",{className:"font-bold",children:"App Store"})]})]})}),r.jsx($.div,{initial:n?{opacity:0,y:20}:{opacity:1,y:0},animate:{opacity:1,y:0},transition:n?{delay:.6,duration:.5}:{duration:0},whileHover:{scale:1.05,boxShadow:"0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04)"},whileTap:{scale:.98},children:r.jsxs(Me,{to:"/download",className:"bg-black text-white px-8 py-4 rounded-xl flex items-center gap-3 hover:bg-gray-900 transition-all shadow-lg border border-gray-700","aria-label":"Download for Windows",children:[r.jsx(xr,{className:"text-2xl text-yellow-400"}),r.jsxs("div",{className:"text-left",children:[r.jsx("div",{className:"text-xs",children:"GET IT FOR"}),r.jsx("div",{className:"font-bold",children:"Windows"})]})]})})]})]})]}),RC=()=>{const{shouldAnimate:n,useMarkPageVisited:i}=hn();i("home");const s=n("home");return r.jsxs(r.Fragment,{children:[r.jsx(It,{...wt.home,alternateLanguages:pn}),r.jsx(_N,{animate:s}),r.jsx(VN,{animate:s}),r.jsx(NC,{animate:s}),r.jsx(EC,{animate:s}),r.jsx(MC,{animate:s})]})},DC=()=>{const{shouldAnimate:n,useMarkPageVisited:i}=hn();i("about");const s=n("about");return r.jsxs(r.Fragment,{children:[r.jsx(It,{...wt.about,alternateLanguages:pn}),r.jsx("section",{className:"py-20 px-6 max-w-5xl mx-auto",children:r.jsxs("div",{className:"relative",children:[r.jsxs($.div,{initial:s?{x:-100,opacity:0}:{x:0,opacity:1},animate:{x:0,opacity:1},transition:s?{duration:.8}:{duration:0},children:[r.jsx("h2",{className:"text-5xl font-bold text-center mb-8 text-yellow-400",children:"About jmcomic"}),r.jsx("div",{className:"w-20 h-1 bg-yellow-400 mx-auto mb-12"})]}),r.jsxs("div",{className:"grid md:grid-cols-2 gap-12 items-center mb-20",children:[r.jsxs($.div,{initial:s?{x:-50,opacity:0}:{x:0,opacity:1},animate:{x:0,opacity:1},transition:s?{delay:.2,duration:.8}:{duration:0},children:[r.jsx("h3",{className:"text-2xl font-semibold mb-4 text-yellow-300",children:"Our Story"}),r.jsx("p",{className:"text-gray-300 mb-4",children:"jmcomic was founded in 2020 by a team of passionate comic book lovers and technology enthusiasts with a vision to revolutionize the digital comic reading experience."}),r.jsx("p",{className:"text-gray-300 mb-4",children:"What started as a small project among friends quickly grew into one of the most beloved comic reading platforms, now serving millions of readers worldwide."}),r.jsx("p",{className:"text-gray-300",children:"Our mission is to make high-quality comics accessible to everyone, anywhere, while supporting creators and the comic industry as a whole."})]}),r.jsx($.div,{className:"rounded-xl overflow-hidden shadow-2xl",initial:s?{x:50,opacity:0}:{x:0,opacity:1},animate:{x:0,opacity:1},transition:s?{delay:.4,duration:.8}:{duration:0},children:r.jsx("img",{src:"/assets/youwannaknowaboutme.png",alt:"Team working",className:"w-full h-full object-cover"})})]}),r.jsxs($.div,{initial:s?{y:50,opacity:0}:{y:0,opacity:1},animate:{y:0,opacity:1},transition:s?{delay:.6,duration:.8}:{duration:0},children:[r.jsx("h3",{className:"text-2xl font-semibold mb-6 text-yellow-300 text-center",children:"What Makes Us Different"}),r.jsx("div",{className:"grid md:grid-cols-3 gap-6 mt-10",children:[{title:"User-Centered Design",desc:"Every feature is thoughtfully designed with our users in mind, ensuring an intuitive and enjoyable experience."},{title:"Global Comic Library",desc:"We partner with publishers worldwide to bring you an extensive collection spanning different cultures and art styles."},{title:"Community Connection",desc:"jmcomic is more than an app—it's a vibrant community where comic lovers connect, share, and discover together."}].map(({title:o,desc:u},f)=>r.jsxs($.div,{className:"bg-gray-800 p-8 rounded-xl shadow-xl",initial:s?{opacity:0,y:30}:{opacity:1,y:0},animate:{opacity:1,y:0},transition:s?{delay:.8+f*.2,duration:.5}:{duration:0},whileHover:{y:-10,boxShadow:"0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04)"},children:[r.jsx("h4",{className:"text-xl font-semibold mb-3 text-yellow-400",children:o}),r.jsx("p",{className:"text-gray-300",children:u})]},f))})]}),r.jsxs($.div,{className:"mt-20 text-center",initial:s?{opacity:0}:{opacity:1},animate:{opacity:1},transition:s?{delay:1.4,duration:.8}:{duration:0},children:[r.jsx("h3",{className:"text-2xl font-semibold mb-6 text-yellow-300",children:"Join Our Journey"}),r.jsx("p",{className:"text-gray-300 max-w-3xl mx-auto mb-8",children:"We're constantly evolving and enhancing jmcomic to create the ultimate comic reading experience. Whether you're a casual reader or a dedicated comic enthusiast, we invite you to be part of our story."}),r.jsx(Me,{to:"/download",children:r.jsx("button",{className:"bg-yellow-400 text-black px-8 py-4 rounded-xl hover:bg-yellow-300 transition-all transform hover:scale-105 font-bold",children:"Download jmcomic Now"})})]})]})})]})},OC=()=>{const n=qg(),{shouldAnimate:i,useMarkPageVisited:s}=hn();s("download");const o=i("download"),u=f=>{n(`/download/${f.toLowerCase()}`)};return r.jsxs(r.Fragment,{children:[r.jsx(It,{...wt.download,alternateLanguages:pn}),r.jsx("section",{className:"py-20 px-4 sm:px-6 bg-gray-900 overflow-hidden",children:r.jsxs("div",{className:"max-w-6xl mx-auto",children:[r.jsxs($.div,{initial:o?{y:-30,opacity:0}:{y:0,opacity:1},animate:{y:0,opacity:1},transition:o?{duration:.8}:{duration:0},className:"text-center mb-16",children:[r.jsx("h2",{className:"text-4xl sm:text-5xl font-bold mb-6 text-yellow-400",children:"Download jmcomic"}),r.jsx("p",{className:"text-center text-gray-400 max-w-3xl mx-auto text-base sm:text-lg px-4",children:"Experience the ultimate comic reading platform on your favorite device. Download jmcomic and dive into thousands of comics today."})]}),r.jsxs("div",{className:"grid md:grid-cols-2 gap-8 lg:gap-16 mb-20 items-center",children:[r.jsxs($.div,{initial:o?{x:-50,opacity:0}:{x:0,opacity:1},animate:{x:0,opacity:1},transition:o?{delay:.2,duration:.8}:{duration:0},className:"order-2 md:order-1",children:[r.jsx("h3",{className:"text-2xl sm:text-3xl font-semibold mb-6 text-yellow-300",children:"Why Download jmcomic?"}),r.jsx("div",{className:"space-y-4 sm:space-y-6",children:[{title:"Offline Reading",description:"Download your favorite comics and read them without an internet connection."},{title:"Optimized Performance",description:"Enjoy smooth scrolling and fast loading times, even on older devices."},{title:"Cross-Device Sync",description:"Continue reading where you left off on any of your devices."},{title:"Regular Updates",description:"Get the latest features and improvements with frequent app updates."}].map((f,m)=>r.jsxs($.div,{className:"flex items-start gap-3 sm:gap-4",initial:o?{opacity:0,x:-20}:{opacity:1,x:0},animate:{opacity:1,x:0},transition:o?{delay:.4+m*.1,duration:.5}:{duration:0},children:[r.jsx("div",{className:"mt-1 bg-yellow-400 p-1 rounded-full flex-shrink-0",children:r.jsx(Vd,{className:"w-4 h-4 sm:w-5 sm:h-5 text-black"})}),r.jsxs("div",{className:"min-w-0 flex-1",children:[r.jsx("h4",{className:"text-lg sm:text-xl font-medium text-yellow-200 mb-1",children:f.title}),r.jsx("p",{className:"text-gray-400 text-sm sm:text-base",children:f.description})]})]},m))})]}),r.jsxs($.div,{className:"relative order-1 md:order-2",initial:o?{x:50,opacity:0}:{x:0,opacity:1},animate:{x:0,opacity:1},transition:o?{delay:.4,duration:.8}:{duration:0},children:[r.jsx("div",{className:"absolute -top-6 -left-6 sm:-top-10 sm:-left-10 w-32 h-32 sm:w-64 sm:h-64 bg-yellow-500 opacity-20 rounded-full filter blur-3xl"}),r.jsx("div",{className:"absolute -bottom-6 -right-6 sm:-bottom-10 sm:-right-10 w-32 h-32 sm:w-64 sm:h-64 bg-yellow-500 opacity-10 rounded-full filter blur-3xl"}),r.jsx("div",{className:"relative z-10 max-w-full",children:r.jsx("img",{src:"/assets/reading comic.png",alt:"jmcomic on multiple devices",className:"w-full h-auto rounded-2xl shadow-2xl relative z-10"})})]})]}),r.jsxs($.div,{initial:o?{y:50,opacity:0}:{opacity:1,y:0},animate:{opacity:1,y:0},transition:o?{delay:.6,duration:.8}:{duration:0},children:[r.jsx("h3",{className:"text-2xl sm:text-3xl font-semibold mb-10 text-center text-yellow-300",children:"Available Platforms"}),r.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-6 sm:gap-8",children:[{platform:"Android",icon:yr,color:"bg-green-600",details:"For Android 7.0 and above",features:["Fast browsing","Custom reading modes","Home screen widget"]},{platform:"iOS",icon:gr,color:"bg-gray-700",details:"For iOS 12.0 and above",features:["Optimized for iPad","Dark mode support","iCloud sync"]},{platform:"Windows",icon:xr,color:"bg-blue-600",details:"For Windows 10 and above",features:["Multiple window support","Enhanced reading tools","Custom library organization"]}].map((f,m)=>r.jsxs($.div,{className:"bg-gray-800 rounded-xl overflow-hidden shadow-xl w-full",initial:o?{opacity:0,y:30}:{opacity:1,y:0},animate:{opacity:1,y:0},transition:o?{delay:.8+m*.2,duration:.5}:{duration:0},whileHover:{y:-10,boxShadow:"0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04)"},children:[r.jsx("div",{className:`${f.color} p-4 sm:p-6 flex items-center justify-center`,children:r.jsx(f.icon,{className:"text-white text-4xl sm:text-6xl"})}),r.jsxs("div",{className:"p-4 sm:p-6",children:[r.jsx("h4",{className:"text-xl sm:text-2xl font-semibold mb-2 text-yellow-400",children:f.platform}),r.jsx("p",{className:"text-gray-400 mb-4 text-sm sm:text-base",children:f.details}),r.jsx("ul",{className:"space-y-2",children:f.features.map((h,p)=>r.jsxs("li",{className:"flex items-center gap-2 text-gray-300 text-sm sm:text-base",children:[r.jsx(Vd,{className:"w-4 h-4 text-yellow-400 flex-shrink-0"}),r.jsx("span",{className:"min-w-0",children:h})]},p))}),r.jsxs(Pa,{onClick:()=>u(f.platform),className:"w-full mt-4 sm:mt-6 bg-yellow-400 text-black font-semibold py-2 sm:py-3 rounded-lg hover:bg-yellow-300 transition-all text-sm sm:text-base",children:["Download for ",f.platform]})]})]},m))})]}),r.jsxs($.div,{className:"mt-16 sm:mt-20 text-center",initial:o?{opacity:0}:{opacity:1},animate:{opacity:1},transition:o?{delay:1.4,duration:.8}:{duration:0},children:[r.jsx("h3",{className:"text-xl sm:text-2xl font-semibold mb-6 text-yellow-300",children:"System Requirements"}),r.jsx("div",{className:"inline-block bg-gray-800 px-4 sm:px-8 py-4 sm:py-6 rounded-xl max-w-full overflow-x-auto",children:r.jsxs("div",{className:"grid grid-cols-1 sm:grid-cols-3 gap-4 sm:gap-8 text-left min-w-0",children:[r.jsxs("div",{className:"min-w-0",children:[r.jsx("h4",{className:"text-base sm:text-lg font-medium mb-3 text-yellow-400",children:"Android"}),r.jsxs("ul",{className:"space-y-2 text-gray-300 text-sm sm:text-base",children:[r.jsx("li",{children:"• Android 7.0+"}),r.jsx("li",{children:"• 2GB RAM"}),r.jsx("li",{children:"• 150MB storage"})]})]}),r.jsxs("div",{className:"min-w-0",children:[r.jsx("h4",{className:"text-base sm:text-lg font-medium mb-3 text-yellow-400",children:"iOS"}),r.jsxs("ul",{className:"space-y-2 text-gray-300 text-sm sm:text-base",children:[r.jsx("li",{children:"• iOS 12.0+"}),r.jsx("li",{children:"• Compatible with iPhone, iPad"}),r.jsx("li",{children:"• 200MB storage"})]})]}),r.jsxs("div",{className:"min-w-0",children:[r.jsx("h4",{className:"text-base sm:text-lg font-medium mb-3 text-yellow-400",children:"Windows"}),r.jsxs("ul",{className:"space-y-2 text-gray-300 text-sm sm:text-base",children:[r.jsx("li",{children:"• Windows 10+"}),r.jsx("li",{children:"• 4GB RAM"}),r.jsx("li",{children:"• 500MB storage"})]})]})]})})]}),r.jsxs($.div,{className:"mt-16 sm:mt-20 text-center bg-gray-800 rounded-2xl p-6 sm:p-8 border border-gray-700",initial:o?{opacity:0,y:30}:{opacity:1,y:0},animate:{opacity:1,y:0},transition:o?{delay:1.6,duration:.8}:{duration:0},children:[r.jsxs("div",{className:"flex items-center justify-center mb-4",children:[r.jsx(IA,{className:"w-6 h-6 sm:w-8 sm:h-8 text-yellow-400 mr-3 flex-shrink-0"}),r.jsx("h3",{className:"text-xl sm:text-2xl font-semibold text-yellow-300",children:"Have Questions?"})]}),r.jsx("p",{className:"text-gray-400 mb-6 max-w-2xl mx-auto text-sm sm:text-base px-4",children:"Need help with installation, troubleshooting, or want to know more about jmcomic's features? Check out our comprehensive FAQ section for quick answers to common questions."}),r.jsx(Me,{to:"/faqs",children:r.jsx(Pa,{className:"bg-yellow-400 text-black px-6 sm:px-8 py-3 sm:py-4 rounded-xl hover:bg-yellow-300 transition-all transform hover:scale-105 font-bold shadow-lg text-sm sm:text-base",children:"View FAQs"})})]})]})})]})};function Of(n,i=[]){let s=[];function o(f,m){const h=j.createContext(m),p=s.length;s=[...s,m];const y=v=>{var E;const{scope:w,children:S,...A}=v,M=((E=w==null?void 0:w[n])==null?void 0:E[p])||h,O=j.useMemo(()=>A,Object.values(A));return r.jsx(M.Provider,{value:O,children:S})};y.displayName=f+"Provider";function g(v,w){var M;const S=((M=w==null?void 0:w[n])==null?void 0:M[p])||h,A=j.useContext(S);if(A)return A;if(m!==void 0)return m;throw new Error(`\`${v}\` must be used within \`${f}\``)}return[y,g]}const u=()=>{const f=s.map(m=>j.createContext(m));return function(h){const p=(h==null?void 0:h[n])||f;return j.useMemo(()=>({[`__scope${n}`]:{...h,[n]:p}}),[h,p])}};return u.scopeName=n,[o,kC(u,...i)]}function kC(...n){const i=n[0];if(n.length===1)return i;const s=()=>{const o=n.map(u=>({useScope:u(),scopeName:u.scopeName}));return function(f){const m=o.reduce((h,{useScope:p,scopeName:y})=>{const v=p(f)[`__scope${y}`];return{...h,...v}},{});return j.useMemo(()=>({[`__scope${i.scopeName}`]:m}),[m])}};return s.scopeName=i.scopeName,s}function zC(n){const i=n+"CollectionProvider",[s,o]=Of(i),[u,f]=s(i,{collectionRef:{current:null},itemMap:new Map}),m=M=>{const{scope:O,children:E}=M,z=ge.useRef(null),U=ge.useRef(new Map).current;return r.jsx(u,{scope:O,itemMap:U,collectionRef:z,children:E})};m.displayName=i;const h=n+"CollectionSlot",p=rr(h),y=ge.forwardRef((M,O)=>{const{scope:E,children:z}=M,U=f(h,E),Q=ml(O,U.collectionRef);return r.jsx(p,{ref:Q,children:z})});y.displayName=h;const g=n+"CollectionItemSlot",v="data-radix-collection-item",w=rr(g),S=ge.forwardRef((M,O)=>{const{scope:E,children:z,...U}=M,Q=ge.useRef(null),H=ml(O,Q),F=f(g,E);return ge.useEffect(()=>(F.itemMap.set(Q,{ref:Q,...U}),()=>void F.itemMap.delete(Q))),r.jsx(w,{[v]:"",ref:H,children:z})});S.displayName=g;function A(M){const O=f(n+"CollectionConsumer",M);return ge.useCallback(()=>{const z=O.collectionRef.current;if(!z)return[];const U=Array.from(z.querySelectorAll(`[${v}]`));return Array.from(O.itemMap.values()).sort((F,ne)=>U.indexOf(F.ref.current)-U.indexOf(ne.ref.current))},[O.collectionRef,O.itemMap])}return[{Provider:m,Slot:y,ItemSlot:S},A,o]}function nb(n,i,{checkForDefaultPrevented:s=!0}={}){return function(u){if(n==null||n(u),s===!1||!u.defaultPrevented)return i==null?void 0:i(u)}}var hl=globalThis!=null&&globalThis.document?j.useLayoutEffect:()=>{},_C=Dg[" useInsertionEffect ".trim().toString()]||hl;function kf({prop:n,defaultProp:i,onChange:s=()=>{},caller:o}){const[u,f,m]=VC({defaultProp:i,onChange:s}),h=n!==void 0,p=h?n:u;{const g=j.useRef(n!==void 0);j.useEffect(()=>{const v=g.current;v!==h&&console.warn(`${o} is changing from ${v?"controlled":"uncontrolled"} to ${h?"controlled":"uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),g.current=h},[h,o])}const y=j.useCallback(g=>{var v;if(h){const w=UC(g)?g(n):g;w!==n&&((v=m.current)==null||v.call(m,w))}else f(g)},[h,n,f,m]);return[p,y]}function VC({defaultProp:n,onChange:i}){const[s,o]=j.useState(n),u=j.useRef(s),f=j.useRef(i);return _C(()=>{f.current=i},[i]),j.useEffect(()=>{var m;u.current!==s&&((m=f.current)==null||m.call(f,s),u.current=s)},[s,u]),[s,o,f]}function UC(n){return typeof n=="function"}var LC=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],Sl=LC.reduce((n,i)=>{const s=rr(`Primitive.${i}`),o=j.forwardRef((u,f)=>{const{asChild:m,...h}=u,p=m?s:i;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),r.jsx(p,{...h,ref:f})});return o.displayName=`Primitive.${i}`,{...n,[i]:o}},{});function BC(n,i){return j.useReducer((s,o)=>i[s][o]??s,n)}var ab=n=>{const{present:i,children:s}=n,o=HC(i),u=typeof s=="function"?s({present:o.isPresent}):j.Children.only(s),f=ml(o.ref,PC(u));return typeof s=="function"||o.isPresent?j.cloneElement(u,{ref:f}):null};ab.displayName="Presence";function HC(n){const[i,s]=j.useState(),o=j.useRef(null),u=j.useRef(n),f=j.useRef("none"),m=n?"mounted":"unmounted",[h,p]=BC(m,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return j.useEffect(()=>{const y=Qo(o.current);f.current=h==="mounted"?y:"none"},[h]),hl(()=>{const y=o.current,g=u.current;if(g!==n){const w=f.current,S=Qo(y);n?p("MOUNT"):S==="none"||(y==null?void 0:y.display)==="none"?p("UNMOUNT"):p(g&&w!==S?"ANIMATION_OUT":"UNMOUNT"),u.current=n}},[n,p]),hl(()=>{if(i){let y;const g=i.ownerDocument.defaultView??window,v=S=>{const M=Qo(o.current).includes(S.animationName);if(S.target===i&&M&&(p("ANIMATION_END"),!u.current)){const O=i.style.animationFillMode;i.style.animationFillMode="forwards",y=g.setTimeout(()=>{i.style.animationFillMode==="forwards"&&(i.style.animationFillMode=O)})}},w=S=>{S.target===i&&(f.current=Qo(o.current))};return i.addEventListener("animationstart",w),i.addEventListener("animationcancel",v),i.addEventListener("animationend",v),()=>{g.clearTimeout(y),i.removeEventListener("animationstart",w),i.removeEventListener("animationcancel",v),i.removeEventListener("animationend",v)}}else p("ANIMATION_END")},[i,p]),{isPresent:["mounted","unmountSuspended"].includes(h),ref:j.useCallback(y=>{o.current=y?getComputedStyle(y):null,s(y)},[])}}function Qo(n){return(n==null?void 0:n.animationName)||"none"}function PC(n){var o,u;let i=(o=Object.getOwnPropertyDescriptor(n.props,"ref"))==null?void 0:o.get,s=i&&"isReactWarning"in i&&i.isReactWarning;return s?n.ref:(i=(u=Object.getOwnPropertyDescriptor(n,"ref"))==null?void 0:u.get,s=i&&"isReactWarning"in i&&i.isReactWarning,s?n.props.ref:n.props.ref||n.ref)}var qC=Dg[" useId ".trim().toString()]||(()=>{}),GC=0;function ib(n){const[i,s]=j.useState(qC());return hl(()=>{s(o=>o??String(GC++))},[n]),i?`radix-${i}`:""}var br="Collapsible",[YC,sb]=Of(br),[XC,zf]=YC(br),lb=j.forwardRef((n,i)=>{const{__scopeCollapsible:s,open:o,defaultOpen:u,disabled:f,onOpenChange:m,...h}=n,[p,y]=kf({prop:o,defaultProp:u??!1,onChange:m,caller:br});return r.jsx(XC,{scope:s,disabled:f,contentId:ib(),open:p,onOpenToggle:j.useCallback(()=>y(g=>!g),[y]),children:r.jsx(Sl.div,{"data-state":Vf(p),"data-disabled":f?"":void 0,...h,ref:i})})});lb.displayName=br;var ob="CollapsibleTrigger",rb=j.forwardRef((n,i)=>{const{__scopeCollapsible:s,...o}=n,u=zf(ob,s);return r.jsx(Sl.button,{type:"button","aria-controls":u.contentId,"aria-expanded":u.open||!1,"data-state":Vf(u.open),"data-disabled":u.disabled?"":void 0,disabled:u.disabled,...o,ref:i,onClick:nb(n.onClick,u.onOpenToggle)})});rb.displayName=ob;var _f="CollapsibleContent",cb=j.forwardRef((n,i)=>{const{forceMount:s,...o}=n,u=zf(_f,n.__scopeCollapsible);return r.jsx(ab,{present:s||u.open,children:({present:f})=>r.jsx(KC,{...o,ref:i,present:f})})});cb.displayName=_f;var KC=j.forwardRef((n,i)=>{const{__scopeCollapsible:s,present:o,children:u,...f}=n,m=zf(_f,s),[h,p]=j.useState(o),y=j.useRef(null),g=ml(i,y),v=j.useRef(0),w=v.current,S=j.useRef(0),A=S.current,M=m.open||h,O=j.useRef(M),E=j.useRef(void 0);return j.useEffect(()=>{const z=requestAnimationFrame(()=>O.current=!1);return()=>cancelAnimationFrame(z)},[]),hl(()=>{const z=y.current;if(z){E.current=E.current||{transitionDuration:z.style.transitionDuration,animationName:z.style.animationName},z.style.transitionDuration="0s",z.style.animationName="none";const U=z.getBoundingClientRect();v.current=U.height,S.current=U.width,O.current||(z.style.transitionDuration=E.current.transitionDuration,z.style.animationName=E.current.animationName),p(o)}},[m.open,o]),r.jsx(Sl.div,{"data-state":Vf(m.open),"data-disabled":m.disabled?"":void 0,id:m.contentId,hidden:!M,...f,ref:g,style:{"--radix-collapsible-content-height":w?`${w}px`:void 0,"--radix-collapsible-content-width":A?`${A}px`:void 0,...n.style},children:M&&u})});function Vf(n){return n?"open":"closed"}var QC=lb,ZC=rb,FC=cb,$C=j.createContext(void 0);function WC(n){const i=j.useContext($C);return n||i||"ltr"}var Jt="Accordion",IC=["Home","End","ArrowDown","ArrowUp","ArrowLeft","ArrowRight"],[Uf,JC,eE]=zC(Jt),[wr,CE]=Of(Jt,[eE,sb]),Lf=sb(),ub=ge.forwardRef((n,i)=>{const{type:s,...o}=n,u=o,f=o;return r.jsx(Uf.Provider,{scope:n.__scopeAccordion,children:s==="multiple"?r.jsx(iE,{...f,ref:i}):r.jsx(aE,{...u,ref:i})})});ub.displayName=Jt;var[db,tE]=wr(Jt),[fb,nE]=wr(Jt,{collapsible:!1}),aE=ge.forwardRef((n,i)=>{const{value:s,defaultValue:o,onValueChange:u=()=>{},collapsible:f=!1,...m}=n,[h,p]=kf({prop:s,defaultProp:o??"",onChange:u,caller:Jt});return r.jsx(db,{scope:n.__scopeAccordion,value:ge.useMemo(()=>h?[h]:[],[h]),onItemOpen:p,onItemClose:ge.useCallback(()=>f&&p(""),[f,p]),children:r.jsx(fb,{scope:n.__scopeAccordion,collapsible:f,children:r.jsx(mb,{...m,ref:i})})})}),iE=ge.forwardRef((n,i)=>{const{value:s,defaultValue:o,onValueChange:u=()=>{},...f}=n,[m,h]=kf({prop:s,defaultProp:o??[],onChange:u,caller:Jt}),p=ge.useCallback(g=>h((v=[])=>[...v,g]),[h]),y=ge.useCallback(g=>h((v=[])=>v.filter(w=>w!==g)),[h]);return r.jsx(db,{scope:n.__scopeAccordion,value:m,onItemOpen:p,onItemClose:y,children:r.jsx(fb,{scope:n.__scopeAccordion,collapsible:!0,children:r.jsx(mb,{...f,ref:i})})})}),[sE,jr]=wr(Jt),mb=ge.forwardRef((n,i)=>{const{__scopeAccordion:s,disabled:o,dir:u,orientation:f="vertical",...m}=n,h=ge.useRef(null),p=ml(h,i),y=JC(s),v=WC(u)==="ltr",w=nb(n.onKeyDown,S=>{var q;if(!IC.includes(S.key))return;const A=S.target,M=y().filter(ie=>{var xe;return!((xe=ie.ref.current)!=null&&xe.disabled)}),O=M.findIndex(ie=>ie.ref.current===A),E=M.length;if(O===-1)return;S.preventDefault();let z=O;const U=0,Q=E-1,H=()=>{z=O+1,z>Q&&(z=U)},F=()=>{z=O-1,z<U&&(z=Q)};switch(S.key){case"Home":z=U;break;case"End":z=Q;break;case"ArrowRight":f==="horizontal"&&(v?H():F());break;case"ArrowDown":f==="vertical"&&H();break;case"ArrowLeft":f==="horizontal"&&(v?F():H());break;case"ArrowUp":f==="vertical"&&F();break}const ne=z%E;(q=M[ne].ref.current)==null||q.focus()});return r.jsx(sE,{scope:s,disabled:o,direction:u,orientation:f,children:r.jsx(Uf.Slot,{scope:s,children:r.jsx(Sl.div,{...m,"data-orientation":f,ref:p,onKeyDown:o?void 0:w})})})}),cr="AccordionItem",[lE,Bf]=wr(cr),hb=ge.forwardRef((n,i)=>{const{__scopeAccordion:s,value:o,...u}=n,f=jr(cr,s),m=tE(cr,s),h=Lf(s),p=ib(),y=o&&m.value.includes(o)||!1,g=f.disabled||n.disabled;return r.jsx(lE,{scope:s,open:y,disabled:g,triggerId:p,children:r.jsx(QC,{"data-orientation":f.orientation,"data-state":bb(y),...h,...u,ref:i,disabled:g,open:y,onOpenChange:v=>{v?m.onItemOpen(o):m.onItemClose(o)}})})});hb.displayName=cr;var pb="AccordionHeader",yb=ge.forwardRef((n,i)=>{const{__scopeAccordion:s,...o}=n,u=jr(Jt,s),f=Bf(pb,s);return r.jsx(Sl.h3,{"data-orientation":u.orientation,"data-state":bb(f.open),"data-disabled":f.disabled?"":void 0,...o,ref:i})});yb.displayName=pb;var Hd="AccordionTrigger",gb=ge.forwardRef((n,i)=>{const{__scopeAccordion:s,...o}=n,u=jr(Jt,s),f=Bf(Hd,s),m=nE(Hd,s),h=Lf(s);return r.jsx(Uf.ItemSlot,{scope:s,children:r.jsx(ZC,{"aria-disabled":f.open&&!m.collapsible||void 0,"data-orientation":u.orientation,id:f.triggerId,...h,...o,ref:i})})});gb.displayName=Hd;var xb="AccordionContent",vb=ge.forwardRef((n,i)=>{const{__scopeAccordion:s,...o}=n,u=jr(Jt,s),f=Bf(xb,s),m=Lf(s);return r.jsx(FC,{role:"region","aria-labelledby":f.triggerId,"data-orientation":u.orientation,...m,...o,ref:i,style:{"--radix-accordion-content-height":"var(--radix-collapsible-content-height)","--radix-accordion-content-width":"var(--radix-collapsible-content-width)",...n.style}})});vb.displayName=xb;function bb(n){return n?"open":"closed"}var oE=ub,rE=hb,cE=yb,uE=gb,dE=vb;function fE({...n}){return r.jsx(oE,{"data-slot":"accordion",...n})}function mE({className:n,...i}){return r.jsx(rE,{"data-slot":"accordion-item",className:vr("border-b last:border-b-0",n),...i})}function hE({className:n,children:i,...s}){return r.jsx(cE,{className:"flex",children:r.jsxs(uE,{"data-slot":"accordion-trigger",className:vr("focus-visible:border-ring focus-visible:ring-ring/50 flex flex-1 items-start justify-between gap-4 rounded-md py-4 text-left text-sm font-medium transition-all outline-none hover:underline focus-visible:ring-[3px] disabled:pointer-events-none disabled:opacity-50 [&[data-state=open]>svg]:rotate-180",n),...s,children:[i,r.jsx(ZA,{className:"text-muted-foreground pointer-events-none size-4 shrink-0 translate-y-0.5 transition-transform duration-200"})]})})}function pE({className:n,children:i,...s}){return r.jsx(dE,{"data-slot":"accordion-content",className:"data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down overflow-hidden text-sm",...s,children:r.jsx("div",{className:vr("pt-0 pb-4",n),children:i})})}const yE=()=>{const{shouldAnimate:n,useMarkPageVisited:i}=hn();i("faqs");const s=n("faqs");return r.jsxs(r.Fragment,{children:[r.jsx(It,{...wt.faqs,alternateLanguages:pn}),r.jsx("section",{className:"py-20 px-6 max-w-4xl mx-auto",children:r.jsxs($.div,{initial:s?{scale:.95,opacity:0}:{scale:1,opacity:1},animate:{scale:1,opacity:1},transition:s?{duration:.6}:{duration:0},children:[r.jsxs("div",{className:"text-center mb-16",children:[r.jsx("h2",{className:"text-5xl font-bold mb-6 text-yellow-400",children:"Frequently Asked Questions"}),r.jsx("p",{className:"text-gray-400 max-w-3xl mx-auto",children:"Find answers to the most common questions about jmcomic. Can't find what you're looking for? Contact our support team for assistance."})]}),r.jsx(fE,{type:"single",collapsible:!0,className:"space-y-4",children:[["Is jmcomic free to use?","Yes, jmcomic is free to download and use. We offer a basic free tier with access to thousands of comics. For premium content and advanced features, we offer an optional subscription plan."],["How do I create an account?","You can sign up using your email, Google account, or Apple ID. Simply download the app and follow the on-screen instructions to create your account."],["Can I upload my own comics?","Absolutely! We support independent creators. Sign up for a Creator account and start sharing your stories with our global community."],["Do I need an account to read comics?","No account is needed for free content. However, creating an account unlocks extra features like bookmarking, commenting, and synchronizing your reading progress across devices."],["How do I customize my reading experience?","jmcomic offers various customization options. You can choose from multiple themes, fonts, reading directions, and layout settings by tapping the settings icon while reading."],["Is the app safe for children?","We provide robust parental controls and content ratings. Parents can set up age restrictions and control what content is accessible for younger readers."],["How do I download comics?","You can download comics directly from the app by clicking on the download icon on each comic page. Downloaded comics will be available in your 'Downloads' section for offline reading."],["Does jmcomic work offline?","Yes! You can download your favorite comics and read them offline at any time. Your reading progress will sync once you're back online."],["How do I report a bug or suggest a feature?","We value your feedback! Go to Settings > Support > Report a Bug or Suggest a Feature. You can also contact us directly through our support email or social media channels."],["What languages are supported?","jmcomic currently supports English, Spanish, French, Japanese, Korean, and Chinese. We're constantly adding more languages based on user demand."]].map(([o,u],f)=>r.jsx($.div,{initial:s?{opacity:0,y:20}:{opacity:1,y:0},animate:{opacity:1,y:0},transition:s?{delay:.2+.1*f,duration:.5}:{duration:0},children:r.jsxs(mE,{value:`q${f}`,className:"border border-gray-700 rounded-xl overflow-hidden",children:[r.jsx(hE,{className:"px-6 py-4 bg-gray-800 text-yellow-300 hover:bg-gray-700 transition-colors text-left text-lg font-medium",children:o}),r.jsx(pE,{className:"px-6 py-4 bg-gray-900 text-gray-300",children:u})]})},f))}),r.jsx($.div,{className:"mt-16 bg-gray-800 rounded-2xl p-8 border border-gray-700",initial:s?{opacity:0}:{opacity:1},animate:{opacity:1},transition:s?{delay:1.2,duration:.8}:{duration:0},children:r.jsxs("div",{className:"grid md:grid-cols-2 gap-8 items-center",children:[r.jsxs($.div,{initial:s?{x:-30,opacity:0}:{x:0,opacity:1},animate:{x:0,opacity:1},transition:s?{delay:1.4,duration:.8}:{duration:0},children:[r.jsx("h3",{className:"text-2xl font-semibold mb-4 text-yellow-300",children:"Still Have Questions?"}),r.jsx("p",{className:"text-gray-400 mb-6",children:"Our support team is always ready to help. Get in touch with us and we'll get back to you as soon as possible."}),r.jsx(Me,{to:"/contact",children:r.jsx(Pa,{className:"bg-yellow-400 text-black px-8 py-4 rounded-xl hover:bg-yellow-300 transition-all transform hover:scale-105 font-bold",children:"Contact Support"})})]}),r.jsx($.div,{className:"flex justify-center",initial:s?{x:30,opacity:0}:{x:0,opacity:1},animate:{x:0,opacity:1},transition:s?{delay:1.6,duration:.8}:{duration:0},children:r.jsxs("div",{className:"relative",children:[r.jsx("div",{className:"absolute -inset-4 bg-gradient-to-r from-yellow-400 to-orange-300 rounded-full opacity-20 blur-xl animate-pulse"}),r.jsx("img",{src:"/assets/jmcomic contact.png",alt:"jmcomic support mascot",className:"relative w-32 h-32 object-cover rounded-full border-4 border-yellow-400 shadow-xl"}),r.jsx("div",{className:"absolute -top-2 -right-2 w-6 h-6 bg-yellow-400 rounded-full flex items-center justify-center",children:r.jsx("span",{className:"text-black text-xs font-bold",children:"?"})}),r.jsx("div",{className:"absolute -bottom-1 -left-2 w-4 h-4 bg-green-400 rounded-full animate-pulse"})]})})]})})]})})]})},gE=()=>{const{shouldAnimate:n,useMarkPageVisited:i}=hn();i("contact");const s=n("contact");return r.jsxs(r.Fragment,{children:[r.jsx(It,{...wt.contact,alternateLanguages:pn}),r.jsx("section",{className:"py-20 px-6 bg-gray-950",children:r.jsxs("div",{className:"max-w-5xl mx-auto",children:[r.jsxs($.div,{initial:s?{y:-30,opacity:0}:{y:0,opacity:1},animate:{y:0,opacity:1},transition:s?{duration:.8}:{duration:0},className:"text-center mb-16",children:[r.jsx("h2",{className:"text-5xl font-bold mb-6 text-yellow-400",children:"Contact Us"}),r.jsx("p",{className:"text-center text-gray-400 max-w-3xl mx-auto",children:"We'd love to hear from you! Whether you have a question, feedback, or need assistance, our team is here to help."})]}),r.jsxs($.div,{initial:s?{opacity:0,y:30}:{opacity:1,y:0},animate:{opacity:1,y:0},transition:s?{delay:.2,duration:.8}:{duration:0},className:"bg-gray-800 rounded-2xl p-8 mb-16 flex flex-col md:flex-row items-center gap-8 border border-gray-700",children:[r.jsx("div",{className:"flex-shrink-0",children:r.jsx("img",{src:"/assets/jmcomic welcome.png",alt:"jmcomic friendly mascot",className:"w-48 h-48 object-cover rounded-2xl shadow-lg"})}),r.jsxs("div",{className:"text-center md:text-left",children:[r.jsx("h3",{className:"text-3xl font-bold text-yellow-400 mb-4",children:"Hi there! I'm here to help! 👋"}),r.jsx("p",{className:"text-gray-300 text-lg leading-relaxed",children:"Got questions about jmcomic? Need technical support? Or just want to say hello? I'm excited to connect with you! Our friendly support team is always ready to assist you with anything you need. Don't hesitate to reach out!"})]})]}),r.jsxs("div",{className:"grid md:grid-cols-2 gap-16 mb-20",children:[r.jsxs($.div,{initial:s?{x:-50,opacity:0}:{x:0,opacity:1},animate:{x:0,opacity:1},transition:s?{delay:.4,duration:.8}:{duration:0},className:"space-y-10",children:[r.jsxs("div",{children:[r.jsx("h3",{className:"text-2xl font-semibold mb-6 text-yellow-300",children:"Get In Touch"}),r.jsxs("div",{className:"space-y-6",children:[r.jsxs($.div,{className:"flex items-start gap-4",initial:s?{opacity:0,x:-20}:{opacity:1,x:0},animate:{opacity:1,x:0},transition:s?{delay:.6,duration:.5}:{duration:0},children:[r.jsx("div",{className:"mt-1 bg-gray-800 p-3 rounded-full",children:r.jsx(rN,{className:"w-6 h-6 text-yellow-400"})}),r.jsxs("div",{children:[r.jsx("h4",{className:"text-xl font-medium text-yellow-200 mb-1",children:"Email"}),r.jsx("p",{className:"text-gray-400",children:"support@jmcomic.store"}),r.jsx("p",{className:"text-gray-400",children:"business@jmcomic.store"})]})]}),r.jsxs($.div,{className:"flex items-start gap-4",initial:s?{opacity:0,x:-20}:{opacity:1,x:0},animate:{opacity:1,x:0},transition:s?{delay:.7,duration:.5}:{duration:0},children:[r.jsx("div",{className:"mt-1 bg-gray-800 p-3 rounded-full",children:r.jsx(fN,{className:"w-6 h-6 text-yellow-400"})}),r.jsxs("div",{children:[r.jsx("h4",{className:"text-xl font-medium text-yellow-200 mb-1",children:"Phone"}),r.jsx("p",{className:"text-gray-400",children:"+1 (800) 123-4567"}),r.jsx("p",{className:"text-gray-400",children:"Mon-Fri, 9AM-6PM EST"})]})]}),r.jsxs($.div,{className:"flex items-start gap-4",initial:s?{opacity:0,x:-20}:{opacity:1,x:0},animate:{opacity:1,x:0},transition:s?{delay:.8,duration:.5}:{duration:0},children:[r.jsx("div",{className:"mt-1 bg-gray-800 p-3 rounded-full",children:r.jsx(Rf,{className:"w-6 h-6 text-yellow-400"})}),r.jsxs("div",{children:[r.jsx("h4",{className:"text-xl font-medium text-yellow-200 mb-1",children:"Social Media"}),r.jsxs("div",{className:"flex space-x-4 mt-2",children:[r.jsx("a",{href:"#",className:"text-gray-400 hover:text-yellow-400 transition-colors duration-300 text-2xl",children:r.jsx(qv,{})}),r.jsx("a",{href:"#",className:"text-gray-400 hover:text-yellow-400 transition-colors duration-300 text-2xl",children:r.jsx(Hv,{})}),r.jsx("a",{href:"#",className:"text-gray-400 hover:text-yellow-400 transition-colors duration-300 text-2xl",children:r.jsx(Pv,{})}),r.jsx("a",{href:"#",className:"text-gray-400 hover:text-yellow-400 transition-colors duration-300 text-2xl",children:r.jsx(Bv,{})})]})]})]})]})]}),r.jsxs($.div,{initial:s?{opacity:0}:{opacity:1},animate:{opacity:1},transition:s?{delay:.9,duration:.8}:{duration:0},children:[r.jsx("h3",{className:"text-2xl font-semibold mb-6 text-yellow-300",children:"Office Location"}),r.jsxs("div",{className:"bg-gray-900 p-6 rounded-xl",children:[r.jsx("p",{className:"text-gray-300",children:"jmcomic Headquarters"}),r.jsx("p",{className:"text-gray-300",children:"123 Comic Avenue"}),r.jsx("p",{className:"text-gray-300",children:"San Francisco, CA 94107"}),r.jsx("p",{className:"text-gray-300",children:"United States"})]})]})]}),r.jsxs($.div,{initial:s?{x:50,opacity:0}:{x:0,opacity:1},animate:{x:0,opacity:1},transition:s?{delay:.6,duration:.8}:{duration:0},className:"bg-gray-900 p-8 rounded-xl shadow-xl",children:[r.jsx("h3",{className:"text-2xl font-semibold mb-6 text-yellow-300",children:"Send us a message"}),r.jsxs("form",{className:"grid grid-cols-1 gap-6",children:[r.jsxs("div",{children:[r.jsx("label",{className:"block text-gray-400 mb-2 text-sm",htmlFor:"name",children:"Your Name"}),r.jsx("input",{className:"w-full bg-gray-800 border border-gray-700 p-4 rounded-lg text-white focus:border-yellow-400 focus:outline-none transition-colors",type:"text",id:"name",placeholder:"Enter your name"})]}),r.jsxs("div",{children:[r.jsx("label",{className:"block text-gray-400 mb-2 text-sm",htmlFor:"email",children:"Your Email"}),r.jsx("input",{className:"w-full bg-gray-800 border border-gray-700 p-4 rounded-lg text-white focus:border-yellow-400 focus:outline-none transition-colors",type:"email",id:"email",placeholder:"Enter your email"})]}),r.jsxs("div",{children:[r.jsx("label",{className:"block text-gray-400 mb-2 text-sm",htmlFor:"subject",children:"Subject"}),r.jsx("input",{className:"w-full bg-gray-800 border border-gray-700 p-4 rounded-lg text-white focus:border-yellow-400 focus:outline-none transition-colors",type:"text",id:"subject",placeholder:"What is this about?"})]}),r.jsxs("div",{children:[r.jsx("label",{className:"block text-gray-400 mb-2 text-sm",htmlFor:"message",children:"Your Message"}),r.jsx("textarea",{className:"w-full bg-gray-800 border border-gray-700 p-4 rounded-lg text-white focus:border-yellow-400 focus:outline-none transition-colors",rows:"6",id:"message",placeholder:"Tell us what you need help with..."})]}),r.jsx(Pa,{className:"bg-yellow-400 text-black py-4 rounded-lg hover:bg-yellow-300 transition-all transform hover:scale-105 font-bold mt-2",children:"Send Message"})]})]})]}),r.jsxs($.div,{className:"mt-20 text-center border-t border-gray-800 pt-12",initial:s?{opacity:0}:{opacity:1},animate:{opacity:1},transition:s?{delay:1.2,duration:.8}:{duration:0},children:[r.jsx("h3",{className:"text-2xl font-semibold mb-4 text-yellow-300",children:"Response Time"}),r.jsx("p",{className:"text-gray-400 mb-4 max-w-2xl mx-auto",children:"We aim to respond to all inquiries within 24-48 hours during business days. For urgent matters, please contact us by phone."})]})]})})]})},xE=()=>{const{platform:n}=Oj(),[i,s]=j.useState(10),[o,u]=j.useState(!1),f=zN(n),m={android:{name:"Android",icon:yr,color:"text-green-400",bgColor:"bg-green-600",downloadUrl:"/jmcomic.apk",description:"Get jmcomic for your Android device and enjoy reading comics on the go."},ios:{name:"iOS",icon:gr,color:"text-gray-300",bgColor:"bg-gray-700",downloadUrl:"/jmcomic.ipa",description:"Download jmcomic from the App Store for your iPhone or iPad."},windows:{name:"Windows",icon:xr,color:"text-blue-400",bgColor:"bg-blue-600",downloadUrl:"react/test/public/jmcomic-windows.txt",description:"Install jmcomic on your Windows PC for the best desktop reading experience."}},h=m[n==null?void 0:n.toLowerCase()]||m.android;j.useEffect(()=>{if(i>0){const g=setTimeout(()=>s(i-1),1e3);return()=>clearTimeout(g)}else u(!0)},[i]);const p=()=>{window.open(h.downloadUrl,"_blank")},y=h.icon;return r.jsxs(r.Fragment,{children:[r.jsx(It,{...f,alternateLanguages:pn}),r.jsx($.section,{className:"py-20 px-6 min-h-screen flex items-center justify-center bg-gray-950",initial:{opacity:0},animate:{opacity:1},transition:{duration:.6},children:r.jsxs("div",{className:"max-w-2xl mx-auto text-center",children:[r.jsxs($.div,{initial:{scale:.8,opacity:0},animate:{scale:1,opacity:1},transition:{delay:.2,duration:.8},className:"mb-8",children:[r.jsx("div",{className:`inline-flex items-center justify-center w-24 h-24 ${h.bgColor} rounded-full mb-6`,children:r.jsx(y,{className:"text-white text-5xl"})}),r.jsxs("h1",{className:"text-4xl md:text-5xl font-bold mb-4 text-yellow-400",children:["Download jmcomic for ",h.name]}),r.jsx("p",{className:"text-xl text-gray-300 mb-8 max-w-xl mx-auto",children:h.description})]}),o?r.jsxs($.div,{initial:{opacity:0,scale:.9},animate:{opacity:1,scale:1},transition:{duration:.5},className:"bg-gray-900 rounded-2xl p-8 shadow-2xl border border-gray-800",children:[r.jsxs("div",{className:"flex items-center justify-center mb-6",children:[r.jsx(Bi,{className:"w-8 h-8 text-green-400 mr-3"}),r.jsx("h3",{className:"text-2xl font-semibold text-white",children:"Ready to Download!"})]}),r.jsxs("p",{className:"text-gray-300 mb-8",children:["Your download is ready. Click the button below to start downloading jmcomic for ",h.name,"."]}),r.jsxs(Pa,{onClick:p,className:"bg-yellow-400 text-black text-lg px-12 py-4 rounded-xl hover:bg-yellow-300 transition-all transform hover:scale-105 font-bold shadow-lg",children:[r.jsx(Bi,{className:"w-6 h-6 mr-2"}),"Download Now"]}),r.jsxs("div",{className:"mt-6 text-sm text-gray-400",children:[r.jsx("p",{children:"File will be downloaded to your default downloads folder"}),r.jsxs("p",{children:["Having trouble? ",r.jsx("a",{href:"/contact",className:"text-yellow-400 hover:underline",children:"Contact our support team"})]})]})]}):r.jsxs($.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:.5,duration:.6},className:"bg-gray-900 rounded-2xl p-8 shadow-2xl border border-gray-800",children:[r.jsxs("div",{className:"flex items-center justify-center mb-6",children:[r.jsx(eN,{className:"w-8 h-8 text-yellow-400 mr-3"}),r.jsx("h3",{className:"text-2xl font-semibold text-white",children:"Preparing your download..."})]}),r.jsx("div",{className:"relative mb-6",children:r.jsxs("div",{className:"w-32 h-32 mx-auto relative",children:[r.jsxs("svg",{className:"w-32 h-32 transform -rotate-90",viewBox:"0 0 100 100",children:[r.jsx("circle",{cx:"50",cy:"50",r:"45",stroke:"currentColor",strokeWidth:"8",fill:"transparent",className:"text-gray-700"}),r.jsx("circle",{cx:"50",cy:"50",r:"45",stroke:"currentColor",strokeWidth:"8",fill:"transparent",strokeDasharray:`${283*(10-i)/10} 283`,className:"text-yellow-400 transition-all duration-1000 ease-linear"})]}),r.jsx("div",{className:"absolute inset-0 flex items-center justify-center",children:r.jsx("span",{className:"text-4xl font-bold text-yellow-400",children:i})})]})}),r.jsxs("p",{className:"text-gray-400",children:["Your download will be ready in ",r.jsx("span",{className:"text-yellow-400 font-semibold",children:i})," seconds"]}),r.jsxs("div",{className:"mt-6 text-sm text-gray-400",children:[r.jsx("p",{children:"• Scanning for malware"}),r.jsx("p",{children:"• Verifying file integrity"}),r.jsx("p",{children:"• Optimizing for your device"})]})]}),r.jsxs($.div,{initial:{opacity:0},animate:{opacity:1},transition:{delay:1,duration:.8},className:"mt-12 grid grid-cols-1 md:grid-cols-3 gap-6 text-center",children:[r.jsxs("div",{className:"bg-gray-800 p-4 rounded-lg shadow-md border border-gray-700",children:[r.jsx("h4",{className:"text-lg font-semibold text-yellow-400 mb-2",children:"Safe & Secure"}),r.jsx("p",{className:"text-gray-400 text-sm",children:"All downloads are scanned for malware and viruses"})]}),r.jsxs("div",{className:"bg-gray-800 p-4 rounded-lg shadow-md border border-gray-700",children:[r.jsx("h4",{className:"text-lg font-semibold text-yellow-400 mb-2",children:"Fast Download"}),r.jsx("p",{className:"text-gray-400 text-sm",children:"Optimized servers for lightning-fast downloads"})]}),r.jsxs("div",{className:"bg-gray-800 p-4 rounded-lg shadow-md border border-gray-700",children:[r.jsx("h4",{className:"text-lg font-semibold text-yellow-400 mb-2",children:"24/7 Support"}),r.jsx("p",{className:"text-gray-400 text-sm",children:"Get help anytime if you encounter issues"})]})]})]})})]})},vE=()=>{const{shouldAnimate:n,useMarkPageVisited:i}=hn();i("404");const s=n("404");return r.jsxs(r.Fragment,{children:[r.jsx(It,{...wt.notFound}),r.jsxs("section",{className:"min-h-screen flex items-center justify-center px-6 bg-gradient-to-br from-gray-900 via-gray-800 to-black relative overflow-hidden",children:[r.jsxs("div",{className:"absolute inset-0 overflow-hidden",children:[r.jsx("div",{className:"absolute -top-40 -right-40 w-80 h-80 bg-yellow-500 opacity-10 rounded-full filter blur-3xl"}),r.jsx("div",{className:"absolute -bottom-40 -left-40 w-80 h-80 bg-yellow-500 opacity-5 rounded-full filter blur-3xl"})]}),r.jsxs("div",{className:"max-w-4xl mx-auto text-center relative z-10",children:[r.jsxs($.div,{initial:s?{scale:.8,opacity:0}:{scale:1,opacity:1},animate:{scale:1,opacity:1},transition:s?{duration:.8,type:"spring",stiffness:100}:{duration:0},className:"mb-8",children:[r.jsx("div",{className:"relative mx-auto w-fit mb-8",children:r.jsxs($.div,{initial:s?{y:20,opacity:0}:{y:0,opacity:1},animate:{y:0,opacity:1},transition:s?{delay:.3,duration:.8}:{duration:0},whileHover:{y:-10,rotate:5,transition:{duration:.3,type:"spring",stiffness:300}},className:"relative",children:[r.jsx("div",{className:"absolute -inset-6 bg-gradient-to-r from-yellow-400 to-orange-300 rounded-full opacity-20 blur-xl animate-pulse"}),r.jsx("img",{src:"/assets/jmcomic contact.png",alt:"jmcomic confused mascot",className:"relative w-48 h-48 md:w-64 md:h-64 object-cover rounded-full border-4 border-yellow-400 shadow-2xl"}),r.jsx("div",{className:"absolute -top-4 -right-4 w-8 h-8 bg-yellow-400 rounded-full flex items-center justify-center animate-bounce",children:r.jsx("span",{className:"text-black text-lg font-bold",children:"?"})}),r.jsx("div",{className:"absolute top-8 -left-6 w-6 h-6 bg-orange-400 rounded-full flex items-center justify-center animate-bounce delay-300",children:r.jsx("span",{className:"text-black text-sm font-bold",children:"?"})}),r.jsx("div",{className:"absolute -bottom-2 right-8 w-5 h-5 bg-yellow-300 rounded-full flex items-center justify-center animate-bounce delay-700",children:r.jsx("span",{className:"text-black text-xs font-bold",children:"?"})})]})}),r.jsxs($.div,{initial:s?{y:30,opacity:0}:{y:0,opacity:1},animate:{y:0,opacity:1},transition:s?{delay:.5,duration:.8}:{duration:0},className:"mb-8",children:[r.jsx("h1",{className:"text-8xl md:text-9xl font-black mb-4 bg-clip-text text-transparent bg-gradient-to-r from-yellow-400 via-yellow-300 to-orange-400 leading-none",children:"404"}),r.jsx("h2",{className:"text-3xl md:text-4xl font-bold mb-4 text-yellow-400",children:"Oops! Page Not Found"}),r.jsx("p",{className:"text-xl md:text-2xl text-gray-300 mb-8 max-w-2xl mx-auto leading-relaxed",children:"Looks like this comic page has wandered off into another dimension! Don't worry, our mascot is here to help you find your way back to the good stuff."})]})]}),r.jsxs($.div,{initial:s?{y:40,opacity:0}:{y:0,opacity:1},animate:{y:0,opacity:1},transition:s?{delay:.7,duration:.8}:{duration:0},className:"flex flex-col sm:flex-row gap-4 justify-center items-center mb-12",children:[r.jsx(Me,{to:"/",children:r.jsxs(Pa,{className:"bg-yellow-400 text-black text-lg px-8 py-4 rounded-xl hover:bg-yellow-300 transition-all transform hover:scale-105 font-bold shadow-lg min-w-[200px] flex items-center justify-center gap-2",children:[r.jsx(bg,{className:"w-5 h-5"}),"Back to Home"]})}),r.jsxs("button",{onClick:()=>window.history.back(),className:"bg-transparent border-2 border-yellow-400 text-yellow-400 text-lg px-8 py-4 rounded-xl hover:bg-yellow-400/10 transition-all transform hover:scale-105 font-bold min-w-[200px] flex items-center justify-center gap-2",children:[r.jsx(GA,{className:"w-5 h-5"}),"Go Back"]})]}),r.jsx($.div,{initial:s?{opacity:0}:{opacity:1},animate:{opacity:1},transition:s?{delay:.9,duration:.8}:{duration:0},className:"grid grid-cols-1 md:grid-cols-3 gap-6 max-w-3xl mx-auto",children:[{title:"Explore Comics",description:"Browse our vast collection of comics",icon:hN,link:"/",color:"bg-blue-600"},{title:"Download App",description:"Get jmcomic on your device",icon:Bi,link:"/download",color:"bg-green-600"},{title:"Need Help?",description:"Check our FAQs and support",icon:bg,link:"/faqs",color:"bg-purple-600"}].map((o,u)=>r.jsxs($.div,{initial:s?{opacity:0,y:20}:{opacity:1,y:0},animate:{opacity:1,y:0},transition:s?{delay:1.1+u*.1,duration:.5}:{duration:0},whileHover:{y:-5,boxShadow:"0 10px 25px -5px rgba(0, 0, 0, 0.2)"},className:"bg-gray-800 rounded-xl p-6 border border-gray-700 hover:border-yellow-400/50 transition-all group",children:[r.jsx("div",{className:`w-12 h-12 ${o.color} rounded-lg flex items-center justify-center mb-4 group-hover:scale-110 transition-transform`,children:r.jsx(o.icon,{className:"w-6 h-6 text-white"})}),r.jsx("h3",{className:"text-lg font-semibold text-yellow-400 mb-2 group-hover:text-yellow-300 transition-colors",children:o.title}),r.jsx("p",{className:"text-gray-400 text-sm mb-4 group-hover:text-gray-300 transition-colors",children:o.description}),r.jsx(Me,{to:o.link,className:"text-yellow-400 hover:text-yellow-300 font-medium text-sm hover:underline transition-colors",children:"Learn More →"})]},u))}),r.jsx($.div,{initial:s?{opacity:0}:{opacity:1},animate:{opacity:1},transition:s?{delay:1.5,duration:.8}:{duration:0},className:"mt-12 bg-gray-800/50 backdrop-blur-sm rounded-2xl p-6 border border-gray-700 max-w-2xl mx-auto",children:r.jsxs("p",{className:"text-gray-400 text-sm leading-relaxed",children:[r.jsx("span",{className:"text-yellow-400 font-semibold",children:"Pro tip:"})," ","While you're here, why not check out our latest comic releases? We have thousands of amazing stories waiting for you to discover! Our mascot recommends starting with the trending section."]})})]})]})]})},bE=()=>{const{shouldAnimate:n,useMarkPageVisited:i}=hn();i("terms");const s=n("terms");return r.jsxs(r.Fragment,{children:[r.jsx(It,{...wt.terms,alternateLanguages:pn}),r.jsx("section",{className:"py-20 px-6 max-w-4xl mx-auto",children:r.jsxs($.div,{initial:s?{opacity:0,y:30}:{opacity:1,y:0},animate:{opacity:1,y:0},transition:s?{duration:.8}:{duration:0},children:[r.jsx("div",{className:"text-center mb-16",children:r.jsx("h1",{className:"text-5xl font-bold mb-6 text-yellow-400",children:"Terms of Service"})}),r.jsx("div",{className:"prose prose-invert prose-yellow max-w-none",children:r.jsxs("div",{className:"space-y-8 text-gray-300",children:[r.jsxs("div",{className:"bg-yellow-500 bg-opacity-10 border border-yellow-500 rounded-lg p-6",children:[r.jsx("h2",{className:"text-white text-2xl font-semibold mb-4",children:"Agreement to Terms"}),r.jsx("p",{className:"text-black font-medium",children:'By accessing and using jmcomic ("we," "our," or "us"), you accept and agree to be bound by the terms and provision of this agreement. If you do not agree to abide by the above, please do not use this service.'})]}),r.jsxs("div",{children:[r.jsx("h2",{className:"text-yellow-400 text-2xl font-semibold mb-4",children:"1. Use License"}),r.jsx("p",{className:"mb-4",children:"Permission is granted to temporarily download one copy of jmcomic for personal, non-commercial transitory viewing only. This is the grant of a license, not a transfer of title, and under this license you may not:"}),r.jsxs("ul",{className:"list-disc list-inside space-y-2 ml-4",children:[r.jsx("li",{children:"modify or copy the materials"}),r.jsx("li",{children:"use the materials for any commercial purpose or for any public display (commercial or non-commercial)"}),r.jsx("li",{children:"attempt to decompile or reverse engineer any software contained in jmcomic"}),r.jsx("li",{children:"remove any copyright or other proprietary notations from the materials"})]})]}),r.jsxs("div",{children:[r.jsx("h2",{className:"text-yellow-400 text-2xl font-semibold mb-4",children:"2. User Accounts"}),r.jsx("p",{className:"mb-4",children:"When you create an account with us, you must provide information that is accurate, complete, and current at all times. You are responsible for safeguarding the password and for maintaining the security of your account."}),r.jsx("p",{children:"You agree not to disclose your password to any third party and to take sole responsibility for activities that occur under your account."})]}),r.jsxs("div",{children:[r.jsx("h2",{className:"text-yellow-400 text-2xl font-semibold mb-4",children:"3. Content and Conduct"}),r.jsx("p",{className:"mb-4",children:"Our service allows you to access and read comics. You understand that:"}),r.jsxs("ul",{className:"list-disc list-inside space-y-2 ml-4",children:[r.jsx("li",{children:"All content is provided for personal, non-commercial use only"}),r.jsx("li",{children:"You may not distribute, modify, transmit, reuse, download, repost, copy, or use said content for commercial purposes"}),r.jsx("li",{children:"You may not upload, post, or transmit any content that infringes upon copyrights or other intellectual property rights"}),r.jsx("li",{children:"We reserve the right to remove any content that violates these terms"})]})]}),r.jsxs("div",{children:[r.jsx("h2",{className:"text-yellow-400 text-2xl font-semibold mb-4",children:"4. Age Restrictions"}),r.jsx("p",{children:"You must be at least 13 years old to use jmcomic. If you are between 13 and 18 years old, you may only use jmcomic under the supervision of a parent or legal guardian who agrees to be bound by these Terms."})]}),r.jsxs("div",{children:[r.jsx("h2",{className:"text-yellow-400 text-2xl font-semibold mb-4",children:"5. Privacy Policy"}),r.jsx("p",{children:"Your privacy is important to us. Please review our Privacy Policy, which also governs your use of the service, to understand our practices."})]}),r.jsxs("div",{children:[r.jsx("h2",{className:"text-yellow-400 text-2xl font-semibold mb-4",children:"6. Prohibited Uses"}),r.jsx("p",{className:"mb-4",children:"You may not use our service:"}),r.jsxs("ul",{className:"list-disc list-inside space-y-2 ml-4",children:[r.jsx("li",{children:"For any unlawful purpose or to solicit others to act unlawfully"}),r.jsx("li",{children:"To violate any international, federal, provincial, or state regulations, rules, laws, or local ordinances"}),r.jsx("li",{children:"To infringe upon or violate our intellectual property rights or the intellectual property rights of others"}),r.jsx("li",{children:"To harass, abuse, insult, harm, defame, slander, disparage, intimidate, or discriminate"}),r.jsx("li",{children:"To submit false or misleading information"}),r.jsx("li",{children:"To upload or transmit viruses or any other type of malicious code"})]})]}),r.jsxs("div",{children:[r.jsx("h2",{className:"text-yellow-400 text-2xl font-semibold mb-4",children:"7. Intellectual Property Rights"}),r.jsx("p",{children:"The service and its original content, features, and functionality are and will remain the exclusive property of jmcomic and its licensors. The service is protected by copyright, trademark, and other laws."})]}),r.jsxs("div",{children:[r.jsx("h2",{className:"text-yellow-400 text-2xl font-semibold mb-4",children:"8. Termination"}),r.jsx("p",{children:"We may terminate or suspend your account and bar access to the service immediately, without prior notice or liability, under our sole discretion, for any reason whatsoever, including without limitation if you breach the Terms."})]}),r.jsxs("div",{children:[r.jsx("h2",{className:"text-yellow-400 text-2xl font-semibold mb-4",children:"9. Disclaimer"}),r.jsx("p",{children:'The information on this app is provided on an "as is" basis. To the fullest extent permitted by law, jmcomic excludes all representations, warranties, conditions, and terms.'})]}),r.jsxs("div",{children:[r.jsx("h2",{className:"text-yellow-400 text-2xl font-semibold mb-4",children:"10. Limitation of Liability"}),r.jsx("p",{children:"In no event shall jmcomic, nor its directors, employees, partners, agents, suppliers, or affiliates, be liable for any indirect, incidental, special, consequential, or punitive damages, including without limitation, loss of profits, data, use, goodwill, or other intangible losses."})]}),r.jsxs("div",{children:[r.jsx("h2",{className:"text-yellow-400 text-2xl font-semibold mb-4",children:"11. Changes to Terms"}),r.jsx("p",{children:"We reserve the right, at our sole discretion, to modify or replace these Terms at any time. If a revision is material, we will provide at least 30 days notice prior to any new terms taking effect."})]}),r.jsxs("div",{children:[r.jsx("h2",{className:"text-yellow-400 text-2xl font-semibold mb-4",children:"12. Contact Information"}),r.jsx("p",{children:"If you have any questions about these Terms of Service, please contact us at:"}),r.jsxs("div",{className:"bg-gray-800 p-4 rounded-lg mt-4",children:[r.jsx("p",{children:"Email: legal@jmcomic.store"}),r.jsx("p",{children:"Address: 123 Comic Avenue, San Francisco, CA 94107"})]})]})]})})]})})]})},wE=()=>{const{shouldAnimate:n,useMarkPageVisited:i}=hn();i("privacy");const s=n("privacy");return r.jsxs(r.Fragment,{children:[r.jsx(It,{...wt.privacy,alternateLanguages:pn}),r.jsx("section",{className:"py-20 px-6 max-w-4xl mx-auto",children:r.jsxs($.div,{initial:s?{opacity:0,y:30}:{opacity:1,y:0},animate:{opacity:1,y:0},transition:s?{duration:.8}:{duration:0},children:[r.jsx("div",{className:"text-center mb-16",children:r.jsx("h1",{className:"text-5xl font-bold mb-6 text-yellow-400",children:"Privacy Policy"})}),r.jsx("div",{className:"prose prose-invert prose-yellow max-w-none",children:r.jsxs("div",{className:"space-y-8 text-gray-300",children:[r.jsxs("div",{className:"bg-yellow-500 bg-opacity-10 border border-yellow-500 rounded-lg p-6",children:[r.jsx("h2",{className:"text-white text-2xl font-semibold mb-4",children:"Our Commitment to Privacy"}),r.jsx("p",{className:"text-black font-medium",children:"At jmcomic, we are committed to protecting your privacy and ensuring you have a positive experience on our platform. This policy outlines how we collect, use, and safeguard your information when you use our comic reading application."})]}),r.jsxs("div",{children:[r.jsx("h2",{className:"text-yellow-400 text-2xl font-semibold mb-4",children:"1. Information We Collect"}),r.jsx("h3",{className:"text-yellow-300 text-xl font-semibold mb-3",children:"Information You Provide to Us"}),r.jsxs("ul",{className:"list-disc list-inside space-y-2 ml-4 mb-4",children:[r.jsxs("li",{children:[r.jsx("strong",{children:"Account Information:"})," When you create an account, we collect your email address, username, and password"]}),r.jsxs("li",{children:[r.jsx("strong",{children:"Profile Information:"})," Optional information such as profile picture, reading preferences, and favorite genres"]}),r.jsxs("li",{children:[r.jsx("strong",{children:"Communication Data:"})," Information you provide when contacting us for support or feedback"]}),r.jsxs("li",{children:[r.jsx("strong",{children:"Payment Information:"})," If you purchase premium features, payment details are processed securely by our payment processors"]})]}),r.jsx("h3",{className:"text-yellow-300 text-xl font-semibold mb-3",children:"Information We Collect Automatically"}),r.jsxs("ul",{className:"list-disc list-inside space-y-2 ml-4",children:[r.jsxs("li",{children:[r.jsx("strong",{children:"Usage Data:"})," Reading history, time spent reading, favorite comics, bookmarks, and reading progress"]}),r.jsxs("li",{children:[r.jsx("strong",{children:"Device Information:"})," Device type, operating system, app version, and unique device identifiers"]}),r.jsxs("li",{children:[r.jsx("strong",{children:"Log Data:"})," IP address, access times, pages viewed, and actions taken within the app"]}),r.jsxs("li",{children:[r.jsx("strong",{children:"Analytics Data:"})," App performance, crash reports, and user interaction patterns"]})]})]}),r.jsxs("div",{children:[r.jsx("h2",{className:"text-yellow-400 text-2xl font-semibold mb-4",children:"2. How We Use Your Information"}),r.jsx("p",{className:"mb-4",children:"We use the collected information for the following purposes:"}),r.jsxs("ul",{className:"list-disc list-inside space-y-2 ml-4",children:[r.jsxs("li",{children:[r.jsx("strong",{children:"Service Provision:"})," To provide, maintain, and improve our comic reading services"]}),r.jsxs("li",{children:[r.jsx("strong",{children:"Personalization:"})," To customize your reading experience and provide personalized recommendations"]}),r.jsxs("li",{children:[r.jsx("strong",{children:"Account Management:"})," To manage your account, authenticate users, and provide customer support"]}),r.jsxs("li",{children:[r.jsx("strong",{children:"Communication:"})," To send you important updates, newsletters, and respond to your inquiries"]}),r.jsxs("li",{children:[r.jsx("strong",{children:"Analytics:"})," To understand how our app is used and improve user experience"]}),r.jsxs("li",{children:[r.jsx("strong",{children:"Security:"})," To detect, prevent, and address technical issues and fraudulent activity"]}),r.jsxs("li",{children:[r.jsx("strong",{children:"Legal Compliance:"})," To comply with applicable laws and regulations"]})]})]}),r.jsxs("div",{children:[r.jsx("h2",{className:"text-yellow-400 text-2xl font-semibold mb-4",children:"3. Information Sharing and Disclosure"}),r.jsx("p",{className:"mb-4",children:"We do not sell, trade, or rent your personal information to third parties. We may share your information in the following limited circumstances:"}),r.jsx("h3",{className:"text-yellow-300 text-xl font-semibold mb-3",children:"Service Providers"}),r.jsx("p",{className:"mb-4",children:"We may share information with trusted third-party service providers who assist us in:"}),r.jsxs("ul",{className:"list-disc list-inside space-y-2 ml-4 mb-4",children:[r.jsx("li",{children:"Cloud hosting and data storage"}),r.jsx("li",{children:"Analytics and app performance monitoring"}),r.jsx("li",{children:"Payment processing"}),r.jsx("li",{children:"Customer support services"}),r.jsx("li",{children:"Email delivery services"})]}),r.jsx("h3",{className:"text-yellow-300 text-xl font-semibold mb-3",children:"Legal Requirements"}),r.jsx("p",{className:"mb-4",children:"We may disclose your information if required by law or in response to:"}),r.jsxs("ul",{className:"list-disc list-inside space-y-2 ml-4",children:[r.jsx("li",{children:"Valid legal process (subpoena, court order, etc.)"}),r.jsx("li",{children:"Government agency requests"}),r.jsx("li",{children:"Protection of our rights, property, or safety"}),r.jsx("li",{children:"Protection of users or the public from harm"})]})]}),r.jsxs("div",{children:[r.jsx("h2",{className:"text-yellow-400 text-2xl font-semibold mb-4",children:"4. Cookies and Tracking Technologies"}),r.jsx("p",{className:"mb-4",children:"We use cookies and similar tracking technologies to enhance your experience:"}),r.jsxs("ul",{className:"list-disc list-inside space-y-2 ml-4",children:[r.jsxs("li",{children:[r.jsx("strong",{children:"Essential Cookies:"})," Required for basic app functionality and user authentication"]}),r.jsxs("li",{children:[r.jsx("strong",{children:"Performance Cookies:"})," Help us understand how users interact with our app"]}),r.jsxs("li",{children:[r.jsx("strong",{children:"Functionality Cookies:"})," Remember your preferences and settings"]}),r.jsxs("li",{children:[r.jsx("strong",{children:"Advertising Cookies:"})," Used by our advertising partners to serve relevant ads"]})]}),r.jsx("p",{className:"mt-4",children:"You can manage cookie preferences through your device settings or our cookie consent banner."})]}),r.jsxs("div",{children:[r.jsx("h2",{className:"text-yellow-400 text-2xl font-semibold mb-4",children:"5. Data Security"}),r.jsx("p",{className:"mb-4",children:"We implement appropriate security measures to protect your information:"}),r.jsxs("ul",{className:"list-disc list-inside space-y-2 ml-4",children:[r.jsx("li",{children:"Encryption of data in transit and at rest"}),r.jsx("li",{children:"Secure authentication and access controls"}),r.jsx("li",{children:"Regular security audits and monitoring"}),r.jsx("li",{children:"Employee training on data protection practices"}),r.jsx("li",{children:"Compliance with industry security standards"})]})]}),r.jsxs("div",{children:[r.jsx("h2",{className:"text-yellow-400 text-2xl font-semibold mb-4",children:"6. Your Rights and Choices"}),r.jsx("p",{className:"mb-4",children:"You have the following rights regarding your personal information:"}),r.jsx("h3",{className:"text-yellow-300 text-xl font-semibold mb-3",children:"Access and Portability"}),r.jsx("p",{className:"mb-4",children:"You can access and download your personal data through your account settings."}),r.jsx("h3",{className:"text-yellow-300 text-xl font-semibold mb-3",children:"Correction and Updates"}),r.jsx("p",{className:"mb-4",children:"You can update your profile information and preferences at any time."}),r.jsx("h3",{className:"text-yellow-300 text-xl font-semibold mb-3",children:"Deletion"}),r.jsx("p",{className:"mb-4",children:"You can request deletion of your account and personal data by contacting us."}),r.jsx("h3",{className:"text-yellow-300 text-xl font-semibold mb-3",children:"Marketing Communications"}),r.jsx("p",{className:"mb-4",children:"You can opt-out of promotional emails by clicking the unsubscribe link in any email."})]}),r.jsxs("div",{children:[r.jsx("h2",{className:"text-yellow-400 text-2xl font-semibold mb-4",children:"7. Children's Privacy"}),r.jsx("p",{className:"mb-4",children:"Our service is not intended for children under 13 years of age. We do not knowingly collect personal information from children under 13. If you are a parent or guardian and believe your child has provided us with personal information, please contact us immediately."}),r.jsx("p",{children:"For users between 13-18 years old, we recommend parental supervision and encourage parents to monitor their children's online activities."})]}),r.jsxs("div",{children:[r.jsx("h2",{className:"text-yellow-400 text-2xl font-semibold mb-4",children:"8. International Data Transfers"}),r.jsx("p",{children:"Your information may be transferred to and processed in countries other than your own. We ensure appropriate safeguards are in place to protect your data in accordance with applicable privacy laws and regulations."})]}),r.jsxs("div",{children:[r.jsx("h2",{className:"text-yellow-400 text-2xl font-semibold mb-4",children:"9. Data Retention"}),r.jsx("p",{className:"mb-4",children:"We retain your information for as long as necessary to:"}),r.jsxs("ul",{className:"list-disc list-inside space-y-2 ml-4",children:[r.jsx("li",{children:"Provide our services to you"}),r.jsx("li",{children:"Comply with legal obligations"}),r.jsx("li",{children:"Resolve disputes and enforce agreements"}),r.jsx("li",{children:"Improve our services and user experience"})]})]}),r.jsxs("div",{children:[r.jsx("h2",{className:"text-yellow-400 text-2xl font-semibold mb-4",children:"10. Third-Party Links and Services"}),r.jsx("p",{children:"Our app may contain links to third-party websites or services. We are not responsible for the privacy practices of these external sites. We encourage you to read their privacy policies before providing any information."})]}),r.jsxs("div",{children:[r.jsx("h2",{className:"text-yellow-400 text-2xl font-semibold mb-4",children:"11. Changes to This Privacy Policy"}),r.jsx("p",{children:"We may update this Privacy Policy from time to time. We will notify you of any material changes by posting the new policy on this page. Continued use of our service after changes constitutes acceptance of the updated policy."})]}),r.jsxs("div",{children:[r.jsx("h2",{className:"text-yellow-400 text-2xl font-semibold mb-4",children:"12. Contact Us"}),r.jsx("p",{className:"mb-4",children:"If you have any questions about this Privacy Policy or our data practices, please contact us:"}),r.jsxs("div",{className:"bg-gray-800 p-4 rounded-lg",children:[r.jsxs("p",{children:[r.jsx("strong",{children:"Email:"})," privacy@jmcomic.store"]}),r.jsxs("p",{children:[r.jsx("strong",{children:"Address:"})," 123 Comic Avenue, San Francisco, CA 94107"]}),r.jsxs("p",{children:[r.jsx("strong",{children:"Data Protection Officer:"})," dpo@jmcomic.store"]})]})]})]})})]})})]})},jE=()=>{const{shouldAnimate:n,useMarkPageVisited:i}=hn();i("cookies");const s=n("cookies");return r.jsxs(r.Fragment,{children:[r.jsx(It,{...wt.cookies,alternateLanguages:pn}),r.jsx("section",{className:"py-20 px-6 max-w-4xl mx-auto",children:r.jsxs($.div,{initial:s?{opacity:0,y:30}:{opacity:1,y:0},animate:{opacity:1,y:0},transition:s?{duration:.8}:{duration:0},children:[r.jsx("div",{className:"text-center mb-16",children:r.jsx("h1",{className:"text-5xl font-bold mb-6 text-yellow-400",children:"Cookie Policy"})}),r.jsx("div",{className:"prose prose-invert prose-yellow max-w-none",children:r.jsxs("div",{className:"space-y-8 text-gray-300",children:[r.jsxs("div",{className:"bg-yellow-500 bg-opacity-10 border border-yellow-500 rounded-lg p-6",children:[r.jsx("h2",{className:"text-white text-2xl font-semibold mb-4",children:"What Are Cookies?"}),r.jsx("p",{className:"text-black font-medium",children:"Cookies are small text files that are placed on your device when you visit our website or use our mobile application. They help us provide you with a better user experience by remembering your preferences and analyzing how you use our service."})]}),r.jsxs("div",{children:[r.jsx("h2",{className:"text-yellow-400 text-2xl font-semibold mb-4",children:"1. How We Use Cookies"}),r.jsx("p",{className:"mb-4",children:"jmcomic uses cookies and similar tracking technologies to enhance your experience, provide functionality, and analyze our service performance. We use cookies for various purposes including authentication, personalization, analytics, and advertising."})]}),r.jsxs("div",{children:[r.jsx("h2",{className:"text-yellow-400 text-2xl font-semibold mb-4",children:"2. Types of Cookies We Use"}),r.jsxs("div",{className:"space-y-6",children:[r.jsxs("div",{className:"bg-gray-800 p-6 rounded-lg",children:[r.jsx("h3",{className:"text-yellow-300 text-xl font-semibold mb-3",children:"Essential Cookies"}),r.jsxs("p",{className:"mb-3",children:[r.jsx("strong",{children:"Purpose:"})," These cookies are necessary for the basic functionality of our service."]}),r.jsx("p",{className:"mb-3",children:r.jsx("strong",{children:"Examples:"})}),r.jsxs("ul",{className:"list-disc list-inside space-y-1 ml-4 mb-3",children:[r.jsx("li",{children:"User authentication and login sessions"}),r.jsx("li",{children:"Security and fraud prevention"}),r.jsx("li",{children:"Basic app functionality and navigation"}),r.jsx("li",{children:"Language and region preferences"})]}),r.jsxs("p",{children:[r.jsx("strong",{children:"Duration:"})," Session cookies (deleted when you close the app) to 1 year"]}),r.jsx("div",{className:"mt-3 px-3 py-1 bg-green-500 bg-opacity-20 border border-green-500 rounded text-green-400 text-sm inline-block",children:"Cannot be disabled"})]}),r.jsxs("div",{className:"bg-gray-800 p-6 rounded-lg",children:[r.jsx("h3",{className:"text-yellow-300 text-xl font-semibold mb-3",children:"Performance and Analytics Cookies"}),r.jsxs("p",{className:"mb-3",children:[r.jsx("strong",{children:"Purpose:"})," These cookies help us understand how you use our service and improve performance."]}),r.jsx("p",{className:"mb-3",children:r.jsx("strong",{children:"Examples:"})}),r.jsxs("ul",{className:"list-disc list-inside space-y-1 ml-4 mb-3",children:[r.jsx("li",{children:"Google Analytics for usage statistics"}),r.jsx("li",{children:"App performance monitoring"}),r.jsx("li",{children:"Error tracking and debugging"}),r.jsx("li",{children:"Feature usage analytics"})]}),r.jsxs("p",{children:[r.jsx("strong",{children:"Duration:"})," Up to 2 years"]}),r.jsx("div",{className:"mt-3 px-3 py-1 bg-blue-500 bg-opacity-20 border border-blue-500 rounded text-blue-400 text-sm inline-block",children:"Can be disabled"})]}),r.jsxs("div",{className:"bg-gray-800 p-6 rounded-lg",children:[r.jsx("h3",{className:"text-yellow-300 text-xl font-semibold mb-3",children:"Functionality Cookies"}),r.jsxs("p",{className:"mb-3",children:[r.jsx("strong",{children:"Purpose:"})," These cookies enable enhanced functionality and personalization."]}),r.jsx("p",{className:"mb-3",children:r.jsx("strong",{children:"Examples:"})}),r.jsxs("ul",{className:"list-disc list-inside space-y-1 ml-4 mb-3",children:[r.jsx("li",{children:"Reading preferences and settings"}),r.jsx("li",{children:"Theme and display preferences"}),r.jsx("li",{children:"Bookmarks and reading progress"}),r.jsx("li",{children:"Recently viewed comics"})]}),r.jsxs("p",{children:[r.jsx("strong",{children:"Duration:"})," 30 days to 1 year"]}),r.jsx("div",{className:"mt-3 px-3 py-1 bg-blue-500 bg-opacity-20 border border-blue-500 rounded text-blue-400 text-sm inline-block",children:"Can be disabled"})]}),r.jsxs("div",{className:"bg-gray-800 p-6 rounded-lg",children:[r.jsx("h3",{className:"text-yellow-300 text-xl font-semibold mb-3",children:"Advertising and Marketing Cookies"}),r.jsxs("p",{className:"mb-3",children:[r.jsx("strong",{children:"Purpose:"})," These cookies are used to deliver relevant advertisements and measure their effectiveness."]}),r.jsx("p",{className:"mb-3",children:r.jsx("strong",{children:"Examples:"})}),r.jsxs("ul",{className:"list-disc list-inside space-y-1 ml-4 mb-3",children:[r.jsx("li",{children:"Google AdSense for displaying ads"}),r.jsx("li",{children:"Personalized ad targeting"}),r.jsx("li",{children:"Ad performance measurement"}),r.jsx("li",{children:"Social media integration"})]}),r.jsxs("p",{children:[r.jsx("strong",{children:"Duration:"})," Up to 1 year"]}),r.jsx("div",{className:"mt-3 px-3 py-1 bg-blue-500 bg-opacity-20 border border-blue-500 rounded text-blue-400 text-sm inline-block",children:"Can be disabled"})]})]})]}),r.jsxs("div",{children:[r.jsx("h2",{className:"text-yellow-400 text-2xl font-semibold mb-4",children:"3. Third-Party Cookies"}),r.jsx("p",{className:"mb-4",children:"We use several third-party services that may place cookies on your device:"}),r.jsxs("div",{className:"grid md:grid-cols-2 gap-4",children:[r.jsxs("div",{className:"bg-gray-800 p-4 rounded-lg",children:[r.jsx("h4",{className:"text-yellow-300 font-semibold mb-2",children:"Google Analytics"}),r.jsx("p",{className:"text-sm mb-2",children:"Helps us understand user behavior and improve our service."}),r.jsx("a",{href:"https://policies.google.com/privacy",className:"text-yellow-400 text-sm hover:underline",target:"_blank",rel:"noopener noreferrer",children:"Google Privacy Policy"})]}),r.jsxs("div",{className:"bg-gray-800 p-4 rounded-lg",children:[r.jsx("h4",{className:"text-yellow-300 font-semibold mb-2",children:"Google AdSense"}),r.jsx("p",{className:"text-sm mb-2",children:"Displays personalized advertisements to users."}),r.jsx("a",{href:"https://policies.google.com/technologies/ads",className:"text-yellow-400 text-sm hover:underline",target:"_blank",rel:"noopener noreferrer",children:"Google Ads Policy"})]}),r.jsxs("div",{className:"bg-gray-800 p-4 rounded-lg",children:[r.jsx("h4",{className:"text-yellow-300 font-semibold mb-2",children:"Firebase"}),r.jsx("p",{className:"text-sm mb-2",children:"Provides app analytics and crash reporting."}),r.jsx("a",{href:"https://firebase.google.com/support/privacy",className:"text-yellow-400 text-sm hover:underline",target:"_blank",rel:"noopener noreferrer",children:"Firebase Privacy Policy"})]}),r.jsxs("div",{className:"bg-gray-800 p-4 rounded-lg",children:[r.jsx("h4",{className:"text-yellow-300 font-semibold mb-2",children:"Social Media Platforms"}),r.jsx("p",{className:"text-sm mb-2",children:"Enable social sharing and login functionality."}),r.jsx("p",{className:"text-yellow-400 text-sm",children:"Various privacy policies apply"})]})]})]}),r.jsxs("div",{children:[r.jsx("h2",{className:"text-yellow-400 text-2xl font-semibold mb-4",children:"4. Managing Your Cookie Preferences"}),r.jsx("h3",{className:"text-yellow-300 text-xl font-semibold mb-3",children:"Cookie Consent Banner"}),r.jsx("p",{className:"mb-4",children:"When you first visit our website or app, you'll see a cookie consent banner where you can choose which types of cookies to accept or reject."}),r.jsx("h3",{className:"text-yellow-300 text-xl font-semibold mb-3",children:"Browser Settings"}),r.jsx("p",{className:"mb-4",children:"Most web browsers allow you to control cookies through their settings. You can:"}),r.jsxs("ul",{className:"list-disc list-inside space-y-2 ml-4 mb-4",children:[r.jsx("li",{children:"Delete existing cookies"}),r.jsx("li",{children:"Block all cookies"}),r.jsx("li",{children:"Block third-party cookies"}),r.jsx("li",{children:"Set cookies to expire when you close your browser"}),r.jsx("li",{children:"Receive notifications when cookies are being set"})]}),r.jsx("h3",{className:"text-yellow-300 text-xl font-semibold mb-3",children:"Mobile App Settings"}),r.jsx("p",{className:"mb-4",children:'In our mobile app, you can manage cookie preferences through the Settings menu under "Privacy & Cookies."'}),r.jsx("h3",{className:"text-yellow-300 text-xl font-semibold mb-3",children:"Opt-Out Links"}),r.jsx("div",{className:"bg-gray-800 p-4 rounded-lg",children:r.jsxs("ul",{className:"space-y-2",children:[r.jsx("li",{children:r.jsx("a",{href:"https://tools.google.com/dlpage/gaoptout",className:"text-yellow-400 hover:underline",target:"_blank",rel:"noopener noreferrer",children:"Google Analytics Opt-out"})}),r.jsx("li",{children:r.jsx("a",{href:"https://www.google.com/settings/ads",className:"text-yellow-400 hover:underline",target:"_blank",rel:"noopener noreferrer",children:"Google Ads Settings"})}),r.jsx("li",{children:r.jsx("a",{href:"https://optout.aboutads.info/",className:"text-yellow-400 hover:underline",target:"_blank",rel:"noopener noreferrer",children:"Digital Advertising Alliance Opt-out"})})]})})]}),r.jsxs("div",{children:[r.jsx("h2",{className:"text-yellow-400 text-2xl font-semibold mb-4",children:"5. Impact of Disabling Cookies"}),r.jsx("p",{className:"mb-4",children:"Disabling certain cookies may affect your experience with our service:"}),r.jsxs("ul",{className:"list-disc list-inside space-y-2 ml-4",children:[r.jsxs("li",{children:[r.jsx("strong",{children:"Essential Cookies:"})," The app may not function properly without these"]}),r.jsxs("li",{children:[r.jsx("strong",{children:"Performance Cookies:"})," We may not be able to improve our service based on usage data"]}),r.jsxs("li",{children:[r.jsx("strong",{children:"Functionality Cookies:"})," Your preferences and settings may not be saved"]}),r.jsxs("li",{children:[r.jsx("strong",{children:"Advertising Cookies:"})," You may see less relevant advertisements"]})]})]}),r.jsxs("div",{children:[r.jsx("h2",{className:"text-yellow-400 text-2xl font-semibold mb-4",children:"6. Cookie Updates"}),r.jsx("p",{children:"We may update this Cookie Policy from time to time to reflect changes in our practices or applicable laws. We will notify you of any material changes by posting the new policy on our website."})]}),r.jsxs("div",{children:[r.jsx("h2",{className:"text-yellow-400 text-2xl font-semibold mb-4",children:"7. Contact Us"}),r.jsx("p",{className:"mb-4",children:"If you have questions about our use of cookies or this Cookie Policy, please contact us:"}),r.jsxs("div",{className:"bg-gray-800 p-4 rounded-lg",children:[r.jsxs("p",{children:[r.jsx("strong",{children:"Email:"})," privacy@jmcomic.store"]}),r.jsxs("p",{children:[r.jsx("strong",{children:"Subject Line:"})," Cookie Policy Inquiry"]}),r.jsxs("p",{children:[r.jsx("strong",{children:"Address:"})," 123 Comic Avenue, San Francisco, CA 94107"]})]})]}),r.jsxs("div",{className:"bg-blue-500 bg-opacity-10 border border-blue-500 rounded-lg p-6",children:[r.jsx("h2",{className:"text-white text-lg font-semibold mb-2",children:"💡 Quick Tip"}),r.jsx("p",{className:"text-black font-medium",children:'You can change your cookie preferences at any time by clicking the "Cookie Settings" link in our footer or through your account settings.'})]})]})})]})})]})},SE=()=>{const{shouldAnimate:n,useMarkPageVisited:i}=hn();i("dmca");const s=n("dmca");return r.jsxs(r.Fragment,{children:[r.jsx(It,{...wt.dmca,alternateLanguages:pn}),r.jsx("section",{className:"py-20 px-6 max-w-4xl mx-auto",children:r.jsxs($.div,{initial:s?{opacity:0,y:30}:{opacity:1,y:0},animate:{opacity:1,y:0},transition:s?{duration:.8}:{duration:0},children:[r.jsxs("div",{className:"text-center mb-16",children:[r.jsx("h1",{className:"text-5xl font-bold mb-6 text-yellow-400",children:"DMCA Policy"}),r.jsx("p",{className:"text-gray-400 max-w-3xl mx-auto",children:"Digital Millennium Copyright Act Notice & Takedown Policy"})]}),r.jsx("div",{className:"prose prose-invert prose-yellow max-w-none",children:r.jsxs("div",{className:"space-y-8 text-gray-300",children:[r.jsxs("div",{className:"bg-yellow-500 bg-opacity-10 border border-yellow-500 rounded-lg p-6",children:[r.jsx("h2",{className:"text-white text-2xl font-semibold mb-4",children:"Our Commitment to Copyright Protection"}),r.jsx("p",{className:"text-black font-medium",children:"jmcomic respects the intellectual property rights of others and expects our users to do the same. We comply with the Digital Millennium Copyright Act (DMCA) and will respond promptly to claims of copyright infringement."})]}),r.jsxs("div",{children:[r.jsx("h2",{className:"text-yellow-400 text-2xl font-semibold mb-4",children:"1. DMCA Compliance"}),r.jsx("p",{className:"mb-4",children:"In accordance with the DMCA, jmcomic has implemented procedures for receiving written notification of claimed copyright infringement and for processing such claims in accordance with the DMCA. If you believe your copyrighted work has been copied and is accessible on our platform in a way that constitutes copyright infringement, please notify our DMCA Agent."})]}),r.jsxs("div",{children:[r.jsx("h2",{className:"text-yellow-400 text-2xl font-semibold mb-4",children:"2. Filing a DMCA Takedown Notice"}),r.jsx("p",{className:"mb-4",children:"To file a DMCA takedown notice with us, you must provide a written communication that includes all of the following information:"}),r.jsxs("div",{className:"bg-gray-800 p-6 rounded-lg",children:[r.jsx("h3",{className:"text-yellow-300 text-xl font-semibold mb-4",children:"Required Information for Takedown Notice"}),r.jsxs("ol",{className:"list-decimal list-inside space-y-3",children:[r.jsxs("li",{children:[r.jsx("strong",{children:"Identification of the copyrighted work:"})," Provide a detailed description of the copyrighted work that you claim has been infringed, including the title, author, publication date, and registration number (if applicable)."]}),r.jsxs("li",{children:[r.jsx("strong",{children:"Identification of the infringing material:"})," Provide specific information about where the allegedly infringing material is located on our platform, including URLs, comic titles, or other identifying information."]}),r.jsxs("li",{children:[r.jsx("strong",{children:"Contact information:"})," Include your full name, mailing address, telephone number, and email address."]}),r.jsxs("li",{children:[r.jsx("strong",{children:"Good faith statement:"})," Include a statement that you have a good faith belief that the use of the material is not authorized by the copyright owner, its agent, or the law."]}),r.jsxs("li",{children:[r.jsx("strong",{children:"Accuracy statement:"})," Include a statement that the information in the notification is accurate and, under penalty of perjury, that you are authorized to act on behalf of the copyright owner."]}),r.jsxs("li",{children:[r.jsx("strong",{children:"Physical or electronic signature:"})," Provide your physical or electronic signature."]})]})]})]}),r.jsxs("div",{children:[r.jsx("h2",{className:"text-yellow-400 text-2xl font-semibold mb-4",children:"3. DMCA Agent Contact Information"}),r.jsx("p",{className:"mb-4",children:"Please send your DMCA takedown notice to our designated DMCA Agent:"}),r.jsxs("div",{className:"bg-gray-800 p-6 rounded-lg",children:[r.jsx("h3",{className:"text-yellow-300 text-lg font-semibold mb-3",children:"DMCA Agent"}),r.jsxs("p",{children:[r.jsx("strong",{children:"Name:"})," Copyright Agent"]}),r.jsxs("p",{children:[r.jsx("strong",{children:"Company:"})," jmcomic"]}),r.jsxs("p",{children:[r.jsx("strong",{children:"Email:"})," dmca@jmcomic.store"]}),r.jsxs("p",{children:[r.jsx("strong",{children:"Address:"})," 123 Comic Avenue, San Francisco, CA 94107"]}),r.jsxs("p",{children:[r.jsx("strong",{children:"Phone:"})," +1 (800) 123-4567"]}),r.jsxs("p",{children:[r.jsx("strong",{children:"Fax:"})," +1 (800) 123-4568"]}),r.jsx("div",{className:"mt-4 p-3 bg-yellow-500 bg-opacity-20 border border-yellow-500 rounded",children:r.jsxs("p",{className:"text-black font-medium",children:[r.jsx("strong",{children:"Note:"})," Only DMCA takedown notices should be sent to this email address. For all other inquiries, please use our general contact information."]})})]})]}),r.jsxs("div",{children:[r.jsx("h2",{className:"text-yellow-400 text-2xl font-semibold mb-4",children:"4. Our Response to Takedown Notices"}),r.jsx("p",{className:"mb-4",children:"Upon receiving a valid DMCA takedown notice, we will:"}),r.jsxs("ol",{className:"list-decimal list-inside space-y-2 ml-4",children:[r.jsx("li",{children:"Promptly investigate the claim"}),r.jsx("li",{children:"Remove or disable access to the allegedly infringing material"}),r.jsx("li",{children:"Notify the user who posted the material about the takedown"}),r.jsx("li",{children:"Provide the user with information about filing a counter-notification"}),r.jsx("li",{children:"Forward a copy of the takedown notice to the user (with personal information redacted)"})]})]}),r.jsxs("div",{children:[r.jsx("h2",{className:"text-yellow-400 text-2xl font-semibold mb-4",children:"5. Filing a Counter-Notification"}),r.jsx("p",{className:"mb-4",children:"If you believe your content was wrongly removed due to a DMCA takedown notice, you may file a counter-notification. Your counter-notification must include:"}),r.jsxs("div",{className:"bg-gray-800 p-6 rounded-lg",children:[r.jsx("h3",{className:"text-yellow-300 text-xl font-semibold mb-4",children:"Required Information for Counter-Notification"}),r.jsxs("ol",{className:"list-decimal list-inside space-y-3",children:[r.jsxs("li",{children:[r.jsx("strong",{children:"Your contact information:"})," Full name, address, phone number, and email address."]}),r.jsxs("li",{children:[r.jsx("strong",{children:"Identification of removed content:"})," Description of the material that was removed and where it was located."]}),r.jsxs("li",{children:[r.jsx("strong",{children:"Good faith statement:"})," A statement under penalty of perjury that you have a good faith belief that the material was removed by mistake or misidentification."]}),r.jsxs("li",{children:[r.jsx("strong",{children:"Consent to jurisdiction:"})," A statement that you consent to the jurisdiction of the Federal District Court for the judicial district in which your address is located (or Northern District of California if outside the US)."]}),r.jsxs("li",{children:[r.jsx("strong",{children:"Service of process:"})," A statement that you will accept service of process from the party who filed the original takedown notice."]}),r.jsxs("li",{children:[r.jsx("strong",{children:"Physical or electronic signature:"})," Your physical or electronic signature."]})]})]}),r.jsx("p",{className:"mt-4",children:"Send your counter-notification to our DMCA Agent using the contact information provided above."})]}),r.jsxs("div",{children:[r.jsx("h2",{className:"text-yellow-400 text-2xl font-semibold mb-4",children:"6. Response to Counter-Notifications"}),r.jsx("p",{className:"mb-4",children:"Upon receiving a valid counter-notification, we will:"}),r.jsxs("ol",{className:"list-decimal list-inside space-y-2 ml-4",children:[r.jsx("li",{children:"Forward the counter-notification to the original complainant"}),r.jsx("li",{children:"Inform the complainant that we will restore the removed content in 10-14 business days"}),r.jsx("li",{children:"Restore the content unless the complainant files a court action seeking an injunction against the alleged infringer"})]})]}),r.jsxs("div",{children:[r.jsx("h2",{className:"text-yellow-400 text-2xl font-semibold mb-4",children:"7. Repeat Infringer Policy"}),r.jsx("p",{className:"mb-4",children:"jmcomic has adopted a policy of terminating users who are repeat infringers. We maintain a record of DMCA takedown notices and may terminate accounts that receive multiple valid takedown notices."}),r.jsxs("div",{className:"bg-red-500 bg-opacity-10 border border-red-500 rounded-lg p-4",children:[r.jsx("h3",{className:"text-white text-lg font-semibold mb-2",children:"Repeat Infringer Consequences"}),r.jsxs("ul",{className:"list-disc list-inside space-y-1 text-black font-medium",children:[r.jsxs("li",{children:[r.jsx("strong",{children:"First offense:"})," Warning and content removal"]}),r.jsxs("li",{children:[r.jsx("strong",{children:"Second offense:"})," Temporary account suspension"]}),r.jsxs("li",{children:[r.jsx("strong",{children:"Third offense:"})," Permanent account termination"]})]})]})]}),r.jsxs("div",{children:[r.jsx("h2",{className:"text-yellow-400 text-2xl font-semibold mb-4",children:"8. False Claims Warning"}),r.jsxs("div",{className:"bg-red-500 bg-opacity-10 border border-red-500 rounded-lg p-6",children:[r.jsx("h3",{className:"text-white text-lg font-semibold mb-3",children:"⚠️ Important Warning"}),r.jsx("p",{className:"mb-3 text-black font-medium",children:"Making false claims in a DMCA takedown notice or counter-notification may result in:"}),r.jsxs("ul",{className:"list-disc list-inside space-y-1 text-black font-medium",children:[r.jsx("li",{children:"Liability for damages, including attorney fees"}),r.jsx("li",{children:"Perjury charges under federal law"}),r.jsx("li",{children:"Permanent ban from our platform"})]}),r.jsx("p",{className:"mt-3 text-black font-medium",children:"Please ensure all information in your notice is accurate and that you have authorization to act on behalf of the copyright owner."})]})]}),r.jsxs("div",{children:[r.jsx("h2",{className:"text-yellow-400 text-2xl font-semibold mb-4",children:"9. Safe Harbor Provisions"}),r.jsx("p",{className:"mb-4",children:'jmcomic qualifies for the "safe harbor" provisions of the DMCA, which protect service providers from liability for copyright infringement by users, provided we:'}),r.jsxs("ul",{className:"list-disc list-inside space-y-2 ml-4",children:[r.jsx("li",{children:"Have no actual knowledge of infringing activity"}),r.jsx("li",{children:"Receive no financial benefit directly attributable to infringing activity"}),r.jsx("li",{children:"Respond expeditiously to remove infringing material upon notification"}),r.jsx("li",{children:"Have implemented a repeat infringer policy"}),r.jsx("li",{children:"Accommodate and do not interfere with standard technical measures"})]})]}),r.jsxs("div",{children:[r.jsx("h2",{className:"text-yellow-400 text-2xl font-semibold mb-4",children:"10. Modification of Policy"}),r.jsx("p",{children:"We reserve the right to modify this DMCA policy at any time. Changes will be effective immediately upon posting. Continued use of our service after changes constitutes acceptance of the modified policy."})]}),r.jsxs("div",{children:[r.jsx("h2",{className:"text-yellow-400 text-2xl font-semibold mb-4",children:"11. Additional Resources"}),r.jsxs("div",{className:"bg-gray-800 p-6 rounded-lg",children:[r.jsx("h3",{className:"text-yellow-300 text-lg font-semibold mb-3",children:"Helpful Links"}),r.jsxs("ul",{className:"space-y-2",children:[r.jsx("li",{children:r.jsx("a",{href:"https://www.copyright.gov/dmca/",className:"text-yellow-400 hover:underline",target:"_blank",rel:"noopener noreferrer",children:"Official DMCA Information (U.S. Copyright Office)"})}),r.jsx("li",{children:r.jsx("a",{href:"https://www.eff.org/issues/dmca",className:"text-yellow-400 hover:underline",target:"_blank",rel:"noopener noreferrer",children:"Electronic Frontier Foundation DMCA Resources"})}),r.jsx("li",{children:r.jsx("a",{href:"https://www.copyright.gov/",className:"text-yellow-400 hover:underline",target:"_blank",rel:"noopener noreferrer",children:"U.S. Copyright Office"})})]})]})]}),r.jsxs("div",{children:[r.jsx("h2",{className:"text-yellow-400 text-2xl font-semibold mb-4",children:"12. Contact Information"}),r.jsx("p",{className:"mb-4",children:"For questions about this DMCA policy (not for filing takedown notices), contact us:"}),r.jsxs("div",{className:"bg-gray-800 p-4 rounded-lg",children:[r.jsxs("p",{children:[r.jsx("strong",{children:"General Inquiries:"})," legal@jmcomic.store"]}),r.jsxs("p",{children:[r.jsx("strong",{children:"Address:"})," 123 Comic Avenue, San Francisco, CA 94107"]}),r.jsxs("p",{children:[r.jsx("strong",{children:"Phone:"})," +1 (800) 123-4567"]})]})]})]})})]})})]})};function TE(){return j.useEffect(()=>{document.documentElement.classList.add("dark"),console.log("App mounted, initial title:",document.title);const n=document.querySelectorAll("title");if(n.length>1){console.log("Multiple title elements found, cleaning up...");for(let i=1;i<n.length;i++)n[i].remove()}},[]),r.jsxs(nx,{children:[r.jsxs(ax,{children:[r.jsx("title",{children:"jmcomic - The Ultimate Comic Reading Experience"}),r.jsx("meta",{name:"description",content:"Experience the best comic reading app with over 20,000 comics. Download jmcomic for Android, iOS, and Windows."})]}),r.jsxs(J2,{children:[r.jsx(ON,{}),r.jsx(kN,{}),r.jsx(DN,{children:r.jsxs(Qj,{children:[r.jsx(Gt,{path:"/",element:r.jsx(RC,{})}),r.jsx(Gt,{path:"/about",element:r.jsx(DC,{})}),r.jsx(Gt,{path:"/download",element:r.jsx(OC,{})}),r.jsx(Gt,{path:"/download/:platform",element:r.jsx(xE,{})}),r.jsx(Gt,{path:"/faqs",element:r.jsx(yE,{})}),r.jsx(Gt,{path:"/contact",element:r.jsx(gE,{})}),r.jsx(Gt,{path:"/terms",element:r.jsx(bE,{})}),r.jsx(Gt,{path:"/privacy",element:r.jsx(wE,{})}),r.jsx(Gt,{path:"/cookies",element:r.jsx(jE,{})}),r.jsx(Gt,{path:"/dmca",element:r.jsx(SE,{})}),r.jsx(Gt,{path:"*",element:r.jsx(vE,{})})]})})]})]})}tj.createRoot(document.getElementById("root")).render(r.jsx(ge.StrictMode,{children:r.jsx(g2,{children:r.jsx(TE,{})})}));
