From 48070474ef040dec068d777cb2cfe2ff1507b2f2 Mon Sep 17 00:00:00 2001
From: ByakuraRinne <gabriel@nazuna.ovh>
Date: Sun, 24 Nov 2024 16:27:59 +0100
Subject: [PATCH] dist

---
 .gitignore                     |   2 -
 dist/assets/index-DABKrgAO.js  | 155 +++++++++++++++++++++++++++++++++
 dist/assets/index-rZaVAq8V.css |   1 +
 dist/index.html                |  14 +++
 4 files changed, 170 insertions(+), 2 deletions(-)
 create mode 100644 dist/assets/index-DABKrgAO.js
 create mode 100644 dist/assets/index-rZaVAq8V.css
 create mode 100644 dist/index.html

diff --git a/.gitignore b/.gitignore
index a547bf3..234f2f1 100644
--- a/.gitignore
+++ b/.gitignore
@@ -8,8 +8,6 @@ pnpm-debug.log*
 lerna-debug.log*
 
 node_modules
-dist
-dist-ssr
 *.local
 
 # Editor directories and files
diff --git a/dist/assets/index-DABKrgAO.js b/dist/assets/index-DABKrgAO.js
new file mode 100644
index 0000000..6170a53
--- /dev/null
+++ b/dist/assets/index-DABKrgAO.js
@@ -0,0 +1,155 @@
+function hg(e,t){for(var n=0;n<t.length;n++){const r=t[n];if(typeof r!="string"&&!Array.isArray(r)){for(const i in r)if(i!=="default"&&!(i in e)){const o=Object.getOwnPropertyDescriptor(r,i);o&&Object.defineProperty(e,i,o.get?o:{enumerable:!0,get:()=>r[i]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))r(i);new MutationObserver(i=>{for(const o of i)if(o.type==="childList")for(const s of o.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&r(s)}).observe(document,{childList:!0,subtree:!0});function n(i){const o={};return i.integrity&&(o.integrity=i.integrity),i.referrerPolicy&&(o.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?o.credentials="include":i.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function r(i){if(i.ep)return;i.ep=!0;const o=n(i);fetch(i.href,o)}})();function pg(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var hd={exports:{}},No={},pd={exports:{}},V={};/**
+ * @license React
+ * react.production.min.js
+ *
+ * Copyright (c) Facebook, Inc. and its affiliates.
+ *
+ * This source code is licensed under the MIT license found in the
+ * LICENSE file in the root directory of this source tree.
+ */var ei=Symbol.for("react.element"),mg=Symbol.for("react.portal"),gg=Symbol.for("react.fragment"),yg=Symbol.for("react.strict_mode"),vg=Symbol.for("react.profiler"),xg=Symbol.for("react.provider"),wg=Symbol.for("react.context"),Sg=Symbol.for("react.forward_ref"),Pg=Symbol.for("react.suspense"),kg=Symbol.for("react.memo"),Cg=Symbol.for("react.lazy"),ju=Symbol.iterator;function Tg(e){return e===null||typeof e!="object"?null:(e=ju&&e[ju]||e["@@iterator"],typeof e=="function"?e:null)}var md={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},gd=Object.assign,yd={};function Jn(e,t,n){this.props=e,this.context=t,this.refs=yd,this.updater=n||md}Jn.prototype.isReactComponent={};Jn.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};Jn.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function vd(){}vd.prototype=Jn.prototype;function ta(e,t,n){this.props=e,this.context=t,this.refs=yd,this.updater=n||md}var na=ta.prototype=new vd;na.constructor=ta;gd(na,Jn.prototype);na.isPureReactComponent=!0;var Du=Array.isArray,xd=Object.prototype.hasOwnProperty,ra={current:null},wd={key:!0,ref:!0,__self:!0,__source:!0};function Sd(e,t,n){var r,i={},o=null,s=null;if(t!=null)for(r in t.ref!==void 0&&(s=t.ref),t.key!==void 0&&(o=""+t.key),t)xd.call(t,r)&&!wd.hasOwnProperty(r)&&(i[r]=t[r]);var l=arguments.length-2;if(l===1)i.children=n;else if(1<l){for(var a=Array(l),u=0;u<l;u++)a[u]=arguments[u+2];i.children=a}if(e&&e.defaultProps)for(r in l=e.defaultProps,l)i[r]===void 0&&(i[r]=l[r]);return{$$typeof:ei,type:e,key:o,ref:s,props:i,_owner:ra.current}}function Eg(e,t){return{$$typeof:ei,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function ia(e){return typeof e=="object"&&e!==null&&e.$$typeof===ei}function Rg(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var Vu=/\/+/g;function ts(e,t){return typeof e=="object"&&e!==null&&e.key!=null?Rg(""+e.key):t.toString(36)}function Vi(e,t,n,r,i){var o=typeof e;(o==="undefined"||o==="boolean")&&(e=null);var s=!1;if(e===null)s=!0;else switch(o){case"string":case"number":s=!0;break;case"object":switch(e.$$typeof){case ei:case mg:s=!0}}if(s)return s=e,i=i(s),e=r===""?"."+ts(s,0):r,Du(i)?(n="",e!=null&&(n=e.replace(Vu,"$&/")+"/"),Vi(i,t,n,"",function(u){return u})):i!=null&&(ia(i)&&(i=Eg(i,n+(!i.key||s&&s.key===i.key?"":(""+i.key).replace(Vu,"$&/")+"/")+e)),t.push(i)),1;if(s=0,r=r===""?".":r+":",Du(e))for(var l=0;l<e.length;l++){o=e[l];var a=r+ts(o,l);s+=Vi(o,t,n,a,i)}else if(a=Tg(e),typeof a=="function")for(e=a.call(e),l=0;!(o=e.next()).done;)o=o.value,a=r+ts(o,l++),s+=Vi(o,t,n,a,i);else if(o==="object")throw t=String(e),Error("Objects are not valid as a React child (found: "+(t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return s}function hi(e,t,n){if(e==null)return e;var r=[],i=0;return Vi(e,r,"","",function(o){return t.call(n,o,i++)}),r}function Mg(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(n){(e._status===0||e._status===-1)&&(e._status=1,e._result=n)},function(n){(e._status===0||e._status===-1)&&(e._status=2,e._result=n)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var xe={current:null},_i={transition:null},Ag={ReactCurrentDispatcher:xe,ReactCurrentBatchConfig:_i,ReactCurrentOwner:ra};function Pd(){throw Error("act(...) is not supported in production builds of React.")}V.Children={map:hi,forEach:function(e,t,n){hi(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return hi(e,function(){t++}),t},toArray:function(e){return hi(e,function(t){return t})||[]},only:function(e){if(!ia(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};V.Component=Jn;V.Fragment=gg;V.Profiler=vg;V.PureComponent=ta;V.StrictMode=yg;V.Suspense=Pg;V.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Ag;V.act=Pd;V.cloneElement=function(e,t,n){if(e==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var r=gd({},e.props),i=e.key,o=e.ref,s=e._owner;if(t!=null){if(t.ref!==void 0&&(o=t.ref,s=ra.current),t.key!==void 0&&(i=""+t.key),e.type&&e.type.defaultProps)var l=e.type.defaultProps;for(a in t)xd.call(t,a)&&!wd.hasOwnProperty(a)&&(r[a]=t[a]===void 0&&l!==void 0?l[a]:t[a])}var a=arguments.length-2;if(a===1)r.children=n;else if(1<a){l=Array(a);for(var u=0;u<a;u++)l[u]=arguments[u+2];r.children=l}return{$$typeof:ei,type:e.type,key:i,ref:o,props:r,_owner:s}};V.createContext=function(e){return e={$$typeof:wg,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:xg,_context:e},e.Consumer=e};V.createElement=Sd;V.createFactory=function(e){var t=Sd.bind(null,e);return t.type=e,t};V.createRef=function(){return{current:null}};V.forwardRef=function(e){return{$$typeof:Sg,render:e}};V.isValidElement=ia;V.lazy=function(e){return{$$typeof:Cg,_payload:{_status:-1,_result:e},_init:Mg}};V.memo=function(e,t){return{$$typeof:kg,type:e,compare:t===void 0?null:t}};V.startTransition=function(e){var t=_i.transition;_i.transition={};try{e()}finally{_i.transition=t}};V.unstable_act=Pd;V.useCallback=function(e,t){return xe.current.useCallback(e,t)};V.useContext=function(e){return xe.current.useContext(e)};V.useDebugValue=function(){};V.useDeferredValue=function(e){return xe.current.useDeferredValue(e)};V.useEffect=function(e,t){return xe.current.useEffect(e,t)};V.useId=function(){return xe.current.useId()};V.useImperativeHandle=function(e,t,n){return xe.current.useImperativeHandle(e,t,n)};V.useInsertionEffect=function(e,t){return xe.current.useInsertionEffect(e,t)};V.useLayoutEffect=function(e,t){return xe.current.useLayoutEffect(e,t)};V.useMemo=function(e,t){return xe.current.useMemo(e,t)};V.useReducer=function(e,t,n){return xe.current.useReducer(e,t,n)};V.useRef=function(e){return xe.current.useRef(e)};V.useState=function(e){return xe.current.useState(e)};V.useSyncExternalStore=function(e,t,n){return xe.current.useSyncExternalStore(e,t,n)};V.useTransition=function(){return xe.current.useTransition()};V.version="18.3.1";pd.exports=V;var S=pd.exports;const Ng=pg(S),Lg=hg({__proto__:null,default:Ng},[S]);/**
+ * @license React
+ * react-jsx-runtime.production.min.js
+ *
+ * Copyright (c) Facebook, Inc. and its affiliates.
+ *
+ * This source code is licensed under the MIT license found in the
+ * LICENSE file in the root directory of this source tree.
+ */var jg=S,Dg=Symbol.for("react.element"),Vg=Symbol.for("react.fragment"),_g=Object.prototype.hasOwnProperty,Og=jg.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,Fg={key:!0,ref:!0,__self:!0,__source:!0};function kd(e,t,n){var r,i={},o=null,s=null;n!==void 0&&(o=""+n),t.key!==void 0&&(o=""+t.key),t.ref!==void 0&&(s=t.ref);for(r in t)_g.call(t,r)&&!Fg.hasOwnProperty(r)&&(i[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps,t)i[r]===void 0&&(i[r]=t[r]);return{$$typeof:Dg,type:e,key:o,ref:s,props:i,_owner:Og.current}}No.Fragment=Vg;No.jsx=kd;No.jsxs=kd;hd.exports=No;var w=hd.exports,Cd={exports:{}},je={},Td={exports:{}},Ed={};/**
+ * @license React
+ * scheduler.production.min.js
+ *
+ * Copyright (c) Facebook, Inc. and its affiliates.
+ *
+ * This source code is licensed under the MIT license found in the
+ * LICENSE file in the root directory of this source tree.
+ */(function(e){function t(R,j){var D=R.length;R.push(j);e:for(;0<D;){var X=D-1>>>1,re=R[X];if(0<i(re,j))R[X]=j,R[D]=re,D=X;else break e}}function n(R){return R.length===0?null:R[0]}function r(R){if(R.length===0)return null;var j=R[0],D=R.pop();if(D!==j){R[0]=D;e:for(var X=0,re=R.length,fi=re>>>1;X<fi;){var Qt=2*(X+1)-1,es=R[Qt],Xt=Qt+1,di=R[Xt];if(0>i(es,D))Xt<re&&0>i(di,es)?(R[X]=di,R[Xt]=D,X=Xt):(R[X]=es,R[Qt]=D,X=Qt);else if(Xt<re&&0>i(di,D))R[X]=di,R[Xt]=D,X=Xt;else break e}}return j}function i(R,j){var D=R.sortIndex-j.sortIndex;return D!==0?D:R.id-j.id}if(typeof performance=="object"&&typeof performance.now=="function"){var o=performance;e.unstable_now=function(){return o.now()}}else{var s=Date,l=s.now();e.unstable_now=function(){return s.now()-l}}var a=[],u=[],c=1,f=null,d=3,g=!1,y=!1,v=!1,P=typeof setTimeout=="function"?setTimeout:null,p=typeof clearTimeout=="function"?clearTimeout:null,h=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function m(R){for(var j=n(u);j!==null;){if(j.callback===null)r(u);else if(j.startTime<=R)r(u),j.sortIndex=j.expirationTime,t(a,j);else break;j=n(u)}}function x(R){if(v=!1,m(R),!y)if(n(a)!==null)y=!0,ci(k);else{var j=n(u);j!==null&&b(x,j.startTime-R)}}function k(R,j){y=!1,v&&(v=!1,p(T),T=-1),g=!0;var D=d;try{for(m(j),f=n(a);f!==null&&(!(f.expirationTime>j)||R&&!ne());){var X=f.callback;if(typeof X=="function"){f.callback=null,d=f.priorityLevel;var re=X(f.expirationTime<=j);j=e.unstable_now(),typeof re=="function"?f.callback=re:f===n(a)&&r(a),m(j)}else r(a);f=n(a)}if(f!==null)var fi=!0;else{var Qt=n(u);Qt!==null&&b(x,Qt.startTime-j),fi=!1}return fi}finally{f=null,d=D,g=!1}}var E=!1,M=null,T=-1,_=5,L=-1;function ne(){return!(e.unstable_now()-L<_)}function vt(){if(M!==null){var R=e.unstable_now();L=R;var j=!0;try{j=M(!0,R)}finally{j?Gt():(E=!1,M=null)}}else E=!1}var Gt;if(typeof h=="function")Gt=function(){h(vt)};else if(typeof MessageChannel<"u"){var rr=new MessageChannel,Lu=rr.port2;rr.port1.onmessage=vt,Gt=function(){Lu.postMessage(null)}}else Gt=function(){P(vt,0)};function ci(R){M=R,E||(E=!0,Gt())}function b(R,j){T=P(function(){R(e.unstable_now())},j)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(R){R.callback=null},e.unstable_continueExecution=function(){y||g||(y=!0,ci(k))},e.unstable_forceFrameRate=function(R){0>R||125<R?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):_=0<R?Math.floor(1e3/R):5},e.unstable_getCurrentPriorityLevel=function(){return d},e.unstable_getFirstCallbackNode=function(){return n(a)},e.unstable_next=function(R){switch(d){case 1:case 2:case 3:var j=3;break;default:j=d}var D=d;d=j;try{return R()}finally{d=D}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(R,j){switch(R){case 1:case 2:case 3:case 4:case 5:break;default:R=3}var D=d;d=R;try{return j()}finally{d=D}},e.unstable_scheduleCallback=function(R,j,D){var X=e.unstable_now();switch(typeof D=="object"&&D!==null?(D=D.delay,D=typeof D=="number"&&0<D?X+D:X):D=X,R){case 1:var re=-1;break;case 2:re=250;break;case 5:re=1073741823;break;case 4:re=1e4;break;default:re=5e3}return re=D+re,R={id:c++,callback:j,priorityLevel:R,startTime:D,expirationTime:re,sortIndex:-1},D>X?(R.sortIndex=D,t(u,R),n(a)===null&&R===n(u)&&(v?(p(T),T=-1):v=!0,b(x,D-X))):(R.sortIndex=re,t(a,R),y||g||(y=!0,ci(k))),R},e.unstable_shouldYield=ne,e.unstable_wrapCallback=function(R){var j=d;return function(){var D=d;d=j;try{return R.apply(this,arguments)}finally{d=D}}}})(Ed);Td.exports=Ed;var Ig=Td.exports;/**
+ * @license React
+ * react-dom.production.min.js
+ *
+ * Copyright (c) Facebook, Inc. and its affiliates.
+ *
+ * This source code is licensed under the MIT license found in the
+ * LICENSE file in the root directory of this source tree.
+ */var zg=S,Ne=Ig;function C(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var Rd=new Set,Lr={};function hn(e,t){$n(e,t),$n(e+"Capture",t)}function $n(e,t){for(Lr[e]=t,e=0;e<t.length;e++)Rd.add(t[e])}var ht=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Ws=Object.prototype.hasOwnProperty,Bg=/^[: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]*$/,_u={},Ou={};function Ug(e){return Ws.call(Ou,e)?!0:Ws.call(_u,e)?!1:Bg.test(e)?Ou[e]=!0:(_u[e]=!0,!1)}function $g(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function Wg(e,t,n,r){if(t===null||typeof t>"u"||$g(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function we(e,t,n,r,i,o,s){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=s}var ue={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){ue[e]=new we(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];ue[t]=new we(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){ue[e]=new we(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){ue[e]=new we(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){ue[e]=new we(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){ue[e]=new we(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){ue[e]=new we(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){ue[e]=new we(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){ue[e]=new we(e,5,!1,e.toLowerCase(),null,!1,!1)});var oa=/[\-:]([a-z])/g;function sa(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(oa,sa);ue[t]=new we(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(oa,sa);ue[t]=new we(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(oa,sa);ue[t]=new we(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){ue[e]=new we(e,1,!1,e.toLowerCase(),null,!1,!1)});ue.xlinkHref=new we("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){ue[e]=new we(e,1,!1,e.toLowerCase(),null,!0,!0)});function la(e,t,n,r){var i=ue.hasOwnProperty(t)?ue[t]:null;(i!==null?i.type!==0:r||!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(Wg(t,n,i,r)&&(n=null),r||i===null?Ug(t)&&(n===null?e.removeAttribute(t):e.setAttribute(t,""+n)):i.mustUseProperty?e[i.propertyName]=n===null?i.type===3?!1:"":n:(t=i.attributeName,r=i.attributeNamespace,n===null?e.removeAttribute(t):(i=i.type,n=i===3||i===4&&n===!0?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}var yt=zg.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,pi=Symbol.for("react.element"),xn=Symbol.for("react.portal"),wn=Symbol.for("react.fragment"),aa=Symbol.for("react.strict_mode"),Hs=Symbol.for("react.profiler"),Md=Symbol.for("react.provider"),Ad=Symbol.for("react.context"),ua=Symbol.for("react.forward_ref"),Ks=Symbol.for("react.suspense"),Gs=Symbol.for("react.suspense_list"),ca=Symbol.for("react.memo"),St=Symbol.for("react.lazy"),Nd=Symbol.for("react.offscreen"),Fu=Symbol.iterator;function ir(e){return e===null||typeof e!="object"?null:(e=Fu&&e[Fu]||e["@@iterator"],typeof e=="function"?e:null)}var G=Object.assign,ns;function hr(e){if(ns===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);ns=t&&t[1]||""}return`
+`+ns+e}var rs=!1;function is(e,t){if(!e||rs)return"";rs=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(t,[])}catch(u){var r=u}Reflect.construct(e,[],t)}else{try{t.call()}catch(u){r=u}e.call(t.prototype)}else{try{throw Error()}catch(u){r=u}e()}}catch(u){if(u&&r&&typeof u.stack=="string"){for(var i=u.stack.split(`
+`),o=r.stack.split(`
+`),s=i.length-1,l=o.length-1;1<=s&&0<=l&&i[s]!==o[l];)l--;for(;1<=s&&0<=l;s--,l--)if(i[s]!==o[l]){if(s!==1||l!==1)do if(s--,l--,0>l||i[s]!==o[l]){var a=`
+`+i[s].replace(" at new "," at ");return e.displayName&&a.includes("<anonymous>")&&(a=a.replace("<anonymous>",e.displayName)),a}while(1<=s&&0<=l);break}}}finally{rs=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?hr(e):""}function Hg(e){switch(e.tag){case 5:return hr(e.type);case 16:return hr("Lazy");case 13:return hr("Suspense");case 19:return hr("SuspenseList");case 0:case 2:case 15:return e=is(e.type,!1),e;case 11:return e=is(e.type.render,!1),e;case 1:return e=is(e.type,!0),e;default:return""}}function Qs(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case wn:return"Fragment";case xn:return"Portal";case Hs:return"Profiler";case aa:return"StrictMode";case Ks:return"Suspense";case Gs:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Ad:return(e.displayName||"Context")+".Consumer";case Md:return(e._context.displayName||"Context")+".Provider";case ua:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case ca:return t=e.displayName||null,t!==null?t:Qs(e.type)||"Memo";case St:t=e._payload,e=e._init;try{return Qs(e(t))}catch{}}return null}function Kg(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Qs(t);case 8:return t===aa?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function Ft(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Ld(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Gg(e){var t=Ld(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var i=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(s){r=""+s,o.call(this,s)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(s){r=""+s},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function mi(e){e._valueTracker||(e._valueTracker=Gg(e))}function jd(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Ld(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Yi(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function Xs(e,t){var n=t.checked;return G({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function Iu(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=Ft(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function Dd(e,t){t=t.checked,t!=null&&la(e,"checked",t,!1)}function Ys(e,t){Dd(e,t);var n=Ft(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?Zs(e,t.type,n):t.hasOwnProperty("defaultValue")&&Zs(e,t.type,Ft(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function zu(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function Zs(e,t,n){(t!=="number"||Yi(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var pr=Array.isArray;function On(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i<n.length;i++)t["$"+n[i]]=!0;for(n=0;n<e.length;n++)i=t.hasOwnProperty("$"+e[n].value),e[n].selected!==i&&(e[n].selected=i),i&&r&&(e[n].defaultSelected=!0)}else{for(n=""+Ft(n),t=null,i=0;i<e.length;i++){if(e[i].value===n){e[i].selected=!0,r&&(e[i].defaultSelected=!0);return}t!==null||e[i].disabled||(t=e[i])}t!==null&&(t.selected=!0)}}function qs(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(C(91));return G({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function Bu(e,t){var n=t.value;if(n==null){if(n=t.children,t=t.defaultValue,n!=null){if(t!=null)throw Error(C(92));if(pr(n)){if(1<n.length)throw Error(C(93));n=n[0]}t=n}t==null&&(t=""),n=t}e._wrapperState={initialValue:Ft(n)}}function Vd(e,t){var n=Ft(t.value),r=Ft(t.defaultValue);n!=null&&(n=""+n,n!==e.value&&(e.value=n),t.defaultValue==null&&e.defaultValue!==n&&(e.defaultValue=n)),r!=null&&(e.defaultValue=""+r)}function Uu(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}function _d(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function Js(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?_d(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var gi,Od=function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,n,r,i){MSApp.execUnsafeLocalFunction(function(){return e(t,n,r,i)})}:e}(function(e,t){if(e.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in e)e.innerHTML=t;else{for(gi=gi||document.createElement("div"),gi.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=gi.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function jr(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var xr={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},Qg=["Webkit","ms","Moz","O"];Object.keys(xr).forEach(function(e){Qg.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),xr[t]=xr[e]})});function Fd(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||xr.hasOwnProperty(e)&&xr[e]?(""+t).trim():t+"px"}function Id(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,i=Fd(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}var Xg=G({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function bs(e,t){if(t){if(Xg[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(C(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(C(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(C(61))}if(t.style!=null&&typeof t.style!="object")throw Error(C(62))}}function el(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var tl=null;function fa(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var nl=null,Fn=null,In=null;function $u(e){if(e=ri(e)){if(typeof nl!="function")throw Error(C(280));var t=e.stateNode;t&&(t=_o(t),nl(e.stateNode,e.type,t))}}function zd(e){Fn?In?In.push(e):In=[e]:Fn=e}function Bd(){if(Fn){var e=Fn,t=In;if(In=Fn=null,$u(e),t)for(e=0;e<t.length;e++)$u(t[e])}}function Ud(e,t){return e(t)}function $d(){}var os=!1;function Wd(e,t,n){if(os)return e(t,n);os=!0;try{return Ud(e,t,n)}finally{os=!1,(Fn!==null||In!==null)&&($d(),Bd())}}function Dr(e,t){var n=e.stateNode;if(n===null)return null;var r=_o(n);if(r===null)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(e=e.type,r=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!r;break e;default:e=!1}if(e)return null;if(n&&typeof n!="function")throw Error(C(231,t,typeof n));return n}var rl=!1;if(ht)try{var or={};Object.defineProperty(or,"passive",{get:function(){rl=!0}}),window.addEventListener("test",or,or),window.removeEventListener("test",or,or)}catch{rl=!1}function Yg(e,t,n,r,i,o,s,l,a){var u=Array.prototype.slice.call(arguments,3);try{t.apply(n,u)}catch(c){this.onError(c)}}var wr=!1,Zi=null,qi=!1,il=null,Zg={onError:function(e){wr=!0,Zi=e}};function qg(e,t,n,r,i,o,s,l,a){wr=!1,Zi=null,Yg.apply(Zg,arguments)}function Jg(e,t,n,r,i,o,s,l,a){if(qg.apply(this,arguments),wr){if(wr){var u=Zi;wr=!1,Zi=null}else throw Error(C(198));qi||(qi=!0,il=u)}}function pn(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,t.flags&4098&&(n=t.return),e=t.return;while(e)}return t.tag===3?n:null}function Hd(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function Wu(e){if(pn(e)!==e)throw Error(C(188))}function bg(e){var t=e.alternate;if(!t){if(t=pn(e),t===null)throw Error(C(188));return t!==e?null:e}for(var n=e,r=t;;){var i=n.return;if(i===null)break;var o=i.alternate;if(o===null){if(r=i.return,r!==null){n=r;continue}break}if(i.child===o.child){for(o=i.child;o;){if(o===n)return Wu(i),e;if(o===r)return Wu(i),t;o=o.sibling}throw Error(C(188))}if(n.return!==r.return)n=i,r=o;else{for(var s=!1,l=i.child;l;){if(l===n){s=!0,n=i,r=o;break}if(l===r){s=!0,r=i,n=o;break}l=l.sibling}if(!s){for(l=o.child;l;){if(l===n){s=!0,n=o,r=i;break}if(l===r){s=!0,r=o,n=i;break}l=l.sibling}if(!s)throw Error(C(189))}}if(n.alternate!==r)throw Error(C(190))}if(n.tag!==3)throw Error(C(188));return n.stateNode.current===n?e:t}function Kd(e){return e=bg(e),e!==null?Gd(e):null}function Gd(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=Gd(e);if(t!==null)return t;e=e.sibling}return null}var Qd=Ne.unstable_scheduleCallback,Hu=Ne.unstable_cancelCallback,ey=Ne.unstable_shouldYield,ty=Ne.unstable_requestPaint,Z=Ne.unstable_now,ny=Ne.unstable_getCurrentPriorityLevel,da=Ne.unstable_ImmediatePriority,Xd=Ne.unstable_UserBlockingPriority,Ji=Ne.unstable_NormalPriority,ry=Ne.unstable_LowPriority,Yd=Ne.unstable_IdlePriority,Lo=null,be=null;function iy(e){if(be&&typeof be.onCommitFiberRoot=="function")try{be.onCommitFiberRoot(Lo,e,void 0,(e.current.flags&128)===128)}catch{}}var Ge=Math.clz32?Math.clz32:ly,oy=Math.log,sy=Math.LN2;function ly(e){return e>>>=0,e===0?32:31-(oy(e)/sy|0)|0}var yi=64,vi=4194304;function mr(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64: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&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function bi(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,i=e.suspendedLanes,o=e.pingedLanes,s=n&268435455;if(s!==0){var l=s&~i;l!==0?r=mr(l):(o&=s,o!==0&&(r=mr(o)))}else s=n&~i,s!==0?r=mr(s):o!==0&&(r=mr(o));if(r===0)return 0;if(t!==0&&t!==r&&!(t&i)&&(i=r&-r,o=t&-t,i>=o||i===16&&(o&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0<t;)n=31-Ge(t),i=1<<n,r|=e[n],t&=~i;return r}function ay(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function uy(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,i=e.expirationTimes,o=e.pendingLanes;0<o;){var s=31-Ge(o),l=1<<s,a=i[s];a===-1?(!(l&n)||l&r)&&(i[s]=ay(l,t)):a<=t&&(e.expiredLanes|=l),o&=~l}}function ol(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function Zd(){var e=yi;return yi<<=1,!(yi&4194240)&&(yi=64),e}function ss(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function ti(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Ge(t),e[t]=n}function cy(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<n;){var i=31-Ge(n),o=1<<i;t[i]=0,r[i]=-1,e[i]=-1,n&=~o}}function ha(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-Ge(n),i=1<<r;i&t|e[r]&t&&(e[r]|=t),n&=~i}}var F=0;function qd(e){return e&=-e,1<e?4<e?e&268435455?16:536870912:4:1}var Jd,pa,bd,eh,th,sl=!1,xi=[],Mt=null,At=null,Nt=null,Vr=new Map,_r=new Map,kt=[],fy="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 submit".split(" ");function Ku(e,t){switch(e){case"focusin":case"focusout":Mt=null;break;case"dragenter":case"dragleave":At=null;break;case"mouseover":case"mouseout":Nt=null;break;case"pointerover":case"pointerout":Vr.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":_r.delete(t.pointerId)}}function sr(e,t,n,r,i,o){return e===null||e.nativeEvent!==o?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:o,targetContainers:[i]},t!==null&&(t=ri(t),t!==null&&pa(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,i!==null&&t.indexOf(i)===-1&&t.push(i),e)}function dy(e,t,n,r,i){switch(t){case"focusin":return Mt=sr(Mt,e,t,n,r,i),!0;case"dragenter":return At=sr(At,e,t,n,r,i),!0;case"mouseover":return Nt=sr(Nt,e,t,n,r,i),!0;case"pointerover":var o=i.pointerId;return Vr.set(o,sr(Vr.get(o)||null,e,t,n,r,i)),!0;case"gotpointercapture":return o=i.pointerId,_r.set(o,sr(_r.get(o)||null,e,t,n,r,i)),!0}return!1}function nh(e){var t=en(e.target);if(t!==null){var n=pn(t);if(n!==null){if(t=n.tag,t===13){if(t=Hd(n),t!==null){e.blockedOn=t,th(e.priority,function(){bd(n)});return}}else if(t===3&&n.stateNode.current.memoizedState.isDehydrated){e.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}e.blockedOn=null}function Oi(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=ll(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(n===null){n=e.nativeEvent;var r=new n.constructor(n.type,n);tl=r,n.target.dispatchEvent(r),tl=null}else return t=ri(n),t!==null&&pa(t),e.blockedOn=n,!1;t.shift()}return!0}function Gu(e,t,n){Oi(e)&&n.delete(t)}function hy(){sl=!1,Mt!==null&&Oi(Mt)&&(Mt=null),At!==null&&Oi(At)&&(At=null),Nt!==null&&Oi(Nt)&&(Nt=null),Vr.forEach(Gu),_r.forEach(Gu)}function lr(e,t){e.blockedOn===t&&(e.blockedOn=null,sl||(sl=!0,Ne.unstable_scheduleCallback(Ne.unstable_NormalPriority,hy)))}function Or(e){function t(i){return lr(i,e)}if(0<xi.length){lr(xi[0],e);for(var n=1;n<xi.length;n++){var r=xi[n];r.blockedOn===e&&(r.blockedOn=null)}}for(Mt!==null&&lr(Mt,e),At!==null&&lr(At,e),Nt!==null&&lr(Nt,e),Vr.forEach(t),_r.forEach(t),n=0;n<kt.length;n++)r=kt[n],r.blockedOn===e&&(r.blockedOn=null);for(;0<kt.length&&(n=kt[0],n.blockedOn===null);)nh(n),n.blockedOn===null&&kt.shift()}var zn=yt.ReactCurrentBatchConfig,eo=!0;function py(e,t,n,r){var i=F,o=zn.transition;zn.transition=null;try{F=1,ma(e,t,n,r)}finally{F=i,zn.transition=o}}function my(e,t,n,r){var i=F,o=zn.transition;zn.transition=null;try{F=4,ma(e,t,n,r)}finally{F=i,zn.transition=o}}function ma(e,t,n,r){if(eo){var i=ll(e,t,n,r);if(i===null)gs(e,t,r,to,n),Ku(e,r);else if(dy(i,e,t,n,r))r.stopPropagation();else if(Ku(e,r),t&4&&-1<fy.indexOf(e)){for(;i!==null;){var o=ri(i);if(o!==null&&Jd(o),o=ll(e,t,n,r),o===null&&gs(e,t,r,to,n),o===i)break;i=o}i!==null&&r.stopPropagation()}else gs(e,t,r,null,n)}}var to=null;function ll(e,t,n,r){if(to=null,e=fa(r),e=en(e),e!==null)if(t=pn(e),t===null)e=null;else if(n=t.tag,n===13){if(e=Hd(t),e!==null)return e;e=null}else if(n===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return to=e,null}function rh(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"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 1;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"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(ny()){case da:return 1;case Xd:return 4;case Ji:case ry:return 16;case Yd:return 536870912;default:return 16}default:return 16}}var Tt=null,ga=null,Fi=null;function ih(){if(Fi)return Fi;var e,t=ga,n=t.length,r,i="value"in Tt?Tt.value:Tt.textContent,o=i.length;for(e=0;e<n&&t[e]===i[e];e++);var s=n-e;for(r=1;r<=s&&t[n-r]===i[o-r];r++);return Fi=i.slice(e,1<r?1-r:void 0)}function Ii(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function wi(){return!0}function Qu(){return!1}function De(e){function t(n,r,i,o,s){this._reactName=n,this._targetInst=i,this.type=r,this.nativeEvent=o,this.target=s,this.currentTarget=null;for(var l in e)e.hasOwnProperty(l)&&(n=e[l],this[l]=n?n(o):o[l]);return this.isDefaultPrevented=(o.defaultPrevented!=null?o.defaultPrevented:o.returnValue===!1)?wi:Qu,this.isPropagationStopped=Qu,this}return G(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var n=this.nativeEvent;n&&(n.preventDefault?n.preventDefault():typeof n.returnValue!="unknown"&&(n.returnValue=!1),this.isDefaultPrevented=wi)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=wi)},persist:function(){},isPersistent:wi}),t}var bn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},ya=De(bn),ni=G({},bn,{view:0,detail:0}),gy=De(ni),ls,as,ar,jo=G({},ni,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:va,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==ar&&(ar&&e.type==="mousemove"?(ls=e.screenX-ar.screenX,as=e.screenY-ar.screenY):as=ls=0,ar=e),ls)},movementY:function(e){return"movementY"in e?e.movementY:as}}),Xu=De(jo),yy=G({},jo,{dataTransfer:0}),vy=De(yy),xy=G({},ni,{relatedTarget:0}),us=De(xy),wy=G({},bn,{animationName:0,elapsedTime:0,pseudoElement:0}),Sy=De(wy),Py=G({},bn,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),ky=De(Py),Cy=G({},bn,{data:0}),Yu=De(Cy),Ty={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Ey={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"},Ry={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function My(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=Ry[e])?!!t[e]:!1}function va(){return My}var Ay=G({},ni,{key:function(e){if(e.key){var t=Ty[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=Ii(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?Ey[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:va,charCode:function(e){return e.type==="keypress"?Ii(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Ii(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),Ny=De(Ay),Ly=G({},jo,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Zu=De(Ly),jy=G({},ni,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:va}),Dy=De(jy),Vy=G({},bn,{propertyName:0,elapsedTime:0,pseudoElement:0}),_y=De(Vy),Oy=G({},jo,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),Fy=De(Oy),Iy=[9,13,27,32],xa=ht&&"CompositionEvent"in window,Sr=null;ht&&"documentMode"in document&&(Sr=document.documentMode);var zy=ht&&"TextEvent"in window&&!Sr,oh=ht&&(!xa||Sr&&8<Sr&&11>=Sr),qu=" ",Ju=!1;function sh(e,t){switch(e){case"keyup":return Iy.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function lh(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Sn=!1;function By(e,t){switch(e){case"compositionend":return lh(t);case"keypress":return t.which!==32?null:(Ju=!0,qu);case"textInput":return e=t.data,e===qu&&Ju?null:e;default:return null}}function Uy(e,t){if(Sn)return e==="compositionend"||!xa&&sh(e,t)?(e=ih(),Fi=ga=Tt=null,Sn=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return oh&&t.locale!=="ko"?null:t.data;default:return null}}var $y={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 bu(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!$y[e.type]:t==="textarea"}function ah(e,t,n,r){zd(r),t=no(t,"onChange"),0<t.length&&(n=new ya("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Pr=null,Fr=null;function Wy(e){xh(e,0)}function Do(e){var t=Cn(e);if(jd(t))return e}function Hy(e,t){if(e==="change")return t}var uh=!1;if(ht){var cs;if(ht){var fs="oninput"in document;if(!fs){var ec=document.createElement("div");ec.setAttribute("oninput","return;"),fs=typeof ec.oninput=="function"}cs=fs}else cs=!1;uh=cs&&(!document.documentMode||9<document.documentMode)}function tc(){Pr&&(Pr.detachEvent("onpropertychange",ch),Fr=Pr=null)}function ch(e){if(e.propertyName==="value"&&Do(Fr)){var t=[];ah(t,Fr,e,fa(e)),Wd(Wy,t)}}function Ky(e,t,n){e==="focusin"?(tc(),Pr=t,Fr=n,Pr.attachEvent("onpropertychange",ch)):e==="focusout"&&tc()}function Gy(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Do(Fr)}function Qy(e,t){if(e==="click")return Do(t)}function Xy(e,t){if(e==="input"||e==="change")return Do(t)}function Yy(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Xe=typeof Object.is=="function"?Object.is:Yy;function Ir(e,t){if(Xe(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var i=n[r];if(!Ws.call(t,i)||!Xe(e[i],t[i]))return!1}return!0}function nc(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function rc(e,t){var n=nc(e);e=0;for(var r;n;){if(n.nodeType===3){if(r=e+n.textContent.length,e<=t&&r>=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=nc(n)}}function fh(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?fh(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function dh(){for(var e=window,t=Yi();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Yi(e.document)}return t}function wa(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function Zy(e){var t=dh(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&fh(n.ownerDocument.documentElement,n)){if(r!==null&&wa(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var i=n.textContent.length,o=Math.min(r.start,i);r=r.end===void 0?o:Math.min(r.end,i),!e.extend&&o>r&&(i=r,r=o,o=i),i=rc(n,o);var s=rc(n,r);i&&s&&(e.rangeCount!==1||e.anchorNode!==i.node||e.anchorOffset!==i.offset||e.focusNode!==s.node||e.focusOffset!==s.offset)&&(t=t.createRange(),t.setStart(i.node,i.offset),e.removeAllRanges(),o>r?(e.addRange(t),e.extend(s.node,s.offset)):(t.setEnd(s.node,s.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n<t.length;n++)e=t[n],e.element.scrollLeft=e.left,e.element.scrollTop=e.top}}var qy=ht&&"documentMode"in document&&11>=document.documentMode,Pn=null,al=null,kr=null,ul=!1;function ic(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;ul||Pn==null||Pn!==Yi(r)||(r=Pn,"selectionStart"in r&&wa(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),kr&&Ir(kr,r)||(kr=r,r=no(al,"onSelect"),0<r.length&&(t=new ya("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=Pn)))}function Si(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var kn={animationend:Si("Animation","AnimationEnd"),animationiteration:Si("Animation","AnimationIteration"),animationstart:Si("Animation","AnimationStart"),transitionend:Si("Transition","TransitionEnd")},ds={},hh={};ht&&(hh=document.createElement("div").style,"AnimationEvent"in window||(delete kn.animationend.animation,delete kn.animationiteration.animation,delete kn.animationstart.animation),"TransitionEvent"in window||delete kn.transitionend.transition);function Vo(e){if(ds[e])return ds[e];if(!kn[e])return e;var t=kn[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in hh)return ds[e]=t[n];return e}var ph=Vo("animationend"),mh=Vo("animationiteration"),gh=Vo("animationstart"),yh=Vo("transitionend"),vh=new Map,oc="abort auxClick 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(" ");function $t(e,t){vh.set(e,t),hn(t,[e])}for(var hs=0;hs<oc.length;hs++){var ps=oc[hs],Jy=ps.toLowerCase(),by=ps[0].toUpperCase()+ps.slice(1);$t(Jy,"on"+by)}$t(ph,"onAnimationEnd");$t(mh,"onAnimationIteration");$t(gh,"onAnimationStart");$t("dblclick","onDoubleClick");$t("focusin","onFocus");$t("focusout","onBlur");$t(yh,"onTransitionEnd");$n("onMouseEnter",["mouseout","mouseover"]);$n("onMouseLeave",["mouseout","mouseover"]);$n("onPointerEnter",["pointerout","pointerover"]);$n("onPointerLeave",["pointerout","pointerover"]);hn("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));hn("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));hn("onBeforeInput",["compositionend","keypress","textInput","paste"]);hn("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));hn("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));hn("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var gr="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(" "),ev=new Set("cancel close invalid load scroll toggle".split(" ").concat(gr));function sc(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,Jg(r,t,void 0,e),e.currentTarget=null}function xh(e,t){t=(t&4)!==0;for(var n=0;n<e.length;n++){var r=e[n],i=r.event;r=r.listeners;e:{var o=void 0;if(t)for(var s=r.length-1;0<=s;s--){var l=r[s],a=l.instance,u=l.currentTarget;if(l=l.listener,a!==o&&i.isPropagationStopped())break e;sc(i,l,u),o=a}else for(s=0;s<r.length;s++){if(l=r[s],a=l.instance,u=l.currentTarget,l=l.listener,a!==o&&i.isPropagationStopped())break e;sc(i,l,u),o=a}}}if(qi)throw e=il,qi=!1,il=null,e}function B(e,t){var n=t[pl];n===void 0&&(n=t[pl]=new Set);var r=e+"__bubble";n.has(r)||(wh(t,e,2,!1),n.add(r))}function ms(e,t,n){var r=0;t&&(r|=4),wh(n,e,r,t)}var Pi="_reactListening"+Math.random().toString(36).slice(2);function zr(e){if(!e[Pi]){e[Pi]=!0,Rd.forEach(function(n){n!=="selectionchange"&&(ev.has(n)||ms(n,!1,e),ms(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[Pi]||(t[Pi]=!0,ms("selectionchange",!1,t))}}function wh(e,t,n,r){switch(rh(t)){case 1:var i=py;break;case 4:i=my;break;default:i=ma}n=i.bind(null,t,n,e),i=void 0,!rl||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(i=!0),r?i!==void 0?e.addEventListener(t,n,{capture:!0,passive:i}):e.addEventListener(t,n,!0):i!==void 0?e.addEventListener(t,n,{passive:i}):e.addEventListener(t,n,!1)}function gs(e,t,n,r,i){var o=r;if(!(t&1)&&!(t&2)&&r!==null)e:for(;;){if(r===null)return;var s=r.tag;if(s===3||s===4){var l=r.stateNode.containerInfo;if(l===i||l.nodeType===8&&l.parentNode===i)break;if(s===4)for(s=r.return;s!==null;){var a=s.tag;if((a===3||a===4)&&(a=s.stateNode.containerInfo,a===i||a.nodeType===8&&a.parentNode===i))return;s=s.return}for(;l!==null;){if(s=en(l),s===null)return;if(a=s.tag,a===5||a===6){r=o=s;continue e}l=l.parentNode}}r=r.return}Wd(function(){var u=o,c=fa(n),f=[];e:{var d=vh.get(e);if(d!==void 0){var g=ya,y=e;switch(e){case"keypress":if(Ii(n)===0)break e;case"keydown":case"keyup":g=Ny;break;case"focusin":y="focus",g=us;break;case"focusout":y="blur",g=us;break;case"beforeblur":case"afterblur":g=us;break;case"click":if(n.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":g=Xu;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":g=vy;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":g=Dy;break;case ph:case mh:case gh:g=Sy;break;case yh:g=_y;break;case"scroll":g=gy;break;case"wheel":g=Fy;break;case"copy":case"cut":case"paste":g=ky;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":g=Zu}var v=(t&4)!==0,P=!v&&e==="scroll",p=v?d!==null?d+"Capture":null:d;v=[];for(var h=u,m;h!==null;){m=h;var x=m.stateNode;if(m.tag===5&&x!==null&&(m=x,p!==null&&(x=Dr(h,p),x!=null&&v.push(Br(h,x,m)))),P)break;h=h.return}0<v.length&&(d=new g(d,y,null,n,c),f.push({event:d,listeners:v}))}}if(!(t&7)){e:{if(d=e==="mouseover"||e==="pointerover",g=e==="mouseout"||e==="pointerout",d&&n!==tl&&(y=n.relatedTarget||n.fromElement)&&(en(y)||y[pt]))break e;if((g||d)&&(d=c.window===c?c:(d=c.ownerDocument)?d.defaultView||d.parentWindow:window,g?(y=n.relatedTarget||n.toElement,g=u,y=y?en(y):null,y!==null&&(P=pn(y),y!==P||y.tag!==5&&y.tag!==6)&&(y=null)):(g=null,y=u),g!==y)){if(v=Xu,x="onMouseLeave",p="onMouseEnter",h="mouse",(e==="pointerout"||e==="pointerover")&&(v=Zu,x="onPointerLeave",p="onPointerEnter",h="pointer"),P=g==null?d:Cn(g),m=y==null?d:Cn(y),d=new v(x,h+"leave",g,n,c),d.target=P,d.relatedTarget=m,x=null,en(c)===u&&(v=new v(p,h+"enter",y,n,c),v.target=m,v.relatedTarget=P,x=v),P=x,g&&y)t:{for(v=g,p=y,h=0,m=v;m;m=vn(m))h++;for(m=0,x=p;x;x=vn(x))m++;for(;0<h-m;)v=vn(v),h--;for(;0<m-h;)p=vn(p),m--;for(;h--;){if(v===p||p!==null&&v===p.alternate)break t;v=vn(v),p=vn(p)}v=null}else v=null;g!==null&&lc(f,d,g,v,!1),y!==null&&P!==null&&lc(f,P,y,v,!0)}}e:{if(d=u?Cn(u):window,g=d.nodeName&&d.nodeName.toLowerCase(),g==="select"||g==="input"&&d.type==="file")var k=Hy;else if(bu(d))if(uh)k=Xy;else{k=Gy;var E=Ky}else(g=d.nodeName)&&g.toLowerCase()==="input"&&(d.type==="checkbox"||d.type==="radio")&&(k=Qy);if(k&&(k=k(e,u))){ah(f,k,n,c);break e}E&&E(e,d,u),e==="focusout"&&(E=d._wrapperState)&&E.controlled&&d.type==="number"&&Zs(d,"number",d.value)}switch(E=u?Cn(u):window,e){case"focusin":(bu(E)||E.contentEditable==="true")&&(Pn=E,al=u,kr=null);break;case"focusout":kr=al=Pn=null;break;case"mousedown":ul=!0;break;case"contextmenu":case"mouseup":case"dragend":ul=!1,ic(f,n,c);break;case"selectionchange":if(qy)break;case"keydown":case"keyup":ic(f,n,c)}var M;if(xa)e:{switch(e){case"compositionstart":var T="onCompositionStart";break e;case"compositionend":T="onCompositionEnd";break e;case"compositionupdate":T="onCompositionUpdate";break e}T=void 0}else Sn?sh(e,n)&&(T="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(T="onCompositionStart");T&&(oh&&n.locale!=="ko"&&(Sn||T!=="onCompositionStart"?T==="onCompositionEnd"&&Sn&&(M=ih()):(Tt=c,ga="value"in Tt?Tt.value:Tt.textContent,Sn=!0)),E=no(u,T),0<E.length&&(T=new Yu(T,e,null,n,c),f.push({event:T,listeners:E}),M?T.data=M:(M=lh(n),M!==null&&(T.data=M)))),(M=zy?By(e,n):Uy(e,n))&&(u=no(u,"onBeforeInput"),0<u.length&&(c=new Yu("onBeforeInput","beforeinput",null,n,c),f.push({event:c,listeners:u}),c.data=M))}xh(f,t)})}function Br(e,t,n){return{instance:e,listener:t,currentTarget:n}}function no(e,t){for(var n=t+"Capture",r=[];e!==null;){var i=e,o=i.stateNode;i.tag===5&&o!==null&&(i=o,o=Dr(e,n),o!=null&&r.unshift(Br(e,o,i)),o=Dr(e,t),o!=null&&r.push(Br(e,o,i))),e=e.return}return r}function vn(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function lc(e,t,n,r,i){for(var o=t._reactName,s=[];n!==null&&n!==r;){var l=n,a=l.alternate,u=l.stateNode;if(a!==null&&a===r)break;l.tag===5&&u!==null&&(l=u,i?(a=Dr(n,o),a!=null&&s.unshift(Br(n,a,l))):i||(a=Dr(n,o),a!=null&&s.push(Br(n,a,l)))),n=n.return}s.length!==0&&e.push({event:t,listeners:s})}var tv=/\r\n?/g,nv=/\u0000|\uFFFD/g;function ac(e){return(typeof e=="string"?e:""+e).replace(tv,`
+`).replace(nv,"")}function ki(e,t,n){if(t=ac(t),ac(e)!==t&&n)throw Error(C(425))}function ro(){}var cl=null,fl=null;function dl(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var hl=typeof setTimeout=="function"?setTimeout:void 0,rv=typeof clearTimeout=="function"?clearTimeout:void 0,uc=typeof Promise=="function"?Promise:void 0,iv=typeof queueMicrotask=="function"?queueMicrotask:typeof uc<"u"?function(e){return uc.resolve(null).then(e).catch(ov)}:hl;function ov(e){setTimeout(function(){throw e})}function ys(e,t){var n=t,r=0;do{var i=n.nextSibling;if(e.removeChild(n),i&&i.nodeType===8)if(n=i.data,n==="/$"){if(r===0){e.removeChild(i),Or(t);return}r--}else n!=="$"&&n!=="$?"&&n!=="$!"||r++;n=i}while(n);Or(t)}function Lt(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?")break;if(t==="/$")return null}}return e}function cc(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="$"||n==="$!"||n==="$?"){if(t===0)return e;t--}else n==="/$"&&t++}e=e.previousSibling}return null}var er=Math.random().toString(36).slice(2),qe="__reactFiber$"+er,Ur="__reactProps$"+er,pt="__reactContainer$"+er,pl="__reactEvents$"+er,sv="__reactListeners$"+er,lv="__reactHandles$"+er;function en(e){var t=e[qe];if(t)return t;for(var n=e.parentNode;n;){if(t=n[pt]||n[qe]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=cc(e);e!==null;){if(n=e[qe])return n;e=cc(e)}return t}e=n,n=e.parentNode}return null}function ri(e){return e=e[qe]||e[pt],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function Cn(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(C(33))}function _o(e){return e[Ur]||null}var ml=[],Tn=-1;function Wt(e){return{current:e}}function U(e){0>Tn||(e.current=ml[Tn],ml[Tn]=null,Tn--)}function z(e,t){Tn++,ml[Tn]=e.current,e.current=t}var It={},ge=Wt(It),ke=Wt(!1),an=It;function Wn(e,t){var n=e.type.contextTypes;if(!n)return It;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i={},o;for(o in n)i[o]=t[o];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function Ce(e){return e=e.childContextTypes,e!=null}function io(){U(ke),U(ge)}function fc(e,t,n){if(ge.current!==It)throw Error(C(168));z(ge,t),z(ke,n)}function Sh(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var i in r)if(!(i in t))throw Error(C(108,Kg(e)||"Unknown",i));return G({},n,r)}function oo(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||It,an=ge.current,z(ge,e),z(ke,ke.current),!0}function dc(e,t,n){var r=e.stateNode;if(!r)throw Error(C(169));n?(e=Sh(e,t,an),r.__reactInternalMemoizedMergedChildContext=e,U(ke),U(ge),z(ge,e)):U(ke),z(ke,n)}var it=null,Oo=!1,vs=!1;function Ph(e){it===null?it=[e]:it.push(e)}function av(e){Oo=!0,Ph(e)}function Ht(){if(!vs&&it!==null){vs=!0;var e=0,t=F;try{var n=it;for(F=1;e<n.length;e++){var r=n[e];do r=r(!0);while(r!==null)}it=null,Oo=!1}catch(i){throw it!==null&&(it=it.slice(e+1)),Qd(da,Ht),i}finally{F=t,vs=!1}}return null}var En=[],Rn=0,so=null,lo=0,Oe=[],Fe=0,un=null,ot=1,st="";function Zt(e,t){En[Rn++]=lo,En[Rn++]=so,so=e,lo=t}function kh(e,t,n){Oe[Fe++]=ot,Oe[Fe++]=st,Oe[Fe++]=un,un=e;var r=ot;e=st;var i=32-Ge(r)-1;r&=~(1<<i),n+=1;var o=32-Ge(t)+i;if(30<o){var s=i-i%5;o=(r&(1<<s)-1).toString(32),r>>=s,i-=s,ot=1<<32-Ge(t)+i|n<<i|r,st=o+e}else ot=1<<o|n<<i|r,st=e}function Sa(e){e.return!==null&&(Zt(e,1),kh(e,1,0))}function Pa(e){for(;e===so;)so=En[--Rn],En[Rn]=null,lo=En[--Rn],En[Rn]=null;for(;e===un;)un=Oe[--Fe],Oe[Fe]=null,st=Oe[--Fe],Oe[Fe]=null,ot=Oe[--Fe],Oe[Fe]=null}var Ae=null,Me=null,$=!1,Ke=null;function Ch(e,t){var n=Ie(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,t=e.deletions,t===null?(e.deletions=[n],e.flags|=16):t.push(n)}function hc(e,t){switch(e.tag){case 5:var n=e.type;return t=t.nodeType!==1||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t,t!==null?(e.stateNode=t,Ae=e,Me=Lt(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,Ae=e,Me=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(n=un!==null?{id:ot,overflow:st}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},n=Ie(18,null,null,0),n.stateNode=t,n.return=e,e.child=n,Ae=e,Me=null,!0):!1;default:return!1}}function gl(e){return(e.mode&1)!==0&&(e.flags&128)===0}function yl(e){if($){var t=Me;if(t){var n=t;if(!hc(e,t)){if(gl(e))throw Error(C(418));t=Lt(n.nextSibling);var r=Ae;t&&hc(e,t)?Ch(r,n):(e.flags=e.flags&-4097|2,$=!1,Ae=e)}}else{if(gl(e))throw Error(C(418));e.flags=e.flags&-4097|2,$=!1,Ae=e}}}function pc(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;Ae=e}function Ci(e){if(e!==Ae)return!1;if(!$)return pc(e),$=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!dl(e.type,e.memoizedProps)),t&&(t=Me)){if(gl(e))throw Th(),Error(C(418));for(;t;)Ch(e,t),t=Lt(t.nextSibling)}if(pc(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(C(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="/$"){if(t===0){Me=Lt(e.nextSibling);break e}t--}else n!=="$"&&n!=="$!"&&n!=="$?"||t++}e=e.nextSibling}Me=null}}else Me=Ae?Lt(e.stateNode.nextSibling):null;return!0}function Th(){for(var e=Me;e;)e=Lt(e.nextSibling)}function Hn(){Me=Ae=null,$=!1}function ka(e){Ke===null?Ke=[e]:Ke.push(e)}var uv=yt.ReactCurrentBatchConfig;function ur(e,t,n){if(e=n.ref,e!==null&&typeof e!="function"&&typeof e!="object"){if(n._owner){if(n=n._owner,n){if(n.tag!==1)throw Error(C(309));var r=n.stateNode}if(!r)throw Error(C(147,e));var i=r,o=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===o?t.ref:(t=function(s){var l=i.refs;s===null?delete l[o]:l[o]=s},t._stringRef=o,t)}if(typeof e!="string")throw Error(C(284));if(!n._owner)throw Error(C(290,e))}return e}function Ti(e,t){throw e=Object.prototype.toString.call(t),Error(C(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function mc(e){var t=e._init;return t(e._payload)}function Eh(e){function t(p,h){if(e){var m=p.deletions;m===null?(p.deletions=[h],p.flags|=16):m.push(h)}}function n(p,h){if(!e)return null;for(;h!==null;)t(p,h),h=h.sibling;return null}function r(p,h){for(p=new Map;h!==null;)h.key!==null?p.set(h.key,h):p.set(h.index,h),h=h.sibling;return p}function i(p,h){return p=_t(p,h),p.index=0,p.sibling=null,p}function o(p,h,m){return p.index=m,e?(m=p.alternate,m!==null?(m=m.index,m<h?(p.flags|=2,h):m):(p.flags|=2,h)):(p.flags|=1048576,h)}function s(p){return e&&p.alternate===null&&(p.flags|=2),p}function l(p,h,m,x){return h===null||h.tag!==6?(h=Ts(m,p.mode,x),h.return=p,h):(h=i(h,m),h.return=p,h)}function a(p,h,m,x){var k=m.type;return k===wn?c(p,h,m.props.children,x,m.key):h!==null&&(h.elementType===k||typeof k=="object"&&k!==null&&k.$$typeof===St&&mc(k)===h.type)?(x=i(h,m.props),x.ref=ur(p,h,m),x.return=p,x):(x=Ki(m.type,m.key,m.props,null,p.mode,x),x.ref=ur(p,h,m),x.return=p,x)}function u(p,h,m,x){return h===null||h.tag!==4||h.stateNode.containerInfo!==m.containerInfo||h.stateNode.implementation!==m.implementation?(h=Es(m,p.mode,x),h.return=p,h):(h=i(h,m.children||[]),h.return=p,h)}function c(p,h,m,x,k){return h===null||h.tag!==7?(h=sn(m,p.mode,x,k),h.return=p,h):(h=i(h,m),h.return=p,h)}function f(p,h,m){if(typeof h=="string"&&h!==""||typeof h=="number")return h=Ts(""+h,p.mode,m),h.return=p,h;if(typeof h=="object"&&h!==null){switch(h.$$typeof){case pi:return m=Ki(h.type,h.key,h.props,null,p.mode,m),m.ref=ur(p,null,h),m.return=p,m;case xn:return h=Es(h,p.mode,m),h.return=p,h;case St:var x=h._init;return f(p,x(h._payload),m)}if(pr(h)||ir(h))return h=sn(h,p.mode,m,null),h.return=p,h;Ti(p,h)}return null}function d(p,h,m,x){var k=h!==null?h.key:null;if(typeof m=="string"&&m!==""||typeof m=="number")return k!==null?null:l(p,h,""+m,x);if(typeof m=="object"&&m!==null){switch(m.$$typeof){case pi:return m.key===k?a(p,h,m,x):null;case xn:return m.key===k?u(p,h,m,x):null;case St:return k=m._init,d(p,h,k(m._payload),x)}if(pr(m)||ir(m))return k!==null?null:c(p,h,m,x,null);Ti(p,m)}return null}function g(p,h,m,x,k){if(typeof x=="string"&&x!==""||typeof x=="number")return p=p.get(m)||null,l(h,p,""+x,k);if(typeof x=="object"&&x!==null){switch(x.$$typeof){case pi:return p=p.get(x.key===null?m:x.key)||null,a(h,p,x,k);case xn:return p=p.get(x.key===null?m:x.key)||null,u(h,p,x,k);case St:var E=x._init;return g(p,h,m,E(x._payload),k)}if(pr(x)||ir(x))return p=p.get(m)||null,c(h,p,x,k,null);Ti(h,x)}return null}function y(p,h,m,x){for(var k=null,E=null,M=h,T=h=0,_=null;M!==null&&T<m.length;T++){M.index>T?(_=M,M=null):_=M.sibling;var L=d(p,M,m[T],x);if(L===null){M===null&&(M=_);break}e&&M&&L.alternate===null&&t(p,M),h=o(L,h,T),E===null?k=L:E.sibling=L,E=L,M=_}if(T===m.length)return n(p,M),$&&Zt(p,T),k;if(M===null){for(;T<m.length;T++)M=f(p,m[T],x),M!==null&&(h=o(M,h,T),E===null?k=M:E.sibling=M,E=M);return $&&Zt(p,T),k}for(M=r(p,M);T<m.length;T++)_=g(M,p,T,m[T],x),_!==null&&(e&&_.alternate!==null&&M.delete(_.key===null?T:_.key),h=o(_,h,T),E===null?k=_:E.sibling=_,E=_);return e&&M.forEach(function(ne){return t(p,ne)}),$&&Zt(p,T),k}function v(p,h,m,x){var k=ir(m);if(typeof k!="function")throw Error(C(150));if(m=k.call(m),m==null)throw Error(C(151));for(var E=k=null,M=h,T=h=0,_=null,L=m.next();M!==null&&!L.done;T++,L=m.next()){M.index>T?(_=M,M=null):_=M.sibling;var ne=d(p,M,L.value,x);if(ne===null){M===null&&(M=_);break}e&&M&&ne.alternate===null&&t(p,M),h=o(ne,h,T),E===null?k=ne:E.sibling=ne,E=ne,M=_}if(L.done)return n(p,M),$&&Zt(p,T),k;if(M===null){for(;!L.done;T++,L=m.next())L=f(p,L.value,x),L!==null&&(h=o(L,h,T),E===null?k=L:E.sibling=L,E=L);return $&&Zt(p,T),k}for(M=r(p,M);!L.done;T++,L=m.next())L=g(M,p,T,L.value,x),L!==null&&(e&&L.alternate!==null&&M.delete(L.key===null?T:L.key),h=o(L,h,T),E===null?k=L:E.sibling=L,E=L);return e&&M.forEach(function(vt){return t(p,vt)}),$&&Zt(p,T),k}function P(p,h,m,x){if(typeof m=="object"&&m!==null&&m.type===wn&&m.key===null&&(m=m.props.children),typeof m=="object"&&m!==null){switch(m.$$typeof){case pi:e:{for(var k=m.key,E=h;E!==null;){if(E.key===k){if(k=m.type,k===wn){if(E.tag===7){n(p,E.sibling),h=i(E,m.props.children),h.return=p,p=h;break e}}else if(E.elementType===k||typeof k=="object"&&k!==null&&k.$$typeof===St&&mc(k)===E.type){n(p,E.sibling),h=i(E,m.props),h.ref=ur(p,E,m),h.return=p,p=h;break e}n(p,E);break}else t(p,E);E=E.sibling}m.type===wn?(h=sn(m.props.children,p.mode,x,m.key),h.return=p,p=h):(x=Ki(m.type,m.key,m.props,null,p.mode,x),x.ref=ur(p,h,m),x.return=p,p=x)}return s(p);case xn:e:{for(E=m.key;h!==null;){if(h.key===E)if(h.tag===4&&h.stateNode.containerInfo===m.containerInfo&&h.stateNode.implementation===m.implementation){n(p,h.sibling),h=i(h,m.children||[]),h.return=p,p=h;break e}else{n(p,h);break}else t(p,h);h=h.sibling}h=Es(m,p.mode,x),h.return=p,p=h}return s(p);case St:return E=m._init,P(p,h,E(m._payload),x)}if(pr(m))return y(p,h,m,x);if(ir(m))return v(p,h,m,x);Ti(p,m)}return typeof m=="string"&&m!==""||typeof m=="number"?(m=""+m,h!==null&&h.tag===6?(n(p,h.sibling),h=i(h,m),h.return=p,p=h):(n(p,h),h=Ts(m,p.mode,x),h.return=p,p=h),s(p)):n(p,h)}return P}var Kn=Eh(!0),Rh=Eh(!1),ao=Wt(null),uo=null,Mn=null,Ca=null;function Ta(){Ca=Mn=uo=null}function Ea(e){var t=ao.current;U(ao),e._currentValue=t}function vl(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function Bn(e,t){uo=e,Ca=Mn=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(Pe=!0),e.firstContext=null)}function Be(e){var t=e._currentValue;if(Ca!==e)if(e={context:e,memoizedValue:t,next:null},Mn===null){if(uo===null)throw Error(C(308));Mn=e,uo.dependencies={lanes:0,firstContext:e}}else Mn=Mn.next=e;return t}var tn=null;function Ra(e){tn===null?tn=[e]:tn.push(e)}function Mh(e,t,n,r){var i=t.interleaved;return i===null?(n.next=n,Ra(t)):(n.next=i.next,i.next=n),t.interleaved=n,mt(e,r)}function mt(e,t){e.lanes|=t;var n=e.alternate;for(n!==null&&(n.lanes|=t),n=e,e=e.return;e!==null;)e.childLanes|=t,n=e.alternate,n!==null&&(n.childLanes|=t),n=e,e=e.return;return n.tag===3?n.stateNode:null}var Pt=!1;function Ma(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Ah(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function at(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function jt(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,O&2){var i=r.pending;return i===null?t.next=t:(t.next=i.next,i.next=t),r.pending=t,mt(e,n)}return i=r.interleaved,i===null?(t.next=t,Ra(r)):(t.next=i.next,i.next=t),r.interleaved=t,mt(e,n)}function zi(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194240)!==0)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,ha(e,n)}}function gc(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var i=null,o=null;if(n=n.firstBaseUpdate,n!==null){do{var s={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};o===null?i=o=s:o=o.next=s,n=n.next}while(n!==null);o===null?i=o=t:o=o.next=t}else i=o=t;n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:o,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function co(e,t,n,r){var i=e.updateQueue;Pt=!1;var o=i.firstBaseUpdate,s=i.lastBaseUpdate,l=i.shared.pending;if(l!==null){i.shared.pending=null;var a=l,u=a.next;a.next=null,s===null?o=u:s.next=u,s=a;var c=e.alternate;c!==null&&(c=c.updateQueue,l=c.lastBaseUpdate,l!==s&&(l===null?c.firstBaseUpdate=u:l.next=u,c.lastBaseUpdate=a))}if(o!==null){var f=i.baseState;s=0,c=u=a=null,l=o;do{var d=l.lane,g=l.eventTime;if((r&d)===d){c!==null&&(c=c.next={eventTime:g,lane:0,tag:l.tag,payload:l.payload,callback:l.callback,next:null});e:{var y=e,v=l;switch(d=t,g=n,v.tag){case 1:if(y=v.payload,typeof y=="function"){f=y.call(g,f,d);break e}f=y;break e;case 3:y.flags=y.flags&-65537|128;case 0:if(y=v.payload,d=typeof y=="function"?y.call(g,f,d):y,d==null)break e;f=G({},f,d);break e;case 2:Pt=!0}}l.callback!==null&&l.lane!==0&&(e.flags|=64,d=i.effects,d===null?i.effects=[l]:d.push(l))}else g={eventTime:g,lane:d,tag:l.tag,payload:l.payload,callback:l.callback,next:null},c===null?(u=c=g,a=f):c=c.next=g,s|=d;if(l=l.next,l===null){if(l=i.shared.pending,l===null)break;d=l,l=d.next,d.next=null,i.lastBaseUpdate=d,i.shared.pending=null}}while(!0);if(c===null&&(a=f),i.baseState=a,i.firstBaseUpdate=u,i.lastBaseUpdate=c,t=i.shared.interleaved,t!==null){i=t;do s|=i.lane,i=i.next;while(i!==t)}else o===null&&(i.shared.lanes=0);fn|=s,e.lanes=s,e.memoizedState=f}}function yc(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;t<e.length;t++){var r=e[t],i=r.callback;if(i!==null){if(r.callback=null,r=n,typeof i!="function")throw Error(C(191,i));i.call(r)}}}var ii={},et=Wt(ii),$r=Wt(ii),Wr=Wt(ii);function nn(e){if(e===ii)throw Error(C(174));return e}function Aa(e,t){switch(z(Wr,t),z($r,e),z(et,ii),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Js(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=Js(t,e)}U(et),z(et,t)}function Gn(){U(et),U($r),U(Wr)}function Nh(e){nn(Wr.current);var t=nn(et.current),n=Js(t,e.type);t!==n&&(z($r,e),z(et,n))}function Na(e){$r.current===e&&(U(et),U($r))}var W=Wt(0);function fo(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||n.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var xs=[];function La(){for(var e=0;e<xs.length;e++)xs[e]._workInProgressVersionPrimary=null;xs.length=0}var Bi=yt.ReactCurrentDispatcher,ws=yt.ReactCurrentBatchConfig,cn=0,K=null,ee=null,ie=null,ho=!1,Cr=!1,Hr=0,cv=0;function ce(){throw Error(C(321))}function ja(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!Xe(e[n],t[n]))return!1;return!0}function Da(e,t,n,r,i,o){if(cn=o,K=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,Bi.current=e===null||e.memoizedState===null?pv:mv,e=n(r,i),Cr){o=0;do{if(Cr=!1,Hr=0,25<=o)throw Error(C(301));o+=1,ie=ee=null,t.updateQueue=null,Bi.current=gv,e=n(r,i)}while(Cr)}if(Bi.current=po,t=ee!==null&&ee.next!==null,cn=0,ie=ee=K=null,ho=!1,t)throw Error(C(300));return e}function Va(){var e=Hr!==0;return Hr=0,e}function Ze(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return ie===null?K.memoizedState=ie=e:ie=ie.next=e,ie}function Ue(){if(ee===null){var e=K.alternate;e=e!==null?e.memoizedState:null}else e=ee.next;var t=ie===null?K.memoizedState:ie.next;if(t!==null)ie=t,ee=e;else{if(e===null)throw Error(C(310));ee=e,e={memoizedState:ee.memoizedState,baseState:ee.baseState,baseQueue:ee.baseQueue,queue:ee.queue,next:null},ie===null?K.memoizedState=ie=e:ie=ie.next=e}return ie}function Kr(e,t){return typeof t=="function"?t(e):t}function Ss(e){var t=Ue(),n=t.queue;if(n===null)throw Error(C(311));n.lastRenderedReducer=e;var r=ee,i=r.baseQueue,o=n.pending;if(o!==null){if(i!==null){var s=i.next;i.next=o.next,o.next=s}r.baseQueue=i=o,n.pending=null}if(i!==null){o=i.next,r=r.baseState;var l=s=null,a=null,u=o;do{var c=u.lane;if((cn&c)===c)a!==null&&(a=a.next={lane:0,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null}),r=u.hasEagerState?u.eagerState:e(r,u.action);else{var f={lane:c,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null};a===null?(l=a=f,s=r):a=a.next=f,K.lanes|=c,fn|=c}u=u.next}while(u!==null&&u!==o);a===null?s=r:a.next=l,Xe(r,t.memoizedState)||(Pe=!0),t.memoizedState=r,t.baseState=s,t.baseQueue=a,n.lastRenderedState=r}if(e=n.interleaved,e!==null){i=e;do o=i.lane,K.lanes|=o,fn|=o,i=i.next;while(i!==e)}else i===null&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function Ps(e){var t=Ue(),n=t.queue;if(n===null)throw Error(C(311));n.lastRenderedReducer=e;var r=n.dispatch,i=n.pending,o=t.memoizedState;if(i!==null){n.pending=null;var s=i=i.next;do o=e(o,s.action),s=s.next;while(s!==i);Xe(o,t.memoizedState)||(Pe=!0),t.memoizedState=o,t.baseQueue===null&&(t.baseState=o),n.lastRenderedState=o}return[o,r]}function Lh(){}function jh(e,t){var n=K,r=Ue(),i=t(),o=!Xe(r.memoizedState,i);if(o&&(r.memoizedState=i,Pe=!0),r=r.queue,_a(_h.bind(null,n,r,e),[e]),r.getSnapshot!==t||o||ie!==null&&ie.memoizedState.tag&1){if(n.flags|=2048,Gr(9,Vh.bind(null,n,r,i,t),void 0,null),oe===null)throw Error(C(349));cn&30||Dh(n,t,i)}return i}function Dh(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=K.updateQueue,t===null?(t={lastEffect:null,stores:null},K.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function Vh(e,t,n,r){t.value=n,t.getSnapshot=r,Oh(t)&&Fh(e)}function _h(e,t,n){return n(function(){Oh(t)&&Fh(e)})}function Oh(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!Xe(e,n)}catch{return!0}}function Fh(e){var t=mt(e,1);t!==null&&Qe(t,e,1,-1)}function vc(e){var t=Ze();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Kr,lastRenderedState:e},t.queue=e,e=e.dispatch=hv.bind(null,K,e),[t.memoizedState,e]}function Gr(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},t=K.updateQueue,t===null?(t={lastEffect:null,stores:null},K.updateQueue=t,t.lastEffect=e.next=e):(n=t.lastEffect,n===null?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e)),e}function Ih(){return Ue().memoizedState}function Ui(e,t,n,r){var i=Ze();K.flags|=e,i.memoizedState=Gr(1|t,n,void 0,r===void 0?null:r)}function Fo(e,t,n,r){var i=Ue();r=r===void 0?null:r;var o=void 0;if(ee!==null){var s=ee.memoizedState;if(o=s.destroy,r!==null&&ja(r,s.deps)){i.memoizedState=Gr(t,n,o,r);return}}K.flags|=e,i.memoizedState=Gr(1|t,n,o,r)}function xc(e,t){return Ui(8390656,8,e,t)}function _a(e,t){return Fo(2048,8,e,t)}function zh(e,t){return Fo(4,2,e,t)}function Bh(e,t){return Fo(4,4,e,t)}function Uh(e,t){if(typeof t=="function")return e=e(),t(e),function(){t(null)};if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function $h(e,t,n){return n=n!=null?n.concat([e]):null,Fo(4,4,Uh.bind(null,t,e),n)}function Oa(){}function Wh(e,t){var n=Ue();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&ja(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Hh(e,t){var n=Ue();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&ja(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function Kh(e,t,n){return cn&21?(Xe(n,t)||(n=Zd(),K.lanes|=n,fn|=n,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,Pe=!0),e.memoizedState=n)}function fv(e,t){var n=F;F=n!==0&&4>n?n:4,e(!0);var r=ws.transition;ws.transition={};try{e(!1),t()}finally{F=n,ws.transition=r}}function Gh(){return Ue().memoizedState}function dv(e,t,n){var r=Vt(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},Qh(e))Xh(t,n);else if(n=Mh(e,t,n,r),n!==null){var i=ve();Qe(n,e,r,i),Yh(n,t,r)}}function hv(e,t,n){var r=Vt(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(Qh(e))Xh(t,i);else{var o=e.alternate;if(e.lanes===0&&(o===null||o.lanes===0)&&(o=t.lastRenderedReducer,o!==null))try{var s=t.lastRenderedState,l=o(s,n);if(i.hasEagerState=!0,i.eagerState=l,Xe(l,s)){var a=t.interleaved;a===null?(i.next=i,Ra(t)):(i.next=a.next,a.next=i),t.interleaved=i;return}}catch{}finally{}n=Mh(e,t,i,r),n!==null&&(i=ve(),Qe(n,e,r,i),Yh(n,t,r))}}function Qh(e){var t=e.alternate;return e===K||t!==null&&t===K}function Xh(e,t){Cr=ho=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Yh(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,ha(e,n)}}var po={readContext:Be,useCallback:ce,useContext:ce,useEffect:ce,useImperativeHandle:ce,useInsertionEffect:ce,useLayoutEffect:ce,useMemo:ce,useReducer:ce,useRef:ce,useState:ce,useDebugValue:ce,useDeferredValue:ce,useTransition:ce,useMutableSource:ce,useSyncExternalStore:ce,useId:ce,unstable_isNewReconciler:!1},pv={readContext:Be,useCallback:function(e,t){return Ze().memoizedState=[e,t===void 0?null:t],e},useContext:Be,useEffect:xc,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,Ui(4194308,4,Uh.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Ui(4194308,4,e,t)},useInsertionEffect:function(e,t){return Ui(4,2,e,t)},useMemo:function(e,t){var n=Ze();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Ze();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=dv.bind(null,K,e),[r.memoizedState,e]},useRef:function(e){var t=Ze();return e={current:e},t.memoizedState=e},useState:vc,useDebugValue:Oa,useDeferredValue:function(e){return Ze().memoizedState=e},useTransition:function(){var e=vc(!1),t=e[0];return e=fv.bind(null,e[1]),Ze().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=K,i=Ze();if($){if(n===void 0)throw Error(C(407));n=n()}else{if(n=t(),oe===null)throw Error(C(349));cn&30||Dh(r,t,n)}i.memoizedState=n;var o={value:n,getSnapshot:t};return i.queue=o,xc(_h.bind(null,r,o,e),[e]),r.flags|=2048,Gr(9,Vh.bind(null,r,o,n,t),void 0,null),n},useId:function(){var e=Ze(),t=oe.identifierPrefix;if($){var n=st,r=ot;n=(r&~(1<<32-Ge(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=Hr++,0<n&&(t+="H"+n.toString(32)),t+=":"}else n=cv++,t=":"+t+"r"+n.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},mv={readContext:Be,useCallback:Wh,useContext:Be,useEffect:_a,useImperativeHandle:$h,useInsertionEffect:zh,useLayoutEffect:Bh,useMemo:Hh,useReducer:Ss,useRef:Ih,useState:function(){return Ss(Kr)},useDebugValue:Oa,useDeferredValue:function(e){var t=Ue();return Kh(t,ee.memoizedState,e)},useTransition:function(){var e=Ss(Kr)[0],t=Ue().memoizedState;return[e,t]},useMutableSource:Lh,useSyncExternalStore:jh,useId:Gh,unstable_isNewReconciler:!1},gv={readContext:Be,useCallback:Wh,useContext:Be,useEffect:_a,useImperativeHandle:$h,useInsertionEffect:zh,useLayoutEffect:Bh,useMemo:Hh,useReducer:Ps,useRef:Ih,useState:function(){return Ps(Kr)},useDebugValue:Oa,useDeferredValue:function(e){var t=Ue();return ee===null?t.memoizedState=e:Kh(t,ee.memoizedState,e)},useTransition:function(){var e=Ps(Kr)[0],t=Ue().memoizedState;return[e,t]},useMutableSource:Lh,useSyncExternalStore:jh,useId:Gh,unstable_isNewReconciler:!1};function We(e,t){if(e&&e.defaultProps){t=G({},t),e=e.defaultProps;for(var n in e)t[n]===void 0&&(t[n]=e[n]);return t}return t}function xl(e,t,n,r){t=e.memoizedState,n=n(r,t),n=n==null?t:G({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var Io={isMounted:function(e){return(e=e._reactInternals)?pn(e)===e:!1},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=ve(),i=Vt(e),o=at(r,i);o.payload=t,n!=null&&(o.callback=n),t=jt(e,o,i),t!==null&&(Qe(t,e,i,r),zi(t,e,i))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=ve(),i=Vt(e),o=at(r,i);o.tag=1,o.payload=t,n!=null&&(o.callback=n),t=jt(e,o,i),t!==null&&(Qe(t,e,i,r),zi(t,e,i))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=ve(),r=Vt(e),i=at(n,r);i.tag=2,t!=null&&(i.callback=t),t=jt(e,i,r),t!==null&&(Qe(t,e,r,n),zi(t,e,r))}};function wc(e,t,n,r,i,o,s){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(r,o,s):t.prototype&&t.prototype.isPureReactComponent?!Ir(n,r)||!Ir(i,o):!0}function Zh(e,t,n){var r=!1,i=It,o=t.contextType;return typeof o=="object"&&o!==null?o=Be(o):(i=Ce(t)?an:ge.current,r=t.contextTypes,o=(r=r!=null)?Wn(e,i):It),t=new t(n,o),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=Io,e.stateNode=t,t._reactInternals=e,r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=i,e.__reactInternalMemoizedMaskedChildContext=o),t}function Sc(e,t,n,r){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(n,r),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&Io.enqueueReplaceState(t,t.state,null)}function wl(e,t,n,r){var i=e.stateNode;i.props=n,i.state=e.memoizedState,i.refs={},Ma(e);var o=t.contextType;typeof o=="object"&&o!==null?i.context=Be(o):(o=Ce(t)?an:ge.current,i.context=Wn(e,o)),i.state=e.memoizedState,o=t.getDerivedStateFromProps,typeof o=="function"&&(xl(e,t,o,n),i.state=e.memoizedState),typeof t.getDerivedStateFromProps=="function"||typeof i.getSnapshotBeforeUpdate=="function"||typeof i.UNSAFE_componentWillMount!="function"&&typeof i.componentWillMount!="function"||(t=i.state,typeof i.componentWillMount=="function"&&i.componentWillMount(),typeof i.UNSAFE_componentWillMount=="function"&&i.UNSAFE_componentWillMount(),t!==i.state&&Io.enqueueReplaceState(i,i.state,null),co(e,n,i,r),i.state=e.memoizedState),typeof i.componentDidMount=="function"&&(e.flags|=4194308)}function Qn(e,t){try{var n="",r=t;do n+=Hg(r),r=r.return;while(r);var i=n}catch(o){i=`
+Error generating stack: `+o.message+`
+`+o.stack}return{value:e,source:t,stack:i,digest:null}}function ks(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function Sl(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var yv=typeof WeakMap=="function"?WeakMap:Map;function qh(e,t,n){n=at(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){go||(go=!0,Ll=r),Sl(e,t)},n}function Jh(e,t,n){n=at(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var i=t.value;n.payload=function(){return r(i)},n.callback=function(){Sl(e,t)}}var o=e.stateNode;return o!==null&&typeof o.componentDidCatch=="function"&&(n.callback=function(){Sl(e,t),typeof r!="function"&&(Dt===null?Dt=new Set([this]):Dt.add(this));var s=t.stack;this.componentDidCatch(t.value,{componentStack:s!==null?s:""})}),n}function Pc(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new yv;var i=new Set;r.set(t,i)}else i=r.get(t),i===void 0&&(i=new Set,r.set(t,i));i.has(n)||(i.add(n),e=Lv.bind(null,e,t,n),t.then(e,e))}function kc(e){do{var t;if((t=e.tag===13)&&(t=e.memoizedState,t=t!==null?t.dehydrated!==null:!0),t)return e;e=e.return}while(e!==null);return null}function Cc(e,t,n,r,i){return e.mode&1?(e.flags|=65536,e.lanes=i,e):(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,n.tag===1&&(n.alternate===null?n.tag=17:(t=at(-1,1),t.tag=2,jt(n,t,1))),n.lanes|=1),e)}var vv=yt.ReactCurrentOwner,Pe=!1;function ye(e,t,n,r){t.child=e===null?Rh(t,null,n,r):Kn(t,e.child,n,r)}function Tc(e,t,n,r,i){n=n.render;var o=t.ref;return Bn(t,i),r=Da(e,t,n,r,o,i),n=Va(),e!==null&&!Pe?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,gt(e,t,i)):($&&n&&Sa(t),t.flags|=1,ye(e,t,r,i),t.child)}function Ec(e,t,n,r,i){if(e===null){var o=n.type;return typeof o=="function"&&!Ha(o)&&o.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=o,bh(e,t,o,r,i)):(e=Ki(n.type,null,r,t,t.mode,i),e.ref=t.ref,e.return=t,t.child=e)}if(o=e.child,!(e.lanes&i)){var s=o.memoizedProps;if(n=n.compare,n=n!==null?n:Ir,n(s,r)&&e.ref===t.ref)return gt(e,t,i)}return t.flags|=1,e=_t(o,r),e.ref=t.ref,e.return=t,t.child=e}function bh(e,t,n,r,i){if(e!==null){var o=e.memoizedProps;if(Ir(o,r)&&e.ref===t.ref)if(Pe=!1,t.pendingProps=r=o,(e.lanes&i)!==0)e.flags&131072&&(Pe=!0);else return t.lanes=e.lanes,gt(e,t,i)}return Pl(e,t,n,r,i)}function ep(e,t,n){var r=t.pendingProps,i=r.children,o=e!==null?e.memoizedState:null;if(r.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},z(Nn,Re),Re|=n;else{if(!(n&1073741824))return e=o!==null?o.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,z(Nn,Re),Re|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=o!==null?o.baseLanes:n,z(Nn,Re),Re|=r}else o!==null?(r=o.baseLanes|n,t.memoizedState=null):r=n,z(Nn,Re),Re|=r;return ye(e,t,i,n),t.child}function tp(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function Pl(e,t,n,r,i){var o=Ce(n)?an:ge.current;return o=Wn(t,o),Bn(t,i),n=Da(e,t,n,r,o,i),r=Va(),e!==null&&!Pe?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,gt(e,t,i)):($&&r&&Sa(t),t.flags|=1,ye(e,t,n,i),t.child)}function Rc(e,t,n,r,i){if(Ce(n)){var o=!0;oo(t)}else o=!1;if(Bn(t,i),t.stateNode===null)$i(e,t),Zh(t,n,r),wl(t,n,r,i),r=!0;else if(e===null){var s=t.stateNode,l=t.memoizedProps;s.props=l;var a=s.context,u=n.contextType;typeof u=="object"&&u!==null?u=Be(u):(u=Ce(n)?an:ge.current,u=Wn(t,u));var c=n.getDerivedStateFromProps,f=typeof c=="function"||typeof s.getSnapshotBeforeUpdate=="function";f||typeof s.UNSAFE_componentWillReceiveProps!="function"&&typeof s.componentWillReceiveProps!="function"||(l!==r||a!==u)&&Sc(t,s,r,u),Pt=!1;var d=t.memoizedState;s.state=d,co(t,r,s,i),a=t.memoizedState,l!==r||d!==a||ke.current||Pt?(typeof c=="function"&&(xl(t,n,c,r),a=t.memoizedState),(l=Pt||wc(t,n,l,r,d,a,u))?(f||typeof s.UNSAFE_componentWillMount!="function"&&typeof s.componentWillMount!="function"||(typeof s.componentWillMount=="function"&&s.componentWillMount(),typeof s.UNSAFE_componentWillMount=="function"&&s.UNSAFE_componentWillMount()),typeof s.componentDidMount=="function"&&(t.flags|=4194308)):(typeof s.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=a),s.props=r,s.state=a,s.context=u,r=l):(typeof s.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{s=t.stateNode,Ah(e,t),l=t.memoizedProps,u=t.type===t.elementType?l:We(t.type,l),s.props=u,f=t.pendingProps,d=s.context,a=n.contextType,typeof a=="object"&&a!==null?a=Be(a):(a=Ce(n)?an:ge.current,a=Wn(t,a));var g=n.getDerivedStateFromProps;(c=typeof g=="function"||typeof s.getSnapshotBeforeUpdate=="function")||typeof s.UNSAFE_componentWillReceiveProps!="function"&&typeof s.componentWillReceiveProps!="function"||(l!==f||d!==a)&&Sc(t,s,r,a),Pt=!1,d=t.memoizedState,s.state=d,co(t,r,s,i);var y=t.memoizedState;l!==f||d!==y||ke.current||Pt?(typeof g=="function"&&(xl(t,n,g,r),y=t.memoizedState),(u=Pt||wc(t,n,u,r,d,y,a)||!1)?(c||typeof s.UNSAFE_componentWillUpdate!="function"&&typeof s.componentWillUpdate!="function"||(typeof s.componentWillUpdate=="function"&&s.componentWillUpdate(r,y,a),typeof s.UNSAFE_componentWillUpdate=="function"&&s.UNSAFE_componentWillUpdate(r,y,a)),typeof s.componentDidUpdate=="function"&&(t.flags|=4),typeof s.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof s.componentDidUpdate!="function"||l===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),typeof s.getSnapshotBeforeUpdate!="function"||l===e.memoizedProps&&d===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=y),s.props=r,s.state=y,s.context=a,r=u):(typeof s.componentDidUpdate!="function"||l===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),typeof s.getSnapshotBeforeUpdate!="function"||l===e.memoizedProps&&d===e.memoizedState||(t.flags|=1024),r=!1)}return kl(e,t,n,r,o,i)}function kl(e,t,n,r,i,o){tp(e,t);var s=(t.flags&128)!==0;if(!r&&!s)return i&&dc(t,n,!1),gt(e,t,o);r=t.stateNode,vv.current=t;var l=s&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&s?(t.child=Kn(t,e.child,null,o),t.child=Kn(t,null,l,o)):ye(e,t,l,o),t.memoizedState=r.state,i&&dc(t,n,!0),t.child}function np(e){var t=e.stateNode;t.pendingContext?fc(e,t.pendingContext,t.pendingContext!==t.context):t.context&&fc(e,t.context,!1),Aa(e,t.containerInfo)}function Mc(e,t,n,r,i){return Hn(),ka(i),t.flags|=256,ye(e,t,n,r),t.child}var Cl={dehydrated:null,treeContext:null,retryLane:0};function Tl(e){return{baseLanes:e,cachePool:null,transitions:null}}function rp(e,t,n){var r=t.pendingProps,i=W.current,o=!1,s=(t.flags&128)!==0,l;if((l=s)||(l=e!==null&&e.memoizedState===null?!1:(i&2)!==0),l?(o=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(i|=1),z(W,i&1),e===null)return yl(t),e=t.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?(t.mode&1?e.data==="$!"?t.lanes=8:t.lanes=1073741824:t.lanes=1,null):(s=r.children,e=r.fallback,o?(r=t.mode,o=t.child,s={mode:"hidden",children:s},!(r&1)&&o!==null?(o.childLanes=0,o.pendingProps=s):o=Uo(s,r,0,null),e=sn(e,r,n,null),o.return=t,e.return=t,o.sibling=e,t.child=o,t.child.memoizedState=Tl(n),t.memoizedState=Cl,e):Fa(t,s));if(i=e.memoizedState,i!==null&&(l=i.dehydrated,l!==null))return xv(e,t,s,r,l,i,n);if(o){o=r.fallback,s=t.mode,i=e.child,l=i.sibling;var a={mode:"hidden",children:r.children};return!(s&1)&&t.child!==i?(r=t.child,r.childLanes=0,r.pendingProps=a,t.deletions=null):(r=_t(i,a),r.subtreeFlags=i.subtreeFlags&14680064),l!==null?o=_t(l,o):(o=sn(o,s,n,null),o.flags|=2),o.return=t,r.return=t,r.sibling=o,t.child=r,r=o,o=t.child,s=e.child.memoizedState,s=s===null?Tl(n):{baseLanes:s.baseLanes|n,cachePool:null,transitions:s.transitions},o.memoizedState=s,o.childLanes=e.childLanes&~n,t.memoizedState=Cl,r}return o=e.child,e=o.sibling,r=_t(o,{mode:"visible",children:r.children}),!(t.mode&1)&&(r.lanes=n),r.return=t,r.sibling=null,e!==null&&(n=t.deletions,n===null?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=r,t.memoizedState=null,r}function Fa(e,t){return t=Uo({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function Ei(e,t,n,r){return r!==null&&ka(r),Kn(t,e.child,null,n),e=Fa(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function xv(e,t,n,r,i,o,s){if(n)return t.flags&256?(t.flags&=-257,r=ks(Error(C(422))),Ei(e,t,s,r)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(o=r.fallback,i=t.mode,r=Uo({mode:"visible",children:r.children},i,0,null),o=sn(o,i,s,null),o.flags|=2,r.return=t,o.return=t,r.sibling=o,t.child=r,t.mode&1&&Kn(t,e.child,null,s),t.child.memoizedState=Tl(s),t.memoizedState=Cl,o);if(!(t.mode&1))return Ei(e,t,s,null);if(i.data==="$!"){if(r=i.nextSibling&&i.nextSibling.dataset,r)var l=r.dgst;return r=l,o=Error(C(419)),r=ks(o,r,void 0),Ei(e,t,s,r)}if(l=(s&e.childLanes)!==0,Pe||l){if(r=oe,r!==null){switch(s&-s){case 4:i=2;break;case 16:i=8;break;case 64: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:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:i=32;break;case 536870912:i=268435456;break;default:i=0}i=i&(r.suspendedLanes|s)?0:i,i!==0&&i!==o.retryLane&&(o.retryLane=i,mt(e,i),Qe(r,e,i,-1))}return Wa(),r=ks(Error(C(421))),Ei(e,t,s,r)}return i.data==="$?"?(t.flags|=128,t.child=e.child,t=jv.bind(null,e),i._reactRetry=t,null):(e=o.treeContext,Me=Lt(i.nextSibling),Ae=t,$=!0,Ke=null,e!==null&&(Oe[Fe++]=ot,Oe[Fe++]=st,Oe[Fe++]=un,ot=e.id,st=e.overflow,un=t),t=Fa(t,r.children),t.flags|=4096,t)}function Ac(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),vl(e.return,t,n)}function Cs(e,t,n,r,i){var o=e.memoizedState;o===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:i}:(o.isBackwards=t,o.rendering=null,o.renderingStartTime=0,o.last=r,o.tail=n,o.tailMode=i)}function ip(e,t,n){var r=t.pendingProps,i=r.revealOrder,o=r.tail;if(ye(e,t,r.children,n),r=W.current,r&2)r=r&1|2,t.flags|=128;else{if(e!==null&&e.flags&128)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&Ac(e,n,t);else if(e.tag===19)Ac(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(z(W,r),!(t.mode&1))t.memoizedState=null;else switch(i){case"forwards":for(n=t.child,i=null;n!==null;)e=n.alternate,e!==null&&fo(e)===null&&(i=n),n=n.sibling;n=i,n===null?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),Cs(t,!1,i,n,o);break;case"backwards":for(n=null,i=t.child,t.child=null;i!==null;){if(e=i.alternate,e!==null&&fo(e)===null){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}Cs(t,!0,n,null,o);break;case"together":Cs(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function $i(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function gt(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),fn|=t.lanes,!(n&t.childLanes))return null;if(e!==null&&t.child!==e.child)throw Error(C(153));if(t.child!==null){for(e=t.child,n=_t(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=_t(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function wv(e,t,n){switch(t.tag){case 3:np(t),Hn();break;case 5:Nh(t);break;case 1:Ce(t.type)&&oo(t);break;case 4:Aa(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,i=t.memoizedProps.value;z(ao,r._currentValue),r._currentValue=i;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(z(W,W.current&1),t.flags|=128,null):n&t.child.childLanes?rp(e,t,n):(z(W,W.current&1),e=gt(e,t,n),e!==null?e.sibling:null);z(W,W.current&1);break;case 19:if(r=(n&t.childLanes)!==0,e.flags&128){if(r)return ip(e,t,n);t.flags|=128}if(i=t.memoizedState,i!==null&&(i.rendering=null,i.tail=null,i.lastEffect=null),z(W,W.current),r)break;return null;case 22:case 23:return t.lanes=0,ep(e,t,n)}return gt(e,t,n)}var op,El,sp,lp;op=function(e,t){for(var n=t.child;n!==null;){if(n.tag===5||n.tag===6)e.appendChild(n.stateNode);else if(n.tag!==4&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===t)break;for(;n.sibling===null;){if(n.return===null||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}};El=function(){};sp=function(e,t,n,r){var i=e.memoizedProps;if(i!==r){e=t.stateNode,nn(et.current);var o=null;switch(n){case"input":i=Xs(e,i),r=Xs(e,r),o=[];break;case"select":i=G({},i,{value:void 0}),r=G({},r,{value:void 0}),o=[];break;case"textarea":i=qs(e,i),r=qs(e,r),o=[];break;default:typeof i.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=ro)}bs(n,r);var s;n=null;for(u in i)if(!r.hasOwnProperty(u)&&i.hasOwnProperty(u)&&i[u]!=null)if(u==="style"){var l=i[u];for(s in l)l.hasOwnProperty(s)&&(n||(n={}),n[s]="")}else u!=="dangerouslySetInnerHTML"&&u!=="children"&&u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&u!=="autoFocus"&&(Lr.hasOwnProperty(u)?o||(o=[]):(o=o||[]).push(u,null));for(u in r){var a=r[u];if(l=i!=null?i[u]:void 0,r.hasOwnProperty(u)&&a!==l&&(a!=null||l!=null))if(u==="style")if(l){for(s in l)!l.hasOwnProperty(s)||a&&a.hasOwnProperty(s)||(n||(n={}),n[s]="");for(s in a)a.hasOwnProperty(s)&&l[s]!==a[s]&&(n||(n={}),n[s]=a[s])}else n||(o||(o=[]),o.push(u,n)),n=a;else u==="dangerouslySetInnerHTML"?(a=a?a.__html:void 0,l=l?l.__html:void 0,a!=null&&l!==a&&(o=o||[]).push(u,a)):u==="children"?typeof a!="string"&&typeof a!="number"||(o=o||[]).push(u,""+a):u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&(Lr.hasOwnProperty(u)?(a!=null&&u==="onScroll"&&B("scroll",e),o||l===a||(o=[])):(o=o||[]).push(u,a))}n&&(o=o||[]).push("style",n);var u=o;(t.updateQueue=u)&&(t.flags|=4)}};lp=function(e,t,n,r){n!==r&&(t.flags|=4)};function cr(e,t){if(!$)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;n!==null;)n.alternate!==null&&(r=n),n=n.sibling;r===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null}}function fe(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)for(var i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags&14680064,r|=i.flags&14680064,i.return=e,i=i.sibling;else for(i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags,r|=i.flags,i.return=e,i=i.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function Sv(e,t,n){var r=t.pendingProps;switch(Pa(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return fe(t),null;case 1:return Ce(t.type)&&io(),fe(t),null;case 3:return r=t.stateNode,Gn(),U(ke),U(ge),La(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(Ci(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,Ke!==null&&(Vl(Ke),Ke=null))),El(e,t),fe(t),null;case 5:Na(t);var i=nn(Wr.current);if(n=t.type,e!==null&&t.stateNode!=null)sp(e,t,n,r,i),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(t.stateNode===null)throw Error(C(166));return fe(t),null}if(e=nn(et.current),Ci(t)){r=t.stateNode,n=t.type;var o=t.memoizedProps;switch(r[qe]=t,r[Ur]=o,e=(t.mode&1)!==0,n){case"dialog":B("cancel",r),B("close",r);break;case"iframe":case"object":case"embed":B("load",r);break;case"video":case"audio":for(i=0;i<gr.length;i++)B(gr[i],r);break;case"source":B("error",r);break;case"img":case"image":case"link":B("error",r),B("load",r);break;case"details":B("toggle",r);break;case"input":Iu(r,o),B("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!o.multiple},B("invalid",r);break;case"textarea":Bu(r,o),B("invalid",r)}bs(n,o),i=null;for(var s in o)if(o.hasOwnProperty(s)){var l=o[s];s==="children"?typeof l=="string"?r.textContent!==l&&(o.suppressHydrationWarning!==!0&&ki(r.textContent,l,e),i=["children",l]):typeof l=="number"&&r.textContent!==""+l&&(o.suppressHydrationWarning!==!0&&ki(r.textContent,l,e),i=["children",""+l]):Lr.hasOwnProperty(s)&&l!=null&&s==="onScroll"&&B("scroll",r)}switch(n){case"input":mi(r),zu(r,o,!0);break;case"textarea":mi(r),Uu(r);break;case"select":case"option":break;default:typeof o.onClick=="function"&&(r.onclick=ro)}r=i,t.updateQueue=r,r!==null&&(t.flags|=4)}else{s=i.nodeType===9?i:i.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=_d(n)),e==="http://www.w3.org/1999/xhtml"?n==="script"?(e=s.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=s.createElement(n,{is:r.is}):(e=s.createElement(n),n==="select"&&(s=e,r.multiple?s.multiple=!0:r.size&&(s.size=r.size))):e=s.createElementNS(e,n),e[qe]=t,e[Ur]=r,op(e,t,!1,!1),t.stateNode=e;e:{switch(s=el(n,r),n){case"dialog":B("cancel",e),B("close",e),i=r;break;case"iframe":case"object":case"embed":B("load",e),i=r;break;case"video":case"audio":for(i=0;i<gr.length;i++)B(gr[i],e);i=r;break;case"source":B("error",e),i=r;break;case"img":case"image":case"link":B("error",e),B("load",e),i=r;break;case"details":B("toggle",e),i=r;break;case"input":Iu(e,r),i=Xs(e,r),B("invalid",e);break;case"option":i=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},i=G({},r,{value:void 0}),B("invalid",e);break;case"textarea":Bu(e,r),i=qs(e,r),B("invalid",e);break;default:i=r}bs(n,i),l=i;for(o in l)if(l.hasOwnProperty(o)){var a=l[o];o==="style"?Id(e,a):o==="dangerouslySetInnerHTML"?(a=a?a.__html:void 0,a!=null&&Od(e,a)):o==="children"?typeof a=="string"?(n!=="textarea"||a!=="")&&jr(e,a):typeof a=="number"&&jr(e,""+a):o!=="suppressContentEditableWarning"&&o!=="suppressHydrationWarning"&&o!=="autoFocus"&&(Lr.hasOwnProperty(o)?a!=null&&o==="onScroll"&&B("scroll",e):a!=null&&la(e,o,a,s))}switch(n){case"input":mi(e),zu(e,r,!1);break;case"textarea":mi(e),Uu(e);break;case"option":r.value!=null&&e.setAttribute("value",""+Ft(r.value));break;case"select":e.multiple=!!r.multiple,o=r.value,o!=null?On(e,!!r.multiple,o,!1):r.defaultValue!=null&&On(e,!!r.multiple,r.defaultValue,!0);break;default:typeof i.onClick=="function"&&(e.onclick=ro)}switch(n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(t.flags|=4)}t.ref!==null&&(t.flags|=512,t.flags|=2097152)}return fe(t),null;case 6:if(e&&t.stateNode!=null)lp(e,t,e.memoizedProps,r);else{if(typeof r!="string"&&t.stateNode===null)throw Error(C(166));if(n=nn(Wr.current),nn(et.current),Ci(t)){if(r=t.stateNode,n=t.memoizedProps,r[qe]=t,(o=r.nodeValue!==n)&&(e=Ae,e!==null))switch(e.tag){case 3:ki(r.nodeValue,n,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&ki(r.nodeValue,n,(e.mode&1)!==0)}o&&(t.flags|=4)}else r=(n.nodeType===9?n:n.ownerDocument).createTextNode(r),r[qe]=t,t.stateNode=r}return fe(t),null;case 13:if(U(W),r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if($&&Me!==null&&t.mode&1&&!(t.flags&128))Th(),Hn(),t.flags|=98560,o=!1;else if(o=Ci(t),r!==null&&r.dehydrated!==null){if(e===null){if(!o)throw Error(C(318));if(o=t.memoizedState,o=o!==null?o.dehydrated:null,!o)throw Error(C(317));o[qe]=t}else Hn(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;fe(t),o=!1}else Ke!==null&&(Vl(Ke),Ke=null),o=!0;if(!o)return t.flags&65536?t:null}return t.flags&128?(t.lanes=n,t):(r=r!==null,r!==(e!==null&&e.memoizedState!==null)&&r&&(t.child.flags|=8192,t.mode&1&&(e===null||W.current&1?te===0&&(te=3):Wa())),t.updateQueue!==null&&(t.flags|=4),fe(t),null);case 4:return Gn(),El(e,t),e===null&&zr(t.stateNode.containerInfo),fe(t),null;case 10:return Ea(t.type._context),fe(t),null;case 17:return Ce(t.type)&&io(),fe(t),null;case 19:if(U(W),o=t.memoizedState,o===null)return fe(t),null;if(r=(t.flags&128)!==0,s=o.rendering,s===null)if(r)cr(o,!1);else{if(te!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(s=fo(e),s!==null){for(t.flags|=128,cr(o,!1),r=s.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;n!==null;)o=n,e=r,o.flags&=14680066,s=o.alternate,s===null?(o.childLanes=0,o.lanes=e,o.child=null,o.subtreeFlags=0,o.memoizedProps=null,o.memoizedState=null,o.updateQueue=null,o.dependencies=null,o.stateNode=null):(o.childLanes=s.childLanes,o.lanes=s.lanes,o.child=s.child,o.subtreeFlags=0,o.deletions=null,o.memoizedProps=s.memoizedProps,o.memoizedState=s.memoizedState,o.updateQueue=s.updateQueue,o.type=s.type,e=s.dependencies,o.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return z(W,W.current&1|2),t.child}e=e.sibling}o.tail!==null&&Z()>Xn&&(t.flags|=128,r=!0,cr(o,!1),t.lanes=4194304)}else{if(!r)if(e=fo(s),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),cr(o,!0),o.tail===null&&o.tailMode==="hidden"&&!s.alternate&&!$)return fe(t),null}else 2*Z()-o.renderingStartTime>Xn&&n!==1073741824&&(t.flags|=128,r=!0,cr(o,!1),t.lanes=4194304);o.isBackwards?(s.sibling=t.child,t.child=s):(n=o.last,n!==null?n.sibling=s:t.child=s,o.last=s)}return o.tail!==null?(t=o.tail,o.rendering=t,o.tail=t.sibling,o.renderingStartTime=Z(),t.sibling=null,n=W.current,z(W,r?n&1|2:n&1),t):(fe(t),null);case 22:case 23:return $a(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?Re&1073741824&&(fe(t),t.subtreeFlags&6&&(t.flags|=8192)):fe(t),null;case 24:return null;case 25:return null}throw Error(C(156,t.tag))}function Pv(e,t){switch(Pa(t),t.tag){case 1:return Ce(t.type)&&io(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Gn(),U(ke),U(ge),La(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Na(t),null;case 13:if(U(W),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(C(340));Hn()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return U(W),null;case 4:return Gn(),null;case 10:return Ea(t.type._context),null;case 22:case 23:return $a(),null;case 24:return null;default:return null}}var Ri=!1,he=!1,kv=typeof WeakSet=="function"?WeakSet:Set,A=null;function An(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){Q(e,t,r)}else n.current=null}function Rl(e,t,n){try{n()}catch(r){Q(e,t,r)}}var Nc=!1;function Cv(e,t){if(cl=eo,e=dh(),wa(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var i=r.anchorOffset,o=r.focusNode;r=r.focusOffset;try{n.nodeType,o.nodeType}catch{n=null;break e}var s=0,l=-1,a=-1,u=0,c=0,f=e,d=null;t:for(;;){for(var g;f!==n||i!==0&&f.nodeType!==3||(l=s+i),f!==o||r!==0&&f.nodeType!==3||(a=s+r),f.nodeType===3&&(s+=f.nodeValue.length),(g=f.firstChild)!==null;)d=f,f=g;for(;;){if(f===e)break t;if(d===n&&++u===i&&(l=s),d===o&&++c===r&&(a=s),(g=f.nextSibling)!==null)break;f=d,d=f.parentNode}f=g}n=l===-1||a===-1?null:{start:l,end:a}}else n=null}n=n||{start:0,end:0}}else n=null;for(fl={focusedElem:e,selectionRange:n},eo=!1,A=t;A!==null;)if(t=A,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,A=e;else for(;A!==null;){t=A;try{var y=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(y!==null){var v=y.memoizedProps,P=y.memoizedState,p=t.stateNode,h=p.getSnapshotBeforeUpdate(t.elementType===t.type?v:We(t.type,v),P);p.__reactInternalSnapshotBeforeUpdate=h}break;case 3:var m=t.stateNode.containerInfo;m.nodeType===1?m.textContent="":m.nodeType===9&&m.documentElement&&m.removeChild(m.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(C(163))}}catch(x){Q(t,t.return,x)}if(e=t.sibling,e!==null){e.return=t.return,A=e;break}A=t.return}return y=Nc,Nc=!1,y}function Tr(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var i=r=r.next;do{if((i.tag&e)===e){var o=i.destroy;i.destroy=void 0,o!==void 0&&Rl(t,n,o)}i=i.next}while(i!==r)}}function zo(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function Ml(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function ap(e){var t=e.alternate;t!==null&&(e.alternate=null,ap(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[qe],delete t[Ur],delete t[pl],delete t[sv],delete t[lv])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function up(e){return e.tag===5||e.tag===3||e.tag===4}function Lc(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||up(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Al(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=ro));else if(r!==4&&(e=e.child,e!==null))for(Al(e,t,n),e=e.sibling;e!==null;)Al(e,t,n),e=e.sibling}function Nl(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(Nl(e,t,n),e=e.sibling;e!==null;)Nl(e,t,n),e=e.sibling}var se=null,He=!1;function xt(e,t,n){for(n=n.child;n!==null;)cp(e,t,n),n=n.sibling}function cp(e,t,n){if(be&&typeof be.onCommitFiberUnmount=="function")try{be.onCommitFiberUnmount(Lo,n)}catch{}switch(n.tag){case 5:he||An(n,t);case 6:var r=se,i=He;se=null,xt(e,t,n),se=r,He=i,se!==null&&(He?(e=se,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):se.removeChild(n.stateNode));break;case 18:se!==null&&(He?(e=se,n=n.stateNode,e.nodeType===8?ys(e.parentNode,n):e.nodeType===1&&ys(e,n),Or(e)):ys(se,n.stateNode));break;case 4:r=se,i=He,se=n.stateNode.containerInfo,He=!0,xt(e,t,n),se=r,He=i;break;case 0:case 11:case 14:case 15:if(!he&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){i=r=r.next;do{var o=i,s=o.destroy;o=o.tag,s!==void 0&&(o&2||o&4)&&Rl(n,t,s),i=i.next}while(i!==r)}xt(e,t,n);break;case 1:if(!he&&(An(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(l){Q(n,t,l)}xt(e,t,n);break;case 21:xt(e,t,n);break;case 22:n.mode&1?(he=(r=he)||n.memoizedState!==null,xt(e,t,n),he=r):xt(e,t,n);break;default:xt(e,t,n)}}function jc(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new kv),t.forEach(function(r){var i=Dv.bind(null,e,r);n.has(r)||(n.add(r),r.then(i,i))})}}function $e(e,t){var n=t.deletions;if(n!==null)for(var r=0;r<n.length;r++){var i=n[r];try{var o=e,s=t,l=s;e:for(;l!==null;){switch(l.tag){case 5:se=l.stateNode,He=!1;break e;case 3:se=l.stateNode.containerInfo,He=!0;break e;case 4:se=l.stateNode.containerInfo,He=!0;break e}l=l.return}if(se===null)throw Error(C(160));cp(o,s,i),se=null,He=!1;var a=i.alternate;a!==null&&(a.return=null),i.return=null}catch(u){Q(i,t,u)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)fp(t,e),t=t.sibling}function fp(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if($e(t,e),Ye(e),r&4){try{Tr(3,e,e.return),zo(3,e)}catch(v){Q(e,e.return,v)}try{Tr(5,e,e.return)}catch(v){Q(e,e.return,v)}}break;case 1:$e(t,e),Ye(e),r&512&&n!==null&&An(n,n.return);break;case 5:if($e(t,e),Ye(e),r&512&&n!==null&&An(n,n.return),e.flags&32){var i=e.stateNode;try{jr(i,"")}catch(v){Q(e,e.return,v)}}if(r&4&&(i=e.stateNode,i!=null)){var o=e.memoizedProps,s=n!==null?n.memoizedProps:o,l=e.type,a=e.updateQueue;if(e.updateQueue=null,a!==null)try{l==="input"&&o.type==="radio"&&o.name!=null&&Dd(i,o),el(l,s);var u=el(l,o);for(s=0;s<a.length;s+=2){var c=a[s],f=a[s+1];c==="style"?Id(i,f):c==="dangerouslySetInnerHTML"?Od(i,f):c==="children"?jr(i,f):la(i,c,f,u)}switch(l){case"input":Ys(i,o);break;case"textarea":Vd(i,o);break;case"select":var d=i._wrapperState.wasMultiple;i._wrapperState.wasMultiple=!!o.multiple;var g=o.value;g!=null?On(i,!!o.multiple,g,!1):d!==!!o.multiple&&(o.defaultValue!=null?On(i,!!o.multiple,o.defaultValue,!0):On(i,!!o.multiple,o.multiple?[]:"",!1))}i[Ur]=o}catch(v){Q(e,e.return,v)}}break;case 6:if($e(t,e),Ye(e),r&4){if(e.stateNode===null)throw Error(C(162));i=e.stateNode,o=e.memoizedProps;try{i.nodeValue=o}catch(v){Q(e,e.return,v)}}break;case 3:if($e(t,e),Ye(e),r&4&&n!==null&&n.memoizedState.isDehydrated)try{Or(t.containerInfo)}catch(v){Q(e,e.return,v)}break;case 4:$e(t,e),Ye(e);break;case 13:$e(t,e),Ye(e),i=e.child,i.flags&8192&&(o=i.memoizedState!==null,i.stateNode.isHidden=o,!o||i.alternate!==null&&i.alternate.memoizedState!==null||(Ba=Z())),r&4&&jc(e);break;case 22:if(c=n!==null&&n.memoizedState!==null,e.mode&1?(he=(u=he)||c,$e(t,e),he=u):$e(t,e),Ye(e),r&8192){if(u=e.memoizedState!==null,(e.stateNode.isHidden=u)&&!c&&e.mode&1)for(A=e,c=e.child;c!==null;){for(f=A=c;A!==null;){switch(d=A,g=d.child,d.tag){case 0:case 11:case 14:case 15:Tr(4,d,d.return);break;case 1:An(d,d.return);var y=d.stateNode;if(typeof y.componentWillUnmount=="function"){r=d,n=d.return;try{t=r,y.props=t.memoizedProps,y.state=t.memoizedState,y.componentWillUnmount()}catch(v){Q(r,n,v)}}break;case 5:An(d,d.return);break;case 22:if(d.memoizedState!==null){Vc(f);continue}}g!==null?(g.return=d,A=g):Vc(f)}c=c.sibling}e:for(c=null,f=e;;){if(f.tag===5){if(c===null){c=f;try{i=f.stateNode,u?(o=i.style,typeof o.setProperty=="function"?o.setProperty("display","none","important"):o.display="none"):(l=f.stateNode,a=f.memoizedProps.style,s=a!=null&&a.hasOwnProperty("display")?a.display:null,l.style.display=Fd("display",s))}catch(v){Q(e,e.return,v)}}}else if(f.tag===6){if(c===null)try{f.stateNode.nodeValue=u?"":f.memoizedProps}catch(v){Q(e,e.return,v)}}else if((f.tag!==22&&f.tag!==23||f.memoizedState===null||f===e)&&f.child!==null){f.child.return=f,f=f.child;continue}if(f===e)break e;for(;f.sibling===null;){if(f.return===null||f.return===e)break e;c===f&&(c=null),f=f.return}c===f&&(c=null),f.sibling.return=f.return,f=f.sibling}}break;case 19:$e(t,e),Ye(e),r&4&&jc(e);break;case 21:break;default:$e(t,e),Ye(e)}}function Ye(e){var t=e.flags;if(t&2){try{e:{for(var n=e.return;n!==null;){if(up(n)){var r=n;break e}n=n.return}throw Error(C(160))}switch(r.tag){case 5:var i=r.stateNode;r.flags&32&&(jr(i,""),r.flags&=-33);var o=Lc(e);Nl(e,o,i);break;case 3:case 4:var s=r.stateNode.containerInfo,l=Lc(e);Al(e,l,s);break;default:throw Error(C(161))}}catch(a){Q(e,e.return,a)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function Tv(e,t,n){A=e,dp(e)}function dp(e,t,n){for(var r=(e.mode&1)!==0;A!==null;){var i=A,o=i.child;if(i.tag===22&&r){var s=i.memoizedState!==null||Ri;if(!s){var l=i.alternate,a=l!==null&&l.memoizedState!==null||he;l=Ri;var u=he;if(Ri=s,(he=a)&&!u)for(A=i;A!==null;)s=A,a=s.child,s.tag===22&&s.memoizedState!==null?_c(i):a!==null?(a.return=s,A=a):_c(i);for(;o!==null;)A=o,dp(o),o=o.sibling;A=i,Ri=l,he=u}Dc(e)}else i.subtreeFlags&8772&&o!==null?(o.return=i,A=o):Dc(e)}}function Dc(e){for(;A!==null;){var t=A;if(t.flags&8772){var n=t.alternate;try{if(t.flags&8772)switch(t.tag){case 0:case 11:case 15:he||zo(5,t);break;case 1:var r=t.stateNode;if(t.flags&4&&!he)if(n===null)r.componentDidMount();else{var i=t.elementType===t.type?n.memoizedProps:We(t.type,n.memoizedProps);r.componentDidUpdate(i,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var o=t.updateQueue;o!==null&&yc(t,o,r);break;case 3:var s=t.updateQueue;if(s!==null){if(n=null,t.child!==null)switch(t.child.tag){case 5:n=t.child.stateNode;break;case 1:n=t.child.stateNode}yc(t,s,n)}break;case 5:var l=t.stateNode;if(n===null&&t.flags&4){n=l;var a=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":a.autoFocus&&n.focus();break;case"img":a.src&&(n.src=a.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(t.memoizedState===null){var u=t.alternate;if(u!==null){var c=u.memoizedState;if(c!==null){var f=c.dehydrated;f!==null&&Or(f)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(C(163))}he||t.flags&512&&Ml(t)}catch(d){Q(t,t.return,d)}}if(t===e){A=null;break}if(n=t.sibling,n!==null){n.return=t.return,A=n;break}A=t.return}}function Vc(e){for(;A!==null;){var t=A;if(t===e){A=null;break}var n=t.sibling;if(n!==null){n.return=t.return,A=n;break}A=t.return}}function _c(e){for(;A!==null;){var t=A;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{zo(4,t)}catch(a){Q(t,n,a)}break;case 1:var r=t.stateNode;if(typeof r.componentDidMount=="function"){var i=t.return;try{r.componentDidMount()}catch(a){Q(t,i,a)}}var o=t.return;try{Ml(t)}catch(a){Q(t,o,a)}break;case 5:var s=t.return;try{Ml(t)}catch(a){Q(t,s,a)}}}catch(a){Q(t,t.return,a)}if(t===e){A=null;break}var l=t.sibling;if(l!==null){l.return=t.return,A=l;break}A=t.return}}var Ev=Math.ceil,mo=yt.ReactCurrentDispatcher,Ia=yt.ReactCurrentOwner,ze=yt.ReactCurrentBatchConfig,O=0,oe=null,q=null,ae=0,Re=0,Nn=Wt(0),te=0,Qr=null,fn=0,Bo=0,za=0,Er=null,Se=null,Ba=0,Xn=1/0,rt=null,go=!1,Ll=null,Dt=null,Mi=!1,Et=null,yo=0,Rr=0,jl=null,Wi=-1,Hi=0;function ve(){return O&6?Z():Wi!==-1?Wi:Wi=Z()}function Vt(e){return e.mode&1?O&2&&ae!==0?ae&-ae:uv.transition!==null?(Hi===0&&(Hi=Zd()),Hi):(e=F,e!==0||(e=window.event,e=e===void 0?16:rh(e.type)),e):1}function Qe(e,t,n,r){if(50<Rr)throw Rr=0,jl=null,Error(C(185));ti(e,n,r),(!(O&2)||e!==oe)&&(e===oe&&(!(O&2)&&(Bo|=n),te===4&&Ct(e,ae)),Te(e,r),n===1&&O===0&&!(t.mode&1)&&(Xn=Z()+500,Oo&&Ht()))}function Te(e,t){var n=e.callbackNode;uy(e,t);var r=bi(e,e===oe?ae:0);if(r===0)n!==null&&Hu(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(n!=null&&Hu(n),t===1)e.tag===0?av(Oc.bind(null,e)):Ph(Oc.bind(null,e)),iv(function(){!(O&6)&&Ht()}),n=null;else{switch(qd(r)){case 1:n=da;break;case 4:n=Xd;break;case 16:n=Ji;break;case 536870912:n=Yd;break;default:n=Ji}n=wp(n,hp.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function hp(e,t){if(Wi=-1,Hi=0,O&6)throw Error(C(327));var n=e.callbackNode;if(Un()&&e.callbackNode!==n)return null;var r=bi(e,e===oe?ae:0);if(r===0)return null;if(r&30||r&e.expiredLanes||t)t=vo(e,r);else{t=r;var i=O;O|=2;var o=mp();(oe!==e||ae!==t)&&(rt=null,Xn=Z()+500,on(e,t));do try{Av();break}catch(l){pp(e,l)}while(!0);Ta(),mo.current=o,O=i,q!==null?t=0:(oe=null,ae=0,t=te)}if(t!==0){if(t===2&&(i=ol(e),i!==0&&(r=i,t=Dl(e,i))),t===1)throw n=Qr,on(e,0),Ct(e,r),Te(e,Z()),n;if(t===6)Ct(e,r);else{if(i=e.current.alternate,!(r&30)&&!Rv(i)&&(t=vo(e,r),t===2&&(o=ol(e),o!==0&&(r=o,t=Dl(e,o))),t===1))throw n=Qr,on(e,0),Ct(e,r),Te(e,Z()),n;switch(e.finishedWork=i,e.finishedLanes=r,t){case 0:case 1:throw Error(C(345));case 2:qt(e,Se,rt);break;case 3:if(Ct(e,r),(r&130023424)===r&&(t=Ba+500-Z(),10<t)){if(bi(e,0)!==0)break;if(i=e.suspendedLanes,(i&r)!==r){ve(),e.pingedLanes|=e.suspendedLanes&i;break}e.timeoutHandle=hl(qt.bind(null,e,Se,rt),t);break}qt(e,Se,rt);break;case 4:if(Ct(e,r),(r&4194240)===r)break;for(t=e.eventTimes,i=-1;0<r;){var s=31-Ge(r);o=1<<s,s=t[s],s>i&&(i=s),r&=~o}if(r=i,r=Z()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*Ev(r/1960))-r,10<r){e.timeoutHandle=hl(qt.bind(null,e,Se,rt),r);break}qt(e,Se,rt);break;case 5:qt(e,Se,rt);break;default:throw Error(C(329))}}}return Te(e,Z()),e.callbackNode===n?hp.bind(null,e):null}function Dl(e,t){var n=Er;return e.current.memoizedState.isDehydrated&&(on(e,t).flags|=256),e=vo(e,t),e!==2&&(t=Se,Se=n,t!==null&&Vl(t)),e}function Vl(e){Se===null?Se=e:Se.push.apply(Se,e)}function Rv(e){for(var t=e;;){if(t.flags&16384){var n=t.updateQueue;if(n!==null&&(n=n.stores,n!==null))for(var r=0;r<n.length;r++){var i=n[r],o=i.getSnapshot;i=i.value;try{if(!Xe(o(),i))return!1}catch{return!1}}}if(n=t.child,t.subtreeFlags&16384&&n!==null)n.return=t,t=n;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function Ct(e,t){for(t&=~za,t&=~Bo,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-Ge(t),r=1<<n;e[n]=-1,t&=~r}}function Oc(e){if(O&6)throw Error(C(327));Un();var t=bi(e,0);if(!(t&1))return Te(e,Z()),null;var n=vo(e,t);if(e.tag!==0&&n===2){var r=ol(e);r!==0&&(t=r,n=Dl(e,r))}if(n===1)throw n=Qr,on(e,0),Ct(e,t),Te(e,Z()),n;if(n===6)throw Error(C(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,qt(e,Se,rt),Te(e,Z()),null}function Ua(e,t){var n=O;O|=1;try{return e(t)}finally{O=n,O===0&&(Xn=Z()+500,Oo&&Ht())}}function dn(e){Et!==null&&Et.tag===0&&!(O&6)&&Un();var t=O;O|=1;var n=ze.transition,r=F;try{if(ze.transition=null,F=1,e)return e()}finally{F=r,ze.transition=n,O=t,!(O&6)&&Ht()}}function $a(){Re=Nn.current,U(Nn)}function on(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(n!==-1&&(e.timeoutHandle=-1,rv(n)),q!==null)for(n=q.return;n!==null;){var r=n;switch(Pa(r),r.tag){case 1:r=r.type.childContextTypes,r!=null&&io();break;case 3:Gn(),U(ke),U(ge),La();break;case 5:Na(r);break;case 4:Gn();break;case 13:U(W);break;case 19:U(W);break;case 10:Ea(r.type._context);break;case 22:case 23:$a()}n=n.return}if(oe=e,q=e=_t(e.current,null),ae=Re=t,te=0,Qr=null,za=Bo=fn=0,Se=Er=null,tn!==null){for(t=0;t<tn.length;t++)if(n=tn[t],r=n.interleaved,r!==null){n.interleaved=null;var i=r.next,o=n.pending;if(o!==null){var s=o.next;o.next=i,r.next=s}n.pending=r}tn=null}return e}function pp(e,t){do{var n=q;try{if(Ta(),Bi.current=po,ho){for(var r=K.memoizedState;r!==null;){var i=r.queue;i!==null&&(i.pending=null),r=r.next}ho=!1}if(cn=0,ie=ee=K=null,Cr=!1,Hr=0,Ia.current=null,n===null||n.return===null){te=1,Qr=t,q=null;break}e:{var o=e,s=n.return,l=n,a=t;if(t=ae,l.flags|=32768,a!==null&&typeof a=="object"&&typeof a.then=="function"){var u=a,c=l,f=c.tag;if(!(c.mode&1)&&(f===0||f===11||f===15)){var d=c.alternate;d?(c.updateQueue=d.updateQueue,c.memoizedState=d.memoizedState,c.lanes=d.lanes):(c.updateQueue=null,c.memoizedState=null)}var g=kc(s);if(g!==null){g.flags&=-257,Cc(g,s,l,o,t),g.mode&1&&Pc(o,u,t),t=g,a=u;var y=t.updateQueue;if(y===null){var v=new Set;v.add(a),t.updateQueue=v}else y.add(a);break e}else{if(!(t&1)){Pc(o,u,t),Wa();break e}a=Error(C(426))}}else if($&&l.mode&1){var P=kc(s);if(P!==null){!(P.flags&65536)&&(P.flags|=256),Cc(P,s,l,o,t),ka(Qn(a,l));break e}}o=a=Qn(a,l),te!==4&&(te=2),Er===null?Er=[o]:Er.push(o),o=s;do{switch(o.tag){case 3:o.flags|=65536,t&=-t,o.lanes|=t;var p=qh(o,a,t);gc(o,p);break e;case 1:l=a;var h=o.type,m=o.stateNode;if(!(o.flags&128)&&(typeof h.getDerivedStateFromError=="function"||m!==null&&typeof m.componentDidCatch=="function"&&(Dt===null||!Dt.has(m)))){o.flags|=65536,t&=-t,o.lanes|=t;var x=Jh(o,l,t);gc(o,x);break e}}o=o.return}while(o!==null)}yp(n)}catch(k){t=k,q===n&&n!==null&&(q=n=n.return);continue}break}while(!0)}function mp(){var e=mo.current;return mo.current=po,e===null?po:e}function Wa(){(te===0||te===3||te===2)&&(te=4),oe===null||!(fn&268435455)&&!(Bo&268435455)||Ct(oe,ae)}function vo(e,t){var n=O;O|=2;var r=mp();(oe!==e||ae!==t)&&(rt=null,on(e,t));do try{Mv();break}catch(i){pp(e,i)}while(!0);if(Ta(),O=n,mo.current=r,q!==null)throw Error(C(261));return oe=null,ae=0,te}function Mv(){for(;q!==null;)gp(q)}function Av(){for(;q!==null&&!ey();)gp(q)}function gp(e){var t=xp(e.alternate,e,Re);e.memoizedProps=e.pendingProps,t===null?yp(e):q=t,Ia.current=null}function yp(e){var t=e;do{var n=t.alternate;if(e=t.return,t.flags&32768){if(n=Pv(n,t),n!==null){n.flags&=32767,q=n;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{te=6,q=null;return}}else if(n=Sv(n,t,Re),n!==null){q=n;return}if(t=t.sibling,t!==null){q=t;return}q=t=e}while(t!==null);te===0&&(te=5)}function qt(e,t,n){var r=F,i=ze.transition;try{ze.transition=null,F=1,Nv(e,t,n,r)}finally{ze.transition=i,F=r}return null}function Nv(e,t,n,r){do Un();while(Et!==null);if(O&6)throw Error(C(327));n=e.finishedWork;var i=e.finishedLanes;if(n===null)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(C(177));e.callbackNode=null,e.callbackPriority=0;var o=n.lanes|n.childLanes;if(cy(e,o),e===oe&&(q=oe=null,ae=0),!(n.subtreeFlags&2064)&&!(n.flags&2064)||Mi||(Mi=!0,wp(Ji,function(){return Un(),null})),o=(n.flags&15990)!==0,n.subtreeFlags&15990||o){o=ze.transition,ze.transition=null;var s=F;F=1;var l=O;O|=4,Ia.current=null,Cv(e,n),fp(n,e),Zy(fl),eo=!!cl,fl=cl=null,e.current=n,Tv(n),ty(),O=l,F=s,ze.transition=o}else e.current=n;if(Mi&&(Mi=!1,Et=e,yo=i),o=e.pendingLanes,o===0&&(Dt=null),iy(n.stateNode),Te(e,Z()),t!==null)for(r=e.onRecoverableError,n=0;n<t.length;n++)i=t[n],r(i.value,{componentStack:i.stack,digest:i.digest});if(go)throw go=!1,e=Ll,Ll=null,e;return yo&1&&e.tag!==0&&Un(),o=e.pendingLanes,o&1?e===jl?Rr++:(Rr=0,jl=e):Rr=0,Ht(),null}function Un(){if(Et!==null){var e=qd(yo),t=ze.transition,n=F;try{if(ze.transition=null,F=16>e?16:e,Et===null)var r=!1;else{if(e=Et,Et=null,yo=0,O&6)throw Error(C(331));var i=O;for(O|=4,A=e.current;A!==null;){var o=A,s=o.child;if(A.flags&16){var l=o.deletions;if(l!==null){for(var a=0;a<l.length;a++){var u=l[a];for(A=u;A!==null;){var c=A;switch(c.tag){case 0:case 11:case 15:Tr(8,c,o)}var f=c.child;if(f!==null)f.return=c,A=f;else for(;A!==null;){c=A;var d=c.sibling,g=c.return;if(ap(c),c===u){A=null;break}if(d!==null){d.return=g,A=d;break}A=g}}}var y=o.alternate;if(y!==null){var v=y.child;if(v!==null){y.child=null;do{var P=v.sibling;v.sibling=null,v=P}while(v!==null)}}A=o}}if(o.subtreeFlags&2064&&s!==null)s.return=o,A=s;else e:for(;A!==null;){if(o=A,o.flags&2048)switch(o.tag){case 0:case 11:case 15:Tr(9,o,o.return)}var p=o.sibling;if(p!==null){p.return=o.return,A=p;break e}A=o.return}}var h=e.current;for(A=h;A!==null;){s=A;var m=s.child;if(s.subtreeFlags&2064&&m!==null)m.return=s,A=m;else e:for(s=h;A!==null;){if(l=A,l.flags&2048)try{switch(l.tag){case 0:case 11:case 15:zo(9,l)}}catch(k){Q(l,l.return,k)}if(l===s){A=null;break e}var x=l.sibling;if(x!==null){x.return=l.return,A=x;break e}A=l.return}}if(O=i,Ht(),be&&typeof be.onPostCommitFiberRoot=="function")try{be.onPostCommitFiberRoot(Lo,e)}catch{}r=!0}return r}finally{F=n,ze.transition=t}}return!1}function Fc(e,t,n){t=Qn(n,t),t=qh(e,t,1),e=jt(e,t,1),t=ve(),e!==null&&(ti(e,1,t),Te(e,t))}function Q(e,t,n){if(e.tag===3)Fc(e,e,n);else for(;t!==null;){if(t.tag===3){Fc(t,e,n);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof r.componentDidCatch=="function"&&(Dt===null||!Dt.has(r))){e=Qn(n,e),e=Jh(t,e,1),t=jt(t,e,1),e=ve(),t!==null&&(ti(t,1,e),Te(t,e));break}}t=t.return}}function Lv(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),t=ve(),e.pingedLanes|=e.suspendedLanes&n,oe===e&&(ae&n)===n&&(te===4||te===3&&(ae&130023424)===ae&&500>Z()-Ba?on(e,0):za|=n),Te(e,t)}function vp(e,t){t===0&&(e.mode&1?(t=vi,vi<<=1,!(vi&130023424)&&(vi=4194304)):t=1);var n=ve();e=mt(e,t),e!==null&&(ti(e,t,n),Te(e,n))}function jv(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),vp(e,n)}function Dv(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,i=e.memoizedState;i!==null&&(n=i.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(C(314))}r!==null&&r.delete(t),vp(e,n)}var xp;xp=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||ke.current)Pe=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return Pe=!1,wv(e,t,n);Pe=!!(e.flags&131072)}else Pe=!1,$&&t.flags&1048576&&kh(t,lo,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;$i(e,t),e=t.pendingProps;var i=Wn(t,ge.current);Bn(t,n),i=Da(null,t,r,e,i,n);var o=Va();return t.flags|=1,typeof i=="object"&&i!==null&&typeof i.render=="function"&&i.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Ce(r)?(o=!0,oo(t)):o=!1,t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,Ma(t),i.updater=Io,t.stateNode=i,i._reactInternals=t,wl(t,r,e,n),t=kl(null,t,r,!0,o,n)):(t.tag=0,$&&o&&Sa(t),ye(null,t,i,n),t=t.child),t;case 16:r=t.elementType;e:{switch($i(e,t),e=t.pendingProps,i=r._init,r=i(r._payload),t.type=r,i=t.tag=_v(r),e=We(r,e),i){case 0:t=Pl(null,t,r,e,n);break e;case 1:t=Rc(null,t,r,e,n);break e;case 11:t=Tc(null,t,r,e,n);break e;case 14:t=Ec(null,t,r,We(r.type,e),n);break e}throw Error(C(306,r,""))}return t;case 0:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:We(r,i),Pl(e,t,r,i,n);case 1:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:We(r,i),Rc(e,t,r,i,n);case 3:e:{if(np(t),e===null)throw Error(C(387));r=t.pendingProps,o=t.memoizedState,i=o.element,Ah(e,t),co(t,r,null,n);var s=t.memoizedState;if(r=s.element,o.isDehydrated)if(o={element:r,isDehydrated:!1,cache:s.cache,pendingSuspenseBoundaries:s.pendingSuspenseBoundaries,transitions:s.transitions},t.updateQueue.baseState=o,t.memoizedState=o,t.flags&256){i=Qn(Error(C(423)),t),t=Mc(e,t,r,n,i);break e}else if(r!==i){i=Qn(Error(C(424)),t),t=Mc(e,t,r,n,i);break e}else for(Me=Lt(t.stateNode.containerInfo.firstChild),Ae=t,$=!0,Ke=null,n=Rh(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(Hn(),r===i){t=gt(e,t,n);break e}ye(e,t,r,n)}t=t.child}return t;case 5:return Nh(t),e===null&&yl(t),r=t.type,i=t.pendingProps,o=e!==null?e.memoizedProps:null,s=i.children,dl(r,i)?s=null:o!==null&&dl(r,o)&&(t.flags|=32),tp(e,t),ye(e,t,s,n),t.child;case 6:return e===null&&yl(t),null;case 13:return rp(e,t,n);case 4:return Aa(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Kn(t,null,r,n):ye(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:We(r,i),Tc(e,t,r,i,n);case 7:return ye(e,t,t.pendingProps,n),t.child;case 8:return ye(e,t,t.pendingProps.children,n),t.child;case 12:return ye(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,i=t.pendingProps,o=t.memoizedProps,s=i.value,z(ao,r._currentValue),r._currentValue=s,o!==null)if(Xe(o.value,s)){if(o.children===i.children&&!ke.current){t=gt(e,t,n);break e}}else for(o=t.child,o!==null&&(o.return=t);o!==null;){var l=o.dependencies;if(l!==null){s=o.child;for(var a=l.firstContext;a!==null;){if(a.context===r){if(o.tag===1){a=at(-1,n&-n),a.tag=2;var u=o.updateQueue;if(u!==null){u=u.shared;var c=u.pending;c===null?a.next=a:(a.next=c.next,c.next=a),u.pending=a}}o.lanes|=n,a=o.alternate,a!==null&&(a.lanes|=n),vl(o.return,n,t),l.lanes|=n;break}a=a.next}}else if(o.tag===10)s=o.type===t.type?null:o.child;else if(o.tag===18){if(s=o.return,s===null)throw Error(C(341));s.lanes|=n,l=s.alternate,l!==null&&(l.lanes|=n),vl(s,n,t),s=o.sibling}else s=o.child;if(s!==null)s.return=o;else for(s=o;s!==null;){if(s===t){s=null;break}if(o=s.sibling,o!==null){o.return=s.return,s=o;break}s=s.return}o=s}ye(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=t.pendingProps.children,Bn(t,n),i=Be(i),r=r(i),t.flags|=1,ye(e,t,r,n),t.child;case 14:return r=t.type,i=We(r,t.pendingProps),i=We(r.type,i),Ec(e,t,r,i,n);case 15:return bh(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:We(r,i),$i(e,t),t.tag=1,Ce(r)?(e=!0,oo(t)):e=!1,Bn(t,n),Zh(t,r,i),wl(t,r,i,n),kl(null,t,r,!0,e,n);case 19:return ip(e,t,n);case 22:return ep(e,t,n)}throw Error(C(156,t.tag))};function wp(e,t){return Qd(e,t)}function Vv(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Ie(e,t,n,r){return new Vv(e,t,n,r)}function Ha(e){return e=e.prototype,!(!e||!e.isReactComponent)}function _v(e){if(typeof e=="function")return Ha(e)?1:0;if(e!=null){if(e=e.$$typeof,e===ua)return 11;if(e===ca)return 14}return 2}function _t(e,t){var n=e.alternate;return n===null?(n=Ie(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Ki(e,t,n,r,i,o){var s=2;if(r=e,typeof e=="function")Ha(e)&&(s=1);else if(typeof e=="string")s=5;else e:switch(e){case wn:return sn(n.children,i,o,t);case aa:s=8,i|=8;break;case Hs:return e=Ie(12,n,t,i|2),e.elementType=Hs,e.lanes=o,e;case Ks:return e=Ie(13,n,t,i),e.elementType=Ks,e.lanes=o,e;case Gs:return e=Ie(19,n,t,i),e.elementType=Gs,e.lanes=o,e;case Nd:return Uo(n,i,o,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Md:s=10;break e;case Ad:s=9;break e;case ua:s=11;break e;case ca:s=14;break e;case St:s=16,r=null;break e}throw Error(C(130,e==null?e:typeof e,""))}return t=Ie(s,n,t,i),t.elementType=e,t.type=r,t.lanes=o,t}function sn(e,t,n,r){return e=Ie(7,e,r,t),e.lanes=n,e}function Uo(e,t,n,r){return e=Ie(22,e,r,t),e.elementType=Nd,e.lanes=n,e.stateNode={isHidden:!1},e}function Ts(e,t,n){return e=Ie(6,e,null,t),e.lanes=n,e}function Es(e,t,n){return t=Ie(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Ov(e,t,n,r,i){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=ss(0),this.expirationTimes=ss(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=ss(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function Ka(e,t,n,r,i,o,s,l,a){return e=new Ov(e,t,n,l,a),t===1?(t=1,o===!0&&(t|=8)):t=0,o=Ie(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Ma(o),e}function Fv(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:xn,key:r==null?null:""+r,children:e,containerInfo:t,implementation:n}}function Sp(e){if(!e)return It;e=e._reactInternals;e:{if(pn(e)!==e||e.tag!==1)throw Error(C(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(Ce(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(t!==null);throw Error(C(171))}if(e.tag===1){var n=e.type;if(Ce(n))return Sh(e,n,t)}return t}function Pp(e,t,n,r,i,o,s,l,a){return e=Ka(n,r,!0,e,i,o,s,l,a),e.context=Sp(null),n=e.current,r=ve(),i=Vt(n),o=at(r,i),o.callback=t??null,jt(n,o,i),e.current.lanes=i,ti(e,i,r),Te(e,r),e}function $o(e,t,n,r){var i=t.current,o=ve(),s=Vt(i);return n=Sp(n),t.context===null?t.context=n:t.pendingContext=n,t=at(o,s),t.payload={element:e},r=r===void 0?null:r,r!==null&&(t.callback=r),e=jt(i,t,s),e!==null&&(Qe(e,i,s,o),zi(e,i,s)),s}function xo(e){if(e=e.current,!e.child)return null;switch(e.child.tag){case 5:return e.child.stateNode;default:return e.child.stateNode}}function Ic(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function Ga(e,t){Ic(e,t),(e=e.alternate)&&Ic(e,t)}function Iv(){return null}var kp=typeof reportError=="function"?reportError:function(e){console.error(e)};function Qa(e){this._internalRoot=e}Wo.prototype.render=Qa.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(C(409));$o(e,t,null,null)};Wo.prototype.unmount=Qa.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;dn(function(){$o(null,e,null,null)}),t[pt]=null}};function Wo(e){this._internalRoot=e}Wo.prototype.unstable_scheduleHydration=function(e){if(e){var t=eh();e={blockedOn:null,target:e,priority:t};for(var n=0;n<kt.length&&t!==0&&t<kt[n].priority;n++);kt.splice(n,0,e),n===0&&nh(e)}};function Xa(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function Ho(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function zc(){}function zv(e,t,n,r,i){if(i){if(typeof r=="function"){var o=r;r=function(){var u=xo(s);o.call(u)}}var s=Pp(t,r,e,0,null,!1,!1,"",zc);return e._reactRootContainer=s,e[pt]=s.current,zr(e.nodeType===8?e.parentNode:e),dn(),s}for(;i=e.lastChild;)e.removeChild(i);if(typeof r=="function"){var l=r;r=function(){var u=xo(a);l.call(u)}}var a=Ka(e,0,!1,null,null,!1,!1,"",zc);return e._reactRootContainer=a,e[pt]=a.current,zr(e.nodeType===8?e.parentNode:e),dn(function(){$o(t,a,n,r)}),a}function Ko(e,t,n,r,i){var o=n._reactRootContainer;if(o){var s=o;if(typeof i=="function"){var l=i;i=function(){var a=xo(s);l.call(a)}}$o(t,s,e,i)}else s=zv(n,t,e,i,r);return xo(s)}Jd=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=mr(t.pendingLanes);n!==0&&(ha(t,n|1),Te(t,Z()),!(O&6)&&(Xn=Z()+500,Ht()))}break;case 13:dn(function(){var r=mt(e,1);if(r!==null){var i=ve();Qe(r,e,1,i)}}),Ga(e,1)}};pa=function(e){if(e.tag===13){var t=mt(e,134217728);if(t!==null){var n=ve();Qe(t,e,134217728,n)}Ga(e,134217728)}};bd=function(e){if(e.tag===13){var t=Vt(e),n=mt(e,t);if(n!==null){var r=ve();Qe(n,e,t,r)}Ga(e,t)}};eh=function(){return F};th=function(e,t){var n=F;try{return F=e,t()}finally{F=n}};nl=function(e,t,n){switch(t){case"input":if(Ys(e,n),t=n.name,n.type==="radio"&&t!=null){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var i=_o(r);if(!i)throw Error(C(90));jd(r),Ys(r,i)}}}break;case"textarea":Vd(e,n);break;case"select":t=n.value,t!=null&&On(e,!!n.multiple,t,!1)}};Ud=Ua;$d=dn;var Bv={usingClientEntryPoint:!1,Events:[ri,Cn,_o,zd,Bd,Ua]},fr={findFiberByHostInstance:en,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},Uv={bundleType:fr.bundleType,version:fr.version,rendererPackageName:fr.rendererPackageName,rendererConfig:fr.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:yt.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=Kd(e),e===null?null:e.stateNode},findFiberByHostInstance:fr.findFiberByHostInstance||Iv,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Ai=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Ai.isDisabled&&Ai.supportsFiber)try{Lo=Ai.inject(Uv),be=Ai}catch{}}je.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Bv;je.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!Xa(t))throw Error(C(200));return Fv(e,t,null,n)};je.createRoot=function(e,t){if(!Xa(e))throw Error(C(299));var n=!1,r="",i=kp;return t!=null&&(t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onRecoverableError!==void 0&&(i=t.onRecoverableError)),t=Ka(e,1,!1,null,null,n,!1,r,i),e[pt]=t.current,zr(e.nodeType===8?e.parentNode:e),new Qa(t)};je.findDOMNode=function(e){if(e==null)return null;if(e.nodeType===1)return e;var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(C(188)):(e=Object.keys(e).join(","),Error(C(268,e)));return e=Kd(t),e=e===null?null:e.stateNode,e};je.flushSync=function(e){return dn(e)};je.hydrate=function(e,t,n){if(!Ho(t))throw Error(C(200));return Ko(null,e,t,!0,n)};je.hydrateRoot=function(e,t,n){if(!Xa(e))throw Error(C(405));var r=n!=null&&n.hydratedSources||null,i=!1,o="",s=kp;if(n!=null&&(n.unstable_strictMode===!0&&(i=!0),n.identifierPrefix!==void 0&&(o=n.identifierPrefix),n.onRecoverableError!==void 0&&(s=n.onRecoverableError)),t=Pp(t,null,e,1,n??null,i,!1,o,s),e[pt]=t.current,zr(e),r)for(e=0;e<r.length;e++)n=r[e],i=n._getVersion,i=i(n._source),t.mutableSourceEagerHydrationData==null?t.mutableSourceEagerHydrationData=[n,i]:t.mutableSourceEagerHydrationData.push(n,i);return new Wo(t)};je.render=function(e,t,n){if(!Ho(t))throw Error(C(200));return Ko(null,e,t,!1,n)};je.unmountComponentAtNode=function(e){if(!Ho(e))throw Error(C(40));return e._reactRootContainer?(dn(function(){Ko(null,null,e,!1,function(){e._reactRootContainer=null,e[pt]=null})}),!0):!1};je.unstable_batchedUpdates=Ua;je.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!Ho(n))throw Error(C(200));if(e==null||e._reactInternals===void 0)throw Error(C(38));return Ko(e,t,n,!1,r)};je.version="18.3.1-next-f1338f8080-20240426";function Cp(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Cp)}catch(e){console.error(e)}}Cp(),Cd.exports=je;var $v=Cd.exports,Tp,Bc=$v;Tp=Bc.createRoot,Bc.hydrateRoot;/**
+ * @remix-run/router v1.21.0
+ *
+ * Copyright (c) Remix Software Inc.
+ *
+ * This source code is licensed under the MIT license found in the
+ * LICENSE.md file in the root directory of this source tree.
+ *
+ * @license MIT
+ */function Xr(){return Xr=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Xr.apply(this,arguments)}var Rt;(function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"})(Rt||(Rt={}));const Uc="popstate";function Wv(e){e===void 0&&(e={});function t(r,i){let{pathname:o,search:s,hash:l}=r.location;return _l("",{pathname:o,search:s,hash:l},i.state&&i.state.usr||null,i.state&&i.state.key||"default")}function n(r,i){return typeof i=="string"?i:wo(i)}return Kv(t,n,null,e)}function J(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function Ep(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function Hv(){return Math.random().toString(36).substr(2,8)}function $c(e,t){return{usr:e.state,key:e.key,idx:t}}function _l(e,t,n,r){return n===void 0&&(n=null),Xr({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?tr(t):t,{state:n,key:t&&t.key||r||Hv()})}function wo(e){let{pathname:t="/",search:n="",hash:r=""}=e;return n&&n!=="?"&&(t+=n.charAt(0)==="?"?n:"?"+n),r&&r!=="#"&&(t+=r.charAt(0)==="#"?r:"#"+r),t}function tr(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}function Kv(e,t,n,r){r===void 0&&(r={});let{window:i=document.defaultView,v5Compat:o=!1}=r,s=i.history,l=Rt.Pop,a=null,u=c();u==null&&(u=0,s.replaceState(Xr({},s.state,{idx:u}),""));function c(){return(s.state||{idx:null}).idx}function f(){l=Rt.Pop;let P=c(),p=P==null?null:P-u;u=P,a&&a({action:l,location:v.location,delta:p})}function d(P,p){l=Rt.Push;let h=_l(v.location,P,p);u=c()+1;let m=$c(h,u),x=v.createHref(h);try{s.pushState(m,"",x)}catch(k){if(k instanceof DOMException&&k.name==="DataCloneError")throw k;i.location.assign(x)}o&&a&&a({action:l,location:v.location,delta:1})}function g(P,p){l=Rt.Replace;let h=_l(v.location,P,p);u=c();let m=$c(h,u),x=v.createHref(h);s.replaceState(m,"",x),o&&a&&a({action:l,location:v.location,delta:0})}function y(P){let p=i.location.origin!=="null"?i.location.origin:i.location.href,h=typeof P=="string"?P:wo(P);return h=h.replace(/ $/,"%20"),J(p,"No window.location.(origin|href) available to create URL for href: "+h),new URL(h,p)}let v={get action(){return l},get location(){return e(i,s)},listen(P){if(a)throw new Error("A history only accepts one active listener");return i.addEventListener(Uc,f),a=P,()=>{i.removeEventListener(Uc,f),a=null}},createHref(P){return t(i,P)},createURL:y,encodeLocation(P){let p=y(P);return{pathname:p.pathname,search:p.search,hash:p.hash}},push:d,replace:g,go(P){return s.go(P)}};return v}var Wc;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(Wc||(Wc={}));function Gv(e,t,n){return n===void 0&&(n="/"),Qv(e,t,n,!1)}function Qv(e,t,n,r){let i=typeof t=="string"?tr(t):t,o=Ya(i.pathname||"/",n);if(o==null)return null;let s=Rp(e);Xv(s);let l=null;for(let a=0;l==null&&a<s.length;++a){let u=o0(o);l=r0(s[a],u,r)}return l}function Rp(e,t,n,r){t===void 0&&(t=[]),n===void 0&&(n=[]),r===void 0&&(r="");let i=(o,s,l)=>{let a={relativePath:l===void 0?o.path||"":l,caseSensitive:o.caseSensitive===!0,childrenIndex:s,route:o};a.relativePath.startsWith("/")&&(J(a.relativePath.startsWith(r),'Absolute route path "'+a.relativePath+'" nested under path '+('"'+r+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),a.relativePath=a.relativePath.slice(r.length));let u=Ot([r,a.relativePath]),c=n.concat(a);o.children&&o.children.length>0&&(J(o.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+u+'".')),Rp(o.children,t,c,u)),!(o.path==null&&!o.index)&&t.push({path:u,score:t0(u,o.index),routesMeta:c})};return e.forEach((o,s)=>{var l;if(o.path===""||!((l=o.path)!=null&&l.includes("?")))i(o,s);else for(let a of Mp(o.path))i(o,s,a)}),t}function Mp(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,i=n.endsWith("?"),o=n.replace(/\?$/,"");if(r.length===0)return i?[o,""]:[o];let s=Mp(r.join("/")),l=[];return l.push(...s.map(a=>a===""?o:[o,a].join("/"))),i&&l.push(...s),l.map(a=>e.startsWith("/")&&a===""?"/":a)}function Xv(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:n0(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const Yv=/^:[\w-]+$/,Zv=3,qv=2,Jv=1,bv=10,e0=-2,Hc=e=>e==="*";function t0(e,t){let n=e.split("/"),r=n.length;return n.some(Hc)&&(r+=e0),t&&(r+=qv),n.filter(i=>!Hc(i)).reduce((i,o)=>i+(Yv.test(o)?Zv:o===""?Jv:bv),r)}function n0(e,t){return e.length===t.length&&e.slice(0,-1).every((r,i)=>r===t[i])?e[e.length-1]-t[t.length-1]:0}function r0(e,t,n){let{routesMeta:r}=e,i={},o="/",s=[];for(let l=0;l<r.length;++l){let a=r[l],u=l===r.length-1,c=o==="/"?t:t.slice(o.length)||"/",f=Kc({path:a.relativePath,caseSensitive:a.caseSensitive,end:u},c),d=a.route;if(!f&&u&&n&&!r[r.length-1].route.index&&(f=Kc({path:a.relativePath,caseSensitive:a.caseSensitive,end:!1},c)),!f)return null;Object.assign(i,f.params),s.push({params:i,pathname:Ot([o,f.pathname]),pathnameBase:u0(Ot([o,f.pathnameBase])),route:d}),f.pathnameBase!=="/"&&(o=Ot([o,f.pathnameBase]))}return s}function Kc(e,t){typeof e=="string"&&(e={path:e,caseSensitive:!1,end:!0});let[n,r]=i0(e.path,e.caseSensitive,e.end),i=t.match(n);if(!i)return null;let o=i[0],s=o.replace(/(.)\/+$/,"$1"),l=i.slice(1);return{params:r.reduce((u,c,f)=>{let{paramName:d,isOptional:g}=c;if(d==="*"){let v=l[f]||"";s=o.slice(0,o.length-v.length).replace(/(.)\/+$/,"$1")}const y=l[f];return g&&!y?u[d]=void 0:u[d]=(y||"").replace(/%2F/g,"/"),u},{}),pathname:o,pathnameBase:s,pattern:e}}function i0(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),Ep(e==="*"||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were '+('"'+e.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+e.replace(/\*$/,"/*")+'".'));let r=[],i="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(s,l,a)=>(r.push({paramName:l,isOptional:a!=null}),a?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(r.push({paramName:"*"}),i+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?i+="\\/*$":e!==""&&e!=="/"&&(i+="(?:(?=\\/|$))"),[new RegExp(i,t?void 0:"i"),r]}function o0(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return Ep(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+t+").")),e}}function Ya(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&r!=="/"?null:e.slice(n)||"/"}function s0(e,t){t===void 0&&(t="/");let{pathname:n,search:r="",hash:i=""}=typeof e=="string"?tr(e):e;return{pathname:n?n.startsWith("/")?n:l0(n,t):t,search:c0(r),hash:f0(i)}}function l0(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(i=>{i===".."?n.length>1&&n.pop():i!=="."&&n.push(i)}),n.length>1?n.join("/"):"/"}function Rs(e,t,n,r){return"Cannot include a '"+e+"' character in a manually specified "+("`to."+t+"` field ["+JSON.stringify(r)+"].  Please separate it out to the ")+("`to."+n+"` field. Alternatively you may provide the full path as ")+'a string in <Link to="..."> and the router will parse it for you.'}function a0(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function Ap(e,t){let n=a0(e);return t?n.map((r,i)=>i===n.length-1?r.pathname:r.pathnameBase):n.map(r=>r.pathnameBase)}function Np(e,t,n,r){r===void 0&&(r=!1);let i;typeof e=="string"?i=tr(e):(i=Xr({},e),J(!i.pathname||!i.pathname.includes("?"),Rs("?","pathname","search",i)),J(!i.pathname||!i.pathname.includes("#"),Rs("#","pathname","hash",i)),J(!i.search||!i.search.includes("#"),Rs("#","search","hash",i)));let o=e===""||i.pathname==="",s=o?"/":i.pathname,l;if(s==null)l=n;else{let f=t.length-1;if(!r&&s.startsWith("..")){let d=s.split("/");for(;d[0]==="..";)d.shift(),f-=1;i.pathname=d.join("/")}l=f>=0?t[f]:"/"}let a=s0(i,l),u=s&&s!=="/"&&s.endsWith("/"),c=(o||s===".")&&n.endsWith("/");return!a.pathname.endsWith("/")&&(u||c)&&(a.pathname+="/"),a}const Ot=e=>e.join("/").replace(/\/\/+/g,"/"),u0=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),c0=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,f0=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function d0(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const Lp=["post","put","patch","delete"];new Set(Lp);const h0=["get",...Lp];new Set(h0);/**
+ * React Router v6.28.0
+ *
+ * Copyright (c) Remix Software Inc.
+ *
+ * This source code is licensed under the MIT license found in the
+ * LICENSE.md file in the root directory of this source tree.
+ *
+ * @license MIT
+ */function Yr(){return Yr=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Yr.apply(this,arguments)}const Za=S.createContext(null),p0=S.createContext(null),mn=S.createContext(null),Go=S.createContext(null),gn=S.createContext({outlet:null,matches:[],isDataRoute:!1}),jp=S.createContext(null);function m0(e,t){let{relative:n}=t===void 0?{}:t;oi()||J(!1);let{basename:r,navigator:i}=S.useContext(mn),{hash:o,pathname:s,search:l}=Vp(e,{relative:n}),a=s;return r!=="/"&&(a=s==="/"?r:Ot([r,s])),i.createHref({pathname:a,search:l,hash:o})}function oi(){return S.useContext(Go)!=null}function si(){return oi()||J(!1),S.useContext(Go).location}function Dp(e){S.useContext(mn).static||S.useLayoutEffect(e)}function g0(){let{isDataRoute:e}=S.useContext(gn);return e?A0():y0()}function y0(){oi()||J(!1);let e=S.useContext(Za),{basename:t,future:n,navigator:r}=S.useContext(mn),{matches:i}=S.useContext(gn),{pathname:o}=si(),s=JSON.stringify(Ap(i,n.v7_relativeSplatPath)),l=S.useRef(!1);return Dp(()=>{l.current=!0}),S.useCallback(function(u,c){if(c===void 0&&(c={}),!l.current)return;if(typeof u=="number"){r.go(u);return}let f=Np(u,JSON.parse(s),o,c.relative==="path");e==null&&t!=="/"&&(f.pathname=f.pathname==="/"?t:Ot([t,f.pathname])),(c.replace?r.replace:r.push)(f,c.state,c)},[t,r,s,o,e])}function Vp(e,t){let{relative:n}=t===void 0?{}:t,{future:r}=S.useContext(mn),{matches:i}=S.useContext(gn),{pathname:o}=si(),s=JSON.stringify(Ap(i,r.v7_relativeSplatPath));return S.useMemo(()=>Np(e,JSON.parse(s),o,n==="path"),[e,s,o,n])}function v0(e,t){return x0(e,t)}function x0(e,t,n,r){oi()||J(!1);let{navigator:i}=S.useContext(mn),{matches:o}=S.useContext(gn),s=o[o.length-1],l=s?s.params:{};s&&s.pathname;let a=s?s.pathnameBase:"/";s&&s.route;let u=si(),c;if(t){var f;let P=typeof t=="string"?tr(t):t;a==="/"||(f=P.pathname)!=null&&f.startsWith(a)||J(!1),c=P}else c=u;let d=c.pathname||"/",g=d;if(a!=="/"){let P=a.replace(/^\//,"").split("/");g="/"+d.replace(/^\//,"").split("/").slice(P.length).join("/")}let y=Gv(e,{pathname:g}),v=C0(y&&y.map(P=>Object.assign({},P,{params:Object.assign({},l,P.params),pathname:Ot([a,i.encodeLocation?i.encodeLocation(P.pathname).pathname:P.pathname]),pathnameBase:P.pathnameBase==="/"?a:Ot([a,i.encodeLocation?i.encodeLocation(P.pathnameBase).pathname:P.pathnameBase])})),o,n,r);return t&&v?S.createElement(Go.Provider,{value:{location:Yr({pathname:"/",search:"",hash:"",state:null,key:"default"},c),navigationType:Rt.Pop}},v):v}function w0(){let e=M0(),t=d0(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,i={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return S.createElement(S.Fragment,null,S.createElement("h2",null,"Unexpected Application Error!"),S.createElement("h3",{style:{fontStyle:"italic"}},t),n?S.createElement("pre",{style:i},n):null,null)}const S0=S.createElement(w0,null);class P0 extends S.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,n){return n.location!==t.location||n.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error!==void 0?t.error:n.error,location:n.location,revalidation:t.revalidation||n.revalidation}}componentDidCatch(t,n){console.error("React Router caught the following error during render",t,n)}render(){return this.state.error!==void 0?S.createElement(gn.Provider,{value:this.props.routeContext},S.createElement(jp.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function k0(e){let{routeContext:t,match:n,children:r}=e,i=S.useContext(Za);return i&&i.static&&i.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(i.staticContext._deepestRenderedBoundaryId=n.route.id),S.createElement(gn.Provider,{value:t},r)}function C0(e,t,n,r){var i;if(t===void 0&&(t=[]),n===void 0&&(n=null),r===void 0&&(r=null),e==null){var o;if(!n)return null;if(n.errors)e=n.matches;else if((o=r)!=null&&o.v7_partialHydration&&t.length===0&&!n.initialized&&n.matches.length>0)e=n.matches;else return null}let s=e,l=(i=n)==null?void 0:i.errors;if(l!=null){let c=s.findIndex(f=>f.route.id&&(l==null?void 0:l[f.route.id])!==void 0);c>=0||J(!1),s=s.slice(0,Math.min(s.length,c+1))}let a=!1,u=-1;if(n&&r&&r.v7_partialHydration)for(let c=0;c<s.length;c++){let f=s[c];if((f.route.HydrateFallback||f.route.hydrateFallbackElement)&&(u=c),f.route.id){let{loaderData:d,errors:g}=n,y=f.route.loader&&d[f.route.id]===void 0&&(!g||g[f.route.id]===void 0);if(f.route.lazy||y){a=!0,u>=0?s=s.slice(0,u+1):s=[s[0]];break}}}return s.reduceRight((c,f,d)=>{let g,y=!1,v=null,P=null;n&&(g=l&&f.route.id?l[f.route.id]:void 0,v=f.route.errorElement||S0,a&&(u<0&&d===0?(y=!0,P=null):u===d&&(y=!0,P=f.route.hydrateFallbackElement||null)));let p=t.concat(s.slice(0,d+1)),h=()=>{let m;return g?m=v:y?m=P:f.route.Component?m=S.createElement(f.route.Component,null):f.route.element?m=f.route.element:m=c,S.createElement(k0,{match:f,routeContext:{outlet:c,matches:p,isDataRoute:n!=null},children:m})};return n&&(f.route.ErrorBoundary||f.route.errorElement||d===0)?S.createElement(P0,{location:n.location,revalidation:n.revalidation,component:v,error:g,children:h(),routeContext:{outlet:null,matches:p,isDataRoute:!0}}):h()},null)}var _p=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(_p||{}),So=function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e}(So||{});function T0(e){let t=S.useContext(Za);return t||J(!1),t}function E0(e){let t=S.useContext(p0);return t||J(!1),t}function R0(e){let t=S.useContext(gn);return t||J(!1),t}function Op(e){let t=R0(),n=t.matches[t.matches.length-1];return n.route.id||J(!1),n.route.id}function M0(){var e;let t=S.useContext(jp),n=E0(So.UseRouteError),r=Op(So.UseRouteError);return t!==void 0?t:(e=n.errors)==null?void 0:e[r]}function A0(){let{router:e}=T0(_p.UseNavigateStable),t=Op(So.UseNavigateStable),n=S.useRef(!1);return Dp(()=>{n.current=!0}),S.useCallback(function(i,o){o===void 0&&(o={}),n.current&&(typeof i=="number"?e.navigate(i):e.navigate(i,Yr({fromRouteId:t},o)))},[e,t])}const Gc={};function N0(e,t){Gc[t]||(Gc[t]=!0,console.warn(t))}const Qc=(e,t,n)=>N0(e,"⚠️ React Router Future Flag Warning: "+t+". "+("You can use the `"+e+"` future flag to opt-in early. ")+("For more information, see "+n+"."));function L0(e,t){e!=null&&e.v7_startTransition||Qc("v7_startTransition","React Router will begin wrapping state updates in `React.startTransition` in v7","https://reactrouter.com/v6/upgrading/future#v7_starttransition"),!(e!=null&&e.v7_relativeSplatPath)&&!t&&Qc("v7_relativeSplatPath","Relative route resolution within Splat routes is changing in v7","https://reactrouter.com/v6/upgrading/future#v7_relativesplatpath")}function Ol(e){J(!1)}function j0(e){let{basename:t="/",children:n=null,location:r,navigationType:i=Rt.Pop,navigator:o,static:s=!1,future:l}=e;oi()&&J(!1);let a=t.replace(/^\/*/,"/"),u=S.useMemo(()=>({basename:a,navigator:o,static:s,future:Yr({v7_relativeSplatPath:!1},l)}),[a,l,o,s]);typeof r=="string"&&(r=tr(r));let{pathname:c="/",search:f="",hash:d="",state:g=null,key:y="default"}=r,v=S.useMemo(()=>{let P=Ya(c,a);return P==null?null:{location:{pathname:P,search:f,hash:d,state:g,key:y},navigationType:i}},[a,c,f,d,g,y,i]);return v==null?null:S.createElement(mn.Provider,{value:u},S.createElement(Go.Provider,{children:n,value:v}))}function D0(e){let{children:t,location:n}=e;return v0(Fl(t),n)}new Promise(()=>{});function Fl(e,t){t===void 0&&(t=[]);let n=[];return S.Children.forEach(e,(r,i)=>{if(!S.isValidElement(r))return;let o=[...t,i];if(r.type===S.Fragment){n.push.apply(n,Fl(r.props.children,o));return}r.type!==Ol&&J(!1),!r.props.index||!r.props.children||J(!1);let s={id:r.props.id||o.join("-"),caseSensitive:r.props.caseSensitive,element:r.props.element,Component:r.props.Component,index:r.props.index,path:r.props.path,loader:r.props.loader,action:r.props.action,errorElement:r.props.errorElement,ErrorBoundary:r.props.ErrorBoundary,hasErrorBoundary:r.props.ErrorBoundary!=null||r.props.errorElement!=null,shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle,lazy:r.props.lazy};r.props.children&&(s.children=Fl(r.props.children,o)),n.push(s)}),n}/**
+ * React Router DOM v6.28.0
+ *
+ * Copyright (c) Remix Software Inc.
+ *
+ * This source code is licensed under the MIT license found in the
+ * LICENSE.md file in the root directory of this source tree.
+ *
+ * @license MIT
+ */function Il(){return Il=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Il.apply(this,arguments)}function V0(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,o;for(o=0;o<r.length;o++)i=r[o],!(t.indexOf(i)>=0)&&(n[i]=e[i]);return n}function _0(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function O0(e,t){return e.button===0&&(!t||t==="_self")&&!_0(e)}const F0=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","viewTransition"],I0="6";try{window.__reactRouterVersion=I0}catch{}const z0="startTransition",Xc=Lg[z0];function B0(e){let{basename:t,children:n,future:r,window:i}=e,o=S.useRef();o.current==null&&(o.current=Wv({window:i,v5Compat:!0}));let s=o.current,[l,a]=S.useState({action:s.action,location:s.location}),{v7_startTransition:u}=r||{},c=S.useCallback(f=>{u&&Xc?Xc(()=>a(f)):a(f)},[a,u]);return S.useLayoutEffect(()=>s.listen(c),[s,c]),S.useEffect(()=>L0(r),[r]),S.createElement(j0,{basename:t,children:n,location:l.location,navigationType:l.action,navigator:s,future:r})}const U0=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",$0=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Ms=S.forwardRef(function(t,n){let{onClick:r,relative:i,reloadDocument:o,replace:s,state:l,target:a,to:u,preventScrollReset:c,viewTransition:f}=t,d=V0(t,F0),{basename:g}=S.useContext(mn),y,v=!1;if(typeof u=="string"&&$0.test(u)&&(y=u,U0))try{let m=new URL(window.location.href),x=u.startsWith("//")?new URL(m.protocol+u):new URL(u),k=Ya(x.pathname,g);x.origin===m.origin&&k!=null?u=k+x.search+x.hash:v=!0}catch{}let P=m0(u,{relative:i}),p=W0(u,{replace:s,state:l,target:a,preventScrollReset:c,relative:i,viewTransition:f});function h(m){r&&r(m),m.defaultPrevented||p(m)}return S.createElement("a",Il({},d,{href:y||P,onClick:v||o?r:h,ref:n,target:a}))});var Yc;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(Yc||(Yc={}));var Zc;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(Zc||(Zc={}));function W0(e,t){let{target:n,replace:r,state:i,preventScrollReset:o,relative:s,viewTransition:l}=t===void 0?{}:t,a=g0(),u=si(),c=Vp(e,{relative:s});return S.useCallback(f=>{if(O0(f,n)){f.preventDefault();let d=r!==void 0?r:wo(u)===wo(c);a(e,{replace:d,state:i,preventScrollReset:o,relative:s,viewTransition:l})}},[u,a,c,r,i,n,e,o,s,l])}function H0(e){if(typeof Proxy>"u")return e;const t=new Map,n=(...r)=>e(...r);return new Proxy(n,{get:(r,i)=>i==="create"?e:(t.has(i)||t.set(i,e(i)),t.get(i))})}function Qo(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}const zl=e=>Array.isArray(e);function Fp(e,t){if(!Array.isArray(t))return!1;const n=t.length;if(n!==e.length)return!1;for(let r=0;r<n;r++)if(t[r]!==e[r])return!1;return!0}function Zr(e){return typeof e=="string"||Array.isArray(e)}function qc(e){const t=[{},{}];return e==null||e.values.forEach((n,r)=>{t[0][r]=n.get(),t[1][r]=n.getVelocity()}),t}function qa(e,t,n,r){if(typeof t=="function"){const[i,o]=qc(r);t=t(n!==void 0?n:e.custom,i,o)}if(typeof t=="string"&&(t=e.variants&&e.variants[t]),typeof t=="function"){const[i,o]=qc(r);t=t(n!==void 0?n:e.custom,i,o)}return t}function Xo(e,t,n){const r=e.getProps();return qa(r,t,n!==void 0?n:r.custom,e)}const Ja=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],ba=["initial",...Ja],li=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],yn=new Set(li),ut=e=>e*1e3,ct=e=>e/1e3,K0={type:"spring",stiffness:500,damping:25,restSpeed:10},G0=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),Q0={type:"keyframes",duration:.8},X0={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},Y0=(e,{keyframes:t})=>t.length>2?Q0:yn.has(e)?e.startsWith("scale")?G0(t[1]):K0:X0;function eu(e,t){return e?e[t]||e.default||e:void 0}const Z0={skipAnimations:!1,useManualTiming:!1},q0=e=>e!==null;function Yo(e,{repeat:t,repeatType:n="loop"},r){const i=e.filter(q0),o=t&&n!=="loop"&&t%2===1?0:i.length-1;return!o||r===void 0?i[o]:r}const me=e=>e;function J0(e){let t=new Set,n=new Set,r=!1,i=!1;const o=new WeakSet;let s={delta:0,timestamp:0,isProcessing:!1};function l(u){o.has(u)&&(a.schedule(u),e()),u(s)}const a={schedule:(u,c=!1,f=!1)=>{const g=f&&r?t:n;return c&&o.add(u),g.has(u)||g.add(u),u},cancel:u=>{n.delete(u),o.delete(u)},process:u=>{if(s=u,r){i=!0;return}r=!0,[t,n]=[n,t],n.clear(),t.forEach(l),r=!1,i&&(i=!1,a.process(u))}};return a}const Ni=["read","resolveKeyframes","update","preRender","render","postRender"],b0=40;function Ip(e,t){let n=!1,r=!0;const i={delta:0,timestamp:0,isProcessing:!1},o=()=>n=!0,s=Ni.reduce((p,h)=>(p[h]=J0(o),p),{}),{read:l,resolveKeyframes:a,update:u,preRender:c,render:f,postRender:d}=s,g=()=>{const p=performance.now();n=!1,i.delta=r?1e3/60:Math.max(Math.min(p-i.timestamp,b0),1),i.timestamp=p,i.isProcessing=!0,l.process(i),a.process(i),u.process(i),c.process(i),f.process(i),d.process(i),i.isProcessing=!1,n&&t&&(r=!1,e(g))},y=()=>{n=!0,r=!0,i.isProcessing||e(g)};return{schedule:Ni.reduce((p,h)=>{const m=s[h];return p[h]=(x,k=!1,E=!1)=>(n||y(),m.schedule(x,k,E)),p},{}),cancel:p=>{for(let h=0;h<Ni.length;h++)s[Ni[h]].cancel(p)},state:i,steps:s}}const{schedule:I,cancel:zt,state:le,steps:As}=Ip(typeof requestAnimationFrame<"u"?requestAnimationFrame:me,!0),zp=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,e1=1e-7,t1=12;function n1(e,t,n,r,i){let o,s,l=0;do s=t+(n-t)/2,o=zp(s,r,i)-e,o>0?n=s:t=s;while(Math.abs(o)>e1&&++l<t1);return s}function ai(e,t,n,r){if(e===t&&n===r)return me;const i=o=>n1(o,0,1,e,n);return o=>o===0||o===1?o:zp(i(o),t,r)}const Bp=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,Up=e=>t=>1-e(1-t),$p=ai(.33,1.53,.69,.99),tu=Up($p),Wp=Bp(tu),Hp=e=>(e*=2)<1?.5*tu(e):.5*(2-Math.pow(2,-10*(e-1))),nu=e=>1-Math.sin(Math.acos(e)),Kp=Up(nu),Gp=Bp(nu),Qp=e=>/^0[^.\s]+$/u.test(e);function r1(e){return typeof e=="number"?e===0:e!==null?e==="none"||e==="0"||Qp(e):!0}let Bl=me;const Xp=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e),Yp=e=>t=>typeof t=="string"&&t.startsWith(e),Zp=Yp("--"),i1=Yp("var(--"),ru=e=>i1(e)?o1.test(e.split("/*")[0].trim()):!1,o1=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,s1=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function l1(e){const t=s1.exec(e);if(!t)return[,];const[,n,r,i]=t;return[`--${n??r}`,i]}function qp(e,t,n=1){const[r,i]=l1(e);if(!r)return;const o=window.getComputedStyle(t).getPropertyValue(r);if(o){const s=o.trim();return Xp(s)?parseFloat(s):s}return ru(i)?qp(i,t,n+1):i}const Bt=(e,t,n)=>n>t?t:n<e?e:n,nr={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},qr={...nr,transform:e=>Bt(0,1,e)},Li={...nr,default:1},ui=e=>({test:t=>typeof t=="string"&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),wt=ui("deg"),tt=ui("%"),N=ui("px"),a1=ui("vh"),u1=ui("vw"),Jc={...tt,parse:e=>tt.parse(e)/100,transform:e=>tt.transform(e*100)},c1=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),bc=e=>e===nr||e===N,ef=(e,t)=>parseFloat(e.split(", ")[t]),tf=(e,t)=>(n,{transform:r})=>{if(r==="none"||!r)return 0;const i=r.match(/^matrix3d\((.+)\)$/u);if(i)return ef(i[1],t);{const o=r.match(/^matrix\((.+)\)$/u);return o?ef(o[1],e):0}},f1=new Set(["x","y","z"]),d1=li.filter(e=>!f1.has(e));function h1(e){const t=[];return d1.forEach(n=>{const r=e.getValue(n);r!==void 0&&(t.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))}),t}const Yn={width:({x:e},{paddingLeft:t="0",paddingRight:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),height:({y:e},{paddingTop:t="0",paddingBottom:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:tf(4,13),y:tf(5,14)};Yn.translateX=Yn.x;Yn.translateY=Yn.y;const Jp=e=>t=>t.test(e),p1={test:e=>e==="auto",parse:e=>e},bp=[nr,N,tt,wt,u1,a1,p1],nf=e=>bp.find(Jp(e)),ln=new Set;let Ul=!1,$l=!1;function em(){if($l){const e=Array.from(ln).filter(r=>r.needsMeasurement),t=new Set(e.map(r=>r.element)),n=new Map;t.forEach(r=>{const i=h1(r);i.length&&(n.set(r,i),r.render())}),e.forEach(r=>r.measureInitialState()),t.forEach(r=>{r.render();const i=n.get(r);i&&i.forEach(([o,s])=>{var l;(l=r.getValue(o))===null||l===void 0||l.set(s)})}),e.forEach(r=>r.measureEndState()),e.forEach(r=>{r.suspendedScrollY!==void 0&&window.scrollTo(0,r.suspendedScrollY)})}$l=!1,Ul=!1,ln.forEach(e=>e.complete()),ln.clear()}function tm(){ln.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&($l=!0)})}function m1(){tm(),em()}class iu{constructor(t,n,r,i,o,s=!1){this.isComplete=!1,this.isAsync=!1,this.needsMeasurement=!1,this.isScheduled=!1,this.unresolvedKeyframes=[...t],this.onComplete=n,this.name=r,this.motionValue=i,this.element=o,this.isAsync=s}scheduleResolve(){this.isScheduled=!0,this.isAsync?(ln.add(this),Ul||(Ul=!0,I.read(tm),I.resolveKeyframes(em))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:t,name:n,element:r,motionValue:i}=this;for(let o=0;o<t.length;o++)if(t[o]===null)if(o===0){const s=i==null?void 0:i.get(),l=t[t.length-1];if(s!==void 0)t[0]=s;else if(r&&n){const a=r.readValue(n,l);a!=null&&(t[0]=a)}t[0]===void 0&&(t[0]=l),i&&s===void 0&&i.set(t[0])}else t[o]=t[o-1]}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(){this.isComplete=!0,this.onComplete(this.unresolvedKeyframes,this.finalKeyframe),ln.delete(this)}cancel(){this.isComplete||(this.isScheduled=!1,ln.delete(this))}resume(){this.isComplete||this.scheduleResolve()}}const Mr=e=>Math.round(e*1e5)/1e5,ou=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function g1(e){return e==null}const y1=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,su=(e,t)=>n=>!!(typeof n=="string"&&y1.test(n)&&n.startsWith(e)||t&&!g1(n)&&Object.prototype.hasOwnProperty.call(n,t)),nm=(e,t,n)=>r=>{if(typeof r!="string")return r;const[i,o,s,l]=r.match(ou);return{[e]:parseFloat(i),[t]:parseFloat(o),[n]:parseFloat(s),alpha:l!==void 0?parseFloat(l):1}},v1=e=>Bt(0,255,e),Ns={...nr,transform:e=>Math.round(v1(e))},rn={test:su("rgb","red"),parse:nm("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+Ns.transform(e)+", "+Ns.transform(t)+", "+Ns.transform(n)+", "+Mr(qr.transform(r))+")"};function x1(e){let t="",n="",r="",i="";return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),r=e.substring(5,7),i=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),r=e.substring(3,4),i=e.substring(4,5),t+=t,n+=n,r+=r,i+=i),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:i?parseInt(i,16)/255:1}}const Wl={test:su("#"),parse:x1,transform:rn.transform},Ln={test:su("hsl","hue"),parse:nm("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>"hsla("+Math.round(e)+", "+tt.transform(Mr(t))+", "+tt.transform(Mr(n))+", "+Mr(qr.transform(r))+")"},de={test:e=>rn.test(e)||Wl.test(e)||Ln.test(e),parse:e=>rn.test(e)?rn.parse(e):Ln.test(e)?Ln.parse(e):Wl.parse(e),transform:e=>typeof e=="string"?e:e.hasOwnProperty("red")?rn.transform(e):Ln.transform(e)},w1=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function S1(e){var t,n;return isNaN(e)&&typeof e=="string"&&(((t=e.match(ou))===null||t===void 0?void 0:t.length)||0)+(((n=e.match(w1))===null||n===void 0?void 0:n.length)||0)>0}const rm="number",im="color",P1="var",k1="var(",rf="${}",C1=/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 Jr(e){const t=e.toString(),n=[],r={color:[],number:[],var:[]},i=[];let o=0;const l=t.replace(C1,a=>(de.test(a)?(r.color.push(o),i.push(im),n.push(de.parse(a))):a.startsWith(k1)?(r.var.push(o),i.push(P1),n.push(a)):(r.number.push(o),i.push(rm),n.push(parseFloat(a))),++o,rf)).split(rf);return{values:n,split:l,indexes:r,types:i}}function om(e){return Jr(e).values}function sm(e){const{split:t,types:n}=Jr(e),r=t.length;return i=>{let o="";for(let s=0;s<r;s++)if(o+=t[s],i[s]!==void 0){const l=n[s];l===rm?o+=Mr(i[s]):l===im?o+=de.transform(i[s]):o+=i[s]}return o}}const T1=e=>typeof e=="number"?0:e;function E1(e){const t=om(e);return sm(e)(t.map(T1))}const Ut={test:S1,parse:om,createTransformer:sm,getAnimatableNone:E1},R1=new Set(["brightness","contrast","saturate","opacity"]);function M1(e){const[t,n]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[r]=n.match(ou)||[];if(!r)return e;const i=n.replace(r,"");let o=R1.has(t)?1:0;return r!==n&&(o*=100),t+"("+o+i+")"}const A1=/\b([a-z-]*)\(.*?\)/gu,Hl={...Ut,getAnimatableNone:e=>{const t=e.match(A1);return t?t.map(M1).join(" "):e}},N1={borderWidth:N,borderTopWidth:N,borderRightWidth:N,borderBottomWidth:N,borderLeftWidth:N,borderRadius:N,radius:N,borderTopLeftRadius:N,borderTopRightRadius:N,borderBottomRightRadius:N,borderBottomLeftRadius:N,width:N,maxWidth:N,height:N,maxHeight:N,top:N,right:N,bottom:N,left:N,padding:N,paddingTop:N,paddingRight:N,paddingBottom:N,paddingLeft:N,margin:N,marginTop:N,marginRight:N,marginBottom:N,marginLeft:N,backgroundPositionX:N,backgroundPositionY:N},L1={rotate:wt,rotateX:wt,rotateY:wt,rotateZ:wt,scale:Li,scaleX:Li,scaleY:Li,scaleZ:Li,skew:wt,skewX:wt,skewY:wt,distance:N,translateX:N,translateY:N,translateZ:N,x:N,y:N,z:N,perspective:N,transformPerspective:N,opacity:qr,originX:Jc,originY:Jc,originZ:N},of={...nr,transform:Math.round},lu={...N1,...L1,zIndex:of,size:N,fillOpacity:qr,strokeOpacity:qr,numOctaves:of},j1={...lu,color:de,backgroundColor:de,outlineColor:de,fill:de,stroke:de,borderColor:de,borderTopColor:de,borderRightColor:de,borderBottomColor:de,borderLeftColor:de,filter:Hl,WebkitFilter:Hl},au=e=>j1[e];function lm(e,t){let n=au(e);return n!==Hl&&(n=Ut),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const D1=new Set(["auto","none","0"]);function V1(e,t,n){let r=0,i;for(;r<e.length&&!i;){const o=e[r];typeof o=="string"&&!D1.has(o)&&Jr(o).values.length&&(i=e[r]),r++}if(i&&n)for(const o of t)e[o]=lm(n,i)}class am extends iu{constructor(t,n,r,i,o){super(t,n,r,i,o,!0)}readKeyframes(){const{unresolvedKeyframes:t,element:n,name:r}=this;if(!n||!n.current)return;super.readKeyframes();for(let a=0;a<t.length;a++){let u=t[a];if(typeof u=="string"&&(u=u.trim(),ru(u))){const c=qp(u,n.current);c!==void 0&&(t[a]=c),a===t.length-1&&(this.finalKeyframe=u)}}if(this.resolveNoneKeyframes(),!c1.has(r)||t.length!==2)return;const[i,o]=t,s=nf(i),l=nf(o);if(s!==l)if(bc(s)&&bc(l))for(let a=0;a<t.length;a++){const u=t[a];typeof u=="string"&&(t[a]=parseFloat(u))}else this.needsMeasurement=!0}resolveNoneKeyframes(){const{unresolvedKeyframes:t,name:n}=this,r=[];for(let i=0;i<t.length;i++)r1(t[i])&&r.push(i);r.length&&V1(t,r,n)}measureInitialState(){const{element:t,unresolvedKeyframes:n,name:r}=this;if(!t||!t.current)return;r==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=Yn[r](t.measureViewportBox(),window.getComputedStyle(t.current)),n[0]=this.measuredOrigin;const i=n[n.length-1];i!==void 0&&t.getValue(r,i).jump(i,!1)}measureEndState(){var t;const{element:n,name:r,unresolvedKeyframes:i}=this;if(!n||!n.current)return;const o=n.getValue(r);o&&o.jump(this.measuredOrigin,!1);const s=i.length-1,l=i[s];i[s]=Yn[r](n.measureViewportBox(),window.getComputedStyle(n.current)),l!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=l),!((t=this.removedTransforms)===null||t===void 0)&&t.length&&this.removedTransforms.forEach(([a,u])=>{n.getValue(a).set(u)}),this.resolveNoneKeyframes()}}function uu(e){return typeof e=="function"}let Gi;function _1(){Gi=void 0}const nt={now:()=>(Gi===void 0&&nt.set(le.isProcessing||Z0.useManualTiming?le.timestamp:performance.now()),Gi),set:e=>{Gi=e,queueMicrotask(_1)}},sf=(e,t)=>t==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&(Ut.test(e)||e==="0")&&!e.startsWith("url("));function O1(e){const t=e[0];if(e.length===1)return!0;for(let n=0;n<e.length;n++)if(e[n]!==t)return!0}function F1(e,t,n,r){const i=e[0];if(i===null)return!1;if(t==="display"||t==="visibility")return!0;const o=e[e.length-1],s=sf(i,t),l=sf(o,t);return!s||!l?!1:O1(e)||(n==="spring"||uu(n))&&r}const I1=40;class um{constructor({autoplay:t=!0,delay:n=0,type:r="keyframes",repeat:i=0,repeatDelay:o=0,repeatType:s="loop",...l}){this.isStopped=!1,this.hasAttemptedResolve=!1,this.createdAt=nt.now(),this.options={autoplay:t,delay:n,type:r,repeat:i,repeatDelay:o,repeatType:s,...l},this.updateFinishedPromise()}calcStartTime(){return this.resolvedAt?this.resolvedAt-this.createdAt>I1?this.resolvedAt:this.createdAt:this.createdAt}get resolved(){return!this._resolved&&!this.hasAttemptedResolve&&m1(),this._resolved}onKeyframesResolved(t,n){this.resolvedAt=nt.now(),this.hasAttemptedResolve=!0;const{name:r,type:i,velocity:o,delay:s,onComplete:l,onUpdate:a,isGenerator:u}=this.options;if(!u&&!F1(t,r,i,o))if(s)this.options.duration=0;else{a==null||a(Yo(t,this.options,n)),l==null||l(),this.resolveFinishedPromise();return}const c=this.initPlayback(t,n);c!==!1&&(this._resolved={keyframes:t,finalKeyframe:n,...c},this.onPostResolved())}onPostResolved(){}then(t,n){return this.currentFinishedPromise.then(t,n)}flatten(){this.options.type="keyframes",this.options.ease="linear"}updateFinishedPromise(){this.currentFinishedPromise=new Promise(t=>{this.resolveFinishedPromise=t})}}function cm(e,t){return t?e*(1e3/t):0}const z1=5;function fm(e,t,n){const r=Math.max(t-z1,0);return cm(n-e(r),t-r)}const Ls=.001,B1=.01,U1=10,$1=.05,W1=1;function H1({duration:e=800,bounce:t=.25,velocity:n=0,mass:r=1}){let i,o,s=1-t;s=Bt($1,W1,s),e=Bt(B1,U1,ct(e)),s<1?(i=u=>{const c=u*s,f=c*e,d=c-n,g=Kl(u,s),y=Math.exp(-f);return Ls-d/g*y},o=u=>{const f=u*s*e,d=f*n+n,g=Math.pow(s,2)*Math.pow(u,2)*e,y=Math.exp(-f),v=Kl(Math.pow(u,2),s);return(-i(u)+Ls>0?-1:1)*((d-g)*y)/v}):(i=u=>{const c=Math.exp(-u*e),f=(u-n)*e+1;return-Ls+c*f},o=u=>{const c=Math.exp(-u*e),f=(n-u)*(e*e);return c*f});const l=5/e,a=G1(i,o,l);if(e=ut(e),isNaN(a))return{stiffness:100,damping:10,duration:e};{const u=Math.pow(a,2)*r;return{stiffness:u,damping:s*2*Math.sqrt(r*u),duration:e}}}const K1=12;function G1(e,t,n){let r=n;for(let i=1;i<K1;i++)r=r-e(r)/t(r);return r}function Kl(e,t){return e*Math.sqrt(1-t*t)}const Q1=["duration","bounce"],X1=["stiffness","damping","mass"];function lf(e,t){return t.some(n=>e[n]!==void 0)}function Y1(e){let t={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...e};if(!lf(e,X1)&&lf(e,Q1)){const n=H1(e);t={...t,...n,mass:1},t.isResolvedFromDuration=!0}return t}function dm({keyframes:e,restDelta:t,restSpeed:n,...r}){const i=e[0],o=e[e.length-1],s={done:!1,value:i},{stiffness:l,damping:a,mass:u,duration:c,velocity:f,isResolvedFromDuration:d}=Y1({...r,velocity:-ct(r.velocity||0)}),g=f||0,y=a/(2*Math.sqrt(l*u)),v=o-i,P=ct(Math.sqrt(l/u)),p=Math.abs(v)<5;n||(n=p?.01:2),t||(t=p?.005:.5);let h;if(y<1){const m=Kl(P,y);h=x=>{const k=Math.exp(-y*P*x);return o-k*((g+y*P*v)/m*Math.sin(m*x)+v*Math.cos(m*x))}}else if(y===1)h=m=>o-Math.exp(-P*m)*(v+(g+P*v)*m);else{const m=P*Math.sqrt(y*y-1);h=x=>{const k=Math.exp(-y*P*x),E=Math.min(m*x,300);return o-k*((g+y*P*v)*Math.sinh(E)+m*v*Math.cosh(E))/m}}return{calculatedDuration:d&&c||null,next:m=>{const x=h(m);if(d)s.done=m>=c;else{let k=0;y<1&&(k=m===0?ut(g):fm(h,m,x));const E=Math.abs(k)<=n,M=Math.abs(o-x)<=t;s.done=E&&M}return s.value=s.done?o:x,s}}}function af({keyframes:e,velocity:t=0,power:n=.8,timeConstant:r=325,bounceDamping:i=10,bounceStiffness:o=500,modifyTarget:s,min:l,max:a,restDelta:u=.5,restSpeed:c}){const f=e[0],d={done:!1,value:f},g=T=>l!==void 0&&T<l||a!==void 0&&T>a,y=T=>l===void 0?a:a===void 0||Math.abs(l-T)<Math.abs(a-T)?l:a;let v=n*t;const P=f+v,p=s===void 0?P:s(P);p!==P&&(v=p-f);const h=T=>-v*Math.exp(-T/r),m=T=>p+h(T),x=T=>{const _=h(T),L=m(T);d.done=Math.abs(_)<=u,d.value=d.done?p:L};let k,E;const M=T=>{g(d.value)&&(k=T,E=dm({keyframes:[d.value,y(d.value)],velocity:fm(m,T,d.value),damping:i,stiffness:o,restDelta:u,restSpeed:c}))};return M(0),{calculatedDuration:null,next:T=>{let _=!1;return!E&&k===void 0&&(_=!0,x(T),M(T)),k!==void 0&&T>=k?E.next(T-k):(!_&&x(T),d)}}}const Z1=ai(.42,0,1,1),q1=ai(0,0,.58,1),hm=ai(.42,0,.58,1),J1=e=>Array.isArray(e)&&typeof e[0]!="number",cu=e=>Array.isArray(e)&&typeof e[0]=="number",uf={linear:me,easeIn:Z1,easeInOut:hm,easeOut:q1,circIn:nu,circInOut:Gp,circOut:Kp,backIn:tu,backInOut:Wp,backOut:$p,anticipate:Hp},cf=e=>{if(cu(e)){Bl(e.length===4);const[t,n,r,i]=e;return ai(t,n,r,i)}else if(typeof e=="string")return Bl(uf[e]!==void 0),uf[e];return e},b1=(e,t)=>n=>t(e(n)),ft=(...e)=>e.reduce(b1),Zn=(e,t,n)=>{const r=t-e;return r===0?1:(n-e)/r},H=(e,t,n)=>e+(t-e)*n;function js(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+(t-e)*6*n:n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function ex({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,t/=100,n/=100;let i=0,o=0,s=0;if(!t)i=o=s=n;else{const l=n<.5?n*(1+t):n+t-n*t,a=2*n-l;i=js(a,l,e+1/3),o=js(a,l,e),s=js(a,l,e-1/3)}return{red:Math.round(i*255),green:Math.round(o*255),blue:Math.round(s*255),alpha:r}}function Po(e,t){return n=>n>0?t:e}const Ds=(e,t,n)=>{const r=e*e,i=n*(t*t-r)+r;return i<0?0:Math.sqrt(i)},tx=[Wl,rn,Ln],nx=e=>tx.find(t=>t.test(e));function ff(e){const t=nx(e);if(!t)return!1;let n=t.parse(e);return t===Ln&&(n=ex(n)),n}const df=(e,t)=>{const n=ff(e),r=ff(t);if(!n||!r)return Po(e,t);const i={...n};return o=>(i.red=Ds(n.red,r.red,o),i.green=Ds(n.green,r.green,o),i.blue=Ds(n.blue,r.blue,o),i.alpha=H(n.alpha,r.alpha,o),rn.transform(i))},Gl=new Set(["none","hidden"]);function rx(e,t){return Gl.has(e)?n=>n<=0?e:t:n=>n>=1?t:e}function ix(e,t){return n=>H(e,t,n)}function fu(e){return typeof e=="number"?ix:typeof e=="string"?ru(e)?Po:de.test(e)?df:lx:Array.isArray(e)?pm:typeof e=="object"?de.test(e)?df:ox:Po}function pm(e,t){const n=[...e],r=n.length,i=e.map((o,s)=>fu(o)(o,t[s]));return o=>{for(let s=0;s<r;s++)n[s]=i[s](o);return n}}function ox(e,t){const n={...e,...t},r={};for(const i in n)e[i]!==void 0&&t[i]!==void 0&&(r[i]=fu(e[i])(e[i],t[i]));return i=>{for(const o in r)n[o]=r[o](i);return n}}function sx(e,t){var n;const r=[],i={color:0,var:0,number:0};for(let o=0;o<t.values.length;o++){const s=t.types[o],l=e.indexes[s][i[s]],a=(n=e.values[l])!==null&&n!==void 0?n:0;r[o]=a,i[s]++}return r}const lx=(e,t)=>{const n=Ut.createTransformer(t),r=Jr(e),i=Jr(t);return r.indexes.var.length===i.indexes.var.length&&r.indexes.color.length===i.indexes.color.length&&r.indexes.number.length>=i.indexes.number.length?Gl.has(e)&&!i.values.length||Gl.has(t)&&!r.values.length?rx(e,t):ft(pm(sx(r,i),i.values),n):Po(e,t)};function mm(e,t,n){return typeof e=="number"&&typeof t=="number"&&typeof n=="number"?H(e,t,n):fu(e)(e,t)}function ax(e,t,n){const r=[],i=n||mm,o=e.length-1;for(let s=0;s<o;s++){let l=i(e[s],e[s+1]);if(t){const a=Array.isArray(t)?t[s]||me:t;l=ft(a,l)}r.push(l)}return r}function ux(e,t,{clamp:n=!0,ease:r,mixer:i}={}){const o=e.length;if(Bl(o===t.length),o===1)return()=>t[0];if(o===2&&e[0]===e[1])return()=>t[1];e[0]>e[o-1]&&(e=[...e].reverse(),t=[...t].reverse());const s=ax(t,r,i),l=s.length,a=u=>{let c=0;if(l>1)for(;c<e.length-2&&!(u<e[c+1]);c++);const f=Zn(e[c],e[c+1],u);return s[c](f)};return n?u=>a(Bt(e[0],e[o-1],u)):a}function cx(e,t){const n=e[e.length-1];for(let r=1;r<=t;r++){const i=Zn(0,t,r);e.push(H(n,1,i))}}function fx(e){const t=[0];return cx(t,e.length-1),t}function dx(e,t){return e.map(n=>n*t)}function hx(e,t){return e.map(()=>t||hm).splice(0,e.length-1)}function ko({duration:e=300,keyframes:t,times:n,ease:r="easeInOut"}){const i=J1(r)?r.map(cf):cf(r),o={done:!1,value:t[0]},s=dx(n&&n.length===t.length?n:fx(t),e),l=ux(s,t,{ease:Array.isArray(i)?i:hx(t,i)});return{calculatedDuration:e,next:a=>(o.value=l(a),o.done=a>=e,o)}}const hf=2e4;function px(e){let t=0;const n=50;let r=e.next(t);for(;!r.done&&t<hf;)t+=n,r=e.next(t);return t>=hf?1/0:t}const mx=e=>{const t=({timestamp:n})=>e(n);return{start:()=>I.update(t,!0),stop:()=>zt(t),now:()=>le.isProcessing?le.timestamp:nt.now()}},gx={decay:af,inertia:af,tween:ko,keyframes:ko,spring:dm},yx=e=>e/100;class du extends um{constructor(t){super(t),this.holdTime=null,this.cancelTime=null,this.currentTime=0,this.playbackSpeed=1,this.pendingPlayState="running",this.startTime=null,this.state="idle",this.stop=()=>{if(this.resolver.cancel(),this.isStopped=!0,this.state==="idle")return;this.teardown();const{onStop:a}=this.options;a&&a()};const{name:n,motionValue:r,element:i,keyframes:o}=this.options,s=(i==null?void 0:i.KeyframeResolver)||iu,l=(a,u)=>this.onKeyframesResolved(a,u);this.resolver=new s(o,l,n,r,i),this.resolver.scheduleResolve()}flatten(){super.flatten(),this._resolved&&Object.assign(this._resolved,this.initPlayback(this._resolved.keyframes))}initPlayback(t){const{type:n="keyframes",repeat:r=0,repeatDelay:i=0,repeatType:o,velocity:s=0}=this.options,l=uu(n)?n:gx[n]||ko;let a,u;l!==ko&&typeof t[0]!="number"&&(a=ft(yx,mm(t[0],t[1])),t=[0,100]);const c=l({...this.options,keyframes:t});o==="mirror"&&(u=l({...this.options,keyframes:[...t].reverse(),velocity:-s})),c.calculatedDuration===null&&(c.calculatedDuration=px(c));const{calculatedDuration:f}=c,d=f+i,g=d*(r+1)-i;return{generator:c,mirroredGenerator:u,mapPercentToKeyframes:a,calculatedDuration:f,resolvedDuration:d,totalDuration:g}}onPostResolved(){const{autoplay:t=!0}=this.options;this.play(),this.pendingPlayState==="paused"||!t?this.pause():this.state=this.pendingPlayState}tick(t,n=!1){const{resolved:r}=this;if(!r){const{keyframes:T}=this.options;return{done:!0,value:T[T.length-1]}}const{finalKeyframe:i,generator:o,mirroredGenerator:s,mapPercentToKeyframes:l,keyframes:a,calculatedDuration:u,totalDuration:c,resolvedDuration:f}=r;if(this.startTime===null)return o.next(0);const{delay:d,repeat:g,repeatType:y,repeatDelay:v,onUpdate:P}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-c/this.speed,this.startTime)),n?this.currentTime=t:this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=Math.round(t-this.startTime)*this.speed;const p=this.currentTime-d*(this.speed>=0?1:-1),h=this.speed>=0?p<0:p>c;this.currentTime=Math.max(p,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=c);let m=this.currentTime,x=o;if(g){const T=Math.min(this.currentTime,c)/f;let _=Math.floor(T),L=T%1;!L&&T>=1&&(L=1),L===1&&_--,_=Math.min(_,g+1),!!(_%2)&&(y==="reverse"?(L=1-L,v&&(L-=v/f)):y==="mirror"&&(x=s)),m=Bt(0,1,L)*f}const k=h?{done:!1,value:a[0]}:x.next(m);l&&(k.value=l(k.value));let{done:E}=k;!h&&u!==null&&(E=this.speed>=0?this.currentTime>=c:this.currentTime<=0);const M=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&E);return M&&i!==void 0&&(k.value=Yo(a,this.options,i)),P&&P(k.value),M&&this.finish(),k}get duration(){const{resolved:t}=this;return t?ct(t.calculatedDuration):0}get time(){return ct(this.currentTime)}set time(t){t=ut(t),this.currentTime=t,this.holdTime!==null||this.speed===0?this.holdTime=t:this.driver&&(this.startTime=this.driver.now()-t/this.speed)}get speed(){return this.playbackSpeed}set speed(t){const n=this.playbackSpeed!==t;this.playbackSpeed=t,n&&(this.time=ct(this.currentTime))}play(){if(this.resolver.isScheduled||this.resolver.resume(),!this._resolved){this.pendingPlayState="running";return}if(this.isStopped)return;const{driver:t=mx,onPlay:n,startTime:r}=this.options;this.driver||(this.driver=t(o=>this.tick(o))),n&&n();const i=this.driver.now();this.holdTime!==null?this.startTime=i-this.holdTime:this.startTime?this.state==="finished"&&(this.startTime=i):this.startTime=r??this.calcStartTime(),this.state==="finished"&&this.updateFinishedPromise(),this.cancelTime=this.startTime,this.holdTime=null,this.state="running",this.driver.start()}pause(){var t;if(!this._resolved){this.pendingPlayState="paused";return}this.state="paused",this.holdTime=(t=this.currentTime)!==null&&t!==void 0?t:0}complete(){this.state!=="running"&&this.play(),this.pendingPlayState=this.state="finished",this.holdTime=null}finish(){this.teardown(),this.state="finished";const{onComplete:t}=this.options;t&&t()}cancel(){this.cancelTime!==null&&this.tick(this.cancelTime),this.teardown(),this.updateFinishedPromise()}teardown(){this.state="idle",this.stopDriver(),this.resolveFinishedPromise(),this.updateFinishedPromise(),this.startTime=this.cancelTime=null,this.resolver.cancel()}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(t){return this.startTime=0,this.tick(t,!0)}}const vx=new Set(["opacity","clipPath","filter","transform"]),xx=10,wx=(e,t)=>{let n="";const r=Math.max(Math.round(t/xx),2);for(let i=0;i<r;i++)n+=e(Zn(0,r-1,i))+", ";return`linear(${n.substring(0,n.length-2)})`};function hu(e){let t;return()=>(t===void 0&&(t=e()),t)}const Sx={linearEasing:void 0};function Px(e,t){const n=hu(e);return()=>{var r;return(r=Sx[t])!==null&&r!==void 0?r:n()}}const Co=Px(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing");function gm(e){return!!(typeof e=="function"&&Co()||!e||typeof e=="string"&&(e in Ql||Co())||cu(e)||Array.isArray(e)&&e.every(gm))}const yr=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,Ql={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:yr([0,.65,.55,1]),circOut:yr([.55,0,1,.45]),backIn:yr([.31,.01,.66,-.59]),backOut:yr([.33,1.53,.69,.99])};function ym(e,t){if(e)return typeof e=="function"&&Co()?wx(e,t):cu(e)?yr(e):Array.isArray(e)?e.map(n=>ym(n,t)||Ql.easeOut):Ql[e]}function kx(e,t,n,{delay:r=0,duration:i=300,repeat:o=0,repeatType:s="loop",ease:l="easeInOut",times:a}={}){const u={[t]:n};a&&(u.offset=a);const c=ym(l,i);return Array.isArray(c)&&(u.easing=c),e.animate(u,{delay:r,duration:i,easing:Array.isArray(c)?"linear":c,fill:"both",iterations:o+1,direction:s==="reverse"?"alternate":"normal"})}function pf(e,t){e.timeline=t,e.onfinish=null}const Cx=hu(()=>Object.hasOwnProperty.call(Element.prototype,"animate")),To=10,Tx=2e4;function Ex(e){return uu(e.type)||e.type==="spring"||!gm(e.ease)}function Rx(e,t){const n=new du({...t,keyframes:e,repeat:0,delay:0,isGenerator:!0});let r={done:!1,value:e[0]};const i=[];let o=0;for(;!r.done&&o<Tx;)r=n.sample(o),i.push(r.value),o+=To;return{times:void 0,keyframes:i,duration:o-To,ease:"linear"}}const vm={anticipate:Hp,backInOut:Wp,circInOut:Gp};function Mx(e){return e in vm}class mf extends um{constructor(t){super(t);const{name:n,motionValue:r,element:i,keyframes:o}=this.options;this.resolver=new am(o,(s,l)=>this.onKeyframesResolved(s,l),n,r,i),this.resolver.scheduleResolve()}initPlayback(t,n){var r;let{duration:i=300,times:o,ease:s,type:l,motionValue:a,name:u,startTime:c}=this.options;if(!(!((r=a.owner)===null||r===void 0)&&r.current))return!1;if(typeof s=="string"&&Co()&&Mx(s)&&(s=vm[s]),Ex(this.options)){const{onComplete:d,onUpdate:g,motionValue:y,element:v,...P}=this.options,p=Rx(t,P);t=p.keyframes,t.length===1&&(t[1]=t[0]),i=p.duration,o=p.times,s=p.ease,l="keyframes"}const f=kx(a.owner.current,u,t,{...this.options,duration:i,times:o,ease:s});return f.startTime=c??this.calcStartTime(),this.pendingTimeline?(pf(f,this.pendingTimeline),this.pendingTimeline=void 0):f.onfinish=()=>{const{onComplete:d}=this.options;a.set(Yo(t,this.options,n)),d&&d(),this.cancel(),this.resolveFinishedPromise()},{animation:f,duration:i,times:o,type:l,ease:s,keyframes:t}}get duration(){const{resolved:t}=this;if(!t)return 0;const{duration:n}=t;return ct(n)}get time(){const{resolved:t}=this;if(!t)return 0;const{animation:n}=t;return ct(n.currentTime||0)}set time(t){const{resolved:n}=this;if(!n)return;const{animation:r}=n;r.currentTime=ut(t)}get speed(){const{resolved:t}=this;if(!t)return 1;const{animation:n}=t;return n.playbackRate}set speed(t){const{resolved:n}=this;if(!n)return;const{animation:r}=n;r.playbackRate=t}get state(){const{resolved:t}=this;if(!t)return"idle";const{animation:n}=t;return n.playState}get startTime(){const{resolved:t}=this;if(!t)return null;const{animation:n}=t;return n.startTime}attachTimeline(t){if(!this._resolved)this.pendingTimeline=t;else{const{resolved:n}=this;if(!n)return me;const{animation:r}=n;pf(r,t)}return me}play(){if(this.isStopped)return;const{resolved:t}=this;if(!t)return;const{animation:n}=t;n.playState==="finished"&&this.updateFinishedPromise(),n.play()}pause(){const{resolved:t}=this;if(!t)return;const{animation:n}=t;n.pause()}stop(){if(this.resolver.cancel(),this.isStopped=!0,this.state==="idle")return;this.resolveFinishedPromise(),this.updateFinishedPromise();const{resolved:t}=this;if(!t)return;const{animation:n,keyframes:r,duration:i,type:o,ease:s,times:l}=t;if(n.playState==="idle"||n.playState==="finished")return;if(this.time){const{motionValue:u,onUpdate:c,onComplete:f,element:d,...g}=this.options,y=new du({...g,keyframes:r,duration:i,type:o,ease:s,times:l,isGenerator:!0}),v=ut(this.time);u.setWithVelocity(y.sample(v-To).value,y.sample(v).value,To)}const{onStop:a}=this.options;a&&a(),this.cancel()}complete(){const{resolved:t}=this;t&&t.animation.finish()}cancel(){const{resolved:t}=this;t&&t.animation.cancel()}static supports(t){const{motionValue:n,name:r,repeatDelay:i,repeatType:o,damping:s,type:l}=t;return Cx()&&r&&vx.has(r)&&n&&n.owner&&n.owner.current instanceof HTMLElement&&!n.owner.getProps().onUpdate&&!i&&o!=="mirror"&&s!==0&&l!=="inertia"}}const Ax=hu(()=>window.ScrollTimeline!==void 0);class Nx{constructor(t){this.stop=()=>this.runAll("stop"),this.animations=t.filter(Boolean)}then(t,n){return Promise.all(this.animations).then(t).catch(n)}getAll(t){return this.animations[0][t]}setAll(t,n){for(let r=0;r<this.animations.length;r++)this.animations[r][t]=n}attachTimeline(t,n){const r=this.animations.map(i=>Ax()&&i.attachTimeline?i.attachTimeline(t):n(i));return()=>{r.forEach((i,o)=>{i&&i(),this.animations[o].stop()})}}get time(){return this.getAll("time")}set time(t){this.setAll("time",t)}get speed(){return this.getAll("speed")}set speed(t){this.setAll("speed",t)}get startTime(){return this.getAll("startTime")}get duration(){let t=0;for(let n=0;n<this.animations.length;n++)t=Math.max(t,this.animations[n].duration);return t}runAll(t){this.animations.forEach(n=>n[t]())}flatten(){this.runAll("flatten")}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}}function Lx({when:e,delay:t,delayChildren:n,staggerChildren:r,staggerDirection:i,repeat:o,repeatType:s,repeatDelay:l,from:a,elapsed:u,...c}){return!!Object.keys(c).length}const pu=(e,t,n,r={},i,o)=>s=>{const l=eu(r,e)||{},a=l.delay||r.delay||0;let{elapsed:u=0}=r;u=u-ut(a);let c={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:t.getVelocity(),...l,delay:-u,onUpdate:d=>{t.set(d),l.onUpdate&&l.onUpdate(d)},onComplete:()=>{s(),l.onComplete&&l.onComplete()},name:e,motionValue:t,element:o?void 0:i};Lx(l)||(c={...c,...Y0(e,c)}),c.duration&&(c.duration=ut(c.duration)),c.repeatDelay&&(c.repeatDelay=ut(c.repeatDelay)),c.from!==void 0&&(c.keyframes[0]=c.from);let f=!1;if((c.type===!1||c.duration===0&&!c.repeatDelay)&&(c.duration=0,c.delay===0&&(f=!0)),f&&!o&&t.get()!==void 0){const d=Yo(c.keyframes,l);if(d!==void 0)return I.update(()=>{c.onUpdate(d),c.onComplete()}),new Nx([])}return!o&&mf.supports(c)?new mf(c):new du(c)},jx=e=>!!(e&&typeof e=="object"&&e.mix&&e.toValue),Dx=e=>zl(e)?e[e.length-1]||0:e;function mu(e,t){e.indexOf(t)===-1&&e.push(t)}function gu(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}class yu{constructor(){this.subscriptions=[]}add(t){return mu(this.subscriptions,t),()=>gu(this.subscriptions,t)}notify(t,n,r){const i=this.subscriptions.length;if(i)if(i===1)this.subscriptions[0](t,n,r);else for(let o=0;o<i;o++){const s=this.subscriptions[o];s&&s(t,n,r)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const gf=30,Vx=e=>!isNaN(parseFloat(e));class _x{constructor(t,n={}){this.version="11.11.17",this.canTrackVelocity=null,this.events={},this.updateAndNotify=(r,i=!0)=>{const o=nt.now();this.updatedAt!==o&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(r),this.current!==this.prev&&this.events.change&&this.events.change.notify(this.current),i&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.hasAnimated=!1,this.setCurrent(t),this.owner=n.owner}setCurrent(t){this.current=t,this.updatedAt=nt.now(),this.canTrackVelocity===null&&t!==void 0&&(this.canTrackVelocity=Vx(this.current))}setPrevFrameValue(t=this.current){this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}onChange(t){return this.on("change",t)}on(t,n){this.events[t]||(this.events[t]=new yu);const r=this.events[t].add(n);return t==="change"?()=>{r(),I.read(()=>{this.events.change.getSize()||this.stop()})}:r}clearListeners(){for(const t in this.events)this.events[t].clear()}attach(t,n){this.passiveEffect=t,this.stopPassiveEffect=n}set(t,n=!0){!n||!this.passiveEffect?this.updateAndNotify(t,n):this.passiveEffect(t,this.updateAndNotify)}setWithVelocity(t,n,r){this.set(n),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-r}jump(t,n=!0){this.updateAndNotify(t),this.prev=t,this.prevUpdatedAt=this.prevFrameValue=void 0,n&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const t=nt.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||t-this.updatedAt>gf)return 0;const n=Math.min(this.updatedAt-this.prevUpdatedAt,gf);return cm(parseFloat(this.current)-parseFloat(this.prevFrameValue),n)}start(t){return this.stop(),new Promise(n=>{this.hasAnimated=!0,this.animation=t(n),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.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function br(e,t){return new _x(e,t)}function Ox(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,br(n))}function Fx(e,t){const n=Xo(e,t);let{transitionEnd:r={},transition:i={},...o}=n||{};o={...o,...r};for(const s in o){const l=Dx(o[s]);Ox(e,s,l)}}const vu=e=>e.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),Ix="framerAppearId",xm="data-"+vu(Ix);function wm(e){return e.props[xm]}const pe=e=>!!(e&&e.getVelocity);function zx(e){return!!(pe(e)&&e.add)}function Xl(e,t){const n=e.getValue("willChange");if(zx(n))return n.add(t)}function Bx({protectedKeys:e,needsAnimating:t},n){const r=e.hasOwnProperty(n)&&t[n]!==!0;return t[n]=!1,r}function Sm(e,t,{delay:n=0,transitionOverride:r,type:i}={}){var o;let{transition:s=e.getDefaultTransition(),transitionEnd:l,...a}=t;r&&(s=r);const u=[],c=i&&e.animationState&&e.animationState.getState()[i];for(const f in a){const d=e.getValue(f,(o=e.latestValues[f])!==null&&o!==void 0?o:null),g=a[f];if(g===void 0||c&&Bx(c,f))continue;const y={delay:n,...eu(s||{},f)};let v=!1;if(window.MotionHandoffAnimation){const p=wm(e);if(p){const h=window.MotionHandoffAnimation(p,f,I);h!==null&&(y.startTime=h,v=!0)}}Xl(e,f),d.start(pu(f,d,g,e.shouldReduceMotion&&yn.has(f)?{type:!1}:y,e,v));const P=d.animation;P&&u.push(P)}return l&&Promise.all(u).then(()=>{I.update(()=>{l&&Fx(e,l)})}),u}function Yl(e,t,n={}){var r;const i=Xo(e,t,n.type==="exit"?(r=e.presenceContext)===null||r===void 0?void 0:r.custom:void 0);let{transition:o=e.getDefaultTransition()||{}}=i||{};n.transitionOverride&&(o=n.transitionOverride);const s=i?()=>Promise.all(Sm(e,i,n)):()=>Promise.resolve(),l=e.variantChildren&&e.variantChildren.size?(u=0)=>{const{delayChildren:c=0,staggerChildren:f,staggerDirection:d}=o;return Ux(e,t,c+u,f,d,n)}:()=>Promise.resolve(),{when:a}=o;if(a){const[u,c]=a==="beforeChildren"?[s,l]:[l,s];return u().then(()=>c())}else return Promise.all([s(),l(n.delay)])}function Ux(e,t,n=0,r=0,i=1,o){const s=[],l=(e.variantChildren.size-1)*r,a=i===1?(u=0)=>u*r:(u=0)=>l-u*r;return Array.from(e.variantChildren).sort($x).forEach((u,c)=>{u.notify("AnimationStart",t),s.push(Yl(u,t,{...o,delay:n+a(c)}).then(()=>u.notify("AnimationComplete",t)))}),Promise.all(s)}function $x(e,t){return e.sortNodePosition(t)}function Wx(e,t,n={}){e.notify("AnimationStart",t);let r;if(Array.isArray(t)){const i=t.map(o=>Yl(e,o,n));r=Promise.all(i)}else if(typeof t=="string")r=Yl(e,t,n);else{const i=typeof t=="function"?Xo(e,t,n.custom):t;r=Promise.all(Sm(e,i,n))}return r.then(()=>{e.notify("AnimationComplete",t)})}const Hx=ba.length;function Pm(e){if(!e)return;if(!e.isControllingVariants){const n=e.parent?Pm(e.parent)||{}:{};return e.props.initial!==void 0&&(n.initial=e.props.initial),n}const t={};for(let n=0;n<Hx;n++){const r=ba[n],i=e.props[r];(Zr(i)||i===!1)&&(t[r]=i)}return t}const Kx=[...Ja].reverse(),Gx=Ja.length;function Qx(e){return t=>Promise.all(t.map(({animation:n,options:r})=>Wx(e,n,r)))}function Xx(e){let t=Qx(e),n=yf(),r=!0;const i=a=>(u,c)=>{var f;const d=Xo(e,c,a==="exit"?(f=e.presenceContext)===null||f===void 0?void 0:f.custom:void 0);if(d){const{transition:g,transitionEnd:y,...v}=d;u={...u,...v,...y}}return u};function o(a){t=a(e)}function s(a){const{props:u}=e,c=Pm(e.parent)||{},f=[],d=new Set;let g={},y=1/0;for(let P=0;P<Gx;P++){const p=Kx[P],h=n[p],m=u[p]!==void 0?u[p]:c[p],x=Zr(m),k=p===a?h.isActive:null;k===!1&&(y=P);let E=m===c[p]&&m!==u[p]&&x;if(E&&r&&e.manuallyAnimateOnMount&&(E=!1),h.protectedKeys={...g},!h.isActive&&k===null||!m&&!h.prevProp||Qo(m)||typeof m=="boolean")continue;const M=Yx(h.prevProp,m);let T=M||p===a&&h.isActive&&!E&&x||P>y&&x,_=!1;const L=Array.isArray(m)?m:[m];let ne=L.reduce(i(p),{});k===!1&&(ne={});const{prevResolvedValues:vt={}}=h,Gt={...vt,...ne},rr=b=>{T=!0,d.has(b)&&(_=!0,d.delete(b)),h.needsAnimating[b]=!0;const R=e.getValue(b);R&&(R.liveStyle=!1)};for(const b in Gt){const R=ne[b],j=vt[b];if(g.hasOwnProperty(b))continue;let D=!1;zl(R)&&zl(j)?D=!Fp(R,j):D=R!==j,D?R!=null?rr(b):d.add(b):R!==void 0&&d.has(b)?rr(b):h.protectedKeys[b]=!0}h.prevProp=m,h.prevResolvedValues=ne,h.isActive&&(g={...g,...ne}),r&&e.blockInitialAnimation&&(T=!1),T&&(!(E&&M)||_)&&f.push(...L.map(b=>({animation:b,options:{type:p}})))}if(d.size){const P={};d.forEach(p=>{const h=e.getBaseTarget(p),m=e.getValue(p);m&&(m.liveStyle=!0),P[p]=h??null}),f.push({animation:P})}let v=!!f.length;return r&&(u.initial===!1||u.initial===u.animate)&&!e.manuallyAnimateOnMount&&(v=!1),r=!1,v?t(f):Promise.resolve()}function l(a,u){var c;if(n[a].isActive===u)return Promise.resolve();(c=e.variantChildren)===null||c===void 0||c.forEach(d=>{var g;return(g=d.animationState)===null||g===void 0?void 0:g.setActive(a,u)}),n[a].isActive=u;const f=s(a);for(const d in n)n[d].protectedKeys={};return f}return{animateChanges:s,setActive:l,setAnimateFunction:o,getState:()=>n,reset:()=>{n=yf(),r=!0}}}function Yx(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!Fp(t,e):!1}function Yt(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function yf(){return{animate:Yt(!0),whileInView:Yt(),whileHover:Yt(),whileTap:Yt(),whileDrag:Yt(),whileFocus:Yt(),exit:Yt()}}class Kt{constructor(t){this.isMounted=!1,this.node=t}update(){}}class Zx extends Kt{constructor(t){super(t),t.animationState||(t.animationState=Xx(t))}updateAnimationControlsSubscription(){const{animate:t}=this.node.getProps();Qo(t)&&(this.unmountControls=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:t}=this.node.getProps(),{animate:n}=this.node.prevProps||{};t!==n&&this.updateAnimationControlsSubscription()}unmount(){var t;this.node.animationState.reset(),(t=this.unmountControls)===null||t===void 0||t.call(this)}}let qx=0;class Jx extends Kt{constructor(){super(...arguments),this.id=qx++}update(){if(!this.node.presenceContext)return;const{isPresent:t,onExitComplete:n}=this.node.presenceContext,{isPresent:r}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===r)return;const i=this.node.animationState.setActive("exit",!t);n&&!t&&i.then(()=>n(this.id))}mount(){const{register:t}=this.node.presenceContext||{};t&&(this.unmount=t(this.id))}unmount(){}}const bx={animation:{Feature:Zx},exit:{Feature:Jx}},km=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1;function Zo(e,t="page"){return{point:{x:e[`${t}X`],y:e[`${t}Y`]}}}const ew=e=>t=>km(t)&&e(t,Zo(t));function lt(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n)}function dt(e,t,n,r){return lt(e,t,ew(n),r)}const vf=(e,t)=>Math.abs(e-t);function tw(e,t){const n=vf(e.x,t.x),r=vf(e.y,t.y);return Math.sqrt(n**2+r**2)}class Cm{constructor(t,n,{transformPagePoint:r,contextWindow:i,dragSnapToOrigin:o=!1}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const f=_s(this.lastMoveEventInfo,this.history),d=this.startEvent!==null,g=tw(f.offset,{x:0,y:0})>=3;if(!d&&!g)return;const{point:y}=f,{timestamp:v}=le;this.history.push({...y,timestamp:v});const{onStart:P,onMove:p}=this.handlers;d||(P&&P(this.lastMoveEvent,f),this.startEvent=this.lastMoveEvent),p&&p(this.lastMoveEvent,f)},this.handlePointerMove=(f,d)=>{this.lastMoveEvent=f,this.lastMoveEventInfo=Vs(d,this.transformPagePoint),I.update(this.updatePoint,!0)},this.handlePointerUp=(f,d)=>{this.end();const{onEnd:g,onSessionEnd:y,resumeAnimation:v}=this.handlers;if(this.dragSnapToOrigin&&v&&v(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const P=_s(f.type==="pointercancel"?this.lastMoveEventInfo:Vs(d,this.transformPagePoint),this.history);this.startEvent&&g&&g(f,P),y&&y(f,P)},!km(t))return;this.dragSnapToOrigin=o,this.handlers=n,this.transformPagePoint=r,this.contextWindow=i||window;const s=Zo(t),l=Vs(s,this.transformPagePoint),{point:a}=l,{timestamp:u}=le;this.history=[{...a,timestamp:u}];const{onSessionStart:c}=n;c&&c(t,_s(l,this.history)),this.removeListeners=ft(dt(this.contextWindow,"pointermove",this.handlePointerMove),dt(this.contextWindow,"pointerup",this.handlePointerUp),dt(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),zt(this.updatePoint)}}function Vs(e,t){return t?{point:t(e.point)}:e}function xf(e,t){return{x:e.x-t.x,y:e.y-t.y}}function _s({point:e},t){return{point:e,delta:xf(e,Tm(t)),offset:xf(e,nw(t)),velocity:rw(t,.1)}}function nw(e){return e[0]}function Tm(e){return e[e.length-1]}function rw(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null;const i=Tm(e);for(;n>=0&&(r=e[n],!(i.timestamp-r.timestamp>ut(t)));)n--;if(!r)return{x:0,y:0};const o=ct(i.timestamp-r.timestamp);if(o===0)return{x:0,y:0};const s={x:(i.x-r.x)/o,y:(i.y-r.y)/o};return s.x===1/0&&(s.x=0),s.y===1/0&&(s.y=0),s}function Em(e){let t=null;return()=>{const n=()=>{t=null};return t===null?(t=e,n):!1}}const wf=Em("dragHorizontal"),Sf=Em("dragVertical");function Rm(e){let t=!1;if(e==="y")t=Sf();else if(e==="x")t=wf();else{const n=wf(),r=Sf();n&&r?t=()=>{n(),r()}:(n&&n(),r&&r())}return t}function Mm(){const e=Rm(!0);return e?(e(),!1):!0}function jn(e){return e&&typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}const Am=1e-4,iw=1-Am,ow=1+Am,Nm=.01,sw=0-Nm,lw=0+Nm;function Le(e){return e.max-e.min}function aw(e,t,n){return Math.abs(e-t)<=n}function Pf(e,t,n,r=.5){e.origin=r,e.originPoint=H(t.min,t.max,e.origin),e.scale=Le(n)/Le(t),e.translate=H(n.min,n.max,e.origin)-e.originPoint,(e.scale>=iw&&e.scale<=ow||isNaN(e.scale))&&(e.scale=1),(e.translate>=sw&&e.translate<=lw||isNaN(e.translate))&&(e.translate=0)}function Ar(e,t,n,r){Pf(e.x,t.x,n.x,r?r.originX:void 0),Pf(e.y,t.y,n.y,r?r.originY:void 0)}function kf(e,t,n){e.min=n.min+t.min,e.max=e.min+Le(t)}function uw(e,t,n){kf(e.x,t.x,n.x),kf(e.y,t.y,n.y)}function Cf(e,t,n){e.min=t.min-n.min,e.max=e.min+Le(t)}function Nr(e,t,n){Cf(e.x,t.x,n.x),Cf(e.y,t.y,n.y)}function cw(e,{min:t,max:n},r){return t!==void 0&&e<t?e=r?H(t,e,r.min):Math.max(e,t):n!==void 0&&e>n&&(e=r?H(n,e,r.max):Math.min(e,n)),e}function Tf(e,t,n){return{min:t!==void 0?e.min+t:void 0,max:n!==void 0?e.max+n-(e.max-e.min):void 0}}function fw(e,{top:t,left:n,bottom:r,right:i}){return{x:Tf(e.x,n,i),y:Tf(e.y,t,r)}}function Ef(e,t){let n=t.min-e.min,r=t.max-e.max;return t.max-t.min<e.max-e.min&&([n,r]=[r,n]),{min:n,max:r}}function dw(e,t){return{x:Ef(e.x,t.x),y:Ef(e.y,t.y)}}function hw(e,t){let n=.5;const r=Le(e),i=Le(t);return i>r?n=Zn(t.min,t.max-r,e.min):r>i&&(n=Zn(e.min,e.max-i,t.min)),Bt(0,1,n)}function pw(e,t){const n={};return t.min!==void 0&&(n.min=t.min-e.min),t.max!==void 0&&(n.max=t.max-e.min),n}const Zl=.35;function mw(e=Zl){return e===!1?e=0:e===!0&&(e=Zl),{x:Rf(e,"left","right"),y:Rf(e,"top","bottom")}}function Rf(e,t,n){return{min:Mf(e,t),max:Mf(e,n)}}function Mf(e,t){return typeof e=="number"?e:e[t]||0}const Af=()=>({translate:0,scale:1,origin:0,originPoint:0}),Dn=()=>({x:Af(),y:Af()}),Nf=()=>({min:0,max:0}),Y=()=>({x:Nf(),y:Nf()});function _e(e){return[e("x"),e("y")]}function Lm({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function gw({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function yw(e,t){if(!t)return e;const n=t({x:e.left,y:e.top}),r=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:r.y,right:r.x}}function Os(e){return e===void 0||e===1}function ql({scale:e,scaleX:t,scaleY:n}){return!Os(e)||!Os(t)||!Os(n)}function Jt(e){return ql(e)||jm(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function jm(e){return Lf(e.x)||Lf(e.y)}function Lf(e){return e&&e!=="0%"}function Eo(e,t,n){const r=e-n,i=t*r;return n+i}function jf(e,t,n,r,i){return i!==void 0&&(e=Eo(e,i,r)),Eo(e,n,r)+t}function Jl(e,t=0,n=1,r,i){e.min=jf(e.min,t,n,r,i),e.max=jf(e.max,t,n,r,i)}function Dm(e,{x:t,y:n}){Jl(e.x,t.translate,t.scale,t.originPoint),Jl(e.y,n.translate,n.scale,n.originPoint)}const Df=.999999999999,Vf=1.0000000000001;function vw(e,t,n,r=!1){const i=n.length;if(!i)return;t.x=t.y=1;let o,s;for(let l=0;l<i;l++){o=n[l],s=o.projectionDelta;const{visualElement:a}=o.options;a&&a.props.style&&a.props.style.display==="contents"||(r&&o.options.layoutScroll&&o.scroll&&o!==o.root&&_n(e,{x:-o.scroll.offset.x,y:-o.scroll.offset.y}),s&&(t.x*=s.x.scale,t.y*=s.y.scale,Dm(e,s)),r&&Jt(o.latestValues)&&_n(e,o.latestValues))}t.x<Vf&&t.x>Df&&(t.x=1),t.y<Vf&&t.y>Df&&(t.y=1)}function Vn(e,t){e.min=e.min+t,e.max=e.max+t}function _f(e,t,n,r,i=.5){const o=H(e.min,e.max,i);Jl(e,t,n,o,r)}function _n(e,t){_f(e.x,t.x,t.scaleX,t.scale,t.originX),_f(e.y,t.y,t.scaleY,t.scale,t.originY)}function Vm(e,t){return Lm(yw(e.getBoundingClientRect(),t))}function xw(e,t,n){const r=Vm(e,n),{scroll:i}=t;return i&&(Vn(r.x,i.offset.x),Vn(r.y,i.offset.y)),r}const _m=({current:e})=>e?e.ownerDocument.defaultView:null,ww=new WeakMap;class Sw{constructor(t){this.openGlobalLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=Y(),this.visualElement=t}start(t,{snapToCursor:n=!1}={}){const{presenceContext:r}=this.visualElement;if(r&&r.isPresent===!1)return;const i=c=>{const{dragSnapToOrigin:f}=this.getProps();f?this.pauseAnimation():this.stopAnimation(),n&&this.snapToCursor(Zo(c,"page").point)},o=(c,f)=>{const{drag:d,dragPropagation:g,onDragStart:y}=this.getProps();if(d&&!g&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=Rm(d),!this.openGlobalLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),_e(P=>{let p=this.getAxisMotionValue(P).get()||0;if(tt.test(p)){const{projection:h}=this.visualElement;if(h&&h.layout){const m=h.layout.layoutBox[P];m&&(p=Le(m)*(parseFloat(p)/100))}}this.originPoint[P]=p}),y&&I.postRender(()=>y(c,f)),Xl(this.visualElement,"transform");const{animationState:v}=this.visualElement;v&&v.setActive("whileDrag",!0)},s=(c,f)=>{const{dragPropagation:d,dragDirectionLock:g,onDirectionLock:y,onDrag:v}=this.getProps();if(!d&&!this.openGlobalLock)return;const{offset:P}=f;if(g&&this.currentDirection===null){this.currentDirection=Pw(P),this.currentDirection!==null&&y&&y(this.currentDirection);return}this.updateAxis("x",f.point,P),this.updateAxis("y",f.point,P),this.visualElement.render(),v&&v(c,f)},l=(c,f)=>this.stop(c,f),a=()=>_e(c=>{var f;return this.getAnimationState(c)==="paused"&&((f=this.getAxisMotionValue(c).animation)===null||f===void 0?void 0:f.play())}),{dragSnapToOrigin:u}=this.getProps();this.panSession=new Cm(t,{onSessionStart:i,onStart:o,onMove:s,onSessionEnd:l,resumeAnimation:a},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:u,contextWindow:_m(this.visualElement)})}stop(t,n){const r=this.isDragging;if(this.cancel(),!r)return;const{velocity:i}=n;this.startAnimation(i);const{onDragEnd:o}=this.getProps();o&&I.postRender(()=>o(t,n))}cancel(){this.isDragging=!1;const{projection:t,animationState:n}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:r}=this.getProps();!r&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),n&&n.setActive("whileDrag",!1)}updateAxis(t,n,r){const{drag:i}=this.getProps();if(!r||!ji(t,i,this.currentDirection))return;const o=this.getAxisMotionValue(t);let s=this.originPoint[t]+r[t];this.constraints&&this.constraints[t]&&(s=cw(s,this.constraints[t],this.elastic[t])),o.set(s)}resolveConstraints(){var t;const{dragConstraints:n,dragElastic:r}=this.getProps(),i=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):(t=this.visualElement.projection)===null||t===void 0?void 0:t.layout,o=this.constraints;n&&jn(n)?this.constraints||(this.constraints=this.resolveRefConstraints()):n&&i?this.constraints=fw(i.layoutBox,n):this.constraints=!1,this.elastic=mw(r),o!==this.constraints&&i&&this.constraints&&!this.hasMutatedConstraints&&_e(s=>{this.constraints!==!1&&this.getAxisMotionValue(s)&&(this.constraints[s]=pw(i.layoutBox[s],this.constraints[s]))})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:n}=this.getProps();if(!t||!jn(t))return!1;const r=t.current,{projection:i}=this.visualElement;if(!i||!i.layout)return!1;const o=xw(r,i.root,this.visualElement.getTransformPagePoint());let s=dw(i.layout.layoutBox,o);if(n){const l=n(gw(s));this.hasMutatedConstraints=!!l,l&&(s=Lm(l))}return s}startAnimation(t){const{drag:n,dragMomentum:r,dragElastic:i,dragTransition:o,dragSnapToOrigin:s,onDragTransitionEnd:l}=this.getProps(),a=this.constraints||{},u=_e(c=>{if(!ji(c,n,this.currentDirection))return;let f=a&&a[c]||{};s&&(f={min:0,max:0});const d=i?200:1e6,g=i?40:1e7,y={type:"inertia",velocity:r?t[c]:0,bounceStiffness:d,bounceDamping:g,timeConstant:750,restDelta:1,restSpeed:10,...o,...f};return this.startAxisValueAnimation(c,y)});return Promise.all(u).then(l)}startAxisValueAnimation(t,n){const r=this.getAxisMotionValue(t);return Xl(this.visualElement,t),r.start(pu(t,r,0,n,this.visualElement,!1))}stopAnimation(){_e(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){_e(t=>{var n;return(n=this.getAxisMotionValue(t).animation)===null||n===void 0?void 0:n.pause()})}getAnimationState(t){var n;return(n=this.getAxisMotionValue(t).animation)===null||n===void 0?void 0:n.state}getAxisMotionValue(t){const n=`_drag${t.toUpperCase()}`,r=this.visualElement.getProps(),i=r[n];return i||this.visualElement.getValue(t,(r.initial?r.initial[t]:void 0)||0)}snapToCursor(t){_e(n=>{const{drag:r}=this.getProps();if(!ji(n,r,this.currentDirection))return;const{projection:i}=this.visualElement,o=this.getAxisMotionValue(n);if(i&&i.layout){const{min:s,max:l}=i.layout.layoutBox[n];o.set(t[n]-H(s,l,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:t,dragConstraints:n}=this.getProps(),{projection:r}=this.visualElement;if(!jn(n)||!r||!this.constraints)return;this.stopAnimation();const i={x:0,y:0};_e(s=>{const l=this.getAxisMotionValue(s);if(l&&this.constraints!==!1){const a=l.get();i[s]=hw({min:a,max:a},this.constraints[s])}});const{transformTemplate:o}=this.visualElement.getProps();this.visualElement.current.style.transform=o?o({},""):"none",r.root&&r.root.updateScroll(),r.updateLayout(),this.resolveConstraints(),_e(s=>{if(!ji(s,t,null))return;const l=this.getAxisMotionValue(s),{min:a,max:u}=this.constraints[s];l.set(H(a,u,i[s]))})}addListeners(){if(!this.visualElement.current)return;ww.set(this.visualElement,this);const t=this.visualElement.current,n=dt(t,"pointerdown",a=>{const{drag:u,dragListener:c=!0}=this.getProps();u&&c&&this.start(a)}),r=()=>{const{dragConstraints:a}=this.getProps();jn(a)&&a.current&&(this.constraints=this.resolveRefConstraints())},{projection:i}=this.visualElement,o=i.addEventListener("measure",r);i&&!i.layout&&(i.root&&i.root.updateScroll(),i.updateLayout()),I.read(r);const s=lt(window,"resize",()=>this.scalePositionWithinConstraints()),l=i.addEventListener("didUpdate",({delta:a,hasLayoutChanged:u})=>{this.isDragging&&u&&(_e(c=>{const f=this.getAxisMotionValue(c);f&&(this.originPoint[c]+=a[c].translate,f.set(f.get()+a[c].translate))}),this.visualElement.render())});return()=>{s(),n(),o(),l&&l()}}getProps(){const t=this.visualElement.getProps(),{drag:n=!1,dragDirectionLock:r=!1,dragPropagation:i=!1,dragConstraints:o=!1,dragElastic:s=Zl,dragMomentum:l=!0}=t;return{...t,drag:n,dragDirectionLock:r,dragPropagation:i,dragConstraints:o,dragElastic:s,dragMomentum:l}}}function ji(e,t,n){return(t===!0||t===e)&&(n===null||n===e)}function Pw(e,t=10){let n=null;return Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x"),n}class kw extends Kt{constructor(t){super(t),this.removeGroupControls=me,this.removeListeners=me,this.controls=new Sw(t)}mount(){const{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||me}unmount(){this.removeGroupControls(),this.removeListeners()}}const Of=e=>(t,n)=>{e&&I.postRender(()=>e(t,n))};class Cw extends Kt{constructor(){super(...arguments),this.removePointerDownListener=me}onPointerDown(t){this.session=new Cm(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:_m(this.node)})}createPanHandlers(){const{onPanSessionStart:t,onPanStart:n,onPan:r,onPanEnd:i}=this.node.getProps();return{onSessionStart:Of(t),onStart:Of(n),onMove:r,onEnd:(o,s)=>{delete this.session,i&&I.postRender(()=>i(o,s))}}}mount(){this.removePointerDownListener=dt(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}const qo=S.createContext(null);function Tw(){const e=S.useContext(qo);if(e===null)return[!0,null];const{isPresent:t,onExitComplete:n,register:r}=e,i=S.useId();S.useEffect(()=>r(i),[]);const o=S.useCallback(()=>n&&n(i),[i,n]);return!t&&n?[!1,o]:[!0]}const xu=S.createContext({}),Om=S.createContext({}),Qi={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function Ff(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const dr={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(N.test(e))e=parseFloat(e);else return e;const n=Ff(e,t.target.x),r=Ff(e,t.target.y);return`${n}% ${r}%`}},Ew={correct:(e,{treeScale:t,projectionDelta:n})=>{const r=e,i=Ut.parse(e);if(i.length>5)return r;const o=Ut.createTransformer(e),s=typeof i[0]!="number"?1:0,l=n.x.scale*t.x,a=n.y.scale*t.y;i[0+s]/=l,i[1+s]/=a;const u=H(l,a,.5);return typeof i[2+s]=="number"&&(i[2+s]/=u),typeof i[3+s]=="number"&&(i[3+s]/=u),o(i)}},Ro={};function Rw(e){Object.assign(Ro,e)}const{schedule:wu,cancel:DP}=Ip(queueMicrotask,!1);class Mw extends S.Component{componentDidMount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r,layoutId:i}=this.props,{projection:o}=t;Rw(Aw),o&&(n.group&&n.group.add(o),r&&r.register&&i&&r.register(o),o.root.didUpdate(),o.addEventListener("animationComplete",()=>{this.safeToRemove()}),o.setOptions({...o.options,onExitComplete:()=>this.safeToRemove()})),Qi.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){const{layoutDependency:n,visualElement:r,drag:i,isPresent:o}=this.props,s=r.projection;return s&&(s.isPresent=o,i||t.layoutDependency!==n||n===void 0?s.willUpdate():this.safeToRemove(),t.isPresent!==o&&(o?s.promote():s.relegate()||I.postRender(()=>{const l=s.getStack();(!l||!l.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),wu.postRender(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r}=this.props,{projection:i}=t;i&&(i.scheduleCheckAfterUnmount(),n&&n.group&&n.group.remove(i),r&&r.deregister&&r.deregister(i))}safeToRemove(){const{safeToRemove:t}=this.props;t&&t()}render(){return null}}function Fm(e){const[t,n]=Tw(),r=S.useContext(xu);return w.jsx(Mw,{...e,layoutGroup:r,switchLayoutGroup:S.useContext(Om),isPresent:t,safeToRemove:n})}const Aw={borderRadius:{...dr,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:dr,borderTopRightRadius:dr,borderBottomLeftRadius:dr,borderBottomRightRadius:dr,boxShadow:Ew},Im=["TopLeft","TopRight","BottomLeft","BottomRight"],Nw=Im.length,If=e=>typeof e=="string"?parseFloat(e):e,zf=e=>typeof e=="number"||N.test(e);function Lw(e,t,n,r,i,o){i?(e.opacity=H(0,n.opacity!==void 0?n.opacity:1,jw(r)),e.opacityExit=H(t.opacity!==void 0?t.opacity:1,0,Dw(r))):o&&(e.opacity=H(t.opacity!==void 0?t.opacity:1,n.opacity!==void 0?n.opacity:1,r));for(let s=0;s<Nw;s++){const l=`border${Im[s]}Radius`;let a=Bf(t,l),u=Bf(n,l);if(a===void 0&&u===void 0)continue;a||(a=0),u||(u=0),a===0||u===0||zf(a)===zf(u)?(e[l]=Math.max(H(If(a),If(u),r),0),(tt.test(u)||tt.test(a))&&(e[l]+="%")):e[l]=u}(t.rotate||n.rotate)&&(e.rotate=H(t.rotate||0,n.rotate||0,r))}function Bf(e,t){return e[t]!==void 0?e[t]:e.borderRadius}const jw=zm(0,.5,Kp),Dw=zm(.5,.95,me);function zm(e,t,n){return r=>r<e?0:r>t?1:n(Zn(e,t,r))}function Uf(e,t){e.min=t.min,e.max=t.max}function Ve(e,t){Uf(e.x,t.x),Uf(e.y,t.y)}function $f(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}function Wf(e,t,n,r,i){return e-=t,e=Eo(e,1/n,r),i!==void 0&&(e=Eo(e,1/i,r)),e}function Vw(e,t=0,n=1,r=.5,i,o=e,s=e){if(tt.test(t)&&(t=parseFloat(t),t=H(s.min,s.max,t/100)-s.min),typeof t!="number")return;let l=H(o.min,o.max,r);e===o&&(l-=t),e.min=Wf(e.min,t,n,l,i),e.max=Wf(e.max,t,n,l,i)}function Hf(e,t,[n,r,i],o,s){Vw(e,t[n],t[r],t[i],t.scale,o,s)}const _w=["x","scaleX","originX"],Ow=["y","scaleY","originY"];function Kf(e,t,n,r){Hf(e.x,t,_w,n?n.x:void 0,r?r.x:void 0),Hf(e.y,t,Ow,n?n.y:void 0,r?r.y:void 0)}function Gf(e){return e.translate===0&&e.scale===1}function Bm(e){return Gf(e.x)&&Gf(e.y)}function Qf(e,t){return e.min===t.min&&e.max===t.max}function Fw(e,t){return Qf(e.x,t.x)&&Qf(e.y,t.y)}function Xf(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function Um(e,t){return Xf(e.x,t.x)&&Xf(e.y,t.y)}function Yf(e){return Le(e.x)/Le(e.y)}function Zf(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}class Iw{constructor(){this.members=[]}add(t){mu(this.members,t),t.scheduleRender()}remove(t){if(gu(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){const n=this.members[this.members.length-1];n&&this.promote(n)}}relegate(t){const n=this.members.findIndex(i=>t===i);if(n===0)return!1;let r;for(let i=n;i>=0;i--){const o=this.members[i];if(o.isPresent!==!1){r=o;break}}return r?(this.promote(r),!0):!1}promote(t,n){const r=this.lead;if(t!==r&&(this.prevLead=r,this.lead=t,t.show(),r)){r.instance&&r.scheduleRender(),t.scheduleRender(),t.resumeFrom=r,n&&(t.resumeFrom.preserveOpacity=!0),r.snapshot&&(t.snapshot=r.snapshot,t.snapshot.latestValues=r.animationValues||r.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0);const{crossfade:i}=t.options;i===!1&&r.hide()}}exitAnimationComplete(){this.members.forEach(t=>{const{options:n,resumingFrom:r}=t;n.onExitComplete&&n.onExitComplete(),r&&r.options.onExitComplete&&r.options.onExitComplete()})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function zw(e,t,n){let r="";const i=e.x.translate/t.x,o=e.y.translate/t.y,s=(n==null?void 0:n.z)||0;if((i||o||s)&&(r=`translate3d(${i}px, ${o}px, ${s}px) `),(t.x!==1||t.y!==1)&&(r+=`scale(${1/t.x}, ${1/t.y}) `),n){const{transformPerspective:u,rotate:c,rotateX:f,rotateY:d,skewX:g,skewY:y}=n;u&&(r=`perspective(${u}px) ${r}`),c&&(r+=`rotate(${c}deg) `),f&&(r+=`rotateX(${f}deg) `),d&&(r+=`rotateY(${d}deg) `),g&&(r+=`skewX(${g}deg) `),y&&(r+=`skewY(${y}deg) `)}const l=e.x.scale*t.x,a=e.y.scale*t.y;return(l!==1||a!==1)&&(r+=`scale(${l}, ${a})`),r||"none"}const Bw=(e,t)=>e.depth-t.depth;class Uw{constructor(){this.children=[],this.isDirty=!1}add(t){mu(this.children,t),this.isDirty=!0}remove(t){gu(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(Bw),this.isDirty=!1,this.children.forEach(t)}}function Xi(e){const t=pe(e)?e.get():e;return jx(t)?t.toValue():t}function $w(e,t){const n=nt.now(),r=({timestamp:i})=>{const o=i-n;o>=t&&(zt(r),e(o-t))};return I.read(r,!0),()=>zt(r)}function Ww(e){return e instanceof SVGElement&&e.tagName!=="svg"}function Hw(e,t,n){const r=pe(e)?e:br(e);return r.start(pu("",r,t,n)),r.animation}const bt={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0},vr=typeof window<"u"&&window.MotionDebug!==void 0,Fs=["","X","Y","Z"],Kw={visibility:"hidden"},qf=1e3;let Gw=0;function Is(e,t,n,r){const{latestValues:i}=t;i[e]&&(n[e]=i[e],t.setStaticValue(e,0),r&&(r[e]=0))}function $m(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;const{visualElement:t}=e.options;if(!t)return;const n=wm(t);if(window.MotionHasOptimisedAnimation(n,"transform")){const{layout:i,layoutId:o}=e.options;window.MotionCancelOptimisedAnimation(n,"transform",I,!(i||o))}const{parent:r}=e;r&&!r.hasCheckedOptimisedAppear&&$m(r)}function Wm({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:i}){return class{constructor(s={},l=t==null?void 0:t()){this.id=Gw++,this.animationId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,vr&&(bt.totalNodes=bt.resolvedTargetDeltas=bt.recalculatedProjection=0),this.nodes.forEach(Yw),this.nodes.forEach(eS),this.nodes.forEach(tS),this.nodes.forEach(Zw),vr&&window.MotionDebug.record(bt)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=s,this.root=l?l.root||l:this,this.path=l?[...l.path,l]:[],this.parent=l,this.depth=l?l.depth+1:0;for(let a=0;a<this.path.length;a++)this.path[a].shouldResetTransform=!0;this.root===this&&(this.nodes=new Uw)}addEventListener(s,l){return this.eventHandlers.has(s)||this.eventHandlers.set(s,new yu),this.eventHandlers.get(s).add(l)}notifyListeners(s,...l){const a=this.eventHandlers.get(s);a&&a.notify(...l)}hasListeners(s){return this.eventHandlers.has(s)}mount(s,l=this.root.hasTreeAnimated){if(this.instance)return;this.isSVG=Ww(s),this.instance=s;const{layoutId:a,layout:u,visualElement:c}=this.options;if(c&&!c.current&&c.mount(s),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),l&&(u||a)&&(this.isLayoutDirty=!0),e){let f;const d=()=>this.root.updateBlockedByResize=!1;e(s,()=>{this.root.updateBlockedByResize=!0,f&&f(),f=$w(d,250),Qi.hasAnimatedSinceResize&&(Qi.hasAnimatedSinceResize=!1,this.nodes.forEach(bf))})}a&&this.root.registerSharedNode(a,this),this.options.animate!==!1&&c&&(a||u)&&this.addEventListener("didUpdate",({delta:f,hasLayoutChanged:d,hasRelativeTargetChanged:g,layout:y})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const v=this.options.transition||c.getDefaultTransition()||sS,{onLayoutAnimationStart:P,onLayoutAnimationComplete:p}=c.getProps(),h=!this.targetLayout||!Um(this.targetLayout,y)||g,m=!d&&g;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||m||d&&(h||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(f,m);const x={...eu(v,"layout"),onPlay:P,onComplete:p};(c.shouldReduceMotion||this.options.layoutRoot)&&(x.delay=0,x.type=!1),this.startAnimation(x)}else d||bf(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=y})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const s=this.getStack();s&&s.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,zt(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(nS),this.animationId++)}getTransformTemplate(){const{visualElement:s}=this.options;return s&&s.getProps().transformTemplate}willUpdate(s=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&$m(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let c=0;c<this.path.length;c++){const f=this.path[c];f.shouldResetTransform=!0,f.updateScroll("snapshot"),f.options.layoutRoot&&f.willUpdate(!1)}const{layoutId:l,layout:a}=this.options;if(l===void 0&&!a)return;const u=this.getTransformTemplate();this.prevTransformTemplateValue=u?u(this.latestValues,""):void 0,this.updateSnapshot(),s&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(Jf);return}this.isUpdating||this.nodes.forEach(Jw),this.isUpdating=!1,this.nodes.forEach(bw),this.nodes.forEach(Qw),this.nodes.forEach(Xw),this.clearAllSnapshots();const l=nt.now();le.delta=Bt(0,1e3/60,l-le.timestamp),le.timestamp=l,le.isProcessing=!0,As.update.process(le),As.preRender.process(le),As.render.process(le),le.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,wu.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(qw),this.sharedNodes.forEach(rS)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,I.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){I.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure())}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let a=0;a<this.path.length;a++)this.path[a].updateScroll();const s=this.layout;this.layout=this.measure(!1),this.layoutCorrected=Y(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:l}=this.options;l&&l.notify("LayoutMeasure",this.layout.layoutBox,s?s.layoutBox:void 0)}updateScroll(s="measure"){let l=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===s&&(l=!1),l){const a=r(this.instance);this.scroll={animationId:this.root.animationId,phase:s,isRoot:a,offset:n(this.instance),wasRoot:this.scroll?this.scroll.isRoot:a}}}resetTransform(){if(!i)return;const s=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,l=this.projectionDelta&&!Bm(this.projectionDelta),a=this.getTransformTemplate(),u=a?a(this.latestValues,""):void 0,c=u!==this.prevTransformTemplateValue;s&&(l||Jt(this.latestValues)||c)&&(i(this.instance,u),this.shouldResetTransform=!1,this.scheduleRender())}measure(s=!0){const l=this.measurePageBox();let a=this.removeElementScroll(l);return s&&(a=this.removeTransform(a)),lS(a),{animationId:this.root.animationId,measuredBox:l,layoutBox:a,latestValues:{},source:this.id}}measurePageBox(){var s;const{visualElement:l}=this.options;if(!l)return Y();const a=l.measureViewportBox();if(!(((s=this.scroll)===null||s===void 0?void 0:s.wasRoot)||this.path.some(aS))){const{scroll:c}=this.root;c&&(Vn(a.x,c.offset.x),Vn(a.y,c.offset.y))}return a}removeElementScroll(s){var l;const a=Y();if(Ve(a,s),!((l=this.scroll)===null||l===void 0)&&l.wasRoot)return a;for(let u=0;u<this.path.length;u++){const c=this.path[u],{scroll:f,options:d}=c;c!==this.root&&f&&d.layoutScroll&&(f.wasRoot&&Ve(a,s),Vn(a.x,f.offset.x),Vn(a.y,f.offset.y))}return a}applyTransform(s,l=!1){const a=Y();Ve(a,s);for(let u=0;u<this.path.length;u++){const c=this.path[u];!l&&c.options.layoutScroll&&c.scroll&&c!==c.root&&_n(a,{x:-c.scroll.offset.x,y:-c.scroll.offset.y}),Jt(c.latestValues)&&_n(a,c.latestValues)}return Jt(this.latestValues)&&_n(a,this.latestValues),a}removeTransform(s){const l=Y();Ve(l,s);for(let a=0;a<this.path.length;a++){const u=this.path[a];if(!u.instance||!Jt(u.latestValues))continue;ql(u.latestValues)&&u.updateSnapshot();const c=Y(),f=u.measurePageBox();Ve(c,f),Kf(l,u.latestValues,u.snapshot?u.snapshot.layoutBox:void 0,c)}return Jt(this.latestValues)&&Kf(l,this.latestValues),l}setTargetDelta(s){this.targetDelta=s,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(s){this.options={...this.options,...s,crossfade:s.crossfade!==void 0?s.crossfade:!0}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==le.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(s=!1){var l;const a=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=a.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=a.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=a.isSharedProjectionDirty);const u=!!this.resumingFrom||this!==a;if(!(s||u&&this.isSharedProjectionDirty||this.isProjectionDirty||!((l=this.parent)===null||l===void 0)&&l.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:f,layoutId:d}=this.options;if(!(!this.layout||!(f||d))){if(this.resolvedRelativeTargetAt=le.timestamp,!this.targetDelta&&!this.relativeTarget){const g=this.getClosestProjectingParent();g&&g.layout&&this.animationProgress!==1?(this.relativeParent=g,this.forceRelativeParentToResolveTarget(),this.relativeTarget=Y(),this.relativeTargetOrigin=Y(),Nr(this.relativeTargetOrigin,this.layout.layoutBox,g.layout.layoutBox),Ve(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(!(!this.relativeTarget&&!this.targetDelta)){if(this.target||(this.target=Y(),this.targetWithTransforms=Y()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),uw(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):Ve(this.target,this.layout.layoutBox),Dm(this.target,this.targetDelta)):Ve(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;const g=this.getClosestProjectingParent();g&&!!g.resumingFrom==!!this.resumingFrom&&!g.options.layoutScroll&&g.target&&this.animationProgress!==1?(this.relativeParent=g,this.forceRelativeParentToResolveTarget(),this.relativeTarget=Y(),this.relativeTargetOrigin=Y(),Nr(this.relativeTargetOrigin,this.target,g.target),Ve(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}vr&&bt.resolvedTargetDeltas++}}}getClosestProjectingParent(){if(!(!this.parent||ql(this.parent.latestValues)||jm(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){var s;const l=this.getLead(),a=!!this.resumingFrom||this!==l;let u=!0;if((this.isProjectionDirty||!((s=this.parent)===null||s===void 0)&&s.isProjectionDirty)&&(u=!1),a&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(u=!1),this.resolvedRelativeTargetAt===le.timestamp&&(u=!1),u)return;const{layout:c,layoutId:f}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(c||f))return;Ve(this.layoutCorrected,this.layout.layoutBox);const d=this.treeScale.x,g=this.treeScale.y;vw(this.layoutCorrected,this.treeScale,this.path,a),l.layout&&!l.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(l.target=l.layout.layoutBox,l.targetWithTransforms=Y());const{target:y}=l;if(!y){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():($f(this.prevProjectionDelta.x,this.projectionDelta.x),$f(this.prevProjectionDelta.y,this.projectionDelta.y)),Ar(this.projectionDelta,this.layoutCorrected,y,this.latestValues),(this.treeScale.x!==d||this.treeScale.y!==g||!Zf(this.projectionDelta.x,this.prevProjectionDelta.x)||!Zf(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",y)),vr&&bt.recalculatedProjection++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(s=!0){var l;if((l=this.options.visualElement)===null||l===void 0||l.scheduleRender(),s){const a=this.getStack();a&&a.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=Dn(),this.projectionDelta=Dn(),this.projectionDeltaWithTransform=Dn()}setAnimationOrigin(s,l=!1){const a=this.snapshot,u=a?a.latestValues:{},c={...this.latestValues},f=Dn();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!l;const d=Y(),g=a?a.source:void 0,y=this.layout?this.layout.source:void 0,v=g!==y,P=this.getStack(),p=!P||P.members.length<=1,h=!!(v&&!p&&this.options.crossfade===!0&&!this.path.some(oS));this.animationProgress=0;let m;this.mixTargetDelta=x=>{const k=x/1e3;ed(f.x,s.x,k),ed(f.y,s.y,k),this.setTargetDelta(f),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(Nr(d,this.layout.layoutBox,this.relativeParent.layout.layoutBox),iS(this.relativeTarget,this.relativeTargetOrigin,d,k),m&&Fw(this.relativeTarget,m)&&(this.isProjectionDirty=!1),m||(m=Y()),Ve(m,this.relativeTarget)),v&&(this.animationValues=c,Lw(c,u,this.latestValues,k,h,p)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=k},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(s){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&(zt(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=I.update(()=>{Qi.hasAnimatedSinceResize=!0,this.currentAnimation=Hw(0,qf,{...s,onUpdate:l=>{this.mixTargetDelta(l),s.onUpdate&&s.onUpdate(l)},onComplete:()=>{s.onComplete&&s.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 s=this.getStack();s&&s.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(qf),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const s=this.getLead();let{targetWithTransforms:l,target:a,layout:u,latestValues:c}=s;if(!(!l||!a||!u)){if(this!==s&&this.layout&&u&&Hm(this.options.animationType,this.layout.layoutBox,u.layoutBox)){a=this.target||Y();const f=Le(this.layout.layoutBox.x);a.x.min=s.target.x.min,a.x.max=a.x.min+f;const d=Le(this.layout.layoutBox.y);a.y.min=s.target.y.min,a.y.max=a.y.min+d}Ve(l,a),_n(l,c),Ar(this.projectionDeltaWithTransform,this.layoutCorrected,l,c)}}registerSharedNode(s,l){this.sharedNodes.has(s)||this.sharedNodes.set(s,new Iw),this.sharedNodes.get(s).add(l);const u=l.options.initialPromotionConfig;l.promote({transition:u?u.transition:void 0,preserveFollowOpacity:u&&u.shouldPreserveFollowOpacity?u.shouldPreserveFollowOpacity(l):void 0})}isLead(){const s=this.getStack();return s?s.lead===this:!0}getLead(){var s;const{layoutId:l}=this.options;return l?((s=this.getStack())===null||s===void 0?void 0:s.lead)||this:this}getPrevLead(){var s;const{layoutId:l}=this.options;return l?(s=this.getStack())===null||s===void 0?void 0:s.prevLead:void 0}getStack(){const{layoutId:s}=this.options;if(s)return this.root.sharedNodes.get(s)}promote({needsReset:s,transition:l,preserveFollowOpacity:a}={}){const u=this.getStack();u&&u.promote(this,a),s&&(this.projectionDelta=void 0,this.needsReset=!0),l&&this.setOptions({transition:l})}relegate(){const s=this.getStack();return s?s.relegate(this):!1}resetSkewAndRotation(){const{visualElement:s}=this.options;if(!s)return;let l=!1;const{latestValues:a}=s;if((a.z||a.rotate||a.rotateX||a.rotateY||a.rotateZ||a.skewX||a.skewY)&&(l=!0),!l)return;const u={};a.z&&Is("z",s,u,this.animationValues);for(let c=0;c<Fs.length;c++)Is(`rotate${Fs[c]}`,s,u,this.animationValues),Is(`skew${Fs[c]}`,s,u,this.animationValues);s.render();for(const c in u)s.setStaticValue(c,u[c]),this.animationValues&&(this.animationValues[c]=u[c]);s.scheduleRender()}getProjectionStyles(s){var l,a;if(!this.instance||this.isSVG)return;if(!this.isVisible)return Kw;const u={visibility:""},c=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,u.opacity="",u.pointerEvents=Xi(s==null?void 0:s.pointerEvents)||"",u.transform=c?c(this.latestValues,""):"none",u;const f=this.getLead();if(!this.projectionDelta||!this.layout||!f.target){const v={};return this.options.layoutId&&(v.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,v.pointerEvents=Xi(s==null?void 0:s.pointerEvents)||""),this.hasProjected&&!Jt(this.latestValues)&&(v.transform=c?c({},""):"none",this.hasProjected=!1),v}const d=f.animationValues||f.latestValues;this.applyTransformsToTarget(),u.transform=zw(this.projectionDeltaWithTransform,this.treeScale,d),c&&(u.transform=c(d,u.transform));const{x:g,y}=this.projectionDelta;u.transformOrigin=`${g.origin*100}% ${y.origin*100}% 0`,f.animationValues?u.opacity=f===this?(a=(l=d.opacity)!==null&&l!==void 0?l:this.latestValues.opacity)!==null&&a!==void 0?a:1:this.preserveOpacity?this.latestValues.opacity:d.opacityExit:u.opacity=f===this?d.opacity!==void 0?d.opacity:"":d.opacityExit!==void 0?d.opacityExit:0;for(const v in Ro){if(d[v]===void 0)continue;const{correct:P,applyTo:p}=Ro[v],h=u.transform==="none"?d[v]:P(d[v],f);if(p){const m=p.length;for(let x=0;x<m;x++)u[p[x]]=h}else u[v]=h}return this.options.layoutId&&(u.pointerEvents=f===this?Xi(s==null?void 0:s.pointerEvents)||"":"none"),u}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(s=>{var l;return(l=s.currentAnimation)===null||l===void 0?void 0:l.stop()}),this.root.nodes.forEach(Jf),this.root.sharedNodes.clear()}}}function Qw(e){e.updateLayout()}function Xw(e){var t;const n=((t=e.resumeFrom)===null||t===void 0?void 0:t.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&n&&e.hasListeners("didUpdate")){const{layoutBox:r,measuredBox:i}=e.layout,{animationType:o}=e.options,s=n.source!==e.layout.source;o==="size"?_e(f=>{const d=s?n.measuredBox[f]:n.layoutBox[f],g=Le(d);d.min=r[f].min,d.max=d.min+g}):Hm(o,n.layoutBox,r)&&_e(f=>{const d=s?n.measuredBox[f]:n.layoutBox[f],g=Le(r[f]);d.max=d.min+g,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[f].max=e.relativeTarget[f].min+g)});const l=Dn();Ar(l,r,n.layoutBox);const a=Dn();s?Ar(a,e.applyTransform(i,!0),n.measuredBox):Ar(a,r,n.layoutBox);const u=!Bm(l);let c=!1;if(!e.resumeFrom){const f=e.getClosestProjectingParent();if(f&&!f.resumeFrom){const{snapshot:d,layout:g}=f;if(d&&g){const y=Y();Nr(y,n.layoutBox,d.layoutBox);const v=Y();Nr(v,r,g.layoutBox),Um(y,v)||(c=!0),f.options.layoutRoot&&(e.relativeTarget=v,e.relativeTargetOrigin=y,e.relativeParent=f)}}}e.notifyListeners("didUpdate",{layout:r,snapshot:n,delta:a,layoutDelta:l,hasLayoutChanged:u,hasRelativeTargetChanged:c})}else if(e.isLead()){const{onExitComplete:r}=e.options;r&&r()}e.options.transition=void 0}function Yw(e){vr&&bt.totalNodes++,e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function Zw(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function qw(e){e.clearSnapshot()}function Jf(e){e.clearMeasurements()}function Jw(e){e.isLayoutDirty=!1}function bw(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function bf(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function eS(e){e.resolveTargetDelta()}function tS(e){e.calcProjection()}function nS(e){e.resetSkewAndRotation()}function rS(e){e.removeLeadSnapshot()}function ed(e,t,n){e.translate=H(t.translate,0,n),e.scale=H(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function td(e,t,n,r){e.min=H(t.min,n.min,r),e.max=H(t.max,n.max,r)}function iS(e,t,n,r){td(e.x,t.x,n.x,r),td(e.y,t.y,n.y,r)}function oS(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}const sS={duration:.45,ease:[.4,0,.1,1]},nd=e=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),rd=nd("applewebkit/")&&!nd("chrome/")?Math.round:me;function id(e){e.min=rd(e.min),e.max=rd(e.max)}function lS(e){id(e.x),id(e.y)}function Hm(e,t,n){return e==="position"||e==="preserve-aspect"&&!aw(Yf(t),Yf(n),.2)}function aS(e){var t;return e!==e.root&&((t=e.scroll)===null||t===void 0?void 0:t.wasRoot)}const uS=Wm({attachResizeListener:(e,t)=>lt(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),zs={current:void 0},Km=Wm({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!zs.current){const e=new uS({});e.mount(window),e.setOptions({layoutScroll:!0}),zs.current=e}return zs.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"}),cS={pan:{Feature:Cw},drag:{Feature:kw,ProjectionNode:Km,MeasureLayout:Fm}};function od(e,t){const n=t?"pointerenter":"pointerleave",r=t?"onHoverStart":"onHoverEnd",i=(o,s)=>{if(o.pointerType==="touch"||Mm())return;const l=e.getProps();e.animationState&&l.whileHover&&e.animationState.setActive("whileHover",t);const a=l[r];a&&I.postRender(()=>a(o,s))};return dt(e.current,n,i,{passive:!e.getProps()[r]})}class fS extends Kt{mount(){this.unmount=ft(od(this.node,!0),od(this.node,!1))}unmount(){}}class dS extends Kt{constructor(){super(...arguments),this.isActive=!1}onFocus(){let t=!1;try{t=this.node.current.matches(":focus-visible")}catch{t=!0}!t||!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=ft(lt(this.node.current,"focus",()=>this.onFocus()),lt(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}const Gm=(e,t)=>t?e===t?!0:Gm(e,t.parentElement):!1;function Bs(e,t){if(!t)return;const n=new PointerEvent("pointer"+e);t(n,Zo(n))}class hS extends Kt{constructor(){super(...arguments),this.removeStartListeners=me,this.removeEndListeners=me,this.removeAccessibleListeners=me,this.startPointerPress=(t,n)=>{if(this.isPressing)return;this.removeEndListeners();const r=this.node.getProps(),o=dt(window,"pointerup",(l,a)=>{if(!this.checkPressEnd())return;const{onTap:u,onTapCancel:c,globalTapTarget:f}=this.node.getProps(),d=!f&&!Gm(this.node.current,l.target)?c:u;d&&I.update(()=>d(l,a))},{passive:!(r.onTap||r.onPointerUp)}),s=dt(window,"pointercancel",(l,a)=>this.cancelPress(l,a),{passive:!(r.onTapCancel||r.onPointerCancel)});this.removeEndListeners=ft(o,s),this.startPress(t,n)},this.startAccessiblePress=()=>{const t=o=>{if(o.key!=="Enter"||this.isPressing)return;const s=l=>{l.key!=="Enter"||!this.checkPressEnd()||Bs("up",(a,u)=>{const{onTap:c}=this.node.getProps();c&&I.postRender(()=>c(a,u))})};this.removeEndListeners(),this.removeEndListeners=lt(this.node.current,"keyup",s),Bs("down",(l,a)=>{this.startPress(l,a)})},n=lt(this.node.current,"keydown",t),r=()=>{this.isPressing&&Bs("cancel",(o,s)=>this.cancelPress(o,s))},i=lt(this.node.current,"blur",r);this.removeAccessibleListeners=ft(n,i)}}startPress(t,n){this.isPressing=!0;const{onTapStart:r,whileTap:i}=this.node.getProps();i&&this.node.animationState&&this.node.animationState.setActive("whileTap",!0),r&&I.postRender(()=>r(t,n))}checkPressEnd(){return this.removeEndListeners(),this.isPressing=!1,this.node.getProps().whileTap&&this.node.animationState&&this.node.animationState.setActive("whileTap",!1),!Mm()}cancelPress(t,n){if(!this.checkPressEnd())return;const{onTapCancel:r}=this.node.getProps();r&&I.postRender(()=>r(t,n))}mount(){const t=this.node.getProps(),n=dt(t.globalTapTarget?window:this.node.current,"pointerdown",this.startPointerPress,{passive:!(t.onTapStart||t.onPointerStart)}),r=lt(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=ft(n,r)}unmount(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners()}}const bl=new WeakMap,Us=new WeakMap,pS=e=>{const t=bl.get(e.target);t&&t(e)},mS=e=>{e.forEach(pS)};function gS({root:e,...t}){const n=e||document;Us.has(n)||Us.set(n,{});const r=Us.get(n),i=JSON.stringify(t);return r[i]||(r[i]=new IntersectionObserver(mS,{root:e,...t})),r[i]}function yS(e,t,n){const r=gS(t);return bl.set(e,n),r.observe(e),()=>{bl.delete(e),r.unobserve(e)}}const vS={some:0,all:1};class xS extends Kt{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:t={}}=this.node.getProps(),{root:n,margin:r,amount:i="some",once:o}=t,s={root:n?n.current:void 0,rootMargin:r,threshold:typeof i=="number"?i:vS[i]},l=a=>{const{isIntersecting:u}=a;if(this.isInView===u||(this.isInView=u,o&&!u&&this.hasEnteredView))return;u&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",u);const{onViewportEnter:c,onViewportLeave:f}=this.node.getProps(),d=u?c:f;d&&d(a)};return yS(this.node.current,s,l)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:t,prevProps:n}=this.node;["amount","margin","root"].some(wS(t,n))&&this.startObserver()}unmount(){}}function wS({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}const SS={inView:{Feature:xS},tap:{Feature:hS},focus:{Feature:dS},hover:{Feature:fS}},PS={layout:{ProjectionNode:Km,MeasureLayout:Fm}},Su=S.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"}),Jo=S.createContext({}),Pu=typeof window<"u",Qm=Pu?S.useLayoutEffect:S.useEffect,Xm=S.createContext({strict:!1});function kS(e,t,n,r,i){var o,s;const{visualElement:l}=S.useContext(Jo),a=S.useContext(Xm),u=S.useContext(qo),c=S.useContext(Su).reducedMotion,f=S.useRef();r=r||a.renderer,!f.current&&r&&(f.current=r(e,{visualState:t,parent:l,props:n,presenceContext:u,blockInitialAnimation:u?u.initial===!1:!1,reducedMotionConfig:c}));const d=f.current,g=S.useContext(Om);d&&!d.projection&&i&&(d.type==="html"||d.type==="svg")&&CS(f.current,n,i,g);const y=S.useRef(!1);S.useInsertionEffect(()=>{d&&y.current&&d.update(n,u)});const v=n[xm],P=S.useRef(!!v&&!(!((o=window.MotionHandoffIsComplete)===null||o===void 0)&&o.call(window,v))&&((s=window.MotionHasOptimisedAnimation)===null||s===void 0?void 0:s.call(window,v)));return Qm(()=>{d&&(y.current=!0,window.MotionIsMounted=!0,d.updateFeatures(),wu.render(d.render),P.current&&d.animationState&&d.animationState.animateChanges())}),S.useEffect(()=>{d&&(!P.current&&d.animationState&&d.animationState.animateChanges(),P.current&&(queueMicrotask(()=>{var p;(p=window.MotionHandoffMarkAsComplete)===null||p===void 0||p.call(window,v)}),P.current=!1))}),d}function CS(e,t,n,r){const{layoutId:i,layout:o,drag:s,dragConstraints:l,layoutScroll:a,layoutRoot:u}=t;e.projection=new n(e.latestValues,t["data-framer-portal-id"]?void 0:Ym(e.parent)),e.projection.setOptions({layoutId:i,layout:o,alwaysMeasureLayout:!!s||l&&jn(l),visualElement:e,animationType:typeof o=="string"?o:"both",initialPromotionConfig:r,layoutScroll:a,layoutRoot:u})}function Ym(e){if(e)return e.options.allowProjection!==!1?e.projection:Ym(e.parent)}function TS(e,t,n){return S.useCallback(r=>{r&&e.mount&&e.mount(r),t&&(r?t.mount(r):t.unmount()),n&&(typeof n=="function"?n(r):jn(n)&&(n.current=r))},[t])}function bo(e){return Qo(e.animate)||ba.some(t=>Zr(e[t]))}function Zm(e){return!!(bo(e)||e.variants)}function ES(e,t){if(bo(e)){const{initial:n,animate:r}=e;return{initial:n===!1||Zr(n)?n:void 0,animate:Zr(r)?r:void 0}}return e.inherit!==!1?t:{}}function RS(e){const{initial:t,animate:n}=ES(e,S.useContext(Jo));return S.useMemo(()=>({initial:t,animate:n}),[sd(t),sd(n)])}function sd(e){return Array.isArray(e)?e.join(" "):e}const ld={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"]},qn={};for(const e in ld)qn[e]={isEnabled:t=>ld[e].some(n=>!!t[n])};function MS(e){for(const t in e)qn[t]={...qn[t],...e[t]}}const AS=Symbol.for("motionComponentSymbol");function NS({preloadedFeatures:e,createVisualElement:t,useRender:n,useVisualState:r,Component:i}){e&&MS(e);function o(l,a){let u;const c={...S.useContext(Su),...l,layoutId:LS(l)},{isStatic:f}=c,d=RS(l),g=r(l,f);if(!f&&Pu){jS();const y=DS(c);u=y.MeasureLayout,d.visualElement=kS(i,g,c,t,y.ProjectionNode)}return w.jsxs(Jo.Provider,{value:d,children:[u&&d.visualElement?w.jsx(u,{visualElement:d.visualElement,...c}):null,n(i,l,TS(g,d.visualElement,a),g,f,d.visualElement)]})}const s=S.forwardRef(o);return s[AS]=i,s}function LS({layoutId:e}){const t=S.useContext(xu).id;return t&&e!==void 0?t+"-"+e:e}function jS(e,t){S.useContext(Xm).strict}function DS(e){const{drag:t,layout:n}=qn;if(!t&&!n)return{};const r={...t,...n};return{MeasureLayout:t!=null&&t.isEnabled(e)||n!=null&&n.isEnabled(e)?r.MeasureLayout:void 0,ProjectionNode:r.ProjectionNode}}const VS=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function ku(e){return typeof e!="string"||e.includes("-")?!1:!!(VS.indexOf(e)>-1||/[A-Z]/u.test(e))}function qm(e,{style:t,vars:n},r,i){Object.assign(e.style,t,i&&i.getProjectionStyles(r));for(const o in n)e.style.setProperty(o,n[o])}const Jm=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);function bm(e,t,n,r){qm(e,t,void 0,r);for(const i in t.attrs)e.setAttribute(Jm.has(i)?i:vu(i),t.attrs[i])}function eg(e,{layout:t,layoutId:n}){return yn.has(e)||e.startsWith("origin")||(t||n!==void 0)&&(!!Ro[e]||e==="opacity")}function Cu(e,t,n){var r;const{style:i}=e,o={};for(const s in i)(pe(i[s])||t.style&&pe(t.style[s])||eg(s,e)||((r=n==null?void 0:n.getValue(s))===null||r===void 0?void 0:r.liveStyle)!==void 0)&&(o[s]=i[s]);return o}function tg(e,t,n){const r=Cu(e,t,n);for(const i in e)if(pe(e[i])||pe(t[i])){const o=li.indexOf(i)!==-1?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i;r[o]=e[i]}return r}function Tu(e){const t=S.useRef(null);return t.current===null&&(t.current=e()),t.current}function _S({scrapeMotionValuesFromProps:e,createRenderState:t,onMount:n},r,i,o){const s={latestValues:OS(r,i,o,e),renderState:t()};return n&&(s.mount=l=>n(r,l,s)),s}const ng=e=>(t,n)=>{const r=S.useContext(Jo),i=S.useContext(qo),o=()=>_S(e,t,r,i);return n?o():Tu(o)};function OS(e,t,n,r){const i={},o=r(e,{});for(const d in o)i[d]=Xi(o[d]);let{initial:s,animate:l}=e;const a=bo(e),u=Zm(e);t&&u&&!a&&e.inherit!==!1&&(s===void 0&&(s=t.initial),l===void 0&&(l=t.animate));let c=n?n.initial===!1:!1;c=c||s===!1;const f=c?l:s;if(f&&typeof f!="boolean"&&!Qo(f)){const d=Array.isArray(f)?f:[f];for(let g=0;g<d.length;g++){const y=qa(e,d[g]);if(y){const{transitionEnd:v,transition:P,...p}=y;for(const h in p){let m=p[h];if(Array.isArray(m)){const x=c?m.length-1:0;m=m[x]}m!==null&&(i[h]=m)}for(const h in v)i[h]=v[h]}}}return i}const Eu=()=>({style:{},transform:{},transformOrigin:{},vars:{}}),rg=()=>({...Eu(),attrs:{}}),ig=(e,t)=>t&&typeof e=="number"?t.transform(e):e,FS={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},IS=li.length;function zS(e,t,n){let r="",i=!0;for(let o=0;o<IS;o++){const s=li[o],l=e[s];if(l===void 0)continue;let a=!0;if(typeof l=="number"?a=l===(s.startsWith("scale")?1:0):a=parseFloat(l)===0,!a||n){const u=ig(l,lu[s]);if(!a){i=!1;const c=FS[s]||s;r+=`${c}(${u}) `}n&&(t[s]=u)}}return r=r.trim(),n?r=n(t,i?"":r):i&&(r="none"),r}function Ru(e,t,n){const{style:r,vars:i,transformOrigin:o}=e;let s=!1,l=!1;for(const a in t){const u=t[a];if(yn.has(a)){s=!0;continue}else if(Zp(a)){i[a]=u;continue}else{const c=ig(u,lu[a]);a.startsWith("origin")?(l=!0,o[a]=c):r[a]=c}}if(t.transform||(s||n?r.transform=zS(t,e.transform,n):r.transform&&(r.transform="none")),l){const{originX:a="50%",originY:u="50%",originZ:c=0}=o;r.transformOrigin=`${a} ${u} ${c}`}}function ad(e,t,n){return typeof e=="string"?e:N.transform(t+n*e)}function BS(e,t,n){const r=ad(t,e.x,e.width),i=ad(n,e.y,e.height);return`${r} ${i}`}const US={offset:"stroke-dashoffset",array:"stroke-dasharray"},$S={offset:"strokeDashoffset",array:"strokeDasharray"};function WS(e,t,n=1,r=0,i=!0){e.pathLength=1;const o=i?US:$S;e[o.offset]=N.transform(-r);const s=N.transform(t),l=N.transform(n);e[o.array]=`${s} ${l}`}function Mu(e,{attrX:t,attrY:n,attrScale:r,originX:i,originY:o,pathLength:s,pathSpacing:l=1,pathOffset:a=0,...u},c,f){if(Ru(e,u,f),c){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};const{attrs:d,style:g,dimensions:y}=e;d.transform&&(y&&(g.transform=d.transform),delete d.transform),y&&(i!==void 0||o!==void 0||g.transform)&&(g.transformOrigin=BS(y,i!==void 0?i:.5,o!==void 0?o:.5)),t!==void 0&&(d.x=t),n!==void 0&&(d.y=n),r!==void 0&&(d.scale=r),s!==void 0&&WS(d,s,l,a,!1)}const Au=e=>typeof e=="string"&&e.toLowerCase()==="svg",HS={useVisualState:ng({scrapeMotionValuesFromProps:tg,createRenderState:rg,onMount:(e,t,{renderState:n,latestValues:r})=>{I.read(()=>{try{n.dimensions=typeof t.getBBox=="function"?t.getBBox():t.getBoundingClientRect()}catch{n.dimensions={x:0,y:0,width:0,height:0}}}),I.render(()=>{Mu(n,r,Au(t.tagName),e.transformTemplate),bm(t,n)})}})},KS={useVisualState:ng({scrapeMotionValuesFromProps:Cu,createRenderState:Eu})};function og(e,t,n){for(const r in t)!pe(t[r])&&!eg(r,n)&&(e[r]=t[r])}function GS({transformTemplate:e},t){return S.useMemo(()=>{const n=Eu();return Ru(n,t,e),Object.assign({},n.vars,n.style)},[t])}function QS(e,t){const n=e.style||{},r={};return og(r,n,e),Object.assign(r,GS(e,t)),r}function XS(e,t){const n={},r=QS(e,t);return e.drag&&e.dragListener!==!1&&(n.draggable=!1,r.userSelect=r.WebkitUserSelect=r.WebkitTouchCallout="none",r.touchAction=e.drag===!0?"none":`pan-${e.drag==="x"?"y":"x"}`),e.tabIndex===void 0&&(e.onTap||e.onTapStart||e.whileTap)&&(n.tabIndex=0),n.style=r,n}const YS=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function Mo(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||YS.has(e)}let sg=e=>!Mo(e);function ZS(e){e&&(sg=t=>t.startsWith("on")?!Mo(t):e(t))}try{ZS(require("@emotion/is-prop-valid").default)}catch{}function qS(e,t,n){const r={};for(const i in e)i==="values"&&typeof e.values=="object"||(sg(i)||n===!0&&Mo(i)||!t&&!Mo(i)||e.draggable&&i.startsWith("onDrag"))&&(r[i]=e[i]);return r}function JS(e,t,n,r){const i=S.useMemo(()=>{const o=rg();return Mu(o,t,Au(r),e.transformTemplate),{...o.attrs,style:{...o.style}}},[t]);if(e.style){const o={};og(o,e.style,e),i.style={...o,...i.style}}return i}function bS(e=!1){return(n,r,i,{latestValues:o},s)=>{const a=(ku(n)?JS:XS)(r,o,s,n),u=qS(r,typeof n=="string",e),c=n!==S.Fragment?{...u,...a,ref:i}:{},{children:f}=r,d=S.useMemo(()=>pe(f)?f.get():f,[f]);return S.createElement(n,{...c,children:d})}}function eP(e,t){return function(r,{forwardMotionProps:i}={forwardMotionProps:!1}){const s={...ku(r)?HS:KS,preloadedFeatures:e,useRender:bS(i),createVisualElement:t,Component:r};return NS(s)}}const ea={current:null},lg={current:!1};function tP(){if(lg.current=!0,!!Pu)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>ea.current=e.matches;e.addListener(t),t()}else ea.current=!1}function nP(e,t,n){for(const r in t){const i=t[r],o=n[r];if(pe(i))e.addValue(r,i);else if(pe(o))e.addValue(r,br(i,{owner:e}));else if(o!==i)if(e.hasValue(r)){const s=e.getValue(r);s.liveStyle===!0?s.jump(i):s.hasAnimated||s.set(i)}else{const s=e.getStaticValue(r);e.addValue(r,br(s!==void 0?s:i,{owner:e}))}}for(const r in n)t[r]===void 0&&e.removeValue(r);return t}const ud=new WeakMap,rP=[...bp,de,Ut],iP=e=>rP.find(Jp(e)),cd=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class oP{scrapeMotionValuesFromProps(t,n,r){return{}}constructor({parent:t,props:n,presenceContext:r,reducedMotionConfig:i,blockInitialAnimation:o,visualState:s},l={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=iu,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{const d=nt.now();this.renderScheduledAt<d&&(this.renderScheduledAt=d,I.render(this.render,!1,!0))};const{latestValues:a,renderState:u}=s;this.latestValues=a,this.baseTarget={...a},this.initialValues=n.initial?{...a}:{},this.renderState=u,this.parent=t,this.props=n,this.presenceContext=r,this.depth=t?t.depth+1:0,this.reducedMotionConfig=i,this.options=l,this.blockInitialAnimation=!!o,this.isControllingVariants=bo(n),this.isVariantNode=Zm(n),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);const{willChange:c,...f}=this.scrapeMotionValuesFromProps(n,{},this);for(const d in f){const g=f[d];a[d]!==void 0&&pe(g)&&g.set(a[d],!1)}}mount(t){this.current=t,ud.set(t,this),this.projection&&!this.projection.instance&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((n,r)=>this.bindToMotionValue(r,n)),lg.current||tP(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:ea.current,this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){ud.delete(this.current),this.projection&&this.projection.unmount(),zt(this.notifyUpdate),zt(this.render),this.valueSubscriptions.forEach(t=>t()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this);for(const t in this.events)this.events[t].clear();for(const t in this.features){const n=this.features[t];n&&(n.unmount(),n.isMounted=!1)}this.current=null}bindToMotionValue(t,n){this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)();const r=yn.has(t),i=n.on("change",l=>{this.latestValues[t]=l,this.props.onUpdate&&I.preRender(this.notifyUpdate),r&&this.projection&&(this.projection.isTransformDirty=!0)}),o=n.on("renderRequest",this.scheduleRender);let s;window.MotionCheckAppearSync&&(s=window.MotionCheckAppearSync(this,t,n)),this.valueSubscriptions.set(t,()=>{i(),o(),s&&s(),n.owner&&n.stop()})}sortNodePosition(t){return!this.current||!this.sortInstanceNodePosition||this.type!==t.type?0:this.sortInstanceNodePosition(this.current,t.current)}updateFeatures(){let t="animation";for(t in qn){const n=qn[t];if(!n)continue;const{isEnabled:r,Feature:i}=n;if(!this.features[t]&&i&&r(this.props)&&(this.features[t]=new i(this)),this.features[t]){const o=this.features[t];o.isMounted?o.update():(o.mount(),o.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):Y()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,n){this.latestValues[t]=n}update(t,n){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=n;for(let r=0;r<cd.length;r++){const i=cd[r];this.propEventSubscriptions[i]&&(this.propEventSubscriptions[i](),delete this.propEventSubscriptions[i]);const o="on"+i,s=t[o];s&&(this.propEventSubscriptions[i]=this.on(i,s))}this.prevMotionValues=nP(this,this.scrapeMotionValuesFromProps(t,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(t){return this.props.variants?this.props.variants[t]: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(t){const n=this.getClosestVariantNode();if(n)return n.variantChildren&&n.variantChildren.add(t),()=>n.variantChildren.delete(t)}addValue(t,n){const r=this.values.get(t);n!==r&&(r&&this.removeValue(t),this.bindToMotionValue(t,n),this.values.set(t,n),this.latestValues[t]=n.get())}removeValue(t){this.values.delete(t);const n=this.valueSubscriptions.get(t);n&&(n(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,n){if(this.props.values&&this.props.values[t])return this.props.values[t];let r=this.values.get(t);return r===void 0&&n!==void 0&&(r=br(n===null?void 0:n,{owner:this}),this.addValue(t,r)),r}readValue(t,n){var r;let i=this.latestValues[t]!==void 0||!this.current?this.latestValues[t]:(r=this.getBaseTargetFromProps(this.props,t))!==null&&r!==void 0?r:this.readValueFromInstance(this.current,t,this.options);return i!=null&&(typeof i=="string"&&(Xp(i)||Qp(i))?i=parseFloat(i):!iP(i)&&Ut.test(n)&&(i=lm(t,n)),this.setBaseTarget(t,pe(i)?i.get():i)),pe(i)?i.get():i}setBaseTarget(t,n){this.baseTarget[t]=n}getBaseTarget(t){var n;const{initial:r}=this.props;let i;if(typeof r=="string"||typeof r=="object"){const s=qa(this.props,r,(n=this.presenceContext)===null||n===void 0?void 0:n.custom);s&&(i=s[t])}if(r&&i!==void 0)return i;const o=this.getBaseTargetFromProps(this.props,t);return o!==void 0&&!pe(o)?o:this.initialValues[t]!==void 0&&i===void 0?void 0:this.baseTarget[t]}on(t,n){return this.events[t]||(this.events[t]=new yu),this.events[t].add(n)}notify(t,...n){this.events[t]&&this.events[t].notify(...n)}}class ag extends oP{constructor(){super(...arguments),this.KeyframeResolver=am}sortInstanceNodePosition(t,n){return t.compareDocumentPosition(n)&2?1:-1}getBaseTargetFromProps(t,n){return t.style?t.style[n]:void 0}removeValueFromRenderState(t,{vars:n,style:r}){delete n[t],delete r[t]}}function sP(e){return window.getComputedStyle(e)}class lP extends ag{constructor(){super(...arguments),this.type="html",this.renderInstance=qm}readValueFromInstance(t,n){if(yn.has(n)){const r=au(n);return r&&r.default||0}else{const r=sP(t),i=(Zp(n)?r.getPropertyValue(n):r[n])||0;return typeof i=="string"?i.trim():i}}measureInstanceViewportBox(t,{transformPagePoint:n}){return Vm(t,n)}build(t,n,r){Ru(t,n,r.transformTemplate)}scrapeMotionValuesFromProps(t,n,r){return Cu(t,n,r)}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:t}=this.props;pe(t)&&(this.childSubscription=t.on("change",n=>{this.current&&(this.current.textContent=`${n}`)}))}}class aP extends ag{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=Y}getBaseTargetFromProps(t,n){return t[n]}readValueFromInstance(t,n){if(yn.has(n)){const r=au(n);return r&&r.default||0}return n=Jm.has(n)?n:vu(n),t.getAttribute(n)}scrapeMotionValuesFromProps(t,n,r){return tg(t,n,r)}build(t,n,r){Mu(t,n,this.isSVGTag,r.transformTemplate)}renderInstance(t,n,r,i){bm(t,n,r,i)}mount(t){this.isSVGTag=Au(t.tagName),super.mount(t)}}const uP=(e,t)=>ku(e)?new aP(t):new lP(t,{allowProjection:e!==S.Fragment}),cP=eP({...bx,...SS,...cS,...PS},uP),Je=H0(cP);class fP extends S.Component{getSnapshotBeforeUpdate(t){const n=this.props.childRef.current;if(n&&t.isPresent&&!this.props.isPresent){const r=this.props.sizeRef.current;r.height=n.offsetHeight||0,r.width=n.offsetWidth||0,r.top=n.offsetTop,r.left=n.offsetLeft}return null}componentDidUpdate(){}render(){return this.props.children}}function dP({children:e,isPresent:t}){const n=S.useId(),r=S.useRef(null),i=S.useRef({width:0,height:0,top:0,left:0}),{nonce:o}=S.useContext(Su);return S.useInsertionEffect(()=>{const{width:s,height:l,top:a,left:u}=i.current;if(t||!r.current||!s||!l)return;r.current.dataset.motionPopId=n;const c=document.createElement("style");return o&&(c.nonce=o),document.head.appendChild(c),c.sheet&&c.sheet.insertRule(`
+          [data-motion-pop-id="${n}"] {
+            position: absolute !important;
+            width: ${s}px !important;
+            height: ${l}px !important;
+            top: ${a}px !important;
+            left: ${u}px !important;
+          }
+        `),()=>{document.head.removeChild(c)}},[t]),w.jsx(fP,{isPresent:t,childRef:r,sizeRef:i,children:S.cloneElement(e,{ref:r})})}const hP=({children:e,initial:t,isPresent:n,onExitComplete:r,custom:i,presenceAffectsLayout:o,mode:s})=>{const l=Tu(pP),a=S.useId(),u=S.useCallback(f=>{l.set(f,!0);for(const d of l.values())if(!d)return;r&&r()},[l,r]),c=S.useMemo(()=>({id:a,initial:t,isPresent:n,custom:i,onExitComplete:u,register:f=>(l.set(f,!1),()=>l.delete(f))}),o?[Math.random(),u]:[n,u]);return S.useMemo(()=>{l.forEach((f,d)=>l.set(d,!1))},[n]),S.useEffect(()=>{!n&&!l.size&&r&&r()},[n]),s==="popLayout"&&(e=w.jsx(dP,{isPresent:n,children:e})),w.jsx(qo.Provider,{value:c,children:e})};function pP(){return new Map}const Di=e=>e.key||"";function fd(e){const t=[];return S.Children.forEach(e,n=>{S.isValidElement(n)&&t.push(n)}),t}const ug=({children:e,exitBeforeEnter:t,custom:n,initial:r=!0,onExitComplete:i,presenceAffectsLayout:o=!0,mode:s="sync"})=>{const l=S.useMemo(()=>fd(e),[e]),a=l.map(Di),u=S.useRef(!0),c=S.useRef(l),f=Tu(()=>new Map),[d,g]=S.useState(l),[y,v]=S.useState(l);Qm(()=>{u.current=!1,c.current=l;for(let h=0;h<y.length;h++){const m=Di(y[h]);a.includes(m)?f.delete(m):f.get(m)!==!0&&f.set(m,!1)}},[y,a.length,a.join("-")]);const P=[];if(l!==d){let h=[...l];for(let m=0;m<y.length;m++){const x=y[m],k=Di(x);a.includes(k)||(h.splice(m,0,x),P.push(x))}s==="wait"&&P.length&&(h=P),v(fd(h)),g(l);return}const{forceRender:p}=S.useContext(xu);return w.jsx(w.Fragment,{children:y.map(h=>{const m=Di(h),x=l===y||a.includes(m),k=()=>{if(f.has(m))f.set(m,!0);else return;let E=!0;f.forEach(M=>{M||(E=!1)}),E&&(p==null||p(),v(c.current),i&&i())};return w.jsx(hP,{isPresent:x,initial:!u.current||r?void 0:!1,custom:x?void 0:n,presenceAffectsLayout:o,mode:s,onExitComplete:x?void 0:k,children:h},m)})})};/**
+ * @license lucide-react v0.344.0 - ISC
+ *
+ * This source code is licensed under the ISC license.
+ * See the LICENSE file in the root directory of this source tree.
+ */var mP={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/**
+ * @license lucide-react v0.344.0 - ISC
+ *
+ * This source code is licensed under the ISC license.
+ * See the LICENSE file in the root directory of this source tree.
+ */const gP=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase().trim(),Ee=(e,t)=>{const n=S.forwardRef(({color:r="currentColor",size:i=24,strokeWidth:o=2,absoluteStrokeWidth:s,className:l="",children:a,...u},c)=>S.createElement("svg",{ref:c,...mP,width:i,height:i,stroke:r,strokeWidth:s?Number(o)*24/Number(i):o,className:["lucide",`lucide-${gP(e)}`,l].join(" "),...u},[...t.map(([f,d])=>S.createElement(f,d)),...Array.isArray(a)?a:[a]]));return n.displayName=`${e}`,n};/**
+ * @license lucide-react v0.344.0 - ISC
+ *
+ * This source code is licensed under the ISC license.
+ * See the LICENSE file in the root directory of this source tree.
+ */const yP=Ee("Box",[["path",{d:"M21 8a2 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.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16Z",key:"hh9hay"}],["path",{d:"m3.3 7 8.7 5 8.7-5",key:"g66t2b"}],["path",{d:"M12 22V12",key:"d0xqtd"}]]);/**
+ * @license lucide-react v0.344.0 - ISC
+ *
+ * This source code is licensed under the ISC license.
+ * See the LICENSE file in the root directory of this source tree.
+ */const vP=Ee("Cloud",[["path",{d:"M17.5 19H9a7 7 0 1 1 6.71-9h1.79a4.5 4.5 0 1 1 0 9Z",key:"p7xjir"}]]);/**
+ * @license lucide-react v0.344.0 - ISC
+ *
+ * This source code is licensed under the ISC license.
+ * See the LICENSE file in the root directory of this source tree.
+ */const xP=Ee("Container",[["path",{d:"M22 7.7c0-.6-.4-1.2-.8-1.5l-6.3-3.9a1.72 1.72 0 0 0-1.7 0l-10.3 6c-.5.2-.9.8-.9 1.4v6.6c0 .5.4 1.2.8 1.5l6.3 3.9a1.72 1.72 0 0 0 1.7 0l10.3-6c.5-.3.9-1 .9-1.5Z",key:"1t2lqe"}],["path",{d:"M10 21.9V14L2.1 9.1",key:"o7czzq"}],["path",{d:"m10 14 11.9-6.9",key:"zm5e20"}],["path",{d:"M14 19.8v-8.1",key:"159ecu"}],["path",{d:"M18 17.5V9.4",key:"11uown"}]]);/**
+ * @license lucide-react v0.344.0 - ISC
+ *
+ * This source code is licensed under the ISC license.
+ * See the LICENSE file in the root directory of this source tree.
+ */const cg=Ee("Database",[["ellipse",{cx:"12",cy:"5",rx:"9",ry:"3",key:"msslwz"}],["path",{d:"M3 5V19A9 3 0 0 0 21 19V5",key:"1wlel7"}],["path",{d:"M3 12A9 3 0 0 0 21 12",key:"mv7ke4"}]]);/**
+ * @license lucide-react v0.344.0 - ISC
+ *
+ * This source code is licensed under the ISC license.
+ * See the LICENSE file in the root directory of this source tree.
+ */const fg=Ee("Github",[["path",{d:"M15 22v-4a4.8 4.8 0 0 0-1-3.5c3 0 6-2 6-5.5.08-1.25-.27-2.48-1-3.5.28-1.15.28-2.35 0-3.5 0 0-1 0-3 1.5-2.64-.5-5.36-.5-8 0C6 2 5 2 5 2c-.3 1.15-.3 2.35 0 3.5A5.403 5.403 0 0 0 4 9c0 3.5 3 5.5 6 5.5-.39.49-.68 1.05-.85 1.65-.17.6-.22 1.23-.15 1.85v4",key:"tonef"}],["path",{d:"M9 18c-4.51 2-5-2-7-2",key:"9comsn"}]]);/**
+ * @license lucide-react v0.344.0 - ISC
+ *
+ * This source code is licensed under the ISC license.
+ * See the LICENSE file in the root directory of this source tree.
+ */const dg=Ee("Globe",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20",key:"13o1zl"}],["path",{d:"M2 12h20",key:"9i4pu4"}]]);/**
+ * @license lucide-react v0.344.0 - ISC
+ *
+ * This source code is licensed under the ISC license.
+ * See the LICENSE file in the root directory of this source tree.
+ */const $s=Ee("HardDrive",[["line",{x1:"22",x2:"2",y1:"12",y2:"12",key:"1y58io"}],["path",{d:"M5.45 5.11 2 12v6a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-6l-3.45-6.89A2 2 0 0 0 16.76 4H7.24a2 2 0 0 0-1.79 1.11z",key:"oot6mr"}],["line",{x1:"6",x2:"6.01",y1:"16",y2:"16",key:"sgf278"}],["line",{x1:"10",x2:"10.01",y1:"16",y2:"16",key:"1l4acy"}]]);/**
+ * @license lucide-react v0.344.0 - ISC
+ *
+ * This source code is licensed under the ISC license.
+ * See the LICENSE file in the root directory of this source tree.
+ */const wP=Ee("Instagram",[["rect",{width:"20",height:"20",x:"2",y:"2",rx:"5",ry:"5",key:"2e1cvw"}],["path",{d:"M16 11.37A4 4 0 1 1 12.63 8 4 4 0 0 1 16 11.37z",key:"9exkf1"}],["line",{x1:"17.5",x2:"17.51",y1:"6.5",y2:"6.5",key:"r4j83e"}]]);/**
+ * @license lucide-react v0.344.0 - ISC
+ *
+ * This source code is licensed under the ISC license.
+ * See the LICENSE file in the root directory of this source tree.
+ */const SP=Ee("Mail",[["rect",{width:"20",height:"16",x:"2",y:"4",rx:"2",key:"18n3k1"}],["path",{d:"m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7",key:"1ocrg3"}]]);/**
+ * @license lucide-react v0.344.0 - ISC
+ *
+ * This source code is licensed under the ISC license.
+ * See the LICENSE file in the root directory of this source tree.
+ */const PP=Ee("MessageSquare",[["path",{d:"M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z",key:"1lielz"}]]);/**
+ * @license lucide-react v0.344.0 - ISC
+ *
+ * This source code is licensed under the ISC license.
+ * See the LICENSE file in the root directory of this source tree.
+ */const kP=Ee("Plus",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]]);/**
+ * @license lucide-react v0.344.0 - ISC
+ *
+ * This source code is licensed under the ISC license.
+ * See the LICENSE file in the root directory of this source tree.
+ */const Nu=Ee("Server",[["rect",{width:"20",height:"8",x:"2",y:"2",rx:"2",ry:"2",key:"ngkwjq"}],["rect",{width:"20",height:"8",x:"2",y:"14",rx:"2",ry:"2",key:"iecqi9"}],["line",{x1:"6",x2:"6.01",y1:"6",y2:"6",key:"16zg32"}],["line",{x1:"6",x2:"6.01",y1:"18",y2:"18",key:"nzw8ys"}]]);/**
+ * @license lucide-react v0.344.0 - ISC
+ *
+ * This source code is licensed under the ISC license.
+ * See the LICENSE file in the root directory of this source tree.
+ */const Ao=Ee("Terminal",[["polyline",{points:"4 17 10 11 4 5",key:"akl6gq"}],["line",{x1:"12",x2:"20",y1:"19",y2:"19",key:"q2wloq"}]]);/**
+ * @license lucide-react v0.344.0 - ISC
+ *
+ * This source code is licensed under the ISC license.
+ * See the LICENSE file in the root directory of this source tree.
+ */const dd=Ee("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);function CP(){const e=si();return w.jsx("nav",{className:"bg-gray-800/50 backdrop-blur-sm sticky top-0 z-50",children:w.jsx("div",{className:"max-w-6xl mx-auto px-6 py-4",children:w.jsxs("div",{className:"flex items-center justify-between",children:[w.jsxs(Ms,{to:"/",className:"flex items-center space-x-2",children:[w.jsx(Ao,{className:"w-6 h-6 text-cyan-400"}),w.jsx("span",{className:"text-xl font-bold",children:"Kaby_Kun"})]}),w.jsxs("div",{className:"flex items-center space-x-8",children:[w.jsx(Ms,{to:"/",className:`hover:text-cyan-400 transition-colors ${e.pathname==="/"?"text-cyan-400":"text-gray-300"}`,children:"Home"}),w.jsx(Ms,{to:"/projects",className:`hover:text-cyan-400 transition-colors ${e.pathname==="/projects"?"text-cyan-400":"text-gray-300"}`,children:"Projects"})]})]})})})}function TP(){return w.jsxs("div",{className:"relative overflow-hidden",children:[w.jsx("div",{className:"absolute inset-0 z-0",children:w.jsx("div",{className:"absolute inset-0 bg-gradient-to-br from-gray-900 via-gray-800 to-black opacity-90"})}),w.jsx(Je.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.8},className:"relative z-10 px-6 py-24 mx-auto max-w-7xl",children:w.jsxs("div",{className:"flex flex-col items-center text-center",children:[w.jsx(Je.div,{initial:{scale:0},animate:{scale:1},transition:{duration:.5},className:"p-2 rounded-full bg-cyan-500/10 mb-6",children:w.jsx(Ao,{className:"w-12 h-12 text-cyan-400"})}),w.jsx(Je.h1,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:.2},className:"text-5xl md:text-6xl font-bold text-white mb-6",children:"Kaby_Kun"}),w.jsx(Je.p,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:.4},className:"text-xl text-gray-400 max-w-2xl mb-8",children:"Backend Developer & Infrastructure Specialist"}),w.jsxs("div",{className:"flex space-x-6",children:[w.jsx(Nu,{className:"w-8 h-8 text-cyan-400"}),w.jsx(cg,{className:"w-8 h-8 text-cyan-400"}),w.jsx(Ao,{className:"w-8 h-8 text-cyan-400"})]})]})})]})}const EP=[{icon:Nu,name:"Infrastructure",desc:"Lenovo System x3950 X6, Dell R620"},{icon:xP,name:"Containerization",desc:"Docker, Podman"},{icon:vP,name:"Virtualization",desc:"Proxmox"},{icon:Ao,name:"DevOps",desc:"CI/CD, Automation"},{icon:cg,name:"Database",desc:"Management & Optimization"},{icon:yP,name:"Custom Builds",desc:"Self-made Infrastructure"}];function RP(){return w.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6 w-full max-w-6xl mx-auto",children:EP.map((e,t)=>w.jsx(Je.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.5,delay:t*.1},className:"bg-gray-800 p-6 rounded-xl hover:bg-gray-700 transition-colors",children:w.jsxs("div",{className:"flex items-center space-x-4",children:[w.jsx(e.icon,{className:"w-8 h-8 text-cyan-400"}),w.jsxs("div",{children:[w.jsx("h3",{className:"text-xl font-bold text-white",children:e.name}),w.jsx("p",{className:"text-gray-400",children:e.desc})]})]})},e.name))})}function MP(){return w.jsx("div",{className:"w-full max-w-6xl mx-auto",children:w.jsxs(Je.div,{initial:{opacity:0},animate:{opacity:1},transition:{duration:.5},className:"grid grid-cols-1 md:grid-cols-2 gap-8",children:[w.jsxs("div",{className:"bg-gray-800 rounded-xl p-8 hover:bg-gray-700 transition-colors",children:[w.jsxs("div",{className:"flex items-center space-x-4 mb-6",children:[w.jsx(Nu,{className:"w-8 h-8 text-cyan-400"}),w.jsx("h3",{className:"text-2xl font-bold text-white",children:"Server Infrastructure"})]}),w.jsxs("ul",{className:"space-y-4 text-gray-300",children:[w.jsxs("li",{className:"flex items-start space-x-3",children:[w.jsx($s,{className:"w-5 h-5 text-cyan-400 mt-1"}),w.jsxs("div",{children:[w.jsx("span",{className:"font-semibold",children:"Lenovo System x3950 X6"}),w.jsx("p",{className:"text-gray-400",children:"Enterprise-grade server for heavy workloads"})]})]}),w.jsxs("li",{className:"flex items-start space-x-3",children:[w.jsx($s,{className:"w-5 h-5 text-cyan-400 mt-1"}),w.jsxs("div",{children:[w.jsx("span",{className:"font-semibold",children:"Dell PowerEdge R620"}),w.jsx("p",{className:"text-gray-400",children:"High-performance rack server"})]})]}),w.jsxs("li",{className:"flex items-start space-x-3",children:[w.jsx($s,{className:"w-5 h-5 text-cyan-400 mt-1"}),w.jsxs("div",{children:[w.jsx("span",{className:"font-semibold",children:"Custom Builds"}),w.jsx("p",{className:"text-gray-400",children:"Self-made infrastructure solutions"})]})]})]})]}),w.jsxs("div",{className:"bg-gray-800 rounded-xl p-8 hover:bg-gray-700 transition-colors",children:[w.jsx("img",{src:"https://images.unsplash.com/photo-1558494949-ef010cbdcc31?auto=format&fit=crop&q=80&w=2034",alt:"Server Room",className:"w-full h-64 object-cover rounded-lg mb-6"}),w.jsx("p",{className:"text-gray-300",children:"Running a sophisticated home lab environment with enterprise-grade hardware, enabling experimentation with various technologies and hosting solutions."})]})]})})}function AP(){return w.jsxs(w.Fragment,{children:[w.jsx(TP,{}),w.jsxs(Je.main,{initial:{opacity:0},animate:{opacity:1},transition:{duration:.5,delay:.2},className:"px-6 py-16 space-y-24",children:[w.jsxs("section",{children:[w.jsxs("div",{className:"max-w-6xl mx-auto mb-12 text-center",children:[w.jsx("h2",{className:"text-3xl font-bold mb-4",children:"Tech Stack"}),w.jsx("p",{className:"text-gray-400",children:"Powering robust backend solutions"})]}),w.jsx(RP,{})]}),w.jsxs("section",{children:[w.jsxs("div",{className:"max-w-6xl mx-auto mb-12 text-center",children:[w.jsx("h2",{className:"text-3xl font-bold mb-4",children:"Infrastructure"}),w.jsx("p",{className:"text-gray-400",children:"Enterprise-grade hardware setup"})]}),w.jsx(MP,{})]})]})]})}function NP(){const[e,t]=S.useState(!1),[n,r]=S.useState(!1),[i,o]=S.useState(()=>{const u=localStorage.getItem("projects");try{return u?JSON.parse(u):[]}catch{return localStorage.removeItem("projects"),[]}});S.useEffect(()=>{localStorage.setItem("projects",JSON.stringify(i))},[i]);const s=()=>{window.prompt("Enter admin password:")==="O8kocwmnVyW6AF"?t(!0):alert("Incorrect password.")},l=u=>{u.preventDefault();const c=u.currentTarget,f=new FormData(c),d={id:Date.now().toString(),title:f.get("title"),description:f.get("description"),image:f.get("image"),github:f.get("github")||void 0,website:f.get("website")||void 0,tags:f.get("tags").split(",").map(g=>g.trim()).filter(g=>g)};o(g=>[...g,d]),r(!1),c.reset()},a=u=>{o(c=>c.filter(f=>f.id!==u))};return w.jsxs(Je.div,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},className:"max-w-6xl mx-auto px-6 py-16",children:[w.jsxs("div",{className:"flex justify-between items-center mb-12",children:[w.jsx("h1",{className:"text-4xl font-bold",children:"Projects"}),e?w.jsxs("button",{onClick:()=>r(!0),className:"flex items-center space-x-2 bg-cyan-500 hover:bg-cyan-600 text-white px-4 py-2 rounded-lg transition-colors",children:[w.jsx(kP,{className:"w-5 h-5"}),w.jsx("span",{children:"Add Project"})]}):w.jsx("span",{onClick:s,className:"w-2 h-2 rounded-full bg-gray-800 hover:bg-gray-700 cursor-pointer transition-colors","aria-label":"Admin toggle"})]}),w.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8",children:w.jsx(ug,{children:i.map(u=>w.jsxs(Je.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},exit:{opacity:0,y:-20},className:"bg-gray-800 rounded-xl overflow-hidden",children:[w.jsx("img",{src:u.image,alt:u.title,className:"w-full h-48 object-cover"}),w.jsxs("div",{className:"p-6",children:[w.jsxs("div",{className:"flex justify-between items-start",children:[w.jsx("h3",{className:"text-xl font-bold mb-2",children:u.title}),e&&w.jsx("button",{onClick:()=>a(u.id),className:"text-gray-400 hover:text-red-500 transition-colors","aria-label":`Delete project ${u.title}`,children:w.jsx(dd,{className:"w-5 h-5"})})]}),w.jsx("p",{className:"text-gray-400 mb-4",children:u.description}),w.jsx("div",{className:"flex flex-wrap gap-2 mb-4",children:u.tags.map(c=>w.jsx("span",{className:"bg-gray-700 text-cyan-400 text-sm px-3 py-1 rounded-full",children:c},c))}),w.jsxs("div",{className:"flex space-x-4",children:[u.github&&w.jsx("a",{href:u.github,target:"_blank",rel:"noopener noreferrer",className:"text-gray-400 hover:text-cyan-400 transition-colors","aria-label":"GitHub link",children:w.jsx(fg,{className:"w-5 h-5"})}),u.website&&w.jsx("a",{href:u.website,target:"_blank",rel:"noopener noreferrer",className:"text-gray-400 hover:text-cyan-400 transition-colors","aria-label":"Website link",children:w.jsx(dg,{className:"w-5 h-5"})})]})]})]},u.id))})}),n&&w.jsx("div",{className:"fixed inset-0 bg-black/50 flex items-center justify-center p-4 z-50",children:w.jsxs(Je.div,{initial:{opacity:0,scale:.9},animate:{opacity:1,scale:1},exit:{opacity:0,scale:.9},className:"bg-gray-800 rounded-xl p-6 max-w-md w-full",children:[w.jsxs("div",{className:"flex justify-between items-center mb-6",children:[w.jsx("h2",{className:"text-2xl font-bold",children:"Add New Project"}),w.jsx("button",{onClick:()=>r(!1),className:"text-gray-400 hover:text-red-500 transition-colors","aria-label":"Close add project form",children:w.jsx(dd,{className:"w-6 h-6"})})]}),w.jsx("form",{onSubmit:l,className:"space-y-4",children:w.jsx("button",{type:"submit",className:"w-full bg-cyan-500 hover:bg-cyan-600 text-white py-2 rounded-lg transition-colors",children:"Add Project"})})]})})]})}function LP(){return w.jsx("footer",{className:"bg-gray-800 py-8 mt-24",children:w.jsx("div",{className:"max-w-6xl mx-auto px-6",children:w.jsxs("div",{className:"flex flex-col md:flex-row items-center justify-between",children:[w.jsxs("p",{className:"text-gray-400",children:["© ",new Date().getFullYear()," Kaby_Kun. All rights reserved."]}),w.jsxs("div",{className:"flex items-center space-x-6 mt-4 md:mt-0",children:[w.jsx("a",{href:"https://github.com/ByakuraRinne",target:"_blank",rel:"noopener noreferrer",className:"text-gray-400 hover:text-cyan-400 transition-colors","aria-label":"GitHub Profile",children:w.jsx(fg,{className:"w-6 h-6"})}),w.jsx("a",{href:"mailto:gabriel@nazuna.ovh",className:"text-gray-400 hover:text-cyan-400 transition-colors","aria-label":"Email",children:w.jsx(SP,{className:"w-6 h-6"})}),w.jsx("a",{href:"https://discord.gg/rcqUj2mFBm",target:"_blank",rel:"noopener noreferrer",className:"text-gray-400 hover:text-cyan-400 transition-colors","aria-label":"Discord Server",children:w.jsx(PP,{className:"w-6 h-6"})}),w.jsx("a",{href:"https://astrohosting.ovh",target:"_blank",rel:"noopener noreferrer",className:"text-gray-400 hover:text-cyan-400 transition-colors","aria-label":"Website",children:w.jsx(dg,{className:"w-6 h-6"})}),w.jsx("a",{href:"https://www.instagram.com/the_hoster_one/",target:"_blank",rel:"noopener noreferrer",className:"text-gray-400 hover:text-cyan-400 transition-colors","aria-label":"Instagram",children:w.jsx(wP,{className:"w-6 h-6"})})]})]})})})}function jP(){return w.jsx(B0,{children:w.jsxs("div",{className:"min-h-screen bg-gray-900 text-white",children:[w.jsx(CP,{}),w.jsx(ug,{mode:"wait",children:w.jsxs(D0,{children:[w.jsx(Ol,{path:"/",element:w.jsx(AP,{})}),w.jsx(Ol,{path:"/projects",element:w.jsx(NP,{})})]})}),w.jsx(LP,{})]})})}Tp(document.getElementById("root")).render(w.jsx(S.StrictMode,{children:w.jsx(jP,{})}));
diff --git a/dist/assets/index-rZaVAq8V.css b/dist/assets/index-rZaVAq8V.css
new file mode 100644
index 0000000..ae095ac
--- /dev/null
+++ b/dist/assets/index-rZaVAq8V.css
@@ -0,0 +1 @@
+*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}body{--tw-bg-opacity: 1;background-color:rgb(17 24 39 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(243 244 246 / var(--tw-text-opacity))}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.sticky{position:sticky}.inset-0{top:0;right:0;bottom:0;left:0}.top-0{top:0}.z-0{z-index:0}.z-10{z-index:10}.z-50{z-index:50}.mx-auto{margin-left:auto;margin-right:auto}.mb-12{margin-bottom:3rem}.mb-2{margin-bottom:.5rem}.mb-4{margin-bottom:1rem}.mb-6{margin-bottom:1.5rem}.mb-8{margin-bottom:2rem}.mt-1{margin-top:.25rem}.mt-24{margin-top:6rem}.mt-4{margin-top:1rem}.flex{display:flex}.grid{display:grid}.h-12{height:3rem}.h-2{height:.5rem}.h-48{height:12rem}.h-5{height:1.25rem}.h-6{height:1.5rem}.h-64{height:16rem}.h-8{height:2rem}.min-h-screen{min-height:100vh}.w-12{width:3rem}.w-2{width:.5rem}.w-5{width:1.25rem}.w-6{width:1.5rem}.w-8{width:2rem}.w-full{width:100%}.max-w-2xl{max-width:42rem}.max-w-6xl{max-width:72rem}.max-w-7xl{max-width:80rem}.max-w-md{max-width:28rem}.cursor-pointer{cursor:pointer}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-start{align-items:flex-start}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-2{gap:.5rem}.gap-6{gap:1.5rem}.gap-8{gap:2rem}.space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.5rem * var(--tw-space-x-reverse));margin-left:calc(.5rem * calc(1 - var(--tw-space-x-reverse)))}.space-x-3>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.75rem * var(--tw-space-x-reverse));margin-left:calc(.75rem * calc(1 - var(--tw-space-x-reverse)))}.space-x-4>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(1rem * var(--tw-space-x-reverse));margin-left:calc(1rem * calc(1 - var(--tw-space-x-reverse)))}.space-x-6>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(1.5rem * var(--tw-space-x-reverse));margin-left:calc(1.5rem * calc(1 - var(--tw-space-x-reverse)))}.space-x-8>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(2rem * var(--tw-space-x-reverse));margin-left:calc(2rem * calc(1 - var(--tw-space-x-reverse)))}.space-y-24>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(6rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(6rem * var(--tw-space-y-reverse))}.space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem * var(--tw-space-y-reverse))}.overflow-hidden{overflow:hidden}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.rounded-xl{border-radius:.75rem}.bg-black\/50{background-color:#00000080}.bg-cyan-500{--tw-bg-opacity: 1;background-color:rgb(6 182 212 / var(--tw-bg-opacity))}.bg-cyan-500\/10{background-color:#06b6d41a}.bg-gray-700{--tw-bg-opacity: 1;background-color:rgb(55 65 81 / var(--tw-bg-opacity))}.bg-gray-800{--tw-bg-opacity: 1;background-color:rgb(31 41 55 / var(--tw-bg-opacity))}.bg-gray-800\/50{background-color:#1f293780}.bg-gray-900{--tw-bg-opacity: 1;background-color:rgb(17 24 39 / var(--tw-bg-opacity))}.bg-gradient-to-br{background-image:linear-gradient(to bottom right,var(--tw-gradient-stops))}.from-gray-900{--tw-gradient-from: #111827 var(--tw-gradient-from-position);--tw-gradient-to: rgb(17 24 39 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.via-gray-800{--tw-gradient-to: rgb(31 41 55 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), #1f2937 var(--tw-gradient-via-position), var(--tw-gradient-to)}.to-black{--tw-gradient-to: #000 var(--tw-gradient-to-position)}.object-cover{-o-object-fit:cover;object-fit:cover}.p-2{padding:.5rem}.p-4{padding:1rem}.p-6{padding:1.5rem}.p-8{padding:2rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-16{padding-top:4rem;padding-bottom:4rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-24{padding-top:6rem;padding-bottom:6rem}.py-4{padding-top:1rem;padding-bottom:1rem}.py-8{padding-top:2rem;padding-bottom:2rem}.text-center{text-align:center}.text-2xl{font-size:1.5rem;line-height:2rem}.text-3xl{font-size:1.875rem;line-height:2.25rem}.text-4xl{font-size:2.25rem;line-height:2.5rem}.text-5xl{font-size:3rem;line-height:1}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.font-bold{font-weight:700}.font-semibold{font-weight:600}.text-cyan-400{--tw-text-opacity: 1;color:rgb(34 211 238 / var(--tw-text-opacity))}.text-gray-300{--tw-text-opacity: 1;color:rgb(209 213 219 / var(--tw-text-opacity))}.text-gray-400{--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity))}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.opacity-90{opacity:.9}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.backdrop-blur-sm{--tw-backdrop-blur: blur(4px);-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.hover\:bg-cyan-600:hover{--tw-bg-opacity: 1;background-color:rgb(8 145 178 / var(--tw-bg-opacity))}.hover\:bg-gray-700:hover{--tw-bg-opacity: 1;background-color:rgb(55 65 81 / var(--tw-bg-opacity))}.hover\:text-cyan-400:hover{--tw-text-opacity: 1;color:rgb(34 211 238 / var(--tw-text-opacity))}.hover\:text-red-500:hover{--tw-text-opacity: 1;color:rgb(239 68 68 / var(--tw-text-opacity))}@media (min-width: 768px){.md\:mt-0{margin-top:0}.md\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.md\:flex-row{flex-direction:row}.md\:text-6xl{font-size:3.75rem;line-height:1}}@media (min-width: 1024px){.lg\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}}
diff --git a/dist/index.html b/dist/index.html
new file mode 100644
index 0000000..7b7cbe8
--- /dev/null
+++ b/dist/index.html
@@ -0,0 +1,14 @@
+<!doctype html>
+<html lang="en">
+  <head>
+    <meta charset="UTF-8" />
+    <link rel="icon" type="image/svg+xml" href="/vite.svg" />
+    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
+    <title>Kaby_Kun PortFolio</title>
+    <script type="module" crossorigin src="/assets/index-DABKrgAO.js"></script>
+    <link rel="stylesheet" crossorigin href="/assets/index-rZaVAq8V.css">
+  </head>
+  <body>
+    <div id="root"></div>
+  </body>
+</html>