frankenstyle 0.1.0-aardvark.2 → 0.1.0-aardvark.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,251 +1,17 @@
1
- (function(){"use strict";function aC(o){return o&&o.__esModule&&Object.prototype.hasOwnProperty.call(o,"default")?o.default:o}var nb={exports:{}},lt={};var Jx;function lC(){if(Jx)return lt;Jx=1;var o=Symbol.for("react.transitional.element"),n=Symbol.for("react.portal"),u=Symbol.for("react.fragment"),c=Symbol.for("react.strict_mode"),h=Symbol.for("react.profiler"),p=Symbol.for("react.consumer"),y=Symbol.for("react.context"),S=Symbol.for("react.forward_ref"),E=Symbol.for("react.suspense"),A=Symbol.for("react.memo"),x=Symbol.for("react.lazy"),_=Symbol.for("react.activity"),w=Symbol.iterator;function z(U){return U===null||typeof U!="object"?null:(U=w&&U[w]||U["@@iterator"],typeof U=="function"?U:null)}var V={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},X=Object.assign,Q={};function $(U,P,pe){this.props=U,this.context=P,this.refs=Q,this.updater=pe||V}$.prototype.isReactComponent={},$.prototype.setState=function(U,P){if(typeof U!="object"&&typeof U!="function"&&U!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,U,P,"setState")},$.prototype.forceUpdate=function(U){this.updater.enqueueForceUpdate(this,U,"forceUpdate")};function le(){}le.prototype=$.prototype;function ee(U,P,pe){this.props=U,this.context=P,this.refs=Q,this.updater=pe||V}var oe=ee.prototype=new le;oe.constructor=ee,X(oe,$.prototype),oe.isPureReactComponent=!0;var ye=Array.isArray;function xe(){}var ve={H:null,A:null,T:null,S:null},he=Object.prototype.hasOwnProperty;function Re(U,P,pe){var me=pe.ref;return{$$typeof:o,type:U,key:P,ref:me!==void 0?me:null,props:pe}}function be(U,P){return Re(U.type,P,U.props)}function ot(U){return typeof U=="object"&&U!==null&&U.$$typeof===o}function we(U){var P={"=":"=0",":":"=2"};return"$"+U.replace(/[=:]/g,function(pe){return P[pe]})}var Qe=/\/+/g;function Vt(U,P){return typeof U=="object"&&U!==null&&U.key!=null?we(""+U.key):P.toString(36)}function Yt(U){switch(U.status){case"fulfilled":return U.value;case"rejected":throw U.reason;default:switch(typeof U.status=="string"?U.then(xe,xe):(U.status="pending",U.then(function(P){U.status==="pending"&&(U.status="fulfilled",U.value=P)},function(P){U.status==="pending"&&(U.status="rejected",U.reason=P)})),U.status){case"fulfilled":return U.value;case"rejected":throw U.reason}}throw U}function Y(U,P,pe,me,je){var tt=typeof U;(tt==="undefined"||tt==="boolean")&&(U=null);var Ge=!1;if(U===null)Ge=!0;else switch(tt){case"bigint":case"string":case"number":Ge=!0;break;case"object":switch(U.$$typeof){case o:case n:Ge=!0;break;case x:return Ge=U._init,Y(Ge(U._payload),P,pe,me,je)}}if(Ge)return je=je(U),Ge=me===""?"."+Vt(U,0):me,ye(je)?(pe="",Ge!=null&&(pe=Ge.replace(Qe,"$&/")+"/"),Y(je,P,pe,"",function(pa){return pa})):je!=null&&(ot(je)&&(je=be(je,pe+(je.key==null||U&&U.key===je.key?"":(""+je.key).replace(Qe,"$&/")+"/")+Ge)),P.push(je)),1;Ge=0;var en=me===""?".":me+":";if(ye(U))for(var wt=0;wt<U.length;wt++)me=U[wt],tt=en+Vt(me,wt),Ge+=Y(me,P,pe,tt,je);else if(wt=z(U),typeof wt=="function")for(U=wt.call(U),wt=0;!(me=U.next()).done;)me=me.value,tt=en+Vt(me,wt++),Ge+=Y(me,P,pe,tt,je);else if(tt==="object"){if(typeof U.then=="function")return Y(Yt(U),P,pe,me,je);throw P=String(U),Error("Objects are not valid as a React child (found: "+(P==="[object Object]"?"object with keys {"+Object.keys(U).join(", ")+"}":P)+"). If you meant to render a collection of children, use an array instead.")}return Ge}function ne(U,P,pe){if(U==null)return U;var me=[],je=0;return Y(U,me,"","",function(tt){return P.call(pe,tt,je++)}),me}function de(U){if(U._status===-1){var P=U._result;P=P(),P.then(function(pe){(U._status===0||U._status===-1)&&(U._status=1,U._result=pe)},function(pe){(U._status===0||U._status===-1)&&(U._status=2,U._result=pe)}),U._status===-1&&(U._status=0,U._result=P)}if(U._status===1)return U._result.default;throw U._result}var Oe=typeof reportError=="function"?reportError:function(U){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var P=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof U=="object"&&U!==null&&typeof U.message=="string"?String(U.message):String(U),error:U});if(!window.dispatchEvent(P))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",U);return}console.error(U)},Le={map:ne,forEach:function(U,P,pe){ne(U,function(){P.apply(this,arguments)},pe)},count:function(U){var P=0;return ne(U,function(){P++}),P},toArray:function(U){return ne(U,function(P){return P})||[]},only:function(U){if(!ot(U))throw Error("React.Children.only expected to receive a single React element child.");return U}};return lt.Activity=_,lt.Children=Le,lt.Component=$,lt.Fragment=u,lt.Profiler=h,lt.PureComponent=ee,lt.StrictMode=c,lt.Suspense=E,lt.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=ve,lt.__COMPILER_RUNTIME={__proto__:null,c:function(U){return ve.H.useMemoCache(U)}},lt.cache=function(U){return function(){return U.apply(null,arguments)}},lt.cacheSignal=function(){return null},lt.cloneElement=function(U,P,pe){if(U==null)throw Error("The argument must be a React element, but you passed "+U+".");var me=X({},U.props),je=U.key;if(P!=null)for(tt in P.key!==void 0&&(je=""+P.key),P)!he.call(P,tt)||tt==="key"||tt==="__self"||tt==="__source"||tt==="ref"&&P.ref===void 0||(me[tt]=P[tt]);var tt=arguments.length-2;if(tt===1)me.children=pe;else if(1<tt){for(var Ge=Array(tt),en=0;en<tt;en++)Ge[en]=arguments[en+2];me.children=Ge}return Re(U.type,je,me)},lt.createContext=function(U){return U={$$typeof:y,_currentValue:U,_currentValue2:U,_threadCount:0,Provider:null,Consumer:null},U.Provider=U,U.Consumer={$$typeof:p,_context:U},U},lt.createElement=function(U,P,pe){var me,je={},tt=null;if(P!=null)for(me in P.key!==void 0&&(tt=""+P.key),P)he.call(P,me)&&me!=="key"&&me!=="__self"&&me!=="__source"&&(je[me]=P[me]);var Ge=arguments.length-2;if(Ge===1)je.children=pe;else if(1<Ge){for(var en=Array(Ge),wt=0;wt<Ge;wt++)en[wt]=arguments[wt+2];je.children=en}if(U&&U.defaultProps)for(me in Ge=U.defaultProps,Ge)je[me]===void 0&&(je[me]=Ge[me]);return Re(U,tt,je)},lt.createRef=function(){return{current:null}},lt.forwardRef=function(U){return{$$typeof:S,render:U}},lt.isValidElement=ot,lt.lazy=function(U){return{$$typeof:x,_payload:{_status:-1,_result:U},_init:de}},lt.memo=function(U,P){return{$$typeof:A,type:U,compare:P===void 0?null:P}},lt.startTransition=function(U){var P=ve.T,pe={};ve.T=pe;try{var me=U(),je=ve.S;je!==null&&je(pe,me),typeof me=="object"&&me!==null&&typeof me.then=="function"&&me.then(xe,Oe)}catch(tt){Oe(tt)}finally{P!==null&&pe.types!==null&&(P.types=pe.types),ve.T=P}},lt.unstable_useCacheRefresh=function(){return ve.H.useCacheRefresh()},lt.use=function(U){return ve.H.use(U)},lt.useActionState=function(U,P,pe){return ve.H.useActionState(U,P,pe)},lt.useCallback=function(U,P){return ve.H.useCallback(U,P)},lt.useContext=function(U){return ve.H.useContext(U)},lt.useDebugValue=function(){},lt.useDeferredValue=function(U,P){return ve.H.useDeferredValue(U,P)},lt.useEffect=function(U,P){return ve.H.useEffect(U,P)},lt.useEffectEvent=function(U){return ve.H.useEffectEvent(U)},lt.useId=function(){return ve.H.useId()},lt.useImperativeHandle=function(U,P,pe){return ve.H.useImperativeHandle(U,P,pe)},lt.useInsertionEffect=function(U,P){return ve.H.useInsertionEffect(U,P)},lt.useLayoutEffect=function(U,P){return ve.H.useLayoutEffect(U,P)},lt.useMemo=function(U,P){return ve.H.useMemo(U,P)},lt.useOptimistic=function(U,P){return ve.H.useOptimistic(U,P)},lt.useReducer=function(U,P,pe){return ve.H.useReducer(U,P,pe)},lt.useRef=function(U){return ve.H.useRef(U)},lt.useState=function(U){return ve.H.useState(U)},lt.useSyncExternalStore=function(U,P,pe){return ve.H.useSyncExternalStore(U,P,pe)},lt.useTransition=function(){return ve.H.useTransition()},lt.version="19.2.3",lt}var By={exports:{}};By.exports;var $x;function oC(){return $x||($x=1,(function(o,n){process.env.NODE_ENV!=="production"&&(function(){function u(M,Z){Object.defineProperty(p.prototype,M,{get:function(){console.warn("%s(...) is deprecated in plain JavaScript React classes. %s",Z[0],Z[1])}})}function c(M){return M===null||typeof M!="object"?null:(M=Us&&M[Us]||M["@@iterator"],typeof M=="function"?M:null)}function h(M,Z){M=(M=M.constructor)&&(M.displayName||M.name)||"ReactClass";var ge=M+"."+Z;Bs[ge]||(console.error("Can't call %s on a component that is not yet mounted. This is a no-op, but it might indicate a bug in your application. Instead, assign to `this.state` directly or define a `state = {};` class property with the desired state in the %s component.",Z,M),Bs[ge]=!0)}function p(M,Z,ge){this.props=M,this.context=Z,this.refs=Rt,this.updater=ge||ya}function y(){}function S(M,Z,ge){this.props=M,this.context=Z,this.refs=Rt,this.updater=ge||ya}function E(){}function A(M){return""+M}function x(M){try{A(M);var Z=!1}catch{Z=!0}if(Z){Z=console;var ge=Z.error,Se=typeof Symbol=="function"&&Symbol.toStringTag&&M[Symbol.toStringTag]||M.constructor.name||"Object";return ge.call(Z,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",Se),A(M)}}function _(M){if(M==null)return null;if(typeof M=="function")return M.$$typeof===Wf?null:M.displayName||M.name||null;if(typeof M=="string")return M;switch(M){case U:return"Fragment";case pe:return"Profiler";case P:return"StrictMode";case Ge:return"Suspense";case en:return"SuspenseList";case _e:return"Activity"}if(typeof M=="object")switch(typeof M.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),M.$$typeof){case Le:return"Portal";case je:return M.displayName||"Context";case me:return(M._context.displayName||"Context")+".Consumer";case tt:var Z=M.render;return M=M.displayName,M||(M=Z.displayName||Z.name||"",M=M!==""?"ForwardRef("+M+")":"ForwardRef"),M;case wt:return Z=M.displayName||null,Z!==null?Z:_(M.type)||"Memo";case pa:Z=M._payload,M=M._init;try{return _(M(Z))}catch{}}return null}function w(M){if(M===U)return"<>";if(typeof M=="object"&&M!==null&&M.$$typeof===pa)return"<...>";try{var Z=_(M);return Z?"<"+Z+">":"<...>"}catch{return"<...>"}}function z(){var M=ze.A;return M===null?null:M.getOwner()}function V(){return Error("react-stack-top-frame")}function X(M){if(Vs.call(M,"key")){var Z=Object.getOwnPropertyDescriptor(M,"key").get;if(Z&&Z.isReactWarning)return!1}return M.key!==void 0}function Q(M,Z){function ge(){Ou||(Ou=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",Z))}ge.isReactWarning=!0,Object.defineProperty(M,"key",{get:ge,configurable:!0})}function $(){var M=_(this.type);return hm[M]||(hm[M]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),M=this.props.ref,M!==void 0?M:null}function le(M,Z,ge,Se,Ue,Je){var Ve=ge.ref;return M={$$typeof:Oe,type:M,key:Z,props:ge,_owner:Se},(Ve!==void 0?Ve:null)!==null?Object.defineProperty(M,"ref",{enumerable:!1,get:$}):Object.defineProperty(M,"ref",{enumerable:!1,value:null}),M._store={},Object.defineProperty(M._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(M,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(M,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:Ue}),Object.defineProperty(M,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:Je}),Object.freeze&&(Object.freeze(M.props),Object.freeze(M)),M}function ee(M,Z){return Z=le(M.type,Z,M.props,M._owner,M._debugStack,M._debugTask),M._store&&(Z._store.validated=M._store.validated),Z}function oe(M){ye(M)?M._store&&(M._store.validated=1):typeof M=="object"&&M!==null&&M.$$typeof===pa&&(M._payload.status==="fulfilled"?ye(M._payload.value)&&M._payload.value._store&&(M._payload.value._store.validated=1):M._store&&(M._store.validated=1))}function ye(M){return typeof M=="object"&&M!==null&&M.$$typeof===Oe}function xe(M){var Z={"=":"=0",":":"=2"};return"$"+M.replace(/[=:]/g,function(ge){return Z[ge]})}function ve(M,Z){return typeof M=="object"&&M!==null&&M.key!=null?(x(M.key),xe(""+M.key)):Z.toString(36)}function he(M){switch(M.status){case"fulfilled":return M.value;case"rejected":throw M.reason;default:switch(typeof M.status=="string"?M.then(E,E):(M.status="pending",M.then(function(Z){M.status==="pending"&&(M.status="fulfilled",M.value=Z)},function(Z){M.status==="pending"&&(M.status="rejected",M.reason=Z)})),M.status){case"fulfilled":return M.value;case"rejected":throw M.reason}}throw M}function Re(M,Z,ge,Se,Ue){var Je=typeof M;(Je==="undefined"||Je==="boolean")&&(M=null);var Ve=!1;if(M===null)Ve=!0;else switch(Je){case"bigint":case"string":case"number":Ve=!0;break;case"object":switch(M.$$typeof){case Oe:case Le:Ve=!0;break;case pa:return Ve=M._init,Re(Ve(M._payload),Z,ge,Se,Ue)}}if(Ve){Ve=M,Ue=Ue(Ve);var mt=Se===""?"."+ve(Ve,0):Se;return Ru(Ue)?(ge="",mt!=null&&(ge=mt.replace(mm,"$&/")+"/"),Re(Ue,Z,ge,"",function(bi){return bi})):Ue!=null&&(ye(Ue)&&(Ue.key!=null&&(Ve&&Ve.key===Ue.key||x(Ue.key)),ge=ee(Ue,ge+(Ue.key==null||Ve&&Ve.key===Ue.key?"":(""+Ue.key).replace(mm,"$&/")+"/")+mt),Se!==""&&Ve!=null&&ye(Ve)&&Ve.key==null&&Ve._store&&!Ve._store.validated&&(ge._store.validated=2),Ue=ge),Z.push(Ue)),1}if(Ve=0,mt=Se===""?".":Se+":",Ru(M))for(var nt=0;nt<M.length;nt++)Se=M[nt],Je=mt+ve(Se,nt),Ve+=Re(Se,Z,ge,Je,Ue);else if(nt=c(M),typeof nt=="function")for(nt===M.entries&&(fl||console.warn("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),fl=!0),M=nt.call(M),nt=0;!(Se=M.next()).done;)Se=Se.value,Je=mt+ve(Se,nt++),Ve+=Re(Se,Z,ge,Je,Ue);else if(Je==="object"){if(typeof M.then=="function")return Re(he(M),Z,ge,Se,Ue);throw Z=String(M),Error("Objects are not valid as a React child (found: "+(Z==="[object Object]"?"object with keys {"+Object.keys(M).join(", ")+"}":Z)+"). If you meant to render a collection of children, use an array instead.")}return Ve}function be(M,Z,ge){if(M==null)return M;var Se=[],Ue=0;return Re(M,Se,"","",function(Je){return Z.call(ge,Je,Ue++)}),Se}function ot(M){if(M._status===-1){var Z=M._ioInfo;Z!=null&&(Z.start=Z.end=performance.now()),Z=M._result;var ge=Z();if(ge.then(function(Ue){if(M._status===0||M._status===-1){M._status=1,M._result=Ue;var Je=M._ioInfo;Je!=null&&(Je.end=performance.now()),ge.status===void 0&&(ge.status="fulfilled",ge.value=Ue)}},function(Ue){if(M._status===0||M._status===-1){M._status=2,M._result=Ue;var Je=M._ioInfo;Je!=null&&(Je.end=performance.now()),ge.status===void 0&&(ge.status="rejected",ge.reason=Ue)}}),Z=M._ioInfo,Z!=null){Z.value=ge;var Se=ge.displayName;typeof Se=="string"&&(Z.name=Se)}M._status===-1&&(M._status=0,M._result=ge)}if(M._status===1)return Z=M._result,Z===void 0&&console.error(`lazy: Expected the result of a dynamic import() call. Instead received: %s
2
-
3
- Your code should look like:
4
- const MyComponent = lazy(() => import('./MyComponent'))
5
-
6
- Did you accidentally put curly braces around the import?`,Z),"default"in Z||console.error(`lazy: Expected the result of a dynamic import() call. Instead received: %s
7
-
8
- Your code should look like:
9
- const MyComponent = lazy(() => import('./MyComponent'))`,Z),Z.default;throw M._result}function we(){var M=ze.H;return M===null&&console.error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
10
- 1. You might have mismatching versions of React and the renderer (such as React DOM)
11
- 2. You might be breaking the Rules of Hooks
12
- 3. You might have more than one copy of React in the same app
13
- See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`),M}function Qe(){ze.asyncTransitions--}function Vt(M){if(Mu===null)try{var Z=("require"+Math.random()).slice(0,7);Mu=(o&&o[Z]).call(o,"timers").setImmediate}catch{Mu=function(Se){If===!1&&(If=!0,typeof MessageChannel>"u"&&console.error("This browser does not have a MessageChannel implementation, so enqueuing tasks via await act(async () => ...) will fail. Please file an issue at https://github.com/facebook/react/issues if you encounter this warning."));var Ue=new MessageChannel;Ue.port1.onmessage=Se,Ue.port2.postMessage(void 0)}}return Mu(M)}function Yt(M){return 1<M.length&&typeof AggregateError=="function"?new AggregateError(M):M[0]}function Y(M,Z){Z!==ka-1&&console.error("You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. "),ka=Z}function ne(M,Z,ge){var Se=ze.actQueue;if(Se!==null)if(Se.length!==0)try{de(Se),Vt(function(){return ne(M,Z,ge)});return}catch(Ue){ze.thrownErrors.push(Ue)}else ze.actQueue=null;0<ze.thrownErrors.length?(Se=Yt(ze.thrownErrors),ze.thrownErrors.length=0,ge(Se)):Z(M)}function de(M){if(!ga){ga=!0;var Z=0;try{for(;Z<M.length;Z++){var ge=M[Z];do{ze.didUsePromise=!1;var Se=ge(!1);if(Se!==null){if(ze.didUsePromise){M[Z]=ge,M.splice(0,Z);return}ge=Se}else break}while(!0)}M.length=0}catch(Ue){M.splice(0,Z+1),ze.thrownErrors.push(Ue)}finally{ga=!1}}}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var Oe=Symbol.for("react.transitional.element"),Le=Symbol.for("react.portal"),U=Symbol.for("react.fragment"),P=Symbol.for("react.strict_mode"),pe=Symbol.for("react.profiler"),me=Symbol.for("react.consumer"),je=Symbol.for("react.context"),tt=Symbol.for("react.forward_ref"),Ge=Symbol.for("react.suspense"),en=Symbol.for("react.suspense_list"),wt=Symbol.for("react.memo"),pa=Symbol.for("react.lazy"),_e=Symbol.for("react.activity"),Us=Symbol.iterator,Bs={},ya={isMounted:function(){return!1},enqueueForceUpdate:function(M){h(M,"forceUpdate")},enqueueReplaceState:function(M){h(M,"replaceState")},enqueueSetState:function(M){h(M,"setState")}},$l=Object.assign,Rt={};Object.freeze(Rt),p.prototype.isReactComponent={},p.prototype.setState=function(M,Z){if(typeof M!="object"&&typeof M!="function"&&M!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,M,Z,"setState")},p.prototype.forceUpdate=function(M){this.updater.enqueueForceUpdate(this,M,"forceUpdate")};var vi={isMounted:["isMounted","Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks."],replaceState:["replaceState","Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."]};for(Hs in vi)vi.hasOwnProperty(Hs)&&u(Hs,vi[Hs]);y.prototype=p.prototype,vi=S.prototype=new y,vi.constructor=S,$l(vi,p.prototype),vi.isPureReactComponent=!0;var Ru=Array.isArray,Wf=Symbol.for("react.client.reference"),ze={H:null,A:null,T:null,S:null,actQueue:null,asyncTransitions:0,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1,didUsePromise:!1,thrownErrors:[],getCurrentStack:null,recentlyCreatedOwnerStacks:0},Vs=Object.prototype.hasOwnProperty,Kl=console.createTask?console.createTask:function(){return null};vi={react_stack_bottom_frame:function(M){return M()}};var Ou,Mn,hm={},Pr=vi.react_stack_bottom_frame.bind(vi,V)(),Fr=Kl(w(V)),fl=!1,mm=/\/+/g,Wr=typeof reportError=="function"?reportError:function(M){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var Z=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof M=="object"&&M!==null&&typeof M.message=="string"?String(M.message):String(M),error:M});if(!window.dispatchEvent(Z))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",M);return}console.error(M)},If=!1,Mu=null,ka=0,Hn=!1,ga=!1,Jn=typeof queueMicrotask=="function"?function(M){queueMicrotask(function(){return queueMicrotask(M)})}:Vt;vi=Object.freeze({__proto__:null,c:function(M){return we().useMemoCache(M)}});var Hs={map:be,forEach:function(M,Z,ge){be(M,function(){Z.apply(this,arguments)},ge)},count:function(M){var Z=0;return be(M,function(){Z++}),Z},toArray:function(M){return be(M,function(Z){return Z})||[]},only:function(M){if(!ye(M))throw Error("React.Children.only expected to receive a single React element child.");return M}};n.Activity=_e,n.Children=Hs,n.Component=p,n.Fragment=U,n.Profiler=pe,n.PureComponent=S,n.StrictMode=P,n.Suspense=Ge,n.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=ze,n.__COMPILER_RUNTIME=vi,n.act=function(M){var Z=ze.actQueue,ge=ka;ka++;var Se=ze.actQueue=Z!==null?Z:[],Ue=!1;try{var Je=M()}catch(nt){ze.thrownErrors.push(nt)}if(0<ze.thrownErrors.length)throw Y(Z,ge),M=Yt(ze.thrownErrors),ze.thrownErrors.length=0,M;if(Je!==null&&typeof Je=="object"&&typeof Je.then=="function"){var Ve=Je;return Jn(function(){Ue||Hn||(Hn=!0,console.error("You called act(async () => ...) without await. This could lead to unexpected testing behaviour, interleaving multiple act calls and mixing their scopes. You should - await act(async () => ...);"))}),{then:function(nt,bi){Ue=!0,Ve.then(function(Xa){if(Y(Z,ge),ge===0){try{de(Se),Vt(function(){return ne(Xa,nt,bi)})}catch(Ir){ze.thrownErrors.push(Ir)}if(0<ze.thrownErrors.length){var Ls=Yt(ze.thrownErrors);ze.thrownErrors.length=0,bi(Ls)}}else nt(Xa)},function(Xa){Y(Z,ge),0<ze.thrownErrors.length&&(Xa=Yt(ze.thrownErrors),ze.thrownErrors.length=0),bi(Xa)})}}}var mt=Je;if(Y(Z,ge),ge===0&&(de(Se),Se.length!==0&&Jn(function(){Ue||Hn||(Hn=!0,console.error("A component suspended inside an `act` scope, but the `act` call was not awaited. When testing React components that depend on asynchronous data, you must await the result:\n\nawait act(() => ...)"))}),ze.actQueue=null),0<ze.thrownErrors.length)throw M=Yt(ze.thrownErrors),ze.thrownErrors.length=0,M;return{then:function(nt,bi){Ue=!0,ge===0?(ze.actQueue=Se,Vt(function(){return ne(mt,nt,bi)})):nt(mt)}}},n.cache=function(M){return function(){return M.apply(null,arguments)}},n.cacheSignal=function(){return null},n.captureOwnerStack=function(){var M=ze.getCurrentStack;return M===null?null:M()},n.cloneElement=function(M,Z,ge){if(M==null)throw Error("The argument must be a React element, but you passed "+M+".");var Se=$l({},M.props),Ue=M.key,Je=M._owner;if(Z!=null){var Ve;e:{if(Vs.call(Z,"ref")&&(Ve=Object.getOwnPropertyDescriptor(Z,"ref").get)&&Ve.isReactWarning){Ve=!1;break e}Ve=Z.ref!==void 0}Ve&&(Je=z()),X(Z)&&(x(Z.key),Ue=""+Z.key);for(mt in Z)!Vs.call(Z,mt)||mt==="key"||mt==="__self"||mt==="__source"||mt==="ref"&&Z.ref===void 0||(Se[mt]=Z[mt])}var mt=arguments.length-2;if(mt===1)Se.children=ge;else if(1<mt){Ve=Array(mt);for(var nt=0;nt<mt;nt++)Ve[nt]=arguments[nt+2];Se.children=Ve}for(Se=le(M.type,Ue,Se,Je,M._debugStack,M._debugTask),Ue=2;Ue<arguments.length;Ue++)oe(arguments[Ue]);return Se},n.createContext=function(M){return M={$$typeof:je,_currentValue:M,_currentValue2:M,_threadCount:0,Provider:null,Consumer:null},M.Provider=M,M.Consumer={$$typeof:me,_context:M},M._currentRenderer=null,M._currentRenderer2=null,M},n.createElement=function(M,Z,ge){for(var Se=2;Se<arguments.length;Se++)oe(arguments[Se]);Se={};var Ue=null;if(Z!=null)for(nt in Mn||!("__self"in Z)||"key"in Z||(Mn=!0,console.warn("Your app (or one of its dependencies) is using an outdated JSX transform. Update to the modern JSX transform for faster performance: https://react.dev/link/new-jsx-transform")),X(Z)&&(x(Z.key),Ue=""+Z.key),Z)Vs.call(Z,nt)&&nt!=="key"&&nt!=="__self"&&nt!=="__source"&&(Se[nt]=Z[nt]);var Je=arguments.length-2;if(Je===1)Se.children=ge;else if(1<Je){for(var Ve=Array(Je),mt=0;mt<Je;mt++)Ve[mt]=arguments[mt+2];Object.freeze&&Object.freeze(Ve),Se.children=Ve}if(M&&M.defaultProps)for(nt in Je=M.defaultProps,Je)Se[nt]===void 0&&(Se[nt]=Je[nt]);Ue&&Q(Se,typeof M=="function"?M.displayName||M.name||"Unknown":M);var nt=1e4>ze.recentlyCreatedOwnerStacks++;return le(M,Ue,Se,z(),nt?Error("react-stack-top-frame"):Pr,nt?Kl(w(M)):Fr)},n.createRef=function(){var M={current:null};return Object.seal(M),M},n.forwardRef=function(M){M!=null&&M.$$typeof===wt?console.error("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):typeof M!="function"?console.error("forwardRef requires a render function but was given %s.",M===null?"null":typeof M):M.length!==0&&M.length!==2&&console.error("forwardRef render functions accept exactly two parameters: props and ref. %s",M.length===1?"Did you forget to use the ref parameter?":"Any additional parameter will be undefined."),M!=null&&M.defaultProps!=null&&console.error("forwardRef render functions do not support defaultProps. Did you accidentally pass a React component?");var Z={$$typeof:tt,render:M},ge;return Object.defineProperty(Z,"displayName",{enumerable:!1,configurable:!0,get:function(){return ge},set:function(Se){ge=Se,M.name||M.displayName||(Object.defineProperty(M,"name",{value:Se}),M.displayName=Se)}}),Z},n.isValidElement=ye,n.lazy=function(M){M={_status:-1,_result:M};var Z={$$typeof:pa,_payload:M,_init:ot},ge={name:"lazy",start:-1,end:-1,value:null,owner:null,debugStack:Error("react-stack-top-frame"),debugTask:console.createTask?console.createTask("lazy()"):null};return M._ioInfo=ge,Z._debugInfo=[{awaited:ge}],Z},n.memo=function(M,Z){M==null&&console.error("memo: The first argument must be a component. Instead received: %s",M===null?"null":typeof M),Z={$$typeof:wt,type:M,compare:Z===void 0?null:Z};var ge;return Object.defineProperty(Z,"displayName",{enumerable:!1,configurable:!0,get:function(){return ge},set:function(Se){ge=Se,M.name||M.displayName||(Object.defineProperty(M,"name",{value:Se}),M.displayName=Se)}}),Z},n.startTransition=function(M){var Z=ze.T,ge={};ge._updatedFibers=new Set,ze.T=ge;try{var Se=M(),Ue=ze.S;Ue!==null&&Ue(ge,Se),typeof Se=="object"&&Se!==null&&typeof Se.then=="function"&&(ze.asyncTransitions++,Se.then(Qe,Qe),Se.then(E,Wr))}catch(Je){Wr(Je)}finally{Z===null&&ge._updatedFibers&&(M=ge._updatedFibers.size,ge._updatedFibers.clear(),10<M&&console.warn("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table.")),Z!==null&&ge.types!==null&&(Z.types!==null&&Z.types!==ge.types&&console.error("We expected inner Transitions to have transferred the outer types set and that you cannot add to the outer Transition while inside the inner.This is a bug in React."),Z.types=ge.types),ze.T=Z}},n.unstable_useCacheRefresh=function(){return we().useCacheRefresh()},n.use=function(M){return we().use(M)},n.useActionState=function(M,Z,ge){return we().useActionState(M,Z,ge)},n.useCallback=function(M,Z){return we().useCallback(M,Z)},n.useContext=function(M){var Z=we();return M.$$typeof===me&&console.error("Calling useContext(Context.Consumer) is not supported and will cause bugs. Did you mean to call useContext(Context) instead?"),Z.useContext(M)},n.useDebugValue=function(M,Z){return we().useDebugValue(M,Z)},n.useDeferredValue=function(M,Z){return we().useDeferredValue(M,Z)},n.useEffect=function(M,Z){return M==null&&console.warn("React Hook useEffect requires an effect callback. Did you forget to pass a callback to the hook?"),we().useEffect(M,Z)},n.useEffectEvent=function(M){return we().useEffectEvent(M)},n.useId=function(){return we().useId()},n.useImperativeHandle=function(M,Z,ge){return we().useImperativeHandle(M,Z,ge)},n.useInsertionEffect=function(M,Z){return M==null&&console.warn("React Hook useInsertionEffect requires an effect callback. Did you forget to pass a callback to the hook?"),we().useInsertionEffect(M,Z)},n.useLayoutEffect=function(M,Z){return M==null&&console.warn("React Hook useLayoutEffect requires an effect callback. Did you forget to pass a callback to the hook?"),we().useLayoutEffect(M,Z)},n.useMemo=function(M,Z){return we().useMemo(M,Z)},n.useOptimistic=function(M,Z){return we().useOptimistic(M,Z)},n.useReducer=function(M,Z,ge){return we().useReducer(M,Z,ge)},n.useRef=function(M){return we().useRef(M)},n.useState=function(M){return we().useState(M)},n.useSyncExternalStore=function(M,Z,ge){return we().useSyncExternalStore(M,Z,ge)},n.useTransition=function(){return we().useTransition()},n.version="19.2.3",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()})(By,By.exports)),By.exports}var Kx;function jh(){return Kx||(Kx=1,process.env.NODE_ENV==="production"?nb.exports=lC():nb.exports=oC()),nb.exports}var Ce=jh();const sC=aC(Ce);var ib={exports:{}},Vy={},ab={exports:{}},pT={};var Px;function uC(){return Px||(Px=1,(function(o){function n(Y,ne){var de=Y.length;Y.push(ne);e:for(;0<de;){var Oe=de-1>>>1,Le=Y[Oe];if(0<h(Le,ne))Y[Oe]=ne,Y[de]=Le,de=Oe;else break e}}function u(Y){return Y.length===0?null:Y[0]}function c(Y){if(Y.length===0)return null;var ne=Y[0],de=Y.pop();if(de!==ne){Y[0]=de;e:for(var Oe=0,Le=Y.length,U=Le>>>1;Oe<U;){var P=2*(Oe+1)-1,pe=Y[P],me=P+1,je=Y[me];if(0>h(pe,de))me<Le&&0>h(je,pe)?(Y[Oe]=je,Y[me]=de,Oe=me):(Y[Oe]=pe,Y[P]=de,Oe=P);else if(me<Le&&0>h(je,de))Y[Oe]=je,Y[me]=de,Oe=me;else break e}}return ne}function h(Y,ne){var de=Y.sortIndex-ne.sortIndex;return de!==0?de:Y.id-ne.id}if(o.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var p=performance;o.unstable_now=function(){return p.now()}}else{var y=Date,S=y.now();o.unstable_now=function(){return y.now()-S}}var E=[],A=[],x=1,_=null,w=3,z=!1,V=!1,X=!1,Q=!1,$=typeof setTimeout=="function"?setTimeout:null,le=typeof clearTimeout=="function"?clearTimeout:null,ee=typeof setImmediate<"u"?setImmediate:null;function oe(Y){for(var ne=u(A);ne!==null;){if(ne.callback===null)c(A);else if(ne.startTime<=Y)c(A),ne.sortIndex=ne.expirationTime,n(E,ne);else break;ne=u(A)}}function ye(Y){if(X=!1,oe(Y),!V)if(u(E)!==null)V=!0,xe||(xe=!0,we());else{var ne=u(A);ne!==null&&Yt(ye,ne.startTime-Y)}}var xe=!1,ve=-1,he=5,Re=-1;function be(){return Q?!0:!(o.unstable_now()-Re<he)}function ot(){if(Q=!1,xe){var Y=o.unstable_now();Re=Y;var ne=!0;try{e:{V=!1,X&&(X=!1,le(ve),ve=-1),z=!0;var de=w;try{t:{for(oe(Y),_=u(E);_!==null&&!(_.expirationTime>Y&&be());){var Oe=_.callback;if(typeof Oe=="function"){_.callback=null,w=_.priorityLevel;var Le=Oe(_.expirationTime<=Y);if(Y=o.unstable_now(),typeof Le=="function"){_.callback=Le,oe(Y),ne=!0;break t}_===u(E)&&c(E),oe(Y)}else c(E);_=u(E)}if(_!==null)ne=!0;else{var U=u(A);U!==null&&Yt(ye,U.startTime-Y),ne=!1}}break e}finally{_=null,w=de,z=!1}ne=void 0}}finally{ne?we():xe=!1}}}var we;if(typeof ee=="function")we=function(){ee(ot)};else if(typeof MessageChannel<"u"){var Qe=new MessageChannel,Vt=Qe.port2;Qe.port1.onmessage=ot,we=function(){Vt.postMessage(null)}}else we=function(){$(ot,0)};function Yt(Y,ne){ve=$(function(){Y(o.unstable_now())},ne)}o.unstable_IdlePriority=5,o.unstable_ImmediatePriority=1,o.unstable_LowPriority=4,o.unstable_NormalPriority=3,o.unstable_Profiling=null,o.unstable_UserBlockingPriority=2,o.unstable_cancelCallback=function(Y){Y.callback=null},o.unstable_forceFrameRate=function(Y){0>Y||125<Y?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):he=0<Y?Math.floor(1e3/Y):5},o.unstable_getCurrentPriorityLevel=function(){return w},o.unstable_next=function(Y){switch(w){case 1:case 2:case 3:var ne=3;break;default:ne=w}var de=w;w=ne;try{return Y()}finally{w=de}},o.unstable_requestPaint=function(){Q=!0},o.unstable_runWithPriority=function(Y,ne){switch(Y){case 1:case 2:case 3:case 4:case 5:break;default:Y=3}var de=w;w=Y;try{return ne()}finally{w=de}},o.unstable_scheduleCallback=function(Y,ne,de){var Oe=o.unstable_now();switch(typeof de=="object"&&de!==null?(de=de.delay,de=typeof de=="number"&&0<de?Oe+de:Oe):de=Oe,Y){case 1:var Le=-1;break;case 2:Le=250;break;case 5:Le=1073741823;break;case 4:Le=1e4;break;default:Le=5e3}return Le=de+Le,Y={id:x++,callback:ne,priorityLevel:Y,startTime:de,expirationTime:Le,sortIndex:-1},de>Oe?(Y.sortIndex=de,n(A,Y),u(E)===null&&Y===u(A)&&(X?(le(ve),ve=-1):X=!0,Yt(ye,de-Oe))):(Y.sortIndex=Le,n(E,Y),V||z||(V=!0,xe||(xe=!0,we()))),Y},o.unstable_shouldYield=be,o.unstable_wrapCallback=function(Y){var ne=w;return function(){var de=w;w=ne;try{return Y.apply(this,arguments)}finally{w=de}}}})(pT)),pT}var yT={};var Fx;function rC(){return Fx||(Fx=1,(function(o){process.env.NODE_ENV!=="production"&&(function(){function n(){if(ye=!1,Re){var Y=o.unstable_now();we=Y;var ne=!0;try{e:{ee=!1,oe&&(oe=!1,ve(be),be=-1),le=!0;var de=$;try{t:{for(y(Y),Q=c(z);Q!==null&&!(Q.expirationTime>Y&&E());){var Oe=Q.callback;if(typeof Oe=="function"){Q.callback=null,$=Q.priorityLevel;var Le=Oe(Q.expirationTime<=Y);if(Y=o.unstable_now(),typeof Le=="function"){Q.callback=Le,y(Y),ne=!0;break t}Q===c(z)&&h(z),y(Y)}else h(z);Q=c(z)}if(Q!==null)ne=!0;else{var U=c(V);U!==null&&A(S,U.startTime-Y),ne=!1}}break e}finally{Q=null,$=de,le=!1}ne=void 0}}finally{ne?Qe():Re=!1}}}function u(Y,ne){var de=Y.length;Y.push(ne);e:for(;0<de;){var Oe=de-1>>>1,Le=Y[Oe];if(0<p(Le,ne))Y[Oe]=ne,Y[de]=Le,de=Oe;else break e}}function c(Y){return Y.length===0?null:Y[0]}function h(Y){if(Y.length===0)return null;var ne=Y[0],de=Y.pop();if(de!==ne){Y[0]=de;e:for(var Oe=0,Le=Y.length,U=Le>>>1;Oe<U;){var P=2*(Oe+1)-1,pe=Y[P],me=P+1,je=Y[me];if(0>p(pe,de))me<Le&&0>p(je,pe)?(Y[Oe]=je,Y[me]=de,Oe=me):(Y[Oe]=pe,Y[P]=de,Oe=P);else if(me<Le&&0>p(je,de))Y[Oe]=je,Y[me]=de,Oe=me;else break e}}return ne}function p(Y,ne){var de=Y.sortIndex-ne.sortIndex;return de!==0?de:Y.id-ne.id}function y(Y){for(var ne=c(V);ne!==null;){if(ne.callback===null)h(V);else if(ne.startTime<=Y)h(V),ne.sortIndex=ne.expirationTime,u(z,ne);else break;ne=c(V)}}function S(Y){if(oe=!1,y(Y),!ee)if(c(z)!==null)ee=!0,Re||(Re=!0,Qe());else{var ne=c(V);ne!==null&&A(S,ne.startTime-Y)}}function E(){return ye?!0:!(o.unstable_now()-we<ot)}function A(Y,ne){be=xe(function(){Y(o.unstable_now())},ne)}if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error()),o.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var x=performance;o.unstable_now=function(){return x.now()}}else{var _=Date,w=_.now();o.unstable_now=function(){return _.now()-w}}var z=[],V=[],X=1,Q=null,$=3,le=!1,ee=!1,oe=!1,ye=!1,xe=typeof setTimeout=="function"?setTimeout:null,ve=typeof clearTimeout=="function"?clearTimeout:null,he=typeof setImmediate<"u"?setImmediate:null,Re=!1,be=-1,ot=5,we=-1;if(typeof he=="function")var Qe=function(){he(n)};else if(typeof MessageChannel<"u"){var Vt=new MessageChannel,Yt=Vt.port2;Vt.port1.onmessage=n,Qe=function(){Yt.postMessage(null)}}else Qe=function(){xe(n,0)};o.unstable_IdlePriority=5,o.unstable_ImmediatePriority=1,o.unstable_LowPriority=4,o.unstable_NormalPriority=3,o.unstable_Profiling=null,o.unstable_UserBlockingPriority=2,o.unstable_cancelCallback=function(Y){Y.callback=null},o.unstable_forceFrameRate=function(Y){0>Y||125<Y?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):ot=0<Y?Math.floor(1e3/Y):5},o.unstable_getCurrentPriorityLevel=function(){return $},o.unstable_next=function(Y){switch($){case 1:case 2:case 3:var ne=3;break;default:ne=$}var de=$;$=ne;try{return Y()}finally{$=de}},o.unstable_requestPaint=function(){ye=!0},o.unstable_runWithPriority=function(Y,ne){switch(Y){case 1:case 2:case 3:case 4:case 5:break;default:Y=3}var de=$;$=Y;try{return ne()}finally{$=de}},o.unstable_scheduleCallback=function(Y,ne,de){var Oe=o.unstable_now();switch(typeof de=="object"&&de!==null?(de=de.delay,de=typeof de=="number"&&0<de?Oe+de:Oe):de=Oe,Y){case 1:var Le=-1;break;case 2:Le=250;break;case 5:Le=1073741823;break;case 4:Le=1e4;break;default:Le=5e3}return Le=de+Le,Y={id:X++,callback:ne,priorityLevel:Y,startTime:de,expirationTime:Le,sortIndex:-1},de>Oe?(Y.sortIndex=de,u(V,Y),c(z)===null&&Y===c(V)&&(oe?(ve(be),be=-1):oe=!0,A(S,de-Oe))):(Y.sortIndex=Le,u(z,Y),ee||le||(ee=!0,Re||(Re=!0,Qe()))),Y},o.unstable_shouldYield=E,o.unstable_wrapCallback=function(Y){var ne=$;return function(){var de=$;$=ne;try{return Y.apply(this,arguments)}finally{$=de}}},typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()})(yT)),yT}var Wx;function Ix(){return Wx||(Wx=1,process.env.NODE_ENV==="production"?ab.exports=uC():ab.exports=rC()),ab.exports}var lb={exports:{}},Ji={};var e_;function cC(){if(e_)return Ji;e_=1;var o=jh();function n(E){var A="https://react.dev/errors/"+E;if(1<arguments.length){A+="?args[]="+encodeURIComponent(arguments[1]);for(var x=2;x<arguments.length;x++)A+="&args[]="+encodeURIComponent(arguments[x])}return"Minified React error #"+E+"; visit "+A+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function u(){}var c={d:{f:u,r:function(){throw Error(n(522))},D:u,C:u,L:u,m:u,X:u,S:u,M:u},p:0,findDOMNode:null},h=Symbol.for("react.portal");function p(E,A,x){var _=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:h,key:_==null?null:""+_,children:E,containerInfo:A,implementation:x}}var y=o.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function S(E,A){if(E==="font")return"";if(typeof A=="string")return A==="use-credentials"?A:""}return Ji.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=c,Ji.createPortal=function(E,A){var x=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!A||A.nodeType!==1&&A.nodeType!==9&&A.nodeType!==11)throw Error(n(299));return p(E,A,null,x)},Ji.flushSync=function(E){var A=y.T,x=c.p;try{if(y.T=null,c.p=2,E)return E()}finally{y.T=A,c.p=x,c.d.f()}},Ji.preconnect=function(E,A){typeof E=="string"&&(A?(A=A.crossOrigin,A=typeof A=="string"?A==="use-credentials"?A:"":void 0):A=null,c.d.C(E,A))},Ji.prefetchDNS=function(E){typeof E=="string"&&c.d.D(E)},Ji.preinit=function(E,A){if(typeof E=="string"&&A&&typeof A.as=="string"){var x=A.as,_=S(x,A.crossOrigin),w=typeof A.integrity=="string"?A.integrity:void 0,z=typeof A.fetchPriority=="string"?A.fetchPriority:void 0;x==="style"?c.d.S(E,typeof A.precedence=="string"?A.precedence:void 0,{crossOrigin:_,integrity:w,fetchPriority:z}):x==="script"&&c.d.X(E,{crossOrigin:_,integrity:w,fetchPriority:z,nonce:typeof A.nonce=="string"?A.nonce:void 0})}},Ji.preinitModule=function(E,A){if(typeof E=="string")if(typeof A=="object"&&A!==null){if(A.as==null||A.as==="script"){var x=S(A.as,A.crossOrigin);c.d.M(E,{crossOrigin:x,integrity:typeof A.integrity=="string"?A.integrity:void 0,nonce:typeof A.nonce=="string"?A.nonce:void 0})}}else A==null&&c.d.M(E)},Ji.preload=function(E,A){if(typeof E=="string"&&typeof A=="object"&&A!==null&&typeof A.as=="string"){var x=A.as,_=S(x,A.crossOrigin);c.d.L(E,x,{crossOrigin:_,integrity:typeof A.integrity=="string"?A.integrity:void 0,nonce:typeof A.nonce=="string"?A.nonce:void 0,type:typeof A.type=="string"?A.type:void 0,fetchPriority:typeof A.fetchPriority=="string"?A.fetchPriority:void 0,referrerPolicy:typeof A.referrerPolicy=="string"?A.referrerPolicy:void 0,imageSrcSet:typeof A.imageSrcSet=="string"?A.imageSrcSet:void 0,imageSizes:typeof A.imageSizes=="string"?A.imageSizes:void 0,media:typeof A.media=="string"?A.media:void 0})}},Ji.preloadModule=function(E,A){if(typeof E=="string")if(A){var x=S(A.as,A.crossOrigin);c.d.m(E,{as:typeof A.as=="string"&&A.as!=="script"?A.as:void 0,crossOrigin:x,integrity:typeof A.integrity=="string"?A.integrity:void 0})}else c.d.m(E)},Ji.requestFormReset=function(E){c.d.r(E)},Ji.unstable_batchedUpdates=function(E,A){return E(A)},Ji.useFormState=function(E,A,x){return y.H.useFormState(E,A,x)},Ji.useFormStatus=function(){return y.H.useHostTransitionStatus()},Ji.version="19.2.3",Ji}var $i={};var t_;function fC(){return t_||(t_=1,process.env.NODE_ENV!=="production"&&(function(){function o(){}function n(_){return""+_}function u(_,w,z){var V=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;try{n(V);var X=!1}catch{X=!0}return X&&(console.error("The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",typeof Symbol=="function"&&Symbol.toStringTag&&V[Symbol.toStringTag]||V.constructor.name||"Object"),n(V)),{$$typeof:A,key:V==null?null:""+V,children:_,containerInfo:w,implementation:z}}function c(_,w){if(_==="font")return"";if(typeof w=="string")return w==="use-credentials"?w:""}function h(_){return _===null?"`null`":_===void 0?"`undefined`":_===""?"an empty string":'something with type "'+typeof _+'"'}function p(_){return _===null?"`null`":_===void 0?"`undefined`":_===""?"an empty string":typeof _=="string"?JSON.stringify(_):typeof _=="number"?"`"+_+"`":'something with type "'+typeof _+'"'}function y(){var _=x.H;return _===null&&console.error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
14
- 1. You might have mismatching versions of React and the renderer (such as React DOM)
15
- 2. You might be breaking the Rules of Hooks
16
- 3. You might have more than one copy of React in the same app
17
- See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`),_}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var S=jh(),E={d:{f:o,r:function(){throw Error("Invalid form element. requestFormReset must be passed a form that was rendered by React.")},D:o,C:o,L:o,m:o,X:o,S:o,M:o},p:0,findDOMNode:null},A=Symbol.for("react.portal"),x=S.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;typeof Map=="function"&&Map.prototype!=null&&typeof Map.prototype.forEach=="function"&&typeof Set=="function"&&Set.prototype!=null&&typeof Set.prototype.clear=="function"&&typeof Set.prototype.forEach=="function"||console.error("React depends on Map and Set built-in types. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"),$i.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=E,$i.createPortal=function(_,w){var z=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!w||w.nodeType!==1&&w.nodeType!==9&&w.nodeType!==11)throw Error("Target container is not a DOM element.");return u(_,w,null,z)},$i.flushSync=function(_){var w=x.T,z=E.p;try{if(x.T=null,E.p=2,_)return _()}finally{x.T=w,E.p=z,E.d.f()&&console.error("flushSync was called from inside a lifecycle method. React cannot flush when React is already rendering. Consider moving this call to a scheduler task or micro task.")}},$i.preconnect=function(_,w){typeof _=="string"&&_?w!=null&&typeof w!="object"?console.error("ReactDOM.preconnect(): Expected the `options` argument (second) to be an object but encountered %s instead. The only supported option at this time is `crossOrigin` which accepts a string.",p(w)):w!=null&&typeof w.crossOrigin!="string"&&console.error("ReactDOM.preconnect(): Expected the `crossOrigin` option (second argument) to be a string but encountered %s instead. Try removing this option or passing a string value instead.",h(w.crossOrigin)):console.error("ReactDOM.preconnect(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",h(_)),typeof _=="string"&&(w?(w=w.crossOrigin,w=typeof w=="string"?w==="use-credentials"?w:"":void 0):w=null,E.d.C(_,w))},$i.prefetchDNS=function(_){if(typeof _!="string"||!_)console.error("ReactDOM.prefetchDNS(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",h(_));else if(1<arguments.length){var w=arguments[1];typeof w=="object"&&w.hasOwnProperty("crossOrigin")?console.error("ReactDOM.prefetchDNS(): Expected only one argument, `href`, but encountered %s as a second argument instead. This argument is reserved for future options and is currently disallowed. It looks like the you are attempting to set a crossOrigin property for this DNS lookup hint. Browsers do not perform DNS queries using CORS and setting this attribute on the resource hint has no effect. Try calling ReactDOM.prefetchDNS() with just a single string argument, `href`.",p(w)):console.error("ReactDOM.prefetchDNS(): Expected only one argument, `href`, but encountered %s as a second argument instead. This argument is reserved for future options and is currently disallowed. Try calling ReactDOM.prefetchDNS() with just a single string argument, `href`.",p(w))}typeof _=="string"&&E.d.D(_)},$i.preinit=function(_,w){if(typeof _=="string"&&_?w==null||typeof w!="object"?console.error("ReactDOM.preinit(): Expected the `options` argument (second) to be an object with an `as` property describing the type of resource to be preinitialized but encountered %s instead.",p(w)):w.as!=="style"&&w.as!=="script"&&console.error('ReactDOM.preinit(): Expected the `as` property in the `options` argument (second) to contain a valid value describing the type of resource to be preinitialized but encountered %s instead. Valid values for `as` are "style" and "script".',p(w.as)):console.error("ReactDOM.preinit(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",h(_)),typeof _=="string"&&w&&typeof w.as=="string"){var z=w.as,V=c(z,w.crossOrigin),X=typeof w.integrity=="string"?w.integrity:void 0,Q=typeof w.fetchPriority=="string"?w.fetchPriority:void 0;z==="style"?E.d.S(_,typeof w.precedence=="string"?w.precedence:void 0,{crossOrigin:V,integrity:X,fetchPriority:Q}):z==="script"&&E.d.X(_,{crossOrigin:V,integrity:X,fetchPriority:Q,nonce:typeof w.nonce=="string"?w.nonce:void 0})}},$i.preinitModule=function(_,w){var z="";if(typeof _=="string"&&_||(z+=" The `href` argument encountered was "+h(_)+"."),w!==void 0&&typeof w!="object"?z+=" The `options` argument encountered was "+h(w)+".":w&&"as"in w&&w.as!=="script"&&(z+=" The `as` option encountered was "+p(w.as)+"."),z)console.error("ReactDOM.preinitModule(): Expected up to two arguments, a non-empty `href` string and, optionally, an `options` object with a valid `as` property.%s",z);else switch(z=w&&typeof w.as=="string"?w.as:"script",z){case"script":break;default:z=p(z),console.error('ReactDOM.preinitModule(): Currently the only supported "as" type for this function is "script" but received "%s" instead. This warning was generated for `href` "%s". In the future other module types will be supported, aligning with the import-attributes proposal. Learn more here: (https://github.com/tc39/proposal-import-attributes)',z,_)}typeof _=="string"&&(typeof w=="object"&&w!==null?(w.as==null||w.as==="script")&&(z=c(w.as,w.crossOrigin),E.d.M(_,{crossOrigin:z,integrity:typeof w.integrity=="string"?w.integrity:void 0,nonce:typeof w.nonce=="string"?w.nonce:void 0})):w==null&&E.d.M(_))},$i.preload=function(_,w){var z="";if(typeof _=="string"&&_||(z+=" The `href` argument encountered was "+h(_)+"."),w==null||typeof w!="object"?z+=" The `options` argument encountered was "+h(w)+".":typeof w.as=="string"&&w.as||(z+=" The `as` option encountered was "+h(w.as)+"."),z&&console.error('ReactDOM.preload(): Expected two arguments, a non-empty `href` string and an `options` object with an `as` property valid for a `<link rel="preload" as="..." />` tag.%s',z),typeof _=="string"&&typeof w=="object"&&w!==null&&typeof w.as=="string"){z=w.as;var V=c(z,w.crossOrigin);E.d.L(_,z,{crossOrigin:V,integrity:typeof w.integrity=="string"?w.integrity:void 0,nonce:typeof w.nonce=="string"?w.nonce:void 0,type:typeof w.type=="string"?w.type:void 0,fetchPriority:typeof w.fetchPriority=="string"?w.fetchPriority:void 0,referrerPolicy:typeof w.referrerPolicy=="string"?w.referrerPolicy:void 0,imageSrcSet:typeof w.imageSrcSet=="string"?w.imageSrcSet:void 0,imageSizes:typeof w.imageSizes=="string"?w.imageSizes:void 0,media:typeof w.media=="string"?w.media:void 0})}},$i.preloadModule=function(_,w){var z="";typeof _=="string"&&_||(z+=" The `href` argument encountered was "+h(_)+"."),w!==void 0&&typeof w!="object"?z+=" The `options` argument encountered was "+h(w)+".":w&&"as"in w&&typeof w.as!="string"&&(z+=" The `as` option encountered was "+h(w.as)+"."),z&&console.error('ReactDOM.preloadModule(): Expected two arguments, a non-empty `href` string and, optionally, an `options` object with an `as` property valid for a `<link rel="modulepreload" as="..." />` tag.%s',z),typeof _=="string"&&(w?(z=c(w.as,w.crossOrigin),E.d.m(_,{as:typeof w.as=="string"&&w.as!=="script"?w.as:void 0,crossOrigin:z,integrity:typeof w.integrity=="string"?w.integrity:void 0})):E.d.m(_))},$i.requestFormReset=function(_){E.d.r(_)},$i.unstable_batchedUpdates=function(_,w){return _(w)},$i.useFormState=function(_,w,z){return y().useFormState(_,w,z)},$i.useFormStatus=function(){return y().useHostTransitionStatus()},$i.version="19.2.3",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()),$i}var n_;function i_(){if(n_)return lb.exports;n_=1;function o(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function")){if(process.env.NODE_ENV!=="production")throw new Error("^_^");try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(o)}catch(n){console.error(n)}}}return process.env.NODE_ENV==="production"?(o(),lb.exports=cC()):lb.exports=fC(),lb.exports}var a_;function dC(){if(a_)return Vy;a_=1;var o=Ix(),n=jh(),u=i_();function c(i){var l="https://react.dev/errors/"+i;if(1<arguments.length){l+="?args[]="+encodeURIComponent(arguments[1]);for(var s=2;s<arguments.length;s++)l+="&args[]="+encodeURIComponent(arguments[s])}return"Minified React error #"+i+"; visit "+l+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function h(i){return!(!i||i.nodeType!==1&&i.nodeType!==9&&i.nodeType!==11)}function p(i){var l=i,s=i;if(i.alternate)for(;l.return;)l=l.return;else{i=l;do l=i,(l.flags&4098)!==0&&(s=l.return),i=l.return;while(i)}return l.tag===3?s:null}function y(i){if(i.tag===13){var l=i.memoizedState;if(l===null&&(i=i.alternate,i!==null&&(l=i.memoizedState)),l!==null)return l.dehydrated}return null}function S(i){if(i.tag===31){var l=i.memoizedState;if(l===null&&(i=i.alternate,i!==null&&(l=i.memoizedState)),l!==null)return l.dehydrated}return null}function E(i){if(p(i)!==i)throw Error(c(188))}function A(i){var l=i.alternate;if(!l){if(l=p(i),l===null)throw Error(c(188));return l!==i?null:i}for(var s=i,f=l;;){var g=s.return;if(g===null)break;var v=g.alternate;if(v===null){if(f=g.return,f!==null){s=f;continue}break}if(g.child===v.child){for(v=g.child;v;){if(v===s)return E(g),i;if(v===f)return E(g),l;v=v.sibling}throw Error(c(188))}if(s.return!==f.return)s=g,f=v;else{for(var D=!1,C=g.child;C;){if(C===s){D=!0,s=g,f=v;break}if(C===f){D=!0,f=g,s=v;break}C=C.sibling}if(!D){for(C=v.child;C;){if(C===s){D=!0,s=v,f=g;break}if(C===f){D=!0,f=v,s=g;break}C=C.sibling}if(!D)throw Error(c(189))}}if(s.alternate!==f)throw Error(c(190))}if(s.tag!==3)throw Error(c(188));return s.stateNode.current===s?i:l}function x(i){var l=i.tag;if(l===5||l===26||l===27||l===6)return i;for(i=i.child;i!==null;){if(l=x(i),l!==null)return l;i=i.sibling}return null}var _=Object.assign,w=Symbol.for("react.element"),z=Symbol.for("react.transitional.element"),V=Symbol.for("react.portal"),X=Symbol.for("react.fragment"),Q=Symbol.for("react.strict_mode"),$=Symbol.for("react.profiler"),le=Symbol.for("react.consumer"),ee=Symbol.for("react.context"),oe=Symbol.for("react.forward_ref"),ye=Symbol.for("react.suspense"),xe=Symbol.for("react.suspense_list"),ve=Symbol.for("react.memo"),he=Symbol.for("react.lazy"),Re=Symbol.for("react.activity"),be=Symbol.for("react.memo_cache_sentinel"),ot=Symbol.iterator;function we(i){return i===null||typeof i!="object"?null:(i=ot&&i[ot]||i["@@iterator"],typeof i=="function"?i:null)}var Qe=Symbol.for("react.client.reference");function Vt(i){if(i==null)return null;if(typeof i=="function")return i.$$typeof===Qe?null:i.displayName||i.name||null;if(typeof i=="string")return i;switch(i){case X:return"Fragment";case $:return"Profiler";case Q:return"StrictMode";case ye:return"Suspense";case xe:return"SuspenseList";case Re:return"Activity"}if(typeof i=="object")switch(i.$$typeof){case V:return"Portal";case ee:return i.displayName||"Context";case le:return(i._context.displayName||"Context")+".Consumer";case oe:var l=i.render;return i=i.displayName,i||(i=l.displayName||l.name||"",i=i!==""?"ForwardRef("+i+")":"ForwardRef"),i;case ve:return l=i.displayName||null,l!==null?l:Vt(i.type)||"Memo";case he:l=i._payload,i=i._init;try{return Vt(i(l))}catch{}}return null}var Yt=Array.isArray,Y=n.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,ne=u.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,de={pending:!1,data:null,method:null,action:null},Oe=[],Le=-1;function U(i){return{current:i}}function P(i){0>Le||(i.current=Oe[Le],Oe[Le]=null,Le--)}function pe(i,l){Le++,Oe[Le]=i.current,i.current=l}var me=U(null),je=U(null),tt=U(null),Ge=U(null);function en(i,l){switch(pe(tt,l),pe(je,i),pe(me,null),l.nodeType){case 9:case 11:i=(i=l.documentElement)&&(i=i.namespaceURI)?o1(i):0;break;default:if(i=l.tagName,l=l.namespaceURI)l=o1(l),i=Fv(l,i);else switch(i){case"svg":i=1;break;case"math":i=2;break;default:i=0}}P(me),pe(me,i)}function wt(){P(me),P(je),P(tt)}function pa(i){i.memoizedState!==null&&pe(Ge,i);var l=me.current,s=Fv(l,i.type);l!==s&&(pe(je,i),pe(me,s))}function _e(i){je.current===i&&(P(me),P(je)),Ge.current===i&&(P(Ge),dh._currentValue=de)}var Us,Bs;function ya(i){if(Us===void 0)try{throw Error()}catch(s){var l=s.stack.trim().match(/\n( *(at )?)/);Us=l&&l[1]||"",Bs=-1<s.stack.indexOf(`
1
+ (function(){"use strict";function zx(n){return n&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n}var lu={exports:{}},at={};var Ud;function Ox(){if(Ud)return at;Ud=1;var n=Symbol.for("react.transitional.element"),t=Symbol.for("react.portal"),a=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),r=Symbol.for("react.profiler"),u=Symbol.for("react.consumer"),c=Symbol.for("react.context"),d=Symbol.for("react.forward_ref"),m=Symbol.for("react.suspense"),p=Symbol.for("react.memo"),y=Symbol.for("react.lazy"),v=Symbol.for("react.activity"),S=Symbol.iterator;function x(_){return _===null||typeof _!="object"?null:(_=S&&_[S]||_["@@iterator"],typeof _=="function"?_:null)}var w={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},C=Object.assign,A={};function R(_,j,Z){this.props=_,this.context=j,this.refs=A,this.updater=Z||w}R.prototype.isReactComponent={},R.prototype.setState=function(_,j){if(typeof _!="object"&&typeof _!="function"&&_!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,_,j,"setState")},R.prototype.forceUpdate=function(_){this.updater.enqueueForceUpdate(this,_,"forceUpdate")};function L(){}L.prototype=R.prototype;function B(_,j,Z){this.props=_,this.context=j,this.refs=A,this.updater=Z||w}var H=B.prototype=new L;H.constructor=B,C(H,R.prototype),H.isPureReactComponent=!0;var Y=Array.isArray;function K(){}var G={H:null,A:null,T:null,S:null},Q=Object.prototype.hasOwnProperty;function st(_,j,Z){var I=Z.ref;return{$$typeof:n,type:_,key:j,ref:I!==void 0?I:null,props:Z}}function dt(_,j){return st(_.type,j,_.props)}function Rt(_){return typeof _=="object"&&_!==null&&_.$$typeof===n}function Lt(_){var j={"=":"=0",":":"=2"};return"$"+_.replace(/[=:]/g,function(Z){return j[Z]})}var qe=/\/+/g;function Ee(_,j){return typeof _=="object"&&_!==null&&_.key!=null?Lt(""+_.key):j.toString(36)}function Ae(_){switch(_.status){case"fulfilled":return _.value;case"rejected":throw _.reason;default:switch(typeof _.status=="string"?_.then(K,K):(_.status="pending",_.then(function(j){_.status==="pending"&&(_.status="fulfilled",_.value=j)},function(j){_.status==="pending"&&(_.status="rejected",_.reason=j)})),_.status){case"fulfilled":return _.value;case"rejected":throw _.reason}}throw _}function U(_,j,Z,I,ot){var ut=typeof _;(ut==="undefined"||ut==="boolean")&&(_=null);var wt=!1;if(_===null)wt=!0;else switch(ut){case"bigint":case"string":case"number":wt=!0;break;case"object":switch(_.$$typeof){case n:case t:wt=!0;break;case y:return wt=_._init,U(wt(_._payload),j,Z,I,ot)}}if(wt)return ot=ot(_),wt=I===""?"."+Ee(_,0):I,Y(ot)?(Z="",wt!=null&&(Z=wt.replace(qe,"$&/")+"/"),U(ot,j,Z,"",function(ro){return ro})):ot!=null&&(Rt(ot)&&(ot=dt(ot,Z+(ot.key==null||_&&_.key===ot.key?"":(""+ot.key).replace(qe,"$&/")+"/")+wt)),j.push(ot)),1;wt=0;var Me=I===""?".":I+":";if(Y(_))for(var Yt=0;Yt<_.length;Yt++)I=_[Yt],ut=Me+Ee(I,Yt),wt+=U(I,j,Z,ut,ot);else if(Yt=x(_),typeof Yt=="function")for(_=Yt.call(_),Yt=0;!(I=_.next()).done;)I=I.value,ut=Me+Ee(I,Yt++),wt+=U(I,j,Z,ut,ot);else if(ut==="object"){if(typeof _.then=="function")return U(Ae(_),j,Z,I,ot);throw j=String(_),Error("Objects are not valid as a React child (found: "+(j==="[object Object]"?"object with keys {"+Object.keys(_).join(", ")+"}":j)+"). If you meant to render a collection of children, use an array instead.")}return wt}function P(_,j,Z){if(_==null)return _;var I=[],ot=0;return U(_,I,"","",function(ut){return j.call(Z,ut,ot++)}),I}function W(_){if(_._status===-1){var j=_._result;j=j(),j.then(function(Z){(_._status===0||_._status===-1)&&(_._status=1,_._result=Z)},function(Z){(_._status===0||_._status===-1)&&(_._status=2,_._result=Z)}),_._status===-1&&(_._status=0,_._result=j)}if(_._status===1)return _._result.default;throw _._result}var mt=typeof reportError=="function"?reportError:function(_){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var j=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof _=="object"&&_!==null&&typeof _.message=="string"?String(_.message):String(_),error:_});if(!window.dispatchEvent(j))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",_);return}console.error(_)},vt={map:P,forEach:function(_,j,Z){P(_,function(){j.apply(this,arguments)},Z)},count:function(_){var j=0;return P(_,function(){j++}),j},toArray:function(_){return P(_,function(j){return j})||[]},only:function(_){if(!Rt(_))throw Error("React.Children.only expected to receive a single React element child.");return _}};return at.Activity=v,at.Children=vt,at.Component=R,at.Fragment=a,at.Profiler=r,at.PureComponent=B,at.StrictMode=o,at.Suspense=m,at.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=G,at.__COMPILER_RUNTIME={__proto__:null,c:function(_){return G.H.useMemoCache(_)}},at.cache=function(_){return function(){return _.apply(null,arguments)}},at.cacheSignal=function(){return null},at.cloneElement=function(_,j,Z){if(_==null)throw Error("The argument must be a React element, but you passed "+_+".");var I=C({},_.props),ot=_.key;if(j!=null)for(ut in j.key!==void 0&&(ot=""+j.key),j)!Q.call(j,ut)||ut==="key"||ut==="__self"||ut==="__source"||ut==="ref"&&j.ref===void 0||(I[ut]=j[ut]);var ut=arguments.length-2;if(ut===1)I.children=Z;else if(1<ut){for(var wt=Array(ut),Me=0;Me<ut;Me++)wt[Me]=arguments[Me+2];I.children=wt}return st(_.type,ot,I)},at.createContext=function(_){return _={$$typeof:c,_currentValue:_,_currentValue2:_,_threadCount:0,Provider:null,Consumer:null},_.Provider=_,_.Consumer={$$typeof:u,_context:_},_},at.createElement=function(_,j,Z){var I,ot={},ut=null;if(j!=null)for(I in j.key!==void 0&&(ut=""+j.key),j)Q.call(j,I)&&I!=="key"&&I!=="__self"&&I!=="__source"&&(ot[I]=j[I]);var wt=arguments.length-2;if(wt===1)ot.children=Z;else if(1<wt){for(var Me=Array(wt),Yt=0;Yt<wt;Yt++)Me[Yt]=arguments[Yt+2];ot.children=Me}if(_&&_.defaultProps)for(I in wt=_.defaultProps,wt)ot[I]===void 0&&(ot[I]=wt[I]);return st(_,ut,ot)},at.createRef=function(){return{current:null}},at.forwardRef=function(_){return{$$typeof:d,render:_}},at.isValidElement=Rt,at.lazy=function(_){return{$$typeof:y,_payload:{_status:-1,_result:_},_init:W}},at.memo=function(_,j){return{$$typeof:p,type:_,compare:j===void 0?null:j}},at.startTransition=function(_){var j=G.T,Z={};G.T=Z;try{var I=_(),ot=G.S;ot!==null&&ot(Z,I),typeof I=="object"&&I!==null&&typeof I.then=="function"&&I.then(K,mt)}catch(ut){mt(ut)}finally{j!==null&&Z.types!==null&&(j.types=Z.types),G.T=j}},at.unstable_useCacheRefresh=function(){return G.H.useCacheRefresh()},at.use=function(_){return G.H.use(_)},at.useActionState=function(_,j,Z){return G.H.useActionState(_,j,Z)},at.useCallback=function(_,j){return G.H.useCallback(_,j)},at.useContext=function(_){return G.H.useContext(_)},at.useDebugValue=function(){},at.useDeferredValue=function(_,j){return G.H.useDeferredValue(_,j)},at.useEffect=function(_,j){return G.H.useEffect(_,j)},at.useEffectEvent=function(_){return G.H.useEffectEvent(_)},at.useId=function(){return G.H.useId()},at.useImperativeHandle=function(_,j,Z){return G.H.useImperativeHandle(_,j,Z)},at.useInsertionEffect=function(_,j){return G.H.useInsertionEffect(_,j)},at.useLayoutEffect=function(_,j){return G.H.useLayoutEffect(_,j)},at.useMemo=function(_,j){return G.H.useMemo(_,j)},at.useOptimistic=function(_,j){return G.H.useOptimistic(_,j)},at.useReducer=function(_,j,Z){return G.H.useReducer(_,j,Z)},at.useRef=function(_){return G.H.useRef(_)},at.useState=function(_){return G.H.useState(_)},at.useSyncExternalStore=function(_,j,Z){return G.H.useSyncExternalStore(_,j,Z)},at.useTransition=function(){return G.H.useTransition()},at.version="19.2.3",at}var Nd;function ru(){return Nd||(Nd=1,lu.exports=Ox()),lu.exports}var F=ru();const Rx=zx(F);var uu={exports:{}},Ua={},cu={exports:{}},fu={};var Hd;function Vx(){return Hd||(Hd=1,(function(n){function t(U,P){var W=U.length;U.push(P);t:for(;0<W;){var mt=W-1>>>1,vt=U[mt];if(0<r(vt,P))U[mt]=P,U[W]=vt,W=mt;else break t}}function a(U){return U.length===0?null:U[0]}function o(U){if(U.length===0)return null;var P=U[0],W=U.pop();if(W!==P){U[0]=W;t:for(var mt=0,vt=U.length,_=vt>>>1;mt<_;){var j=2*(mt+1)-1,Z=U[j],I=j+1,ot=U[I];if(0>r(Z,W))I<vt&&0>r(ot,Z)?(U[mt]=ot,U[I]=W,mt=I):(U[mt]=Z,U[j]=W,mt=j);else if(I<vt&&0>r(ot,W))U[mt]=ot,U[I]=W,mt=I;else break t}}return P}function r(U,P){var W=U.sortIndex-P.sortIndex;return W!==0?W:U.id-P.id}if(n.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var u=performance;n.unstable_now=function(){return u.now()}}else{var c=Date,d=c.now();n.unstable_now=function(){return c.now()-d}}var m=[],p=[],y=1,v=null,S=3,x=!1,w=!1,C=!1,A=!1,R=typeof setTimeout=="function"?setTimeout:null,L=typeof clearTimeout=="function"?clearTimeout:null,B=typeof setImmediate<"u"?setImmediate:null;function H(U){for(var P=a(p);P!==null;){if(P.callback===null)o(p);else if(P.startTime<=U)o(p),P.sortIndex=P.expirationTime,t(m,P);else break;P=a(p)}}function Y(U){if(C=!1,H(U),!w)if(a(m)!==null)w=!0,K||(K=!0,Lt());else{var P=a(p);P!==null&&Ae(Y,P.startTime-U)}}var K=!1,G=-1,Q=5,st=-1;function dt(){return A?!0:!(n.unstable_now()-st<Q)}function Rt(){if(A=!1,K){var U=n.unstable_now();st=U;var P=!0;try{t:{w=!1,C&&(C=!1,L(G),G=-1),x=!0;var W=S;try{e:{for(H(U),v=a(m);v!==null&&!(v.expirationTime>U&&dt());){var mt=v.callback;if(typeof mt=="function"){v.callback=null,S=v.priorityLevel;var vt=mt(v.expirationTime<=U);if(U=n.unstable_now(),typeof vt=="function"){v.callback=vt,H(U),P=!0;break e}v===a(m)&&o(m),H(U)}else o(m);v=a(m)}if(v!==null)P=!0;else{var _=a(p);_!==null&&Ae(Y,_.startTime-U),P=!1}}break t}finally{v=null,S=W,x=!1}P=void 0}}finally{P?Lt():K=!1}}}var Lt;if(typeof B=="function")Lt=function(){B(Rt)};else if(typeof MessageChannel<"u"){var qe=new MessageChannel,Ee=qe.port2;qe.port1.onmessage=Rt,Lt=function(){Ee.postMessage(null)}}else Lt=function(){R(Rt,0)};function Ae(U,P){G=R(function(){U(n.unstable_now())},P)}n.unstable_IdlePriority=5,n.unstable_ImmediatePriority=1,n.unstable_LowPriority=4,n.unstable_NormalPriority=3,n.unstable_Profiling=null,n.unstable_UserBlockingPriority=2,n.unstable_cancelCallback=function(U){U.callback=null},n.unstable_forceFrameRate=function(U){0>U||125<U?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):Q=0<U?Math.floor(1e3/U):5},n.unstable_getCurrentPriorityLevel=function(){return S},n.unstable_next=function(U){switch(S){case 1:case 2:case 3:var P=3;break;default:P=S}var W=S;S=P;try{return U()}finally{S=W}},n.unstable_requestPaint=function(){A=!0},n.unstable_runWithPriority=function(U,P){switch(U){case 1:case 2:case 3:case 4:case 5:break;default:U=3}var W=S;S=U;try{return P()}finally{S=W}},n.unstable_scheduleCallback=function(U,P,W){var mt=n.unstable_now();switch(typeof W=="object"&&W!==null?(W=W.delay,W=typeof W=="number"&&0<W?mt+W:mt):W=mt,U){case 1:var vt=-1;break;case 2:vt=250;break;case 5:vt=1073741823;break;case 4:vt=1e4;break;default:vt=5e3}return vt=W+vt,U={id:y++,callback:P,priorityLevel:U,startTime:W,expirationTime:vt,sortIndex:-1},W>mt?(U.sortIndex=W,t(p,U),a(m)===null&&U===a(p)&&(C?(L(G),G=-1):C=!0,Ae(Y,W-mt))):(U.sortIndex=vt,t(m,U),w||x||(w=!0,K||(K=!0,Lt()))),U},n.unstable_shouldYield=dt,n.unstable_wrapCallback=function(U){var P=S;return function(){var W=S;S=P;try{return U.apply(this,arguments)}finally{S=W}}}})(fu)),fu}var qd;function Bx(){return qd||(qd=1,cu.exports=Vx()),cu.exports}var hu={exports:{}},he={};var jd;function Lx(){if(jd)return he;jd=1;var n=ru();function t(m){var p="https://react.dev/errors/"+m;if(1<arguments.length){p+="?args[]="+encodeURIComponent(arguments[1]);for(var y=2;y<arguments.length;y++)p+="&args[]="+encodeURIComponent(arguments[y])}return"Minified React error #"+m+"; visit "+p+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function a(){}var o={d:{f:a,r:function(){throw Error(t(522))},D:a,C:a,L:a,m:a,X:a,S:a,M:a},p:0,findDOMNode:null},r=Symbol.for("react.portal");function u(m,p,y){var v=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:r,key:v==null?null:""+v,children:m,containerInfo:p,implementation:y}}var c=n.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function d(m,p){if(m==="font")return"";if(typeof p=="string")return p==="use-credentials"?p:""}return he.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=o,he.createPortal=function(m,p){var y=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!p||p.nodeType!==1&&p.nodeType!==9&&p.nodeType!==11)throw Error(t(299));return u(m,p,null,y)},he.flushSync=function(m){var p=c.T,y=o.p;try{if(c.T=null,o.p=2,m)return m()}finally{c.T=p,o.p=y,o.d.f()}},he.preconnect=function(m,p){typeof m=="string"&&(p?(p=p.crossOrigin,p=typeof p=="string"?p==="use-credentials"?p:"":void 0):p=null,o.d.C(m,p))},he.prefetchDNS=function(m){typeof m=="string"&&o.d.D(m)},he.preinit=function(m,p){if(typeof m=="string"&&p&&typeof p.as=="string"){var y=p.as,v=d(y,p.crossOrigin),S=typeof p.integrity=="string"?p.integrity:void 0,x=typeof p.fetchPriority=="string"?p.fetchPriority:void 0;y==="style"?o.d.S(m,typeof p.precedence=="string"?p.precedence:void 0,{crossOrigin:v,integrity:S,fetchPriority:x}):y==="script"&&o.d.X(m,{crossOrigin:v,integrity:S,fetchPriority:x,nonce:typeof p.nonce=="string"?p.nonce:void 0})}},he.preinitModule=function(m,p){if(typeof m=="string")if(typeof p=="object"&&p!==null){if(p.as==null||p.as==="script"){var y=d(p.as,p.crossOrigin);o.d.M(m,{crossOrigin:y,integrity:typeof p.integrity=="string"?p.integrity:void 0,nonce:typeof p.nonce=="string"?p.nonce:void 0})}}else p==null&&o.d.M(m)},he.preload=function(m,p){if(typeof m=="string"&&typeof p=="object"&&p!==null&&typeof p.as=="string"){var y=p.as,v=d(y,p.crossOrigin);o.d.L(m,y,{crossOrigin:v,integrity:typeof p.integrity=="string"?p.integrity:void 0,nonce:typeof p.nonce=="string"?p.nonce:void 0,type:typeof p.type=="string"?p.type:void 0,fetchPriority:typeof p.fetchPriority=="string"?p.fetchPriority:void 0,referrerPolicy:typeof p.referrerPolicy=="string"?p.referrerPolicy:void 0,imageSrcSet:typeof p.imageSrcSet=="string"?p.imageSrcSet:void 0,imageSizes:typeof p.imageSizes=="string"?p.imageSizes:void 0,media:typeof p.media=="string"?p.media:void 0})}},he.preloadModule=function(m,p){if(typeof m=="string")if(p){var y=d(p.as,p.crossOrigin);o.d.m(m,{as:typeof p.as=="string"&&p.as!=="script"?p.as:void 0,crossOrigin:y,integrity:typeof p.integrity=="string"?p.integrity:void 0})}else o.d.m(m)},he.requestFormReset=function(m){o.d.r(m)},he.unstable_batchedUpdates=function(m,p){return m(p)},he.useFormState=function(m,p,y){return c.H.useFormState(m,p,y)},he.useFormStatus=function(){return c.H.useHostTransitionStatus()},he.version="19.2.3",he}var Pd;function kx(){if(Pd)return hu.exports;Pd=1;function n(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(n)}catch(t){console.error(t)}}return n(),hu.exports=Lx(),hu.exports}var Yd;function Ux(){if(Yd)return Ua;Yd=1;var n=Bx(),t=ru(),a=kx();function o(e){var i="https://react.dev/errors/"+e;if(1<arguments.length){i+="?args[]="+encodeURIComponent(arguments[1]);for(var s=2;s<arguments.length;s++)i+="&args[]="+encodeURIComponent(arguments[s])}return"Minified React error #"+e+"; visit "+i+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function r(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function u(e){var i=e,s=e;if(e.alternate)for(;i.return;)i=i.return;else{e=i;do i=e,(i.flags&4098)!==0&&(s=i.return),e=i.return;while(e)}return i.tag===3?s:null}function c(e){if(e.tag===13){var i=e.memoizedState;if(i===null&&(e=e.alternate,e!==null&&(i=e.memoizedState)),i!==null)return i.dehydrated}return null}function d(e){if(e.tag===31){var i=e.memoizedState;if(i===null&&(e=e.alternate,e!==null&&(i=e.memoizedState)),i!==null)return i.dehydrated}return null}function m(e){if(u(e)!==e)throw Error(o(188))}function p(e){var i=e.alternate;if(!i){if(i=u(e),i===null)throw Error(o(188));return i!==e?null:e}for(var s=e,l=i;;){var f=s.return;if(f===null)break;var h=f.alternate;if(h===null){if(l=f.return,l!==null){s=l;continue}break}if(f.child===h.child){for(h=f.child;h;){if(h===s)return m(f),e;if(h===l)return m(f),i;h=h.sibling}throw Error(o(188))}if(s.return!==l.return)s=f,l=h;else{for(var g=!1,b=f.child;b;){if(b===s){g=!0,s=f,l=h;break}if(b===l){g=!0,l=f,s=h;break}b=b.sibling}if(!g){for(b=h.child;b;){if(b===s){g=!0,s=h,l=f;break}if(b===l){g=!0,l=h,s=f;break}b=b.sibling}if(!g)throw Error(o(189))}}if(s.alternate!==l)throw Error(o(190))}if(s.tag!==3)throw Error(o(188));return s.stateNode.current===s?e:i}function y(e){var i=e.tag;if(i===5||i===26||i===27||i===6)return e;for(e=e.child;e!==null;){if(i=y(e),i!==null)return i;e=e.sibling}return null}var v=Object.assign,S=Symbol.for("react.element"),x=Symbol.for("react.transitional.element"),w=Symbol.for("react.portal"),C=Symbol.for("react.fragment"),A=Symbol.for("react.strict_mode"),R=Symbol.for("react.profiler"),L=Symbol.for("react.consumer"),B=Symbol.for("react.context"),H=Symbol.for("react.forward_ref"),Y=Symbol.for("react.suspense"),K=Symbol.for("react.suspense_list"),G=Symbol.for("react.memo"),Q=Symbol.for("react.lazy"),st=Symbol.for("react.activity"),dt=Symbol.for("react.memo_cache_sentinel"),Rt=Symbol.iterator;function Lt(e){return e===null||typeof e!="object"?null:(e=Rt&&e[Rt]||e["@@iterator"],typeof e=="function"?e:null)}var qe=Symbol.for("react.client.reference");function Ee(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===qe?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case C:return"Fragment";case R:return"Profiler";case A:return"StrictMode";case Y:return"Suspense";case K:return"SuspenseList";case st:return"Activity"}if(typeof e=="object")switch(e.$$typeof){case w:return"Portal";case B:return e.displayName||"Context";case L:return(e._context.displayName||"Context")+".Consumer";case H:var i=e.render;return e=e.displayName,e||(e=i.displayName||i.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case G:return i=e.displayName||null,i!==null?i:Ee(e.type)||"Memo";case Q:i=e._payload,e=e._init;try{return Ee(e(i))}catch{}}return null}var Ae=Array.isArray,U=t.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,P=a.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,W={pending:!1,data:null,method:null,action:null},mt=[],vt=-1;function _(e){return{current:e}}function j(e){0>vt||(e.current=mt[vt],mt[vt]=null,vt--)}function Z(e,i){vt++,mt[vt]=e.current,e.current=i}var I=_(null),ot=_(null),ut=_(null),wt=_(null);function Me(e,i){switch(Z(ut,i),Z(ot,e),Z(I,null),i.nodeType){case 9:case 11:e=(e=i.documentElement)&&(e=e.namespaceURI)?WS(e):0;break;default:if(e=i.tagName,i=i.namespaceURI)i=WS(i),e=tx(i,e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}j(I),Z(I,e)}function Yt(){j(I),j(ot),j(ut)}function ro(e){e.memoizedState!==null&&Z(wt,e);var i=I.current,s=tx(i,e.type);i!==s&&(Z(ot,e),Z(I,s))}function Yl(e){ot.current===e&&(j(I),j(ot)),wt.current===e&&(j(wt),Io._currentValue=W)}var bf,Dv;function us(e){if(bf===void 0)try{throw Error()}catch(s){var i=s.stack.trim().match(/\n( *(at )?)/);bf=i&&i[1]||"",Dv=-1<s.stack.indexOf(`
18
2
  at`)?" (<anonymous>)":-1<s.stack.indexOf("@")?"@unknown:0:0":""}return`
19
- `+Us+i+Bs}var $l=!1;function Rt(i,l){if(!i||$l)return"";$l=!0;var s=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var f={DetermineComponentFrameRoot:function(){try{if(l){var ce=function(){throw Error()};if(Object.defineProperty(ce.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(ce,[])}catch(ae){var W=ae}Reflect.construct(i,[],ce)}else{try{ce.call()}catch(ae){W=ae}i.call(ce.prototype)}}else{try{throw Error()}catch(ae){W=ae}(ce=i())&&typeof ce.catch=="function"&&ce.catch(function(){})}}catch(ae){if(ae&&W&&typeof ae.stack=="string")return[ae.stack,W.stack]}return[null,null]}};f.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var g=Object.getOwnPropertyDescriptor(f.DetermineComponentFrameRoot,"name");g&&g.configurable&&Object.defineProperty(f.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var v=f.DetermineComponentFrameRoot(),D=v[0],C=v[1];if(D&&C){var N=D.split(`
20
- `),F=C.split(`
21
- `);for(g=f=0;f<N.length&&!N[f].includes("DetermineComponentFrameRoot");)f++;for(;g<F.length&&!F[g].includes("DetermineComponentFrameRoot");)g++;if(f===N.length||g===F.length)for(f=N.length-1,g=F.length-1;1<=f&&0<=g&&N[f]!==F[g];)g--;for(;1<=f&&0<=g;f--,g--)if(N[f]!==F[g]){if(f!==1||g!==1)do if(f--,g--,0>g||N[f]!==F[g]){var se=`
22
- `+N[f].replace(" at new "," at ");return i.displayName&&se.includes("<anonymous>")&&(se=se.replace("<anonymous>",i.displayName)),se}while(1<=f&&0<=g);break}}}finally{$l=!1,Error.prepareStackTrace=s}return(s=i?i.displayName||i.name:"")?ya(s):""}function vi(i,l){switch(i.tag){case 26:case 27:case 5:return ya(i.type);case 16:return ya("Lazy");case 13:return i.child!==l&&l!==null?ya("Suspense Fallback"):ya("Suspense");case 19:return ya("SuspenseList");case 0:case 15:return Rt(i.type,!1);case 11:return Rt(i.type.render,!1);case 1:return Rt(i.type,!0);case 31:return ya("Activity");default:return""}}function Ru(i){try{var l="",s=null;do l+=vi(i,s),s=i,i=i.return;while(i);return l}catch(f){return`
23
- Error generating stack: `+f.message+`
24
- `+f.stack}}var Wf=Object.prototype.hasOwnProperty,ze=o.unstable_scheduleCallback,Vs=o.unstable_cancelCallback,Kl=o.unstable_shouldYield,Ou=o.unstable_requestPaint,Mn=o.unstable_now,hm=o.unstable_getCurrentPriorityLevel,Pr=o.unstable_ImmediatePriority,Fr=o.unstable_UserBlockingPriority,fl=o.unstable_NormalPriority,mm=o.unstable_LowPriority,Wr=o.unstable_IdlePriority,If=o.log,Mu=o.unstable_setDisableYieldValue,ka=null,Hn=null;function ga(i){if(typeof If=="function"&&Mu(i),Hn&&typeof Hn.setStrictMode=="function")try{Hn.setStrictMode(ka,i)}catch{}}var Jn=Math.clz32?Math.clz32:Z,Hs=Math.log,M=Math.LN2;function Z(i){return i>>>=0,i===0?32:31-(Hs(i)/M|0)|0}var ge=256,Se=262144,Ue=4194304;function Je(i){var l=i&42;if(l!==0)return l;switch(i&-i){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return i&261888;case 262144:case 524288:case 1048576:case 2097152:return i&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return i&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return i}}function Ve(i,l,s){var f=i.pendingLanes;if(f===0)return 0;var g=0,v=i.suspendedLanes,D=i.pingedLanes;i=i.warmLanes;var C=f&134217727;return C!==0?(f=C&~v,f!==0?g=Je(f):(D&=C,D!==0?g=Je(D):s||(s=C&~i,s!==0&&(g=Je(s))))):(C=f&~v,C!==0?g=Je(C):D!==0?g=Je(D):s||(s=f&~i,s!==0&&(g=Je(s)))),g===0?0:l!==0&&l!==g&&(l&v)===0&&(v=g&-g,s=l&-l,v>=s||v===32&&(s&4194048)!==0)?l:g}function mt(i,l){return(i.pendingLanes&~(i.suspendedLanes&~i.pingedLanes)&l)===0}function nt(i,l){switch(i){case 1:case 2:case 4:case 8:case 64:return l+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return l+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function bi(){var i=Ue;return Ue<<=1,(Ue&62914560)===0&&(Ue=4194304),i}function Xa(i){for(var l=[],s=0;31>s;s++)l.push(i);return l}function Ls(i,l){i.pendingLanes|=l,l!==268435456&&(i.suspendedLanes=0,i.pingedLanes=0,i.warmLanes=0)}function Ir(i,l,s,f,g,v){var D=i.pendingLanes;i.pendingLanes=s,i.suspendedLanes=0,i.pingedLanes=0,i.warmLanes=0,i.expiredLanes&=s,i.entangledLanes&=s,i.errorRecoveryDisabledLanes&=s,i.shellSuspendCounter=0;var C=i.entanglements,N=i.expirationTimes,F=i.hiddenUpdates;for(s=D&~s;0<s;){var se=31-Jn(s),ce=1<<se;C[se]=0,N[se]=-1;var W=F[se];if(W!==null)for(F[se]=null,se=0;se<W.length;se++){var ae=W[se];ae!==null&&(ae.lane&=-536870913)}s&=~ce}f!==0&&ed(i,f,0),v!==0&&g===0&&i.tag!==0&&(i.suspendedLanes|=v&~(D&~l))}function ed(i,l,s){i.pendingLanes|=l,i.suspendedLanes&=~l;var f=31-Jn(l);i.entangledLanes|=l,i.entanglements[f]=i.entanglements[f]|1073741824|s&261930}function Pl(i,l){var s=i.entangledLanes|=l;for(i=i.entanglements;s;){var f=31-Jn(s),g=1<<f;g&l|i[f]&l&&(i[f]|=l),s&=~g}}function va(i,l){var s=l&-l;return s=(s&42)!==0?1:pm(s),(s&(i.suspendedLanes|l))!==0?0:s}function pm(i){switch(i){case 2:i=1;break;case 8:i=4;break;case 32:i=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:i=128;break;case 268435456:i=134217728;break;default:i=0}return i}function sg(i){return i&=-i,2<i?8<i?(i&134217727)!==0?32:268435456:8:2}function ym(){var i=ne.p;return i!==0?i:(i=window.event,i===void 0?32:hh(i.type))}function ug(i,l){var s=ne.p;try{return ne.p=i,l()}finally{ne.p=s}}var dl=Math.random().toString(36).slice(2),Gt="__reactFiber$"+dl,Mi="__reactProps$"+dl,Ns="__reactContainer$"+dl,gm="__reactEvents$"+dl,rg="__reactListeners$"+dl,$b="__reactHandles$"+dl,cg="__reactResources$"+dl,Fl="__reactMarker$"+dl;function vm(i){delete i[Gt],delete i[Mi],delete i[gm],delete i[rg],delete i[$b]}function Cu(i){var l=i[Gt];if(l)return l;for(var s=i.parentNode;s;){if(l=s[Ns]||s[Gt]){if(s=l.alternate,l.child!==null||s!==null&&s.child!==null)for(i=Ul(i);i!==null;){if(s=i[Gt])return s;i=Ul(i)}return l}i=s,s=i.parentNode}return null}function zu(i){if(i=i[Gt]||i[Ns]){var l=i.tag;if(l===5||l===6||l===13||l===31||l===26||l===27||l===3)return i}return null}function ec(i){var l=i.tag;if(l===5||l===26||l===27||l===6)return i.stateNode;throw Error(c(33))}function Uu(i){var l=i[cg];return l||(l=i[cg]={hoistableStyles:new Map,hoistableScripts:new Map}),l}function Ht(i){i[Fl]=!0}var Bu=new Set,js={};function qs(i,l){Wl(i,l),Wl(i+"Capture",l)}function Wl(i,l){for(js[i]=l,i=0;i<l.length;i++)Bu.add(l[i])}var bm=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),Sm={},tc={};function nc(i){return Wf.call(tc,i)?!0:Wf.call(Sm,i)?!1:bm.test(i)?tc[i]=!0:(Sm[i]=!0,!1)}function ic(i,l,s){if(nc(l))if(s===null)i.removeAttribute(l);else{switch(typeof s){case"undefined":case"function":case"symbol":i.removeAttribute(l);return;case"boolean":var f=l.toLowerCase().slice(0,5);if(f!=="data-"&&f!=="aria-"){i.removeAttribute(l);return}}i.setAttribute(l,""+s)}}function Tm(i,l,s){if(s===null)i.removeAttribute(l);else{switch(typeof s){case"undefined":case"function":case"symbol":case"boolean":i.removeAttribute(l);return}i.setAttribute(l,""+s)}}function Po(i,l,s,f){if(f===null)i.removeAttribute(s);else{switch(typeof f){case"undefined":case"function":case"symbol":case"boolean":i.removeAttribute(s);return}i.setAttributeNS(l,s,""+f)}}function ba(i){switch(typeof i){case"bigint":case"boolean":case"number":case"string":case"undefined":return i;case"object":return i;default:return""}}function Em(i){var l=i.type;return(i=i.nodeName)&&i.toLowerCase()==="input"&&(l==="checkbox"||l==="radio")}function fg(i,l,s){var f=Object.getOwnPropertyDescriptor(i.constructor.prototype,l);if(!i.hasOwnProperty(l)&&typeof f<"u"&&typeof f.get=="function"&&typeof f.set=="function"){var g=f.get,v=f.set;return Object.defineProperty(i,l,{configurable:!0,get:function(){return g.call(this)},set:function(D){s=""+D,v.call(this,D)}}),Object.defineProperty(i,l,{enumerable:f.enumerable}),{getValue:function(){return s},setValue:function(D){s=""+D},stopTracking:function(){i._valueTracker=null,delete i[l]}}}}function Am(i){if(!i._valueTracker){var l=Em(i)?"checked":"value";i._valueTracker=fg(i,l,""+i[l])}}function dg(i){if(!i)return!1;var l=i._valueTracker;if(!l)return!0;var s=l.getValue(),f="";return i&&(f=Em(i)?i.checked?"true":"false":i.value),i=f,i!==s?(l.setValue(i),!0):!1}function td(i){if(i=i||(typeof document<"u"?document:void 0),typeof i>"u")return null;try{return i.activeElement||i.body}catch{return i.body}}var EA=/[\n"\\]/g;function Sa(i){return i.replace(EA,function(l){return"\\"+l.charCodeAt(0).toString(16)+" "})}function nd(i,l,s,f,g,v,D,C){i.name="",D!=null&&typeof D!="function"&&typeof D!="symbol"&&typeof D!="boolean"?i.type=D:i.removeAttribute("type"),l!=null?D==="number"?(l===0&&i.value===""||i.value!=l)&&(i.value=""+ba(l)):i.value!==""+ba(l)&&(i.value=""+ba(l)):D!=="submit"&&D!=="reset"||i.removeAttribute("value"),l!=null?Vu(i,D,ba(l)):s!=null?Vu(i,D,ba(s)):f!=null&&i.removeAttribute("value"),g==null&&v!=null&&(i.defaultChecked=!!v),g!=null&&(i.checked=g&&typeof g!="function"&&typeof g!="symbol"),C!=null&&typeof C!="function"&&typeof C!="symbol"&&typeof C!="boolean"?i.name=""+ba(C):i.removeAttribute("name")}function id(i,l,s,f,g,v,D,C){if(v!=null&&typeof v!="function"&&typeof v!="symbol"&&typeof v!="boolean"&&(i.type=v),l!=null||s!=null){if(!(v!=="submit"&&v!=="reset"||l!=null)){Am(i);return}s=s!=null?""+ba(s):"",l=l!=null?""+ba(l):s,C||l===i.value||(i.value=l),i.defaultValue=l}f=f??g,f=typeof f!="function"&&typeof f!="symbol"&&!!f,i.checked=C?i.checked:!!f,i.defaultChecked=!!f,D!=null&&typeof D!="function"&&typeof D!="symbol"&&typeof D!="boolean"&&(i.name=D),Am(i)}function Vu(i,l,s){l==="number"&&td(i.ownerDocument)===i||i.defaultValue===""+s||(i.defaultValue=""+s)}function ac(i,l,s,f){if(i=i.options,l){l={};for(var g=0;g<s.length;g++)l["$"+s[g]]=!0;for(s=0;s<i.length;s++)g=l.hasOwnProperty("$"+i[s].value),i[s].selected!==g&&(i[s].selected=g),g&&f&&(i[s].defaultSelected=!0)}else{for(s=""+ba(s),l=null,g=0;g<i.length;g++){if(i[g].value===s){i[g].selected=!0,f&&(i[g].defaultSelected=!0);return}l!==null||i[g].disabled||(l=i[g])}l!==null&&(l.selected=!0)}}function hg(i,l,s){if(l!=null&&(l=""+ba(l),l!==i.value&&(i.value=l),s==null)){i.defaultValue!==l&&(i.defaultValue=l);return}i.defaultValue=s!=null?""+ba(s):""}function mg(i,l,s,f){if(l==null){if(f!=null){if(s!=null)throw Error(c(92));if(Yt(f)){if(1<f.length)throw Error(c(93));f=f[0]}s=f}s==null&&(s=""),l=s}s=ba(l),i.defaultValue=s,f=i.textContent,f===s&&f!==""&&f!==null&&(i.value=f),Am(i)}function Il(i,l){if(l){var s=i.firstChild;if(s&&s===i.lastChild&&s.nodeType===3){s.nodeValue=l;return}}i.textContent=l}var Kb=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));function Pb(i,l,s){var f=l.indexOf("--")===0;s==null||typeof s=="boolean"||s===""?f?i.setProperty(l,""):l==="float"?i.cssFloat="":i[l]="":f?i.setProperty(l,s):typeof s!="number"||s===0||Kb.has(l)?l==="float"?i.cssFloat=s:i[l]=(""+s).trim():i[l]=s+"px"}function Fb(i,l,s){if(l!=null&&typeof l!="object")throw Error(c(62));if(i=i.style,s!=null){for(var f in s)!s.hasOwnProperty(f)||l!=null&&l.hasOwnProperty(f)||(f.indexOf("--")===0?i.setProperty(f,""):f==="float"?i.cssFloat="":i[f]="");for(var g in l)f=l[g],l.hasOwnProperty(g)&&s[g]!==f&&Pb(i,g,f)}else for(var v in l)l.hasOwnProperty(v)&&Pb(i,v,l[v])}function pg(i){if(i.indexOf("-")===-1)return!1;switch(i){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 AA=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),ad=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function Qa(i){return ad.test(""+i)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":i}function hl(){}var xm=null;function _m(i){return i=i.target||i.srcElement||window,i.correspondingUseElement&&(i=i.correspondingUseElement),i.nodeType===3?i.parentNode:i}var eo=null,Hu=null;function ld(i){var l=zu(i);if(l&&(i=l.stateNode)){var s=i[Mi]||null;e:switch(i=l.stateNode,l.type){case"input":if(nd(i,s.value,s.defaultValue,s.defaultValue,s.checked,s.defaultChecked,s.type,s.name),l=s.name,s.type==="radio"&&l!=null){for(s=i;s.parentNode;)s=s.parentNode;for(s=s.querySelectorAll('input[name="'+Sa(""+l)+'"][type="radio"]'),l=0;l<s.length;l++){var f=s[l];if(f!==i&&f.form===i.form){var g=f[Mi]||null;if(!g)throw Error(c(90));nd(f,g.value,g.defaultValue,g.defaultValue,g.checked,g.defaultChecked,g.type,g.name)}}for(l=0;l<s.length;l++)f=s[l],f.form===i.form&&dg(f)}break e;case"textarea":hg(i,s.value,s.defaultValue);break e;case"select":l=s.value,l!=null&&ac(i,!!s.multiple,l,!1)}}}var lc=!1;function yg(i,l,s){if(lc)return i(l,s);lc=!0;try{var f=i(l);return f}finally{if(lc=!1,(eo!==null||Hu!==null)&&(Yc(),eo&&(l=eo,i=Hu,Hu=eo=null,ld(l),i)))for(l=0;l<i.length;l++)ld(i[l])}}function $n(i,l){var s=i.stateNode;if(s===null)return null;var f=s[Mi]||null;if(f===null)return null;s=f[l];e:switch(l){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(f=!f.disabled)||(i=i.type,f=!(i==="button"||i==="input"||i==="select"||i==="textarea")),i=!f;break e;default:i=!1}if(i)return null;if(s&&typeof s!="function")throw Error(c(231,l,typeof s));return s}var Fo=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),od=!1;if(Fo)try{var oc={};Object.defineProperty(oc,"passive",{get:function(){od=!0}}),window.addEventListener("test",oc,oc),window.removeEventListener("test",oc,oc)}catch{od=!1}var Wo=null,gg=null,Dm=null;function vg(){if(Dm)return Dm;var i,l=gg,s=l.length,f,g="value"in Wo?Wo.value:Wo.textContent,v=g.length;for(i=0;i<s&&l[i]===g[i];i++);var D=s-i;for(f=1;f<=D&&l[s-f]===g[v-f];f++);return Dm=g.slice(i,1<f?1-f:void 0)}function wm(i){var l=i.keyCode;return"charCode"in i?(i=i.charCode,i===0&&l===13&&(i=13)):i=l,i===10&&(i=13),32<=i||i===13?i:0}function sd(){return!0}function Wb(){return!1}function fi(i){function l(s,f,g,v,D){this._reactName=s,this._targetInst=g,this.type=f,this.nativeEvent=v,this.target=D,this.currentTarget=null;for(var C in i)i.hasOwnProperty(C)&&(s=i[C],this[C]=s?s(v):v[C]);return this.isDefaultPrevented=(v.defaultPrevented!=null?v.defaultPrevented:v.returnValue===!1)?sd:Wb,this.isPropagationStopped=Wb,this}return _(l.prototype,{preventDefault:function(){this.defaultPrevented=!0;var s=this.nativeEvent;s&&(s.preventDefault?s.preventDefault():typeof s.returnValue!="unknown"&&(s.returnValue=!1),this.isDefaultPrevented=sd)},stopPropagation:function(){var s=this.nativeEvent;s&&(s.stopPropagation?s.stopPropagation():typeof s.cancelBubble!="unknown"&&(s.cancelBubble=!0),this.isPropagationStopped=sd)},persist:function(){},isPersistent:sd}),l}var Ys={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(i){return i.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},ud=fi(Ys),sc=_({},Ys,{view:0,detail:0}),xA=fi(sc),bg,Sg,rd,Rm=_({},sc,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Za,button:0,buttons:0,relatedTarget:function(i){return i.relatedTarget===void 0?i.fromElement===i.srcElement?i.toElement:i.fromElement:i.relatedTarget},movementX:function(i){return"movementX"in i?i.movementX:(i!==rd&&(rd&&i.type==="mousemove"?(bg=i.screenX-rd.screenX,Sg=i.screenY-rd.screenY):Sg=bg=0,rd=i),bg)},movementY:function(i){return"movementY"in i?i.movementY:Sg}}),uc=fi(Rm),Ib=_({},Rm,{dataTransfer:0}),eS=fi(Ib),tS=_({},sc,{relatedTarget:0}),Om=fi(tS),Tg=_({},Ys,{animationName:0,elapsedTime:0,pseudoElement:0}),nS=fi(Tg),Lu=_({},Ys,{clipboardData:function(i){return"clipboardData"in i?i.clipboardData:window.clipboardData}}),Nu=fi(Lu),ml=_({},Ys,{data:0}),iS=fi(ml),Eg={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},to={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"},aS={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function pl(i){var l=this.nativeEvent;return l.getModifierState?l.getModifierState(i):(i=aS[i])?!!l[i]:!1}function Za(){return pl}var Mm=_({},sc,{key:function(i){if(i.key){var l=Eg[i.key]||i.key;if(l!=="Unidentified")return l}return i.type==="keypress"?(i=wm(i),i===13?"Enter":String.fromCharCode(i)):i.type==="keydown"||i.type==="keyup"?to[i.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Za,charCode:function(i){return i.type==="keypress"?wm(i):0},keyCode:function(i){return i.type==="keydown"||i.type==="keyup"?i.keyCode:0},which:function(i){return i.type==="keypress"?wm(i):i.type==="keydown"||i.type==="keyup"?i.keyCode:0}}),Cm=fi(Mm),Ag=_({},Rm,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),yl=fi(Ag),_A=_({},sc,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Za}),lS=fi(_A),oS=_({},Ys,{propertyName:0,elapsedTime:0,pseudoElement:0}),DA=fi(oS),xg=_({},Rm,{deltaX:function(i){return"deltaX"in i?i.deltaX:"wheelDeltaX"in i?-i.wheelDeltaX:0},deltaY:function(i){return"deltaY"in i?i.deltaY:"wheelDeltaY"in i?-i.wheelDeltaY:"wheelDelta"in i?-i.wheelDelta:0},deltaZ:0,deltaMode:0}),wA=fi(xg),sS=_({},Ys,{newState:0,oldState:0}),_g=fi(sS),zm=[9,13,27,32],rc=Fo&&"CompositionEvent"in window,ju=null;Fo&&"documentMode"in document&&(ju=document.documentMode);var Si=Fo&&"TextEvent"in window&&!ju,Dg=Fo&&(!rc||ju&&8<ju&&11>=ju),cd=" ",Gs=!1;function Um(i,l){switch(i){case"keyup":return zm.indexOf(l.keyCode)!==-1;case"keydown":return l.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function wg(i){return i=i.detail,typeof i=="object"&&"data"in i?i.data:null}var qu=!1;function uS(i,l){switch(i){case"compositionend":return wg(l);case"keypress":return l.which!==32?null:(Gs=!0,cd);case"textInput":return i=l.data,i===cd&&Gs?null:i;default:return null}}function RA(i,l){if(qu)return i==="compositionend"||!rc&&Um(i,l)?(i=vg(),Dm=gg=Wo=null,qu=!1,i):null;switch(i){case"paste":return null;case"keypress":if(!(l.ctrlKey||l.altKey||l.metaKey)||l.ctrlKey&&l.altKey){if(l.char&&1<l.char.length)return l.char;if(l.which)return String.fromCharCode(l.which)}return null;case"compositionend":return Dg&&l.locale!=="ko"?null:l.data;default:return null}}var Rg={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 no(i){var l=i&&i.nodeName&&i.nodeName.toLowerCase();return l==="input"?!!Rg[i.type]:l==="textarea"}function Og(i,l,s,f){eo?Hu?Hu.push(f):Hu=[f]:eo=f,l=oh(l,"onChange"),0<l.length&&(s=new ud("onChange","change",null,s,f),i.push({event:s,listeners:l}))}var Yu=null,ks=null;function Gu(i){i1(i,0)}function cc(i){var l=ec(i);if(dg(l))return i}function Mg(i,l){if(i==="change")return l}var Bm=!1;if(Fo){var Ci;if(Fo){var gl="oninput"in document;if(!gl){var Cg=document.createElement("div");Cg.setAttribute("oninput","return;"),gl=typeof Cg.oninput=="function"}Ci=gl}else Ci=!1;Bm=Ci&&(!document.documentMode||9<document.documentMode)}function Vm(){Yu&&(Yu.detachEvent("onpropertychange",Hm),ks=Yu=null)}function Hm(i){if(i.propertyName==="value"&&cc(ks)){var l=[];Og(l,ks,i,_m(i)),yg(Gu,l)}}function rS(i,l,s){i==="focusin"?(Vm(),Yu=l,ks=s,Yu.attachEvent("onpropertychange",Hm)):i==="focusout"&&Vm()}function cS(i){if(i==="selectionchange"||i==="keyup"||i==="keydown")return cc(ks)}function Xs(i,l){if(i==="click")return cc(l)}function ku(i,l){if(i==="input"||i==="change")return cc(l)}function fS(i,l){return i===l&&(i!==0||1/i===1/l)||i!==i&&l!==l}var Ti=typeof Object.is=="function"?Object.is:fS;function Ja(i,l){if(Ti(i,l))return!0;if(typeof i!="object"||i===null||typeof l!="object"||l===null)return!1;var s=Object.keys(i),f=Object.keys(l);if(s.length!==f.length)return!1;for(f=0;f<s.length;f++){var g=s[f];if(!Wf.call(l,g)||!Ti(i[g],l[g]))return!1}return!0}function zg(i){for(;i&&i.firstChild;)i=i.firstChild;return i}function Ug(i,l){var s=zg(i);i=0;for(var f;s;){if(s.nodeType===3){if(f=i+s.textContent.length,i<=l&&f>=l)return{node:s,offset:l-i};i=f}e:{for(;s;){if(s.nextSibling){s=s.nextSibling;break e}s=s.parentNode}s=void 0}s=zg(s)}}function Xu(i,l){return i&&l?i===l?!0:i&&i.nodeType===3?!1:l&&l.nodeType===3?Xu(i,l.parentNode):"contains"in i?i.contains(l):i.compareDocumentPosition?!!(i.compareDocumentPosition(l)&16):!1:!1}function Qs(i){i=i!=null&&i.ownerDocument!=null&&i.ownerDocument.defaultView!=null?i.ownerDocument.defaultView:window;for(var l=td(i.document);l instanceof i.HTMLIFrameElement;){try{var s=typeof l.contentWindow.location.href=="string"}catch{s=!1}if(s)i=l.contentWindow;else break;l=td(i.document)}return l}function fd(i){var l=i&&i.nodeName&&i.nodeName.toLowerCase();return l&&(l==="input"&&(i.type==="text"||i.type==="search"||i.type==="tel"||i.type==="url"||i.type==="password")||l==="textarea"||i.contentEditable==="true")}var dd=Fo&&"documentMode"in document&&11>=document.documentMode,Zs=null,fc=null,$a=null,vl=!1;function Lm(i,l,s){var f=s.window===s?s.document:s.nodeType===9?s:s.ownerDocument;vl||Zs==null||Zs!==td(f)||(f=Zs,"selectionStart"in f&&fd(f)?f={start:f.selectionStart,end:f.selectionEnd}:(f=(f.ownerDocument&&f.ownerDocument.defaultView||window).getSelection(),f={anchorNode:f.anchorNode,anchorOffset:f.anchorOffset,focusNode:f.focusNode,focusOffset:f.focusOffset}),$a&&Ja($a,f)||($a=f,f=oh(fc,"onSelect"),0<f.length&&(l=new ud("onSelect","select",null,l,s),i.push({event:l,listeners:f}),l.target=Zs)))}function Io(i,l){var s={};return s[i.toLowerCase()]=l.toLowerCase(),s["Webkit"+i]="webkit"+l,s["Moz"+i]="moz"+l,s}var bl={animationend:Io("Animation","AnimationEnd"),animationiteration:Io("Animation","AnimationIteration"),animationstart:Io("Animation","AnimationStart"),transitionrun:Io("Transition","TransitionRun"),transitionstart:Io("Transition","TransitionStart"),transitioncancel:Io("Transition","TransitionCancel"),transitionend:Io("Transition","TransitionEnd")},dc={},Js={};Fo&&(Js=document.createElement("div").style,"AnimationEvent"in window||(delete bl.animationend.animation,delete bl.animationiteration.animation,delete bl.animationstart.animation),"TransitionEvent"in window||delete bl.transitionend.transition);function Ct(i){if(dc[i])return dc[i];if(!bl[i])return i;var l=bl[i],s;for(s in l)if(l.hasOwnProperty(s)&&s in Js)return dc[i]=l[s];return i}var hd=Ct("animationend"),Bg=Ct("animationiteration"),Nm=Ct("animationstart"),Qu=Ct("transitionrun"),md=Ct("transitionstart"),io=Ct("transitioncancel"),dS=Ct("transitionend"),ao=new Map,hc="abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");hc.push("scrollEnd");function zi(i,l){ao.set(i,l),qs(l,[i])}var Zu=typeof reportError=="function"?reportError:function(i){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var l=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof i=="object"&&i!==null&&typeof i.message=="string"?String(i.message):String(i),error:i});if(!window.dispatchEvent(l))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",i);return}console.error(i)},an=[],Kn=0,Ka=0;function Ta(){for(var i=Kn,l=Ka=Kn=0;l<i;){var s=an[l];an[l++]=null;var f=an[l];an[l++]=null;var g=an[l];an[l++]=null;var v=an[l];if(an[l++]=null,f!==null&&g!==null){var D=f.pending;D===null?g.next=g:(g.next=D.next,D.next=g),f.pending=g}v!==0&&jm(s,g,v)}}function Ea(i,l,s,f){an[Kn++]=i,an[Kn++]=l,an[Kn++]=s,an[Kn++]=f,Ka|=f,i.lanes|=f,i=i.alternate,i!==null&&(i.lanes|=f)}function Pa(i,l,s,f){return Ea(i,l,s,f),pd(i)}function es(i,l){return Ea(i,null,null,l),pd(i)}function jm(i,l,s){i.lanes|=s;var f=i.alternate;f!==null&&(f.lanes|=s);for(var g=!1,v=i.return;v!==null;)v.childLanes|=s,f=v.alternate,f!==null&&(f.childLanes|=s),v.tag===22&&(i=v.stateNode,i===null||i._visibility&1||(g=!0)),i=v,v=v.return;return i.tag===3?(v=i.stateNode,g&&l!==null&&(g=31-Jn(s),i=v.hiddenUpdates,f=i[g],f===null?i[g]=[l]:f.push(l),l.lane=s|536870912),v):null}function pd(i){if(50<qc)throw qc=0,Fd=null,Error(c(185));for(var l=i.return;l!==null;)i=l,l=i.return;return i.tag===3?i.stateNode:null}var Ui={};function hS(i,l,s,f){this.tag=i,this.key=s,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=l,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=f,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function yn(i,l,s,f){return new hS(i,l,s,f)}function Ju(i){return i=i.prototype,!(!i||!i.isReactComponent)}function ts(i,l){var s=i.alternate;return s===null?(s=yn(i.tag,l,i.key,i.mode),s.elementType=i.elementType,s.type=i.type,s.stateNode=i.stateNode,s.alternate=i,i.alternate=s):(s.pendingProps=l,s.type=i.type,s.flags=0,s.subtreeFlags=0,s.deletions=null),s.flags=i.flags&65011712,s.childLanes=i.childLanes,s.lanes=i.lanes,s.child=i.child,s.memoizedProps=i.memoizedProps,s.memoizedState=i.memoizedState,s.updateQueue=i.updateQueue,l=i.dependencies,s.dependencies=l===null?null:{lanes:l.lanes,firstContext:l.firstContext},s.sibling=i.sibling,s.index=i.index,s.ref=i.ref,s.refCleanup=i.refCleanup,s}function Vg(i,l){i.flags&=65011714;var s=i.alternate;return s===null?(i.childLanes=0,i.lanes=l,i.child=null,i.subtreeFlags=0,i.memoizedProps=null,i.memoizedState=null,i.updateQueue=null,i.dependencies=null,i.stateNode=null):(i.childLanes=s.childLanes,i.lanes=s.lanes,i.child=s.child,i.subtreeFlags=0,i.deletions=null,i.memoizedProps=s.memoizedProps,i.memoizedState=s.memoizedState,i.updateQueue=s.updateQueue,i.type=s.type,l=s.dependencies,i.dependencies=l===null?null:{lanes:l.lanes,firstContext:l.firstContext}),i}function qm(i,l,s,f,g,v){var D=0;if(f=i,typeof i=="function")Ju(i)&&(D=1);else if(typeof i=="string")D=a0(i,s,me.current)?26:i==="html"||i==="head"||i==="body"?27:5;else e:switch(i){case Re:return i=yn(31,s,l,g),i.elementType=Re,i.lanes=v,i;case X:return ns(s.children,g,v,l);case Q:D=8,g|=24;break;case $:return i=yn(12,s,l,g|2),i.elementType=$,i.lanes=v,i;case ye:return i=yn(13,s,l,g),i.elementType=ye,i.lanes=v,i;case xe:return i=yn(19,s,l,g),i.elementType=xe,i.lanes=v,i;default:if(typeof i=="object"&&i!==null)switch(i.$$typeof){case ee:D=10;break e;case le:D=9;break e;case oe:D=11;break e;case ve:D=14;break e;case he:D=16,f=null;break e}D=29,s=Error(c(130,i===null?"null":typeof i,"")),f=null}return l=yn(D,s,l,g),l.elementType=i,l.type=f,l.lanes=v,l}function ns(i,l,s,f){return i=yn(7,i,f,l),i.lanes=s,i}function mc(i,l,s){return i=yn(6,i,null,l),i.lanes=s,i}function Hg(i){var l=yn(18,null,null,0);return l.stateNode=i,l}function Ym(i,l,s){return l=yn(4,i.children!==null?i.children:[],i.key,l),l.lanes=s,l.stateNode={containerInfo:i.containerInfo,pendingChildren:null,implementation:i.implementation},l}var Lg=new WeakMap;function Aa(i,l){if(typeof i=="object"&&i!==null){var s=Lg.get(i);return s!==void 0?s:(l={value:i,source:l,stack:Ru(l)},Lg.set(i,l),l)}return{value:i,source:l,stack:Ru(l)}}var xa=[],$u=0,yd=null,An=0,na=[],Bi=0,Sl=null,ia=1,Tl="";function Fa(i,l){xa[$u++]=An,xa[$u++]=yd,yd=i,An=l}function Ng(i,l,s){na[Bi++]=ia,na[Bi++]=Tl,na[Bi++]=Sl,Sl=i;var f=ia;i=Tl;var g=32-Jn(f)-1;f&=~(1<<g),s+=1;var v=32-Jn(l)+g;if(30<v){var D=g-g%5;v=(f&(1<<D)-1).toString(32),f>>=D,g-=D,ia=1<<32-Jn(l)+g|s<<g|f,Tl=v+i}else ia=1<<v|s<<g|f,Tl=i}function pc(i){i.return!==null&&(Fa(i,1),Ng(i,1,0))}function Gm(i){for(;i===yd;)yd=xa[--$u],xa[$u]=null,An=xa[--$u],xa[$u]=null;for(;i===Sl;)Sl=na[--Bi],na[Bi]=null,Tl=na[--Bi],na[Bi]=null,ia=na[--Bi],na[Bi]=null}function gd(i,l){na[Bi++]=ia,na[Bi++]=Tl,na[Bi++]=Sl,ia=l.id,Tl=l.overflow,Sl=i}var Pn=null,Kt=null,vt=!1,lo=null,Ln=!1,oo=Error(c(519));function Wa(i){var l=Error(c(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw gc(Aa(l,i)),oo}function vd(i){var l=i.stateNode,s=i.type,f=i.memoizedProps;switch(l[Gt]=i,l[Mi]=f,s){case"dialog":gt("cancel",l),gt("close",l);break;case"iframe":case"object":case"embed":gt("load",l);break;case"video":case"audio":for(s=0;s<Zc.length;s++)gt(Zc[s],l);break;case"source":gt("error",l);break;case"img":case"image":case"link":gt("error",l),gt("load",l);break;case"details":gt("toggle",l);break;case"input":gt("invalid",l),id(l,f.value,f.defaultValue,f.checked,f.defaultChecked,f.type,f.name,!0);break;case"select":gt("invalid",l);break;case"textarea":gt("invalid",l),mg(l,f.value,f.defaultValue,f.children)}s=f.children,typeof s!="string"&&typeof s!="number"&&typeof s!="bigint"||l.textContent===""+s||f.suppressHydrationWarning===!0||Jv(l.textContent,s)?(f.popover!=null&&(gt("beforetoggle",l),gt("toggle",l)),f.onScroll!=null&&gt("scroll",l),f.onScrollEnd!=null&&gt("scrollend",l),f.onClick!=null&&(l.onclick=hl),l=!0):l=!1,l||Wa(i,!0)}function yc(i){for(Pn=i.return;Pn;)switch(Pn.tag){case 5:case 31:case 13:Ln=!1;return;case 27:case 3:Ln=!0;return;default:Pn=Pn.return}}function so(i){if(i!==Pn)return!1;if(!vt)return yc(i),vt=!0,!1;var l=i.tag,s;if((s=l!==3&&l!==27)&&((s=l===5)&&(s=i.type,s=!(s!=="form"&&s!=="button")||$c(i.type,i.memoizedProps)),s=!s),s&&Kt&&Wa(i),yc(i),l===13){if(i=i.memoizedState,i=i!==null?i.dehydrated:null,!i)throw Error(c(317));Kt=Qp(i)}else if(l===31){if(i=i.memoizedState,i=i!==null?i.dehydrated:null,!i)throw Error(c(317));Kt=Qp(i)}else l===27?(l=Kt,zl(i.type)?(i=rh,rh=null,Kt=i):Kt=l):Kt=Pn?Xi(i.stateNode.nextSibling):null;return!0}function $s(){Kt=Pn=null,vt=!1}function jg(){var i=lo;return i!==null&&(mn===null?mn=i:mn.push.apply(mn,i),lo=null),i}function gc(i){lo===null?lo=[i]:lo.push(i)}var km=U(null),is=null,El=null;function Vi(i,l,s){pe(km,l._currentValue),l._currentValue=s}function Al(i){i._currentValue=km.current,P(km)}function Xm(i,l,s){for(;i!==null;){var f=i.alternate;if((i.childLanes&l)!==l?(i.childLanes|=l,f!==null&&(f.childLanes|=l)):f!==null&&(f.childLanes&l)!==l&&(f.childLanes|=l),i===s)break;i=i.return}}function uo(i,l,s,f){var g=i.child;for(g!==null&&(g.return=i);g!==null;){var v=g.dependencies;if(v!==null){var D=g.child;v=v.firstContext;e:for(;v!==null;){var C=v;v=g;for(var N=0;N<l.length;N++)if(C.context===l[N]){v.lanes|=s,C=v.alternate,C!==null&&(C.lanes|=s),Xm(v.return,s,i),f||(D=null);break e}v=C.next}}else if(g.tag===18){if(D=g.return,D===null)throw Error(c(341));D.lanes|=s,v=D.alternate,v!==null&&(v.lanes|=s),Xm(D,s,i),D=null}else D=g.child;if(D!==null)D.return=g;else for(D=g;D!==null;){if(D===i){D=null;break}if(g=D.sibling,g!==null){g.return=D.return,D=g;break}D=D.return}g=D}}function Fn(i,l,s,f){i=null;for(var g=l,v=!1;g!==null;){if(!v){if((g.flags&524288)!==0)v=!0;else if((g.flags&262144)!==0)break}if(g.tag===10){var D=g.alternate;if(D===null)throw Error(c(387));if(D=D.memoizedProps,D!==null){var C=g.type;Ti(g.pendingProps.value,D.value)||(i!==null?i.push(C):i=[C])}}else if(g===Ge.current){if(D=g.alternate,D===null)throw Error(c(387));D.memoizedState.memoizedState!==g.memoizedState.memoizedState&&(i!==null?i.push(dh):i=[dh])}g=g.return}i!==null&&uo(l,i,s,f),l.flags|=262144}function Ku(i){for(i=i.firstContext;i!==null;){if(!Ti(i.context._currentValue,i.memoizedValue))return!0;i=i.next}return!1}function We(i){is=i,El=null,i=i.dependencies,i!==null&&(i.firstContext=null)}function fe(i){return bd(is,i)}function as(i,l){return is===null&&We(i),bd(i,l)}function bd(i,l){var s=l._currentValue;if(l={context:l,memoizedValue:s,next:null},El===null){if(i===null)throw Error(c(308));El=l,i.dependencies={lanes:0,firstContext:l},i.flags|=524288}else El=El.next=l;return s}var gn=typeof AbortController<"u"?AbortController:function(){var i=[],l=this.signal={aborted:!1,addEventListener:function(s,f){i.push(f)}};this.abort=function(){l.aborted=!0,i.forEach(function(s){return s()})}},qg=o.unstable_scheduleCallback,Yg=o.unstable_NormalPriority,xn={$$typeof:ee,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function Sd(){return{controller:new gn,data:new Map,refCount:0}}function Td(i){i.refCount--,i.refCount===0&&qg(Yg,function(){i.controller.abort()})}var Pu=null,Ed=0,Ks=0,Cn=null;function Lt(i,l){if(Pu===null){var s=Pu=[];Ed=0,Ks=Lp(),Cn={status:"pending",value:void 0,then:function(f){s.push(f)}}}return Ed++,l.then(Ad,Ad),l}function Ad(){if(--Ed===0&&Pu!==null){Cn!==null&&(Cn.status="fulfilled");var i=Pu;Pu=null,Ks=0,Cn=null;for(var l=0;l<i.length;l++)(0,i[l])()}}function xd(i,l){var s=[],f={status:"pending",value:null,reason:null,then:function(g){s.push(g)}};return i.then(function(){f.status="fulfilled",f.value=l;for(var g=0;g<s.length;g++)(0,s[g])(l)},function(g){for(f.status="rejected",f.reason=g,g=0;g<s.length;g++)(0,s[g])(void 0)}),f}var ls=Y.S;Y.S=function(i,l){Bv=Mn(),typeof l=="object"&&l!==null&&typeof l.then=="function"&&Lt(i,l),ls!==null&&ls(i,l)};var _a=U(null);function Da(){var i=_a.current;return i!==null?i:Xt.pooledCache}function vc(i,l){l===null?pe(_a,_a.current):pe(_a,l.pool)}function Fu(){var i=Da();return i===null?null:{parent:xn._currentValue,pool:i}}var Ps=Error(c(460)),Wu=Error(c(474)),bc=Error(c(542)),Iu={then:function(){}};function Gg(i){return i=i.status,i==="fulfilled"||i==="rejected"}function kg(i,l,s){switch(s=i[s],s===void 0?i.push(l):s!==l&&(l.then(hl,hl),l=s),l.status){case"fulfilled":return l.value;case"rejected":throw i=l.reason,Qm(i),i;default:if(typeof l.status=="string")l.then(hl,hl);else{if(i=Xt,i!==null&&100<i.shellSuspendCounter)throw Error(c(482));i=l,i.status="pending",i.then(function(f){if(l.status==="pending"){var g=l;g.status="fulfilled",g.value=f}},function(f){if(l.status==="pending"){var g=l;g.status="rejected",g.reason=f}})}switch(l.status){case"fulfilled":return l.value;case"rejected":throw i=l.reason,Qm(i),i}throw Ws=l,Ps}}function Fs(i){try{var l=i._init;return l(i._payload)}catch(s){throw s!==null&&typeof s=="object"&&typeof s.then=="function"?(Ws=s,Ps):s}}var Ws=null;function Xg(){if(Ws===null)throw Error(c(459));var i=Ws;return Ws=null,i}function Qm(i){if(i===Ps||i===bc)throw Error(c(483))}var Is=null,er=0;function _d(i){var l=er;return er+=1,Is===null&&(Is=[]),kg(Is,i,l)}function Sc(i,l){l=l.props.ref,i.ref=l!==void 0?l:null}function Dd(i,l){throw l.$$typeof===w?Error(c(525)):(i=Object.prototype.toString.call(l),Error(c(31,i==="[object Object]"?"object with keys {"+Object.keys(l).join(", ")+"}":i)))}function mS(i){function l(J,G){if(i){var K=J.deletions;K===null?(J.deletions=[G],J.flags|=16):K.push(G)}}function s(J,G){if(!i)return null;for(;G!==null;)l(J,G),G=G.sibling;return null}function f(J){for(var G=new Map;J!==null;)J.key!==null?G.set(J.key,J):G.set(J.index,J),J=J.sibling;return G}function g(J,G){return J=ts(J,G),J.index=0,J.sibling=null,J}function v(J,G,K){return J.index=K,i?(K=J.alternate,K!==null?(K=K.index,K<G?(J.flags|=67108866,G):K):(J.flags|=67108866,G)):(J.flags|=1048576,G)}function D(J){return i&&J.alternate===null&&(J.flags|=67108866),J}function C(J,G,K,re){return G===null||G.tag!==6?(G=mc(K,J.mode,re),G.return=J,G):(G=g(G,K),G.return=J,G)}function N(J,G,K,re){var qe=K.type;return qe===X?se(J,G,K.props.children,re,K.key):G!==null&&(G.elementType===qe||typeof qe=="object"&&qe!==null&&qe.$$typeof===he&&Fs(qe)===G.type)?(G=g(G,K.props),Sc(G,K),G.return=J,G):(G=qm(K.type,K.key,K.props,null,J.mode,re),Sc(G,K),G.return=J,G)}function F(J,G,K,re){return G===null||G.tag!==4||G.stateNode.containerInfo!==K.containerInfo||G.stateNode.implementation!==K.implementation?(G=Ym(K,J.mode,re),G.return=J,G):(G=g(G,K.children||[]),G.return=J,G)}function se(J,G,K,re,qe){return G===null||G.tag!==7?(G=ns(K,J.mode,re,qe),G.return=J,G):(G=g(G,K),G.return=J,G)}function ce(J,G,K){if(typeof G=="string"&&G!==""||typeof G=="number"||typeof G=="bigint")return G=mc(""+G,J.mode,K),G.return=J,G;if(typeof G=="object"&&G!==null){switch(G.$$typeof){case z:return K=qm(G.type,G.key,G.props,null,J.mode,K),Sc(K,G),K.return=J,K;case V:return G=Ym(G,J.mode,K),G.return=J,G;case he:return G=Fs(G),ce(J,G,K)}if(Yt(G)||we(G))return G=ns(G,J.mode,K,null),G.return=J,G;if(typeof G.then=="function")return ce(J,_d(G),K);if(G.$$typeof===ee)return ce(J,as(J,G),K);Dd(J,G)}return null}function W(J,G,K,re){var qe=G!==null?G.key:null;if(typeof K=="string"&&K!==""||typeof K=="number"||typeof K=="bigint")return qe!==null?null:C(J,G,""+K,re);if(typeof K=="object"&&K!==null){switch(K.$$typeof){case z:return K.key===qe?N(J,G,K,re):null;case V:return K.key===qe?F(J,G,K,re):null;case he:return K=Fs(K),W(J,G,K,re)}if(Yt(K)||we(K))return qe!==null?null:se(J,G,K,re,null);if(typeof K.then=="function")return W(J,G,_d(K),re);if(K.$$typeof===ee)return W(J,G,as(J,K),re);Dd(J,K)}return null}function ae(J,G,K,re,qe){if(typeof re=="string"&&re!==""||typeof re=="number"||typeof re=="bigint")return J=J.get(K)||null,C(G,J,""+re,qe);if(typeof re=="object"&&re!==null){switch(re.$$typeof){case z:return J=J.get(re.key===null?K:re.key)||null,N(G,J,re,qe);case V:return J=J.get(re.key===null?K:re.key)||null,F(G,J,re,qe);case he:return re=Fs(re),ae(J,G,K,re,qe)}if(Yt(re)||we(re))return J=J.get(K)||null,se(G,J,re,qe,null);if(typeof re.then=="function")return ae(J,G,K,_d(re),qe);if(re.$$typeof===ee)return ae(J,G,K,as(G,re),qe);Dd(G,re)}return null}function Me(J,G,K,re){for(var qe=null,_t=null,He=G,it=G=0,ut=null;He!==null&&it<K.length;it++){He.index>it?(ut=He,He=null):ut=He.sibling;var Mt=W(J,He,K[it],re);if(Mt===null){He===null&&(He=ut);break}i&&He&&Mt.alternate===null&&l(J,He),G=v(Mt,G,it),_t===null?qe=Mt:_t.sibling=Mt,_t=Mt,He=ut}if(it===K.length)return s(J,He),vt&&Fa(J,it),qe;if(He===null){for(;it<K.length;it++)He=ce(J,K[it],re),He!==null&&(G=v(He,G,it),_t===null?qe=He:_t.sibling=He,_t=He);return vt&&Fa(J,it),qe}for(He=f(He);it<K.length;it++)ut=ae(He,J,it,K[it],re),ut!==null&&(i&&ut.alternate!==null&&He.delete(ut.key===null?it:ut.key),G=v(ut,G,it),_t===null?qe=ut:_t.sibling=ut,_t=ut);return i&&He.forEach(function(Vl){return l(J,Vl)}),vt&&Fa(J,it),qe}function Ze(J,G,K,re){if(K==null)throw Error(c(151));for(var qe=null,_t=null,He=G,it=G=0,ut=null,Mt=K.next();He!==null&&!Mt.done;it++,Mt=K.next()){He.index>it?(ut=He,He=null):ut=He.sibling;var Vl=W(J,He,Mt.value,re);if(Vl===null){He===null&&(He=ut);break}i&&He&&Vl.alternate===null&&l(J,He),G=v(Vl,G,it),_t===null?qe=Vl:_t.sibling=Vl,_t=Vl,He=ut}if(Mt.done)return s(J,He),vt&&Fa(J,it),qe;if(He===null){for(;!Mt.done;it++,Mt=K.next())Mt=ce(J,Mt.value,re),Mt!==null&&(G=v(Mt,G,it),_t===null?qe=Mt:_t.sibling=Mt,_t=Mt);return vt&&Fa(J,it),qe}for(He=f(He);!Mt.done;it++,Mt=K.next())Mt=ae(He,J,it,Mt.value,re),Mt!==null&&(i&&Mt.alternate!==null&&He.delete(Mt.key===null?it:Mt.key),G=v(Mt,G,it),_t===null?qe=Mt:_t.sibling=Mt,_t=Mt);return i&&He.forEach(function(v1){return l(J,v1)}),vt&&Fa(J,it),qe}function Zt(J,G,K,re){if(typeof K=="object"&&K!==null&&K.type===X&&K.key===null&&(K=K.props.children),typeof K=="object"&&K!==null){switch(K.$$typeof){case z:e:{for(var qe=K.key;G!==null;){if(G.key===qe){if(qe=K.type,qe===X){if(G.tag===7){s(J,G.sibling),re=g(G,K.props.children),re.return=J,J=re;break e}}else if(G.elementType===qe||typeof qe=="object"&&qe!==null&&qe.$$typeof===he&&Fs(qe)===G.type){s(J,G.sibling),re=g(G,K.props),Sc(re,K),re.return=J,J=re;break e}s(J,G);break}else l(J,G);G=G.sibling}K.type===X?(re=ns(K.props.children,J.mode,re,K.key),re.return=J,J=re):(re=qm(K.type,K.key,K.props,null,J.mode,re),Sc(re,K),re.return=J,J=re)}return D(J);case V:e:{for(qe=K.key;G!==null;){if(G.key===qe)if(G.tag===4&&G.stateNode.containerInfo===K.containerInfo&&G.stateNode.implementation===K.implementation){s(J,G.sibling),re=g(G,K.children||[]),re.return=J,J=re;break e}else{s(J,G);break}else l(J,G);G=G.sibling}re=Ym(K,J.mode,re),re.return=J,J=re}return D(J);case he:return K=Fs(K),Zt(J,G,K,re)}if(Yt(K))return Me(J,G,K,re);if(we(K)){if(qe=we(K),typeof qe!="function")throw Error(c(150));return K=qe.call(K),Ze(J,G,K,re)}if(typeof K.then=="function")return Zt(J,G,_d(K),re);if(K.$$typeof===ee)return Zt(J,G,as(J,K),re);Dd(J,K)}return typeof K=="string"&&K!==""||typeof K=="number"||typeof K=="bigint"?(K=""+K,G!==null&&G.tag===6?(s(J,G.sibling),re=g(G,K),re.return=J,J=re):(s(J,G),re=mc(K,J.mode,re),re.return=J,J=re),D(J)):s(J,G)}return function(J,G,K,re){try{er=0;var qe=Zt(J,G,K,re);return Is=null,qe}catch(He){if(He===Ps||He===bc)throw He;var _t=yn(29,He,null,J.mode);return _t.lanes=re,_t.return=J,_t}finally{}}}var eu=mS(!0),Qg=mS(!1),os=!1;function wd(i){i.updateQueue={baseState:i.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Zm(i,l){i=i.updateQueue,l.updateQueue===i&&(l.updateQueue={baseState:i.baseState,firstBaseUpdate:i.firstBaseUpdate,lastBaseUpdate:i.lastBaseUpdate,shared:i.shared,callbacks:null})}function ss(i){return{lane:i,tag:0,payload:null,callback:null,next:null}}function wa(i,l,s){var f=i.updateQueue;if(f===null)return null;if(f=f.shared,(Ot&2)!==0){var g=f.pending;return g===null?l.next=l:(l.next=g.next,g.next=l),f.pending=l,l=pd(i),jm(i,null,s),l}return Ea(i,f,l,s),pd(i)}function tu(i,l,s){if(l=l.updateQueue,l!==null&&(l=l.shared,(s&4194048)!==0)){var f=l.lanes;f&=i.pendingLanes,s|=f,l.lanes=s,Pl(i,s)}}function Jm(i,l){var s=i.updateQueue,f=i.alternate;if(f!==null&&(f=f.updateQueue,s===f)){var g=null,v=null;if(s=s.firstBaseUpdate,s!==null){do{var D={lane:s.lane,tag:s.tag,payload:s.payload,callback:null,next:null};v===null?g=v=D:v=v.next=D,s=s.next}while(s!==null);v===null?g=v=l:v=v.next=l}else g=v=l;s={baseState:f.baseState,firstBaseUpdate:g,lastBaseUpdate:v,shared:f.shared,callbacks:f.callbacks},i.updateQueue=s;return}i=s.lastBaseUpdate,i===null?s.firstBaseUpdate=l:i.next=l,s.lastBaseUpdate=l}var Zg=!1;function nu(){if(Zg){var i=Cn;if(i!==null)throw i}}function ro(i,l,s,f){Zg=!1;var g=i.updateQueue;os=!1;var v=g.firstBaseUpdate,D=g.lastBaseUpdate,C=g.shared.pending;if(C!==null){g.shared.pending=null;var N=C,F=N.next;N.next=null,D===null?v=F:D.next=F,D=N;var se=i.alternate;se!==null&&(se=se.updateQueue,C=se.lastBaseUpdate,C!==D&&(C===null?se.firstBaseUpdate=F:C.next=F,se.lastBaseUpdate=N))}if(v!==null){var ce=g.baseState;D=0,se=F=N=null,C=v;do{var W=C.lane&-536870913,ae=W!==C.lane;if(ae?(pt&W)===W:(f&W)===W){W!==0&&W===Ks&&(Zg=!0),se!==null&&(se=se.next={lane:0,tag:C.tag,payload:C.payload,callback:null,next:null});e:{var Me=i,Ze=C;W=l;var Zt=s;switch(Ze.tag){case 1:if(Me=Ze.payload,typeof Me=="function"){ce=Me.call(Zt,ce,W);break e}ce=Me;break e;case 3:Me.flags=Me.flags&-65537|128;case 0:if(Me=Ze.payload,W=typeof Me=="function"?Me.call(Zt,ce,W):Me,W==null)break e;ce=_({},ce,W);break e;case 2:os=!0}}W=C.callback,W!==null&&(i.flags|=64,ae&&(i.flags|=8192),ae=g.callbacks,ae===null?g.callbacks=[W]:ae.push(W))}else ae={lane:W,tag:C.tag,payload:C.payload,callback:C.callback,next:null},se===null?(F=se=ae,N=ce):se=se.next=ae,D|=W;if(C=C.next,C===null){if(C=g.shared.pending,C===null)break;ae=C,C=ae.next,ae.next=null,g.lastBaseUpdate=ae,g.shared.pending=null}}while(!0);se===null&&(N=ce),g.baseState=N,g.firstBaseUpdate=F,g.lastBaseUpdate=se,v===null&&(g.shared.lanes=0),Ml|=D,i.lanes=D,i.memoizedState=ce}}function $m(i,l){if(typeof i!="function")throw Error(c(191,i));i.call(l)}function iu(i,l){var s=i.callbacks;if(s!==null)for(i.callbacks=null,i=0;i<s.length;i++)$m(s[i],l)}var Nn=U(null),tr=U(0);function pS(i,l){i=Ol,pe(tr,i),pe(Nn,l),Ol=i|l.baseLanes}function Rd(){pe(tr,Ol),pe(Nn,Nn.current)}function Tc(){Ol=tr.current,P(Nn),P(tr)}var Hi=U(null),Ra=null;function co(i){var l=i.alternate;pe(ln,ln.current&1),pe(Hi,i),Ra===null&&(l===null||Nn.current!==null||l.memoizedState!==null)&&(Ra=i)}function Ec(i){pe(ln,ln.current),pe(Hi,i),Ra===null&&(Ra=i)}function Km(i){i.tag===22?(pe(ln,ln.current),pe(Hi,i),Ra===null&&(Ra=i)):xl()}function xl(){pe(ln,ln.current),pe(Hi,Hi.current)}function Li(i){P(Hi),Ra===i&&(Ra=null),P(ln)}var ln=U(0);function Ac(i){for(var l=i;l!==null;){if(l.tag===13){var s=l.memoizedState;if(s!==null&&(s=s.dehydrated,s===null||nl(s)||pu(s)))return l}else if(l.tag===19&&(l.memoizedProps.revealOrder==="forwards"||l.memoizedProps.revealOrder==="backwards"||l.memoizedProps.revealOrder==="unstable_legacy-backwards"||l.memoizedProps.revealOrder==="together")){if((l.flags&128)!==0)return l}else if(l.child!==null){l.child.return=l,l=l.child;continue}if(l===i)break;for(;l.sibling===null;){if(l.return===null||l.return===i)return null;l=l.return}l.sibling.return=l.return,l=l.sibling}return null}var fo=0,at=null,Nt=null,_n=null,nr=!1,ir=!1,us=!1,Od=0,xc=0,au=null,yS=0;function dn(){throw Error(c(321))}function rs(i,l){if(l===null)return!1;for(var s=0;s<l.length&&s<i.length;s++)if(!Ti(i[s],l[s]))return!1;return!0}function Md(i,l,s,f,g,v){return fo=v,at=l,l.memoizedState=null,l.updateQueue=null,l.lanes=0,Y.H=i===null||i.memoizedState===null?xS:dp,us=!1,v=s(f,g),us=!1,ir&&(v=gS(l,s,f,g)),Pm(i),v}function Pm(i){Y.H=jd;var l=Nt!==null&&Nt.next!==null;if(fo=0,_n=Nt=at=null,nr=!1,xc=0,au=null,l)throw Error(c(300));i===null||Dn||(i=i.dependencies,i!==null&&Ku(i)&&(Dn=!0))}function gS(i,l,s,f){at=i;var g=0;do{if(ir&&(au=null),xc=0,ir=!1,25<=g)throw Error(c(301));if(g+=1,_n=Nt=null,i.updateQueue!=null){var v=i.updateQueue;v.lastEffect=null,v.events=null,v.stores=null,v.memoCache!=null&&(v.memoCache.index=0)}Y.H=_S,v=l(s,f)}while(ir);return v}function OA(){var i=Y.H,l=i.useState()[0];return l=typeof l.then=="function"?lr(l):l,i=i.useState()[0],(Nt!==null?Nt.memoizedState:null)!==i&&(at.flags|=1024),l}function Fm(){var i=Od!==0;return Od=0,i}function ar(i,l,s){l.updateQueue=i.updateQueue,l.flags&=-2053,i.lanes&=~s}function Cd(i){if(nr){for(i=i.memoizedState;i!==null;){var l=i.queue;l!==null&&(l.pending=null),i=i.next}nr=!1}fo=0,_n=Nt=at=null,ir=!1,xc=Od=0,au=null}function Wn(){var i={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return _n===null?at.memoizedState=_n=i:_n=_n.next=i,_n}function vn(){if(Nt===null){var i=at.alternate;i=i!==null?i.memoizedState:null}else i=Nt.next;var l=_n===null?at.memoizedState:_n.next;if(l!==null)_n=l,Nt=i;else{if(i===null)throw at.alternate===null?Error(c(467)):Error(c(310));Nt=i,i={memoizedState:Nt.memoizedState,baseState:Nt.baseState,baseQueue:Nt.baseQueue,queue:Nt.queue,next:null},_n===null?at.memoizedState=_n=i:_n=_n.next=i}return _n}function zd(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function lr(i){var l=xc;return xc+=1,au===null&&(au=[]),i=kg(au,i,l),l=at,(_n===null?l.memoizedState:_n.next)===null&&(l=l.alternate,Y.H=l===null||l.memoizedState===null?xS:dp),i}function _c(i){if(i!==null&&typeof i=="object"){if(typeof i.then=="function")return lr(i);if(i.$$typeof===ee)return fe(i)}throw Error(c(438,String(i)))}function Wm(i){var l=null,s=at.updateQueue;if(s!==null&&(l=s.memoCache),l==null){var f=at.alternate;f!==null&&(f=f.updateQueue,f!==null&&(f=f.memoCache,f!=null&&(l={data:f.data.map(function(g){return g.slice()}),index:0})))}if(l==null&&(l={data:[],index:0}),s===null&&(s=zd(),at.updateQueue=s),s.memoCache=l,s=l.data[l.index],s===void 0)for(s=l.data[l.index]=Array(i),f=0;f<i;f++)s[f]=be;return l.index++,s}function ho(i,l){return typeof l=="function"?l(i):l}function mo(i){var l=vn();return Im(l,Nt,i)}function Im(i,l,s){var f=i.queue;if(f===null)throw Error(c(311));f.lastRenderedReducer=s;var g=i.baseQueue,v=f.pending;if(v!==null){if(g!==null){var D=g.next;g.next=v.next,v.next=D}l.baseQueue=g=v,f.pending=null}if(v=i.baseState,g===null)i.memoizedState=v;else{l=g.next;var C=D=null,N=null,F=l,se=!1;do{var ce=F.lane&-536870913;if(ce!==F.lane?(pt&ce)===ce:(fo&ce)===ce){var W=F.revertLane;if(W===0)N!==null&&(N=N.next={lane:0,revertLane:0,gesture:null,action:F.action,hasEagerState:F.hasEagerState,eagerState:F.eagerState,next:null}),ce===Ks&&(se=!0);else if((fo&W)===W){F=F.next,W===Ks&&(se=!0);continue}else ce={lane:0,revertLane:F.revertLane,gesture:null,action:F.action,hasEagerState:F.hasEagerState,eagerState:F.eagerState,next:null},N===null?(C=N=ce,D=v):N=N.next=ce,at.lanes|=W,Ml|=W;ce=F.action,us&&s(v,ce),v=F.hasEagerState?F.eagerState:s(v,ce)}else W={lane:ce,revertLane:F.revertLane,gesture:F.gesture,action:F.action,hasEagerState:F.hasEagerState,eagerState:F.eagerState,next:null},N===null?(C=N=W,D=v):N=N.next=W,at.lanes|=ce,Ml|=ce;F=F.next}while(F!==null&&F!==l);if(N===null?D=v:N.next=C,!Ti(v,i.memoizedState)&&(Dn=!0,se&&(s=Cn,s!==null)))throw s;i.memoizedState=v,i.baseState=D,i.baseQueue=N,f.lastRenderedState=v}return g===null&&(f.lanes=0),[i.memoizedState,f.dispatch]}function ep(i){var l=vn(),s=l.queue;if(s===null)throw Error(c(311));s.lastRenderedReducer=i;var f=s.dispatch,g=s.pending,v=l.memoizedState;if(g!==null){s.pending=null;var D=g=g.next;do v=i(v,D.action),D=D.next;while(D!==g);Ti(v,l.memoizedState)||(Dn=!0),l.memoizedState=v,l.baseQueue===null&&(l.baseState=v),s.lastRenderedState=v}return[v,f]}function Jg(i,l,s){var f=at,g=vn(),v=vt;if(v){if(s===void 0)throw Error(c(407));s=s()}else s=l();var D=!Ti((Nt||g).memoizedState,s);if(D&&(g.memoizedState=s,Dn=!0),g=g.queue,lp(tp.bind(null,f,g,i),[i]),g.getSnapshot!==l||D||_n!==null&&_n.memoizedState.tag&1){if(f.flags|=2048,sr(9,{destroy:void 0},$g.bind(null,f,g,s,l),null),Xt===null)throw Error(c(349));v||(fo&127)!==0||Ud(f,l,s)}return s}function Ud(i,l,s){i.flags|=16384,i={getSnapshot:l,value:s},l=at.updateQueue,l===null?(l=zd(),at.updateQueue=l,l.stores=[i]):(s=l.stores,s===null?l.stores=[i]:s.push(i))}function $g(i,l,s,f){l.value=s,l.getSnapshot=f,np(l)&&ip(i)}function tp(i,l,s){return s(function(){np(l)&&ip(i)})}function np(i){var l=i.getSnapshot;i=i.value;try{var s=l();return!Ti(i,s)}catch{return!0}}function ip(i){var l=es(i,2);l!==null&&ki(l,i,2)}function Kg(i){var l=Wn();if(typeof i=="function"){var s=i;if(i=s(),us){ga(!0);try{s()}finally{ga(!1)}}}return l.memoizedState=l.baseState=i,l.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:ho,lastRenderedState:i},l}function In(i,l,s,f){return i.baseState=s,Im(i,Nt,typeof f=="function"?f:ho)}function vS(i,l,s,f,g){if(Nd(i))throw Error(c(485));if(i=l.action,i!==null){var v={payload:g,action:i,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(D){v.listeners.push(D)}};Y.T!==null?s(!0):v.isTransition=!1,f(v),s=l.pending,s===null?(v.next=l.pending=v,Pg(l,v)):(v.next=s.next,l.pending=s.next=v)}}function Pg(i,l){var s=l.action,f=l.payload,g=i.state;if(l.isTransition){var v=Y.T,D={};Y.T=D;try{var C=s(g,f),N=Y.S;N!==null&&N(D,C),Fg(i,l,C)}catch(F){or(i,l,F)}finally{v!==null&&D.types!==null&&(v.types=D.types),Y.T=v}}else try{v=s(g,f),Fg(i,l,v)}catch(F){or(i,l,F)}}function Fg(i,l,s){s!==null&&typeof s=="object"&&typeof s.then=="function"?s.then(function(f){Wg(i,l,f)},function(f){return or(i,l,f)}):Wg(i,l,s)}function Wg(i,l,s){l.status="fulfilled",l.value=s,Ig(l),i.state=s,l=i.pending,l!==null&&(s=l.next,s===l?i.pending=null:(s=s.next,l.next=s,Pg(i,s)))}function or(i,l,s){var f=i.pending;if(i.pending=null,f!==null){f=f.next;do l.status="rejected",l.reason=s,Ig(l),l=l.next;while(l!==f)}i.action=null}function Ig(i){i=i.listeners;for(var l=0;l<i.length;l++)(0,i[l])()}function Bd(i,l){return l}function ev(i,l){if(vt){var s=Xt.formState;if(s!==null){e:{var f=at;if(vt){if(Kt){t:{for(var g=Kt,v=Ln;g.nodeType!==8;){if(!v){g=null;break t}if(g=Xi(g.nextSibling),g===null){g=null;break t}}v=g.data,g=v==="F!"||v==="F"?g:null}if(g){Kt=Xi(g.nextSibling),f=g.data==="F!";break e}}Wa(f)}f=!1}f&&(l=s[0])}}return s=Wn(),s.memoizedState=s.baseState=l,f={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Bd,lastRenderedState:l},s.queue=f,s=cp.bind(null,at,f),f.dispatch=s,f=Kg(!1),v=lu.bind(null,at,!1,f.queue),f=Wn(),g={state:l,dispatch:null,action:i,pending:null},f.queue=g,s=vS.bind(null,at,g,v,s),g.dispatch=s,f.memoizedState=i,[l,s,!1]}function bS(i){var l=vn();return Vd(l,Nt,i)}function Vd(i,l,s){if(l=Im(i,l,Bd)[0],i=mo(ho)[0],typeof l=="object"&&l!==null&&typeof l.then=="function")try{var f=lr(l)}catch(D){throw D===Ps?bc:D}else f=l;l=vn();var g=l.queue,v=g.dispatch;return s!==l.memoizedState&&(at.flags|=2048,sr(9,{destroy:void 0},tv.bind(null,g,s),null)),[f,v,i]}function tv(i,l){i.action=l}function nv(i){var l=vn(),s=Nt;if(s!==null)return Vd(l,s,i);vn(),l=l.memoizedState,s=vn();var f=s.queue.dispatch;return s.memoizedState=i,[l,f,!1]}function sr(i,l,s,f){return i={tag:i,create:s,deps:f,inst:l,next:null},l=at.updateQueue,l===null&&(l=zd(),at.updateQueue=l),s=l.lastEffect,s===null?l.lastEffect=i.next=i:(f=s.next,s.next=i,i.next=f,l.lastEffect=i),i}function iv(){return vn().memoizedState}function Dc(i,l,s,f){var g=Wn();at.flags|=i,g.memoizedState=sr(1|l,{destroy:void 0},s,f===void 0?null:f)}function wc(i,l,s,f){var g=vn();f=f===void 0?null:f;var v=g.memoizedState.inst;Nt!==null&&f!==null&&rs(f,Nt.memoizedState.deps)?g.memoizedState=sr(l,v,s,f):(at.flags|=i,g.memoizedState=sr(1|l,v,s,f))}function ap(i,l){Dc(8390656,8,i,l)}function lp(i,l){wc(2048,8,i,l)}function av(i){at.flags|=4;var l=at.updateQueue;if(l===null)l=zd(),at.updateQueue=l,l.events=[i];else{var s=l.events;s===null?l.events=[i]:s.push(i)}}function Hd(i){var l=vn().memoizedState;return av({ref:l,nextImpl:i}),function(){if((Ot&2)!==0)throw Error(c(440));return l.impl.apply(void 0,arguments)}}function op(i,l){return wc(4,2,i,l)}function lv(i,l){return wc(4,4,i,l)}function sp(i,l){if(typeof l=="function"){i=i();var s=l(i);return function(){typeof s=="function"?s():l(null)}}if(l!=null)return i=i(),l.current=i,function(){l.current=null}}function ov(i,l,s){s=s!=null?s.concat([i]):null,wc(4,4,sp.bind(null,l,i),s)}function _l(){}function up(i,l){var s=vn();l=l===void 0?null:l;var f=s.memoizedState;return l!==null&&rs(l,f[1])?f[0]:(s.memoizedState=[i,l],i)}function SS(i,l){var s=vn();l=l===void 0?null:l;var f=s.memoizedState;if(l!==null&&rs(l,f[1]))return f[0];if(f=i(),us){ga(!0);try{i()}finally{ga(!1)}}return s.memoizedState=[f,l],f}function Ld(i,l,s){return s===void 0||(fo&1073741824)!==0&&(pt&261930)===0?i.memoizedState=l:(i.memoizedState=s,i=VS(),at.lanes|=i,Ml|=i,s)}function po(i,l,s,f){return Ti(s,l)?s:Nn.current!==null?(i=Ld(i,s,f),Ti(i,l)||(Dn=!0),i):(fo&42)===0||(fo&1073741824)!==0&&(pt&261930)===0?(Dn=!0,i.memoizedState=s):(i=VS(),at.lanes|=i,Ml|=i,l)}function rp(i,l,s,f,g){var v=ne.p;ne.p=v!==0&&8>v?v:8;var D=Y.T,C={};Y.T=C,lu(i,!1,l,s);try{var N=g(),F=Y.S;if(F!==null&&F(C,N),N!==null&&typeof N=="object"&&typeof N.then=="function"){var se=xd(N,f);cs(i,l,se,sa(i))}else cs(i,l,f,sa(i))}catch(ce){cs(i,l,{then:function(){},status:"rejected",reason:ce},sa())}finally{ne.p=v,D!==null&&C.types!==null&&(D.types=C.types),Y.T=D}}function TS(){}function Rc(i,l,s,f){if(i.tag!==5)throw Error(c(476));var g=Oc(i).queue;rp(i,g,l,de,s===null?TS:function(){return kt(i),s(f)})}function Oc(i){var l=i.memoizedState;if(l!==null)return l;l={memoizedState:de,baseState:de,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:ho,lastRenderedState:de},next:null};var s={};return l.next={memoizedState:s,baseState:s,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:ho,lastRenderedState:s},next:null},i.memoizedState=l,i=i.alternate,i!==null&&(i.memoizedState=l),l}function kt(i){var l=Oc(i);l.next===null&&(l=i.alternate.memoizedState),cs(i,l.next.queue,{},sa())}function sv(){return fe(dh)}function ES(){return vn().memoizedState}function uv(){return vn().memoizedState}function yo(i){for(var l=i.return;l!==null;){switch(l.tag){case 24:case 3:var s=sa();i=ss(s);var f=wa(l,i,s);f!==null&&(ki(f,l,s),tu(f,l,s)),l={cache:Sd()},i.payload=l;return}l=l.return}}function AS(i,l,s){var f=sa();s={lane:f,revertLane:0,gesture:null,action:s,hasEagerState:!1,eagerState:null,next:null},Nd(i)?fp(l,s):(s=Pa(i,l,s,f),s!==null&&(ki(s,i,f),rv(s,l,f)))}function cp(i,l,s){var f=sa();cs(i,l,s,f)}function cs(i,l,s,f){var g={lane:f,revertLane:0,gesture:null,action:s,hasEagerState:!1,eagerState:null,next:null};if(Nd(i))fp(l,g);else{var v=i.alternate;if(i.lanes===0&&(v===null||v.lanes===0)&&(v=l.lastRenderedReducer,v!==null))try{var D=l.lastRenderedState,C=v(D,s);if(g.hasEagerState=!0,g.eagerState=C,Ti(C,D))return Ea(i,l,g,0),Xt===null&&Ta(),!1}catch{}finally{}if(s=Pa(i,l,g,f),s!==null)return ki(s,i,f),rv(s,l,f),!0}return!1}function lu(i,l,s,f){if(f={lane:2,revertLane:Lp(),gesture:null,action:f,hasEagerState:!1,eagerState:null,next:null},Nd(i)){if(l)throw Error(c(479))}else l=Pa(i,s,f,2),l!==null&&ki(l,i,2)}function Nd(i){var l=i.alternate;return i===at||l!==null&&l===at}function fp(i,l){ir=nr=!0;var s=i.pending;s===null?l.next=l:(l.next=s.next,s.next=l),i.pending=l}function rv(i,l,s){if((s&4194048)!==0){var f=l.lanes;f&=i.pendingLanes,s|=f,l.lanes=s,Pl(i,s)}}var jd={readContext:fe,use:_c,useCallback:dn,useContext:dn,useEffect:dn,useImperativeHandle:dn,useLayoutEffect:dn,useInsertionEffect:dn,useMemo:dn,useReducer:dn,useRef:dn,useState:dn,useDebugValue:dn,useDeferredValue:dn,useTransition:dn,useSyncExternalStore:dn,useId:dn,useHostTransitionStatus:dn,useFormState:dn,useActionState:dn,useOptimistic:dn,useMemoCache:dn,useCacheRefresh:dn};jd.useEffectEvent=dn;var xS={readContext:fe,use:_c,useCallback:function(i,l){return Wn().memoizedState=[i,l===void 0?null:l],i},useContext:fe,useEffect:ap,useImperativeHandle:function(i,l,s){s=s!=null?s.concat([i]):null,Dc(4194308,4,sp.bind(null,l,i),s)},useLayoutEffect:function(i,l){return Dc(4194308,4,i,l)},useInsertionEffect:function(i,l){Dc(4,2,i,l)},useMemo:function(i,l){var s=Wn();l=l===void 0?null:l;var f=i();if(us){ga(!0);try{i()}finally{ga(!1)}}return s.memoizedState=[f,l],f},useReducer:function(i,l,s){var f=Wn();if(s!==void 0){var g=s(l);if(us){ga(!0);try{s(l)}finally{ga(!1)}}}else g=l;return f.memoizedState=f.baseState=g,i={pending:null,lanes:0,dispatch:null,lastRenderedReducer:i,lastRenderedState:g},f.queue=i,i=i.dispatch=AS.bind(null,at,i),[f.memoizedState,i]},useRef:function(i){var l=Wn();return i={current:i},l.memoizedState=i},useState:function(i){i=Kg(i);var l=i.queue,s=cp.bind(null,at,l);return l.dispatch=s,[i.memoizedState,s]},useDebugValue:_l,useDeferredValue:function(i,l){var s=Wn();return Ld(s,i,l)},useTransition:function(){var i=Kg(!1);return i=rp.bind(null,at,i.queue,!0,!1),Wn().memoizedState=i,[!1,i]},useSyncExternalStore:function(i,l,s){var f=at,g=Wn();if(vt){if(s===void 0)throw Error(c(407));s=s()}else{if(s=l(),Xt===null)throw Error(c(349));(pt&127)!==0||Ud(f,l,s)}g.memoizedState=s;var v={value:s,getSnapshot:l};return g.queue=v,ap(tp.bind(null,f,v,i),[i]),f.flags|=2048,sr(9,{destroy:void 0},$g.bind(null,f,v,s,l),null),s},useId:function(){var i=Wn(),l=Xt.identifierPrefix;if(vt){var s=Tl,f=ia;s=(f&~(1<<32-Jn(f)-1)).toString(32)+s,l="_"+l+"R_"+s,s=Od++,0<s&&(l+="H"+s.toString(32)),l+="_"}else s=yS++,l="_"+l+"r_"+s.toString(32)+"_";return i.memoizedState=l},useHostTransitionStatus:sv,useFormState:ev,useActionState:ev,useOptimistic:function(i){var l=Wn();l.memoizedState=l.baseState=i;var s={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return l.queue=s,l=lu.bind(null,at,!0,s),s.dispatch=l,[i,l]},useMemoCache:Wm,useCacheRefresh:function(){return Wn().memoizedState=yo.bind(null,at)},useEffectEvent:function(i){var l=Wn(),s={impl:i};return l.memoizedState=s,function(){if((Ot&2)!==0)throw Error(c(440));return s.impl.apply(void 0,arguments)}}},dp={readContext:fe,use:_c,useCallback:up,useContext:fe,useEffect:lp,useImperativeHandle:ov,useInsertionEffect:op,useLayoutEffect:lv,useMemo:SS,useReducer:mo,useRef:iv,useState:function(){return mo(ho)},useDebugValue:_l,useDeferredValue:function(i,l){var s=vn();return po(s,Nt.memoizedState,i,l)},useTransition:function(){var i=mo(ho)[0],l=vn().memoizedState;return[typeof i=="boolean"?i:lr(i),l]},useSyncExternalStore:Jg,useId:ES,useHostTransitionStatus:sv,useFormState:bS,useActionState:bS,useOptimistic:function(i,l){var s=vn();return In(s,Nt,i,l)},useMemoCache:Wm,useCacheRefresh:uv};dp.useEffectEvent=Hd;var _S={readContext:fe,use:_c,useCallback:up,useContext:fe,useEffect:lp,useImperativeHandle:ov,useInsertionEffect:op,useLayoutEffect:lv,useMemo:SS,useReducer:ep,useRef:iv,useState:function(){return ep(ho)},useDebugValue:_l,useDeferredValue:function(i,l){var s=vn();return Nt===null?Ld(s,i,l):po(s,Nt.memoizedState,i,l)},useTransition:function(){var i=ep(ho)[0],l=vn().memoizedState;return[typeof i=="boolean"?i:lr(i),l]},useSyncExternalStore:Jg,useId:ES,useHostTransitionStatus:sv,useFormState:nv,useActionState:nv,useOptimistic:function(i,l){var s=vn();return Nt!==null?In(s,Nt,i,l):(s.baseState=i,[i,s.queue.dispatch])},useMemoCache:Wm,useCacheRefresh:uv};_S.useEffectEvent=Hd;function ur(i,l,s,f){l=i.memoizedState,s=s(f,l),s=s==null?l:_({},l,s),i.memoizedState=s,i.lanes===0&&(i.updateQueue.baseState=s)}var Ia={enqueueSetState:function(i,l,s){i=i._reactInternals;var f=sa(),g=ss(f);g.payload=l,s!=null&&(g.callback=s),l=wa(i,g,f),l!==null&&(ki(l,i,f),tu(l,i,f))},enqueueReplaceState:function(i,l,s){i=i._reactInternals;var f=sa(),g=ss(f);g.tag=1,g.payload=l,s!=null&&(g.callback=s),l=wa(i,g,f),l!==null&&(ki(l,i,f),tu(l,i,f))},enqueueForceUpdate:function(i,l){i=i._reactInternals;var s=sa(),f=ss(s);f.tag=2,l!=null&&(f.callback=l),l=wa(i,f,s),l!==null&&(ki(l,i,s),tu(l,i,s))}};function cv(i,l,s,f,g,v,D){return i=i.stateNode,typeof i.shouldComponentUpdate=="function"?i.shouldComponentUpdate(f,v,D):l.prototype&&l.prototype.isPureReactComponent?!Ja(s,f)||!Ja(g,v):!0}function DS(i,l,s,f){i=l.state,typeof l.componentWillReceiveProps=="function"&&l.componentWillReceiveProps(s,f),typeof l.UNSAFE_componentWillReceiveProps=="function"&&l.UNSAFE_componentWillReceiveProps(s,f),l.state!==i&&Ia.enqueueReplaceState(l,l.state,null)}function ou(i,l){var s=l;if("ref"in l){s={};for(var f in l)f!=="ref"&&(s[f]=l[f])}if(i=i.defaultProps){s===l&&(s=_({},s));for(var g in i)s[g]===void 0&&(s[g]=i[g])}return s}function hp(i){Zu(i)}function fv(i){console.error(i)}function mp(i){Zu(i)}function Mc(i,l){try{var s=i.onUncaughtError;s(l.value,{componentStack:l.stack})}catch(f){setTimeout(function(){throw f})}}function qd(i,l,s){try{var f=i.onCaughtError;f(s.value,{componentStack:s.stack,errorBoundary:l.tag===1?l.stateNode:null})}catch(g){setTimeout(function(){throw g})}}function dv(i,l,s){return s=ss(s),s.tag=3,s.payload={element:null},s.callback=function(){Mc(i,l)},s}function hv(i){return i=ss(i),i.tag=3,i}function mv(i,l,s,f){var g=s.type.getDerivedStateFromError;if(typeof g=="function"){var v=f.value;i.payload=function(){return g(v)},i.callback=function(){qd(l,s,f)}}var D=s.stateNode;D!==null&&typeof D.componentDidCatch=="function"&&(i.callback=function(){qd(l,s,f),typeof g!="function"&&(on===null?on=new Set([this]):on.add(this));var C=f.stack;this.componentDidCatch(f.value,{componentStack:C!==null?C:""})})}function MA(i,l,s,f,g){if(s.flags|=32768,f!==null&&typeof f=="object"&&typeof f.then=="function"){if(l=s.alternate,l!==null&&Fn(l,s,g,!0),s=Hi.current,s!==null){switch(s.tag){case 31:case 13:return Ra===null?Up():s.alternate===null&&Ft===0&&(Ft=3),s.flags&=-257,s.flags|=65536,s.lanes=g,f===Iu?s.flags|=16384:(l=s.updateQueue,l===null?s.updateQueue=new Set([f]):l.add(f),eh(i,f,g)),!1;case 22:return s.flags|=65536,f===Iu?s.flags|=16384:(l=s.updateQueue,l===null?(l={transitions:null,markerInstances:null,retryQueue:new Set([f])},s.updateQueue=l):(s=l.retryQueue,s===null?l.retryQueue=new Set([f]):s.add(f)),eh(i,f,g)),!1}throw Error(c(435,s.tag))}return eh(i,f,g),Up(),!1}if(vt)return l=Hi.current,l!==null?((l.flags&65536)===0&&(l.flags|=256),l.flags|=65536,l.lanes=g,f!==oo&&(i=Error(c(422),{cause:f}),gc(Aa(i,s)))):(f!==oo&&(l=Error(c(423),{cause:f}),gc(Aa(l,s))),i=i.current.alternate,i.flags|=65536,g&=-g,i.lanes|=g,f=Aa(f,s),g=dv(i.stateNode,f,g),Jm(i,g),Ft!==4&&(Ft=2)),!1;var v=Error(c(520),{cause:f});if(v=Aa(v,s),Pd===null?Pd=[v]:Pd.push(v),Ft!==4&&(Ft=2),l===null)return!0;f=Aa(f,s),s=l;do{switch(s.tag){case 3:return s.flags|=65536,i=g&-g,s.lanes|=i,i=dv(s.stateNode,f,i),Jm(s,i),!1;case 1:if(l=s.type,v=s.stateNode,(s.flags&128)===0&&(typeof l.getDerivedStateFromError=="function"||v!==null&&typeof v.componentDidCatch=="function"&&(on===null||!on.has(v))))return s.flags|=65536,g&=-g,s.lanes|=g,g=hv(g),mv(g,i,s,f),Jm(s,g),!1}s=s.return}while(s!==null);return!1}var pp=Error(c(461)),Dn=!1;function tn(i,l,s,f){l.child=i===null?Qg(l,null,s,f):eu(l,i.child,s,f)}function pv(i,l,s,f,g){s=s.render;var v=l.ref;if("ref"in f){var D={};for(var C in f)C!=="ref"&&(D[C]=f[C])}else D=f;return We(l),f=Md(i,l,s,D,v,g),C=Fm(),i!==null&&!Dn?(ar(i,l,g),Ca(i,l,g)):(vt&&C&&pc(l),l.flags|=1,tn(i,l,f,g),l.child)}function yv(i,l,s,f,g){if(i===null){var v=s.type;return typeof v=="function"&&!Ju(v)&&v.defaultProps===void 0&&s.compare===null?(l.tag=15,l.type=v,gv(i,l,v,f,g)):(i=qm(s.type,null,f,l,l.mode,g),i.ref=l.ref,i.return=l,l.child=i)}if(v=i.child,!vp(i,g)){var D=v.memoizedProps;if(s=s.compare,s=s!==null?s:Ja,s(D,f)&&i.ref===l.ref)return Ca(i,l,g)}return l.flags|=1,i=ts(v,f),i.ref=l.ref,i.return=l,l.child=i}function gv(i,l,s,f,g){if(i!==null){var v=i.memoizedProps;if(Ja(v,f)&&i.ref===l.ref)if(Dn=!1,l.pendingProps=f=v,vp(i,g))(i.flags&131072)!==0&&(Dn=!0);else return l.lanes=i.lanes,Ca(i,l,g)}return yp(i,l,s,f,g)}function wS(i,l,s,f){var g=f.children,v=i!==null?i.memoizedState:null;if(i===null&&l.stateNode===null&&(l.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),f.mode==="hidden"){if((l.flags&128)!==0){if(v=v!==null?v.baseLanes|s:s,i!==null){for(f=l.child=i.child,g=0;f!==null;)g=g|f.lanes|f.childLanes,f=f.sibling;f=g&~v}else f=0,l.child=null;return Ni(i,l,v,s,f)}if((s&536870912)!==0)l.memoizedState={baseLanes:0,cachePool:null},i!==null&&vc(l,v!==null?v.cachePool:null),v!==null?pS(l,v):Rd(),Km(l);else return f=l.lanes=536870912,Ni(i,l,v!==null?v.baseLanes|s:s,s,f)}else v!==null?(vc(l,v.cachePool),pS(l,v),xl(),l.memoizedState=null):(i!==null&&vc(l,null),Rd(),xl());return tn(i,l,g,s),l.child}function su(i,l){return i!==null&&i.tag===22||l.stateNode!==null||(l.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),l.sibling}function Ni(i,l,s,f,g){var v=Da();return v=v===null?null:{parent:xn._currentValue,pool:v},l.memoizedState={baseLanes:s,cachePool:v},i!==null&&vc(l,null),Rd(),Km(l),i!==null&&Fn(i,l,f,!0),l.childLanes=g,null}function Yd(i,l){return l=Xd({mode:l.mode,children:l.children},i.mode),l.ref=i.ref,i.child=l,l.return=i,l}function ji(i,l,s){return eu(l,i.child,null,s),i=Yd(l,l.pendingProps),i.flags|=2,Li(l),l.memoizedState=null,i}function RS(i,l,s){var f=l.pendingProps,g=(l.flags&128)!==0;if(l.flags&=-129,i===null){if(vt){if(f.mode==="hidden")return i=Yd(l,f),l.lanes=536870912,su(null,i);if(Ec(l),(i=Kt)?(i=r1(i,Ln),i=i!==null&&i.data==="&"?i:null,i!==null&&(l.memoizedState={dehydrated:i,treeContext:Sl!==null?{id:ia,overflow:Tl}:null,retryLane:536870912,hydrationErrors:null},s=Hg(i),s.return=l,l.child=s,Pn=l,Kt=null)):i=null,i===null)throw Wa(l);return l.lanes=536870912,null}return Yd(l,f)}var v=i.memoizedState;if(v!==null){var D=v.dehydrated;if(Ec(l),g)if(l.flags&256)l.flags&=-257,l=ji(i,l,s);else if(l.memoizedState!==null)l.child=i.child,l.flags|=128,l=null;else throw Error(c(558));else if(Dn||Fn(i,l,s,!1),g=(s&i.childLanes)!==0,Dn||g){if(f=Xt,f!==null&&(D=va(f,s),D!==0&&D!==v.retryLane))throw v.retryLane=D,es(i,D),ki(f,i,D),pp;Up(),l=ji(i,l,s)}else i=v.treeContext,Kt=Xi(D.nextSibling),Pn=l,vt=!0,lo=null,Ln=!1,i!==null&&gd(l,i),l=Yd(l,f),l.flags|=4096;return l}return i=ts(i.child,{mode:f.mode,children:f.children}),i.ref=l.ref,l.child=i,i.return=l,i}function Oa(i,l){var s=l.ref;if(s===null)i!==null&&i.ref!==null&&(l.flags|=4194816);else{if(typeof s!="function"&&typeof s!="object")throw Error(c(284));(i===null||i.ref!==s)&&(l.flags|=4194816)}}function yp(i,l,s,f,g){return We(l),s=Md(i,l,s,f,void 0,g),f=Fm(),i!==null&&!Dn?(ar(i,l,g),Ca(i,l,g)):(vt&&f&&pc(l),l.flags|=1,tn(i,l,s,g),l.child)}function uu(i,l,s,f,g,v){return We(l),l.updateQueue=null,s=gS(l,f,s,g),Pm(i),f=Fm(),i!==null&&!Dn?(ar(i,l,v),Ca(i,l,v)):(vt&&f&&pc(l),l.flags|=1,tn(i,l,s,v),l.child)}function vv(i,l,s,f,g){if(We(l),l.stateNode===null){var v=Ui,D=s.contextType;typeof D=="object"&&D!==null&&(v=fe(D)),v=new s(f,v),l.memoizedState=v.state!==null&&v.state!==void 0?v.state:null,v.updater=Ia,l.stateNode=v,v._reactInternals=l,v=l.stateNode,v.props=f,v.state=l.memoizedState,v.refs={},wd(l),D=s.contextType,v.context=typeof D=="object"&&D!==null?fe(D):Ui,v.state=l.memoizedState,D=s.getDerivedStateFromProps,typeof D=="function"&&(ur(l,s,D,f),v.state=l.memoizedState),typeof s.getDerivedStateFromProps=="function"||typeof v.getSnapshotBeforeUpdate=="function"||typeof v.UNSAFE_componentWillMount!="function"&&typeof v.componentWillMount!="function"||(D=v.state,typeof v.componentWillMount=="function"&&v.componentWillMount(),typeof v.UNSAFE_componentWillMount=="function"&&v.UNSAFE_componentWillMount(),D!==v.state&&Ia.enqueueReplaceState(v,v.state,null),ro(l,f,v,g),nu(),v.state=l.memoizedState),typeof v.componentDidMount=="function"&&(l.flags|=4194308),f=!0}else if(i===null){v=l.stateNode;var C=l.memoizedProps,N=ou(s,C);v.props=N;var F=v.context,se=s.contextType;D=Ui,typeof se=="object"&&se!==null&&(D=fe(se));var ce=s.getDerivedStateFromProps;se=typeof ce=="function"||typeof v.getSnapshotBeforeUpdate=="function",C=l.pendingProps!==C,se||typeof v.UNSAFE_componentWillReceiveProps!="function"&&typeof v.componentWillReceiveProps!="function"||(C||F!==D)&&DS(l,v,f,D),os=!1;var W=l.memoizedState;v.state=W,ro(l,f,v,g),nu(),F=l.memoizedState,C||W!==F||os?(typeof ce=="function"&&(ur(l,s,ce,f),F=l.memoizedState),(N=os||cv(l,s,N,f,W,F,D))?(se||typeof v.UNSAFE_componentWillMount!="function"&&typeof v.componentWillMount!="function"||(typeof v.componentWillMount=="function"&&v.componentWillMount(),typeof v.UNSAFE_componentWillMount=="function"&&v.UNSAFE_componentWillMount()),typeof v.componentDidMount=="function"&&(l.flags|=4194308)):(typeof v.componentDidMount=="function"&&(l.flags|=4194308),l.memoizedProps=f,l.memoizedState=F),v.props=f,v.state=F,v.context=D,f=N):(typeof v.componentDidMount=="function"&&(l.flags|=4194308),f=!1)}else{v=l.stateNode,Zm(i,l),D=l.memoizedProps,se=ou(s,D),v.props=se,ce=l.pendingProps,W=v.context,F=s.contextType,N=Ui,typeof F=="object"&&F!==null&&(N=fe(F)),C=s.getDerivedStateFromProps,(F=typeof C=="function"||typeof v.getSnapshotBeforeUpdate=="function")||typeof v.UNSAFE_componentWillReceiveProps!="function"&&typeof v.componentWillReceiveProps!="function"||(D!==ce||W!==N)&&DS(l,v,f,N),os=!1,W=l.memoizedState,v.state=W,ro(l,f,v,g),nu();var ae=l.memoizedState;D!==ce||W!==ae||os||i!==null&&i.dependencies!==null&&Ku(i.dependencies)?(typeof C=="function"&&(ur(l,s,C,f),ae=l.memoizedState),(se=os||cv(l,s,se,f,W,ae,N)||i!==null&&i.dependencies!==null&&Ku(i.dependencies))?(F||typeof v.UNSAFE_componentWillUpdate!="function"&&typeof v.componentWillUpdate!="function"||(typeof v.componentWillUpdate=="function"&&v.componentWillUpdate(f,ae,N),typeof v.UNSAFE_componentWillUpdate=="function"&&v.UNSAFE_componentWillUpdate(f,ae,N)),typeof v.componentDidUpdate=="function"&&(l.flags|=4),typeof v.getSnapshotBeforeUpdate=="function"&&(l.flags|=1024)):(typeof v.componentDidUpdate!="function"||D===i.memoizedProps&&W===i.memoizedState||(l.flags|=4),typeof v.getSnapshotBeforeUpdate!="function"||D===i.memoizedProps&&W===i.memoizedState||(l.flags|=1024),l.memoizedProps=f,l.memoizedState=ae),v.props=f,v.state=ae,v.context=N,f=se):(typeof v.componentDidUpdate!="function"||D===i.memoizedProps&&W===i.memoizedState||(l.flags|=4),typeof v.getSnapshotBeforeUpdate!="function"||D===i.memoizedProps&&W===i.memoizedState||(l.flags|=1024),f=!1)}return v=f,Oa(i,l),f=(l.flags&128)!==0,v||f?(v=l.stateNode,s=f&&typeof s.getDerivedStateFromError!="function"?null:v.render(),l.flags|=1,i!==null&&f?(l.child=eu(l,i.child,null,g),l.child=eu(l,null,s,g)):tn(i,l,s,g),l.memoizedState=v.state,i=l.child):i=Ca(i,l,g),i}function Dl(i,l,s,f){return $s(),l.flags|=256,tn(i,l,s,f),l.child}var Gd={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function kd(i){return{baseLanes:i,cachePool:Fu()}}function Ma(i,l,s){return i=i!==null?i.childLanes&~s:0,l&&(i|=Gi),i}function bv(i,l,s){var f=l.pendingProps,g=!1,v=(l.flags&128)!==0,D;if((D=v)||(D=i!==null&&i.memoizedState===null?!1:(ln.current&2)!==0),D&&(g=!0,l.flags&=-129),D=(l.flags&32)!==0,l.flags&=-33,i===null){if(vt){if(g?co(l):xl(),(i=Kt)?(i=r1(i,Ln),i=i!==null&&i.data!=="&"?i:null,i!==null&&(l.memoizedState={dehydrated:i,treeContext:Sl!==null?{id:ia,overflow:Tl}:null,retryLane:536870912,hydrationErrors:null},s=Hg(i),s.return=l,l.child=s,Pn=l,Kt=null)):i=null,i===null)throw Wa(l);return pu(i)?l.lanes=32:l.lanes=536870912,null}var C=f.children;return f=f.fallback,g?(xl(),g=l.mode,C=Xd({mode:"hidden",children:C},g),f=ns(f,g,s,null),C.return=l,f.return=l,C.sibling=f,l.child=C,f=l.child,f.memoizedState=kd(s),f.childLanes=Ma(i,D,s),l.memoizedState=Gd,su(null,f)):(co(l),ru(l,C))}var N=i.memoizedState;if(N!==null&&(C=N.dehydrated,C!==null)){if(v)l.flags&256?(co(l),l.flags&=-257,l=rr(i,l,s)):l.memoizedState!==null?(xl(),l.child=i.child,l.flags|=128,l=null):(xl(),C=f.fallback,g=l.mode,f=Xd({mode:"visible",children:f.children},g),C=ns(C,g,s,null),C.flags|=2,f.return=l,C.return=l,f.sibling=C,l.child=f,eu(l,i.child,null,s),f=l.child,f.memoizedState=kd(s),f.childLanes=Ma(i,D,s),l.memoizedState=Gd,l=su(null,f));else if(co(l),pu(C)){if(D=C.nextSibling&&C.nextSibling.dataset,D)var F=D.dgst;D=F,f=Error(c(419)),f.stack="",f.digest=D,gc({value:f,source:null,stack:null}),l=rr(i,l,s)}else if(Dn||Fn(i,l,s,!1),D=(s&i.childLanes)!==0,Dn||D){if(D=Xt,D!==null&&(f=va(D,s),f!==0&&f!==N.retryLane))throw N.retryLane=f,es(i,f),ki(D,i,f),pp;nl(C)||Up(),l=rr(i,l,s)}else nl(C)?(l.flags|=192,l.child=i.child,l=null):(i=N.treeContext,Kt=Xi(C.nextSibling),Pn=l,vt=!0,lo=null,Ln=!1,i!==null&&gd(l,i),l=ru(l,f.children),l.flags|=4096);return l}return g?(xl(),C=f.fallback,g=l.mode,N=i.child,F=N.sibling,f=ts(N,{mode:"hidden",children:f.children}),f.subtreeFlags=N.subtreeFlags&65011712,F!==null?C=ts(F,C):(C=ns(C,g,s,null),C.flags|=2),C.return=l,f.return=l,f.sibling=C,l.child=f,su(null,f),f=l.child,C=i.child.memoizedState,C===null?C=kd(s):(g=C.cachePool,g!==null?(N=xn._currentValue,g=g.parent!==N?{parent:N,pool:N}:g):g=Fu(),C={baseLanes:C.baseLanes|s,cachePool:g}),f.memoizedState=C,f.childLanes=Ma(i,D,s),l.memoizedState=Gd,su(i.child,f)):(co(l),s=i.child,i=s.sibling,s=ts(s,{mode:"visible",children:f.children}),s.return=l,s.sibling=null,i!==null&&(D=l.deletions,D===null?(l.deletions=[i],l.flags|=16):D.push(i)),l.child=s,l.memoizedState=null,s)}function ru(i,l){return l=Xd({mode:"visible",children:l},i.mode),l.return=i,i.child=l}function Xd(i,l){return i=yn(22,i,null,l),i.lanes=0,i}function rr(i,l,s){return eu(l,i.child,null,s),i=ru(l,l.pendingProps.children),i.flags|=2,l.memoizedState=null,i}function cr(i,l,s){i.lanes|=l;var f=i.alternate;f!==null&&(f.lanes|=l),Xm(i.return,l,s)}function gp(i,l,s,f,g,v){var D=i.memoizedState;D===null?i.memoizedState={isBackwards:l,rendering:null,renderingStartTime:0,last:f,tail:s,tailMode:g,treeForkCount:v}:(D.isBackwards=l,D.rendering=null,D.renderingStartTime=0,D.last=f,D.tail=s,D.tailMode=g,D.treeForkCount=v)}function Sv(i,l,s){var f=l.pendingProps,g=f.revealOrder,v=f.tail;f=f.children;var D=ln.current,C=(D&2)!==0;if(C?(D=D&1|2,l.flags|=128):D&=1,pe(ln,D),tn(i,l,f,s),f=vt?An:0,!C&&i!==null&&(i.flags&128)!==0)e:for(i=l.child;i!==null;){if(i.tag===13)i.memoizedState!==null&&cr(i,s,l);else if(i.tag===19)cr(i,s,l);else if(i.child!==null){i.child.return=i,i=i.child;continue}if(i===l)break e;for(;i.sibling===null;){if(i.return===null||i.return===l)break e;i=i.return}i.sibling.return=i.return,i=i.sibling}switch(g){case"forwards":for(s=l.child,g=null;s!==null;)i=s.alternate,i!==null&&Ac(i)===null&&(g=s),s=s.sibling;s=g,s===null?(g=l.child,l.child=null):(g=s.sibling,s.sibling=null),gp(l,!1,g,s,v,f);break;case"backwards":case"unstable_legacy-backwards":for(s=null,g=l.child,l.child=null;g!==null;){if(i=g.alternate,i!==null&&Ac(i)===null){l.child=g;break}i=g.sibling,g.sibling=s,s=g,g=i}gp(l,!0,s,null,v,f);break;case"together":gp(l,!1,null,null,void 0,f);break;default:l.memoizedState=null}return l.child}function Ca(i,l,s){if(i!==null&&(l.dependencies=i.dependencies),Ml|=l.lanes,(s&l.childLanes)===0)if(i!==null){if(Fn(i,l,s,!1),(s&l.childLanes)===0)return null}else return null;if(i!==null&&l.child!==i.child)throw Error(c(153));if(l.child!==null){for(i=l.child,s=ts(i,i.pendingProps),l.child=s,s.return=l;i.sibling!==null;)i=i.sibling,s=s.sibling=ts(i,i.pendingProps),s.return=l;s.sibling=null}return l.child}function vp(i,l){return(i.lanes&l)!==0?!0:(i=i.dependencies,!!(i!==null&&Ku(i)))}function bp(i,l,s){switch(l.tag){case 3:en(l,l.stateNode.containerInfo),Vi(l,xn,i.memoizedState.cache),$s();break;case 27:case 5:pa(l);break;case 4:en(l,l.stateNode.containerInfo);break;case 10:Vi(l,l.type,l.memoizedProps.value);break;case 31:if(l.memoizedState!==null)return l.flags|=128,Ec(l),null;break;case 13:var f=l.memoizedState;if(f!==null)return f.dehydrated!==null?(co(l),l.flags|=128,null):(s&l.child.childLanes)!==0?bv(i,l,s):(co(l),i=Ca(i,l,s),i!==null?i.sibling:null);co(l);break;case 19:var g=(i.flags&128)!==0;if(f=(s&l.childLanes)!==0,f||(Fn(i,l,s,!1),f=(s&l.childLanes)!==0),g){if(f)return Sv(i,l,s);l.flags|=128}if(g=l.memoizedState,g!==null&&(g.rendering=null,g.tail=null,g.lastEffect=null),pe(ln,ln.current),f)break;return null;case 22:return l.lanes=0,wS(i,l,s,l.pendingProps);case 24:Vi(l,xn,i.memoizedState.cache)}return Ca(i,l,s)}function Tv(i,l,s){if(i!==null)if(i.memoizedProps!==l.pendingProps)Dn=!0;else{if(!vp(i,s)&&(l.flags&128)===0)return Dn=!1,bp(i,l,s);Dn=(i.flags&131072)!==0}else Dn=!1,vt&&(l.flags&1048576)!==0&&Ng(l,An,l.index);switch(l.lanes=0,l.tag){case 16:e:{var f=l.pendingProps;if(i=Fs(l.elementType),l.type=i,typeof i=="function")Ju(i)?(f=ou(i,f),l.tag=1,l=vv(null,l,i,f,s)):(l.tag=0,l=yp(null,l,i,f,s));else{if(i!=null){var g=i.$$typeof;if(g===oe){l.tag=11,l=pv(null,l,i,f,s);break e}else if(g===ve){l.tag=14,l=yv(null,l,i,f,s);break e}}throw l=Vt(i)||i,Error(c(306,l,""))}}return l;case 0:return yp(i,l,l.type,l.pendingProps,s);case 1:return f=l.type,g=ou(f,l.pendingProps),vv(i,l,f,g,s);case 3:e:{if(en(l,l.stateNode.containerInfo),i===null)throw Error(c(387));f=l.pendingProps;var v=l.memoizedState;g=v.element,Zm(i,l),ro(l,f,null,s);var D=l.memoizedState;if(f=D.cache,Vi(l,xn,f),f!==v.cache&&uo(l,[xn],s,!0),nu(),f=D.element,v.isDehydrated)if(v={element:f,isDehydrated:!1,cache:D.cache},l.updateQueue.baseState=v,l.memoizedState=v,l.flags&256){l=Dl(i,l,f,s);break e}else if(f!==g){g=Aa(Error(c(424)),l),gc(g),l=Dl(i,l,f,s);break e}else{switch(i=l.stateNode.containerInfo,i.nodeType){case 9:i=i.body;break;default:i=i.nodeName==="HTML"?i.ownerDocument.body:i}for(Kt=Xi(i.firstChild),Pn=l,vt=!0,lo=null,Ln=!0,s=Qg(l,null,f,s),l.child=s;s;)s.flags=s.flags&-3|4096,s=s.sibling}else{if($s(),f===g){l=Ca(i,l,s);break e}tn(i,l,f,s)}l=l.child}return l;case 26:return Oa(i,l),i===null?(s=Wc(l.type,null,l.pendingProps,null))?l.memoizedState=s:vt||(s=l.type,i=l.pendingProps,f=mu(tt.current).createElement(s),f[Gt]=l,f[Mi]=i,di(f,s,i),Ht(f),l.stateNode=f):l.memoizedState=Wc(l.type,i.memoizedProps,l.pendingProps,i.memoizedState),null;case 27:return pa(l),i===null&&vt&&(f=l.stateNode=Pc(l.type,l.pendingProps,tt.current),Pn=l,Ln=!0,g=Kt,zl(l.type)?(rh=g,Kt=Xi(f.firstChild)):Kt=g),tn(i,l,l.pendingProps.children,s),Oa(i,l),i===null&&(l.flags|=4194304),l.child;case 5:return i===null&&vt&&((g=f=Kt)&&(f=UA(f,l.type,l.pendingProps,Ln),f!==null?(l.stateNode=f,Pn=l,Kt=Xi(f.firstChild),Ln=!1,g=!0):g=!1),g||Wa(l)),pa(l),g=l.type,v=l.pendingProps,D=i!==null?i.memoizedProps:null,f=v.children,$c(g,v)?f=null:D!==null&&$c(g,D)&&(l.flags|=32),l.memoizedState!==null&&(g=Md(i,l,OA,null,null,s),dh._currentValue=g),Oa(i,l),tn(i,l,f,s),l.child;case 6:return i===null&&vt&&((i=s=Kt)&&(s=ct(s,l.pendingProps,Ln),s!==null?(l.stateNode=s,Pn=l,Kt=null,i=!0):i=!1),i||Wa(l)),null;case 13:return bv(i,l,s);case 4:return en(l,l.stateNode.containerInfo),f=l.pendingProps,i===null?l.child=eu(l,null,f,s):tn(i,l,f,s),l.child;case 11:return pv(i,l,l.type,l.pendingProps,s);case 7:return tn(i,l,l.pendingProps,s),l.child;case 8:return tn(i,l,l.pendingProps.children,s),l.child;case 12:return tn(i,l,l.pendingProps.children,s),l.child;case 10:return f=l.pendingProps,Vi(l,l.type,f.value),tn(i,l,f.children,s),l.child;case 9:return g=l.type._context,f=l.pendingProps.children,We(l),g=fe(g),f=f(g),l.flags|=1,tn(i,l,f,s),l.child;case 14:return yv(i,l,l.type,l.pendingProps,s);case 15:return gv(i,l,l.type,l.pendingProps,s);case 19:return Sv(i,l,s);case 31:return RS(i,l,s);case 22:return wS(i,l,s,l.pendingProps);case 24:return We(l),f=fe(xn),i===null?(g=Da(),g===null&&(g=Xt,v=Sd(),g.pooledCache=v,v.refCount++,v!==null&&(g.pooledCacheLanes|=s),g=v),l.memoizedState={parent:f,cache:g},wd(l),Vi(l,xn,g)):((i.lanes&s)!==0&&(Zm(i,l),ro(l,null,null,s),nu()),g=i.memoizedState,v=l.memoizedState,g.parent!==f?(g={parent:f,cache:f},l.memoizedState=g,l.lanes===0&&(l.memoizedState=l.updateQueue.baseState=g),Vi(l,xn,f)):(f=v.cache,Vi(l,xn,f),f!==g.cache&&uo(l,[xn],s,!0))),tn(i,l,l.pendingProps.children,s),l.child;case 29:throw l.pendingProps}throw Error(c(156,l.tag))}function go(i){i.flags|=4}function Ev(i,l,s,f,g){if((l=(i.mode&32)!==0)&&(l=!1),l){if(i.flags|=16777216,(g&335544128)===g)if(i.stateNode.complete)i.flags|=8192;else if(NS())i.flags|=8192;else throw Ws=Iu,Wu}else i.flags&=-16777217}function Av(i,l){if(l.type!=="stylesheet"||(l.state.loading&4)!==0)i.flags&=-16777217;else if(i.flags|=16777216,!ra(l))if(NS())i.flags|=8192;else throw Ws=Iu,Wu}function Ei(i,l){l!==null&&(i.flags|=4),i.flags&16384&&(l=i.tag!==22?bi():536870912,i.lanes|=l,hn|=l)}function Cc(i,l){if(!vt)switch(i.tailMode){case"hidden":l=i.tail;for(var s=null;l!==null;)l.alternate!==null&&(s=l),l=l.sibling;s===null?i.tail=null:s.sibling=null;break;case"collapsed":s=i.tail;for(var f=null;s!==null;)s.alternate!==null&&(f=s),s=s.sibling;f===null?l||i.tail===null?i.tail=null:i.tail.sibling=null:f.sibling=null}}function Fe(i){var l=i.alternate!==null&&i.alternate.child===i.child,s=0,f=0;if(l)for(var g=i.child;g!==null;)s|=g.lanes|g.childLanes,f|=g.subtreeFlags&65011712,f|=g.flags&65011712,g.return=i,g=g.sibling;else for(g=i.child;g!==null;)s|=g.lanes|g.childLanes,f|=g.subtreeFlags,f|=g.flags,g.return=i,g=g.sibling;return i.subtreeFlags|=f,i.childLanes=s,l}function OS(i,l,s){var f=l.pendingProps;switch(Gm(l),l.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Fe(l),null;case 1:return Fe(l),null;case 3:return s=l.stateNode,f=null,i!==null&&(f=i.memoizedState.cache),l.memoizedState.cache!==f&&(l.flags|=2048),Al(xn),wt(),s.pendingContext&&(s.context=s.pendingContext,s.pendingContext=null),(i===null||i.child===null)&&(so(l)?go(l):i===null||i.memoizedState.isDehydrated&&(l.flags&256)===0||(l.flags|=1024,jg())),Fe(l),null;case 26:var g=l.type,v=l.memoizedState;return i===null?(go(l),v!==null?(Fe(l),Av(l,v)):(Fe(l),Ev(l,g,null,f,s))):v?v!==i.memoizedState?(go(l),Fe(l),Av(l,v)):(Fe(l),l.flags&=-16777217):(i=i.memoizedProps,i!==f&&go(l),Fe(l),Ev(l,g,i,f,s)),null;case 27:if(_e(l),s=tt.current,g=l.type,i!==null&&l.stateNode!=null)i.memoizedProps!==f&&go(l);else{if(!f){if(l.stateNode===null)throw Error(c(166));return Fe(l),null}i=me.current,so(l)?vd(l):(i=Pc(g,f,s),l.stateNode=i,go(l))}return Fe(l),null;case 5:if(_e(l),g=l.type,i!==null&&l.stateNode!=null)i.memoizedProps!==f&&go(l);else{if(!f){if(l.stateNode===null)throw Error(c(166));return Fe(l),null}if(v=me.current,so(l))vd(l);else{var D=mu(tt.current);switch(v){case 1:v=D.createElementNS("http://www.w3.org/2000/svg",g);break;case 2:v=D.createElementNS("http://www.w3.org/1998/Math/MathML",g);break;default:switch(g){case"svg":v=D.createElementNS("http://www.w3.org/2000/svg",g);break;case"math":v=D.createElementNS("http://www.w3.org/1998/Math/MathML",g);break;case"script":v=D.createElement("div"),v.innerHTML="<script><\/script>",v=v.removeChild(v.firstChild);break;case"select":v=typeof f.is=="string"?D.createElement("select",{is:f.is}):D.createElement("select"),f.multiple?v.multiple=!0:f.size&&(v.size=f.size);break;default:v=typeof f.is=="string"?D.createElement(g,{is:f.is}):D.createElement(g)}}v[Gt]=l,v[Mi]=f;e:for(D=l.child;D!==null;){if(D.tag===5||D.tag===6)v.appendChild(D.stateNode);else if(D.tag!==4&&D.tag!==27&&D.child!==null){D.child.return=D,D=D.child;continue}if(D===l)break e;for(;D.sibling===null;){if(D.return===null||D.return===l)break e;D=D.return}D.sibling.return=D.return,D=D.sibling}l.stateNode=v;e:switch(di(v,g,f),g){case"button":case"input":case"select":case"textarea":f=!!f.autoFocus;break e;case"img":f=!0;break e;default:f=!1}f&&go(l)}}return Fe(l),Ev(l,l.type,i===null?null:i.memoizedProps,l.pendingProps,s),null;case 6:if(i&&l.stateNode!=null)i.memoizedProps!==f&&go(l);else{if(typeof f!="string"&&l.stateNode===null)throw Error(c(166));if(i=tt.current,so(l)){if(i=l.stateNode,s=l.memoizedProps,f=null,g=Pn,g!==null)switch(g.tag){case 27:case 5:f=g.memoizedProps}i[Gt]=l,i=!!(i.nodeValue===s||f!==null&&f.suppressHydrationWarning===!0||Jv(i.nodeValue,s)),i||Wa(l,!0)}else i=mu(i).createTextNode(f),i[Gt]=l,l.stateNode=i}return Fe(l),null;case 31:if(s=l.memoizedState,i===null||i.memoizedState!==null){if(f=so(l),s!==null){if(i===null){if(!f)throw Error(c(318));if(i=l.memoizedState,i=i!==null?i.dehydrated:null,!i)throw Error(c(557));i[Gt]=l}else $s(),(l.flags&128)===0&&(l.memoizedState=null),l.flags|=4;Fe(l),i=!1}else s=jg(),i!==null&&i.memoizedState!==null&&(i.memoizedState.hydrationErrors=s),i=!0;if(!i)return l.flags&256?(Li(l),l):(Li(l),null);if((l.flags&128)!==0)throw Error(c(558))}return Fe(l),null;case 13:if(f=l.memoizedState,i===null||i.memoizedState!==null&&i.memoizedState.dehydrated!==null){if(g=so(l),f!==null&&f.dehydrated!==null){if(i===null){if(!g)throw Error(c(318));if(g=l.memoizedState,g=g!==null?g.dehydrated:null,!g)throw Error(c(317));g[Gt]=l}else $s(),(l.flags&128)===0&&(l.memoizedState=null),l.flags|=4;Fe(l),g=!1}else g=jg(),i!==null&&i.memoizedState!==null&&(i.memoizedState.hydrationErrors=g),g=!0;if(!g)return l.flags&256?(Li(l),l):(Li(l),null)}return Li(l),(l.flags&128)!==0?(l.lanes=s,l):(s=f!==null,i=i!==null&&i.memoizedState!==null,s&&(f=l.child,g=null,f.alternate!==null&&f.alternate.memoizedState!==null&&f.alternate.memoizedState.cachePool!==null&&(g=f.alternate.memoizedState.cachePool.pool),v=null,f.memoizedState!==null&&f.memoizedState.cachePool!==null&&(v=f.memoizedState.cachePool.pool),v!==g&&(f.flags|=2048)),s!==i&&s&&(l.child.flags|=8192),Ei(l,l.updateQueue),Fe(l),null);case 4:return wt(),i===null&&Jc(l.stateNode.containerInfo),Fe(l),null;case 10:return Al(l.type),Fe(l),null;case 19:if(P(ln),f=l.memoizedState,f===null)return Fe(l),null;if(g=(l.flags&128)!==0,v=f.rendering,v===null)if(g)Cc(f,!1);else{if(Ft!==0||i!==null&&(i.flags&128)!==0)for(i=l.child;i!==null;){if(v=Ac(i),v!==null){for(l.flags|=128,Cc(f,!1),i=v.updateQueue,l.updateQueue=i,Ei(l,i),l.subtreeFlags=0,i=s,s=l.child;s!==null;)Vg(s,i),s=s.sibling;return pe(ln,ln.current&1|2),vt&&Fa(l,f.treeForkCount),l.child}i=i.sibling}f.tail!==null&&Mn()>zt&&(l.flags|=128,g=!0,Cc(f,!1),l.lanes=4194304)}else{if(!g)if(i=Ac(v),i!==null){if(l.flags|=128,g=!0,i=i.updateQueue,l.updateQueue=i,Ei(l,i),Cc(f,!0),f.tail===null&&f.tailMode==="hidden"&&!v.alternate&&!vt)return Fe(l),null}else 2*Mn()-f.renderingStartTime>zt&&s!==536870912&&(l.flags|=128,g=!0,Cc(f,!1),l.lanes=4194304);f.isBackwards?(v.sibling=l.child,l.child=v):(i=f.last,i!==null?i.sibling=v:l.child=v,f.last=v)}return f.tail!==null?(i=f.tail,f.rendering=i,f.tail=i.sibling,f.renderingStartTime=Mn(),i.sibling=null,s=ln.current,pe(ln,g?s&1|2:s&1),vt&&Fa(l,f.treeForkCount),i):(Fe(l),null);case 22:case 23:return Li(l),Tc(),f=l.memoizedState!==null,i!==null?i.memoizedState!==null!==f&&(l.flags|=8192):f&&(l.flags|=8192),f?(s&536870912)!==0&&(l.flags&128)===0&&(Fe(l),l.subtreeFlags&6&&(l.flags|=8192)):Fe(l),s=l.updateQueue,s!==null&&Ei(l,s.retryQueue),s=null,i!==null&&i.memoizedState!==null&&i.memoizedState.cachePool!==null&&(s=i.memoizedState.cachePool.pool),f=null,l.memoizedState!==null&&l.memoizedState.cachePool!==null&&(f=l.memoizedState.cachePool.pool),f!==s&&(l.flags|=2048),i!==null&&P(_a),null;case 24:return s=null,i!==null&&(s=i.memoizedState.cache),l.memoizedState.cache!==s&&(l.flags|=2048),Al(xn),Fe(l),null;case 25:return null;case 30:return null}throw Error(c(156,l.tag))}function MS(i,l){switch(Gm(l),l.tag){case 1:return i=l.flags,i&65536?(l.flags=i&-65537|128,l):null;case 3:return Al(xn),wt(),i=l.flags,(i&65536)!==0&&(i&128)===0?(l.flags=i&-65537|128,l):null;case 26:case 27:case 5:return _e(l),null;case 31:if(l.memoizedState!==null){if(Li(l),l.alternate===null)throw Error(c(340));$s()}return i=l.flags,i&65536?(l.flags=i&-65537|128,l):null;case 13:if(Li(l),i=l.memoizedState,i!==null&&i.dehydrated!==null){if(l.alternate===null)throw Error(c(340));$s()}return i=l.flags,i&65536?(l.flags=i&-65537|128,l):null;case 19:return P(ln),null;case 4:return wt(),null;case 10:return Al(l.type),null;case 22:case 23:return Li(l),Tc(),i!==null&&P(_a),i=l.flags,i&65536?(l.flags=i&-65537|128,l):null;case 24:return Al(xn),null;case 25:return null;default:return null}}function CS(i,l){switch(Gm(l),l.tag){case 3:Al(xn),wt();break;case 26:case 27:case 5:_e(l);break;case 4:wt();break;case 31:l.memoizedState!==null&&Li(l);break;case 13:Li(l);break;case 19:P(ln);break;case 10:Al(l.type);break;case 22:case 23:Li(l),Tc(),i!==null&&P(_a);break;case 24:Al(xn)}}function el(i,l){try{var s=l.updateQueue,f=s!==null?s.lastEffect:null;if(f!==null){var g=f.next;s=g;do{if((s.tag&i)===i){f=void 0;var v=s.create,D=s.inst;f=v(),D.destroy=f}s=s.next}while(s!==g)}}catch(C){qt(l,l.return,C)}}function za(i,l,s){try{var f=l.updateQueue,g=f!==null?f.lastEffect:null;if(g!==null){var v=g.next;f=v;do{if((f.tag&i)===i){var D=f.inst,C=D.destroy;if(C!==void 0){D.destroy=void 0,g=l;var N=s,F=C;try{F()}catch(se){qt(g,N,se)}}}f=f.next}while(f!==v)}}catch(se){qt(l,l.return,se)}}function Sp(i){var l=i.updateQueue;if(l!==null){var s=i.stateNode;try{iu(l,s)}catch(f){qt(i,i.return,f)}}}function cu(i,l,s){s.props=ou(i.type,i.memoizedProps),s.state=i.memoizedState;try{s.componentWillUnmount()}catch(f){qt(i,l,f)}}function vo(i,l){try{var s=i.ref;if(s!==null){switch(i.tag){case 26:case 27:case 5:var f=i.stateNode;break;case 30:f=i.stateNode;break;default:f=i.stateNode}typeof s=="function"?i.refCleanup=s(f):s.current=f}}catch(g){qt(i,l,g)}}function wl(i,l){var s=i.ref,f=i.refCleanup;if(s!==null)if(typeof f=="function")try{f()}catch(g){qt(i,l,g)}finally{i.refCleanup=null,i=i.alternate,i!=null&&(i.refCleanup=null)}else if(typeof s=="function")try{s(null)}catch(g){qt(i,l,g)}else s.current=null}function xv(i){var l=i.type,s=i.memoizedProps,f=i.stateNode;try{e:switch(l){case"button":case"input":case"select":case"textarea":s.autoFocus&&f.focus();break e;case"img":s.src?f.src=s.src:s.srcSet&&(f.srcset=s.srcSet)}}catch(g){qt(i,i.return,g)}}function Tp(i,l,s){try{var f=i.stateNode;Kv(f,i.type,s,l),f[Mi]=l}catch(g){qt(i,i.return,g)}}function _v(i){return i.tag===5||i.tag===3||i.tag===26||i.tag===27&&zl(i.type)||i.tag===4}function zc(i){e:for(;;){for(;i.sibling===null;){if(i.return===null||_v(i.return))return null;i=i.return}for(i.sibling.return=i.return,i=i.sibling;i.tag!==5&&i.tag!==6&&i.tag!==18;){if(i.tag===27&&zl(i.type)||i.flags&2||i.child===null||i.tag===4)continue e;i.child.return=i,i=i.child}if(!(i.flags&2))return i.stateNode}}function Uc(i,l,s){var f=i.tag;if(f===5||f===6)i=i.stateNode,l?(s.nodeType===9?s.body:s.nodeName==="HTML"?s.ownerDocument.body:s).insertBefore(i,l):(l=s.nodeType===9?s.body:s.nodeName==="HTML"?s.ownerDocument.body:s,l.appendChild(i),s=s._reactRootContainer,s!=null||l.onclick!==null||(l.onclick=hl));else if(f!==4&&(f===27&&zl(i.type)&&(s=i.stateNode,l=null),i=i.child,i!==null))for(Uc(i,l,s),i=i.sibling;i!==null;)Uc(i,l,s),i=i.sibling}function Bc(i,l,s){var f=i.tag;if(f===5||f===6)i=i.stateNode,l?s.insertBefore(i,l):s.appendChild(i);else if(f!==4&&(f===27&&zl(i.type)&&(s=i.stateNode),i=i.child,i!==null))for(Bc(i,l,s),i=i.sibling;i!==null;)Bc(i,l,s),i=i.sibling}function Dv(i){var l=i.stateNode,s=i.memoizedProps;try{for(var f=i.type,g=l.attributes;g.length;)l.removeAttributeNode(g[0]);di(l,f,s),l[Gt]=i,l[Mi]=s}catch(v){qt(i,i.return,v)}}var fs=!1,zn=!1,Ep=!1,wv=typeof WeakSet=="function"?WeakSet:Set,ei=null;function Vc(i,l){if(i=i.containerInfo,Gp=qn,i=Qs(i),fd(i)){if("selectionStart"in i)var s={start:i.selectionStart,end:i.selectionEnd};else e:{s=(s=i.ownerDocument)&&s.defaultView||window;var f=s.getSelection&&s.getSelection();if(f&&f.rangeCount!==0){s=f.anchorNode;var g=f.anchorOffset,v=f.focusNode;f=f.focusOffset;try{s.nodeType,v.nodeType}catch{s=null;break e}var D=0,C=-1,N=-1,F=0,se=0,ce=i,W=null;t:for(;;){for(var ae;ce!==s||g!==0&&ce.nodeType!==3||(C=D+g),ce!==v||f!==0&&ce.nodeType!==3||(N=D+f),ce.nodeType===3&&(D+=ce.nodeValue.length),(ae=ce.firstChild)!==null;)W=ce,ce=ae;for(;;){if(ce===i)break t;if(W===s&&++F===g&&(C=D),W===v&&++se===f&&(N=D),(ae=ce.nextSibling)!==null)break;ce=W,W=ce.parentNode}ce=ae}s=C===-1||N===-1?null:{start:C,end:N}}else s=null}s=s||{start:0,end:0}}else s=null;for(kp={focusedElem:i,selectionRange:s},qn=!1,ei=l;ei!==null;)if(l=ei,i=l.child,(l.subtreeFlags&1028)!==0&&i!==null)i.return=l,ei=i;else for(;ei!==null;){switch(l=ei,v=l.alternate,i=l.flags,l.tag){case 0:if((i&4)!==0&&(i=l.updateQueue,i=i!==null?i.events:null,i!==null))for(s=0;s<i.length;s++)g=i[s],g.ref.impl=g.nextImpl;break;case 11:case 15:break;case 1:if((i&1024)!==0&&v!==null){i=void 0,s=l,g=v.memoizedProps,v=v.memoizedState,f=s.stateNode;try{var Me=ou(s.type,g);i=f.getSnapshotBeforeUpdate(Me,v),f.__reactInternalSnapshotBeforeUpdate=i}catch(Ze){qt(s,s.return,Ze)}}break;case 3:if((i&1024)!==0){if(i=l.stateNode.containerInfo,s=i.nodeType,s===9)uh(i);else if(s===1)switch(i.nodeName){case"HEAD":case"HTML":case"BODY":uh(i);break;default:i.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((i&1024)!==0)throw Error(c(163))}if(i=l.sibling,i!==null){i.return=l.return,ei=i;break}ei=l.return}}function Qd(i,l,s){var f=s.flags;switch(s.tag){case 0:case 11:case 15:ds(i,s),f&4&&el(5,s);break;case 1:if(ds(i,s),f&4)if(i=s.stateNode,l===null)try{i.componentDidMount()}catch(D){qt(s,s.return,D)}else{var g=ou(s.type,l.memoizedProps);l=l.memoizedState;try{i.componentDidUpdate(g,l,i.__reactInternalSnapshotBeforeUpdate)}catch(D){qt(s,s.return,D)}}f&64&&Sp(s),f&512&&vo(s,s.return);break;case 3:if(ds(i,s),f&64&&(i=s.updateQueue,i!==null)){if(l=null,s.child!==null)switch(s.child.tag){case 27:case 5:l=s.child.stateNode;break;case 1:l=s.child.stateNode}try{iu(i,l)}catch(D){qt(s,s.return,D)}}break;case 27:l===null&&f&4&&Dv(s);case 26:case 5:ds(i,s),l===null&&f&4&&xv(s),f&512&&vo(s,s.return);break;case 12:ds(i,s);break;case 31:ds(i,s),f&4&&zS(i,s);break;case 13:ds(i,s),f&4&&Mv(i,s),f&64&&(i=s.memoizedState,i!==null&&(i=i.dehydrated,i!==null&&(s=Ua.bind(null,s),Kc(i,s))));break;case 22:if(f=s.memoizedState!==null||fs,!f){l=l!==null&&l.memoizedState!==null||zn,g=fs;var v=zn;fs=f,(zn=l)&&!v?Rl(i,s,(s.subtreeFlags&8772)!==0):ds(i,s),fs=g,zn=v}break;case 30:break;default:ds(i,s)}}function Rv(i){var l=i.alternate;l!==null&&(i.alternate=null,Rv(l)),i.child=null,i.deletions=null,i.sibling=null,i.tag===5&&(l=i.stateNode,l!==null&&vm(l)),i.stateNode=null,i.return=null,i.dependencies=null,i.memoizedProps=null,i.memoizedState=null,i.pendingProps=null,i.stateNode=null,i.updateQueue=null}var Pt=null,qi=!1;function bo(i,l,s){for(s=s.child;s!==null;)Ov(i,l,s),s=s.sibling}function Ov(i,l,s){if(Hn&&typeof Hn.onCommitFiberUnmount=="function")try{Hn.onCommitFiberUnmount(ka,s)}catch{}switch(s.tag){case 26:zn||wl(s,l),bo(i,l,s),s.memoizedState?s.memoizedState.count--:s.stateNode&&(s=s.stateNode,s.parentNode.removeChild(s));break;case 27:zn||wl(s,l);var f=Pt,g=qi;zl(s.type)&&(Pt=s.stateNode,qi=!1),bo(i,l,s),vr(s.stateNode),Pt=f,qi=g;break;case 5:zn||wl(s,l);case 6:if(f=Pt,g=qi,Pt=null,bo(i,l,s),Pt=f,qi=g,Pt!==null)if(qi)try{(Pt.nodeType===9?Pt.body:Pt.nodeName==="HTML"?Pt.ownerDocument.body:Pt).removeChild(s.stateNode)}catch(v){qt(s,l,v)}else try{Pt.removeChild(s.stateNode)}catch(v){qt(s,l,v)}break;case 18:Pt!==null&&(qi?(i=Pt,Iv(i.nodeType===9?i.body:i.nodeName==="HTML"?i.ownerDocument.body:i,s.stateNode),sf(i)):Iv(Pt,s.stateNode));break;case 4:f=Pt,g=qi,Pt=s.stateNode.containerInfo,qi=!0,bo(i,l,s),Pt=f,qi=g;break;case 0:case 11:case 14:case 15:za(2,s,l),zn||za(4,s,l),bo(i,l,s);break;case 1:zn||(wl(s,l),f=s.stateNode,typeof f.componentWillUnmount=="function"&&cu(s,l,f)),bo(i,l,s);break;case 21:bo(i,l,s);break;case 22:zn=(f=zn)||s.memoizedState!==null,bo(i,l,s),zn=f;break;default:bo(i,l,s)}}function zS(i,l){if(l.memoizedState===null&&(i=l.alternate,i!==null&&(i=i.memoizedState,i!==null))){i=i.dehydrated;try{sf(i)}catch(s){qt(l,l.return,s)}}}function Mv(i,l){if(l.memoizedState===null&&(i=l.alternate,i!==null&&(i=i.memoizedState,i!==null&&(i=i.dehydrated,i!==null))))try{sf(i)}catch(s){qt(l,l.return,s)}}function Zd(i){switch(i.tag){case 31:case 13:case 19:var l=i.stateNode;return l===null&&(l=i.stateNode=new wv),l;case 22:return i=i.stateNode,l=i._retryCache,l===null&&(l=i._retryCache=new wv),l;default:throw Error(c(435,i.tag))}}function Jd(i,l){var s=Zd(i);l.forEach(function(f){if(!s.has(f)){s.add(f);var g=IS.bind(null,i,f);f.then(g,g)}})}function Yi(i,l){var s=l.deletions;if(s!==null)for(var f=0;f<s.length;f++){var g=s[f],v=i,D=l,C=D;e:for(;C!==null;){switch(C.tag){case 27:if(zl(C.type)){Pt=C.stateNode,qi=!1;break e}break;case 5:Pt=C.stateNode,qi=!1;break e;case 3:case 4:Pt=C.stateNode.containerInfo,qi=!0;break e}C=C.return}if(Pt===null)throw Error(c(160));Ov(v,D,g),Pt=null,qi=!1,v=g.alternate,v!==null&&(v.return=null),g.return=null}if(l.subtreeFlags&13886)for(l=l.child;l!==null;)Ap(l,i),l=l.sibling}var st=null;function Ap(i,l){var s=i.alternate,f=i.flags;switch(i.tag){case 0:case 11:case 14:case 15:Yi(l,i),aa(i),f&4&&(za(3,i,i.return),el(3,i),za(5,i,i.return));break;case 1:Yi(l,i),aa(i),f&512&&(zn||s===null||wl(s,s.return)),f&64&&fs&&(i=i.updateQueue,i!==null&&(f=i.callbacks,f!==null&&(s=i.shared.hiddenCallbacks,i.shared.hiddenCallbacks=s===null?f:s.concat(f))));break;case 26:var g=st;if(Yi(l,i),aa(i),f&512&&(zn||s===null||wl(s,s.return)),f&4){var v=s!==null?s.memoizedState:null;if(f=i.memoizedState,s===null)if(f===null)if(i.stateNode===null){e:{f=i.type,s=i.memoizedProps,g=g.ownerDocument||g;t:switch(f){case"title":v=g.getElementsByTagName("title")[0],(!v||v[Fl]||v[Gt]||v.namespaceURI==="http://www.w3.org/2000/svg"||v.hasAttribute("itemprop"))&&(v=g.createElement(f),g.head.insertBefore(v,g.querySelector("head > title"))),di(v,f,s),v[Gt]=i,Ht(v),f=v;break e;case"link":var D=i0("link","href",g).get(f+(s.href||""));if(D){for(var C=0;C<D.length;C++)if(v=D[C],v.getAttribute("href")===(s.href==null||s.href===""?null:s.href)&&v.getAttribute("rel")===(s.rel==null?null:s.rel)&&v.getAttribute("title")===(s.title==null?null:s.title)&&v.getAttribute("crossorigin")===(s.crossOrigin==null?null:s.crossOrigin)){D.splice(C,1);break t}}v=g.createElement(f),di(v,f,s),g.head.appendChild(v);break;case"meta":if(D=i0("meta","content",g).get(f+(s.content||""))){for(C=0;C<D.length;C++)if(v=D[C],v.getAttribute("content")===(s.content==null?null:""+s.content)&&v.getAttribute("name")===(s.name==null?null:s.name)&&v.getAttribute("property")===(s.property==null?null:s.property)&&v.getAttribute("http-equiv")===(s.httpEquiv==null?null:s.httpEquiv)&&v.getAttribute("charset")===(s.charSet==null?null:s.charSet)){D.splice(C,1);break t}}v=g.createElement(f),di(v,f,s),g.head.appendChild(v);break;default:throw Error(c(468,f))}v[Gt]=i,Ht(v),f=v}i.stateNode=f}else $p(g,i.type,i.stateNode);else i.stateNode=n0(g,f,i.memoizedProps);else v!==f?(v===null?s.stateNode!==null&&(s=s.stateNode,s.parentNode.removeChild(s)):v.count--,f===null?$p(g,i.type,i.stateNode):n0(g,f,i.memoizedProps)):f===null&&i.stateNode!==null&&Tp(i,i.memoizedProps,s.memoizedProps)}break;case 27:Yi(l,i),aa(i),f&512&&(zn||s===null||wl(s,s.return)),s!==null&&f&4&&Tp(i,i.memoizedProps,s.memoizedProps);break;case 5:if(Yi(l,i),aa(i),f&512&&(zn||s===null||wl(s,s.return)),i.flags&32){g=i.stateNode;try{Il(g,"")}catch(Me){qt(i,i.return,Me)}}f&4&&i.stateNode!=null&&(g=i.memoizedProps,Tp(i,g,s!==null?s.memoizedProps:g)),f&1024&&(Ep=!0);break;case 6:if(Yi(l,i),aa(i),f&4){if(i.stateNode===null)throw Error(c(162));f=i.memoizedProps,s=i.stateNode;try{s.nodeValue=f}catch(Me){qt(i,i.return,Me)}}break;case 3:if(tf=null,g=st,st=Ai(l.containerInfo),Yi(l,i),st=g,aa(i),f&4&&s!==null&&s.memoizedState.isDehydrated)try{sf(l.containerInfo)}catch(Me){qt(i,i.return,Me)}Ep&&(Ep=!1,Cv(i));break;case 4:f=st,st=Ai(i.stateNode.containerInfo),Yi(l,i),aa(i),st=f;break;case 12:Yi(l,i),aa(i);break;case 31:Yi(l,i),aa(i),f&4&&(f=i.updateQueue,f!==null&&(i.updateQueue=null,Jd(i,f)));break;case 13:Yi(l,i),aa(i),i.child.flags&8192&&i.memoizedState!==null!=(s!==null&&s.memoizedState!==null)&&(Cl=Mn()),f&4&&(f=i.updateQueue,f!==null&&(i.updateQueue=null,Jd(i,f)));break;case 22:g=i.memoizedState!==null;var N=s!==null&&s.memoizedState!==null,F=fs,se=zn;if(fs=F||g,zn=se||N,Yi(l,i),zn=se,fs=F,aa(i),f&8192)e:for(l=i.stateNode,l._visibility=g?l._visibility&-2:l._visibility|1,g&&(s===null||N||fs||zn||fr(i)),s=null,l=i;;){if(l.tag===5||l.tag===26){if(s===null){N=s=l;try{if(v=N.stateNode,g)D=v.style,typeof D.setProperty=="function"?D.setProperty("display","none","important"):D.display="none";else{C=N.stateNode;var ce=N.memoizedProps.style,W=ce!=null&&ce.hasOwnProperty("display")?ce.display:null;C.style.display=W==null||typeof W=="boolean"?"":(""+W).trim()}}catch(Me){qt(N,N.return,Me)}}}else if(l.tag===6){if(s===null){N=l;try{N.stateNode.nodeValue=g?"":N.memoizedProps}catch(Me){qt(N,N.return,Me)}}}else if(l.tag===18){if(s===null){N=l;try{var ae=N.stateNode;g?wn(ae,!0):wn(N.stateNode,!1)}catch(Me){qt(N,N.return,Me)}}}else if((l.tag!==22&&l.tag!==23||l.memoizedState===null||l===i)&&l.child!==null){l.child.return=l,l=l.child;continue}if(l===i)break e;for(;l.sibling===null;){if(l.return===null||l.return===i)break e;s===l&&(s=null),l=l.return}s===l&&(s=null),l.sibling.return=l.return,l=l.sibling}f&4&&(f=i.updateQueue,f!==null&&(s=f.retryQueue,s!==null&&(f.retryQueue=null,Jd(i,s))));break;case 19:Yi(l,i),aa(i),f&4&&(f=i.updateQueue,f!==null&&(i.updateQueue=null,Jd(i,f)));break;case 30:break;case 21:break;default:Yi(l,i),aa(i)}}function aa(i){var l=i.flags;if(l&2){try{for(var s,f=i.return;f!==null;){if(_v(f)){s=f;break}f=f.return}if(s==null)throw Error(c(160));switch(s.tag){case 27:var g=s.stateNode,v=zc(i);Bc(i,v,g);break;case 5:var D=s.stateNode;s.flags&32&&(Il(D,""),s.flags&=-33);var C=zc(i);Bc(i,C,D);break;case 3:case 4:var N=s.stateNode.containerInfo,F=zc(i);Uc(i,F,N);break;default:throw Error(c(161))}}catch(se){qt(i,i.return,se)}i.flags&=-3}l&4096&&(i.flags&=-4097)}function Cv(i){if(i.subtreeFlags&1024)for(i=i.child;i!==null;){var l=i;Cv(l),l.tag===5&&l.flags&1024&&l.stateNode.reset(),i=i.sibling}}function ds(i,l){if(l.subtreeFlags&8772)for(l=l.child;l!==null;)Qd(i,l.alternate,l),l=l.sibling}function fr(i){for(i=i.child;i!==null;){var l=i;switch(l.tag){case 0:case 11:case 14:case 15:za(4,l,l.return),fr(l);break;case 1:wl(l,l.return);var s=l.stateNode;typeof s.componentWillUnmount=="function"&&cu(l,l.return,s),fr(l);break;case 27:vr(l.stateNode);case 26:case 5:wl(l,l.return),fr(l);break;case 22:l.memoizedState===null&&fr(l);break;case 30:fr(l);break;default:fr(l)}i=i.sibling}}function Rl(i,l,s){for(s=s&&(l.subtreeFlags&8772)!==0,l=l.child;l!==null;){var f=l.alternate,g=i,v=l,D=v.flags;switch(v.tag){case 0:case 11:case 15:Rl(g,v,s),el(4,v);break;case 1:if(Rl(g,v,s),f=v,g=f.stateNode,typeof g.componentDidMount=="function")try{g.componentDidMount()}catch(F){qt(f,f.return,F)}if(f=v,g=f.updateQueue,g!==null){var C=f.stateNode;try{var N=g.shared.hiddenCallbacks;if(N!==null)for(g.shared.hiddenCallbacks=null,g=0;g<N.length;g++)$m(N[g],C)}catch(F){qt(f,f.return,F)}}s&&D&64&&Sp(v),vo(v,v.return);break;case 27:Dv(v);case 26:case 5:Rl(g,v,s),s&&f===null&&D&4&&xv(v),vo(v,v.return);break;case 12:Rl(g,v,s);break;case 31:Rl(g,v,s),s&&D&4&&zS(g,v);break;case 13:Rl(g,v,s),s&&D&4&&Mv(g,v);break;case 22:v.memoizedState===null&&Rl(g,v,s),vo(v,v.return);break;case 30:break;default:Rl(g,v,s)}l=l.sibling}}function xp(i,l){var s=null;i!==null&&i.memoizedState!==null&&i.memoizedState.cachePool!==null&&(s=i.memoizedState.cachePool.pool),i=null,l.memoizedState!==null&&l.memoizedState.cachePool!==null&&(i=l.memoizedState.cachePool.pool),i!==s&&(i!=null&&i.refCount++,s!=null&&Td(s))}function _p(i,l){i=null,l.alternate!==null&&(i=l.alternate.memoizedState.cache),l=l.memoizedState.cache,l!==i&&(l.refCount++,i!=null&&Td(i))}function tl(i,l,s,f){if(l.subtreeFlags&10256)for(l=l.child;l!==null;)Hc(i,l,s,f),l=l.sibling}function Hc(i,l,s,f){var g=l.flags;switch(l.tag){case 0:case 11:case 15:tl(i,l,s,f),g&2048&&el(9,l);break;case 1:tl(i,l,s,f);break;case 3:tl(i,l,s,f),g&2048&&(i=null,l.alternate!==null&&(i=l.alternate.memoizedState.cache),l=l.memoizedState.cache,l!==i&&(l.refCount++,i!=null&&Td(i)));break;case 12:if(g&2048){tl(i,l,s,f),i=l.stateNode;try{var v=l.memoizedProps,D=v.id,C=v.onPostCommit;typeof C=="function"&&C(D,l.alternate===null?"mount":"update",i.passiveEffectDuration,-0)}catch(N){qt(l,l.return,N)}}else tl(i,l,s,f);break;case 31:tl(i,l,s,f);break;case 13:tl(i,l,s,f);break;case 23:break;case 22:v=l.stateNode,D=l.alternate,l.memoizedState!==null?v._visibility&2?tl(i,l,s,f):$d(i,l):v._visibility&2?tl(i,l,s,f):(v._visibility|=2,Lc(i,l,s,f,(l.subtreeFlags&10256)!==0||!1)),g&2048&&xp(D,l);break;case 24:tl(i,l,s,f),g&2048&&_p(l.alternate,l);break;default:tl(i,l,s,f)}}function Lc(i,l,s,f,g){for(g=g&&((l.subtreeFlags&10256)!==0||!1),l=l.child;l!==null;){var v=i,D=l,C=s,N=f,F=D.flags;switch(D.tag){case 0:case 11:case 15:Lc(v,D,C,N,g),el(8,D);break;case 23:break;case 22:var se=D.stateNode;D.memoizedState!==null?se._visibility&2?Lc(v,D,C,N,g):$d(v,D):(se._visibility|=2,Lc(v,D,C,N,g)),g&&F&2048&&xp(D.alternate,D);break;case 24:Lc(v,D,C,N,g),g&&F&2048&&_p(D.alternate,D);break;default:Lc(v,D,C,N,g)}l=l.sibling}}function $d(i,l){if(l.subtreeFlags&10256)for(l=l.child;l!==null;){var s=i,f=l,g=f.flags;switch(f.tag){case 22:$d(s,f),g&2048&&xp(f.alternate,f);break;case 24:$d(s,f),g&2048&&_p(f.alternate,f);break;default:$d(s,f)}l=l.sibling}}var la=8192;function So(i,l,s){if(i.subtreeFlags&la)for(i=i.child;i!==null;)US(i,l,s),i=i.sibling}function US(i,l,s){switch(i.tag){case 26:So(i,l,s),i.flags&la&&i.memoizedState!==null&&_o(s,st,i.memoizedState,i.memoizedProps);break;case 5:So(i,l,s);break;case 3:case 4:var f=st;st=Ai(i.stateNode.containerInfo),So(i,l,s),st=f;break;case 22:i.memoizedState===null&&(f=i.alternate,f!==null&&f.memoizedState!==null?(f=la,la=16777216,So(i,l,s),la=f):So(i,l,s));break;default:So(i,l,s)}}function Dp(i){var l=i.alternate;if(l!==null&&(i=l.child,i!==null)){l.child=null;do l=i.sibling,i.sibling=null,i=l;while(i!==null)}}function Nc(i){var l=i.deletions;if((i.flags&16)!==0){if(l!==null)for(var s=0;s<l.length;s++){var f=l[s];ei=f,wp(f,i)}Dp(i)}if(i.subtreeFlags&10256)for(i=i.child;i!==null;)zv(i),i=i.sibling}function zv(i){switch(i.tag){case 0:case 11:case 15:Nc(i),i.flags&2048&&za(9,i,i.return);break;case 3:Nc(i);break;case 12:Nc(i);break;case 22:var l=i.stateNode;i.memoizedState!==null&&l._visibility&2&&(i.return===null||i.return.tag!==13)?(l._visibility&=-3,Kd(i)):Nc(i);break;default:Nc(i)}}function Kd(i){var l=i.deletions;if((i.flags&16)!==0){if(l!==null)for(var s=0;s<l.length;s++){var f=l[s];ei=f,wp(f,i)}Dp(i)}for(i=i.child;i!==null;){switch(l=i,l.tag){case 0:case 11:case 15:za(8,l,l.return),Kd(l);break;case 22:s=l.stateNode,s._visibility&2&&(s._visibility&=-3,Kd(l));break;default:Kd(l)}i=i.sibling}}function wp(i,l){for(;ei!==null;){var s=ei;switch(s.tag){case 0:case 11:case 15:za(8,s,l);break;case 23:case 22:if(s.memoizedState!==null&&s.memoizedState.cachePool!==null){var f=s.memoizedState.cachePool.pool;f!=null&&f.refCount++}break;case 24:Td(s.memoizedState.cache)}if(f=s.child,f!==null)f.return=s,ei=f;else e:for(s=i;ei!==null;){f=ei;var g=f.sibling,v=f.return;if(Rv(f),f===s){ei=null;break e}if(g!==null){g.return=v,ei=g;break e}ei=v}}}var BS={getCacheForType:function(i){var l=fe(xn),s=l.data.get(i);return s===void 0&&(s=i(),l.data.set(i,s)),s},cacheSignal:function(){return fe(xn).controller.signal}},Uv=typeof WeakMap=="function"?WeakMap:Map,Ot=0,Xt=null,bt=null,pt=0,jt=0,Ke=null,To=!1,fu=!1,Rp=!1,Ol=0,Ft=0,Ml=0,dr=0,Op=0,Gi=0,hn=0,Pd=null,mn=null,Mp=!1,Cl=0,Bv=0,zt=1/0,jc=null,on=null,jn=0,hs=null,du=null,Eo=0,oa=0,Cp=null,zp=null,qc=0,Fd=null;function sa(){return(Ot&2)!==0&&pt!==0?pt&-pt:Y.T!==null?Lp():ym()}function VS(){if(Gi===0)if((pt&536870912)===0||vt){var i=Se;Se<<=1,(Se&3932160)===0&&(Se=262144),Gi=i}else Gi=536870912;return i=Hi.current,i!==null&&(i.flags|=32),Gi}function ki(i,l,s){(i===Xt&&(jt===2||jt===9)||i.cancelPendingCommit!==null)&&(Ao(i,0),ms(i,pt,Gi,!1)),Ls(i,s),((Ot&2)===0||i!==Xt)&&(i===Xt&&((Ot&2)===0&&(dr|=s),Ft===4&&ms(i,pt,Gi,!1)),xo(i))}function HS(i,l,s){if((Ot&6)!==0)throw Error(c(327));var f=!s&&(l&127)===0&&(l&i.expiredLanes)===0||mt(i,l),g=f?YS(i,l):Bp(i,l,!0),v=f;do{if(g===0){fu&&!f&&ms(i,l,0,!1);break}else{if(s=i.current.alternate,v&&!LS(s)){g=Bp(i,l,!1),v=!1;continue}if(g===2){if(v=l,i.errorRecoveryDisabledLanes&v)var D=0;else D=i.pendingLanes&-536870913,D=D!==0?D:D&536870912?536870912:0;if(D!==0){l=D;e:{var C=i;g=Pd;var N=C.current.memoizedState.isDehydrated;if(N&&(Ao(C,D).flags|=256),D=Bp(C,D,!1),D!==2){if(Rp&&!N){C.errorRecoveryDisabledLanes|=v,dr|=v,g=4;break e}v=mn,mn=g,v!==null&&(mn===null?mn=v:mn.push.apply(mn,v))}g=D}if(v=!1,g!==2)continue}}if(g===1){Ao(i,0),ms(i,l,0,!0);break}e:{switch(f=i,v=g,v){case 0:case 1:throw Error(c(345));case 4:if((l&4194048)!==l)break;case 6:ms(f,l,Gi,!To);break e;case 2:mn=null;break;case 3:case 5:break;default:throw Error(c(329))}if((l&62914560)===l&&(g=Cl+300-Mn(),10<g)){if(ms(f,l,Gi,!To),Ve(f,0,!0)!==0)break e;Eo=l,f.timeoutHandle=sh(Wd.bind(null,f,s,mn,jc,Mp,l,Gi,dr,hn,To,v,"Throttled",-0,0),g);break e}Wd(f,s,mn,jc,Mp,l,Gi,dr,hn,To,v,null,-0,0)}}break}while(!0);xo(i)}function Wd(i,l,s,f,g,v,D,C,N,F,se,ce,W,ae){if(i.timeoutHandle=-1,ce=l.subtreeFlags,ce&8192||(ce&16785408)===16785408){ce={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:hl},US(l,v,ce);var Me=(v&62914560)===v?Cl-Mn():(v&4194048)===v?Bv-Mn():0;if(Me=l0(ce,Me),Me!==null){Eo=v,i.cancelPendingCommit=Me(QS.bind(null,i,l,v,s,f,g,D,C,N,se,ce,null,W,ae)),ms(i,v,D,!F);return}}QS(i,l,v,s,f,g,D,C,N)}function LS(i){for(var l=i;;){var s=l.tag;if((s===0||s===11||s===15)&&l.flags&16384&&(s=l.updateQueue,s!==null&&(s=s.stores,s!==null)))for(var f=0;f<s.length;f++){var g=s[f],v=g.getSnapshot;g=g.value;try{if(!Ti(v(),g))return!1}catch{return!1}}if(s=l.child,l.subtreeFlags&16384&&s!==null)s.return=l,l=s;else{if(l===i)break;for(;l.sibling===null;){if(l.return===null||l.return===i)return!0;l=l.return}l.sibling.return=l.return,l=l.sibling}}return!0}function ms(i,l,s,f){l&=~Op,l&=~dr,i.suspendedLanes|=l,i.pingedLanes&=~l,f&&(i.warmLanes|=l),f=i.expirationTimes;for(var g=l;0<g;){var v=31-Jn(g),D=1<<v;f[v]=-1,g&=~D}s!==0&&ed(i,s,l)}function Yc(){return(Ot&6)===0?(ys(0),!1):!0}function Vv(){if(bt!==null){if(jt===0)var i=bt.return;else i=bt,El=is=null,Cd(i),Is=null,er=0,i=bt;for(;i!==null;)CS(i.alternate,i),i=i.return;bt=null}}function Ao(i,l){var s=i.timeoutHandle;s!==-1&&(i.timeoutHandle=-1,s1(s)),s=i.cancelPendingCommit,s!==null&&(i.cancelPendingCommit=null,s()),Eo=0,Vv(),Xt=i,bt=s=ts(i.current,null),pt=l,jt=0,Ke=null,To=!1,fu=mt(i,l),Rp=!1,hn=Gi=Op=dr=Ml=Ft=0,mn=Pd=null,Mp=!1,(l&8)!==0&&(l|=l&32);var f=i.entangledLanes;if(f!==0)for(i=i.entanglements,f&=l;0<f;){var g=31-Jn(f),v=1<<g;l|=i[g],f&=~v}return Ol=l,Ta(),s}function Gc(i,l){at=null,Y.H=jd,l===Ps||l===bc?(l=Xg(),jt=3):l===Wu?(l=Xg(),jt=4):jt=l===pp?8:l!==null&&typeof l=="object"&&typeof l.then=="function"?6:1,Ke=l,bt===null&&(Ft=1,Mc(i,Aa(l,i.current)))}function NS(){var i=Hi.current;return i===null?!0:(pt&4194048)===pt?Ra===null:(pt&62914560)===pt||(pt&536870912)!==0?i===Ra:!1}function jS(){var i=Y.H;return Y.H=jd,i===null?jd:i}function qS(){var i=Y.A;return Y.A=BS,i}function Up(){Ft=4,To||(pt&4194048)!==pt&&Hi.current!==null||(fu=!0),(Ml&134217727)===0&&(dr&134217727)===0||Xt===null||ms(Xt,pt,Gi,!1)}function Bp(i,l,s){var f=Ot;Ot|=2;var g=jS(),v=qS();(Xt!==i||pt!==l)&&(jc=null,Ao(i,l)),l=!1;var D=Ft;e:do try{if(jt!==0&&bt!==null){var C=bt,N=Ke;switch(jt){case 8:Vv(),D=6;break e;case 3:case 2:case 9:case 6:Hi.current===null&&(l=!0);var F=jt;if(jt=0,Ke=null,hr(i,C,N,F),s&&fu){D=0;break e}break;default:F=jt,jt=0,Ke=null,hr(i,C,N,F)}}CA(),D=Ft;break}catch(se){Gc(i,se)}while(!0);return l&&i.shellSuspendCounter++,El=is=null,Ot=f,Y.H=g,Y.A=v,bt===null&&(Xt=null,pt=0,Ta()),D}function CA(){for(;bt!==null;)GS(bt)}function YS(i,l){var s=Ot;Ot|=2;var f=jS(),g=qS();Xt!==i||pt!==l?(jc=null,zt=Mn()+500,Ao(i,l)):fu=mt(i,l);e:do try{if(jt!==0&&bt!==null){l=bt;var v=Ke;t:switch(jt){case 1:jt=0,Ke=null,hr(i,l,v,1);break;case 2:case 9:if(Gg(v)){jt=0,Ke=null,kS(l);break}l=function(){jt!==2&&jt!==9||Xt!==i||(jt=7),xo(i)},v.then(l,l);break e;case 3:jt=7;break e;case 4:jt=5;break e;case 7:Gg(v)?(jt=0,Ke=null,kS(l)):(jt=0,Ke=null,hr(i,l,v,7));break;case 5:var D=null;switch(bt.tag){case 26:D=bt.memoizedState;case 5:case 27:var C=bt;if(D?ra(D):C.stateNode.complete){jt=0,Ke=null;var N=C.sibling;if(N!==null)bt=N;else{var F=C.return;F!==null?(bt=F,Id(F)):bt=null}break t}}jt=0,Ke=null,hr(i,l,v,5);break;case 6:jt=0,Ke=null,hr(i,l,v,6);break;case 8:Vv(),Ft=6;break e;default:throw Error(c(462))}}hu();break}catch(se){Gc(i,se)}while(!0);return El=is=null,Y.H=f,Y.A=g,Ot=s,bt!==null?0:(Xt=null,pt=0,Ta(),Ft)}function hu(){for(;bt!==null&&!Kl();)GS(bt)}function GS(i){var l=Tv(i.alternate,i,Ol);i.memoizedProps=i.pendingProps,l===null?Id(i):bt=l}function kS(i){var l=i,s=l.alternate;switch(l.tag){case 15:case 0:l=uu(s,l,l.pendingProps,l.type,void 0,pt);break;case 11:l=uu(s,l,l.pendingProps,l.type.render,l.ref,pt);break;case 5:Cd(l);default:CS(s,l),l=bt=Vg(l,Ol),l=Tv(s,l,Ol)}i.memoizedProps=i.pendingProps,l===null?Id(i):bt=l}function hr(i,l,s,f){El=is=null,Cd(l),Is=null,er=0;var g=l.return;try{if(MA(i,g,l,s,pt)){Ft=1,Mc(i,Aa(s,i.current)),bt=null;return}}catch(v){if(g!==null)throw bt=g,v;Ft=1,Mc(i,Aa(s,i.current)),bt=null;return}l.flags&32768?(vt||f===1?i=!0:fu||(pt&536870912)!==0?i=!1:(To=i=!0,(f===2||f===9||f===3||f===6)&&(f=Hi.current,f!==null&&f.tag===13&&(f.flags|=16384))),XS(l,i)):Id(l)}function Id(i){var l=i;do{if((l.flags&32768)!==0){XS(l,To);return}i=l.return;var s=OS(l.alternate,l,Ol);if(s!==null){bt=s;return}if(l=l.sibling,l!==null){bt=l;return}bt=l=i}while(l!==null);Ft===0&&(Ft=5)}function XS(i,l){do{var s=MS(i.alternate,i);if(s!==null){s.flags&=32767,bt=s;return}if(s=i.return,s!==null&&(s.flags|=32768,s.subtreeFlags=0,s.deletions=null),!l&&(i=i.sibling,i!==null)){bt=i;return}bt=i=s}while(i!==null);Ft=6,bt=null}function QS(i,l,s,f,g,v,D,C,N){i.cancelPendingCommit=null;do kc();while(jn!==0);if((Ot&6)!==0)throw Error(c(327));if(l!==null){if(l===i.current)throw Error(c(177));if(v=l.lanes|l.childLanes,v|=Ka,Ir(i,s,v,D,C,N),i===Xt&&(bt=Xt=null,pt=0),du=l,hs=i,Eo=s,oa=v,Cp=g,zp=f,(l.subtreeFlags&10256)!==0||(l.flags&10256)!==0?(i.callbackNode=null,i.callbackPriority=0,e1(fl,function(){return PS(),null})):(i.callbackNode=null,i.callbackPriority=0),f=(l.flags&13878)!==0,(l.subtreeFlags&13878)!==0||f){f=Y.T,Y.T=null,g=ne.p,ne.p=2,D=Ot,Ot|=4;try{Vc(i,l,s)}finally{Ot=D,ne.p=g,Y.T=f}}jn=1,ZS(),JS(),$S()}}function ZS(){if(jn===1){jn=0;var i=hs,l=du,s=(l.flags&13878)!==0;if((l.subtreeFlags&13878)!==0||s){s=Y.T,Y.T=null;var f=ne.p;ne.p=2;var g=Ot;Ot|=4;try{Ap(l,i);var v=kp,D=Qs(i.containerInfo),C=v.focusedElem,N=v.selectionRange;if(D!==C&&C&&C.ownerDocument&&Xu(C.ownerDocument.documentElement,C)){if(N!==null&&fd(C)){var F=N.start,se=N.end;if(se===void 0&&(se=F),"selectionStart"in C)C.selectionStart=F,C.selectionEnd=Math.min(se,C.value.length);else{var ce=C.ownerDocument||document,W=ce&&ce.defaultView||window;if(W.getSelection){var ae=W.getSelection(),Me=C.textContent.length,Ze=Math.min(N.start,Me),Zt=N.end===void 0?Ze:Math.min(N.end,Me);!ae.extend&&Ze>Zt&&(D=Zt,Zt=Ze,Ze=D);var J=Ug(C,Ze),G=Ug(C,Zt);if(J&&G&&(ae.rangeCount!==1||ae.anchorNode!==J.node||ae.anchorOffset!==J.offset||ae.focusNode!==G.node||ae.focusOffset!==G.offset)){var K=ce.createRange();K.setStart(J.node,J.offset),ae.removeAllRanges(),Ze>Zt?(ae.addRange(K),ae.extend(G.node,G.offset)):(K.setEnd(G.node,G.offset),ae.addRange(K))}}}}for(ce=[],ae=C;ae=ae.parentNode;)ae.nodeType===1&&ce.push({element:ae,left:ae.scrollLeft,top:ae.scrollTop});for(typeof C.focus=="function"&&C.focus(),C=0;C<ce.length;C++){var re=ce[C];re.element.scrollLeft=re.left,re.element.scrollTop=re.top}}qn=!!Gp,kp=Gp=null}finally{Ot=g,ne.p=f,Y.T=s}}i.current=l,jn=2}}function JS(){if(jn===2){jn=0;var i=hs,l=du,s=(l.flags&8772)!==0;if((l.subtreeFlags&8772)!==0||s){s=Y.T,Y.T=null;var f=ne.p;ne.p=2;var g=Ot;Ot|=4;try{Qd(i,l.alternate,l)}finally{Ot=g,ne.p=f,Y.T=s}}jn=3}}function $S(){if(jn===4||jn===3){jn=0,Ou();var i=hs,l=du,s=Eo,f=zp;(l.subtreeFlags&10256)!==0||(l.flags&10256)!==0?jn=5:(jn=0,du=hs=null,KS(i,i.pendingLanes));var g=i.pendingLanes;if(g===0&&(on=null),sg(s),l=l.stateNode,Hn&&typeof Hn.onCommitFiberRoot=="function")try{Hn.onCommitFiberRoot(ka,l,void 0,(l.current.flags&128)===128)}catch{}if(f!==null){l=Y.T,g=ne.p,ne.p=2,Y.T=null;try{for(var v=i.onRecoverableError,D=0;D<f.length;D++){var C=f[D];v(C.value,{componentStack:C.stack})}}finally{Y.T=l,ne.p=g}}(Eo&3)!==0&&kc(),xo(i),g=i.pendingLanes,(s&261930)!==0&&(g&42)!==0?i===Fd?qc++:(qc=0,Fd=i):qc=0,ys(0)}}function KS(i,l){(i.pooledCacheLanes&=l)===0&&(l=i.pooledCache,l!=null&&(i.pooledCache=null,Td(l)))}function kc(){return ZS(),JS(),$S(),PS()}function PS(){if(jn!==5)return!1;var i=hs,l=oa;oa=0;var s=sg(Eo),f=Y.T,g=ne.p;try{ne.p=32>s?32:s,Y.T=null,s=Cp,Cp=null;var v=hs,D=Eo;if(jn=0,du=hs=null,Eo=0,(Ot&6)!==0)throw Error(c(331));var C=Ot;if(Ot|=4,zv(v.current),Hc(v,v.current,D,s),Ot=C,ys(0,!1),Hn&&typeof Hn.onPostCommitFiberRoot=="function")try{Hn.onPostCommitFiberRoot(ka,v)}catch{}return!0}finally{ne.p=g,Y.T=f,KS(i,l)}}function FS(i,l,s){l=Aa(s,l),l=dv(i.stateNode,l,2),i=wa(i,l,2),i!==null&&(Ls(i,2),xo(i))}function qt(i,l,s){if(i.tag===3)FS(i,i,s);else for(;l!==null;){if(l.tag===3){FS(l,i,s);break}else if(l.tag===1){var f=l.stateNode;if(typeof l.type.getDerivedStateFromError=="function"||typeof f.componentDidCatch=="function"&&(on===null||!on.has(f))){i=Aa(s,i),s=hv(2),f=wa(l,s,2),f!==null&&(mv(s,f,l,i),Ls(f,2),xo(f));break}}l=l.return}}function eh(i,l,s){var f=i.pingCache;if(f===null){f=i.pingCache=new Uv;var g=new Set;f.set(l,g)}else g=f.get(l),g===void 0&&(g=new Set,f.set(l,g));g.has(s)||(Rp=!0,g.add(s),i=Hv.bind(null,i,l,s),l.then(i,i))}function Hv(i,l,s){var f=i.pingCache;f!==null&&f.delete(l),i.pingedLanes|=i.suspendedLanes&s,i.warmLanes&=~s,Xt===i&&(pt&s)===s&&(Ft===4||Ft===3&&(pt&62914560)===pt&&300>Mn()-Cl?(Ot&2)===0&&Ao(i,0):Op|=s,hn===pt&&(hn=0)),xo(i)}function WS(i,l){l===0&&(l=bi()),i=es(i,l),i!==null&&(Ls(i,l),xo(i))}function Ua(i){var l=i.memoizedState,s=0;l!==null&&(s=l.retryLane),WS(i,s)}function IS(i,l){var s=0;switch(i.tag){case 31:case 13:var f=i.stateNode,g=i.memoizedState;g!==null&&(s=g.retryLane);break;case 19:f=i.stateNode;break;case 22:f=i.stateNode._retryCache;break;default:throw Error(c(314))}f!==null&&f.delete(l),WS(i,s)}function e1(i,l){return ze(i,l)}var Xc=null,mr=null,Lv=!1,Vp=!1,Nv=!1,ps=0;function xo(i){i!==mr&&i.next===null&&(mr===null?Xc=mr=i:mr=mr.next=i),Vp=!0,Lv||(Lv=!0,nh())}function ys(i,l){if(!Nv&&Vp){Nv=!0;do for(var s=!1,f=Xc;f!==null;){if(i!==0){var g=f.pendingLanes;if(g===0)var v=0;else{var D=f.suspendedLanes,C=f.pingedLanes;v=(1<<31-Jn(42|i)+1)-1,v&=g&~(D&~C),v=v&201326741?v&201326741|1:v?v|2:0}v!==0&&(s=!0,pr(f,v))}else v=pt,v=Ve(f,f===Xt?v:0,f.cancelPendingCommit!==null||f.timeoutHandle!==-1),(v&3)===0||mt(f,v)||(s=!0,pr(f,v));f=f.next}while(s);Nv=!1}}function Hp(){jv()}function jv(){Vp=Lv=!1;var i=0;ps!==0&&zA()&&(i=ps);for(var l=Mn(),s=null,f=Xc;f!==null;){var g=f.next,v=qv(f,l);v===0?(f.next=null,s===null?Xc=g:s.next=g,g===null&&(mr=s)):(s=f,(i!==0||(v&3)!==0)&&(Vp=!0)),f=g}jn!==0&&jn!==5||ys(i),ps!==0&&(ps=0)}function qv(i,l){for(var s=i.suspendedLanes,f=i.pingedLanes,g=i.expirationTimes,v=i.pendingLanes&-62914561;0<v;){var D=31-Jn(v),C=1<<D,N=g[D];N===-1?((C&s)===0||(C&f)!==0)&&(g[D]=nt(C,l)):N<=l&&(i.expiredLanes|=C),v&=~C}if(l=Xt,s=pt,s=Ve(i,i===l?s:0,i.cancelPendingCommit!==null||i.timeoutHandle!==-1),f=i.callbackNode,s===0||i===l&&(jt===2||jt===9)||i.cancelPendingCommit!==null)return f!==null&&f!==null&&Vs(f),i.callbackNode=null,i.callbackPriority=0;if((s&3)===0||mt(i,s)){if(l=s&-s,l===i.callbackPriority)return l;switch(f!==null&&Vs(f),sg(s)){case 2:case 8:s=Fr;break;case 32:s=fl;break;case 268435456:s=Wr;break;default:s=fl}return f=th.bind(null,i),s=ze(s,f),i.callbackPriority=l,i.callbackNode=s,l}return f!==null&&f!==null&&Vs(f),i.callbackPriority=2,i.callbackNode=null,2}function th(i,l){if(jn!==0&&jn!==5)return i.callbackNode=null,i.callbackPriority=0,null;var s=i.callbackNode;if(kc()&&i.callbackNode!==s)return null;var f=pt;return f=Ve(i,i===Xt?f:0,i.cancelPendingCommit!==null||i.timeoutHandle!==-1),f===0?null:(HS(i,f,l),qv(i,Mn()),i.callbackNode!=null&&i.callbackNode===s?th.bind(null,i):null)}function pr(i,l){if(kc())return null;HS(i,l,!0)}function nh(){u1(function(){(Ot&6)!==0?ze(Pr,Hp):jv()})}function Lp(){if(ps===0){var i=Ks;i===0&&(i=ge,ge<<=1,(ge&261888)===0&&(ge=256)),ps=i}return ps}function t1(i){return i==null||typeof i=="symbol"||typeof i=="boolean"?null:typeof i=="function"?i:Qa(""+i)}function yr(i,l){var s=l.ownerDocument.createElement("input");return s.name=l.name,s.value=l.value,i.id&&s.setAttribute("form",i.id),l.parentNode.insertBefore(s,l),i=new FormData(i),s.parentNode.removeChild(s),i}function ih(i,l,s,f,g){if(l==="submit"&&s&&s.stateNode===g){var v=t1((g[Mi]||null).action),D=f.submitter;D&&(l=(l=D[Mi]||null)?t1(l.formAction):D.getAttribute("formAction"),l!==null&&(v=l,D=null));var C=new ud("action","action",null,f,g);i.push({event:C,listeners:[{instance:null,listener:function(){if(f.defaultPrevented){if(ps!==0){var N=D?yr(g,D):new FormData(g);Rc(s,{pending:!0,data:N,method:g.method,action:v},null,N)}}else typeof v=="function"&&(C.preventDefault(),N=D?yr(g,D):new FormData(g),Rc(s,{pending:!0,data:N,method:g.method,action:v},v,N))},currentTarget:g}]})}}for(var Np=0;Np<hc.length;Np++){var Qc=hc[Np],Yv=Qc.toLowerCase(),Gv=Qc[0].toUpperCase()+Qc.slice(1);zi(Yv,"on"+Gv)}zi(hd,"onAnimationEnd"),zi(Bg,"onAnimationIteration"),zi(Nm,"onAnimationStart"),zi("dblclick","onDoubleClick"),zi("focusin","onFocus"),zi("focusout","onBlur"),zi(Qu,"onTransitionRun"),zi(md,"onTransitionStart"),zi(io,"onTransitionCancel"),zi(dS,"onTransitionEnd"),Wl("onMouseEnter",["mouseout","mouseover"]),Wl("onMouseLeave",["mouseout","mouseover"]),Wl("onPointerEnter",["pointerout","pointerover"]),Wl("onPointerLeave",["pointerout","pointerover"]),qs("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),qs("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),qs("onBeforeInput",["compositionend","keypress","textInput","paste"]),qs("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),qs("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),qs("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Zc="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(" "),n1=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Zc));function i1(i,l){l=(l&4)!==0;for(var s=0;s<i.length;s++){var f=i[s],g=f.event;f=f.listeners;e:{var v=void 0;if(l)for(var D=f.length-1;0<=D;D--){var C=f[D],N=C.instance,F=C.currentTarget;if(C=C.listener,N!==v&&g.isPropagationStopped())break e;v=C,g.currentTarget=F;try{v(g)}catch(se){Zu(se)}g.currentTarget=null,v=N}else for(D=0;D<f.length;D++){if(C=f[D],N=C.instance,F=C.currentTarget,C=C.listener,N!==v&&g.isPropagationStopped())break e;v=C,g.currentTarget=F;try{v(g)}catch(se){Zu(se)}g.currentTarget=null,v=N}}}}function gt(i,l){var s=l[gm];s===void 0&&(s=l[gm]=new Set);var f=i+"__bubble";s.has(f)||(ah(l,i,2,!1),s.add(f))}function kv(i,l,s){var f=0;l&&(f|=4),ah(s,i,f,l)}var jp="_reactListening"+Math.random().toString(36).slice(2);function Jc(i){if(!i[jp]){i[jp]=!0,Bu.forEach(function(s){s!=="selectionchange"&&(n1.has(s)||kv(s,!1,i),kv(s,!0,i))});var l=i.nodeType===9?i:i.ownerDocument;l===null||l[jp]||(l[jp]=!0,kv("selectionchange",!1,l))}}function ah(i,l,s,f){switch(hh(l)){case 2:var g=Do;break;case 8:g=wo;break;default:g=hi}s=g.bind(null,l,s,i),g=void 0,!od||l!=="touchstart"&&l!=="touchmove"&&l!=="wheel"||(g=!0),f?g!==void 0?i.addEventListener(l,s,{capture:!0,passive:g}):i.addEventListener(l,s,!0):g!==void 0?i.addEventListener(l,s,{passive:g}):i.addEventListener(l,s,!1)}function Xv(i,l,s,f,g){var v=f;if((l&1)===0&&(l&2)===0&&f!==null)e:for(;;){if(f===null)return;var D=f.tag;if(D===3||D===4){var C=f.stateNode.containerInfo;if(C===g)break;if(D===4)for(D=f.return;D!==null;){var N=D.tag;if((N===3||N===4)&&D.stateNode.containerInfo===g)return;D=D.return}for(;C!==null;){if(D=Cu(C),D===null)return;if(N=D.tag,N===5||N===6||N===26||N===27){f=v=D;continue e}C=C.parentNode}}f=f.return}yg(function(){var F=v,se=_m(s),ce=[];e:{var W=ao.get(i);if(W!==void 0){var ae=ud,Me=i;switch(i){case"keypress":if(wm(s)===0)break e;case"keydown":case"keyup":ae=Cm;break;case"focusin":Me="focus",ae=Om;break;case"focusout":Me="blur",ae=Om;break;case"beforeblur":case"afterblur":ae=Om;break;case"click":if(s.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":ae=uc;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":ae=eS;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":ae=lS;break;case hd:case Bg:case Nm:ae=nS;break;case dS:ae=DA;break;case"scroll":case"scrollend":ae=xA;break;case"wheel":ae=wA;break;case"copy":case"cut":case"paste":ae=Nu;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":ae=yl;break;case"toggle":case"beforetoggle":ae=_g}var Ze=(l&4)!==0,Zt=!Ze&&(i==="scroll"||i==="scrollend"),J=Ze?W!==null?W+"Capture":null:W;Ze=[];for(var G=F,K;G!==null;){var re=G;if(K=re.stateNode,re=re.tag,re!==5&&re!==26&&re!==27||K===null||J===null||(re=$n(G,J),re!=null&&Ze.push(lh(G,re,K))),Zt)break;G=G.return}0<Ze.length&&(W=new ae(W,Me,null,s,se),ce.push({event:W,listeners:Ze}))}}if((l&7)===0){e:{if(W=i==="mouseover"||i==="pointerover",ae=i==="mouseout"||i==="pointerout",W&&s!==xm&&(Me=s.relatedTarget||s.fromElement)&&(Cu(Me)||Me[Ns]))break e;if((ae||W)&&(W=se.window===se?se:(W=se.ownerDocument)?W.defaultView||W.parentWindow:window,ae?(Me=s.relatedTarget||s.toElement,ae=F,Me=Me?Cu(Me):null,Me!==null&&(Zt=p(Me),Ze=Me.tag,Me!==Zt||Ze!==5&&Ze!==27&&Ze!==6)&&(Me=null)):(ae=null,Me=F),ae!==Me)){if(Ze=uc,re="onMouseLeave",J="onMouseEnter",G="mouse",(i==="pointerout"||i==="pointerover")&&(Ze=yl,re="onPointerLeave",J="onPointerEnter",G="pointer"),Zt=ae==null?W:ec(ae),K=Me==null?W:ec(Me),W=new Ze(re,G+"leave",ae,s,se),W.target=Zt,W.relatedTarget=K,re=null,Cu(se)===F&&(Ze=new Ze(J,G+"enter",Me,s,se),Ze.target=K,Ze.relatedTarget=Zt,re=Ze),Zt=re,ae&&Me)t:{for(Ze=a1,J=ae,G=Me,K=0,re=J;re;re=Ze(re))K++;re=0;for(var qe=G;qe;qe=Ze(qe))re++;for(;0<K-re;)J=Ze(J),K--;for(;0<re-K;)G=Ze(G),re--;for(;K--;){if(J===G||G!==null&&J===G.alternate){Ze=J;break t}J=Ze(J),G=Ze(G)}Ze=null}else Ze=null;ae!==null&&qp(ce,W,ae,Ze,!1),Me!==null&&Zt!==null&&qp(ce,Zt,Me,Ze,!0)}}e:{if(W=F?ec(F):window,ae=W.nodeName&&W.nodeName.toLowerCase(),ae==="select"||ae==="input"&&W.type==="file")var _t=Mg;else if(no(W))if(Bm)_t=ku;else{_t=cS;var He=rS}else ae=W.nodeName,!ae||ae.toLowerCase()!=="input"||W.type!=="checkbox"&&W.type!=="radio"?F&&pg(F.elementType)&&(_t=Mg):_t=Xs;if(_t&&(_t=_t(i,F))){Og(ce,_t,s,se);break e}He&&He(i,W,F),i==="focusout"&&F&&W.type==="number"&&F.memoizedProps.value!=null&&Vu(W,"number",W.value)}switch(He=F?ec(F):window,i){case"focusin":(no(He)||He.contentEditable==="true")&&(Zs=He,fc=F,$a=null);break;case"focusout":$a=fc=Zs=null;break;case"mousedown":vl=!0;break;case"contextmenu":case"mouseup":case"dragend":vl=!1,Lm(ce,s,se);break;case"selectionchange":if(dd)break;case"keydown":case"keyup":Lm(ce,s,se)}var it;if(rc)e:{switch(i){case"compositionstart":var ut="onCompositionStart";break e;case"compositionend":ut="onCompositionEnd";break e;case"compositionupdate":ut="onCompositionUpdate";break e}ut=void 0}else qu?Um(i,s)&&(ut="onCompositionEnd"):i==="keydown"&&s.keyCode===229&&(ut="onCompositionStart");ut&&(Dg&&s.locale!=="ko"&&(qu||ut!=="onCompositionStart"?ut==="onCompositionEnd"&&qu&&(it=vg()):(Wo=se,gg="value"in Wo?Wo.value:Wo.textContent,qu=!0)),He=oh(F,ut),0<He.length&&(ut=new iS(ut,i,null,s,se),ce.push({event:ut,listeners:He}),it?ut.data=it:(it=wg(s),it!==null&&(ut.data=it)))),(it=Si?uS(i,s):RA(i,s))&&(ut=oh(F,"onBeforeInput"),0<ut.length&&(He=new iS("onBeforeInput","beforeinput",null,s,se),ce.push({event:He,listeners:ut}),He.data=it)),ih(ce,i,F,s,se)}i1(ce,l)})}function lh(i,l,s){return{instance:i,listener:l,currentTarget:s}}function oh(i,l){for(var s=l+"Capture",f=[];i!==null;){var g=i,v=g.stateNode;if(g=g.tag,g!==5&&g!==26&&g!==27||v===null||(g=$n(i,s),g!=null&&f.unshift(lh(i,g,v)),g=$n(i,l),g!=null&&f.push(lh(i,g,v))),i.tag===3)return f;i=i.return}return[]}function a1(i){if(i===null)return null;do i=i.return;while(i&&i.tag!==5&&i.tag!==27);return i||null}function qp(i,l,s,f,g){for(var v=l._reactName,D=[];s!==null&&s!==f;){var C=s,N=C.alternate,F=C.stateNode;if(C=C.tag,N!==null&&N===f)break;C!==5&&C!==26&&C!==27||F===null||(N=F,g?(F=$n(s,v),F!=null&&D.unshift(lh(s,F,N))):g||(F=$n(s,v),F!=null&&D.push(lh(s,F,N)))),s=s.return}D.length!==0&&i.push({event:l,listeners:D})}var l1=/\r\n?/g,Qv=/\u0000|\uFFFD/g;function Zv(i){return(typeof i=="string"?i:""+i).replace(l1,`
25
- `).replace(Qv,"")}function Jv(i,l){return l=Zv(l),Zv(i)===l}function Qt(i,l,s,f,g,v){switch(s){case"children":typeof f=="string"?l==="body"||l==="textarea"&&f===""||Il(i,f):(typeof f=="number"||typeof f=="bigint")&&l!=="body"&&Il(i,""+f);break;case"className":Tm(i,"class",f);break;case"tabIndex":Tm(i,"tabindex",f);break;case"dir":case"role":case"viewBox":case"width":case"height":Tm(i,s,f);break;case"style":Fb(i,f,v);break;case"data":if(l!=="object"){Tm(i,"data",f);break}case"src":case"href":if(f===""&&(l!=="a"||s!=="href")){i.removeAttribute(s);break}if(f==null||typeof f=="function"||typeof f=="symbol"||typeof f=="boolean"){i.removeAttribute(s);break}f=Qa(""+f),i.setAttribute(s,f);break;case"action":case"formAction":if(typeof f=="function"){i.setAttribute(s,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof v=="function"&&(s==="formAction"?(l!=="input"&&Qt(i,l,"name",g.name,g,null),Qt(i,l,"formEncType",g.formEncType,g,null),Qt(i,l,"formMethod",g.formMethod,g,null),Qt(i,l,"formTarget",g.formTarget,g,null)):(Qt(i,l,"encType",g.encType,g,null),Qt(i,l,"method",g.method,g,null),Qt(i,l,"target",g.target,g,null)));if(f==null||typeof f=="symbol"||typeof f=="boolean"){i.removeAttribute(s);break}f=Qa(""+f),i.setAttribute(s,f);break;case"onClick":f!=null&&(i.onclick=hl);break;case"onScroll":f!=null&&gt("scroll",i);break;case"onScrollEnd":f!=null&&gt("scrollend",i);break;case"dangerouslySetInnerHTML":if(f!=null){if(typeof f!="object"||!("__html"in f))throw Error(c(61));if(s=f.__html,s!=null){if(g.children!=null)throw Error(c(60));i.innerHTML=s}}break;case"multiple":i.multiple=f&&typeof f!="function"&&typeof f!="symbol";break;case"muted":i.muted=f&&typeof f!="function"&&typeof f!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(f==null||typeof f=="function"||typeof f=="boolean"||typeof f=="symbol"){i.removeAttribute("xlink:href");break}s=Qa(""+f),i.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",s);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":f!=null&&typeof f!="function"&&typeof f!="symbol"?i.setAttribute(s,""+f):i.removeAttribute(s);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":f&&typeof f!="function"&&typeof f!="symbol"?i.setAttribute(s,""):i.removeAttribute(s);break;case"capture":case"download":f===!0?i.setAttribute(s,""):f!==!1&&f!=null&&typeof f!="function"&&typeof f!="symbol"?i.setAttribute(s,f):i.removeAttribute(s);break;case"cols":case"rows":case"size":case"span":f!=null&&typeof f!="function"&&typeof f!="symbol"&&!isNaN(f)&&1<=f?i.setAttribute(s,f):i.removeAttribute(s);break;case"rowSpan":case"start":f==null||typeof f=="function"||typeof f=="symbol"||isNaN(f)?i.removeAttribute(s):i.setAttribute(s,f);break;case"popover":gt("beforetoggle",i),gt("toggle",i),ic(i,"popover",f);break;case"xlinkActuate":Po(i,"http://www.w3.org/1999/xlink","xlink:actuate",f);break;case"xlinkArcrole":Po(i,"http://www.w3.org/1999/xlink","xlink:arcrole",f);break;case"xlinkRole":Po(i,"http://www.w3.org/1999/xlink","xlink:role",f);break;case"xlinkShow":Po(i,"http://www.w3.org/1999/xlink","xlink:show",f);break;case"xlinkTitle":Po(i,"http://www.w3.org/1999/xlink","xlink:title",f);break;case"xlinkType":Po(i,"http://www.w3.org/1999/xlink","xlink:type",f);break;case"xmlBase":Po(i,"http://www.w3.org/XML/1998/namespace","xml:base",f);break;case"xmlLang":Po(i,"http://www.w3.org/XML/1998/namespace","xml:lang",f);break;case"xmlSpace":Po(i,"http://www.w3.org/XML/1998/namespace","xml:space",f);break;case"is":ic(i,"is",f);break;case"innerText":case"textContent":break;default:(!(2<s.length)||s[0]!=="o"&&s[0]!=="O"||s[1]!=="n"&&s[1]!=="N")&&(s=AA.get(s)||s,ic(i,s,f))}}function $v(i,l,s,f,g,v){switch(s){case"style":Fb(i,f,v);break;case"dangerouslySetInnerHTML":if(f!=null){if(typeof f!="object"||!("__html"in f))throw Error(c(61));if(s=f.__html,s!=null){if(g.children!=null)throw Error(c(60));i.innerHTML=s}}break;case"children":typeof f=="string"?Il(i,f):(typeof f=="number"||typeof f=="bigint")&&Il(i,""+f);break;case"onScroll":f!=null&&gt("scroll",i);break;case"onScrollEnd":f!=null&&gt("scrollend",i);break;case"onClick":f!=null&&(i.onclick=hl);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!js.hasOwnProperty(s))e:{if(s[0]==="o"&&s[1]==="n"&&(g=s.endsWith("Capture"),l=s.slice(2,g?s.length-7:void 0),v=i[Mi]||null,v=v!=null?v[s]:null,typeof v=="function"&&i.removeEventListener(l,v,g),typeof f=="function")){typeof v!="function"&&v!==null&&(s in i?i[s]=null:i.hasAttribute(s)&&i.removeAttribute(s)),i.addEventListener(l,f,g);break e}s in i?i[s]=f:f===!0?i.setAttribute(s,""):ic(i,s,f)}}}function di(i,l,s){switch(l){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":gt("error",i),gt("load",i);var f=!1,g=!1,v;for(v in s)if(s.hasOwnProperty(v)){var D=s[v];if(D!=null)switch(v){case"src":f=!0;break;case"srcSet":g=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(c(137,l));default:Qt(i,l,v,D,s,null)}}g&&Qt(i,l,"srcSet",s.srcSet,s,null),f&&Qt(i,l,"src",s.src,s,null);return;case"input":gt("invalid",i);var C=v=D=g=null,N=null,F=null;for(f in s)if(s.hasOwnProperty(f)){var se=s[f];if(se!=null)switch(f){case"name":g=se;break;case"type":D=se;break;case"checked":N=se;break;case"defaultChecked":F=se;break;case"value":v=se;break;case"defaultValue":C=se;break;case"children":case"dangerouslySetInnerHTML":if(se!=null)throw Error(c(137,l));break;default:Qt(i,l,f,se,s,null)}}id(i,v,C,N,F,D,g,!1);return;case"select":gt("invalid",i),f=D=v=null;for(g in s)if(s.hasOwnProperty(g)&&(C=s[g],C!=null))switch(g){case"value":v=C;break;case"defaultValue":D=C;break;case"multiple":f=C;default:Qt(i,l,g,C,s,null)}l=v,s=D,i.multiple=!!f,l!=null?ac(i,!!f,l,!1):s!=null&&ac(i,!!f,s,!0);return;case"textarea":gt("invalid",i),v=g=f=null;for(D in s)if(s.hasOwnProperty(D)&&(C=s[D],C!=null))switch(D){case"value":f=C;break;case"defaultValue":g=C;break;case"children":v=C;break;case"dangerouslySetInnerHTML":if(C!=null)throw Error(c(91));break;default:Qt(i,l,D,C,s,null)}mg(i,f,g,v);return;case"option":for(N in s)if(s.hasOwnProperty(N)&&(f=s[N],f!=null))switch(N){case"selected":i.selected=f&&typeof f!="function"&&typeof f!="symbol";break;default:Qt(i,l,N,f,s,null)}return;case"dialog":gt("beforetoggle",i),gt("toggle",i),gt("cancel",i),gt("close",i);break;case"iframe":case"object":gt("load",i);break;case"video":case"audio":for(f=0;f<Zc.length;f++)gt(Zc[f],i);break;case"image":gt("error",i),gt("load",i);break;case"details":gt("toggle",i);break;case"embed":case"source":case"link":gt("error",i),gt("load",i);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(F in s)if(s.hasOwnProperty(F)&&(f=s[F],f!=null))switch(F){case"children":case"dangerouslySetInnerHTML":throw Error(c(137,l));default:Qt(i,l,F,f,s,null)}return;default:if(pg(l)){for(se in s)s.hasOwnProperty(se)&&(f=s[se],f!==void 0&&$v(i,l,se,f,s,void 0));return}}for(C in s)s.hasOwnProperty(C)&&(f=s[C],f!=null&&Qt(i,l,C,f,s,null))}function Kv(i,l,s,f){switch(l){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var g=null,v=null,D=null,C=null,N=null,F=null,se=null;for(ae in s){var ce=s[ae];if(s.hasOwnProperty(ae)&&ce!=null)switch(ae){case"checked":break;case"value":break;case"defaultValue":N=ce;default:f.hasOwnProperty(ae)||Qt(i,l,ae,null,f,ce)}}for(var W in f){var ae=f[W];if(ce=s[W],f.hasOwnProperty(W)&&(ae!=null||ce!=null))switch(W){case"type":v=ae;break;case"name":g=ae;break;case"checked":F=ae;break;case"defaultChecked":se=ae;break;case"value":D=ae;break;case"defaultValue":C=ae;break;case"children":case"dangerouslySetInnerHTML":if(ae!=null)throw Error(c(137,l));break;default:ae!==ce&&Qt(i,l,W,ae,f,ce)}}nd(i,D,C,N,F,se,v,g);return;case"select":ae=D=C=W=null;for(v in s)if(N=s[v],s.hasOwnProperty(v)&&N!=null)switch(v){case"value":break;case"multiple":ae=N;default:f.hasOwnProperty(v)||Qt(i,l,v,null,f,N)}for(g in f)if(v=f[g],N=s[g],f.hasOwnProperty(g)&&(v!=null||N!=null))switch(g){case"value":W=v;break;case"defaultValue":C=v;break;case"multiple":D=v;default:v!==N&&Qt(i,l,g,v,f,N)}l=C,s=D,f=ae,W!=null?ac(i,!!s,W,!1):!!f!=!!s&&(l!=null?ac(i,!!s,l,!0):ac(i,!!s,s?[]:"",!1));return;case"textarea":ae=W=null;for(C in s)if(g=s[C],s.hasOwnProperty(C)&&g!=null&&!f.hasOwnProperty(C))switch(C){case"value":break;case"children":break;default:Qt(i,l,C,null,f,g)}for(D in f)if(g=f[D],v=s[D],f.hasOwnProperty(D)&&(g!=null||v!=null))switch(D){case"value":W=g;break;case"defaultValue":ae=g;break;case"children":break;case"dangerouslySetInnerHTML":if(g!=null)throw Error(c(91));break;default:g!==v&&Qt(i,l,D,g,f,v)}hg(i,W,ae);return;case"option":for(var Me in s)if(W=s[Me],s.hasOwnProperty(Me)&&W!=null&&!f.hasOwnProperty(Me))switch(Me){case"selected":i.selected=!1;break;default:Qt(i,l,Me,null,f,W)}for(N in f)if(W=f[N],ae=s[N],f.hasOwnProperty(N)&&W!==ae&&(W!=null||ae!=null))switch(N){case"selected":i.selected=W&&typeof W!="function"&&typeof W!="symbol";break;default:Qt(i,l,N,W,f,ae)}return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var Ze in s)W=s[Ze],s.hasOwnProperty(Ze)&&W!=null&&!f.hasOwnProperty(Ze)&&Qt(i,l,Ze,null,f,W);for(F in f)if(W=f[F],ae=s[F],f.hasOwnProperty(F)&&W!==ae&&(W!=null||ae!=null))switch(F){case"children":case"dangerouslySetInnerHTML":if(W!=null)throw Error(c(137,l));break;default:Qt(i,l,F,W,f,ae)}return;default:if(pg(l)){for(var Zt in s)W=s[Zt],s.hasOwnProperty(Zt)&&W!==void 0&&!f.hasOwnProperty(Zt)&&$v(i,l,Zt,void 0,f,W);for(se in f)W=f[se],ae=s[se],!f.hasOwnProperty(se)||W===ae||W===void 0&&ae===void 0||$v(i,l,se,W,f,ae);return}}for(var J in s)W=s[J],s.hasOwnProperty(J)&&W!=null&&!f.hasOwnProperty(J)&&Qt(i,l,J,null,f,W);for(ce in f)W=f[ce],ae=s[ce],!f.hasOwnProperty(ce)||W===ae||W==null&&ae==null||Qt(i,l,ce,W,f,ae)}function Yp(i){switch(i){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function Pv(){if(typeof performance.getEntriesByType=="function"){for(var i=0,l=0,s=performance.getEntriesByType("resource"),f=0;f<s.length;f++){var g=s[f],v=g.transferSize,D=g.initiatorType,C=g.duration;if(v&&C&&Yp(D)){for(D=0,C=g.responseEnd,f+=1;f<s.length;f++){var N=s[f],F=N.startTime;if(F>C)break;var se=N.transferSize,ce=N.initiatorType;se&&Yp(ce)&&(N=N.responseEnd,D+=se*(N<C?1:(C-F)/(N-F)))}if(--f,l+=8*(v+D)/(g.duration/1e3),i++,10<i)break}}if(0<i)return l/i/1e6}return navigator.connection&&(i=navigator.connection.downlink,typeof i=="number")?i:5}var Gp=null,kp=null;function mu(i){return i.nodeType===9?i:i.ownerDocument}function o1(i){switch(i){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function Fv(i,l){if(i===0)switch(l){case"svg":return 1;case"math":return 2;default:return 0}return i===1&&l==="foreignObject"?0:i}function $c(i,l){return i==="textarea"||i==="noscript"||typeof l.children=="string"||typeof l.children=="number"||typeof l.children=="bigint"||typeof l.dangerouslySetInnerHTML=="object"&&l.dangerouslySetInnerHTML!==null&&l.dangerouslySetInnerHTML.__html!=null}var Xp=null;function zA(){var i=window.event;return i&&i.type==="popstate"?i===Xp?!1:(Xp=i,!0):(Xp=null,!1)}var sh=typeof setTimeout=="function"?setTimeout:void 0,s1=typeof clearTimeout=="function"?clearTimeout:void 0,gr=typeof Promise=="function"?Promise:void 0,u1=typeof queueMicrotask=="function"?queueMicrotask:typeof gr<"u"?function(i){return gr.resolve(null).then(i).catch(Wv)}:sh;function Wv(i){setTimeout(function(){throw i})}function zl(i){return i==="head"}function Iv(i,l){var s=l,f=0;do{var g=s.nextSibling;if(i.removeChild(s),g&&g.nodeType===8)if(s=g.data,s==="/$"||s==="/&"){if(f===0){i.removeChild(g),sf(l);return}f--}else if(s==="$"||s==="$?"||s==="$~"||s==="$!"||s==="&")f++;else if(s==="html")vr(i.ownerDocument.documentElement);else if(s==="head"){s=i.ownerDocument.head,vr(s);for(var v=s.firstChild;v;){var D=v.nextSibling,C=v.nodeName;v[Fl]||C==="SCRIPT"||C==="STYLE"||C==="LINK"&&v.rel.toLowerCase()==="stylesheet"||s.removeChild(v),v=D}}else s==="body"&&vr(i.ownerDocument.body);s=g}while(s);sf(l)}function wn(i,l){var s=i;i=0;do{var f=s.nextSibling;if(s.nodeType===1?l?(s._stashedDisplay=s.style.display,s.style.display="none"):(s.style.display=s._stashedDisplay||"",s.getAttribute("style")===""&&s.removeAttribute("style")):s.nodeType===3&&(l?(s._stashedText=s.nodeValue,s.nodeValue=""):s.nodeValue=s._stashedText||""),f&&f.nodeType===8)if(s=f.data,s==="/$"){if(i===0)break;i--}else s!=="$"&&s!=="$?"&&s!=="$~"&&s!=="$!"||i++;s=f}while(s)}function uh(i){var l=i.firstChild;for(l&&l.nodeType===10&&(l=l.nextSibling);l;){var s=l;switch(l=l.nextSibling,s.nodeName){case"HTML":case"HEAD":case"BODY":uh(s),vm(s);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(s.rel.toLowerCase()==="stylesheet")continue}i.removeChild(s)}}function UA(i,l,s,f){for(;i.nodeType===1;){var g=s;if(i.nodeName.toLowerCase()!==l.toLowerCase()){if(!f&&(i.nodeName!=="INPUT"||i.type!=="hidden"))break}else if(f){if(!i[Fl])switch(l){case"meta":if(!i.hasAttribute("itemprop"))break;return i;case"link":if(v=i.getAttribute("rel"),v==="stylesheet"&&i.hasAttribute("data-precedence"))break;if(v!==g.rel||i.getAttribute("href")!==(g.href==null||g.href===""?null:g.href)||i.getAttribute("crossorigin")!==(g.crossOrigin==null?null:g.crossOrigin)||i.getAttribute("title")!==(g.title==null?null:g.title))break;return i;case"style":if(i.hasAttribute("data-precedence"))break;return i;case"script":if(v=i.getAttribute("src"),(v!==(g.src==null?null:g.src)||i.getAttribute("type")!==(g.type==null?null:g.type)||i.getAttribute("crossorigin")!==(g.crossOrigin==null?null:g.crossOrigin))&&v&&i.hasAttribute("async")&&!i.hasAttribute("itemprop"))break;return i;default:return i}}else if(l==="input"&&i.type==="hidden"){var v=g.name==null?null:""+g.name;if(g.type==="hidden"&&i.getAttribute("name")===v)return i}else return i;if(i=Xi(i.nextSibling),i===null)break}return null}function ct(i,l,s){if(l==="")return null;for(;i.nodeType!==3;)if((i.nodeType!==1||i.nodeName!=="INPUT"||i.type!=="hidden")&&!s||(i=Xi(i.nextSibling),i===null))return null;return i}function r1(i,l){for(;i.nodeType!==8;)if((i.nodeType!==1||i.nodeName!=="INPUT"||i.type!=="hidden")&&!l||(i=Xi(i.nextSibling),i===null))return null;return i}function nl(i){return i.data==="$?"||i.data==="$~"}function pu(i){return i.data==="$!"||i.data==="$?"&&i.ownerDocument.readyState!=="loading"}function Kc(i,l){var s=i.ownerDocument;if(i.data==="$~")i._reactRetry=l;else if(i.data!=="$?"||s.readyState!=="loading")l();else{var f=function(){l(),s.removeEventListener("DOMContentLoaded",f)};s.addEventListener("DOMContentLoaded",f),i._reactRetry=f}}function Xi(i){for(;i!=null;i=i.nextSibling){var l=i.nodeType;if(l===1||l===3)break;if(l===8){if(l=i.data,l==="$"||l==="$!"||l==="$?"||l==="$~"||l==="&"||l==="F!"||l==="F")break;if(l==="/$"||l==="/&")return null}}return i}var rh=null;function Qp(i){i=i.nextSibling;for(var l=0;i;){if(i.nodeType===8){var s=i.data;if(s==="/$"||s==="/&"){if(l===0)return Xi(i.nextSibling);l--}else s!=="$"&&s!=="$!"&&s!=="$?"&&s!=="$~"&&s!=="&"||l++}i=i.nextSibling}return null}function Ul(i){i=i.previousSibling;for(var l=0;i;){if(i.nodeType===8){var s=i.data;if(s==="$"||s==="$!"||s==="$?"||s==="$~"||s==="&"){if(l===0)return i;l--}else s!=="/$"&&s!=="/&"||l++}i=i.previousSibling}return null}function Pc(i,l,s){switch(l=mu(s),i){case"html":if(i=l.documentElement,!i)throw Error(c(452));return i;case"head":if(i=l.head,!i)throw Error(c(453));return i;case"body":if(i=l.body,!i)throw Error(c(454));return i;default:throw Error(c(451))}}function vr(i){for(var l=i.attributes;l.length;)i.removeAttributeNode(l[0]);vm(i)}var ua=new Map,ch=new Set;function Ai(i){return typeof i.getRootNode=="function"?i.getRootNode():i.nodeType===9?i:i.ownerDocument}var Bl=ne.d;ne.d={f:BA,r:c1,D:ie,C:Ut,L:VA,m:e0,X:gs,S:t0,M:yu};function BA(){var i=Bl.f(),l=Yc();return i||l}function c1(i){var l=zu(i);l!==null&&l.tag===5&&l.type==="form"?kt(l):Bl.r(i)}var Fc=typeof document>"u"?null:document;function Un(i,l,s){var f=Fc;if(f&&typeof l=="string"&&l){var g=Sa(l);g='link[rel="'+i+'"][href="'+g+'"]',typeof s=="string"&&(g+='[crossorigin="'+s+'"]'),ch.has(g)||(ch.add(g),i={rel:i,crossOrigin:s,href:l},f.querySelector(g)===null&&(l=f.createElement("link"),di(l,"link",i),Ht(l),f.head.appendChild(l)))}}function ie(i){Bl.D(i),Un("dns-prefetch",i,null)}function Ut(i,l){Bl.C(i,l),Un("preconnect",i,l)}function VA(i,l,s){Bl.L(i,l,s);var f=Fc;if(f&&i&&l){var g='link[rel="preload"][as="'+Sa(l)+'"]';l==="image"&&s&&s.imageSrcSet?(g+='[imagesrcset="'+Sa(s.imageSrcSet)+'"]',typeof s.imageSizes=="string"&&(g+='[imagesizes="'+Sa(s.imageSizes)+'"]')):g+='[href="'+Sa(i)+'"]';var v=g;switch(l){case"style":v=Ba(i);break;case"script":v=br(i)}ua.has(v)||(i=_({rel:"preload",href:l==="image"&&s&&s.imageSrcSet?void 0:i,as:l},s),ua.set(v,i),f.querySelector(g)!==null||l==="style"&&f.querySelector(gu(v))||l==="script"&&f.querySelector(ef(v))||(l=f.createElement("link"),di(l,"link",i),Ht(l),f.head.appendChild(l)))}}function e0(i,l){Bl.m(i,l);var s=Fc;if(s&&i){var f=l&&typeof l.as=="string"?l.as:"script",g='link[rel="modulepreload"][as="'+Sa(f)+'"][href="'+Sa(i)+'"]',v=g;switch(f){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":v=br(i)}if(!ua.has(v)&&(i=_({rel:"modulepreload",href:i},l),ua.set(v,i),s.querySelector(g)===null)){switch(f){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(s.querySelector(ef(v)))return}f=s.createElement("link"),di(f,"link",i),Ht(f),s.head.appendChild(f)}}}function t0(i,l,s){Bl.S(i,l,s);var f=Fc;if(f&&i){var g=Uu(f).hoistableStyles,v=Ba(i);l=l||"default";var D=g.get(v);if(!D){var C={loading:0,preload:null};if(D=f.querySelector(gu(v)))C.loading=5;else{i=_({rel:"stylesheet",href:i,"data-precedence":l},s),(s=ua.get(v))&&Zp(i,s);var N=D=f.createElement("link");Ht(N),di(N,"link",i),N._p=new Promise(function(F,se){N.onload=F,N.onerror=se}),N.addEventListener("load",function(){C.loading|=1}),N.addEventListener("error",function(){C.loading|=2}),C.loading|=4,fh(D,l,f)}D={type:"stylesheet",instance:D,count:1,state:C},g.set(v,D)}}}function gs(i,l){Bl.X(i,l);var s=Fc;if(s&&i){var f=Uu(s).hoistableScripts,g=br(i),v=f.get(g);v||(v=s.querySelector(ef(g)),v||(i=_({src:i,async:!0},l),(l=ua.get(g))&&Jp(i,l),v=s.createElement("script"),Ht(v),di(v,"link",i),s.head.appendChild(v)),v={type:"script",instance:v,count:1,state:null},f.set(g,v))}}function yu(i,l){Bl.M(i,l);var s=Fc;if(s&&i){var f=Uu(s).hoistableScripts,g=br(i),v=f.get(g);v||(v=s.querySelector(ef(g)),v||(i=_({src:i,async:!0,type:"module"},l),(l=ua.get(g))&&Jp(i,l),v=s.createElement("script"),Ht(v),di(v,"link",i),s.head.appendChild(v)),v={type:"script",instance:v,count:1,state:null},f.set(g,v))}}function Wc(i,l,s,f){var g=(g=tt.current)?Ai(g):null;if(!g)throw Error(c(446));switch(i){case"meta":case"title":return null;case"style":return typeof s.precedence=="string"&&typeof s.href=="string"?(l=Ba(s.href),s=Uu(g).hoistableStyles,f=s.get(l),f||(f={type:"style",instance:null,count:0,state:null},s.set(l,f)),f):{type:"void",instance:null,count:0,state:null};case"link":if(s.rel==="stylesheet"&&typeof s.href=="string"&&typeof s.precedence=="string"){i=Ba(s.href);var v=Uu(g).hoistableStyles,D=v.get(i);if(D||(g=g.ownerDocument||g,D={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},v.set(i,D),(v=g.querySelector(gu(i)))&&!v._p&&(D.instance=v,D.state.loading=5),ua.has(i)||(s={rel:"preload",as:"style",href:s.href,crossOrigin:s.crossOrigin,integrity:s.integrity,media:s.media,hrefLang:s.hrefLang,referrerPolicy:s.referrerPolicy},ua.set(i,s),v||f1(g,i,s,D.state))),l&&f===null)throw Error(c(528,""));return D}if(l&&f!==null)throw Error(c(529,""));return null;case"script":return l=s.async,s=s.src,typeof s=="string"&&l&&typeof l!="function"&&typeof l!="symbol"?(l=br(s),s=Uu(g).hoistableScripts,f=s.get(l),f||(f={type:"script",instance:null,count:0,state:null},s.set(l,f)),f):{type:"void",instance:null,count:0,state:null};default:throw Error(c(444,i))}}function Ba(i){return'href="'+Sa(i)+'"'}function gu(i){return'link[rel="stylesheet"]['+i+"]"}function Ic(i){return _({},i,{"data-precedence":i.precedence,precedence:null})}function f1(i,l,s,f){i.querySelector('link[rel="preload"][as="style"]['+l+"]")?f.loading=1:(l=i.createElement("link"),f.preload=l,l.addEventListener("load",function(){return f.loading|=1}),l.addEventListener("error",function(){return f.loading|=2}),di(l,"link",s),Ht(l),i.head.appendChild(l))}function br(i){return'[src="'+Sa(i)+'"]'}function ef(i){return"script[async]"+i}function n0(i,l,s){if(l.count++,l.instance===null)switch(l.type){case"style":var f=i.querySelector('style[data-href~="'+Sa(s.href)+'"]');if(f)return l.instance=f,Ht(f),f;var g=_({},s,{"data-href":s.href,"data-precedence":s.precedence,href:null,precedence:null});return f=(i.ownerDocument||i).createElement("style"),Ht(f),di(f,"style",g),fh(f,s.precedence,i),l.instance=f;case"stylesheet":g=Ba(s.href);var v=i.querySelector(gu(g));if(v)return l.state.loading|=4,l.instance=v,Ht(v),v;f=Ic(s),(g=ua.get(g))&&Zp(f,g),v=(i.ownerDocument||i).createElement("link"),Ht(v);var D=v;return D._p=new Promise(function(C,N){D.onload=C,D.onerror=N}),di(v,"link",f),l.state.loading|=4,fh(v,s.precedence,i),l.instance=v;case"script":return v=br(s.src),(g=i.querySelector(ef(v)))?(l.instance=g,Ht(g),g):(f=s,(g=ua.get(v))&&(f=_({},s),Jp(f,g)),i=i.ownerDocument||i,g=i.createElement("script"),Ht(g),di(g,"link",f),i.head.appendChild(g),l.instance=g);case"void":return null;default:throw Error(c(443,l.type))}else l.type==="stylesheet"&&(l.state.loading&4)===0&&(f=l.instance,l.state.loading|=4,fh(f,s.precedence,i));return l.instance}function fh(i,l,s){for(var f=s.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),g=f.length?f[f.length-1]:null,v=g,D=0;D<f.length;D++){var C=f[D];if(C.dataset.precedence===l)v=C;else if(v!==g)break}v?v.parentNode.insertBefore(i,v.nextSibling):(l=s.nodeType===9?s.head:s,l.insertBefore(i,l.firstChild))}function Zp(i,l){i.crossOrigin==null&&(i.crossOrigin=l.crossOrigin),i.referrerPolicy==null&&(i.referrerPolicy=l.referrerPolicy),i.title==null&&(i.title=l.title)}function Jp(i,l){i.crossOrigin==null&&(i.crossOrigin=l.crossOrigin),i.referrerPolicy==null&&(i.referrerPolicy=l.referrerPolicy),i.integrity==null&&(i.integrity=l.integrity)}var tf=null;function i0(i,l,s){if(tf===null){var f=new Map,g=tf=new Map;g.set(s,f)}else g=tf,f=g.get(s),f||(f=new Map,g.set(s,f));if(f.has(i))return f;for(f.set(i,null),s=s.getElementsByTagName(i),g=0;g<s.length;g++){var v=s[g];if(!(v[Fl]||v[Gt]||i==="link"&&v.getAttribute("rel")==="stylesheet")&&v.namespaceURI!=="http://www.w3.org/2000/svg"){var D=v.getAttribute(l)||"";D=i+D;var C=f.get(D);C?C.push(v):f.set(D,[v])}}return f}function $p(i,l,s){i=i.ownerDocument||i,i.head.insertBefore(s,l==="title"?i.querySelector("head > title"):null)}function a0(i,l,s){if(s===1||l.itemProp!=null)return!1;switch(i){case"meta":case"title":return!0;case"style":if(typeof l.precedence!="string"||typeof l.href!="string"||l.href==="")break;return!0;case"link":if(typeof l.rel!="string"||typeof l.href!="string"||l.href===""||l.onLoad||l.onError)break;switch(l.rel){case"stylesheet":return i=l.disabled,typeof l.precedence=="string"&&i==null;default:return!0}case"script":if(l.async&&typeof l.async!="function"&&typeof l.async!="symbol"&&!l.onLoad&&!l.onError&&l.src&&typeof l.src=="string")return!0}return!1}function ra(i){return!(i.type==="stylesheet"&&(i.state.loading&3)===0)}function _o(i,l,s,f){if(s.type==="stylesheet"&&(typeof f.media!="string"||matchMedia(f.media).matches!==!1)&&(s.state.loading&4)===0){if(s.instance===null){var g=Ba(f.href),v=l.querySelector(gu(g));if(v){l=v._p,l!==null&&typeof l=="object"&&typeof l.then=="function"&&(i.count++,i=Kp.bind(i),l.then(i,i)),s.state.loading|=4,s.instance=v,Ht(v);return}v=l.ownerDocument||l,f=Ic(f),(g=ua.get(g))&&Zp(f,g),v=v.createElement("link"),Ht(v);var D=v;D._p=new Promise(function(C,N){D.onload=C,D.onerror=N}),di(v,"link",f),s.instance=v}i.stylesheets===null&&(i.stylesheets=new Map),i.stylesheets.set(s,l),(l=s.state.preload)&&(s.state.loading&3)===0&&(i.count++,s=Kp.bind(i),l.addEventListener("load",s),l.addEventListener("error",s))}}var Va=0;function l0(i,l){return i.stylesheets&&i.count===0&&Fp(i,i.stylesheets),0<i.count||0<i.imgCount?function(s){var f=setTimeout(function(){if(i.stylesheets&&Fp(i,i.stylesheets),i.unsuspend){var v=i.unsuspend;i.unsuspend=null,v()}},6e4+l);0<i.imgBytes&&Va===0&&(Va=62500*Pv());var g=setTimeout(function(){if(i.waitingForImages=!1,i.count===0&&(i.stylesheets&&Fp(i,i.stylesheets),i.unsuspend)){var v=i.unsuspend;i.unsuspend=null,v()}},(i.imgBytes>Va?50:800)+l);return i.unsuspend=s,function(){i.unsuspend=null,clearTimeout(f),clearTimeout(g)}}:null}function Kp(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)Fp(this,this.stylesheets);else if(this.unsuspend){var i=this.unsuspend;this.unsuspend=null,i()}}}var Pp=null;function Fp(i,l){i.stylesheets=null,i.unsuspend!==null&&(i.count++,Pp=new Map,l.forEach(ti,i),Pp=null,Kp.call(i))}function ti(i,l){if(!(l.state.loading&4)){var s=Pp.get(i);if(s)var f=s.get(null);else{s=new Map,Pp.set(i,s);for(var g=i.querySelectorAll("link[data-precedence],style[data-precedence]"),v=0;v<g.length;v++){var D=g[v];(D.nodeName==="LINK"||D.getAttribute("media")!=="not all")&&(s.set(D.dataset.precedence,D),f=D)}f&&s.set(null,f)}g=l.instance,D=g.getAttribute("data-precedence"),v=s.get(D)||f,v===f&&s.set(null,g),s.set(D,g),this.count++,f=Kp.bind(this),g.addEventListener("load",f),g.addEventListener("error",f),v?v.parentNode.insertBefore(g,v.nextSibling):(i=i.nodeType===9?i.head:i,i.insertBefore(g,i.firstChild)),l.state.loading|=4}}var dh={$$typeof:ee,Provider:null,Consumer:null,_currentValue:de,_currentValue2:de,_threadCount:0};function o0(i,l,s,f,g,v,D,C,N){this.tag=1,this.containerInfo=i,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=Xa(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Xa(0),this.hiddenUpdates=Xa(null),this.identifierPrefix=f,this.onUncaughtError=g,this.onCaughtError=v,this.onRecoverableError=D,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=N,this.incompleteTransitions=new Map}function Wp(i,l,s,f,g,v,D,C,N,F,se,ce){return i=new o0(i,l,s,D,N,F,se,ce,C),l=1,v===!0&&(l|=24),v=yn(3,null,null,l),i.current=v,v.stateNode=i,l=Sd(),l.refCount++,i.pooledCache=l,l.refCount++,v.memoizedState={element:f,isDehydrated:s,cache:l},wd(v),i}function Sr(i){return i?(i=Ui,i):Ui}function d1(i,l,s,f,g,v){g=Sr(g),f.context===null?f.context=g:f.pendingContext=g,f=ss(l),f.payload={element:s},v=v===void 0?null:v,v!==null&&(f.callback=v),s=wa(i,f,l),s!==null&&(ki(s,i,l),tu(s,i,l))}function Ip(i,l){if(i=i.memoizedState,i!==null&&i.dehydrated!==null){var s=i.retryLane;i.retryLane=s!==0&&s<l?s:l}}function s0(i,l){Ip(i,l),(i=i.alternate)&&Ip(i,l)}function h1(i){if(i.tag===13||i.tag===31){var l=es(i,67108864);l!==null&&ki(l,i,67108864),s0(i,67108864)}}function Tr(i){if(i.tag===13||i.tag===31){var l=sa();l=pm(l);var s=es(i,l);s!==null&&ki(s,i,l),s0(i,l)}}var qn=!0;function Do(i,l,s,f){var g=Y.T;Y.T=null;var v=ne.p;try{ne.p=2,hi(i,l,s,f)}finally{ne.p=v,Y.T=g}}function wo(i,l,s,f){var g=Y.T;Y.T=null;var v=ne.p;try{ne.p=8,hi(i,l,s,f)}finally{ne.p=v,Y.T=g}}function hi(i,l,s,f){if(qn){var g=u0(f);if(g===null)Xv(i,l,f,ey,s),vs(i,f);else if(HA(g,i,l,s,f))f.stopPropagation();else if(vs(i,f),l&4&&-1<Qi.indexOf(i)){for(;g!==null;){var v=zu(g);if(v!==null)switch(v.tag){case 3:if(v=v.stateNode,v.current.memoizedState.isDehydrated){var D=Je(v.pendingLanes);if(D!==0){var C=v;for(C.pendingLanes|=2,C.entangledLanes|=2;D;){var N=1<<31-Jn(D);C.entanglements[1]|=N,D&=~N}xo(v),(Ot&6)===0&&(zt=Mn()+500,ys(0))}}break;case 31:case 13:C=es(v,2),C!==null&&ki(C,v,2),Yc(),s0(v,2)}if(v=u0(f),v===null&&Xv(i,l,f,ey,s),v===g)break;g=v}g!==null&&f.stopPropagation()}else Xv(i,l,f,null,s)}}function u0(i){return i=_m(i),nf(i)}var ey=null;function nf(i){if(ey=null,i=Cu(i),i!==null){var l=p(i);if(l===null)i=null;else{var s=l.tag;if(s===13){if(i=y(l),i!==null)return i;i=null}else if(s===31){if(i=S(l),i!==null)return i;i=null}else if(s===3){if(l.stateNode.current.memoizedState.isDehydrated)return l.tag===3?l.stateNode.containerInfo:null;i=null}else l!==i&&(i=null)}}return ey=i,null}function hh(i){switch(i){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 2;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(hm()){case Pr:return 2;case Fr:return 8;case fl:case mm:return 32;case Wr:return 268435456;default:return 32}default:return 32}}var af=!1,Yn=null,mi=null,xi=null,vu=new Map,il=new Map,sn=[],Qi="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(" ");function vs(i,l){switch(i){case"focusin":case"focusout":Yn=null;break;case"dragenter":case"dragleave":mi=null;break;case"mouseover":case"mouseout":xi=null;break;case"pointerover":case"pointerout":vu.delete(l.pointerId);break;case"gotpointercapture":case"lostpointercapture":il.delete(l.pointerId)}}function Er(i,l,s,f,g,v){return i===null||i.nativeEvent!==v?(i={blockedOn:l,domEventName:s,eventSystemFlags:f,nativeEvent:v,targetContainers:[g]},l!==null&&(l=zu(l),l!==null&&h1(l)),i):(i.eventSystemFlags|=f,l=i.targetContainers,g!==null&&l.indexOf(g)===-1&&l.push(g),i)}function HA(i,l,s,f,g){switch(l){case"focusin":return Yn=Er(Yn,i,l,s,f,g),!0;case"dragenter":return mi=Er(mi,i,l,s,f,g),!0;case"mouseover":return xi=Er(xi,i,l,s,f,g),!0;case"pointerover":var v=g.pointerId;return vu.set(v,Er(vu.get(v)||null,i,l,s,f,g)),!0;case"gotpointercapture":return v=g.pointerId,il.set(v,Er(il.get(v)||null,i,l,s,f,g)),!0}return!1}function m1(i){var l=Cu(i.target);if(l!==null){var s=p(l);if(s!==null){if(l=s.tag,l===13){if(l=y(s),l!==null){i.blockedOn=l,ug(i.priority,function(){Tr(s)});return}}else if(l===31){if(l=S(s),l!==null){i.blockedOn=l,ug(i.priority,function(){Tr(s)});return}}else if(l===3&&s.stateNode.current.memoizedState.isDehydrated){i.blockedOn=s.tag===3?s.stateNode.containerInfo:null;return}}}i.blockedOn=null}function mh(i){if(i.blockedOn!==null)return!1;for(var l=i.targetContainers;0<l.length;){var s=u0(i.nativeEvent);if(s===null){s=i.nativeEvent;var f=new s.constructor(s.type,s);xm=f,s.target.dispatchEvent(f),xm=null}else return l=zu(s),l!==null&&h1(l),i.blockedOn=s,!1;l.shift()}return!0}function lf(i,l,s){mh(i)&&s.delete(l)}function p1(){af=!1,Yn!==null&&mh(Yn)&&(Yn=null),mi!==null&&mh(mi)&&(mi=null),xi!==null&&mh(xi)&&(xi=null),vu.forEach(lf),il.forEach(lf)}function Ro(i,l){i.blockedOn===l&&(i.blockedOn=null,af||(af=!0,o.unstable_scheduleCallback(o.unstable_NormalPriority,p1)))}var of=null;function y1(i){of!==i&&(of=i,o.unstable_scheduleCallback(o.unstable_NormalPriority,function(){of===i&&(of=null);for(var l=0;l<i.length;l+=3){var s=i[l],f=i[l+1],g=i[l+2];if(typeof f!="function"){if(nf(f||s)===null)continue;break}var v=zu(s);v!==null&&(i.splice(l,3),l-=3,Rc(v,{pending:!0,data:g,method:s.method,action:f},f,g))}}))}function sf(i){function l(N){return Ro(N,i)}Yn!==null&&Ro(Yn,i),mi!==null&&Ro(mi,i),xi!==null&&Ro(xi,i),vu.forEach(l),il.forEach(l);for(var s=0;s<sn.length;s++){var f=sn[s];f.blockedOn===i&&(f.blockedOn=null)}for(;0<sn.length&&(s=sn[0],s.blockedOn===null);)m1(s),s.blockedOn===null&&sn.shift();if(s=(i.ownerDocument||i).$$reactFormReplay,s!=null)for(f=0;f<s.length;f+=3){var g=s[f],v=s[f+1],D=g[Mi]||null;if(typeof v=="function")D||y1(s);else if(D){var C=null;if(v&&v.hasAttribute("formAction")){if(g=v,D=v[Mi]||null)C=D.formAction;else if(nf(g)!==null)continue}else C=D.action;typeof C=="function"?s[f+1]=C:(s.splice(f,3),f-=3),y1(s)}}}function r0(){function i(v){v.canIntercept&&v.info==="react-transition"&&v.intercept({handler:function(){return new Promise(function(D){return g=D})},focusReset:"manual",scroll:"manual"})}function l(){g!==null&&(g(),g=null),f||setTimeout(s,20)}function s(){if(!f&&!navigation.transition){var v=navigation.currentEntry;v&&v.url!=null&&navigation.navigate(v.url,{state:v.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var f=!1,g=null;return navigation.addEventListener("navigate",i),navigation.addEventListener("navigatesuccess",l),navigation.addEventListener("navigateerror",l),setTimeout(s,100),function(){f=!0,navigation.removeEventListener("navigate",i),navigation.removeEventListener("navigatesuccess",l),navigation.removeEventListener("navigateerror",l),g!==null&&(g(),g=null)}}}function ty(i){this._internalRoot=i}ny.prototype.render=ty.prototype.render=function(i){var l=this._internalRoot;if(l===null)throw Error(c(409));var s=l.current,f=sa();d1(s,f,i,l,null,null)},ny.prototype.unmount=ty.prototype.unmount=function(){var i=this._internalRoot;if(i!==null){this._internalRoot=null;var l=i.containerInfo;d1(i.current,2,null,i,null,null),Yc(),l[Ns]=null}};function ny(i){this._internalRoot=i}ny.prototype.unstable_scheduleHydration=function(i){if(i){var l=ym();i={blockedOn:null,target:i,priority:l};for(var s=0;s<sn.length&&l!==0&&l<sn[s].priority;s++);sn.splice(s,0,i),s===0&&m1(i)}};var c0=n.version;if(c0!=="19.2.3")throw Error(c(527,c0,"19.2.3"));ne.findDOMNode=function(i){var l=i._reactInternals;if(l===void 0)throw typeof i.render=="function"?Error(c(188)):(i=Object.keys(i).join(","),Error(c(268,i)));return i=A(l),i=i!==null?x(i):null,i=i===null?null:i.stateNode,i};var g1={bundleType:0,version:"19.2.3",rendererPackageName:"react-dom",currentDispatcherRef:Y,reconcilerVersion:"19.2.3"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var ph=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!ph.isDisabled&&ph.supportsFiber)try{ka=ph.inject(g1),Hn=ph}catch{}}return Vy.createRoot=function(i,l){if(!h(i))throw Error(c(299));var s=!1,f="",g=hp,v=fv,D=mp;return l!=null&&(l.unstable_strictMode===!0&&(s=!0),l.identifierPrefix!==void 0&&(f=l.identifierPrefix),l.onUncaughtError!==void 0&&(g=l.onUncaughtError),l.onCaughtError!==void 0&&(v=l.onCaughtError),l.onRecoverableError!==void 0&&(D=l.onRecoverableError)),l=Wp(i,1,!1,null,null,s,f,null,g,v,D,r0),i[Ns]=l.current,Jc(i),new ty(l)},Vy.hydrateRoot=function(i,l,s){if(!h(i))throw Error(c(299));var f=!1,g="",v=hp,D=fv,C=mp,N=null;return s!=null&&(s.unstable_strictMode===!0&&(f=!0),s.identifierPrefix!==void 0&&(g=s.identifierPrefix),s.onUncaughtError!==void 0&&(v=s.onUncaughtError),s.onCaughtError!==void 0&&(D=s.onCaughtError),s.onRecoverableError!==void 0&&(C=s.onRecoverableError),s.formState!==void 0&&(N=s.formState)),l=Wp(i,1,!0,l,s??null,f,g,N,v,D,C,r0),l.context=Sr(null),s=l.current,f=sa(),f=pm(f),g=ss(f),g.callback=null,wa(s,g,f),s=f,l.current.lanes=s,Ls(l,s),xo(l),i[Ns]=l.current,Jc(i),new ny(l)},Vy.version="19.2.3",Vy}var Hy={};var l_;function hC(){return l_||(l_=1,process.env.NODE_ENV!=="production"&&(function(){function o(e,t){for(e=e.memoizedState;e!==null&&0<t;)e=e.next,t--;return e}function n(e,t,a,r){if(a>=t.length)return r;var d=t[a],m=Un(e)?e.slice():ct({},e);return m[d]=n(e[d],t,a+1,r),m}function u(e,t,a){if(t.length!==a.length)console.warn("copyWithRename() expects paths of the same length");else{for(var r=0;r<a.length-1;r++)if(t[r]!==a[r]){console.warn("copyWithRename() expects paths to be the same except for the deepest key");return}return c(e,t,a,0)}}function c(e,t,a,r){var d=t[r],m=Un(e)?e.slice():ct({},e);return r+1===t.length?(m[a[r]]=m[d],Un(m)?m.splice(d,1):delete m[d]):m[d]=c(e[d],t,a,r+1),m}function h(e,t,a){var r=t[a],d=Un(e)?e.slice():ct({},e);return a+1===t.length?(Un(d)?d.splice(r,1):delete d[r],d):(d[r]=h(e[r],t,a+1),d)}function p(){return!1}function y(){return null}function S(){console.error("Do not call Hooks inside useEffect(...), useMemo(...), or other built-in Hooks. You can only call Hooks at the top level of your React function. For more information, see https://react.dev/link/rules-of-hooks")}function E(){console.error("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().")}function A(){}function x(){}function _(e){var t=[];return e.forEach(function(a){t.push(a)}),t.sort().join(", ")}function w(e,t,a,r){return new RA(e,t,a,r)}function z(e,t){e.context===ff&&(qp(e.current,2,t,e,null,null),za())}function V(e,t){if(Co!==null){var a=t.staleFamilies;t=t.updatedFamilies,Zd(),uS(e.current,t,a),za()}}function X(e){Co=e}function Q(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function $(e){var t=e,a=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,(t.flags&4098)!==0&&(a=t.return),e=t.return;while(e)}return t.tag===3?a:null}function le(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 ee(e){if(e.tag===31){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function oe(e){if($(e)!==e)throw Error("Unable to find node on an unmounted component.")}function ye(e){var t=e.alternate;if(!t){if(t=$(e),t===null)throw Error("Unable to find node on an unmounted component.");return t!==e?null:e}for(var a=e,r=t;;){var d=a.return;if(d===null)break;var m=d.alternate;if(m===null){if(r=d.return,r!==null){a=r;continue}break}if(d.child===m.child){for(m=d.child;m;){if(m===a)return oe(d),e;if(m===r)return oe(d),t;m=m.sibling}throw Error("Unable to find node on an unmounted component.")}if(a.return!==r.return)a=d,r=m;else{for(var b=!1,T=d.child;T;){if(T===a){b=!0,a=d,r=m;break}if(T===r){b=!0,r=d,a=m;break}T=T.sibling}if(!b){for(T=m.child;T;){if(T===a){b=!0,a=m,r=d;break}if(T===r){b=!0,r=m,a=d;break}T=T.sibling}if(!b)throw Error("Child was not found in either parent set. This indicates a bug in React related to the return pointer. Please file an issue.")}}if(a.alternate!==r)throw Error("Return fibers should always be each others' alternates. This error is likely caused by a bug in React. Please file an issue.")}if(a.tag!==3)throw Error("Unable to find node on an unmounted component.");return a.stateNode.current===a?e:t}function xe(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=xe(e),t!==null)return t;e=e.sibling}return null}function ve(e){return e===null||typeof e!="object"?null:(e=c1&&e[c1]||e["@@iterator"],typeof e=="function"?e:null)}function he(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===Fc?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Kc:return"Fragment";case rh:return"Profiler";case Xi:return"StrictMode";case vr:return"Suspense";case ua:return"SuspenseList";case Bl:return"Activity"}if(typeof e=="object")switch(typeof e.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),e.$$typeof){case pu:return"Portal";case Ul:return e.displayName||"Context";case Qp:return(e._context.displayName||"Context")+".Consumer";case Pc:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case ch:return t=e.displayName||null,t!==null?t:he(e.type)||"Memo";case Ai:t=e._payload,e=e._init;try{return he(e(t))}catch{}}return null}function Re(e){return typeof e.tag=="number"?be(e):typeof e.name=="string"?e.name:null}function be(e){var t=e.type;switch(e.tag){case 31:return"Activity";case 24:return"Cache";case 9:return(t._context.displayName||"Context")+".Consumer";case 10:return t.displayName||"Context";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 26:case 27:case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return he(t);case 8:return t===Xi?"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 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t;break;case 29:if(t=e._debugInfo,t!=null){for(var a=t.length-1;0<=a;a--)if(typeof t[a].name=="string")return t[a].name}if(e.return!==null)return be(e.return)}return null}function ot(e){return{current:e}}function we(e,t){0>gs?console.error("Unexpected pop."):(t!==t0[gs]&&console.error("Unexpected Fiber popped."),e.current=e0[gs],e0[gs]=null,t0[gs]=null,gs--)}function Qe(e,t,a){gs++,e0[gs]=e.current,t0[gs]=a,e.current=t}function Vt(e){return e===null&&console.error("Expected host context to exist. This error is likely caused by a bug in React. Please file an issue."),e}function Yt(e,t){Qe(Ba,t,e),Qe(Wc,e,e),Qe(yu,null,e);var a=t.nodeType;switch(a){case 9:case 11:a=a===9?"#document":"#fragment",t=(t=t.documentElement)&&(t=t.namespaceURI)?LS(t):Hr;break;default:if(a=t.tagName,t=t.namespaceURI)t=LS(t),t=ms(t,a);else switch(a){case"svg":t=zy;break;case"math":t=uT;break;default:t=Hr}}a=a.toLowerCase(),a=dg(null,a),a={context:t,ancestorInfo:a},we(yu,e),Qe(yu,a,e)}function Y(e){we(yu,e),we(Wc,e),we(Ba,e)}function ne(){return Vt(yu.current)}function de(e){e.memoizedState!==null&&Qe(gu,e,e);var t=Vt(yu.current),a=e.type,r=ms(t.context,a);a=dg(t.ancestorInfo,a),r={context:r,ancestorInfo:a},t!==r&&(Qe(Wc,e,e),Qe(yu,r,e))}function Oe(e){Wc.current===e&&(we(yu,e),we(Wc,e)),gu.current===e&&(we(gu,e),I0._currentValue=Nh)}function Le(){}function U(){if(Ic===0){f1=console.log,br=console.info,ef=console.warn,n0=console.error,fh=console.group,Zp=console.groupCollapsed,Jp=console.groupEnd;var e={configurable:!0,enumerable:!0,value:Le,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}Ic++}function P(){if(Ic--,Ic===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:ct({},e,{value:f1}),info:ct({},e,{value:br}),warn:ct({},e,{value:ef}),error:ct({},e,{value:n0}),group:ct({},e,{value:fh}),groupCollapsed:ct({},e,{value:Zp}),groupEnd:ct({},e,{value:Jp})})}0>Ic&&console.error("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}function pe(e){var t=Error.prepareStackTrace;if(Error.prepareStackTrace=void 0,e=e.stack,Error.prepareStackTrace=t,e.startsWith(`Error: react-stack-top-frame
26
- `)&&(e=e.slice(29)),t=e.indexOf(`
27
- `),t!==-1&&(e=e.slice(t+1)),t=e.indexOf("react_stack_bottom_frame"),t!==-1&&(t=e.lastIndexOf(`
28
- `,t)),t!==-1)e=e.slice(0,t);else return"";return e}function me(e){if(tf===void 0)try{throw Error()}catch(a){var t=a.stack.trim().match(/\n( *(at )?)/);tf=t&&t[1]||"",i0=-1<a.stack.indexOf(`
29
- at`)?" (<anonymous>)":-1<a.stack.indexOf("@")?"@unknown:0:0":""}return`
30
- `+tf+e+i0}function je(e,t){if(!e||$p)return"";var a=a0.get(e);if(a!==void 0)return a;$p=!0,a=Error.prepareStackTrace,Error.prepareStackTrace=void 0;var r=null;r=ie.H,ie.H=null,U();try{var d={DetermineComponentFrameRoot:function(){try{if(t){var H=function(){throw Error()};if(Object.defineProperty(H.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(H,[])}catch(Te){var I=Te}Reflect.construct(e,[],H)}else{try{H.call()}catch(Te){I=Te}e.call(H.prototype)}}else{try{throw Error()}catch(Te){I=Te}(H=e())&&typeof H.catch=="function"&&H.catch(function(){})}}catch(Te){if(Te&&I&&typeof Te.stack=="string")return[Te.stack,I.stack]}return[null,null]}};d.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var m=Object.getOwnPropertyDescriptor(d.DetermineComponentFrameRoot,"name");m&&m.configurable&&Object.defineProperty(d.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var b=d.DetermineComponentFrameRoot(),T=b[0],R=b[1];if(T&&R){var O=T.split(`
31
- `),q=R.split(`
32
- `);for(b=m=0;m<O.length&&!O[m].includes("DetermineComponentFrameRoot");)m++;for(;b<q.length&&!q[b].includes("DetermineComponentFrameRoot");)b++;if(m===O.length||b===q.length)for(m=O.length-1,b=q.length-1;1<=m&&0<=b&&O[m]!==q[b];)b--;for(;1<=m&&0<=b;m--,b--)if(O[m]!==q[b]){if(m!==1||b!==1)do if(m--,b--,0>b||O[m]!==q[b]){var k=`
33
- `+O[m].replace(" at new "," at ");return e.displayName&&k.includes("<anonymous>")&&(k=k.replace("<anonymous>",e.displayName)),typeof e=="function"&&a0.set(e,k),k}while(1<=m&&0<=b);break}}}finally{$p=!1,ie.H=r,P(),Error.prepareStackTrace=a}return O=(O=e?e.displayName||e.name:"")?me(O):"",typeof e=="function"&&a0.set(e,O),O}function tt(e,t){switch(e.tag){case 26:case 27:case 5:return me(e.type);case 16:return me("Lazy");case 13:return e.child!==t&&t!==null?me("Suspense Fallback"):me("Suspense");case 19:return me("SuspenseList");case 0:case 15:return je(e.type,!1);case 11:return je(e.type.render,!1);case 1:return je(e.type,!0);case 31:return me("Activity");default:return""}}function Ge(e){try{var t="",a=null;do{t+=tt(e,a);var r=e._debugInfo;if(r)for(var d=r.length-1;0<=d;d--){var m=r[d];if(typeof m.name=="string"){var b=t;e:{var T=m.name,R=m.env,O=m.debugLocation;if(O!=null){var q=pe(O),k=q.lastIndexOf(`
34
- `),H=k===-1?q:q.slice(k+1);if(H.indexOf(T)!==-1){var I=`
35
- `+H;break e}}I=me(T+(R?" ["+R+"]":""))}t=b+I}}a=e,e=e.return}while(e);return t}catch(Te){return`
36
- Error generating stack: `+Te.message+`
37
- `+Te.stack}}function en(e){return(e=e?e.displayName||e.name:"")?me(e):""}function wt(){if(ra===null)return null;var e=ra._debugOwner;return e!=null?Re(e):null}function pa(){if(ra===null)return"";var e=ra;try{var t="";switch(e.tag===6&&(e=e.return),e.tag){case 26:case 27:case 5:t+=me(e.type);break;case 13:t+=me("Suspense");break;case 19:t+=me("SuspenseList");break;case 31:t+=me("Activity");break;case 30:case 0:case 15:case 1:e._debugOwner||t!==""||(t+=en(e.type));break;case 11:e._debugOwner||t!==""||(t+=en(e.type.render))}for(;e;)if(typeof e.tag=="number"){var a=e;e=a._debugOwner;var r=a._debugStack;if(e&&r){var d=pe(r);d!==""&&(t+=`
38
- `+d)}}else if(e.debugStack!=null){var m=e.debugStack;(e=e.owner)&&m&&(t+=`
39
- `+pe(m))}else break;var b=t}catch(T){b=`
40
- Error generating stack: `+T.message+`
41
- `+T.stack}return b}function _e(e,t,a,r,d,m,b){var T=ra;Us(e);try{return e!==null&&e._debugTask?e._debugTask.run(t.bind(null,a,r,d,m,b)):t(a,r,d,m,b)}finally{Us(T)}throw Error("runWithFiberInDEV should never be called in production. This is a bug in React.")}function Us(e){ie.getCurrentStack=e===null?null:pa,_o=!1,ra=e}function Bs(e){return typeof Symbol=="function"&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object"}function ya(e){try{return $l(e),!1}catch{return!0}}function $l(e){return""+e}function Rt(e,t){if(ya(e))return console.error("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before using it here.",t,Bs(e)),$l(e)}function vi(e,t){if(ya(e))return console.error("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before using it here.",t,Bs(e)),$l(e)}function Ru(e){if(ya(e))return console.error("Form field values (value, checked, defaultValue, or defaultChecked props) must be strings, not %s. This value must be coerced to a string before using it here.",Bs(e)),$l(e)}function Wf(e){if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u")return!1;var t=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(t.isDisabled)return!0;if(!t.supportsFiber)return console.error("The installed version of React DevTools is too old and will not work with the current version of React. Please update React DevTools. https://react.dev/link/react-devtools"),!0;try{Tr=t.inject(e),qn=t}catch(a){console.error("React instrumentation encountered an error: %o.",a)}return!!t.checkDCE}function ze(e){if(typeof s0=="function"&&h1(e),qn&&typeof qn.setStrictMode=="function")try{qn.setStrictMode(Tr,e)}catch(t){Do||(Do=!0,console.error("React instrumentation encountered an error: %o",t))}}function Vs(e){return e>>>=0,e===0?32:31-(u0(e)/ey|0)|0}function Kl(e){var t=e&42;if(t!==0)return t;switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return e&261888;case 262144:case 524288:case 1048576:case 2097152:return e&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return e&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return console.error("Should have found matching lanes. This is a bug in React."),e}}function Ou(e,t,a){var r=e.pendingLanes;if(r===0)return 0;var d=0,m=e.suspendedLanes,b=e.pingedLanes;e=e.warmLanes;var T=r&134217727;return T!==0?(r=T&~m,r!==0?d=Kl(r):(b&=T,b!==0?d=Kl(b):a||(a=T&~e,a!==0&&(d=Kl(a))))):(T=r&~m,T!==0?d=Kl(T):b!==0?d=Kl(b):a||(a=r&~e,a!==0&&(d=Kl(a)))),d===0?0:t!==0&&t!==d&&(t&m)===0&&(m=d&-d,a=t&-t,m>=a||m===32&&(a&4194048)!==0)?t:d}function Mn(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function hm(e,t){switch(e){case 1:case 2:case 4:case 8:case 64:return t+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return console.error("Should have found matching lanes. This is a bug in React."),-1}}function Pr(){var e=af;return af<<=1,(af&62914560)===0&&(af=4194304),e}function Fr(e){for(var t=[],a=0;31>a;a++)t.push(e);return t}function fl(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function mm(e,t,a,r,d,m){var b=e.pendingLanes;e.pendingLanes=a,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=a,e.entangledLanes&=a,e.errorRecoveryDisabledLanes&=a,e.shellSuspendCounter=0;var T=e.entanglements,R=e.expirationTimes,O=e.hiddenUpdates;for(a=b&~a;0<a;){var q=31-hi(a),k=1<<q;T[q]=0,R[q]=-1;var H=O[q];if(H!==null)for(O[q]=null,q=0;q<H.length;q++){var I=H[q];I!==null&&(I.lane&=-536870913)}a&=~k}r!==0&&Wr(e,r,0),m!==0&&d===0&&e.tag!==0&&(e.suspendedLanes|=m&~(b&~t))}function Wr(e,t,a){e.pendingLanes|=t,e.suspendedLanes&=~t;var r=31-hi(t);e.entangledLanes|=t,e.entanglements[r]=e.entanglements[r]|1073741824|a&261930}function If(e,t){var a=e.entangledLanes|=t;for(e=e.entanglements;a;){var r=31-hi(a),d=1<<r;d&t|e[r]&t&&(e[r]|=t),a&=~d}}function Mu(e,t){var a=t&-t;return a=(a&42)!==0?1:ka(a),(a&(e.suspendedLanes|t))!==0?0:a}function ka(e){switch(e){case 2:e=1;break;case 8:e=4;break;case 32:e=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:e=128;break;case 268435456:e=134217728;break;default:e=0}return e}function Hn(e,t,a){if(wo)for(e=e.pendingUpdatersLaneMap;0<a;){var r=31-hi(a),d=1<<r;e[r].add(t),a&=~d}}function ga(e,t){if(wo)for(var a=e.pendingUpdatersLaneMap,r=e.memoizedUpdaters;0<t;){var d=31-hi(t);e=1<<d,d=a[d],0<d.size&&(d.forEach(function(m){var b=m.alternate;b!==null&&r.has(b)||r.add(m)}),d.clear()),t&=~e}}function Jn(e){return e&=-e,Yn<e?mi<e?(e&134217727)!==0?xi:vu:mi:Yn}function Hs(){var e=Ut.p;return e!==0?e:(e=window.event,e===void 0?xi:Gp(e.type))}function M(e,t){var a=Ut.p;try{return Ut.p=e,t()}finally{Ut.p=a}}function Z(e){delete e[sn],delete e[Qi],delete e[Er],delete e[HA],delete e[m1]}function ge(e){var t=e[sn];if(t)return t;for(var a=e.parentNode;a;){if(t=a[vs]||a[sn]){if(a=t.alternate,t.child!==null||a!==null&&a.child!==null)for(e=mr(e);e!==null;){if(a=e[sn])return a;e=mr(e)}return t}e=a,a=e.parentNode}return null}function Se(e){if(e=e[sn]||e[vs]){var t=e.tag;if(t===5||t===6||t===13||t===31||t===26||t===27||t===3)return e}return null}function Ue(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e.stateNode;throw Error("getNodeFromInstance: Invalid argument.")}function Je(e){var t=e[mh];return t||(t=e[mh]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function Ve(e){e[lf]=!0}function mt(e,t){nt(e,t),nt(e+"Capture",t)}function nt(e,t){Ro[e]&&console.error("EventRegistry: More than one plugin attempted to publish the same registration name, `%s`.",e),Ro[e]=t;var a=e.toLowerCase();for(of[a]=e,e==="onDoubleClick"&&(of.ondblclick=e),e=0;e<t.length;e++)p1.add(t[e])}function bi(e,t){y1[t.type]||t.onChange||t.onInput||t.readOnly||t.disabled||t.value==null||console.error(e==="select"?"You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set `onChange`.":"You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`."),t.onChange||t.readOnly||t.disabled||t.checked==null||console.error("You provided a `checked` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultChecked`. Otherwise, set either `onChange` or `readOnly`.")}function Xa(e){return Va.call(ty,e)?!0:Va.call(r0,e)?!1:sf.test(e)?ty[e]=!0:(r0[e]=!0,console.error("Invalid attribute name: `%s`",e),!1)}function Ls(e,t,a){if(Xa(t)){if(!e.hasAttribute(t)){switch(typeof a){case"symbol":case"object":return a;case"function":return a;case"boolean":if(a===!1)return a}return a===void 0?void 0:null}return e=e.getAttribute(t),e===""&&a===!0?!0:(Rt(a,t),e===""+a?a:e)}}function Ir(e,t,a){if(Xa(t))if(a===null)e.removeAttribute(t);else{switch(typeof a){case"undefined":case"function":case"symbol":e.removeAttribute(t);return;case"boolean":var r=t.toLowerCase().slice(0,5);if(r!=="data-"&&r!=="aria-"){e.removeAttribute(t);return}}Rt(a,t),e.setAttribute(t,""+a)}}function ed(e,t,a){if(a===null)e.removeAttribute(t);else{switch(typeof a){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(t);return}Rt(a,t),e.setAttribute(t,""+a)}}function Pl(e,t,a,r){if(r===null)e.removeAttribute(a);else{switch(typeof r){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(a);return}Rt(r,a),e.setAttributeNS(t,a,""+r)}}function va(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":return e;case"object":return Ru(e),e;default:return""}}function pm(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function sg(e,t,a){var r=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);if(!e.hasOwnProperty(t)&&typeof r<"u"&&typeof r.get=="function"&&typeof r.set=="function"){var d=r.get,m=r.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return d.call(this)},set:function(b){Ru(b),a=""+b,m.call(this,b)}}),Object.defineProperty(e,t,{enumerable:r.enumerable}),{getValue:function(){return a},setValue:function(b){Ru(b),a=""+b},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function ym(e){if(!e._valueTracker){var t=pm(e)?"checked":"value";e._valueTracker=sg(e,t,""+e[t])}}function ug(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var a=t.getValue(),r="";return e&&(r=pm(e)?e.checked?"true":"false":e.value),e=r,e!==a?(t.setValue(e),!0):!1}function dl(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function Gt(e){return e.replace(ny,function(t){return"\\"+t.charCodeAt(0).toString(16)+" "})}function Mi(e,t){t.checked===void 0||t.defaultChecked===void 0||g1||(console.error("%s contains an input of type %s with both checked and defaultChecked props. Input elements must be either controlled or uncontrolled (specify either the checked prop, or the defaultChecked prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://react.dev/link/controlled-components",wt()||"A component",t.type),g1=!0),t.value===void 0||t.defaultValue===void 0||c0||(console.error("%s contains an input of type %s with both value and defaultValue props. Input elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://react.dev/link/controlled-components",wt()||"A component",t.type),c0=!0)}function Ns(e,t,a,r,d,m,b,T){e.name="",b!=null&&typeof b!="function"&&typeof b!="symbol"&&typeof b!="boolean"?(Rt(b,"type"),e.type=b):e.removeAttribute("type"),t!=null?b==="number"?(t===0&&e.value===""||e.value!=t)&&(e.value=""+va(t)):e.value!==""+va(t)&&(e.value=""+va(t)):b!=="submit"&&b!=="reset"||e.removeAttribute("value"),t!=null?rg(e,b,va(t)):a!=null?rg(e,b,va(a)):r!=null&&e.removeAttribute("value"),d==null&&m!=null&&(e.defaultChecked=!!m),d!=null&&(e.checked=d&&typeof d!="function"&&typeof d!="symbol"),T!=null&&typeof T!="function"&&typeof T!="symbol"&&typeof T!="boolean"?(Rt(T,"name"),e.name=""+va(T)):e.removeAttribute("name")}function gm(e,t,a,r,d,m,b,T){if(m!=null&&typeof m!="function"&&typeof m!="symbol"&&typeof m!="boolean"&&(Rt(m,"type"),e.type=m),t!=null||a!=null){if(!(m!=="submit"&&m!=="reset"||t!=null)){ym(e);return}a=a!=null?""+va(a):"",t=t!=null?""+va(t):a,T||t===e.value||(e.value=t),e.defaultValue=t}r=r??d,r=typeof r!="function"&&typeof r!="symbol"&&!!r,e.checked=T?e.checked:!!r,e.defaultChecked=!!r,b!=null&&typeof b!="function"&&typeof b!="symbol"&&typeof b!="boolean"&&(Rt(b,"name"),e.name=b),ym(e)}function rg(e,t,a){t==="number"&&dl(e.ownerDocument)===e||e.defaultValue===""+a||(e.defaultValue=""+a)}function $b(e,t){t.value==null&&(typeof t.children=="object"&&t.children!==null?uh.Children.forEach(t.children,function(a){a==null||typeof a=="string"||typeof a=="number"||typeof a=="bigint"||i||(i=!0,console.error("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>."))}):t.dangerouslySetInnerHTML==null||l||(l=!0,console.error("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected."))),t.selected==null||ph||(console.error("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),ph=!0)}function cg(){var e=wt();return e?`
42
-
43
- Check the render method of \``+e+"`.":""}function Fl(e,t,a,r){if(e=e.options,t){t={};for(var d=0;d<a.length;d++)t["$"+a[d]]=!0;for(a=0;a<e.length;a++)d=t.hasOwnProperty("$"+e[a].value),e[a].selected!==d&&(e[a].selected=d),d&&r&&(e[a].defaultSelected=!0)}else{for(a=""+va(a),t=null,d=0;d<e.length;d++){if(e[d].value===a){e[d].selected=!0,r&&(e[d].defaultSelected=!0);return}t!==null||e[d].disabled||(t=e[d])}t!==null&&(t.selected=!0)}}function vm(e,t){for(e=0;e<f.length;e++){var a=f[e];if(t[a]!=null){var r=Un(t[a]);t.multiple&&!r?console.error("The `%s` prop supplied to <select> must be an array if `multiple` is true.%s",a,cg()):!t.multiple&&r&&console.error("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.%s",a,cg())}}t.value===void 0||t.defaultValue===void 0||s||(console.error("Select elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled select element and remove one of these props. More info: https://react.dev/link/controlled-components"),s=!0)}function Cu(e,t){t.value===void 0||t.defaultValue===void 0||g||(console.error("%s contains a textarea with both value and defaultValue props. Textarea elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled textarea and remove one of these props. More info: https://react.dev/link/controlled-components",wt()||"A component"),g=!0),t.children!=null&&t.value==null&&console.error("Use the `defaultValue` or `value` props instead of setting children on <textarea>.")}function zu(e,t,a){if(t!=null&&(t=""+va(t),t!==e.value&&(e.value=t),a==null)){e.defaultValue!==t&&(e.defaultValue=t);return}e.defaultValue=a!=null?""+va(a):""}function ec(e,t,a,r){if(t==null){if(r!=null){if(a!=null)throw Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(Un(r)){if(1<r.length)throw Error("<textarea> can only have at most one child.");r=r[0]}a=r}a==null&&(a=""),t=a}a=va(t),e.defaultValue=a,r=e.textContent,r===a&&r!==""&&r!==null&&(e.value=r),ym(e)}function Uu(e,t){return e.serverProps===void 0&&e.serverTail.length===0&&e.children.length===1&&3<e.distanceFromLeaf&&e.distanceFromLeaf>15-t?Uu(e.children[0],t):e}function Ht(e){return" "+" ".repeat(e)}function Bu(e){return"+ "+" ".repeat(e)}function js(e){return"- "+" ".repeat(e)}function qs(e){switch(e.tag){case 26:case 27:case 5:return e.type;case 16:return"Lazy";case 31:return"Activity";case 13:return"Suspense";case 19:return"SuspenseList";case 0:case 15:return e=e.type,e.displayName||e.name||null;case 11:return e=e.type.render,e.displayName||e.name||null;case 1:return e=e.type,e.displayName||e.name||null;default:return null}}function Wl(e,t){return v.test(e)?(e=JSON.stringify(e),e.length>t-2?8>t?'{"..."}':"{"+e.slice(0,t-7)+'..."}':"{"+e+"}"):e.length>t?5>t?'{"..."}':e.slice(0,t-3)+"...":e}function bm(e,t,a){var r=120-2*a;if(t===null)return Bu(a)+Wl(e,r)+`
44
- `;if(typeof t=="string"){for(var d=0;d<t.length&&d<e.length&&t.charCodeAt(d)===e.charCodeAt(d);d++);return d>r-8&&10<d&&(e="..."+e.slice(d-8),t="..."+t.slice(d-8)),Bu(a)+Wl(e,r)+`
45
- `+js(a)+Wl(t,r)+`
46
- `}return Ht(a)+Wl(e,r)+`
47
- `}function Sm(e){return Object.prototype.toString.call(e).replace(/^\[object (.*)\]$/,function(t,a){return a})}function tc(e,t){switch(typeof e){case"string":return e=JSON.stringify(e),e.length>t?5>t?'"..."':e.slice(0,t-4)+'..."':e;case"object":if(e===null)return"null";if(Un(e))return"[...]";if(e.$$typeof===nl)return(t=he(e.type))?"<"+t+">":"<...>";var a=Sm(e);if(a==="Object"){a="",t-=2;for(var r in e)if(e.hasOwnProperty(r)){var d=JSON.stringify(r);if(d!=='"'+r+'"'&&(r=d),t-=r.length-2,d=tc(e[r],15>t?t:15),t-=d.length,0>t){a+=a===""?"...":", ...";break}a+=(a===""?"":",")+r+":"+d}return"{"+a+"}"}return a;case"function":return(t=e.displayName||e.name)?"function "+t:"function";default:return String(e)}}function nc(e,t){return typeof e!="string"||v.test(e)?"{"+tc(e,t-2)+"}":e.length>t-2?5>t?'"..."':'"'+e.slice(0,t-5)+'..."':'"'+e+'"'}function ic(e,t,a){var r=120-a.length-e.length,d=[],m;for(m in t)if(t.hasOwnProperty(m)&&m!=="children"){var b=nc(t[m],120-a.length-m.length-1);r-=m.length+b.length+2,d.push(m+"="+b)}return d.length===0?a+"<"+e+`>
48
- `:0<r?a+"<"+e+" "+d.join(" ")+`>
49
- `:a+"<"+e+`
50
- `+a+" "+d.join(`
51
- `+a+" ")+`
52
- `+a+`>
53
- `}function Tm(e,t,a){var r="",d=ct({},t),m;for(m in e)if(e.hasOwnProperty(m)){delete d[m];var b=120-2*a-m.length-2,T=tc(e[m],b);t.hasOwnProperty(m)?(b=tc(t[m],b),r+=Bu(a)+m+": "+T+`
54
- `,r+=js(a)+m+": "+b+`
55
- `):r+=Bu(a)+m+": "+T+`
56
- `}for(var R in d)d.hasOwnProperty(R)&&(e=tc(d[R],120-2*a-R.length-2),r+=js(a)+R+": "+e+`
57
- `);return r}function Po(e,t,a,r){var d="",m=new Map;for(O in a)a.hasOwnProperty(O)&&m.set(O.toLowerCase(),O);if(m.size===1&&m.has("children"))d+=ic(e,t,Ht(r));else{for(var b in t)if(t.hasOwnProperty(b)&&b!=="children"){var T=120-2*(r+1)-b.length-1,R=m.get(b.toLowerCase());if(R!==void 0){m.delete(b.toLowerCase());var O=t[b];R=a[R];var q=nc(O,T);T=nc(R,T),typeof O=="object"&&O!==null&&typeof R=="object"&&R!==null&&Sm(O)==="Object"&&Sm(R)==="Object"&&(2<Object.keys(O).length||2<Object.keys(R).length||-1<q.indexOf("...")||-1<T.indexOf("..."))?d+=Ht(r+1)+b+`={{
58
- `+Tm(O,R,r+2)+Ht(r+1)+`}}
59
- `:(d+=Bu(r+1)+b+"="+q+`
60
- `,d+=js(r+1)+b+"="+T+`
61
- `)}else d+=Ht(r+1)+b+"="+nc(t[b],T)+`
62
- `}m.forEach(function(k){if(k!=="children"){var H=120-2*(r+1)-k.length-1;d+=js(r+1)+k+"="+nc(a[k],H)+`
63
- `}}),d=d===""?Ht(r)+"<"+e+`>
64
- `:Ht(r)+"<"+e+`
65
- `+d+Ht(r)+`>
66
- `}return e=a.children,t=t.children,typeof e=="string"||typeof e=="number"||typeof e=="bigint"?(m="",(typeof t=="string"||typeof t=="number"||typeof t=="bigint")&&(m=""+t),d+=bm(m,""+e,r+1)):(typeof t=="string"||typeof t=="number"||typeof t=="bigint")&&(d=e==null?d+bm(""+t,null,r+1):d+bm(""+t,void 0,r+1)),d}function ba(e,t){var a=qs(e);if(a===null){for(a="",e=e.child;e;)a+=ba(e,t),e=e.sibling;return a}return Ht(t)+"<"+a+`>
67
- `}function Em(e,t){var a=Uu(e,t);if(a!==e&&(e.children.length!==1||e.children[0]!==a))return Ht(t)+`...
68
- `+Em(a,t+1);a="";var r=e.fiber._debugInfo;if(r)for(var d=0;d<r.length;d++){var m=r[d].name;typeof m=="string"&&(a+=Ht(t)+"<"+m+`>
69
- `,t++)}if(r="",d=e.fiber.pendingProps,e.fiber.tag===6)r=bm(d,e.serverProps,t),t++;else if(m=qs(e.fiber),m!==null)if(e.serverProps===void 0){r=t;var b=120-2*r-m.length-2,T="";for(O in d)if(d.hasOwnProperty(O)&&O!=="children"){var R=nc(d[O],15);if(b-=O.length+R.length+2,0>b){T+=" ...";break}T+=" "+O+"="+R}r=Ht(r)+"<"+m+T+`>
70
- `,t++}else e.serverProps===null?(r=ic(m,d,Bu(t)),t++):typeof e.serverProps=="string"?console.error("Should not have matched a non HostText fiber to a Text node. This is a bug in React."):(r=Po(m,d,e.serverProps,t),t++);var O="";for(d=e.fiber.child,m=0;d&&m<e.children.length;)b=e.children[m],b.fiber===d?(O+=Em(b,t),m++):O+=ba(d,t),d=d.sibling;for(d&&0<e.children.length&&(O+=Ht(t)+`...
71
- `),d=e.serverTail,e.serverProps===null&&t--,e=0;e<d.length;e++)m=d[e],O=typeof m=="string"?O+(js(t)+Wl(m,120-2*t)+`
72
- `):O+ic(m.type,m.props,js(t));return a+r+O}function fg(e){try{return`
73
-
74
- `+Em(e,0)}catch{return""}}function Am(e,t,a){for(var r=t,d=null,m=0;r;)r===e&&(m=0),d={fiber:r,children:d!==null?[d]:[],serverProps:r===t?a:r===e?null:void 0,serverTail:[],distanceFromLeaf:m},m++,r=r.return;return d!==null?fg(d).replaceAll(/^[+-]/gm,">"):""}function dg(e,t){var a=ct({},e||se),r={tag:t};return C.indexOf(t)!==-1&&(a.aTagInScope=null,a.buttonTagInScope=null,a.nobrTagInScope=null),N.indexOf(t)!==-1&&(a.pTagInButtonScope=null),D.indexOf(t)!==-1&&t!=="address"&&t!=="div"&&t!=="p"&&(a.listItemTagAutoclosing=null,a.dlItemTagAutoclosing=null),a.current=r,t==="form"&&(a.formTag=r),t==="a"&&(a.aTagInScope=r),t==="button"&&(a.buttonTagInScope=r),t==="nobr"&&(a.nobrTagInScope=r),t==="p"&&(a.pTagInButtonScope=r),t==="li"&&(a.listItemTagAutoclosing=r),(t==="dd"||t==="dt")&&(a.dlItemTagAutoclosing=r),t==="#document"||t==="html"?a.containerTagInScope=null:a.containerTagInScope||(a.containerTagInScope=r),e!==null||t!=="#document"&&t!=="html"&&t!=="body"?a.implicitRootScope===!0&&(a.implicitRootScope=!1):a.implicitRootScope=!0,a}function td(e,t,a){switch(t){case"select":return e==="hr"||e==="option"||e==="optgroup"||e==="script"||e==="template"||e==="#text";case"optgroup":return e==="option"||e==="#text";case"option":return e==="#text";case"tr":return e==="th"||e==="td"||e==="style"||e==="script"||e==="template";case"tbody":case"thead":case"tfoot":return e==="tr"||e==="style"||e==="script"||e==="template";case"colgroup":return e==="col"||e==="template";case"table":return e==="caption"||e==="colgroup"||e==="tbody"||e==="tfoot"||e==="thead"||e==="style"||e==="script"||e==="template";case"head":return e==="base"||e==="basefont"||e==="bgsound"||e==="link"||e==="meta"||e==="title"||e==="noscript"||e==="noframes"||e==="style"||e==="script"||e==="template";case"html":if(a)break;return e==="head"||e==="body"||e==="frameset";case"frameset":return e==="frame";case"#document":if(!a)return e==="html"}switch(e){case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return t!=="h1"&&t!=="h2"&&t!=="h3"&&t!=="h4"&&t!=="h5"&&t!=="h6";case"rp":case"rt":return F.indexOf(t)===-1;case"caption":case"col":case"colgroup":case"frameset":case"frame":case"tbody":case"td":case"tfoot":case"th":case"thead":case"tr":return t==null;case"head":return a||t===null;case"html":return a&&t==="#document"||t===null;case"body":return a&&(t==="#document"||t==="html")||t===null}return!0}function EA(e,t){switch(e){case"address":case"article":case"aside":case"blockquote":case"center":case"details":case"dialog":case"dir":case"div":case"dl":case"fieldset":case"figcaption":case"figure":case"footer":case"header":case"hgroup":case"main":case"menu":case"nav":case"ol":case"p":case"section":case"summary":case"ul":case"pre":case"listing":case"table":case"hr":case"xmp":case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return t.pTagInButtonScope;case"form":return t.formTag||t.pTagInButtonScope;case"li":return t.listItemTagAutoclosing;case"dd":case"dt":return t.dlItemTagAutoclosing;case"button":return t.buttonTagInScope;case"a":return t.aTagInScope;case"nobr":return t.nobrTagInScope}return null}function Sa(e,t){for(;e;){switch(e.tag){case 5:case 26:case 27:if(e.type===t)return e}e=e.return}return null}function nd(e,t){t=t||se;var a=t.current;if(t=(a=td(e,a&&a.tag,t.implicitRootScope)?null:a)?null:EA(e,t),t=a||t,!t)return!0;var r=t.tag;if(t=String(!!a)+"|"+e+"|"+r,ce[t])return!1;ce[t]=!0;var d=(t=ra)?Sa(t.return,r):null,m=t!==null&&d!==null?Am(d,t,null):"",b="<"+e+">";return a?(a="",r==="table"&&e==="tr"&&(a+=" Add a <tbody>, <thead> or <tfoot> to your code to match the DOM tree generated by the browser."),console.error(`In HTML, %s cannot be a child of <%s>.%s
75
- This will cause a hydration error.%s`,b,r,a,m)):console.error(`In HTML, %s cannot be a descendant of <%s>.
76
- This will cause a hydration error.%s`,b,r,m),t&&(e=t.return,d===null||e===null||d===e&&e._debugOwner===t._debugOwner||_e(d,function(){console.error(`<%s> cannot contain a nested %s.
77
- See this log for the ancestor stack trace.`,r,b)})),!1}function id(e,t,a){if(a||td("#text",t,!1))return!0;if(a="#text|"+t,ce[a])return!1;ce[a]=!0;var r=(a=ra)?Sa(a,t):null;return a=a!==null&&r!==null?Am(r,a,a.tag!==6?{children:null}:null):"",/\S/.test(e)?console.error(`In HTML, text nodes cannot be a child of <%s>.
78
- This will cause a hydration error.%s`,t,a):console.error(`In HTML, whitespace text nodes cannot be a child of <%s>. Make sure you don't have any extra whitespace between tags on each line of your source code.
79
- This will cause a hydration error.%s`,t,a),!1}function Vu(e,t){if(t){var a=e.firstChild;if(a&&a===e.lastChild&&a.nodeType===3){a.nodeValue=t;return}}e.textContent=t}function ac(e){return e.replace(J,function(t,a){return a.toUpperCase()})}function hg(e,t,a){var r=t.indexOf("--")===0;r||(-1<t.indexOf("-")?K.hasOwnProperty(t)&&K[t]||(K[t]=!0,console.error("Unsupported style property %s. Did you mean %s?",t,ac(t.replace(Zt,"ms-")))):Ze.test(t)?K.hasOwnProperty(t)&&K[t]||(K[t]=!0,console.error("Unsupported vendor-prefixed style property %s. Did you mean %s?",t,t.charAt(0).toUpperCase()+t.slice(1))):!G.test(a)||re.hasOwnProperty(a)&&re[a]||(re[a]=!0,console.error(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,t,a.replace(G,""))),typeof a=="number"&&(isNaN(a)?qe||(qe=!0,console.error("`NaN` is an invalid value for the `%s` css style property.",t)):isFinite(a)||_t||(_t=!0,console.error("`Infinity` is an invalid value for the `%s` css style property.",t)))),a==null||typeof a=="boolean"||a===""?r?e.setProperty(t,""):t==="float"?e.cssFloat="":e[t]="":r?e.setProperty(t,a):typeof a!="number"||a===0||He.has(t)?t==="float"?e.cssFloat=a:(vi(a,t),e[t]=(""+a).trim()):e[t]=a+"px"}function mg(e,t,a){if(t!=null&&typeof t!="object")throw Error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.");if(t&&Object.freeze(t),e=e.style,a!=null){if(t){var r={};if(a){for(var d in a)if(a.hasOwnProperty(d)&&!t.hasOwnProperty(d))for(var m=W[d]||[d],b=0;b<m.length;b++)r[m[b]]=d}for(var T in t)if(t.hasOwnProperty(T)&&(!a||a[T]!==t[T]))for(d=W[T]||[T],m=0;m<d.length;m++)r[d[m]]=T;T={};for(var R in t)for(d=W[R]||[R],m=0;m<d.length;m++)T[d[m]]=R;R={};for(var O in r)if(d=r[O],(m=T[O])&&d!==m&&(b=d+","+m,!R[b])){R[b]=!0,b=console;var q=t[d];b.error.call(b,"%s a style property during rerender (%s) when a conflicting property is set (%s) can lead to styling bugs. To avoid this, don't mix shorthand and non-shorthand properties for the same value; instead, replace the shorthand with separate values.",q==null||typeof q=="boolean"||q===""?"Removing":"Updating",d,m)}}for(var k in a)!a.hasOwnProperty(k)||t!=null&&t.hasOwnProperty(k)||(k.indexOf("--")===0?e.setProperty(k,""):k==="float"?e.cssFloat="":e[k]="");for(var H in t)O=t[H],t.hasOwnProperty(H)&&a[H]!==O&&hg(e,H,O)}else for(r in t)t.hasOwnProperty(r)&&hg(e,r,t[r])}function Il(e){if(e.indexOf("-")===-1)return!1;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}function Kb(e){return Mt.get(e)||e}function Pb(e,t){if(Va.call(iy,t)&&iy[t])return!0;if(QL.test(t)){if(e="aria-"+t.slice(4).toLowerCase(),e=v1.hasOwnProperty(e)?e:null,e==null)return console.error("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",t),iy[t]=!0;if(t!==e)return console.error("Invalid ARIA attribute `%s`. Did you mean `%s`?",t,e),iy[t]=!0}if(XL.test(t)){if(e=t.toLowerCase(),e=v1.hasOwnProperty(e)?e:null,e==null)return iy[t]=!0,!1;t!==e&&(console.error("Unknown ARIA attribute `%s`. Did you mean `%s`?",t,e),iy[t]=!0)}return!0}function Fb(e,t){var a=[],r;for(r in t)Pb(e,r)||a.push(r);t=a.map(function(d){return"`"+d+"`"}).join(", "),a.length===1?console.error("Invalid aria prop %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props",t,e):1<a.length&&console.error("Invalid aria props %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props",t,e)}function pg(e,t,a,r){if(Va.call(Ha,t)&&Ha[t])return!0;var d=t.toLowerCase();if(d==="onfocusin"||d==="onfocusout")return console.error("React uses onFocus and onBlur instead of onFocusIn and onFocusOut. All React events are normalized to bubble, so onFocusIn and onFocusOut are not needed/supported by React."),Ha[t]=!0;if(typeof a=="function"&&(e==="form"&&t==="action"||e==="input"&&t==="formAction"||e==="button"&&t==="formAction"))return!0;if(r!=null){if(e=r.possibleRegistrationNames,r.registrationNameDependencies.hasOwnProperty(t))return!0;if(r=e.hasOwnProperty(d)?e[d]:null,r!=null)return console.error("Invalid event handler property `%s`. Did you mean `%s`?",t,r),Ha[t]=!0;if(KR.test(t))return console.error("Unknown event handler property `%s`. It will be ignored.",t),Ha[t]=!0}else if(KR.test(t))return ZL.test(t)&&console.error("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",t),Ha[t]=!0;if(JL.test(t)||$L.test(t))return!0;if(d==="innerhtml")return console.error("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),Ha[t]=!0;if(d==="aria")return console.error("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),Ha[t]=!0;if(d==="is"&&a!==null&&a!==void 0&&typeof a!="string")return console.error("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof a),Ha[t]=!0;if(typeof a=="number"&&isNaN(a))return console.error("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",t),Ha[t]=!0;if(Vl.hasOwnProperty(d)){if(d=Vl[d],d!==t)return console.error("Invalid DOM property `%s`. Did you mean `%s`?",t,d),Ha[t]=!0}else if(t!==d)return console.error("React does not recognize the `%s` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `%s` instead. If you accidentally passed it from a parent component, remove it from the DOM element.",t,d),Ha[t]=!0;switch(t){case"dangerouslySetInnerHTML":case"children":case"style":case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":return!0;case"innerText":case"textContent":return!0}switch(typeof a){case"boolean":switch(t){case"autoFocus":case"checked":case"multiple":case"muted":case"selected":case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":case"capture":case"download":case"inert":return!0;default:return d=t.toLowerCase().slice(0,5),d==="data-"||d==="aria-"?!0:(a?console.error('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.',a,t,t,a,t):console.error('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.',a,t,t,a,t,t,t),Ha[t]=!0)}case"function":case"symbol":return Ha[t]=!0,!1;case"string":if(a==="false"||a==="true"){switch(t){case"checked":case"selected":case"multiple":case"muted":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":case"inert":break;default:return!0}console.error("Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?",a,t,a==="false"?"The browser will interpret it as a truthy value.":'Although this works, it will not work as expected if you pass the string "false".',t,a),Ha[t]=!0}}return!0}function AA(e,t,a){var r=[],d;for(d in t)pg(e,d,t[d],a)||r.push(d);t=r.map(function(m){return"`"+m+"`"}).join(", "),r.length===1?console.error("Invalid value for prop %s on <%s> tag. Either remove it from the element, or pass a string or number value to keep it in the DOM. For details, see https://react.dev/link/attribute-behavior ",t,e):1<r.length&&console.error("Invalid values for props %s on <%s> tag. Either remove them from the element, or pass a string or number value to keep them in the DOM. For details, see https://react.dev/link/attribute-behavior ",t,e)}function ad(e){return KL.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}function Qa(){}function hl(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}function xm(e){var t=Se(e);if(t&&(e=t.stateNode)){var a=e[Qi]||null;e:switch(e=t.stateNode,t.type){case"input":if(Ns(e,a.value,a.defaultValue,a.defaultValue,a.checked,a.defaultChecked,a.type,a.name),t=a.name,a.type==="radio"&&t!=null){for(a=e;a.parentNode;)a=a.parentNode;for(Rt(t,"name"),a=a.querySelectorAll('input[name="'+Gt(""+t)+'"][type="radio"]'),t=0;t<a.length;t++){var r=a[t];if(r!==e&&r.form===e.form){var d=r[Qi]||null;if(!d)throw Error("ReactDOMInput: Mixing React and non-React radio inputs with the same `name` is not supported.");Ns(r,d.value,d.defaultValue,d.defaultValue,d.checked,d.defaultChecked,d.type,d.name)}}for(t=0;t<a.length;t++)r=a[t],r.form===e.form&&ug(r)}break e;case"textarea":zu(e,a.value,a.defaultValue);break e;case"select":t=a.value,t!=null&&Fl(e,!!a.multiple,t,!1)}}}function _m(e,t,a){if(LA)return e(t,a);LA=!0;try{var r=e(t);return r}finally{if(LA=!1,(ay!==null||ly!==null)&&(za(),ay&&(t=ay,e=ly,ly=ay=null,xm(t),e)))for(t=0;t<e.length;t++)xm(e[t])}}function eo(e,t){var a=e.stateNode;if(a===null)return null;var r=a[Qi]||null;if(r===null)return null;a=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(a&&typeof a!="function")throw Error("Expected `"+t+"` listener to be a function, instead got a value of `"+typeof a+"` type.");return a}function Hu(){if(b1)return b1;var e,t=jA,a=t.length,r,d="value"in uf?uf.value:uf.textContent,m=d.length;for(e=0;e<a&&t[e]===d[e];e++);var b=a-e;for(r=1;r<=b&&t[a-r]===d[m-r];r++);return b1=d.slice(e,1<r?1-r:void 0)}function ld(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 lc(){return!0}function yg(){return!1}function $n(e){function t(a,r,d,m,b){this._reactName=a,this._targetInst=d,this.type=r,this.nativeEvent=m,this.target=b,this.currentTarget=null;for(var T in e)e.hasOwnProperty(T)&&(a=e[T],this[T]=a?a(m):m[T]);return this.isDefaultPrevented=(m.defaultPrevented!=null?m.defaultPrevented:m.returnValue===!1)?lc:yg,this.isPropagationStopped=yg,this}return ct(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var a=this.nativeEvent;a&&(a.preventDefault?a.preventDefault():typeof a.returnValue!="unknown"&&(a.returnValue=!1),this.isDefaultPrevented=lc)},stopPropagation:function(){var a=this.nativeEvent;a&&(a.stopPropagation?a.stopPropagation():typeof a.cancelBubble!="unknown"&&(a.cancelBubble=!0),this.isPropagationStopped=lc)},persist:function(){},isPersistent:lc}),t}function Fo(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=u7[e])?!!t[e]:!1}function od(){return Fo}function oc(e,t){switch(e){case"keyup":return S7.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==IR;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Wo(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}function gg(e,t){switch(e){case"compositionend":return Wo(t);case"keypress":return t.which!==tO?null:(iO=!0,nO);case"textInput":return e=t.data,e===nO&&iO?null:e;default:return null}}function Dm(e,t){if(oy)return e==="compositionend"||!kA&&oc(e,t)?(e=Hu(),b1=jA=uf=null,oy=!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 eO&&t.locale!=="ko"?null:t.data;default:return null}}function vg(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!E7[e.type]:t==="textarea"}function wm(e){if(!bu)return!1;e="on"+e;var t=e in document;return t||(t=document.createElement("div"),t.setAttribute(e,"return;"),t=typeof t[e]=="function"),t}function sd(e,t,a,r){ay?ly?ly.push(r):ly=[r]:ay=r,t=Ml(t,"onChange"),0<t.length&&(a=new S1("onChange","change",null,a,r),e.push({event:a,listeners:t}))}function Wb(e){jt(e,0)}function fi(e){var t=Ue(e);if(ug(t))return e}function Ys(e,t){if(e==="change")return t}function ud(){y0&&(y0.detachEvent("onpropertychange",sc),g0=y0=null)}function sc(e){if(e.propertyName==="value"&&fi(g0)){var t=[];sd(t,g0,e,hl(e)),_m(Wb,t)}}function xA(e,t,a){e==="focusin"?(ud(),y0=t,g0=a,y0.attachEvent("onpropertychange",sc)):e==="focusout"&&ud()}function bg(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return fi(g0)}function Sg(e,t){if(e==="click")return fi(t)}function rd(e,t){if(e==="input"||e==="change")return fi(t)}function Rm(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}function uc(e,t){if(La(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var a=Object.keys(e),r=Object.keys(t);if(a.length!==r.length)return!1;for(r=0;r<a.length;r++){var d=a[r];if(!Va.call(t,d)||!La(e[d],t[d]))return!1}return!0}function Ib(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function eS(e,t){var a=Ib(e);e=0;for(var r;a;){if(a.nodeType===3){if(r=e+a.textContent.length,e<=t&&r>=t)return{node:a,offset:t-e};e=r}e:{for(;a;){if(a.nextSibling){a=a.nextSibling;break e}a=a.parentNode}a=void 0}a=Ib(a)}}function tS(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?tS(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Om(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=dl(e.document);t instanceof e.HTMLIFrameElement;){try{var a=typeof t.contentWindow.location.href=="string"}catch{a=!1}if(a)e=t.contentWindow;else break;t=dl(e.document)}return t}function Tg(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 nS(e,t,a){var r=a.window===a?a.document:a.nodeType===9?a:a.ownerDocument;QA||sy==null||sy!==dl(r)||(r=sy,"selectionStart"in r&&Tg(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}),v0&&uc(v0,r)||(v0=r,r=Ml(XA,"onSelect"),0<r.length&&(t=new S1("onSelect","select",null,t,a),e.push({event:t,listeners:r}),t.target=sy)))}function Lu(e,t){var a={};return a[e.toLowerCase()]=t.toLowerCase(),a["Webkit"+e]="webkit"+t,a["Moz"+e]="moz"+t,a}function Nu(e){if(ZA[e])return ZA[e];if(!uy[e])return e;var t=uy[e],a;for(a in t)if(t.hasOwnProperty(a)&&a in lO)return ZA[e]=t[a];return e}function ml(e,t){cO.set(e,t),mt(t,[e])}function iS(e){for(var t=E1,a=0;a<e.length;a++){var r=e[a];if(typeof r=="object"&&r!==null)if(Un(r)&&r.length===2&&typeof r[0]=="string"){if(t!==E1&&t!==FA)return KA;t=FA}else return KA;else{if(typeof r=="function"||typeof r=="string"&&50<r.length||t!==E1&&t!==PA)return KA;t=PA}}return t}function Eg(e,t,a,r){for(var d in e)Va.call(e,d)&&d[0]!=="_"&&to(d,e[d],t,a,r)}function to(e,t,a,r,d){switch(typeof t){case"object":if(t===null){t="null";break}else{if(t.$$typeof===nl){var m=he(t.type)||"…",b=t.key;t=t.props;var T=Object.keys(t),R=T.length;if(b==null&&R===0){t="<"+m+" />";break}if(3>r||R===1&&T[0]==="children"&&b==null){t="<"+m+" … />";break}a.push([d+"  ".repeat(r)+e,"<"+m]),b!==null&&to("key",b,a,r+1,d),e=!1;for(var O in t)O==="children"?t.children!=null&&(!Un(t.children)||0<t.children.length)&&(e=!0):Va.call(t,O)&&O[0]!=="_"&&to(O,t[O],a,r+1,d);a.push(["",e?">…</"+m+">":"/>"]);return}if(m=Object.prototype.toString.call(t),m=m.slice(8,m.length-1),m==="Array"){if(O=iS(t),O===PA||O===E1){t=JSON.stringify(t);break}else if(O===FA){for(a.push([d+"  ".repeat(r)+e,""]),e=0;e<t.length;e++)m=t[e],to(m[0],m[1],a,r+1,d);return}}if(m==="Promise"){if(t.status==="fulfilled"){if(m=a.length,to(e,t.value,a,r,d),a.length>m){a=a[m],a[1]="Promise<"+(a[1]||"Object")+">";return}}else if(t.status==="rejected"&&(m=a.length,to(e,t.reason,a,r,d),a.length>m)){a=a[m],a[1]="Rejected Promise<"+a[1]+">";return}a.push(["  ".repeat(r)+e,"Promise"]);return}m==="Object"&&(O=Object.getPrototypeOf(t))&&typeof O.constructor=="function"&&(m=O.constructor.name),a.push([d+"  ".repeat(r)+e,m==="Object"?3>r?"":"…":m]),3>r&&Eg(t,a,r+1,d);return}case"function":t=t.name===""?"() => {}":t.name+"() {}";break;case"string":t=t===O7?"…":JSON.stringify(t);break;case"undefined":t="undefined";break;case"boolean":t=t?"true":"false";break;default:t=String(t)}a.push([d+"  ".repeat(r)+e,t])}function aS(e,t,a,r){var d=!0;for(b in e)b in t||(a.push([A1+"  ".repeat(r)+b,"…"]),d=!1);for(var m in t)if(m in e){var b=e[m],T=t[m];if(b!==T){if(r===0&&m==="children")d="  ".repeat(r)+m,a.push([A1+d,"…"],[x1+d,"…"]);else{if(!(3<=r)){if(typeof b=="object"&&typeof T=="object"&&b!==null&&T!==null&&b.$$typeof===T.$$typeof)if(T.$$typeof===nl){if(b.type===T.type&&b.key===T.key){b=he(T.type)||"…",d="  ".repeat(r)+m,b="<"+b+" … />",a.push([A1+d,b],[x1+d,b]),d=!1;continue}}else{var R=Object.prototype.toString.call(b),O=Object.prototype.toString.call(T);if(R===O&&(O==="[object Object]"||O==="[object Array]")){R=[hO+"  ".repeat(r)+m,O==="[object Array]"?"Array":""],a.push(R),O=a.length,aS(b,T,a,r+1)?O===a.length&&(R[1]="Referentially unequal but deeply equal objects. Consider memoization."):d=!1;continue}}else if(typeof b=="function"&&typeof T=="function"&&b.name===T.name&&b.length===T.length&&(R=Function.prototype.toString.call(b),O=Function.prototype.toString.call(T),R===O)){b=T.name===""?"() => {}":T.name+"() {}",a.push([hO+"  ".repeat(r)+m,b+" Referentially unequal function closure. Consider memoization."]);continue}}to(m,b,a,r,A1),to(m,T,a,r,x1)}d=!1}}else a.push([x1+"  ".repeat(r)+m,"…"]),d=!1;return d}function pl(e){xt=e&63?"Blocking":e&64?"Gesture":e&4194176?"Transition":e&62914560?"Suspense":e&2080374784?"Idle":"Other"}function Za(e,t,a,r){un&&(cf.start=t,cf.end=a,Ar.color="warning",Ar.tooltipText=r,Ar.properties=null,(e=e._debugTask)?e.run(performance.measure.bind(performance,r,cf)):performance.measure(r,cf))}function Mm(e,t,a){Za(e,t,a,"Reconnect")}function Cm(e,t,a,r,d){var m=be(e);if(m!==null&&un){var b=e.alternate,T=e.actualDuration;if(b===null||b.child!==e.child)for(var R=e.child;R!==null;R=R.sibling)T-=R.actualDuration;r=.5>T?r?"tertiary-light":"primary-light":10>T?r?"tertiary":"primary":100>T?r?"tertiary-dark":"primary-dark":"error";var O=e.memoizedProps;T=e._debugTask,O!==null&&b!==null&&b.memoizedProps!==O?(R=[M7],O=aS(b.memoizedProps,O,R,0),1<R.length&&(O&&!rf&&(b.lanes&d)===0&&100<e.actualDuration?(rf=!0,R[0]=C7,Ar.color="warning",Ar.tooltipText=mO):(Ar.color=r,Ar.tooltipText=m),Ar.properties=R,cf.start=t,cf.end=a,T!=null?T.run(performance.measure.bind(performance,"​"+m,cf)):performance.measure("​"+m,cf))):T!=null?T.run(console.timeStamp.bind(console,m,t,a,Oo,void 0,r)):console.timeStamp(m,t,a,Oo,void 0,r)}}function Ag(e,t,a,r){if(un){var d=be(e);if(d!==null){for(var m=null,b=[],T=0;T<r.length;T++){var R=r[T];m==null&&R.source!==null&&(m=R.source._debugTask),R=R.value,b.push(["Error",typeof R=="object"&&R!==null&&typeof R.message=="string"?String(R.message):String(R)])}e.key!==null&&to("key",e.key,b,0,""),e.memoizedProps!==null&&Eg(e.memoizedProps,b,0,""),m==null&&(m=e._debugTask),e={start:t,end:a,detail:{devtools:{color:"error",track:Oo,tooltipText:e.tag===13?"Hydration failed":"Error boundary caught an error",properties:b}}},m?m.run(performance.measure.bind(performance,"​"+d,e)):performance.measure("​"+d,e)}}}function yl(e,t,a,r,d){if(d!==null){if(un){var m=be(e);if(m!==null){r=[];for(var b=0;b<d.length;b++){var T=d[b].value;r.push(["Error",typeof T=="object"&&T!==null&&typeof T.message=="string"?String(T.message):String(T)])}e.key!==null&&to("key",e.key,r,0,""),e.memoizedProps!==null&&Eg(e.memoizedProps,r,0,""),t={start:t,end:a,detail:{devtools:{color:"error",track:Oo,tooltipText:"A lifecycle or effect errored",properties:r}}},(e=e._debugTask)?e.run(performance.measure.bind(performance,"​"+m,t)):performance.measure("​"+m,t)}}}else m=be(e),m!==null&&un&&(d=1>r?"secondary-light":100>r?"secondary":500>r?"secondary-dark":"error",(e=e._debugTask)?e.run(console.timeStamp.bind(console,m,t,a,Oo,void 0,d)):console.timeStamp(m,t,a,Oo,void 0,d))}function _A(e,t,a,r){if(un&&!(t<=e)){var d=(a&738197653)===a?"tertiary-dark":"primary-dark";a=(a&536870912)===a?"Prepared":(a&201326741)===a?"Hydrated":"Render",r?r.run(console.timeStamp.bind(console,a,e,t,xt,Tt,d)):console.timeStamp(a,e,t,xt,Tt,d)}}function lS(e,t,a,r){!un||t<=e||(a=(a&738197653)===a?"tertiary-dark":"primary-dark",r?r.run(console.timeStamp.bind(console,"Prewarm",e,t,xt,Tt,a)):console.timeStamp("Prewarm",e,t,xt,Tt,a))}function oS(e,t,a,r){!un||t<=e||(a=(a&738197653)===a?"tertiary-dark":"primary-dark",r?r.run(console.timeStamp.bind(console,"Suspended",e,t,xt,Tt,a)):console.timeStamp("Suspended",e,t,xt,Tt,a))}function DA(e,t,a,r,d,m){if(un&&!(t<=e)){a=[];for(var b=0;b<r.length;b++){var T=r[b].value;a.push(["Recoverable Error",typeof T=="object"&&T!==null&&typeof T.message=="string"?String(T.message):String(T)])}e={start:e,end:t,detail:{devtools:{color:"primary-dark",track:xt,trackGroup:Tt,tooltipText:d?"Hydration Failed":"Recovered after Error",properties:a}}},m?m.run(performance.measure.bind(performance,"Recovered",e)):performance.measure("Recovered",e)}}function xg(e,t,a,r){!un||t<=e||(r?r.run(console.timeStamp.bind(console,"Errored",e,t,xt,Tt,"error")):console.timeStamp("Errored",e,t,xt,Tt,"error"))}function wA(e,t,a,r){!un||t<=e||(r?r.run(console.timeStamp.bind(console,a,e,t,xt,Tt,"secondary-light")):console.timeStamp(a,e,t,xt,Tt,"secondary-light"))}function sS(e,t,a,r,d){if(un&&!(t<=e)){for(var m=[],b=0;b<a.length;b++){var T=a[b].value;m.push(["Error",typeof T=="object"&&T!==null&&typeof T.message=="string"?String(T.message):String(T)])}e={start:e,end:t,detail:{devtools:{color:"error",track:xt,trackGroup:Tt,tooltipText:r?"Remaining Effects Errored":"Commit Errored",properties:m}}},d?d.run(performance.measure.bind(performance,"Errored",e)):performance.measure("Errored",e)}}function _g(e,t,a){!un||t<=e||console.timeStamp("Animating",e,t,xt,Tt,"secondary-dark")}function zm(){for(var e=ry,t=WA=ry=0;t<e;){var a=Mo[t];Mo[t++]=null;var r=Mo[t];Mo[t++]=null;var d=Mo[t];Mo[t++]=null;var m=Mo[t];if(Mo[t++]=null,r!==null&&d!==null){var b=r.pending;b===null?d.next=d:(d.next=b.next,b.next=d),r.pending=d}m!==0&&Dg(a,d,m)}}function rc(e,t,a,r){Mo[ry++]=e,Mo[ry++]=t,Mo[ry++]=a,Mo[ry++]=r,WA|=r,e.lanes|=r,e=e.alternate,e!==null&&(e.lanes|=r)}function ju(e,t,a,r){return rc(e,t,a,r),cd(e)}function Si(e,t){return rc(e,null,null,t),cd(e)}function Dg(e,t,a){e.lanes|=a;var r=e.alternate;r!==null&&(r.lanes|=a);for(var d=!1,m=e.return;m!==null;)m.childLanes|=a,r=m.alternate,r!==null&&(r.childLanes|=a),m.tag===22&&(e=m.stateNode,e===null||e._visibility&b0||(d=!0)),e=m,m=m.return;return e.tag===3?(m=e.stateNode,d&&t!==null&&(d=31-hi(a),e=m.hiddenUpdates,r=e[d],r===null?e[d]=[t]:r.push(t),t.lane=a|536870912),m):null}function cd(e){if(Z0>J7)throw zh=Z0=0,J0=Cx=null,Error("Maximum update depth exceeded. This can happen when a component repeatedly calls setState inside componentWillUpdate or componentDidUpdate. React limits the number of nested updates to prevent infinite loops.");zh>$7&&(zh=0,J0=null,console.error("Maximum update depth exceeded. This can happen when a component calls setState inside useEffect, but useEffect either doesn't have a dependency array, or one of the dependencies changes on every render.")),e.alternate===null&&(e.flags&4098)!==0&&tl(e);for(var t=e,a=t.return;a!==null;)t.alternate===null&&(t.flags&4098)!==0&&tl(e),t=a,a=t.return;return t.tag===3?t.stateNode:null}function Gs(e){if(Co===null)return e;var t=Co(e);return t===void 0?e:t.current}function Um(e){if(Co===null)return e;var t=Co(e);return t===void 0?e!=null&&typeof e.render=="function"&&(t=Gs(e.render),e.render!==t)?(t={$$typeof:Pc,render:t},e.displayName!==void 0&&(t.displayName=e.displayName),t):e:t.current}function wg(e,t){if(Co===null)return!1;var a=e.elementType;t=t.type;var r=!1,d=typeof t=="object"&&t!==null?t.$$typeof:null;switch(e.tag){case 1:typeof t=="function"&&(r=!0);break;case 0:(typeof t=="function"||d===Ai)&&(r=!0);break;case 11:(d===Pc||d===Ai)&&(r=!0);break;case 14:case 15:(d===ch||d===Ai)&&(r=!0);break;default:return!1}return!!(r&&(e=Co(a),e!==void 0&&e===Co(t)))}function qu(e){Co!==null&&typeof WeakSet=="function"&&(cy===null&&(cy=new WeakSet),cy.add(e))}function uS(e,t,a){do{var r=e,d=r.alternate,m=r.child,b=r.sibling,T=r.tag;r=r.type;var R=null;switch(T){case 0:case 15:case 1:R=r;break;case 11:R=r.render}if(Co===null)throw Error("Expected resolveFamily to be set during hot reload.");var O=!1;if(r=!1,R!==null&&(R=Co(R),R!==void 0&&(a.has(R)?r=!0:t.has(R)&&(T===1?r=!0:O=!0))),cy!==null&&(cy.has(e)||d!==null&&cy.has(d))&&(r=!0),r&&(e._debugNeedsRemount=!0),(r||O)&&(d=Si(e,2),d!==null&&Fe(d,e,2)),m===null||r||uS(m,t,a),b===null)break;e=b}while(!0)}function RA(e,t,a,r){this.tag=e,this.key=a,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null,this.actualDuration=-0,this.actualStartTime=-1.1,this.treeBaseDuration=this.selfBaseDuration=-0,this._debugTask=this._debugStack=this._debugOwner=this._debugInfo=null,this._debugNeedsRemount=!1,this._debugHookTypes=null,pO||typeof Object.preventExtensions!="function"||Object.preventExtensions(this)}function Rg(e){return e=e.prototype,!(!e||!e.isReactComponent)}function no(e,t){var a=e.alternate;switch(a===null?(a=w(e.tag,t,e.key,e.mode),a.elementType=e.elementType,a.type=e.type,a.stateNode=e.stateNode,a._debugOwner=e._debugOwner,a._debugStack=e._debugStack,a._debugTask=e._debugTask,a._debugHookTypes=e._debugHookTypes,a.alternate=e,e.alternate=a):(a.pendingProps=t,a.type=e.type,a.flags=0,a.subtreeFlags=0,a.deletions=null,a.actualDuration=-0,a.actualStartTime=-1.1),a.flags=e.flags&65011712,a.childLanes=e.childLanes,a.lanes=e.lanes,a.child=e.child,a.memoizedProps=e.memoizedProps,a.memoizedState=e.memoizedState,a.updateQueue=e.updateQueue,t=e.dependencies,a.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext,_debugThenableState:t._debugThenableState},a.sibling=e.sibling,a.index=e.index,a.ref=e.ref,a.refCleanup=e.refCleanup,a.selfBaseDuration=e.selfBaseDuration,a.treeBaseDuration=e.treeBaseDuration,a._debugInfo=e._debugInfo,a._debugNeedsRemount=e._debugNeedsRemount,a.tag){case 0:case 15:a.type=Gs(e.type);break;case 1:a.type=Gs(e.type);break;case 11:a.type=Um(e.type)}return a}function Og(e,t){e.flags&=65011714;var a=e.alternate;return a===null?(e.childLanes=0,e.lanes=t,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null,e.selfBaseDuration=0,e.treeBaseDuration=0):(e.childLanes=a.childLanes,e.lanes=a.lanes,e.child=a.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=a.memoizedProps,e.memoizedState=a.memoizedState,e.updateQueue=a.updateQueue,e.type=a.type,t=a.dependencies,e.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext,_debugThenableState:t._debugThenableState},e.selfBaseDuration=a.selfBaseDuration,e.treeBaseDuration=a.treeBaseDuration),e}function Yu(e,t,a,r,d,m){var b=0,T=e;if(typeof e=="function")Rg(e)&&(b=1),T=Gs(T);else if(typeof e=="string")b=ne(),b=i1(e,a,b)?26:e==="html"||e==="head"||e==="body"?27:5;else e:switch(e){case Bl:return t=w(31,a,t,d),t.elementType=Bl,t.lanes=m,t;case Kc:return Gu(a.children,d,m,t);case Xi:b=8,d|=ca,d|=bs;break;case rh:return e=a,r=d,typeof e.id!="string"&&console.error('Profiler must specify an "id" of type `string` as a prop. Received the type `%s` instead.',typeof e.id),t=w(12,e,t,r|ft),t.elementType=rh,t.lanes=m,t.stateNode={effectDuration:0,passiveEffectDuration:0},t;case vr:return t=w(13,a,t,d),t.elementType=vr,t.lanes=m,t;case ua:return t=w(19,a,t,d),t.elementType=ua,t.lanes=m,t;default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Ul:b=10;break e;case Qp:b=9;break e;case Pc:b=11,T=Um(T);break e;case ch:b=14;break e;case Ai:b=16,T=null;break e}T="",(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(T+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports."),e===null?a="null":Un(e)?a="array":e!==void 0&&e.$$typeof===nl?(a="<"+(he(e.type)||"Unknown")+" />",T=" Did you accidentally export a JSX literal instead of a component?"):a=typeof e,(b=r?Re(r):null)&&(T+=`
80
-
81
- Check the render method of \``+b+"`."),b=29,a=Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: "+(a+"."+T)),T=null}return t=w(b,a,t,d),t.elementType=e,t.type=T,t.lanes=m,t._debugOwner=r,t}function ks(e,t,a){return t=Yu(e.type,e.key,e.props,e._owner,t,a),t._debugOwner=e._owner,t._debugStack=e._debugStack,t._debugTask=e._debugTask,t}function Gu(e,t,a,r){return e=w(7,e,r,t),e.lanes=a,e}function cc(e,t,a){return e=w(6,e,null,t),e.lanes=a,e}function Mg(e){var t=w(18,null,null,Pe);return t.stateNode=e,t}function Bm(e,t,a){return t=w(4,e.children!==null?e.children:[],e.key,t),t.lanes=a,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Ci(e,t){if(typeof e=="object"&&e!==null){var a=IA.get(e);return a!==void 0?a:(t={value:e,source:t,stack:Ge(t)},IA.set(e,t),t)}return{value:e,source:t,stack:Ge(t)}}function gl(e,t){Xs(),fy[dy++]=S0,fy[dy++]=_1,_1=e,S0=t}function Cg(e,t,a){Xs(),zo[Uo++]=_r,zo[Uo++]=Dr,zo[Uo++]=gh,gh=e;var r=_r;e=Dr;var d=32-hi(r)-1;r&=~(1<<d),a+=1;var m=32-hi(t)+d;if(30<m){var b=d-d%5;m=(r&(1<<b)-1).toString(32),r>>=b,d-=b,_r=1<<32-hi(t)+d|a<<d|r,Dr=m+e}else _r=1<<m|a<<d|r,Dr=e}function Vm(e){Xs(),e.return!==null&&(gl(e,1),Cg(e,1,0))}function Hm(e){for(;e===_1;)_1=fy[--dy],fy[dy]=null,S0=fy[--dy],fy[dy]=null;for(;e===gh;)gh=zo[--Uo],zo[Uo]=null,Dr=zo[--Uo],zo[Uo]=null,_r=zo[--Uo],zo[Uo]=null}function rS(){return Xs(),gh!==null?{id:_r,overflow:Dr}:null}function cS(e,t){Xs(),zo[Uo++]=_r,zo[Uo++]=Dr,zo[Uo++]=gh,_r=t.id,Dr=t.overflow,gh=e}function Xs(){St||console.error("Expected to be hydrating. This is a bug in React. Please file an issue.")}function ku(e,t){if(e.return===null){if(Hl===null)Hl={fiber:e,children:[],serverProps:void 0,serverTail:[],distanceFromLeaf:t};else{if(Hl.fiber!==e)throw Error("Saw multiple hydration diff roots in a pass. This is a bug in React.");Hl.distanceFromLeaf>t&&(Hl.distanceFromLeaf=t)}return Hl}var a=ku(e.return,t+1).children;return 0<a.length&&a[a.length-1].fiber===e?(a=a[a.length-1],a.distanceFromLeaf>t&&(a.distanceFromLeaf=t),a):(t={fiber:e,children:[],serverProps:void 0,serverTail:[],distanceFromLeaf:t},a.push(t),t)}function fS(){St&&console.error("We should not be hydrating here. This is a bug in React. Please file a bug.")}function Ti(e,t){Su||(e=ku(e,0),e.serverProps=null,t!==null&&(t=IS(t),e.serverTail.push(t)))}function Ja(e){var t=1<arguments.length&&arguments[1]!==void 0?arguments[1]:!1,a="",r=Hl;throw r!==null&&(Hl=null,a=fg(r)),dd(Ci(Error("Hydration failed because the server rendered "+(t?"text":"HTML")+` didn't match the client. As a result this tree will be regenerated on the client. This can happen if a SSR-ed Client Component used:
82
-
83
- - A server/client branch \`if (typeof window !== 'undefined')\`.
84
- - Variable input such as \`Date.now()\` or \`Math.random()\` which changes each time it's called.
85
- - Date formatting in a user's locale which doesn't match the server.
86
- - External changing data without sending a snapshot of it along with the HTML.
87
- - Invalid HTML tag nesting.
88
-
89
- It can also happen if the client has a browser extension installed which messes with the HTML before React loaded.
90
-
91
- https://react.dev/link/hydration-mismatch`+a),e)),ex}function zg(e){var t=e.stateNode,a=e.type,r=e.memoizedProps;switch(t[sn]=e,t[Qi]=r,Gi(a,r),a){case"dialog":Ke("cancel",t),Ke("close",t);break;case"iframe":case"object":case"embed":Ke("load",t);break;case"video":case"audio":for(a=0;a<$0.length;a++)Ke($0[a],t);break;case"source":Ke("error",t);break;case"img":case"image":case"link":Ke("error",t),Ke("load",t);break;case"details":Ke("toggle",t);break;case"input":bi("input",r),Ke("invalid",t),Mi(t,r),gm(t,r.value,r.defaultValue,r.checked,r.defaultChecked,r.type,r.name,!0);break;case"option":$b(t,r);break;case"select":bi("select",r),Ke("invalid",t),vm(t,r);break;case"textarea":bi("textarea",r),Ke("invalid",t),Cu(t,r),ec(t,r.value,r.defaultValue,r.children)}a=r.children,typeof a!="string"&&typeof a!="number"&&typeof a!="bigint"||t.textContent===""+a||r.suppressHydrationWarning===!0||Bv(t.textContent,a)?(r.popover!=null&&(Ke("beforetoggle",t),Ke("toggle",t)),r.onScroll!=null&&Ke("scroll",t),r.onScrollEnd!=null&&Ke("scrollend",t),r.onClick!=null&&(t.onclick=Qa),t=!0):t=!1,t||Ja(e,!0)}function Ug(e){for(Zi=e.return;Zi;)switch(Zi.tag){case 5:case 31:case 13:Bo=!1;return;case 27:case 3:Bo=!0;return;default:Zi=Zi.return}}function Xu(e){if(e!==Zi)return!1;if(!St)return Ug(e),St=!0,!1;var t=e.tag,a;if((a=t!==3&&t!==27)&&((a=t===5)&&(a=e.type,a=!(a!=="form"&&a!=="button")||Yc(e.type,e.memoizedProps)),a=!a),a&&rn){for(a=rn;a;){var r=ku(e,0),d=IS(a);r.serverTail.push(d),a=d.type==="Suspense"?Xc(a):Ua(a.nextSibling)}Ja(e)}if(Ug(e),t===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");rn=Xc(e)}else if(t===31){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");rn=Xc(e)}else t===27?(t=rn,hu(e.type)?(e=kx,kx=null,rn=e):rn=t):rn=Zi?Ua(e.stateNode.nextSibling):null;return!0}function Qs(){rn=Zi=null,Su=St=!1}function fd(){var e=df;return e!==null&&(Ya===null?Ya=e:Ya.push.apply(Ya,e),df=null),e}function dd(e){df===null?df=[e]:df.push(e)}function Zs(){var e=Hl;if(e!==null){Hl=null;for(var t=fg(e);0<e.children.length;)e=e.children[0];_e(e.fiber,function(){console.error(`A tree hydrated but some attributes of the server rendered HTML didn't match the client properties. This won't be patched up. This can happen if a SSR-ed Client Component used:
92
-
93
- - A server/client branch \`if (typeof window !== 'undefined')\`.
94
- - Variable input such as \`Date.now()\` or \`Math.random()\` which changes each time it's called.
95
- - Date formatting in a user's locale which doesn't match the server.
96
- - External changing data without sending a snapshot of it along with the HTML.
97
- - Invalid HTML tag nesting.
98
-
99
- It can also happen if the client has a browser extension installed which messes with the HTML before React loaded.
100
-
101
- %s%s`,"https://react.dev/link/hydration-mismatch",t)})}}function fc(){hy=D1=null,my=!1}function $a(e,t,a){Qe(tx,t._currentValue,e),t._currentValue=a,Qe(nx,t._currentRenderer,e),t._currentRenderer!==void 0&&t._currentRenderer!==null&&t._currentRenderer!==gO&&console.error("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),t._currentRenderer=gO}function vl(e,t){e._currentValue=tx.current;var a=nx.current;we(nx,t),e._currentRenderer=a,we(tx,t)}function Lm(e,t,a){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===a)break;e=e.return}e!==a&&console.error("Expected to find the propagation root when scheduling context work. This error is likely caused by a bug in React. Please file an issue.")}function Io(e,t,a,r){var d=e.child;for(d!==null&&(d.return=e);d!==null;){var m=d.dependencies;if(m!==null){var b=d.child;m=m.firstContext;e:for(;m!==null;){var T=m;m=d;for(var R=0;R<t.length;R++)if(T.context===t[R]){m.lanes|=a,T=m.alternate,T!==null&&(T.lanes|=a),Lm(m.return,a,e),r||(b=null);break e}m=T.next}}else if(d.tag===18){if(b=d.return,b===null)throw Error("We just came from a parent so we must have had a parent. This is a bug in React.");b.lanes|=a,m=b.alternate,m!==null&&(m.lanes|=a),Lm(b,a,e),b=null}else b=d.child;if(b!==null)b.return=d;else for(b=d;b!==null;){if(b===e){b=null;break}if(d=b.sibling,d!==null){d.return=b.return,b=d;break}b=b.return}d=b}}function bl(e,t,a,r){e=null;for(var d=t,m=!1;d!==null;){if(!m){if((d.flags&524288)!==0)m=!0;else if((d.flags&262144)!==0)break}if(d.tag===10){var b=d.alternate;if(b===null)throw Error("Should have a current fiber. This is a bug in React.");if(b=b.memoizedProps,b!==null){var T=d.type;La(d.pendingProps.value,b.value)||(e!==null?e.push(T):e=[T])}}else if(d===gu.current){if(b=d.alternate,b===null)throw Error("Should have a current fiber. This is a bug in React.");b.memoizedState.memoizedState!==d.memoizedState.memoizedState&&(e!==null?e.push(I0):e=[I0])}d=d.return}e!==null&&Io(t,e,a,r),t.flags|=262144}function dc(e){for(e=e.firstContext;e!==null;){if(!La(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function Js(e){D1=e,hy=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function Ct(e){return my&&console.error("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo()."),Bg(D1,e)}function hd(e,t){return D1===null&&Js(e),Bg(e,t)}function Bg(e,t){var a=t._currentValue;if(t={context:t,memoizedValue:a,next:null},hy===null){if(e===null)throw Error("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().");hy=t,e.dependencies={lanes:0,firstContext:t,_debugThenableState:null},e.flags|=524288}else hy=hy.next=t;return a}function Nm(){return{controller:new B7,data:new Map,refCount:0}}function Qu(e){e.controller.signal.aborted&&console.warn("A cache instance was retained after it was already freed. This likely indicates a bug in React."),e.refCount++}function md(e){e.refCount--,0>e.refCount&&console.warn("A cache instance was released after it was already freed. This likely indicates a bug in React."),e.refCount===0&&V7(H7,function(){e.controller.abort()})}function io(e,t,a){(e&127)!==0?0>Tu&&(Tu=ii(),E0=w1(t),ix=t,a!=null&&(ax=be(a)),(Dt&(yi|jl))!==wi&&(Rn=!0,mf=T0),e=Gc(),t=Ao(),e!==py||t!==A0?py=-1.1:t!==null&&(mf=T0),Sh=e,A0=t):(e&4194048)!==0&&0>Vo&&(Vo=ii(),x0=w1(t),vO=t,a!=null&&(bO=be(a)),0>Mr)&&(e=Gc(),t=Ao(),(e!==yf||t!==Th)&&(yf=-1.1),pf=e,Th=t)}function dS(e){if(0>Tu){Tu=ii(),E0=e._debugTask!=null?e._debugTask:null,(Dt&(yi|jl))!==wi&&(mf=T0);var t=Gc(),a=Ao();t!==py||a!==A0?py=-1.1:a!==null&&(mf=T0),Sh=t,A0=a}0>Vo&&(Vo=ii(),x0=e._debugTask!=null?e._debugTask:null,0>Mr)&&(e=Gc(),t=Ao(),(e!==yf||t!==Th)&&(yf=-1.1),pf=e,Th=t)}function ao(){var e=vh;return vh=0,e}function hc(e){var t=vh;return vh=e,t}function zi(e){var t=vh;return vh+=e,t}function Zu(){$e=ke=-1.1}function an(){var e=ke;return ke=-1.1,e}function Kn(e){0<=e&&(ke=e)}function Ka(){var e=bn;return bn=-0,e}function Ta(e){0<=e&&(bn=e)}function Ea(){var e=pn;return pn=null,e}function Pa(){var e=Rn;return Rn=!1,e}function es(e){Na=ii(),0>e.actualStartTime&&(e.actualStartTime=Na)}function jm(e){if(0<=Na){var t=ii()-Na;e.actualDuration+=t,e.selfBaseDuration=t,Na=-1}}function pd(e){if(0<=Na){var t=ii()-Na;e.actualDuration+=t,Na=-1}}function Ui(){if(0<=Na){var e=ii(),t=e-Na;Na=-1,vh+=t,bn+=t,$e=e}}function hS(e){pn===null&&(pn=[]),pn.push(e),Rr===null&&(Rr=[]),Rr.push(e)}function yn(){Na=ii(),0>ke&&(ke=Na)}function Ju(e){for(var t=e.child;t;)e.actualDuration+=t.actualDuration,t=t.sibling}function ts(e,t){if(D0===null){var a=D0=[];ox=0,Eh=Uv(),yy={status:"pending",value:void 0,then:function(r){a.push(r)}}}return ox++,t.then(Vg,Vg),t}function Vg(){if(--ox===0&&(-1<Vo||(Mr=-1.1),D0!==null)){yy!==null&&(yy.status="fulfilled");var e=D0;D0=null,Eh=0,yy=null;for(var t=0;t<e.length;t++)(0,e[t])()}}function qm(e,t){var a=[],r={status:"pending",value:null,reason:null,then:function(d){a.push(d)}};return e.then(function(){r.status="fulfilled",r.value=t;for(var d=0;d<a.length;d++)(0,a[d])(t)},function(d){for(r.status="rejected",r.reason=d,d=0;d<a.length;d++)(0,a[d])(void 0)}),r}function ns(){var e=Ah.current;return e!==null?e:It.pooledCache}function mc(e,t){t===null?Qe(Ah,Ah.current,e):Qe(Ah,t.pool,e)}function Hg(){var e=ns();return e===null?null:{parent:ni._currentValue,pool:e}}function Ym(){return{didWarnAboutUncachedPromise:!1,thenables:[]}}function Lg(e){return e=e.status,e==="fulfilled"||e==="rejected"}function Aa(e,t,a){ie.actQueue!==null&&(ie.didUsePromise=!0);var r=e.thenables;if(a=r[a],a===void 0?r.push(t):a!==t&&(e.didWarnAboutUncachedPromise||(e.didWarnAboutUncachedPromise=!0,console.error("A component was suspended by an uncached promise. Creating promises inside a Client Component or hook is not yet supported, except via a Suspense-compatible library or framework.")),t.then(Qa,Qa),t=a),t._debugInfo===void 0){e=performance.now(),r=t.displayName;var d={name:typeof r=="string"?r:"Promise",start:e,end:e,value:t};t._debugInfo=[{awaited:d}],t.status!=="fulfilled"&&t.status!=="rejected"&&(e=function(){d.end=performance.now()},t.then(e,e))}switch(t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,yd(e),e;default:if(typeof t.status=="string")t.then(Qa,Qa);else{if(e=It,e!==null&&100<e.shellSuspendCounter)throw Error("An unknown Component is an async Client Component. Only Server Components can be async at the moment. This error is often caused by accidentally adding `'use client'` to a module that was originally written for the server.");e=t,e.status="pending",e.then(function(m){if(t.status==="pending"){var b=t;b.status="fulfilled",b.value=m}},function(m){if(t.status==="pending"){var b=t;b.status="rejected",b.reason=m}})}switch(t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,yd(e),e}throw _h=t,U0=!0,gy}}function xa(e){try{return Y7(e)}catch(t){throw t!==null&&typeof t=="object"&&typeof t.then=="function"?(_h=t,U0=!0,gy):t}}function $u(){if(_h===null)throw Error("Expected a suspended thenable. This is a bug in React. Please file an issue.");var e=_h;return _h=null,U0=!1,e}function yd(e){if(e===gy||e===V1)throw Error("Hooks are not supported inside an async component. This error is often caused by accidentally adding `'use client'` to a module that was originally written for the server.")}function An(e){var t=dt;return e!=null&&(dt=t===null?e:t.concat(e)),t}function na(){var e=dt;if(e!=null){for(var t=e.length-1;0<=t;t--)if(e[t].name!=null){var a=e[t].debugTask;if(a!=null)return a}}return null}function Bi(e,t,a){for(var r=Object.keys(e.props),d=0;d<r.length;d++){var m=r[d];if(m!=="children"&&m!=="key"){t===null&&(t=ks(e,a.mode,0),t._debugInfo=dt,t.return=a),_e(t,function(b){console.error("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",b)},m);break}}}function Sl(e){var t=B0;return B0+=1,vy===null&&(vy=Ym()),Aa(vy,e,t)}function ia(e,t){t=t.props.ref,e.ref=t!==void 0?t:null}function Tl(e,t){throw t.$$typeof===r1?Error(`A React Element from an older version of React was rendered. This is not supported. It can happen if:
102
- - Multiple copies of the "react" package is used.
103
- - A library pre-bundled an old copy of "react" or "react/jsx-runtime".
104
- - A compiler tries to "inline" JSX instead of using the runtime.`):(e=Object.prototype.toString.call(t),Error("Objects are not valid as a React child (found: "+(e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e)+"). If you meant to render a collection of children, use an array instead."))}function Fa(e,t){var a=na();a!==null?a.run(Tl.bind(null,e,t)):Tl(e,t)}function Ng(e,t){var a=be(e)||"Component";jO[a]||(jO[a]=!0,t=t.displayName||t.name||"Component",e.tag===3?console.error(`Functions are not valid as a React child. This may happen if you return %s instead of <%s /> from render. Or maybe you meant to call this function rather than return it.
105
- root.render(%s)`,t,t,t):console.error(`Functions are not valid as a React child. This may happen if you return %s instead of <%s /> from render. Or maybe you meant to call this function rather than return it.
106
- <%s>{%s}</%s>`,t,t,a,t,a))}function pc(e,t){var a=na();a!==null?a.run(Ng.bind(null,e,t)):Ng(e,t)}function Gm(e,t){var a=be(e)||"Component";qO[a]||(qO[a]=!0,t=String(t),e.tag===3?console.error(`Symbols are not valid as a React child.
107
- root.render(%s)`,t):console.error(`Symbols are not valid as a React child.
108
- <%s>%s</%s>`,a,t,a))}function gd(e,t){var a=na();a!==null?a.run(Gm.bind(null,e,t)):Gm(e,t)}function Pn(e){function t(B,L){if(e){var j=B.deletions;j===null?(B.deletions=[L],B.flags|=16):j.push(L)}}function a(B,L){if(!e)return null;for(;L!==null;)t(B,L),L=L.sibling;return null}function r(B){for(var L=new Map;B!==null;)B.key!==null?L.set(B.key,B):L.set(B.index,B),B=B.sibling;return L}function d(B,L){return B=no(B,L),B.index=0,B.sibling=null,B}function m(B,L,j){return B.index=j,e?(j=B.alternate,j!==null?(j=j.index,j<L?(B.flags|=67108866,L):j):(B.flags|=67108866,L)):(B.flags|=1048576,L)}function b(B){return e&&B.alternate===null&&(B.flags|=67108866),B}function T(B,L,j,ue){return L===null||L.tag!==6?(L=cc(j,B.mode,ue),L.return=B,L._debugOwner=B,L._debugTask=B._debugTask,L._debugInfo=dt,L):(L=d(L,j),L.return=B,L._debugInfo=dt,L)}function R(B,L,j,ue){var Ae=j.type;return Ae===Kc?(L=q(B,L,j.props.children,ue,j.key),Bi(j,L,B),L):L!==null&&(L.elementType===Ae||wg(L,j)||typeof Ae=="object"&&Ae!==null&&Ae.$$typeof===Ai&&xa(Ae)===L.type)?(L=d(L,j.props),ia(L,j),L.return=B,L._debugOwner=j._owner,L._debugInfo=dt,L):(L=ks(j,B.mode,ue),ia(L,j),L.return=B,L._debugInfo=dt,L)}function O(B,L,j,ue){return L===null||L.tag!==4||L.stateNode.containerInfo!==j.containerInfo||L.stateNode.implementation!==j.implementation?(L=Bm(j,B.mode,ue),L.return=B,L._debugInfo=dt,L):(L=d(L,j.children||[]),L.return=B,L._debugInfo=dt,L)}function q(B,L,j,ue,Ae){return L===null||L.tag!==7?(L=Gu(j,B.mode,ue,Ae),L.return=B,L._debugOwner=B,L._debugTask=B._debugTask,L._debugInfo=dt,L):(L=d(L,j),L.return=B,L._debugInfo=dt,L)}function k(B,L,j){if(typeof L=="string"&&L!==""||typeof L=="number"||typeof L=="bigint")return L=cc(""+L,B.mode,j),L.return=B,L._debugOwner=B,L._debugTask=B._debugTask,L._debugInfo=dt,L;if(typeof L=="object"&&L!==null){switch(L.$$typeof){case nl:return j=ks(L,B.mode,j),ia(j,L),j.return=B,B=An(L._debugInfo),j._debugInfo=dt,dt=B,j;case pu:return L=Bm(L,B.mode,j),L.return=B,L._debugInfo=dt,L;case Ai:var ue=An(L._debugInfo);return L=xa(L),B=k(B,L,j),dt=ue,B}if(Un(L)||ve(L))return j=Gu(L,B.mode,j,null),j.return=B,j._debugOwner=B,j._debugTask=B._debugTask,B=An(L._debugInfo),j._debugInfo=dt,dt=B,j;if(typeof L.then=="function")return ue=An(L._debugInfo),B=k(B,Sl(L),j),dt=ue,B;if(L.$$typeof===Ul)return k(B,hd(B,L),j);Fa(B,L)}return typeof L=="function"&&pc(B,L),typeof L=="symbol"&&gd(B,L),null}function H(B,L,j,ue){var Ae=L!==null?L.key:null;if(typeof j=="string"&&j!==""||typeof j=="number"||typeof j=="bigint")return Ae!==null?null:T(B,L,""+j,ue);if(typeof j=="object"&&j!==null){switch(j.$$typeof){case nl:return j.key===Ae?(Ae=An(j._debugInfo),B=R(B,L,j,ue),dt=Ae,B):null;case pu:return j.key===Ae?O(B,L,j,ue):null;case Ai:return Ae=An(j._debugInfo),j=xa(j),B=H(B,L,j,ue),dt=Ae,B}if(Un(j)||ve(j))return Ae!==null?null:(Ae=An(j._debugInfo),B=q(B,L,j,ue,null),dt=Ae,B);if(typeof j.then=="function")return Ae=An(j._debugInfo),B=H(B,L,Sl(j),ue),dt=Ae,B;if(j.$$typeof===Ul)return H(B,L,hd(B,j),ue);Fa(B,j)}return typeof j=="function"&&pc(B,j),typeof j=="symbol"&&gd(B,j),null}function I(B,L,j,ue,Ae){if(typeof ue=="string"&&ue!==""||typeof ue=="number"||typeof ue=="bigint")return B=B.get(j)||null,T(L,B,""+ue,Ae);if(typeof ue=="object"&&ue!==null){switch(ue.$$typeof){case nl:return j=B.get(ue.key===null?j:ue.key)||null,B=An(ue._debugInfo),L=R(L,j,ue,Ae),dt=B,L;case pu:return B=B.get(ue.key===null?j:ue.key)||null,O(L,B,ue,Ae);case Ai:var et=An(ue._debugInfo);return ue=xa(ue),L=I(B,L,j,ue,Ae),dt=et,L}if(Un(ue)||ve(ue))return j=B.get(j)||null,B=An(ue._debugInfo),L=q(L,j,ue,Ae,null),dt=B,L;if(typeof ue.then=="function")return et=An(ue._debugInfo),L=I(B,L,j,Sl(ue),Ae),dt=et,L;if(ue.$$typeof===Ul)return I(B,L,j,hd(L,ue),Ae);Fa(L,ue)}return typeof ue=="function"&&pc(L,ue),typeof ue=="symbol"&&gd(L,ue),null}function Te(B,L,j,ue){if(typeof j!="object"||j===null)return ue;switch(j.$$typeof){case nl:case pu:x(B,L,j);var Ae=j.key;if(typeof Ae!="string")break;if(ue===null){ue=new Set,ue.add(Ae);break}if(!ue.has(Ae)){ue.add(Ae);break}_e(L,function(){console.error("Encountered two children with the same key, `%s`. Keys should be unique so that components maintain their identity across updates. Non-unique keys may cause children to be duplicated and/or omitted — the behavior is unsupported and could change in a future version.",Ae)});break;case Ai:j=xa(j),Te(B,L,j,ue)}return ue}function De(B,L,j,ue){for(var Ae=null,et=null,Ye=null,Ne=L,rt=L=0,cn=null;Ne!==null&&rt<j.length;rt++){Ne.index>rt?(cn=Ne,Ne=null):cn=Ne.sibling;var kn=H(B,Ne,j[rt],ue);if(kn===null){Ne===null&&(Ne=cn);break}Ae=Te(B,kn,j[rt],Ae),e&&Ne&&kn.alternate===null&&t(B,Ne),L=m(kn,L,rt),Ye===null?et=kn:Ye.sibling=kn,Ye=kn,Ne=cn}if(rt===j.length)return a(B,Ne),St&&gl(B,rt),et;if(Ne===null){for(;rt<j.length;rt++)Ne=k(B,j[rt],ue),Ne!==null&&(Ae=Te(B,Ne,j[rt],Ae),L=m(Ne,L,rt),Ye===null?et=Ne:Ye.sibling=Ne,Ye=Ne);return St&&gl(B,rt),et}for(Ne=r(Ne);rt<j.length;rt++)cn=I(Ne,B,rt,j[rt],ue),cn!==null&&(Ae=Te(B,cn,j[rt],Ae),e&&cn.alternate!==null&&Ne.delete(cn.key===null?rt:cn.key),L=m(cn,L,rt),Ye===null?et=cn:Ye.sibling=cn,Ye=cn);return e&&Ne.forEach(function(Nr){return t(B,Nr)}),St&&gl(B,rt),et}function nn(B,L,j,ue){if(j==null)throw Error("An iterable object provided no iterator.");for(var Ae=null,et=null,Ye=L,Ne=L=0,rt=null,cn=null,kn=j.next();Ye!==null&&!kn.done;Ne++,kn=j.next()){Ye.index>Ne?(rt=Ye,Ye=null):rt=Ye.sibling;var Nr=H(B,Ye,kn.value,ue);if(Nr===null){Ye===null&&(Ye=rt);break}cn=Te(B,Nr,kn.value,cn),e&&Ye&&Nr.alternate===null&&t(B,Ye),L=m(Nr,L,Ne),et===null?Ae=Nr:et.sibling=Nr,et=Nr,Ye=rt}if(kn.done)return a(B,Ye),St&&gl(B,Ne),Ae;if(Ye===null){for(;!kn.done;Ne++,kn=j.next())Ye=k(B,kn.value,ue),Ye!==null&&(cn=Te(B,Ye,kn.value,cn),L=m(Ye,L,Ne),et===null?Ae=Ye:et.sibling=Ye,et=Ye);return St&&gl(B,Ne),Ae}for(Ye=r(Ye);!kn.done;Ne++,kn=j.next())rt=I(Ye,B,Ne,kn.value,ue),rt!==null&&(cn=Te(B,rt,kn.value,cn),e&&rt.alternate!==null&&Ye.delete(rt.key===null?Ne:rt.key),L=m(rt,L,Ne),et===null?Ae=rt:et.sibling=rt,et=rt);return e&&Ye.forEach(function(fN){return t(B,fN)}),St&&gl(B,Ne),Ae}function Et(B,L,j,ue){if(typeof j=="object"&&j!==null&&j.type===Kc&&j.key===null&&(Bi(j,null,B),j=j.props.children),typeof j=="object"&&j!==null){switch(j.$$typeof){case nl:var Ae=An(j._debugInfo);e:{for(var et=j.key;L!==null;){if(L.key===et){if(et=j.type,et===Kc){if(L.tag===7){a(B,L.sibling),ue=d(L,j.props.children),ue.return=B,ue._debugOwner=j._owner,ue._debugInfo=dt,Bi(j,ue,B),B=ue;break e}}else if(L.elementType===et||wg(L,j)||typeof et=="object"&&et!==null&&et.$$typeof===Ai&&xa(et)===L.type){a(B,L.sibling),ue=d(L,j.props),ia(ue,j),ue.return=B,ue._debugOwner=j._owner,ue._debugInfo=dt,B=ue;break e}a(B,L);break}else t(B,L);L=L.sibling}j.type===Kc?(ue=Gu(j.props.children,B.mode,ue,j.key),ue.return=B,ue._debugOwner=B,ue._debugTask=B._debugTask,ue._debugInfo=dt,Bi(j,ue,B),B=ue):(ue=ks(j,B.mode,ue),ia(ue,j),ue.return=B,ue._debugInfo=dt,B=ue)}return B=b(B),dt=Ae,B;case pu:e:{for(Ae=j,j=Ae.key;L!==null;){if(L.key===j)if(L.tag===4&&L.stateNode.containerInfo===Ae.containerInfo&&L.stateNode.implementation===Ae.implementation){a(B,L.sibling),ue=d(L,Ae.children||[]),ue.return=B,B=ue;break e}else{a(B,L);break}else t(B,L);L=L.sibling}ue=Bm(Ae,B.mode,ue),ue.return=B,B=ue}return b(B);case Ai:return Ae=An(j._debugInfo),j=xa(j),B=Et(B,L,j,ue),dt=Ae,B}if(Un(j))return Ae=An(j._debugInfo),B=De(B,L,j,ue),dt=Ae,B;if(ve(j)){if(Ae=An(j._debugInfo),et=ve(j),typeof et!="function")throw Error("An object is not an iterable. This error is likely caused by a bug in React. Please file an issue.");var Ye=et.call(j);return Ye===j?(B.tag!==0||Object.prototype.toString.call(B.type)!=="[object GeneratorFunction]"||Object.prototype.toString.call(Ye)!=="[object Generator]")&&(LO||console.error("Using Iterators as children is unsupported and will likely yield unexpected results because enumerating a generator mutates it. You may convert it to an array with `Array.from()` or the `[...spread]` operator before rendering. You can also use an Iterable that can iterate multiple times over the same items."),LO=!0):j.entries!==et||cx||(console.error("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),cx=!0),B=nn(B,L,Ye,ue),dt=Ae,B}if(typeof j.then=="function")return Ae=An(j._debugInfo),B=Et(B,L,Sl(j),ue),dt=Ae,B;if(j.$$typeof===Ul)return Et(B,L,hd(B,j),ue);Fa(B,j)}return typeof j=="string"&&j!==""||typeof j=="number"||typeof j=="bigint"?(Ae=""+j,L!==null&&L.tag===6?(a(B,L.sibling),ue=d(L,Ae),ue.return=B,B=ue):(a(B,L),ue=cc(Ae,B.mode,ue),ue.return=B,ue._debugOwner=B,ue._debugTask=B._debugTask,ue._debugInfo=dt,B=ue),b(B)):(typeof j=="function"&&pc(B,j),typeof j=="symbol"&&gd(B,j),a(B,L))}return function(B,L,j,ue){var Ae=dt;dt=null;try{B0=0;var et=Et(B,L,j,ue);return vy=null,et}catch(cn){if(cn===gy||cn===V1)throw cn;var Ye=w(29,cn,null,B.mode);Ye.lanes=ue,Ye.return=B;var Ne=Ye._debugInfo=dt;if(Ye._debugOwner=B._debugOwner,Ye._debugTask=B._debugTask,Ne!=null){for(var rt=Ne.length-1;0<=rt;rt--)if(typeof Ne[rt].stack=="string"){Ye._debugOwner=Ne[rt],Ye._debugTask=Ne[rt].debugTask;break}}return Ye}finally{dt=Ae}}}function Kt(e,t){var a=Un(e);return e=!a&&typeof ve(e)=="function",a||e?(a=a?"array":"iterable",console.error("A nested %s was passed to row #%s in <SuspenseList />. Wrap it in an additional SuspenseList to configure its revealOrder: <SuspenseList revealOrder=...> ... <SuspenseList revealOrder=...>{%s}</SuspenseList> ... </SuspenseList>",a,t,a),!1):!0}function vt(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function lo(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function Ln(e){return{lane:e,tag:GO,payload:null,callback:null,next:null}}function oo(e,t,a){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,dx===r&&!QO){var d=be(e);console.error(`An update (setState, replaceState, or forceUpdate) was scheduled from inside an update function. Update functions should be pure, with zero side-effects. Consider using componentDidUpdate or a callback.
109
-
110
- Please update the following component: %s`,d),QO=!0}return(Dt&yi)!==wi?(d=r.pending,d===null?t.next=t:(t.next=d.next,d.next=t),r.pending=t,t=cd(e),Dg(e,null,a),t):(rc(e,r,t,a),cd(e))}function Wa(e,t,a){if(t=t.updateQueue,t!==null&&(t=t.shared,(a&4194048)!==0)){var r=t.lanes;r&=e.pendingLanes,a|=r,t.lanes=a,If(e,a)}}function vd(e,t){var a=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,a===r)){var d=null,m=null;if(a=a.firstBaseUpdate,a!==null){do{var b={lane:a.lane,tag:a.tag,payload:a.payload,callback:null,next:null};m===null?d=m=b:m=m.next=b,a=a.next}while(a!==null);m===null?d=m=t:m=m.next=t}else d=m=t;a={baseState:r.baseState,firstBaseUpdate:d,lastBaseUpdate:m,shared:r.shared,callbacks:r.callbacks},e.updateQueue=a;return}e=a.lastBaseUpdate,e===null?a.firstBaseUpdate=t:e.next=t,a.lastBaseUpdate=t}function yc(){if(hx){var e=yy;if(e!==null)throw e}}function so(e,t,a,r){hx=!1;var d=e.updateQueue;gf=!1,dx=d.shared;var m=d.firstBaseUpdate,b=d.lastBaseUpdate,T=d.shared.pending;if(T!==null){d.shared.pending=null;var R=T,O=R.next;R.next=null,b===null?m=O:b.next=O,b=R;var q=e.alternate;q!==null&&(q=q.updateQueue,T=q.lastBaseUpdate,T!==b&&(T===null?q.firstBaseUpdate=O:T.next=O,q.lastBaseUpdate=R))}if(m!==null){var k=d.baseState;b=0,q=O=R=null,T=m;do{var H=T.lane&-536870913,I=H!==T.lane;if(I?(ht&H)===H:(r&H)===H){H!==0&&H===Eh&&(hx=!0),q!==null&&(q=q.next={lane:0,tag:T.tag,payload:T.payload,callback:null,next:null});e:{H=e;var Te=T,De=t,nn=a;switch(Te.tag){case kO:if(Te=Te.payload,typeof Te=="function"){my=!0;var Et=Te.call(nn,k,De);if(H.mode&ca){ze(!0);try{Te.call(nn,k,De)}finally{ze(!1)}}my=!1,k=Et;break e}k=Te;break e;case fx:H.flags=H.flags&-65537|128;case GO:if(Et=Te.payload,typeof Et=="function"){if(my=!0,Te=Et.call(nn,k,De),H.mode&ca){ze(!0);try{Et.call(nn,k,De)}finally{ze(!1)}}my=!1}else Te=Et;if(Te==null)break e;k=ct({},k,Te);break e;case XO:gf=!0}}H=T.callback,H!==null&&(e.flags|=64,I&&(e.flags|=8192),I=d.callbacks,I===null?d.callbacks=[H]:I.push(H))}else I={lane:H,tag:T.tag,payload:T.payload,callback:T.callback,next:null},q===null?(O=q=I,R=k):q=q.next=I,b|=H;if(T=T.next,T===null){if(T=d.shared.pending,T===null)break;I=T,T=I.next,I.next=null,d.lastBaseUpdate=I,d.shared.pending=null}}while(!0);q===null&&(R=k),d.baseState=R,d.firstBaseUpdate=O,d.lastBaseUpdate=q,m===null&&(d.shared.lanes=0),Sf|=b,e.lanes=b,e.memoizedState=k}dx=null}function $s(e,t){if(typeof e!="function")throw Error("Invalid argument passed as callback. Expected a function. Instead received: "+e);e.call(t)}function jg(e,t){var a=e.shared.hiddenCallbacks;if(a!==null)for(e.shared.hiddenCallbacks=null,e=0;e<a.length;e++)$s(a[e],t)}function gc(e,t){var a=e.callbacks;if(a!==null)for(e.callbacks=null,e=0;e<a.length;e++)$s(a[e],t)}function km(e,t){var a=Au;Qe(L1,a,e),Qe(by,t,e),Au=a|t.baseLanes}function is(e){Qe(L1,Au,e),Qe(by,by.current,e)}function El(e){Au=L1.current,we(by,e),we(L1,e)}function Vi(e){var t=e.alternate;Qe(Gn,Gn.current&Sy,e),Qe(Ll,e,e),Ho===null&&(t===null||by.current!==null||t.memoizedState!==null)&&(Ho=e)}function Al(e){Qe(Gn,Gn.current,e),Qe(Ll,e,e),Ho===null&&(Ho=e)}function Xm(e){e.tag===22?(Qe(Gn,Gn.current,e),Qe(Ll,e,e),Ho===null&&(Ho=e)):uo(e)}function uo(e){Qe(Gn,Gn.current,e),Qe(Ll,Ll.current,e)}function Fn(e){we(Ll,e),Ho===e&&(Ho=null),we(Gn,e)}function Ku(e){for(var t=e;t!==null;){if(t.tag===13){var a=t.memoizedState;if(a!==null&&(a=a.dehydrated,a===null||eh(a)||Hv(a)))return t}else if(t.tag===19&&(t.memoizedProps.revealOrder==="forwards"||t.memoizedProps.revealOrder==="backwards"||t.memoizedProps.revealOrder==="unstable_legacy-backwards"||t.memoizedProps.revealOrder==="together")){if((t.flags&128)!==0)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}function We(){var e=te;No===null?No=[e]:No.push(e)}function fe(){var e=te;if(No!==null&&(Ur++,No[Ur]!==e)){var t=be(Ie);if(!ZO.has(t)&&(ZO.add(t),No!==null)){for(var a="",r=0;r<=Ur;r++){var d=No[r],m=r===Ur?e:d;for(d=r+1+". "+d;30>d.length;)d+=" ";d+=m+`
111
- `,a+=d}console.error(`React has detected a change in the order of Hooks called by %s. This will lead to bugs and errors if not fixed. For more information, read the Rules of Hooks: https://react.dev/link/rules-of-hooks
112
-
113
- Previous render Next render
114
- ------------------------------------------------------
115
- %s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
116
- `,t,a)}}}function as(e){e==null||Un(e)||console.error("%s received a final argument that is not an array (instead, received `%s`). When specified, the final argument must be an array.",te,typeof e)}function bd(){var e=be(Ie);$O.has(e)||($O.add(e),console.error("ReactDOM.useFormState has been renamed to React.useActionState. Please update %s to use React.useActionState.",e))}function gn(){throw Error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
117
- 1. You might have mismatching versions of React and the renderer (such as React DOM)
118
- 2. You might be breaking the Rules of Hooks
119
- 3. You might have more than one copy of React in the same app
120
- See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`)}function qg(e,t){if(L0)return!1;if(t===null)return console.error("%s received a final argument during this render, but not during the previous render. Even though the final argument is optional, its type cannot change between renders.",te),!1;e.length!==t.length&&console.error(`The final argument passed to %s changed size between renders. The order and size of this array must remain constant.
121
-
122
- Previous: %s
123
- Incoming: %s`,te,"["+t.join(", ")+"]","["+e.join(", ")+"]");for(var a=0;a<t.length&&a<e.length;a++)if(!La(e[a],t[a]))return!1;return!0}function Yg(e,t,a,r,d,m){Cr=m,Ie=t,No=e!==null?e._debugHookTypes:null,Ur=-1,L0=e!==null&&e.type!==t.type,(Object.prototype.toString.call(a)==="[object AsyncFunction]"||Object.prototype.toString.call(a)==="[object AsyncGeneratorFunction]")&&(m=be(Ie),mx.has(m)||(mx.add(m),console.error("%s is an async Client Component. Only Server Components can be async at the moment. This error is often caused by accidentally adding `'use client'` to a module that was originally written for the server.",m===null?"An unknown Component":"<"+m+">"))),t.memoizedState=null,t.updateQueue=null,t.lanes=0,ie.H=e!==null&&e.memoizedState!==null?yx:No!==null?KO:px,wh=m=(t.mode&ca)!==Pe;var b=sx(a,r,d);if(wh=!1,Ey&&(b=Sd(t,a,r,d)),m){ze(!0);try{b=Sd(t,a,r,d)}finally{ze(!1)}}return xn(e,t),b}function xn(e,t){t._debugHookTypes=No,t.dependencies===null?zr!==null&&(t.dependencies={lanes:0,firstContext:null,_debugThenableState:zr}):t.dependencies._debugThenableState=zr,ie.H=N0;var a=Wt!==null&&Wt.next!==null;if(Cr=0,No=te=ai=Wt=Ie=null,Ur=-1,e!==null&&(e.flags&65011712)!==(t.flags&65011712)&&console.error("Internal React error: Expected static flag was missing. Please notify the React team."),j1=!1,H0=0,zr=null,a)throw Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");e===null||li||(e=e.dependencies,e!==null&&dc(e)&&(li=!0)),U0?(U0=!1,e=!0):e=!1,e&&(t=be(t)||"Unknown",JO.has(t)||mx.has(t)||(JO.add(t),console.error("`use` was called from inside a try/catch block. This is not allowed and can lead to unexpected behavior. To handle errors triggered by `use`, wrap your component in a error boundary.")))}function Sd(e,t,a,r){Ie=e;var d=0;do{if(Ey&&(zr=null),H0=0,Ey=!1,d>=k7)throw Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");if(d+=1,L0=!1,ai=Wt=null,e.updateQueue!=null){var m=e.updateQueue;m.lastEffect=null,m.events=null,m.stores=null,m.memoCache!=null&&(m.memoCache.index=0)}Ur=-1,ie.H=PO,m=sx(t,a,r)}while(Ey);return m}function Td(){var e=ie.H,t=e.useState()[0];return t=typeof t.then=="function"?xd(t):t,e=e.useState()[0],(Wt!==null?Wt.memoizedState:null)!==e&&(Ie.flags|=1024),t}function Pu(){var e=q1!==0;return q1=0,e}function Ed(e,t,a){t.updateQueue=e.updateQueue,t.flags=(t.mode&bs)!==Pe?t.flags&-402655237:t.flags&-2053,e.lanes&=~a}function Ks(e){if(j1){for(e=e.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}j1=!1}Cr=0,No=ai=Wt=Ie=null,Ur=-1,te=null,Ey=!1,H0=q1=0,zr=null}function Cn(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return ai===null?Ie.memoizedState=ai=e:ai=ai.next=e,ai}function Lt(){if(Wt===null){var e=Ie.alternate;e=e!==null?e.memoizedState:null}else e=Wt.next;var t=ai===null?Ie.memoizedState:ai.next;if(t!==null)ai=t,Wt=e;else{if(e===null)throw Ie.alternate===null?Error("Update hook called on initial render. This is likely a bug in React. Please file an issue."):Error("Rendered more hooks than during the previous render.");Wt=e,e={memoizedState:Wt.memoizedState,baseState:Wt.baseState,baseQueue:Wt.baseQueue,queue:Wt.queue,next:null},ai===null?Ie.memoizedState=ai=e:ai=ai.next=e}return ai}function Ad(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function xd(e){var t=H0;return H0+=1,zr===null&&(zr=Ym()),e=Aa(zr,e,t),t=Ie,(ai===null?t.memoizedState:ai.next)===null&&(t=t.alternate,ie.H=t!==null&&t.memoizedState!==null?yx:px),e}function ls(e){if(e!==null&&typeof e=="object"){if(typeof e.then=="function")return xd(e);if(e.$$typeof===Ul)return Ct(e)}throw Error("An unsupported type was passed to use(): "+String(e))}function _a(e){var t=null,a=Ie.updateQueue;if(a!==null&&(t=a.memoCache),t==null){var r=Ie.alternate;r!==null&&(r=r.updateQueue,r!==null&&(r=r.memoCache,r!=null&&(t={data:r.data.map(function(d){return d.slice()}),index:0})))}if(t==null&&(t={data:[],index:0}),a===null&&(a=Ad(),Ie.updateQueue=a),a.memoCache=t,a=t.data[t.index],a===void 0||L0)for(a=t.data[t.index]=Array(e),r=0;r<e;r++)a[r]=BA;else a.length!==e&&console.error("Expected a constant size argument for each invocation of useMemoCache. The previous cache was allocated with size %s but size %s was requested.",a.length,e);return t.index++,a}function Da(e,t){return typeof t=="function"?t(e):t}function vc(e,t,a){var r=Cn();if(a!==void 0){var d=a(t);if(wh){ze(!0);try{a(t)}finally{ze(!1)}}}else d=t;return r.memoizedState=r.baseState=d,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:d},r.queue=e,e=e.dispatch=OA.bind(null,Ie,e),[r.memoizedState,e]}function Fu(e){var t=Lt();return Ps(t,Wt,e)}function Ps(e,t,a){var r=e.queue;if(r===null)throw Error("Should have a queue. You are likely calling Hooks conditionally, which is not allowed. (https://react.dev/link/invalid-hook-call)");r.lastRenderedReducer=a;var d=e.baseQueue,m=r.pending;if(m!==null){if(d!==null){var b=d.next;d.next=m.next,m.next=b}t.baseQueue!==d&&console.error("Internal error: Expected work-in-progress queue to be a clone. This is a bug in React."),t.baseQueue=d=m,r.pending=null}if(m=e.baseState,d===null)e.memoizedState=m;else{t=d.next;var T=b=null,R=null,O=t,q=!1;do{var k=O.lane&-536870913;if(k!==O.lane?(ht&k)===k:(Cr&k)===k){var H=O.revertLane;if(H===0)R!==null&&(R=R.next={lane:0,revertLane:0,gesture:null,action:O.action,hasEagerState:O.hasEagerState,eagerState:O.eagerState,next:null}),k===Eh&&(q=!0);else if((Cr&H)===H){O=O.next,H===Eh&&(q=!0);continue}else k={lane:0,revertLane:O.revertLane,gesture:null,action:O.action,hasEagerState:O.hasEagerState,eagerState:O.eagerState,next:null},R===null?(T=R=k,b=m):R=R.next=k,Ie.lanes|=H,Sf|=H;k=O.action,wh&&a(m,k),m=O.hasEagerState?O.eagerState:a(m,k)}else H={lane:k,revertLane:O.revertLane,gesture:O.gesture,action:O.action,hasEagerState:O.hasEagerState,eagerState:O.eagerState,next:null},R===null?(T=R=H,b=m):R=R.next=H,Ie.lanes|=k,Sf|=k;O=O.next}while(O!==null&&O!==t);if(R===null?b=m:R.next=T,!La(m,e.memoizedState)&&(li=!0,q&&(a=yy,a!==null)))throw a;e.memoizedState=m,e.baseState=b,e.baseQueue=R,r.lastRenderedState=m}return d===null&&(r.lanes=0),[e.memoizedState,r.dispatch]}function Wu(e){var t=Lt(),a=t.queue;if(a===null)throw Error("Should have a queue. You are likely calling Hooks conditionally, which is not allowed. (https://react.dev/link/invalid-hook-call)");a.lastRenderedReducer=e;var r=a.dispatch,d=a.pending,m=t.memoizedState;if(d!==null){a.pending=null;var b=d=d.next;do m=e(m,b.action),b=b.next;while(b!==d);La(m,t.memoizedState)||(li=!0),t.memoizedState=m,t.baseQueue===null&&(t.baseState=m),a.lastRenderedState=m}return[m,r]}function bc(e,t,a){var r=Ie,d=Cn();if(St){if(a===void 0)throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");var m=a();Ty||m===a()||(console.error("The result of getServerSnapshot should be cached to avoid an infinite loop"),Ty=!0)}else{if(m=t(),Ty||(a=t(),La(m,a)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),Ty=!0)),It===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");(ht&127)!==0||Gg(r,t,m)}return d.memoizedState=m,a={value:m,getSnapshot:t},d.queue=a,tr(Fs.bind(null,r,a,e),[e]),r.flags|=2048,ro(Lo|qa,{destroy:void 0},kg.bind(null,r,a,m,t),null),m}function Iu(e,t,a){var r=Ie,d=Lt(),m=St;if(m){if(a===void 0)throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");a=a()}else if(a=t(),!Ty){var b=t();La(a,b)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),Ty=!0)}(b=!La((Wt||d).memoizedState,a))&&(d.memoizedState=a,li=!0),d=d.queue;var T=Fs.bind(null,r,d,e);if(Nn(2048,qa,T,[e]),d.getSnapshot!==t||b||ai!==null&&ai.memoizedState.tag&Lo){if(r.flags|=2048,ro(Lo|qa,{destroy:void 0},kg.bind(null,r,d,a,t),null),It===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");m||(Cr&127)!==0||Gg(r,t,a)}return a}function Gg(e,t,a){e.flags|=16384,e={getSnapshot:t,value:a},t=Ie.updateQueue,t===null?(t=Ad(),Ie.updateQueue=t,t.stores=[e]):(a=t.stores,a===null?t.stores=[e]:a.push(e))}function kg(e,t,a,r){t.value=a,t.getSnapshot=r,Ws(t)&&Xg(e)}function Fs(e,t,a){return a(function(){Ws(t)&&(io(2,"updateSyncExternalStore()",e),Xg(e))})}function Ws(e){var t=e.getSnapshot;e=e.value;try{var a=t();return!La(e,a)}catch{return!0}}function Xg(e){var t=Si(e,2);t!==null&&Fe(t,e,2)}function Qm(e){var t=Cn();if(typeof e=="function"){var a=e;if(e=a(),wh){ze(!0);try{a()}finally{ze(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Da,lastRenderedState:e},t}function Is(e){e=Qm(e);var t=e.queue,a=Fm.bind(null,Ie,t);return t.dispatch=a,[e.memoizedState,a]}function er(e){var t=Cn();t.memoizedState=t.baseState=e;var a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=a,t=Cd.bind(null,Ie,!0,a),a.dispatch=t,[e,t]}function _d(e,t){var a=Lt();return Sc(a,Wt,e,t)}function Sc(e,t,a,r){return e.baseState=a,Ps(e,Wt,typeof r=="function"?r:Da)}function Dd(e,t){var a=Lt();return Wt!==null?Sc(a,Wt,e,t):(a.baseState=e,[e,a.queue.dispatch])}function mS(e,t,a,r,d){if(Wn(e))throw Error("Cannot update form state while rendering.");if(e=t.action,e!==null){var m={payload:d,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(b){m.listeners.push(b)}};ie.T!==null?a(!0):m.isTransition=!1,r(m),a=t.pending,a===null?(m.next=t.pending=m,eu(t,m)):(m.next=a.next,t.pending=a.next=m)}}function eu(e,t){var a=t.action,r=t.payload,d=e.state;if(t.isTransition){var m=ie.T,b={};b._updatedFibers=new Set,ie.T=b;try{var T=a(d,r),R=ie.S;R!==null&&R(b,T),Qg(e,t,T)}catch(O){wd(e,t,O)}finally{m!==null&&b.types!==null&&(m.types!==null&&m.types!==b.types&&console.error("We expected inner Transitions to have transferred the outer types set and that you cannot add to the outer Transition while inside the inner.This is a bug in React."),m.types=b.types),ie.T=m,m===null&&b._updatedFibers&&(e=b._updatedFibers.size,b._updatedFibers.clear(),10<e&&console.warn("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."))}}else try{b=a(d,r),Qg(e,t,b)}catch(O){wd(e,t,O)}}function Qg(e,t,a){a!==null&&typeof a=="object"&&typeof a.then=="function"?(ie.asyncTransitions++,a.then(nr,nr),a.then(function(r){os(e,t,r)},function(r){return wd(e,t,r)}),t.isTransition||console.error("An async function with useActionState was called outside of a transition. This is likely not what you intended (for example, isPending will not update correctly). Either call the returned function inside startTransition, or pass it to an `action` or `formAction` prop.")):os(e,t,a)}function os(e,t,a){t.status="fulfilled",t.value=a,Zm(t),e.state=a,t=e.pending,t!==null&&(a=t.next,a===t?e.pending=null:(a=a.next,t.next=a,eu(e,a)))}function wd(e,t,a){var r=e.pending;if(e.pending=null,r!==null){r=r.next;do t.status="rejected",t.reason=a,Zm(t),t=t.next;while(t!==r)}e.action=null}function Zm(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function ss(e,t){return t}function wa(e,t){if(St){var a=It.formState;if(a!==null){e:{var r=Ie;if(St){if(rn){t:{for(var d=rn,m=Bo;d.nodeType!==8;){if(!m){d=null;break t}if(d=Ua(d.nextSibling),d===null){d=null;break t}}m=d.data,d=m===jx||m===VM?d:null}if(d){rn=Ua(d.nextSibling),r=d.data===jx;break e}}Ja(r)}r=!1}r&&(t=a[0])}}return a=Cn(),a.memoizedState=a.baseState=t,r={pending:null,lanes:0,dispatch:null,lastRenderedReducer:ss,lastRenderedState:t},a.queue=r,a=Fm.bind(null,Ie,r),r.dispatch=a,r=Qm(!1),m=Cd.bind(null,Ie,!1,r.queue),r=Cn(),d={state:t,dispatch:null,action:e,pending:null},r.queue=d,a=mS.bind(null,Ie,d,m,a),d.dispatch=a,r.memoizedState=e,[t,a,!1]}function tu(e){var t=Lt();return Jm(t,Wt,e)}function Jm(e,t,a){if(t=Ps(e,t,ss)[0],e=Fu(Da)[0],typeof t=="object"&&t!==null&&typeof t.then=="function")try{var r=xd(t)}catch(b){throw b===gy?V1:b}else r=t;t=Lt();var d=t.queue,m=d.dispatch;return a!==t.memoizedState&&(Ie.flags|=2048,ro(Lo|qa,{destroy:void 0},Zg.bind(null,d,a),null)),[r,m,e]}function Zg(e,t){e.action=t}function nu(e){var t=Lt(),a=Wt;if(a!==null)return Jm(t,a,e);Lt(),t=t.memoizedState,a=Lt();var r=a.queue.dispatch;return a.memoizedState=e,[t,r,!1]}function ro(e,t,a,r){return e={tag:e,create:a,deps:r,inst:t,next:null},t=Ie.updateQueue,t===null&&(t=Ad(),Ie.updateQueue=t),a=t.lastEffect,a===null?t.lastEffect=e.next=e:(r=a.next,a.next=e,e.next=r,t.lastEffect=e),e}function $m(e){var t=Cn();return e={current:e},t.memoizedState=e}function iu(e,t,a,r){var d=Cn();Ie.flags|=e,d.memoizedState=ro(Lo|t,{destroy:void 0},a,r===void 0?null:r)}function Nn(e,t,a,r){var d=Lt();r=r===void 0?null:r;var m=d.memoizedState.inst;Wt!==null&&r!==null&&qg(r,Wt.memoizedState.deps)?d.memoizedState=ro(t,m,a,r):(Ie.flags|=e,d.memoizedState=ro(Lo|t,m,a,r))}function tr(e,t){(Ie.mode&bs)!==Pe?iu(276826112,qa,e,t):iu(8390656,qa,e,t)}function pS(e){Ie.flags|=4;var t=Ie.updateQueue;if(t===null)t=Ad(),Ie.updateQueue=t,t.events=[e];else{var a=t.events;a===null?t.events=[e]:a.push(e)}}function Rd(e){var t=Cn(),a={impl:e};return t.memoizedState=a,function(){if((Dt&yi)!==wi)throw Error("A function wrapped in useEffectEvent can't be called during rendering.");return a.impl.apply(void 0,arguments)}}function Tc(e){var t=Lt().memoizedState;return pS({ref:t,nextImpl:e}),function(){if((Dt&yi)!==wi)throw Error("A function wrapped in useEffectEvent can't be called during rendering.");return t.impl.apply(void 0,arguments)}}function Hi(e,t){var a=4194308;return(Ie.mode&bs)!==Pe&&(a|=134217728),iu(a,Nl,e,t)}function Ra(e,t){if(typeof t=="function"){e=e();var a=t(e);return function(){typeof a=="function"?a():t(null)}}if(t!=null)return t.hasOwnProperty("current")||console.error("Expected useImperativeHandle() first argument to either be a ref callback or React.createRef() object. Instead received: %s.","an object with keys {"+Object.keys(t).join(", ")+"}"),e=e(),t.current=e,function(){t.current=null}}function co(e,t,a){typeof t!="function"&&console.error("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",t!==null?typeof t:"null"),a=a!=null?a.concat([e]):null;var r=4194308;(Ie.mode&bs)!==Pe&&(r|=134217728),iu(r,Nl,Ra.bind(null,t,e),a)}function Ec(e,t,a){typeof t!="function"&&console.error("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",t!==null?typeof t:"null"),a=a!=null?a.concat([e]):null,Nn(4,Nl,Ra.bind(null,t,e),a)}function Km(e,t){return Cn().memoizedState=[e,t===void 0?null:t],e}function xl(e,t){var a=Lt();t=t===void 0?null:t;var r=a.memoizedState;return t!==null&&qg(t,r[1])?r[0]:(a.memoizedState=[e,t],e)}function Li(e,t){var a=Cn();t=t===void 0?null:t;var r=e();if(wh){ze(!0);try{e()}finally{ze(!1)}}return a.memoizedState=[r,t],r}function ln(e,t){var a=Lt();t=t===void 0?null:t;var r=a.memoizedState;if(t!==null&&qg(t,r[1]))return r[0];if(r=e(),wh){ze(!0);try{e()}finally{ze(!1)}}return a.memoizedState=[r,t],r}function Ac(e,t){var a=Cn();return Nt(a,e,t)}function fo(e,t){var a=Lt();return _n(a,Wt.memoizedState,e,t)}function at(e,t){var a=Lt();return Wt===null?Nt(a,e,t):_n(a,Wt.memoizedState,e,t)}function Nt(e,t,a){return a===void 0||(Cr&1073741824)!==0&&(ht&261930)===0?e.memoizedState=t:(e.memoizedState=a,e=Cc(),Ie.lanes|=e,Sf|=e,a)}function _n(e,t,a,r){return La(a,t)?a:by.current!==null?(e=Nt(e,a,r),La(e,t)||(li=!0),e):(Cr&42)===0||(Cr&1073741824)!==0&&(ht&261930)===0?(li=!0,e.memoizedState=a):(e=Cc(),Ie.lanes|=e,Sf|=e,t)}function nr(){ie.asyncTransitions--}function ir(e,t,a,r,d){var m=Ut.p;Ut.p=m!==0&&m<mi?m:mi;var b=ie.T,T={};T._updatedFibers=new Set,ie.T=T,Cd(e,!1,t,a);try{var R=d(),O=ie.S;if(O!==null&&O(T,R),R!==null&&typeof R=="object"&&typeof R.then=="function"){ie.asyncTransitions++,R.then(nr,nr);var q=qm(R,r);ar(e,t,q,Ei(e))}else ar(e,t,r,Ei(e))}catch(k){ar(e,t,{then:function(){},status:"rejected",reason:k},Ei(e))}finally{Ut.p=m,b!==null&&T.types!==null&&(b.types!==null&&b.types!==T.types&&console.error("We expected inner Transitions to have transferred the outer types set and that you cannot add to the outer Transition while inside the inner.This is a bug in React."),b.types=T.types),ie.T=b,b===null&&T._updatedFibers&&(e=T._updatedFibers.size,T._updatedFibers.clear(),10<e&&console.warn("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."))}}function us(e,t,a,r){if(e.tag!==5)throw Error("Expected the form instance to be a HostComponent. This is a bug in React.");var d=Od(e).queue;dS(e),ir(e,d,t,Nh,a===null?A:function(){return xc(e),a(r)})}function Od(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:Nh,baseState:Nh,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Da,lastRenderedState:Nh},next:null};var a={};return t.next={memoizedState:a,baseState:a,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Da,lastRenderedState:a},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function xc(e){ie.T===null&&console.error("requestFormReset was called outside a transition or action. To fix, move to an action, or wrap with startTransition.");var t=Od(e);t.next===null&&(t=e.alternate.memoizedState),ar(e,t.next.queue,{},Ei(e))}function au(){var e=Qm(!1);return e=ir.bind(null,Ie,e.queue,!0,!1),Cn().memoizedState=e,[!1,e]}function yS(){var e=Fu(Da)[0],t=Lt().memoizedState;return[typeof e=="boolean"?e:xd(e),t]}function dn(){var e=Wu(Da)[0],t=Lt().memoizedState;return[typeof e=="boolean"?e:xd(e),t]}function rs(){return Ct(I0)}function Md(){var e=Cn(),t=It.identifierPrefix;if(St){var a=Dr,r=_r;a=(r&~(1<<32-hi(r)-1)).toString(32)+a,t="_"+t+"R_"+a,a=q1++,0<a&&(t+="H"+a.toString(32)),t+="_"}else a=G7++,t="_"+t+"r_"+a.toString(32)+"_";return e.memoizedState=t}function Pm(){return Cn().memoizedState=gS.bind(null,Ie)}function gS(e,t){for(var a=e.return;a!==null;){switch(a.tag){case 24:case 3:var r=Ei(a),d=Ln(r),m=oo(a,d,r);m!==null&&(io(r,"refresh()",e),Fe(m,a,r),Wa(m,a,r)),e=Nm(),t!=null&&m!==null&&console.error("The seed argument is not enabled outside experimental channels."),d.payload={cache:e};return}a=a.return}}function OA(e,t,a){var r=arguments;typeof r[3]=="function"&&console.error("State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect()."),r=Ei(e);var d={lane:r,revertLane:0,gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null};Wn(e)?vn(t,d):(d=ju(e,t,d,r),d!==null&&(io(r,"dispatch()",e),Fe(d,e,r),zd(d,t,r)))}function Fm(e,t,a){var r=arguments;typeof r[3]=="function"&&console.error("State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect()."),r=Ei(e),ar(e,t,a,r)&&io(r,"setState()",e)}function ar(e,t,a,r){var d={lane:r,revertLane:0,gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null};if(Wn(e))vn(t,d);else{var m=e.alternate;if(e.lanes===0&&(m===null||m.lanes===0)&&(m=t.lastRenderedReducer,m!==null)){var b=ie.H;ie.H=Ts;try{var T=t.lastRenderedState,R=m(T,a);if(d.hasEagerState=!0,d.eagerState=R,La(R,T))return rc(e,t,d,0),It===null&&zm(),!1}catch{}finally{ie.H=b}}if(a=ju(e,t,d,r),a!==null)return Fe(a,e,r),zd(a,t,r),!0}return!1}function Cd(e,t,a,r){if(ie.T===null&&Eh===0&&console.error("An optimistic state update occurred outside a transition or action. To fix, move the update to an action, or wrap with startTransition."),r={lane:2,revertLane:Uv(),gesture:null,action:r,hasEagerState:!1,eagerState:null,next:null},Wn(e)){if(t)throw Error("Cannot update optimistic state while rendering.");console.error("Cannot call startTransition while rendering.")}else t=ju(e,a,r,2),t!==null&&(io(2,"setOptimistic()",e),Fe(t,e,2))}function Wn(e){var t=e.alternate;return e===Ie||t!==null&&t===Ie}function vn(e,t){Ey=j1=!0;var a=e.pending;a===null?t.next=t:(t.next=a.next,a.next=t),e.pending=t}function zd(e,t,a){if((a&4194048)!==0){var r=t.lanes;r&=e.pendingLanes,a|=r,t.lanes=a,If(e,a)}}function lr(e){if(e!==null&&typeof e!="function"){var t=String(e);sM.has(t)||(sM.add(t),console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",e))}}function _c(e,t,a,r){var d=e.memoizedState,m=a(r,d);if(e.mode&ca){ze(!0);try{m=a(r,d)}finally{ze(!1)}}m===void 0&&(t=he(t)||"Component",iM.has(t)||(iM.add(t),console.error("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",t))),d=m==null?d:ct({},d,m),e.memoizedState=d,e.lanes===0&&(e.updateQueue.baseState=d)}function Wm(e,t,a,r,d,m,b){var T=e.stateNode;if(typeof T.shouldComponentUpdate=="function"){if(a=T.shouldComponentUpdate(r,m,b),e.mode&ca){ze(!0);try{a=T.shouldComponentUpdate(r,m,b)}finally{ze(!1)}}return a===void 0&&console.error("%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",he(t)||"Component"),a}return t.prototype&&t.prototype.isPureReactComponent?!uc(a,r)||!uc(d,m):!0}function ho(e,t,a,r){var d=t.state;typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(a,r),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(a,r),t.state!==d&&(e=be(e)||"Component",WO.has(e)||(WO.add(e),console.error("%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",e)),gx.enqueueReplaceState(t,t.state,null))}function mo(e,t){var a=t;if("ref"in t){a={};for(var r in t)r!=="ref"&&(a[r]=t[r])}if(e=e.defaultProps){a===t&&(a=ct({},a));for(var d in e)a[d]===void 0&&(a[d]=e[d])}return a}function Im(e){$A(e),console.warn(`%s
124
-
125
- %s
126
- `,Ay?"An error occurred in the <"+Ay+"> component.":"An error occurred in one of your React components.",`Consider adding an error boundary to your tree to customize error handling behavior.
127
- Visit https://react.dev/link/error-boundaries to learn more about error boundaries.`)}function ep(e){var t=Ay?"The above error occurred in the <"+Ay+"> component.":"The above error occurred in one of your React components.",a="React will try to recreate this component tree from scratch using the error boundary you provided, "+((vx||"Anonymous")+".");if(typeof e=="object"&&e!==null&&typeof e.environmentName=="string"){var r=e.environmentName;e=[`%o
128
-
129
- %s
130
-
131
- %s
132
- `,e,t,a].slice(0),typeof e[0]=="string"?e.splice(0,1,kM+" "+e[0],XM,fT+r+fT,QM):e.splice(0,0,kM,XM,fT+r+fT,QM),e.unshift(console),r=rN.apply(console.error,e),r()}else console.error(`%o
133
-
134
- %s
135
-
136
- %s
137
- `,e,t,a)}function Jg(e){$A(e)}function Ud(e,t){try{Ay=t.source?be(t.source):null,vx=null;var a=t.value;if(ie.actQueue!==null)ie.thrownErrors.push(a);else{var r=e.onUncaughtError;r(a,{componentStack:t.stack})}}catch(d){setTimeout(function(){throw d})}}function $g(e,t,a){try{Ay=a.source?be(a.source):null,vx=be(t);var r=e.onCaughtError;r(a.value,{componentStack:a.stack,errorBoundary:t.tag===1?t.stateNode:null})}catch(d){setTimeout(function(){throw d})}}function tp(e,t,a){return a=Ln(a),a.tag=fx,a.payload={element:null},a.callback=function(){_e(t.source,Ud,e,t)},a}function np(e){return e=Ln(e),e.tag=fx,e}function ip(e,t,a,r){var d=a.type.getDerivedStateFromError;if(typeof d=="function"){var m=r.value;e.payload=function(){return d(m)},e.callback=function(){qu(a),_e(r.source,$g,t,a,r)}}var b=a.stateNode;b!==null&&typeof b.componentDidCatch=="function"&&(e.callback=function(){qu(a),_e(r.source,$g,t,a,r),typeof d!="function"&&(Ef===null?Ef=new Set([this]):Ef.add(this)),N7(this,r),typeof d=="function"||(a.lanes&2)===0&&console.error("%s: Error boundaries should implement getDerivedStateFromError(). In that method, return a state update to display an error message or fallback UI.",be(a)||"Unknown")})}function Kg(e,t,a,r,d){if(a.flags|=32768,wo&&Hc(e,d),r!==null&&typeof r=="object"&&typeof r.then=="function"){if(t=a.alternate,t!==null&&bl(t,a,d,!0),St&&(Su=!0),a=Ll.current,a!==null){switch(a.tag){case 31:case 13:return Ho===null?Uc():a.alternate===null&&Sn===Vr&&(Sn=k1),a.flags&=-257,a.flags|=65536,a.lanes=d,r===H1?a.flags|=16384:(t=a.updateQueue,t===null?a.updateQueue=new Set([r]):t.add(r),Ap(e,r,d)),!1;case 22:return a.flags|=65536,r===H1?a.flags|=16384:(t=a.updateQueue,t===null?(t={transitions:null,markerInstances:null,retryQueue:new Set([r])},a.updateQueue=t):(a=t.retryQueue,a===null?t.retryQueue=new Set([r]):a.add(r)),Ap(e,r,d)),!1}throw Error("Unexpected Suspense handler tag ("+a.tag+"). This is a bug in React.")}return Ap(e,r,d),Uc(),!1}if(St)return Su=!0,t=Ll.current,t!==null?((t.flags&65536)===0&&(t.flags|=256),t.flags|=65536,t.lanes=d,r!==ex&&dd(Ci(Error("There was an error while hydrating but React was able to recover by instead client rendering from the nearest Suspense boundary.",{cause:r}),a))):(r!==ex&&dd(Ci(Error("There was an error while hydrating but React was able to recover by instead client rendering the entire root.",{cause:r}),a)),e=e.current.alternate,e.flags|=65536,d&=-d,e.lanes|=d,r=Ci(r,a),d=tp(e.stateNode,r,d),vd(e,d),Sn!==vf&&(Sn=Rh)),!1;var m=Ci(Error("There was an error during concurrent rendering but React was able to recover by instead synchronously rendering the entire root.",{cause:r}),a);if(X0===null?X0=[m]:X0.push(m),Sn!==vf&&(Sn=Rh),t===null)return!0;r=Ci(r,a),a=t;do{switch(a.tag){case 3:return a.flags|=65536,e=d&-d,a.lanes|=e,e=tp(a.stateNode,r,e),vd(a,e),!1;case 1:if(t=a.type,m=a.stateNode,(a.flags&128)===0&&(typeof t.getDerivedStateFromError=="function"||m!==null&&typeof m.componentDidCatch=="function"&&(Ef===null||!Ef.has(m))))return a.flags|=65536,d&=-d,a.lanes|=d,d=np(d),ip(d,e,a,r),vd(a,d),!1}a=a.return}while(a!==null);return!1}function In(e,t,a,r){t.child=e===null?YO(t,null,a,r):Dh(t,e.child,a,r)}function vS(e,t,a,r,d){a=a.render;var m=t.ref;if("ref"in r){var b={};for(var T in r)T!=="ref"&&(b[T]=r[T])}else b=r;return Js(t),r=Yg(e,t,a,b,m,d),T=Pu(),e!==null&&!li?(Ed(e,t,d),_l(e,t,d)):(St&&T&&Vm(t),t.flags|=1,In(e,t,r,d),t.child)}function Pg(e,t,a,r,d){if(e===null){var m=a.type;return typeof m=="function"&&!Rg(m)&&m.defaultProps===void 0&&a.compare===null?(a=Gs(m),t.tag=15,t.type=a,Dc(t,m),Fg(e,t,a,r,d)):(e=Yu(a.type,null,r,t,t.mode,d),e.ref=t.ref,e.return=t,t.child=e)}if(m=e.child,!up(e,d)){var b=m.memoizedProps;if(a=a.compare,a=a!==null?a:uc,a(b,r)&&e.ref===t.ref)return _l(e,t,d)}return t.flags|=1,e=no(m,r),e.ref=t.ref,e.return=t,t.child=e}function Fg(e,t,a,r,d){if(e!==null){var m=e.memoizedProps;if(uc(m,r)&&e.ref===t.ref&&t.type===e.type)if(li=!1,t.pendingProps=r=m,up(e,d))(e.flags&131072)!==0&&(li=!0);else return t.lanes=e.lanes,_l(e,t,d)}return tv(e,t,a,r,d)}function Wg(e,t,a,r){var d=r.children,m=e!==null?e.memoizedState:null;if(e===null&&t.stateNode===null&&(t.stateNode={_visibility:b0,_pendingMarkers:null,_retryCache:null,_transitions:null}),r.mode==="hidden"){if((t.flags&128)!==0){if(m=m!==null?m.baseLanes|a:a,e!==null){for(r=t.child=e.child,d=0;r!==null;)d=d|r.lanes|r.childLanes,r=r.sibling;r=d&~m}else r=0,t.child=null;return Ig(e,t,m,a,r)}if((a&536870912)!==0)t.memoizedState={baseLanes:0,cachePool:null},e!==null&&mc(t,m!==null?m.cachePool:null),m!==null?km(t,m):is(t),Xm(t);else return r=t.lanes=536870912,Ig(e,t,m!==null?m.baseLanes|a:a,a,r)}else m!==null?(mc(t,m.cachePool),km(t,m),uo(t),t.memoizedState=null):(e!==null&&mc(t,null),is(t),uo(t));return In(e,t,d,a),t.child}function or(e,t){return e!==null&&e.tag===22||t.stateNode!==null||(t.stateNode={_visibility:b0,_pendingMarkers:null,_retryCache:null,_transitions:null}),t.sibling}function Ig(e,t,a,r,d){var m=ns();return m=m===null?null:{parent:ni._currentValue,pool:m},t.memoizedState={baseLanes:a,cachePool:m},e!==null&&mc(t,null),is(t),Xm(t),e!==null&&bl(e,t,r,!0),t.childLanes=d,null}function Bd(e,t){var a=t.hidden;return a!==void 0&&console.error(`<Activity> doesn't accept a hidden prop. Use mode="hidden" instead.
138
- - <Activity %s>
139
- + <Activity %s>`,a===!0?"hidden":a===!1?"hidden={false}":"hidden={...}",a?'mode="hidden"':'mode="visible"'),t=Hd({mode:t.mode,children:t.children},e.mode),t.ref=e.ref,e.child=t,t.return=e,t}function ev(e,t,a){return Dh(t,e.child,null,a),e=Bd(t,t.pendingProps),e.flags|=2,Fn(t),t.memoizedState=null,e}function bS(e,t,a){var r=t.pendingProps,d=(t.flags&128)!==0;if(t.flags&=-129,e===null){if(St){if(r.mode==="hidden")return e=Bd(t,r),t.lanes=536870912,or(null,e);if(Al(t),(e=rn)?(a=qt(e,Bo),a=a!==null&&a.data===Bh?a:null,a!==null&&(r={dehydrated:a,treeContext:rS(),retryLane:536870912,hydrationErrors:null},t.memoizedState=r,r=Mg(a),r.return=t,t.child=r,Zi=t,rn=null)):a=null,a===null)throw Ti(t,e),Ja(t);return t.lanes=536870912,null}return Bd(t,r)}var m=e.memoizedState;if(m!==null){var b=m.dehydrated;if(Al(t),d)if(t.flags&256)t.flags&=-257,t=ev(e,t,a);else if(t.memoizedState!==null)t.child=e.child,t.flags|=128,t=null;else throw Error("Client rendering an Activity suspended it again. This is a bug in React.");else if(fS(),(a&536870912)!==0&&zc(t),li||bl(e,t,a,!1),d=(a&e.childLanes)!==0,li||d){if(r=It,r!==null&&(b=Mu(r,a),b!==0&&b!==m.retryLane))throw m.retryLane=b,Si(e,b),Fe(r,e,b),bx;Uc(),t=ev(e,t,a)}else e=m.treeContext,rn=Ua(b.nextSibling),Zi=t,St=!0,df=null,Su=!1,Hl=null,Bo=!1,e!==null&&cS(t,e),t=Bd(t,r),t.flags|=4096;return t}return m=e.child,r={mode:r.mode,children:r.children},(a&536870912)!==0&&(a&e.lanes)!==0&&zc(t),e=no(m,r),e.ref=t.ref,t.child=e,e.return=t,e}function Vd(e,t){var a=t.ref;if(a===null)e!==null&&e.ref!==null&&(t.flags|=4194816);else{if(typeof a!="function"&&typeof a!="object")throw Error("Expected ref to be a function, an object returned by React.createRef(), or undefined/null.");(e===null||e.ref!==a)&&(t.flags|=4194816)}}function tv(e,t,a,r,d){if(a.prototype&&typeof a.prototype.render=="function"){var m=he(a)||"Unknown";uM[m]||(console.error("The <%s /> component appears to have a render method, but doesn't extend React.Component. This is likely to cause errors. Change %s to extend React.Component instead.",m,m),uM[m]=!0)}return t.mode&ca&&Ss.recordLegacyContextWarning(t,null),e===null&&(Dc(t,t.type),a.contextTypes&&(m=he(a)||"Unknown",cM[m]||(cM[m]=!0,console.error("%s uses the legacy contextTypes API which was removed in React 19. Use React.createContext() with React.useContext() instead. (https://react.dev/link/legacy-context)",m)))),Js(t),a=Yg(e,t,a,r,void 0,d),r=Pu(),e!==null&&!li?(Ed(e,t,d),_l(e,t,d)):(St&&r&&Vm(t),t.flags|=1,In(e,t,a,d),t.child)}function nv(e,t,a,r,d,m){return Js(t),Ur=-1,L0=e!==null&&e.type!==t.type,t.updateQueue=null,a=Sd(t,r,a,d),xn(e,t),r=Pu(),e!==null&&!li?(Ed(e,t,m),_l(e,t,m)):(St&&r&&Vm(t),t.flags|=1,In(e,t,a,m),t.child)}function sr(e,t,a,r,d){switch(y(t)){case!1:var m=t.stateNode,b=new t.type(t.memoizedProps,m.context).state;m.updater.enqueueSetState(m,b,null);break;case!0:t.flags|=128,t.flags|=65536,m=Error("Simulated error coming from DevTools");var T=d&-d;if(t.lanes|=T,b=It,b===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");T=np(T),ip(T,b,t,Ci(m,t)),vd(t,T)}if(Js(t),t.stateNode===null){if(b=ff,m=a.contextType,"contextType"in a&&m!==null&&(m===void 0||m.$$typeof!==Ul)&&!oM.has(a)&&(oM.add(a),T=m===void 0?" However, it is set to undefined. This can be caused by a typo or by mixing up named and default imports. This can also happen due to a circular dependency, so try moving the createContext() call to a separate file.":typeof m!="object"?" However, it is set to a "+typeof m+".":m.$$typeof===Qp?" Did you accidentally pass the Context.Consumer instead?":" However, it is set to an object with keys {"+Object.keys(m).join(", ")+"}.",console.error("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",he(a)||"Component",T)),typeof m=="object"&&m!==null&&(b=Ct(m)),m=new a(r,b),t.mode&ca){ze(!0);try{m=new a(r,b)}finally{ze(!1)}}if(b=t.memoizedState=m.state!==null&&m.state!==void 0?m.state:null,m.updater=gx,t.stateNode=m,m._reactInternals=t,m._reactInternalInstance=FO,typeof a.getDerivedStateFromProps=="function"&&b===null&&(b=he(a)||"Component",IO.has(b)||(IO.add(b),console.error("`%s` uses `getDerivedStateFromProps` but its initial state is %s. This is not recommended. Instead, define the initial state by assigning an object to `this.state` in the constructor of `%s`. This ensures that `getDerivedStateFromProps` arguments have a consistent shape.",b,m.state===null?"null":"undefined",b))),typeof a.getDerivedStateFromProps=="function"||typeof m.getSnapshotBeforeUpdate=="function"){var R=T=b=null;if(typeof m.componentWillMount=="function"&&m.componentWillMount.__suppressDeprecationWarning!==!0?b="componentWillMount":typeof m.UNSAFE_componentWillMount=="function"&&(b="UNSAFE_componentWillMount"),typeof m.componentWillReceiveProps=="function"&&m.componentWillReceiveProps.__suppressDeprecationWarning!==!0?T="componentWillReceiveProps":typeof m.UNSAFE_componentWillReceiveProps=="function"&&(T="UNSAFE_componentWillReceiveProps"),typeof m.componentWillUpdate=="function"&&m.componentWillUpdate.__suppressDeprecationWarning!==!0?R="componentWillUpdate":typeof m.UNSAFE_componentWillUpdate=="function"&&(R="UNSAFE_componentWillUpdate"),b!==null||T!==null||R!==null){m=he(a)||"Component";var O=typeof a.getDerivedStateFromProps=="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";tM.has(m)||(tM.add(m),console.error(`Unsafe legacy lifecycles will not be called for components using new component APIs.
140
-
141
- %s uses %s but also contains the following legacy lifecycles:%s%s%s
142
-
143
- The above lifecycles should be removed. Learn more about this warning here:
144
- https://react.dev/link/unsafe-component-lifecycles`,m,O,b!==null?`
145
- `+b:"",T!==null?`
146
- `+T:"",R!==null?`
147
- `+R:""))}}m=t.stateNode,b=he(a)||"Component",m.render||(a.prototype&&typeof a.prototype.render=="function"?console.error("No `render` method found on the %s instance: did you accidentally return an object from the constructor?",b):console.error("No `render` method found on the %s instance: you may have forgotten to define `render`.",b)),!m.getInitialState||m.getInitialState.isReactClassApproved||m.state||console.error("getInitialState was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Did you mean to define a state property instead?",b),m.getDefaultProps&&!m.getDefaultProps.isReactClassApproved&&console.error("getDefaultProps was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Use a static property to define defaultProps instead.",b),m.contextType&&console.error("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",b),a.childContextTypes&&!lM.has(a)&&(lM.add(a),console.error("%s uses the legacy childContextTypes API which was removed in React 19. Use React.createContext() instead. (https://react.dev/link/legacy-context)",b)),a.contextTypes&&!aM.has(a)&&(aM.add(a),console.error("%s uses the legacy contextTypes API which was removed in React 19. Use React.createContext() with static contextType instead. (https://react.dev/link/legacy-context)",b)),typeof m.componentShouldUpdate=="function"&&console.error("%s has a method called componentShouldUpdate(). Did you mean shouldComponentUpdate()? The name is phrased as a question because the function is expected to return a value.",b),a.prototype&&a.prototype.isPureReactComponent&&typeof m.shouldComponentUpdate<"u"&&console.error("%s has a method called shouldComponentUpdate(). shouldComponentUpdate should not be used when extending React.PureComponent. Please extend React.Component if shouldComponentUpdate is used.",he(a)||"A pure component"),typeof m.componentDidUnmount=="function"&&console.error("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",b),typeof m.componentDidReceiveProps=="function"&&console.error("%s has a method called componentDidReceiveProps(). But there is no such lifecycle method. If you meant to update the state in response to changing props, use componentWillReceiveProps(). If you meant to fetch data or run side-effects or mutations after React has updated the UI, use componentDidUpdate().",b),typeof m.componentWillRecieveProps=="function"&&console.error("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",b),typeof m.UNSAFE_componentWillRecieveProps=="function"&&console.error("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",b),T=m.props!==r,m.props!==void 0&&T&&console.error("When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",b),m.defaultProps&&console.error("Setting defaultProps as an instance property on %s is not supported and will be ignored. Instead, define defaultProps as a static property on %s.",b,b),typeof m.getSnapshotBeforeUpdate!="function"||typeof m.componentDidUpdate=="function"||eM.has(a)||(eM.add(a),console.error("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",he(a))),typeof m.getDerivedStateFromProps=="function"&&console.error("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.",b),typeof m.getDerivedStateFromError=="function"&&console.error("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.",b),typeof a.getSnapshotBeforeUpdate=="function"&&console.error("%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.",b),(T=m.state)&&(typeof T!="object"||Un(T))&&console.error("%s.state: must be set to an object or null",b),typeof m.getChildContext=="function"&&typeof a.childContextTypes!="object"&&console.error("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",b),m=t.stateNode,m.props=r,m.state=t.memoizedState,m.refs={},vt(t),b=a.contextType,m.context=typeof b=="object"&&b!==null?Ct(b):ff,m.state===r&&(b=he(a)||"Component",nM.has(b)||(nM.add(b),console.error("%s: It is not recommended to assign props directly to state because updates to props won't be reflected in state. In most cases, it is better to use props directly.",b))),t.mode&ca&&Ss.recordLegacyContextWarning(t,m),Ss.recordUnsafeLifecycleWarnings(t,m),m.state=t.memoizedState,b=a.getDerivedStateFromProps,typeof b=="function"&&(_c(t,a,b,r),m.state=t.memoizedState),typeof a.getDerivedStateFromProps=="function"||typeof m.getSnapshotBeforeUpdate=="function"||typeof m.UNSAFE_componentWillMount!="function"&&typeof m.componentWillMount!="function"||(b=m.state,typeof m.componentWillMount=="function"&&m.componentWillMount(),typeof m.UNSAFE_componentWillMount=="function"&&m.UNSAFE_componentWillMount(),b!==m.state&&(console.error("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",be(t)||"Component"),gx.enqueueReplaceState(m,m.state,null)),so(t,r,m,d),yc(),m.state=t.memoizedState),typeof m.componentDidMount=="function"&&(t.flags|=4194308),(t.mode&bs)!==Pe&&(t.flags|=134217728),m=!0}else if(e===null){m=t.stateNode;var q=t.memoizedProps;T=mo(a,q),m.props=T;var k=m.context;R=a.contextType,b=ff,typeof R=="object"&&R!==null&&(b=Ct(R)),O=a.getDerivedStateFromProps,R=typeof O=="function"||typeof m.getSnapshotBeforeUpdate=="function",q=t.pendingProps!==q,R||typeof m.UNSAFE_componentWillReceiveProps!="function"&&typeof m.componentWillReceiveProps!="function"||(q||k!==b)&&ho(t,m,r,b),gf=!1;var H=t.memoizedState;m.state=H,so(t,r,m,d),yc(),k=t.memoizedState,q||H!==k||gf?(typeof O=="function"&&(_c(t,a,O,r),k=t.memoizedState),(T=gf||Wm(t,a,T,r,H,k,b))?(R||typeof m.UNSAFE_componentWillMount!="function"&&typeof m.componentWillMount!="function"||(typeof m.componentWillMount=="function"&&m.componentWillMount(),typeof m.UNSAFE_componentWillMount=="function"&&m.UNSAFE_componentWillMount()),typeof m.componentDidMount=="function"&&(t.flags|=4194308),(t.mode&bs)!==Pe&&(t.flags|=134217728)):(typeof m.componentDidMount=="function"&&(t.flags|=4194308),(t.mode&bs)!==Pe&&(t.flags|=134217728),t.memoizedProps=r,t.memoizedState=k),m.props=r,m.state=k,m.context=b,m=T):(typeof m.componentDidMount=="function"&&(t.flags|=4194308),(t.mode&bs)!==Pe&&(t.flags|=134217728),m=!1)}else{m=t.stateNode,lo(e,t),b=t.memoizedProps,R=mo(a,b),m.props=R,O=t.pendingProps,H=m.context,k=a.contextType,T=ff,typeof k=="object"&&k!==null&&(T=Ct(k)),q=a.getDerivedStateFromProps,(k=typeof q=="function"||typeof m.getSnapshotBeforeUpdate=="function")||typeof m.UNSAFE_componentWillReceiveProps!="function"&&typeof m.componentWillReceiveProps!="function"||(b!==O||H!==T)&&ho(t,m,r,T),gf=!1,H=t.memoizedState,m.state=H,so(t,r,m,d),yc();var I=t.memoizedState;b!==O||H!==I||gf||e!==null&&e.dependencies!==null&&dc(e.dependencies)?(typeof q=="function"&&(_c(t,a,q,r),I=t.memoizedState),(R=gf||Wm(t,a,R,r,H,I,T)||e!==null&&e.dependencies!==null&&dc(e.dependencies))?(k||typeof m.UNSAFE_componentWillUpdate!="function"&&typeof m.componentWillUpdate!="function"||(typeof m.componentWillUpdate=="function"&&m.componentWillUpdate(r,I,T),typeof m.UNSAFE_componentWillUpdate=="function"&&m.UNSAFE_componentWillUpdate(r,I,T)),typeof m.componentDidUpdate=="function"&&(t.flags|=4),typeof m.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof m.componentDidUpdate!="function"||b===e.memoizedProps&&H===e.memoizedState||(t.flags|=4),typeof m.getSnapshotBeforeUpdate!="function"||b===e.memoizedProps&&H===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=I),m.props=r,m.state=I,m.context=T,m=R):(typeof m.componentDidUpdate!="function"||b===e.memoizedProps&&H===e.memoizedState||(t.flags|=4),typeof m.getSnapshotBeforeUpdate!="function"||b===e.memoizedProps&&H===e.memoizedState||(t.flags|=1024),m=!1)}if(T=m,Vd(e,t),b=(t.flags&128)!==0,T||b){if(T=t.stateNode,Us(t),b&&typeof a.getDerivedStateFromError!="function")a=null,Na=-1;else if(a=wO(T),t.mode&ca){ze(!0);try{wO(T)}finally{ze(!1)}}t.flags|=1,e!==null&&b?(t.child=Dh(t,e.child,null,d),t.child=Dh(t,null,a,d)):In(e,t,a,d),t.memoizedState=T.state,e=t.child}else e=_l(e,t,d);return d=t.stateNode,m&&d.props!==r&&(xy||console.error("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",be(t)||"a component"),xy=!0),e}function iv(e,t,a,r){return Qs(),t.flags|=256,In(e,t,a,r),t.child}function Dc(e,t){t&&t.childContextTypes&&console.error(`childContextTypes cannot be defined on a function component.
148
- %s.childContextTypes = ...`,t.displayName||t.name||"Component"),typeof t.getDerivedStateFromProps=="function"&&(e=he(t)||"Unknown",fM[e]||(console.error("%s: Function components do not support getDerivedStateFromProps.",e),fM[e]=!0)),typeof t.contextType=="object"&&t.contextType!==null&&(t=he(t)||"Unknown",rM[t]||(console.error("%s: Function components do not support contextType.",t),rM[t]=!0))}function wc(e){return{baseLanes:e,cachePool:Hg()}}function ap(e,t,a){return e=e!==null?e.childLanes&~a:0,t&&(e|=ol),e}function lp(e,t,a){var r,d=t.pendingProps;p(t)&&(t.flags|=128);var m=!1,b=(t.flags&128)!==0;if((r=b)||(r=e!==null&&e.memoizedState===null?!1:(Gn.current&V0)!==0),r&&(m=!0,t.flags&=-129),r=(t.flags&32)!==0,t.flags&=-33,e===null){if(St){if(m?Vi(t):uo(t),(e=rn)?(a=qt(e,Bo),a=a!==null&&a.data!==Bh?a:null,a!==null&&(r={dehydrated:a,treeContext:rS(),retryLane:536870912,hydrationErrors:null},t.memoizedState=r,r=Mg(a),r.return=t,t.child=r,Zi=t,rn=null)):a=null,a===null)throw Ti(t,e),Ja(t);return Hv(a)?t.lanes=32:t.lanes=536870912,null}var T=d.children;if(d=d.fallback,m){uo(t);var R=t.mode;return T=Hd({mode:"hidden",children:T},R),d=Gu(d,R,a,null),T.return=t,d.return=t,T.sibling=d,t.child=T,d=t.child,d.memoizedState=wc(a),d.childLanes=ap(e,r,a),t.memoizedState=Sx,or(null,d)}return Vi(t),av(t,T)}var O=e.memoizedState;if(O!==null){var q=O.dehydrated;if(q!==null){if(b)t.flags&256?(Vi(t),t.flags&=-257,t=op(e,t,a)):t.memoizedState!==null?(uo(t),t.child=e.child,t.flags|=128,t=null):(uo(t),T=d.fallback,R=t.mode,d=Hd({mode:"visible",children:d.children},R),T=Gu(T,R,a,null),T.flags|=2,d.return=t,T.return=t,d.sibling=T,t.child=d,Dh(t,e.child,null,a),d=t.child,d.memoizedState=wc(a),d.childLanes=ap(e,r,a),t.memoizedState=Sx,t=or(null,d));else if(Vi(t),fS(),(a&536870912)!==0&&zc(t),Hv(q)){if(r=q.nextSibling&&q.nextSibling.dataset,r){T=r.dgst;var k=r.msg;R=r.stck;var H=r.cstck}m=k,r=T,d=R,q=H,T=m,R=q,T=Error(T||"The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering."),T.stack=d||"",T.digest=r,r=R===void 0?null:R,d={value:T,source:null,stack:r},typeof r=="string"&&IA.set(T,d),dd(d),t=op(e,t,a)}else if(li||bl(e,t,a,!1),r=(a&e.childLanes)!==0,li||r){if(r=It,r!==null&&(d=Mu(r,a),d!==0&&d!==O.retryLane))throw O.retryLane=d,Si(e,d),Fe(r,e,d),bx;eh(q)||Uc(),t=op(e,t,a)}else eh(q)?(t.flags|=192,t.child=e.child,t=null):(e=O.treeContext,rn=Ua(q.nextSibling),Zi=t,St=!0,df=null,Su=!1,Hl=null,Bo=!1,e!==null&&cS(t,e),t=av(t,d.children),t.flags|=4096);return t}}return m?(uo(t),T=d.fallback,R=t.mode,H=e.child,q=H.sibling,d=no(H,{mode:"hidden",children:d.children}),d.subtreeFlags=H.subtreeFlags&65011712,q!==null?T=no(q,T):(T=Gu(T,R,a,null),T.flags|=2),T.return=t,d.return=t,d.sibling=T,t.child=d,or(null,d),d=t.child,T=e.child.memoizedState,T===null?T=wc(a):(R=T.cachePool,R!==null?(H=ni._currentValue,R=R.parent!==H?{parent:H,pool:H}:R):R=Hg(),T={baseLanes:T.baseLanes|a,cachePool:R}),d.memoizedState=T,d.childLanes=ap(e,r,a),t.memoizedState=Sx,or(e.child,d)):(O!==null&&(a&62914560)===a&&(a&e.lanes)!==0&&zc(t),Vi(t),a=e.child,e=a.sibling,a=no(a,{mode:"visible",children:d.children}),a.return=t,a.sibling=null,e!==null&&(r=t.deletions,r===null?(t.deletions=[e],t.flags|=16):r.push(e)),t.child=a,t.memoizedState=null,a)}function av(e,t){return t=Hd({mode:"visible",children:t},e.mode),t.return=e,e.child=t}function Hd(e,t){return e=w(22,e,null,t),e.lanes=0,e}function op(e,t,a){return Dh(t,e.child,null,a),e=av(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function lv(e,t,a){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),Lm(e.return,t,a)}function sp(e,t,a,r,d,m){var b=e.memoizedState;b===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:a,tailMode:d,treeForkCount:m}:(b.isBackwards=t,b.rendering=null,b.renderingStartTime=0,b.last=r,b.tail=a,b.tailMode=d,b.treeForkCount=m)}function ov(e,t,a){var r=t.pendingProps,d=r.revealOrder,m=r.tail,b=r.children,T=Gn.current;if((r=(T&V0)!==0)?(T=T&Sy|V0,t.flags|=128):T&=Sy,Qe(Gn,T,t),T=d??"null",d!=="forwards"&&d!=="unstable_legacy-backwards"&&d!=="together"&&d!=="independent"&&!dM[T])if(dM[T]=!0,d==null)console.error('The default for the <SuspenseList revealOrder="..."> prop is changing. To be future compatible you must explictly specify either "independent" (the current default), "together", "forwards" or "legacy_unstable-backwards".');else if(d==="backwards")console.error('The rendering order of <SuspenseList revealOrder="backwards"> is changing. To be future compatible you must specify revealOrder="legacy_unstable-backwards" instead.');else if(typeof d=="string")switch(d.toLowerCase()){case"together":case"forwards":case"backwards":case"independent":console.error('"%s" is not a valid value for revealOrder on <SuspenseList />. Use lowercase "%s" instead.',d,d.toLowerCase());break;case"forward":case"backward":console.error('"%s" is not a valid value for revealOrder on <SuspenseList />. React uses the -s suffix in the spelling. Use "%ss" instead.',d,d.toLowerCase());break;default:console.error('"%s" is not a supported revealOrder on <SuspenseList />. Did you mean "independent", "together", "forwards" or "backwards"?',d)}else console.error('%s is not a supported value for revealOrder on <SuspenseList />. Did you mean "independent", "together", "forwards" or "backwards"?',d);T=m??"null",G1[T]||(m==null?(d==="forwards"||d==="backwards"||d==="unstable_legacy-backwards")&&(G1[T]=!0,console.error('The default for the <SuspenseList tail="..."> prop is changing. To be future compatible you must explictly specify either "visible" (the current default), "collapsed" or "hidden".')):m!=="visible"&&m!=="collapsed"&&m!=="hidden"?(G1[T]=!0,console.error('"%s" is not a supported value for tail on <SuspenseList />. Did you mean "visible", "collapsed" or "hidden"?',m)):d!=="forwards"&&d!=="backwards"&&d!=="unstable_legacy-backwards"&&(G1[T]=!0,console.error('<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" or "backwards". Did you mean to specify revealOrder="forwards"?',m)));e:if((d==="forwards"||d==="backwards"||d==="unstable_legacy-backwards")&&b!==void 0&&b!==null&&b!==!1)if(Un(b)){for(T=0;T<b.length;T++)if(!Kt(b[T],T))break e}else if(T=ve(b),typeof T=="function"){if(T=T.call(b))for(var R=T.next(),O=0;!R.done;R=T.next()){if(!Kt(R.value,O))break e;O++}}else console.error('A single row was passed to a <SuspenseList revealOrder="%s" />. This is not useful since it needs multiple rows. Did you mean to pass multiple children or an array?',d);if(In(e,t,b,a),St?(Xs(),b=S0):b=0,!r&&e!==null&&(e.flags&128)!==0)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&lv(e,a,t);else if(e.tag===19)lv(e,a,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}switch(d){case"forwards":for(a=t.child,d=null;a!==null;)e=a.alternate,e!==null&&Ku(e)===null&&(d=a),a=a.sibling;a=d,a===null?(d=t.child,t.child=null):(d=a.sibling,a.sibling=null),sp(t,!1,d,a,m,b);break;case"backwards":case"unstable_legacy-backwards":for(a=null,d=t.child,t.child=null;d!==null;){if(e=d.alternate,e!==null&&Ku(e)===null){t.child=d;break}e=d.sibling,d.sibling=a,a=d,d=e}sp(t,!0,a,null,m,b);break;case"together":sp(t,!1,null,null,void 0,b);break;default:t.memoizedState=null}return t.child}function _l(e,t,a){if(e!==null&&(t.dependencies=e.dependencies),Na=-1,Sf|=t.lanes,(a&t.childLanes)===0)if(e!==null){if(bl(e,t,a,!1),(a&t.childLanes)===0)return null}else return null;if(e!==null&&t.child!==e.child)throw Error("Resuming work not yet implemented.");if(t.child!==null){for(e=t.child,a=no(e,e.pendingProps),t.child=a,a.return=t;e.sibling!==null;)e=e.sibling,a=a.sibling=no(e,e.pendingProps),a.return=t;a.sibling=null}return t.child}function up(e,t){return(e.lanes&t)!==0?!0:(e=e.dependencies,!!(e!==null&&dc(e)))}function SS(e,t,a){switch(t.tag){case 3:Yt(t,t.stateNode.containerInfo),$a(t,ni,e.memoizedState.cache),Qs();break;case 27:case 5:de(t);break;case 4:Yt(t,t.stateNode.containerInfo);break;case 10:$a(t,t.type,t.memoizedProps.value);break;case 12:(a&t.childLanes)!==0&&(t.flags|=4),t.flags|=2048;var r=t.stateNode;r.effectDuration=-0,r.passiveEffectDuration=-0;break;case 31:if(t.memoizedState!==null)return t.flags|=128,Al(t),null;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(Vi(t),t.flags|=128,null):(a&t.child.childLanes)!==0?lp(e,t,a):(Vi(t),e=_l(e,t,a),e!==null?e.sibling:null);Vi(t);break;case 19:var d=(e.flags&128)!==0;if(r=(a&t.childLanes)!==0,r||(bl(e,t,a,!1),r=(a&t.childLanes)!==0),d){if(r)return ov(e,t,a);t.flags|=128}if(d=t.memoizedState,d!==null&&(d.rendering=null,d.tail=null,d.lastEffect=null),Qe(Gn,Gn.current,t),r)break;return null;case 22:return t.lanes=0,Wg(e,t,a,t.pendingProps);case 24:$a(t,ni,e.memoizedState.cache)}return _l(e,t,a)}function Ld(e,t,a){if(t._debugNeedsRemount&&e!==null){a=Yu(t.type,t.key,t.pendingProps,t._debugOwner||null,t.mode,t.lanes),a._debugStack=t._debugStack,a._debugTask=t._debugTask;var r=t.return;if(r===null)throw Error("Cannot swap the root fiber.");if(e.alternate=null,t.alternate=null,a.index=t.index,a.sibling=t.sibling,a.return=t.return,a.ref=t.ref,a._debugInfo=t._debugInfo,t===r.child)r.child=a;else{var d=r.child;if(d===null)throw Error("Expected parent to have a child.");for(;d.sibling!==t;)if(d=d.sibling,d===null)throw Error("Expected to find the previous sibling.");d.sibling=a}return t=r.deletions,t===null?(r.deletions=[e],r.flags|=16):t.push(e),a.flags|=2,a}if(e!==null)if(e.memoizedProps!==t.pendingProps||t.type!==e.type)li=!0;else{if(!up(e,a)&&(t.flags&128)===0)return li=!1,SS(e,t,a);li=(e.flags&131072)!==0}else li=!1,(r=St)&&(Xs(),r=(t.flags&1048576)!==0),r&&(r=t.index,Xs(),Cg(t,S0,r));switch(t.lanes=0,t.tag){case 16:e:if(r=t.pendingProps,e=xa(t.elementType),t.type=e,typeof e=="function")Rg(e)?(r=mo(e,r),t.tag=1,t.type=e=Gs(e),t=sr(null,t,e,r,a)):(t.tag=0,Dc(t,e),t.type=e=Gs(e),t=tv(null,t,e,r,a));else{if(e!=null){if(d=e.$$typeof,d===Pc){t.tag=11,t.type=e=Um(e),t=vS(null,t,e,r,a);break e}else if(d===ch){t.tag=14,t=Pg(null,t,e,r,a);break e}}throw t="",e!==null&&typeof e=="object"&&e.$$typeof===Ai&&(t=" Did you wrap a component in React.lazy() more than once?"),a=he(e)||e,Error("Element type is invalid. Received a promise that resolves to: "+a+". Lazy element type must resolve to a class or function."+t)}return t;case 0:return tv(e,t,t.type,t.pendingProps,a);case 1:return r=t.type,d=mo(r,t.pendingProps),sr(e,t,r,d,a);case 3:e:{if(Yt(t,t.stateNode.containerInfo),e===null)throw Error("Should have a current fiber. This is a bug in React.");r=t.pendingProps;var m=t.memoizedState;d=m.element,lo(e,t),so(t,r,null,a);var b=t.memoizedState;if(r=b.cache,$a(t,ni,r),r!==m.cache&&Io(t,[ni],a,!0),yc(),r=b.element,m.isDehydrated)if(m={element:r,isDehydrated:!1,cache:b.cache},t.updateQueue.baseState=m,t.memoizedState=m,t.flags&256){t=iv(e,t,r,a);break e}else if(r!==d){d=Ci(Error("This root received an early update, before anything was able hydrate. Switched the entire root to client rendering."),t),dd(d),t=iv(e,t,r,a);break e}else{switch(e=t.stateNode.containerInfo,e.nodeType){case 9:e=e.body;break;default:e=e.nodeName==="HTML"?e.ownerDocument.body:e}for(rn=Ua(e.firstChild),Zi=t,St=!0,df=null,Su=!1,Hl=null,Bo=!0,a=YO(t,null,r,a),t.child=a;a;)a.flags=a.flags&-3|4096,a=a.sibling}else{if(Qs(),r===d){t=_l(e,t,a);break e}In(e,t,r,a)}t=t.child}return t;case 26:return Vd(e,t),e===null?(a=qv(t.type,null,t.pendingProps,null))?t.memoizedState=a:St||(a=t.type,e=t.pendingProps,r=Vt(Ba.current),r=Wd(r).createElement(a),r[sn]=t,r[Qi]=e,on(r,a,e),Ve(r),t.stateNode=r):t.memoizedState=qv(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return de(t),e===null&&St&&(r=Vt(Ba.current),d=ne(),r=t.stateNode=ps(t.type,t.pendingProps,r,d,!1),Su||(d=sa(r,t.type,t.pendingProps,d),d!==null&&(ku(t,0).serverProps=d)),Zi=t,Bo=!0,d=rn,hu(t.type)?(kx=d,rn=Ua(r.firstChild)):rn=d),In(e,t,t.pendingProps.children,a),Vd(e,t),e===null&&(t.flags|=4194304),t.child;case 5:return e===null&&St&&(m=ne(),r=nd(t.type,m.ancestorInfo),d=rn,(b=!d)||(b=PS(d,t.type,t.pendingProps,Bo),b!==null?(t.stateNode=b,Su||(m=sa(b,t.type,t.pendingProps,m),m!==null&&(ku(t,0).serverProps=m)),Zi=t,rn=Ua(b.firstChild),Bo=!1,m=!0):m=!1,b=!m),b&&(r&&Ti(t,d),Ja(t))),de(t),d=t.type,m=t.pendingProps,b=e!==null?e.memoizedProps:null,r=m.children,Yc(d,m)?r=null:b!==null&&Yc(d,b)&&(t.flags|=32),t.memoizedState!==null&&(d=Yg(e,t,Td,null,null,a),I0._currentValue=d),Vd(e,t),In(e,t,r,a),t.child;case 6:return e===null&&St&&(a=t.pendingProps,e=ne(),r=e.ancestorInfo.current,a=r!=null?id(a,r.tag,e.ancestorInfo.implicitRootScope):!0,e=rn,(r=!e)||(r=FS(e,t.pendingProps,Bo),r!==null?(t.stateNode=r,Zi=t,rn=null,r=!0):r=!1,r=!r),r&&(a&&Ti(t,e),Ja(t))),null;case 13:return lp(e,t,a);case 4:return Yt(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Dh(t,null,r,a):In(e,t,r,a),t.child;case 11:return vS(e,t,t.type,t.pendingProps,a);case 7:return In(e,t,t.pendingProps,a),t.child;case 8:return In(e,t,t.pendingProps.children,a),t.child;case 12:return t.flags|=4,t.flags|=2048,r=t.stateNode,r.effectDuration=-0,r.passiveEffectDuration=-0,In(e,t,t.pendingProps.children,a),t.child;case 10:return r=t.type,d=t.pendingProps,m=d.value,"value"in d||hM||(hM=!0,console.error("The `value` prop is required for the `<Context.Provider>`. Did you misspell it or forget to pass it?")),$a(t,r,m),In(e,t,d.children,a),t.child;case 9:return d=t.type._context,r=t.pendingProps.children,typeof r!="function"&&console.error("A context consumer was rendered with multiple children, or a child that isn't a function. A context consumer expects a single child that is a function. If you did pass a function, make sure there is no trailing or leading whitespace around it."),Js(t),d=Ct(d),r=sx(r,d,void 0),t.flags|=1,In(e,t,r,a),t.child;case 14:return Pg(e,t,t.type,t.pendingProps,a);case 15:return Fg(e,t,t.type,t.pendingProps,a);case 19:return ov(e,t,a);case 31:return bS(e,t,a);case 22:return Wg(e,t,a,t.pendingProps);case 24:return Js(t),r=Ct(ni),e===null?(d=ns(),d===null&&(d=It,m=Nm(),d.pooledCache=m,Qu(m),m!==null&&(d.pooledCacheLanes|=a),d=m),t.memoizedState={parent:r,cache:d},vt(t),$a(t,ni,d)):((e.lanes&a)!==0&&(lo(e,t),so(t,null,null,a),yc()),d=e.memoizedState,m=t.memoizedState,d.parent!==r?(d={parent:r,cache:r},t.memoizedState=d,t.lanes===0&&(t.memoizedState=t.updateQueue.baseState=d),$a(t,ni,r)):(r=m.cache,$a(t,ni,r),r!==d.cache&&Io(t,[ni],a,!0))),In(e,t,t.pendingProps.children,a),t.child;case 29:throw t.pendingProps}throw Error("Unknown unit of work tag ("+t.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function po(e){e.flags|=4}function rp(e,t,a,r,d){if((t=(e.mode&U7)!==Pe)&&(t=!1),t){if(e.flags|=16777216,(d&335544128)===d)if(e.stateNode.complete)e.flags|=8192;else if(xv())e.flags|=8192;else throw _h=H1,rx}else e.flags&=-16777217}function TS(e,t){if(t.type!=="stylesheet"||(t.state.loading&jo)!==Lh)e.flags&=-16777217;else if(e.flags|=16777216,!gt(t))if(xv())e.flags|=8192;else throw _h=H1,rx}function Rc(e,t){t!==null&&(e.flags|=4),e.flags&16384&&(t=e.tag!==22?Pr():536870912,e.lanes|=t,Ch|=t)}function Oc(e,t){if(!St)switch(e.tailMode){case"hidden":t=e.tail;for(var a=null;t!==null;)t.alternate!==null&&(a=t),t=t.sibling;a===null?e.tail=null:a.sibling=null;break;case"collapsed":a=e.tail;for(var r=null;a!==null;)a.alternate!==null&&(r=a),a=a.sibling;r===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null}}function kt(e){var t=e.alternate!==null&&e.alternate.child===e.child,a=0,r=0;if(t)if((e.mode&ft)!==Pe){for(var d=e.selfBaseDuration,m=e.child;m!==null;)a|=m.lanes|m.childLanes,r|=m.subtreeFlags&65011712,r|=m.flags&65011712,d+=m.treeBaseDuration,m=m.sibling;e.treeBaseDuration=d}else for(d=e.child;d!==null;)a|=d.lanes|d.childLanes,r|=d.subtreeFlags&65011712,r|=d.flags&65011712,d.return=e,d=d.sibling;else if((e.mode&ft)!==Pe){d=e.actualDuration,m=e.selfBaseDuration;for(var b=e.child;b!==null;)a|=b.lanes|b.childLanes,r|=b.subtreeFlags,r|=b.flags,d+=b.actualDuration,m+=b.treeBaseDuration,b=b.sibling;e.actualDuration=d,e.treeBaseDuration=m}else for(d=e.child;d!==null;)a|=d.lanes|d.childLanes,r|=d.subtreeFlags,r|=d.flags,d.return=e,d=d.sibling;return e.subtreeFlags|=r,e.childLanes=a,t}function sv(e,t,a){var r=t.pendingProps;switch(Hm(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return kt(t),null;case 1:return kt(t),null;case 3:return a=t.stateNode,r=null,e!==null&&(r=e.memoizedState.cache),t.memoizedState.cache!==r&&(t.flags|=2048),vl(ni,t),Y(t),a.pendingContext&&(a.context=a.pendingContext,a.pendingContext=null),(e===null||e.child===null)&&(Xu(t)?(Zs(),po(t)):e===null||e.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,fd())),kt(t),null;case 26:var d=t.type,m=t.memoizedState;return e===null?(po(t),m!==null?(kt(t),TS(t,m)):(kt(t),rp(t,d,null,r,a))):m?m!==e.memoizedState?(po(t),kt(t),TS(t,m)):(kt(t),t.flags&=-16777217):(e=e.memoizedProps,e!==r&&po(t),kt(t),rp(t,d,e,r,a)),null;case 27:if(Oe(t),a=Vt(Ba.current),d=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==r&&po(t);else{if(!r){if(t.stateNode===null)throw Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");return kt(t),null}e=ne(),Xu(t)?zg(t):(e=ps(d,r,a,e,!0),t.stateNode=e,po(t))}return kt(t),null;case 5:if(Oe(t),d=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==r&&po(t);else{if(!r){if(t.stateNode===null)throw Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");return kt(t),null}var b=ne();if(Xu(t))zg(t);else{switch(m=Vt(Ba.current),nd(d,b.ancestorInfo),b=b.context,m=Wd(m),b){case zy:m=m.createElementNS(ut,d);break;case uT:m=m.createElementNS(it,d);break;default:switch(d){case"svg":m=m.createElementNS(ut,d);break;case"math":m=m.createElementNS(it,d);break;case"script":m=m.createElement("div"),m.innerHTML="<script><\/script>",m=m.removeChild(m.firstChild);break;case"select":m=typeof r.is=="string"?m.createElement("select",{is:r.is}):m.createElement("select"),r.multiple?m.multiple=!0:r.size&&(m.size=r.size);break;default:m=typeof r.is=="string"?m.createElement(d,{is:r.is}):m.createElement(d),d.indexOf("-")===-1&&(d!==d.toLowerCase()&&console.error("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",d),Object.prototype.toString.call(m)!=="[object HTMLUnknownElement]"||Va.call(LM,d)||(LM[d]=!0,console.error("The tag <%s> is unrecognized in this browser. If you meant to render a React component, start its name with an uppercase letter.",d)))}}m[sn]=t,m[Qi]=r;e:for(b=t.child;b!==null;){if(b.tag===5||b.tag===6)m.appendChild(b.stateNode);else if(b.tag!==4&&b.tag!==27&&b.child!==null){b.child.return=b,b=b.child;continue}if(b===t)break e;for(;b.sibling===null;){if(b.return===null||b.return===t)break e;b=b.return}b.sibling.return=b.return,b=b.sibling}t.stateNode=m;e:switch(on(m,d,r),d){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}r&&po(t)}}return kt(t),rp(t,t.type,e===null?null:e.memoizedProps,t.pendingProps,a),null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==r&&po(t);else{if(typeof r!="string"&&t.stateNode===null)throw Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");if(e=Vt(Ba.current),a=ne(),Xu(t)){if(e=t.stateNode,a=t.memoizedProps,d=!Su,r=null,m=Zi,m!==null)switch(m.tag){case 3:d&&(d=e1(e,a,r),d!==null&&(ku(t,0).serverProps=d));break;case 27:case 5:r=m.memoizedProps,d&&(d=e1(e,a,r),d!==null&&(ku(t,0).serverProps=d))}e[sn]=t,e=!!(e.nodeValue===a||r!==null&&r.suppressHydrationWarning===!0||Bv(e.nodeValue,a)),e||Ja(t,!0)}else d=a.ancestorInfo.current,d!=null&&id(r,d.tag,a.ancestorInfo.implicitRootScope),e=Wd(e).createTextNode(r),e[sn]=t,t.stateNode=e}return kt(t),null;case 31:if(a=t.memoizedState,e===null||e.memoizedState!==null){if(r=Xu(t),a!==null){if(e===null){if(!r)throw Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(e=t.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error("Expected to have a hydrated activity instance. This error is likely caused by a bug in React. Please file an issue.");e[sn]=t,kt(t),(t.mode&ft)!==Pe&&a!==null&&(e=t.child,e!==null&&(t.treeBaseDuration-=e.treeBaseDuration))}else Zs(),Qs(),(t.flags&128)===0&&(a=t.memoizedState=null),t.flags|=4,kt(t),(t.mode&ft)!==Pe&&a!==null&&(e=t.child,e!==null&&(t.treeBaseDuration-=e.treeBaseDuration));e=!1}else a=fd(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=a),e=!0;if(!e)return t.flags&256?(Fn(t),t):(Fn(t),null);if((t.flags&128)!==0)throw Error("Client rendering an Activity suspended it again. This is a bug in React.")}return kt(t),null;case 13:if(r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(d=r,m=Xu(t),d!==null&&d.dehydrated!==null){if(e===null){if(!m)throw Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(m=t.memoizedState,m=m!==null?m.dehydrated:null,!m)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");m[sn]=t,kt(t),(t.mode&ft)!==Pe&&d!==null&&(d=t.child,d!==null&&(t.treeBaseDuration-=d.treeBaseDuration))}else Zs(),Qs(),(t.flags&128)===0&&(d=t.memoizedState=null),t.flags|=4,kt(t),(t.mode&ft)!==Pe&&d!==null&&(d=t.child,d!==null&&(t.treeBaseDuration-=d.treeBaseDuration));d=!1}else d=fd(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=d),d=!0;if(!d)return t.flags&256?(Fn(t),t):(Fn(t),null)}return Fn(t),(t.flags&128)!==0?(t.lanes=a,(t.mode&ft)!==Pe&&Ju(t),t):(a=r!==null,e=e!==null&&e.memoizedState!==null,a&&(r=t.child,d=null,r.alternate!==null&&r.alternate.memoizedState!==null&&r.alternate.memoizedState.cachePool!==null&&(d=r.alternate.memoizedState.cachePool.pool),m=null,r.memoizedState!==null&&r.memoizedState.cachePool!==null&&(m=r.memoizedState.cachePool.pool),m!==d&&(r.flags|=2048)),a!==e&&a&&(t.child.flags|=8192),Rc(t,t.updateQueue),kt(t),(t.mode&ft)!==Pe&&a&&(e=t.child,e!==null&&(t.treeBaseDuration-=e.treeBaseDuration)),null);case 4:return Y(t),e===null&&fu(t.stateNode.containerInfo),kt(t),null;case 10:return vl(t.type,t),kt(t),null;case 19:if(we(Gn,t),r=t.memoizedState,r===null)return kt(t),null;if(d=(t.flags&128)!==0,m=r.rendering,m===null)if(d)Oc(r,!1);else{if(Sn!==Vr||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(m=Ku(e),m!==null){for(t.flags|=128,Oc(r,!1),e=m.updateQueue,t.updateQueue=e,Rc(t,e),t.subtreeFlags=0,e=a,a=t.child;a!==null;)Og(a,e),a=a.sibling;return Qe(Gn,Gn.current&Sy|V0,t),St&&gl(t,r.treeForkCount),t.child}e=e.sibling}r.tail!==null&&ti()>K1&&(t.flags|=128,d=!0,Oc(r,!1),t.lanes=4194304)}else{if(!d)if(e=Ku(m),e!==null){if(t.flags|=128,d=!0,e=e.updateQueue,t.updateQueue=e,Rc(t,e),Oc(r,!0),r.tail===null&&r.tailMode==="hidden"&&!m.alternate&&!St)return kt(t),null}else 2*ti()-r.renderingStartTime>K1&&a!==536870912&&(t.flags|=128,d=!0,Oc(r,!1),t.lanes=4194304);r.isBackwards?(m.sibling=t.child,t.child=m):(e=r.last,e!==null?e.sibling=m:t.child=m,r.last=m)}return r.tail!==null?(e=r.tail,r.rendering=e,r.tail=e.sibling,r.renderingStartTime=ti(),e.sibling=null,a=Gn.current,a=d?a&Sy|V0:a&Sy,Qe(Gn,a,t),St&&gl(t,r.treeForkCount),e):(kt(t),null);case 22:case 23:return Fn(t),El(t),r=t.memoizedState!==null,e!==null?e.memoizedState!==null!==r&&(t.flags|=8192):r&&(t.flags|=8192),r?(a&536870912)!==0&&(t.flags&128)===0&&(kt(t),t.subtreeFlags&6&&(t.flags|=8192)):kt(t),a=t.updateQueue,a!==null&&Rc(t,a.retryQueue),a=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(a=e.memoizedState.cachePool.pool),r=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(r=t.memoizedState.cachePool.pool),r!==a&&(t.flags|=2048),e!==null&&we(Ah,t),null;case 24:return a=null,e!==null&&(a=e.memoizedState.cache),t.memoizedState.cache!==a&&(t.flags|=2048),vl(ni,t),kt(t),null;case 25:return null;case 30:return null}throw Error("Unknown unit of work tag ("+t.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function ES(e,t){switch(Hm(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,(t.mode&ft)!==Pe&&Ju(t),t):null;case 3:return vl(ni,t),Y(t),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return Oe(t),null;case 31:if(t.memoizedState!==null){if(Fn(t),t.alternate===null)throw Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");Qs()}return e=t.flags,e&65536?(t.flags=e&-65537|128,(t.mode&ft)!==Pe&&Ju(t),t):null;case 13:if(Fn(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");Qs()}return e=t.flags,e&65536?(t.flags=e&-65537|128,(t.mode&ft)!==Pe&&Ju(t),t):null;case 19:return we(Gn,t),null;case 4:return Y(t),null;case 10:return vl(t.type,t),null;case 22:case 23:return Fn(t),El(t),e!==null&&we(Ah,t),e=t.flags,e&65536?(t.flags=e&-65537|128,(t.mode&ft)!==Pe&&Ju(t),t):null;case 24:return vl(ni,t),null;case 25:return null;default:return null}}function uv(e,t){switch(Hm(t),t.tag){case 3:vl(ni,t),Y(t);break;case 26:case 27:case 5:Oe(t);break;case 4:Y(t);break;case 31:t.memoizedState!==null&&Fn(t);break;case 13:Fn(t);break;case 19:we(Gn,t);break;case 10:vl(t.type,t);break;case 22:case 23:Fn(t),El(t),e!==null&&we(Ah,t);break;case 24:vl(ni,t)}}function yo(e){return(e.mode&ft)!==Pe}function AS(e,t){yo(e)?(yn(),cs(t,e),Ui()):cs(t,e)}function cp(e,t,a){yo(e)?(yn(),lu(a,e,t),Ui()):lu(a,e,t)}function cs(e,t){try{var a=t.updateQueue,r=a!==null?a.lastEffect:null;if(r!==null){var d=r.next;a=d;do{if((a.tag&e)===e&&(r=void 0,(e&ja)!==N1&&(Oy=!0),r=_e(t,j7,a),(e&ja)!==N1&&(Oy=!1),r!==void 0&&typeof r!="function")){var m=void 0;m=(a.tag&Nl)!==0?"useLayoutEffect":(a.tag&ja)!==0?"useInsertionEffect":"useEffect";var b=void 0;b=r===null?" You returned null. If your effect does not require clean up, return undefined (or nothing).":typeof r.then=="function"?`
149
-
150
- It looks like you wrote `+m+`(async () => ...) or returned a Promise. Instead, write the async function inside your effect and call it immediately:
151
-
152
- `+m+`(() => {
153
- async function fetchData() {
154
- // You can await here
155
- const response = await MyAPI.getData(someId);
156
- // ...
157
- }
158
- fetchData();
159
- }, [someId]); // Or [] if effect doesn't need props or state
160
-
161
- Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fetching`:" You returned: "+r,_e(t,function(T,R){console.error("%s must not return anything besides a function, which is used for clean-up.%s",T,R)},m,b)}a=a.next}while(a!==d)}}catch(T){st(t,t.return,T)}}function lu(e,t,a){try{var r=t.updateQueue,d=r!==null?r.lastEffect:null;if(d!==null){var m=d.next;r=m;do{if((r.tag&e)===e){var b=r.inst,T=b.destroy;T!==void 0&&(b.destroy=void 0,(e&ja)!==N1&&(Oy=!0),d=t,_e(d,q7,d,a,T),(e&ja)!==N1&&(Oy=!1))}r=r.next}while(r!==m)}}catch(R){st(t,t.return,R)}}function Nd(e,t){yo(e)?(yn(),cs(t,e),Ui()):cs(t,e)}function fp(e,t,a){yo(e)?(yn(),lu(a,e,t),Ui()):lu(a,e,t)}function rv(e){var t=e.updateQueue;if(t!==null){var a=e.stateNode;e.type.defaultProps||"ref"in e.memoizedProps||xy||(a.props!==e.memoizedProps&&console.error("Expected %s props to match memoized props before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",be(e)||"instance"),a.state!==e.memoizedState&&console.error("Expected %s state to match memoized state before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",be(e)||"instance"));try{_e(e,gc,t,a)}catch(r){st(e,e.return,r)}}}function jd(e,t,a){return e.getSnapshotBeforeUpdate(t,a)}function xS(e,t){var a=t.memoizedProps,r=t.memoizedState;t=e.stateNode,e.type.defaultProps||"ref"in e.memoizedProps||xy||(t.props!==e.memoizedProps&&console.error("Expected %s props to match memoized props before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",be(e)||"instance"),t.state!==e.memoizedState&&console.error("Expected %s state to match memoized state before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",be(e)||"instance"));try{var d=mo(e.type,a),m=_e(e,jd,t,d,r);a=mM,m!==void 0||a.has(e.type)||(a.add(e.type),_e(e,function(){console.error("%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.",be(e))})),t.__reactInternalSnapshotBeforeUpdate=m}catch(b){st(e,e.return,b)}}function dp(e,t,a){a.props=mo(e.type,e.memoizedProps),a.state=e.memoizedState,yo(e)?(yn(),_e(e,UO,e,t,a),Ui()):_e(e,UO,e,t,a)}function _S(e){var t=e.ref;if(t!==null){switch(e.tag){case 26:case 27:case 5:var a=e.stateNode;break;case 30:a=e.stateNode;break;default:a=e.stateNode}if(typeof t=="function")if(yo(e))try{yn(),e.refCleanup=t(a)}finally{Ui()}else e.refCleanup=t(a);else typeof t=="string"?console.error("String refs are no longer supported."):t.hasOwnProperty("current")||console.error("Unexpected ref object provided for %s. Use either a ref-setter function or React.createRef().",be(e)),t.current=a}}function ur(e,t){try{_e(e,_S,e)}catch(a){st(e,t,a)}}function Ia(e,t){var a=e.ref,r=e.refCleanup;if(a!==null)if(typeof r=="function")try{if(yo(e))try{yn(),_e(e,r)}finally{Ui(e)}else _e(e,r)}catch(d){st(e,t,d)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof a=="function")try{if(yo(e))try{yn(),_e(e,a,null)}finally{Ui(e)}else _e(e,a,null)}catch(d){st(e,t,d)}else a.current=null}function cv(e,t,a,r){var d=e.memoizedProps,m=d.id,b=d.onCommit;d=d.onRender,t=t===null?"mount":"update",z1&&(t="nested-update"),typeof d=="function"&&d(m,t,e.actualDuration,e.treeBaseDuration,e.actualStartTime,a),typeof b=="function"&&b(m,t,r,a)}function DS(e,t,a,r){var d=e.memoizedProps;e=d.id,d=d.onPostCommit,t=t===null?"mount":"update",z1&&(t="nested-update"),typeof d=="function"&&d(e,t,r,a)}function ou(e){var t=e.type,a=e.memoizedProps,r=e.stateNode;try{_e(e,jS,r,t,a,e)}catch(d){st(e,e.return,d)}}function hp(e,t,a){try{_e(e,Up,e.stateNode,e.type,a,t,e)}catch(r){st(e,e.return,r)}}function fv(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&hu(e.type)||e.tag===4}function mp(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||fv(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.tag===27&&hu(e.type)||e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Mc(e,t,a){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?(YS(a),(a.nodeType===9?a.body:a.nodeName==="HTML"?a.ownerDocument.body:a).insertBefore(e,t)):(YS(a),t=a.nodeType===9?a.body:a.nodeName==="HTML"?a.ownerDocument.body:a,t.appendChild(e),a=a._reactRootContainer,a!=null||t.onclick!==null||(t.onclick=Qa));else if(r!==4&&(r===27&&hu(e.type)&&(a=e.stateNode,t=null),e=e.child,e!==null))for(Mc(e,t,a),e=e.sibling;e!==null;)Mc(e,t,a),e=e.sibling}function qd(e,t,a){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?a.insertBefore(e,t):a.appendChild(e);else if(r!==4&&(r===27&&hu(e.type)&&(a=e.stateNode),e=e.child,e!==null))for(qd(e,t,a),e=e.sibling;e!==null;)qd(e,t,a),e=e.sibling}function dv(e){for(var t,a=e.return;a!==null;){if(fv(a)){t=a;break}a=a.return}if(t==null)throw Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");switch(t.tag){case 27:t=t.stateNode,a=mp(e),qd(e,a,t);break;case 5:a=t.stateNode,t.flags&32&&(Bp(a),t.flags&=-33),t=mp(e),qd(e,t,a);break;case 3:case 4:t=t.stateNode.containerInfo,a=mp(e),Mc(e,a,t);break;default:throw Error("Invalid host parent fiber. This error is likely caused by a bug in React. Please file an issue.")}}function hv(e){var t=e.stateNode,a=e.memoizedProps;try{_e(e,xo,e.type,a,t,e)}catch(r){st(e,e.return,r)}}function mv(e,t){return t.tag===31?(t=t.memoizedState,e.memoizedState!==null&&t===null):t.tag===13?(e=e.memoizedState,t=t.memoizedState,e!==null&&e.dehydrated!==null&&(t===null||t.dehydrated===null)):t.tag===3?e.memoizedState.isDehydrated&&(t.flags&256)===0:!1}function MA(e,t){if(e=e.containerInfo,qx=dT,e=Om(e),Tg(e)){if("selectionStart"in e)var a={start:e.selectionStart,end:e.selectionEnd};else e:{a=(a=e.ownerDocument)&&a.defaultView||window;var r=a.getSelection&&a.getSelection();if(r&&r.rangeCount!==0){a=r.anchorNode;var d=r.anchorOffset,m=r.focusNode;r=r.focusOffset;try{a.nodeType,m.nodeType}catch{a=null;break e}var b=0,T=-1,R=-1,O=0,q=0,k=e,H=null;t:for(;;){for(var I;k!==a||d!==0&&k.nodeType!==3||(T=b+d),k!==m||r!==0&&k.nodeType!==3||(R=b+r),k.nodeType===3&&(b+=k.nodeValue.length),(I=k.firstChild)!==null;)H=k,k=I;for(;;){if(k===e)break t;if(H===a&&++O===d&&(T=b),H===m&&++q===r&&(R=b),(I=k.nextSibling)!==null)break;k=H,H=k.parentNode}k=I}a=T===-1||R===-1?null:{start:T,end:R}}else a=null}a=a||{start:0,end:0}}else a=null;for(Yx={focusedElem:e,selectionRange:a},dT=!1,Di=t;Di!==null;)if(t=Di,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,Di=e;else for(;Di!==null;){switch(e=t=Di,a=e.alternate,d=e.flags,e.tag){case 0:if((d&4)!==0&&(e=e.updateQueue,e=e!==null?e.events:null,e!==null))for(a=0;a<e.length;a++)d=e[a],d.ref.impl=d.nextImpl;break;case 11:case 15:break;case 1:(d&1024)!==0&&a!==null&&xS(e,a);break;case 3:if((d&1024)!==0){if(e=e.stateNode.containerInfo,a=e.nodeType,a===9)kc(e);else if(a===1)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":kc(e);break;default:e.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((d&1024)!==0)throw Error("This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.")}if(e=t.sibling,e!==null){e.return=t.return,Di=e;break}Di=t.return}}function pp(e,t,a){var r=an(),d=Ka(),m=Ea(),b=Pa(),T=a.flags;switch(a.tag){case 0:case 11:case 15:Oa(e,a),T&4&&AS(a,Nl|Lo);break;case 1:if(Oa(e,a),T&4)if(e=a.stateNode,t===null)a.type.defaultProps||"ref"in a.memoizedProps||xy||(e.props!==a.memoizedProps&&console.error("Expected %s props to match memoized props before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",be(a)||"instance"),e.state!==a.memoizedState&&console.error("Expected %s state to match memoized state before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",be(a)||"instance")),yo(a)?(yn(),_e(a,ux,a,e),Ui()):_e(a,ux,a,e);else{var R=mo(a.type,t.memoizedProps);t=t.memoizedState,a.type.defaultProps||"ref"in a.memoizedProps||xy||(e.props!==a.memoizedProps&&console.error("Expected %s props to match memoized props before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",be(a)||"instance"),e.state!==a.memoizedState&&console.error("Expected %s state to match memoized state before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",be(a)||"instance")),yo(a)?(yn(),_e(a,MO,a,e,R,t,e.__reactInternalSnapshotBeforeUpdate),Ui()):_e(a,MO,a,e,R,t,e.__reactInternalSnapshotBeforeUpdate)}T&64&&rv(a),T&512&&ur(a,a.return);break;case 3:if(t=ao(),Oa(e,a),T&64&&(T=a.updateQueue,T!==null)){if(R=null,a.child!==null)switch(a.child.tag){case 27:case 5:R=a.child.stateNode;break;case 1:R=a.child.stateNode}try{_e(a,gc,T,R)}catch(q){st(a,a.return,q)}}e.effectDuration+=hc(t);break;case 27:t===null&&T&4&&hv(a);case 26:case 5:if(Oa(e,a),t===null){if(T&4)ou(a);else if(T&64){e=a.type,t=a.memoizedProps,R=a.stateNode;try{_e(a,qS,R,e,t,a)}catch(q){st(a,a.return,q)}}}T&512&&ur(a,a.return);break;case 12:if(T&4){T=ao(),Oa(e,a),e=a.stateNode,e.effectDuration+=zi(T);try{_e(a,cv,a,t,hf,e.effectDuration)}catch(q){st(a,a.return,q)}}else Oa(e,a);break;case 31:Oa(e,a),T&4&&yv(e,a);break;case 13:Oa(e,a),T&4&&gv(e,a),T&64&&(e=a.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(T=ds.bind(null,a),WS(e,T))));break;case 22:if(T=a.memoizedState!==null||Br,!T){t=t!==null&&t.memoizedState!==null||oi,R=Br;var O=oi;Br=T,(oi=t)&&!O?(Dl(e,a,(a.subtreeFlags&8772)!==0),(a.mode&ft)!==Pe&&0<=ke&&0<=$e&&.05<$e-ke&&Mm(a,ke,$e)):Oa(e,a),Br=R,oi=O}break;case 30:break;default:Oa(e,a)}(a.mode&ft)!==Pe&&0<=ke&&0<=$e&&((Rn||.05<bn)&&yl(a,ke,$e,bn,pn),a.alternate===null&&a.return!==null&&a.return.alternate!==null&&.05<$e-ke&&(mv(a.return.alternate,a.return)||Za(a,ke,$e,"Mount"))),Kn(r),Ta(d),pn=m,Rn=b}function Dn(e){var t=e.alternate;t!==null&&(e.alternate=null,Dn(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&Z(t)),e.stateNode=null,e._debugOwner=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function tn(e,t,a){for(a=a.child;a!==null;)pv(e,t,a),a=a.sibling}function pv(e,t,a){if(qn&&typeof qn.onCommitFiberUnmount=="function")try{qn.onCommitFiberUnmount(Tr,a)}catch(O){Do||(Do=!0,console.error("React instrumentation encountered an error: %o",O))}var r=an(),d=Ka(),m=Ea(),b=Pa();switch(a.tag){case 26:oi||Ia(a,t),tn(e,t,a),a.memoizedState?a.memoizedState.count--:a.stateNode&&(e=a.stateNode,e.parentNode.removeChild(e));break;case 27:oi||Ia(a,t);var T=si,R=al;hu(a.type)&&(si=a.stateNode,al=!1),tn(e,t,a),_e(a,ys,a.stateNode),si=T,al=R;break;case 5:oi||Ia(a,t);case 6:if(T=si,R=al,si=null,tn(e,t,a),si=T,al=R,si!==null)if(al)try{_e(a,kS,si,a.stateNode)}catch(O){st(a,t,O)}else try{_e(a,GS,si,a.stateNode)}catch(O){st(a,t,O)}break;case 18:si!==null&&(al?(e=si,hr(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,a.stateNode),gr(e)):hr(si,a.stateNode));break;case 4:T=si,R=al,si=a.stateNode.containerInfo,al=!0,tn(e,t,a),si=T,al=R;break;case 0:case 11:case 14:case 15:lu(ja,a,t),oi||cp(a,t,Nl),tn(e,t,a);break;case 1:oi||(Ia(a,t),T=a.stateNode,typeof T.componentWillUnmount=="function"&&dp(a,t,T)),tn(e,t,a);break;case 21:tn(e,t,a);break;case 22:oi=(T=oi)||a.memoizedState!==null,tn(e,t,a),oi=T;break;default:tn(e,t,a)}(a.mode&ft)!==Pe&&0<=ke&&0<=$e&&(Rn||.05<bn)&&yl(a,ke,$e,bn,pn),Kn(r),Ta(d),pn=m,Rn=b}function yv(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null))){e=e.dehydrated;try{_e(t,Vp,e)}catch(a){st(t,t.return,a)}}}function gv(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{_e(t,Nv,e)}catch(a){st(t,t.return,a)}}function wS(e){switch(e.tag){case 31:case 13:case 19:var t=e.stateNode;return t===null&&(t=e.stateNode=new pM),t;case 22:return e=e.stateNode,t=e._retryCache,t===null&&(t=e._retryCache=new pM),t;default:throw Error("Unexpected Suspense handler tag ("+e.tag+"). This is a bug in React.")}}function su(e,t){var a=wS(e);t.forEach(function(r){if(!a.has(r)){if(a.add(r),wo)if(_y!==null&&Dy!==null)Hc(Dy,_y);else throw Error("Expected finished root and lanes to be set. This is a bug in React.");var d=fr.bind(null,e,r);r.then(d,d)}})}function Ni(e,t){var a=t.deletions;if(a!==null)for(var r=0;r<a.length;r++){var d=e,m=t,b=a[r],T=an(),R=m;e:for(;R!==null;){switch(R.tag){case 27:if(hu(R.type)){si=R.stateNode,al=!1;break e}break;case 5:si=R.stateNode,al=!1;break e;case 3:case 4:si=R.stateNode.containerInfo,al=!0;break e}R=R.return}if(si===null)throw Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");pv(d,m,b),si=null,al=!1,(b.mode&ft)!==Pe&&0<=ke&&0<=$e&&.05<$e-ke&&Za(b,ke,$e,"Unmount"),Kn(T),d=b,m=d.alternate,m!==null&&(m.return=null),d.return=null}if(t.subtreeFlags&13886)for(t=t.child;t!==null;)Yd(t,e),t=t.sibling}function Yd(e,t){var a=an(),r=Ka(),d=Ea(),m=Pa(),b=e.alternate,T=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:Ni(t,e),ji(e),T&4&&(lu(ja|Lo,e,e.return),cs(ja|Lo,e),cp(e,e.return,Nl|Lo));break;case 1:if(Ni(t,e),ji(e),T&512&&(oi||b===null||Ia(b,b.return)),T&64&&Br&&(T=e.updateQueue,T!==null&&(b=T.callbacks,b!==null))){var R=T.shared.hiddenCallbacks;T.shared.hiddenCallbacks=R===null?b:R.concat(b)}break;case 26:if(R=Es,Ni(t,e),ji(e),T&512&&(oi||b===null||Ia(b,b.return)),T&4){var O=b!==null?b.memoizedState:null;if(T=e.memoizedState,b===null)if(T===null)if(e.stateNode===null){e:{T=e.type,b=e.memoizedProps,R=R.ownerDocument||R;t:switch(T){case"title":O=R.getElementsByTagName("title")[0],(!O||O[lf]||O[sn]||O.namespaceURI===ut||O.hasAttribute("itemprop"))&&(O=R.createElement(T),R.head.insertBefore(O,R.querySelector("head > title"))),on(O,T,b),O[sn]=e,Ve(O),T=O;break e;case"link":var q=Zc("link","href",R).get(T+(b.href||""));if(q){for(var k=0;k<q.length;k++)if(O=q[k],O.getAttribute("href")===(b.href==null||b.href===""?null:b.href)&&O.getAttribute("rel")===(b.rel==null?null:b.rel)&&O.getAttribute("title")===(b.title==null?null:b.title)&&O.getAttribute("crossorigin")===(b.crossOrigin==null?null:b.crossOrigin)){q.splice(k,1);break t}}O=R.createElement(T),on(O,T,b),R.head.appendChild(O);break;case"meta":if(q=Zc("meta","content",R).get(T+(b.content||""))){for(k=0;k<q.length;k++)if(O=q[k],Rt(b.content,"content"),O.getAttribute("content")===(b.content==null?null:""+b.content)&&O.getAttribute("name")===(b.name==null?null:b.name)&&O.getAttribute("property")===(b.property==null?null:b.property)&&O.getAttribute("http-equiv")===(b.httpEquiv==null?null:b.httpEquiv)&&O.getAttribute("charset")===(b.charSet==null?null:b.charSet)){q.splice(k,1);break t}}O=R.createElement(T),on(O,T,b),R.head.appendChild(O);break;default:throw Error('getNodesForType encountered a type it did not expect: "'+T+'". This is a bug in React.')}O[sn]=e,Ve(O),T=O}e.stateNode=T}else n1(R,e.type,e.stateNode);else e.stateNode=Np(R,T,e.memoizedProps);else O!==T?(O===null?b.stateNode!==null&&(b=b.stateNode,b.parentNode.removeChild(b)):O.count--,T===null?n1(R,e.type,e.stateNode):Np(R,T,e.memoizedProps)):T===null&&e.stateNode!==null&&hp(e,e.memoizedProps,b.memoizedProps)}break;case 27:Ni(t,e),ji(e),T&512&&(oi||b===null||Ia(b,b.return)),b!==null&&T&4&&hp(e,e.memoizedProps,b.memoizedProps);break;case 5:if(Ni(t,e),ji(e),T&512&&(oi||b===null||Ia(b,b.return)),e.flags&32){R=e.stateNode;try{_e(e,Bp,R)}catch(De){st(e,e.return,De)}}T&4&&e.stateNode!=null&&(R=e.memoizedProps,hp(e,R,b!==null?b.memoizedProps:R)),T&1024&&(Tx=!0,e.type!=="form"&&console.error("Unexpected host component type. Expected a form. This is a bug in React."));break;case 6:if(Ni(t,e),ji(e),T&4){if(e.stateNode===null)throw Error("This should have a text node initialized. This error is likely caused by a bug in React. Please file an issue.");T=e.memoizedProps,b=b!==null?b.memoizedProps:T,R=e.stateNode;try{_e(e,CA,R,b,T)}catch(De){st(e,e.return,De)}}break;case 3:if(R=ao(),rT=null,O=Es,Es=Hp(t.containerInfo),Ni(t,e),Es=O,ji(e),T&4&&b!==null&&b.memoizedState.isDehydrated)try{_e(e,Lv,t.containerInfo)}catch(De){st(e,e.return,De)}Tx&&(Tx=!1,RS(e)),t.effectDuration+=hc(R);break;case 4:T=Es,Es=Hp(e.stateNode.containerInfo),Ni(t,e),ji(e),Es=T;break;case 12:T=ao(),Ni(t,e),ji(e),e.stateNode.effectDuration+=zi(T);break;case 31:Ni(t,e),ji(e),T&4&&(T=e.updateQueue,T!==null&&(e.updateQueue=null,su(e,T)));break;case 13:Ni(t,e),ji(e),e.child.flags&8192&&e.memoizedState!==null!=(b!==null&&b.memoizedState!==null)&&($1=ti()),T&4&&(T=e.updateQueue,T!==null&&(e.updateQueue=null,su(e,T)));break;case 22:R=e.memoizedState!==null;var H=b!==null&&b.memoizedState!==null,I=Br,Te=oi;if(Br=I||R,oi=Te||H,Ni(t,e),oi=Te,Br=I,H&&!R&&!I&&!Te&&(e.mode&ft)!==Pe&&0<=ke&&0<=$e&&.05<$e-ke&&Mm(e,ke,$e),ji(e),T&8192)e:for(t=e.stateNode,t._visibility=R?t._visibility&~b0:t._visibility|b0,!R||b===null||H||Br||oi||(uu(e),(e.mode&ft)!==Pe&&0<=ke&&0<=$e&&.05<$e-ke&&Za(e,ke,$e,"Disconnect")),b=null,t=e;;){if(t.tag===5||t.tag===26){if(b===null){H=b=t;try{O=H.stateNode,R?_e(H,QS,O):_e(H,$S,H.stateNode,H.memoizedProps)}catch(De){st(H,H.return,De)}}}else if(t.tag===6){if(b===null){H=t;try{q=H.stateNode,R?_e(H,ZS,q):_e(H,KS,q,H.memoizedProps)}catch(De){st(H,H.return,De)}}}else if(t.tag===18){if(b===null){H=t;try{k=H.stateNode,R?_e(H,XS,k):_e(H,JS,H.stateNode)}catch(De){st(H,H.return,De)}}}else if((t.tag!==22&&t.tag!==23||t.memoizedState===null||t===e)&&t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break e;for(;t.sibling===null;){if(t.return===null||t.return===e)break e;b===t&&(b=null),t=t.return}b===t&&(b=null),t.sibling.return=t.return,t=t.sibling}T&4&&(T=e.updateQueue,T!==null&&(b=T.retryQueue,b!==null&&(T.retryQueue=null,su(e,b))));break;case 19:Ni(t,e),ji(e),T&4&&(T=e.updateQueue,T!==null&&(e.updateQueue=null,su(e,T)));break;case 30:break;case 21:break;default:Ni(t,e),ji(e)}(e.mode&ft)!==Pe&&0<=ke&&0<=$e&&((Rn||.05<bn)&&yl(e,ke,$e,bn,pn),e.alternate===null&&e.return!==null&&e.return.alternate!==null&&.05<$e-ke&&(mv(e.return.alternate,e.return)||Za(e,ke,$e,"Mount"))),Kn(a),Ta(r),pn=d,Rn=m}function ji(e){var t=e.flags;if(t&2){try{_e(e,dv,e)}catch(a){st(e,e.return,a)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function RS(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var t=e;RS(t),t.tag===5&&t.flags&1024&&t.stateNode.reset(),e=e.sibling}}function Oa(e,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)pp(e,t.alternate,t),t=t.sibling}function yp(e){var t=an(),a=Ka(),r=Ea(),d=Pa();switch(e.tag){case 0:case 11:case 14:case 15:cp(e,e.return,Nl),uu(e);break;case 1:Ia(e,e.return);var m=e.stateNode;typeof m.componentWillUnmount=="function"&&dp(e,e.return,m),uu(e);break;case 27:_e(e,ys,e.stateNode);case 26:case 5:Ia(e,e.return),uu(e);break;case 22:e.memoizedState===null&&uu(e);break;case 30:uu(e);break;default:uu(e)}(e.mode&ft)!==Pe&&0<=ke&&0<=$e&&(Rn||.05<bn)&&yl(e,ke,$e,bn,pn),Kn(t),Ta(a),pn=r,Rn=d}function uu(e){for(e=e.child;e!==null;)yp(e),e=e.sibling}function vv(e,t,a,r){var d=an(),m=Ka(),b=Ea(),T=Pa(),R=a.flags;switch(a.tag){case 0:case 11:case 15:Dl(e,a,r),AS(a,Nl);break;case 1:if(Dl(e,a,r),t=a.stateNode,typeof t.componentDidMount=="function"&&_e(a,ux,a,t),t=a.updateQueue,t!==null){e=a.stateNode;try{_e(a,jg,t,e)}catch(O){st(a,a.return,O)}}r&&R&64&&rv(a),ur(a,a.return);break;case 27:hv(a);case 26:case 5:Dl(e,a,r),r&&t===null&&R&4&&ou(a),ur(a,a.return);break;case 12:if(r&&R&4){R=ao(),Dl(e,a,r),r=a.stateNode,r.effectDuration+=zi(R);try{_e(a,cv,a,t,hf,r.effectDuration)}catch(O){st(a,a.return,O)}}else Dl(e,a,r);break;case 31:Dl(e,a,r),r&&R&4&&yv(e,a);break;case 13:Dl(e,a,r),r&&R&4&&gv(e,a);break;case 22:a.memoizedState===null&&Dl(e,a,r),ur(a,a.return);break;case 30:break;default:Dl(e,a,r)}(a.mode&ft)!==Pe&&0<=ke&&0<=$e&&(Rn||.05<bn)&&yl(a,ke,$e,bn,pn),Kn(d),Ta(m),pn=b,Rn=T}function Dl(e,t,a){for(a=a&&(t.subtreeFlags&8772)!==0,t=t.child;t!==null;)vv(e,t.alternate,t,a),t=t.sibling}function Gd(e,t){var a=null;e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(a=e.memoizedState.cachePool.pool),e=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(e=t.memoizedState.cachePool.pool),e!==a&&(e!=null&&Qu(e),a!=null&&md(a))}function kd(e,t){e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(Qu(t),e!=null&&md(e))}function Ma(e,t,a,r,d){if(t.subtreeFlags&10256||t.actualDuration!==0&&(t.alternate===null||t.alternate.child!==t.child))for(t=t.child;t!==null;){var m=t.sibling;bv(e,t,a,r,m!==null?m.actualStartTime:d),t=m}}function bv(e,t,a,r,d){var m=an(),b=Ka(),T=Ea(),R=Pa(),O=rf,q=t.flags;switch(t.tag){case 0:case 11:case 15:(t.mode&ft)!==Pe&&0<t.actualStartTime&&(t.flags&1)!==0&&Cm(t,t.actualStartTime,d,pi,a),Ma(e,t,a,r,d),q&2048&&Nd(t,qa|Lo);break;case 1:(t.mode&ft)!==Pe&&0<t.actualStartTime&&((t.flags&128)!==0?Ag(t,t.actualStartTime,d,[]):(t.flags&1)!==0&&Cm(t,t.actualStartTime,d,pi,a)),Ma(e,t,a,r,d);break;case 3:var k=ao(),H=pi;pi=t.alternate!==null&&t.alternate.memoizedState.isDehydrated&&(t.flags&256)===0,Ma(e,t,a,r,d),pi=H,q&2048&&(a=null,t.alternate!==null&&(a=t.alternate.memoizedState.cache),r=t.memoizedState.cache,r!==a&&(Qu(r),a!=null&&md(a))),e.passiveEffectDuration+=hc(k);break;case 12:if(q&2048){q=ao(),Ma(e,t,a,r,d),e=t.stateNode,e.passiveEffectDuration+=zi(q);try{_e(t,DS,t,t.alternate,hf,e.passiveEffectDuration)}catch(I){st(t,t.return,I)}}else Ma(e,t,a,r,d);break;case 31:q=pi,k=t.alternate!==null?t.alternate.memoizedState:null,H=t.memoizedState,k!==null&&H===null?(H=t.deletions,H!==null&&0<H.length&&H[0].tag===18?(pi=!1,k=k.hydrationErrors,k!==null&&Ag(t,t.actualStartTime,d,k)):pi=!0):pi=!1,Ma(e,t,a,r,d),pi=q;break;case 13:q=pi,k=t.alternate!==null?t.alternate.memoizedState:null,H=t.memoizedState,k===null||k.dehydrated===null||H!==null&&H.dehydrated!==null?pi=!1:(H=t.deletions,H!==null&&0<H.length&&H[0].tag===18?(pi=!1,k=k.hydrationErrors,k!==null&&Ag(t,t.actualStartTime,d,k)):pi=!0),Ma(e,t,a,r,d),pi=q;break;case 23:break;case 22:H=t.stateNode,k=t.alternate,t.memoizedState!==null?H._visibility&xr?Ma(e,t,a,r,d):rr(e,t,a,r,d):H._visibility&xr?Ma(e,t,a,r,d):(H._visibility|=xr,ru(e,t,a,r,(t.subtreeFlags&10256)!==0||t.actualDuration!==0&&(t.alternate===null||t.alternate.child!==t.child),d),(t.mode&ft)===Pe||pi||(e=t.actualStartTime,0<=e&&.05<d-e&&Mm(t,e,d),0<=ke&&0<=$e&&.05<$e-ke&&Mm(t,ke,$e))),q&2048&&Gd(k,t);break;case 24:Ma(e,t,a,r,d),q&2048&&kd(t.alternate,t);break;default:Ma(e,t,a,r,d)}(t.mode&ft)!==Pe&&((e=!pi&&t.alternate===null&&t.return!==null&&t.return.alternate!==null)&&(a=t.actualStartTime,0<=a&&.05<d-a&&Za(t,a,d,"Mount")),0<=ke&&0<=$e&&((Rn||.05<bn)&&yl(t,ke,$e,bn,pn),e&&.05<$e-ke&&Za(t,ke,$e,"Mount"))),Kn(m),Ta(b),pn=T,Rn=R,rf=O}function ru(e,t,a,r,d,m){for(d=d&&((t.subtreeFlags&10256)!==0||t.actualDuration!==0&&(t.alternate===null||t.alternate.child!==t.child)),t=t.child;t!==null;){var b=t.sibling;Xd(e,t,a,r,d,b!==null?b.actualStartTime:m),t=b}}function Xd(e,t,a,r,d,m){var b=an(),T=Ka(),R=Ea(),O=Pa(),q=rf;d&&(t.mode&ft)!==Pe&&0<t.actualStartTime&&(t.flags&1)!==0&&Cm(t,t.actualStartTime,m,pi,a);var k=t.flags;switch(t.tag){case 0:case 11:case 15:ru(e,t,a,r,d,m),Nd(t,qa);break;case 23:break;case 22:var H=t.stateNode;t.memoizedState!==null?H._visibility&xr?ru(e,t,a,r,d,m):rr(e,t,a,r,m):(H._visibility|=xr,ru(e,t,a,r,d,m)),d&&k&2048&&Gd(t.alternate,t);break;case 24:ru(e,t,a,r,d,m),d&&k&2048&&kd(t.alternate,t);break;default:ru(e,t,a,r,d,m)}(t.mode&ft)!==Pe&&0<=ke&&0<=$e&&(Rn||.05<bn)&&yl(t,ke,$e,bn,pn),Kn(b),Ta(T),pn=R,Rn=O,rf=q}function rr(e,t,a,r,d){if(t.subtreeFlags&10256||t.actualDuration!==0&&(t.alternate===null||t.alternate.child!==t.child))for(var m=t.child;m!==null;){t=m.sibling;var b=e,T=a,R=r,O=t!==null?t.actualStartTime:d,q=rf;(m.mode&ft)!==Pe&&0<m.actualStartTime&&(m.flags&1)!==0&&Cm(m,m.actualStartTime,O,pi,T);var k=m.flags;switch(m.tag){case 22:rr(b,m,T,R,O),k&2048&&Gd(m.alternate,m);break;case 24:rr(b,m,T,R,O),k&2048&&kd(m.alternate,m);break;default:rr(b,m,T,R,O)}rf=q,m=t}}function cr(e,t,a){if(e.subtreeFlags&j0)for(e=e.child;e!==null;)gp(e,t,a),e=e.sibling}function gp(e,t,a){switch(e.tag){case 26:cr(e,t,a),e.flags&j0&&e.memoizedState!==null&&kv(a,Es,e.memoizedState,e.memoizedProps);break;case 5:cr(e,t,a);break;case 3:case 4:var r=Es;Es=Hp(e.stateNode.containerInfo),cr(e,t,a),Es=r;break;case 22:e.memoizedState===null&&(r=e.alternate,r!==null&&r.memoizedState!==null?(r=j0,j0=16777216,cr(e,t,a),j0=r):cr(e,t,a));break;default:cr(e,t,a)}}function Sv(e){var t=e.alternate;if(t!==null&&(e=t.child,e!==null)){t.child=null;do t=e.sibling,e.sibling=null,e=t;while(e!==null)}}function Ca(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var a=0;a<t.length;a++){var r=t[a],d=an();Di=r,go(r,e),(r.mode&ft)!==Pe&&0<=ke&&0<=$e&&.05<$e-ke&&Za(r,ke,$e,"Unmount"),Kn(d)}Sv(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)vp(e),e=e.sibling}function vp(e){var t=an(),a=Ka(),r=Ea(),d=Pa();switch(e.tag){case 0:case 11:case 15:Ca(e),e.flags&2048&&fp(e,e.return,qa|Lo);break;case 3:var m=ao();Ca(e),e.stateNode.passiveEffectDuration+=hc(m);break;case 12:m=ao(),Ca(e),e.stateNode.passiveEffectDuration+=zi(m);break;case 22:m=e.stateNode,e.memoizedState!==null&&m._visibility&xr&&(e.return===null||e.return.tag!==13)?(m._visibility&=~xr,bp(e),(e.mode&ft)!==Pe&&0<=ke&&0<=$e&&.05<$e-ke&&Za(e,ke,$e,"Disconnect")):Ca(e);break;default:Ca(e)}(e.mode&ft)!==Pe&&0<=ke&&0<=$e&&(Rn||.05<bn)&&yl(e,ke,$e,bn,pn),Kn(t),Ta(a),Rn=d,pn=r}function bp(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var a=0;a<t.length;a++){var r=t[a],d=an();Di=r,go(r,e),(r.mode&ft)!==Pe&&0<=ke&&0<=$e&&.05<$e-ke&&Za(r,ke,$e,"Unmount"),Kn(d)}Sv(e)}for(e=e.child;e!==null;)Tv(e),e=e.sibling}function Tv(e){var t=an(),a=Ka(),r=Ea(),d=Pa();switch(e.tag){case 0:case 11:case 15:fp(e,e.return,qa),bp(e);break;case 22:var m=e.stateNode;m._visibility&xr&&(m._visibility&=~xr,bp(e));break;default:bp(e)}(e.mode&ft)!==Pe&&0<=ke&&0<=$e&&(Rn||.05<bn)&&yl(e,ke,$e,bn,pn),Kn(t),Ta(a),Rn=d,pn=r}function go(e,t){for(;Di!==null;){var a=Di,r=a,d=t,m=an(),b=Ka(),T=Ea(),R=Pa();switch(r.tag){case 0:case 11:case 15:fp(r,d,qa);break;case 23:case 22:r.memoizedState!==null&&r.memoizedState.cachePool!==null&&(d=r.memoizedState.cachePool.pool,d!=null&&Qu(d));break;case 24:md(r.memoizedState.cache)}if((r.mode&ft)!==Pe&&0<=ke&&0<=$e&&(Rn||.05<bn)&&yl(r,ke,$e,bn,pn),Kn(m),Ta(b),Rn=R,pn=T,r=a.child,r!==null)r.return=a,Di=r;else e:for(a=e;Di!==null;){if(r=Di,m=r.sibling,b=r.return,Dn(r),r===a){Di=null;break e}if(m!==null){m.return=b,Di=m;break e}Di=b}}}function Ev(){Q7.forEach(function(e){return e()})}function Av(){var e=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0;return e||ie.actQueue===null||console.error("The current testing environment is not configured to support act(...)"),e}function Ei(e){if((Dt&yi)!==wi&&ht!==0)return ht&-ht;var t=ie.T;return t!==null?(t._updatedFibers||(t._updatedFibers=new Set),t._updatedFibers.add(e),Uv()):Hs()}function Cc(){if(ol===0)if((ht&536870912)===0||St){var e=hh;hh<<=1,(hh&3932160)===0&&(hh=262144),ol=e}else ol=536870912;return e=Ll.current,e!==null&&(e.flags|=32),ol}function Fe(e,t,a){if(Oy&&console.error("useInsertionEffect must not schedule updates."),zx&&(W1=!0),(e===It&&(Jt===Oh||Jt===Mh)||e.cancelPendingCommit!==null)&&(vo(e,0),el(e,ht,ol,!1)),fl(e,a),(Dt&yi)!==wi&&e===It){if(_o)switch(t.tag){case 0:case 11:case 15:e=yt&&be(yt)||"Unknown",MM.has(e)||(MM.add(e),t=be(t)||"Unknown",console.error("Cannot update a component (`%s`) while rendering a different component (`%s`). To locate the bad setState() call inside `%s`, follow the stack trace as described in https://react.dev/link/setstate-in-render",t,e,e));break;case 1:OM||(console.error("Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state."),OM=!0)}}else wo&&Hn(e,t,a),$d(t),e===It&&((Dt&yi)===wi&&(Tf|=a),Sn===vf&&el(e,ht,ol,!1)),la(e)}function OS(e,t,a){if((Dt&(yi|jl))!==wi)throw Error("Should not already be working.");if(ht!==0&&yt!==null){var r=yt,d=ti();switch(EO){case G0:case Oh:var m=_0;un&&((r=r._debugTask)?r.run(console.timeStamp.bind(console,"Suspended",m,d,Oo,void 0,"primary-light")):console.timeStamp("Suspended",m,d,Oo,void 0,"primary-light"));break;case Mh:m=_0,un&&((r=r._debugTask)?r.run(console.timeStamp.bind(console,"Action",m,d,Oo,void 0,"primary-light")):console.timeStamp("Action",m,d,Oo,void 0,"primary-light"));break;default:un&&(r=d-_0,3>r||console.timeStamp("Blocked",_0,d,Oo,void 0,5>r?"primary-light":10>r?"primary":100>r?"primary-dark":"error"))}}m=(a=!a&&(t&127)===0&&(t&e.expiredLanes)===0||Mn(e,t))?fs(e,t):Bc(e,t,!0);var b=a;do{if(m===Vr){wy&&!a&&el(e,t,0,!1),t=Jt,_0=ii(),EO=t;break}else{if(r=ti(),d=e.current.alternate,b&&!CS(d)){pl(t),d=_i,m=r,!un||m<=d||(Bn?Bn.run(console.timeStamp.bind(console,"Teared Render",d,m,xt,Tt,"error")):console.timeStamp("Teared Render",d,m,xt,Tt,"error")),cu(t,r),m=Bc(e,t,!1),b=!1;continue}if(m===Rh){if(b=t,e.errorRecoveryDisabledLanes&b)var T=0;else T=e.pendingLanes&-536870913,T=T!==0?T:T&536870912?536870912:0;if(T!==0){pl(t),xg(_i,r,t,Bn),cu(t,r),t=T;e:{r=e,m=b,b=X0;var R=r.current.memoizedState.isDehydrated;if(R&&(vo(r,T).flags|=256),T=Bc(r,T,!1),T!==Rh){if(xx&&!R){r.errorRecoveryDisabledLanes|=m,Tf|=m,m=vf;break e}r=Ya,Ya=b,r!==null&&(Ya===null?Ya=r:Ya.push.apply(Ya,r))}m=T}if(b=!1,m!==Rh)continue;r=ti()}}if(m===Y0){pl(t),xg(_i,r,t,Bn),cu(t,r),vo(e,0),el(e,t,0,!0);break}e:{switch(a=e,m){case Vr:case Y0:throw Error("Root did not complete. This is a bug in React.");case vf:if((t&4194048)!==t)break;case X1:pl(t),lS(_i,r,t,Bn),cu(t,r),d=t,(d&127)!==0?O1=r:(d&4194048)!==0&&(M1=r),el(a,t,ol,!bf);break e;case Rh:Ya=null;break;case k1:case yM:break;default:throw Error("Unknown root exit status.")}if(ie.actQueue!==null)Pt(a,d,t,Ya,Q0,J1,ol,Tf,Ch,m,null,null,_i,r);else{if((t&62914560)===t&&(b=$1+bM-ti(),10<b)){if(el(a,t,ol,!bf),Ou(a,0,!0)!==0)break e;As=t,a.timeoutHandle=NM(MS.bind(null,a,d,Ya,Q0,J1,t,ol,Tf,Ch,bf,m,"Throttled",_i,r),b);break e}MS(a,d,Ya,Q0,J1,t,ol,Tf,Ch,bf,m,null,_i,r)}}}break}while(!0);la(e)}function MS(e,t,a,r,d,m,b,T,R,O,q,k,H,I){e.timeoutHandle=Hh;var Te=t.subtreeFlags,De=null;if((Te&8192||(Te&16785408)===16785408)&&(De={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:Qa},gp(t,m,De),Te=(m&62914560)===m?$1-ti():(m&4194048)===m?vM-ti():0,Te=jp(De,Te),Te!==null)){As=m,e.cancelPendingCommit=Te(Pt.bind(null,e,t,m,a,r,d,b,T,R,q,De,De.waitingForViewTransition?"Waiting for the previous Animation":0<De.count?0<De.imgCount?"Suspended on CSS and Images":"Suspended on CSS":De.imgCount===1?"Suspended on an Image":0<De.imgCount?"Suspended on Images":null,H,I)),el(e,m,b,!O);return}Pt(e,t,m,a,r,d,b,T,R,q,De,k,H,I)}function CS(e){for(var t=e;;){var a=t.tag;if((a===0||a===11||a===15)&&t.flags&16384&&(a=t.updateQueue,a!==null&&(a=a.stores,a!==null)))for(var r=0;r<a.length;r++){var d=a[r],m=d.getSnapshot;d=d.value;try{if(!La(m(),d))return!1}catch{return!1}}if(a=t.child,t.subtreeFlags&16384&&a!==null)a.return=t,t=a;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function el(e,t,a,r){t&=~_x,t&=~Tf,e.suspendedLanes|=t,e.pingedLanes&=~t,r&&(e.warmLanes|=t),r=e.expirationTimes;for(var d=t;0<d;){var m=31-hi(d),b=1<<m;r[m]=-1,d&=~b}a!==0&&Wr(e,a,t)}function za(){return(Dt&(yi|jl))===wi?(So(0),!1):!0}function Sp(){if(yt!==null){if(Jt===ll)var e=yt.return;else e=yt,fc(),Ks(e),vy=null,B0=0,e=yt;for(;e!==null;)uv(e.alternate,e),e=e.return;yt=null}}function cu(e,t){(e&127)!==0&&(bh=t),(e&4194048)!==0&&(Or=t),(e&62914560)!==0&&(SO=t),(e&2080374784)!==0&&(TO=t)}function vo(e,t){un&&(console.timeStamp("Blocking Track",.003,.003,"Blocking",Tt,"primary-light"),console.timeStamp("Transition Track",.003,.003,"Transition",Tt,"primary-light"),console.timeStamp("Suspense Track",.003,.003,"Suspense",Tt,"primary-light"),console.timeStamp("Idle Track",.003,.003,"Idle",Tt,"primary-light"));var a=_i;if(_i=ii(),ht!==0&&0<a){if(pl(ht),Sn===k1||Sn===vf)lS(a,_i,t,Bn);else{var r=_i,d=Bn;if(un&&!(r<=a)){var m=(t&738197653)===t?"tertiary-dark":"primary-dark",b=(t&536870912)===t?"Prewarm":(t&201326741)===t?"Interrupted Hydration":"Interrupted Render";d?d.run(console.timeStamp.bind(console,b,a,r,xt,Tt,m)):console.timeStamp(b,a,r,xt,Tt,m)}}cu(ht,_i)}if(a=Bn,Bn=null,(t&127)!==0){Bn=E0,d=0<=Tu&&Tu<bh?bh:Tu,r=0<=Sh&&Sh<bh?bh:Sh,m=0<=r?r:0<=d?d:_i,0<=O1?(pl(2),oS(O1,m,t,a)):C1&127,a=d;var T=r,R=A0,O=0<py,q=mf===T0,k=mf===R1;if(d=_i,r=E0,m=ix,b=ax,un){if(xt="Blocking",0<a?a>d&&(a=d):a=d,0<T?T>a&&(T=a):T=a,R!==null&&a>T){var H=O?"secondary-light":"warning";r?r.run(console.timeStamp.bind(console,O?"Consecutive":"Event: "+R,T,a,xt,Tt,H)):console.timeStamp(O?"Consecutive":"Event: "+R,T,a,xt,Tt,H)}d>a&&(T=q?"error":(t&738197653)===t?"tertiary-light":"primary-light",q=k?"Promise Resolved":q?"Cascading Update":5<d-a?"Update Blocked":"Update",k=[],b!=null&&k.push(["Component name",b]),m!=null&&k.push(["Method name",m]),a={start:a,end:d,detail:{devtools:{properties:k,track:xt,trackGroup:Tt,color:T}}},r?r.run(performance.measure.bind(performance,q,a)):performance.measure(q,a))}Tu=-1.1,mf=0,ax=ix=null,O1=-1.1,py=Sh,Sh=-1.1,bh=ii()}if((t&4194048)!==0&&(Bn=x0,d=0<=Mr&&Mr<Or?Or:Mr,a=0<=Vo&&Vo<Or?Or:Vo,r=0<=pf&&pf<Or?Or:pf,m=0<=r?r:0<=a?a:_i,0<=M1?(pl(256),oS(M1,m,t,Bn)):C1&4194048,k=r,T=Th,R=0<yf,O=lx===R1,m=_i,r=x0,b=vO,q=bO,un&&(xt="Transition",0<a?a>m&&(a=m):a=m,0<d?d>a&&(d=a):d=a,0<k?k>d&&(k=d):k=d,d>k&&T!==null&&(H=R?"secondary-light":"warning",r?r.run(console.timeStamp.bind(console,R?"Consecutive":"Event: "+T,k,d,xt,Tt,H)):console.timeStamp(R?"Consecutive":"Event: "+T,k,d,xt,Tt,H)),a>d&&(r?r.run(console.timeStamp.bind(console,"Action",d,a,xt,Tt,"primary-dark")):console.timeStamp("Action",d,a,xt,Tt,"primary-dark")),m>a&&(d=O?"Promise Resolved":5<m-a?"Update Blocked":"Update",k=[],q!=null&&k.push(["Component name",q]),b!=null&&k.push(["Method name",b]),a={start:a,end:m,detail:{devtools:{properties:k,track:xt,trackGroup:Tt,color:"primary-light"}}},r?r.run(performance.measure.bind(performance,d,a)):performance.measure(d,a))),Vo=Mr=-1.1,lx=0,M1=-1.1,yf=pf,pf=-1.1,Or=ii()),(t&62914560)!==0&&(C1&62914560)!==0&&(pl(4194304),_g(SO,_i)),(t&2080374784)!==0&&(C1&2080374784)!==0&&(pl(268435456),_g(TO,_i)),a=e.timeoutHandle,a!==Hh&&(e.timeoutHandle=Hh,aN(a)),a=e.cancelPendingCommit,a!==null&&(e.cancelPendingCommit=null,a()),As=0,Sp(),It=e,yt=a=no(e.current,null),ht=t,Jt=ll,ql=null,bf=!1,wy=Mn(e,t),xx=!1,Sn=Vr,Ch=ol=_x=Tf=Sf=0,Ya=X0=null,J1=!1,(t&8)!==0&&(t|=t&32),r=e.entangledLanes,r!==0)for(e=e.entanglements,r&=t;0<r;)d=31-hi(r),m=1<<d,t|=e[d],r&=~m;return Au=t,zm(),e=dO(),1e3<e-fO&&(ie.recentlyCreatedOwnerStacks=0,fO=e),Ss.discardPendingWarnings(),a}function wl(e,t){Ie=null,ie.H=N0,ie.getCurrentStack=null,_o=!1,ra=null,t===gy||t===V1?(t=$u(),Jt=G0):t===rx?(t=$u(),Jt=gM):Jt=t===bx?Ax:t!==null&&typeof t=="object"&&typeof t.then=="function"?k0:Q1,ql=t;var a=yt;a===null?(Sn=Y0,Ud(e,Ci(t,e.current))):a.mode&ft&&jm(a)}function xv(){var e=Ll.current;return e===null?!0:(ht&4194048)===ht?Ho===null:(ht&62914560)===ht||(ht&536870912)!==0?e===Ho:!1}function Tp(){var e=ie.H;return ie.H=N0,e===null?N0:e}function _v(){var e=ie.A;return ie.A=X7,e}function zc(e){Bn===null&&(Bn=e._debugTask==null?null:e._debugTask)}function Uc(){Sn=vf,bf||(ht&4194048)!==ht&&Ll.current!==null||(wy=!0),(Sf&134217727)===0&&(Tf&134217727)===0||It===null||el(It,ht,ol,!1)}function Bc(e,t,a){var r=Dt;Dt|=yi;var d=Tp(),m=_v();if(It!==e||ht!==t){if(wo){var b=e.memoizedUpdaters;0<b.size&&(Hc(e,ht),b.clear()),ga(e,t)}Q0=null,vo(e,t)}t=!1,b=Sn;e:do try{if(Jt!==ll&&yt!==null){var T=yt,R=ql;switch(Jt){case Ax:Sp(),b=X1;break e;case G0:case Oh:case Mh:case k0:Ll.current===null&&(t=!0);var O=Jt;if(Jt=ll,ql=null,Vc(e,T,R,O),a&&wy){b=Vr;break e}break;default:O=Jt,Jt=ll,ql=null,Vc(e,T,R,O)}}Dv(),b=Sn;break}catch(q){wl(e,q)}while(!0);return t&&e.shellSuspendCounter++,fc(),Dt=r,ie.H=d,ie.A=m,yt===null&&(It=null,ht=0,zm()),b}function Dv(){for(;yt!==null;)Ep(yt)}function fs(e,t){var a=Dt;Dt|=yi;var r=Tp(),d=_v();if(It!==e||ht!==t){if(wo){var m=e.memoizedUpdaters;0<m.size&&(Hc(e,ht),m.clear()),ga(e,t)}Q0=null,K1=ti()+SM,vo(e,t)}else wy=Mn(e,t);e:do try{if(Jt!==ll&&yt!==null)t:switch(t=yt,m=ql,Jt){case Q1:Jt=ll,ql=null,Vc(e,t,m,Q1);break;case Oh:case Mh:if(Lg(m)){Jt=ll,ql=null,wv(t);break}t=function(){Jt!==Oh&&Jt!==Mh||It!==e||(Jt=Z1),la(e)},m.then(t,t);break e;case G0:Jt=Z1;break e;case gM:Jt=Ex;break e;case Z1:Lg(m)?(Jt=ll,ql=null,wv(t)):(Jt=ll,ql=null,Vc(e,t,m,Z1));break;case Ex:var b=null;switch(yt.tag){case 26:b=yt.memoizedState;case 5:case 27:var T=yt;if(b?gt(b):T.stateNode.complete){Jt=ll,ql=null;var R=T.sibling;if(R!==null)yt=R;else{var O=T.return;O!==null?(yt=O,Qd(O)):yt=null}break t}break;default:console.error("Unexpected type of fiber triggered a suspensey commit. This is a bug in React.")}Jt=ll,ql=null,Vc(e,t,m,Ex);break;case k0:Jt=ll,ql=null,Vc(e,t,m,k0);break;case Ax:Sp(),Sn=X1;break e;default:throw Error("Unexpected SuspendedReason. This is a bug in React.")}ie.actQueue!==null?Dv():zn();break}catch(q){wl(e,q)}while(!0);return fc(),ie.H=r,ie.A=d,Dt=a,yt!==null?Vr:(It=null,ht=0,zm(),Sn)}function zn(){for(;yt!==null&&!Pp();)Ep(yt)}function Ep(e){var t=e.alternate;(e.mode&ft)!==Pe?(es(e),t=_e(e,Ld,t,e,Au),jm(e)):t=_e(e,Ld,t,e,Au),e.memoizedProps=e.pendingProps,t===null?Qd(e):yt=t}function wv(e){var t=_e(e,ei,e);e.memoizedProps=e.pendingProps,t===null?Qd(e):yt=t}function ei(e){var t=e.alternate,a=(e.mode&ft)!==Pe;switch(a&&es(e),e.tag){case 15:case 0:t=nv(t,e,e.pendingProps,e.type,void 0,ht);break;case 11:t=nv(t,e,e.pendingProps,e.type.render,e.ref,ht);break;case 5:Ks(e);default:uv(t,e),e=yt=Og(e,Au),t=Ld(t,e,Au)}return a&&jm(e),t}function Vc(e,t,a,r){fc(),Ks(t),vy=null,B0=0;var d=t.return;try{if(Kg(e,d,t,a,ht)){Sn=Y0,Ud(e,Ci(a,e.current)),yt=null;return}}catch(m){if(d!==null)throw yt=d,m;Sn=Y0,Ud(e,Ci(a,e.current)),yt=null;return}t.flags&32768?(St||r===Q1?e=!0:wy||(ht&536870912)!==0?e=!1:(bf=e=!0,(r===Oh||r===Mh||r===G0||r===k0)&&(r=Ll.current,r!==null&&r.tag===13&&(r.flags|=16384))),Rv(t,e)):Qd(t)}function Qd(e){var t=e;do{if((t.flags&32768)!==0){Rv(t,bf);return}var a=t.alternate;if(e=t.return,es(t),a=_e(t,sv,a,t,Au),(t.mode&ft)!==Pe&&pd(t),a!==null){yt=a;return}if(t=t.sibling,t!==null){yt=t;return}yt=t=e}while(t!==null);Sn===Vr&&(Sn=yM)}function Rv(e,t){do{var a=ES(e.alternate,e);if(a!==null){a.flags&=32767,yt=a;return}if((e.mode&ft)!==Pe){pd(e),a=e.actualDuration;for(var r=e.child;r!==null;)a+=r.actualDuration,r=r.sibling;e.actualDuration=a}if(a=e.return,a!==null&&(a.flags|=32768,a.subtreeFlags=0,a.deletions=null),!t&&(e=e.sibling,e!==null)){yt=e;return}yt=e=a}while(e!==null);Sn=X1,yt=null}function Pt(e,t,a,r,d,m,b,T,R,O,q,k,H,I){e.cancelPendingCommit=null;do Zd();while(ui!==Af);if(Ss.flushLegacyContextWarning(),Ss.flushPendingUnsafeLifecycleWarnings(),(Dt&(yi|jl))!==wi)throw Error("Should not already be working.");if(pl(a),O===Rh?xg(H,I,a,Bn):r!==null?DA(H,I,a,r,t!==null&&t.alternate!==null&&t.alternate.memoizedState.isDehydrated&&(t.flags&256)!==0,Bn):_A(H,I,a,Bn),t!==null){if(a===0&&console.error("finishedLanes should not be empty during a commit. This is a bug in React."),t===e.current)throw Error("Cannot commit the same tree as before. This error is likely caused by a bug in React. Please file an issue.");if(m=t.lanes|t.childLanes,m|=WA,mm(e,a,m,b,T,R),e===It&&(yt=It=null,ht=0),Ry=t,xf=e,As=a,Rx=m,Mx=d,DM=r,Ox=I,wM=k,xs=P1,RM=null,t.actualDuration!==0||(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?(e.callbackNode=null,e.callbackPriority=0,Lc(Sr,function(){return F0=window.event,xs===P1&&(xs=wx),Jd(),null})):(e.callbackNode=null,e.callbackPriority=0),Rr=null,hf=ii(),k!==null&&wA(I,hf,k,Bn),r=(t.flags&13878)!==0,(t.subtreeFlags&13878)!==0||r){r=ie.T,ie.T=null,d=Ut.p,Ut.p=Yn,b=Dt,Dt|=jl;try{MA(e,t,a)}finally{Dt=b,Ut.p=d,ie.T=r}}ui=EM,qi(),bo(),Ov()}}function qi(){if(ui===EM){ui=Af;var e=xf,t=Ry,a=As,r=(t.flags&13878)!==0;if((t.subtreeFlags&13878)!==0||r){r=ie.T,ie.T=null;var d=Ut.p;Ut.p=Yn;var m=Dt;Dt|=jl;try{_y=a,Dy=e,Zu(),Yd(t,e),Dy=_y=null,a=Yx;var b=Om(e.containerInfo),T=a.focusedElem,R=a.selectionRange;if(b!==T&&T&&T.ownerDocument&&tS(T.ownerDocument.documentElement,T)){if(R!==null&&Tg(T)){var O=R.start,q=R.end;if(q===void 0&&(q=O),"selectionStart"in T)T.selectionStart=O,T.selectionEnd=Math.min(q,T.value.length);else{var k=T.ownerDocument||document,H=k&&k.defaultView||window;if(H.getSelection){var I=H.getSelection(),Te=T.textContent.length,De=Math.min(R.start,Te),nn=R.end===void 0?De:Math.min(R.end,Te);!I.extend&&De>nn&&(b=nn,nn=De,De=b);var Et=eS(T,De),B=eS(T,nn);if(Et&&B&&(I.rangeCount!==1||I.anchorNode!==Et.node||I.anchorOffset!==Et.offset||I.focusNode!==B.node||I.focusOffset!==B.offset)){var L=k.createRange();L.setStart(Et.node,Et.offset),I.removeAllRanges(),De>nn?(I.addRange(L),I.extend(B.node,B.offset)):(L.setEnd(B.node,B.offset),I.addRange(L))}}}}for(k=[],I=T;I=I.parentNode;)I.nodeType===1&&k.push({element:I,left:I.scrollLeft,top:I.scrollTop});for(typeof T.focus=="function"&&T.focus(),T=0;T<k.length;T++){var j=k[T];j.element.scrollLeft=j.left,j.element.scrollTop=j.top}}dT=!!qx,Yx=qx=null}finally{Dt=m,Ut.p=d,ie.T=r}}e.current=t,ui=AM}}function bo(){if(ui===AM){ui=Af;var e=RM;if(e!==null){hf=ii();var t=wr,a=hf;!un||a<=t||console.timeStamp(e,t,a,xt,Tt,"secondary-light")}e=xf,t=Ry,a=As;var r=(t.flags&8772)!==0;if((t.subtreeFlags&8772)!==0||r){r=ie.T,ie.T=null;var d=Ut.p;Ut.p=Yn;var m=Dt;Dt|=jl;try{_y=a,Dy=e,Zu(),pp(e,t.alternate,t),Dy=_y=null}finally{Dt=m,Ut.p=d,ie.T=r}}e=Ox,t=wM,wr=ii(),e=t===null?e:hf,t=wr,a=xs===Dx,r=Bn,Rr!==null?sS(e,t,Rr,!1,r):!un||t<=e||(r?r.run(console.timeStamp.bind(console,a?"Commit Interrupted View Transition":"Commit",e,t,xt,Tt,a?"error":"secondary-dark")):console.timeStamp(a?"Commit Interrupted View Transition":"Commit",e,t,xt,Tt,a?"error":"secondary-dark")),ui=xM}}function Ov(){if(ui===_M||ui===xM){if(ui===_M){var e=wr;wr=ii();var t=wr,a=xs===Dx;!un||t<=e||console.timeStamp(a?"Interrupted View Transition":"Starting Animation",e,t,xt,Tt,a?" error":"secondary-light"),xs!==Dx&&(xs=TM)}ui=Af,Fp(),e=xf;var r=Ry;t=As,a=DM;var d=r.actualDuration!==0||(r.subtreeFlags&10256)!==0||(r.flags&10256)!==0;d?ui=F1:(ui=Af,Ry=xf=null,Mv(e,e.pendingLanes),zh=0,J0=null);var m=e.pendingLanes;if(m===0&&(Ef=null),d||_p(e),m=Jn(t),r=r.stateNode,qn&&typeof qn.onCommitFiberRoot=="function")try{var b=(r.current.flags&128)===128;switch(m){case Yn:var T=o0;break;case mi:T=Wp;break;case xi:T=Sr;break;case vu:T=Ip;break;default:T=Sr}qn.onCommitFiberRoot(Tr,r,T,b)}catch(k){Do||(Do=!0,console.error("React instrumentation encountered an error: %o",k))}if(wo&&e.memoizedUpdaters.clear(),Ev(),a!==null){b=ie.T,T=Ut.p,Ut.p=Yn,ie.T=null;try{var R=e.onRecoverableError;for(r=0;r<a.length;r++){var O=a[r],q=zS(O.stack);_e(O.source,R,O.value,q)}}finally{ie.T=b,Ut.p=T}}(As&3)!==0&&Zd(),la(e),m=e.pendingLanes,(t&261930)!==0&&(m&42)!==0?(U1=!0,e===Cx?Z0++:(Z0=0,Cx=e)):Z0=0,d||cu(t,wr),So(0)}}function zS(e){return e={componentStack:e},Object.defineProperty(e,"digest",{get:function(){console.error('You are accessing "digest" from the errorInfo object passed to onRecoverableError. This property is no longer provided as part of errorInfo but can be accessed as a property of the Error instance itself.')}}),e}function Mv(e,t){(e.pooledCacheLanes&=t)===0&&(t=e.pooledCache,t!=null&&(e.pooledCache=null,md(t)))}function Zd(){return qi(),bo(),Ov(),Jd()}function Jd(){if(ui!==F1)return!1;var e=xf,t=Rx;Rx=0;var a=Jn(As),r=xi>a?xi:a;a=ie.T;var d=Ut.p;try{Ut.p=r,ie.T=null;var m=Mx;Mx=null,r=xf;var b=As;if(ui=Af,Ry=xf=null,As=0,(Dt&(yi|jl))!==wi)throw Error("Cannot flush passive effects while already rendering.");pl(b),zx=!0,W1=!1;var T=0;if(Rr=null,T=ti(),xs===TM)_g(wr,T,L7);else{var R=wr,O=T,q=xs===wx;!un||O<=R||(Bn?Bn.run(console.timeStamp.bind(console,q?"Waiting for Paint":"Waiting",R,O,xt,Tt,"secondary-light")):console.timeStamp(q?"Waiting for Paint":"Waiting",R,O,xt,Tt,"secondary-light"))}R=Dt,Dt|=jl;var k=r.current;Zu(),vp(k);var H=r.current;k=Ox,Zu(),bv(r,H,b,m,k),_p(r),Dt=R;var I=ti();if(H=T,k=Bn,Rr!==null?sS(H,I,Rr,!0,k):!un||I<=H||(k?k.run(console.timeStamp.bind(console,"Remaining Effects",H,I,xt,Tt,"secondary-dark")):console.timeStamp("Remaining Effects",H,I,xt,Tt,"secondary-dark")),cu(b,I),So(0,!1),W1?r===J0?zh++:(zh=0,J0=r):zh=0,W1=zx=!1,qn&&typeof qn.onPostCommitFiberRoot=="function")try{qn.onPostCommitFiberRoot(Tr,r)}catch(De){Do||(Do=!0,console.error("React instrumentation encountered an error: %o",De))}var Te=r.current.stateNode;return Te.effectDuration=0,Te.passiveEffectDuration=0,!0}finally{Ut.p=d,ie.T=a,Mv(e,t)}}function Yi(e,t,a){t=Ci(a,t),hS(t),t=tp(e.stateNode,t,2),e=oo(e,t,2),e!==null&&(fl(e,2),la(e))}function st(e,t,a){if(Oy=!1,e.tag===3)Yi(e,e,a);else{for(;t!==null;){if(t.tag===3){Yi(t,e,a);return}if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof r.componentDidCatch=="function"&&(Ef===null||!Ef.has(r))){e=Ci(a,e),hS(e),a=np(2),r=oo(t,a,2),r!==null&&(ip(a,r,t,e),fl(r,2),la(r));return}}t=t.return}console.error(`Internal React error: Attempted to capture a commit phase error inside a detached tree. This indicates a bug in React. Potential causes include deleting the same fiber more than once, committing an already-finished tree, or an inconsistent return pointer.
162
-
163
- Error message:
164
-
165
- %s`,a)}}function Ap(e,t,a){var r=e.pingCache;if(r===null){r=e.pingCache=new Z7;var d=new Set;r.set(t,d)}else d=r.get(t),d===void 0&&(d=new Set,r.set(t,d));d.has(a)||(xx=!0,d.add(a),r=aa.bind(null,e,t,a),wo&&Hc(e,a),t.then(r,r))}function aa(e,t,a){var r=e.pingCache;r!==null&&r.delete(t),e.pingedLanes|=e.suspendedLanes&a,e.warmLanes&=~a,(a&127)!==0?0>Tu&&(bh=Tu=ii(),E0=w1("Promise Resolved"),mf=R1):(a&4194048)!==0&&0>Vo&&(Or=Vo=ii(),x0=w1("Promise Resolved"),lx=R1),Av()&&ie.actQueue===null&&console.error(`A suspended resource finished loading inside a test, but the event was not wrapped in act(...).
166
-
167
- When testing, code that resolves suspended data should be wrapped into act(...):
168
-
169
- act(() => {
170
- /* finish loading suspended data */
171
- });
172
- /* assert on the output */
173
-
174
- This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act`),It===e&&(ht&a)===a&&(Sn===vf||Sn===k1&&(ht&62914560)===ht&&ti()-$1<bM?(Dt&yi)===wi&&vo(e,0):_x|=a,Ch===ht&&(Ch=0)),la(e)}function Cv(e,t){t===0&&(t=Pr()),e=Si(e,t),e!==null&&(fl(e,t),la(e))}function ds(e){var t=e.memoizedState,a=0;t!==null&&(a=t.retryLane),Cv(e,a)}function fr(e,t){var a=0;switch(e.tag){case 31:case 13:var r=e.stateNode,d=e.memoizedState;d!==null&&(a=d.retryLane);break;case 19:r=e.stateNode;break;case 22:r=e.stateNode._retryCache;break;default:throw Error("Pinged unknown suspense boundary type. This is probably a bug in React.")}r!==null&&r.delete(t),Cv(e,a)}function Rl(e,t,a){if((t.subtreeFlags&67117056)!==0)for(t=t.child;t!==null;){var r=e,d=t,m=d.type===Xi;m=a||m,d.tag!==22?d.flags&67108864?m&&_e(d,xp,r,d):Rl(r,d,m):d.memoizedState===null&&(m&&d.flags&8192?_e(d,xp,r,d):d.subtreeFlags&67108864&&_e(d,Rl,r,d,m)),t=t.sibling}}function xp(e,t){ze(!0);try{yp(t),Tv(t),vv(e,t.alternate,t,!1),Xd(e,t,0,null,!1,0)}finally{ze(!1)}}function _p(e){var t=!0;e.current.mode&(ca|bs)||(t=!1),Rl(e,e.current,t)}function tl(e){if((Dt&yi)===wi){var t=e.tag;if(t===3||t===1||t===0||t===11||t===14||t===15){if(t=be(e)||"ReactComponent",I1!==null){if(I1.has(t))return;I1.add(t)}else I1=new Set([t]);_e(e,function(){console.error("Can't perform a React state update on a component that hasn't mounted yet. This indicates that you have a side-effect in your render function that asynchronously tries to update the component. Move this work to useEffect instead.")})}}}function Hc(e,t){wo&&e.memoizedUpdaters.forEach(function(a){Hn(e,a,t)})}function Lc(e,t){var a=ie.actQueue;return a!==null?(a.push(t),K7):l0(e,t)}function $d(e){Av()&&ie.actQueue===null&&_e(e,function(){console.error(`An update to %s inside a test was not wrapped in act(...).
175
-
176
- When testing, code that causes React state updates should be wrapped into act(...):
177
-
178
- act(() => {
179
- /* fire events that update state */
180
- });
181
- /* assert on the output */
182
-
183
- This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act`,be(e))})}function la(e){e!==My&&e.next===null&&(My===null?eT=My=e:My=My.next=e),tT=!0,ie.actQueue!==null?Bx||(Bx=!0,BS()):Ux||(Ux=!0,BS())}function So(e,t){if(!Vx&&tT){Vx=!0;do for(var a=!1,r=eT;r!==null;){if(e!==0){var d=r.pendingLanes;if(d===0)var m=0;else{var b=r.suspendedLanes,T=r.pingedLanes;m=(1<<31-hi(42|e)+1)-1,m&=d&~(b&~T),m=m&201326741?m&201326741|1:m?m|2:0}m!==0&&(a=!0,Kd(r,m))}else m=ht,m=Ou(r,r===It?m:0,r.cancelPendingCommit!==null||r.timeoutHandle!==Hh),(m&3)===0||Mn(r,m)||(a=!0,Kd(r,m));r=r.next}while(a);Vx=!1}}function US(){F0=window.event,Dp()}function Dp(){tT=Bx=Ux=!1;var e=0;_f!==0&&Vv()&&(e=_f);for(var t=ti(),a=null,r=eT;r!==null;){var d=r.next,m=Nc(r,t);m===0?(r.next=null,a===null?eT=d:a.next=d,d===null&&(My=a)):(a=r,(e!==0||(m&3)!==0)&&(tT=!0)),r=d}ui!==Af&&ui!==F1||So(e),_f!==0&&(_f=0)}function Nc(e,t){for(var a=e.suspendedLanes,r=e.pingedLanes,d=e.expirationTimes,m=e.pendingLanes&-62914561;0<m;){var b=31-hi(m),T=1<<b,R=d[b];R===-1?((T&a)===0||(T&r)!==0)&&(d[b]=hm(T,t)):R<=t&&(e.expiredLanes|=T),m&=~T}if(t=It,a=ht,a=Ou(e,e===t?a:0,e.cancelPendingCommit!==null||e.timeoutHandle!==Hh),r=e.callbackNode,a===0||e===t&&(Jt===Oh||Jt===Mh)||e.cancelPendingCommit!==null)return r!==null&&wp(r),e.callbackNode=null,e.callbackPriority=0;if((a&3)===0||Mn(e,a)){if(t=a&-a,t!==e.callbackPriority||ie.actQueue!==null&&r!==Hx)wp(r);else return t;switch(Jn(a)){case Yn:case mi:a=Wp;break;case xi:a=Sr;break;case vu:a=Ip;break;default:a=Sr}return r=zv.bind(null,e),ie.actQueue!==null?(ie.actQueue.push(r),a=Hx):a=l0(a,r),e.callbackPriority=t,e.callbackNode=a,t}return r!==null&&wp(r),e.callbackPriority=2,e.callbackNode=null,2}function zv(e,t){if(U1=z1=!1,F0=window.event,ui!==Af&&ui!==F1)return e.callbackNode=null,e.callbackPriority=0,null;var a=e.callbackNode;if(xs===P1&&(xs=wx),Zd()&&e.callbackNode!==a)return null;var r=ht;return r=Ou(e,e===It?r:0,e.cancelPendingCommit!==null||e.timeoutHandle!==Hh),r===0?null:(OS(e,r,t),Nc(e,ti()),e.callbackNode!=null&&e.callbackNode===a?zv.bind(null,e):null)}function Kd(e,t){if(Zd())return null;z1=U1,U1=!1,OS(e,t,!0)}function wp(e){e!==Hx&&e!==null&&Kp(e)}function BS(){ie.actQueue!==null&&ie.actQueue.push(function(){return Dp(),null}),lN(function(){(Dt&(yi|jl))!==wi?l0(o0,US):Dp()})}function Uv(){if(_f===0){var e=Eh;e===0&&(e=nf,nf<<=1,(nf&261888)===0&&(nf=256)),_f=e}return _f}function Ot(e){return e==null||typeof e=="symbol"||typeof e=="boolean"?null:typeof e=="function"?e:(Rt(e,"action"),ad(""+e))}function Xt(e,t){var a=t.ownerDocument.createElement("input");return a.name=t.name,a.value=t.value,e.id&&a.setAttribute("form",e.id),t.parentNode.insertBefore(a,t),e=new FormData(e),a.parentNode.removeChild(a),e}function bt(e,t,a,r,d){if(t==="submit"&&a&&a.stateNode===d){var m=Ot((d[Qi]||null).action),b=r.submitter;b&&(t=(t=b[Qi]||null)?Ot(t.formAction):b.getAttribute("formAction"),t!==null&&(m=t,b=null));var T=new S1("action","action",null,r,d);e.push({event:T,listeners:[{instance:null,listener:function(){if(r.defaultPrevented){if(_f!==0){var R=b?Xt(d,b):new FormData(d),O={pending:!0,data:R,method:d.method,action:m};Object.freeze(O),us(a,O,null,R)}}else typeof m=="function"&&(T.preventDefault(),R=b?Xt(d,b):new FormData(d),O={pending:!0,data:R,method:d.method,action:m},Object.freeze(O),us(a,O,m,R))},currentTarget:d}]})}}function pt(e,t,a){e.currentTarget=a;try{t(e)}catch(r){$A(r)}e.currentTarget=null}function jt(e,t){t=(t&4)!==0;for(var a=0;a<e.length;a++){var r=e[a];e:{var d=void 0,m=r.event;if(r=r.listeners,t)for(var b=r.length-1;0<=b;b--){var T=r[b],R=T.instance,O=T.currentTarget;if(T=T.listener,R!==d&&m.isPropagationStopped())break e;R!==null?_e(R,pt,m,T,O):pt(m,T,O),d=R}else for(b=0;b<r.length;b++){if(T=r[b],R=T.instance,O=T.currentTarget,T=T.listener,R!==d&&m.isPropagationStopped())break e;R!==null?_e(R,pt,m,T,O):pt(m,T,O),d=R}}}}function Ke(e,t){Lx.has(e)||console.error('Did not expect a listenToNonDelegatedEvent() call for "%s". This is a bug in React. Please file an issue.',e);var a=t[Er];a===void 0&&(a=t[Er]=new Set);var r=e+"__bubble";a.has(r)||(Rp(t,e,2,!1),a.add(r))}function To(e,t,a){Lx.has(e)&&!t&&console.error('Did not expect a listenToNativeEvent() call for "%s" in the bubble phase. This is a bug in React. Please file an issue.',e);var r=0;t&&(r|=4),Rp(a,e,r,t)}function fu(e){if(!e[nT]){e[nT]=!0,p1.forEach(function(a){a!=="selectionchange"&&(Lx.has(a)||To(a,!1,e),To(a,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[nT]||(t[nT]=!0,To("selectionchange",!1,t))}}function Rp(e,t,a,r){switch(Gp(t)){case Yn:var d=$v;break;case mi:d=di;break;default:d=Kv}a=d.bind(null,t,a,e),d=void 0,!NA||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(d=!0),r?d!==void 0?e.addEventListener(t,a,{capture:!0,passive:d}):e.addEventListener(t,a,!0):d!==void 0?e.addEventListener(t,a,{passive:d}):e.addEventListener(t,a,!1)}function Ol(e,t,a,r,d){var m=r;if((t&1)===0&&(t&2)===0&&r!==null)e:for(;;){if(r===null)return;var b=r.tag;if(b===3||b===4){var T=r.stateNode.containerInfo;if(T===d)break;if(b===4)for(b=r.return;b!==null;){var R=b.tag;if((R===3||R===4)&&b.stateNode.containerInfo===d)return;b=b.return}for(;T!==null;){if(b=ge(T),b===null)return;if(R=b.tag,R===5||R===6||R===26||R===27){r=m=b;continue e}T=T.parentNode}}r=r.return}_m(function(){var O=m,q=hl(a),k=[];e:{var H=cO.get(e);if(H!==void 0){var I=S1,Te=e;switch(e){case"keypress":if(ld(a)===0)break e;case"keydown":case"keyup":I=c7;break;case"focusin":Te="focus",I=GA;break;case"focusout":Te="blur",I=GA;break;case"beforeblur":case"afterblur":I=GA;break;case"click":if(a.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":I=PR;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":I=WL;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":I=h7;break;case oO:case sO:case uO:I=t7;break;case rO:I=p7;break;case"scroll":case"scrollend":I=PL;break;case"wheel":I=g7;break;case"copy":case"cut":case"paste":I=i7;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":I=WR;break;case"toggle":case"beforetoggle":I=b7}var De=(t&4)!==0,nn=!De&&(e==="scroll"||e==="scrollend"),Et=De?H!==null?H+"Capture":null:H;De=[];for(var B=O,L;B!==null;){var j=B;if(L=j.stateNode,j=j.tag,j!==5&&j!==26&&j!==27||L===null||Et===null||(j=eo(B,Et),j!=null&&De.push(Ft(B,j,L))),nn)break;B=B.return}0<De.length&&(H=new I(H,Te,null,a,q),k.push({event:H,listeners:De}))}}if((t&7)===0){e:{if(H=e==="mouseover"||e==="pointerover",I=e==="mouseout"||e==="pointerout",H&&a!==f0&&(Te=a.relatedTarget||a.fromElement)&&(ge(Te)||Te[vs]))break e;if((I||H)&&(H=q.window===q?q:(H=q.ownerDocument)?H.defaultView||H.parentWindow:window,I?(Te=a.relatedTarget||a.toElement,I=O,Te=Te?ge(Te):null,Te!==null&&(nn=$(Te),De=Te.tag,Te!==nn||De!==5&&De!==27&&De!==6)&&(Te=null)):(I=null,Te=O),I!==Te)){if(De=PR,j="onMouseLeave",Et="onMouseEnter",B="mouse",(e==="pointerout"||e==="pointerover")&&(De=WR,j="onPointerLeave",Et="onPointerEnter",B="pointer"),nn=I==null?H:Ue(I),L=Te==null?H:Ue(Te),H=new De(j,B+"leave",I,a,q),H.target=nn,H.relatedTarget=L,j=null,ge(q)===O&&(De=new De(Et,B+"enter",Te,a,q),De.target=L,De.relatedTarget=nn,j=De),nn=j,I&&Te)t:{for(De=dr,Et=I,B=Te,L=0,j=Et;j;j=De(j))L++;j=0;for(var ue=B;ue;ue=De(ue))j++;for(;0<L-j;)Et=De(Et),L--;for(;0<j-L;)B=De(B),j--;for(;L--;){if(Et===B||B!==null&&Et===B.alternate){De=Et;break t}Et=De(Et),B=De(B)}De=null}else De=null;I!==null&&Op(k,H,I,De,!1),Te!==null&&nn!==null&&Op(k,nn,Te,De,!0)}}e:{if(H=O?Ue(O):window,I=H.nodeName&&H.nodeName.toLowerCase(),I==="select"||I==="input"&&H.type==="file")var Ae=Ys;else if(vg(H))if(aO)Ae=rd;else{Ae=bg;var et=xA}else I=H.nodeName,!I||I.toLowerCase()!=="input"||H.type!=="checkbox"&&H.type!=="radio"?O&&Il(O.elementType)&&(Ae=Ys):Ae=Sg;if(Ae&&(Ae=Ae(e,O))){sd(k,Ae,a,q);break e}et&&et(e,H,O),e==="focusout"&&O&&H.type==="number"&&O.memoizedProps.value!=null&&rg(H,"number",H.value)}switch(et=O?Ue(O):window,e){case"focusin":(vg(et)||et.contentEditable==="true")&&(sy=et,XA=O,v0=null);break;case"focusout":v0=XA=sy=null;break;case"mousedown":QA=!0;break;case"contextmenu":case"mouseup":case"dragend":QA=!1,nS(k,a,q);break;case"selectionchange":if(A7)break;case"keydown":case"keyup":nS(k,a,q)}var Ye;if(kA)e:{switch(e){case"compositionstart":var Ne="onCompositionStart";break e;case"compositionend":Ne="onCompositionEnd";break e;case"compositionupdate":Ne="onCompositionUpdate";break e}Ne=void 0}else oy?oc(e,a)&&(Ne="onCompositionEnd"):e==="keydown"&&a.keyCode===IR&&(Ne="onCompositionStart");Ne&&(eO&&a.locale!=="ko"&&(oy||Ne!=="onCompositionStart"?Ne==="onCompositionEnd"&&oy&&(Ye=Hu()):(uf=q,jA="value"in uf?uf.value:uf.textContent,oy=!0)),et=Ml(O,Ne),0<et.length&&(Ne=new FR(Ne,e,null,a,q),k.push({event:Ne,listeners:et}),Ye?Ne.data=Ye:(Ye=Wo(a),Ye!==null&&(Ne.data=Ye)))),(Ye=T7?gg(e,a):Dm(e,a))&&(Ne=Ml(O,"onBeforeInput"),0<Ne.length&&(et=new l7("onBeforeInput","beforeinput",null,a,q),k.push({event:et,listeners:Ne}),et.data=Ye)),bt(k,e,O,a,q)}jt(k,t)})}function Ft(e,t,a){return{instance:e,listener:t,currentTarget:a}}function Ml(e,t){for(var a=t+"Capture",r=[];e!==null;){var d=e,m=d.stateNode;if(d=d.tag,d!==5&&d!==26&&d!==27||m===null||(d=eo(e,a),d!=null&&r.unshift(Ft(e,d,m)),d=eo(e,t),d!=null&&r.push(Ft(e,d,m))),e.tag===3)return r;e=e.return}return[]}function dr(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function Op(e,t,a,r,d){for(var m=t._reactName,b=[];a!==null&&a!==r;){var T=a,R=T.alternate,O=T.stateNode;if(T=T.tag,R!==null&&R===r)break;T!==5&&T!==26&&T!==27||O===null||(R=O,d?(O=eo(a,m),O!=null&&b.unshift(Ft(a,O,R))):d||(O=eo(a,m),O!=null&&b.push(Ft(a,O,R)))),a=a.return}b.length!==0&&e.push({event:t,listeners:b})}function Gi(e,t){Fb(e,t),e!=="input"&&e!=="textarea"&&e!=="select"||t==null||t.value!==null||$R||($R=!0,e==="select"&&t.multiple?console.error("`value` prop on `%s` should not be null. Consider using an empty array when `multiple` is set to `true` to clear the component or `undefined` for uncontrolled components.",e):console.error("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",e));var a={registrationNameDependencies:Ro,possibleRegistrationNames:of};Il(e)||typeof t.is=="string"||AA(e,t,a),t.contentEditable&&!t.suppressContentEditableWarning&&t.children!=null&&console.error("A component is `contentEditable` and contains `children` managed by React. It is now your responsibility to guarantee that none of those nodes are unexpectedly modified or duplicated. This is probably not intentional.")}function hn(e,t,a,r){t!==a&&(a=Cl(a),Cl(t)!==a&&(r[e]=t))}function Pd(e,t,a){t.forEach(function(r){a[hs(r)]=r==="style"?du(e):e.getAttribute(r)})}function mn(e,t){t===!1?console.error("Expected `%s` listener to be a function, instead got `false`.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.",e,e,e):console.error("Expected `%s` listener to be a function, instead got a value of `%s` type.",e,typeof t)}function Mp(e,t){return e=e.namespaceURI===it||e.namespaceURI===ut?e.ownerDocument.createElementNS(e.namespaceURI,e.tagName):e.ownerDocument.createElement(e.tagName),e.innerHTML=t,e.innerHTML}function Cl(e){return ya(e)&&(console.error("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before using it here.",Bs(e)),$l(e)),(typeof e=="string"?e:""+e).replace(P7,`
184
- `).replace(F7,"")}function Bv(e,t){return t=Cl(t),Cl(e)===t}function zt(e,t,a,r,d,m){switch(a){case"children":typeof r=="string"?(id(r,t,!1),t==="body"||t==="textarea"&&r===""||Vu(e,r)):(typeof r=="number"||typeof r=="bigint")&&(id(""+r,t,!1),t!=="body"&&Vu(e,""+r));break;case"className":ed(e,"class",r);break;case"tabIndex":ed(e,"tabindex",r);break;case"dir":case"role":case"viewBox":case"width":case"height":ed(e,a,r);break;case"style":mg(e,r,m);break;case"data":if(t!=="object"){ed(e,"data",r);break}case"src":case"href":if(r===""&&(t!=="a"||a!=="href")){console.error(a==="src"?'An empty string ("") was passed to the %s attribute. This may cause the browser to download the whole page again over the network. To fix this, either do not render the element at all or pass null to %s instead of an empty string.':'An empty string ("") was passed to the %s attribute. To fix this, either do not render the element at all or pass null to %s instead of an empty string.',a,a),e.removeAttribute(a);break}if(r==null||typeof r=="function"||typeof r=="symbol"||typeof r=="boolean"){e.removeAttribute(a);break}Rt(r,a),r=ad(""+r),e.setAttribute(a,r);break;case"action":case"formAction":if(r!=null&&(t==="form"?a==="formAction"?console.error("You can only pass the formAction prop to <input> or <button>. Use the action prop on <form>."):typeof r=="function"&&(d.encType==null&&d.method==null||lT||(lT=!0,console.error("Cannot specify a encType or method for a form that specifies a function as the action. React provides those automatically. They will get overridden.")),d.target==null||aT||(aT=!0,console.error("Cannot specify a target for a form that specifies a function as the action. The function will always be executed in the same window."))):t==="input"||t==="button"?a==="action"?console.error("You can only pass the action prop to <form>. Use the formAction prop on <input> or <button>."):t!=="input"||d.type==="submit"||d.type==="image"||iT?t!=="button"||d.type==null||d.type==="submit"||iT?typeof r=="function"&&(d.name==null||UM||(UM=!0,console.error('Cannot specify a "name" prop for a button that specifies a function as a formAction. React needs it to encode which action should be invoked. It will get overridden.')),d.formEncType==null&&d.formMethod==null||lT||(lT=!0,console.error("Cannot specify a formEncType or formMethod for a button that specifies a function as a formAction. React provides those automatically. They will get overridden.")),d.formTarget==null||aT||(aT=!0,console.error("Cannot specify a formTarget for a button that specifies a function as a formAction. The function will always be executed in the same window."))):(iT=!0,console.error('A button can only specify a formAction along with type="submit" or no type.')):(iT=!0,console.error('An input can only specify a formAction along with type="submit" or type="image".')):console.error(a==="action"?"You can only pass the action prop to <form>.":"You can only pass the formAction prop to <input> or <button>.")),typeof r=="function"){e.setAttribute(a,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof m=="function"&&(a==="formAction"?(t!=="input"&&zt(e,t,"name",d.name,d,null),zt(e,t,"formEncType",d.formEncType,d,null),zt(e,t,"formMethod",d.formMethod,d,null),zt(e,t,"formTarget",d.formTarget,d,null)):(zt(e,t,"encType",d.encType,d,null),zt(e,t,"method",d.method,d,null),zt(e,t,"target",d.target,d,null)));if(r==null||typeof r=="symbol"||typeof r=="boolean"){e.removeAttribute(a);break}Rt(r,a),r=ad(""+r),e.setAttribute(a,r);break;case"onClick":r!=null&&(typeof r!="function"&&mn(a,r),e.onclick=Qa);break;case"onScroll":r!=null&&(typeof r!="function"&&mn(a,r),Ke("scroll",e));break;case"onScrollEnd":r!=null&&(typeof r!="function"&&mn(a,r),Ke("scrollend",e));break;case"dangerouslySetInnerHTML":if(r!=null){if(typeof r!="object"||!("__html"in r))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information.");if(a=r.__html,a!=null){if(d.children!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");e.innerHTML=a}}break;case"multiple":e.multiple=r&&typeof r!="function"&&typeof r!="symbol";break;case"muted":e.muted=r&&typeof r!="function"&&typeof r!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(r==null||typeof r=="function"||typeof r=="boolean"||typeof r=="symbol"){e.removeAttribute("xlink:href");break}Rt(r,a),a=ad(""+r),e.setAttributeNS(Uh,"xlink:href",a);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":r!=null&&typeof r!="function"&&typeof r!="symbol"?(Rt(r,a),e.setAttribute(a,""+r)):e.removeAttribute(a);break;case"inert":r!==""||oT[a]||(oT[a]=!0,console.error("Received an empty string for a boolean attribute `%s`. This will treat the attribute as if it were false. Either pass `false` to silence this warning, or pass `true` if you used an empty string in earlier versions of React to indicate this attribute is true.",a));case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":r&&typeof r!="function"&&typeof r!="symbol"?e.setAttribute(a,""):e.removeAttribute(a);break;case"capture":case"download":r===!0?e.setAttribute(a,""):r!==!1&&r!=null&&typeof r!="function"&&typeof r!="symbol"?(Rt(r,a),e.setAttribute(a,r)):e.removeAttribute(a);break;case"cols":case"rows":case"size":case"span":r!=null&&typeof r!="function"&&typeof r!="symbol"&&!isNaN(r)&&1<=r?(Rt(r,a),e.setAttribute(a,r)):e.removeAttribute(a);break;case"rowSpan":case"start":r==null||typeof r=="function"||typeof r=="symbol"||isNaN(r)?e.removeAttribute(a):(Rt(r,a),e.setAttribute(a,r));break;case"popover":Ke("beforetoggle",e),Ke("toggle",e),Ir(e,"popover",r);break;case"xlinkActuate":Pl(e,Uh,"xlink:actuate",r);break;case"xlinkArcrole":Pl(e,Uh,"xlink:arcrole",r);break;case"xlinkRole":Pl(e,Uh,"xlink:role",r);break;case"xlinkShow":Pl(e,Uh,"xlink:show",r);break;case"xlinkTitle":Pl(e,Uh,"xlink:title",r);break;case"xlinkType":Pl(e,Uh,"xlink:type",r);break;case"xmlBase":Pl(e,Nx,"xml:base",r);break;case"xmlLang":Pl(e,Nx,"xml:lang",r);break;case"xmlSpace":Pl(e,Nx,"xml:space",r);break;case"is":m!=null&&console.error('Cannot update the "is" prop after it has been initialized.'),Ir(e,"is",r);break;case"innerText":case"textContent":break;case"popoverTarget":BM||r==null||typeof r!="object"||(BM=!0,console.error("The `popoverTarget` prop expects the ID of an Element as a string. Received %s instead.",r));default:!(2<a.length)||a[0]!=="o"&&a[0]!=="O"||a[1]!=="n"&&a[1]!=="N"?(a=Kb(a),Ir(e,a,r)):Ro.hasOwnProperty(a)&&r!=null&&typeof r!="function"&&mn(a,r)}}function jc(e,t,a,r,d,m){switch(a){case"style":mg(e,r,m);break;case"dangerouslySetInnerHTML":if(r!=null){if(typeof r!="object"||!("__html"in r))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information.");if(a=r.__html,a!=null){if(d.children!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");e.innerHTML=a}}break;case"children":typeof r=="string"?Vu(e,r):(typeof r=="number"||typeof r=="bigint")&&Vu(e,""+r);break;case"onScroll":r!=null&&(typeof r!="function"&&mn(a,r),Ke("scroll",e));break;case"onScrollEnd":r!=null&&(typeof r!="function"&&mn(a,r),Ke("scrollend",e));break;case"onClick":r!=null&&(typeof r!="function"&&mn(a,r),e.onclick=Qa);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(Ro.hasOwnProperty(a))r!=null&&typeof r!="function"&&mn(a,r);else e:{if(a[0]==="o"&&a[1]==="n"&&(d=a.endsWith("Capture"),t=a.slice(2,d?a.length-7:void 0),m=e[Qi]||null,m=m!=null?m[a]:null,typeof m=="function"&&e.removeEventListener(t,m,d),typeof r=="function")){typeof m!="function"&&m!==null&&(a in e?e[a]=null:e.hasAttribute(a)&&e.removeAttribute(a)),e.addEventListener(t,r,d);break e}a in e?e[a]=r:r===!0?e.setAttribute(a,""):Ir(e,a,r)}}}function on(e,t,a){switch(Gi(t,a),t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":Ke("error",e),Ke("load",e);var r=!1,d=!1,m;for(m in a)if(a.hasOwnProperty(m)){var b=a[m];if(b!=null)switch(m){case"src":r=!0;break;case"srcSet":d=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:zt(e,t,m,b,a,null)}}d&&zt(e,t,"srcSet",a.srcSet,a,null),r&&zt(e,t,"src",a.src,a,null);return;case"input":bi("input",a),Ke("invalid",e);var T=m=b=d=null,R=null,O=null;for(r in a)if(a.hasOwnProperty(r)){var q=a[r];if(q!=null)switch(r){case"name":d=q;break;case"type":b=q;break;case"checked":R=q;break;case"defaultChecked":O=q;break;case"value":m=q;break;case"defaultValue":T=q;break;case"children":case"dangerouslySetInnerHTML":if(q!=null)throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:zt(e,t,r,q,a,null)}}Mi(e,a),gm(e,m,T,R,O,b,d,!1);return;case"select":bi("select",a),Ke("invalid",e),r=b=m=null;for(d in a)if(a.hasOwnProperty(d)&&(T=a[d],T!=null))switch(d){case"value":m=T;break;case"defaultValue":b=T;break;case"multiple":r=T;default:zt(e,t,d,T,a,null)}vm(e,a),t=m,a=b,e.multiple=!!r,t!=null?Fl(e,!!r,t,!1):a!=null&&Fl(e,!!r,a,!0);return;case"textarea":bi("textarea",a),Ke("invalid",e),m=d=r=null;for(b in a)if(a.hasOwnProperty(b)&&(T=a[b],T!=null))switch(b){case"value":r=T;break;case"defaultValue":d=T;break;case"children":m=T;break;case"dangerouslySetInnerHTML":if(T!=null)throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");break;default:zt(e,t,b,T,a,null)}Cu(e,a),ec(e,r,d,m);return;case"option":$b(e,a);for(R in a)if(a.hasOwnProperty(R)&&(r=a[R],r!=null))switch(R){case"selected":e.selected=r&&typeof r!="function"&&typeof r!="symbol";break;default:zt(e,t,R,r,a,null)}return;case"dialog":Ke("beforetoggle",e),Ke("toggle",e),Ke("cancel",e),Ke("close",e);break;case"iframe":case"object":Ke("load",e);break;case"video":case"audio":for(r=0;r<$0.length;r++)Ke($0[r],e);break;case"image":Ke("error",e),Ke("load",e);break;case"details":Ke("toggle",e);break;case"embed":case"source":case"link":Ke("error",e),Ke("load",e);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(O in a)if(a.hasOwnProperty(O)&&(r=a[O],r!=null))switch(O){case"children":case"dangerouslySetInnerHTML":throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:zt(e,t,O,r,a,null)}return;default:if(Il(t)){for(q in a)a.hasOwnProperty(q)&&(r=a[q],r!==void 0&&jc(e,t,q,r,a,void 0));return}}for(T in a)a.hasOwnProperty(T)&&(r=a[T],r!=null&&zt(e,t,T,r,a,null))}function jn(e,t,a,r){switch(Gi(t,r),t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var d=null,m=null,b=null,T=null,R=null,O=null,q=null;for(I in a){var k=a[I];if(a.hasOwnProperty(I)&&k!=null)switch(I){case"checked":break;case"value":break;case"defaultValue":R=k;default:r.hasOwnProperty(I)||zt(e,t,I,null,r,k)}}for(var H in r){var I=r[H];if(k=a[H],r.hasOwnProperty(H)&&(I!=null||k!=null))switch(H){case"type":m=I;break;case"name":d=I;break;case"checked":O=I;break;case"defaultChecked":q=I;break;case"value":b=I;break;case"defaultValue":T=I;break;case"children":case"dangerouslySetInnerHTML":if(I!=null)throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:I!==k&&zt(e,t,H,I,r,k)}}t=a.type==="checkbox"||a.type==="radio"?a.checked!=null:a.value!=null,r=r.type==="checkbox"||r.type==="radio"?r.checked!=null:r.value!=null,t||!r||zM||(console.error("A component is changing an uncontrolled input to be controlled. This is likely caused by the value changing from undefined to a defined value, which should not happen. Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://react.dev/link/controlled-components"),zM=!0),!t||r||CM||(console.error("A component is changing a controlled input to be uncontrolled. This is likely caused by the value changing from a defined to undefined, which should not happen. Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://react.dev/link/controlled-components"),CM=!0),Ns(e,b,T,R,O,q,m,d);return;case"select":I=b=T=H=null;for(m in a)if(R=a[m],a.hasOwnProperty(m)&&R!=null)switch(m){case"value":break;case"multiple":I=R;default:r.hasOwnProperty(m)||zt(e,t,m,null,r,R)}for(d in r)if(m=r[d],R=a[d],r.hasOwnProperty(d)&&(m!=null||R!=null))switch(d){case"value":H=m;break;case"defaultValue":T=m;break;case"multiple":b=m;default:m!==R&&zt(e,t,d,m,r,R)}r=T,t=b,a=I,H!=null?Fl(e,!!t,H,!1):!!a!=!!t&&(r!=null?Fl(e,!!t,r,!0):Fl(e,!!t,t?[]:"",!1));return;case"textarea":I=H=null;for(T in a)if(d=a[T],a.hasOwnProperty(T)&&d!=null&&!r.hasOwnProperty(T))switch(T){case"value":break;case"children":break;default:zt(e,t,T,null,r,d)}for(b in r)if(d=r[b],m=a[b],r.hasOwnProperty(b)&&(d!=null||m!=null))switch(b){case"value":H=d;break;case"defaultValue":I=d;break;case"children":break;case"dangerouslySetInnerHTML":if(d!=null)throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");break;default:d!==m&&zt(e,t,b,d,r,m)}zu(e,H,I);return;case"option":for(var Te in a)if(H=a[Te],a.hasOwnProperty(Te)&&H!=null&&!r.hasOwnProperty(Te))switch(Te){case"selected":e.selected=!1;break;default:zt(e,t,Te,null,r,H)}for(R in r)if(H=r[R],I=a[R],r.hasOwnProperty(R)&&H!==I&&(H!=null||I!=null))switch(R){case"selected":e.selected=H&&typeof H!="function"&&typeof H!="symbol";break;default:zt(e,t,R,H,r,I)}return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var De in a)H=a[De],a.hasOwnProperty(De)&&H!=null&&!r.hasOwnProperty(De)&&zt(e,t,De,null,r,H);for(O in r)if(H=r[O],I=a[O],r.hasOwnProperty(O)&&H!==I&&(H!=null||I!=null))switch(O){case"children":case"dangerouslySetInnerHTML":if(H!=null)throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:zt(e,t,O,H,r,I)}return;default:if(Il(t)){for(var nn in a)H=a[nn],a.hasOwnProperty(nn)&&H!==void 0&&!r.hasOwnProperty(nn)&&jc(e,t,nn,void 0,r,H);for(q in r)H=r[q],I=a[q],!r.hasOwnProperty(q)||H===I||H===void 0&&I===void 0||jc(e,t,q,H,r,I);return}}for(var Et in a)H=a[Et],a.hasOwnProperty(Et)&&H!=null&&!r.hasOwnProperty(Et)&&zt(e,t,Et,null,r,H);for(k in r)H=r[k],I=a[k],!r.hasOwnProperty(k)||H===I||H==null&&I==null||zt(e,t,k,H,r,I)}function hs(e){switch(e){case"class":return"className";case"for":return"htmlFor";default:return e}}function du(e){var t={};e=e.style;for(var a=0;a<e.length;a++){var r=e[a];t[r]=e.getPropertyValue(r)}return t}function Eo(e,t,a){if(t!=null&&typeof t!="object")console.error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.");else{var r,d=r="",m;for(m in t)if(t.hasOwnProperty(m)){var b=t[m];b!=null&&typeof b!="boolean"&&b!==""&&(m.indexOf("--")===0?(vi(b,m),r+=d+m+":"+(""+b).trim()):typeof b!="number"||b===0||He.has(m)?(vi(b,m),r+=d+m.replace(ae,"-$1").toLowerCase().replace(Me,"-ms-")+":"+(""+b).trim()):r+=d+m.replace(ae,"-$1").toLowerCase().replace(Me,"-ms-")+":"+b+"px",d=";")}r=r||null,t=e.getAttribute("style"),t!==r&&(r=Cl(r),Cl(t)!==r&&(a.style=du(e)))}}function oa(e,t,a,r,d,m){if(d.delete(a),e=e.getAttribute(a),e===null)switch(typeof r){case"undefined":case"function":case"symbol":case"boolean":return}else if(r!=null)switch(typeof r){case"function":case"symbol":case"boolean":break;default:if(Rt(r,t),e===""+r)return}hn(t,e,r,m)}function Cp(e,t,a,r,d,m){if(d.delete(a),e=e.getAttribute(a),e===null){switch(typeof r){case"function":case"symbol":return}if(!r)return}else switch(typeof r){case"function":case"symbol":break;default:if(r)return}hn(t,e,r,m)}function zp(e,t,a,r,d,m){if(d.delete(a),e=e.getAttribute(a),e===null)switch(typeof r){case"undefined":case"function":case"symbol":return}else if(r!=null)switch(typeof r){case"function":case"symbol":break;default:if(Rt(r,a),e===""+r)return}hn(t,e,r,m)}function qc(e,t,a,r,d,m){if(d.delete(a),e=e.getAttribute(a),e===null)switch(typeof r){case"undefined":case"function":case"symbol":case"boolean":return;default:if(isNaN(r))return}else if(r!=null)switch(typeof r){case"function":case"symbol":case"boolean":break;default:if(!isNaN(r)&&(Rt(r,t),e===""+r))return}hn(t,e,r,m)}function Fd(e,t,a,r,d,m){if(d.delete(a),e=e.getAttribute(a),e===null)switch(typeof r){case"undefined":case"function":case"symbol":case"boolean":return}else if(r!=null)switch(typeof r){case"function":case"symbol":case"boolean":break;default:if(Rt(r,t),a=ad(""+r),e===a)return}hn(t,e,r,m)}function sa(e,t,a,r){for(var d={},m=new Set,b=e.attributes,T=0;T<b.length;T++)switch(b[T].name.toLowerCase()){case"value":break;case"checked":break;case"selected":break;default:m.add(b[T].name)}if(Il(t)){for(var R in a)if(a.hasOwnProperty(R)){var O=a[R];if(O!=null){if(Ro.hasOwnProperty(R))typeof O!="function"&&mn(R,O);else if(a.suppressHydrationWarning!==!0)switch(R){case"children":typeof O!="string"&&typeof O!="number"||hn("children",e.textContent,O,d);continue;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":continue;case"dangerouslySetInnerHTML":b=e.innerHTML,O=O?O.__html:void 0,O!=null&&(O=Mp(e,O),hn(R,b,O,d));continue;case"style":m.delete(R),Eo(e,O,d);continue;case"offsetParent":case"offsetTop":case"offsetLeft":case"offsetWidth":case"offsetHeight":case"isContentEditable":case"outerText":case"outerHTML":m.delete(R.toLowerCase()),console.error("Assignment to read-only property will result in a no-op: `%s`",R);continue;case"className":m.delete("class"),b=Ls(e,"class",O),hn("className",b,O,d);continue;default:r.context===Hr&&t!=="svg"&&t!=="math"?m.delete(R.toLowerCase()):m.delete(R),b=Ls(e,R,O),hn(R,b,O,d)}}}}else for(O in a)if(a.hasOwnProperty(O)&&(R=a[O],R!=null)){if(Ro.hasOwnProperty(O))typeof R!="function"&&mn(O,R);else if(a.suppressHydrationWarning!==!0)switch(O){case"children":typeof R!="string"&&typeof R!="number"||hn("children",e.textContent,R,d);continue;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"value":case"checked":case"selected":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":continue;case"dangerouslySetInnerHTML":b=e.innerHTML,R=R?R.__html:void 0,R!=null&&(R=Mp(e,R),b!==R&&(d[O]={__html:b}));continue;case"className":oa(e,O,"class",R,m,d);continue;case"tabIndex":oa(e,O,"tabindex",R,m,d);continue;case"style":m.delete(O),Eo(e,R,d);continue;case"multiple":m.delete(O),hn(O,e.multiple,R,d);continue;case"muted":m.delete(O),hn(O,e.muted,R,d);continue;case"autoFocus":m.delete("autofocus"),hn(O,e.autofocus,R,d);continue;case"data":if(t!=="object"){m.delete(O),b=e.getAttribute("data"),hn(O,b,R,d);continue}case"src":case"href":if(!(R!==""||t==="a"&&O==="href"||t==="object"&&O==="data")){console.error(O==="src"?'An empty string ("") was passed to the %s attribute. This may cause the browser to download the whole page again over the network. To fix this, either do not render the element at all or pass null to %s instead of an empty string.':'An empty string ("") was passed to the %s attribute. To fix this, either do not render the element at all or pass null to %s instead of an empty string.',O,O);continue}Fd(e,O,O,R,m,d);continue;case"action":case"formAction":if(b=e.getAttribute(O),typeof R=="function"){m.delete(O.toLowerCase()),O==="formAction"?(m.delete("name"),m.delete("formenctype"),m.delete("formmethod"),m.delete("formtarget")):(m.delete("enctype"),m.delete("method"),m.delete("target"));continue}else if(b===W7){m.delete(O.toLowerCase()),hn(O,"function",R,d);continue}Fd(e,O,O.toLowerCase(),R,m,d);continue;case"xlinkHref":Fd(e,O,"xlink:href",R,m,d);continue;case"contentEditable":zp(e,O,"contenteditable",R,m,d);continue;case"spellCheck":zp(e,O,"spellcheck",R,m,d);continue;case"draggable":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":zp(e,O,O,R,m,d);continue;case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":Cp(e,O,O.toLowerCase(),R,m,d);continue;case"capture":case"download":e:{T=e;var q=b=O,k=d;if(m.delete(q),T=T.getAttribute(q),T===null)switch(typeof R){case"undefined":case"function":case"symbol":break e;default:if(R===!1)break e}else if(R!=null)switch(typeof R){case"function":case"symbol":break;case"boolean":if(R===!0&&T==="")break e;break;default:if(Rt(R,b),T===""+R)break e}hn(b,T,R,k)}continue;case"cols":case"rows":case"size":case"span":e:{if(T=e,q=b=O,k=d,m.delete(q),T=T.getAttribute(q),T===null)switch(typeof R){case"undefined":case"function":case"symbol":case"boolean":break e;default:if(isNaN(R)||1>R)break e}else if(R!=null)switch(typeof R){case"function":case"symbol":case"boolean":break;default:if(!(isNaN(R)||1>R)&&(Rt(R,b),T===""+R))break e}hn(b,T,R,k)}continue;case"rowSpan":qc(e,O,"rowspan",R,m,d);continue;case"start":qc(e,O,O,R,m,d);continue;case"xHeight":oa(e,O,"x-height",R,m,d);continue;case"xlinkActuate":oa(e,O,"xlink:actuate",R,m,d);continue;case"xlinkArcrole":oa(e,O,"xlink:arcrole",R,m,d);continue;case"xlinkRole":oa(e,O,"xlink:role",R,m,d);continue;case"xlinkShow":oa(e,O,"xlink:show",R,m,d);continue;case"xlinkTitle":oa(e,O,"xlink:title",R,m,d);continue;case"xlinkType":oa(e,O,"xlink:type",R,m,d);continue;case"xmlBase":oa(e,O,"xml:base",R,m,d);continue;case"xmlLang":oa(e,O,"xml:lang",R,m,d);continue;case"xmlSpace":oa(e,O,"xml:space",R,m,d);continue;case"inert":R!==""||oT[O]||(oT[O]=!0,console.error("Received an empty string for a boolean attribute `%s`. This will treat the attribute as if it were false. Either pass `false` to silence this warning, or pass `true` if you used an empty string in earlier versions of React to indicate this attribute is true.",O)),Cp(e,O,O,R,m,d);continue;default:if(!(2<O.length)||O[0]!=="o"&&O[0]!=="O"||O[1]!=="n"&&O[1]!=="N"){T=Kb(O),b=!1,r.context===Hr&&t!=="svg"&&t!=="math"?m.delete(T.toLowerCase()):(q=O.toLowerCase(),q=Vl.hasOwnProperty(q)&&Vl[q]||null,q!==null&&q!==O&&(b=!0,m.delete(q)),m.delete(T));e:if(q=e,k=T,T=R,Xa(k))if(q.hasAttribute(k))q=q.getAttribute(k),Rt(T,k),T=q===""+T?T:q;else{switch(typeof T){case"function":case"symbol":break e;case"boolean":if(q=k.toLowerCase().slice(0,5),q!=="data-"&&q!=="aria-")break e}T=T===void 0?void 0:null}else T=void 0;b||hn(O,T,R,d)}}}return 0<m.size&&a.suppressHydrationWarning!==!0&&Pd(e,m,d),Object.keys(d).length===0?null:d}function VS(e,t){switch(e.length){case 0:return"";case 1:return e[0];case 2:return e[0]+" "+t+" "+e[1];default:return e.slice(0,-1).join(", ")+", "+t+" "+e[e.length-1]}}function ki(e){switch(e){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function HS(){if(typeof performance.getEntriesByType=="function"){for(var e=0,t=0,a=performance.getEntriesByType("resource"),r=0;r<a.length;r++){var d=a[r],m=d.transferSize,b=d.initiatorType,T=d.duration;if(m&&T&&ki(b)){for(b=0,T=d.responseEnd,r+=1;r<a.length;r++){var R=a[r],O=R.startTime;if(O>T)break;var q=R.transferSize,k=R.initiatorType;q&&ki(k)&&(R=R.responseEnd,b+=q*(R<T?1:(T-O)/(R-O)))}if(--r,t+=8*(m+b)/(d.duration/1e3),e++,10<e)break}}if(0<e)return t/e/1e6}return navigator.connection&&(e=navigator.connection.downlink,typeof e=="number")?e:5}function Wd(e){return e.nodeType===9?e:e.ownerDocument}function LS(e){switch(e){case ut:return zy;case it:return uT;default:return Hr}}function ms(e,t){if(e===Hr)switch(t){case"svg":return zy;case"math":return uT;default:return Hr}return e===zy&&t==="foreignObject"?Hr:e}function Yc(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.children=="bigint"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}function Vv(){var e=window.event;return e&&e.type==="popstate"?e===Gx?!1:(Gx=e,!0):(Gx=null,!1)}function Ao(){var e=window.event;return e&&e!==F0?e.type:null}function Gc(){var e=window.event;return e&&e!==F0?e.timeStamp:-1.1}function NS(e){setTimeout(function(){throw e})}function jS(e,t,a){switch(t){case"button":case"input":case"select":case"textarea":a.autoFocus&&e.focus();break;case"img":a.src?e.src=a.src:a.srcSet&&(e.srcset=a.srcSet)}}function qS(){}function Up(e,t,a,r){jn(e,t,a,r),e[Qi]=r}function Bp(e){Vu(e,"")}function CA(e,t,a){e.nodeValue=a}function YS(e){if(!e.__reactWarnedAboutChildrenConflict){var t=e[Qi]||null;if(t!==null){var a=Se(e);a!==null&&(typeof t.children=="string"||typeof t.children=="number"?(e.__reactWarnedAboutChildrenConflict=!0,_e(a,function(){console.error('Cannot use a ref on a React element as a container to `createRoot` or `createPortal` if that element also sets "children" text content using React. It should be a leaf with no children. Otherwise it\'s ambiguous which children should be used.')})):t.dangerouslySetInnerHTML!=null&&(e.__reactWarnedAboutChildrenConflict=!0,_e(a,function(){console.error('Cannot use a ref on a React element as a container to `createRoot` or `createPortal` if that element also sets "dangerouslySetInnerHTML" using React. It should be a leaf with no children. Otherwise it\'s ambiguous which children should be used.')})))}}}function hu(e){return e==="head"}function GS(e,t){e.removeChild(t)}function kS(e,t){(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e).removeChild(t)}function hr(e,t){var a=t,r=0;do{var d=a.nextSibling;if(e.removeChild(a),d&&d.nodeType===8)if(a=d.data,a===P0||a===sT){if(r===0){e.removeChild(d),gr(t);return}r--}else if(a===K0||a===Df||a===Vh||a===Cy||a===Bh)r++;else if(a===eN)ys(e.ownerDocument.documentElement);else if(a===nN){a=e.ownerDocument.head,ys(a);for(var m=a.firstChild;m;){var b=m.nextSibling,T=m.nodeName;m[lf]||T==="SCRIPT"||T==="STYLE"||T==="LINK"&&m.rel.toLowerCase()==="stylesheet"||a.removeChild(m),m=b}}else a===tN&&ys(e.ownerDocument.body);a=d}while(a);gr(t)}function Id(e,t){var a=e;e=0;do{var r=a.nextSibling;if(a.nodeType===1?t?(a._stashedDisplay=a.style.display,a.style.display="none"):(a.style.display=a._stashedDisplay||"",a.getAttribute("style")===""&&a.removeAttribute("style")):a.nodeType===3&&(t?(a._stashedText=a.nodeValue,a.nodeValue=""):a.nodeValue=a._stashedText||""),r&&r.nodeType===8)if(a=r.data,a===P0){if(e===0)break;e--}else a!==K0&&a!==Df&&a!==Vh&&a!==Cy||e++;a=r}while(a)}function XS(e){Id(e,!0)}function QS(e){e=e.style,typeof e.setProperty=="function"?e.setProperty("display","none","important"):e.display="none"}function ZS(e){e.nodeValue=""}function JS(e){Id(e,!1)}function $S(e,t){t=t[iN],t=t!=null&&t.hasOwnProperty("display")?t.display:null,e.style.display=t==null||typeof t=="boolean"?"":(""+t).trim()}function KS(e,t){e.nodeValue=t}function kc(e){var t=e.firstChild;for(t&&t.nodeType===10&&(t=t.nextSibling);t;){var a=t;switch(t=t.nextSibling,a.nodeName){case"HTML":case"HEAD":case"BODY":kc(a),Z(a);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(a.rel.toLowerCase()==="stylesheet")continue}e.removeChild(a)}}function PS(e,t,a,r){for(;e.nodeType===1;){var d=a;if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!r&&(e.nodeName!=="INPUT"||e.type!=="hidden"))break}else if(r){if(!e[lf])switch(t){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if(m=e.getAttribute("rel"),m==="stylesheet"&&e.hasAttribute("data-precedence"))break;if(m!==d.rel||e.getAttribute("href")!==(d.href==null||d.href===""?null:d.href)||e.getAttribute("crossorigin")!==(d.crossOrigin==null?null:d.crossOrigin)||e.getAttribute("title")!==(d.title==null?null:d.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(m=e.getAttribute("src"),(m!==(d.src==null?null:d.src)||e.getAttribute("type")!==(d.type==null?null:d.type)||e.getAttribute("crossorigin")!==(d.crossOrigin==null?null:d.crossOrigin))&&m&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else if(t==="input"&&e.type==="hidden"){Rt(d.name,"name");var m=d.name==null?null:""+d.name;if(d.type==="hidden"&&e.getAttribute("name")===m)return e}else return e;if(e=Ua(e.nextSibling),e===null)break}return null}function FS(e,t,a){if(t==="")return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!a||(e=Ua(e.nextSibling),e===null))return null;return e}function qt(e,t){for(;e.nodeType!==8;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!t||(e=Ua(e.nextSibling),e===null))return null;return e}function eh(e){return e.data===Df||e.data===Vh}function Hv(e){return e.data===Cy||e.data===Df&&e.ownerDocument.readyState!==HM}function WS(e,t){var a=e.ownerDocument;if(e.data===Vh)e._reactRetry=t;else if(e.data!==Df||a.readyState!==HM)t();else{var r=function(){t(),a.removeEventListener("DOMContentLoaded",r)};a.addEventListener("DOMContentLoaded",r),e._reactRetry=r}}function Ua(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===K0||t===Cy||t===Df||t===Vh||t===Bh||t===jx||t===VM)break;if(t===P0||t===sT)return null}}return e}function IS(e){if(e.nodeType===1){for(var t=e.nodeName.toLowerCase(),a={},r=e.attributes,d=0;d<r.length;d++){var m=r[d];a[hs(m.name)]=m.name.toLowerCase()==="style"?du(e):m.value}return{type:t,props:a}}return e.nodeType===8?e.data===Bh?{type:"Activity",props:{}}:{type:"Suspense",props:{}}:e.nodeValue}function e1(e,t,a){return a===null||a[I7]!==!0?(e.nodeValue===t?e=null:(t=Cl(t),e=Cl(e.nodeValue)===t?null:e.nodeValue),e):null}function Xc(e){e=e.nextSibling;for(var t=0;e;){if(e.nodeType===8){var a=e.data;if(a===P0||a===sT){if(t===0)return Ua(e.nextSibling);t--}else a!==K0&&a!==Cy&&a!==Df&&a!==Vh&&a!==Bh||t++}e=e.nextSibling}return null}function mr(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var a=e.data;if(a===K0||a===Cy||a===Df||a===Vh||a===Bh){if(t===0)return e;t--}else a!==P0&&a!==sT||t++}e=e.previousSibling}return null}function Lv(e){gr(e)}function Vp(e){gr(e)}function Nv(e){gr(e)}function ps(e,t,a,r,d){switch(d&&nd(e,r.ancestorInfo),t=Wd(a),e){case"html":if(e=t.documentElement,!e)throw Error("React expected an <html> element (document.documentElement) to exist in the Document but one was not found. React never removes the documentElement for any Document it renders into so the cause is likely in some other script running on this page.");return e;case"head":if(e=t.head,!e)throw Error("React expected a <head> element (document.head) to exist in the Document but one was not found. React never removes the head for any Document it renders into so the cause is likely in some other script running on this page.");return e;case"body":if(e=t.body,!e)throw Error("React expected a <body> element (document.body) to exist in the Document but one was not found. React never removes the body for any Document it renders into so the cause is likely in some other script running on this page.");return e;default:throw Error("resolveSingletonInstance was called with an element type that is not supported. This is a bug in React.")}}function xo(e,t,a,r){if(!a[vs]&&Se(a)){var d=a.tagName.toLowerCase();console.error("You are mounting a new %s component when a previous one has not first unmounted. It is an error to render more than one %s component at a time and attributes and children of these components will likely fail in unpredictable ways. Please only render a single instance of <%s> and if you need to mount a new one, ensure any previous ones have unmounted first.",d,d,d)}switch(e){case"html":case"head":case"body":break;default:console.error("acquireSingletonInstance was called with an element type that is not supported. This is a bug in React.")}for(d=a.attributes;d.length;)a.removeAttributeNode(d[0]);on(a,e,t),a[sn]=r,a[Qi]=t}function ys(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);Z(e)}function Hp(e){return typeof e.getRootNode=="function"?e.getRootNode():e.nodeType===9?e:e.ownerDocument}function jv(e,t,a){var r=Uy;if(r&&typeof t=="string"&&t){var d=Gt(t);d='link[rel="'+e+'"][href="'+d+'"]',typeof a=="string"&&(d+='[crossorigin="'+a+'"]'),GM.has(d)||(GM.add(d),e={rel:e,crossOrigin:a,href:t},r.querySelector(d)===null&&(t=r.createElement("link"),on(t,"link",e),Ve(t),r.head.appendChild(t)))}}function qv(e,t,a,r){var d=(d=Ba.current)?Hp(d):null;if(!d)throw Error('"resourceRoot" was expected to exist. This is a bug in React.');switch(e){case"meta":case"title":return null;case"style":return typeof a.precedence=="string"&&typeof a.href=="string"?(a=pr(a.href),t=Je(d).hoistableStyles,r=t.get(a),r||(r={type:"style",instance:null,count:0,state:null},t.set(a,r)),r):{type:"void",instance:null,count:0,state:null};case"link":if(a.rel==="stylesheet"&&typeof a.href=="string"&&typeof a.precedence=="string"){e=pr(a.href);var m=Je(d).hoistableStyles,b=m.get(e);if(!b&&(d=d.ownerDocument||d,b={type:"stylesheet",instance:null,count:0,state:{loading:Lh,preload:null}},m.set(e,b),(m=d.querySelector(nh(e)))&&!m._p&&(b.instance=m,b.state.loading=W0|jo),!qo.has(e))){var T={rel:"preload",as:"style",href:a.href,crossOrigin:a.crossOrigin,integrity:a.integrity,media:a.media,hrefLang:a.hrefLang,referrerPolicy:a.referrerPolicy};qo.set(e,T),m||t1(d,e,T,b.state)}if(t&&r===null)throw a=`
185
-
186
- - `+th(t)+`
187
- + `+th(a),Error("Expected <link> not to update to be updated to a stylesheet with precedence. Check the `rel`, `href`, and `precedence` props of this component. Alternatively, check whether two different <link> components render in the same slot or share the same key."+a);return b}if(t&&r!==null)throw a=`
188
-
189
- - `+th(t)+`
190
- + `+th(a),Error("Expected stylesheet with precedence to not be updated to a different kind of <link>. Check the `rel`, `href`, and `precedence` props of this component. Alternatively, check whether two different <link> components render in the same slot or share the same key."+a);return null;case"script":return t=a.async,a=a.src,typeof a=="string"&&t&&typeof t!="function"&&typeof t!="symbol"?(a=yr(a),t=Je(d).hoistableScripts,r=t.get(a),r||(r={type:"script",instance:null,count:0,state:null},t.set(a,r)),r):{type:"void",instance:null,count:0,state:null};default:throw Error('getResource encountered a type it did not expect: "'+e+'". this is a bug in React.')}}function th(e){var t=0,a="<link";return typeof e.rel=="string"?(t++,a+=' rel="'+e.rel+'"'):Va.call(e,"rel")&&(t++,a+=' rel="'+(e.rel===null?"null":"invalid type "+typeof e.rel)+'"'),typeof e.href=="string"?(t++,a+=' href="'+e.href+'"'):Va.call(e,"href")&&(t++,a+=' href="'+(e.href===null?"null":"invalid type "+typeof e.href)+'"'),typeof e.precedence=="string"?(t++,a+=' precedence="'+e.precedence+'"'):Va.call(e,"precedence")&&(t++,a+=" precedence={"+(e.precedence===null?"null":"invalid type "+typeof e.precedence)+"}"),Object.getOwnPropertyNames(e).length>t&&(a+=" ..."),a+" />"}function pr(e){return'href="'+Gt(e)+'"'}function nh(e){return'link[rel="stylesheet"]['+e+"]"}function Lp(e){return ct({},e,{"data-precedence":e.precedence,precedence:null})}function t1(e,t,a,r){e.querySelector('link[rel="preload"][as="style"]['+t+"]")?r.loading=W0:(t=e.createElement("link"),r.preload=t,t.addEventListener("load",function(){return r.loading|=W0}),t.addEventListener("error",function(){return r.loading|=qM}),on(t,"link",a),Ve(t),e.head.appendChild(t))}function yr(e){return'[src="'+Gt(e)+'"]'}function ih(e){return"script[async]"+e}function Np(e,t,a){if(t.count++,t.instance===null)switch(t.type){case"style":var r=e.querySelector('style[data-href~="'+Gt(a.href)+'"]');if(r)return t.instance=r,Ve(r),r;var d=ct({},a,{"data-href":a.href,"data-precedence":a.precedence,href:null,precedence:null});return r=(e.ownerDocument||e).createElement("style"),Ve(r),on(r,"style",d),Qc(r,a.precedence,e),t.instance=r;case"stylesheet":d=pr(a.href);var m=e.querySelector(nh(d));if(m)return t.state.loading|=jo,t.instance=m,Ve(m),m;r=Lp(a),(d=qo.get(d))&&Yv(r,d),m=(e.ownerDocument||e).createElement("link"),Ve(m);var b=m;return b._p=new Promise(function(T,R){b.onload=T,b.onerror=R}),on(m,"link",r),t.state.loading|=jo,Qc(m,a.precedence,e),t.instance=m;case"script":return m=yr(a.src),(d=e.querySelector(ih(m)))?(t.instance=d,Ve(d),d):(r=a,(d=qo.get(m))&&(r=ct({},a),Gv(r,d)),e=e.ownerDocument||e,d=e.createElement("script"),Ve(d),on(d,"link",r),e.head.appendChild(d),t.instance=d);case"void":return null;default:throw Error('acquireResource encountered a resource type it did not expect: "'+t.type+'". this is a bug in React.')}else t.type==="stylesheet"&&(t.state.loading&jo)===Lh&&(r=t.instance,t.state.loading|=jo,Qc(r,a.precedence,e));return t.instance}function Qc(e,t,a){for(var r=a.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),d=r.length?r[r.length-1]:null,m=d,b=0;b<r.length;b++){var T=r[b];if(T.dataset.precedence===t)m=T;else if(m!==d)break}m?m.parentNode.insertBefore(e,m.nextSibling):(t=a.nodeType===9?a.head:a,t.insertBefore(e,t.firstChild))}function Yv(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.title==null&&(e.title=t.title)}function Gv(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.integrity==null&&(e.integrity=t.integrity)}function Zc(e,t,a){if(rT===null){var r=new Map,d=rT=new Map;d.set(a,r)}else d=rT,r=d.get(a),r||(r=new Map,d.set(a,r));if(r.has(e))return r;for(r.set(e,null),a=a.getElementsByTagName(e),d=0;d<a.length;d++){var m=a[d];if(!(m[lf]||m[sn]||e==="link"&&m.getAttribute("rel")==="stylesheet")&&m.namespaceURI!==ut){var b=m.getAttribute(t)||"";b=e+b;var T=r.get(b);T?T.push(m):r.set(b,[m])}}return r}function n1(e,t,a){e=e.ownerDocument||e,e.head.insertBefore(a,t==="title"?e.querySelector("head > title"):null)}function i1(e,t,a){var r=!a.ancestorInfo.containerTagInScope;if(a.context===zy||t.itemProp!=null)return!r||t.itemProp==null||e!=="meta"&&e!=="title"&&e!=="style"&&e!=="link"&&e!=="script"||console.error("Cannot render a <%s> outside the main document if it has an `itemProp` prop. `itemProp` suggests the tag belongs to an `itemScope` which can appear anywhere in the DOM. If you were intending for React to hoist this <%s> remove the `itemProp` prop. Otherwise, try moving this tag into the <head> or <body> of the Document.",e,e),!1;switch(e){case"meta":case"title":return!0;case"style":if(typeof t.precedence!="string"||typeof t.href!="string"||t.href===""){r&&console.error('Cannot render a <style> outside the main document without knowing its precedence and a unique href key. React can hoist and deduplicate <style> tags if you provide a `precedence` prop along with an `href` prop that does not conflict with the `href` values used in any other hoisted <style> or <link rel="stylesheet" ...> tags. Note that hoisting <style> tags is considered an advanced feature that most will not use directly. Consider moving the <style> tag to the <head> or consider adding a `precedence="default"` and `href="some unique resource identifier"`.');break}return!0;case"link":if(typeof t.rel!="string"||typeof t.href!="string"||t.href===""||t.onLoad||t.onError){if(t.rel==="stylesheet"&&typeof t.precedence=="string"){e=t.href;var d=t.onError,m=t.disabled;a=[],t.onLoad&&a.push("`onLoad`"),d&&a.push("`onError`"),m!=null&&a.push("`disabled`"),d=VS(a,"and"),d+=a.length===1?" prop":" props",m=a.length===1?"an "+d:"the "+d,a.length&&console.error('React encountered a <link rel="stylesheet" href="%s" ... /> with a `precedence` prop that also included %s. The presence of loading and error handlers indicates an intent to manage the stylesheet loading state from your from your Component code and React will not hoist or deduplicate this stylesheet. If your intent was to have React hoist and deduplciate this stylesheet using the `precedence` prop remove the %s, otherwise remove the `precedence` prop.',e,m,d)}r&&(typeof t.rel!="string"||typeof t.href!="string"||t.href===""?console.error("Cannot render a <link> outside the main document without a `rel` and `href` prop. Try adding a `rel` and/or `href` prop to this <link> or moving the link into the <head> tag"):(t.onError||t.onLoad)&&console.error("Cannot render a <link> with onLoad or onError listeners outside the main document. Try removing onLoad={...} and onError={...} or moving it into the root <head> tag or somewhere in the <body>."));break}switch(t.rel){case"stylesheet":return e=t.precedence,t=t.disabled,typeof e!="string"&&r&&console.error('Cannot render a <link rel="stylesheet" /> outside the main document without knowing its precedence. Consider adding precedence="default" or moving it into the root <head> tag.'),typeof e=="string"&&t==null;default:return!0}case"script":if(e=t.async&&typeof t.async!="function"&&typeof t.async!="symbol",!e||t.onLoad||t.onError||!t.src||typeof t.src!="string"){r&&(e?t.onLoad||t.onError?console.error("Cannot render a <script> with onLoad or onError listeners outside the main document. Try removing onLoad={...} and onError={...} or moving it into the root <head> tag or somewhere in the <body>."):console.error("Cannot render a <script> outside the main document without `async={true}` and a non-empty `src` prop. Ensure there is a valid `src` and either make the script async or move it into the root <head> tag or somewhere in the <body>."):console.error('Cannot render a sync or defer <script> outside the main document without knowing its order. Try adding async="" or moving it into the root <head> tag.'));break}return!0;case"noscript":case"template":r&&console.error("Cannot render <%s> outside the main document. Try moving it into the root <head> tag.",e)}return!1}function gt(e){return!(e.type==="stylesheet"&&(e.state.loading&YM)===Lh)}function kv(e,t,a,r){if(a.type==="stylesheet"&&(typeof r.media!="string"||matchMedia(r.media).matches!==!1)&&(a.state.loading&jo)===Lh){if(a.instance===null){var d=pr(r.href),m=t.querySelector(nh(d));if(m){t=m._p,t!==null&&typeof t=="object"&&typeof t.then=="function"&&(e.count++,e=Jc.bind(e),t.then(e,e)),a.state.loading|=jo,a.instance=m,Ve(m);return}m=t.ownerDocument||t,r=Lp(r),(d=qo.get(d))&&Yv(r,d),m=m.createElement("link"),Ve(m);var b=m;b._p=new Promise(function(T,R){b.onload=T,b.onerror=R}),on(m,"link",r),a.instance=m}e.stylesheets===null&&(e.stylesheets=new Map),e.stylesheets.set(a,t),(t=a.state.preload)&&(a.state.loading&YM)===Lh&&(e.count++,a=Jc.bind(e),t.addEventListener("load",a),t.addEventListener("error",a))}}function jp(e,t){return e.stylesheets&&e.count===0&&ah(e,e.stylesheets),0<e.count||0<e.imgCount?function(a){var r=setTimeout(function(){if(e.stylesheets&&ah(e,e.stylesheets),e.unsuspend){var m=e.unsuspend;e.unsuspend=null,m()}},oN+t);0<e.imgBytes&&Xx===0&&(Xx=125*HS()*uN);var d=setTimeout(function(){if(e.waitingForImages=!1,e.count===0&&(e.stylesheets&&ah(e,e.stylesheets),e.unsuspend)){var m=e.unsuspend;e.unsuspend=null,m()}},(e.imgBytes>Xx?50:sN)+t);return e.unsuspend=a,function(){e.unsuspend=null,clearTimeout(r),clearTimeout(d)}}:null}function Jc(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)ah(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}function ah(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,cT=new Map,t.forEach(Xv,e),cT=null,Jc.call(e))}function Xv(e,t){if(!(t.state.loading&jo)){var a=cT.get(e);if(a)var r=a.get(Qx);else{a=new Map,cT.set(e,a);for(var d=e.querySelectorAll("link[data-precedence],style[data-precedence]"),m=0;m<d.length;m++){var b=d[m];(b.nodeName==="LINK"||b.getAttribute("media")!=="not all")&&(a.set(b.dataset.precedence,b),r=b)}r&&a.set(Qx,r)}d=t.instance,b=d.getAttribute("data-precedence"),m=a.get(b)||r,m===r&&a.set(Qx,d),a.set(b,d),this.count++,r=Jc.bind(this),d.addEventListener("load",r),d.addEventListener("error",r),m?m.parentNode.insertBefore(d,m.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(d,e.firstChild)),t.state.loading|=jo}}function lh(e,t,a,r,d,m,b,T,R){for(this.tag=1,this.containerInfo=e,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=Hh,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=Fr(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Fr(0),this.hiddenUpdates=Fr(null),this.identifierPrefix=r,this.onUncaughtError=d,this.onCaughtError=m,this.onRecoverableError=b,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=R,this.incompleteTransitions=new Map,this.passiveEffectDuration=this.effectDuration=-0,this.memoizedUpdaters=new Set,e=this.pendingUpdatersLaneMap=[],t=0;31>t;t++)e.push(new Set);this._debugRootType=a?"hydrateRoot()":"createRoot()"}function oh(e,t,a,r,d,m,b,T,R,O,q,k){return e=new lh(e,t,a,b,R,O,q,k,T),t=z7,m===!0&&(t|=ca|bs),t|=ft,m=w(3,null,null,t),e.current=m,m.stateNode=e,t=Nm(),Qu(t),e.pooledCache=t,Qu(t),m.memoizedState={element:r,isDehydrated:a,cache:t},vt(m),e}function a1(e){return e?(e=ff,e):ff}function qp(e,t,a,r,d,m){if(qn&&typeof qn.onScheduleFiberRoot=="function")try{qn.onScheduleFiberRoot(Tr,r,a)}catch(b){Do||(Do=!0,console.error("React instrumentation encountered an error: %o",b))}d=a1(d),r.context===null?r.context=d:r.pendingContext=d,_o&&ra!==null&&!ZM&&(ZM=!0,console.error(`Render methods should be a pure function of props and state; triggering nested component updates from render is not allowed. If necessary, trigger nested updates in componentDidUpdate.
191
-
192
- Check the render method of %s.`,be(ra)||"Unknown")),r=Ln(t),r.payload={element:a},m=m===void 0?null:m,m!==null&&(typeof m!="function"&&console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",m),r.callback=m),a=oo(e,r,t),a!==null&&(io(t,"root.render()",null),Fe(a,e,t),Wa(a,e,t))}function l1(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var a=e.retryLane;e.retryLane=a!==0&&a<t?a:t}}function Qv(e,t){l1(e,t),(e=e.alternate)&&l1(e,t)}function Zv(e){if(e.tag===13||e.tag===31){var t=Si(e,67108864);t!==null&&Fe(t,e,67108864),Qv(e,67108864)}}function Jv(e){if(e.tag===13||e.tag===31){var t=Ei(e);t=ka(t);var a=Si(e,t);a!==null&&Fe(a,e,t),Qv(e,t)}}function Qt(){return ra}function $v(e,t,a,r){var d=ie.T;ie.T=null;var m=Ut.p;try{Ut.p=Yn,Kv(e,t,a,r)}finally{Ut.p=m,ie.T=d}}function di(e,t,a,r){var d=ie.T;ie.T=null;var m=Ut.p;try{Ut.p=mi,Kv(e,t,a,r)}finally{Ut.p=m,ie.T=d}}function Kv(e,t,a,r){if(dT){var d=Yp(r);if(d===null)Ol(e,t,r,hT,a),kp(e,r);else if(o1(d,e,t,a,r))r.stopPropagation();else if(kp(e,r),t&4&&-1<cN.indexOf(e)){for(;d!==null;){var m=Se(d);if(m!==null)switch(m.tag){case 3:if(m=m.stateNode,m.current.memoizedState.isDehydrated){var b=Kl(m.pendingLanes);if(b!==0){var T=m;for(T.pendingLanes|=2,T.entangledLanes|=2;b;){var R=1<<31-hi(b);T.entanglements[1]|=R,b&=~R}la(m),(Dt&(yi|jl))===wi&&(K1=ti()+SM,So(0))}}break;case 31:case 13:T=Si(m,2),T!==null&&Fe(T,m,2),za(),Qv(m,2)}if(m=Yp(r),m===null&&Ol(e,t,r,hT,a),m===d)break;d=m}d!==null&&r.stopPropagation()}else Ol(e,t,r,null,a)}}function Yp(e){return e=hl(e),Pv(e)}function Pv(e){if(hT=null,e=ge(e),e!==null){var t=$(e);if(t===null)e=null;else{var a=t.tag;if(a===13){if(e=le(t),e!==null)return e;e=null}else if(a===31){if(e=ee(t),e!==null)return e;e=null}else if(a===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null)}}return hT=e,null}function Gp(e){switch(e){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return Yn;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return mi;case"message":switch(dh()){case o0:return Yn;case Wp:return mi;case Sr:case d1:return xi;case Ip:return vu;default:return xi}default:return xi}}function kp(e,t){switch(e){case"focusin":case"focusout":wf=null;break;case"dragenter":case"dragleave":Rf=null;break;case"mouseover":case"mouseout":Of=null;break;case"pointerover":case"pointerout":eb.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":tb.delete(t.pointerId)}}function mu(e,t,a,r,d,m){return e===null||e.nativeEvent!==m?(e={blockedOn:t,domEventName:a,eventSystemFlags:r,nativeEvent:m,targetContainers:[d]},t!==null&&(t=Se(t),t!==null&&Zv(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,d!==null&&t.indexOf(d)===-1&&t.push(d),e)}function o1(e,t,a,r,d){switch(t){case"focusin":return wf=mu(wf,e,t,a,r,d),!0;case"dragenter":return Rf=mu(Rf,e,t,a,r,d),!0;case"mouseover":return Of=mu(Of,e,t,a,r,d),!0;case"pointerover":var m=d.pointerId;return eb.set(m,mu(eb.get(m)||null,e,t,a,r,d)),!0;case"gotpointercapture":return m=d.pointerId,tb.set(m,mu(tb.get(m)||null,e,t,a,r,d)),!0}return!1}function Fv(e){var t=ge(e.target);if(t!==null){var a=$(t);if(a!==null){if(t=a.tag,t===13){if(t=le(a),t!==null){e.blockedOn=t,M(e.priority,function(){Jv(a)});return}}else if(t===31){if(t=ee(a),t!==null){e.blockedOn=t,M(e.priority,function(){Jv(a)});return}}else if(t===3&&a.stateNode.current.memoizedState.isDehydrated){e.blockedOn=a.tag===3?a.stateNode.containerInfo:null;return}}}e.blockedOn=null}function $c(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var a=Yp(e.nativeEvent);if(a===null){a=e.nativeEvent;var r=new a.constructor(a.type,a),d=r;f0!==null&&console.error("Expected currently replaying event to be null. This error is likely caused by a bug in React. Please file an issue."),f0=d,a.target.dispatchEvent(r),f0===null&&console.error("Expected currently replaying event to not be null. This error is likely caused by a bug in React. Please file an issue."),f0=null}else return t=Se(a),t!==null&&Zv(t),e.blockedOn=a,!1;t.shift()}return!0}function Xp(e,t,a){$c(e)&&a.delete(t)}function zA(){Zx=!1,wf!==null&&$c(wf)&&(wf=null),Rf!==null&&$c(Rf)&&(Rf=null),Of!==null&&$c(Of)&&(Of=null),eb.forEach(Xp),tb.forEach(Xp)}function sh(e,t){e.blockedOn===t&&(e.blockedOn=null,Zx||(Zx=!0,wn.unstable_scheduleCallback(wn.unstable_NormalPriority,zA)))}function s1(e){mT!==e&&(mT=e,wn.unstable_scheduleCallback(wn.unstable_NormalPriority,function(){mT===e&&(mT=null);for(var t=0;t<e.length;t+=3){var a=e[t],r=e[t+1],d=e[t+2];if(typeof r!="function"){if(Pv(r||a)===null)continue;break}var m=Se(a);m!==null&&(e.splice(t,3),t-=3,a={pending:!0,data:d,method:a.method,action:r},Object.freeze(a),us(m,a,r,d))}}))}function gr(e){function t(R){return sh(R,e)}wf!==null&&sh(wf,e),Rf!==null&&sh(Rf,e),Of!==null&&sh(Of,e),eb.forEach(t),tb.forEach(t);for(var a=0;a<Mf.length;a++){var r=Mf[a];r.blockedOn===e&&(r.blockedOn=null)}for(;0<Mf.length&&(a=Mf[0],a.blockedOn===null);)Fv(a),a.blockedOn===null&&Mf.shift();if(a=(e.ownerDocument||e).$$reactFormReplay,a!=null)for(r=0;r<a.length;r+=3){var d=a[r],m=a[r+1],b=d[Qi]||null;if(typeof m=="function")b||s1(a);else if(b){var T=null;if(m&&m.hasAttribute("formAction")){if(d=m,b=m[Qi]||null)T=b.formAction;else if(Pv(d)!==null)continue}else T=b.action;typeof T=="function"?a[r+1]=T:(a.splice(r,3),r-=3),s1(a)}}}function u1(){function e(m){m.canIntercept&&m.info==="react-transition"&&m.intercept({handler:function(){return new Promise(function(b){return d=b})},focusReset:"manual",scroll:"manual"})}function t(){d!==null&&(d(),d=null),r||setTimeout(a,20)}function a(){if(!r&&!navigation.transition){var m=navigation.currentEntry;m&&m.url!=null&&navigation.navigate(m.url,{state:m.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var r=!1,d=null;return navigation.addEventListener("navigate",e),navigation.addEventListener("navigatesuccess",t),navigation.addEventListener("navigateerror",t),setTimeout(a,100),function(){r=!0,navigation.removeEventListener("navigate",e),navigation.removeEventListener("navigatesuccess",t),navigation.removeEventListener("navigateerror",t),d!==null&&(d(),d=null)}}}function Wv(e){this._internalRoot=e}function zl(e){this._internalRoot=e}function Iv(e){e[vs]&&(e._reactRootContainer?console.error("You are calling ReactDOMClient.createRoot() on a container that was previously passed to ReactDOM.render(). This is not supported."):console.error("You are calling ReactDOMClient.createRoot() on a container that has already been passed to createRoot() before. Instead, call root.render() on the existing root instead if you want to update it."))}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var wn=Ix(),uh=jh(),UA=i_(),ct=Object.assign,r1=Symbol.for("react.element"),nl=Symbol.for("react.transitional.element"),pu=Symbol.for("react.portal"),Kc=Symbol.for("react.fragment"),Xi=Symbol.for("react.strict_mode"),rh=Symbol.for("react.profiler"),Qp=Symbol.for("react.consumer"),Ul=Symbol.for("react.context"),Pc=Symbol.for("react.forward_ref"),vr=Symbol.for("react.suspense"),ua=Symbol.for("react.suspense_list"),ch=Symbol.for("react.memo"),Ai=Symbol.for("react.lazy"),Bl=Symbol.for("react.activity"),BA=Symbol.for("react.memo_cache_sentinel"),c1=Symbol.iterator,Fc=Symbol.for("react.client.reference"),Un=Array.isArray,ie=uh.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Ut=UA.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,VA=Object.freeze({pending:!1,data:null,method:null,action:null}),e0=[],t0=[],gs=-1,yu=ot(null),Wc=ot(null),Ba=ot(null),gu=ot(null),Ic=0,f1,br,ef,n0,fh,Zp,Jp;Le.__reactDisabledLog=!0;var tf,i0,$p=!1,a0=new(typeof WeakMap=="function"?WeakMap:Map),ra=null,_o=!1,Va=Object.prototype.hasOwnProperty,l0=wn.unstable_scheduleCallback,Kp=wn.unstable_cancelCallback,Pp=wn.unstable_shouldYield,Fp=wn.unstable_requestPaint,ti=wn.unstable_now,dh=wn.unstable_getCurrentPriorityLevel,o0=wn.unstable_ImmediatePriority,Wp=wn.unstable_UserBlockingPriority,Sr=wn.unstable_NormalPriority,d1=wn.unstable_LowPriority,Ip=wn.unstable_IdlePriority,s0=wn.log,h1=wn.unstable_setDisableYieldValue,Tr=null,qn=null,Do=!1,wo=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u",hi=Math.clz32?Math.clz32:Vs,u0=Math.log,ey=Math.LN2,nf=256,hh=262144,af=4194304,Yn=2,mi=8,xi=32,vu=268435456,il=Math.random().toString(36).slice(2),sn="__reactFiber$"+il,Qi="__reactProps$"+il,vs="__reactContainer$"+il,Er="__reactEvents$"+il,HA="__reactListeners$"+il,m1="__reactHandles$"+il,mh="__reactResources$"+il,lf="__reactMarker$"+il,p1=new Set,Ro={},of={},y1={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0},sf=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),r0={},ty={},ny=/[\n"\\]/g,c0=!1,g1=!1,ph=!1,i=!1,l=!1,s=!1,f=["value","defaultValue"],g=!1,v=/["'&<>\n\t]|^\s|\s$/,D="address applet area article aside base basefont bgsound blockquote body br button caption center col colgroup dd details dir div dl dt embed fieldset figcaption figure footer form frame frameset h1 h2 h3 h4 h5 h6 head header hgroup hr html iframe img input isindex li link listing main marquee menu menuitem meta nav noembed noframes noscript object ol p param plaintext pre script section select source style summary table tbody td template textarea tfoot th thead title tr track ul wbr xmp".split(" "),C="applet caption html table td th marquee object template foreignObject desc title".split(" "),N=C.concat(["button"]),F="dd dt li option optgroup p rp rt".split(" "),se={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null,containerTagInScope:null,implicitRootScope:!1},ce={},W={animation:"animationDelay animationDirection animationDuration animationFillMode animationIterationCount animationName animationPlayState animationTimingFunction".split(" "),background:"backgroundAttachment backgroundClip backgroundColor backgroundImage backgroundOrigin backgroundPositionX backgroundPositionY backgroundRepeat backgroundSize".split(" "),backgroundPosition:["backgroundPositionX","backgroundPositionY"],border:"borderBottomColor borderBottomStyle borderBottomWidth borderImageOutset borderImageRepeat borderImageSlice borderImageSource borderImageWidth borderLeftColor borderLeftStyle borderLeftWidth borderRightColor borderRightStyle borderRightWidth borderTopColor borderTopStyle borderTopWidth".split(" "),borderBlockEnd:["borderBlockEndColor","borderBlockEndStyle","borderBlockEndWidth"],borderBlockStart:["borderBlockStartColor","borderBlockStartStyle","borderBlockStartWidth"],borderBottom:["borderBottomColor","borderBottomStyle","borderBottomWidth"],borderColor:["borderBottomColor","borderLeftColor","borderRightColor","borderTopColor"],borderImage:["borderImageOutset","borderImageRepeat","borderImageSlice","borderImageSource","borderImageWidth"],borderInlineEnd:["borderInlineEndColor","borderInlineEndStyle","borderInlineEndWidth"],borderInlineStart:["borderInlineStartColor","borderInlineStartStyle","borderInlineStartWidth"],borderLeft:["borderLeftColor","borderLeftStyle","borderLeftWidth"],borderRadius:["borderBottomLeftRadius","borderBottomRightRadius","borderTopLeftRadius","borderTopRightRadius"],borderRight:["borderRightColor","borderRightStyle","borderRightWidth"],borderStyle:["borderBottomStyle","borderLeftStyle","borderRightStyle","borderTopStyle"],borderTop:["borderTopColor","borderTopStyle","borderTopWidth"],borderWidth:["borderBottomWidth","borderLeftWidth","borderRightWidth","borderTopWidth"],columnRule:["columnRuleColor","columnRuleStyle","columnRuleWidth"],columns:["columnCount","columnWidth"],flex:["flexBasis","flexGrow","flexShrink"],flexFlow:["flexDirection","flexWrap"],font:"fontFamily fontFeatureSettings fontKerning fontLanguageOverride fontSize fontSizeAdjust fontStretch fontStyle fontVariant fontVariantAlternates fontVariantCaps fontVariantEastAsian fontVariantLigatures fontVariantNumeric fontVariantPosition fontWeight lineHeight".split(" "),fontVariant:"fontVariantAlternates fontVariantCaps fontVariantEastAsian fontVariantLigatures fontVariantNumeric fontVariantPosition".split(" "),gap:["columnGap","rowGap"],grid:"gridAutoColumns gridAutoFlow gridAutoRows gridTemplateAreas gridTemplateColumns gridTemplateRows".split(" "),gridArea:["gridColumnEnd","gridColumnStart","gridRowEnd","gridRowStart"],gridColumn:["gridColumnEnd","gridColumnStart"],gridColumnGap:["columnGap"],gridGap:["columnGap","rowGap"],gridRow:["gridRowEnd","gridRowStart"],gridRowGap:["rowGap"],gridTemplate:["gridTemplateAreas","gridTemplateColumns","gridTemplateRows"],listStyle:["listStyleImage","listStylePosition","listStyleType"],margin:["marginBottom","marginLeft","marginRight","marginTop"],marker:["markerEnd","markerMid","markerStart"],mask:"maskClip maskComposite maskImage maskMode maskOrigin maskPositionX maskPositionY maskRepeat maskSize".split(" "),maskPosition:["maskPositionX","maskPositionY"],outline:["outlineColor","outlineStyle","outlineWidth"],overflow:["overflowX","overflowY"],padding:["paddingBottom","paddingLeft","paddingRight","paddingTop"],placeContent:["alignContent","justifyContent"],placeItems:["alignItems","justifyItems"],placeSelf:["alignSelf","justifySelf"],textDecoration:["textDecorationColor","textDecorationLine","textDecorationStyle"],textEmphasis:["textEmphasisColor","textEmphasisStyle"],transition:["transitionDelay","transitionDuration","transitionProperty","transitionTimingFunction"],wordWrap:["overflowWrap"]},ae=/([A-Z])/g,Me=/^ms-/,Ze=/^(?:webkit|moz|o)[A-Z]/,Zt=/^-ms-/,J=/-(.)/g,G=/;\s*$/,K={},re={},qe=!1,_t=!1,He=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" ")),it="http://www.w3.org/1998/Math/MathML",ut="http://www.w3.org/2000/svg",Mt=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),Vl={accept:"accept",acceptcharset:"acceptCharset","accept-charset":"acceptCharset",accesskey:"accessKey",action:"action",allowfullscreen:"allowFullScreen",alt:"alt",as:"as",async:"async",autocapitalize:"autoCapitalize",autocomplete:"autoComplete",autocorrect:"autoCorrect",autofocus:"autoFocus",autoplay:"autoPlay",autosave:"autoSave",capture:"capture",cellpadding:"cellPadding",cellspacing:"cellSpacing",challenge:"challenge",charset:"charSet",checked:"checked",children:"children",cite:"cite",class:"className",classid:"classID",classname:"className",cols:"cols",colspan:"colSpan",content:"content",contenteditable:"contentEditable",contextmenu:"contextMenu",controls:"controls",controlslist:"controlsList",coords:"coords",crossorigin:"crossOrigin",dangerouslysetinnerhtml:"dangerouslySetInnerHTML",data:"data",datetime:"dateTime",default:"default",defaultchecked:"defaultChecked",defaultvalue:"defaultValue",defer:"defer",dir:"dir",disabled:"disabled",disablepictureinpicture:"disablePictureInPicture",disableremoteplayback:"disableRemotePlayback",download:"download",draggable:"draggable",enctype:"encType",enterkeyhint:"enterKeyHint",fetchpriority:"fetchPriority",for:"htmlFor",form:"form",formmethod:"formMethod",formaction:"formAction",formenctype:"formEncType",formnovalidate:"formNoValidate",formtarget:"formTarget",frameborder:"frameBorder",headers:"headers",height:"height",hidden:"hidden",high:"high",href:"href",hreflang:"hrefLang",htmlfor:"htmlFor",httpequiv:"httpEquiv","http-equiv":"httpEquiv",icon:"icon",id:"id",imagesizes:"imageSizes",imagesrcset:"imageSrcSet",inert:"inert",innerhtml:"innerHTML",inputmode:"inputMode",integrity:"integrity",is:"is",itemid:"itemID",itemprop:"itemProp",itemref:"itemRef",itemscope:"itemScope",itemtype:"itemType",keyparams:"keyParams",keytype:"keyType",kind:"kind",label:"label",lang:"lang",list:"list",loop:"loop",low:"low",manifest:"manifest",marginwidth:"marginWidth",marginheight:"marginHeight",max:"max",maxlength:"maxLength",media:"media",mediagroup:"mediaGroup",method:"method",min:"min",minlength:"minLength",multiple:"multiple",muted:"muted",name:"name",nomodule:"noModule",nonce:"nonce",novalidate:"noValidate",open:"open",optimum:"optimum",pattern:"pattern",placeholder:"placeholder",playsinline:"playsInline",poster:"poster",preload:"preload",profile:"profile",radiogroup:"radioGroup",readonly:"readOnly",referrerpolicy:"referrerPolicy",rel:"rel",required:"required",reversed:"reversed",role:"role",rows:"rows",rowspan:"rowSpan",sandbox:"sandbox",scope:"scope",scoped:"scoped",scrolling:"scrolling",seamless:"seamless",selected:"selected",shape:"shape",size:"size",sizes:"sizes",span:"span",spellcheck:"spellCheck",src:"src",srcdoc:"srcDoc",srclang:"srcLang",srcset:"srcSet",start:"start",step:"step",style:"style",summary:"summary",tabindex:"tabIndex",target:"target",title:"title",type:"type",usemap:"useMap",value:"value",width:"width",wmode:"wmode",wrap:"wrap",about:"about",accentheight:"accentHeight","accent-height":"accentHeight",accumulate:"accumulate",additive:"additive",alignmentbaseline:"alignmentBaseline","alignment-baseline":"alignmentBaseline",allowreorder:"allowReorder",alphabetic:"alphabetic",amplitude:"amplitude",arabicform:"arabicForm","arabic-form":"arabicForm",ascent:"ascent",attributename:"attributeName",attributetype:"attributeType",autoreverse:"autoReverse",azimuth:"azimuth",basefrequency:"baseFrequency",baselineshift:"baselineShift","baseline-shift":"baselineShift",baseprofile:"baseProfile",bbox:"bbox",begin:"begin",bias:"bias",by:"by",calcmode:"calcMode",capheight:"capHeight","cap-height":"capHeight",clip:"clip",clippath:"clipPath","clip-path":"clipPath",clippathunits:"clipPathUnits",cliprule:"clipRule","clip-rule":"clipRule",color:"color",colorinterpolation:"colorInterpolation","color-interpolation":"colorInterpolation",colorinterpolationfilters:"colorInterpolationFilters","color-interpolation-filters":"colorInterpolationFilters",colorprofile:"colorProfile","color-profile":"colorProfile",colorrendering:"colorRendering","color-rendering":"colorRendering",contentscripttype:"contentScriptType",contentstyletype:"contentStyleType",cursor:"cursor",cx:"cx",cy:"cy",d:"d",datatype:"datatype",decelerate:"decelerate",descent:"descent",diffuseconstant:"diffuseConstant",direction:"direction",display:"display",divisor:"divisor",dominantbaseline:"dominantBaseline","dominant-baseline":"dominantBaseline",dur:"dur",dx:"dx",dy:"dy",edgemode:"edgeMode",elevation:"elevation",enablebackground:"enableBackground","enable-background":"enableBackground",end:"end",exponent:"exponent",externalresourcesrequired:"externalResourcesRequired",fill:"fill",fillopacity:"fillOpacity","fill-opacity":"fillOpacity",fillrule:"fillRule","fill-rule":"fillRule",filter:"filter",filterres:"filterRes",filterunits:"filterUnits",floodopacity:"floodOpacity","flood-opacity":"floodOpacity",floodcolor:"floodColor","flood-color":"floodColor",focusable:"focusable",fontfamily:"fontFamily","font-family":"fontFamily",fontsize:"fontSize","font-size":"fontSize",fontsizeadjust:"fontSizeAdjust","font-size-adjust":"fontSizeAdjust",fontstretch:"fontStretch","font-stretch":"fontStretch",fontstyle:"fontStyle","font-style":"fontStyle",fontvariant:"fontVariant","font-variant":"fontVariant",fontweight:"fontWeight","font-weight":"fontWeight",format:"format",from:"from",fx:"fx",fy:"fy",g1:"g1",g2:"g2",glyphname:"glyphName","glyph-name":"glyphName",glyphorientationhorizontal:"glyphOrientationHorizontal","glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphorientationvertical:"glyphOrientationVertical","glyph-orientation-vertical":"glyphOrientationVertical",glyphref:"glyphRef",gradienttransform:"gradientTransform",gradientunits:"gradientUnits",hanging:"hanging",horizadvx:"horizAdvX","horiz-adv-x":"horizAdvX",horizoriginx:"horizOriginX","horiz-origin-x":"horizOriginX",ideographic:"ideographic",imagerendering:"imageRendering","image-rendering":"imageRendering",in2:"in2",in:"in",inlist:"inlist",intercept:"intercept",k1:"k1",k2:"k2",k3:"k3",k4:"k4",k:"k",kernelmatrix:"kernelMatrix",kernelunitlength:"kernelUnitLength",kerning:"kerning",keypoints:"keyPoints",keysplines:"keySplines",keytimes:"keyTimes",lengthadjust:"lengthAdjust",letterspacing:"letterSpacing","letter-spacing":"letterSpacing",lightingcolor:"lightingColor","lighting-color":"lightingColor",limitingconeangle:"limitingConeAngle",local:"local",markerend:"markerEnd","marker-end":"markerEnd",markerheight:"markerHeight",markermid:"markerMid","marker-mid":"markerMid",markerstart:"markerStart","marker-start":"markerStart",markerunits:"markerUnits",markerwidth:"markerWidth",mask:"mask",maskcontentunits:"maskContentUnits",maskunits:"maskUnits",mathematical:"mathematical",mode:"mode",numoctaves:"numOctaves",offset:"offset",opacity:"opacity",operator:"operator",order:"order",orient:"orient",orientation:"orientation",origin:"origin",overflow:"overflow",overlineposition:"overlinePosition","overline-position":"overlinePosition",overlinethickness:"overlineThickness","overline-thickness":"overlineThickness",paintorder:"paintOrder","paint-order":"paintOrder",panose1:"panose1","panose-1":"panose1",pathlength:"pathLength",patterncontentunits:"patternContentUnits",patterntransform:"patternTransform",patternunits:"patternUnits",pointerevents:"pointerEvents","pointer-events":"pointerEvents",points:"points",pointsatx:"pointsAtX",pointsaty:"pointsAtY",pointsatz:"pointsAtZ",popover:"popover",popovertarget:"popoverTarget",popovertargetaction:"popoverTargetAction",prefix:"prefix",preservealpha:"preserveAlpha",preserveaspectratio:"preserveAspectRatio",primitiveunits:"primitiveUnits",property:"property",r:"r",radius:"radius",refx:"refX",refy:"refY",renderingintent:"renderingIntent","rendering-intent":"renderingIntent",repeatcount:"repeatCount",repeatdur:"repeatDur",requiredextensions:"requiredExtensions",requiredfeatures:"requiredFeatures",resource:"resource",restart:"restart",result:"result",results:"results",rotate:"rotate",rx:"rx",ry:"ry",scale:"scale",security:"security",seed:"seed",shaperendering:"shapeRendering","shape-rendering":"shapeRendering",slope:"slope",spacing:"spacing",specularconstant:"specularConstant",specularexponent:"specularExponent",speed:"speed",spreadmethod:"spreadMethod",startoffset:"startOffset",stddeviation:"stdDeviation",stemh:"stemh",stemv:"stemv",stitchtiles:"stitchTiles",stopcolor:"stopColor","stop-color":"stopColor",stopopacity:"stopOpacity","stop-opacity":"stopOpacity",strikethroughposition:"strikethroughPosition","strikethrough-position":"strikethroughPosition",strikethroughthickness:"strikethroughThickness","strikethrough-thickness":"strikethroughThickness",string:"string",stroke:"stroke",strokedasharray:"strokeDasharray","stroke-dasharray":"strokeDasharray",strokedashoffset:"strokeDashoffset","stroke-dashoffset":"strokeDashoffset",strokelinecap:"strokeLinecap","stroke-linecap":"strokeLinecap",strokelinejoin:"strokeLinejoin","stroke-linejoin":"strokeLinejoin",strokemiterlimit:"strokeMiterlimit","stroke-miterlimit":"strokeMiterlimit",strokewidth:"strokeWidth","stroke-width":"strokeWidth",strokeopacity:"strokeOpacity","stroke-opacity":"strokeOpacity",suppresscontenteditablewarning:"suppressContentEditableWarning",suppresshydrationwarning:"suppressHydrationWarning",surfacescale:"surfaceScale",systemlanguage:"systemLanguage",tablevalues:"tableValues",targetx:"targetX",targety:"targetY",textanchor:"textAnchor","text-anchor":"textAnchor",textdecoration:"textDecoration","text-decoration":"textDecoration",textlength:"textLength",textrendering:"textRendering","text-rendering":"textRendering",to:"to",transform:"transform",transformorigin:"transformOrigin","transform-origin":"transformOrigin",typeof:"typeof",u1:"u1",u2:"u2",underlineposition:"underlinePosition","underline-position":"underlinePosition",underlinethickness:"underlineThickness","underline-thickness":"underlineThickness",unicode:"unicode",unicodebidi:"unicodeBidi","unicode-bidi":"unicodeBidi",unicoderange:"unicodeRange","unicode-range":"unicodeRange",unitsperem:"unitsPerEm","units-per-em":"unitsPerEm",unselectable:"unselectable",valphabetic:"vAlphabetic","v-alphabetic":"vAlphabetic",values:"values",vectoreffect:"vectorEffect","vector-effect":"vectorEffect",version:"version",vertadvy:"vertAdvY","vert-adv-y":"vertAdvY",vertoriginx:"vertOriginX","vert-origin-x":"vertOriginX",vertoriginy:"vertOriginY","vert-origin-y":"vertOriginY",vhanging:"vHanging","v-hanging":"vHanging",videographic:"vIdeographic","v-ideographic":"vIdeographic",viewbox:"viewBox",viewtarget:"viewTarget",visibility:"visibility",vmathematical:"vMathematical","v-mathematical":"vMathematical",vocab:"vocab",widths:"widths",wordspacing:"wordSpacing","word-spacing":"wordSpacing",writingmode:"writingMode","writing-mode":"writingMode",x1:"x1",x2:"x2",x:"x",xchannelselector:"xChannelSelector",xheight:"xHeight","x-height":"xHeight",xlinkactuate:"xlinkActuate","xlink:actuate":"xlinkActuate",xlinkarcrole:"xlinkArcrole","xlink:arcrole":"xlinkArcrole",xlinkhref:"xlinkHref","xlink:href":"xlinkHref",xlinkrole:"xlinkRole","xlink:role":"xlinkRole",xlinkshow:"xlinkShow","xlink:show":"xlinkShow",xlinktitle:"xlinkTitle","xlink:title":"xlinkTitle",xlinktype:"xlinkType","xlink:type":"xlinkType",xmlbase:"xmlBase","xml:base":"xmlBase",xmllang:"xmlLang","xml:lang":"xmlLang",xmlns:"xmlns","xml:space":"xmlSpace",xmlnsxlink:"xmlnsXlink","xmlns:xlink":"xmlnsXlink",xmlspace:"xmlSpace",y1:"y1",y2:"y2",y:"y",ychannelselector:"yChannelSelector",z:"z",zoomandpan:"zoomAndPan"},v1={"aria-current":0,"aria-description":0,"aria-details":0,"aria-disabled":0,"aria-hidden":0,"aria-invalid":0,"aria-keyshortcuts":0,"aria-label":0,"aria-roledescription":0,"aria-autocomplete":0,"aria-checked":0,"aria-expanded":0,"aria-haspopup":0,"aria-level":0,"aria-modal":0,"aria-multiline":0,"aria-multiselectable":0,"aria-orientation":0,"aria-placeholder":0,"aria-pressed":0,"aria-readonly":0,"aria-required":0,"aria-selected":0,"aria-sort":0,"aria-valuemax":0,"aria-valuemin":0,"aria-valuenow":0,"aria-valuetext":0,"aria-atomic":0,"aria-busy":0,"aria-live":0,"aria-relevant":0,"aria-dropeffect":0,"aria-grabbed":0,"aria-activedescendant":0,"aria-colcount":0,"aria-colindex":0,"aria-colspan":0,"aria-controls":0,"aria-describedby":0,"aria-errormessage":0,"aria-flowto":0,"aria-labelledby":0,"aria-owns":0,"aria-posinset":0,"aria-rowcount":0,"aria-rowindex":0,"aria-rowspan":0,"aria-setsize":0,"aria-braillelabel":0,"aria-brailleroledescription":0,"aria-colindextext":0,"aria-rowindextext":0},iy={},XL=RegExp("^(aria)-[: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]*$"),QL=RegExp("^(aria)[A-Z][: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]*$"),$R=!1,Ha={},KR=/^on./,ZL=/^on[^A-Z]/,JL=RegExp("^(aria)-[: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]*$"),$L=RegExp("^(aria)[A-Z][: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]*$"),KL=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i,f0=null,ay=null,ly=null,LA=!1,bu=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),NA=!1;if(bu)try{var d0={};Object.defineProperty(d0,"passive",{get:function(){NA=!0}}),window.addEventListener("test",d0,d0),window.removeEventListener("test",d0,d0)}catch{NA=!1}var uf=null,jA=null,b1=null,yh={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},S1=$n(yh),h0=ct({},yh,{view:0,detail:0}),PL=$n(h0),qA,YA,m0,T1=ct({},h0,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:od,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!==m0&&(m0&&e.type==="mousemove"?(qA=e.screenX-m0.screenX,YA=e.screenY-m0.screenY):YA=qA=0,m0=e),qA)},movementY:function(e){return"movementY"in e?e.movementY:YA}}),PR=$n(T1),FL=ct({},T1,{dataTransfer:0}),WL=$n(FL),IL=ct({},h0,{relatedTarget:0}),GA=$n(IL),e7=ct({},yh,{animationName:0,elapsedTime:0,pseudoElement:0}),t7=$n(e7),n7=ct({},yh,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),i7=$n(n7),a7=ct({},yh,{data:0}),FR=$n(a7),l7=FR,o7={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},s7={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"},u7={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"},r7=ct({},h0,{key:function(e){if(e.key){var t=o7[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=ld(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?s7[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:od,charCode:function(e){return e.type==="keypress"?ld(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?ld(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),c7=$n(r7),f7=ct({},T1,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),WR=$n(f7),d7=ct({},h0,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:od}),h7=$n(d7),m7=ct({},yh,{propertyName:0,elapsedTime:0,pseudoElement:0}),p7=$n(m7),y7=ct({},T1,{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}),g7=$n(y7),v7=ct({},yh,{newState:0,oldState:0}),b7=$n(v7),S7=[9,13,27,32],IR=229,kA=bu&&"CompositionEvent"in window,p0=null;bu&&"documentMode"in document&&(p0=document.documentMode);var T7=bu&&"TextEvent"in window&&!p0,eO=bu&&(!kA||p0&&8<p0&&11>=p0),tO=32,nO=String.fromCharCode(tO),iO=!1,oy=!1,E7={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},y0=null,g0=null,aO=!1;bu&&(aO=wm("input")&&(!document.documentMode||9<document.documentMode));var La=typeof Object.is=="function"?Object.is:Rm,A7=bu&&"documentMode"in document&&11>=document.documentMode,sy=null,XA=null,v0=null,QA=!1,uy={animationend:Lu("Animation","AnimationEnd"),animationiteration:Lu("Animation","AnimationIteration"),animationstart:Lu("Animation","AnimationStart"),transitionrun:Lu("Transition","TransitionRun"),transitionstart:Lu("Transition","TransitionStart"),transitioncancel:Lu("Transition","TransitionCancel"),transitionend:Lu("Transition","TransitionEnd")},ZA={},lO={};bu&&(lO=document.createElement("div").style,"AnimationEvent"in window||(delete uy.animationend.animation,delete uy.animationiteration.animation,delete uy.animationstart.animation),"TransitionEvent"in window||delete uy.transitionend.transition);var oO=Nu("animationend"),sO=Nu("animationiteration"),uO=Nu("animationstart"),x7=Nu("transitionrun"),_7=Nu("transitionstart"),D7=Nu("transitioncancel"),rO=Nu("transitionend"),cO=new Map,JA="abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");JA.push("scrollEnd");var fO=0;if(typeof performance=="object"&&typeof performance.now=="function")var w7=performance,dO=function(){return w7.now()};else{var R7=Date;dO=function(){return R7.now()}}var $A=typeof reportError=="function"?reportError:function(e){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof e=="object"&&e!==null&&typeof e.message=="string"?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",e);return}console.error(e)},O7="This object has been omitted by React in the console log to avoid sending too much data from the server. Try logging smaller or more specific objects.",E1=0,KA=1,PA=2,FA=3,A1="– ",x1="+ ",hO="  ",un=typeof console<"u"&&typeof console.timeStamp=="function"&&typeof performance<"u"&&typeof performance.measure=="function",Oo="Components ⚛",Tt="Scheduler ⚛",xt="Blocking",rf=!1,Ar={color:"primary",properties:null,tooltipText:"",track:Oo},cf={start:-0,end:-0,detail:{devtools:Ar}},M7=["Changed Props",""],mO="This component received deeply equal props. It might benefit from useMemo or the React Compiler in its owner.",C7=["Changed Props",mO],b0=1,xr=2,Mo=[],ry=0,WA=0,ff={};Object.freeze(ff);var Co=null,cy=null,Pe=0,z7=1,ft=2,ca=8,bs=16,U7=32,pO=!1;try{var yO=Object.preventExtensions({})}catch{pO=!0}var IA=new WeakMap,fy=[],dy=0,_1=null,S0=0,zo=[],Uo=0,gh=null,_r=1,Dr="",Zi=null,rn=null,St=!1,Su=!1,Hl=null,df=null,Bo=!1,ex=Error("Hydration Mismatch Exception: This is not a real error, and should not leak into userspace. If you're seeing this, it's likely a bug in React."),tx=ot(null),nx=ot(null),gO={},D1=null,hy=null,my=!1,B7=typeof AbortController<"u"?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(a,r){e.push(r)}};this.abort=function(){t.aborted=!0,e.forEach(function(a){return a()})}},V7=wn.unstable_scheduleCallback,H7=wn.unstable_NormalPriority,ni={$$typeof:Ul,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0,_currentRenderer:null,_currentRenderer2:null},ii=wn.unstable_now,w1=console.createTask?console.createTask:function(){return null},T0=1,R1=2,_i=-0,hf=-0,wr=-0,Rr=null,Na=-1.1,vh=-0,bn=-0,ke=-1.1,$e=-1.1,pn=null,Rn=!1,bh=-0,Tu=-1.1,E0=null,mf=0,ix=null,ax=null,Sh=-1.1,A0=null,py=-1.1,O1=-1.1,Or=-0,Mr=-1.1,Vo=-1.1,lx=0,x0=null,vO=null,bO=null,pf=-1.1,Th=null,yf=-1.1,M1=-1.1,SO=-0,TO=-0,C1=0,L7=null,EO=0,_0=-1.1,z1=!1,U1=!1,D0=null,ox=0,Eh=0,yy=null,AO=ie.S;ie.S=function(e,t){if(vM=ti(),typeof t=="object"&&t!==null&&typeof t.then=="function"){if(0>Mr&&0>Vo){Mr=ii();var a=Gc(),r=Ao();(a!==yf||r!==Th)&&(yf=-1.1),pf=a,Th=r}ts(e,t)}AO!==null&&AO(e,t)};var Ah=ot(null),Ss={recordUnsafeLifecycleWarnings:function(){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}},w0=[],R0=[],O0=[],M0=[],C0=[],z0=[],xh=new Set;Ss.recordUnsafeLifecycleWarnings=function(e,t){xh.has(e.type)||(typeof t.componentWillMount=="function"&&t.componentWillMount.__suppressDeprecationWarning!==!0&&w0.push(e),e.mode&ca&&typeof t.UNSAFE_componentWillMount=="function"&&R0.push(e),typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps.__suppressDeprecationWarning!==!0&&O0.push(e),e.mode&ca&&typeof t.UNSAFE_componentWillReceiveProps=="function"&&M0.push(e),typeof t.componentWillUpdate=="function"&&t.componentWillUpdate.__suppressDeprecationWarning!==!0&&C0.push(e),e.mode&ca&&typeof t.UNSAFE_componentWillUpdate=="function"&&z0.push(e))},Ss.flushPendingUnsafeLifecycleWarnings=function(){var e=new Set;0<w0.length&&(w0.forEach(function(T){e.add(be(T)||"Component"),xh.add(T.type)}),w0=[]);var t=new Set;0<R0.length&&(R0.forEach(function(T){t.add(be(T)||"Component"),xh.add(T.type)}),R0=[]);var a=new Set;0<O0.length&&(O0.forEach(function(T){a.add(be(T)||"Component"),xh.add(T.type)}),O0=[]);var r=new Set;0<M0.length&&(M0.forEach(function(T){r.add(be(T)||"Component"),xh.add(T.type)}),M0=[]);var d=new Set;0<C0.length&&(C0.forEach(function(T){d.add(be(T)||"Component"),xh.add(T.type)}),C0=[]);var m=new Set;if(0<z0.length&&(z0.forEach(function(T){m.add(be(T)||"Component"),xh.add(T.type)}),z0=[]),0<t.size){var b=_(t);console.error(`Using UNSAFE_componentWillMount in strict mode is not recommended and may indicate bugs in your code. See https://react.dev/link/unsafe-component-lifecycles for details.
193
-
194
- * Move code with side effects to componentDidMount, and set initial state in the constructor.
195
-
196
- Please update the following components: %s`,b)}0<r.size&&(b=_(r),console.error(`Using UNSAFE_componentWillReceiveProps in strict mode is not recommended and may indicate bugs in your code. See https://react.dev/link/unsafe-component-lifecycles for details.
197
-
198
- * Move data fetching code or side effects to componentDidUpdate.
199
- * If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://react.dev/link/derived-state
200
-
201
- Please update the following components: %s`,b)),0<m.size&&(b=_(m),console.error(`Using UNSAFE_componentWillUpdate in strict mode is not recommended and may indicate bugs in your code. See https://react.dev/link/unsafe-component-lifecycles for details.
202
-
203
- * Move data fetching code or side effects to componentDidUpdate.
204
-
205
- Please update the following components: %s`,b)),0<e.size&&(b=_(e),console.warn(`componentWillMount has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
206
-
207
- * Move code with side effects to componentDidMount, and set initial state in the constructor.
208
- * Rename componentWillMount to UNSAFE_componentWillMount to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
209
-
210
- Please update the following components: %s`,b)),0<a.size&&(b=_(a),console.warn(`componentWillReceiveProps has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
211
-
212
- * Move data fetching code or side effects to componentDidUpdate.
213
- * If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://react.dev/link/derived-state
214
- * Rename componentWillReceiveProps to UNSAFE_componentWillReceiveProps to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
215
-
216
- Please update the following components: %s`,b)),0<d.size&&(b=_(d),console.warn(`componentWillUpdate has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
217
-
218
- * Move data fetching code or side effects to componentDidUpdate.
219
- * Rename componentWillUpdate to UNSAFE_componentWillUpdate to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
220
-
221
- Please update the following components: %s`,b))};var B1=new Map,xO=new Set;Ss.recordLegacyContextWarning=function(e,t){for(var a=null,r=e;r!==null;)r.mode&ca&&(a=r),r=r.return;a===null?console.error("Expected to find a StrictMode component in a strict mode tree. This error is likely caused by a bug in React. Please file an issue."):!xO.has(e.type)&&(r=B1.get(a),e.type.contextTypes!=null||e.type.childContextTypes!=null||t!==null&&typeof t.getChildContext=="function")&&(r===void 0&&(r=[],B1.set(a,r)),r.push(e))},Ss.flushLegacyContextWarning=function(){B1.forEach(function(e){if(e.length!==0){var t=e[0],a=new Set;e.forEach(function(d){a.add(be(d)||"Component"),xO.add(d.type)});var r=_(a);_e(t,function(){console.error(`Legacy context API has been detected within a strict-mode tree.
222
-
223
- The old API will be supported in all 16.x releases, but applications using it should migrate to the new version.
224
-
225
- Please update the following components: %s
226
-
227
- Learn more about this warning here: https://react.dev/link/legacy-context`,r)})}})},Ss.discardPendingWarnings=function(){w0=[],R0=[],O0=[],M0=[],C0=[],z0=[],B1=new Map};var _O={react_stack_bottom_frame:function(e,t,a){var r=_o;_o=!0;try{return e(t,a)}finally{_o=r}}},sx=_O.react_stack_bottom_frame.bind(_O),DO={react_stack_bottom_frame:function(e){var t=_o;_o=!0;try{return e.render()}finally{_o=t}}},wO=DO.react_stack_bottom_frame.bind(DO),RO={react_stack_bottom_frame:function(e,t){try{t.componentDidMount()}catch(a){st(e,e.return,a)}}},ux=RO.react_stack_bottom_frame.bind(RO),OO={react_stack_bottom_frame:function(e,t,a,r,d){try{t.componentDidUpdate(a,r,d)}catch(m){st(e,e.return,m)}}},MO=OO.react_stack_bottom_frame.bind(OO),CO={react_stack_bottom_frame:function(e,t){var a=t.stack;e.componentDidCatch(t.value,{componentStack:a!==null?a:""})}},N7=CO.react_stack_bottom_frame.bind(CO),zO={react_stack_bottom_frame:function(e,t,a){try{a.componentWillUnmount()}catch(r){st(e,t,r)}}},UO=zO.react_stack_bottom_frame.bind(zO),BO={react_stack_bottom_frame:function(e){var t=e.create;return e=e.inst,t=t(),e.destroy=t}},j7=BO.react_stack_bottom_frame.bind(BO),VO={react_stack_bottom_frame:function(e,t,a){try{a()}catch(r){st(e,t,r)}}},q7=VO.react_stack_bottom_frame.bind(VO),HO={react_stack_bottom_frame:function(e){var t=e._init;return t(e._payload)}},Y7=HO.react_stack_bottom_frame.bind(HO),gy=Error("Suspense Exception: This is not a real error! It's an implementation detail of `use` to interrupt the current render. You must either rethrow it immediately, or move the `use` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary, or call the promise's `.catch` method and pass the result to `use`."),rx=Error("Suspense Exception: This is not a real error, and should not leak into userspace. If you're seeing this, it's likely a bug in React."),V1=Error("Suspense Exception: This is not a real error! It's an implementation detail of `useActionState` to interrupt the current render. You must either rethrow it immediately, or move the `useActionState` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary."),H1={then:function(){console.error('Internal React error: A listener was unexpectedly attached to a "noop" thenable. This is a bug in React. Please file an issue.')}},_h=null,U0=!1,vy=null,B0=0,dt=null,cx,LO=cx=!1,NO={},jO={},qO={};x=function(e,t,a){if(a!==null&&typeof a=="object"&&a._store&&(!a._store.validated&&a.key==null||a._store.validated===2)){if(typeof a._store!="object")throw Error("React Component in warnForMissingKey should have a _store. This error is likely caused by a bug in React. Please file an issue.");a._store.validated=1;var r=be(e),d=r||"null";if(!NO[d]){NO[d]=!0,a=a._owner,e=e._debugOwner;var m="";e&&typeof e.tag=="number"&&(d=be(e))&&(m=`
228
-
229
- Check the render method of \``+d+"`."),m||r&&(m=`
230
-
231
- Check the top-level render call using <`+r+">.");var b="";a!=null&&e!==a&&(r=null,typeof a.tag=="number"?r=be(a):typeof a.name=="string"&&(r=a.name),r&&(b=" It was passed a child from "+r+".")),_e(t,function(){console.error('Each child in a list should have a unique "key" prop.%s%s See https://react.dev/link/warning-keys for more information.',m,b)})}}};var Dh=Pn(!0),YO=Pn(!1),GO=0,kO=1,XO=2,fx=3,gf=!1,QO=!1,dx=null,hx=!1,by=ot(null),L1=ot(0),Ll=ot(null),Ho=null,Sy=1,V0=2,Gn=ot(0),N1=0,Lo=1,ja=2,Nl=4,qa=8,Ty,ZO=new Set,JO=new Set,mx=new Set,$O=new Set,Cr=0,Ie=null,Wt=null,ai=null,j1=!1,Ey=!1,wh=!1,q1=0,H0=0,zr=null,G7=0,k7=25,te=null,No=null,Ur=-1,L0=!1,N0={readContext:Ct,use:ls,useCallback:gn,useContext:gn,useEffect:gn,useImperativeHandle:gn,useLayoutEffect:gn,useInsertionEffect:gn,useMemo:gn,useReducer:gn,useRef:gn,useState:gn,useDebugValue:gn,useDeferredValue:gn,useTransition:gn,useSyncExternalStore:gn,useId:gn,useHostTransitionStatus:gn,useFormState:gn,useActionState:gn,useOptimistic:gn,useMemoCache:gn,useCacheRefresh:gn};N0.useEffectEvent=gn;var px=null,KO=null,yx=null,PO=null,Eu=null,Ts=null,Y1=null;px={readContext:function(e){return Ct(e)},use:ls,useCallback:function(e,t){return te="useCallback",We(),as(t),Km(e,t)},useContext:function(e){return te="useContext",We(),Ct(e)},useEffect:function(e,t){return te="useEffect",We(),as(t),tr(e,t)},useImperativeHandle:function(e,t,a){return te="useImperativeHandle",We(),as(a),co(e,t,a)},useInsertionEffect:function(e,t){te="useInsertionEffect",We(),as(t),iu(4,ja,e,t)},useLayoutEffect:function(e,t){return te="useLayoutEffect",We(),as(t),Hi(e,t)},useMemo:function(e,t){te="useMemo",We(),as(t);var a=ie.H;ie.H=Eu;try{return Li(e,t)}finally{ie.H=a}},useReducer:function(e,t,a){te="useReducer",We();var r=ie.H;ie.H=Eu;try{return vc(e,t,a)}finally{ie.H=r}},useRef:function(e){return te="useRef",We(),$m(e)},useState:function(e){te="useState",We();var t=ie.H;ie.H=Eu;try{return Is(e)}finally{ie.H=t}},useDebugValue:function(){te="useDebugValue",We()},useDeferredValue:function(e,t){return te="useDeferredValue",We(),Ac(e,t)},useTransition:function(){return te="useTransition",We(),au()},useSyncExternalStore:function(e,t,a){return te="useSyncExternalStore",We(),bc(e,t,a)},useId:function(){return te="useId",We(),Md()},useFormState:function(e,t){return te="useFormState",We(),bd(),wa(e,t)},useActionState:function(e,t){return te="useActionState",We(),wa(e,t)},useOptimistic:function(e){return te="useOptimistic",We(),er(e)},useHostTransitionStatus:rs,useMemoCache:_a,useCacheRefresh:function(){return te="useCacheRefresh",We(),Pm()},useEffectEvent:function(e){return te="useEffectEvent",We(),Rd(e)}},KO={readContext:function(e){return Ct(e)},use:ls,useCallback:function(e,t){return te="useCallback",fe(),Km(e,t)},useContext:function(e){return te="useContext",fe(),Ct(e)},useEffect:function(e,t){return te="useEffect",fe(),tr(e,t)},useImperativeHandle:function(e,t,a){return te="useImperativeHandle",fe(),co(e,t,a)},useInsertionEffect:function(e,t){te="useInsertionEffect",fe(),iu(4,ja,e,t)},useLayoutEffect:function(e,t){return te="useLayoutEffect",fe(),Hi(e,t)},useMemo:function(e,t){te="useMemo",fe();var a=ie.H;ie.H=Eu;try{return Li(e,t)}finally{ie.H=a}},useReducer:function(e,t,a){te="useReducer",fe();var r=ie.H;ie.H=Eu;try{return vc(e,t,a)}finally{ie.H=r}},useRef:function(e){return te="useRef",fe(),$m(e)},useState:function(e){te="useState",fe();var t=ie.H;ie.H=Eu;try{return Is(e)}finally{ie.H=t}},useDebugValue:function(){te="useDebugValue",fe()},useDeferredValue:function(e,t){return te="useDeferredValue",fe(),Ac(e,t)},useTransition:function(){return te="useTransition",fe(),au()},useSyncExternalStore:function(e,t,a){return te="useSyncExternalStore",fe(),bc(e,t,a)},useId:function(){return te="useId",fe(),Md()},useActionState:function(e,t){return te="useActionState",fe(),wa(e,t)},useFormState:function(e,t){return te="useFormState",fe(),bd(),wa(e,t)},useOptimistic:function(e){return te="useOptimistic",fe(),er(e)},useHostTransitionStatus:rs,useMemoCache:_a,useCacheRefresh:function(){return te="useCacheRefresh",fe(),Pm()},useEffectEvent:function(e){return te="useEffectEvent",fe(),Rd(e)}},yx={readContext:function(e){return Ct(e)},use:ls,useCallback:function(e,t){return te="useCallback",fe(),xl(e,t)},useContext:function(e){return te="useContext",fe(),Ct(e)},useEffect:function(e,t){te="useEffect",fe(),Nn(2048,qa,e,t)},useImperativeHandle:function(e,t,a){return te="useImperativeHandle",fe(),Ec(e,t,a)},useInsertionEffect:function(e,t){return te="useInsertionEffect",fe(),Nn(4,ja,e,t)},useLayoutEffect:function(e,t){return te="useLayoutEffect",fe(),Nn(4,Nl,e,t)},useMemo:function(e,t){te="useMemo",fe();var a=ie.H;ie.H=Ts;try{return ln(e,t)}finally{ie.H=a}},useReducer:function(e,t,a){te="useReducer",fe();var r=ie.H;ie.H=Ts;try{return Fu(e,t,a)}finally{ie.H=r}},useRef:function(){return te="useRef",fe(),Lt().memoizedState},useState:function(){te="useState",fe();var e=ie.H;ie.H=Ts;try{return Fu(Da)}finally{ie.H=e}},useDebugValue:function(){te="useDebugValue",fe()},useDeferredValue:function(e,t){return te="useDeferredValue",fe(),fo(e,t)},useTransition:function(){return te="useTransition",fe(),yS()},useSyncExternalStore:function(e,t,a){return te="useSyncExternalStore",fe(),Iu(e,t,a)},useId:function(){return te="useId",fe(),Lt().memoizedState},useFormState:function(e){return te="useFormState",fe(),bd(),tu(e)},useActionState:function(e){return te="useActionState",fe(),tu(e)},useOptimistic:function(e,t){return te="useOptimistic",fe(),_d(e,t)},useHostTransitionStatus:rs,useMemoCache:_a,useCacheRefresh:function(){return te="useCacheRefresh",fe(),Lt().memoizedState},useEffectEvent:function(e){return te="useEffectEvent",fe(),Tc(e)}},PO={readContext:function(e){return Ct(e)},use:ls,useCallback:function(e,t){return te="useCallback",fe(),xl(e,t)},useContext:function(e){return te="useContext",fe(),Ct(e)},useEffect:function(e,t){te="useEffect",fe(),Nn(2048,qa,e,t)},useImperativeHandle:function(e,t,a){return te="useImperativeHandle",fe(),Ec(e,t,a)},useInsertionEffect:function(e,t){return te="useInsertionEffect",fe(),Nn(4,ja,e,t)},useLayoutEffect:function(e,t){return te="useLayoutEffect",fe(),Nn(4,Nl,e,t)},useMemo:function(e,t){te="useMemo",fe();var a=ie.H;ie.H=Y1;try{return ln(e,t)}finally{ie.H=a}},useReducer:function(e,t,a){te="useReducer",fe();var r=ie.H;ie.H=Y1;try{return Wu(e,t,a)}finally{ie.H=r}},useRef:function(){return te="useRef",fe(),Lt().memoizedState},useState:function(){te="useState",fe();var e=ie.H;ie.H=Y1;try{return Wu(Da)}finally{ie.H=e}},useDebugValue:function(){te="useDebugValue",fe()},useDeferredValue:function(e,t){return te="useDeferredValue",fe(),at(e,t)},useTransition:function(){return te="useTransition",fe(),dn()},useSyncExternalStore:function(e,t,a){return te="useSyncExternalStore",fe(),Iu(e,t,a)},useId:function(){return te="useId",fe(),Lt().memoizedState},useFormState:function(e){return te="useFormState",fe(),bd(),nu(e)},useActionState:function(e){return te="useActionState",fe(),nu(e)},useOptimistic:function(e,t){return te="useOptimistic",fe(),Dd(e,t)},useHostTransitionStatus:rs,useMemoCache:_a,useCacheRefresh:function(){return te="useCacheRefresh",fe(),Lt().memoizedState},useEffectEvent:function(e){return te="useEffectEvent",fe(),Tc(e)}},Eu={readContext:function(e){return E(),Ct(e)},use:function(e){return S(),ls(e)},useCallback:function(e,t){return te="useCallback",S(),We(),Km(e,t)},useContext:function(e){return te="useContext",S(),We(),Ct(e)},useEffect:function(e,t){return te="useEffect",S(),We(),tr(e,t)},useImperativeHandle:function(e,t,a){return te="useImperativeHandle",S(),We(),co(e,t,a)},useInsertionEffect:function(e,t){te="useInsertionEffect",S(),We(),iu(4,ja,e,t)},useLayoutEffect:function(e,t){return te="useLayoutEffect",S(),We(),Hi(e,t)},useMemo:function(e,t){te="useMemo",S(),We();var a=ie.H;ie.H=Eu;try{return Li(e,t)}finally{ie.H=a}},useReducer:function(e,t,a){te="useReducer",S(),We();var r=ie.H;ie.H=Eu;try{return vc(e,t,a)}finally{ie.H=r}},useRef:function(e){return te="useRef",S(),We(),$m(e)},useState:function(e){te="useState",S(),We();var t=ie.H;ie.H=Eu;try{return Is(e)}finally{ie.H=t}},useDebugValue:function(){te="useDebugValue",S(),We()},useDeferredValue:function(e,t){return te="useDeferredValue",S(),We(),Ac(e,t)},useTransition:function(){return te="useTransition",S(),We(),au()},useSyncExternalStore:function(e,t,a){return te="useSyncExternalStore",S(),We(),bc(e,t,a)},useId:function(){return te="useId",S(),We(),Md()},useFormState:function(e,t){return te="useFormState",S(),We(),wa(e,t)},useActionState:function(e,t){return te="useActionState",S(),We(),wa(e,t)},useOptimistic:function(e){return te="useOptimistic",S(),We(),er(e)},useMemoCache:function(e){return S(),_a(e)},useHostTransitionStatus:rs,useCacheRefresh:function(){return te="useCacheRefresh",We(),Pm()},useEffectEvent:function(e){return te="useEffectEvent",S(),We(),Rd(e)}},Ts={readContext:function(e){return E(),Ct(e)},use:function(e){return S(),ls(e)},useCallback:function(e,t){return te="useCallback",S(),fe(),xl(e,t)},useContext:function(e){return te="useContext",S(),fe(),Ct(e)},useEffect:function(e,t){te="useEffect",S(),fe(),Nn(2048,qa,e,t)},useImperativeHandle:function(e,t,a){return te="useImperativeHandle",S(),fe(),Ec(e,t,a)},useInsertionEffect:function(e,t){return te="useInsertionEffect",S(),fe(),Nn(4,ja,e,t)},useLayoutEffect:function(e,t){return te="useLayoutEffect",S(),fe(),Nn(4,Nl,e,t)},useMemo:function(e,t){te="useMemo",S(),fe();var a=ie.H;ie.H=Ts;try{return ln(e,t)}finally{ie.H=a}},useReducer:function(e,t,a){te="useReducer",S(),fe();var r=ie.H;ie.H=Ts;try{return Fu(e,t,a)}finally{ie.H=r}},useRef:function(){return te="useRef",S(),fe(),Lt().memoizedState},useState:function(){te="useState",S(),fe();var e=ie.H;ie.H=Ts;try{return Fu(Da)}finally{ie.H=e}},useDebugValue:function(){te="useDebugValue",S(),fe()},useDeferredValue:function(e,t){return te="useDeferredValue",S(),fe(),fo(e,t)},useTransition:function(){return te="useTransition",S(),fe(),yS()},useSyncExternalStore:function(e,t,a){return te="useSyncExternalStore",S(),fe(),Iu(e,t,a)},useId:function(){return te="useId",S(),fe(),Lt().memoizedState},useFormState:function(e){return te="useFormState",S(),fe(),tu(e)},useActionState:function(e){return te="useActionState",S(),fe(),tu(e)},useOptimistic:function(e,t){return te="useOptimistic",S(),fe(),_d(e,t)},useMemoCache:function(e){return S(),_a(e)},useHostTransitionStatus:rs,useCacheRefresh:function(){return te="useCacheRefresh",fe(),Lt().memoizedState},useEffectEvent:function(e){return te="useEffectEvent",S(),fe(),Tc(e)}},Y1={readContext:function(e){return E(),Ct(e)},use:function(e){return S(),ls(e)},useCallback:function(e,t){return te="useCallback",S(),fe(),xl(e,t)},useContext:function(e){return te="useContext",S(),fe(),Ct(e)},useEffect:function(e,t){te="useEffect",S(),fe(),Nn(2048,qa,e,t)},useImperativeHandle:function(e,t,a){return te="useImperativeHandle",S(),fe(),Ec(e,t,a)},useInsertionEffect:function(e,t){return te="useInsertionEffect",S(),fe(),Nn(4,ja,e,t)},useLayoutEffect:function(e,t){return te="useLayoutEffect",S(),fe(),Nn(4,Nl,e,t)},useMemo:function(e,t){te="useMemo",S(),fe();var a=ie.H;ie.H=Ts;try{return ln(e,t)}finally{ie.H=a}},useReducer:function(e,t,a){te="useReducer",S(),fe();var r=ie.H;ie.H=Ts;try{return Wu(e,t,a)}finally{ie.H=r}},useRef:function(){return te="useRef",S(),fe(),Lt().memoizedState},useState:function(){te="useState",S(),fe();var e=ie.H;ie.H=Ts;try{return Wu(Da)}finally{ie.H=e}},useDebugValue:function(){te="useDebugValue",S(),fe()},useDeferredValue:function(e,t){return te="useDeferredValue",S(),fe(),at(e,t)},useTransition:function(){return te="useTransition",S(),fe(),dn()},useSyncExternalStore:function(e,t,a){return te="useSyncExternalStore",S(),fe(),Iu(e,t,a)},useId:function(){return te="useId",S(),fe(),Lt().memoizedState},useFormState:function(e){return te="useFormState",S(),fe(),nu(e)},useActionState:function(e){return te="useActionState",S(),fe(),nu(e)},useOptimistic:function(e,t){return te="useOptimistic",S(),fe(),Dd(e,t)},useMemoCache:function(e){return S(),_a(e)},useHostTransitionStatus:rs,useCacheRefresh:function(){return te="useCacheRefresh",fe(),Lt().memoizedState},useEffectEvent:function(e){return te="useEffectEvent",S(),fe(),Tc(e)}};var FO={},WO=new Set,IO=new Set,eM=new Set,tM=new Set,nM=new Set,iM=new Set,aM=new Set,lM=new Set,oM=new Set,sM=new Set;Object.freeze(FO);var gx={enqueueSetState:function(e,t,a){e=e._reactInternals;var r=Ei(e),d=Ln(r);d.payload=t,a!=null&&(lr(a),d.callback=a),t=oo(e,d,r),t!==null&&(io(r,"this.setState()",e),Fe(t,e,r),Wa(t,e,r))},enqueueReplaceState:function(e,t,a){e=e._reactInternals;var r=Ei(e),d=Ln(r);d.tag=kO,d.payload=t,a!=null&&(lr(a),d.callback=a),t=oo(e,d,r),t!==null&&(io(r,"this.replaceState()",e),Fe(t,e,r),Wa(t,e,r))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var a=Ei(e),r=Ln(a);r.tag=XO,t!=null&&(lr(t),r.callback=t),t=oo(e,r,a),t!==null&&(io(a,"this.forceUpdate()",e),Fe(t,e,a),Wa(t,e,a))}},Ay=null,vx=null,bx=Error("This is not a real error. It's an implementation detail of React's selective hydration feature. If this leaks into userspace, it's a bug in React. Please file an issue."),li=!1,uM={},rM={},cM={},fM={},xy=!1,dM={},G1={},Sx={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null},hM=!1,mM=null;mM=new Set;var Br=!1,oi=!1,Tx=!1,pM=typeof WeakSet=="function"?WeakSet:Set,Di=null,_y=null,Dy=null,si=null,al=!1,Es=null,pi=!1,j0=8192,X7={getCacheForType:function(e){var t=Ct(ni),a=t.data.get(e);return a===void 0&&(a=e(),t.data.set(e,a)),a},cacheSignal:function(){return Ct(ni).controller.signal},getOwner:function(){return ra}};if(typeof Symbol=="function"&&Symbol.for){var q0=Symbol.for;q0("selector.component"),q0("selector.has_pseudo_class"),q0("selector.role"),q0("selector.test_id"),q0("selector.text")}var Q7=[],Z7=typeof WeakMap=="function"?WeakMap:Map,wi=0,yi=2,jl=4,Vr=0,Y0=1,Rh=2,k1=3,vf=4,X1=6,yM=5,Dt=wi,It=null,yt=null,ht=0,ll=0,Q1=1,Oh=2,G0=3,gM=4,Ex=5,k0=6,Z1=7,Ax=8,Mh=9,Jt=ll,ql=null,bf=!1,wy=!1,xx=!1,Au=0,Sn=Vr,Sf=0,Tf=0,_x=0,ol=0,Ch=0,X0=null,Ya=null,J1=!1,$1=0,vM=0,bM=300,K1=1/0,SM=500,Q0=null,Bn=null,Ef=null,P1=0,Dx=1,wx=2,TM=3,Af=0,EM=1,AM=2,xM=3,_M=4,F1=5,ui=0,xf=null,Ry=null,As=0,Rx=0,Ox=-0,Mx=null,DM=null,wM=null,xs=P1,RM=null,J7=50,Z0=0,Cx=null,zx=!1,W1=!1,$7=50,zh=0,J0=null,Oy=!1,I1=null,OM=!1,MM=new Set,K7={},eT=null,My=null,Ux=!1,Bx=!1,tT=!1,Vx=!1,_f=0,Hx={};(function(){for(var e=0;e<JA.length;e++){var t=JA[e],a=t.toLowerCase();t=t[0].toUpperCase()+t.slice(1),ml(a,"on"+t)}ml(oO,"onAnimationEnd"),ml(sO,"onAnimationIteration"),ml(uO,"onAnimationStart"),ml("dblclick","onDoubleClick"),ml("focusin","onFocus"),ml("focusout","onBlur"),ml(x7,"onTransitionRun"),ml(_7,"onTransitionStart"),ml(D7,"onTransitionCancel"),ml(rO,"onTransitionEnd")})(),nt("onMouseEnter",["mouseout","mouseover"]),nt("onMouseLeave",["mouseout","mouseover"]),nt("onPointerEnter",["pointerout","pointerover"]),nt("onPointerLeave",["pointerout","pointerover"]),mt("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),mt("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),mt("onBeforeInput",["compositionend","keypress","textInput","paste"]),mt("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),mt("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),mt("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var $0="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(" "),Lx=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat($0)),nT="_reactListening"+Math.random().toString(36).slice(2),CM=!1,zM=!1,iT=!1,UM=!1,aT=!1,lT=!1,BM=!1,oT={},P7=/\r\n?/g,F7=/\u0000|\uFFFD/g,Uh="http://www.w3.org/1999/xlink",Nx="http://www.w3.org/XML/1998/namespace",W7="javascript:throw new Error('React form unexpectedly submitted.')",I7="suppressHydrationWarning",Bh="&",sT="/&",K0="$",P0="/$",Df="$?",Vh="$~",Cy="$!",eN="html",tN="body",nN="head",jx="F!",VM="F",HM="loading",iN="style",Hr=0,zy=1,uT=2,qx=null,Yx=null,LM={dialog:!0,webview:!0},Gx=null,F0=void 0,NM=typeof setTimeout=="function"?setTimeout:void 0,aN=typeof clearTimeout=="function"?clearTimeout:void 0,Hh=-1,jM=typeof Promise=="function"?Promise:void 0,lN=typeof queueMicrotask=="function"?queueMicrotask:typeof jM<"u"?function(e){return jM.resolve(null).then(e).catch(NS)}:NM,kx=null,Lh=0,W0=1,qM=2,YM=3,jo=4,qo=new Map,GM=new Set,Lr=Ut.d;Ut.d={f:function(){var e=Lr.f(),t=za();return e||t},r:function(e){var t=Se(e);t!==null&&t.tag===5&&t.type==="form"?xc(t):Lr.r(e)},D:function(e){Lr.D(e),jv("dns-prefetch",e,null)},C:function(e,t){Lr.C(e,t),jv("preconnect",e,t)},L:function(e,t,a){Lr.L(e,t,a);var r=Uy;if(r&&e&&t){var d='link[rel="preload"][as="'+Gt(t)+'"]';t==="image"&&a&&a.imageSrcSet?(d+='[imagesrcset="'+Gt(a.imageSrcSet)+'"]',typeof a.imageSizes=="string"&&(d+='[imagesizes="'+Gt(a.imageSizes)+'"]')):d+='[href="'+Gt(e)+'"]';var m=d;switch(t){case"style":m=pr(e);break;case"script":m=yr(e)}qo.has(m)||(e=ct({rel:"preload",href:t==="image"&&a&&a.imageSrcSet?void 0:e,as:t},a),qo.set(m,e),r.querySelector(d)!==null||t==="style"&&r.querySelector(nh(m))||t==="script"&&r.querySelector(ih(m))||(t=r.createElement("link"),on(t,"link",e),Ve(t),r.head.appendChild(t)))}},m:function(e,t){Lr.m(e,t);var a=Uy;if(a&&e){var r=t&&typeof t.as=="string"?t.as:"script",d='link[rel="modulepreload"][as="'+Gt(r)+'"][href="'+Gt(e)+'"]',m=d;switch(r){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":m=yr(e)}if(!qo.has(m)&&(e=ct({rel:"modulepreload",href:e},t),qo.set(m,e),a.querySelector(d)===null)){switch(r){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(a.querySelector(ih(m)))return}r=a.createElement("link"),on(r,"link",e),Ve(r),a.head.appendChild(r)}}},X:function(e,t){Lr.X(e,t);var a=Uy;if(a&&e){var r=Je(a).hoistableScripts,d=yr(e),m=r.get(d);m||(m=a.querySelector(ih(d)),m||(e=ct({src:e,async:!0},t),(t=qo.get(d))&&Gv(e,t),m=a.createElement("script"),Ve(m),on(m,"link",e),a.head.appendChild(m)),m={type:"script",instance:m,count:1,state:null},r.set(d,m))}},S:function(e,t,a){Lr.S(e,t,a);var r=Uy;if(r&&e){var d=Je(r).hoistableStyles,m=pr(e);t=t||"default";var b=d.get(m);if(!b){var T={loading:Lh,preload:null};if(b=r.querySelector(nh(m)))T.loading=W0|jo;else{e=ct({rel:"stylesheet",href:e,"data-precedence":t},a),(a=qo.get(m))&&Yv(e,a);var R=b=r.createElement("link");Ve(R),on(R,"link",e),R._p=new Promise(function(O,q){R.onload=O,R.onerror=q}),R.addEventListener("load",function(){T.loading|=W0}),R.addEventListener("error",function(){T.loading|=qM}),T.loading|=jo,Qc(b,t,r)}b={type:"stylesheet",instance:b,count:1,state:T},d.set(m,b)}}},M:function(e,t){Lr.M(e,t);var a=Uy;if(a&&e){var r=Je(a).hoistableScripts,d=yr(e),m=r.get(d);m||(m=a.querySelector(ih(d)),m||(e=ct({src:e,async:!0,type:"module"},t),(t=qo.get(d))&&Gv(e,t),m=a.createElement("script"),Ve(m),on(m,"link",e),a.head.appendChild(m)),m={type:"script",instance:m,count:1,state:null},r.set(d,m))}}};var Uy=typeof document>"u"?null:document,rT=null,oN=6e4,sN=800,uN=500,Xx=0,Qx=null,cT=null,Nh=VA,I0={$$typeof:Ul,Provider:null,Consumer:null,_currentValue:Nh,_currentValue2:Nh,_threadCount:0},kM="%c%s%c",XM="background: #e6e6e6;background: light-dark(rgba(0,0,0,0.1), rgba(255,255,255,0.25));color: #000000;color: light-dark(#000000, #ffffff);border-radius: 2px",QM="",fT=" ",rN=Function.prototype.bind,ZM=!1,JM=null,$M=null,KM=null,PM=null,FM=null,WM=null,IM=null,eC=null,tC=null,nC=null;JM=function(e,t,a,r){t=o(e,t),t!==null&&(a=n(t.memoizedState,a,0,r),t.memoizedState=a,t.baseState=a,e.memoizedProps=ct({},e.memoizedProps),a=Si(e,2),a!==null&&Fe(a,e,2))},$M=function(e,t,a){t=o(e,t),t!==null&&(a=h(t.memoizedState,a,0),t.memoizedState=a,t.baseState=a,e.memoizedProps=ct({},e.memoizedProps),a=Si(e,2),a!==null&&Fe(a,e,2))},KM=function(e,t,a,r){t=o(e,t),t!==null&&(a=u(t.memoizedState,a,r),t.memoizedState=a,t.baseState=a,e.memoizedProps=ct({},e.memoizedProps),a=Si(e,2),a!==null&&Fe(a,e,2))},PM=function(e,t,a){e.pendingProps=n(e.memoizedProps,t,0,a),e.alternate&&(e.alternate.pendingProps=e.pendingProps),t=Si(e,2),t!==null&&Fe(t,e,2)},FM=function(e,t){e.pendingProps=h(e.memoizedProps,t,0),e.alternate&&(e.alternate.pendingProps=e.pendingProps),t=Si(e,2),t!==null&&Fe(t,e,2)},WM=function(e,t,a){e.pendingProps=u(e.memoizedProps,t,a),e.alternate&&(e.alternate.pendingProps=e.pendingProps),t=Si(e,2),t!==null&&Fe(t,e,2)},IM=function(e){var t=Si(e,2);t!==null&&Fe(t,e,2)},eC=function(e){var t=Pr(),a=Si(e,t);a!==null&&Fe(a,e,t)},tC=function(e){y=e},nC=function(e){p=e};var dT=!0,hT=null,Zx=!1,wf=null,Rf=null,Of=null,eb=new Map,tb=new Map,Mf=[],cN="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(" "),mT=null;if(zl.prototype.render=Wv.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error("Cannot update an unmounted root.");var a=arguments;typeof a[1]=="function"?console.error("does not support the second callback argument. To execute a side effect after rendering, declare it in a component body with useEffect()."):Q(a[1])?console.error("You passed a container to the second argument of root.render(...). You don't need to pass it again since you already passed it to create the root."):typeof a[1]<"u"&&console.error("You passed a second argument to root.render(...) but it only accepts one argument."),a=e;var r=t.current,d=Ei(r);qp(r,d,a,t,null,null)},zl.prototype.unmount=Wv.prototype.unmount=function(){var e=arguments;if(typeof e[0]=="function"&&console.error("does not support a callback argument. To execute a side effect after rendering, declare it in a component body with useEffect()."),e=this._internalRoot,e!==null){this._internalRoot=null;var t=e.containerInfo;(Dt&(yi|jl))!==wi&&console.error("Attempted to synchronously unmount a root while React was already rendering. React cannot finish unmounting the root until the current render has completed, which may lead to a race condition."),qp(e.current,2,null,e,null,null),za(),t[vs]=null}},zl.prototype.unstable_scheduleHydration=function(e){if(e){var t=Hs();e={blockedOn:null,target:e,priority:t};for(var a=0;a<Mf.length&&t!==0&&t<Mf[a].priority;a++);Mf.splice(a,0,e),a===0&&Fv(e)}},(function(){var e=uh.version;if(e!=="19.2.3")throw Error(`Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:
232
- - react: `+(e+`
233
- - react-dom: 19.2.3
234
- Learn more: https://react.dev/warnings/version-mismatch`))})(),typeof Map=="function"&&Map.prototype!=null&&typeof Map.prototype.forEach=="function"&&typeof Set=="function"&&Set.prototype!=null&&typeof Set.prototype.clear=="function"&&typeof Set.prototype.forEach=="function"||console.error("React depends on Map and Set built-in types. Make sure that you load a polyfill in older browsers. https://react.dev/link/react-polyfills"),Ut.findDOMNode=function(e){var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error("Unable to find node on an unmounted component."):(e=Object.keys(e).join(","),Error("Argument appears to not be a ReactComponent. Keys: "+e));return e=ye(t),e=e!==null?xe(e):null,e=e===null?null:e.stateNode,e},!(function(){var e={bundleType:1,version:"19.2.3",rendererPackageName:"react-dom",currentDispatcherRef:ie,reconcilerVersion:"19.2.3"};return e.overrideHookState=JM,e.overrideHookStateDeletePath=$M,e.overrideHookStateRenamePath=KM,e.overrideProps=PM,e.overridePropsDeletePath=FM,e.overridePropsRenamePath=WM,e.scheduleUpdate=IM,e.scheduleRetry=eC,e.setErrorHandler=tC,e.setSuspenseHandler=nC,e.scheduleRefresh=V,e.scheduleRoot=z,e.setRefreshHandler=X,e.getCurrentFiber=Qt,Wf(e)})()&&bu&&window.top===window.self&&(-1<navigator.userAgent.indexOf("Chrome")&&navigator.userAgent.indexOf("Edge")===-1||-1<navigator.userAgent.indexOf("Firefox"))){var iC=window.location.protocol;/^(https?|file):$/.test(iC)&&console.info("%cDownload the React DevTools for a better development experience: https://react.dev/link/react-devtools"+(iC==="file:"?`
235
- You might need to use a local HTTP server (instead of file://): https://react.dev/link/react-devtools-faq`:""),"font-weight:bold")}Hy.createRoot=function(e,t){if(!Q(e))throw Error("Target container is not a DOM element.");Iv(e);var a=!1,r="",d=Im,m=ep,b=Jg;return t!=null&&(t.hydrate?console.warn("hydrate through createRoot is deprecated. Use ReactDOMClient.hydrateRoot(container, <App />) instead."):typeof t=="object"&&t!==null&&t.$$typeof===nl&&console.error(`You passed a JSX element to createRoot. You probably meant to call root.render instead. Example usage:
236
-
237
- let root = createRoot(domContainer);
238
- root.render(<App />);`),t.unstable_strictMode===!0&&(a=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onUncaughtError!==void 0&&(d=t.onUncaughtError),t.onCaughtError!==void 0&&(m=t.onCaughtError),t.onRecoverableError!==void 0&&(b=t.onRecoverableError)),t=oh(e,1,!1,null,null,a,r,null,d,m,b,u1),e[vs]=t.current,fu(e),new Wv(t)},Hy.hydrateRoot=function(e,t,a){if(!Q(e))throw Error("Target container is not a DOM element.");Iv(e),t===void 0&&console.error("Must provide initial children as second argument to hydrateRoot. Example usage: hydrateRoot(domContainer, <App />)");var r=!1,d="",m=Im,b=ep,T=Jg,R=null;return a!=null&&(a.unstable_strictMode===!0&&(r=!0),a.identifierPrefix!==void 0&&(d=a.identifierPrefix),a.onUncaughtError!==void 0&&(m=a.onUncaughtError),a.onCaughtError!==void 0&&(b=a.onCaughtError),a.onRecoverableError!==void 0&&(T=a.onRecoverableError),a.formState!==void 0&&(R=a.formState)),t=oh(e,1,!0,t,a??null,r,d,R,m,b,T,u1),t.context=a1(null),a=t.current,r=Ei(a),r=ka(r),d=Ln(r),d.callback=null,oo(a,d,r),io(r,"hydrateRoot()",null),a=r,t.current.lanes=a,fl(t,a),la(t),e[vs]=t.current,fu(e),new zl(t)},Hy.version="19.2.3",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()),Hy}var o_;function mC(){if(o_)return ib.exports;o_=1;function o(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function")){if(process.env.NODE_ENV!=="production")throw new Error("^_^");try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(o)}catch(n){console.error(n)}}}return process.env.NODE_ENV==="production"?(o(),ib.exports=dC()):ib.exports=hC(),ib.exports}var pC=mC(),ob={exports:{}},Ly={};var s_;function yC(){if(s_)return Ly;s_=1;var o=Symbol.for("react.transitional.element"),n=Symbol.for("react.fragment");function u(c,h,p){var y=null;if(p!==void 0&&(y=""+p),h.key!==void 0&&(y=""+h.key),"key"in h){p={};for(var S in h)S!=="key"&&(p[S]=h[S])}else p=h;return h=p.ref,{$$typeof:o,type:c,key:y,ref:h!==void 0?h:null,props:p}}return Ly.Fragment=n,Ly.jsx=u,Ly.jsxs=u,Ly}var Ny={};var u_;function gC(){return u_||(u_=1,process.env.NODE_ENV!=="production"&&(function(){function o(U){if(U==null)return null;if(typeof U=="function")return U.$$typeof===ot?null:U.displayName||U.name||null;if(typeof U=="string")return U;switch(U){case Q:return"Fragment";case le:return"Profiler";case $:return"StrictMode";case xe:return"Suspense";case ve:return"SuspenseList";case be:return"Activity"}if(typeof U=="object")switch(typeof U.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),U.$$typeof){case X:return"Portal";case oe:return U.displayName||"Context";case ee:return(U._context.displayName||"Context")+".Consumer";case ye:var P=U.render;return U=U.displayName,U||(U=P.displayName||P.name||"",U=U!==""?"ForwardRef("+U+")":"ForwardRef"),U;case he:return P=U.displayName||null,P!==null?P:o(U.type)||"Memo";case Re:P=U._payload,U=U._init;try{return o(U(P))}catch{}}return null}function n(U){return""+U}function u(U){try{n(U);var P=!1}catch{P=!0}if(P){P=console;var pe=P.error,me=typeof Symbol=="function"&&Symbol.toStringTag&&U[Symbol.toStringTag]||U.constructor.name||"Object";return pe.call(P,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",me),n(U)}}function c(U){if(U===Q)return"<>";if(typeof U=="object"&&U!==null&&U.$$typeof===Re)return"<...>";try{var P=o(U);return P?"<"+P+">":"<...>"}catch{return"<...>"}}function h(){var U=we.A;return U===null?null:U.getOwner()}function p(){return Error("react-stack-top-frame")}function y(U){if(Qe.call(U,"key")){var P=Object.getOwnPropertyDescriptor(U,"key").get;if(P&&P.isReactWarning)return!1}return U.key!==void 0}function S(U,P){function pe(){Y||(Y=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",P))}pe.isReactWarning=!0,Object.defineProperty(U,"key",{get:pe,configurable:!0})}function E(){var U=o(this.type);return ne[U]||(ne[U]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),U=this.props.ref,U!==void 0?U:null}function A(U,P,pe,me,je,tt){var Ge=pe.ref;return U={$$typeof:V,type:U,key:P,props:pe,_owner:me},(Ge!==void 0?Ge:null)!==null?Object.defineProperty(U,"ref",{enumerable:!1,get:E}):Object.defineProperty(U,"ref",{enumerable:!1,value:null}),U._store={},Object.defineProperty(U._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(U,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(U,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:je}),Object.defineProperty(U,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:tt}),Object.freeze&&(Object.freeze(U.props),Object.freeze(U)),U}function x(U,P,pe,me,je,tt){var Ge=P.children;if(Ge!==void 0)if(me)if(Vt(Ge)){for(me=0;me<Ge.length;me++)_(Ge[me]);Object.freeze&&Object.freeze(Ge)}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else _(Ge);if(Qe.call(P,"key")){Ge=o(U);var en=Object.keys(P).filter(function(pa){return pa!=="key"});me=0<en.length?"{key: someKey, "+en.join(": ..., ")+": ...}":"{key: someKey}",Le[Ge+me]||(en=0<en.length?"{"+en.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
239
- let props = %s;
240
- <%s {...props} />
241
- React keys must be passed directly to JSX without using spread:
242
- let props = %s;
243
- <%s key={someKey} {...props} />`,me,Ge,en,Ge),Le[Ge+me]=!0)}if(Ge=null,pe!==void 0&&(u(pe),Ge=""+pe),y(P)&&(u(P.key),Ge=""+P.key),"key"in P){pe={};for(var wt in P)wt!=="key"&&(pe[wt]=P[wt])}else pe=P;return Ge&&S(pe,typeof U=="function"?U.displayName||U.name||"Unknown":U),A(U,Ge,pe,h(),je,tt)}function _(U){w(U)?U._store&&(U._store.validated=1):typeof U=="object"&&U!==null&&U.$$typeof===Re&&(U._payload.status==="fulfilled"?w(U._payload.value)&&U._payload.value._store&&(U._payload.value._store.validated=1):U._store&&(U._store.validated=1))}function w(U){return typeof U=="object"&&U!==null&&U.$$typeof===V}var z=jh(),V=Symbol.for("react.transitional.element"),X=Symbol.for("react.portal"),Q=Symbol.for("react.fragment"),$=Symbol.for("react.strict_mode"),le=Symbol.for("react.profiler"),ee=Symbol.for("react.consumer"),oe=Symbol.for("react.context"),ye=Symbol.for("react.forward_ref"),xe=Symbol.for("react.suspense"),ve=Symbol.for("react.suspense_list"),he=Symbol.for("react.memo"),Re=Symbol.for("react.lazy"),be=Symbol.for("react.activity"),ot=Symbol.for("react.client.reference"),we=z.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Qe=Object.prototype.hasOwnProperty,Vt=Array.isArray,Yt=console.createTask?console.createTask:function(){return null};z={react_stack_bottom_frame:function(U){return U()}};var Y,ne={},de=z.react_stack_bottom_frame.bind(z,p)(),Oe=Yt(c(p)),Le={};Ny.Fragment=Q,Ny.jsx=function(U,P,pe){var me=1e4>we.recentlyCreatedOwnerStacks++;return x(U,P,pe,!1,me?Error("react-stack-top-frame"):de,me?Yt(c(U)):Oe)},Ny.jsxs=function(U,P,pe){var me=1e4>we.recentlyCreatedOwnerStacks++;return x(U,P,pe,!0,me?Error("react-stack-top-frame"):de,me?Yt(c(U)):Oe)}})()),Ny}var r_;function vC(){return r_||(r_=1,process.env.NODE_ENV==="production"?ob.exports=yC():ob.exports=gC()),ob.exports}var _s=vC();const gT=Ce.createContext({});function sb(o){const n=Ce.useRef(null);return n.current===null&&(n.current=o()),n.current}const c_=typeof window<"u",vT=c_?Ce.useLayoutEffect:Ce.useEffect,ub=Ce.createContext(null);function bT(o,n){o.indexOf(n)===-1&&o.push(n)}function ST(o,n){const u=o.indexOf(n);u>-1&&o.splice(u,1)}const Ds=(o,n,u)=>u>n?n:u<o?o:u;function TT(o,n){return n?`${o}. For more information and steps for solving, visit https://motion.dev/troubleshooting/${n}`:o}let qh=()=>{},Yo=()=>{};typeof process<"u"&&process.env?.NODE_ENV!=="production"&&(qh=(o,n,u)=>{!o&&typeof console<"u"&&console.warn(TT(n,u))},Yo=(o,n,u)=>{if(!o)throw new Error(TT(n,u))});const xu={},f_=o=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(o);function d_(o){return typeof o=="object"&&o!==null}const h_=o=>/^0[^.\s]+$/u.test(o);function ET(o){let n;return()=>(n===void 0&&(n=o()),n)}const Yl=o=>o,bC=(o,n)=>u=>n(o(u)),jy=(...o)=>o.reduce(bC),qy=(o,n,u)=>{const c=n-o;return c===0?1:(u-o)/c};class AT{constructor(){this.subscriptions=[]}add(n){return bT(this.subscriptions,n),()=>ST(this.subscriptions,n)}notify(n,u,c){const h=this.subscriptions.length;if(h)if(h===1)this.subscriptions[0](n,u,c);else for(let p=0;p<h;p++){const y=this.subscriptions[p];y&&y(n,u,c)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const ws=o=>o*1e3,Gl=o=>o/1e3;function m_(o,n){return n?o*(1e3/n):0}const p_=new Set;function xT(o,n,u){o||p_.has(n)||(console.warn(TT(n,u)),p_.add(n))}const y_=(o,n,u)=>(((1-3*u+3*n)*o+(3*u-6*n))*o+3*n)*o,SC=1e-7,TC=12;function EC(o,n,u,c,h){let p,y,S=0;do y=n+(u-n)/2,p=y_(y,c,h)-o,p>0?u=y:n=y;while(Math.abs(p)>SC&&++S<TC);return y}function Yy(o,n,u,c){if(o===n&&u===c)return Yl;const h=p=>EC(p,0,1,o,u);return p=>p===0||p===1?p:y_(h(p),n,c)}const g_=o=>n=>n<=.5?o(2*n)/2:(2-o(2*(1-n)))/2,v_=o=>n=>1-o(1-n),b_=Yy(.33,1.53,.69,.99),_T=v_(b_),S_=g_(_T),T_=o=>(o*=2)<1?.5*_T(o):.5*(2-Math.pow(2,-10*(o-1))),DT=o=>1-Math.sin(Math.acos(o)),E_=v_(DT),A_=g_(DT),AC=Yy(.42,0,1,1),xC=Yy(0,0,.58,1),x_=Yy(.42,0,.58,1),_C=o=>Array.isArray(o)&&typeof o[0]!="number",__=o=>Array.isArray(o)&&typeof o[0]=="number",D_={linear:Yl,easeIn:AC,easeInOut:x_,easeOut:xC,circIn:DT,circInOut:A_,circOut:E_,backIn:_T,backInOut:S_,backOut:b_,anticipate:T_},DC=o=>typeof o=="string",w_=o=>{if(__(o)){Yo(o.length===4,"Cubic bezier arrays must contain four numerical values.","cubic-bezier-length");const[n,u,c,h]=o;return Yy(n,u,c,h)}else if(DC(o))return Yo(D_[o]!==void 0,`Invalid easing type '${o}'`,"invalid-easing-type"),D_[o];return o},rb=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function wC(o,n){let u=new Set,c=new Set,h=!1,p=!1;const y=new WeakSet;let S={delta:0,timestamp:0,isProcessing:!1};function E(x){y.has(x)&&(A.schedule(x),o()),x(S)}const A={schedule:(x,_=!1,w=!1)=>{const V=w&&h?u:c;return _&&y.add(x),V.has(x)||V.add(x),x},cancel:x=>{c.delete(x),y.delete(x)},process:x=>{if(S=x,h){p=!0;return}h=!0,[u,c]=[c,u],u.forEach(E),u.clear(),h=!1,p&&(p=!1,A.process(x))}};return A}const RC=40;function R_(o,n){let u=!1,c=!0;const h={delta:0,timestamp:0,isProcessing:!1},p=()=>u=!0,y=rb.reduce((ee,oe)=>(ee[oe]=wC(p),ee),{}),{setup:S,read:E,resolveKeyframes:A,preUpdate:x,update:_,preRender:w,render:z,postRender:V}=y,X=()=>{const ee=xu.useManualTiming?h.timestamp:performance.now();u=!1,xu.useManualTiming||(h.delta=c?1e3/60:Math.max(Math.min(ee-h.timestamp,RC),1)),h.timestamp=ee,h.isProcessing=!0,S.process(h),E.process(h),A.process(h),x.process(h),_.process(h),w.process(h),z.process(h),V.process(h),h.isProcessing=!1,u&&n&&(c=!1,o(X))},Q=()=>{u=!0,c=!0,h.isProcessing||o(X)};return{schedule:rb.reduce((ee,oe)=>{const ye=y[oe];return ee[oe]=(xe,ve=!1,he=!1)=>(u||Q(),ye.schedule(xe,ve,he)),ee},{}),cancel:ee=>{for(let oe=0;oe<rb.length;oe++)y[rb[oe]].cancel(ee)},state:h,steps:y}}const{schedule:fn,cancel:jr,state:Ri,steps:wT}=R_(typeof requestAnimationFrame<"u"?requestAnimationFrame:Yl,!0);let cb;function OC(){cb=void 0}const fa={now:()=>(cb===void 0&&fa.set(Ri.isProcessing||xu.useManualTiming?Ri.timestamp:performance.now()),cb),set:o=>{cb=o,queueMicrotask(OC)}},O_=o=>n=>typeof n=="string"&&n.startsWith(o),M_=O_("--"),MC=O_("var(--"),RT=o=>MC(o)?CC.test(o.split("/*")[0].trim()):!1,CC=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function C_(o){return typeof o!="string"?!1:o.split("/*")[0].includes("var(--")}const Yh={test:o=>typeof o=="number",parse:parseFloat,transform:o=>o},Gy={...Yh,transform:o=>Ds(0,1,o)},fb={...Yh,default:1},ky=o=>Math.round(o*1e5)/1e5,OT=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function zC(o){return o==null}const UC=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,MT=(o,n)=>u=>!!(typeof u=="string"&&UC.test(u)&&u.startsWith(o)||n&&!zC(u)&&Object.prototype.hasOwnProperty.call(u,n)),z_=(o,n,u)=>c=>{if(typeof c!="string")return c;const[h,p,y,S]=c.match(OT);return{[o]:parseFloat(h),[n]:parseFloat(p),[u]:parseFloat(y),alpha:S!==void 0?parseFloat(S):1}},BC=o=>Ds(0,255,o),CT={...Yh,transform:o=>Math.round(BC(o))},Cf={test:MT("rgb","red"),parse:z_("red","green","blue"),transform:({red:o,green:n,blue:u,alpha:c=1})=>"rgba("+CT.transform(o)+", "+CT.transform(n)+", "+CT.transform(u)+", "+ky(Gy.transform(c))+")"};function VC(o){let n="",u="",c="",h="";return o.length>5?(n=o.substring(1,3),u=o.substring(3,5),c=o.substring(5,7),h=o.substring(7,9)):(n=o.substring(1,2),u=o.substring(2,3),c=o.substring(3,4),h=o.substring(4,5),n+=n,u+=u,c+=c,h+=h),{red:parseInt(n,16),green:parseInt(u,16),blue:parseInt(c,16),alpha:h?parseInt(h,16)/255:1}}const zT={test:MT("#"),parse:VC,transform:Cf.transform},Xy=o=>({test:n=>typeof n=="string"&&n.endsWith(o)&&n.split(" ").length===1,parse:parseFloat,transform:n=>`${n}${o}`}),qr=Xy("deg"),Rs=Xy("%"),Be=Xy("px"),HC=Xy("vh"),LC=Xy("vw"),U_={...Rs,parse:o=>Rs.parse(o)/100,transform:o=>Rs.transform(o*100)},Gh={test:MT("hsl","hue"),parse:z_("hue","saturation","lightness"),transform:({hue:o,saturation:n,lightness:u,alpha:c=1})=>"hsla("+Math.round(o)+", "+Rs.transform(ky(n))+", "+Rs.transform(ky(u))+", "+ky(Gy.transform(c))+")"},Xn={test:o=>Cf.test(o)||zT.test(o)||Gh.test(o),parse:o=>Cf.test(o)?Cf.parse(o):Gh.test(o)?Gh.parse(o):zT.parse(o),transform:o=>typeof o=="string"?o:o.hasOwnProperty("red")?Cf.transform(o):Gh.transform(o),getAnimatableNone:o=>{const n=Xn.parse(o);return n.alpha=0,Xn.transform(n)}},NC=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function jC(o){return isNaN(o)&&typeof o=="string"&&(o.match(OT)?.length||0)+(o.match(NC)?.length||0)>0}const B_="number",V_="color",qC="var",YC="var(",H_="${}",GC=/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 Qy(o){const n=o.toString(),u=[],c={color:[],number:[],var:[]},h=[];let p=0;const S=n.replace(GC,E=>(Xn.test(E)?(c.color.push(p),h.push(V_),u.push(Xn.parse(E))):E.startsWith(YC)?(c.var.push(p),h.push(qC),u.push(E)):(c.number.push(p),h.push(B_),u.push(parseFloat(E))),++p,H_)).split(H_);return{values:u,split:S,indexes:c,types:h}}function L_(o){return Qy(o).values}function N_(o){const{split:n,types:u}=Qy(o),c=n.length;return h=>{let p="";for(let y=0;y<c;y++)if(p+=n[y],h[y]!==void 0){const S=u[y];S===B_?p+=ky(h[y]):S===V_?p+=Xn.transform(h[y]):p+=h[y]}return p}}const kC=o=>typeof o=="number"?0:Xn.test(o)?Xn.getAnimatableNone(o):o;function XC(o){const n=L_(o);return N_(o)(n.map(kC))}const Yr={test:jC,parse:L_,createTransformer:N_,getAnimatableNone:XC};function UT(o,n,u){return u<0&&(u+=1),u>1&&(u-=1),u<1/6?o+(n-o)*6*u:u<1/2?n:u<2/3?o+(n-o)*(2/3-u)*6:o}function QC({hue:o,saturation:n,lightness:u,alpha:c}){o/=360,n/=100,u/=100;let h=0,p=0,y=0;if(!n)h=p=y=u;else{const S=u<.5?u*(1+n):u+n-u*n,E=2*u-S;h=UT(E,S,o+1/3),p=UT(E,S,o),y=UT(E,S,o-1/3)}return{red:Math.round(h*255),green:Math.round(p*255),blue:Math.round(y*255),alpha:c}}function db(o,n){return u=>u>0?n:o}const Tn=(o,n,u)=>o+(n-o)*u,BT=(o,n,u)=>{const c=o*o,h=u*(n*n-c)+c;return h<0?0:Math.sqrt(h)},ZC=[zT,Cf,Gh],JC=o=>ZC.find(n=>n.test(o));function j_(o){const n=JC(o);if(qh(!!n,`'${o}' is not an animatable color. Use the equivalent color code instead.`,"color-not-animatable"),!n)return!1;let u=n.parse(o);return n===Gh&&(u=QC(u)),u}const q_=(o,n)=>{const u=j_(o),c=j_(n);if(!u||!c)return db(o,n);const h={...u};return p=>(h.red=BT(u.red,c.red,p),h.green=BT(u.green,c.green,p),h.blue=BT(u.blue,c.blue,p),h.alpha=Tn(u.alpha,c.alpha,p),Cf.transform(h))},VT=new Set(["none","hidden"]);function $C(o,n){return VT.has(o)?u=>u<=0?o:n:u=>u>=1?n:o}function KC(o,n){return u=>Tn(o,n,u)}function HT(o){return typeof o=="number"?KC:typeof o=="string"?RT(o)?db:Xn.test(o)?q_:WC:Array.isArray(o)?Y_:typeof o=="object"?Xn.test(o)?q_:PC:db}function Y_(o,n){const u=[...o],c=u.length,h=o.map((p,y)=>HT(p)(p,n[y]));return p=>{for(let y=0;y<c;y++)u[y]=h[y](p);return u}}function PC(o,n){const u={...o,...n},c={};for(const h in u)o[h]!==void 0&&n[h]!==void 0&&(c[h]=HT(o[h])(o[h],n[h]));return h=>{for(const p in c)u[p]=c[p](h);return u}}function FC(o,n){const u=[],c={color:0,var:0,number:0};for(let h=0;h<n.values.length;h++){const p=n.types[h],y=o.indexes[p][c[p]],S=o.values[y]??0;u[h]=S,c[p]++}return u}const WC=(o,n)=>{const u=Yr.createTransformer(n),c=Qy(o),h=Qy(n);return c.indexes.var.length===h.indexes.var.length&&c.indexes.color.length===h.indexes.color.length&&c.indexes.number.length>=h.indexes.number.length?VT.has(o)&&!h.values.length||VT.has(n)&&!c.values.length?$C(o,n):jy(Y_(FC(c,h),h.values),u):(qh(!0,`Complex values '${o}' and '${n}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`,"complex-values-different"),db(o,n))};function G_(o,n,u){return typeof o=="number"&&typeof n=="number"&&typeof u=="number"?Tn(o,n,u):HT(o)(o,n)}const IC=o=>{const n=({timestamp:u})=>o(u);return{start:(u=!0)=>fn.update(n,u),stop:()=>jr(n),now:()=>Ri.isProcessing?Ri.timestamp:fa.now()}},k_=(o,n,u=10)=>{let c="";const h=Math.max(Math.round(n/u),2);for(let p=0;p<h;p++)c+=Math.round(o(p/(h-1))*1e4)/1e4+", ";return`linear(${c.substring(0,c.length-2)})`},hb=2e4;function LT(o){let n=0;const u=50;let c=o.next(n);for(;!c.done&&n<hb;)n+=u,c=o.next(n);return n>=hb?1/0:n}function ez(o,n=100,u){const c=u({...o,keyframes:[0,n]}),h=Math.min(LT(c),hb);return{type:"keyframes",ease:p=>c.next(h*p).value/n,duration:Gl(h)}}const tz=5;function X_(o,n,u){const c=Math.max(n-tz,0);return m_(u-o(c),n-c)}const En={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1},NT=.001;function nz({duration:o=En.duration,bounce:n=En.bounce,velocity:u=En.velocity,mass:c=En.mass}){let h,p;qh(o<=ws(En.maxDuration),"Spring duration must be 10 seconds or less","spring-duration-limit");let y=1-n;y=Ds(En.minDamping,En.maxDamping,y),o=Ds(En.minDuration,En.maxDuration,Gl(o)),y<1?(h=A=>{const x=A*y,_=x*o,w=x-u,z=jT(A,y),V=Math.exp(-_);return NT-w/z*V},p=A=>{const _=A*y*o,w=_*u+u,z=Math.pow(y,2)*Math.pow(A,2)*o,V=Math.exp(-_),X=jT(Math.pow(A,2),y);return(-h(A)+NT>0?-1:1)*((w-z)*V)/X}):(h=A=>{const x=Math.exp(-A*o),_=(A-u)*o+1;return-NT+x*_},p=A=>{const x=Math.exp(-A*o),_=(u-A)*(o*o);return x*_});const S=5/o,E=az(h,p,S);if(o=ws(o),isNaN(E))return{stiffness:En.stiffness,damping:En.damping,duration:o};{const A=Math.pow(E,2)*c;return{stiffness:A,damping:y*2*Math.sqrt(c*A),duration:o}}}const iz=12;function az(o,n,u){let c=u;for(let h=1;h<iz;h++)c=c-o(c)/n(c);return c}function jT(o,n){return o*Math.sqrt(1-n*n)}const lz=["duration","bounce"],oz=["stiffness","damping","mass"];function Q_(o,n){return n.some(u=>o[u]!==void 0)}function sz(o){let n={velocity:En.velocity,stiffness:En.stiffness,damping:En.damping,mass:En.mass,isResolvedFromDuration:!1,...o};if(!Q_(o,oz)&&Q_(o,lz))if(o.visualDuration){const u=o.visualDuration,c=2*Math.PI/(u*1.2),h=c*c,p=2*Ds(.05,1,1-(o.bounce||0))*Math.sqrt(h);n={...n,mass:En.mass,stiffness:h,damping:p}}else{const u=nz(o);n={...n,...u,mass:En.mass},n.isResolvedFromDuration=!0}return n}function mb(o=En.visualDuration,n=En.bounce){const u=typeof o!="object"?{visualDuration:o,keyframes:[0,1],bounce:n}:o;let{restSpeed:c,restDelta:h}=u;const p=u.keyframes[0],y=u.keyframes[u.keyframes.length-1],S={done:!1,value:p},{stiffness:E,damping:A,mass:x,duration:_,velocity:w,isResolvedFromDuration:z}=sz({...u,velocity:-Gl(u.velocity||0)}),V=w||0,X=A/(2*Math.sqrt(E*x)),Q=y-p,$=Gl(Math.sqrt(E/x)),le=Math.abs(Q)<5;c||(c=le?En.restSpeed.granular:En.restSpeed.default),h||(h=le?En.restDelta.granular:En.restDelta.default);let ee;if(X<1){const ye=jT($,X);ee=xe=>{const ve=Math.exp(-X*$*xe);return y-ve*((V+X*$*Q)/ye*Math.sin(ye*xe)+Q*Math.cos(ye*xe))}}else if(X===1)ee=ye=>y-Math.exp(-$*ye)*(Q+(V+$*Q)*ye);else{const ye=$*Math.sqrt(X*X-1);ee=xe=>{const ve=Math.exp(-X*$*xe),he=Math.min(ye*xe,300);return y-ve*((V+X*$*Q)*Math.sinh(he)+ye*Q*Math.cosh(he))/ye}}const oe={calculatedDuration:z&&_||null,next:ye=>{const xe=ee(ye);if(z)S.done=ye>=_;else{let ve=ye===0?V:0;X<1&&(ve=ye===0?ws(V):X_(ee,ye,xe));const he=Math.abs(ve)<=c,Re=Math.abs(y-xe)<=h;S.done=he&&Re}return S.value=S.done?y:xe,S},toString:()=>{const ye=Math.min(LT(oe),hb),xe=k_(ve=>oe.next(ye*ve).value,ye,30);return ye+"ms "+xe},toTransition:()=>{}};return oe}mb.applyToOptions=o=>{const n=ez(o,100,mb);return o.ease=n.ease,o.duration=ws(n.duration),o.type="keyframes",o};function qT({keyframes:o,velocity:n=0,power:u=.8,timeConstant:c=325,bounceDamping:h=10,bounceStiffness:p=500,modifyTarget:y,min:S,max:E,restDelta:A=.5,restSpeed:x}){const _=o[0],w={done:!1,value:_},z=he=>S!==void 0&&he<S||E!==void 0&&he>E,V=he=>S===void 0?E:E===void 0||Math.abs(S-he)<Math.abs(E-he)?S:E;let X=u*n;const Q=_+X,$=y===void 0?Q:y(Q);$!==Q&&(X=$-_);const le=he=>-X*Math.exp(-he/c),ee=he=>$+le(he),oe=he=>{const Re=le(he),be=ee(he);w.done=Math.abs(Re)<=A,w.value=w.done?$:be};let ye,xe;const ve=he=>{z(w.value)&&(ye=he,xe=mb({keyframes:[w.value,V(w.value)],velocity:X_(ee,he,w.value),damping:h,stiffness:p,restDelta:A,restSpeed:x}))};return ve(0),{calculatedDuration:null,next:he=>{let Re=!1;return!xe&&ye===void 0&&(Re=!0,oe(he),ve(he)),ye!==void 0&&he>=ye?xe.next(he-ye):(!Re&&oe(he),w)}}}function uz(o,n,u){const c=[],h=u||xu.mix||G_,p=o.length-1;for(let y=0;y<p;y++){let S=h(o[y],o[y+1]);if(n){const E=Array.isArray(n)?n[y]||Yl:n;S=jy(E,S)}c.push(S)}return c}function rz(o,n,{clamp:u=!0,ease:c,mixer:h}={}){const p=o.length;if(Yo(p===n.length,"Both input and output ranges must be the same length","range-length"),p===1)return()=>n[0];if(p===2&&n[0]===n[1])return()=>n[1];const y=o[0]===o[1];o[0]>o[p-1]&&(o=[...o].reverse(),n=[...n].reverse());const S=uz(n,c,h),E=S.length,A=x=>{if(y&&x<o[0])return n[0];let _=0;if(E>1)for(;_<o.length-2&&!(x<o[_+1]);_++);const w=qy(o[_],o[_+1],x);return S[_](w)};return u?x=>A(Ds(o[0],o[p-1],x)):A}function cz(o,n){const u=o[o.length-1];for(let c=1;c<=n;c++){const h=qy(0,n,c);o.push(Tn(u,1,h))}}function fz(o){const n=[0];return cz(n,o.length-1),n}function dz(o,n){return o.map(u=>u*n)}function hz(o,n){return o.map(()=>n||x_).splice(0,o.length-1)}function kh({duration:o=300,keyframes:n,times:u,ease:c="easeInOut"}){const h=_C(c)?c.map(w_):w_(c),p={done:!1,value:n[0]},y=dz(u&&u.length===n.length?u:fz(n),o),S=rz(y,n,{ease:Array.isArray(h)?h:hz(n,h)});return{calculatedDuration:o,next:E=>(p.value=S(E),p.done=E>=o,p)}}const mz=o=>o!==null;function YT(o,{repeat:n,repeatType:u="loop"},c,h=1){const p=o.filter(mz),S=h<0||n&&u!=="loop"&&n%2===1?0:p.length-1;return!S||c===void 0?p[S]:c}const pz={decay:qT,inertia:qT,tween:kh,keyframes:kh,spring:mb};function Z_(o){typeof o.type=="string"&&(o.type=pz[o.type])}class GT{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(n=>{this.resolve=n})}notifyFinished(){this.resolve()}then(n,u){return this.finished.then(n,u)}}const yz=o=>o/100;class kT extends GT{constructor(n){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.stop=()=>{const{motionValue:u}=this.options;u&&u.updatedAt!==fa.now()&&this.tick(fa.now()),this.isStopped=!0,this.state!=="idle"&&(this.teardown(),this.options.onStop?.())},this.options=n,this.initAnimation(),this.play(),n.autoplay===!1&&this.pause()}initAnimation(){const{options:n}=this;Z_(n);const{type:u=kh,repeat:c=0,repeatDelay:h=0,repeatType:p,velocity:y=0}=n;let{keyframes:S}=n;const E=u||kh;process.env.NODE_ENV!=="production"&&E!==kh&&Yo(S.length<=2,`Only two keyframes currently supported with spring and inertia animations. Trying to animate ${S}`,"spring-two-frames"),E!==kh&&typeof S[0]!="number"&&(this.mixKeyframes=jy(yz,G_(S[0],S[1])),S=[0,100]);const A=E({...n,keyframes:S});p==="mirror"&&(this.mirroredGenerator=E({...n,keyframes:[...S].reverse(),velocity:-y})),A.calculatedDuration===null&&(A.calculatedDuration=LT(A));const{calculatedDuration:x}=A;this.calculatedDuration=x,this.resolvedDuration=x+h,this.totalDuration=this.resolvedDuration*(c+1)-h,this.generator=A}updateTime(n){const u=Math.round(n-this.startTime)*this.playbackSpeed;this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=u}tick(n,u=!1){const{generator:c,totalDuration:h,mixKeyframes:p,mirroredGenerator:y,resolvedDuration:S,calculatedDuration:E}=this;if(this.startTime===null)return c.next(0);const{delay:A=0,keyframes:x,repeat:_,repeatType:w,repeatDelay:z,type:V,onUpdate:X,finalKeyframe:Q}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,n):this.speed<0&&(this.startTime=Math.min(n-h/this.speed,this.startTime)),u?this.currentTime=n:this.updateTime(n);const $=this.currentTime-A*(this.playbackSpeed>=0?1:-1),le=this.playbackSpeed>=0?$<0:$>h;this.currentTime=Math.max($,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=h);let ee=this.currentTime,oe=c;if(_){const he=Math.min(this.currentTime,h)/S;let Re=Math.floor(he),be=he%1;!be&&he>=1&&(be=1),be===1&&Re--,Re=Math.min(Re,_+1),!!(Re%2)&&(w==="reverse"?(be=1-be,z&&(be-=z/S)):w==="mirror"&&(oe=y)),ee=Ds(0,1,be)*S}const ye=le?{done:!1,value:x[0]}:oe.next(ee);p&&(ye.value=p(ye.value));let{done:xe}=ye;!le&&E!==null&&(xe=this.playbackSpeed>=0?this.currentTime>=h:this.currentTime<=0);const ve=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&xe);return ve&&V!==qT&&(ye.value=YT(x,this.options,Q,this.speed)),X&&X(ye.value),ve&&this.finish(),ye}then(n,u){return this.finished.then(n,u)}get duration(){return Gl(this.calculatedDuration)}get iterationDuration(){const{delay:n=0}=this.options||{};return this.duration+Gl(n)}get time(){return Gl(this.currentTime)}set time(n){n=ws(n),this.currentTime=n,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0?this.holdTime=n:this.driver&&(this.startTime=this.driver.now()-n/this.playbackSpeed),this.driver?.start(!1)}get speed(){return this.playbackSpeed}set speed(n){this.updateTime(fa.now());const u=this.playbackSpeed!==n;this.playbackSpeed=n,u&&(this.time=Gl(this.currentTime))}play(){if(this.isStopped)return;const{driver:n=IC,startTime:u}=this.options;this.driver||(this.driver=n(h=>this.tick(h))),this.options.onPlay?.();const c=this.driver.now();this.state==="finished"?(this.updateFinished(),this.startTime=c):this.holdTime!==null?this.startTime=c-this.holdTime:this.startTime||(this.startTime=u??c),this.state==="finished"&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(fa.now()),this.holdTime=this.currentTime}complete(){this.state!=="running"&&this.play(),this.state="finished",this.holdTime=null}finish(){this.notifyFinished(),this.teardown(),this.state="finished",this.options.onComplete?.()}cancel(){this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),this.options.onCancel?.()}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(n){return this.startTime=0,this.tick(n,!0)}attachTimeline(n){return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),this.driver?.stop(),n.observe(this)}}function gz(o){for(let n=1;n<o.length;n++)o[n]??(o[n]=o[n-1])}const zf=o=>o*180/Math.PI,XT=o=>{const n=zf(Math.atan2(o[1],o[0]));return QT(n)},vz={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:o=>(Math.abs(o[0])+Math.abs(o[3]))/2,rotate:XT,rotateZ:XT,skewX:o=>zf(Math.atan(o[1])),skewY:o=>zf(Math.atan(o[2])),skew:o=>(Math.abs(o[1])+Math.abs(o[2]))/2},QT=o=>(o=o%360,o<0&&(o+=360),o),J_=XT,$_=o=>Math.sqrt(o[0]*o[0]+o[1]*o[1]),K_=o=>Math.sqrt(o[4]*o[4]+o[5]*o[5]),bz={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:$_,scaleY:K_,scale:o=>($_(o)+K_(o))/2,rotateX:o=>QT(zf(Math.atan2(o[6],o[5]))),rotateY:o=>QT(zf(Math.atan2(-o[2],o[0]))),rotateZ:J_,rotate:J_,skewX:o=>zf(Math.atan(o[4])),skewY:o=>zf(Math.atan(o[1])),skew:o=>(Math.abs(o[1])+Math.abs(o[4]))/2};function ZT(o){return o.includes("scale")?1:0}function JT(o,n){if(!o||o==="none")return ZT(n);const u=o.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let c,h;if(u)c=bz,h=u;else{const S=o.match(/^matrix\(([-\d.e\s,]+)\)$/u);c=vz,h=S}if(!h)return ZT(n);const p=c[n],y=h[1].split(",").map(Tz);return typeof p=="function"?p(y):y[p]}const Sz=(o,n)=>{const{transform:u="none"}=getComputedStyle(o);return JT(u,n)};function Tz(o){return parseFloat(o.trim())}const Xh=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],Qh=new Set(Xh),P_=o=>o===Yh||o===Be,Ez=new Set(["x","y","z"]),Az=Xh.filter(o=>!Ez.has(o));function xz(o){const n=[];return Az.forEach(u=>{const c=o.getValue(u);c!==void 0&&(n.push([u,c.get()]),c.set(u.startsWith("scale")?1:0))}),n}const Gr={width:({x:o},{paddingLeft:n="0",paddingRight:u="0"})=>o.max-o.min-parseFloat(n)-parseFloat(u),height:({y:o},{paddingTop:n="0",paddingBottom:u="0"})=>o.max-o.min-parseFloat(n)-parseFloat(u),top:(o,{top:n})=>parseFloat(n),left:(o,{left:n})=>parseFloat(n),bottom:({y:o},{top:n})=>parseFloat(n)+(o.max-o.min),right:({x:o},{left:n})=>parseFloat(n)+(o.max-o.min),x:(o,{transform:n})=>JT(n,"x"),y:(o,{transform:n})=>JT(n,"y")};Gr.translateX=Gr.x,Gr.translateY=Gr.y;const Uf=new Set;let $T=!1,KT=!1,PT=!1;function F_(){if(KT){const o=Array.from(Uf).filter(c=>c.needsMeasurement),n=new Set(o.map(c=>c.element)),u=new Map;n.forEach(c=>{const h=xz(c);h.length&&(u.set(c,h),c.render())}),o.forEach(c=>c.measureInitialState()),n.forEach(c=>{c.render();const h=u.get(c);h&&h.forEach(([p,y])=>{c.getValue(p)?.set(y)})}),o.forEach(c=>c.measureEndState()),o.forEach(c=>{c.suspendedScrollY!==void 0&&window.scrollTo(0,c.suspendedScrollY)})}KT=!1,$T=!1,Uf.forEach(o=>o.complete(PT)),Uf.clear()}function W_(){Uf.forEach(o=>{o.readKeyframes(),o.needsMeasurement&&(KT=!0)})}function _z(){PT=!0,W_(),F_(),PT=!1}class FT{constructor(n,u,c,h,p,y=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...n],this.onComplete=u,this.name=c,this.motionValue=h,this.element=p,this.isAsync=y}scheduleResolve(){this.state="scheduled",this.isAsync?(Uf.add(this),$T||($T=!0,fn.read(W_),fn.resolveKeyframes(F_))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:n,name:u,element:c,motionValue:h}=this;if(n[0]===null){const p=h?.get(),y=n[n.length-1];if(p!==void 0)n[0]=p;else if(c&&u){const S=c.readValue(u,y);S!=null&&(n[0]=S)}n[0]===void 0&&(n[0]=y),h&&p===void 0&&h.set(n[0])}gz(n)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(n=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,n),Uf.delete(this)}cancel(){this.state==="scheduled"&&(Uf.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}}const Dz=o=>o.startsWith("--");function wz(o,n,u){Dz(n)?o.style.setProperty(n,u):o.style[n]=u}const Rz=ET(()=>window.ScrollTimeline!==void 0),Oz={};function Mz(o,n){const u=ET(o);return()=>Oz[n]??u()}const I_=Mz(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),Zy=([o,n,u,c])=>`cubic-bezier(${o}, ${n}, ${u}, ${c})`,eD={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:Zy([0,.65,.55,1]),circOut:Zy([.55,0,1,.45]),backIn:Zy([.31,.01,.66,-.59]),backOut:Zy([.33,1.53,.69,.99])};function tD(o,n){if(o)return typeof o=="function"?I_()?k_(o,n):"ease-out":__(o)?Zy(o):Array.isArray(o)?o.map(u=>tD(u,n)||eD.easeOut):eD[o]}function Cz(o,n,u,{delay:c=0,duration:h=300,repeat:p=0,repeatType:y="loop",ease:S="easeOut",times:E}={},A=void 0){const x={[n]:u};E&&(x.offset=E);const _=tD(S,h);Array.isArray(_)&&(x.easing=_);const w={delay:c,duration:h,easing:Array.isArray(_)?"linear":_,fill:"both",iterations:p+1,direction:y==="reverse"?"alternate":"normal"};return A&&(w.pseudoElement=A),o.animate(x,w)}function nD(o){return typeof o=="function"&&"applyToOptions"in o}function zz({type:o,...n}){return nD(o)&&I_()?o.applyToOptions(n):(n.duration??(n.duration=300),n.ease??(n.ease="easeOut"),n)}class Uz extends GT{constructor(n){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!n)return;const{element:u,name:c,keyframes:h,pseudoElement:p,allowFlatten:y=!1,finalKeyframe:S,onComplete:E}=n;this.isPseudoElement=!!p,this.allowFlatten=y,this.options=n,Yo(typeof n.type!="string",`Mini animate() doesn't support "type" as a string.`,"mini-spring");const A=zz(n);this.animation=Cz(u,c,h,A,p),A.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!p){const x=YT(h,this.options,S,this.speed);this.updateMotionValue?this.updateMotionValue(x):wz(u,c,x),this.animation.cancel()}E?.(),this.notifyFinished()}}play(){this.isStopped||(this.manualStartTime=null,this.animation.play(),this.state==="finished"&&this.updateFinished())}pause(){this.animation.pause()}complete(){this.animation.finish?.()}cancel(){try{this.animation.cancel()}catch{}}stop(){if(this.isStopped)return;this.isStopped=!0;const{state:n}=this;n==="idle"||n==="finished"||(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){this.isPseudoElement||this.animation.commitStyles?.()}get duration(){const n=this.animation.effect?.getComputedTiming?.().duration||0;return Gl(Number(n))}get iterationDuration(){const{delay:n=0}=this.options||{};return this.duration+Gl(n)}get time(){return Gl(Number(this.animation.currentTime)||0)}set time(n){this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=ws(n)}get speed(){return this.animation.playbackRate}set speed(n){n<0&&(this.finishedTime=null),this.animation.playbackRate=n}get state(){return this.finishedTime!==null?"finished":this.animation.playState}get startTime(){return this.manualStartTime??Number(this.animation.startTime)}set startTime(n){this.manualStartTime=this.animation.startTime=n}attachTimeline({timeline:n,observe:u}){return this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,n&&Rz()?(this.animation.timeline=n,Yl):u(this)}}const iD={anticipate:T_,backInOut:S_,circInOut:A_};function Bz(o){return o in iD}function Vz(o){typeof o.ease=="string"&&Bz(o.ease)&&(o.ease=iD[o.ease])}const WT=10;class Hz extends Uz{constructor(n){Vz(n),Z_(n),super(n),n.startTime!==void 0&&(this.startTime=n.startTime),this.options=n}updateMotionValue(n){const{motionValue:u,onUpdate:c,onComplete:h,element:p,...y}=this.options;if(!u)return;if(n!==void 0){u.set(n);return}const S=new kT({...y,autoplay:!1}),E=Math.max(WT,fa.now()-this.startTime),A=Ds(0,WT,E-WT);u.setWithVelocity(S.sample(Math.max(0,E-A)).value,S.sample(E).value,A),S.stop()}}const aD=(o,n)=>n==="zIndex"?!1:!!(typeof o=="number"||Array.isArray(o)||typeof o=="string"&&(Yr.test(o)||o==="0")&&!o.startsWith("url("));function Lz(o){const n=o[0];if(o.length===1)return!0;for(let u=0;u<o.length;u++)if(o[u]!==n)return!0}function Nz(o,n,u,c){const h=o[0];if(h===null)return!1;if(n==="display"||n==="visibility")return!0;const p=o[o.length-1],y=aD(h,n),S=aD(p,n);return qh(y===S,`You are trying to animate ${n} from "${h}" to "${p}". "${y?p:h}" is not an animatable value.`,"value-not-animatable"),!y||!S?!1:Lz(o)||(u==="spring"||nD(u))&&c}function IT(o){o.duration=0,o.type="keyframes"}const jz=new Set(["opacity","clipPath","filter","transform"]),qz=ET(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function Yz(o){const{motionValue:n,name:u,repeatDelay:c,repeatType:h,damping:p,type:y}=o;if(!(n?.owner?.current instanceof HTMLElement))return!1;const{onUpdate:E,transformTemplate:A}=n.owner.getProps();return qz()&&u&&jz.has(u)&&(u!=="transform"||!A)&&!E&&!c&&h!=="mirror"&&p!==0&&y!=="inertia"}const Gz=40;class kz extends GT{constructor({autoplay:n=!0,delay:u=0,type:c="keyframes",repeat:h=0,repeatDelay:p=0,repeatType:y="loop",keyframes:S,name:E,motionValue:A,element:x,..._}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=fa.now();const w={autoplay:n,delay:u,type:c,repeat:h,repeatDelay:p,repeatType:y,name:E,motionValue:A,element:x,..._},z=x?.KeyframeResolver||FT;this.keyframeResolver=new z(S,(V,X,Q)=>this.onKeyframesResolved(V,X,w,!Q),E,A,x),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(n,u,c,h){this.keyframeResolver=void 0;const{name:p,type:y,velocity:S,delay:E,isHandoff:A,onUpdate:x}=c;this.resolvedAt=fa.now(),Nz(n,p,y,S)||((xu.instantAnimations||!E)&&x?.(YT(n,c,u)),n[0]=n[n.length-1],IT(c),c.repeat=0);const w={startTime:h?this.resolvedAt?this.resolvedAt-this.createdAt>Gz?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:u,...c,keyframes:n},z=!A&&Yz(w),V=w.motionValue?.owner?.current,X=z?new Hz({...w,element:V}):new kT(w);X.finished.then(()=>{this.notifyFinished()}).catch(Yl),this.pendingTimeline&&(this.stopTimeline=X.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=X}get finished(){return this._animation?this.animation.finished:this._finished}then(n,u){return this.finished.finally(n).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),_z()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(n){this.animation.time=n}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(n){this.animation.speed=n}get startTime(){return this.animation.startTime}attachTimeline(n){return this._animation?this.stopTimeline=this.animation.attachTimeline(n):this.pendingTimeline=n,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}}function lD(o,n,u,c=0,h=1){const p=Array.from(o).sort((A,x)=>A.sortNodePosition(x)).indexOf(n),y=o.size,S=(y-1)*c;return typeof u=="function"?u(p,y):h===1?p*c:S-p*c}const Xz=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function Qz(o){const n=Xz.exec(o);if(!n)return[,];const[,u,c,h]=n;return[`--${u??c}`,h]}const Zz=4;function oD(o,n,u=1){Yo(u<=Zz,`Max CSS variable fallback depth detected in property "${o}". This may indicate a circular fallback dependency.`,"max-css-var-depth");const[c,h]=Qz(o);if(!c)return;const p=window.getComputedStyle(n).getPropertyValue(c);if(p){const y=p.trim();return f_(y)?parseFloat(y):y}return RT(h)?oD(h,n,u+1):h}const Jz={type:"spring",stiffness:500,damping:25,restSpeed:10},$z=o=>({type:"spring",stiffness:550,damping:o===0?2*Math.sqrt(550):30,restSpeed:10}),Kz={type:"keyframes",duration:.8},Pz={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},Fz=(o,{keyframes:n})=>n.length>2?Kz:Qh.has(o)?o.startsWith("scale")?$z(n[1]):Jz:Pz,Wz=o=>o!==null;function Iz(o,{repeat:n,repeatType:u="loop"},c){const h=o.filter(Wz),p=n&&u!=="loop"&&n%2===1?0:h.length-1;return h[p]}function eE(o,n){return o?.[n]??o?.default??o}function e3({when:o,delay:n,delayChildren:u,staggerChildren:c,staggerDirection:h,repeat:p,repeatType:y,repeatDelay:S,from:E,elapsed:A,...x}){return!!Object.keys(x).length}const tE=(o,n,u,c={},h,p)=>y=>{const S=eE(c,o)||{},E=S.delay||c.delay||0;let{elapsed:A=0}=c;A=A-ws(E);const x={keyframes:Array.isArray(u)?u:[null,u],ease:"easeOut",velocity:n.getVelocity(),...S,delay:-A,onUpdate:w=>{n.set(w),S.onUpdate&&S.onUpdate(w)},onComplete:()=>{y(),S.onComplete&&S.onComplete()},name:o,motionValue:n,element:p?void 0:h};e3(S)||Object.assign(x,Fz(o,x)),x.duration&&(x.duration=ws(x.duration)),x.repeatDelay&&(x.repeatDelay=ws(x.repeatDelay)),x.from!==void 0&&(x.keyframes[0]=x.from);let _=!1;if((x.type===!1||x.duration===0&&!x.repeatDelay)&&(IT(x),x.delay===0&&(_=!0)),(xu.instantAnimations||xu.skipAnimations)&&(_=!0,IT(x),x.delay=0),x.allowFlatten=!S.type&&!S.ease,_&&!p&&n.get()!==void 0){const w=Iz(x.keyframes,S);if(w!==void 0){fn.update(()=>{x.onUpdate(w),x.onComplete()});return}}return S.isSync?new kT(x):new kz(x)};function sD(o){const n=[{},{}];return o?.values.forEach((u,c)=>{n[0][c]=u.get(),n[1][c]=u.getVelocity()}),n}function nE(o,n,u,c){if(typeof n=="function"){const[h,p]=sD(c);n=n(u!==void 0?u:o.custom,h,p)}if(typeof n=="string"&&(n=o.variants&&o.variants[n]),typeof n=="function"){const[h,p]=sD(c);n=n(u!==void 0?u:o.custom,h,p)}return n}function Zh(o,n,u){const c=o.getProps();return nE(c,n,u!==void 0?u:c.custom,o)}const uD=new Set(["width","height","top","left","right","bottom",...Xh]),rD=30,t3=o=>!isNaN(parseFloat(o));class n3{constructor(n,u={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=c=>{const h=fa.now();if(this.updatedAt!==h&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(c),this.current!==this.prev&&(this.events.change?.notify(this.current),this.dependents))for(const p of this.dependents)p.dirty()},this.hasAnimated=!1,this.setCurrent(n),this.owner=u.owner}setCurrent(n){this.current=n,this.updatedAt=fa.now(),this.canTrackVelocity===null&&n!==void 0&&(this.canTrackVelocity=t3(this.current))}setPrevFrameValue(n=this.current){this.prevFrameValue=n,this.prevUpdatedAt=this.updatedAt}onChange(n){return process.env.NODE_ENV!=="production"&&xT(!1,'value.onChange(callback) is deprecated. Switch to value.on("change", callback).'),this.on("change",n)}on(n,u){this.events[n]||(this.events[n]=new AT);const c=this.events[n].add(u);return n==="change"?()=>{c(),fn.read(()=>{this.events.change.getSize()||this.stop()})}:c}clearListeners(){for(const n in this.events)this.events[n].clear()}attach(n,u){this.passiveEffect=n,this.stopPassiveEffect=u}set(n){this.passiveEffect?this.passiveEffect(n,this.updateAndNotify):this.updateAndNotify(n)}setWithVelocity(n,u,c){this.set(u),this.prev=void 0,this.prevFrameValue=n,this.prevUpdatedAt=this.updatedAt-c}jump(n,u=!0){this.updateAndNotify(n),this.prev=n,this.prevUpdatedAt=this.prevFrameValue=void 0,u&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){this.events.change?.notify(this.current)}addDependent(n){this.dependents||(this.dependents=new Set),this.dependents.add(n)}removeDependent(n){this.dependents&&this.dependents.delete(n)}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const n=fa.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||n-this.updatedAt>rD)return 0;const u=Math.min(this.updatedAt-this.prevUpdatedAt,rD);return m_(parseFloat(this.current)-parseFloat(this.prevFrameValue),u)}start(n){return this.stop(),new Promise(u=>{this.hasAnimated=!0,this.animation=n(u),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.dependents?.clear(),this.events.destroy?.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function Jh(o,n){return new n3(o,n)}const iE=o=>Array.isArray(o);function i3(o,n,u){o.hasValue(n)?o.getValue(n).set(u):o.addValue(n,Jh(u))}function a3(o){return iE(o)?o[o.length-1]||0:o}function aE(o,n){const u=Zh(o,n);let{transitionEnd:c={},transition:h={},...p}=u||{};p={...p,...c};for(const y in p){const S=a3(p[y]);i3(o,y,S)}}const Ki=o=>!!(o&&o.getVelocity);function l3(o){return!!(Ki(o)&&o.add)}function lE(o,n){const u=o.getValue("willChange");if(l3(u))return u.add(n);if(!u&&xu.WillChange){const c=new xu.WillChange("auto");o.addValue("willChange",c),c.add(n)}}function oE(o){return o.replace(/([A-Z])/g,n=>`-${n.toLowerCase()}`)}const cD="data-"+oE("framerAppearId");function fD(o){return o.props[cD]}function o3({protectedKeys:o,needsAnimating:n},u){const c=o.hasOwnProperty(u)&&n[u]!==!0;return n[u]=!1,c}function dD(o,n,{delay:u=0,transitionOverride:c,type:h}={}){let{transition:p=o.getDefaultTransition(),transitionEnd:y,...S}=n;c&&(p=c);const E=[],A=h&&o.animationState&&o.animationState.getState()[h];for(const x in S){const _=o.getValue(x,o.latestValues[x]??null),w=S[x];if(w===void 0||A&&o3(A,x))continue;const z={delay:u,...eE(p||{},x)},V=_.get();if(V!==void 0&&!_.isAnimating&&!Array.isArray(w)&&w===V&&!z.velocity)continue;let X=!1;if(window.MotionHandoffAnimation){const $=fD(o);if($){const le=window.MotionHandoffAnimation($,x,fn);le!==null&&(z.startTime=le,X=!0)}}lE(o,x),_.start(tE(x,_,w,o.shouldReduceMotion&&uD.has(x)?{type:!1}:z,o,X));const Q=_.animation;Q&&E.push(Q)}return y&&Promise.all(E).then(()=>{fn.update(()=>{y&&aE(o,y)})}),E}function sE(o,n,u={}){const c=Zh(o,n,u.type==="exit"?o.presenceContext?.custom:void 0);let{transition:h=o.getDefaultTransition()||{}}=c||{};u.transitionOverride&&(h=u.transitionOverride);const p=c?()=>Promise.all(dD(o,c,u)):()=>Promise.resolve(),y=o.variantChildren&&o.variantChildren.size?(E=0)=>{const{delayChildren:A=0,staggerChildren:x,staggerDirection:_}=h;return s3(o,n,E,A,x,_,u)}:()=>Promise.resolve(),{when:S}=h;if(S){const[E,A]=S==="beforeChildren"?[p,y]:[y,p];return E().then(()=>A())}else return Promise.all([p(),y(u.delay)])}function s3(o,n,u=0,c=0,h=0,p=1,y){const S=[];for(const E of o.variantChildren)E.notify("AnimationStart",n),S.push(sE(E,n,{...y,delay:u+(typeof c=="function"?0:c)+lD(o.variantChildren,E,c,h,p)}).then(()=>E.notify("AnimationComplete",n)));return Promise.all(S)}function hD(o,n,u={}){o.notify("AnimationStart",n);let c;if(Array.isArray(n)){const h=n.map(p=>sE(o,p,u));c=Promise.all(h)}else if(typeof n=="string")c=sE(o,n,u);else{const h=typeof n=="function"?Zh(o,n,u.custom):n;c=Promise.all(dD(o,h,u))}return c.then(()=>{o.notify("AnimationComplete",n)})}const u3={test:o=>o==="auto",parse:o=>o},mD=o=>n=>n.test(o),pD=[Yh,Be,Rs,qr,LC,HC,u3],yD=o=>pD.find(mD(o));function r3(o){return typeof o=="number"?o===0:o!==null?o==="none"||o==="0"||h_(o):!0}const c3=new Set(["brightness","contrast","saturate","opacity"]);function f3(o){const[n,u]=o.slice(0,-1).split("(");if(n==="drop-shadow")return o;const[c]=u.match(OT)||[];if(!c)return o;const h=u.replace(c,"");let p=c3.has(n)?1:0;return c!==u&&(p*=100),n+"("+p+h+")"}const d3=/\b([a-z-]*)\(.*?\)/gu,uE={...Yr,getAnimatableNone:o=>{const n=o.match(d3);return n?n.map(f3).join(" "):o}},gD={...Yh,transform:Math.round},rE={borderWidth:Be,borderTopWidth:Be,borderRightWidth:Be,borderBottomWidth:Be,borderLeftWidth:Be,borderRadius:Be,radius:Be,borderTopLeftRadius:Be,borderTopRightRadius:Be,borderBottomRightRadius:Be,borderBottomLeftRadius:Be,width:Be,maxWidth:Be,height:Be,maxHeight:Be,top:Be,right:Be,bottom:Be,left:Be,inset:Be,insetBlock:Be,insetBlockStart:Be,insetBlockEnd:Be,insetInline:Be,insetInlineStart:Be,insetInlineEnd:Be,padding:Be,paddingTop:Be,paddingRight:Be,paddingBottom:Be,paddingLeft:Be,paddingBlock:Be,paddingBlockStart:Be,paddingBlockEnd:Be,paddingInline:Be,paddingInlineStart:Be,paddingInlineEnd:Be,margin:Be,marginTop:Be,marginRight:Be,marginBottom:Be,marginLeft:Be,marginBlock:Be,marginBlockStart:Be,marginBlockEnd:Be,marginInline:Be,marginInlineStart:Be,marginInlineEnd:Be,backgroundPositionX:Be,backgroundPositionY:Be,...{rotate:qr,rotateX:qr,rotateY:qr,rotateZ:qr,scale:fb,scaleX:fb,scaleY:fb,scaleZ:fb,skew:qr,skewX:qr,skewY:qr,distance:Be,translateX:Be,translateY:Be,translateZ:Be,x:Be,y:Be,z:Be,perspective:Be,transformPerspective:Be,opacity:Gy,originX:U_,originY:U_,originZ:Be},zIndex:gD,fillOpacity:Gy,strokeOpacity:Gy,numOctaves:gD},h3={...rE,color:Xn,backgroundColor:Xn,outlineColor:Xn,fill:Xn,stroke:Xn,borderColor:Xn,borderTopColor:Xn,borderRightColor:Xn,borderBottomColor:Xn,borderLeftColor:Xn,filter:uE,WebkitFilter:uE},vD=o=>h3[o];function bD(o,n){let u=vD(o);return u!==uE&&(u=Yr),u.getAnimatableNone?u.getAnimatableNone(n):void 0}const m3=new Set(["auto","none","0"]);function p3(o,n,u){let c=0,h;for(;c<o.length&&!h;){const p=o[c];typeof p=="string"&&!m3.has(p)&&Qy(p).values.length&&(h=o[c]),c++}if(h&&u)for(const p of n)o[p]=bD(u,h)}class y3 extends FT{constructor(n,u,c,h,p){super(n,u,c,h,p,!0)}readKeyframes(){const{unresolvedKeyframes:n,element:u,name:c}=this;if(!u||!u.current)return;super.readKeyframes();for(let x=0;x<n.length;x++){let _=n[x];if(typeof _=="string"&&(_=_.trim(),RT(_))){const w=oD(_,u.current);w!==void 0&&(n[x]=w),x===n.length-1&&(this.finalKeyframe=_)}}if(this.resolveNoneKeyframes(),!uD.has(c)||n.length!==2)return;const[h,p]=n,y=yD(h),S=yD(p),E=C_(h),A=C_(p);if(E!==A&&Gr[c]){this.needsMeasurement=!0;return}if(y!==S)if(P_(y)&&P_(S))for(let x=0;x<n.length;x++){const _=n[x];typeof _=="string"&&(n[x]=parseFloat(_))}else Gr[c]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:n,name:u}=this,c=[];for(let h=0;h<n.length;h++)(n[h]===null||r3(n[h]))&&c.push(h);c.length&&p3(n,c,u)}measureInitialState(){const{element:n,unresolvedKeyframes:u,name:c}=this;if(!n||!n.current)return;c==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=Gr[c](n.measureViewportBox(),window.getComputedStyle(n.current)),u[0]=this.measuredOrigin;const h=u[u.length-1];h!==void 0&&n.getValue(c,h).jump(h,!1)}measureEndState(){const{element:n,name:u,unresolvedKeyframes:c}=this;if(!n||!n.current)return;const h=n.getValue(u);h&&h.jump(this.measuredOrigin,!1);const p=c.length-1,y=c[p];c[p]=Gr[u](n.measureViewportBox(),window.getComputedStyle(n.current)),y!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=y),this.removedTransforms?.length&&this.removedTransforms.forEach(([S,E])=>{n.getValue(S).set(E)}),this.resolveNoneKeyframes()}}function g3(o,n,u){if(o==null)return[];if(o instanceof EventTarget)return[o];if(typeof o=="string"){let c=document;const h=u?.[o]??c.querySelectorAll(o);return h?Array.from(h):[]}return Array.from(o).filter(c=>c!=null)}const SD=(o,n)=>n&&typeof o=="number"?n.transform(o):o;function cE(o){return d_(o)&&"offsetHeight"in o}const{schedule:fE}=R_(queueMicrotask,!1),Go={x:!1,y:!1};function TD(){return Go.x||Go.y}function v3(o){return o==="x"||o==="y"?Go[o]?null:(Go[o]=!0,()=>{Go[o]=!1}):Go.x||Go.y?null:(Go.x=Go.y=!0,()=>{Go.x=Go.y=!1})}function ED(o,n){const u=g3(o),c=new AbortController,h={passive:!0,...n,signal:c.signal};return[u,h,()=>c.abort()]}function AD(o){return!(o.pointerType==="touch"||TD())}function b3(o,n,u={}){const[c,h,p]=ED(o,u),y=S=>{if(!AD(S))return;const{target:E}=S,A=n(E,S);if(typeof A!="function"||!E)return;const x=_=>{AD(_)&&(A(_),E.removeEventListener("pointerleave",x))};E.addEventListener("pointerleave",x,h)};return c.forEach(S=>{S.addEventListener("pointerenter",y,h)}),p}const xD=(o,n)=>n?o===n?!0:xD(o,n.parentElement):!1,dE=o=>o.pointerType==="mouse"?typeof o.button!="number"||o.button<=0:o.isPrimary!==!1,S3=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function _D(o){return S3.has(o.tagName)||o.isContentEditable===!0}const pb=new WeakSet;function DD(o){return n=>{n.key==="Enter"&&o(n)}}function hE(o,n){o.dispatchEvent(new PointerEvent("pointer"+n,{isPrimary:!0,bubbles:!0}))}const T3=(o,n)=>{const u=o.currentTarget;if(!u)return;const c=DD(()=>{if(pb.has(u))return;hE(u,"down");const h=DD(()=>{hE(u,"up")}),p=()=>hE(u,"cancel");u.addEventListener("keyup",h,n),u.addEventListener("blur",p,n)});u.addEventListener("keydown",c,n),u.addEventListener("blur",()=>u.removeEventListener("keydown",c),n)};function wD(o){return dE(o)&&!TD()}function E3(o,n,u={}){const[c,h,p]=ED(o,u),y=S=>{const E=S.currentTarget;if(!wD(S))return;pb.add(E);const A=n(E,S),x=(z,V)=>{window.removeEventListener("pointerup",_),window.removeEventListener("pointercancel",w),pb.has(E)&&pb.delete(E),wD(z)&&typeof A=="function"&&A(z,{success:V})},_=z=>{x(z,E===window||E===document||u.useGlobalTarget||xD(E,z.target))},w=z=>{x(z,!1)};window.addEventListener("pointerup",_,h),window.addEventListener("pointercancel",w,h)};return c.forEach(S=>{(u.useGlobalTarget?window:S).addEventListener("pointerdown",y,h),cE(S)&&(S.addEventListener("focus",A=>T3(A,h)),!_D(S)&&!S.hasAttribute("tabindex")&&(S.tabIndex=0))}),p}function RD(o){return d_(o)&&"ownerSVGElement"in o}function A3(o){return RD(o)&&o.tagName==="svg"}const x3=[...pD,Xn,Yr],_3=o=>x3.find(mD(o)),OD=()=>({translate:0,scale:1,origin:0,originPoint:0}),$h=()=>({x:OD(),y:OD()}),MD=()=>({min:0,max:0}),ri=()=>({x:MD(),y:MD()}),mE={current:null},CD={current:!1},D3=typeof window<"u";function w3(){if(CD.current=!0,!!D3)if(window.matchMedia){const o=window.matchMedia("(prefers-reduced-motion)"),n=()=>mE.current=o.matches;o.addEventListener("change",n),n()}else mE.current=!1}const R3=new WeakMap;function yb(o){return o!==null&&typeof o=="object"&&typeof o.start=="function"}function Jy(o){return typeof o=="string"||Array.isArray(o)}const pE=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],yE=["initial",...pE];function gb(o){return yb(o.animate)||yE.some(n=>Jy(o[n]))}function zD(o){return!!(gb(o)||o.variants)}function O3(o,n,u){for(const c in n){const h=n[c],p=u[c];if(Ki(h))o.addValue(c,h);else if(Ki(p))o.addValue(c,Jh(h,{owner:o}));else if(p!==h)if(o.hasValue(c)){const y=o.getValue(c);y.liveStyle===!0?y.jump(h):y.hasAnimated||y.set(h)}else{const y=o.getStaticValue(c);o.addValue(c,Jh(y!==void 0?y:h,{owner:o}))}}for(const c in u)n[c]===void 0&&o.removeValue(c);return n}const UD=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];let vb={};function BD(o){vb=o}function M3(){return vb}class C3{scrapeMotionValuesFromProps(n,u,c){return{}}constructor({parent:n,props:u,presenceContext:c,reducedMotionConfig:h,blockInitialAnimation:p,visualState:y},S={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=FT,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 w=fa.now();this.renderScheduledAt<w&&(this.renderScheduledAt=w,fn.render(this.render,!1,!0))};const{latestValues:E,renderState:A}=y;this.latestValues=E,this.baseTarget={...E},this.initialValues=u.initial?{...E}:{},this.renderState=A,this.parent=n,this.props=u,this.presenceContext=c,this.depth=n?n.depth+1:0,this.reducedMotionConfig=h,this.options=S,this.blockInitialAnimation=!!p,this.isControllingVariants=gb(u),this.isVariantNode=zD(u),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(n&&n.current);const{willChange:x,..._}=this.scrapeMotionValuesFromProps(u,{},this);for(const w in _){const z=_[w];E[w]!==void 0&&Ki(z)&&z.set(E[w])}}mount(n){this.current=n,R3.set(n,this),this.projection&&!this.projection.instance&&this.projection.mount(n),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((u,c)=>this.bindToMotionValue(c,u)),this.reducedMotionConfig==="never"?this.shouldReduceMotion=!1:this.reducedMotionConfig==="always"?this.shouldReduceMotion=!0:(CD.current||w3(),this.shouldReduceMotion=mE.current),process.env.NODE_ENV!=="production"&&xT(this.shouldReduceMotion!==!0,"You have Reduced Motion enabled on your device. Animations may not appear as expected.","reduced-motion-disabled"),this.parent?.addChild(this),this.update(this.props,this.presenceContext)}unmount(){this.projection&&this.projection.unmount(),jr(this.notifyUpdate),jr(this.render),this.valueSubscriptions.forEach(n=>n()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent?.removeChild(this);for(const n in this.events)this.events[n].clear();for(const n in this.features){const u=this.features[n];u&&(u.unmount(),u.isMounted=!1)}this.current=null}addChild(n){this.children.add(n),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(n)}removeChild(n){this.children.delete(n),this.enteringChildren&&this.enteringChildren.delete(n)}bindToMotionValue(n,u){this.valueSubscriptions.has(n)&&this.valueSubscriptions.get(n)();const c=Qh.has(n);c&&this.onBindTransform&&this.onBindTransform();const h=u.on("change",y=>{this.latestValues[n]=y,this.props.onUpdate&&fn.preRender(this.notifyUpdate),c&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});let p;typeof window<"u"&&window.MotionCheckAppearSync&&(p=window.MotionCheckAppearSync(this,n,u)),this.valueSubscriptions.set(n,()=>{h(),p&&p(),u.owner&&u.stop()})}sortNodePosition(n){return!this.current||!this.sortInstanceNodePosition||this.type!==n.type?0:this.sortInstanceNodePosition(this.current,n.current)}updateFeatures(){let n="animation";for(n in vb){const u=vb[n];if(!u)continue;const{isEnabled:c,Feature:h}=u;if(!this.features[n]&&h&&c(this.props)&&(this.features[n]=new h(this)),this.features[n]){const p=this.features[n];p.isMounted?p.update():(p.mount(),p.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):ri()}getStaticValue(n){return this.latestValues[n]}setStaticValue(n,u){this.latestValues[n]=u}update(n,u){(n.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=n,this.prevPresenceContext=this.presenceContext,this.presenceContext=u;for(let c=0;c<UD.length;c++){const h=UD[c];this.propEventSubscriptions[h]&&(this.propEventSubscriptions[h](),delete this.propEventSubscriptions[h]);const p="on"+h,y=n[p];y&&(this.propEventSubscriptions[h]=this.on(h,y))}this.prevMotionValues=O3(this,this.scrapeMotionValuesFromProps(n,this.prevProps||{},this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(n){return this.props.variants?this.props.variants[n]: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(n){const u=this.getClosestVariantNode();if(u)return u.variantChildren&&u.variantChildren.add(n),()=>u.variantChildren.delete(n)}addValue(n,u){const c=this.values.get(n);u!==c&&(c&&this.removeValue(n),this.bindToMotionValue(n,u),this.values.set(n,u),this.latestValues[n]=u.get())}removeValue(n){this.values.delete(n);const u=this.valueSubscriptions.get(n);u&&(u(),this.valueSubscriptions.delete(n)),delete this.latestValues[n],this.removeValueFromRenderState(n,this.renderState)}hasValue(n){return this.values.has(n)}getValue(n,u){if(this.props.values&&this.props.values[n])return this.props.values[n];let c=this.values.get(n);return c===void 0&&u!==void 0&&(c=Jh(u===null?void 0:u,{owner:this}),this.addValue(n,c)),c}readValue(n,u){let c=this.latestValues[n]!==void 0||!this.current?this.latestValues[n]:this.getBaseTargetFromProps(this.props,n)??this.readValueFromInstance(this.current,n,this.options);return c!=null&&(typeof c=="string"&&(f_(c)||h_(c))?c=parseFloat(c):!_3(c)&&Yr.test(u)&&(c=bD(n,u)),this.setBaseTarget(n,Ki(c)?c.get():c)),Ki(c)?c.get():c}setBaseTarget(n,u){this.baseTarget[n]=u}getBaseTarget(n){const{initial:u}=this.props;let c;if(typeof u=="string"||typeof u=="object"){const p=nE(this.props,u,this.presenceContext?.custom);p&&(c=p[n])}if(u&&c!==void 0)return c;const h=this.getBaseTargetFromProps(this.props,n);return h!==void 0&&!Ki(h)?h:this.initialValues[n]!==void 0&&c===void 0?void 0:this.baseTarget[n]}on(n,u){return this.events[n]||(this.events[n]=new AT),this.events[n].add(u)}notify(n,...u){this.events[n]&&this.events[n].notify(...u)}scheduleRenderMicrotask(){fE.render(this.render)}}class VD extends C3{constructor(){super(...arguments),this.KeyframeResolver=y3}sortInstanceNodePosition(n,u){return n.compareDocumentPosition(u)&2?1:-1}getBaseTargetFromProps(n,u){const c=n.style;return c?c[u]:void 0}removeValueFromRenderState(n,{vars:u,style:c}){delete u[n],delete c[n]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:n}=this.props;Ki(n)&&(this.childSubscription=n.on("change",u=>{this.current&&(this.current.textContent=`${u}`)}))}}class kr{constructor(n){this.isMounted=!1,this.node=n}update(){}}function HD({top:o,left:n,right:u,bottom:c}){return{x:{min:n,max:u},y:{min:o,max:c}}}function z3({x:o,y:n}){return{top:n.min,right:o.max,bottom:n.max,left:o.min}}function U3(o,n){if(!n)return o;const u=n({x:o.left,y:o.top}),c=n({x:o.right,y:o.bottom});return{top:u.y,left:u.x,bottom:c.y,right:c.x}}function gE(o){return o===void 0||o===1}function vE({scale:o,scaleX:n,scaleY:u}){return!gE(o)||!gE(n)||!gE(u)}function Bf(o){return vE(o)||LD(o)||o.z||o.rotate||o.rotateX||o.rotateY||o.skewX||o.skewY}function LD(o){return ND(o.x)||ND(o.y)}function ND(o){return o&&o!=="0%"}function bb(o,n,u){const c=o-u,h=n*c;return u+h}function jD(o,n,u,c,h){return h!==void 0&&(o=bb(o,h,c)),bb(o,u,c)+n}function bE(o,n=0,u=1,c,h){o.min=jD(o.min,n,u,c,h),o.max=jD(o.max,n,u,c,h)}function qD(o,{x:n,y:u}){bE(o.x,n.translate,n.scale,n.originPoint),bE(o.y,u.translate,u.scale,u.originPoint)}const YD=.999999999999,GD=1.0000000000001;function B3(o,n,u,c=!1){const h=u.length;if(!h)return;n.x=n.y=1;let p,y;for(let S=0;S<h;S++){p=u[S],y=p.projectionDelta;const{visualElement:E}=p.options;E&&E.props.style&&E.props.style.display==="contents"||(c&&p.options.layoutScroll&&p.scroll&&p!==p.root&&Ph(o,{x:-p.scroll.offset.x,y:-p.scroll.offset.y}),y&&(n.x*=y.x.scale,n.y*=y.y.scale,qD(o,y)),c&&Bf(p.latestValues)&&Ph(o,p.latestValues))}n.x<GD&&n.x>YD&&(n.x=1),n.y<GD&&n.y>YD&&(n.y=1)}function Kh(o,n){o.min=o.min+n,o.max=o.max+n}function kD(o,n,u,c,h=.5){const p=Tn(o.min,o.max,h);bE(o,n,u,p,c)}function Ph(o,n){kD(o.x,n.x,n.scaleX,n.scale,n.originX),kD(o.y,n.y,n.scaleY,n.scale,n.originY)}function XD(o,n){return HD(U3(o.getBoundingClientRect(),n))}function V3(o,n,u){const c=XD(o,u),{scroll:h}=n;return h&&(Kh(c.x,h.offset.x),Kh(c.y,h.offset.y)),c}const H3={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},L3=Xh.length;function N3(o,n,u){let c="",h=!0;for(let p=0;p<L3;p++){const y=Xh[p],S=o[y];if(S===void 0)continue;let E=!0;if(typeof S=="number")E=S===(y.startsWith("scale")?1:0);else{const A=parseFloat(S);E=y.startsWith("scale")?A===1:A===0}if(!E||u){const A=SD(S,rE[y]);if(!E){h=!1;const x=H3[y]||y;c+=`${x}(${A}) `}u&&(n[y]=A)}}return c=c.trim(),u?c=u(n,h?"":c):h&&(c="none"),c}function SE(o,n,u){const{style:c,vars:h,transformOrigin:p}=o;let y=!1,S=!1;for(const E in n){const A=n[E];if(Qh.has(E)){y=!0;continue}else if(M_(E)){h[E]=A;continue}else{const x=SD(A,rE[E]);E.startsWith("origin")?(S=!0,p[E]=x):c[E]=x}}if(n.transform||(y||u?c.transform=N3(n,o.transform,u):c.transform&&(c.transform="none")),S){const{originX:E="50%",originY:A="50%",originZ:x=0}=p;c.transformOrigin=`${E} ${A} ${x}`}}function QD(o,{style:n,vars:u},c,h){const p=o.style;let y;for(y in n)p[y]=n[y];h?.applyProjectionStyles(p,c);for(y in u)p.setProperty(y,u[y])}function ZD(o,n){return n.max===n.min?0:o/(n.max-n.min)*100}const $y={correct:(o,n)=>{if(!n.target)return o;if(typeof o=="string")if(Be.test(o))o=parseFloat(o);else return o;const u=ZD(o,n.target.x),c=ZD(o,n.target.y);return`${u}% ${c}%`}},j3={correct:(o,{treeScale:n,projectionDelta:u})=>{const c=o,h=Yr.parse(o);if(h.length>5)return c;const p=Yr.createTransformer(o),y=typeof h[0]!="number"?1:0,S=u.x.scale*n.x,E=u.y.scale*n.y;h[0+y]/=S,h[1+y]/=E;const A=Tn(S,E,.5);return typeof h[2+y]=="number"&&(h[2+y]/=A),typeof h[3+y]=="number"&&(h[3+y]/=A),p(h)}},TE={borderRadius:{...$y,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:$y,borderTopRightRadius:$y,borderBottomLeftRadius:$y,borderBottomRightRadius:$y,boxShadow:j3};function JD(o,{layout:n,layoutId:u}){return Qh.has(o)||o.startsWith("origin")||(n||u!==void 0)&&(!!TE[o]||o==="opacity")}function EE(o,n,u){const c=o.style,h=n?.style,p={};if(!c)return p;for(const y in c)(Ki(c[y])||h&&Ki(h[y])||JD(y,o)||u?.getValue(y)?.liveStyle!==void 0)&&(p[y]=c[y]);return p}function q3(o){return window.getComputedStyle(o)}class Y3 extends VD{constructor(){super(...arguments),this.type="html",this.renderInstance=QD}readValueFromInstance(n,u){if(Qh.has(u))return this.projection?.isProjecting?ZT(u):Sz(n,u);{const c=q3(n),h=(M_(u)?c.getPropertyValue(u):c[u])||0;return typeof h=="string"?h.trim():h}}measureInstanceViewportBox(n,{transformPagePoint:u}){return XD(n,u)}build(n,u,c){SE(n,u,c.transformTemplate)}scrapeMotionValuesFromProps(n,u,c){return EE(n,u,c)}}const G3={offset:"stroke-dashoffset",array:"stroke-dasharray"},k3={offset:"strokeDashoffset",array:"strokeDasharray"};function X3(o,n,u=1,c=0,h=!0){o.pathLength=1;const p=h?G3:k3;o[p.offset]=`${-c}`,o[p.array]=`${n} ${u}`}const Q3=["offsetDistance","offsetPath","offsetRotate","offsetAnchor"];function $D(o,{attrX:n,attrY:u,attrScale:c,pathLength:h,pathSpacing:p=1,pathOffset:y=0,...S},E,A,x){if(SE(o,S,A),E){o.style.viewBox&&(o.attrs.viewBox=o.style.viewBox);return}o.attrs=o.style,o.style={};const{attrs:_,style:w}=o;_.transform&&(w.transform=_.transform,delete _.transform),(w.transform||_.transformOrigin)&&(w.transformOrigin=_.transformOrigin??"50% 50%",delete _.transformOrigin),w.transform&&(w.transformBox=x?.transformBox??"fill-box",delete _.transformBox);for(const z of Q3)_[z]!==void 0&&(w[z]=_[z],delete _[z]);n!==void 0&&(_.x=n),u!==void 0&&(_.y=u),c!==void 0&&(_.scale=c),h!==void 0&&X3(_,h,p,y,!1)}const KD=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"]),PD=o=>typeof o=="string"&&o.toLowerCase()==="svg";function Z3(o,n,u,c){QD(o,n,void 0,c);for(const h in n.attrs)o.setAttribute(KD.has(h)?h:oE(h),n.attrs[h])}function FD(o,n,u){const c=EE(o,n,u);for(const h in o)if(Ki(o[h])||Ki(n[h])){const p=Xh.indexOf(h)!==-1?"attr"+h.charAt(0).toUpperCase()+h.substring(1):h;c[p]=o[h]}return c}class J3 extends VD{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=ri}getBaseTargetFromProps(n,u){return n[u]}readValueFromInstance(n,u){if(Qh.has(u)){const c=vD(u);return c&&c.default||0}return u=KD.has(u)?u:oE(u),n.getAttribute(u)}scrapeMotionValuesFromProps(n,u,c){return FD(n,u,c)}build(n,u,c){$D(n,u,this.isSVGTag,c.transformTemplate,c.style)}renderInstance(n,u,c,h){Z3(n,u,c,h)}mount(n){this.isSVGTag=PD(n.tagName),super.mount(n)}}const $3=yE.length;function WD(o){if(!o)return;if(!o.isControllingVariants){const u=o.parent?WD(o.parent)||{}:{};return o.props.initial!==void 0&&(u.initial=o.props.initial),u}const n={};for(let u=0;u<$3;u++){const c=yE[u],h=o.props[c];(Jy(h)||h===!1)&&(n[c]=h)}return n}function ID(o,n){if(!Array.isArray(n))return!1;const u=n.length;if(u!==o.length)return!1;for(let c=0;c<u;c++)if(n[c]!==o[c])return!1;return!0}const K3=[...pE].reverse(),P3=pE.length;function F3(o){return n=>Promise.all(n.map(({animation:u,options:c})=>hD(o,u,c)))}function W3(o){let n=F3(o),u=ew(),c=!0;const h=E=>(A,x)=>{const _=Zh(o,x,E==="exit"?o.presenceContext?.custom:void 0);if(_){const{transition:w,transitionEnd:z,...V}=_;A={...A,...V,...z}}return A};function p(E){n=E(o)}function y(E){const{props:A}=o,x=WD(o.parent)||{},_=[],w=new Set;let z={},V=1/0;for(let Q=0;Q<P3;Q++){const $=K3[Q],le=u[$],ee=A[$]!==void 0?A[$]:x[$],oe=Jy(ee),ye=$===E?le.isActive:null;ye===!1&&(V=Q);let xe=ee===x[$]&&ee!==A[$]&&oe;if(xe&&c&&o.manuallyAnimateOnMount&&(xe=!1),le.protectedKeys={...z},!le.isActive&&ye===null||!ee&&!le.prevProp||yb(ee)||typeof ee=="boolean")continue;const ve=I3(le.prevProp,ee);let he=ve||$===E&&le.isActive&&!xe&&oe||Q>V&&oe,Re=!1;const be=Array.isArray(ee)?ee:[ee];let ot=be.reduce(h($),{});ye===!1&&(ot={});const{prevResolvedValues:we={}}=le,Qe={...we,...ot},Vt=ne=>{he=!0,w.has(ne)&&(Re=!0,w.delete(ne)),le.needsAnimating[ne]=!0;const de=o.getValue(ne);de&&(de.liveStyle=!1)};for(const ne in Qe){const de=ot[ne],Oe=we[ne];if(z.hasOwnProperty(ne))continue;let Le=!1;iE(de)&&iE(Oe)?Le=!ID(de,Oe):Le=de!==Oe,Le?de!=null?Vt(ne):w.add(ne):de!==void 0&&w.has(ne)?Vt(ne):le.protectedKeys[ne]=!0}le.prevProp=ee,le.prevResolvedValues=ot,le.isActive&&(z={...z,...ot}),c&&o.blockInitialAnimation&&(he=!1);const Yt=xe&&ve;he&&(!Yt||Re)&&_.push(...be.map(ne=>{const de={type:$};if(typeof ne=="string"&&c&&!Yt&&o.manuallyAnimateOnMount&&o.parent){const{parent:Oe}=o,Le=Zh(Oe,ne);if(Oe.enteringChildren&&Le){const{delayChildren:U}=Le.transition||{};de.delay=lD(Oe.enteringChildren,o,U)}}return{animation:ne,options:de}}))}if(w.size){const Q={};if(typeof A.initial!="boolean"){const $=Zh(o,Array.isArray(A.initial)?A.initial[0]:A.initial);$&&$.transition&&(Q.transition=$.transition)}w.forEach($=>{const le=o.getBaseTarget($),ee=o.getValue($);ee&&(ee.liveStyle=!0),Q[$]=le??null}),_.push({animation:Q})}let X=!!_.length;return c&&(A.initial===!1||A.initial===A.animate)&&!o.manuallyAnimateOnMount&&(X=!1),c=!1,X?n(_):Promise.resolve()}function S(E,A){if(u[E].isActive===A)return Promise.resolve();o.variantChildren?.forEach(_=>_.animationState?.setActive(E,A)),u[E].isActive=A;const x=y(E);for(const _ in u)u[_].protectedKeys={};return x}return{animateChanges:y,setActive:S,setAnimateFunction:p,getState:()=>u,reset:()=>{u=ew()}}}function I3(o,n){return typeof n=="string"?n!==o:Array.isArray(n)?!ID(n,o):!1}function Vf(o=!1){return{isActive:o,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function ew(){return{animate:Vf(!0),whileInView:Vf(),whileHover:Vf(),whileTap:Vf(),whileDrag:Vf(),whileFocus:Vf(),exit:Vf()}}function tw(o,n){o.min=n.min,o.max=n.max}function ko(o,n){tw(o.x,n.x),tw(o.y,n.y)}function nw(o,n){o.translate=n.translate,o.scale=n.scale,o.originPoint=n.originPoint,o.origin=n.origin}const iw=1e-4,e4=1-iw,t4=1+iw,aw=.01,n4=0-aw,i4=0+aw;function da(o){return o.max-o.min}function a4(o,n,u){return Math.abs(o-n)<=u}function lw(o,n,u,c=.5){o.origin=c,o.originPoint=Tn(n.min,n.max,o.origin),o.scale=da(u)/da(n),o.translate=Tn(u.min,u.max,o.origin)-o.originPoint,(o.scale>=e4&&o.scale<=t4||isNaN(o.scale))&&(o.scale=1),(o.translate>=n4&&o.translate<=i4||isNaN(o.translate))&&(o.translate=0)}function Ky(o,n,u,c){lw(o.x,n.x,u.x,c?c.originX:void 0),lw(o.y,n.y,u.y,c?c.originY:void 0)}function ow(o,n,u){o.min=u.min+n.min,o.max=o.min+da(n)}function l4(o,n,u){ow(o.x,n.x,u.x),ow(o.y,n.y,u.y)}function sw(o,n,u){o.min=n.min-u.min,o.max=o.min+da(n)}function Sb(o,n,u){sw(o.x,n.x,u.x),sw(o.y,n.y,u.y)}function uw(o,n,u,c,h){return o-=n,o=bb(o,1/u,c),h!==void 0&&(o=bb(o,1/h,c)),o}function o4(o,n=0,u=1,c=.5,h,p=o,y=o){if(Rs.test(n)&&(n=parseFloat(n),n=Tn(y.min,y.max,n/100)-y.min),typeof n!="number")return;let S=Tn(p.min,p.max,c);o===p&&(S-=n),o.min=uw(o.min,n,u,S,h),o.max=uw(o.max,n,u,S,h)}function rw(o,n,[u,c,h],p,y){o4(o,n[u],n[c],n[h],n.scale,p,y)}const s4=["x","scaleX","originX"],u4=["y","scaleY","originY"];function cw(o,n,u,c){rw(o.x,n,s4,u?u.x:void 0,c?c.x:void 0),rw(o.y,n,u4,u?u.y:void 0,c?c.y:void 0)}function fw(o){return o.translate===0&&o.scale===1}function dw(o){return fw(o.x)&&fw(o.y)}function hw(o,n){return o.min===n.min&&o.max===n.max}function r4(o,n){return hw(o.x,n.x)&&hw(o.y,n.y)}function mw(o,n){return Math.round(o.min)===Math.round(n.min)&&Math.round(o.max)===Math.round(n.max)}function pw(o,n){return mw(o.x,n.x)&&mw(o.y,n.y)}function yw(o){return da(o.x)/da(o.y)}function gw(o,n){return o.translate===n.translate&&o.scale===n.scale&&o.originPoint===n.originPoint}function kl(o){return[o("x"),o("y")]}function c4(o,n,u){let c="";const h=o.x.translate/n.x,p=o.y.translate/n.y,y=u?.z||0;if((h||p||y)&&(c=`translate3d(${h}px, ${p}px, ${y}px) `),(n.x!==1||n.y!==1)&&(c+=`scale(${1/n.x}, ${1/n.y}) `),u){const{transformPerspective:A,rotate:x,rotateX:_,rotateY:w,skewX:z,skewY:V}=u;A&&(c=`perspective(${A}px) ${c}`),x&&(c+=`rotate(${x}deg) `),_&&(c+=`rotateX(${_}deg) `),w&&(c+=`rotateY(${w}deg) `),z&&(c+=`skewX(${z}deg) `),V&&(c+=`skewY(${V}deg) `)}const S=o.x.scale*n.x,E=o.y.scale*n.y;return(S!==1||E!==1)&&(c+=`scale(${S}, ${E})`),c||"none"}const vw=["TopLeft","TopRight","BottomLeft","BottomRight"],f4=vw.length,bw=o=>typeof o=="string"?parseFloat(o):o,Sw=o=>typeof o=="number"||Be.test(o);function d4(o,n,u,c,h,p){h?(o.opacity=Tn(0,u.opacity??1,h4(c)),o.opacityExit=Tn(n.opacity??1,0,m4(c))):p&&(o.opacity=Tn(n.opacity??1,u.opacity??1,c));for(let y=0;y<f4;y++){const S=`border${vw[y]}Radius`;let E=Tw(n,S),A=Tw(u,S);if(E===void 0&&A===void 0)continue;E||(E=0),A||(A=0),E===0||A===0||Sw(E)===Sw(A)?(o[S]=Math.max(Tn(bw(E),bw(A),c),0),(Rs.test(A)||Rs.test(E))&&(o[S]+="%")):o[S]=A}(n.rotate||u.rotate)&&(o.rotate=Tn(n.rotate||0,u.rotate||0,c))}function Tw(o,n){return o[n]!==void 0?o[n]:o.borderRadius}const h4=Ew(0,.5,E_),m4=Ew(.5,.95,Yl);function Ew(o,n,u){return c=>c<o?0:c>n?1:u(qy(o,n,c))}function p4(o,n,u){const c=Ki(o)?o:Jh(o);return c.start(tE("",c,n,u)),c.animation}function Py(o,n,u,c={passive:!0}){return o.addEventListener(n,u,c),()=>o.removeEventListener(n,u)}const y4=(o,n)=>o.depth-n.depth;class g4{constructor(){this.children=[],this.isDirty=!1}add(n){bT(this.children,n),this.isDirty=!0}remove(n){ST(this.children,n),this.isDirty=!0}forEach(n){this.isDirty&&this.children.sort(y4),this.isDirty=!1,this.children.forEach(n)}}function v4(o,n){const u=fa.now(),c=({timestamp:h})=>{const p=h-u;p>=n&&(jr(c),o(p-n))};return fn.setup(c,!0),()=>jr(c)}function Tb(o){return Ki(o)?o.get():o}class b4{constructor(){this.members=[]}add(n){bT(this.members,n),n.scheduleRender()}remove(n){if(ST(this.members,n),n===this.prevLead&&(this.prevLead=void 0),n===this.lead){const u=this.members[this.members.length-1];u&&this.promote(u)}}relegate(n){const u=this.members.findIndex(h=>n===h);if(u===0)return!1;let c;for(let h=u;h>=0;h--){const p=this.members[h];if(p.isPresent!==!1){c=p;break}}return c?(this.promote(c),!0):!1}promote(n,u){const c=this.lead;if(n!==c&&(this.prevLead=c,this.lead=n,n.show(),c)){c.instance&&c.scheduleRender(),n.scheduleRender(),n.resumeFrom=c,u&&(n.resumeFrom.preserveOpacity=!0),c.snapshot&&(n.snapshot=c.snapshot,n.snapshot.latestValues=c.animationValues||c.latestValues),n.root&&n.root.isUpdating&&(n.isLayoutDirty=!0);const{crossfade:h}=n.options;h===!1&&c.hide()}}exitAnimationComplete(){this.members.forEach(n=>{const{options:u,resumingFrom:c}=n;u.onExitComplete&&u.onExitComplete(),c&&c.options.onExitComplete&&c.options.onExitComplete()})}scheduleRender(){this.members.forEach(n=>{n.instance&&n.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}const Eb={hasAnimatedSinceResize:!0,hasEverUpdated:!1},AE=["","X","Y","Z"],S4=1e3;let T4=0;function xE(o,n,u,c){const{latestValues:h}=n;h[o]&&(u[o]=h[o],n.setStaticValue(o,0),c&&(c[o]=0))}function Aw(o){if(o.hasCheckedOptimisedAppear=!0,o.root===o)return;const{visualElement:n}=o.options;if(!n)return;const u=fD(n);if(window.MotionHasOptimisedAnimation(u,"transform")){const{layout:h,layoutId:p}=o.options;window.MotionCancelOptimisedAnimation(u,"transform",fn,!(h||p))}const{parent:c}=o;c&&!c.hasCheckedOptimisedAppear&&Aw(c)}function xw({attachResizeListener:o,defaultParent:n,measureScroll:u,checkIsScrollRoot:c,resetTransform:h}){return class{constructor(y={},S=n?.()){this.id=T4++,this.animationId=0,this.animationCommitId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.layoutVersion=0,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,this.nodes.forEach(x4),this.nodes.forEach(R4),this.nodes.forEach(O4),this.nodes.forEach(_4)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=y,this.root=S?S.root||S:this,this.path=S?[...S.path,S]:[],this.parent=S,this.depth=S?S.depth+1:0;for(let E=0;E<this.path.length;E++)this.path[E].shouldResetTransform=!0;this.root===this&&(this.nodes=new g4)}addEventListener(y,S){return this.eventHandlers.has(y)||this.eventHandlers.set(y,new AT),this.eventHandlers.get(y).add(S)}notifyListeners(y,...S){const E=this.eventHandlers.get(y);E&&E.notify(...S)}hasListeners(y){return this.eventHandlers.has(y)}mount(y){if(this.instance)return;this.isSVG=RD(y)&&!A3(y),this.instance=y;const{layoutId:S,layout:E,visualElement:A}=this.options;if(A&&!A.current&&A.mount(y),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(E||S)&&(this.isLayoutDirty=!0),o){let x,_=0;const w=()=>this.root.updateBlockedByResize=!1;fn.read(()=>{_=window.innerWidth}),o(y,()=>{const z=window.innerWidth;z!==_&&(_=z,this.root.updateBlockedByResize=!0,x&&x(),x=v4(w,250),Eb.hasAnimatedSinceResize&&(Eb.hasAnimatedSinceResize=!1,this.nodes.forEach(ww)))})}S&&this.root.registerSharedNode(S,this),this.options.animate!==!1&&A&&(S||E)&&this.addEventListener("didUpdate",({delta:x,hasLayoutChanged:_,hasRelativeLayoutChanged:w,layout:z})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const V=this.options.transition||A.getDefaultTransition()||B4,{onLayoutAnimationStart:X,onLayoutAnimationComplete:Q}=A.getProps(),$=!this.targetLayout||!pw(this.targetLayout,z),le=!_&&w;if(this.options.layoutRoot||this.resumeFrom||le||_&&($||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);const ee={...eE(V,"layout"),onPlay:X,onComplete:Q};(A.shouldReduceMotion||this.options.layoutRoot)&&(ee.delay=0,ee.type=!1),this.startAnimation(ee),this.setAnimationOrigin(x,le)}else _||ww(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=z})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const y=this.getStack();y&&y.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),jr(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(M4),this.animationId++)}getTransformTemplate(){const{visualElement:y}=this.options;return y&&y.getProps().transformTemplate}willUpdate(y=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&Aw(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let x=0;x<this.path.length;x++){const _=this.path[x];_.shouldResetTransform=!0,_.updateScroll("snapshot"),_.options.layoutRoot&&_.willUpdate(!1)}const{layoutId:S,layout:E}=this.options;if(S===void 0&&!E)return;const A=this.getTransformTemplate();this.prevTransformTemplateValue=A?A(this.latestValues,""):void 0,this.updateSnapshot(),y&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(_w);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(Dw);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(w4),this.nodes.forEach(E4),this.nodes.forEach(A4)):this.nodes.forEach(Dw),this.clearAllSnapshots();const S=fa.now();Ri.delta=Ds(0,1e3/60,S-Ri.timestamp),Ri.timestamp=S,Ri.isProcessing=!0,wT.update.process(Ri),wT.preRender.process(Ri),wT.render.process(Ri),Ri.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,fE.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(D4),this.sharedNodes.forEach(C4)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,fn.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){fn.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!da(this.snapshot.measuredBox.x)&&!da(this.snapshot.measuredBox.y)&&(this.snapshot=void 0))}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let E=0;E<this.path.length;E++)this.path[E].updateScroll();const y=this.layout;this.layout=this.measure(!1),this.layoutVersion++,this.layoutCorrected=ri(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:S}=this.options;S&&S.notify("LayoutMeasure",this.layout.layoutBox,y?y.layoutBox:void 0)}updateScroll(y="measure"){let S=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===y&&(S=!1),S&&this.instance){const E=c(this.instance);this.scroll={animationId:this.root.animationId,phase:y,isRoot:E,offset:u(this.instance),wasRoot:this.scroll?this.scroll.isRoot:E}}}resetTransform(){if(!h)return;const y=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,S=this.projectionDelta&&!dw(this.projectionDelta),E=this.getTransformTemplate(),A=E?E(this.latestValues,""):void 0,x=A!==this.prevTransformTemplateValue;y&&this.instance&&(S||Bf(this.latestValues)||x)&&(h(this.instance,A),this.shouldResetTransform=!1,this.scheduleRender())}measure(y=!0){const S=this.measurePageBox();let E=this.removeElementScroll(S);return y&&(E=this.removeTransform(E)),V4(E),{animationId:this.root.animationId,measuredBox:S,layoutBox:E,latestValues:{},source:this.id}}measurePageBox(){const{visualElement:y}=this.options;if(!y)return ri();const S=y.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(H4))){const{scroll:A}=this.root;A&&(Kh(S.x,A.offset.x),Kh(S.y,A.offset.y))}return S}removeElementScroll(y){const S=ri();if(ko(S,y),this.scroll?.wasRoot)return S;for(let E=0;E<this.path.length;E++){const A=this.path[E],{scroll:x,options:_}=A;A!==this.root&&x&&_.layoutScroll&&(x.wasRoot&&ko(S,y),Kh(S.x,x.offset.x),Kh(S.y,x.offset.y))}return S}applyTransform(y,S=!1){const E=ri();ko(E,y);for(let A=0;A<this.path.length;A++){const x=this.path[A];!S&&x.options.layoutScroll&&x.scroll&&x!==x.root&&Ph(E,{x:-x.scroll.offset.x,y:-x.scroll.offset.y}),Bf(x.latestValues)&&Ph(E,x.latestValues)}return Bf(this.latestValues)&&Ph(E,this.latestValues),E}removeTransform(y){const S=ri();ko(S,y);for(let E=0;E<this.path.length;E++){const A=this.path[E];if(!A.instance||!Bf(A.latestValues))continue;vE(A.latestValues)&&A.updateSnapshot();const x=ri(),_=A.measurePageBox();ko(x,_),cw(S,A.latestValues,A.snapshot?A.snapshot.layoutBox:void 0,x)}return Bf(this.latestValues)&&cw(S,this.latestValues),S}setTargetDelta(y){this.targetDelta=y,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(y){this.options={...this.options,...y,crossfade:y.crossfade!==void 0?y.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!==Ri.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(y=!1){const S=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=S.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=S.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=S.isSharedProjectionDirty);const E=!!this.resumingFrom||this!==S;if(!(y||E&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:x,layoutId:_}=this.options;if(!this.layout||!(x||_))return;this.resolvedRelativeTargetAt=Ri.timestamp;const w=this.getClosestProjectingParent();w&&this.linkedParentVersion!==w.layoutVersion&&!w.options.layoutRoot&&this.removeRelativeTarget(),!this.targetDelta&&!this.relativeTarget&&(w&&w.layout?this.createRelativeTarget(w,this.layout.layoutBox,w.layout.layoutBox):this.removeRelativeTarget()),!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=ri(),this.targetWithTransforms=ri()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),l4(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):ko(this.target,this.layout.layoutBox),qD(this.target,this.targetDelta)):ko(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,w&&!!w.resumingFrom==!!this.resumingFrom&&!w.options.layoutScroll&&w.target&&this.animationProgress!==1?this.createRelativeTarget(w,this.target,w.target):this.relativeParent=this.relativeTarget=void 0))}getClosestProjectingParent(){if(!(!this.parent||vE(this.parent.latestValues)||LD(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}createRelativeTarget(y,S,E){this.relativeParent=y,this.linkedParentVersion=y.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=ri(),this.relativeTargetOrigin=ri(),Sb(this.relativeTargetOrigin,S,E),ko(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){const y=this.getLead(),S=!!this.resumingFrom||this!==y;let E=!0;if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(E=!1),S&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(E=!1),this.resolvedRelativeTargetAt===Ri.timestamp&&(E=!1),E)return;const{layout:A,layoutId:x}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(A||x))return;ko(this.layoutCorrected,this.layout.layoutBox);const _=this.treeScale.x,w=this.treeScale.y;B3(this.layoutCorrected,this.treeScale,this.path,S),y.layout&&!y.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(y.target=y.layout.layoutBox,y.targetWithTransforms=ri());const{target:z}=y;if(!z){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(nw(this.prevProjectionDelta.x,this.projectionDelta.x),nw(this.prevProjectionDelta.y,this.projectionDelta.y)),Ky(this.projectionDelta,this.layoutCorrected,z,this.latestValues),(this.treeScale.x!==_||this.treeScale.y!==w||!gw(this.projectionDelta.x,this.prevProjectionDelta.x)||!gw(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",z))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(y=!0){if(this.options.visualElement?.scheduleRender(),y){const S=this.getStack();S&&S.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=$h(),this.projectionDelta=$h(),this.projectionDeltaWithTransform=$h()}setAnimationOrigin(y,S=!1){const E=this.snapshot,A=E?E.latestValues:{},x={...this.latestValues},_=$h();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!S;const w=ri(),z=E?E.source:void 0,V=this.layout?this.layout.source:void 0,X=z!==V,Q=this.getStack(),$=!Q||Q.members.length<=1,le=!!(X&&!$&&this.options.crossfade===!0&&!this.path.some(U4));this.animationProgress=0;let ee;this.mixTargetDelta=oe=>{const ye=oe/1e3;Rw(_.x,y.x,ye),Rw(_.y,y.y,ye),this.setTargetDelta(_),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(Sb(w,this.layout.layoutBox,this.relativeParent.layout.layoutBox),z4(this.relativeTarget,this.relativeTargetOrigin,w,ye),ee&&r4(this.relativeTarget,ee)&&(this.isProjectionDirty=!1),ee||(ee=ri()),ko(ee,this.relativeTarget)),X&&(this.animationValues=x,d4(x,A,this.latestValues,ye,le,$)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=ye},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(y){this.notifyListeners("animationStart"),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&(jr(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=fn.update(()=>{Eb.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=Jh(0)),this.currentAnimation=p4(this.motionValue,[0,1e3],{...y,velocity:0,isSync:!0,onUpdate:S=>{this.mixTargetDelta(S),y.onUpdate&&y.onUpdate(S)},onStop:()=>{},onComplete:()=>{y.onComplete&&y.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 y=this.getStack();y&&y.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(S4),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const y=this.getLead();let{targetWithTransforms:S,target:E,layout:A,latestValues:x}=y;if(!(!S||!E||!A)){if(this!==y&&this.layout&&A&&Uw(this.options.animationType,this.layout.layoutBox,A.layoutBox)){E=this.target||ri();const _=da(this.layout.layoutBox.x);E.x.min=y.target.x.min,E.x.max=E.x.min+_;const w=da(this.layout.layoutBox.y);E.y.min=y.target.y.min,E.y.max=E.y.min+w}ko(S,E),Ph(S,x),Ky(this.projectionDeltaWithTransform,this.layoutCorrected,S,x)}}registerSharedNode(y,S){this.sharedNodes.has(y)||this.sharedNodes.set(y,new b4),this.sharedNodes.get(y).add(S);const A=S.options.initialPromotionConfig;S.promote({transition:A?A.transition:void 0,preserveFollowOpacity:A&&A.shouldPreserveFollowOpacity?A.shouldPreserveFollowOpacity(S):void 0})}isLead(){const y=this.getStack();return y?y.lead===this:!0}getLead(){const{layoutId:y}=this.options;return y?this.getStack()?.lead||this:this}getPrevLead(){const{layoutId:y}=this.options;return y?this.getStack()?.prevLead:void 0}getStack(){const{layoutId:y}=this.options;if(y)return this.root.sharedNodes.get(y)}promote({needsReset:y,transition:S,preserveFollowOpacity:E}={}){const A=this.getStack();A&&A.promote(this,E),y&&(this.projectionDelta=void 0,this.needsReset=!0),S&&this.setOptions({transition:S})}relegate(){const y=this.getStack();return y?y.relegate(this):!1}resetSkewAndRotation(){const{visualElement:y}=this.options;if(!y)return;let S=!1;const{latestValues:E}=y;if((E.z||E.rotate||E.rotateX||E.rotateY||E.rotateZ||E.skewX||E.skewY)&&(S=!0),!S)return;const A={};E.z&&xE("z",y,A,this.animationValues);for(let x=0;x<AE.length;x++)xE(`rotate${AE[x]}`,y,A,this.animationValues),xE(`skew${AE[x]}`,y,A,this.animationValues);y.render();for(const x in A)y.setStaticValue(x,A[x]),this.animationValues&&(this.animationValues[x]=A[x]);y.scheduleRender()}applyProjectionStyles(y,S){if(!this.instance||this.isSVG)return;if(!this.isVisible){y.visibility="hidden";return}const E=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,y.visibility="",y.opacity="",y.pointerEvents=Tb(S?.pointerEvents)||"",y.transform=E?E(this.latestValues,""):"none";return}const A=this.getLead();if(!this.projectionDelta||!this.layout||!A.target){this.options.layoutId&&(y.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,y.pointerEvents=Tb(S?.pointerEvents)||""),this.hasProjected&&!Bf(this.latestValues)&&(y.transform=E?E({},""):"none",this.hasProjected=!1);return}y.visibility="";const x=A.animationValues||A.latestValues;this.applyTransformsToTarget();let _=c4(this.projectionDeltaWithTransform,this.treeScale,x);E&&(_=E(x,_)),y.transform=_;const{x:w,y:z}=this.projectionDelta;y.transformOrigin=`${w.origin*100}% ${z.origin*100}% 0`,A.animationValues?y.opacity=A===this?x.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:x.opacityExit:y.opacity=A===this?x.opacity!==void 0?x.opacity:"":x.opacityExit!==void 0?x.opacityExit:0;for(const V in TE){if(x[V]===void 0)continue;const{correct:X,applyTo:Q,isCSSVariable:$}=TE[V],le=_==="none"?x[V]:X(x[V],A);if(Q){const ee=Q.length;for(let oe=0;oe<ee;oe++)y[Q[oe]]=le}else $?this.options.visualElement.renderState.vars[V]=le:y[V]=le}this.options.layoutId&&(y.pointerEvents=A===this?Tb(S?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(y=>y.currentAnimation?.stop()),this.root.nodes.forEach(_w),this.root.sharedNodes.clear()}}}function E4(o){o.updateLayout()}function A4(o){const n=o.resumeFrom?.snapshot||o.snapshot;if(o.isLead()&&o.layout&&n&&o.hasListeners("didUpdate")){const{layoutBox:u,measuredBox:c}=o.layout,{animationType:h}=o.options,p=n.source!==o.layout.source;h==="size"?kl(x=>{const _=p?n.measuredBox[x]:n.layoutBox[x],w=da(_);_.min=u[x].min,_.max=_.min+w}):Uw(h,n.layoutBox,u)&&kl(x=>{const _=p?n.measuredBox[x]:n.layoutBox[x],w=da(u[x]);_.max=_.min+w,o.relativeTarget&&!o.currentAnimation&&(o.isProjectionDirty=!0,o.relativeTarget[x].max=o.relativeTarget[x].min+w)});const y=$h();Ky(y,u,n.layoutBox);const S=$h();p?Ky(S,o.applyTransform(c,!0),n.measuredBox):Ky(S,u,n.layoutBox);const E=!dw(y);let A=!1;if(!o.resumeFrom){const x=o.getClosestProjectingParent();if(x&&!x.resumeFrom){const{snapshot:_,layout:w}=x;if(_&&w){const z=ri();Sb(z,n.layoutBox,_.layoutBox);const V=ri();Sb(V,u,w.layoutBox),pw(z,V)||(A=!0),x.options.layoutRoot&&(o.relativeTarget=V,o.relativeTargetOrigin=z,o.relativeParent=x)}}}o.notifyListeners("didUpdate",{layout:u,snapshot:n,delta:S,layoutDelta:y,hasLayoutChanged:E,hasRelativeLayoutChanged:A})}else if(o.isLead()){const{onExitComplete:u}=o.options;u&&u()}o.options.transition=void 0}function x4(o){o.parent&&(o.isProjecting()||(o.isProjectionDirty=o.parent.isProjectionDirty),o.isSharedProjectionDirty||(o.isSharedProjectionDirty=!!(o.isProjectionDirty||o.parent.isProjectionDirty||o.parent.isSharedProjectionDirty)),o.isTransformDirty||(o.isTransformDirty=o.parent.isTransformDirty))}function _4(o){o.isProjectionDirty=o.isSharedProjectionDirty=o.isTransformDirty=!1}function D4(o){o.clearSnapshot()}function _w(o){o.clearMeasurements()}function Dw(o){o.isLayoutDirty=!1}function w4(o){const{visualElement:n}=o.options;n&&n.getProps().onBeforeLayoutMeasure&&n.notify("BeforeLayoutMeasure"),o.resetTransform()}function ww(o){o.finishAnimation(),o.targetDelta=o.relativeTarget=o.target=void 0,o.isProjectionDirty=!0}function R4(o){o.resolveTargetDelta()}function O4(o){o.calcProjection()}function M4(o){o.resetSkewAndRotation()}function C4(o){o.removeLeadSnapshot()}function Rw(o,n,u){o.translate=Tn(n.translate,0,u),o.scale=Tn(n.scale,1,u),o.origin=n.origin,o.originPoint=n.originPoint}function Ow(o,n,u,c){o.min=Tn(n.min,u.min,c),o.max=Tn(n.max,u.max,c)}function z4(o,n,u,c){Ow(o.x,n.x,u.x,c),Ow(o.y,n.y,u.y,c)}function U4(o){return o.animationValues&&o.animationValues.opacityExit!==void 0}const B4={duration:.45,ease:[.4,0,.1,1]},Mw=o=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(o),Cw=Mw("applewebkit/")&&!Mw("chrome/")?Math.round:Yl;function zw(o){o.min=Cw(o.min),o.max=Cw(o.max)}function V4(o){zw(o.x),zw(o.y)}function Uw(o,n,u){return o==="position"||o==="preserve-aspect"&&!a4(yw(n),yw(u),.2)}function H4(o){return o!==o.root&&o.scroll?.wasRoot}const L4=xw({attachResizeListener:(o,n)=>Py(o,"resize",n),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body?.scrollLeft||0,y:document.documentElement.scrollTop||document.body?.scrollTop||0}),checkIsScrollRoot:()=>!0}),_E={current:void 0},Bw=xw({measureScroll:o=>({x:o.scrollLeft,y:o.scrollTop}),defaultParent:()=>{if(!_E.current){const o=new L4({});o.mount(window),o.setOptions({layoutScroll:!0}),_E.current=o}return _E.current},resetTransform:(o,n)=>{o.style.transform=n!==void 0?n:"none"},checkIsScrollRoot:o=>window.getComputedStyle(o).position==="fixed"}),DE=Ce.createContext({transformPagePoint:o=>o,isStatic:!1,reducedMotion:"never"});function Vw(o,n){if(typeof o=="function")return o(n);o!=null&&(o.current=n)}function N4(...o){return n=>{let u=!1;const c=o.map(h=>{const p=Vw(h,n);return!u&&typeof p=="function"&&(u=!0),p});if(u)return()=>{for(let h=0;h<c.length;h++){const p=c[h];typeof p=="function"?p():Vw(o[h],null)}}}}function j4(...o){return Ce.useCallback(N4(...o),o)}class q4 extends Ce.Component{getSnapshotBeforeUpdate(n){const u=this.props.childRef.current;if(u&&n.isPresent&&!this.props.isPresent){const c=u.offsetParent,h=cE(c)&&c.offsetWidth||0,p=cE(c)&&c.offsetHeight||0,y=this.props.sizeRef.current;y.height=u.offsetHeight||0,y.width=u.offsetWidth||0,y.top=u.offsetTop,y.left=u.offsetLeft,y.right=h-y.width-y.left,y.bottom=p-y.height-y.top}return null}componentDidUpdate(){}render(){return this.props.children}}function Y4({children:o,isPresent:n,anchorX:u,anchorY:c,root:h}){const p=Ce.useId(),y=Ce.useRef(null),S=Ce.useRef({width:0,height:0,top:0,left:0,right:0,bottom:0}),{nonce:E}=Ce.useContext(DE),A=o.props?.ref??o?.ref,x=j4(y,A);return Ce.useInsertionEffect(()=>{const{width:_,height:w,top:z,left:V,right:X,bottom:Q}=S.current;if(n||!y.current||!_||!w)return;const $=u==="left"?`left: ${V}`:`right: ${X}`,le=c==="bottom"?`bottom: ${Q}`:`top: ${z}`;y.current.dataset.motionPopId=p;const ee=document.createElement("style");E&&(ee.nonce=E);const oe=h??document.head;return oe.appendChild(ee),ee.sheet&&ee.sheet.insertRule(`
244
- [data-motion-pop-id="${p}"] {
3
+ `+bf+e+Dv}var Sf=!1;function xf(e,i){if(!e||Sf)return"";Sf=!0;var s=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var l={DetermineComponentFrameRoot:function(){try{if(i){var q=function(){throw Error()};if(Object.defineProperty(q.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(q,[])}catch(V){var O=V}Reflect.construct(e,[],q)}else{try{q.call()}catch(V){O=V}e.call(q.prototype)}}else{try{throw Error()}catch(V){O=V}(q=e())&&typeof q.catch=="function"&&q.catch(function(){})}}catch(V){if(V&&O&&typeof V.stack=="string")return[V.stack,O.stack]}return[null,null]}};l.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var f=Object.getOwnPropertyDescriptor(l.DetermineComponentFrameRoot,"name");f&&f.configurable&&Object.defineProperty(l.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var h=l.DetermineComponentFrameRoot(),g=h[0],b=h[1];if(g&&b){var T=g.split(`
4
+ `),z=b.split(`
5
+ `);for(f=l=0;l<T.length&&!T[l].includes("DetermineComponentFrameRoot");)l++;for(;f<z.length&&!z[f].includes("DetermineComponentFrameRoot");)f++;if(l===T.length||f===z.length)for(l=T.length-1,f=z.length-1;1<=l&&0<=f&&T[l]!==z[f];)f--;for(;1<=l&&0<=f;l--,f--)if(T[l]!==z[f]){if(l!==1||f!==1)do if(l--,f--,0>f||T[l]!==z[f]){var k=`
6
+ `+T[l].replace(" at new "," at ");return e.displayName&&k.includes("<anonymous>")&&(k=k.replace("<anonymous>",e.displayName)),k}while(1<=l&&0<=f);break}}}finally{Sf=!1,Error.prepareStackTrace=s}return(s=e?e.displayName||e.name:"")?us(s):""}function d2(e,i){switch(e.tag){case 26:case 27:case 5:return us(e.type);case 16:return us("Lazy");case 13:return e.child!==i&&i!==null?us("Suspense Fallback"):us("Suspense");case 19:return us("SuspenseList");case 0:case 15:return xf(e.type,!1);case 11:return xf(e.type.render,!1);case 1:return xf(e.type,!0);case 31:return us("Activity");default:return""}}function zv(e){try{var i="",s=null;do i+=d2(e,s),s=e,e=e.return;while(e);return i}catch(l){return`
7
+ Error generating stack: `+l.message+`
8
+ `+l.stack}}var Tf=Object.prototype.hasOwnProperty,wf=n.unstable_scheduleCallback,Mf=n.unstable_cancelCallback,m2=n.unstable_shouldYield,p2=n.unstable_requestPaint,je=n.unstable_now,y2=n.unstable_getCurrentPriorityLevel,Ov=n.unstable_ImmediatePriority,Rv=n.unstable_UserBlockingPriority,Gl=n.unstable_NormalPriority,g2=n.unstable_LowPriority,Vv=n.unstable_IdlePriority,v2=n.log,b2=n.unstable_setDisableYieldValue,uo=null,Pe=null;function gn(e){if(typeof v2=="function"&&b2(e),Pe&&typeof Pe.setStrictMode=="function")try{Pe.setStrictMode(uo,e)}catch{}}var Ye=Math.clz32?Math.clz32:T2,S2=Math.log,x2=Math.LN2;function T2(e){return e>>>=0,e===0?32:31-(S2(e)/x2|0)|0}var Xl=256,Ql=262144,Zl=4194304;function cs(e){var i=e&42;if(i!==0)return i;switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return e&261888;case 262144:case 524288:case 1048576:case 2097152:return e&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return e&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return e}}function Kl(e,i,s){var l=e.pendingLanes;if(l===0)return 0;var f=0,h=e.suspendedLanes,g=e.pingedLanes;e=e.warmLanes;var b=l&134217727;return b!==0?(l=b&~h,l!==0?f=cs(l):(g&=b,g!==0?f=cs(g):s||(s=b&~e,s!==0&&(f=cs(s))))):(b=l&~h,b!==0?f=cs(b):g!==0?f=cs(g):s||(s=l&~e,s!==0&&(f=cs(s)))),f===0?0:i!==0&&i!==f&&(i&h)===0&&(h=f&-f,s=i&-i,h>=s||h===32&&(s&4194048)!==0)?i:f}function co(e,i){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&i)===0}function w2(e,i){switch(e){case 1:case 2:case 4:case 8:case 64:return i+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return i+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function Bv(){var e=Zl;return Zl<<=1,(Zl&62914560)===0&&(Zl=4194304),e}function _f(e){for(var i=[],s=0;31>s;s++)i.push(e);return i}function fo(e,i){e.pendingLanes|=i,i!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function M2(e,i,s,l,f,h){var g=e.pendingLanes;e.pendingLanes=s,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=s,e.entangledLanes&=s,e.errorRecoveryDisabledLanes&=s,e.shellSuspendCounter=0;var b=e.entanglements,T=e.expirationTimes,z=e.hiddenUpdates;for(s=g&~s;0<s;){var k=31-Ye(s),q=1<<k;b[k]=0,T[k]=-1;var O=z[k];if(O!==null)for(z[k]=null,k=0;k<O.length;k++){var V=O[k];V!==null&&(V.lane&=-536870913)}s&=~q}l!==0&&Lv(e,l,0),h!==0&&f===0&&e.tag!==0&&(e.suspendedLanes|=h&~(g&~i))}function Lv(e,i,s){e.pendingLanes|=i,e.suspendedLanes&=~i;var l=31-Ye(i);e.entangledLanes|=i,e.entanglements[l]=e.entanglements[l]|1073741824|s&261930}function kv(e,i){var s=e.entangledLanes|=i;for(e=e.entanglements;s;){var l=31-Ye(s),f=1<<l;f&i|e[l]&i&&(e[l]|=i),s&=~f}}function Uv(e,i){var s=i&-i;return s=(s&42)!==0?1:Cf(s),(s&(e.suspendedLanes|i))!==0?0:s}function Cf(e){switch(e){case 2:e=1;break;case 8:e=4;break;case 32:e=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:e=128;break;case 268435456:e=134217728;break;default:e=0}return e}function Ef(e){return e&=-e,2<e?8<e?(e&134217727)!==0?32:268435456:8:2}function Nv(){var e=P.p;return e!==0?e:(e=window.event,e===void 0?32:wx(e.type))}function Hv(e,i){var s=P.p;try{return P.p=e,i()}finally{P.p=s}}var vn=Math.random().toString(36).slice(2),le="__reactFiber$"+vn,De="__reactProps$"+vn,Ws="__reactContainer$"+vn,Af="__reactEvents$"+vn,_2="__reactListeners$"+vn,C2="__reactHandles$"+vn,qv="__reactResources$"+vn,ho="__reactMarker$"+vn;function Df(e){delete e[le],delete e[De],delete e[Af],delete e[_2],delete e[C2]}function ta(e){var i=e[le];if(i)return i;for(var s=e.parentNode;s;){if(i=s[Ws]||s[le]){if(s=i.alternate,i.child!==null||s!==null&&s.child!==null)for(e=lx(e);e!==null;){if(s=e[le])return s;e=lx(e)}return i}e=s,s=e.parentNode}return null}function ea(e){if(e=e[le]||e[Ws]){var i=e.tag;if(i===5||i===6||i===13||i===31||i===26||i===27||i===3)return e}return null}function mo(e){var i=e.tag;if(i===5||i===26||i===27||i===6)return e.stateNode;throw Error(o(33))}function ia(e){var i=e[qv];return i||(i=e[qv]={hoistableStyles:new Map,hoistableScripts:new Map}),i}function ne(e){e[ho]=!0}var jv=new Set,Pv={};function fs(e,i){na(e,i),na(e+"Capture",i)}function na(e,i){for(Pv[e]=i,e=0;e<i.length;e++)jv.add(i[e])}var E2=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),Yv={},Gv={};function A2(e){return Tf.call(Gv,e)?!0:Tf.call(Yv,e)?!1:E2.test(e)?Gv[e]=!0:(Yv[e]=!0,!1)}function Fl(e,i,s){if(A2(i))if(s===null)e.removeAttribute(i);else{switch(typeof s){case"undefined":case"function":case"symbol":e.removeAttribute(i);return;case"boolean":var l=i.toLowerCase().slice(0,5);if(l!=="data-"&&l!=="aria-"){e.removeAttribute(i);return}}e.setAttribute(i,""+s)}}function Jl(e,i,s){if(s===null)e.removeAttribute(i);else{switch(typeof s){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(i);return}e.setAttribute(i,""+s)}}function ji(e,i,s,l){if(l===null)e.removeAttribute(s);else{switch(typeof l){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(s);return}e.setAttributeNS(i,s,""+l)}}function si(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Xv(e){var i=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(i==="checkbox"||i==="radio")}function D2(e,i,s){var l=Object.getOwnPropertyDescriptor(e.constructor.prototype,i);if(!e.hasOwnProperty(i)&&typeof l<"u"&&typeof l.get=="function"&&typeof l.set=="function"){var f=l.get,h=l.set;return Object.defineProperty(e,i,{configurable:!0,get:function(){return f.call(this)},set:function(g){s=""+g,h.call(this,g)}}),Object.defineProperty(e,i,{enumerable:l.enumerable}),{getValue:function(){return s},setValue:function(g){s=""+g},stopTracking:function(){e._valueTracker=null,delete e[i]}}}}function zf(e){if(!e._valueTracker){var i=Xv(e)?"checked":"value";e._valueTracker=D2(e,i,""+e[i])}}function Qv(e){if(!e)return!1;var i=e._valueTracker;if(!i)return!0;var s=i.getValue(),l="";return e&&(l=Xv(e)?e.checked?"true":"false":e.value),e=l,e!==s?(i.setValue(e),!0):!1}function $l(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}var z2=/[\n"\\]/g;function ai(e){return e.replace(z2,function(i){return"\\"+i.charCodeAt(0).toString(16)+" "})}function Of(e,i,s,l,f,h,g,b){e.name="",g!=null&&typeof g!="function"&&typeof g!="symbol"&&typeof g!="boolean"?e.type=g:e.removeAttribute("type"),i!=null?g==="number"?(i===0&&e.value===""||e.value!=i)&&(e.value=""+si(i)):e.value!==""+si(i)&&(e.value=""+si(i)):g!=="submit"&&g!=="reset"||e.removeAttribute("value"),i!=null?Rf(e,g,si(i)):s!=null?Rf(e,g,si(s)):l!=null&&e.removeAttribute("value"),f==null&&h!=null&&(e.defaultChecked=!!h),f!=null&&(e.checked=f&&typeof f!="function"&&typeof f!="symbol"),b!=null&&typeof b!="function"&&typeof b!="symbol"&&typeof b!="boolean"?e.name=""+si(b):e.removeAttribute("name")}function Zv(e,i,s,l,f,h,g,b){if(h!=null&&typeof h!="function"&&typeof h!="symbol"&&typeof h!="boolean"&&(e.type=h),i!=null||s!=null){if(!(h!=="submit"&&h!=="reset"||i!=null)){zf(e);return}s=s!=null?""+si(s):"",i=i!=null?""+si(i):s,b||i===e.value||(e.value=i),e.defaultValue=i}l=l??f,l=typeof l!="function"&&typeof l!="symbol"&&!!l,e.checked=b?e.checked:!!l,e.defaultChecked=!!l,g!=null&&typeof g!="function"&&typeof g!="symbol"&&typeof g!="boolean"&&(e.name=g),zf(e)}function Rf(e,i,s){i==="number"&&$l(e.ownerDocument)===e||e.defaultValue===""+s||(e.defaultValue=""+s)}function sa(e,i,s,l){if(e=e.options,i){i={};for(var f=0;f<s.length;f++)i["$"+s[f]]=!0;for(s=0;s<e.length;s++)f=i.hasOwnProperty("$"+e[s].value),e[s].selected!==f&&(e[s].selected=f),f&&l&&(e[s].defaultSelected=!0)}else{for(s=""+si(s),i=null,f=0;f<e.length;f++){if(e[f].value===s){e[f].selected=!0,l&&(e[f].defaultSelected=!0);return}i!==null||e[f].disabled||(i=e[f])}i!==null&&(i.selected=!0)}}function Kv(e,i,s){if(i!=null&&(i=""+si(i),i!==e.value&&(e.value=i),s==null)){e.defaultValue!==i&&(e.defaultValue=i);return}e.defaultValue=s!=null?""+si(s):""}function Fv(e,i,s,l){if(i==null){if(l!=null){if(s!=null)throw Error(o(92));if(Ae(l)){if(1<l.length)throw Error(o(93));l=l[0]}s=l}s==null&&(s=""),i=s}s=si(i),e.defaultValue=s,l=e.textContent,l===s&&l!==""&&l!==null&&(e.value=l),zf(e)}function aa(e,i){if(i){var s=e.firstChild;if(s&&s===e.lastChild&&s.nodeType===3){s.nodeValue=i;return}}e.textContent=i}var O2=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));function Jv(e,i,s){var l=i.indexOf("--")===0;s==null||typeof s=="boolean"||s===""?l?e.setProperty(i,""):i==="float"?e.cssFloat="":e[i]="":l?e.setProperty(i,s):typeof s!="number"||s===0||O2.has(i)?i==="float"?e.cssFloat=s:e[i]=(""+s).trim():e[i]=s+"px"}function $v(e,i,s){if(i!=null&&typeof i!="object")throw Error(o(62));if(e=e.style,s!=null){for(var l in s)!s.hasOwnProperty(l)||i!=null&&i.hasOwnProperty(l)||(l.indexOf("--")===0?e.setProperty(l,""):l==="float"?e.cssFloat="":e[l]="");for(var f in i)l=i[f],i.hasOwnProperty(f)&&s[f]!==l&&Jv(e,f,l)}else for(var h in i)i.hasOwnProperty(h)&&Jv(e,h,i[h])}function Vf(e){if(e.indexOf("-")===-1)return!1;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var R2=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),V2=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function Il(e){return V2.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}function Pi(){}var Bf=null;function Lf(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var oa=null,la=null;function Iv(e){var i=ea(e);if(i&&(e=i.stateNode)){var s=e[De]||null;t:switch(e=i.stateNode,i.type){case"input":if(Of(e,s.value,s.defaultValue,s.defaultValue,s.checked,s.defaultChecked,s.type,s.name),i=s.name,s.type==="radio"&&i!=null){for(s=e;s.parentNode;)s=s.parentNode;for(s=s.querySelectorAll('input[name="'+ai(""+i)+'"][type="radio"]'),i=0;i<s.length;i++){var l=s[i];if(l!==e&&l.form===e.form){var f=l[De]||null;if(!f)throw Error(o(90));Of(l,f.value,f.defaultValue,f.defaultValue,f.checked,f.defaultChecked,f.type,f.name)}}for(i=0;i<s.length;i++)l=s[i],l.form===e.form&&Qv(l)}break t;case"textarea":Kv(e,s.value,s.defaultValue);break t;case"select":i=s.value,i!=null&&sa(e,!!s.multiple,i,!1)}}}var kf=!1;function Wv(e,i,s){if(kf)return e(i,s);kf=!0;try{var l=e(i);return l}finally{if(kf=!1,(oa!==null||la!==null)&&(Hr(),oa&&(i=oa,e=la,la=oa=null,Iv(i),e)))for(i=0;i<e.length;i++)Iv(e[i])}}function po(e,i){var s=e.stateNode;if(s===null)return null;var l=s[De]||null;if(l===null)return null;s=l[i];t:switch(i){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(l=!l.disabled)||(e=e.type,l=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!l;break t;default:e=!1}if(e)return null;if(s&&typeof s!="function")throw Error(o(231,i,typeof s));return s}var Yi=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Uf=!1;if(Yi)try{var yo={};Object.defineProperty(yo,"passive",{get:function(){Uf=!0}}),window.addEventListener("test",yo,yo),window.removeEventListener("test",yo,yo)}catch{Uf=!1}var bn=null,Nf=null,Wl=null;function t0(){if(Wl)return Wl;var e,i=Nf,s=i.length,l,f="value"in bn?bn.value:bn.textContent,h=f.length;for(e=0;e<s&&i[e]===f[e];e++);var g=s-e;for(l=1;l<=g&&i[s-l]===f[h-l];l++);return Wl=f.slice(e,1<l?1-l:void 0)}function tr(e){var i=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&i===13&&(e=13)):e=i,e===10&&(e=13),32<=e||e===13?e:0}function er(){return!0}function e0(){return!1}function ze(e){function i(s,l,f,h,g){this._reactName=s,this._targetInst=f,this.type=l,this.nativeEvent=h,this.target=g,this.currentTarget=null;for(var b in e)e.hasOwnProperty(b)&&(s=e[b],this[b]=s?s(h):h[b]);return this.isDefaultPrevented=(h.defaultPrevented!=null?h.defaultPrevented:h.returnValue===!1)?er:e0,this.isPropagationStopped=e0,this}return v(i.prototype,{preventDefault:function(){this.defaultPrevented=!0;var s=this.nativeEvent;s&&(s.preventDefault?s.preventDefault():typeof s.returnValue!="unknown"&&(s.returnValue=!1),this.isDefaultPrevented=er)},stopPropagation:function(){var s=this.nativeEvent;s&&(s.stopPropagation?s.stopPropagation():typeof s.cancelBubble!="unknown"&&(s.cancelBubble=!0),this.isPropagationStopped=er)},persist:function(){},isPersistent:er}),i}var hs={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},ir=ze(hs),go=v({},hs,{view:0,detail:0}),B2=ze(go),Hf,qf,vo,nr=v({},go,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Pf,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!==vo&&(vo&&e.type==="mousemove"?(Hf=e.screenX-vo.screenX,qf=e.screenY-vo.screenY):qf=Hf=0,vo=e),Hf)},movementY:function(e){return"movementY"in e?e.movementY:qf}}),i0=ze(nr),L2=v({},nr,{dataTransfer:0}),k2=ze(L2),U2=v({},go,{relatedTarget:0}),jf=ze(U2),N2=v({},hs,{animationName:0,elapsedTime:0,pseudoElement:0}),H2=ze(N2),q2=v({},hs,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),j2=ze(q2),P2=v({},hs,{data:0}),n0=ze(P2),Y2={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},G2={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"},X2={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Q2(e){var i=this.nativeEvent;return i.getModifierState?i.getModifierState(e):(e=X2[e])?!!i[e]:!1}function Pf(){return Q2}var Z2=v({},go,{key:function(e){if(e.key){var i=Y2[e.key]||e.key;if(i!=="Unidentified")return i}return e.type==="keypress"?(e=tr(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?G2[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Pf,charCode:function(e){return e.type==="keypress"?tr(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?tr(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),K2=ze(Z2),F2=v({},nr,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),s0=ze(F2),J2=v({},go,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Pf}),$2=ze(J2),I2=v({},hs,{propertyName:0,elapsedTime:0,pseudoElement:0}),W2=ze(I2),tR=v({},nr,{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}),eR=ze(tR),iR=v({},hs,{newState:0,oldState:0}),nR=ze(iR),sR=[9,13,27,32],Yf=Yi&&"CompositionEvent"in window,bo=null;Yi&&"documentMode"in document&&(bo=document.documentMode);var aR=Yi&&"TextEvent"in window&&!bo,a0=Yi&&(!Yf||bo&&8<bo&&11>=bo),o0=" ",l0=!1;function r0(e,i){switch(e){case"keyup":return sR.indexOf(i.keyCode)!==-1;case"keydown":return i.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function u0(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var ra=!1;function oR(e,i){switch(e){case"compositionend":return u0(i);case"keypress":return i.which!==32?null:(l0=!0,o0);case"textInput":return e=i.data,e===o0&&l0?null:e;default:return null}}function lR(e,i){if(ra)return e==="compositionend"||!Yf&&r0(e,i)?(e=t0(),Wl=Nf=bn=null,ra=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(i.ctrlKey||i.altKey||i.metaKey)||i.ctrlKey&&i.altKey){if(i.char&&1<i.char.length)return i.char;if(i.which)return String.fromCharCode(i.which)}return null;case"compositionend":return a0&&i.locale!=="ko"?null:i.data;default:return null}}var rR={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 c0(e){var i=e&&e.nodeName&&e.nodeName.toLowerCase();return i==="input"?!!rR[e.type]:i==="textarea"}function f0(e,i,s,l){oa?la?la.push(l):la=[l]:oa=l,i=Qr(i,"onChange"),0<i.length&&(s=new ir("onChange","change",null,s,l),e.push({event:s,listeners:i}))}var So=null,xo=null;function uR(e){ZS(e,0)}function sr(e){var i=mo(e);if(Qv(i))return e}function h0(e,i){if(e==="change")return i}var d0=!1;if(Yi){var Gf;if(Yi){var Xf="oninput"in document;if(!Xf){var m0=document.createElement("div");m0.setAttribute("oninput","return;"),Xf=typeof m0.oninput=="function"}Gf=Xf}else Gf=!1;d0=Gf&&(!document.documentMode||9<document.documentMode)}function p0(){So&&(So.detachEvent("onpropertychange",y0),xo=So=null)}function y0(e){if(e.propertyName==="value"&&sr(xo)){var i=[];f0(i,xo,e,Lf(e)),Wv(uR,i)}}function cR(e,i,s){e==="focusin"?(p0(),So=i,xo=s,So.attachEvent("onpropertychange",y0)):e==="focusout"&&p0()}function fR(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return sr(xo)}function hR(e,i){if(e==="click")return sr(i)}function dR(e,i){if(e==="input"||e==="change")return sr(i)}function mR(e,i){return e===i&&(e!==0||1/e===1/i)||e!==e&&i!==i}var Ge=typeof Object.is=="function"?Object.is:mR;function To(e,i){if(Ge(e,i))return!0;if(typeof e!="object"||e===null||typeof i!="object"||i===null)return!1;var s=Object.keys(e),l=Object.keys(i);if(s.length!==l.length)return!1;for(l=0;l<s.length;l++){var f=s[l];if(!Tf.call(i,f)||!Ge(e[f],i[f]))return!1}return!0}function g0(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function v0(e,i){var s=g0(e);e=0;for(var l;s;){if(s.nodeType===3){if(l=e+s.textContent.length,e<=i&&l>=i)return{node:s,offset:i-e};e=l}t:{for(;s;){if(s.nextSibling){s=s.nextSibling;break t}s=s.parentNode}s=void 0}s=g0(s)}}function b0(e,i){return e&&i?e===i?!0:e&&e.nodeType===3?!1:i&&i.nodeType===3?b0(e,i.parentNode):"contains"in e?e.contains(i):e.compareDocumentPosition?!!(e.compareDocumentPosition(i)&16):!1:!1}function S0(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var i=$l(e.document);i instanceof e.HTMLIFrameElement;){try{var s=typeof i.contentWindow.location.href=="string"}catch{s=!1}if(s)e=i.contentWindow;else break;i=$l(e.document)}return i}function Qf(e){var i=e&&e.nodeName&&e.nodeName.toLowerCase();return i&&(i==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||i==="textarea"||e.contentEditable==="true")}var pR=Yi&&"documentMode"in document&&11>=document.documentMode,ua=null,Zf=null,wo=null,Kf=!1;function x0(e,i,s){var l=s.window===s?s.document:s.nodeType===9?s:s.ownerDocument;Kf||ua==null||ua!==$l(l)||(l=ua,"selectionStart"in l&&Qf(l)?l={start:l.selectionStart,end:l.selectionEnd}:(l=(l.ownerDocument&&l.ownerDocument.defaultView||window).getSelection(),l={anchorNode:l.anchorNode,anchorOffset:l.anchorOffset,focusNode:l.focusNode,focusOffset:l.focusOffset}),wo&&To(wo,l)||(wo=l,l=Qr(Zf,"onSelect"),0<l.length&&(i=new ir("onSelect","select",null,i,s),e.push({event:i,listeners:l}),i.target=ua)))}function ds(e,i){var s={};return s[e.toLowerCase()]=i.toLowerCase(),s["Webkit"+e]="webkit"+i,s["Moz"+e]="moz"+i,s}var ca={animationend:ds("Animation","AnimationEnd"),animationiteration:ds("Animation","AnimationIteration"),animationstart:ds("Animation","AnimationStart"),transitionrun:ds("Transition","TransitionRun"),transitionstart:ds("Transition","TransitionStart"),transitioncancel:ds("Transition","TransitionCancel"),transitionend:ds("Transition","TransitionEnd")},Ff={},T0={};Yi&&(T0=document.createElement("div").style,"AnimationEvent"in window||(delete ca.animationend.animation,delete ca.animationiteration.animation,delete ca.animationstart.animation),"TransitionEvent"in window||delete ca.transitionend.transition);function ms(e){if(Ff[e])return Ff[e];if(!ca[e])return e;var i=ca[e],s;for(s in i)if(i.hasOwnProperty(s)&&s in T0)return Ff[e]=i[s];return e}var w0=ms("animationend"),M0=ms("animationiteration"),_0=ms("animationstart"),yR=ms("transitionrun"),gR=ms("transitionstart"),vR=ms("transitioncancel"),C0=ms("transitionend"),E0=new Map,Jf="abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");Jf.push("scrollEnd");function Ti(e,i){E0.set(e,i),fs(i,[e])}var ar=typeof reportError=="function"?reportError:function(e){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var i=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof e=="object"&&e!==null&&typeof e.message=="string"?String(e.message):String(e),error:e});if(!window.dispatchEvent(i))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",e);return}console.error(e)},oi=[],fa=0,$f=0;function or(){for(var e=fa,i=$f=fa=0;i<e;){var s=oi[i];oi[i++]=null;var l=oi[i];oi[i++]=null;var f=oi[i];oi[i++]=null;var h=oi[i];if(oi[i++]=null,l!==null&&f!==null){var g=l.pending;g===null?f.next=f:(f.next=g.next,g.next=f),l.pending=f}h!==0&&A0(s,f,h)}}function lr(e,i,s,l){oi[fa++]=e,oi[fa++]=i,oi[fa++]=s,oi[fa++]=l,$f|=l,e.lanes|=l,e=e.alternate,e!==null&&(e.lanes|=l)}function If(e,i,s,l){return lr(e,i,s,l),rr(e)}function ps(e,i){return lr(e,null,null,i),rr(e)}function A0(e,i,s){e.lanes|=s;var l=e.alternate;l!==null&&(l.lanes|=s);for(var f=!1,h=e.return;h!==null;)h.childLanes|=s,l=h.alternate,l!==null&&(l.childLanes|=s),h.tag===22&&(e=h.stateNode,e===null||e._visibility&1||(f=!0)),e=h,h=h.return;return e.tag===3?(h=e.stateNode,f&&i!==null&&(f=31-Ye(s),e=h.hiddenUpdates,l=e[f],l===null?e[f]=[i]:l.push(i),i.lane=s|536870912),h):null}function rr(e){if(50<Xo)throw Xo=0,ld=null,Error(o(185));for(var i=e.return;i!==null;)e=i,i=e.return;return e.tag===3?e.stateNode:null}var ha={};function bR(e,i,s,l){this.tag=e,this.key=s,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=i,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=l,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Xe(e,i,s,l){return new bR(e,i,s,l)}function Wf(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Gi(e,i){var s=e.alternate;return s===null?(s=Xe(e.tag,i,e.key,e.mode),s.elementType=e.elementType,s.type=e.type,s.stateNode=e.stateNode,s.alternate=e,e.alternate=s):(s.pendingProps=i,s.type=e.type,s.flags=0,s.subtreeFlags=0,s.deletions=null),s.flags=e.flags&65011712,s.childLanes=e.childLanes,s.lanes=e.lanes,s.child=e.child,s.memoizedProps=e.memoizedProps,s.memoizedState=e.memoizedState,s.updateQueue=e.updateQueue,i=e.dependencies,s.dependencies=i===null?null:{lanes:i.lanes,firstContext:i.firstContext},s.sibling=e.sibling,s.index=e.index,s.ref=e.ref,s.refCleanup=e.refCleanup,s}function D0(e,i){e.flags&=65011714;var s=e.alternate;return s===null?(e.childLanes=0,e.lanes=i,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null):(e.childLanes=s.childLanes,e.lanes=s.lanes,e.child=s.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=s.memoizedProps,e.memoizedState=s.memoizedState,e.updateQueue=s.updateQueue,e.type=s.type,i=s.dependencies,e.dependencies=i===null?null:{lanes:i.lanes,firstContext:i.firstContext}),e}function ur(e,i,s,l,f,h){var g=0;if(l=e,typeof e=="function")Wf(e)&&(g=1);else if(typeof e=="string")g=M3(e,s,I.current)?26:e==="html"||e==="head"||e==="body"?27:5;else t:switch(e){case st:return e=Xe(31,s,i,f),e.elementType=st,e.lanes=h,e;case C:return ys(s.children,f,h,i);case A:g=8,f|=24;break;case R:return e=Xe(12,s,i,f|2),e.elementType=R,e.lanes=h,e;case Y:return e=Xe(13,s,i,f),e.elementType=Y,e.lanes=h,e;case K:return e=Xe(19,s,i,f),e.elementType=K,e.lanes=h,e;default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case B:g=10;break t;case L:g=9;break t;case H:g=11;break t;case G:g=14;break t;case Q:g=16,l=null;break t}g=29,s=Error(o(130,e===null?"null":typeof e,"")),l=null}return i=Xe(g,s,i,f),i.elementType=e,i.type=l,i.lanes=h,i}function ys(e,i,s,l){return e=Xe(7,e,l,i),e.lanes=s,e}function th(e,i,s){return e=Xe(6,e,null,i),e.lanes=s,e}function z0(e){var i=Xe(18,null,null,0);return i.stateNode=e,i}function eh(e,i,s){return i=Xe(4,e.children!==null?e.children:[],e.key,i),i.lanes=s,i.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},i}var O0=new WeakMap;function li(e,i){if(typeof e=="object"&&e!==null){var s=O0.get(e);return s!==void 0?s:(i={value:e,source:i,stack:zv(i)},O0.set(e,i),i)}return{value:e,source:i,stack:zv(i)}}var da=[],ma=0,cr=null,Mo=0,ri=[],ui=0,Sn=null,Ri=1,Vi="";function Xi(e,i){da[ma++]=Mo,da[ma++]=cr,cr=e,Mo=i}function R0(e,i,s){ri[ui++]=Ri,ri[ui++]=Vi,ri[ui++]=Sn,Sn=e;var l=Ri;e=Vi;var f=32-Ye(l)-1;l&=~(1<<f),s+=1;var h=32-Ye(i)+f;if(30<h){var g=f-f%5;h=(l&(1<<g)-1).toString(32),l>>=g,f-=g,Ri=1<<32-Ye(i)+f|s<<f|l,Vi=h+e}else Ri=1<<h|s<<f|l,Vi=e}function ih(e){e.return!==null&&(Xi(e,1),R0(e,1,0))}function nh(e){for(;e===cr;)cr=da[--ma],da[ma]=null,Mo=da[--ma],da[ma]=null;for(;e===Sn;)Sn=ri[--ui],ri[ui]=null,Vi=ri[--ui],ri[ui]=null,Ri=ri[--ui],ri[ui]=null}function V0(e,i){ri[ui++]=Ri,ri[ui++]=Vi,ri[ui++]=Sn,Ri=i.id,Vi=i.overflow,Sn=e}var re=null,Vt=null,gt=!1,xn=null,ci=!1,sh=Error(o(519));function Tn(e){var i=Error(o(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw _o(li(i,e)),sh}function B0(e){var i=e.stateNode,s=e.type,l=e.memoizedProps;switch(i[le]=e,i[De]=l,s){case"dialog":ft("cancel",i),ft("close",i);break;case"iframe":case"object":case"embed":ft("load",i);break;case"video":case"audio":for(s=0;s<Zo.length;s++)ft(Zo[s],i);break;case"source":ft("error",i);break;case"img":case"image":case"link":ft("error",i),ft("load",i);break;case"details":ft("toggle",i);break;case"input":ft("invalid",i),Zv(i,l.value,l.defaultValue,l.checked,l.defaultChecked,l.type,l.name,!0);break;case"select":ft("invalid",i);break;case"textarea":ft("invalid",i),Fv(i,l.value,l.defaultValue,l.children)}s=l.children,typeof s!="string"&&typeof s!="number"&&typeof s!="bigint"||i.textContent===""+s||l.suppressHydrationWarning===!0||$S(i.textContent,s)?(l.popover!=null&&(ft("beforetoggle",i),ft("toggle",i)),l.onScroll!=null&&ft("scroll",i),l.onScrollEnd!=null&&ft("scrollend",i),l.onClick!=null&&(i.onclick=Pi),i=!0):i=!1,i||Tn(e,!0)}function L0(e){for(re=e.return;re;)switch(re.tag){case 5:case 31:case 13:ci=!1;return;case 27:case 3:ci=!0;return;default:re=re.return}}function pa(e){if(e!==re)return!1;if(!gt)return L0(e),gt=!0,!1;var i=e.tag,s;if((s=i!==3&&i!==27)&&((s=i===5)&&(s=e.type,s=!(s!=="form"&&s!=="button")||Td(e.type,e.memoizedProps)),s=!s),s&&Vt&&Tn(e),L0(e),i===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(o(317));Vt=ox(e)}else if(i===31){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(o(317));Vt=ox(e)}else i===27?(i=Vt,kn(e.type)?(e=Ed,Ed=null,Vt=e):Vt=i):Vt=re?hi(e.stateNode.nextSibling):null;return!0}function gs(){Vt=re=null,gt=!1}function ah(){var e=xn;return e!==null&&(Be===null?Be=e:Be.push.apply(Be,e),xn=null),e}function _o(e){xn===null?xn=[e]:xn.push(e)}var oh=_(null),vs=null,Qi=null;function wn(e,i,s){Z(oh,i._currentValue),i._currentValue=s}function Zi(e){e._currentValue=oh.current,j(oh)}function lh(e,i,s){for(;e!==null;){var l=e.alternate;if((e.childLanes&i)!==i?(e.childLanes|=i,l!==null&&(l.childLanes|=i)):l!==null&&(l.childLanes&i)!==i&&(l.childLanes|=i),e===s)break;e=e.return}}function rh(e,i,s,l){var f=e.child;for(f!==null&&(f.return=e);f!==null;){var h=f.dependencies;if(h!==null){var g=f.child;h=h.firstContext;t:for(;h!==null;){var b=h;h=f;for(var T=0;T<i.length;T++)if(b.context===i[T]){h.lanes|=s,b=h.alternate,b!==null&&(b.lanes|=s),lh(h.return,s,e),l||(g=null);break t}h=b.next}}else if(f.tag===18){if(g=f.return,g===null)throw Error(o(341));g.lanes|=s,h=g.alternate,h!==null&&(h.lanes|=s),lh(g,s,e),g=null}else g=f.child;if(g!==null)g.return=f;else for(g=f;g!==null;){if(g===e){g=null;break}if(f=g.sibling,f!==null){f.return=g.return,g=f;break}g=g.return}f=g}}function ya(e,i,s,l){e=null;for(var f=i,h=!1;f!==null;){if(!h){if((f.flags&524288)!==0)h=!0;else if((f.flags&262144)!==0)break}if(f.tag===10){var g=f.alternate;if(g===null)throw Error(o(387));if(g=g.memoizedProps,g!==null){var b=f.type;Ge(f.pendingProps.value,g.value)||(e!==null?e.push(b):e=[b])}}else if(f===wt.current){if(g=f.alternate,g===null)throw Error(o(387));g.memoizedState.memoizedState!==f.memoizedState.memoizedState&&(e!==null?e.push(Io):e=[Io])}f=f.return}e!==null&&rh(i,e,s,l),i.flags|=262144}function fr(e){for(e=e.firstContext;e!==null;){if(!Ge(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function bs(e){vs=e,Qi=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function ue(e){return k0(vs,e)}function hr(e,i){return vs===null&&bs(e),k0(e,i)}function k0(e,i){var s=i._currentValue;if(i={context:i,memoizedValue:s,next:null},Qi===null){if(e===null)throw Error(o(308));Qi=i,e.dependencies={lanes:0,firstContext:i},e.flags|=524288}else Qi=Qi.next=i;return s}var SR=typeof AbortController<"u"?AbortController:function(){var e=[],i=this.signal={aborted:!1,addEventListener:function(s,l){e.push(l)}};this.abort=function(){i.aborted=!0,e.forEach(function(s){return s()})}},xR=n.unstable_scheduleCallback,TR=n.unstable_NormalPriority,Ft={$$typeof:B,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function uh(){return{controller:new SR,data:new Map,refCount:0}}function Co(e){e.refCount--,e.refCount===0&&xR(TR,function(){e.controller.abort()})}var Eo=null,ch=0,ga=0,va=null;function wR(e,i){if(Eo===null){var s=Eo=[];ch=0,ga=dd(),va={status:"pending",value:void 0,then:function(l){s.push(l)}}}return ch++,i.then(U0,U0),i}function U0(){if(--ch===0&&Eo!==null){va!==null&&(va.status="fulfilled");var e=Eo;Eo=null,ga=0,va=null;for(var i=0;i<e.length;i++)(0,e[i])()}}function MR(e,i){var s=[],l={status:"pending",value:null,reason:null,then:function(f){s.push(f)}};return e.then(function(){l.status="fulfilled",l.value=i;for(var f=0;f<s.length;f++)(0,s[f])(i)},function(f){for(l.status="rejected",l.reason=f,f=0;f<s.length;f++)(0,s[f])(void 0)}),l}var N0=U.S;U.S=function(e,i){xS=je(),typeof i=="object"&&i!==null&&typeof i.then=="function"&&wR(e,i),N0!==null&&N0(e,i)};var Ss=_(null);function fh(){var e=Ss.current;return e!==null?e:zt.pooledCache}function dr(e,i){i===null?Z(Ss,Ss.current):Z(Ss,i.pool)}function H0(){var e=fh();return e===null?null:{parent:Ft._currentValue,pool:e}}var ba=Error(o(460)),hh=Error(o(474)),mr=Error(o(542)),pr={then:function(){}};function q0(e){return e=e.status,e==="fulfilled"||e==="rejected"}function j0(e,i,s){switch(s=e[s],s===void 0?e.push(i):s!==i&&(i.then(Pi,Pi),i=s),i.status){case"fulfilled":return i.value;case"rejected":throw e=i.reason,Y0(e),e;default:if(typeof i.status=="string")i.then(Pi,Pi);else{if(e=zt,e!==null&&100<e.shellSuspendCounter)throw Error(o(482));e=i,e.status="pending",e.then(function(l){if(i.status==="pending"){var f=i;f.status="fulfilled",f.value=l}},function(l){if(i.status==="pending"){var f=i;f.status="rejected",f.reason=l}})}switch(i.status){case"fulfilled":return i.value;case"rejected":throw e=i.reason,Y0(e),e}throw Ts=i,ba}}function xs(e){try{var i=e._init;return i(e._payload)}catch(s){throw s!==null&&typeof s=="object"&&typeof s.then=="function"?(Ts=s,ba):s}}var Ts=null;function P0(){if(Ts===null)throw Error(o(459));var e=Ts;return Ts=null,e}function Y0(e){if(e===ba||e===mr)throw Error(o(483))}var Sa=null,Ao=0;function yr(e){var i=Ao;return Ao+=1,Sa===null&&(Sa=[]),j0(Sa,e,i)}function Do(e,i){i=i.props.ref,e.ref=i!==void 0?i:null}function gr(e,i){throw i.$$typeof===S?Error(o(525)):(e=Object.prototype.toString.call(i),Error(o(31,e==="[object Object]"?"object with keys {"+Object.keys(i).join(", ")+"}":e)))}function G0(e){function i(E,M){if(e){var D=E.deletions;D===null?(E.deletions=[M],E.flags|=16):D.push(M)}}function s(E,M){if(!e)return null;for(;M!==null;)i(E,M),M=M.sibling;return null}function l(E){for(var M=new Map;E!==null;)E.key!==null?M.set(E.key,E):M.set(E.index,E),E=E.sibling;return M}function f(E,M){return E=Gi(E,M),E.index=0,E.sibling=null,E}function h(E,M,D){return E.index=D,e?(D=E.alternate,D!==null?(D=D.index,D<M?(E.flags|=67108866,M):D):(E.flags|=67108866,M)):(E.flags|=1048576,M)}function g(E){return e&&E.alternate===null&&(E.flags|=67108866),E}function b(E,M,D,N){return M===null||M.tag!==6?(M=th(D,E.mode,N),M.return=E,M):(M=f(M,D),M.return=E,M)}function T(E,M,D,N){var it=D.type;return it===C?k(E,M,D.props.children,N,D.key):M!==null&&(M.elementType===it||typeof it=="object"&&it!==null&&it.$$typeof===Q&&xs(it)===M.type)?(M=f(M,D.props),Do(M,D),M.return=E,M):(M=ur(D.type,D.key,D.props,null,E.mode,N),Do(M,D),M.return=E,M)}function z(E,M,D,N){return M===null||M.tag!==4||M.stateNode.containerInfo!==D.containerInfo||M.stateNode.implementation!==D.implementation?(M=eh(D,E.mode,N),M.return=E,M):(M=f(M,D.children||[]),M.return=E,M)}function k(E,M,D,N,it){return M===null||M.tag!==7?(M=ys(D,E.mode,N,it),M.return=E,M):(M=f(M,D),M.return=E,M)}function q(E,M,D){if(typeof M=="string"&&M!==""||typeof M=="number"||typeof M=="bigint")return M=th(""+M,E.mode,D),M.return=E,M;if(typeof M=="object"&&M!==null){switch(M.$$typeof){case x:return D=ur(M.type,M.key,M.props,null,E.mode,D),Do(D,M),D.return=E,D;case w:return M=eh(M,E.mode,D),M.return=E,M;case Q:return M=xs(M),q(E,M,D)}if(Ae(M)||Lt(M))return M=ys(M,E.mode,D,null),M.return=E,M;if(typeof M.then=="function")return q(E,yr(M),D);if(M.$$typeof===B)return q(E,hr(E,M),D);gr(E,M)}return null}function O(E,M,D,N){var it=M!==null?M.key:null;if(typeof D=="string"&&D!==""||typeof D=="number"||typeof D=="bigint")return it!==null?null:b(E,M,""+D,N);if(typeof D=="object"&&D!==null){switch(D.$$typeof){case x:return D.key===it?T(E,M,D,N):null;case w:return D.key===it?z(E,M,D,N):null;case Q:return D=xs(D),O(E,M,D,N)}if(Ae(D)||Lt(D))return it!==null?null:k(E,M,D,N,null);if(typeof D.then=="function")return O(E,M,yr(D),N);if(D.$$typeof===B)return O(E,M,hr(E,D),N);gr(E,D)}return null}function V(E,M,D,N,it){if(typeof N=="string"&&N!==""||typeof N=="number"||typeof N=="bigint")return E=E.get(D)||null,b(M,E,""+N,it);if(typeof N=="object"&&N!==null){switch(N.$$typeof){case x:return E=E.get(N.key===null?D:N.key)||null,T(M,E,N,it);case w:return E=E.get(N.key===null?D:N.key)||null,z(M,E,N,it);case Q:return N=xs(N),V(E,M,D,N,it)}if(Ae(N)||Lt(N))return E=E.get(D)||null,k(M,E,N,it,null);if(typeof N.then=="function")return V(E,M,D,yr(N),it);if(N.$$typeof===B)return V(E,M,D,hr(M,N),it);gr(M,N)}return null}function J(E,M,D,N){for(var it=null,St=null,tt=M,rt=M=0,yt=null;tt!==null&&rt<D.length;rt++){tt.index>rt?(yt=tt,tt=null):yt=tt.sibling;var xt=O(E,tt,D[rt],N);if(xt===null){tt===null&&(tt=yt);break}e&&tt&&xt.alternate===null&&i(E,tt),M=h(xt,M,rt),St===null?it=xt:St.sibling=xt,St=xt,tt=yt}if(rt===D.length)return s(E,tt),gt&&Xi(E,rt),it;if(tt===null){for(;rt<D.length;rt++)tt=q(E,D[rt],N),tt!==null&&(M=h(tt,M,rt),St===null?it=tt:St.sibling=tt,St=tt);return gt&&Xi(E,rt),it}for(tt=l(tt);rt<D.length;rt++)yt=V(tt,E,rt,D[rt],N),yt!==null&&(e&&yt.alternate!==null&&tt.delete(yt.key===null?rt:yt.key),M=h(yt,M,rt),St===null?it=yt:St.sibling=yt,St=yt);return e&&tt.forEach(function(jn){return i(E,jn)}),gt&&Xi(E,rt),it}function nt(E,M,D,N){if(D==null)throw Error(o(151));for(var it=null,St=null,tt=M,rt=M=0,yt=null,xt=D.next();tt!==null&&!xt.done;rt++,xt=D.next()){tt.index>rt?(yt=tt,tt=null):yt=tt.sibling;var jn=O(E,tt,xt.value,N);if(jn===null){tt===null&&(tt=yt);break}e&&tt&&jn.alternate===null&&i(E,tt),M=h(jn,M,rt),St===null?it=jn:St.sibling=jn,St=jn,tt=yt}if(xt.done)return s(E,tt),gt&&Xi(E,rt),it;if(tt===null){for(;!xt.done;rt++,xt=D.next())xt=q(E,xt.value,N),xt!==null&&(M=h(xt,M,rt),St===null?it=xt:St.sibling=xt,St=xt);return gt&&Xi(E,rt),it}for(tt=l(tt);!xt.done;rt++,xt=D.next())xt=V(tt,E,rt,xt.value,N),xt!==null&&(e&&xt.alternate!==null&&tt.delete(xt.key===null?rt:xt.key),M=h(xt,M,rt),St===null?it=xt:St.sibling=xt,St=xt);return e&&tt.forEach(function(L3){return i(E,L3)}),gt&&Xi(E,rt),it}function Dt(E,M,D,N){if(typeof D=="object"&&D!==null&&D.type===C&&D.key===null&&(D=D.props.children),typeof D=="object"&&D!==null){switch(D.$$typeof){case x:t:{for(var it=D.key;M!==null;){if(M.key===it){if(it=D.type,it===C){if(M.tag===7){s(E,M.sibling),N=f(M,D.props.children),N.return=E,E=N;break t}}else if(M.elementType===it||typeof it=="object"&&it!==null&&it.$$typeof===Q&&xs(it)===M.type){s(E,M.sibling),N=f(M,D.props),Do(N,D),N.return=E,E=N;break t}s(E,M);break}else i(E,M);M=M.sibling}D.type===C?(N=ys(D.props.children,E.mode,N,D.key),N.return=E,E=N):(N=ur(D.type,D.key,D.props,null,E.mode,N),Do(N,D),N.return=E,E=N)}return g(E);case w:t:{for(it=D.key;M!==null;){if(M.key===it)if(M.tag===4&&M.stateNode.containerInfo===D.containerInfo&&M.stateNode.implementation===D.implementation){s(E,M.sibling),N=f(M,D.children||[]),N.return=E,E=N;break t}else{s(E,M);break}else i(E,M);M=M.sibling}N=eh(D,E.mode,N),N.return=E,E=N}return g(E);case Q:return D=xs(D),Dt(E,M,D,N)}if(Ae(D))return J(E,M,D,N);if(Lt(D)){if(it=Lt(D),typeof it!="function")throw Error(o(150));return D=it.call(D),nt(E,M,D,N)}if(typeof D.then=="function")return Dt(E,M,yr(D),N);if(D.$$typeof===B)return Dt(E,M,hr(E,D),N);gr(E,D)}return typeof D=="string"&&D!==""||typeof D=="number"||typeof D=="bigint"?(D=""+D,M!==null&&M.tag===6?(s(E,M.sibling),N=f(M,D),N.return=E,E=N):(s(E,M),N=th(D,E.mode,N),N.return=E,E=N),g(E)):s(E,M)}return function(E,M,D,N){try{Ao=0;var it=Dt(E,M,D,N);return Sa=null,it}catch(tt){if(tt===ba||tt===mr)throw tt;var St=Xe(29,tt,null,E.mode);return St.lanes=N,St.return=E,St}finally{}}}var ws=G0(!0),X0=G0(!1),Mn=!1;function dh(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function mh(e,i){e=e.updateQueue,i.updateQueue===e&&(i.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function _n(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function Cn(e,i,s){var l=e.updateQueue;if(l===null)return null;if(l=l.shared,(Tt&2)!==0){var f=l.pending;return f===null?i.next=i:(i.next=f.next,f.next=i),l.pending=i,i=rr(e),A0(e,null,s),i}return lr(e,l,i,s),rr(e)}function zo(e,i,s){if(i=i.updateQueue,i!==null&&(i=i.shared,(s&4194048)!==0)){var l=i.lanes;l&=e.pendingLanes,s|=l,i.lanes=s,kv(e,s)}}function ph(e,i){var s=e.updateQueue,l=e.alternate;if(l!==null&&(l=l.updateQueue,s===l)){var f=null,h=null;if(s=s.firstBaseUpdate,s!==null){do{var g={lane:s.lane,tag:s.tag,payload:s.payload,callback:null,next:null};h===null?f=h=g:h=h.next=g,s=s.next}while(s!==null);h===null?f=h=i:h=h.next=i}else f=h=i;s={baseState:l.baseState,firstBaseUpdate:f,lastBaseUpdate:h,shared:l.shared,callbacks:l.callbacks},e.updateQueue=s;return}e=s.lastBaseUpdate,e===null?s.firstBaseUpdate=i:e.next=i,s.lastBaseUpdate=i}var yh=!1;function Oo(){if(yh){var e=va;if(e!==null)throw e}}function Ro(e,i,s,l){yh=!1;var f=e.updateQueue;Mn=!1;var h=f.firstBaseUpdate,g=f.lastBaseUpdate,b=f.shared.pending;if(b!==null){f.shared.pending=null;var T=b,z=T.next;T.next=null,g===null?h=z:g.next=z,g=T;var k=e.alternate;k!==null&&(k=k.updateQueue,b=k.lastBaseUpdate,b!==g&&(b===null?k.firstBaseUpdate=z:b.next=z,k.lastBaseUpdate=T))}if(h!==null){var q=f.baseState;g=0,k=z=T=null,b=h;do{var O=b.lane&-536870913,V=O!==b.lane;if(V?(pt&O)===O:(l&O)===O){O!==0&&O===ga&&(yh=!0),k!==null&&(k=k.next={lane:0,tag:b.tag,payload:b.payload,callback:null,next:null});t:{var J=e,nt=b;O=i;var Dt=s;switch(nt.tag){case 1:if(J=nt.payload,typeof J=="function"){q=J.call(Dt,q,O);break t}q=J;break t;case 3:J.flags=J.flags&-65537|128;case 0:if(J=nt.payload,O=typeof J=="function"?J.call(Dt,q,O):J,O==null)break t;q=v({},q,O);break t;case 2:Mn=!0}}O=b.callback,O!==null&&(e.flags|=64,V&&(e.flags|=8192),V=f.callbacks,V===null?f.callbacks=[O]:V.push(O))}else V={lane:O,tag:b.tag,payload:b.payload,callback:b.callback,next:null},k===null?(z=k=V,T=q):k=k.next=V,g|=O;if(b=b.next,b===null){if(b=f.shared.pending,b===null)break;V=b,b=V.next,V.next=null,f.lastBaseUpdate=V,f.shared.pending=null}}while(!0);k===null&&(T=q),f.baseState=T,f.firstBaseUpdate=z,f.lastBaseUpdate=k,h===null&&(f.shared.lanes=0),On|=g,e.lanes=g,e.memoizedState=q}}function Q0(e,i){if(typeof e!="function")throw Error(o(191,e));e.call(i)}function Z0(e,i){var s=e.callbacks;if(s!==null)for(e.callbacks=null,e=0;e<s.length;e++)Q0(s[e],i)}var xa=_(null),vr=_(0);function K0(e,i){e=nn,Z(vr,e),Z(xa,i),nn=e|i.baseLanes}function gh(){Z(vr,nn),Z(xa,xa.current)}function vh(){nn=vr.current,j(xa),j(vr)}var Qe=_(null),fi=null;function En(e){var i=e.alternate;Z(Gt,Gt.current&1),Z(Qe,e),fi===null&&(i===null||xa.current!==null||i.memoizedState!==null)&&(fi=e)}function bh(e){Z(Gt,Gt.current),Z(Qe,e),fi===null&&(fi=e)}function F0(e){e.tag===22?(Z(Gt,Gt.current),Z(Qe,e),fi===null&&(fi=e)):An()}function An(){Z(Gt,Gt.current),Z(Qe,Qe.current)}function Ze(e){j(Qe),fi===e&&(fi=null),j(Gt)}var Gt=_(0);function br(e){for(var i=e;i!==null;){if(i.tag===13){var s=i.memoizedState;if(s!==null&&(s=s.dehydrated,s===null||_d(s)||Cd(s)))return i}else if(i.tag===19&&(i.memoizedProps.revealOrder==="forwards"||i.memoizedProps.revealOrder==="backwards"||i.memoizedProps.revealOrder==="unstable_legacy-backwards"||i.memoizedProps.revealOrder==="together")){if((i.flags&128)!==0)return i}else if(i.child!==null){i.child.return=i,i=i.child;continue}if(i===e)break;for(;i.sibling===null;){if(i.return===null||i.return===e)return null;i=i.return}i.sibling.return=i.return,i=i.sibling}return null}var Ki=0,lt=null,Et=null,Jt=null,Sr=!1,Ta=!1,Ms=!1,xr=0,Vo=0,wa=null,_R=0;function qt(){throw Error(o(321))}function Sh(e,i){if(i===null)return!1;for(var s=0;s<i.length&&s<e.length;s++)if(!Ge(e[s],i[s]))return!1;return!0}function xh(e,i,s,l,f,h){return Ki=h,lt=i,i.memoizedState=null,i.updateQueue=null,i.lanes=0,U.H=e===null||e.memoizedState===null?Rb:kh,Ms=!1,h=s(l,f),Ms=!1,Ta&&(h=$0(i,s,l,f)),J0(e),h}function J0(e){U.H=ko;var i=Et!==null&&Et.next!==null;if(Ki=0,Jt=Et=lt=null,Sr=!1,Vo=0,wa=null,i)throw Error(o(300));e===null||$t||(e=e.dependencies,e!==null&&fr(e)&&($t=!0))}function $0(e,i,s,l){lt=e;var f=0;do{if(Ta&&(wa=null),Vo=0,Ta=!1,25<=f)throw Error(o(301));if(f+=1,Jt=Et=null,e.updateQueue!=null){var h=e.updateQueue;h.lastEffect=null,h.events=null,h.stores=null,h.memoCache!=null&&(h.memoCache.index=0)}U.H=Vb,h=i(s,l)}while(Ta);return h}function CR(){var e=U.H,i=e.useState()[0];return i=typeof i.then=="function"?Bo(i):i,e=e.useState()[0],(Et!==null?Et.memoizedState:null)!==e&&(lt.flags|=1024),i}function Th(){var e=xr!==0;return xr=0,e}function wh(e,i,s){i.updateQueue=e.updateQueue,i.flags&=-2053,e.lanes&=~s}function Mh(e){if(Sr){for(e=e.memoizedState;e!==null;){var i=e.queue;i!==null&&(i.pending=null),e=e.next}Sr=!1}Ki=0,Jt=Et=lt=null,Ta=!1,Vo=xr=0,wa=null}function _e(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Jt===null?lt.memoizedState=Jt=e:Jt=Jt.next=e,Jt}function Xt(){if(Et===null){var e=lt.alternate;e=e!==null?e.memoizedState:null}else e=Et.next;var i=Jt===null?lt.memoizedState:Jt.next;if(i!==null)Jt=i,Et=e;else{if(e===null)throw lt.alternate===null?Error(o(467)):Error(o(310));Et=e,e={memoizedState:Et.memoizedState,baseState:Et.baseState,baseQueue:Et.baseQueue,queue:Et.queue,next:null},Jt===null?lt.memoizedState=Jt=e:Jt=Jt.next=e}return Jt}function Tr(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Bo(e){var i=Vo;return Vo+=1,wa===null&&(wa=[]),e=j0(wa,e,i),i=lt,(Jt===null?i.memoizedState:Jt.next)===null&&(i=i.alternate,U.H=i===null||i.memoizedState===null?Rb:kh),e}function wr(e){if(e!==null&&typeof e=="object"){if(typeof e.then=="function")return Bo(e);if(e.$$typeof===B)return ue(e)}throw Error(o(438,String(e)))}function _h(e){var i=null,s=lt.updateQueue;if(s!==null&&(i=s.memoCache),i==null){var l=lt.alternate;l!==null&&(l=l.updateQueue,l!==null&&(l=l.memoCache,l!=null&&(i={data:l.data.map(function(f){return f.slice()}),index:0})))}if(i==null&&(i={data:[],index:0}),s===null&&(s=Tr(),lt.updateQueue=s),s.memoCache=i,s=i.data[i.index],s===void 0)for(s=i.data[i.index]=Array(e),l=0;l<e;l++)s[l]=dt;return i.index++,s}function Fi(e,i){return typeof i=="function"?i(e):i}function Mr(e){var i=Xt();return Ch(i,Et,e)}function Ch(e,i,s){var l=e.queue;if(l===null)throw Error(o(311));l.lastRenderedReducer=s;var f=e.baseQueue,h=l.pending;if(h!==null){if(f!==null){var g=f.next;f.next=h.next,h.next=g}i.baseQueue=f=h,l.pending=null}if(h=e.baseState,f===null)e.memoizedState=h;else{i=f.next;var b=g=null,T=null,z=i,k=!1;do{var q=z.lane&-536870913;if(q!==z.lane?(pt&q)===q:(Ki&q)===q){var O=z.revertLane;if(O===0)T!==null&&(T=T.next={lane:0,revertLane:0,gesture:null,action:z.action,hasEagerState:z.hasEagerState,eagerState:z.eagerState,next:null}),q===ga&&(k=!0);else if((Ki&O)===O){z=z.next,O===ga&&(k=!0);continue}else q={lane:0,revertLane:z.revertLane,gesture:null,action:z.action,hasEagerState:z.hasEagerState,eagerState:z.eagerState,next:null},T===null?(b=T=q,g=h):T=T.next=q,lt.lanes|=O,On|=O;q=z.action,Ms&&s(h,q),h=z.hasEagerState?z.eagerState:s(h,q)}else O={lane:q,revertLane:z.revertLane,gesture:z.gesture,action:z.action,hasEagerState:z.hasEagerState,eagerState:z.eagerState,next:null},T===null?(b=T=O,g=h):T=T.next=O,lt.lanes|=q,On|=q;z=z.next}while(z!==null&&z!==i);if(T===null?g=h:T.next=b,!Ge(h,e.memoizedState)&&($t=!0,k&&(s=va,s!==null)))throw s;e.memoizedState=h,e.baseState=g,e.baseQueue=T,l.lastRenderedState=h}return f===null&&(l.lanes=0),[e.memoizedState,l.dispatch]}function Eh(e){var i=Xt(),s=i.queue;if(s===null)throw Error(o(311));s.lastRenderedReducer=e;var l=s.dispatch,f=s.pending,h=i.memoizedState;if(f!==null){s.pending=null;var g=f=f.next;do h=e(h,g.action),g=g.next;while(g!==f);Ge(h,i.memoizedState)||($t=!0),i.memoizedState=h,i.baseQueue===null&&(i.baseState=h),s.lastRenderedState=h}return[h,l]}function I0(e,i,s){var l=lt,f=Xt(),h=gt;if(h){if(s===void 0)throw Error(o(407));s=s()}else s=i();var g=!Ge((Et||f).memoizedState,s);if(g&&(f.memoizedState=s,$t=!0),f=f.queue,zh(eb.bind(null,l,f,e),[e]),f.getSnapshot!==i||g||Jt!==null&&Jt.memoizedState.tag&1){if(l.flags|=2048,Ma(9,{destroy:void 0},tb.bind(null,l,f,s,i),null),zt===null)throw Error(o(349));h||(Ki&127)!==0||W0(l,i,s)}return s}function W0(e,i,s){e.flags|=16384,e={getSnapshot:i,value:s},i=lt.updateQueue,i===null?(i=Tr(),lt.updateQueue=i,i.stores=[e]):(s=i.stores,s===null?i.stores=[e]:s.push(e))}function tb(e,i,s,l){i.value=s,i.getSnapshot=l,ib(i)&&nb(e)}function eb(e,i,s){return s(function(){ib(i)&&nb(e)})}function ib(e){var i=e.getSnapshot;e=e.value;try{var s=i();return!Ge(e,s)}catch{return!0}}function nb(e){var i=ps(e,2);i!==null&&Le(i,e,2)}function Ah(e){var i=_e();if(typeof e=="function"){var s=e;if(e=s(),Ms){gn(!0);try{s()}finally{gn(!1)}}}return i.memoizedState=i.baseState=e,i.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Fi,lastRenderedState:e},i}function sb(e,i,s,l){return e.baseState=s,Ch(e,Et,typeof l=="function"?l:Fi)}function ER(e,i,s,l,f){if(Er(e))throw Error(o(485));if(e=i.action,e!==null){var h={payload:f,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(g){h.listeners.push(g)}};U.T!==null?s(!0):h.isTransition=!1,l(h),s=i.pending,s===null?(h.next=i.pending=h,ab(i,h)):(h.next=s.next,i.pending=s.next=h)}}function ab(e,i){var s=i.action,l=i.payload,f=e.state;if(i.isTransition){var h=U.T,g={};U.T=g;try{var b=s(f,l),T=U.S;T!==null&&T(g,b),ob(e,i,b)}catch(z){Dh(e,i,z)}finally{h!==null&&g.types!==null&&(h.types=g.types),U.T=h}}else try{h=s(f,l),ob(e,i,h)}catch(z){Dh(e,i,z)}}function ob(e,i,s){s!==null&&typeof s=="object"&&typeof s.then=="function"?s.then(function(l){lb(e,i,l)},function(l){return Dh(e,i,l)}):lb(e,i,s)}function lb(e,i,s){i.status="fulfilled",i.value=s,rb(i),e.state=s,i=e.pending,i!==null&&(s=i.next,s===i?e.pending=null:(s=s.next,i.next=s,ab(e,s)))}function Dh(e,i,s){var l=e.pending;if(e.pending=null,l!==null){l=l.next;do i.status="rejected",i.reason=s,rb(i),i=i.next;while(i!==l)}e.action=null}function rb(e){e=e.listeners;for(var i=0;i<e.length;i++)(0,e[i])()}function ub(e,i){return i}function cb(e,i){if(gt){var s=zt.formState;if(s!==null){t:{var l=lt;if(gt){if(Vt){e:{for(var f=Vt,h=ci;f.nodeType!==8;){if(!h){f=null;break e}if(f=hi(f.nextSibling),f===null){f=null;break e}}h=f.data,f=h==="F!"||h==="F"?f:null}if(f){Vt=hi(f.nextSibling),l=f.data==="F!";break t}}Tn(l)}l=!1}l&&(i=s[0])}}return s=_e(),s.memoizedState=s.baseState=i,l={pending:null,lanes:0,dispatch:null,lastRenderedReducer:ub,lastRenderedState:i},s.queue=l,s=Db.bind(null,lt,l),l.dispatch=s,l=Ah(!1),h=Lh.bind(null,lt,!1,l.queue),l=_e(),f={state:i,dispatch:null,action:e,pending:null},l.queue=f,s=ER.bind(null,lt,f,h,s),f.dispatch=s,l.memoizedState=e,[i,s,!1]}function fb(e){var i=Xt();return hb(i,Et,e)}function hb(e,i,s){if(i=Ch(e,i,ub)[0],e=Mr(Fi)[0],typeof i=="object"&&i!==null&&typeof i.then=="function")try{var l=Bo(i)}catch(g){throw g===ba?mr:g}else l=i;i=Xt();var f=i.queue,h=f.dispatch;return s!==i.memoizedState&&(lt.flags|=2048,Ma(9,{destroy:void 0},AR.bind(null,f,s),null)),[l,h,e]}function AR(e,i){e.action=i}function db(e){var i=Xt(),s=Et;if(s!==null)return hb(i,s,e);Xt(),i=i.memoizedState,s=Xt();var l=s.queue.dispatch;return s.memoizedState=e,[i,l,!1]}function Ma(e,i,s,l){return e={tag:e,create:s,deps:l,inst:i,next:null},i=lt.updateQueue,i===null&&(i=Tr(),lt.updateQueue=i),s=i.lastEffect,s===null?i.lastEffect=e.next=e:(l=s.next,s.next=e,e.next=l,i.lastEffect=e),e}function mb(){return Xt().memoizedState}function _r(e,i,s,l){var f=_e();lt.flags|=e,f.memoizedState=Ma(1|i,{destroy:void 0},s,l===void 0?null:l)}function Cr(e,i,s,l){var f=Xt();l=l===void 0?null:l;var h=f.memoizedState.inst;Et!==null&&l!==null&&Sh(l,Et.memoizedState.deps)?f.memoizedState=Ma(i,h,s,l):(lt.flags|=e,f.memoizedState=Ma(1|i,h,s,l))}function pb(e,i){_r(8390656,8,e,i)}function zh(e,i){Cr(2048,8,e,i)}function DR(e){lt.flags|=4;var i=lt.updateQueue;if(i===null)i=Tr(),lt.updateQueue=i,i.events=[e];else{var s=i.events;s===null?i.events=[e]:s.push(e)}}function yb(e){var i=Xt().memoizedState;return DR({ref:i,nextImpl:e}),function(){if((Tt&2)!==0)throw Error(o(440));return i.impl.apply(void 0,arguments)}}function gb(e,i){return Cr(4,2,e,i)}function vb(e,i){return Cr(4,4,e,i)}function bb(e,i){if(typeof i=="function"){e=e();var s=i(e);return function(){typeof s=="function"?s():i(null)}}if(i!=null)return e=e(),i.current=e,function(){i.current=null}}function Sb(e,i,s){s=s!=null?s.concat([e]):null,Cr(4,4,bb.bind(null,i,e),s)}function Oh(){}function xb(e,i){var s=Xt();i=i===void 0?null:i;var l=s.memoizedState;return i!==null&&Sh(i,l[1])?l[0]:(s.memoizedState=[e,i],e)}function Tb(e,i){var s=Xt();i=i===void 0?null:i;var l=s.memoizedState;if(i!==null&&Sh(i,l[1]))return l[0];if(l=e(),Ms){gn(!0);try{e()}finally{gn(!1)}}return s.memoizedState=[l,i],l}function Rh(e,i,s){return s===void 0||(Ki&1073741824)!==0&&(pt&261930)===0?e.memoizedState=i:(e.memoizedState=s,e=wS(),lt.lanes|=e,On|=e,s)}function wb(e,i,s,l){return Ge(s,i)?s:xa.current!==null?(e=Rh(e,s,l),Ge(e,i)||($t=!0),e):(Ki&42)===0||(Ki&1073741824)!==0&&(pt&261930)===0?($t=!0,e.memoizedState=s):(e=wS(),lt.lanes|=e,On|=e,i)}function Mb(e,i,s,l,f){var h=P.p;P.p=h!==0&&8>h?h:8;var g=U.T,b={};U.T=b,Lh(e,!1,i,s);try{var T=f(),z=U.S;if(z!==null&&z(b,T),T!==null&&typeof T=="object"&&typeof T.then=="function"){var k=MR(T,l);Lo(e,i,k,Je(e))}else Lo(e,i,l,Je(e))}catch(q){Lo(e,i,{then:function(){},status:"rejected",reason:q},Je())}finally{P.p=h,g!==null&&b.types!==null&&(g.types=b.types),U.T=g}}function zR(){}function Vh(e,i,s,l){if(e.tag!==5)throw Error(o(476));var f=_b(e).queue;Mb(e,f,i,W,s===null?zR:function(){return Cb(e),s(l)})}function _b(e){var i=e.memoizedState;if(i!==null)return i;i={memoizedState:W,baseState:W,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Fi,lastRenderedState:W},next:null};var s={};return i.next={memoizedState:s,baseState:s,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Fi,lastRenderedState:s},next:null},e.memoizedState=i,e=e.alternate,e!==null&&(e.memoizedState=i),i}function Cb(e){var i=_b(e);i.next===null&&(i=e.alternate.memoizedState),Lo(e,i.next.queue,{},Je())}function Bh(){return ue(Io)}function Eb(){return Xt().memoizedState}function Ab(){return Xt().memoizedState}function OR(e){for(var i=e.return;i!==null;){switch(i.tag){case 24:case 3:var s=Je();e=_n(s);var l=Cn(i,e,s);l!==null&&(Le(l,i,s),zo(l,i,s)),i={cache:uh()},e.payload=i;return}i=i.return}}function RR(e,i,s){var l=Je();s={lane:l,revertLane:0,gesture:null,action:s,hasEagerState:!1,eagerState:null,next:null},Er(e)?zb(i,s):(s=If(e,i,s,l),s!==null&&(Le(s,e,l),Ob(s,i,l)))}function Db(e,i,s){var l=Je();Lo(e,i,s,l)}function Lo(e,i,s,l){var f={lane:l,revertLane:0,gesture:null,action:s,hasEagerState:!1,eagerState:null,next:null};if(Er(e))zb(i,f);else{var h=e.alternate;if(e.lanes===0&&(h===null||h.lanes===0)&&(h=i.lastRenderedReducer,h!==null))try{var g=i.lastRenderedState,b=h(g,s);if(f.hasEagerState=!0,f.eagerState=b,Ge(b,g))return lr(e,i,f,0),zt===null&&or(),!1}catch{}finally{}if(s=If(e,i,f,l),s!==null)return Le(s,e,l),Ob(s,i,l),!0}return!1}function Lh(e,i,s,l){if(l={lane:2,revertLane:dd(),gesture:null,action:l,hasEagerState:!1,eagerState:null,next:null},Er(e)){if(i)throw Error(o(479))}else i=If(e,s,l,2),i!==null&&Le(i,e,2)}function Er(e){var i=e.alternate;return e===lt||i!==null&&i===lt}function zb(e,i){Ta=Sr=!0;var s=e.pending;s===null?i.next=i:(i.next=s.next,s.next=i),e.pending=i}function Ob(e,i,s){if((s&4194048)!==0){var l=i.lanes;l&=e.pendingLanes,s|=l,i.lanes=s,kv(e,s)}}var ko={readContext:ue,use:wr,useCallback:qt,useContext:qt,useEffect:qt,useImperativeHandle:qt,useLayoutEffect:qt,useInsertionEffect:qt,useMemo:qt,useReducer:qt,useRef:qt,useState:qt,useDebugValue:qt,useDeferredValue:qt,useTransition:qt,useSyncExternalStore:qt,useId:qt,useHostTransitionStatus:qt,useFormState:qt,useActionState:qt,useOptimistic:qt,useMemoCache:qt,useCacheRefresh:qt};ko.useEffectEvent=qt;var Rb={readContext:ue,use:wr,useCallback:function(e,i){return _e().memoizedState=[e,i===void 0?null:i],e},useContext:ue,useEffect:pb,useImperativeHandle:function(e,i,s){s=s!=null?s.concat([e]):null,_r(4194308,4,bb.bind(null,i,e),s)},useLayoutEffect:function(e,i){return _r(4194308,4,e,i)},useInsertionEffect:function(e,i){_r(4,2,e,i)},useMemo:function(e,i){var s=_e();i=i===void 0?null:i;var l=e();if(Ms){gn(!0);try{e()}finally{gn(!1)}}return s.memoizedState=[l,i],l},useReducer:function(e,i,s){var l=_e();if(s!==void 0){var f=s(i);if(Ms){gn(!0);try{s(i)}finally{gn(!1)}}}else f=i;return l.memoizedState=l.baseState=f,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:f},l.queue=e,e=e.dispatch=RR.bind(null,lt,e),[l.memoizedState,e]},useRef:function(e){var i=_e();return e={current:e},i.memoizedState=e},useState:function(e){e=Ah(e);var i=e.queue,s=Db.bind(null,lt,i);return i.dispatch=s,[e.memoizedState,s]},useDebugValue:Oh,useDeferredValue:function(e,i){var s=_e();return Rh(s,e,i)},useTransition:function(){var e=Ah(!1);return e=Mb.bind(null,lt,e.queue,!0,!1),_e().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,i,s){var l=lt,f=_e();if(gt){if(s===void 0)throw Error(o(407));s=s()}else{if(s=i(),zt===null)throw Error(o(349));(pt&127)!==0||W0(l,i,s)}f.memoizedState=s;var h={value:s,getSnapshot:i};return f.queue=h,pb(eb.bind(null,l,h,e),[e]),l.flags|=2048,Ma(9,{destroy:void 0},tb.bind(null,l,h,s,i),null),s},useId:function(){var e=_e(),i=zt.identifierPrefix;if(gt){var s=Vi,l=Ri;s=(l&~(1<<32-Ye(l)-1)).toString(32)+s,i="_"+i+"R_"+s,s=xr++,0<s&&(i+="H"+s.toString(32)),i+="_"}else s=_R++,i="_"+i+"r_"+s.toString(32)+"_";return e.memoizedState=i},useHostTransitionStatus:Bh,useFormState:cb,useActionState:cb,useOptimistic:function(e){var i=_e();i.memoizedState=i.baseState=e;var s={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return i.queue=s,i=Lh.bind(null,lt,!0,s),s.dispatch=i,[e,i]},useMemoCache:_h,useCacheRefresh:function(){return _e().memoizedState=OR.bind(null,lt)},useEffectEvent:function(e){var i=_e(),s={impl:e};return i.memoizedState=s,function(){if((Tt&2)!==0)throw Error(o(440));return s.impl.apply(void 0,arguments)}}},kh={readContext:ue,use:wr,useCallback:xb,useContext:ue,useEffect:zh,useImperativeHandle:Sb,useInsertionEffect:gb,useLayoutEffect:vb,useMemo:Tb,useReducer:Mr,useRef:mb,useState:function(){return Mr(Fi)},useDebugValue:Oh,useDeferredValue:function(e,i){var s=Xt();return wb(s,Et.memoizedState,e,i)},useTransition:function(){var e=Mr(Fi)[0],i=Xt().memoizedState;return[typeof e=="boolean"?e:Bo(e),i]},useSyncExternalStore:I0,useId:Eb,useHostTransitionStatus:Bh,useFormState:fb,useActionState:fb,useOptimistic:function(e,i){var s=Xt();return sb(s,Et,e,i)},useMemoCache:_h,useCacheRefresh:Ab};kh.useEffectEvent=yb;var Vb={readContext:ue,use:wr,useCallback:xb,useContext:ue,useEffect:zh,useImperativeHandle:Sb,useInsertionEffect:gb,useLayoutEffect:vb,useMemo:Tb,useReducer:Eh,useRef:mb,useState:function(){return Eh(Fi)},useDebugValue:Oh,useDeferredValue:function(e,i){var s=Xt();return Et===null?Rh(s,e,i):wb(s,Et.memoizedState,e,i)},useTransition:function(){var e=Eh(Fi)[0],i=Xt().memoizedState;return[typeof e=="boolean"?e:Bo(e),i]},useSyncExternalStore:I0,useId:Eb,useHostTransitionStatus:Bh,useFormState:db,useActionState:db,useOptimistic:function(e,i){var s=Xt();return Et!==null?sb(s,Et,e,i):(s.baseState=e,[e,s.queue.dispatch])},useMemoCache:_h,useCacheRefresh:Ab};Vb.useEffectEvent=yb;function Uh(e,i,s,l){i=e.memoizedState,s=s(l,i),s=s==null?i:v({},i,s),e.memoizedState=s,e.lanes===0&&(e.updateQueue.baseState=s)}var Nh={enqueueSetState:function(e,i,s){e=e._reactInternals;var l=Je(),f=_n(l);f.payload=i,s!=null&&(f.callback=s),i=Cn(e,f,l),i!==null&&(Le(i,e,l),zo(i,e,l))},enqueueReplaceState:function(e,i,s){e=e._reactInternals;var l=Je(),f=_n(l);f.tag=1,f.payload=i,s!=null&&(f.callback=s),i=Cn(e,f,l),i!==null&&(Le(i,e,l),zo(i,e,l))},enqueueForceUpdate:function(e,i){e=e._reactInternals;var s=Je(),l=_n(s);l.tag=2,i!=null&&(l.callback=i),i=Cn(e,l,s),i!==null&&(Le(i,e,s),zo(i,e,s))}};function Bb(e,i,s,l,f,h,g){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(l,h,g):i.prototype&&i.prototype.isPureReactComponent?!To(s,l)||!To(f,h):!0}function Lb(e,i,s,l){e=i.state,typeof i.componentWillReceiveProps=="function"&&i.componentWillReceiveProps(s,l),typeof i.UNSAFE_componentWillReceiveProps=="function"&&i.UNSAFE_componentWillReceiveProps(s,l),i.state!==e&&Nh.enqueueReplaceState(i,i.state,null)}function _s(e,i){var s=i;if("ref"in i){s={};for(var l in i)l!=="ref"&&(s[l]=i[l])}if(e=e.defaultProps){s===i&&(s=v({},s));for(var f in e)s[f]===void 0&&(s[f]=e[f])}return s}function kb(e){ar(e)}function Ub(e){console.error(e)}function Nb(e){ar(e)}function Ar(e,i){try{var s=e.onUncaughtError;s(i.value,{componentStack:i.stack})}catch(l){setTimeout(function(){throw l})}}function Hb(e,i,s){try{var l=e.onCaughtError;l(s.value,{componentStack:s.stack,errorBoundary:i.tag===1?i.stateNode:null})}catch(f){setTimeout(function(){throw f})}}function Hh(e,i,s){return s=_n(s),s.tag=3,s.payload={element:null},s.callback=function(){Ar(e,i)},s}function qb(e){return e=_n(e),e.tag=3,e}function jb(e,i,s,l){var f=s.type.getDerivedStateFromError;if(typeof f=="function"){var h=l.value;e.payload=function(){return f(h)},e.callback=function(){Hb(i,s,l)}}var g=s.stateNode;g!==null&&typeof g.componentDidCatch=="function"&&(e.callback=function(){Hb(i,s,l),typeof f!="function"&&(Rn===null?Rn=new Set([this]):Rn.add(this));var b=l.stack;this.componentDidCatch(l.value,{componentStack:b!==null?b:""})})}function VR(e,i,s,l,f){if(s.flags|=32768,l!==null&&typeof l=="object"&&typeof l.then=="function"){if(i=s.alternate,i!==null&&ya(i,s,f,!0),s=Qe.current,s!==null){switch(s.tag){case 31:case 13:return fi===null?qr():s.alternate===null&&jt===0&&(jt=3),s.flags&=-257,s.flags|=65536,s.lanes=f,l===pr?s.flags|=16384:(i=s.updateQueue,i===null?s.updateQueue=new Set([l]):i.add(l),cd(e,l,f)),!1;case 22:return s.flags|=65536,l===pr?s.flags|=16384:(i=s.updateQueue,i===null?(i={transitions:null,markerInstances:null,retryQueue:new Set([l])},s.updateQueue=i):(s=i.retryQueue,s===null?i.retryQueue=new Set([l]):s.add(l)),cd(e,l,f)),!1}throw Error(o(435,s.tag))}return cd(e,l,f),qr(),!1}if(gt)return i=Qe.current,i!==null?((i.flags&65536)===0&&(i.flags|=256),i.flags|=65536,i.lanes=f,l!==sh&&(e=Error(o(422),{cause:l}),_o(li(e,s)))):(l!==sh&&(i=Error(o(423),{cause:l}),_o(li(i,s))),e=e.current.alternate,e.flags|=65536,f&=-f,e.lanes|=f,l=li(l,s),f=Hh(e.stateNode,l,f),ph(e,f),jt!==4&&(jt=2)),!1;var h=Error(o(520),{cause:l});if(h=li(h,s),Go===null?Go=[h]:Go.push(h),jt!==4&&(jt=2),i===null)return!0;l=li(l,s),s=i;do{switch(s.tag){case 3:return s.flags|=65536,e=f&-f,s.lanes|=e,e=Hh(s.stateNode,l,e),ph(s,e),!1;case 1:if(i=s.type,h=s.stateNode,(s.flags&128)===0&&(typeof i.getDerivedStateFromError=="function"||h!==null&&typeof h.componentDidCatch=="function"&&(Rn===null||!Rn.has(h))))return s.flags|=65536,f&=-f,s.lanes|=f,f=qb(f),jb(f,e,s,l),ph(s,f),!1}s=s.return}while(s!==null);return!1}var qh=Error(o(461)),$t=!1;function ce(e,i,s,l){i.child=e===null?X0(i,null,s,l):ws(i,e.child,s,l)}function Pb(e,i,s,l,f){s=s.render;var h=i.ref;if("ref"in l){var g={};for(var b in l)b!=="ref"&&(g[b]=l[b])}else g=l;return bs(i),l=xh(e,i,s,g,h,f),b=Th(),e!==null&&!$t?(wh(e,i,f),Ji(e,i,f)):(gt&&b&&ih(i),i.flags|=1,ce(e,i,l,f),i.child)}function Yb(e,i,s,l,f){if(e===null){var h=s.type;return typeof h=="function"&&!Wf(h)&&h.defaultProps===void 0&&s.compare===null?(i.tag=15,i.type=h,Gb(e,i,h,l,f)):(e=ur(s.type,null,l,i,i.mode,f),e.ref=i.ref,e.return=i,i.child=e)}if(h=e.child,!Kh(e,f)){var g=h.memoizedProps;if(s=s.compare,s=s!==null?s:To,s(g,l)&&e.ref===i.ref)return Ji(e,i,f)}return i.flags|=1,e=Gi(h,l),e.ref=i.ref,e.return=i,i.child=e}function Gb(e,i,s,l,f){if(e!==null){var h=e.memoizedProps;if(To(h,l)&&e.ref===i.ref)if($t=!1,i.pendingProps=l=h,Kh(e,f))(e.flags&131072)!==0&&($t=!0);else return i.lanes=e.lanes,Ji(e,i,f)}return jh(e,i,s,l,f)}function Xb(e,i,s,l){var f=l.children,h=e!==null?e.memoizedState:null;if(e===null&&i.stateNode===null&&(i.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),l.mode==="hidden"){if((i.flags&128)!==0){if(h=h!==null?h.baseLanes|s:s,e!==null){for(l=i.child=e.child,f=0;l!==null;)f=f|l.lanes|l.childLanes,l=l.sibling;l=f&~h}else l=0,i.child=null;return Qb(e,i,h,s,l)}if((s&536870912)!==0)i.memoizedState={baseLanes:0,cachePool:null},e!==null&&dr(i,h!==null?h.cachePool:null),h!==null?K0(i,h):gh(),F0(i);else return l=i.lanes=536870912,Qb(e,i,h!==null?h.baseLanes|s:s,s,l)}else h!==null?(dr(i,h.cachePool),K0(i,h),An(),i.memoizedState=null):(e!==null&&dr(i,null),gh(),An());return ce(e,i,f,s),i.child}function Uo(e,i){return e!==null&&e.tag===22||i.stateNode!==null||(i.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),i.sibling}function Qb(e,i,s,l,f){var h=fh();return h=h===null?null:{parent:Ft._currentValue,pool:h},i.memoizedState={baseLanes:s,cachePool:h},e!==null&&dr(i,null),gh(),F0(i),e!==null&&ya(e,i,l,!0),i.childLanes=f,null}function Dr(e,i){return i=Or({mode:i.mode,children:i.children},e.mode),i.ref=e.ref,e.child=i,i.return=e,i}function Zb(e,i,s){return ws(i,e.child,null,s),e=Dr(i,i.pendingProps),e.flags|=2,Ze(i),i.memoizedState=null,e}function BR(e,i,s){var l=i.pendingProps,f=(i.flags&128)!==0;if(i.flags&=-129,e===null){if(gt){if(l.mode==="hidden")return e=Dr(i,l),i.lanes=536870912,Uo(null,e);if(bh(i),(e=Vt)?(e=ax(e,ci),e=e!==null&&e.data==="&"?e:null,e!==null&&(i.memoizedState={dehydrated:e,treeContext:Sn!==null?{id:Ri,overflow:Vi}:null,retryLane:536870912,hydrationErrors:null},s=z0(e),s.return=i,i.child=s,re=i,Vt=null)):e=null,e===null)throw Tn(i);return i.lanes=536870912,null}return Dr(i,l)}var h=e.memoizedState;if(h!==null){var g=h.dehydrated;if(bh(i),f)if(i.flags&256)i.flags&=-257,i=Zb(e,i,s);else if(i.memoizedState!==null)i.child=e.child,i.flags|=128,i=null;else throw Error(o(558));else if($t||ya(e,i,s,!1),f=(s&e.childLanes)!==0,$t||f){if(l=zt,l!==null&&(g=Uv(l,s),g!==0&&g!==h.retryLane))throw h.retryLane=g,ps(e,g),Le(l,e,g),qh;qr(),i=Zb(e,i,s)}else e=h.treeContext,Vt=hi(g.nextSibling),re=i,gt=!0,xn=null,ci=!1,e!==null&&V0(i,e),i=Dr(i,l),i.flags|=4096;return i}return e=Gi(e.child,{mode:l.mode,children:l.children}),e.ref=i.ref,i.child=e,e.return=i,e}function zr(e,i){var s=i.ref;if(s===null)e!==null&&e.ref!==null&&(i.flags|=4194816);else{if(typeof s!="function"&&typeof s!="object")throw Error(o(284));(e===null||e.ref!==s)&&(i.flags|=4194816)}}function jh(e,i,s,l,f){return bs(i),s=xh(e,i,s,l,void 0,f),l=Th(),e!==null&&!$t?(wh(e,i,f),Ji(e,i,f)):(gt&&l&&ih(i),i.flags|=1,ce(e,i,s,f),i.child)}function Kb(e,i,s,l,f,h){return bs(i),i.updateQueue=null,s=$0(i,l,s,f),J0(e),l=Th(),e!==null&&!$t?(wh(e,i,h),Ji(e,i,h)):(gt&&l&&ih(i),i.flags|=1,ce(e,i,s,h),i.child)}function Fb(e,i,s,l,f){if(bs(i),i.stateNode===null){var h=ha,g=s.contextType;typeof g=="object"&&g!==null&&(h=ue(g)),h=new s(l,h),i.memoizedState=h.state!==null&&h.state!==void 0?h.state:null,h.updater=Nh,i.stateNode=h,h._reactInternals=i,h=i.stateNode,h.props=l,h.state=i.memoizedState,h.refs={},dh(i),g=s.contextType,h.context=typeof g=="object"&&g!==null?ue(g):ha,h.state=i.memoizedState,g=s.getDerivedStateFromProps,typeof g=="function"&&(Uh(i,s,g,l),h.state=i.memoizedState),typeof s.getDerivedStateFromProps=="function"||typeof h.getSnapshotBeforeUpdate=="function"||typeof h.UNSAFE_componentWillMount!="function"&&typeof h.componentWillMount!="function"||(g=h.state,typeof h.componentWillMount=="function"&&h.componentWillMount(),typeof h.UNSAFE_componentWillMount=="function"&&h.UNSAFE_componentWillMount(),g!==h.state&&Nh.enqueueReplaceState(h,h.state,null),Ro(i,l,h,f),Oo(),h.state=i.memoizedState),typeof h.componentDidMount=="function"&&(i.flags|=4194308),l=!0}else if(e===null){h=i.stateNode;var b=i.memoizedProps,T=_s(s,b);h.props=T;var z=h.context,k=s.contextType;g=ha,typeof k=="object"&&k!==null&&(g=ue(k));var q=s.getDerivedStateFromProps;k=typeof q=="function"||typeof h.getSnapshotBeforeUpdate=="function",b=i.pendingProps!==b,k||typeof h.UNSAFE_componentWillReceiveProps!="function"&&typeof h.componentWillReceiveProps!="function"||(b||z!==g)&&Lb(i,h,l,g),Mn=!1;var O=i.memoizedState;h.state=O,Ro(i,l,h,f),Oo(),z=i.memoizedState,b||O!==z||Mn?(typeof q=="function"&&(Uh(i,s,q,l),z=i.memoizedState),(T=Mn||Bb(i,s,T,l,O,z,g))?(k||typeof h.UNSAFE_componentWillMount!="function"&&typeof h.componentWillMount!="function"||(typeof h.componentWillMount=="function"&&h.componentWillMount(),typeof h.UNSAFE_componentWillMount=="function"&&h.UNSAFE_componentWillMount()),typeof h.componentDidMount=="function"&&(i.flags|=4194308)):(typeof h.componentDidMount=="function"&&(i.flags|=4194308),i.memoizedProps=l,i.memoizedState=z),h.props=l,h.state=z,h.context=g,l=T):(typeof h.componentDidMount=="function"&&(i.flags|=4194308),l=!1)}else{h=i.stateNode,mh(e,i),g=i.memoizedProps,k=_s(s,g),h.props=k,q=i.pendingProps,O=h.context,z=s.contextType,T=ha,typeof z=="object"&&z!==null&&(T=ue(z)),b=s.getDerivedStateFromProps,(z=typeof b=="function"||typeof h.getSnapshotBeforeUpdate=="function")||typeof h.UNSAFE_componentWillReceiveProps!="function"&&typeof h.componentWillReceiveProps!="function"||(g!==q||O!==T)&&Lb(i,h,l,T),Mn=!1,O=i.memoizedState,h.state=O,Ro(i,l,h,f),Oo();var V=i.memoizedState;g!==q||O!==V||Mn||e!==null&&e.dependencies!==null&&fr(e.dependencies)?(typeof b=="function"&&(Uh(i,s,b,l),V=i.memoizedState),(k=Mn||Bb(i,s,k,l,O,V,T)||e!==null&&e.dependencies!==null&&fr(e.dependencies))?(z||typeof h.UNSAFE_componentWillUpdate!="function"&&typeof h.componentWillUpdate!="function"||(typeof h.componentWillUpdate=="function"&&h.componentWillUpdate(l,V,T),typeof h.UNSAFE_componentWillUpdate=="function"&&h.UNSAFE_componentWillUpdate(l,V,T)),typeof h.componentDidUpdate=="function"&&(i.flags|=4),typeof h.getSnapshotBeforeUpdate=="function"&&(i.flags|=1024)):(typeof h.componentDidUpdate!="function"||g===e.memoizedProps&&O===e.memoizedState||(i.flags|=4),typeof h.getSnapshotBeforeUpdate!="function"||g===e.memoizedProps&&O===e.memoizedState||(i.flags|=1024),i.memoizedProps=l,i.memoizedState=V),h.props=l,h.state=V,h.context=T,l=k):(typeof h.componentDidUpdate!="function"||g===e.memoizedProps&&O===e.memoizedState||(i.flags|=4),typeof h.getSnapshotBeforeUpdate!="function"||g===e.memoizedProps&&O===e.memoizedState||(i.flags|=1024),l=!1)}return h=l,zr(e,i),l=(i.flags&128)!==0,h||l?(h=i.stateNode,s=l&&typeof s.getDerivedStateFromError!="function"?null:h.render(),i.flags|=1,e!==null&&l?(i.child=ws(i,e.child,null,f),i.child=ws(i,null,s,f)):ce(e,i,s,f),i.memoizedState=h.state,e=i.child):e=Ji(e,i,f),e}function Jb(e,i,s,l){return gs(),i.flags|=256,ce(e,i,s,l),i.child}var Ph={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function Yh(e){return{baseLanes:e,cachePool:H0()}}function Gh(e,i,s){return e=e!==null?e.childLanes&~s:0,i&&(e|=Fe),e}function $b(e,i,s){var l=i.pendingProps,f=!1,h=(i.flags&128)!==0,g;if((g=h)||(g=e!==null&&e.memoizedState===null?!1:(Gt.current&2)!==0),g&&(f=!0,i.flags&=-129),g=(i.flags&32)!==0,i.flags&=-33,e===null){if(gt){if(f?En(i):An(),(e=Vt)?(e=ax(e,ci),e=e!==null&&e.data!=="&"?e:null,e!==null&&(i.memoizedState={dehydrated:e,treeContext:Sn!==null?{id:Ri,overflow:Vi}:null,retryLane:536870912,hydrationErrors:null},s=z0(e),s.return=i,i.child=s,re=i,Vt=null)):e=null,e===null)throw Tn(i);return Cd(e)?i.lanes=32:i.lanes=536870912,null}var b=l.children;return l=l.fallback,f?(An(),f=i.mode,b=Or({mode:"hidden",children:b},f),l=ys(l,f,s,null),b.return=i,l.return=i,b.sibling=l,i.child=b,l=i.child,l.memoizedState=Yh(s),l.childLanes=Gh(e,g,s),i.memoizedState=Ph,Uo(null,l)):(En(i),Xh(i,b))}var T=e.memoizedState;if(T!==null&&(b=T.dehydrated,b!==null)){if(h)i.flags&256?(En(i),i.flags&=-257,i=Qh(e,i,s)):i.memoizedState!==null?(An(),i.child=e.child,i.flags|=128,i=null):(An(),b=l.fallback,f=i.mode,l=Or({mode:"visible",children:l.children},f),b=ys(b,f,s,null),b.flags|=2,l.return=i,b.return=i,l.sibling=b,i.child=l,ws(i,e.child,null,s),l=i.child,l.memoizedState=Yh(s),l.childLanes=Gh(e,g,s),i.memoizedState=Ph,i=Uo(null,l));else if(En(i),Cd(b)){if(g=b.nextSibling&&b.nextSibling.dataset,g)var z=g.dgst;g=z,l=Error(o(419)),l.stack="",l.digest=g,_o({value:l,source:null,stack:null}),i=Qh(e,i,s)}else if($t||ya(e,i,s,!1),g=(s&e.childLanes)!==0,$t||g){if(g=zt,g!==null&&(l=Uv(g,s),l!==0&&l!==T.retryLane))throw T.retryLane=l,ps(e,l),Le(g,e,l),qh;_d(b)||qr(),i=Qh(e,i,s)}else _d(b)?(i.flags|=192,i.child=e.child,i=null):(e=T.treeContext,Vt=hi(b.nextSibling),re=i,gt=!0,xn=null,ci=!1,e!==null&&V0(i,e),i=Xh(i,l.children),i.flags|=4096);return i}return f?(An(),b=l.fallback,f=i.mode,T=e.child,z=T.sibling,l=Gi(T,{mode:"hidden",children:l.children}),l.subtreeFlags=T.subtreeFlags&65011712,z!==null?b=Gi(z,b):(b=ys(b,f,s,null),b.flags|=2),b.return=i,l.return=i,l.sibling=b,i.child=l,Uo(null,l),l=i.child,b=e.child.memoizedState,b===null?b=Yh(s):(f=b.cachePool,f!==null?(T=Ft._currentValue,f=f.parent!==T?{parent:T,pool:T}:f):f=H0(),b={baseLanes:b.baseLanes|s,cachePool:f}),l.memoizedState=b,l.childLanes=Gh(e,g,s),i.memoizedState=Ph,Uo(e.child,l)):(En(i),s=e.child,e=s.sibling,s=Gi(s,{mode:"visible",children:l.children}),s.return=i,s.sibling=null,e!==null&&(g=i.deletions,g===null?(i.deletions=[e],i.flags|=16):g.push(e)),i.child=s,i.memoizedState=null,s)}function Xh(e,i){return i=Or({mode:"visible",children:i},e.mode),i.return=e,e.child=i}function Or(e,i){return e=Xe(22,e,null,i),e.lanes=0,e}function Qh(e,i,s){return ws(i,e.child,null,s),e=Xh(i,i.pendingProps.children),e.flags|=2,i.memoizedState=null,e}function Ib(e,i,s){e.lanes|=i;var l=e.alternate;l!==null&&(l.lanes|=i),lh(e.return,i,s)}function Zh(e,i,s,l,f,h){var g=e.memoizedState;g===null?e.memoizedState={isBackwards:i,rendering:null,renderingStartTime:0,last:l,tail:s,tailMode:f,treeForkCount:h}:(g.isBackwards=i,g.rendering=null,g.renderingStartTime=0,g.last=l,g.tail=s,g.tailMode=f,g.treeForkCount=h)}function Wb(e,i,s){var l=i.pendingProps,f=l.revealOrder,h=l.tail;l=l.children;var g=Gt.current,b=(g&2)!==0;if(b?(g=g&1|2,i.flags|=128):g&=1,Z(Gt,g),ce(e,i,l,s),l=gt?Mo:0,!b&&e!==null&&(e.flags&128)!==0)t:for(e=i.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&Ib(e,s,i);else if(e.tag===19)Ib(e,s,i);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===i)break t;for(;e.sibling===null;){if(e.return===null||e.return===i)break t;e=e.return}e.sibling.return=e.return,e=e.sibling}switch(f){case"forwards":for(s=i.child,f=null;s!==null;)e=s.alternate,e!==null&&br(e)===null&&(f=s),s=s.sibling;s=f,s===null?(f=i.child,i.child=null):(f=s.sibling,s.sibling=null),Zh(i,!1,f,s,h,l);break;case"backwards":case"unstable_legacy-backwards":for(s=null,f=i.child,i.child=null;f!==null;){if(e=f.alternate,e!==null&&br(e)===null){i.child=f;break}e=f.sibling,f.sibling=s,s=f,f=e}Zh(i,!0,s,null,h,l);break;case"together":Zh(i,!1,null,null,void 0,l);break;default:i.memoizedState=null}return i.child}function Ji(e,i,s){if(e!==null&&(i.dependencies=e.dependencies),On|=i.lanes,(s&i.childLanes)===0)if(e!==null){if(ya(e,i,s,!1),(s&i.childLanes)===0)return null}else return null;if(e!==null&&i.child!==e.child)throw Error(o(153));if(i.child!==null){for(e=i.child,s=Gi(e,e.pendingProps),i.child=s,s.return=i;e.sibling!==null;)e=e.sibling,s=s.sibling=Gi(e,e.pendingProps),s.return=i;s.sibling=null}return i.child}function Kh(e,i){return(e.lanes&i)!==0?!0:(e=e.dependencies,!!(e!==null&&fr(e)))}function LR(e,i,s){switch(i.tag){case 3:Me(i,i.stateNode.containerInfo),wn(i,Ft,e.memoizedState.cache),gs();break;case 27:case 5:ro(i);break;case 4:Me(i,i.stateNode.containerInfo);break;case 10:wn(i,i.type,i.memoizedProps.value);break;case 31:if(i.memoizedState!==null)return i.flags|=128,bh(i),null;break;case 13:var l=i.memoizedState;if(l!==null)return l.dehydrated!==null?(En(i),i.flags|=128,null):(s&i.child.childLanes)!==0?$b(e,i,s):(En(i),e=Ji(e,i,s),e!==null?e.sibling:null);En(i);break;case 19:var f=(e.flags&128)!==0;if(l=(s&i.childLanes)!==0,l||(ya(e,i,s,!1),l=(s&i.childLanes)!==0),f){if(l)return Wb(e,i,s);i.flags|=128}if(f=i.memoizedState,f!==null&&(f.rendering=null,f.tail=null,f.lastEffect=null),Z(Gt,Gt.current),l)break;return null;case 22:return i.lanes=0,Xb(e,i,s,i.pendingProps);case 24:wn(i,Ft,e.memoizedState.cache)}return Ji(e,i,s)}function tS(e,i,s){if(e!==null)if(e.memoizedProps!==i.pendingProps)$t=!0;else{if(!Kh(e,s)&&(i.flags&128)===0)return $t=!1,LR(e,i,s);$t=(e.flags&131072)!==0}else $t=!1,gt&&(i.flags&1048576)!==0&&R0(i,Mo,i.index);switch(i.lanes=0,i.tag){case 16:t:{var l=i.pendingProps;if(e=xs(i.elementType),i.type=e,typeof e=="function")Wf(e)?(l=_s(e,l),i.tag=1,i=Fb(null,i,e,l,s)):(i.tag=0,i=jh(null,i,e,l,s));else{if(e!=null){var f=e.$$typeof;if(f===H){i.tag=11,i=Pb(null,i,e,l,s);break t}else if(f===G){i.tag=14,i=Yb(null,i,e,l,s);break t}}throw i=Ee(e)||e,Error(o(306,i,""))}}return i;case 0:return jh(e,i,i.type,i.pendingProps,s);case 1:return l=i.type,f=_s(l,i.pendingProps),Fb(e,i,l,f,s);case 3:t:{if(Me(i,i.stateNode.containerInfo),e===null)throw Error(o(387));l=i.pendingProps;var h=i.memoizedState;f=h.element,mh(e,i),Ro(i,l,null,s);var g=i.memoizedState;if(l=g.cache,wn(i,Ft,l),l!==h.cache&&rh(i,[Ft],s,!0),Oo(),l=g.element,h.isDehydrated)if(h={element:l,isDehydrated:!1,cache:g.cache},i.updateQueue.baseState=h,i.memoizedState=h,i.flags&256){i=Jb(e,i,l,s);break t}else if(l!==f){f=li(Error(o(424)),i),_o(f),i=Jb(e,i,l,s);break t}else{switch(e=i.stateNode.containerInfo,e.nodeType){case 9:e=e.body;break;default:e=e.nodeName==="HTML"?e.ownerDocument.body:e}for(Vt=hi(e.firstChild),re=i,gt=!0,xn=null,ci=!0,s=X0(i,null,l,s),i.child=s;s;)s.flags=s.flags&-3|4096,s=s.sibling}else{if(gs(),l===f){i=Ji(e,i,s);break t}ce(e,i,l,s)}i=i.child}return i;case 26:return zr(e,i),e===null?(s=fx(i.type,null,i.pendingProps,null))?i.memoizedState=s:gt||(s=i.type,e=i.pendingProps,l=Zr(ut.current).createElement(s),l[le]=i,l[De]=e,fe(l,s,e),ne(l),i.stateNode=l):i.memoizedState=fx(i.type,e.memoizedProps,i.pendingProps,e.memoizedState),null;case 27:return ro(i),e===null&&gt&&(l=i.stateNode=rx(i.type,i.pendingProps,ut.current),re=i,ci=!0,f=Vt,kn(i.type)?(Ed=f,Vt=hi(l.firstChild)):Vt=f),ce(e,i,i.pendingProps.children,s),zr(e,i),e===null&&(i.flags|=4194304),i.child;case 5:return e===null&&gt&&((f=l=Vt)&&(l=f3(l,i.type,i.pendingProps,ci),l!==null?(i.stateNode=l,re=i,Vt=hi(l.firstChild),ci=!1,f=!0):f=!1),f||Tn(i)),ro(i),f=i.type,h=i.pendingProps,g=e!==null?e.memoizedProps:null,l=h.children,Td(f,h)?l=null:g!==null&&Td(f,g)&&(i.flags|=32),i.memoizedState!==null&&(f=xh(e,i,CR,null,null,s),Io._currentValue=f),zr(e,i),ce(e,i,l,s),i.child;case 6:return e===null&&gt&&((e=s=Vt)&&(s=h3(s,i.pendingProps,ci),s!==null?(i.stateNode=s,re=i,Vt=null,e=!0):e=!1),e||Tn(i)),null;case 13:return $b(e,i,s);case 4:return Me(i,i.stateNode.containerInfo),l=i.pendingProps,e===null?i.child=ws(i,null,l,s):ce(e,i,l,s),i.child;case 11:return Pb(e,i,i.type,i.pendingProps,s);case 7:return ce(e,i,i.pendingProps,s),i.child;case 8:return ce(e,i,i.pendingProps.children,s),i.child;case 12:return ce(e,i,i.pendingProps.children,s),i.child;case 10:return l=i.pendingProps,wn(i,i.type,l.value),ce(e,i,l.children,s),i.child;case 9:return f=i.type._context,l=i.pendingProps.children,bs(i),f=ue(f),l=l(f),i.flags|=1,ce(e,i,l,s),i.child;case 14:return Yb(e,i,i.type,i.pendingProps,s);case 15:return Gb(e,i,i.type,i.pendingProps,s);case 19:return Wb(e,i,s);case 31:return BR(e,i,s);case 22:return Xb(e,i,s,i.pendingProps);case 24:return bs(i),l=ue(Ft),e===null?(f=fh(),f===null&&(f=zt,h=uh(),f.pooledCache=h,h.refCount++,h!==null&&(f.pooledCacheLanes|=s),f=h),i.memoizedState={parent:l,cache:f},dh(i),wn(i,Ft,f)):((e.lanes&s)!==0&&(mh(e,i),Ro(i,null,null,s),Oo()),f=e.memoizedState,h=i.memoizedState,f.parent!==l?(f={parent:l,cache:l},i.memoizedState=f,i.lanes===0&&(i.memoizedState=i.updateQueue.baseState=f),wn(i,Ft,l)):(l=h.cache,wn(i,Ft,l),l!==f.cache&&rh(i,[Ft],s,!0))),ce(e,i,i.pendingProps.children,s),i.child;case 29:throw i.pendingProps}throw Error(o(156,i.tag))}function $i(e){e.flags|=4}function Fh(e,i,s,l,f){if((i=(e.mode&32)!==0)&&(i=!1),i){if(e.flags|=16777216,(f&335544128)===f)if(e.stateNode.complete)e.flags|=8192;else if(ES())e.flags|=8192;else throw Ts=pr,hh}else e.flags&=-16777217}function eS(e,i){if(i.type!=="stylesheet"||(i.state.loading&4)!==0)e.flags&=-16777217;else if(e.flags|=16777216,!yx(i))if(ES())e.flags|=8192;else throw Ts=pr,hh}function Rr(e,i){i!==null&&(e.flags|=4),e.flags&16384&&(i=e.tag!==22?Bv():536870912,e.lanes|=i,Aa|=i)}function No(e,i){if(!gt)switch(e.tailMode){case"hidden":i=e.tail;for(var s=null;i!==null;)i.alternate!==null&&(s=i),i=i.sibling;s===null?e.tail=null:s.sibling=null;break;case"collapsed":s=e.tail;for(var l=null;s!==null;)s.alternate!==null&&(l=s),s=s.sibling;l===null?i||e.tail===null?e.tail=null:e.tail.sibling=null:l.sibling=null}}function Bt(e){var i=e.alternate!==null&&e.alternate.child===e.child,s=0,l=0;if(i)for(var f=e.child;f!==null;)s|=f.lanes|f.childLanes,l|=f.subtreeFlags&65011712,l|=f.flags&65011712,f.return=e,f=f.sibling;else for(f=e.child;f!==null;)s|=f.lanes|f.childLanes,l|=f.subtreeFlags,l|=f.flags,f.return=e,f=f.sibling;return e.subtreeFlags|=l,e.childLanes=s,i}function kR(e,i,s){var l=i.pendingProps;switch(nh(i),i.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Bt(i),null;case 1:return Bt(i),null;case 3:return s=i.stateNode,l=null,e!==null&&(l=e.memoizedState.cache),i.memoizedState.cache!==l&&(i.flags|=2048),Zi(Ft),Yt(),s.pendingContext&&(s.context=s.pendingContext,s.pendingContext=null),(e===null||e.child===null)&&(pa(i)?$i(i):e===null||e.memoizedState.isDehydrated&&(i.flags&256)===0||(i.flags|=1024,ah())),Bt(i),null;case 26:var f=i.type,h=i.memoizedState;return e===null?($i(i),h!==null?(Bt(i),eS(i,h)):(Bt(i),Fh(i,f,null,l,s))):h?h!==e.memoizedState?($i(i),Bt(i),eS(i,h)):(Bt(i),i.flags&=-16777217):(e=e.memoizedProps,e!==l&&$i(i),Bt(i),Fh(i,f,e,l,s)),null;case 27:if(Yl(i),s=ut.current,f=i.type,e!==null&&i.stateNode!=null)e.memoizedProps!==l&&$i(i);else{if(!l){if(i.stateNode===null)throw Error(o(166));return Bt(i),null}e=I.current,pa(i)?B0(i):(e=rx(f,l,s),i.stateNode=e,$i(i))}return Bt(i),null;case 5:if(Yl(i),f=i.type,e!==null&&i.stateNode!=null)e.memoizedProps!==l&&$i(i);else{if(!l){if(i.stateNode===null)throw Error(o(166));return Bt(i),null}if(h=I.current,pa(i))B0(i);else{var g=Zr(ut.current);switch(h){case 1:h=g.createElementNS("http://www.w3.org/2000/svg",f);break;case 2:h=g.createElementNS("http://www.w3.org/1998/Math/MathML",f);break;default:switch(f){case"svg":h=g.createElementNS("http://www.w3.org/2000/svg",f);break;case"math":h=g.createElementNS("http://www.w3.org/1998/Math/MathML",f);break;case"script":h=g.createElement("div"),h.innerHTML="<script><\/script>",h=h.removeChild(h.firstChild);break;case"select":h=typeof l.is=="string"?g.createElement("select",{is:l.is}):g.createElement("select"),l.multiple?h.multiple=!0:l.size&&(h.size=l.size);break;default:h=typeof l.is=="string"?g.createElement(f,{is:l.is}):g.createElement(f)}}h[le]=i,h[De]=l;t:for(g=i.child;g!==null;){if(g.tag===5||g.tag===6)h.appendChild(g.stateNode);else if(g.tag!==4&&g.tag!==27&&g.child!==null){g.child.return=g,g=g.child;continue}if(g===i)break t;for(;g.sibling===null;){if(g.return===null||g.return===i)break t;g=g.return}g.sibling.return=g.return,g=g.sibling}i.stateNode=h;t:switch(fe(h,f,l),f){case"button":case"input":case"select":case"textarea":l=!!l.autoFocus;break t;case"img":l=!0;break t;default:l=!1}l&&$i(i)}}return Bt(i),Fh(i,i.type,e===null?null:e.memoizedProps,i.pendingProps,s),null;case 6:if(e&&i.stateNode!=null)e.memoizedProps!==l&&$i(i);else{if(typeof l!="string"&&i.stateNode===null)throw Error(o(166));if(e=ut.current,pa(i)){if(e=i.stateNode,s=i.memoizedProps,l=null,f=re,f!==null)switch(f.tag){case 27:case 5:l=f.memoizedProps}e[le]=i,e=!!(e.nodeValue===s||l!==null&&l.suppressHydrationWarning===!0||$S(e.nodeValue,s)),e||Tn(i,!0)}else e=Zr(e).createTextNode(l),e[le]=i,i.stateNode=e}return Bt(i),null;case 31:if(s=i.memoizedState,e===null||e.memoizedState!==null){if(l=pa(i),s!==null){if(e===null){if(!l)throw Error(o(318));if(e=i.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(o(557));e[le]=i}else gs(),(i.flags&128)===0&&(i.memoizedState=null),i.flags|=4;Bt(i),e=!1}else s=ah(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=s),e=!0;if(!e)return i.flags&256?(Ze(i),i):(Ze(i),null);if((i.flags&128)!==0)throw Error(o(558))}return Bt(i),null;case 13:if(l=i.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(f=pa(i),l!==null&&l.dehydrated!==null){if(e===null){if(!f)throw Error(o(318));if(f=i.memoizedState,f=f!==null?f.dehydrated:null,!f)throw Error(o(317));f[le]=i}else gs(),(i.flags&128)===0&&(i.memoizedState=null),i.flags|=4;Bt(i),f=!1}else f=ah(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=f),f=!0;if(!f)return i.flags&256?(Ze(i),i):(Ze(i),null)}return Ze(i),(i.flags&128)!==0?(i.lanes=s,i):(s=l!==null,e=e!==null&&e.memoizedState!==null,s&&(l=i.child,f=null,l.alternate!==null&&l.alternate.memoizedState!==null&&l.alternate.memoizedState.cachePool!==null&&(f=l.alternate.memoizedState.cachePool.pool),h=null,l.memoizedState!==null&&l.memoizedState.cachePool!==null&&(h=l.memoizedState.cachePool.pool),h!==f&&(l.flags|=2048)),s!==e&&s&&(i.child.flags|=8192),Rr(i,i.updateQueue),Bt(i),null);case 4:return Yt(),e===null&&gd(i.stateNode.containerInfo),Bt(i),null;case 10:return Zi(i.type),Bt(i),null;case 19:if(j(Gt),l=i.memoizedState,l===null)return Bt(i),null;if(f=(i.flags&128)!==0,h=l.rendering,h===null)if(f)No(l,!1);else{if(jt!==0||e!==null&&(e.flags&128)!==0)for(e=i.child;e!==null;){if(h=br(e),h!==null){for(i.flags|=128,No(l,!1),e=h.updateQueue,i.updateQueue=e,Rr(i,e),i.subtreeFlags=0,e=s,s=i.child;s!==null;)D0(s,e),s=s.sibling;return Z(Gt,Gt.current&1|2),gt&&Xi(i,l.treeForkCount),i.child}e=e.sibling}l.tail!==null&&je()>Ur&&(i.flags|=128,f=!0,No(l,!1),i.lanes=4194304)}else{if(!f)if(e=br(h),e!==null){if(i.flags|=128,f=!0,e=e.updateQueue,i.updateQueue=e,Rr(i,e),No(l,!0),l.tail===null&&l.tailMode==="hidden"&&!h.alternate&&!gt)return Bt(i),null}else 2*je()-l.renderingStartTime>Ur&&s!==536870912&&(i.flags|=128,f=!0,No(l,!1),i.lanes=4194304);l.isBackwards?(h.sibling=i.child,i.child=h):(e=l.last,e!==null?e.sibling=h:i.child=h,l.last=h)}return l.tail!==null?(e=l.tail,l.rendering=e,l.tail=e.sibling,l.renderingStartTime=je(),e.sibling=null,s=Gt.current,Z(Gt,f?s&1|2:s&1),gt&&Xi(i,l.treeForkCount),e):(Bt(i),null);case 22:case 23:return Ze(i),vh(),l=i.memoizedState!==null,e!==null?e.memoizedState!==null!==l&&(i.flags|=8192):l&&(i.flags|=8192),l?(s&536870912)!==0&&(i.flags&128)===0&&(Bt(i),i.subtreeFlags&6&&(i.flags|=8192)):Bt(i),s=i.updateQueue,s!==null&&Rr(i,s.retryQueue),s=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(s=e.memoizedState.cachePool.pool),l=null,i.memoizedState!==null&&i.memoizedState.cachePool!==null&&(l=i.memoizedState.cachePool.pool),l!==s&&(i.flags|=2048),e!==null&&j(Ss),null;case 24:return s=null,e!==null&&(s=e.memoizedState.cache),i.memoizedState.cache!==s&&(i.flags|=2048),Zi(Ft),Bt(i),null;case 25:return null;case 30:return null}throw Error(o(156,i.tag))}function UR(e,i){switch(nh(i),i.tag){case 1:return e=i.flags,e&65536?(i.flags=e&-65537|128,i):null;case 3:return Zi(Ft),Yt(),e=i.flags,(e&65536)!==0&&(e&128)===0?(i.flags=e&-65537|128,i):null;case 26:case 27:case 5:return Yl(i),null;case 31:if(i.memoizedState!==null){if(Ze(i),i.alternate===null)throw Error(o(340));gs()}return e=i.flags,e&65536?(i.flags=e&-65537|128,i):null;case 13:if(Ze(i),e=i.memoizedState,e!==null&&e.dehydrated!==null){if(i.alternate===null)throw Error(o(340));gs()}return e=i.flags,e&65536?(i.flags=e&-65537|128,i):null;case 19:return j(Gt),null;case 4:return Yt(),null;case 10:return Zi(i.type),null;case 22:case 23:return Ze(i),vh(),e!==null&&j(Ss),e=i.flags,e&65536?(i.flags=e&-65537|128,i):null;case 24:return Zi(Ft),null;case 25:return null;default:return null}}function iS(e,i){switch(nh(i),i.tag){case 3:Zi(Ft),Yt();break;case 26:case 27:case 5:Yl(i);break;case 4:Yt();break;case 31:i.memoizedState!==null&&Ze(i);break;case 13:Ze(i);break;case 19:j(Gt);break;case 10:Zi(i.type);break;case 22:case 23:Ze(i),vh(),e!==null&&j(Ss);break;case 24:Zi(Ft)}}function Ho(e,i){try{var s=i.updateQueue,l=s!==null?s.lastEffect:null;if(l!==null){var f=l.next;s=f;do{if((s.tag&e)===e){l=void 0;var h=s.create,g=s.inst;l=h(),g.destroy=l}s=s.next}while(s!==f)}}catch(b){_t(i,i.return,b)}}function Dn(e,i,s){try{var l=i.updateQueue,f=l!==null?l.lastEffect:null;if(f!==null){var h=f.next;l=h;do{if((l.tag&e)===e){var g=l.inst,b=g.destroy;if(b!==void 0){g.destroy=void 0,f=i;var T=s,z=b;try{z()}catch(k){_t(f,T,k)}}}l=l.next}while(l!==h)}}catch(k){_t(i,i.return,k)}}function nS(e){var i=e.updateQueue;if(i!==null){var s=e.stateNode;try{Z0(i,s)}catch(l){_t(e,e.return,l)}}}function sS(e,i,s){s.props=_s(e.type,e.memoizedProps),s.state=e.memoizedState;try{s.componentWillUnmount()}catch(l){_t(e,i,l)}}function qo(e,i){try{var s=e.ref;if(s!==null){switch(e.tag){case 26:case 27:case 5:var l=e.stateNode;break;case 30:l=e.stateNode;break;default:l=e.stateNode}typeof s=="function"?e.refCleanup=s(l):s.current=l}}catch(f){_t(e,i,f)}}function Bi(e,i){var s=e.ref,l=e.refCleanup;if(s!==null)if(typeof l=="function")try{l()}catch(f){_t(e,i,f)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof s=="function")try{s(null)}catch(f){_t(e,i,f)}else s.current=null}function aS(e){var i=e.type,s=e.memoizedProps,l=e.stateNode;try{t:switch(i){case"button":case"input":case"select":case"textarea":s.autoFocus&&l.focus();break t;case"img":s.src?l.src=s.src:s.srcSet&&(l.srcset=s.srcSet)}}catch(f){_t(e,e.return,f)}}function Jh(e,i,s){try{var l=e.stateNode;a3(l,e.type,s,i),l[De]=i}catch(f){_t(e,e.return,f)}}function oS(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&kn(e.type)||e.tag===4}function $h(e){t:for(;;){for(;e.sibling===null;){if(e.return===null||oS(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.tag===27&&kn(e.type)||e.flags&2||e.child===null||e.tag===4)continue t;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Ih(e,i,s){var l=e.tag;if(l===5||l===6)e=e.stateNode,i?(s.nodeType===9?s.body:s.nodeName==="HTML"?s.ownerDocument.body:s).insertBefore(e,i):(i=s.nodeType===9?s.body:s.nodeName==="HTML"?s.ownerDocument.body:s,i.appendChild(e),s=s._reactRootContainer,s!=null||i.onclick!==null||(i.onclick=Pi));else if(l!==4&&(l===27&&kn(e.type)&&(s=e.stateNode,i=null),e=e.child,e!==null))for(Ih(e,i,s),e=e.sibling;e!==null;)Ih(e,i,s),e=e.sibling}function Vr(e,i,s){var l=e.tag;if(l===5||l===6)e=e.stateNode,i?s.insertBefore(e,i):s.appendChild(e);else if(l!==4&&(l===27&&kn(e.type)&&(s=e.stateNode),e=e.child,e!==null))for(Vr(e,i,s),e=e.sibling;e!==null;)Vr(e,i,s),e=e.sibling}function lS(e){var i=e.stateNode,s=e.memoizedProps;try{for(var l=e.type,f=i.attributes;f.length;)i.removeAttributeNode(f[0]);fe(i,l,s),i[le]=e,i[De]=s}catch(h){_t(e,e.return,h)}}var Ii=!1,It=!1,Wh=!1,rS=typeof WeakSet=="function"?WeakSet:Set,se=null;function NR(e,i){if(e=e.containerInfo,Sd=tu,e=S0(e),Qf(e)){if("selectionStart"in e)var s={start:e.selectionStart,end:e.selectionEnd};else t:{s=(s=e.ownerDocument)&&s.defaultView||window;var l=s.getSelection&&s.getSelection();if(l&&l.rangeCount!==0){s=l.anchorNode;var f=l.anchorOffset,h=l.focusNode;l=l.focusOffset;try{s.nodeType,h.nodeType}catch{s=null;break t}var g=0,b=-1,T=-1,z=0,k=0,q=e,O=null;e:for(;;){for(var V;q!==s||f!==0&&q.nodeType!==3||(b=g+f),q!==h||l!==0&&q.nodeType!==3||(T=g+l),q.nodeType===3&&(g+=q.nodeValue.length),(V=q.firstChild)!==null;)O=q,q=V;for(;;){if(q===e)break e;if(O===s&&++z===f&&(b=g),O===h&&++k===l&&(T=g),(V=q.nextSibling)!==null)break;q=O,O=q.parentNode}q=V}s=b===-1||T===-1?null:{start:b,end:T}}else s=null}s=s||{start:0,end:0}}else s=null;for(xd={focusedElem:e,selectionRange:s},tu=!1,se=i;se!==null;)if(i=se,e=i.child,(i.subtreeFlags&1028)!==0&&e!==null)e.return=i,se=e;else for(;se!==null;){switch(i=se,h=i.alternate,e=i.flags,i.tag){case 0:if((e&4)!==0&&(e=i.updateQueue,e=e!==null?e.events:null,e!==null))for(s=0;s<e.length;s++)f=e[s],f.ref.impl=f.nextImpl;break;case 11:case 15:break;case 1:if((e&1024)!==0&&h!==null){e=void 0,s=i,f=h.memoizedProps,h=h.memoizedState,l=s.stateNode;try{var J=_s(s.type,f);e=l.getSnapshotBeforeUpdate(J,h),l.__reactInternalSnapshotBeforeUpdate=e}catch(nt){_t(s,s.return,nt)}}break;case 3:if((e&1024)!==0){if(e=i.stateNode.containerInfo,s=e.nodeType,s===9)Md(e);else if(s===1)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":Md(e);break;default:e.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((e&1024)!==0)throw Error(o(163))}if(e=i.sibling,e!==null){e.return=i.return,se=e;break}se=i.return}}function uS(e,i,s){var l=s.flags;switch(s.tag){case 0:case 11:case 15:tn(e,s),l&4&&Ho(5,s);break;case 1:if(tn(e,s),l&4)if(e=s.stateNode,i===null)try{e.componentDidMount()}catch(g){_t(s,s.return,g)}else{var f=_s(s.type,i.memoizedProps);i=i.memoizedState;try{e.componentDidUpdate(f,i,e.__reactInternalSnapshotBeforeUpdate)}catch(g){_t(s,s.return,g)}}l&64&&nS(s),l&512&&qo(s,s.return);break;case 3:if(tn(e,s),l&64&&(e=s.updateQueue,e!==null)){if(i=null,s.child!==null)switch(s.child.tag){case 27:case 5:i=s.child.stateNode;break;case 1:i=s.child.stateNode}try{Z0(e,i)}catch(g){_t(s,s.return,g)}}break;case 27:i===null&&l&4&&lS(s);case 26:case 5:tn(e,s),i===null&&l&4&&aS(s),l&512&&qo(s,s.return);break;case 12:tn(e,s);break;case 31:tn(e,s),l&4&&hS(e,s);break;case 13:tn(e,s),l&4&&dS(e,s),l&64&&(e=s.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(s=ZR.bind(null,s),d3(e,s))));break;case 22:if(l=s.memoizedState!==null||Ii,!l){i=i!==null&&i.memoizedState!==null||It,f=Ii;var h=It;Ii=l,(It=i)&&!h?en(e,s,(s.subtreeFlags&8772)!==0):tn(e,s),Ii=f,It=h}break;case 30:break;default:tn(e,s)}}function cS(e){var i=e.alternate;i!==null&&(e.alternate=null,cS(i)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(i=e.stateNode,i!==null&&Df(i)),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}var kt=null,Oe=!1;function Wi(e,i,s){for(s=s.child;s!==null;)fS(e,i,s),s=s.sibling}function fS(e,i,s){if(Pe&&typeof Pe.onCommitFiberUnmount=="function")try{Pe.onCommitFiberUnmount(uo,s)}catch{}switch(s.tag){case 26:It||Bi(s,i),Wi(e,i,s),s.memoizedState?s.memoizedState.count--:s.stateNode&&(s=s.stateNode,s.parentNode.removeChild(s));break;case 27:It||Bi(s,i);var l=kt,f=Oe;kn(s.type)&&(kt=s.stateNode,Oe=!1),Wi(e,i,s),Fo(s.stateNode),kt=l,Oe=f;break;case 5:It||Bi(s,i);case 6:if(l=kt,f=Oe,kt=null,Wi(e,i,s),kt=l,Oe=f,kt!==null)if(Oe)try{(kt.nodeType===9?kt.body:kt.nodeName==="HTML"?kt.ownerDocument.body:kt).removeChild(s.stateNode)}catch(h){_t(s,i,h)}else try{kt.removeChild(s.stateNode)}catch(h){_t(s,i,h)}break;case 18:kt!==null&&(Oe?(e=kt,nx(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,s.stateNode),ka(e)):nx(kt,s.stateNode));break;case 4:l=kt,f=Oe,kt=s.stateNode.containerInfo,Oe=!0,Wi(e,i,s),kt=l,Oe=f;break;case 0:case 11:case 14:case 15:Dn(2,s,i),It||Dn(4,s,i),Wi(e,i,s);break;case 1:It||(Bi(s,i),l=s.stateNode,typeof l.componentWillUnmount=="function"&&sS(s,i,l)),Wi(e,i,s);break;case 21:Wi(e,i,s);break;case 22:It=(l=It)||s.memoizedState!==null,Wi(e,i,s),It=l;break;default:Wi(e,i,s)}}function hS(e,i){if(i.memoizedState===null&&(e=i.alternate,e!==null&&(e=e.memoizedState,e!==null))){e=e.dehydrated;try{ka(e)}catch(s){_t(i,i.return,s)}}}function dS(e,i){if(i.memoizedState===null&&(e=i.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{ka(e)}catch(s){_t(i,i.return,s)}}function HR(e){switch(e.tag){case 31:case 13:case 19:var i=e.stateNode;return i===null&&(i=e.stateNode=new rS),i;case 22:return e=e.stateNode,i=e._retryCache,i===null&&(i=e._retryCache=new rS),i;default:throw Error(o(435,e.tag))}}function Br(e,i){var s=HR(e);i.forEach(function(l){if(!s.has(l)){s.add(l);var f=KR.bind(null,e,l);l.then(f,f)}})}function Re(e,i){var s=i.deletions;if(s!==null)for(var l=0;l<s.length;l++){var f=s[l],h=e,g=i,b=g;t:for(;b!==null;){switch(b.tag){case 27:if(kn(b.type)){kt=b.stateNode,Oe=!1;break t}break;case 5:kt=b.stateNode,Oe=!1;break t;case 3:case 4:kt=b.stateNode.containerInfo,Oe=!0;break t}b=b.return}if(kt===null)throw Error(o(160));fS(h,g,f),kt=null,Oe=!1,h=f.alternate,h!==null&&(h.return=null),f.return=null}if(i.subtreeFlags&13886)for(i=i.child;i!==null;)mS(i,e),i=i.sibling}var wi=null;function mS(e,i){var s=e.alternate,l=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:Re(i,e),Ve(e),l&4&&(Dn(3,e,e.return),Ho(3,e),Dn(5,e,e.return));break;case 1:Re(i,e),Ve(e),l&512&&(It||s===null||Bi(s,s.return)),l&64&&Ii&&(e=e.updateQueue,e!==null&&(l=e.callbacks,l!==null&&(s=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=s===null?l:s.concat(l))));break;case 26:var f=wi;if(Re(i,e),Ve(e),l&512&&(It||s===null||Bi(s,s.return)),l&4){var h=s!==null?s.memoizedState:null;if(l=e.memoizedState,s===null)if(l===null)if(e.stateNode===null){t:{l=e.type,s=e.memoizedProps,f=f.ownerDocument||f;e:switch(l){case"title":h=f.getElementsByTagName("title")[0],(!h||h[ho]||h[le]||h.namespaceURI==="http://www.w3.org/2000/svg"||h.hasAttribute("itemprop"))&&(h=f.createElement(l),f.head.insertBefore(h,f.querySelector("head > title"))),fe(h,l,s),h[le]=e,ne(h),l=h;break t;case"link":var g=mx("link","href",f).get(l+(s.href||""));if(g){for(var b=0;b<g.length;b++)if(h=g[b],h.getAttribute("href")===(s.href==null||s.href===""?null:s.href)&&h.getAttribute("rel")===(s.rel==null?null:s.rel)&&h.getAttribute("title")===(s.title==null?null:s.title)&&h.getAttribute("crossorigin")===(s.crossOrigin==null?null:s.crossOrigin)){g.splice(b,1);break e}}h=f.createElement(l),fe(h,l,s),f.head.appendChild(h);break;case"meta":if(g=mx("meta","content",f).get(l+(s.content||""))){for(b=0;b<g.length;b++)if(h=g[b],h.getAttribute("content")===(s.content==null?null:""+s.content)&&h.getAttribute("name")===(s.name==null?null:s.name)&&h.getAttribute("property")===(s.property==null?null:s.property)&&h.getAttribute("http-equiv")===(s.httpEquiv==null?null:s.httpEquiv)&&h.getAttribute("charset")===(s.charSet==null?null:s.charSet)){g.splice(b,1);break e}}h=f.createElement(l),fe(h,l,s),f.head.appendChild(h);break;default:throw Error(o(468,l))}h[le]=e,ne(h),l=h}e.stateNode=l}else px(f,e.type,e.stateNode);else e.stateNode=dx(f,l,e.memoizedProps);else h!==l?(h===null?s.stateNode!==null&&(s=s.stateNode,s.parentNode.removeChild(s)):h.count--,l===null?px(f,e.type,e.stateNode):dx(f,l,e.memoizedProps)):l===null&&e.stateNode!==null&&Jh(e,e.memoizedProps,s.memoizedProps)}break;case 27:Re(i,e),Ve(e),l&512&&(It||s===null||Bi(s,s.return)),s!==null&&l&4&&Jh(e,e.memoizedProps,s.memoizedProps);break;case 5:if(Re(i,e),Ve(e),l&512&&(It||s===null||Bi(s,s.return)),e.flags&32){f=e.stateNode;try{aa(f,"")}catch(J){_t(e,e.return,J)}}l&4&&e.stateNode!=null&&(f=e.memoizedProps,Jh(e,f,s!==null?s.memoizedProps:f)),l&1024&&(Wh=!0);break;case 6:if(Re(i,e),Ve(e),l&4){if(e.stateNode===null)throw Error(o(162));l=e.memoizedProps,s=e.stateNode;try{s.nodeValue=l}catch(J){_t(e,e.return,J)}}break;case 3:if(Jr=null,f=wi,wi=Kr(i.containerInfo),Re(i,e),wi=f,Ve(e),l&4&&s!==null&&s.memoizedState.isDehydrated)try{ka(i.containerInfo)}catch(J){_t(e,e.return,J)}Wh&&(Wh=!1,pS(e));break;case 4:l=wi,wi=Kr(e.stateNode.containerInfo),Re(i,e),Ve(e),wi=l;break;case 12:Re(i,e),Ve(e);break;case 31:Re(i,e),Ve(e),l&4&&(l=e.updateQueue,l!==null&&(e.updateQueue=null,Br(e,l)));break;case 13:Re(i,e),Ve(e),e.child.flags&8192&&e.memoizedState!==null!=(s!==null&&s.memoizedState!==null)&&(kr=je()),l&4&&(l=e.updateQueue,l!==null&&(e.updateQueue=null,Br(e,l)));break;case 22:f=e.memoizedState!==null;var T=s!==null&&s.memoizedState!==null,z=Ii,k=It;if(Ii=z||f,It=k||T,Re(i,e),It=k,Ii=z,Ve(e),l&8192)t:for(i=e.stateNode,i._visibility=f?i._visibility&-2:i._visibility|1,f&&(s===null||T||Ii||It||Cs(e)),s=null,i=e;;){if(i.tag===5||i.tag===26){if(s===null){T=s=i;try{if(h=T.stateNode,f)g=h.style,typeof g.setProperty=="function"?g.setProperty("display","none","important"):g.display="none";else{b=T.stateNode;var q=T.memoizedProps.style,O=q!=null&&q.hasOwnProperty("display")?q.display:null;b.style.display=O==null||typeof O=="boolean"?"":(""+O).trim()}}catch(J){_t(T,T.return,J)}}}else if(i.tag===6){if(s===null){T=i;try{T.stateNode.nodeValue=f?"":T.memoizedProps}catch(J){_t(T,T.return,J)}}}else if(i.tag===18){if(s===null){T=i;try{var V=T.stateNode;f?sx(V,!0):sx(T.stateNode,!1)}catch(J){_t(T,T.return,J)}}}else if((i.tag!==22&&i.tag!==23||i.memoizedState===null||i===e)&&i.child!==null){i.child.return=i,i=i.child;continue}if(i===e)break t;for(;i.sibling===null;){if(i.return===null||i.return===e)break t;s===i&&(s=null),i=i.return}s===i&&(s=null),i.sibling.return=i.return,i=i.sibling}l&4&&(l=e.updateQueue,l!==null&&(s=l.retryQueue,s!==null&&(l.retryQueue=null,Br(e,s))));break;case 19:Re(i,e),Ve(e),l&4&&(l=e.updateQueue,l!==null&&(e.updateQueue=null,Br(e,l)));break;case 30:break;case 21:break;default:Re(i,e),Ve(e)}}function Ve(e){var i=e.flags;if(i&2){try{for(var s,l=e.return;l!==null;){if(oS(l)){s=l;break}l=l.return}if(s==null)throw Error(o(160));switch(s.tag){case 27:var f=s.stateNode,h=$h(e);Vr(e,h,f);break;case 5:var g=s.stateNode;s.flags&32&&(aa(g,""),s.flags&=-33);var b=$h(e);Vr(e,b,g);break;case 3:case 4:var T=s.stateNode.containerInfo,z=$h(e);Ih(e,z,T);break;default:throw Error(o(161))}}catch(k){_t(e,e.return,k)}e.flags&=-3}i&4096&&(e.flags&=-4097)}function pS(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var i=e;pS(i),i.tag===5&&i.flags&1024&&i.stateNode.reset(),e=e.sibling}}function tn(e,i){if(i.subtreeFlags&8772)for(i=i.child;i!==null;)uS(e,i.alternate,i),i=i.sibling}function Cs(e){for(e=e.child;e!==null;){var i=e;switch(i.tag){case 0:case 11:case 14:case 15:Dn(4,i,i.return),Cs(i);break;case 1:Bi(i,i.return);var s=i.stateNode;typeof s.componentWillUnmount=="function"&&sS(i,i.return,s),Cs(i);break;case 27:Fo(i.stateNode);case 26:case 5:Bi(i,i.return),Cs(i);break;case 22:i.memoizedState===null&&Cs(i);break;case 30:Cs(i);break;default:Cs(i)}e=e.sibling}}function en(e,i,s){for(s=s&&(i.subtreeFlags&8772)!==0,i=i.child;i!==null;){var l=i.alternate,f=e,h=i,g=h.flags;switch(h.tag){case 0:case 11:case 15:en(f,h,s),Ho(4,h);break;case 1:if(en(f,h,s),l=h,f=l.stateNode,typeof f.componentDidMount=="function")try{f.componentDidMount()}catch(z){_t(l,l.return,z)}if(l=h,f=l.updateQueue,f!==null){var b=l.stateNode;try{var T=f.shared.hiddenCallbacks;if(T!==null)for(f.shared.hiddenCallbacks=null,f=0;f<T.length;f++)Q0(T[f],b)}catch(z){_t(l,l.return,z)}}s&&g&64&&nS(h),qo(h,h.return);break;case 27:lS(h);case 26:case 5:en(f,h,s),s&&l===null&&g&4&&aS(h),qo(h,h.return);break;case 12:en(f,h,s);break;case 31:en(f,h,s),s&&g&4&&hS(f,h);break;case 13:en(f,h,s),s&&g&4&&dS(f,h);break;case 22:h.memoizedState===null&&en(f,h,s),qo(h,h.return);break;case 30:break;default:en(f,h,s)}i=i.sibling}}function td(e,i){var s=null;e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(s=e.memoizedState.cachePool.pool),e=null,i.memoizedState!==null&&i.memoizedState.cachePool!==null&&(e=i.memoizedState.cachePool.pool),e!==s&&(e!=null&&e.refCount++,s!=null&&Co(s))}function ed(e,i){e=null,i.alternate!==null&&(e=i.alternate.memoizedState.cache),i=i.memoizedState.cache,i!==e&&(i.refCount++,e!=null&&Co(e))}function Mi(e,i,s,l){if(i.subtreeFlags&10256)for(i=i.child;i!==null;)yS(e,i,s,l),i=i.sibling}function yS(e,i,s,l){var f=i.flags;switch(i.tag){case 0:case 11:case 15:Mi(e,i,s,l),f&2048&&Ho(9,i);break;case 1:Mi(e,i,s,l);break;case 3:Mi(e,i,s,l),f&2048&&(e=null,i.alternate!==null&&(e=i.alternate.memoizedState.cache),i=i.memoizedState.cache,i!==e&&(i.refCount++,e!=null&&Co(e)));break;case 12:if(f&2048){Mi(e,i,s,l),e=i.stateNode;try{var h=i.memoizedProps,g=h.id,b=h.onPostCommit;typeof b=="function"&&b(g,i.alternate===null?"mount":"update",e.passiveEffectDuration,-0)}catch(T){_t(i,i.return,T)}}else Mi(e,i,s,l);break;case 31:Mi(e,i,s,l);break;case 13:Mi(e,i,s,l);break;case 23:break;case 22:h=i.stateNode,g=i.alternate,i.memoizedState!==null?h._visibility&2?Mi(e,i,s,l):jo(e,i):h._visibility&2?Mi(e,i,s,l):(h._visibility|=2,_a(e,i,s,l,(i.subtreeFlags&10256)!==0||!1)),f&2048&&td(g,i);break;case 24:Mi(e,i,s,l),f&2048&&ed(i.alternate,i);break;default:Mi(e,i,s,l)}}function _a(e,i,s,l,f){for(f=f&&((i.subtreeFlags&10256)!==0||!1),i=i.child;i!==null;){var h=e,g=i,b=s,T=l,z=g.flags;switch(g.tag){case 0:case 11:case 15:_a(h,g,b,T,f),Ho(8,g);break;case 23:break;case 22:var k=g.stateNode;g.memoizedState!==null?k._visibility&2?_a(h,g,b,T,f):jo(h,g):(k._visibility|=2,_a(h,g,b,T,f)),f&&z&2048&&td(g.alternate,g);break;case 24:_a(h,g,b,T,f),f&&z&2048&&ed(g.alternate,g);break;default:_a(h,g,b,T,f)}i=i.sibling}}function jo(e,i){if(i.subtreeFlags&10256)for(i=i.child;i!==null;){var s=e,l=i,f=l.flags;switch(l.tag){case 22:jo(s,l),f&2048&&td(l.alternate,l);break;case 24:jo(s,l),f&2048&&ed(l.alternate,l);break;default:jo(s,l)}i=i.sibling}}var Po=8192;function Ca(e,i,s){if(e.subtreeFlags&Po)for(e=e.child;e!==null;)gS(e,i,s),e=e.sibling}function gS(e,i,s){switch(e.tag){case 26:Ca(e,i,s),e.flags&Po&&e.memoizedState!==null&&_3(s,wi,e.memoizedState,e.memoizedProps);break;case 5:Ca(e,i,s);break;case 3:case 4:var l=wi;wi=Kr(e.stateNode.containerInfo),Ca(e,i,s),wi=l;break;case 22:e.memoizedState===null&&(l=e.alternate,l!==null&&l.memoizedState!==null?(l=Po,Po=16777216,Ca(e,i,s),Po=l):Ca(e,i,s));break;default:Ca(e,i,s)}}function vS(e){var i=e.alternate;if(i!==null&&(e=i.child,e!==null)){i.child=null;do i=e.sibling,e.sibling=null,e=i;while(e!==null)}}function Yo(e){var i=e.deletions;if((e.flags&16)!==0){if(i!==null)for(var s=0;s<i.length;s++){var l=i[s];se=l,SS(l,e)}vS(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)bS(e),e=e.sibling}function bS(e){switch(e.tag){case 0:case 11:case 15:Yo(e),e.flags&2048&&Dn(9,e,e.return);break;case 3:Yo(e);break;case 12:Yo(e);break;case 22:var i=e.stateNode;e.memoizedState!==null&&i._visibility&2&&(e.return===null||e.return.tag!==13)?(i._visibility&=-3,Lr(e)):Yo(e);break;default:Yo(e)}}function Lr(e){var i=e.deletions;if((e.flags&16)!==0){if(i!==null)for(var s=0;s<i.length;s++){var l=i[s];se=l,SS(l,e)}vS(e)}for(e=e.child;e!==null;){switch(i=e,i.tag){case 0:case 11:case 15:Dn(8,i,i.return),Lr(i);break;case 22:s=i.stateNode,s._visibility&2&&(s._visibility&=-3,Lr(i));break;default:Lr(i)}e=e.sibling}}function SS(e,i){for(;se!==null;){var s=se;switch(s.tag){case 0:case 11:case 15:Dn(8,s,i);break;case 23:case 22:if(s.memoizedState!==null&&s.memoizedState.cachePool!==null){var l=s.memoizedState.cachePool.pool;l!=null&&l.refCount++}break;case 24:Co(s.memoizedState.cache)}if(l=s.child,l!==null)l.return=s,se=l;else t:for(s=e;se!==null;){l=se;var f=l.sibling,h=l.return;if(cS(l),l===s){se=null;break t}if(f!==null){f.return=h,se=f;break t}se=h}}}var qR={getCacheForType:function(e){var i=ue(Ft),s=i.data.get(e);return s===void 0&&(s=e(),i.data.set(e,s)),s},cacheSignal:function(){return ue(Ft).controller.signal}},jR=typeof WeakMap=="function"?WeakMap:Map,Tt=0,zt=null,ct=null,pt=0,Mt=0,Ke=null,zn=!1,Ea=!1,id=!1,nn=0,jt=0,On=0,Es=0,nd=0,Fe=0,Aa=0,Go=null,Be=null,sd=!1,kr=0,xS=0,Ur=1/0,Nr=null,Rn=null,ee=0,Vn=null,Da=null,sn=0,ad=0,od=null,TS=null,Xo=0,ld=null;function Je(){return(Tt&2)!==0&&pt!==0?pt&-pt:U.T!==null?dd():Nv()}function wS(){if(Fe===0)if((pt&536870912)===0||gt){var e=Ql;Ql<<=1,(Ql&3932160)===0&&(Ql=262144),Fe=e}else Fe=536870912;return e=Qe.current,e!==null&&(e.flags|=32),Fe}function Le(e,i,s){(e===zt&&(Mt===2||Mt===9)||e.cancelPendingCommit!==null)&&(za(e,0),Bn(e,pt,Fe,!1)),fo(e,s),((Tt&2)===0||e!==zt)&&(e===zt&&((Tt&2)===0&&(Es|=s),jt===4&&Bn(e,pt,Fe,!1)),Li(e))}function MS(e,i,s){if((Tt&6)!==0)throw Error(o(327));var l=!s&&(i&127)===0&&(i&e.expiredLanes)===0||co(e,i),f=l?GR(e,i):ud(e,i,!0),h=l;do{if(f===0){Ea&&!l&&Bn(e,i,0,!1);break}else{if(s=e.current.alternate,h&&!PR(s)){f=ud(e,i,!1),h=!1;continue}if(f===2){if(h=i,e.errorRecoveryDisabledLanes&h)var g=0;else g=e.pendingLanes&-536870913,g=g!==0?g:g&536870912?536870912:0;if(g!==0){i=g;t:{var b=e;f=Go;var T=b.current.memoizedState.isDehydrated;if(T&&(za(b,g).flags|=256),g=ud(b,g,!1),g!==2){if(id&&!T){b.errorRecoveryDisabledLanes|=h,Es|=h,f=4;break t}h=Be,Be=f,h!==null&&(Be===null?Be=h:Be.push.apply(Be,h))}f=g}if(h=!1,f!==2)continue}}if(f===1){za(e,0),Bn(e,i,0,!0);break}t:{switch(l=e,h=f,h){case 0:case 1:throw Error(o(345));case 4:if((i&4194048)!==i)break;case 6:Bn(l,i,Fe,!zn);break t;case 2:Be=null;break;case 3:case 5:break;default:throw Error(o(329))}if((i&62914560)===i&&(f=kr+300-je(),10<f)){if(Bn(l,i,Fe,!zn),Kl(l,0,!0)!==0)break t;sn=i,l.timeoutHandle=ex(_S.bind(null,l,s,Be,Nr,sd,i,Fe,Es,Aa,zn,h,"Throttled",-0,0),f);break t}_S(l,s,Be,Nr,sd,i,Fe,Es,Aa,zn,h,null,-0,0)}}break}while(!0);Li(e)}function _S(e,i,s,l,f,h,g,b,T,z,k,q,O,V){if(e.timeoutHandle=-1,q=i.subtreeFlags,q&8192||(q&16785408)===16785408){q={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:Pi},gS(i,h,q);var J=(h&62914560)===h?kr-je():(h&4194048)===h?xS-je():0;if(J=C3(q,J),J!==null){sn=h,e.cancelPendingCommit=J(VS.bind(null,e,i,h,s,l,f,g,b,T,k,q,null,O,V)),Bn(e,h,g,!z);return}}VS(e,i,h,s,l,f,g,b,T)}function PR(e){for(var i=e;;){var s=i.tag;if((s===0||s===11||s===15)&&i.flags&16384&&(s=i.updateQueue,s!==null&&(s=s.stores,s!==null)))for(var l=0;l<s.length;l++){var f=s[l],h=f.getSnapshot;f=f.value;try{if(!Ge(h(),f))return!1}catch{return!1}}if(s=i.child,i.subtreeFlags&16384&&s!==null)s.return=i,i=s;else{if(i===e)break;for(;i.sibling===null;){if(i.return===null||i.return===e)return!0;i=i.return}i.sibling.return=i.return,i=i.sibling}}return!0}function Bn(e,i,s,l){i&=~nd,i&=~Es,e.suspendedLanes|=i,e.pingedLanes&=~i,l&&(e.warmLanes|=i),l=e.expirationTimes;for(var f=i;0<f;){var h=31-Ye(f),g=1<<h;l[h]=-1,f&=~g}s!==0&&Lv(e,s,i)}function Hr(){return(Tt&6)===0?(Qo(0),!1):!0}function rd(){if(ct!==null){if(Mt===0)var e=ct.return;else e=ct,Qi=vs=null,Mh(e),Sa=null,Ao=0,e=ct;for(;e!==null;)iS(e.alternate,e),e=e.return;ct=null}}function za(e,i){var s=e.timeoutHandle;s!==-1&&(e.timeoutHandle=-1,r3(s)),s=e.cancelPendingCommit,s!==null&&(e.cancelPendingCommit=null,s()),sn=0,rd(),zt=e,ct=s=Gi(e.current,null),pt=i,Mt=0,Ke=null,zn=!1,Ea=co(e,i),id=!1,Aa=Fe=nd=Es=On=jt=0,Be=Go=null,sd=!1,(i&8)!==0&&(i|=i&32);var l=e.entangledLanes;if(l!==0)for(e=e.entanglements,l&=i;0<l;){var f=31-Ye(l),h=1<<f;i|=e[f],l&=~h}return nn=i,or(),s}function CS(e,i){lt=null,U.H=ko,i===ba||i===mr?(i=P0(),Mt=3):i===hh?(i=P0(),Mt=4):Mt=i===qh?8:i!==null&&typeof i=="object"&&typeof i.then=="function"?6:1,Ke=i,ct===null&&(jt=1,Ar(e,li(i,e.current)))}function ES(){var e=Qe.current;return e===null?!0:(pt&4194048)===pt?fi===null:(pt&62914560)===pt||(pt&536870912)!==0?e===fi:!1}function AS(){var e=U.H;return U.H=ko,e===null?ko:e}function DS(){var e=U.A;return U.A=qR,e}function qr(){jt=4,zn||(pt&4194048)!==pt&&Qe.current!==null||(Ea=!0),(On&134217727)===0&&(Es&134217727)===0||zt===null||Bn(zt,pt,Fe,!1)}function ud(e,i,s){var l=Tt;Tt|=2;var f=AS(),h=DS();(zt!==e||pt!==i)&&(Nr=null,za(e,i)),i=!1;var g=jt;t:do try{if(Mt!==0&&ct!==null){var b=ct,T=Ke;switch(Mt){case 8:rd(),g=6;break t;case 3:case 2:case 9:case 6:Qe.current===null&&(i=!0);var z=Mt;if(Mt=0,Ke=null,Oa(e,b,T,z),s&&Ea){g=0;break t}break;default:z=Mt,Mt=0,Ke=null,Oa(e,b,T,z)}}YR(),g=jt;break}catch(k){CS(e,k)}while(!0);return i&&e.shellSuspendCounter++,Qi=vs=null,Tt=l,U.H=f,U.A=h,ct===null&&(zt=null,pt=0,or()),g}function YR(){for(;ct!==null;)zS(ct)}function GR(e,i){var s=Tt;Tt|=2;var l=AS(),f=DS();zt!==e||pt!==i?(Nr=null,Ur=je()+500,za(e,i)):Ea=co(e,i);t:do try{if(Mt!==0&&ct!==null){i=ct;var h=Ke;e:switch(Mt){case 1:Mt=0,Ke=null,Oa(e,i,h,1);break;case 2:case 9:if(q0(h)){Mt=0,Ke=null,OS(i);break}i=function(){Mt!==2&&Mt!==9||zt!==e||(Mt=7),Li(e)},h.then(i,i);break t;case 3:Mt=7;break t;case 4:Mt=5;break t;case 7:q0(h)?(Mt=0,Ke=null,OS(i)):(Mt=0,Ke=null,Oa(e,i,h,7));break;case 5:var g=null;switch(ct.tag){case 26:g=ct.memoizedState;case 5:case 27:var b=ct;if(g?yx(g):b.stateNode.complete){Mt=0,Ke=null;var T=b.sibling;if(T!==null)ct=T;else{var z=b.return;z!==null?(ct=z,jr(z)):ct=null}break e}}Mt=0,Ke=null,Oa(e,i,h,5);break;case 6:Mt=0,Ke=null,Oa(e,i,h,6);break;case 8:rd(),jt=6;break t;default:throw Error(o(462))}}XR();break}catch(k){CS(e,k)}while(!0);return Qi=vs=null,U.H=l,U.A=f,Tt=s,ct!==null?0:(zt=null,pt=0,or(),jt)}function XR(){for(;ct!==null&&!m2();)zS(ct)}function zS(e){var i=tS(e.alternate,e,nn);e.memoizedProps=e.pendingProps,i===null?jr(e):ct=i}function OS(e){var i=e,s=i.alternate;switch(i.tag){case 15:case 0:i=Kb(s,i,i.pendingProps,i.type,void 0,pt);break;case 11:i=Kb(s,i,i.pendingProps,i.type.render,i.ref,pt);break;case 5:Mh(i);default:iS(s,i),i=ct=D0(i,nn),i=tS(s,i,nn)}e.memoizedProps=e.pendingProps,i===null?jr(e):ct=i}function Oa(e,i,s,l){Qi=vs=null,Mh(i),Sa=null,Ao=0;var f=i.return;try{if(VR(e,f,i,s,pt)){jt=1,Ar(e,li(s,e.current)),ct=null;return}}catch(h){if(f!==null)throw ct=f,h;jt=1,Ar(e,li(s,e.current)),ct=null;return}i.flags&32768?(gt||l===1?e=!0:Ea||(pt&536870912)!==0?e=!1:(zn=e=!0,(l===2||l===9||l===3||l===6)&&(l=Qe.current,l!==null&&l.tag===13&&(l.flags|=16384))),RS(i,e)):jr(i)}function jr(e){var i=e;do{if((i.flags&32768)!==0){RS(i,zn);return}e=i.return;var s=kR(i.alternate,i,nn);if(s!==null){ct=s;return}if(i=i.sibling,i!==null){ct=i;return}ct=i=e}while(i!==null);jt===0&&(jt=5)}function RS(e,i){do{var s=UR(e.alternate,e);if(s!==null){s.flags&=32767,ct=s;return}if(s=e.return,s!==null&&(s.flags|=32768,s.subtreeFlags=0,s.deletions=null),!i&&(e=e.sibling,e!==null)){ct=e;return}ct=e=s}while(e!==null);jt=6,ct=null}function VS(e,i,s,l,f,h,g,b,T){e.cancelPendingCommit=null;do Pr();while(ee!==0);if((Tt&6)!==0)throw Error(o(327));if(i!==null){if(i===e.current)throw Error(o(177));if(h=i.lanes|i.childLanes,h|=$f,M2(e,s,h,g,b,T),e===zt&&(ct=zt=null,pt=0),Da=i,Vn=e,sn=s,ad=h,od=f,TS=l,(i.subtreeFlags&10256)!==0||(i.flags&10256)!==0?(e.callbackNode=null,e.callbackPriority=0,FR(Gl,function(){return NS(),null})):(e.callbackNode=null,e.callbackPriority=0),l=(i.flags&13878)!==0,(i.subtreeFlags&13878)!==0||l){l=U.T,U.T=null,f=P.p,P.p=2,g=Tt,Tt|=4;try{NR(e,i,s)}finally{Tt=g,P.p=f,U.T=l}}ee=1,BS(),LS(),kS()}}function BS(){if(ee===1){ee=0;var e=Vn,i=Da,s=(i.flags&13878)!==0;if((i.subtreeFlags&13878)!==0||s){s=U.T,U.T=null;var l=P.p;P.p=2;var f=Tt;Tt|=4;try{mS(i,e);var h=xd,g=S0(e.containerInfo),b=h.focusedElem,T=h.selectionRange;if(g!==b&&b&&b.ownerDocument&&b0(b.ownerDocument.documentElement,b)){if(T!==null&&Qf(b)){var z=T.start,k=T.end;if(k===void 0&&(k=z),"selectionStart"in b)b.selectionStart=z,b.selectionEnd=Math.min(k,b.value.length);else{var q=b.ownerDocument||document,O=q&&q.defaultView||window;if(O.getSelection){var V=O.getSelection(),J=b.textContent.length,nt=Math.min(T.start,J),Dt=T.end===void 0?nt:Math.min(T.end,J);!V.extend&&nt>Dt&&(g=Dt,Dt=nt,nt=g);var E=v0(b,nt),M=v0(b,Dt);if(E&&M&&(V.rangeCount!==1||V.anchorNode!==E.node||V.anchorOffset!==E.offset||V.focusNode!==M.node||V.focusOffset!==M.offset)){var D=q.createRange();D.setStart(E.node,E.offset),V.removeAllRanges(),nt>Dt?(V.addRange(D),V.extend(M.node,M.offset)):(D.setEnd(M.node,M.offset),V.addRange(D))}}}}for(q=[],V=b;V=V.parentNode;)V.nodeType===1&&q.push({element:V,left:V.scrollLeft,top:V.scrollTop});for(typeof b.focus=="function"&&b.focus(),b=0;b<q.length;b++){var N=q[b];N.element.scrollLeft=N.left,N.element.scrollTop=N.top}}tu=!!Sd,xd=Sd=null}finally{Tt=f,P.p=l,U.T=s}}e.current=i,ee=2}}function LS(){if(ee===2){ee=0;var e=Vn,i=Da,s=(i.flags&8772)!==0;if((i.subtreeFlags&8772)!==0||s){s=U.T,U.T=null;var l=P.p;P.p=2;var f=Tt;Tt|=4;try{uS(e,i.alternate,i)}finally{Tt=f,P.p=l,U.T=s}}ee=3}}function kS(){if(ee===4||ee===3){ee=0,p2();var e=Vn,i=Da,s=sn,l=TS;(i.subtreeFlags&10256)!==0||(i.flags&10256)!==0?ee=5:(ee=0,Da=Vn=null,US(e,e.pendingLanes));var f=e.pendingLanes;if(f===0&&(Rn=null),Ef(s),i=i.stateNode,Pe&&typeof Pe.onCommitFiberRoot=="function")try{Pe.onCommitFiberRoot(uo,i,void 0,(i.current.flags&128)===128)}catch{}if(l!==null){i=U.T,f=P.p,P.p=2,U.T=null;try{for(var h=e.onRecoverableError,g=0;g<l.length;g++){var b=l[g];h(b.value,{componentStack:b.stack})}}finally{U.T=i,P.p=f}}(sn&3)!==0&&Pr(),Li(e),f=e.pendingLanes,(s&261930)!==0&&(f&42)!==0?e===ld?Xo++:(Xo=0,ld=e):Xo=0,Qo(0)}}function US(e,i){(e.pooledCacheLanes&=i)===0&&(i=e.pooledCache,i!=null&&(e.pooledCache=null,Co(i)))}function Pr(){return BS(),LS(),kS(),NS()}function NS(){if(ee!==5)return!1;var e=Vn,i=ad;ad=0;var s=Ef(sn),l=U.T,f=P.p;try{P.p=32>s?32:s,U.T=null,s=od,od=null;var h=Vn,g=sn;if(ee=0,Da=Vn=null,sn=0,(Tt&6)!==0)throw Error(o(331));var b=Tt;if(Tt|=4,bS(h.current),yS(h,h.current,g,s),Tt=b,Qo(0,!1),Pe&&typeof Pe.onPostCommitFiberRoot=="function")try{Pe.onPostCommitFiberRoot(uo,h)}catch{}return!0}finally{P.p=f,U.T=l,US(e,i)}}function HS(e,i,s){i=li(s,i),i=Hh(e.stateNode,i,2),e=Cn(e,i,2),e!==null&&(fo(e,2),Li(e))}function _t(e,i,s){if(e.tag===3)HS(e,e,s);else for(;i!==null;){if(i.tag===3){HS(i,e,s);break}else if(i.tag===1){var l=i.stateNode;if(typeof i.type.getDerivedStateFromError=="function"||typeof l.componentDidCatch=="function"&&(Rn===null||!Rn.has(l))){e=li(s,e),s=qb(2),l=Cn(i,s,2),l!==null&&(jb(s,l,i,e),fo(l,2),Li(l));break}}i=i.return}}function cd(e,i,s){var l=e.pingCache;if(l===null){l=e.pingCache=new jR;var f=new Set;l.set(i,f)}else f=l.get(i),f===void 0&&(f=new Set,l.set(i,f));f.has(s)||(id=!0,f.add(s),e=QR.bind(null,e,i,s),i.then(e,e))}function QR(e,i,s){var l=e.pingCache;l!==null&&l.delete(i),e.pingedLanes|=e.suspendedLanes&s,e.warmLanes&=~s,zt===e&&(pt&s)===s&&(jt===4||jt===3&&(pt&62914560)===pt&&300>je()-kr?(Tt&2)===0&&za(e,0):nd|=s,Aa===pt&&(Aa=0)),Li(e)}function qS(e,i){i===0&&(i=Bv()),e=ps(e,i),e!==null&&(fo(e,i),Li(e))}function ZR(e){var i=e.memoizedState,s=0;i!==null&&(s=i.retryLane),qS(e,s)}function KR(e,i){var s=0;switch(e.tag){case 31:case 13:var l=e.stateNode,f=e.memoizedState;f!==null&&(s=f.retryLane);break;case 19:l=e.stateNode;break;case 22:l=e.stateNode._retryCache;break;default:throw Error(o(314))}l!==null&&l.delete(i),qS(e,s)}function FR(e,i){return wf(e,i)}var Yr=null,Ra=null,fd=!1,Gr=!1,hd=!1,Ln=0;function Li(e){e!==Ra&&e.next===null&&(Ra===null?Yr=Ra=e:Ra=Ra.next=e),Gr=!0,fd||(fd=!0,$R())}function Qo(e,i){if(!hd&&Gr){hd=!0;do for(var s=!1,l=Yr;l!==null;){if(e!==0){var f=l.pendingLanes;if(f===0)var h=0;else{var g=l.suspendedLanes,b=l.pingedLanes;h=(1<<31-Ye(42|e)+1)-1,h&=f&~(g&~b),h=h&201326741?h&201326741|1:h?h|2:0}h!==0&&(s=!0,GS(l,h))}else h=pt,h=Kl(l,l===zt?h:0,l.cancelPendingCommit!==null||l.timeoutHandle!==-1),(h&3)===0||co(l,h)||(s=!0,GS(l,h));l=l.next}while(s);hd=!1}}function JR(){jS()}function jS(){Gr=fd=!1;var e=0;Ln!==0&&l3()&&(e=Ln);for(var i=je(),s=null,l=Yr;l!==null;){var f=l.next,h=PS(l,i);h===0?(l.next=null,s===null?Yr=f:s.next=f,f===null&&(Ra=s)):(s=l,(e!==0||(h&3)!==0)&&(Gr=!0)),l=f}ee!==0&&ee!==5||Qo(e),Ln!==0&&(Ln=0)}function PS(e,i){for(var s=e.suspendedLanes,l=e.pingedLanes,f=e.expirationTimes,h=e.pendingLanes&-62914561;0<h;){var g=31-Ye(h),b=1<<g,T=f[g];T===-1?((b&s)===0||(b&l)!==0)&&(f[g]=w2(b,i)):T<=i&&(e.expiredLanes|=b),h&=~b}if(i=zt,s=pt,s=Kl(e,e===i?s:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),l=e.callbackNode,s===0||e===i&&(Mt===2||Mt===9)||e.cancelPendingCommit!==null)return l!==null&&l!==null&&Mf(l),e.callbackNode=null,e.callbackPriority=0;if((s&3)===0||co(e,s)){if(i=s&-s,i===e.callbackPriority)return i;switch(l!==null&&Mf(l),Ef(s)){case 2:case 8:s=Rv;break;case 32:s=Gl;break;case 268435456:s=Vv;break;default:s=Gl}return l=YS.bind(null,e),s=wf(s,l),e.callbackPriority=i,e.callbackNode=s,i}return l!==null&&l!==null&&Mf(l),e.callbackPriority=2,e.callbackNode=null,2}function YS(e,i){if(ee!==0&&ee!==5)return e.callbackNode=null,e.callbackPriority=0,null;var s=e.callbackNode;if(Pr()&&e.callbackNode!==s)return null;var l=pt;return l=Kl(e,e===zt?l:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),l===0?null:(MS(e,l,i),PS(e,je()),e.callbackNode!=null&&e.callbackNode===s?YS.bind(null,e):null)}function GS(e,i){if(Pr())return null;MS(e,i,!0)}function $R(){u3(function(){(Tt&6)!==0?wf(Ov,JR):jS()})}function dd(){if(Ln===0){var e=ga;e===0&&(e=Xl,Xl<<=1,(Xl&261888)===0&&(Xl=256)),Ln=e}return Ln}function XS(e){return e==null||typeof e=="symbol"||typeof e=="boolean"?null:typeof e=="function"?e:Il(""+e)}function QS(e,i){var s=i.ownerDocument.createElement("input");return s.name=i.name,s.value=i.value,e.id&&s.setAttribute("form",e.id),i.parentNode.insertBefore(s,i),e=new FormData(e),s.parentNode.removeChild(s),e}function IR(e,i,s,l,f){if(i==="submit"&&s&&s.stateNode===f){var h=XS((f[De]||null).action),g=l.submitter;g&&(i=(i=g[De]||null)?XS(i.formAction):g.getAttribute("formAction"),i!==null&&(h=i,g=null));var b=new ir("action","action",null,l,f);e.push({event:b,listeners:[{instance:null,listener:function(){if(l.defaultPrevented){if(Ln!==0){var T=g?QS(f,g):new FormData(f);Vh(s,{pending:!0,data:T,method:f.method,action:h},null,T)}}else typeof h=="function"&&(b.preventDefault(),T=g?QS(f,g):new FormData(f),Vh(s,{pending:!0,data:T,method:f.method,action:h},h,T))},currentTarget:f}]})}}for(var md=0;md<Jf.length;md++){var pd=Jf[md],WR=pd.toLowerCase(),t3=pd[0].toUpperCase()+pd.slice(1);Ti(WR,"on"+t3)}Ti(w0,"onAnimationEnd"),Ti(M0,"onAnimationIteration"),Ti(_0,"onAnimationStart"),Ti("dblclick","onDoubleClick"),Ti("focusin","onFocus"),Ti("focusout","onBlur"),Ti(yR,"onTransitionRun"),Ti(gR,"onTransitionStart"),Ti(vR,"onTransitionCancel"),Ti(C0,"onTransitionEnd"),na("onMouseEnter",["mouseout","mouseover"]),na("onMouseLeave",["mouseout","mouseover"]),na("onPointerEnter",["pointerout","pointerover"]),na("onPointerLeave",["pointerout","pointerover"]),fs("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),fs("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),fs("onBeforeInput",["compositionend","keypress","textInput","paste"]),fs("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),fs("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),fs("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Zo="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(" "),e3=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Zo));function ZS(e,i){i=(i&4)!==0;for(var s=0;s<e.length;s++){var l=e[s],f=l.event;l=l.listeners;t:{var h=void 0;if(i)for(var g=l.length-1;0<=g;g--){var b=l[g],T=b.instance,z=b.currentTarget;if(b=b.listener,T!==h&&f.isPropagationStopped())break t;h=b,f.currentTarget=z;try{h(f)}catch(k){ar(k)}f.currentTarget=null,h=T}else for(g=0;g<l.length;g++){if(b=l[g],T=b.instance,z=b.currentTarget,b=b.listener,T!==h&&f.isPropagationStopped())break t;h=b,f.currentTarget=z;try{h(f)}catch(k){ar(k)}f.currentTarget=null,h=T}}}}function ft(e,i){var s=i[Af];s===void 0&&(s=i[Af]=new Set);var l=e+"__bubble";s.has(l)||(KS(i,e,2,!1),s.add(l))}function yd(e,i,s){var l=0;i&&(l|=4),KS(s,e,l,i)}var Xr="_reactListening"+Math.random().toString(36).slice(2);function gd(e){if(!e[Xr]){e[Xr]=!0,jv.forEach(function(s){s!=="selectionchange"&&(e3.has(s)||yd(s,!1,e),yd(s,!0,e))});var i=e.nodeType===9?e:e.ownerDocument;i===null||i[Xr]||(i[Xr]=!0,yd("selectionchange",!1,i))}}function KS(e,i,s,l){switch(wx(i)){case 2:var f=D3;break;case 8:f=z3;break;default:f=Rd}s=f.bind(null,i,s,e),f=void 0,!Uf||i!=="touchstart"&&i!=="touchmove"&&i!=="wheel"||(f=!0),l?f!==void 0?e.addEventListener(i,s,{capture:!0,passive:f}):e.addEventListener(i,s,!0):f!==void 0?e.addEventListener(i,s,{passive:f}):e.addEventListener(i,s,!1)}function vd(e,i,s,l,f){var h=l;if((i&1)===0&&(i&2)===0&&l!==null)t:for(;;){if(l===null)return;var g=l.tag;if(g===3||g===4){var b=l.stateNode.containerInfo;if(b===f)break;if(g===4)for(g=l.return;g!==null;){var T=g.tag;if((T===3||T===4)&&g.stateNode.containerInfo===f)return;g=g.return}for(;b!==null;){if(g=ta(b),g===null)return;if(T=g.tag,T===5||T===6||T===26||T===27){l=h=g;continue t}b=b.parentNode}}l=l.return}Wv(function(){var z=h,k=Lf(s),q=[];t:{var O=E0.get(e);if(O!==void 0){var V=ir,J=e;switch(e){case"keypress":if(tr(s)===0)break t;case"keydown":case"keyup":V=K2;break;case"focusin":J="focus",V=jf;break;case"focusout":J="blur",V=jf;break;case"beforeblur":case"afterblur":V=jf;break;case"click":if(s.button===2)break t;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":V=i0;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":V=k2;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":V=$2;break;case w0:case M0:case _0:V=H2;break;case C0:V=W2;break;case"scroll":case"scrollend":V=B2;break;case"wheel":V=eR;break;case"copy":case"cut":case"paste":V=j2;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":V=s0;break;case"toggle":case"beforetoggle":V=nR}var nt=(i&4)!==0,Dt=!nt&&(e==="scroll"||e==="scrollend"),E=nt?O!==null?O+"Capture":null:O;nt=[];for(var M=z,D;M!==null;){var N=M;if(D=N.stateNode,N=N.tag,N!==5&&N!==26&&N!==27||D===null||E===null||(N=po(M,E),N!=null&&nt.push(Ko(M,N,D))),Dt)break;M=M.return}0<nt.length&&(O=new V(O,J,null,s,k),q.push({event:O,listeners:nt}))}}if((i&7)===0){t:{if(O=e==="mouseover"||e==="pointerover",V=e==="mouseout"||e==="pointerout",O&&s!==Bf&&(J=s.relatedTarget||s.fromElement)&&(ta(J)||J[Ws]))break t;if((V||O)&&(O=k.window===k?k:(O=k.ownerDocument)?O.defaultView||O.parentWindow:window,V?(J=s.relatedTarget||s.toElement,V=z,J=J?ta(J):null,J!==null&&(Dt=u(J),nt=J.tag,J!==Dt||nt!==5&&nt!==27&&nt!==6)&&(J=null)):(V=null,J=z),V!==J)){if(nt=i0,N="onMouseLeave",E="onMouseEnter",M="mouse",(e==="pointerout"||e==="pointerover")&&(nt=s0,N="onPointerLeave",E="onPointerEnter",M="pointer"),Dt=V==null?O:mo(V),D=J==null?O:mo(J),O=new nt(N,M+"leave",V,s,k),O.target=Dt,O.relatedTarget=D,N=null,ta(k)===z&&(nt=new nt(E,M+"enter",J,s,k),nt.target=D,nt.relatedTarget=Dt,N=nt),Dt=N,V&&J)e:{for(nt=i3,E=V,M=J,D=0,N=E;N;N=nt(N))D++;N=0;for(var it=M;it;it=nt(it))N++;for(;0<D-N;)E=nt(E),D--;for(;0<N-D;)M=nt(M),N--;for(;D--;){if(E===M||M!==null&&E===M.alternate){nt=E;break e}E=nt(E),M=nt(M)}nt=null}else nt=null;V!==null&&FS(q,O,V,nt,!1),J!==null&&Dt!==null&&FS(q,Dt,J,nt,!0)}}t:{if(O=z?mo(z):window,V=O.nodeName&&O.nodeName.toLowerCase(),V==="select"||V==="input"&&O.type==="file")var St=h0;else if(c0(O))if(d0)St=dR;else{St=fR;var tt=cR}else V=O.nodeName,!V||V.toLowerCase()!=="input"||O.type!=="checkbox"&&O.type!=="radio"?z&&Vf(z.elementType)&&(St=h0):St=hR;if(St&&(St=St(e,z))){f0(q,St,s,k);break t}tt&&tt(e,O,z),e==="focusout"&&z&&O.type==="number"&&z.memoizedProps.value!=null&&Rf(O,"number",O.value)}switch(tt=z?mo(z):window,e){case"focusin":(c0(tt)||tt.contentEditable==="true")&&(ua=tt,Zf=z,wo=null);break;case"focusout":wo=Zf=ua=null;break;case"mousedown":Kf=!0;break;case"contextmenu":case"mouseup":case"dragend":Kf=!1,x0(q,s,k);break;case"selectionchange":if(pR)break;case"keydown":case"keyup":x0(q,s,k)}var rt;if(Yf)t:{switch(e){case"compositionstart":var yt="onCompositionStart";break t;case"compositionend":yt="onCompositionEnd";break t;case"compositionupdate":yt="onCompositionUpdate";break t}yt=void 0}else ra?r0(e,s)&&(yt="onCompositionEnd"):e==="keydown"&&s.keyCode===229&&(yt="onCompositionStart");yt&&(a0&&s.locale!=="ko"&&(ra||yt!=="onCompositionStart"?yt==="onCompositionEnd"&&ra&&(rt=t0()):(bn=k,Nf="value"in bn?bn.value:bn.textContent,ra=!0)),tt=Qr(z,yt),0<tt.length&&(yt=new n0(yt,e,null,s,k),q.push({event:yt,listeners:tt}),rt?yt.data=rt:(rt=u0(s),rt!==null&&(yt.data=rt)))),(rt=aR?oR(e,s):lR(e,s))&&(yt=Qr(z,"onBeforeInput"),0<yt.length&&(tt=new n0("onBeforeInput","beforeinput",null,s,k),q.push({event:tt,listeners:yt}),tt.data=rt)),IR(q,e,z,s,k)}ZS(q,i)})}function Ko(e,i,s){return{instance:e,listener:i,currentTarget:s}}function Qr(e,i){for(var s=i+"Capture",l=[];e!==null;){var f=e,h=f.stateNode;if(f=f.tag,f!==5&&f!==26&&f!==27||h===null||(f=po(e,s),f!=null&&l.unshift(Ko(e,f,h)),f=po(e,i),f!=null&&l.push(Ko(e,f,h))),e.tag===3)return l;e=e.return}return[]}function i3(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function FS(e,i,s,l,f){for(var h=i._reactName,g=[];s!==null&&s!==l;){var b=s,T=b.alternate,z=b.stateNode;if(b=b.tag,T!==null&&T===l)break;b!==5&&b!==26&&b!==27||z===null||(T=z,f?(z=po(s,h),z!=null&&g.unshift(Ko(s,z,T))):f||(z=po(s,h),z!=null&&g.push(Ko(s,z,T)))),s=s.return}g.length!==0&&e.push({event:i,listeners:g})}var n3=/\r\n?/g,s3=/\u0000|\uFFFD/g;function JS(e){return(typeof e=="string"?e:""+e).replace(n3,`
9
+ `).replace(s3,"")}function $S(e,i){return i=JS(i),JS(e)===i}function At(e,i,s,l,f,h){switch(s){case"children":typeof l=="string"?i==="body"||i==="textarea"&&l===""||aa(e,l):(typeof l=="number"||typeof l=="bigint")&&i!=="body"&&aa(e,""+l);break;case"className":Jl(e,"class",l);break;case"tabIndex":Jl(e,"tabindex",l);break;case"dir":case"role":case"viewBox":case"width":case"height":Jl(e,s,l);break;case"style":$v(e,l,h);break;case"data":if(i!=="object"){Jl(e,"data",l);break}case"src":case"href":if(l===""&&(i!=="a"||s!=="href")){e.removeAttribute(s);break}if(l==null||typeof l=="function"||typeof l=="symbol"||typeof l=="boolean"){e.removeAttribute(s);break}l=Il(""+l),e.setAttribute(s,l);break;case"action":case"formAction":if(typeof l=="function"){e.setAttribute(s,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof h=="function"&&(s==="formAction"?(i!=="input"&&At(e,i,"name",f.name,f,null),At(e,i,"formEncType",f.formEncType,f,null),At(e,i,"formMethod",f.formMethod,f,null),At(e,i,"formTarget",f.formTarget,f,null)):(At(e,i,"encType",f.encType,f,null),At(e,i,"method",f.method,f,null),At(e,i,"target",f.target,f,null)));if(l==null||typeof l=="symbol"||typeof l=="boolean"){e.removeAttribute(s);break}l=Il(""+l),e.setAttribute(s,l);break;case"onClick":l!=null&&(e.onclick=Pi);break;case"onScroll":l!=null&&ft("scroll",e);break;case"onScrollEnd":l!=null&&ft("scrollend",e);break;case"dangerouslySetInnerHTML":if(l!=null){if(typeof l!="object"||!("__html"in l))throw Error(o(61));if(s=l.__html,s!=null){if(f.children!=null)throw Error(o(60));e.innerHTML=s}}break;case"multiple":e.multiple=l&&typeof l!="function"&&typeof l!="symbol";break;case"muted":e.muted=l&&typeof l!="function"&&typeof l!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(l==null||typeof l=="function"||typeof l=="boolean"||typeof l=="symbol"){e.removeAttribute("xlink:href");break}s=Il(""+l),e.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",s);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":l!=null&&typeof l!="function"&&typeof l!="symbol"?e.setAttribute(s,""+l):e.removeAttribute(s);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":l&&typeof l!="function"&&typeof l!="symbol"?e.setAttribute(s,""):e.removeAttribute(s);break;case"capture":case"download":l===!0?e.setAttribute(s,""):l!==!1&&l!=null&&typeof l!="function"&&typeof l!="symbol"?e.setAttribute(s,l):e.removeAttribute(s);break;case"cols":case"rows":case"size":case"span":l!=null&&typeof l!="function"&&typeof l!="symbol"&&!isNaN(l)&&1<=l?e.setAttribute(s,l):e.removeAttribute(s);break;case"rowSpan":case"start":l==null||typeof l=="function"||typeof l=="symbol"||isNaN(l)?e.removeAttribute(s):e.setAttribute(s,l);break;case"popover":ft("beforetoggle",e),ft("toggle",e),Fl(e,"popover",l);break;case"xlinkActuate":ji(e,"http://www.w3.org/1999/xlink","xlink:actuate",l);break;case"xlinkArcrole":ji(e,"http://www.w3.org/1999/xlink","xlink:arcrole",l);break;case"xlinkRole":ji(e,"http://www.w3.org/1999/xlink","xlink:role",l);break;case"xlinkShow":ji(e,"http://www.w3.org/1999/xlink","xlink:show",l);break;case"xlinkTitle":ji(e,"http://www.w3.org/1999/xlink","xlink:title",l);break;case"xlinkType":ji(e,"http://www.w3.org/1999/xlink","xlink:type",l);break;case"xmlBase":ji(e,"http://www.w3.org/XML/1998/namespace","xml:base",l);break;case"xmlLang":ji(e,"http://www.w3.org/XML/1998/namespace","xml:lang",l);break;case"xmlSpace":ji(e,"http://www.w3.org/XML/1998/namespace","xml:space",l);break;case"is":Fl(e,"is",l);break;case"innerText":case"textContent":break;default:(!(2<s.length)||s[0]!=="o"&&s[0]!=="O"||s[1]!=="n"&&s[1]!=="N")&&(s=R2.get(s)||s,Fl(e,s,l))}}function bd(e,i,s,l,f,h){switch(s){case"style":$v(e,l,h);break;case"dangerouslySetInnerHTML":if(l!=null){if(typeof l!="object"||!("__html"in l))throw Error(o(61));if(s=l.__html,s!=null){if(f.children!=null)throw Error(o(60));e.innerHTML=s}}break;case"children":typeof l=="string"?aa(e,l):(typeof l=="number"||typeof l=="bigint")&&aa(e,""+l);break;case"onScroll":l!=null&&ft("scroll",e);break;case"onScrollEnd":l!=null&&ft("scrollend",e);break;case"onClick":l!=null&&(e.onclick=Pi);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!Pv.hasOwnProperty(s))t:{if(s[0]==="o"&&s[1]==="n"&&(f=s.endsWith("Capture"),i=s.slice(2,f?s.length-7:void 0),h=e[De]||null,h=h!=null?h[s]:null,typeof h=="function"&&e.removeEventListener(i,h,f),typeof l=="function")){typeof h!="function"&&h!==null&&(s in e?e[s]=null:e.hasAttribute(s)&&e.removeAttribute(s)),e.addEventListener(i,l,f);break t}s in e?e[s]=l:l===!0?e.setAttribute(s,""):Fl(e,s,l)}}}function fe(e,i,s){switch(i){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":ft("error",e),ft("load",e);var l=!1,f=!1,h;for(h in s)if(s.hasOwnProperty(h)){var g=s[h];if(g!=null)switch(h){case"src":l=!0;break;case"srcSet":f=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(o(137,i));default:At(e,i,h,g,s,null)}}f&&At(e,i,"srcSet",s.srcSet,s,null),l&&At(e,i,"src",s.src,s,null);return;case"input":ft("invalid",e);var b=h=g=f=null,T=null,z=null;for(l in s)if(s.hasOwnProperty(l)){var k=s[l];if(k!=null)switch(l){case"name":f=k;break;case"type":g=k;break;case"checked":T=k;break;case"defaultChecked":z=k;break;case"value":h=k;break;case"defaultValue":b=k;break;case"children":case"dangerouslySetInnerHTML":if(k!=null)throw Error(o(137,i));break;default:At(e,i,l,k,s,null)}}Zv(e,h,b,T,z,g,f,!1);return;case"select":ft("invalid",e),l=g=h=null;for(f in s)if(s.hasOwnProperty(f)&&(b=s[f],b!=null))switch(f){case"value":h=b;break;case"defaultValue":g=b;break;case"multiple":l=b;default:At(e,i,f,b,s,null)}i=h,s=g,e.multiple=!!l,i!=null?sa(e,!!l,i,!1):s!=null&&sa(e,!!l,s,!0);return;case"textarea":ft("invalid",e),h=f=l=null;for(g in s)if(s.hasOwnProperty(g)&&(b=s[g],b!=null))switch(g){case"value":l=b;break;case"defaultValue":f=b;break;case"children":h=b;break;case"dangerouslySetInnerHTML":if(b!=null)throw Error(o(91));break;default:At(e,i,g,b,s,null)}Fv(e,l,f,h);return;case"option":for(T in s)if(s.hasOwnProperty(T)&&(l=s[T],l!=null))switch(T){case"selected":e.selected=l&&typeof l!="function"&&typeof l!="symbol";break;default:At(e,i,T,l,s,null)}return;case"dialog":ft("beforetoggle",e),ft("toggle",e),ft("cancel",e),ft("close",e);break;case"iframe":case"object":ft("load",e);break;case"video":case"audio":for(l=0;l<Zo.length;l++)ft(Zo[l],e);break;case"image":ft("error",e),ft("load",e);break;case"details":ft("toggle",e);break;case"embed":case"source":case"link":ft("error",e),ft("load",e);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(z in s)if(s.hasOwnProperty(z)&&(l=s[z],l!=null))switch(z){case"children":case"dangerouslySetInnerHTML":throw Error(o(137,i));default:At(e,i,z,l,s,null)}return;default:if(Vf(i)){for(k in s)s.hasOwnProperty(k)&&(l=s[k],l!==void 0&&bd(e,i,k,l,s,void 0));return}}for(b in s)s.hasOwnProperty(b)&&(l=s[b],l!=null&&At(e,i,b,l,s,null))}function a3(e,i,s,l){switch(i){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var f=null,h=null,g=null,b=null,T=null,z=null,k=null;for(V in s){var q=s[V];if(s.hasOwnProperty(V)&&q!=null)switch(V){case"checked":break;case"value":break;case"defaultValue":T=q;default:l.hasOwnProperty(V)||At(e,i,V,null,l,q)}}for(var O in l){var V=l[O];if(q=s[O],l.hasOwnProperty(O)&&(V!=null||q!=null))switch(O){case"type":h=V;break;case"name":f=V;break;case"checked":z=V;break;case"defaultChecked":k=V;break;case"value":g=V;break;case"defaultValue":b=V;break;case"children":case"dangerouslySetInnerHTML":if(V!=null)throw Error(o(137,i));break;default:V!==q&&At(e,i,O,V,l,q)}}Of(e,g,b,T,z,k,h,f);return;case"select":V=g=b=O=null;for(h in s)if(T=s[h],s.hasOwnProperty(h)&&T!=null)switch(h){case"value":break;case"multiple":V=T;default:l.hasOwnProperty(h)||At(e,i,h,null,l,T)}for(f in l)if(h=l[f],T=s[f],l.hasOwnProperty(f)&&(h!=null||T!=null))switch(f){case"value":O=h;break;case"defaultValue":b=h;break;case"multiple":g=h;default:h!==T&&At(e,i,f,h,l,T)}i=b,s=g,l=V,O!=null?sa(e,!!s,O,!1):!!l!=!!s&&(i!=null?sa(e,!!s,i,!0):sa(e,!!s,s?[]:"",!1));return;case"textarea":V=O=null;for(b in s)if(f=s[b],s.hasOwnProperty(b)&&f!=null&&!l.hasOwnProperty(b))switch(b){case"value":break;case"children":break;default:At(e,i,b,null,l,f)}for(g in l)if(f=l[g],h=s[g],l.hasOwnProperty(g)&&(f!=null||h!=null))switch(g){case"value":O=f;break;case"defaultValue":V=f;break;case"children":break;case"dangerouslySetInnerHTML":if(f!=null)throw Error(o(91));break;default:f!==h&&At(e,i,g,f,l,h)}Kv(e,O,V);return;case"option":for(var J in s)if(O=s[J],s.hasOwnProperty(J)&&O!=null&&!l.hasOwnProperty(J))switch(J){case"selected":e.selected=!1;break;default:At(e,i,J,null,l,O)}for(T in l)if(O=l[T],V=s[T],l.hasOwnProperty(T)&&O!==V&&(O!=null||V!=null))switch(T){case"selected":e.selected=O&&typeof O!="function"&&typeof O!="symbol";break;default:At(e,i,T,O,l,V)}return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var nt in s)O=s[nt],s.hasOwnProperty(nt)&&O!=null&&!l.hasOwnProperty(nt)&&At(e,i,nt,null,l,O);for(z in l)if(O=l[z],V=s[z],l.hasOwnProperty(z)&&O!==V&&(O!=null||V!=null))switch(z){case"children":case"dangerouslySetInnerHTML":if(O!=null)throw Error(o(137,i));break;default:At(e,i,z,O,l,V)}return;default:if(Vf(i)){for(var Dt in s)O=s[Dt],s.hasOwnProperty(Dt)&&O!==void 0&&!l.hasOwnProperty(Dt)&&bd(e,i,Dt,void 0,l,O);for(k in l)O=l[k],V=s[k],!l.hasOwnProperty(k)||O===V||O===void 0&&V===void 0||bd(e,i,k,O,l,V);return}}for(var E in s)O=s[E],s.hasOwnProperty(E)&&O!=null&&!l.hasOwnProperty(E)&&At(e,i,E,null,l,O);for(q in l)O=l[q],V=s[q],!l.hasOwnProperty(q)||O===V||O==null&&V==null||At(e,i,q,O,l,V)}function IS(e){switch(e){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function o3(){if(typeof performance.getEntriesByType=="function"){for(var e=0,i=0,s=performance.getEntriesByType("resource"),l=0;l<s.length;l++){var f=s[l],h=f.transferSize,g=f.initiatorType,b=f.duration;if(h&&b&&IS(g)){for(g=0,b=f.responseEnd,l+=1;l<s.length;l++){var T=s[l],z=T.startTime;if(z>b)break;var k=T.transferSize,q=T.initiatorType;k&&IS(q)&&(T=T.responseEnd,g+=k*(T<b?1:(b-z)/(T-z)))}if(--l,i+=8*(h+g)/(f.duration/1e3),e++,10<e)break}}if(0<e)return i/e/1e6}return navigator.connection&&(e=navigator.connection.downlink,typeof e=="number")?e:5}var Sd=null,xd=null;function Zr(e){return e.nodeType===9?e:e.ownerDocument}function WS(e){switch(e){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function tx(e,i){if(e===0)switch(i){case"svg":return 1;case"math":return 2;default:return 0}return e===1&&i==="foreignObject"?0:e}function Td(e,i){return e==="textarea"||e==="noscript"||typeof i.children=="string"||typeof i.children=="number"||typeof i.children=="bigint"||typeof i.dangerouslySetInnerHTML=="object"&&i.dangerouslySetInnerHTML!==null&&i.dangerouslySetInnerHTML.__html!=null}var wd=null;function l3(){var e=window.event;return e&&e.type==="popstate"?e===wd?!1:(wd=e,!0):(wd=null,!1)}var ex=typeof setTimeout=="function"?setTimeout:void 0,r3=typeof clearTimeout=="function"?clearTimeout:void 0,ix=typeof Promise=="function"?Promise:void 0,u3=typeof queueMicrotask=="function"?queueMicrotask:typeof ix<"u"?function(e){return ix.resolve(null).then(e).catch(c3)}:ex;function c3(e){setTimeout(function(){throw e})}function kn(e){return e==="head"}function nx(e,i){var s=i,l=0;do{var f=s.nextSibling;if(e.removeChild(s),f&&f.nodeType===8)if(s=f.data,s==="/$"||s==="/&"){if(l===0){e.removeChild(f),ka(i);return}l--}else if(s==="$"||s==="$?"||s==="$~"||s==="$!"||s==="&")l++;else if(s==="html")Fo(e.ownerDocument.documentElement);else if(s==="head"){s=e.ownerDocument.head,Fo(s);for(var h=s.firstChild;h;){var g=h.nextSibling,b=h.nodeName;h[ho]||b==="SCRIPT"||b==="STYLE"||b==="LINK"&&h.rel.toLowerCase()==="stylesheet"||s.removeChild(h),h=g}}else s==="body"&&Fo(e.ownerDocument.body);s=f}while(s);ka(i)}function sx(e,i){var s=e;e=0;do{var l=s.nextSibling;if(s.nodeType===1?i?(s._stashedDisplay=s.style.display,s.style.display="none"):(s.style.display=s._stashedDisplay||"",s.getAttribute("style")===""&&s.removeAttribute("style")):s.nodeType===3&&(i?(s._stashedText=s.nodeValue,s.nodeValue=""):s.nodeValue=s._stashedText||""),l&&l.nodeType===8)if(s=l.data,s==="/$"){if(e===0)break;e--}else s!=="$"&&s!=="$?"&&s!=="$~"&&s!=="$!"||e++;s=l}while(s)}function Md(e){var i=e.firstChild;for(i&&i.nodeType===10&&(i=i.nextSibling);i;){var s=i;switch(i=i.nextSibling,s.nodeName){case"HTML":case"HEAD":case"BODY":Md(s),Df(s);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(s.rel.toLowerCase()==="stylesheet")continue}e.removeChild(s)}}function f3(e,i,s,l){for(;e.nodeType===1;){var f=s;if(e.nodeName.toLowerCase()!==i.toLowerCase()){if(!l&&(e.nodeName!=="INPUT"||e.type!=="hidden"))break}else if(l){if(!e[ho])switch(i){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if(h=e.getAttribute("rel"),h==="stylesheet"&&e.hasAttribute("data-precedence"))break;if(h!==f.rel||e.getAttribute("href")!==(f.href==null||f.href===""?null:f.href)||e.getAttribute("crossorigin")!==(f.crossOrigin==null?null:f.crossOrigin)||e.getAttribute("title")!==(f.title==null?null:f.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(h=e.getAttribute("src"),(h!==(f.src==null?null:f.src)||e.getAttribute("type")!==(f.type==null?null:f.type)||e.getAttribute("crossorigin")!==(f.crossOrigin==null?null:f.crossOrigin))&&h&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else if(i==="input"&&e.type==="hidden"){var h=f.name==null?null:""+f.name;if(f.type==="hidden"&&e.getAttribute("name")===h)return e}else return e;if(e=hi(e.nextSibling),e===null)break}return null}function h3(e,i,s){if(i==="")return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!s||(e=hi(e.nextSibling),e===null))return null;return e}function ax(e,i){for(;e.nodeType!==8;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!i||(e=hi(e.nextSibling),e===null))return null;return e}function _d(e){return e.data==="$?"||e.data==="$~"}function Cd(e){return e.data==="$!"||e.data==="$?"&&e.ownerDocument.readyState!=="loading"}function d3(e,i){var s=e.ownerDocument;if(e.data==="$~")e._reactRetry=i;else if(e.data!=="$?"||s.readyState!=="loading")i();else{var l=function(){i(),s.removeEventListener("DOMContentLoaded",l)};s.addEventListener("DOMContentLoaded",l),e._reactRetry=l}}function hi(e){for(;e!=null;e=e.nextSibling){var i=e.nodeType;if(i===1||i===3)break;if(i===8){if(i=e.data,i==="$"||i==="$!"||i==="$?"||i==="$~"||i==="&"||i==="F!"||i==="F")break;if(i==="/$"||i==="/&")return null}}return e}var Ed=null;function ox(e){e=e.nextSibling;for(var i=0;e;){if(e.nodeType===8){var s=e.data;if(s==="/$"||s==="/&"){if(i===0)return hi(e.nextSibling);i--}else s!=="$"&&s!=="$!"&&s!=="$?"&&s!=="$~"&&s!=="&"||i++}e=e.nextSibling}return null}function lx(e){e=e.previousSibling;for(var i=0;e;){if(e.nodeType===8){var s=e.data;if(s==="$"||s==="$!"||s==="$?"||s==="$~"||s==="&"){if(i===0)return e;i--}else s!=="/$"&&s!=="/&"||i++}e=e.previousSibling}return null}function rx(e,i,s){switch(i=Zr(s),e){case"html":if(e=i.documentElement,!e)throw Error(o(452));return e;case"head":if(e=i.head,!e)throw Error(o(453));return e;case"body":if(e=i.body,!e)throw Error(o(454));return e;default:throw Error(o(451))}}function Fo(e){for(var i=e.attributes;i.length;)e.removeAttributeNode(i[0]);Df(e)}var di=new Map,ux=new Set;function Kr(e){return typeof e.getRootNode=="function"?e.getRootNode():e.nodeType===9?e:e.ownerDocument}var an=P.d;P.d={f:m3,r:p3,D:y3,C:g3,L:v3,m:b3,X:x3,S:S3,M:T3};function m3(){var e=an.f(),i=Hr();return e||i}function p3(e){var i=ea(e);i!==null&&i.tag===5&&i.type==="form"?Cb(i):an.r(e)}var Va=typeof document>"u"?null:document;function cx(e,i,s){var l=Va;if(l&&typeof i=="string"&&i){var f=ai(i);f='link[rel="'+e+'"][href="'+f+'"]',typeof s=="string"&&(f+='[crossorigin="'+s+'"]'),ux.has(f)||(ux.add(f),e={rel:e,crossOrigin:s,href:i},l.querySelector(f)===null&&(i=l.createElement("link"),fe(i,"link",e),ne(i),l.head.appendChild(i)))}}function y3(e){an.D(e),cx("dns-prefetch",e,null)}function g3(e,i){an.C(e,i),cx("preconnect",e,i)}function v3(e,i,s){an.L(e,i,s);var l=Va;if(l&&e&&i){var f='link[rel="preload"][as="'+ai(i)+'"]';i==="image"&&s&&s.imageSrcSet?(f+='[imagesrcset="'+ai(s.imageSrcSet)+'"]',typeof s.imageSizes=="string"&&(f+='[imagesizes="'+ai(s.imageSizes)+'"]')):f+='[href="'+ai(e)+'"]';var h=f;switch(i){case"style":h=Ba(e);break;case"script":h=La(e)}di.has(h)||(e=v({rel:"preload",href:i==="image"&&s&&s.imageSrcSet?void 0:e,as:i},s),di.set(h,e),l.querySelector(f)!==null||i==="style"&&l.querySelector(Jo(h))||i==="script"&&l.querySelector($o(h))||(i=l.createElement("link"),fe(i,"link",e),ne(i),l.head.appendChild(i)))}}function b3(e,i){an.m(e,i);var s=Va;if(s&&e){var l=i&&typeof i.as=="string"?i.as:"script",f='link[rel="modulepreload"][as="'+ai(l)+'"][href="'+ai(e)+'"]',h=f;switch(l){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":h=La(e)}if(!di.has(h)&&(e=v({rel:"modulepreload",href:e},i),di.set(h,e),s.querySelector(f)===null)){switch(l){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(s.querySelector($o(h)))return}l=s.createElement("link"),fe(l,"link",e),ne(l),s.head.appendChild(l)}}}function S3(e,i,s){an.S(e,i,s);var l=Va;if(l&&e){var f=ia(l).hoistableStyles,h=Ba(e);i=i||"default";var g=f.get(h);if(!g){var b={loading:0,preload:null};if(g=l.querySelector(Jo(h)))b.loading=5;else{e=v({rel:"stylesheet",href:e,"data-precedence":i},s),(s=di.get(h))&&Ad(e,s);var T=g=l.createElement("link");ne(T),fe(T,"link",e),T._p=new Promise(function(z,k){T.onload=z,T.onerror=k}),T.addEventListener("load",function(){b.loading|=1}),T.addEventListener("error",function(){b.loading|=2}),b.loading|=4,Fr(g,i,l)}g={type:"stylesheet",instance:g,count:1,state:b},f.set(h,g)}}}function x3(e,i){an.X(e,i);var s=Va;if(s&&e){var l=ia(s).hoistableScripts,f=La(e),h=l.get(f);h||(h=s.querySelector($o(f)),h||(e=v({src:e,async:!0},i),(i=di.get(f))&&Dd(e,i),h=s.createElement("script"),ne(h),fe(h,"link",e),s.head.appendChild(h)),h={type:"script",instance:h,count:1,state:null},l.set(f,h))}}function T3(e,i){an.M(e,i);var s=Va;if(s&&e){var l=ia(s).hoistableScripts,f=La(e),h=l.get(f);h||(h=s.querySelector($o(f)),h||(e=v({src:e,async:!0,type:"module"},i),(i=di.get(f))&&Dd(e,i),h=s.createElement("script"),ne(h),fe(h,"link",e),s.head.appendChild(h)),h={type:"script",instance:h,count:1,state:null},l.set(f,h))}}function fx(e,i,s,l){var f=(f=ut.current)?Kr(f):null;if(!f)throw Error(o(446));switch(e){case"meta":case"title":return null;case"style":return typeof s.precedence=="string"&&typeof s.href=="string"?(i=Ba(s.href),s=ia(f).hoistableStyles,l=s.get(i),l||(l={type:"style",instance:null,count:0,state:null},s.set(i,l)),l):{type:"void",instance:null,count:0,state:null};case"link":if(s.rel==="stylesheet"&&typeof s.href=="string"&&typeof s.precedence=="string"){e=Ba(s.href);var h=ia(f).hoistableStyles,g=h.get(e);if(g||(f=f.ownerDocument||f,g={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},h.set(e,g),(h=f.querySelector(Jo(e)))&&!h._p&&(g.instance=h,g.state.loading=5),di.has(e)||(s={rel:"preload",as:"style",href:s.href,crossOrigin:s.crossOrigin,integrity:s.integrity,media:s.media,hrefLang:s.hrefLang,referrerPolicy:s.referrerPolicy},di.set(e,s),h||w3(f,e,s,g.state))),i&&l===null)throw Error(o(528,""));return g}if(i&&l!==null)throw Error(o(529,""));return null;case"script":return i=s.async,s=s.src,typeof s=="string"&&i&&typeof i!="function"&&typeof i!="symbol"?(i=La(s),s=ia(f).hoistableScripts,l=s.get(i),l||(l={type:"script",instance:null,count:0,state:null},s.set(i,l)),l):{type:"void",instance:null,count:0,state:null};default:throw Error(o(444,e))}}function Ba(e){return'href="'+ai(e)+'"'}function Jo(e){return'link[rel="stylesheet"]['+e+"]"}function hx(e){return v({},e,{"data-precedence":e.precedence,precedence:null})}function w3(e,i,s,l){e.querySelector('link[rel="preload"][as="style"]['+i+"]")?l.loading=1:(i=e.createElement("link"),l.preload=i,i.addEventListener("load",function(){return l.loading|=1}),i.addEventListener("error",function(){return l.loading|=2}),fe(i,"link",s),ne(i),e.head.appendChild(i))}function La(e){return'[src="'+ai(e)+'"]'}function $o(e){return"script[async]"+e}function dx(e,i,s){if(i.count++,i.instance===null)switch(i.type){case"style":var l=e.querySelector('style[data-href~="'+ai(s.href)+'"]');if(l)return i.instance=l,ne(l),l;var f=v({},s,{"data-href":s.href,"data-precedence":s.precedence,href:null,precedence:null});return l=(e.ownerDocument||e).createElement("style"),ne(l),fe(l,"style",f),Fr(l,s.precedence,e),i.instance=l;case"stylesheet":f=Ba(s.href);var h=e.querySelector(Jo(f));if(h)return i.state.loading|=4,i.instance=h,ne(h),h;l=hx(s),(f=di.get(f))&&Ad(l,f),h=(e.ownerDocument||e).createElement("link"),ne(h);var g=h;return g._p=new Promise(function(b,T){g.onload=b,g.onerror=T}),fe(h,"link",l),i.state.loading|=4,Fr(h,s.precedence,e),i.instance=h;case"script":return h=La(s.src),(f=e.querySelector($o(h)))?(i.instance=f,ne(f),f):(l=s,(f=di.get(h))&&(l=v({},s),Dd(l,f)),e=e.ownerDocument||e,f=e.createElement("script"),ne(f),fe(f,"link",l),e.head.appendChild(f),i.instance=f);case"void":return null;default:throw Error(o(443,i.type))}else i.type==="stylesheet"&&(i.state.loading&4)===0&&(l=i.instance,i.state.loading|=4,Fr(l,s.precedence,e));return i.instance}function Fr(e,i,s){for(var l=s.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),f=l.length?l[l.length-1]:null,h=f,g=0;g<l.length;g++){var b=l[g];if(b.dataset.precedence===i)h=b;else if(h!==f)break}h?h.parentNode.insertBefore(e,h.nextSibling):(i=s.nodeType===9?s.head:s,i.insertBefore(e,i.firstChild))}function Ad(e,i){e.crossOrigin==null&&(e.crossOrigin=i.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=i.referrerPolicy),e.title==null&&(e.title=i.title)}function Dd(e,i){e.crossOrigin==null&&(e.crossOrigin=i.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=i.referrerPolicy),e.integrity==null&&(e.integrity=i.integrity)}var Jr=null;function mx(e,i,s){if(Jr===null){var l=new Map,f=Jr=new Map;f.set(s,l)}else f=Jr,l=f.get(s),l||(l=new Map,f.set(s,l));if(l.has(e))return l;for(l.set(e,null),s=s.getElementsByTagName(e),f=0;f<s.length;f++){var h=s[f];if(!(h[ho]||h[le]||e==="link"&&h.getAttribute("rel")==="stylesheet")&&h.namespaceURI!=="http://www.w3.org/2000/svg"){var g=h.getAttribute(i)||"";g=e+g;var b=l.get(g);b?b.push(h):l.set(g,[h])}}return l}function px(e,i,s){e=e.ownerDocument||e,e.head.insertBefore(s,i==="title"?e.querySelector("head > title"):null)}function M3(e,i,s){if(s===1||i.itemProp!=null)return!1;switch(e){case"meta":case"title":return!0;case"style":if(typeof i.precedence!="string"||typeof i.href!="string"||i.href==="")break;return!0;case"link":if(typeof i.rel!="string"||typeof i.href!="string"||i.href===""||i.onLoad||i.onError)break;switch(i.rel){case"stylesheet":return e=i.disabled,typeof i.precedence=="string"&&e==null;default:return!0}case"script":if(i.async&&typeof i.async!="function"&&typeof i.async!="symbol"&&!i.onLoad&&!i.onError&&i.src&&typeof i.src=="string")return!0}return!1}function yx(e){return!(e.type==="stylesheet"&&(e.state.loading&3)===0)}function _3(e,i,s,l){if(s.type==="stylesheet"&&(typeof l.media!="string"||matchMedia(l.media).matches!==!1)&&(s.state.loading&4)===0){if(s.instance===null){var f=Ba(l.href),h=i.querySelector(Jo(f));if(h){i=h._p,i!==null&&typeof i=="object"&&typeof i.then=="function"&&(e.count++,e=$r.bind(e),i.then(e,e)),s.state.loading|=4,s.instance=h,ne(h);return}h=i.ownerDocument||i,l=hx(l),(f=di.get(f))&&Ad(l,f),h=h.createElement("link"),ne(h);var g=h;g._p=new Promise(function(b,T){g.onload=b,g.onerror=T}),fe(h,"link",l),s.instance=h}e.stylesheets===null&&(e.stylesheets=new Map),e.stylesheets.set(s,i),(i=s.state.preload)&&(s.state.loading&3)===0&&(e.count++,s=$r.bind(e),i.addEventListener("load",s),i.addEventListener("error",s))}}var zd=0;function C3(e,i){return e.stylesheets&&e.count===0&&Wr(e,e.stylesheets),0<e.count||0<e.imgCount?function(s){var l=setTimeout(function(){if(e.stylesheets&&Wr(e,e.stylesheets),e.unsuspend){var h=e.unsuspend;e.unsuspend=null,h()}},6e4+i);0<e.imgBytes&&zd===0&&(zd=62500*o3());var f=setTimeout(function(){if(e.waitingForImages=!1,e.count===0&&(e.stylesheets&&Wr(e,e.stylesheets),e.unsuspend)){var h=e.unsuspend;e.unsuspend=null,h()}},(e.imgBytes>zd?50:800)+i);return e.unsuspend=s,function(){e.unsuspend=null,clearTimeout(l),clearTimeout(f)}}:null}function $r(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)Wr(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}var Ir=null;function Wr(e,i){e.stylesheets=null,e.unsuspend!==null&&(e.count++,Ir=new Map,i.forEach(E3,e),Ir=null,$r.call(e))}function E3(e,i){if(!(i.state.loading&4)){var s=Ir.get(e);if(s)var l=s.get(null);else{s=new Map,Ir.set(e,s);for(var f=e.querySelectorAll("link[data-precedence],style[data-precedence]"),h=0;h<f.length;h++){var g=f[h];(g.nodeName==="LINK"||g.getAttribute("media")!=="not all")&&(s.set(g.dataset.precedence,g),l=g)}l&&s.set(null,l)}f=i.instance,g=f.getAttribute("data-precedence"),h=s.get(g)||l,h===l&&s.set(null,f),s.set(g,f),this.count++,l=$r.bind(this),f.addEventListener("load",l),f.addEventListener("error",l),h?h.parentNode.insertBefore(f,h.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(f,e.firstChild)),i.state.loading|=4}}var Io={$$typeof:B,Provider:null,Consumer:null,_currentValue:W,_currentValue2:W,_threadCount:0};function A3(e,i,s,l,f,h,g,b,T){this.tag=1,this.containerInfo=e,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=_f(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=_f(0),this.hiddenUpdates=_f(null),this.identifierPrefix=l,this.onUncaughtError=f,this.onCaughtError=h,this.onRecoverableError=g,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=T,this.incompleteTransitions=new Map}function gx(e,i,s,l,f,h,g,b,T,z,k,q){return e=new A3(e,i,s,g,T,z,k,q,b),i=1,h===!0&&(i|=24),h=Xe(3,null,null,i),e.current=h,h.stateNode=e,i=uh(),i.refCount++,e.pooledCache=i,i.refCount++,h.memoizedState={element:l,isDehydrated:s,cache:i},dh(h),e}function vx(e){return e?(e=ha,e):ha}function bx(e,i,s,l,f,h){f=vx(f),l.context===null?l.context=f:l.pendingContext=f,l=_n(i),l.payload={element:s},h=h===void 0?null:h,h!==null&&(l.callback=h),s=Cn(e,l,i),s!==null&&(Le(s,e,i),zo(s,e,i))}function Sx(e,i){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var s=e.retryLane;e.retryLane=s!==0&&s<i?s:i}}function Od(e,i){Sx(e,i),(e=e.alternate)&&Sx(e,i)}function xx(e){if(e.tag===13||e.tag===31){var i=ps(e,67108864);i!==null&&Le(i,e,67108864),Od(e,67108864)}}function Tx(e){if(e.tag===13||e.tag===31){var i=Je();i=Cf(i);var s=ps(e,i);s!==null&&Le(s,e,i),Od(e,i)}}var tu=!0;function D3(e,i,s,l){var f=U.T;U.T=null;var h=P.p;try{P.p=2,Rd(e,i,s,l)}finally{P.p=h,U.T=f}}function z3(e,i,s,l){var f=U.T;U.T=null;var h=P.p;try{P.p=8,Rd(e,i,s,l)}finally{P.p=h,U.T=f}}function Rd(e,i,s,l){if(tu){var f=Vd(l);if(f===null)vd(e,i,l,eu,s),Mx(e,l);else if(R3(f,e,i,s,l))l.stopPropagation();else if(Mx(e,l),i&4&&-1<O3.indexOf(e)){for(;f!==null;){var h=ea(f);if(h!==null)switch(h.tag){case 3:if(h=h.stateNode,h.current.memoizedState.isDehydrated){var g=cs(h.pendingLanes);if(g!==0){var b=h;for(b.pendingLanes|=2,b.entangledLanes|=2;g;){var T=1<<31-Ye(g);b.entanglements[1]|=T,g&=~T}Li(h),(Tt&6)===0&&(Ur=je()+500,Qo(0))}}break;case 31:case 13:b=ps(h,2),b!==null&&Le(b,h,2),Hr(),Od(h,2)}if(h=Vd(l),h===null&&vd(e,i,l,eu,s),h===f)break;f=h}f!==null&&l.stopPropagation()}else vd(e,i,l,null,s)}}function Vd(e){return e=Lf(e),Bd(e)}var eu=null;function Bd(e){if(eu=null,e=ta(e),e!==null){var i=u(e);if(i===null)e=null;else{var s=i.tag;if(s===13){if(e=c(i),e!==null)return e;e=null}else if(s===31){if(e=d(i),e!==null)return e;e=null}else if(s===3){if(i.stateNode.current.memoizedState.isDehydrated)return i.tag===3?i.stateNode.containerInfo:null;e=null}else i!==e&&(e=null)}}return eu=e,null}function wx(e){switch(e){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 2;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(y2()){case Ov:return 2;case Rv:return 8;case Gl:case g2:return 32;case Vv:return 268435456;default:return 32}default:return 32}}var Ld=!1,Un=null,Nn=null,Hn=null,Wo=new Map,tl=new Map,qn=[],O3="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(" ");function Mx(e,i){switch(e){case"focusin":case"focusout":Un=null;break;case"dragenter":case"dragleave":Nn=null;break;case"mouseover":case"mouseout":Hn=null;break;case"pointerover":case"pointerout":Wo.delete(i.pointerId);break;case"gotpointercapture":case"lostpointercapture":tl.delete(i.pointerId)}}function el(e,i,s,l,f,h){return e===null||e.nativeEvent!==h?(e={blockedOn:i,domEventName:s,eventSystemFlags:l,nativeEvent:h,targetContainers:[f]},i!==null&&(i=ea(i),i!==null&&xx(i)),e):(e.eventSystemFlags|=l,i=e.targetContainers,f!==null&&i.indexOf(f)===-1&&i.push(f),e)}function R3(e,i,s,l,f){switch(i){case"focusin":return Un=el(Un,e,i,s,l,f),!0;case"dragenter":return Nn=el(Nn,e,i,s,l,f),!0;case"mouseover":return Hn=el(Hn,e,i,s,l,f),!0;case"pointerover":var h=f.pointerId;return Wo.set(h,el(Wo.get(h)||null,e,i,s,l,f)),!0;case"gotpointercapture":return h=f.pointerId,tl.set(h,el(tl.get(h)||null,e,i,s,l,f)),!0}return!1}function _x(e){var i=ta(e.target);if(i!==null){var s=u(i);if(s!==null){if(i=s.tag,i===13){if(i=c(s),i!==null){e.blockedOn=i,Hv(e.priority,function(){Tx(s)});return}}else if(i===31){if(i=d(s),i!==null){e.blockedOn=i,Hv(e.priority,function(){Tx(s)});return}}else if(i===3&&s.stateNode.current.memoizedState.isDehydrated){e.blockedOn=s.tag===3?s.stateNode.containerInfo:null;return}}}e.blockedOn=null}function iu(e){if(e.blockedOn!==null)return!1;for(var i=e.targetContainers;0<i.length;){var s=Vd(e.nativeEvent);if(s===null){s=e.nativeEvent;var l=new s.constructor(s.type,s);Bf=l,s.target.dispatchEvent(l),Bf=null}else return i=ea(s),i!==null&&xx(i),e.blockedOn=s,!1;i.shift()}return!0}function Cx(e,i,s){iu(e)&&s.delete(i)}function V3(){Ld=!1,Un!==null&&iu(Un)&&(Un=null),Nn!==null&&iu(Nn)&&(Nn=null),Hn!==null&&iu(Hn)&&(Hn=null),Wo.forEach(Cx),tl.forEach(Cx)}function nu(e,i){e.blockedOn===i&&(e.blockedOn=null,Ld||(Ld=!0,n.unstable_scheduleCallback(n.unstable_NormalPriority,V3)))}var su=null;function Ex(e){su!==e&&(su=e,n.unstable_scheduleCallback(n.unstable_NormalPriority,function(){su===e&&(su=null);for(var i=0;i<e.length;i+=3){var s=e[i],l=e[i+1],f=e[i+2];if(typeof l!="function"){if(Bd(l||s)===null)continue;break}var h=ea(s);h!==null&&(e.splice(i,3),i-=3,Vh(h,{pending:!0,data:f,method:s.method,action:l},l,f))}}))}function ka(e){function i(T){return nu(T,e)}Un!==null&&nu(Un,e),Nn!==null&&nu(Nn,e),Hn!==null&&nu(Hn,e),Wo.forEach(i),tl.forEach(i);for(var s=0;s<qn.length;s++){var l=qn[s];l.blockedOn===e&&(l.blockedOn=null)}for(;0<qn.length&&(s=qn[0],s.blockedOn===null);)_x(s),s.blockedOn===null&&qn.shift();if(s=(e.ownerDocument||e).$$reactFormReplay,s!=null)for(l=0;l<s.length;l+=3){var f=s[l],h=s[l+1],g=f[De]||null;if(typeof h=="function")g||Ex(s);else if(g){var b=null;if(h&&h.hasAttribute("formAction")){if(f=h,g=h[De]||null)b=g.formAction;else if(Bd(f)!==null)continue}else b=g.action;typeof b=="function"?s[l+1]=b:(s.splice(l,3),l-=3),Ex(s)}}}function Ax(){function e(h){h.canIntercept&&h.info==="react-transition"&&h.intercept({handler:function(){return new Promise(function(g){return f=g})},focusReset:"manual",scroll:"manual"})}function i(){f!==null&&(f(),f=null),l||setTimeout(s,20)}function s(){if(!l&&!navigation.transition){var h=navigation.currentEntry;h&&h.url!=null&&navigation.navigate(h.url,{state:h.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var l=!1,f=null;return navigation.addEventListener("navigate",e),navigation.addEventListener("navigatesuccess",i),navigation.addEventListener("navigateerror",i),setTimeout(s,100),function(){l=!0,navigation.removeEventListener("navigate",e),navigation.removeEventListener("navigatesuccess",i),navigation.removeEventListener("navigateerror",i),f!==null&&(f(),f=null)}}}function kd(e){this._internalRoot=e}au.prototype.render=kd.prototype.render=function(e){var i=this._internalRoot;if(i===null)throw Error(o(409));var s=i.current,l=Je();bx(s,l,e,i,null,null)},au.prototype.unmount=kd.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var i=e.containerInfo;bx(e.current,2,null,e,null,null),Hr(),i[Ws]=null}};function au(e){this._internalRoot=e}au.prototype.unstable_scheduleHydration=function(e){if(e){var i=Nv();e={blockedOn:null,target:e,priority:i};for(var s=0;s<qn.length&&i!==0&&i<qn[s].priority;s++);qn.splice(s,0,e),s===0&&_x(e)}};var Dx=t.version;if(Dx!=="19.2.3")throw Error(o(527,Dx,"19.2.3"));P.findDOMNode=function(e){var i=e._reactInternals;if(i===void 0)throw typeof e.render=="function"?Error(o(188)):(e=Object.keys(e).join(","),Error(o(268,e)));return e=p(i),e=e!==null?y(e):null,e=e===null?null:e.stateNode,e};var B3={bundleType:0,version:"19.2.3",rendererPackageName:"react-dom",currentDispatcherRef:U,reconcilerVersion:"19.2.3"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var ou=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!ou.isDisabled&&ou.supportsFiber)try{uo=ou.inject(B3),Pe=ou}catch{}}return Ua.createRoot=function(e,i){if(!r(e))throw Error(o(299));var s=!1,l="",f=kb,h=Ub,g=Nb;return i!=null&&(i.unstable_strictMode===!0&&(s=!0),i.identifierPrefix!==void 0&&(l=i.identifierPrefix),i.onUncaughtError!==void 0&&(f=i.onUncaughtError),i.onCaughtError!==void 0&&(h=i.onCaughtError),i.onRecoverableError!==void 0&&(g=i.onRecoverableError)),i=gx(e,1,!1,null,null,s,l,null,f,h,g,Ax),e[Ws]=i.current,gd(e),new kd(i)},Ua.hydrateRoot=function(e,i,s){if(!r(e))throw Error(o(299));var l=!1,f="",h=kb,g=Ub,b=Nb,T=null;return s!=null&&(s.unstable_strictMode===!0&&(l=!0),s.identifierPrefix!==void 0&&(f=s.identifierPrefix),s.onUncaughtError!==void 0&&(h=s.onUncaughtError),s.onCaughtError!==void 0&&(g=s.onCaughtError),s.onRecoverableError!==void 0&&(b=s.onRecoverableError),s.formState!==void 0&&(T=s.formState)),i=gx(e,1,!0,i,s??null,l,f,T,h,g,b,Ax),i.context=vx(null),s=i.current,l=Je(),l=Cf(l),f=_n(l),f.callback=null,Cn(s,f,l),s=l,i.current.lanes=s,fo(i,s),Li(i),e[Ws]=i.current,gd(e),new au(i)},Ua.version="19.2.3",Ua}var Gd;function Nx(){if(Gd)return uu.exports;Gd=1;function n(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(n)}catch(t){console.error(t)}}return n(),uu.exports=Ux(),uu.exports}var Hx=Nx(),du={exports:{}},Na={};var Xd;function qx(){if(Xd)return Na;Xd=1;var n=Symbol.for("react.transitional.element"),t=Symbol.for("react.fragment");function a(o,r,u){var c=null;if(u!==void 0&&(c=""+u),r.key!==void 0&&(c=""+r.key),"key"in r){u={};for(var d in r)d!=="key"&&(u[d]=r[d])}else u=r;return r=u.ref,{$$typeof:n,type:o,key:c,ref:r!==void 0?r:null,props:u}}return Na.Fragment=t,Na.jsx=a,Na.jsxs=a,Na}var Qd;function jx(){return Qd||(Qd=1,du.exports=qx()),du.exports}var _i=jx();const mu=F.createContext({});function il(n){const t=F.useRef(null);return t.current===null&&(t.current=n()),t.current}const Zd=typeof window<"u",pu=Zd?F.useLayoutEffect:F.useEffect,nl=F.createContext(null);function yu(n,t){n.indexOf(t)===-1&&n.push(t)}function gu(n,t){const a=n.indexOf(t);a>-1&&n.splice(a,1)}const Ci=(n,t,a)=>a>t?t:a<n?n:a;let vu=()=>{};const ki={},Kd=n=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(n);function Fd(n){return typeof n=="object"&&n!==null}const Jd=n=>/^0[^.\s]+$/u.test(n);function bu(n){let t;return()=>(t===void 0&&(t=n()),t)}const $e=n=>n,Px=(n,t)=>a=>t(n(a)),Ha=(...n)=>n.reduce(Px),qa=(n,t,a)=>{const o=t-n;return o===0?1:(a-n)/o};class Su{constructor(){this.subscriptions=[]}add(t){return yu(this.subscriptions,t),()=>gu(this.subscriptions,t)}notify(t,a,o){const r=this.subscriptions.length;if(r)if(r===1)this.subscriptions[0](t,a,o);else for(let u=0;u<r;u++){const c=this.subscriptions[u];c&&c(t,a,o)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const Ui=n=>n*1e3,Ie=n=>n/1e3;function $d(n,t){return t?n*(1e3/t):0}const Id=(n,t,a)=>(((1-3*a+3*t)*n+(3*a-6*t))*n+3*t)*n,Yx=1e-7,Gx=12;function Xx(n,t,a,o,r){let u,c,d=0;do c=t+(a-t)/2,u=Id(c,o,r)-n,u>0?a=c:t=c;while(Math.abs(u)>Yx&&++d<Gx);return c}function ja(n,t,a,o){if(n===t&&a===o)return $e;const r=u=>Xx(u,0,1,n,a);return u=>u===0||u===1?u:Id(r(u),t,o)}const Wd=n=>t=>t<=.5?n(2*t)/2:(2-n(2*(1-t)))/2,tm=n=>t=>1-n(1-t),em=ja(.33,1.53,.69,.99),xu=tm(em),im=Wd(xu),nm=n=>(n*=2)<1?.5*xu(n):.5*(2-Math.pow(2,-10*(n-1))),Tu=n=>1-Math.sin(Math.acos(n)),sm=tm(Tu),am=Wd(Tu),Qx=ja(.42,0,1,1),Zx=ja(0,0,.58,1),om=ja(.42,0,.58,1),Kx=n=>Array.isArray(n)&&typeof n[0]!="number",lm=n=>Array.isArray(n)&&typeof n[0]=="number",Fx={linear:$e,easeIn:Qx,easeInOut:om,easeOut:Zx,circIn:Tu,circInOut:am,circOut:sm,backIn:xu,backInOut:im,backOut:em,anticipate:nm},Jx=n=>typeof n=="string",rm=n=>{if(lm(n)){vu(n.length===4);const[t,a,o,r]=n;return ja(t,a,o,r)}else if(Jx(n))return Fx[n];return n},sl=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function $x(n,t){let a=new Set,o=new Set,r=!1,u=!1;const c=new WeakSet;let d={delta:0,timestamp:0,isProcessing:!1};function m(y){c.has(y)&&(p.schedule(y),n()),y(d)}const p={schedule:(y,v=!1,S=!1)=>{const w=S&&r?a:o;return v&&c.add(y),w.has(y)||w.add(y),y},cancel:y=>{o.delete(y),c.delete(y)},process:y=>{if(d=y,r){u=!0;return}r=!0,[a,o]=[o,a],a.forEach(m),a.clear(),r=!1,u&&(u=!1,p.process(y))}};return p}const Ix=40;function um(n,t){let a=!1,o=!0;const r={delta:0,timestamp:0,isProcessing:!1},u=()=>a=!0,c=sl.reduce((B,H)=>(B[H]=$x(u),B),{}),{setup:d,read:m,resolveKeyframes:p,preUpdate:y,update:v,preRender:S,render:x,postRender:w}=c,C=()=>{const B=ki.useManualTiming?r.timestamp:performance.now();a=!1,ki.useManualTiming||(r.delta=o?1e3/60:Math.max(Math.min(B-r.timestamp,Ix),1)),r.timestamp=B,r.isProcessing=!0,d.process(r),m.process(r),p.process(r),y.process(r),v.process(r),S.process(r),x.process(r),w.process(r),r.isProcessing=!1,a&&t&&(o=!1,n(C))},A=()=>{a=!0,o=!0,r.isProcessing||n(C)};return{schedule:sl.reduce((B,H)=>{const Y=c[H];return B[H]=(K,G=!1,Q=!1)=>(a||A(),Y.schedule(K,G,Q)),B},{}),cancel:B=>{for(let H=0;H<sl.length;H++)c[sl[H]].cancel(B)},state:r,steps:c}}const{schedule:Ot,cancel:on,state:ae,steps:wu}=um(typeof requestAnimationFrame<"u"?requestAnimationFrame:$e,!0);let al;function Wx(){al=void 0}const Se={now:()=>(al===void 0&&Se.set(ae.isProcessing||ki.useManualTiming?ae.timestamp:performance.now()),al),set:n=>{al=n,queueMicrotask(Wx)}},cm=n=>t=>typeof t=="string"&&t.startsWith(n),fm=cm("--"),t1=cm("var(--"),Mu=n=>t1(n)?e1.test(n.split("/*")[0].trim()):!1,e1=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function hm(n){return typeof n!="string"?!1:n.split("/*")[0].includes("var(--")}const As={test:n=>typeof n=="number",parse:parseFloat,transform:n=>n},Pa={...As,transform:n=>Ci(0,1,n)},ol={...As,default:1},Ya=n=>Math.round(n*1e5)/1e5,_u=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function i1(n){return n==null}const n1=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,Cu=(n,t)=>a=>!!(typeof a=="string"&&n1.test(a)&&a.startsWith(n)||t&&!i1(a)&&Object.prototype.hasOwnProperty.call(a,t)),dm=(n,t,a)=>o=>{if(typeof o!="string")return o;const[r,u,c,d]=o.match(_u);return{[n]:parseFloat(r),[t]:parseFloat(u),[a]:parseFloat(c),alpha:d!==void 0?parseFloat(d):1}},s1=n=>Ci(0,255,n),Eu={...As,transform:n=>Math.round(s1(n))},Pn={test:Cu("rgb","red"),parse:dm("red","green","blue"),transform:({red:n,green:t,blue:a,alpha:o=1})=>"rgba("+Eu.transform(n)+", "+Eu.transform(t)+", "+Eu.transform(a)+", "+Ya(Pa.transform(o))+")"};function a1(n){let t="",a="",o="",r="";return n.length>5?(t=n.substring(1,3),a=n.substring(3,5),o=n.substring(5,7),r=n.substring(7,9)):(t=n.substring(1,2),a=n.substring(2,3),o=n.substring(3,4),r=n.substring(4,5),t+=t,a+=a,o+=o,r+=r),{red:parseInt(t,16),green:parseInt(a,16),blue:parseInt(o,16),alpha:r?parseInt(r,16)/255:1}}const Au={test:Cu("#"),parse:a1,transform:Pn.transform},Ga=n=>({test:t=>typeof t=="string"&&t.endsWith(n)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${n}`}),ln=Ga("deg"),Ei=Ga("%"),$=Ga("px"),o1=Ga("vh"),l1=Ga("vw"),mm={...Ei,parse:n=>Ei.parse(n)/100,transform:n=>Ei.transform(n*100)},Ds={test:Cu("hsl","hue"),parse:dm("hue","saturation","lightness"),transform:({hue:n,saturation:t,lightness:a,alpha:o=1})=>"hsla("+Math.round(n)+", "+Ei.transform(Ya(t))+", "+Ei.transform(Ya(a))+", "+Ya(Pa.transform(o))+")"},Qt={test:n=>Pn.test(n)||Au.test(n)||Ds.test(n),parse:n=>Pn.test(n)?Pn.parse(n):Ds.test(n)?Ds.parse(n):Au.parse(n),transform:n=>typeof n=="string"?n:n.hasOwnProperty("red")?Pn.transform(n):Ds.transform(n),getAnimatableNone:n=>{const t=Qt.parse(n);return t.alpha=0,Qt.transform(t)}},r1=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function u1(n){return isNaN(n)&&typeof n=="string"&&(n.match(_u)?.length||0)+(n.match(r1)?.length||0)>0}const pm="number",ym="color",c1="var",f1="var(",gm="${}",h1=/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 Xa(n){const t=n.toString(),a=[],o={color:[],number:[],var:[]},r=[];let u=0;const d=t.replace(h1,m=>(Qt.test(m)?(o.color.push(u),r.push(ym),a.push(Qt.parse(m))):m.startsWith(f1)?(o.var.push(u),r.push(c1),a.push(m)):(o.number.push(u),r.push(pm),a.push(parseFloat(m))),++u,gm)).split(gm);return{values:a,split:d,indexes:o,types:r}}function vm(n){return Xa(n).values}function bm(n){const{split:t,types:a}=Xa(n),o=t.length;return r=>{let u="";for(let c=0;c<o;c++)if(u+=t[c],r[c]!==void 0){const d=a[c];d===pm?u+=Ya(r[c]):d===ym?u+=Qt.transform(r[c]):u+=r[c]}return u}}const d1=n=>typeof n=="number"?0:Qt.test(n)?Qt.getAnimatableNone(n):n;function m1(n){const t=vm(n);return bm(n)(t.map(d1))}const rn={test:u1,parse:vm,createTransformer:bm,getAnimatableNone:m1};function Du(n,t,a){return a<0&&(a+=1),a>1&&(a-=1),a<1/6?n+(t-n)*6*a:a<1/2?t:a<2/3?n+(t-n)*(2/3-a)*6:n}function p1({hue:n,saturation:t,lightness:a,alpha:o}){n/=360,t/=100,a/=100;let r=0,u=0,c=0;if(!t)r=u=c=a;else{const d=a<.5?a*(1+t):a+t-a*t,m=2*a-d;r=Du(m,d,n+1/3),u=Du(m,d,n),c=Du(m,d,n-1/3)}return{red:Math.round(r*255),green:Math.round(u*255),blue:Math.round(c*255),alpha:o}}function ll(n,t){return a=>a>0?t:n}const Ut=(n,t,a)=>n+(t-n)*a,zu=(n,t,a)=>{const o=n*n,r=a*(t*t-o)+o;return r<0?0:Math.sqrt(r)},y1=[Au,Pn,Ds],g1=n=>y1.find(t=>t.test(n));function Sm(n){const t=g1(n);if(!t)return!1;let a=t.parse(n);return t===Ds&&(a=p1(a)),a}const xm=(n,t)=>{const a=Sm(n),o=Sm(t);if(!a||!o)return ll(n,t);const r={...a};return u=>(r.red=zu(a.red,o.red,u),r.green=zu(a.green,o.green,u),r.blue=zu(a.blue,o.blue,u),r.alpha=Ut(a.alpha,o.alpha,u),Pn.transform(r))},Ou=new Set(["none","hidden"]);function v1(n,t){return Ou.has(n)?a=>a<=0?n:t:a=>a>=1?t:n}function b1(n,t){return a=>Ut(n,t,a)}function Ru(n){return typeof n=="number"?b1:typeof n=="string"?Mu(n)?ll:Qt.test(n)?xm:T1:Array.isArray(n)?Tm:typeof n=="object"?Qt.test(n)?xm:S1:ll}function Tm(n,t){const a=[...n],o=a.length,r=n.map((u,c)=>Ru(u)(u,t[c]));return u=>{for(let c=0;c<o;c++)a[c]=r[c](u);return a}}function S1(n,t){const a={...n,...t},o={};for(const r in a)n[r]!==void 0&&t[r]!==void 0&&(o[r]=Ru(n[r])(n[r],t[r]));return r=>{for(const u in o)a[u]=o[u](r);return a}}function x1(n,t){const a=[],o={color:0,var:0,number:0};for(let r=0;r<t.values.length;r++){const u=t.types[r],c=n.indexes[u][o[u]],d=n.values[c]??0;a[r]=d,o[u]++}return a}const T1=(n,t)=>{const a=rn.createTransformer(t),o=Xa(n),r=Xa(t);return o.indexes.var.length===r.indexes.var.length&&o.indexes.color.length===r.indexes.color.length&&o.indexes.number.length>=r.indexes.number.length?Ou.has(n)&&!r.values.length||Ou.has(t)&&!o.values.length?v1(n,t):Ha(Tm(x1(o,r),r.values),a):ll(n,t)};function wm(n,t,a){return typeof n=="number"&&typeof t=="number"&&typeof a=="number"?Ut(n,t,a):Ru(n)(n,t)}const w1=n=>{const t=({timestamp:a})=>n(a);return{start:(a=!0)=>Ot.update(t,a),stop:()=>on(t),now:()=>ae.isProcessing?ae.timestamp:Se.now()}},Mm=(n,t,a=10)=>{let o="";const r=Math.max(Math.round(t/a),2);for(let u=0;u<r;u++)o+=Math.round(n(u/(r-1))*1e4)/1e4+", ";return`linear(${o.substring(0,o.length-2)})`},rl=2e4;function Vu(n){let t=0;const a=50;let o=n.next(t);for(;!o.done&&t<rl;)t+=a,o=n.next(t);return t>=rl?1/0:t}function M1(n,t=100,a){const o=a({...n,keyframes:[0,t]}),r=Math.min(Vu(o),rl);return{type:"keyframes",ease:u=>o.next(r*u).value/t,duration:Ie(r)}}const _1=5;function _m(n,t,a){const o=Math.max(t-_1,0);return $d(a-n(o),t-o)}const Nt={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1},Bu=.001;function C1({duration:n=Nt.duration,bounce:t=Nt.bounce,velocity:a=Nt.velocity,mass:o=Nt.mass}){let r,u,c=1-t;c=Ci(Nt.minDamping,Nt.maxDamping,c),n=Ci(Nt.minDuration,Nt.maxDuration,Ie(n)),c<1?(r=p=>{const y=p*c,v=y*n,S=y-a,x=Lu(p,c),w=Math.exp(-v);return Bu-S/x*w},u=p=>{const v=p*c*n,S=v*a+a,x=Math.pow(c,2)*Math.pow(p,2)*n,w=Math.exp(-v),C=Lu(Math.pow(p,2),c);return(-r(p)+Bu>0?-1:1)*((S-x)*w)/C}):(r=p=>{const y=Math.exp(-p*n),v=(p-a)*n+1;return-Bu+y*v},u=p=>{const y=Math.exp(-p*n),v=(a-p)*(n*n);return y*v});const d=5/n,m=A1(r,u,d);if(n=Ui(n),isNaN(m))return{stiffness:Nt.stiffness,damping:Nt.damping,duration:n};{const p=Math.pow(m,2)*o;return{stiffness:p,damping:c*2*Math.sqrt(o*p),duration:n}}}const E1=12;function A1(n,t,a){let o=a;for(let r=1;r<E1;r++)o=o-n(o)/t(o);return o}function Lu(n,t){return n*Math.sqrt(1-t*t)}const D1=["duration","bounce"],z1=["stiffness","damping","mass"];function Cm(n,t){return t.some(a=>n[a]!==void 0)}function O1(n){let t={velocity:Nt.velocity,stiffness:Nt.stiffness,damping:Nt.damping,mass:Nt.mass,isResolvedFromDuration:!1,...n};if(!Cm(n,z1)&&Cm(n,D1))if(n.visualDuration){const a=n.visualDuration,o=2*Math.PI/(a*1.2),r=o*o,u=2*Ci(.05,1,1-(n.bounce||0))*Math.sqrt(r);t={...t,mass:Nt.mass,stiffness:r,damping:u}}else{const a=C1(n);t={...t,...a,mass:Nt.mass},t.isResolvedFromDuration=!0}return t}function ul(n=Nt.visualDuration,t=Nt.bounce){const a=typeof n!="object"?{visualDuration:n,keyframes:[0,1],bounce:t}:n;let{restSpeed:o,restDelta:r}=a;const u=a.keyframes[0],c=a.keyframes[a.keyframes.length-1],d={done:!1,value:u},{stiffness:m,damping:p,mass:y,duration:v,velocity:S,isResolvedFromDuration:x}=O1({...a,velocity:-Ie(a.velocity||0)}),w=S||0,C=p/(2*Math.sqrt(m*y)),A=c-u,R=Ie(Math.sqrt(m/y)),L=Math.abs(A)<5;o||(o=L?Nt.restSpeed.granular:Nt.restSpeed.default),r||(r=L?Nt.restDelta.granular:Nt.restDelta.default);let B;if(C<1){const Y=Lu(R,C);B=K=>{const G=Math.exp(-C*R*K);return c-G*((w+C*R*A)/Y*Math.sin(Y*K)+A*Math.cos(Y*K))}}else if(C===1)B=Y=>c-Math.exp(-R*Y)*(A+(w+R*A)*Y);else{const Y=R*Math.sqrt(C*C-1);B=K=>{const G=Math.exp(-C*R*K),Q=Math.min(Y*K,300);return c-G*((w+C*R*A)*Math.sinh(Q)+Y*A*Math.cosh(Q))/Y}}const H={calculatedDuration:x&&v||null,next:Y=>{const K=B(Y);if(x)d.done=Y>=v;else{let G=Y===0?w:0;C<1&&(G=Y===0?Ui(w):_m(B,Y,K));const Q=Math.abs(G)<=o,st=Math.abs(c-K)<=r;d.done=Q&&st}return d.value=d.done?c:K,d},toString:()=>{const Y=Math.min(Vu(H),rl),K=Mm(G=>H.next(Y*G).value,Y,30);return Y+"ms "+K},toTransition:()=>{}};return H}ul.applyToOptions=n=>{const t=M1(n,100,ul);return n.ease=t.ease,n.duration=Ui(t.duration),n.type="keyframes",n};function ku({keyframes:n,velocity:t=0,power:a=.8,timeConstant:o=325,bounceDamping:r=10,bounceStiffness:u=500,modifyTarget:c,min:d,max:m,restDelta:p=.5,restSpeed:y}){const v=n[0],S={done:!1,value:v},x=Q=>d!==void 0&&Q<d||m!==void 0&&Q>m,w=Q=>d===void 0?m:m===void 0||Math.abs(d-Q)<Math.abs(m-Q)?d:m;let C=a*t;const A=v+C,R=c===void 0?A:c(A);R!==A&&(C=R-v);const L=Q=>-C*Math.exp(-Q/o),B=Q=>R+L(Q),H=Q=>{const st=L(Q),dt=B(Q);S.done=Math.abs(st)<=p,S.value=S.done?R:dt};let Y,K;const G=Q=>{x(S.value)&&(Y=Q,K=ul({keyframes:[S.value,w(S.value)],velocity:_m(B,Q,S.value),damping:r,stiffness:u,restDelta:p,restSpeed:y}))};return G(0),{calculatedDuration:null,next:Q=>{let st=!1;return!K&&Y===void 0&&(st=!0,H(Q),G(Q)),Y!==void 0&&Q>=Y?K.next(Q-Y):(!st&&H(Q),S)}}}function R1(n,t,a){const o=[],r=a||ki.mix||wm,u=n.length-1;for(let c=0;c<u;c++){let d=r(n[c],n[c+1]);if(t){const m=Array.isArray(t)?t[c]||$e:t;d=Ha(m,d)}o.push(d)}return o}function V1(n,t,{clamp:a=!0,ease:o,mixer:r}={}){const u=n.length;if(vu(u===t.length),u===1)return()=>t[0];if(u===2&&t[0]===t[1])return()=>t[1];const c=n[0]===n[1];n[0]>n[u-1]&&(n=[...n].reverse(),t=[...t].reverse());const d=R1(t,o,r),m=d.length,p=y=>{if(c&&y<n[0])return t[0];let v=0;if(m>1)for(;v<n.length-2&&!(y<n[v+1]);v++);const S=qa(n[v],n[v+1],y);return d[v](S)};return a?y=>p(Ci(n[0],n[u-1],y)):p}function B1(n,t){const a=n[n.length-1];for(let o=1;o<=t;o++){const r=qa(0,t,o);n.push(Ut(a,1,r))}}function L1(n){const t=[0];return B1(t,n.length-1),t}function k1(n,t){return n.map(a=>a*t)}function U1(n,t){return n.map(()=>t||om).splice(0,n.length-1)}function Qa({duration:n=300,keyframes:t,times:a,ease:o="easeInOut"}){const r=Kx(o)?o.map(rm):rm(o),u={done:!1,value:t[0]},c=k1(a&&a.length===t.length?a:L1(t),n),d=V1(c,t,{ease:Array.isArray(r)?r:U1(t,r)});return{calculatedDuration:n,next:m=>(u.value=d(m),u.done=m>=n,u)}}const N1=n=>n!==null;function Uu(n,{repeat:t,repeatType:a="loop"},o,r=1){const u=n.filter(N1),d=r<0||t&&a!=="loop"&&t%2===1?0:u.length-1;return!d||o===void 0?u[d]:o}const H1={decay:ku,inertia:ku,tween:Qa,keyframes:Qa,spring:ul};function Em(n){typeof n.type=="string"&&(n.type=H1[n.type])}class Nu{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(t=>{this.resolve=t})}notifyFinished(){this.resolve()}then(t,a){return this.finished.then(t,a)}}const q1=n=>n/100;class Hu extends Nu{constructor(t){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.stop=()=>{const{motionValue:a}=this.options;a&&a.updatedAt!==Se.now()&&this.tick(Se.now()),this.isStopped=!0,this.state!=="idle"&&(this.teardown(),this.options.onStop?.())},this.options=t,this.initAnimation(),this.play(),t.autoplay===!1&&this.pause()}initAnimation(){const{options:t}=this;Em(t);const{type:a=Qa,repeat:o=0,repeatDelay:r=0,repeatType:u,velocity:c=0}=t;let{keyframes:d}=t;const m=a||Qa;m!==Qa&&typeof d[0]!="number"&&(this.mixKeyframes=Ha(q1,wm(d[0],d[1])),d=[0,100]);const p=m({...t,keyframes:d});u==="mirror"&&(this.mirroredGenerator=m({...t,keyframes:[...d].reverse(),velocity:-c})),p.calculatedDuration===null&&(p.calculatedDuration=Vu(p));const{calculatedDuration:y}=p;this.calculatedDuration=y,this.resolvedDuration=y+r,this.totalDuration=this.resolvedDuration*(o+1)-r,this.generator=p}updateTime(t){const a=Math.round(t-this.startTime)*this.playbackSpeed;this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=a}tick(t,a=!1){const{generator:o,totalDuration:r,mixKeyframes:u,mirroredGenerator:c,resolvedDuration:d,calculatedDuration:m}=this;if(this.startTime===null)return o.next(0);const{delay:p=0,keyframes:y,repeat:v,repeatType:S,repeatDelay:x,type:w,onUpdate:C,finalKeyframe:A}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-r/this.speed,this.startTime)),a?this.currentTime=t:this.updateTime(t);const R=this.currentTime-p*(this.playbackSpeed>=0?1:-1),L=this.playbackSpeed>=0?R<0:R>r;this.currentTime=Math.max(R,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=r);let B=this.currentTime,H=o;if(v){const Q=Math.min(this.currentTime,r)/d;let st=Math.floor(Q),dt=Q%1;!dt&&Q>=1&&(dt=1),dt===1&&st--,st=Math.min(st,v+1),!!(st%2)&&(S==="reverse"?(dt=1-dt,x&&(dt-=x/d)):S==="mirror"&&(H=c)),B=Ci(0,1,dt)*d}const Y=L?{done:!1,value:y[0]}:H.next(B);u&&(Y.value=u(Y.value));let{done:K}=Y;!L&&m!==null&&(K=this.playbackSpeed>=0?this.currentTime>=r:this.currentTime<=0);const G=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&K);return G&&w!==ku&&(Y.value=Uu(y,this.options,A,this.speed)),C&&C(Y.value),G&&this.finish(),Y}then(t,a){return this.finished.then(t,a)}get duration(){return Ie(this.calculatedDuration)}get iterationDuration(){const{delay:t=0}=this.options||{};return this.duration+Ie(t)}get time(){return Ie(this.currentTime)}set time(t){t=Ui(t),this.currentTime=t,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0?this.holdTime=t:this.driver&&(this.startTime=this.driver.now()-t/this.playbackSpeed),this.driver?.start(!1)}get speed(){return this.playbackSpeed}set speed(t){this.updateTime(Se.now());const a=this.playbackSpeed!==t;this.playbackSpeed=t,a&&(this.time=Ie(this.currentTime))}play(){if(this.isStopped)return;const{driver:t=w1,startTime:a}=this.options;this.driver||(this.driver=t(r=>this.tick(r))),this.options.onPlay?.();const o=this.driver.now();this.state==="finished"?(this.updateFinished(),this.startTime=o):this.holdTime!==null?this.startTime=o-this.holdTime:this.startTime||(this.startTime=a??o),this.state==="finished"&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(Se.now()),this.holdTime=this.currentTime}complete(){this.state!=="running"&&this.play(),this.state="finished",this.holdTime=null}finish(){this.notifyFinished(),this.teardown(),this.state="finished",this.options.onComplete?.()}cancel(){this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),this.options.onCancel?.()}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(t){return this.startTime=0,this.tick(t,!0)}attachTimeline(t){return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),this.driver?.stop(),t.observe(this)}}function j1(n){for(let t=1;t<n.length;t++)n[t]??(n[t]=n[t-1])}const Yn=n=>n*180/Math.PI,qu=n=>{const t=Yn(Math.atan2(n[1],n[0]));return ju(t)},P1={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:n=>(Math.abs(n[0])+Math.abs(n[3]))/2,rotate:qu,rotateZ:qu,skewX:n=>Yn(Math.atan(n[1])),skewY:n=>Yn(Math.atan(n[2])),skew:n=>(Math.abs(n[1])+Math.abs(n[2]))/2},ju=n=>(n=n%360,n<0&&(n+=360),n),Am=qu,Dm=n=>Math.sqrt(n[0]*n[0]+n[1]*n[1]),zm=n=>Math.sqrt(n[4]*n[4]+n[5]*n[5]),Y1={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:Dm,scaleY:zm,scale:n=>(Dm(n)+zm(n))/2,rotateX:n=>ju(Yn(Math.atan2(n[6],n[5]))),rotateY:n=>ju(Yn(Math.atan2(-n[2],n[0]))),rotateZ:Am,rotate:Am,skewX:n=>Yn(Math.atan(n[4])),skewY:n=>Yn(Math.atan(n[1])),skew:n=>(Math.abs(n[1])+Math.abs(n[4]))/2};function Pu(n){return n.includes("scale")?1:0}function Yu(n,t){if(!n||n==="none")return Pu(t);const a=n.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let o,r;if(a)o=Y1,r=a;else{const d=n.match(/^matrix\(([-\d.e\s,]+)\)$/u);o=P1,r=d}if(!r)return Pu(t);const u=o[t],c=r[1].split(",").map(X1);return typeof u=="function"?u(c):c[u]}const G1=(n,t)=>{const{transform:a="none"}=getComputedStyle(n);return Yu(a,t)};function X1(n){return parseFloat(n.trim())}const zs=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],Os=new Set(zs),Om=n=>n===As||n===$,Q1=new Set(["x","y","z"]),Z1=zs.filter(n=>!Q1.has(n));function K1(n){const t=[];return Z1.forEach(a=>{const o=n.getValue(a);o!==void 0&&(t.push([a,o.get()]),o.set(a.startsWith("scale")?1:0))}),t}const un={width:({x:n},{paddingLeft:t="0",paddingRight:a="0"})=>n.max-n.min-parseFloat(t)-parseFloat(a),height:({y:n},{paddingTop:t="0",paddingBottom:a="0"})=>n.max-n.min-parseFloat(t)-parseFloat(a),top:(n,{top:t})=>parseFloat(t),left:(n,{left:t})=>parseFloat(t),bottom:({y:n},{top:t})=>parseFloat(t)+(n.max-n.min),right:({x:n},{left:t})=>parseFloat(t)+(n.max-n.min),x:(n,{transform:t})=>Yu(t,"x"),y:(n,{transform:t})=>Yu(t,"y")};un.translateX=un.x,un.translateY=un.y;const Gn=new Set;let Gu=!1,Xu=!1,Qu=!1;function Rm(){if(Xu){const n=Array.from(Gn).filter(o=>o.needsMeasurement),t=new Set(n.map(o=>o.element)),a=new Map;t.forEach(o=>{const r=K1(o);r.length&&(a.set(o,r),o.render())}),n.forEach(o=>o.measureInitialState()),t.forEach(o=>{o.render();const r=a.get(o);r&&r.forEach(([u,c])=>{o.getValue(u)?.set(c)})}),n.forEach(o=>o.measureEndState()),n.forEach(o=>{o.suspendedScrollY!==void 0&&window.scrollTo(0,o.suspendedScrollY)})}Xu=!1,Gu=!1,Gn.forEach(n=>n.complete(Qu)),Gn.clear()}function Vm(){Gn.forEach(n=>{n.readKeyframes(),n.needsMeasurement&&(Xu=!0)})}function F1(){Qu=!0,Vm(),Rm(),Qu=!1}class Zu{constructor(t,a,o,r,u,c=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...t],this.onComplete=a,this.name=o,this.motionValue=r,this.element=u,this.isAsync=c}scheduleResolve(){this.state="scheduled",this.isAsync?(Gn.add(this),Gu||(Gu=!0,Ot.read(Vm),Ot.resolveKeyframes(Rm))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:t,name:a,element:o,motionValue:r}=this;if(t[0]===null){const u=r?.get(),c=t[t.length-1];if(u!==void 0)t[0]=u;else if(o&&a){const d=o.readValue(a,c);d!=null&&(t[0]=d)}t[0]===void 0&&(t[0]=c),r&&u===void 0&&r.set(t[0])}j1(t)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(t=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,t),Gn.delete(this)}cancel(){this.state==="scheduled"&&(Gn.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}}const J1=n=>n.startsWith("--");function $1(n,t,a){J1(t)?n.style.setProperty(t,a):n.style[t]=a}const I1=bu(()=>window.ScrollTimeline!==void 0),W1={};function tT(n,t){const a=bu(n);return()=>W1[t]??a()}const Bm=tT(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),Za=([n,t,a,o])=>`cubic-bezier(${n}, ${t}, ${a}, ${o})`,Lm={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:Za([0,.65,.55,1]),circOut:Za([.55,0,1,.45]),backIn:Za([.31,.01,.66,-.59]),backOut:Za([.33,1.53,.69,.99])};function km(n,t){if(n)return typeof n=="function"?Bm()?Mm(n,t):"ease-out":lm(n)?Za(n):Array.isArray(n)?n.map(a=>km(a,t)||Lm.easeOut):Lm[n]}function eT(n,t,a,{delay:o=0,duration:r=300,repeat:u=0,repeatType:c="loop",ease:d="easeOut",times:m}={},p=void 0){const y={[t]:a};m&&(y.offset=m);const v=km(d,r);Array.isArray(v)&&(y.easing=v);const S={delay:o,duration:r,easing:Array.isArray(v)?"linear":v,fill:"both",iterations:u+1,direction:c==="reverse"?"alternate":"normal"};return p&&(S.pseudoElement=p),n.animate(y,S)}function Um(n){return typeof n=="function"&&"applyToOptions"in n}function iT({type:n,...t}){return Um(n)&&Bm()?n.applyToOptions(t):(t.duration??(t.duration=300),t.ease??(t.ease="easeOut"),t)}class nT extends Nu{constructor(t){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!t)return;const{element:a,name:o,keyframes:r,pseudoElement:u,allowFlatten:c=!1,finalKeyframe:d,onComplete:m}=t;this.isPseudoElement=!!u,this.allowFlatten=c,this.options=t,vu(typeof t.type!="string");const p=iT(t);this.animation=eT(a,o,r,p,u),p.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!u){const y=Uu(r,this.options,d,this.speed);this.updateMotionValue?this.updateMotionValue(y):$1(a,o,y),this.animation.cancel()}m?.(),this.notifyFinished()}}play(){this.isStopped||(this.manualStartTime=null,this.animation.play(),this.state==="finished"&&this.updateFinished())}pause(){this.animation.pause()}complete(){this.animation.finish?.()}cancel(){try{this.animation.cancel()}catch{}}stop(){if(this.isStopped)return;this.isStopped=!0;const{state:t}=this;t==="idle"||t==="finished"||(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){this.isPseudoElement||this.animation.commitStyles?.()}get duration(){const t=this.animation.effect?.getComputedTiming?.().duration||0;return Ie(Number(t))}get iterationDuration(){const{delay:t=0}=this.options||{};return this.duration+Ie(t)}get time(){return Ie(Number(this.animation.currentTime)||0)}set time(t){this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=Ui(t)}get speed(){return this.animation.playbackRate}set speed(t){t<0&&(this.finishedTime=null),this.animation.playbackRate=t}get state(){return this.finishedTime!==null?"finished":this.animation.playState}get startTime(){return this.manualStartTime??Number(this.animation.startTime)}set startTime(t){this.manualStartTime=this.animation.startTime=t}attachTimeline({timeline:t,observe:a}){return this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,t&&I1()?(this.animation.timeline=t,$e):a(this)}}const Nm={anticipate:nm,backInOut:im,circInOut:am};function sT(n){return n in Nm}function aT(n){typeof n.ease=="string"&&sT(n.ease)&&(n.ease=Nm[n.ease])}const Ku=10;class oT extends nT{constructor(t){aT(t),Em(t),super(t),t.startTime!==void 0&&(this.startTime=t.startTime),this.options=t}updateMotionValue(t){const{motionValue:a,onUpdate:o,onComplete:r,element:u,...c}=this.options;if(!a)return;if(t!==void 0){a.set(t);return}const d=new Hu({...c,autoplay:!1}),m=Math.max(Ku,Se.now()-this.startTime),p=Ci(0,Ku,m-Ku);a.setWithVelocity(d.sample(Math.max(0,m-p)).value,d.sample(m).value,p),d.stop()}}const Hm=(n,t)=>t==="zIndex"?!1:!!(typeof n=="number"||Array.isArray(n)||typeof n=="string"&&(rn.test(n)||n==="0")&&!n.startsWith("url("));function lT(n){const t=n[0];if(n.length===1)return!0;for(let a=0;a<n.length;a++)if(n[a]!==t)return!0}function rT(n,t,a,o){const r=n[0];if(r===null)return!1;if(t==="display"||t==="visibility")return!0;const u=n[n.length-1],c=Hm(r,t),d=Hm(u,t);return!c||!d?!1:lT(n)||(a==="spring"||Um(a))&&o}function Fu(n){n.duration=0,n.type="keyframes"}const uT=new Set(["opacity","clipPath","filter","transform"]),cT=bu(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function fT(n){const{motionValue:t,name:a,repeatDelay:o,repeatType:r,damping:u,type:c}=n;if(!(t?.owner?.current instanceof HTMLElement))return!1;const{onUpdate:m,transformTemplate:p}=t.owner.getProps();return cT()&&a&&uT.has(a)&&(a!=="transform"||!p)&&!m&&!o&&r!=="mirror"&&u!==0&&c!=="inertia"}const hT=40;class dT extends Nu{constructor({autoplay:t=!0,delay:a=0,type:o="keyframes",repeat:r=0,repeatDelay:u=0,repeatType:c="loop",keyframes:d,name:m,motionValue:p,element:y,...v}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=Se.now();const S={autoplay:t,delay:a,type:o,repeat:r,repeatDelay:u,repeatType:c,name:m,motionValue:p,element:y,...v},x=y?.KeyframeResolver||Zu;this.keyframeResolver=new x(d,(w,C,A)=>this.onKeyframesResolved(w,C,S,!A),m,p,y),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(t,a,o,r){this.keyframeResolver=void 0;const{name:u,type:c,velocity:d,delay:m,isHandoff:p,onUpdate:y}=o;this.resolvedAt=Se.now(),rT(t,u,c,d)||((ki.instantAnimations||!m)&&y?.(Uu(t,o,a)),t[0]=t[t.length-1],Fu(o),o.repeat=0);const S={startTime:r?this.resolvedAt?this.resolvedAt-this.createdAt>hT?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:a,...o,keyframes:t},x=!p&&fT(S),w=S.motionValue?.owner?.current,C=x?new oT({...S,element:w}):new Hu(S);C.finished.then(()=>{this.notifyFinished()}).catch($e),this.pendingTimeline&&(this.stopTimeline=C.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=C}get finished(){return this._animation?this.animation.finished:this._finished}then(t,a){return this.finished.finally(t).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),F1()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(t){this.animation.time=t}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(t){this.animation.speed=t}get startTime(){return this.animation.startTime}attachTimeline(t){return this._animation?this.stopTimeline=this.animation.attachTimeline(t):this.pendingTimeline=t,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}}function qm(n,t,a,o=0,r=1){const u=Array.from(n).sort((p,y)=>p.sortNodePosition(y)).indexOf(t),c=n.size,d=(c-1)*o;return typeof a=="function"?a(u,c):r===1?u*o:d-u*o}const mT=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function pT(n){const t=mT.exec(n);if(!t)return[,];const[,a,o,r]=t;return[`--${a??o}`,r]}function jm(n,t,a=1){const[o,r]=pT(n);if(!o)return;const u=window.getComputedStyle(t).getPropertyValue(o);if(u){const c=u.trim();return Kd(c)?parseFloat(c):c}return Mu(r)?jm(r,t,a+1):r}const yT={type:"spring",stiffness:500,damping:25,restSpeed:10},gT=n=>({type:"spring",stiffness:550,damping:n===0?2*Math.sqrt(550):30,restSpeed:10}),vT={type:"keyframes",duration:.8},bT={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},ST=(n,{keyframes:t})=>t.length>2?vT:Os.has(n)?n.startsWith("scale")?gT(t[1]):yT:bT,xT=n=>n!==null;function TT(n,{repeat:t,repeatType:a="loop"},o){const r=n.filter(xT),u=t&&a!=="loop"&&t%2===1?0:r.length-1;return r[u]}function Ju(n,t){return n?.[t]??n?.default??n}function wT({when:n,delay:t,delayChildren:a,staggerChildren:o,staggerDirection:r,repeat:u,repeatType:c,repeatDelay:d,from:m,elapsed:p,...y}){return!!Object.keys(y).length}const $u=(n,t,a,o={},r,u)=>c=>{const d=Ju(o,n)||{},m=d.delay||o.delay||0;let{elapsed:p=0}=o;p=p-Ui(m);const y={keyframes:Array.isArray(a)?a:[null,a],ease:"easeOut",velocity:t.getVelocity(),...d,delay:-p,onUpdate:S=>{t.set(S),d.onUpdate&&d.onUpdate(S)},onComplete:()=>{c(),d.onComplete&&d.onComplete()},name:n,motionValue:t,element:u?void 0:r};wT(d)||Object.assign(y,ST(n,y)),y.duration&&(y.duration=Ui(y.duration)),y.repeatDelay&&(y.repeatDelay=Ui(y.repeatDelay)),y.from!==void 0&&(y.keyframes[0]=y.from);let v=!1;if((y.type===!1||y.duration===0&&!y.repeatDelay)&&(Fu(y),y.delay===0&&(v=!0)),(ki.instantAnimations||ki.skipAnimations)&&(v=!0,Fu(y),y.delay=0),y.allowFlatten=!d.type&&!d.ease,v&&!u&&t.get()!==void 0){const S=TT(y.keyframes,d);if(S!==void 0){Ot.update(()=>{y.onUpdate(S),y.onComplete()});return}}return d.isSync?new Hu(y):new dT(y)};function Pm(n){const t=[{},{}];return n?.values.forEach((a,o)=>{t[0][o]=a.get(),t[1][o]=a.getVelocity()}),t}function Iu(n,t,a,o){if(typeof t=="function"){const[r,u]=Pm(o);t=t(a!==void 0?a:n.custom,r,u)}if(typeof t=="string"&&(t=n.variants&&n.variants[t]),typeof t=="function"){const[r,u]=Pm(o);t=t(a!==void 0?a:n.custom,r,u)}return t}function Rs(n,t,a){const o=n.getProps();return Iu(o,t,a!==void 0?a:o.custom,n)}const Ym=new Set(["width","height","top","left","right","bottom",...zs]),Gm=30,MT=n=>!isNaN(parseFloat(n));class _T{constructor(t,a={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=o=>{const r=Se.now();if(this.updatedAt!==r&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(o),this.current!==this.prev&&(this.events.change?.notify(this.current),this.dependents))for(const u of this.dependents)u.dirty()},this.hasAnimated=!1,this.setCurrent(t),this.owner=a.owner}setCurrent(t){this.current=t,this.updatedAt=Se.now(),this.canTrackVelocity===null&&t!==void 0&&(this.canTrackVelocity=MT(this.current))}setPrevFrameValue(t=this.current){this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}onChange(t){return this.on("change",t)}on(t,a){this.events[t]||(this.events[t]=new Su);const o=this.events[t].add(a);return t==="change"?()=>{o(),Ot.read(()=>{this.events.change.getSize()||this.stop()})}:o}clearListeners(){for(const t in this.events)this.events[t].clear()}attach(t,a){this.passiveEffect=t,this.stopPassiveEffect=a}set(t){this.passiveEffect?this.passiveEffect(t,this.updateAndNotify):this.updateAndNotify(t)}setWithVelocity(t,a,o){this.set(a),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-o}jump(t,a=!0){this.updateAndNotify(t),this.prev=t,this.prevUpdatedAt=this.prevFrameValue=void 0,a&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){this.events.change?.notify(this.current)}addDependent(t){this.dependents||(this.dependents=new Set),this.dependents.add(t)}removeDependent(t){this.dependents&&this.dependents.delete(t)}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const t=Se.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||t-this.updatedAt>Gm)return 0;const a=Math.min(this.updatedAt-this.prevUpdatedAt,Gm);return $d(parseFloat(this.current)-parseFloat(this.prevFrameValue),a)}start(t){return this.stop(),new Promise(a=>{this.hasAnimated=!0,this.animation=t(a),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.dependents?.clear(),this.events.destroy?.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function Vs(n,t){return new _T(n,t)}const Wu=n=>Array.isArray(n);function CT(n,t,a){n.hasValue(t)?n.getValue(t).set(a):n.addValue(t,Vs(a))}function ET(n){return Wu(n)?n[n.length-1]||0:n}function tc(n,t){const a=Rs(n,t);let{transitionEnd:o={},transition:r={},...u}=a||{};u={...u,...o};for(const c in u){const d=ET(u[c]);CT(n,c,d)}}const de=n=>!!(n&&n.getVelocity);function AT(n){return!!(de(n)&&n.add)}function ec(n,t){const a=n.getValue("willChange");if(AT(a))return a.add(t);if(!a&&ki.WillChange){const o=new ki.WillChange("auto");n.addValue("willChange",o),o.add(t)}}function ic(n){return n.replace(/([A-Z])/g,t=>`-${t.toLowerCase()}`)}const Xm="data-"+ic("framerAppearId");function Qm(n){return n.props[Xm]}function DT({protectedKeys:n,needsAnimating:t},a){const o=n.hasOwnProperty(a)&&t[a]!==!0;return t[a]=!1,o}function Zm(n,t,{delay:a=0,transitionOverride:o,type:r}={}){let{transition:u=n.getDefaultTransition(),transitionEnd:c,...d}=t;o&&(u=o);const m=[],p=r&&n.animationState&&n.animationState.getState()[r];for(const y in d){const v=n.getValue(y,n.latestValues[y]??null),S=d[y];if(S===void 0||p&&DT(p,y))continue;const x={delay:a,...Ju(u||{},y)},w=v.get();if(w!==void 0&&!v.isAnimating&&!Array.isArray(S)&&S===w&&!x.velocity)continue;let C=!1;if(window.MotionHandoffAnimation){const R=Qm(n);if(R){const L=window.MotionHandoffAnimation(R,y,Ot);L!==null&&(x.startTime=L,C=!0)}}ec(n,y),v.start($u(y,v,S,n.shouldReduceMotion&&Ym.has(y)?{type:!1}:x,n,C));const A=v.animation;A&&m.push(A)}return c&&Promise.all(m).then(()=>{Ot.update(()=>{c&&tc(n,c)})}),m}function nc(n,t,a={}){const o=Rs(n,t,a.type==="exit"?n.presenceContext?.custom:void 0);let{transition:r=n.getDefaultTransition()||{}}=o||{};a.transitionOverride&&(r=a.transitionOverride);const u=o?()=>Promise.all(Zm(n,o,a)):()=>Promise.resolve(),c=n.variantChildren&&n.variantChildren.size?(m=0)=>{const{delayChildren:p=0,staggerChildren:y,staggerDirection:v}=r;return zT(n,t,m,p,y,v,a)}:()=>Promise.resolve(),{when:d}=r;if(d){const[m,p]=d==="beforeChildren"?[u,c]:[c,u];return m().then(()=>p())}else return Promise.all([u(),c(a.delay)])}function zT(n,t,a=0,o=0,r=0,u=1,c){const d=[];for(const m of n.variantChildren)m.notify("AnimationStart",t),d.push(nc(m,t,{...c,delay:a+(typeof o=="function"?0:o)+qm(n.variantChildren,m,o,r,u)}).then(()=>m.notify("AnimationComplete",t)));return Promise.all(d)}function Km(n,t,a={}){n.notify("AnimationStart",t);let o;if(Array.isArray(t)){const r=t.map(u=>nc(n,u,a));o=Promise.all(r)}else if(typeof t=="string")o=nc(n,t,a);else{const r=typeof t=="function"?Rs(n,t,a.custom):t;o=Promise.all(Zm(n,r,a))}return o.then(()=>{n.notify("AnimationComplete",t)})}const OT={test:n=>n==="auto",parse:n=>n},Fm=n=>t=>t.test(n),Jm=[As,$,Ei,ln,l1,o1,OT],$m=n=>Jm.find(Fm(n));function RT(n){return typeof n=="number"?n===0:n!==null?n==="none"||n==="0"||Jd(n):!0}const VT=new Set(["brightness","contrast","saturate","opacity"]);function BT(n){const[t,a]=n.slice(0,-1).split("(");if(t==="drop-shadow")return n;const[o]=a.match(_u)||[];if(!o)return n;const r=a.replace(o,"");let u=VT.has(t)?1:0;return o!==a&&(u*=100),t+"("+u+r+")"}const LT=/\b([a-z-]*)\(.*?\)/gu,sc={...rn,getAnimatableNone:n=>{const t=n.match(LT);return t?t.map(BT).join(" "):n}},Im={...As,transform:Math.round},ac={borderWidth:$,borderTopWidth:$,borderRightWidth:$,borderBottomWidth:$,borderLeftWidth:$,borderRadius:$,radius:$,borderTopLeftRadius:$,borderTopRightRadius:$,borderBottomRightRadius:$,borderBottomLeftRadius:$,width:$,maxWidth:$,height:$,maxHeight:$,top:$,right:$,bottom:$,left:$,inset:$,insetBlock:$,insetBlockStart:$,insetBlockEnd:$,insetInline:$,insetInlineStart:$,insetInlineEnd:$,padding:$,paddingTop:$,paddingRight:$,paddingBottom:$,paddingLeft:$,paddingBlock:$,paddingBlockStart:$,paddingBlockEnd:$,paddingInline:$,paddingInlineStart:$,paddingInlineEnd:$,margin:$,marginTop:$,marginRight:$,marginBottom:$,marginLeft:$,marginBlock:$,marginBlockStart:$,marginBlockEnd:$,marginInline:$,marginInlineStart:$,marginInlineEnd:$,backgroundPositionX:$,backgroundPositionY:$,...{rotate:ln,rotateX:ln,rotateY:ln,rotateZ:ln,scale:ol,scaleX:ol,scaleY:ol,scaleZ:ol,skew:ln,skewX:ln,skewY:ln,distance:$,translateX:$,translateY:$,translateZ:$,x:$,y:$,z:$,perspective:$,transformPerspective:$,opacity:Pa,originX:mm,originY:mm,originZ:$},zIndex:Im,fillOpacity:Pa,strokeOpacity:Pa,numOctaves:Im},kT={...ac,color:Qt,backgroundColor:Qt,outlineColor:Qt,fill:Qt,stroke:Qt,borderColor:Qt,borderTopColor:Qt,borderRightColor:Qt,borderBottomColor:Qt,borderLeftColor:Qt,filter:sc,WebkitFilter:sc},Wm=n=>kT[n];function tp(n,t){let a=Wm(n);return a!==sc&&(a=rn),a.getAnimatableNone?a.getAnimatableNone(t):void 0}const UT=new Set(["auto","none","0"]);function NT(n,t,a){let o=0,r;for(;o<n.length&&!r;){const u=n[o];typeof u=="string"&&!UT.has(u)&&Xa(u).values.length&&(r=n[o]),o++}if(r&&a)for(const u of t)n[u]=tp(a,r)}class HT extends Zu{constructor(t,a,o,r,u){super(t,a,o,r,u,!0)}readKeyframes(){const{unresolvedKeyframes:t,element:a,name:o}=this;if(!a||!a.current)return;super.readKeyframes();for(let y=0;y<t.length;y++){let v=t[y];if(typeof v=="string"&&(v=v.trim(),Mu(v))){const S=jm(v,a.current);S!==void 0&&(t[y]=S),y===t.length-1&&(this.finalKeyframe=v)}}if(this.resolveNoneKeyframes(),!Ym.has(o)||t.length!==2)return;const[r,u]=t,c=$m(r),d=$m(u),m=hm(r),p=hm(u);if(m!==p&&un[o]){this.needsMeasurement=!0;return}if(c!==d)if(Om(c)&&Om(d))for(let y=0;y<t.length;y++){const v=t[y];typeof v=="string"&&(t[y]=parseFloat(v))}else un[o]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:t,name:a}=this,o=[];for(let r=0;r<t.length;r++)(t[r]===null||RT(t[r]))&&o.push(r);o.length&&NT(t,o,a)}measureInitialState(){const{element:t,unresolvedKeyframes:a,name:o}=this;if(!t||!t.current)return;o==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=un[o](t.measureViewportBox(),window.getComputedStyle(t.current)),a[0]=this.measuredOrigin;const r=a[a.length-1];r!==void 0&&t.getValue(o,r).jump(r,!1)}measureEndState(){const{element:t,name:a,unresolvedKeyframes:o}=this;if(!t||!t.current)return;const r=t.getValue(a);r&&r.jump(this.measuredOrigin,!1);const u=o.length-1,c=o[u];o[u]=un[a](t.measureViewportBox(),window.getComputedStyle(t.current)),c!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=c),this.removedTransforms?.length&&this.removedTransforms.forEach(([d,m])=>{t.getValue(d).set(m)}),this.resolveNoneKeyframes()}}function qT(n,t,a){if(n==null)return[];if(n instanceof EventTarget)return[n];if(typeof n=="string"){let o=document;const r=a?.[n]??o.querySelectorAll(n);return r?Array.from(r):[]}return Array.from(n).filter(o=>o!=null)}const ep=(n,t)=>t&&typeof n=="number"?t.transform(n):n;function oc(n){return Fd(n)&&"offsetHeight"in n}const{schedule:lc}=um(queueMicrotask,!1),mi={x:!1,y:!1};function ip(){return mi.x||mi.y}function jT(n){return n==="x"||n==="y"?mi[n]?null:(mi[n]=!0,()=>{mi[n]=!1}):mi.x||mi.y?null:(mi.x=mi.y=!0,()=>{mi.x=mi.y=!1})}function np(n,t){const a=qT(n),o=new AbortController,r={passive:!0,...t,signal:o.signal};return[a,r,()=>o.abort()]}function sp(n){return!(n.pointerType==="touch"||ip())}function PT(n,t,a={}){const[o,r,u]=np(n,a),c=d=>{if(!sp(d))return;const{target:m}=d,p=t(m,d);if(typeof p!="function"||!m)return;const y=v=>{sp(v)&&(p(v),m.removeEventListener("pointerleave",y))};m.addEventListener("pointerleave",y,r)};return o.forEach(d=>{d.addEventListener("pointerenter",c,r)}),u}const ap=(n,t)=>t?n===t?!0:ap(n,t.parentElement):!1,rc=n=>n.pointerType==="mouse"?typeof n.button!="number"||n.button<=0:n.isPrimary!==!1,YT=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function op(n){return YT.has(n.tagName)||n.isContentEditable===!0}const cl=new WeakSet;function lp(n){return t=>{t.key==="Enter"&&n(t)}}function uc(n,t){n.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}const GT=(n,t)=>{const a=n.currentTarget;if(!a)return;const o=lp(()=>{if(cl.has(a))return;uc(a,"down");const r=lp(()=>{uc(a,"up")}),u=()=>uc(a,"cancel");a.addEventListener("keyup",r,t),a.addEventListener("blur",u,t)});a.addEventListener("keydown",o,t),a.addEventListener("blur",()=>a.removeEventListener("keydown",o),t)};function rp(n){return rc(n)&&!ip()}function XT(n,t,a={}){const[o,r,u]=np(n,a),c=d=>{const m=d.currentTarget;if(!rp(d))return;cl.add(m);const p=t(m,d),y=(x,w)=>{window.removeEventListener("pointerup",v),window.removeEventListener("pointercancel",S),cl.has(m)&&cl.delete(m),rp(x)&&typeof p=="function"&&p(x,{success:w})},v=x=>{y(x,m===window||m===document||a.useGlobalTarget||ap(m,x.target))},S=x=>{y(x,!1)};window.addEventListener("pointerup",v,r),window.addEventListener("pointercancel",S,r)};return o.forEach(d=>{(a.useGlobalTarget?window:d).addEventListener("pointerdown",c,r),oc(d)&&(d.addEventListener("focus",p=>GT(p,r)),!op(d)&&!d.hasAttribute("tabindex")&&(d.tabIndex=0))}),u}function up(n){return Fd(n)&&"ownerSVGElement"in n}function QT(n){return up(n)&&n.tagName==="svg"}const ZT=[...Jm,Qt,rn],KT=n=>ZT.find(Fm(n)),cp=()=>({translate:0,scale:1,origin:0,originPoint:0}),Bs=()=>({x:cp(),y:cp()}),fp=()=>({min:0,max:0}),Wt=()=>({x:fp(),y:fp()}),cc={current:null},hp={current:!1},FT=typeof window<"u";function JT(){if(hp.current=!0,!!FT)if(window.matchMedia){const n=window.matchMedia("(prefers-reduced-motion)"),t=()=>cc.current=n.matches;n.addEventListener("change",t),t()}else cc.current=!1}const $T=new WeakMap;function fl(n){return n!==null&&typeof n=="object"&&typeof n.start=="function"}function Ka(n){return typeof n=="string"||Array.isArray(n)}const fc=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],hc=["initial",...fc];function hl(n){return fl(n.animate)||hc.some(t=>Ka(n[t]))}function dp(n){return!!(hl(n)||n.variants)}function IT(n,t,a){for(const o in t){const r=t[o],u=a[o];if(de(r))n.addValue(o,r);else if(de(u))n.addValue(o,Vs(r,{owner:n}));else if(u!==r)if(n.hasValue(o)){const c=n.getValue(o);c.liveStyle===!0?c.jump(r):c.hasAnimated||c.set(r)}else{const c=n.getStaticValue(o);n.addValue(o,Vs(c!==void 0?c:r,{owner:n}))}}for(const o in a)t[o]===void 0&&n.removeValue(o);return t}const mp=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];let dl={};function pp(n){dl=n}function WT(){return dl}class tw{scrapeMotionValuesFromProps(t,a,o){return{}}constructor({parent:t,props:a,presenceContext:o,reducedMotionConfig:r,blockInitialAnimation:u,visualState:c},d={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=Zu,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{const S=Se.now();this.renderScheduledAt<S&&(this.renderScheduledAt=S,Ot.render(this.render,!1,!0))};const{latestValues:m,renderState:p}=c;this.latestValues=m,this.baseTarget={...m},this.initialValues=a.initial?{...m}:{},this.renderState=p,this.parent=t,this.props=a,this.presenceContext=o,this.depth=t?t.depth+1:0,this.reducedMotionConfig=r,this.options=d,this.blockInitialAnimation=!!u,this.isControllingVariants=hl(a),this.isVariantNode=dp(a),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);const{willChange:y,...v}=this.scrapeMotionValuesFromProps(a,{},this);for(const S in v){const x=v[S];m[S]!==void 0&&de(x)&&x.set(m[S])}}mount(t){this.current=t,$T.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((a,o)=>this.bindToMotionValue(o,a)),this.reducedMotionConfig==="never"?this.shouldReduceMotion=!1:this.reducedMotionConfig==="always"?this.shouldReduceMotion=!0:(hp.current||JT(),this.shouldReduceMotion=cc.current),this.parent?.addChild(this),this.update(this.props,this.presenceContext)}unmount(){this.projection&&this.projection.unmount(),on(this.notifyUpdate),on(this.render),this.valueSubscriptions.forEach(t=>t()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent?.removeChild(this);for(const t in this.events)this.events[t].clear();for(const t in this.features){const a=this.features[t];a&&(a.unmount(),a.isMounted=!1)}this.current=null}addChild(t){this.children.add(t),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(t)}removeChild(t){this.children.delete(t),this.enteringChildren&&this.enteringChildren.delete(t)}bindToMotionValue(t,a){this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)();const o=Os.has(t);o&&this.onBindTransform&&this.onBindTransform();const r=a.on("change",c=>{this.latestValues[t]=c,this.props.onUpdate&&Ot.preRender(this.notifyUpdate),o&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});let u;typeof window<"u"&&window.MotionCheckAppearSync&&(u=window.MotionCheckAppearSync(this,t,a)),this.valueSubscriptions.set(t,()=>{r(),u&&u(),a.owner&&a.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 dl){const a=dl[t];if(!a)continue;const{isEnabled:o,Feature:r}=a;if(!this.features[t]&&r&&o(this.props)&&(this.features[t]=new r(this)),this.features[t]){const u=this.features[t];u.isMounted?u.update():(u.mount(),u.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):Wt()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,a){this.latestValues[t]=a}update(t,a){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=a;for(let o=0;o<mp.length;o++){const r=mp[o];this.propEventSubscriptions[r]&&(this.propEventSubscriptions[r](),delete this.propEventSubscriptions[r]);const u="on"+r,c=t[u];c&&(this.propEventSubscriptions[r]=this.on(r,c))}this.prevMotionValues=IT(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 a=this.getClosestVariantNode();if(a)return a.variantChildren&&a.variantChildren.add(t),()=>a.variantChildren.delete(t)}addValue(t,a){const o=this.values.get(t);a!==o&&(o&&this.removeValue(t),this.bindToMotionValue(t,a),this.values.set(t,a),this.latestValues[t]=a.get())}removeValue(t){this.values.delete(t);const a=this.valueSubscriptions.get(t);a&&(a(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,a){if(this.props.values&&this.props.values[t])return this.props.values[t];let o=this.values.get(t);return o===void 0&&a!==void 0&&(o=Vs(a===null?void 0:a,{owner:this}),this.addValue(t,o)),o}readValue(t,a){let o=this.latestValues[t]!==void 0||!this.current?this.latestValues[t]:this.getBaseTargetFromProps(this.props,t)??this.readValueFromInstance(this.current,t,this.options);return o!=null&&(typeof o=="string"&&(Kd(o)||Jd(o))?o=parseFloat(o):!KT(o)&&rn.test(a)&&(o=tp(t,a)),this.setBaseTarget(t,de(o)?o.get():o)),de(o)?o.get():o}setBaseTarget(t,a){this.baseTarget[t]=a}getBaseTarget(t){const{initial:a}=this.props;let o;if(typeof a=="string"||typeof a=="object"){const u=Iu(this.props,a,this.presenceContext?.custom);u&&(o=u[t])}if(a&&o!==void 0)return o;const r=this.getBaseTargetFromProps(this.props,t);return r!==void 0&&!de(r)?r:this.initialValues[t]!==void 0&&o===void 0?void 0:this.baseTarget[t]}on(t,a){return this.events[t]||(this.events[t]=new Su),this.events[t].add(a)}notify(t,...a){this.events[t]&&this.events[t].notify(...a)}scheduleRenderMicrotask(){lc.render(this.render)}}class yp extends tw{constructor(){super(...arguments),this.KeyframeResolver=HT}sortInstanceNodePosition(t,a){return t.compareDocumentPosition(a)&2?1:-1}getBaseTargetFromProps(t,a){const o=t.style;return o?o[a]:void 0}removeValueFromRenderState(t,{vars:a,style:o}){delete a[t],delete o[t]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:t}=this.props;de(t)&&(this.childSubscription=t.on("change",a=>{this.current&&(this.current.textContent=`${a}`)}))}}class cn{constructor(t){this.isMounted=!1,this.node=t}update(){}}function gp({top:n,left:t,right:a,bottom:o}){return{x:{min:t,max:a},y:{min:n,max:o}}}function ew({x:n,y:t}){return{top:t.min,right:n.max,bottom:t.max,left:n.min}}function iw(n,t){if(!t)return n;const a=t({x:n.left,y:n.top}),o=t({x:n.right,y:n.bottom});return{top:a.y,left:a.x,bottom:o.y,right:o.x}}function dc(n){return n===void 0||n===1}function mc({scale:n,scaleX:t,scaleY:a}){return!dc(n)||!dc(t)||!dc(a)}function Xn(n){return mc(n)||vp(n)||n.z||n.rotate||n.rotateX||n.rotateY||n.skewX||n.skewY}function vp(n){return bp(n.x)||bp(n.y)}function bp(n){return n&&n!=="0%"}function ml(n,t,a){const o=n-a,r=t*o;return a+r}function Sp(n,t,a,o,r){return r!==void 0&&(n=ml(n,r,o)),ml(n,a,o)+t}function pc(n,t=0,a=1,o,r){n.min=Sp(n.min,t,a,o,r),n.max=Sp(n.max,t,a,o,r)}function xp(n,{x:t,y:a}){pc(n.x,t.translate,t.scale,t.originPoint),pc(n.y,a.translate,a.scale,a.originPoint)}const Tp=.999999999999,wp=1.0000000000001;function nw(n,t,a,o=!1){const r=a.length;if(!r)return;t.x=t.y=1;let u,c;for(let d=0;d<r;d++){u=a[d],c=u.projectionDelta;const{visualElement:m}=u.options;m&&m.props.style&&m.props.style.display==="contents"||(o&&u.options.layoutScroll&&u.scroll&&u!==u.root&&ks(n,{x:-u.scroll.offset.x,y:-u.scroll.offset.y}),c&&(t.x*=c.x.scale,t.y*=c.y.scale,xp(n,c)),o&&Xn(u.latestValues)&&ks(n,u.latestValues))}t.x<wp&&t.x>Tp&&(t.x=1),t.y<wp&&t.y>Tp&&(t.y=1)}function Ls(n,t){n.min=n.min+t,n.max=n.max+t}function Mp(n,t,a,o,r=.5){const u=Ut(n.min,n.max,r);pc(n,t,a,u,o)}function ks(n,t){Mp(n.x,t.x,t.scaleX,t.scale,t.originX),Mp(n.y,t.y,t.scaleY,t.scale,t.originY)}function _p(n,t){return gp(iw(n.getBoundingClientRect(),t))}function sw(n,t,a){const o=_p(n,a),{scroll:r}=t;return r&&(Ls(o.x,r.offset.x),Ls(o.y,r.offset.y)),o}const aw={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},ow=zs.length;function lw(n,t,a){let o="",r=!0;for(let u=0;u<ow;u++){const c=zs[u],d=n[c];if(d===void 0)continue;let m=!0;if(typeof d=="number")m=d===(c.startsWith("scale")?1:0);else{const p=parseFloat(d);m=c.startsWith("scale")?p===1:p===0}if(!m||a){const p=ep(d,ac[c]);if(!m){r=!1;const y=aw[c]||c;o+=`${y}(${p}) `}a&&(t[c]=p)}}return o=o.trim(),a?o=a(t,r?"":o):r&&(o="none"),o}function yc(n,t,a){const{style:o,vars:r,transformOrigin:u}=n;let c=!1,d=!1;for(const m in t){const p=t[m];if(Os.has(m)){c=!0;continue}else if(fm(m)){r[m]=p;continue}else{const y=ep(p,ac[m]);m.startsWith("origin")?(d=!0,u[m]=y):o[m]=y}}if(t.transform||(c||a?o.transform=lw(t,n.transform,a):o.transform&&(o.transform="none")),d){const{originX:m="50%",originY:p="50%",originZ:y=0}=u;o.transformOrigin=`${m} ${p} ${y}`}}function Cp(n,{style:t,vars:a},o,r){const u=n.style;let c;for(c in t)u[c]=t[c];r?.applyProjectionStyles(u,o);for(c in a)u.setProperty(c,a[c])}function Ep(n,t){return t.max===t.min?0:n/(t.max-t.min)*100}const Fa={correct:(n,t)=>{if(!t.target)return n;if(typeof n=="string")if($.test(n))n=parseFloat(n);else return n;const a=Ep(n,t.target.x),o=Ep(n,t.target.y);return`${a}% ${o}%`}},rw={correct:(n,{treeScale:t,projectionDelta:a})=>{const o=n,r=rn.parse(n);if(r.length>5)return o;const u=rn.createTransformer(n),c=typeof r[0]!="number"?1:0,d=a.x.scale*t.x,m=a.y.scale*t.y;r[0+c]/=d,r[1+c]/=m;const p=Ut(d,m,.5);return typeof r[2+c]=="number"&&(r[2+c]/=p),typeof r[3+c]=="number"&&(r[3+c]/=p),u(r)}},gc={borderRadius:{...Fa,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:Fa,borderTopRightRadius:Fa,borderBottomLeftRadius:Fa,borderBottomRightRadius:Fa,boxShadow:rw};function Ap(n,{layout:t,layoutId:a}){return Os.has(n)||n.startsWith("origin")||(t||a!==void 0)&&(!!gc[n]||n==="opacity")}function vc(n,t,a){const o=n.style,r=t?.style,u={};if(!o)return u;for(const c in o)(de(o[c])||r&&de(r[c])||Ap(c,n)||a?.getValue(c)?.liveStyle!==void 0)&&(u[c]=o[c]);return u}function uw(n){return window.getComputedStyle(n)}class cw extends yp{constructor(){super(...arguments),this.type="html",this.renderInstance=Cp}readValueFromInstance(t,a){if(Os.has(a))return this.projection?.isProjecting?Pu(a):G1(t,a);{const o=uw(t),r=(fm(a)?o.getPropertyValue(a):o[a])||0;return typeof r=="string"?r.trim():r}}measureInstanceViewportBox(t,{transformPagePoint:a}){return _p(t,a)}build(t,a,o){yc(t,a,o.transformTemplate)}scrapeMotionValuesFromProps(t,a,o){return vc(t,a,o)}}const fw={offset:"stroke-dashoffset",array:"stroke-dasharray"},hw={offset:"strokeDashoffset",array:"strokeDasharray"};function dw(n,t,a=1,o=0,r=!0){n.pathLength=1;const u=r?fw:hw;n[u.offset]=`${-o}`,n[u.array]=`${t} ${a}`}const mw=["offsetDistance","offsetPath","offsetRotate","offsetAnchor"];function Dp(n,{attrX:t,attrY:a,attrScale:o,pathLength:r,pathSpacing:u=1,pathOffset:c=0,...d},m,p,y){if(yc(n,d,p),m){n.style.viewBox&&(n.attrs.viewBox=n.style.viewBox);return}n.attrs=n.style,n.style={};const{attrs:v,style:S}=n;v.transform&&(S.transform=v.transform,delete v.transform),(S.transform||v.transformOrigin)&&(S.transformOrigin=v.transformOrigin??"50% 50%",delete v.transformOrigin),S.transform&&(S.transformBox=y?.transformBox??"fill-box",delete v.transformBox);for(const x of mw)v[x]!==void 0&&(S[x]=v[x],delete v[x]);t!==void 0&&(v.x=t),a!==void 0&&(v.y=a),o!==void 0&&(v.scale=o),r!==void 0&&dw(v,r,u,c,!1)}const zp=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"]),Op=n=>typeof n=="string"&&n.toLowerCase()==="svg";function pw(n,t,a,o){Cp(n,t,void 0,o);for(const r in t.attrs)n.setAttribute(zp.has(r)?r:ic(r),t.attrs[r])}function Rp(n,t,a){const o=vc(n,t,a);for(const r in n)if(de(n[r])||de(t[r])){const u=zs.indexOf(r)!==-1?"attr"+r.charAt(0).toUpperCase()+r.substring(1):r;o[u]=n[r]}return o}class yw extends yp{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=Wt}getBaseTargetFromProps(t,a){return t[a]}readValueFromInstance(t,a){if(Os.has(a)){const o=Wm(a);return o&&o.default||0}return a=zp.has(a)?a:ic(a),t.getAttribute(a)}scrapeMotionValuesFromProps(t,a,o){return Rp(t,a,o)}build(t,a,o){Dp(t,a,this.isSVGTag,o.transformTemplate,o.style)}renderInstance(t,a,o,r){pw(t,a,o,r)}mount(t){this.isSVGTag=Op(t.tagName),super.mount(t)}}const gw=hc.length;function Vp(n){if(!n)return;if(!n.isControllingVariants){const a=n.parent?Vp(n.parent)||{}:{};return n.props.initial!==void 0&&(a.initial=n.props.initial),a}const t={};for(let a=0;a<gw;a++){const o=hc[a],r=n.props[o];(Ka(r)||r===!1)&&(t[o]=r)}return t}function Bp(n,t){if(!Array.isArray(t))return!1;const a=t.length;if(a!==n.length)return!1;for(let o=0;o<a;o++)if(t[o]!==n[o])return!1;return!0}const vw=[...fc].reverse(),bw=fc.length;function Sw(n){return t=>Promise.all(t.map(({animation:a,options:o})=>Km(n,a,o)))}function xw(n){let t=Sw(n),a=Lp(),o=!0;const r=m=>(p,y)=>{const v=Rs(n,y,m==="exit"?n.presenceContext?.custom:void 0);if(v){const{transition:S,transitionEnd:x,...w}=v;p={...p,...w,...x}}return p};function u(m){t=m(n)}function c(m){const{props:p}=n,y=Vp(n.parent)||{},v=[],S=new Set;let x={},w=1/0;for(let A=0;A<bw;A++){const R=vw[A],L=a[R],B=p[R]!==void 0?p[R]:y[R],H=Ka(B),Y=R===m?L.isActive:null;Y===!1&&(w=A);let K=B===y[R]&&B!==p[R]&&H;if(K&&o&&n.manuallyAnimateOnMount&&(K=!1),L.protectedKeys={...x},!L.isActive&&Y===null||!B&&!L.prevProp||fl(B)||typeof B=="boolean")continue;const G=Tw(L.prevProp,B);let Q=G||R===m&&L.isActive&&!K&&H||A>w&&H,st=!1;const dt=Array.isArray(B)?B:[B];let Rt=dt.reduce(r(R),{});Y===!1&&(Rt={});const{prevResolvedValues:Lt={}}=L,qe={...Lt,...Rt},Ee=P=>{Q=!0,S.has(P)&&(st=!0,S.delete(P)),L.needsAnimating[P]=!0;const W=n.getValue(P);W&&(W.liveStyle=!1)};for(const P in qe){const W=Rt[P],mt=Lt[P];if(x.hasOwnProperty(P))continue;let vt=!1;Wu(W)&&Wu(mt)?vt=!Bp(W,mt):vt=W!==mt,vt?W!=null?Ee(P):S.add(P):W!==void 0&&S.has(P)?Ee(P):L.protectedKeys[P]=!0}L.prevProp=B,L.prevResolvedValues=Rt,L.isActive&&(x={...x,...Rt}),o&&n.blockInitialAnimation&&(Q=!1);const Ae=K&&G;Q&&(!Ae||st)&&v.push(...dt.map(P=>{const W={type:R};if(typeof P=="string"&&o&&!Ae&&n.manuallyAnimateOnMount&&n.parent){const{parent:mt}=n,vt=Rs(mt,P);if(mt.enteringChildren&&vt){const{delayChildren:_}=vt.transition||{};W.delay=qm(mt.enteringChildren,n,_)}}return{animation:P,options:W}}))}if(S.size){const A={};if(typeof p.initial!="boolean"){const R=Rs(n,Array.isArray(p.initial)?p.initial[0]:p.initial);R&&R.transition&&(A.transition=R.transition)}S.forEach(R=>{const L=n.getBaseTarget(R),B=n.getValue(R);B&&(B.liveStyle=!0),A[R]=L??null}),v.push({animation:A})}let C=!!v.length;return o&&(p.initial===!1||p.initial===p.animate)&&!n.manuallyAnimateOnMount&&(C=!1),o=!1,C?t(v):Promise.resolve()}function d(m,p){if(a[m].isActive===p)return Promise.resolve();n.variantChildren?.forEach(v=>v.animationState?.setActive(m,p)),a[m].isActive=p;const y=c(m);for(const v in a)a[v].protectedKeys={};return y}return{animateChanges:c,setActive:d,setAnimateFunction:u,getState:()=>a,reset:()=>{a=Lp()}}}function Tw(n,t){return typeof t=="string"?t!==n:Array.isArray(t)?!Bp(t,n):!1}function Qn(n=!1){return{isActive:n,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function Lp(){return{animate:Qn(!0),whileInView:Qn(),whileHover:Qn(),whileTap:Qn(),whileDrag:Qn(),whileFocus:Qn(),exit:Qn()}}function kp(n,t){n.min=t.min,n.max=t.max}function pi(n,t){kp(n.x,t.x),kp(n.y,t.y)}function Up(n,t){n.translate=t.translate,n.scale=t.scale,n.originPoint=t.originPoint,n.origin=t.origin}const Np=1e-4,ww=1-Np,Mw=1+Np,Hp=.01,_w=0-Hp,Cw=0+Hp;function xe(n){return n.max-n.min}function Ew(n,t,a){return Math.abs(n-t)<=a}function qp(n,t,a,o=.5){n.origin=o,n.originPoint=Ut(t.min,t.max,n.origin),n.scale=xe(a)/xe(t),n.translate=Ut(a.min,a.max,n.origin)-n.originPoint,(n.scale>=ww&&n.scale<=Mw||isNaN(n.scale))&&(n.scale=1),(n.translate>=_w&&n.translate<=Cw||isNaN(n.translate))&&(n.translate=0)}function Ja(n,t,a,o){qp(n.x,t.x,a.x,o?o.originX:void 0),qp(n.y,t.y,a.y,o?o.originY:void 0)}function jp(n,t,a){n.min=a.min+t.min,n.max=n.min+xe(t)}function Aw(n,t,a){jp(n.x,t.x,a.x),jp(n.y,t.y,a.y)}function Pp(n,t,a){n.min=t.min-a.min,n.max=n.min+xe(t)}function pl(n,t,a){Pp(n.x,t.x,a.x),Pp(n.y,t.y,a.y)}function Yp(n,t,a,o,r){return n-=t,n=ml(n,1/a,o),r!==void 0&&(n=ml(n,1/r,o)),n}function Dw(n,t=0,a=1,o=.5,r,u=n,c=n){if(Ei.test(t)&&(t=parseFloat(t),t=Ut(c.min,c.max,t/100)-c.min),typeof t!="number")return;let d=Ut(u.min,u.max,o);n===u&&(d-=t),n.min=Yp(n.min,t,a,d,r),n.max=Yp(n.max,t,a,d,r)}function Gp(n,t,[a,o,r],u,c){Dw(n,t[a],t[o],t[r],t.scale,u,c)}const zw=["x","scaleX","originX"],Ow=["y","scaleY","originY"];function Xp(n,t,a,o){Gp(n.x,t,zw,a?a.x:void 0,o?o.x:void 0),Gp(n.y,t,Ow,a?a.y:void 0,o?o.y:void 0)}function Qp(n){return n.translate===0&&n.scale===1}function Zp(n){return Qp(n.x)&&Qp(n.y)}function Kp(n,t){return n.min===t.min&&n.max===t.max}function Rw(n,t){return Kp(n.x,t.x)&&Kp(n.y,t.y)}function Fp(n,t){return Math.round(n.min)===Math.round(t.min)&&Math.round(n.max)===Math.round(t.max)}function Jp(n,t){return Fp(n.x,t.x)&&Fp(n.y,t.y)}function $p(n){return xe(n.x)/xe(n.y)}function Ip(n,t){return n.translate===t.translate&&n.scale===t.scale&&n.originPoint===t.originPoint}function We(n){return[n("x"),n("y")]}function Vw(n,t,a){let o="";const r=n.x.translate/t.x,u=n.y.translate/t.y,c=a?.z||0;if((r||u||c)&&(o=`translate3d(${r}px, ${u}px, ${c}px) `),(t.x!==1||t.y!==1)&&(o+=`scale(${1/t.x}, ${1/t.y}) `),a){const{transformPerspective:p,rotate:y,rotateX:v,rotateY:S,skewX:x,skewY:w}=a;p&&(o=`perspective(${p}px) ${o}`),y&&(o+=`rotate(${y}deg) `),v&&(o+=`rotateX(${v}deg) `),S&&(o+=`rotateY(${S}deg) `),x&&(o+=`skewX(${x}deg) `),w&&(o+=`skewY(${w}deg) `)}const d=n.x.scale*t.x,m=n.y.scale*t.y;return(d!==1||m!==1)&&(o+=`scale(${d}, ${m})`),o||"none"}const Wp=["TopLeft","TopRight","BottomLeft","BottomRight"],Bw=Wp.length,ty=n=>typeof n=="string"?parseFloat(n):n,ey=n=>typeof n=="number"||$.test(n);function Lw(n,t,a,o,r,u){r?(n.opacity=Ut(0,a.opacity??1,kw(o)),n.opacityExit=Ut(t.opacity??1,0,Uw(o))):u&&(n.opacity=Ut(t.opacity??1,a.opacity??1,o));for(let c=0;c<Bw;c++){const d=`border${Wp[c]}Radius`;let m=iy(t,d),p=iy(a,d);if(m===void 0&&p===void 0)continue;m||(m=0),p||(p=0),m===0||p===0||ey(m)===ey(p)?(n[d]=Math.max(Ut(ty(m),ty(p),o),0),(Ei.test(p)||Ei.test(m))&&(n[d]+="%")):n[d]=p}(t.rotate||a.rotate)&&(n.rotate=Ut(t.rotate||0,a.rotate||0,o))}function iy(n,t){return n[t]!==void 0?n[t]:n.borderRadius}const kw=ny(0,.5,sm),Uw=ny(.5,.95,$e);function ny(n,t,a){return o=>o<n?0:o>t?1:a(qa(n,t,o))}function Nw(n,t,a){const o=de(n)?n:Vs(n);return o.start($u("",o,t,a)),o.animation}function $a(n,t,a,o={passive:!0}){return n.addEventListener(t,a,o),()=>n.removeEventListener(t,a)}const Hw=(n,t)=>n.depth-t.depth;class qw{constructor(){this.children=[],this.isDirty=!1}add(t){yu(this.children,t),this.isDirty=!0}remove(t){gu(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(Hw),this.isDirty=!1,this.children.forEach(t)}}function jw(n,t){const a=Se.now(),o=({timestamp:r})=>{const u=r-a;u>=t&&(on(o),n(u-t))};return Ot.setup(o,!0),()=>on(o)}function yl(n){return de(n)?n.get():n}class Pw{constructor(){this.members=[]}add(t){yu(this.members,t),t.scheduleRender()}remove(t){if(gu(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){const a=this.members[this.members.length-1];a&&this.promote(a)}}relegate(t){const a=this.members.findIndex(r=>t===r);if(a===0)return!1;let o;for(let r=a;r>=0;r--){const u=this.members[r];if(u.isPresent!==!1){o=u;break}}return o?(this.promote(o),!0):!1}promote(t,a){const o=this.lead;if(t!==o&&(this.prevLead=o,this.lead=t,t.show(),o)){o.instance&&o.scheduleRender(),t.scheduleRender(),t.resumeFrom=o,a&&(t.resumeFrom.preserveOpacity=!0),o.snapshot&&(t.snapshot=o.snapshot,t.snapshot.latestValues=o.animationValues||o.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0);const{crossfade:r}=t.options;r===!1&&o.hide()}}exitAnimationComplete(){this.members.forEach(t=>{const{options:a,resumingFrom:o}=t;a.onExitComplete&&a.onExitComplete(),o&&o.options.onExitComplete&&o.options.onExitComplete()})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}const gl={hasAnimatedSinceResize:!0,hasEverUpdated:!1},bc=["","X","Y","Z"],Yw=1e3;let Gw=0;function Sc(n,t,a,o){const{latestValues:r}=t;r[n]&&(a[n]=r[n],t.setStaticValue(n,0),o&&(o[n]=0))}function sy(n){if(n.hasCheckedOptimisedAppear=!0,n.root===n)return;const{visualElement:t}=n.options;if(!t)return;const a=Qm(t);if(window.MotionHasOptimisedAnimation(a,"transform")){const{layout:r,layoutId:u}=n.options;window.MotionCancelOptimisedAnimation(a,"transform",Ot,!(r||u))}const{parent:o}=n;o&&!o.hasCheckedOptimisedAppear&&sy(o)}function ay({attachResizeListener:n,defaultParent:t,measureScroll:a,checkIsScrollRoot:o,resetTransform:r}){return class{constructor(c={},d=t?.()){this.id=Gw++,this.animationId=0,this.animationCommitId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.layoutVersion=0,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,this.nodes.forEach(Zw),this.nodes.forEach($w),this.nodes.forEach(Iw),this.nodes.forEach(Kw)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=c,this.root=d?d.root||d:this,this.path=d?[...d.path,d]:[],this.parent=d,this.depth=d?d.depth+1:0;for(let m=0;m<this.path.length;m++)this.path[m].shouldResetTransform=!0;this.root===this&&(this.nodes=new qw)}addEventListener(c,d){return this.eventHandlers.has(c)||this.eventHandlers.set(c,new Su),this.eventHandlers.get(c).add(d)}notifyListeners(c,...d){const m=this.eventHandlers.get(c);m&&m.notify(...d)}hasListeners(c){return this.eventHandlers.has(c)}mount(c){if(this.instance)return;this.isSVG=up(c)&&!QT(c),this.instance=c;const{layoutId:d,layout:m,visualElement:p}=this.options;if(p&&!p.current&&p.mount(c),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(m||d)&&(this.isLayoutDirty=!0),n){let y,v=0;const S=()=>this.root.updateBlockedByResize=!1;Ot.read(()=>{v=window.innerWidth}),n(c,()=>{const x=window.innerWidth;x!==v&&(v=x,this.root.updateBlockedByResize=!0,y&&y(),y=jw(S,250),gl.hasAnimatedSinceResize&&(gl.hasAnimatedSinceResize=!1,this.nodes.forEach(ry)))})}d&&this.root.registerSharedNode(d,this),this.options.animate!==!1&&p&&(d||m)&&this.addEventListener("didUpdate",({delta:y,hasLayoutChanged:v,hasRelativeLayoutChanged:S,layout:x})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const w=this.options.transition||p.getDefaultTransition()||nM,{onLayoutAnimationStart:C,onLayoutAnimationComplete:A}=p.getProps(),R=!this.targetLayout||!Jp(this.targetLayout,x),L=!v&&S;if(this.options.layoutRoot||this.resumeFrom||L||v&&(R||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);const B={...Ju(w,"layout"),onPlay:C,onComplete:A};(p.shouldReduceMotion||this.options.layoutRoot)&&(B.delay=0,B.type=!1),this.startAnimation(B),this.setAnimationOrigin(y,L)}else v||ry(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=x})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const c=this.getStack();c&&c.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),on(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(Ww),this.animationId++)}getTransformTemplate(){const{visualElement:c}=this.options;return c&&c.getProps().transformTemplate}willUpdate(c=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&sy(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let y=0;y<this.path.length;y++){const v=this.path[y];v.shouldResetTransform=!0,v.updateScroll("snapshot"),v.options.layoutRoot&&v.willUpdate(!1)}const{layoutId:d,layout:m}=this.options;if(d===void 0&&!m)return;const p=this.getTransformTemplate();this.prevTransformTemplateValue=p?p(this.latestValues,""):void 0,this.updateSnapshot(),c&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(oy);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(ly);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(Jw),this.nodes.forEach(Xw),this.nodes.forEach(Qw)):this.nodes.forEach(ly),this.clearAllSnapshots();const d=Se.now();ae.delta=Ci(0,1e3/60,d-ae.timestamp),ae.timestamp=d,ae.isProcessing=!0,wu.update.process(ae),wu.preRender.process(ae),wu.render.process(ae),ae.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,lc.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(Fw),this.sharedNodes.forEach(tM)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,Ot.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){Ot.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!xe(this.snapshot.measuredBox.x)&&!xe(this.snapshot.measuredBox.y)&&(this.snapshot=void 0))}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let m=0;m<this.path.length;m++)this.path[m].updateScroll();const c=this.layout;this.layout=this.measure(!1),this.layoutVersion++,this.layoutCorrected=Wt(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:d}=this.options;d&&d.notify("LayoutMeasure",this.layout.layoutBox,c?c.layoutBox:void 0)}updateScroll(c="measure"){let d=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===c&&(d=!1),d&&this.instance){const m=o(this.instance);this.scroll={animationId:this.root.animationId,phase:c,isRoot:m,offset:a(this.instance),wasRoot:this.scroll?this.scroll.isRoot:m}}}resetTransform(){if(!r)return;const c=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,d=this.projectionDelta&&!Zp(this.projectionDelta),m=this.getTransformTemplate(),p=m?m(this.latestValues,""):void 0,y=p!==this.prevTransformTemplateValue;c&&this.instance&&(d||Xn(this.latestValues)||y)&&(r(this.instance,p),this.shouldResetTransform=!1,this.scheduleRender())}measure(c=!0){const d=this.measurePageBox();let m=this.removeElementScroll(d);return c&&(m=this.removeTransform(m)),sM(m),{animationId:this.root.animationId,measuredBox:d,layoutBox:m,latestValues:{},source:this.id}}measurePageBox(){const{visualElement:c}=this.options;if(!c)return Wt();const d=c.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(aM))){const{scroll:p}=this.root;p&&(Ls(d.x,p.offset.x),Ls(d.y,p.offset.y))}return d}removeElementScroll(c){const d=Wt();if(pi(d,c),this.scroll?.wasRoot)return d;for(let m=0;m<this.path.length;m++){const p=this.path[m],{scroll:y,options:v}=p;p!==this.root&&y&&v.layoutScroll&&(y.wasRoot&&pi(d,c),Ls(d.x,y.offset.x),Ls(d.y,y.offset.y))}return d}applyTransform(c,d=!1){const m=Wt();pi(m,c);for(let p=0;p<this.path.length;p++){const y=this.path[p];!d&&y.options.layoutScroll&&y.scroll&&y!==y.root&&ks(m,{x:-y.scroll.offset.x,y:-y.scroll.offset.y}),Xn(y.latestValues)&&ks(m,y.latestValues)}return Xn(this.latestValues)&&ks(m,this.latestValues),m}removeTransform(c){const d=Wt();pi(d,c);for(let m=0;m<this.path.length;m++){const p=this.path[m];if(!p.instance||!Xn(p.latestValues))continue;mc(p.latestValues)&&p.updateSnapshot();const y=Wt(),v=p.measurePageBox();pi(y,v),Xp(d,p.latestValues,p.snapshot?p.snapshot.layoutBox:void 0,y)}return Xn(this.latestValues)&&Xp(d,this.latestValues),d}setTargetDelta(c){this.targetDelta=c,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(c){this.options={...this.options,...c,crossfade:c.crossfade!==void 0?c.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!==ae.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(c=!1){const d=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=d.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=d.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=d.isSharedProjectionDirty);const m=!!this.resumingFrom||this!==d;if(!(c||m&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:y,layoutId:v}=this.options;if(!this.layout||!(y||v))return;this.resolvedRelativeTargetAt=ae.timestamp;const S=this.getClosestProjectingParent();S&&this.linkedParentVersion!==S.layoutVersion&&!S.options.layoutRoot&&this.removeRelativeTarget(),!this.targetDelta&&!this.relativeTarget&&(S&&S.layout?this.createRelativeTarget(S,this.layout.layoutBox,S.layout.layoutBox):this.removeRelativeTarget()),!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=Wt(),this.targetWithTransforms=Wt()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),Aw(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):pi(this.target,this.layout.layoutBox),xp(this.target,this.targetDelta)):pi(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,S&&!!S.resumingFrom==!!this.resumingFrom&&!S.options.layoutScroll&&S.target&&this.animationProgress!==1?this.createRelativeTarget(S,this.target,S.target):this.relativeParent=this.relativeTarget=void 0))}getClosestProjectingParent(){if(!(!this.parent||mc(this.parent.latestValues)||vp(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}createRelativeTarget(c,d,m){this.relativeParent=c,this.linkedParentVersion=c.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=Wt(),this.relativeTargetOrigin=Wt(),pl(this.relativeTargetOrigin,d,m),pi(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){const c=this.getLead(),d=!!this.resumingFrom||this!==c;let m=!0;if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(m=!1),d&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(m=!1),this.resolvedRelativeTargetAt===ae.timestamp&&(m=!1),m)return;const{layout:p,layoutId:y}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(p||y))return;pi(this.layoutCorrected,this.layout.layoutBox);const v=this.treeScale.x,S=this.treeScale.y;nw(this.layoutCorrected,this.treeScale,this.path,d),c.layout&&!c.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(c.target=c.layout.layoutBox,c.targetWithTransforms=Wt());const{target:x}=c;if(!x){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(Up(this.prevProjectionDelta.x,this.projectionDelta.x),Up(this.prevProjectionDelta.y,this.projectionDelta.y)),Ja(this.projectionDelta,this.layoutCorrected,x,this.latestValues),(this.treeScale.x!==v||this.treeScale.y!==S||!Ip(this.projectionDelta.x,this.prevProjectionDelta.x)||!Ip(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",x))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(c=!0){if(this.options.visualElement?.scheduleRender(),c){const d=this.getStack();d&&d.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=Bs(),this.projectionDelta=Bs(),this.projectionDeltaWithTransform=Bs()}setAnimationOrigin(c,d=!1){const m=this.snapshot,p=m?m.latestValues:{},y={...this.latestValues},v=Bs();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!d;const S=Wt(),x=m?m.source:void 0,w=this.layout?this.layout.source:void 0,C=x!==w,A=this.getStack(),R=!A||A.members.length<=1,L=!!(C&&!R&&this.options.crossfade===!0&&!this.path.some(iM));this.animationProgress=0;let B;this.mixTargetDelta=H=>{const Y=H/1e3;uy(v.x,c.x,Y),uy(v.y,c.y,Y),this.setTargetDelta(v),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(pl(S,this.layout.layoutBox,this.relativeParent.layout.layoutBox),eM(this.relativeTarget,this.relativeTargetOrigin,S,Y),B&&Rw(this.relativeTarget,B)&&(this.isProjectionDirty=!1),B||(B=Wt()),pi(B,this.relativeTarget)),C&&(this.animationValues=y,Lw(y,p,this.latestValues,Y,L,R)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=Y},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(c){this.notifyListeners("animationStart"),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&(on(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=Ot.update(()=>{gl.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=Vs(0)),this.currentAnimation=Nw(this.motionValue,[0,1e3],{...c,velocity:0,isSync:!0,onUpdate:d=>{this.mixTargetDelta(d),c.onUpdate&&c.onUpdate(d)},onStop:()=>{},onComplete:()=>{c.onComplete&&c.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 c=this.getStack();c&&c.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(Yw),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const c=this.getLead();let{targetWithTransforms:d,target:m,layout:p,latestValues:y}=c;if(!(!d||!m||!p)){if(this!==c&&this.layout&&p&&my(this.options.animationType,this.layout.layoutBox,p.layoutBox)){m=this.target||Wt();const v=xe(this.layout.layoutBox.x);m.x.min=c.target.x.min,m.x.max=m.x.min+v;const S=xe(this.layout.layoutBox.y);m.y.min=c.target.y.min,m.y.max=m.y.min+S}pi(d,m),ks(d,y),Ja(this.projectionDeltaWithTransform,this.layoutCorrected,d,y)}}registerSharedNode(c,d){this.sharedNodes.has(c)||this.sharedNodes.set(c,new Pw),this.sharedNodes.get(c).add(d);const p=d.options.initialPromotionConfig;d.promote({transition:p?p.transition:void 0,preserveFollowOpacity:p&&p.shouldPreserveFollowOpacity?p.shouldPreserveFollowOpacity(d):void 0})}isLead(){const c=this.getStack();return c?c.lead===this:!0}getLead(){const{layoutId:c}=this.options;return c?this.getStack()?.lead||this:this}getPrevLead(){const{layoutId:c}=this.options;return c?this.getStack()?.prevLead:void 0}getStack(){const{layoutId:c}=this.options;if(c)return this.root.sharedNodes.get(c)}promote({needsReset:c,transition:d,preserveFollowOpacity:m}={}){const p=this.getStack();p&&p.promote(this,m),c&&(this.projectionDelta=void 0,this.needsReset=!0),d&&this.setOptions({transition:d})}relegate(){const c=this.getStack();return c?c.relegate(this):!1}resetSkewAndRotation(){const{visualElement:c}=this.options;if(!c)return;let d=!1;const{latestValues:m}=c;if((m.z||m.rotate||m.rotateX||m.rotateY||m.rotateZ||m.skewX||m.skewY)&&(d=!0),!d)return;const p={};m.z&&Sc("z",c,p,this.animationValues);for(let y=0;y<bc.length;y++)Sc(`rotate${bc[y]}`,c,p,this.animationValues),Sc(`skew${bc[y]}`,c,p,this.animationValues);c.render();for(const y in p)c.setStaticValue(y,p[y]),this.animationValues&&(this.animationValues[y]=p[y]);c.scheduleRender()}applyProjectionStyles(c,d){if(!this.instance||this.isSVG)return;if(!this.isVisible){c.visibility="hidden";return}const m=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,c.visibility="",c.opacity="",c.pointerEvents=yl(d?.pointerEvents)||"",c.transform=m?m(this.latestValues,""):"none";return}const p=this.getLead();if(!this.projectionDelta||!this.layout||!p.target){this.options.layoutId&&(c.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,c.pointerEvents=yl(d?.pointerEvents)||""),this.hasProjected&&!Xn(this.latestValues)&&(c.transform=m?m({},""):"none",this.hasProjected=!1);return}c.visibility="";const y=p.animationValues||p.latestValues;this.applyTransformsToTarget();let v=Vw(this.projectionDeltaWithTransform,this.treeScale,y);m&&(v=m(y,v)),c.transform=v;const{x:S,y:x}=this.projectionDelta;c.transformOrigin=`${S.origin*100}% ${x.origin*100}% 0`,p.animationValues?c.opacity=p===this?y.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:y.opacityExit:c.opacity=p===this?y.opacity!==void 0?y.opacity:"":y.opacityExit!==void 0?y.opacityExit:0;for(const w in gc){if(y[w]===void 0)continue;const{correct:C,applyTo:A,isCSSVariable:R}=gc[w],L=v==="none"?y[w]:C(y[w],p);if(A){const B=A.length;for(let H=0;H<B;H++)c[A[H]]=L}else R?this.options.visualElement.renderState.vars[w]=L:c[w]=L}this.options.layoutId&&(c.pointerEvents=p===this?yl(d?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(c=>c.currentAnimation?.stop()),this.root.nodes.forEach(oy),this.root.sharedNodes.clear()}}}function Xw(n){n.updateLayout()}function Qw(n){const t=n.resumeFrom?.snapshot||n.snapshot;if(n.isLead()&&n.layout&&t&&n.hasListeners("didUpdate")){const{layoutBox:a,measuredBox:o}=n.layout,{animationType:r}=n.options,u=t.source!==n.layout.source;r==="size"?We(y=>{const v=u?t.measuredBox[y]:t.layoutBox[y],S=xe(v);v.min=a[y].min,v.max=v.min+S}):my(r,t.layoutBox,a)&&We(y=>{const v=u?t.measuredBox[y]:t.layoutBox[y],S=xe(a[y]);v.max=v.min+S,n.relativeTarget&&!n.currentAnimation&&(n.isProjectionDirty=!0,n.relativeTarget[y].max=n.relativeTarget[y].min+S)});const c=Bs();Ja(c,a,t.layoutBox);const d=Bs();u?Ja(d,n.applyTransform(o,!0),t.measuredBox):Ja(d,a,t.layoutBox);const m=!Zp(c);let p=!1;if(!n.resumeFrom){const y=n.getClosestProjectingParent();if(y&&!y.resumeFrom){const{snapshot:v,layout:S}=y;if(v&&S){const x=Wt();pl(x,t.layoutBox,v.layoutBox);const w=Wt();pl(w,a,S.layoutBox),Jp(x,w)||(p=!0),y.options.layoutRoot&&(n.relativeTarget=w,n.relativeTargetOrigin=x,n.relativeParent=y)}}}n.notifyListeners("didUpdate",{layout:a,snapshot:t,delta:d,layoutDelta:c,hasLayoutChanged:m,hasRelativeLayoutChanged:p})}else if(n.isLead()){const{onExitComplete:a}=n.options;a&&a()}n.options.transition=void 0}function Zw(n){n.parent&&(n.isProjecting()||(n.isProjectionDirty=n.parent.isProjectionDirty),n.isSharedProjectionDirty||(n.isSharedProjectionDirty=!!(n.isProjectionDirty||n.parent.isProjectionDirty||n.parent.isSharedProjectionDirty)),n.isTransformDirty||(n.isTransformDirty=n.parent.isTransformDirty))}function Kw(n){n.isProjectionDirty=n.isSharedProjectionDirty=n.isTransformDirty=!1}function Fw(n){n.clearSnapshot()}function oy(n){n.clearMeasurements()}function ly(n){n.isLayoutDirty=!1}function Jw(n){const{visualElement:t}=n.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),n.resetTransform()}function ry(n){n.finishAnimation(),n.targetDelta=n.relativeTarget=n.target=void 0,n.isProjectionDirty=!0}function $w(n){n.resolveTargetDelta()}function Iw(n){n.calcProjection()}function Ww(n){n.resetSkewAndRotation()}function tM(n){n.removeLeadSnapshot()}function uy(n,t,a){n.translate=Ut(t.translate,0,a),n.scale=Ut(t.scale,1,a),n.origin=t.origin,n.originPoint=t.originPoint}function cy(n,t,a,o){n.min=Ut(t.min,a.min,o),n.max=Ut(t.max,a.max,o)}function eM(n,t,a,o){cy(n.x,t.x,a.x,o),cy(n.y,t.y,a.y,o)}function iM(n){return n.animationValues&&n.animationValues.opacityExit!==void 0}const nM={duration:.45,ease:[.4,0,.1,1]},fy=n=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(n),hy=fy("applewebkit/")&&!fy("chrome/")?Math.round:$e;function dy(n){n.min=hy(n.min),n.max=hy(n.max)}function sM(n){dy(n.x),dy(n.y)}function my(n,t,a){return n==="position"||n==="preserve-aspect"&&!Ew($p(t),$p(a),.2)}function aM(n){return n!==n.root&&n.scroll?.wasRoot}const oM=ay({attachResizeListener:(n,t)=>$a(n,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body?.scrollLeft||0,y:document.documentElement.scrollTop||document.body?.scrollTop||0}),checkIsScrollRoot:()=>!0}),xc={current:void 0},py=ay({measureScroll:n=>({x:n.scrollLeft,y:n.scrollTop}),defaultParent:()=>{if(!xc.current){const n=new oM({});n.mount(window),n.setOptions({layoutScroll:!0}),xc.current=n}return xc.current},resetTransform:(n,t)=>{n.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:n=>window.getComputedStyle(n).position==="fixed"}),Tc=F.createContext({transformPagePoint:n=>n,isStatic:!1,reducedMotion:"never"});function yy(n,t){if(typeof n=="function")return n(t);n!=null&&(n.current=t)}function lM(...n){return t=>{let a=!1;const o=n.map(r=>{const u=yy(r,t);return!a&&typeof u=="function"&&(a=!0),u});if(a)return()=>{for(let r=0;r<o.length;r++){const u=o[r];typeof u=="function"?u():yy(n[r],null)}}}}function rM(...n){return F.useCallback(lM(...n),n)}class uM extends F.Component{getSnapshotBeforeUpdate(t){const a=this.props.childRef.current;if(a&&t.isPresent&&!this.props.isPresent){const o=a.offsetParent,r=oc(o)&&o.offsetWidth||0,u=oc(o)&&o.offsetHeight||0,c=this.props.sizeRef.current;c.height=a.offsetHeight||0,c.width=a.offsetWidth||0,c.top=a.offsetTop,c.left=a.offsetLeft,c.right=r-c.width-c.left,c.bottom=u-c.height-c.top}return null}componentDidUpdate(){}render(){return this.props.children}}function cM({children:n,isPresent:t,anchorX:a,anchorY:o,root:r}){const u=F.useId(),c=F.useRef(null),d=F.useRef({width:0,height:0,top:0,left:0,right:0,bottom:0}),{nonce:m}=F.useContext(Tc),p=n.props?.ref??n?.ref,y=rM(c,p);return F.useInsertionEffect(()=>{const{width:v,height:S,top:x,left:w,right:C,bottom:A}=d.current;if(t||!c.current||!v||!S)return;const R=a==="left"?`left: ${w}`:`right: ${C}`,L=o==="bottom"?`bottom: ${A}`:`top: ${x}`;c.current.dataset.motionPopId=u;const B=document.createElement("style");m&&(B.nonce=m);const H=r??document.head;return H.appendChild(B),B.sheet&&B.sheet.insertRule(`
10
+ [data-motion-pop-id="${u}"] {
245
11
  position: absolute !important;
246
- width: ${_}px !important;
247
- height: ${w}px !important;
248
- ${$}px !important;
249
- ${le}px !important;
12
+ width: ${v}px !important;
13
+ height: ${S}px !important;
14
+ ${R}px !important;
15
+ ${L}px !important;
250
16
  }
251
- `),()=>{oe.contains(ee)&&oe.removeChild(ee)}},[n]),_s.jsx(q4,{isPresent:n,childRef:y,sizeRef:S,children:Ce.cloneElement(o,{ref:x})})}const G4=({children:o,initial:n,isPresent:u,onExitComplete:c,custom:h,presenceAffectsLayout:p,mode:y,anchorX:S,anchorY:E,root:A})=>{const x=sb(k4),_=Ce.useId();let w=!0,z=Ce.useMemo(()=>(w=!1,{id:_,initial:n,isPresent:u,custom:h,onExitComplete:V=>{x.set(V,!0);for(const X of x.values())if(!X)return;c&&c()},register:V=>(x.set(V,!1),()=>x.delete(V))}),[u,x,c]);return p&&w&&(z={...z}),Ce.useMemo(()=>{x.forEach((V,X)=>x.set(X,!1))},[u]),Ce.useEffect(()=>{!u&&!x.size&&c&&c()},[u]),y==="popLayout"&&(o=_s.jsx(Y4,{isPresent:u,anchorX:S,anchorY:E,root:A,children:o})),_s.jsx(ub.Provider,{value:z,children:o})};function k4(){return new Map}function Hw(o=!0){const n=Ce.useContext(ub);if(n===null)return[!0,null];const{isPresent:u,onExitComplete:c,register:h}=n,p=Ce.useId();Ce.useEffect(()=>{if(o)return h(p)},[o]);const y=Ce.useCallback(()=>o&&c&&c(p),[p,c,o]);return!u&&c?[!1,y]:[!0]}const Ab=o=>o.key||"";function Lw(o){const n=[];return Ce.Children.forEach(o,u=>{Ce.isValidElement(u)&&n.push(u)}),n}const X4=({children:o,custom:n,initial:u=!0,onExitComplete:c,presenceAffectsLayout:h=!0,mode:p="sync",propagate:y=!1,anchorX:S="left",anchorY:E="top",root:A})=>{const[x,_]=Hw(y),w=Ce.useMemo(()=>Lw(o),[o]),z=y&&!x?[]:w.map(Ab),V=Ce.useRef(!0),X=Ce.useRef(w),Q=sb(()=>new Map),$=Ce.useRef(new Set),[le,ee]=Ce.useState(w),[oe,ye]=Ce.useState(w);vT(()=>{V.current=!1,X.current=w;for(let he=0;he<oe.length;he++){const Re=Ab(oe[he]);z.includes(Re)?(Q.delete(Re),$.current.delete(Re)):Q.get(Re)!==!0&&Q.set(Re,!1)}},[oe,z.length,z.join("-")]);const xe=[];if(w!==le){let he=[...w];for(let Re=0;Re<oe.length;Re++){const be=oe[Re],ot=Ab(be);z.includes(ot)||(he.splice(Re,0,be),xe.push(be))}return p==="wait"&&xe.length&&(he=xe),ye(Lw(he)),ee(w),null}process.env.NODE_ENV!=="production"&&p==="wait"&&oe.length>1&&console.warn(`You're attempting to animate multiple children within AnimatePresence, but its mode is set to "wait". This will lead to odd visual behaviour.`);const{forceRender:ve}=Ce.useContext(gT);return _s.jsx(_s.Fragment,{children:oe.map(he=>{const Re=Ab(he),be=y&&!x?!1:w===oe||z.includes(Re),ot=()=>{if($.current.has(Re))return;if($.current.add(Re),Q.has(Re))Q.set(Re,!0);else return;let we=!0;Q.forEach(Qe=>{Qe||(we=!1)}),we&&(ve?.(),ye(X.current),y&&_?.(),c&&c())};return _s.jsx(G4,{isPresent:be,initial:!V.current||u?void 0:!1,custom:n,presenceAffectsLayout:h,mode:p,root:A,onExitComplete:be?void 0:ot,anchorX:S,anchorY:E,children:he},Re)})})},Nw=Ce.createContext({strict:!1}),jw={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]};let qw=!1;function Q4(){if(qw)return;const o={};for(const n in jw)o[n]={isEnabled:u=>jw[n].some(c=>!!u[c])};BD(o),qw=!0}function Yw(){return Q4(),M3()}function Z4(o){const n=Yw();for(const u in o)n[u]={...n[u],...o[u]};BD(n)}const J4=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 xb(o){return o.startsWith("while")||o.startsWith("drag")&&o!=="draggable"||o.startsWith("layout")||o.startsWith("onTap")||o.startsWith("onPan")||o.startsWith("onLayout")||J4.has(o)}let Gw=o=>!xb(o);function $4(o){typeof o=="function"&&(Gw=n=>n.startsWith("on")?!xb(n):o(n))}try{$4(require("@emotion/is-prop-valid").default)}catch{}function K4(o,n,u){const c={};for(const h in o)h==="values"&&typeof o.values=="object"||(Gw(h)||u===!0&&xb(h)||!n&&!xb(h)||o.draggable&&h.startsWith("onDrag"))&&(c[h]=o[h]);return c}const _b=Ce.createContext({});function P4(o,n){if(gb(o)){const{initial:u,animate:c}=o;return{initial:u===!1||Jy(u)?u:void 0,animate:Jy(c)?c:void 0}}return o.inherit!==!1?n:{}}function F4(o){const{initial:n,animate:u}=P4(o,Ce.useContext(_b));return Ce.useMemo(()=>({initial:n,animate:u}),[kw(n),kw(u)])}function kw(o){return Array.isArray(o)?o.join(" "):o}const wE=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function Xw(o,n,u){for(const c in n)!Ki(n[c])&&!JD(c,u)&&(o[c]=n[c])}function W4({transformTemplate:o},n){return Ce.useMemo(()=>{const u=wE();return SE(u,n,o),Object.assign({},u.vars,u.style)},[n])}function I4(o,n){const u=o.style||{},c={};return Xw(c,u,o),Object.assign(c,W4(o,n)),c}function eU(o,n){const u={},c=I4(o,n);return o.drag&&o.dragListener!==!1&&(u.draggable=!1,c.userSelect=c.WebkitUserSelect=c.WebkitTouchCallout="none",c.touchAction=o.drag===!0?"none":`pan-${o.drag==="x"?"y":"x"}`),o.tabIndex===void 0&&(o.onTap||o.onTapStart||o.whileTap)&&(u.tabIndex=0),u.style=c,u}const Qw=()=>({...wE(),attrs:{}});function tU(o,n,u,c){const h=Ce.useMemo(()=>{const p=Qw();return $D(p,n,PD(c),o.transformTemplate,o.style),{...p.attrs,style:{...p.style}}},[n]);if(o.style){const p={};Xw(p,o.style,o),h.style={...p,...h.style}}return h}const nU=["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 RE(o){return typeof o!="string"||o.includes("-")?!1:!!(nU.indexOf(o)>-1||/[A-Z]/u.test(o))}function iU(o,n,u,{latestValues:c},h,p=!1,y){const E=(y??RE(o)?tU:eU)(n,c,h,o),A=K4(n,typeof o=="string",p),x=o!==Ce.Fragment?{...A,...E,ref:u}:{},{children:_}=n,w=Ce.useMemo(()=>Ki(_)?_.get():_,[_]);return Ce.createElement(o,{...x,children:w})}function aU({scrapeMotionValuesFromProps:o,createRenderState:n},u,c,h){return{latestValues:lU(u,c,h,o),renderState:n()}}function lU(o,n,u,c){const h={},p=c(o,{});for(const w in p)h[w]=Tb(p[w]);let{initial:y,animate:S}=o;const E=gb(o),A=zD(o);n&&A&&!E&&o.inherit!==!1&&(y===void 0&&(y=n.initial),S===void 0&&(S=n.animate));let x=u?u.initial===!1:!1;x=x||y===!1;const _=x?S:y;if(_&&typeof _!="boolean"&&!yb(_)){const w=Array.isArray(_)?_:[_];for(let z=0;z<w.length;z++){const V=nE(o,w[z]);if(V){const{transitionEnd:X,transition:Q,...$}=V;for(const le in $){let ee=$[le];if(Array.isArray(ee)){const oe=x?ee.length-1:0;ee=ee[oe]}ee!==null&&(h[le]=ee)}for(const le in X)h[le]=X[le]}}}return h}const Zw=o=>(n,u)=>{const c=Ce.useContext(_b),h=Ce.useContext(ub),p=()=>aU(o,n,c,h);return u?p():sb(p)},oU=Zw({scrapeMotionValuesFromProps:EE,createRenderState:wE}),sU=Zw({scrapeMotionValuesFromProps:FD,createRenderState:Qw}),uU=Symbol.for("motionComponentSymbol");function rU(o,n,u){const c=Ce.useRef(u);Ce.useInsertionEffect(()=>{c.current=u});const h=Ce.useRef(null);return Ce.useCallback(p=>{p&&o.onMount?.(p),n&&(p?n.mount(p):n.unmount());const y=c.current;if(typeof y=="function")if(p){const S=y(p);typeof S=="function"&&(h.current=S)}else h.current?(h.current(),h.current=null):y(p);else y&&(y.current=p)},[n])}const Jw=Ce.createContext({});function Fy(o){return o&&typeof o=="object"&&Object.prototype.hasOwnProperty.call(o,"current")}function cU(o,n,u,c,h,p){const{visualElement:y}=Ce.useContext(_b),S=Ce.useContext(Nw),E=Ce.useContext(ub),A=Ce.useContext(DE).reducedMotion,x=Ce.useRef(null);c=c||S.renderer,!x.current&&c&&(x.current=c(o,{visualState:n,parent:y,props:u,presenceContext:E,blockInitialAnimation:E?E.initial===!1:!1,reducedMotionConfig:A,isSVG:p}));const _=x.current,w=Ce.useContext(Jw);_&&!_.projection&&h&&(_.type==="html"||_.type==="svg")&&fU(x.current,u,h,w);const z=Ce.useRef(!1);Ce.useInsertionEffect(()=>{_&&z.current&&_.update(u,E)});const V=u[cD],X=Ce.useRef(!!V&&!window.MotionHandoffIsComplete?.(V)&&window.MotionHasOptimisedAnimation?.(V));return vT(()=>{_&&(z.current=!0,window.MotionIsMounted=!0,_.updateFeatures(),_.scheduleRenderMicrotask(),X.current&&_.animationState&&_.animationState.animateChanges())}),Ce.useEffect(()=>{_&&(!X.current&&_.animationState&&_.animationState.animateChanges(),X.current&&(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(V)}),X.current=!1),_.enteringChildren=void 0)}),_}function fU(o,n,u,c){const{layoutId:h,layout:p,drag:y,dragConstraints:S,layoutScroll:E,layoutRoot:A,layoutCrossfade:x}=n;o.projection=new u(o.latestValues,n["data-framer-portal-id"]?void 0:$w(o.parent)),o.projection.setOptions({layoutId:h,layout:p,alwaysMeasureLayout:!!y||S&&Fy(S),visualElement:o,animationType:typeof p=="string"?p:"both",initialPromotionConfig:c,crossfade:x,layoutScroll:E,layoutRoot:A})}function $w(o){if(o)return o.options.allowProjection!==!1?o.projection:$w(o.parent)}function OE(o,{forwardMotionProps:n=!1,type:u}={},c,h){c&&Z4(c);const p=u?u==="svg":RE(o),y=p?sU:oU;function S(A,x){let _;const w={...Ce.useContext(DE),...A,layoutId:dU(A)},{isStatic:z}=w,V=F4(A),X=y(A,z);if(!z&&c_){hU(w,c);const Q=mU(w);_=Q.MeasureLayout,V.visualElement=cU(o,X,w,h,Q.ProjectionNode,p)}return _s.jsxs(_b.Provider,{value:V,children:[_&&V.visualElement?_s.jsx(_,{visualElement:V.visualElement,...w}):null,iU(o,A,rU(X,V.visualElement,x),X,z,n,p)]})}S.displayName=`motion.${typeof o=="string"?o:`create(${o.displayName??o.name??""})`}`;const E=Ce.forwardRef(S);return E[uU]=o,E}function dU({layoutId:o}){const n=Ce.useContext(gT).id;return n&&o!==void 0?n+"-"+o:o}function hU(o,n){const u=Ce.useContext(Nw).strict;if(process.env.NODE_ENV!=="production"&&n&&u){const c="You have rendered a `motion` component within a `LazyMotion` component. This will break tree shaking. Import and render a `m` component instead.";o.ignoreStrict?qh(!1,c,"lazy-strict-mode"):Yo(!1,c,"lazy-strict-mode")}}function mU(o){const n=Yw(),{drag:u,layout:c}=n;if(!u&&!c)return{};const h={...u,...c};return{MeasureLayout:u?.isEnabled(o)||c?.isEnabled(o)?h.MeasureLayout:void 0,ProjectionNode:h.ProjectionNode}}function pU(o,n){if(typeof Proxy>"u")return OE;const u=new Map,c=(p,y)=>OE(p,y,o,n),h=(p,y)=>(process.env.NODE_ENV!=="production"&&xT(!1,"motion() is deprecated. Use motion.create() instead."),c(p,y));return new Proxy(h,{get:(p,y)=>y==="create"?c:(u.has(y)||u.set(y,OE(y,void 0,o,n)),u.get(y))})}const yU=(o,n)=>n.isSVG??RE(o)?new J3(n):new Y3(n,{allowProjection:o!==Ce.Fragment});class gU extends kr{constructor(n){super(n),n.animationState||(n.animationState=W3(n))}updateAnimationControlsSubscription(){const{animate:n}=this.node.getProps();yb(n)&&(this.unmountControls=n.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:n}=this.node.getProps(),{animate:u}=this.node.prevProps||{};n!==u&&this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}}let vU=0;class bU extends kr{constructor(){super(...arguments),this.id=vU++}update(){if(!this.node.presenceContext)return;const{isPresent:n,onExitComplete:u}=this.node.presenceContext,{isPresent:c}=this.node.prevPresenceContext||{};if(!this.node.animationState||n===c)return;const h=this.node.animationState.setActive("exit",!n);u&&!n&&h.then(()=>{u(this.id)})}mount(){const{register:n,onExitComplete:u}=this.node.presenceContext||{};u&&u(this.id),n&&(this.unmount=n(this.id))}unmount(){}}const SU={animation:{Feature:gU},exit:{Feature:bU}};function Wy(o){return{point:{x:o.pageX,y:o.pageY}}}const TU=o=>n=>dE(n)&&o(n,Wy(n));function Iy(o,n,u,c){return Py(o,n,TU(u),c)}const Kw=({current:o})=>o?o.ownerDocument.defaultView:null,Pw=(o,n)=>Math.abs(o-n);function EU(o,n){const u=Pw(o.x,n.x),c=Pw(o.y,n.y);return Math.sqrt(u**2+c**2)}const Fw=new Set(["auto","scroll"]);class Ww{constructor(n,u,{transformPagePoint:c,contextWindow:h=window,dragSnapToOrigin:p=!1,distanceThreshold:y=3,element:S}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.scrollPositions=new Map,this.removeScrollListeners=null,this.onElementScroll=z=>{this.handleScroll(z.target)},this.onWindowScroll=()=>{this.handleScroll(window)},this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const z=CE(this.lastMoveEventInfo,this.history),V=this.startEvent!==null,X=EU(z.offset,{x:0,y:0})>=this.distanceThreshold;if(!V&&!X)return;const{point:Q}=z,{timestamp:$}=Ri;this.history.push({...Q,timestamp:$});const{onStart:le,onMove:ee}=this.handlers;V||(le&&le(this.lastMoveEvent,z),this.startEvent=this.lastMoveEvent),ee&&ee(this.lastMoveEvent,z)},this.handlePointerMove=(z,V)=>{this.lastMoveEvent=z,this.lastMoveEventInfo=ME(V,this.transformPagePoint),fn.update(this.updatePoint,!0)},this.handlePointerUp=(z,V)=>{this.end();const{onEnd:X,onSessionEnd:Q,resumeAnimation:$}=this.handlers;if((this.dragSnapToOrigin||!this.startEvent)&&$&&$(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const le=CE(z.type==="pointercancel"?this.lastMoveEventInfo:ME(V,this.transformPagePoint),this.history);this.startEvent&&X&&X(z,le),Q&&Q(z,le)},!dE(n))return;this.dragSnapToOrigin=p,this.handlers=u,this.transformPagePoint=c,this.distanceThreshold=y,this.contextWindow=h||window;const E=Wy(n),A=ME(E,this.transformPagePoint),{point:x}=A,{timestamp:_}=Ri;this.history=[{...x,timestamp:_}];const{onSessionStart:w}=u;w&&w(n,CE(A,this.history)),this.removeListeners=jy(Iy(this.contextWindow,"pointermove",this.handlePointerMove),Iy(this.contextWindow,"pointerup",this.handlePointerUp),Iy(this.contextWindow,"pointercancel",this.handlePointerUp)),S&&this.startScrollTracking(S)}startScrollTracking(n){let u=n.parentElement;for(;u;){const c=getComputedStyle(u);(Fw.has(c.overflowX)||Fw.has(c.overflowY))&&this.scrollPositions.set(u,{x:u.scrollLeft,y:u.scrollTop}),u=u.parentElement}this.scrollPositions.set(window,{x:window.scrollX,y:window.scrollY}),window.addEventListener("scroll",this.onElementScroll,{capture:!0,passive:!0}),window.addEventListener("scroll",this.onWindowScroll,{passive:!0}),this.removeScrollListeners=()=>{window.removeEventListener("scroll",this.onElementScroll,{capture:!0}),window.removeEventListener("scroll",this.onWindowScroll)}}handleScroll(n){const u=this.scrollPositions.get(n);if(!u)return;const c=n===window,h=c?{x:window.scrollX,y:window.scrollY}:{x:n.scrollLeft,y:n.scrollTop},p={x:h.x-u.x,y:h.y-u.y};p.x===0&&p.y===0||(c?this.lastMoveEventInfo&&(this.lastMoveEventInfo.point.x+=p.x,this.lastMoveEventInfo.point.y+=p.y):this.history.length>0&&(this.history[0].x-=p.x,this.history[0].y-=p.y),this.scrollPositions.set(n,h),fn.update(this.updatePoint,!0))}updateHandlers(n){this.handlers=n}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),jr(this.updatePoint)}}function ME(o,n){return n?{point:n(o.point)}:o}function Iw(o,n){return{x:o.x-n.x,y:o.y-n.y}}function CE({point:o},n){return{point:o,delta:Iw(o,e2(n)),offset:Iw(o,AU(n)),velocity:xU(n,.1)}}function AU(o){return o[0]}function e2(o){return o[o.length-1]}function xU(o,n){if(o.length<2)return{x:0,y:0};let u=o.length-1,c=null;const h=e2(o);for(;u>=0&&(c=o[u],!(h.timestamp-c.timestamp>ws(n)));)u--;if(!c)return{x:0,y:0};const p=Gl(h.timestamp-c.timestamp);if(p===0)return{x:0,y:0};const y={x:(h.x-c.x)/p,y:(h.y-c.y)/p};return y.x===1/0&&(y.x=0),y.y===1/0&&(y.y=0),y}function _U(o,{min:n,max:u},c){return n!==void 0&&o<n?o=c?Tn(n,o,c.min):Math.max(o,n):u!==void 0&&o>u&&(o=c?Tn(u,o,c.max):Math.min(o,u)),o}function t2(o,n,u){return{min:n!==void 0?o.min+n:void 0,max:u!==void 0?o.max+u-(o.max-o.min):void 0}}function DU(o,{top:n,left:u,bottom:c,right:h}){return{x:t2(o.x,u,h),y:t2(o.y,n,c)}}function n2(o,n){let u=n.min-o.min,c=n.max-o.max;return n.max-n.min<o.max-o.min&&([u,c]=[c,u]),{min:u,max:c}}function wU(o,n){return{x:n2(o.x,n.x),y:n2(o.y,n.y)}}function RU(o,n){let u=.5;const c=da(o),h=da(n);return h>c?u=qy(n.min,n.max-c,o.min):c>h&&(u=qy(o.min,o.max-h,n.min)),Ds(0,1,u)}function OU(o,n){const u={};return n.min!==void 0&&(u.min=n.min-o.min),n.max!==void 0&&(u.max=n.max-o.min),u}const zE=.35;function MU(o=zE){return o===!1?o=0:o===!0&&(o=zE),{x:i2(o,"left","right"),y:i2(o,"top","bottom")}}function i2(o,n,u){return{min:a2(o,n),max:a2(o,u)}}function a2(o,n){return typeof o=="number"?o:o[n]||0}const CU=new WeakMap;class zU{constructor(n){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=ri(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=n}start(n,{snapToCursor:u=!1,distanceThreshold:c}={}){const{presenceContext:h}=this.visualElement;if(h&&h.isPresent===!1)return;const p=_=>{u?(this.stopAnimation(),this.snapToCursor(Wy(_).point)):this.pauseAnimation()},y=(_,w)=>{this.stopAnimation();const{drag:z,dragPropagation:V,onDragStart:X}=this.getProps();if(z&&!V&&(this.openDragLock&&this.openDragLock(),this.openDragLock=v3(z),!this.openDragLock))return;this.latestPointerEvent=_,this.latestPanInfo=w,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),kl($=>{let le=this.getAxisMotionValue($).get()||0;if(Rs.test(le)){const{projection:ee}=this.visualElement;if(ee&&ee.layout){const oe=ee.layout.layoutBox[$];oe&&(le=da(oe)*(parseFloat(le)/100))}}this.originPoint[$]=le}),X&&fn.postRender(()=>X(_,w)),lE(this.visualElement,"transform");const{animationState:Q}=this.visualElement;Q&&Q.setActive("whileDrag",!0)},S=(_,w)=>{this.latestPointerEvent=_,this.latestPanInfo=w;const{dragPropagation:z,dragDirectionLock:V,onDirectionLock:X,onDrag:Q}=this.getProps();if(!z&&!this.openDragLock)return;const{offset:$}=w;if(V&&this.currentDirection===null){this.currentDirection=UU($),this.currentDirection!==null&&X&&X(this.currentDirection);return}this.updateAxis("x",w.point,$),this.updateAxis("y",w.point,$),this.visualElement.render(),Q&&Q(_,w)},E=(_,w)=>{this.latestPointerEvent=_,this.latestPanInfo=w,this.stop(_,w),this.latestPointerEvent=null,this.latestPanInfo=null},A=()=>kl(_=>this.getAnimationState(_)==="paused"&&this.getAxisMotionValue(_).animation?.play()),{dragSnapToOrigin:x}=this.getProps();this.panSession=new Ww(n,{onSessionStart:p,onStart:y,onMove:S,onSessionEnd:E,resumeAnimation:A},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:x,distanceThreshold:c,contextWindow:Kw(this.visualElement),element:this.visualElement.current})}stop(n,u){const c=n||this.latestPointerEvent,h=u||this.latestPanInfo,p=this.isDragging;if(this.cancel(),!p||!h||!c)return;const{velocity:y}=h;this.startAnimation(y);const{onDragEnd:S}=this.getProps();S&&fn.postRender(()=>S(c,h))}cancel(){this.isDragging=!1;const{projection:n,animationState:u}=this.visualElement;n&&(n.isAnimationBlocked=!1),this.endPanSession();const{dragPropagation:c}=this.getProps();!c&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),u&&u.setActive("whileDrag",!1)}endPanSession(){this.panSession&&this.panSession.end(),this.panSession=void 0}updateAxis(n,u,c){const{drag:h}=this.getProps();if(!c||!Db(n,h,this.currentDirection))return;const p=this.getAxisMotionValue(n);let y=this.originPoint[n]+c[n];this.constraints&&this.constraints[n]&&(y=_U(y,this.constraints[n],this.elastic[n])),p.set(y)}resolveConstraints(){const{dragConstraints:n,dragElastic:u}=this.getProps(),c=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,h=this.constraints;n&&Fy(n)?this.constraints||(this.constraints=this.resolveRefConstraints()):n&&c?this.constraints=DU(c.layoutBox,n):this.constraints=!1,this.elastic=MU(u),h!==this.constraints&&c&&this.constraints&&!this.hasMutatedConstraints&&kl(p=>{this.constraints!==!1&&this.getAxisMotionValue(p)&&(this.constraints[p]=OU(c.layoutBox[p],this.constraints[p]))})}resolveRefConstraints(){const{dragConstraints:n,onMeasureDragConstraints:u}=this.getProps();if(!n||!Fy(n))return!1;const c=n.current;Yo(c!==null,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.","drag-constraints-ref");const{projection:h}=this.visualElement;if(!h||!h.layout)return!1;const p=V3(c,h.root,this.visualElement.getTransformPagePoint());let y=wU(h.layout.layoutBox,p);if(u){const S=u(z3(y));this.hasMutatedConstraints=!!S,S&&(y=HD(S))}return y}startAnimation(n){const{drag:u,dragMomentum:c,dragElastic:h,dragTransition:p,dragSnapToOrigin:y,onDragTransitionEnd:S}=this.getProps(),E=this.constraints||{},A=kl(x=>{if(!Db(x,u,this.currentDirection))return;let _=E&&E[x]||{};y&&(_={min:0,max:0});const w=h?200:1e6,z=h?40:1e7,V={type:"inertia",velocity:c?n[x]:0,bounceStiffness:w,bounceDamping:z,timeConstant:750,restDelta:1,restSpeed:10,...p,..._};return this.startAxisValueAnimation(x,V)});return Promise.all(A).then(S)}startAxisValueAnimation(n,u){const c=this.getAxisMotionValue(n);return lE(this.visualElement,n),c.start(tE(n,c,0,u,this.visualElement,!1))}stopAnimation(){kl(n=>this.getAxisMotionValue(n).stop())}pauseAnimation(){kl(n=>this.getAxisMotionValue(n).animation?.pause())}getAnimationState(n){return this.getAxisMotionValue(n).animation?.state}getAxisMotionValue(n){const u=`_drag${n.toUpperCase()}`,c=this.visualElement.getProps(),h=c[u];return h||this.visualElement.getValue(n,(c.initial?c.initial[n]:void 0)||0)}snapToCursor(n){kl(u=>{const{drag:c}=this.getProps();if(!Db(u,c,this.currentDirection))return;const{projection:h}=this.visualElement,p=this.getAxisMotionValue(u);if(h&&h.layout){const{min:y,max:S}=h.layout.layoutBox[u],E=p.get()||0;p.set(n[u]-Tn(y,S,.5)+E)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:n,dragConstraints:u}=this.getProps(),{projection:c}=this.visualElement;if(!Fy(u)||!c||!this.constraints)return;this.stopAnimation();const h={x:0,y:0};kl(y=>{const S=this.getAxisMotionValue(y);if(S&&this.constraints!==!1){const E=S.get();h[y]=RU({min:E,max:E},this.constraints[y])}});const{transformTemplate:p}=this.visualElement.getProps();this.visualElement.current.style.transform=p?p({},""):"none",c.root&&c.root.updateScroll(),c.updateLayout(),this.resolveConstraints(),kl(y=>{if(!Db(y,n,null))return;const S=this.getAxisMotionValue(y),{min:E,max:A}=this.constraints[y];S.set(Tn(E,A,h[y]))})}addListeners(){if(!this.visualElement.current)return;CU.set(this.visualElement,this);const n=this.visualElement.current,u=Iy(n,"pointerdown",E=>{const{drag:A,dragListener:x=!0}=this.getProps(),_=E.target,w=_!==n&&_D(_);A&&x&&!w&&this.start(E)}),c=()=>{const{dragConstraints:E}=this.getProps();Fy(E)&&E.current&&(this.constraints=this.resolveRefConstraints())},{projection:h}=this.visualElement,p=h.addEventListener("measure",c);h&&!h.layout&&(h.root&&h.root.updateScroll(),h.updateLayout()),fn.read(c);const y=Py(window,"resize",()=>this.scalePositionWithinConstraints()),S=h.addEventListener("didUpdate",(({delta:E,hasLayoutChanged:A})=>{this.isDragging&&A&&(kl(x=>{const _=this.getAxisMotionValue(x);_&&(this.originPoint[x]+=E[x].translate,_.set(_.get()+E[x].translate))}),this.visualElement.render())}));return()=>{y(),u(),p(),S&&S()}}getProps(){const n=this.visualElement.getProps(),{drag:u=!1,dragDirectionLock:c=!1,dragPropagation:h=!1,dragConstraints:p=!1,dragElastic:y=zE,dragMomentum:S=!0}=n;return{...n,drag:u,dragDirectionLock:c,dragPropagation:h,dragConstraints:p,dragElastic:y,dragMomentum:S}}}function Db(o,n,u){return(n===!0||n===o)&&(u===null||u===o)}function UU(o,n=10){let u=null;return Math.abs(o.y)>n?u="y":Math.abs(o.x)>n&&(u="x"),u}class BU extends kr{constructor(n){super(n),this.removeGroupControls=Yl,this.removeListeners=Yl,this.controls=new zU(n)}mount(){const{dragControls:n}=this.node.getProps();n&&(this.removeGroupControls=n.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||Yl}update(){const{dragControls:n}=this.node.getProps(),{dragControls:u}=this.node.prevProps||{};n!==u&&(this.removeGroupControls(),n&&(this.removeGroupControls=n.subscribe(this.controls)))}unmount(){this.removeGroupControls(),this.removeListeners(),this.controls.endPanSession()}}const l2=o=>(n,u)=>{o&&fn.postRender(()=>o(n,u))};class VU extends kr{constructor(){super(...arguments),this.removePointerDownListener=Yl}onPointerDown(n){this.session=new Ww(n,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:Kw(this.node)})}createPanHandlers(){const{onPanSessionStart:n,onPanStart:u,onPan:c,onPanEnd:h}=this.node.getProps();return{onSessionStart:l2(n),onStart:l2(u),onMove:c,onEnd:(p,y)=>{delete this.session,h&&fn.postRender(()=>h(p,y))}}}mount(){this.removePointerDownListener=Iy(this.node.current,"pointerdown",n=>this.onPointerDown(n))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}let UE=!1;class HU extends Ce.Component{componentDidMount(){const{visualElement:n,layoutGroup:u,switchLayoutGroup:c,layoutId:h}=this.props,{projection:p}=n;p&&(u.group&&u.group.add(p),c&&c.register&&h&&c.register(p),UE&&p.root.didUpdate(),p.addEventListener("animationComplete",()=>{this.safeToRemove()}),p.setOptions({...p.options,onExitComplete:()=>this.safeToRemove()})),Eb.hasEverUpdated=!0}getSnapshotBeforeUpdate(n){const{layoutDependency:u,visualElement:c,drag:h,isPresent:p}=this.props,{projection:y}=c;return y&&(y.isPresent=p,UE=!0,h||n.layoutDependency!==u||u===void 0||n.isPresent!==p?y.willUpdate():this.safeToRemove(),n.isPresent!==p&&(p?y.promote():y.relegate()||fn.postRender(()=>{const S=y.getStack();(!S||!S.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:n}=this.props.visualElement;n&&(n.root.didUpdate(),fE.postRender(()=>{!n.currentAnimation&&n.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:n,layoutGroup:u,switchLayoutGroup:c}=this.props,{projection:h}=n;UE=!0,h&&(h.scheduleCheckAfterUnmount(),u&&u.group&&u.group.remove(h),c&&c.deregister&&c.deregister(h))}safeToRemove(){const{safeToRemove:n}=this.props;n&&n()}render(){return null}}function o2(o){const[n,u]=Hw(),c=Ce.useContext(gT);return _s.jsx(HU,{...o,layoutGroup:c,switchLayoutGroup:Ce.useContext(Jw),isPresent:n,safeToRemove:u})}const LU={pan:{Feature:VU},drag:{Feature:BU,ProjectionNode:Bw,MeasureLayout:o2}};function s2(o,n,u){const{props:c}=o;o.animationState&&c.whileHover&&o.animationState.setActive("whileHover",u==="Start");const h="onHover"+u,p=c[h];p&&fn.postRender(()=>p(n,Wy(n)))}class NU extends kr{mount(){const{current:n}=this.node;n&&(this.unmount=b3(n,(u,c)=>(s2(this.node,c,"Start"),h=>s2(this.node,h,"End"))))}unmount(){}}class jU extends kr{constructor(){super(...arguments),this.isActive=!1}onFocus(){let n=!1;try{n=this.node.current.matches(":focus-visible")}catch{n=!0}!n||!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=jy(Py(this.node.current,"focus",()=>this.onFocus()),Py(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function u2(o,n,u){const{props:c}=o;if(o.current instanceof HTMLButtonElement&&o.current.disabled)return;o.animationState&&c.whileTap&&o.animationState.setActive("whileTap",u==="Start");const h="onTap"+(u==="End"?"":u),p=c[h];p&&fn.postRender(()=>p(n,Wy(n)))}class qU extends kr{mount(){const{current:n}=this.node;n&&(this.unmount=E3(n,(u,c)=>(u2(this.node,c,"Start"),(h,{success:p})=>u2(this.node,h,p?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}const BE=new WeakMap,VE=new WeakMap,YU=o=>{const n=BE.get(o.target);n&&n(o)},GU=o=>{o.forEach(YU)};function kU({root:o,...n}){const u=o||document;VE.has(u)||VE.set(u,{});const c=VE.get(u),h=JSON.stringify(n);return c[h]||(c[h]=new IntersectionObserver(GU,{root:o,...n})),c[h]}function XU(o,n,u){const c=kU(n);return BE.set(o,u),c.observe(o),()=>{BE.delete(o),c.unobserve(o)}}const QU={some:0,all:1};class ZU extends kr{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:n={}}=this.node.getProps(),{root:u,margin:c,amount:h="some",once:p}=n,y={root:u?u.current:void 0,rootMargin:c,threshold:typeof h=="number"?h:QU[h]},S=E=>{const{isIntersecting:A}=E;if(this.isInView===A||(this.isInView=A,p&&!A&&this.hasEnteredView))return;A&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",A);const{onViewportEnter:x,onViewportLeave:_}=this.node.getProps(),w=A?x:_;w&&w(E)};return XU(this.node.current,y,S)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:n,prevProps:u}=this.node;["amount","margin","root"].some(JU(n,u))&&this.startObserver()}unmount(){}}function JU({viewport:o={}},{viewport:n={}}={}){return u=>o[u]!==n[u]}const $U={...SU,...{inView:{Feature:ZU},tap:{Feature:qU},focus:{Feature:jU},hover:{Feature:NU}},...LU,...{layout:{ProjectionNode:Bw,MeasureLayout:o2}}},KU=pU($U,yU);function PU(o){o.values.forEach(n=>n.stop())}function HE(o,n){[...n].reverse().forEach(c=>{const h=o.getVariant(c);h&&aE(o,h),o.variantChildren&&o.variantChildren.forEach(p=>{HE(p,n)})})}function FU(o,n){if(Array.isArray(n))return HE(o,n);if(typeof n=="string")return HE(o,[n]);aE(o,n)}function WU(){let o=!1;const n=new Set,u={subscribe(c){return n.add(c),()=>void n.delete(c)},start(c,h){Yo(o,"controls.start() should only be called after a component has mounted. Consider calling within a useEffect hook.");const p=[];return n.forEach(y=>{p.push(hD(y,c,{transitionOverride:h}))}),Promise.all(p)},set(c){return Yo(o,"controls.set() should only be called after a component has mounted. Consider calling within a useEffect hook."),n.forEach(h=>{FU(h,c)})},stop(){n.forEach(c=>{PU(c)})},mount(){return o=!0,()=>{o=!1,u.stop()}}};return u}function IU(){const o=sb(WU);return vT(o.mount,[]),o}const e6=IU,Hf="generated",t6="pointerdown",n6="pointerup",LE="pointerleave",i6="pointerout",Lf="pointermove",a6="touchstart",r2="touchend",l6="touchmove",o6="touchcancel",s6="resize",u6="visibilitychange",Xl="tsParticles - Error",Xr=100,ci=.5,Pi=1e3,Fi={x:0,y:0,z:0},wb={a:1,b:0,c:0,d:1},Fh="random",Rb="mid",Wi=2,r6=Math.PI*Wi,NE=60,c2="true",f2="false",jE="canvas",d2=0,_u=2,h2=4,c6=1,m2=1,p2=1,f6=4,y2=1,Ob=255,Nf=360,qE=100,YE=100,g2=0,GE=0,d6=60,h6=0,Mb=.25,v2=ci+Mb,b2=0,m6=1,p6=0,y6=0,g6=1,kE=1,v6=1,S2=1,Cb=0,T2=1,b6=0,S6=120,T6=0,E6=0,A6=1e4,x6=0,_6=1,zb=0,E2=1,D6=1,w6=0,A2=1,R6=0,O6=0,x2=-Mb,_2=1.5,D2=0,M6=1,C6=0,XE=0,w2=1,z6=1,Ub=1,U6=500,R2=50,B6=0,QE=1,O2=0,M2=1,V6=0,jf=255,ZE=3,JE=6,H6=1,L6=1,N6=0,j6=0,q6=0,Y6=0;var Oi;(function(o){o.bottom="bottom",o.bottomLeft="bottom-left",o.bottomRight="bottom-right",o.left="left",o.none="none",o.right="right",o.top="top",o.topLeft="top-left",o.topRight="top-right",o.outside="outside",o.inside="inside"})(Oi||(Oi={}));function C2(o){return typeof o=="boolean"}function Qr(o){return typeof o=="string"}function Zr(o){return typeof o=="number"}function Wh(o){return typeof o=="object"&&o!==null}function Os(o){return Array.isArray(o)}function Ee(o){return o==null}class sl{constructor(n,u,c){if(this._updateFromAngle=(h,p)=>{this.x=Math.cos(h)*p,this.y=Math.sin(h)*p},!Zr(n)&&n){this.x=n.x,this.y=n.y;const h=n;this.z=h.z?h.z:Fi.z}else if(n!==void 0&&u!==void 0)this.x=n,this.y=u,this.z=c??Fi.z;else throw new Error(`${Xl} Vector3d not initialized correctly`)}static get origin(){return sl.create(Fi.x,Fi.y,Fi.z)}get angle(){return Math.atan2(this.y,this.x)}set angle(n){this._updateFromAngle(n,this.length)}get length(){return Math.sqrt(this.getLengthSq())}set length(n){this._updateFromAngle(this.angle,n)}static clone(n){return sl.create(n.x,n.y,n.z)}static create(n,u,c){return new sl(n,u,c)}add(n){return sl.create(this.x+n.x,this.y+n.y,this.z+n.z)}addTo(n){this.x+=n.x,this.y+=n.y,this.z+=n.z}copy(){return sl.clone(this)}distanceTo(n){return this.sub(n).length}distanceToSq(n){return this.sub(n).getLengthSq()}div(n){return sl.create(this.x/n,this.y/n,this.z/n)}divTo(n){this.x/=n,this.y/=n,this.z/=n}getLengthSq(){return this.x**_u+this.y**_u}mult(n){return sl.create(this.x*n,this.y*n,this.z*n)}multTo(n){this.x*=n,this.y*=n,this.z*=n}normalize(){const n=this.length;n!=zb&&this.multTo(y2/n)}rotate(n){return sl.create(this.x*Math.cos(n)-this.y*Math.sin(n),this.x*Math.sin(n)+this.y*Math.cos(n),Fi.z)}setTo(n){this.x=n.x,this.y=n.y;const u=n;this.z=u.z?u.z:Fi.z}sub(n){return sl.create(this.x-n.x,this.y-n.y,this.z-n.z)}subFrom(n){this.x-=n.x,this.y-=n.y,this.z-=n.z}}class gi extends sl{constructor(n,u){super(n,u,Fi.z)}static get origin(){return gi.create(Fi.x,Fi.y)}static clone(n){return gi.create(n.x,n.y)}static create(n,u){return new gi(n,u)}}let G6=Math.random;const z2={nextFrame:o=>requestAnimationFrame(o),cancel:o=>cancelAnimationFrame(o)};function $t(){return Ql(G6(),0,1-Number.EPSILON)}function k6(o){return z2.nextFrame(o)}function X6(o){z2.cancel(o)}function Ql(o,n,u){return Math.min(Math.max(o,n),u)}function $E(o,n,u,c){return Math.floor((o*u+n*c)/(u+c))}function ul(o){const n=Ms(o),u=0;let c=Bb(o);return n===c&&(c=u),$t()*(n-c)+c}function Xe(o){return Zr(o)?o:ul(o)}function Bb(o){return Zr(o)?o:o.min}function Ms(o){return Zr(o)?o:o.max}function Bt(o,n){if(o===n||n===void 0&&Zr(o))return o;const u=Bb(o),c=Ms(o);return n!==void 0?{min:Math.min(u,n),max:Math.max(c,n)}:Bt(u,c)}function ha(o,n){const u=o.x-n.x,c=o.y-n.y,h=2;return{dx:u,dy:c,distance:Math.sqrt(u**h+c**h)}}function rl(o,n){return ha(o,n).distance}function Jr(o){return o*Math.PI/180}function Q6(o,n,u){if(Zr(o))return Jr(o);switch(o){case Oi.top:return-Math.PI*ci;case Oi.topRight:return-Math.PI*Mb;case Oi.right:return h6;case Oi.bottomRight:return Math.PI*Mb;case Oi.bottom:return Math.PI*ci;case Oi.bottomLeft:return Math.PI*v2;case Oi.left:return Math.PI;case Oi.topLeft:return-Math.PI*v2;case Oi.inside:return Math.atan2(u.y-n.y,u.x-n.x);case Oi.outside:return Math.atan2(n.y-u.y,n.x-u.x);default:return $t()*r6}}function Z6(o){const n=gi.origin;return n.length=1,n.angle=o,n}function U2(o,n,u,c){return gi.create(o.x*(u-c)/(u+c)+n.x*Wi*c/(u+c),o.y)}function J6(o){return{x:o.position?.x??$t()*o.size.width,y:o.position?.y??$t()*o.size.height}}function B2(o){return o?o.endsWith("%")?parseFloat(o)/Xr:parseFloat(o):1}var qf;(function(o){o.auto="auto",o.increase="increase",o.decrease="decrease",o.random="random"})(qf||(qf={}));var Qn;(function(o){o.increasing="increasing",o.decreasing="decreasing"})(Qn||(Qn={}));var Yf;(function(o){o.none="none",o.max="max",o.min="min"})(Yf||(Yf={}));var At;(function(o){o.bottom="bottom",o.left="left",o.right="right",o.top="top"})(At||(At={}));var Ih;(function(o){o.precise="precise",o.percent="percent"})(Ih||(Ih={}));var em;(function(o){o.max="max",o.min="min",o.random="random"})(em||(em={}));const $6={debug:console.debug,error:console.error,info:console.info,log:console.log,verbose:console.log,warning:console.warn};function Gf(){return $6}function K6(o){const n=new Map;return(...u)=>{const c=JSON.stringify(u);if(n.has(c))return n.get(c);const h=o(...u);return n.set(c,h),h}}function V2(o){const n={bounced:!1},{pSide:u,pOtherSide:c,rectSide:h,rectOtherSide:p,velocity:y,factor:S}=o;return c.min<p.min||c.min>p.max||c.max<p.min||c.max>p.max||(u.max>=h.min&&u.max<=(h.max+h.min)*ci&&y>b2||u.min<=h.max&&u.min>(h.max+h.min)*ci&&y<b2)&&(n.velocity=y*-S,n.bounced=!0),n}function P6(o,n){const u=cl(n,c=>o.matches(c));return Os(u)?u.some(c=>c):u}function kf(){return typeof window>"u"||!window||typeof window.document>"u"||!window.document}function F6(){return!kf()&&typeof matchMedia<"u"}function H2(o){if(F6())return matchMedia(o)}function W6(o){if(!(kf()||typeof IntersectionObserver>"u"))return new IntersectionObserver(o)}function I6(o){if(!(kf()||typeof MutationObserver>"u"))return new MutationObserver(o)}function Vn(o,n){return o===n||Os(n)&&n.indexOf(o)>-1}async function L2(o,n){try{await document.fonts.load(`${n??"400"} 36px '${o??"Verdana"}'`)}catch{}}function e5(o){return Math.floor($t()*o.length)}function Vb(o,n,u=!0){return o[n!==void 0&&u?n%o.length:e5(o)]}function KE(o,n,u,c,h){return t5(eg(o,c??0),n,u,h)}function t5(o,n,u,c){let h=!0;return(!c||c===At.bottom)&&(h=o.top<n.height+u.x),h&&(!c||c===At.left)&&(h=o.right>u.x),h&&(!c||c===At.right)&&(h=o.left<n.width+u.y),h&&(!c||c===At.top)&&(h=o.bottom>u.y),h}function eg(o,n){return{bottom:o.y+n,left:o.x-n,right:o.x+n,top:o.y-n}}function Ii(o,...n){for(const u of n){if(u==null)continue;if(!Wh(u)){o=u;continue}const c=Array.isArray(u);c&&(Wh(o)||!o||!Array.isArray(o))?o=[]:!c&&(Wh(o)||!o||Array.isArray(o))&&(o={});for(const h in u){if(h==="__proto__")continue;const p=u,y=p[h],S=o;S[h]=Wh(y)&&Array.isArray(y)?y.map(E=>Ii(S[h],E)):Ii(S[h],y)}}return o}function PE(o,n){return!!q2(n,u=>u.enable&&Vn(o,u.mode))}function FE(o,n,u){cl(n,c=>{const h=c.mode;c.enable&&Vn(o,h)&&n5(c,u)})}function n5(o,n){const u=o.selectors;cl(u,c=>{n(c,o)})}function N2(o,n){if(!(!n||!o))return q2(o,u=>P6(n,u.selectors))}function WE(o){return{position:o.getPosition(),radius:o.getRadius(),mass:o.getMass(),velocity:o.velocity,factor:gi.create(Xe(o.options.bounce.horizontal.value),Xe(o.options.bounce.vertical.value))}}function j2(o,n){const{x:u,y:c}=o.velocity.sub(n.velocity),[h,p]=[o.position,n.position],{dx:y,dy:S}=ha(p,h);if(u*y+c*S<0)return;const A=-Math.atan2(S,y),x=o.mass,_=n.mass,w=o.velocity.rotate(A),z=n.velocity.rotate(A),V=U2(w,z,x,_),X=U2(z,w,x,_),Q=V.rotate(-A),$=X.rotate(-A);o.velocity.x=Q.x*o.factor.x,o.velocity.y=Q.y*o.factor.y,n.velocity.x=$.x*n.factor.x,n.velocity.y=$.y*n.factor.y}function i5(o,n){const u=o.getPosition(),c=o.getRadius(),h=eg(u,c),p=o.options.bounce,y=V2({pSide:{min:h.left,max:h.right},pOtherSide:{min:h.top,max:h.bottom},rectSide:{min:n.left,max:n.right},rectOtherSide:{min:n.top,max:n.bottom},velocity:o.velocity.x,factor:Xe(p.horizontal.value)});y.bounced&&(y.velocity!==void 0&&(o.velocity.x=y.velocity),y.position!==void 0&&(o.position.x=y.position));const S=V2({pSide:{min:h.top,max:h.bottom},pOtherSide:{min:h.left,max:h.right},rectSide:{min:n.top,max:n.bottom},rectOtherSide:{min:n.left,max:n.right},velocity:o.velocity.y,factor:Xe(p.vertical.value)});S.bounced&&(S.velocity!==void 0&&(o.velocity.y=S.velocity),S.position!==void 0&&(o.position.y=S.position))}function cl(o,n){return Os(o)?o.map((c,h)=>n(c,h)):n(o,0)}function Zl(o,n,u){return Os(o)?Vb(o,n,u):o}function q2(o,n){return Os(o)?o.find((c,h)=>n(c,h)):n(o,0)?o:void 0}function Y2(o,n){const u=o.value,c=o.animation,h={delayTime:Xe(c.delay)*Pi,enable:c.enable,value:Xe(o.value)*n,max:Ms(u)*n,min:Bb(u)*n,loops:0,maxLoops:Xe(c.count),time:0},p=1;if(c.enable){switch(h.decay=p-Xe(c.decay),c.mode){case qf.increase:h.status=Qn.increasing;break;case qf.decrease:h.status=Qn.decreasing;break;case qf.random:h.status=$t()>=ci?Qn.increasing:Qn.decreasing;break}const y=c.mode===qf.auto;switch(c.startValue){case em.min:h.value=h.min,y&&(h.status=Qn.increasing);break;case em.max:h.value=h.max,y&&(h.status=Qn.decreasing);break;case em.random:default:h.value=ul(h),y&&(h.status=$t()>=ci?Qn.increasing:Qn.decreasing);break}}return h.initialValue=h.value,h}function a5(o,n){if(!(o.mode===Ih.percent)){const{mode:h,...p}=o;return p}return"x"in o?{x:o.x/Xr*n.width,y:o.y/Xr*n.height}:{width:o.width/Xr*n.width,height:o.height/Xr*n.height}}function G2(o,n){return a5(o,n)}function l5(o,n,u,c,h){switch(n){case Yf.max:u>=h&&o.destroy();break;case Yf.min:u<=c&&o.destroy();break}}function IE(o,n,u,c,h){if(o.destroyed||!n||!n.enable||(n.maxLoops??0)>0&&(n.loops??0)>(n.maxLoops??0))return;const x=(n.velocity??0)*h.factor,_=n.min,w=n.max,z=n.decay??1;if(n.time||(n.time=0),(n.delayTime??0)>0&&n.time<(n.delayTime??0)&&(n.time+=h.value),!((n.delayTime??0)>0&&n.time<(n.delayTime??0))){switch(n.status){case Qn.increasing:n.value>=w?(u?n.status=Qn.decreasing:n.value-=w,n.loops||(n.loops=0),n.loops++):n.value+=x;break;case Qn.decreasing:n.value<=_?(u?n.status=Qn.increasing:n.value+=w,n.loops||(n.loops=0),n.loops++):n.value-=x}n.velocity&&z!==1&&(n.velocity*=z),l5(o,c,n.value,_,w),o.destroyed||(n.value=Ql(n.value,_,w))}}function o5(o){const n=document.createElement("div").style;if(!o)return n;for(const u in o){const c=o[u];if(!Object.prototype.hasOwnProperty.call(o,u)||Ee(c))continue;const h=o.getPropertyValue?.(c);if(!h)continue;const p=o.getPropertyPriority?.(c);p?n.setProperty?.(c,h,p):n.setProperty?.(c,h)}return n}function s5(o){const n=document.createElement("div").style,u=10,c={width:"100%",height:"100%",margin:"0",padding:"0",borderWidth:"0",position:"fixed",zIndex:o.toString(u),"z-index":o.toString(u),top:"0",left:"0"};for(const h in c){const p=c[h];n.setProperty(h,p)}return n}const u5=K6(s5);var eA;(function(o){o.darken="darken",o.enlighten="enlighten"})(eA||(eA={}));function r5(o,n){if(n){for(const u of o.colorManagers.values())if(n.startsWith(u.stringPrefix))return u.parseString(n)}}function Xo(o,n,u,c=!0){if(!n)return;const h=Qr(n)?{value:n}:n;if(Qr(h.value))return k2(o,h.value,u,c);if(Os(h.value))return Xo(o,{value:Vb(h.value,u,c)});for(const p of o.colorManagers.values()){const y=p.handleRangeColor(h);if(y)return y}}function k2(o,n,u,c=!0){if(!n)return;const h=Qr(n)?{value:n}:n;if(Qr(h.value))return h.value===Fh?Q2():c5(o,h.value);if(Os(h.value))return k2(o,{value:Vb(h.value,u,c)});for(const p of o.colorManagers.values()){const y=p.handleColor(h);if(y)return y}}function tg(o,n,u,c=!0){const h=Xo(o,n,u,c);return h?X2(h):void 0}function X2(o){const n=o.r/Ob,u=o.g/Ob,c=o.b/Ob,h=Math.max(n,u,c),p=Math.min(n,u,c),y={h:g2,l:(h+p)*ci,s:GE};return h!==p&&(y.s=y.l<ci?(h-p)/(h+p):(h-p)/(Wi-h-p),y.h=n===h?(u-c)/(h-p):y.h=u===h?Wi+(c-n)/(h-p):Wi*Wi+(n-u)/(h-p)),y.l*=YE,y.s*=qE,y.h*=d6,y.h<g2&&(y.h+=Nf),y.h>=Nf&&(y.h-=Nf),y}function c5(o,n){return r5(o,n)}function tm(o){const n=(o.h%Nf+Nf)%Nf,u=Math.max(GE,Math.min(qE,o.s)),c=Math.max(V6,Math.min(YE,o.l)),h=n/Nf,p=u/qE,y=c/YE;if(u===GE){const V=Math.round(y*jf);return{r:V,g:V,b:V}}const S=(V,X,Q)=>{if(Q<0&&Q++,Q>1&&Q--,Q*JE<1)return V+(X-V)*JE*Q;if(Q*Wi<1)return X;if(Q*ZE<1*Wi){const ee=Wi/ZE;return V+(X-V)*(ee-Q)*JE}return V},E=y<ci?y*(H6+p):y+p-y*p,A=Wi*y-E,x=L6/ZE,_=Math.min(jf,jf*S(A,E,h+x)),w=Math.min(jf,jf*S(A,E,h)),z=Math.min(jf,jf*S(A,E,h-x));return{r:Math.round(_),g:Math.round(w),b:Math.round(z)}}function f5(o){const n=tm(o);return{a:o.a,b:n.b,g:n.g,r:n.r}}function Q2(o){const n=N6,u=Ob+QE;return{b:Math.floor(ul(Bt(n,u))),g:Math.floor(ul(Bt(n,u))),r:Math.floor(ul(Bt(n,u)))}}function Du(o,n){return`rgba(${o.r}, ${o.g}, ${o.b}, ${n??kE})`}function ng(o,n){return`hsla(${o.h}, ${o.s}%, ${o.l}%, ${n??kE})`}function tA(o,n,u,c){let h=o,p=n;return h.r===void 0&&(h=tm(o)),p.r===void 0&&(p=tm(n)),{b:$E(h.b,p.b,u,c),g:$E(h.g,p.g,u,c),r:$E(h.r,p.r,u,c)}}function nA(o,n,u){if(u===Fh)return Q2();if(u===Rb){const c=o.getFillColor()??o.getStrokeColor(),h=n?.getFillColor()??n?.getStrokeColor();if(c&&h&&n)return tA(c,h,o.getRadius(),n.getRadius());{const p=c??h;if(p)return tm(p)}}else return u}function Z2(o,n,u,c){const h=Qr(n)?n:n.value;return h===Fh?c?Xo(o,{value:h}):u?Fh:Rb:h===Rb?Rb:Xo(o,{value:h})}function J2(o){return o!==void 0?{h:o.h.value,s:o.s.value,l:o.l.value}:void 0}function $2(o,n,u){const c={h:{enable:!1,value:o.h},s:{enable:!1,value:o.s},l:{enable:!1,value:o.l}};return n&&(iA(c.h,n.h,u),iA(c.s,n.s,u),iA(c.l,n.l,u)),c}function iA(o,n,u){o.enable=n.enable,o.enable?(o.velocity=Xe(n.speed)/Xr*u,o.decay=E2-Xe(n.decay),o.status=Qn.increasing,o.loops=q6,o.maxLoops=Xe(n.count),o.time=Y6,o.delayTime=Xe(n.delay)*Pi,n.sync||(o.velocity*=$t(),o.value*=$t()),o.initialValue=o.value,o.offset=Bt(n.offset)):o.velocity=j6}function aA(o,n,u,c){if(!o||!o.enable||(o.maxLoops??0)>0&&(o.loops??0)>(o.maxLoops??0)||(o.time||(o.time=0),(o.delayTime??0)>0&&o.time<(o.delayTime??0)&&(o.time+=c.value),(o.delayTime??0)>0&&o.time<(o.delayTime??0)))return;const x=o.offset?ul(o.offset):0,_=(o.velocity??0)*c.factor+x*3.6,w=o.decay??1,z=Ms(n),V=Bb(n);!u||o.status===Qn.increasing?(o.value+=_,o.value>z&&(o.loops||(o.loops=0),o.loops++,u?o.status=Qn.decreasing:o.value-=z)):(o.value-=_,o.value<0&&(o.loops||(o.loops=0),o.loops++,o.status=Qn.increasing)),o.velocity&&w!==1&&(o.velocity*=w),o.value=Ql(o.value,V,z)}function K2(o,n){if(!o)return;const{h:u,s:c,l:h}=o,p={h:{min:0,max:360},s:{min:0,max:100},l:{min:0,max:100}};u&&aA(u,p.h,!1,n),c&&aA(c,p.s,!0,n),h&&aA(h,p.l,!0,n)}function ig(o,n,u){o.beginPath(),o.moveTo(n.x,n.y),o.lineTo(u.x,u.y),o.closePath()}function d5(o,n,u){o.fillStyle=u??"rgba(0,0,0,0)",o.fillRect(Fi.x,Fi.y,n.width,n.height)}function h5(o,n,u,c){u&&(o.globalAlpha=c,o.drawImage(u,Fi.x,Fi.y,n.width,n.height),o.globalAlpha=1)}function lA(o,n){o.clearRect(Fi.x,Fi.y,n.width,n.height)}function m5(o){const{container:n,context:u,particle:c,delta:h,colorStyles:p,backgroundMask:y,composite:S,radius:E,opacity:A,shadow:x,transform:_}=o,w=c.getPosition(),z=c.rotation+(c.pathRotation?c.velocity.angle:B6),V={sin:Math.sin(z),cos:Math.cos(z)},X=!!z,Q={a:V.cos*(_.a??wb.a),b:X?V.sin*(_.b??QE):_.b??wb.b,c:X?-V.sin*(_.c??QE):_.c??wb.c,d:V.cos*(_.d??wb.d)};u.setTransform(Q.a,Q.b,Q.c,Q.d,w.x,w.y),y&&(u.globalCompositeOperation=S);const $=c.shadowColor;x.enable&&$&&(u.shadowBlur=x.blur,u.shadowColor=Du($),u.shadowOffsetX=x.offset.x,u.shadowOffsetY=x.offset.y),p.fill&&(u.fillStyle=p.fill);const le=c.strokeWidth??O2;u.lineWidth=le,p.stroke&&(u.strokeStyle=p.stroke);const ee={container:n,context:u,particle:c,radius:E,opacity:A,delta:h,transformData:Q,strokeWidth:le};y5(ee),g5(ee),p5(ee),u.globalCompositeOperation="source-over",u.resetTransform()}function p5(o){const{container:n,context:u,particle:c,radius:h,opacity:p,delta:y,transformData:S}=o;if(!c.effect)return;const E=n.effectDrawers.get(c.effect);E&&E.draw({context:u,particle:c,radius:h,opacity:p,delta:y,pixelRatio:n.retina.pixelRatio,transformData:{...S}})}function y5(o){const{container:n,context:u,particle:c,radius:h,opacity:p,delta:y,strokeWidth:S,transformData:E}=o;if(!c.shape)return;const A=n.shapeDrawers.get(c.shape);A&&(u.beginPath(),A.draw({context:u,particle:c,radius:h,opacity:p,delta:y,pixelRatio:n.retina.pixelRatio,transformData:{...E}}),c.shapeClose&&u.closePath(),S>O2&&u.stroke(),c.shapeFill&&u.fill())}function g5(o){const{container:n,context:u,particle:c,radius:h,opacity:p,delta:y,transformData:S}=o;if(!c.shape)return;const E=n.shapeDrawers.get(c.shape);E?.afterDraw&&E.afterDraw({context:u,particle:c,radius:h,opacity:p,delta:y,pixelRatio:n.retina.pixelRatio,transformData:{...S}})}function v5(o,n,u){n.draw&&n.draw(o,u)}function b5(o,n,u,c){n.drawParticle&&n.drawParticle(o,u,c)}function S5(o,n,u){return{h:o.h,s:o.s,l:o.l+(n===eA.darken?-M2:M2)*u}}function T5(o,n,u){const c=n[u];c!==void 0&&(o[u]=(o[u]??m6)*c)}function P2(o,n,u=!1){if(!n)return;const c=o;if(!c)return;const h=c.style;if(!h)return;const p=new Set;for(const y in h)Object.prototype.hasOwnProperty.call(h,y)&&p.add(h[y]);for(const y in n)Object.prototype.hasOwnProperty.call(n,y)&&p.add(n[y]);for(const y of p){const S=n.getPropertyValue(y);S?h.setProperty(y,S,u?"important":""):h.removeProperty(y)}}class E5{constructor(n,u){this.container=n,this._applyPostDrawUpdaters=p=>{for(const y of this._postDrawUpdaters)y.afterDraw?.(p)},this._applyPreDrawUpdaters=(p,y,S,E,A,x)=>{for(const _ of this._preDrawUpdaters){if(_.getColorStyles){const{fill:w,stroke:z}=_.getColorStyles(y,p,S,E);w&&(A.fill=w),z&&(A.stroke=z)}if(_.getTransformValues){const w=_.getTransformValues(y);for(const z in w)T5(x,w,z)}_.beforeDraw?.(y)}},this._applyResizePlugins=()=>{for(const p of this._resizePlugins)p.resize?.()},this._getPluginParticleColors=p=>{let y,S;for(const E of this._colorPlugins)if(!y&&E.particleFillColor&&(y=tg(this._engine,E.particleFillColor(p))),!S&&E.particleStrokeColor&&(S=tg(this._engine,E.particleStrokeColor(p))),y&&S)break;return[y,S]},this._initCover=async()=>{const p=this.container.actualOptions,y=p.backgroundMask.cover,S=y.color;if(S){const E=Xo(this._engine,S);if(E){const A={...E,a:y.opacity};this._coverColorStyle=Du(A,A.a)}}else await new Promise((E,A)=>{if(!y.image)return;const x=document.createElement("img");x.addEventListener("load",()=>{this._coverImage={image:x,opacity:y.opacity},E()}),x.addEventListener("error",_=>{A(_.error)}),x.src=y.image})},this._initStyle=()=>{const p=this.element,y=this.container.actualOptions;if(p){this._fullScreen?this._setFullScreenStyle():this._resetOriginalStyle();for(const S in y.style){if(!S||!y.style||!Object.prototype.hasOwnProperty.call(y.style,S))continue;const E=y.style[S];E&&p.style.setProperty(S,E,"important")}}},this._initTrail=async()=>{const p=this.container.actualOptions,y=p.particles.move.trail,S=y.fill;if(!y.enable)return;const E=y2/y.length;if(S.color){const A=Xo(this._engine,S.color);if(!A)return;this._trailFill={color:{...A},opacity:E}}else await new Promise((A,x)=>{if(!S.image)return;const _=document.createElement("img");_.addEventListener("load",()=>{this._trailFill={image:_,opacity:E},A()}),_.addEventListener("error",w=>{x(w.error)}),_.src=S.image})},this._paintBase=p=>{this.draw(y=>d5(y,this.size,p))},this._paintImage=(p,y)=>{this.draw(S=>h5(S,this.size,p,y))},this._repairStyle=()=>{const p=this.element;if(!p)return;this._safeMutationObserver(S=>S.disconnect()),this._initStyle(),this.initBackground();const y=this._pointerEvents;p.style.pointerEvents=y,p.setAttribute("pointer-events",y),this._safeMutationObserver(S=>{!p||!(p instanceof Node)||S.observe(p,{attributes:!0})})},this._resetOriginalStyle=()=>{const p=this.element,y=this._originalStyle;!p||!y||P2(p,y,!0)},this._safeMutationObserver=p=>{this._mutationObserver&&p(this._mutationObserver)},this._setFullScreenStyle=()=>{const p=this.element;p&&P2(p,u5(this.container.actualOptions.fullScreen.zIndex),!0)},this._engine=u,this._standardSize={height:0,width:0};const c=n.retina.pixelRatio,h=this._standardSize;this.size={height:h.height*c,width:h.width*c},this._context=null,this._generated=!1,this._preDrawUpdaters=[],this._postDrawUpdaters=[],this._resizePlugins=[],this._colorPlugins=[],this._pointerEvents="none"}get _fullScreen(){return this.container.actualOptions.fullScreen.enable}clear(){const n=this.container.actualOptions,u=n.particles.move.trail,c=this._trailFill;n.backgroundMask.enable?this.paint():u.enable&&u.length>y6&&c?c.color?this._paintBase(Du(c.color,c.opacity)):c.image&&this._paintImage(c.image,c.opacity):n.clear&&this.draw(h=>{lA(h,this.size)})}destroy(){this.stop(),this._generated?(this.element?.remove(),this.element=void 0):this._resetOriginalStyle(),this._preDrawUpdaters=[],this._postDrawUpdaters=[],this._resizePlugins=[],this._colorPlugins=[]}draw(n){const u=this._context;if(u)return n(u)}drawAsync(n){const u=this._context;if(u)return n(u)}drawParticle(n,u){if(n.spawning||n.destroyed)return;const c=n.getRadius();if(c<=p6)return;const h=n.getFillColor(),p=n.getStrokeColor()??h;let[y,S]=this._getPluginParticleColors(n);y||(y=h),S||(S=p),!(!y&&!S)&&this.draw(E=>{const A=this.container,x=A.actualOptions,_=n.options.zIndex,w=g6-n.zIndexFactor,z=w**_.opacityRate,V=n.bubble.opacity??n.opacity?.value??kE,X=n.strokeOpacity??V,Q=V*z,$=X*z,le={},ee={fill:y?ng(y,Q):void 0};ee.stroke=S?ng(S,$):ee.fill,this._applyPreDrawUpdaters(E,n,c,Q,ee,le),m5({container:A,context:E,particle:n,delta:u,colorStyles:ee,backgroundMask:x.backgroundMask.enable,composite:x.backgroundMask.composite,radius:c*w**_.sizeRate,opacity:Q,shadow:n.options.shadow,transform:le}),this._applyPostDrawUpdaters(n)})}drawParticlePlugin(n,u,c){this.draw(h=>b5(h,n,u,c))}drawPlugin(n,u){this.draw(c=>v5(c,n,u))}async init(){this._safeMutationObserver(n=>n.disconnect()),this._mutationObserver=I6(n=>{for(const u of n)u.type==="attributes"&&u.attributeName==="style"&&this._repairStyle()}),this.resize(),this._initStyle(),await this._initCover();try{await this._initTrail()}catch(n){Gf().error(n)}this.initBackground(),this._safeMutationObserver(n=>{!this.element||!(this.element instanceof Node)||n.observe(this.element,{attributes:!0})}),this.initUpdaters(),this.initPlugins(),this.paint()}initBackground(){const n=this.container.actualOptions,u=n.background,c=this.element;if(!c)return;const h=c.style;if(h){if(u.color){const p=Xo(this._engine,u.color);h.backgroundColor=p?Du(p,u.opacity):""}else h.backgroundColor="";h.backgroundImage=u.image||"",h.backgroundPosition=u.position||"",h.backgroundRepeat=u.repeat||"",h.backgroundSize=u.size||""}}initPlugins(){this._resizePlugins=[];for(const n of this.container.plugins.values())n.resize&&this._resizePlugins.push(n),(n.particleFillColor??n.particleStrokeColor)&&this._colorPlugins.push(n)}initUpdaters(){this._preDrawUpdaters=[],this._postDrawUpdaters=[];for(const n of this.container.particles.updaters)n.afterDraw&&this._postDrawUpdaters.push(n),(n.getColorStyles??n.getTransformValues??n.beforeDraw)&&this._preDrawUpdaters.push(n)}loadCanvas(n){this._generated&&this.element&&this.element.remove(),this._generated=n.dataset&&Hf in n.dataset?n.dataset[Hf]==="true":this._generated,this.element=n,this.element.ariaHidden="true",this._originalStyle=o5(this.element.style);const u=this._standardSize;u.height=n.offsetHeight,u.width=n.offsetWidth;const c=this.container.retina.pixelRatio,h=this.size;n.height=h.height=u.height*c,n.width=h.width=u.width*c,this._context=this.element.getContext("2d"),this._safeMutationObserver(p=>p.disconnect()),this.container.retina.init(),this.initBackground(),this._safeMutationObserver(p=>{!this.element||!(this.element instanceof Node)||p.observe(this.element,{attributes:!0})})}paint(){const n=this.container.actualOptions;this.draw(u=>{n.backgroundMask.enable&&n.backgroundMask.cover?(lA(u,this.size),this._coverImage?this._paintImage(this._coverImage.image,this._coverImage.opacity):this._coverColorStyle?this._paintBase(this._coverColorStyle):this._paintBase()):this._paintBase()})}resize(){if(!this.element)return!1;const n=this.container,u=n.canvas._standardSize,c={width:this.element.offsetWidth,height:this.element.offsetHeight},h=n.retina.pixelRatio,p={width:c.width*h,height:c.height*h};if(c.height===u.height&&c.width===u.width&&p.height===this.element.height&&p.width===this.element.width)return!1;const y={...u};u.height=c.height,u.width=c.width;const S=this.size;return this.element.width=S.width=p.width,this.element.height=S.height=p.height,this.container.started&&n.particles.setResizeFactor({width:u.width/y.width,height:u.height/y.height}),!0}setPointerEvents(n){this.element&&(this._pointerEvents=n,this._repairStyle())}stop(){this._safeMutationObserver(n=>n.disconnect()),this._mutationObserver=void 0,this.draw(n=>lA(n,this.size))}async windowResize(){if(!this.element||!this.resize())return;const n=this.container,u=n.updateActualOptions();n.particles.setDensity(),this._applyResizePlugins(),u&&await n.refresh()}}var nm;(function(o){o.canvas="canvas",o.parent="parent",o.window="window"})(nm||(nm={}));function Jl(o,n,u,c,h){if(c){let p={passive:!0};C2(h)?p.capture=h:h!==void 0&&(p=h),o.addEventListener(n,u,p)}else{const p=h;o.removeEventListener(n,u,p)}}class A5{constructor(n){this.container=n,this._doMouseTouchClick=u=>{const c=this.container,h=c.actualOptions;if(this._canPush){const p=c.interactivity.mouse,y=p.position;if(!y)return;p.clickPosition={...y},p.clickTime=new Date().getTime();const S=h.interactivity.events.onClick;cl(S.mode,E=>this.container.handleClickMode(E))}u.type==="touchend"&&setTimeout(()=>this._mouseTouchFinish(),U6)},this._handleThemeChange=u=>{const c=u,h=this.container,p=h.options,y=p.defaultThemes,S=c.matches?y.dark:y.light;p.themes.find(A=>A.name===S)?.default.auto&&h.loadTheme(S)},this._handleVisibilityChange=()=>{const u=this.container,c=u.actualOptions;this._mouseTouchFinish(),c.pauseOnBlur&&(document?.hidden?(u.pageHidden=!0,u.pause()):(u.pageHidden=!1,u.animationStatus?u.play(!0):u.draw(!0)))},this._handleWindowResize=()=>{this._resizeTimeout&&(clearTimeout(this._resizeTimeout),delete this._resizeTimeout);const u=async()=>{await this.container.canvas?.windowResize()};this._resizeTimeout=setTimeout(()=>void u(),this.container.actualOptions.interactivity.events.resize.delay*Pi)},this._manageInteractivityListeners=(u,c)=>{const h=this._handlers,p=this.container,y=p.actualOptions,S=p.interactivity.element;if(!S)return;const E=S,A=p.canvas;A.setPointerEvents(E===A.element?"initial":"none"),(y.interactivity.events.onHover.enable||y.interactivity.events.onClick.enable)&&(Jl(S,Lf,h.mouseMove,c),Jl(S,a6,h.touchStart,c),Jl(S,l6,h.touchMove,c),y.interactivity.events.onClick.enable?(Jl(S,r2,h.touchEndClick,c),Jl(S,n6,h.mouseUp,c),Jl(S,t6,h.mouseDown,c)):Jl(S,r2,h.touchEnd,c),Jl(S,u,h.mouseLeave,c),Jl(S,o6,h.touchCancel,c))},this._manageListeners=u=>{const c=this._handlers,h=this.container,p=h.actualOptions,y=p.interactivity.detectsOn,S=h.canvas.element;let E=LE;y===nm.window?(h.interactivity.element=window,E=i6):y===nm.parent&&S?h.interactivity.element=S.parentElement??S.parentNode:h.interactivity.element=S,this._manageMediaMatch(u),this._manageResize(u),this._manageInteractivityListeners(E,u),document&&Jl(document,u6,c.visibilityChange,u,!1)},this._manageMediaMatch=u=>{const c=this._handlers,h=H2("(prefers-color-scheme: dark)");if(h){if(h.addEventListener!==void 0){Jl(h,"change",c.themeChange,u);return}h.addListener!==void 0&&(u?h.addListener(c.oldThemeChange):h.removeListener(c.oldThemeChange))}},this._manageResize=u=>{const c=this._handlers,h=this.container;if(!h.actualOptions.interactivity.events.resize)return;if(typeof ResizeObserver>"u"){Jl(window,s6,c.resize,u);return}const y=h.canvas.element;this._resizeObserver&&!u?(y&&this._resizeObserver.unobserve(y),this._resizeObserver.disconnect(),delete this._resizeObserver):!this._resizeObserver&&u&&y&&(this._resizeObserver=new ResizeObserver(S=>{S.find(A=>A.target===y)&&this._handleWindowResize()}),this._resizeObserver.observe(y))},this._mouseDown=()=>{const{interactivity:u}=this.container;if(!u)return;const{mouse:c}=u;c.clicking=!0,c.downPosition=c.position},this._mouseTouchClick=u=>{const c=this.container,h=c.actualOptions,{mouse:p}=c.interactivity;p.inside=!0;let y=!1;const S=p.position;if(!(!S||!h.interactivity.events.onClick.enable)){for(const E of c.plugins.values())if(E.clickPositionValid&&(y=E.clickPositionValid(S),y))break;y||this._doMouseTouchClick(u),p.clicking=!1}},this._mouseTouchFinish=()=>{const u=this.container.interactivity;if(!u)return;const c=u.mouse;delete c.position,delete c.clickPosition,delete c.downPosition,u.status=LE,c.inside=!1,c.clicking=!1},this._mouseTouchMove=u=>{const c=this.container,h=c.actualOptions,p=c.interactivity,y=c.canvas.element;if(!p?.element)return;p.mouse.inside=!0;let S;if(u.type.startsWith("pointer")){this._canPush=!0;const A=u;if(p.element===window){if(y){const x=y.getBoundingClientRect();S={x:A.clientX-x.left,y:A.clientY-x.top}}}else if(h.interactivity.detectsOn===nm.parent){const x=A.target,_=A.currentTarget;if(x&&_&&y){const w=x.getBoundingClientRect(),z=_.getBoundingClientRect(),V=y.getBoundingClientRect();S={x:A.offsetX+Wi*w.left-(z.left+V.left),y:A.offsetY+Wi*w.top-(z.top+V.top)}}else S={x:A.offsetX??A.clientX,y:A.offsetY??A.clientY}}else A.target===y&&(S={x:A.offsetX??A.clientX,y:A.offsetY??A.clientY})}else if(this._canPush=u.type!=="touchmove",y){const A=u,x=A.touches[A.touches.length-w2],_=y.getBoundingClientRect();S={x:x.clientX-(_.left??Cb),y:x.clientY-(_.top??Cb)}}const E=c.retina.pixelRatio;S&&(S.x*=E,S.y*=E),p.mouse.position=S,p.status=Lf},this._touchEnd=u=>{const c=u,h=Array.from(c.changedTouches);for(const p of h)this._touches.delete(p.identifier);this._mouseTouchFinish()},this._touchEndClick=u=>{const c=u,h=Array.from(c.changedTouches);for(const p of h)this._touches.delete(p.identifier);this._mouseTouchClick(u)},this._touchStart=u=>{const c=u,h=Array.from(c.changedTouches);for(const p of h)this._touches.set(p.identifier,performance.now());this._mouseTouchMove(u)},this._canPush=!0,this._touches=new Map,this._handlers={mouseDown:()=>this._mouseDown(),mouseLeave:()=>this._mouseTouchFinish(),mouseMove:u=>this._mouseTouchMove(u),mouseUp:u=>this._mouseTouchClick(u),touchStart:u=>this._touchStart(u),touchMove:u=>this._mouseTouchMove(u),touchEnd:u=>this._touchEnd(u),touchCancel:u=>this._touchEnd(u),touchEndClick:u=>this._touchEndClick(u),visibilityChange:()=>this._handleVisibilityChange(),themeChange:u=>this._handleThemeChange(u),oldThemeChange:u=>this._handleThemeChange(u),resize:()=>{this._handleWindowResize()}}}addListeners(){this._manageListeners(!0)}removeListeners(){this._manageListeners(!1)}}var ma;(function(o){o.configAdded="configAdded",o.containerInit="containerInit",o.particlesSetup="particlesSetup",o.containerStarted="containerStarted",o.containerStopped="containerStopped",o.containerDestroyed="containerDestroyed",o.containerPaused="containerPaused",o.containerPlay="containerPlay",o.containerBuilt="containerBuilt",o.particleAdded="particleAdded",o.particleDestroyed="particleDestroyed",o.particleRemoved="particleRemoved"})(ma||(ma={}));class ea{constructor(){this.value=""}static create(n,u){const c=new ea;return c.load(n),u!==void 0&&(Qr(u)||Os(u)?c.load({value:u}):c.load(u)),c}load(n){Ee(n)||Ee(n.value)||(this.value=n.value)}}class x5{constructor(){this.color=new ea,this.color.value="",this.image="",this.position="",this.repeat="",this.size="",this.opacity=1}load(n){Ee(n)||(n.color!==void 0&&(this.color=ea.create(this.color,n.color)),n.image!==void 0&&(this.image=n.image),n.position!==void 0&&(this.position=n.position),n.repeat!==void 0&&(this.repeat=n.repeat),n.size!==void 0&&(this.size=n.size),n.opacity!==void 0&&(this.opacity=n.opacity))}}class _5{constructor(){this.opacity=1}load(n){Ee(n)||(n.color!==void 0&&(this.color=ea.create(this.color,n.color)),n.image!==void 0&&(this.image=n.image),n.opacity!==void 0&&(this.opacity=n.opacity))}}class D5{constructor(){this.composite="destination-out",this.cover=new _5,this.enable=!1}load(n){if(!Ee(n)){if(n.composite!==void 0&&(this.composite=n.composite),n.cover!==void 0){const u=n.cover,c=Qr(n.cover)?{color:n.cover}:n.cover;this.cover.load(u.color!==void 0||u.image!==void 0?u:{color:c})}n.enable!==void 0&&(this.enable=n.enable)}}}class w5{constructor(){this.enable=!0,this.zIndex=0}load(n){Ee(n)||(n.enable!==void 0&&(this.enable=n.enable),n.zIndex!==void 0&&(this.zIndex=n.zIndex))}}class R5{constructor(){this.enable=!1,this.mode=[]}load(n){Ee(n)||(n.enable!==void 0&&(this.enable=n.enable),n.mode!==void 0&&(this.mode=n.mode))}}var im;(function(o){o.circle="circle",o.rectangle="rectangle"})(im||(im={}));class F2{constructor(){this.selectors=[],this.enable=!1,this.mode=[],this.type=im.circle}load(n){Ee(n)||(n.selectors!==void 0&&(this.selectors=n.selectors),n.enable!==void 0&&(this.enable=n.enable),n.mode!==void 0&&(this.mode=n.mode),n.type!==void 0&&(this.type=n.type))}}class O5{constructor(){this.enable=!1,this.force=2,this.smooth=10}load(n){Ee(n)||(n.enable!==void 0&&(this.enable=n.enable),n.force!==void 0&&(this.force=n.force),n.smooth!==void 0&&(this.smooth=n.smooth))}}class M5{constructor(){this.enable=!1,this.mode=[],this.parallax=new O5}load(n){Ee(n)||(n.enable!==void 0&&(this.enable=n.enable),n.mode!==void 0&&(this.mode=n.mode),this.parallax.load(n.parallax))}}class C5{constructor(){this.delay=.5,this.enable=!0}load(n){Ee(n)||(n.delay!==void 0&&(this.delay=n.delay),n.enable!==void 0&&(this.enable=n.enable))}}class z5{constructor(){this.onClick=new R5,this.onDiv=new F2,this.onHover=new M5,this.resize=new C5}load(n){if(Ee(n))return;this.onClick.load(n.onClick);const u=n.onDiv;u!==void 0&&(this.onDiv=cl(u,c=>{const h=new F2;return h.load(c),h})),this.onHover.load(n.onHover),this.resize.load(n.resize)}}class U5{constructor(n,u){this._engine=n,this._container=u}load(n){if(Ee(n)||!this._container)return;const u=this._engine.interactors.get(this._container);if(u)for(const c of u)c.loadModeOptions&&c.loadModeOptions(this,n)}}class W2{constructor(n,u){this.detectsOn=nm.window,this.events=new z5,this.modes=new U5(n,u)}load(n){if(Ee(n))return;const u=n.detectsOn;u!==void 0&&(this.detectsOn=u),this.events.load(n.events),this.modes.load(n.modes)}}class B5{load(n){Ee(n)||(n.position&&(this.position={x:n.position.x??R2,y:n.position.y??R2,mode:n.position.mode??Ih.percent}),n.options&&(this.options=Ii({},n.options)))}}var Xf;(function(o){o.screen="screen",o.canvas="canvas"})(Xf||(Xf={}));class V5{constructor(){this.maxWidth=1/0,this.options={},this.mode=Xf.canvas}load(n){Ee(n)||(Ee(n.maxWidth)||(this.maxWidth=n.maxWidth),Ee(n.mode)||(n.mode===Xf.screen?this.mode=Xf.screen:this.mode=Xf.canvas),Ee(n.options)||(this.options=Ii({},n.options)))}}var $r;(function(o){o.any="any",o.dark="dark",o.light="light"})($r||($r={}));class H5{constructor(){this.auto=!1,this.mode=$r.any,this.value=!1}load(n){Ee(n)||(n.auto!==void 0&&(this.auto=n.auto),n.mode!==void 0&&(this.mode=n.mode),n.value!==void 0&&(this.value=n.value))}}class L5{constructor(){this.name="",this.default=new H5}load(n){Ee(n)||(n.name!==void 0&&(this.name=n.name),this.default.load(n.default),n.options!==void 0&&(this.options=Ii({},n.options)))}}class oA{constructor(){this.count=0,this.enable=!1,this.speed=1,this.decay=0,this.delay=0,this.sync=!1}load(n){Ee(n)||(n.count!==void 0&&(this.count=Bt(n.count)),n.enable!==void 0&&(this.enable=n.enable),n.speed!==void 0&&(this.speed=Bt(n.speed)),n.decay!==void 0&&(this.decay=Bt(n.decay)),n.delay!==void 0&&(this.delay=Bt(n.delay)),n.sync!==void 0&&(this.sync=n.sync))}}class sA extends oA{constructor(){super(),this.mode=qf.auto,this.startValue=em.random}load(n){super.load(n),!Ee(n)&&(n.mode!==void 0&&(this.mode=n.mode),n.startValue!==void 0&&(this.startValue=n.startValue))}}class uA extends oA{constructor(){super(),this.offset=0,this.sync=!0}load(n){super.load(n),!Ee(n)&&n.offset!==void 0&&(this.offset=Bt(n.offset))}}class N5{constructor(){this.h=new uA,this.s=new uA,this.l=new uA}load(n){Ee(n)||(this.h.load(n.h),this.s.load(n.s),this.l.load(n.l))}}class ag extends ea{constructor(){super(),this.animation=new N5}static create(n,u){const c=new ag;return c.load(n),u!==void 0&&(Qr(u)||Os(u)?c.load({value:u}):c.load(u)),c}load(n){if(super.load(n),Ee(n))return;const u=n.animation;u!==void 0&&(u.enable!==void 0?this.animation.h.load(u):this.animation.load(n.animation))}}var am;(function(o){o.absorb="absorb",o.bounce="bounce",o.destroy="destroy"})(am||(am={}));class j5{constructor(){this.speed=2}load(n){Ee(n)||n.speed!==void 0&&(this.speed=n.speed)}}class q5{constructor(){this.enable=!0,this.retries=0}load(n){Ee(n)||(n.enable!==void 0&&(this.enable=n.enable),n.retries!==void 0&&(this.retries=n.retries))}}class Qf{constructor(){this.value=0}load(n){Ee(n)||Ee(n.value)||(this.value=Bt(n.value))}}class Y5 extends Qf{constructor(){super(),this.animation=new oA}load(n){if(super.load(n),Ee(n))return;const u=n.animation;u!==void 0&&this.animation.load(u)}}class I2 extends Y5{constructor(){super(),this.animation=new sA}load(n){super.load(n)}}class eR extends Qf{constructor(){super(),this.value=1}}class tR{constructor(){this.horizontal=new eR,this.vertical=new eR}load(n){Ee(n)||(this.horizontal.load(n.horizontal),this.vertical.load(n.vertical))}}class G5{constructor(){this.absorb=new j5,this.bounce=new tR,this.enable=!1,this.maxSpeed=50,this.mode=am.bounce,this.overlap=new q5}load(n){Ee(n)||(this.absorb.load(n.absorb),this.bounce.load(n.bounce),n.enable!==void 0&&(this.enable=n.enable),n.maxSpeed!==void 0&&(this.maxSpeed=Bt(n.maxSpeed)),n.mode!==void 0&&(this.mode=n.mode),this.overlap.load(n.overlap))}}class k5{constructor(){this.close=!0,this.fill=!0,this.options={},this.type=[]}load(n){if(Ee(n))return;const u=n.options;if(u!==void 0)for(const c in u){const h=u[c];h&&(this.options[c]=Ii(this.options[c]??{},h))}n.close!==void 0&&(this.close=n.close),n.fill!==void 0&&(this.fill=n.fill),n.type!==void 0&&(this.type=n.type)}}class X5{constructor(){this.offset=0,this.value=90}load(n){Ee(n)||(n.offset!==void 0&&(this.offset=Bt(n.offset)),n.value!==void 0&&(this.value=Bt(n.value)))}}class Q5{constructor(){this.distance=200,this.enable=!1,this.rotate={x:3e3,y:3e3}}load(n){if(!Ee(n)&&(n.distance!==void 0&&(this.distance=Bt(n.distance)),n.enable!==void 0&&(this.enable=n.enable),n.rotate)){const u=n.rotate.x;u!==void 0&&(this.rotate.x=u);const c=n.rotate.y;c!==void 0&&(this.rotate.y=c)}}}class Z5{constructor(){this.x=50,this.y=50,this.mode=Ih.percent,this.radius=0}load(n){Ee(n)||(n.x!==void 0&&(this.x=n.x),n.y!==void 0&&(this.y=n.y),n.mode!==void 0&&(this.mode=n.mode),n.radius!==void 0&&(this.radius=n.radius))}}class J5{constructor(){this.acceleration=9.81,this.enable=!1,this.inverse=!1,this.maxSpeed=50}load(n){Ee(n)||(n.acceleration!==void 0&&(this.acceleration=Bt(n.acceleration)),n.enable!==void 0&&(this.enable=n.enable),n.inverse!==void 0&&(this.inverse=n.inverse),n.maxSpeed!==void 0&&(this.maxSpeed=Bt(n.maxSpeed)))}}class $5{constructor(){this.clamp=!0,this.delay=new Qf,this.enable=!1,this.options={}}load(n){Ee(n)||(n.clamp!==void 0&&(this.clamp=n.clamp),this.delay.load(n.delay),n.enable!==void 0&&(this.enable=n.enable),this.generator=n.generator,n.options&&(this.options=Ii(this.options,n.options)))}}class K5{load(n){Ee(n)||(n.color!==void 0&&(this.color=ea.create(this.color,n.color)),n.image!==void 0&&(this.image=n.image))}}class P5{constructor(){this.enable=!1,this.length=10,this.fill=new K5}load(n){Ee(n)||(n.enable!==void 0&&(this.enable=n.enable),n.fill!==void 0&&this.fill.load(n.fill),n.length!==void 0&&(this.length=n.length))}}var Zn;(function(o){o.bounce="bounce",o.none="none",o.out="out",o.destroy="destroy",o.split="split"})(Zn||(Zn={}));class F5{constructor(){this.default=Zn.out}load(n){Ee(n)||(n.default!==void 0&&(this.default=n.default),this.bottom=n.bottom??n.default,this.left=n.left??n.default,this.right=n.right??n.default,this.top=n.top??n.default)}}class W5{constructor(){this.acceleration=0,this.enable=!1}load(n){Ee(n)||(n.acceleration!==void 0&&(this.acceleration=Bt(n.acceleration)),n.enable!==void 0&&(this.enable=n.enable),n.position&&(this.position=Ii({},n.position)))}}class I5{constructor(){this.angle=new X5,this.attract=new Q5,this.center=new Z5,this.decay=0,this.distance={},this.direction=Oi.none,this.drift=0,this.enable=!1,this.gravity=new J5,this.path=new $5,this.outModes=new F5,this.random=!1,this.size=!1,this.speed=2,this.spin=new W5,this.straight=!1,this.trail=new P5,this.vibrate=!1,this.warp=!1}load(n){if(Ee(n))return;this.angle.load(Zr(n.angle)?{value:n.angle}:n.angle),this.attract.load(n.attract),this.center.load(n.center),n.decay!==void 0&&(this.decay=Bt(n.decay)),n.direction!==void 0&&(this.direction=n.direction),n.distance!==void 0&&(this.distance=Zr(n.distance)?{horizontal:n.distance,vertical:n.distance}:{...n.distance}),n.drift!==void 0&&(this.drift=Bt(n.drift)),n.enable!==void 0&&(this.enable=n.enable),this.gravity.load(n.gravity);const u=n.outModes;u!==void 0&&(Wh(u)?this.outModes.load(u):this.outModes.load({default:u})),this.path.load(n.path),n.random!==void 0&&(this.random=n.random),n.size!==void 0&&(this.size=n.size),n.speed!==void 0&&(this.speed=Bt(n.speed)),this.spin.load(n.spin),n.straight!==void 0&&(this.straight=n.straight),this.trail.load(n.trail),n.vibrate!==void 0&&(this.vibrate=n.vibrate),n.warp!==void 0&&(this.warp=n.warp)}}class e8 extends sA{constructor(){super(),this.destroy=Yf.none,this.speed=2}load(n){super.load(n),!Ee(n)&&n.destroy!==void 0&&(this.destroy=n.destroy)}}class t8 extends I2{constructor(){super(),this.animation=new e8,this.value=1}load(n){if(Ee(n))return;super.load(n);const u=n.animation;u!==void 0&&this.animation.load(u)}}class n8{constructor(){this.enable=!1,this.width=1920,this.height=1080}load(n){if(Ee(n))return;n.enable!==void 0&&(this.enable=n.enable);const u=n.width;u!==void 0&&(this.width=u);const c=n.height;c!==void 0&&(this.height=c)}}var lg;(function(o){o.delete="delete",o.wait="wait"})(lg||(lg={}));class i8{constructor(){this.mode=lg.delete,this.value=0}load(n){Ee(n)||(n.mode!==void 0&&(this.mode=n.mode),n.value!==void 0&&(this.value=n.value))}}class a8{constructor(){this.density=new n8,this.limit=new i8,this.value=0}load(n){Ee(n)||(this.density.load(n.density),this.limit.load(n.limit),n.value!==void 0&&(this.value=n.value))}}class l8{constructor(){this.blur=0,this.color=new ea,this.enable=!1,this.offset={x:0,y:0},this.color.value="#000"}load(n){Ee(n)||(n.blur!==void 0&&(this.blur=n.blur),this.color=ea.create(this.color,n.color),n.enable!==void 0&&(this.enable=n.enable),n.offset!==void 0&&(n.offset.x!==void 0&&(this.offset.x=n.offset.x),n.offset.y!==void 0&&(this.offset.y=n.offset.y)))}}class o8{constructor(){this.close=!0,this.fill=!0,this.options={},this.type="circle"}load(n){if(Ee(n))return;const u=n.options;if(u!==void 0)for(const c in u){const h=u[c];h&&(this.options[c]=Ii(this.options[c]??{},h))}n.close!==void 0&&(this.close=n.close),n.fill!==void 0&&(this.fill=n.fill),n.type!==void 0&&(this.type=n.type)}}class s8 extends sA{constructor(){super(),this.destroy=Yf.none,this.speed=5}load(n){super.load(n),!Ee(n)&&n.destroy!==void 0&&(this.destroy=n.destroy)}}class u8 extends I2{constructor(){super(),this.animation=new s8,this.value=3}load(n){if(super.load(n),Ee(n))return;const u=n.animation;u!==void 0&&this.animation.load(u)}}class nR{constructor(){this.width=0}load(n){Ee(n)||(n.color!==void 0&&(this.color=ag.create(this.color,n.color)),n.width!==void 0&&(this.width=Bt(n.width)),n.opacity!==void 0&&(this.opacity=Bt(n.opacity)))}}class r8 extends Qf{constructor(){super(),this.opacityRate=1,this.sizeRate=1,this.velocityRate=1}load(n){super.load(n),!Ee(n)&&(n.opacityRate!==void 0&&(this.opacityRate=n.opacityRate),n.sizeRate!==void 0&&(this.sizeRate=n.sizeRate),n.velocityRate!==void 0&&(this.velocityRate=n.velocityRate))}}class c8{constructor(n,u){this._engine=n,this._container=u,this.bounce=new tR,this.collisions=new G5,this.color=new ag,this.color.value="#fff",this.effect=new k5,this.groups={},this.move=new I5,this.number=new a8,this.opacity=new t8,this.reduceDuplicates=!1,this.shadow=new l8,this.shape=new o8,this.size=new u8,this.stroke=new nR,this.zIndex=new r8}load(n){if(Ee(n))return;if(n.groups!==void 0)for(const c of Object.keys(n.groups)){if(!Object.hasOwn(n.groups,c))continue;const h=n.groups[c];h!==void 0&&(this.groups[c]=Ii(this.groups[c]??{},h))}n.reduceDuplicates!==void 0&&(this.reduceDuplicates=n.reduceDuplicates),this.bounce.load(n.bounce),this.color.load(ag.create(this.color,n.color)),this.effect.load(n.effect),this.move.load(n.move),this.number.load(n.number),this.opacity.load(n.opacity),this.shape.load(n.shape),this.size.load(n.size),this.shadow.load(n.shadow),this.zIndex.load(n.zIndex),this.collisions.load(n.collisions),n.interactivity!==void 0&&(this.interactivity=Ii({},n.interactivity));const u=n.stroke;if(u&&(this.stroke=cl(u,c=>{const h=new nR;return h.load(c),h})),this._container){const c=this._engine.updaters.get(this._container);if(c)for(const p of c)p.loadOptions&&p.loadOptions(this,n);const h=this._engine.interactors.get(this._container);if(h)for(const p of h)p.loadParticlesOptions&&p.loadParticlesOptions(this,n)}}}function iR(o,...n){for(const u of n)o.load(u)}function aR(o,n,...u){const c=new c8(o,n);return iR(c,...u),c}class f8{constructor(n,u){this._findDefaultTheme=c=>this.themes.find(h=>h.default.value&&h.default.mode===c)??this.themes.find(h=>h.default.value&&h.default.mode===$r.any),this._importPreset=c=>{this.load(this._engine.getPreset(c))},this._engine=n,this._container=u,this.autoPlay=!0,this.background=new x5,this.backgroundMask=new D5,this.clear=!0,this.defaultThemes={},this.delay=0,this.fullScreen=new w5,this.detectRetina=!0,this.duration=0,this.fpsLimit=120,this.interactivity=new W2(n,u),this.manualParticles=[],this.particles=aR(this._engine,this._container),this.pauseOnBlur=!0,this.pauseOnOutsideViewport=!0,this.responsive=[],this.smooth=!1,this.style={},this.themes=[],this.zLayers=100}load(n){if(Ee(n))return;n.preset!==void 0&&cl(n.preset,y=>this._importPreset(y)),n.autoPlay!==void 0&&(this.autoPlay=n.autoPlay),n.clear!==void 0&&(this.clear=n.clear),n.key!==void 0&&(this.key=n.key),n.name!==void 0&&(this.name=n.name),n.delay!==void 0&&(this.delay=Bt(n.delay));const u=n.detectRetina;u!==void 0&&(this.detectRetina=u),n.duration!==void 0&&(this.duration=Bt(n.duration));const c=n.fpsLimit;c!==void 0&&(this.fpsLimit=c),n.pauseOnBlur!==void 0&&(this.pauseOnBlur=n.pauseOnBlur),n.pauseOnOutsideViewport!==void 0&&(this.pauseOnOutsideViewport=n.pauseOnOutsideViewport),n.zLayers!==void 0&&(this.zLayers=n.zLayers),this.background.load(n.background);const h=n.fullScreen;C2(h)?this.fullScreen.enable=h:this.fullScreen.load(h),this.backgroundMask.load(n.backgroundMask),this.interactivity.load(n.interactivity),n.manualParticles&&(this.manualParticles=n.manualParticles.map(y=>{const S=new B5;return S.load(y),S})),this.particles.load(n.particles),this.style=Ii(this.style,n.style),this._engine.loadOptions(this,n),n.smooth!==void 0&&(this.smooth=n.smooth);const p=this._engine.interactors.get(this._container);if(p)for(const y of p)y.loadOptions&&y.loadOptions(this,n);if(n.responsive!==void 0)for(const y of n.responsive){const S=new V5;S.load(y),this.responsive.push(S)}if(this.responsive.sort((y,S)=>y.maxWidth-S.maxWidth),n.themes!==void 0)for(const y of n.themes){const S=this.themes.find(E=>E.name===y.name);if(S)S.load(y);else{const E=new L5;E.load(y),this.themes.push(E)}}this.defaultThemes.dark=this._findDefaultTheme($r.dark)?.name,this.defaultThemes.light=this._findDefaultTheme($r.light)?.name}setResponsive(n,u,c){this.load(c);const h=this.responsive.find(p=>p.mode===Xf.screen&&screen?p.maxWidth>screen.availWidth:p.maxWidth*u>n);return this.load(h?.options),h?.maxWidth}setTheme(n){if(n){const u=this.themes.find(c=>c.name===n);u&&this.load(u.options)}else{const u=H2("(prefers-color-scheme: dark)"),c=u?.matches,h=this._findDefaultTheme(c?$r.dark:$r.light);h&&this.load(h.options)}}}var lm;(function(o){o.external="external",o.particles="particles"})(lm||(lm={}));class d8{constructor(n,u){this.container=u,this._engine=n,this._interactors=[],this._externalInteractors=[],this._particleInteractors=[]}externalInteract(n){for(const u of this._externalInteractors)u.isEnabled()&&u.interact(n)}handleClickMode(n){for(const u of this._externalInteractors)u.handleClickMode?.(n)}async init(){this._interactors=await this._engine.getInteractors(this.container,!0),this._externalInteractors=[],this._particleInteractors=[];for(const n of this._interactors){switch(n.type){case lm.external:this._externalInteractors.push(n);break;case lm.particles:this._particleInteractors.push(n);break}n.init()}}particlesInteract(n,u){for(const c of this._externalInteractors)c.clear(n,u);for(const c of this._particleInteractors)c.isEnabled(n)&&c.interact(n,u)}reset(n){for(const u of this._externalInteractors)u.isEnabled()&&u.reset(n);for(const u of this._particleInteractors)u.isEnabled(n)&&u.reset(n)}}var Qo;(function(o){o.normal="normal",o.inside="inside",o.outside="outside"})(Qo||(Qo={}));function h8(o,n,u,c){const h=n.options[o];if(h)return Ii({close:n.close,fill:n.fill},Zl(h,u,c))}function m8(o,n,u,c){const h=n.options[o];if(h)return Ii({close:n.close,fill:n.fill},Zl(h,u,c))}function lR(o){if(!Vn(o.outMode,o.checkModes))return;const n=o.radius*Wi;o.coord>o.maxCoord-n?o.setCb(-o.radius):o.coord<n&&o.setCb(o.radius)}class p8{constructor(n,u){this.container=u,this._calcPosition=(c,h,p,y=d2)=>{for(const V of c.plugins.values()){const X=V.particlePosition!==void 0?V.particlePosition(h,this):void 0;if(X)return sl.create(X.x,X.y,p)}const S=c.canvas.size,E=J6({size:S,position:h}),A=sl.create(E.x,E.y,p),x=this.getRadius(),_=this.options.move.outModes,w=V=>{lR({outMode:V,checkModes:[Zn.bounce],coord:A.x,maxCoord:c.canvas.size.width,setCb:X=>A.x+=X,radius:x})},z=V=>{lR({outMode:V,checkModes:[Zn.bounce],coord:A.y,maxCoord:c.canvas.size.height,setCb:X=>A.y+=X,radius:x})};return w(_.left??_.default),w(_.right??_.default),z(_.top??_.default),z(_.bottom??_.default),this._checkOverlap(A,y)?this._calcPosition(c,void 0,p,y+D6):A},this._calculateVelocity=()=>{const c=Z6(this.direction),h=c.copy(),p=this.options.move;if(p.direction===Oi.inside||p.direction===Oi.outside)return h;const y=Jr(Xe(p.angle.value)),S=Jr(Xe(p.angle.offset)),E={left:S-y*ci,right:S+y*ci};return p.straight||(h.angle+=ul(Bt(E.left,E.right))),p.random&&typeof p.speed=="number"&&(h.length*=$t()),h},this._checkOverlap=(c,h=d2)=>{const p=this.options.collisions,y=this.getRadius();if(!p.enable)return!1;const S=p.overlap;if(S.enable)return!1;const E=S.retries;if(E>=w6&&h>E)throw new Error(`${Xl} particle is overlapping and can't be placed`);return!!this.container.particles.find(A=>rl(c,A.position)<y+A.getRadius())},this._getRollColor=c=>{if(!c||!this.roll||!this.backColor&&!this.roll.alter)return c;const h=this.roll.horizontal&&this.roll.vertical?Wi*A2:A2,p=this.roll.horizontal?Math.PI*ci:zb;return Math.floor(((this.roll.angle??zb)+p)/(Math.PI/h))%Wi?this.backColor?this.backColor:this.roll.alter?S5(c,this.roll.alter.type,this.roll.alter.value):c:c},this._initPosition=c=>{const h=this.container,p=Xe(this.options.zIndex.value);this.position=this._calcPosition(h,c,Ql(p,R6,h.zLayers)),this.initialPosition=this.position.copy();const y=h.canvas.size;switch(this.moveCenter={...G2(this.options.move.center,y),radius:this.options.move.center.radius??O6,mode:this.options.move.center.mode??Ih.percent},this.direction=Q6(this.options.move.direction,this.position,this.moveCenter),this.options.move.direction){case Oi.inside:this.outType=Qo.inside;break;case Oi.outside:this.outType=Qo.outside;break}this.offset=gi.origin},this._engine=n}destroy(n){if(this.unbreakable||this.destroyed)return;this.destroyed=!0,this.bubble.inRange=!1,this.slow.inRange=!1;const u=this.container,c=this.pathGenerator;u.shapeDrawers.get(this.shape)?.particleDestroy?.(this);for(const p of u.plugins.values())p.particleDestroyed?.(this,n);for(const p of u.particles.updaters)p.particleDestroyed?.(this,n);c?.reset(this),this._engine.dispatchEvent(ma.particleDestroyed,{container:this.container,data:{particle:this}})}draw(n){const u=this.container,c=u.canvas;for(const h of u.plugins.values())c.drawParticlePlugin(h,this,n);c.drawParticle(this,n)}getFillColor(){return this._getRollColor(this.bubble.color??J2(this.color))}getMass(){return this.getRadius()**_u*Math.PI*ci}getPosition(){return{x:this.position.x+this.offset.x,y:this.position.y+this.offset.y,z:this.position.z}}getRadius(){return this.bubble.radius??this.size.value}getStrokeColor(){return this._getRollColor(this.bubble.color??J2(this.strokeColor))}init(n,u,c,h){const p=this.container,y=this._engine;this.id=n,this.group=h,this.effectClose=!0,this.effectFill=!0,this.shapeClose=!0,this.shapeFill=!0,this.pathRotation=!1,this.lastPathTime=0,this.destroyed=!1,this.unbreakable=!1,this.isRotating=!1,this.rotation=0,this.misplaced=!1,this.retina={maxDistance:{}},this.outType=Qo.normal,this.ignoresResizeRatio=!0;const S=p.retina.pixelRatio,E=p.actualOptions,A=aR(this._engine,p,E.particles),{reduceDuplicates:x}=A,_=A.effect.type,w=A.shape.type;this.effect=Zl(_,this.id,x),this.shape=Zl(w,this.id,x);const z=A.effect,V=A.shape;if(c){if(c.effect?.type){const ve=c.effect.type,he=Zl(ve,this.id,x);he&&(this.effect=he,z.load(c.effect))}if(c.shape?.type){const ve=c.shape.type,he=Zl(ve,this.id,x);he&&(this.shape=he,V.load(c.shape))}}if(this.effect===Fh){const ve=[...this.container.effectDrawers.keys()];this.effect=ve[Math.floor($t()*ve.length)]}if(this.shape===Fh){const ve=[...this.container.shapeDrawers.keys()];this.shape=ve[Math.floor($t()*ve.length)]}this.effectData=h8(this.effect,z,this.id,x),this.shapeData=m8(this.shape,V,this.id,x),A.load(c);const X=this.effectData;X&&A.load(X.particles);const Q=this.shapeData;Q&&A.load(Q.particles);const $=new W2(y,p);$.load(p.actualOptions.interactivity),$.load(A.interactivity),this.interactivity=$,this.effectFill=X?.fill??A.effect.fill,this.effectClose=X?.close??A.effect.close,this.shapeFill=Q?.fill??A.shape.fill,this.shapeClose=Q?.close??A.shape.close,this.options=A;const le=this.options.move.path;this.pathDelay=Xe(le.delay.value)*Pi,le.generator&&(this.pathGenerator=this._engine.getPathGenerator(le.generator),this.pathGenerator&&p.addPath(le.generator,this.pathGenerator)&&this.pathGenerator.init(p)),p.retina.initParticle(this),this.size=Y2(this.options.size,S),this.bubble={inRange:!1},this.slow={inRange:!1,factor:1},this._initPosition(u),this.initialVelocity=this._calculateVelocity(),this.velocity=this.initialVelocity.copy(),this.moveDecay=E2-Xe(this.options.move.decay);const ee=p.particles;ee.setLastZIndex(this.position.z),this.zIndexFactor=this.position.z/p.zLayers,this.sides=24;let oe=p.effectDrawers.get(this.effect);oe||(oe=this._engine.getEffectDrawer(this.effect),oe&&p.effectDrawers.set(this.effect,oe)),oe?.loadEffect&&oe.loadEffect(this);let ye=p.shapeDrawers.get(this.shape);ye||(ye=this._engine.getShapeDrawer(this.shape),ye&&p.shapeDrawers.set(this.shape,ye)),ye?.loadShape&&ye.loadShape(this);const xe=ye?.getSidesCount;xe&&(this.sides=xe(this)),this.spawning=!1,this.shadowColor=Xo(this._engine,this.options.shadow.color);for(const ve of ee.updaters)ve.init(this);for(const ve of ee.movers)ve.init?.(this);oe?.particleInit?.(p,this),ye?.particleInit?.(p,this);for(const ve of p.plugins.values())ve.particleCreated?.(this)}isInsideCanvas(){const n=this.getRadius(),u=this.container.canvas.size,c=this.position;return c.x>=-n&&c.y>=-n&&c.y<=u.height+n&&c.x<=u.width+n}isVisible(){return!this.destroyed&&!this.spawning&&this.isInsideCanvas()}reset(){for(const n of this.container.particles.updaters)n.reset?.(this)}}class y8{constructor(n,u){this.position=n,this.particle=u}}var om;(function(o){o.circle="circle",o.rectangle="rectangle"})(om||(om={}));class oR{constructor(n,u,c){this.position={x:n,y:u},this.type=c}}class ta extends oR{constructor(n,u,c){super(n,u,om.circle),this.radius=c}contains(n){return rl(n,this.position)<=this.radius}intersects(n){const u=this.position,c=n.position,h={x:Math.abs(c.x-u.x),y:Math.abs(c.y-u.y)},p=this.radius;if(n instanceof ta||n.type===om.circle){const y=n,S=p+y.radius,E=Math.sqrt(h.x**_u+h.y**_u);return S>E}else if(n instanceof Zo||n.type===om.rectangle){const y=n,{width:S,height:E}=y.size;return Math.pow(h.x-S,_u)+Math.pow(h.y-E,_u)<=p**_u||h.x<=p+S&&h.y<=p+E||h.x<=S||h.y<=E}return!1}}class Zo extends oR{constructor(n,u,c,h){super(n,u,om.rectangle),this.size={height:h,width:c}}contains(n){const u=this.size.width,c=this.size.height,h=this.position;return n.x>=h.x&&n.x<=h.x+u&&n.y>=h.y&&n.y<=h.y+c}intersects(n){if(n instanceof ta)return n.intersects(this);const u=this.size.width,c=this.size.height,h=this.position,p=n.position,y=n instanceof Zo?n.size:{width:0,height:0},S=y.width,E=y.height;return p.x<h.x+u&&p.x+S>h.x&&p.y<h.y+c&&p.y+E>h.y}}class Hb{constructor(n,u){this.rectangle=n,this.capacity=u,this._subdivide=()=>{const{x:c,y:h}=this.rectangle.position,{width:p,height:y}=this.rectangle.size,{capacity:S}=this;for(let E=0;E<f6;E++){const A=E%Wi;this._subs.push(new Hb(new Zo(c+p*ci*A,h+y*ci*(Math.round(E*ci)-A),p*ci,y*ci),S))}this._divided=!0},this._points=[],this._divided=!1,this._subs=[]}insert(n){return this.rectangle.contains(n.position)?this._points.length<this.capacity?(this._points.push(n),!0):(this._divided||this._subdivide(),this._subs.some(u=>u.insert(n))):!1}query(n,u){const c=[];if(!n.intersects(this.rectangle))return[];for(const h of this._points)!n.contains(h.position)&&rl(n.position,h.position)>h.particle.getRadius()&&(!u||u(h.particle))||c.push(h.particle);if(this._divided)for(const h of this._subs)c.push(...h.query(n,u));return c}queryCircle(n,u,c){return this.query(new ta(n.x,n.y,u),c)}queryRectangle(n,u,c){return this.query(new Zo(n.x,n.y,u.width,u.height),c)}}const sR=o=>{const{height:n,width:u}=o;return new Zo(x2*u,x2*n,_2*u,_2*n)};class g8{constructor(n,u){this._addToPool=(...h)=>{this._pool.push(...h)},this._applyDensity=(h,p,y,S)=>{const E=h.number;if(!h.number.density?.enable){y===void 0?this._limit=E.limit.value:(S?.number.limit?.value??E.limit.value)&&this._groupLimits.set(y,S?.number.limit?.value??E.limit.value);return}const A=this._initDensityFactor(E.density),x=E.value,_=E.limit.value>D2?E.limit.value:x,w=Math.min(x,_)*A+p,z=Math.min(this.count,this.filter(V=>V.group===y).length);y===void 0?this._limit=E.limit.value*A:this._groupLimits.set(y,E.limit.value*A),z<w?this.push(Math.abs(w-z),void 0,h,y):z>w&&this.removeQuantity(z-w,y)},this._initDensityFactor=h=>{const p=this._container;if(!p.canvas.element||!h.enable)return z6;const y=p.canvas.element,S=p.retina.pixelRatio;return y.width*y.height/(h.height*h.width*S**_u)},this._pushParticle=(h,p,y,S)=>{try{let E=this._pool.pop();E||(E=new p8(this._engine,this._container)),E.init(this._nextId,h,p,y);let A=!0;return S&&(A=S(E)),A?(this._array.push(E),this._zArray.push(E),this._nextId++,this._engine.dispatchEvent(ma.particleAdded,{container:this._container,data:{particle:E}}),E):void 0}catch(E){Gf().warning(`${Xl} adding particle: ${E}`)}},this._removeParticle=(h,p,y)=>{const S=this._array[h];if(!S||S.group!==p)return!1;const E=this._zArray.indexOf(S);return this._array.splice(h,Ub),this._zArray.splice(E,Ub),S.destroy(y),this._engine.dispatchEvent(ma.particleRemoved,{container:this._container,data:{particle:S}}),this._addToPool(S),!0},this._engine=n,this._container=u,this._nextId=0,this._array=[],this._zArray=[],this._pool=[],this._limit=0,this._groupLimits=new Map,this._needsSort=!1,this._lastZIndex=0,this._interactionManager=new d8(n,u),this._pluginsInitialized=!1;const c=u.canvas.size;this.quadTree=new Hb(sR(c),h2),this.movers=[],this.updaters=[]}get count(){return this._array.length}addManualParticles(){const n=this._container;n.actualOptions.manualParticles.forEach(c=>this.addParticle(c.position?G2(c.position,n.canvas.size):void 0,c.options))}addParticle(n,u,c,h){const p=this._container.actualOptions.particles.number.limit.mode,y=c===void 0?this._limit:this._groupLimits.get(c)??this._limit,S=this.count;if(y>D2)switch(p){case lg.delete:{const E=S+M6-y;E>C6&&this.removeQuantity(E);break}case lg.wait:if(S>=y)return;break}return this._pushParticle(n,u,c,h)}clear(){this._array=[],this._zArray=[],this._pluginsInitialized=!1}destroy(){this._array=[],this._zArray=[],this.movers=[],this.updaters=[]}draw(n){const u=this._container,c=u.canvas;c.clear(),this.update(n);for(const h of u.plugins.values())c.drawPlugin(h,n);for(const h of this._zArray)h.draw(n)}filter(n){return this._array.filter(n)}find(n){return this._array.find(n)}get(n){return this._array[n]}handleClickMode(n){this._interactionManager.handleClickMode(n)}async init(){const n=this._container,u=n.actualOptions;this._lastZIndex=0,this._needsSort=!1,await this.initPlugins();let c=!1;for(const h of n.plugins.values())if(c=h.particlesInitialization?.()??c,c)break;if(this.addManualParticles(),!c){const h=u.particles,p=h.groups;for(const y in p){const S=p[y];for(let E=this.count,A=0;A<S.number?.value&&E<h.number.value;E++,A++)this.addParticle(void 0,S,y)}for(let y=this.count;y<h.number.value;y++)this.addParticle()}}async initPlugins(){if(this._pluginsInitialized)return;const n=this._container;this.movers=await this._engine.getMovers(n,!0),this.updaters=await this._engine.getUpdaters(n,!0),await this._interactionManager.init();for(const u of n.pathGenerators.values())u.init(n)}push(n,u,c,h){for(let p=0;p<n;p++)this.addParticle(u?.position,c,h)}async redraw(){this.clear(),await this.init(),this.draw({value:0,factor:0})}remove(n,u,c){this.removeAt(this._array.indexOf(n),void 0,u,c)}removeAt(n,u=c6,c,h){if(n<XE||n>this.count)return;let p=0;for(let y=n;p<u&&y<this.count;y++)this._removeParticle(y,c,h)&&(y--,p++)}removeQuantity(n,u){this.removeAt(XE,n,u)}setDensity(){const n=this._container.actualOptions,u=n.particles.groups,c=n.manualParticles.length;for(const h in u)this._applyDensity(u[h],c,h);this._applyDensity(n.particles,c)}setLastZIndex(n){this._lastZIndex=n,this._needsSort=this._needsSort||this._lastZIndex<n}setResizeFactor(n){this._resizeFactor=n}update(n){const u=this._container,c=new Set;this.quadTree=new Hb(sR(u.canvas.size),h2);for(const p of u.pathGenerators.values())p.update();for(const p of u.plugins.values())p.update?.(n);const h=this._resizeFactor;for(const p of this._array){h&&!p.ignoresResizeRatio&&(p.position.x*=h.width,p.position.y*=h.height,p.initialPosition.x*=h.width,p.initialPosition.y*=h.height),p.ignoresResizeRatio=!1,this._interactionManager.reset(p);for(const y of this._container.plugins.values()){if(p.destroyed)break;y.particleUpdate?.(p,n)}for(const y of this.movers)y.isEnabled(p)&&y.move(p,n);if(p.destroyed){c.add(p);continue}this.quadTree.insert(new y8(p.getPosition(),p))}if(c.size){const p=y=>!c.has(y);this._array=this.filter(p),this._zArray=this._zArray.filter(p);for(const y of c)this._engine.dispatchEvent(ma.particleRemoved,{container:this._container,data:{particle:y}});this._addToPool(...c)}this._interactionManager.externalInteract(n);for(const p of this._array){for(const y of this.updaters)y.update(p,n);!p.destroyed&&!p.spawning&&this._interactionManager.particlesInteract(p,n)}if(delete this._resizeFactor,this._needsSort){const p=this._zArray;p.sort((y,S)=>S.position.z-y.position.z||y.id-S.id),this._lastZIndex=p[p.length-w2].position.z,this._needsSort=!1}}}class v8{constructor(n){this.container=n,this.pixelRatio=m2,this.reduceFactor=p2}init(){const n=this.container,u=n.actualOptions;this.pixelRatio=!u.detectRetina||kf()?m2:devicePixelRatio,this.reduceFactor=p2;const c=this.pixelRatio,h=n.canvas;if(h.element){const S=h.element;h.size.width=S.offsetWidth*c,h.size.height=S.offsetHeight*c}const p=u.particles,y=p.move;this.maxSpeed=Xe(y.gravity.maxSpeed)*c,this.sizeAnimationSpeed=Xe(p.size.animation.speed)*c}initParticle(n){const u=n.options,c=this.pixelRatio,h=u.move,p=h.distance,y=n.retina;y.moveDrift=Xe(h.drift)*c,y.moveSpeed=Xe(h.speed)*c,y.sizeAnimationSpeed=Xe(u.size.animation.speed)*c;const S=y.maxDistance;S.horizontal=p.horizontal!==void 0?p.horizontal*c:void 0,S.vertical=p.vertical!==void 0?p.vertical*c:void 0,y.maxSpeed=Xe(h.gravity.maxSpeed)*c}}function On(o){return o&&!o.destroyed}function b8(o,n=NE,u=!1){return{value:o,factor:u?NE/n:NE*o/Pi}}function sm(o,n,...u){const c=new f8(o,n);return iR(c,...u),c}class S8{constructor(n,u,c){this._intersectionManager=h=>{if(!(!On(this)||!this.actualOptions.pauseOnOutsideViewport))for(const p of h)p.target===this.interactivity.element&&(p.isIntersecting?this.play():this.pause())},this._nextFrame=h=>{try{if(!this._smooth&&this._lastFrameTime!==void 0&&h<this._lastFrameTime+Pi/this.fpsLimit){this.draw(!1);return}this._lastFrameTime??=h;const p=b8(h-this._lastFrameTime,this.fpsLimit,this._smooth);if(this.addLifeTime(p.value),this._lastFrameTime=h,p.value>Pi){this.draw(!1);return}if(this.particles.draw(p),!this.alive()){this.destroy();return}this.animationStatus&&this.draw(!1)}catch(p){Gf().error(`${Xl} in animation loop`,p)}},this._engine=n,this.id=Symbol(u),this.fpsLimit=120,this._smooth=!1,this._delay=0,this._duration=0,this._lifeTime=0,this._firstStart=!0,this.started=!1,this.destroyed=!1,this._paused=!0,this._lastFrameTime=0,this.zLayers=100,this.pageHidden=!1,this._clickHandlers=new Map,this._sourceOptions=c,this._initialSourceOptions=c,this.retina=new v8(this),this.canvas=new E5(this,this._engine),this.particles=new g8(this._engine,this),this.pathGenerators=new Map,this.interactivity={mouse:{clicking:!1,inside:!1}},this.plugins=new Map,this.effectDrawers=new Map,this.shapeDrawers=new Map,this._options=sm(this._engine,this),this.actualOptions=sm(this._engine,this),this._eventListeners=new A5(this),this._intersectionObserver=W6(h=>this._intersectionManager(h)),this._engine.dispatchEvent(ma.containerBuilt,{container:this})}get animationStatus(){return!this._paused&&!this.pageHidden&&On(this)}get options(){return this._options}get sourceOptions(){return this._sourceOptions}addClickHandler(n){if(!On(this))return;const u=this.interactivity.element;if(!u)return;const c=(_,w,z)=>{if(!On(this))return;const V=this.retina.pixelRatio,X={x:w.x*V,y:w.y*V},Q=this.particles.quadTree.queryCircle(X,z*V);n(_,Q)},h=_=>{if(!On(this))return;const w=_,z={x:w.offsetX||w.clientX,y:w.offsetY||w.clientY};c(_,z,v6)},p=()=>{On(this)&&(A=!0,x=!1)},y=()=>{On(this)&&(x=!0)},S=_=>{if(On(this)){if(A&&!x){const w=_;let z=w.touches[w.touches.length-S2];if(!z&&(z=w.changedTouches[w.changedTouches.length-S2],!z))return;const V=this.canvas.element,X=V?V.getBoundingClientRect():void 0,Q={x:z.clientX-(X?X.left:Cb),y:z.clientY-(X?X.top:Cb)};c(_,Q,Math.max(z.radiusX,z.radiusY))}A=!1,x=!1}},E=()=>{On(this)&&(A=!1,x=!1)};let A=!1,x=!1;this._clickHandlers.set("click",h),this._clickHandlers.set("touchstart",p),this._clickHandlers.set("touchmove",y),this._clickHandlers.set("touchend",S),this._clickHandlers.set("touchcancel",E);for(const[_,w]of this._clickHandlers)u.addEventListener(_,w)}addLifeTime(n){this._lifeTime+=n}addPath(n,u,c=!1){return!On(this)||!c&&this.pathGenerators.has(n)?!1:(this.pathGenerators.set(n,u),!0)}alive(){return!this._duration||this._lifeTime<=this._duration}clearClickHandlers(){if(On(this)){for(const[n,u]of this._clickHandlers)this.interactivity.element?.removeEventListener(n,u);this._clickHandlers.clear()}}destroy(n=!0){if(On(this)){this.stop(),this.clearClickHandlers(),this.particles.destroy(),this.canvas.destroy();for(const u of this.effectDrawers.values())u.destroy?.(this);for(const u of this.shapeDrawers.values())u.destroy?.(this);for(const u of this.effectDrawers.keys())this.effectDrawers.delete(u);for(const u of this.shapeDrawers.keys())this.shapeDrawers.delete(u);if(this._engine.clearPlugins(this),this.destroyed=!0,n){const u=this._engine.items,c=u.findIndex(h=>h===this);c>=b6&&u.splice(c,T2)}this._engine.dispatchEvent(ma.containerDestroyed,{container:this})}}draw(n){if(!On(this))return;let u=n;const c=h=>{u&&(this._lastFrameTime=void 0,u=!1),this._nextFrame(h)};this._drawAnimationFrame=k6(h=>c(h))}async export(n,u={}){for(const c of this.plugins.values()){if(!c.export)continue;const h=await c.export(n,u);if(h.supported)return h.blob}Gf().error(`${Xl} - Export plugin with type ${n} not found`)}handleClickMode(n){if(On(this)){this.particles.handleClickMode(n);for(const u of this.plugins.values())u.handleClickMode?.(n)}}async init(){if(!On(this))return;const n=this._engine.getSupportedEffects();for(const A of n){const x=this._engine.getEffectDrawer(A);x&&this.effectDrawers.set(A,x)}const u=this._engine.getSupportedShapes();for(const A of u){const x=this._engine.getShapeDrawer(A);x&&this.shapeDrawers.set(A,x)}await this.particles.initPlugins(),this._options=sm(this._engine,this,this._initialSourceOptions,this.sourceOptions),this.actualOptions=sm(this._engine,this,this._options);const c=await this._engine.getAvailablePlugins(this);for(const[A,x]of c)this.plugins.set(A,x);this.retina.init(),await this.canvas.init(),this.updateActualOptions(),this.canvas.initBackground(),this.canvas.resize();const{zLayers:h,duration:p,delay:y,fpsLimit:S,smooth:E}=this.actualOptions;this.zLayers=h,this._duration=Xe(p)*Pi,this._delay=Xe(y)*Pi,this._lifeTime=0,this.fpsLimit=S>T6?S:S6,this._smooth=E;for(const A of this.effectDrawers.values())await A.init?.(this);for(const A of this.shapeDrawers.values())await A.init?.(this);for(const A of this.plugins.values())await A.init?.();this._engine.dispatchEvent(ma.containerInit,{container:this}),await this.particles.init(),this.particles.setDensity();for(const A of this.plugins.values())A.particlesSetup?.();this._engine.dispatchEvent(ma.particlesSetup,{container:this})}async loadTheme(n){On(this)&&(this._currentTheme=n,await this.refresh())}pause(){if(On(this)&&(this._drawAnimationFrame!==void 0&&(X6(this._drawAnimationFrame),delete this._drawAnimationFrame),!this._paused)){for(const n of this.plugins.values())n.pause?.();this.pageHidden||(this._paused=!0),this._engine.dispatchEvent(ma.containerPaused,{container:this})}}play(n){if(!On(this))return;const u=this._paused||n;if(this._firstStart&&!this.actualOptions.autoPlay){this._firstStart=!1;return}if(this._paused&&(this._paused=!1),u)for(const c of this.plugins.values())c.play&&c.play();this._engine.dispatchEvent(ma.containerPlay,{container:this}),this.draw(u??!1)}async refresh(){if(On(this))return this.stop(),this.start()}async reset(n){if(On(this))return this._initialSourceOptions=n,this._sourceOptions=n,this._options=sm(this._engine,this,this._initialSourceOptions,this.sourceOptions),this.actualOptions=sm(this._engine,this,this._options),this.refresh()}async start(){!On(this)||this.started||(await this.init(),this.started=!0,await new Promise(n=>{const u=async()=>{this._eventListeners.addListeners(),this.interactivity.element instanceof HTMLElement&&this._intersectionObserver&&this._intersectionObserver.observe(this.interactivity.element);for(const c of this.plugins.values())await c.start?.();this._engine.dispatchEvent(ma.containerStarted,{container:this}),this.play(),n()};this._delayTimeout=setTimeout(()=>void u(),this._delay)}))}stop(){if(!(!On(this)||!this.started)){this._delayTimeout&&(clearTimeout(this._delayTimeout),delete this._delayTimeout),this._firstStart=!0,this.started=!1,this._eventListeners.removeListeners(),this.pause(),this.particles.clear(),this.canvas.stop(),this.interactivity.element instanceof HTMLElement&&this._intersectionObserver&&this._intersectionObserver.unobserve(this.interactivity.element);for(const n of this.plugins.values())n.stop?.();for(const n of this.plugins.keys())this.plugins.delete(n);this._sourceOptions=this._options,this._engine.dispatchEvent(ma.containerStopped,{container:this})}}updateActualOptions(){this.actualOptions.responsive=[];const n=this.actualOptions.setResponsive(this.canvas.size.width,this.retina.pixelRatio,this._options);return this.actualOptions.setTheme(this._currentTheme),this._responsiveMaxWidth===n?!1:(this._responsiveMaxWidth=n,!0)}}class T8{constructor(){this._listeners=new Map}addEventListener(n,u){this.removeEventListener(n,u);let c=this._listeners.get(n);c||(c=[],this._listeners.set(n,c)),c.push(u)}dispatchEvent(n,u){this._listeners.get(n)?.forEach(h=>h(u))}hasEventListener(n){return!!this._listeners.get(n)}removeAllEventListeners(n){n?this._listeners.delete(n):this._listeners=new Map}removeEventListener(n,u){const c=this._listeners.get(n);if(!c)return;const h=c.length,p=c.indexOf(u);p<XE||(h===Ub?this._listeners.delete(n):c.splice(p,Ub))}}async function rA(o,n,u,c=!1){let h=n.get(o);return(!h||c)&&(h=await Promise.all([...u.values()].map(p=>p(o))),n.set(o,h)),h}async function E8(o){const n=Zl(o.url,o.index);if(!n)return o.fallback;const u=await fetch(n);return u.ok?await u.json():(Gf().error(`${Xl} ${u.status} while retrieving config file`),o.fallback)}const A8=o=>{let n;if(o instanceof HTMLCanvasElement||o.tagName.toLowerCase()===jE)n=o,n.dataset[Hf]||(n.dataset[Hf]=f2);else{const c=o.getElementsByTagName(jE);c.length?(n=c[E6],n.dataset[Hf]=f2):(n=document.createElement(jE),n.dataset[Hf]=c2,o.appendChild(n))}const u="100%";return n.style.width||(n.style.width=u),n.style.height||(n.style.height=u),n},x8=(o,n)=>{let u=n??document.getElementById(o);return u||(u=document.createElement("div"),u.id=o,u.dataset[Hf]=c2,document.body.append(u),u)};class _8{constructor(){this._configs=new Map,this._domArray=[],this._eventDispatcher=new T8,this._initialized=!1,this.plugins=[],this.colorManagers=new Map,this.easingFunctions=new Map,this._initializers={interactors:new Map,movers:new Map,updaters:new Map},this.interactors=new Map,this.movers=new Map,this.updaters=new Map,this.presets=new Map,this.effectDrawers=new Map,this.shapeDrawers=new Map,this.pathGenerators=new Map}get configs(){const n={};for(const[u,c]of this._configs)n[u]=c;return n}get items(){return this._domArray}get version(){return"3.9.1"}async addColorManager(n,u=!0){this.colorManagers.set(n.key,n),await this.refresh(u)}addConfig(n){const u=n.key??n.name??"default";this._configs.set(u,n),this._eventDispatcher.dispatchEvent(ma.configAdded,{data:{name:u,config:n}})}async addEasing(n,u,c=!0){this.getEasing(n)||(this.easingFunctions.set(n,u),await this.refresh(c))}async addEffect(n,u,c=!0){cl(n,h=>{this.getEffectDrawer(h)||this.effectDrawers.set(h,u)}),await this.refresh(c)}addEventListener(n,u){this._eventDispatcher.addEventListener(n,u)}async addInteractor(n,u,c=!0){this._initializers.interactors.set(n,u),await this.refresh(c)}async addMover(n,u,c=!0){this._initializers.movers.set(n,u),await this.refresh(c)}async addParticleUpdater(n,u,c=!0){this._initializers.updaters.set(n,u),await this.refresh(c)}async addPathGenerator(n,u,c=!0){this.getPathGenerator(n)||this.pathGenerators.set(n,u),await this.refresh(c)}async addPlugin(n,u=!0){this.getPlugin(n.id)||this.plugins.push(n),await this.refresh(u)}async addPreset(n,u,c=!1,h=!0){(c||!this.getPreset(n))&&this.presets.set(n,u),await this.refresh(h)}async addShape(n,u=!0){for(const c of n.validTypes)this.getShapeDrawer(c)||this.shapeDrawers.set(c,n);await this.refresh(u)}checkVersion(n){if(this.version!==n)throw new Error(`The tsParticles version is different from the loaded plugins version. Engine version: ${this.version}. Plugin version: ${n}`)}clearPlugins(n){this.updaters.delete(n),this.movers.delete(n),this.interactors.delete(n)}dispatchEvent(n,u){this._eventDispatcher.dispatchEvent(n,u)}dom(){return this.items}domItem(n){return this.item(n)}async getAvailablePlugins(n){const u=new Map;for(const c of this.plugins)c.needsPlugin(n.actualOptions)&&u.set(c.id,await c.getPlugin(n));return u}getEasing(n){return this.easingFunctions.get(n)??(u=>u)}getEffectDrawer(n){return this.effectDrawers.get(n)}async getInteractors(n,u=!1){return rA(n,this.interactors,this._initializers.interactors,u)}async getMovers(n,u=!1){return rA(n,this.movers,this._initializers.movers,u)}getPathGenerator(n){return this.pathGenerators.get(n)}getPlugin(n){return this.plugins.find(u=>u.id===n)}getPreset(n){return this.presets.get(n)}getShapeDrawer(n){return this.shapeDrawers.get(n)}getSupportedEffects(){return this.effectDrawers.keys()}getSupportedShapes(){return this.shapeDrawers.keys()}async getUpdaters(n,u=!1){return rA(n,this.updaters,this._initializers.updaters,u)}init(){this._initialized||(this._initialized=!0)}item(n){const{items:u}=this,c=u[n];if(!c||c.destroyed){u.splice(n,T2);return}return c}async load(n){const u=n.id??n.element?.id??`tsparticles${Math.floor($t()*A6)}`,{index:c,url:h}=n,p=h?await E8({fallback:n.options,url:h,index:c}):n.options,y=Zl(p,c),{items:S}=this,E=S.findIndex(w=>w.id.description===u),A=new S8(this,u,y);if(E>=x6){const w=this.item(E),z=w?_6:zb;w&&!w.destroyed&&w.destroy(!1),S.splice(E,z,A)}else S.push(A);const x=x8(u,n.element),_=A8(x);return A.canvas.loadCanvas(_),await A.start(),A}loadOptions(n,u){this.plugins.forEach(c=>c.loadOptions?.(n,u))}loadParticlesOptions(n,u,...c){const h=this.updaters.get(n);h&&h.forEach(p=>p.loadOptions?.(u,...c))}async refresh(n=!0){n&&await Promise.all(this.items.map(u=>u.refresh()))}removeEventListener(n,u){this._eventDispatcher.removeEventListener(n,u)}setOnClickHandler(n){const{items:u}=this;if(!u.length)throw new Error(`${Xl} can only set click handlers after calling tsParticles.load()`);u.forEach(c=>c.addClickHandler(n))}}function D8(){const o=new _8;return o.init(),o}class Cs{constructor(n){this.type=lm.external,this.container=n}}class cA{constructor(n){this.type=lm.particles,this.container=n}}var Jo;(function(o){o.clockwise="clockwise",o.counterClockwise="counter-clockwise",o.random="random"})(Jo||(Jo={}));var uR;(function(o){o.linear="linear",o.radial="radial",o.random="random"})(uR||(uR={}));var Zf;(function(o){o.easeInBack="ease-in-back",o.easeInCirc="ease-in-circ",o.easeInCubic="ease-in-cubic",o.easeInLinear="ease-in-linear",o.easeInQuad="ease-in-quad",o.easeInQuart="ease-in-quart",o.easeInQuint="ease-in-quint",o.easeInExpo="ease-in-expo",o.easeInSine="ease-in-sine",o.easeOutBack="ease-out-back",o.easeOutCirc="ease-out-circ",o.easeOutCubic="ease-out-cubic",o.easeOutLinear="ease-out-linear",o.easeOutQuad="ease-out-quad",o.easeOutQuart="ease-out-quart",o.easeOutQuint="ease-out-quint",o.easeOutExpo="ease-out-expo",o.easeOutSine="ease-out-sine",o.easeInOutBack="ease-in-out-back",o.easeInOutCirc="ease-in-out-circ",o.easeInOutCubic="ease-in-out-cubic",o.easeInOutLinear="ease-in-out-linear",o.easeInOutQuad="ease-in-out-quad",o.easeInOutQuart="ease-in-out-quart",o.easeInOutQuint="ease-in-out-quint",o.easeInOutExpo="ease-in-out-expo",o.easeInOutSine="ease-in-out-sine"})(Zf||(Zf={}));const fA=D8();kf()||(window.tsParticles=fA);const w8=o=>{const n=o.id??"tsparticles";return Ce.useEffect(()=>{let u;return fA.load({id:n,url:o.url,options:o.options}).then(c=>{var h;u=c,(h=o.particlesLoaded)==null||h.call(o,c)}),()=>{u?.destroy()}},[n,o,o.url,o.options]),_s.jsx("div",{id:n,className:o.className})};async function R8(o){await o(fA)}const dA=.5,O8=2,Kr=0,$o=1,rR=60,cR=0,M8=.01,C8=Math.PI*O8;function z8(o){const n=o.initialPosition,{dx:u,dy:c}=ha(n,o.position),h=Math.abs(u),p=Math.abs(c),{maxDistance:y}=o.retina,S=y.horizontal,E=y.vertical;if(!S&&!E)return;const A=(S&&h>=S)??!1,x=(E&&p>=E)??!1;if((A||x)&&!o.misplaced)o.misplaced=!!S&&h>S||!!E&&p>E,S&&(o.velocity.x=o.velocity.y*dA-o.velocity.x),E&&(o.velocity.y=o.velocity.x*dA-o.velocity.y);else if((!S||h<S)&&(!E||p<E)&&o.misplaced)o.misplaced=!1;else if(o.misplaced){const _=o.position,w=o.velocity;S&&(_.x<n.x&&w.x<Kr||_.x>n.x&&w.x>Kr)&&(w.x*=-$t()),E&&(_.y<n.y&&w.y<Kr||_.y>n.y&&w.y>Kr)&&(w.y*=-$t())}}function U8(o,n,u,c,h,p,y){V8(o,y);const S=o.gravity,E=S?.enable&&S.inverse?-$o:$o;h&&u&&(o.velocity.x+=h*y.factor/(rR*u)),S?.enable&&u&&(o.velocity.y+=E*(S.acceleration*y.factor)/(rR*u));const A=o.moveDecay;o.velocity.multTo(A);const x=o.velocity.mult(u);S?.enable&&c>Kr&&(!S.inverse&&x.y>=Kr&&x.y>=c||S.inverse&&x.y<=Kr&&x.y<=-c)&&(x.y=E*c,u&&(o.velocity.y=x.y/u));const _=o.options.zIndex,w=($o-o.zIndexFactor)**_.velocityRate;x.multTo(w),x.multTo(p);const{position:z}=o;z.addTo(x),n.vibrate&&(z.x+=Math.sin(z.x*Math.cos(z.y))*p,z.y+=Math.cos(z.y*Math.sin(z.x))*p)}function B8(o,n,u){const c=o.container;if(!o.spin)return;const h=o.spin.direction===Jo.clockwise,p={x:h?Math.cos:Math.sin,y:h?Math.sin:Math.cos};o.position.x=o.spin.center.x+o.spin.radius*p.x(o.spin.angle)*u,o.position.y=o.spin.center.y+o.spin.radius*p.y(o.spin.angle)*u,o.spin.radius+=o.spin.acceleration*u;const y=Math.max(c.canvas.size.width,c.canvas.size.height),S=y*dA;o.spin.radius>S?(o.spin.radius=S,o.spin.acceleration*=-$o):o.spin.radius<cR&&(o.spin.radius=cR,o.spin.acceleration*=-$o),o.spin.angle+=n*M8*($o-o.spin.radius/y)}function V8(o,n){const u=o.options,c=u.move.path;if(!c.enable)return;if(o.lastPathTime<=o.pathDelay){o.lastPathTime+=n.value;return}const p=o.pathGenerator?.generate(o,n);p&&o.velocity.addTo(p),c.clamp&&(o.velocity.x=Ql(o.velocity.x,-$o,$o),o.velocity.y=Ql(o.velocity.y,-$o,$o)),o.lastPathTime-=o.pathDelay}function H8(o){return o.slow.inRange?o.slow.factor:$o}function L8(o){const n=o.container,u=o.options,c=u.move.spin;if(!c.enable)return;const h=c.position??{x:50,y:50},p=.01,y={x:h.x*p*n.canvas.size.width,y:h.y*p*n.canvas.size.height},S=o.getPosition(),E=rl(S,y),A=Xe(c.acceleration);o.retina.spinAcceleration=A*n.retina.pixelRatio,o.spin={center:y,direction:o.velocity.x>=Kr?Jo.clockwise:Jo.counterClockwise,angle:$t()*C8,radius:E,acceleration:o.retina.spinAcceleration}}const N8=2,j8=1,q8=1;class Y8{init(n){const u=n.options,c=u.move.gravity;n.gravity={enable:c.enable,acceleration:Xe(c.acceleration),inverse:c.inverse},L8(n)}isEnabled(n){return!n.destroyed&&n.options.move.enable}move(n,u){const c=n.options,h=c.move;if(!h.enable)return;const p=n.container,y=p.retina.pixelRatio;n.retina.moveSpeed??=Xe(h.speed)*y,n.retina.moveDrift??=Xe(n.options.move.drift)*y;const S=H8(n),E=p.retina.reduceFactor,A=n.retina.moveSpeed,x=n.retina.moveDrift,_=Ms(c.size.value)*y,w=h.size?n.getRadius()/_:j8,z=u.factor||q8,V=A*w*S*z/N8,X=n.retina.maxSpeed??p.retina.maxSpeed;h.spin.enable?B8(n,V,E):U8(n,h,V,X,x,E,u),z8(n)}}async function G8(o,n=!0){o.checkVersion("3.9.1"),await o.addMover("base",()=>Promise.resolve(new Y8),n)}const k8=2,X8=Math.PI*k8,Q8=0,fR={x:0,y:0};function Z8(o){const{context:n,particle:u,radius:c}=o;u.circleRange||(u.circleRange={min:Q8,max:X8});const h=u.circleRange;n.arc(fR.x,fR.y,c,h.min,h.max,!1)}const J8=12,$8=360,dR=0;class K8{constructor(){this.validTypes=["circle"]}draw(n){Z8(n)}getSidesCount(){return J8}particleInit(n,u){const c=u.shapeData,h=c?.angle??{max:$8,min:dR};u.circleRange=Wh(h)?{min:Jr(h.min),max:Jr(h.max)}:{min:dR,max:Jr(h)}}}async function P8(o,n=!0){o.checkVersion("3.9.1"),await o.addShape(new K8,n)}class F8{constructor(n,u){this._container=n,this._engine=u}init(n){const u=tg(this._engine,n.options.color,n.id,n.options.reduceDuplicates);u&&(n.color=$2(u,n.options.color.animation,this._container.retina.reduceFactor))}isEnabled(n){const{h:u,s:c,l:h}=n.options.color.animation,{color:p}=n;return!n.destroyed&&!n.spawning&&(p?.h.value!==void 0&&u.enable||p?.s.value!==void 0&&c.enable||p?.l.value!==void 0&&h.enable)}update(n,u){K2(n.color,u)}}async function W8(o,n=!0){o.checkVersion("3.9.1"),await o.addParticleUpdater("color",u=>Promise.resolve(new F8(u,o)),n)}var Jf;(function(o){o[o.r=1]="r",o[o.g=2]="g",o[o.b=3]="b",o[o.a=4]="a"})(Jf||(Jf={}));const I8=/^#?([a-f\d])([a-f\d])([a-f\d])([a-f\d])?$/i,eB=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})?$/i,Lb=16,tB=1,nB=255;class iB{constructor(){this.key="hex",this.stringPrefix="#"}handleColor(n){return this._parseString(n.value)}handleRangeColor(n){return this._parseString(n.value)}parseString(n){return this._parseString(n)}_parseString(n){if(typeof n!="string"||!n?.startsWith(this.stringPrefix))return;const u=n.replace(I8,(h,p,y,S,E)=>p+p+y+y+S+S+(E!==void 0?E+E:"")),c=eB.exec(u);return c?{a:c[Jf.a]!==void 0?parseInt(c[Jf.a],Lb)/nB:tB,b:parseInt(c[Jf.b],Lb),g:parseInt(c[Jf.g],Lb),r:parseInt(c[Jf.r],Lb)}:void 0}}async function aB(o,n=!0){o.checkVersion("3.9.1"),await o.addColorManager(new iB,n)}var um;(function(o){o[o.h=1]="h",o[o.s=2]="s",o[o.l=3]="l",o[o.a=5]="a"})(um||(um={}));class lB{constructor(){this.key="hsl",this.stringPrefix="hsl"}handleColor(n){const u=n.value,c=u.hsl??n.value;if(c.h!==void 0&&c.s!==void 0&&c.l!==void 0)return tm(c)}handleRangeColor(n){const u=n.value,c=u.hsl??n.value;if(c.h!==void 0&&c.l!==void 0)return tm({h:Xe(c.h),l:Xe(c.l),s:Xe(c.s)})}parseString(n){if(!n.startsWith("hsl"))return;const u=/hsla?\(\s*(\d+)\s*[\s,]\s*(\d+)%\s*[\s,]\s*(\d+)%\s*([\s,]\s*(0|1|0?\.\d+|(\d{1,3})%)\s*)?\)/i,c=u.exec(n),h=4,p=1,y=10;return c?f5({a:c.length>h?B2(c[um.a]):p,h:parseInt(c[um.h],y),l:parseInt(c[um.l],y),s:parseInt(c[um.s],y)}):void 0}}async function oB(o,n=!0){o.checkVersion("3.9.1"),await o.addColorManager(new lB,n)}class sB{constructor(n){this.container=n}init(n){const u=n.options.opacity,c=1;n.opacity=Y2(u,c);const h=u.animation;h.enable&&(n.opacity.velocity=Xe(h.speed)/Xr*this.container.retina.reduceFactor,h.sync||(n.opacity.velocity*=$t()))}isEnabled(n){return!n.destroyed&&!n.spawning&&!!n.opacity&&n.opacity.enable&&((n.opacity.maxLoops??0)<=0||(n.opacity.maxLoops??0)>0&&(n.opacity.loops??0)<(n.opacity.maxLoops??0))}reset(n){n.opacity&&(n.opacity.time=0,n.opacity.loops=0)}update(n,u){!this.isEnabled(n)||!n.opacity||IE(n,n.opacity,!0,n.options.opacity.animation.destroy,u)}}async function uB(o,n=!0){o.checkVersion("3.9.1"),await o.addParticleUpdater("opacity",u=>Promise.resolve(new sB(u)),n)}const Nb=0,rm=0;function rB(o){if(o.outMode!==Zn.bounce&&o.outMode!==Zn.split||o.direction!==At.left&&o.direction!==At.right)return;o.bounds.right<rm&&o.direction===At.left?o.particle.position.x=o.size+o.offset.x:o.bounds.left>o.canvasSize.width&&o.direction===At.right&&(o.particle.position.x=o.canvasSize.width-o.size-o.offset.x);const n=o.particle.velocity.x;let u=!1;if(o.direction===At.right&&o.bounds.right>=o.canvasSize.width&&n>Nb||o.direction===At.left&&o.bounds.left<=rm&&n<Nb){const h=Xe(o.particle.options.bounce.horizontal.value);o.particle.velocity.x*=-h,u=!0}if(!u)return;const c=o.offset.x+o.size;o.bounds.right>=o.canvasSize.width&&o.direction===At.right?o.particle.position.x=o.canvasSize.width-c:o.bounds.left<=rm&&o.direction===At.left&&(o.particle.position.x=c),o.outMode===Zn.split&&o.particle.destroy()}function cB(o){if(o.outMode!==Zn.bounce&&o.outMode!==Zn.split||o.direction!==At.bottom&&o.direction!==At.top)return;o.bounds.bottom<rm&&o.direction===At.top?o.particle.position.y=o.size+o.offset.y:o.bounds.top>o.canvasSize.height&&o.direction===At.bottom&&(o.particle.position.y=o.canvasSize.height-o.size-o.offset.y);const n=o.particle.velocity.y;let u=!1;if(o.direction===At.bottom&&o.bounds.bottom>=o.canvasSize.height&&n>Nb||o.direction===At.top&&o.bounds.top<=rm&&n<Nb){const h=Xe(o.particle.options.bounce.vertical.value);o.particle.velocity.y*=-h,u=!0}if(!u)return;const c=o.offset.y+o.size;o.bounds.bottom>=o.canvasSize.height&&o.direction===At.bottom?o.particle.position.y=o.canvasSize.height-c:o.bounds.top<=rm&&o.direction===At.top&&(o.particle.position.y=c),o.outMode===Zn.split&&o.particle.destroy()}class fB{constructor(n){this.container=n,this.modes=[Zn.bounce,Zn.split]}update(n,u,c,h){if(!this.modes.includes(h))return;const p=this.container;let y=!1;for(const w of p.plugins.values())if(w.particleBounce!==void 0&&(y=w.particleBounce(n,c,u)),y)break;if(y)return;const S=n.getPosition(),E=n.offset,A=n.getRadius(),x=eg(S,A),_=p.canvas.size;rB({particle:n,outMode:h,direction:u,bounds:x,canvasSize:_,offset:E,size:A}),cB({particle:n,outMode:h,direction:u,bounds:x,canvasSize:_,offset:E,size:A})}}const jb=0;class dB{constructor(n){this.container=n,this.modes=[Zn.destroy]}update(n,u,c,h){if(!this.modes.includes(h))return;const p=this.container;switch(n.outType){case Qo.normal:case Qo.outside:if(KE(n.position,p.canvas.size,gi.origin,n.getRadius(),u))return;break;case Qo.inside:{const{dx:y,dy:S}=ha(n.position,n.moveCenter),{x:E,y:A}=n.velocity;if(E<jb&&y>n.moveCenter.radius||A<jb&&S>n.moveCenter.radius||E>=jb&&y<-n.moveCenter.radius||A>=jb&&S<-n.moveCenter.radius)return;break}}p.particles.remove(n,n.group,!0)}}const qb=0;class hB{constructor(n){this.container=n,this.modes=[Zn.none]}update(n,u,c,h){if(!this.modes.includes(h)||((n.options.move.distance.horizontal&&(u===At.left||u===At.right))??(n.options.move.distance.vertical&&(u===At.top||u===At.bottom))))return;const p=n.options.move.gravity,y=this.container,S=y.canvas.size,E=n.getRadius();if(p.enable){const A=n.position;(!p.inverse&&A.y>S.height+E&&u===At.bottom||p.inverse&&A.y<-E&&u===At.top)&&y.particles.remove(n)}else{if(n.velocity.y>qb&&n.position.y<=S.height+E||n.velocity.y<qb&&n.position.y>=-E||n.velocity.x>qb&&n.position.x<=S.width+E||n.velocity.x<qb&&n.position.x>=-E)return;KE(n.position,y.canvas.size,gi.origin,E,u)||y.particles.remove(n)}}}const Yb=0,Gb=0;class mB{constructor(n){this.container=n,this.modes=[Zn.out]}update(n,u,c,h){if(!this.modes.includes(h))return;const p=this.container;switch(n.outType){case Qo.inside:{const{x:y,y:S}=n.velocity,E=gi.origin;E.length=n.moveCenter.radius,E.angle=n.velocity.angle+Math.PI,E.addTo(gi.create(n.moveCenter));const{dx:A,dy:x}=ha(n.position,E);if(y<=Yb&&A>=Gb||S<=Yb&&x>=Gb||y>=Yb&&A<=Gb||S>=Yb&&x<=Gb)return;n.position.x=Math.floor(ul({min:0,max:p.canvas.size.width})),n.position.y=Math.floor(ul({min:0,max:p.canvas.size.height}));const{dx:_,dy:w}=ha(n.position,n.moveCenter);n.direction=Math.atan2(-w,-_),n.velocity.angle=n.direction;break}default:{if(KE(n.position,p.canvas.size,gi.origin,n.getRadius(),u))return;switch(n.outType){case Qo.outside:{n.position.x=Math.floor(ul({min:-n.moveCenter.radius,max:n.moveCenter.radius}))+n.moveCenter.x,n.position.y=Math.floor(ul({min:-n.moveCenter.radius,max:n.moveCenter.radius}))+n.moveCenter.y;const{dx:y,dy:S}=ha(n.position,n.moveCenter);n.moveCenter.radius&&(n.direction=Math.atan2(S,y),n.velocity.angle=n.direction);break}case Qo.normal:{const y=n.options.move.warp,S=p.canvas.size,E={bottom:S.height+n.getRadius()+n.offset.y,left:-n.getRadius()-n.offset.x,right:S.width+n.getRadius()+n.offset.x,top:-n.getRadius()-n.offset.y},A=n.getRadius(),x=eg(n.position,A);u===At.right&&x.left>S.width+n.offset.x?(n.position.x=E.left,n.initialPosition.x=n.position.x,y||(n.position.y=$t()*S.height,n.initialPosition.y=n.position.y)):u===At.left&&x.right<-n.offset.x&&(n.position.x=E.right,n.initialPosition.x=n.position.x,y||(n.position.y=$t()*S.height,n.initialPosition.y=n.position.y)),u===At.bottom&&x.top>S.height+n.offset.y?(y||(n.position.x=$t()*S.width,n.initialPosition.x=n.position.x),n.position.y=E.top,n.initialPosition.y=n.position.y):u===At.top&&x.bottom<-n.offset.y&&(y||(n.position.x=$t()*S.width,n.initialPosition.x=n.position.x),n.position.y=E.bottom,n.initialPosition.y=n.position.y);break}}break}}}}const pB=(o,n)=>o.default===n||o.bottom===n||o.left===n||o.right===n||o.top===n;class yB{constructor(n){this._addUpdaterIfMissing=(u,c,h)=>{const p=u.options.move.outModes;!this.updaters.has(c)&&pB(p,c)&&this.updaters.set(c,h(this.container))},this._updateOutMode=(u,c,h,p)=>{for(const y of this.updaters.values())y.update(u,p,c,h)},this.container=n,this.updaters=new Map}init(n){this._addUpdaterIfMissing(n,Zn.bounce,u=>new fB(u)),this._addUpdaterIfMissing(n,Zn.out,u=>new mB(u)),this._addUpdaterIfMissing(n,Zn.destroy,u=>new dB(u)),this._addUpdaterIfMissing(n,Zn.none,u=>new hB(u))}isEnabled(n){return!n.destroyed&&!n.spawning}update(n,u){const c=n.options.move.outModes;this._updateOutMode(n,u,c.bottom??c.default,At.bottom),this._updateOutMode(n,u,c.left??c.default,At.left),this._updateOutMode(n,u,c.right??c.default,At.right),this._updateOutMode(n,u,c.top??c.default,At.top)}}async function gB(o,n=!0){o.checkVersion("3.9.1"),await o.addParticleUpdater("outModes",u=>Promise.resolve(new yB(u)),n)}var cm;(function(o){o[o.r=1]="r",o[o.g=2]="g",o[o.b=3]="b",o[o.a=5]="a"})(cm||(cm={}));class vB{constructor(){this.key="rgb",this.stringPrefix="rgb"}handleColor(n){const u=n.value,c=u.rgb??n.value;if(c.r!==void 0)return c}handleRangeColor(n){const u=n.value,c=u.rgb??n.value;if(c.r!==void 0)return{r:Xe(c.r),g:Xe(c.g),b:Xe(c.b)}}parseString(n){if(!n.startsWith(this.stringPrefix))return;const u=/rgba?\(\s*(\d{1,3})\s*[\s,]\s*(\d{1,3})\s*[\s,]\s*(\d{1,3})\s*([\s,]\s*(0|1|0?\.\d+|(\d{1,3})%)\s*)?\)/i,c=u.exec(n),h=10;return c?{a:c.length>4?B2(c[cm.a]):1,b:parseInt(c[cm.b],h),g:parseInt(c[cm.g],h),r:parseInt(c[cm.r],h)}:void 0}}async function bB(o,n=!0){o.checkVersion("3.9.1"),await o.addColorManager(new vB,n)}const $f=0;class SB{init(n){const u=n.container,c=n.options.size,h=c.animation;h.enable&&(n.size.velocity=(n.retina.sizeAnimationSpeed??u.retina.sizeAnimationSpeed)/Xr*u.retina.reduceFactor,h.sync||(n.size.velocity*=$t()))}isEnabled(n){return!n.destroyed&&!n.spawning&&n.size.enable&&((n.size.maxLoops??$f)<=$f||(n.size.maxLoops??$f)>$f&&(n.size.loops??$f)<(n.size.maxLoops??$f))}reset(n){n.size.loops=$f}update(n,u){this.isEnabled(n)&&IE(n,n.size,!0,n.options.size.animation.destroy,u)}}async function TB(o,n=!0){o.checkVersion("3.9.1"),await o.addParticleUpdater("size",()=>Promise.resolve(new SB),n)}async function EB(o,n=!0){o.checkVersion("3.9.1"),await aB(o,!1),await oB(o,!1),await bB(o,!1),await G8(o,!1),await P8(o,!1),await W8(o,!1),await uB(o,!1),await gB(o,!1),await TB(o,!1),await o.refresh(n)}async function AB(o,n=!0){o.checkVersion("3.9.1"),await o.addEasing(Zf.easeInQuad,u=>u**2,!1),await o.addEasing(Zf.easeOutQuad,u=>1-(1-u)**2,!1),await o.addEasing(Zf.easeInOutQuad,u=>u<.5?2*u**2:1-(-2*u+2)**2/2,!1),await o.refresh(n)}function xB(o,n){const{context:u,opacity:c}=o,h=.5,p=u.globalAlpha;if(!n)return;const y=n.width,S=y*h;u.globalAlpha=c,u.drawImage(n,-S,-S,y,y),u.globalAlpha=p}const hA='"Twemoji Mozilla", Apple Color Emoji, "Segoe UI Emoji", "Noto Color Emoji", "EmojiOne Color"',hR=0;class _B{constructor(){this.validTypes=["emoji"],this._emojiShapeDict=new Map}destroy(){for(const[n,u]of this._emojiShapeDict)u instanceof ImageBitmap&&u?.close(),this._emojiShapeDict.delete(n)}draw(n){const u=n.particle.emojiDataKey;if(!u)return;const c=this._emojiShapeDict.get(u);c&&xB(n,c)}async init(n){const u=n.actualOptions,{validTypes:c}=this;if(!c.find(y=>Vn(y,u.particles.shape.type)))return;const h=[L2(hA)],p=c.map(y=>u.particles.shape.options[y]).find(y=>!!y);p&&cl(p,y=>{y.font&&h.push(L2(y.font))}),await Promise.all(h)}particleDestroy(n){n.emojiDataKey=void 0}particleInit(n,u){const h=u.shapeData;if(!h?.value)return;const p=Zl(h.value,u.randomIndexData);if(!p)return;const y=typeof p=="string"?{font:h.font??hA,padding:h.padding??hR,value:p}:{font:hA,padding:hR,...h,...p},S=y.font,E=y.value,A=`${E}_${S}`;if(this._emojiShapeDict.has(A)){u.emojiDataKey=A;return}const x=y.padding*2,_=Ms(u.size.value),w=_+x,z=w*2;let V;if(typeof OffscreenCanvas<"u"){const X=new OffscreenCanvas(z,z),Q=X.getContext("2d");if(!Q)return;Q.font=`400 ${_*2}px ${S}`,Q.textBaseline="middle",Q.textAlign="center",Q.fillText(E,w,w),V=X.transferToImageBitmap()}else{const X=document.createElement("canvas");X.width=z,X.height=z;const Q=X.getContext("2d");if(!Q)return;Q.font=`400 ${_*2}px ${S}`,Q.textBaseline="middle",Q.textAlign="center",Q.fillText(E,w,w),V=X}this._emojiShapeDict.set(A,V),u.emojiDataKey=A}}async function DB(o,n=!0){o.checkVersion("3.9.1"),await o.addShape(new _B,n)}const wB=1,RB=1,mR=0;function pR(o,n,u,c,h,p){const y=n.actualOptions.interactivity.modes.attract;if(!y)return;const S=n.particles.quadTree.query(h,p);for(const E of S){const{dx:A,dy:x,distance:_}=ha(E.position,u),w=y.speed*y.factor,z=Ql(o.getEasing(y.easing)(RB-_/c)*w,wB,y.maxSpeed),V=gi.create(_?A/_*z:w,_?x/_*z:w);E.position.subFrom(V)}}function OB(o,n,u){n.attract||(n.attract={particles:[]});const{attract:c}=n;if(c.finish||(c.count||(c.count=0),c.count++,c.count===n.particles.count&&(c.finish=!0)),c.clicking){const h=n.interactivity.mouse.clickPosition,p=n.retina.attractModeDistance;if(!p||p<mR||!h)return;pR(o,n,h,p,new ta(h.x,h.y,p),y=>u(y))}else c.clicking===!1&&(c.particles=[])}function MB(o,n,u){const c=n.interactivity.mouse.position,h=n.retina.attractModeDistance;!h||h<mR||!c||pR(o,n,c,h,new ta(c.x,c.y,h),p=>u(p))}class CB{constructor(){this.distance=200,this.duration=.4,this.easing=Zf.easeOutQuad,this.factor=1,this.maxSpeed=50,this.speed=1}load(n){Ee(n)||(n.distance!==void 0&&(this.distance=n.distance),n.duration!==void 0&&(this.duration=n.duration),n.easing!==void 0&&(this.easing=n.easing),n.factor!==void 0&&(this.factor=n.factor),n.maxSpeed!==void 0&&(this.maxSpeed=n.maxSpeed),n.speed!==void 0&&(this.speed=n.speed))}}const og="attract";let zB=class extends Cs{constructor(n,u){super(u),this._engine=n,u.attract||(u.attract={particles:[]}),this.handleClickMode=c=>{const h=this.container.actualOptions,p=h.interactivity.modes.attract;if(!(!p||c!==og)){u.attract||(u.attract={particles:[]}),u.attract.clicking=!0,u.attract.count=0;for(const y of u.attract.particles)this.isEnabled(y)&&y.velocity.setTo(y.initialVelocity);u.attract.particles=[],u.attract.finish=!1,setTimeout(()=>{u.destroyed||(u.attract||(u.attract={particles:[]}),u.attract.clicking=!1)},p.duration*Pi)}}}clear(){}init(){const n=this.container,u=n.actualOptions.interactivity.modes.attract;u&&(n.retina.attractModeDistance=u.distance*n.retina.pixelRatio)}interact(){const n=this.container,u=n.actualOptions,c=n.interactivity.status===Lf,h=u.interactivity.events,{enable:p,mode:y}=h.onHover,{enable:S,mode:E}=h.onClick;c&&p&&Vn(og,y)?MB(this._engine,this.container,A=>this.isEnabled(A)):S&&Vn(og,E)&&OB(this._engine,this.container,A=>this.isEnabled(A))}isEnabled(n){const u=this.container,c=u.actualOptions,h=u.interactivity.mouse,p=(n?.interactivity??c.interactivity).events;if((!h.position||!p.onHover.enable)&&(!h.clickPosition||!p.onClick.enable))return!1;const y=p.onHover.mode,S=p.onClick.mode;return Vn(og,y)||Vn(og,S)}loadModeOptions(n,...u){n.attract||(n.attract=new CB);for(const c of u)n.attract.load(c?.attract)}reset(){}};async function UB(o,n=!0){o.checkVersion("3.9.1"),await o.addInteractor("externalAttract",u=>Promise.resolve(new zB(o,u)),n)}const BB=2,kb=.5,VB=Math.PI*kb,yR=2,gR=10,HB=0;function vR(o,n,u,c,h){const p=o.particles.quadTree.query(c,h);for(const y of p)c instanceof ta?j2(WE(y),{position:n,mass:u**BB*VB,velocity:gi.origin,factor:gi.origin}):c instanceof Zo&&i5(y,eg(n,u))}function LB(o,n,u,c){const h=document.querySelectorAll(n);h.length&&h.forEach(p=>{const y=p,S=o.retina.pixelRatio,E={x:(y.offsetLeft+y.offsetWidth*kb)*S,y:(y.offsetTop+y.offsetHeight*kb)*S},A=y.offsetWidth*kb*S,x=gR*S,_=u.type===im.circle?new ta(E.x,E.y,A+x):new Zo(y.offsetLeft*S-x,y.offsetTop*S-x,y.offsetWidth*S+x*yR,y.offsetHeight*S+x*yR);c(E,A,_)})}function NB(o,n,u,c){FE(u,n,(h,p)=>LB(o,h,p,(y,S,E)=>vR(o,y,S,E,c)))}function jB(o,n){const u=o.retina.pixelRatio,c=gR*u,h=o.interactivity.mouse.position,p=o.retina.bounceModeDistance;!p||p<HB||!h||vR(o,h,p,new ta(h.x,h.y,p+c),n)}class qB{constructor(){this.distance=200}load(n){Ee(n)||n.distance!==void 0&&(this.distance=n.distance)}}const Xb="bounce";class YB extends Cs{constructor(n){super(n)}clear(){}init(){const n=this.container,u=n.actualOptions.interactivity.modes.bounce;u&&(n.retina.bounceModeDistance=u.distance*n.retina.pixelRatio)}interact(){const n=this.container,u=n.actualOptions,c=u.interactivity.events,h=n.interactivity.status===Lf,p=c.onHover.enable,y=c.onHover.mode,S=c.onDiv;h&&p&&Vn(Xb,y)?jB(this.container,E=>this.isEnabled(E)):NB(this.container,S,Xb,E=>this.isEnabled(E))}isEnabled(n){const u=this.container,c=u.actualOptions,h=u.interactivity.mouse,p=(n?.interactivity??c.interactivity).events,y=p.onDiv;return!!h.position&&p.onHover.enable&&Vn(Xb,p.onHover.mode)||PE(Xb,y)}loadModeOptions(n,...u){n.bounce||(n.bounce=new qB);for(const c of u)n.bounce.load(c?.bounce)}reset(){}}async function GB(o,n=!0){o.checkVersion("3.9.1"),await o.addInteractor("externalBounce",u=>Promise.resolve(new YB(u)),n)}class bR{constructor(){this.distance=200,this.duration=.4,this.mix=!1}load(n){if(!Ee(n)){if(n.distance!==void 0&&(this.distance=n.distance),n.duration!==void 0&&(this.duration=n.duration),n.mix!==void 0&&(this.mix=n.mix),n.opacity!==void 0&&(this.opacity=n.opacity),n.color!==void 0){const u=Os(this.color)?void 0:this.color;this.color=cl(n.color,c=>ea.create(u,c))}n.size!==void 0&&(this.size=n.size)}}}class kB extends bR{constructor(){super(),this.selectors=[]}load(n){super.load(n),!Ee(n)&&n.selectors!==void 0&&(this.selectors=n.selectors)}}class XB extends bR{load(n){super.load(n),!Ee(n)&&(this.divs=cl(n.divs,u=>{const c=new kB;return c.load(u),c}))}}var zs;(function(o){o.color="color",o.opacity="opacity",o.size="size"})(zs||(zs={}));function SR(o,n,u,c){if(n>=u){const h=o+(n-u)*c;return Ql(h,o,n)}else if(n<u){const h=o-(u-n)*c;return Ql(h,n,o)}}const Kf="bubble",mA=0,QB=0,ZB=2,TR=1,ER=1,JB=0,$B=0,pA=.5,yA=1;class KB extends Cs{constructor(n,u){super(n),this._clickBubble=()=>{const c=this.container,h=c.actualOptions,p=c.interactivity.mouse.clickPosition,y=h.interactivity.modes.bubble;if(!y||!p)return;c.bubble||(c.bubble={});const S=c.retina.bubbleModeDistance;if(!S||S<mA)return;const E=c.particles.quadTree.queryCircle(p,S,x=>this.isEnabled(x)),{bubble:A}=c;for(const x of E){if(!A.clicking)continue;x.bubble.inRange=!A.durationEnd;const _=x.getPosition(),w=rl(_,p),z=(new Date().getTime()-(c.interactivity.mouse.clickTime??QB))/Pi;z>y.duration&&(A.durationEnd=!0),z>y.duration*ZB&&(A.clicking=!1,A.durationEnd=!1);const V={bubbleObj:{optValue:c.retina.bubbleModeSize,value:x.bubble.radius},particlesObj:{optValue:Ms(x.options.size.value)*c.retina.pixelRatio,value:x.size.value},type:zs.size};this._process(x,w,z,V);const X={bubbleObj:{optValue:y.opacity,value:x.bubble.opacity},particlesObj:{optValue:Ms(x.options.opacity.value),value:x.opacity?.value??TR},type:zs.opacity};this._process(x,w,z,X),!A.durationEnd&&w<=S?this._hoverBubbleColor(x,w):delete x.bubble.color}},this._hoverBubble=()=>{const c=this.container,h=c.interactivity.mouse.position,p=c.retina.bubbleModeDistance;if(!p||p<mA||!h)return;const y=c.particles.quadTree.queryCircle(h,p,S=>this.isEnabled(S));for(const S of y){S.bubble.inRange=!0;const E=S.getPosition(),A=rl(E,h),x=ER-A/p;A<=p?x>=$B&&c.interactivity.status===Lf&&(this._hoverBubbleSize(S,x),this._hoverBubbleOpacity(S,x),this._hoverBubbleColor(S,x)):this.reset(S),c.interactivity.status===LE&&this.reset(S)}},this._hoverBubbleColor=(c,h,p)=>{const y=this.container.actualOptions,S=p??y.interactivity.modes.bubble;if(S){if(!c.bubble.finalColor){const E=S.color;if(!E)return;const A=Zl(E);c.bubble.finalColor=tg(this._engine,A)}if(c.bubble.finalColor)if(S.mix){c.bubble.color=void 0;const E=c.getFillColor();c.bubble.color=E?X2(tA(E,c.bubble.finalColor,ER-h,h)):c.bubble.finalColor}else c.bubble.color=c.bubble.finalColor}},this._hoverBubbleOpacity=(c,h,p)=>{const y=this.container,S=y.actualOptions,E=p?.opacity??S.interactivity.modes.bubble?.opacity;if(!E)return;const A=c.options.opacity.value,x=c.opacity?.value??TR,_=SR(x,E,Ms(A),h);_!==void 0&&(c.bubble.opacity=_)},this._hoverBubbleSize=(c,h,p)=>{const y=this.container,S=p?.size?p.size*y.retina.pixelRatio:y.retina.bubbleModeSize;if(S===void 0)return;const E=Ms(c.options.size.value)*y.retina.pixelRatio,A=c.size.value,x=SR(A,S,E,h);x!==void 0&&(c.bubble.radius=x)},this._process=(c,h,p,y)=>{const S=this.container,E=y.bubbleObj.optValue,A=S.actualOptions,x=A.interactivity.modes.bubble;if(!x||E===void 0)return;const _=x.duration,w=S.retina.bubbleModeDistance,z=y.particlesObj.optValue,V=y.bubbleObj.value,X=y.particlesObj.value??JB,Q=y.type;if(!(!w||w<mA||E===z))if(S.bubble||(S.bubble={}),S.bubble.durationEnd)V&&(Q===zs.size&&delete c.bubble.radius,Q===zs.opacity&&delete c.bubble.opacity);else if(h<=w){if((V??X)!==E){const le=X-p*(X-E)/_;Q===zs.size&&(c.bubble.radius=le),Q===zs.opacity&&(c.bubble.opacity=le)}}else Q===zs.size&&delete c.bubble.radius,Q===zs.opacity&&delete c.bubble.opacity},this._singleSelectorHover=(c,h,p)=>{const y=this.container,S=document.querySelectorAll(h),E=y.actualOptions.interactivity.modes.bubble;!E||!S.length||S.forEach(A=>{const x=A,_=y.retina.pixelRatio,w={x:(x.offsetLeft+x.offsetWidth*pA)*_,y:(x.offsetTop+x.offsetHeight*pA)*_},z=x.offsetWidth*pA*_,V=p.type===im.circle?new ta(w.x,w.y,z):new Zo(x.offsetLeft*_,x.offsetTop*_,x.offsetWidth*_,x.offsetHeight*_),X=y.particles.quadTree.query(V,Q=>this.isEnabled(Q));for(const Q of X){if(!V.contains(Q.getPosition()))continue;Q.bubble.inRange=!0;const $=E.divs,le=N2($,x);(!Q.bubble.div||Q.bubble.div!==x)&&(this.clear(Q,c,!0),Q.bubble.div=x),this._hoverBubbleSize(Q,yA,le),this._hoverBubbleOpacity(Q,yA,le),this._hoverBubbleColor(Q,yA,le)}})},this._engine=u,n.bubble||(n.bubble={}),this.handleClickMode=c=>{c===Kf&&(n.bubble||(n.bubble={}),n.bubble.clicking=!0)}}clear(n,u,c){n.bubble.inRange&&!c||(delete n.bubble.div,delete n.bubble.opacity,delete n.bubble.radius,delete n.bubble.color)}init(){const n=this.container,u=n.actualOptions.interactivity.modes.bubble;u&&(n.retina.bubbleModeDistance=u.distance*n.retina.pixelRatio,u.size!==void 0&&(n.retina.bubbleModeSize=u.size*n.retina.pixelRatio))}interact(n){const u=this.container.actualOptions,c=u.interactivity.events,h=c.onHover,p=c.onClick,y=h.enable,S=h.mode,E=p.enable,A=p.mode,x=c.onDiv;y&&Vn(Kf,S)?this._hoverBubble():E&&Vn(Kf,A)?this._clickBubble():FE(Kf,x,(_,w)=>this._singleSelectorHover(n,_,w))}isEnabled(n){const u=this.container,c=u.actualOptions,h=u.interactivity.mouse,p=(n?.interactivity??c.interactivity).events,{onClick:y,onDiv:S,onHover:E}=p,A=PE(Kf,S);return A||E.enable&&h.position||y.enable&&h.clickPosition?Vn(Kf,E.mode)||Vn(Kf,y.mode)||A:!1}loadModeOptions(n,...u){n.bubble||(n.bubble=new XB);for(const c of u)n.bubble.load(c?.bubble)}reset(n){n.bubble.inRange=!1}}async function PB(o,n=!0){o.checkVersion("3.9.1"),await o.addInteractor("externalBubble",u=>Promise.resolve(new KB(u,o)),n)}class FB{constructor(){this.opacity=.5}load(n){Ee(n)||n.opacity!==void 0&&(this.opacity=n.opacity)}}class WB{constructor(){this.distance=80,this.links=new FB,this.radius=60}load(n){Ee(n)||(n.distance!==void 0&&(this.distance=n.distance),this.links.load(n.links),n.radius!==void 0&&(this.radius=n.radius))}}const AR=0,xR=1,IB=0;function eV(o,n,u,c){const h=Math.floor(u.getRadius()/n.getRadius()),p=n.getFillColor(),y=u.getFillColor();if(!p||!y)return;const S=n.getPosition(),E=u.getPosition(),A=tA(p,y,n.getRadius(),u.getRadius()),x=o.createLinearGradient(S.x,S.y,E.x,E.y);return x.addColorStop(AR,ng(p,c)),x.addColorStop(Ql(h,AR,xR),Du(A,c)),x.addColorStop(xR,ng(y,c)),x}function tV(o,n,u,c,h){ig(o,c,h),o.lineWidth=n,o.strokeStyle=u,o.stroke()}function nV(o,n,u,c){const h=o.actualOptions,p=h.interactivity.modes.connect;if(p)return eV(n,u,c,p.links.opacity)}function iV(o,n,u){o.canvas.draw(c=>{const h=nV(o,c,n,u);if(!h)return;const p=n.getPosition(),y=u.getPosition();tV(c,n.retina.linksWidth??IB,h,p,y)})}const aV="connect",_R=0;class lV extends Cs{constructor(n){super(n)}clear(){}init(){const n=this.container,u=n.actualOptions.interactivity.modes.connect;u&&(n.retina.connectModeDistance=u.distance*n.retina.pixelRatio,n.retina.connectModeRadius=u.radius*n.retina.pixelRatio)}interact(){const n=this.container;if(n.actualOptions.interactivity.events.onHover.enable&&n.interactivity.status==="pointermove"){const c=n.interactivity.mouse.position,{connectModeDistance:h,connectModeRadius:p}=n.retina;if(!h||h<_R||!p||p<_R||!c)return;const y=Math.abs(p),S=n.particles.quadTree.queryCircle(c,y,E=>this.isEnabled(E));S.forEach((E,A)=>{const x=E.getPosition(),_=1;for(const w of S.slice(A+_)){const z=w.getPosition(),V=Math.abs(h),X=Math.abs(x.x-z.x),Q=Math.abs(x.y-z.y);X<V&&Q<V&&iV(n,E,w)}})}}isEnabled(n){const u=this.container,c=u.interactivity.mouse,h=(n?.interactivity??u.actualOptions.interactivity).events;return h.onHover.enable&&c.position?Vn(aV,h.onHover.mode):!1}loadModeOptions(n,...u){n.connect||(n.connect=new WB);for(const c of u)n.connect.load(c?.connect)}reset(){}}async function oV(o,n=!0){o.checkVersion("3.9.1"),await o.addInteractor("externalConnect",u=>Promise.resolve(new lV(u)),n)}class sV{constructor(){this.blink=!1,this.consent=!1,this.opacity=1}load(n){Ee(n)||(n.blink!==void 0&&(this.blink=n.blink),n.color!==void 0&&(this.color=ea.create(this.color,n.color)),n.consent!==void 0&&(this.consent=n.consent),n.opacity!==void 0&&(this.opacity=n.opacity))}}class uV{constructor(){this.distance=100,this.links=new sV}load(n){Ee(n)||(n.distance!==void 0&&(this.distance=n.distance),this.links.load(n.links))}}const rV=0;function cV(o,n,u,c,h,p){ig(o,u,c),o.strokeStyle=Du(h,p),o.lineWidth=n,o.stroke()}function fV(o,n,u,c,h){o.canvas.draw(p=>{const y=n.getPosition();cV(p,n.retina.linksWidth??rV,y,h,u,c)})}const dV="grab",hV=0,mV=0;class pV extends Cs{constructor(n,u){super(n),this._engine=u}clear(){}init(){const n=this.container,u=n.actualOptions.interactivity.modes.grab;u&&(n.retina.grabModeDistance=u.distance*n.retina.pixelRatio)}interact(){const n=this.container,u=n.actualOptions,c=u.interactivity;if(!c.modes.grab||!c.events.onHover.enable||n.interactivity.status!==Lf)return;const h=n.interactivity.mouse.position;if(!h)return;const p=n.retina.grabModeDistance;if(!p||p<hV)return;const y=n.particles.quadTree.queryCircle(h,p,S=>this.isEnabled(S));for(const S of y){const E=S.getPosition(),A=rl(E,h);if(A>p)continue;const x=c.modes.grab.links,_=x.opacity,w=_-A*_/p;if(w<=mV)continue;const z=x.color??S.options.links?.color;if(!n.particles.grabLineColor&&z){const X=c.modes.grab.links;n.particles.grabLineColor=Z2(this._engine,z,X.blink,X.consent)}const V=nA(S,void 0,n.particles.grabLineColor);V&&fV(n,S,V,w,h)}}isEnabled(n){const u=this.container,c=u.interactivity.mouse,h=(n?.interactivity??u.actualOptions.interactivity).events;return h.onHover.enable&&!!c.position&&Vn(dV,h.onHover.mode)}loadModeOptions(n,...u){n.grab||(n.grab=new uV);for(const c of u)n.grab.load(c?.grab)}reset(){}}async function yV(o,n=!0){o.checkVersion("3.9.1"),await o.addInteractor("externalGrab",u=>Promise.resolve(new pV(u,o)),n)}const gV="pause";class vV extends Cs{constructor(n){super(n),this.handleClickMode=u=>{if(u!==gV)return;const c=this.container;c.animationStatus?c.pause():c.play()}}clear(){}init(){}interact(){}isEnabled(){return!0}reset(){}}async function bV(o,n=!0){o.checkVersion("3.9.1"),await o.addInteractor("externalPause",u=>Promise.resolve(new vV(u)),n)}class SV{constructor(){this.default=!0,this.groups=[],this.quantity=4}load(n){if(Ee(n))return;n.default!==void 0&&(this.default=n.default),n.groups!==void 0&&(this.groups=n.groups.map(c=>c)),this.groups.length||(this.default=!0);const u=n.quantity;u!==void 0&&(this.quantity=Bt(u)),this.particles=cl(n.particles,c=>Ii({},c))}}const TV="push",EV=0;class AV extends Cs{constructor(n){super(n),this.handleClickMode=u=>{if(u!==TV)return;const c=this.container,h=c.actualOptions,p=h.interactivity.modes.push;if(!p)return;const y=Xe(p.quantity);if(y<=EV)return;const S=Vb([void 0,...p.groups]),E=S!==void 0?c.actualOptions.particles.groups[S]:void 0,A=Zl(p.particles),x=Ii(E,A);c.particles.push(y,c.interactivity.mouse,x,S)}}clear(){}init(){}interact(){}isEnabled(){return!0}loadModeOptions(n,...u){n.push||(n.push=new SV);for(const c of u)n.push.load(c?.push)}reset(){}}async function xV(o,n=!0){o.checkVersion("3.9.1"),await o.addInteractor("externalPush",u=>Promise.resolve(new AV(u)),n)}class _V{constructor(){this.quantity=2}load(n){if(Ee(n))return;const u=n.quantity;u!==void 0&&(this.quantity=Bt(u))}}const DV="remove";class wV extends Cs{constructor(n){super(n),this.handleClickMode=u=>{const c=this.container,h=c.actualOptions;if(!h.interactivity.modes.remove||u!==DV)return;const p=Xe(h.interactivity.modes.remove.quantity);c.particles.removeQuantity(p)}}clear(){}init(){}interact(){}isEnabled(){return!0}loadModeOptions(n,...u){n.remove||(n.remove=new _V);for(const c of u)n.remove.load(c?.remove)}reset(){}}async function RV(o,n=!0){o.checkVersion("3.9.1"),await o.addInteractor("externalRemove",u=>Promise.resolve(new wV(u)),n)}class DR{constructor(){this.distance=200,this.duration=.4,this.factor=100,this.speed=1,this.maxSpeed=50,this.easing=Zf.easeOutQuad}load(n){Ee(n)||(n.distance!==void 0&&(this.distance=n.distance),n.duration!==void 0&&(this.duration=n.duration),n.easing!==void 0&&(this.easing=n.easing),n.factor!==void 0&&(this.factor=n.factor),n.speed!==void 0&&(this.speed=n.speed),n.maxSpeed!==void 0&&(this.maxSpeed=n.maxSpeed))}}class OV extends DR{constructor(){super(),this.selectors=[]}load(n){super.load(n),!Ee(n)&&n.selectors!==void 0&&(this.selectors=n.selectors)}}class MV extends DR{load(n){super.load(n),!Ee(n)&&(this.divs=cl(n.divs,u=>{const c=new OV;return c.load(u),c}))}}const Pf="repulse",CV=0,zV=6,UV=3,BV=2,VV=0,HV=0,LV=1,gA=.5;class NV extends Cs{constructor(n,u){super(u),this._clickRepulse=()=>{const c=this.container,h=c.actualOptions.interactivity.modes.repulse;if(!h)return;const p=c.repulse??{particles:[]};if(p.finish||(p.count||(p.count=0),p.count++,p.count===c.particles.count&&(p.finish=!0)),p.clicking){const y=c.retina.repulseModeDistance;if(!y||y<CV)return;const S=Math.pow(y/zV,UV),E=c.interactivity.mouse.clickPosition;if(E===void 0)return;const A=new ta(E.x,E.y,S),x=c.particles.quadTree.query(A,_=>this.isEnabled(_));for(const _ of x){const{dx:w,dy:z,distance:V}=ha(E,_.position),X=V**BV,Q=h.speed,$=-S*Q/X;if(X<=S){p.particles.push(_);const le=gi.create(w,z);le.length=$,_.velocity.setTo(le)}}}else if(p.clicking===!1){for(const y of p.particles)y.velocity.setTo(y.initialVelocity);p.particles=[]}},this._hoverRepulse=()=>{const c=this.container,h=c.interactivity.mouse.position,p=c.retina.repulseModeDistance;!p||p<VV||!h||this._processRepulse(h,p,new ta(h.x,h.y,p))},this._processRepulse=(c,h,p,y)=>{const S=this.container,E=S.particles.quadTree.query(p,Q=>this.isEnabled(Q)),A=S.actualOptions.interactivity.modes.repulse;if(!A)return;const{easing:x,speed:_,factor:w,maxSpeed:z}=A,V=this._engine.getEasing(x),X=(y?.speed??_)*w;for(const Q of E){const{dx:$,dy:le,distance:ee}=ha(Q.position,c),oe=Ql(V(LV-ee/h)*X,HV,z),ye=gi.create(ee?$/ee*oe:X,ee?le/ee*oe:X);Q.position.addTo(ye)}},this._singleSelectorRepulse=(c,h)=>{const p=this.container,y=p.actualOptions.interactivity.modes.repulse;if(!y)return;const S=document.querySelectorAll(c);S.length&&S.forEach(E=>{const A=E,x=p.retina.pixelRatio,_={x:(A.offsetLeft+A.offsetWidth*gA)*x,y:(A.offsetTop+A.offsetHeight*gA)*x},w=A.offsetWidth*gA*x,z=h.type===im.circle?new ta(_.x,_.y,w):new Zo(A.offsetLeft*x,A.offsetTop*x,A.offsetWidth*x,A.offsetHeight*x),V=y.divs,X=N2(V,A);this._processRepulse(_,w,z,X)})},this._engine=n,u.repulse||(u.repulse={particles:[]}),this.handleClickMode=c=>{const h=this.container.actualOptions,p=h.interactivity.modes.repulse;if(!p||c!==Pf)return;u.repulse||(u.repulse={particles:[]});const y=u.repulse;y.clicking=!0,y.count=0;for(const S of u.repulse.particles)this.isEnabled(S)&&S.velocity.setTo(S.initialVelocity);y.particles=[],y.finish=!1,setTimeout(()=>{u.destroyed||(y.clicking=!1)},p.duration*Pi)}}clear(){}init(){const n=this.container,u=n.actualOptions.interactivity.modes.repulse;u&&(n.retina.repulseModeDistance=u.distance*n.retina.pixelRatio)}interact(){const n=this.container,u=n.actualOptions,c=n.interactivity.status===Lf,h=u.interactivity.events,p=h.onHover,y=p.enable,S=p.mode,E=h.onClick,A=E.enable,x=E.mode,_=h.onDiv;c&&y&&Vn(Pf,S)?this._hoverRepulse():A&&Vn(Pf,x)?this._clickRepulse():FE(Pf,_,(w,z)=>this._singleSelectorRepulse(w,z))}isEnabled(n){const u=this.container,c=u.actualOptions,h=u.interactivity.mouse,p=(n?.interactivity??c.interactivity).events,y=p.onDiv,S=p.onHover,E=p.onClick,A=PE(Pf,y);if(!(A||S.enable&&h.position||E.enable&&h.clickPosition))return!1;const x=S.mode,_=E.mode;return Vn(Pf,x)||Vn(Pf,_)||A}loadModeOptions(n,...u){n.repulse||(n.repulse=new MV);for(const c of u)n.repulse.load(c?.repulse)}reset(){}}async function jV(o,n=!0){o.checkVersion("3.9.1"),await o.addInteractor("externalRepulse",u=>Promise.resolve(new NV(o,u)),n)}class qV{constructor(){this.factor=3,this.radius=200}load(n){Ee(n)||(n.factor!==void 0&&(this.factor=n.factor),n.radius!==void 0&&(this.radius=n.radius))}}const YV="slow",GV=0;class kV extends Cs{constructor(n){super(n)}clear(n,u,c){n.slow.inRange&&!c||(n.slow.factor=1)}init(){const n=this.container,u=n.actualOptions.interactivity.modes.slow;u&&(n.retina.slowModeRadius=u.radius*n.retina.pixelRatio)}interact(){}isEnabled(n){const u=this.container,c=u.interactivity.mouse,h=(n?.interactivity??u.actualOptions.interactivity).events;return h.onHover.enable&&!!c.position&&Vn(YV,h.onHover.mode)}loadModeOptions(n,...u){n.slow||(n.slow=new qV);for(const c of u)n.slow.load(c?.slow)}reset(n){n.slow.inRange=!1;const u=this.container,c=u.actualOptions,h=u.interactivity.mouse.position,p=u.retina.slowModeRadius,y=c.interactivity.modes.slow;if(!y||!p||p<GV||!h)return;const S=n.getPosition(),E=rl(h,S),A=E/p,x=y.factor,{slow:_}=n;E>p||(_.inRange=!0,_.factor=A/x)}}async function XV(o,n=!0){o.checkVersion("3.9.1"),await o.addInteractor("externalSlow",u=>Promise.resolve(new kV(u)),n)}const QV=0,ZV=1,JV=/(#(?:[0-9a-f]{2}){2,4}|(#[0-9a-f]{3})|(rgb|hsl)a?\((-?\d+%?[,\s]+){2,3}\s*[\d.]+%?\))|currentcolor/gi;function $V(o,n,u){const{svgData:c}=o;if(!c)return"";const h=ng(n,u);if(c.includes("fill"))return c.replace(JV,()=>h);const p=c.indexOf(">");return`${c.substring(QV,p)} fill="${h}"${c.substring(p)}`}async function Qb(o){return new Promise(n=>{o.loading=!0;const u=new Image;o.element=u,u.addEventListener("load",()=>{o.loading=!1,n()}),u.addEventListener("error",()=>{o.element=void 0,o.error=!0,o.loading=!1,Gf().error(`${Xl} loading image: ${o.source}`),n()}),u.src=o.source})}async function KV(o){if(o.type!=="svg"){await Qb(o);return}o.loading=!0;const n=await fetch(o.source);n.ok?o.svgData=await n.text():(Gf().error(`${Xl} Image not found`),o.error=!0),o.loading=!1}function PV(o,n,u,c){const h=$V(o,u,c.opacity?.value??ZV),p={color:u,gif:n.gif,data:{...o,svgData:h},loaded:!1,ratio:n.width/n.height,replaceColor:n.replaceColor,source:n.src};return new Promise(y=>{const S=new Blob([h],{type:"image/svg+xml"}),E=URL||window.URL||window.webkitURL||window,A=E.createObjectURL(S),x=new Image;x.addEventListener("load",()=>{p.loaded=!0,p.element=x,y(p),E.revokeObjectURL(A)});const _=async()=>{E.revokeObjectURL(A);const w={...o,error:!1,loading:!0};await Qb(w),p.loaded=!0,p.element=w.element,y(p)};x.addEventListener("error",()=>void _()),x.src=A})}const vA=[0,4,2,1],wR=[8,8,4,2];class FV{constructor(n){this.pos=0,this.data=new Uint8ClampedArray(n)}getString(n){const u=this.data.slice(this.pos,this.pos+n);return this.pos+=u.length,u.reduce((c,h)=>c+String.fromCharCode(h),"")}nextByte(){return this.data[this.pos++]}nextTwoBytes(){return this.pos+=2,this.data[this.pos-2]+(this.data[this.pos-1]<<8)}readSubBlocks(){let n="",u=0;const c=0,h=0;do{u=this.data[this.pos++];for(let p=u;--p>=c;n+=String.fromCharCode(this.data[this.pos++]));}while(u!==h);return n}readSubBlocksBin(){let n=this.data[this.pos],u=0;const c=0,h=1;for(let y=0;n!==c;y+=n+h,n=this.data[this.pos+y])u+=n;const p=new Uint8Array(u);n=this.data[this.pos++];for(let y=0;n!==c;n=this.data[this.pos++])for(let S=n;--S>=c;p[y++]=this.data[this.pos++]);return p}skipSubBlocks(){for(const n=1,u=0;this.data[this.pos]!==u;this.pos+=this.data[this.pos]+n);this.pos++}}var Ko;(function(o){o[o.Replace=0]="Replace",o[o.Combine=1]="Combine",o[o.RestoreBackground=2]="RestoreBackground",o[o.RestorePrevious=3]="RestorePrevious",o[o.UndefinedA=4]="UndefinedA",o[o.UndefinedB=5]="UndefinedB",o[o.UndefinedC=6]="UndefinedC",o[o.UndefinedD=7]="UndefinedD"})(Ko||(Ko={}));var wu;(function(o){o[o.Extension=33]="Extension",o[o.ApplicationExtension=255]="ApplicationExtension",o[o.GraphicsControlExtension=249]="GraphicsControlExtension",o[o.PlainTextExtension=1]="PlainTextExtension",o[o.CommentExtension=254]="CommentExtension",o[o.Image=44]="Image",o[o.EndOfFile=59]="EndOfFile"})(wu||(wu={}));const Ga={x:0,y:0},WV=0,RR=.5,IV=0,OR=0,bA=0;function MR(o,n){const u=[];for(let c=0;c<n;c++)u.push({r:o.data[o.pos],g:o.data[o.pos+1],b:o.data[o.pos+2]}),o.pos+=3;return u}function eH(o,n,u,c){switch(o.nextByte()){case wu.GraphicsControlExtension:{const h=n.frames[u(!1)];o.pos++;const p=o.nextByte();h.GCreserved=(p&224)>>>5,h.disposalMethod=(p&28)>>>2,h.userInputDelayFlag=(p&2)===2;const y=(p&1)===1;h.delayTime=o.nextTwoBytes()*10;const S=o.nextByte();y&&c(S),o.pos++;break}case wu.ApplicationExtension:{o.pos++;const h={identifier:o.getString(8),authenticationCode:o.getString(3),data:o.readSubBlocksBin()};n.applicationExtensions.push(h);break}case wu.CommentExtension:{n.comments.push([u(!1),o.readSubBlocks()]);break}case wu.PlainTextExtension:{if(n.globalColorTable.length===0)throw new EvalError("plain text extension without global color table");o.pos++,n.frames[u(!1)].plainTextData={left:o.nextTwoBytes(),top:o.nextTwoBytes(),width:o.nextTwoBytes(),height:o.nextTwoBytes(),charSize:{width:o.nextTwoBytes(),height:o.nextTwoBytes()},foregroundColor:o.nextByte(),backgroundColor:o.nextByte(),text:o.readSubBlocks()};break}default:o.skipSubBlocks();break}}async function tH(o,n,u,c,h,p){const y=n.frames[c(!0)];y.left=o.nextTwoBytes(),y.top=o.nextTwoBytes(),y.width=o.nextTwoBytes(),y.height=o.nextTwoBytes();const S=o.nextByte(),E=(S&128)===128,A=(S&64)===64;y.sortFlag=(S&32)===32,y.reserved=(S&24)>>>3;const x=1<<(S&7)+1;E&&(y.localColorTable=MR(o,x));const _=$=>{const{r:le,g:ee,b:oe}=(E?y.localColorTable:n.globalColorTable)[$];return $!==h(null)?{r:le,g:ee,b:oe,a:255}:{r:le,g:ee,b:oe,a:u?~~((le+ee+oe)/3):0}},w=(()=>{try{return new ImageData(y.width,y.height,{colorSpace:"srgb"})}catch($){if($ instanceof DOMException&&$.name==="IndexSizeError")return null;throw $}})();if(w==null)throw new EvalError("GIF frame size is to large");const z=o.nextByte(),V=o.readSubBlocksBin(),X=1<<z,Q=($,le)=>{const ee=$>>>3,oe=$&7;return(V[ee]+(V[ee+1]<<8)+(V[ee+2]<<16)&(1<<le)-1<<oe)>>>oe};if(A){for(let $=0,le=z+1,ee=0,oe=[[0]],ye=0;ye<4;ye++)if(vA[ye]<y.height){let xe=0,ve=0,he=!1;for(;!he;){const Re=$;if($=Q(ee,le),ee+=le+1,$===X){le=z+1,oe.length=X+2;for(let be=0;be<oe.length;be++)oe[be]=be<X?[be]:[]}else{$>=oe.length?oe.push(oe[Re].concat(oe[Re][0])):Re!==X&&oe.push(oe[Re].concat(oe[$][0]));for(const be of oe[$]){const{r:ot,g:we,b:Qe,a:Vt}=_(be);w.data.set([ot,we,Qe,Vt],vA[ye]*y.width+wR[ye]*ve+xe%(y.width*4)),xe+=4}oe.length===1<<le&&le<12&&le++}xe===y.width*4*(ve+1)&&(ve++,vA[ye]+wR[ye]*ve>=y.height&&(he=!0))}}y.image=w,y.bitmap=await createImageBitmap(w)}else{let $=0,le=z+1,ee=0,oe=-4,ye=!1;const xe=[[0]];for(;!ye;){const ve=$;if($=Q(ee,le),ee+=le,$===X){le=z+1,xe.length=X+2;for(let he=0;he<xe.length;he++)xe[he]=he<X?[he]:[]}else{if($===X+1){ye=!0;break}$>=xe.length?xe.push(xe[ve].concat(xe[ve][0])):ve!==X&&xe.push(xe[ve].concat(xe[$][0]));for(const he of xe[$]){const{r:Re,g:be,b:ot,a:we}=_(he);w.data.set([Re,be,ot,we],oe+=4)}xe.length>=1<<le&&le<12&&le++}}y.image=w,y.bitmap=await createImageBitmap(w)}}async function nH(o,n,u,c,h,p){switch(o.nextByte()){case wu.EndOfFile:return!0;case wu.Image:await tH(o,n,u,c,h);break;case wu.Extension:eH(o,n,c,h);break;default:throw new EvalError("undefined block found")}return!1}function iH(o){for(const n of o.applicationExtensions)if(n.identifier+n.authenticationCode==="NETSCAPE2.0")return n.data[1]+(n.data[2]<<8);return NaN}async function aH(o,n,u){u||(u=!1);const c=await fetch(o);if(!c.ok&&c.status===404)throw new EvalError("file not found");const h=await c.arrayBuffer(),p={width:0,height:0,totalTime:0,colorRes:0,pixelAspectRatio:0,frames:[],sortFlag:!1,globalColorTable:[],backgroundImage:new ImageData(1,1,{colorSpace:"srgb"}),comments:[],applicationExtensions:[]},y=new FV(new Uint8ClampedArray(h));if(y.getString(6)!=="GIF89a")throw new Error("not a supported GIF file");p.width=y.nextTwoBytes(),p.height=y.nextTwoBytes();const S=y.nextByte(),E=(S&128)===128;p.colorRes=(S&112)>>>4,p.sortFlag=(S&8)===8;const A=1<<(S&7)+1,x=y.nextByte();p.pixelAspectRatio=y.nextByte(),p.pixelAspectRatio!==0&&(p.pixelAspectRatio=(p.pixelAspectRatio+15)/64),E&&(p.globalColorTable=MR(y,A));const _=(()=>{try{return new ImageData(p.width,p.height,{colorSpace:"srgb"})}catch(oe){if(oe instanceof DOMException&&oe.name==="IndexSizeError")return null;throw oe}})();if(_==null)throw new Error("GIF frame size is to large");const{r:w,g:z,b:V}=p.globalColorTable[x];_.data.set(E?[w,z,V,255]:[0,0,0,0]);for(let oe=4;oe<_.data.length;oe*=2)_.data.copyWithin(oe,0,oe);p.backgroundImage=_;let X=-1,Q=!0,$=-1;const le=oe=>(oe&&(Q=!0),X),ee=oe=>(oe!=null&&($=oe),$);try{do Q&&(p.frames.push({left:0,top:0,width:0,height:0,disposalMethod:Ko.Replace,image:new ImageData(1,1,{colorSpace:"srgb"}),plainTextData:null,userInputDelayFlag:!1,delayTime:0,sortFlag:!1,localColorTable:[],reserved:0,GCreserved:0}),X++,$=-1,Q=!1);while(!await nH(y,p,u,le,ee,n));p.frames.length--;for(const oe of p.frames){if(oe.userInputDelayFlag&&oe.delayTime===0){p.totalTime=1/0;break}p.totalTime+=oe.delayTime}return p}catch(oe){throw oe instanceof EvalError?new Error(`error while parsing frame ${X} "${oe.message}"`):oe}}function lH(o){const{context:n,radius:u,particle:c,delta:h}=o,p=c.image;if(!p?.gifData||!p.gif)return;const y=new OffscreenCanvas(p.gifData.width,p.gifData.height),S=y.getContext("2d");if(!S)throw new Error("could not create offscreen canvas context");S.imageSmoothingQuality="low",S.imageSmoothingEnabled=!1,S.clearRect(Ga.x,Ga.y,y.width,y.height),c.gifLoopCount===void 0&&(c.gifLoopCount=p.gifLoopCount??bA);let E=c.gifFrame??WV;const A={x:-p.gifData.width*RR,y:-p.gifData.height*RR},x=p.gifData.frames[E];if(c.gifTime===void 0&&(c.gifTime=IV),!!x.bitmap){switch(n.scale(u/p.gifData.width,u/p.gifData.height),x.disposalMethod){case Ko.UndefinedA:case Ko.UndefinedB:case Ko.UndefinedC:case Ko.UndefinedD:case Ko.Replace:S.drawImage(x.bitmap,x.left,x.top),n.drawImage(y,A.x,A.y),S.clearRect(Ga.x,Ga.y,y.width,y.height);break;case Ko.Combine:S.drawImage(x.bitmap,x.left,x.top),n.drawImage(y,A.x,A.y);break;case Ko.RestoreBackground:S.drawImage(x.bitmap,x.left,x.top),n.drawImage(y,A.x,A.y),S.clearRect(Ga.x,Ga.y,y.width,y.height),p.gifData.globalColorTable.length?S.putImageData(p.gifData.backgroundImage,A.x,A.y):S.putImageData(p.gifData.frames[OR].image,A.x+x.left,A.y+x.top);break;case Ko.RestorePrevious:{const _=S.getImageData(Ga.x,Ga.y,y.width,y.height);S.drawImage(x.bitmap,x.left,x.top),n.drawImage(y,A.x,A.y),S.clearRect(Ga.x,Ga.y,y.width,y.height),S.putImageData(_,Ga.x,Ga.y)}break}if(c.gifTime+=h.value,c.gifTime>x.delayTime){if(c.gifTime-=x.delayTime,++E>=p.gifData.frames.length){if(--c.gifLoopCount<=bA)return;E=OR,S.clearRect(Ga.x,Ga.y,y.width,y.height)}c.gifFrame=E}n.scale(p.gifData.width/u,p.gifData.height/u)}}async function oH(o){if(o.type!=="gif"){await Qb(o);return}o.loading=!0;try{o.gifData=await aH(o.source),o.gifLoopCount=iH(o.gifData)??bA,o.gifLoopCount||(o.gifLoopCount=1/0)}catch{o.error=!0}o.loading=!1}const sH=2,uH=1,rH=12,cH=1;class fH{constructor(n){this.validTypes=["image","images"],this.loadImageShape=async u=>{if(!this._engine.loadImage)throw new Error(`${Xl} image shape not initialized`);await this._engine.loadImage({gif:u.gif,name:u.name,replaceColor:u.replaceColor??!1,src:u.src})},this._engine=n}addImage(n){this._engine.images||(this._engine.images=[]),this._engine.images.push(n)}draw(n){const{context:u,radius:c,particle:h,opacity:p}=n,y=h.image,S=y?.element;if(y){if(u.globalAlpha=p,y.gif&&y.gifData)lH(n);else if(S){const E=y.ratio,A={x:-c,y:-c},x=c*sH;u.drawImage(S,A.x,A.y,x,x/E)}u.globalAlpha=uH}}getSidesCount(){return rH}async init(n){const u=n.actualOptions;if(!(!u.preload||!this._engine.loadImage))for(const c of u.preload)await this._engine.loadImage(c)}loadShape(n){if(n.shape!=="image"&&n.shape!=="images")return;this._engine.images||(this._engine.images=[]);const u=n.shapeData;if(!u)return;this._engine.images.find(h=>h.name===u.name||h.source===u.src)||this.loadImageShape(u).then(()=>{this.loadShape(n)})}particleInit(n,u){if(u.shape!=="image"&&u.shape!=="images")return;this._engine.images||(this._engine.images=[]);const c=this._engine.images,h=u.shapeData;if(!h)return;const p=u.getFillColor(),y=c.find(E=>E.name===h.name||E.source===h.src);if(!y)return;const S=h.replaceColor??y.replaceColor;if(y.loading){setTimeout(()=>{this.particleInit(n,u)});return}(async()=>{let E;y.svgData&&p?E=await PV(y,h,p,u):E={color:p,data:y,element:y.element,gif:y.gif,gifData:y.gifData,gifLoopCount:y.gifLoopCount,loaded:!0,ratio:h.width&&h.height?h.width/h.height:y.ratio??cH,replaceColor:S,source:h.src},E.ratio||(E.ratio=1);const A=h.fill??u.shapeFill,x=h.close??u.shapeClose,_={image:E,fill:A,close:x};u.image=_.image,u.shapeFill=_.fill,u.shapeClose=_.close})()}}class dH{constructor(){this.src="",this.gif=!1}load(n){Ee(n)||(n.gif!==void 0&&(this.gif=n.gif),n.height!==void 0&&(this.height=n.height),n.name!==void 0&&(this.name=n.name),n.replaceColor!==void 0&&(this.replaceColor=n.replaceColor),n.src!==void 0&&(this.src=n.src),n.width!==void 0&&(this.width=n.width))}}class hH{constructor(n){this.id="imagePreloader",this._engine=n}async getPlugin(){return await Promise.resolve(),{}}loadOptions(n,u){if(!u?.preload)return;n.preload||(n.preload=[]);const c=n.preload;for(const h of u.preload){const p=c.find(y=>y.name===h.name||y.src===h.src);if(p)p.load(h);else{const y=new dH;y.load(h),c.push(y)}}}needsPlugin(){return!0}}const mH=3;function pH(o){o.loadImage||(o.loadImage=async n=>{if(!n.name&&!n.src)throw new Error(`${Xl} no image source provided`);if(o.images||(o.images=[]),!o.images.find(u=>u.name===n.name||u.source===n.src))try{const u={gif:n.gif??!1,name:n.name??n.src,source:n.src,type:n.src.substring(n.src.length-mH),error:!1,loading:!0,replaceColor:n.replaceColor,ratio:n.width&&n.height?n.width/n.height:void 0};o.images.push(u);let c;n.gif?c=oH:c=n.replaceColor?KV:Qb,await c(u)}catch{throw new Error(`${Xl} ${n.name??n.src} not found`)}})}async function yH(o,n=!0){o.checkVersion("3.9.1"),pH(o);const u=new hH(o);await o.addPlugin(u,n),await o.addShape(new fH(o),n)}class gH extends Qf{constructor(){super(),this.sync=!1}load(n){Ee(n)||(super.load(n),n.sync!==void 0&&(this.sync=n.sync))}}class vH extends Qf{constructor(){super(),this.sync=!1}load(n){Ee(n)||(super.load(n),n.sync!==void 0&&(this.sync=n.sync))}}class bH{constructor(){this.count=0,this.delay=new gH,this.duration=new vH}load(n){Ee(n)||(n.count!==void 0&&(this.count=n.count),this.delay.load(n.delay),this.duration.load(n.duration))}}const fm=0,SH=-1,CR=0,zR=0;function TH(o,n,u){if(!o.life)return;const c=o.life;let h=!1;if(o.spawning)if(c.delayTime+=n.value,c.delayTime>=o.life.delay)h=!0,o.spawning=!1,c.delayTime=fm,c.time=fm;else return;if(c.duration===SH||o.spawning||(h?c.time=fm:c.time+=n.value,c.time<c.duration))return;if(c.time=fm,o.life.count>CR&&o.life.count--,o.life.count===CR){o.destroy();return}const p=Bt(zR,u.width),y=Bt(zR,u.width);o.position.x=ul(p),o.position.y=ul(y),o.spawning=!0,c.delayTime=fm,c.time=fm,o.reset();const S=o.options.life;S&&(c.delay=Xe(S.delay.value)*Pi,c.duration=Xe(S.duration.value)*Pi)}const Ff=0,UR=1,BR=-1;class EH{constructor(n){this.container=n}init(n){const u=this.container,c=n.options,h=c.life;h&&(n.life={delay:u.retina.reduceFactor?Xe(h.delay.value)*(h.delay.sync?UR:$t())/u.retina.reduceFactor*Pi:Ff,delayTime:Ff,duration:u.retina.reduceFactor?Xe(h.duration.value)*(h.duration.sync?UR:$t())/u.retina.reduceFactor*Pi:Ff,time:Ff,count:h.count},n.life.duration<=Ff&&(n.life.duration=BR),n.life.count<=Ff&&(n.life.count=BR),n.life&&(n.spawning=n.life.delay>Ff))}isEnabled(n){return!n.destroyed}loadOptions(n,...u){n.life||(n.life=new bH);for(const c of u)n.life.load(c?.life)}update(n,u){!this.isEnabled(n)||!n.life||TH(n,u,this.container.canvas.size)}}async function AH(o,n=!0){o.checkVersion("3.9.1"),await o.addParticleUpdater("life",async u=>Promise.resolve(new EH(u)),n)}function xH(o){const{context:n,particle:u,radius:c}=o,h=u.shapeData,p=0;n.moveTo(-c,p),n.lineTo(c,p),n.lineCap=h?.cap??"butt"}const _H=1;class DH{constructor(){this.validTypes=["line"]}draw(n){xH(n)}getSidesCount(){return _H}}async function wH(o,n=!0){o.checkVersion("3.9.1"),await o.addShape(new DH,n)}const VR=.5;class RH{init(){}isEnabled(n){return!kf()&&!n.destroyed&&n.container.actualOptions.interactivity.events.onHover.parallax.enable}move(n){const u=n.container,c=u.actualOptions,h=c.interactivity.events.onHover.parallax;if(kf()||!h.enable)return;const p=h.force,y=u.interactivity.mouse.position;if(!y)return;const S=u.canvas.size,E={x:S.width*VR,y:S.height*VR},A=h.smooth,x=n.getRadius()/p,_={x:(y.x-E.x)*x,y:(y.y-E.y)*x},{offset:w}=n;w.x+=(_.x-w.x)/A,w.y+=(_.y-w.y)/A}}async function OH(o,n=!0){o.checkVersion("3.9.1"),await o.addMover("parallax",()=>Promise.resolve(new RH),n)}const HR=1e3,MH=1;class CH extends cA{constructor(n){super(n)}clear(){}init(){}interact(n){const u=this.container;n.attractDistance===void 0&&(n.attractDistance=Xe(n.options.move.attract.distance)*u.retina.pixelRatio);const c=n.attractDistance,h=n.getPosition(),p=u.particles.quadTree.queryCircle(h,c);for(const y of p){if(n===y||!y.options.move.attract.enable||y.destroyed||y.spawning)continue;const S=y.getPosition(),{dx:E,dy:A}=ha(h,S),x=n.options.move.attract.rotate,_=E/(x.x*HR),w=A/(x.y*HR),z=y.size.value/n.size.value,V=MH/z;n.velocity.x-=_*z,n.velocity.y-=w*z,y.velocity.x+=_*V,y.velocity.y+=w*V}}isEnabled(n){return n.options.move.attract.enable}reset(){}}async function zH(o,n=!0){o.checkVersion("3.9.1"),await o.addInteractor("particlesAttract",u=>Promise.resolve(new CH(u)),n)}const UH=.5,BH=10,VH=0;function LR(o,n,u,c,h,p){const y=Ql(o.options.collisions.absorb.speed*h.factor/BH,VH,c);o.size.value+=y*UH,u.size.value-=y,c<=p&&(u.size.value=0,u.destroy())}function HH(o,n,u,c){const h=o.getRadius(),p=n.getRadius();h===void 0&&p!==void 0?o.destroy():h!==void 0&&p===void 0?n.destroy():h!==void 0&&p!==void 0&&(h>=p?LR(o,h,n,p,u,c):LR(n,p,o,h,u,c))}const NR=o=>{o.collisionMaxSpeed===void 0&&(o.collisionMaxSpeed=Xe(o.options.collisions.maxSpeed)),o.velocity.length>o.collisionMaxSpeed&&(o.velocity.length=o.collisionMaxSpeed)};function jR(o,n){j2(WE(o),WE(n)),NR(o),NR(n)}function LH(o,n){!o.unbreakable&&!n.unbreakable&&jR(o,n),o.getRadius()===void 0&&n.getRadius()!==void 0?o.destroy():o.getRadius()!==void 0&&n.getRadius()===void 0?n.destroy():o.getRadius()!==void 0&&n.getRadius()!==void 0&&(o.getRadius()>=n.getRadius()?n:o).destroy()}function NH(o,n,u,c){switch(o.options.collisions.mode){case am.absorb:{HH(o,n,u,c);break}case am.bounce:{jR(o,n);break}case am.destroy:{LH(o,n);break}}}const jH=2;class qH extends cA{constructor(n){super(n)}clear(){}init(){}interact(n,u){if(n.destroyed||n.spawning)return;const c=this.container,h=n.getPosition(),p=n.getRadius(),y=c.particles.quadTree.queryCircle(h,p*jH);for(const S of y){if(n===S||!S.options.collisions.enable||n.options.collisions.mode!==S.options.collisions.mode||S.destroyed||S.spawning)continue;const E=S.getPosition(),A=S.getRadius();if(Math.abs(Math.round(h.z)-Math.round(E.z))>p+A)continue;const x=rl(h,E),_=p+A;x>_||NH(n,S,u,c.retina.pixelRatio)}}isEnabled(n){return n.options.collisions.enable}reset(){}}async function YH(o,n=!0){o.checkVersion("3.9.1"),await o.addInteractor("particlesCollisions",u=>Promise.resolve(new qH(u)),n)}const SA=2;class GH extends ta{constructor(n,u,c,h){super(n,u,c),this.canvasSize=h,this.canvasSize={...h}}contains(n){const{width:u,height:c}=this.canvasSize,{x:h,y:p}=n;return super.contains(n)||super.contains({x:h-u,y:p})||super.contains({x:h-u,y:p-c})||super.contains({x:h,y:p-c})}intersects(n){if(super.intersects(n))return!0;const u=n,c=n,h={x:n.position.x-this.canvasSize.width,y:n.position.y-this.canvasSize.height};if(c.radius!==void 0){const p=new ta(h.x,h.y,c.radius*SA);return super.intersects(p)}else if(u.size!==void 0){const p=new Zo(h.x,h.y,u.size.width*SA,u.size.height*SA);return super.intersects(p)}return!1}}class kH{constructor(){this.blur=5,this.color=new ea,this.color.value="#000",this.enable=!1}load(n){Ee(n)||(n.blur!==void 0&&(this.blur=n.blur),this.color=ea.create(this.color,n.color),n.enable!==void 0&&(this.enable=n.enable))}}class XH{constructor(){this.enable=!1,this.frequency=1}load(n){Ee(n)||(n.color!==void 0&&(this.color=ea.create(this.color,n.color)),n.enable!==void 0&&(this.enable=n.enable),n.frequency!==void 0&&(this.frequency=n.frequency),n.opacity!==void 0&&(this.opacity=n.opacity))}}class QH{constructor(){this.blink=!1,this.color=new ea,this.color.value="#fff",this.consent=!1,this.distance=100,this.enable=!1,this.frequency=1,this.opacity=1,this.shadow=new kH,this.triangles=new XH,this.width=1,this.warp=!1}load(n){Ee(n)||(n.id!==void 0&&(this.id=n.id),n.blink!==void 0&&(this.blink=n.blink),this.color=ea.create(this.color,n.color),n.consent!==void 0&&(this.consent=n.consent),n.distance!==void 0&&(this.distance=n.distance),n.enable!==void 0&&(this.enable=n.enable),n.frequency!==void 0&&(this.frequency=n.frequency),n.opacity!==void 0&&(this.opacity=n.opacity),this.shadow.load(n.shadow),this.triangles.load(n.triangles),n.width!==void 0&&(this.width=n.width),n.warp!==void 0&&(this.warp=n.warp))}}const qR=2,ZH=1,Zb={x:0,y:0},JH=0;function $H(o,n,u,c,h){const{dx:p,dy:y,distance:S}=ha(o,n);if(!h||S<=u)return S;const E={x:Math.abs(p),y:Math.abs(y)},A={x:Math.min(E.x,c.width-E.x),y:Math.min(E.y,c.height-E.y)};return Math.sqrt(A.x**qR+A.y**qR)}class KH extends cA{constructor(n,u){super(n),this._setColor=c=>{if(!c.options.links)return;const h=this._linkContainer,p=c.options.links;let y=p.id===void 0?h.particles.linksColor:h.particles.linksColors.get(p.id);if(y)return;const S=p.color;y=Z2(this._engine,S,p.blink,p.consent),p.id===void 0?h.particles.linksColor=y:h.particles.linksColors.set(p.id,y)},this._linkContainer=n,this._engine=u}clear(){}init(){this._linkContainer.particles.linksColor=void 0,this._linkContainer.particles.linksColors=new Map}interact(n){if(!n.options.links)return;n.links=[];const u=n.getPosition(),c=this.container,h=c.canvas.size;if(u.x<Zb.x||u.y<Zb.y||u.x>h.width||u.y>h.height)return;const p=n.options.links,y=p.opacity,S=n.retina.linksDistance??JH,E=p.warp;let A;E?A=new GH(u.x,u.y,S,h):A=new ta(u.x,u.y,S);const x=c.particles.quadTree.query(A);for(const _ of x){const w=_.options.links;if(n===_||!w?.enable||p.id!==w.id||_.spawning||_.destroyed||!_.links||n.links.some(Q=>Q.destination===_)||_.links.some(Q=>Q.destination===n))continue;const z=_.getPosition();if(z.x<Zb.x||z.y<Zb.y||z.x>h.width||z.y>h.height)continue;const V=$H(u,z,S,h,E&&w.warp);if(V>S)continue;const X=(ZH-V/S)*y;this._setColor(n),n.links.push({destination:_,opacity:X})}}isEnabled(n){return!!n.options.links?.enable}loadParticlesOptions(n,...u){n.links||(n.links=new QH);for(const c of u)n.links.load(c?.links)}reset(){}}async function PH(o,n=!0){await o.addInteractor("particlesLinks",async u=>Promise.resolve(new KH(u,o)),n)}function FH(o,n,u,c){o.beginPath(),o.moveTo(n.x,n.y),o.lineTo(u.x,u.y),o.lineTo(c.x,c.y),o.closePath()}function WH(o){let n=!1;const{begin:u,end:c,engine:h,maxDistance:p,context:y,canvasSize:S,width:E,backgroundMask:A,colorLine:x,opacity:_,links:w}=o;if(rl(u,c)<=p)ig(y,u,c),n=!0;else if(w.warp){let V,X;const Q={x:c.x-S.width,y:c.y},$=ha(u,Q);if($.distance<=p){const le=u.y-$.dy/$.dx*u.x;V={x:0,y:le},X={x:S.width,y:le}}else{const le={x:c.x,y:c.y-S.height},ee=ha(u,le);if(ee.distance<=p){const ye=-(u.y-ee.dy/ee.dx*u.x)/(ee.dy/ee.dx);V={x:ye,y:0},X={x:ye,y:S.height}}else{const oe={x:c.x-S.width,y:c.y-S.height},ye=ha(u,oe);if(ye.distance<=p){const xe=u.y-ye.dy/ye.dx*u.x;V={x:-xe/(ye.dy/ye.dx),y:xe},X={x:V.x+S.width,y:V.y+S.height}}}}V&&X&&(ig(y,u,V),ig(y,c,X),n=!0)}if(!n)return;y.lineWidth=E,A.enable&&(y.globalCompositeOperation=A.composite),y.strokeStyle=Du(x,_);const{shadow:z}=w;if(z.enable){const V=Xo(h,z.color);V&&(y.shadowBlur=z.blur,y.shadowColor=Du(V))}y.stroke()}function IH(o){const{context:n,pos1:u,pos2:c,pos3:h,backgroundMask:p,colorTriangle:y,opacityTriangle:S}=o;FH(n,u,c,h),p.enable&&(n.globalCompositeOperation=p.composite),n.fillStyle=Du(y,S),n.fill()}function eL(o){return o.sort((n,u)=>n-u),o.join("_")}function YR(o,n){const u=eL(o.map(h=>h.id));let c=n.get(u);return c===void 0&&(c=$t(),n.set(u,c)),c}const GR=0,TA=0,kR=0,tL=.5,nL=1;class iL{constructor(n,u){this._drawLinkLine=(c,h)=>{const p=c.options.links;if(!p?.enable)return;const y=this._container,S=y.actualOptions,E=h.destination,A=c.getPosition(),x=E.getPosition();let _=h.opacity;y.canvas.draw(w=>{let z;const V=c.options.twinkle?.lines;if(V?.enable){const le=V.frequency,ee=Xo(this._engine,V.color);$t()<le&&ee&&(z=ee,_=Xe(V.opacity))}if(!z){const le=p.id!==void 0?y.particles.linksColors.get(p.id):y.particles.linksColor;z=nA(c,E,le)}if(!z)return;const X=c.retina.linksWidth??TA,Q=c.retina.linksDistance??kR,{backgroundMask:$}=S;WH({context:w,width:X,begin:A,end:x,engine:this._engine,maxDistance:Q,canvasSize:y.canvas.size,links:p,backgroundMask:$,colorLine:z,opacity:_})})},this._drawLinkTriangle=(c,h,p)=>{const y=c.options.links;if(!y?.enable)return;const S=y.triangles;if(!S.enable)return;const E=this._container,A=E.actualOptions,x=h.destination,_=p.destination,w=S.opacity??(h.opacity+p.opacity)*tL;w<=GR||E.canvas.draw(z=>{const V=c.getPosition(),X=x.getPosition(),Q=_.getPosition(),$=c.retina.linksDistance??kR;if(rl(V,X)>$||rl(Q,X)>$||rl(Q,V)>$)return;let le=Xo(this._engine,S.color);if(!le){const ee=y.id!==void 0?E.particles.linksColors.get(y.id):E.particles.linksColor;le=nA(c,x,ee)}le&&IH({context:z,pos1:V,pos2:X,pos3:Q,backgroundMask:A.backgroundMask,colorTriangle:le,opacityTriangle:w})})},this._drawTriangles=(c,h,p,y)=>{const S=p.destination;if(!(c.links?.triangles.enable&&S.options.links?.triangles.enable))return;const E=S.links?.filter(A=>{const x=this._getLinkFrequency(S,A.destination);return S.options.links&&x<=S.options.links.frequency&&y.findIndex(w=>w.destination===A.destination)>=0});if(E?.length)for(const A of E){const x=A.destination;this._getTriangleFrequency(h,S,x)>c.links.triangles.frequency||this._drawLinkTriangle(h,p,A)}},this._getLinkFrequency=(c,h)=>YR([c,h],this._freqs.links),this._getTriangleFrequency=(c,h,p)=>YR([c,h,p],this._freqs.triangles),this._container=n,this._engine=u,this._freqs={links:new Map,triangles:new Map}}drawParticle(n,u){const{links:c,options:h}=u;if(!c?.length)return;const p=c.filter(y=>h.links&&(h.links.frequency>=nL||this._getLinkFrequency(u,y.destination)<=h.links.frequency));for(const y of p)this._drawTriangles(h,u,y,p),y.opacity>GR&&(u.retina.linksWidth??TA)>TA&&this._drawLinkLine(u,y)}async init(){this._freqs.links=new Map,this._freqs.triangles=new Map,await Promise.resolve()}particleCreated(n){if(n.links=[],!n.options.links)return;const u=this._container.retina.pixelRatio,{retina:c}=n,{distance:h,width:p}=n.options.links;c.linksDistance=h*u,c.linksWidth=p*u}particleDestroyed(n){n.links=[]}}class aL{constructor(n){this.id="links",this._engine=n}getPlugin(n){return Promise.resolve(new iL(n,this._engine))}loadOptions(){}needsPlugin(){return!0}}async function lL(o,n=!0){const u=new aL(o);await o.addPlugin(u,n)}async function oL(o,n=!0){o.checkVersion("3.9.1"),await PH(o,n),await lL(o,n)}const sL=180,Jb={x:0,y:0},uL=2;function rL(o,n,u){const{context:c}=o,h=u.count.numerator*u.count.denominator,p=u.count.numerator/u.count.denominator,y=sL*(p-uL)/p,S=Math.PI-Jr(y);if(c){c.beginPath(),c.translate(n.x,n.y),c.moveTo(Jb.x,Jb.y);for(let E=0;E<h;E++)c.lineTo(u.length,Jb.y),c.translate(u.length,Jb.y),c.rotate(S)}}const cL=5;class XR{draw(n){const{particle:u,radius:c}=n,h=this.getCenter(u,c),p=this.getSidesData(u,c);rL(n,h,p)}getSidesCount(n){const u=n.shapeData;return Math.round(Xe(u?.sides??cL))}}const QR=3.5,ZR=2.66,fL=3;class dL extends XR{constructor(){super(...arguments),this.validTypes=["polygon"]}getCenter(n,u){return{x:-u/(n.sides/QR),y:-u/(ZR/QR)}}getSidesData(n,u){const c=n.sides;return{count:{denominator:1,numerator:c},length:u*ZR/(c/fL)}}}const hL=1.66,mL=3,pL=2;class yL extends XR{constructor(){super(...arguments),this.validTypes=["triangle"]}getCenter(n,u){return{x:-u,y:u/hL}}getSidesCount(){return mL}getSidesData(n,u){const c=u*pL;return{count:{denominator:2,numerator:3},length:c}}}async function gL(o,n=!0){o.checkVersion("3.9.1"),await o.addShape(new dL,n)}async function vL(o,n=!0){o.checkVersion("3.9.1"),await o.addShape(new yL,n)}async function bL(o,n=!0){o.checkVersion("3.9.1"),await gL(o,n),await vL(o,n)}class SL{constructor(){this.enable=!1,this.speed=0,this.decay=0,this.sync=!1}load(n){Ee(n)||(n.enable!==void 0&&(this.enable=n.enable),n.speed!==void 0&&(this.speed=Bt(n.speed)),n.decay!==void 0&&(this.decay=Bt(n.decay)),n.sync!==void 0&&(this.sync=n.sync))}}class TL extends Qf{constructor(){super(),this.animation=new SL,this.direction=Jo.clockwise,this.path=!1,this.value=0}load(n){Ee(n)||(super.load(n),n.direction!==void 0&&(this.direction=n.direction),this.animation.load(n.animation),n.path!==void 0&&(this.path=n.path))}}const JR=2,EL=Math.PI*JR,AL=1,xL=360;class _L{constructor(n){this.container=n}init(n){const u=n.options.rotate;if(!u)return;n.rotate={enable:u.animation.enable,value:Jr(Xe(u.value)),min:0,max:EL},n.pathRotation=u.path;let c=u.direction;switch(c===Jo.random&&(c=Math.floor($t()*JR)>0?Jo.counterClockwise:Jo.clockwise),c){case Jo.counterClockwise:case"counterClockwise":n.rotate.status=Qn.decreasing;break;case Jo.clockwise:n.rotate.status=Qn.increasing;break}const h=u.animation;h.enable&&(n.rotate.decay=AL-Xe(h.decay),n.rotate.velocity=Xe(h.speed)/xL*this.container.retina.reduceFactor,h.sync||(n.rotate.velocity*=$t())),n.rotation=n.rotate.value}isEnabled(n){const u=n.options.rotate;return u?!n.destroyed&&!n.spawning&&(!!u.value||u.animation.enable||u.path):!1}loadOptions(n,...u){n.rotate||(n.rotate=new TL);for(const c of u)n.rotate.load(c?.rotate)}update(n,u){this.isEnabled(n)&&(n.isRotating=!!n.rotate,n.rotate&&(IE(n,n.rotate,!1,Yf.none,u),n.rotation=n.rotate.value))}}async function DL(o,n=!0){o.checkVersion("3.9.1"),await o.addParticleUpdater("rotate",u=>Promise.resolve(new _L(u)),n)}const wL=2,RL=Math.sqrt(wL),OL=2;function ML(o){const{context:n,radius:u}=o,c=u/RL,h=c*OL;n.rect(-c,-c,h,h)}const CL=4;class zL{constructor(){this.validTypes=["edge","square"]}draw(n){ML(n)}getSidesCount(){return CL}}async function UL(o,n=!0){o.checkVersion("3.9.1"),await o.addShape(new zL,n)}const BL=2,dm={x:0,y:0};function VL(o){const{context:n,particle:u,radius:c}=o,h=u.sides,p=u.starInset??BL;n.moveTo(dm.x,dm.y-c);for(let y=0;y<h;y++)n.rotate(Math.PI/h),n.lineTo(dm.x,dm.y-c*p),n.rotate(Math.PI/h),n.lineTo(dm.x,dm.y-c)}const HL=2,LL=5;class NL{constructor(){this.validTypes=["star"]}draw(n){VL(n)}getSidesCount(n){const u=n.shapeData;return Math.round(Xe(u?.sides??LL))}particleInit(n,u){const c=u.shapeData;u.starInset=Xe(c?.inset??HL)}}async function jL(o,n=!0){o.checkVersion("3.9.1"),await o.addShape(new NL,n)}const qL=1;class YL{constructor(n,u){this._container=n,this._engine=u}init(n){const u=this._container,c=n.options,h=Zl(c.stroke,n.id,c.reduceDuplicates);n.strokeWidth=Xe(h.width)*u.retina.pixelRatio,n.strokeOpacity=Xe(h.opacity??qL),n.strokeAnimation=h.color?.animation;const p=tg(this._engine,h.color)??n.getFillColor();p&&(n.strokeColor=$2(p,n.strokeAnimation,u.retina.reduceFactor))}isEnabled(n){const u=n.strokeAnimation,{strokeColor:c}=n;return!n.destroyed&&!n.spawning&&!!u&&(c?.h.value!==void 0&&c.h.enable||c?.s.value!==void 0&&c.s.enable||c?.l.value!==void 0&&c.l.enable)}update(n,u){this.isEnabled(n)&&K2(n.strokeColor,u)}}async function GL(o,n=!0){o.checkVersion("3.9.1"),await o.addParticleUpdater("strokeColor",u=>Promise.resolve(new YL(u,o)),n)}async function kL(o,n=!0){o.checkVersion("3.9.1"),await OH(o,!1),await UB(o,!1),await GB(o,!1),await PB(o,!1),await oV(o,!1),await yV(o,!1),await bV(o,!1),await xV(o,!1),await RV(o,!1),await jV(o,!1),await XV(o,!1),await zH(o,!1),await YH(o,!1),await oL(o,!1),await AB(o,!1),await DB(o,!1),await yH(o,!1),await wH(o,!1),await bL(o,!1),await UL(o,!1),await jL(o,!1),await AH(o,!1),await DL(o,!1),await GL(o,!1),await EB(o,n)}window.React=sC,window.ReactDOM={createRoot:pC.createRoot},window.Motion={motion:KU,useAnimation:e6,AnimatePresence:X4},window.Particles=w8,window.Particles.initParticlesEngine=R8,window.TSParticlesSlim={loadSlim:kL}})();
17
+ `),()=>{H.contains(B)&&H.removeChild(B)}},[t]),_i.jsx(uM,{isPresent:t,childRef:c,sizeRef:d,children:F.cloneElement(n,{ref:y})})}const fM=({children:n,initial:t,isPresent:a,onExitComplete:o,custom:r,presenceAffectsLayout:u,mode:c,anchorX:d,anchorY:m,root:p})=>{const y=il(hM),v=F.useId();let S=!0,x=F.useMemo(()=>(S=!1,{id:v,initial:t,isPresent:a,custom:r,onExitComplete:w=>{y.set(w,!0);for(const C of y.values())if(!C)return;o&&o()},register:w=>(y.set(w,!1),()=>y.delete(w))}),[a,y,o]);return u&&S&&(x={...x}),F.useMemo(()=>{y.forEach((w,C)=>y.set(C,!1))},[a]),F.useEffect(()=>{!a&&!y.size&&o&&o()},[a]),c==="popLayout"&&(n=_i.jsx(cM,{isPresent:a,anchorX:d,anchorY:m,root:p,children:n})),_i.jsx(nl.Provider,{value:x,children:n})};function hM(){return new Map}function gy(n=!0){const t=F.useContext(nl);if(t===null)return[!0,null];const{isPresent:a,onExitComplete:o,register:r}=t,u=F.useId();F.useEffect(()=>{if(n)return r(u)},[n]);const c=F.useCallback(()=>n&&o&&o(u),[u,o,n]);return!a&&o?[!1,c]:[!0]}const vl=n=>n.key||"";function vy(n){const t=[];return F.Children.forEach(n,a=>{F.isValidElement(a)&&t.push(a)}),t}const dM=({children:n,custom:t,initial:a=!0,onExitComplete:o,presenceAffectsLayout:r=!0,mode:u="sync",propagate:c=!1,anchorX:d="left",anchorY:m="top",root:p})=>{const[y,v]=gy(c),S=F.useMemo(()=>vy(n),[n]),x=c&&!y?[]:S.map(vl),w=F.useRef(!0),C=F.useRef(S),A=il(()=>new Map),R=F.useRef(new Set),[L,B]=F.useState(S),[H,Y]=F.useState(S);pu(()=>{w.current=!1,C.current=S;for(let Q=0;Q<H.length;Q++){const st=vl(H[Q]);x.includes(st)?(A.delete(st),R.current.delete(st)):A.get(st)!==!0&&A.set(st,!1)}},[H,x.length,x.join("-")]);const K=[];if(S!==L){let Q=[...S];for(let st=0;st<H.length;st++){const dt=H[st],Rt=vl(dt);x.includes(Rt)||(Q.splice(st,0,dt),K.push(dt))}return u==="wait"&&K.length&&(Q=K),Y(vy(Q)),B(S),null}const{forceRender:G}=F.useContext(mu);return _i.jsx(_i.Fragment,{children:H.map(Q=>{const st=vl(Q),dt=c&&!y?!1:S===H||x.includes(st),Rt=()=>{if(R.current.has(st))return;if(R.current.add(st),A.has(st))A.set(st,!0);else return;let Lt=!0;A.forEach(qe=>{qe||(Lt=!1)}),Lt&&(G?.(),Y(C.current),c&&v?.(),o&&o())};return _i.jsx(fM,{isPresent:dt,initial:!w.current||a?void 0:!1,custom:t,presenceAffectsLayout:r,mode:u,root:p,onExitComplete:dt?void 0:Rt,anchorX:d,anchorY:m,children:Q},st)})})},by=F.createContext({strict:!1}),Sy={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]};let xy=!1;function mM(){if(xy)return;const n={};for(const t in Sy)n[t]={isEnabled:a=>Sy[t].some(o=>!!a[o])};pp(n),xy=!0}function Ty(){return mM(),WT()}function pM(n){const t=Ty();for(const a in n)t[a]={...t[a],...n[a]};pp(t)}const yM=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 bl(n){return n.startsWith("while")||n.startsWith("drag")&&n!=="draggable"||n.startsWith("layout")||n.startsWith("onTap")||n.startsWith("onPan")||n.startsWith("onLayout")||yM.has(n)}let wy=n=>!bl(n);function gM(n){typeof n=="function"&&(wy=t=>t.startsWith("on")?!bl(t):n(t))}try{gM(require("@emotion/is-prop-valid").default)}catch{}function vM(n,t,a){const o={};for(const r in n)r==="values"&&typeof n.values=="object"||(wy(r)||a===!0&&bl(r)||!t&&!bl(r)||n.draggable&&r.startsWith("onDrag"))&&(o[r]=n[r]);return o}const Sl=F.createContext({});function bM(n,t){if(hl(n)){const{initial:a,animate:o}=n;return{initial:a===!1||Ka(a)?a:void 0,animate:Ka(o)?o:void 0}}return n.inherit!==!1?t:{}}function SM(n){const{initial:t,animate:a}=bM(n,F.useContext(Sl));return F.useMemo(()=>({initial:t,animate:a}),[My(t),My(a)])}function My(n){return Array.isArray(n)?n.join(" "):n}const wc=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function _y(n,t,a){for(const o in t)!de(t[o])&&!Ap(o,a)&&(n[o]=t[o])}function xM({transformTemplate:n},t){return F.useMemo(()=>{const a=wc();return yc(a,t,n),Object.assign({},a.vars,a.style)},[t])}function TM(n,t){const a=n.style||{},o={};return _y(o,a,n),Object.assign(o,xM(n,t)),o}function wM(n,t){const a={},o=TM(n,t);return n.drag&&n.dragListener!==!1&&(a.draggable=!1,o.userSelect=o.WebkitUserSelect=o.WebkitTouchCallout="none",o.touchAction=n.drag===!0?"none":`pan-${n.drag==="x"?"y":"x"}`),n.tabIndex===void 0&&(n.onTap||n.onTapStart||n.whileTap)&&(a.tabIndex=0),a.style=o,a}const Cy=()=>({...wc(),attrs:{}});function MM(n,t,a,o){const r=F.useMemo(()=>{const u=Cy();return Dp(u,t,Op(o),n.transformTemplate,n.style),{...u.attrs,style:{...u.style}}},[t]);if(n.style){const u={};_y(u,n.style,n),r.style={...u,...r.style}}return r}const _M=["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 Mc(n){return typeof n!="string"||n.includes("-")?!1:!!(_M.indexOf(n)>-1||/[A-Z]/u.test(n))}function CM(n,t,a,{latestValues:o},r,u=!1,c){const m=(c??Mc(n)?MM:wM)(t,o,r,n),p=vM(t,typeof n=="string",u),y=n!==F.Fragment?{...p,...m,ref:a}:{},{children:v}=t,S=F.useMemo(()=>de(v)?v.get():v,[v]);return F.createElement(n,{...y,children:S})}function EM({scrapeMotionValuesFromProps:n,createRenderState:t},a,o,r){return{latestValues:AM(a,o,r,n),renderState:t()}}function AM(n,t,a,o){const r={},u=o(n,{});for(const S in u)r[S]=yl(u[S]);let{initial:c,animate:d}=n;const m=hl(n),p=dp(n);t&&p&&!m&&n.inherit!==!1&&(c===void 0&&(c=t.initial),d===void 0&&(d=t.animate));let y=a?a.initial===!1:!1;y=y||c===!1;const v=y?d:c;if(v&&typeof v!="boolean"&&!fl(v)){const S=Array.isArray(v)?v:[v];for(let x=0;x<S.length;x++){const w=Iu(n,S[x]);if(w){const{transitionEnd:C,transition:A,...R}=w;for(const L in R){let B=R[L];if(Array.isArray(B)){const H=y?B.length-1:0;B=B[H]}B!==null&&(r[L]=B)}for(const L in C)r[L]=C[L]}}}return r}const Ey=n=>(t,a)=>{const o=F.useContext(Sl),r=F.useContext(nl),u=()=>EM(n,t,o,r);return a?u():il(u)},DM=Ey({scrapeMotionValuesFromProps:vc,createRenderState:wc}),zM=Ey({scrapeMotionValuesFromProps:Rp,createRenderState:Cy}),OM=Symbol.for("motionComponentSymbol");function RM(n,t,a){const o=F.useRef(a);F.useInsertionEffect(()=>{o.current=a});const r=F.useRef(null);return F.useCallback(u=>{u&&n.onMount?.(u),t&&(u?t.mount(u):t.unmount());const c=o.current;if(typeof c=="function")if(u){const d=c(u);typeof d=="function"&&(r.current=d)}else r.current?(r.current(),r.current=null):c(u);else c&&(c.current=u)},[t])}const Ay=F.createContext({});function Ia(n){return n&&typeof n=="object"&&Object.prototype.hasOwnProperty.call(n,"current")}function VM(n,t,a,o,r,u){const{visualElement:c}=F.useContext(Sl),d=F.useContext(by),m=F.useContext(nl),p=F.useContext(Tc).reducedMotion,y=F.useRef(null);o=o||d.renderer,!y.current&&o&&(y.current=o(n,{visualState:t,parent:c,props:a,presenceContext:m,blockInitialAnimation:m?m.initial===!1:!1,reducedMotionConfig:p,isSVG:u}));const v=y.current,S=F.useContext(Ay);v&&!v.projection&&r&&(v.type==="html"||v.type==="svg")&&BM(y.current,a,r,S);const x=F.useRef(!1);F.useInsertionEffect(()=>{v&&x.current&&v.update(a,m)});const w=a[Xm],C=F.useRef(!!w&&!window.MotionHandoffIsComplete?.(w)&&window.MotionHasOptimisedAnimation?.(w));return pu(()=>{v&&(x.current=!0,window.MotionIsMounted=!0,v.updateFeatures(),v.scheduleRenderMicrotask(),C.current&&v.animationState&&v.animationState.animateChanges())}),F.useEffect(()=>{v&&(!C.current&&v.animationState&&v.animationState.animateChanges(),C.current&&(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(w)}),C.current=!1),v.enteringChildren=void 0)}),v}function BM(n,t,a,o){const{layoutId:r,layout:u,drag:c,dragConstraints:d,layoutScroll:m,layoutRoot:p,layoutCrossfade:y}=t;n.projection=new a(n.latestValues,t["data-framer-portal-id"]?void 0:Dy(n.parent)),n.projection.setOptions({layoutId:r,layout:u,alwaysMeasureLayout:!!c||d&&Ia(d),visualElement:n,animationType:typeof u=="string"?u:"both",initialPromotionConfig:o,crossfade:y,layoutScroll:m,layoutRoot:p})}function Dy(n){if(n)return n.options.allowProjection!==!1?n.projection:Dy(n.parent)}function _c(n,{forwardMotionProps:t=!1,type:a}={},o,r){o&&pM(o);const u=a?a==="svg":Mc(n),c=u?zM:DM;function d(p,y){let v;const S={...F.useContext(Tc),...p,layoutId:LM(p)},{isStatic:x}=S,w=SM(p),C=c(p,x);if(!x&&Zd){kM();const A=UM(S);v=A.MeasureLayout,w.visualElement=VM(n,C,S,r,A.ProjectionNode,u)}return _i.jsxs(Sl.Provider,{value:w,children:[v&&w.visualElement?_i.jsx(v,{visualElement:w.visualElement,...S}):null,CM(n,p,RM(C,w.visualElement,y),C,x,t,u)]})}d.displayName=`motion.${typeof n=="string"?n:`create(${n.displayName??n.name??""})`}`;const m=F.forwardRef(d);return m[OM]=n,m}function LM({layoutId:n}){const t=F.useContext(mu).id;return t&&n!==void 0?t+"-"+n:n}function kM(n,t){F.useContext(by).strict}function UM(n){const t=Ty(),{drag:a,layout:o}=t;if(!a&&!o)return{};const r={...a,...o};return{MeasureLayout:a?.isEnabled(n)||o?.isEnabled(n)?r.MeasureLayout:void 0,ProjectionNode:r.ProjectionNode}}function NM(n,t){if(typeof Proxy>"u")return _c;const a=new Map,o=(u,c)=>_c(u,c,n,t),r=(u,c)=>o(u,c);return new Proxy(r,{get:(u,c)=>c==="create"?o:(a.has(c)||a.set(c,_c(c,void 0,n,t)),a.get(c))})}const HM=(n,t)=>t.isSVG??Mc(n)?new yw(t):new cw(t,{allowProjection:n!==F.Fragment});class qM extends cn{constructor(t){super(t),t.animationState||(t.animationState=xw(t))}updateAnimationControlsSubscription(){const{animate:t}=this.node.getProps();fl(t)&&(this.unmountControls=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:t}=this.node.getProps(),{animate:a}=this.node.prevProps||{};t!==a&&this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}}let jM=0;class PM extends cn{constructor(){super(...arguments),this.id=jM++}update(){if(!this.node.presenceContext)return;const{isPresent:t,onExitComplete:a}=this.node.presenceContext,{isPresent:o}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===o)return;const r=this.node.animationState.setActive("exit",!t);a&&!t&&r.then(()=>{a(this.id)})}mount(){const{register:t,onExitComplete:a}=this.node.presenceContext||{};a&&a(this.id),t&&(this.unmount=t(this.id))}unmount(){}}const YM={animation:{Feature:qM},exit:{Feature:PM}};function Wa(n){return{point:{x:n.pageX,y:n.pageY}}}const GM=n=>t=>rc(t)&&n(t,Wa(t));function to(n,t,a,o){return $a(n,t,GM(a),o)}const zy=({current:n})=>n?n.ownerDocument.defaultView:null,Oy=(n,t)=>Math.abs(n-t);function XM(n,t){const a=Oy(n.x,t.x),o=Oy(n.y,t.y);return Math.sqrt(a**2+o**2)}const Ry=new Set(["auto","scroll"]);class Vy{constructor(t,a,{transformPagePoint:o,contextWindow:r=window,dragSnapToOrigin:u=!1,distanceThreshold:c=3,element:d}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.scrollPositions=new Map,this.removeScrollListeners=null,this.onElementScroll=x=>{this.handleScroll(x.target)},this.onWindowScroll=()=>{this.handleScroll(window)},this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const x=Ec(this.lastMoveEventInfo,this.history),w=this.startEvent!==null,C=XM(x.offset,{x:0,y:0})>=this.distanceThreshold;if(!w&&!C)return;const{point:A}=x,{timestamp:R}=ae;this.history.push({...A,timestamp:R});const{onStart:L,onMove:B}=this.handlers;w||(L&&L(this.lastMoveEvent,x),this.startEvent=this.lastMoveEvent),B&&B(this.lastMoveEvent,x)},this.handlePointerMove=(x,w)=>{this.lastMoveEvent=x,this.lastMoveEventInfo=Cc(w,this.transformPagePoint),Ot.update(this.updatePoint,!0)},this.handlePointerUp=(x,w)=>{this.end();const{onEnd:C,onSessionEnd:A,resumeAnimation:R}=this.handlers;if((this.dragSnapToOrigin||!this.startEvent)&&R&&R(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const L=Ec(x.type==="pointercancel"?this.lastMoveEventInfo:Cc(w,this.transformPagePoint),this.history);this.startEvent&&C&&C(x,L),A&&A(x,L)},!rc(t))return;this.dragSnapToOrigin=u,this.handlers=a,this.transformPagePoint=o,this.distanceThreshold=c,this.contextWindow=r||window;const m=Wa(t),p=Cc(m,this.transformPagePoint),{point:y}=p,{timestamp:v}=ae;this.history=[{...y,timestamp:v}];const{onSessionStart:S}=a;S&&S(t,Ec(p,this.history)),this.removeListeners=Ha(to(this.contextWindow,"pointermove",this.handlePointerMove),to(this.contextWindow,"pointerup",this.handlePointerUp),to(this.contextWindow,"pointercancel",this.handlePointerUp)),d&&this.startScrollTracking(d)}startScrollTracking(t){let a=t.parentElement;for(;a;){const o=getComputedStyle(a);(Ry.has(o.overflowX)||Ry.has(o.overflowY))&&this.scrollPositions.set(a,{x:a.scrollLeft,y:a.scrollTop}),a=a.parentElement}this.scrollPositions.set(window,{x:window.scrollX,y:window.scrollY}),window.addEventListener("scroll",this.onElementScroll,{capture:!0,passive:!0}),window.addEventListener("scroll",this.onWindowScroll,{passive:!0}),this.removeScrollListeners=()=>{window.removeEventListener("scroll",this.onElementScroll,{capture:!0}),window.removeEventListener("scroll",this.onWindowScroll)}}handleScroll(t){const a=this.scrollPositions.get(t);if(!a)return;const o=t===window,r=o?{x:window.scrollX,y:window.scrollY}:{x:t.scrollLeft,y:t.scrollTop},u={x:r.x-a.x,y:r.y-a.y};u.x===0&&u.y===0||(o?this.lastMoveEventInfo&&(this.lastMoveEventInfo.point.x+=u.x,this.lastMoveEventInfo.point.y+=u.y):this.history.length>0&&(this.history[0].x-=u.x,this.history[0].y-=u.y),this.scrollPositions.set(t,r),Ot.update(this.updatePoint,!0))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),on(this.updatePoint)}}function Cc(n,t){return t?{point:t(n.point)}:n}function By(n,t){return{x:n.x-t.x,y:n.y-t.y}}function Ec({point:n},t){return{point:n,delta:By(n,Ly(t)),offset:By(n,QM(t)),velocity:ZM(t,.1)}}function QM(n){return n[0]}function Ly(n){return n[n.length-1]}function ZM(n,t){if(n.length<2)return{x:0,y:0};let a=n.length-1,o=null;const r=Ly(n);for(;a>=0&&(o=n[a],!(r.timestamp-o.timestamp>Ui(t)));)a--;if(!o)return{x:0,y:0};const u=Ie(r.timestamp-o.timestamp);if(u===0)return{x:0,y:0};const c={x:(r.x-o.x)/u,y:(r.y-o.y)/u};return c.x===1/0&&(c.x=0),c.y===1/0&&(c.y=0),c}function KM(n,{min:t,max:a},o){return t!==void 0&&n<t?n=o?Ut(t,n,o.min):Math.max(n,t):a!==void 0&&n>a&&(n=o?Ut(a,n,o.max):Math.min(n,a)),n}function ky(n,t,a){return{min:t!==void 0?n.min+t:void 0,max:a!==void 0?n.max+a-(n.max-n.min):void 0}}function FM(n,{top:t,left:a,bottom:o,right:r}){return{x:ky(n.x,a,r),y:ky(n.y,t,o)}}function Uy(n,t){let a=t.min-n.min,o=t.max-n.max;return t.max-t.min<n.max-n.min&&([a,o]=[o,a]),{min:a,max:o}}function JM(n,t){return{x:Uy(n.x,t.x),y:Uy(n.y,t.y)}}function $M(n,t){let a=.5;const o=xe(n),r=xe(t);return r>o?a=qa(t.min,t.max-o,n.min):o>r&&(a=qa(n.min,n.max-r,t.min)),Ci(0,1,a)}function IM(n,t){const a={};return t.min!==void 0&&(a.min=t.min-n.min),t.max!==void 0&&(a.max=t.max-n.min),a}const Ac=.35;function WM(n=Ac){return n===!1?n=0:n===!0&&(n=Ac),{x:Ny(n,"left","right"),y:Ny(n,"top","bottom")}}function Ny(n,t,a){return{min:Hy(n,t),max:Hy(n,a)}}function Hy(n,t){return typeof n=="number"?n:n[t]||0}const t_=new WeakMap;class e_{constructor(t){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=Wt(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=t}start(t,{snapToCursor:a=!1,distanceThreshold:o}={}){const{presenceContext:r}=this.visualElement;if(r&&r.isPresent===!1)return;const u=v=>{a?(this.stopAnimation(),this.snapToCursor(Wa(v).point)):this.pauseAnimation()},c=(v,S)=>{this.stopAnimation();const{drag:x,dragPropagation:w,onDragStart:C}=this.getProps();if(x&&!w&&(this.openDragLock&&this.openDragLock(),this.openDragLock=jT(x),!this.openDragLock))return;this.latestPointerEvent=v,this.latestPanInfo=S,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),We(R=>{let L=this.getAxisMotionValue(R).get()||0;if(Ei.test(L)){const{projection:B}=this.visualElement;if(B&&B.layout){const H=B.layout.layoutBox[R];H&&(L=xe(H)*(parseFloat(L)/100))}}this.originPoint[R]=L}),C&&Ot.postRender(()=>C(v,S)),ec(this.visualElement,"transform");const{animationState:A}=this.visualElement;A&&A.setActive("whileDrag",!0)},d=(v,S)=>{this.latestPointerEvent=v,this.latestPanInfo=S;const{dragPropagation:x,dragDirectionLock:w,onDirectionLock:C,onDrag:A}=this.getProps();if(!x&&!this.openDragLock)return;const{offset:R}=S;if(w&&this.currentDirection===null){this.currentDirection=i_(R),this.currentDirection!==null&&C&&C(this.currentDirection);return}this.updateAxis("x",S.point,R),this.updateAxis("y",S.point,R),this.visualElement.render(),A&&A(v,S)},m=(v,S)=>{this.latestPointerEvent=v,this.latestPanInfo=S,this.stop(v,S),this.latestPointerEvent=null,this.latestPanInfo=null},p=()=>We(v=>this.getAnimationState(v)==="paused"&&this.getAxisMotionValue(v).animation?.play()),{dragSnapToOrigin:y}=this.getProps();this.panSession=new Vy(t,{onSessionStart:u,onStart:c,onMove:d,onSessionEnd:m,resumeAnimation:p},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:y,distanceThreshold:o,contextWindow:zy(this.visualElement),element:this.visualElement.current})}stop(t,a){const o=t||this.latestPointerEvent,r=a||this.latestPanInfo,u=this.isDragging;if(this.cancel(),!u||!r||!o)return;const{velocity:c}=r;this.startAnimation(c);const{onDragEnd:d}=this.getProps();d&&Ot.postRender(()=>d(o,r))}cancel(){this.isDragging=!1;const{projection:t,animationState:a}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.endPanSession();const{dragPropagation:o}=this.getProps();!o&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),a&&a.setActive("whileDrag",!1)}endPanSession(){this.panSession&&this.panSession.end(),this.panSession=void 0}updateAxis(t,a,o){const{drag:r}=this.getProps();if(!o||!xl(t,r,this.currentDirection))return;const u=this.getAxisMotionValue(t);let c=this.originPoint[t]+o[t];this.constraints&&this.constraints[t]&&(c=KM(c,this.constraints[t],this.elastic[t])),u.set(c)}resolveConstraints(){const{dragConstraints:t,dragElastic:a}=this.getProps(),o=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,r=this.constraints;t&&Ia(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&o?this.constraints=FM(o.layoutBox,t):this.constraints=!1,this.elastic=WM(a),r!==this.constraints&&o&&this.constraints&&!this.hasMutatedConstraints&&We(u=>{this.constraints!==!1&&this.getAxisMotionValue(u)&&(this.constraints[u]=IM(o.layoutBox[u],this.constraints[u]))})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:a}=this.getProps();if(!t||!Ia(t))return!1;const o=t.current,{projection:r}=this.visualElement;if(!r||!r.layout)return!1;const u=sw(o,r.root,this.visualElement.getTransformPagePoint());let c=JM(r.layout.layoutBox,u);if(a){const d=a(ew(c));this.hasMutatedConstraints=!!d,d&&(c=gp(d))}return c}startAnimation(t){const{drag:a,dragMomentum:o,dragElastic:r,dragTransition:u,dragSnapToOrigin:c,onDragTransitionEnd:d}=this.getProps(),m=this.constraints||{},p=We(y=>{if(!xl(y,a,this.currentDirection))return;let v=m&&m[y]||{};c&&(v={min:0,max:0});const S=r?200:1e6,x=r?40:1e7,w={type:"inertia",velocity:o?t[y]:0,bounceStiffness:S,bounceDamping:x,timeConstant:750,restDelta:1,restSpeed:10,...u,...v};return this.startAxisValueAnimation(y,w)});return Promise.all(p).then(d)}startAxisValueAnimation(t,a){const o=this.getAxisMotionValue(t);return ec(this.visualElement,t),o.start($u(t,o,0,a,this.visualElement,!1))}stopAnimation(){We(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){We(t=>this.getAxisMotionValue(t).animation?.pause())}getAnimationState(t){return this.getAxisMotionValue(t).animation?.state}getAxisMotionValue(t){const a=`_drag${t.toUpperCase()}`,o=this.visualElement.getProps(),r=o[a];return r||this.visualElement.getValue(t,(o.initial?o.initial[t]:void 0)||0)}snapToCursor(t){We(a=>{const{drag:o}=this.getProps();if(!xl(a,o,this.currentDirection))return;const{projection:r}=this.visualElement,u=this.getAxisMotionValue(a);if(r&&r.layout){const{min:c,max:d}=r.layout.layoutBox[a],m=u.get()||0;u.set(t[a]-Ut(c,d,.5)+m)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:t,dragConstraints:a}=this.getProps(),{projection:o}=this.visualElement;if(!Ia(a)||!o||!this.constraints)return;this.stopAnimation();const r={x:0,y:0};We(c=>{const d=this.getAxisMotionValue(c);if(d&&this.constraints!==!1){const m=d.get();r[c]=$M({min:m,max:m},this.constraints[c])}});const{transformTemplate:u}=this.visualElement.getProps();this.visualElement.current.style.transform=u?u({},""):"none",o.root&&o.root.updateScroll(),o.updateLayout(),this.resolveConstraints(),We(c=>{if(!xl(c,t,null))return;const d=this.getAxisMotionValue(c),{min:m,max:p}=this.constraints[c];d.set(Ut(m,p,r[c]))})}addListeners(){if(!this.visualElement.current)return;t_.set(this.visualElement,this);const t=this.visualElement.current,a=to(t,"pointerdown",m=>{const{drag:p,dragListener:y=!0}=this.getProps(),v=m.target,S=v!==t&&op(v);p&&y&&!S&&this.start(m)}),o=()=>{const{dragConstraints:m}=this.getProps();Ia(m)&&m.current&&(this.constraints=this.resolveRefConstraints())},{projection:r}=this.visualElement,u=r.addEventListener("measure",o);r&&!r.layout&&(r.root&&r.root.updateScroll(),r.updateLayout()),Ot.read(o);const c=$a(window,"resize",()=>this.scalePositionWithinConstraints()),d=r.addEventListener("didUpdate",(({delta:m,hasLayoutChanged:p})=>{this.isDragging&&p&&(We(y=>{const v=this.getAxisMotionValue(y);v&&(this.originPoint[y]+=m[y].translate,v.set(v.get()+m[y].translate))}),this.visualElement.render())}));return()=>{c(),a(),u(),d&&d()}}getProps(){const t=this.visualElement.getProps(),{drag:a=!1,dragDirectionLock:o=!1,dragPropagation:r=!1,dragConstraints:u=!1,dragElastic:c=Ac,dragMomentum:d=!0}=t;return{...t,drag:a,dragDirectionLock:o,dragPropagation:r,dragConstraints:u,dragElastic:c,dragMomentum:d}}}function xl(n,t,a){return(t===!0||t===n)&&(a===null||a===n)}function i_(n,t=10){let a=null;return Math.abs(n.y)>t?a="y":Math.abs(n.x)>t&&(a="x"),a}class n_ extends cn{constructor(t){super(t),this.removeGroupControls=$e,this.removeListeners=$e,this.controls=new e_(t)}mount(){const{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||$e}update(){const{dragControls:t}=this.node.getProps(),{dragControls:a}=this.node.prevProps||{};t!==a&&(this.removeGroupControls(),t&&(this.removeGroupControls=t.subscribe(this.controls)))}unmount(){this.removeGroupControls(),this.removeListeners(),this.controls.endPanSession()}}const qy=n=>(t,a)=>{n&&Ot.postRender(()=>n(t,a))};class s_ extends cn{constructor(){super(...arguments),this.removePointerDownListener=$e}onPointerDown(t){this.session=new Vy(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:zy(this.node)})}createPanHandlers(){const{onPanSessionStart:t,onPanStart:a,onPan:o,onPanEnd:r}=this.node.getProps();return{onSessionStart:qy(t),onStart:qy(a),onMove:o,onEnd:(u,c)=>{delete this.session,r&&Ot.postRender(()=>r(u,c))}}}mount(){this.removePointerDownListener=to(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}let Dc=!1;class a_ extends F.Component{componentDidMount(){const{visualElement:t,layoutGroup:a,switchLayoutGroup:o,layoutId:r}=this.props,{projection:u}=t;u&&(a.group&&a.group.add(u),o&&o.register&&r&&o.register(u),Dc&&u.root.didUpdate(),u.addEventListener("animationComplete",()=>{this.safeToRemove()}),u.setOptions({...u.options,onExitComplete:()=>this.safeToRemove()})),gl.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){const{layoutDependency:a,visualElement:o,drag:r,isPresent:u}=this.props,{projection:c}=o;return c&&(c.isPresent=u,Dc=!0,r||t.layoutDependency!==a||a===void 0||t.isPresent!==u?c.willUpdate():this.safeToRemove(),t.isPresent!==u&&(u?c.promote():c.relegate()||Ot.postRender(()=>{const d=c.getStack();(!d||!d.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),lc.postRender(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:t,layoutGroup:a,switchLayoutGroup:o}=this.props,{projection:r}=t;Dc=!0,r&&(r.scheduleCheckAfterUnmount(),a&&a.group&&a.group.remove(r),o&&o.deregister&&o.deregister(r))}safeToRemove(){const{safeToRemove:t}=this.props;t&&t()}render(){return null}}function jy(n){const[t,a]=gy(),o=F.useContext(mu);return _i.jsx(a_,{...n,layoutGroup:o,switchLayoutGroup:F.useContext(Ay),isPresent:t,safeToRemove:a})}const o_={pan:{Feature:s_},drag:{Feature:n_,ProjectionNode:py,MeasureLayout:jy}};function Py(n,t,a){const{props:o}=n;n.animationState&&o.whileHover&&n.animationState.setActive("whileHover",a==="Start");const r="onHover"+a,u=o[r];u&&Ot.postRender(()=>u(t,Wa(t)))}class l_ extends cn{mount(){const{current:t}=this.node;t&&(this.unmount=PT(t,(a,o)=>(Py(this.node,o,"Start"),r=>Py(this.node,r,"End"))))}unmount(){}}class r_ extends cn{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=Ha($a(this.node.current,"focus",()=>this.onFocus()),$a(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function Yy(n,t,a){const{props:o}=n;if(n.current instanceof HTMLButtonElement&&n.current.disabled)return;n.animationState&&o.whileTap&&n.animationState.setActive("whileTap",a==="Start");const r="onTap"+(a==="End"?"":a),u=o[r];u&&Ot.postRender(()=>u(t,Wa(t)))}class u_ extends cn{mount(){const{current:t}=this.node;t&&(this.unmount=XT(t,(a,o)=>(Yy(this.node,o,"Start"),(r,{success:u})=>Yy(this.node,r,u?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}const zc=new WeakMap,Oc=new WeakMap,c_=n=>{const t=zc.get(n.target);t&&t(n)},f_=n=>{n.forEach(c_)};function h_({root:n,...t}){const a=n||document;Oc.has(a)||Oc.set(a,{});const o=Oc.get(a),r=JSON.stringify(t);return o[r]||(o[r]=new IntersectionObserver(f_,{root:n,...t})),o[r]}function d_(n,t,a){const o=h_(t);return zc.set(n,a),o.observe(n),()=>{zc.delete(n),o.unobserve(n)}}const m_={some:0,all:1};class p_ extends cn{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:t={}}=this.node.getProps(),{root:a,margin:o,amount:r="some",once:u}=t,c={root:a?a.current:void 0,rootMargin:o,threshold:typeof r=="number"?r:m_[r]},d=m=>{const{isIntersecting:p}=m;if(this.isInView===p||(this.isInView=p,u&&!p&&this.hasEnteredView))return;p&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",p);const{onViewportEnter:y,onViewportLeave:v}=this.node.getProps(),S=p?y:v;S&&S(m)};return d_(this.node.current,c,d)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:t,prevProps:a}=this.node;["amount","margin","root"].some(y_(t,a))&&this.startObserver()}unmount(){}}function y_({viewport:n={}},{viewport:t={}}={}){return a=>n[a]!==t[a]}const g_={...YM,...{inView:{Feature:p_},tap:{Feature:u_},focus:{Feature:r_},hover:{Feature:l_}},...o_,...{layout:{ProjectionNode:py,MeasureLayout:jy}}},v_=NM(g_,HM);function b_(n){n.values.forEach(t=>t.stop())}function Rc(n,t){[...t].reverse().forEach(o=>{const r=n.getVariant(o);r&&tc(n,r),n.variantChildren&&n.variantChildren.forEach(u=>{Rc(u,t)})})}function S_(n,t){if(Array.isArray(t))return Rc(n,t);if(typeof t=="string")return Rc(n,[t]);tc(n,t)}function x_(){const n=new Set,t={subscribe(a){return n.add(a),()=>void n.delete(a)},start(a,o){const r=[];return n.forEach(u=>{r.push(Km(u,a,{transitionOverride:o}))}),Promise.all(r)},set(a){return n.forEach(o=>{S_(o,a)})},stop(){n.forEach(a=>{b_(a)})},mount(){return()=>{t.stop()}}};return t}function T_(){const n=il(x_);return pu(n.mount,[]),n}const w_=T_,Zn="generated",M_="pointerdown",__="pointerup",Vc="pointerleave",C_="pointerout",Kn="pointermove",E_="touchstart",Gy="touchend",A_="touchmove",D_="touchcancel",z_="resize",O_="visibilitychange",ti="tsParticles - Error",fn=100,te=.5,me=1e3,pe={x:0,y:0,z:0},Tl={a:1,b:0,c:0,d:1},Us="random",wl="mid",ye=2,R_=Math.PI*ye,Bc=60,Xy="true",Qy="false",Lc="canvas",Zy=0,Ni=2,Ky=4,V_=1,Fy=1,Jy=1,B_=4,$y=1,Ml=255,Fn=360,kc=100,Uc=100,Iy=0,Nc=0,L_=60,k_=0,_l=.25,Wy=te+_l,tg=0,U_=1,N_=0,H_=0,q_=1,Hc=1,j_=1,eg=1,Cl=0,ig=1,P_=0,Y_=120,G_=0,X_=0,Q_=1e4,Z_=0,K_=1,El=0,ng=1,F_=1,J_=0,sg=1,$_=0,I_=0,ag=-_l,og=1.5,lg=0,W_=1,tC=0,qc=0,rg=1,eC=1,Al=1,iC=500,ug=50,nC=0,jc=1,cg=0,fg=1,sC=0,Jn=255,Pc=3,Yc=6,aC=1,oC=1,lC=0,rC=0,uC=0,cC=0;var oe;(function(n){n.bottom="bottom",n.bottomLeft="bottom-left",n.bottomRight="bottom-right",n.left="left",n.none="none",n.right="right",n.top="top",n.topLeft="top-left",n.topRight="top-right",n.outside="outside",n.inside="inside"})(oe||(oe={}));function hg(n){return typeof n=="boolean"}function hn(n){return typeof n=="string"}function dn(n){return typeof n=="number"}function Ns(n){return typeof n=="object"&&n!==null}function Ai(n){return Array.isArray(n)}function X(n){return n==null}class ke{constructor(t,a,o){if(this._updateFromAngle=(r,u)=>{this.x=Math.cos(r)*u,this.y=Math.sin(r)*u},!dn(t)&&t){this.x=t.x,this.y=t.y;const r=t;this.z=r.z?r.z:pe.z}else if(t!==void 0&&a!==void 0)this.x=t,this.y=a,this.z=o??pe.z;else throw new Error(`${ti} Vector3d not initialized correctly`)}static get origin(){return ke.create(pe.x,pe.y,pe.z)}get angle(){return Math.atan2(this.y,this.x)}set angle(t){this._updateFromAngle(t,this.length)}get length(){return Math.sqrt(this.getLengthSq())}set length(t){this._updateFromAngle(this.angle,t)}static clone(t){return ke.create(t.x,t.y,t.z)}static create(t,a,o){return new ke(t,a,o)}add(t){return ke.create(this.x+t.x,this.y+t.y,this.z+t.z)}addTo(t){this.x+=t.x,this.y+=t.y,this.z+=t.z}copy(){return ke.clone(this)}distanceTo(t){return this.sub(t).length}distanceToSq(t){return this.sub(t).getLengthSq()}div(t){return ke.create(this.x/t,this.y/t,this.z/t)}divTo(t){this.x/=t,this.y/=t,this.z/=t}getLengthSq(){return this.x**Ni+this.y**Ni}mult(t){return ke.create(this.x*t,this.y*t,this.z*t)}multTo(t){this.x*=t,this.y*=t,this.z*=t}normalize(){const t=this.length;t!=El&&this.multTo($y/t)}rotate(t){return ke.create(this.x*Math.cos(t)-this.y*Math.sin(t),this.x*Math.sin(t)+this.y*Math.cos(t),pe.z)}setTo(t){this.x=t.x,this.y=t.y;const a=t;this.z=a.z?a.z:pe.z}sub(t){return ke.create(this.x-t.x,this.y-t.y,this.z-t.z)}subFrom(t){this.x-=t.x,this.y-=t.y,this.z-=t.z}}class ie extends ke{constructor(t,a){super(t,a,pe.z)}static get origin(){return ie.create(pe.x,pe.y)}static clone(t){return ie.create(t.x,t.y)}static create(t,a){return new ie(t,a)}}let fC=Math.random;const dg={nextFrame:n=>requestAnimationFrame(n),cancel:n=>cancelAnimationFrame(n)};function Ct(){return ei(fC(),0,1-Number.EPSILON)}function hC(n){return dg.nextFrame(n)}function dC(n){dg.cancel(n)}function ei(n,t,a){return Math.min(Math.max(n,t),a)}function Gc(n,t,a,o){return Math.floor((n*a+t*o)/(a+o))}function Ue(n){const t=Di(n),a=0;let o=Dl(n);return t===o&&(o=a),Ct()*(t-o)+o}function et(n){return dn(n)?n:Ue(n)}function Dl(n){return dn(n)?n:n.min}function Di(n){return dn(n)?n:n.max}function bt(n,t){if(n===t||t===void 0&&dn(n))return n;const a=Dl(n),o=Di(n);return t!==void 0?{min:Math.min(a,t),max:Math.max(o,t)}:bt(a,o)}function Te(n,t){const a=n.x-t.x,o=n.y-t.y,r=2;return{dx:a,dy:o,distance:Math.sqrt(a**r+o**r)}}function Ne(n,t){return Te(n,t).distance}function mn(n){return n*Math.PI/180}function mC(n,t,a){if(dn(n))return mn(n);switch(n){case oe.top:return-Math.PI*te;case oe.topRight:return-Math.PI*_l;case oe.right:return k_;case oe.bottomRight:return Math.PI*_l;case oe.bottom:return Math.PI*te;case oe.bottomLeft:return Math.PI*Wy;case oe.left:return Math.PI;case oe.topLeft:return-Math.PI*Wy;case oe.inside:return Math.atan2(a.y-t.y,a.x-t.x);case oe.outside:return Math.atan2(t.y-a.y,t.x-a.x);default:return Ct()*R_}}function pC(n){const t=ie.origin;return t.length=1,t.angle=n,t}function mg(n,t,a,o){return ie.create(n.x*(a-o)/(a+o)+t.x*ye*o/(a+o),n.y)}function yC(n){return{x:n.position?.x??Ct()*n.size.width,y:n.position?.y??Ct()*n.size.height}}function pg(n){return n?n.endsWith("%")?parseFloat(n)/fn:parseFloat(n):1}var $n;(function(n){n.auto="auto",n.increase="increase",n.decrease="decrease",n.random="random"})($n||($n={}));var Zt;(function(n){n.increasing="increasing",n.decreasing="decreasing"})(Zt||(Zt={}));var In;(function(n){n.none="none",n.max="max",n.min="min"})(In||(In={}));var ht;(function(n){n.bottom="bottom",n.left="left",n.right="right",n.top="top"})(ht||(ht={}));var Hs;(function(n){n.precise="precise",n.percent="percent"})(Hs||(Hs={}));var qs;(function(n){n.max="max",n.min="min",n.random="random"})(qs||(qs={}));const gC={debug:console.debug,error:console.error,info:console.info,log:console.log,verbose:console.log,warning:console.warn};function Wn(){return gC}function vC(n){const t=new Map;return(...a)=>{const o=JSON.stringify(a);if(t.has(o))return t.get(o);const r=n(...a);return t.set(o,r),r}}function yg(n){const t={bounced:!1},{pSide:a,pOtherSide:o,rectSide:r,rectOtherSide:u,velocity:c,factor:d}=n;return o.min<u.min||o.min>u.max||o.max<u.min||o.max>u.max||(a.max>=r.min&&a.max<=(r.max+r.min)*te&&c>tg||a.min<=r.max&&a.min>(r.max+r.min)*te&&c<tg)&&(t.velocity=c*-d,t.bounced=!0),t}function bC(n,t){const a=He(t,o=>n.matches(o));return Ai(a)?a.some(o=>o):a}function ts(){return typeof window>"u"||!window||typeof window.document>"u"||!window.document}function SC(){return!ts()&&typeof matchMedia<"u"}function gg(n){if(SC())return matchMedia(n)}function xC(n){if(!(ts()||typeof IntersectionObserver>"u"))return new IntersectionObserver(n)}function TC(n){if(!(ts()||typeof MutationObserver>"u"))return new MutationObserver(n)}function Pt(n,t){return n===t||Ai(t)&&t.indexOf(n)>-1}async function vg(n,t){try{await document.fonts.load(`${t??"400"} 36px '${n??"Verdana"}'`)}catch{}}function wC(n){return Math.floor(Ct()*n.length)}function zl(n,t,a=!0){return n[t!==void 0&&a?t%n.length:wC(n)]}function Xc(n,t,a,o,r){return MC(eo(n,o??0),t,a,r)}function MC(n,t,a,o){let r=!0;return(!o||o===ht.bottom)&&(r=n.top<t.height+a.x),r&&(!o||o===ht.left)&&(r=n.right>a.x),r&&(!o||o===ht.right)&&(r=n.left<t.width+a.y),r&&(!o||o===ht.top)&&(r=n.bottom>a.y),r}function eo(n,t){return{bottom:n.y+t,left:n.x-t,right:n.x+t,top:n.y-t}}function ge(n,...t){for(const a of t){if(a==null)continue;if(!Ns(a)){n=a;continue}const o=Array.isArray(a);o&&(Ns(n)||!n||!Array.isArray(n))?n=[]:!o&&(Ns(n)||!n||Array.isArray(n))&&(n={});for(const r in a){if(r==="__proto__")continue;const u=a,c=u[r],d=n;d[r]=Ns(c)&&Array.isArray(c)?c.map(m=>ge(d[r],m)):ge(d[r],c)}}return n}function Qc(n,t){return!!xg(t,a=>a.enable&&Pt(n,a.mode))}function Zc(n,t,a){He(t,o=>{const r=o.mode;o.enable&&Pt(n,r)&&_C(o,a)})}function _C(n,t){const a=n.selectors;He(a,o=>{t(o,n)})}function bg(n,t){if(!(!t||!n))return xg(n,a=>bC(t,a.selectors))}function Kc(n){return{position:n.getPosition(),radius:n.getRadius(),mass:n.getMass(),velocity:n.velocity,factor:ie.create(et(n.options.bounce.horizontal.value),et(n.options.bounce.vertical.value))}}function Sg(n,t){const{x:a,y:o}=n.velocity.sub(t.velocity),[r,u]=[n.position,t.position],{dx:c,dy:d}=Te(u,r);if(a*c+o*d<0)return;const p=-Math.atan2(d,c),y=n.mass,v=t.mass,S=n.velocity.rotate(p),x=t.velocity.rotate(p),w=mg(S,x,y,v),C=mg(x,S,y,v),A=w.rotate(-p),R=C.rotate(-p);n.velocity.x=A.x*n.factor.x,n.velocity.y=A.y*n.factor.y,t.velocity.x=R.x*t.factor.x,t.velocity.y=R.y*t.factor.y}function CC(n,t){const a=n.getPosition(),o=n.getRadius(),r=eo(a,o),u=n.options.bounce,c=yg({pSide:{min:r.left,max:r.right},pOtherSide:{min:r.top,max:r.bottom},rectSide:{min:t.left,max:t.right},rectOtherSide:{min:t.top,max:t.bottom},velocity:n.velocity.x,factor:et(u.horizontal.value)});c.bounced&&(c.velocity!==void 0&&(n.velocity.x=c.velocity),c.position!==void 0&&(n.position.x=c.position));const d=yg({pSide:{min:r.top,max:r.bottom},pOtherSide:{min:r.left,max:r.right},rectSide:{min:t.top,max:t.bottom},rectOtherSide:{min:t.left,max:t.right},velocity:n.velocity.y,factor:et(u.vertical.value)});d.bounced&&(d.velocity!==void 0&&(n.velocity.y=d.velocity),d.position!==void 0&&(n.position.y=d.position))}function He(n,t){return Ai(n)?n.map((o,r)=>t(o,r)):t(n,0)}function ii(n,t,a){return Ai(n)?zl(n,t,a):n}function xg(n,t){return Ai(n)?n.find((o,r)=>t(o,r)):t(n,0)?n:void 0}function Tg(n,t){const a=n.value,o=n.animation,r={delayTime:et(o.delay)*me,enable:o.enable,value:et(n.value)*t,max:Di(a)*t,min:Dl(a)*t,loops:0,maxLoops:et(o.count),time:0},u=1;if(o.enable){switch(r.decay=u-et(o.decay),o.mode){case $n.increase:r.status=Zt.increasing;break;case $n.decrease:r.status=Zt.decreasing;break;case $n.random:r.status=Ct()>=te?Zt.increasing:Zt.decreasing;break}const c=o.mode===$n.auto;switch(o.startValue){case qs.min:r.value=r.min,c&&(r.status=Zt.increasing);break;case qs.max:r.value=r.max,c&&(r.status=Zt.decreasing);break;case qs.random:default:r.value=Ue(r),c&&(r.status=Ct()>=te?Zt.increasing:Zt.decreasing);break}}return r.initialValue=r.value,r}function EC(n,t){if(!(n.mode===Hs.percent)){const{mode:r,...u}=n;return u}return"x"in n?{x:n.x/fn*t.width,y:n.y/fn*t.height}:{width:n.width/fn*t.width,height:n.height/fn*t.height}}function wg(n,t){return EC(n,t)}function AC(n,t,a,o,r){switch(t){case In.max:a>=r&&n.destroy();break;case In.min:a<=o&&n.destroy();break}}function Fc(n,t,a,o,r){if(n.destroyed||!t||!t.enable||(t.maxLoops??0)>0&&(t.loops??0)>(t.maxLoops??0))return;const y=(t.velocity??0)*r.factor,v=t.min,S=t.max,x=t.decay??1;if(t.time||(t.time=0),(t.delayTime??0)>0&&t.time<(t.delayTime??0)&&(t.time+=r.value),!((t.delayTime??0)>0&&t.time<(t.delayTime??0))){switch(t.status){case Zt.increasing:t.value>=S?(a?t.status=Zt.decreasing:t.value-=S,t.loops||(t.loops=0),t.loops++):t.value+=y;break;case Zt.decreasing:t.value<=v?(a?t.status=Zt.increasing:t.value+=S,t.loops||(t.loops=0),t.loops++):t.value-=y}t.velocity&&x!==1&&(t.velocity*=x),AC(n,o,t.value,v,S),n.destroyed||(t.value=ei(t.value,v,S))}}function DC(n){const t=document.createElement("div").style;if(!n)return t;for(const a in n){const o=n[a];if(!Object.prototype.hasOwnProperty.call(n,a)||X(o))continue;const r=n.getPropertyValue?.(o);if(!r)continue;const u=n.getPropertyPriority?.(o);u?t.setProperty?.(o,r,u):t.setProperty?.(o,r)}return t}function zC(n){const t=document.createElement("div").style,a=10,o={width:"100%",height:"100%",margin:"0",padding:"0",borderWidth:"0",position:"fixed",zIndex:n.toString(a),"z-index":n.toString(a),top:"0",left:"0"};for(const r in o){const u=o[r];t.setProperty(r,u)}return t}const OC=vC(zC);var Jc;(function(n){n.darken="darken",n.enlighten="enlighten"})(Jc||(Jc={}));function RC(n,t){if(t){for(const a of n.colorManagers.values())if(t.startsWith(a.stringPrefix))return a.parseString(t)}}function yi(n,t,a,o=!0){if(!t)return;const r=hn(t)?{value:t}:t;if(hn(r.value))return Mg(n,r.value,a,o);if(Ai(r.value))return yi(n,{value:zl(r.value,a,o)});for(const u of n.colorManagers.values()){const c=u.handleRangeColor(r);if(c)return c}}function Mg(n,t,a,o=!0){if(!t)return;const r=hn(t)?{value:t}:t;if(hn(r.value))return r.value===Us?Cg():VC(n,r.value);if(Ai(r.value))return Mg(n,{value:zl(r.value,a,o)});for(const u of n.colorManagers.values()){const c=u.handleColor(r);if(c)return c}}function io(n,t,a,o=!0){const r=yi(n,t,a,o);return r?_g(r):void 0}function _g(n){const t=n.r/Ml,a=n.g/Ml,o=n.b/Ml,r=Math.max(t,a,o),u=Math.min(t,a,o),c={h:Iy,l:(r+u)*te,s:Nc};return r!==u&&(c.s=c.l<te?(r-u)/(r+u):(r-u)/(ye-r-u),c.h=t===r?(a-o)/(r-u):c.h=a===r?ye+(o-t)/(r-u):ye*ye+(t-a)/(r-u)),c.l*=Uc,c.s*=kc,c.h*=L_,c.h<Iy&&(c.h+=Fn),c.h>=Fn&&(c.h-=Fn),c}function VC(n,t){return RC(n,t)}function js(n){const t=(n.h%Fn+Fn)%Fn,a=Math.max(Nc,Math.min(kc,n.s)),o=Math.max(sC,Math.min(Uc,n.l)),r=t/Fn,u=a/kc,c=o/Uc;if(a===Nc){const w=Math.round(c*Jn);return{r:w,g:w,b:w}}const d=(w,C,A)=>{if(A<0&&A++,A>1&&A--,A*Yc<1)return w+(C-w)*Yc*A;if(A*ye<1)return C;if(A*Pc<1*ye){const B=ye/Pc;return w+(C-w)*(B-A)*Yc}return w},m=c<te?c*(aC+u):c+u-c*u,p=ye*c-m,y=oC/Pc,v=Math.min(Jn,Jn*d(p,m,r+y)),S=Math.min(Jn,Jn*d(p,m,r)),x=Math.min(Jn,Jn*d(p,m,r-y));return{r:Math.round(v),g:Math.round(S),b:Math.round(x)}}function BC(n){const t=js(n);return{a:n.a,b:t.b,g:t.g,r:t.r}}function Cg(n){const t=lC,a=Ml+jc;return{b:Math.floor(Ue(bt(t,a))),g:Math.floor(Ue(bt(t,a))),r:Math.floor(Ue(bt(t,a)))}}function Hi(n,t){return`rgba(${n.r}, ${n.g}, ${n.b}, ${t??Hc})`}function no(n,t){return`hsla(${n.h}, ${n.s}%, ${n.l}%, ${t??Hc})`}function $c(n,t,a,o){let r=n,u=t;return r.r===void 0&&(r=js(n)),u.r===void 0&&(u=js(t)),{b:Gc(r.b,u.b,a,o),g:Gc(r.g,u.g,a,o),r:Gc(r.r,u.r,a,o)}}function Ic(n,t,a){if(a===Us)return Cg();if(a===wl){const o=n.getFillColor()??n.getStrokeColor(),r=t?.getFillColor()??t?.getStrokeColor();if(o&&r&&t)return $c(o,r,n.getRadius(),t.getRadius());{const u=o??r;if(u)return js(u)}}else return a}function Eg(n,t,a,o){const r=hn(t)?t:t.value;return r===Us?o?yi(n,{value:r}):a?Us:wl:r===wl?wl:yi(n,{value:r})}function Ag(n){return n!==void 0?{h:n.h.value,s:n.s.value,l:n.l.value}:void 0}function Dg(n,t,a){const o={h:{enable:!1,value:n.h},s:{enable:!1,value:n.s},l:{enable:!1,value:n.l}};return t&&(Wc(o.h,t.h,a),Wc(o.s,t.s,a),Wc(o.l,t.l,a)),o}function Wc(n,t,a){n.enable=t.enable,n.enable?(n.velocity=et(t.speed)/fn*a,n.decay=ng-et(t.decay),n.status=Zt.increasing,n.loops=uC,n.maxLoops=et(t.count),n.time=cC,n.delayTime=et(t.delay)*me,t.sync||(n.velocity*=Ct(),n.value*=Ct()),n.initialValue=n.value,n.offset=bt(t.offset)):n.velocity=rC}function tf(n,t,a,o){if(!n||!n.enable||(n.maxLoops??0)>0&&(n.loops??0)>(n.maxLoops??0)||(n.time||(n.time=0),(n.delayTime??0)>0&&n.time<(n.delayTime??0)&&(n.time+=o.value),(n.delayTime??0)>0&&n.time<(n.delayTime??0)))return;const y=n.offset?Ue(n.offset):0,v=(n.velocity??0)*o.factor+y*3.6,S=n.decay??1,x=Di(t),w=Dl(t);!a||n.status===Zt.increasing?(n.value+=v,n.value>x&&(n.loops||(n.loops=0),n.loops++,a?n.status=Zt.decreasing:n.value-=x)):(n.value-=v,n.value<0&&(n.loops||(n.loops=0),n.loops++,n.status=Zt.increasing)),n.velocity&&S!==1&&(n.velocity*=S),n.value=ei(n.value,w,x)}function zg(n,t){if(!n)return;const{h:a,s:o,l:r}=n,u={h:{min:0,max:360},s:{min:0,max:100},l:{min:0,max:100}};a&&tf(a,u.h,!1,t),o&&tf(o,u.s,!0,t),r&&tf(r,u.l,!0,t)}function so(n,t,a){n.beginPath(),n.moveTo(t.x,t.y),n.lineTo(a.x,a.y),n.closePath()}function LC(n,t,a){n.fillStyle=a??"rgba(0,0,0,0)",n.fillRect(pe.x,pe.y,t.width,t.height)}function kC(n,t,a,o){a&&(n.globalAlpha=o,n.drawImage(a,pe.x,pe.y,t.width,t.height),n.globalAlpha=1)}function ef(n,t){n.clearRect(pe.x,pe.y,t.width,t.height)}function UC(n){const{container:t,context:a,particle:o,delta:r,colorStyles:u,backgroundMask:c,composite:d,radius:m,opacity:p,shadow:y,transform:v}=n,S=o.getPosition(),x=o.rotation+(o.pathRotation?o.velocity.angle:nC),w={sin:Math.sin(x),cos:Math.cos(x)},C=!!x,A={a:w.cos*(v.a??Tl.a),b:C?w.sin*(v.b??jc):v.b??Tl.b,c:C?-w.sin*(v.c??jc):v.c??Tl.c,d:w.cos*(v.d??Tl.d)};a.setTransform(A.a,A.b,A.c,A.d,S.x,S.y),c&&(a.globalCompositeOperation=d);const R=o.shadowColor;y.enable&&R&&(a.shadowBlur=y.blur,a.shadowColor=Hi(R),a.shadowOffsetX=y.offset.x,a.shadowOffsetY=y.offset.y),u.fill&&(a.fillStyle=u.fill);const L=o.strokeWidth??cg;a.lineWidth=L,u.stroke&&(a.strokeStyle=u.stroke);const B={container:t,context:a,particle:o,radius:m,opacity:p,delta:r,transformData:A,strokeWidth:L};HC(B),qC(B),NC(B),a.globalCompositeOperation="source-over",a.resetTransform()}function NC(n){const{container:t,context:a,particle:o,radius:r,opacity:u,delta:c,transformData:d}=n;if(!o.effect)return;const m=t.effectDrawers.get(o.effect);m&&m.draw({context:a,particle:o,radius:r,opacity:u,delta:c,pixelRatio:t.retina.pixelRatio,transformData:{...d}})}function HC(n){const{container:t,context:a,particle:o,radius:r,opacity:u,delta:c,strokeWidth:d,transformData:m}=n;if(!o.shape)return;const p=t.shapeDrawers.get(o.shape);p&&(a.beginPath(),p.draw({context:a,particle:o,radius:r,opacity:u,delta:c,pixelRatio:t.retina.pixelRatio,transformData:{...m}}),o.shapeClose&&a.closePath(),d>cg&&a.stroke(),o.shapeFill&&a.fill())}function qC(n){const{container:t,context:a,particle:o,radius:r,opacity:u,delta:c,transformData:d}=n;if(!o.shape)return;const m=t.shapeDrawers.get(o.shape);m?.afterDraw&&m.afterDraw({context:a,particle:o,radius:r,opacity:u,delta:c,pixelRatio:t.retina.pixelRatio,transformData:{...d}})}function jC(n,t,a){t.draw&&t.draw(n,a)}function PC(n,t,a,o){t.drawParticle&&t.drawParticle(n,a,o)}function YC(n,t,a){return{h:n.h,s:n.s,l:n.l+(t===Jc.darken?-fg:fg)*a}}function GC(n,t,a){const o=t[a];o!==void 0&&(n[a]=(n[a]??U_)*o)}function Og(n,t,a=!1){if(!t)return;const o=n;if(!o)return;const r=o.style;if(!r)return;const u=new Set;for(const c in r)Object.prototype.hasOwnProperty.call(r,c)&&u.add(r[c]);for(const c in t)Object.prototype.hasOwnProperty.call(t,c)&&u.add(t[c]);for(const c of u){const d=t.getPropertyValue(c);d?r.setProperty(c,d,a?"important":""):r.removeProperty(c)}}class XC{constructor(t,a){this.container=t,this._applyPostDrawUpdaters=u=>{for(const c of this._postDrawUpdaters)c.afterDraw?.(u)},this._applyPreDrawUpdaters=(u,c,d,m,p,y)=>{for(const v of this._preDrawUpdaters){if(v.getColorStyles){const{fill:S,stroke:x}=v.getColorStyles(c,u,d,m);S&&(p.fill=S),x&&(p.stroke=x)}if(v.getTransformValues){const S=v.getTransformValues(c);for(const x in S)GC(y,S,x)}v.beforeDraw?.(c)}},this._applyResizePlugins=()=>{for(const u of this._resizePlugins)u.resize?.()},this._getPluginParticleColors=u=>{let c,d;for(const m of this._colorPlugins)if(!c&&m.particleFillColor&&(c=io(this._engine,m.particleFillColor(u))),!d&&m.particleStrokeColor&&(d=io(this._engine,m.particleStrokeColor(u))),c&&d)break;return[c,d]},this._initCover=async()=>{const u=this.container.actualOptions,c=u.backgroundMask.cover,d=c.color;if(d){const m=yi(this._engine,d);if(m){const p={...m,a:c.opacity};this._coverColorStyle=Hi(p,p.a)}}else await new Promise((m,p)=>{if(!c.image)return;const y=document.createElement("img");y.addEventListener("load",()=>{this._coverImage={image:y,opacity:c.opacity},m()}),y.addEventListener("error",v=>{p(v.error)}),y.src=c.image})},this._initStyle=()=>{const u=this.element,c=this.container.actualOptions;if(u){this._fullScreen?this._setFullScreenStyle():this._resetOriginalStyle();for(const d in c.style){if(!d||!c.style||!Object.prototype.hasOwnProperty.call(c.style,d))continue;const m=c.style[d];m&&u.style.setProperty(d,m,"important")}}},this._initTrail=async()=>{const u=this.container.actualOptions,c=u.particles.move.trail,d=c.fill;if(!c.enable)return;const m=$y/c.length;if(d.color){const p=yi(this._engine,d.color);if(!p)return;this._trailFill={color:{...p},opacity:m}}else await new Promise((p,y)=>{if(!d.image)return;const v=document.createElement("img");v.addEventListener("load",()=>{this._trailFill={image:v,opacity:m},p()}),v.addEventListener("error",S=>{y(S.error)}),v.src=d.image})},this._paintBase=u=>{this.draw(c=>LC(c,this.size,u))},this._paintImage=(u,c)=>{this.draw(d=>kC(d,this.size,u,c))},this._repairStyle=()=>{const u=this.element;if(!u)return;this._safeMutationObserver(d=>d.disconnect()),this._initStyle(),this.initBackground();const c=this._pointerEvents;u.style.pointerEvents=c,u.setAttribute("pointer-events",c),this._safeMutationObserver(d=>{!u||!(u instanceof Node)||d.observe(u,{attributes:!0})})},this._resetOriginalStyle=()=>{const u=this.element,c=this._originalStyle;!u||!c||Og(u,c,!0)},this._safeMutationObserver=u=>{this._mutationObserver&&u(this._mutationObserver)},this._setFullScreenStyle=()=>{const u=this.element;u&&Og(u,OC(this.container.actualOptions.fullScreen.zIndex),!0)},this._engine=a,this._standardSize={height:0,width:0};const o=t.retina.pixelRatio,r=this._standardSize;this.size={height:r.height*o,width:r.width*o},this._context=null,this._generated=!1,this._preDrawUpdaters=[],this._postDrawUpdaters=[],this._resizePlugins=[],this._colorPlugins=[],this._pointerEvents="none"}get _fullScreen(){return this.container.actualOptions.fullScreen.enable}clear(){const t=this.container.actualOptions,a=t.particles.move.trail,o=this._trailFill;t.backgroundMask.enable?this.paint():a.enable&&a.length>H_&&o?o.color?this._paintBase(Hi(o.color,o.opacity)):o.image&&this._paintImage(o.image,o.opacity):t.clear&&this.draw(r=>{ef(r,this.size)})}destroy(){this.stop(),this._generated?(this.element?.remove(),this.element=void 0):this._resetOriginalStyle(),this._preDrawUpdaters=[],this._postDrawUpdaters=[],this._resizePlugins=[],this._colorPlugins=[]}draw(t){const a=this._context;if(a)return t(a)}drawAsync(t){const a=this._context;if(a)return t(a)}drawParticle(t,a){if(t.spawning||t.destroyed)return;const o=t.getRadius();if(o<=N_)return;const r=t.getFillColor(),u=t.getStrokeColor()??r;let[c,d]=this._getPluginParticleColors(t);c||(c=r),d||(d=u),!(!c&&!d)&&this.draw(m=>{const p=this.container,y=p.actualOptions,v=t.options.zIndex,S=q_-t.zIndexFactor,x=S**v.opacityRate,w=t.bubble.opacity??t.opacity?.value??Hc,C=t.strokeOpacity??w,A=w*x,R=C*x,L={},B={fill:c?no(c,A):void 0};B.stroke=d?no(d,R):B.fill,this._applyPreDrawUpdaters(m,t,o,A,B,L),UC({container:p,context:m,particle:t,delta:a,colorStyles:B,backgroundMask:y.backgroundMask.enable,composite:y.backgroundMask.composite,radius:o*S**v.sizeRate,opacity:A,shadow:t.options.shadow,transform:L}),this._applyPostDrawUpdaters(t)})}drawParticlePlugin(t,a,o){this.draw(r=>PC(r,t,a,o))}drawPlugin(t,a){this.draw(o=>jC(o,t,a))}async init(){this._safeMutationObserver(t=>t.disconnect()),this._mutationObserver=TC(t=>{for(const a of t)a.type==="attributes"&&a.attributeName==="style"&&this._repairStyle()}),this.resize(),this._initStyle(),await this._initCover();try{await this._initTrail()}catch(t){Wn().error(t)}this.initBackground(),this._safeMutationObserver(t=>{!this.element||!(this.element instanceof Node)||t.observe(this.element,{attributes:!0})}),this.initUpdaters(),this.initPlugins(),this.paint()}initBackground(){const t=this.container.actualOptions,a=t.background,o=this.element;if(!o)return;const r=o.style;if(r){if(a.color){const u=yi(this._engine,a.color);r.backgroundColor=u?Hi(u,a.opacity):""}else r.backgroundColor="";r.backgroundImage=a.image||"",r.backgroundPosition=a.position||"",r.backgroundRepeat=a.repeat||"",r.backgroundSize=a.size||""}}initPlugins(){this._resizePlugins=[];for(const t of this.container.plugins.values())t.resize&&this._resizePlugins.push(t),(t.particleFillColor??t.particleStrokeColor)&&this._colorPlugins.push(t)}initUpdaters(){this._preDrawUpdaters=[],this._postDrawUpdaters=[];for(const t of this.container.particles.updaters)t.afterDraw&&this._postDrawUpdaters.push(t),(t.getColorStyles??t.getTransformValues??t.beforeDraw)&&this._preDrawUpdaters.push(t)}loadCanvas(t){this._generated&&this.element&&this.element.remove(),this._generated=t.dataset&&Zn in t.dataset?t.dataset[Zn]==="true":this._generated,this.element=t,this.element.ariaHidden="true",this._originalStyle=DC(this.element.style);const a=this._standardSize;a.height=t.offsetHeight,a.width=t.offsetWidth;const o=this.container.retina.pixelRatio,r=this.size;t.height=r.height=a.height*o,t.width=r.width=a.width*o,this._context=this.element.getContext("2d"),this._safeMutationObserver(u=>u.disconnect()),this.container.retina.init(),this.initBackground(),this._safeMutationObserver(u=>{!this.element||!(this.element instanceof Node)||u.observe(this.element,{attributes:!0})})}paint(){const t=this.container.actualOptions;this.draw(a=>{t.backgroundMask.enable&&t.backgroundMask.cover?(ef(a,this.size),this._coverImage?this._paintImage(this._coverImage.image,this._coverImage.opacity):this._coverColorStyle?this._paintBase(this._coverColorStyle):this._paintBase()):this._paintBase()})}resize(){if(!this.element)return!1;const t=this.container,a=t.canvas._standardSize,o={width:this.element.offsetWidth,height:this.element.offsetHeight},r=t.retina.pixelRatio,u={width:o.width*r,height:o.height*r};if(o.height===a.height&&o.width===a.width&&u.height===this.element.height&&u.width===this.element.width)return!1;const c={...a};a.height=o.height,a.width=o.width;const d=this.size;return this.element.width=d.width=u.width,this.element.height=d.height=u.height,this.container.started&&t.particles.setResizeFactor({width:a.width/c.width,height:a.height/c.height}),!0}setPointerEvents(t){this.element&&(this._pointerEvents=t,this._repairStyle())}stop(){this._safeMutationObserver(t=>t.disconnect()),this._mutationObserver=void 0,this.draw(t=>ef(t,this.size))}async windowResize(){if(!this.element||!this.resize())return;const t=this.container,a=t.updateActualOptions();t.particles.setDensity(),this._applyResizePlugins(),a&&await t.refresh()}}var Ps;(function(n){n.canvas="canvas",n.parent="parent",n.window="window"})(Ps||(Ps={}));function ni(n,t,a,o,r){if(o){let u={passive:!0};hg(r)?u.capture=r:r!==void 0&&(u=r),n.addEventListener(t,a,u)}else{const u=r;n.removeEventListener(t,a,u)}}class QC{constructor(t){this.container=t,this._doMouseTouchClick=a=>{const o=this.container,r=o.actualOptions;if(this._canPush){const u=o.interactivity.mouse,c=u.position;if(!c)return;u.clickPosition={...c},u.clickTime=new Date().getTime();const d=r.interactivity.events.onClick;He(d.mode,m=>this.container.handleClickMode(m))}a.type==="touchend"&&setTimeout(()=>this._mouseTouchFinish(),iC)},this._handleThemeChange=a=>{const o=a,r=this.container,u=r.options,c=u.defaultThemes,d=o.matches?c.dark:c.light;u.themes.find(p=>p.name===d)?.default.auto&&r.loadTheme(d)},this._handleVisibilityChange=()=>{const a=this.container,o=a.actualOptions;this._mouseTouchFinish(),o.pauseOnBlur&&(document?.hidden?(a.pageHidden=!0,a.pause()):(a.pageHidden=!1,a.animationStatus?a.play(!0):a.draw(!0)))},this._handleWindowResize=()=>{this._resizeTimeout&&(clearTimeout(this._resizeTimeout),delete this._resizeTimeout);const a=async()=>{await this.container.canvas?.windowResize()};this._resizeTimeout=setTimeout(()=>void a(),this.container.actualOptions.interactivity.events.resize.delay*me)},this._manageInteractivityListeners=(a,o)=>{const r=this._handlers,u=this.container,c=u.actualOptions,d=u.interactivity.element;if(!d)return;const m=d,p=u.canvas;p.setPointerEvents(m===p.element?"initial":"none"),(c.interactivity.events.onHover.enable||c.interactivity.events.onClick.enable)&&(ni(d,Kn,r.mouseMove,o),ni(d,E_,r.touchStart,o),ni(d,A_,r.touchMove,o),c.interactivity.events.onClick.enable?(ni(d,Gy,r.touchEndClick,o),ni(d,__,r.mouseUp,o),ni(d,M_,r.mouseDown,o)):ni(d,Gy,r.touchEnd,o),ni(d,a,r.mouseLeave,o),ni(d,D_,r.touchCancel,o))},this._manageListeners=a=>{const o=this._handlers,r=this.container,u=r.actualOptions,c=u.interactivity.detectsOn,d=r.canvas.element;let m=Vc;c===Ps.window?(r.interactivity.element=window,m=C_):c===Ps.parent&&d?r.interactivity.element=d.parentElement??d.parentNode:r.interactivity.element=d,this._manageMediaMatch(a),this._manageResize(a),this._manageInteractivityListeners(m,a),document&&ni(document,O_,o.visibilityChange,a,!1)},this._manageMediaMatch=a=>{const o=this._handlers,r=gg("(prefers-color-scheme: dark)");if(r){if(r.addEventListener!==void 0){ni(r,"change",o.themeChange,a);return}r.addListener!==void 0&&(a?r.addListener(o.oldThemeChange):r.removeListener(o.oldThemeChange))}},this._manageResize=a=>{const o=this._handlers,r=this.container;if(!r.actualOptions.interactivity.events.resize)return;if(typeof ResizeObserver>"u"){ni(window,z_,o.resize,a);return}const c=r.canvas.element;this._resizeObserver&&!a?(c&&this._resizeObserver.unobserve(c),this._resizeObserver.disconnect(),delete this._resizeObserver):!this._resizeObserver&&a&&c&&(this._resizeObserver=new ResizeObserver(d=>{d.find(p=>p.target===c)&&this._handleWindowResize()}),this._resizeObserver.observe(c))},this._mouseDown=()=>{const{interactivity:a}=this.container;if(!a)return;const{mouse:o}=a;o.clicking=!0,o.downPosition=o.position},this._mouseTouchClick=a=>{const o=this.container,r=o.actualOptions,{mouse:u}=o.interactivity;u.inside=!0;let c=!1;const d=u.position;if(!(!d||!r.interactivity.events.onClick.enable)){for(const m of o.plugins.values())if(m.clickPositionValid&&(c=m.clickPositionValid(d),c))break;c||this._doMouseTouchClick(a),u.clicking=!1}},this._mouseTouchFinish=()=>{const a=this.container.interactivity;if(!a)return;const o=a.mouse;delete o.position,delete o.clickPosition,delete o.downPosition,a.status=Vc,o.inside=!1,o.clicking=!1},this._mouseTouchMove=a=>{const o=this.container,r=o.actualOptions,u=o.interactivity,c=o.canvas.element;if(!u?.element)return;u.mouse.inside=!0;let d;if(a.type.startsWith("pointer")){this._canPush=!0;const p=a;if(u.element===window){if(c){const y=c.getBoundingClientRect();d={x:p.clientX-y.left,y:p.clientY-y.top}}}else if(r.interactivity.detectsOn===Ps.parent){const y=p.target,v=p.currentTarget;if(y&&v&&c){const S=y.getBoundingClientRect(),x=v.getBoundingClientRect(),w=c.getBoundingClientRect();d={x:p.offsetX+ye*S.left-(x.left+w.left),y:p.offsetY+ye*S.top-(x.top+w.top)}}else d={x:p.offsetX??p.clientX,y:p.offsetY??p.clientY}}else p.target===c&&(d={x:p.offsetX??p.clientX,y:p.offsetY??p.clientY})}else if(this._canPush=a.type!=="touchmove",c){const p=a,y=p.touches[p.touches.length-rg],v=c.getBoundingClientRect();d={x:y.clientX-(v.left??Cl),y:y.clientY-(v.top??Cl)}}const m=o.retina.pixelRatio;d&&(d.x*=m,d.y*=m),u.mouse.position=d,u.status=Kn},this._touchEnd=a=>{const o=a,r=Array.from(o.changedTouches);for(const u of r)this._touches.delete(u.identifier);this._mouseTouchFinish()},this._touchEndClick=a=>{const o=a,r=Array.from(o.changedTouches);for(const u of r)this._touches.delete(u.identifier);this._mouseTouchClick(a)},this._touchStart=a=>{const o=a,r=Array.from(o.changedTouches);for(const u of r)this._touches.set(u.identifier,performance.now());this._mouseTouchMove(a)},this._canPush=!0,this._touches=new Map,this._handlers={mouseDown:()=>this._mouseDown(),mouseLeave:()=>this._mouseTouchFinish(),mouseMove:a=>this._mouseTouchMove(a),mouseUp:a=>this._mouseTouchClick(a),touchStart:a=>this._touchStart(a),touchMove:a=>this._mouseTouchMove(a),touchEnd:a=>this._touchEnd(a),touchCancel:a=>this._touchEnd(a),touchEndClick:a=>this._touchEndClick(a),visibilityChange:()=>this._handleVisibilityChange(),themeChange:a=>this._handleThemeChange(a),oldThemeChange:a=>this._handleThemeChange(a),resize:()=>{this._handleWindowResize()}}}addListeners(){this._manageListeners(!0)}removeListeners(){this._manageListeners(!1)}}var we;(function(n){n.configAdded="configAdded",n.containerInit="containerInit",n.particlesSetup="particlesSetup",n.containerStarted="containerStarted",n.containerStopped="containerStopped",n.containerDestroyed="containerDestroyed",n.containerPaused="containerPaused",n.containerPlay="containerPlay",n.containerBuilt="containerBuilt",n.particleAdded="particleAdded",n.particleDestroyed="particleDestroyed",n.particleRemoved="particleRemoved"})(we||(we={}));class ve{constructor(){this.value=""}static create(t,a){const o=new ve;return o.load(t),a!==void 0&&(hn(a)||Ai(a)?o.load({value:a}):o.load(a)),o}load(t){X(t)||X(t.value)||(this.value=t.value)}}class ZC{constructor(){this.color=new ve,this.color.value="",this.image="",this.position="",this.repeat="",this.size="",this.opacity=1}load(t){X(t)||(t.color!==void 0&&(this.color=ve.create(this.color,t.color)),t.image!==void 0&&(this.image=t.image),t.position!==void 0&&(this.position=t.position),t.repeat!==void 0&&(this.repeat=t.repeat),t.size!==void 0&&(this.size=t.size),t.opacity!==void 0&&(this.opacity=t.opacity))}}class KC{constructor(){this.opacity=1}load(t){X(t)||(t.color!==void 0&&(this.color=ve.create(this.color,t.color)),t.image!==void 0&&(this.image=t.image),t.opacity!==void 0&&(this.opacity=t.opacity))}}class FC{constructor(){this.composite="destination-out",this.cover=new KC,this.enable=!1}load(t){if(!X(t)){if(t.composite!==void 0&&(this.composite=t.composite),t.cover!==void 0){const a=t.cover,o=hn(t.cover)?{color:t.cover}:t.cover;this.cover.load(a.color!==void 0||a.image!==void 0?a:{color:o})}t.enable!==void 0&&(this.enable=t.enable)}}}class JC{constructor(){this.enable=!0,this.zIndex=0}load(t){X(t)||(t.enable!==void 0&&(this.enable=t.enable),t.zIndex!==void 0&&(this.zIndex=t.zIndex))}}class $C{constructor(){this.enable=!1,this.mode=[]}load(t){X(t)||(t.enable!==void 0&&(this.enable=t.enable),t.mode!==void 0&&(this.mode=t.mode))}}var Ys;(function(n){n.circle="circle",n.rectangle="rectangle"})(Ys||(Ys={}));class Rg{constructor(){this.selectors=[],this.enable=!1,this.mode=[],this.type=Ys.circle}load(t){X(t)||(t.selectors!==void 0&&(this.selectors=t.selectors),t.enable!==void 0&&(this.enable=t.enable),t.mode!==void 0&&(this.mode=t.mode),t.type!==void 0&&(this.type=t.type))}}class IC{constructor(){this.enable=!1,this.force=2,this.smooth=10}load(t){X(t)||(t.enable!==void 0&&(this.enable=t.enable),t.force!==void 0&&(this.force=t.force),t.smooth!==void 0&&(this.smooth=t.smooth))}}class WC{constructor(){this.enable=!1,this.mode=[],this.parallax=new IC}load(t){X(t)||(t.enable!==void 0&&(this.enable=t.enable),t.mode!==void 0&&(this.mode=t.mode),this.parallax.load(t.parallax))}}class tE{constructor(){this.delay=.5,this.enable=!0}load(t){X(t)||(t.delay!==void 0&&(this.delay=t.delay),t.enable!==void 0&&(this.enable=t.enable))}}class eE{constructor(){this.onClick=new $C,this.onDiv=new Rg,this.onHover=new WC,this.resize=new tE}load(t){if(X(t))return;this.onClick.load(t.onClick);const a=t.onDiv;a!==void 0&&(this.onDiv=He(a,o=>{const r=new Rg;return r.load(o),r})),this.onHover.load(t.onHover),this.resize.load(t.resize)}}class iE{constructor(t,a){this._engine=t,this._container=a}load(t){if(X(t)||!this._container)return;const a=this._engine.interactors.get(this._container);if(a)for(const o of a)o.loadModeOptions&&o.loadModeOptions(this,t)}}class Vg{constructor(t,a){this.detectsOn=Ps.window,this.events=new eE,this.modes=new iE(t,a)}load(t){if(X(t))return;const a=t.detectsOn;a!==void 0&&(this.detectsOn=a),this.events.load(t.events),this.modes.load(t.modes)}}class nE{load(t){X(t)||(t.position&&(this.position={x:t.position.x??ug,y:t.position.y??ug,mode:t.position.mode??Hs.percent}),t.options&&(this.options=ge({},t.options)))}}var es;(function(n){n.screen="screen",n.canvas="canvas"})(es||(es={}));class sE{constructor(){this.maxWidth=1/0,this.options={},this.mode=es.canvas}load(t){X(t)||(X(t.maxWidth)||(this.maxWidth=t.maxWidth),X(t.mode)||(t.mode===es.screen?this.mode=es.screen:this.mode=es.canvas),X(t.options)||(this.options=ge({},t.options)))}}var pn;(function(n){n.any="any",n.dark="dark",n.light="light"})(pn||(pn={}));class aE{constructor(){this.auto=!1,this.mode=pn.any,this.value=!1}load(t){X(t)||(t.auto!==void 0&&(this.auto=t.auto),t.mode!==void 0&&(this.mode=t.mode),t.value!==void 0&&(this.value=t.value))}}class oE{constructor(){this.name="",this.default=new aE}load(t){X(t)||(t.name!==void 0&&(this.name=t.name),this.default.load(t.default),t.options!==void 0&&(this.options=ge({},t.options)))}}class nf{constructor(){this.count=0,this.enable=!1,this.speed=1,this.decay=0,this.delay=0,this.sync=!1}load(t){X(t)||(t.count!==void 0&&(this.count=bt(t.count)),t.enable!==void 0&&(this.enable=t.enable),t.speed!==void 0&&(this.speed=bt(t.speed)),t.decay!==void 0&&(this.decay=bt(t.decay)),t.delay!==void 0&&(this.delay=bt(t.delay)),t.sync!==void 0&&(this.sync=t.sync))}}class sf extends nf{constructor(){super(),this.mode=$n.auto,this.startValue=qs.random}load(t){super.load(t),!X(t)&&(t.mode!==void 0&&(this.mode=t.mode),t.startValue!==void 0&&(this.startValue=t.startValue))}}class af extends nf{constructor(){super(),this.offset=0,this.sync=!0}load(t){super.load(t),!X(t)&&t.offset!==void 0&&(this.offset=bt(t.offset))}}class lE{constructor(){this.h=new af,this.s=new af,this.l=new af}load(t){X(t)||(this.h.load(t.h),this.s.load(t.s),this.l.load(t.l))}}class ao extends ve{constructor(){super(),this.animation=new lE}static create(t,a){const o=new ao;return o.load(t),a!==void 0&&(hn(a)||Ai(a)?o.load({value:a}):o.load(a)),o}load(t){if(super.load(t),X(t))return;const a=t.animation;a!==void 0&&(a.enable!==void 0?this.animation.h.load(a):this.animation.load(t.animation))}}var Gs;(function(n){n.absorb="absorb",n.bounce="bounce",n.destroy="destroy"})(Gs||(Gs={}));class rE{constructor(){this.speed=2}load(t){X(t)||t.speed!==void 0&&(this.speed=t.speed)}}class uE{constructor(){this.enable=!0,this.retries=0}load(t){X(t)||(t.enable!==void 0&&(this.enable=t.enable),t.retries!==void 0&&(this.retries=t.retries))}}class is{constructor(){this.value=0}load(t){X(t)||X(t.value)||(this.value=bt(t.value))}}class cE extends is{constructor(){super(),this.animation=new nf}load(t){if(super.load(t),X(t))return;const a=t.animation;a!==void 0&&this.animation.load(a)}}class Bg extends cE{constructor(){super(),this.animation=new sf}load(t){super.load(t)}}class Lg extends is{constructor(){super(),this.value=1}}class kg{constructor(){this.horizontal=new Lg,this.vertical=new Lg}load(t){X(t)||(this.horizontal.load(t.horizontal),this.vertical.load(t.vertical))}}class fE{constructor(){this.absorb=new rE,this.bounce=new kg,this.enable=!1,this.maxSpeed=50,this.mode=Gs.bounce,this.overlap=new uE}load(t){X(t)||(this.absorb.load(t.absorb),this.bounce.load(t.bounce),t.enable!==void 0&&(this.enable=t.enable),t.maxSpeed!==void 0&&(this.maxSpeed=bt(t.maxSpeed)),t.mode!==void 0&&(this.mode=t.mode),this.overlap.load(t.overlap))}}class hE{constructor(){this.close=!0,this.fill=!0,this.options={},this.type=[]}load(t){if(X(t))return;const a=t.options;if(a!==void 0)for(const o in a){const r=a[o];r&&(this.options[o]=ge(this.options[o]??{},r))}t.close!==void 0&&(this.close=t.close),t.fill!==void 0&&(this.fill=t.fill),t.type!==void 0&&(this.type=t.type)}}class dE{constructor(){this.offset=0,this.value=90}load(t){X(t)||(t.offset!==void 0&&(this.offset=bt(t.offset)),t.value!==void 0&&(this.value=bt(t.value)))}}class mE{constructor(){this.distance=200,this.enable=!1,this.rotate={x:3e3,y:3e3}}load(t){if(!X(t)&&(t.distance!==void 0&&(this.distance=bt(t.distance)),t.enable!==void 0&&(this.enable=t.enable),t.rotate)){const a=t.rotate.x;a!==void 0&&(this.rotate.x=a);const o=t.rotate.y;o!==void 0&&(this.rotate.y=o)}}}class pE{constructor(){this.x=50,this.y=50,this.mode=Hs.percent,this.radius=0}load(t){X(t)||(t.x!==void 0&&(this.x=t.x),t.y!==void 0&&(this.y=t.y),t.mode!==void 0&&(this.mode=t.mode),t.radius!==void 0&&(this.radius=t.radius))}}class yE{constructor(){this.acceleration=9.81,this.enable=!1,this.inverse=!1,this.maxSpeed=50}load(t){X(t)||(t.acceleration!==void 0&&(this.acceleration=bt(t.acceleration)),t.enable!==void 0&&(this.enable=t.enable),t.inverse!==void 0&&(this.inverse=t.inverse),t.maxSpeed!==void 0&&(this.maxSpeed=bt(t.maxSpeed)))}}class gE{constructor(){this.clamp=!0,this.delay=new is,this.enable=!1,this.options={}}load(t){X(t)||(t.clamp!==void 0&&(this.clamp=t.clamp),this.delay.load(t.delay),t.enable!==void 0&&(this.enable=t.enable),this.generator=t.generator,t.options&&(this.options=ge(this.options,t.options)))}}class vE{load(t){X(t)||(t.color!==void 0&&(this.color=ve.create(this.color,t.color)),t.image!==void 0&&(this.image=t.image))}}class bE{constructor(){this.enable=!1,this.length=10,this.fill=new vE}load(t){X(t)||(t.enable!==void 0&&(this.enable=t.enable),t.fill!==void 0&&this.fill.load(t.fill),t.length!==void 0&&(this.length=t.length))}}var Kt;(function(n){n.bounce="bounce",n.none="none",n.out="out",n.destroy="destroy",n.split="split"})(Kt||(Kt={}));class SE{constructor(){this.default=Kt.out}load(t){X(t)||(t.default!==void 0&&(this.default=t.default),this.bottom=t.bottom??t.default,this.left=t.left??t.default,this.right=t.right??t.default,this.top=t.top??t.default)}}class xE{constructor(){this.acceleration=0,this.enable=!1}load(t){X(t)||(t.acceleration!==void 0&&(this.acceleration=bt(t.acceleration)),t.enable!==void 0&&(this.enable=t.enable),t.position&&(this.position=ge({},t.position)))}}class TE{constructor(){this.angle=new dE,this.attract=new mE,this.center=new pE,this.decay=0,this.distance={},this.direction=oe.none,this.drift=0,this.enable=!1,this.gravity=new yE,this.path=new gE,this.outModes=new SE,this.random=!1,this.size=!1,this.speed=2,this.spin=new xE,this.straight=!1,this.trail=new bE,this.vibrate=!1,this.warp=!1}load(t){if(X(t))return;this.angle.load(dn(t.angle)?{value:t.angle}:t.angle),this.attract.load(t.attract),this.center.load(t.center),t.decay!==void 0&&(this.decay=bt(t.decay)),t.direction!==void 0&&(this.direction=t.direction),t.distance!==void 0&&(this.distance=dn(t.distance)?{horizontal:t.distance,vertical:t.distance}:{...t.distance}),t.drift!==void 0&&(this.drift=bt(t.drift)),t.enable!==void 0&&(this.enable=t.enable),this.gravity.load(t.gravity);const a=t.outModes;a!==void 0&&(Ns(a)?this.outModes.load(a):this.outModes.load({default:a})),this.path.load(t.path),t.random!==void 0&&(this.random=t.random),t.size!==void 0&&(this.size=t.size),t.speed!==void 0&&(this.speed=bt(t.speed)),this.spin.load(t.spin),t.straight!==void 0&&(this.straight=t.straight),this.trail.load(t.trail),t.vibrate!==void 0&&(this.vibrate=t.vibrate),t.warp!==void 0&&(this.warp=t.warp)}}class wE extends sf{constructor(){super(),this.destroy=In.none,this.speed=2}load(t){super.load(t),!X(t)&&t.destroy!==void 0&&(this.destroy=t.destroy)}}class ME extends Bg{constructor(){super(),this.animation=new wE,this.value=1}load(t){if(X(t))return;super.load(t);const a=t.animation;a!==void 0&&this.animation.load(a)}}class _E{constructor(){this.enable=!1,this.width=1920,this.height=1080}load(t){if(X(t))return;t.enable!==void 0&&(this.enable=t.enable);const a=t.width;a!==void 0&&(this.width=a);const o=t.height;o!==void 0&&(this.height=o)}}var oo;(function(n){n.delete="delete",n.wait="wait"})(oo||(oo={}));class CE{constructor(){this.mode=oo.delete,this.value=0}load(t){X(t)||(t.mode!==void 0&&(this.mode=t.mode),t.value!==void 0&&(this.value=t.value))}}class EE{constructor(){this.density=new _E,this.limit=new CE,this.value=0}load(t){X(t)||(this.density.load(t.density),this.limit.load(t.limit),t.value!==void 0&&(this.value=t.value))}}class AE{constructor(){this.blur=0,this.color=new ve,this.enable=!1,this.offset={x:0,y:0},this.color.value="#000"}load(t){X(t)||(t.blur!==void 0&&(this.blur=t.blur),this.color=ve.create(this.color,t.color),t.enable!==void 0&&(this.enable=t.enable),t.offset!==void 0&&(t.offset.x!==void 0&&(this.offset.x=t.offset.x),t.offset.y!==void 0&&(this.offset.y=t.offset.y)))}}class DE{constructor(){this.close=!0,this.fill=!0,this.options={},this.type="circle"}load(t){if(X(t))return;const a=t.options;if(a!==void 0)for(const o in a){const r=a[o];r&&(this.options[o]=ge(this.options[o]??{},r))}t.close!==void 0&&(this.close=t.close),t.fill!==void 0&&(this.fill=t.fill),t.type!==void 0&&(this.type=t.type)}}class zE extends sf{constructor(){super(),this.destroy=In.none,this.speed=5}load(t){super.load(t),!X(t)&&t.destroy!==void 0&&(this.destroy=t.destroy)}}class OE extends Bg{constructor(){super(),this.animation=new zE,this.value=3}load(t){if(super.load(t),X(t))return;const a=t.animation;a!==void 0&&this.animation.load(a)}}class Ug{constructor(){this.width=0}load(t){X(t)||(t.color!==void 0&&(this.color=ao.create(this.color,t.color)),t.width!==void 0&&(this.width=bt(t.width)),t.opacity!==void 0&&(this.opacity=bt(t.opacity)))}}class RE extends is{constructor(){super(),this.opacityRate=1,this.sizeRate=1,this.velocityRate=1}load(t){super.load(t),!X(t)&&(t.opacityRate!==void 0&&(this.opacityRate=t.opacityRate),t.sizeRate!==void 0&&(this.sizeRate=t.sizeRate),t.velocityRate!==void 0&&(this.velocityRate=t.velocityRate))}}class VE{constructor(t,a){this._engine=t,this._container=a,this.bounce=new kg,this.collisions=new fE,this.color=new ao,this.color.value="#fff",this.effect=new hE,this.groups={},this.move=new TE,this.number=new EE,this.opacity=new ME,this.reduceDuplicates=!1,this.shadow=new AE,this.shape=new DE,this.size=new OE,this.stroke=new Ug,this.zIndex=new RE}load(t){if(X(t))return;if(t.groups!==void 0)for(const o of Object.keys(t.groups)){if(!Object.hasOwn(t.groups,o))continue;const r=t.groups[o];r!==void 0&&(this.groups[o]=ge(this.groups[o]??{},r))}t.reduceDuplicates!==void 0&&(this.reduceDuplicates=t.reduceDuplicates),this.bounce.load(t.bounce),this.color.load(ao.create(this.color,t.color)),this.effect.load(t.effect),this.move.load(t.move),this.number.load(t.number),this.opacity.load(t.opacity),this.shape.load(t.shape),this.size.load(t.size),this.shadow.load(t.shadow),this.zIndex.load(t.zIndex),this.collisions.load(t.collisions),t.interactivity!==void 0&&(this.interactivity=ge({},t.interactivity));const a=t.stroke;if(a&&(this.stroke=He(a,o=>{const r=new Ug;return r.load(o),r})),this._container){const o=this._engine.updaters.get(this._container);if(o)for(const u of o)u.loadOptions&&u.loadOptions(this,t);const r=this._engine.interactors.get(this._container);if(r)for(const u of r)u.loadParticlesOptions&&u.loadParticlesOptions(this,t)}}}function Ng(n,...t){for(const a of t)n.load(a)}function Hg(n,t,...a){const o=new VE(n,t);return Ng(o,...a),o}class BE{constructor(t,a){this._findDefaultTheme=o=>this.themes.find(r=>r.default.value&&r.default.mode===o)??this.themes.find(r=>r.default.value&&r.default.mode===pn.any),this._importPreset=o=>{this.load(this._engine.getPreset(o))},this._engine=t,this._container=a,this.autoPlay=!0,this.background=new ZC,this.backgroundMask=new FC,this.clear=!0,this.defaultThemes={},this.delay=0,this.fullScreen=new JC,this.detectRetina=!0,this.duration=0,this.fpsLimit=120,this.interactivity=new Vg(t,a),this.manualParticles=[],this.particles=Hg(this._engine,this._container),this.pauseOnBlur=!0,this.pauseOnOutsideViewport=!0,this.responsive=[],this.smooth=!1,this.style={},this.themes=[],this.zLayers=100}load(t){if(X(t))return;t.preset!==void 0&&He(t.preset,c=>this._importPreset(c)),t.autoPlay!==void 0&&(this.autoPlay=t.autoPlay),t.clear!==void 0&&(this.clear=t.clear),t.key!==void 0&&(this.key=t.key),t.name!==void 0&&(this.name=t.name),t.delay!==void 0&&(this.delay=bt(t.delay));const a=t.detectRetina;a!==void 0&&(this.detectRetina=a),t.duration!==void 0&&(this.duration=bt(t.duration));const o=t.fpsLimit;o!==void 0&&(this.fpsLimit=o),t.pauseOnBlur!==void 0&&(this.pauseOnBlur=t.pauseOnBlur),t.pauseOnOutsideViewport!==void 0&&(this.pauseOnOutsideViewport=t.pauseOnOutsideViewport),t.zLayers!==void 0&&(this.zLayers=t.zLayers),this.background.load(t.background);const r=t.fullScreen;hg(r)?this.fullScreen.enable=r:this.fullScreen.load(r),this.backgroundMask.load(t.backgroundMask),this.interactivity.load(t.interactivity),t.manualParticles&&(this.manualParticles=t.manualParticles.map(c=>{const d=new nE;return d.load(c),d})),this.particles.load(t.particles),this.style=ge(this.style,t.style),this._engine.loadOptions(this,t),t.smooth!==void 0&&(this.smooth=t.smooth);const u=this._engine.interactors.get(this._container);if(u)for(const c of u)c.loadOptions&&c.loadOptions(this,t);if(t.responsive!==void 0)for(const c of t.responsive){const d=new sE;d.load(c),this.responsive.push(d)}if(this.responsive.sort((c,d)=>c.maxWidth-d.maxWidth),t.themes!==void 0)for(const c of t.themes){const d=this.themes.find(m=>m.name===c.name);if(d)d.load(c);else{const m=new oE;m.load(c),this.themes.push(m)}}this.defaultThemes.dark=this._findDefaultTheme(pn.dark)?.name,this.defaultThemes.light=this._findDefaultTheme(pn.light)?.name}setResponsive(t,a,o){this.load(o);const r=this.responsive.find(u=>u.mode===es.screen&&screen?u.maxWidth>screen.availWidth:u.maxWidth*a>t);return this.load(r?.options),r?.maxWidth}setTheme(t){if(t){const a=this.themes.find(o=>o.name===t);a&&this.load(a.options)}else{const a=gg("(prefers-color-scheme: dark)"),o=a?.matches,r=this._findDefaultTheme(o?pn.dark:pn.light);r&&this.load(r.options)}}}var Xs;(function(n){n.external="external",n.particles="particles"})(Xs||(Xs={}));class LE{constructor(t,a){this.container=a,this._engine=t,this._interactors=[],this._externalInteractors=[],this._particleInteractors=[]}externalInteract(t){for(const a of this._externalInteractors)a.isEnabled()&&a.interact(t)}handleClickMode(t){for(const a of this._externalInteractors)a.handleClickMode?.(t)}async init(){this._interactors=await this._engine.getInteractors(this.container,!0),this._externalInteractors=[],this._particleInteractors=[];for(const t of this._interactors){switch(t.type){case Xs.external:this._externalInteractors.push(t);break;case Xs.particles:this._particleInteractors.push(t);break}t.init()}}particlesInteract(t,a){for(const o of this._externalInteractors)o.clear(t,a);for(const o of this._particleInteractors)o.isEnabled(t)&&o.interact(t,a)}reset(t){for(const a of this._externalInteractors)a.isEnabled()&&a.reset(t);for(const a of this._particleInteractors)a.isEnabled(t)&&a.reset(t)}}var gi;(function(n){n.normal="normal",n.inside="inside",n.outside="outside"})(gi||(gi={}));function kE(n,t,a,o){const r=t.options[n];if(r)return ge({close:t.close,fill:t.fill},ii(r,a,o))}function UE(n,t,a,o){const r=t.options[n];if(r)return ge({close:t.close,fill:t.fill},ii(r,a,o))}function qg(n){if(!Pt(n.outMode,n.checkModes))return;const t=n.radius*ye;n.coord>n.maxCoord-t?n.setCb(-n.radius):n.coord<t&&n.setCb(n.radius)}class NE{constructor(t,a){this.container=a,this._calcPosition=(o,r,u,c=Zy)=>{for(const w of o.plugins.values()){const C=w.particlePosition!==void 0?w.particlePosition(r,this):void 0;if(C)return ke.create(C.x,C.y,u)}const d=o.canvas.size,m=yC({size:d,position:r}),p=ke.create(m.x,m.y,u),y=this.getRadius(),v=this.options.move.outModes,S=w=>{qg({outMode:w,checkModes:[Kt.bounce],coord:p.x,maxCoord:o.canvas.size.width,setCb:C=>p.x+=C,radius:y})},x=w=>{qg({outMode:w,checkModes:[Kt.bounce],coord:p.y,maxCoord:o.canvas.size.height,setCb:C=>p.y+=C,radius:y})};return S(v.left??v.default),S(v.right??v.default),x(v.top??v.default),x(v.bottom??v.default),this._checkOverlap(p,c)?this._calcPosition(o,void 0,u,c+F_):p},this._calculateVelocity=()=>{const o=pC(this.direction),r=o.copy(),u=this.options.move;if(u.direction===oe.inside||u.direction===oe.outside)return r;const c=mn(et(u.angle.value)),d=mn(et(u.angle.offset)),m={left:d-c*te,right:d+c*te};return u.straight||(r.angle+=Ue(bt(m.left,m.right))),u.random&&typeof u.speed=="number"&&(r.length*=Ct()),r},this._checkOverlap=(o,r=Zy)=>{const u=this.options.collisions,c=this.getRadius();if(!u.enable)return!1;const d=u.overlap;if(d.enable)return!1;const m=d.retries;if(m>=J_&&r>m)throw new Error(`${ti} particle is overlapping and can't be placed`);return!!this.container.particles.find(p=>Ne(o,p.position)<c+p.getRadius())},this._getRollColor=o=>{if(!o||!this.roll||!this.backColor&&!this.roll.alter)return o;const r=this.roll.horizontal&&this.roll.vertical?ye*sg:sg,u=this.roll.horizontal?Math.PI*te:El;return Math.floor(((this.roll.angle??El)+u)/(Math.PI/r))%ye?this.backColor?this.backColor:this.roll.alter?YC(o,this.roll.alter.type,this.roll.alter.value):o:o},this._initPosition=o=>{const r=this.container,u=et(this.options.zIndex.value);this.position=this._calcPosition(r,o,ei(u,$_,r.zLayers)),this.initialPosition=this.position.copy();const c=r.canvas.size;switch(this.moveCenter={...wg(this.options.move.center,c),radius:this.options.move.center.radius??I_,mode:this.options.move.center.mode??Hs.percent},this.direction=mC(this.options.move.direction,this.position,this.moveCenter),this.options.move.direction){case oe.inside:this.outType=gi.inside;break;case oe.outside:this.outType=gi.outside;break}this.offset=ie.origin},this._engine=t}destroy(t){if(this.unbreakable||this.destroyed)return;this.destroyed=!0,this.bubble.inRange=!1,this.slow.inRange=!1;const a=this.container,o=this.pathGenerator;a.shapeDrawers.get(this.shape)?.particleDestroy?.(this);for(const u of a.plugins.values())u.particleDestroyed?.(this,t);for(const u of a.particles.updaters)u.particleDestroyed?.(this,t);o?.reset(this),this._engine.dispatchEvent(we.particleDestroyed,{container:this.container,data:{particle:this}})}draw(t){const a=this.container,o=a.canvas;for(const r of a.plugins.values())o.drawParticlePlugin(r,this,t);o.drawParticle(this,t)}getFillColor(){return this._getRollColor(this.bubble.color??Ag(this.color))}getMass(){return this.getRadius()**Ni*Math.PI*te}getPosition(){return{x:this.position.x+this.offset.x,y:this.position.y+this.offset.y,z:this.position.z}}getRadius(){return this.bubble.radius??this.size.value}getStrokeColor(){return this._getRollColor(this.bubble.color??Ag(this.strokeColor))}init(t,a,o,r){const u=this.container,c=this._engine;this.id=t,this.group=r,this.effectClose=!0,this.effectFill=!0,this.shapeClose=!0,this.shapeFill=!0,this.pathRotation=!1,this.lastPathTime=0,this.destroyed=!1,this.unbreakable=!1,this.isRotating=!1,this.rotation=0,this.misplaced=!1,this.retina={maxDistance:{}},this.outType=gi.normal,this.ignoresResizeRatio=!0;const d=u.retina.pixelRatio,m=u.actualOptions,p=Hg(this._engine,u,m.particles),{reduceDuplicates:y}=p,v=p.effect.type,S=p.shape.type;this.effect=ii(v,this.id,y),this.shape=ii(S,this.id,y);const x=p.effect,w=p.shape;if(o){if(o.effect?.type){const G=o.effect.type,Q=ii(G,this.id,y);Q&&(this.effect=Q,x.load(o.effect))}if(o.shape?.type){const G=o.shape.type,Q=ii(G,this.id,y);Q&&(this.shape=Q,w.load(o.shape))}}if(this.effect===Us){const G=[...this.container.effectDrawers.keys()];this.effect=G[Math.floor(Ct()*G.length)]}if(this.shape===Us){const G=[...this.container.shapeDrawers.keys()];this.shape=G[Math.floor(Ct()*G.length)]}this.effectData=kE(this.effect,x,this.id,y),this.shapeData=UE(this.shape,w,this.id,y),p.load(o);const C=this.effectData;C&&p.load(C.particles);const A=this.shapeData;A&&p.load(A.particles);const R=new Vg(c,u);R.load(u.actualOptions.interactivity),R.load(p.interactivity),this.interactivity=R,this.effectFill=C?.fill??p.effect.fill,this.effectClose=C?.close??p.effect.close,this.shapeFill=A?.fill??p.shape.fill,this.shapeClose=A?.close??p.shape.close,this.options=p;const L=this.options.move.path;this.pathDelay=et(L.delay.value)*me,L.generator&&(this.pathGenerator=this._engine.getPathGenerator(L.generator),this.pathGenerator&&u.addPath(L.generator,this.pathGenerator)&&this.pathGenerator.init(u)),u.retina.initParticle(this),this.size=Tg(this.options.size,d),this.bubble={inRange:!1},this.slow={inRange:!1,factor:1},this._initPosition(a),this.initialVelocity=this._calculateVelocity(),this.velocity=this.initialVelocity.copy(),this.moveDecay=ng-et(this.options.move.decay);const B=u.particles;B.setLastZIndex(this.position.z),this.zIndexFactor=this.position.z/u.zLayers,this.sides=24;let H=u.effectDrawers.get(this.effect);H||(H=this._engine.getEffectDrawer(this.effect),H&&u.effectDrawers.set(this.effect,H)),H?.loadEffect&&H.loadEffect(this);let Y=u.shapeDrawers.get(this.shape);Y||(Y=this._engine.getShapeDrawer(this.shape),Y&&u.shapeDrawers.set(this.shape,Y)),Y?.loadShape&&Y.loadShape(this);const K=Y?.getSidesCount;K&&(this.sides=K(this)),this.spawning=!1,this.shadowColor=yi(this._engine,this.options.shadow.color);for(const G of B.updaters)G.init(this);for(const G of B.movers)G.init?.(this);H?.particleInit?.(u,this),Y?.particleInit?.(u,this);for(const G of u.plugins.values())G.particleCreated?.(this)}isInsideCanvas(){const t=this.getRadius(),a=this.container.canvas.size,o=this.position;return o.x>=-t&&o.y>=-t&&o.y<=a.height+t&&o.x<=a.width+t}isVisible(){return!this.destroyed&&!this.spawning&&this.isInsideCanvas()}reset(){for(const t of this.container.particles.updaters)t.reset?.(this)}}class HE{constructor(t,a){this.position=t,this.particle=a}}var Qs;(function(n){n.circle="circle",n.rectangle="rectangle"})(Qs||(Qs={}));class jg{constructor(t,a,o){this.position={x:t,y:a},this.type=o}}class be extends jg{constructor(t,a,o){super(t,a,Qs.circle),this.radius=o}contains(t){return Ne(t,this.position)<=this.radius}intersects(t){const a=this.position,o=t.position,r={x:Math.abs(o.x-a.x),y:Math.abs(o.y-a.y)},u=this.radius;if(t instanceof be||t.type===Qs.circle){const c=t,d=u+c.radius,m=Math.sqrt(r.x**Ni+r.y**Ni);return d>m}else if(t instanceof vi||t.type===Qs.rectangle){const c=t,{width:d,height:m}=c.size;return Math.pow(r.x-d,Ni)+Math.pow(r.y-m,Ni)<=u**Ni||r.x<=u+d&&r.y<=u+m||r.x<=d||r.y<=m}return!1}}class vi extends jg{constructor(t,a,o,r){super(t,a,Qs.rectangle),this.size={height:r,width:o}}contains(t){const a=this.size.width,o=this.size.height,r=this.position;return t.x>=r.x&&t.x<=r.x+a&&t.y>=r.y&&t.y<=r.y+o}intersects(t){if(t instanceof be)return t.intersects(this);const a=this.size.width,o=this.size.height,r=this.position,u=t.position,c=t instanceof vi?t.size:{width:0,height:0},d=c.width,m=c.height;return u.x<r.x+a&&u.x+d>r.x&&u.y<r.y+o&&u.y+m>r.y}}class Ol{constructor(t,a){this.rectangle=t,this.capacity=a,this._subdivide=()=>{const{x:o,y:r}=this.rectangle.position,{width:u,height:c}=this.rectangle.size,{capacity:d}=this;for(let m=0;m<B_;m++){const p=m%ye;this._subs.push(new Ol(new vi(o+u*te*p,r+c*te*(Math.round(m*te)-p),u*te,c*te),d))}this._divided=!0},this._points=[],this._divided=!1,this._subs=[]}insert(t){return this.rectangle.contains(t.position)?this._points.length<this.capacity?(this._points.push(t),!0):(this._divided||this._subdivide(),this._subs.some(a=>a.insert(t))):!1}query(t,a){const o=[];if(!t.intersects(this.rectangle))return[];for(const r of this._points)!t.contains(r.position)&&Ne(t.position,r.position)>r.particle.getRadius()&&(!a||a(r.particle))||o.push(r.particle);if(this._divided)for(const r of this._subs)o.push(...r.query(t,a));return o}queryCircle(t,a,o){return this.query(new be(t.x,t.y,a),o)}queryRectangle(t,a,o){return this.query(new vi(t.x,t.y,a.width,a.height),o)}}const Pg=n=>{const{height:t,width:a}=n;return new vi(ag*a,ag*t,og*a,og*t)};class qE{constructor(t,a){this._addToPool=(...r)=>{this._pool.push(...r)},this._applyDensity=(r,u,c,d)=>{const m=r.number;if(!r.number.density?.enable){c===void 0?this._limit=m.limit.value:(d?.number.limit?.value??m.limit.value)&&this._groupLimits.set(c,d?.number.limit?.value??m.limit.value);return}const p=this._initDensityFactor(m.density),y=m.value,v=m.limit.value>lg?m.limit.value:y,S=Math.min(y,v)*p+u,x=Math.min(this.count,this.filter(w=>w.group===c).length);c===void 0?this._limit=m.limit.value*p:this._groupLimits.set(c,m.limit.value*p),x<S?this.push(Math.abs(S-x),void 0,r,c):x>S&&this.removeQuantity(x-S,c)},this._initDensityFactor=r=>{const u=this._container;if(!u.canvas.element||!r.enable)return eC;const c=u.canvas.element,d=u.retina.pixelRatio;return c.width*c.height/(r.height*r.width*d**Ni)},this._pushParticle=(r,u,c,d)=>{try{let m=this._pool.pop();m||(m=new NE(this._engine,this._container)),m.init(this._nextId,r,u,c);let p=!0;return d&&(p=d(m)),p?(this._array.push(m),this._zArray.push(m),this._nextId++,this._engine.dispatchEvent(we.particleAdded,{container:this._container,data:{particle:m}}),m):void 0}catch(m){Wn().warning(`${ti} adding particle: ${m}`)}},this._removeParticle=(r,u,c)=>{const d=this._array[r];if(!d||d.group!==u)return!1;const m=this._zArray.indexOf(d);return this._array.splice(r,Al),this._zArray.splice(m,Al),d.destroy(c),this._engine.dispatchEvent(we.particleRemoved,{container:this._container,data:{particle:d}}),this._addToPool(d),!0},this._engine=t,this._container=a,this._nextId=0,this._array=[],this._zArray=[],this._pool=[],this._limit=0,this._groupLimits=new Map,this._needsSort=!1,this._lastZIndex=0,this._interactionManager=new LE(t,a),this._pluginsInitialized=!1;const o=a.canvas.size;this.quadTree=new Ol(Pg(o),Ky),this.movers=[],this.updaters=[]}get count(){return this._array.length}addManualParticles(){const t=this._container;t.actualOptions.manualParticles.forEach(o=>this.addParticle(o.position?wg(o.position,t.canvas.size):void 0,o.options))}addParticle(t,a,o,r){const u=this._container.actualOptions.particles.number.limit.mode,c=o===void 0?this._limit:this._groupLimits.get(o)??this._limit,d=this.count;if(c>lg)switch(u){case oo.delete:{const m=d+W_-c;m>tC&&this.removeQuantity(m);break}case oo.wait:if(d>=c)return;break}return this._pushParticle(t,a,o,r)}clear(){this._array=[],this._zArray=[],this._pluginsInitialized=!1}destroy(){this._array=[],this._zArray=[],this.movers=[],this.updaters=[]}draw(t){const a=this._container,o=a.canvas;o.clear(),this.update(t);for(const r of a.plugins.values())o.drawPlugin(r,t);for(const r of this._zArray)r.draw(t)}filter(t){return this._array.filter(t)}find(t){return this._array.find(t)}get(t){return this._array[t]}handleClickMode(t){this._interactionManager.handleClickMode(t)}async init(){const t=this._container,a=t.actualOptions;this._lastZIndex=0,this._needsSort=!1,await this.initPlugins();let o=!1;for(const r of t.plugins.values())if(o=r.particlesInitialization?.()??o,o)break;if(this.addManualParticles(),!o){const r=a.particles,u=r.groups;for(const c in u){const d=u[c];for(let m=this.count,p=0;p<d.number?.value&&m<r.number.value;m++,p++)this.addParticle(void 0,d,c)}for(let c=this.count;c<r.number.value;c++)this.addParticle()}}async initPlugins(){if(this._pluginsInitialized)return;const t=this._container;this.movers=await this._engine.getMovers(t,!0),this.updaters=await this._engine.getUpdaters(t,!0),await this._interactionManager.init();for(const a of t.pathGenerators.values())a.init(t)}push(t,a,o,r){for(let u=0;u<t;u++)this.addParticle(a?.position,o,r)}async redraw(){this.clear(),await this.init(),this.draw({value:0,factor:0})}remove(t,a,o){this.removeAt(this._array.indexOf(t),void 0,a,o)}removeAt(t,a=V_,o,r){if(t<qc||t>this.count)return;let u=0;for(let c=t;u<a&&c<this.count;c++)this._removeParticle(c,o,r)&&(c--,u++)}removeQuantity(t,a){this.removeAt(qc,t,a)}setDensity(){const t=this._container.actualOptions,a=t.particles.groups,o=t.manualParticles.length;for(const r in a)this._applyDensity(a[r],o,r);this._applyDensity(t.particles,o)}setLastZIndex(t){this._lastZIndex=t,this._needsSort=this._needsSort||this._lastZIndex<t}setResizeFactor(t){this._resizeFactor=t}update(t){const a=this._container,o=new Set;this.quadTree=new Ol(Pg(a.canvas.size),Ky);for(const u of a.pathGenerators.values())u.update();for(const u of a.plugins.values())u.update?.(t);const r=this._resizeFactor;for(const u of this._array){r&&!u.ignoresResizeRatio&&(u.position.x*=r.width,u.position.y*=r.height,u.initialPosition.x*=r.width,u.initialPosition.y*=r.height),u.ignoresResizeRatio=!1,this._interactionManager.reset(u);for(const c of this._container.plugins.values()){if(u.destroyed)break;c.particleUpdate?.(u,t)}for(const c of this.movers)c.isEnabled(u)&&c.move(u,t);if(u.destroyed){o.add(u);continue}this.quadTree.insert(new HE(u.getPosition(),u))}if(o.size){const u=c=>!o.has(c);this._array=this.filter(u),this._zArray=this._zArray.filter(u);for(const c of o)this._engine.dispatchEvent(we.particleRemoved,{container:this._container,data:{particle:c}});this._addToPool(...o)}this._interactionManager.externalInteract(t);for(const u of this._array){for(const c of this.updaters)c.update(u,t);!u.destroyed&&!u.spawning&&this._interactionManager.particlesInteract(u,t)}if(delete this._resizeFactor,this._needsSort){const u=this._zArray;u.sort((c,d)=>d.position.z-c.position.z||c.id-d.id),this._lastZIndex=u[u.length-rg].position.z,this._needsSort=!1}}}class jE{constructor(t){this.container=t,this.pixelRatio=Fy,this.reduceFactor=Jy}init(){const t=this.container,a=t.actualOptions;this.pixelRatio=!a.detectRetina||ts()?Fy:devicePixelRatio,this.reduceFactor=Jy;const o=this.pixelRatio,r=t.canvas;if(r.element){const d=r.element;r.size.width=d.offsetWidth*o,r.size.height=d.offsetHeight*o}const u=a.particles,c=u.move;this.maxSpeed=et(c.gravity.maxSpeed)*o,this.sizeAnimationSpeed=et(u.size.animation.speed)*o}initParticle(t){const a=t.options,o=this.pixelRatio,r=a.move,u=r.distance,c=t.retina;c.moveDrift=et(r.drift)*o,c.moveSpeed=et(r.speed)*o,c.sizeAnimationSpeed=et(a.size.animation.speed)*o;const d=c.maxDistance;d.horizontal=u.horizontal!==void 0?u.horizontal*o:void 0,d.vertical=u.vertical!==void 0?u.vertical*o:void 0,c.maxSpeed=et(r.gravity.maxSpeed)*o}}function Ht(n){return n&&!n.destroyed}function PE(n,t=Bc,a=!1){return{value:n,factor:a?Bc/t:Bc*n/me}}function Zs(n,t,...a){const o=new BE(n,t);return Ng(o,...a),o}class YE{constructor(t,a,o){this._intersectionManager=r=>{if(!(!Ht(this)||!this.actualOptions.pauseOnOutsideViewport))for(const u of r)u.target===this.interactivity.element&&(u.isIntersecting?this.play():this.pause())},this._nextFrame=r=>{try{if(!this._smooth&&this._lastFrameTime!==void 0&&r<this._lastFrameTime+me/this.fpsLimit){this.draw(!1);return}this._lastFrameTime??=r;const u=PE(r-this._lastFrameTime,this.fpsLimit,this._smooth);if(this.addLifeTime(u.value),this._lastFrameTime=r,u.value>me){this.draw(!1);return}if(this.particles.draw(u),!this.alive()){this.destroy();return}this.animationStatus&&this.draw(!1)}catch(u){Wn().error(`${ti} in animation loop`,u)}},this._engine=t,this.id=Symbol(a),this.fpsLimit=120,this._smooth=!1,this._delay=0,this._duration=0,this._lifeTime=0,this._firstStart=!0,this.started=!1,this.destroyed=!1,this._paused=!0,this._lastFrameTime=0,this.zLayers=100,this.pageHidden=!1,this._clickHandlers=new Map,this._sourceOptions=o,this._initialSourceOptions=o,this.retina=new jE(this),this.canvas=new XC(this,this._engine),this.particles=new qE(this._engine,this),this.pathGenerators=new Map,this.interactivity={mouse:{clicking:!1,inside:!1}},this.plugins=new Map,this.effectDrawers=new Map,this.shapeDrawers=new Map,this._options=Zs(this._engine,this),this.actualOptions=Zs(this._engine,this),this._eventListeners=new QC(this),this._intersectionObserver=xC(r=>this._intersectionManager(r)),this._engine.dispatchEvent(we.containerBuilt,{container:this})}get animationStatus(){return!this._paused&&!this.pageHidden&&Ht(this)}get options(){return this._options}get sourceOptions(){return this._sourceOptions}addClickHandler(t){if(!Ht(this))return;const a=this.interactivity.element;if(!a)return;const o=(v,S,x)=>{if(!Ht(this))return;const w=this.retina.pixelRatio,C={x:S.x*w,y:S.y*w},A=this.particles.quadTree.queryCircle(C,x*w);t(v,A)},r=v=>{if(!Ht(this))return;const S=v,x={x:S.offsetX||S.clientX,y:S.offsetY||S.clientY};o(v,x,j_)},u=()=>{Ht(this)&&(p=!0,y=!1)},c=()=>{Ht(this)&&(y=!0)},d=v=>{if(Ht(this)){if(p&&!y){const S=v;let x=S.touches[S.touches.length-eg];if(!x&&(x=S.changedTouches[S.changedTouches.length-eg],!x))return;const w=this.canvas.element,C=w?w.getBoundingClientRect():void 0,A={x:x.clientX-(C?C.left:Cl),y:x.clientY-(C?C.top:Cl)};o(v,A,Math.max(x.radiusX,x.radiusY))}p=!1,y=!1}},m=()=>{Ht(this)&&(p=!1,y=!1)};let p=!1,y=!1;this._clickHandlers.set("click",r),this._clickHandlers.set("touchstart",u),this._clickHandlers.set("touchmove",c),this._clickHandlers.set("touchend",d),this._clickHandlers.set("touchcancel",m);for(const[v,S]of this._clickHandlers)a.addEventListener(v,S)}addLifeTime(t){this._lifeTime+=t}addPath(t,a,o=!1){return!Ht(this)||!o&&this.pathGenerators.has(t)?!1:(this.pathGenerators.set(t,a),!0)}alive(){return!this._duration||this._lifeTime<=this._duration}clearClickHandlers(){if(Ht(this)){for(const[t,a]of this._clickHandlers)this.interactivity.element?.removeEventListener(t,a);this._clickHandlers.clear()}}destroy(t=!0){if(Ht(this)){this.stop(),this.clearClickHandlers(),this.particles.destroy(),this.canvas.destroy();for(const a of this.effectDrawers.values())a.destroy?.(this);for(const a of this.shapeDrawers.values())a.destroy?.(this);for(const a of this.effectDrawers.keys())this.effectDrawers.delete(a);for(const a of this.shapeDrawers.keys())this.shapeDrawers.delete(a);if(this._engine.clearPlugins(this),this.destroyed=!0,t){const a=this._engine.items,o=a.findIndex(r=>r===this);o>=P_&&a.splice(o,ig)}this._engine.dispatchEvent(we.containerDestroyed,{container:this})}}draw(t){if(!Ht(this))return;let a=t;const o=r=>{a&&(this._lastFrameTime=void 0,a=!1),this._nextFrame(r)};this._drawAnimationFrame=hC(r=>o(r))}async export(t,a={}){for(const o of this.plugins.values()){if(!o.export)continue;const r=await o.export(t,a);if(r.supported)return r.blob}Wn().error(`${ti} - Export plugin with type ${t} not found`)}handleClickMode(t){if(Ht(this)){this.particles.handleClickMode(t);for(const a of this.plugins.values())a.handleClickMode?.(t)}}async init(){if(!Ht(this))return;const t=this._engine.getSupportedEffects();for(const p of t){const y=this._engine.getEffectDrawer(p);y&&this.effectDrawers.set(p,y)}const a=this._engine.getSupportedShapes();for(const p of a){const y=this._engine.getShapeDrawer(p);y&&this.shapeDrawers.set(p,y)}await this.particles.initPlugins(),this._options=Zs(this._engine,this,this._initialSourceOptions,this.sourceOptions),this.actualOptions=Zs(this._engine,this,this._options);const o=await this._engine.getAvailablePlugins(this);for(const[p,y]of o)this.plugins.set(p,y);this.retina.init(),await this.canvas.init(),this.updateActualOptions(),this.canvas.initBackground(),this.canvas.resize();const{zLayers:r,duration:u,delay:c,fpsLimit:d,smooth:m}=this.actualOptions;this.zLayers=r,this._duration=et(u)*me,this._delay=et(c)*me,this._lifeTime=0,this.fpsLimit=d>G_?d:Y_,this._smooth=m;for(const p of this.effectDrawers.values())await p.init?.(this);for(const p of this.shapeDrawers.values())await p.init?.(this);for(const p of this.plugins.values())await p.init?.();this._engine.dispatchEvent(we.containerInit,{container:this}),await this.particles.init(),this.particles.setDensity();for(const p of this.plugins.values())p.particlesSetup?.();this._engine.dispatchEvent(we.particlesSetup,{container:this})}async loadTheme(t){Ht(this)&&(this._currentTheme=t,await this.refresh())}pause(){if(Ht(this)&&(this._drawAnimationFrame!==void 0&&(dC(this._drawAnimationFrame),delete this._drawAnimationFrame),!this._paused)){for(const t of this.plugins.values())t.pause?.();this.pageHidden||(this._paused=!0),this._engine.dispatchEvent(we.containerPaused,{container:this})}}play(t){if(!Ht(this))return;const a=this._paused||t;if(this._firstStart&&!this.actualOptions.autoPlay){this._firstStart=!1;return}if(this._paused&&(this._paused=!1),a)for(const o of this.plugins.values())o.play&&o.play();this._engine.dispatchEvent(we.containerPlay,{container:this}),this.draw(a??!1)}async refresh(){if(Ht(this))return this.stop(),this.start()}async reset(t){if(Ht(this))return this._initialSourceOptions=t,this._sourceOptions=t,this._options=Zs(this._engine,this,this._initialSourceOptions,this.sourceOptions),this.actualOptions=Zs(this._engine,this,this._options),this.refresh()}async start(){!Ht(this)||this.started||(await this.init(),this.started=!0,await new Promise(t=>{const a=async()=>{this._eventListeners.addListeners(),this.interactivity.element instanceof HTMLElement&&this._intersectionObserver&&this._intersectionObserver.observe(this.interactivity.element);for(const o of this.plugins.values())await o.start?.();this._engine.dispatchEvent(we.containerStarted,{container:this}),this.play(),t()};this._delayTimeout=setTimeout(()=>void a(),this._delay)}))}stop(){if(!(!Ht(this)||!this.started)){this._delayTimeout&&(clearTimeout(this._delayTimeout),delete this._delayTimeout),this._firstStart=!0,this.started=!1,this._eventListeners.removeListeners(),this.pause(),this.particles.clear(),this.canvas.stop(),this.interactivity.element instanceof HTMLElement&&this._intersectionObserver&&this._intersectionObserver.unobserve(this.interactivity.element);for(const t of this.plugins.values())t.stop?.();for(const t of this.plugins.keys())this.plugins.delete(t);this._sourceOptions=this._options,this._engine.dispatchEvent(we.containerStopped,{container:this})}}updateActualOptions(){this.actualOptions.responsive=[];const t=this.actualOptions.setResponsive(this.canvas.size.width,this.retina.pixelRatio,this._options);return this.actualOptions.setTheme(this._currentTheme),this._responsiveMaxWidth===t?!1:(this._responsiveMaxWidth=t,!0)}}class GE{constructor(){this._listeners=new Map}addEventListener(t,a){this.removeEventListener(t,a);let o=this._listeners.get(t);o||(o=[],this._listeners.set(t,o)),o.push(a)}dispatchEvent(t,a){this._listeners.get(t)?.forEach(r=>r(a))}hasEventListener(t){return!!this._listeners.get(t)}removeAllEventListeners(t){t?this._listeners.delete(t):this._listeners=new Map}removeEventListener(t,a){const o=this._listeners.get(t);if(!o)return;const r=o.length,u=o.indexOf(a);u<qc||(r===Al?this._listeners.delete(t):o.splice(u,Al))}}async function of(n,t,a,o=!1){let r=t.get(n);return(!r||o)&&(r=await Promise.all([...a.values()].map(u=>u(n))),t.set(n,r)),r}async function XE(n){const t=ii(n.url,n.index);if(!t)return n.fallback;const a=await fetch(t);return a.ok?await a.json():(Wn().error(`${ti} ${a.status} while retrieving config file`),n.fallback)}const QE=n=>{let t;if(n instanceof HTMLCanvasElement||n.tagName.toLowerCase()===Lc)t=n,t.dataset[Zn]||(t.dataset[Zn]=Qy);else{const o=n.getElementsByTagName(Lc);o.length?(t=o[X_],t.dataset[Zn]=Qy):(t=document.createElement(Lc),t.dataset[Zn]=Xy,n.appendChild(t))}const a="100%";return t.style.width||(t.style.width=a),t.style.height||(t.style.height=a),t},ZE=(n,t)=>{let a=t??document.getElementById(n);return a||(a=document.createElement("div"),a.id=n,a.dataset[Zn]=Xy,document.body.append(a),a)};class KE{constructor(){this._configs=new Map,this._domArray=[],this._eventDispatcher=new GE,this._initialized=!1,this.plugins=[],this.colorManagers=new Map,this.easingFunctions=new Map,this._initializers={interactors:new Map,movers:new Map,updaters:new Map},this.interactors=new Map,this.movers=new Map,this.updaters=new Map,this.presets=new Map,this.effectDrawers=new Map,this.shapeDrawers=new Map,this.pathGenerators=new Map}get configs(){const t={};for(const[a,o]of this._configs)t[a]=o;return t}get items(){return this._domArray}get version(){return"3.9.1"}async addColorManager(t,a=!0){this.colorManagers.set(t.key,t),await this.refresh(a)}addConfig(t){const a=t.key??t.name??"default";this._configs.set(a,t),this._eventDispatcher.dispatchEvent(we.configAdded,{data:{name:a,config:t}})}async addEasing(t,a,o=!0){this.getEasing(t)||(this.easingFunctions.set(t,a),await this.refresh(o))}async addEffect(t,a,o=!0){He(t,r=>{this.getEffectDrawer(r)||this.effectDrawers.set(r,a)}),await this.refresh(o)}addEventListener(t,a){this._eventDispatcher.addEventListener(t,a)}async addInteractor(t,a,o=!0){this._initializers.interactors.set(t,a),await this.refresh(o)}async addMover(t,a,o=!0){this._initializers.movers.set(t,a),await this.refresh(o)}async addParticleUpdater(t,a,o=!0){this._initializers.updaters.set(t,a),await this.refresh(o)}async addPathGenerator(t,a,o=!0){this.getPathGenerator(t)||this.pathGenerators.set(t,a),await this.refresh(o)}async addPlugin(t,a=!0){this.getPlugin(t.id)||this.plugins.push(t),await this.refresh(a)}async addPreset(t,a,o=!1,r=!0){(o||!this.getPreset(t))&&this.presets.set(t,a),await this.refresh(r)}async addShape(t,a=!0){for(const o of t.validTypes)this.getShapeDrawer(o)||this.shapeDrawers.set(o,t);await this.refresh(a)}checkVersion(t){if(this.version!==t)throw new Error(`The tsParticles version is different from the loaded plugins version. Engine version: ${this.version}. Plugin version: ${t}`)}clearPlugins(t){this.updaters.delete(t),this.movers.delete(t),this.interactors.delete(t)}dispatchEvent(t,a){this._eventDispatcher.dispatchEvent(t,a)}dom(){return this.items}domItem(t){return this.item(t)}async getAvailablePlugins(t){const a=new Map;for(const o of this.plugins)o.needsPlugin(t.actualOptions)&&a.set(o.id,await o.getPlugin(t));return a}getEasing(t){return this.easingFunctions.get(t)??(a=>a)}getEffectDrawer(t){return this.effectDrawers.get(t)}async getInteractors(t,a=!1){return of(t,this.interactors,this._initializers.interactors,a)}async getMovers(t,a=!1){return of(t,this.movers,this._initializers.movers,a)}getPathGenerator(t){return this.pathGenerators.get(t)}getPlugin(t){return this.plugins.find(a=>a.id===t)}getPreset(t){return this.presets.get(t)}getShapeDrawer(t){return this.shapeDrawers.get(t)}getSupportedEffects(){return this.effectDrawers.keys()}getSupportedShapes(){return this.shapeDrawers.keys()}async getUpdaters(t,a=!1){return of(t,this.updaters,this._initializers.updaters,a)}init(){this._initialized||(this._initialized=!0)}item(t){const{items:a}=this,o=a[t];if(!o||o.destroyed){a.splice(t,ig);return}return o}async load(t){const a=t.id??t.element?.id??`tsparticles${Math.floor(Ct()*Q_)}`,{index:o,url:r}=t,u=r?await XE({fallback:t.options,url:r,index:o}):t.options,c=ii(u,o),{items:d}=this,m=d.findIndex(S=>S.id.description===a),p=new YE(this,a,c);if(m>=Z_){const S=this.item(m),x=S?K_:El;S&&!S.destroyed&&S.destroy(!1),d.splice(m,x,p)}else d.push(p);const y=ZE(a,t.element),v=QE(y);return p.canvas.loadCanvas(v),await p.start(),p}loadOptions(t,a){this.plugins.forEach(o=>o.loadOptions?.(t,a))}loadParticlesOptions(t,a,...o){const r=this.updaters.get(t);r&&r.forEach(u=>u.loadOptions?.(a,...o))}async refresh(t=!0){t&&await Promise.all(this.items.map(a=>a.refresh()))}removeEventListener(t,a){this._eventDispatcher.removeEventListener(t,a)}setOnClickHandler(t){const{items:a}=this;if(!a.length)throw new Error(`${ti} can only set click handlers after calling tsParticles.load()`);a.forEach(o=>o.addClickHandler(t))}}function FE(){const n=new KE;return n.init(),n}class zi{constructor(t){this.type=Xs.external,this.container=t}}class lf{constructor(t){this.type=Xs.particles,this.container=t}}var bi;(function(n){n.clockwise="clockwise",n.counterClockwise="counter-clockwise",n.random="random"})(bi||(bi={}));var Yg;(function(n){n.linear="linear",n.radial="radial",n.random="random"})(Yg||(Yg={}));var ns;(function(n){n.easeInBack="ease-in-back",n.easeInCirc="ease-in-circ",n.easeInCubic="ease-in-cubic",n.easeInLinear="ease-in-linear",n.easeInQuad="ease-in-quad",n.easeInQuart="ease-in-quart",n.easeInQuint="ease-in-quint",n.easeInExpo="ease-in-expo",n.easeInSine="ease-in-sine",n.easeOutBack="ease-out-back",n.easeOutCirc="ease-out-circ",n.easeOutCubic="ease-out-cubic",n.easeOutLinear="ease-out-linear",n.easeOutQuad="ease-out-quad",n.easeOutQuart="ease-out-quart",n.easeOutQuint="ease-out-quint",n.easeOutExpo="ease-out-expo",n.easeOutSine="ease-out-sine",n.easeInOutBack="ease-in-out-back",n.easeInOutCirc="ease-in-out-circ",n.easeInOutCubic="ease-in-out-cubic",n.easeInOutLinear="ease-in-out-linear",n.easeInOutQuad="ease-in-out-quad",n.easeInOutQuart="ease-in-out-quart",n.easeInOutQuint="ease-in-out-quint",n.easeInOutExpo="ease-in-out-expo",n.easeInOutSine="ease-in-out-sine"})(ns||(ns={}));const rf=FE();ts()||(window.tsParticles=rf);const JE=n=>{const t=n.id??"tsparticles";return F.useEffect(()=>{let a;return rf.load({id:t,url:n.url,options:n.options}).then(o=>{var r;a=o,(r=n.particlesLoaded)==null||r.call(n,o)}),()=>{a?.destroy()}},[t,n,n.url,n.options]),_i.jsx("div",{id:t,className:n.className})};async function $E(n){await n(rf)}const uf=.5,IE=2,yn=0,Si=1,Gg=60,Xg=0,WE=.01,tA=Math.PI*IE;function eA(n){const t=n.initialPosition,{dx:a,dy:o}=Te(t,n.position),r=Math.abs(a),u=Math.abs(o),{maxDistance:c}=n.retina,d=c.horizontal,m=c.vertical;if(!d&&!m)return;const p=(d&&r>=d)??!1,y=(m&&u>=m)??!1;if((p||y)&&!n.misplaced)n.misplaced=!!d&&r>d||!!m&&u>m,d&&(n.velocity.x=n.velocity.y*uf-n.velocity.x),m&&(n.velocity.y=n.velocity.x*uf-n.velocity.y);else if((!d||r<d)&&(!m||u<m)&&n.misplaced)n.misplaced=!1;else if(n.misplaced){const v=n.position,S=n.velocity;d&&(v.x<t.x&&S.x<yn||v.x>t.x&&S.x>yn)&&(S.x*=-Ct()),m&&(v.y<t.y&&S.y<yn||v.y>t.y&&S.y>yn)&&(S.y*=-Ct())}}function iA(n,t,a,o,r,u,c){sA(n,c);const d=n.gravity,m=d?.enable&&d.inverse?-Si:Si;r&&a&&(n.velocity.x+=r*c.factor/(Gg*a)),d?.enable&&a&&(n.velocity.y+=m*(d.acceleration*c.factor)/(Gg*a));const p=n.moveDecay;n.velocity.multTo(p);const y=n.velocity.mult(a);d?.enable&&o>yn&&(!d.inverse&&y.y>=yn&&y.y>=o||d.inverse&&y.y<=yn&&y.y<=-o)&&(y.y=m*o,a&&(n.velocity.y=y.y/a));const v=n.options.zIndex,S=(Si-n.zIndexFactor)**v.velocityRate;y.multTo(S),y.multTo(u);const{position:x}=n;x.addTo(y),t.vibrate&&(x.x+=Math.sin(x.x*Math.cos(x.y))*u,x.y+=Math.cos(x.y*Math.sin(x.x))*u)}function nA(n,t,a){const o=n.container;if(!n.spin)return;const r=n.spin.direction===bi.clockwise,u={x:r?Math.cos:Math.sin,y:r?Math.sin:Math.cos};n.position.x=n.spin.center.x+n.spin.radius*u.x(n.spin.angle)*a,n.position.y=n.spin.center.y+n.spin.radius*u.y(n.spin.angle)*a,n.spin.radius+=n.spin.acceleration*a;const c=Math.max(o.canvas.size.width,o.canvas.size.height),d=c*uf;n.spin.radius>d?(n.spin.radius=d,n.spin.acceleration*=-Si):n.spin.radius<Xg&&(n.spin.radius=Xg,n.spin.acceleration*=-Si),n.spin.angle+=t*WE*(Si-n.spin.radius/c)}function sA(n,t){const a=n.options,o=a.move.path;if(!o.enable)return;if(n.lastPathTime<=n.pathDelay){n.lastPathTime+=t.value;return}const u=n.pathGenerator?.generate(n,t);u&&n.velocity.addTo(u),o.clamp&&(n.velocity.x=ei(n.velocity.x,-Si,Si),n.velocity.y=ei(n.velocity.y,-Si,Si)),n.lastPathTime-=n.pathDelay}function aA(n){return n.slow.inRange?n.slow.factor:Si}function oA(n){const t=n.container,a=n.options,o=a.move.spin;if(!o.enable)return;const r=o.position??{x:50,y:50},u=.01,c={x:r.x*u*t.canvas.size.width,y:r.y*u*t.canvas.size.height},d=n.getPosition(),m=Ne(d,c),p=et(o.acceleration);n.retina.spinAcceleration=p*t.retina.pixelRatio,n.spin={center:c,direction:n.velocity.x>=yn?bi.clockwise:bi.counterClockwise,angle:Ct()*tA,radius:m,acceleration:n.retina.spinAcceleration}}const lA=2,rA=1,uA=1;class cA{init(t){const a=t.options,o=a.move.gravity;t.gravity={enable:o.enable,acceleration:et(o.acceleration),inverse:o.inverse},oA(t)}isEnabled(t){return!t.destroyed&&t.options.move.enable}move(t,a){const o=t.options,r=o.move;if(!r.enable)return;const u=t.container,c=u.retina.pixelRatio;t.retina.moveSpeed??=et(r.speed)*c,t.retina.moveDrift??=et(t.options.move.drift)*c;const d=aA(t),m=u.retina.reduceFactor,p=t.retina.moveSpeed,y=t.retina.moveDrift,v=Di(o.size.value)*c,S=r.size?t.getRadius()/v:rA,x=a.factor||uA,w=p*S*d*x/lA,C=t.retina.maxSpeed??u.retina.maxSpeed;r.spin.enable?nA(t,w,m):iA(t,r,w,C,y,m,a),eA(t)}}async function fA(n,t=!0){n.checkVersion("3.9.1"),await n.addMover("base",()=>Promise.resolve(new cA),t)}const hA=2,dA=Math.PI*hA,mA=0,Qg={x:0,y:0};function pA(n){const{context:t,particle:a,radius:o}=n;a.circleRange||(a.circleRange={min:mA,max:dA});const r=a.circleRange;t.arc(Qg.x,Qg.y,o,r.min,r.max,!1)}const yA=12,gA=360,Zg=0;class vA{constructor(){this.validTypes=["circle"]}draw(t){pA(t)}getSidesCount(){return yA}particleInit(t,a){const o=a.shapeData,r=o?.angle??{max:gA,min:Zg};a.circleRange=Ns(r)?{min:mn(r.min),max:mn(r.max)}:{min:Zg,max:mn(r)}}}async function bA(n,t=!0){n.checkVersion("3.9.1"),await n.addShape(new vA,t)}class SA{constructor(t,a){this._container=t,this._engine=a}init(t){const a=io(this._engine,t.options.color,t.id,t.options.reduceDuplicates);a&&(t.color=Dg(a,t.options.color.animation,this._container.retina.reduceFactor))}isEnabled(t){const{h:a,s:o,l:r}=t.options.color.animation,{color:u}=t;return!t.destroyed&&!t.spawning&&(u?.h.value!==void 0&&a.enable||u?.s.value!==void 0&&o.enable||u?.l.value!==void 0&&r.enable)}update(t,a){zg(t.color,a)}}async function xA(n,t=!0){n.checkVersion("3.9.1"),await n.addParticleUpdater("color",a=>Promise.resolve(new SA(a,n)),t)}var ss;(function(n){n[n.r=1]="r",n[n.g=2]="g",n[n.b=3]="b",n[n.a=4]="a"})(ss||(ss={}));const TA=/^#?([a-f\d])([a-f\d])([a-f\d])([a-f\d])?$/i,wA=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})?$/i,Rl=16,MA=1,_A=255;class CA{constructor(){this.key="hex",this.stringPrefix="#"}handleColor(t){return this._parseString(t.value)}handleRangeColor(t){return this._parseString(t.value)}parseString(t){return this._parseString(t)}_parseString(t){if(typeof t!="string"||!t?.startsWith(this.stringPrefix))return;const a=t.replace(TA,(r,u,c,d,m)=>u+u+c+c+d+d+(m!==void 0?m+m:"")),o=wA.exec(a);return o?{a:o[ss.a]!==void 0?parseInt(o[ss.a],Rl)/_A:MA,b:parseInt(o[ss.b],Rl),g:parseInt(o[ss.g],Rl),r:parseInt(o[ss.r],Rl)}:void 0}}async function EA(n,t=!0){n.checkVersion("3.9.1"),await n.addColorManager(new CA,t)}var Ks;(function(n){n[n.h=1]="h",n[n.s=2]="s",n[n.l=3]="l",n[n.a=5]="a"})(Ks||(Ks={}));class AA{constructor(){this.key="hsl",this.stringPrefix="hsl"}handleColor(t){const a=t.value,o=a.hsl??t.value;if(o.h!==void 0&&o.s!==void 0&&o.l!==void 0)return js(o)}handleRangeColor(t){const a=t.value,o=a.hsl??t.value;if(o.h!==void 0&&o.l!==void 0)return js({h:et(o.h),l:et(o.l),s:et(o.s)})}parseString(t){if(!t.startsWith("hsl"))return;const a=/hsla?\(\s*(\d+)\s*[\s,]\s*(\d+)%\s*[\s,]\s*(\d+)%\s*([\s,]\s*(0|1|0?\.\d+|(\d{1,3})%)\s*)?\)/i,o=a.exec(t),r=4,u=1,c=10;return o?BC({a:o.length>r?pg(o[Ks.a]):u,h:parseInt(o[Ks.h],c),l:parseInt(o[Ks.l],c),s:parseInt(o[Ks.s],c)}):void 0}}async function DA(n,t=!0){n.checkVersion("3.9.1"),await n.addColorManager(new AA,t)}class zA{constructor(t){this.container=t}init(t){const a=t.options.opacity,o=1;t.opacity=Tg(a,o);const r=a.animation;r.enable&&(t.opacity.velocity=et(r.speed)/fn*this.container.retina.reduceFactor,r.sync||(t.opacity.velocity*=Ct()))}isEnabled(t){return!t.destroyed&&!t.spawning&&!!t.opacity&&t.opacity.enable&&((t.opacity.maxLoops??0)<=0||(t.opacity.maxLoops??0)>0&&(t.opacity.loops??0)<(t.opacity.maxLoops??0))}reset(t){t.opacity&&(t.opacity.time=0,t.opacity.loops=0)}update(t,a){!this.isEnabled(t)||!t.opacity||Fc(t,t.opacity,!0,t.options.opacity.animation.destroy,a)}}async function OA(n,t=!0){n.checkVersion("3.9.1"),await n.addParticleUpdater("opacity",a=>Promise.resolve(new zA(a)),t)}const Vl=0,Fs=0;function RA(n){if(n.outMode!==Kt.bounce&&n.outMode!==Kt.split||n.direction!==ht.left&&n.direction!==ht.right)return;n.bounds.right<Fs&&n.direction===ht.left?n.particle.position.x=n.size+n.offset.x:n.bounds.left>n.canvasSize.width&&n.direction===ht.right&&(n.particle.position.x=n.canvasSize.width-n.size-n.offset.x);const t=n.particle.velocity.x;let a=!1;if(n.direction===ht.right&&n.bounds.right>=n.canvasSize.width&&t>Vl||n.direction===ht.left&&n.bounds.left<=Fs&&t<Vl){const r=et(n.particle.options.bounce.horizontal.value);n.particle.velocity.x*=-r,a=!0}if(!a)return;const o=n.offset.x+n.size;n.bounds.right>=n.canvasSize.width&&n.direction===ht.right?n.particle.position.x=n.canvasSize.width-o:n.bounds.left<=Fs&&n.direction===ht.left&&(n.particle.position.x=o),n.outMode===Kt.split&&n.particle.destroy()}function VA(n){if(n.outMode!==Kt.bounce&&n.outMode!==Kt.split||n.direction!==ht.bottom&&n.direction!==ht.top)return;n.bounds.bottom<Fs&&n.direction===ht.top?n.particle.position.y=n.size+n.offset.y:n.bounds.top>n.canvasSize.height&&n.direction===ht.bottom&&(n.particle.position.y=n.canvasSize.height-n.size-n.offset.y);const t=n.particle.velocity.y;let a=!1;if(n.direction===ht.bottom&&n.bounds.bottom>=n.canvasSize.height&&t>Vl||n.direction===ht.top&&n.bounds.top<=Fs&&t<Vl){const r=et(n.particle.options.bounce.vertical.value);n.particle.velocity.y*=-r,a=!0}if(!a)return;const o=n.offset.y+n.size;n.bounds.bottom>=n.canvasSize.height&&n.direction===ht.bottom?n.particle.position.y=n.canvasSize.height-o:n.bounds.top<=Fs&&n.direction===ht.top&&(n.particle.position.y=o),n.outMode===Kt.split&&n.particle.destroy()}class BA{constructor(t){this.container=t,this.modes=[Kt.bounce,Kt.split]}update(t,a,o,r){if(!this.modes.includes(r))return;const u=this.container;let c=!1;for(const S of u.plugins.values())if(S.particleBounce!==void 0&&(c=S.particleBounce(t,o,a)),c)break;if(c)return;const d=t.getPosition(),m=t.offset,p=t.getRadius(),y=eo(d,p),v=u.canvas.size;RA({particle:t,outMode:r,direction:a,bounds:y,canvasSize:v,offset:m,size:p}),VA({particle:t,outMode:r,direction:a,bounds:y,canvasSize:v,offset:m,size:p})}}const Bl=0;class LA{constructor(t){this.container=t,this.modes=[Kt.destroy]}update(t,a,o,r){if(!this.modes.includes(r))return;const u=this.container;switch(t.outType){case gi.normal:case gi.outside:if(Xc(t.position,u.canvas.size,ie.origin,t.getRadius(),a))return;break;case gi.inside:{const{dx:c,dy:d}=Te(t.position,t.moveCenter),{x:m,y:p}=t.velocity;if(m<Bl&&c>t.moveCenter.radius||p<Bl&&d>t.moveCenter.radius||m>=Bl&&c<-t.moveCenter.radius||p>=Bl&&d<-t.moveCenter.radius)return;break}}u.particles.remove(t,t.group,!0)}}const Ll=0;class kA{constructor(t){this.container=t,this.modes=[Kt.none]}update(t,a,o,r){if(!this.modes.includes(r)||((t.options.move.distance.horizontal&&(a===ht.left||a===ht.right))??(t.options.move.distance.vertical&&(a===ht.top||a===ht.bottom))))return;const u=t.options.move.gravity,c=this.container,d=c.canvas.size,m=t.getRadius();if(u.enable){const p=t.position;(!u.inverse&&p.y>d.height+m&&a===ht.bottom||u.inverse&&p.y<-m&&a===ht.top)&&c.particles.remove(t)}else{if(t.velocity.y>Ll&&t.position.y<=d.height+m||t.velocity.y<Ll&&t.position.y>=-m||t.velocity.x>Ll&&t.position.x<=d.width+m||t.velocity.x<Ll&&t.position.x>=-m)return;Xc(t.position,c.canvas.size,ie.origin,m,a)||c.particles.remove(t)}}}const kl=0,Ul=0;class UA{constructor(t){this.container=t,this.modes=[Kt.out]}update(t,a,o,r){if(!this.modes.includes(r))return;const u=this.container;switch(t.outType){case gi.inside:{const{x:c,y:d}=t.velocity,m=ie.origin;m.length=t.moveCenter.radius,m.angle=t.velocity.angle+Math.PI,m.addTo(ie.create(t.moveCenter));const{dx:p,dy:y}=Te(t.position,m);if(c<=kl&&p>=Ul||d<=kl&&y>=Ul||c>=kl&&p<=Ul||d>=kl&&y<=Ul)return;t.position.x=Math.floor(Ue({min:0,max:u.canvas.size.width})),t.position.y=Math.floor(Ue({min:0,max:u.canvas.size.height}));const{dx:v,dy:S}=Te(t.position,t.moveCenter);t.direction=Math.atan2(-S,-v),t.velocity.angle=t.direction;break}default:{if(Xc(t.position,u.canvas.size,ie.origin,t.getRadius(),a))return;switch(t.outType){case gi.outside:{t.position.x=Math.floor(Ue({min:-t.moveCenter.radius,max:t.moveCenter.radius}))+t.moveCenter.x,t.position.y=Math.floor(Ue({min:-t.moveCenter.radius,max:t.moveCenter.radius}))+t.moveCenter.y;const{dx:c,dy:d}=Te(t.position,t.moveCenter);t.moveCenter.radius&&(t.direction=Math.atan2(d,c),t.velocity.angle=t.direction);break}case gi.normal:{const c=t.options.move.warp,d=u.canvas.size,m={bottom:d.height+t.getRadius()+t.offset.y,left:-t.getRadius()-t.offset.x,right:d.width+t.getRadius()+t.offset.x,top:-t.getRadius()-t.offset.y},p=t.getRadius(),y=eo(t.position,p);a===ht.right&&y.left>d.width+t.offset.x?(t.position.x=m.left,t.initialPosition.x=t.position.x,c||(t.position.y=Ct()*d.height,t.initialPosition.y=t.position.y)):a===ht.left&&y.right<-t.offset.x&&(t.position.x=m.right,t.initialPosition.x=t.position.x,c||(t.position.y=Ct()*d.height,t.initialPosition.y=t.position.y)),a===ht.bottom&&y.top>d.height+t.offset.y?(c||(t.position.x=Ct()*d.width,t.initialPosition.x=t.position.x),t.position.y=m.top,t.initialPosition.y=t.position.y):a===ht.top&&y.bottom<-t.offset.y&&(c||(t.position.x=Ct()*d.width,t.initialPosition.x=t.position.x),t.position.y=m.bottom,t.initialPosition.y=t.position.y);break}}break}}}}const NA=(n,t)=>n.default===t||n.bottom===t||n.left===t||n.right===t||n.top===t;class HA{constructor(t){this._addUpdaterIfMissing=(a,o,r)=>{const u=a.options.move.outModes;!this.updaters.has(o)&&NA(u,o)&&this.updaters.set(o,r(this.container))},this._updateOutMode=(a,o,r,u)=>{for(const c of this.updaters.values())c.update(a,u,o,r)},this.container=t,this.updaters=new Map}init(t){this._addUpdaterIfMissing(t,Kt.bounce,a=>new BA(a)),this._addUpdaterIfMissing(t,Kt.out,a=>new UA(a)),this._addUpdaterIfMissing(t,Kt.destroy,a=>new LA(a)),this._addUpdaterIfMissing(t,Kt.none,a=>new kA(a))}isEnabled(t){return!t.destroyed&&!t.spawning}update(t,a){const o=t.options.move.outModes;this._updateOutMode(t,a,o.bottom??o.default,ht.bottom),this._updateOutMode(t,a,o.left??o.default,ht.left),this._updateOutMode(t,a,o.right??o.default,ht.right),this._updateOutMode(t,a,o.top??o.default,ht.top)}}async function qA(n,t=!0){n.checkVersion("3.9.1"),await n.addParticleUpdater("outModes",a=>Promise.resolve(new HA(a)),t)}var Js;(function(n){n[n.r=1]="r",n[n.g=2]="g",n[n.b=3]="b",n[n.a=5]="a"})(Js||(Js={}));class jA{constructor(){this.key="rgb",this.stringPrefix="rgb"}handleColor(t){const a=t.value,o=a.rgb??t.value;if(o.r!==void 0)return o}handleRangeColor(t){const a=t.value,o=a.rgb??t.value;if(o.r!==void 0)return{r:et(o.r),g:et(o.g),b:et(o.b)}}parseString(t){if(!t.startsWith(this.stringPrefix))return;const a=/rgba?\(\s*(\d{1,3})\s*[\s,]\s*(\d{1,3})\s*[\s,]\s*(\d{1,3})\s*([\s,]\s*(0|1|0?\.\d+|(\d{1,3})%)\s*)?\)/i,o=a.exec(t),r=10;return o?{a:o.length>4?pg(o[Js.a]):1,b:parseInt(o[Js.b],r),g:parseInt(o[Js.g],r),r:parseInt(o[Js.r],r)}:void 0}}async function PA(n,t=!0){n.checkVersion("3.9.1"),await n.addColorManager(new jA,t)}const as=0;class YA{init(t){const a=t.container,o=t.options.size,r=o.animation;r.enable&&(t.size.velocity=(t.retina.sizeAnimationSpeed??a.retina.sizeAnimationSpeed)/fn*a.retina.reduceFactor,r.sync||(t.size.velocity*=Ct()))}isEnabled(t){return!t.destroyed&&!t.spawning&&t.size.enable&&((t.size.maxLoops??as)<=as||(t.size.maxLoops??as)>as&&(t.size.loops??as)<(t.size.maxLoops??as))}reset(t){t.size.loops=as}update(t,a){this.isEnabled(t)&&Fc(t,t.size,!0,t.options.size.animation.destroy,a)}}async function GA(n,t=!0){n.checkVersion("3.9.1"),await n.addParticleUpdater("size",()=>Promise.resolve(new YA),t)}async function XA(n,t=!0){n.checkVersion("3.9.1"),await EA(n,!1),await DA(n,!1),await PA(n,!1),await fA(n,!1),await bA(n,!1),await xA(n,!1),await OA(n,!1),await qA(n,!1),await GA(n,!1),await n.refresh(t)}async function QA(n,t=!0){n.checkVersion("3.9.1"),await n.addEasing(ns.easeInQuad,a=>a**2,!1),await n.addEasing(ns.easeOutQuad,a=>1-(1-a)**2,!1),await n.addEasing(ns.easeInOutQuad,a=>a<.5?2*a**2:1-(-2*a+2)**2/2,!1),await n.refresh(t)}function ZA(n,t){const{context:a,opacity:o}=n,r=.5,u=a.globalAlpha;if(!t)return;const c=t.width,d=c*r;a.globalAlpha=o,a.drawImage(t,-d,-d,c,c),a.globalAlpha=u}const cf='"Twemoji Mozilla", Apple Color Emoji, "Segoe UI Emoji", "Noto Color Emoji", "EmojiOne Color"',Kg=0;class KA{constructor(){this.validTypes=["emoji"],this._emojiShapeDict=new Map}destroy(){for(const[t,a]of this._emojiShapeDict)a instanceof ImageBitmap&&a?.close(),this._emojiShapeDict.delete(t)}draw(t){const a=t.particle.emojiDataKey;if(!a)return;const o=this._emojiShapeDict.get(a);o&&ZA(t,o)}async init(t){const a=t.actualOptions,{validTypes:o}=this;if(!o.find(c=>Pt(c,a.particles.shape.type)))return;const r=[vg(cf)],u=o.map(c=>a.particles.shape.options[c]).find(c=>!!c);u&&He(u,c=>{c.font&&r.push(vg(c.font))}),await Promise.all(r)}particleDestroy(t){t.emojiDataKey=void 0}particleInit(t,a){const r=a.shapeData;if(!r?.value)return;const u=ii(r.value,a.randomIndexData);if(!u)return;const c=typeof u=="string"?{font:r.font??cf,padding:r.padding??Kg,value:u}:{font:cf,padding:Kg,...r,...u},d=c.font,m=c.value,p=`${m}_${d}`;if(this._emojiShapeDict.has(p)){a.emojiDataKey=p;return}const y=c.padding*2,v=Di(a.size.value),S=v+y,x=S*2;let w;if(typeof OffscreenCanvas<"u"){const C=new OffscreenCanvas(x,x),A=C.getContext("2d");if(!A)return;A.font=`400 ${v*2}px ${d}`,A.textBaseline="middle",A.textAlign="center",A.fillText(m,S,S),w=C.transferToImageBitmap()}else{const C=document.createElement("canvas");C.width=x,C.height=x;const A=C.getContext("2d");if(!A)return;A.font=`400 ${v*2}px ${d}`,A.textBaseline="middle",A.textAlign="center",A.fillText(m,S,S),w=C}this._emojiShapeDict.set(p,w),a.emojiDataKey=p}}async function FA(n,t=!0){n.checkVersion("3.9.1"),await n.addShape(new KA,t)}const JA=1,$A=1,Fg=0;function Jg(n,t,a,o,r,u){const c=t.actualOptions.interactivity.modes.attract;if(!c)return;const d=t.particles.quadTree.query(r,u);for(const m of d){const{dx:p,dy:y,distance:v}=Te(m.position,a),S=c.speed*c.factor,x=ei(n.getEasing(c.easing)($A-v/o)*S,JA,c.maxSpeed),w=ie.create(v?p/v*x:S,v?y/v*x:S);m.position.subFrom(w)}}function IA(n,t,a){t.attract||(t.attract={particles:[]});const{attract:o}=t;if(o.finish||(o.count||(o.count=0),o.count++,o.count===t.particles.count&&(o.finish=!0)),o.clicking){const r=t.interactivity.mouse.clickPosition,u=t.retina.attractModeDistance;if(!u||u<Fg||!r)return;Jg(n,t,r,u,new be(r.x,r.y,u),c=>a(c))}else o.clicking===!1&&(o.particles=[])}function WA(n,t,a){const o=t.interactivity.mouse.position,r=t.retina.attractModeDistance;!r||r<Fg||!o||Jg(n,t,o,r,new be(o.x,o.y,r),u=>a(u))}class tD{constructor(){this.distance=200,this.duration=.4,this.easing=ns.easeOutQuad,this.factor=1,this.maxSpeed=50,this.speed=1}load(t){X(t)||(t.distance!==void 0&&(this.distance=t.distance),t.duration!==void 0&&(this.duration=t.duration),t.easing!==void 0&&(this.easing=t.easing),t.factor!==void 0&&(this.factor=t.factor),t.maxSpeed!==void 0&&(this.maxSpeed=t.maxSpeed),t.speed!==void 0&&(this.speed=t.speed))}}const lo="attract";let eD=class extends zi{constructor(t,a){super(a),this._engine=t,a.attract||(a.attract={particles:[]}),this.handleClickMode=o=>{const r=this.container.actualOptions,u=r.interactivity.modes.attract;if(!(!u||o!==lo)){a.attract||(a.attract={particles:[]}),a.attract.clicking=!0,a.attract.count=0;for(const c of a.attract.particles)this.isEnabled(c)&&c.velocity.setTo(c.initialVelocity);a.attract.particles=[],a.attract.finish=!1,setTimeout(()=>{a.destroyed||(a.attract||(a.attract={particles:[]}),a.attract.clicking=!1)},u.duration*me)}}}clear(){}init(){const t=this.container,a=t.actualOptions.interactivity.modes.attract;a&&(t.retina.attractModeDistance=a.distance*t.retina.pixelRatio)}interact(){const t=this.container,a=t.actualOptions,o=t.interactivity.status===Kn,r=a.interactivity.events,{enable:u,mode:c}=r.onHover,{enable:d,mode:m}=r.onClick;o&&u&&Pt(lo,c)?WA(this._engine,this.container,p=>this.isEnabled(p)):d&&Pt(lo,m)&&IA(this._engine,this.container,p=>this.isEnabled(p))}isEnabled(t){const a=this.container,o=a.actualOptions,r=a.interactivity.mouse,u=(t?.interactivity??o.interactivity).events;if((!r.position||!u.onHover.enable)&&(!r.clickPosition||!u.onClick.enable))return!1;const c=u.onHover.mode,d=u.onClick.mode;return Pt(lo,c)||Pt(lo,d)}loadModeOptions(t,...a){t.attract||(t.attract=new tD);for(const o of a)t.attract.load(o?.attract)}reset(){}};async function iD(n,t=!0){n.checkVersion("3.9.1"),await n.addInteractor("externalAttract",a=>Promise.resolve(new eD(n,a)),t)}const nD=2,Nl=.5,sD=Math.PI*Nl,$g=2,Ig=10,aD=0;function Wg(n,t,a,o,r){const u=n.particles.quadTree.query(o,r);for(const c of u)o instanceof be?Sg(Kc(c),{position:t,mass:a**nD*sD,velocity:ie.origin,factor:ie.origin}):o instanceof vi&&CC(c,eo(t,a))}function oD(n,t,a,o){const r=document.querySelectorAll(t);r.length&&r.forEach(u=>{const c=u,d=n.retina.pixelRatio,m={x:(c.offsetLeft+c.offsetWidth*Nl)*d,y:(c.offsetTop+c.offsetHeight*Nl)*d},p=c.offsetWidth*Nl*d,y=Ig*d,v=a.type===Ys.circle?new be(m.x,m.y,p+y):new vi(c.offsetLeft*d-y,c.offsetTop*d-y,c.offsetWidth*d+y*$g,c.offsetHeight*d+y*$g);o(m,p,v)})}function lD(n,t,a,o){Zc(a,t,(r,u)=>oD(n,r,u,(c,d,m)=>Wg(n,c,d,m,o)))}function rD(n,t){const a=n.retina.pixelRatio,o=Ig*a,r=n.interactivity.mouse.position,u=n.retina.bounceModeDistance;!u||u<aD||!r||Wg(n,r,u,new be(r.x,r.y,u+o),t)}class uD{constructor(){this.distance=200}load(t){X(t)||t.distance!==void 0&&(this.distance=t.distance)}}const Hl="bounce";class cD extends zi{constructor(t){super(t)}clear(){}init(){const t=this.container,a=t.actualOptions.interactivity.modes.bounce;a&&(t.retina.bounceModeDistance=a.distance*t.retina.pixelRatio)}interact(){const t=this.container,a=t.actualOptions,o=a.interactivity.events,r=t.interactivity.status===Kn,u=o.onHover.enable,c=o.onHover.mode,d=o.onDiv;r&&u&&Pt(Hl,c)?rD(this.container,m=>this.isEnabled(m)):lD(this.container,d,Hl,m=>this.isEnabled(m))}isEnabled(t){const a=this.container,o=a.actualOptions,r=a.interactivity.mouse,u=(t?.interactivity??o.interactivity).events,c=u.onDiv;return!!r.position&&u.onHover.enable&&Pt(Hl,u.onHover.mode)||Qc(Hl,c)}loadModeOptions(t,...a){t.bounce||(t.bounce=new uD);for(const o of a)t.bounce.load(o?.bounce)}reset(){}}async function fD(n,t=!0){n.checkVersion("3.9.1"),await n.addInteractor("externalBounce",a=>Promise.resolve(new cD(a)),t)}class tv{constructor(){this.distance=200,this.duration=.4,this.mix=!1}load(t){if(!X(t)){if(t.distance!==void 0&&(this.distance=t.distance),t.duration!==void 0&&(this.duration=t.duration),t.mix!==void 0&&(this.mix=t.mix),t.opacity!==void 0&&(this.opacity=t.opacity),t.color!==void 0){const a=Ai(this.color)?void 0:this.color;this.color=He(t.color,o=>ve.create(a,o))}t.size!==void 0&&(this.size=t.size)}}}class hD extends tv{constructor(){super(),this.selectors=[]}load(t){super.load(t),!X(t)&&t.selectors!==void 0&&(this.selectors=t.selectors)}}class dD extends tv{load(t){super.load(t),!X(t)&&(this.divs=He(t.divs,a=>{const o=new hD;return o.load(a),o}))}}var Oi;(function(n){n.color="color",n.opacity="opacity",n.size="size"})(Oi||(Oi={}));function ev(n,t,a,o){if(t>=a){const r=n+(t-a)*o;return ei(r,n,t)}else if(t<a){const r=n-(a-t)*o;return ei(r,t,n)}}const os="bubble",ff=0,mD=0,pD=2,iv=1,nv=1,yD=0,gD=0,hf=.5,df=1;class vD extends zi{constructor(t,a){super(t),this._clickBubble=()=>{const o=this.container,r=o.actualOptions,u=o.interactivity.mouse.clickPosition,c=r.interactivity.modes.bubble;if(!c||!u)return;o.bubble||(o.bubble={});const d=o.retina.bubbleModeDistance;if(!d||d<ff)return;const m=o.particles.quadTree.queryCircle(u,d,y=>this.isEnabled(y)),{bubble:p}=o;for(const y of m){if(!p.clicking)continue;y.bubble.inRange=!p.durationEnd;const v=y.getPosition(),S=Ne(v,u),x=(new Date().getTime()-(o.interactivity.mouse.clickTime??mD))/me;x>c.duration&&(p.durationEnd=!0),x>c.duration*pD&&(p.clicking=!1,p.durationEnd=!1);const w={bubbleObj:{optValue:o.retina.bubbleModeSize,value:y.bubble.radius},particlesObj:{optValue:Di(y.options.size.value)*o.retina.pixelRatio,value:y.size.value},type:Oi.size};this._process(y,S,x,w);const C={bubbleObj:{optValue:c.opacity,value:y.bubble.opacity},particlesObj:{optValue:Di(y.options.opacity.value),value:y.opacity?.value??iv},type:Oi.opacity};this._process(y,S,x,C),!p.durationEnd&&S<=d?this._hoverBubbleColor(y,S):delete y.bubble.color}},this._hoverBubble=()=>{const o=this.container,r=o.interactivity.mouse.position,u=o.retina.bubbleModeDistance;if(!u||u<ff||!r)return;const c=o.particles.quadTree.queryCircle(r,u,d=>this.isEnabled(d));for(const d of c){d.bubble.inRange=!0;const m=d.getPosition(),p=Ne(m,r),y=nv-p/u;p<=u?y>=gD&&o.interactivity.status===Kn&&(this._hoverBubbleSize(d,y),this._hoverBubbleOpacity(d,y),this._hoverBubbleColor(d,y)):this.reset(d),o.interactivity.status===Vc&&this.reset(d)}},this._hoverBubbleColor=(o,r,u)=>{const c=this.container.actualOptions,d=u??c.interactivity.modes.bubble;if(d){if(!o.bubble.finalColor){const m=d.color;if(!m)return;const p=ii(m);o.bubble.finalColor=io(this._engine,p)}if(o.bubble.finalColor)if(d.mix){o.bubble.color=void 0;const m=o.getFillColor();o.bubble.color=m?_g($c(m,o.bubble.finalColor,nv-r,r)):o.bubble.finalColor}else o.bubble.color=o.bubble.finalColor}},this._hoverBubbleOpacity=(o,r,u)=>{const c=this.container,d=c.actualOptions,m=u?.opacity??d.interactivity.modes.bubble?.opacity;if(!m)return;const p=o.options.opacity.value,y=o.opacity?.value??iv,v=ev(y,m,Di(p),r);v!==void 0&&(o.bubble.opacity=v)},this._hoverBubbleSize=(o,r,u)=>{const c=this.container,d=u?.size?u.size*c.retina.pixelRatio:c.retina.bubbleModeSize;if(d===void 0)return;const m=Di(o.options.size.value)*c.retina.pixelRatio,p=o.size.value,y=ev(p,d,m,r);y!==void 0&&(o.bubble.radius=y)},this._process=(o,r,u,c)=>{const d=this.container,m=c.bubbleObj.optValue,p=d.actualOptions,y=p.interactivity.modes.bubble;if(!y||m===void 0)return;const v=y.duration,S=d.retina.bubbleModeDistance,x=c.particlesObj.optValue,w=c.bubbleObj.value,C=c.particlesObj.value??yD,A=c.type;if(!(!S||S<ff||m===x))if(d.bubble||(d.bubble={}),d.bubble.durationEnd)w&&(A===Oi.size&&delete o.bubble.radius,A===Oi.opacity&&delete o.bubble.opacity);else if(r<=S){if((w??C)!==m){const L=C-u*(C-m)/v;A===Oi.size&&(o.bubble.radius=L),A===Oi.opacity&&(o.bubble.opacity=L)}}else A===Oi.size&&delete o.bubble.radius,A===Oi.opacity&&delete o.bubble.opacity},this._singleSelectorHover=(o,r,u)=>{const c=this.container,d=document.querySelectorAll(r),m=c.actualOptions.interactivity.modes.bubble;!m||!d.length||d.forEach(p=>{const y=p,v=c.retina.pixelRatio,S={x:(y.offsetLeft+y.offsetWidth*hf)*v,y:(y.offsetTop+y.offsetHeight*hf)*v},x=y.offsetWidth*hf*v,w=u.type===Ys.circle?new be(S.x,S.y,x):new vi(y.offsetLeft*v,y.offsetTop*v,y.offsetWidth*v,y.offsetHeight*v),C=c.particles.quadTree.query(w,A=>this.isEnabled(A));for(const A of C){if(!w.contains(A.getPosition()))continue;A.bubble.inRange=!0;const R=m.divs,L=bg(R,y);(!A.bubble.div||A.bubble.div!==y)&&(this.clear(A,o,!0),A.bubble.div=y),this._hoverBubbleSize(A,df,L),this._hoverBubbleOpacity(A,df,L),this._hoverBubbleColor(A,df,L)}})},this._engine=a,t.bubble||(t.bubble={}),this.handleClickMode=o=>{o===os&&(t.bubble||(t.bubble={}),t.bubble.clicking=!0)}}clear(t,a,o){t.bubble.inRange&&!o||(delete t.bubble.div,delete t.bubble.opacity,delete t.bubble.radius,delete t.bubble.color)}init(){const t=this.container,a=t.actualOptions.interactivity.modes.bubble;a&&(t.retina.bubbleModeDistance=a.distance*t.retina.pixelRatio,a.size!==void 0&&(t.retina.bubbleModeSize=a.size*t.retina.pixelRatio))}interact(t){const a=this.container.actualOptions,o=a.interactivity.events,r=o.onHover,u=o.onClick,c=r.enable,d=r.mode,m=u.enable,p=u.mode,y=o.onDiv;c&&Pt(os,d)?this._hoverBubble():m&&Pt(os,p)?this._clickBubble():Zc(os,y,(v,S)=>this._singleSelectorHover(t,v,S))}isEnabled(t){const a=this.container,o=a.actualOptions,r=a.interactivity.mouse,u=(t?.interactivity??o.interactivity).events,{onClick:c,onDiv:d,onHover:m}=u,p=Qc(os,d);return p||m.enable&&r.position||c.enable&&r.clickPosition?Pt(os,m.mode)||Pt(os,c.mode)||p:!1}loadModeOptions(t,...a){t.bubble||(t.bubble=new dD);for(const o of a)t.bubble.load(o?.bubble)}reset(t){t.bubble.inRange=!1}}async function bD(n,t=!0){n.checkVersion("3.9.1"),await n.addInteractor("externalBubble",a=>Promise.resolve(new vD(a,n)),t)}class SD{constructor(){this.opacity=.5}load(t){X(t)||t.opacity!==void 0&&(this.opacity=t.opacity)}}class xD{constructor(){this.distance=80,this.links=new SD,this.radius=60}load(t){X(t)||(t.distance!==void 0&&(this.distance=t.distance),this.links.load(t.links),t.radius!==void 0&&(this.radius=t.radius))}}const sv=0,av=1,TD=0;function wD(n,t,a,o){const r=Math.floor(a.getRadius()/t.getRadius()),u=t.getFillColor(),c=a.getFillColor();if(!u||!c)return;const d=t.getPosition(),m=a.getPosition(),p=$c(u,c,t.getRadius(),a.getRadius()),y=n.createLinearGradient(d.x,d.y,m.x,m.y);return y.addColorStop(sv,no(u,o)),y.addColorStop(ei(r,sv,av),Hi(p,o)),y.addColorStop(av,no(c,o)),y}function MD(n,t,a,o,r){so(n,o,r),n.lineWidth=t,n.strokeStyle=a,n.stroke()}function _D(n,t,a,o){const r=n.actualOptions,u=r.interactivity.modes.connect;if(u)return wD(t,a,o,u.links.opacity)}function CD(n,t,a){n.canvas.draw(o=>{const r=_D(n,o,t,a);if(!r)return;const u=t.getPosition(),c=a.getPosition();MD(o,t.retina.linksWidth??TD,r,u,c)})}const ED="connect",ov=0;class AD extends zi{constructor(t){super(t)}clear(){}init(){const t=this.container,a=t.actualOptions.interactivity.modes.connect;a&&(t.retina.connectModeDistance=a.distance*t.retina.pixelRatio,t.retina.connectModeRadius=a.radius*t.retina.pixelRatio)}interact(){const t=this.container;if(t.actualOptions.interactivity.events.onHover.enable&&t.interactivity.status==="pointermove"){const o=t.interactivity.mouse.position,{connectModeDistance:r,connectModeRadius:u}=t.retina;if(!r||r<ov||!u||u<ov||!o)return;const c=Math.abs(u),d=t.particles.quadTree.queryCircle(o,c,m=>this.isEnabled(m));d.forEach((m,p)=>{const y=m.getPosition(),v=1;for(const S of d.slice(p+v)){const x=S.getPosition(),w=Math.abs(r),C=Math.abs(y.x-x.x),A=Math.abs(y.y-x.y);C<w&&A<w&&CD(t,m,S)}})}}isEnabled(t){const a=this.container,o=a.interactivity.mouse,r=(t?.interactivity??a.actualOptions.interactivity).events;return r.onHover.enable&&o.position?Pt(ED,r.onHover.mode):!1}loadModeOptions(t,...a){t.connect||(t.connect=new xD);for(const o of a)t.connect.load(o?.connect)}reset(){}}async function DD(n,t=!0){n.checkVersion("3.9.1"),await n.addInteractor("externalConnect",a=>Promise.resolve(new AD(a)),t)}class zD{constructor(){this.blink=!1,this.consent=!1,this.opacity=1}load(t){X(t)||(t.blink!==void 0&&(this.blink=t.blink),t.color!==void 0&&(this.color=ve.create(this.color,t.color)),t.consent!==void 0&&(this.consent=t.consent),t.opacity!==void 0&&(this.opacity=t.opacity))}}class OD{constructor(){this.distance=100,this.links=new zD}load(t){X(t)||(t.distance!==void 0&&(this.distance=t.distance),this.links.load(t.links))}}const RD=0;function VD(n,t,a,o,r,u){so(n,a,o),n.strokeStyle=Hi(r,u),n.lineWidth=t,n.stroke()}function BD(n,t,a,o,r){n.canvas.draw(u=>{const c=t.getPosition();VD(u,t.retina.linksWidth??RD,c,r,a,o)})}const LD="grab",kD=0,UD=0;class ND extends zi{constructor(t,a){super(t),this._engine=a}clear(){}init(){const t=this.container,a=t.actualOptions.interactivity.modes.grab;a&&(t.retina.grabModeDistance=a.distance*t.retina.pixelRatio)}interact(){const t=this.container,a=t.actualOptions,o=a.interactivity;if(!o.modes.grab||!o.events.onHover.enable||t.interactivity.status!==Kn)return;const r=t.interactivity.mouse.position;if(!r)return;const u=t.retina.grabModeDistance;if(!u||u<kD)return;const c=t.particles.quadTree.queryCircle(r,u,d=>this.isEnabled(d));for(const d of c){const m=d.getPosition(),p=Ne(m,r);if(p>u)continue;const y=o.modes.grab.links,v=y.opacity,S=v-p*v/u;if(S<=UD)continue;const x=y.color??d.options.links?.color;if(!t.particles.grabLineColor&&x){const C=o.modes.grab.links;t.particles.grabLineColor=Eg(this._engine,x,C.blink,C.consent)}const w=Ic(d,void 0,t.particles.grabLineColor);w&&BD(t,d,w,S,r)}}isEnabled(t){const a=this.container,o=a.interactivity.mouse,r=(t?.interactivity??a.actualOptions.interactivity).events;return r.onHover.enable&&!!o.position&&Pt(LD,r.onHover.mode)}loadModeOptions(t,...a){t.grab||(t.grab=new OD);for(const o of a)t.grab.load(o?.grab)}reset(){}}async function HD(n,t=!0){n.checkVersion("3.9.1"),await n.addInteractor("externalGrab",a=>Promise.resolve(new ND(a,n)),t)}const qD="pause";class jD extends zi{constructor(t){super(t),this.handleClickMode=a=>{if(a!==qD)return;const o=this.container;o.animationStatus?o.pause():o.play()}}clear(){}init(){}interact(){}isEnabled(){return!0}reset(){}}async function PD(n,t=!0){n.checkVersion("3.9.1"),await n.addInteractor("externalPause",a=>Promise.resolve(new jD(a)),t)}class YD{constructor(){this.default=!0,this.groups=[],this.quantity=4}load(t){if(X(t))return;t.default!==void 0&&(this.default=t.default),t.groups!==void 0&&(this.groups=t.groups.map(o=>o)),this.groups.length||(this.default=!0);const a=t.quantity;a!==void 0&&(this.quantity=bt(a)),this.particles=He(t.particles,o=>ge({},o))}}const GD="push",XD=0;class QD extends zi{constructor(t){super(t),this.handleClickMode=a=>{if(a!==GD)return;const o=this.container,r=o.actualOptions,u=r.interactivity.modes.push;if(!u)return;const c=et(u.quantity);if(c<=XD)return;const d=zl([void 0,...u.groups]),m=d!==void 0?o.actualOptions.particles.groups[d]:void 0,p=ii(u.particles),y=ge(m,p);o.particles.push(c,o.interactivity.mouse,y,d)}}clear(){}init(){}interact(){}isEnabled(){return!0}loadModeOptions(t,...a){t.push||(t.push=new YD);for(const o of a)t.push.load(o?.push)}reset(){}}async function ZD(n,t=!0){n.checkVersion("3.9.1"),await n.addInteractor("externalPush",a=>Promise.resolve(new QD(a)),t)}class KD{constructor(){this.quantity=2}load(t){if(X(t))return;const a=t.quantity;a!==void 0&&(this.quantity=bt(a))}}const FD="remove";class JD extends zi{constructor(t){super(t),this.handleClickMode=a=>{const o=this.container,r=o.actualOptions;if(!r.interactivity.modes.remove||a!==FD)return;const u=et(r.interactivity.modes.remove.quantity);o.particles.removeQuantity(u)}}clear(){}init(){}interact(){}isEnabled(){return!0}loadModeOptions(t,...a){t.remove||(t.remove=new KD);for(const o of a)t.remove.load(o?.remove)}reset(){}}async function $D(n,t=!0){n.checkVersion("3.9.1"),await n.addInteractor("externalRemove",a=>Promise.resolve(new JD(a)),t)}class lv{constructor(){this.distance=200,this.duration=.4,this.factor=100,this.speed=1,this.maxSpeed=50,this.easing=ns.easeOutQuad}load(t){X(t)||(t.distance!==void 0&&(this.distance=t.distance),t.duration!==void 0&&(this.duration=t.duration),t.easing!==void 0&&(this.easing=t.easing),t.factor!==void 0&&(this.factor=t.factor),t.speed!==void 0&&(this.speed=t.speed),t.maxSpeed!==void 0&&(this.maxSpeed=t.maxSpeed))}}class ID extends lv{constructor(){super(),this.selectors=[]}load(t){super.load(t),!X(t)&&t.selectors!==void 0&&(this.selectors=t.selectors)}}class WD extends lv{load(t){super.load(t),!X(t)&&(this.divs=He(t.divs,a=>{const o=new ID;return o.load(a),o}))}}const ls="repulse",tz=0,ez=6,iz=3,nz=2,sz=0,az=0,oz=1,mf=.5;class lz extends zi{constructor(t,a){super(a),this._clickRepulse=()=>{const o=this.container,r=o.actualOptions.interactivity.modes.repulse;if(!r)return;const u=o.repulse??{particles:[]};if(u.finish||(u.count||(u.count=0),u.count++,u.count===o.particles.count&&(u.finish=!0)),u.clicking){const c=o.retina.repulseModeDistance;if(!c||c<tz)return;const d=Math.pow(c/ez,iz),m=o.interactivity.mouse.clickPosition;if(m===void 0)return;const p=new be(m.x,m.y,d),y=o.particles.quadTree.query(p,v=>this.isEnabled(v));for(const v of y){const{dx:S,dy:x,distance:w}=Te(m,v.position),C=w**nz,A=r.speed,R=-d*A/C;if(C<=d){u.particles.push(v);const L=ie.create(S,x);L.length=R,v.velocity.setTo(L)}}}else if(u.clicking===!1){for(const c of u.particles)c.velocity.setTo(c.initialVelocity);u.particles=[]}},this._hoverRepulse=()=>{const o=this.container,r=o.interactivity.mouse.position,u=o.retina.repulseModeDistance;!u||u<sz||!r||this._processRepulse(r,u,new be(r.x,r.y,u))},this._processRepulse=(o,r,u,c)=>{const d=this.container,m=d.particles.quadTree.query(u,A=>this.isEnabled(A)),p=d.actualOptions.interactivity.modes.repulse;if(!p)return;const{easing:y,speed:v,factor:S,maxSpeed:x}=p,w=this._engine.getEasing(y),C=(c?.speed??v)*S;for(const A of m){const{dx:R,dy:L,distance:B}=Te(A.position,o),H=ei(w(oz-B/r)*C,az,x),Y=ie.create(B?R/B*H:C,B?L/B*H:C);A.position.addTo(Y)}},this._singleSelectorRepulse=(o,r)=>{const u=this.container,c=u.actualOptions.interactivity.modes.repulse;if(!c)return;const d=document.querySelectorAll(o);d.length&&d.forEach(m=>{const p=m,y=u.retina.pixelRatio,v={x:(p.offsetLeft+p.offsetWidth*mf)*y,y:(p.offsetTop+p.offsetHeight*mf)*y},S=p.offsetWidth*mf*y,x=r.type===Ys.circle?new be(v.x,v.y,S):new vi(p.offsetLeft*y,p.offsetTop*y,p.offsetWidth*y,p.offsetHeight*y),w=c.divs,C=bg(w,p);this._processRepulse(v,S,x,C)})},this._engine=t,a.repulse||(a.repulse={particles:[]}),this.handleClickMode=o=>{const r=this.container.actualOptions,u=r.interactivity.modes.repulse;if(!u||o!==ls)return;a.repulse||(a.repulse={particles:[]});const c=a.repulse;c.clicking=!0,c.count=0;for(const d of a.repulse.particles)this.isEnabled(d)&&d.velocity.setTo(d.initialVelocity);c.particles=[],c.finish=!1,setTimeout(()=>{a.destroyed||(c.clicking=!1)},u.duration*me)}}clear(){}init(){const t=this.container,a=t.actualOptions.interactivity.modes.repulse;a&&(t.retina.repulseModeDistance=a.distance*t.retina.pixelRatio)}interact(){const t=this.container,a=t.actualOptions,o=t.interactivity.status===Kn,r=a.interactivity.events,u=r.onHover,c=u.enable,d=u.mode,m=r.onClick,p=m.enable,y=m.mode,v=r.onDiv;o&&c&&Pt(ls,d)?this._hoverRepulse():p&&Pt(ls,y)?this._clickRepulse():Zc(ls,v,(S,x)=>this._singleSelectorRepulse(S,x))}isEnabled(t){const a=this.container,o=a.actualOptions,r=a.interactivity.mouse,u=(t?.interactivity??o.interactivity).events,c=u.onDiv,d=u.onHover,m=u.onClick,p=Qc(ls,c);if(!(p||d.enable&&r.position||m.enable&&r.clickPosition))return!1;const y=d.mode,v=m.mode;return Pt(ls,y)||Pt(ls,v)||p}loadModeOptions(t,...a){t.repulse||(t.repulse=new WD);for(const o of a)t.repulse.load(o?.repulse)}reset(){}}async function rz(n,t=!0){n.checkVersion("3.9.1"),await n.addInteractor("externalRepulse",a=>Promise.resolve(new lz(n,a)),t)}class uz{constructor(){this.factor=3,this.radius=200}load(t){X(t)||(t.factor!==void 0&&(this.factor=t.factor),t.radius!==void 0&&(this.radius=t.radius))}}const cz="slow",fz=0;class hz extends zi{constructor(t){super(t)}clear(t,a,o){t.slow.inRange&&!o||(t.slow.factor=1)}init(){const t=this.container,a=t.actualOptions.interactivity.modes.slow;a&&(t.retina.slowModeRadius=a.radius*t.retina.pixelRatio)}interact(){}isEnabled(t){const a=this.container,o=a.interactivity.mouse,r=(t?.interactivity??a.actualOptions.interactivity).events;return r.onHover.enable&&!!o.position&&Pt(cz,r.onHover.mode)}loadModeOptions(t,...a){t.slow||(t.slow=new uz);for(const o of a)t.slow.load(o?.slow)}reset(t){t.slow.inRange=!1;const a=this.container,o=a.actualOptions,r=a.interactivity.mouse.position,u=a.retina.slowModeRadius,c=o.interactivity.modes.slow;if(!c||!u||u<fz||!r)return;const d=t.getPosition(),m=Ne(r,d),p=m/u,y=c.factor,{slow:v}=t;m>u||(v.inRange=!0,v.factor=p/y)}}async function dz(n,t=!0){n.checkVersion("3.9.1"),await n.addInteractor("externalSlow",a=>Promise.resolve(new hz(a)),t)}const mz=0,pz=1,yz=/(#(?:[0-9a-f]{2}){2,4}|(#[0-9a-f]{3})|(rgb|hsl)a?\((-?\d+%?[,\s]+){2,3}\s*[\d.]+%?\))|currentcolor/gi;function gz(n,t,a){const{svgData:o}=n;if(!o)return"";const r=no(t,a);if(o.includes("fill"))return o.replace(yz,()=>r);const u=o.indexOf(">");return`${o.substring(mz,u)} fill="${r}"${o.substring(u)}`}async function ql(n){return new Promise(t=>{n.loading=!0;const a=new Image;n.element=a,a.addEventListener("load",()=>{n.loading=!1,t()}),a.addEventListener("error",()=>{n.element=void 0,n.error=!0,n.loading=!1,Wn().error(`${ti} loading image: ${n.source}`),t()}),a.src=n.source})}async function vz(n){if(n.type!=="svg"){await ql(n);return}n.loading=!0;const t=await fetch(n.source);t.ok?n.svgData=await t.text():(Wn().error(`${ti} Image not found`),n.error=!0),n.loading=!1}function bz(n,t,a,o){const r=gz(n,a,o.opacity?.value??pz),u={color:a,gif:t.gif,data:{...n,svgData:r},loaded:!1,ratio:t.width/t.height,replaceColor:t.replaceColor,source:t.src};return new Promise(c=>{const d=new Blob([r],{type:"image/svg+xml"}),m=URL||window.URL||window.webkitURL||window,p=m.createObjectURL(d),y=new Image;y.addEventListener("load",()=>{u.loaded=!0,u.element=y,c(u),m.revokeObjectURL(p)});const v=async()=>{m.revokeObjectURL(p);const S={...n,error:!1,loading:!0};await ql(S),u.loaded=!0,u.element=S.element,c(u)};y.addEventListener("error",()=>void v()),y.src=p})}const pf=[0,4,2,1],rv=[8,8,4,2];class Sz{constructor(t){this.pos=0,this.data=new Uint8ClampedArray(t)}getString(t){const a=this.data.slice(this.pos,this.pos+t);return this.pos+=a.length,a.reduce((o,r)=>o+String.fromCharCode(r),"")}nextByte(){return this.data[this.pos++]}nextTwoBytes(){return this.pos+=2,this.data[this.pos-2]+(this.data[this.pos-1]<<8)}readSubBlocks(){let t="",a=0;const o=0,r=0;do{a=this.data[this.pos++];for(let u=a;--u>=o;t+=String.fromCharCode(this.data[this.pos++]));}while(a!==r);return t}readSubBlocksBin(){let t=this.data[this.pos],a=0;const o=0,r=1;for(let c=0;t!==o;c+=t+r,t=this.data[this.pos+c])a+=t;const u=new Uint8Array(a);t=this.data[this.pos++];for(let c=0;t!==o;t=this.data[this.pos++])for(let d=t;--d>=o;u[c++]=this.data[this.pos++]);return u}skipSubBlocks(){for(const t=1,a=0;this.data[this.pos]!==a;this.pos+=this.data[this.pos]+t);this.pos++}}var xi;(function(n){n[n.Replace=0]="Replace",n[n.Combine=1]="Combine",n[n.RestoreBackground=2]="RestoreBackground",n[n.RestorePrevious=3]="RestorePrevious",n[n.UndefinedA=4]="UndefinedA",n[n.UndefinedB=5]="UndefinedB",n[n.UndefinedC=6]="UndefinedC",n[n.UndefinedD=7]="UndefinedD"})(xi||(xi={}));var qi;(function(n){n[n.Extension=33]="Extension",n[n.ApplicationExtension=255]="ApplicationExtension",n[n.GraphicsControlExtension=249]="GraphicsControlExtension",n[n.PlainTextExtension=1]="PlainTextExtension",n[n.CommentExtension=254]="CommentExtension",n[n.Image=44]="Image",n[n.EndOfFile=59]="EndOfFile"})(qi||(qi={}));const Ce={x:0,y:0},xz=0,uv=.5,Tz=0,cv=0,yf=0;function fv(n,t){const a=[];for(let o=0;o<t;o++)a.push({r:n.data[n.pos],g:n.data[n.pos+1],b:n.data[n.pos+2]}),n.pos+=3;return a}function wz(n,t,a,o){switch(n.nextByte()){case qi.GraphicsControlExtension:{const r=t.frames[a(!1)];n.pos++;const u=n.nextByte();r.GCreserved=(u&224)>>>5,r.disposalMethod=(u&28)>>>2,r.userInputDelayFlag=(u&2)===2;const c=(u&1)===1;r.delayTime=n.nextTwoBytes()*10;const d=n.nextByte();c&&o(d),n.pos++;break}case qi.ApplicationExtension:{n.pos++;const r={identifier:n.getString(8),authenticationCode:n.getString(3),data:n.readSubBlocksBin()};t.applicationExtensions.push(r);break}case qi.CommentExtension:{t.comments.push([a(!1),n.readSubBlocks()]);break}case qi.PlainTextExtension:{if(t.globalColorTable.length===0)throw new EvalError("plain text extension without global color table");n.pos++,t.frames[a(!1)].plainTextData={left:n.nextTwoBytes(),top:n.nextTwoBytes(),width:n.nextTwoBytes(),height:n.nextTwoBytes(),charSize:{width:n.nextTwoBytes(),height:n.nextTwoBytes()},foregroundColor:n.nextByte(),backgroundColor:n.nextByte(),text:n.readSubBlocks()};break}default:n.skipSubBlocks();break}}async function Mz(n,t,a,o,r,u){const c=t.frames[o(!0)];c.left=n.nextTwoBytes(),c.top=n.nextTwoBytes(),c.width=n.nextTwoBytes(),c.height=n.nextTwoBytes();const d=n.nextByte(),m=(d&128)===128,p=(d&64)===64;c.sortFlag=(d&32)===32,c.reserved=(d&24)>>>3;const y=1<<(d&7)+1;m&&(c.localColorTable=fv(n,y));const v=R=>{const{r:L,g:B,b:H}=(m?c.localColorTable:t.globalColorTable)[R];return R!==r(null)?{r:L,g:B,b:H,a:255}:{r:L,g:B,b:H,a:a?~~((L+B+H)/3):0}},S=(()=>{try{return new ImageData(c.width,c.height,{colorSpace:"srgb"})}catch(R){if(R instanceof DOMException&&R.name==="IndexSizeError")return null;throw R}})();if(S==null)throw new EvalError("GIF frame size is to large");const x=n.nextByte(),w=n.readSubBlocksBin(),C=1<<x,A=(R,L)=>{const B=R>>>3,H=R&7;return(w[B]+(w[B+1]<<8)+(w[B+2]<<16)&(1<<L)-1<<H)>>>H};if(p){for(let R=0,L=x+1,B=0,H=[[0]],Y=0;Y<4;Y++)if(pf[Y]<c.height){let K=0,G=0,Q=!1;for(;!Q;){const st=R;if(R=A(B,L),B+=L+1,R===C){L=x+1,H.length=C+2;for(let dt=0;dt<H.length;dt++)H[dt]=dt<C?[dt]:[]}else{R>=H.length?H.push(H[st].concat(H[st][0])):st!==C&&H.push(H[st].concat(H[R][0]));for(const dt of H[R]){const{r:Rt,g:Lt,b:qe,a:Ee}=v(dt);S.data.set([Rt,Lt,qe,Ee],pf[Y]*c.width+rv[Y]*G+K%(c.width*4)),K+=4}H.length===1<<L&&L<12&&L++}K===c.width*4*(G+1)&&(G++,pf[Y]+rv[Y]*G>=c.height&&(Q=!0))}}c.image=S,c.bitmap=await createImageBitmap(S)}else{let R=0,L=x+1,B=0,H=-4,Y=!1;const K=[[0]];for(;!Y;){const G=R;if(R=A(B,L),B+=L,R===C){L=x+1,K.length=C+2;for(let Q=0;Q<K.length;Q++)K[Q]=Q<C?[Q]:[]}else{if(R===C+1){Y=!0;break}R>=K.length?K.push(K[G].concat(K[G][0])):G!==C&&K.push(K[G].concat(K[R][0]));for(const Q of K[R]){const{r:st,g:dt,b:Rt,a:Lt}=v(Q);S.data.set([st,dt,Rt,Lt],H+=4)}K.length>=1<<L&&L<12&&L++}}c.image=S,c.bitmap=await createImageBitmap(S)}}async function _z(n,t,a,o,r,u){switch(n.nextByte()){case qi.EndOfFile:return!0;case qi.Image:await Mz(n,t,a,o,r);break;case qi.Extension:wz(n,t,o,r);break;default:throw new EvalError("undefined block found")}return!1}function Cz(n){for(const t of n.applicationExtensions)if(t.identifier+t.authenticationCode==="NETSCAPE2.0")return t.data[1]+(t.data[2]<<8);return NaN}async function Ez(n,t,a){a||(a=!1);const o=await fetch(n);if(!o.ok&&o.status===404)throw new EvalError("file not found");const r=await o.arrayBuffer(),u={width:0,height:0,totalTime:0,colorRes:0,pixelAspectRatio:0,frames:[],sortFlag:!1,globalColorTable:[],backgroundImage:new ImageData(1,1,{colorSpace:"srgb"}),comments:[],applicationExtensions:[]},c=new Sz(new Uint8ClampedArray(r));if(c.getString(6)!=="GIF89a")throw new Error("not a supported GIF file");u.width=c.nextTwoBytes(),u.height=c.nextTwoBytes();const d=c.nextByte(),m=(d&128)===128;u.colorRes=(d&112)>>>4,u.sortFlag=(d&8)===8;const p=1<<(d&7)+1,y=c.nextByte();u.pixelAspectRatio=c.nextByte(),u.pixelAspectRatio!==0&&(u.pixelAspectRatio=(u.pixelAspectRatio+15)/64),m&&(u.globalColorTable=fv(c,p));const v=(()=>{try{return new ImageData(u.width,u.height,{colorSpace:"srgb"})}catch(H){if(H instanceof DOMException&&H.name==="IndexSizeError")return null;throw H}})();if(v==null)throw new Error("GIF frame size is to large");const{r:S,g:x,b:w}=u.globalColorTable[y];v.data.set(m?[S,x,w,255]:[0,0,0,0]);for(let H=4;H<v.data.length;H*=2)v.data.copyWithin(H,0,H);u.backgroundImage=v;let C=-1,A=!0,R=-1;const L=H=>(H&&(A=!0),C),B=H=>(H!=null&&(R=H),R);try{do A&&(u.frames.push({left:0,top:0,width:0,height:0,disposalMethod:xi.Replace,image:new ImageData(1,1,{colorSpace:"srgb"}),plainTextData:null,userInputDelayFlag:!1,delayTime:0,sortFlag:!1,localColorTable:[],reserved:0,GCreserved:0}),C++,R=-1,A=!1);while(!await _z(c,u,a,L,B,t));u.frames.length--;for(const H of u.frames){if(H.userInputDelayFlag&&H.delayTime===0){u.totalTime=1/0;break}u.totalTime+=H.delayTime}return u}catch(H){throw H instanceof EvalError?new Error(`error while parsing frame ${C} "${H.message}"`):H}}function Az(n){const{context:t,radius:a,particle:o,delta:r}=n,u=o.image;if(!u?.gifData||!u.gif)return;const c=new OffscreenCanvas(u.gifData.width,u.gifData.height),d=c.getContext("2d");if(!d)throw new Error("could not create offscreen canvas context");d.imageSmoothingQuality="low",d.imageSmoothingEnabled=!1,d.clearRect(Ce.x,Ce.y,c.width,c.height),o.gifLoopCount===void 0&&(o.gifLoopCount=u.gifLoopCount??yf);let m=o.gifFrame??xz;const p={x:-u.gifData.width*uv,y:-u.gifData.height*uv},y=u.gifData.frames[m];if(o.gifTime===void 0&&(o.gifTime=Tz),!!y.bitmap){switch(t.scale(a/u.gifData.width,a/u.gifData.height),y.disposalMethod){case xi.UndefinedA:case xi.UndefinedB:case xi.UndefinedC:case xi.UndefinedD:case xi.Replace:d.drawImage(y.bitmap,y.left,y.top),t.drawImage(c,p.x,p.y),d.clearRect(Ce.x,Ce.y,c.width,c.height);break;case xi.Combine:d.drawImage(y.bitmap,y.left,y.top),t.drawImage(c,p.x,p.y);break;case xi.RestoreBackground:d.drawImage(y.bitmap,y.left,y.top),t.drawImage(c,p.x,p.y),d.clearRect(Ce.x,Ce.y,c.width,c.height),u.gifData.globalColorTable.length?d.putImageData(u.gifData.backgroundImage,p.x,p.y):d.putImageData(u.gifData.frames[cv].image,p.x+y.left,p.y+y.top);break;case xi.RestorePrevious:{const v=d.getImageData(Ce.x,Ce.y,c.width,c.height);d.drawImage(y.bitmap,y.left,y.top),t.drawImage(c,p.x,p.y),d.clearRect(Ce.x,Ce.y,c.width,c.height),d.putImageData(v,Ce.x,Ce.y)}break}if(o.gifTime+=r.value,o.gifTime>y.delayTime){if(o.gifTime-=y.delayTime,++m>=u.gifData.frames.length){if(--o.gifLoopCount<=yf)return;m=cv,d.clearRect(Ce.x,Ce.y,c.width,c.height)}o.gifFrame=m}t.scale(u.gifData.width/a,u.gifData.height/a)}}async function Dz(n){if(n.type!=="gif"){await ql(n);return}n.loading=!0;try{n.gifData=await Ez(n.source),n.gifLoopCount=Cz(n.gifData)??yf,n.gifLoopCount||(n.gifLoopCount=1/0)}catch{n.error=!0}n.loading=!1}const zz=2,Oz=1,Rz=12,Vz=1;class Bz{constructor(t){this.validTypes=["image","images"],this.loadImageShape=async a=>{if(!this._engine.loadImage)throw new Error(`${ti} image shape not initialized`);await this._engine.loadImage({gif:a.gif,name:a.name,replaceColor:a.replaceColor??!1,src:a.src})},this._engine=t}addImage(t){this._engine.images||(this._engine.images=[]),this._engine.images.push(t)}draw(t){const{context:a,radius:o,particle:r,opacity:u}=t,c=r.image,d=c?.element;if(c){if(a.globalAlpha=u,c.gif&&c.gifData)Az(t);else if(d){const m=c.ratio,p={x:-o,y:-o},y=o*zz;a.drawImage(d,p.x,p.y,y,y/m)}a.globalAlpha=Oz}}getSidesCount(){return Rz}async init(t){const a=t.actualOptions;if(!(!a.preload||!this._engine.loadImage))for(const o of a.preload)await this._engine.loadImage(o)}loadShape(t){if(t.shape!=="image"&&t.shape!=="images")return;this._engine.images||(this._engine.images=[]);const a=t.shapeData;if(!a)return;this._engine.images.find(r=>r.name===a.name||r.source===a.src)||this.loadImageShape(a).then(()=>{this.loadShape(t)})}particleInit(t,a){if(a.shape!=="image"&&a.shape!=="images")return;this._engine.images||(this._engine.images=[]);const o=this._engine.images,r=a.shapeData;if(!r)return;const u=a.getFillColor(),c=o.find(m=>m.name===r.name||m.source===r.src);if(!c)return;const d=r.replaceColor??c.replaceColor;if(c.loading){setTimeout(()=>{this.particleInit(t,a)});return}(async()=>{let m;c.svgData&&u?m=await bz(c,r,u,a):m={color:u,data:c,element:c.element,gif:c.gif,gifData:c.gifData,gifLoopCount:c.gifLoopCount,loaded:!0,ratio:r.width&&r.height?r.width/r.height:c.ratio??Vz,replaceColor:d,source:r.src},m.ratio||(m.ratio=1);const p=r.fill??a.shapeFill,y=r.close??a.shapeClose,v={image:m,fill:p,close:y};a.image=v.image,a.shapeFill=v.fill,a.shapeClose=v.close})()}}class Lz{constructor(){this.src="",this.gif=!1}load(t){X(t)||(t.gif!==void 0&&(this.gif=t.gif),t.height!==void 0&&(this.height=t.height),t.name!==void 0&&(this.name=t.name),t.replaceColor!==void 0&&(this.replaceColor=t.replaceColor),t.src!==void 0&&(this.src=t.src),t.width!==void 0&&(this.width=t.width))}}class kz{constructor(t){this.id="imagePreloader",this._engine=t}async getPlugin(){return await Promise.resolve(),{}}loadOptions(t,a){if(!a?.preload)return;t.preload||(t.preload=[]);const o=t.preload;for(const r of a.preload){const u=o.find(c=>c.name===r.name||c.src===r.src);if(u)u.load(r);else{const c=new Lz;c.load(r),o.push(c)}}}needsPlugin(){return!0}}const Uz=3;function Nz(n){n.loadImage||(n.loadImage=async t=>{if(!t.name&&!t.src)throw new Error(`${ti} no image source provided`);if(n.images||(n.images=[]),!n.images.find(a=>a.name===t.name||a.source===t.src))try{const a={gif:t.gif??!1,name:t.name??t.src,source:t.src,type:t.src.substring(t.src.length-Uz),error:!1,loading:!0,replaceColor:t.replaceColor,ratio:t.width&&t.height?t.width/t.height:void 0};n.images.push(a);let o;t.gif?o=Dz:o=t.replaceColor?vz:ql,await o(a)}catch{throw new Error(`${ti} ${t.name??t.src} not found`)}})}async function Hz(n,t=!0){n.checkVersion("3.9.1"),Nz(n);const a=new kz(n);await n.addPlugin(a,t),await n.addShape(new Bz(n),t)}class qz extends is{constructor(){super(),this.sync=!1}load(t){X(t)||(super.load(t),t.sync!==void 0&&(this.sync=t.sync))}}class jz extends is{constructor(){super(),this.sync=!1}load(t){X(t)||(super.load(t),t.sync!==void 0&&(this.sync=t.sync))}}class Pz{constructor(){this.count=0,this.delay=new qz,this.duration=new jz}load(t){X(t)||(t.count!==void 0&&(this.count=t.count),this.delay.load(t.delay),this.duration.load(t.duration))}}const $s=0,Yz=-1,hv=0,dv=0;function Gz(n,t,a){if(!n.life)return;const o=n.life;let r=!1;if(n.spawning)if(o.delayTime+=t.value,o.delayTime>=n.life.delay)r=!0,n.spawning=!1,o.delayTime=$s,o.time=$s;else return;if(o.duration===Yz||n.spawning||(r?o.time=$s:o.time+=t.value,o.time<o.duration))return;if(o.time=$s,n.life.count>hv&&n.life.count--,n.life.count===hv){n.destroy();return}const u=bt(dv,a.width),c=bt(dv,a.width);n.position.x=Ue(u),n.position.y=Ue(c),n.spawning=!0,o.delayTime=$s,o.time=$s,n.reset();const d=n.options.life;d&&(o.delay=et(d.delay.value)*me,o.duration=et(d.duration.value)*me)}const rs=0,mv=1,pv=-1;class Xz{constructor(t){this.container=t}init(t){const a=this.container,o=t.options,r=o.life;r&&(t.life={delay:a.retina.reduceFactor?et(r.delay.value)*(r.delay.sync?mv:Ct())/a.retina.reduceFactor*me:rs,delayTime:rs,duration:a.retina.reduceFactor?et(r.duration.value)*(r.duration.sync?mv:Ct())/a.retina.reduceFactor*me:rs,time:rs,count:r.count},t.life.duration<=rs&&(t.life.duration=pv),t.life.count<=rs&&(t.life.count=pv),t.life&&(t.spawning=t.life.delay>rs))}isEnabled(t){return!t.destroyed}loadOptions(t,...a){t.life||(t.life=new Pz);for(const o of a)t.life.load(o?.life)}update(t,a){!this.isEnabled(t)||!t.life||Gz(t,a,this.container.canvas.size)}}async function Qz(n,t=!0){n.checkVersion("3.9.1"),await n.addParticleUpdater("life",async a=>Promise.resolve(new Xz(a)),t)}function Zz(n){const{context:t,particle:a,radius:o}=n,r=a.shapeData,u=0;t.moveTo(-o,u),t.lineTo(o,u),t.lineCap=r?.cap??"butt"}const Kz=1;class Fz{constructor(){this.validTypes=["line"]}draw(t){Zz(t)}getSidesCount(){return Kz}}async function Jz(n,t=!0){n.checkVersion("3.9.1"),await n.addShape(new Fz,t)}const yv=.5;class $z{init(){}isEnabled(t){return!ts()&&!t.destroyed&&t.container.actualOptions.interactivity.events.onHover.parallax.enable}move(t){const a=t.container,o=a.actualOptions,r=o.interactivity.events.onHover.parallax;if(ts()||!r.enable)return;const u=r.force,c=a.interactivity.mouse.position;if(!c)return;const d=a.canvas.size,m={x:d.width*yv,y:d.height*yv},p=r.smooth,y=t.getRadius()/u,v={x:(c.x-m.x)*y,y:(c.y-m.y)*y},{offset:S}=t;S.x+=(v.x-S.x)/p,S.y+=(v.y-S.y)/p}}async function Iz(n,t=!0){n.checkVersion("3.9.1"),await n.addMover("parallax",()=>Promise.resolve(new $z),t)}const gv=1e3,Wz=1;class tO extends lf{constructor(t){super(t)}clear(){}init(){}interact(t){const a=this.container;t.attractDistance===void 0&&(t.attractDistance=et(t.options.move.attract.distance)*a.retina.pixelRatio);const o=t.attractDistance,r=t.getPosition(),u=a.particles.quadTree.queryCircle(r,o);for(const c of u){if(t===c||!c.options.move.attract.enable||c.destroyed||c.spawning)continue;const d=c.getPosition(),{dx:m,dy:p}=Te(r,d),y=t.options.move.attract.rotate,v=m/(y.x*gv),S=p/(y.y*gv),x=c.size.value/t.size.value,w=Wz/x;t.velocity.x-=v*x,t.velocity.y-=S*x,c.velocity.x+=v*w,c.velocity.y+=S*w}}isEnabled(t){return t.options.move.attract.enable}reset(){}}async function eO(n,t=!0){n.checkVersion("3.9.1"),await n.addInteractor("particlesAttract",a=>Promise.resolve(new tO(a)),t)}const iO=.5,nO=10,sO=0;function vv(n,t,a,o,r,u){const c=ei(n.options.collisions.absorb.speed*r.factor/nO,sO,o);n.size.value+=c*iO,a.size.value-=c,o<=u&&(a.size.value=0,a.destroy())}function aO(n,t,a,o){const r=n.getRadius(),u=t.getRadius();r===void 0&&u!==void 0?n.destroy():r!==void 0&&u===void 0?t.destroy():r!==void 0&&u!==void 0&&(r>=u?vv(n,r,t,u,a,o):vv(t,u,n,r,a,o))}const bv=n=>{n.collisionMaxSpeed===void 0&&(n.collisionMaxSpeed=et(n.options.collisions.maxSpeed)),n.velocity.length>n.collisionMaxSpeed&&(n.velocity.length=n.collisionMaxSpeed)};function Sv(n,t){Sg(Kc(n),Kc(t)),bv(n),bv(t)}function oO(n,t){!n.unbreakable&&!t.unbreakable&&Sv(n,t),n.getRadius()===void 0&&t.getRadius()!==void 0?n.destroy():n.getRadius()!==void 0&&t.getRadius()===void 0?t.destroy():n.getRadius()!==void 0&&t.getRadius()!==void 0&&(n.getRadius()>=t.getRadius()?t:n).destroy()}function lO(n,t,a,o){switch(n.options.collisions.mode){case Gs.absorb:{aO(n,t,a,o);break}case Gs.bounce:{Sv(n,t);break}case Gs.destroy:{oO(n,t);break}}}const rO=2;class uO extends lf{constructor(t){super(t)}clear(){}init(){}interact(t,a){if(t.destroyed||t.spawning)return;const o=this.container,r=t.getPosition(),u=t.getRadius(),c=o.particles.quadTree.queryCircle(r,u*rO);for(const d of c){if(t===d||!d.options.collisions.enable||t.options.collisions.mode!==d.options.collisions.mode||d.destroyed||d.spawning)continue;const m=d.getPosition(),p=d.getRadius();if(Math.abs(Math.round(r.z)-Math.round(m.z))>u+p)continue;const y=Ne(r,m),v=u+p;y>v||lO(t,d,a,o.retina.pixelRatio)}}isEnabled(t){return t.options.collisions.enable}reset(){}}async function cO(n,t=!0){n.checkVersion("3.9.1"),await n.addInteractor("particlesCollisions",a=>Promise.resolve(new uO(a)),t)}const gf=2;class fO extends be{constructor(t,a,o,r){super(t,a,o),this.canvasSize=r,this.canvasSize={...r}}contains(t){const{width:a,height:o}=this.canvasSize,{x:r,y:u}=t;return super.contains(t)||super.contains({x:r-a,y:u})||super.contains({x:r-a,y:u-o})||super.contains({x:r,y:u-o})}intersects(t){if(super.intersects(t))return!0;const a=t,o=t,r={x:t.position.x-this.canvasSize.width,y:t.position.y-this.canvasSize.height};if(o.radius!==void 0){const u=new be(r.x,r.y,o.radius*gf);return super.intersects(u)}else if(a.size!==void 0){const u=new vi(r.x,r.y,a.size.width*gf,a.size.height*gf);return super.intersects(u)}return!1}}class hO{constructor(){this.blur=5,this.color=new ve,this.color.value="#000",this.enable=!1}load(t){X(t)||(t.blur!==void 0&&(this.blur=t.blur),this.color=ve.create(this.color,t.color),t.enable!==void 0&&(this.enable=t.enable))}}class dO{constructor(){this.enable=!1,this.frequency=1}load(t){X(t)||(t.color!==void 0&&(this.color=ve.create(this.color,t.color)),t.enable!==void 0&&(this.enable=t.enable),t.frequency!==void 0&&(this.frequency=t.frequency),t.opacity!==void 0&&(this.opacity=t.opacity))}}class mO{constructor(){this.blink=!1,this.color=new ve,this.color.value="#fff",this.consent=!1,this.distance=100,this.enable=!1,this.frequency=1,this.opacity=1,this.shadow=new hO,this.triangles=new dO,this.width=1,this.warp=!1}load(t){X(t)||(t.id!==void 0&&(this.id=t.id),t.blink!==void 0&&(this.blink=t.blink),this.color=ve.create(this.color,t.color),t.consent!==void 0&&(this.consent=t.consent),t.distance!==void 0&&(this.distance=t.distance),t.enable!==void 0&&(this.enable=t.enable),t.frequency!==void 0&&(this.frequency=t.frequency),t.opacity!==void 0&&(this.opacity=t.opacity),this.shadow.load(t.shadow),this.triangles.load(t.triangles),t.width!==void 0&&(this.width=t.width),t.warp!==void 0&&(this.warp=t.warp))}}const xv=2,pO=1,jl={x:0,y:0},yO=0;function gO(n,t,a,o,r){const{dx:u,dy:c,distance:d}=Te(n,t);if(!r||d<=a)return d;const m={x:Math.abs(u),y:Math.abs(c)},p={x:Math.min(m.x,o.width-m.x),y:Math.min(m.y,o.height-m.y)};return Math.sqrt(p.x**xv+p.y**xv)}class vO extends lf{constructor(t,a){super(t),this._setColor=o=>{if(!o.options.links)return;const r=this._linkContainer,u=o.options.links;let c=u.id===void 0?r.particles.linksColor:r.particles.linksColors.get(u.id);if(c)return;const d=u.color;c=Eg(this._engine,d,u.blink,u.consent),u.id===void 0?r.particles.linksColor=c:r.particles.linksColors.set(u.id,c)},this._linkContainer=t,this._engine=a}clear(){}init(){this._linkContainer.particles.linksColor=void 0,this._linkContainer.particles.linksColors=new Map}interact(t){if(!t.options.links)return;t.links=[];const a=t.getPosition(),o=this.container,r=o.canvas.size;if(a.x<jl.x||a.y<jl.y||a.x>r.width||a.y>r.height)return;const u=t.options.links,c=u.opacity,d=t.retina.linksDistance??yO,m=u.warp;let p;m?p=new fO(a.x,a.y,d,r):p=new be(a.x,a.y,d);const y=o.particles.quadTree.query(p);for(const v of y){const S=v.options.links;if(t===v||!S?.enable||u.id!==S.id||v.spawning||v.destroyed||!v.links||t.links.some(A=>A.destination===v)||v.links.some(A=>A.destination===t))continue;const x=v.getPosition();if(x.x<jl.x||x.y<jl.y||x.x>r.width||x.y>r.height)continue;const w=gO(a,x,d,r,m&&S.warp);if(w>d)continue;const C=(pO-w/d)*c;this._setColor(t),t.links.push({destination:v,opacity:C})}}isEnabled(t){return!!t.options.links?.enable}loadParticlesOptions(t,...a){t.links||(t.links=new mO);for(const o of a)t.links.load(o?.links)}reset(){}}async function bO(n,t=!0){await n.addInteractor("particlesLinks",async a=>Promise.resolve(new vO(a,n)),t)}function SO(n,t,a,o){n.beginPath(),n.moveTo(t.x,t.y),n.lineTo(a.x,a.y),n.lineTo(o.x,o.y),n.closePath()}function xO(n){let t=!1;const{begin:a,end:o,engine:r,maxDistance:u,context:c,canvasSize:d,width:m,backgroundMask:p,colorLine:y,opacity:v,links:S}=n;if(Ne(a,o)<=u)so(c,a,o),t=!0;else if(S.warp){let w,C;const A={x:o.x-d.width,y:o.y},R=Te(a,A);if(R.distance<=u){const L=a.y-R.dy/R.dx*a.x;w={x:0,y:L},C={x:d.width,y:L}}else{const L={x:o.x,y:o.y-d.height},B=Te(a,L);if(B.distance<=u){const Y=-(a.y-B.dy/B.dx*a.x)/(B.dy/B.dx);w={x:Y,y:0},C={x:Y,y:d.height}}else{const H={x:o.x-d.width,y:o.y-d.height},Y=Te(a,H);if(Y.distance<=u){const K=a.y-Y.dy/Y.dx*a.x;w={x:-K/(Y.dy/Y.dx),y:K},C={x:w.x+d.width,y:w.y+d.height}}}}w&&C&&(so(c,a,w),so(c,o,C),t=!0)}if(!t)return;c.lineWidth=m,p.enable&&(c.globalCompositeOperation=p.composite),c.strokeStyle=Hi(y,v);const{shadow:x}=S;if(x.enable){const w=yi(r,x.color);w&&(c.shadowBlur=x.blur,c.shadowColor=Hi(w))}c.stroke()}function TO(n){const{context:t,pos1:a,pos2:o,pos3:r,backgroundMask:u,colorTriangle:c,opacityTriangle:d}=n;SO(t,a,o,r),u.enable&&(t.globalCompositeOperation=u.composite),t.fillStyle=Hi(c,d),t.fill()}function wO(n){return n.sort((t,a)=>t-a),n.join("_")}function Tv(n,t){const a=wO(n.map(r=>r.id));let o=t.get(a);return o===void 0&&(o=Ct(),t.set(a,o)),o}const wv=0,vf=0,Mv=0,MO=.5,_O=1;class CO{constructor(t,a){this._drawLinkLine=(o,r)=>{const u=o.options.links;if(!u?.enable)return;const c=this._container,d=c.actualOptions,m=r.destination,p=o.getPosition(),y=m.getPosition();let v=r.opacity;c.canvas.draw(S=>{let x;const w=o.options.twinkle?.lines;if(w?.enable){const L=w.frequency,B=yi(this._engine,w.color);Ct()<L&&B&&(x=B,v=et(w.opacity))}if(!x){const L=u.id!==void 0?c.particles.linksColors.get(u.id):c.particles.linksColor;x=Ic(o,m,L)}if(!x)return;const C=o.retina.linksWidth??vf,A=o.retina.linksDistance??Mv,{backgroundMask:R}=d;xO({context:S,width:C,begin:p,end:y,engine:this._engine,maxDistance:A,canvasSize:c.canvas.size,links:u,backgroundMask:R,colorLine:x,opacity:v})})},this._drawLinkTriangle=(o,r,u)=>{const c=o.options.links;if(!c?.enable)return;const d=c.triangles;if(!d.enable)return;const m=this._container,p=m.actualOptions,y=r.destination,v=u.destination,S=d.opacity??(r.opacity+u.opacity)*MO;S<=wv||m.canvas.draw(x=>{const w=o.getPosition(),C=y.getPosition(),A=v.getPosition(),R=o.retina.linksDistance??Mv;if(Ne(w,C)>R||Ne(A,C)>R||Ne(A,w)>R)return;let L=yi(this._engine,d.color);if(!L){const B=c.id!==void 0?m.particles.linksColors.get(c.id):m.particles.linksColor;L=Ic(o,y,B)}L&&TO({context:x,pos1:w,pos2:C,pos3:A,backgroundMask:p.backgroundMask,colorTriangle:L,opacityTriangle:S})})},this._drawTriangles=(o,r,u,c)=>{const d=u.destination;if(!(o.links?.triangles.enable&&d.options.links?.triangles.enable))return;const m=d.links?.filter(p=>{const y=this._getLinkFrequency(d,p.destination);return d.options.links&&y<=d.options.links.frequency&&c.findIndex(S=>S.destination===p.destination)>=0});if(m?.length)for(const p of m){const y=p.destination;this._getTriangleFrequency(r,d,y)>o.links.triangles.frequency||this._drawLinkTriangle(r,u,p)}},this._getLinkFrequency=(o,r)=>Tv([o,r],this._freqs.links),this._getTriangleFrequency=(o,r,u)=>Tv([o,r,u],this._freqs.triangles),this._container=t,this._engine=a,this._freqs={links:new Map,triangles:new Map}}drawParticle(t,a){const{links:o,options:r}=a;if(!o?.length)return;const u=o.filter(c=>r.links&&(r.links.frequency>=_O||this._getLinkFrequency(a,c.destination)<=r.links.frequency));for(const c of u)this._drawTriangles(r,a,c,u),c.opacity>wv&&(a.retina.linksWidth??vf)>vf&&this._drawLinkLine(a,c)}async init(){this._freqs.links=new Map,this._freqs.triangles=new Map,await Promise.resolve()}particleCreated(t){if(t.links=[],!t.options.links)return;const a=this._container.retina.pixelRatio,{retina:o}=t,{distance:r,width:u}=t.options.links;o.linksDistance=r*a,o.linksWidth=u*a}particleDestroyed(t){t.links=[]}}class EO{constructor(t){this.id="links",this._engine=t}getPlugin(t){return Promise.resolve(new CO(t,this._engine))}loadOptions(){}needsPlugin(){return!0}}async function AO(n,t=!0){const a=new EO(n);await n.addPlugin(a,t)}async function DO(n,t=!0){n.checkVersion("3.9.1"),await bO(n,t),await AO(n,t)}const zO=180,Pl={x:0,y:0},OO=2;function RO(n,t,a){const{context:o}=n,r=a.count.numerator*a.count.denominator,u=a.count.numerator/a.count.denominator,c=zO*(u-OO)/u,d=Math.PI-mn(c);if(o){o.beginPath(),o.translate(t.x,t.y),o.moveTo(Pl.x,Pl.y);for(let m=0;m<r;m++)o.lineTo(a.length,Pl.y),o.translate(a.length,Pl.y),o.rotate(d)}}const VO=5;class _v{draw(t){const{particle:a,radius:o}=t,r=this.getCenter(a,o),u=this.getSidesData(a,o);RO(t,r,u)}getSidesCount(t){const a=t.shapeData;return Math.round(et(a?.sides??VO))}}const Cv=3.5,Ev=2.66,BO=3;class LO extends _v{constructor(){super(...arguments),this.validTypes=["polygon"]}getCenter(t,a){return{x:-a/(t.sides/Cv),y:-a/(Ev/Cv)}}getSidesData(t,a){const o=t.sides;return{count:{denominator:1,numerator:o},length:a*Ev/(o/BO)}}}const kO=1.66,UO=3,NO=2;class HO extends _v{constructor(){super(...arguments),this.validTypes=["triangle"]}getCenter(t,a){return{x:-a,y:a/kO}}getSidesCount(){return UO}getSidesData(t,a){const o=a*NO;return{count:{denominator:2,numerator:3},length:o}}}async function qO(n,t=!0){n.checkVersion("3.9.1"),await n.addShape(new LO,t)}async function jO(n,t=!0){n.checkVersion("3.9.1"),await n.addShape(new HO,t)}async function PO(n,t=!0){n.checkVersion("3.9.1"),await qO(n,t),await jO(n,t)}class YO{constructor(){this.enable=!1,this.speed=0,this.decay=0,this.sync=!1}load(t){X(t)||(t.enable!==void 0&&(this.enable=t.enable),t.speed!==void 0&&(this.speed=bt(t.speed)),t.decay!==void 0&&(this.decay=bt(t.decay)),t.sync!==void 0&&(this.sync=t.sync))}}class GO extends is{constructor(){super(),this.animation=new YO,this.direction=bi.clockwise,this.path=!1,this.value=0}load(t){X(t)||(super.load(t),t.direction!==void 0&&(this.direction=t.direction),this.animation.load(t.animation),t.path!==void 0&&(this.path=t.path))}}const Av=2,XO=Math.PI*Av,QO=1,ZO=360;class KO{constructor(t){this.container=t}init(t){const a=t.options.rotate;if(!a)return;t.rotate={enable:a.animation.enable,value:mn(et(a.value)),min:0,max:XO},t.pathRotation=a.path;let o=a.direction;switch(o===bi.random&&(o=Math.floor(Ct()*Av)>0?bi.counterClockwise:bi.clockwise),o){case bi.counterClockwise:case"counterClockwise":t.rotate.status=Zt.decreasing;break;case bi.clockwise:t.rotate.status=Zt.increasing;break}const r=a.animation;r.enable&&(t.rotate.decay=QO-et(r.decay),t.rotate.velocity=et(r.speed)/ZO*this.container.retina.reduceFactor,r.sync||(t.rotate.velocity*=Ct())),t.rotation=t.rotate.value}isEnabled(t){const a=t.options.rotate;return a?!t.destroyed&&!t.spawning&&(!!a.value||a.animation.enable||a.path):!1}loadOptions(t,...a){t.rotate||(t.rotate=new GO);for(const o of a)t.rotate.load(o?.rotate)}update(t,a){this.isEnabled(t)&&(t.isRotating=!!t.rotate,t.rotate&&(Fc(t,t.rotate,!1,In.none,a),t.rotation=t.rotate.value))}}async function FO(n,t=!0){n.checkVersion("3.9.1"),await n.addParticleUpdater("rotate",a=>Promise.resolve(new KO(a)),t)}const JO=2,$O=Math.sqrt(JO),IO=2;function WO(n){const{context:t,radius:a}=n,o=a/$O,r=o*IO;t.rect(-o,-o,r,r)}const t2=4;class e2{constructor(){this.validTypes=["edge","square"]}draw(t){WO(t)}getSidesCount(){return t2}}async function i2(n,t=!0){n.checkVersion("3.9.1"),await n.addShape(new e2,t)}const n2=2,Is={x:0,y:0};function s2(n){const{context:t,particle:a,radius:o}=n,r=a.sides,u=a.starInset??n2;t.moveTo(Is.x,Is.y-o);for(let c=0;c<r;c++)t.rotate(Math.PI/r),t.lineTo(Is.x,Is.y-o*u),t.rotate(Math.PI/r),t.lineTo(Is.x,Is.y-o)}const a2=2,o2=5;class l2{constructor(){this.validTypes=["star"]}draw(t){s2(t)}getSidesCount(t){const a=t.shapeData;return Math.round(et(a?.sides??o2))}particleInit(t,a){const o=a.shapeData;a.starInset=et(o?.inset??a2)}}async function r2(n,t=!0){n.checkVersion("3.9.1"),await n.addShape(new l2,t)}const u2=1;class c2{constructor(t,a){this._container=t,this._engine=a}init(t){const a=this._container,o=t.options,r=ii(o.stroke,t.id,o.reduceDuplicates);t.strokeWidth=et(r.width)*a.retina.pixelRatio,t.strokeOpacity=et(r.opacity??u2),t.strokeAnimation=r.color?.animation;const u=io(this._engine,r.color)??t.getFillColor();u&&(t.strokeColor=Dg(u,t.strokeAnimation,a.retina.reduceFactor))}isEnabled(t){const a=t.strokeAnimation,{strokeColor:o}=t;return!t.destroyed&&!t.spawning&&!!a&&(o?.h.value!==void 0&&o.h.enable||o?.s.value!==void 0&&o.s.enable||o?.l.value!==void 0&&o.l.enable)}update(t,a){this.isEnabled(t)&&zg(t.strokeColor,a)}}async function f2(n,t=!0){n.checkVersion("3.9.1"),await n.addParticleUpdater("strokeColor",a=>Promise.resolve(new c2(a,n)),t)}async function h2(n,t=!0){n.checkVersion("3.9.1"),await Iz(n,!1),await iD(n,!1),await fD(n,!1),await bD(n,!1),await DD(n,!1),await HD(n,!1),await PD(n,!1),await ZD(n,!1),await $D(n,!1),await rz(n,!1),await dz(n,!1),await eO(n,!1),await cO(n,!1),await DO(n,!1),await QA(n,!1),await FA(n,!1),await Hz(n,!1),await Jz(n,!1),await PO(n,!1),await i2(n,!1),await r2(n,!1),await Qz(n,!1),await FO(n,!1),await f2(n,!1),await XA(n,t)}window.React=Rx,window.ReactDOM={createRoot:Hx.createRoot},window.Motion={motion:v_,useAnimation:w_,AnimatePresence:dM},window.Particles=JE,window.Particles.initParticlesEngine=$E,window.TSParticlesSlim={loadSlim:h2}})();