PageSourceSearch

https://sophey.vodka/assets/index-sMz8beI_.js

js sophey.vodka collected 2026-09-24 15:14:28 UTC 417,019 bytes, 12 lines download raw bytes

1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/PikaRadioPage-c9g8z3pu.js","assets/download-CpEN3aim.js","assets/globe-CdDWxzHr.js","assets/minus-moTzDs7Q.js","assets/plus-CWiQ0oUY.js","assets/DownloadPage-B46Y29Z3.js","assets/arrow-left-_w9msQIg.js","assets/check-B9MUDmOr.js","assets/shield-DMNIkNGk.js","assets/ProjectsPage-D1NErhDu.js","assets/PortfolioPage-Bk1moeHq.js","assets/PortfolioShared-HrspuQvy.js","assets/seo-XVUhQy0y.js","assets/PortfolioCaseStudyPage-Cwg7QZn0.js","assets/NotFoundPage-RSuJBn8c.js","assets/ToSPage-41K8OWb5.js","assets/LegalShell-lgmYUNdv.js","assets/PrivacyPage-CFtn7tbg.js","assets/ContactPage-pFWZS0KA.js","assets/circle-alert-CCLPKmBn.js","assets/DocsPage-8eNPwZMO.js","assets/IrlPage-IDB7Cx9d.js","assets/LariPage-DNFrDoFu.js","assets/external-link-DrMjb7Qu.js","assets/use-in-view-BWr4DN6O.js","assets/LariDashboard-8uUbRkXC.js","assets/x-Bd_Kqijs.js","assets/upload-CVJNNg5X.js","assets/EisprinzessinPage-DQtBlKWr.js","assets/CavPage-BiRQ8--X.js","assets/OutfitsIndexPage-DSi1KIWh.js","assets/outfitsClient-CbTqGp-A.js","assets/ChromaCanvas-DlW8344w.js","assets/OutfitsModelPage-Cbie774c.js","assets/OutfitDetailPage-9CwfUW5z.js","assets/play-BcTHMYIv.js","assets/sparkles-_kTspJLC.js","assets/UserProfile-CkNkLnAQ.js","assets/AdminDashboard-CERNnxkY.js","assets/AuthContext-BRWjlb3Z.js","assets/Toast-a1q_w8Yo.js","assets/palette-IQs6-9dD.js","assets/pen-line-Czewk6-L.js","assets/AdminLogin-Df3yVcdN.js","assets/AdminUpload-DvHLSrWO.js","assets/AdminOutfitForm-J9mdhhRS.js","assets/AdminEdit-BzmAGog1.js","assets/AdminNewModel-D69wNM_M.js","assets/AdminModelsList-DWYzwfFf.js","assets/AdminEditModel-Db5YuDtz.js","assets/AdminShell-CAYbCF0Q.js"])))=>i.map(i=>d[i]);
2(function(){const i=document.createElement("link").relList;if(i&&i.supports&&i.supports("modulepreload"))return;for(const u of document.querySelectorAll('link[rel="modulepreload"]'))r(u);new MutationObserver(u=>{for(const f of u)if(f.type==="childList")for(const h of f.addedNodes)h.tagName==="LINK"&&h.rel==="modulepreload"&&r(h)}).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 r(u){if(u.ep)return;u.ep=!0;const f=s(u);fetch(u.href,f)}})();function x0(n){return n&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n}var Tc={exports:{}},_l={};var Cy;function rx(){if(Cy)return _l;Cy=1;var n=Symbol.for("react.transitional.element"),i=Symbol.for("react.fragment");function s(r,u,f){var h=null;if(f!==void 0&&(h=""+f),u.key!==void 0&&(h=""+u.key),"key"in u){f={};for(var d in u)d!=="key"&&(f[d]=u[d])}else f=u;return u=f.ref,{$$typeof:n,type:r,key:h,ref:u!==void 0?u:null,props:f}}return _l.Fragment=i,_l.jsx=s,_l.jsxs=s,_l}var wy;function ox(){return wy||(wy=1,Tc.exports=rx()),Tc.exports}var T=ox(),Ec={exports:{}},it={};var Dy;function ux(){if(Dy)return it;Dy=1;var n=Symbol.for("react.transitional.element"),i=Symbol.for("react.portal"),s=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),u=Symbol.for("react.profiler"),f=Symbol.for("react.consumer"),h=Symbol.for("react.context"),d=Symbol.for("react.forward_ref"),y=Symbol.for("react.suspense"),m=Symbol.for("react.memo"),g=Symbol.for("react.lazy"),v=Symbol.for("react.activity"),S=Symbol.iterator;function w(C){return C===null||typeof C!="object"?null:(C=S&&C[S]||C["@@iterator"],typeof C=="function"?C:null)}var D={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},O=Object.assign,R={};function j(C,Y,P){this.props=C,this.context=Y,this.refs=R,this.updater=P||D}j.prototype.isReactComponent={},j.prototype.setState=function(C,Y){if(typeof C!="object"&&typeof C!="function"&&C!=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,C,Y,"setState")},j.prototype.forceUpdate=function(C){this.updater.enqueueForceUpdate(this,C,"forceUpdate")};function L(){}L.prototype=j.prototype;function B(C,Y,P){this.props=C,this.context=Y,this.refs=R,this.updater=P||D}var X=B.prototype=new L;X.constructor=B,O(X,j.prototype),X.isPureReactComponent=!0;var K=Array.isArray;function at(){}var $={H:null,A:null,T:null,S:null},tt=Object.prototype.hasOwnProperty;function lt(C,Y,P){var J=P.ref;return{$$typeof:n,type:C,key:Y,ref:J!==void 0?J:null,props:P}}function I(C,Y){return lt(C.type,Y,C.props)}function dt(C){return typeof C=="object"&&C!==null&&C.$$typeof===n}function xt(C){var Y={"=":"=0",":":"=2"};return"$"+C.replace(/[=:]/g,function(P){return Y[P]})}var ue=/\/+/g;function Gt(C,Y){return typeof C=="object"&&C!==null&&C.key!=null?xt(""+C.key):Y.toString(36)}function kt(C){switch(C.status){case"fulfilled":return C.value;case"rejected":throw C.reason;default:switch(typeof C.status=="string"?C.then(at,at):(C.status="pending",C.then(function(Y){C.status==="pending"&&(C.status="fulfilled",C.value=Y)},function(Y){C.status==="pending"&&(C.status="rejected",C.reason=Y)})),C.status){case"fulfilled":return C.value;case"rejected":throw C.reason}}throw C}function U(C,Y,P,J,st){var ct=typeof C;(ct==="undefined"||ct==="boolean")&&(C=null);var Et=!1;if(C===null)Et=!0;else switch(ct){case"bigint":case"string":case"number":Et=!0;break;case"object":switch(C.$$typeof){case n:case i:Et=!0;break;case g:return Et=C._init,U(Et(C._payload),Y,P,J,st)}}if(Et)return st=st(C),Et=J===""?"."+Gt(C,0):J,K(st)?(P="",Et!=null&&(P=Et.replace(ue,"$&/")+"/"),U(st,Y,P,"",function(Ui){return Ui})):st!=null&&(dt(st)&&(st=I(st,P+(st.key==null||C&&C.key===st.key?"":(""+st.key).replace(ue,"$&/")+"/")+Et)),Y.push(st)),1;Et=0;var ce=J===""?".":J+":";if(K(C))for(var qt=0;qt<C.length;qt++)J=C[qt],ct=ce+Gt(J,qt),Et+=U(J,Y,P,ct,st);else if(qt=w(C),typeof qt=="function")for(C=qt.call(C),qt=0;!(J=C.next()).done;)J=J.value,ct=ce+Gt(J,qt++),Et+=U(J,Y,P,ct,st);else if(ct==="object"){if(typeof C.then=="function")return U(kt(C),Y,P,J,st);throw Y=String(C),Error("Objects are not valid as a React child (found: "+(Y==="[object Object]"?"object with keys {"+Object.keys(C).join(", ")+"}":Y)+"). If you meant to render a collection of children, use an array instead.")}return Et}function G(C,Y,P){if(C==null)return C;var J=[],st=0;return U(C,J,"","",function(ct){return Y.call(P,ct,st++)}),J}function Q(C){if(C._status===-1){var Y=C._result;Y=Y(),Y.then(function(P){(C._status===0||C._status===-1)&&(C._status=1,C._result=P)},function(P){(C._status===0||C._status===-1)&&(C._status=2,C._result=P)}),C._status===-1&&(C._status=0,C._result=Y)}if(C._status===1)return C._result.default;throw C._result}var ot=typeof reportError=="function"?reportError:function(C){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var Y=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof C=="object"&&C!==null&&typeof C.message=="string"?String(C.message):String(C),error:C});if(!window.dispatchEvent(Y))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",C);return}console.error(C)},yt={map:G,forEach:function(C,Y,P){G(C,function(){Y.apply(this,arguments)},P)}
2,count:function(C){var Y=0;return G(C,function(){Y++}),Y},toArray:function(C){return G(C,function(Y){return Y})||[]},only:function(C){if(!dt(C))throw Error("React.Children.only expected to receive a single React element child.");return C}};return it.Activity=v,it.Children=yt,it.Component=j,it.Fragment=s,it.Profiler=u,it.PureComponent=B,it.StrictMode=r,it.Suspense=y,it.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=$,it.__COMPILER_RUNTIME={__proto__:null,c:function(C){return $.H.useMemoCache(C)}},it.cache=function(C){return function(){return C.apply(null,arguments)}},it.cacheSignal=function(){return null},it.cloneElement=function(C,Y,P){if(C==null)throw Error("The argument must be a React element, but you passed "+C+".");var J=O({},C.props),st=C.key;if(Y!=null)for(ct in Y.key!==void 0&&(st=""+Y.key),Y)!tt.call(Y,ct)||ct==="key"||ct==="__self"||ct==="__source"||ct==="ref"&&Y.ref===void 0||(J[ct]=Y[ct]);var ct=arguments.length-2;if(ct===1)J.children=P;else if(1<ct){for(var Et=Array(ct),ce=0;ce<ct;ce++)Et[ce]=arguments[ce+2];J.children=Et}return lt(C.type,st,J)},it.createContext=function(C){return C={$$typeof:h,_currentValue:C,_currentValue2:C,_threadCount:0,Provider:null,Consumer:null},C.Provider=C,C.Consumer={$$typeof:f,_context:C},C},it.createElement=function(C,Y,P){var J,st={},ct=null;if(Y!=null)for(J in Y.key!==void 0&&(ct=""+Y.key),Y)tt.call(Y,J)&&J!=="key"&&J!=="__self"&&J!=="__source"&&(st[J]=Y[J]);var Et=arguments.length-2;if(Et===1)st.children=P;else if(1<Et){for(var ce=Array(Et),qt=0;qt<Et;qt++)ce[qt]=arguments[qt+2];st.children=ce}if(C&&C.defaultProps)for(J in Et=C.defaultProps,Et)st[J]===void 0&&(st[J]=Et[J]);return lt(C,ct,st)},it.createRef=function(){return{current:null}},it.forwardRef=function(C){return{$$typeof:d,render:C}},it.isValidElement=dt,it.lazy=function(C){return{$$typeof:g,_payload:{_status:-1,_result:C},_init:Q}},it.memo=function(C,Y){return{$$typeof:m,type:C,compare:Y===void 0?null:Y}},it.startTransition=function(C){var Y=$.T,P={};$.T=P;try{var J=C(),st=$.S;st!==null&&st(P,J),typeof J=="object"&&J!==null&&typeof J.then=="function"&&J.then(at,ot)}catch(ct){ot(ct)}finally{Y!==null&&P.types!==null&&(Y.types=P.types),$.T=Y}},it.unstable_useCacheRefresh=function(){return $.H.useCacheRefresh()},it.use=function(C){return $.H.use(C)},it.useActionState=function(C,Y,P){return $.H.useActionState(C,Y,P)},it.useCallback=function(C,Y){return $.H.useCallback(C,Y)},it.useContext=function(C){return $.H.useContext(C)},it.useDebugValue=function(){},it.useDeferredValue=function(C,Y){return $.H.useDeferredValue(C,Y)},it.useEffect=function(C,Y){return $.H.useEffect(C,Y)},it.useEffectEvent=function(C){return $.H.useEffectEvent(C)},it.useId=function(){return $.H.useId()},it.useImperativeHandle=function(C,Y,P){return $.H.useImperativeHandle(C,Y,P)},it.useInsertionEffect=function(C,Y){return $.H.useInsertionEffect(C,Y)},it.useLayoutEffect=function(C,Y){return $.H.useLayoutEffect(C,Y)},it.useMemo=function(C,Y){return $.H.useMemo(C,Y)},it.useOptimistic=function(C,Y){return $.H.useOptimistic(C,Y)},it.useReducer=function(C,Y,P){return $.H.useReducer(C,Y,P)},it.useRef=function(C){return $.H.useRef(C)},it.useState=function(C){return $.H.useState(C)},it.useSyncExternalStore=function(C,Y,P){return $.H.useSyncExternalStore(C,Y,P)},it.useTransition=function(){return $.H.useTransition()},it.version="19.2.0",it}var My;function Fr(){return My||(My=1,Ec.exports=ux()),Ec.exports}var x=Fr();const cx=x0(x);var Ac={exports:{}},zl={},Cc={exports:{}},wc={};var Ry;function fx(){return Ry||(Ry=1,(function(n){function i(U,G){var Q=U.length;U.push(G);t:for(;0<Q;){var ot=Q-1>>>1,yt=U[ot];if(0<u(yt,G))U[ot]=G,U[Q]=yt,Q=ot;else break t}}function s(U){return U.length===0?null:U[0]}function r(U){if(U.length===0)return null;var G=U[0],Q=U.pop();if(Q!==G){U[0]=Q;t:for(var ot=0,yt=U.length,C=yt>>>1;ot<C;){var Y=2*(ot+1)-1,P=U[Y],J=Y+1,st=U[J];if(0>u(P,Q))J<yt&&0>u(st,P)?(U[ot]=st,U[J]=Q,ot=J):(U[ot]=P,U[Y]=Q,ot=Y);else if(J<yt&&0>u(st,Q))U[ot]=st,U[J]=Q,ot=J;else break t}}return G}function u(U,G){var Q=U.sortIndex-G.sortIndex;return Q!==0?Q:U.id-G.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 h=Date,d=h.now();n.unstable_now=function(){return h.now()-d}}var y=[],m=[],g=1,v=null,S=3,w=!1,D=!1,O=!1,R=!1,j=typeof setTimeout=="function"?setTimeout:null,L=typeof clearTimeout=="function"?clearTimeout:null,B=typeof setImmediate<"u"?setImmediate:null;function X(U){for(var G=s(m);G!==null;){if(G.callback===null)r(m);else if(G.startTime<=U)r(m),G.sortIndex=G.expirationTime,i(y,G);else break;G=s(m)}}function K(U){if(O=!1,X(U),!D)if(s(y)!==null)D=!0,at||(at=!0,xt());else{var G=s(m);G!==null&&kt(K,G.startTime-U)}}var at=!1,$=-1,tt=5,lt=-1;function I(){return R?!0:!(n.unstable_now()-lt<tt)}function dt(){if(R=!1,at){var U=n.unstable_now();lt=U;var G=!0;try{t:{D=!1,O&&(O=!1,L($),$=-1),w=!0;var Q=S;try{e:{for(X(U),v=s(y);v!==null&&!(v.expirationTime>U&&I());){var ot=v.callback;if(typeof ot=="function"){v.callback=null,S=v.priorityLevel;var yt=ot(v.expirationTime<=U);if(U=n.unstable_now(),typeof yt=="function"){v.callback=yt,X(U),G=!0;break e}v===s(y)&&r(y),X(U)}else r(y);v=s(y)}if(v!==null)G=!0;else{var C=s(m);C!==null&&kt(K,C.startTime-U),G=!1}}break t}finally{v=null,S=Q,w=!1}G=void 0}}finally{G?xt():at=!1}}}var xt;if(typeof B=="function")xt=function(){B(dt)};else if(typeof MessageChannel<"u"){var ue=new MessageChannel,Gt=ue.port2;ue.port1.onmessage=dt,xt=function(){Gt.postMessage(null)}}else xt=function(){j(dt,0)};function kt(U,G){$=j(function(){U(n.unstable_now())},G)}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(U){U.callback=null},n.unstable_forceFrameRate=function(U){0>U||125<U?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):tt=0<U?Math.floor(1e3/U):5},n.unstable_getCurrentPriorityLevel=function(){return S},n.unstable_next=function(U){switch(S){case 1:case 2:case 3:var G=3;break;default:G=S}var Q=S;S=G;try{return U()}finally{S=Q}},n.unstable_requestPaint=function(){R=!0},n.unstable_runWithPriority=function(U,G){switch(U){case 1:case 2:case 3:case 4:case 5:break;default:U=3}var Q=S;S=U;try{return G()}finally{S=Q}},n.unstable_scheduleCallback=function(U,G,Q){var ot=n.unstable_now();switch(typeof Q=="object"&&Q!==null?(Q=Q.delay,Q=typeof Q=="number"&&0<Q?ot+Q:ot):Q=ot,U
vendor: 21,268 bytes, lines 2-9
2){case 1:var yt=-1;break;case 2:yt=250;break;case 5:yt=1073741823;break;case 4:yt=1e4;break;default:yt=5e3}return yt=Q+yt,U={id:g++,callback:G,priorityLevel:U,startTime:Q,expirationTime:yt,sortIndex:-1},Q>ot?(U.sortIndex=Q,i(m,U),s(y)===null&&U===s(m)&&(O?(L($),$=-1):O=!0,kt(K,Q-ot))):(U.sortIndex=yt,i(y,U),D||w||(D=!0,at||(at=!0,xt()))),U},n.unstable_shouldYield=I,n.unstable_wrapCallback=function(U){var G=S;return function(){var Q=S;S=G;try{return U.apply(this,arguments)}finally{S=Q}}}})(wc)),wc}var Oy;function hx(){return Oy||(Oy=1,Cc.exports=fx()),Cc.exports}var Dc={exports:{}},oe={};var _y;function dx(){if(_y)return oe;_y=1;var n=Fr();function i(y){var m="https://react.dev/errors/"+y;if(1<arguments.length){m+="?args[]="+encodeURIComponent(arguments[1]);for(var g=2;g<arguments.length;g++)m+="&args[]="+encodeURIComponent(arguments[g])}return"Minified React error #"+y+"; visit "+m+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function s(){}var r={d:{f:s,r:function(){throw Error(i(522))},D:s,C:s,L:s,m:s,X:s,S:s,M:s},p:0,findDOMNode:null},u=Symbol.for("react.portal");function f(y,m,g){var v=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:u,key:v==null?null:""+v,children:y,containerInfo:m,implementation:g}}var h=n.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function d(y,m){if(y==="font")return"";if(typeof m=="string")return m==="use-credentials"?m:""}return oe.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=r,oe.createPortal=function(y,m){var g=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!m||m.nodeType!==1&&m.nodeType!==9&&m.nodeType!==11)throw Error(i(299));return f(y,m,null,g)},oe.flushSync=function(y){var m=h.T,g=r.p;try{if(h.T=null,r.p=2,y)return y()}finally{h.T=m,r.p=g,r.d.f()}},oe.preconnect=function(y,m){typeof y=="string"&&(m?(m=m.crossOrigin,m=typeof m=="string"?m==="use-credentials"?m:"":void 0):m=null,r.d.C(y,m))},oe.prefetchDNS=function(y){typeof y=="string"&&r.d.D(y)},oe.preinit=function(y,m){if(typeof y=="string"&&m&&typeof m.as=="string"){var g=m.as,v=d(g,m.crossOrigin),S=typeof m.integrity=="string"?m.integrity:void 0,w=typeof m.fetchPriority=="string"?m.fetchPriority:void 0;g==="style"?r.d.S(y,typeof m.precedence=="string"?m.precedence:void 0,{crossOrigin:v,integrity:S,fetchPriority:w}):g==="script"&&r.d.X(y,{crossOrigin:v,integrity:S,fetchPriority:w,nonce:typeof m.nonce=="string"?m.nonce:void 0})}},oe.preinitModule=function(y,m){if(typeof y=="string")if(typeof m=="object"&&m!==null){if(m.as==null||m.as==="script"){var g=d(m.as,m.crossOrigin);r.d.M(y,{crossOrigin:g,integrity:typeof m.integrity=="string"?m.integrity:void 0,nonce:typeof m.nonce=="string"?m.nonce:void 0})}}else m==null&&r.d.M(y)},oe.preload=function(y,m){if(typeof y=="string"&&typeof m=="object"&&m!==null&&typeof m.as=="string"){var g=m.as,v=d(g,m.crossOrigin);r.d.L(y,g,{crossOrigin:v,integrity:typeof m.integrity=="string"?m.integrity:void 0,nonce:typeof m.nonce=="string"?m.nonce:void 0,type:typeof m.type=="string"?m.type:void 0,fetchPriority:typeof m.fetchPriority=="string"?m.fetchPriority:void 0,referrerPolicy:typeof m.referrerPolicy=="string"?m.referrerPolicy:void 0,imageSrcSet:typeof m.imageSrcSet=="string"?m.imageSrcSet:void 0,imageSizes:typeof m.imageSizes=="string"?m.imageSizes:void 0,media:typeof m.media=="string"?m.media:void 0})}},oe.preloadModule=function(y,m){if(typeof y=="string")if(m){var g=d(m.as,m.crossOrigin);r.d.m(y,{as:typeof m.as=="string"&&m.as!=="script"?m.as:void 0,crossOrigin:g,integrity:typeof m.integrity=="string"?m.integrity:void 0})}else r.d.m(y)},oe.requestFormReset=function(y){r.d.r(y)},oe.unstable_batchedUpdates=function(y,m){return y(m)},oe.useFormState=function(y,m,g){return h.H.useFormState(y,m,g)},oe.useFormStatus=function(){return h.H.useHostTransitionStatus()},oe.version="19.2.0",oe}var zy;function mx(){if(zy)return Dc.exports;zy=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(),Dc.exports=dx(),Dc.exports}var jy;function px(){if(jy)return zl;jy=1;var n=hx(),i=Fr(),s=mx();function r(t){var e="https://react.dev/errors/"+t;if(1<arguments.length){e+="?args[]="+encodeURIComponent(arguments[1]);for(var a=2;a<arguments.length;a++)e+="&args[]="+encodeURIComponent(arguments[a])}return"Minified React error #"+t+"; visit "+e+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function u(t){return!(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11)}function f(t){var e=t,a=t;if(t.alternate)for(;e.return;)e=e.return;else{t=e;do e=t,(e.flags&4098)!==0&&(a=e.return),t=e.return;while(t)}return e.tag===3?a:null}function h(t){if(t.tag===13){var e=t.memoizedState;if(e===null&&(t=t.alternate,t!==null&&(e=t.memoizedState)),e!==null)return e.dehydrated}return null}function d(t){if(t.tag===31){var e=t.memoizedState;if(e===null&&(t=t.alternate,t!==null&&(e=t.memoizedState)),e!==null)return e.dehydrated}return null}function y(t){if(f(t)!==t)throw Error(r(188))}function m(t){var e=t.alternate;if(!e){if(e=f(t),e===null)throw Error(r(188));return e!==t?null:t}for(var a=t,l=e;;){var o=a.return;if(o===null)break;var c=o.alternate;if(c===null){if(l=o.return,l!==null){a=l;continue}break}if(o.child===c.child){for(c=o.child;c;){if(c===a)return y(o),t;if(c===l)return y(o),e;c=c.sibling}throw Error(r(188))}if(a.return!==l.return)a=o,l=c;else{for(var p=!1,b=o.child;b;){if(b===a){p=!0,a=o,l=c;break}if(b===l){p=!0,l=o,a=c;break}b=b.sibling}if(!p){for(b=c.child;b;){if(b===a){p=!0,a=c,l=o;break}if(b===l){p=!0,l=c,a=o;break}b=b.sibling}if(!p)throw Error(r(189))}}if(a.alternate!==l)throw Error(r(190))}if(a.tag!==3)throw Error(r(188));return a.stateNode.current===a?t:e}function g(t){var e=t.tag;if(e===5||e===26||e===27||e===6)return t;for(t=t.child;t!==null;){if(e=g(t),e!==null)return e;t=t.sibling}return null}var v=Object.assign,S=Symbol.for("react.element"),w=Symbol.for("react.transitional.element"),D=Symbol.for("react.portal"),O=Symbol.for("react.fragment"),R=Symbol.for("react.strict_mode"),j=Symbol.for("react.profiler"),L=Symbol.for("react.consumer"),B=Symbol.for("react.context"),X=Symbol.for("react.forward_ref"),K=Symbol.for("react.suspense"),at=Symbol.for("react.suspense_list"),$=Symbol.for("react.memo"),tt=Symbol.for("react.lazy"),lt=Symbol.for("react.activity"),I=Symbol.for("react.memo_cache_sentinel"),dt=Symbol.iterator;function xt(t){return t===null||typeof t!="object"?null:(t=dt&&t[dt]||t["@@iterator"],typeof t=="function"?t:null)}var ue=Symbol.for("react.client.reference");function Gt(t){if(t==null)return null;if(typeof t=="function")return t.$$typeof===ue?null:t.displayName||t.name||null;if(typeof t=="string")return t;switch(t){case O:return"Fragment";case j:return"Profiler";case R:return"StrictMode";case K:return"Suspense";case at:return"SuspenseList";case lt:return"Activity"}if(typeof t=="object")switch(t.$$typeof){case D:return"Portal";case B:return t.displayName||"Context";case L:return(t._context.displayName||"Context")+".Consumer";case X:var e=t.render;return t=t.displayName,t||(t=e.displayName||e.name||"",t=t!==""?"ForwardRef("+t+")":"ForwardRef"),t;case $:return e=t.displayName||null,e!==null?e:Gt(t.type)||"Memo";case tt:e=t._payload,t=t._init;try{return Gt(t(e))}catch{}}return null}var kt=Array.isArray,U=i.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,G=s.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Q={pending:!1,data:null,method:null,action:null},ot=[],yt=-1;function C(t){return{current:t}}function Y(t){0>yt||(t.current=ot[yt],ot[yt]=null,yt--)}function P(t,e){yt++,ot[yt]=t.current,t.current=e}var J=C(null),st=C(null),ct=C(null),Et=C(null);function ce(t,e){switch(P(ct,e),P(st,t),P(J,null),e.nodeType){case 9:case 11:t=(t=e.documentElement)&&(t=t.namespaceURI)?Zp(t):0;break;default:if(t=e.tagName,e=e.namespaceURI)e=Zp(e),t=Fp(e,t);else switch(t){case"svg":t=1;break;case"math":t=2;break;default:t=0}}Y(J),P(J,t)}function qt(){Y(J),Y(st),Y(ct)}function Ui(t){t.memoizedState!==null&&P(Et,t);var e=J.current,a=Fp(e,t.type);e!==a&&(P(st,t),P(J,a))}function as(t){st.current===t&&(Y(J),Y(st)),Et.current===t&&(Y(Et),Dl._currentValue=Q)}var ao,Ah;function fa(t){if(ao===void 0)try{throw Error()}catch(a){var e=a.stack.trim().match(/\n( *(at )?)/);ao=e&&e[1]||"",Ah=-1<a.stack.indexOf(`
3    at`)?" (<anonymous>)":-1<a.stack.indexOf("@")?"@unknown:0:0":""}return`
4`+ao+t+Ah}var io=!1;function lo(t,e){if(!t||io)return"";io=!0;var a=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var l={DetermineComponentFrameRoot:function(){try{if(e){var q=function(){throw Error()};if(Object.defineProperty(q.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(q,[])}catch(V){var N=V}Reflect.construct(t,[],q)}else{try{q.call()}catch(V){N=V}t.call(q.prototype)}}else{try{throw Error()}catch(V){N=V}(q=t())&&typeof q.catch=="function"&&q.catch(function(){})}}catch(V){if(V&&N&&typeof V.stack=="string")return[V.stack,N.stack]}return[null,null]}};l.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var o=Object.getOwnPropertyDescriptor(l.DetermineComponentFrameRoot,"name");o&&o.configurable&&Object.defineProperty(l.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var c=l.DetermineComponentFrameRoot(),p=c[0],b=c[1];if(p&&b){var E=p.split(`
5`),z=b.split(`
6`);for(o=l=0;l<E.length&&!E[l].includes("DetermineComponentFrameRoot");)l++;for(;o<z.length&&!z[o].includes("DetermineComponentFrameRoot");)o++;if(l===E.length||o===z.length)for(l=E.length-1,o=z.length-1;1<=l&&0<=o&&E[l]!==z[o];)o--;for(;1<=l&&0<=o;l--,o--)if(E[l]!==z[o]){if(l!==1||o!==1)do if(l--,o--,0>o||E[l]!==z[o]){var H=`
7`+E[l].replace(" at new "," at ");return t.displayName&&H.includes("<anonymous>")&&(H=H.replace("<anonymous>",t.displayName)),H}while(1<=l&&0<=o);break}}}finally{io=!1,Error.prepareStackTrace=a}return(a=t?t.displayName||t.name:"")?fa(a):""}function U1(t,e){switch(t.tag){case 26:case 27:case 5:return fa(t.type);case 16:return fa("Lazy");case 13:return t.child!==e&&e!==null?fa("Suspense Fallback"):fa("Suspense");case 19:return fa("SuspenseList");case 0:case 15:return lo(t.type,!1);case 11:return lo(t.type.render,!1);case 1:return lo(t.type,!0);case 31:return fa("Activity");default:return""}}function Ch(t){try{var e="",a=null;do e+=U1(t,a),a=t,t=t.return;while(t);return e}catch(l){return`
8Error generating stack: `+l.message+`
9`+l.stack}}var so=Object.prototype.hasOwnProperty,ro=n.unstable_scheduleCallback,oo=n.unstable_cancelCallback,H1=n.unstable_shouldYield,k1=n.unstable_requestPaint,Te=n.unstable_now,q1=n.unstable_getCurrentPriorityLevel,wh=n.unstable_ImmediatePriority,Dh=n.unstable_UserBlockingPriority,is=n.unstable_NormalPriority,Y1=n.unstable_LowPriority,Mh=n.unstable_IdlePriority,X1=n.log,G1=n.unstable_setDisableYieldValue,Hi=null,Ee=null;function Ln(t){if(typeof X1=="function"&&G1(t),Ee&&typeof Ee.setStrictMode=="function")try{Ee.setStrictMode(Hi,t)}catch{}}var Ae=Math.clz32?Math.clz32:Q1,P1=Math.log,K1=Math.LN2;function Q1(t){return t>>>=0,t===0?32:31-(P1(t)/K1|0)|0}var ls=256,ss=262144,rs=4194304;function ha(t){var e=t&42;if(e!==0)return e;switch(t&-t){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return t&261888;case 262144:case 524288:case 1048576:case 2097152:return t&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return t&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return t}}function os(t,e,a){var l=t.pendingLanes;if(l===0)return 0;var o=0,c=t.suspendedLanes,p=t.pingedLanes;t=t.warmLanes;var b=l&134217727;return b!==0?(l=b&~c,l!==0?o=ha(l):(p&=b,p!==0?o=ha(p):a||(a=b&~t,a!==0&&(o=ha(a))))):(b=l&~c,b!==0?o=ha(b):p!==0?o=ha(p):a||(a=l&~t,a!==0&&(o=ha(a)))),o===0?0:e!==0&&e!==o&&(e&c)===0&&(c=o&-o,a=e&-e,c>=a||c===32&&(a&4194048)!==0)?e:o}function ki(t,e){return(t.pendingLanes&~(t.suspendedLanes&~t.pingedLanes)&e)===0}function Z1(t,e){switch(t){case 1:case 2:case 4:case 8:case 64:return e+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function Rh(){var t=rs;return rs<<=1,(rs&62914560)===0&&(rs=4194304),t}function uo(t){for(var e=[],a=0;31>a;a++)e.push(t);return e}function qi(t,e){t.pendingLanes|=e,e!==268435456&&(t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0)}function F1(t,e,a,l,o,c){var p=t.pendingLanes;t.pendingLanes=a,t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0,t.expiredLanes&=a,t.entangledLanes&=a,t.errorRecoveryDisabledLanes&=a,t.shellSuspendCounter=0;var b=t.entanglements,E=t.expirationTimes,z=t.hiddenUpdates;for(a=p&~a;0<a;){var H=31-Ae(a),q=1<<H;b[H]=0,E[H]=-1;var N=z[H];if(N!==null)for(z[H]=null,H=0;H<N.length;H++){var V=N[H];V!==null&&(V.lane&=-536870913)}a&=~q}l!==0&&Oh(t,l,0),c!==0&&o===0&&t.tag!==0&&(t.suspendedLanes|=c&~(p&~e))}function Oh(t,e,a){t.pendingLanes|=e,t.suspendedLanes&=~e;var l=31-Ae(e);t.entangledLanes|=e,t.entanglements[l]=t.entanglements[l]|1073741824|a&261930}function _h(t,e){var a=t.entangledLanes|=e;for(t=t.entanglements;a;){var l=31-Ae(a),o=1<<l;o&e|t[l]&e&&(t[l]|=e),a&=~o}}function zh(t,e){var a=e&-e;return a=(a&42)!==0?1:co(a),(a&(t.suspendedLanes|e))!==0?0:a}function co(t){switch(t){case 2:t=1;break;case 8:t=4;break;case 32:t=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:t=128;break;case 268435456:t=134217728;break;default:t=0}return t}function fo(t){return t&=-t,2<t?8<t?(t&134217727)!==0?32:268435456:8:2}function jh(){var t=G.p;return t!==0?t:(t=window.event,t===void 0?32:vy(t.type))}function Nh(t,e){var a=G.p;try{return G.p=t,e()}finally{G.p=a}}var Vn=Math.random().toString(36).slice(2),ne="__reactFiber$"+Vn,me="__reactProps$"+Vn,Ba="__reactContainer$"+Vn,ho="__reactEvents$"+Vn,J1="__reactListeners$"+Vn,$1="__reactHandles$"+Vn,Lh="__reactResources$"+Vn,Yi="__reactMarker$"+Vn;function mo(t){delete t[ne],delete t[me],delete t[ho],delete t[J1],delete t[$1]}function Ua(t){var e=t[ne];if(e)return e;for(var a=t.parentNode;a;){if(e=a[Ba]||a[ne]){if(a=e.alternate,e.child!==null||a!==null&&a.child!==null)for(t=ny(t);t!==null;){if(a=t[ne])return a;t=ny(t)}return e}t=a,a=t.parentNode}return null}function Ha(t){if(t=t[ne]||t[Ba]){var e=t.tag;if(e===5||e===6||e===13||e===31||e===26||e===27||e===3)return t}return null}function Xi(t){var e=t.tag;if(e===5||e===26||e===27||e===6)return t.stateNode;throw Error(r(33))}function ka(t){var e=t[Lh];return e||(e=t[Lh]={hoistableStyles:new Map,hoistableScripts:new Map}),e}function It(t){t[Yi]=!0}var Vh=new Set,Bh={};function da(t,e){qa(t,e),qa(t+"Capture",e)}function qa(t,e){for(Bh[t]=e,t=0;t<e.length;t++)Vh.add(e[t])}var W1=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]*$"),Uh={},Hh={};function I1(t){return so.call(Hh,t)?!0:so.call(Uh,t)?!1:W1.test(t)?Hh[t]=!0:(Uh[t]=!0,!1)}function us(t,e,a){if(I1(e))if(a===null)t.removeAttribute(e);else{switch(typeof a){case"undefined":case"function":case"symbol":t.removeAttribute(e);return;case"boolean":var l=e.toLowerCase().slice(0,5);if(l!=="data-"&&l!=="aria-"){t.removeAttribute(e);return}}t.setAttribute(e,""+a)}}function cs(t,e,a){if(a===null)t.removeAttribute(e);else{switch(typeof a){case"undefined":case"function":case"symbol":case"boolean":t.removeAttribute(e);return}t.setAttribute(e,""+a)}}function fn(t,e,a,l){if(l===null)t.removeAttribute(a);else{switch(typeof l){case"undefined":case"function":case"symbol":case"boolean":t.removeAttribute(a);return}t.setAttributeNS(e,a,""+l)}}function Ne(t){switch(typeof t){case"bigint":case"boolean":case"number":case"string":case"undefined":return t;case"object":return t;default:return""}}function kh(t){var e=t.type;return(t=t.nodeName)&&t.toLowerCase()==="input"&&(e==="checkbox"||e==="radio")}function tb(t,e,a){var l=Object.getOwnPropertyDescriptor(t.constructor.prototype,e);if(!t.hasOwnProperty(e)&&typeof l<"u"&&typeof l.get=="function"&&typeof l.set=="function"){var o=l.get,c=l.set;return Object.defineProperty(t,e,{configurable:!0,get:function(){return o.call(this)},set:function(p){a=""+p,c.call(this,p)}}),Object.defineProperty(t,e,{enumerable:l.enumerable}),{getValue:function(){return a},setValue:function(p){a=""+p},stopTracking:function(){t._valueTracker=null,delete t[e]}}}}function po(t){if(!t._valueTracker){var e=kh(t)?"checked":"value";t._valueTracker=tb(t,e,""+t[e])}}function qh(t){if(!t)return!1;var e=t._valueTracker;if(!e)return!0;var a=e.getValue(),l="";return t&&(l=kh(t)?t.checked?"true":"false":t.value),t=l,t!==a?(e.setValue(t),!0):!1}function fs(t){if(t=t||(typeof document<"u"?document:void 0),typeof t>"u")return null;try{return t.activeElement||t.body}catch{return t.body}}var eb=/[\n"\\]/g;function Le(t){return t.replace(eb,function(e){return"\\"+e.charCodeAt(0).toString(16)+" "})}function yo(t,e,a,l,o,c,p,b){t.name="",p!=null&&typeof p!="function"&&typeof p!="symbol"&&typeof p!="boolean"?t.type=p:t.removeAttribute("type"),e!=null?p==="number"?(e===0&&t.value===""||t.value!=e)&&(t.value=""+Ne(e)):t.value!==""+Ne(e)&&(t.value=""+Ne(e)):p!=="submit"&&p!=="reset"||t.removeAttribute("value"),e!=null?go(t,p,Ne(e)):a!=null?go(t,p,Ne(a)):l!=null&&t.removeAttribute("value"),o==null&&c!=null&&(t.defaultChecked=!!c),o!=null&&(t.checked=o&&typeof o!="function"&&typeof o!="symbol"),b!=null&&typeof b!="function"&&typeof b!="symbol"&&typeof b!="boolean"?t.name=""+Ne(b):t.removeAttribute("name")}function Yh(t,e,a,l,o,c,p,b){if(c!=null&&typeof c!="function"&&typeof c!="symbol"&&typeof c!="boolean"&&(t.type=c),e!=null||a!=null){if(!(c!=="submit"&&c!=="reset"||e!=null)){po(t);return}a=a!=null?""+Ne(a):"",e=e!=null?""+Ne(e):a,b||e===t.value||(t.value=e),t.defaultValue=e}l=l??o,l=typeof l!="function"&&typeof l!="symbol"&&!!l,t.checked=b?t.checked:!!l,t.defaultChecked=!!l,p!=null&&typeof p!="function"&&typeof p!="symbol"&&typeof p!="boolean"&&(t.name=p),po(t)}function go(t,e,a){e==="number"&&fs(t.ownerDocument)===t||t.defaultValue===""+a||(t.defaultValue=""+a)}function Ya(t,e,a,l){if(t=t.options,e){e={};for(var o=0;o<a.length;o++)e["$"+a[o]]=!0;for(a=0;a<t.length;a++)o=e.hasOwnProperty("$"+t[a].value),t[a].selected!==o&&(t[a].selected=o),o&&l&&(t[a].defaultSelected=!0)}else{for(a=""+Ne(a),e=null,o=0;o<t.length;o++){if(t[o].value===a){t[o].selected=!0,l&&(t[o].defaultSelected=!0);return}e!==null||t[o].disabled||(e=t[o])}e!==null&&(e.selected=!0)}}function Xh(t,e,a){if(e!=null&&(e=""+Ne(e),e!==t.value&&(t.value=e),a==null)){t.defaultValue!==e&&(t.defaultValue=e);return}t.defaultValue=a!=null?""+Ne(a):""}function Gh(t,e,a,l){if(e==null){if(l!=null){if(a!=null)throw Error(r(92));if(kt(l)){if(1<l.length)throw Error(r(93));l=l[0]}a=l}a==null&&(a=""),e=a}a=Ne(e),t.defaultValue=a,l=t.textContent,l===a&&l!==""&&l!==null&&(t.value=l),po(t)}function Xa(t,e){if(e){var a=t.firstChild;if(a&&a===t.lastChild&&a.nodeType===3){a.nodeValue=e;return}}t.textContent=e}var nb=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 Ph(t,e,a){var l=e.indexOf("--")===0;a==null||typeof a=="boolean"||a===""?l?t.setProperty(e,""):e==="float"?t.cssFloat="":t[e]="":l?t.setProperty(e,a):typeof a!="number"||a===0||nb.has(e)?e==="float"?t.cssFloat=a:t[e]=(""+a
vendor: 4,501 bytes, line 9
9).trim():t[e]=a+"px"}function Kh(t,e,a){if(e!=null&&typeof e!="object")throw Error(r(62));if(t=t.style,a!=null){for(var l in a)!a.hasOwnProperty(l)||e!=null&&e.hasOwnProperty(l)||(l.indexOf("--")===0?t.setProperty(l,""):l==="float"?t.cssFloat="":t[l]="");for(var o in e)l=e[o],e.hasOwnProperty(o)&&a[o]!==l&&Ph(t,o,l)}else for(var c in e)e.hasOwnProperty(c)&&Ph(t,c,e[c])}function vo(t){if(t.indexOf("-")===-1)return!1;switch(t){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var ab=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"]]),ib=/^[\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 hs(t){return ib.test(""+t)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":t}function hn(){}var bo=null;function So(t){return t=t.target||t.srcElement||window,t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===3?t.parentNode:t}var Ga=null,Pa=null;function Qh(t){var e=Ha(t);if(e&&(t=e.stateNode)){var a=t[me]||null;t:switch(t=e.stateNode,e.type){case"input":if(yo(t,a.value,a.defaultValue,a.defaultValue,a.checked,a.defaultChecked,a.type,a.name),e=a.name,a.type==="radio"&&e!=null){for(a=t;a.parentNode;)a=a.parentNode;for(a=a.querySelectorAll('input[name="'+Le(""+e)+'"][type="radio"]'),e=0;e<a.length;e++){var l=a[e];if(l!==t&&l.form===t.form){var o=l[me]||null;if(!o)throw Error(r(90));yo(l,o.value,o.defaultValue,o.defaultValue,o.checked,o.defaultChecked,o.type,o.name)}}for(e=0;e<a.length;e++)l=a[e],l.form===t.form&&qh(l)}break t;case"textarea":Xh(t,a.value,a.defaultValue);break t;case"select":e=a.value,e!=null&&Ya(t,!!a.multiple,e,!1)}}}var xo=!1;function Zh(t,e,a){if(xo)return t(e,a);xo=!0;
vendor: 4,140 bytes, line 9
9try{var l=t(e);return l}finally{if(xo=!1,(Ga!==null||Pa!==null)&&(Is(),Ga&&(e=Ga,t=Pa,Pa=Ga=null,Qh(e),t)))for(e=0;e<t.length;e++)Qh(t[e])}}function Gi(t,e){var a=t.stateNode;if(a===null)return null;var l=a[me]||null;if(l===null)return null;a=l[e];t:switch(e){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(l=!l.disabled)||(t=t.type,l=!(t==="button"||t==="input"||t==="select"||t==="textarea")),t=!l;break t;default:t=!1}if(t)return null;if(a&&typeof a!="function")throw Error(r(231,e,typeof a));return a}var dn=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),To=!1;if(dn)try{var Pi={};Object.defineProperty(Pi,"passive",{get:function(){To=!0}}),window.addEventListener("test",Pi,Pi),window.removeEventListener("test",Pi,Pi)}catch{To=!1}var Bn=null,Eo=null,ds=null;function Fh(){if(ds)return ds;var t,e=Eo,a=e.length,l,o="value"in Bn?Bn.value:Bn.textContent,c=o.length;for(t=0;t<a&&e[t]===o[t];t++);var p=a-t;for(l=1;l<=p&&e[a-l]===o[c-l];l++);return ds=o.slice(t,1<l?1-l:void 0)}function ms(t){var e=t.keyCode;return"charCode"in t?(t=t.charCode,t===0&&e===13&&(t=13)):t=e,t===10&&(t=13),32<=t||t===13?t:0}function ps(){return!0}function Jh(){return!1}function pe(t){function e(a,l,o,c,p){this._reactName=a,this._targetInst=o,this.type=l,this.nativeEvent=c,this.target=p,this.currentTarget=null;for(var b in t)t.hasOwnProperty(b)&&(a=t[b],this[b]=a?a(c):c[b]);return this.isDefaultPrevented=(c.defaultPrevented!=null?c.defaultPrevented:c.returnValue===!1)?ps:Jh,this.isPropagationStopped=Jh,this}return v(e.prototype,{preventDefault:function(){this.defaultPrevented=!0;var a=this.nativeEvent;a&&(a.preventDefault?a.preventDefault():typeof a.returnValue!="unknown"&&(a.returnValue=!1),this.isDefaultPrevented=ps)},stopPropagation:function(){var a=this.nativeEvent;a&&(a.stopPropagation?a.stopPropagation():typeof a.cancelBubble!="unknown"&&(a.cancelBubble=!0),this.isPropagationStopped=ps)},persist:function(){},isPersistent:ps}),e}var ma={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(t){return t.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},ys=pe(ma),Ki=v({},ma,{view:0,detail:0}),lb=pe(Ki),Ao,Co,Qi,gs=v({},Ki,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Do,button:0,buttons:0,relatedTarget:function(t){return t.relatedTarget===void 0?t.fromElement===t.srcElement?t.toElement:t.fromElement:t.relatedTarget},movementX:function(t){return"movementX"in t?t.movementX:(t!==Qi&&(Qi&&t.type==="mousemove"?(Ao=t.screenX-Qi.screenX,Co=t.screenY-Qi.screenY):Co=Ao=0,Qi=t),Ao)},movementY:function(t){return"movementY"in t?t.movementY:Co}}),$h=pe(gs),sb=v({},gs,{dataTransfer:0}),rb=pe(sb),ob=v({},Ki,{relatedTarget:0}),wo=pe(ob),ub=v({},ma,{animationName:0,elapsedTime:0,pseudoElement:0}),cb=pe(ub),fb=v({},ma,{clipboardData:function(t){return"clipboardData"in t?t.clipboardData:window.clipboardData}}),hb=pe(fb),db=v({},ma,{data:0}),Wh=pe(db),mb={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},pb={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"},yb={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function gb(t){var e=this.nativeEvent;return e.getModifierState?e.getModifierState(t):(t=yb[t])?!!e[t]:!1}function Do(){return gb}var vb=v({},Ki,{key:function(t){if(t.key){var e=mb[t.key]||t.key;if(e!=="Unidentified")return e}return t.type==="keypress"?(t=ms(t),t===13?"Enter":String.fromCharCode(t)):t.type==="
9keydown"||t.type==="keyup"?pb[t.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Do,charCode:function(t){return t.type==="keypress"?ms(t):0},keyCode:function(t){return t.type==="keydown"||t.type==="keyup"?t.keyCode:0},which:function(t){return t.type==="keypress"?ms(t):t.type==="keydown"||t.type==="keyup"?t.keyCode:0}}),bb=pe(vb),Sb=v({},gs,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Ih=pe(Sb),xb=v({},Ki,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Do}),Tb=pe(xb),Eb=v({},ma,{propertyName:0,elapsedTime:0,pseudoElement:0}),Ab=pe(Eb),Cb=v({},gs,{deltaX:function(t){return"deltaX"in t?t.deltaX:"wheelDeltaX"in t?-t.wheelDeltaX:0},deltaY:function(t){return"deltaY"in t?t.deltaY:"wheelDeltaY"in t?-t.wheelDeltaY:"wheelDelta"in t?-t.wheelDelta:0},deltaZ:0,deltaMode:0}),wb=pe(Cb),Db=v({},ma,{newState:0,oldState:0}),Mb=pe(Db),Rb=[9,13,27,32],Mo=dn&&"CompositionEvent"in window,Zi=null;dn&&"documentMode"in document&&(Zi=document.documentMode);var Ob=dn&&"TextEvent"in window&&!Zi,td=dn&&(!Mo||Zi&&8<Zi&&11>=Zi),ed=" ",nd=!1;function ad(t,e){switch(t){case"keyup":return Rb.indexOf(e.keyCode)!==-1;case"keydown":return e.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function id(t){return t=t.detail,typeof t=="object"&&"data"in t?t.data:null}var Ka=!1;function _b(t,e){switch(t){case"compositionend":return id(e);case"keypress":return e.which!==32?null:(nd=!0,ed);case"textInput":return t=e.data,t===ed&&nd?null:t;default:return null}}function zb(t,e){if(Ka)return t==="compositionend"||!Mo&&ad(t,e)?(t=Fh(),ds=Eo=Bn=null,Ka=!1,t):null;switch(t){case"paste":return null;case"keypress":if(!(e.ctrlKey||e.altKey||e.metaKey)||e.ctrlKey&&e.altKey){if(e.char&&1<e.char.length)return e.char;if(e.which)return String.fromCharCode(e.which)}return null;case"compositionend":return td&&e.locale!=="ko"?null:e.data;default:return null}}var jb={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 ld(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return e==="input"?!!jb[t.type]:e==="textarea"}function sd(t,e,a,l){Ga?Pa?Pa.push(l):Pa=[l]:Ga=l,e=sr(e,"onChange"),0<e.length&&(a=new ys("onChange","change",null,a,l),t.push({event:a,listeners:e}))}var Fi=null,Ji=null;function Nb(t){Yp(t,0)}function vs(t){var e=Xi(t);if(qh(e))return t}function rd(t,e){if(t==="change")return e}var od=!1;if(dn){var Ro;if(dn){var Oo="oninput"in document;if(!Oo){var ud=document.createElement("div");ud.setAttribute("oninput","return;"),Oo=typeof ud.oninput=="function"}Ro=Oo}else Ro=!1;od=Ro&&(!document.documentMode||9<document.documentMode)}function cd(){Fi&&(Fi.detachEvent("onpropertychange",fd),Ji=Fi=null)}function fd(t){if(t.propertyName==="value"&&vs(Ji)){var e=[];sd(e,Ji,t,So(t)),Zh(Nb,e)}}function Lb(t,e,a){t==="focusin"?(cd(),Fi=e,Ji=a,Fi.attachEvent("onpropertychange",fd)):t==="focusout"&&cd()}function Vb(t){if(t==="selectionchange"||t==="keyup"||t==="keydown")return vs(Ji)}function Bb(t,e){if(t==="click")return vs(e)}function Ub(t,e){if(t==="input"||t==="change")return vs(e)}function Hb(t,e){return t===e&&(t!==0||1/t===1/e)||t!==t&&e!==e}var Ce=typeof Object.is=="function"?Object.is:Hb;function $i(t,e){if(Ce(t,e))return!0;if(typeof t!="object"||t===null||typeof e!="object"||e===null)return!1;var a=Object.keys(t),l=Object.keys(e);if(a.length!==l.length)return!1;for(l=0;l<a.length;l++){var o=a[l];if(!so.call(e,o)||!Ce(t[o],e[o]))return!1}return!0}function hd(t){for(;t&&t.firstChild;)t=t.firstChild;return t}function dd(t,e){var a=hd(t);t=0;for(var l;a;){if(a.nodeType===3){if(l=t+a.textContent.length,t<=e&&l>=e)return{node:a,offset:e-t};t=l}t:{for(;a;){if(a.nextSibling){a=a.nextSibling;break t}a=a.parentNode}a=void 0}a=hd(a)}}function md(t,e){return t&&e?t===e?!0:t&&t.nodeType===3?!1:e&&e.nodeType===3?md(t,e.parentNode):"contains"in t?t.contains(e):t.compareDocumentPosition?!!(t.compareDocumentPosition(e)&16):!1:!1}function pd(t){t=t!=null&&t.ownerDocument!=null&&t.ownerDocument.defaultView!=null?t.ownerDocument.defaultView:window;for(var e=fs(t.document);e instanceof t.HTMLIFrameElement;){try{var a=typeof e.contentWindow.location.href=="string"}catch{a=!1}if(a)t=e.contentWindow;else break;e=fs(t.document)}return e}function _o(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return e&&(e==="input"&&(t.type==="text"||t.type==="search"||t.type==="tel"||t.type==="url"||t.type==="password")||e==="textarea"||t.contentEditable==="true")}var kb=dn&&"documentMode"in document&&11>=document.documentMode,Qa=null,zo=null,Wi=null,jo=!1;function yd(t,e,a){var l=a.window===a?a.document:a.nodeType===9?a:a.ownerDocument;jo||Qa==null||Qa!==fs(l)||(l=Qa,"selectionStart"in l&&_o(l)?l={start:l.selectionStart,end:l.selectionEnd}:(l=(l.ownerDocument&&l.ownerDocument.defaultView||window).getSelection(),l={anchorNode:l.anchorNode,anchorOffset:l.anchorOffset,focu
vendor: 111,934 bytes, lines 9-10
9sNode:l.focusNode,focusOffset:l.focusOffset}),Wi&&$i(Wi,l)||(Wi=l,l=sr(zo,"onSelect"),0<l.length&&(e=new ys("onSelect","select",null,e,a),t.push({event:e,listeners:l}),e.target=Qa)))}function pa(t,e){var a={};return a[t.toLowerCase()]=e.toLowerCase(),a["Webkit"+t]="webkit"+e,a["Moz"+t]="moz"+e,a}var Za={animationend:pa("Animation","AnimationEnd"),animationiteration:pa("Animation","AnimationIteration"),animationstart:pa("Animation","AnimationStart"),transitionrun:pa("Transition","TransitionRun"),transitionstart:pa("Transition","TransitionStart"),transitioncancel:pa("Transition","TransitionCancel"),transitionend:pa("Transition","TransitionEnd")},No={},gd={};dn&&(gd=document.createElement("div").style,"AnimationEvent"in window||(delete Za.animationend.animation,delete Za.animationiteration.animation,delete Za.animationstart.animation),"TransitionEvent"in window||delete Za.transitionend.transition);function ya(t){if(No[t])return No[t];if(!Za[t])return t;var e=Za[t],a;for(a in e)if(e.hasOwnProperty(a)&&a in gd)return No[t]=e[a];return t}var vd=ya("animationend"),bd=ya("animationiteration"),Sd=ya("animationstart"),qb=ya("transitionrun"),Yb=ya("transitionstart"),Xb=ya("transitioncancel"),xd=ya("transitionend"),Td=new Map,Lo="abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");Lo.push("scrollEnd");function Qe(t,e){Td.set(t,e),da(e,[t])}var bs=typeof reportError=="function"?reportError:function(t){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var e=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof t=="object"&&t!==null&&typeof t.message=="string"?String(t.message):String(t),error:t});if(!window.dispatchEvent(e))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",t);return}console.error(t)},Ve=[],Fa=0,Vo=0;function Ss(){for(var t=Fa,e=Vo=Fa=0;e<t;){var a=Ve[e];Ve[e++]=null;var l=Ve[e];Ve[e++]=null;var o=Ve[e];Ve[e++]=null;var c=Ve[e];if(Ve[e++]=null,l!==null&&o!==null){var p=l.pending;p===null?o.next=o:(o.next=p.next,p.next=o),l.pending=o}c!==0&&Ed(a,o,c)}}function xs(t,e,a,l){Ve[Fa++]=t,Ve[Fa++]=e,Ve[Fa++]=a,Ve[Fa++]=l,Vo|=l,t.lanes|=l,t=t.alternate,t!==null&&(t.lanes|=l)}function Bo(t,e,a,l){return xs(t,e,a,l),Ts(t)}function ga(t,e){return xs(t,null,null,e),Ts(t)}function Ed(t,e,a){t.lanes|=a;var l=t.alternate;l!==null&&(l.lanes|=a);for(var o=!1,c=t.return;c!==null;)c.childLanes|=a,l=c.alternate,l!==null&&(l.childLanes|=a),c.tag===22&&(t=c.stateNode,t===null||t._visibility&1||(o=!0)),t=c,c=c.return;return t.tag===3?(c=t.stateNode,o&&e!==null&&(o=31-Ae(a),t=c.hiddenUpdates,l=t[o],l===null?t[o]=[e]:l.push(e),e.lane=a|536870912),c):null}function Ts(t){if(50<Sl)throw Sl=0,Ku=null,Error(r(185));for(var e=t.return;e!==null;)t=e,e=t.return;return t.tag===3?t.stateNode:null}var Ja={};function Gb(t,e,a,l){this.tag=t,this.key=a,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=e,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=l,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function we(t,e,a,l){return new Gb(t,e,a,l)}function Uo(t){return t=t.prototype,!(!t||!t.isReactComponent)}function mn(t,e){var a=t.alternate;return a===null?(a=we(t.tag,e,t.key,t.mode),a.elementType=t.elementType,a.type=t.type,a.stateNode=t.stateNode,a.alternate=t,t.alternate=a):(a.pendingProps=e,a.type=t.type,a.flags=0,a.subtreeFlags=0,a.deletions=null),a.flags=t.flags&65011712,a.childLanes=t.childLanes,a.lanes=t.lanes,a.child=t.child,a.memoizedProps=t.memoizedProps,a.memoizedState=t.memoizedState,a.updateQueue=t.updateQueue,e=t.dependencies,a.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext},a.sibling=t.sibling,a.index=t.index,a.ref=t.ref,a.refCleanup=t.refCleanup,a}function Ad(t,e){t.flags&=65011714;var a=t.alternate;return a===null?(t.childLanes=0,t.lanes=e,t.child=null,t.subtreeFlags=0,t.memoizedProps=null,t.memoizedState=null,t.updateQueue=null,t.dependencies=null,t.stateNode=null):(t.childLanes=a.childLanes,t.lanes=a.lanes,t.child=a.child,t.subtreeFlags=0,t.deletions=null,t.memoizedProps=a.memoizedProps,t.memoizedState=a.memoizedState,t.updateQueue=a.updateQueue,t.type=a.type,e=a.dependencies,t.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),t}function Es(t,e,a,l,o,c){var p=0;if(l=t,typeof t=="function")Uo(t)&&(p=1);else if(typeof t=="string")p=FS(t,a,J.current)?26:t==="html"||t==="head"||t==="body"?27:5;else t:switch(t){case lt:return t=we(31,a,e,o),t.elementType=lt,t.lanes=c,t;case O:return va(a.children,o,c,e);case R:p=8,o|=24;break;case j:return t=we(12,a,e,o|2),t.elementType=j,t.lanes=c,t;case K:return t=we(13,a,e,o),t.elementType=K,t.lanes=c,t;case at:return t=we(19,a,e,o),t.elementType=at,t.lanes=c,t;default:if(typeof t=="object"&&t!==null)switch(t.$$typeof){case B:p=10;break t;case L:p=9;break t;case X:p=11;break t;case $:p=14;break t;case tt:p=16,l=null;break t}p=29,a=Error(r(130,t===null?"null":typeof t,"")),l=null}return e=we(p,a,e,o),e.elementType=t,e.type=l,e.lanes=c,e}function va(t,e,a,l){return t=we(7,t,l,e),t.lanes=a,t}function Ho(t,e,a){return t=we(6,t,null,e),t.lanes=a,t}function Cd(t){var e=we(18,null,null,0);return e.stateNode=t,e}function ko(t,e,a){return e=we(4,t.children!==null?t.children:[],t.key,e),e.lanes=a,e.stateNode={containerInfo:t.containerInfo,pendingChildren:null,implementation:t.implementation},e}var wd=new WeakMap;function Be(t,e){if(typeof t=="object"&&t!==null){var a=wd.get(t);return a!==void 0?a:(e={value:t,source:e,stack:Ch(e)},wd.set(t,e),e)}return{value:t,source:e,stack:Ch(e)}}var $a=[],Wa=0,As=null,Ii=0,Ue=[],He=0,Un=null,an=1,ln="";function pn(t,e){$a[Wa++]=Ii,$a[Wa++]=As,As=t,Ii=e}function Dd(t,e,a){Ue[He++]=an,Ue[He++]=ln,Ue[He++]=Un,Un=t;var l=an;t=ln;var o=32-Ae(l)-1;l&=~(1<<o),a+=1;var c=32-Ae(e)+o;if(30<c){var p=o-o%5;c=(l&(1<<p)-1).toString(32),l>>=p,o-=p,an=1<<32-Ae(e)+o|a<<o|l,ln=c+t}else an=1<<c|a<<o|l,ln=t}function qo(t){t.return!==null&&(pn(t,1),Dd(t,1,0))}function Yo(t){for(;t===As;)As=$a[--Wa],$a[Wa]=null,Ii=$a[--Wa],$a[Wa]=null;for(;t===Un;)Un=Ue[--He],Ue[He]=null,ln=Ue[--He],Ue[He]=null,an=Ue[--He],Ue[He]=null}function Md(t,e){Ue[He++]=an,Ue[He++]=ln,Ue[He++]=Un,an=e.id,ln=e.overflow,Un=t}var ae=null,zt=null,gt=!1,Hn=null,ke=!1,Xo=Error(r(519));function kn(t){var e=Error(r(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw tl(Be(e,t)),Xo}function Rd(t){var e=t.stateNode,a=t.type,l=t.memoizedProps;switch(e[ne]=t,e[me]=l,a){case"dialog":ht("cancel",e),ht("close",e);break;case"iframe":case"object":case"embed":ht("load",e);break;case"video":case"audio":for(a=0;a<Tl.length;a++)ht(Tl[a],e);break;case"source":ht("error",e);break;case"img":case"image":case"link":ht("error",e),ht("load",e);break;case"details":ht("toggle",e);break;case"input":ht("invalid",e),Yh(e,l.value,l.defaultValue,l.checked,l.defaultChecked,l.type,l.name,!0);break;case"select":ht("invalid",e);break;case"textarea":ht("invalid",e),Gh(e,l.value,l.defaultValue,l.children)}a=l.children,typeof a!="string"&&typeof a!="number"&&typeof a!="bigint"||e.textContent===""+a||l.suppressHydrationWarning===!0||Kp(e.textContent,a)?(l.popover!=null&&(ht("beforetoggle",e),ht("toggle",e)),l.onScroll!=null&&ht("scroll",e),l.onScrollEnd!=null&&ht("scrollend",e),l.onClick!=null&&(e.onclick=hn),e=!0):e=!1,e||kn(t,!0)}function Od(t){for(ae=t.return;ae;)switch(ae.tag){case 5:case 31:case 13:ke=!1;return;case 27:case 3:ke=!0;return;default:ae=ae.return}}function Ia(t){if(t!==ae)return!1;if(!gt)return Od(t),gt=!0,!1;var e=t.tag,a;if((a=e!==3&&e!==27)&&((a=e===5)&&(a=t.type,a=!(a!=="form"&&a!=="button")||rc(t.type,t.memoizedProps)),a=!a),a&&zt&&kn(t),Od(t),e===13){if(t=t.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(r(317));zt=ey(t)}else if(e===31){if(t=t.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(r(317));zt=ey(t)}else e===27?(e=zt,ta(t.type)?(t=hc,hc=null,zt=t):zt=e):zt=ae?Ye(t.stateNode.nextSibling):null;return!0}function ba(){zt=ae=null,gt=!1}function Go(){var t=Hn;return t!==null&&(be===null?be=t:be.push.apply(be,t),Hn=null),t}function tl(t){Hn===null?Hn=[t]:Hn.push(t)}var Po=C(null),Sa=null,yn=null;function qn(t,e,a){P(Po,e._currentValue),e._currentValue=a}function gn(t){t._currentValue=Po.current,Y(Po)}function Ko(t,e,a){for(;t!==null;){var l=t.alternate;if((t.childLanes&e)!==e?(t.childLanes|=e,l!==null&&(l.childLanes|=e)):l!==null&&(l.childLanes&e)!==e&&(l.childLanes|=e),t===a)break;t=t.return}}function Qo(t,e,a,l){var o=t.child;for(o!==null&&(o.return=t);o!==null;){var c=o.dependencies;if(c!==null){var p=o.child;c=c.firstContext;t:for(;c!==null;){var b=c;c=o;for(var E=0;E<e.length;E++)if(b.context===e[E]){c.lanes|=a,b=c.alternate,b!==null&&(b.lanes|=a),Ko(c.return,a,t),l||(p=null);break t}c=b.next}}else if(o.tag===18){if(p=o.return,p===null)throw Error(r(341));p.lanes|=a,c=p.alternate,c!==null&&(c.lanes|=a),Ko(p,a,t),p=null}else p=o.child;if(p!==null)p.return=o;else for(p=o;p!==null;){if(p===t){p=null;break}if(o=p.sibling,o!==null){o.return=p.return,p=o;break}p=p.return}o=p}}function ti(t,e,a,l){t=null;for(var o=e,c=!1;o!==null;){if(!c){if((o.flags&524288)!==0)c=!0;else if((o.flags&262144)!==0)break}if(o.tag===10){var p=o.alternate;if(p===null)throw Error(r(387));if(p=p.memoizedProps,p!==null){var b=o.type;Ce(o.pendingProps.value,p.value)||(t!==null?t.push(b):t=[b])}}else if(o===Et.current){if(p=o.alternate,p===null)throw Error(r(387));p.memoizedState.memoizedState!==o.memoizedState.memoizedState&&(t!==null?t.push(Dl):t=[Dl])}o=o.return}t!==null&&Qo(e,t,a,l),e.flags|=262144}function Cs(t){for(t=t.firstContext;t!==null;){if(!Ce(t.context._currentValue,t.memoizedValue))return!0;t=t.next}return!1}function xa(t){Sa=t,yn=null,t=t.dependencies,t!==null&&(t.firstContext=null)}function ie(t){return _d(Sa,t)}function ws(t,e){return Sa===null&&xa(t),_d(t,e)}function _d(t,e){var a=e._currentValue;if(e={context:e,memoizedValue:a,next:null},yn===null){if(t===null)throw Error(r(308));yn=e,t.dependencies={lanes:0,firstContext:e},t.flags|=524288}else yn=yn.next=e;return a}var Pb=typeof AbortController<"u"?AbortController:function(){var t=[],e=this.signal={aborted:!1,addEventListener:function(a,l){t.push(l)}};this.abort=function(){e.aborted=!0,t.forEach(function(a){return a()})}},Kb=n.unstable_scheduleCallback,Qb=n.unstable_NormalPriority,Pt={$$typeof:B,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function Zo(){return{controller:new Pb,data:new Map,refCount:0}}function el(t){t.refCount--,t.refCount===0&&Kb(Qb,function(){t.controller.abort()})}var nl=null,Fo=0,ei=0,ni=null;function Zb(t,e){if(nl===null){var a=nl=[];Fo=0,ei=Wu(),ni={status:"pending",value:void 0,then:function(l){a.push(l)}}}return Fo++,e.then(zd,zd),e}function zd(){if(--Fo===0&&nl!==null){ni!==null&&(ni.status="fulfilled");var t=nl;nl=null,ei=0,ni=null;for(var e=0;e<t.length;e++)(0,t[e])()}}function Fb(t,e){var a=[],l={status:"pending",value:null,reason:null,then:function(o){a.push(o)}};return t.then(function(){l.status="fulfilled",l.value=e;for(var o=0;o<a.length;o++)(0,a[o])(e)},function(o){for(l.status="rejected",l.reason=o,o=0;o<a.length;o++)(0,a[o])(void 0)}),l}var jd=U.S;U.S=function(t,e){yp=Te(),typeof e=="object"&&e!==null&&typeof e.then=="function"&&Zb(t,e),jd!==null&&jd(t,e)};var Ta=C(null);function Jo(){var t=Ta.current;return t!==null?t:Ot.pooledCache}function Ds(t,e){e===null?P(Ta,Ta.current):P(Ta,e.pool)}function Nd(){var t=Jo();return t===null?null:{parent:Pt._currentValue,pool:t}}var ai=Error(r(460)),$o=Error(r(474)),Ms=Error(r(542)),Rs={then:function(){}};function Ld(t){return t=t.status,t==="fulfilled"||t==="rejected"}function Vd(t,e,a){switch(a=t[a],a===void 0?t.push(e):a!==e&&(e.then(hn,hn),e=a),e.status){case"fulfilled":return e.value;case"rejected":throw t=e.reason,Ud(t),t;default:if(typeof e.status=="string")e.then(hn,hn);else{if(t=Ot,t!==null&&100<t.shellSuspendCounter)throw Error(r(482));t=e,t.status="pending",t.then(function(l){if(e.status==="pending"){var o=e;o.status="fulfilled",o.value=l}},function(l){if(e.status==="pending"){var o=e;o.status="rejected",o.reason=l}})}switch(e.status){case"fulfilled":return e.value;case"rejected":throw t=e.reason,Ud(t),t}throw Aa=e,ai}}function Ea(t){try{var e=t._init;return e(t._payload)}catch(a){throw a!==null&&typeof a=="object"&&typeof a.then=="function"?(Aa=a,ai):a}}var Aa=null;function Bd(){if(Aa===null)throw Error(r(459));var t=Aa;return Aa=null,t}function Ud(t){if(t===ai||t===Ms)throw Error(r(483))}var ii=null,al=0;function Os(t){var e=al;return al+=1,ii===null&&(ii=[]),Vd(ii,t,e)}function il(t,e){e=e.props.ref,t.ref=e!==void 0?e:null}function _s(t,e){throw e.$$typeof===S?Error(r(525)):(t=Object.prototype.toString.call(e),Error(r(31,t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)))}function Hd(t){function e(M,A){if(t){var _=M.deletions;_===null?(M.deletions=[A],M.flags|=16):_.push(A)}}function a(M,A){if(!t)return null;for(;A!==null;)e(M,A),A=A.sibling;return null}function l(M){for(var A=new Map;M!==null;)M.key!==null?A.set(M.key,M):A.set(M.index,M),M=M.sibling;return A}function o(M,A){return M=mn(M,A),M.index=0,M.sibling=null,M}function c(M,A,_){return M.index=_,t?(_=M.alternate,_!==null?(_=_.index,_<A?(M.flags|=67108866,A):_):(M.flags|=67108866,A)):(M.flags|=1048576,A)}function p(M){return t&&M.alternate===null&&(M.flags|=67108866),M}function b(M,A,_,k){return A===null||A.tag!==6?(A=Ho(_,M.mode,k),A.return=M,A):(A=o(A,_),A.return=M,A)}function E(M,A,_,k){var et=_.type;return et===O?H(M,A,_.props.children,k,_.key):A!==null&&(A.elementType===et||typeof et=="object"&&et!==null&&et.$$typeof===tt&&Ea(et)===A.type)?(A=o(A,_.props),il(A,_),A.return=M,A):(A=Es(_.type,_.key,_.props,null,M.mode,k),il(A,_),A.return=M,A)}function z(M,A,_,k){return A===null||A.tag!==4||A.stateNode.containerInfo!==_.containerInfo||A.stateNode.implementation!==_.implementation?(A=ko(_,M.mode,k),A.return=M,A):(A=o(A,_.children||[]),A.return=M,A)}function H(M,A,_,k,et){return A===null||A.tag!==7?(A=va(_,M.mode,k,et),A.return=M,A):(A=o(A,_),A.return=M,A)}function q(M,A,_){if(typeof A=="string"&&A!==""||typeof A=="number"||typeof A=="bigint")return A=Ho(""+A,M.mode,_),A.return=M,A;if(typeof A=="object"&&A!==null){switch(A.$$typeof){case w:return _=Es(A.type,A.key,A.props,null,M.mode,_),il(_,A),_.return=M,_;case D:return A=ko(A,M.mode,_),A.return=M,A;case tt:return A=Ea(A),q(M,A,_)}if(kt(A)||xt(A))return A=va(A,M.mode,_,null),A.return=M,A;if(typeof A.then=="function")return q(M,Os(A),_);if(A.$$typeof===B)return q(M,ws(M,A),_);_s(M,A)}return null}function N(M,A,_,k){var et=A!==null?A.key:null;if(typeof _=="string"&&_!==""||typeof _=="number"||typeof _=="bigint")return et!==null?null:b(M,A,""+_,k);if(typeof _=="object"&&_!==null){switch(_.$$typeof){case w:return _.key===et?E(M,A,_,k):null;case D:return _.key===et?z(M,A,_,k):null;case tt:return _=Ea(_),N(M,A,_,k)}if(kt(_)||xt(_))return et!==null?null:H(M,A,_,k,null);if(typeof _.then=="function")return N(M,A,Os(_),k);if(_.$$typeof===B)return N(M,A,ws(M,_),k);_s(M,_)}return null}function V(M,A,_,k,et){if(typeof k=="string"&&k!==""||typeof k=="number"||typeof k=="bigint")return M=M.get(_)||null,b(A,M,""+k,et);if(typeof k=="object"&&k!==null){switch(k.$$typeof){case w:return M=M.get(k.key===null?_:k.key)||null,E(A,M,k,et);case D:return M=M.get(k.key===null?_:k.key)||null,z(A,M,k,et);case tt:return k=Ea(k),V(M,A,_,k,et)}if(kt(k)||xt(k))return M=M.get(_)||null,H(A,M,k,et,null);if(typeof k.then=="function")return V(M,A,_,Os(k),et);if(k.$$typeof===B)return V(M,A,_,ws(A,k),et);_s(A,k)}return null}function Z(M,A,_,k){for(var et=null,bt=null,W=A,ut=A=0,pt=null;W!==null&&ut<_.length;ut++){W.index>ut?(pt=W,W=null):pt=W.sibling;var St=N(M,W,_[ut],k);if(St===null){W===null&&(W=pt);break}t&&W&&St.alternate===null&&e(M,W),A=c(St,A,ut),bt===null?et=St:bt.sibling=St,bt=St,W=pt}if(ut===_.length)return a(M,W),gt&&pn(M,ut),et;if(W===null){for(;ut<_.length;ut++)W=q(M,_[ut],k),W!==null&&(A=c(W,A,ut),bt===null?et=W:bt.sibling=W,bt=W);return gt&&pn(M,ut),et}for(W=l(W);ut<_.length;ut++)pt=V(W,M,ut,_[ut],k),pt!==null&&(t&&pt.alternate!==null&&W.delete(pt.key===null?ut:pt.key),A=c(pt,A,ut),bt===null?et=pt:bt.sibling=pt,bt=pt);return t&&W.forEach(function(la){return e(M,la)}),gt&&pn(M,ut),et}function nt(M,A,_,k){if(_==null)throw Error(r(151));for(var et=null,bt=null,W=A,ut=A=0,pt=null,St=_.next();W!==null&&!St.done;ut++,St=_.next()){W.index>ut?(pt=W,W=null):pt=W.sibling;var la=N(M,W,St.value,k);if(la===null){W===null&&(W=pt);break}t&&W&&la.alternate===null&&e(M,W),A=c(la,A,ut),bt===null?et=la:bt.sibling=la,bt=la,W=pt}if(St.done)return a(M,W),gt&&pn(M,ut),et;if(W===null){for(;!St.done;ut++,St=_.next())St=q(M,St.value,k),St!==null&&(A=c(St,A,ut),bt===null?et=St:bt.sibling=St,bt=St);return gt&&pn(M,ut),et}for(W=l(W);!St.done;ut++,St=_.next())St=V(W,M,ut,St.value,k),St!==null&&(t&&St.alternate!==null&&W.delete(St.key===null?ut:St.key),A=c(St,A,ut),bt===null?et=St:bt.sibling=St,bt=St);return t&&W.forEach(function(sx){return e(M,sx)}),gt&&pn(M,ut),et}function Rt(M,A,_,k){if(typeof _=="object"&&_!==null&&_.type===O&&_.key===null&&(_=_.props.children),typeof _=="object"&&_!==null){switch(_.$$typeof){case w:t:{for(var et=_.key;A!==null;){if(A.key===et){if(et=_.type,et===O){if(A.tag===7){a(M,A.sibling),k=o(A,_.props.children),k.return=M,M=k;break t}}else if(A.elementType===et||typeof et=="object"&&et!==null&&et.$$typeof===tt&&Ea(et)===A.type){a(M,A.sibling),k=o(A,_.props),il(k,_),k.return=M,M=k;break t}a(M,A);break}else e(M,A);A=A.sibling}_.type===O?(k=va(_.props.children,M.mode,k,_.key),k.return=M,M=k):(k=Es(_.type,_.key,_.props,null,M.mode,k),il(k,_),k.return=M,M=k)}return p(M);case D:t:{for(et=_.key;A!==null;){if(A.key===et)if(A.tag===4&&A.stateNode.containerInfo===_.containerInfo&&A.stateNode.implementation===_.implementation){a(M,A.sibling),k=o(A,_.children||[]),k.return=M,M=k;break t}else{a(M,A);break}else e(M,A);A=A.sibling}k=ko(_,M.mode,k),k.return=M,M=k}return p(M);case tt:return _=Ea(_),Rt(M,A,_,k)}if(kt(_))return Z(M,A,_,k);if(xt(_)){if(et=xt(_),typeof et!="function")throw Error(r(150));return _=et.call(_),nt(M,A,_,k)}if(typeof _.then=="function")return Rt(M,A,Os(_),k);if(_.$$typeof===B)return Rt(M,A,ws(M,_),k);_s(M,_)}return typeof _=="string"&&_!==""||typeof _=="number"||typeof _=="bigint"?(_=""+_,A!==null&&A.tag===6?(a(M,A.sibling),k=o(A,_),k.return=M,M=k):(a(M,A),k=Ho(_,M.mode,k),k.return=M,M=k),p(M)):a(M,A)}return function(M,A,_,k){try{al=0;var et=Rt(M,A,_,k);return ii=null,et}catch(W){if(W===ai||W===Ms)throw W;var bt=we(29,W,null,M.mode);return bt.lanes=k,bt.return=M,bt}finally{}}}var Ca=Hd(!0),kd=Hd(!1),Yn=!1;function Wo(t){t.updateQueue={baseState:t.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Io(t,e){t=t.updateQueue,e.updateQueue===t&&(e.updateQueue={baseState:t.baseState,firstBaseUpdate:t.firstBaseUpdate,lastBaseUpdate:t.lastBaseUpdate,shared:t.shared,callbacks:null})}function Xn(t){return{lane:t,tag:0,payload:null,callback:null,next:null}}function Gn(t,e,a){var l=t.updateQueue;if(l===null)return null;if(l=l.shared,(Tt&2)!==0){var o=l.pending;return o===null?e.next=e:(e.next=o.next,o.next=e),l.pending=e,e=Ts(t),Ed(t,null,a),e}return xs(t,l,e,a),Ts(t)}function ll(t,e,a){if(e=e.updateQueue,e!==null&&(e=e.shared,(a&4194048)!==0)){var l=e.lanes;l&=t.pendingLanes,a|=l,e.lanes=a,_h(t,a)}}function tu(t,e){var a=t.updateQueue,l=t.alternate;if(l!==null&&(l=l.updateQueue,a===l)){var o=null,c=null;if(a=a.firstBaseUpdate,a!==null){do{var p={lane:a.lane,tag:a.tag,payload:a.payload,callback:null,next:null};c===null?o=c=p:c=c.next=p,a=a.next}while(a!==null);c===null?o=c=e:c=c.next=e}else o=c=e;a={baseState:l.baseState,firstBaseUpdate:o,lastBaseUpdate:c,shared:l.shared,callbacks:l.callbacks},t.updateQueue=a;return}t=a.lastBaseUpdate,t===null?a.firstBaseUpdate=e:t.next=e,a.lastBaseUpdate=e}var eu=!1;function sl(){if(eu){var t=ni;if(t!==null)throw t}}function rl(t,e,a,l){eu=!1;var o=t.updateQueue;Yn=!1;var c=o.firstBaseUpdate,p=o.lastBaseUpdate,b=o.shared.pending;if(b!==null){o.shared.pending=null;var E=b,z=E.next;E.next=null,p===null?c=z:p.next=z,p=E;var H=t.alternate;H!==null&&(H=H.updateQueue,b=H.lastBaseUpdate,b!==p&&(b===null?H.firstBaseUpdate=z:b.next=z,H.lastBaseUpdate=E))}if(c!==null){var q=o.baseState;p=0,H=z=E=null,b=c;do{var N=b.lane&-536870913,V=N!==b.lane;if(V?(mt&N)===N:(l&N)===N){N!==0&&N===ei&&(eu=!0),H!==null&&(H=H.next={lane:0,tag:b.tag,payload:b.payload,callback:null,next:null});t:{var Z=t,nt=b;N=e;var Rt=a;switch(nt.tag){case 1:if(Z=nt.payload,typeof Z=="function"){q=Z.call(Rt,q,N);break t}q=Z;break t;case 3:Z.flags=Z.flags&-65537|128;case 0:if(Z=nt.payload,N=typeof Z=="function"?Z.call(Rt,q,N):Z,N==null)break t;q=v({},q,N);break t;case 2:Yn=!0}}N=b.callback,N!==null&&(t.flags|=64,V&&(t.flags|=8192),V=o.callbacks,V===null?o.callbacks=[N]:V.push(N))}else V={lane:N,tag:b.tag,payload:b.payload,callback:b.callback,next:null},H===null?(z=H=V,E=q):H=H.next=V,p|=N;if(b=b.next,b===null){if(b=o.shared.pending,b===null)break;V=b,b=V.next,V.next=null,o.lastBaseUpdate=V,o.shared.pending=null}}while(!0);H===null&&(E=q),o.baseState=E,o.firstBaseUpdate=z,o.lastBaseUpdate=H,c===null&&(o.shared.lanes=0),Fn|=p,t.lanes=p,t.memoizedState=q}}function qd(t,e){if(typeof t!="function")throw Error(r(191,t));t.call(e)}function Yd(t,e){var a=t.callbacks;if(a!==null)for(t.callbacks=null,t=0;t<a.length;t++)qd(a[t],e)}var li=C(null),zs=C(0);function Xd(t,e){t=wn,P(zs,t),P(li,e),wn=t|e.baseLanes}function nu(){P(zs,wn),P(li,li.current)}function au(){wn=zs.current,Y(li),Y(zs)}var De=C(null),qe=null;function Pn(t){var e=t.alternate;P(Yt,Yt.current&1),P(De,t),qe===null&&(e===null||li.current!==null||e.memoizedState!==null)&&(qe=t)}function iu(t){P(Yt,Yt.current),P(De,t),qe===null&&(qe=t)}function Gd(t){t.tag===22?(P(Yt,Yt.current),P(De,t),qe===null&&(qe=t)):Kn()}function Kn(){P(Yt,Yt.current),P(De,De.current)}function Me(t){Y(De),qe===t&&(qe=null),Y(Yt)}var Yt=C(0);function js(t){for(var e=t;e!==null;){if(e.tag===13){var a=e.memoizedState;if(a!==null&&(a=a.dehydrated,a===null||cc(a)||fc(a)))return e}else if(e.tag===19&&(e.memoizedProps.revealOrder==="forwards"||e.memoizedProps.revealOrder==="backwards"||e.memoizedProps.revealOrder==="unstable_legacy-backwards"||e.memoizedProps.revealOrder==="together")){if((e.flags&128)!==0)return e}else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break;for(;e.sibling===null;){if(e.return===null||e.return===t)return null;e=e.return}e.sibling.return=e.return,e=e.sibling}return null}var vn=0,rt=null,Dt=null,Kt=null,Ns=!1,si=!1,wa=!1,Ls=0,ol=0,ri=null,Jb=0;function Bt(){throw Error(r(321))}function lu(t,e){if(e===null)return!1;for(var a=0;a<e.length&&a<t.length;a++)if(!Ce(t[a],e[a]))return!1;return!0}function su(t,e,a,l,o,c){return vn=c,rt=e,e.memoizedState=null,e.updateQueue=null,e.lanes=0,U.H=t===null||t.memoizedState===null?Dm:xu,wa=!1,c=a(l,o),wa=!1,si&&(c=Kd(e,a,l,o)),Pd(t),c}function Pd(t){U.H=fl;var e=Dt!==null&&Dt.next!==null;if(vn=0,Kt=Dt=rt=null,Ns=!1,ol=0,ri=null,e)throw Error(r(300));t===null||Qt||(t=t.dependencies,t!==null&&Cs(t)&&(Qt=!0))}function Kd(t,e,a,l){rt=t;var o=0;do{if(si&&(ri=null),ol=0,si=!1,25<=o)throw Error(r(301));if(o+=1,Kt=Dt=null,t.updateQueue!=null){var c=t.updateQueue;c.lastEffect=null,c.events=null,c.stores=null,c.memoCache!=null&&(c.memoCache.index=0)}U.H=Mm,c=e(a,l)}while(si);return c}function $b(){var t=U.H,e=t.useState()[0];return e=typeof e.then=="function"?ul(e):e,t=t.useState()[0],(Dt!==null?Dt.memoizedState:null)!==t&&(rt.flags|=1024),e}function ru(){var t=Ls!==0;return Ls=0,t}function ou(t,e,a){e.updateQueue=t.updateQueue,e.flags&=-2053,t.lanes&=~a}function uu(t){if(Ns){for(t=t.memoizedState;t!==null;){var e=t.queue;e!==null&&(e.pending=null),t=t.next}Ns=!1}vn=0,Kt=Dt=rt=null,si=!1,ol=Ls=0,ri=null}function fe(){var t={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Kt===null?rt.memoizedState=Kt=t:Kt=Kt.next=t,Kt}function Xt(){if(Dt===null){var t=rt.alternate;t=t!==null?t.memoizedState:null}else t=Dt.next;var e=Kt===null?rt.memoizedState:Kt.next;if(e!==null)Kt=e,Dt=t;else{if(t===null)throw rt.alternate===null?Error(r(467)):Error(r(310));Dt=t,t={memoizedState:Dt.memoizedState,baseState:Dt.baseState,baseQueue:Dt.baseQueue,queue:Dt.queue,next:null},Kt===null?rt.memoizedState=Kt=t:Kt=Kt.next=t}return Kt}function Vs(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function ul(t){var e=ol;return ol+=1,ri===null&&(ri=[]),t=Vd(ri,t,e),e=rt,(Kt===null?e.memoizedState:Kt.next)===null&&(e=e.alternate,U.H=e===null||e.memoizedState===null?Dm:xu),t}function Bs(t){if(t!==null&&typeof t=="object"){if(typeof t.then=="function")return ul(t);if(t.$$typeof===B)return ie(t)}throw Error(r(438,String(t)))}function cu(t){var e=null,a=rt.updateQueue;if(a!==null&&(e=a.memoCache),e==null){var l=rt.alternate;l!==null&&(l=l.updateQueue,l!==null&&(l=l.memoCache,l!=null&&(e={data:l.data.map(function(o){return o.slice()}),index:0})))}if(e==null&&(e={data:[],index:0}),a===null&&(a=Vs(),rt.updateQueue=a),a.memoCache=e,a=e.data[e.index],a===void 0)for(a=e.data[e.index]=Array(t),l=0;l<t;l++)a[l]=I;return e.index++,a}function bn(t,e){return typeof e=="function"?e(t):e}function Us(t){var e=Xt();return fu(e,Dt,t)}function fu(t,e,a){var l=t.queue;if(l===null)throw Error(r(311));l.lastRenderedReducer=a;var o=t.baseQueue,c=l.pending;if(c!==null){if(o!==null){var p=o.next;o.next=c.next,c.next=p}e.baseQueue=o=c,l.pending=null}if(c=t.baseState,o===null)t.memoizedState=c;else{e=o.next;var b=p=null,E=null,z=e,H=!1;do{var q=z.lane&-536870913;if(q!==z.lane?(mt&q)===q:(vn&q)===q){var N=z.revertLane;if(N===0)E!==null&&(E=E.next={lane:0,revertLane:0,gesture:null,action:z.action,hasEagerState:z.hasEagerState,eagerState:z.eagerState,next:null}),q===ei&&(H=!0);else if((vn&N)===N){z=z.next,N===ei&&(H=!0);continue}else q={lane:0,revertLane:z.revertLane,gesture:null,action:z.action,hasEagerState:z.hasEagerState,eagerState:z.eagerState,next:null},E===null?(b=E=q,p=c):E=E.next=q,rt.lanes|=N,Fn|=N;q=z.action,wa&&a(c,q),c=z.hasEagerState?z.eagerState:a(c,q)}else N={lane:q,revertLane:z.revertLane,gesture:z.gesture,action:z.action,hasEagerState:z.hasEagerState,eagerState:z.eagerState,next:null},E===null?(b=E=N,p=c):E=E.next=N,rt.lanes|=q,Fn|=q;z=z.next}while(z!==null&&z!==e);if(E===null?p=c:E.next=b,!Ce(c,t.memoizedState)&&(Qt=!0,H&&(a=ni,a!==null)))throw a;t.memoizedState=c,t.baseState=p,t.baseQueue=E,l.lastRenderedState=c}return o===null&&(l.lanes=0),[t.memoizedState,l.dispatch]}function hu(t){var e=Xt(),a=e.queue;if(a===null)throw Error(r(311));a.lastRenderedReducer=t;var l=a.dispatch,o=a.pending,c=e.memoizedState;if(o!==null){a.pending=null;var p=o=o.next;do c=t(c,p.action),p=p.next;while(p!==o);Ce(c,e.memoizedState)||(Qt=!0),e.memoizedState=c,e.baseQueue===null&&(e.baseState=c),a.lastRenderedState=c}return[c,l]}function Qd(t,e,a){var l=rt,o=Xt(),c=gt;if(c){if(a===void 0)throw Error(r(407));a=a()}else a=e();var p=!Ce((Dt||o).memoizedState,a);if(p&&(o.memoizedState=a,Qt=!0),o=o.queue,pu(Jd.bind(null,l,o,t),[t]),o.getSnapshot!==e||p||Kt!==null&&Kt.memoizedState.tag&1){if(l.flags|=2048,oi(9,{destroy:void 0},Fd.bind(null,l,o,a,e),null),Ot===null)throw Error(r(349));c||(vn&127)!==0||Zd(l,e,a)}return a}function Zd(t,e,a){t.flags|=16384,t={getSnapshot:e,value:a},e=rt.updateQueue,e===null?(e=Vs(),rt.updateQueue=e,e.stores=[t]):(a=e.stores,a===null?e.stores=[t]:a.push(t))}function Fd(t,e,a,l){e.value=a,e.getSnapshot=l,$d(e)&&Wd(t)}function Jd(t,e,a){return a(function(){$d(e)&&Wd(t)})}function $d(t){var e=t.getSnapshot;t=t.value;try{var a=e();return!Ce(t,a)}catch{return!0}}function Wd(t){var e=ga(t,2);e!==null&&Se(e,t,2)}function du(t){var e=fe();if(typeof t=="function"){var a=t;if(t=a(),wa){Ln(!0);try{a()}finally{Ln(!1)}}}return e.memoizedState=e.baseState=t,e.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:bn,lastRenderedState:t},e}function Id(t,e,a,l){return t.baseState=a,fu(t,Dt,typeof l=="function"?l:bn)}function Wb(t,e,a,l,o){if(qs(t))throw Error(r(485));if(t=e.action,t!==null){var c={payload:o,action:t,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(p){c.listeners.push(p)}};U.T!==null?a(!0):c.isTransition=!1,l(c),a=e.pending,a===null?(c.next=e.pending=c,tm(e,c)):(c.next=a.next,e.pending=a.next=c)}}function tm(t,e){var a=e.action,l=e.payload,o=t.state;if(e.isTransition){var c=U.T,p={};U.T=p;try{var b=a(o,l),E=U.S;E!==null&&E(p,b),em(t,e,b)}catch(z){mu(t,e,z)}finally{c!==null&&p.types!==null&&(c.types=p.types),U.T=c}}else try{c=a(o,l),em(t,e,c)}catch(z){mu(t,e,z)}}function em(t,e,a){a!==null&&typeof a=="object"&&typeof a.then=="function"?a.then(function(l){nm(t,e,l)},function(l){return mu(t,e,l)}):nm(t,e,a)}function nm(t,e,a){e.status="fulfilled",e.value=a,am(e),t.state=a,e=t.pending,e!==null&&(a=e.next,a===e?t.pending=null:(a=a.next,e.next=a,tm(t,a)))}function mu(t,e,a){var l=t.pending;if(t.pending=null,l!==null){l=l.next;do e.status="rejected",e.reason=a,am(e),e=e.next;while(e!==l)}t.action=null}function am(t){t=t.listeners;for(var e=0;e<t.length;e++)(0,t[e])()}function im(t,e){return e}function lm(t,e){if(gt){var a=Ot.formState;if(a!==null){t:{var l=rt;if(gt){if(zt){e:{for(var o=zt,c=ke;o.nodeType!==8;){if(!c){o=null;break e}if(o=Ye(o.nextSibling),o===null){o=null;break e}}c=o.data,o=c==="F!"||c==="F"?o:null}if(o){zt=Ye(o.nextSibling),l=o.data==="F!";break t}}kn(l)}l=!1}l&&(e=a[0])}}return a=fe(),a.memoizedState=a.baseState=e,l={pending:null,lanes:0,dispatch:null,lastRenderedReducer:im,lastRenderedState:e},a.queue=l,a=Am.bind(null,rt,l),l.dispatch=a,l=du(!1),c=Su.bind(null,rt,!1,l.queue),l=fe(),o={state:e,dispatch:null,action:t,pending:null},l.queue=o,a=Wb.bind(null,rt,o,c,a),o.dispatch=a,l.memoizedState=t,[e,a,!1]}function sm(t){var e=Xt();return rm(e,Dt,t)}function rm(t,e,a){if(e=fu(t,e,im)[0],t=Us(bn)[0],typeof e=="object"&&e!==null&&typeof e.then=="function")try{var l=ul(e)}catch(p){throw p===ai?Ms:p}else l=e;e=Xt();var o=e.queue,c=o.dispatch;return a!==e.memoizedState&&(rt.flags|=2048,oi(9,{destroy:void 0},Ib.bind(null,o,a),null)),[l,c,t]}function Ib(t,e){t.action=e}function om(t){var e=Xt(),a=Dt;if(a!==null)return rm(e,a,t);Xt(),e=e.memoizedState,a=Xt();var l=a.queue.dispatch;return a.memoizedState=t,[e,l,!1]}function oi(t,e,a,l){return t={tag:t,create:a,deps:l,inst:e,next:null},e=rt.updateQueue,e===null&&(e=Vs(),rt.updateQueue=e),a=e.lastEffect,a===null?e.lastEffect=t.next=t:(l=a.next,a.next=t,t.next=l,e.lastEffect=t),t}function um(){return Xt().memoizedState}function Hs(t,e,a,l){var o=fe();rt.flags|=t,o.memoizedState=oi(1|e,{destroy:void 0},a,l===void 0?null:l)}function ks(t,e,a,l){var o=Xt();l=l===void 0?null:l;var c=o.memoizedState.inst;Dt!==null&&l!==null&&lu(l,Dt.memoizedState.deps)?o.memoizedState=oi(e,c,a,l):(rt.flags|=t,o.memoizedState=oi(1|e,c,a,l))}function cm(t,e){Hs(8390656,8,t,e)}function pu(t,e){ks(2048,8,t,e)}function tS(t){rt.flags|=4;var e=rt.updateQueue;if(e===null)e=Vs(),rt.updateQueue=e,e.events=[t];else{var a=e.events;a===null?e.events=[t]:a.push(t)}}function fm(t){var e=Xt().memoizedState;return tS({ref:e,nextImpl:t}),function(){if((Tt&2)!==0)throw Error(r(440));return e.impl.apply(void 0,arguments)}}function hm(t,e){return ks(4,2,t,e)}function dm(t,e){return ks(4,4,t,e)}function mm(t,e){if(typeof e=="function"){t=t();var a=e(t);return function(){typeof a=="function"?a():e(null)}}if(e!=null)return t=t(),e.current=t,function(){e.current=null}}function pm(t,e,a){a=a!=null?a.concat([t]):null,ks(4,4,mm.bind(null,e,t),a)}function yu(){}function ym(t,e){var a=Xt();e=e===void 0?null:e;var l=a.memoizedState;return e!==null&&lu(e,l[1])?l[0]:(a.memoizedState=[t,e],t)}function gm(t,e){var a=Xt();e=e===void 0?null:e;var l=a.memoizedState;if(e!==null&&lu(e,l[1]))return l[0];if(l=t(),wa){Ln(!0);try{t()}finally{Ln(!1)}}return a.memoizedState=[l,e],l}function gu(t,e,a){return a===void 0||(vn&1073741824)!==0&&(mt&261930)===0?t.memoizedState=e:(t.memoizedState=a,t=vp(),rt.lanes|=t,Fn|=t,a)}function vm(t,e,a,l){return Ce(a,e)?a:li.current!==null?(t=gu(t,a,l),Ce(t,e)||(Qt=!0),t):(vn&42)===0||(vn&1073741824)!==0&&(mt&261930)===0?(Qt=!0,t.memoizedState=a):(t=vp(),rt.lanes|=t,Fn|=t,e)}function bm(t,e,a,l,o){var c=G.p;G.p=c!==0&&8>c?c:8;var p=U.T,b={};U.T=b,Su(t,!1,e,a);try{var E=o(),z=U.S;if(z!==null&&z(b,E),E!==null&&typeof E=="object"&&typeof E.then=="function"){var H=Fb(E,l);cl(t,e,H,_e(t))}else cl(t,e,l,_e(t))}catch(q){cl(t,e,{then:function(){},status:"rejected",reason:q},_e())}finally{G.p=c,p!==null&&b.types!==null&&(p.types=b.types),U.T=p}}function eS(){}function vu(t,e,a,l){if(t.tag!==5)throw Error(r(476));var o=Sm(t).queue;bm(t,o,e,Q,a===null?eS:function(){return xm(t),a(l)})}function Sm(t){var e=t.memoizedState;if(e!==null)return e;e={memoizedState:Q,baseState:Q,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:bn,lastRenderedState:Q},next:null};var a={};return e.next={memoizedState:a,baseState:a,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:bn,lastRenderedState:a},next:null},t.memoizedState=e,t=t.alternate,t!==null&&(t.memoizedState=e),e}function xm(t){var e=Sm(t);e.next===null&&(e=t.alternate.memoizedState),cl(t,e.next.queue,{},_e())}function bu(){return ie(Dl)}function Tm(){return Xt().memoizedState}function Em(){return Xt().memoizedState}function nS(t){for(var e=t.return;e!==null;){switch(e.tag){case 24:case 3:var a=_e();t=Xn(a);var l=Gn(e,t,a);l!==null&&(Se(l,e,a),ll(l,e,a)),e={cache:Zo()},t.payload=e;return}e=e.return}}function aS(t,e,a){var l=_e();a={lane:l,revertLane:0,gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null},qs(t)?Cm(e,a):(a=Bo(t,e,a,l),a!==null&&(Se(a,t,l),wm(a,e,l)))}function Am(t,e,a){var l=_e();cl(t,e,a,l)}function cl(t,e,a,l){var o={lane:l,revertLane:0,gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null};if(qs(t))Cm(e,o);else{var c=t.alternate;if(t.lanes===0&&(c===null||c.lanes===0)&&(c=e.lastRenderedReducer,c!==null))try{var p=e.lastRenderedState,b=c(p,a);if(o.hasEagerState=!0,o.eagerState=b,Ce(b,p))return xs(t,e,o,0),Ot===null&&Ss(),!1}catch{}finally{}if(a=Bo(t,e,o,l),a!==null)return Se(a,t,l),wm(a,e,l),!0}return!1}function Su(t,e,a,l){if(l={lane:2,revertLane:Wu(),gesture:null,action:l,hasEagerState:!1,eagerState:null,next:null},qs(t)){if(e)throw Error(r(479))}else e=Bo(t,a,l,2),e!==null&&Se(e,t,2)}function qs(t){var e=t.alternate;return t===rt||e!==null&&e===rt}function Cm(t,e){si=Ns=!0;var a=t.pending;a===null?e.next=e:(e.next=a.next,a.next=e),t.pending=e}function wm(t,e,a){if((a&4194048)!==0){var l=e.lanes;l&=t.pendingLanes,a|=l,e.lanes=a,_h(t,a)}}var fl={readContext:ie,use:Bs,useCallback:Bt,useContext:Bt,useEffect:Bt,useImperativeHandle:Bt,useLayoutEffect:Bt,useInsertionEffect:Bt,useMemo:Bt,useReducer:Bt,useRef:Bt,useState:Bt,useDebugValue:Bt,useDeferredValue:Bt,useTransition:Bt,useSyncExternalStore:Bt,useId:Bt,useHostTransitionStatus:Bt,useFormState:Bt,useActionState:Bt,useOptimistic:Bt,useMemoCache:Bt,useCacheRefresh:Bt};fl.useEffectEvent=Bt;var Dm={readContext:ie,use:Bs,useCallback:function(t,e){return fe().memoizedState=[t,e===void 0?null:e],t},useContext:ie,useEffect:cm,useImperativeHandle:function(t,e,a){a=a!=null?a.concat([t]):null,Hs(4194308,4,mm.bind(null,e,t),a)},useLayoutEffect:function(t,e){return Hs(4194308,4,t,e)},useInsertionEffect:function(t,e){Hs(4,2,t,e)},useMemo:function(t,e){var a=fe();e=e===void 0?null:e;var l=t();if(wa){Ln(!0);try{t()}finally{Ln(!1)}}return a.memoizedState=[l,e],l},useReducer:function(t,e,a){var l=fe();if(a!==void 0){var o=a(e);if(wa){Ln(!0);try{a(e)}finally{Ln(!1)}}}else o=e;return l.memoizedState=l.baseState=o,t={pending:null,lanes:0,dispatch:null,lastRenderedReducer:t,lastRenderedState:o},l.queue=t,t=t.dispatch=aS.bind(null,rt,t),[l.memoizedState,t]},useRef:function(t){var e=fe();return t={current:t},e.memoizedState=t},useState:function(t){t=du(t);var e=t.queue,a=Am.bind(null,rt,e);return e.dispatch=a,[t.memoizedState,a]},useDebugValue:yu,useDeferredValue:function(t,e){var a=fe();return gu(a,t,e)},useTransition:function(){var t=du(!1);return t=bm.bind(null,rt,t.queue,!0,!1),fe().memoizedState=t,[!1,t]},useSyncExternalStore:function(t,e,a){var l=rt,o=fe();if(gt){if(a===void 0)throw Error(r(407));a=a()}else{if(a=e(),Ot===null)throw Error(r(349));(mt&127)!==0||Zd(l,e,a)}o.memoizedState=a;var c={value:a,getSnapshot:e};return o.queue=c,cm(Jd.bind(null,l,c,t),[t]),l.flags|=2048,oi(9,{destroy:void 0},Fd.bind(null,l,c,a,e),null),a},useId:function(){var t=fe(),e=Ot.identifierPrefix;if(gt){var a=ln,l=an;a=(l&~(1<<32-Ae(l)-1)).toString(32)+a,e="_"+e+"R_"+a,a=Ls++,0<a&&(e+="H"+a.toString(32)),e+="_"}else a=Jb++,e="_"+e+"r_"+a.toString(32)+"_";return t.memoizedState=e},useHostTransitionStatus:bu,useFormState:lm,useActionState:lm,useOptimistic:function(t){var e=fe();e.memoizedState=e.baseState=t;var a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return e.queue=a,e=Su.bind(null,rt,!0,a),a.dispatch=e,[t,e]},useMemoCache:cu,useCacheRefresh:function(){return fe().memoizedState=nS.bind(null,rt)},useEffectEvent:function(t){var e=fe(),a={impl:t};return e.memoizedState=a,function(){if((Tt&2)!==0)throw Error(r(440));return a.impl.apply(void 0,arguments)}}},xu={readContext:ie,use:Bs,useCallback:ym,useContext:ie,useEffect:pu,useImperativeHandle:pm,useInsertionEffect:hm,useLayoutEffect:dm,useMemo:gm,useReducer:Us,useRef:um,useState:function(){return Us(bn)},useDebugValue:yu,useDeferredValue:function(t,e){var a=Xt();return vm(a,Dt.memoizedState,t,e)},useTransition:function(){var t=Us(bn)[0],e=Xt().memoizedState;return[typeof t=="boolean"?t:ul(t),e]},useSyncExternalStore:Qd,useId:Tm,useHostTransitionStatus:bu,useFormState:sm,useActionState:sm,useOptimistic:function(t,e){var a=Xt();return Id(a,Dt,t,e)},useMemoCache:cu,useCacheRefresh:Em};xu.useEffectEvent=fm;var Mm={readContext:ie,use:Bs,useCallback:ym,useContext:ie,useEffect:pu,useImperativeHandle:pm,useInsertionEffect:hm,useLayoutEffect:dm,useMemo:gm,useReducer:hu,useRef:um,useState:function(){return hu(bn)},useDebugValue:yu,useDeferredValue:function(t,e){var a=Xt();return Dt===null?gu(a,t,e):vm(a,Dt.memoizedState,t,e)},useTransition:function(){var t=hu(bn)[0],e=Xt().memoizedState;return[typeof t=="boolean"?t:ul(t),e]},useSyncExternalStore:Qd,useId:Tm,useHostTransitionStatus:bu,useFormState:om,useActionState:om,useOptimistic:function(t,e){var a=Xt();return Dt!==null?Id(a,Dt,t,e):(a.baseState=t,[t,a.queue.dispatch])},useMemoCache:cu,useCacheRefresh:Em};Mm.useEffectEvent=fm;function Tu(t,e,a,l){e=t.memoizedState,a=a(l,e),a=a==null?e:v({},e,a),t.memoizedState=a,t.lanes===0&&(t.updateQueue.baseState=a)}var Eu={enqueueSetState:function(t,e,a){t=t._reactInternals;var l=_e(),o=Xn(l);o.payload=e,a!=null&&(o.callback=a),e=Gn(t,o,l),e!==null&&(Se(e,t,l),ll(e,t,l))},enqueueReplaceState:function(t,e,a){t=t._reactInternals;var l=_e(),o=Xn(l);o.tag=1,o.payload=e,a!=null&&(o.callback=a),e=Gn(t,o,l),e!==null&&(Se(e,t,l),ll(e,t,l))},enqueueForceUpdate:function(t,e){t=t._reactInternals;var a=_e(),l=Xn(a);l.tag=2,e!=null&&(l.callback=e),e=Gn(t,l,a),e!==null&&(Se(e,t,a),ll(e,t,a))}};function Rm(t,e,a,l,o,c,p){return t=t.stateNode,typeof t.shouldComponentUpdate=="function"?t.shouldComponentUpdate(l,c,p):e.prototype&&e.prototype.isPureReactComponent?!$i(a,l)||!$i(o,c):!0}function Om(t,e,a,l){t=e.state,typeof e.componentWillReceiveProps=="function"&&e.componentWillReceiveProps(a,l),typeof e.UNSAFE_componentWillReceiveProps=="function"&&e.UNSAFE_componentWillReceiveProps(a,l),e.state!==t&&Eu.enqueueReplaceState(e,e.state,null)}function Da(t,e){var a=e;if("ref"in e){a={};for(var l in e)l!=="ref"&&(a[l]=e[l])}if(t=t.defaultProps){a===e&&(a=v({},a));for(var o in t)a[o]===void 0&&(a[o]=t[o])}return a}function _m(t){bs(t)}function zm(t){console.error(t)}function jm(t){bs(t)}function Ys(t,e){try{var a=t.onUncaughtError;a(e.value,{componentStack:e.stack})}catch(l){setTimeout(function(){throw l})}}function Nm(t,e,a){try{var l=t.onCaughtError;l(a.value,{componentStack:a.stack,errorBoundary:e.tag===1?e.stateNode:null})}catch(o){setTimeout(function(){throw o})}}function Au(t,e,a){return a=Xn(a),a.tag=3,a.payload={element:null},a.callback=function(){Ys(t,e)},a}function Lm(t){return t=Xn(t),t.tag=3,t}function Vm(t,e,a,l){var o=a.type.getDerivedStateFromError;if(typeof o=="function"){var c=l.value;t.payload=function(){return o(c)},t.callback=function(){Nm(e,a,l)}}var p=a.stateNode;p!==null&&typeof p.componentDidCatch=="function"&&(t.callback=function(){Nm(e,a,l),typeof o!="function"&&(Jn===null?Jn=new Set([this]):Jn.add(this));var b=l.stack;this.componentDidCatch(l.value,{componentStack:b!==null?b:""})})}function iS(t,e,a,l,o){if(a.flags|=32768,l!==null&&typeof l=="object"&&typeof l.then=="function"){if(e=a.alternate,e!==null&&ti(e,a,o,!0),a=De.current,a!==null){switch(a.tag){case 31:case 13:return qe===null?tr():a.alternate===null&&Ut===0&&(Ut=3),a.flags&=-257,a.flags|=65536,a.lanes=o,l===Rs?a.flags|=16384:(e=a.updateQueue,e===null?a.updateQueue=new Set([l]):e.add(l),Fu(t,l,o)),!1;case 22:return a.flags|=65536,l===Rs?a.flags|=16384:(e=a.updateQueue,e===null?(e={transitions:null,markerInstances:null,retryQueue:new Set([l])},a.updateQueue=e):(a=e.retryQueue,a===null?e.retryQueue=new Set([l]):a.add(l)),Fu(t,l,o)),!1}throw Error(r(435,a.tag))}return Fu(t,l,o),tr(),!1}if(gt)return e=De.current,e!==null?((e.flags&65536)===0&&(e.flags|=256),e.flags|=65536,e.lanes=o,l!==Xo&&(t=Error(r(422),{cause:l}),tl(Be(t,a)))):(l!==Xo&&(e=Error(r(423),{cause:l}),tl(Be(e,a))),t=t.current.alternate,t.flags|=65536,o&=-o,t.lanes|=o,l=Be(l,a),o=Au(t.stateNode,l,o),tu(t,o),Ut!==4&&(Ut=2)),!1;var c=Error(r(520),{cause:l});if(c=Be(c,a),bl===null?bl=[c]:bl.push(c),Ut!==4&&(Ut=2),e===null)return!0;l=Be(l,a),a=e;do{switch(a.tag){case 3:return a.flags|=65536,t=o&-o,a.lanes|=t,t=Au(a.stateNode,l,t),tu(a,t),!1;case 1:if(e=a.type,c=a.stateNode,(a.flags&128)===0&&(typeof e.getDerivedStateFromError=="function"||c!==null&&typeof c.componentDidCatch=="function"&&(Jn===null||!Jn.has(c))))return a.flags|=65536,o&=-o,a.lanes|=o,o=Lm(o),Vm(o,t,a,l),tu(a,o),!1}a=a.return}while(a!==null);return!1}var Cu=Error(r(461)),Qt=!1;function le(t,e,a,l){e.child=t===null?kd(e,null,a,l):Ca(e,t.child,a,l)}function Bm(t,e,a,l,o){a=a.render;var c=e.ref;if("ref"in l){var p={};for(var b in l)b!=="ref"&&(p[b]=l[b])}else p=l;return xa(e),l=su(t,e,a,p,c,o),b=ru(),t!==null&&!Qt?(ou(t,e,o),Sn(t,e,o)):(gt&&b&&qo(e),e.flags|=1,le(t,e,l,o),e.child)}function Um(t,e,a,l,o){if(t===null){var c=a.type;return typeof c=="function"&&!Uo(c)&&c.defaultProps===void 0&&a.compare===null?(e.tag=15,e.type=c,Hm(t,e,c,l,o)):(t=Es(a.type,null,l,e,e.mode,o),t.ref=e.ref,t.return=e,e.child=t)}if(c=t.child,!ju(t,o)){var p=c.memoizedProps;if(a=a.compare,a=a!==null?a:$i,a(p,l)&&t.ref===e.ref)return Sn(t,e,o)}return e.flags|=1,t=mn(c,l),t.ref=e.ref,t.return=e,e.child=t}function Hm(t,e,a,l,o){if(t!==null){var c=t.memoizedProps;if($i(c,l)&&t.ref===e.ref)if(Qt=!1,e.pendingProps=l=c,ju(t,o))(t.flags&131072)!==0&&(Qt=!0);else return e.lanes=t.lanes,Sn(t,e,o)}return wu(t,e,a,l,o)}function km(t,e,a,l){var o=l.children,c=t!==null?t.memoizedState:null;if(t===null&&e.stateNode===null&&(e.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),l.mode==="hidden"){if((e.flags&128)!==0){if(c=c!==null?c.baseLanes|a:a,t!==null){for(l=e.child=t.child,o=0;l!==null;)o=o|l.lanes|l.childLanes,l=l.sibling;l=o&~c}else l=0,e.child=null;return qm(t,e,c,a,l)}if((a&536870912)!==0)e.memoizedState={baseLanes:0,cachePool:null},t!==null&&Ds(e,c!==null?c.cachePool:null),c!==null?Xd(e,c):nu(),Gd(e);else return l=e.lanes=536870912,qm(t,e,c!==null?c.baseLanes|a:a,a,l)}else c!==null?(Ds(e,c.cachePool),Xd(e,c),Kn(),e.memoizedState=null):(t!==null&&Ds(e,null),nu(),Kn());return le(t,e,o,a),e.child}function hl(t,e){return t!==null&&t.tag===22||e.stateNode!==null||(e.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),e.sibling}function qm(t,e,a,l,o){var c=Jo();return c=c===null?null:{parent:Pt._currentValue,pool:c},e.memoizedState={baseLanes:a,cachePool:c},t!==null&&Ds(e,null),nu(),Gd(e),t!==null&&ti(t,e,l,!0),e.childLanes=o,null}function Xs(t,e){return e=Ps({mode:e.mode,children:e.children},t.mode),e.ref=t.ref,t.child=e,e.return=t,e}function Ym(t,e,a){return Ca(e,t.child,null,a),t=Xs(e,e.pendingProps),t.flags|=2,Me(e),e.memoizedState=null,t}function lS(t,e,a){var l=e.pendingProps,o=(e.flags&128)!==0;if(e.flags&=-129,t===null){if(gt){if(l.mode==="hidden")return t=Xs(e,l),e.lanes=536870912,hl(null,t);if(iu(e),(t=zt)?(t=ty(t,ke),t=t!==null&&t.data==="&"?t:null,t!==null&&(e.memoizedState={dehydrated:t,treeContext:Un!==null?{id:an,overflow:ln}:null,retryLane:536870912,hydrationErrors:null},a=Cd(t),a.return=e,e.child=a,ae=e,zt=null)):t=null,t===null)throw kn(e);return e.lanes=536870912,null}return Xs(e,l)}var c=t.memoizedState;if(c!==null){var p=c.dehydrated;if(iu(e),o)if(e.flags&256)e.flags&=-257,e=Ym(t,e,a);else if(e.memoizedState!==null)e.child=t.child,e.flags|=128,e=null;else throw Error(r(558));else if(Qt||ti(t,e,a,!1),o=(a&t.childLanes)!==0,Qt||o){if(l=Ot,l!==null&&(p=zh(l,a),p!==0&&p!==c.retryLane))throw c.retryLane=p,ga(t,p),Se(l,t,p),Cu;tr(),e=Ym(t,e,a)}else t=c.treeContext,zt=Ye(p.nextSibling),ae=e,gt=!0,Hn=null,ke=!1,t!==null&&Md(e,t),e=Xs(e,l),e.flags|=4096;return e}return t=mn(t.child,{mode:l.mode,children:l.children}),t.ref=e.ref,e.child=t,t.return=e,t}function Gs(t,e){var a=e.ref;if(a===null)t!==null&&t.ref!==null&&(e.flags|=4194816);else{if(typeof a!="function"&&typeof a!="object")throw Error(r(284));(t===null||t.ref!==a)&&(e.flags|=4194816)}}function wu(t,e,a,l,o){return xa(e),a=su(t,e,a,l,void 0,o),l=ru(),t!==null&&!Qt?(ou(t,e,o),Sn(t,e,o)):(gt&&l&&qo(e),e.flags|=1,le(t,e,a,o),e.child)}function Xm(t,e,a,l,o,c){return xa(e),e.updateQueue=null,a=Kd(e,l,a,o),Pd(t),l=ru(),t!==null&&!Qt?(ou(t,e,c),Sn(t,e,c)):(gt&&l&&qo(e),e.flags|=1,le(t,e,a,c),e.child)}function Gm(t,e,a,l,o){if(xa(e),e.stateNode===null){var c=Ja,p=a.contextType;typeof p=="object"&&p!==null&&(c=ie(p)),c=new a(l,c),e.memoizedState=c.state!==null&&c.state!==void 0?c.state:null,c.updater=Eu,e.stateNode=c,c._reactInternals=e,c=e.stateNode,c.props=l,c.state=e.memoizedState,c.refs={},Wo(e),p=a.contextType,c.context=typeof p=="object"&&p!==null?ie(p):Ja,c.state=e.memoizedState,p=a.getDerivedStateFromProps,typeof p=="function"&&(Tu(e,a,p,l),c.state=e.memoizedState),typeof a.getDerivedStateFromProps=="function"||typeof c.getSnapshotBeforeUpdate=="function"||typeof c.UNSAFE_componentWillMount!="function"&&typeof c.componentWillMount!="function"||(p=c.state,typeof c.componentWillMount=="function"&&c.componentWillMount(),typeof c.UNSAFE_componentWillMount=="function"&&c.UNSAFE_componentWillMount(),p!==c.state&&Eu.enqueueReplaceState(c,c.state,null),rl(e,l,c,o),sl(),c.state=e.memoizedState),typeof c.componentDidMount=="function"&&(e.flags|=4194308),l=!0}else if(t===null){c=e.stateNode;var b=e.memoizedProps,E=Da(a,b);c.props=E;var z=c.context,H=a.contextType;p=Ja,typeof H=="object"&&H!==null&&(p=ie(H));var q=a.getDerivedStateFromProps;H=typeof q=="function"||typeof c.getSnapshotBeforeUpdate=="function",b=e.pendingProps!==b,H||typeof c.UNSAFE_componentWillReceiveProps!="function"&&typeof c.componentWillReceiveProps!="function"||(b||z!==p)&&Om(e,c,l,p),Yn=!1;var N=e.memoizedState;c.state=N,rl(e,l,c,o),sl(),z=e.memoizedState,b||N!==z||Yn?(typeof q=="function"&&(Tu(e,a,q,l),z=e.memoizedState),(E=Yn||Rm(e,a,E,l,N,z,p))?(H||typeof c.UNSAFE_componentWillMount!="function"&&typeof c.componentWillMount!="function"||(typeof c.componentWillMount=="function"&&c.componentWillMount(),typeof c.UNSAFE_componentWillMount=="function"&&c.UNSAFE_componentWillMount()),typeof c.componentDidMount=="function"&&(e.flags|=4194308)):(typeof c.componentDidMount=="function"&&(e.flags|=4194308),e.memoizedProps=l,e.memoizedState=z),c.props=l,c.state=z,c.context=p,l=E):(typeof c.componentDidMount=="function"&&(e.flags|=4194308),l=!1)}else{c=e.stateNode,Io(t,e),p=e.memoizedProps,H=Da(a,p),c.props=H,q=e.pendingProps,N=c.context,z=a.contextType,E=Ja,typeof z=="object"&&z!==null&&(E=ie(z)),b=a.getDerivedStateFromProps,(z=typeof b=="function"||typeof c.getSnapshotBeforeUpdate=="function")||typeof c.UNSAFE_componentWillReceiveProps!="function"&&typeof c.componentWillReceiveProps!="function"||(p!==q||N!==E)&&Om(e,c,l,E),Yn=!1,N=e.memoizedState,c.state=N,rl(e,l,c,o),sl();var V=e.memoizedState;p!==q||N!==V||Yn||t!==null&&t.dependencies!==null&&Cs(t.dependencies)?(typeof b=="function"&&(Tu(e,a,b,l),V=e.memoizedState),(H=Yn||Rm(e,a,H,l,N,V,E)||t!==null&&t.dependencies!==null&&Cs(t.dependencies))?(z||typeof c.UNSAFE_componentWillUpdate!="function"&&typeof c.componentWillUpdate!="function"||(typeof c.componentWillUpdate=="function"&&c.componentWillUpdate(l,V,E),typeof c.UNSAFE_componentWillUpdate=="function"&&c.UNSAFE_componentWillUpdate(l,V,E)),typeof c.componentDidUpdate=="function"&&(e.flags|=4),typeof c.getSnapshotBeforeUpdate=="function"&&(e.flags|=1024)):(typeof c.componentDidUpdate!="function"||p===t.memoizedProps&&N===t.memoizedState||(e.flags|=4),typeof c.getSnapshotBeforeUpdate!="function"||p===t.memoizedProps&&N===t.memoizedState||(e.flags|=1024),e.memoizedProps=l,e.memoizedState=V),c.props=l,c.state=V,c.context=E,l=H):(typeof c.componentDidUpdate!="function"||p===t.memoizedProps&&N===t.memoizedState||(e.flags|=4),typeof c.getSnapshotBeforeUpdate!="function"||p===t.memoizedProps&&N===t.memoizedState||(e.flags|=1024),l=!1)}return c=l,Gs(t,e),l=(e.flags&128)!==0,c||l?(c=e.stateNode,a=l&&typeof a.getDerivedStateFromError!="function"?null:c.render(),e.flags|=1,t!==null&&l?(e.child=Ca(e,t.child,null,o),e.child=Ca(e,null,a,o)):le(t,e,a,o),e.memoizedState=c.state,t=e.child):t=Sn(t,e,o),t}function Pm(t,e,a,l){return ba(),e.flags|=256,le(t,e,a,l),e.child}var Du={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function Mu(t){return{baseLanes:t,cachePool:Nd()}}function Ru(t,e,a){return t=t!==null?t.childLanes&~a:0,e&&(t|=Oe),t}function Km(t,e,a){var l=e.pendingProps,o=!1,c=(e.flags&128)!==0,p;if((p=c)||(p=t!==null&&t.memoizedState===null?!1:(Yt.current&2)!==0),p&&(o=!0,e.flags&=-129),p=(e.flags&32)!==0,e.flags&=-33,t===null){if(gt){if(o?Pn(e):Kn(),(t=zt)?(t=ty(t,ke),t=t!==null&&t.data!=="&"?t:null,t!==null&&(e.memoizedState={dehydrated:t,treeContext:Un!==null?{id:an,overflow:ln}:null,retryLane:536870912,hydrationErrors:null},a=Cd(t),a.return=e,e.child=a,ae=e,zt=null)):t=null,t===null)throw kn(e);return fc(t)?e.lanes=32:e.lanes=536870912,null}var b=l.children;return l=l.fallback,o?(Kn(),o=e.mode,b=Ps({mode:"hidden",children:b},o),l=va(l,o,a,null),b.return=e,l.return=e,b.sibling=l,e.child=b,l=e.child,l.memoizedState=Mu(a),l.childLanes=Ru(t,p,a),e.memoizedState=Du,hl(null,l)):(Pn(e),Ou(e,b))}var E=t.memoizedState;if(E!==null&&(b=E.dehydrated,b!==null)){if(c)e.flags&256?(Pn(e),e.flags&=-257,e=_u(t,e,a)):e.memoizedState!==null?(Kn(),e.child=t.child,e.flags|=128,e=null):(Kn(),b=l.fallback,o=e.mode,l=Ps({mode:"visible",children:l.children},o),b=va(b,o,a,null),b.flags|=2,l.return=e,b.return=e,l.sibling=b,e.child=l,Ca(e,t.child,null,a),l=e.child,l.memoizedState=Mu(a),l.childLanes=Ru(t,p,a),e.memoizedState=Du,e=hl(null,l));else if(Pn(e),fc(b)){if(p=b.nextSibling&&b.nextSibling.dataset,p)var z=p.dgst;p=z,l=Error(r(419)),l.stack="",l.digest=p,tl({value:l,source:null,stack:null}),e=_u(t,e,a)}else if(Qt||ti(t,e,a,!1),p=(a&t.childLanes)!==0,Qt||p){if(p=Ot,p!==null&&(l=zh(p,a),l!==0&&l!==E.retryLane))throw E.retryLane=l,ga(t,l),Se(p,t,l),Cu;cc(b)||tr(),e=_u(t,e,a)}else cc(b)?(e.flags|=192,e.child=t.child,e=null):(t=E.treeContext,zt=Ye(b.nextSibling),ae=e,gt=!0,Hn=null,ke=!1,t!==null&&Md(e,t),e=Ou(e,l.children),e.flags|=4096);return e}return o?(Kn(),b=l.fallback,o=e.mode,E=t.child,z=E.sibling,l=mn(E,{mode:"hidden",children:l.children}),l.subtreeFlags=E.subtreeFlags&65011712,z!==null?b=mn(z,b):(b=va(b,o,a,null),b.flags|=2),b.return=e,l.return=e,l.sibling=b,e.child=l,hl(null,l),l=e.child,b=t.child.memoizedState,b===null?b=Mu(a):(o=b.cachePool,o!==null?(E=Pt._currentValue,o=o.parent!==E?{parent:E,pool:E}:o):o=Nd(),b={baseLanes:b.baseLanes|a,cachePool:o}),l.memoizedState=b,l.childLanes=Ru(t,p,a),e.memoizedState=Du,hl(t.child,l)):(Pn(e),a=t.child,t=a.sibling,a=mn(a,{mode:"visible",children:l.children}),a.return=e,a.sibling=null,t!==null&&(p=e.deletions,p===null?(e.deletions=[t],e.flags|=16):p.push(t)),e.child=a,e.memoizedState=null,a)}function Ou(t,e){return e=Ps({mode:"visible",children:e},t.mode),e.return=t,t.child=e}function Ps(t,e){return t=we(22,t,null,e),t.lanes=0,t}function _u(t,e,a){return Ca(e,t.child,null,a),t=Ou(e,e.pendingProps.children),t.flags|=2,e.memoizedState=null,t}function Qm(t,e,a){t.lanes|=e;var l=t.alternate;l!==null&&(l.lanes|=e),Ko(t.return,e,a)}function zu(t,e,a,l,o,c){var p=t.memoizedState;p===null?t.memoizedState={isBackwards:e,rendering:null,renderingStartTime:0,last:l,tail:a,tailMode:o,treeForkCount:c}:(p.isBackwards=e,p.rendering=null,p.renderingStartTime=0,p.last=l,p.tail=a,p.tailMode=o,p.treeForkCount=c)}function Zm(t,e,a){var l=e.pendingProps,o=l.revealOrder,c=l.tail;l=l.children;var p=Yt.current,b=(p&2)!==0;if(b?(p=p&1|2,e.flags|=128):p&=1,P(Yt,p),le(t,e,l,a),l=gt?Ii:0,!b&&t!==null&&(t.flags&128)!==0)t:for(t=e.child;t!==null;){if(t.tag===13)t.memoizedState!==null&&Qm(t,a,e);else if(t.tag===19)Qm(t,a,e);else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break t;for(;t.sibling===null;){if(t.return===null||t.return===e)break t;t=t.return}t.sibling.return=t.return,t=t.sibling}switch(o){case"forwards":for(a=e.child,o=null;a!==null;)t=a.alternate,t!==null&&js(t)===null&&(o=a),a=a.sibling;a=o,a===null?(o=e.child,e.child=null):(o=a.sibling,a.sibling=null),zu(e,!1,o,a,c,l);break;case"backwards":case"unstable_legacy-backwards":for(a=null,o=e.child,e.child=null;o!==null;){if(t=o.alternate,t!==null&&js(t)===null){e.child=o;break}t=o.sibling,o.sibling=a,a=o,o=t}zu(e,!0,a,null,c,l);break;case"together":zu(e,!1,null,null,void 0,l);break;default:e.memoizedState=null}return e.child}function Sn(t,e,a){if(t!==null&&(e.dependencies=t.dependencies),Fn|=e.lanes,(a&e.childLanes)===0)if(t!==null){if(ti(t,e,a,!1),(a&e.childLanes)===0)return null}else return null;if(t!==null&&e.child!==t.child)throw Error(r(153));if(e.child!==null){for(t=e.child,a=mn(t,t.pendingProps),e.child=a,a.return=e;t.sibling!==null;)t=t.sibling,a=a.sibling=mn(t,t.pendingProps),a.return=e;a.sibling=null}return e.child}function ju(t,e){return(t.lanes&e)!==0?!0:(t=t.dependencies,!!(t!==null&&Cs(t)))}function sS(t,e,a){switch(e.tag){case 3:ce(e,e.stateNode.containerInfo),qn(e,Pt,t.memoizedState.cache),ba();break;case 27:case 5:Ui(e);break;case 4:ce(e,e.stateNode.containerInfo);break;case 10:qn(e,e.type,e.memoizedProps.value);break;case 31:if(e.memoizedState!==null)return e.flags|=128,iu(e),null;break;case 13:var l=e.memoizedState;if(l!==null)return l.dehydrated!==null?(Pn(e),e.flags|=128,null):(a&e.child.childLanes)!==0?Km(t,e,a):(Pn(e),t=Sn(t,e,a),t!==null?t.sibling:null);Pn(e);break;case 19:var o=(t.flags&128)!==0;if(l=(a&e.childLanes)!==0,l||(ti(t,e,a,!1),l=(a&e.childLanes)!==0),o){if(l)return Zm(t,e,a);e.flags|=128}if(o=e.memoizedState,o!==null&&(o.rendering=null,o.tail=null,o.lastEffect=null),P(Yt,Yt.current),l)break;return null;case 22:return e.lanes=0,km(t,e,a,e.pendingProps);case 24:qn(e,Pt,t.memoizedState.cache)}return Sn(t,e,a)}function Fm(t,e,a){if(t!==null)if(t.memoizedProps!==e.pendingProps)Qt=!0;else{if(!ju(t,a)&&(e.flags&128)===0)return Qt=!1,sS(t,e,a);Qt=(t.flags&131072)!==0}else Qt=!1,gt&&(e.flags&1048576)!==0&&Dd(e,Ii,e.index);switch(e.lanes=0,e.tag){case 16:t:{var l=e.pendingProps;if(t=Ea(e.elementType),e.type=t,typeof t=="function")Uo(t)?(l=Da(t,l),e.tag=1,e=Gm(null,e,t,l,a)):(e.tag=0,e=wu(null,e,t,l,a));else{if(t!=null){var o=t.$$typeof;if(o===X){e.tag=11,e=Bm(null,e,t,l,a);break t}else if(o===$){e.tag=14,e=Um(null,e,t,l,a);break t}}throw e=Gt(t)||t,Error(r(306,e,""))}}return e;case 0:return wu(t,e,e.type,e.pendingProps,a);case 1:return l=e.type,o=Da(l,e.pendingProps),Gm(t,e,l,o,a);case 3:t:{if(ce(e,e.stateNode.containerInfo),t===null)throw Error(r(387));l=e.pendingProps;var c=e.memoizedState;o=c.element,Io(t,e),rl(e,l,null,a);var p=e.memoizedState;if(l=p.cache,qn(e,Pt,l),l!==c.cache&&Qo(e,[Pt],a,!0),sl(),l=p.element,c.isDehydrated)if(c={element:l,isDehydrated:!1,cache:p.cache},e.updateQueue.baseState=c,e.memoizedState=c,e.flags&256){e=Pm(t,e,l,a);break t}else if(l!==o){o=Be(Error(r(424)),e),tl(o),e=Pm(t,e,l,a);break t}else{switch(t=e.stateNode.containerInfo,t.nodeType){case 9:t=t.body;break;default:t=t.nodeName==="HTML"?t.ownerDocument.body:t}for(zt=Ye(t.firstChild),ae=e,gt=!0,Hn=null,ke=!0,a=kd(e,null,l,a),e.child=a;a;)a.flags=a.flags&-3|4096,a=a.sibling}else{if(ba(),l===o){e=Sn(t,e,a);break t}le(t,e,l,a)}e=e.child}return e;case 26:return Gs(t,e),t===null?(a=sy(e.type,null,e.pendingProps,null))?e.memoizedState=a:gt||(a=e.type,t=e.pendingProps,l=rr(ct.current).createElement(a),l[ne]=e,l[me]=t,se(l,a,t),It(l),e.stateNode=l):e.memoizedState=sy(e.type,t.memoizedProps,e.pendingProps,t.memoizedState),null;case 27:return Ui(e),t===null&&gt&&(l=e.stateNode=ay(e.type,e.pendingProps,ct.current),ae=e,ke=!0,o=zt,ta(e.type)?(hc=o,zt=Ye(l.firstChild)):zt=o),le(t,e,e.pendingProps.children,a),Gs(t,e),t===null&&(e.flags|=4194304),e.child;case 5:return t===null&&gt&&((o=l=zt)&&(l=VS(l,e.type,e.pendingProps,ke),l!==null?(e.stateNode=l,ae=e,zt=Ye(l.firstChild),ke=!1,o=!0):o=!1),o||kn(e)),Ui(e),o=e.type,c=e.pendingProps,p=t!==null?t.memoizedProps:null,l=c.children,rc(o,c)?l=null:p!==null&&rc(o,p)&&(e.flags|=32),e.memoizedState!==null&&(o=su(t,e,$b,null,null,a),Dl._currentValue=o),Gs(t,e),le(t,e,l,a),e.child;case 6:return t===null&&gt&&((t=a=zt)&&(a=BS(a,e.pendingProps,ke),a!==null?(e.stateNode=a,ae=e,zt=null,t=!0):t=!1),t||kn(e)),null;case 13:return Km(t,e,a);case 4:return ce(e,e.stateNode.containerInfo),l=e.pendingProps,t===null?e.child=Ca(e,null,l,a):le(t,e,l,a),e.child;case 11:return Bm(t,e,e.type,e.pendingProps,a);case 7:return le(t,e,e.pendingProps,a),e.child;case 8:return le(t,e,e.pendingProps.children,a),e.child;case 12:return le(t,e,e.pendingProps.children,a),e.child;case 10:return l=e.pendingProps,qn(e,e.type,l.value),le(t,e,l.children,a),e.child;case 9:return o=e.type._context,l=e.pendingProps.children,xa(e),o=ie(o),l=l(o),e.flags|=1,le(t,e,l,a),e.child;case 14:return Um(t,e,e.type,e.pendingProps,a);case 15:return Hm(t,e,e.type,e.pendingProps,a);case 19:return Zm(t,e,a);case 31:return lS(t,e,a);case 22:return km(t,e,a,e.pendingProps);case 24:return xa(e),l=ie(Pt),t===null?(o=Jo(),o===null&&(o=Ot,c=Zo(),o.pooledCache=c,c.refCount++,c!==null&&(o.pooledCacheLanes|=a),o=c),e.memoizedState={parent:l,cache:o},Wo(e),qn(e,Pt,o)):((t.lanes&a)!==0&&(Io(t,e),rl(e,null,null,a),sl()),o=t.memoizedState,c=e.memoizedState,o.parent!==l?(o={parent:l,cache:l},e.memoizedState=o,e.lanes===0&&(e.memoizedState=e.updateQueue.baseState=o),qn(e,Pt,l)):(l=c.cache,qn(e,Pt,l),l!==o.cache&&Qo(e,[Pt],a,!0))),le(t,e,e.pendingProps.children,a),e.child;case 29:throw e.pendingProps}throw Error(r(156,e.tag))}function xn(t){t.flags|=4}function Nu(t,e,a,l,o){if((e=(t.mode&32)!==0)&&(e=!1),e){if(t.flags|=16777216,(o&335544128)===o)if(t.stateNode.complete)t.flags|=8192;else if(Tp())t.flags|=8192;else throw Aa=Rs,$o}else t.flags&=-16777217}function Jm(t,e){if(e.type!=="stylesheet"||(e.state.loading&4)!==0)t.flags&=-16777217;else if(t.flags|=16777216,!fy(e))if(Tp())t.flags|=8192;else throw Aa=Rs,$o}function Ks(t,e){e!==null&&(t.flags|=4),t.flags&16384&&(e=t.tag!==22?Rh():536870912,t.lanes|=e,hi|=e)}function dl(t,e){if(!gt)switch(t.tailMode){case"hidden":e=t.tail;for(var a=null;e!==null;)e.alternate!==null&&(a=e),e=e.sibling;a===null?t.tail=null:a.sibling=null;break;case"collapsed":a=t.tail;for(var l=null;a!==null;)a.alternate!==null&&(l=a),a=a.sibling;l===null?e||t.tail===null?t.tail=null:t.tail.sibling=null:l.sibling=null}}function jt(t){var e=t.alternate!==null&&t.alternate.child===t.child,a=0,l=0;if(e)for(var o=t.child;o!==null;)a|=o.lanes|o.childLanes,l|=o.subtreeFlags&65011712,l|=o.flags&65011712,o.return=t,o=o.sibling;else for(o=t.child;o!==null;)a|=o.lanes|o.childLanes,l|=o.subtreeFlags,l|=o.flags,o.return=t,o=o.sibling;return t.subtreeFlags|=l,t.childLanes=a,e}function rS(t,e,a){var l=e.pendingProps;switch(Yo(e),e.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return jt(e),null;case 1:return jt(e),null;case 3:return a=e.stateNode,l=null,t!==null&&(l=t.memoizedState.cache),e.memoizedState.cache!==l&&(e.flags|=2048),gn(Pt),qt(),a.pendingContext&&(a.context=a.pendingContext,a.pendingContext=null),(t===null||t.child===null)&&(Ia(e)?xn(e):t===null||t.memoizedState.isDehydrated&&(e.flags&256)===0||(e.flags|=1024,Go())),jt(e),null;case 26:var o=e.type,c=e.memoizedState;return t===null?(xn(e),c!==null?(jt(e),Jm(e,c)):(jt(e),Nu(e,o,null,l,a))):c?c!==t.memoizedState?(xn(e),jt(e),Jm(e,c)):(jt(e),e.flags&=-16777217):(t=t.memoizedProps,t!==l&&xn(e),jt(e),Nu(e,o,t,l,a)),null;case 27:if(as(e),a=ct.current,o=e.type,t!==null&&e.stateNode!=null)t.memoizedProps!==l&&xn(e);else{if(!l){if(e.stateNode===null)throw Error(r(166));return jt(e),null}t=J.current,Ia(e)?Rd(e):(t=ay(o,l,a),e.stateNode=t,xn(e))}return jt(e),null;case 5:if(as(e),o=e.type,t!==null&&e.stateNode!=null)t.memoizedProps!==l&&xn(e);else{if(!l){if(e.stateNode===null)throw Error(r(166));return jt(e),null}if(c=J.current,Ia(e))Rd(e);else{var p=rr(ct.current);switch(c){case 1:c=p.createElementNS("http://www.w3.org/2000/svg",o);break;case 2:c=p.createElementNS("http://www.w3.org/1998/Math/MathML",o);break;default:switch(o){case"svg":c=p.createElementNS("http://www.w3.org/2000/svg",o);break;case"math":c=p.createElementNS("http://www.w3.org/1998/Math/MathML",o);break;case"script":c=p.createElement("div"),c.innerHTML="<script><\/script>",c=c.removeChild(c.firstChild);break;case"select":c=typeof l.is=="string"?p.createElement("select",{is:l.is}):p.createElement("select"),l.multiple?c.multiple=!0:l.size&&(c.size=l.size);break;default:c=typeof l.is=="string"?p.createElement(o,{is:l.is}):p.createElement(o)}}c[ne]=e,c[me]=l;t:for(p=e.child;p!==null;){if(p.tag===5||p.tag===6)c.appendChild(p.stateNode);else if(p.tag!==4&&p.tag!==27&&p.child!==null){p.child.return=p,p=p.child;continue}if(p===e)break t;for(;p.sibling===null;){if(p.return===null||p.return===e)break t;p=p.return}p.sibling.return=p.return,p=p.sibling}e.stateNode=c;t:switch(se(c,o,l),o){case"button":case"input":case"select":case"textarea":l=!!l.autoFocus;break t;case"img":l=!0;break t;default:l=!1}l&&xn(e)}}return jt(e),Nu(e,e.type,t===null?null:t.memoizedProps,e.pendingProps,a),null;case 6:if(t&&e.stateNode!=null)t.memoizedProps!==l&&xn(e);else{if(typeof l!="string"&&e.stateNode===null)throw Error(r(166));if(t=ct.current,Ia(e)){if(t=e.stateNode,a=e.memoizedProps,l=null,o=ae,o!==null)switch(o.tag){case 27:case 5:l=o.memoizedProps}t[ne]=e,t=!!(t.nodeValue===a||l!==null&&l.suppressHydrationWarning===!0||Kp(t.nodeValue,a)),t||kn(e,!0)}else t=rr(t).createTextNode(l),t[ne]=e,e.stateNode=t}return jt(e),null;case 31:if(a=e.memoizedState,t===null||t.memoizedState!==null){if(l=Ia(e),a!==null){if(t===null){if(!l)throw Error(r(318));if(t=e.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(r(557));t[ne]=e}else ba(),(e.flags&128)===0&&(e.memoizedState=null),e.flags|=4;jt(e),t=!1}else a=Go(),t!==null&&t.memoizedState!==null&&(t.memoizedState.hydrationErrors=a),t=!0;if(!t)return e.flags&256?(Me(e),e):(Me(e),null);if((e.flags&128)!==0)throw Error(r(558))}return jt(e),null;case 13:if(l=e.memoizedState,t===null||t.memoizedState!==null&&t.memoizedState.dehydrated!==null){if(o=Ia(e),l!==null&&l.dehydrated!==null){if(t===null){if(!o)throw Error(r(318));if(o=e.memoizedState,o=o!==null?o.dehydrated:null,!o)throw Error(r(317));o[ne]=e}else ba(),(e.flags&128)===0&&(e.memoizedState=null),e.flags|=4;jt(e),o=!1}else o=Go(),t!==null&&t.memoizedState!==null&&(t.memoizedState.hydrationErrors=o),o=!0;if(!o)return e.flags&256?(Me(e),e):(Me(e),null)}return Me(e),(e.flags&128)!==0?(e.lanes=a,e):(a=l!==null,t=t!==null&&t.memoizedState!==null,a&&(l=e.child,o=null,l.alternate!==null&&l.alternate.memoizedState!==null&&l.alternate.memoizedState.cachePool!==null&&(o=l.alternate.memoizedState.cachePool.pool),c=null,l.memoizedState!==null&&l.memoizedState.cachePool!==null&&(c=l.memoizedState.cachePool.pool),c!==o&&(l.flags|=2048)),a!==t&&a&&(e.child.flags|=8192),Ks(e,e.updateQueue),jt(e),null);case 4:return qt(),t===null&&nc(e.stateNode.containerInfo),jt(e),null;case 10:return gn(e.type),jt(e),null;case 19:if(Y(Yt),l=e.memoizedState,l===null)return jt(e),null;if(o=(e.flags&128)!==0,c=l.rendering,c===null)if(o)dl(l,!1);else{if(Ut!==0||t!==null&&(t.flags&128)!==0)for(t=e.child;t!==null;){if(c=js(t),c!==null){for(e.flags|=128,dl(l,!1),t=c.updateQueue,e.updateQueue=t,Ks(e,t),e.subtreeFlags=0,t=a,a=e.child;a!==null;)Ad(a,t),a=a.sibling;return P(Yt,Yt.current&1|2),gt&&pn(e,l.treeForkCount),e.child}t=t.sibling}l.tail!==null&&Te()>$s&&(e.flags|=128,o=!0,dl(l,!1),e.lanes=4194304)}else{if(!o)if(t=js(c),t!==null){if(e.flags|=128,o=!0,t=t.updateQueue,e.updateQueue=t,Ks(e,t),dl(l,!0),l.tail===null&&l.tailMode==="hidden"&&!c.alternate&&!gt)return jt(e),null}else 2*Te()-l.renderingStartTime>$s&&a!==536870912&&(e.flags|=128,o=!0,dl(l,!1),e.lanes=4194304);l.isBackwards?(c.sibling=e.child,e.child=c):(t=l.last,t!==null?t.sibling=c:e.child=c,l.last=c)}return l.tail!==null?(t=l.tail,l.rendering=t,l.tail=t.sibling,l.renderingStartTime=Te(),t.sibling=null,a=Yt.current,P(Yt,o?a&1|2:a&1),gt&&pn(e,l.treeForkCount),t):(jt(e),null);case 22:case 23:return Me(e),au(),l=e.memoizedState!==null,t!==null?t.memoizedState!==null!==l&&(e.flags|=8192):l&&(e.flags|=8192),l?(a&536870912)!==0&&(e.flags&128)===0&&(jt(e),e.subtreeFlags&6&&(e.flags|=8192)):jt(e),a=e.updateQueue,a!==null&&Ks(e,a.retryQueue),a=null,t!==null&&t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(a=t.memoizedState.cachePool.pool),l=null,e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(l=e.memoizedState.cachePool.pool),l!==a&&(e.flags|=2048),t!==null&&Y(Ta),null;case 24:return a=null,t!==null&&(a=t.memoizedState.cache),e.memoizedState.cache!==a&&(e.flags|=2048),gn(Pt),jt(e),null;case 25:return null;case 30:return null}throw Error(r(156,e.tag))}function oS(t,e){switch(Yo(e),e.tag){case 1:return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 3:return gn(Pt),qt(),t=e.flags,(t&65536)!==0&&(t&128)===0?(e.flags=t&-65537|128,e):null;case 26:case 27:case 5:return as(e),null;case 31:if(e.memoizedState!==null){if(Me(e),e.alternate===null)throw Error(r(340));ba()}return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 13:if(Me(e),t=e.memoizedState,t!==null&&t.dehydrated!==null){if(e.alternate===null)throw Error(r(340));ba()}return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 19:return Y(Yt),null;case 4:return qt(),null;case 10:return gn(e.type),null;case 22:case 23:return Me(e),au(),t!==null&&Y(Ta),t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 24:return gn(Pt),null;case 25:return null;default:return null}}function $m(t,e){switch(Yo(e),e.tag){case 3:gn(Pt),qt();break;case 26:case 27:case 5:as(e);break;case 4:qt();break;case 31:e.memoizedState!==null&&Me(e);break;case 13:Me(e);break;case 19:Y(Yt);break;case 10:gn(e.type);break;case 22:case 23:Me(e),au(),t!==null&&Y(Ta);break;case 24:gn(Pt)}}function ml(t,e){try{var a=e.updateQueue,l=a!==null?a.lastEffect:null;if(l!==null){var o=l.next;a=o;do{if((a.tag&t)===t){l=void 0;var c=a.create,p=a.inst;l=c(),p.destroy=l}a=a.next}while(a!==o)}}catch(b){wt(e,e.return,b)}}function Qn(t,e,a){try{var l=e.updateQueue,o=l!==null?l.lastEffect:null;if(o!==null){var c=o.next;l=c;do{if((l.tag&t)===t){var p=l.inst,b=p.destroy;if(b!==void 0){p.destroy=void 0,o=e;var E=a,z=b;try{z()}catch(H){wt(o,E,H)}}}l=l.next}while(l!==c)}}catch(H){wt(e,e.return,H)}}function Wm(t){var e=t.updateQueue;if(e!==null){var a=t.stateNode;try{Yd(e,a)}catch(l){wt(t,t.return,l)}}}function Im(t,e,a){a.props=Da(t.type,t.memoizedProps),a.state=t.memoizedState;try{a.componentWillUnmount()}catch(l){wt(t,e,l)}}function pl(t,e){try{var a=t.ref;if(a!==null){switch(t.tag){case 26:case 27:case 5:var l=t.stateNode;break;case 30:l=t.stateNode;break;default:l=t.stateNode}typeof a=="function"?t.refCleanup=a(l):a.current=l}}catch(o){wt(t,e,o)}}function sn(t,e){var a=t.ref,l=t.refCleanup;if(a!==null)if(typeof l=="function")try{l()}catch(o){wt(t,e,o)}finally{t.refCleanup=null,t=t.alternate,t!=null&&(t.refCleanup=null)}else if(typeof a=="function")try{a(null)}catch(o){wt(t,e,o)}else a.current=null}function tp(t){var e=t.type,a=t.memoizedProps,l=t.stateNode;try{t:switch(e){case"button":case"input":case"select":case"textarea":a.autoFocus&&l.focus();break t;case"img":a.src?l.src=a.src:a.srcSet&&(l.srcset=a.srcSet)}}catch(o){wt(t,t.return,o)}}function Lu(t,e,a){try{var l=t.stateNode;OS(l,t.type,a,e),l[me]=e}catch(o){wt(t,t.return,o)}}function ep(t){return t.tag===5||t.tag===3||t.tag===26||t.tag===27&&ta(t.type)||t.tag===4}function Vu(t){t:for(;;){for(;t.sibling===null;){if(t.return===null||ep(t.return))return null;t=t.return}for(t.sibling.return=t.return,t=t.sibling;t.tag!==5&&t.tag!==6&&t.tag!==18;){if(t.tag===27&&ta(t.type)||t.flags&2||t.child===null||t.tag===4)continue t;t.child.return=t,t=t.child}if(!(t.flags&2))return t.stateNode}}function Bu(t,e,a){var l=t.tag;if(l===5||l===6)t=t.stateNode,e?(a.nodeType===9?a.body:a.nodeName==="HTML"?a.ownerDocument.body:a).insertBefore(t,e):(e=a.nodeType===9?a.body:a.nodeName==="HTML"?a.ownerDocument.body:a,e.appendChild(t),a=a._reactRootContainer,a!=null||e.onclick!==null||(e.onclick=hn));else if(l!==4&&(l===27&&ta(t.type)&&(a=t.stateNode,e=null),t=t.child,t!==null))for(Bu(t,e,a),t=t.sibling;t!==null;)Bu(t,e,a),t=t.sibling}function Qs(t,e,a){var l=t.tag;if(l===5||l===6)t=t.stateNode,e?a.insertBefore(t,e):a.appendChild(t);else if(l!==4&&(l===27&&ta(t.type)&&(a=t.stateNode),t=t.child,t!==null))for(Qs(t,e,a),t=t.sibling;t!==null;)Qs(t,e,a),t=t.sibling}function np(t){var e=t.stateNode,a=t.memoizedProps;try{for(var l=t.type,o=e.attributes;o.length;)e.removeAttributeNode(o[0]);se(e,l,a),e[ne]=t,e[me]=a}catch(c){wt(t,t.return,c)}}var Tn=!1,Zt=!1,Uu=!1,ap=typeof WeakSet=="function"?WeakSet:Set,te=null;function uS(t,e){if(t=t.containerInfo,lc=mr,t=pd(t),_o(t)){if("selectionStart"in t)var a={start:t.selectionStart,end:t.selectionEnd};else t:{a=(a=t.ownerDocument)&&a.defaultView||window;var l=a.getSelection&&a.getSelection();if(l&&l.rangeCount!==0){a=l.anchorNode;var o=l.anchorOffset,c=l.focusNode;l=l.focusOffset;try{a.nodeType,c.nodeType}catch{a=null;break t}var p=0,b=-1,E=-1,z=0,H=0,q=t,N=null;e:for(;;){for(var V;q!==a||o!==0&&q.nodeType!==3||(b=p+o),q!==c||l!==0&&q.nodeType!==3||(E=p+l),q.nodeType===3&&(p+=q.nodeValue.length),(V=q.firstChild)!==null;)N=q,q=V;for(;;){if(q===t)break e;if(N===a&&++z===o&&(b=p),N===c&&++H===l&&(E=p),(V=q.nextSibling)!==null)break;q=N,N=q.parentNode}q=V}a=b===-1||E===-1?null:{start:b,end:E}}else a=null}a=a||{start:0,end:0}}else a=null;for(sc={focusedElem:t,selectionRange:a},mr=!1,te=e;te!==null;)if(e=te,t=e.child,(e.subtreeFlags&1028)!==0&&t!==null)t.return=e,te=t;else for(;te!==null;){switch(e=te,c=e.alternate,t=e.flags,e.tag){case 0:if((t&4)!==0&&(t=e.updateQueue,t=t!==null?t.events:null,t!==null))for(a=0;a<t.length;a++)o=t[a],o.ref.impl=o.nextImpl;break;case 11:case 15:break;case 1:if((t&1024)!==0&&c!==null){t=void 0,a=e,o=c.memoizedProps,c=c.memoizedState,l=a.stateNode;try{var Z=Da(a.type,o);t=l.getSnapshotBeforeUpdate(Z,c),l.__reactInternalSnapshotBeforeUpdate=t}catch(nt){wt(a,a.return,nt)}}break;case 3:if((t&1024)!==0){if(t=e.stateNode.containerInfo,a=t.nodeType,a===9)uc(t);else if(a===1)switch(t.nodeName){case"HEAD":case"HTML":case"BODY":uc(t);break;default:t.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((t&1024)!==0)throw Error(r(163))}if(t=e.sibling,t!==null){t.return=e.return,te=t;break}te=e.return}}function ip(t,e,a){var l=a.flags;switch(a.tag){case 0:case 11:case 15:An(t,a),l&4&&ml(5,a);break;case 1:if(An(t,a),l&4)if(t=a.stateNode,e===null)try{t.componentDidMount()}catch(p){wt(a,a.return,p)}else{var o=Da(a.type,e.memoizedProps);e=e.memoizedState;try{t.componentDidUpdate(o,e,t.__reactInternalSnapshotBeforeUpdate)}catch(p){wt(a,a.return,p)}}l&64&&Wm(a),l&512&&pl(a,a.return);break;case 3:if(An(t,a),l&64&&(t=a.updateQueue,t!==null)){if(e=null,a.child!==null)switch(a.child.tag){case 27:case 5:e=a.child.stateNode;break;case 1:e=a.child.stateNode}try{Yd(t,e)}catch(p){wt(a,a.return,p)}}break;case 27:e===null&&l&4&&np(a);case 26:case 5:An(t,a),e===null&&l&4&&tp(a),l&512&&pl(a,a.return);break;case 12:An(t,a);break;case 31:An(t,a),l&4&&rp(t,a);break;case 13:An(t,a),l&4&&op(t,a),l&64&&(t=a.memoizedState,t!==null&&(t=t.dehydrated,t!==null&&(a=vS.bind(null,a),US(t,a))));break;case 22:if(l=a.memoizedState!==null||Tn,!l){e=e!==null&&e.memoizedState!==null||Zt,o=Tn;var c=Zt;Tn=l,(Zt=e)&&!c?Cn(t,a,(a.subtreeFlags&8772)!==0):An(t,a),Tn=o,Zt=c}break;case 30:break;default:An(t,a)}}function lp(t){var e=t.alternate;e!==null&&(t.alternate=null,lp(e)),t.child=null,t.deletions=null,t.sibling=null,t.tag===5&&(e=t.stateNode,e!==null&&mo(e)),t.stateNode=null,t.return=null,t.dependencies=null,t.memoizedProps=null,t.memoizedState=null,t.pendingProps=null,t.stateNode=null,t.updateQueue=null}var Lt=null,ye=!1;function En(t,e,a){for(a=a.child;a!==null;)sp(t,e,a),a=a.sibling}function sp(t,e,a){if(Ee&&typeof Ee.onCommitFiberUnmount=="function")try{Ee.onCommitFiberUnmount(Hi,a)}catch{}switch(a.tag){case 26:Zt||sn(a,e),En(t,e,a),a.memoizedState?a.memoizedState.count--:a.stateNode&&(a=a.stateNode,a.parentNode.removeChild(a));break;case 27:Zt||sn(a,e);var l=Lt,o=ye;ta(a.type)&&(Lt=a.stateNode,ye=!1),En(t,e,a),Al(a.stateNode),Lt=l,ye=o;break;case 5:Zt||sn(a,e);case 6:if(l=Lt,o=ye,Lt=null,En(t,e,a),Lt=l,ye=o,Lt!==null)if(ye)try{(Lt.nodeType===9?Lt.body:Lt.nodeName==="HTML"?Lt.ownerDocument.body:Lt).removeChild(a.stateNode)}catch(c){wt(a,e,c)}else try{Lt.removeChild(a.stateNode)}catch(c){wt(a,e,c)}break;case 18:Lt!==null&&(ye?(t=Lt,Wp(t.nodeType===9?t.body:t.nodeName==="HTML"?t.ownerDocument.body:t,a.stateNode),Si(t)):Wp(Lt,a.stateNode));break;case 4:l=Lt,o=ye,Lt=a.stateNode.containerInfo,ye=!0,En(t,e,a),Lt=l,ye=o;break;case 0:case 11:case 14:case 15:Qn(2,a,e),Zt||Qn(4,a,e),En(t,e,a);break;case 1:Zt||(sn(a,e),l=a.stateNode,typeof l.componentWillUnmount=="function"&&Im(a,e,l)),En(t,e,a);break;case 21:En(t,e,a);break;case 22:Zt=(l=Zt)||a.memoizedState!==null,En(t,e,a),Zt=l;break;default:En(t,e,a)}}function rp(t,e){if(e.memoizedState===null&&(t=e.alternate,t!==null&&(t=t.memoizedState,t!==null))){t=t.dehydrated;try{Si(t)}catch(a){wt(e,e.return,a)}}}function op(t,e){if(e.memoizedState===null&&(t=e.alternate,t!==null&&(t=t.memoizedState,t!==null&&(t=t.dehydrated,t!==null))))try{Si(t)}catch(a){wt(e,e.return,a)}}function cS(t){switch(t.tag){case 31:case 13:case 19:var e=t.stateNode;return e===null&&(e=t.stateNode=new ap),e;case 22:return t=t.stateNode,e=t._retryCache,e===null&&(e=t._retryCache=new ap),e;default:throw Error(r(435,t.tag))}}function Zs(t,e){var a=cS(t);e.forEach(function(l){if(!a.has(l)){a.add(l);var o=bS.bind(null,t,l);l.then(o,o)}})}function ge(t,e){var a=e.deletions;if(a!==null)for(var l=0;l<a.length;l++){var o=a[l],c=t,p=e,b=p;t:for(;b!==null;){switch(b.tag){case 27:if(ta(b.type)){Lt=b.stateNode,ye=!1;break t}break;case 5:Lt=b.stateNode,ye=!1;break t;case 3:case 4:Lt=b.stateNode.containerInfo,ye=!0;break t}b=b.return}if(Lt===null)throw Error(r(160));sp(c,p,o),Lt=null,ye=!1,c=o.alternate,c!==null&&(c.return=null),o.return=null}if(e.subtreeFlags&13886)for(e=e.child;e!==null;)up(e,t),e=e.sibling}var Ze=null;function up(t,e){var a=t.alternate,l=t.flags;switch(t.tag){case 0:case 11:case 14:case 15:ge(e,t),ve(t),l&4&&(Qn(3,t,t.return),ml(3,t),Qn(5,t,t.return));break;case 1:ge(e,t),ve(t),l&512&&(Zt||a===null||sn(a,a.return)),l&64&&Tn&&(t=t.updateQueue,t!==null&&(l=t.callbacks,l!==null&&(a=t.shared.hiddenCallbacks,t.shared.hiddenCallbacks=a===null?l:a.concat(l))));break;case 26:var o=Ze;if(ge(e,t),ve(t),l&512&&(Zt||a===null||sn(a,a.return)),l&4){var c=a!==null?a.memoizedState:null;if(l=t.memoizedState,a===null)if(l===null)if(t.stateNode===null){t:{l=t.type,a=t.memoizedProps,o=o.ownerDocument||o;e:switch(l){case"title":c=o.getElementsByTagName("title")[0],(!c||c[Yi]||c[ne]||c.namespaceURI==="http://www.w3.org/2000/svg"||c.hasAttribute("itemprop"))&&(c=o.createElement(l),o.head.insertBefore(c,o.querySelector("head > title"))),se(c,l,a),c[ne]=t,It(c),l=c;break t;case"link":var p=uy("link","href",o).get(l+(a.href||""));if(p){for(var b=0;b<p.length;b++)if(c=p[b],c.getAttribute("href")===(a.href==null||a.href===""?null:a.href)&&c.getAttribute("rel")===(a.rel==null?null:a.rel)&&c.getAttribute("title")===(a.title==null?null:a.title)&&c.getAttribute("crossorigin")===(a.crossOrigin==null?null:a.crossOrigin)){p.splice(b,1);break e}}c=o.createElement(l),se(c,l,a),o.head.appendChild(c);break;case"meta":if(p=uy("meta","content",o).get(l+(a.content||""))){for(b=0;b<p.length;b++)if(c=p[b],c.getAttribute("content")===(a.content==null?null:""+a.content)&&c.getAttribute("name")===(a.name==null?null:a.name)&&c.getAttribute("property")===(a.property==null?null:a.property)&&c.getAttribute("http-equiv")===(a.httpEquiv==null?null:a.httpEquiv)&&c.getAttribute("charset")===(a.charSet==null?null:a.charSet)){p.splice(b,1);break e}}c=o.createElement(l),se(c,l,a),o.head.appendChild(c);break;default:throw Error(r(468,l))}c[ne]=t,It(c),l=c}t.stateNode=l}else cy(o,t.type,t.stateNode);else t.stateNode=oy(o,l,t.memoizedProps);else c!==l?(c===null?a.stateNode!==null&&(a=a.stateNode,a.parentNode.removeChild(a)):c.count--,l===null?cy(o,t.type,t.stateNode):oy(o,l,t.memoizedProps)):l===null&&t.stateNode!==null&&Lu(t,t.memoizedProps,a.memoizedProps)}break;case 27:ge(e,t),ve(t),l&512&&(Zt||a===null||sn(a,a.return)),a!==null&&l&4&&Lu(t,t.memoizedProps,a.memoizedProps);break;case 5:if(ge(e,t),ve(t),l&512&&(Zt||a===null||sn(a,a.return)),t.flags&32){o=t.stateNode;try{Xa(o,"")}catch(Z){wt(t,t.return,Z)}}l&4&&t.stateNode!=null&&(o=t.memoizedProps,Lu(t,o,a!==null?a.memoizedProps:o)),l&1024&&(Uu=!0);break;case 6:if(ge(e,t),ve(t),l&4){if(t.stateNode===null)throw Error(r(162));l=t.memoizedProps,a=t.stateNode;try{a.nodeValue=l}catch(Z){wt(t,t.return,Z)}}break;case 3:if(cr=null,o=Ze,Ze=or(e.containerInfo),ge(e,t),Ze=o,ve(t),l&4&&a!==null&&a.memoizedState.isDehydrated)try{Si(e.containerInfo)}catch(Z){wt(t,t.return,Z)}Uu&&(Uu=!1,cp(t));break;case 4:l=Ze,Ze=or(t.stateNode.containerInfo),ge(e,t),ve(t),Ze=l;break;case 12:ge(e,t),ve(t);break;case 31:ge(e,t),ve(t),l&4&&(l=t.updateQueue,l!==null&&(t.updateQueue=null,Zs(t,l)));break;case 13:ge(e,t),ve(t),t.child.flags&8192&&t.memoizedState!==null!=(a!==null&&a.memoizedState!==null)&&(Js=Te()),l&4&&(l=t.updateQueue,l!==null&&(t.updateQueue=null,Zs(t,l)));break;case 22:o=t.memoizedState!==null;var E=a!==null&&a.memoizedState!==null,z=Tn,H=Zt;if(Tn=z||o,Zt=H||E,ge(e,t),Zt=H,Tn=z,ve(t),l&8192)t:for(e=t.stateNode,e._visibility=o?e._visibility&-2:e._visibility|1,o&&(a===null||E||Tn||Zt||Ma(t)),a=null,e=t;;){if(e.tag===5||e.tag===26){if(a===null){E=a=e;try{if(c=E.stateNode,o)p=c.style,typeof p.setProperty=="function"?p.setProperty("display","none","important"):p.display="none";else{b=E.stateNode;var q=E.memoizedProps.style,N=q!=null&&q.hasOwnProperty("display")?q.display:null;b.style.display=N==null||typeof N=="boolean"?"":(""+N).trim()}}catch(Z){wt(E,E.return,Z)}}}else if(e.tag===6){if(a===null){E=e;try{E.stateNode.nodeValue=o?"":E.memoizedProps}catch(Z){wt(E,E.return,Z)}}}else if(e.tag===18){if(a===null){E=e;try{var V=E.stateNode;o?Ip(V,!0):Ip(E.stateNode,!1)}catch(Z){wt(E,E.return,Z)}}}else if((e.tag!==22&&e.tag!==23||e.memoizedState===null||e===t)&&e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break t;for(;e.sibling===null;){if(e.return===null||e.return===t)break t;a===e&&(a=null),e=e.return}a===e&&(a=null),e.sibling.return=e.return,e=e.sibling}l&4&&(l=t.updateQueue,l!==null&&(a=l.retryQueue,a!==null&&(l.retryQueue=null,Zs(t,a))));break;case 19:ge(e,t),ve(t),l&4&&(l=t.updateQueue,l!==null&&(t.updateQueue=null,Zs(t,l)));break;case 30:break;case 21:break;default:ge(e,t),ve(t)}}function ve(t){var e=t.flags;if(e&2){try{for(var a,l=t.return;l!==null;){if(ep(l)){a=l;break}l=l.return}if(a==null)throw Error(r(160));switch(a.tag){case 27:var o=a.stateNode,c=Vu(t);Qs(t,c,o);break;case 5:var p=a.stateNode;a.flags&32&&(Xa(p,""),a.flags&=-33);var b=Vu(t);Qs(t,b,p);break;case 3:case 4:var E=a.stateNode.containerInfo,z=Vu(t);Bu(t,z,E);break;default:throw Error(r(161))}}catch(H){wt(t,t.return,H)}t.flags&=-3}e&4096&&(t.flags&=-4097)}function cp(t){if(t.subtreeFlags&1024)for(t=t.child;t!==null;){var e=t;cp(e),e.tag===5&&e.flags&1024&&e.stateNode.reset(),t=t.sibling}}function An(t,e){if(e.subtreeFlags&8772)for(e=e.child;e!==null;)ip(t,e.alternate,e),e=e.sibling}function Ma(t){for(t=t.child;t!==null;){var e=t;switch(e.tag){case 0:case 11:case 14:case 15:Qn(4,e,e.return),Ma(e);break;case 1:sn(e,e.return);var a=e.stateNode;typeof a.componentWillUnmount=="function"&&Im(e,e.return,a),Ma(e);break;case 27:Al(e.stateNode);case 26:case 5:sn(e,e.return),Ma(e);break;case 22:e.memoizedState===null&&Ma(e);break;case 30:Ma(e);break;default:Ma(e)}t=t.sibling}}function Cn(t,e,a){for(a=a&&(e.subtreeFlags&8772)!==0,e=e.child;e!==null;){var l=e.alternate,o=t,c=e,p=c.flags;switch(c.tag){case 0:case 11:case 15:Cn(o,c,a),ml(4,c);break;case 1:if(Cn(o,c,a),l=c,o=l.stateNode,typeof o.componentDidMount=="function")try{o.componentDidMount()}catch(z){wt(l,l.return,z)}if(l=c,o=l.updateQueue,o!==null){var b=l.stateNode;try{var E=o.shared.hiddenCallbacks;if(E!==null)for(o.shared.hiddenCallbacks=null,o=0;o<E.length;o++)qd(E[o],b)}catch(z){wt(l,l.return,z)}}a&&p&64&&Wm(c),pl(c,c.return);break;case 27:np(c);case 26:case 5:Cn(o,c,a),a&&l===null&&p&4&&tp(c),pl(c,c.return);break;case 12:Cn(o,c,a);break;case 31:Cn(o,c,a),a&&p&4&&rp(o,c);break;case 13:Cn(o,c,a),a&&p&4&&op(o,c);break;case 22:c.memoizedState===null&&Cn(o,c,a),pl(c,c.return);break;case 30:break;default:Cn(o,c,a)}e=e.sibling}}function Hu(t,e){var a=null;t!==null&&t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(a=t.memoizedState.cachePool.pool),t=null,e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(t=e.memoizedState.cachePool.pool),t!==a&&(t!=null&&t.refCount++,a!=null&&el(a))}function ku(t,e){t=null,e.alternate!==null&&(t=e.alternate.memoizedState.cache),e=e.memoizedState.cache,e!==t&&(e.refCount++,t!=null&&el(t))}function Fe(t,e,a,l){if(e.subtreeFlags&10256)for(e=e.child;e!==null;)fp(t,e,a,l),e=e.sibling}function fp(t,e,a,l){var o=e.flags;switch(e.tag){case 0:case 11:case 15:Fe(t,e,a,l),o&2048&&ml(9,e);break;case 1:Fe(t,e,a,l);break;case 3:Fe(t,e,a,l),o&2048&&(t=null,e.alternate!==null&&(t=e.alternate.memoizedState.cache),e=e.memoizedState.cache,e!==t&&(e.refCount++,t!=null&&el(t)));break;case 12:if(o&2048){Fe(t,e,a,l),t=e.stateNode;try{var c=e.memoizedProps,p=c.id,b=c.onPostCommit;typeof b=="function"&&b(p,e.alternate===null?"mount":"update",t.passiveEffectDuration,-0)}catch(E){wt(e,e.return,E)}}else Fe(t,e,a,l);break;case 31:Fe(t,e,a,l);break;case 13:Fe(t,e,a,l);break;case 23:break;case 22:c=e.stateNode,p=e.alternate,e.memoizedState!==null?c._visibility&2?Fe(t,e,a,l):yl(t,e):c._visibility&2?Fe(t,e,a,l):(c._visibility|=2,ui(t,e,a,l,(e.subtreeFlags&10256)!==0||!1)),o&2048&&Hu(p,e);break;case 24:Fe(t,e,a,l),o&2048&&ku(e.alternate,e);break;default:Fe(t,e,a,l)}}function ui(t,e,a,l,o){for(o=o&&((e.subtreeFlags&10256)!==0||!1),e=e.child;e!==null;){var c=t,p=e,b=a,E=l,z=p.flags;switch(p.tag){case 0:case 11:case 15:ui(c,p,b,E,o),ml(8,p);break;case 23:break;case 22:var H=p.stateNode;p.memoizedState!==null?H._visibility&2?ui(c,p,b,E,o):yl(c,p):(H._visibility|=2,ui(c,p,b,E,o)),o&&z&2048&&Hu(p.alternate,p);break;case 24:ui(c,p,b,E,o),o&&z&2048&&ku(p.alternate,p);break;default:ui(c,p,b,E,o)}e=e.sibling}}function yl(t,e){if(e.subtreeFlags&10256)for(e=e.child;e!==null;){var a=t,l=e,o=l.flags;switch(l.tag){case 22:yl(a,l),o&2048&&Hu(l.alternate,l);break;case 24:yl(a,l),o&2048&&ku(l.alternate,l);break;default:yl(a,l)}e=e.sibling}}var gl=8192;function ci(t,e,a){if(t.subtreeFlags&gl)for(t=t.child;t!==null;)hp(t,e,a),t=t.sibling}function hp(t,e,a){switch(t.tag){case 26:ci(t,e,a),t.flags&gl&&t.memoizedState!==null&&JS(a,Ze,t.memoizedState,t.memoizedProps);break;case 5:ci(t,e,a);break;case 3:case 4:var l=Ze;Ze=or(t.stateNode.containerInfo),ci(t,e,a),Ze=l;break;case 22:t.memoizedState===null&&(l=t.alternate,l!==null&&l.memoizedState!==null?(l=gl,gl=16777216,ci(t,e,a),gl=l):ci(t,e,a));break;default:ci(t,e,a)}}function dp(t){var e=t.alternate;if(e!==null&&(t=e.child,t!==null)){e.child=null;do e=t.sibling,t.sibling=null,t=e;while(t!==null)}}function vl(t){var e=t.deletions;if((t.flags&16)!==0){if(e!==null)for(var a=0;a<e.length;a++){var l=e[a];te=l,pp(l,t)}dp(t)}if(t.subtreeFlags&10256)for(t=t.child;t!==null;)mp(t),t=t.sibling}function mp(t){switch(t.tag){case 0:case 11:case 15:vl(t),t.flags&2048&&Qn(9,t,t.return);break;case 3:vl(t);break;case 12:vl(t);break;case 22:var e=t.stateNode;t.memoizedState!==null&&e._visibility&2&&(t.return===null||t.return.tag!==13)?(e._visibility&=-3,Fs(t)):vl(t);break;default:vl(t)}}function Fs(t){var e=t.deletions;if((t.flags&16)!==0){if(e!==null)for(var a=0;a<e.length;a++){var l=e[a];te=l,pp(l,t)}dp(t)}for(t=t.child;t!==null;){switch(e=t,e.tag){case 0:case 11:case 15:Qn(8,e,e.return),Fs(e);break;case 22:a=e.stateNode,a._visibility&2&&(a._visibility&=-3,Fs(e));break;default:Fs(e)}t=t.sibling}}function pp(t,e){for(;te!==null;){var a=te;switch(a.tag){case 0:case 11:case 15:Qn(8,a,e);break;case 23:case 22:if(a.memoizedState!==null&&a.memoizedState.cachePool!==null){var l=a.memoizedState.cachePool.pool;l!=null&&l.refCount++}break;case 24:el(a.memoizedState.cache)}if(l=a.child,l!==null)l.return=a,te=l;else t:for(a=t;te!==null;){l=te;var o=l.sibling,c=l.return;if(lp(l),l===a){te=null;break t}if(o!==null){o.return=c,te=o;break t}te=c}}}var fS={getCacheForType:function(t){var e=ie(Pt),a=e.data.get(t);return a===void 0&&(a=t(),e.data.set(t,a)),a},cacheSignal:function(){return ie(Pt).controller.signal}},hS=typeof WeakMap=="function"?WeakMap:Map,Tt=0,Ot=null,ft=null,mt=0,Ct=0,Re=null,Zn=!1,fi=!1,qu=!1,wn=0,Ut=0,Fn=0,Ra=0,Yu=0,Oe=0,hi=0,bl=null,be=null,Xu=!1,Js=0,yp=0,$s=1/0,Ws=null,Jn=null,Jt=0,$n=null,di=null,Dn=0,Gu=0,Pu=null,gp=null,Sl=0,Ku=null;function _e(){return(Tt&2)!==0&&mt!==0?mt&-mt:U.T!==null?Wu():jh()}function vp(){if(Oe===0)if((mt&536870912)===0||gt){var t=ss;ss<<=1,(ss&3932160)===0&&(ss=262144),Oe=t}else Oe=536870912;return t=De.current,t!==null&&(t.flags|=32),Oe}function Se(t,e,a){(t===Ot&&(Ct===2||Ct===9)||t.cancelPendingCommit!==null)&&(mi(t,0),Wn(t,mt,Oe,!1)),qi(t,a),((Tt&2)===0||t!==Ot)&&(t===Ot&&((Tt&2)===0&&(Ra|=a),Ut===4&&Wn(t,mt,Oe,!1)),rn(t))}function bp(t,e,a){if((Tt&6)!==0)throw Error(r(327));var l=!a&&(e&127)===0&&(e&t.expiredLanes)===0||ki(t,e),o=l?pS(t,e):Zu(t,e,!0),c=l;do{if(o===0){fi&&!l&&Wn(t,e,0,!1);break}else{if(a=t.current.alternate,c&&!dS(a)){o=Zu(t,e,!1),c=!1;continue}if(o===2){if(c=e,t.errorRecoveryDisabledLanes&c)var p=0;else p=t.pendingLanes&-536870913,p=p!==0?p:p&536870912?536870912:0;if(p!==0){e=p;t:{var b=t;o=bl;var E=b.current.memoizedState.isDehydrated;if(E&&(mi(b,p).flags|=256),p=Zu(b,p,!1),p!==2){if(qu&&!E){b.errorRecoveryDisabledLanes|=c,Ra|=c,o=4;break t}c=be,be=o,c!==null&&(be===null?be=c:be.push.apply(be,c))}o=p}if(c=!1,o!==2)continue}}if(o===1){mi(t,0),Wn(t,e,0,!0);break}t:{switch(l=t,c=o,c){case 0:case 1:throw Error(r(345));case 4:if((e&4194048)!==e)break;case 6:Wn(l,e,Oe,!Zn);break t;case 2:be=null;break;case 3:case 5:break;default:throw Error(r(329))}if((e&62914560)===e&&(o=Js+300-Te(),10<o)){if(Wn(l,e,Oe,!Zn),os(l,0,!0)!==0)break t;Dn=e,l.timeoutHandle=Jp(Sp.bind(null,l,a,be,Ws,Xu,e,Oe,Ra,hi,Zn,c,"Throttled",-0,0),o);break t}Sp(l,a,be,Ws,Xu,e,Oe,Ra,hi,Zn,c,null,-0,0)}}break}while(!0);rn(t)}function Sp(t,e,a,l,o,c,p,b,E,z,H,q,N,V){if(t.timeoutHandle=-1,q=e.subtreeFlags,q&8192||(q&16785408)===16785408){q={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:hn},hp(e,c,q);var Z=(c&62914560)===c?Js-Te():(c&4194048)===c?yp-Te():0;if(Z=$S(q,Z),Z!==null){Dn=c,t.cancelPendingCommit=Z(Mp.bind(null,t,e,c,a,l,o,p,b,E,H,q,null,N,V)),Wn(t,c,p,!z);return}}Mp(t,e,c,a,l,o,p,b,E)}function dS(t){for(var e=t;;){var a=e.tag;if((a===0||a===11||a===15)&&e.flags&16384&&(a=e.updateQueue,a!==null&&(a=a.stores,a!==null)))for(var l=0;l<a.length;l++){var o=a[l],c=o.getSnapshot;o=o.value;try{if(!Ce(c(),o))return!1}catch{return!1}}if(a=e.child,e.subtreeFlags&16384&&a!==null)a.return=e,e=a;else{if(e===t)break;for(;e.sibling===null;){if(e.return===null||e.return===t)return!0;e=e.return}e.sibling.return=e.return,e=e.sibling}}return!0}function Wn(t,e,a,l){e&=~Yu,e&=~Ra,t.suspendedLanes|=e,t.pingedLanes&=~e,l&&(t.warmLanes|=e),l=t.expirationTimes;for(var o=e;0<o;){var c=31-Ae(o),p=1<<c;l[c]=-1,o&=~p}a!==0&&Oh(t,a,e)}function Is(){return(Tt&6)===0?(xl(0),!1):!0}function Qu(){if(ft!==null){if(Ct===0)var t=ft.return;else t=ft,yn=Sa=null,uu(t),ii=null,al=0,t=ft;for(;t!==null;)$m(t.alternate,t),t=t.return;ft=null}}function mi(t,e){var a=t.timeoutHandle;a!==-1&&(t.timeoutHandle=-1,jS(a)),a=t.cancelPendingCommit,a!==null&&(t.cancelPendingCommit=null,a()),Dn=0,Qu(),Ot=t,ft=a=mn(t.current,null),mt=e,Ct=0,Re=null,Zn=!1,fi=ki(t,e),qu=!1,hi=Oe=Yu=Ra=Fn=Ut=0,be=bl=null,Xu=!1,(e&8)!==0&&(e|=e&32);var l=t.entangledLanes;if(l!==0)for(t=t.entanglements,l&=e;0<l;){var o=31-Ae(l),c=1<<o;e|=t[o],l&=~c}return wn=e,Ss(),a}function xp(t,e){rt=null,U.H=fl,e===ai||e===Ms?(e=Bd(),Ct=3):e===$o?(e=Bd(),Ct=4):Ct=e===Cu?8:e!==null&&typeof e=="object"&&typeof e.then=="function"?6:1,Re=e,ft===null&&(Ut=1,Ys(t,Be(e,t.current)))}function Tp(){var t=De.current;return t===null?!0:(mt&4194048)===mt?qe===null:(mt&62914560)===mt||(mt&536870912)!==0?t===qe:!1}function Ep(){var t=U.H;return U.H=fl,t===null?fl:t}function Ap(){var t=U.A;return U.A=fS,t}function tr(){Ut=4,Zn||(mt&4194048)!==mt&&De.current!==null||(fi=!0),(Fn&134217727)===0&&(Ra&134217727)===0||Ot===null||Wn(Ot,mt,Oe,!1)}function Zu(t,e,a){var l=Tt;Tt|=2;var o=Ep(),c=Ap();(Ot!==t||mt!==e)&&(Ws=null,mi(t,e)),e=!1;var p=Ut;t:do try{if(Ct!==0&&ft!==null){var b=ft,E=Re;switch(Ct){case 8:Qu(),p=6;break t;case 3:case 2:case 9:case 6:De.current===null&&(e=!0);var z=Ct;if(Ct=0,Re=null,pi(t,b,E,z),a&&fi){p=0;break t}break;default:z=Ct,Ct=0,Re=null,pi(t,b,E,z)}}mS(),p=Ut;break}catch(H){xp(t,H)}while(!0);return e&&t.shellSuspendCounter++,yn=Sa=null,Tt=l,U.H=o,U.A=c,ft===null&&(Ot=null,mt=0,Ss()),p}function mS(){for(;ft!==null;)Cp(ft)}function pS(t,e){var a=Tt;Tt|=2;var l=Ep(),o=Ap();Ot!==t||mt!==e?(Ws=null,$s=Te()+500,mi(t,e)):fi=ki(t,e);t:do try{if(Ct!==0&&ft!==null){e=ft;var c=Re;e:switch(Ct){case 1:Ct=0,Re=null,pi(t,e,c,1);break;case 2:case 9:if(Ld(c)){Ct=0,Re=null,wp(e);break}e=function(){Ct!==2&&Ct!==9||Ot!==t||(Ct=7),rn(t)},c.then(e,e);break t;case 3:Ct=7;break t;case 4:Ct=5;break t;case 7:Ld(c)?(Ct=0,Re=null,wp(e)):(Ct=0,Re=null,pi(t,e,c,7));break;case 5:var p=null;switch(ft.tag){case 26:p=ft.memoizedState;case 5:case 27:var b=ft;if(p?fy(p):b.stateNode.complete){Ct=0,Re=null;var E=b.sibling;if(E!==null)ft=E;else{var z=b.return;z!==null?(ft=z,er(z)):ft=null}break e}}Ct=0,Re=null,pi(t,e,c,5);break;case 6:Ct=0,Re=null,pi(t,e,c,6);break;case 8:Qu(),Ut=6;break t;default:throw Error(r(462))}}yS();break}catch(H){xp(t,H)}while(!0);return yn=Sa=null,U.H=l,U.A=o,Tt=a,ft!==null?0:(Ot=null,mt=0,Ss(),Ut)}function yS(){for(;ft!==null&&!H1();)Cp(ft)}function Cp(t){var e=Fm(t.alternate,t,wn);t.memoizedProps=t.pendingProps,e===null?er(t):ft=e}function wp(t){var e=t,a=e.alternate;switch(e.tag){case 15:case 0:e=Xm(a,e,e.pendingProps,e.type,void 0,mt);break;case 11:e=Xm(a,e,e.pendingProps,e.type.render,e.ref,mt);break;case 5:uu(e);default:$m(a,e),e=ft=Ad(e,wn),e=Fm(a,e,wn)}t.memoizedProps=t.pendingProps,e===null?er(t):ft=e}function pi(t,e,a,l){yn=Sa=null,uu(e),ii=null,al=0;var o=e.return;try{if(iS(t,o,e,a,mt)){Ut=1,Ys(t,Be(a,t.current)),ft=null;return}}catch(c){if(o!==null)throw ft=o,c;Ut=1,Ys(t,Be(a,t.current)),ft=null;return}e.flags&32768?(gt||l===1?t=!0:fi||(mt&536870912)!==0?t=!1:(Zn=t=!0,(l===2||l===9||l===3||l===6)&&(l=De.current,l!==null&&l.tag===13&&(l.flags|=16384))),Dp(e,t)):er(e)}function er(t){var e=t;do{if((e.flags&32768)!==0){Dp(e,Zn);return}t=e.return;var a=rS(e.alternate,e,wn);if(a!==null){ft=a;return}if(e=e.sibling,e!==null){ft=e;return}ft=e=t}while(e!==null);Ut===0&&(Ut=5)}function Dp(t,e){do{var a=oS(t.alternate,t);if(a!==null){a.flags&=32767,ft=a;return}if(a=t.return,a!==null&&(a.flags|=32768,a.subtreeFlags=0,a.deletions=null),!e&&(t=t.sibling,t!==null)){ft=t;return}ft=t=a}while(t!==null);Ut=6,ft=null}function Mp(t,e,a,l,o,c,p,b,E){t.cancelPendingCommit=null;do nr();while(Jt!==0);if((Tt&6)!==0)throw Error(r(327));if(e!==null){if(e===t.current)throw Error(r(177));if(c=e.lanes|e.childLanes,c|=Vo,F1(t,a,c,p,b,E),t===Ot&&(ft=Ot=null,mt=0),di=e,$n=t,Dn=a,Gu=c,Pu=o,gp=l,(e.subtreeFlags&10256)!==0||(e.flags&10256)!==0?(t.callbackNode=null,t.callbackPriority=0,SS(is,function(){return jp(),null})):(t.callbackNode=null,t.callbackPriority=0),l=(e.flags&13878)!==0,(e.subtreeFlags&13878)!==0||l){l=U.T,U.T=null,o=G.p,G.p=2,p=Tt,Tt|=4;try{uS(t,e,a)}finally{Tt=p,G.p=o,U.T=l}}Jt=1,Rp(),Op(),_p()}}function Rp(){if(Jt===1){Jt=0;var t=$n,e=di,a=(e.flags&13878)!==0;if((e.subtreeFlags&13878)!==0||a){a=U.T,U.T=null;var l=G.p;G.p=2;var o=Tt;Tt|=4;try{up(e,t);var c=sc,p=pd(t.containerInfo),b=c.focusedElem,E=c.selectionRange;if(p!==b&&b&&b.ownerDocument&&md(b.ownerDocument.documentElement,b)){if(E!==null&&_o(b)){var z=E.start,H=E.end;if(H===void 0&&(H=z),"selectionStart"in b)b.selectionStart=z,b.selectionEnd=Math.min(H,b.value.length);else{var q=b.ownerDocument||document,N=q&&q.defaultView||window;if(N.getSelection){var V=N.getSelection(),Z=b.textContent.length,nt=Math.min(E.start,Z),Rt=E.end===void 0?nt:Math.min(E.end,Z);!V.extend&&nt>Rt&&(p=Rt,Rt=nt,nt=p);var M=dd(b,nt),A=dd(b,Rt);if(M&&A&&(V.rangeCount!==1||V.anchorNode!==M.node||V.anchorOffset!==M.offset||V.focusNode!==A.node||V.focusOffset!==A.offset)){var _=q.createRange();_.setStart(M.node,M.offset),V.removeAllRanges(),nt>Rt?(V.addRange(_),V.extend(A.node,A.offset)):(_.setEnd(A.node,A.offset),V.addRange(_))}}}}for(q=[],V=b;V=V.parentNode;)V.nodeType===1&&q.push({element:V,left:V.scrollLeft,top:V.scrollTop});for(typeof b.focus=="function"&&b.focus(),b=0;b<q.length;b++){var k=q[b];k.element.scrollLeft=k.left,k.element.scrollTop=k.top}}mr=!!lc,sc=lc=null}finally{Tt=o,G.p=l,U.T=a}}t.current=e,Jt=2}}function Op(){if(Jt===2){Jt=0;var t=$n,e=di,a=(e.flags&8772)!==0;if((e.subtreeFlags&8772)!==0||a){a=U.T,U.T=null;var l=G.p;G.p=2;var o=Tt;Tt|=4;try{ip(t,e.alternate,e)}finally{Tt=o,G.p=l,U.T=a}}Jt=3}}function _p(){if(Jt===4||Jt===3){Jt=0,k1();var t=$n,e=di,a=Dn,l=gp;(e.subtreeFlags&10256)!==0||(e.flags&10256)!==0?Jt=5:(Jt=0,di=$n=null,zp(t,t.pendingLanes));var o=t.pendingLanes;if(o===0&&(Jn=null),fo(a),e=e.stateNode,Ee&&typeof Ee.onCommitFiberRoot=="function")try{Ee.onCommitFiberRoot(Hi,e,void 0,(e.current.flags&128)===128)}catch{}if(l!==null){e=U.T,o=G.p,G.p=2,U.T=null;try{for(var c=t.onRecoverableError,p=0;p<l.length;p++){var b=l[p];c(b.value,{componentStack:b.stack})}}finally{U.T=e,G.p=o}}(Dn&3)!==0&&nr(),rn(t),o=t.pendingLanes,(a&261930)!==0&&(o&42)!==0?t===Ku?Sl++:(Sl=0,Ku=t):Sl=0,xl(0)}}function zp(t,e){(t.pooledCacheLanes&=e)===0&&(e=t.pooledCache,e!=null&&(t.pooledCache=null,el(e)))}function nr(){return Rp(),Op(),_p(),jp()}function jp(){if(Jt!==5)return!1;var t=$n,e=Gu;Gu=0;var a=fo(Dn),l=U.T,o=G.p;try{G.p=32>a?32:a,U.T=null,a=Pu,Pu=null;var c=$n,p=Dn;if(Jt=0,di=$n=null,Dn=0,(Tt&6)!==0)throw Error(r(331));var b=Tt;if(Tt|=4,mp(c.current),fp(c,c.current,p,a),Tt=b,xl(0,!1),Ee&&typeof Ee.onPostCommitFiberRoot=="function")try{Ee.onPostCommitFiberRoot(Hi,c)}catch{}return!0}finally{G.p=o,U.T=l,zp(t,e)}}function Np(t,e,a){e=Be(a,e),e=Au(t.stateNode,e,2),t=Gn(t,e,2),t!==null&&(qi(t,2),rn(t))}function wt(t,e,a){if(t.tag===3)Np(t,t,a);else for(;e!==null;){if(e.tag===3){Np(e,t,a);break}else if(e.tag===1){var l=e.stateNode;if(typeof e.type.getDerivedStateFromError=="function"||typeof l.componentDidCatch=="function"&&(Jn===null||!Jn.has(l))){t=Be(a,t),a=Lm(2),l=Gn(e,a,2),l!==null&&(Vm(a,l,e,t),qi(l,2),rn(l));break}}e=e.return}}function Fu(t,e,a){var l=t.pingCache;if(l===null){l=t.pingCache=new hS;var o=new Set;l.set(e,o)}else o=l.get(e),o===void 0&&(o=new Set,l.set(e,o));o.has(a)||(qu=!0,o.add(a),t=gS.bind(null,t,e,a),e.then(t,t))}function gS(t,e,a){var l=t.pingCache;l!==null&&l.delete(e),t.pingedLanes|=t.suspendedLanes&a,t.warmLanes&=~a,Ot===t&&(mt&a)===a&&(Ut===4||Ut===3&&(mt&62914560)===mt&&300>Te()-Js?(Tt&2)===0&&mi(t,0):Yu|=a,hi===mt&&(hi=0)),rn(t)}function Lp(t,e){e===0&&(e=Rh()),t=ga(t,e),t!==null&&(qi(t,e),rn(t))}function vS(t){var e=t.memoizedState,a=0;e!==null&&(a=e.retryLane),Lp(t,a)}function bS(t,e){var a=0;switch(t.tag){case 31:case 13:var l=t.stateNode,o=t.memoizedState;o!==null&&(a=o.retryLane);break;case 19:l=t.stateNode;break;case 22:l=t.stateNode._retryCache;break;default:throw Error(r(314))}l!==null&&l.delete(e),Lp(t,a)}function SS(t,e){return ro(t,e)}var ar=null,yi=null,Ju=!1,ir=!1,$u=!1,In=0;function rn(t){t!==yi&&t.next===null&&(yi===null?ar=yi=t:yi=yi.next=t),ir=!0,Ju||(Ju=!0,TS())}function xl(t,e){if(!$u&&ir){$u=!0;do for(var a=!1,l=ar;l!==null;){if(t!==0){var o=l.pendingLanes;if(o===0)var c=0;else{var p=l.suspendedLanes,b=l.pingedLanes;c=(1<<31-Ae(42|t)+1)-1,c&=o&~(p&~b),c=c&201326741?c&201326741|1:c?c|2:0}c!==0&&(a=!0,Hp(l,c))}else c=mt,c=os(l,l===Ot?c:0,l.cancelPendingCommit!==null||l.timeoutHandle!==-1),(c&3)===0||ki(l,c)||(a=!0,Hp(l,c));l=l.next}while(a);$u=!1}}function xS(){Vp()}function Vp(){ir=Ju=!1;var t=0;In!==0&&zS()&&(t=In);for(var e=Te(),a=null,l=ar;l!==null;){var o=l.next,c=Bp(l,e);c===0?(l.next=null,a===null?ar=o:a.next=o,o===null&&(yi=a)):(a=l,(t!==0||(c&3)!==0)&&(ir=!0)),l=o}Jt!==0&&Jt!==5||xl(t),In!==0&&(In=0)}function Bp(t,e){for(var a=t.suspendedLanes,l=t.pingedLanes,o=t.expirationTimes,c=t.pendingLanes&-62914561;0<c;){var p=31-Ae(c),b=1<<p,E=o[p];E===-1?((b&a)===0||(b&l)!==0)&&(o[p]=Z1(b,e)):E<=e&&(t.expiredLanes|=b),c&=~b}if(e=Ot,a=mt,a=os(t,t===e?a:0,t.cancelPendingCommit!==null||t.timeoutHandle!==-1),l=t.callbackNode,a===0||t===e&&(Ct===2||Ct===9)||t.cancelPendingCommit!==null)return l!==null&&l!==null&&oo(l),t.callbackNode=null,t.callbackPriority=0;if((a&3)===0||ki(t,a)){if(e=a&-a,e===t.callbackPriority)return e;switch(l!==null&&oo(l),fo(a)){case 2:case 8:a=Dh;break;case 32:a=is;break;case 268435456:a=Mh;break;default:a=is}return l=Up.bind(null,t),a=ro(a,l),t.callbackPriority=e,t.callbackNode=a,e}return l!==null&&l!==null&&oo(l),t.callbackPriority=2,t.callbackNode=null,2}function Up(t,e){if(Jt!==0&&Jt!==5)return t.callbackNode=null,t.callbackPriority=0,null;var a=t.callbackNode;if(nr()&&t.callbackNode!==a)return null;var l=mt;return l=os(t,t===Ot?l:0,t.cancelPendingCommit!==null||t.timeoutHandle!==-1),l===0?null:(bp(t,l,e),Bp(t,Te()),t.callbackNode!=null&&t.callbackNode===a?Up.bind(null,t):null)}function Hp(t,e){if(nr())return null;bp(t,e,!0)}function TS(){NS(function(){(Tt&6)!==0?ro(wh,xS):Vp()})}function Wu(){if(In===0){var t=ei;t===0&&(t=ls,ls<<=1,(ls&261888)===0&&(ls=256)),In=t}return In}function kp(t){return t==null||typeof t=="symbol"||typeof t=="boolean"?null:typeof t=="function"?t:hs(""+t)}function qp(t,e){var a=e.ownerDocument.createElement("input");return a.name=e.name,a.value=e.value,t.id&&a.setAttribute("form",t.id),e.parentNode.insertBefore(a,e),t=new FormData(t),a.parentNode.removeChild(a),t}function ES(t,e,a,l,o){if(e==="submit"&&a&&a.stateNode===o){var c=kp((o[me]||null).action),p=l.submitter;p&&(e=(e=p[me]||null)?kp(e.formAction):p.getAttribute("formAction"),e!==null&&(c=e,p=null));var b=new ys("action","action",null,l,o);t.push({event:b,listeners:[{instance:null,listener:function(){if(l.defaultPrevented){if(In!==0){var E=p?qp(o,p):new FormData(o);vu(a,{pending:!0,data:E,method:o.method,action:c},null,E)}}else typeof c=="function"&&(b.preventDefault(),E=p?qp(o,p):new FormData(o),vu(a,{pending:!0,data:E,method:o.method,action:c},c,E))},currentTarget:o}]})}}for(var Iu=0;Iu<Lo.length;Iu++){var tc=Lo[Iu],AS=tc.toLowerCase(),CS=tc[0].toUpperCase()+tc.slice(1);Qe(AS,"on"+CS)}Qe(vd,"onAnimationEnd"),Qe(bd,"onAnimationIteration"),Qe(Sd,"onAnimationStart"),Qe("dblclick","onDoubleClick"),Qe("focusin","onFocus"),Qe("focusout","onBlur"),Qe(qb,"onTransitionRun"),Qe(Yb,"onTransitionStart"),Qe(Xb,"onTransitionCancel"),Qe(xd,"onTransitionEnd"),qa("onMouseEnter",["mouseout","mouseover"]),qa("onMouseLeave",["mouseout","mouseover"]),qa("onPointerEnter",["pointerout","pointerover"]),qa("onPointerLeave",["pointerout","pointerover"]),da("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),da("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),da("onBeforeInput",["compositionend","keypress","textInput","paste"]),da("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),da("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),da("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Tl="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),wS=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Tl));function Yp(t,e){e=(e&4)!==0;for(var a=0;a<t.length;a++){var l=t[a],o=l.event;l=l.listeners;t:{var c=void 0;if(e)for(var p=l.length-1;0<=p;p--){var b=l[p],E=b.instance,z=b.currentTarget;if(b=b.listener,E!==c&&o.isPropagationStopped())break t;c=b,o.currentTarget=z;try{c(o)}catch(H){bs(H)}o.currentTarget=null,c=E}else for(p=0;p<l.length;p++){if(b=l[p],E=b.instance,z=b.currentTarget,b=b.listener,E!==c&&o.isPropagationStopped())break t;c=b,o.currentTarget=z;try{c(o)}catch(H){bs(H)}o.currentTarget=null,c=E}}}}function ht(t,e){var a=e[ho];a===void 0&&(a=e[ho]=new Set);var l=t+"__bubble";a.has(l)||(Xp(e,t,2,!1),a.add(l))}function ec(t,e,a){var l=0;e&&(l|=4),Xp(a,t,l,e)}var lr="_reactListening"+Math.random().toString(36).slice(2);function nc(t){if(!t[lr]){t[lr]=!0,Vh.forEach(function(a){a!=="selectionchange"&&(wS.has(a)||ec(a,!1,t),ec(a,!0,t))});var e=t.nodeType===9?t:t.ownerDocument;e===null||e[lr]||(e[lr]=!0,ec("selectionchange",!1,e))}}function Xp(t,e,a,l){switch(vy(e)){case 2:var o=tx;break;case 8:o=ex;break;default:o=gc}a=o.bind(null,e,a,t),o=void 0,!To||e!=="touchstart"&&e!=="touchmove"&&e!=="wheel"||(o=!0),l?o!==void 0?t.addEventListener(e,a,{capture:!0,passive:o}):t.addEventListener(e,a,!0):o!==void 0?t.addEventListener(e,a,{passive:o}):t.addEventListener(e,a,!1)}function ac(t,e,a,l,o){var c=l;if((e&1)===0&&(e&2)===0&&l!==null)t:for(;;){if(l===null)return;var p=l.tag;if(p===3||p===4){var b=l.stateNode.containerInfo;if(b===o)break;if(p===4)for(p=l.return;p!==null;){var E=p.tag;if((E===3||E===4)&&p.stateNode.containerInfo===o)return;p=p.return}for(;b!==null;){if(p=Ua(b),p===null)return;if(E=p.tag,E===5||E===6||E===26||E===27){l=c=p;continue t}b=b.parentNode}}l=l.return}Zh(function(){var z=c,H=So(a),q=[];t:{var N=Td.get(t);if(N!==void 0){var V=ys,Z=t;switch(t){case"keypress":if(ms(a)===0)break t;case"keydown":case"keyup":V=bb;break;case"focusin":Z="focus",V=wo;break;case"focusout":Z="blur",V=wo;break;case"beforeblur":case"afterblur":V=wo;break;case"click":if(a.button===2)break t;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":V=$h;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":V=rb;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":V=Tb;break;case vd:case bd:case Sd:V=cb;break;case xd:V=Ab;break;case"scroll":case"scrollend":V=lb;break;case"wheel":V=wb;break;case"copy":case"cut":case"paste":V=hb;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":V=Ih;break;case"toggle":case"beforetoggle":V=Mb}var nt=(e&4)!==0,Rt=!nt&&(t==="scroll"||t==="scrollend"),M=nt?N!==null?N+"Capture":null:N;nt=[];for(var A=z,_;A!==null;){var k=A;if(_=k.stateNode,k=k.tag,k!==5&&k!==26&&k!==27||_===null||M===null||(k=Gi(A,M),k!=null&&nt.push(El(A,k,_))),Rt)break;A=A.return}0<nt.length&&(N=new V(N,Z,null,a,H),q.push({event:N,listeners:nt}))}}if((e&7)===0){t:{if(N=t==="mouseover"||t==="pointerover",V=t==="mouseout"||t==="pointerout",N&&a!==bo&&(Z=a.relatedTarget||a.fromElement)&&(Ua(Z)||Z[Ba]))break t;if((V||N)&&(N=H.window===H?H:(N=H.ownerDocument)?N.defaultView||N.parentWindow:window,V?(Z=a.relatedTarget||a.toElement,V=z,Z=Z?Ua(Z):null,Z!==null&&(Rt=f(Z),nt=Z.tag,Z!==Rt||nt!==5&&nt!==27&&nt!==6)&&(Z=null)):(V=null,Z=z),V!==Z)){if(nt=$h,k="onMouseLeave",M="onMouseEnter",A="mouse",(t==="pointerout"||t==="pointerover")&&(nt=Ih,k="onPointerLeave",M="onPointerEnter",A="pointer"),Rt=V==null?N:Xi(V),_=Z==null?N:Xi(Z),N=new nt(k,A+"leave",V,a,H),N.target=Rt,N.relatedTarget=_,k=null,Ua(H)===z&&(nt=new nt(M,A+"enter",Z,a,H),nt.target=_,nt.relatedTarget=Rt,k=nt),Rt=k,V&&Z)e:{for(nt=DS,M=V,A=Z,_=0,k=M;k;k=nt(k))_++;k=0;for(var et=A;et;et=nt(et))k++;for(;0<_-k;)M=nt(M),_--;for(;0<k-_;)A=nt(A),k--;for(;_--;){if(M===A||A!==null&&M===A.alternate){nt=M;break e}M=nt(M),A=nt(A)}nt=null}else nt=null;V!==null&&Gp(q,N,V,nt,!1),Z!==null&&Rt!==null&&Gp(q,Rt,Z,nt,!0)}}t:{if(N=z?Xi(z):window,V=N.nodeName&&N.nodeName.toLowerCase(),V==="select"||V==="input"&&N.type==="file")var bt=rd;else if(ld(N))if(od)bt=Ub;else{bt=Vb;var W=Lb}else V=N.nodeName,!V||V.toLowerCase()!=="input"||N.type!=="checkbox"&&N.type!=="radio"?z&&vo(z.elementType)&&(bt=rd):bt=Bb;if(bt&&(bt=bt(t,z))){sd(q,bt,a,H);break t}W&&W(t,N,z),t==="focusout"&&z&&N.type==="number"&&z.memoizedProps.value!=null&&go(N,"number",N.value)}switch(W=z?Xi(z):window,t){case"focusin":(ld(W)||W.contentEditable==="true")&&(Qa=W,zo=z,Wi=null);break;case"focusout":Wi=zo=Qa=null;break;case"mousedown":jo=!0;break;case"contextmenu":case"mouseup":case"dragend":jo=!1,yd(q,a,H);break;case"selectionchange":if(kb)break;case"keydown":case"keyup":yd(q,a,H)}var ut;if(Mo)t:{switch(t){case"compositionstart":var pt="onCompositionStart";break t;case"compositionend":pt="onCompositionEnd";break t;case"compositionupdate":pt="onCompositionUpdate";break t}pt=void 0}else Ka?ad(t,a)&&(pt="onCompositionEnd"):t==="keydown"&&a.keyCode===229&&(pt="onCompositionStart");pt&&(td&&a.locale!=="ko"&&(Ka||pt!=="onCompositionStart"?pt==="onCompositionEnd"&&Ka&&(ut=Fh()):(Bn=H,Eo="value"in Bn?Bn.value:Bn.textContent,Ka=!0)),W=sr(z,pt),0<W.length&&(pt=new Wh(pt,t,null,a,H),q.push({event:pt,listeners:W}),ut?pt.data=ut:(ut=id(a),ut!==null&&(pt.data=ut)))),(ut=Ob?_b(t,a):zb(t,a))&&(pt=sr(z,"onBeforeInput"),0<pt.length&&(W=new Wh("onBeforeInput","beforeinput",null,a,H),q.push({event:W,listeners:pt}),W.data=ut)),ES(q,t,z,a,H)}Yp(q,e)})}function El(t,e,a){return{instance:t,listener:e,currentTarget:a}}function sr(t,e){for(var a=e+"Capture",l=[];t!==null;){var o=t,c=o.stateNode;if(o=o.tag,o!==5&&o!==26&&o!==27||c===null||(o=Gi(t,a),o!=null&&l.unshift(El(t,o,c)),o=Gi(t,e),o!=null&&l.push(El(t,o,c))),t.tag===3)return l;t=t.return}return[]}function DS(t){if(t===null)return null;do t=t.return;while(t&&t.tag!==5&&t.tag!==27);return t||null}function Gp(t,e,a,l,o){for(var c=e._reactName,p=[];a!==null&&a!==l;){var b=a,E=b.alternate,z=b.stateNode;if(b=b.tag,E!==null&&E===l)break;b!==5&&b!==26&&b!==27||z===null||(E=z,o?(z=Gi(a,c),z!=null&&p.unshift(El(a,z,E))):o||(z=Gi(a,c),z!=null&&p.push(El(a,z,E)))),a=a.return}p.length!==0&&t.push({event:e,listeners:p})}var MS=/\r\n?/g,RS=/\u0000|\uFFFD/g;function Pp(t){return(typeof t=="string"?t:""+t).replace(MS,`
10`).replace(RS,"")}function Kp(t,e){return e=Pp(e),Pp(t)===e}function Mt(t,e,a,l,o,c){switch(a){case"children":typeof l=="string"?e==="body"||e==="textarea"&&l===""||Xa(t,l):(typeof l=="number"||typeof l=="bigint")&&e!=="body"&&Xa(t,""+l);break;case"className":cs(t,"class",l);break;case"tabIndex":cs(t,"tabindex",l);break;case"dir":case"role":case"viewBox":case"width":case"height":cs(t,a,l);break;case"style":Kh(t,l,c);break;case"data":if(e!=="object"){cs(t,"data",l);break}case"src":case"href":if(l===""&&(e!=="a"||a!=="href")){t.removeAttribute(a);break}if(l==null||typeof l=="function"||typeof l=="symbol"||typeof l=="boolean"){t.removeAttribute(a);break}l=hs(""+l),t.setAttribute(a,l);break;case"action":case"formAction":if(typeof l=="function"){t.setAttribute(a,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof c=="function"&&(a==="formAction"?(e!=="input"&&Mt(t,e,"name",o.name,o,null),Mt(t,e,"formEncType",o.formEncType,o,null),Mt(t,e,"formMethod",o.formMethod,o,null),Mt(t,e,"formTarget",o.formTarget,o,null)):(Mt(t,e,"encType",o.encType,o,null),Mt(t,e,"method",o.method,o,null),Mt(t,e,"target",o.target,o,null)));if(l==null||typeof l=="symbol"||typeof l=="boolean"){t.removeAttribute(a);break}l=hs(""+l),t.setAttribute(a,l);break;case"onClick":l!=null&&(t.onclick=hn);break;case"onScroll":l!=null&&ht("scroll",t);break;case"onScrollEnd":l!=null&&ht("scrollend",t);break;case"dangerouslySetInnerHTML":if(l!=null){if(typeof l!="object"||!("__html"in l))throw Error(r(61));if(a=l.__html,a!=null){if(o.children!=null)throw Error(r(60));t.innerHTML=a}}break;case"multiple":t.multiple=l&&typeof l!="function"&&typeof l!="symbol";break;case"muted":t.muted=l&&typeof l!="function"&&typeof l!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(l==null||typeof l=="function"||typeof l=="boolean"||typeof l=="symbol"){t.removeAttribute("xlink:href");break}a=hs(""+l),t.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",a);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":l!=null&&typeof l!="function"&&typeof l!="symbol"?t.setAttribute(a,""+l):t.removeAttribute(a);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInl
10ine":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":l&&typeof l!="function"&&typeof l!="symbol"?t.setAttribute(a,""):t.removeAttribute(a);break;case"capture":case"download":l===!0?t.setAttribute(a,""):l!==!1&&l!=null&&typeof l!="function"&&typeof l!="symbol"?t.setAttribute(a,l):t.removeAttribute(a);break;case"cols":case"rows":case"size":case"span":l!=null&&typeof l!="function"&&typeof l!="symbol"&&!isNaN(l)&&1<=l?t.setAttribute(a,l):t.removeAttribute(a);break;case"rowSpan":case"start":l==null||typeof l=="function"||typeof l=="symbol"||isNaN(l)?t.removeAttribute(a):t.setAttribute(a,l);break;case"popover":ht("beforetoggle",t),ht("toggle",t),us(t,"popover",l);break;case"xlinkActuate":fn(t,"http://www.w3.org/1999/xlink","xlink:actuate",l);break;case"xlinkArcrole":fn(t,"http://www.w3.org/1999/xlink","xlink:arcrole",l);break;case"xlinkRole":fn(t,"http://www.w3.org/1999/xlink","xlink:role",l);break;case"xlinkShow":fn(t,"http://www.w3.org/1999/xlink","xlink:show",l);break;case"xlinkTitle":fn(t,"http://www.w3.org/1999/xlink","xlink:title",l);break;case"xlinkType":fn(t,"http://www.w3.org/1999/xlink","xlink:type",l);break;case"xmlBase":fn(t,"http://www.w3.org/XML/1998/namespace","xml:base",l);break;case"xmlLang":fn(t,"http://www.w3.org/XML/1998/namespace","xml:lang",l);break;case"xmlSpace":fn(t,"http://www.w3.org/XML/1998/namespace","xml:space",l);break;case"is":us(t,"is",l);break;case"innerText":case"textContent":break;default:(!(2<a.length)||a[0]!=="o"&&a[0]!=="O"||a[1]!=="n"&&a[1]!=="N")&&(a=ab.get(a)||a,us(t,a,l))}}function ic(t,e,a,l,o,c){switch(a){case"style":Kh(t,l,c);break;case"dangerouslySetInnerHTML":if(l!=null){if(typeof l!="object"||!("__html"in l))throw Error(r(61));if(a=l.__html,a!=null){if(o.children!=null)throw Error(r(60));t.innerHTML=a}}break;case"children":typeof l=="string"?Xa(t,l):(typeof l=="number"||typeof l=="bigint")&&Xa(t,""+l);break;case"onScroll":l!=null&&ht("scroll",t);break;case"onScrollEnd":l!=null&&ht("scrollend",t);break;case"onClick":l!=null&&(t.onclick=hn);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!Bh.hasOwnProperty(a))t:{if(a[0]==="o"&&a[1]==="n"&&(o=a.endsWith("Capture"),e=a.slice(2,o?a.length-7:void 0),c=t[me]||null,c=c!=null?c[a]:null,typeof c=="function"&&t.removeEventListener(e,c,o),typeof l=="function")){typeof c!="function"&&c!==null&&(a in t?t[a]=null:t.hasAttribute(a)&&t.removeAttribute(a)),t.addEventListener(e,l,o);break t}a in t?t[a]=l:l===!0?t.setAttribute(a,""):us(t,a,l)}}}function se(t,e,a){switch(e){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":ht("error",t),ht("load",t);var l=!1,o=!1,c;for(c in a)if(a.hasOwnProperty(c)){var p=a[c];if(p!=null)switch(c){case"src":l=!0;break;case"srcSet":o=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(r(137,e));default:Mt(t,e,c,p,a,null)}}o&&Mt(t,e,"srcSet",a.srcSet,a,null),l&&Mt(t,e,"src",a.src,a,null);return;case"input":ht("invalid",t);var b=c=p=o=null,E=null,z=null;for(l in a)if(a.hasOwnProperty(l)){var H=a[l];if(H!=null)switch(l){case"name":o=H;break;case"type":p=H;break;case"checked":E=H;break;case"defaultChecked":z=H;break;case"value":c=H;break;case"defaultValue":b=H;break;case"children":case"dangerouslySetInnerHTML":if(H!=null)throw Error(r(137,e));break;default:Mt(t,e,l,H,a,null)}}Yh(t,c,b,E,z,p,o,!1);return;case"select":ht("invalid",t),l=p=c=null;for(o in a)if(a.hasOwnProperty(o)&&(b=a[o],b!=null))switch(o){case"value":c=b;break;case"defaultValue":p=b;break;case"multiple":l=b;default:Mt(t,e,o,b,a,null)}e=c,a=p,t.multiple=!!l,e!=null?Ya(t,!!l,e,!1):a!=null&&Ya(t,!!l,a,!0);return;case"textarea":ht("invalid",t),c=o=l=null;for(p in a)if(a.hasOwnProperty(p)&&(b=a[p],b!=null))switch(p){case"value":l=b;break;case"defaultValue":o=b;break;case"children":c=b;break;case"dangerouslySetInnerHTML":if(b!=null)throw Error(r(91));break;default:Mt(t,e,p,b,a,null)}Gh(t,l,o,c);return;case"option":for(E in a)if(a.hasOwnProperty(E)&&(l=a[E],l!=null))switch(E){case"selected":t.selected=l&&typeof l!="function"&&typeof l!="symbol";break;default:Mt(t,e,E,l,a,null)}return;case"dialog":ht("beforetoggle",t),ht("toggle",t),ht("cancel",t),ht("close",t);break;case"iframe":case"object":ht("load",t);break;case"video":case"audio":for(l=0;l<Tl.length;l++)ht(Tl[l],t);break;case"image":ht("error",t),ht("load",t);break;case"details":ht("toggle",t);break;case"embed":case"source":case"link":ht("error",t),ht("load",t);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(z in a)if(a.hasOwnProperty(z)&&(l=a[z],l!=null))switch(z){case"children":case"dangerouslySetInnerHTML":throw Error(r(137,e));default:Mt(t,e,z,l,a,null)}return;default:if(vo(e)){for(H in a)a.hasOwnProperty(H)&&(l=a[H],l!==void 0&&ic(t,e,H,l,a,void 0));return}}for(b in a)a.hasOwnProperty(b)&&(l=a[b],l!=null&&Mt(t,e,b,l,a,null))}function OS(t,e,a,l){switch(e){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var o=null,c=null,p=null,b=null,E=null,z=null,H=null;for(V in a){var q=a[V];if(a.hasOwnProperty(V)&&q!=null)switch(V){case"checked":break;case"value":break;case"defaultValue":E=q;default:l.hasOwnProperty(V)||Mt(t,e,V,null,l,q)}}for(var N in l){var V=l[N];if(q=a[N],l.hasOwnProperty(N)&&(V!=null||q!=null))switch(N){case"type":c=V;break;case"name":o=V;break;case"checked":z=V;break;case"defaultChecked":H=V;break;case"value":p=V;break;case"defaultValue":b=V;break;case"children":case"dangerouslySetInnerHTML":if(V!=null)throw Error(r(137,e));break;default:V!==q&&Mt(t,e,N,V,l,q)}}yo(t,p,b,E,z,H,c,o);return;case"select":V=p=b=N=null;for(c in a)if(E=a[c],a.hasOwnProperty(c)&&E!=null)switch(c){case"value":break;case"multiple":V=E;default:l.hasOwnProperty(c)||Mt(t,e,c,null,l,E)}for(o in l)if(c=l[o],E=a[o],l.hasOwnProperty(o)&&(c!=null||E!=null))switch(o){case"value":N=c;break;case"defaultValue":b=c;break;case"multiple":p=c;default:c!==E&&Mt(t,e,o,c,l,E)}e=b,a=p,l=V,N!=null?Ya(t,!!a,N,!1):!!l!=!!a&&(e!=null?Ya(t,!!a,e,!0):Ya(t,!!a,a?[]:"",!1));return;case"textarea":V=N=null;for(b in a)if(o=a[b],a.hasOwnProperty(b)&&o!=null&&!l.hasOwnProperty(b))switch(b){case"value":break;case"children":break;default:Mt(t,e,b,null,l,o)}for(p in l)if(o=l[p],c=a[p],l.hasOwnProperty(p)&&(o!=null||c!=null))switch(p){case"value":N=o;break;case"defaultValue":V=o;break;case"children":break;case"dangerouslySetInnerHTML":if(o!=null)throw Error(r(91));break;default:o!==c&&Mt(t,e,p,o,l,c)}Xh(t,N,V);return;case"option":for(var Z in a)if(N=a[Z],a.hasOwnProperty(Z)&&N!=null&&!l.hasOwnProperty(Z))switch(Z){case"selected":t.selected=!1;break;default:Mt(t,e,Z,null,l,N)}for(E in l)if(N=l[E],V=a[E],l.hasOwnProperty(E)&&N!==V&&(N!=null||V!=null))switch(E){case"selected":t.selected=N&&t
vendor: 14,820 bytes, line 10
10ypeof N!="function"&&typeof N!="symbol";break;default:Mt(t,e,E,N,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 nt in a)N=a[nt],a.hasOwnProperty(nt)&&N!=null&&!l.hasOwnProperty(nt)&&Mt(t,e,nt,null,l,N);for(z in l)if(N=l[z],V=a[z],l.hasOwnProperty(z)&&N!==V&&(N!=null||V!=null))switch(z){case"children":case"dangerouslySetInnerHTML":if(N!=null)throw Error(r(137,e));break;default:Mt(t,e,z,N,l,V)}return;default:if(vo(e)){for(var Rt in a)N=a[Rt],a.hasOwnProperty(Rt)&&N!==void 0&&!l.hasOwnProperty(Rt)&&ic(t,e,Rt,void 0,l,N);for(H in l)N=l[H],V=a[H],!l.hasOwnProperty(H)||N===V||N===void 0&&V===void 0||ic(t,e,H,N,l,V);return}}for(var M in a)N=a[M],a.hasOwnProperty(M)&&N!=null&&!l.hasOwnProperty(M)&&Mt(t,e,M,null,l,N);for(q in l)N=l[q],V=a[q],!l.hasOwnProperty(q)||N===V||N==null&&V==null||Mt(t,e,q,N,l,V)}function Qp(t){switch(t){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function _S(){if(typeof performance.getEntriesByType=="function"){for(var t=0,e=0,a=performance.getEntriesByType("resource"),l=0;l<a.length;l++){var o=a[l],c=o.transferSize,p=o.initiatorType,b=o.duration;if(c&&b&&Qp(p)){for(p=0,b=o.responseEnd,l+=1;l<a.length;l++){var E=a[l],z=E.startTime;if(z>b)break;var H=E.transferSize,q=E.initiatorType;H&&Qp(q)&&(E=E.responseEnd,p+=H*(E<b?1:(b-z)/(E-z)))}if(--l,e+=8*(c+p)/(o.duration/1e3),t++,10<t)break}}if(0<t)return e/t/1e6}return navigator.connection&&(t=navigator.connection.downlink,typeof t=="number")?t:5}var lc=null,sc=null;function rr(t){return t.nodeType===9?t:t.ownerDocument}function Zp(t){switch(t){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function Fp(t,e){if(t===0)switch(e){case"svg":return 1;case"math":return 2;default:return 0}return t===1&&e==="foreignObject"?0:t}function rc(t,e){return t==="textarea"||t==="noscript"||typeof e.children=="string"||typeof e.children=="number"||typeof e.children=="bigint"||typeof e.dangerouslySetInnerHTML=="object"&&e.dangerouslySetInnerHTML!==null&&e.dangerouslySetInnerHTML.__html!=null}var oc=null;function zS(){var t=window.event;return t&&t.type==="popstate"?t===oc?!1:(oc=t,!0):(oc=null,!1)}var Jp=typeof setTimeout=="function"?setTimeout:void 0,jS=typeof clearTimeout=="function"?clearTimeout:void 0,$p=typeof Promise=="function"?Promise:void 0,NS=typeof queueMicrotask=="function"?queueMicrotask:typeof $p<"u"?function(t){return $p.resolve(null).then(t).catch(LS)}:Jp;function LS(t){setTimeout(function(){throw t})}function ta(t){return t==="head"}function Wp(t,e){var a=e,l=0;do{var o=a.nextSibling;if(t.removeChild(a),o&&o.nodeType===8)if(a=o.data,a==="/$"||a==="/&"){if(l===0){t.removeChild(o),Si(e);return}l--}else if(a==="$"||a==="$?"||a==="$~"||a==="$!"||a==="&")l++;else if(a==="html")Al(t.ownerDocument.documentElement);else if(a==="head"){a=t.ownerDocument.head,Al(a);for(var c=a.firstChild;c;){var p=c.nextSibling,b=c.nodeName;c[Yi]||b==="SCRIPT"||b==="STYLE"||b==="LINK"&&c.rel.toLowerCase()==="stylesheet"||a.removeChild(c),c=p}}else a==="body"&&Al(t.ownerDocument.body);a=o}while(a);Si(e)}function Ip(t,e){var a=t;t=0;do{var l=a.nextSibling;if(a.nodeType===1?e?(a._stashedDisplay=a.style.display,a.style.display="none"):(a.style.display=a._stashedDisplay||"",a.getAttribute("style")===""&&a.removeAttribute("style")):a.nodeType===3&&(e?(a._stashedText=a.nodeValue,a.nodeValue=""):a.nodeValue=a._stashedText||""),l&&l.nodeType===8)if(a=l.data,a==="/$"){if(t===0)break;t--}else a!=="$"&&a!=="$?"&&a!=="$~"&&a!=="$!"||t++;a=l}while(a)}function uc(t){var e=t.firstChild;for(e&&e.nodeType===10&&(e=e.nextSibling);e;){var a=e;switch(e=e.nextSibling,a.nodeName){case"HTML":case"HEAD":case"BODY":uc(a),mo(a);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(a.rel.toLowerCase()==="stylesheet")continue}t.removeChild(a)}}function VS(t,e,a,l){for(;t.nodeType===1;){var o=a;if(t.nodeName.toLowerCase()!==e.toLowerCase()){if(!l&&(t.nodeName!=="INPUT"||t.type!=="hidden"))break}else if(l){if(!t[Yi])switch(e){case"meta":if(!t.hasAttribute("itemprop"))break;return t;case"link":if(c=t.getAttribute("rel"),c==="stylesheet"&&t.hasAttribute("data-precedence"))break;if(c!==o.rel||t.getAttribute("href")!==(o.href==null||o.href===""?null:o.href)||t.getAttribute("crossorigin")!==(o.crossOrigin==null?null:o.crossOrigin)||t.getAttribute("title")!==(o.title==null?null:o.title))break;return t;case"style":if(t.hasAttribute("data-precedence"))break;return t;case"script":if(c=t.getAttribute("src"),(c!==(o.src==null?null:o.src)||t.getAttribute("type")!==(o.type==null?null:o.type)||t.getAttribute("crossorigin")!==(o.crossOrigin==null?null:o.crossOrigin))&&c&&t.hasAttribute("async")&&!t.hasAttribute("itemprop"))break;return t;default:return t}}else if(e==="input"&&t.type==="hidden"){var c=o.name==null?null:""+o.name;if(o.type==="hidden"&&t.getAttribute("name")===c)return t}else return t;if(t=Ye(t.nextSibling),t===null)break}return null}function BS(t,e,a){if(e==="")return null;for(;t.nodeType!==3;)if((t.nodeType!==1||t.nodeName!=="INPUT"||t.type!=="hidden")&&!a||(t=Ye(t.nextSibling),t===null))return null;return t}function ty(t,e){for(;t.nodeType!==8;)if((t.nodeType!==1||t.nodeName!=="INPUT"||t.type!=="hidden")&&!e||(t=Ye(t.nextSibling),t===null))return null;return t}function cc(t){return t.data==="$?"||t.data==="$~"}function fc(t){return t.data==="$!"||t.data==="$?"&&t.ownerDocument.readyState!=="loading"}function US(t,e){var a=t.ownerDocument;if(t.data==="$~")t._reactRetry=e;else if(t.data!=="$?"||a.readyState!=="loading")e();else{var l=function(){e(),a.removeEventListener("DOMContentLoaded",l)};a.addEventListener("DOMContentLoaded",l),t._reactRetry=l}}function Ye(t){for(;t!=null;t=t.nextSibling){var e=t.nodeType;if(e===1||e===3)break;if(e===8){if(e=t.data,e==="$"||e==="$!"||e==="$?"||e==="$~"||e==="&"||e==="F!"||e==="F")break;if(e==="/$"||e==="/&")return null}}return t}var hc=null;function ey(t){t=t.nextSibling;for(var e=0;t;){if(t.nodeType===8){var a=t.data;if(a==="/$"||a==="/&"){if(e===0)return Ye(t.nextSibling);e--}else a!=="$"&&a!=="$!"&&a!=="$?"&&a!=="$~"&&a!=="&"||e++}t=t.nextSibling}return null}function ny(t){t=t.previousSibling;for(var e=0;t;){if(t.nodeType===8){var a=t.data;if(a==="$"||a==="$!"||a==="$?"||a==="$~"||a==="&"){if(e===0)return t;e--}else a!=="/$"&&a!=="/&"||e++}t=t.previousSibling}return null}function ay(t,e,a){switch(e=rr(a),t){case"html":if(t=e.documentElement,!t)throw Error(r(452));return t;case"head":if(t=e.head,!t)throw Error(r(453));return t;case"body":if(t=e.body,!t)throw Error(r(454));return t;default:throw Error(r(451))}}function Al(t){for(var e=t.attributes;e.length;)t.removeAttributeNode(e[0]);mo(t)}var Xe=new Map,iy=new Set;function or(t){return typeof t.getRootNode=="function"?t.getRootNode():t.nodeType===9?t:t.ownerDocument}var Mn=G.d;G.d={f:HS,r:kS,D:qS,C:YS,L:XS,m:GS,X:KS,S:PS,M:QS};function HS(){var t=Mn.f(),e=Is();return t||e}function kS(t){var e=Ha(t);e!==null&&e.tag===5&&e.type==="form"?xm(e):Mn.r(t)}var gi=typeof document>"u"?null:document;function ly(t,e,a){var l=gi;if(l&&typeof e=="string"&&e){var o=Le(e);o='link[rel="'+t+'"][href="'+o+'"]',typeof a=="string"&&(o+='[crossorigin="'+a+'"]'),iy.has(o)||(iy.add(o),t={rel:t,crossOrigin:a,href:e},l.querySelector(o)===null&&(e=l.createElement("link"),se(e,"link",t),It(e),l.head.appendChild(e)))}}function qS(t){Mn.D(t),ly("dns-prefetch",t,null)}function YS(t,e){Mn.C(t,e),ly("preconnect",t,e)}function XS(t,e,a){Mn.L(t,e,a);var l=gi;if(l&&t&&e){var o='link[rel="preload"][as="'+Le(e)+'"]';e==="image"&&a&&a.imageSrcSet?(o+='[imagesrcset="'+Le(a.imageSrcSet)+'"]',typeof a.imageSizes=="string"&&(o+='[imagesizes="'+Le(a.imageSizes)+'"]')):o+='[href="'+Le(t)+'"]';var c=o;switch(e){case"style":c=vi(t);break;case"script":c=bi(t)}Xe.has(c)||(t=v({rel:"preload",href:e==="image"&&a&&a.imageSrcSet?void 0:t,as:e},a),Xe.set(c,t),l.querySelector(o)!==null||e==="style"&&l.querySelector(Cl(c))||e==="script"&&l.querySelector(wl(c))||(e=l.createElement("link"),se(e,"link",t),It(e),l.head.appendChild(e)))}}function GS(t,e){Mn.m(t,e);var a=gi;if(a&&t){var l=e&&typeof e.as=="string"?e.as:"script",o='link[rel="modulepreload"][as="'+Le(l)+'"][href="'+Le(t)+'"]',c=o;switch(l){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":c=bi(t)}if(!Xe.has(c)&&(t=v({rel:"modulepreload",href:t},e),Xe.set(c,t),a.querySelector(o)===null)){switch(l){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(a.querySelector(wl(c)))return}l=a.createElement("link"),se(l,"link",t),It(l),a.head.appendChild(l)}}}function PS(t,e,a){Mn.S(t,e,a);var l=gi;if(l&&t){var o=ka(l).hoistableStyles,c=vi(t);e=e||"default";var p=o.get(c);if(!p){var b={loading:0,preload:null};if(p=l.querySelector(Cl(c)))b.loading=5;else{t=v({rel:"stylesheet",href:t,"data-precedence":e},a),(a=Xe.get(c))&&dc(t,a);var E=p=l.createElement("link");It(E),se(E,"link",t),E._p=new Promise(function(z,H){E.onload=z,E.onerror=H}),E.addEventListener("load",function(){b.loading|=1}),E.addEventListener("error",function(){b.loading|=2}),b.loading|=4,ur(p,e,l)}p={type:"stylesheet",instance:p,count:1,state:b},o.set(c,p)}}}function KS(t,e){Mn.X(t,e);var a=gi;if(a&&t){var l=ka(a).hoistableScripts,o=bi(t),c=l.get(o);c||(c=a.querySelector(wl(o)),c||(t=v({src:t,async:!0},e),(e=Xe.get(o))&&mc(t,e),c=a.createElement("script"),It(c),se(c,"link",t),a.head.appendChild(c)),c={type:"script",instance:c,count:1,state:null},l.set(o,c))}}function QS(t,e){Mn.M(t,e);var a=gi;if(a&&t){var l=ka(a).hoistableScripts,o=bi(t),c=l.get(o);c||(c=a.querySelector(wl(o)),c||(t=v({src:t,async:!0,type:"module"},e),(e=Xe.get(o))&&mc(t,e),c=a.createElement("script"),It(c),se(c,"link",t),a.head.appendChild(c)),c={type:"script",instance:c,count:1,state:null},l.set(o,c))}}function sy(t,e,a,l){var o=(o=ct.current)?or(o):null;if(!o)throw Error(r(446));switch(t){case"meta":case"title":return null;case"style":return typeof a.precedence=="string"&&typeof a.href=="string"?(e=vi(a.href),a=ka(o).hoistableStyles,l=a.get(e),l||(l={type:"style",instance:null,count:0,state:null},a.set(e,l)),l):{type:"void",instance:null,count:0,state:null};case"link":if(a.rel==="stylesheet"&&typeof a.href=="string"&&typeof a.precedence=="string"){t=vi(a.href);var c=ka(o).hoistableStyles,p=c.get(t);if(p||(o=o.ownerDocument||o,p={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},c.set(t,p),(c=o.querySelector(Cl(t)))&&!c._p&&(p.instance=c,p.state.loading=5),Xe.has(t)||(a={rel:"preload",as:"style",href:a.href,crossOrigin:a.crossOrigin,integrity:a.integrity,media:a.media,hrefLang:a.hrefLang,referrerPolicy:a.referrerPolicy},Xe.set(t,a),c||ZS(o,t,a,p.state))),e&&l===null)throw Error(r(528,""));return p}if(e&&l!==null)throw Error(r(529,""));return null;case"script":return e=a.async,a=a.src,typeof a=="string"&&e&&typeof e!="function"&&typeof e!="symbol"?(e=bi(a),a=ka(o).hoistableScripts,l=a.get(e),l||(l={type:"script",instance:null,count:0,state:null},a.set(e,l)),l):{type:"void",instance:null,count:0,state:null};default:throw Error(r(444,t))}}function vi(t){return'href="'+Le(t)+'"'}function Cl(t){return'link[rel="stylesheet"]['+t+"]"}function ry(t){return v({},t,{"data-precedence":t.precedence,precedence:null})}function ZS(t,e,a,l){t.querySelector('link[rel="preload"][as="style"]['+e+"]")?l.loading=1:(e=t.createElement("link"),l.preload=e,e.addEventListener("load",function(){return l.loading|=1}),e.addEventListener("error",function(){return l.loading|=2}),se(e,"link",a),It(e),t.head.appendChild(e))}function bi(t){return'[src="'+Le(t)+'"]'}function wl(t){return"script[async]"+t}function oy(t,e,a){if(e.count++,e.instance===null)switch(e.type){case"style":var l=t.querySelector('style[data-href~="'+Le(a.href)+'"]');if(l)return e.instance=l,It(l),l;var o=v({},a,{"data-href":a.href,"data-precedence":a.precedence,href:null,precedence:null});return l=(t.ownerDocument||t).createElement("style"),It(l),se(l,"style",o),ur(l,a.precedence,t),e.instance=l;case"stylesheet":o=vi(a.href);var c=t.querySelector(Cl(o));if(c)return e.state.loading|=4,e.instance=c,It(c),c;l=ry(a),(o=Xe.get(o))&&dc(l,o),c=(t.ownerDocument||t).createElement("link"),It(c);var p=c;return p._p=new Promise(function(b,E){p.onload=b,p.onerror=E}),se(c,"link",l),e.state.loading|=4,ur(c,a.precedence,t),e.instance=c;case"script":return c=bi(a.src),(o=t.querySelector(wl(c)))?(e.instance=o,It(o),o):(l=a,(o=Xe.get(c))&&(l=v({},a),mc(l,o)),t=t.ownerDocument||t,o=t.createElement("script"),It(o),se(o,"link",l),t.head.appendChild(o),e.instance=o);case"void":return null;default:throw Error(r(443,e.type))}else e.type==="stylesheet"&&(e.state.loading&4)===0&&(l=e.instance,e.state.loading|=4,ur(l,a.precedence,t));return e.instance}function ur(t,e,a){for(var l=a.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),o=l.length?l[l.length-1]:null,c=o,p=0;p<l.length;p++){var b=l[p];if(b.dataset.precedence===e)c=b;else if(c!==o)break}c?c.parentNode.insertBefore(t,c.nextSibling):(e=a.nodeType===9?a.head:a,e.insertBefore(t,e.firstChild))}function dc(t,e){t.crossOrigin==null&&(t.crossOrigin=e.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=e.referrerPolicy),t.title==null&&(t.title=e.title)}function mc(t,e){t.crossOrigin==null&&(t.crossOrigin=e.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=e.referrerPolicy),t.integrity==null&&(t.integrity=e.integrity)}var cr=null;function uy(t,e,a){if(cr===null){var l=new Map,o=cr=new Map;o.set(a,l)}else o=cr,l=o.get(a),l||(l=new Map,o.set(a,l));if(l.has(t))return l;for(l.set(t,null),a=a.getElementsByTagName(t),o=0;o<a.length;o++){var c=a[o];if(!(c[Yi]||c[ne]||t==="link"&&c.getAttribute("rel")==="stylesheet")&&c.namespaceURI!=="http://www.w3.org/2000/svg"){var p=c.getAttribute(e)||"";p=t+p;var b=l.get(p);b?b.push(c):l.set(p,[c])}}return l}function cy(t,e,a){t=t.ownerDocument||t,t.head.insertBefore(a,e==="title"?t.querySelector("head > title"):null)}function FS(t,e,a){if(a===1||e.itemProp!=null)return!1;switch(t){case"meta":case"title":return!0;case"style":if(typeof e.precedence!="string"||typeof e.href!="string"||e.href==="")break;return!0;case"link":if(typeof e.rel!="string"||typeof e.href!="string"||e.href===""||e.onLoad||e.onError)break;switch(e.rel){case"stylesheet":return t=e.disabled,typeof e.precedence=="string"&&t==null;default:return!0}case"script":if(e.async&&typeof e.async!="function"&&typeof e.async!="symbol"&&!e.onLoad&&!e.onError&&e.src&&typeof e.src=="string")return!0}return!1}function fy(t){return!(t.type==="stylesheet"&&(t.state.loading&3)===0)}function JS(t,e,a,l){if(a.type==="stylesheet"&&(typeof l.media!="str
10ing"||matchMedia(l.media).matches!==!1)&&(a.state.loading&4)===0){if(a.instance===null){var o=vi(l.href),c=e.querySelector(Cl(o));if(c){e=c._p,e!==null&&typeof e=="object"&&typeof e.then=="function"&&(t.count++,t=fr.bind(t),e.then(t,t)),a.state.loading|=4,a.instance=c,It(c);return}c=e.ownerDocument||e,l=ry(l),(o=Xe.get(o))&&dc(l,o),c=c.createElement("link"),It(c);var p=c;p._p=new Promise(function(b,E){p.onload=b,p.onerror=E}),se(c,"link",l),a.instance=c}t.stylesheets===null&&(t.stylesheets=new Map),t.stylesheets.set(a,e),(e=a.state.preload)&&(a.state.loading&3)===0&&(t.count++,a=fr.bind(t),e.addEventListener("load",a),e.addEventListener("error",a))}}var pc=0;function $S(t,e){return t.stylesheets&&t.count===0&&dr(t,t.stylesheets),0<t.count||0<t.imgCount?function(a){var l=setTimeout(function(){if(t.stylesheets&&dr(t,t.stylesheets),t.unsuspend){var c=t.unsuspend;t.unsuspend=null,c()}},6e4+e);0<t.imgBytes&&pc===0&&(pc=62500*_S());var o=setTimeout(function(){if(t.waitingForImages=!1,t.count===0&&(t.stylesheets&&dr(t,t.stylesheets),t.unsuspend)){var c=t.unsuspend;t.unsuspend=null,c()}},(t.imgBytes>pc?50:800)+e);return t.unsuspend=a,function(){t.unsuspend=null,clearTimeout(l),clearTimeout(o)}}:null}function fr(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)dr(this,this.stylesheets);else if(this.unsuspend){var t=this.unsuspend;this.unsuspend=null,t()}}}var hr=null;function dr(t,e){t.stylesheets=null,t.unsuspend!==null&&(t.count++,hr=new Map,e.forEach(WS,t),hr=null,fr.call(t))}function WS(t,e){if(!(e.state.loading&4)){var a=hr.get(t);if(a)var l=a.get(null);else{a=new Map,hr.set(t,a);for(var o=t.querySelectorAll("link[data-precedence],style[data-precedence]"),c=0;c<o.length;c++){var p=o[c];(p.nodeName==="LINK"||p.getAttribute("media")!=="not all")&&(a.set(p.dataset.precedence,p),l=p)}l&&a.set(null,l)}o=e.instance,p=o.getAttribute("data-precedence"),c=a.get(p)||l,c===l&&a.set(null,o),a.set(p,o),this.count++,l=fr.bind(this),o.addEventListener("load",l),o.addEventListener("error",l),c?c.parentNode.insertBefore(o,c.nextSibling):(t=t.nodeType===9?t.head:t,t.insertBefore(o,t.firstChild)),e.state.loading|=4}}var Dl={$$typeof:B,Provider:null,Consumer:null,_currentValue:Q,_currentValue2:Q,_threadCount:0};function IS(t,e,a,l,o,c,p,b,E){this.tag=1,this.containerInfo=t,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=uo(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=uo(0),this.hiddenUpdates=uo(null),this.identifierPrefix=l,this.onUncaughtError=o,this.onCaughtError=c,this.onRecoverableError=p,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=E,this.incompleteTransitions=new Map}function hy(t,e,a,l,o,c,p,b,E,z,H,q){return t=new IS(t,e,a,p,E,z,H,q,b),e=1,c===!0&&(e|=24),c=we(3,null,null,e),t.current=c,c.stateNode=t,e=Zo(),e.refCount++,t.pooledCache=e,e.refCount++,c.memoizedState={element:l,isDehydrated:a,cache:e},Wo(c),t}function dy(t){return t?(t=Ja,t):Ja}function my(t,e,a,l,o,c){o=dy(o),l.context===null?l.context=o:l.pendingContext=o,l=Xn(e),l.payload={element:a},c=c===void 0?null:c,c!==null&&(l.callback=c),a=Gn(t,l,e),a!==null&&(Se(a,t,e),ll(a,t,e))}function py(t,e){if(t=t.memoizedState,t!==null&&t.dehydrated!==null){var a=t.retryLane;t.retryLane=a!==0&&a<e?a:e}}function yc(t,e){py(t,e),(t=t.alternate)&&py(t,e)}function yy(t){if(t.tag===13||t.tag===31){var e=ga(t,67108864);e!==null&&Se(e,t,67108864),yc(t,67108864)}}function gy(t){if(t.tag===13||t.tag===31){var e=_e();e=co(e);var a=ga(t,e);a!==null&&Se(a,t,e),yc(t,e)}}var mr=!0;function tx(t,e,a,l){var o=U.T;U.T=null;var c=G.p;try{G.p=2,gc(t,e,a,l)}finally{G.p=c,U.T=o}}function ex(t,e,a,l){var o=U.T;U.T=null;var c=G.p;try{G.p=8,gc(t,e,a,l)}finally{G.p=c,U.T=o}}function gc(t,e,a,l){if(mr){var o=vc(l);if(o===null)ac(t,e,l,pr,a),by(t,l);else if(ax(o,t,e,a,l))l.stopPropagation();else if(by(t,l),e&4&&-1<nx.indexOf(t)){for(;o!==null;){var c=Ha(o);if(c!==null)switch(c.tag){case 3:if(c=c.stateNode,c.current.memoizedState.isDehydrated){var p=ha(c.pendingLanes);if(p!==0){var b=c;for(b.pendingLanes|=2,b.entangledLanes|=2;p;){var E=1<<31-Ae(p);b.entanglements[1]|=E,p&=~E}rn(c),(Tt&6)===0&&($s=Te()+500,xl(0))}}break;case 31:case 13:b=ga(c,2),b!==null&&Se(b,c,2),Is(),yc(c,2)}if(c=vc(l),c===null&&ac(t,e,l,pr,a),c===o)break;o=c}o!==null&&l.stopPropagation()}else ac(t,e,l,null,a)}}function vc(t){return t=So(t),bc(t)}var pr=null;function bc(t){if(pr=null,t=Ua(t),t!==null){var e=f(t);if(e===null)t=null;else{var a=e.tag;if(a===13){if(t=h(e),t!==null)return t;t=null}else if(a===31){if(t=d(e),t!==null)return t;t=null}else if(a===3){if(e.stateNode.current.memoizedState.isDehydrated)return e.tag===3?e.stateNode.containerInfo:null;t=null}else e!==t&&(t=null)}}return pr=t,null}function vy(t){switch(t){case"beforetoggle":case"cancel":case"click":case"close"
vendor: 6,256 bytes, line 10
10: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(q1()){case wh:return 2;case Dh:return 8;case is:case Y1:return 32;case Mh:return 268435456;default:return 32}default:return 32}}var Sc=!1,ea=null,na=null,aa=null,Ml=new Map,Rl=new Map,ia=[],nx="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 by(t,e){switch(t){case"focusin":case"focusout":ea=null;break;case"dragenter":case"dragleave":na=null;break;case"mouseover":case"mouseout":aa=null;break;case"pointerover":case"pointerout":Ml.delete(e.pointerId);break;case"gotpointercapture":case"lostpointercapture":Rl.delete(e.pointerId)}}function Ol(t,e,a,l,o,c){return t===null||t.nativeEvent!==c?(t={blockedOn:e,domEventName:a,eventSystemFlags:l,nativeEvent:c,targetContainers:[o]},e!==null&&(e=Ha(e),e!==null&&yy(e)),t):(t.eventSystemFlags|=l,e=t.targetContainers,o!==null&&e.indexOf(o)===-1&&e.push(o),t)}function ax(t,e,a,l,o){switch(e){case"focusin":return ea=Ol(ea,t,e,a,l,o),!0;case"dragenter":return na=Ol(na,t,e,a,l,o),!0;case"mouseover":return aa=Ol(aa,t,e,a,l,o),!0;case"pointerover":var c=o.pointerId;return Ml.set(c,Ol(Ml.get(c)||null,t,e,a,l,o)),!0;case"gotpointercapture":return c=o.pointerId,Rl.set(c,Ol(Rl.get(c)||null,t,e,a,l,o)),!0}return!1}function Sy(t){var e=Ua(t.target);if(e!==null){var a=f(e);if(a!==null){if(e=a.tag,e===13){if(e=h(a),e!==null){t.blockedOn=e,Nh(t.priority,function(){gy(a)});return}}else if(e===31){if(e=d(a),e!==null){t.blockedOn=e,Nh(t.priority,function(){gy(a)});return}}else if(e===3&&a.stateNode.current.memoizedState.isDehydrated){t.blockedOn=a.tag===3?a.stateNode.containerInfo:null;return}}}t.blockedOn=null}function yr(t){if(t.blockedOn!==null)return!1;for(var e=t.targetContainers;0<e.length;){var a=vc(t.nativeEvent);if(a===null){a=t.nativeEvent;var l=new a.constructor(a.type,a);bo=l,a.target.dispatchEvent(l),bo=null}else return e=Ha(a),e!==null&&yy(e),t.blockedOn=a,!1;e.shift()}return!0}function xy(t,e,a){yr(t)&&a.delete(e)}function ix(){Sc=!1,ea!==null&&yr(ea)&&(ea=null),na!==null&&yr(na)&&(na=null),aa!==null&&yr(aa)&&(aa=null),Ml.forEach(xy),Rl.forEach(xy)}function gr(t,e){t.blockedOn===e&&(t.blockedOn=null,Sc||(Sc=!0,n.unstable_scheduleCallback(n.unstable_NormalPriority,ix)))}var vr=null;function Ty(t){vr!==t&&(vr=t,n.unstable_scheduleCallback(n.unstable_NormalPriority,function(){vr===t&&(vr=null);for(var e=0;e<t.length;e+=3){var a=t[e],l=t[e+1],o=t[e+2];if(typeof l!="function"){if(bc(l||a)===null)continue;break}var c=Ha(a);c!==null&&(t.splice(e,3),e-=3,vu(c,{pending:!0,data:o,method:a.method,action:l},l,o))}}))}function Si(t){function e(E){return gr(E,t)}ea!==null&&gr(ea,t),na!==null&&gr(na,t),aa!==null&&gr(aa,t),Ml.forEach(e),Rl.forEach(e);for(var a=0;a<ia.length;a++){var l=ia[a];l.blockedOn===t&&(l.blockedOn=null)}for(;0<ia.length&&(a=ia[0],a.blockedOn===null);)Sy(a),a.blockedOn===null&&ia.shift();if(a=(t.ownerDocument||t).$$reactFormReplay,a!=null)for(l=0;l<a.length;l+=3){var o=a[l],c=a[l+1],p=o[me]||null;if(typeof c=="function")p||Ty(a);else if(p){var b=null;if(c&&c.hasAttribute("formAction")){if(o=c,p=c[me]||null)b=p.formAction;else if(bc(o)!==null)continue}else b=p.action;typeof b=="function"?a[l+1]=b:(a.splice(l,3),l-=3),Ty(a)}}}function Ey(){function t(c){c.canIntercept&&c.info==="react-transition"&&c.intercept({handler:function(){return new Promise(function(p){return o=p})},focusReset:"manual",scroll:"manual"})}function e(){o!==null&&(o(),o=null),l||setTimeout(a,20)}function a(){if(!l&&!navigation.transition){var c=navigation.currentEntry;c&&c.url!=null&&navigation.navigate(c.url,{state:c.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var l=!1,o=null;return navigation.addEventListener("navigate",t),navigation.addEventListener("navigatesuccess",e),navigation.addEventListener("navigateerror",e),setTimeout(a,100),function(){l=!0,navigation.removeEventListener("navigate",t),navigation.removeEventListener("navigatesuccess",e),navigation.removeEventListener("navigateerror",e),o!==null&&(o(),o=null)}}}function xc(t){this._internalRoot=t}br.prototype.render=xc.prototype.render=function(t){var e=this._internalRoot;if(e===null)throw Error(r(409));var a=e.current,l=_e();my(a,l,t,e,null,null)},br.prototype.unmount=xc.prototype.unmount=function(){var t=this._internalRoot;if(t!==null){this._internalRoot=null;var e=t.containerInfo;my(t.current,2,null,t,null,null),Is(),e[Ba]=null}};function br(t){this._internalRoot=t}br.prototype.unstable_scheduleHydration=function(t){if(t){var e=jh();t={blockedOn:null,target:t,priority:e};for(var a=0;a<ia.length&&e!==0&&e<ia[a].priority;a++);ia.splice(a,0,t),a===0&&Sy(t)}};var Ay=i.version;if(Ay!=="19.2.0")throw Error(r(527,Ay,"19.2.0"));G.findDOMNode=function(t){var e=t._reactInternals;if(e===void 0)throw typeof t.render=="function"?Error(r(188)):(t=Object.keys(t).join(","),Error(r(268,t)));return t=m(e),t=t!==null?g(t):null,t=t===null?null:t.stateNode,t};var lx={bundleType:0,version:"19.2.0",rendererPackageName:"react-dom",currentDispatcherRef:U,reconcilerVersion:"19.2.0"};
10if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Sr=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Sr.isDisabled&&Sr.supportsFiber)try{Hi=Sr.inject(lx),Ee=Sr}catch{}}return zl.createRoot=function(t,e){if(!u(t))throw Error(r(299));var a=!1,l="",o=_m,c=zm,p=jm;return e!=null&&(e.unstable_strictMode===!0&&(a=!0),e.identifierPrefix!==void 0&&(l=e.identifierPrefix),e.onUncaughtError!==void 0&&(o=e.onUncaughtError),e.onCaughtError!==void 0&&(c=e.onCaughtError),e.onRecoverableError!==void 0&&(p=e.onRecoverableError)),e=hy(t,1,!1,null,null,a,l,null,o,c,p,Ey),t[Ba]=e.current,nc(t),new xc(e)},zl.hydrateRoot=function(t,e,a){if(!u(t))throw Error(r(299));var l=!1,o="",c=_m,p=zm,b=jm,E=null;return a!=null&&(a.unstable_strictMode===!0&&(l=!0),a.identifierPrefix!==void 0&&(o=a.identifierPrefix),a.onUncaughtError!==void 0&&(c=a.onUncaughtError),a.onCaughtError!==void 0&&(p=a.onCaughtError),a.onRecoverableError!==void 0&&(b=a.onRecoverableError),a.formState!==void 0&&(E=a.formState)),e=hy(t,1,!0,e,a??null,l,o,E,c,p,b,Ey),e.context=dy(null),a=e.current,l=_e(),l=co(l),o=Xn(l),o.callback=null,Gn(a,o,l),a=l,e.current.lanes=a,qi(e,a),rn(e),t[Ba]=e.current,nc(t),new br(e)},zl.version="19.2.0",zl}var Ny;function yx(){if(Ny)return Ac.exports;Ny=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(),Ac.exports=px(),Ac.exports}var gx=yx();const vx=x0(gx);var Ly="popstate";function bx(n={}){function i(r,u){let{pathname:f,search:h,hash:d}=r.location;return nf("",{pathname:f,search:h,hash:d},u.state&&u.state.usr||null,u.state&&u.state.key||"default")}function s(r,u){return typeof u=="string"?u:Gl(u)}return xx(i,s,null,n)}function Vt(n,i){if(n===!1||n===null||typeof n>"u")throw new Error(i)}function je(n,i){if(!n){typeof console<"u"&&console.warn(i);try{throw new Error(i)}catch{}}}function Sx(){return Math.random().toString(36).substring(2,10)}function Vy(n,i){return{usr:n.state,key:n.key,idx:i}}function nf(n,i,s=null,r){return{pathname:typeof n=="string"?n:n.pathname,search:"",hash:"",...typeof i=="string"?zi(i):i,state:s,key:i&&i.key||r||Sx()}}function Gl({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 zi(n){let i={};if(n){let s=n.indexOf("#");s>=0&&(i.hash=n.substring(s),n=n.substring(0,s));let r=n.indexOf("?");r>=0&&(i.search=n.substring(r),n=n.substring(0,r)),n&&(i.pathname=n)}return i}function xx(n,i,s,r={}){let{window:u=document.defaultView,v5Compat:f=!1}=r,h=u.history,d="POP",y=null,m=g();m==null&&(m=0,h.replaceState({...h.state,idx:m},""));function g(){return(h.state||{idx:null}).idx}function v(){d="POP";let R=g(),j=R==null?null:R-m;m=R,y&&y({action:d,location:O.location,delta:j})}function S(R,j){d="PUSH";let L=nf(O.location,R,j);m=g()+1;let B=Vy(L,m),X=O.createHref(L);try{h.pushState(B,"",X)}catch(K){if(K instanceof DOMException&&K.name==="DataCloneError")throw K;u.location.assign(X)}f&&y&&y({action:d,location:O.location,delta:1})}function w(R,j){d="REPLACE";let L=nf(O.location,R,j);m=g();let B=Vy(L,m),X=O.createHref(L);h.replaceState(B,"",X),f&&y&&y({action:d,location:O.location,delta:0})}function D(R){return Tx(R)}let O={get action(){return d},get location(){return n(u,h)},listen(R){if(y)throw new Error("A history only accepts one active listener");return u.addEventListener(Ly,v),y=R,()=>{u.removeEventListener(Ly,v),y=null}},createHref(R){return i(u,R)},createURL:D,encodeLocation(R){let j=D(R);return{pathname:j.pathname,search:j.search,hash:j.hash}},push:S,replace:w,go(R){return h.go(R)}};return O}function Tx(n,i=!1){let s="http://localhost";
10typeof window<"u"&&(s=window.location.origin!=="null"?window.location.origin:window.location.href),Vt(s,"No window.location.(origin|href) available to create URL");let r=typeof n=="string"?n:Gl(n);return r=r.replace(/ $/,"%20"),!i&&r.startsWith("//")&&(r=s+r),new URL(r,s)}function T0(n,i,s="/"){return Ex(n,i,s,!1)}function Ex(n,i,s,r){let u=typeof i=="string"?zi(i):i,f=jn(u.pathname||"/",s);if(f==null)return null;let h=E0(n);Ax(h);let d=null;for(let y=0;d==null&&y<h.length;++y){let m=Lx(f);d=jx(h[y],m,r)}return d}function E0(n,i=[],s=[],r="",u=!1){let f=(h,d,y=u,m)=>{let g={relativePath:m===void 0?h.path||"":m,caseSensitive:h.caseSensitive===!0,childrenIndex:d,route:h};if(g.relativePath.startsWith("/")){if(!g.relativePath.startsWith(r)&&y)return;Vt(g.relativePath.startsWith(r),`Absolute route path "${g.relativePath}" nested under path "${r}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),g.relativePath=g.relativePath.slice(r.length)}let v=zn([r,g.relativePath]),S=s.concat(g);h.children&&h.children.length>0&&(Vt(h.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${v}".`),E0(h.children,i,S,v,y)),!(h.path==null&&!h.index)&&i.push({path:v,score:_x(v,h.index),routesMeta:S})};return n.forEach((h,d)=>{if(h.path===""||!h.path?.includes("?"))f(h,d);else for(let y of A0(h.path))f(h,d,!0,y)}),i}function A0(n){let i=n.split("/");if(i.length===0)return[];let[s,...r]=i,u=s.endsWith("?"),f=s.replace(/\?$/,"");if(r.length===0)return u?[f,""]:[f];let h=A0(r.join("/")),d=[];return d.push(...h.map(y=>y===""?f:[f,y].join("/"))),u&&d.push(...h),d.map(y=>n.startsWith("/")&&y===""?"/":y)}function Ax(n){n.sort((i,s)=>i.score!==s.score?s.score-i.score:zx(i.routesMeta.map(r=>r.childrenIndex),s.routesMeta.map(r=>r.childrenIndex)))}var Cx=/^:[\w-]+$/,wx=3,Dx=2,Mx=1,Rx=10,Ox=-2,By=n=>n==="*";function _x(n,i){let s=n.split("/"),r=s.length;return s.some(By)&&(r+=Ox),i&&(r+=Dx),s.filter(u=>!By(u)).reduce((u,f)=>u+(Cx.test(f)?wx:f===""?Mx:Rx),r)}function zx(n,i){return n.length===i.length&&n.slice(0,-1).every((r,u)=>r===i[u])?n[n.length-1]-i[i.length-1]:0}function jx(n,i,s=!1){let{routesMeta:r}=n,u={},f="/",h=[];for(let d=0;d<r.length;++d){let y=r[d],m=d===r.length-1,g=f==="/"?i:i.slice(f.length)||"/",v=Ur({path:y.relativePath,caseSensitive:y.caseSensitive,end:m},g),S=y.route;if(!v&&m&&s&&!r[r.length-1].route.index&&(v=Ur({path:y.relativePath,caseSensitive:y.caseSensitive,end:!1},g)),!v)return null;
10Object.assign(u,v.params),h.push({params:u,pathname:zn([f,v.pathname]),pathnameBase:kx(zn([f,v.pathnameBase])),route:S}),v.pathnameBase!=="/"&&(f=zn([f,v.pathnameBase]))}return h}function Ur(n,i){typeof n=="string"&&(n={path:n,caseSensitive:!1,end:!0});let[s,r]=Nx(n.path,n.caseSensitive,n.end),u=i.match(s);if(!u)return null;let f=u[0],h=f.replace(/(.)\/+$/,"$1"),d=u.slice(1);return{params:r.reduce((m,{paramName:g,isOptional:v},S)=>{if(g==="*"){let D=d[S]||"";h=f.slice(0,f.length-D.length).replace(/(.)\/+$/,"$1")}const w=d[S];return v&&!w?m[g]=void 0:m[g]=(w||"").replace(/%2F/g,"/"),m},{}),pathname:f,pathnameBase:h,pattern:n}}function Nx(n,i=!1,s=!0){je(n==="*"||!n.endsWith("*")||n.endsWith("/*"),`Route path "${n}" will be treated as if it were "${n.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${n.replace(/\*$/,"/*")}".`);let r=[],u="^"+n.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(h,d,y)=>(r.push({paramName:d,isOptional:y!=null}),y?"/?([^\\/]+)?":"/([^\\/]+)")).replace(/\/([\w-]+)\?(\/|$)/g,"(/$1)?$2");return n.endsWith("*")?(r.push({paramName:"*"}),u+=n==="*"||n==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):s?u+="\\/*$":n!==""&&n!=="/"&&(u+="(?:(?=\\/|$))"),[new RegExp(u,i?void 0:"i"),r]}function Lx(n){try{return n.split("/").map(i=>decodeURIComponent(i).replace(/\//g,"%2F")).join("/")}catch(i){return je(!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 jn(n,i){if(i==="/")return n;if(!n.toLowerCase().startsWith(i.toLowerCase()))return null;let s=i.endsWith("/")?i.length-1:i.length,r=n.charAt(s);return r&&r!=="/"?null:n.slice(s)||"/"}var Vx=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Bx=n=>Vx.test(n);function Ux(n,i="/"){let{pathname:s,search:r="",hash:u=""}=typeof n=="string"?zi(n):n,f;if(s)if(Bx(s))f=s;else{if(s.includes("//")){let h=s;s=s.replace(/\/\/+/g,"/"),je(!1,`Pathnames cannot have embedded double slashes - normalizing ${h} -> ${s}`)}s.startsWith("/")?f=Uy(s.substring(1),"/"):f=Uy(s,i)}else f=i;return{pathname:f,search:qx(r),hash:Yx(u)}}function Uy(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 Mc(n,i,s,r){return`Cannot include a '${n}' character in a manually specified \`to.${i}\` field [${JSON.stringify(r)}].  Please separate it out to the \`to.${s}\` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.`}function Hx(n){return n.filter((i,s)=>s===0||i.route.path&&i.route.path.length>0)}function Vf(n){let i=Hx(n);return i.map((s,r)=>r===i.length-1?s.pathname:s.pathnameBase)}function Bf(n,i,s,r=!1){let u;typeof n=="string"?u=zi(n):(u={...n},Vt(!u.pathname||!u.pathname.includes("?"),Mc("?","pathname","search",u)),Vt(!u.pathname||!u.pathname.includes("#"),Mc("#","pathname","hash",u)),Vt(!u.search||!u.search.includes("#"),Mc("#","search","hash",u)));let f=n===""||u.pathname==="",h=f?"/":u.pathname,d;if(h==null)d=s;else{let v=i.length-1;if(!r&&h.startsWith("..")){let S=h.split("/");for(;S[0]==="..";)S.shift(),v-=1;u.pathname=S.join("/")}d=v>=0?i[v]:"/"}let y=Ux(u,d),m=h&&h!=="/"&&h.endsWith("/"),g=(f||h===".")&&s.endsWith("/");return!y.pathname.endsWith("/")&&(m||g)&&(y.pathname+="/"),y}var zn=n=>n.join("/").replace(/\/\/+/g,"/"),kx=n=>n.replace(/\/+$/,"").replace(/^\/*/,"/"),qx=n=>!n||n==="?"?"":n.startsWith("?")?n:"?"+n,Yx=n=>!n||n==="#"?"":n.startsWith("#")?n:"#"+n;function Xx(n){return n!=null&&typeof n.status=="number"&&typeof n.statusText=="string"&&typeof n.internal=="boolean"&&"data"in n}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");var C0=["POST","PUT","PATCH","DELETE"];new Set(C0);var Gx=["GET",...C0];new Set(Gx);var ji=x.createContext(null);ji.displayName="DataRouter";var Jr=x.createContext(null);Jr.displayName="DataRouterState";x.createContext(!1);var w0=x.createContext({isTransitioning:!1});w0.displayName="ViewTransition";var Px=x.createContext(new Map);Px.displayName="Fetchers";var Kx=x.createContext(null);Kx.displayName="Await";var en=x.createContext(null);en.displayName="Navigation";var $l=x.createContext(null);$l.displayName="Location";var Ke=x.createContext({outlet:null,matches:[],isDataRoute:!1});Ke.displayName="Route";var Uf=x.createContext(null);Uf.displayName="RouteError";function Qx(n,{relative:i}={}){Vt(Ni(),"useHref() may be used only in the context of a <Router> component.");let{basename:s,navigator:r}=x.useContext(en),{hash:u,pathname:f,search:h}=Wl(n,{relative:i}),d=f;return s!=="/"&&(d=f==="/"?s:zn([s,f])),r.createHref({pathname:d,search:h,hash:u})}function Ni(){return x.useContext($l)!=null}function Nn(){return Vt(Ni(),"useLocation() may be used only in the context of a <Router> component."),x.useContext($l).location}var D0="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function M0(n){x.useContext(en).static||x.useLayoutEffect(n)}function Hf(){let{isDataRoute:n}=x.useContext(Ke);return n?oT():Zx()}function Zx(){Vt(Ni(),"useNavigate() may be used only in the context of a <Router> component.");let n=x.useContext(ji),{basename:i,navigator:s}=x.useContext(en),{matches:r}=x.useContext(Ke),{pathname:u}=Nn(),f=JSON.stringify(Vf(r)),h=x.useRef(!1);return M0(()=>{h.current=!0}),x.useCallback((y,m={})=>
10{if(je(h.current,D0),!h.current)return;if(typeof y=="number"){s.go(y);return}let g=Bf(y,JSON.parse(f),u,m.relative==="path");n==null&&i!=="/"&&(g.pathname=g.pathname==="/"?i:zn([i,g.pathname])),(m.replace?s.replace:s.push)(g,m.state,m)},[i,s,f,u,n])}var Fx=x.createContext(null);function Jx(n){let i=x.useContext(Ke).outlet;return x.useMemo(()=>i&&x.createElement(Fx.Provider,{value:n},i),[i,n])}function DD(){let{matches:n}=x.useContext(Ke),i=n[n.length-1];return i?i.params:{}}function Wl(n,{relative:i}={}){let{matches:s}=x.useContext(Ke),{pathname:r}=Nn(),u=JSON.stringify(Vf(s));return x.useMemo(()=>Bf(n,JSON.parse(u),r,i==="path"),[n,u,r,i])}function $x(n,i){return R0(n,i)}function R0(n,i,s,r,u){Vt(Ni(),"useRoutes() may be used only in the context of a <Router> component.");let{navigator:f}=x.useContext(en),{matches:h}=x.useContext(Ke),d=h[h.length-1],y=d?d.params:{},m=d?d.pathname:"/",g=d?d.pathnameBase:"/",v=d&&d.route;{let L=v&&v.path||"";O0(m,!v||L.endsWith("*")||L.endsWith("*?"),`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${m}" (under <Route path="${L}">) 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.
11
12Please change the parent <Route path="${L}"> to <Route path="${L==="/"?"*":`${L}/*`}">.`)}let S=Nn(),w;if(i){let L=typeof i=="string"?zi(i):i;Vt(g==="/"||L.pathname?.startsWith(g),`When overriding the location using \`<Routes location>\` or \`useRoutes(routes, location)\`, the location pathname must begin with the portion of the URL pathname that was matched by all parent routes. The current pathname base is "${g}" but pathname "${L.pathname}" was given in the \`location\` prop.`),w=L}else w=S;let D=w.pathname||"/",O=D;if(g!=="/"){let L=g.replace(/^\//,"").split("/");O="/"+D.replace(/^\//,"").split("/").slice(L.length).join("/")}let R=T0(n,{pathname:O});je(v||R!=null,`No routes matched location "${w.pathname}${w.search}${w.hash}" `),je(R==null||R[R.length-1].route.element!==void 0||R[R.length-1].route.Component!==void 0||R[R.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 j=nT(R&&R.map(L=>Object.assign({},L,{params:Object.assign({},y,L.params),pathname:zn([g,f.encodeLocation?f.encodeLocation(L.pathname.replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:L.pathname]),pathnameBase:L.pathnameBase==="/"?g:zn([g,f.encodeLocation?f.encodeLocation(L.pathnameBase.replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:L.pathnameBase])})),h,s,r,u);return i&&j?x.createElement($l.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",...w},navigationType:"POP"}},j):j}function Wx(){let n=rT(),i=Xx(n)?`${n.status} ${n.statusText}`:n instanceof Error?n.message:JSON.stringify(n),s=n instanceof Error?n.stack:null,r="rgba(200,200,200, 0.5)",u={padding:"0.5rem",backgroundColor:r},f={padding:"2px 4px",backgroundColor:r},h=null;return console.error("Error handled by React Router default ErrorBoundary:",n),h=x.createElement(x.Fragment,null,x.createElement("p",null,"💿 Hey developer 👋"),x.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",x.createElement("code",{style:f},"ErrorBoundary")," or"," ",x.createElement("code",{style:f},"errorElement")," prop on your route.")),x.createElement(x.Fragment,null,x.createElement("h2",null,"Unexpected Application Error!"),x.createElement("h3",{style:{fontStyle:"italic"}},i),s?x.createElement("pre",{style:u},s):null,h)}var Ix=x.createElement(Wx,null),tT=class extends x.Component{constructor(n){super(n),this.state={location:n.location,revalidation:n.revalidation,error:n.error}}static getDerivedStateFromError(n){return{error:n}}static getDerivedStateFromProps(n,i){return i.location!==n.location||i.revalidation!=="idle"&&n.revalidation==="idle"?{error:n.error,location:n.location,revalidation:n.revalidation}:{error:n.error!==void 0?n.error:i.error,location:i.location,revalidation:n.revalidation||i.revalidation}}componentDidCatch(n,i){this.props.onError?this.props.onError(n,i):console.error("React Router caught the following error during render",n)}render(){return this.state.error!==void 0?x.createElement(Ke.Provider,{value:this.props.routeContext},x.createElement(Uf.Provider,{value:this.state.error,children:this.props.component})):this.props.children}};function eT({routeContext:n,match:i,children:s}){let r=x.useContext(ji);return r&&r.static&&r.staticContext&&(i.route.errorElement||i.route.ErrorBoundary)&&(r.staticContext._deepestRenderedBoundaryId=i.route.id),x.createElement(Ke.Provider,{value:n},s)}function nT(n,i=[],s=null,r=null,u=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 f=n,h=s?.errors;if(h!=null){let g=f.findIndex(v=>v.route.id&&h?.[v.route.id]!==void 0);Vt(g>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(h).join(",")}`),f=f.slice(0,Math.min(f.length,g+1))}let d=!1,y=-1;if(s)for(let g=0;g<f.length;g++){let v=f[g];if((v.route.HydrateFallback||v.route.hydrateFallbackElement)&&(y=g),v.route.id){let{loaderData:S,errors:w}
12=s,D=v.route.loader&&!S.hasOwnProperty(v.route.id)&&(!w||w[v.route.id]===void 0);if(v.route.lazy||D){d=!0,y>=0?f=f.slice(0,y+1):f=[f[0]];break}}}let m=s&&r?(g,v)=>{r(g,{location:s.location,params:s.matches?.[0]?.params??{},errorInfo:v})}:void 0;return f.reduceRight((g,v,S)=>{let w,D=!1,O=null,R=null;s&&(w=h&&v.route.id?h[v.route.id]:void 0,O=v.route.errorElement||Ix,d&&(y<0&&S===0?(O0("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),D=!0,R=null):y===S&&(D=!0,R=v.route.hydrateFallbackElement||null)));let j=i.concat(f.slice(0,S+1)),L=()=>{let B;return w?B=O:D?B=R:v.route.Component?B=x.createElement(v.route.Component,null):v.route.element?B=v.route.element:B=g,x.createElement(eT,{match:v,routeContext:{outlet:g,matches:j,isDataRoute:s!=null},children:B})};return s&&(v.route.ErrorBoundary||v.route.errorElement||S===0)?x.createElement(tT,{location:s.location,revalidation:s.revalidation,component:O,error:w,children:L(),routeContext:{outlet:null,matches:j,isDataRoute:!0},onError:m}):L()},null)}function kf(n){return`${n} must be used within a data router.  See https://reactrouter.com/en/main/routers/picking-a-router.`}function aT(n){let i=x.useContext(ji);return Vt(i,kf(n)),i}function iT(n){let i=x.useContext(Jr);return Vt(i,kf(n)),i}function lT(n){let i=x.useContext(Ke);return Vt(i,kf(n)),i}function qf(n){let i=lT(n),s=i.matches[i.matches.length-1];return Vt(s.route.id,`${n} can only be used on routes that contain a unique "id"`),s.route.id}function sT(){return qf("useRouteId")}function rT(){let n=x.useContext(Uf),i=iT("useRouteError"),s=qf("useRouteError");return n!==void 0?n:i.errors?.[s]}function oT(){let{router:n}=aT("useNavigate"),i=qf("useNavigate"),s=x.useRef(!1);return M0(()=>{s.current=!0}),x.useCallback(async(u,f={})=>{je(s.current,D0),s.current&&(typeof u=="number"?n.navigate(u):await n.navigate(u,{fromRouteId:i,...f}))},[n,i])}var Hy={};function O0(n,i,s){!i&&!Hy[n]&&(Hy[n]=!0,je(!1,s))}x.memo(uT);function uT({routes:n,future:i,state:s,unstable_onError:r}){return R0(n,void 0,s,r,i)}function MD({to:n,replace:i,state:s,relative:r}){Vt(Ni(),"<Navigate> may be used only in the context of a <Router> component.");let{static:u}=x.useContext(en);je(!u,"<Navigate> must not be used on the initial render in a <StaticRouter>. This is a no-op, but you should modify your code so the <Navigate> is only ever rendered in response to some user interaction or state change.");let{matches:f}=x.useContext(Ke),{pathname:h}=Nn(),d=Hf(),y=Bf(n,Vf(f),h,r==="path"),m=JSON.stringify(y);return x.useEffect(()=>{d(JSON.parse(m),{replace:i,state:s,relative:r})},[d,m,r,i,s]),null}function RD(n){return Jx(n.context)}function Ei(n){Vt(!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 cT({basename:n="/",children:i=null,location:s,navigationType:r="POP",navigator:u,static:f=!1}){Vt(!Ni(),"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let h=n.replace(/^\/*/,"/"),d=x.useMemo(()=>({basename:h,navigator:u,static:f,future:{}}),[h,u,f]);typeof s=="string"&&(s=zi(s));let{pathname:y="/",search:m="",hash:g="",state:v=null,key:S="default"}=s,w=x.useMemo(()=>{let D=jn(y,h);return D==null?null:{location:{pathname:D,search:m,hash:g,state:v,key:S},navigationType:r}},[h,y,m,g,v,S,r]);
12return je(w!=null,`<Router basename="${h}"> is not able to match the URL "${y}${m}${g}" because it does not start with the basename, so the <Router> won't render anything.`),w==null?null:x.createElement(en.Provider,{value:d},x.createElement($l.Provider,{children:i,value:w}))}function fT({children:n,location:i}){return $x(af(n),i)}function af(n,i=[]){let s=[];return x.Children.forEach(n,(r,u)=>{if(!x.isValidElement(r))return;let f=[...i,u];if(r.type===x.Fragment){s.push.apply(s,af(r.props.children,f));return}Vt(r.type===Ei,`[${typeof r.type=="string"?r.type:r.type.name}] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>`),Vt(!r.props.index||!r.props.children,"An index route cannot have child routes.");let h={id:r.props.id||f.join("-"),caseSensitive:r.props.caseSensitive,element:r.props.element,Component:r.props.Component,index:r.props.index,path:r.props.path,middleware:r.props.middleware,loader:r.props.loader,action:r.props.action,hydrateFallbackElement:r.props.hydrateFallbackElement,HydrateFallback:r.props.HydrateFallback,errorElement:r.props.errorElement,ErrorBoundary:r.props.ErrorBoundary,hasErrorBoundary:r.props.hasErrorBoundary===!0||r.props.ErrorBoundary!=null||r.props.errorElement!=null,shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle,lazy:r.props.lazy};r.props.children&&(h.children=af(r.props.children,f)),s.push(h)}),s}var Mr="get",Rr="application/x-www-form-urlencoded";function $r(n){return n!=null&&typeof n.tagName=="string"}function hT(n){return $r(n)&&n.tagName.toLowerCase()==="button"}function dT(n){return $r(n)&&n.tagName.toLowerCase()==="form"}function mT(n){return $r(n)&&n.tagName.toLowerCase()==="input"}function pT(n){return!!(n.metaKey||n.altKey||n.ctrlKey||n.shiftKey)}function yT(n,i){return n.button===0&&(!i||i==="_self")&&!pT(n)}function lf(n=""){return new URLSearchParams(typeof n=="string"||Array.isArray(n)||n instanceof URLSearchParams?n:Object.keys(n).reduce((i,s)=>{let r=n[s];return i.concat(Array.isArray(r)?r.map(u=>[s,u]):[[s,r]])},[]))}function gT(n,i){let s=lf(n);return i&&i.forEach((r,u)=>{s.has(u)||i.getAll(u).forEach(f=>{s.append(u,f)})}),s}var xr=null;function vT(){if(xr===null)try{new FormData(document.createElement("form"),0),xr=!1}catch{xr=!0}return xr}var bT=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function Rc(n){return n!=null&&!bT.has(n)?(je(!1,`"${n}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${Rr}"`),null):n}function ST(n,i){let s,r,u,f,h;if(dT(n)){let d=n.getAttribute("action");r=d?jn(d,i):null,s=n.getAttribute("method")||Mr,u=Rc(n.getAttribute("enctype"))||Rr,f=new FormData(n)}else if(hT(n)||mT(n)&&(n.type==="submit"||n.type==="image")){let d=n.form;if(d==null)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let y=n.getAttribute("formaction")||d.getAttribute("action");
12if(r=y?jn(y,i):null,s=n.getAttribute("formmethod")||d.getAttribute("method")||Mr,u=Rc(n.getAttribute("formenctype"))||Rc(d.getAttribute("enctype"))||Rr,f=new FormData(d,n),!vT()){let{name:m,type:g,value:v}=n;if(g==="image"){let S=m?`${m}.`:"";f.append(`${S}x`,"0"),f.append(`${S}y`,"0")}else m&&f.append(m,v)}}else{if($r(n))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');s=Mr,r=null,u=Rr,h=n}return f&&u==="text/plain"&&(h=f,f=void 0),{action:r,method:s.toLowerCase(),encType:u,formData:f,body:h}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");function Yf(n,i){if(n===!1||n===null||typeof n>"u")throw new Error(i)}function xT(n,i,s){let r=typeof n=="string"?new URL(n,typeof window>"u"?"server://singlefetch/":window.location.origin):n;return r.pathname==="/"?r.pathname=`_root.${s}`:i&&jn(r.pathname,i)==="/"?r.pathname=`${i.replace(/\/$/,"")}/_root.${s}`:r.pathname=`${r.pathname.replace(/\/$/,"")}.${s}`,r}async function TT(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 ET(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 AT(n,i,s){let r=await Promise.all(n.map(async u=>{let f=i.routes[u.route.id];if(f){let h=await TT(f,s);return h.links?h.links():[]}return[]}));return MT(r.flat(1).filter(ET).filter(u=>u.rel==="stylesheet"||u.rel==="preload").map(u=>u.rel==="stylesheet"?{...u,rel:"prefetch",as:"style"}:{...u,rel:"prefetch"}))}function ky(n,i,s,r,u,f){let h=(y,m)=>s[m]?y.route.id!==s[m].route.id:!0,d=(y,m)=>s[m].pathname!==y.pathname||s[m].route.path?.endsWith("*")&&s[m].params["*"]!==y.params["*"];return f==="assets"?i.filter((y,m)=>h(y,m)||d(y,m)):f==="data"?i.filter((y,m)=>{let g=r.routes[y.route.id];if(!g||!g.hasLoader)return!1;if(h(y,m)||d(y,m))return!0;if(y.route.shouldRevalidate){let v=y.route.shouldRevalidate({currentUrl:new URL(u.pathname+u.search+u.hash,window.origin),currentParams:s[0]?.params||{},nextUrl:new URL(n,window.origin),nextParams:y.params,defaultShouldRevalidate:!0});if(typeof v=="boolean")return v}return!0}):[]}function CT(n,i,{includeHydrateFallback:s}={}){return wT(n.map(r=>{let u=i.routes[r.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 wT(n){return[...new Set(n)]}function DT(n){let i={},s=Object.keys(n).sort();for(let r of s)i[r]=n[r];return i}function MT(n,i){let s=new Set;return new Set(i),n.reduce((r,u)=>{let f=JSON.stringify(DT(u));return s.has(f)||(s.add(f),r.push({key:f,link:u})),r},[])}function _0(){let n=x.useContext(ji);return Yf(n,"You must render this element inside a <DataRouterContext.Provider> element"),n}function RT(){let n=x.useContext(Jr);return Yf(n,"You must render this element inside a <DataRouterStateContext.Provider> element"),n}var Xf=x.createContext(void 0);Xf.displayName="FrameworkContext";function z0(){let n=x.useContext(Xf);return Yf(n,"You must render this element inside a <HydratedRouter> element"),n}function OT(n,i){let s=x.useContext(Xf),[r,u]=x.useState(!1),[f,h]=x.useState(!1),{onFocus:d,onBlur:y,onMouseEnter:m,onMouseLeave:g,onTouchStart:v}=i,S=x.useRef(null);x.useEffect(()=>{if(n==="render"&&h(!0),n==="viewport"){let O=j=>{j.forEach(L=>{h(L.isIntersecting)})},R=new IntersectionObserver(O,{threshold:.5});return S.current&&R.observe(S.current),()=>{R.disconnect()}}},[n]),x.useEffect(()=>{if(r){let O=setTimeout(()=>{h(!0)},100);return()=>{clearTimeout(O)}}},[r]);let w=()=>{u(!0)},D=()=>{u(!1),h(!1)};return s?n!=="intent"?[f,S,{}]:[f,S,{onFocus:jl(d,w),onBlur:jl(y,D),onMouseEnter:jl(m,w),onMouseLeave:jl(g,D),onTouchStart:jl(v,w)}]:[!1,S,{}]}function jl(n,i){return s=>{n&&n(s),s.defaultPrevented||i(s)}}function _T({page:n,...i}){let{router:s}=_0(),r=x.useMemo(()=>T0(s.routes,n,s.basename),[s.routes,n,s.basename]);return r?x.createElement(jT,{page:n,matches:r,...i}):null}function zT(n){let{manifest:i,routeModules:s}=z0(),[r,u]=x.useState([]);return x.useEffect(()=>{let f=!1;return AT(n,i,s).then(h=>{f||u(h)}),()=>{f=!0}},[n,i,s]),r}function jT({page:n,matches:i,...s}){let r=Nn(),{manifest:u,routeModules:f}=z0(),{basename:h}=_0(),{loaderData:d,matches:y}=RT(),m=x.useMemo(()=>ky(n,i,y,u,r,"data"),[n,i,y,u,r]),g=x.useMemo(()=>ky(n,i,y,u,r,"assets"),[n,i,y,u,r]),v=x.useMemo(()=>
12{if(n===r.pathname+r.search+r.hash)return[];let D=new Set,O=!1;if(i.forEach(j=>{let L=u.routes[j.route.id];!L||!L.hasLoader||(!m.some(B=>B.route.id===j.route.id)&&j.route.id in d&&f[j.route.id]?.shouldRevalidate||L.hasClientLoader?O=!0:D.add(j.route.id))}),D.size===0)return[];let R=xT(n,h,"data");return O&&D.size>0&&R.searchParams.set("_routes",i.filter(j=>D.has(j.route.id)).map(j=>j.route.id).join(",")),[R.pathname+R.search]},[h,d,r,u,m,i,n,f]),S=x.useMemo(()=>CT(g,u),[g,u]),w=zT(g);return x.createElement(x.Fragment,null,v.map(D=>x.createElement("link",{key:D,rel:"prefetch",as:"fetch",href:D,...s})),S.map(D=>x.createElement("link",{key:D,rel:"modulepreload",href:D,...s})),w.map(({key:D,link:O})=>x.createElement("link",{key:D,nonce:s.nonce,...O})))}function NT(...n){return i=>{n.forEach(s=>{typeof s=="function"?s(i):s!=null&&(s.current=i)})}}var j0=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";try{j0&&(window.__reactRouterVersion="7.9.6")}catch{}function LT({basename:n,children:i,window:s}){let r=x.useRef();r.current==null&&(r.current=bx({window:s,v5Compat:!0}));let u=r.current,[f,h]=x.useState({action:u.action,location:u.location}),d=x.useCallback(y=>{x.startTransition(()=>h(y))},[h]);return x.useLayoutEffect(()=>u.listen(d),[u,d]),x.createElement(cT,{basename:n,children:i,location:f.location,navigationType:f.action,navigator:u})}var N0=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,L0=x.forwardRef(function({onClick:i,discover:s="render",prefetch:r="none",relative:u,reloadDocument:f,replace:h,state:d,target:y,to:m,preventScrollReset:g,viewTransition:v,...S},w){let{basename:D}=x.useContext(en),O=typeof m=="string"&&N0.test(m),R,j=!1;if(typeof m=="string"&&O&&(R=m,j0))try{let lt=new URL(window.location.href),I=m.startsWith("//")?new URL(lt.protocol+m):new URL(m),dt=jn(I.pathname,D);I.origin===lt.origin&&dt!=null?m=dt+I.search+I.hash:j=!0}catch{je(!1,`<Link to="${m}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}let L=Qx(m,{relative:u}),[B,X,K]=OT(r,S),at=HT(m,{replace:h,state:d,target:y,preventScrollReset:g,relative:u,viewTransition:v});function $(lt){i&&i(lt),lt.defaultPrevented||at(lt)}let tt=x.createElement("a",{...S,...K,href:R||L,onClick:j||f?i:$,ref:NT(w,X),target:y,"data-discover":!O&&s==="render"?"true":void 0});return B&&!O?x.createElement(x.Fragment,null,tt,x.createElement(_T,{page:L})):tt});L0.displayName="Link";var VT=x.forwardRef(function({"aria-current":i="page",caseSensitive:s=!1,className:r="",end:u=!1,style:f,to:h,viewTransition:d,children:y,...m},g){let v=Wl(h,{relative:m.relative}),S=Nn(),w=x.useContext(Jr),{navigator:D,basename:O}=x.useContext(en),R=w!=null&&GT(v)&&d===!0,j=D.encodeLocation?D.encodeLocation(v).pathname:v.pathname,L=S.pathname,B=w&&w.navigation&&w.navigation.location?w.navigation.location.pathname:null;s||(L=L.toLowerCase(),B=B?B.toLowerCase():null,j=j.toLowerCase()),B&&O&&(B=jn(B,O)||B);const X=j!=="/"&&j.endsWith("/")?j.length-1:j.length;let K=L===j||!u&&L.startsWith(j)&&L.charAt(X)==="/",at=B!=null&&(B===j||!u&&B.startsWith(j)&&B.charAt(j.length)==="/"),$={isActive:K,isPending:at,isTransitioning:R},tt=K?i:void 0,lt;typeof r=="function"?lt=r($):lt=[r,K?"active":null,at?"pending":null,R?"transitioning":null].filter(Boolean).join(" ");let I=typeof f=="function"?f($):f;return x.createElement(L0,{...m,"aria-current":tt,className:lt,ref:g,style:I,to:h,viewTransition:d},typeof y=="function"?y($):y)});VT.displayName="NavLink";var BT=x.forwardRef(({discover:n="render",fetcherKey:i,navigate:s,reloadDocument:r,replace:u,state:f,method:h=Mr,action:d,onSubmit:y,relative:m,preventScrollReset:g,viewTransition:v,...S},w)=>{let D=YT(),O=XT(d,{relative:m}),R=h.toLowerCase()==="get"?"get":"post",j=typeof d=="string"&&N0.test(d),L=B=>{if(y&&y(B),B.defaultPrevented)return;B.preventDefault();let X=B.nativeEvent.submitter,K=X?.getAttribute("formmethod")||h;D(X||B.currentTarget,{fetcherKey:i,method:K,navigate:s,replace:u,state:f,relative:m,preventScrollReset:g,viewTransition:v})};return x.createElement("form",{ref:w,method:R,action:O,onSubmit:r?y:L,...S,"data-discover":!j&&n==="render"?"true":void 0})});BT.displayName="Form";function UT(n){return`${n} must be used within a data router.  See https://reactrouter.com/en/main/routers/picking-a-router.`}function V0(n){let i=x.useContext(ji);return Vt(i,UT(n)),i}function HT(n,{target:i,replace:s,state:r,preventScrollReset:u,relative:f,viewTransition:h}={}){let d=Hf(),y=Nn(),m=Wl(n,{relative:f});return x.useCallback(g=>{if(yT(g,i)){g.preventDefault();let v=s!==void 0?s:Gl(y)===Gl(m);d(n,{replace:v,state:r,preventScrollReset:u,relative:f,viewTransition:h})}}
12,[y,d,m,s,r,i,n,u,f,h])}function OD(n){je(typeof URLSearchParams<"u","You cannot use the `useSearchParams` hook in a browser that does not support the URLSearchParams API. If you need to support Internet Explorer 11, we recommend you load a polyfill such as https://github.com/ungap/url-search-params.");let i=x.useRef(lf(n)),s=x.useRef(!1),r=Nn(),u=x.useMemo(()=>gT(r.search,s.current?null:i.current),[r.search]),f=Hf(),h=x.useCallback((d,y)=>{const m=lf(typeof d=="function"?d(new URLSearchParams(u)):d);s.current=!0,f("?"+m,y)},[f,u]);return[u,h]}var kT=0,qT=()=>`__${String(++kT)}__`;function YT(){let{router:n}=V0("useSubmit"),{basename:i}=x.useContext(en),s=sT();return x.useCallback(async(r,u={})=>{let{action:f,method:h,encType:d,formData:y,body:m}=ST(r,i);if(u.navigate===!1){let g=u.fetcherKey||qT();await n.fetch(g,s,u.action||f,{preventScrollReset:u.preventScrollReset,formData:y,body:m,formMethod:u.method||h,formEncType:u.encType||d,flushSync:u.flushSync})}else await n.navigate(u.action||f,{preventScrollReset:u.preventScrollReset,formData:y,body:m,formMethod:u.method||h,formEncType:u.encType||d,replace:u.replace,state:u.state,fromRouteId:s,flushSync:u.flushSync,viewTransition:u.viewTransition})},[n,i,s])}function XT(n,{relative:i}={}){let{basename:s}=x.useContext(en),r=x.useContext(Ke);Vt(r,"useFormAction must be used inside a RouteContext");let[u]=r.matches.slice(-1),f={...Wl(n||".",{relative:i})},h=Nn();if(n==null){f.search=h.search;let d=new URLSearchParams(f.search),y=d.getAll("index");if(y.some(g=>g==="")){d.delete("index"),y.filter(v=>v).forEach(v=>d.append("index",v));let g=d.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:zn([s,f.pathname])),Gl(f)}function GT(n,{relative:i}={}){let s=x.useContext(w0);Vt(s!=null,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`.  Did you accidentally import `RouterProvider` from `react-router`?");let{basename:r}=V0("useViewTransitionState"),u=Wl(n,{relative:i});if(!s.isTransitioning)return!1;let f=jn(s.currentLocation.pathname,r)||s.currentLocation.pathname,h=jn(s.nextLocation.pathname,r)||s.nextLocation.pathname;return Ur(u.pathname,h)!=null||Ur(u.pathname,f)!=null}var Oc={exports:{}},_c={};var qy;function PT(){if(qy)return _c;qy=1;var n=Fr().__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;return _c.c=function(i){return n.H.useMemoCache(i)},_c}var Yy;function KT(){return Yy||(Yy=1,Oc.exports=PT()),Oc.exports}var QT=KT();let re=(function(n){return n.CHARSET="charset",n.CSS_TEXT="cssText",n.HREF="href",n.HTTPEQUIV="http-equiv",n.INNER_HTML="innerHTML",n.ITEM_PROP="itemprop",n.NAME="name",n.PROPERTY="property",n.REL="rel",n.SRC="src",n.TARGET="target",n})({}),_t=(function(n){return n.BASE="base",n.BODY="body",n.FRAGMENT="Symbol(react.fragment)",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})({});const zc={link:{rel:["amphtml","canonical","alternate"]},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"]},script:{type:["application/ld+json"]}},Xy=Object.values(_t),Gf={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},Pl=(()=>{const n={};for(const[i,s]of Object.entries(Gf))n[s]=i;return n})(),_n="data-rh",ZT=!!(typeof window<"u"&&window.document.createElement);function Mi(n,i){for(let s=n.length-1;s>=0;--s){const r=n[s][1][i];if(r!==void 0)return r}}function FT(n){let i=Mi(n,_t.TITLE);const s=Mi(n,"titleTemplate");if(Array.isArray(i)&&(i=i.join("")),s&&i)return s.replace(/%s/g,()=>i);const r=Mi(n,"defaultTitle");return(i||r)??void 0}function jc(n,i){const s={};for(const r of i){const u=r[1][n];u&&Object.assign(s,u)}return s}function JT(n){for(let i=n.length-1;i>=0;--i){const s=n[i][1].base;if(s?.href||s?.target)return s}}function $T(n,i){let s;for(const r of Object.keys(n)){const u=r;i.includes(u)&&!(s===re.REL&&n[s].toLowerCase()==="canonical")&&!(u===re.REL&&n[u].toLowerCase()==="stylesheet")&&(s=u),i.includes(u)&&(u===re.INNER_HTML||u===re.CSS_TEXT||u===re.ITEM_PROP)&&(s=u)}return s??null}function Nl(n,i,s){const r={};return s.map(([,u])=>u).filter(u=>Array.isArray(u[n])?!0:(typeof u[n]<"u"&&console.warn(`Helmet: ${n} should be of type "Array". Instead found type "${typeof u[n]}"`),!1)).map(u=>u[n]).reverse().reduce((u,f)=>{const h={};f.filter(y=>{const m=$T(y,i);if(!m||!y[m])return!1;const g=y[m].toLowerCase();return r[m]||(r[m]={}),h[m]||(h[m]={}),r[m][g]?!1:(h[m][g]=!0,!0)}
12).reverse().forEach(y=>{u.push(y)});const d=Object.keys(h);for(const y of d){const m={...r[y],...h[y]};r[y]=m}return u},[]).reverse()}function WT(n,i){for(const[,s]of n)if(s[i])return!0;return!1}function B0(n){return Array.isArray(n)?n.join(""):n}function IT(n,i){for(const s of Object.keys(n))if(i[s]?.includes(n[s]))return!0;return!1}function Nc(n,i){const s={default:Array(),priority:Array()};if(n)for(const r of n)IT(r,i)?s.priority.push(r):s.default.push(r);return s}function tE(n){const i={};for(const[s,r]of Object.entries(n))i[s]=Array.isArray(r)?r.slice():r;return i}function eE(n,i){const s=n;for(const[r,u]of Object.entries(i))if(Array.isArray(u)){const f=s[r];s[r]=f?f.concat(u):u}else s[r]=u}function Lc(n,i,s){const r=n[i];r?r.push(s):n[i]=[s]}function sf(n){let i=Nl(_t.LINK,[re.REL,re.HREF],n),s=Nl("meta",[re.NAME,"charSet","httpEquiv",re.PROPERTY,"itemProp"],n),r=Nl("script",[re.SRC,re.INNER_HTML],n);const u=WT(n,"prioritizeSeoTags");let f;if(u){const h=Nc(i,zc.link);i=h.default;const d=Nc(s,zc.meta);s=d.default;const y=Nc(r,zc.script);r=y.default,f={links:h.priority,meta:d.priority,script:y.priority}}return{base:JT(n),bodyAttributes:jc("bodyAttributes",n),defer:Mi(n,"defer"),encodeSpecialCharacters:Mi(n,"encodeSpecialCharacters")??!0,htmlAttributes:jc("htmlAttributes",n),links:i,meta:s,noscript:Nl("noscript",[re.INNER_HTML],n),onChangeClientState:Mi(n,"onChangeClientState"),priority:f,script:r,style:Nl("style",[re.CSS_TEXT],n),title:FT(n),titleAttributes:jc("titleAttributes",n)}}function nE(n){return Pl[n]??n}function xi(n,i){const s=document.head||document.querySelector(_t.HEAD),r=s.querySelectorAll(`${n}[${_n}]`),u=[],f=[...r],h=[];for(const d of i){const y=document.createElement(n);for(const[g,v]of Object.entries(d))if(Object.prototype.hasOwnProperty.call(d,g)){const S=Pl[g]??g;S===re.INNER_HTML?y.innerHTML=v:S===re.CSS_TEXT?y.styleSheet?y.styleSheet.cssText=d.cssText:y.appendChild(document.createTextNode(d.cssText)):y.setAttribute(S,v??"")}y.setAttribute(_n,"true");const m={};for(const{name:g,value:v}of y.attributes)m[g]=v;u.push(m);for(let g=0;;++g){if(y.isEqualNode(f[g])){f.splice(g,1);break}if(g>=f.length){h.push(y);break}}}return f.forEach(d=>{d.parentNode?.removeChild(d)}),h.forEach(d=>{s.appendChild(d)}),{allTags:u,newTags:h,oldTags:f}}function rf(n,i){const[s]=document.getElementsByTagName(n);if(!s)return;const r=s.getAttribute(_n),u=r?r.split(","):[],f=[...u],h=[];for(const d of Object.keys(i))h.push(Pl[d]??d);for(const[d,y]of Object.entries(i)){const m=Pl[d]??d;s.getAttribute(m)!==y&&s.setAttribute(m,y??""),u.includes(m)||u.push(m);const g=f.indexOf(m);g!==-1&&f.splice(g,1)}for(let d=f.length-1;d>=0;d-=1)s.removeAttribute(f[d]);u.length===f.length?s.removeAttribute(_n):s.getAttribute(_n)!==h.join(",")&&s.setAttribute(_n,h.join(","))}function aE(n,i){n!==void 0&&document.title!==n&&(document.title=B0(n)),rf(_t.TITLE,i)}function Gy(n,i){const{base:s,bodyAttributes:r,defer:u,htmlAttributes:f,links:h,meta:d,noscript:y,onChangeClientState:m,priority:g,script:v,style:S,title:w,titleAttributes:D}=n;rf(_t.BODY,r??{}),rf(_t.HTML,f??{}),aE(w,D);const O={baseTag:xi(_t.BASE,s?[s]:[]),linkTags:xi(_t.LINK,[...g?.links??[],...h??[]]),metaTags:xi(_t.META,[...g?.meta??[],...d??[]]),noscriptTags:xi(_t.NOSCRIPT,y??[]),scriptTags:xi(_t.SCRIPT,[...g?.script??[],...v??[]]),styleTags:xi(_t.STYLE,S??[])},R={baseTag:[],bodyAttributes:{},defer:u??!1,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],onChangeClientState:m??(()=>{}),scriptTags:[],styleTags:[],title:w??"",titleAttributes:{}},j={},L={};Object.keys(O).forEach(B=>{const{allTags:X,newTags:K,oldTags:at}=O[B];R[B]=X,K.length&&(j[B]=K),at.length&&(L[B]=O[B].oldTags)}),(i||Object.keys(j).length||Object.keys(L).length)&&m?.(R,j,L)}const iE=[_t.NOSCRIPT,_t.SCRIPT,_t.STYLE],U0=(n,i=!0)=>i?n.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#x27;"):n;function of(n){let i="";for(const[s,r]of Object.entries(n)){const u=nE(s),f=r===void 0?u:`${u}="${r}"`;f&&i&&(i+=" "),i+=f}return i}const lE=(n,i,s)=>{let r=of(i);r&&(r=` ${r}`);const u=B0(n);return`<title ${_n}="true"${r}>
12${U0(u,s)}</title>`};function Rn(n,i,s){let r="";for(const u of i){let f="";const h=Object.entries(u);for(const[m,g]of h)if(!(m===re.INNER_HTML||m===re.CSS_TEXT)){const v=Pl[m]??m;let S;if(g===void 0)S=v;else{const w=typeof g=="string"?g:String(g);S=`${v}="${U0(w,s)}"`}f?f+=` ${S}`:f=S}const d=u.innerHTML??u.cssText??"",y=!iE.includes(n);r+=`<${n} ${_n}="true" ${f}${y?"/>":`>${d}</${n}>`}`}return r}function Hr(n,i={}){const s={};i.addHelmetDataAttr&&(s[_n]=!0),i.addKey!==void 0&&(s.key=i.addKey);for(const[r,u]of Object.entries(n)){const f=Gf[r]??r;switch(f){case"cssText":case"innerHTML":s.dangerouslySetInnerHTML={__html:u};break;default:s[f]=u}}return s}function sE(n,i){return[T.jsx("title",{...Hr(i,{addHelmetDataAttr:!0}),children:n},n)]}function rE(n,i,s){return x.createElement(n,Hr(i,{addHelmetDataAttr:!0,addKey:s}))}function On(n,i){const s=[];for(let r=0;r<i.length;++r)s.push(rE(n,i[r],r));return s}function oE(n){const i=()=>(n.state??=sf(n.helmets),n.state);return{base:{toComponent(){const s=i().base;return s?On("base",[s]):[]},toString(){const s=i();return s.base?Rn("base",[s.base],s.encodeSpecialCharacters):""}},bodyAttributes:{toComponent(){const s=i().bodyAttributes;return Hr(s??{})},toString(){const s=i().bodyAttributes;return of(s??{})}},htmlAttributes:{toComponent(){const s=i().htmlAttributes;return Hr(s??{})},toString(){const s=i().htmlAttributes;return of(s??{})}},link:{toComponent(){return On("link",i().links??[])},toString(){const s=i();return Rn("link",s.links??[],s.encodeSpecialCharacters)}},meta:{toComponent(){return On("meta",i().meta??[])},toString(){const s=i();return Rn("meta",s.meta??[],s.encodeSpecialCharacters)}},noscript:{toComponent(){return On("noscript",i().noscript??[])},toString(){const s=i();return Rn("noscript",s.noscript??[],s.encodeSpecialCharacters)}},priority:{toComponent(){const s=i();return[...On("meta",s.priority?.meta??[]),...On("link",s.priority?.links??[]),...On("script",s.priority?.script??[])]},toString(){const s=i(),r=Rn("meta",s.priority?.meta??[],s.encodeSpecialCharacters),u=Rn("link",s.priority?.links??[],s.encodeSpecialCharacters),f=Rn("script",s.priority?.script??[],s.encodeSpecialCharacters);let h=r;return u&&(h&&(h+=" "),h+=u),f&&(h&&(h+=" "),h+=f),h}},script:{toComponent(){return On("script",i().script??[])},toString(){const s=i();return Rn("script",s.script??[],s.encodeSpecialCharacters)}},style:{toComponent(){return On("style",i().style??[])},toString(){const s=i();return Rn("style",s.style??[],s.encodeSpecialCharacters)}},title:{toComponent(){const s=i();return sE(s.title??"",s.titleAttributes??{})},toString(){const s=i();return lE(s.title??"",s.titleAttributes??{},s.encodeSpecialCharacters)}}}}const H0=x.createContext(void 0),Py=({children:n,onServerState:i})=>{const s=x.useRef(null);if(s.current===null){const f={firstRender:!0,helmets:[],state:void 0};i&&(f.serverState??=oE(f),i(f.serverState)),s.current=f}const r=s.current,[u]=x.useState(()=>({clientApply(){ZT&&!r.state&&(r.state=sf(r.helmets),r.state.defer?r.nextAnimFrameId??=requestAnimationFrame(()=>{r.state??=sf(r.helmets),Gy(r.state,r.firstRender),r.firstRender=!1,delete r.nextAnimFrameId}):(r.nextAnimFrameId!==void 0&&(cancelAnimationFrame(r.nextAnimFrameId),delete r.nextAnimFrameId),Gy(r.state,r.firstRender),r.firstRender=!1))},update(f,h){const d=r.helmets.findIndex(y=>y[0]===f);d>=0?(delete r.state,h?r.helmets[d][1]=h:r.helmets.splice(d,1)):h&&(delete r.state,r.helmets.push([f,h]))}}));return T.jsx(H0,{value:u,children:n})};function uE(n,i){if(typeof n!="string")throw Error("You may be attempting to nest <Helmet> components within each other, which is not allowed. Refer to our API for more information.");if(!Xy.includes(n))throw Error(`Only elements types ${Xy.join(", ")} are allowed. Helmet does not support rendering <${n}> elements. Refer to our API for more information.`);if(!(!i||typeof i=="string"||Array.isArray(i)))throw Error(`Helmet expects a string as a child of <${n}>. Did you forget to wrap your children in braces? ( <${n}>{\`\`}</${n}> ) Refer to our API for more information.`)}function Vc(n){const i=Gf[n];return i&&console.warn(`"${n}" is not a valid JSX prop, replace it by "${i}"`),i??n}function uf(n){const i=tE(n);for(const s of Object.values(n))if(Array.isArray(s)){for(const r of s)if(r)for(const u of Object.keys(r)){const f=Vc(u);f!==u&&(r[f]=r[u],delete r[u])}}else if(s&&typeof s=="object"){const r=s;for(const u of Object.keys(r)){const f=Vc(u);f!==u&&(r[f]=r[u],delete r[u])}}
12return x.Children.forEach(n.children,s=>{if(s==null)return;if(typeof s!="object"||!("props"in s))throw Error(`"${typeof s}" is not a valid <Helmet> descendant`);let r;const u={};if(s.props)for(const[d,y]of Object.entries(s.props))d==="children"?r=y:u[Vc(d)]=y;let{type:f}=s;typeof f=="symbol"&&(f=f.toString()),uE(f,r);function h(d){typeof d!="string"&&console.error(`child of ${f} element should be a string`)}switch(f){case _t.BASE:i.base=u;break;case _t.BODY:i.bodyAttributes=u;break;case _t.FRAGMENT:eE(i,uf({children:r}));break;case _t.HTML:i.htmlAttributes=u;break;case _t.LINK:case _t.META:if(r)throw Error(`<${f} /> elements are self-closing and can not contain children. Refer to our API for more information.`);Lc(i,f,u);break;case _t.NOSCRIPT:case _t.SCRIPT:r!==void 0&&(h(r),u.innerHTML=r),Lc(i,f,u);break;case _t.STYLE:h(r),u.cssText=r,Lc(i,f,u);break;case _t.TITLE:i.titleAttributes=u,typeof r=="string"?i.title=r:Array.isArray(r)&&(i.title=r.join(""));break;case _t.HEAD:}}),delete i.children,i}const cE=n=>{const i=QT.c(8),s=x.use(H0);if(!s)throw Error("<Helmet> component must be within a <HelmetProvider> children tree");const r=x.useId();s.update(r,uf(n));let u;i[0]!==s||i[1]!==r||i[2]!==n?(u=()=>{s.update(r,uf(n)),s.clientApply()},i[0]=s,i[1]=r,i[2]=n,i[3]=u):u=i[3],x.useEffect(u);let f,h;return i[4]!==s||i[5]!==r?(f=()=>()=>{s.update(r,void 0),s.clientApply()},h=[s,r],i[4]=s,i[5]=r,i[6]=f,i[7]=h):(f=i[6],h=i[7]),x.useEffect(f,h),null},k0=x.createContext(null);function fE({children:n}){const[i,s]=x.useState(()=>localStorage.getItem("lari_admin_token")),[r,u]=x.useState(null),[f,h]=x.useState(!0);x.useEffect(()=>{if(!i){h(!1);return}fetch("/api/lari/auth/me",{headers:{Authorization:`Bearer ${i}`}}).then(m=>{if(!m.ok)throw new Error;return m.json()}).then(m=>u(m.user)).catch(()=>{localStorage.removeItem("lari_admin_token"),s(null)}).finally(()=>h(!1))},[i]);async function d(m){const g=await fetch("/api/lari/auth/login",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({password:m})}),v=await g.json();if(!g.ok)throw new Error(v.error||"Login failed");return localStorage.setItem("lari_admin_token",v.token),s(v.token),u("lari"),v.token}function y(){localStorage.removeItem("lari_admin_token"),s(null),u(null)}return T.jsx(k0.Provider,{value:{token:i,user:r,loading:f,login:d,logout:y},children:n})}function _D(){const n=x.useContext(k0);if(!n)throw new Error("useLariAuth must be used within LariAuthProvider");return n}const hE="modulepreload",dE=function(n){return"/"+n},Ky={},At=function(i,s,r){let u=Promise.resolve();if(s&&s.length>0){let y=function(m){return Promise.all(m.map(g=>Promise.resolve(g).then(v=>({status:"fulfilled",value:v}),v=>({status:"rejected",reason:v}))))};document.getElementsByTagName("link");const h=document.querySelector("meta[property=csp-nonce]"),d=h?.nonce||h?.getAttribute("nonce");u=y(s.map(m=>{if(m=dE(m),m in Ky)return;Ky[m]=!0;const g=m.endsWith(".css"),v=g?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${m}"]${v}`))return;const S=document.createElement("link");if(S.rel=g?"stylesheet":hE,g||(S.as="script"),S.crossOrigin="",S.href=m,d&&S.setAttribute("nonce",d),document.head.appendChild(S),g)return new Promise((w,D)=>{S.addEventListener("load",w),S.addEventListener("error",()=>D(new Error(`Unable to preload CSS for ${m}`)))})}))}function f(h){const d=new Event("vite:preloadError",{cancelable:!0});if(d.payload=h,window.dispatchEvent(d),!d.defaultPrevented)throw h}return u.then(h=>{for(const d of h||[])d.status==="rejected"&&f(d.reason);return i().catch(f)})},q0=x.createContext({});function Ri(n){const i=x.useRef(null);return i.current===null&&(i.current=n()),i.current}const mE=typeof window<"u",Pf=mE?x.useLayoutEffect:x.useEffect,Kf=x.createContext(null);function Qf(n,i){n.indexOf(i)===-1&&n.push(i)}function kr(n,i){const s=n.indexOf(i);s>-1&&n.splice(s,1)}function zD([...n],i,s){const r=i<0?n.length+i:i;if(r>=0&&r<n.length){const u=s<0?n.length+s:s,[f]=n.splice(i,1);n.splice(u,0,f)}return n}const tn=(n,i,s)=>s>i?i:s<n?n:s;let Kl=()=>{};const ua={},Y0=n=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(n);function X0(n){return typeof n=="object"&&n!==null}const G0=n=>/^0[^.\s]+$/u.test(n);function P0(n){let i;return()=>(i===void 0&&(i=n()),i)}const xe=n=>n,pE=(n,i)=>s=>i(n(s)),Il=(...n)=>n.reduce(pE),Oi=(n,i,s)=>{const r=i-n;return r===0?1:(s-n)/r};class Zf{constructor(){this.subscriptions=[]}add(i){return Qf(this.subscriptions,i),()=>kr(this.subscriptions,i)}notify(i,s,r){const u=this.subscriptions.length;if(u)if(u===1)this.subscriptions[0](i,s,r);else for(let f=0;f<u;f++){const h=this.subscriptions[f];h&&h(i,s,r)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const ze=n=>n*1e3,Ge=n=>n/1e3;function Ff(n,i){return i?n*(1e3/i):0}const K0=(n,i,s)=>(((1-3*s+3*i)*n+(3*s-6*i))*n+3*i)*n,yE=1e-7,gE=12;function vE(n,i,s,r,u){let f,h,d=0;do h=i+(s-i)/2,f=K0(h,r,u)-n,f>0?s=h:i=h;while(Math.abs(f)>yE&&++d<gE);return h}function ts(n,i,s,r){if(n===i&&s===r)return xe;const u=f=>vE(f,0,1,n,s);return f=>f===0||f===1?f:K0(u(f),i,r)}const Q0=n=>i=>i<=.5?n(2*i)/2:(2-n(2*(1-i)))/2,Z0=n=>i=>1-n(1-i),F0=ts(.33,1.53,.69,.99),Jf=Z0(F0),J0=Q0(Jf),$0=n=>n>=1?1:(n*=2)<1?.5*Jf(n):.5*(2-Math.pow(2,-10*(n-1))),$f=n=>1-Math.sin(Math.acos(n)),W0=Z0($f),I0=Q0($f),bE=ts(.42,0,1,1),SE=ts(0,0,.58,1),tv=ts(.42,0,.58,1),xE=n=>Array.isArray(n)&&typeof n[0]!="number",ev=n=>Array.isArray(n)&&typeof n[0]=="number",TE={linear:xe,easeIn:bE,easeInOut:tv,easeOut:SE,circIn:$f,circInOut:I0,circOut:W0,backIn:Jf,backInOut:J0,backOut:F0,anticipate:$0},EE=n=>typeof n=="string",Qy=n=>{if(ev(n)){Kl(n.length===4);const[i,s,r,u]=n;return ts(i,s,r,u)}else if(EE(n))return TE[n];return n},Tr=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function AE(n,i){let s=new Set,r=new Set,u=!1,f=!1;const h=new WeakSet;let d={delta:0,timestamp:0,isProcessing:!1};function y(g){h.has(g)&&(m.schedule(g),n()),g(d)}const m={schedule:(g,v=!1,S=!1)=>{const D=S&&u?s:r;return v&&h.add(g),D.add(g),g},cancel:g=>{r.delete(g),h.delete(g)},process:g=>{if(d=g,u){f=!0;return}u=!0;const v=s;
12s=r,r=v,s.forEach(y),s.clear(),u=!1,f&&(f=!1,m.process(g))}};return m}const CE=40;function nv(n,i){let s=!1,r=!0;const u={delta:0,timestamp:0,isProcessing:!1},f=()=>s=!0,h=Tr.reduce((B,X)=>(B[X]=AE(f),B),{}),{setup:d,read:y,resolveKeyframes:m,preUpdate:g,update:v,preRender:S,render:w,postRender:D}=h,O=()=>{const B=ua.useManualTiming,X=B?u.timestamp:performance.now();s=!1,B||(u.delta=r?1e3/60:Math.max(Math.min(X-u.timestamp,CE),1)),u.timestamp=X,u.isProcessing=!0,d.process(u),y.process(u),m.process(u),g.process(u),v.process(u),S.process(u),w.process(u),D.process(u),u.isProcessing=!1,s&&i&&(r=!1,n(O))},R=()=>{s=!0,r=!0,u.isProcessing||n(O)};return{schedule:Tr.reduce((B,X)=>{const K=h[X];return B[X]=(at,$=!1,tt=!1)=>(s||R(),K.schedule(at,$,tt)),B},{}),cancel:B=>{for(let X=0;X<Tr.length;X++)h[Tr[X]].cancel(B)},state:u,steps:h}}const{schedule:vt,cancel:Pe,state:ee,steps:Bc}=nv(typeof requestAnimationFrame<"u"?requestAnimationFrame:xe,!0);let Or;function wE(){Or=void 0}const he={now:()=>(Or===void 0&&he.set(ee.isProcessing||ua.useManualTiming?ee.timestamp:performance.now()),Or),set:n=>{Or=n,queueMicrotask(wE)}},av=n=>i=>typeof i=="string"&&i.startsWith(n),iv=av("--"),DE=av("var(--"),Wf=n=>DE(n)?ME.test(n.split("/*")[0].trim()):!1,ME=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function Zy(n){return typeof n!="string"?!1:n.split("/*")[0].includes("var(--")}const Li={test:n=>typeof n=="number",parse:parseFloat,transform:n=>n},Ql={...Li,transform:n=>tn(0,1,n)},Er={...Li,default:1},Hl=n=>Math.round(n*1e5)/1e5,If=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function RE(n){return n==null}const OE=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,th=(n,i)=>s=>!!(typeof s=="string"&&OE.test(s)&&s.startsWith(n)||i&&!RE(s)&&Object.prototype.hasOwnProperty.call(s,i)),lv=(n,i,s)=>r=>{if(typeof r!="string")return r;const[u,f,h,d]=r.match(If);return{[n]:parseFloat(u),[i]:parseFloat(f),[s]:parseFloat(h),alpha:d!==void 0?parseFloat(d):1}},_E=n=>tn(0,255,n),Uc={...Li,transform:n=>Math.round(_E(n))},za={test:th("rgb","red"),parse:lv("red","green","blue"),transform:({red:n,green:i,blue:s,alpha:r=1})=>"rgba("+Uc.transform(n)+", "+Uc.transform(i)+", "+Uc.transform(s)+", "+Hl(Ql.transform(r))+")"};function zE(n){let i="",s="",r="",u="";return n.length>5?(i=n.substring(1,3),s=n.substring(3,5),r=n.substring(5,7),u=n.substring(7,9)):(i=n.substring(1,2),s=n.substring(2,3),r=n.substring(3,4),u=n.substring(4,5),i+=i,s+=s,r+=r,u+=u),{red:parseInt(i,16),green:parseInt(s,16),blue:parseInt(r,16),alpha:u?parseInt(u,16)/255:1}}const cf={test:th("#"),parse:zE,transform:za.transform},es=n=>({test:i=>typeof i=="string"&&i.endsWith(n)&&i.split(" ").length===1,parse:parseFloat,transform:i=>`${i}${n}`}),sa=es("deg"),cn=es("%"),F=es("px"),jE=es("vh"),NE=es("vw"),Fy={...cn,parse:n=>cn.parse(n)/100,transform:n=>cn.transform(n*100)},Ci={test:th("hsl","hue"),parse:lv("hue","saturation","lightness"),transform:({hue:n,saturation:i,lightness:s,alpha:r=1})=>"hsla("+Math.round(n)+", "+cn.transform(Hl(i))+", "+cn.transform(Hl(s))+", "+Hl(Ql.transform(r))+")"},Ft={test:n=>za.test(n)||cf.test(n)||Ci.test(n),parse:n=>za.test(n)?za.parse(n):Ci.test(n)?Ci.parse(n):cf.parse(n),transform:n=>typeof n=="string"?n:n.hasOwnProperty("red")?za.transform(n):Ci.transform(n),getAnimatableNone:n=>{const i=Ft.parse(n);return i.alpha=0,Ft.transform(i)}},LE=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function VE(n){return isNaN(n)&&typeof n=="string"&&(n.match(If)?.length||0)+(n.match(LE)?.length||0)>0}const sv="number",rv="color",BE="var",UE="var(",Jy="${}",HE=/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 _i(n){const i=n.toString(),s=[],r={color:[],number:[],var:[]},u=[];let f=0;const d=i.replace(HE,y=>(Ft.test(y)?(r.color.push(f),u.push(rv),s.push(Ft.parse(y))):y.startsWith(UE)?(r.var.push(f),u.push(BE),s.push(y)):(r.number.push(f),u.push(sv),s.push(parseFloat(y))),++f,Jy)).split(Jy);return{values:s,split:d,indexes:r,types:u}}function kE(n){return _i(n).values}function ov({split:n,types:i}){const s=n.length;return r=>{let u="";for(let f=0;f<s;f++)if(u+=n[f],r[f]!==void 0){const h=i[f];
12h===sv?u+=Hl(r[f]):h===rv?u+=Ft.transform(r[f]):u+=r[f]}return u}}function qE(n){return ov(_i(n))}const YE=n=>typeof n=="number"?0:Ft.test(n)?Ft.getAnimatableNone(n):n,XE=(n,i)=>typeof n=="number"?i?.trim().endsWith("/")?n:0:YE(n);function GE(n){const i=_i(n);return ov(i)(i.values.map((r,u)=>XE(r,i.split[u])))}const Ie={test:VE,parse:kE,createTransformer:qE,getAnimatableNone:GE};function Hc(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 PE({hue:n,saturation:i,lightness:s,alpha:r}){n/=360,i/=100,s/=100;let u=0,f=0,h=0;if(!i)u=f=h=s;else{const d=s<.5?s*(1+i):s+i-s*i,y=2*s-d;u=Hc(y,d,n+1/3),f=Hc(y,d,n),h=Hc(y,d,n-1/3)}return{red:Math.round(u*255),green:Math.round(f*255),blue:Math.round(h*255),alpha:r}}function qr(n,i){return s=>s>0?i:n}const Nt=(n,i,s)=>n+(i-n)*s,kc=(n,i,s)=>{const r=n*n,u=s*(i*i-r)+r;return u<0?0:Math.sqrt(u)},KE=[cf,za,Ci],QE=n=>KE.find(i=>i.test(n));function $y(n){const i=QE(n);if(!i)return!1;let s=i.parse(n);return i===Ci&&(s=PE(s)),s}const Wy=(n,i)=>{const s=$y(n),r=$y(i);if(!s||!r)return qr(n,i);const u={...s};return f=>(u.red=kc(s.red,r.red,f),u.green=kc(s.green,r.green,f),u.blue=kc(s.blue,r.blue,f),u.alpha=Nt(s.alpha,r.alpha,f),za.transform(u))},ff=new Set(["none","hidden"]);function ZE(n,i){return ff.has(n)?s=>s<=0?n:i:s=>s>=1?i:n}function FE(n,i){return s=>Nt(n,i,s)}function eh(n){return typeof n=="number"?FE:typeof n=="string"?Wf(n)?qr:Ft.test(n)?Wy:WE:Array.isArray(n)?uv:typeof n=="object"?Ft.test(n)?Wy:JE:qr}function uv(n,i){const s=[...n],r=s.length,u=n.map((f,h)=>eh(f)(f,i[h]));return f=>{for(let h=0;h<r;h++)s[h]=u[h](f);return s}}function JE(n,i){const s={...n,...i},r={};for(const u in s)n[u]!==void 0&&i[u]!==void 0&&(r[u]=eh(n[u])(n[u],i[u]));return u=>{for(const f in r)s[f]=r[f](u);return s}}function $E(n,i){const s=[],r={color:0,var:0,number:0};for(let u=0;u<i.values.length;u++){const f=i.types[u],h=n.indexes[f][r[f]],d=n.values[h]??0;s[u]=d,r[f]++}return s}const WE=(n,i)=>{const s=Ie.createTransformer(i),r=_i(n),u=_i(i);return r.indexes.var.length===u.indexes.var.length&&r.indexes.color.length===u.indexes.color.length&&r.indexes.number.length>=u.indexes.number.length?ff.has(n)&&!u.values.length||ff.has(i)&&!r.values.length?ZE(n,i):Il(uv($E(r,u),u.values),s):qr(n,i)};function cv(n,i,s){return typeof n=="number"&&typeof i=="number"&&typeof s=="number"?Nt(n,i,s):eh(n)(n,i)}const IE=n=>{const i=({timestamp:s})=>n(s);return{start:(s=!0)=>vt.update(i,s),stop:()=>Pe(i),now:()=>ee.isProcessing?ee.timestamp:he.now()}},fv=(n,i,s=10)=>{let r="";const u=Math.max(Math.round(i/s),2);for(let f=0;f<u;f++)r+=Math.round(n(f/(u-1))*1e4)/1e4+", ";return`linear(${r.substring(0,r.length-2)})`},Yr=2e4;function nh(n){let i=0;const s=50;let r=n.next(i);for(;!r.done&&i<Yr;)i+=s,r=n.next(i);return i>=Yr?1/0:i}function t2(n,i=100,s){const r=s({...n,keyframes:[0,i]}),u=Math.min(nh(r),Yr);return{type:"keyframes",ease:f=>r.next(u*f).value/i,duration:Ge(u)}}const Ht={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1};function hf(n,i){return n*Math.sqrt(1-i*i)}const e2=12;function n2(n,i,s){let r=s;for(let u=1;u<e2;u++)r=r-n(r)/i(r);return r}const qc=.001;function a2({duration:n=Ht.duration,bounce:i=Ht.bounce,velocity:s=Ht.velocity,mass:r=Ht.mass}){let u,f,h=1-i;h=tn(Ht.minDamping,Ht.maxDamping,h),n=tn(Ht.minDuration,Ht.maxDuration,Ge(n)),h<1?(u=m=>{const g=m*h,v=g*n,S=g-s,w=hf(m,h),D=Math.exp(-v);return qc-S/w*D},f=m=>{const v=m*h*n,S=v*s+s,w=Math.pow(h,2)*Math.pow(m,2)*n,D=Math.exp(-v),O=hf(Math.pow(m,2),h);return(-u(m)+qc>0?-1:1)*((S-w)*D)/O}):(u=m=>{const g=Math.exp(-m*n),v=(m-s)*n+1;return-qc+g*v},f=m=>{const g=Math.exp(-m*n),v=(s-m)*(n*n);return g*v});const d=5/n,y=n2(u,f,d);if(n=ze(n),isNaN(y))return{stiffness:Ht.stiffness,damping:Ht.damping,duration:n};{const m=Math.pow(y,2)*r;return{stiffness:m,damping:h*2*Math.sqrt(r*m),duration:n}}}const i2=["duration","bounce"],l2=["stiffness","damping","mass"];function Iy(n,i){return i.some(s=>n[s]!==void 0)}function s2(n){let i={velocity:Ht.velocity,stiffness:Ht.stiffness,damping:Ht.damping,mass:Ht.mass,isResolvedFromDuration:!1,...n};if(!Iy(n,l2)&&Iy(n,i2))if(i.velocity=0,n.visualDuration){const s=n.visualDuration,r=2*Math.PI/(s*1.2),u=r*r,f=2*tn(.05,1,1-(n.bounce||0))*Math.sqrt(u);i={...i,mass:Ht.mass,stiffness:u,damping:f}}else{const s=a2({...n,velocity:0});i={...i,...s,mass:Ht.mass},i.isResolvedFromDuration=!0}return i}function Xr(n=Ht.visualDuration,i=Ht.bounce){const s=typeof n!="object"?{visualDuration:n,keyframes:[0,1],bounce:i}:n;let{restSpeed:r,restDelta:u}=s;const f=s.keyframes[0],h=s.keyframes[s.keyframes.length-1],d={done:!1,value:f},{stiffness:y,damping:m,mass:g,duration:v,velocity:S,isResolvedFromDuration:w}=s2({...s,velocity:-Ge(s.velocity||0)}),D=S||0,O=m/(2*Math.sqrt(y*g)),R=h-f,j=Ge(Math.sqrt(y/g)),L=Math.abs(R)<5;r||(r=L?Ht.restSpeed.granular:Ht.restSpeed.default),u||(u=L?Ht.restDelta.granular:Ht.restDelta.default);let B,X,K,at,$,tt;
12if(O<1)K=hf(j,O),at=(D+O*j*R)/K,B=I=>{const dt=Math.exp(-O*j*I);return h-dt*(at*Math.sin(K*I)+R*Math.cos(K*I))},$=O*j*at+R*K,tt=O*j*R-at*K,X=I=>Math.exp(-O*j*I)*($*Math.sin(K*I)+tt*Math.cos(K*I));else if(O===1){B=dt=>h-Math.exp(-j*dt)*(R+(D+j*R)*dt);const I=D+j*R;X=dt=>Math.exp(-j*dt)*(j*I*dt-D)}else{const I=j*Math.sqrt(O*O-1);B=Gt=>{const kt=Math.exp(-O*j*Gt),U=Math.min(I*Gt,300);return h-kt*((D+O*j*R)*Math.sinh(U)+I*R*Math.cosh(U))/I};const dt=(D+O*j*R)/I,xt=O*j*dt-R*I,ue=O*j*R-dt*I;X=Gt=>{const kt=Math.exp(-O*j*Gt),U=Math.min(I*Gt,300);return kt*(xt*Math.sinh(U)+ue*Math.cosh(U))}}const lt={calculatedDuration:w&&v||null,velocity:I=>ze(X(I)),next:I=>{if(!w&&O<1){const xt=Math.exp(-O*j*I),ue=Math.sin(K*I),Gt=Math.cos(K*I),kt=h-xt*(at*ue+R*Gt),U=ze(xt*($*ue+tt*Gt));return d.done=Math.abs(U)<=r&&Math.abs(h-kt)<=u,d.value=d.done?h:kt,d}const dt=B(I);if(w)d.done=I>=v;else{const xt=ze(X(I));d.done=Math.abs(xt)<=r&&Math.abs(h-dt)<=u}return d.value=d.done?h:dt,d},toString:()=>{const I=Math.min(nh(lt),Yr),dt=fv(xt=>lt.next(I*xt).value,I,30);return I+"ms "+dt},toTransition:()=>{}};return lt}Xr.applyToOptions=n=>{const i=t2(n,100,Xr);return n.ease=i.ease,n.duration=ze(i.duration),n.type="keyframes",n};const r2=5;function hv(n,i,s){const r=Math.max(i-r2,0);return Ff(s-n(r),i-r)}function df({keyframes:n,velocity:i=0,power:s=.8,timeConstant:r=325,bounceDamping:u=10,bounceStiffness:f=500,modifyTarget:h,min:d,max:y,restDelta:m=.5,restSpeed:g}){const v=n[0],S={done:!1,value:v},w=tt=>d!==void 0&&tt<d||y!==void 0&&tt>y,D=tt=>d===void 0?y:y===void 0||Math.abs(d-tt)<Math.abs(y-tt)?d:y;let O=s*i;const R=v+O,j=h===void 0?R:h(R);j!==R&&(O=j-v);const L=tt=>-O*Math.exp(-tt/r),B=tt=>j+L(tt),X=tt=>{const lt=L(tt),I=B(tt);S.done=Math.abs(lt)<=m,S.value=S.done?j:I};let K,at;const $=tt=>{w(S.value)&&(K=tt,at=Xr({keyframes:[S.value,D(S.value)],velocity:hv(B,tt,S.value),damping:u,stiffness:f,restDelta:m,restSpeed:g}))};return $(0),{calculatedDuration:null,next:tt=>{let lt=!1;return!at&&K===void 0&&(lt=!0,X(tt),$(tt)),K!==void 0&&tt>=K?at.next(tt-K):(!lt&&X(tt),S)}}}function o2(n,i,s){const r=[],u=s||ua.mix||cv,f=n.length-1;for(let h=0;h<f;h++){let d=u(n[h],n[h+1]);if(i){const y=Array.isArray(i)?i[h]||xe:i;d=Il(y,d)}r.push(d)}return r}function ah(n,i,{clamp:s=!0,ease:r,mixer:u}={}){const f=n.length;if(Kl(f===i.length),f===1)return()=>i[0];if(f===2&&i[0]===i[1])return()=>i[1];const h=n[0]===n[1];n[0]>n[f-1]&&(n=[...n].reverse(),i=[...i].reverse());const d=o2(i,r,u),y=d.length,m=g=>{if(h&&g<n[0])return i[0];let v=0;if(y>1)for(;v<n.length-2&&!(g<n[v+1]);v++);const S=Oi(n[v],n[v+1],g);return d[v](S)};return s?g=>m(tn(n[0],n[f-1],g)):m}function u2(n,i){const s=n[n.length-1];for(let r=1;r<=i;r++){const u=Oi(0,i,r);n.push(Nt(s,1,u))}}function dv(n){const i=[0];return u2(i,n.length-1),i}function c2(n,i){return n.map(s=>s*i)}function f2(n,i){return n.map(()=>i||tv).splice(0,n.length-1)}function kl({duration:n=300,keyframes:i,times:s,ease:r="easeInOut"}){const u=xE(r)?r.map(Qy):Qy(r),f={done:!1,value:i[0]},h=c2(s&&s.length===i.length?s:dv(i),n),d=ah(h,i,{ease:Array.isArray(u)?u:f2(i,u)});return{calculatedDuration:n,next:y=>(f.value=d(y),f.done=y>=n,f)}}const h2=n=>n!==null;function Wr(n,{repeat:i,repeatType:s="loop"},r,u=1){const f=n.filter(h2),d=u<0||i&&s!=="loop"&&i%2===1?0:f.length-1;return!d||r===void 0?f[d]:r}const d2={decay:df,inertia:df,tween:kl,keyframes:kl,spring:Xr};function mv(n){typeof n.type=="string"&&(n.type=d2[n.type])}class ih{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(i=>{this.resolve=i})}notifyFinished(){this.resolve()}then(i,s){return this.finished.then(i,s)}}const m2=n=>n/100;class Zl extends ih{constructor(i){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.delayState={done:!1,value:void 0},this.stop=()=>{const{motionValue:s}=this.options;s&&s.updatedAt!==he.now()&&this.tick(he.now()),this.isStopped=!0,this.state!=="idle"&&(this.teardown(),this.options.onStop?.())},this.options=i,this.initAnimation(),this.play(),i.autoplay===!1&&this.pause()}initAnimation(){const{options:i}=this;mv(i);const{type:s=kl,repeat:r=0,repeatDelay:u=0,repeatType:f,velocity:h=0}=i;let{keyframes:d}=i;const y=s||kl;y!==kl&&typeof d[0]!="number"&&(this.mixKeyframes=Il(m2,cv(d[0],d[1])),d=[0,100]);const m=y({...i,keyframes:d});f==="mirror"&&(this.mirroredGenerator=y({...i,keyframes:[...d].reverse(),velocity:-h})),m.calculatedDuration===null&&(m.calculatedDuration=nh(m));const{calculatedDuration:g}=m;this.calculatedDuration=g,this.resolvedDuration=g+u,this.totalDuration=this.resolvedDuration*(r+1)-u,this.generator=m}updateTime(i){const s=Math.round(i-this.startTime)*this.playbackSpeed;this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=s}tick(i,s=!1){const{generator:r,totalDuration:u,mixKeyframes:f,mirroredGenerator:h,resolvedDuration:d,calculatedDuration:y}=this;if(this.startTime===null)return r.next(0);const{delay:m=0,keyframes:g,repeat:v,repeatType:S,repeatDelay:w,type:D,onUp
12date:O,finalKeyframe:R}=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 j=this.currentTime-m*(this.playbackSpeed>=0?1:-1),L=this.playbackSpeed>=0?j<0:j>u;this.currentTime=Math.max(j,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=u);let B=this.currentTime,X=r;if(v){const tt=Math.min(this.currentTime,u)/d;let lt=Math.floor(tt),I=tt%1;!I&&tt>=1&&(I=1),I===1&&lt--,lt=Math.min(lt,v+1),!!(lt%2)&&(S==="reverse"?(I=1-I,w&&(I-=w/d)):S==="mirror"&&(X=h)),B=tn(0,1,I)*d}let K;L?(this.delayState.value=g[0],K=this.delayState):K=X.next(B),f&&!L&&(K.value=f(K.value));let{done:at}=K;!L&&y!==null&&(at=this.playbackSpeed>=0?this.currentTime>=u:this.currentTime<=0);const $=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&at);return $&&D!==df&&(K.value=Wr(g,this.options,R,this.speed)),O&&O(K.value),$&&this.finish(),K}then(i,s){return this.finished.then(i,s)}get duration(){return Ge(this.calculatedDuration)}get iterationDuration(){const{delay:i=0}=this.options||{};return this.duration+Ge(i)}get time(){return Ge(this.currentTime)}set time(i){i=ze(i),this.currentTime=i,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0?this.holdTime=i:this.driver&&(this.startTime=this.driver.now()-i/this.playbackSpeed),this.driver?this.driver.start(!1):(this.startTime=0,this.state="paused",this.holdTime=i,this.tick(i))}getGeneratorVelocity(){const i=this.currentTime;if(i<=0)return this.options.velocity||0;if(this.generator.velocity)return this.generator.velocity(i);const s=this.generator.next(i).value;return hv(r=>this.generator.next(r).value,i,s)}get speed(){return this.playbackSpeed}set speed(i){const s=this.playbackSpeed!==i;s&&this.driver&&this.updateTime(he.now()),this.playbackSpeed=i,s&&this.driver&&(this.time=Ge(this.currentTime))}play(){if(this.isStopped)return;const{driver:i=IE,startTime:s}=this.options;this.driver||(this.driver=i(u=>this.tick(u))),this.options.onPlay?.();const r=this.driver.now();this.state==="finished"?(this.updateFinished(),this.startTime=r):this.holdTime!==null?this.startTime=r-this.holdTime:this.startTime||(this.startTime=s??r),this.state==="finished"&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(he.now()),this.holdTime=this.currentTime}complete(){this.state!=="running"&&this.play(),this.state="finished",this.holdTime=null}finish(){this.notifyFinished(),this.teardown(),this.state="finished",this.options.onComplete?.()}cancel(){this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),this.options.onCancel?.()}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(i){return this.startTime=0,this.tick(i,!0)}attachTimeline(i){return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),this.driver?.stop(),i.observe(this)}}function p2(n){for(let i=1;i<n.length;i++)n[i]??(n[i]=n[i-1])}const ja=n=>n*180/Math.PI,mf=n=>{const i=ja(Math.atan2(n[1],n[0]));return pf(i)},y2={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:n=>(Math.abs(n[0])+Math.abs(n[3]))/2,rotate:mf,rotateZ:mf,skewX:n=>ja(Math.atan(n[1])),skewY:n=>ja(Math.atan(n[2])),skew:n=>(Math.abs(n[1])+Math.abs(n[2]))/2},pf=n=>(n=n%360,n<0&&(n+=360),n),tg=mf,eg=n=>Math.sqrt(n[0]*n[0]+n[1]*n[1]),ng=n=>Math.sqrt(n[4]*n[4]+n[5]*n[5]),g2={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:eg,scaleY:ng,scale:n=>(eg(n)+ng(n))/2,rotateX:n=>pf(ja(Math.atan2(n[6],n[5]))),rotateY:n=>pf(ja(Math.atan2(-n[2],n[0]))),rotateZ:tg,rotate:tg,skewX:n=>ja(Math.atan(n[4])),skewY:n=>ja(Math.atan(n[1])),skew:n=>(Math.abs(n[1])+Math.abs(n[4]))/2};function yf(n){return n.includes("scale")?1:0}function gf(n,i){if(!n||n==="none")return yf(i);const s=n.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let r,u;if(s)r=g2,u=s;else{const d=n.match(/^matrix\(([-\d.e\s,]+)\)$/u);r=y2,u=d}if(!u)return yf(i);const f=r[i],h=u[1].split(",").map(b2);return typeof f=="function"?f(h):h[f]}const v2=(n,i)=>{const{transform:s="none"}=getComputedStyle(n);return gf(s,i)};function b2(n){return parseFloat(n.trim())}const Vi=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],Bi=new Set(Vi),ag=n=>n===Li||n===F,S2=new Set(["x","y","z"]),x2=Vi.filter(n=>!S2.has(n));function T2(n){const i=[];return x2.forEach(s=>{const r=n.getValue(s);r!==void 0&&(i.push([s,r.get()]),r.set(s.startsWith("scale")?1:0))}),i}const ra={width:({x:n},{paddingLeft:i="0",paddingRight:s="0",boxSizing:r})=>{const u=n.max-n.min;return r==="border-box"?u:u-parseFloat(i)-parseFloat(s)},height:({y:n},{paddingTop:i="0",paddingBottom:s="0",boxSizing:r})=>{const u=n.max-n.min;return r==="border-box"?u:u-parseFloat(i)-parseFloat(s)},top:(n,{top:i})=>parseFloat(i),left:(n,{left:i})=>parseFloat(i),bottom:({y:n},{top:i})=>parseFloat(i)+(n.max-n.min),right:({x:n},{left:i})=>parseFloat(i)+(n.max-n.min),x:(n,{transform:i})=>gf(i,"x"),y:(n,{transform:i})=>gf(i,"y")};ra.translateX=ra.x;ra.translateY=ra.y;const Na=new Set;let vf=!1,bf=!1,Sf=!1;function pv(){if(bf){const n=Array.from(Na).filter(r=>r.needsMeasurement),i=new Set(n.map(r=>r.element)),s=new Map;
12i.forEach(r=>{const u=T2(r);u.length&&(s.set(r,u),r.render())}),n.forEach(r=>r.measureInitialState()),i.forEach(r=>{r.render();const u=s.get(r);u&&u.forEach(([f,h])=>{r.getValue(f)?.set(h)})}),n.forEach(r=>r.measureEndState()),n.forEach(r=>{r.suspendedScrollY!==void 0&&window.scrollTo(0,r.suspendedScrollY)})}bf=!1,vf=!1,Na.forEach(n=>n.complete(Sf)),Na.clear()}function yv(){Na.forEach(n=>{n.readKeyframes(),n.needsMeasurement&&(bf=!0)})}function E2(){Sf=!0,yv(),pv(),Sf=!1}class lh{constructor(i,s,r,u,f,h=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...i],this.onComplete=s,this.name=r,this.motionValue=u,this.element=f,this.isAsync=h}scheduleResolve(){this.state="scheduled",this.isAsync?(Na.add(this),vf||(vf=!0,vt.read(yv),vt.resolveKeyframes(pv))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:i,name:s,element:r,motionValue:u}=this;if(i[0]===null){const f=u?.get(),h=i[i.length-1];if(f!==void 0)i[0]=f;else if(r&&s){const d=r.readValue(s,h);d!=null&&(i[0]=d)}i[0]===void 0&&(i[0]=h),u&&f===void 0&&u.set(i[0])}p2(i)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(i=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,i),Na.delete(this)}cancel(){this.state==="scheduled"&&(Na.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}}const A2=n=>n.startsWith("--");function gv(n,i,s){A2(i)?n.style.setProperty(i,s):n.style[i]=s}const C2={};function sh(n,i){const s=P0(n);return()=>C2[i]??s()}const rh=sh(()=>window.ScrollTimeline!==void 0,"scrollTimeline"),vv=sh(()=>window.ViewTimeline!==void 0,"viewTimeline"),bv=sh(()=>{try{document.createElement("div").animate({opacity:0}
12,{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),Bl=([n,i,s,r])=>`cubic-bezier(${n}, ${i}, ${s}, ${r})`,ig={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:Bl([0,.65,.55,1]),circOut:Bl([.55,0,1,.45]),backIn:Bl([.31,.01,.66,-.59]),backOut:Bl([.33,1.53,.69,.99])};function Sv(n,i){if(n)return typeof n=="function"?bv()?fv(n,i):"ease-out":ev(n)?Bl(n):Array.isArray(n)?n.map(s=>Sv(s,i)||ig.easeOut):ig[n]}function w2(n,i,s,{delay:r=0,duration:u=300,repeat:f=0,repeatType:h="loop",ease:d="easeOut",times:y}={},m=void 0){const g={[i]:s};y&&(g.offset=y);const v=Sv(d,u);Array.isArray(v)&&(g.easing=v);const S={delay:r,duration:u,easing:Array.isArray(v)?"linear":v,fill:"both",iterations:f+1,direction:h==="reverse"?"alternate":"normal"};return m&&(S.pseudoElement=m),n.animate(g,S)}function xv(n){return typeof n=="function"&&"applyToOptions"in n}function D2({type:n,...i}){return xv(n)&&bv()?n.applyToOptions(i):(i.duration??(i.duration=300),i.ease??(i.ease="easeOut"),i)}class Tv extends ih{constructor(i){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!i)return;const{element:s,name:r,keyframes:u,pseudoElement:f,allowFlatten:h=!1,finalKeyframe:d,onComplete:y}=i;this.isPseudoElement=!!f,this.allowFlatten=h,this.options=i,Kl(typeof i.type!="string");const m=D2(i);this.animation=w2(s,r,u,m,f),m.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!f){const g=Wr(u,this.options,d,this.speed);this.updateMotionValue&&this.updateMotionValue(g),gv(s,r,g),this.animation.cancel()}y?.(),this.notifyFinished()}}play(){this.isStopped||(this.manualStartTime=null,this.animation.play(),this.state==="finished"&&this.updateFinished())}pause(){this.animation.pause()}complete(){this.animation.finish?.()}cancel(){try{this.animation.cancel()}catch{}}stop(){if(this.isStopped)return;this.isStopped=!0;const{state:i}=this;i==="idle"||i==="finished"||(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){const i=this.options?.element;!this.isPseudoElement&&i?.isConnected&&this.animation.commitStyles?.()}get duration(){const i=this.animation.effect?.getComputedTiming?.().duration||0;return Ge(Number(i))}get iterationDuration(){const{delay:i=0}=this.options||{};return this.duration+Ge(i)}get time(){return Ge(Number(this.animation.currentTime)||0)}set time(i){const s=this.finishedTime!==null;this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=ze(i),s&&this.animation.pause()}get speed(){return this.animation.playbackRate}set speed(i){i<0&&(this.finishedTime=null),this.animation.playbackRate=i}get state(){return this.finishedTime!==null?"finished":this.animation.playState}get startTime(){return this.manualStartTime??Number(this.animation.startTime)}set startTime(i){this.manualStartTime=this.animation.startTime=i}attachTimeline({timeline:i,rangeStart:s,rangeEnd:r,observe:u}){return this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,i&&rh()?(this.animation.timeline=i,s&&(this.animation.rangeStart=s),r&&(this.animation.rangeEnd=r),xe):u(this)}}const Ev={anticipate:$0,backInOut:J0,circInOut:I0};function M2(n){return n in Ev}function R2(n){typeof n.ease=="string"&&M2(n.ease)&&(n.ease=Ev[n.ease])}const Yc=10;class O2 extends Tv{constructor(i){R2(i),mv(i),super(i),i.startTime!==void 0&&i.autoplay!==!1&&(this.startTime=i.startTime),this.options=i}updateMotionValue(i){const{motionValue:s,onUpdate:r,onComplete:u,element:f,...h}=this.options;if(!s)return;if(i!==void 0){s.set(i);return}const d=new Zl({...h,autoplay:!1}),y=Math.max(Yc,he.now()-this.startTime),m=tn(0,Yc,y-Yc),g=d.sample(y).value,{name:v}=this.options;f&&v&&gv(f,v,g),s.setWithVelocity(d.sample(Math.max(0,y-m)).value,g,m),d.stop()}}const lg=(n,i)=>i==="zIndex"?!1:!!(typeof n=="number"||Array.isArray(n)||typeof n=="string"&&(Ie.test(n)||n==="0")&&!n.startsWith("url("));function _2(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 z2(n,i,s,r){const u=n[0];if(u===null)return!1;if(i==="display"||i==="visibility")return!0;const f=n[n.length-1],h=lg(u,i),d=lg(f,i);return!h||!d?!1:_2(n)||(s==="spring"||xv(s))&&r}function xf(n){n.duration=0,n.type="keyframes"}const Av=new Set(["opacity","clipPath","filter","transform"]),j2=/^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/;function N2(n){for(let i=0;i<n.length;i++)if(typeof n[i]=="string"&&j2.test(n[i]))return!0;return!1}const L2=new Set(["color","backgroundColor","outlineColor","fill","stroke","borderColor","borderTopColor","borderRightColor","borderBottomColor","borderLeftColor"]),V2=P0(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function B2(n){const{motionValue:i,name:s,repeatDelay:r,repeatType:u,damping:f,type:h,keyframes:d}=n;if(!(i?.owner?.current instanceof HTMLElement))return!1;const{onUpdate:m,transformTemplate:g}=i.owner.getProps();return V2()&&s&&(Av.has(s)||L2.has(s)&&N2(d))&&(s!=="transform"||!g)&&!m&&!r&&u!=="mirror"&&f!==0&&h!=="inertia"}const U2=40;class H2 extends ih{constructor({autoplay:i=!0,delay:s=0,type:r="keyframes",repeat:u=0,repeatDelay:f=0,repeatType:h="loop",keyframes:d,name:y,motionValue:m,element:g,...v}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=he.now();const S={autoplay:i,delay:s,type:r,repeat:u,repeatDelay:f,repeatType:h,name:y,motionValue:m,element:g,...v},w=g?.KeyframeResolver||lh;this.keyframeResolver=new w(d,(D,O,R)=>this.onKeyframesResolved(D,O,S,!R),y,m,g),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(i,s,r,u){this.keyframeResolver=void 0;const{name:f,type:h,velocity:d,delay:y,isHandoff:m,onUpdate:g}=r;this.resolvedAt=he.now();let v=!0;z2(i,f,h,d)||(v=!1,(ua.instantAnimations||!y)&&g?.(Wr(i,r,s)),i[0]=i[i.length-1],xf(r),r.repeat=0);const w={startTime:u?this.resolvedAt?this.resolvedAt-this.createdAt>U2?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:s,...r,keyframes:i},D=v&&!m&&B2(w),O=w.motionValue?.owner?.current;let R;if(D)try{R=new O2({...w,element:O})}catch{R=new Zl(w)}else R=new Zl(w);R.finished.then(()=>{this.notifyFinished()}).catch(xe),this.pendingTimeline&&(this.stopTimeline=R.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=R}get finished(){return this._animation?this.animation.finished:this._finished}then(i,s){return this.finished.finally(i).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),E2()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(i){this.animation.time=i}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(i){this.animation.speed=i}get startTime(){return this.animation.startTime}attachTimeline(i){return this._animation?this.stopTimeline=this.animation.attachTimeline(i):this.pendingTimeline=i,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}}function Cv(n,i,s,r=0,u=1){const f=Array.from(n).sort((m,g)=>m.sortNodePosition(g)).indexOf(i),h=n.size,d=(h-1)*r;
12return typeof s=="function"?s(f,h):u===1?f*r:d-f*r}const k2=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function q2(n){const i=k2.exec(n);if(!i)return[,];const[,s,r,u]=i;return[`--${s??r}`,u]}function wv(n,i,s=1){const[r,u]=q2(n);if(!r)return;const f=window.getComputedStyle(i).getPropertyValue(r);if(f){const h=f.trim();return Y0(h)?parseFloat(h):h}return Wf(u)?wv(u,i,s+1):u}const Y2={type:"spring",stiffness:500,damping:25,restSpeed:10},X2=n=>({type:"spring",stiffness:550,damping:n===0?2*Math.sqrt(550):30,restSpeed:10}),G2={type:"keyframes",duration:.8},P2={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},K2=(n,{keyframes:i})=>i.length>2?G2:Bi.has(n)?n.startsWith("scale")?X2(i[1]):Y2:P2;function Dv(n,i){if(n?.inherit&&i){const{inherit:s,...r}=n;return{...i,...r}}return n}function oh(n,i){const s=n?.[i]??n?.default??n;return s!==n?Dv(s,n):s}const Q2=new Set(["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from","elapsed"]);function Z2(n){for(const i in n)if(!Q2.has(i))return!0;return!1}const uh=(n,i,s,r={},u,f)=>h=>{const d=oh(r,n)||{},y=d.delay||r.delay||0;let{elapsed:m=0}=r;m=m-ze(y);const g={keyframes:Array.isArray(s)?s:[null,s],ease:"easeOut",velocity:i.getVelocity(),...d,delay:-m,onUpdate:S=>{i.set(S),d.onUpdate&&d.onUpdate(S)},onComplete:()=>{h(),d.onComplete&&d.onComplete()},name:n,motionValue:i,element:f?void 0:u};Z2(d)||Object.assign(g,K2(n,g)),g.duration&&(g.duration=ze(g.duration)),g.repeatDelay&&(g.repeatDelay=ze(g.repeatDelay)),g.from!==void 0&&(g.keyframes[0]=g.from);let v=!1;if((g.type===!1||g.duration===0&&!g.repeatDelay)&&(xf(g),g.delay===0&&(v=!0)),(ua.instantAnimations||ua.skipAnimations||u?.shouldSkipAnimations)&&(v=!0,xf(g),g.delay=0),g.allowFlatten=!d.type&&!d.ease,v&&!f&&i.get()!==void 0){const S=Wr(g.keyframes,d);if(S!==void 0){vt.update(()=>{g.onUpdate(S),g.onComplete()});return}}return d.isSync?new Zl(g):new H2(g)};function sg(n){const i=[{},{}];return n?.values.forEach((s,r)=>{i[0][r]=s.get(),i[1][r]=s.getVelocity()}),i}function ch(n,i,s,r){if(typeof i=="function"){const[u,f]=sg(r);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]=sg(r);i=i(s!==void 0?s:n.custom,u,f)}return i}function La(n,i,s){const r=n.getProps();return ch(r,i,s!==void 0?s:r.custom,n)}const Mv=new Set(["width","height","top","left","right","bottom",...Vi]),rg=30,F2=n=>!isNaN(parseFloat(n)),ql={current:void 0};class J2{constructor(i,s={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=r=>{const u=he.now();if(this.updatedAt!==u&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(r),this.current!==this.prev&&(this.events.change?.notify(this.current),this.dependents))for(const f of this.dependents)f.dirty()},this.hasAnimated=!1,this.setCurrent(i),this.owner=s.owner}setCurrent(i){this.current=i,this.updatedAt=he.now(),this.canTrackVelocity===null&&i!==void 0&&(this.canTrackVelocity=F2(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 Zf);const r=this.events[i].add(s);return i==="change"?()=>{r(),vt.read(()=>{this.events.change.getSize()||this.stop()})}:r}clearListeners(){for(const i in this.events)this.events[i].clear()}attach(i,s){this.passiveEffect=i,this.stopPassiveEffect=s}set(i){this.passiveEffect?this.passiveEffect(i,this.updateAndNotify):this.updateAndNotify(i)}setWithVelocity(i,s,r){this.set(s),this.prev=void 0,this.prevFrameValue=i,this.prevUpdatedAt=this.updatedAt-r}jump(i,s=!0){this.updateAndNotify(i),this.prev=i,this.prevUpdatedAt=this.prevFrameValue=void 0,s&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){this.events.change?.notify(this.current)}addDependent(i){this.dependents||(this.dependents=new Set),this.dependents.add(i)}removeDependent(i){this.dependents&&this.dependents.delete(i)}get(){return ql.current&&ql.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){const i=he.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||i-this.updatedAt>rg)return 0;const s=Math.min(this.updatedAt-this.prevUpdatedAt,rg);return Ff(parseFloat(this.current)-parseFloat(this.prevFrameValue),s)}start(i){return this.stop(),new Promise(s=>{this.hasAnimated=!0,this.animation=i(s),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.dependents?.clear(),this.events.destroy?.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function We(n,i){return new J2(n,i)}const Tf=n=>Array.isArray(n);function $2(n,i,s){n.hasValue(i)?n.getValue(i).set(s):n.addValue(i,We(s))}function W2(n){return Tf(n)?n[n.length-1]||0:n}function I2(n,i){const s=La(n,i);let{transitionEnd:r={},transition:u={},...f}=s||{};f={...f,...r};for(const h in f){const d=W2(f[h]);$2(n,h,d)}}const Wt=n=>!!(n&&n.getVelocity);function tA(n){return!!(Wt(n)&&n.add)}function Ef(n,i){const s=n.getValue("willChange");if(tA(s))return s.add(i);if(!s&&ua.WillChange){const r=new ua.WillChange("auto");n.addValue("willChange",r),r.add(i)}}function fh(n){return n.replace(/([A-Z])/g,i=>`-${i.toLowerCase()}`)}const eA="framerAppearId",Rv="data-"+fh(eA);function Ov(n){return n.props[Rv]}function nA({protectedKeys:n,needsAnimating:i},s){const r=n.hasOwnProperty(s)&&i[s]!==!0;return i[s]=!1,r}function _v(n,i,{delay:s=0,transitionOverride:r,type:u}={}){let{transition:f,transitionEnd:h,...d}=i;const y=n.getDefaultTransition();f=f?Dv(f,y):y;const m=f?.reduceMotion;r&&(f=r);const g=[],v=u&&n.animationState&&n.animationState.getState()[u];for(const S in d){const w=n.getValue(S,n.latestValues[S]??null),D=d[S];if(D===void 0||v&&nA(v,S))continue;const O={delay:s,...oh(f||{},S)},R=w.get();if(R!==void 0&&!w.isAnimating()&&!Array.isArray(D)&&D===R&&!O.velocity){vt.update(()=>w.set(D));continue}let j=!1;if(window.MotionHandoffAnimation){const X=Ov(n);if(X){const K=window.MotionHandoffAnimation(X,S,vt);K!==null&&(O.startTime=K,j=!0)}}Ef(n,S);const L=m??n.shouldReduceMotion;w.start(uh(S,w,D,L&&Mv.has(S)?{type:!1}:O,n,j));const B=w.animation;B&&g.push(B)}if(h){const S=()=>vt.update(()=>{h&&I2(n,h)});g.length?Promise.all(g).then(S):S()}return g}function Af(n,i,s={}){const r=La(n,i,s.type==="exit"?n.presenceContext?.custom:void 0);let{transition:u=n.getDefaultTransition()||{}}=r||{};s.transitionOverride&&(u=s.transitionOverride);const f=r?()=>Promise.all(_v(n,r,s)):()=>Promise.resolve(),h=n.variantChildren&&n.variantChildren.size?(y=0)=>{const{delayChildren:m=0,staggerChildren:g,staggerDirection:v}=u;return aA(n,i,y,m,g,v,s)}:()=>Promise.resolve(),{when:d}=u;if(d){const[y,m]=d==="beforeChildren"?[f,h]:[h,f];return y().then(()=>m())}else return Promise.all([f(),h(s.delay)])}function aA(n,i,s=0,r=0,u=0,f=1,h){const d=[];for(const y of n.variantChildren)y.notify("AnimationStart",i),d.push(Af(y,i,{...h,delay:s+(typeof r=="function"?0:r)+Cv(n.variantChildren,y,r,u,f)}).then(()=>y.notify("AnimationComplete",i)));return Promise.all(d)}function iA(n,i,s={}){n.notify("AnimationStart",i);let r;if(Array.isArray(i)){const u=i.map(f=>Af(n,f,s));r=Promise.all(u)}else if(typeof i=="string")r=Af(n,i,s);else{const u=typeof i=="function"?La(n,i,s.custom):i;r=Promise.all(_v(n,u,s))}return r.then(()=>{n.notify("AnimationComplete",i)})}const lA={test:n=>n==="auto",parse:n=>n},zv=n=>i=>i.test(n),jv=[Li,F,cn,sa,NE,jE,lA],og=n=>jv.find(zv(n));function sA(n){return typeof n=="number"?n===0:n!==null?n==="none"||n==="0"||G0(n):!0}const rA=new Set(["brightness","contrast","saturate","opacity"]);function oA(n){const[i,s]=n.slice(0,-1).split("(");if(i==="drop-shadow")return n;const[r]=s.match(If)||[];if(!r)return n;const u=s.replace(r,"");let f=rA.has(i)?1:0;return r!==s&&(f*=100),i+"("+f+u+")"}const uA=/\b([a-z-]*)\(.*?\)/gu,Cf={...Ie,getAnimatableNone:n=>{const i=n.match(uA);return i?i.map(oA).join(" "):n}},wf={...Ie,getAnimatableNone:n=>{const i=Ie.parse(n);return Ie.createTransformer(n)(i.map(r=>typeof r=="number"?0:typeof r=="object"?{...r,alpha:1}:r))}},ug={...Li,transform:Math.round},cA={rotate:sa,rotateX:sa,rotateY:sa,rotateZ:sa,scale:Er,scaleX:Er,scaleY:Er,scaleZ:Er,skew:sa,skewX:sa,skewY:sa,distance:F,translateX:F,translateY:F,translateZ:F,x:F,y:F,z:F,perspective:F,transformPerspective:F,opacity:Ql,originX:Fy,originY:Fy,originZ:F},hh={borderWidth:F,borderTopWidth:F,borderRightWidth:F,borderBottomWidth:F,borderLeftWidth:F,borderRadius:F,borderTopLeftRadius:F,borderTopRightRadius:F,borderBottomRightRadius:F,borderBottomLeftRadius:F,width:F,maxWidth:F,height:F,maxHeight:F,top:F,right:F,bottom:F,left:F,inset:F,insetBlock:F,insetBlockStart:F,insetBlockEnd:F,insetInline:F,insetInlineStart:F,insetInlineEnd:F,padding:F,paddingTop:F,paddingRight:F,paddingBottom:F,paddingLeft:F,paddingBlock:F,paddingBlockStart:F,paddingBlockEnd:F,paddingInline:F,paddingInlineStart:F,paddingInlineEnd:F,margin:F,marginTop:F,marginRight:F,marginBottom:F,marginLeft:F,marginBlock:F,marginBlockStart:F,marginBlockEnd:F,marginInline:F,marginInlineStart:F,marginInlineEnd:F,fontSize:F,backgroundPositionX:F,backgroundPositionY:F,...cA,zIndex:ug,fillOpacity:Ql,strokeOpacity:Ql,numOctaves:ug},fA={...hh,color:Ft,backgroundColor:Ft,outlineColor:Ft,fill:Ft,stroke:Ft,borderColor:Ft,borderTopColor:Ft,borderRightColor:Ft,borderBottomColor:Ft,borderLeftColor:Ft,filter:Cf,WebkitFilter:Cf,mask:wf,WebkitMask:wf},Nv=n=>
12fA[n],hA=new Set([Cf,wf]);function Lv(n,i){let s=Nv(n);return hA.has(s)||(s=Ie),s.getAnimatableNone?s.getAnimatableNone(i):void 0}const dA=new Set(["auto","none","0"]);function mA(n,i,s){let r=0,u;for(;r<n.length&&!u;){const f=n[r];typeof f=="string"&&!dA.has(f)&&_i(f).values.length&&(u=n[r]),r++}if(u&&s)for(const f of i)n[f]=Lv(s,u)}class pA extends lh{constructor(i,s,r,u,f){super(i,s,r,u,f,!0)}readKeyframes(){const{unresolvedKeyframes:i,element:s,name:r}=this;if(!s||!s.current)return;super.readKeyframes();for(let g=0;g<i.length;g++){let v=i[g];if(typeof v=="string"&&(v=v.trim(),Wf(v))){const S=wv(v,s.current);S!==void 0&&(i[g]=S),g===i.length-1&&(this.finalKeyframe=v)}}if(this.resolveNoneKeyframes(),!Mv.has(r)||i.length!==2)return;const[u,f]=i,h=og(u),d=og(f),y=Zy(u),m=Zy(f);if(y!==m&&ra[r]){this.needsMeasurement=!0;return}if(h!==d)if(ag(h)&&ag(d))for(let g=0;g<i.length;g++){const v=i[g];typeof v=="string"&&(i[g]=parseFloat(v))}else ra[r]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:i,name:s}=this,r=[];for(let u=0;u<i.length;u++)(i[u]===null||sA(i[u]))&&r.push(u);r.length&&mA(i,r,s)}measureInitialState(){const{element:i,unresolvedKeyframes:s,name:r}=this;if(!i||!i.current)return;r==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=ra[r](i.measureViewportBox(),window.getComputedStyle(i.current)),s[0]=this.measuredOrigin;const u=s[s.length-1];u!==void 0&&i.getValue(r,u).jump(u,!1)}measureEndState(){const{element:i,name:s,unresolvedKeyframes:r}=this;if(!i||!i.current)return;const u=i.getValue(s);u&&u.jump(this.measuredOrigin,!1);const f=r.length-1,h=r[f];r[f]=ra[s](i.measureViewportBox(),window.getComputedStyle(i.current)),h!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=h),this.removedTransforms?.length&&this.removedTransforms.forEac
12h(([d,y])=>{i.getValue(d).set(y)}),this.resolveNoneKeyframes()}}function Vv(n,i,s){if(n==null)return[];if(n instanceof EventTarget)return[n];if(typeof n=="string"){const u=document.querySelectorAll(n);return u?Array.from(u):[]}return Array.from(n).filter(r=>r!=null)}const Bv=(n,i)=>i&&typeof n=="number"?i.transform(n):n;function Uv(n){return X0(n)&&"offsetHeight"in n&&!("ownerSVGElement"in n)}const{schedule:dh}=nv(queueMicrotask,!1),$e={x:!1,y:!1};function Hv(){return $e.x||$e.y}function yA(n){return n==="x"||n==="y"?$e[n]?null:($e[n]=!0,()=>{$e[n]=!1}):$e.x||$e.y?null:($e.x=$e.y=!0,()=>{$e.x=$e.y=!1})}function kv(n,i){const s=Vv(n),r=new AbortController,u={passive:!0,...i,signal:r.signal};return[s,u,()=>r.abort()]}function gA(n){return!(n.pointerType==="touch"||Hv())}function vA(n,i,s={}){const[r,u,f]=kv(n,s);return r.forEach(h=>{let d=!1,y=!1,m;const g=()=>{h.removeEventListener("pointerleave",D)},v=R=>{m&&(m(R),m=void 0),g()},S=R=>{d=!1,window.removeEventListener("pointerup",S),window.removeEventListener("pointercancel",S),y&&(y=!1,v(R))},w=()=>{d=!0,window.addEventListener("pointerup",S,u),window.addEventListener("pointercancel",S,u)},D=R=>{if(R.pointerType!=="touch"){if(d){y=!0;return}v(R)}},O=R=>{if(!gA(R))return;y=!1;const j=i(h,R);typeof j=="function"&&(m=j,h.addEventListener("pointerleave",D,u))};h.addEventListener("pointerenter",O,u),h.addEventListener("pointerdown",w,u)}),f}const qv=(n,i)=>i?n===i?!0:qv(n,i.parentElement):!1,mh=n=>n.pointerType==="mouse"?typeof n.button!="number"||n.button<=0:n.isPrimary!==!1,bA=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function SA(n){return bA.has(n.tagName)||n.isContentEditable===!0}const xA=new Set(["INPUT","SELECT","TEXTAREA"]);function TA(n){return xA.has(n.tagName)||n.isContentEditable===!0}const _r=new WeakSet;function cg(n){return i=>{i.key==="Enter"&&n(i)}}function Xc(n,i){n.dispatchEvent(new PointerEvent("pointer"+i,{isPrimary:!0,bubbles:!0}))}const EA=(n,i)=>{const s=n.currentTarget;if(!s)return;const r=cg(()=>{if(_r.has(s))return;Xc(s,"down");const u=cg(()=>{Xc(s,"up")}),f=()=>Xc(s,"cancel");s.addEventListener("keyup",u,i),s.addEventListener("blur",f,i)});s.addEventListener("keydown",r,i),s.addEventListener("blur",()=>s.removeEventListener("keydown",r),i)};function fg(n){return mh(n)&&!Hv()}const hg=new WeakSet;function AA(n,i,s={}){const[r,u,f]=kv(n,s),h=d=>{const y=d.currentTarget;if(!fg(d)||hg.has(d))return;_r.add(y),s.stopPropagation&&hg.add(d);const m=i(y,d),g=(w,D)=>{window.removeEventListener("pointerup",v),window.removeEventListener("pointercancel",S),_r.has(y)&&_r.delete(y),fg(w)&&typeof m=="function"&&m(w,{success:D})},v=w=>{g(w,y===window||y===document||s.useGlobalTarget||qv(y,w.target))},S=w=>{g(w,!1)};window.addEventListener("pointerup",v,u),window.addEventListener("pointercancel",S,u)};return r.forEach(d=>{(s.useGlobalTarget?window:d).addEventListener("pointerdown",h,u),Uv(d)&&(d.addEventListener("focus",m=>EA(m,u)),!SA(d)&&!d.hasAttribute("tabindex")&&(d.tabIndex=0))}),f}function ph(n){return X0(n)&&"ownerSVGElement"in n}const zr=new WeakMap;let jr;const Yv=(n,i,s)=>(r,u)=>u&&u[0]?u[0][n+"Size"]:ph(r)&&"getBBox"in r?r.getBBox()[i]:r[s],CA=Yv("inline","width","offsetWidth"),wA=Yv("block","height","offsetHeight");function DA({target:n,borderBoxSize:i}){zr.get(n)?.forEach(s=>{s(n,{get width(){return CA(n,i)},get height(){return wA(n,i)}})})}function MA(n){n.forEach(DA)}function RA(){typeof ResizeObserver>"u"||(jr=new ResizeObserver(MA))}function OA(n,i){jr||RA();const s=Vv(n);return s.forEach(r=>{let u=zr.get(r);u||(u=new Set,zr.set(r,u)),u.add(i),jr?.observe(r)}),()=>{s.forEach(r=>{const u=zr.get(r);u?.delete(i),u?.size||jr?.unobserve(r)})}}const Nr=new Set;let wi;function _A(){wi=()=>{const n={get width(){return window.innerWidth},get height(){return window.innerHeight}};Nr.forEach(i=>i(n))},window.addEventListener("resize",wi)}function zA(n){return Nr.add(n),wi||_A(),()=>{Nr.delete(n),!Nr.size&&typeof wi=="function"&&(window.removeEventListener("resize",wi),wi=void 0)}}function Df(n,i){return typeof n=="function"?zA(n):OA(n,i)}function Xv(n,i){let s;const r=()=>{const{currentTime:u}=i,h=(u===null?0:u.value)/100;s!==h&&n(h),s=h};return vt.preUpdate(r,!0),()=>Pe(r)}function jA(n){return ph(n)&&n.tagName==="svg"}function NA(...n){const i=!Array.isArray(n[0]),s=i?0:-1,r=n[0+s],u=n[1+s],f=n[2+s],h=n[3+s],d=ah(u,f,h);return i?d(r):d}function LA(n,i,s={}){const r=n.get();let u=null,f=r,h;const d=typeof r=="string"?r.replace(/[\d.-]/g,""):void 0,y=()=>{u&&(u.stop(),u=null),n.animation=void 0},m=()=>{const v=dg(n.get()),S=dg(f);if(v===S){y();return}const w=u?u.getGeneratorVelocity():n.getVelocity();y(),u=new Zl({keyframes:[v,S],velocity:w,type:"spring",restDelta:.001,restSpeed:.01,...s,onUp
12date:h})},g=()=>{m(),n.animation=u??void 0,n.events.animationStart?.notify(),u?.then(()=>{n.animation=void 0,n.events.animationComplete?.notify()})};if(n.attach((v,S)=>{f=v,h=w=>S(Gc(w,d)),vt.postRender(g)},y),Wt(i)){let v=s.skipInitialAnimation===!0;const S=i.on("change",D=>{v?(v=!1,n.jump(Gc(D,d),!1)):n.set(Gc(D,d))}),w=n.on("destroy",S);return()=>{S(),w()}}return y}function Gc(n,i){return i?n+i:n}function dg(n){return typeof n=="number"?n:parseFloat(n)}const VA=[...jv,Ft,Ie],BA=n=>VA.find(zv(n)),mg=()=>({translate:0,scale:1,origin:0,originPoint:0}),Di=()=>({x:mg(),y:mg()}),pg=()=>({min:0,max:0}),$t=()=>({x:pg(),y:pg()}),UA=new WeakMap;function Ir(n){return n!==null&&typeof n=="object"&&typeof n.start=="function"}function Fl(n){return typeof n=="string"||Array.isArray(n)}const yh=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],gh=["initial",...yh];function to(n){return Ir(n.animate)||gh.some(i=>Fl(n[i]))}function Gv(n){return!!(to(n)||n.variants)}function HA(n,i,s){for(const r in i){const u=i[r],f=s[r];if(Wt(u))n.addValue(r,u);else if(Wt(f))n.addValue(r,We(u,{owner:n}));else if(f!==u)if(n.hasValue(r)){const h=n.getValue(r);h.liveStyle===!0?h.jump(u):h.hasAnimated||h.set(u)}else{const h=n.getStaticValue(r);n.addValue(r,We(h!==void 0?h:u,{owner:n}))}}for(const r in s)i[r]===void 0&&n.removeValue(r);return i}const Mf={current:null},Pv={current:!1},kA=typeof window<"u";function qA(){if(Pv.current=!0,!!kA)if(window.matchMedia){const n=window.matchMedia("(prefers-reduced-motion)"),i=()=>Mf.current=n.matches;n.addEventListener("change",i),i()}else Mf.current=!1}const yg=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];let Gr={};function Kv(n){Gr=n}function YA(){return Gr}class XA{scrapeMotionValuesFromProps(i,s,r){return{}}constructor({parent:i,props:s,presenceContext:r,reducedMotionConfig:u,skipAnimations:f,blockInitialAnimation:h,visualState:d},y={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.shouldSkipAnimations=!1,this.values=new Map,this.KeyframeResolver=lh,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.hasBeenMounted=!1,this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{const w=he.now();this.renderScheduledAt<w&&(this.renderScheduledAt=w,vt.render(this.render,!1,!0))};const{latestValues:m,renderState:g}=d;this.latestValues=m,this.baseTarget={...m},this.initialValues=s.initial?{...m}:{},this.renderState=g,this.parent=i,this.props=s,this.presenceContext=r,this.depth=i?i.depth+1:0,this.reducedMotionConfig=u,this.skipAnimationsConfig=f,this.options=y,this.blockInitialAnimation=!!h,this.isControllingVariants=to(s),this.isVariantNode=Gv(s),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(i&&i.current);const{willChange:v,...S}=this.scrapeMotionValuesFromProps(s,{},this);for(const w in S){const D=S[w];m[w]!==void 0&&Wt(D)&&D.set(m[w])}}mount(i){if(this.hasBeenMounted)for(const s in this.initialValues)this.values.get(s)?.jump(this.initialValues[s]),this.latestValues[s]=this.initialValues[s];this.current=i,UA.set(i,this),this.projection&&!this.projection.instance&&this.projection.mount(i),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((s,r)=>this.bindToMotionValue(r,s)),this.reducedMotionConfig==="never"?this.shouldReduceMotion=!1:this.reducedMotionConfig==="always"?this.shouldReduceMotion=!0:(Pv.current||qA(),this.shouldReduceMotion=Mf.current),this.shouldSkipAnimations=this.skipAnimationsConfig??!1,this.parent?.addChild(this),this.update(this.props,this.presenceContext),this.hasBeenMounted=!0}unmount(){this.projection&&this.projection.unmount(),Pe(this.notifyUpdate),Pe(this.render),this.valueSubscriptions.forEach(i=>
12i()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent?.removeChild(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}addChild(i){this.children.add(i),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(i)}removeChild(i){this.children.delete(i),this.enteringChildren&&this.enteringChildren.delete(i)}bindToMotionValue(i,s){if(this.valueSubscriptions.has(i)&&this.valueSubscriptions.get(i)(),s.accelerate&&Av.has(i)&&this.current instanceof HTMLElement){const{factory:h,keyframes:d,times:y,ease:m,duration:g}=s.accelerate,v=new Tv({element:this.current,name:i,keyframes:d,times:y,ease:m,duration:ze(g)}),S=h(v);this.valueSubscriptions.set(i,()=>{S(),v.cancel()});return}const r=Bi.has(i);r&&this.onBindTransform&&this.onBindTransform();const u=s.on("change",h=>{this.latestValues[i]=h,this.props.onUpdate&&vt.preRender(this.notifyUpdate),r&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});let f;typeof window<"u"&&window.MotionCheckAppearSync&&(f=window.MotionCheckAppearSync(this,i,s)),this.valueSubscriptions.set(i,()=>{u(),f&&f(),s.owner&&s.stop()})}sortNodePosition(i){return!this.current||!this.sortInstanceNodePosition||this.type!==i.type?0:this.sortInstanceNodePosition(this.current,i.current)}updateFeatures(){let i="animation";for(i in Gr){const s=Gr[i];if(!s)continue;const{isEnabled:r,Feature:u}=s;if(!this.features[i]&&u&&r(this.props)&&(this.features[i]=new u(this)),this.features[i]){const 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):$t()}getStaticValue(i){return this.latestValues[i]}setStaticValue(i,s){this.latestValues[i]=s}update(i,s){(i.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=i,this.prevPresenceContext=this.presenceContext,this.presenceContext=s;for(let r=0;r<yg.length;r++){const u=yg[r];this.propEventSubscriptions[u]&&(this.propEventSubscriptions[u](),delete this.propEventSubscriptions[u]);const f="on"+u,h=i[f];h&&(this.propEventSubscriptions[u]=this.on(u,h))}this.prevMotionValues=HA(this,this.scrapeMotionValuesFromProps(i,this.prevProps||{},this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(i){return this.props.variants?this.props.variants[i]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(i){const s=this.getClosestVariantNode();if(s)return s.variantChildren&&s.variantChildren.add(i),()=>s.variantChildren.delete(i)}addValue(i,s){const r=this.values.get(i);s!==r&&(r&&this.removeValue(i),this.bindToMotionValue(i,s),this.values.set(i,s),this.latestValues[i]=s.get())}removeValue(i){this.values.delete(i);const s=this.valueSubscriptions.get(i);s&&(s(),this.valueSubscriptions.delete(i)),delete this.latestValues[i],this.removeValueFromRenderState(i,this.renderState)}hasValue(i){return this.values.has(i)}getValue(i,s){if(this.props.values&&this.props.values[i])return this.props.values[i];let r=this.values.get(i);return r===void 0&&s!==void 0&&(r=We(s===null?void 0:s,{owner:this}),this.addValue(i,r)),r}readValue(i,s){let r=this.latestValues[i]!==void 0||!this.current?this.latestValues[i]:this.getBaseTargetFromProps(this.props,i)??this.readValueFromInstance(this.current,i,this.options);return r!=null&&(typeof r=="string"&&(Y0(r)||G0(r))?r=parseFloat(r):!BA(r)&&Ie.test(s)&&(r=Lv(i,s)),this.setBaseTarget(i,Wt(r)?r.get():r)),Wt(r)?r.get():r}setBaseTarget(i,s){this.baseTarget[i]=s}getBaseTarget(i){const{initial:s}=this.props;let r;if(typeof s=="string"||typeof s=="object"){const f=ch(this.props,s,this.presenceContext?.custom);f&&(r=f[i])}if(s&&r!==void 0)return r;const u=this.getBaseTargetFromProps(this.props,i);return u!==void 0&&!Wt(u)?u:this.initialValues[i]!==void 0&&r===void 0?void 0:this.baseTarget[i]}on(i,s){return this.events[i]||(this.events[i]=new Zf),this.events[i].add(s)}notify(i,...s){this.events[i]&&this.events[i].notify(...s)}scheduleRenderMicrotask(){dh.render(this.render)}}class Qv extends XA{constructor(){super(...arguments),this.KeyframeResolver=pA}sortInstanceNodePosition(i,s){return i.compareDocumentPosition(s)&2?1:-1}getBaseTargetFromProps(i,s){const r=i.style;return r?r[s]:void 0}removeValueFromRenderState(i,{vars:s,style:r}){delete s[i],delete r[i]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:i}=this.props;Wt(i)&&(this.childSubscription=i.on("change",s=>{this.current&&(this.current.textContent=`${s}`)}))}}class ca{constructor(i){this.isMounted=!1,this.node=i}update(){}}function Zv({top:n,left:i,right:s,bottom:r}){return{x:{min:i,max:s},y:{min:n,max:r}}}function GA({x:n,y:i}){return{top:i.min,right:n.max,bottom:i.max,left:n.min}}function PA(n,i){if(!i)return n;const s=i({x:n.left,y:n.top}),r=i({x:n.right,y:n.bottom});return{top:s.y,left:s.x,bottom:r.y,right:r.x}}function Pc(n){return n===void 0||n===1}function Rf({scale:n,scaleX:i,scaleY:s}){return!Pc(n)||!Pc(i)||!Pc(s)}function _a(n){return Rf(n)||Fv(n)||n.z||n.rotate||n.rotateX||n.rotateY||n.skewX||n.skewY}function Fv(n){return gg(n.x)||gg(n.y)}function gg(n){return n&&n!=="0%"}function Pr(n,i,s){const r=n-s,u=i*r;return s+u}function vg(n,i,s,r,u){return u!==void 0&&(n=Pr(n,u,r)),Pr(n,s,r)+i}function Of(n,i=0,s=1,r,u){n.min=vg(n.min,i,s,r,u),n.max=vg(n.max,i,s,r,u)}function Jv(n,{x:i,y:s}){Of(n.x,i.translate,i.scale,i.originPoint),Of(n.y,s.translate,s.scale,s.originPoint)}const bg=.999999999999,Sg=1.0000000000001;function KA(n,i,s,r=!1){const u=s.length;if(!u)return;i.x=i.y=1;let f,h;for(let d=0;d<u;d++){f=s[d],h=f.projectionDelta;const{visualElement:y}=f.options;y&&y.props.style&&y.props.style.display==="contents"||(r&&f.options.layoutScroll&&f.scroll&&f!==f.root&&(un(n.x,-f.scroll.offset.x),un(n.y,-f.scroll.offset.y)),h&&(i.x*=h.x.scale,i.y*=h.y.scale,Jv(n,h)),r&&_a(f.latestValues)&&Lr(n,f.latestValues,f.layout?.layoutBox))}i.x<Sg&&i.x>bg&&(i.x=1),i.y<Sg&&i.y>bg&&(i.y=1)}function un(n,i){n.min+=i,n.max+=i}function xg(n,i,s,r,u=.5){const f=Nt(n.min,n.max,u);Of(n,i,s,f,r)}function Tg(n,i){return typeof n=="string"?parseFloat(n)/100*(i.max-i.min):n}function Lr(n,i,s){const r=s??n;
12xg(n.x,Tg(i.x,r.x),i.scaleX,i.scale,i.originX),xg(n.y,Tg(i.y,r.y),i.scaleY,i.scale,i.originY)}function $v(n,i){return Zv(PA(n.getBoundingClientRect(),i))}function QA(n,i,s){const r=$v(n,s),{scroll:u}=i;return u&&(un(r.x,u.offset.x),un(r.y,u.offset.y)),r}const ZA={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},FA=Vi.length;function JA(n,i,s){let r="",u=!0;for(let f=0;f<FA;f++){const h=Vi[f],d=n[h];if(d===void 0)continue;let y=!0;if(typeof d=="number")y=d===(h.startsWith("scale")?1:0);else{const m=parseFloat(d);y=h.startsWith("scale")?m===1:m===0}if(!y||s){const m=Bv(d,hh[h]);if(!y){u=!1;const g=ZA[h]||h;r+=`${g}(${m}) `}s&&(i[h]=m)}}return r=r.trim(),s?r=s(i,u?"":r):u&&(r="none"),r}function vh(n,i,s){const{style:r,vars:u,transformOrigin:f}=n;let h=!1,d=!1;for(const y in i){const m=i[y];if(Bi.has(y)){h=!0;continue}else if(iv(y)){u[y]=m;continue}else{const g=Bv(m,hh[y]);y.startsWith("origin")?(d=!0,f[y]=g):r[y]=g}}if(i.transform||(h||s?r.transform=JA(i,n.transform,s):r.transform&&(r.transform="none")),d){const{originX:y="50%",originY:m="50%",originZ:g=0}=f;r.transformOrigin=`${y} ${m} ${g}`}}function Wv(n,{style:i,vars:s},r,u){const f=n.style;let h;for(h in i)f[h]=i[h];u?.applyProjectionStyles(f,r);for(h in s)f.setProperty(h,s[h])}function Eg(n,i){return i.max===i.min?0:n/(i.max-i.min)*100}const Ll={correct:(n,i)=>{if(!i.target)return n;if(typeof n=="string")if(F.test(n))n=parseFloat(n);else return n;const s=Eg(n,i.target.x),r=Eg(n,i.target.y);return`${s}% ${r}%`}},$A={correct:(n,{treeScale:i,projectionDelta:s})=>{const r=n,u=Ie.parse(n);if(u.length>5)return r;const f=Ie.createTransformer(n),h=typeof u[0]!="number"?1:0,d=s.x.scale*i.x,y=s.y.scale*i.y;u[0+h]/=d,u[1+h]/=y;const m=Nt(d,y,.5);return typeof u[2+h]=="number"&&(u[2+h]/=m),typeof u[3+h]=="number"&&(u[3+h]/=m),f(u)}},_f={borderRadius:{...Ll,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:Ll,borderTopRightRadius:Ll,borderBottomLeftRadius:Ll,borderBottomRightRadius:Ll,boxShadow:$A};function Iv(n,{layout:i,layoutId:s}){return Bi.has(n)||n.startsWith("origin")||(i||s!==void 0)&&(!!_f[n]||n==="opacity")}function bh(n,i,s){const r=n.style,u=i?.style,f={};if(!r)return f;for(const h in r)(Wt(r[h])||u&&Wt(u[h])||Iv(h,n)||s?.getValue(h)?.liveStyle!==void 0)&&(f[h]=r[h]);return f}function WA(n){return window.getComputedStyle(n)}class IA extends Qv{constructor(){super(...arguments),this.type="html",this.renderInstance=Wv}readValueFromInstance(i,s){if(Bi.has(s))return this.projection?.isProjecting?yf(s):v2(i,s);{const r=WA(i),u=(iv(s)?r.getPropertyValue(s):r[s])||0;return typeof u=="string"?u.trim():u}}measureInstanceViewportBox(i,{transformPagePoint:s}){return $v(i,s)}build(i,s,r){vh(i,s,r.transformTemplate)}scrapeMotionValuesFromProps(i,s,r){return bh(i,s,r)}}const tC={offset:"stroke-dashoffset",array:"stroke-dasharray"},eC={offset:"strokeDashoffset",array:"strokeDasharray"};function nC(n,i,s=1,r=0,u=!0){n.pathLength=1;const f=u?tC:eC;n[f.offset]=`${-r}`,n[f.array]=`${i} ${s}`}const aC=["offsetDistance","offsetPath","offsetRotate","offsetAnchor"];function t1(n,{attrX:i,attrY:s,attrScale:r,pathLength:u,pathSpacing:f=1,pathOffset:h=0,...d},y,m,g){if(vh(n,d,m),y){n.style.viewBox&&(n.attrs.viewBox=n.style.viewBox);return}n.attrs=n.style,n.style={};const{attrs:v,style:S}=n;v.transform&&(S.transform=v.transform,delete v.transform),(S.transform||v.transformOrigin)&&(S.transformOrigin=v.transformOrigin??"50% 50%",delete v.transformOrigin),S.transform&&(S.transformBox=g?.transformBox??"fill-box",delete v.transformBox);for(const w of aC)v[w]!==void 0&&(S[w]=v[w],delete v[w]);i!==void 0&&(v.x=i),s!==void 0&&(v.y=s),r!==void 0&&(v.scale=r),u!==void 0&&nC(v,u,f,h,!1)}const e1=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"]),n1=n=>typeof n=="string"&&n.toLowerCase()==="svg";function iC(n,i,s,r){Wv(n,i,void 0,r);for(const u in i.attrs)n.setAttribute(e1.has(u)?u:fh(u),i.attrs[u])}function a1(n,i,s){const r=bh(n,i,s);for(const u in n)if(Wt(n[u])||Wt(i[u])){const f=Vi.indexOf(u)!==-1?"attr"+u.charAt(0).toUpperCase()+u.substring(1):u;r[f]=n[u]}return r}class lC extends Qv{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=$t}getBaseTargetFromProps(i,s){return i[s]}
12readValueFromInstance(i,s){if(Bi.has(s)){const r=Nv(s);return r&&r.default||0}return s=e1.has(s)?s:fh(s),i.getAttribute(s)}scrapeMotionValuesFromProps(i,s,r){return a1(i,s,r)}build(i,s,r){t1(i,s,this.isSVGTag,r.transformTemplate,r.style)}renderInstance(i,s,r,u){iC(i,s,r,u)}mount(i){this.isSVGTag=n1(i.tagName),super.mount(i)}}const sC=gh.length;function i1(n){if(!n)return;if(!n.isControllingVariants){const s=n.parent?i1(n.parent)||{}:{};return n.props.initial!==void 0&&(s.initial=n.props.initial),s}const i={};for(let s=0;s<sC;s++){const r=gh[s],u=n.props[r];(Fl(u)||u===!1)&&(i[r]=u)}return i}function l1(n,i){if(!Array.isArray(i))return!1;const s=i.length;if(s!==n.length)return!1;for(let r=0;r<s;r++)if(i[r]!==n[r])return!1;return!0}const rC=[...yh].reverse(),oC=yh.length;function uC(n){return i=>Promise.all(i.map(({animation:s,options:r})=>iA(n,s,r)))}function cC(n){let i=uC(n),s=Ag(),r=!0,u=!1;const f=m=>(g,v)=>{const S=La(n,v,m==="exit"?n.presenceContext?.custom:void 0);if(S){const{transition:w,transitionEnd:D,...O}=S;g={...g,...O,...D}}return g};function h(m){i=m(n)}function d(m){const{props:g}=n,v=i1(n.parent)||{},S=[],w=new Set;let D={},O=1/0;for(let j=0;j<oC;j++){const L=rC[j],B=s[L],X=g[L]!==void 0?g[L]:v[L],K=Fl(X),at=L===m?B.isActive:null;at===!1&&(O=j);let $=X===v[L]&&X!==g[L]&&K;if($&&(r||u)&&n.manuallyAnimateOnMount&&($=!1),B.protectedKeys={...D},!B.isActive&&at===null||!X&&!B.prevProp||Ir(X)||typeof X=="boolean")continue;if(L==="exit"&&B.isActive&&at!==!0){B.prevResolvedValues&&(D={...D,...B.prevResolvedValues});continue}const tt=fC(B.prevProp,X);let lt=tt||L===m&&B.isActive&&!$&&K||j>O&&K,I=!1;const dt=Array.isArray(X)?X:[X];let xt=dt.reduce(f(L),{});at===!1&&(xt={});const{prevResolvedValues:ue={}}=B,Gt={...ue,...xt},kt=Q=>{lt=!0,w.has(Q)&&(I=!0,w.delete(Q)),B.needsAnimating[Q]=!0;const ot=n.getValue(Q);ot&&(ot.liveStyle=!1)};for(const Q in Gt){const ot=xt[Q],yt=ue[Q];if(D.hasOwnProperty(Q))continue;let C=!1;Tf(ot)&&Tf(yt)?C=!l1(ot,yt):C=ot!==yt,C?ot!=null?kt(Q):w.add(Q):ot!==void 0&&w.has(Q)?kt(Q):B.protectedKeys[Q]=!0}B.prevProp=X,B.prevResolvedValues=xt,B.isActive&&(D={...D,...xt}),(r||u)&&n.blockInitialAnimation&&(lt=!1);const U=$&&tt;lt&&(!U||I)&&S.push(...dt.map(Q=>{const ot={type:L};if(typeof Q=="string"&&(r||u)&&!U&&n.manuallyAnimateOnMount&&n.parent){const{parent:yt}=n,C=La(yt,Q);if(yt.enteringChildren&&C){const{delayChildren:Y}=C.transition||{};ot.delay=Cv(yt.enteringChildren,n,Y)}}return{animation:Q,options:ot}}))}if(w.size){const j={};if(typeof g.initial!="boolean"){const L=La(n,Array.isArray(g.initial)?g.initial[0]:g.initial);L&&L.transition&&(j.transition=L.transition)}w.forEach(L=>{const B=n.getBaseTarget(L),X=n.getValue(L);X&&(X.liveStyle=!0),j[L]=B??null}),S.push({animation:j})}let R=!!S.length;return r&&(g.initial===!1||g.initial===g.animate)&&!n.manuallyAnimateOnMount&&(R=!1),r=!1,u=!1,R?i(S):Promise.resolve()}function y(m,g){if(s[m].isActive===g)return Promise.resolve();n.variantChildren?.forEach(S=>S.animationState?.setActive(m,g)),s[m].isActive=g;const v=d(m);for(const S in s)s[S].protectedKeys={};return v}return{animateChanges:d,setActive:y,setAnimateFunction:h,getState:()=>s,reset:()=>{s=Ag(),u=!0}}}function fC(n,i){return typeof i=="string"?i!==n:Array.isArray(i)?!l1(i,n):!1}function Oa(n=!1){return{isActive:n,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function Ag(){return{animate:Oa(!0),whileInView:Oa(),whileHover:Oa(),whileTap:Oa(),whileDrag:Oa(),whileFocus:Oa(),exit:Oa()}}function zf(n,i){n.min=i.min,n.max=i.max}function Je(n,i){zf(n.x,i.x),zf(n.y,i.y)}function Cg(n,i){n.translate=i.translate,n.scale=i.scale,n.originPoint=i.originPoint,n.origin=i.origin}const s1=1e-4,hC=1-s1,dC=1+s1,r1=.01,mC=0-r1,pC=0+r1;function de(n){return n.max-n.min}function yC(n,i,s){return Math.abs(n-i)<=s}function wg(n,i,s,r=.5){n.origin=r,n.originPoint=Nt(i.min,i.max,n.origin),n.scale=de(s)/de(i),n.translate=Nt(s.min,s.max,n.origin)-n.originPoint,(n.scale>=hC&&n.scale<=dC||isNaN(n.scale))&&(n.scale=1),(n.translate>=mC&&n.translate<=pC||isNaN(n.translate))&&(n.translate=0)}function Yl(n,i,s,r){wg(n.x,i.x,s.x,r?r.originX:void 0),wg(n.y,i.y,s.y,r?r.originY:void 0)}function Dg(n,i,s,r=0){const u=r?Nt(s.min,s.max,r):s.min;n.min=u+i.min,n.max=n.min+de(i)}function gC(n,i,s,r){Dg(n.x,i.x,s.x,r?.x),Dg(n.y,i.y,s.y,r?.y)}function Mg(n,i,s,r=0){const u=r?Nt(s.min,s.max,r):s.min;n.min=i.min-u,n.max=n.min+de(i)}function Kr(n,i,s,r){Mg(n.x,i.x,s.x,r?.x),Mg(n.y,i.y,s.y,r?.y)}function Rg(n,i,s,r,u){return n-=i,n=Pr(n,1/s,r),u!==void 0&&(n=Pr(n,1
vendor: 1,487 bytes, line 12
12/u,r)),n}function vC(n,i=0,s=1,r=.5,u,f=n,h=n){if(cn.test(i)&&(i=parseFloat(i),i=Nt(h.min,h.max,i/100)-h.min),typeof i!="number")return;let d=Nt(f.min,f.max,r);n===f&&(d-=i),n.min=Rg(n.min,i,s,d,u),n.max=Rg(n.max,i,s,d,u)}function Og(n,i,[s,r,u],f,h){vC(n,i[s],i[r],i[u],i.scale,f,h)}const bC=["x","scaleX","originX"],SC=["y","scaleY","originY"];function _g(n,i,s,r){Og(n.x,i,bC,s?s.x:void 0,r?r.x:void 0),Og(n.y,i,SC,s?s.y:void 0,r?r.y:void 0)}function zg(n){return n.translate===0&&n.scale===1}function o1(n){return zg(n.x)&&zg(n.y)}function jg(n,i){return n.min===i.min&&n.max===i.max}function xC(n,i){return jg(n.x,i.x)&&jg(n.y,i.y)}function Ng(n,i){return Math.round(n.min)===Math.round(i.min)&&Math.round(n.max)===Math.round(i.max)}function u1(n,i){return Ng(n.x,i.x)&&Ng(n.y,i.y)}function Lg(n){return de(n.x)/de(n.y)}function Vg(n,i){return n.translate===i.translate&&n.scale===i.scale&&n.originPoint===i.originPoint}function on(n){return[n("x"),n("y")]}function TC(n,i,s){let r="";const u=n.x.translate/i.x,f=n.y.translate/i.y,h=s?.z||0;if((u||f||h)&&(r=`translate3d(${u}px, ${f}px, ${h}px) `),(i.x!==1||i.y!==1)&&(r+=`scale(${1/i.x}, ${1/i.y}) `),s){const{transformPerspective:m,rotate:g,rotateX:v,rotateY:S,skewX:w,skewY:D}=s;m&&(r=`perspective(${m}px) ${r}`),g&&(r+=`rotate(${g}deg) `),v&&(r+=`rotateX(${v}deg) `),S&&(r+=`rotateY(${S}deg) `),w&&(r+=`skewX(${w}deg) `),D&&(r+=`skewY(${D}deg) `)}const d=n.x.scale*i.x,y=n.y.scale*i.y;return(d!==1||y!==1)&&(r+=`scale(${d}, ${y}
12)`),r||"none"}const c1=["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"],EC=c1.length,Bg=n=>typeof n=="string"?parseFloat(n):n,Ug=n=>typeof n=="number"||F.test(n);function AC(n,i,s,r,u,f){u?(n.opacity=Nt(0,s.opacity??1,CC(r)),n.opacityExit=Nt(i.opacity??1,0,wC(r))):f&&(n.opacity=Nt(i.opacity??1,s.opacity??1,r));for(let h=0;h<EC;h++){const d=c1[h];let y=Hg(i,d),m=Hg(s,d);if(y===void 0&&m===void 0)continue;y||(y=0),m||(m=0),y===0||m===0||Ug(y)===Ug(m)?(n[d]=Math.max(Nt(Bg(y),Bg(m),r),0),(cn.test(m)||cn.test(y))&&(n[d]+="%")):n[d]=m}(i.rotate||s.rotate)&&(n.rotate=Nt(i.rotate||0,s.rotate||0,r))}function Hg(n,i){return n[i]!==void 0?n[i]:n.borderRadius}const CC=f1(0,.5,W0),wC=f1(.5,.95,xe);function f1(n,i,s){return r=>r<n?0:r>i?1:s(Oi(n,i,r))}function DC(n,i,s){const r=Wt(n)?n:We(n);return r.start(uh("",r,i,s)),r.animation}function Jl(n,i,s,r={passive:!0}){return n.addEventListener(i,s,r),()=>n.removeEventListener(i,s)}const MC=(n,i)=>n.depth-i.depth;class RC{constructor(){this.children=[],this.isDirty=!1}add(i){Qf(this.children,i),this.isDirty=!0}remove(i){kr(this.children,i),this.isDirty=!0}forEach(i){this.isDirty&&this.children.sort(MC),this.isDirty=!1,this.children.forEach(i)}}function OC(n,i){const s=he.now(),r=({timestamp:u})=>{const f=u-s;f>=i&&(Pe(r),n(f-i))};return vt.setup(r,!0),()=>Pe(r)}function Vr(n){return Wt(n)?n.get():n}class _C{constructor(){this.members=[]}add(i){Qf(this.members,i);for(let s=this.members.length-1;s>=0;s--){const r=this.members[s];if(r===i||r===this.lead||r===this.prevLead)continue;const u=r.instance;(!u||u.isConnected===!1)&&!r.snapshot&&(kr(this.members,r),r.unmount())}i.scheduleRender()}remove(i){if(kr(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){for(let s=this.members.indexOf(i)-1;s>=0;s--){const r=this.members[s];if(r.isPresent!==!1&&r.instance?.isConnected!==!1)return this.promote(r),!0}return!1}promote(i,s){const r=this.lead;if(i!==r&&(this.prevLead=r,this.lead=i,i.show(),r)){r.updateSnapshot(),i.scheduleRender();const{layoutDependency:u}=r.options,{layoutDependency:f}=i.options;(u===void 0||u!==f)&&(i.resumeFrom=r,s&&(r.preserveOpacity=!0),r.snapshot&&(i.snapshot=r.snapshot,i.snapshot.latestValues=r.animationValues||r.latestValues),i.root?.isUpdating&&(i.isLayoutDirty=!0)),i.options.crossfade===!1&&r.hide()}}exitAnimationComplete(){this.members.forEach(i=>{i.options.onExitComplete?.(),i.resumingFrom?.options.onExitComplete?.()})}scheduleRender(){this.members.forEach(i=>i.instance&&i.scheduleRender(!1))}removeLeadSnapshot(){this.lead?.snapshot&&(this.lead.snapshot=void 0)}}const Br={hasAnimatedSinceResize:!0,hasEverUpdated:!1},Kc=["","X","Y","Z"],zC=1e3;let jC=0;function Qc(n,i,s,r){const{latestValues:u}=i;u[n]&&(s[n]=u[n],i.setStaticValue(n,0),r&&(r[n]=0))}function h1(n){if(n.hasCheckedOptimisedAppear=!0,n.root===n)return;const{visualElement:i}=n.options;if(!i)return;const s=Ov(i);if(window.MotionHasOptimisedAnimation(s,"transform")){const{layout:u,layoutId:f}=n.options;window.MotionCancelOptimisedAnimation(s,"transform",vt,!(u||f))}const{parent:r}=n;r&&!r.hasCheckedOptimisedAppear&&h1(r)}function d1({attachResizeListener:n,defaultParent:i,measureScroll:s,checkIsScrollRoot:r,resetTransform:u}){return class{constructor(h={},d=i?.()){this.id=jC++,this.animationId=0,this.animationCommitId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.layoutVersion=0,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>
12{this.projectionUpdateScheduled=!1,this.nodes.forEach(VC),this.nodes.forEach(YC),this.nodes.forEach(XC),this.nodes.forEach(BC)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=h,this.root=d?d.root||d:this,this.path=d?[...d.path,d]:[],this.parent=d,this.depth=d?d.depth+1:0;for(let y=0;y<this.path.length;y++)this.path[y].shouldResetTransform=!0;this.root===this&&(this.nodes=new RC)}addEventListener(h,d){return this.eventHandlers.has(h)||this.eventHandlers.set(h,new Zf),this.eventHandlers.get(h).add(d)}notifyListeners(h,...d){const y=this.eventHandlers.get(h);y&&y.notify(...d)}hasListeners(h){return this.eventHandlers.has(h)}mount(h){if(this.instance)return;this.isSVG=ph(h)&&!jA(h),this.instance=h;const{layoutId:d,layout:y,visualElement:m}=this.options;if(m&&!m.current&&m.mount(h),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(y||d)&&(this.isLayoutDirty=!0),n){let g,v=0;const S=()=>this.root.updateBlockedByResize=!1;vt.read(()=>{v=window.innerWidth}),n(h,()=>{const w=window.innerWidth;w!==v&&(v=w,this.root.updateBlockedByResize=!0,g&&g(),g=OC(S,250),Br.hasAnimatedSinceResize&&(Br.hasAnimatedSinceResize=!1,this.nodes.forEach(Yg)))})}d&&this.root.registerSharedNode(d,this),this.options.animate!==!1&&m&&(d||y)&&this.addEventListener("didUpdate",({delta:g,hasLayoutChanged:v,hasRelativeLayoutChanged:S,layout:w})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const D=this.options.transition||m.getDefaultTransition()||ZC,{onLayoutAnimationStart:O,onLayoutAnimationComplete:R}=m.getProps(),j=!this.targetLayout||!u1(this.targetLayout,w),L=!v&&S;if(this.options.layoutRoot||this.resumeFrom||L||v&&(j||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);const B={...oh(D,"layout"),onPlay:O,onComplete:R};(m.shouldReduceMotion||this.options.layoutRoot)&&(B.delay=0,B.type=!1),this.startAnimation(B),this.setAnimationOrigin(g,L)}else v||Yg(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=w})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const h=this.getStack();h&&h.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),Pe(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(GC),this.animationId++)}getTransformTemplate(){const{visualElement:h}=this.options;return h&&h.getProps().transformTemplate}willUpdate(h=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&h1(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,(typeof v.latestValues.x=="string"||typeof v.latestValues.y=="string")&&(v.isLayoutDirty=!0),v.updateScroll("snapshot"),v.options.layoutRoot&&v.willUpdate(!1)}const{layoutId:d,layout:y}=this.options;if(d===void 0&&!y)return;const m=this.getTransformTemplate();this.prevTransformTemplateValue=m?m(this.latestValues,""):void 0,this.updateSnapshot(),h&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){const y=this.updateBlockedByResize;this.unblockUpdate(),this.updateBlockedByResize=!1,this.clearAllSnapshots(),y&&this.nodes.forEach(HC),this.nodes.forEach(kg);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(qg);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEac
12h(kC),this.nodes.forEach(qC),this.nodes.forEach(NC),this.nodes.forEach(LC)):this.nodes.forEach(qg),this.clearAllSnapshots();const d=he.now();ee.delta=tn(0,1e3/60,d-ee.timestamp),ee.timestamp=d,ee.isProcessing=!0,Bc.update.process(ee),Bc.preRender.process(ee),Bc.render.process(ee),ee.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,dh.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(UC),this.sharedNodes.forEach(PC)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,vt.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){vt.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!de(this.snapshot.measuredBox.x)&&!de(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 y=0;y<this.path.length;y++)this.path[y].updateScroll();const h=this.layout;this.layout=this.measure(!1),this.layoutVersion++,this.layoutCorrected||(this.layoutCorrected=$t()),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:d}=this.options;d&&d.notify("LayoutMeasure",this.layout.layoutBox,h?h.layoutBox:void 0)}updateScroll(h="measure"){let d=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===h&&(d=!1),d&&this.instance){const y=r(this.instance);this.scroll={animationId:this.root.animationId,phase:h,isRoot:y,offset:s(this.instance),wasRoot:this.scroll?this.scroll.isRoot:y}}}resetTransform(){if(!u)return;const h=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,d=this.projectionDelta&&!o1(this.projectionDelta),y=this.getTransformTemplate(),m=y?y(this.latestValues,""):void 0,g=m!==this.prevTransformTemplateValue;h&&this.instance&&(d||_a(this.latestValues)||g)&&(u(this.instance,m),this.shouldResetTransform=!1,this.scheduleRender())}measure(h=!0){const d=this.measurePageBox();let y=this.removeElementScroll(d);return h&&(y=this.removeTransform(y)),FC(y),{animationId:this.root.animationId,measuredBox:d,layoutBox:y,latestValues:{},source:this.id}}measurePageBox(){const{visualElement:h}=this.options;if(!h)return $t();const d=h.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(JC))){const{scroll:m}=this.root;m&&(un(d.x,m.offset.x),un(d.y,m.offset.y))}return d}removeElementScroll(h){const d=$t();if(Je(d,h),this.scroll?.wasRoot)return d;for(let y=0;y<this.path.length;y++){const m=this.path[y],{scroll:g,options:v}=m;m!==this.root&&g&&v.layoutScroll&&(g.wasRoot&&Je(d,h),un(d.x,g.offset.x),un(d.y,g.offset.y))}return d}applyTransform(h,d=!1,y){const m=y||$t();Je(m,h);for(let g=0;g<this.path.length;g++){const v=this.path[g];!d&&v.options.layoutScroll&&v.scroll&&v!==v.root&&(un(m.x,-v.scroll.offset.x),un(m.y,-v.scroll.offset.y)),_a(v.latestValues)&&Lr(m,v.latestValues,v.layout?.layoutBox)}return _a(this.latestValues)&&Lr(m,this.latestValues,this.layout?.layoutBox),m}removeTransform(h){const d=$t();Je(d,h);for(let y=0;y<this.path.length;y++){const m=this.path[y];if(!_a(m.latestValues))continue;let g;m.instance&&(Rf(m.latestValues)&&m.updateSnapshot(),g=$t(),Je(g,m.measurePageBox())),_g(d,m.latestValues,m.snapshot?.layoutBox,g)}return _a(this.latestValues)&&_g(d,this.latestValues),d}setTargetDelta(h){this.targetDelta=h,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(h){this.options={...this.options,...h,crossfade:h.crossfade!==void 0?h.crossfade:!0}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==ee.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(h=!1){const d=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=d.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=d.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=d.isSharedProjectionDirty);const y=!!this.resumingFrom||this!==d;if(!(h||y&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:g,layoutId:v}=this.options;if(!this.layout||!(g||v))return;this.resolvedRelativeTargetAt=ee.timestamp;const S=this.getClosestProjectingParent();S&&this.linkedParentVersion!==S.layoutVersion&&!S.options.layoutRoot&&this.removeRelativeTarget(),!this.targetDelta&&!this.relativeTarget&&(this.options.layoutAnchor!==!1&&S&&S.layout?this.createRelativeTarget(S,this.layout.layoutBox,S.layout.layoutBox):this.removeRelativeTarget()),!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=$t(),this.targetWithTransforms=$t()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),gC(this.target,this.relativeTarget,this.relativeParent.target,this.options.layoutAnchor||void 0)):this.targetDelta?(this.resumingFrom?this.applyTransform(this.layout.layoutBox,!1,this.target):Je(this.target,this.layout.layoutBox),Jv(this.target,this.targetDelta)):Je(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,this.options.layoutAnchor!==!1&&S&&!!S.resumingFrom==!!this.resumingFrom&&!S.options.layoutScroll&&S.target&&this.animationProgress!==1?this.createRelativeTarget(S,this.target,S.target):this.relativeParent=this.relativeTarget=void 0))}getClosestProjectingParent(){if(!(!this.parent||Rf(this.parent.latestValues)||Fv(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}createRelativeTarget(h,d,y){this.relativeParent=h,this.linkedParentVersion=h.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=$t(),this.relativeTargetOrigin=$t(),Kr(this.relativeTargetOrigin,d,y,this.options.layoutAnchor||void 0),Je(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){const h=this.getLead(),d=!!this.resumingFrom||this!==h;let y=!0;
12if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(y=!1),d&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(y=!1),this.resolvedRelativeTargetAt===ee.timestamp&&(y=!1),y)return;const{layout:m,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||!(m||g))return;Je(this.layoutCorrected,this.layout.layoutBox);const v=this.treeScale.x,S=this.treeScale.y;KA(this.layoutCorrected,this.treeScale,this.path,d),h.layout&&!h.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(h.target=h.layout.layoutBox,h.targetWithTransforms=$t());const{target:w}=h;if(!w){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(Cg(this.prevProjectionDelta.x,this.projectionDelta.x),Cg(this.prevProjectionDelta.y,this.projectionDelta.y)),Yl(this.projectionDelta,this.layoutCorrected,w,this.latestValues),(this.treeScale.x!==v||this.treeScale.y!==S||!Vg(this.projectionDelta.x,this.prevProjectionDelta.x)||!Vg(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",w))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(h=!0){if(this.options.visualElement?.scheduleRender(),h){const d=this.getStack();d&&d.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=Di(),this.projectionDelta=Di(),this.projectionDeltaWithTransform=Di()}setAnimationOrigin(h,d=!1){const y=this.snapshot,m=y?y.latestValues:{},g={...this.latestValues},v=Di();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!d;const S=$t(),w=y?y.source:void 0,D=this.layout?this.layout.source:void 0,O=w!==D,R=this.getStack(),j=!R||R.members.length<=1,L=!!(O&&!j&&this.options.crossfade===!0&&!this.path.some(QC));this.animationProgress=0;let B;this.mixTargetDelta=X=>{const K=X/1e3;Xg(v.x,h.x,K),Xg(v.y,h.y,K),this.setTargetDelta(v),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(Kr(S,this.layout.layoutBox,this.relativeParent.layout.layoutBox,this.options.layoutAnchor||void 0),KC(this.relativeTarget,this.relativeTargetOrigin,S,K),B&&xC(this.relativeTarget,B)&&(this.isProjectionDirty=!1),B||(B=$t()),Je(B,this.relativeTarget)),O&&(this.animationValues=g,AC(g,m,this.latestValues,K,L,j)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=K},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(h){this.notifyListeners("animationStart"),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&(Pe(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=vt.update(()=>{Br.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=We(0)),this.motionValue.jump(0,!1),this.currentAnimation=DC(this.motionValue,[0,1e3],{...h,velocity:0,isSync:!0,onUpdate:d=>{this.mixTargetDelta(d),h.onUpdate&&h.onUpdate(d)},onStop:()=>{},onComplete:()=>{h.onComplete&&h.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const h=this.getStack();h&&h.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(zC),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const h=this.getLead();let{targetWithTransforms:d,target:y,layout:m,latestValues:g}=h;if(!(!d||!y||!m)){if(this!==h&&this.layout&&m&&m1(this.options.animationType,this.layout.layoutBox,m.layoutBox)){y=this.target||$t();const v=de(this.layout.layoutBox.x);y.x.min=h.target.x.min,y.x.max=y.x.min+v;const S=de(this.layout.layoutBox.y);y.y.min=h.target.y.min,y.y.max=y.y.min+S}Je(d,y),Lr(d,g),Yl(this.projectionDeltaWithTransform,this.layoutCorrected,d,g)}}registerSharedNode(h,d){this.sharedNodes.has(h)||this.sharedNodes.set(h,new _C),this.sharedNodes.get(h).add(d);const m=d.options.initialPromotionConfig;d.promote({transition:m?m.transition:void 0,preserveFollowOpacity:m&&m.shouldPreserveFollowOpacity?m.shouldPreserveFollowOpacity(d):void 0})}isLead(){const h=this.getStack();return h?h.lead===this:!0}getLead(){const{layoutId:h}=this.options;
12return h?this.getStack()?.lead||this:this}getPrevLead(){const{layoutId:h}=this.options;return h?this.getStack()?.prevLead:void 0}getStack(){const{layoutId:h}=this.options;if(h)return this.root.sharedNodes.get(h)}promote({needsReset:h,transition:d,preserveFollowOpacity:y}={}){const m=this.getStack();m&&m.promote(this,y),h&&(this.projectionDelta=void 0,this.needsReset=!0),d&&this.setOptions({transition:d})}relegate(){const h=this.getStack();return h?h.relegate(this):!1}resetSkewAndRotation(){const{visualElement:h}=this.options;if(!h)return;let d=!1;const{latestValues:y}=h;if((y.z||y.rotate||y.rotateX||y.rotateY||y.rotateZ||y.skewX||y.skewY)&&(d=!0),!d)return;const m={};y.z&&Qc("z",h,m,this.animationValues);for(let g=0;g<Kc.length;g++)Qc(`rotate${Kc[g]}`,h,m,this.animationValues),Qc(`skew${Kc[g]}`,h,m,this.animationValues);h.render();for(const g in m)h.setStaticValue(g,m[g]),this.animationValues&&(this.animationValues[g]=m[g]);h.scheduleRender()}applyProjectionStyles(h,d){if(!this.instance||this.isSVG)return;if(!this.isVisible){h.visibility="hidden";return}const y=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,h.visibility="",h.opacity="",h.pointerEvents=Vr(d?.pointerEvents)||"",h.transform=y?y(this.latestValues,""):"none";return}const m=this.getLead();if(!this.projectionDelta||!this.layout||!m.target){this.options.layoutId&&(h.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,h.pointerEvents=Vr(d?.pointerEvents)||""),this.hasProjected&&!_a(this.latestValues)&&(h.transform=y?y({},""):"none",this.hasProjected=!1);return}h.visibility="";const g=m.animationValues||m.latestValues;this.applyTransformsToTarget();let v=TC(this.projectionDeltaWithTransform,this.treeScale,g);y&&(v=y(g,v)),h.transform=v;const{x:S,y:w}=this.projectionDelta;h.transformOrigin=`${S.origin*100}% ${w.origin*100}% 0`,m.animationValues?h.opacity=m===this?g.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:g.opacityExit:h.opacity=m===this?g.opacity!==void 0?g.opacity:"":g.opacityExit!==void 0?g.opacityExit:0;for(const D in _f){if(g[D]===void 0)continue;const{correct:O,applyTo:R,isCSSVariable:j}=_f[D],L=v==="none"?g[D]:O(g[D],m);if(R){const B=R.length;for(let X=0;X<B;X++)h[R[X]]=L}else j?this.options.visualElement.renderState.vars[D]=L:h[D]=L}this.options.layoutId&&(h.pointerEvents=m===this?Vr(d?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(h=>h.currentAnimation?.stop()),this.root.nodes.forEach(kg),this.root.sharedNodes.clear()}}}function NC(n){n.updateLayout()}function LC(n){const i=n.resumeFrom?.snapshot||n.snapshot;if(n.isLead()&&n.layout&&i&&n.hasListeners("didUpdate")){const{layoutBox:s,measuredBox:r}=n.layout,{animationType:u}=n.options,f=i.source!==n.layout.source;if(u==="size")on(g=>{const v=f?i.measuredBox[g]:i.layoutBox[g],S=de(v);v.min=s[g].min,v.max=v.min+S});else if(u==="x"||u==="y"){const g=u==="x"?"y":"x";zf(f?i.measuredBox[g]:i.layoutBox[g],s[g])}else m1(u,i.layoutBox,s)&&on(g=>{const v=f?i.measuredBox[g]:i.layoutBox[g],S=de(s[g]);v.max=v.min+S,n.relativeTarget&&!n.currentAnimation&&(n.isProjectionDirty=!0,n.relativeTarget[g].max=n.relativeTarget[g].min+S)});const h=Di();Yl(h,s,i.layoutBox);const d=Di();f?Yl(d,n.applyTransform(r,!0),i.measuredBox):Yl(d,s,i.layoutBox);const y=!o1(h);let m=!1;if(!n.resumeFrom){const g=n.getClosestProjectingParent();if(g&&!g.resumeFrom){const{snapshot:v,layout:S}=g;if(v&&S){const w=n.options.layoutAnchor||void 0,D=$t();Kr(D,i.layoutBox,v.layoutBox,w);const O=$t();Kr(O,s,S.layoutBox,w),u1(D,O)||(m=!0),g.options.layoutRoot&&(n.relativeTarget=O,n.relativeTargetOrigin=D,n.relativeParent=g)}}}n.notifyListeners("didUpdate",{layout:s,snapshot:i,delta:d,layoutDelta:h,hasLayoutChanged:y,hasRelativeLayoutChanged:m})}else if(n.isLead()){const{onExitComplete:s}=n.options;s&&s()}n.options.transition=void 0}function VC(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))}
12function BC(n){n.isProjectionDirty=n.isSharedProjectionDirty=n.isTransformDirty=!1}function UC(n){n.clearSnapshot()}function kg(n){n.clearMeasurements()}function HC(n){n.isLayoutDirty=!0,n.updateLayout()}function qg(n){n.isLayoutDirty=!1}function kC(n){n.isAnimationBlocked&&n.layout&&!n.isLayoutDirty&&(n.snapshot=n.layout,n.isLayoutDirty=!0)}function qC(n){const{visualElement:i}=n.options;i&&i.getProps().onBeforeLayoutMeasure&&i.notify("BeforeLayoutMeasure"),n.resetTransform()}function Yg(n){n.finishAnimation(),n.targetDelta=n.relativeTarget=n.target=void 0,n.isProjectionDirty=!0}function YC(n){n.resolveTargetDelta()}function XC(n){n.calcProjection()}function GC(n){n.resetSkewAndRotation()}function PC(n){n.removeLeadSnapshot()}function Xg(n,i,s){n.translate=Nt(i.translate,0,s),n.scale=Nt(i.scale,1,s),n.origin=i.origin,n.originPoint=i.originPoint}function Gg(n,i,s,r){n.min=Nt(i.min,s.min,r),n.max=Nt(i.max,s.max,r)}function KC(n,i,s,r){Gg(n.x,i.x,s.x,r),Gg(n.y,i.y,s.y,r)}function QC(n){return n.animationValues&&n.animationValues.opacityExit!==void 0}const ZC={duration:.45,ease:[.4,0,.1,1]},Pg=n=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(n),Kg=Pg("applewebkit/")&&!Pg("chrome/")?Math.round:xe;function Qg(n){n.min=Kg(n.min),n.max=Kg(n.max)}function FC(n){Qg(n.x),Qg(n.y)}function m1(n,i,s){return n==="position"||n==="preserve-aspect"&&!yC(Lg(i),Lg(s),.2)}function JC(n){return n!==n.root&&n.scroll?.wasRoot}const $C=d1({attachResizeListener:(n,i)=>Jl(n,"resize",i),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body?.scrollLeft||0,y:document.documentElement.scrollTop||document.body?.scrollTop||0}),checkIsScrollRoot:()=>!0}),Zc={current:void 0},p1=d1({measureScroll:n=>({x:n.scrollLeft,y:n.scrollTop}),defaultParent:()=>{if(!Zc.current){const n=new $C({});n.mount(window),n.setOptions({layoutScroll:!0}),Zc.current=n}return Zc.current},resetTransform:(n,i)=>{n.style.transform=i!==void 0?i:"none"},checkIsScrollRoot:n=>window.getComputedStyle(n).position==="fixed"}),eo=x.createContext({transformPagePoint:n=>n,isStatic:!1,reducedMotion:"never"});function WC(n=!0){const i=x.useContext(Kf);if(i===null)return[!0,null];const{isPresent:s,onExitComplete:r,register:u}=i,f=x.useId();x.useEffect(()=>{if(n)return u(f)},[n]);const h=x.useCallback(()=>n&&r&&r(f),[f,r,n]);return!s&&r?[!1,h]:[!0]}const y1=x.createContext({strict:!1}),Zg={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]};let Fg=!1;function IC(){if(Fg)return;const n={};for(const i in Zg)n[i]={isEnabled:s=>Zg[i].some(r=>!!s[r])};Kv(n),Fg=!0}function g1(){return IC(),YA()}function t3(n){const i=g1();for(const s in n)i[s]={...i[s],...n[s]};Kv(i)}const e3=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","propagate","ignoreStrict","viewport"]);function Qr(n){return n.startsWith("while")||n.startsWith("drag")&&n!=="draggable"||n.startsWith("layout")||n.startsWith("onTap")||n.startsWith("onPan")||n.startsWith("onLayout")||e3.has(n)}let v1=n=>!Qr(n);function n3(n){typeof n=="function"&&(v1=i=>i.startsWith("on")?!Qr(i):n(i))}try{n3(require("@emotion/is-prop-valid").default)}catch{}function a3(n,i,s){const r={};for(const u in n)u==="values"&&typeof n.values=="object"||Wt(n[u])||(v1(u)||s===!0&&Qr(u)||!i&&!Qr(u)||n.draggable&&u.startsWith("onDrag"))&&(r[u]=n[u]);return r}const no=x.createContext({});function i3(n,i){if(to(n)){const{initial:s,animate:r}=n;return{initial:s===!1||Fl(s)?s:void 0,animate:Fl(r)?r:void 0}}return n.inherit!==!1?i:{}}function l3(n){const{initial:i,animate:s}=i3(n,x.useContext(no));return x.useMemo(()=>({initial:i,animate:s}),[Jg(i),Jg(s)])}function Jg(n){return Array.isArray(n)?n.join(" "):n}const Sh=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function b1(n,i,s){for(const r in i)!Wt(i[r])&&!Iv(r,s)&&(n[r]=i[r])}function s3({transformTemplate:n},i){return x.useMemo(()=>{const s=Sh();return vh(s,i,n),Object.assign({},s.vars,s.style)},[i])}function r3(n,i){const s=n.style||{},r={};return b1(r,s,n),Object.assign(r,s3(n,i)),r}function o3(n,i){const s={},r=r3(n,i);return n.drag&&n.dragListener!==!1&&(s.draggable=!1,r.userSelect=r.WebkitUserSelect=r.WebkitTouchCallout="none",r.touchAction=n.drag===!0?"none":`pan-${n.drag==="x"?"y":"x"}`),n.tabIndex===void 0&&(n.onTap||n.onTapStart||n.whileTap)&&(s.tabIndex=0),s.style=r,s}const S1=()=>({...Sh(),attrs:{}});function u3(n,i,s,r){const u=x.useMemo(()=>{const f=S1();return t1(f,i,n1(r),n.transformTemplate,n.style),{...f.attrs,style:{...f.style}}},[i]);if(n.style){const f={};b1(f,n.style,n),u.style={...f,...u.style}}return u}const c3=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];
12function xh(n){return typeof n!="string"||n.includes("-")?!1:!!(c3.indexOf(n)>-1||/[A-Z]/u.test(n))}function f3(n,i,s,{latestValues:r},u,f=!1,h){const y=(h??xh(n)?u3:o3)(i,r,u,n),m=a3(i,typeof n=="string",f),g=n!==x.Fragment?{...m,...y,ref:s}:{},{children:v}=i,S=x.useMemo(()=>Wt(v)?v.get():v,[v]);return x.createElement(n,{...g,children:S})}function h3({scrapeMotionValuesFromProps:n,createRenderState:i},s,r,u){return{latestValues:d3(s,r,u,n),renderState:i()}}function d3(n,i,s,r){const u={},f=r(n,{});for(const S in f)u[S]=Vr(f[S]);let{initial:h,animate:d}=n;const y=to(n),m=Gv(n);i&&m&&!y&&n.inherit!==!1&&(h===void 0&&(h=i.initial),d===void 0&&(d=i.animate));let g=s?s.initial===!1:!1;g=g||h===!1;const v=g?d:h;if(v&&typeof v!="boolean"&&!Ir(v)){const S=Array.isArray(v)?v:[v];for(let w=0;w<S.length;w++){const D=ch(n,S[w]);if(D){const{transitionEnd:O,transition:R,...j}=D;for(const L in j){let B=j[L];if(Array.isArray(B)){const X=g?B.length-1:0;B=B[X]}B!==null&&(u[L]=B)}for(const L in O)u[L]=O[L]}}}return u}const x1=n=>(i,s)=>{const r=x.useContext(no),u=x.useContext(Kf),f=()=>h3(n,i,r,u);return s?f():Ri(f)},m3=x1({scrapeMotionValuesFromProps:bh,createRenderState:Sh}),p3=x1({scrapeMotionValuesFromProps:a1,createRenderState:S1}),y3=Symbol.for("motionComponentSymbol");function g3(n,i,s){const r=x.useRef(s);x.useInsertionEffect(()=>{r.current=s});const u=x.useRef(null);return x.useCallback(f=>{f&&n.onMount?.(f);const h=r.current;if(typeof h=="function")if(f){const d=h(f);typeof d=="function"&&(u.current=d)}else u.current?(u.current(),u.current=null):h(f);else h&&(h.current=f);i&&(f?i.mount(f):i.unmount())},[i])}const T1=x.createContext({});function Ai(n){return n&&typeof n=="object"&&Object.prototype.hasOwnProperty.call(n,"current")}function v3(n,i,s,r,u,f){const{visualElement:h}=x.useContext(no),d=x.useContext(y1),y=x.useContext(Kf),m=x.useContext(eo),g=m.reducedMotion,v=m.skipAnimations,S=x.useRef(null),w=x.useRef(!1);r=r||d.renderer,!S.current&&r&&(S.current=r(n,{visualState:i,parent:h,props:s,presenceContext:y,blockInitialAnimation:y?y.initial===!1:!1,reducedMotionConfig:g,skipAnimations:v,isSVG:f}),w.current&&S.current&&(S.current.manuallyAnimateOnMount=!0));const D=S.current,O=x.useContext(T1);D&&!D.projection&&u&&(D.type==="html"||D.type==="svg")&&b3(S.current,s,u,O);const R=x.useRef(!1);x.useInsertionEffect(()=>{D&&R.current&&D.update(s,y)});const j=s[Rv],L=x.useRef(!!j&&typeof window<"u"&&!window.MotionHandoffIsComplete?.(j)&&window.MotionHasOptimisedAnimation?.(j));return Pf(()=>{w.current=!0,D&&(R.current=!0,window.MotionIsMounted=!0,D.updateFeatures(),D.scheduleRenderMicrotask(),L.current&&D.animationState&&D.animationState.animateChanges())}),x.useEffect(()=>{D&&(!L.current&&D.animationState&&D.animationState.animateChanges(),L.current&&(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(j)}),L.current=!1),D.enteringChildren=void 0)}),D}function b3(n,i,s,r){const{layoutId:u,layout:f,drag:h,dragConstraints:d,layoutScroll:y,layoutRoot:m,layoutAnchor:g,layoutCrossfade:v}=i;n.projection=new s(n.latestValues,i["data-framer-portal-id"]?void 0:E1(n.parent)),n.projection.setOptions({layoutId:u,layout:f,alwaysMeasureLayout:!!h||d&&Ai(d),visualElement:n,animationType:typeof f=="string"?f:"both",initialPromotionConfig:r,crossfade:v,layoutScroll:y,layoutRoot:m,layoutAnchor:g})}function E1(n){if(n)return n.options.allowProjection!==!1?n.projection:E1(n.parent)}function Fc(n,{forwardMotionProps:i=!1,type:s}={},r,u){r&&t3(r);const f=s?s==="svg":xh(n),h=f?p3:m3;function d(m,g){let v;const S={...x.useContext(eo),...m,layoutId:S3(m)},{isStatic:w}=S,D=l3(m),O=h(m,w);if(!w&&typeof window<"u"){x3();const R=T3(S);v=R.MeasureLayout,D.visualElement=v3(n,O,S,u,R.ProjectionNode,f)}return T.jsxs(no.Provider,{value:D,children:[v&&D.visualElement?T.jsx(v,{visualElement:D.visualElement,...S}):null,f3(n,m,g3(O,D.visualElement,g),O,w,i,f)]})}d.displayName=`motion.${typeof n=="string"?n:`create(${n.displayName??n.name??""})`}`;const y=x.forwardRef(d);return y[y3]=n,y}function S3({layoutId:n}){const i=x.useContext(q0).id;return i&&n!==void 0?i+"-"+n:n}function x3(n,i){x.useContext(y1).strict}function T3(n){const i=g1(),{drag:s,layout:r}=i;if(!s&&!r)return{};const u={...s,...r};return{MeasureLayout:s?.isEnabled(n)||r?.isEnabled(n)?u.MeasureLayout:void 0,ProjectionNode:u.ProjectionNode}}
12function E3(n,i){if(typeof Proxy>"u")return Fc;const s=new Map,r=(f,h)=>Fc(f,h,n,i),u=(f,h)=>r(f,h);return new Proxy(u,{get:(f,h)=>h==="create"?r:(s.has(h)||s.set(h,Fc(h,void 0,n,i)),s.get(h))})}const A3=(n,i)=>i.isSVG??xh(n)?new lC(i):new IA(i,{allowProjection:n!==x.Fragment});class C3 extends ca{constructor(i){super(i),i.animationState||(i.animationState=cC(i))}updateAnimationControlsSubscription(){const{animate:i}=this.node.getProps();Ir(i)&&(this.unmountControls=i.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:i}=this.node.getProps(),{animate:s}=this.node.prevProps||{};i!==s&&this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}}let w3=0;class D3 extends ca{constructor(){super(...arguments),this.id=w3++,this.isExitComplete=!1}update(){if(!this.node.presenceContext)return;const{isPresent:i,onExitComplete:s}=this.node.presenceContext,{isPresent:r}=this.node.prevPresenceContext||{};if(!this.node.animationState||i===r)return;if(i&&r===!1){if(this.isExitComplete){const{initial:f,custom:h}=this.node.getProps();if(typeof f=="string"){const d=La(this.node,f,h);if(d){const{transition:y,transitionEnd:m,...g}=d;for(const v in g)this.node.getValue(v)?.jump(g[v])}}this.node.animationState.reset(),this.node.animationState.animateChanges()}else this.node.animationState.setActive("exit",!1);this.isExitComplete=!1;return}const u=this.node.animationState.setActive("exit",!i);s&&!i&&u.then(()=>{this.isExitComplete=!0,s(this.id)})}mount(){const{register:i,onExitComplete:s}=this.node.presenceContext||{};s&&s(this.id),i&&(this.unmount=i(this.id))}unmount(){}}const M3={animation:{Feature:C3},exit:{Feature:D3}};function ns(n){return{point:{x:n.pageX,y:n.pageY}}}const R3=n=>i=>mh(i)&&n(i,ns(i));function Xl(n,i,s,r){return Jl(n,i,R3(s),r)}const A1=({current:n})=>n?n.ownerDocument.defaultView:null,$g=(n,i)=>Math.abs(n-i);function O3(n,i){const s=$g(n.x,i.x),r=$g(n.y,i.y);return Math.sqrt(s**2+r**2)}const Wg=new Set(["auto","scroll"]);class C1{constructor(i,s,{transformPagePoint:r,contextWindow:u=window,dragSnapToOrigin:f=!1,distanceThreshold:h=3,element:d}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.lastRawMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.scrollPositions=new Map,this.removeScrollListeners=null,this.onElementScroll=w=>{this.handleScroll(w.target)},this.onWindowScroll=()=>{this.handleScroll(window)},this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;this.lastRawMoveEventInfo&&(this.lastMoveEventInfo=Ar(this.lastRawMoveEventInfo,this.transformPagePoint));const w=Jc(this.lastMoveEventInfo,this.history),D=this.startEvent!==null,O=O3(w.offset,{x:0,y:0})>=this.distanceThreshold;if(!D&&!O)return;const{point:R}=w,{timestamp:j}=ee;this.history.push({...R,timestamp:j});const{onStart:L,onMove:B}=this.handlers;D||(L&&L(this.lastMoveEvent,w),this.startEvent=this.lastMoveEvent),B&&B(this.lastMoveEvent,w)},this.handlePointerMove=(w,D)=>{this.lastMoveEvent=w,this.lastRawMoveEventInfo=D,this.lastMoveEventInfo=Ar(D,this.transformPagePoint),vt.update(this.updatePoint,!0)},this.handlePointerUp=(w,D)=>{this.end();const{onEnd:O,onSessionEnd:R,resumeAnimation:j}=this.handlers;if((this.dragSnapToOrigin||!this.startEvent)&&j&&j(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const L=Jc(w.type==="pointercancel"?this.lastMoveEventInfo:Ar(D,this.transformPagePoint),this.history);this.startEvent&&O&&O(w,L),R&&R(w,L)},!mh(i))return;this.dragSnapToOrigin=f,this.handlers=s,this.transformPagePoint=r,this.distanceThreshold=h,this.contextWindow=u||window;const y=ns(i),m=Ar(y,this.transformPagePoint),{point:g}=m,{timestamp:v}=ee;this.history=[{...g,timestamp:v}];const{onSessionStart:S}=s;S&&S(i,Jc(m,this.history)),this.removeListeners=Il(Xl(this.contextWindow,"pointermove",this.handlePointerMove),Xl(this.contextWindow,"pointerup",this.handlePointerUp),Xl(this.contextWindow,"pointercancel",this.handlePointerUp)),d&&this.startScrollTracking(d)}startScrollTracking(i){let s=i.parentElement;for(;s;){const r=getComputedStyle(s);(Wg.has(r.overflowX)||Wg.has(r.overflowY))&&this.scrollPositions.set(s,{x:s.scrollLeft,y:s.scrollTop}),s=s.parentElement}this.scrollPositions.set(window,{x:window.scrollX,y:window.scrollY}),window.addEventListener("scroll",this.onElementScroll,{capture:!0}),window.addEventListener("scroll",this.onWindowScroll),this.removeScrollListeners=()=>{window.removeEventListener("scroll",this.onElementScroll,{capture:!0}),window.removeEventListener("scroll",this.onWindowScroll)}}handleScroll(i){const s=this.scrollPositions.get(i);if(!s)return;const r=i===window,u=r?{x:window.scrollX,y:window.scrollY}:{x:i.scrollLeft,y:i.scrollTop},f={x:u.x-s.x,y:u.y-s.y};f.x===0&&f.y===0||(r?this.lastMoveEventInfo&&(this.lastMoveEventInfo.point.x+=f.x,this.lastMoveEventInfo.point.y+=f.y):this.history.length>0&&(this.history[0].x-=f.x,this.history[0].y-=f.y),this.scrollPositions.set(i,u),vt.update(this.updatePoint,!0))}updateHandlers(i){this.handlers=i}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),Pe(this.updatePoint)}}function Ar(n,i){return i?{point:i(n.point)}:n}function Ig(n,i){return{x:n.x-i.x,y:n.y-i.y}}
12function Jc({point:n},i){return{point:n,delta:Ig(n,w1(i)),offset:Ig(n,_3(i)),velocity:z3(i,.1)}}function _3(n){return n[0]}function w1(n){return n[n.length-1]}function z3(n,i){if(n.length<2)return{x:0,y:0};let s=n.length-1,r=null;const u=w1(n);for(;s>=0&&(r=n[s],!(u.timestamp-r.timestamp>ze(i)));)s--;if(!r)return{x:0,y:0};r===n[0]&&n.length>2&&u.timestamp-r.timestamp>ze(i)*2&&(r=n[1]);const f=Ge(u.timestamp-r.timestamp);if(f===0)return{x:0,y:0};const h={x:(u.x-r.x)/f,y:(u.y-r.y)/f};return h.x===1/0&&(h.x=0),h.y===1/0&&(h.y=0),h}function j3(n,{min:i,max:s},r){return i!==void 0&&n<i?n=r?Nt(i,n,r.min):Math.max(n,i):s!==void 0&&n>s&&(n=r?Nt(s,n,r.max):Math.min(n,s)),n}function t0(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 N3(n,{top:i,left:s,bottom:r,right:u}){return{x:t0(n.x,s,u),y:t0(n.y,i,r)}}function e0(n,i){let s=i.min-n.min,r=i.max-n.max;return i.max-i.min<n.max-n.min&&([s,r]=[r,s]),{min:s,max:r}}function L3(n,i){return{x:e0(n.x,i.x),y:e0(n.y,i.y)}}function V3(n,i){let s=.5;const r=de(n),u=de(i);return u>r?s=Oi(i.min,i.max-r,n.min):r>u&&(s=Oi(n.min,n.max-u,i.min)),tn(0,1,s)}function B3(n,i){const s={};return i.min!==void 0&&(s.min=i.min-n.min),i.max!==void 0&&(s.max=i.max-n.min),s}const jf=.35;function U3(n=jf){return n===!1?n=0:n===!0&&(n=jf),{x:n0(n,"left","right"),y:n0(n,"top","bottom")}}function n0(n,i,s){return{min:a0(n,i),max:a0(n,s)}}function a0(n,i){return typeof n=="number"?n:n[i]||0}const H3=new WeakMap;class k3{constructor(i){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=$t(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=i}start(i,{snapToCursor:s=!1,distanceThreshold:r}={}){const{presenceContext:u}=this.visualElement;if(u&&u.isPresent===!1)return;const f=v=>{s&&this.snapToCursor(ns(v).point),this.stopAnimation()},h=(v,S)=>{const{drag:w,dragPropagation:D,onDragStart:O}=this.getProps();if(w&&!D&&(this.openDragLock&&this.openDragLock(),this.openDragLock=yA(w),!this.openDragLock))return;this.latestPointerEvent=v,this.latestPanInfo=S,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),on(j=>{let L=this.getAxisMotionValue(j).get()||0;if(cn.test(L)){const{projection:B}=this.visualElement;if(B&&B.layout){const X=B.layout.layoutBox[j];X&&(L=de(X)*(parseFloat(L)/100))}}this.originPoint[j]=L}
12),O&&vt.update(()=>O(v,S),!1,!0),Ef(this.visualElement,"transform");const{animationState:R}=this.visualElement;R&&R.setActive("whileDrag",!0)},d=(v,S)=>{this.latestPointerEvent=v,this.latestPanInfo=S;const{dragPropagation:w,dragDirectionLock:D,onDirectionLock:O,onDrag:R}=this.getProps();if(!w&&!this.openDragLock)return;const{offset:j}=S;if(D&&this.currentDirection===null){this.currentDirection=Y3(j),this.currentDirection!==null&&O&&O(this.currentDirection);return}this.updateAxis("x",S.point,j),this.updateAxis("y",S.point,j),this.visualElement.render(),R&&vt.update(()=>R(v,S),!1,!0)},y=(v,S)=>{this.latestPointerEvent=v,this.latestPanInfo=S,this.stop(v,S),this.latestPointerEvent=null,this.latestPanInfo=null},m=()=>{const{dragSnapToOrigin:v}=this.getProps();(v||this.constraints)&&this.startAnimation({x:0,y:0})},{dragSnapToOrigin:g}=this.getProps();this.panSession=new C1(i,{onSessionStart:f,onStart:h,onMove:d,onSessionEnd:y,resumeAnimation:m},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:g,distanceThreshold:r,contextWindow:A1(this.visualElement),element:this.visualElement.current})}stop(i,s){const r=i||this.latestPointerEvent,u=s||this.latestPanInfo,f=this.isDragging;if(this.cancel(),!f||!u||!r)return;const{velocity:h}=u;this.startAnimation(h);const{onDragEnd:d}=this.getProps();d&&vt.postRender(()=>d(r,u))}cancel(){this.isDragging=!1;const{projection:i,animationState:s}=this.visualElement;i&&(i.isAnimationBlocked=!1),this.endPanSession();const{dragPropagation:r}=this.getProps();!r&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),s&&s.setActive("whileDrag",!1)}endPanSession(){this.panSession&&this.panSession.end(),this.panSession=void 0}updateAxis(i,s,r){const{drag:u}=this.getProps();if(!r||!Cr(i,u,this.currentDirection))return;const f=this.getAxisMotionValue(i);let h=this.originPoint[i]+r[i];this.constraints&&this.constraints[i]&&(h=j3(h,this.constraints[i],this.elastic[i])),f.set(h)}resolveConstraints(){const{dragConstraints:i,dragElastic:s}=this.getProps(),r=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,u=this.constraints;i&&Ai(i)?this.constraints||(this.constraints=this.resolveRefConstraints()):i&&r?this.constraints=N3(r.layoutBox,i):this.constraints=!1,this.elastic=U3(s),u!==this.constraints&&!Ai(i)&&r&&this.constraints&&!this.hasMutatedConstraints&&on(f=>{this.constraints!==!1&&this.getAxisMotionValue(f)&&(this.constraints[f]=B3(r.layoutBox[f],this.constraints[f]))})}resolveRefConstraints(){const{dragConstraints:i,onMeasureDragConstraints:s}=this.getProps();if(!i||!Ai(i))return!1;const r=i.current,{projection:u}=this.visualElement;if(!u||!u.layout)return!1;const f=QA(r,u.root,this.visualElement.getTransformPagePoint());let h=L3(u.layout.layoutBox,f);if(s){const d=s(GA(h));this.hasMutatedConstraints=!!d,d&&(h=Zv(d))}return h}startAnimation(i){const{drag:s,dragMomentum:r,dragElastic:u,dragTransition:f,dragSnapToOrigin:h,onDragTransitionEnd:d}=this.getProps(),y=this.constraints||{},m=on(g=>{if(!Cr(g,s,this.currentDirection))return;let v=y&&y[g]||{};(h===!0||h===g)&&(v={min:0,max:0});const S=u?200:1e6,w=u?40:1e7,D={type:"inertia",velocity:r?i[g]:0,bounceStiffness:S,bounceDamping:w,timeConstant:750,restDelta:1,restSpeed:10,...f,...v};return this.startAxisValueAnimation(g,D)});return Promise.all(m).then(d)}startAxisValueAnimation(i,s){const r=this.getAxisMotionValue(i);return Ef(this.visualElement,i),r.start(uh(i,r,0,s,this.visualElement,!1))}stopAnimation(){on(i=>this.getAxisMotionValue(i).stop())}getAxisMotionValue(i){const s=`_drag${i.toUpperCase()}`,r=this.visualElement.getProps(),u=r[s];return u||this.visualElement.getValue(i,(r.initial?r.initial[i]:void 0)||0)}snapToCursor(i){on(s=>{const{drag:r}=this.getProps();if(!Cr(s,r,this.currentDirection))return;const{projection:u}=this.visualElement,f=this.getAxisMotionValue(s);if(u&&u.layout){const{min:h,max:d}=u.layout.layoutBox[s],y=f.get()||0;f.set(i[s]-Nt(h,d,.5)+y)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:i,dragConstraints:s}=this.getProps(),{projection:r}=this.visualElement;if(!Ai(s)||!r||!this.constraints)return;this.stopAnimation();const u={x:0,y:0};on(h=>{const d=this.getAxisMotionValue(h);if(d&&this.constraints!==!1){const y=d.get();u[h]=V3({min:y,max:y},this.constraints[h])}});const{transformTemplate:f}=this.visualElement.getProps();this.visualElement.current.style.transform=f?f({},""):"none",r.root&&r.root.updateScroll(),r.updateLayout(),this.constraints=!1,this.resolveConstraints(),on(h=>{if(!Cr(h,i,null))return;const d=this.getAxisMotionValue(h),{min:y,max:m}=this.constraints[h];d.set(Nt(y,m,u[h]))}),this.visualElement.render()}addListeners(){if(!this.visualElement.current)return;H3.set(this.visualElement,this);const i=this.visualElement.current,s=Xl(i,"pointerdown",m=>{const{drag:g,dragListener:v=!0}=this.getProps(),S=m.target,w=S!==i&&TA(S);g&&v&&!w&&this.start(m)});let r;const u=()=>{const{dragConstraints:m}=this.getProps();Ai(m)&&m.current&&(this.constraints=this.resolveRefConstraints(),r||(r=q3(i,m.current,()=>this.scalePositionWithinConstraints())))},{projection:f}=this.visualElement,h=f.addEventListener("measure",u);f&&!f.layout&&(f.root&&f.root.updateScroll(),f.updateLayout()),vt.read(u);const d=Jl(window,"resize",()=>this.scalePositionWithinConstraints()),y=f.addEventListener("didUpdate",(({delta:m,hasLayoutChanged:g})=>{this.isDragging&&g&&(on(v=>{const S=this.getAxisMotionValue(v);S&&(this.originPoint[v]+=m[v].translate,S.set(S.get()+m[v].translate))}),this.visualElement.render())}));return()=>{d(),s(),h(),y&&y(),r&&r()}}getProps(){const i=this.visualElement.getProps(),{drag:s=!1,dragDirectionLock:r=!1,dragPropagation:u=!1,dragConstraints:f=!1,dragElastic:h=jf,dragMomentum:d=!0}=i;return{...i,drag:s,dragDirectionLock:r,dragPropagation:u,dragConstraints:f,dragElastic:h,dragMomentum:d}}}function i0(n){let i=!0;return()=>{if(i){i=!1;return}n()}}function q3(n,i,s){const r=Df(n,i0(s)),u=Df(i,i0(s));return()=>{r(),u()}}function Cr(n,i,s){return(i===!0||i===n)&&(s===null||s===n)}function Y3(n,i=10){let s=null;return Math.abs(n.y)>i?s="y":Math.abs(n.x)>i&&(s="x"),s}class X3 extends ca{constructor(i){super(i),this.removeGroupControls=xe,this.removeListeners=xe,this.controls=new k3(i)}mount(){const{dragControls:i}=this.node.getProps();i&&(this.removeGroupControls=i.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||xe}update(){const{dragControls:i}=this.node.getProps(),{dragControls:s}=this.node.prevProps||{};i!==s&&(this.removeGroupControls(),i&&(this.removeGroupControls=i.subscribe(this.controls)))}unmount(){this.removeGroupControls(),this.removeListeners(),this.controls.isDragging||this.controls.endPanSession()}}const $c=n=>(i,s)=>{n&&vt.update(()=>n(i,s),!1,!0)};class G3 extends ca{constructor(){super(...arguments),this.removePointerDownListener=xe}onPointerDown(i){this.session=new C1(i,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:A1(this.node)})}createPanHandlers(){const{onPanSessionStart:i,onPanStart:s,onPan:r,onPanEnd:u}=this.node.getProps();return{onSessionStart:$c(i),onStart:$c(s),onMove:$c(r),onEnd:(f,h)=>{delete this.session,u&&vt.postRender(()=>u(f,h))}}}mount(){this.removePointerDownListener=Xl(this.node.current,"pointerdown",i=>this.onPointerDown(i))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}let Wc=!1;class P3 extends x.Component{componentDidMount(){const{visualElement:i,layoutGroup:s,switchLayoutGroup:r,layoutId:u}=this.props,{projection:f}=i;f&&(s.group&&s.group.add(f),r&&r.register&&u&&r.register(f),Wc&&f.root.didUpdate(),f.addEventListener("animationComplete",()=>{this.safeToRemove()}),f.setOptions({...f.options,layoutDependency:this.props.layoutDependency,onExitComplete:()=>this.safeToRemove()})),Br.hasEverUpdated=!0}getSnapshotBeforeUpdate(i){const{layoutDependency:s,visualElement:r,drag:u,isPresent:f}=this.props,{projection:h}=r;return h&&(h.isPresent=f,i.layoutDependency!==s&&h.setOptions({...h.options,layoutDependency:s}),Wc=!0,u||i.layoutDependency!==s||s===void 0||i.isPresent!==f?h.willUpdate():this.safeToRemove(),i.isPresent!==f&&(f?h.promote():h.relegate()||vt.postRender(()=>{const d=h.getStack();(!d||!d.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{visualElement:i,layoutAnchor:s}=this.props,{projection:r}=i;r&&(r.options.layoutAnchor=s,r.root.didUpdate(),dh.postRender(()=>{!r.currentAnimation&&r.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:i,layoutGroup:s,switchLayoutGroup:r}=this.props,{projection:u}=i;Wc=!0,u&&(u.scheduleCheckAfterUnmount(),s&&s.group&&s.group.remove(u),r&&r.deregister&&r.deregister(u))}safeToRemove(){const{safeToRemove:i}=this.props;i&&i()}render(){return null}}function D1(n){const[i,s]=WC(),r=x.useContext(q0);return T.jsx(P3,{...n,layoutGroup:r,switchLayoutGroup:x.useContext(T1),isPresent:i,safeToRemove:s})}const K3={pan:{Feature:G3},drag:{Feature:X3,ProjectionNode:p1,MeasureLayout:D1}};function l0(n,i,s){const{props:r}=n;n.animationState&&r.whileHover&&n.animationState.setActive("whileHover",s==="Start");const u="onHover"+s,f=r[u];f&&vt.postRender(()=>f(i,ns(i)))}class Q3 extends ca{mount(){const{current:i}=this.node;
12i&&(this.unmount=vA(i,(s,r)=>(l0(this.node,r,"Start"),u=>l0(this.node,u,"End"))))}unmount(){}}class Z3 extends ca{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=Il(Jl(this.node.current,"focus",()=>this.onFocus()),Jl(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function s0(n,i,s){const{props:r}=n;if(n.current instanceof HTMLButtonElement&&n.current.disabled)return;n.animationState&&r.whileTap&&n.animationState.setActive("whileTap",s==="Start");const u="onTap"+(s==="End"?"":s),f=r[u];f&&vt.postRender(()=>f(i,ns(i)))}class F3 extends ca{mount(){const{current:i}=this.node;if(!i)return;const{globalTapTarget:s,propagate:r}=this.node.props;this.unmount=AA(i,(u,f)=>(s0(this.node,f,"Start"),(h,{success:d})=>s0(this.node,h,d?"End":"Cancel")),{useGlobalTarget:s,stopPropagation:r?.tap===!1})}unmount(){}}const Nf=new WeakMap,Ic=new WeakMap,J3=n=>{const i=Nf.get(n.target);i&&i(n)},$3=n=>{n.forEach(J3)};function W3({root:n,...i}){const s=n||document;Ic.has(s)||Ic.set(s,{});const r=Ic.get(s),u=JSON.stringify(i);return r[u]||(r[u]=new IntersectionObserver($3,{root:n,...i})),r[u]}function I3(n,i,s){const r=W3(i);return Nf.set(n,s),r.observe(n),()=>{Nf.delete(n),r.unobserve(n)}}const tw={some:0,all:1};class ew extends ca{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.stopObserver?.();const{viewport:i={}}=this.node.getProps(),{root:s,margin:r,amount:u="some",once:f}=i,h={root:s?s.current:void 0,rootMargin:r,threshold:typeof u=="number"?u:tw[u]},d=y=>{const{isIntersecting:m}=y;if(this.isInView===m||(this.isInView=m,f&&!m&&this.hasEnteredView))return;m&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",m);const{onViewportEnter:g,onViewportLeave:v}=this.node.getProps(),S=m?g:v;S&&S(y)};this.stopObserver=I3(this.node.current,h,d)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:i,prevProps:s}=this.node;["amount","margin","root"].some(nw(i,s))&&this.startObserver()}unmount(){this.stopObserver?.(),this.hasEnteredView=!1,this.isInView=!1}}function nw({viewport:n={}},{viewport:i={}}={}){return s=>n[s]!==i[s]}const aw={inView:{Feature:ew},tap:{Feature:F3},focus:{Feature:Z3},hover:{Feature:Q3}},iw={layout:{ProjectionNode:p1,MeasureLayout:D1}},lw={...M3,...aw,...K3,...iw},Va=E3(lw,A3);function Zr(n){return typeof window>"u"?!1:n?vv():rh()}const sw=50,r0=()=>({current:0,offset:[],progress:0,scrollLength:0,targetOffset:0,targetLength:0,containerLength:0,velocity:0}),rw=()=>({time:0,x:r0(),y:r0()}),ow={x:{length:"Width",position:"Left"},y:{length:"Height",position:"Top"}};function o0(n,i,s,r){const u=s[i],{length:f,position:h}=ow[i],d=u.current,y=s.time;u.current=Math.abs(n[`scroll${h}`]),u.scrollLength=n[`scroll${f}`]-n[`client${f}`],u.offset.length=0,u.offset[0]=0,u.offset[1]=u.scrollLength,u.progress=Oi(0,u.scrollLength,u.current);const m=r-y;u.velocity=m>sw?0:Ff(u.current-d,m)}function uw(n,i,s){o0(n,"x",i,s),o0(n,"y",i,s),i.time=s}function cw(n,i){const s={x:0,y:0};let r=n;for(;r&&r!==i;)if(Uv(r))s.x+=r.offsetLeft,s.y+=r.offsetTop,r=r.offsetParent;else if(r.tagName==="svg"){const u=r.getBoundingClientRect();r=r.parentElement;const f=r.getBoundingClientRect();s.x+=u.left-f.left,s.y+=u.top-f.top}else if(r instanceof SVGGraphicsElement){const{x:u,y:f}=r.getBBox();s.x+=u,s.y+=f;let h=null,d=r.parentNode;for(;!h;)d.tagName==="svg"&&(h=d),d=r.parentNode;r=h}else break;return s}const Lf={start:0,center:.5,end:1};function u0(n,i,s=0){let r=0;if(n in Lf&&(n=Lf[n]),typeof n=="string"){const u=parseFloat(n);n.endsWith("px")?r=u:n.endsWith("%")?n=u/100:n.endsWith("vw")?r=u/100*document.documentElement.clientWidth:n.endsWith("vh")?r=u/100*document.documentElement.clientHeight:n=u}return typeof n=="number"&&(r=i*n),s+r}const fw=[0,0];function hw(n,i,s,r){let u=Array.isArray(n)?n:fw,f=0,h=0;return typeof n=="number"?u=[n,n]:typeof n=="string"&&(n=n.trim(),n.includes(" ")?u=n.split(" "):u=[n,Lf[n]?n:"0"]),f=u0(u[0],s,r),h=u0(u[1],i),f-h}const Ul={Enter:[[0,1],[1,1]],Exit:[[0,0],[1,0]],Any:[[1,0],[0,1]],All:[[0,0],[1,1]]},dw={x:0,y:0};function mw(n){return"getBBox"in n&&n.tagName!=="svg"?n.getBBox():{width:n.clientWidth,height:n.clientHeight}}function pw(n,i,s){const{offset:r=Ul.All}=s,{target:u=n,axis:f="y"}=s,h=f==="y"?"height":"width",d=u!==n?cw(u,n):dw,y=u===n?{width:n.scrollWidth,height:n.scrollHeight}:mw(u),m={width:n.clientWidth,height:n.clientHeight};i[f].offset.length=0;let g=!i[f].interpolate;const v=r.length;for(let S=0;S<v;S++){const w=hw(r[S],m[h],y[h],d[f]);
12!g&&w!==i[f].interpolatorOffsets[S]&&(g=!0),i[f].offset[S]=w}g&&(i[f].interpolate=ah(i[f].offset,dv(r),{clamp:!1}),i[f].interpolatorOffsets=[...i[f].offset]),i[f].progress=tn(0,1,i[f].interpolate(i[f].current))}function yw(n,i=n,s){if(s.x.targetOffset=0,s.y.targetOffset=0,i!==n){let r=i;for(;r&&r!==n;)s.x.targetOffset+=r.offsetLeft,s.y.targetOffset+=r.offsetTop,r=r.offsetParent}s.x.targetLength=i===n?i.scrollWidth:i.clientWidth,s.y.targetLength=i===n?i.scrollHeight:i.clientHeight,s.x.containerLength=n.clientWidth,s.y.containerLength=n.clientHeight}function gw(n,i,s,r={}){return{measure:u=>{yw(n,r.target,s),uw(n,s,u),(r.offset||r.target)&&pw(n,s,r)},notify:()=>i(s)}}const Ti=new WeakMap,c0=new WeakMap,tf=new WeakMap,f0=new WeakMap,wr=new WeakMap,h0=n=>n===document.scrollingElement?window:n;function M1(n,{container:i=document.scrollingElement,trackContentSize:s=!1,...r}={}){if(!i)return xe;let u=tf.get(i);u||(u=new Set,tf.set(i,u));const f=rw(),h=gw(i,n,f,r);if(u.add(h),!Ti.has(i)){const y=()=>{for(const S of u)S.measure(ee.timestamp);vt.preUpdate(m)},m=()=>{for(const S of u)S.notify()},g=()=>vt.read(y);Ti.set(i,g);const v=h0(i);window.addEventListener("resize",g),i!==document.documentElement&&c0.set(i,Df(i,g)),v.addEventListener("scroll",g),g()}if(s&&!wr.has(i)){const y=Ti.get(i),m={width:i.scrollWidth,height:i.scrollHeight};f0.set(i,m);const g=()=>{const S=i.scrollWidth,w=i.scrollHeight;(m.width!==S||m.height!==w)&&(y(),m.width=S,m.height=w)},v=vt.read(g,!0);wr.set(i,v)}const d=Ti.get(i);return vt.read(d,!1,!0),()=>{Pe(d);const y=tf.get(i);if(!y||(y.delete(h),y.size))return;const m=Ti.get(i);Ti.delete(i),m&&(h0(i).removeEventListener("scroll",m),c0.get(i)?.(),window.removeEventListener("resize",m));const g=wr.get(i);g&&(Pe(g),wr.delete(i)),f0.delete(i)}}const vw=[[Ul.Enter,"entry"],[Ul.Exit,"exit"],[Ul.Any,"cover"],[Ul.All,"contain"]],d0={start:0,end:1};function bw(n){const i=n.trim().split(/\s+/);if(i.length!==2)return;const s=d0[i[0]],r=d0[i[1]];if(!(s===void 0||r===void 0))return[s,r]}function Sw(n){if(n.length!==2)return;const i=[];for(const s of n)if(Array.isArray(s))i.push(s);else if(typeof s=="string"){const r=bw(s);if(!r)return;i.push(r)}else return;return i}function xw(n,i){const s=Sw(n);if(!s)return!1;for(let r=0;r<2;r++){const u=s[r],f=i[r];if(u[0]!==f[0]||u[1]!==f[1])return!1}return!0}function Th(n){if(!n)return{rangeStart:"contain 0%",rangeEnd:"contain 100%"};for(const[i,s]of vw)if(xw(n,i))return{rangeStart:`${s} 0%`,rangeEnd:`${s} 100%`}}const m0=new Map;function p0(n){const i={value:0},s=M1(r=>{i.value=r[n.axis].progress*100},n);return{currentTime:i,cancel:s}}function R1({source:n,container:i,...s}){const{axis:r}=s;n&&(i=n);let u=m0.get(i);u||(u=new Map,m0.set(i,u));const f=s.target??"self";let h=u.get(f);h||(h={},u.set(f,h));const d=r+(s.offset??[]).join(",");return h[d]||(s.target&&Zr(s.target)?Th(s.offset)?h[d]=new ViewTimeline({subject:s.target,axis:r}):h[d]=p0({container:i,...s}):Zr()?h[d]=new ScrollTimeline({source:i,axis:r}):h[d]=p0({container:i,...s})),h[d]}function Tw(n,i){const s=R1(i),r=i.target?Th(i.offset):void 0,u=i.target?Zr(i.target)&&!!r:Zr();return n.attachTimeline({timeline:u?s:void 0,...r&&u&&{rangeStart:r.rangeStart,rangeEnd:r.rangeEnd},observe:f=>(f.pause(),Xv(h=>{f.time=f.iterationDuration*h},s))})}function Ew(n){return n.length===2}function Aw(n,i){return Ew(n)?M1(s=>{n(s[i.axis].progress,s)},i):Xv(n,R1(i))}function O1(n,{axis:i="y",container:s=document.scrollingElement,...r}={}){if(!s)return xe;const u={axis:i,container:s,...r};return typeof n=="function"?Aw(n,u):Tw(n,u)}const Cw=()=>({scrollX:We(0),scrollY:We(0),scrollXProgress:We(0),scrollYProgress:We(0)}),Dr=n=>n?!n.current:!1;function y0(n,i,s,r){return{factory:u=>O1(u,{...i,axis:n,container:s?.current||void 0,target:r?.current||void 0}),times:[0,1],keyframes:[0,1],ease:u=>u,duration:1}}function ww(n,i){return typeof window>"u"?!1:n?vv()&&!!Th(i):rh()}function _1({container:n,target:i,...s}={}){const r=Ri(Cw);ww(i,s.offset)&&(r.scrollXProgress.accelerate=y0("x",s,n,i),r.scrollYProgress.accelerate=y0("y",s,n,i));const u=x.useRef(null),f=x.useRef(!1),h=x.useCallback(()=>(u.current=O1((d,{x:y,y:m})=>{r.scrollX.set(y.current),r.scrollXProgress.set(y.progress),r.scrollY.set(m.current),r.scrollYProgress.set(m.progress)},{...s,container:n?.current||void 0,target:i?.current||void 0}),()=>{u.current?.()}),[n,i,JSON.stringify(s.offset)]);return Pf(()=>{if(f.current=!1,Dr(n)||Dr(i)){f.current=!0;return}else return h()}
12,[h]),x.useEffect(()=>{if(f.current)return Kl(!Dr(n)),Kl(!Dr(i)),h()},[h]),r}function z1(n){const i=Ri(()=>We(n)),{isStatic:s}=x.useContext(eo);if(s){const[,r]=x.useState(n);x.useEffect(()=>i.on("change",r),[])}return i}function j1(n,i){const s=z1(i()),r=()=>s.set(i());return r(),Pf(()=>{const u=()=>vt.preRender(r,!1,!0),f=n.map(h=>h.on("change",u));return()=>{f.forEach(h=>h()),Pe(r)}}),s}function Dw(n){ql.current=[],n();const i=j1(ql.current,n);return ql.current=void 0,i}function oa(n,i,s,r){if(typeof n=="function")return Dw(n);if(s!==void 0&&!Array.isArray(s)&&typeof i!="function")return Mw(n,i,s,r);const h=typeof i=="function"?i:NA(i,s,r),d=Array.isArray(n)?g0(n,h):g0([n],([m])=>h(m)),y=Array.isArray(n)?void 0:n.accelerate;return y&&!y.isTransformed&&typeof i!="function"&&Array.isArray(s)&&r?.clamp!==!1&&(d.accelerate={...y,times:i,keyframes:s,isTransformed:!0}),d}function g0(n,i){const s=Ri(()=>[]);return j1(n,()=>{s.length=0;const r=n.length;for(let u=0;u<r;u++)s[u]=n[u].get();return i(s)})}function Mw(n,i,s,r){const u=Ri(()=>Object.keys(s)),f=Ri(()=>({}));for(const h of u)f[h]=oa(n,i,s[h],r);return f}function Rw(n,i={}){const{isStatic:s}=x.useContext(eo),r=()=>Wt(n)?n.get():n;if(s)return oa(r);const u=z1(r());return x.useInsertionEffect(()=>LA(u,n,i),[u,JSON.stringify(i)]),u}function Ow(n,i={}){return Rw(n,{type:"spring",...i})}const _w=n=>n.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),zw=n=>n.replace(/^([A-Z])|[\s-_]+(\w)/g,(i,s,r)=>r?r.toUpperCase():s.toLowerCase()),v0=n=>{const i=zw(n);return i.charAt(0).toUpperCase()+i.slice(1)},N1=(...n)=>n.filter((i,s,r)=>!!i&&i.trim()!==""&&r.indexOf(i)===s).join(" ").trim(),jw=n=>{for(const i in n)if(i.startsWith("aria-")||i==="role"||i==="title")return!0};var Nw={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"};const Lw=x.forwardRef(({color:n="currentColor",size:i=24,strokeWidth:s=2,absoluteStrokeWidth:r,className:u="",children:f,iconNode:h,...d},y)=>x.createElement("svg",{ref:y,...Nw,width:i,height:i,stroke:n,strokeWidth:r?Number(s)*24/Number(i):s,className:N1("lucide",u),...!f&&!jw(d)&&{"aria-hidden":"true"},...d},[...h.map(([m,g])=>x.createElement(m,g)),...Array.isArray(f)?f:[f]]));const nn=(n,i)=>{const s=x.forwardRef(({className:r,...u},f)=>x.createElement(Lw,{ref:f,iconNode:i,className:N1(`lucide-${_w(v0(n))}`,`lucide-${n}`,r),...u}));return s.displayName=v0(n),s};const Vw=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]],Bw=nn("arrow-right",Vw);const Uw=[["path",{d:"M7 7h10v10",key:"1tivn9"}],["path",{d:"M7 17 17 7",key:"1vkiza"}]],Eh=nn("arrow-up-right",Uw);const Hw=[["path",{d:"M3 3v16a2 2 0 0 0 2 2h16",key:"c24i48"}],["path",{d:"M18 17V9",key:"2bz60n"}],["path",{d:"M13 17V5",key:"1frdt8"}],["path",{d:"M8 17v-3",key:"17ska0"}]],kw=nn("chart-column",Hw);const qw=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"10",x2:"10",y1:"15",y2:"9",key:"c1nkhi"}],["line",{x1:"14",x2:"14",y1:"15",y2:"9",key:"h65svq"}]],Yw=nn("circle-pause",qw);const Xw=[["path",{d:"m18 16 4-4-4-4",key:"1inbqp"}],["path",{d:"m6 8-4 4 4 4",key:"15zrgr"}],["path",{d:"m14.5 4-5 16",key:"e7oirm"}]],Gw=nn("code-xml",Xw);const Pw=[["path",{d:"M12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83z",key:"zw3jo"}],["path",{d:"M2 12a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 12",key:"1wduqc"}],["path",{d:"M2 17a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 17",key:"kqbvx6"}]],Kw=nn("layers",Pw);const Qw=[["path",{d:"m22 7-8.991 5.727a2 2 0 0 1-2.009 0L2 7",key:"132q7q"}],["rect",{x:"2",y:"4",width:"20",height:"16",rx:"2",key:"izxlao"}]],Zw=nn("mail",Qw);const Fw=[["path",{d:"M11 21.73a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73z",key:"1a0edw"}],["path",{d:"M12 22V12",key:"d0xqtd"}],["polyline",{points:"3.29 7 12 12 20.71 7",key:"ousv84"}],["path",{d:"m7.5 4.27 9 5.15",key:"1c824w"}]],Jw=nn("package",Fw);const $w=[["path",{d:"M16.247 7.761a6 6 0 0 1 0 8.478",key:"1fwjs5"}],["path",{d:"M19.075 4.933a10 10 0 0 1 0 14.134",key:"ehdyv1"}],["path",{d:"M4.925 19.067a10 10 0 0 1 0-14.134",key:"1q22gi"}],["path",{d:"M7.753 16.239a6 6 0 0 1 0-8.478",key:"r2q7qm"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}]],L1=nn("radio",$w);const Ww=[["path",{d:"M4.5 16.5c-1.5 1.26-2 5-2 5s3.74-.5 5-2c.71-.84.7-2.13-.09-2.91a2.18 2.18 0 0 0-2.91-.09z",key:"m3
12kijz"}],["path",{d:"m12 15-3-3a22 22 0 0 1 2-3.95A12.88 12.88 0 0 1 22 2c0 2.72-.78 7.5-6 11a22.35 22.35 0 0 1-4 2z",key:"1fmvmk"}],["path",{d:"M9 12H4s.55-3.03 2-4c1.62-1.08 5 0 5 0",key:"1f8sc4"}],["path",{d:"M12 15v5s3.03-.55 4-2c1.08-1.62 0-5 0-5",key:"qeys4"}]],Iw=nn("rocket",Ww);const tD=[["rect",{width:"14",height:"20",x:"5",y:"2",rx:"2",ry:"2",key:"1yt0o3"}],["path",{d:"M12 18h.01",key:"mhygvu"}]],eD=nn("smartphone",tD),V1=[{name:"3DX Phone",tagline:"iPhone-style 3DXChat Overlay",description:"A free iPhone-style overlay for 3DXChat with real built-in apps, local-first storage and a dev kit for custom apps.",features:["Transparent Windows overlay","Built-in phone apps","Local-first private data","Dev kit for custom apps"],downloadUrl:null,websiteUrl:"https://3dxphone.sophey.vodka",icon:"phone",accent:"cyan",paused:!0},{name:"Pika Radio",tagline:"YouTube & DJ Streamer for 3DXChat",description:"Stream YouTube music to 3DXChat without Shoutcast or Icecast servers. Your real IP stays hidden.",features:["Secure tunneling, IP hidden","No server rental required","Crystal clear low-latency audio","Custom subdomain per user"],downloadUrl:null,websiteUrl:"/pikaradio",internal:!0,icon:"radio",accent:"plasma"},{name:"3DXChat Profile Editor",tagline:"Profile & Gift Editor",description:"A powerful web-based editor for 3DXChat profiles and gifts. Build beautiful profile pages and craft custom gifts in real time.",features:["Enhanced Profile Editor","Gift Editor for 3DXChat","Web-based interface","Real-time editing"],downloadUrl:null,websiteUrl:"/editor",icon:"code",accent:"cyan"},{name:"Soph's Outfit Editor",tagline:"Layer Clothing Items",description:"Web-based outfit editor for 3DXChat. Layer clothing items together to create unique looks and preview them instantly.",features:["Layer multiple clothing items","Live outfit preview","Save and share looks","Web-based, no install"],downloadUrl:null,websiteUrl:"https://outfits.sophey.vodka",icon:"layers",accent:"coral"},{name:"3DX Outfit Manager",tagline:"Organize Your Wardrobe",description:"Manage and organize your 3DXChat outfits efficie
12ntly. Keep track of your outfits and maintain a clear overview of your collection.",features:["Outfit organization","Outfit preview","Custom categories","Overview and management"],downloadUrl:"/releases/3dx-outfit-manager-latest.exe",icon:"package",accent:"coral"},{name:"3DXChat Prelauncher",tagline:"Launch Smarter",description:"A prelauncher for 3DXChat that helps you prepare and launch your game with custom settings and configurations.",features:["Auto cache clearing","Play time tracking","Custom launch settings","Configuration management"],downloadUrl:"/releases/3dxchat-prelauncher-latest.exe",icon:"rocket",accent:"plasma"},{name:"The 3DXChat Census",tagline:"Everyone, counted",description:"A live statistical portrait of the 3DXChat population — 300,000+ avatars catalogued and re-checked over time. Demographics, relationships, geography and the gift economy.",features:["300k+ avatars catalogued","Longitudinal tracking","Gift economy estimate","Aggregate only"],downloadUrl:null,websiteUrl:"https://stats.sophey.vodka",icon:"chart",accent:"coral"}],nD=({className:n="",compact:i=!1})=>T.jsxs("span",{className:`inline-flex items-center gap-1.5 border border-amber-400/25 bg-amber-400/10 text-amber-200/90 ${i?"px-2 py-0.5 text-[10px]":"px-2.5 py-1 text-[11px]"} font-medium uppercase tracking-[0.2em] ${n}`,children:[T.jsx(Yw,{className:"h-3 w-3 shrink-0","aria-hidden":"true"}),"Paused"]}),B1=({className:n})=>T.jsx("svg",{className:n,viewBox:"0 0 24 24",fill:"currentColor",children:T.jsx("path",{d:"M20.317 4.37a19.791 19.791 0 0 0-4.885-1.515.074.074 0 0 0-.079.037c-.21.375-.444.864-.608 1.25a18.27 18.27 0 0 0-5.487 0 12.64 12.64 0 0 0-.617-1.25.077.077 0 0 0-.079-.037A19.736 19.736 0 0 0 3.677 4.37a.07.07 0 0 0-.032.027C.533 9.046-.32 13.58.099 18.057a.082.082 0 0 0 .031.057 19.9 19.9 0 0 0 5.993 3.03.078.078 0 0 0 .084-.028 14.09 14.09 0 0 0 1.226-1.994.076.076 0 0 0-.041-.106 13.107 13.107 0 0 1-1.872-.892.077.077 0 0 1-.008-.128 10.2 10.2 0 0 0 .372-.292.074.074 0 0 1 .077-.01c3.928 1.793 8.18 1.793 12.062 0a.074.074 0 0 1 .078.01c.12.098.246.198.373.292a.077.077 0 0 1-.006.127 12.299 12.299 0 0 1-1.873.892.077.077 0 0 0-.041.107c.36.698.772 1.362 1.225 1.993a.076.076 0 0 0 .084.028 19.839 19.839 0 0 0 6.002-3.03.077.077 0 0 0 .032-.054c.5-5.177-.838-9.674-3.549-13.66a.061.061 0 0 0-.031-.03zM8.02 15.33c-1.183 0-2.157-1.085-2.157-2.419 0-1.333.956-2.419 2.157-2.419 1.21 0 2.176 1.096 2.157 2.42 0 1.333-.956 2.418-2.157 2.418zm7.975 0c-1.183 0-2.157-1.085-2.157-2.419 0-1.333.955-2.419 2.157-2.419 1.21 0 2.176 1.096 2.157 2.42 0 1.333-.946 2.418-2.157 2.418z"})}),aD={radio:L1,code:Gw,package:Jw,rocket:Iw,layers:Kw,phone:eD,chart:kw},b0={plasma:{glow:"rgba(124, 92, 255, 0.45)",text:"text-sophey-plasma",from:"#7C5CFF",to:"#FF6B9D"},coral:{glow:"rgba(255, 107, 157, 0.45)",text:"text-sophey-coral",from:"#FF6B9D",to:"#FFB86B"},cyan:{glow:"rgba(94, 234, 212, 0.45)",text:"text-sophey-cyan",from:"#5EEAD4",to:"#7C5CFF"}},iD=[{name:"Lari",label:"Forest goth",tagline:"Dark things. Green dreams. Absolutely no apologies.",href:"/lari",accent:"#52B788"},{name:"Eisprinzessin",label:"Ice architect",tagline:"Concrete dreams. Crystal precision. Absolutely no warmth.",href:"/eisprinzessin",accent:"#7BB8E0"}],lD=()=>{x.useEffect(()=>(document.body.classList.add("sophey-active"),()=>document.body.classList.remove("sophey-active")),[]);const n={"@context":"https://schema.org","@graph":[{"@type":"Person","@id":"https://sophey.vodka/#sophey",name:"Sophey",url:"https://sophey.vodka",image:"https://sophey.vodka/og-image.webp",description:"Sophey is an independent hobbyist creator who builds tools, radios and editors — mostly for 3DXChat — using AI-assisted workflows. Fabulous, opinionated, ships when she feels like it.",knowsAbout:["3DXChat","streaming","web tools","AI-assisted development"]},{"@type":"ItemList",name:"Sophey projects",itemListElement:V1.map((s,r)=>({"@type":"ListItem",position:r+1,item:{"@type":"SoftwareApplication",name:s.name,description:s.description,applicationCategory:s.downloadUrl?"UtilityApplication":"WebApplication",operatingSystem:s.downloadUrl?"Windows":"Web",url:s.websiteUrl?.startsWith("http")?s.websiteUrl:`https://sophey.vodka${s.websiteUrl||""}`}}))}]},i={"@context":"https://schema.org","@type":"FAQPage",mainEntity:[{"@type":"Question",name:"Who is Sophey?",acceptedA
12nswer:{"@type":"Answer",text:"Sophey is an independent hobbyist creator who builds tools, radios and editors — mostly for 3DXChat — using AI-assisted workflows. She is not a professional developer but ships practical tools because she wants them to exist."}},{"@type":"Question",name:"What is sophey.vodka?",acceptedAnswer:{"@type":"Answer",text:"sophey.vodka is the personal creator hub of Sophey. It hosts Pika Radio, the 3DXChat Profile Editor, the 3DXChat Outfit Editor and other 3DXChat-related tools, plus user profile subdomains."}},{"@type":"Question",name:"What tools does Sophey make?",acceptedAnswer:{"@type":"Answer",text:"Sophey builds Pika Radio (a YouTube/DJ streamer for 3DXChat without external servers), the 3DXChat Profile Editor at sophey.vodka/editor, the 3DXChat Outfit Editor at outfits.sophey.vodka, the 3DX Outfit Manager and the 3DXChat Prelauncher."}},{"@type":"Question",name:"Are Sophey’s tools free?",acceptedAnswer:{"@type":"Answer",text:"Yes. All listed Sophey tools are free to use. They are hobby projects built with AI assistance, shipped without ads or paywalls."}}]};return T.jsxs(T.Fragment,{children:[T.jsxs(cE,{children:[T.jsx("title",{children:"Sophey — Creator, Builder, Hub"}),T.jsx("meta",{name:"description",content:"Sophey is an independent creator building tools for 3DXChat with AI: Pika Radio streaming, Profile Editor, Outfit Editor, Outfit Manager and the Prelauncher. All free, all built with attitude."}),T.jsx("meta",{property:"og:title",content:"Sophey — Creator, Builder, Hub"}),T.jsx("meta",{property:"og:description",content:"A creator hub for radios, tools, and software."}),T.jsx("meta",{property:"og:type",content:"website"}),T.jsx("meta",{property:"og:url",content:"https://sophey.vodka"}),T.jsx("meta",{property:"og:image",content:"https://sophey.vodka/og-image.webp"}),T.jsx("meta",{property:"og:image:alt",content:"Sophey"}),T.jsx("meta",{property:"og:image:width",content:"1200"}),T.jsx("meta",{property:"og:image:height",content:"630"}),T.jsx("meta",{name:"twitter:image",content:"https://sophey.vodka/og-image.webp"}),T.jsx("meta",{name:"twitter:title",content:"Sophey — Creator, Builder, Hub"}),T.jsx("meta",{name:"twitter:description",content:"A creator hub for radios, tools, and software."}),T.jsx("meta",{name:"author",content:"Sophey"}),T.jsx("meta",{name:"keywords",content:"Sophey, 3DXChat tools, Pika Radio, 3DXChat profile editor, 3DXChat outfit editor, sophey.vodka"}),T.jsx("meta",{name:"theme-color",content:"#7C5CFF"}),T.jsx("meta",{name:"twitter:card",content:"summary_large_image"}),T.jsx("link",{rel:"canonical",href:"https://sophey.vodka/"}),T.jsx("script",{type:"application/ld+json",children:JSON.stringify(n)}),T.jsx("script",{type:"application/ld+json",children:JSON.stringify(i)})]}),T.jsx("svg",{className:"absolute w-0 h-0","aria-hidden":"true",children:T.jsx("defs",{children:T.jsxs("filter",{id:"liquid-distort",x:"-20%",y:"-20%",width:"140%",height:"140%",children:[T.jsx("feTurbulence",{type:"fractalNoise",baseFrequency:"0.012 0.018",numOctaves:"2",seed:"3",children:T.jsx("animate",{attributeName:"baseFrequency",dur:"14s",values:"0.012 0.018;0.02 0.025;0.012 0.018",repeatCount:"indefinite"})}),T.jsx("feDisplacementMap",{in:"SourceGraphic",scale:"14"})]})})}),T.jsxs("div",{className:"relative bg-sophey-void text-sophey-cream font-sans min-h-screen",children:[T.jsx("h1",{className:"sr-only",children:"Sophey — Creator, Builder, Hub. Independent developer building tools for 3DXChat: Pika Radio, Profile Editor, Outfit Editor and more."}),T.jsx(rD,{}),T.jsx(oD,{}),T.jsx(cD,{}),T.jsx(hD,{}),T.jsx(sD,{}),T.jsx(pD,{}),T.jsx(gD,{})]})]})},sD=()=>T.jsxs("section",{className:"relative py-24 px-6 overflow-hidden",children:[T.jsxs("div",{className:"pointer-events-none absolute inset-0",children:[T.jsx("div",{className:"absolute left-1/4 top-0 w-[600px] h-[400px] bg-sophey-plasma/10 blur-[120px] rounded-full"}),T.jsx("div",{className:"absolute right-1/4 bottom-0 w-[500px] h-[350px] bg-sophey-coral/8 blur-[100px] rounded-full"})]}),T.jsx(Va.div,{initial:{opacity:0,y:32},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-80px"},transition:{duration:.7,ease:"easeOut"},className:"relative max-w-7xl mx-auto",children:T.jsx("a",{href:"https://discord.gg/rnJC7fRdSu",target:"_blank",rel:"noopener noreferrer",className:"group block border border-white/8 bg-sophey-ink/40 backdrop-blur-sm hover:border-sophe
12y-plasma/30 hover:bg-sophey-ink/60 transition-all duration-500 p-10 md:p-16",children:T.jsxs("div",{className:"flex flex-col md:flex-row md:items-center justify-between gap-10",children:[T.jsxs("div",{className:"flex items-start gap-6",children:[T.jsx("div",{className:"shrink-0 w-14 h-14 md:w-16 md:h-16 flex items-center justify-center border border-sophey-plasma/25 bg-sophey-plasma/10 group-hover:bg-sophey-plasma/20 transition-colors duration-500",children:T.jsx(B1,{className:"w-7 h-7 md:w-8 md:h-8 text-sophey-plasma group-hover:text-sophey-coral transition-colors duration-500"})}),T.jsxs("div",{children:[T.jsxs("div",{className:"flex items-center gap-3 mb-3",children:[T.jsx("span",{className:"w-6 h-px bg-sophey-cream/20"}),T.jsx("span",{className:"text-[11px] tracking-[0.3em] uppercase text-sophey-cream/40 font-medium",children:"Community"})]}),T.jsx("h2",{className:"font-display text-3xl md:text-5xl leading-[1.05] tracking-[-0.03em] text-sophey-cream mb-4",children:"Join the Discord."}),T.jsx("p",{className:"text-sophey-cream/55 text-lg md:text-xl max-w-xl leading-relaxed",children:"Tools, releases, updates and a place to hang. Get support for any of the apps, share feedback, or just say hi — everything sophey.vodka, in one server."})]})]}),T.jsx("div",{className:"shrink-0 md:self-center",children:T.jsxs("span",{className:"inline-flex items-center gap-2 px-6 py-3 bg-sophey-plasma/15 border border-sophey-plasma/30 text-sophey-plasma group-hover:bg-sophey-plasma/25 group-hover:border-sophey-plasma/50 group-hover:text-sophey-coral transition-all duration-300 font-medium",children:["Join now",T.jsx(Bw,{className:"w-4 h-4 group-hover:translate-x-0.5 transition-transform duration-300"})]})})]})})})]}),rD=()=>{const{scrollYProgress:n}=_1(),i=oa(n,[0,1],[0,1]);return T.jsx(Va.div,{style:{scaleX:i,transformOrigin:"0% 50%"},className:"fixed top-0 left-0 right-0 h-[2px] z-[60] bg-gradient-to-r from-sophey-plasma via-sophey-coral to-sophey-cyan"})},oD=()=>{const[n,i]=x.useState(!1);return x.useEffect(()=>{const s=()=>i(window.scrollY>40);return window.addEventListener("scroll",s,{passive:!0}),()=>window.removeEventListener("scroll",s)},[]),T.jsx("nav",{className:`fixed top-0 inset-x-0 z-50 transition-all duration-500 ${n?"py-3":"py-6"}`,children:T.jsxs("div",{className:`max-w-7xl mx-auto px-6 flex items-center justify-between ${n?"bg-sophey-ink/70 backdrop-blur-xl border-b border-white/5":""} transition-all duration-500`,children:[T.jsx("a",{href:"/",className:"flex items-center py-2",children:T.jsx("img",{src:"/sophey_logo.png",alt:"Sophey",className:"h-16 md:h-20 w-auto object-contain"})}),T.jsxs("div",{className:"hidden md:flex items-center gap-8 text-sm",children:[T.jsx("a",{href:"#work",className:"text-sophey-cream/70 hover:text-sophey-cream transition-colors",children:"Work"}),T.jsx("a",{href:"/pikaradio",className:"text-sophey-cream/70 hover:text-sophey-cream transition-colors",children:"Pika Radio"}),T.jsx("a",{href:"/projects",className:"text-sophey-cream/70 hover:text-sophey-cream transition-colors",children:"Projects"}),T.jsx("a",{href:"/contact",className:"text-sophey-cream/70 hover:text-sophey-cream transition-colors",children:"Contact"})]}),T.jsx("span",{className:"hidden md:block w-20","aria-hidden":!0})]})})},Vl=181,uD=n=>`/hero-frames/frame_${String(n).padStart(3,"0")}.jpg`,cD=()=>{const n=x.useRef(null),i=x.useRef(null),s=x.useRef(null),r=x.useRef([]),u=x.useRef(0),f=x.useRef(null),[h,d]=x.useState(!1),{scrollYProgress:y}=_1({target:n,offset:["start start","end end"]}),m=Ow(y,{stiffness:100,damping:30,mass:.5,restDelta:5e-4});x.useEffect(()=>{let O=!1;const R=new Array(Vl),j=L=>new Promise(B=>{const X=new Image;X.onload=()=>{if(O)return B();R[L]=X,B()},X.onerror=()=>B(),X.src=uD(L+1)});return(async()=>{for(let B=0;B<Vl;B+=8){if(O)return;await Promise.all(Array.from({length:Math.min(8,Vl-B)},(X,K)=>j(B+K)))}O||(r.current=R,d(!0),requestAnimationFrame(()=>g(0)))})(),()=>{O=!0}},[]);const g=O=>{const R=s.current;if(!R)return;const j=r.current,L=j[O]||j[u.current];if(!L)return;
12const B=R.getContext("2d"),X=R.width,K=R.height,at=L.naturalWidth,$=L.naturalHeight,tt=Math.max(X/at,K/$),lt=at*tt,I=$*tt,dt=(X-lt)/2,xt=(K-I)/2;B.drawImage(L,dt,xt,lt,I),u.current=O};x.useEffect(()=>{const O=s.current;if(!O)return;const R=()=>{const j=Math.min(window.devicePixelRatio||1,2);O.width=window.innerWidth*j,O.height=window.innerHeight*j,O.style.width=window.innerWidth+"px",O.style.height=window.innerHeight+"px",g(u.current)};return R(),window.addEventListener("resize",R),()=>window.removeEventListener("resize",R)},[h]),x.useEffect(()=>{if(!h)return;let O=-1;const R=m.on("change",j=>{const L=Math.min(Vl-1,Math.max(0,Math.round(j*(Vl-1))));L!==O&&(O=L,f.current&&cancelAnimationFrame(f.current),f.current=requestAnimationFrame(()=>g(L)))});return()=>{R(),f.current&&cancelAnimationFrame(f.current)}},[h]);const v=x.useRef(null),[S,w]=x.useState({x:0,y:0});x.useEffect(()=>{const O=v.current;if(!O)return;const R=j=>{const L=O.getBoundingClientRect();w({x:(j.clientX-L.left)/L.width-.5,y:(j.clientY-L.top)/L.height-.5})};return O.addEventListener("mousemove",R),()=>O.removeEventListener("mousemove",R)},[]);const D=[{kicker:"01 — Hi",left:"Hi, I'm Sophey.",right:"Fabulous. A little bitchy. Definitely not a real developer — but somehow I keep shipping tools anyway."},{kicker:"02 — Why",left:"I build the things I wanted to exist.",right:"Or better versions of the ones that annoyed me. Usually for 3DXChat. Always because I wanted them, not because anyone asked."},{kicker:"03 — How",left:"It's a hobby, not a startup.",right:"Me, a lot of opinions, and AI doing the heavy lifting. No roadmap, no investors, no rules — things ship when I feel like it."},{kicker:"04 — Proof",left:"Tools below. Take a look.",right:"Radios, editors, launchers, outfit things. Built for fun. Surprisingly useful."}];return T.jsx("section",{ref:n,className:"relative h-[300vh] md:h-[400vh]",children:T.jsxs("div",{ref:i,className:"sticky top-0 h-screen overflow-hidden",children:[T.jsx("canvas",{ref:s,className:"absolute inset-0 w-full h-full pointer-events-none",style:{opacity:h?1:0,transition:"opacity 0.8s ease"}}),!h&&T.jsx("img",{src:"/og-image.webp",alt:"","aria-hidden":"true",className:"absolute inset-0 w-full h-full object-cover object-top md:object-center"}),T.jsx("div",{className:"absolute inset-0 bg-gradient-to-r from-sophey-void via-sophey-void/20 to-sophey-void pointer-events-none"}),T.jsx("div",{className:"absolute inset-0 bg-gradient-to-b from-sophey-void/40 via-transparent to-sophey-void pointer-events-none"}),T.jsxs("div",{ref:v,className:"absolute inset-0 pointer-events-auto",children:[T.jsx("div",{className:"absolute -left-32 top-20 w-[480px] h-[480px] bg-sophey-plasma/30 blur-3xl blob animate-liquid-float",style:{transform:`translate(${S.x*-40}px, ${S.y*-40}px)`}}),T.jsx("div",{className:"absolute -right-20 bottom-10 w-[420px] h-[420px] bg-sophey-coral/25 blur-3xl blob-2 animate-liquid-float",style:{animationDelay:"-7s",transform:`translate(${S.x*40}px, ${S.y*40}px)`}})]}),T.jsxs("div",{className:"relative z-10 h-full hidden md:grid grid-cols-12 gap-6 px-12 items-center",children:[T.jsx("div",{className:"col-span-3 h-full flex items-center",children:T.jsx("div",{className:"relative w-full h-[60vh]",children:D.map((O,R)=>T.jsxs(ef,{progress:m,index:R,total:D.length,side:"left",children:[T.jsx("div",{className:"text-[10px] tracking-[0.35em] uppercase text-sophey-cream/40 font-medium mb-4",children:O.kicker}),T.jsx("div",{className:"font-display text-3xl md:text-5xl leading-[1.05] tracking-[-0.04em] text-sophey-cream",children:O.left})]},R))})}),T.jsx("div",{className:"col-span-6","aria-hidden":!0}),T.jsx("div",{className:"col-span-3 h-full flex items-center",children:T.jsx("div",{className:"relative w-full h-[60vh]",children:D.map((O,R)=>T.jsx(ef,{progress:m,index:R,total:D.length,side:"right",children:T.jsx("p",{className:"text-base md:text-lg leading-relaxed text-sophey-cream/70 max-w-xs ml-auto text-right",children:O.right})},R))})})]}),T.jsxs("div",{className:"relative z-10 h-full md:hidden flex items-end pb-24 px-6",children:[T.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-sophey-void via-sophey-void/60 to-transparent pointer-events-none"}),T.jsx("div",{className:"relative w-full h-[50vh]",children:D.map((O,R)=>T.jsx(ef,{progress:m,index:R,total:D.length,side:"mobile",children:T.jsxs("div",{className:"w-full",children:[T.jsx("div",{className:"text-[10px] tracking-[0.35em] uppercase text-sophey-cream/50 font-medium mb-3",children:O.kicker}),T.jsx("div",{className:"font-display text-3xl leading-[1.05] tracking-[-0.04em] text-sophey-cream mb-4",children:O.left}),T.jsx("p",{className:"text-sm leading-relaxed text-sophey-cream/70",children:O.right})]})},R))})]}),T.jsx("div",{className:"absolute bottom-8 left-1/2 -translate-x-1/2 flex items-center gap-3 z-20",children:D.map((O,R)=>T.jsx(fD,{progress:m,index:R,total:D.length},R))}),T.jsx("div",{className:"absolute top-24 left-1/2 -translate-x-1/2 text-[10px] tracking-[0.4em] uppercase text-sophey-cream/30 z-20",children:"scroll"}),T.jsx("div",{className:"noise-overlay"})]})})},ef=({progress:n,index:i,total:s,side:r,children:u})=>{const f=1/s,h=i*f,d=h+f,y=h+f*.15,m=d-f*.15,g=r==="mobile",v=g?0:r==="left"?-40:40,S=g?0:r==="left"?-20:20,w=g?24:0,D=g?-16:0,O=oa(n,[h,y,m,d],[0,1,1,0]),R=oa(n,[h,y,m,d],[v,0,0,S]),j=oa(n,[h,y,m,d],[w,0,0,D]),L=g?"justify-center":r==="right"?"justify-end":"justify-start",B=r==="right"?"text-right":"";return T.jsx(Va.div,{style:{opacity:O,x:R,y:j},className:`absolute inset-0 flex items-center ${L}`,children:T.jsx("div",{className:`${B} ${g?"w-full":""}`,children:u})})},fD=({progress:n,index:i,total:s})=>
12{const r=1/s,u=i*r,f=u+r,h=oa(n,[u,u+.02,f-.02,f],[.3,1,1,.3]),d=oa(n,[u,f],["24px","48px"]);return T.jsx(Va.span,{style:{opacity:h,width:d},className:"h-px bg-sophey-cream block"})},hD=()=>T.jsx("section",{id:"work",className:"relative py-32 px-6",children:T.jsxs("div",{className:"max-w-7xl mx-auto",children:[T.jsxs("div",{className:"flex items-end justify-between mb-16 flex-wrap gap-6",children:[T.jsxs("div",{children:[T.jsxs("div",{className:"flex items-center gap-4 mb-6",children:[T.jsx("span",{className:"w-8 h-px bg-sophey-cream/30"}),T.jsx("span",{className:"text-[11px] tracking-[0.3em] uppercase text-sophey-cream/40 font-medium",children:"Work"})]}),T.jsx("h2",{className:"font-display text-4xl md:text-6xl leading-[0.95] tracking-[-0.04em]",children:"Selected projects."})]}),T.jsxs("a",{href:"/projects",className:"inline-flex items-center gap-2 text-sm font-medium text-sophey-cream hover:opacity-70 transition-opacity border-b border-white/20 pb-1",children:["All projects ",T.jsx(Eh,{className:"w-4 h-4"})]})]}),T.jsx("div",{className:"grid md:grid-cols-2 gap-6",children:V1.map((n,i)=>T.jsx(dD,{project:n,index:i,featured:i===0},n.name))})]})}),dD=({project:n,index:i,featured:s})=>{const r=x.useRef(null),[u,f]=x.useState({x:0,y:0}),h=b0[n.accent]||b0.plasma,d=aD[n.icon]||L1,y=n.websiteUrl||n.downloadUrl||"#",m=y.startsWith("http"),g=S=>{const w=r.current;if(!w)return;const D=w.getBoundingClientRect(),O=((S.clientX-D.left)/D.width-.5)*6,R=((S.clientY-D.top)/D.height-.5)*6;f({x:O,y:R})},v=()=>f({x:0,y:0});return T.jsxs(Va.a,{href:y,target:m?"_blank":void 0,rel:m?"noopener noreferrer":void 0,ref:r,onMouseMove:g,onMouseLeave:v,initial:{opacity:0,clipPath:s?"inset(0 100% 0 0)":"inset(100% 0 0 0)"},whileInView:{opacity:1,clipPath:s?"inset(0 0% 0 0)":"inset(0% 0 0 0)"},viewport:{once:!0,margin:"-60px"},transition:{duration:.9,delay:i*.12,ease:[.16,1,.3,1]},className:`group relative overflow-hidden p-8 md:p-12 border border-white/8 bg-gradient-to-br from-white/[0.04] to-transparent backdrop-blur-sm transition-all duration-500 hover:border-white/20 ${s?"md:col-span-2 md:p-16":""}`,style:{borderRadius:"4px",transform:`perspective(1000px) rotateY(${u.x*.4}deg) rotateX(${-u.y*.4}deg)`},children:[T.jsx("div",{className:"absolute -inset-1 rounded-[40px] opacity-0 group-hover:opacity-100 blur-2xl transition-opacity duration-700 -z-10",style:{background:`radial-gradient(circle at 30% 20%, ${h.glow}, transparent 60%)`}}),T.jsxs("div",{className:"flex items-center justify-between mb-8",children:[T.jsx("div",{className:"w-12 h-12 border border-white/10 flex items-center justify-center transition-transform duration-500 group-hover:rotate-[-6deg]",style:{background:`linear-gradient(135deg, ${h.from}33, ${h.to}11)`,borderRadius:"2px"},children:T.jsx(d,{className:`w-5 h-5 ${h.text}`})}),T.jsxs("div",{className:"flex items-center gap-3",children:[n.paused&&T.jsx(nD,{compact:!0}),T.jsx(Eh,{className:"w-6 h-6 text-sophey-cream/40 group-hover:text-sophey-cream group-hover:rotate-45 transition-all duration-500"})]})]}),T.jsx("div",{className:"text-[11px] tracking-[0.3em] uppercase text-sophey-cream/40 font-medium mb-3",children:n.tagline}),T.jsx("h3",{className:`font-display ${s?"text-4xl md:text-6xl":"text-3xl md:text-4xl"} leading-[0.95] tracking-[-0.04em] mb-4`,children:n.name}),T.jsx("p",{className:"text-sophey-cream/65 leading-relaxed max-w-xl mb-6",children:n.description}),T.jsx("ul",{className:"flex flex-wrap gap-x-6 gap-y-2 text-sm text-sophey-cream/55",children:n.features.slice(0,s?4:3).map((S,w)=>T.jsxs("li",{className:"flex items-center gap-2",children:[T.jsx("span",{className:"text-sophey-cream/30",children:String(w+1).padStart(2,"0")}),T.jsx("span",{children:S})]},S))})]})},mD=({friend:n,index:i})=>T.jsxs(Va.a,{href:n.href,initial:{opacity:0,clipPath:"inset(100% 0 0 0)"},whileInView:{opacity:1,clipPath:"inset(0% 0 0 0)"},viewport:{once:!0,margin:"-60px"},transition:{duration:.8,delay:i*.1,ease:[.16,1,.3,1]},className:"block border border-white/8 hover:border-white/20 transition-colors group p-6 md:p-8",style:{borderRadius:"2px"},children:[T.jsx("div",{className:"h-px w-8 mb-6 transition-all duration-300 group-hover:w-12",style:{background:n.accent}}),T.jsx("p",{className:"text-[10px] tracking-[0.3em] uppercase mb-3",style:{color:n.accent+"AA"},children:n.label}),T.jsx("h3",{className:"font-display font-bold text-2xl md:text-3xl text-sophey-cream mb-3 tracking-[-0.02em]",children:n.name}),T.jsx("p",{className:"text-sm text-sophey-cream/55 leading-relaxed mb-8",children:n.tagline}),T.jsxs("div",{className:"flex items-center gap-2 text-xs font-medium",style:{color:n.accent},children:["Visit page",T.jsx(Eh,{className:"w-3.5 h-3.5 group-hover:translate-x-0.5 group-hover:-translate-y-0.5 transition-transform"})]})]}),pD=()=>T.jsx("section",{className:"relative z-10 py-24 md:py-32 px-6",children:T.jsxs("div",{className:"max-w-7xl mx-auto",children:[T.jsxs("div",{className:"flex items-center gap-4 mb-4",children:[T.jsx("span",{className:"w-8 h-px bg-sophey-cream/30"}),T.jsx("span",{className:"text-[11px] tracking-[0.3em] uppercase text-sophey-cream/40 font-medium",children:"Friends"})]}),T.jsx(Va.h2,{className:"font-display font-bold text-sophey-cream tracking-[-0.04em] mb-16",style:{fontSize:"clamp(2.5rem, 5vw, 4rem)"},initial:{opacity:0,y:24},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.7,ease:[.16,1,.3,1]},children:"People in my orbit."}),T.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-4",children:iD.map((n,i)=>T.jsx(mD,{friend:n,index:i},n.href))})]})}),yD=()=>T.jsxs("div",{className:"relative w-full h-[50vh] md:h-[60vh] overflow-hidden",children:[T.jsx("img",{src:"/footer.webp",alt:"","aria-hidden":"true",className:"absolute inset-0 w-full h-full object-cover"}),T.jsx("div",{className:"absolute inset-0 bg-gradient-to-b from-sophey-void via-trans
12parent to-transparent pointer-events-none"}),T.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-sophey-void via-sophey-void/40 to-transparent pointer-events-none"}),T.jsx("div",{className:"absolute inset-0 bg-gradient-to-r from-sophey-void/60 via-transparent to-sophey-void/60 pointer-events-none"}),T.jsx("div",{className:"absolute inset-0 bg-gradient-to-br from-sophey-plasma/10 via-transparent to-sophey-coral/10 mix-blend-overlay pointer-events-none"})]}),gD=()=>T.jsxs("footer",{className:"relative",children:[T.jsx(yD,{}),T.jsx("div",{className:"relative bg-sophey-void px-6 pt-16 pb-12",children:T.jsxs("div",{className:"max-w-7xl mx-auto",children:[T.jsxs("div",{className:"grid md:grid-cols-12 gap-10 mb-16",children:[T.jsxs("div",{className:"md:col-span-5",children:[T.jsx("div",{className:"flex items-center mb-8",children:T.jsx("img",{src:"/sophey_logo.png",alt:"Sophey",className:"h-12 w-auto object-contain"})}),T.jsxs("p",{className:"font-display text-2xl md:text-3xl leading-[1.2] tracking-[-0.03em] text-sophey-cream/80 max-w-md",children:["Something brewing? ",T.jsx("a",{href:"/contact",className:"text-sophey-cream underline decoration-sophey-plasma decoration-2 underline-offset-4 hover:decoration-sophey-coral transition-colors",children:"Say hi"}),"."]})]}),T.jsxs("div",{className:"md:col-span-2",children:[T.jsx("div",{className:"text-xs tracking-[0.25em] uppercase text-sophey-cream/40 mb-4",children:"Work"}),T.jsxs("ul",{className:"space-y-2 text-sm",children:[T.jsx("li",{children:T.jsx("a",{href:"/pikaradio",className:"text-sophey-cream/75 hover:text-sophey-cream transition-colors",children:"Pika Radio"})}),T.jsx("li",{children:T.jsx("a",{href:"/outfits",className:"text-sophey-cream/75 hover:text-sophey-cream transition-colors",children:"Outfits"})}),T.jsx("li",{children:T.jsx("a",{href:"/projects",className:"text-sophey-cream/75 hover:text-sophey-cream transition-colors",children:"All projects"})}),T.jsx("li",{children:T.jsx("a",{href:"/editor",className:"text-sophey-cream/75 hover:text-sophey-cream transition-colors",children:"Editor"})})]})]}),T.jsxs("div",{className:"md:col-span-2",children:[T.jsx("div",{className:"text-xs tracking-[0.25em] uppercase text-sophey-cream/40 mb-4",children:"Hub"}),T.jsxs("ul",{className:"space-y-2 text-sm",children:[T.jsx("li",{children:T.jsx("a",{href:"/dashboard/",className:"text-sophey-cream/75 hover:text-sophey-cream transition-colors",children:"Dashboard"})}),T.jsx("li",{children:T.jsx("a",{href:"/docs",className:"text-sophey-cream/75 hover:text-sophey-cream transition-colors",children:"Docs"})}),T.jsx("li",{children:T.jsx("a",{href:"/download",className:"text-sophey-cream/75 hover:text-sophey-cream transition-colors",children:"Downloads"})})]})]}),T.jsxs("div",{className:"md:col-span-3",children:[T.jsx("div",{className:"text-xs tracking-[0.25em] uppercase text-sophey-cream/40 mb-4",children:"Elsewhere"}),T.jsxs("ul",{className:"space-y-2 text-sm",children:[T.jsx("li",{children:T.jsxs("a",{href:"https://discord.gg/rnJC7fRdSu",target:"_blank",rel:"noopener noreferrer",className:"text-sophey-cream/75 hover:text-sophey-plasma transition-colors inline-flex items-center gap-2",children:[T.jsx(B1,{className:"w-3.5 h-3.5"})," Discord"]})}),T.jsx("li",{children:T.jsxs("a",{href:"/contact",className:"text-sophey-cream/75 hover:text-sophey-cream transition-colors inline-flex items-center gap-2",children:[T.jsx(Zw,{className:"w-3.5 h-3.5"})," Contact"]})}),T.jsx("li",{children:T.jsx("a",{href:"/tos",className:"text-sophey-cream/75 hover:text-sophey-cream transition-colors",children:"Terms"})}),T.jsx("li",{children:T.jsx("a",{href:"/privacy",className:"text-sophey-cream/75 hover:text-sophey-cream transition-colors",children:"Privacy"})})]})]})]}),T.jsxs("div",{className:"flex flex-col md:flex-row justify-between items-center gap-4 text-xs text-sophey-cream/40 pt-6 border-t border-white/5",children:[T.jsx("span",{children:"© 2026 Sophey. Built with attitude."}),T.jsxs("span",{className:"flex items-center gap-2",children:[T.jsx("span",{className:"w-1.5 h-1.5 bg-sophey-cyan animate-pulse"}),"All systems liquid."]})]})]})})]}),vD=[{path:"/",sitemap:!0,prerender:!1,priority:1,changefreq:"weekly",title:"Sophey — Creator, Builder, Hub",description:"Sophey is an independent creator building tools for 3DXChat with AI: Pika Radio streaming, Profile Editor, Outfit Editor, Outfit Manager and the Prelau
12ncher. All free, all built with attitude."},{path:"/pikaradio",sitemap:!0,prerender:!0,priority:.9,changefreq:"weekly",title:"Pika Radio — Stream YouTube and DJ apps to 3DXChat without servers",description:"Pika Radio is a free Windows app that streams YouTube and DJ apps to 3DXChat without Shoutcast or Icecast servers. Secure tunneling keeps your real IP hidden. No ads, no telemetry."},{path:"/download",sitemap:!0,prerender:!0,priority:.85,changefreq:"weekly",title:"Download Pika Radio — Windows",description:"Download Pika Radio for Windows. Stream YouTube music to 3DXChat without Shoutcast or Icecast servers. Free, IP-hidden."},{path:"/projects",sitemap:!0,prerender:!0,priority:.9,changefreq:"weekly",title:"Projects - Sophey",description:"Detailed overview of Sophey projects for 3DXChat: 3DX Phone, Pika Radio, Profile Editor, Outfits, Outfit Editor, Outfit Manager, Prelauncher and the 3DXChat Census."},{path:"/portfolio",sitemap:!1,prerender:!1,title:"Portfolio — Sophey"},{path:"/portfolio/:slug",sitemap:!1,prerender:!1,title:"Portfolio — Sophey"},{path:"/tos",sitemap:!1,prerender:!1,title:"Terms of Service — Sophey"},{path:"/privacy",sitemap:!1,prerender:!1,title:"Privacy Policy — Sophey"},{path:"/contact",sitemap:!0,prerender:!0,priority:.4,changefreq:"yearly",title:"Contact — Sophey",description:"Say hi to Sophey. Questions, ideas, or just a chat — drop a message."},{path:"/docs",sitemap:!0,prerender:!0,priority:.7,changefreq:"monthly",title:"DrunkSophey Docs — Node.js client for Pika Radio tunneling",description:"Official documentation for DrunkSophey: the Node.js client library for the Pika Radio tunneling service. Install, usage examples, full API reference and error codes."},{path:"/irl",sitemap:!1,prerender:!1,title:"Sophie — IRL"},{path:"/lari",sitemap:!1,prerender:!1,title:"Lari"},{path:"/lari/login",sitemap:!1,prerender:!1,wrapper:"lariAuth",title:"Lari"},{path:"/lari/dashboard",sitemap:!1,prerender:!1,wrapper:"lariAuth",title:"Lari"},{path:"/eisprinzessin",sitemap:!1,prerender:!1,title:"Eisprinzessin"},{path:"/cav",sitemap:!1,prerender:!1,title:"Cav"},{path:"/outfits",sitemap:!0,prerender:!0,priority:.8,changefreq:"weekly",title:"Outfits — Sophey",description:"The fits — a 3DXChat lookbook by Sophey and friends. Hover to preview."},{path:"/outfits/:model",sitemap:!1,prerender:!1,title:"Outfits — Sophey"},{path:"/outfits/:model/:outfit",sitemap:!1,prerender:!1,title:"Outfits — Sophey"},{path:"/verify-email",sitemap:!1,prerender:!1,title:"Verify Email — Sophey"},{path:"/user/:username",sitemap:!1,prerender:!1,title:"Sophey"}],bD={"/":lD,"/pikaradio":x.lazy(()=>At(()=>import("./PikaRadioPage-c9g8z3pu.js"),__vite__mapDeps([0,1,2,3,4]))),"/download":x.lazy(()=>At(()=>import("./DownloadPage-B46Y29Z3.js"),__vite__mapDeps([5,6,7,1,8,3,4]))),"/projects":x.lazy(()=>At(()=>import("./ProjectsPage-D1NErhDu.js"),__vite__mapDeps([9,6,1]))),"/portfolio":x.lazy(()=>At(()=>import("./PortfolioPage-Bk1moeHq.js"),__vite__mapDeps([10,11,12,6]))),"/portfolio/:slug":x.lazy(()=>At(()=>import("./PortfolioCaseStudyPage-Cwg7QZn0.js"),__vite__mapDeps([13,11,12,14,6]))),"/tos":x.lazy(()=>At(()=>import("./ToSPage-41K8OWb5.js"),__vite__mapDeps([15,16,6]))),"/privacy":x.lazy(()=>At(()=>import("./PrivacyPage-CFtn7tbg.js"),__vite__mapDeps([17,16,6]))),"/contact":x.lazy(()=>At(()=>import("./ContactPage-pFWZS0KA.js"),__vite__mapDeps([18,6,7,19]))),"/docs":x.lazy(()=>At(()=>import("./DocsPage-8eNPwZMO.js"),__vite__mapDeps([20,6,7]))),"/irl":x.lazy(()=>At(()=>import("./IrlPage-IDB7Cx9d.js"),__vite__mapDeps([21,6]))),"/lari":x.lazy(()=>At(()=>import("./LariPage-DNFrDoFu.js"),__vite__mapDeps([22,23,6,24]))),"/lari/login":x.lazy(()=>At(()=>import("./LariLogin-DtqpQe3r.js"),[])),"/lari/dashboard":x.lazy(()=>At(()=>import("./LariDashboard-8uUbRkXC.js"),__vite__mapDeps([25,4,26,27]))),"/eisprinzessin":x.lazy(()=>At(()=>import("./EisprinzessinPage-DQtBlKWr.js"),__vite__mapDeps([28,6,24]))),"/cav":x.lazy(()=>At(()=>import("./CavPage-BiRQ8--X.js"),__vite__mapDeps([29,6,24]))),"/outfits":x.lazy(()=>At(()=>import("./OutfitsIndexPage-DSi1KIWh.js").then(n=>n.a),__vite__mapDeps([30,12,31,32]))),"/outfits/:model":x.lazy(()=>At(()=>import("./OutfitsModelPage-Cbie774c.js"),__vite__mapDeps([33,30,12,31,32,6]))),"/outfits/:model/:outfit":x.lazy(()=>At(()=>import("./OutfitDetailPage-9CwfUW5z.js"),__vite__mapDeps([34,30,12,31,32,6,35,1,36,7]))),"/verify-email":x.lazy(()=>At(()=>import("./VerifyEmail-DrBXIkdQ.js"),[])),"/user/:username":x.lazy(()=>At(()=>import("./UserProfile-CkNkLnAQ.js"),__vite__mapDeps([37,14,6,8,35,2,1])))},SD=vD.map(n=>({...n,Component:bD[n.path]})),xD=[{index:!0,Component:x.lazy(()=>At(()=>import("./AdminDashboard-CERNnxkY.js"),__vite__mapDeps([38,31,39,40,19,26,4,41,42])))},{path:"login",Component:x.lazy(()=>At(()=>import("./AdminLogin-Df3yVcdN.js"),__vite__mapDeps([43,39,31])))},{path:"upload",Component:x.lazy(()=>At(()=>import("./AdminUpload-DvHLSrWO.js"),__vite__mapDeps([44,45,31,32,39,41,7,26,27,36,40,19,6])
12))},{path:"edit/:id",Component:x.lazy(()=>At(()=>import("./AdminEdit-BzmAGog1.js"),__vite__mapDeps([46,45,31,32,39,41,7,26,27,36,40,19,6,23])))},{path:"new-model",Component:x.lazy(()=>At(()=>import("./AdminNewModel-D69wNM_M.js"),__vite__mapDeps([47,31,40,19,26,6])))},{path:"models",Component:x.lazy(()=>At(()=>import("./AdminModelsList-DWYzwfFf.js"),__vite__mapDeps([48,31,4,42])))},{path:"models/:slug",Component:x.lazy(()=>At(()=>import("./AdminEditModel-Db5YuDtz.js"),__vite__mapDeps([49,31,40,19,26,6])))}],TD=x.lazy(()=>At(()=>import("./AdminShell-CAYbCF0Q.js"),__vite__mapDeps([50,39,31,40,19,26,27]))),ED=x.lazy(()=>At(()=>import("./NotFoundPage-RSuJBn8c.js"),__vite__mapDeps([14,6]))),AD=x.lazy(()=>At(()=>import("./UserProfile-CkNkLnAQ.js"),__vite__mapDeps([37,14,6,8,35,2,1]))),S0=T.jsx("div",{style:{minHeight:"100vh",background:"#0a0a0a"}});function CD(n,i){return n.wrapper==="lariAuth"?T.jsx(fE,{children:i}):i}function wD(){const n=window.location.hostname;let i=null;if(n!=="sophey.vodka"&&n.endsWith(".sophey.vodka")){const s=n.split(".");s.length>=3&&(i=s[0].toLowerCase())}return i?T.jsx(Py,{children:T.jsx(x.Suspense,{fallback:S0,children:T.jsx(AD,{username:i})})}):T.jsx(Py,{children:T.jsx(LT,{children:T.jsx(x.Suspense,{fallback:S0,children:T.jsxs(fT,{children:[SD.map(s=>T.jsx(Ei,{path:s.path,element:CD(s,T.jsx(s.Component,{}))},s.path)),T.jsx(Ei,{path:"/outfits/manage",element:T.jsx(TD,{}),children:xD.map(s=>s.index?T.jsx(Ei,{index:!0,element:T.jsx(s.Component,{})},"index"):T.jsx(Ei,{path:s.path,element:T.jsx(s.Component,{})},s.path))}),T.jsx(Ei,{path:"*",element:T.jsx(ED,{})})]})})})})}vx.createRoot(document.getElementById("root")).render(T.jsx(cx.StrictMode,{children:T.jsx(wD,{})}));export{Eh as A,OD as B,Gw as C,Nt as D,zD as E,z1 as F,Wt as G,cE as H,Nn as I,Kw as L,eo as M,MD as N,RD as O,Jw as P,L1 as R,eD as S,Iw as a,kw as b,nn as c,nD as d,Mf as e,L0 as f,Bw as g,Pv as h,qA as i,T as j,_1 as k,Ow as l,Va as m,oa as n,_D as o,V1 as p,Hf as q,x as r,Vv as s,Uv as t,DD as u,Ri as v,Kf as w,WC as x,Pf as y,q0 as z};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.