frankenstyle 0.1.0-aardvark.0 → 0.1.0-aardvark.2
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.
- package/dist/css/frankenstyle-kit-standalone.css +3 -0
- package/dist/css/frankenstyle-kit-standalone.min.css +1 -1
- package/dist/css/frankenstyle-kit.css +3 -0
- package/dist/css/frankenstyle-kit.min.css +1 -1
- package/dist/js/ft/animated-testimonials.iife.js +1 -0
- package/dist/js/ft/bg-boxes.iife.js +1 -0
- package/dist/js/ft/sparkles.iife.js +1 -0
- package/dist/js/ft-core.iife.js +251 -0
- package/package.json +21 -5
|
@@ -0,0 +1,251 @@
|
|
|
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(`
|
|
18
|
+
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&>("scroll",l),f.onScrollEnd!=null&>("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&>("scroll",i);break;case"onScrollEnd":f!=null&>("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&>("scroll",i);break;case"onScrollEnd":f!=null&>("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}"] {
|
|
245
|
+
position: absolute !important;
|
|
246
|
+
width: ${_}px !important;
|
|
247
|
+
height: ${w}px !important;
|
|
248
|
+
${$}px !important;
|
|
249
|
+
${le}px !important;
|
|
250
|
+
}
|
|
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}})();
|