@scenar/cli 0.9.0 → 0.9.1

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.
Files changed (52) hide show
  1. package/example-bundle/assets/index-DlmG1Uh7.js +388 -0
  2. package/example-bundle/assets/{style-YRMeJPPX.css → style-BjquDnTE.css} +1 -1
  3. package/example-bundle/index.html +2 -2
  4. package/example-bundle/pack-manifest.json +9 -9
  5. package/example-bundle/scenario.json +6 -2
  6. package/package.json +4 -4
  7. package/src/__tests__/collect-pack-shots.test.ts +97 -0
  8. package/src/__tests__/pack-manifest.test.ts +17 -0
  9. package/src/__tests__/read-shots.test.ts +57 -0
  10. package/src/__tests__/run-shoot.test.ts +51 -2
  11. package/src/bundle/read-shots.d.ts +28 -0
  12. package/src/bundle/read-shots.d.ts.map +1 -0
  13. package/src/bundle/read-shots.js +28 -0
  14. package/src/bundle/read-shots.js.map +1 -0
  15. package/src/bundle/read-shots.ts +38 -0
  16. package/src/pack/build.d.ts +33 -1
  17. package/src/pack/build.d.ts.map +1 -1
  18. package/src/pack/build.js +35 -10
  19. package/src/pack/build.js.map +1 -1
  20. package/src/pack/build.ts +63 -17
  21. package/src/pack/collect-pack-shots.d.ts +40 -0
  22. package/src/pack/collect-pack-shots.d.ts.map +1 -0
  23. package/src/pack/collect-pack-shots.js +59 -0
  24. package/src/pack/collect-pack-shots.js.map +1 -0
  25. package/src/pack/collect-pack-shots.ts +76 -0
  26. package/src/pack/generate-embed-entry.d.ts +7 -0
  27. package/src/pack/generate-embed-entry.d.ts.map +1 -1
  28. package/src/pack/generate-embed-entry.js +10 -2
  29. package/src/pack/generate-embed-entry.js.map +1 -1
  30. package/src/pack/generate-embed-entry.ts +11 -2
  31. package/src/pack/pack-manifest.d.ts +12 -3
  32. package/src/pack/pack-manifest.d.ts.map +1 -1
  33. package/src/pack/pack-manifest.js +13 -3
  34. package/src/pack/pack-manifest.js.map +1 -1
  35. package/src/pack/pack-manifest.ts +13 -2
  36. package/src/pack/run-pack.d.ts +6 -0
  37. package/src/pack/run-pack.d.ts.map +1 -1
  38. package/src/pack/run-pack.js +41 -14
  39. package/src/pack/run-pack.js.map +1 -1
  40. package/src/pack/run-pack.ts +55 -14
  41. package/src/shoot/run-shoot.d.ts +6 -0
  42. package/src/shoot/run-shoot.d.ts.map +1 -1
  43. package/src/shoot/run-shoot.js +18 -0
  44. package/src/shoot/run-shoot.js.map +1 -1
  45. package/src/shoot/run-shoot.ts +19 -0
  46. package/src/util/load-ts.d.ts +12 -2
  47. package/src/util/load-ts.d.ts.map +1 -1
  48. package/src/util/load-ts.js +25 -10
  49. package/src/util/load-ts.js.map +1 -1
  50. package/src/util/load-ts.ts +25 -11
  51. package/tsconfig.tsbuildinfo +1 -1
  52. package/example-bundle/assets/index-BoIR0_nN.js +0 -147
@@ -0,0 +1,388 @@
1
+ var vy={exports:{}},Wf={},by={exports:{}},Tu={exports:{}};Tu.exports;var VE;function RO(){return VE||(VE=1,function(o,i){/**
2
+ * @license React
3
+ * react.development.js
4
+ *
5
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
6
+ *
7
+ * This source code is licensed under the MIT license found in the
8
+ * LICENSE file in the root directory of this source tree.
9
+ */(function(){function l(E,U){Object.defineProperty(p.prototype,E,{get:function(){console.warn("%s(...) is deprecated in plain JavaScript React classes. %s",U[0],U[1])}})}function u(E){return E===null||typeof E!="object"?null:(E=ia&&E[ia]||E["@@iterator"],typeof E=="function"?E:null)}function f(E,U){E=(E=E.constructor)&&(E.displayName||E.name)||"ReactClass";var W=E+"."+U;xa[W]||(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.",U,E),xa[W]=!0)}function p(E,U,W){this.props=E,this.context=U,this.refs=Qe,this.updater=W||no}function h(){}function m(E,U,W){this.props=E,this.context=U,this.refs=Qe,this.updater=W||no}function S(){}function x(E){return""+E}function T(E){try{x(E);var U=!1}catch{U=!0}if(U){U=console;var W=U.error,ae=typeof Symbol=="function"&&Symbol.toStringTag&&E[Symbol.toStringTag]||E.constructor.name||"Object";return W.call(U,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",ae),x(E)}}function v(E){if(E==null)return null;if(typeof E=="function")return E.$$typeof===qr?null:E.displayName||E.name||null;if(typeof E=="string")return E;switch(E){case O:return"Fragment";case be:return"Profiler";case te:return"StrictMode";case Re:return"Suspense";case st:return"SuspenseList";case ue: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 Me:return"Portal";case Xe:return E.displayName||"Context";case de:return(E._context.displayName||"Context")+".Consumer";case pn:var U=E.render;return E=E.displayName,E||(E=U.displayName||U.name||"",E=E!==""?"ForwardRef("+E+")":"ForwardRef"),E;case Et:return U=E.displayName||null,U!==null?U:v(E.type)||"Memo";case xn:U=E._payload,E=E._init;try{return v(E(U))}catch{}}return null}function g(E){if(E===O)return"<>";if(typeof E=="object"&&E!==null&&E.$$typeof===xn)return"<...>";try{var U=v(E);return U?"<"+U+">":"<...>"}catch{return"<...>"}}function w(){var E=he.A;return E===null?null:E.getOwner()}function A(){return Error("react-stack-top-frame")}function L(E){if(Bo.call(E,"key")){var U=Object.getOwnPropertyDescriptor(E,"key").get;if(U&&U.isReactWarning)return!1}return E.key!==void 0}function V(E,U){function W(){ao||(ao=!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)",U))}W.isReactWarning=!0,Object.defineProperty(E,"key",{get:W,configurable:!0})}function B(){var E=v(this.type);return As[E]||(As[E]=!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.")),E=this.props.ref,E!==void 0?E:null}function G(E,U,W,ae,me,Oe){var ge=W.ref;return E={$$typeof:ve,type:E,key:U,props:W,_owner:ae},(ge!==void 0?ge:null)!==null?Object.defineProperty(E,"ref",{enumerable:!1,get:B}):Object.defineProperty(E,"ref",{enumerable:!1,value:null}),E._store={},Object.defineProperty(E._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(E,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(E,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:me}),Object.defineProperty(E,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:Oe}),Object.freeze&&(Object.freeze(E.props),Object.freeze(E)),E}function P(E,U){return U=G(E.type,U,E.props,E._owner,E._debugStack,E._debugTask),E._store&&(U._store.validated=E._store.validated),U}function F(E){ne(E)?E._store&&(E._store.validated=1):typeof E=="object"&&E!==null&&E.$$typeof===xn&&(E._payload.status==="fulfilled"?ne(E._payload.value)&&E._payload.value._store&&(E._payload.value._store.validated=1):E._store&&(E._store.validated=1))}function ne(E){return typeof E=="object"&&E!==null&&E.$$typeof===ve}function le(E){var U={"=":"=0",":":"=2"};return"$"+E.replace(/[=:]/g,function(W){return U[W]})}function ie(E,U){return typeof E=="object"&&E!==null&&E.key!=null?(T(E.key),le(""+E.key)):U.toString(36)}function I(E){switch(E.status){case"fulfilled":return E.value;case"rejected":throw E.reason;default:switch(typeof E.status=="string"?E.then(S,S):(E.status="pending",E.then(function(U){E.status==="pending"&&(E.status="fulfilled",E.value=U)},function(U){E.status==="pending"&&(E.status="rejected",E.reason=U)})),E.status){case"fulfilled":return E.value;case"rejected":throw E.reason}}throw E}function X(E,U,W,ae,me){var Oe=typeof E;(Oe==="undefined"||Oe==="boolean")&&(E=null);var ge=!1;if(E===null)ge=!0;else switch(Oe){case"bigint":case"string":case"number":ge=!0;break;case"object":switch(E.$$typeof){case ve:case Me:ge=!0;break;case xn:return ge=E._init,X(ge(E._payload),U,W,ae,me)}}if(ge){ge=E,me=me(ge);var Pe=ae===""?"."+ie(ge,0):ae;return Lo(me)?(W="",Pe!=null&&(W=Pe.replace(zi,"$&/")+"/"),X(me,U,W,"",function(tn){return tn})):me!=null&&(ne(me)&&(me.key!=null&&(ge&&ge.key===me.key||T(me.key)),W=P(me,W+(me.key==null||ge&&ge.key===me.key?"":(""+me.key).replace(zi,"$&/")+"/")+Pe),ae!==""&&ge!=null&&ne(ge)&&ge.key==null&&ge._store&&!ge._store.validated&&(W._store.validated=2),me=W),U.push(me)),1}if(ge=0,Pe=ae===""?".":ae+":",Lo(E))for(var _e=0;_e<E.length;_e++)ae=E[_e],Oe=Pe+ie(ae,_e),ge+=X(ae,U,W,Oe,me);else if(_e=u(E),typeof _e=="function")for(_e===E.entries&&(sa||console.warn("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),sa=!0),E=_e.call(E),_e=0;!(ae=E.next()).done;)ae=ae.value,Oe=Pe+ie(ae,_e++),ge+=X(ae,U,W,Oe,me);else if(Oe==="object"){if(typeof E.then=="function")return X(I(E),U,W,ae,me);throw U=String(E),Error("Objects are not valid as a React child (found: "+(U==="[object Object]"?"object with keys {"+Object.keys(E).join(", ")+"}":U)+"). If you meant to render a collection of children, use an array instead.")}return ge}function q(E,U,W){if(E==null)return E;var ae=[],me=0;return X(E,ae,"","",function(Oe){return U.call(W,Oe,me++)}),ae}function ee(E){if(E._status===-1){var U=E._ioInfo;U!=null&&(U.start=U.end=performance.now()),U=E._result;var W=U();if(W.then(function(me){if(E._status===0||E._status===-1){E._status=1,E._result=me;var Oe=E._ioInfo;Oe!=null&&(Oe.end=performance.now()),W.status===void 0&&(W.status="fulfilled",W.value=me)}},function(me){if(E._status===0||E._status===-1){E._status=2,E._result=me;var Oe=E._ioInfo;Oe!=null&&(Oe.end=performance.now()),W.status===void 0&&(W.status="rejected",W.reason=me)}}),U=E._ioInfo,U!=null){U.value=W;var ae=W.displayName;typeof ae=="string"&&(U.name=ae)}E._status===-1&&(E._status=0,E._result=W)}if(E._status===1)return U=E._result,U===void 0&&console.error(`lazy: Expected the result of a dynamic import() call. Instead received: %s
10
+
11
+ Your code should look like:
12
+ const MyComponent = lazy(() => import('./MyComponent'))
13
+
14
+ Did you accidentally put curly braces around the import?`,U),"default"in U||console.error(`lazy: Expected the result of a dynamic import() call. Instead received: %s
15
+
16
+ Your code should look like:
17
+ const MyComponent = lazy(() => import('./MyComponent'))`,U),U.default;throw E._result}function J(){var E=he.H;return E===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:
18
+ 1. You might have mismatching versions of React and the renderer (such as React DOM)
19
+ 2. You might be breaking the Rules of Hooks
20
+ 3. You might have more than one copy of React in the same app
21
+ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`),E}function Z(){he.asyncTransitions--}function Se(E){if(oo===null)try{var U=("require"+Math.random()).slice(0,7);oo=(o&&o[U]).call(o,"timers").setImmediate}catch{oo=function(ae){Ni===!1&&(Ni=!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 me=new MessageChannel;me.port1.onmessage=ae,me.port2.postMessage(void 0)}}return oo(E)}function De(E){return 1<E.length&&typeof AggregateError=="function"?new AggregateError(E):E[0]}function Q(E,U){U!==ra-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. "),ra=U}function fe(E,U,W){var ae=he.actQueue;if(ae!==null)if(ae.length!==0)try{se(ae),Se(function(){return fe(E,U,W)});return}catch(me){he.thrownErrors.push(me)}else he.actQueue=null;0<he.thrownErrors.length?(ae=De(he.thrownErrors),he.thrownErrors.length=0,W(ae)):U(E)}function se(E){if(!so){so=!0;var U=0;try{for(;U<E.length;U++){var W=E[U];do{he.didUsePromise=!1;var ae=W(!1);if(ae!==null){if(he.didUsePromise){E[U]=W,E.splice(0,U);return}W=ae}else break}while(!0)}E.length=0}catch(me){E.splice(0,U+1),he.thrownErrors.push(me)}finally{so=!1}}}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var ve=Symbol.for("react.transitional.element"),Me=Symbol.for("react.portal"),O=Symbol.for("react.fragment"),te=Symbol.for("react.strict_mode"),be=Symbol.for("react.profiler"),de=Symbol.for("react.consumer"),Xe=Symbol.for("react.context"),pn=Symbol.for("react.forward_ref"),Re=Symbol.for("react.suspense"),st=Symbol.for("react.suspense_list"),Et=Symbol.for("react.memo"),xn=Symbol.for("react.lazy"),ue=Symbol.for("react.activity"),ia=Symbol.iterator,xa={},no={isMounted:function(){return!1},enqueueForceUpdate:function(E){f(E,"forceUpdate")},enqueueReplaceState:function(E){f(E,"replaceState")},enqueueSetState:function(E){f(E,"setState")}},Bn=Object.assign,Qe={};Object.freeze(Qe),p.prototype.isReactComponent={},p.prototype.setState=function(E,U){if(typeof E!="object"&&typeof E!="function"&&E!=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,E,U,"setState")},p.prototype.forceUpdate=function(E){this.updater.enqueueForceUpdate(this,E,"forceUpdate")};var Rt={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(mt in Rt)Rt.hasOwnProperty(mt)&&l(mt,Rt[mt]);h.prototype=p.prototype,Rt=m.prototype=new h,Rt.constructor=m,Bn(Rt,p.prototype),Rt.isPureReactComponent=!0;var Lo=Array.isArray,qr=Symbol.for("react.client.reference"),he={H:null,A:null,T:null,S:null,actQueue:null,asyncTransitions:0,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1,didUsePromise:!1,thrownErrors:[],getCurrentStack:null,recentlyCreatedOwnerStacks:0},Bo=Object.prototype.hasOwnProperty,kn=console.createTask?console.createTask:function(){return null};Rt={react_stack_bottom_frame:function(E){return E()}};var ao,Hn,As={},ko=Rt.react_stack_bottom_frame.bind(Rt,A)(),Ho=kn(g(A)),sa=!1,zi=/\/+/g,Yo=typeof reportError=="function"?reportError:function(E){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var U=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(U))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",E);return}console.error(E)},Ni=!1,oo=null,ra=0,io=!1,so=!1,We=typeof queueMicrotask=="function"?function(E){queueMicrotask(function(){return queueMicrotask(E)})}:Se;Rt=Object.freeze({__proto__:null,c:function(E){return J().useMemoCache(E)}});var mt={map:q,forEach:function(E,U,W){q(E,function(){U.apply(this,arguments)},W)},count:function(E){var U=0;return q(E,function(){U++}),U},toArray:function(E){return q(E,function(U){return U})||[]},only:function(E){if(!ne(E))throw Error("React.Children.only expected to receive a single React element child.");return E}};i.Activity=ue,i.Children=mt,i.Component=p,i.Fragment=O,i.Profiler=be,i.PureComponent=m,i.StrictMode=te,i.Suspense=Re,i.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=he,i.__COMPILER_RUNTIME=Rt,i.act=function(E){var U=he.actQueue,W=ra;ra++;var ae=he.actQueue=U!==null?U:[],me=!1;try{var Oe=E()}catch(_e){he.thrownErrors.push(_e)}if(0<he.thrownErrors.length)throw Q(U,W),E=De(he.thrownErrors),he.thrownErrors.length=0,E;if(Oe!==null&&typeof Oe=="object"&&typeof Oe.then=="function"){var ge=Oe;return We(function(){me||io||(io=!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(_e,tn){me=!0,ge.then(function(wa){if(Q(U,W),W===0){try{se(ae),Se(function(){return fe(wa,_e,tn)})}catch(Cs){he.thrownErrors.push(Cs)}if(0<he.thrownErrors.length){var Bu=De(he.thrownErrors);he.thrownErrors.length=0,tn(Bu)}}else _e(wa)},function(wa){Q(U,W),0<he.thrownErrors.length&&(wa=De(he.thrownErrors),he.thrownErrors.length=0),tn(wa)})}}}var Pe=Oe;if(Q(U,W),W===0&&(se(ae),ae.length!==0&&We(function(){me||io||(io=!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(() => ...)"))}),he.actQueue=null),0<he.thrownErrors.length)throw E=De(he.thrownErrors),he.thrownErrors.length=0,E;return{then:function(_e,tn){me=!0,W===0?(he.actQueue=ae,Se(function(){return fe(Pe,_e,tn)})):_e(Pe)}}},i.cache=function(E){return function(){return E.apply(null,arguments)}},i.cacheSignal=function(){return null},i.captureOwnerStack=function(){var E=he.getCurrentStack;return E===null?null:E()},i.cloneElement=function(E,U,W){if(E==null)throw Error("The argument must be a React element, but you passed "+E+".");var ae=Bn({},E.props),me=E.key,Oe=E._owner;if(U!=null){var ge;e:{if(Bo.call(U,"ref")&&(ge=Object.getOwnPropertyDescriptor(U,"ref").get)&&ge.isReactWarning){ge=!1;break e}ge=U.ref!==void 0}ge&&(Oe=w()),L(U)&&(T(U.key),me=""+U.key);for(Pe in U)!Bo.call(U,Pe)||Pe==="key"||Pe==="__self"||Pe==="__source"||Pe==="ref"&&U.ref===void 0||(ae[Pe]=U[Pe])}var Pe=arguments.length-2;if(Pe===1)ae.children=W;else if(1<Pe){ge=Array(Pe);for(var _e=0;_e<Pe;_e++)ge[_e]=arguments[_e+2];ae.children=ge}for(ae=G(E.type,me,ae,Oe,E._debugStack,E._debugTask),me=2;me<arguments.length;me++)F(arguments[me]);return ae},i.createContext=function(E){return E={$$typeof:Xe,_currentValue:E,_currentValue2:E,_threadCount:0,Provider:null,Consumer:null},E.Provider=E,E.Consumer={$$typeof:de,_context:E},E._currentRenderer=null,E._currentRenderer2=null,E},i.createElement=function(E,U,W){for(var ae=2;ae<arguments.length;ae++)F(arguments[ae]);ae={};var me=null;if(U!=null)for(_e in Hn||!("__self"in U)||"key"in U||(Hn=!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")),L(U)&&(T(U.key),me=""+U.key),U)Bo.call(U,_e)&&_e!=="key"&&_e!=="__self"&&_e!=="__source"&&(ae[_e]=U[_e]);var Oe=arguments.length-2;if(Oe===1)ae.children=W;else if(1<Oe){for(var ge=Array(Oe),Pe=0;Pe<Oe;Pe++)ge[Pe]=arguments[Pe+2];Object.freeze&&Object.freeze(ge),ae.children=ge}if(E&&E.defaultProps)for(_e in Oe=E.defaultProps,Oe)ae[_e]===void 0&&(ae[_e]=Oe[_e]);me&&V(ae,typeof E=="function"?E.displayName||E.name||"Unknown":E);var _e=1e4>he.recentlyCreatedOwnerStacks++;return G(E,me,ae,w(),_e?Error("react-stack-top-frame"):ko,_e?kn(g(E)):Ho)},i.createRef=function(){var E={current:null};return Object.seal(E),E},i.forwardRef=function(E){E!=null&&E.$$typeof===Et?console.error("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):typeof E!="function"?console.error("forwardRef requires a render function but was given %s.",E===null?"null":typeof E):E.length!==0&&E.length!==2&&console.error("forwardRef render functions accept exactly two parameters: props and ref. %s",E.length===1?"Did you forget to use the ref parameter?":"Any additional parameter will be undefined."),E!=null&&E.defaultProps!=null&&console.error("forwardRef render functions do not support defaultProps. Did you accidentally pass a React component?");var U={$$typeof:pn,render:E},W;return Object.defineProperty(U,"displayName",{enumerable:!1,configurable:!0,get:function(){return W},set:function(ae){W=ae,E.name||E.displayName||(Object.defineProperty(E,"name",{value:ae}),E.displayName=ae)}}),U},i.isValidElement=ne,i.lazy=function(E){E={_status:-1,_result:E};var U={$$typeof:xn,_payload:E,_init:ee},W={name:"lazy",start:-1,end:-1,value:null,owner:null,debugStack:Error("react-stack-top-frame"),debugTask:console.createTask?console.createTask("lazy()"):null};return E._ioInfo=W,U._debugInfo=[{awaited:W}],U},i.memo=function(E,U){E==null&&console.error("memo: The first argument must be a component. Instead received: %s",E===null?"null":typeof E),U={$$typeof:Et,type:E,compare:U===void 0?null:U};var W;return Object.defineProperty(U,"displayName",{enumerable:!1,configurable:!0,get:function(){return W},set:function(ae){W=ae,E.name||E.displayName||(Object.defineProperty(E,"name",{value:ae}),E.displayName=ae)}}),U},i.startTransition=function(E){var U=he.T,W={};W._updatedFibers=new Set,he.T=W;try{var ae=E(),me=he.S;me!==null&&me(W,ae),typeof ae=="object"&&ae!==null&&typeof ae.then=="function"&&(he.asyncTransitions++,ae.then(Z,Z),ae.then(S,Yo))}catch(Oe){Yo(Oe)}finally{U===null&&W._updatedFibers&&(E=W._updatedFibers.size,W._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.")),U!==null&&W.types!==null&&(U.types!==null&&U.types!==W.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."),U.types=W.types),he.T=U}},i.unstable_useCacheRefresh=function(){return J().useCacheRefresh()},i.use=function(E){return J().use(E)},i.useActionState=function(E,U,W){return J().useActionState(E,U,W)},i.useCallback=function(E,U){return J().useCallback(E,U)},i.useContext=function(E){var U=J();return E.$$typeof===de&&console.error("Calling useContext(Context.Consumer) is not supported and will cause bugs. Did you mean to call useContext(Context) instead?"),U.useContext(E)},i.useDebugValue=function(E,U){return J().useDebugValue(E,U)},i.useDeferredValue=function(E,U){return J().useDeferredValue(E,U)},i.useEffect=function(E,U){return E==null&&console.warn("React Hook useEffect requires an effect callback. Did you forget to pass a callback to the hook?"),J().useEffect(E,U)},i.useEffectEvent=function(E){return J().useEffectEvent(E)},i.useId=function(){return J().useId()},i.useImperativeHandle=function(E,U,W){return J().useImperativeHandle(E,U,W)},i.useInsertionEffect=function(E,U){return E==null&&console.warn("React Hook useInsertionEffect requires an effect callback. Did you forget to pass a callback to the hook?"),J().useInsertionEffect(E,U)},i.useLayoutEffect=function(E,U){return E==null&&console.warn("React Hook useLayoutEffect requires an effect callback. Did you forget to pass a callback to the hook?"),J().useLayoutEffect(E,U)},i.useMemo=function(E,U){return J().useMemo(E,U)},i.useOptimistic=function(E,U){return J().useOptimistic(E,U)},i.useReducer=function(E,U,W){return J().useReducer(E,U,W)},i.useRef=function(E){return J().useRef(E)},i.useState=function(E){return J().useState(E)},i.useSyncExternalStore=function(E,U,W){return J().useSyncExternalStore(E,U,W)},i.useTransition=function(){return J().useTransition()},i.version="19.2.5",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()}(Tu,Tu.exports)),Tu.exports}var UE;function zu(){return UE||(UE=1,by.exports=RO()),by.exports}var LE;function AO(){if(LE)return Wf;LE=1;/**
22
+ * @license React
23
+ * react-jsx-dev-runtime.development.js
24
+ *
25
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
26
+ *
27
+ * This source code is licensed under the MIT license found in the
28
+ * LICENSE file in the root directory of this source tree.
29
+ */return function(){function o(O){if(O==null)return null;if(typeof O=="function")return O.$$typeof===ee?null:O.displayName||O.name||null;if(typeof O=="string")return O;switch(O){case V:return"Fragment";case G:return"Profiler";case B:return"StrictMode";case le:return"Suspense";case ie:return"SuspenseList";case q:return"Activity"}if(typeof O=="object")switch(typeof O.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),O.$$typeof){case L:return"Portal";case F:return O.displayName||"Context";case P:return(O._context.displayName||"Context")+".Consumer";case ne:var te=O.render;return O=O.displayName,O||(O=te.displayName||te.name||"",O=O!==""?"ForwardRef("+O+")":"ForwardRef"),O;case I:return te=O.displayName||null,te!==null?te:o(O.type)||"Memo";case X:te=O._payload,O=O._init;try{return o(O(te))}catch{}}return null}function i(O){return""+O}function l(O){try{i(O);var te=!1}catch{te=!0}if(te){te=console;var be=te.error,de=typeof Symbol=="function"&&Symbol.toStringTag&&O[Symbol.toStringTag]||O.constructor.name||"Object";return be.call(te,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",de),i(O)}}function u(O){if(O===V)return"<>";if(typeof O=="object"&&O!==null&&O.$$typeof===X)return"<...>";try{var te=o(O);return te?"<"+te+">":"<...>"}catch{return"<...>"}}function f(){var O=J.A;return O===null?null:O.getOwner()}function p(){return Error("react-stack-top-frame")}function h(O){if(Z.call(O,"key")){var te=Object.getOwnPropertyDescriptor(O,"key").get;if(te&&te.isReactWarning)return!1}return O.key!==void 0}function m(O,te){function be(){Q||(Q=!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)",te))}be.isReactWarning=!0,Object.defineProperty(O,"key",{get:be,configurable:!0})}function S(){var O=o(this.type);return fe[O]||(fe[O]=!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.")),O=this.props.ref,O!==void 0?O:null}function x(O,te,be,de,Xe,pn){var Re=be.ref;return O={$$typeof:A,type:O,key:te,props:be,_owner:de},(Re!==void 0?Re:null)!==null?Object.defineProperty(O,"ref",{enumerable:!1,get:S}):Object.defineProperty(O,"ref",{enumerable:!1,value:null}),O._store={},Object.defineProperty(O._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(O,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(O,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:Xe}),Object.defineProperty(O,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:pn}),Object.freeze&&(Object.freeze(O.props),Object.freeze(O)),O}function T(O,te,be,de,Xe,pn){var Re=te.children;if(Re!==void 0)if(de)if(Se(Re)){for(de=0;de<Re.length;de++)v(Re[de]);Object.freeze&&Object.freeze(Re)}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 v(Re);if(Z.call(te,"key")){Re=o(O);var st=Object.keys(te).filter(function(xn){return xn!=="key"});de=0<st.length?"{key: someKey, "+st.join(": ..., ")+": ...}":"{key: someKey}",Me[Re+de]||(st=0<st.length?"{"+st.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
30
+ let props = %s;
31
+ <%s {...props} />
32
+ React keys must be passed directly to JSX without using spread:
33
+ let props = %s;
34
+ <%s key={someKey} {...props} />`,de,Re,st,Re),Me[Re+de]=!0)}if(Re=null,be!==void 0&&(l(be),Re=""+be),h(te)&&(l(te.key),Re=""+te.key),"key"in te){be={};for(var Et in te)Et!=="key"&&(be[Et]=te[Et])}else be=te;return Re&&m(be,typeof O=="function"?O.displayName||O.name||"Unknown":O),x(O,Re,be,f(),Xe,pn)}function v(O){g(O)?O._store&&(O._store.validated=1):typeof O=="object"&&O!==null&&O.$$typeof===X&&(O._payload.status==="fulfilled"?g(O._payload.value)&&O._payload.value._store&&(O._payload.value._store.validated=1):O._store&&(O._store.validated=1))}function g(O){return typeof O=="object"&&O!==null&&O.$$typeof===A}var w=zu(),A=Symbol.for("react.transitional.element"),L=Symbol.for("react.portal"),V=Symbol.for("react.fragment"),B=Symbol.for("react.strict_mode"),G=Symbol.for("react.profiler"),P=Symbol.for("react.consumer"),F=Symbol.for("react.context"),ne=Symbol.for("react.forward_ref"),le=Symbol.for("react.suspense"),ie=Symbol.for("react.suspense_list"),I=Symbol.for("react.memo"),X=Symbol.for("react.lazy"),q=Symbol.for("react.activity"),ee=Symbol.for("react.client.reference"),J=w.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Z=Object.prototype.hasOwnProperty,Se=Array.isArray,De=console.createTask?console.createTask:function(){return null};w={react_stack_bottom_frame:function(O){return O()}};var Q,fe={},se=w.react_stack_bottom_frame.bind(w,p)(),ve=De(u(p)),Me={};Wf.Fragment=V,Wf.jsxDEV=function(O,te,be,de){var Xe=1e4>J.recentlyCreatedOwnerStacks++;return T(O,te,be,de,Xe?Error("react-stack-top-frame"):se,Xe?De(u(O)):ve)}}(),Wf}var BE;function CO(){return BE||(BE=1,vy.exports=AO()),vy.exports}var Ke=CO(),C=zu(),Sy={exports:{}},vu={},Ty={exports:{}},Ey={},kE;function DO(){return kE||(kE=1,function(o){/**
35
+ * @license React
36
+ * scheduler.development.js
37
+ *
38
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
39
+ *
40
+ * This source code is licensed under the MIT license found in the
41
+ * LICENSE file in the root directory of this source tree.
42
+ */(function(){function i(){if(ne=!1,X){var Q=o.unstable_now();J=Q;var fe=!0;try{e:{P=!1,F&&(F=!1,ie(q),q=-1),G=!0;var se=B;try{t:{for(h(Q),V=u(w);V!==null&&!(V.expirationTime>Q&&S());){var ve=V.callback;if(typeof ve=="function"){V.callback=null,B=V.priorityLevel;var Me=ve(V.expirationTime<=Q);if(Q=o.unstable_now(),typeof Me=="function"){V.callback=Me,h(Q),fe=!0;break t}V===u(w)&&f(w),h(Q)}else f(w);V=u(w)}if(V!==null)fe=!0;else{var O=u(A);O!==null&&x(m,O.startTime-Q),fe=!1}}break e}finally{V=null,B=se,G=!1}fe=void 0}}finally{fe?Z():X=!1}}}function l(Q,fe){var se=Q.length;Q.push(fe);e:for(;0<se;){var ve=se-1>>>1,Me=Q[ve];if(0<p(Me,fe))Q[ve]=fe,Q[se]=Me,se=ve;else break e}}function u(Q){return Q.length===0?null:Q[0]}function f(Q){if(Q.length===0)return null;var fe=Q[0],se=Q.pop();if(se!==fe){Q[0]=se;e:for(var ve=0,Me=Q.length,O=Me>>>1;ve<O;){var te=2*(ve+1)-1,be=Q[te],de=te+1,Xe=Q[de];if(0>p(be,se))de<Me&&0>p(Xe,be)?(Q[ve]=Xe,Q[de]=se,ve=de):(Q[ve]=be,Q[te]=se,ve=te);else if(de<Me&&0>p(Xe,se))Q[ve]=Xe,Q[de]=se,ve=de;else break e}}return fe}function p(Q,fe){var se=Q.sortIndex-fe.sortIndex;return se!==0?se:Q.id-fe.id}function h(Q){for(var fe=u(A);fe!==null;){if(fe.callback===null)f(A);else if(fe.startTime<=Q)f(A),fe.sortIndex=fe.expirationTime,l(w,fe);else break;fe=u(A)}}function m(Q){if(F=!1,h(Q),!P)if(u(w)!==null)P=!0,X||(X=!0,Z());else{var fe=u(A);fe!==null&&x(m,fe.startTime-Q)}}function S(){return ne?!0:!(o.unstable_now()-J<ee)}function x(Q,fe){q=le(function(){Q(o.unstable_now())},fe)}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 T=performance;o.unstable_now=function(){return T.now()}}else{var v=Date,g=v.now();o.unstable_now=function(){return v.now()-g}}var w=[],A=[],L=1,V=null,B=3,G=!1,P=!1,F=!1,ne=!1,le=typeof setTimeout=="function"?setTimeout:null,ie=typeof clearTimeout=="function"?clearTimeout:null,I=typeof setImmediate<"u"?setImmediate:null,X=!1,q=-1,ee=5,J=-1;if(typeof I=="function")var Z=function(){I(i)};else if(typeof MessageChannel<"u"){var Se=new MessageChannel,De=Se.port2;Se.port1.onmessage=i,Z=function(){De.postMessage(null)}}else Z=function(){le(i,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(Q){Q.callback=null},o.unstable_forceFrameRate=function(Q){0>Q||125<Q?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):ee=0<Q?Math.floor(1e3/Q):5},o.unstable_getCurrentPriorityLevel=function(){return B},o.unstable_next=function(Q){switch(B){case 1:case 2:case 3:var fe=3;break;default:fe=B}var se=B;B=fe;try{return Q()}finally{B=se}},o.unstable_requestPaint=function(){ne=!0},o.unstable_runWithPriority=function(Q,fe){switch(Q){case 1:case 2:case 3:case 4:case 5:break;default:Q=3}var se=B;B=Q;try{return fe()}finally{B=se}},o.unstable_scheduleCallback=function(Q,fe,se){var ve=o.unstable_now();switch(typeof se=="object"&&se!==null?(se=se.delay,se=typeof se=="number"&&0<se?ve+se:ve):se=ve,Q){case 1:var Me=-1;break;case 2:Me=250;break;case 5:Me=1073741823;break;case 4:Me=1e4;break;default:Me=5e3}return Me=se+Me,Q={id:L++,callback:fe,priorityLevel:Q,startTime:se,expirationTime:Me,sortIndex:-1},se>ve?(Q.sortIndex=se,l(A,Q),u(w)===null&&Q===u(A)&&(F?(ie(q),q=-1):F=!0,x(m,se-ve))):(Q.sortIndex=Me,l(w,Q),P||G||(P=!0,X||(X=!0,Z()))),Q},o.unstable_shouldYield=S,o.unstable_wrapCallback=function(Q){var fe=B;return function(){var se=B;B=fe;try{return Q.apply(this,arguments)}finally{B=se}}},typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()}(Ey)),Ey}var HE;function MO(){return HE||(HE=1,Ty.exports=DO()),Ty.exports}var xy={exports:{}},en={},YE;function OO(){if(YE)return en;YE=1;/**
43
+ * @license React
44
+ * react-dom.development.js
45
+ *
46
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
47
+ *
48
+ * This source code is licensed under the MIT license found in the
49
+ * LICENSE file in the root directory of this source tree.
50
+ */return function(){function o(){}function i(v){return""+v}function l(v,g,w){var A=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;try{i(A);var L=!1}catch{L=!0}return L&&(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&&A[Symbol.toStringTag]||A.constructor.name||"Object"),i(A)),{$$typeof:x,key:A==null?null:""+A,children:v,containerInfo:g,implementation:w}}function u(v,g){if(v==="font")return"";if(typeof g=="string")return g==="use-credentials"?g:""}function f(v){return v===null?"`null`":v===void 0?"`undefined`":v===""?"an empty string":'something with type "'+typeof v+'"'}function p(v){return v===null?"`null`":v===void 0?"`undefined`":v===""?"an empty string":typeof v=="string"?JSON.stringify(v):typeof v=="number"?"`"+v+"`":'something with type "'+typeof v+'"'}function h(){var v=T.H;return v===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:
51
+ 1. You might have mismatching versions of React and the renderer (such as React DOM)
52
+ 2. You might be breaking the Rules of Hooks
53
+ 3. You might have more than one copy of React in the same app
54
+ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`),v}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var m=zu(),S={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},x=Symbol.for("react.portal"),T=m.__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"),en.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=S,en.createPortal=function(v,g){var w=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!g||g.nodeType!==1&&g.nodeType!==9&&g.nodeType!==11)throw Error("Target container is not a DOM element.");return l(v,g,null,w)},en.flushSync=function(v){var g=T.T,w=S.p;try{if(T.T=null,S.p=2,v)return v()}finally{T.T=g,S.p=w,S.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.")}},en.preconnect=function(v,g){typeof v=="string"&&v?g!=null&&typeof g!="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(g)):g!=null&&typeof g.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.",f(g.crossOrigin)):console.error("ReactDOM.preconnect(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",f(v)),typeof v=="string"&&(g?(g=g.crossOrigin,g=typeof g=="string"?g==="use-credentials"?g:"":void 0):g=null,S.d.C(v,g))},en.prefetchDNS=function(v){if(typeof v!="string"||!v)console.error("ReactDOM.prefetchDNS(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",f(v));else if(1<arguments.length){var g=arguments[1];typeof g=="object"&&g.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(g)):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(g))}typeof v=="string"&&S.d.D(v)},en.preinit=function(v,g){if(typeof v=="string"&&v?g==null||typeof g!="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(g)):g.as!=="style"&&g.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(g.as)):console.error("ReactDOM.preinit(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",f(v)),typeof v=="string"&&g&&typeof g.as=="string"){var w=g.as,A=u(w,g.crossOrigin),L=typeof g.integrity=="string"?g.integrity:void 0,V=typeof g.fetchPriority=="string"?g.fetchPriority:void 0;w==="style"?S.d.S(v,typeof g.precedence=="string"?g.precedence:void 0,{crossOrigin:A,integrity:L,fetchPriority:V}):w==="script"&&S.d.X(v,{crossOrigin:A,integrity:L,fetchPriority:V,nonce:typeof g.nonce=="string"?g.nonce:void 0})}},en.preinitModule=function(v,g){var w="";if(typeof v=="string"&&v||(w+=" The `href` argument encountered was "+f(v)+"."),g!==void 0&&typeof g!="object"?w+=" The `options` argument encountered was "+f(g)+".":g&&"as"in g&&g.as!=="script"&&(w+=" The `as` option encountered was "+p(g.as)+"."),w)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",w);else switch(w=g&&typeof g.as=="string"?g.as:"script",w){case"script":break;default:w=p(w),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)',w,v)}typeof v=="string"&&(typeof g=="object"&&g!==null?(g.as==null||g.as==="script")&&(w=u(g.as,g.crossOrigin),S.d.M(v,{crossOrigin:w,integrity:typeof g.integrity=="string"?g.integrity:void 0,nonce:typeof g.nonce=="string"?g.nonce:void 0})):g==null&&S.d.M(v))},en.preload=function(v,g){var w="";if(typeof v=="string"&&v||(w+=" The `href` argument encountered was "+f(v)+"."),g==null||typeof g!="object"?w+=" The `options` argument encountered was "+f(g)+".":typeof g.as=="string"&&g.as||(w+=" The `as` option encountered was "+f(g.as)+"."),w&&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',w),typeof v=="string"&&typeof g=="object"&&g!==null&&typeof g.as=="string"){w=g.as;var A=u(w,g.crossOrigin);S.d.L(v,w,{crossOrigin:A,integrity:typeof g.integrity=="string"?g.integrity:void 0,nonce:typeof g.nonce=="string"?g.nonce:void 0,type:typeof g.type=="string"?g.type:void 0,fetchPriority:typeof g.fetchPriority=="string"?g.fetchPriority:void 0,referrerPolicy:typeof g.referrerPolicy=="string"?g.referrerPolicy:void 0,imageSrcSet:typeof g.imageSrcSet=="string"?g.imageSrcSet:void 0,imageSizes:typeof g.imageSizes=="string"?g.imageSizes:void 0,media:typeof g.media=="string"?g.media:void 0})}},en.preloadModule=function(v,g){var w="";typeof v=="string"&&v||(w+=" The `href` argument encountered was "+f(v)+"."),g!==void 0&&typeof g!="object"?w+=" The `options` argument encountered was "+f(g)+".":g&&"as"in g&&typeof g.as!="string"&&(w+=" The `as` option encountered was "+f(g.as)+"."),w&&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',w),typeof v=="string"&&(g?(w=u(g.as,g.crossOrigin),S.d.m(v,{as:typeof g.as=="string"&&g.as!=="script"?g.as:void 0,crossOrigin:w,integrity:typeof g.integrity=="string"?g.integrity:void 0})):S.d.m(v))},en.requestFormReset=function(v){S.d.r(v)},en.unstable_batchedUpdates=function(v,g){return v(g)},en.useFormState=function(v,g,w){return h().useFormState(v,g,w)},en.useFormStatus=function(){return h().useHostTransitionStatus()},en.version="19.2.5",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())}(),en}var qE;function Rw(){return qE||(qE=1,xy.exports=OO()),xy.exports}var GE;function _O(){if(GE)return vu;GE=1;/**
55
+ * @license React
56
+ * react-dom-client.development.js
57
+ *
58
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
59
+ *
60
+ * This source code is licensed under the MIT license found in the
61
+ * LICENSE file in the root directory of this source tree.
62
+ */return function(){function o(e,t){for(e=e.memoizedState;e!==null&&0<t;)e=e.next,t--;return e}function i(e,t,n,a){if(n>=t.length)return a;var s=t[n],r=Vt(e)?e.slice():Be({},e);return r[s]=i(e[s],t,n+1,a),r}function l(e,t,n){if(t.length!==n.length)console.warn("copyWithRename() expects paths of the same length");else{for(var a=0;a<n.length-1;a++)if(t[a]!==n[a]){console.warn("copyWithRename() expects paths to be the same except for the deepest key");return}return u(e,t,n,0)}}function u(e,t,n,a){var s=t[a],r=Vt(e)?e.slice():Be({},e);return a+1===t.length?(r[n[a]]=r[s],Vt(r)?r.splice(s,1):delete r[s]):r[s]=u(e[s],t,n,a+1),r}function f(e,t,n){var a=t[n],s=Vt(e)?e.slice():Be({},e);return n+1===t.length?(Vt(s)?s.splice(a,1):delete s[a],s):(s[a]=f(e[a],t,n+1),s)}function p(){return!1}function h(){return null}function m(){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 S(){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 x(){}function T(){}function v(e){var t=[];return e.forEach(function(n){t.push(n)}),t.sort().join(", ")}function g(e,t,n,a){return new dC(e,t,n,a)}function w(e,t){e.context===ri&&(Lp(e.current,2,t,e,null,null),Hs())}function A(e,t){if(Qn!==null){var n=t.staleFamilies;t=t.updatedFamilies,hl(),Yv(e.current,t,n),Hs()}}function L(e){Qn=e}function V(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function B(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,(t.flags&4098)!==0&&(n=t.return),e=t.return;while(e)}return t.tag===3?n:null}function G(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 P(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 F(e){if(B(e)!==e)throw Error("Unable to find node on an unmounted component.")}function ne(e){var t=e.alternate;if(!t){if(t=B(e),t===null)throw Error("Unable to find node on an unmounted component.");return t!==e?null:e}for(var n=e,a=t;;){var s=n.return;if(s===null)break;var r=s.alternate;if(r===null){if(a=s.return,a!==null){n=a;continue}break}if(s.child===r.child){for(r=s.child;r;){if(r===n)return F(s),e;if(r===a)return F(s),t;r=r.sibling}throw Error("Unable to find node on an unmounted component.")}if(n.return!==a.return)n=s,a=r;else{for(var c=!1,d=s.child;d;){if(d===n){c=!0,n=s,a=r;break}if(d===a){c=!0,a=s,n=r;break}d=d.sibling}if(!c){for(d=r.child;d;){if(d===n){c=!0,n=r,a=s;break}if(d===a){c=!0,a=r,n=s;break}d=d.sibling}if(!c)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(n.alternate!==a)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(n.tag!==3)throw Error("Unable to find node on an unmounted component.");return n.stateNode.current===n?e:t}function le(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=le(e),t!==null)return t;e=e.sibling}return null}function ie(e){return e===null||typeof e!="object"?null:(e=ZS&&e[ZS]||e["@@iterator"],typeof e=="function"?e:null)}function I(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===ND?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Qs:return"Fragment";case Pp:return"Profiler";case Xc:return"StrictMode";case Xp:return"Suspense";case Qp:return"SuspenseList";case Zp: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 Xs:return"Portal";case qa:return e.displayName||"Context";case $p:return(e._context.displayName||"Context")+".Consumer";case xl:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Qc:return t=e.displayName||null,t!==null?t:I(e.type)||"Memo";case _n:t=e._payload,e=e._init;try{return I(e(t))}catch{}}return null}function X(e){return typeof e.tag=="number"?q(e):typeof e.name=="string"?e.name:null}function q(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 I(t);case 8:return t===Xc?"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 n=t.length-1;0<=n;n--)if(typeof t[n].name=="string")return t[n].name}if(e.return!==null)return q(e.return)}return null}function ee(e){return{current:e}}function J(e,t){0>go?console.error("Unexpected pop."):(t!==Jp[go]&&console.error("Unexpected Fiber popped."),e.current=Ip[go],Ip[go]=null,Jp[go]=null,go--)}function Z(e,t,n){go++,Ip[go]=e.current,Jp[go]=n,e.current=t}function Se(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 De(e,t){Z(ti,t,e),Z(wl,e,e),Z(ei,null,e);var n=t.nodeType;switch(n){case 9:case 11:n=n===9?"#document":"#fragment",t=(t=t.documentElement)&&(t=t.namespaceURI)?vS(t):jo;break;default:if(n=t.tagName,t=t.namespaceURI)t=vS(t),t=bS(t,n);else switch(n){case"svg":t=Cr;break;case"math":t=Xf;break;default:t=jo}}n=n.toLowerCase(),n=dv(null,n),n={context:t,ancestorInfo:n},J(ei,e),Z(ei,n,e)}function Q(e){J(ei,e),J(wl,e),J(ti,e)}function fe(){return Se(ei.current)}function se(e){e.memoizedState!==null&&Z(Zc,e,e);var t=Se(ei.current),n=e.type,a=bS(t.context,n);n=dv(t.ancestorInfo,n),a={context:a,ancestorInfo:n},t!==a&&(Z(wl,e,e),Z(ei,a,e))}function ve(e){wl.current===e&&(J(ei,e),J(wl,e)),Zc.current===e&&(J(Zc,e),mu._currentValue=bs)}function Me(){}function O(){if(Rl===0){IS=console.log,JS=console.info,FS=console.warn,KS=console.error,WS=console.group,e1=console.groupCollapsed,t1=console.groupEnd;var e={configurable:!0,enumerable:!0,value:Me,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}Rl++}function te(){if(Rl--,Rl===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:Be({},e,{value:IS}),info:Be({},e,{value:JS}),warn:Be({},e,{value:FS}),error:Be({},e,{value:KS}),group:Be({},e,{value:WS}),groupCollapsed:Be({},e,{value:e1}),groupEnd:Be({},e,{value:t1})})}0>Rl&&console.error("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}function be(e){var t=Error.prepareStackTrace;if(Error.prepareStackTrace=void 0,e=e.stack,Error.prepareStackTrace=t,e.startsWith(`Error: react-stack-top-frame
63
+ `)&&(e=e.slice(29)),t=e.indexOf(`
64
+ `),t!==-1&&(e=e.slice(t+1)),t=e.indexOf("react_stack_bottom_frame"),t!==-1&&(t=e.lastIndexOf(`
65
+ `,t)),t!==-1)e=e.slice(0,t);else return"";return e}function de(e){if(Fp===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);Fp=t&&t[1]||"",n1=-1<n.stack.indexOf(`
66
+ at`)?" (<anonymous>)":-1<n.stack.indexOf("@")?"@unknown:0:0":""}return`
67
+ `+Fp+e+n1}function Xe(e,t){if(!e||Kp)return"";var n=Wp.get(e);if(n!==void 0)return n;Kp=!0,n=Error.prepareStackTrace,Error.prepareStackTrace=void 0;var a=null;a=Y.H,Y.H=null,O();try{var s={DetermineComponentFrameRoot:function(){try{if(t){var D=function(){throw Error()};if(Object.defineProperty(D.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(D,[])}catch(oe){var k=oe}Reflect.construct(e,[],D)}else{try{D.call()}catch(oe){k=oe}e.call(D.prototype)}}else{try{throw Error()}catch(oe){k=oe}(D=e())&&typeof D.catch=="function"&&D.catch(function(){})}}catch(oe){if(oe&&k&&typeof oe.stack=="string")return[oe.stack,k.stack]}return[null,null]}};s.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var r=Object.getOwnPropertyDescriptor(s.DetermineComponentFrameRoot,"name");r&&r.configurable&&Object.defineProperty(s.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var c=s.DetermineComponentFrameRoot(),d=c[0],y=c[1];if(d&&y){var b=d.split(`
68
+ `),z=y.split(`
69
+ `);for(c=r=0;r<b.length&&!b[r].includes("DetermineComponentFrameRoot");)r++;for(;c<z.length&&!z[c].includes("DetermineComponentFrameRoot");)c++;if(r===b.length||c===z.length)for(r=b.length-1,c=z.length-1;1<=r&&0<=c&&b[r]!==z[c];)c--;for(;1<=r&&0<=c;r--,c--)if(b[r]!==z[c]){if(r!==1||c!==1)do if(r--,c--,0>c||b[r]!==z[c]){var N=`
70
+ `+b[r].replace(" at new "," at ");return e.displayName&&N.includes("<anonymous>")&&(N=N.replace("<anonymous>",e.displayName)),typeof e=="function"&&Wp.set(e,N),N}while(1<=r&&0<=c);break}}}finally{Kp=!1,Y.H=a,te(),Error.prepareStackTrace=n}return b=(b=e?e.displayName||e.name:"")?de(b):"",typeof e=="function"&&Wp.set(e,b),b}function pn(e,t){switch(e.tag){case 26:case 27:case 5:return de(e.type);case 16:return de("Lazy");case 13:return e.child!==t&&t!==null?de("Suspense Fallback"):de("Suspense");case 19:return de("SuspenseList");case 0:case 15:return Xe(e.type,!1);case 11:return Xe(e.type.render,!1);case 1:return Xe(e.type,!0);case 31:return de("Activity");default:return""}}function Re(e){try{var t="",n=null;do{t+=pn(e,n);var a=e._debugInfo;if(a)for(var s=a.length-1;0<=s;s--){var r=a[s];if(typeof r.name=="string"){var c=t;e:{var d=r.name,y=r.env,b=r.debugLocation;if(b!=null){var z=be(b),N=z.lastIndexOf(`
71
+ `),D=N===-1?z:z.slice(N+1);if(D.indexOf(d)!==-1){var k=`
72
+ `+D;break e}}k=de(d+(y?" ["+y+"]":""))}t=c+k}}n=e,e=e.return}while(e);return t}catch(oe){return`
73
+ Error generating stack: `+oe.message+`
74
+ `+oe.stack}}function st(e){return(e=e?e.displayName||e.name:"")?de(e):""}function Et(){if(jn===null)return null;var e=jn._debugOwner;return e!=null?X(e):null}function xn(){if(jn===null)return"";var e=jn;try{var t="";switch(e.tag===6&&(e=e.return),e.tag){case 26:case 27:case 5:t+=de(e.type);break;case 13:t+=de("Suspense");break;case 19:t+=de("SuspenseList");break;case 31:t+=de("Activity");break;case 30:case 0:case 15:case 1:e._debugOwner||t!==""||(t+=st(e.type));break;case 11:e._debugOwner||t!==""||(t+=st(e.type.render))}for(;e;)if(typeof e.tag=="number"){var n=e;e=n._debugOwner;var a=n._debugStack;if(e&&a){var s=be(a);s!==""&&(t+=`
75
+ `+s)}}else if(e.debugStack!=null){var r=e.debugStack;(e=e.owner)&&r&&(t+=`
76
+ `+be(r))}else break;var c=t}catch(d){c=`
77
+ Error generating stack: `+d.message+`
78
+ `+d.stack}return c}function ue(e,t,n,a,s,r,c){var d=jn;ia(e);try{return e!==null&&e._debugTask?e._debugTask.run(t.bind(null,n,a,s,r,c)):t(n,a,s,r,c)}finally{ia(d)}throw Error("runWithFiberInDEV should never be called in production. This is a bug in React.")}function ia(e){Y.getCurrentStack=e===null?null:xn,Ga=!1,jn=e}function xa(e){return typeof Symbol=="function"&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object"}function no(e){try{return Bn(e),!1}catch{return!0}}function Bn(e){return""+e}function Qe(e,t){if(no(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,xa(e)),Bn(e)}function Rt(e,t){if(no(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,xa(e)),Bn(e)}function Lo(e){if(no(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.",xa(e)),Bn(e)}function qr(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{Is=t.inject(e),Kt=t}catch(n){console.error("React instrumentation encountered an error: %o.",n)}return!!t.checkDCE}function he(e){if(typeof YD=="function"&&qD(e),Kt&&typeof Kt.setStrictMode=="function")try{Kt.setStrictMode(Is,e)}catch(t){Pa||(Pa=!0,console.error("React instrumentation encountered an error: %o",t))}}function Bo(e){return e>>>=0,e===0?32:31-(GD(e)/PD|0)|0}function kn(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 ao(e,t,n){var a=e.pendingLanes;if(a===0)return 0;var s=0,r=e.suspendedLanes,c=e.pingedLanes;e=e.warmLanes;var d=a&134217727;return d!==0?(a=d&~r,a!==0?s=kn(a):(c&=d,c!==0?s=kn(c):n||(n=d&~e,n!==0&&(s=kn(n))))):(d=a&~r,d!==0?s=kn(d):c!==0?s=kn(c):n||(n=a&~e,n!==0&&(s=kn(n)))),s===0?0:t!==0&&t!==s&&(t&r)===0&&(r=s&-s,n=t&-t,r>=n||r===32&&(n&4194048)!==0)?t:s}function Hn(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function As(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 ko(){var e=Fc;return Fc<<=1,(Fc&62914560)===0&&(Fc=4194304),e}function Ho(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function sa(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function zi(e,t,n,a,s,r){var c=e.pendingLanes;e.pendingLanes=n,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=n,e.entangledLanes&=n,e.errorRecoveryDisabledLanes&=n,e.shellSuspendCounter=0;var d=e.entanglements,y=e.expirationTimes,b=e.hiddenUpdates;for(n=c&~n;0<n;){var z=31-an(n),N=1<<z;d[z]=0,y[z]=-1;var D=b[z];if(D!==null)for(b[z]=null,z=0;z<D.length;z++){var k=D[z];k!==null&&(k.lane&=-536870913)}n&=~N}a!==0&&Yo(e,a,0),r!==0&&s===0&&e.tag!==0&&(e.suspendedLanes|=r&~(c&~t))}function Yo(e,t,n){e.pendingLanes|=t,e.suspendedLanes&=~t;var a=31-an(t);e.entangledLanes|=t,e.entanglements[a]=e.entanglements[a]|1073741824|n&261930}function Ni(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var a=31-an(n),s=1<<a;s&t|e[a]&t&&(e[a]|=t),n&=~s}}function oo(e,t){var n=t&-t;return n=(n&42)!==0?1:ra(n),(n&(e.suspendedLanes|t))!==0?0:n}function ra(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 io(e,t,n){if($a)for(e=e.pendingUpdatersLaneMap;0<n;){var a=31-an(n),s=1<<a;e[a].add(t),n&=~s}}function so(e,t){if($a)for(var n=e.pendingUpdatersLaneMap,a=e.memoizedUpdaters;0<t;){var s=31-an(t);e=1<<s,s=n[s],0<s.size&&(s.forEach(function(r){var c=r.alternate;c!==null&&a.has(c)||a.add(r)}),s.clear()),t&=~e}}function We(e){return e&=-e,Pn<e?Xa<e?(e&134217727)!==0?vo:Kc:Xa:Pn}function mt(){var e=Ie.p;return e!==0?e:(e=window.event,e===void 0?vo:YS(e.type))}function E(e,t){var n=Ie.p;try{return Ie.p=e,t()}finally{Ie.p=n}}function U(e){delete e[Qt],delete e[on],delete e[om],delete e[$D],delete e[XD]}function W(e){var t=e[Qt];if(t)return t;for(var n=e.parentNode;n;){if(t=n[ai]||n[Qt]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=CS(e);e!==null;){if(n=e[Qt])return n;e=CS(e)}return t}e=n,n=e.parentNode}return null}function ae(e){if(e=e[Qt]||e[ai]){var t=e.tag;if(t===5||t===6||t===13||t===31||t===26||t===27||t===3)return e}return null}function me(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e.stateNode;throw Error("getNodeFromInstance: Invalid argument.")}function Oe(e){var t=e[a1];return t||(t=e[a1]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function ge(e){e[Al]=!0}function Pe(e,t){_e(e,t),_e(e+"Capture",t)}function _e(e,t){Ji[e]&&console.error("EventRegistry: More than one plugin attempted to publish the same registration name, `%s`.",e),Ji[e]=t;var n=e.toLowerCase();for(im[n]=e,e==="onDoubleClick"&&(im.ondblclick=e),e=0;e<t.length;e++)o1.add(t[e])}function tn(e,t){QD[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 wa(e){return da.call(s1,e)?!0:da.call(i1,e)?!1:ZD.test(e)?s1[e]=!0:(i1[e]=!0,console.error("Invalid attribute name: `%s`",e),!1)}function Bu(e,t,n){if(wa(t)){if(!e.hasAttribute(t)){switch(typeof n){case"symbol":case"object":return n;case"function":return n;case"boolean":if(n===!1)return n}return n===void 0?void 0:null}return e=e.getAttribute(t),e===""&&n===!0?!0:(Qe(n,t),e===""+n?n:e)}}function Cs(e,t,n){if(wa(t))if(n===null)e.removeAttribute(t);else{switch(typeof n){case"undefined":case"function":case"symbol":e.removeAttribute(t);return;case"boolean":var a=t.toLowerCase().slice(0,5);if(a!=="data-"&&a!=="aria-"){e.removeAttribute(t);return}}Qe(n,t),e.setAttribute(t,""+n)}}function ku(e,t,n){if(n===null)e.removeAttribute(t);else{switch(typeof n){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(t);return}Qe(n,t),e.setAttribute(t,""+n)}}function ro(e,t,n,a){if(a===null)e.removeAttribute(n);else{switch(typeof a){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(n);return}Qe(a,n),e.setAttributeNS(t,n,""+a)}}function Yn(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":return e;case"object":return Lo(e),e;default:return""}}function Kg(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function GA(e,t,n){var a=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);if(!e.hasOwnProperty(t)&&typeof a<"u"&&typeof a.get=="function"&&typeof a.set=="function"){var s=a.get,r=a.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return s.call(this)},set:function(c){Lo(c),n=""+c,r.call(this,c)}}),Object.defineProperty(e,t,{enumerable:a.enumerable}),{getValue:function(){return n},setValue:function(c){Lo(c),n=""+c},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Ld(e){if(!e._valueTracker){var t=Kg(e)?"checked":"value";e._valueTracker=GA(e,t,""+e[t])}}function Wg(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),a="";return e&&(a=Kg(e)?e.checked?"true":"false":e.value),e=a,e!==n?(t.setValue(e),!0):!1}function Hu(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 qn(e){return e.replace(ID,function(t){return"\\"+t.charCodeAt(0).toString(16)+" "})}function ev(e,t){t.checked===void 0||t.defaultChecked===void 0||l1||(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",Et()||"A component",t.type),l1=!0),t.value===void 0||t.defaultValue===void 0||r1||(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",Et()||"A component",t.type),r1=!0)}function Bd(e,t,n,a,s,r,c,d){e.name="",c!=null&&typeof c!="function"&&typeof c!="symbol"&&typeof c!="boolean"?(Qe(c,"type"),e.type=c):e.removeAttribute("type"),t!=null?c==="number"?(t===0&&e.value===""||e.value!=t)&&(e.value=""+Yn(t)):e.value!==""+Yn(t)&&(e.value=""+Yn(t)):c!=="submit"&&c!=="reset"||e.removeAttribute("value"),t!=null?kd(e,c,Yn(t)):n!=null?kd(e,c,Yn(n)):a!=null&&e.removeAttribute("value"),s==null&&r!=null&&(e.defaultChecked=!!r),s!=null&&(e.checked=s&&typeof s!="function"&&typeof s!="symbol"),d!=null&&typeof d!="function"&&typeof d!="symbol"&&typeof d!="boolean"?(Qe(d,"name"),e.name=""+Yn(d)):e.removeAttribute("name")}function tv(e,t,n,a,s,r,c,d){if(r!=null&&typeof r!="function"&&typeof r!="symbol"&&typeof r!="boolean"&&(Qe(r,"type"),e.type=r),t!=null||n!=null){if(!(r!=="submit"&&r!=="reset"||t!=null)){Ld(e);return}n=n!=null?""+Yn(n):"",t=t!=null?""+Yn(t):n,d||t===e.value||(e.value=t),e.defaultValue=t}a=a??s,a=typeof a!="function"&&typeof a!="symbol"&&!!a,e.checked=d?e.checked:!!a,e.defaultChecked=!!a,c!=null&&typeof c!="function"&&typeof c!="symbol"&&typeof c!="boolean"&&(Qe(c,"name"),e.name=c),Ld(e)}function kd(e,t,n){t==="number"&&Hu(e.ownerDocument)===e||e.defaultValue===""+n||(e.defaultValue=""+n)}function nv(e,t){t.value==null&&(typeof t.children=="object"&&t.children!==null?Gp.Children.forEach(t.children,function(n){n==null||typeof n=="string"||typeof n=="number"||typeof n=="bigint"||c1||(c1=!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||f1||(f1=!0,console.error("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected."))),t.selected==null||u1||(console.error("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),u1=!0)}function av(){var e=Et();return e?`
79
+
80
+ Check the render method of \``+e+"`.":""}function Ds(e,t,n,a){if(e=e.options,t){t={};for(var s=0;s<n.length;s++)t["$"+n[s]]=!0;for(n=0;n<e.length;n++)s=t.hasOwnProperty("$"+e[n].value),e[n].selected!==s&&(e[n].selected=s),s&&a&&(e[n].defaultSelected=!0)}else{for(n=""+Yn(n),t=null,s=0;s<e.length;s++){if(e[s].value===n){e[s].selected=!0,a&&(e[s].defaultSelected=!0);return}t!==null||e[s].disabled||(t=e[s])}t!==null&&(t.selected=!0)}}function ov(e,t){for(e=0;e<h1.length;e++){var n=h1[e];if(t[n]!=null){var a=Vt(t[n]);t.multiple&&!a?console.error("The `%s` prop supplied to <select> must be an array if `multiple` is true.%s",n,av()):!t.multiple&&a&&console.error("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.%s",n,av())}}t.value===void 0||t.defaultValue===void 0||d1||(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"),d1=!0)}function iv(e,t){t.value===void 0||t.defaultValue===void 0||p1||(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",Et()||"A component"),p1=!0),t.children!=null&&t.value==null&&console.error("Use the `defaultValue` or `value` props instead of setting children on <textarea>.")}function sv(e,t,n){if(t!=null&&(t=""+Yn(t),t!==e.value&&(e.value=t),n==null)){e.defaultValue!==t&&(e.defaultValue=t);return}e.defaultValue=n!=null?""+Yn(n):""}function rv(e,t,n,a){if(t==null){if(a!=null){if(n!=null)throw Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(Vt(a)){if(1<a.length)throw Error("<textarea> can only have at most one child.");a=a[0]}n=a}n==null&&(n=""),t=n}n=Yn(t),e.defaultValue=n,a=e.textContent,a===n&&a!==""&&a!==null&&(e.value=a),Ld(e)}function lv(e,t){return e.serverProps===void 0&&e.serverTail.length===0&&e.children.length===1&&3<e.distanceFromLeaf&&e.distanceFromLeaf>15-t?lv(e.children[0],t):e}function wn(e){return" "+" ".repeat(e)}function Ms(e){return"+ "+" ".repeat(e)}function Vi(e){return"- "+" ".repeat(e)}function uv(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 Gr(e,t){return m1.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 Yu(e,t,n){var a=120-2*n;if(t===null)return Ms(n)+Gr(e,a)+`
81
+ `;if(typeof t=="string"){for(var s=0;s<t.length&&s<e.length&&t.charCodeAt(s)===e.charCodeAt(s);s++);return s>a-8&&10<s&&(e="..."+e.slice(s-8),t="..."+t.slice(s-8)),Ms(n)+Gr(e,a)+`
82
+ `+Vi(n)+Gr(t,a)+`
83
+ `}return wn(n)+Gr(e,a)+`
84
+ `}function Hd(e){return Object.prototype.toString.call(e).replace(/^\[object (.*)\]$/,function(t,n){return n})}function Pr(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(Vt(e))return"[...]";if(e.$$typeof===Ya)return(t=I(e.type))?"<"+t+">":"<...>";var n=Hd(e);if(n==="Object"){n="",t-=2;for(var a in e)if(e.hasOwnProperty(a)){var s=JSON.stringify(a);if(s!=='"'+a+'"'&&(a=s),t-=a.length-2,s=Pr(e[a],15>t?t:15),t-=s.length,0>t){n+=n===""?"...":", ...";break}n+=(n===""?"":",")+a+":"+s}return"{"+n+"}"}return n;case"function":return(t=e.displayName||e.name)?"function "+t:"function";default:return String(e)}}function Os(e,t){return typeof e!="string"||m1.test(e)?"{"+Pr(e,t-2)+"}":e.length>t-2?5>t?'"..."':'"'+e.slice(0,t-5)+'..."':'"'+e+'"'}function Yd(e,t,n){var a=120-n.length-e.length,s=[],r;for(r in t)if(t.hasOwnProperty(r)&&r!=="children"){var c=Os(t[r],120-n.length-r.length-1);a-=r.length+c.length+2,s.push(r+"="+c)}return s.length===0?n+"<"+e+`>
85
+ `:0<a?n+"<"+e+" "+s.join(" ")+`>
86
+ `:n+"<"+e+`
87
+ `+n+" "+s.join(`
88
+ `+n+" ")+`
89
+ `+n+`>
90
+ `}function PA(e,t,n){var a="",s=Be({},t),r;for(r in e)if(e.hasOwnProperty(r)){delete s[r];var c=120-2*n-r.length-2,d=Pr(e[r],c);t.hasOwnProperty(r)?(c=Pr(t[r],c),a+=Ms(n)+r+": "+d+`
91
+ `,a+=Vi(n)+r+": "+c+`
92
+ `):a+=Ms(n)+r+": "+d+`
93
+ `}for(var y in s)s.hasOwnProperty(y)&&(e=Pr(s[y],120-2*n-y.length-2),a+=Vi(n)+y+": "+e+`
94
+ `);return a}function $A(e,t,n,a){var s="",r=new Map;for(b in n)n.hasOwnProperty(b)&&r.set(b.toLowerCase(),b);if(r.size===1&&r.has("children"))s+=Yd(e,t,wn(a));else{for(var c in t)if(t.hasOwnProperty(c)&&c!=="children"){var d=120-2*(a+1)-c.length-1,y=r.get(c.toLowerCase());if(y!==void 0){r.delete(c.toLowerCase());var b=t[c];y=n[y];var z=Os(b,d);d=Os(y,d),typeof b=="object"&&b!==null&&typeof y=="object"&&y!==null&&Hd(b)==="Object"&&Hd(y)==="Object"&&(2<Object.keys(b).length||2<Object.keys(y).length||-1<z.indexOf("...")||-1<d.indexOf("..."))?s+=wn(a+1)+c+`={{
95
+ `+PA(b,y,a+2)+wn(a+1)+`}}
96
+ `:(s+=Ms(a+1)+c+"="+z+`
97
+ `,s+=Vi(a+1)+c+"="+d+`
98
+ `)}else s+=wn(a+1)+c+"="+Os(t[c],d)+`
99
+ `}r.forEach(function(N){if(N!=="children"){var D=120-2*(a+1)-N.length-1;s+=Vi(a+1)+N+"="+Os(n[N],D)+`
100
+ `}}),s=s===""?wn(a)+"<"+e+`>
101
+ `:wn(a)+"<"+e+`
102
+ `+s+wn(a)+`>
103
+ `}return e=n.children,t=t.children,typeof e=="string"||typeof e=="number"||typeof e=="bigint"?(r="",(typeof t=="string"||typeof t=="number"||typeof t=="bigint")&&(r=""+t),s+=Yu(r,""+e,a+1)):(typeof t=="string"||typeof t=="number"||typeof t=="bigint")&&(s=e==null?s+Yu(""+t,null,a+1):s+Yu(""+t,void 0,a+1)),s}function cv(e,t){var n=uv(e);if(n===null){for(n="",e=e.child;e;)n+=cv(e,t),e=e.sibling;return n}return wn(t)+"<"+n+`>
104
+ `}function qd(e,t){var n=lv(e,t);if(n!==e&&(e.children.length!==1||e.children[0]!==n))return wn(t)+`...
105
+ `+qd(n,t+1);n="";var a=e.fiber._debugInfo;if(a)for(var s=0;s<a.length;s++){var r=a[s].name;typeof r=="string"&&(n+=wn(t)+"<"+r+`>
106
+ `,t++)}if(a="",s=e.fiber.pendingProps,e.fiber.tag===6)a=Yu(s,e.serverProps,t),t++;else if(r=uv(e.fiber),r!==null)if(e.serverProps===void 0){a=t;var c=120-2*a-r.length-2,d="";for(b in s)if(s.hasOwnProperty(b)&&b!=="children"){var y=Os(s[b],15);if(c-=b.length+y.length+2,0>c){d+=" ...";break}d+=" "+b+"="+y}a=wn(a)+"<"+r+d+`>
107
+ `,t++}else e.serverProps===null?(a=Yd(r,s,Ms(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."):(a=$A(r,s,e.serverProps,t),t++);var b="";for(s=e.fiber.child,r=0;s&&r<e.children.length;)c=e.children[r],c.fiber===s?(b+=qd(c,t),r++):b+=cv(s,t),s=s.sibling;for(s&&0<e.children.length&&(b+=wn(t)+`...
108
+ `),s=e.serverTail,e.serverProps===null&&t--,e=0;e<s.length;e++)r=s[e],b=typeof r=="string"?b+(Vi(t)+Gr(r,120-2*t)+`
109
+ `):b+Yd(r.type,r.props,Vi(t));return n+a+b}function Gd(e){try{return`
110
+
111
+ `+qd(e,0)}catch{return""}}function fv(e,t,n){for(var a=t,s=null,r=0;a;)a===e&&(r=0),s={fiber:a,children:s!==null?[s]:[],serverProps:a===t?n:a===e?null:void 0,serverTail:[],distanceFromLeaf:r},r++,a=a.return;return s!==null?Gd(s).replaceAll(/^[+-]/gm,">"):""}function dv(e,t){var n=Be({},e||g1),a={tag:t};return y1.indexOf(t)!==-1&&(n.aTagInScope=null,n.buttonTagInScope=null,n.nobrTagInScope=null),FD.indexOf(t)!==-1&&(n.pTagInButtonScope=null),JD.indexOf(t)!==-1&&t!=="address"&&t!=="div"&&t!=="p"&&(n.listItemTagAutoclosing=null,n.dlItemTagAutoclosing=null),n.current=a,t==="form"&&(n.formTag=a),t==="a"&&(n.aTagInScope=a),t==="button"&&(n.buttonTagInScope=a),t==="nobr"&&(n.nobrTagInScope=a),t==="p"&&(n.pTagInButtonScope=a),t==="li"&&(n.listItemTagAutoclosing=a),(t==="dd"||t==="dt")&&(n.dlItemTagAutoclosing=a),t==="#document"||t==="html"?n.containerTagInScope=null:n.containerTagInScope||(n.containerTagInScope=a),e!==null||t!=="#document"&&t!=="html"&&t!=="body"?n.implicitRootScope===!0&&(n.implicitRootScope=!1):n.implicitRootScope=!0,n}function hv(e,t,n){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(n)break;return e==="head"||e==="body"||e==="frameset";case"frameset":return e==="frame";case"#document":if(!n)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 KD.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 n||t===null;case"html":return n&&t==="#document"||t===null;case"body":return n&&(t==="#document"||t==="html")||t===null}return!0}function XA(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 pv(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 Pd(e,t){t=t||g1;var n=t.current;if(t=(n=hv(e,n&&n.tag,t.implicitRootScope)?null:n)?null:XA(e,t),t=n||t,!t)return!0;var a=t.tag;if(t=String(!!n)+"|"+e+"|"+a,Wc[t])return!1;Wc[t]=!0;var s=(t=jn)?pv(t.return,a):null,r=t!==null&&s!==null?fv(s,t,null):"",c="<"+e+">";return n?(n="",a==="table"&&e==="tr"&&(n+=" 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
112
+ This will cause a hydration error.%s`,c,a,n,r)):console.error(`In HTML, %s cannot be a descendant of <%s>.
113
+ This will cause a hydration error.%s`,c,a,r),t&&(e=t.return,s===null||e===null||s===e&&e._debugOwner===t._debugOwner||ue(s,function(){console.error(`<%s> cannot contain a nested %s.
114
+ See this log for the ancestor stack trace.`,a,c)})),!1}function qu(e,t,n){if(n||hv("#text",t,!1))return!0;if(n="#text|"+t,Wc[n])return!1;Wc[n]=!0;var a=(n=jn)?pv(n,t):null;return n=n!==null&&a!==null?fv(a,n,n.tag!==6?{children:null}:null):"",/\S/.test(e)?console.error(`In HTML, text nodes cannot be a child of <%s>.
115
+ This will cause a hydration error.%s`,t,n):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.
116
+ This will cause a hydration error.%s`,t,n),!1}function $r(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}function QA(e){return e.replace(tM,function(t,n){return n.toUpperCase()})}function mv(e,t,n){var a=t.indexOf("--")===0;a||(-1<t.indexOf("-")?Js.hasOwnProperty(t)&&Js[t]||(Js[t]=!0,console.error("Unsupported style property %s. Did you mean %s?",t,QA(t.replace(eM,"ms-")))):WD.test(t)?Js.hasOwnProperty(t)&&Js[t]||(Js[t]=!0,console.error("Unsupported vendor-prefixed style property %s. Did you mean %s?",t,t.charAt(0).toUpperCase()+t.slice(1))):!S1.test(n)||rm.hasOwnProperty(n)&&rm[n]||(rm[n]=!0,console.error(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,t,n.replace(S1,""))),typeof n=="number"&&(isNaN(n)?T1||(T1=!0,console.error("`NaN` is an invalid value for the `%s` css style property.",t)):isFinite(n)||E1||(E1=!0,console.error("`Infinity` is an invalid value for the `%s` css style property.",t)))),n==null||typeof n=="boolean"||n===""?a?e.setProperty(t,""):t==="float"?e.cssFloat="":e[t]="":a?e.setProperty(t,n):typeof n!="number"||n===0||x1.has(t)?t==="float"?e.cssFloat=n:(Rt(n,t),e[t]=(""+n).trim()):e[t]=n+"px"}function yv(e,t,n){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,n!=null){if(t){var a={};if(n){for(var s in n)if(n.hasOwnProperty(s)&&!t.hasOwnProperty(s))for(var r=sm[s]||[s],c=0;c<r.length;c++)a[r[c]]=s}for(var d in t)if(t.hasOwnProperty(d)&&(!n||n[d]!==t[d]))for(s=sm[d]||[d],r=0;r<s.length;r++)a[s[r]]=d;d={};for(var y in t)for(s=sm[y]||[y],r=0;r<s.length;r++)d[s[r]]=y;y={};for(var b in a)if(s=a[b],(r=d[b])&&s!==r&&(c=s+","+r,!y[c])){y[c]=!0,c=console;var z=t[s];c.error.call(c,"%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.",z==null||typeof z=="boolean"||z===""?"Removing":"Updating",s,r)}}for(var N in n)!n.hasOwnProperty(N)||t!=null&&t.hasOwnProperty(N)||(N.indexOf("--")===0?e.setProperty(N,""):N==="float"?e.cssFloat="":e[N]="");for(var D in t)b=t[D],t.hasOwnProperty(D)&&n[D]!==b&&mv(e,D,b)}else for(a in t)t.hasOwnProperty(a)&&mv(e,a,t[a])}function Xr(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 gv(e){return nM.get(e)||e}function ZA(e,t){if(da.call(Ks,t)&&Ks[t])return!0;if(oM.test(t)){if(e="aria-"+t.slice(4).toLowerCase(),e=w1.hasOwnProperty(e)?e:null,e==null)return console.error("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",t),Ks[t]=!0;if(t!==e)return console.error("Invalid ARIA attribute `%s`. Did you mean `%s`?",t,e),Ks[t]=!0}if(aM.test(t)){if(e=t.toLowerCase(),e=w1.hasOwnProperty(e)?e:null,e==null)return Ks[t]=!0,!1;t!==e&&(console.error("Unknown ARIA attribute `%s`. Did you mean `%s`?",t,e),Ks[t]=!0)}return!0}function IA(e,t){var n=[],a;for(a in t)ZA(e,a)||n.push(a);t=n.map(function(s){return"`"+s+"`"}).join(", "),n.length===1?console.error("Invalid aria prop %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props",t,e):1<n.length&&console.error("Invalid aria props %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props",t,e)}function JA(e,t,n,a){if(da.call(sn,t)&&sn[t])return!0;var s=t.toLowerCase();if(s==="onfocusin"||s==="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."),sn[t]=!0;if(typeof n=="function"&&(e==="form"&&t==="action"||e==="input"&&t==="formAction"||e==="button"&&t==="formAction"))return!0;if(a!=null){if(e=a.possibleRegistrationNames,a.registrationNameDependencies.hasOwnProperty(t))return!0;if(a=e.hasOwnProperty(s)?e[s]:null,a!=null)return console.error("Invalid event handler property `%s`. Did you mean `%s`?",t,a),sn[t]=!0;if(A1.test(t))return console.error("Unknown event handler property `%s`. It will be ignored.",t),sn[t]=!0}else if(A1.test(t))return iM.test(t)&&console.error("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",t),sn[t]=!0;if(sM.test(t)||rM.test(t))return!0;if(s==="innerhtml")return console.error("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),sn[t]=!0;if(s==="aria")return console.error("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),sn[t]=!0;if(s==="is"&&n!==null&&n!==void 0&&typeof n!="string")return console.error("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof n),sn[t]=!0;if(typeof n=="number"&&isNaN(n))return console.error("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",t),sn[t]=!0;if(tf.hasOwnProperty(s)){if(s=tf[s],s!==t)return console.error("Invalid DOM property `%s`. Did you mean `%s`?",t,s),sn[t]=!0}else if(t!==s)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,s),sn[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 n){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 s=t.toLowerCase().slice(0,5),s==="data-"||s==="aria-"?!0:(n?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,t,t,n,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.',n,t,t,n,t,t,t),sn[t]=!0)}case"function":case"symbol":return sn[t]=!0,!1;case"string":if(n==="false"||n==="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}?",n,t,n==="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,n),sn[t]=!0}}return!0}function FA(e,t,n){var a=[],s;for(s in t)JA(e,s,t[s],n)||a.push(s);t=a.map(function(r){return"`"+r+"`"}).join(", "),a.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<a.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 Qr(e){return lM.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}function lo(){}function $d(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}function vv(e){var t=ae(e);if(t&&(e=t.stateNode)){var n=e[on]||null;e:switch(e=t.stateNode,t.type){case"input":if(Bd(e,n.value,n.defaultValue,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name),t=n.name,n.type==="radio"&&t!=null){for(n=e;n.parentNode;)n=n.parentNode;for(Qe(t,"name"),n=n.querySelectorAll('input[name="'+qn(""+t)+'"][type="radio"]'),t=0;t<n.length;t++){var a=n[t];if(a!==e&&a.form===e.form){var s=a[on]||null;if(!s)throw Error("ReactDOMInput: Mixing React and non-React radio inputs with the same `name` is not supported.");Bd(a,s.value,s.defaultValue,s.defaultValue,s.checked,s.defaultChecked,s.type,s.name)}}for(t=0;t<n.length;t++)a=n[t],a.form===e.form&&Wg(a)}break e;case"textarea":sv(e,n.value,n.defaultValue);break e;case"select":t=n.value,t!=null&&Ds(e,!!n.multiple,t,!1)}}}function bv(e,t,n){if(lm)return e(t,n);lm=!0;try{var a=e(t);return a}finally{if(lm=!1,(Ws!==null||er!==null)&&(Hs(),Ws&&(t=Ws,e=er,er=Ws=null,vv(t),e)))for(t=0;t<e.length;t++)vv(e[t])}}function Zr(e,t){var n=e.stateNode;if(n===null)return null;var a=n[on]||null;if(a===null)return null;n=a[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":(a=!a.disabled)||(e=e.type,a=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!a;break e;default:e=!1}if(e)return null;if(n&&typeof n!="function")throw Error("Expected `"+t+"` listener to be a function, instead got a value of `"+typeof n+"` type.");return n}function Sv(){if(nf)return nf;var e,t=cm,n=t.length,a,s="value"in oi?oi.value:oi.textContent,r=s.length;for(e=0;e<n&&t[e]===s[e];e++);var c=n-e;for(a=1;a<=c&&t[n-a]===s[r-a];a++);return nf=s.slice(e,1<a?1-a:void 0)}function Gu(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 Pu(){return!0}function Tv(){return!1}function mn(e){function t(n,a,s,r,c){this._reactName=n,this._targetInst=s,this.type=a,this.nativeEvent=r,this.target=c,this.currentTarget=null;for(var d in e)e.hasOwnProperty(d)&&(n=e[d],this[d]=n?n(r):r[d]);return this.isDefaultPrevented=(r.defaultPrevented!=null?r.defaultPrevented:r.returnValue===!1)?Pu:Tv,this.isPropagationStopped=Tv,this}return Be(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var n=this.nativeEvent;n&&(n.preventDefault?n.preventDefault():typeof n.returnValue!="unknown"&&(n.returnValue=!1),this.isDefaultPrevented=Pu)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=Pu)},persist:function(){},isPersistent:Pu}),t}function KA(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=TM[e])?!!t[e]:!1}function Xd(){return KA}function Ev(e,t){switch(e){case"keyup":return zM.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==O1;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function xv(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}function WA(e,t){switch(e){case"compositionend":return xv(t);case"keypress":return t.which!==j1?null:(N1=!0,z1);case"textInput":return e=t.data,e===z1&&N1?null:e;default:return null}}function eC(e,t){if(tr)return e==="compositionend"||!pm&&Ev(e,t)?(e=Sv(),nf=cm=oi=null,tr=!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 _1&&t.locale!=="ko"?null:t.data;default:return null}}function wv(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!VM[e.type]:t==="textarea"}function tC(e){if(!Qa)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 Rv(e,t,n,a){Ws?er?er.push(a):er=[a]:Ws=a,t=Uc(t,"onChange"),0<t.length&&(n=new af("onChange","change",null,n,a),e.push({event:n,listeners:t}))}function nC(e){rS(e,0)}function $u(e){var t=me(e);if(Wg(t))return e}function Av(e,t){if(e==="change")return t}function Cv(){jl&&(jl.detachEvent("onpropertychange",Dv),zl=jl=null)}function Dv(e){if(e.propertyName==="value"&&$u(zl)){var t=[];Rv(t,zl,e,$d(e)),bv(nC,t)}}function aC(e,t,n){e==="focusin"?(Cv(),jl=t,zl=n,jl.attachEvent("onpropertychange",Dv)):e==="focusout"&&Cv()}function oC(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return $u(zl)}function iC(e,t){if(e==="click")return $u(t)}function sC(e,t){if(e==="input"||e==="change")return $u(t)}function rC(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}function Ir(e,t){if(rn(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var n=Object.keys(e),a=Object.keys(t);if(n.length!==a.length)return!1;for(a=0;a<n.length;a++){var s=n[a];if(!da.call(t,s)||!rn(e[s],t[s]))return!1}return!0}function Mv(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Ov(e,t){var n=Mv(e);e=0;for(var a;n;){if(n.nodeType===3){if(a=e+n.textContent.length,e<=t&&a>=t)return{node:n,offset:t-e};e=a}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=Mv(n)}}function _v(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?_v(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function jv(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=Hu(e.document);t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Hu(e.document)}return t}function Qd(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 zv(e,t,n){var a=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;ym||nr==null||nr!==Hu(a)||(a=nr,"selectionStart"in a&&Qd(a)?a={start:a.selectionStart,end:a.selectionEnd}:(a=(a.ownerDocument&&a.ownerDocument.defaultView||window).getSelection(),a={anchorNode:a.anchorNode,anchorOffset:a.anchorOffset,focusNode:a.focusNode,focusOffset:a.focusOffset}),Nl&&Ir(Nl,a)||(Nl=a,a=Uc(mm,"onSelect"),0<a.length&&(t=new af("onSelect","select",null,t,n),e.push({event:t,listeners:a}),t.target=nr)))}function Ui(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}function Li(e){if(gm[e])return gm[e];if(!ar[e])return e;var t=ar[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in U1)return gm[e]=t[n];return e}function la(e,t){Y1.set(e,t),Pe(t,[e])}function lC(e){for(var t=sf,n=0;n<e.length;n++){var a=e[n];if(typeof a=="object"&&a!==null)if(Vt(a)&&a.length===2&&typeof a[0]=="string"){if(t!==sf&&t!==Em)return Sm;t=Em}else return Sm;else{if(typeof a=="function"||typeof a=="string"&&50<a.length||t!==sf&&t!==Tm)return Sm;t=Tm}}return t}function Zd(e,t,n,a){for(var s in e)da.call(e,s)&&s[0]!=="_"&&Ra(s,e[s],t,n,a)}function Ra(e,t,n,a,s){switch(typeof t){case"object":if(t===null){t="null";break}else{if(t.$$typeof===Ya){var r=I(t.type)||"…",c=t.key;t=t.props;var d=Object.keys(t),y=d.length;if(c==null&&y===0){t="<"+r+" />";break}if(3>a||y===1&&d[0]==="children"&&c==null){t="<"+r+" … />";break}n.push([s+"  ".repeat(a)+e,"<"+r]),c!==null&&Ra("key",c,n,a+1,s),e=!1;for(var b in t)b==="children"?t.children!=null&&(!Vt(t.children)||0<t.children.length)&&(e=!0):da.call(t,b)&&b[0]!=="_"&&Ra(b,t[b],n,a+1,s);n.push(["",e?">…</"+r+">":"/>"]);return}if(r=Object.prototype.toString.call(t),r=r.slice(8,r.length-1),r==="Array"){if(b=lC(t),b===Tm||b===sf){t=JSON.stringify(t);break}else if(b===Em){for(n.push([s+"  ".repeat(a)+e,""]),e=0;e<t.length;e++)r=t[e],Ra(r[0],r[1],n,a+1,s);return}}if(r==="Promise"){if(t.status==="fulfilled"){if(r=n.length,Ra(e,t.value,n,a,s),n.length>r){n=n[r],n[1]="Promise<"+(n[1]||"Object")+">";return}}else if(t.status==="rejected"&&(r=n.length,Ra(e,t.reason,n,a,s),n.length>r)){n=n[r],n[1]="Rejected Promise<"+n[1]+">";return}n.push(["  ".repeat(a)+e,"Promise"]);return}r==="Object"&&(b=Object.getPrototypeOf(t))&&typeof b.constructor=="function"&&(r=b.constructor.name),n.push([s+"  ".repeat(a)+e,r==="Object"?3>a?"":"…":r]),3>a&&Zd(t,n,a+1,s);return}case"function":t=t.name===""?"() => {}":t.name+"() {}";break;case"string":t=t===qM?"…":JSON.stringify(t);break;case"undefined":t="undefined";break;case"boolean":t=t?"true":"false";break;default:t=String(t)}n.push([s+"  ".repeat(a)+e,t])}function Nv(e,t,n,a){var s=!0;for(c in e)c in t||(n.push([rf+"  ".repeat(a)+c,"…"]),s=!1);for(var r in t)if(r in e){var c=e[r],d=t[r];if(c!==d){if(a===0&&r==="children")s="  ".repeat(a)+r,n.push([rf+s,"…"],[lf+s,"…"]);else{if(!(3<=a)){if(typeof c=="object"&&typeof d=="object"&&c!==null&&d!==null&&c.$$typeof===d.$$typeof)if(d.$$typeof===Ya){if(c.type===d.type&&c.key===d.key){c=I(d.type)||"…",s="  ".repeat(a)+r,c="<"+c+" … />",n.push([rf+s,c],[lf+s,c]),s=!1;continue}}else{var y=Object.prototype.toString.call(c),b=Object.prototype.toString.call(d);if(y===b&&(b==="[object Object]"||b==="[object Array]")){y=[P1+"  ".repeat(a)+r,b==="[object Array]"?"Array":""],n.push(y),b=n.length,Nv(c,d,n,a+1)?b===n.length&&(y[1]="Referentially unequal but deeply equal objects. Consider memoization."):s=!1;continue}}else if(typeof c=="function"&&typeof d=="function"&&c.name===d.name&&c.length===d.length&&(y=Function.prototype.toString.call(c),b=Function.prototype.toString.call(d),y===b)){c=d.name===""?"() => {}":d.name+"() {}",n.push([P1+"  ".repeat(a)+r,c+" Referentially unequal function closure. Consider memoization."]);continue}}Ra(r,c,n,a,rf),Ra(r,d,n,a,lf)}s=!1}}else n.push([lf+"  ".repeat(a)+r,"…"]),s=!1;return s}function ua(e){Ge=e&63?"Blocking":e&64?"Gesture":e&4194176?"Transition":e&62914560?"Suspense":e&2080374784?"Idle":"Other"}function Aa(e,t,n,a){rt&&(si.start=t,si.end=n,bo.color="warning",bo.tooltipText=a,bo.properties=null,(e=e._debugTask)?e.run(performance.measure.bind(performance,a,si)):performance.measure(a,si))}function Xu(e,t,n){Aa(e,t,n,"Reconnect")}function Qu(e,t,n,a,s){var r=q(e);if(r!==null&&rt){var c=e.alternate,d=e.actualDuration;if(c===null||c.child!==e.child)for(var y=e.child;y!==null;y=y.sibling)d-=y.actualDuration;a=.5>d?a?"tertiary-light":"primary-light":10>d?a?"tertiary":"primary":100>d?a?"tertiary-dark":"primary-dark":"error";var b=e.memoizedProps;d=e._debugTask,b!==null&&c!==null&&c.memoizedProps!==b?(y=[GM],b=Nv(c.memoizedProps,b,y,0),1<y.length&&(b&&!ii&&(c.lanes&s)===0&&100<e.actualDuration?(ii=!0,y[0]=PM,bo.color="warning",bo.tooltipText=$1):(bo.color=a,bo.tooltipText=r),bo.properties=y,si.start=t,si.end=n,d!=null?d.run(performance.measure.bind(performance,"​"+r,si)):performance.measure("​"+r,si))):d!=null?d.run(console.timeStamp.bind(console,r,t,n,$n,void 0,a)):console.timeStamp(r,t,n,$n,void 0,a)}}function Id(e,t,n,a){if(rt){var s=q(e);if(s!==null){for(var r=null,c=[],d=0;d<a.length;d++){var y=a[d];r==null&&y.source!==null&&(r=y.source._debugTask),y=y.value,c.push(["Error",typeof y=="object"&&y!==null&&typeof y.message=="string"?String(y.message):String(y)])}e.key!==null&&Ra("key",e.key,c,0,""),e.memoizedProps!==null&&Zd(e.memoizedProps,c,0,""),r==null&&(r=e._debugTask),e={start:t,end:n,detail:{devtools:{color:"error",track:$n,tooltipText:e.tag===13?"Hydration failed":"Error boundary caught an error",properties:c}}},r?r.run(performance.measure.bind(performance,"​"+s,e)):performance.measure("​"+s,e)}}}function Ca(e,t,n,a,s){if(s!==null){if(rt){var r=q(e);if(r!==null){a=[];for(var c=0;c<s.length;c++){var d=s[c].value;a.push(["Error",typeof d=="object"&&d!==null&&typeof d.message=="string"?String(d.message):String(d)])}e.key!==null&&Ra("key",e.key,a,0,""),e.memoizedProps!==null&&Zd(e.memoizedProps,a,0,""),t={start:t,end:n,detail:{devtools:{color:"error",track:$n,tooltipText:"A lifecycle or effect errored",properties:a}}},(e=e._debugTask)?e.run(performance.measure.bind(performance,"​"+r,t)):performance.measure("​"+r,t)}}}else r=q(e),r!==null&&rt&&(s=1>a?"secondary-light":100>a?"secondary":500>a?"secondary-dark":"error",(e=e._debugTask)?e.run(console.timeStamp.bind(console,r,t,n,$n,void 0,s)):console.timeStamp(r,t,n,$n,void 0,s))}function uC(e,t,n,a){if(rt&&!(t<=e)){var s=(n&738197653)===n?"tertiary-dark":"primary-dark";n=(n&536870912)===n?"Prepared":(n&201326741)===n?"Hydrated":"Render",a?a.run(console.timeStamp.bind(console,n,e,t,Ge,Ye,s)):console.timeStamp(n,e,t,Ge,Ye,s)}}function Vv(e,t,n,a){!rt||t<=e||(n=(n&738197653)===n?"tertiary-dark":"primary-dark",a?a.run(console.timeStamp.bind(console,"Prewarm",e,t,Ge,Ye,n)):console.timeStamp("Prewarm",e,t,Ge,Ye,n))}function Uv(e,t,n,a){!rt||t<=e||(n=(n&738197653)===n?"tertiary-dark":"primary-dark",a?a.run(console.timeStamp.bind(console,"Suspended",e,t,Ge,Ye,n)):console.timeStamp("Suspended",e,t,Ge,Ye,n))}function cC(e,t,n,a,s,r){if(rt&&!(t<=e)){n=[];for(var c=0;c<a.length;c++){var d=a[c].value;n.push(["Recoverable Error",typeof d=="object"&&d!==null&&typeof d.message=="string"?String(d.message):String(d)])}e={start:e,end:t,detail:{devtools:{color:"primary-dark",track:Ge,trackGroup:Ye,tooltipText:s?"Hydration Failed":"Recovered after Error",properties:n}}},r?r.run(performance.measure.bind(performance,"Recovered",e)):performance.measure("Recovered",e)}}function Jd(e,t,n,a){!rt||t<=e||(a?a.run(console.timeStamp.bind(console,"Errored",e,t,Ge,Ye,"error")):console.timeStamp("Errored",e,t,Ge,Ye,"error"))}function fC(e,t,n,a){!rt||t<=e||(a?a.run(console.timeStamp.bind(console,n,e,t,Ge,Ye,"secondary-light")):console.timeStamp(n,e,t,Ge,Ye,"secondary-light"))}function Lv(e,t,n,a,s){if(rt&&!(t<=e)){for(var r=[],c=0;c<n.length;c++){var d=n[c].value;r.push(["Error",typeof d=="object"&&d!==null&&typeof d.message=="string"?String(d.message):String(d)])}e={start:e,end:t,detail:{devtools:{color:"error",track:Ge,trackGroup:Ye,tooltipText:a?"Remaining Effects Errored":"Commit Errored",properties:r}}},s?s.run(performance.measure.bind(performance,"Errored",e)):performance.measure("Errored",e)}}function Fd(e,t,n){!rt||t<=e||console.timeStamp("Animating",e,t,Ge,Ye,"secondary-dark")}function Zu(){for(var e=or,t=xm=or=0;t<e;){var n=Xn[t];Xn[t++]=null;var a=Xn[t];Xn[t++]=null;var s=Xn[t];Xn[t++]=null;var r=Xn[t];if(Xn[t++]=null,a!==null&&s!==null){var c=a.pending;c===null?s.next=s:(s.next=c.next,c.next=s),a.pending=s}r!==0&&Bv(n,s,r)}}function Iu(e,t,n,a){Xn[or++]=e,Xn[or++]=t,Xn[or++]=n,Xn[or++]=a,xm|=a,e.lanes|=a,e=e.alternate,e!==null&&(e.lanes|=a)}function Kd(e,t,n,a){return Iu(e,t,n,a),Ju(e)}function Ft(e,t){return Iu(e,null,null,t),Ju(e)}function Bv(e,t,n){e.lanes|=n;var a=e.alternate;a!==null&&(a.lanes|=n);for(var s=!1,r=e.return;r!==null;)r.childLanes|=n,a=r.alternate,a!==null&&(a.childLanes|=n),r.tag===22&&(e=r.stateNode,e===null||e._visibility&Vl||(s=!0)),e=r,r=r.return;return e.tag===3?(r=e.stateNode,s&&t!==null&&(s=31-an(n),e=r.hiddenUpdates,a=e[s],a===null?e[s]=[t]:a.push(t),t.lane=n|536870912),r):null}function Ju(e){if(lu>sO)throw hs=lu=0,uu=ny=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.");hs>rO&&(hs=0,uu=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&&eS(e);for(var t=e,n=t.return;n!==null;)t.alternate===null&&(t.flags&4098)!==0&&eS(e),t=n,n=t.return;return t.tag===3?t.stateNode:null}function Bi(e){if(Qn===null)return e;var t=Qn(e);return t===void 0?e:t.current}function Wd(e){if(Qn===null)return e;var t=Qn(e);return t===void 0?e!=null&&typeof e.render=="function"&&(t=Bi(e.render),e.render!==t)?(t={$$typeof:xl,render:t},e.displayName!==void 0&&(t.displayName=e.displayName),t):e:t.current}function kv(e,t){if(Qn===null)return!1;var n=e.elementType;t=t.type;var a=!1,s=typeof t=="object"&&t!==null?t.$$typeof:null;switch(e.tag){case 1:typeof t=="function"&&(a=!0);break;case 0:(typeof t=="function"||s===_n)&&(a=!0);break;case 11:(s===xl||s===_n)&&(a=!0);break;case 14:case 15:(s===Qc||s===_n)&&(a=!0);break;default:return!1}return!!(a&&(e=Qn(n),e!==void 0&&e===Qn(t)))}function Hv(e){Qn!==null&&typeof WeakSet=="function"&&(ir===null&&(ir=new WeakSet),ir.add(e))}function Yv(e,t,n){do{var a=e,s=a.alternate,r=a.child,c=a.sibling,d=a.tag;a=a.type;var y=null;switch(d){case 0:case 15:case 1:y=a;break;case 11:y=a.render}if(Qn===null)throw Error("Expected resolveFamily to be set during hot reload.");var b=!1;if(a=!1,y!==null&&(y=Qn(y),y!==void 0&&(n.has(y)?a=!0:t.has(y)&&(d===1?a=!0:b=!0))),ir!==null&&(ir.has(e)||s!==null&&ir.has(s))&&(a=!0),a&&(e._debugNeedsRemount=!0),(a||b)&&(s=Ft(e,2),s!==null&&yt(s,e,2)),r===null||a||Yv(r,t,n),c===null)break;e=c}while(!0)}function dC(e,t,n,a){this.tag=e,this.key=n,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=a,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,X1||typeof Object.preventExtensions!="function"||Object.preventExtensions(this)}function eh(e){return e=e.prototype,!(!e||!e.isReactComponent)}function uo(e,t){var n=e.alternate;switch(n===null?(n=g(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n._debugOwner=e._debugOwner,n._debugStack=e._debugStack,n._debugTask=e._debugTask,n._debugHookTypes=e._debugHookTypes,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null,n.actualDuration=-0,n.actualStartTime=-1.1),n.flags=e.flags&65011712,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext,_debugThenableState:t._debugThenableState},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n.refCleanup=e.refCleanup,n.selfBaseDuration=e.selfBaseDuration,n.treeBaseDuration=e.treeBaseDuration,n._debugInfo=e._debugInfo,n._debugNeedsRemount=e._debugNeedsRemount,n.tag){case 0:case 15:n.type=Bi(e.type);break;case 1:n.type=Bi(e.type);break;case 11:n.type=Wd(e.type)}return n}function qv(e,t){e.flags&=65011714;var n=e.alternate;return n===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=n.childLanes,e.lanes=n.lanes,e.child=n.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=n.memoizedProps,e.memoizedState=n.memoizedState,e.updateQueue=n.updateQueue,e.type=n.type,t=n.dependencies,e.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext,_debugThenableState:t._debugThenableState},e.selfBaseDuration=n.selfBaseDuration,e.treeBaseDuration=n.treeBaseDuration),e}function th(e,t,n,a,s,r){var c=0,d=e;if(typeof e=="function")eh(e)&&(c=1),d=Bi(d);else if(typeof e=="string")c=fe(),c=TD(e,n,c)?26:e==="html"||e==="head"||e==="body"?27:5;else e:switch(e){case Zp:return t=g(31,n,t,s),t.elementType=Zp,t.lanes=r,t;case Qs:return ki(n.children,s,r,t);case Xc:c=8,s|=Wt,s|=ha;break;case Pp:return e=n,a=s,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=g(12,e,t,a|ze),t.elementType=Pp,t.lanes=r,t.stateNode={effectDuration:0,passiveEffectDuration:0},t;case Xp:return t=g(13,n,t,s),t.elementType=Xp,t.lanes=r,t;case Qp:return t=g(19,n,t,s),t.elementType=Qp,t.lanes=r,t;default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case qa:c=10;break e;case $p:c=9;break e;case xl:c=11,d=Wd(d);break e;case Qc:c=14;break e;case _n:c=16,d=null;break e}d="",(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(d+=" 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?n="null":Vt(e)?n="array":e!==void 0&&e.$$typeof===Ya?(n="<"+(I(e.type)||"Unknown")+" />",d=" Did you accidentally export a JSX literal instead of a component?"):n=typeof e,(c=a?X(a):null)&&(d+=`
117
+
118
+ Check the render method of \``+c+"`."),c=29,n=Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: "+(n+"."+d)),d=null}return t=g(c,n,t,s),t.elementType=e,t.type=d,t.lanes=r,t._debugOwner=a,t}function Fu(e,t,n){return t=th(e.type,e.key,e.props,e._owner,t,n),t._debugOwner=e._owner,t._debugStack=e._debugStack,t._debugTask=e._debugTask,t}function ki(e,t,n,a){return e=g(7,e,a,t),e.lanes=n,e}function nh(e,t,n){return e=g(6,e,null,t),e.lanes=n,e}function Gv(e){var t=g(18,null,null,we);return t.stateNode=e,t}function ah(e,t,n){return t=g(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Rn(e,t){if(typeof e=="object"&&e!==null){var n=wm.get(e);return n!==void 0?n:(t={value:e,source:t,stack:Re(t)},wm.set(e,t),t)}return{value:e,source:t,stack:Re(t)}}function co(e,t){qo(),sr[rr++]=Ul,sr[rr++]=uf,uf=e,Ul=t}function Pv(e,t,n){qo(),Zn[In++]=To,Zn[In++]=Eo,Zn[In++]=Ki,Ki=e;var a=To;e=Eo;var s=32-an(a)-1;a&=~(1<<s),n+=1;var r=32-an(t)+s;if(30<r){var c=s-s%5;r=(a&(1<<c)-1).toString(32),a>>=c,s-=c,To=1<<32-an(t)+s|n<<s|a,Eo=r+e}else To=1<<r|n<<s|a,Eo=e}function oh(e){qo(),e.return!==null&&(co(e,1),Pv(e,1,0))}function ih(e){for(;e===uf;)uf=sr[--rr],sr[rr]=null,Ul=sr[--rr],sr[rr]=null;for(;e===Ki;)Ki=Zn[--In],Zn[In]=null,Eo=Zn[--In],Zn[In]=null,To=Zn[--In],Zn[In]=null}function $v(){return qo(),Ki!==null?{id:To,overflow:Eo}:null}function Xv(e,t){qo(),Zn[In++]=To,Zn[In++]=Eo,Zn[In++]=Ki,To=t.id,Eo=t.overflow,Ki=e}function qo(){ke||console.error("Expected to be hydrating. This is a bug in React. Please file an issue.")}function Hi(e,t){if(e.return===null){if(zn===null)zn={fiber:e,children:[],serverProps:void 0,serverTail:[],distanceFromLeaf:t};else{if(zn.fiber!==e)throw Error("Saw multiple hydration diff roots in a pass. This is a bug in React.");zn.distanceFromLeaf>t&&(zn.distanceFromLeaf=t)}return zn}var n=Hi(e.return,t+1).children;return 0<n.length&&n[n.length-1].fiber===e?(n=n[n.length-1],n.distanceFromLeaf>t&&(n.distanceFromLeaf=t),n):(t={fiber:e,children:[],serverProps:void 0,serverTail:[],distanceFromLeaf:t},n.push(t),t)}function Qv(){ke&&console.error("We should not be hydrating here. This is a bug in React. Please file a bug.")}function Ku(e,t){Za||(e=Hi(e,0),e.serverProps=null,t!==null&&(t=RS(t),e.serverTail.push(t)))}function Go(e){var t=1<arguments.length&&arguments[1]!==void 0?arguments[1]:!1,n="",a=zn;throw a!==null&&(zn=null,n=Gd(a)),Jr(Rn(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:
119
+
120
+ - A server/client branch \`if (typeof window !== 'undefined')\`.
121
+ - Variable input such as \`Date.now()\` or \`Math.random()\` which changes each time it's called.
122
+ - Date formatting in a user's locale which doesn't match the server.
123
+ - External changing data without sending a snapshot of it along with the HTML.
124
+ - Invalid HTML tag nesting.
125
+
126
+ It can also happen if the client has a browser extension installed which messes with the HTML before React loaded.
127
+
128
+ https://react.dev/link/hydration-mismatch`+n),e)),Rm}function Zv(e){var t=e.stateNode,n=e.type,a=e.memoizedProps;switch(t[Qt]=e,t[on]=a,Rp(n,a),n){case"dialog":He("cancel",t),He("close",t);break;case"iframe":case"object":case"embed":He("load",t);break;case"video":case"audio":for(n=0;n<cu.length;n++)He(cu[n],t);break;case"source":He("error",t);break;case"img":case"image":case"link":He("error",t),He("load",t);break;case"details":He("toggle",t);break;case"input":tn("input",a),He("invalid",t),ev(t,a),tv(t,a.value,a.defaultValue,a.checked,a.defaultChecked,a.type,a.name,!0);break;case"option":nv(t,a);break;case"select":tn("select",a),He("invalid",t),ov(t,a);break;case"textarea":tn("textarea",a),He("invalid",t),iv(t,a),rv(t,a.value,a.defaultValue,a.children)}n=a.children,typeof n!="string"&&typeof n!="number"&&typeof n!="bigint"||t.textContent===""+n||a.suppressHydrationWarning===!0||fS(t.textContent,n)?(a.popover!=null&&(He("beforetoggle",t),He("toggle",t)),a.onScroll!=null&&He("scroll",t),a.onScrollEnd!=null&&He("scrollend",t),a.onClick!=null&&(t.onclick=lo),t=!0):t=!1,t||Go(e,!0)}function Iv(e){for(Zt=e.return;Zt;)switch(Zt.tag){case 5:case 31:case 13:Jn=!1;return;case 27:case 3:Jn=!0;return;default:Zt=Zt.return}}function _s(e){if(e!==Zt)return!1;if(!ke)return Iv(e),ke=!0,!1;var t=e.tag,n;if((n=t!==3&&t!==27)&&((n=t===5)&&(n=e.type,n=!(n!=="form"&&n!=="button")||Op(e.type,e.memoizedProps)),n=!n),n&&lt){for(n=lt;n;){var a=Hi(e,0),s=RS(n);a.serverTail.push(s),n=s.type==="Suspense"?Np(n):On(n.nextSibling)}Go(e)}if(Iv(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.");lt=Np(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.");lt=Np(e)}else t===27?(t=lt,Wo(e.type)?(e=py,py=null,lt=e):lt=t):lt=Zt?On(e.stateNode.nextSibling):null;return!0}function Yi(){lt=Zt=null,Za=ke=!1}function sh(){var e=li;return e!==null&&(fn===null?fn=e:fn.push.apply(fn,e),li=null),e}function Jr(e){li===null?li=[e]:li.push(e)}function rh(){var e=zn;if(e!==null){zn=null;for(var t=Gd(e);0<e.children.length;)e=e.children[0];ue(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:
129
+
130
+ - A server/client branch \`if (typeof window !== 'undefined')\`.
131
+ - Variable input such as \`Date.now()\` or \`Math.random()\` which changes each time it's called.
132
+ - Date formatting in a user's locale which doesn't match the server.
133
+ - External changing data without sending a snapshot of it along with the HTML.
134
+ - Invalid HTML tag nesting.
135
+
136
+ It can also happen if the client has a browser extension installed which messes with the HTML before React loaded.
137
+
138
+ %s%s`,"https://react.dev/link/hydration-mismatch",t)})}}function Wu(){lr=cf=null,ur=!1}function Po(e,t,n){Z(Am,t._currentValue,e),t._currentValue=n,Z(Cm,t._currentRenderer,e),t._currentRenderer!==void 0&&t._currentRenderer!==null&&t._currentRenderer!==Z1&&console.error("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),t._currentRenderer=Z1}function fo(e,t){e._currentValue=Am.current;var n=Cm.current;J(Cm,t),e._currentRenderer=n,J(Am,t)}function lh(e,t,n){for(;e!==null;){var a=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,a!==null&&(a.childLanes|=t)):a!==null&&(a.childLanes&t)!==t&&(a.childLanes|=t),e===n)break;e=e.return}e!==n&&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 uh(e,t,n,a){var s=e.child;for(s!==null&&(s.return=e);s!==null;){var r=s.dependencies;if(r!==null){var c=s.child;r=r.firstContext;e:for(;r!==null;){var d=r;r=s;for(var y=0;y<t.length;y++)if(d.context===t[y]){r.lanes|=n,d=r.alternate,d!==null&&(d.lanes|=n),lh(r.return,n,e),a||(c=null);break e}r=d.next}}else if(s.tag===18){if(c=s.return,c===null)throw Error("We just came from a parent so we must have had a parent. This is a bug in React.");c.lanes|=n,r=c.alternate,r!==null&&(r.lanes|=n),lh(c,n,e),c=null}else c=s.child;if(c!==null)c.return=s;else for(c=s;c!==null;){if(c===e){c=null;break}if(s=c.sibling,s!==null){s.return=c.return,c=s;break}c=c.return}s=c}}function js(e,t,n,a){e=null;for(var s=t,r=!1;s!==null;){if(!r){if((s.flags&524288)!==0)r=!0;else if((s.flags&262144)!==0)break}if(s.tag===10){var c=s.alternate;if(c===null)throw Error("Should have a current fiber. This is a bug in React.");if(c=c.memoizedProps,c!==null){var d=s.type;rn(s.pendingProps.value,c.value)||(e!==null?e.push(d):e=[d])}}else if(s===Zc.current){if(c=s.alternate,c===null)throw Error("Should have a current fiber. This is a bug in React.");c.memoizedState.memoizedState!==s.memoizedState.memoizedState&&(e!==null?e.push(mu):e=[mu])}s=s.return}e!==null&&uh(t,e,n,a),t.flags|=262144}function ec(e){for(e=e.firstContext;e!==null;){if(!rn(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function qi(e){cf=e,lr=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function ct(e){return ur&&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()."),Jv(cf,e)}function tc(e,t){return cf===null&&qi(e),Jv(e,t)}function Jv(e,t){var n=t._currentValue;if(t={context:t,memoizedValue:n,next:null},lr===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().");lr=t,e.dependencies={lanes:0,firstContext:t,_debugThenableState:null},e.flags|=524288}else lr=lr.next=t;return n}function ch(){return{controller:new QM,data:new Map,refCount:0}}function Gi(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 Fr(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&&ZM(IM,function(){e.controller.abort()})}function Da(e,t,n){(e&127)!==0?0>Ia&&(Ia=Dt(),Bl=ff(t),Dm=t,n!=null&&(Mm=q(n)),($e&(Lt|Un))!==Gt&&(gt=!0,ci=Ll),e=vl(),t=gl(),e!==cr||t!==kl?cr=-1.1:t!==null&&(ci=Ll),ts=e,kl=t):(e&4194048)!==0&&0>Fn&&(Fn=Dt(),Hl=ff(t),I1=t,n!=null&&(J1=q(n)),0>Ao)&&(e=vl(),t=gl(),(e!==di||t!==ns)&&(di=-1.1),fi=e,ns=t)}function hC(e){if(0>Ia){Ia=Dt(),Bl=e._debugTask!=null?e._debugTask:null,($e&(Lt|Un))!==Gt&&(ci=Ll);var t=vl(),n=gl();t!==cr||n!==kl?cr=-1.1:n!==null&&(ci=Ll),ts=t,kl=n}0>Fn&&(Fn=Dt(),Hl=e._debugTask!=null?e._debugTask:null,0>Ao)&&(e=vl(),t=gl(),(e!==di||t!==ns)&&(di=-1.1),fi=e,ns=t)}function ho(){var e=Wi;return Wi=0,e}function nc(e){var t=Wi;return Wi=e,t}function Kr(e){var t=Wi;return Wi+=e,t}function ac(){xe=Ee=-1.1}function An(){var e=Ee;return Ee=-1.1,e}function Cn(e){0<=e&&(Ee=e)}function Ma(){var e=ht;return ht=-0,e}function Oa(e){0<=e&&(ht=e)}function _a(){var e=ft;return ft=null,e}function ja(){var e=gt;return gt=!1,e}function fh(e){ln=Dt(),0>e.actualStartTime&&(e.actualStartTime=ln)}function dh(e){if(0<=ln){var t=Dt()-ln;e.actualDuration+=t,e.selfBaseDuration=t,ln=-1}}function Fv(e){if(0<=ln){var t=Dt()-ln;e.actualDuration+=t,ln=-1}}function za(){if(0<=ln){var e=Dt(),t=e-ln;ln=-1,Wi+=t,ht+=t,xe=e}}function Kv(e){ft===null&&(ft=[]),ft.push(e),wo===null&&(wo=[]),wo.push(e)}function Na(){ln=Dt(),0>Ee&&(Ee=ln)}function Wr(e){for(var t=e.child;t;)e.actualDuration+=t.actualDuration,t=t.sibling}function pC(e,t){if(ql===null){var n=ql=[];_m=0,as=Tp(),fr={status:"pending",value:void 0,then:function(a){n.push(a)}}}return _m++,t.then(Wv,Wv),t}function Wv(){if(--_m===0&&(-1<Fn||(Ao=-1.1),ql!==null)){fr!==null&&(fr.status="fulfilled");var e=ql;ql=null,as=0,fr=null;for(var t=0;t<e.length;t++)(0,e[t])()}}function mC(e,t){var n=[],a={status:"pending",value:null,reason:null,then:function(s){n.push(s)}};return e.then(function(){a.status="fulfilled",a.value=t;for(var s=0;s<n.length;s++)(0,n[s])(t)},function(s){for(a.status="rejected",a.reason=s,s=0;s<n.length;s++)(0,n[s])(void 0)}),a}function hh(){var e=os.current;return e!==null?e:nt.pooledCache}function oc(e,t){t===null?Z(os,os.current,e):Z(os,t.pool,e)}function e0(){var e=hh();return e===null?null:{parent:Ct._currentValue,pool:e}}function t0(){return{didWarnAboutUncachedPromise:!1,thenables:[]}}function n0(e){return e=e.status,e==="fulfilled"||e==="rejected"}function a0(e,t,n){Y.actQueue!==null&&(Y.didUsePromise=!0);var a=e.thenables;if(n=a[n],n===void 0?a.push(t):n!==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(lo,lo),t=n),t._debugInfo===void 0){e=performance.now(),a=t.displayName;var s={name:typeof a=="string"?a:"Promise",start:e,end:e,value:t};t._debugInfo=[{awaited:s}],t.status!=="fulfilled"&&t.status!=="rejected"&&(e=function(){s.end=performance.now()},t.then(e,e))}switch(t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,i0(e),e;default:if(typeof t.status=="string")t.then(lo,lo);else{if(e=nt,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(r){if(t.status==="pending"){var c=t;c.status="fulfilled",c.value=r}},function(r){if(t.status==="pending"){var c=t;c.status="rejected",c.reason=r}})}switch(t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,i0(e),e}throw ss=t,Il=!0,dr}}function $o(e){try{return eO(e)}catch(t){throw t!==null&&typeof t=="object"&&typeof t.then=="function"?(ss=t,Il=!0,dr):t}}function o0(){if(ss===null)throw Error("Expected a suspended thenable. This is a bug in React. Please file an issue.");var e=ss;return ss=null,Il=!1,e}function i0(e){if(e===dr||e===bf)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 Pt(e){var t=Ne;return e!=null&&(Ne=t===null?e:t.concat(e)),t}function ph(){var e=Ne;if(e!=null){for(var t=e.length-1;0<=t;t--)if(e[t].name!=null){var n=e[t].debugTask;if(n!=null)return n}}return null}function ic(e,t,n){for(var a=Object.keys(e.props),s=0;s<a.length;s++){var r=a[s];if(r!=="children"&&r!=="key"){t===null&&(t=Fu(e,n.mode,0),t._debugInfo=Ne,t.return=n),ue(t,function(c){console.error("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",c)},r);break}}}function sc(e){var t=Jl;return Jl+=1,hr===null&&(hr=t0()),a0(hr,e,t)}function el(e,t){t=t.props.ref,e.ref=t!==void 0?t:null}function s0(e,t){throw t.$$typeof===jD?Error(`A React Element from an older version of React was rendered. This is not supported. It can happen if:
139
+ - Multiple copies of the "react" package is used.
140
+ - A library pre-bundled an old copy of "react" or "react/jsx-runtime".
141
+ - 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 rc(e,t){var n=ph();n!==null?n.run(s0.bind(null,e,t)):s0(e,t)}function r0(e,t){var n=q(e)||"Component";yT[n]||(yT[n]=!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.
142
+ 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.
143
+ <%s>{%s}</%s>`,t,t,n,t,n))}function lc(e,t){var n=ph();n!==null?n.run(r0.bind(null,e,t)):r0(e,t)}function l0(e,t){var n=q(e)||"Component";gT[n]||(gT[n]=!0,t=String(t),e.tag===3?console.error(`Symbols are not valid as a React child.
144
+ root.render(%s)`,t):console.error(`Symbols are not valid as a React child.
145
+ <%s>%s</%s>`,n,t,n))}function uc(e,t){var n=ph();n!==null?n.run(l0.bind(null,e,t)):l0(e,t)}function u0(e){function t(R,M){if(e){var _=R.deletions;_===null?(R.deletions=[M],R.flags|=16):_.push(M)}}function n(R,M){if(!e)return null;for(;M!==null;)t(R,M),M=M.sibling;return null}function a(R){for(var M=new Map;R!==null;)R.key!==null?M.set(R.key,R):M.set(R.index,R),R=R.sibling;return M}function s(R,M){return R=uo(R,M),R.index=0,R.sibling=null,R}function r(R,M,_){return R.index=_,e?(_=R.alternate,_!==null?(_=_.index,_<M?(R.flags|=67108866,M):_):(R.flags|=67108866,M)):(R.flags|=1048576,M)}function c(R){return e&&R.alternate===null&&(R.flags|=67108866),R}function d(R,M,_,$){return M===null||M.tag!==6?(M=nh(_,R.mode,$),M.return=R,M._debugOwner=R,M._debugTask=R._debugTask,M._debugInfo=Ne,M):(M=s(M,_),M.return=R,M._debugInfo=Ne,M)}function y(R,M,_,$){var re=_.type;return re===Qs?(M=z(R,M,_.props.children,$,_.key),ic(_,M,R),M):M!==null&&(M.elementType===re||kv(M,_)||typeof re=="object"&&re!==null&&re.$$typeof===_n&&$o(re)===M.type)?(M=s(M,_.props),el(M,_),M.return=R,M._debugOwner=_._owner,M._debugInfo=Ne,M):(M=Fu(_,R.mode,$),el(M,_),M.return=R,M._debugInfo=Ne,M)}function b(R,M,_,$){return M===null||M.tag!==4||M.stateNode.containerInfo!==_.containerInfo||M.stateNode.implementation!==_.implementation?(M=ah(_,R.mode,$),M.return=R,M._debugInfo=Ne,M):(M=s(M,_.children||[]),M.return=R,M._debugInfo=Ne,M)}function z(R,M,_,$,re){return M===null||M.tag!==7?(M=ki(_,R.mode,$,re),M.return=R,M._debugOwner=R,M._debugTask=R._debugTask,M._debugInfo=Ne,M):(M=s(M,_),M.return=R,M._debugInfo=Ne,M)}function N(R,M,_){if(typeof M=="string"&&M!==""||typeof M=="number"||typeof M=="bigint")return M=nh(""+M,R.mode,_),M.return=R,M._debugOwner=R,M._debugTask=R._debugTask,M._debugInfo=Ne,M;if(typeof M=="object"&&M!==null){switch(M.$$typeof){case Ya:return _=Fu(M,R.mode,_),el(_,M),_.return=R,R=Pt(M._debugInfo),_._debugInfo=Ne,Ne=R,_;case Xs:return M=ah(M,R.mode,_),M.return=R,M._debugInfo=Ne,M;case _n:var $=Pt(M._debugInfo);return M=$o(M),R=N(R,M,_),Ne=$,R}if(Vt(M)||ie(M))return _=ki(M,R.mode,_,null),_.return=R,_._debugOwner=R,_._debugTask=R._debugTask,R=Pt(M._debugInfo),_._debugInfo=Ne,Ne=R,_;if(typeof M.then=="function")return $=Pt(M._debugInfo),R=N(R,sc(M),_),Ne=$,R;if(M.$$typeof===qa)return N(R,tc(R,M),_);rc(R,M)}return typeof M=="function"&&lc(R,M),typeof M=="symbol"&&uc(R,M),null}function D(R,M,_,$){var re=M!==null?M.key:null;if(typeof _=="string"&&_!==""||typeof _=="number"||typeof _=="bigint")return re!==null?null:d(R,M,""+_,$);if(typeof _=="object"&&_!==null){switch(_.$$typeof){case Ya:return _.key===re?(re=Pt(_._debugInfo),R=y(R,M,_,$),Ne=re,R):null;case Xs:return _.key===re?b(R,M,_,$):null;case _n:return re=Pt(_._debugInfo),_=$o(_),R=D(R,M,_,$),Ne=re,R}if(Vt(_)||ie(_))return re!==null?null:(re=Pt(_._debugInfo),R=z(R,M,_,$,null),Ne=re,R);if(typeof _.then=="function")return re=Pt(_._debugInfo),R=D(R,M,sc(_),$),Ne=re,R;if(_.$$typeof===qa)return D(R,M,tc(R,_),$);rc(R,_)}return typeof _=="function"&&lc(R,_),typeof _=="symbol"&&uc(R,_),null}function k(R,M,_,$,re){if(typeof $=="string"&&$!==""||typeof $=="number"||typeof $=="bigint")return R=R.get(_)||null,d(M,R,""+$,re);if(typeof $=="object"&&$!==null){switch($.$$typeof){case Ya:return _=R.get($.key===null?_:$.key)||null,R=Pt($._debugInfo),M=y(M,_,$,re),Ne=R,M;case Xs:return R=R.get($.key===null?_:$.key)||null,b(M,R,$,re);case _n:var Ce=Pt($._debugInfo);return $=$o($),M=k(R,M,_,$,re),Ne=Ce,M}if(Vt($)||ie($))return _=R.get(_)||null,R=Pt($._debugInfo),M=z(M,_,$,re,null),Ne=R,M;if(typeof $.then=="function")return Ce=Pt($._debugInfo),M=k(R,M,_,sc($),re),Ne=Ce,M;if($.$$typeof===qa)return k(R,M,_,tc(M,$),re);rc(M,$)}return typeof $=="function"&&lc(M,$),typeof $=="symbol"&&uc(M,$),null}function oe(R,M,_,$){if(typeof _!="object"||_===null)return $;switch(_.$$typeof){case Ya:case Xs:T(R,M,_);var re=_.key;if(typeof re!="string")break;if($===null){$=new Set,$.add(re);break}if(!$.has(re)){$.add(re);break}ue(M,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.",re)});break;case _n:_=$o(_),oe(R,M,_,$)}return $}function ce(R,M,_,$){for(var re=null,Ce=null,Te=null,ye=M,je=M=0,ut=null;ye!==null&&je<_.length;je++){ye.index>je?(ut=ye,ye=null):ut=ye.sibling;var wt=D(R,ye,_[je],$);if(wt===null){ye===null&&(ye=ut);break}re=oe(R,wt,_[je],re),e&&ye&&wt.alternate===null&&t(R,ye),M=r(wt,M,je),Te===null?Ce=wt:Te.sibling=wt,Te=wt,ye=ut}if(je===_.length)return n(R,ye),ke&&co(R,je),Ce;if(ye===null){for(;je<_.length;je++)ye=N(R,_[je],$),ye!==null&&(re=oe(R,ye,_[je],re),M=r(ye,M,je),Te===null?Ce=ye:Te.sibling=ye,Te=ye);return ke&&co(R,je),Ce}for(ye=a(ye);je<_.length;je++)ut=k(ye,R,je,_[je],$),ut!==null&&(re=oe(R,ut,_[je],re),e&&ut.alternate!==null&&ye.delete(ut.key===null?je:ut.key),M=r(ut,M,je),Te===null?Ce=ut:Te.sibling=ut,Te=ut);return e&&ye.forEach(function(No){return t(R,No)}),ke&&co(R,je),Ce}function ot(R,M,_,$){if(_==null)throw Error("An iterable object provided no iterator.");for(var re=null,Ce=null,Te=M,ye=M=0,je=null,ut=null,wt=_.next();Te!==null&&!wt.done;ye++,wt=_.next()){Te.index>ye?(je=Te,Te=null):je=Te.sibling;var No=D(R,Te,wt.value,$);if(No===null){Te===null&&(Te=je);break}ut=oe(R,No,wt.value,ut),e&&Te&&No.alternate===null&&t(R,Te),M=r(No,M,ye),Ce===null?re=No:Ce.sibling=No,Ce=No,Te=je}if(wt.done)return n(R,Te),ke&&co(R,ye),re;if(Te===null){for(;!wt.done;ye++,wt=_.next())Te=N(R,wt.value,$),Te!==null&&(ut=oe(R,Te,wt.value,ut),M=r(Te,M,ye),Ce===null?re=Te:Ce.sibling=Te,Ce=Te);return ke&&co(R,ye),re}for(Te=a(Te);!wt.done;ye++,wt=_.next())je=k(Te,R,ye,wt.value,$),je!==null&&(ut=oe(R,je,wt.value,ut),e&&je.alternate!==null&&Te.delete(je.key===null?ye:je.key),M=r(je,M,ye),Ce===null?re=je:Ce.sibling=je,Ce=je);return e&&Te.forEach(function(wO){return t(R,wO)}),ke&&co(R,ye),re}function qe(R,M,_,$){if(typeof _=="object"&&_!==null&&_.type===Qs&&_.key===null&&(ic(_,null,R),_=_.props.children),typeof _=="object"&&_!==null){switch(_.$$typeof){case Ya:var re=Pt(_._debugInfo);e:{for(var Ce=_.key;M!==null;){if(M.key===Ce){if(Ce=_.type,Ce===Qs){if(M.tag===7){n(R,M.sibling),$=s(M,_.props.children),$.return=R,$._debugOwner=_._owner,$._debugInfo=Ne,ic(_,$,R),R=$;break e}}else if(M.elementType===Ce||kv(M,_)||typeof Ce=="object"&&Ce!==null&&Ce.$$typeof===_n&&$o(Ce)===M.type){n(R,M.sibling),$=s(M,_.props),el($,_),$.return=R,$._debugOwner=_._owner,$._debugInfo=Ne,R=$;break e}n(R,M);break}else t(R,M);M=M.sibling}_.type===Qs?($=ki(_.props.children,R.mode,$,_.key),$.return=R,$._debugOwner=R,$._debugTask=R._debugTask,$._debugInfo=Ne,ic(_,$,R),R=$):($=Fu(_,R.mode,$),el($,_),$.return=R,$._debugInfo=Ne,R=$)}return R=c(R),Ne=re,R;case Xs:e:{for(re=_,_=re.key;M!==null;){if(M.key===_)if(M.tag===4&&M.stateNode.containerInfo===re.containerInfo&&M.stateNode.implementation===re.implementation){n(R,M.sibling),$=s(M,re.children||[]),$.return=R,R=$;break e}else{n(R,M);break}else t(R,M);M=M.sibling}$=ah(re,R.mode,$),$.return=R,R=$}return c(R);case _n:return re=Pt(_._debugInfo),_=$o(_),R=qe(R,M,_,$),Ne=re,R}if(Vt(_))return re=Pt(_._debugInfo),R=ce(R,M,_,$),Ne=re,R;if(ie(_)){if(re=Pt(_._debugInfo),Ce=ie(_),typeof Ce!="function")throw Error("An object is not an iterable. This error is likely caused by a bug in React. Please file an issue.");var Te=Ce.call(_);return Te===_?(R.tag!==0||Object.prototype.toString.call(R.type)!=="[object GeneratorFunction]"||Object.prototype.toString.call(Te)!=="[object Generator]")&&(pT||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."),pT=!0):_.entries!==Ce||Vm||(console.error("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),Vm=!0),R=ot(R,M,Te,$),Ne=re,R}if(typeof _.then=="function")return re=Pt(_._debugInfo),R=qe(R,M,sc(_),$),Ne=re,R;if(_.$$typeof===qa)return qe(R,M,tc(R,_),$);rc(R,_)}return typeof _=="string"&&_!==""||typeof _=="number"||typeof _=="bigint"?(re=""+_,M!==null&&M.tag===6?(n(R,M.sibling),$=s(M,re),$.return=R,R=$):(n(R,M),$=nh(re,R.mode,$),$.return=R,$._debugOwner=R,$._debugTask=R._debugTask,$._debugInfo=Ne,R=$),c(R)):(typeof _=="function"&&lc(R,_),typeof _=="symbol"&&uc(R,_),n(R,M))}return function(R,M,_,$){var re=Ne;Ne=null;try{Jl=0;var Ce=qe(R,M,_,$);return hr=null,Ce}catch(ut){if(ut===dr||ut===bf)throw ut;var Te=g(29,ut,null,R.mode);Te.lanes=$,Te.return=R;var ye=Te._debugInfo=Ne;if(Te._debugOwner=R._debugOwner,Te._debugTask=R._debugTask,ye!=null){for(var je=ye.length-1;0<=je;je--)if(typeof ye[je].stack=="string"){Te._debugOwner=ye[je],Te._debugTask=ye[je].debugTask;break}}return Te}finally{Ne=re}}}function c0(e,t){var n=Vt(e);return e=!n&&typeof ie(e)=="function",n||e?(n=n?"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>",n,t,n),!1):!0}function mh(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function yh(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 Xo(e){return{lane:e,tag:bT,payload:null,callback:null,next:null}}function Qo(e,t,n){var a=e.updateQueue;if(a===null)return null;if(a=a.shared,Lm===a&&!ET){var s=q(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.
146
+
147
+ Please update the following component: %s`,s),ET=!0}return($e&Lt)!==Gt?(s=a.pending,s===null?t.next=t:(t.next=s.next,s.next=t),a.pending=t,t=Ju(e),Bv(e,null,n),t):(Iu(e,a,t,n),Ju(e))}function tl(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194048)!==0)){var a=t.lanes;a&=e.pendingLanes,n|=a,t.lanes=n,Ni(e,n)}}function cc(e,t){var n=e.updateQueue,a=e.alternate;if(a!==null&&(a=a.updateQueue,n===a)){var s=null,r=null;if(n=n.firstBaseUpdate,n!==null){do{var c={lane:n.lane,tag:n.tag,payload:n.payload,callback:null,next:null};r===null?s=r=c:r=r.next=c,n=n.next}while(n!==null);r===null?s=r=t:r=r.next=t}else s=r=t;n={baseState:a.baseState,firstBaseUpdate:s,lastBaseUpdate:r,shared:a.shared,callbacks:a.callbacks},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function nl(){if(Bm){var e=fr;if(e!==null)throw e}}function al(e,t,n,a){Bm=!1;var s=e.updateQueue;hi=!1,Lm=s.shared;var r=s.firstBaseUpdate,c=s.lastBaseUpdate,d=s.shared.pending;if(d!==null){s.shared.pending=null;var y=d,b=y.next;y.next=null,c===null?r=b:c.next=b,c=y;var z=e.alternate;z!==null&&(z=z.updateQueue,d=z.lastBaseUpdate,d!==c&&(d===null?z.firstBaseUpdate=b:d.next=b,z.lastBaseUpdate=y))}if(r!==null){var N=s.baseState;c=0,z=b=y=null,d=r;do{var D=d.lane&-536870913,k=D!==d.lane;if(k?(Ve&D)===D:(a&D)===D){D!==0&&D===as&&(Bm=!0),z!==null&&(z=z.next={lane:0,tag:d.tag,payload:d.payload,callback:null,next:null});e:{D=e;var oe=d,ce=t,ot=n;switch(oe.tag){case ST:if(oe=oe.payload,typeof oe=="function"){ur=!0;var qe=oe.call(ot,N,ce);if(D.mode&Wt){he(!0);try{oe.call(ot,N,ce)}finally{he(!1)}}ur=!1,N=qe;break e}N=oe;break e;case Um:D.flags=D.flags&-65537|128;case bT:if(qe=oe.payload,typeof qe=="function"){if(ur=!0,oe=qe.call(ot,N,ce),D.mode&Wt){he(!0);try{qe.call(ot,N,ce)}finally{he(!1)}}ur=!1}else oe=qe;if(oe==null)break e;N=Be({},N,oe);break e;case TT:hi=!0}}D=d.callback,D!==null&&(e.flags|=64,k&&(e.flags|=8192),k=s.callbacks,k===null?s.callbacks=[D]:k.push(D))}else k={lane:D,tag:d.tag,payload:d.payload,callback:d.callback,next:null},z===null?(b=z=k,y=N):z=z.next=k,c|=D;if(d=d.next,d===null){if(d=s.shared.pending,d===null)break;k=d,d=k.next,k.next=null,s.lastBaseUpdate=k,s.shared.pending=null}}while(!0);z===null&&(y=N),s.baseState=y,s.firstBaseUpdate=b,s.lastBaseUpdate=z,r===null&&(s.shared.lanes=0),yi|=c,e.lanes=c,e.memoizedState=N}Lm=null}function f0(e,t){if(typeof e!="function")throw Error("Invalid argument passed as callback. Expected a function. Instead received: "+e);e.call(t)}function yC(e,t){var n=e.shared.hiddenCallbacks;if(n!==null)for(e.shared.hiddenCallbacks=null,e=0;e<n.length;e++)f0(n[e],t)}function d0(e,t){var n=e.callbacks;if(n!==null)for(e.callbacks=null,e=0;e<n.length;e++)f0(n[e],t)}function h0(e,t){var n=Fa;Z(Tf,n,e),Z(pr,t,e),Fa=n|t.baseLanes}function gh(e){Z(Tf,Fa,e),Z(pr,pr.current,e)}function vh(e){Fa=Tf.current,J(pr,e),J(Tf,e)}function Zo(e){var t=e.alternate;Z(xt,xt.current&mr,e),Z(Nn,e,e),Kn===null&&(t===null||pr.current!==null||t.memoizedState!==null)&&(Kn=e)}function bh(e){Z(xt,xt.current,e),Z(Nn,e,e),Kn===null&&(Kn=e)}function p0(e){e.tag===22?(Z(xt,xt.current,e),Z(Nn,e,e),Kn===null&&(Kn=e)):Io(e)}function Io(e){Z(xt,xt.current,e),Z(Nn,Nn.current,e)}function Dn(e){J(Nn,e),Kn===e&&(Kn=null),J(xt,e)}function fc(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||jp(n)||zp(n)))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 Le(){var e=H;ea===null?ea=[e]:ea.push(e)}function K(){var e=H;if(ea!==null&&(Mo++,ea[Mo]!==e)){var t=q(Ae);if(!xT.has(t)&&(xT.add(t),ea!==null)){for(var n="",a=0;a<=Mo;a++){var s=ea[a],r=a===Mo?e:s;for(s=a+1+". "+s;30>s.length;)s+=" ";s+=r+`
148
+ `,n+=s}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
149
+
150
+ Previous render Next render
151
+ ------------------------------------------------------
152
+ %s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
153
+ `,t,n)}}}function zs(e){e==null||Vt(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.",H,typeof e)}function dc(){var e=q(Ae);RT.has(e)||(RT.add(e),console.error("ReactDOM.useFormState has been renamed to React.useActionState. Please update %s to use React.useActionState.",e))}function bt(){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:
154
+ 1. You might have mismatching versions of React and the renderer (such as React DOM)
155
+ 2. You might be breaking the Rules of Hooks
156
+ 3. You might have more than one copy of React in the same app
157
+ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`)}function Sh(e,t){if(Wl)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.",H),!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.
158
+
159
+ Previous: %s
160
+ Incoming: %s`,H,"["+t.join(", ")+"]","["+e.join(", ")+"]");for(var n=0;n<t.length&&n<e.length;n++)if(!rn(e[n],t[n]))return!1;return!0}function Th(e,t,n,a,s,r){Co=r,Ae=t,ea=e!==null?e._debugHookTypes:null,Mo=-1,Wl=e!==null&&e.type!==t.type,(Object.prototype.toString.call(n)==="[object AsyncFunction]"||Object.prototype.toString.call(n)==="[object AsyncGeneratorFunction]")&&(r=q(Ae),km.has(r)||(km.add(r),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.",r===null?"An unknown Component":"<"+r+">"))),t.memoizedState=null,t.updateQueue=null,t.lanes=0,Y.H=e!==null&&e.memoizedState!==null?Ym:ea!==null?AT:Hm,ls=r=(t.mode&Wt)!==we;var c=jm(n,a,s);if(ls=!1,gr&&(c=Eh(t,n,a,s)),r){he(!0);try{c=Eh(t,n,a,s)}finally{he(!1)}}return m0(e,t),c}function m0(e,t){t._debugHookTypes=ea,t.dependencies===null?Do!==null&&(t.dependencies={lanes:0,firstContext:null,_debugThenableState:Do}):t.dependencies._debugThenableState=Do,Y.H=eu;var n=tt!==null&&tt.next!==null;if(Co=0,ea=H=Mt=tt=Ae=null,Mo=-1,e!==null&&(e.flags&65011712)!==(t.flags&65011712)&&console.error("Internal React error: Expected static flag was missing. Please notify the React team."),xf=!1,Kl=0,Do=null,n)throw Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");e===null||Ot||(e=e.dependencies,e!==null&&ec(e)&&(Ot=!0)),Il?(Il=!1,e=!0):e=!1,e&&(t=q(t)||"Unknown",wT.has(t)||km.has(t)||(wT.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 Eh(e,t,n,a){Ae=e;var s=0;do{if(gr&&(Do=null),Kl=0,gr=!1,s>=nO)throw Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");if(s+=1,Wl=!1,Mt=tt=null,e.updateQueue!=null){var r=e.updateQueue;r.lastEffect=null,r.events=null,r.stores=null,r.memoCache!=null&&(r.memoCache.index=0)}Mo=-1,Y.H=CT,r=jm(t,n,a)}while(gr);return r}function gC(){var e=Y.H,t=e.useState()[0];return t=typeof t.then=="function"?ol(t):t,e=e.useState()[0],(tt!==null?tt.memoizedState:null)!==e&&(Ae.flags|=1024),t}function xh(){var e=wf!==0;return wf=0,e}function wh(e,t,n){t.updateQueue=e.updateQueue,t.flags=(t.mode&ha)!==we?t.flags&-402655237:t.flags&-2053,e.lanes&=~n}function Rh(e){if(xf){for(e=e.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}xf=!1}Co=0,ea=Mt=tt=Ae=null,Mo=-1,H=null,gr=!1,Kl=wf=0,Do=null}function nn(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Mt===null?Ae.memoizedState=Mt=e:Mt=Mt.next=e,Mt}function Je(){if(tt===null){var e=Ae.alternate;e=e!==null?e.memoizedState:null}else e=tt.next;var t=Mt===null?Ae.memoizedState:Mt.next;if(t!==null)Mt=t,tt=e;else{if(e===null)throw Ae.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.");tt=e,e={memoizedState:tt.memoizedState,baseState:tt.baseState,baseQueue:tt.baseQueue,queue:tt.queue,next:null},Mt===null?Ae.memoizedState=Mt=e:Mt=Mt.next=e}return Mt}function hc(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function ol(e){var t=Kl;return Kl+=1,Do===null&&(Do=t0()),e=a0(Do,e,t),t=Ae,(Mt===null?t.memoizedState:Mt.next)===null&&(t=t.alternate,Y.H=t!==null&&t.memoizedState!==null?Ym:Hm),e}function Jo(e){if(e!==null&&typeof e=="object"){if(typeof e.then=="function")return ol(e);if(e.$$typeof===qa)return ct(e)}throw Error("An unsupported type was passed to use(): "+String(e))}function Pi(e){var t=null,n=Ae.updateQueue;if(n!==null&&(t=n.memoCache),t==null){var a=Ae.alternate;a!==null&&(a=a.updateQueue,a!==null&&(a=a.memoCache,a!=null&&(t={data:a.data.map(function(s){return s.slice()}),index:0})))}if(t==null&&(t={data:[],index:0}),n===null&&(n=hc(),Ae.updateQueue=n),n.memoCache=t,n=t.data[t.index],n===void 0||Wl)for(n=t.data[t.index]=Array(e),a=0;a<e;a++)n[a]=zD;else n.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.",n.length,e);return t.index++,n}function ca(e,t){return typeof t=="function"?t(e):t}function Ah(e,t,n){var a=nn();if(n!==void 0){var s=n(t);if(ls){he(!0);try{n(t)}finally{he(!1)}}}else s=t;return a.memoizedState=a.baseState=s,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:s},a.queue=e,e=e.dispatch=EC.bind(null,Ae,e),[a.memoizedState,e]}function Ns(e){var t=Je();return Ch(t,tt,e)}function Ch(e,t,n){var a=e.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=n;var s=e.baseQueue,r=a.pending;if(r!==null){if(s!==null){var c=s.next;s.next=r.next,r.next=c}t.baseQueue!==s&&console.error("Internal error: Expected work-in-progress queue to be a clone. This is a bug in React."),t.baseQueue=s=r,a.pending=null}if(r=e.baseState,s===null)e.memoizedState=r;else{t=s.next;var d=c=null,y=null,b=t,z=!1;do{var N=b.lane&-536870913;if(N!==b.lane?(Ve&N)===N:(Co&N)===N){var D=b.revertLane;if(D===0)y!==null&&(y=y.next={lane:0,revertLane:0,gesture:null,action:b.action,hasEagerState:b.hasEagerState,eagerState:b.eagerState,next:null}),N===as&&(z=!0);else if((Co&D)===D){b=b.next,D===as&&(z=!0);continue}else N={lane:0,revertLane:b.revertLane,gesture:null,action:b.action,hasEagerState:b.hasEagerState,eagerState:b.eagerState,next:null},y===null?(d=y=N,c=r):y=y.next=N,Ae.lanes|=D,yi|=D;N=b.action,ls&&n(r,N),r=b.hasEagerState?b.eagerState:n(r,N)}else D={lane:N,revertLane:b.revertLane,gesture:b.gesture,action:b.action,hasEagerState:b.hasEagerState,eagerState:b.eagerState,next:null},y===null?(d=y=D,c=r):y=y.next=D,Ae.lanes|=N,yi|=N;b=b.next}while(b!==null&&b!==t);if(y===null?c=r:y.next=d,!rn(r,e.memoizedState)&&(Ot=!0,z&&(n=fr,n!==null)))throw n;e.memoizedState=r,e.baseState=c,e.baseQueue=y,a.lastRenderedState=r}return s===null&&(a.lanes=0),[e.memoizedState,a.dispatch]}function il(e){var t=Je(),n=t.queue;if(n===null)throw Error("Should have a queue. You are likely calling Hooks conditionally, which is not allowed. (https://react.dev/link/invalid-hook-call)");n.lastRenderedReducer=e;var a=n.dispatch,s=n.pending,r=t.memoizedState;if(s!==null){n.pending=null;var c=s=s.next;do r=e(r,c.action),c=c.next;while(c!==s);rn(r,t.memoizedState)||(Ot=!0),t.memoizedState=r,t.baseQueue===null&&(t.baseState=r),n.lastRenderedState=r}return[r,a]}function Dh(e,t,n){var a=Ae,s=nn();if(ke){if(n===void 0)throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");var r=n();yr||r===n()||(console.error("The result of getServerSnapshot should be cached to avoid an infinite loop"),yr=!0)}else{if(r=t(),yr||(n=t(),rn(r,n)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),yr=!0)),nt===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");(Ve&127)!==0||y0(a,t,r)}return s.memoizedState=r,n={value:r,getSnapshot:t},s.queue=n,gc(v0.bind(null,a,n,e),[e]),a.flags|=2048,Us(Wn|cn,{destroy:void 0},g0.bind(null,a,n,r,t),null),r}function pc(e,t,n){var a=Ae,s=Je(),r=ke;if(r){if(n===void 0)throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");n=n()}else if(n=t(),!yr){var c=t();rn(n,c)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),yr=!0)}(c=!rn((tt||s).memoizedState,n))&&(s.memoizedState=n,Ot=!0),s=s.queue;var d=v0.bind(null,a,s,e);if(yn(2048,cn,d,[e]),s.getSnapshot!==t||c||Mt!==null&&Mt.memoizedState.tag&Wn){if(a.flags|=2048,Us(Wn|cn,{destroy:void 0},g0.bind(null,a,s,n,t),null),nt===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");r||(Co&127)!==0||y0(a,t,n)}return n}function y0(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=Ae.updateQueue,t===null?(t=hc(),Ae.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function g0(e,t,n,a){t.value=n,t.getSnapshot=a,b0(t)&&S0(e)}function v0(e,t,n){return n(function(){b0(t)&&(Da(2,"updateSyncExternalStore()",e),S0(e))})}function b0(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!rn(e,n)}catch{return!0}}function S0(e){var t=Ft(e,2);t!==null&&yt(t,e,2)}function Mh(e){var t=nn();if(typeof e=="function"){var n=e;if(e=n(),ls){he(!0);try{n()}finally{he(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:ca,lastRenderedState:e},t}function Oh(e){e=Mh(e);var t=e.queue,n=k0.bind(null,Ae,t);return t.dispatch=n,[e.memoizedState,n]}function _h(e){var t=nn();t.memoizedState=t.baseState=e;var n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=n,t=$h.bind(null,Ae,!0,n),n.dispatch=t,[e,t]}function T0(e,t){var n=Je();return E0(n,tt,e,t)}function E0(e,t,n,a){return e.baseState=n,Ch(e,tt,typeof a=="function"?a:ca)}function x0(e,t){var n=Je();return tt!==null?E0(n,tt,e,t):(n.baseState=e,[e,n.queue.dispatch])}function vC(e,t,n,a,s){if(xc(e))throw Error("Cannot update form state while rendering.");if(e=t.action,e!==null){var r={payload:s,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(c){r.listeners.push(c)}};Y.T!==null?n(!0):r.isTransition=!1,a(r),n=t.pending,n===null?(r.next=t.pending=r,w0(t,r)):(r.next=n.next,t.pending=n.next=r)}}function w0(e,t){var n=t.action,a=t.payload,s=e.state;if(t.isTransition){var r=Y.T,c={};c._updatedFibers=new Set,Y.T=c;try{var d=n(s,a),y=Y.S;y!==null&&y(c,d),R0(e,t,d)}catch(b){jh(e,t,b)}finally{r!==null&&c.types!==null&&(r.types!==null&&r.types!==c.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."),r.types=c.types),Y.T=r,r===null&&c._updatedFibers&&(e=c._updatedFibers.size,c._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{c=n(s,a),R0(e,t,c)}catch(b){jh(e,t,b)}}function R0(e,t,n){n!==null&&typeof n=="object"&&typeof n.then=="function"?(Y.asyncTransitions++,n.then(Ec,Ec),n.then(function(a){A0(e,t,a)},function(a){return jh(e,t,a)}),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.")):A0(e,t,n)}function A0(e,t,n){t.status="fulfilled",t.value=n,C0(t),e.state=n,t=e.pending,t!==null&&(n=t.next,n===t?e.pending=null:(n=n.next,t.next=n,w0(e,n)))}function jh(e,t,n){var a=e.pending;if(e.pending=null,a!==null){a=a.next;do t.status="rejected",t.reason=n,C0(t),t=t.next;while(t!==a)}e.action=null}function C0(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function D0(e,t){return t}function Vs(e,t){if(ke){var n=nt.formState;if(n!==null){e:{var a=Ae;if(ke){if(lt){t:{for(var s=lt,r=Jn;s.nodeType!==8;){if(!r){s=null;break t}if(s=On(s.nextSibling),s===null){s=null;break t}}r=s.data,s=r===cy||r===dE?s:null}if(s){lt=On(s.nextSibling),a=s.data===cy;break e}}Go(a)}a=!1}a&&(t=n[0])}}return n=nn(),n.memoizedState=n.baseState=t,a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:D0,lastRenderedState:t},n.queue=a,n=k0.bind(null,Ae,a),a.dispatch=n,a=Mh(!1),r=$h.bind(null,Ae,!1,a.queue),a=nn(),s={state:t,dispatch:null,action:e,pending:null},a.queue=s,n=vC.bind(null,Ae,s,r,n),s.dispatch=n,a.memoizedState=e,[t,n,!1]}function mc(e){var t=Je();return M0(t,tt,e)}function M0(e,t,n){if(t=Ch(e,t,D0)[0],e=Ns(ca)[0],typeof t=="object"&&t!==null&&typeof t.then=="function")try{var a=ol(t)}catch(c){throw c===dr?bf:c}else a=t;t=Je();var s=t.queue,r=s.dispatch;return n!==t.memoizedState&&(Ae.flags|=2048,Us(Wn|cn,{destroy:void 0},bC.bind(null,s,n),null)),[a,r,e]}function bC(e,t){e.action=t}function yc(e){var t=Je(),n=tt;if(n!==null)return M0(t,n,e);Je(),t=t.memoizedState,n=Je();var a=n.queue.dispatch;return n.memoizedState=e,[t,a,!1]}function Us(e,t,n,a){return e={tag:e,create:n,deps:a,inst:t,next:null},t=Ae.updateQueue,t===null&&(t=hc(),Ae.updateQueue=t),n=t.lastEffect,n===null?t.lastEffect=e.next=e:(a=n.next,n.next=e,e.next=a,t.lastEffect=e),e}function zh(e){var t=nn();return e={current:e},t.memoizedState=e}function $i(e,t,n,a){var s=nn();Ae.flags|=e,s.memoizedState=Us(Wn|t,{destroy:void 0},n,a===void 0?null:a)}function yn(e,t,n,a){var s=Je();a=a===void 0?null:a;var r=s.memoizedState.inst;tt!==null&&a!==null&&Sh(a,tt.memoizedState.deps)?s.memoizedState=Us(t,r,n,a):(Ae.flags|=e,s.memoizedState=Us(Wn|t,r,n,a))}function gc(e,t){(Ae.mode&ha)!==we?$i(276826112,cn,e,t):$i(8390656,cn,e,t)}function SC(e){Ae.flags|=4;var t=Ae.updateQueue;if(t===null)t=hc(),Ae.updateQueue=t,t.events=[e];else{var n=t.events;n===null?t.events=[e]:n.push(e)}}function Nh(e){var t=nn(),n={impl:e};return t.memoizedState=n,function(){if(($e&Lt)!==Gt)throw Error("A function wrapped in useEffectEvent can't be called during rendering.");return n.impl.apply(void 0,arguments)}}function vc(e){var t=Je().memoizedState;return SC({ref:t,nextImpl:e}),function(){if(($e&Lt)!==Gt)throw Error("A function wrapped in useEffectEvent can't be called during rendering.");return t.impl.apply(void 0,arguments)}}function Vh(e,t){var n=4194308;return(Ae.mode&ha)!==we&&(n|=134217728),$i(n,Vn,e,t)}function O0(e,t){if(typeof t=="function"){e=e();var n=t(e);return function(){typeof n=="function"?n():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 Uh(e,t,n){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"),n=n!=null?n.concat([e]):null;var a=4194308;(Ae.mode&ha)!==we&&(a|=134217728),$i(a,Vn,O0.bind(null,t,e),n)}function bc(e,t,n){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"),n=n!=null?n.concat([e]):null,yn(4,Vn,O0.bind(null,t,e),n)}function Lh(e,t){return nn().memoizedState=[e,t===void 0?null:t],e}function Sc(e,t){var n=Je();t=t===void 0?null:t;var a=n.memoizedState;return t!==null&&Sh(t,a[1])?a[0]:(n.memoizedState=[e,t],e)}function Bh(e,t){var n=nn();t=t===void 0?null:t;var a=e();if(ls){he(!0);try{e()}finally{he(!1)}}return n.memoizedState=[a,t],a}function Tc(e,t){var n=Je();t=t===void 0?null:t;var a=n.memoizedState;if(t!==null&&Sh(t,a[1]))return a[0];if(a=e(),ls){he(!0);try{e()}finally{he(!1)}}return n.memoizedState=[a,t],a}function kh(e,t){var n=nn();return Hh(n,e,t)}function _0(e,t){var n=Je();return z0(n,tt.memoizedState,e,t)}function j0(e,t){var n=Je();return tt===null?Hh(n,e,t):z0(n,tt.memoizedState,e,t)}function Hh(e,t,n){return n===void 0||(Co&1073741824)!==0&&(Ve&261930)===0?e.memoizedState=t:(e.memoizedState=n,e=Nb(),Ae.lanes|=e,yi|=e,n)}function z0(e,t,n,a){return rn(n,t)?n:pr.current!==null?(e=Hh(e,n,a),rn(e,t)||(Ot=!0),e):(Co&42)===0||(Co&1073741824)!==0&&(Ve&261930)===0?(Ot=!0,e.memoizedState=n):(e=Nb(),Ae.lanes|=e,yi|=e,t)}function Ec(){Y.asyncTransitions--}function N0(e,t,n,a,s){var r=Ie.p;Ie.p=r!==0&&r<Xa?r:Xa;var c=Y.T,d={};d._updatedFibers=new Set,Y.T=d,$h(e,!1,t,n);try{var y=s(),b=Y.S;if(b!==null&&b(d,y),y!==null&&typeof y=="object"&&typeof y.then=="function"){Y.asyncTransitions++,y.then(Ec,Ec);var z=mC(y,a);sl(e,t,z,Mn(e))}else sl(e,t,a,Mn(e))}catch(N){sl(e,t,{then:function(){},status:"rejected",reason:N},Mn(e))}finally{Ie.p=r,c!==null&&d.types!==null&&(c.types!==null&&c.types!==d.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."),c.types=d.types),Y.T=c,c===null&&d._updatedFibers&&(e=d._updatedFibers.size,d._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 Yh(e,t,n,a){if(e.tag!==5)throw Error("Expected the form instance to be a HostComponent. This is a bug in React.");var s=V0(e).queue;hC(e),N0(e,s,t,bs,n===null?x:function(){return U0(e),n(a)})}function V0(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:bs,baseState:bs,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:ca,lastRenderedState:bs},next:null};var n={};return t.next={memoizedState:n,baseState:n,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:ca,lastRenderedState:n},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function U0(e){Y.T===null&&console.error("requestFormReset was called outside a transition or action. To fix, move to an action, or wrap with startTransition.");var t=V0(e);t.next===null&&(t=e.alternate.memoizedState),sl(e,t.next.queue,{},Mn(e))}function qh(){var e=Mh(!1);return e=N0.bind(null,Ae,e.queue,!0,!1),nn().memoizedState=e,[!1,e]}function L0(){var e=Ns(ca)[0],t=Je().memoizedState;return[typeof e=="boolean"?e:ol(e),t]}function B0(){var e=il(ca)[0],t=Je().memoizedState;return[typeof e=="boolean"?e:ol(e),t]}function Xi(){return ct(mu)}function Gh(){var e=nn(),t=nt.identifierPrefix;if(ke){var n=Eo,a=To;n=(a&~(1<<32-an(a)-1)).toString(32)+n,t="_"+t+"R_"+n,n=wf++,0<n&&(t+="H"+n.toString(32)),t+="_"}else n=tO++,t="_"+t+"r_"+n.toString(32)+"_";return e.memoizedState=t}function Ph(){return nn().memoizedState=TC.bind(null,Ae)}function TC(e,t){for(var n=e.return;n!==null;){switch(n.tag){case 24:case 3:var a=Mn(n),s=Xo(a),r=Qo(n,s,a);r!==null&&(Da(a,"refresh()",e),yt(r,n,a),tl(r,n,a)),e=ch(),t!=null&&r!==null&&console.error("The seed argument is not enabled outside experimental channels."),s.payload={cache:e};return}n=n.return}}function EC(e,t,n){var a=arguments;typeof a[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()."),a=Mn(e);var s={lane:a,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null};xc(e)?H0(t,s):(s=Kd(e,t,s,a),s!==null&&(Da(a,"dispatch()",e),yt(s,e,a),Y0(s,t,a)))}function k0(e,t,n){var a=arguments;typeof a[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()."),a=Mn(e),sl(e,t,n,a)&&Da(a,"setState()",e)}function sl(e,t,n,a){var s={lane:a,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null};if(xc(e))H0(t,s);else{var r=e.alternate;if(e.lanes===0&&(r===null||r.lanes===0)&&(r=t.lastRenderedReducer,r!==null)){var c=Y.H;Y.H=ma;try{var d=t.lastRenderedState,y=r(d,n);if(s.hasEagerState=!0,s.eagerState=y,rn(y,d))return Iu(e,t,s,0),nt===null&&Zu(),!1}catch{}finally{Y.H=c}}if(n=Kd(e,t,s,a),n!==null)return yt(n,e,a),Y0(n,t,a),!0}return!1}function $h(e,t,n,a){if(Y.T===null&&as===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."),a={lane:2,revertLane:Tp(),gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null},xc(e)){if(t)throw Error("Cannot update optimistic state while rendering.");console.error("Cannot call startTransition while rendering.")}else t=Kd(e,n,a,2),t!==null&&(Da(2,"setOptimistic()",e),yt(t,e,2))}function xc(e){var t=e.alternate;return e===Ae||t!==null&&t===Ae}function H0(e,t){gr=xf=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Y0(e,t,n){if((n&4194048)!==0){var a=t.lanes;a&=e.pendingLanes,n|=a,t.lanes=n,Ni(e,n)}}function Xh(e){if(e!==null&&typeof e!="function"){var t=String(e);BT.has(t)||(BT.add(t),console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",e))}}function Qh(e,t,n,a){var s=e.memoizedState,r=n(a,s);if(e.mode&Wt){he(!0);try{r=n(a,s)}finally{he(!1)}}r===void 0&&(t=I(t)||"Component",NT.has(t)||(NT.add(t),console.error("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",t))),s=r==null?s:Be({},s,r),e.memoizedState=s,e.lanes===0&&(e.updateQueue.baseState=s)}function q0(e,t,n,a,s,r,c){var d=e.stateNode;if(typeof d.shouldComponentUpdate=="function"){if(n=d.shouldComponentUpdate(a,r,c),e.mode&Wt){he(!0);try{n=d.shouldComponentUpdate(a,r,c)}finally{he(!1)}}return n===void 0&&console.error("%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",I(t)||"Component"),n}return t.prototype&&t.prototype.isPureReactComponent?!Ir(n,a)||!Ir(s,r):!0}function G0(e,t,n,a){var s=t.state;typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(n,a),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(n,a),t.state!==s&&(e=q(e)||"Component",MT.has(e)||(MT.add(e),console.error("%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",e)),qm.enqueueReplaceState(t,t.state,null))}function Qi(e,t){var n=t;if("ref"in t){n={};for(var a in t)a!=="ref"&&(n[a]=t[a])}if(e=e.defaultProps){n===t&&(n=Be({},n));for(var s in e)n[s]===void 0&&(n[s]=e[s])}return n}function P0(e){bm(e),console.warn(`%s
161
+
162
+ %s
163
+ `,vr?"An error occurred in the <"+vr+"> component.":"An error occurred in one of your React components.",`Consider adding an error boundary to your tree to customize error handling behavior.
164
+ Visit https://react.dev/link/error-boundaries to learn more about error boundaries.`)}function $0(e){var t=vr?"The above error occurred in the <"+vr+"> component.":"The above error occurred in one of your React components.",n="React will try to recreate this component tree from scratch using the error boundary you provided, "+((Gm||"Anonymous")+".");if(typeof e=="object"&&e!==null&&typeof e.environmentName=="string"){var a=e.environmentName;e=[`%o
165
+
166
+ %s
167
+
168
+ %s
169
+ `,e,t,n].slice(0),typeof e[0]=="string"?e.splice(0,1,SE+" "+e[0],TE,If+a+If,EE):e.splice(0,0,SE,TE,If+a+If,EE),e.unshift(console),a=EO.apply(console.error,e),a()}else console.error(`%o
170
+
171
+ %s
172
+
173
+ %s
174
+ `,e,t,n)}function X0(e){bm(e)}function wc(e,t){try{vr=t.source?q(t.source):null,Gm=null;var n=t.value;if(Y.actQueue!==null)Y.thrownErrors.push(n);else{var a=e.onUncaughtError;a(n,{componentStack:t.stack})}}catch(s){setTimeout(function(){throw s})}}function Q0(e,t,n){try{vr=n.source?q(n.source):null,Gm=q(t);var a=e.onCaughtError;a(n.value,{componentStack:n.stack,errorBoundary:t.tag===1?t.stateNode:null})}catch(s){setTimeout(function(){throw s})}}function Zh(e,t,n){return n=Xo(n),n.tag=Um,n.payload={element:null},n.callback=function(){ue(t.source,wc,e,t)},n}function Ih(e){return e=Xo(e),e.tag=Um,e}function Jh(e,t,n,a){var s=n.type.getDerivedStateFromError;if(typeof s=="function"){var r=a.value;e.payload=function(){return s(r)},e.callback=function(){Hv(n),ue(a.source,Q0,t,n,a)}}var c=n.stateNode;c!==null&&typeof c.componentDidCatch=="function"&&(e.callback=function(){Hv(n),ue(a.source,Q0,t,n,a),typeof s!="function"&&(vi===null?vi=new Set([this]):vi.add(this)),FM(this,a),typeof s=="function"||(n.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.",q(n)||"Unknown")})}function xC(e,t,n,a,s){if(n.flags|=32768,$a&&pl(e,s),a!==null&&typeof a=="object"&&typeof a.then=="function"){if(t=n.alternate,t!==null&&js(t,n,s,!0),ke&&(Za=!0),n=Nn.current,n!==null){switch(n.tag){case 31:case 13:return Kn===null?zc():n.alternate===null&&pt===_o&&(pt=Cf),n.flags&=-257,n.flags|=65536,n.lanes=s,a===Sf?n.flags|=16384:(t=n.updateQueue,t===null?n.updateQueue=new Set([a]):t.add(a),gp(e,a,s)),!1;case 22:return n.flags|=65536,a===Sf?n.flags|=16384:(t=n.updateQueue,t===null?(t={transitions:null,markerInstances:null,retryQueue:new Set([a])},n.updateQueue=t):(n=t.retryQueue,n===null?t.retryQueue=new Set([a]):n.add(a)),gp(e,a,s)),!1}throw Error("Unexpected Suspense handler tag ("+n.tag+"). This is a bug in React.")}return gp(e,a,s),zc(),!1}if(ke)return Za=!0,t=Nn.current,t!==null?((t.flags&65536)===0&&(t.flags|=256),t.flags|=65536,t.lanes=s,a!==Rm&&Jr(Rn(Error("There was an error while hydrating but React was able to recover by instead client rendering from the nearest Suspense boundary.",{cause:a}),n))):(a!==Rm&&Jr(Rn(Error("There was an error while hydrating but React was able to recover by instead client rendering the entire root.",{cause:a}),n)),e=e.current.alternate,e.flags|=65536,s&=-s,e.lanes|=s,a=Rn(a,n),s=Zh(e.stateNode,a,s),cc(e,s),pt!==pi&&(pt=us)),!1;var r=Rn(Error("There was an error during concurrent rendering but React was able to recover by instead synchronously rendering the entire root.",{cause:a}),n);if(su===null?su=[r]:su.push(r),pt!==pi&&(pt=us),t===null)return!0;a=Rn(a,n),n=t;do{switch(n.tag){case 3:return n.flags|=65536,e=s&-s,n.lanes|=e,e=Zh(n.stateNode,a,e),cc(n,e),!1;case 1:if(t=n.type,r=n.stateNode,(n.flags&128)===0&&(typeof t.getDerivedStateFromError=="function"||r!==null&&typeof r.componentDidCatch=="function"&&(vi===null||!vi.has(r))))return n.flags|=65536,s&=-s,n.lanes|=s,s=Ih(s),Jh(s,e,n,a),cc(n,s),!1}n=n.return}while(n!==null);return!1}function $t(e,t,n,a){t.child=e===null?vT(t,null,n,a):rs(t,e.child,n,a)}function Z0(e,t,n,a,s){n=n.render;var r=t.ref;if("ref"in a){var c={};for(var d in a)d!=="ref"&&(c[d]=a[d])}else c=a;return qi(t),a=Th(e,t,n,c,r,s),d=xh(),e!==null&&!Ot?(wh(e,t,s),po(e,t,s)):(ke&&d&&oh(t),t.flags|=1,$t(e,t,a,s),t.child)}function I0(e,t,n,a,s){if(e===null){var r=n.type;return typeof r=="function"&&!eh(r)&&r.defaultProps===void 0&&n.compare===null?(n=Bi(r),t.tag=15,t.type=n,Kh(t,r),J0(e,t,n,a,s)):(e=th(n.type,null,a,t,t.mode,s),e.ref=t.ref,e.return=t,t.child=e)}if(r=e.child,!op(e,s)){var c=r.memoizedProps;if(n=n.compare,n=n!==null?n:Ir,n(c,a)&&e.ref===t.ref)return po(e,t,s)}return t.flags|=1,e=uo(r,a),e.ref=t.ref,e.return=t,t.child=e}function J0(e,t,n,a,s){if(e!==null){var r=e.memoizedProps;if(Ir(r,a)&&e.ref===t.ref&&t.type===e.type)if(Ot=!1,t.pendingProps=a=r,op(e,s))(e.flags&131072)!==0&&(Ot=!0);else return t.lanes=e.lanes,po(e,t,s)}return Fh(e,t,n,a,s)}function F0(e,t,n,a){var s=a.children,r=e!==null?e.memoizedState:null;if(e===null&&t.stateNode===null&&(t.stateNode={_visibility:Vl,_pendingMarkers:null,_retryCache:null,_transitions:null}),a.mode==="hidden"){if((t.flags&128)!==0){if(r=r!==null?r.baseLanes|n:n,e!==null){for(a=t.child=e.child,s=0;a!==null;)s=s|a.lanes|a.childLanes,a=a.sibling;a=s&~r}else a=0,t.child=null;return K0(e,t,r,n,a)}if((n&536870912)!==0)t.memoizedState={baseLanes:0,cachePool:null},e!==null&&oc(t,r!==null?r.cachePool:null),r!==null?h0(t,r):gh(t),p0(t);else return a=t.lanes=536870912,K0(e,t,r!==null?r.baseLanes|n:n,n,a)}else r!==null?(oc(t,r.cachePool),h0(t,r),Io(t),t.memoizedState=null):(e!==null&&oc(t,null),gh(t),Io(t));return $t(e,t,s,n),t.child}function rl(e,t){return e!==null&&e.tag===22||t.stateNode!==null||(t.stateNode={_visibility:Vl,_pendingMarkers:null,_retryCache:null,_transitions:null}),t.sibling}function K0(e,t,n,a,s){var r=hh();return r=r===null?null:{parent:Ct._currentValue,pool:r},t.memoizedState={baseLanes:n,cachePool:r},e!==null&&oc(t,null),gh(t),p0(t),e!==null&&js(e,t,a,!0),t.childLanes=s,null}function Rc(e,t){var n=t.hidden;return n!==void 0&&console.error(`<Activity> doesn't accept a hidden prop. Use mode="hidden" instead.
175
+ - <Activity %s>
176
+ + <Activity %s>`,n===!0?"hidden":n===!1?"hidden={false}":"hidden={...}",n?'mode="hidden"':'mode="visible"'),t=Cc({mode:t.mode,children:t.children},e.mode),t.ref=e.ref,e.child=t,t.return=e,t}function W0(e,t,n){return rs(t,e.child,null,n),e=Rc(t,t.pendingProps),e.flags|=2,Dn(t),t.memoizedState=null,e}function wC(e,t,n){var a=t.pendingProps,s=(t.flags&128)!==0;if(t.flags&=-129,e===null){if(ke){if(a.mode==="hidden")return e=Rc(t,a),t.lanes=536870912,rl(null,e);if(bh(t),(e=lt)?(n=wS(e,Jn),n=n!==null&&n.data===ms?n:null,n!==null&&(a={dehydrated:n,treeContext:$v(),retryLane:536870912,hydrationErrors:null},t.memoizedState=a,a=Gv(n),a.return=t,t.child=a,Zt=t,lt=null)):n=null,n===null)throw Ku(t,e),Go(t);return t.lanes=536870912,null}return Rc(t,a)}var r=e.memoizedState;if(r!==null){var c=r.dehydrated;if(bh(t),s)if(t.flags&256)t.flags&=-257,t=W0(e,t,n);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(Qv(),(n&536870912)!==0&&jc(t),Ot||js(e,t,n,!1),s=(n&e.childLanes)!==0,Ot||s){if(a=nt,a!==null&&(c=oo(a,n),c!==0&&c!==r.retryLane))throw r.retryLane=c,Ft(e,c),yt(a,e,c),Pm;zc(),t=W0(e,t,n)}else e=r.treeContext,lt=On(c.nextSibling),Zt=t,ke=!0,li=null,Za=!1,zn=null,Jn=!1,e!==null&&Xv(t,e),t=Rc(t,a),t.flags|=4096;return t}return r=e.child,a={mode:a.mode,children:a.children},(n&536870912)!==0&&(n&e.lanes)!==0&&jc(t),e=uo(r,a),e.ref=t.ref,t.child=e,e.return=t,e}function Ac(e,t){var n=t.ref;if(n===null)e!==null&&e.ref!==null&&(t.flags|=4194816);else{if(typeof n!="function"&&typeof n!="object")throw Error("Expected ref to be a function, an object returned by React.createRef(), or undefined/null.");(e===null||e.ref!==n)&&(t.flags|=4194816)}}function Fh(e,t,n,a,s){if(n.prototype&&typeof n.prototype.render=="function"){var r=I(n)||"Unknown";kT[r]||(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.",r,r),kT[r]=!0)}return t.mode&Wt&&pa.recordLegacyContextWarning(t,null),e===null&&(Kh(t,t.type),n.contextTypes&&(r=I(n)||"Unknown",YT[r]||(YT[r]=!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)",r)))),qi(t),n=Th(e,t,n,a,void 0,s),a=xh(),e!==null&&!Ot?(wh(e,t,s),po(e,t,s)):(ke&&a&&oh(t),t.flags|=1,$t(e,t,n,s),t.child)}function eb(e,t,n,a,s,r){return qi(t),Mo=-1,Wl=e!==null&&e.type!==t.type,t.updateQueue=null,n=Eh(t,a,n,s),m0(e,t),a=xh(),e!==null&&!Ot?(wh(e,t,r),po(e,t,r)):(ke&&a&&oh(t),t.flags|=1,$t(e,t,n,r),t.child)}function tb(e,t,n,a,s){switch(h(t)){case!1:var r=t.stateNode,c=new t.type(t.memoizedProps,r.context).state;r.updater.enqueueSetState(r,c,null);break;case!0:t.flags|=128,t.flags|=65536,r=Error("Simulated error coming from DevTools");var d=s&-s;if(t.lanes|=d,c=nt,c===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");d=Ih(d),Jh(d,c,t,Rn(r,t)),cc(t,d)}if(qi(t),t.stateNode===null){if(c=ri,r=n.contextType,"contextType"in n&&r!==null&&(r===void 0||r.$$typeof!==qa)&&!LT.has(n)&&(LT.add(n),d=r===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 r!="object"?" However, it is set to a "+typeof r+".":r.$$typeof===$p?" Did you accidentally pass the Context.Consumer instead?":" However, it is set to an object with keys {"+Object.keys(r).join(", ")+"}.",console.error("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",I(n)||"Component",d)),typeof r=="object"&&r!==null&&(c=ct(r)),r=new n(a,c),t.mode&Wt){he(!0);try{r=new n(a,c)}finally{he(!1)}}if(c=t.memoizedState=r.state!==null&&r.state!==void 0?r.state:null,r.updater=qm,t.stateNode=r,r._reactInternals=t,r._reactInternalInstance=DT,typeof n.getDerivedStateFromProps=="function"&&c===null&&(c=I(n)||"Component",OT.has(c)||(OT.add(c),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.",c,r.state===null?"null":"undefined",c))),typeof n.getDerivedStateFromProps=="function"||typeof r.getSnapshotBeforeUpdate=="function"){var y=d=c=null;if(typeof r.componentWillMount=="function"&&r.componentWillMount.__suppressDeprecationWarning!==!0?c="componentWillMount":typeof r.UNSAFE_componentWillMount=="function"&&(c="UNSAFE_componentWillMount"),typeof r.componentWillReceiveProps=="function"&&r.componentWillReceiveProps.__suppressDeprecationWarning!==!0?d="componentWillReceiveProps":typeof r.UNSAFE_componentWillReceiveProps=="function"&&(d="UNSAFE_componentWillReceiveProps"),typeof r.componentWillUpdate=="function"&&r.componentWillUpdate.__suppressDeprecationWarning!==!0?y="componentWillUpdate":typeof r.UNSAFE_componentWillUpdate=="function"&&(y="UNSAFE_componentWillUpdate"),c!==null||d!==null||y!==null){r=I(n)||"Component";var b=typeof n.getDerivedStateFromProps=="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";jT.has(r)||(jT.add(r),console.error(`Unsafe legacy lifecycles will not be called for components using new component APIs.
177
+
178
+ %s uses %s but also contains the following legacy lifecycles:%s%s%s
179
+
180
+ The above lifecycles should be removed. Learn more about this warning here:
181
+ https://react.dev/link/unsafe-component-lifecycles`,r,b,c!==null?`
182
+ `+c:"",d!==null?`
183
+ `+d:"",y!==null?`
184
+ `+y:""))}}r=t.stateNode,c=I(n)||"Component",r.render||(n.prototype&&typeof n.prototype.render=="function"?console.error("No `render` method found on the %s instance: did you accidentally return an object from the constructor?",c):console.error("No `render` method found on the %s instance: you may have forgotten to define `render`.",c)),!r.getInitialState||r.getInitialState.isReactClassApproved||r.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?",c),r.getDefaultProps&&!r.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.",c),r.contextType&&console.error("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",c),n.childContextTypes&&!UT.has(n)&&(UT.add(n),console.error("%s uses the legacy childContextTypes API which was removed in React 19. Use React.createContext() instead. (https://react.dev/link/legacy-context)",c)),n.contextTypes&&!VT.has(n)&&(VT.add(n),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)",c)),typeof r.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.",c),n.prototype&&n.prototype.isPureReactComponent&&typeof r.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.",I(n)||"A pure component"),typeof r.componentDidUnmount=="function"&&console.error("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",c),typeof r.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().",c),typeof r.componentWillRecieveProps=="function"&&console.error("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",c),typeof r.UNSAFE_componentWillRecieveProps=="function"&&console.error("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",c),d=r.props!==a,r.props!==void 0&&d&&console.error("When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",c),r.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.",c,c),typeof r.getSnapshotBeforeUpdate!="function"||typeof r.componentDidUpdate=="function"||_T.has(n)||(_T.add(n),console.error("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",I(n))),typeof r.getDerivedStateFromProps=="function"&&console.error("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.",c),typeof r.getDerivedStateFromError=="function"&&console.error("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.",c),typeof n.getSnapshotBeforeUpdate=="function"&&console.error("%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.",c),(d=r.state)&&(typeof d!="object"||Vt(d))&&console.error("%s.state: must be set to an object or null",c),typeof r.getChildContext=="function"&&typeof n.childContextTypes!="object"&&console.error("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",c),r=t.stateNode,r.props=a,r.state=t.memoizedState,r.refs={},mh(t),c=n.contextType,r.context=typeof c=="object"&&c!==null?ct(c):ri,r.state===a&&(c=I(n)||"Component",zT.has(c)||(zT.add(c),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.",c))),t.mode&Wt&&pa.recordLegacyContextWarning(t,r),pa.recordUnsafeLifecycleWarnings(t,r),r.state=t.memoizedState,c=n.getDerivedStateFromProps,typeof c=="function"&&(Qh(t,n,c,a),r.state=t.memoizedState),typeof n.getDerivedStateFromProps=="function"||typeof r.getSnapshotBeforeUpdate=="function"||typeof r.UNSAFE_componentWillMount!="function"&&typeof r.componentWillMount!="function"||(c=r.state,typeof r.componentWillMount=="function"&&r.componentWillMount(),typeof r.UNSAFE_componentWillMount=="function"&&r.UNSAFE_componentWillMount(),c!==r.state&&(console.error("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",q(t)||"Component"),qm.enqueueReplaceState(r,r.state,null)),al(t,a,r,s),nl(),r.state=t.memoizedState),typeof r.componentDidMount=="function"&&(t.flags|=4194308),(t.mode&ha)!==we&&(t.flags|=134217728),r=!0}else if(e===null){r=t.stateNode;var z=t.memoizedProps;d=Qi(n,z),r.props=d;var N=r.context;y=n.contextType,c=ri,typeof y=="object"&&y!==null&&(c=ct(y)),b=n.getDerivedStateFromProps,y=typeof b=="function"||typeof r.getSnapshotBeforeUpdate=="function",z=t.pendingProps!==z,y||typeof r.UNSAFE_componentWillReceiveProps!="function"&&typeof r.componentWillReceiveProps!="function"||(z||N!==c)&&G0(t,r,a,c),hi=!1;var D=t.memoizedState;r.state=D,al(t,a,r,s),nl(),N=t.memoizedState,z||D!==N||hi?(typeof b=="function"&&(Qh(t,n,b,a),N=t.memoizedState),(d=hi||q0(t,n,d,a,D,N,c))?(y||typeof r.UNSAFE_componentWillMount!="function"&&typeof r.componentWillMount!="function"||(typeof r.componentWillMount=="function"&&r.componentWillMount(),typeof r.UNSAFE_componentWillMount=="function"&&r.UNSAFE_componentWillMount()),typeof r.componentDidMount=="function"&&(t.flags|=4194308),(t.mode&ha)!==we&&(t.flags|=134217728)):(typeof r.componentDidMount=="function"&&(t.flags|=4194308),(t.mode&ha)!==we&&(t.flags|=134217728),t.memoizedProps=a,t.memoizedState=N),r.props=a,r.state=N,r.context=c,r=d):(typeof r.componentDidMount=="function"&&(t.flags|=4194308),(t.mode&ha)!==we&&(t.flags|=134217728),r=!1)}else{r=t.stateNode,yh(e,t),c=t.memoizedProps,y=Qi(n,c),r.props=y,b=t.pendingProps,D=r.context,N=n.contextType,d=ri,typeof N=="object"&&N!==null&&(d=ct(N)),z=n.getDerivedStateFromProps,(N=typeof z=="function"||typeof r.getSnapshotBeforeUpdate=="function")||typeof r.UNSAFE_componentWillReceiveProps!="function"&&typeof r.componentWillReceiveProps!="function"||(c!==b||D!==d)&&G0(t,r,a,d),hi=!1,D=t.memoizedState,r.state=D,al(t,a,r,s),nl();var k=t.memoizedState;c!==b||D!==k||hi||e!==null&&e.dependencies!==null&&ec(e.dependencies)?(typeof z=="function"&&(Qh(t,n,z,a),k=t.memoizedState),(y=hi||q0(t,n,y,a,D,k,d)||e!==null&&e.dependencies!==null&&ec(e.dependencies))?(N||typeof r.UNSAFE_componentWillUpdate!="function"&&typeof r.componentWillUpdate!="function"||(typeof r.componentWillUpdate=="function"&&r.componentWillUpdate(a,k,d),typeof r.UNSAFE_componentWillUpdate=="function"&&r.UNSAFE_componentWillUpdate(a,k,d)),typeof r.componentDidUpdate=="function"&&(t.flags|=4),typeof r.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof r.componentDidUpdate!="function"||c===e.memoizedProps&&D===e.memoizedState||(t.flags|=4),typeof r.getSnapshotBeforeUpdate!="function"||c===e.memoizedProps&&D===e.memoizedState||(t.flags|=1024),t.memoizedProps=a,t.memoizedState=k),r.props=a,r.state=k,r.context=d,r=y):(typeof r.componentDidUpdate!="function"||c===e.memoizedProps&&D===e.memoizedState||(t.flags|=4),typeof r.getSnapshotBeforeUpdate!="function"||c===e.memoizedProps&&D===e.memoizedState||(t.flags|=1024),r=!1)}if(d=r,Ac(e,t),c=(t.flags&128)!==0,d||c){if(d=t.stateNode,ia(t),c&&typeof n.getDerivedStateFromError!="function")n=null,ln=-1;else if(n=oT(d),t.mode&Wt){he(!0);try{oT(d)}finally{he(!1)}}t.flags|=1,e!==null&&c?(t.child=rs(t,e.child,null,s),t.child=rs(t,null,n,s)):$t(e,t,n,s),t.memoizedState=d.state,e=t.child}else e=po(e,t,s);return s=t.stateNode,r&&s.props!==a&&(br||console.error("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",q(t)||"a component"),br=!0),e}function nb(e,t,n,a){return Yi(),t.flags|=256,$t(e,t,n,a),t.child}function Kh(e,t){t&&t.childContextTypes&&console.error(`childContextTypes cannot be defined on a function component.
185
+ %s.childContextTypes = ...`,t.displayName||t.name||"Component"),typeof t.getDerivedStateFromProps=="function"&&(e=I(t)||"Unknown",qT[e]||(console.error("%s: Function components do not support getDerivedStateFromProps.",e),qT[e]=!0)),typeof t.contextType=="object"&&t.contextType!==null&&(t=I(t)||"Unknown",HT[t]||(console.error("%s: Function components do not support contextType.",t),HT[t]=!0))}function Wh(e){return{baseLanes:e,cachePool:e0()}}function ep(e,t,n){return e=e!==null?e.childLanes&~n:0,t&&(e|=Tn),e}function ab(e,t,n){var a,s=t.pendingProps;p(t)&&(t.flags|=128);var r=!1,c=(t.flags&128)!==0;if((a=c)||(a=e!==null&&e.memoizedState===null?!1:(xt.current&Fl)!==0),a&&(r=!0,t.flags&=-129),a=(t.flags&32)!==0,t.flags&=-33,e===null){if(ke){if(r?Zo(t):Io(t),(e=lt)?(n=wS(e,Jn),n=n!==null&&n.data!==ms?n:null,n!==null&&(a={dehydrated:n,treeContext:$v(),retryLane:536870912,hydrationErrors:null},t.memoizedState=a,a=Gv(n),a.return=t,t.child=a,Zt=t,lt=null)):n=null,n===null)throw Ku(t,e),Go(t);return zp(n)?t.lanes=32:t.lanes=536870912,null}var d=s.children;if(s=s.fallback,r){Io(t);var y=t.mode;return d=Cc({mode:"hidden",children:d},y),s=ki(s,y,n,null),d.return=t,s.return=t,d.sibling=s,t.child=d,s=t.child,s.memoizedState=Wh(n),s.childLanes=ep(e,a,n),t.memoizedState=$m,rl(null,s)}return Zo(t),tp(t,d)}var b=e.memoizedState;if(b!==null){var z=b.dehydrated;if(z!==null){if(c)t.flags&256?(Zo(t),t.flags&=-257,t=np(e,t,n)):t.memoizedState!==null?(Io(t),t.child=e.child,t.flags|=128,t=null):(Io(t),d=s.fallback,y=t.mode,s=Cc({mode:"visible",children:s.children},y),d=ki(d,y,n,null),d.flags|=2,s.return=t,d.return=t,s.sibling=d,t.child=s,rs(t,e.child,null,n),s=t.child,s.memoizedState=Wh(n),s.childLanes=ep(e,a,n),t.memoizedState=$m,t=rl(null,s));else if(Zo(t),Qv(),(n&536870912)!==0&&jc(t),zp(z)){if(a=z.nextSibling&&z.nextSibling.dataset,a){d=a.dgst;var N=a.msg;y=a.stck;var D=a.cstck}r=N,a=d,s=y,z=D,d=r,y=z,d=Error(d||"The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering."),d.stack=s||"",d.digest=a,a=y===void 0?null:y,s={value:d,source:null,stack:a},typeof a=="string"&&wm.set(d,s),Jr(s),t=np(e,t,n)}else if(Ot||js(e,t,n,!1),a=(n&e.childLanes)!==0,Ot||a){if(a=nt,a!==null&&(s=oo(a,n),s!==0&&s!==b.retryLane))throw b.retryLane=s,Ft(e,s),yt(a,e,s),Pm;jp(z)||zc(),t=np(e,t,n)}else jp(z)?(t.flags|=192,t.child=e.child,t=null):(e=b.treeContext,lt=On(z.nextSibling),Zt=t,ke=!0,li=null,Za=!1,zn=null,Jn=!1,e!==null&&Xv(t,e),t=tp(t,s.children),t.flags|=4096);return t}}return r?(Io(t),d=s.fallback,y=t.mode,D=e.child,z=D.sibling,s=uo(D,{mode:"hidden",children:s.children}),s.subtreeFlags=D.subtreeFlags&65011712,z!==null?d=uo(z,d):(d=ki(d,y,n,null),d.flags|=2),d.return=t,s.return=t,s.sibling=d,t.child=s,rl(null,s),s=t.child,d=e.child.memoizedState,d===null?d=Wh(n):(y=d.cachePool,y!==null?(D=Ct._currentValue,y=y.parent!==D?{parent:D,pool:D}:y):y=e0(),d={baseLanes:d.baseLanes|n,cachePool:y}),s.memoizedState=d,s.childLanes=ep(e,a,n),t.memoizedState=$m,rl(e.child,s)):(b!==null&&(n&62914560)===n&&(n&e.lanes)!==0&&jc(t),Zo(t),n=e.child,e=n.sibling,n=uo(n,{mode:"visible",children:s.children}),n.return=t,n.sibling=null,e!==null&&(a=t.deletions,a===null?(t.deletions=[e],t.flags|=16):a.push(e)),t.child=n,t.memoizedState=null,n)}function tp(e,t){return t=Cc({mode:"visible",children:t},e.mode),t.return=e,e.child=t}function Cc(e,t){return e=g(22,e,null,t),e.lanes=0,e}function np(e,t,n){return rs(t,e.child,null,n),e=tp(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function ob(e,t,n){e.lanes|=t;var a=e.alternate;a!==null&&(a.lanes|=t),lh(e.return,t,n)}function ap(e,t,n,a,s,r){var c=e.memoizedState;c===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:a,tail:n,tailMode:s,treeForkCount:r}:(c.isBackwards=t,c.rendering=null,c.renderingStartTime=0,c.last=a,c.tail=n,c.tailMode=s,c.treeForkCount=r)}function ib(e,t,n){var a=t.pendingProps,s=a.revealOrder,r=a.tail,c=a.children,d=xt.current;if((a=(d&Fl)!==0)?(d=d&mr|Fl,t.flags|=128):d&=mr,Z(xt,d,t),d=s??"null",s!=="forwards"&&s!=="unstable_legacy-backwards"&&s!=="together"&&s!=="independent"&&!GT[d])if(GT[d]=!0,s==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(s==="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 s=="string")switch(s.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.',s,s.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.',s,s.toLowerCase());break;default:console.error('"%s" is not a supported revealOrder on <SuspenseList />. Did you mean "independent", "together", "forwards" or "backwards"?',s)}else console.error('%s is not a supported value for revealOrder on <SuspenseList />. Did you mean "independent", "together", "forwards" or "backwards"?',s);d=r??"null",Af[d]||(r==null?(s==="forwards"||s==="backwards"||s==="unstable_legacy-backwards")&&(Af[d]=!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".')):r!=="visible"&&r!=="collapsed"&&r!=="hidden"?(Af[d]=!0,console.error('"%s" is not a supported value for tail on <SuspenseList />. Did you mean "visible", "collapsed" or "hidden"?',r)):s!=="forwards"&&s!=="backwards"&&s!=="unstable_legacy-backwards"&&(Af[d]=!0,console.error('<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" or "backwards". Did you mean to specify revealOrder="forwards"?',r)));e:if((s==="forwards"||s==="backwards"||s==="unstable_legacy-backwards")&&c!==void 0&&c!==null&&c!==!1)if(Vt(c)){for(d=0;d<c.length;d++)if(!c0(c[d],d))break e}else if(d=ie(c),typeof d=="function"){if(d=d.call(c))for(var y=d.next(),b=0;!y.done;y=d.next()){if(!c0(y.value,b))break e;b++}}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?',s);if($t(e,t,c,n),ke?(qo(),c=Ul):c=0,!a&&e!==null&&(e.flags&128)!==0)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&ob(e,n,t);else if(e.tag===19)ob(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}switch(s){case"forwards":for(n=t.child,s=null;n!==null;)e=n.alternate,e!==null&&fc(e)===null&&(s=n),n=n.sibling;n=s,n===null?(s=t.child,t.child=null):(s=n.sibling,n.sibling=null),ap(t,!1,s,n,r,c);break;case"backwards":case"unstable_legacy-backwards":for(n=null,s=t.child,t.child=null;s!==null;){if(e=s.alternate,e!==null&&fc(e)===null){t.child=s;break}e=s.sibling,s.sibling=n,n=s,s=e}ap(t,!0,n,null,r,c);break;case"together":ap(t,!1,null,null,void 0,c);break;default:t.memoizedState=null}return t.child}function po(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),ln=-1,yi|=t.lanes,(n&t.childLanes)===0)if(e!==null){if(js(e,t,n,!1),(n&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,n=uo(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=uo(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function op(e,t){return(e.lanes&t)!==0?!0:(e=e.dependencies,!!(e!==null&&ec(e)))}function RC(e,t,n){switch(t.tag){case 3:De(t,t.stateNode.containerInfo),Po(t,Ct,e.memoizedState.cache),Yi();break;case 27:case 5:se(t);break;case 4:De(t,t.stateNode.containerInfo);break;case 10:Po(t,t.type,t.memoizedProps.value);break;case 12:(n&t.childLanes)!==0&&(t.flags|=4),t.flags|=2048;var a=t.stateNode;a.effectDuration=-0,a.passiveEffectDuration=-0;break;case 31:if(t.memoizedState!==null)return t.flags|=128,bh(t),null;break;case 13:if(a=t.memoizedState,a!==null)return a.dehydrated!==null?(Zo(t),t.flags|=128,null):(n&t.child.childLanes)!==0?ab(e,t,n):(Zo(t),e=po(e,t,n),e!==null?e.sibling:null);Zo(t);break;case 19:var s=(e.flags&128)!==0;if(a=(n&t.childLanes)!==0,a||(js(e,t,n,!1),a=(n&t.childLanes)!==0),s){if(a)return ib(e,t,n);t.flags|=128}if(s=t.memoizedState,s!==null&&(s.rendering=null,s.tail=null,s.lastEffect=null),Z(xt,xt.current,t),a)break;return null;case 22:return t.lanes=0,F0(e,t,n,t.pendingProps);case 24:Po(t,Ct,e.memoizedState.cache)}return po(e,t,n)}function ip(e,t,n){if(t._debugNeedsRemount&&e!==null){n=th(t.type,t.key,t.pendingProps,t._debugOwner||null,t.mode,t.lanes),n._debugStack=t._debugStack,n._debugTask=t._debugTask;var a=t.return;if(a===null)throw Error("Cannot swap the root fiber.");if(e.alternate=null,t.alternate=null,n.index=t.index,n.sibling=t.sibling,n.return=t.return,n.ref=t.ref,n._debugInfo=t._debugInfo,t===a.child)a.child=n;else{var s=a.child;if(s===null)throw Error("Expected parent to have a child.");for(;s.sibling!==t;)if(s=s.sibling,s===null)throw Error("Expected to find the previous sibling.");s.sibling=n}return t=a.deletions,t===null?(a.deletions=[e],a.flags|=16):t.push(e),n.flags|=2,n}if(e!==null)if(e.memoizedProps!==t.pendingProps||t.type!==e.type)Ot=!0;else{if(!op(e,n)&&(t.flags&128)===0)return Ot=!1,RC(e,t,n);Ot=(e.flags&131072)!==0}else Ot=!1,(a=ke)&&(qo(),a=(t.flags&1048576)!==0),a&&(a=t.index,qo(),Pv(t,Ul,a));switch(t.lanes=0,t.tag){case 16:e:if(a=t.pendingProps,e=$o(t.elementType),t.type=e,typeof e=="function")eh(e)?(a=Qi(e,a),t.tag=1,t.type=e=Bi(e),t=tb(null,t,e,a,n)):(t.tag=0,Kh(t,e),t.type=e=Bi(e),t=Fh(null,t,e,a,n));else{if(e!=null){if(s=e.$$typeof,s===xl){t.tag=11,t.type=e=Wd(e),t=Z0(null,t,e,a,n);break e}else if(s===Qc){t.tag=14,t=I0(null,t,e,a,n);break e}}throw t="",e!==null&&typeof e=="object"&&e.$$typeof===_n&&(t=" Did you wrap a component in React.lazy() more than once?"),n=I(e)||e,Error("Element type is invalid. Received a promise that resolves to: "+n+". Lazy element type must resolve to a class or function."+t)}return t;case 0:return Fh(e,t,t.type,t.pendingProps,n);case 1:return a=t.type,s=Qi(a,t.pendingProps),tb(e,t,a,s,n);case 3:e:{if(De(t,t.stateNode.containerInfo),e===null)throw Error("Should have a current fiber. This is a bug in React.");a=t.pendingProps;var r=t.memoizedState;s=r.element,yh(e,t),al(t,a,null,n);var c=t.memoizedState;if(a=c.cache,Po(t,Ct,a),a!==r.cache&&uh(t,[Ct],n,!0),nl(),a=c.element,r.isDehydrated)if(r={element:a,isDehydrated:!1,cache:c.cache},t.updateQueue.baseState=r,t.memoizedState=r,t.flags&256){t=nb(e,t,a,n);break e}else if(a!==s){s=Rn(Error("This root received an early update, before anything was able hydrate. Switched the entire root to client rendering."),t),Jr(s),t=nb(e,t,a,n);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(lt=On(e.firstChild),Zt=t,ke=!0,li=null,Za=!1,zn=null,Jn=!0,n=vT(t,null,a,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling}else{if(Yi(),a===s){t=po(e,t,n);break e}$t(e,t,a,n)}t=t.child}return t;case 26:return Ac(e,t),e===null?(n=OS(t.type,null,t.pendingProps,null))?t.memoizedState=n:ke||(n=t.type,e=t.pendingProps,a=Se(ti.current),a=Lc(a).createElement(n),a[Qt]=t,a[on]=e,Xt(a,n,e),ge(a),t.stateNode=a):t.memoizedState=OS(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return se(t),e===null&&ke&&(a=Se(ti.current),s=fe(),a=t.stateNode=DS(t.type,t.pendingProps,a,s,!1),Za||(s=yS(a,t.type,t.pendingProps,s),s!==null&&(Hi(t,0).serverProps=s)),Zt=t,Jn=!0,s=lt,Wo(t.type)?(py=s,lt=On(a.firstChild)):lt=s),$t(e,t,t.pendingProps.children,n),Ac(e,t),e===null&&(t.flags|=4194304),t.child;case 5:return e===null&&ke&&(r=fe(),a=Pd(t.type,r.ancestorInfo),s=lt,(c=!s)||(c=hD(s,t.type,t.pendingProps,Jn),c!==null?(t.stateNode=c,Za||(r=yS(c,t.type,t.pendingProps,r),r!==null&&(Hi(t,0).serverProps=r)),Zt=t,lt=On(c.firstChild),Jn=!1,r=!0):r=!1,c=!r),c&&(a&&Ku(t,s),Go(t))),se(t),s=t.type,r=t.pendingProps,c=e!==null?e.memoizedProps:null,a=r.children,Op(s,r)?a=null:c!==null&&Op(s,c)&&(t.flags|=32),t.memoizedState!==null&&(s=Th(e,t,gC,null,null,n),mu._currentValue=s),Ac(e,t),$t(e,t,a,n),t.child;case 6:return e===null&&ke&&(n=t.pendingProps,e=fe(),a=e.ancestorInfo.current,n=a!=null?qu(n,a.tag,e.ancestorInfo.implicitRootScope):!0,e=lt,(a=!e)||(a=pD(e,t.pendingProps,Jn),a!==null?(t.stateNode=a,Zt=t,lt=null,a=!0):a=!1,a=!a),a&&(n&&Ku(t,e),Go(t))),null;case 13:return ab(e,t,n);case 4:return De(t,t.stateNode.containerInfo),a=t.pendingProps,e===null?t.child=rs(t,null,a,n):$t(e,t,a,n),t.child;case 11:return Z0(e,t,t.type,t.pendingProps,n);case 7:return $t(e,t,t.pendingProps,n),t.child;case 8:return $t(e,t,t.pendingProps.children,n),t.child;case 12:return t.flags|=4,t.flags|=2048,a=t.stateNode,a.effectDuration=-0,a.passiveEffectDuration=-0,$t(e,t,t.pendingProps.children,n),t.child;case 10:return a=t.type,s=t.pendingProps,r=s.value,"value"in s||PT||(PT=!0,console.error("The `value` prop is required for the `<Context.Provider>`. Did you misspell it or forget to pass it?")),Po(t,a,r),$t(e,t,s.children,n),t.child;case 9:return s=t.type._context,a=t.pendingProps.children,typeof a!="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."),qi(t),s=ct(s),a=jm(a,s,void 0),t.flags|=1,$t(e,t,a,n),t.child;case 14:return I0(e,t,t.type,t.pendingProps,n);case 15:return J0(e,t,t.type,t.pendingProps,n);case 19:return ib(e,t,n);case 31:return wC(e,t,n);case 22:return F0(e,t,n,t.pendingProps);case 24:return qi(t),a=ct(Ct),e===null?(s=hh(),s===null&&(s=nt,r=ch(),s.pooledCache=r,Gi(r),r!==null&&(s.pooledCacheLanes|=n),s=r),t.memoizedState={parent:a,cache:s},mh(t),Po(t,Ct,s)):((e.lanes&n)!==0&&(yh(e,t),al(t,null,null,n),nl()),s=e.memoizedState,r=t.memoizedState,s.parent!==a?(s={parent:a,cache:a},t.memoizedState=s,t.lanes===0&&(t.memoizedState=t.updateQueue.baseState=s),Po(t,Ct,a)):(a=r.cache,Po(t,Ct,a),a!==s.cache&&uh(t,[Ct],n,!0))),$t(e,t,t.pendingProps.children,n),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 mo(e){e.flags|=4}function sp(e,t,n,a,s){if((t=(e.mode&XM)!==we)&&(t=!1),t){if(e.flags|=16777216,(s&335544128)===s)if(e.stateNode.complete)e.flags|=8192;else if(Bb())e.flags|=8192;else throw ss=Sf,Nm}else e.flags&=-16777217}function sb(e,t){if(t.type!=="stylesheet"||(t.state.loading&ta)!==vs)e.flags&=-16777217;else if(e.flags|=16777216,!VS(t))if(Bb())e.flags|=8192;else throw ss=Sf,Nm}function Dc(e,t){t!==null&&(e.flags|=4),e.flags&16384&&(t=e.tag!==22?ko():536870912,e.lanes|=t,ds|=t)}function ll(e,t){if(!ke)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var a=null;n!==null;)n.alternate!==null&&(a=n),n=n.sibling;a===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:a.sibling=null}}function at(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,a=0;if(t)if((e.mode&ze)!==we){for(var s=e.selfBaseDuration,r=e.child;r!==null;)n|=r.lanes|r.childLanes,a|=r.subtreeFlags&65011712,a|=r.flags&65011712,s+=r.treeBaseDuration,r=r.sibling;e.treeBaseDuration=s}else for(s=e.child;s!==null;)n|=s.lanes|s.childLanes,a|=s.subtreeFlags&65011712,a|=s.flags&65011712,s.return=e,s=s.sibling;else if((e.mode&ze)!==we){s=e.actualDuration,r=e.selfBaseDuration;for(var c=e.child;c!==null;)n|=c.lanes|c.childLanes,a|=c.subtreeFlags,a|=c.flags,s+=c.actualDuration,r+=c.treeBaseDuration,c=c.sibling;e.actualDuration=s,e.treeBaseDuration=r}else for(s=e.child;s!==null;)n|=s.lanes|s.childLanes,a|=s.subtreeFlags,a|=s.flags,s.return=e,s=s.sibling;return e.subtreeFlags|=a,e.childLanes=n,t}function AC(e,t,n){var a=t.pendingProps;switch(ih(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return at(t),null;case 1:return at(t),null;case 3:return n=t.stateNode,a=null,e!==null&&(a=e.memoizedState.cache),t.memoizedState.cache!==a&&(t.flags|=2048),fo(Ct,t),Q(t),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),(e===null||e.child===null)&&(_s(t)?(rh(),mo(t)):e===null||e.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,sh())),at(t),null;case 26:var s=t.type,r=t.memoizedState;return e===null?(mo(t),r!==null?(at(t),sb(t,r)):(at(t),sp(t,s,null,a,n))):r?r!==e.memoizedState?(mo(t),at(t),sb(t,r)):(at(t),t.flags&=-16777217):(e=e.memoizedProps,e!==a&&mo(t),at(t),sp(t,s,e,a,n)),null;case 27:if(ve(t),n=Se(ti.current),s=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==a&&mo(t);else{if(!a){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 at(t),null}e=fe(),_s(t)?Zv(t):(e=DS(s,a,n,e,!0),t.stateNode=e,mo(t))}return at(t),null;case 5:if(ve(t),s=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==a&&mo(t);else{if(!a){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 at(t),null}var c=fe();if(_s(t))Zv(t);else{switch(r=Se(ti.current),Pd(s,c.ancestorInfo),c=c.context,r=Lc(r),c){case Cr:r=r.createElementNS(Fs,s);break;case Xf:r=r.createElementNS(ef,s);break;default:switch(s){case"svg":r=r.createElementNS(Fs,s);break;case"math":r=r.createElementNS(ef,s);break;case"script":r=r.createElement("div"),r.innerHTML="<script><\/script>",r=r.removeChild(r.firstChild);break;case"select":r=typeof a.is=="string"?r.createElement("select",{is:a.is}):r.createElement("select"),a.multiple?r.multiple=!0:a.size&&(r.size=a.size);break;default:r=typeof a.is=="string"?r.createElement(s,{is:a.is}):r.createElement(s),s.indexOf("-")===-1&&(s!==s.toLowerCase()&&console.error("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",s),Object.prototype.toString.call(r)!=="[object HTMLUnknownElement]"||da.call(pE,s)||(pE[s]=!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.",s)))}}r[Qt]=t,r[on]=a;e:for(c=t.child;c!==null;){if(c.tag===5||c.tag===6)r.appendChild(c.stateNode);else if(c.tag!==4&&c.tag!==27&&c.child!==null){c.child.return=c,c=c.child;continue}if(c===t)break e;for(;c.sibling===null;){if(c.return===null||c.return===t)break e;c=c.return}c.sibling.return=c.return,c=c.sibling}t.stateNode=r;e:switch(Xt(r,s,a),s){case"button":case"input":case"select":case"textarea":a=!!a.autoFocus;break e;case"img":a=!0;break e;default:a=!1}a&&mo(t)}}return at(t),sp(t,t.type,e===null?null:e.memoizedProps,t.pendingProps,n),null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==a&&mo(t);else{if(typeof a!="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=Se(ti.current),n=fe(),_s(t)){if(e=t.stateNode,n=t.memoizedProps,s=!Za,a=null,r=Zt,r!==null)switch(r.tag){case 3:s&&(s=AS(e,n,a),s!==null&&(Hi(t,0).serverProps=s));break;case 27:case 5:a=r.memoizedProps,s&&(s=AS(e,n,a),s!==null&&(Hi(t,0).serverProps=s))}e[Qt]=t,e=!!(e.nodeValue===n||a!==null&&a.suppressHydrationWarning===!0||fS(e.nodeValue,n)),e||Go(t,!0)}else s=n.ancestorInfo.current,s!=null&&qu(a,s.tag,n.ancestorInfo.implicitRootScope),e=Lc(e).createTextNode(a),e[Qt]=t,t.stateNode=e}return at(t),null;case 31:if(n=t.memoizedState,e===null||e.memoizedState!==null){if(a=_s(t),n!==null){if(e===null){if(!a)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[Qt]=t,at(t),(t.mode&ze)!==we&&n!==null&&(e=t.child,e!==null&&(t.treeBaseDuration-=e.treeBaseDuration))}else rh(),Yi(),(t.flags&128)===0&&(n=t.memoizedState=null),t.flags|=4,at(t),(t.mode&ze)!==we&&n!==null&&(e=t.child,e!==null&&(t.treeBaseDuration-=e.treeBaseDuration));e=!1}else n=sh(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=n),e=!0;if(!e)return t.flags&256?(Dn(t),t):(Dn(t),null);if((t.flags&128)!==0)throw Error("Client rendering an Activity suspended it again. This is a bug in React.")}return at(t),null;case 13:if(a=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(s=a,r=_s(t),s!==null&&s.dehydrated!==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(r=t.memoizedState,r=r!==null?r.dehydrated:null,!r)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");r[Qt]=t,at(t),(t.mode&ze)!==we&&s!==null&&(s=t.child,s!==null&&(t.treeBaseDuration-=s.treeBaseDuration))}else rh(),Yi(),(t.flags&128)===0&&(s=t.memoizedState=null),t.flags|=4,at(t),(t.mode&ze)!==we&&s!==null&&(s=t.child,s!==null&&(t.treeBaseDuration-=s.treeBaseDuration));s=!1}else s=sh(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=s),s=!0;if(!s)return t.flags&256?(Dn(t),t):(Dn(t),null)}return Dn(t),(t.flags&128)!==0?(t.lanes=n,(t.mode&ze)!==we&&Wr(t),t):(n=a!==null,e=e!==null&&e.memoizedState!==null,n&&(a=t.child,s=null,a.alternate!==null&&a.alternate.memoizedState!==null&&a.alternate.memoizedState.cachePool!==null&&(s=a.alternate.memoizedState.cachePool.pool),r=null,a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(r=a.memoizedState.cachePool.pool),r!==s&&(a.flags|=2048)),n!==e&&n&&(t.child.flags|=8192),Dc(t,t.updateQueue),at(t),(t.mode&ze)!==we&&n&&(e=t.child,e!==null&&(t.treeBaseDuration-=e.treeBaseDuration)),null);case 4:return Q(t),e===null&&xp(t.stateNode.containerInfo),at(t),null;case 10:return fo(t.type,t),at(t),null;case 19:if(J(xt,t),a=t.memoizedState,a===null)return at(t),null;if(s=(t.flags&128)!==0,r=a.rendering,r===null)if(s)ll(a,!1);else{if(pt!==_o||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(r=fc(e),r!==null){for(t.flags|=128,ll(a,!1),e=r.updateQueue,t.updateQueue=e,Dc(t,e),t.subtreeFlags=0,e=n,n=t.child;n!==null;)qv(n,e),n=n.sibling;return Z(xt,xt.current&mr|Fl,t),ke&&co(t,a.treeForkCount),t.child}e=e.sibling}a.tail!==null&&Ht()>zf&&(t.flags|=128,s=!0,ll(a,!1),t.lanes=4194304)}else{if(!s)if(e=fc(r),e!==null){if(t.flags|=128,s=!0,e=e.updateQueue,t.updateQueue=e,Dc(t,e),ll(a,!0),a.tail===null&&a.tailMode==="hidden"&&!r.alternate&&!ke)return at(t),null}else 2*Ht()-a.renderingStartTime>zf&&n!==536870912&&(t.flags|=128,s=!0,ll(a,!1),t.lanes=4194304);a.isBackwards?(r.sibling=t.child,t.child=r):(e=a.last,e!==null?e.sibling=r:t.child=r,a.last=r)}return a.tail!==null?(e=a.tail,a.rendering=e,a.tail=e.sibling,a.renderingStartTime=Ht(),e.sibling=null,n=xt.current,n=s?n&mr|Fl:n&mr,Z(xt,n,t),ke&&co(t,a.treeForkCount),e):(at(t),null);case 22:case 23:return Dn(t),vh(t),a=t.memoizedState!==null,e!==null?e.memoizedState!==null!==a&&(t.flags|=8192):a&&(t.flags|=8192),a?(n&536870912)!==0&&(t.flags&128)===0&&(at(t),t.subtreeFlags&6&&(t.flags|=8192)):at(t),n=t.updateQueue,n!==null&&Dc(t,n.retryQueue),n=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(n=e.memoizedState.cachePool.pool),a=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(a=t.memoizedState.cachePool.pool),a!==n&&(t.flags|=2048),e!==null&&J(os,t),null;case 24:return n=null,e!==null&&(n=e.memoizedState.cache),t.memoizedState.cache!==n&&(t.flags|=2048),fo(Ct,t),at(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 CC(e,t){switch(ih(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,(t.mode&ze)!==we&&Wr(t),t):null;case 3:return fo(Ct,t),Q(t),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return ve(t),null;case 31:if(t.memoizedState!==null){if(Dn(t),t.alternate===null)throw Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");Yi()}return e=t.flags,e&65536?(t.flags=e&-65537|128,(t.mode&ze)!==we&&Wr(t),t):null;case 13:if(Dn(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.");Yi()}return e=t.flags,e&65536?(t.flags=e&-65537|128,(t.mode&ze)!==we&&Wr(t),t):null;case 19:return J(xt,t),null;case 4:return Q(t),null;case 10:return fo(t.type,t),null;case 22:case 23:return Dn(t),vh(t),e!==null&&J(os,t),e=t.flags,e&65536?(t.flags=e&-65537|128,(t.mode&ze)!==we&&Wr(t),t):null;case 24:return fo(Ct,t),null;case 25:return null;default:return null}}function rb(e,t){switch(ih(t),t.tag){case 3:fo(Ct,t),Q(t);break;case 26:case 27:case 5:ve(t);break;case 4:Q(t);break;case 31:t.memoizedState!==null&&Dn(t);break;case 13:Dn(t);break;case 19:J(xt,t);break;case 10:fo(t.type,t);break;case 22:case 23:Dn(t),vh(t),e!==null&&J(os,t);break;case 24:fo(Ct,t)}}function Va(e){return(e.mode&ze)!==we}function lb(e,t){Va(e)?(Na(),ul(t,e),za()):ul(t,e)}function rp(e,t,n){Va(e)?(Na(),Ls(n,e,t),za()):Ls(n,e,t)}function ul(e,t){try{var n=t.updateQueue,a=n!==null?n.lastEffect:null;if(a!==null){var s=a.next;n=s;do{if((n.tag&e)===e&&(a=void 0,(e&un)!==Ef&&(wr=!0),a=ue(t,KM,n),(e&un)!==Ef&&(wr=!1),a!==void 0&&typeof a!="function")){var r=void 0;r=(n.tag&Vn)!==0?"useLayoutEffect":(n.tag&un)!==0?"useInsertionEffect":"useEffect";var c=void 0;c=a===null?" You returned null. If your effect does not require clean up, return undefined (or nothing).":typeof a.then=="function"?`
186
+
187
+ It looks like you wrote `+r+`(async () => ...) or returned a Promise. Instead, write the async function inside your effect and call it immediately:
188
+
189
+ `+r+`(() => {
190
+ async function fetchData() {
191
+ // You can await here
192
+ const response = await MyAPI.getData(someId);
193
+ // ...
194
+ }
195
+ fetchData();
196
+ }, [someId]); // Or [] if effect doesn't need props or state
197
+
198
+ Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fetching`:" You returned: "+a,ue(t,function(d,y){console.error("%s must not return anything besides a function, which is used for clean-up.%s",d,y)},r,c)}n=n.next}while(n!==s)}}catch(d){Ze(t,t.return,d)}}function Ls(e,t,n){try{var a=t.updateQueue,s=a!==null?a.lastEffect:null;if(s!==null){var r=s.next;a=r;do{if((a.tag&e)===e){var c=a.inst,d=c.destroy;d!==void 0&&(c.destroy=void 0,(e&un)!==Ef&&(wr=!0),s=t,ue(s,WM,s,n,d),(e&un)!==Ef&&(wr=!1))}a=a.next}while(a!==r)}}catch(y){Ze(t,t.return,y)}}function ub(e,t){Va(e)?(Na(),ul(t,e),za()):ul(t,e)}function lp(e,t,n){Va(e)?(Na(),Ls(n,e,t),za()):Ls(n,e,t)}function cb(e){var t=e.updateQueue;if(t!==null){var n=e.stateNode;e.type.defaultProps||"ref"in e.memoizedProps||br||(n.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.",q(e)||"instance"),n.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.",q(e)||"instance"));try{ue(e,d0,t,n)}catch(a){Ze(e,e.return,a)}}}function DC(e,t,n){return e.getSnapshotBeforeUpdate(t,n)}function MC(e,t){var n=t.memoizedProps,a=t.memoizedState;t=e.stateNode,e.type.defaultProps||"ref"in e.memoizedProps||br||(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.",q(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.",q(e)||"instance"));try{var s=Qi(e.type,n),r=ue(e,DC,t,s,a);n=$T,r!==void 0||n.has(e.type)||(n.add(e.type),ue(e,function(){console.error("%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.",q(e))})),t.__reactInternalSnapshotBeforeUpdate=r}catch(c){Ze(e,e.return,c)}}function fb(e,t,n){n.props=Qi(e.type,e.memoizedProps),n.state=e.memoizedState,Va(e)?(Na(),ue(e,cT,e,t,n),za()):ue(e,cT,e,t,n)}function OC(e){var t=e.ref;if(t!==null){switch(e.tag){case 26:case 27:case 5:var n=e.stateNode;break;case 30:n=e.stateNode;break;default:n=e.stateNode}if(typeof t=="function")if(Va(e))try{Na(),e.refCleanup=t(n)}finally{za()}else e.refCleanup=t(n);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().",q(e)),t.current=n}}function cl(e,t){try{ue(e,OC,e)}catch(n){Ze(e,t,n)}}function Ua(e,t){var n=e.ref,a=e.refCleanup;if(n!==null)if(typeof a=="function")try{if(Va(e))try{Na(),ue(e,a)}finally{za(e)}else ue(e,a)}catch(s){Ze(e,t,s)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof n=="function")try{if(Va(e))try{Na(),ue(e,n,null)}finally{za(e)}else ue(e,n,null)}catch(s){Ze(e,t,s)}else n.current=null}function db(e,t,n,a){var s=e.memoizedProps,r=s.id,c=s.onCommit;s=s.onRender,t=t===null?"mount":"update",yf&&(t="nested-update"),typeof s=="function"&&s(r,t,e.actualDuration,e.treeBaseDuration,e.actualStartTime,n),typeof c=="function"&&c(r,t,a,n)}function _C(e,t,n,a){var s=e.memoizedProps;e=s.id,s=s.onPostCommit,t=t===null?"mount":"update",yf&&(t="nested-update"),typeof s=="function"&&s(e,t,a,n)}function hb(e){var t=e.type,n=e.memoizedProps,a=e.stateNode;try{ue(e,tD,a,t,n,e)}catch(s){Ze(e,e.return,s)}}function up(e,t,n){try{ue(e,aD,e.stateNode,e.type,n,t,e)}catch(a){Ze(e,e.return,a)}}function pb(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&Wo(e.type)||e.tag===4}function cp(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||pb(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&&Wo(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 fp(e,t,n){var a=e.tag;if(a===5||a===6)e=e.stateNode,t?(TS(n),(n.nodeType===9?n.body:n.nodeName==="HTML"?n.ownerDocument.body:n).insertBefore(e,t)):(TS(n),t=n.nodeType===9?n.body:n.nodeName==="HTML"?n.ownerDocument.body:n,t.appendChild(e),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=lo));else if(a!==4&&(a===27&&Wo(e.type)&&(n=e.stateNode,t=null),e=e.child,e!==null))for(fp(e,t,n),e=e.sibling;e!==null;)fp(e,t,n),e=e.sibling}function Mc(e,t,n){var a=e.tag;if(a===5||a===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(a!==4&&(a===27&&Wo(e.type)&&(n=e.stateNode),e=e.child,e!==null))for(Mc(e,t,n),e=e.sibling;e!==null;)Mc(e,t,n),e=e.sibling}function jC(e){for(var t,n=e.return;n!==null;){if(pb(n)){t=n;break}n=n.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,n=cp(e),Mc(e,n,t);break;case 5:n=t.stateNode,t.flags&32&&(SS(n),t.flags&=-33),t=cp(e),Mc(e,t,n);break;case 3:case 4:t=t.stateNode.containerInfo,n=cp(e),fp(e,n,t);break;default:throw Error("Invalid host parent fiber. This error is likely caused by a bug in React. Please file an issue.")}}function mb(e){var t=e.stateNode,n=e.memoizedProps;try{ue(e,bD,e.type,n,t,e)}catch(a){Ze(e,e.return,a)}}function yb(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 zC(e,t){if(e=e.containerInfo,fy=Jf,e=jv(e),Qd(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var a=n.getSelection&&n.getSelection();if(a&&a.rangeCount!==0){n=a.anchorNode;var s=a.anchorOffset,r=a.focusNode;a=a.focusOffset;try{n.nodeType,r.nodeType}catch{n=null;break e}var c=0,d=-1,y=-1,b=0,z=0,N=e,D=null;t:for(;;){for(var k;N!==n||s!==0&&N.nodeType!==3||(d=c+s),N!==r||a!==0&&N.nodeType!==3||(y=c+a),N.nodeType===3&&(c+=N.nodeValue.length),(k=N.firstChild)!==null;)D=N,N=k;for(;;){if(N===e)break t;if(D===n&&++b===s&&(d=c),D===r&&++z===a&&(y=c),(k=N.nextSibling)!==null)break;N=D,D=N.parentNode}N=k}n=d===-1||y===-1?null:{start:d,end:y}}else n=null}n=n||{start:0,end:0}}else n=null;for(dy={focusedElem:e,selectionRange:n},Jf=!1,qt=t;qt!==null;)if(t=qt,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,qt=e;else for(;qt!==null;){switch(e=t=qt,n=e.alternate,s=e.flags,e.tag){case 0:if((s&4)!==0&&(e=e.updateQueue,e=e!==null?e.events:null,e!==null))for(n=0;n<e.length;n++)s=e[n],s.ref.impl=s.nextImpl;break;case 11:case 15:break;case 1:(s&1024)!==0&&n!==null&&MC(e,n);break;case 3:if((s&1024)!==0){if(e=e.stateNode.containerInfo,n=e.nodeType,n===9)_p(e);else if(n===1)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":_p(e);break;default:e.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((s&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,qt=e;break}qt=t.return}}function gb(e,t,n){var a=An(),s=Ma(),r=_a(),c=ja(),d=n.flags;switch(n.tag){case 0:case 11:case 15:La(e,n),d&4&&lb(n,Vn|Wn);break;case 1:if(La(e,n),d&4)if(e=n.stateNode,t===null)n.type.defaultProps||"ref"in n.memoizedProps||br||(e.props!==n.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.",q(n)||"instance"),e.state!==n.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.",q(n)||"instance")),Va(n)?(Na(),ue(n,zm,n,e),za()):ue(n,zm,n,e);else{var y=Qi(n.type,t.memoizedProps);t=t.memoizedState,n.type.defaultProps||"ref"in n.memoizedProps||br||(e.props!==n.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.",q(n)||"instance"),e.state!==n.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.",q(n)||"instance")),Va(n)?(Na(),ue(n,rT,n,e,y,t,e.__reactInternalSnapshotBeforeUpdate),za()):ue(n,rT,n,e,y,t,e.__reactInternalSnapshotBeforeUpdate)}d&64&&cb(n),d&512&&cl(n,n.return);break;case 3:if(t=ho(),La(e,n),d&64&&(d=n.updateQueue,d!==null)){if(y=null,n.child!==null)switch(n.child.tag){case 27:case 5:y=n.child.stateNode;break;case 1:y=n.child.stateNode}try{ue(n,d0,d,y)}catch(z){Ze(n,n.return,z)}}e.effectDuration+=nc(t);break;case 27:t===null&&d&4&&mb(n);case 26:case 5:if(La(e,n),t===null){if(d&4)hb(n);else if(d&64){e=n.type,t=n.memoizedProps,y=n.stateNode;try{ue(n,nD,y,e,t,n)}catch(z){Ze(n,n.return,z)}}}d&512&&cl(n,n.return);break;case 12:if(d&4){d=ho(),La(e,n),e=n.stateNode,e.effectDuration+=Kr(d);try{ue(n,db,n,t,ui,e.effectDuration)}catch(z){Ze(n,n.return,z)}}else La(e,n);break;case 31:La(e,n),d&4&&Sb(e,n);break;case 13:La(e,n),d&4&&Tb(e,n),d&64&&(e=n.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(d=qC.bind(null,n),mD(e,d))));break;case 22:if(d=n.memoizedState!==null||Oo,!d){t=t!==null&&t.memoizedState!==null||_t,y=Oo;var b=_t;Oo=d,(_t=t)&&!b?(Ba(e,n,(n.subtreeFlags&8772)!==0),(n.mode&ze)!==we&&0<=Ee&&0<=xe&&.05<xe-Ee&&Xu(n,Ee,xe)):La(e,n),Oo=y,_t=b}break;case 30:break;default:La(e,n)}(n.mode&ze)!==we&&0<=Ee&&0<=xe&&((gt||.05<ht)&&Ca(n,Ee,xe,ht,ft),n.alternate===null&&n.return!==null&&n.return.alternate!==null&&.05<xe-Ee&&(yb(n.return.alternate,n.return)||Aa(n,Ee,xe,"Mount"))),Cn(a),Oa(s),ft=r,gt=c}function vb(e){var t=e.alternate;t!==null&&(e.alternate=null,vb(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&U(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 yo(e,t,n){for(n=n.child;n!==null;)bb(e,t,n),n=n.sibling}function bb(e,t,n){if(Kt&&typeof Kt.onCommitFiberUnmount=="function")try{Kt.onCommitFiberUnmount(Is,n)}catch(b){Pa||(Pa=!0,console.error("React instrumentation encountered an error: %o",b))}var a=An(),s=Ma(),r=_a(),c=ja();switch(n.tag){case 26:_t||Ua(n,t),yo(e,t,n),n.memoizedState?n.memoizedState.count--:n.stateNode&&(e=n.stateNode,e.parentNode.removeChild(e));break;case 27:_t||Ua(n,t);var d=jt,y=bn;Wo(n.type)&&(jt=n.stateNode,bn=!1),yo(e,t,n),ue(n,bl,n.stateNode),jt=d,bn=y;break;case 5:_t||Ua(n,t);case 6:if(d=jt,y=bn,jt=null,yo(e,t,n),jt=d,bn=y,jt!==null)if(bn)try{ue(n,sD,jt,n.stateNode)}catch(b){Ze(n,t,b)}else try{ue(n,iD,jt,n.stateNode)}catch(b){Ze(n,t,b)}break;case 18:jt!==null&&(bn?(e=jt,ES(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,n.stateNode),$s(e)):ES(jt,n.stateNode));break;case 4:d=jt,y=bn,jt=n.stateNode.containerInfo,bn=!0,yo(e,t,n),jt=d,bn=y;break;case 0:case 11:case 14:case 15:Ls(un,n,t),_t||rp(n,t,Vn),yo(e,t,n);break;case 1:_t||(Ua(n,t),d=n.stateNode,typeof d.componentWillUnmount=="function"&&fb(n,t,d)),yo(e,t,n);break;case 21:yo(e,t,n);break;case 22:_t=(d=_t)||n.memoizedState!==null,yo(e,t,n),_t=d;break;default:yo(e,t,n)}(n.mode&ze)!==we&&0<=Ee&&0<=xe&&(gt||.05<ht)&&Ca(n,Ee,xe,ht,ft),Cn(a),Oa(s),ft=r,gt=c}function Sb(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null))){e=e.dehydrated;try{ue(t,gD,e)}catch(n){Ze(t,t.return,n)}}}function Tb(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{ue(t,vD,e)}catch(n){Ze(t,t.return,n)}}function NC(e){switch(e.tag){case 31:case 13:case 19:var t=e.stateNode;return t===null&&(t=e.stateNode=new XT),t;case 22:return e=e.stateNode,t=e._retryCache,t===null&&(t=e._retryCache=new XT),t;default:throw Error("Unexpected Suspense handler tag ("+e.tag+"). This is a bug in React.")}}function Oc(e,t){var n=NC(e);t.forEach(function(a){if(!n.has(a)){if(n.add(a),$a)if(Sr!==null&&Tr!==null)pl(Tr,Sr);else throw Error("Expected finished root and lanes to be set. This is a bug in React.");var s=GC.bind(null,e,a);a.then(s,s)}})}function gn(e,t){var n=t.deletions;if(n!==null)for(var a=0;a<n.length;a++){var s=e,r=t,c=n[a],d=An(),y=r;e:for(;y!==null;){switch(y.tag){case 27:if(Wo(y.type)){jt=y.stateNode,bn=!1;break e}break;case 5:jt=y.stateNode,bn=!1;break e;case 3:case 4:jt=y.stateNode.containerInfo,bn=!0;break e}y=y.return}if(jt===null)throw Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");bb(s,r,c),jt=null,bn=!1,(c.mode&ze)!==we&&0<=Ee&&0<=xe&&.05<xe-Ee&&Aa(c,Ee,xe,"Unmount"),Cn(d),s=c,r=s.alternate,r!==null&&(r.return=null),s.return=null}if(t.subtreeFlags&13886)for(t=t.child;t!==null;)Eb(t,e),t=t.sibling}function Eb(e,t){var n=An(),a=Ma(),s=_a(),r=ja(),c=e.alternate,d=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:gn(t,e),vn(e),d&4&&(Ls(un|Wn,e,e.return),ul(un|Wn,e),rp(e,e.return,Vn|Wn));break;case 1:if(gn(t,e),vn(e),d&512&&(_t||c===null||Ua(c,c.return)),d&64&&Oo&&(d=e.updateQueue,d!==null&&(c=d.callbacks,c!==null))){var y=d.shared.hiddenCallbacks;d.shared.hiddenCallbacks=y===null?c:y.concat(c)}break;case 26:if(y=ya,gn(t,e),vn(e),d&512&&(_t||c===null||Ua(c,c.return)),d&4){var b=c!==null?c.memoizedState:null;if(d=e.memoizedState,c===null)if(d===null)if(e.stateNode===null){e:{d=e.type,c=e.memoizedProps,y=y.ownerDocument||y;t:switch(d){case"title":b=y.getElementsByTagName("title")[0],(!b||b[Al]||b[Qt]||b.namespaceURI===Fs||b.hasAttribute("itemprop"))&&(b=y.createElement(d),y.head.insertBefore(b,y.querySelector("head > title"))),Xt(b,d,c),b[Qt]=e,ge(b),d=b;break e;case"link":var z=zS("link","href",y).get(d+(c.href||""));if(z){for(var N=0;N<z.length;N++)if(b=z[N],b.getAttribute("href")===(c.href==null||c.href===""?null:c.href)&&b.getAttribute("rel")===(c.rel==null?null:c.rel)&&b.getAttribute("title")===(c.title==null?null:c.title)&&b.getAttribute("crossorigin")===(c.crossOrigin==null?null:c.crossOrigin)){z.splice(N,1);break t}}b=y.createElement(d),Xt(b,d,c),y.head.appendChild(b);break;case"meta":if(z=zS("meta","content",y).get(d+(c.content||""))){for(N=0;N<z.length;N++)if(b=z[N],Qe(c.content,"content"),b.getAttribute("content")===(c.content==null?null:""+c.content)&&b.getAttribute("name")===(c.name==null?null:c.name)&&b.getAttribute("property")===(c.property==null?null:c.property)&&b.getAttribute("http-equiv")===(c.httpEquiv==null?null:c.httpEquiv)&&b.getAttribute("charset")===(c.charSet==null?null:c.charSet)){z.splice(N,1);break t}}b=y.createElement(d),Xt(b,d,c),y.head.appendChild(b);break;default:throw Error('getNodesForType encountered a type it did not expect: "'+d+'". This is a bug in React.')}b[Qt]=e,ge(b),d=b}e.stateNode=d}else NS(y,e.type,e.stateNode);else e.stateNode=jS(y,d,e.memoizedProps);else b!==d?(b===null?c.stateNode!==null&&(c=c.stateNode,c.parentNode.removeChild(c)):b.count--,d===null?NS(y,e.type,e.stateNode):jS(y,d,e.memoizedProps)):d===null&&e.stateNode!==null&&up(e,e.memoizedProps,c.memoizedProps)}break;case 27:gn(t,e),vn(e),d&512&&(_t||c===null||Ua(c,c.return)),c!==null&&d&4&&up(e,e.memoizedProps,c.memoizedProps);break;case 5:if(gn(t,e),vn(e),d&512&&(_t||c===null||Ua(c,c.return)),e.flags&32){y=e.stateNode;try{ue(e,SS,y)}catch(ce){Ze(e,e.return,ce)}}d&4&&e.stateNode!=null&&(y=e.memoizedProps,up(e,y,c!==null?c.memoizedProps:y)),d&1024&&(Xm=!0,e.type!=="form"&&console.error("Unexpected host component type. Expected a form. This is a bug in React."));break;case 6:if(gn(t,e),vn(e),d&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.");d=e.memoizedProps,c=c!==null?c.memoizedProps:d,y=e.stateNode;try{ue(e,oD,y,c,d)}catch(ce){Ze(e,e.return,ce)}}break;case 3:if(y=ho(),Qf=null,b=ya,ya=Bc(t.containerInfo),gn(t,e),ya=b,vn(e),d&4&&c!==null&&c.memoizedState.isDehydrated)try{ue(e,yD,t.containerInfo)}catch(ce){Ze(e,e.return,ce)}Xm&&(Xm=!1,xb(e)),t.effectDuration+=nc(y);break;case 4:d=ya,ya=Bc(e.stateNode.containerInfo),gn(t,e),vn(e),ya=d;break;case 12:d=ho(),gn(t,e),vn(e),e.stateNode.effectDuration+=Kr(d);break;case 31:gn(t,e),vn(e),d&4&&(d=e.updateQueue,d!==null&&(e.updateQueue=null,Oc(e,d)));break;case 13:gn(t,e),vn(e),e.child.flags&8192&&e.memoizedState!==null!=(c!==null&&c.memoizedState!==null)&&(jf=Ht()),d&4&&(d=e.updateQueue,d!==null&&(e.updateQueue=null,Oc(e,d)));break;case 22:y=e.memoizedState!==null;var D=c!==null&&c.memoizedState!==null,k=Oo,oe=_t;if(Oo=k||y,_t=oe||D,gn(t,e),_t=oe,Oo=k,D&&!y&&!k&&!oe&&(e.mode&ze)!==we&&0<=Ee&&0<=xe&&.05<xe-Ee&&Xu(e,Ee,xe),vn(e),d&8192)e:for(t=e.stateNode,t._visibility=y?t._visibility&~Vl:t._visibility|Vl,!y||c===null||D||Oo||_t||(Zi(e),(e.mode&ze)!==we&&0<=Ee&&0<=xe&&.05<xe-Ee&&Aa(e,Ee,xe,"Disconnect")),c=null,t=e;;){if(t.tag===5||t.tag===26){if(c===null){D=c=t;try{b=D.stateNode,y?ue(D,lD,b):ue(D,fD,D.stateNode,D.memoizedProps)}catch(ce){Ze(D,D.return,ce)}}}else if(t.tag===6){if(c===null){D=t;try{z=D.stateNode,y?ue(D,uD,z):ue(D,dD,z,D.memoizedProps)}catch(ce){Ze(D,D.return,ce)}}}else if(t.tag===18){if(c===null){D=t;try{N=D.stateNode,y?ue(D,rD,N):ue(D,cD,D.stateNode)}catch(ce){Ze(D,D.return,ce)}}}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;c===t&&(c=null),t=t.return}c===t&&(c=null),t.sibling.return=t.return,t=t.sibling}d&4&&(d=e.updateQueue,d!==null&&(c=d.retryQueue,c!==null&&(d.retryQueue=null,Oc(e,c))));break;case 19:gn(t,e),vn(e),d&4&&(d=e.updateQueue,d!==null&&(e.updateQueue=null,Oc(e,d)));break;case 30:break;case 21:break;default:gn(t,e),vn(e)}(e.mode&ze)!==we&&0<=Ee&&0<=xe&&((gt||.05<ht)&&Ca(e,Ee,xe,ht,ft),e.alternate===null&&e.return!==null&&e.return.alternate!==null&&.05<xe-Ee&&(yb(e.return.alternate,e.return)||Aa(e,Ee,xe,"Mount"))),Cn(n),Oa(a),ft=s,gt=r}function vn(e){var t=e.flags;if(t&2){try{ue(e,jC,e)}catch(n){Ze(e,e.return,n)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function xb(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var t=e;xb(t),t.tag===5&&t.flags&1024&&t.stateNode.reset(),e=e.sibling}}function La(e,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)gb(e,t.alternate,t),t=t.sibling}function wb(e){var t=An(),n=Ma(),a=_a(),s=ja();switch(e.tag){case 0:case 11:case 14:case 15:rp(e,e.return,Vn),Zi(e);break;case 1:Ua(e,e.return);var r=e.stateNode;typeof r.componentWillUnmount=="function"&&fb(e,e.return,r),Zi(e);break;case 27:ue(e,bl,e.stateNode);case 26:case 5:Ua(e,e.return),Zi(e);break;case 22:e.memoizedState===null&&Zi(e);break;case 30:Zi(e);break;default:Zi(e)}(e.mode&ze)!==we&&0<=Ee&&0<=xe&&(gt||.05<ht)&&Ca(e,Ee,xe,ht,ft),Cn(t),Oa(n),ft=a,gt=s}function Zi(e){for(e=e.child;e!==null;)wb(e),e=e.sibling}function Rb(e,t,n,a){var s=An(),r=Ma(),c=_a(),d=ja(),y=n.flags;switch(n.tag){case 0:case 11:case 15:Ba(e,n,a),lb(n,Vn);break;case 1:if(Ba(e,n,a),t=n.stateNode,typeof t.componentDidMount=="function"&&ue(n,zm,n,t),t=n.updateQueue,t!==null){e=n.stateNode;try{ue(n,yC,t,e)}catch(b){Ze(n,n.return,b)}}a&&y&64&&cb(n),cl(n,n.return);break;case 27:mb(n);case 26:case 5:Ba(e,n,a),a&&t===null&&y&4&&hb(n),cl(n,n.return);break;case 12:if(a&&y&4){y=ho(),Ba(e,n,a),a=n.stateNode,a.effectDuration+=Kr(y);try{ue(n,db,n,t,ui,a.effectDuration)}catch(b){Ze(n,n.return,b)}}else Ba(e,n,a);break;case 31:Ba(e,n,a),a&&y&4&&Sb(e,n);break;case 13:Ba(e,n,a),a&&y&4&&Tb(e,n);break;case 22:n.memoizedState===null&&Ba(e,n,a),cl(n,n.return);break;case 30:break;default:Ba(e,n,a)}(n.mode&ze)!==we&&0<=Ee&&0<=xe&&(gt||.05<ht)&&Ca(n,Ee,xe,ht,ft),Cn(s),Oa(r),ft=c,gt=d}function Ba(e,t,n){for(n=n&&(t.subtreeFlags&8772)!==0,t=t.child;t!==null;)Rb(e,t.alternate,t,n),t=t.sibling}function dp(e,t){var n=null;e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(n=e.memoizedState.cachePool.pool),e=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(e=t.memoizedState.cachePool.pool),e!==n&&(e!=null&&Gi(e),n!=null&&Fr(n))}function hp(e,t){e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(Gi(t),e!=null&&Fr(e))}function fa(e,t,n,a,s){if(t.subtreeFlags&10256||t.actualDuration!==0&&(t.alternate===null||t.alternate.child!==t.child))for(t=t.child;t!==null;){var r=t.sibling;Ab(e,t,n,a,r!==null?r.actualStartTime:s),t=r}}function Ab(e,t,n,a,s){var r=An(),c=Ma(),d=_a(),y=ja(),b=ii,z=t.flags;switch(t.tag){case 0:case 11:case 15:(t.mode&ze)!==we&&0<t.actualStartTime&&(t.flags&1)!==0&&Qu(t,t.actualStartTime,s,Ut,n),fa(e,t,n,a,s),z&2048&&ub(t,cn|Wn);break;case 1:(t.mode&ze)!==we&&0<t.actualStartTime&&((t.flags&128)!==0?Id(t,t.actualStartTime,s,[]):(t.flags&1)!==0&&Qu(t,t.actualStartTime,s,Ut,n)),fa(e,t,n,a,s);break;case 3:var N=ho(),D=Ut;Ut=t.alternate!==null&&t.alternate.memoizedState.isDehydrated&&(t.flags&256)===0,fa(e,t,n,a,s),Ut=D,z&2048&&(n=null,t.alternate!==null&&(n=t.alternate.memoizedState.cache),a=t.memoizedState.cache,a!==n&&(Gi(a),n!=null&&Fr(n))),e.passiveEffectDuration+=nc(N);break;case 12:if(z&2048){z=ho(),fa(e,t,n,a,s),e=t.stateNode,e.passiveEffectDuration+=Kr(z);try{ue(t,_C,t,t.alternate,ui,e.passiveEffectDuration)}catch(k){Ze(t,t.return,k)}}else fa(e,t,n,a,s);break;case 31:z=Ut,N=t.alternate!==null?t.alternate.memoizedState:null,D=t.memoizedState,N!==null&&D===null?(D=t.deletions,D!==null&&0<D.length&&D[0].tag===18?(Ut=!1,N=N.hydrationErrors,N!==null&&Id(t,t.actualStartTime,s,N)):Ut=!0):Ut=!1,fa(e,t,n,a,s),Ut=z;break;case 13:z=Ut,N=t.alternate!==null?t.alternate.memoizedState:null,D=t.memoizedState,N===null||N.dehydrated===null||D!==null&&D.dehydrated!==null?Ut=!1:(D=t.deletions,D!==null&&0<D.length&&D[0].tag===18?(Ut=!1,N=N.hydrationErrors,N!==null&&Id(t,t.actualStartTime,s,N)):Ut=!0),fa(e,t,n,a,s),Ut=z;break;case 23:break;case 22:D=t.stateNode,N=t.alternate,t.memoizedState!==null?D._visibility&So?fa(e,t,n,a,s):fl(e,t,n,a,s):D._visibility&So?fa(e,t,n,a,s):(D._visibility|=So,Bs(e,t,n,a,(t.subtreeFlags&10256)!==0||t.actualDuration!==0&&(t.alternate===null||t.alternate.child!==t.child),s),(t.mode&ze)===we||Ut||(e=t.actualStartTime,0<=e&&.05<s-e&&Xu(t,e,s),0<=Ee&&0<=xe&&.05<xe-Ee&&Xu(t,Ee,xe))),z&2048&&dp(N,t);break;case 24:fa(e,t,n,a,s),z&2048&&hp(t.alternate,t);break;default:fa(e,t,n,a,s)}(t.mode&ze)!==we&&((e=!Ut&&t.alternate===null&&t.return!==null&&t.return.alternate!==null)&&(n=t.actualStartTime,0<=n&&.05<s-n&&Aa(t,n,s,"Mount")),0<=Ee&&0<=xe&&((gt||.05<ht)&&Ca(t,Ee,xe,ht,ft),e&&.05<xe-Ee&&Aa(t,Ee,xe,"Mount"))),Cn(r),Oa(c),ft=d,gt=y,ii=b}function Bs(e,t,n,a,s,r){for(s=s&&((t.subtreeFlags&10256)!==0||t.actualDuration!==0&&(t.alternate===null||t.alternate.child!==t.child)),t=t.child;t!==null;){var c=t.sibling;Cb(e,t,n,a,s,c!==null?c.actualStartTime:r),t=c}}function Cb(e,t,n,a,s,r){var c=An(),d=Ma(),y=_a(),b=ja(),z=ii;s&&(t.mode&ze)!==we&&0<t.actualStartTime&&(t.flags&1)!==0&&Qu(t,t.actualStartTime,r,Ut,n);var N=t.flags;switch(t.tag){case 0:case 11:case 15:Bs(e,t,n,a,s,r),ub(t,cn);break;case 23:break;case 22:var D=t.stateNode;t.memoizedState!==null?D._visibility&So?Bs(e,t,n,a,s,r):fl(e,t,n,a,r):(D._visibility|=So,Bs(e,t,n,a,s,r)),s&&N&2048&&dp(t.alternate,t);break;case 24:Bs(e,t,n,a,s,r),s&&N&2048&&hp(t.alternate,t);break;default:Bs(e,t,n,a,s,r)}(t.mode&ze)!==we&&0<=Ee&&0<=xe&&(gt||.05<ht)&&Ca(t,Ee,xe,ht,ft),Cn(c),Oa(d),ft=y,gt=b,ii=z}function fl(e,t,n,a,s){if(t.subtreeFlags&10256||t.actualDuration!==0&&(t.alternate===null||t.alternate.child!==t.child))for(var r=t.child;r!==null;){t=r.sibling;var c=e,d=n,y=a,b=t!==null?t.actualStartTime:s,z=ii;(r.mode&ze)!==we&&0<r.actualStartTime&&(r.flags&1)!==0&&Qu(r,r.actualStartTime,b,Ut,d);var N=r.flags;switch(r.tag){case 22:fl(c,r,d,y,b),N&2048&&dp(r.alternate,r);break;case 24:fl(c,r,d,y,b),N&2048&&hp(r.alternate,r);break;default:fl(c,r,d,y,b)}ii=z,r=t}}function ks(e,t,n){if(e.subtreeFlags&tu)for(e=e.child;e!==null;)Db(e,t,n),e=e.sibling}function Db(e,t,n){switch(e.tag){case 26:ks(e,t,n),e.flags&tu&&e.memoizedState!==null&&ED(n,ya,e.memoizedState,e.memoizedProps);break;case 5:ks(e,t,n);break;case 3:case 4:var a=ya;ya=Bc(e.stateNode.containerInfo),ks(e,t,n),ya=a;break;case 22:e.memoizedState===null&&(a=e.alternate,a!==null&&a.memoizedState!==null?(a=tu,tu=16777216,ks(e,t,n),tu=a):ks(e,t,n));break;default:ks(e,t,n)}}function Mb(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 dl(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var n=0;n<t.length;n++){var a=t[n],s=An();qt=a,jb(a,e),(a.mode&ze)!==we&&0<=Ee&&0<=xe&&.05<xe-Ee&&Aa(a,Ee,xe,"Unmount"),Cn(s)}Mb(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)Ob(e),e=e.sibling}function Ob(e){var t=An(),n=Ma(),a=_a(),s=ja();switch(e.tag){case 0:case 11:case 15:dl(e),e.flags&2048&&lp(e,e.return,cn|Wn);break;case 3:var r=ho();dl(e),e.stateNode.passiveEffectDuration+=nc(r);break;case 12:r=ho(),dl(e),e.stateNode.passiveEffectDuration+=Kr(r);break;case 22:r=e.stateNode,e.memoizedState!==null&&r._visibility&So&&(e.return===null||e.return.tag!==13)?(r._visibility&=~So,_c(e),(e.mode&ze)!==we&&0<=Ee&&0<=xe&&.05<xe-Ee&&Aa(e,Ee,xe,"Disconnect")):dl(e);break;default:dl(e)}(e.mode&ze)!==we&&0<=Ee&&0<=xe&&(gt||.05<ht)&&Ca(e,Ee,xe,ht,ft),Cn(t),Oa(n),gt=s,ft=a}function _c(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var n=0;n<t.length;n++){var a=t[n],s=An();qt=a,jb(a,e),(a.mode&ze)!==we&&0<=Ee&&0<=xe&&.05<xe-Ee&&Aa(a,Ee,xe,"Unmount"),Cn(s)}Mb(e)}for(e=e.child;e!==null;)_b(e),e=e.sibling}function _b(e){var t=An(),n=Ma(),a=_a(),s=ja();switch(e.tag){case 0:case 11:case 15:lp(e,e.return,cn),_c(e);break;case 22:var r=e.stateNode;r._visibility&So&&(r._visibility&=~So,_c(e));break;default:_c(e)}(e.mode&ze)!==we&&0<=Ee&&0<=xe&&(gt||.05<ht)&&Ca(e,Ee,xe,ht,ft),Cn(t),Oa(n),gt=s,ft=a}function jb(e,t){for(;qt!==null;){var n=qt,a=n,s=t,r=An(),c=Ma(),d=_a(),y=ja();switch(a.tag){case 0:case 11:case 15:lp(a,s,cn);break;case 23:case 22:a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(s=a.memoizedState.cachePool.pool,s!=null&&Gi(s));break;case 24:Fr(a.memoizedState.cache)}if((a.mode&ze)!==we&&0<=Ee&&0<=xe&&(gt||.05<ht)&&Ca(a,Ee,xe,ht,ft),Cn(r),Oa(c),gt=y,ft=d,a=n.child,a!==null)a.return=n,qt=a;else e:for(n=e;qt!==null;){if(a=qt,r=a.sibling,c=a.return,vb(a),a===n){qt=null;break e}if(r!==null){r.return=c,qt=r;break e}qt=c}}}function VC(){oO.forEach(function(e){return e()})}function zb(){var e=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0;return e||Y.actQueue===null||console.error("The current testing environment is not configured to support act(...)"),e}function Mn(e){if(($e&Lt)!==Gt&&Ve!==0)return Ve&-Ve;var t=Y.T;return t!==null?(t._updatedFibers||(t._updatedFibers=new Set),t._updatedFibers.add(e),Tp()):mt()}function Nb(){if(Tn===0)if((Ve&536870912)===0||ke){var e=Jc;Jc<<=1,(Jc&3932160)===0&&(Jc=262144),Tn=e}else Tn=536870912;return e=Nn.current,e!==null&&(e.flags|=32),Tn}function yt(e,t,n){if(wr&&console.error("useInsertionEffect must not schedule updates."),ay&&(Uf=!0),(e===nt&&(Fe===cs||Fe===fs)||e.cancelPendingCommit!==null)&&(Ys(e,0),Fo(e,Ve,Tn,!1)),sa(e,n),($e&Lt)!==Gt&&e===nt){if(Ga)switch(t.tag){case 0:case 11:case 15:e=Ue&&q(Ue)||"Unknown",rE.has(e)||(rE.add(e),t=q(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:sE||(console.error("Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state."),sE=!0)}}else $a&&io(e,t,n),$C(t),e===nt&&(($e&Lt)===Gt&&(gi|=n),pt===pi&&Fo(e,Ve,Tn,!1)),ka(e)}function Vb(e,t,n){if(($e&(Lt|Un))!==Gt)throw Error("Should not already be working.");if(Ve!==0&&Ue!==null){var a=Ue,s=Ht();switch(W1){case ou:case cs:var r=Yl;rt&&((a=a._debugTask)?a.run(console.timeStamp.bind(console,"Suspended",r,s,$n,void 0,"primary-light")):console.timeStamp("Suspended",r,s,$n,void 0,"primary-light"));break;case fs:r=Yl,rt&&((a=a._debugTask)?a.run(console.timeStamp.bind(console,"Action",r,s,$n,void 0,"primary-light")):console.timeStamp("Action",r,s,$n,void 0,"primary-light"));break;default:rt&&(a=s-Yl,3>a||console.timeStamp("Blocked",Yl,s,$n,void 0,5>a?"primary-light":10>a?"primary":100>a?"primary-dark":"error"))}}r=(n=!n&&(t&127)===0&&(t&e.expiredLanes)===0||Hn(e,t))?LC(e,t):mp(e,t,!0);var c=n;do{if(r===_o){Er&&!n&&Fo(e,t,0,!1),t=Fe,Yl=Dt(),W1=t;break}else{if(a=Ht(),s=e.current.alternate,c&&!UC(s)){ua(t),s=Yt,r=a,!rt||r<=s||(St?St.run(console.timeStamp.bind(console,"Teared Render",s,r,Ge,Ye,"error")):console.timeStamp("Teared Render",s,r,Ge,Ye,"error")),Ii(t,a),r=mp(e,t,!1),c=!1;continue}if(r===us){if(c=t,e.errorRecoveryDisabledLanes&c)var d=0;else d=e.pendingLanes&-536870913,d=d!==0?d:d&536870912?536870912:0;if(d!==0){ua(t),Jd(Yt,a,t,St),Ii(t,a),t=d;e:{a=e,r=c,c=su;var y=a.current.memoizedState.isDehydrated;if(y&&(Ys(a,d).flags|=256),d=mp(a,d,!1),d!==us){if(Im&&!y){a.errorRecoveryDisabledLanes|=r,gi|=r,r=pi;break e}a=fn,fn=c,a!==null&&(fn===null?fn=a:fn.push.apply(fn,a))}r=d}if(c=!1,r!==us)continue;a=Ht()}}if(r===au){ua(t),Jd(Yt,a,t,St),Ii(t,a),Ys(e,0),Fo(e,t,0,!0);break}e:{switch(n=e,r){case _o:case au:throw Error("Root did not complete. This is a bug in React.");case pi:if((t&4194048)!==t)break;case Df:ua(t),Vv(Yt,a,t,St),Ii(t,a),s=t,(s&127)!==0?hf=a:(s&4194048)!==0&&(pf=a),Fo(n,t,Tn,!mi);break e;case us:fn=null;break;case Cf:case QT:break;default:throw Error("Unknown root exit status.")}if(Y.actQueue!==null)yp(n,s,t,fn,ru,_f,Tn,gi,ds,r,null,null,Yt,a);else{if((t&62914560)===t&&(c=jf+JT-Ht(),10<c)){if(Fo(n,t,Tn,!mi),ao(n,0,!0)!==0)break e;ga=t,n.timeoutHandle=mE(Ub.bind(null,n,s,fn,ru,_f,t,Tn,gi,ds,mi,r,"Throttled",Yt,a),c);break e}Ub(n,s,fn,ru,_f,t,Tn,gi,ds,mi,r,null,Yt,a)}}}break}while(!0);ka(e)}function Ub(e,t,n,a,s,r,c,d,y,b,z,N,D,k){e.timeoutHandle=gs;var oe=t.subtreeFlags,ce=null;if((oe&8192||(oe&16785408)===16785408)&&(ce={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:lo},Db(t,r,ce),oe=(r&62914560)===r?jf-Ht():(r&4194048)===r?IT-Ht():0,oe=xD(ce,oe),oe!==null)){ga=r,e.cancelPendingCommit=oe(yp.bind(null,e,t,r,n,a,s,c,d,y,z,ce,ce.waitingForViewTransition?"Waiting for the previous Animation":0<ce.count?0<ce.imgCount?"Suspended on CSS and Images":"Suspended on CSS":ce.imgCount===1?"Suspended on an Image":0<ce.imgCount?"Suspended on Images":null,D,k)),Fo(e,r,c,!b);return}yp(e,t,r,n,a,s,c,d,y,z,ce,N,D,k)}function UC(e){for(var t=e;;){var n=t.tag;if((n===0||n===11||n===15)&&t.flags&16384&&(n=t.updateQueue,n!==null&&(n=n.stores,n!==null)))for(var a=0;a<n.length;a++){var s=n[a],r=s.getSnapshot;s=s.value;try{if(!rn(r(),s))return!1}catch{return!1}}if(n=t.child,t.subtreeFlags&16384&&n!==null)n.return=t,t=n;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function Fo(e,t,n,a){t&=~Jm,t&=~gi,e.suspendedLanes|=t,e.pingedLanes&=~t,a&&(e.warmLanes|=t),a=e.expirationTimes;for(var s=t;0<s;){var r=31-an(s),c=1<<r;a[r]=-1,s&=~c}n!==0&&Yo(e,n,t)}function Hs(){return($e&(Lt|Un))===Gt?(ml(0),!1):!0}function pp(){if(Ue!==null){if(Fe===Sn)var e=Ue.return;else e=Ue,Wu(),Rh(e),hr=null,Jl=0,e=Ue;for(;e!==null;)rb(e.alternate,e),e=e.return;Ue=null}}function Ii(e,t){(e&127)!==0&&(es=t),(e&4194048)!==0&&(Ro=t),(e&62914560)!==0&&(F1=t),(e&2080374784)!==0&&(K1=t)}function Ys(e,t){rt&&(console.timeStamp("Blocking Track",.003,.003,"Blocking",Ye,"primary-light"),console.timeStamp("Transition Track",.003,.003,"Transition",Ye,"primary-light"),console.timeStamp("Suspense Track",.003,.003,"Suspense",Ye,"primary-light"),console.timeStamp("Idle Track",.003,.003,"Idle",Ye,"primary-light"));var n=Yt;if(Yt=Dt(),Ve!==0&&0<n){if(ua(Ve),pt===Cf||pt===pi)Vv(n,Yt,t,St);else{var a=Yt,s=St;if(rt&&!(a<=n)){var r=(t&738197653)===t?"tertiary-dark":"primary-dark",c=(t&536870912)===t?"Prewarm":(t&201326741)===t?"Interrupted Hydration":"Interrupted Render";s?s.run(console.timeStamp.bind(console,c,n,a,Ge,Ye,r)):console.timeStamp(c,n,a,Ge,Ye,r)}}Ii(Ve,Yt)}if(n=St,St=null,(t&127)!==0){St=Bl,s=0<=Ia&&Ia<es?es:Ia,a=0<=ts&&ts<es?es:ts,r=0<=a?a:0<=s?s:Yt,0<=hf?(ua(2),Uv(hf,r,t,n)):mf&127,n=s;var d=a,y=kl,b=0<cr,z=ci===Ll,N=ci===df;if(s=Yt,a=Bl,r=Dm,c=Mm,rt){if(Ge="Blocking",0<n?n>s&&(n=s):n=s,0<d?d>n&&(d=n):d=n,y!==null&&n>d){var D=b?"secondary-light":"warning";a?a.run(console.timeStamp.bind(console,b?"Consecutive":"Event: "+y,d,n,Ge,Ye,D)):console.timeStamp(b?"Consecutive":"Event: "+y,d,n,Ge,Ye,D)}s>n&&(d=z?"error":(t&738197653)===t?"tertiary-light":"primary-light",z=N?"Promise Resolved":z?"Cascading Update":5<s-n?"Update Blocked":"Update",N=[],c!=null&&N.push(["Component name",c]),r!=null&&N.push(["Method name",r]),n={start:n,end:s,detail:{devtools:{properties:N,track:Ge,trackGroup:Ye,color:d}}},a?a.run(performance.measure.bind(performance,z,n)):performance.measure(z,n))}Ia=-1.1,ci=0,Mm=Dm=null,hf=-1.1,cr=ts,ts=-1.1,es=Dt()}if((t&4194048)!==0&&(St=Hl,s=0<=Ao&&Ao<Ro?Ro:Ao,n=0<=Fn&&Fn<Ro?Ro:Fn,a=0<=fi&&fi<Ro?Ro:fi,r=0<=a?a:0<=n?n:Yt,0<=pf?(ua(256),Uv(pf,r,t,St)):mf&4194048,N=a,d=ns,y=0<di,b=Om===df,r=Yt,a=Hl,c=I1,z=J1,rt&&(Ge="Transition",0<n?n>r&&(n=r):n=r,0<s?s>n&&(s=n):s=n,0<N?N>s&&(N=s):N=s,s>N&&d!==null&&(D=y?"secondary-light":"warning",a?a.run(console.timeStamp.bind(console,y?"Consecutive":"Event: "+d,N,s,Ge,Ye,D)):console.timeStamp(y?"Consecutive":"Event: "+d,N,s,Ge,Ye,D)),n>s&&(a?a.run(console.timeStamp.bind(console,"Action",s,n,Ge,Ye,"primary-dark")):console.timeStamp("Action",s,n,Ge,Ye,"primary-dark")),r>n&&(s=b?"Promise Resolved":5<r-n?"Update Blocked":"Update",N=[],z!=null&&N.push(["Component name",z]),c!=null&&N.push(["Method name",c]),n={start:n,end:r,detail:{devtools:{properties:N,track:Ge,trackGroup:Ye,color:"primary-light"}}},a?a.run(performance.measure.bind(performance,s,n)):performance.measure(s,n))),Fn=Ao=-1.1,Om=0,pf=-1.1,di=fi,fi=-1.1,Ro=Dt()),(t&62914560)!==0&&(mf&62914560)!==0&&(ua(4194304),Fd(F1,Yt)),(t&2080374784)!==0&&(mf&2080374784)!==0&&(ua(268435456),Fd(K1,Yt)),n=e.timeoutHandle,n!==gs&&(e.timeoutHandle=gs,gO(n)),n=e.cancelPendingCommit,n!==null&&(e.cancelPendingCommit=null,n()),ga=0,pp(),nt=e,Ue=n=uo(e.current,null),Ve=t,Fe=Sn,Ln=null,mi=!1,Er=Hn(e,t),Im=!1,pt=_o,ds=Tn=Jm=gi=yi=0,fn=su=null,_f=!1,(t&8)!==0&&(t|=t&32),a=e.entangledLanes,a!==0)for(e=e.entanglements,a&=t;0<a;)s=31-an(a),r=1<<s,t|=e[s],a&=~r;return Fa=t,Zu(),e=G1(),1e3<e-q1&&(Y.recentlyCreatedOwnerStacks=0,q1=e),pa.discardPendingWarnings(),n}function Lb(e,t){Ae=null,Y.H=eu,Y.getCurrentStack=null,Ga=!1,jn=null,t===dr||t===bf?(t=o0(),Fe=ou):t===Nm?(t=o0(),Fe=ZT):Fe=t===Pm?Zm:t!==null&&typeof t=="object"&&typeof t.then=="function"?iu:Mf,Ln=t;var n=Ue;n===null?(pt=au,wc(e,Rn(t,e.current))):n.mode&ze&&dh(n)}function Bb(){var e=Nn.current;return e===null?!0:(Ve&4194048)===Ve?Kn===null:(Ve&62914560)===Ve||(Ve&536870912)!==0?e===Kn:!1}function kb(){var e=Y.H;return Y.H=eu,e===null?eu:e}function Hb(){var e=Y.A;return Y.A=aO,e}function jc(e){St===null&&(St=e._debugTask==null?null:e._debugTask)}function zc(){pt=pi,mi||(Ve&4194048)!==Ve&&Nn.current!==null||(Er=!0),(yi&134217727)===0&&(gi&134217727)===0||nt===null||Fo(nt,Ve,Tn,!1)}function mp(e,t,n){var a=$e;$e|=Lt;var s=kb(),r=Hb();if(nt!==e||Ve!==t){if($a){var c=e.memoizedUpdaters;0<c.size&&(pl(e,Ve),c.clear()),so(e,t)}ru=null,Ys(e,t)}t=!1,c=pt;e:do try{if(Fe!==Sn&&Ue!==null){var d=Ue,y=Ln;switch(Fe){case Zm:pp(),c=Df;break e;case ou:case cs:case fs:case iu:Nn.current===null&&(t=!0);var b=Fe;if(Fe=Sn,Ln=null,qs(e,d,y,b),n&&Er){c=_o;break e}break;default:b=Fe,Fe=Sn,Ln=null,qs(e,d,y,b)}}Yb(),c=pt;break}catch(z){Lb(e,z)}while(!0);return t&&e.shellSuspendCounter++,Wu(),$e=a,Y.H=s,Y.A=r,Ue===null&&(nt=null,Ve=0,Zu()),c}function Yb(){for(;Ue!==null;)qb(Ue)}function LC(e,t){var n=$e;$e|=Lt;var a=kb(),s=Hb();if(nt!==e||Ve!==t){if($a){var r=e.memoizedUpdaters;0<r.size&&(pl(e,Ve),r.clear()),so(e,t)}ru=null,zf=Ht()+FT,Ys(e,t)}else Er=Hn(e,t);e:do try{if(Fe!==Sn&&Ue!==null)t:switch(t=Ue,r=Ln,Fe){case Mf:Fe=Sn,Ln=null,qs(e,t,r,Mf);break;case cs:case fs:if(n0(r)){Fe=Sn,Ln=null,Gb(t);break}t=function(){Fe!==cs&&Fe!==fs||nt!==e||(Fe=Of),ka(e)},r.then(t,t);break e;case ou:Fe=Of;break e;case ZT:Fe=Qm;break e;case Of:n0(r)?(Fe=Sn,Ln=null,Gb(t)):(Fe=Sn,Ln=null,qs(e,t,r,Of));break;case Qm:var c=null;switch(Ue.tag){case 26:c=Ue.memoizedState;case 5:case 27:var d=Ue;if(c?VS(c):d.stateNode.complete){Fe=Sn,Ln=null;var y=d.sibling;if(y!==null)Ue=y;else{var b=d.return;b!==null?(Ue=b,Nc(b)):Ue=null}break t}break;default:console.error("Unexpected type of fiber triggered a suspensey commit. This is a bug in React.")}Fe=Sn,Ln=null,qs(e,t,r,Qm);break;case iu:Fe=Sn,Ln=null,qs(e,t,r,iu);break;case Zm:pp(),pt=Df;break e;default:throw Error("Unexpected SuspendedReason. This is a bug in React.")}Y.actQueue!==null?Yb():BC();break}catch(z){Lb(e,z)}while(!0);return Wu(),Y.H=a,Y.A=s,$e=n,Ue!==null?_o:(nt=null,Ve=0,Zu(),pt)}function BC(){for(;Ue!==null&&!LD();)qb(Ue)}function qb(e){var t=e.alternate;(e.mode&ze)!==we?(fh(e),t=ue(e,ip,t,e,Fa),dh(e)):t=ue(e,ip,t,e,Fa),e.memoizedProps=e.pendingProps,t===null?Nc(e):Ue=t}function Gb(e){var t=ue(e,kC,e);e.memoizedProps=e.pendingProps,t===null?Nc(e):Ue=t}function kC(e){var t=e.alternate,n=(e.mode&ze)!==we;switch(n&&fh(e),e.tag){case 15:case 0:t=eb(t,e,e.pendingProps,e.type,void 0,Ve);break;case 11:t=eb(t,e,e.pendingProps,e.type.render,e.ref,Ve);break;case 5:Rh(e);default:rb(t,e),e=Ue=qv(e,Fa),t=ip(t,e,Fa)}return n&&dh(e),t}function qs(e,t,n,a){Wu(),Rh(t),hr=null,Jl=0;var s=t.return;try{if(xC(e,s,t,n,Ve)){pt=au,wc(e,Rn(n,e.current)),Ue=null;return}}catch(r){if(s!==null)throw Ue=s,r;pt=au,wc(e,Rn(n,e.current)),Ue=null;return}t.flags&32768?(ke||a===Mf?e=!0:Er||(Ve&536870912)!==0?e=!1:(mi=e=!0,(a===cs||a===fs||a===ou||a===iu)&&(a=Nn.current,a!==null&&a.tag===13&&(a.flags|=16384))),Pb(t,e)):Nc(t)}function Nc(e){var t=e;do{if((t.flags&32768)!==0){Pb(t,mi);return}var n=t.alternate;if(e=t.return,fh(t),n=ue(t,AC,n,t,Fa),(t.mode&ze)!==we&&Fv(t),n!==null){Ue=n;return}if(t=t.sibling,t!==null){Ue=t;return}Ue=t=e}while(t!==null);pt===_o&&(pt=QT)}function Pb(e,t){do{var n=CC(e.alternate,e);if(n!==null){n.flags&=32767,Ue=n;return}if((e.mode&ze)!==we){Fv(e),n=e.actualDuration;for(var a=e.child;a!==null;)n+=a.actualDuration,a=a.sibling;e.actualDuration=n}if(n=e.return,n!==null&&(n.flags|=32768,n.subtreeFlags=0,n.deletions=null),!t&&(e=e.sibling,e!==null)){Ue=e;return}Ue=e=n}while(e!==null);pt=Df,Ue=null}function yp(e,t,n,a,s,r,c,d,y,b,z,N,D,k){e.cancelPendingCommit=null;do hl();while(zt!==bi);if(pa.flushLegacyContextWarning(),pa.flushPendingUnsafeLifecycleWarnings(),($e&(Lt|Un))!==Gt)throw Error("Should not already be working.");if(ua(n),b===us?Jd(D,k,n,St):a!==null?cC(D,k,n,a,t!==null&&t.alternate!==null&&t.alternate.memoizedState.isDehydrated&&(t.flags&256)!==0,St):uC(D,k,n,St),t!==null){if(n===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(r=t.lanes|t.childLanes,r|=xm,zi(e,n,r,c,d,y),e===nt&&(Ue=nt=null,Ve=0),xr=t,Si=e,ga=n,Wm=r,ty=s,aE=a,ey=k,oE=N,va=Nf,iE=null,t.actualDuration!==0||(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?(e.callbackNode=null,e.callbackPriority=0,PC(Zs,function(){return hu=window.event,va===Nf&&(va=Km),Ib(),null})):(e.callbackNode=null,e.callbackPriority=0),wo=null,ui=Dt(),N!==null&&fC(k,ui,N,St),a=(t.flags&13878)!==0,(t.subtreeFlags&13878)!==0||a){a=Y.T,Y.T=null,s=Ie.p,Ie.p=Pn,c=$e,$e|=Un;try{zC(e,t,n)}finally{$e=c,Ie.p=s,Y.T=a}}zt=WT,$b(),Xb(),Qb()}}function $b(){if(zt===WT){zt=bi;var e=Si,t=xr,n=ga,a=(t.flags&13878)!==0;if((t.subtreeFlags&13878)!==0||a){a=Y.T,Y.T=null;var s=Ie.p;Ie.p=Pn;var r=$e;$e|=Un;try{Sr=n,Tr=e,ac(),Eb(t,e),Tr=Sr=null,n=dy;var c=jv(e.containerInfo),d=n.focusedElem,y=n.selectionRange;if(c!==d&&d&&d.ownerDocument&&_v(d.ownerDocument.documentElement,d)){if(y!==null&&Qd(d)){var b=y.start,z=y.end;if(z===void 0&&(z=b),"selectionStart"in d)d.selectionStart=b,d.selectionEnd=Math.min(z,d.value.length);else{var N=d.ownerDocument||document,D=N&&N.defaultView||window;if(D.getSelection){var k=D.getSelection(),oe=d.textContent.length,ce=Math.min(y.start,oe),ot=y.end===void 0?ce:Math.min(y.end,oe);!k.extend&&ce>ot&&(c=ot,ot=ce,ce=c);var qe=Ov(d,ce),R=Ov(d,ot);if(qe&&R&&(k.rangeCount!==1||k.anchorNode!==qe.node||k.anchorOffset!==qe.offset||k.focusNode!==R.node||k.focusOffset!==R.offset)){var M=N.createRange();M.setStart(qe.node,qe.offset),k.removeAllRanges(),ce>ot?(k.addRange(M),k.extend(R.node,R.offset)):(M.setEnd(R.node,R.offset),k.addRange(M))}}}}for(N=[],k=d;k=k.parentNode;)k.nodeType===1&&N.push({element:k,left:k.scrollLeft,top:k.scrollTop});for(typeof d.focus=="function"&&d.focus(),d=0;d<N.length;d++){var _=N[d];_.element.scrollLeft=_.left,_.element.scrollTop=_.top}}Jf=!!fy,dy=fy=null}finally{$e=r,Ie.p=s,Y.T=a}}e.current=t,zt=eE}}function Xb(){if(zt===eE){zt=bi;var e=iE;if(e!==null){ui=Dt();var t=xo,n=ui;!rt||n<=t||console.timeStamp(e,t,n,Ge,Ye,"secondary-light")}e=Si,t=xr,n=ga;var a=(t.flags&8772)!==0;if((t.subtreeFlags&8772)!==0||a){a=Y.T,Y.T=null;var s=Ie.p;Ie.p=Pn;var r=$e;$e|=Un;try{Sr=n,Tr=e,ac(),gb(e,t.alternate,t),Tr=Sr=null}finally{$e=r,Ie.p=s,Y.T=a}}e=ey,t=oE,xo=Dt(),e=t===null?e:ui,t=xo,n=va===Fm,a=St,wo!==null?Lv(e,t,wo,!1,a):!rt||t<=e||(a?a.run(console.timeStamp.bind(console,n?"Commit Interrupted View Transition":"Commit",e,t,Ge,Ye,n?"error":"secondary-dark")):console.timeStamp(n?"Commit Interrupted View Transition":"Commit",e,t,Ge,Ye,n?"error":"secondary-dark")),zt=tE}}function Qb(){if(zt===nE||zt===tE){if(zt===nE){var e=xo;xo=Dt();var t=xo,n=va===Fm;!rt||t<=e||console.timeStamp(n?"Interrupted View Transition":"Starting Animation",e,t,Ge,Ye,n?" error":"secondary-light"),va!==Fm&&(va=KT)}zt=bi,BD(),e=Si;var a=xr;t=ga,n=aE;var s=a.actualDuration!==0||(a.subtreeFlags&10256)!==0||(a.flags&10256)!==0;s?zt=Vf:(zt=bi,xr=Si=null,Zb(e,e.pendingLanes),hs=0,uu=null);var r=e.pendingLanes;if(r===0&&(vi=null),s||Wb(e),r=We(t),a=a.stateNode,Kt&&typeof Kt.onCommitFiberRoot=="function")try{var c=(a.current.flags&128)===128;switch(r){case Pn:var d=tm;break;case Xa:d=nm;break;case vo:d=Zs;break;case Kc:d=am;break;default:d=Zs}Kt.onCommitFiberRoot(Is,a,d,c)}catch(N){Pa||(Pa=!0,console.error("React instrumentation encountered an error: %o",N))}if($a&&e.memoizedUpdaters.clear(),VC(),n!==null){c=Y.T,d=Ie.p,Ie.p=Pn,Y.T=null;try{var y=e.onRecoverableError;for(a=0;a<n.length;a++){var b=n[a],z=HC(b.stack);ue(b.source,y,b.value,z)}}finally{Y.T=c,Ie.p=d}}(ga&3)!==0&&hl(),ka(e),r=e.pendingLanes,(t&261930)!==0&&(r&42)!==0?(gf=!0,e===ny?lu++:(lu=0,ny=e)):lu=0,s||Ii(t,xo),ml(0)}}function HC(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 Zb(e,t){(e.pooledCacheLanes&=t)===0&&(t=e.pooledCache,t!=null&&(e.pooledCache=null,Fr(t)))}function hl(){return $b(),Xb(),Qb(),Ib()}function Ib(){if(zt!==Vf)return!1;var e=Si,t=Wm;Wm=0;var n=We(ga),a=vo>n?vo:n;n=Y.T;var s=Ie.p;try{Ie.p=a,Y.T=null;var r=ty;ty=null,a=Si;var c=ga;if(zt=bi,xr=Si=null,ga=0,($e&(Lt|Un))!==Gt)throw Error("Cannot flush passive effects while already rendering.");ua(c),ay=!0,Uf=!1;var d=0;if(wo=null,d=Ht(),va===KT)Fd(xo,d,JM);else{var y=xo,b=d,z=va===Km;!rt||b<=y||(St?St.run(console.timeStamp.bind(console,z?"Waiting for Paint":"Waiting",y,b,Ge,Ye,"secondary-light")):console.timeStamp(z?"Waiting for Paint":"Waiting",y,b,Ge,Ye,"secondary-light"))}y=$e,$e|=Un;var N=a.current;ac(),Ob(N);var D=a.current;N=ey,ac(),Ab(a,D,c,r,N),Wb(a),$e=y;var k=Ht();if(D=d,N=St,wo!==null?Lv(D,k,wo,!0,N):!rt||k<=D||(N?N.run(console.timeStamp.bind(console,"Remaining Effects",D,k,Ge,Ye,"secondary-dark")):console.timeStamp("Remaining Effects",D,k,Ge,Ye,"secondary-dark")),Ii(c,k),ml(0,!1),Uf?a===uu?hs++:(hs=0,uu=a):hs=0,Uf=ay=!1,Kt&&typeof Kt.onPostCommitFiberRoot=="function")try{Kt.onPostCommitFiberRoot(Is,a)}catch(ce){Pa||(Pa=!0,console.error("React instrumentation encountered an error: %o",ce))}var oe=a.current.stateNode;return oe.effectDuration=0,oe.passiveEffectDuration=0,!0}finally{Ie.p=s,Y.T=n,Zb(e,t)}}function Jb(e,t,n){t=Rn(n,t),Kv(t),t=Zh(e.stateNode,t,2),e=Qo(e,t,2),e!==null&&(sa(e,2),ka(e))}function Ze(e,t,n){if(wr=!1,e.tag===3)Jb(e,e,n);else{for(;t!==null;){if(t.tag===3){Jb(t,e,n);return}if(t.tag===1){var a=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof a.componentDidCatch=="function"&&(vi===null||!vi.has(a))){e=Rn(n,e),Kv(e),n=Ih(2),a=Qo(t,n,2),a!==null&&(Jh(n,a,t,e),sa(a,2),ka(a));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.
199
+
200
+ Error message:
201
+
202
+ %s`,n)}}function gp(e,t,n){var a=e.pingCache;if(a===null){a=e.pingCache=new iO;var s=new Set;a.set(t,s)}else s=a.get(t),s===void 0&&(s=new Set,a.set(t,s));s.has(n)||(Im=!0,s.add(n),a=YC.bind(null,e,t,n),$a&&pl(e,n),t.then(a,a))}function YC(e,t,n){var a=e.pingCache;a!==null&&a.delete(t),e.pingedLanes|=e.suspendedLanes&n,e.warmLanes&=~n,(n&127)!==0?0>Ia&&(es=Ia=Dt(),Bl=ff("Promise Resolved"),ci=df):(n&4194048)!==0&&0>Fn&&(Ro=Fn=Dt(),Hl=ff("Promise Resolved"),Om=df),zb()&&Y.actQueue===null&&console.error(`A suspended resource finished loading inside a test, but the event was not wrapped in act(...).
203
+
204
+ When testing, code that resolves suspended data should be wrapped into act(...):
205
+
206
+ act(() => {
207
+ /* finish loading suspended data */
208
+ });
209
+ /* assert on the output */
210
+
211
+ 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`),nt===e&&(Ve&n)===n&&(pt===pi||pt===Cf&&(Ve&62914560)===Ve&&Ht()-jf<JT?($e&Lt)===Gt&&Ys(e,0):Jm|=n,ds===Ve&&(ds=0)),ka(e)}function Fb(e,t){t===0&&(t=ko()),e=Ft(e,t),e!==null&&(sa(e,t),ka(e))}function qC(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Fb(e,n)}function GC(e,t){var n=0;switch(e.tag){case 31:case 13:var a=e.stateNode,s=e.memoizedState;s!==null&&(n=s.retryLane);break;case 19:a=e.stateNode;break;case 22:a=e.stateNode._retryCache;break;default:throw Error("Pinged unknown suspense boundary type. This is probably a bug in React.")}a!==null&&a.delete(t),Fb(e,n)}function vp(e,t,n){if((t.subtreeFlags&67117056)!==0)for(t=t.child;t!==null;){var a=e,s=t,r=s.type===Xc;r=n||r,s.tag!==22?s.flags&67108864?r&&ue(s,Kb,a,s):vp(a,s,r):s.memoizedState===null&&(r&&s.flags&8192?ue(s,Kb,a,s):s.subtreeFlags&67108864&&ue(s,vp,a,s,r)),t=t.sibling}}function Kb(e,t){he(!0);try{wb(t),_b(t),Rb(e,t.alternate,t,!1),Cb(e,t,0,null,!1,0)}finally{he(!1)}}function Wb(e){var t=!0;e.current.mode&(Wt|ha)||(t=!1),vp(e,e.current,t)}function eS(e){if(($e&Lt)===Gt){var t=e.tag;if(t===3||t===1||t===0||t===11||t===14||t===15){if(t=q(e)||"ReactComponent",Lf!==null){if(Lf.has(t))return;Lf.add(t)}else Lf=new Set([t]);ue(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 pl(e,t){$a&&e.memoizedUpdaters.forEach(function(n){io(e,n,t)})}function PC(e,t){var n=Y.actQueue;return n!==null?(n.push(t),lO):em(e,t)}function $C(e){zb()&&Y.actQueue===null&&ue(e,function(){console.error(`An update to %s inside a test was not wrapped in act(...).
212
+
213
+ When testing, code that causes React state updates should be wrapped into act(...):
214
+
215
+ act(() => {
216
+ /* fire events that update state */
217
+ });
218
+ /* assert on the output */
219
+
220
+ 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`,q(e))})}function ka(e){e!==Rr&&e.next===null&&(Rr===null?Bf=Rr=e:Rr=Rr.next=e),kf=!0,Y.actQueue!==null?iy||(iy=!0,oS()):oy||(oy=!0,oS())}function ml(e,t){if(!sy&&kf){sy=!0;do for(var n=!1,a=Bf;a!==null;){if(e!==0){var s=a.pendingLanes;if(s===0)var r=0;else{var c=a.suspendedLanes,d=a.pingedLanes;r=(1<<31-an(42|e)+1)-1,r&=s&~(c&~d),r=r&201326741?r&201326741|1:r?r|2:0}r!==0&&(n=!0,aS(a,r))}else r=Ve,r=ao(a,a===nt?r:0,a.cancelPendingCommit!==null||a.timeoutHandle!==gs),(r&3)===0||Hn(a,r)||(n=!0,aS(a,r));a=a.next}while(n);sy=!1}}function XC(){hu=window.event,bp()}function bp(){kf=iy=oy=!1;var e=0;Ti!==0&&WC()&&(e=Ti);for(var t=Ht(),n=null,a=Bf;a!==null;){var s=a.next,r=tS(a,t);r===0?(a.next=null,n===null?Bf=s:n.next=s,s===null&&(Rr=n)):(n=a,(e!==0||(r&3)!==0)&&(kf=!0)),a=s}zt!==bi&&zt!==Vf||ml(e),Ti!==0&&(Ti=0)}function tS(e,t){for(var n=e.suspendedLanes,a=e.pingedLanes,s=e.expirationTimes,r=e.pendingLanes&-62914561;0<r;){var c=31-an(r),d=1<<c,y=s[c];y===-1?((d&n)===0||(d&a)!==0)&&(s[c]=As(d,t)):y<=t&&(e.expiredLanes|=d),r&=~d}if(t=nt,n=Ve,n=ao(e,e===t?n:0,e.cancelPendingCommit!==null||e.timeoutHandle!==gs),a=e.callbackNode,n===0||e===t&&(Fe===cs||Fe===fs)||e.cancelPendingCommit!==null)return a!==null&&Sp(a),e.callbackNode=null,e.callbackPriority=0;if((n&3)===0||Hn(e,n)){if(t=n&-n,t!==e.callbackPriority||Y.actQueue!==null&&a!==ry)Sp(a);else return t;switch(We(n)){case Pn:case Xa:n=nm;break;case vo:n=Zs;break;case Kc:n=am;break;default:n=Zs}return a=nS.bind(null,e),Y.actQueue!==null?(Y.actQueue.push(a),n=ry):n=em(n,a),e.callbackPriority=t,e.callbackNode=n,t}return a!==null&&Sp(a),e.callbackPriority=2,e.callbackNode=null,2}function nS(e,t){if(gf=yf=!1,hu=window.event,zt!==bi&&zt!==Vf)return e.callbackNode=null,e.callbackPriority=0,null;var n=e.callbackNode;if(va===Nf&&(va=Km),hl()&&e.callbackNode!==n)return null;var a=Ve;return a=ao(e,e===nt?a:0,e.cancelPendingCommit!==null||e.timeoutHandle!==gs),a===0?null:(Vb(e,a,t),tS(e,Ht()),e.callbackNode!=null&&e.callbackNode===n?nS.bind(null,e):null)}function aS(e,t){if(hl())return null;yf=gf,gf=!1,Vb(e,t,!0)}function Sp(e){e!==ry&&e!==null&&UD(e)}function oS(){Y.actQueue!==null&&Y.actQueue.push(function(){return bp(),null}),vO(function(){($e&(Lt|Un))!==Gt?em(tm,XC):bp()})}function Tp(){if(Ti===0){var e=as;e===0&&(e=Ic,Ic<<=1,(Ic&261888)===0&&(Ic=256)),Ti=e}return Ti}function iS(e){return e==null||typeof e=="symbol"||typeof e=="boolean"?null:typeof e=="function"?e:(Qe(e,"action"),Qr(""+e))}function sS(e,t){var n=t.ownerDocument.createElement("input");return n.name=t.name,n.value=t.value,e.id&&n.setAttribute("form",e.id),t.parentNode.insertBefore(n,t),e=new FormData(e),n.parentNode.removeChild(n),e}function QC(e,t,n,a,s){if(t==="submit"&&n&&n.stateNode===s){var r=iS((s[on]||null).action),c=a.submitter;c&&(t=(t=c[on]||null)?iS(t.formAction):c.getAttribute("formAction"),t!==null&&(r=t,c=null));var d=new af("action","action",null,a,s);e.push({event:d,listeners:[{instance:null,listener:function(){if(a.defaultPrevented){if(Ti!==0){var y=c?sS(s,c):new FormData(s),b={pending:!0,data:y,method:s.method,action:r};Object.freeze(b),Yh(n,b,null,y)}}else typeof r=="function"&&(d.preventDefault(),y=c?sS(s,c):new FormData(s),b={pending:!0,data:y,method:s.method,action:r},Object.freeze(b),Yh(n,b,r,y))},currentTarget:s}]})}}function Vc(e,t,n){e.currentTarget=n;try{t(e)}catch(a){bm(a)}e.currentTarget=null}function rS(e,t){t=(t&4)!==0;for(var n=0;n<e.length;n++){var a=e[n];e:{var s=void 0,r=a.event;if(a=a.listeners,t)for(var c=a.length-1;0<=c;c--){var d=a[c],y=d.instance,b=d.currentTarget;if(d=d.listener,y!==s&&r.isPropagationStopped())break e;y!==null?ue(y,Vc,r,d,b):Vc(r,d,b),s=y}else for(c=0;c<a.length;c++){if(d=a[c],y=d.instance,b=d.currentTarget,d=d.listener,y!==s&&r.isPropagationStopped())break e;y!==null?ue(y,Vc,r,d,b):Vc(r,d,b),s=y}}}}function He(e,t){ly.has(e)||console.error('Did not expect a listenToNonDelegatedEvent() call for "%s". This is a bug in React. Please file an issue.',e);var n=t[om];n===void 0&&(n=t[om]=new Set);var a=e+"__bubble";n.has(a)||(lS(t,e,2,!1),n.add(a))}function Ep(e,t,n){ly.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 a=0;t&&(a|=4),lS(n,e,a,t)}function xp(e){if(!e[Hf]){e[Hf]=!0,o1.forEach(function(n){n!=="selectionchange"&&(ly.has(n)||Ep(n,!1,e),Ep(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[Hf]||(t[Hf]=!0,Ep("selectionchange",!1,t))}}function lS(e,t,n,a){switch(YS(t)){case Pn:var s=CD;break;case Xa:s=DD;break;default:s=kp}n=s.bind(null,t,n,e),s=void 0,!um||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(s=!0),a?s!==void 0?e.addEventListener(t,n,{capture:!0,passive:s}):e.addEventListener(t,n,!0):s!==void 0?e.addEventListener(t,n,{passive:s}):e.addEventListener(t,n,!1)}function wp(e,t,n,a,s){var r=a;if((t&1)===0&&(t&2)===0&&a!==null)e:for(;;){if(a===null)return;var c=a.tag;if(c===3||c===4){var d=a.stateNode.containerInfo;if(d===s)break;if(c===4)for(c=a.return;c!==null;){var y=c.tag;if((y===3||y===4)&&c.stateNode.containerInfo===s)return;c=c.return}for(;d!==null;){if(c=W(d),c===null)return;if(y=c.tag,y===5||y===6||y===26||y===27){a=r=c;continue e}d=d.parentNode}}a=a.return}bv(function(){var b=r,z=$d(n),N=[];e:{var D=Y1.get(e);if(D!==void 0){var k=af,oe=e;switch(e){case"keypress":if(Gu(n)===0)break e;case"keydown":case"keyup":k=xM;break;case"focusin":oe="focus",k=hm;break;case"focusout":oe="blur",k=hm;break;case"beforeblur":case"afterblur":k=hm;break;case"click":if(n.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":k=C1;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":k=fM;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":k=AM;break;case L1:case B1:case k1:k=pM;break;case H1:k=DM;break;case"scroll":case"scrollend":k=uM;break;case"wheel":k=OM;break;case"copy":case"cut":case"paste":k=yM;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":k=M1;break;case"toggle":case"beforetoggle":k=jM}var ce=(t&4)!==0,ot=!ce&&(e==="scroll"||e==="scrollend"),qe=ce?D!==null?D+"Capture":null:D;ce=[];for(var R=b,M;R!==null;){var _=R;if(M=_.stateNode,_=_.tag,_!==5&&_!==26&&_!==27||M===null||qe===null||(_=Zr(R,qe),_!=null&&ce.push(yl(R,_,M))),ot)break;R=R.return}0<ce.length&&(D=new k(D,oe,null,n,z),N.push({event:D,listeners:ce}))}}if((t&7)===0){e:{if(D=e==="mouseover"||e==="pointerover",k=e==="mouseout"||e==="pointerout",D&&n!==Cl&&(oe=n.relatedTarget||n.fromElement)&&(W(oe)||oe[ai]))break e;if((k||D)&&(D=z.window===z?z:(D=z.ownerDocument)?D.defaultView||D.parentWindow:window,k?(oe=n.relatedTarget||n.toElement,k=b,oe=oe?W(oe):null,oe!==null&&(ot=B(oe),ce=oe.tag,oe!==ot||ce!==5&&ce!==27&&ce!==6)&&(oe=null)):(k=null,oe=b),k!==oe)){if(ce=C1,_="onMouseLeave",qe="onMouseEnter",R="mouse",(e==="pointerout"||e==="pointerover")&&(ce=M1,_="onPointerLeave",qe="onPointerEnter",R="pointer"),ot=k==null?D:me(k),M=oe==null?D:me(oe),D=new ce(_,R+"leave",k,n,z),D.target=ot,D.relatedTarget=M,_=null,W(z)===b&&(ce=new ce(qe,R+"enter",oe,n,z),ce.target=M,ce.relatedTarget=ot,_=ce),ot=_,k&&oe)t:{for(ce=ZC,qe=k,R=oe,M=0,_=qe;_;_=ce(_))M++;_=0;for(var $=R;$;$=ce($))_++;for(;0<M-_;)qe=ce(qe),M--;for(;0<_-M;)R=ce(R),_--;for(;M--;){if(qe===R||R!==null&&qe===R.alternate){ce=qe;break t}qe=ce(qe),R=ce(R)}ce=null}else ce=null;k!==null&&uS(N,D,k,ce,!1),oe!==null&&ot!==null&&uS(N,ot,oe,ce,!0)}}e:{if(D=b?me(b):window,k=D.nodeName&&D.nodeName.toLowerCase(),k==="select"||k==="input"&&D.type==="file")var re=Av;else if(wv(D))if(V1)re=sC;else{re=oC;var Ce=aC}else k=D.nodeName,!k||k.toLowerCase()!=="input"||D.type!=="checkbox"&&D.type!=="radio"?b&&Xr(b.elementType)&&(re=Av):re=iC;if(re&&(re=re(e,b))){Rv(N,re,n,z);break e}Ce&&Ce(e,D,b),e==="focusout"&&b&&D.type==="number"&&b.memoizedProps.value!=null&&kd(D,"number",D.value)}switch(Ce=b?me(b):window,e){case"focusin":(wv(Ce)||Ce.contentEditable==="true")&&(nr=Ce,mm=b,Nl=null);break;case"focusout":Nl=mm=nr=null;break;case"mousedown":ym=!0;break;case"contextmenu":case"mouseup":case"dragend":ym=!1,zv(N,n,z);break;case"selectionchange":if(UM)break;case"keydown":case"keyup":zv(N,n,z)}var Te;if(pm)e:{switch(e){case"compositionstart":var ye="onCompositionStart";break e;case"compositionend":ye="onCompositionEnd";break e;case"compositionupdate":ye="onCompositionUpdate";break e}ye=void 0}else tr?Ev(e,n)&&(ye="onCompositionEnd"):e==="keydown"&&n.keyCode===O1&&(ye="onCompositionStart");ye&&(_1&&n.locale!=="ko"&&(tr||ye!=="onCompositionStart"?ye==="onCompositionEnd"&&tr&&(Te=Sv()):(oi=z,cm="value"in oi?oi.value:oi.textContent,tr=!0)),Ce=Uc(b,ye),0<Ce.length&&(ye=new D1(ye,e,null,n,z),N.push({event:ye,listeners:Ce}),Te?ye.data=Te:(Te=xv(n),Te!==null&&(ye.data=Te)))),(Te=NM?WA(e,n):eC(e,n))&&(ye=Uc(b,"onBeforeInput"),0<ye.length&&(Ce=new vM("onBeforeInput","beforeinput",null,n,z),N.push({event:Ce,listeners:ye}),Ce.data=Te)),QC(N,e,b,n,z)}rS(N,t)})}function yl(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Uc(e,t){for(var n=t+"Capture",a=[];e!==null;){var s=e,r=s.stateNode;if(s=s.tag,s!==5&&s!==26&&s!==27||r===null||(s=Zr(e,n),s!=null&&a.unshift(yl(e,s,r)),s=Zr(e,t),s!=null&&a.push(yl(e,s,r))),e.tag===3)return a;e=e.return}return[]}function ZC(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function uS(e,t,n,a,s){for(var r=t._reactName,c=[];n!==null&&n!==a;){var d=n,y=d.alternate,b=d.stateNode;if(d=d.tag,y!==null&&y===a)break;d!==5&&d!==26&&d!==27||b===null||(y=b,s?(b=Zr(n,r),b!=null&&c.unshift(yl(n,b,y))):s||(b=Zr(n,r),b!=null&&c.push(yl(n,b,y)))),n=n.return}c.length!==0&&e.push({event:t,listeners:c})}function Rp(e,t){IA(e,t),e!=="input"&&e!=="textarea"&&e!=="select"||t==null||t.value!==null||R1||(R1=!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 n={registrationNameDependencies:Ji,possibleRegistrationNames:im};Xr(e)||typeof t.is=="string"||FA(e,t,n),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 kt(e,t,n,a){t!==n&&(n=Ko(n),Ko(t)!==n&&(a[e]=t))}function IC(e,t,n){t.forEach(function(a){n[dS(a)]=a==="style"?Cp(e):e.getAttribute(a)})}function Ha(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 cS(e,t){return e=e.namespaceURI===ef||e.namespaceURI===Fs?e.ownerDocument.createElementNS(e.namespaceURI,e.tagName):e.ownerDocument.createElement(e.tagName),e.innerHTML=t,e.innerHTML}function Ko(e){return no(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.",xa(e)),Bn(e)),(typeof e=="string"?e:""+e).replace(uO,`
221
+ `).replace(cO,"")}function fS(e,t){return t=Ko(t),Ko(e)===t}function et(e,t,n,a,s,r){switch(n){case"children":typeof a=="string"?(qu(a,t,!1),t==="body"||t==="textarea"&&a===""||$r(e,a)):(typeof a=="number"||typeof a=="bigint")&&(qu(""+a,t,!1),t!=="body"&&$r(e,""+a));break;case"className":ku(e,"class",a);break;case"tabIndex":ku(e,"tabindex",a);break;case"dir":case"role":case"viewBox":case"width":case"height":ku(e,n,a);break;case"style":yv(e,a,r);break;case"data":if(t!=="object"){ku(e,"data",a);break}case"src":case"href":if(a===""&&(t!=="a"||n!=="href")){console.error(n==="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.',n,n),e.removeAttribute(n);break}if(a==null||typeof a=="function"||typeof a=="symbol"||typeof a=="boolean"){e.removeAttribute(n);break}Qe(a,n),a=Qr(""+a),e.setAttribute(n,a);break;case"action":case"formAction":if(a!=null&&(t==="form"?n==="formAction"?console.error("You can only pass the formAction prop to <input> or <button>. Use the action prop on <form>."):typeof a=="function"&&(s.encType==null&&s.method==null||Gf||(Gf=!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.")),s.target==null||qf||(qf=!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"?n==="action"?console.error("You can only pass the action prop to <form>. Use the formAction prop on <input> or <button>."):t!=="input"||s.type==="submit"||s.type==="image"||Yf?t!=="button"||s.type==null||s.type==="submit"||Yf?typeof a=="function"&&(s.name==null||cE||(cE=!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.')),s.formEncType==null&&s.formMethod==null||Gf||(Gf=!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.")),s.formTarget==null||qf||(qf=!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."))):(Yf=!0,console.error('A button can only specify a formAction along with type="submit" or no type.')):(Yf=!0,console.error('An input can only specify a formAction along with type="submit" or type="image".')):console.error(n==="action"?"You can only pass the action prop to <form>.":"You can only pass the formAction prop to <input> or <button>.")),typeof a=="function"){e.setAttribute(n,"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 r=="function"&&(n==="formAction"?(t!=="input"&&et(e,t,"name",s.name,s,null),et(e,t,"formEncType",s.formEncType,s,null),et(e,t,"formMethod",s.formMethod,s,null),et(e,t,"formTarget",s.formTarget,s,null)):(et(e,t,"encType",s.encType,s,null),et(e,t,"method",s.method,s,null),et(e,t,"target",s.target,s,null)));if(a==null||typeof a=="symbol"||typeof a=="boolean"){e.removeAttribute(n);break}Qe(a,n),a=Qr(""+a),e.setAttribute(n,a);break;case"onClick":a!=null&&(typeof a!="function"&&Ha(n,a),e.onclick=lo);break;case"onScroll":a!=null&&(typeof a!="function"&&Ha(n,a),He("scroll",e));break;case"onScrollEnd":a!=null&&(typeof a!="function"&&Ha(n,a),He("scrollend",e));break;case"dangerouslySetInnerHTML":if(a!=null){if(typeof a!="object"||!("__html"in a))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information.");if(n=a.__html,n!=null){if(s.children!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");e.innerHTML=n}}break;case"multiple":e.multiple=a&&typeof a!="function"&&typeof a!="symbol";break;case"muted":e.muted=a&&typeof a!="function"&&typeof a!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(a==null||typeof a=="function"||typeof a=="boolean"||typeof a=="symbol"){e.removeAttribute("xlink:href");break}Qe(a,n),n=Qr(""+a),e.setAttributeNS(ps,"xlink:href",n);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":a!=null&&typeof a!="function"&&typeof a!="symbol"?(Qe(a,n),e.setAttribute(n,""+a)):e.removeAttribute(n);break;case"inert":a!==""||Pf[n]||(Pf[n]=!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.",n));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":a&&typeof a!="function"&&typeof a!="symbol"?e.setAttribute(n,""):e.removeAttribute(n);break;case"capture":case"download":a===!0?e.setAttribute(n,""):a!==!1&&a!=null&&typeof a!="function"&&typeof a!="symbol"?(Qe(a,n),e.setAttribute(n,a)):e.removeAttribute(n);break;case"cols":case"rows":case"size":case"span":a!=null&&typeof a!="function"&&typeof a!="symbol"&&!isNaN(a)&&1<=a?(Qe(a,n),e.setAttribute(n,a)):e.removeAttribute(n);break;case"rowSpan":case"start":a==null||typeof a=="function"||typeof a=="symbol"||isNaN(a)?e.removeAttribute(n):(Qe(a,n),e.setAttribute(n,a));break;case"popover":He("beforetoggle",e),He("toggle",e),Cs(e,"popover",a);break;case"xlinkActuate":ro(e,ps,"xlink:actuate",a);break;case"xlinkArcrole":ro(e,ps,"xlink:arcrole",a);break;case"xlinkRole":ro(e,ps,"xlink:role",a);break;case"xlinkShow":ro(e,ps,"xlink:show",a);break;case"xlinkTitle":ro(e,ps,"xlink:title",a);break;case"xlinkType":ro(e,ps,"xlink:type",a);break;case"xmlBase":ro(e,uy,"xml:base",a);break;case"xmlLang":ro(e,uy,"xml:lang",a);break;case"xmlSpace":ro(e,uy,"xml:space",a);break;case"is":r!=null&&console.error('Cannot update the "is" prop after it has been initialized.'),Cs(e,"is",a);break;case"innerText":case"textContent":break;case"popoverTarget":fE||a==null||typeof a!="object"||(fE=!0,console.error("The `popoverTarget` prop expects the ID of an Element as a string. Received %s instead.",a));default:!(2<n.length)||n[0]!=="o"&&n[0]!=="O"||n[1]!=="n"&&n[1]!=="N"?(n=gv(n),Cs(e,n,a)):Ji.hasOwnProperty(n)&&a!=null&&typeof a!="function"&&Ha(n,a)}}function Ap(e,t,n,a,s,r){switch(n){case"style":yv(e,a,r);break;case"dangerouslySetInnerHTML":if(a!=null){if(typeof a!="object"||!("__html"in a))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information.");if(n=a.__html,n!=null){if(s.children!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");e.innerHTML=n}}break;case"children":typeof a=="string"?$r(e,a):(typeof a=="number"||typeof a=="bigint")&&$r(e,""+a);break;case"onScroll":a!=null&&(typeof a!="function"&&Ha(n,a),He("scroll",e));break;case"onScrollEnd":a!=null&&(typeof a!="function"&&Ha(n,a),He("scrollend",e));break;case"onClick":a!=null&&(typeof a!="function"&&Ha(n,a),e.onclick=lo);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(Ji.hasOwnProperty(n))a!=null&&typeof a!="function"&&Ha(n,a);else e:{if(n[0]==="o"&&n[1]==="n"&&(s=n.endsWith("Capture"),t=n.slice(2,s?n.length-7:void 0),r=e[on]||null,r=r!=null?r[n]:null,typeof r=="function"&&e.removeEventListener(t,r,s),typeof a=="function")){typeof r!="function"&&r!==null&&(n in e?e[n]=null:e.hasAttribute(n)&&e.removeAttribute(n)),e.addEventListener(t,a,s);break e}n in e?e[n]=a:a===!0?e.setAttribute(n,""):Cs(e,n,a)}}}function Xt(e,t,n){switch(Rp(t,n),t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":He("error",e),He("load",e);var a=!1,s=!1,r;for(r in n)if(n.hasOwnProperty(r)){var c=n[r];if(c!=null)switch(r){case"src":a=!0;break;case"srcSet":s=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:et(e,t,r,c,n,null)}}s&&et(e,t,"srcSet",n.srcSet,n,null),a&&et(e,t,"src",n.src,n,null);return;case"input":tn("input",n),He("invalid",e);var d=r=c=s=null,y=null,b=null;for(a in n)if(n.hasOwnProperty(a)){var z=n[a];if(z!=null)switch(a){case"name":s=z;break;case"type":c=z;break;case"checked":y=z;break;case"defaultChecked":b=z;break;case"value":r=z;break;case"defaultValue":d=z;break;case"children":case"dangerouslySetInnerHTML":if(z!=null)throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:et(e,t,a,z,n,null)}}ev(e,n),tv(e,r,d,y,b,c,s,!1);return;case"select":tn("select",n),He("invalid",e),a=c=r=null;for(s in n)if(n.hasOwnProperty(s)&&(d=n[s],d!=null))switch(s){case"value":r=d;break;case"defaultValue":c=d;break;case"multiple":a=d;default:et(e,t,s,d,n,null)}ov(e,n),t=r,n=c,e.multiple=!!a,t!=null?Ds(e,!!a,t,!1):n!=null&&Ds(e,!!a,n,!0);return;case"textarea":tn("textarea",n),He("invalid",e),r=s=a=null;for(c in n)if(n.hasOwnProperty(c)&&(d=n[c],d!=null))switch(c){case"value":a=d;break;case"defaultValue":s=d;break;case"children":r=d;break;case"dangerouslySetInnerHTML":if(d!=null)throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");break;default:et(e,t,c,d,n,null)}iv(e,n),rv(e,a,s,r);return;case"option":nv(e,n);for(y in n)if(n.hasOwnProperty(y)&&(a=n[y],a!=null))switch(y){case"selected":e.selected=a&&typeof a!="function"&&typeof a!="symbol";break;default:et(e,t,y,a,n,null)}return;case"dialog":He("beforetoggle",e),He("toggle",e),He("cancel",e),He("close",e);break;case"iframe":case"object":He("load",e);break;case"video":case"audio":for(a=0;a<cu.length;a++)He(cu[a],e);break;case"image":He("error",e),He("load",e);break;case"details":He("toggle",e);break;case"embed":case"source":case"link":He("error",e),He("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(b in n)if(n.hasOwnProperty(b)&&(a=n[b],a!=null))switch(b){case"children":case"dangerouslySetInnerHTML":throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:et(e,t,b,a,n,null)}return;default:if(Xr(t)){for(z in n)n.hasOwnProperty(z)&&(a=n[z],a!==void 0&&Ap(e,t,z,a,n,void 0));return}}for(d in n)n.hasOwnProperty(d)&&(a=n[d],a!=null&&et(e,t,d,a,n,null))}function JC(e,t,n,a){switch(Rp(t,a),t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var s=null,r=null,c=null,d=null,y=null,b=null,z=null;for(k in n){var N=n[k];if(n.hasOwnProperty(k)&&N!=null)switch(k){case"checked":break;case"value":break;case"defaultValue":y=N;default:a.hasOwnProperty(k)||et(e,t,k,null,a,N)}}for(var D in a){var k=a[D];if(N=n[D],a.hasOwnProperty(D)&&(k!=null||N!=null))switch(D){case"type":r=k;break;case"name":s=k;break;case"checked":b=k;break;case"defaultChecked":z=k;break;case"value":c=k;break;case"defaultValue":d=k;break;case"children":case"dangerouslySetInnerHTML":if(k!=null)throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:k!==N&&et(e,t,D,k,a,N)}}t=n.type==="checkbox"||n.type==="radio"?n.checked!=null:n.value!=null,a=a.type==="checkbox"||a.type==="radio"?a.checked!=null:a.value!=null,t||!a||uE||(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"),uE=!0),!t||a||lE||(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"),lE=!0),Bd(e,c,d,y,b,z,r,s);return;case"select":k=c=d=D=null;for(r in n)if(y=n[r],n.hasOwnProperty(r)&&y!=null)switch(r){case"value":break;case"multiple":k=y;default:a.hasOwnProperty(r)||et(e,t,r,null,a,y)}for(s in a)if(r=a[s],y=n[s],a.hasOwnProperty(s)&&(r!=null||y!=null))switch(s){case"value":D=r;break;case"defaultValue":d=r;break;case"multiple":c=r;default:r!==y&&et(e,t,s,r,a,y)}a=d,t=c,n=k,D!=null?Ds(e,!!t,D,!1):!!n!=!!t&&(a!=null?Ds(e,!!t,a,!0):Ds(e,!!t,t?[]:"",!1));return;case"textarea":k=D=null;for(d in n)if(s=n[d],n.hasOwnProperty(d)&&s!=null&&!a.hasOwnProperty(d))switch(d){case"value":break;case"children":break;default:et(e,t,d,null,a,s)}for(c in a)if(s=a[c],r=n[c],a.hasOwnProperty(c)&&(s!=null||r!=null))switch(c){case"value":D=s;break;case"defaultValue":k=s;break;case"children":break;case"dangerouslySetInnerHTML":if(s!=null)throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");break;default:s!==r&&et(e,t,c,s,a,r)}sv(e,D,k);return;case"option":for(var oe in n)if(D=n[oe],n.hasOwnProperty(oe)&&D!=null&&!a.hasOwnProperty(oe))switch(oe){case"selected":e.selected=!1;break;default:et(e,t,oe,null,a,D)}for(y in a)if(D=a[y],k=n[y],a.hasOwnProperty(y)&&D!==k&&(D!=null||k!=null))switch(y){case"selected":e.selected=D&&typeof D!="function"&&typeof D!="symbol";break;default:et(e,t,y,D,a,k)}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 ce in n)D=n[ce],n.hasOwnProperty(ce)&&D!=null&&!a.hasOwnProperty(ce)&&et(e,t,ce,null,a,D);for(b in a)if(D=a[b],k=n[b],a.hasOwnProperty(b)&&D!==k&&(D!=null||k!=null))switch(b){case"children":case"dangerouslySetInnerHTML":if(D!=null)throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:et(e,t,b,D,a,k)}return;default:if(Xr(t)){for(var ot in n)D=n[ot],n.hasOwnProperty(ot)&&D!==void 0&&!a.hasOwnProperty(ot)&&Ap(e,t,ot,void 0,a,D);for(z in a)D=a[z],k=n[z],!a.hasOwnProperty(z)||D===k||D===void 0&&k===void 0||Ap(e,t,z,D,a,k);return}}for(var qe in n)D=n[qe],n.hasOwnProperty(qe)&&D!=null&&!a.hasOwnProperty(qe)&&et(e,t,qe,null,a,D);for(N in a)D=a[N],k=n[N],!a.hasOwnProperty(N)||D===k||D==null&&k==null||et(e,t,N,D,a,k)}function dS(e){switch(e){case"class":return"className";case"for":return"htmlFor";default:return e}}function Cp(e){var t={};e=e.style;for(var n=0;n<e.length;n++){var a=e[n];t[a]=e.getPropertyValue(a)}return t}function hS(e,t,n){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 a,s=a="",r;for(r in t)if(t.hasOwnProperty(r)){var c=t[r];c!=null&&typeof c!="boolean"&&c!==""&&(r.indexOf("--")===0?(Rt(c,r),a+=s+r+":"+(""+c).trim()):typeof c!="number"||c===0||x1.has(r)?(Rt(c,r),a+=s+r.replace(v1,"-$1").toLowerCase().replace(b1,"-ms-")+":"+(""+c).trim()):a+=s+r.replace(v1,"-$1").toLowerCase().replace(b1,"-ms-")+":"+c+"px",s=";")}a=a||null,t=e.getAttribute("style"),t!==a&&(a=Ko(a),Ko(t)!==a&&(n.style=Cp(e)))}}function Gn(e,t,n,a,s,r){if(s.delete(n),e=e.getAttribute(n),e===null)switch(typeof a){case"undefined":case"function":case"symbol":case"boolean":return}else if(a!=null)switch(typeof a){case"function":case"symbol":case"boolean":break;default:if(Qe(a,t),e===""+a)return}kt(t,e,a,r)}function pS(e,t,n,a,s,r){if(s.delete(n),e=e.getAttribute(n),e===null){switch(typeof a){case"function":case"symbol":return}if(!a)return}else switch(typeof a){case"function":case"symbol":break;default:if(a)return}kt(t,e,a,r)}function Dp(e,t,n,a,s,r){if(s.delete(n),e=e.getAttribute(n),e===null)switch(typeof a){case"undefined":case"function":case"symbol":return}else if(a!=null)switch(typeof a){case"function":case"symbol":break;default:if(Qe(a,n),e===""+a)return}kt(t,e,a,r)}function mS(e,t,n,a,s,r){if(s.delete(n),e=e.getAttribute(n),e===null)switch(typeof a){case"undefined":case"function":case"symbol":case"boolean":return;default:if(isNaN(a))return}else if(a!=null)switch(typeof a){case"function":case"symbol":case"boolean":break;default:if(!isNaN(a)&&(Qe(a,t),e===""+a))return}kt(t,e,a,r)}function Mp(e,t,n,a,s,r){if(s.delete(n),e=e.getAttribute(n),e===null)switch(typeof a){case"undefined":case"function":case"symbol":case"boolean":return}else if(a!=null)switch(typeof a){case"function":case"symbol":case"boolean":break;default:if(Qe(a,t),n=Qr(""+a),e===n)return}kt(t,e,a,r)}function yS(e,t,n,a){for(var s={},r=new Set,c=e.attributes,d=0;d<c.length;d++)switch(c[d].name.toLowerCase()){case"value":break;case"checked":break;case"selected":break;default:r.add(c[d].name)}if(Xr(t)){for(var y in n)if(n.hasOwnProperty(y)){var b=n[y];if(b!=null){if(Ji.hasOwnProperty(y))typeof b!="function"&&Ha(y,b);else if(n.suppressHydrationWarning!==!0)switch(y){case"children":typeof b!="string"&&typeof b!="number"||kt("children",e.textContent,b,s);continue;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":continue;case"dangerouslySetInnerHTML":c=e.innerHTML,b=b?b.__html:void 0,b!=null&&(b=cS(e,b),kt(y,c,b,s));continue;case"style":r.delete(y),hS(e,b,s);continue;case"offsetParent":case"offsetTop":case"offsetLeft":case"offsetWidth":case"offsetHeight":case"isContentEditable":case"outerText":case"outerHTML":r.delete(y.toLowerCase()),console.error("Assignment to read-only property will result in a no-op: `%s`",y);continue;case"className":r.delete("class"),c=Bu(e,"class",b),kt("className",c,b,s);continue;default:a.context===jo&&t!=="svg"&&t!=="math"?r.delete(y.toLowerCase()):r.delete(y),c=Bu(e,y,b),kt(y,c,b,s)}}}}else for(b in n)if(n.hasOwnProperty(b)&&(y=n[b],y!=null)){if(Ji.hasOwnProperty(b))typeof y!="function"&&Ha(b,y);else if(n.suppressHydrationWarning!==!0)switch(b){case"children":typeof y!="string"&&typeof y!="number"||kt("children",e.textContent,y,s);continue;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"value":case"checked":case"selected":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":continue;case"dangerouslySetInnerHTML":c=e.innerHTML,y=y?y.__html:void 0,y!=null&&(y=cS(e,y),c!==y&&(s[b]={__html:c}));continue;case"className":Gn(e,b,"class",y,r,s);continue;case"tabIndex":Gn(e,b,"tabindex",y,r,s);continue;case"style":r.delete(b),hS(e,y,s);continue;case"multiple":r.delete(b),kt(b,e.multiple,y,s);continue;case"muted":r.delete(b),kt(b,e.muted,y,s);continue;case"autoFocus":r.delete("autofocus"),kt(b,e.autofocus,y,s);continue;case"data":if(t!=="object"){r.delete(b),c=e.getAttribute("data"),kt(b,c,y,s);continue}case"src":case"href":if(!(y!==""||t==="a"&&b==="href"||t==="object"&&b==="data")){console.error(b==="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.',b,b);continue}Mp(e,b,b,y,r,s);continue;case"action":case"formAction":if(c=e.getAttribute(b),typeof y=="function"){r.delete(b.toLowerCase()),b==="formAction"?(r.delete("name"),r.delete("formenctype"),r.delete("formmethod"),r.delete("formtarget")):(r.delete("enctype"),r.delete("method"),r.delete("target"));continue}else if(c===fO){r.delete(b.toLowerCase()),kt(b,"function",y,s);continue}Mp(e,b,b.toLowerCase(),y,r,s);continue;case"xlinkHref":Mp(e,b,"xlink:href",y,r,s);continue;case"contentEditable":Dp(e,b,"contenteditable",y,r,s);continue;case"spellCheck":Dp(e,b,"spellcheck",y,r,s);continue;case"draggable":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":Dp(e,b,b,y,r,s);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":pS(e,b,b.toLowerCase(),y,r,s);continue;case"capture":case"download":e:{d=e;var z=c=b,N=s;if(r.delete(z),d=d.getAttribute(z),d===null)switch(typeof y){case"undefined":case"function":case"symbol":break e;default:if(y===!1)break e}else if(y!=null)switch(typeof y){case"function":case"symbol":break;case"boolean":if(y===!0&&d==="")break e;break;default:if(Qe(y,c),d===""+y)break e}kt(c,d,y,N)}continue;case"cols":case"rows":case"size":case"span":e:{if(d=e,z=c=b,N=s,r.delete(z),d=d.getAttribute(z),d===null)switch(typeof y){case"undefined":case"function":case"symbol":case"boolean":break e;default:if(isNaN(y)||1>y)break e}else if(y!=null)switch(typeof y){case"function":case"symbol":case"boolean":break;default:if(!(isNaN(y)||1>y)&&(Qe(y,c),d===""+y))break e}kt(c,d,y,N)}continue;case"rowSpan":mS(e,b,"rowspan",y,r,s);continue;case"start":mS(e,b,b,y,r,s);continue;case"xHeight":Gn(e,b,"x-height",y,r,s);continue;case"xlinkActuate":Gn(e,b,"xlink:actuate",y,r,s);continue;case"xlinkArcrole":Gn(e,b,"xlink:arcrole",y,r,s);continue;case"xlinkRole":Gn(e,b,"xlink:role",y,r,s);continue;case"xlinkShow":Gn(e,b,"xlink:show",y,r,s);continue;case"xlinkTitle":Gn(e,b,"xlink:title",y,r,s);continue;case"xlinkType":Gn(e,b,"xlink:type",y,r,s);continue;case"xmlBase":Gn(e,b,"xml:base",y,r,s);continue;case"xmlLang":Gn(e,b,"xml:lang",y,r,s);continue;case"xmlSpace":Gn(e,b,"xml:space",y,r,s);continue;case"inert":y!==""||Pf[b]||(Pf[b]=!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.",b)),pS(e,b,b,y,r,s);continue;default:if(!(2<b.length)||b[0]!=="o"&&b[0]!=="O"||b[1]!=="n"&&b[1]!=="N"){d=gv(b),c=!1,a.context===jo&&t!=="svg"&&t!=="math"?r.delete(d.toLowerCase()):(z=b.toLowerCase(),z=tf.hasOwnProperty(z)&&tf[z]||null,z!==null&&z!==b&&(c=!0,r.delete(z)),r.delete(d));e:if(z=e,N=d,d=y,wa(N))if(z.hasAttribute(N))z=z.getAttribute(N),Qe(d,N),d=z===""+d?d:z;else{switch(typeof d){case"function":case"symbol":break e;case"boolean":if(z=N.toLowerCase().slice(0,5),z!=="data-"&&z!=="aria-")break e}d=d===void 0?void 0:null}else d=void 0;c||kt(b,d,y,s)}}}return 0<r.size&&n.suppressHydrationWarning!==!0&&IC(e,r,s),Object.keys(s).length===0?null:s}function FC(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 gS(e){switch(e){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function KC(){if(typeof performance.getEntriesByType=="function"){for(var e=0,t=0,n=performance.getEntriesByType("resource"),a=0;a<n.length;a++){var s=n[a],r=s.transferSize,c=s.initiatorType,d=s.duration;if(r&&d&&gS(c)){for(c=0,d=s.responseEnd,a+=1;a<n.length;a++){var y=n[a],b=y.startTime;if(b>d)break;var z=y.transferSize,N=y.initiatorType;z&&gS(N)&&(y=y.responseEnd,c+=z*(y<d?1:(d-b)/(y-b)))}if(--a,t+=8*(r+c)/(s.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 Lc(e){return e.nodeType===9?e:e.ownerDocument}function vS(e){switch(e){case Fs:return Cr;case ef:return Xf;default:return jo}}function bS(e,t){if(e===jo)switch(t){case"svg":return Cr;case"math":return Xf;default:return jo}return e===Cr&&t==="foreignObject"?jo:e}function Op(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 WC(){var e=window.event;return e&&e.type==="popstate"?e===hy?!1:(hy=e,!0):(hy=null,!1)}function gl(){var e=window.event;return e&&e!==hu?e.type:null}function vl(){var e=window.event;return e&&e!==hu?e.timeStamp:-1.1}function eD(e){setTimeout(function(){throw e})}function tD(e,t,n){switch(t){case"button":case"input":case"select":case"textarea":n.autoFocus&&e.focus();break;case"img":n.src?e.src=n.src:n.srcSet&&(e.srcset=n.srcSet)}}function nD(){}function aD(e,t,n,a){JC(e,t,n,a),e[on]=a}function SS(e){$r(e,"")}function oD(e,t,n){e.nodeValue=n}function TS(e){if(!e.__reactWarnedAboutChildrenConflict){var t=e[on]||null;if(t!==null){var n=ae(e);n!==null&&(typeof t.children=="string"||typeof t.children=="number"?(e.__reactWarnedAboutChildrenConflict=!0,ue(n,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,ue(n,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 Wo(e){return e==="head"}function iD(e,t){e.removeChild(t)}function sD(e,t){(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e).removeChild(t)}function ES(e,t){var n=t,a=0;do{var s=n.nextSibling;if(e.removeChild(n),s&&s.nodeType===8)if(n=s.data,n===du||n===$f){if(a===0){e.removeChild(s),$s(t);return}a--}else if(n===fu||n===Ei||n===ys||n===Ar||n===ms)a++;else if(n===hO)bl(e.ownerDocument.documentElement);else if(n===mO){n=e.ownerDocument.head,bl(n);for(var r=n.firstChild;r;){var c=r.nextSibling,d=r.nodeName;r[Al]||d==="SCRIPT"||d==="STYLE"||d==="LINK"&&r.rel.toLowerCase()==="stylesheet"||n.removeChild(r),r=c}}else n===pO&&bl(e.ownerDocument.body);n=s}while(n);$s(t)}function xS(e,t){var n=e;e=0;do{var a=n.nextSibling;if(n.nodeType===1?t?(n._stashedDisplay=n.style.display,n.style.display="none"):(n.style.display=n._stashedDisplay||"",n.getAttribute("style")===""&&n.removeAttribute("style")):n.nodeType===3&&(t?(n._stashedText=n.nodeValue,n.nodeValue=""):n.nodeValue=n._stashedText||""),a&&a.nodeType===8)if(n=a.data,n===du){if(e===0)break;e--}else n!==fu&&n!==Ei&&n!==ys&&n!==Ar||e++;n=a}while(n)}function rD(e){xS(e,!0)}function lD(e){e=e.style,typeof e.setProperty=="function"?e.setProperty("display","none","important"):e.display="none"}function uD(e){e.nodeValue=""}function cD(e){xS(e,!1)}function fD(e,t){t=t[yO],t=t!=null&&t.hasOwnProperty("display")?t.display:null,e.style.display=t==null||typeof t=="boolean"?"":(""+t).trim()}function dD(e,t){e.nodeValue=t}function _p(e){var t=e.firstChild;for(t&&t.nodeType===10&&(t=t.nextSibling);t;){var n=t;switch(t=t.nextSibling,n.nodeName){case"HTML":case"HEAD":case"BODY":_p(n),U(n);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(n.rel.toLowerCase()==="stylesheet")continue}e.removeChild(n)}}function hD(e,t,n,a){for(;e.nodeType===1;){var s=n;if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!a&&(e.nodeName!=="INPUT"||e.type!=="hidden"))break}else if(a){if(!e[Al])switch(t){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if(r=e.getAttribute("rel"),r==="stylesheet"&&e.hasAttribute("data-precedence"))break;if(r!==s.rel||e.getAttribute("href")!==(s.href==null||s.href===""?null:s.href)||e.getAttribute("crossorigin")!==(s.crossOrigin==null?null:s.crossOrigin)||e.getAttribute("title")!==(s.title==null?null:s.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(r=e.getAttribute("src"),(r!==(s.src==null?null:s.src)||e.getAttribute("type")!==(s.type==null?null:s.type)||e.getAttribute("crossorigin")!==(s.crossOrigin==null?null:s.crossOrigin))&&r&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else if(t==="input"&&e.type==="hidden"){Qe(s.name,"name");var r=s.name==null?null:""+s.name;if(s.type==="hidden"&&e.getAttribute("name")===r)return e}else return e;if(e=On(e.nextSibling),e===null)break}return null}function pD(e,t,n){if(t==="")return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!n||(e=On(e.nextSibling),e===null))return null;return e}function wS(e,t){for(;e.nodeType!==8;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!t||(e=On(e.nextSibling),e===null))return null;return e}function jp(e){return e.data===Ei||e.data===ys}function zp(e){return e.data===Ar||e.data===Ei&&e.ownerDocument.readyState!==hE}function mD(e,t){var n=e.ownerDocument;if(e.data===ys)e._reactRetry=t;else if(e.data!==Ei||n.readyState!==hE)t();else{var a=function(){t(),n.removeEventListener("DOMContentLoaded",a)};n.addEventListener("DOMContentLoaded",a),e._reactRetry=a}}function On(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===fu||t===Ar||t===Ei||t===ys||t===ms||t===cy||t===dE)break;if(t===du||t===$f)return null}}return e}function RS(e){if(e.nodeType===1){for(var t=e.nodeName.toLowerCase(),n={},a=e.attributes,s=0;s<a.length;s++){var r=a[s];n[dS(r.name)]=r.name.toLowerCase()==="style"?Cp(e):r.value}return{type:t,props:n}}return e.nodeType===8?e.data===ms?{type:"Activity",props:{}}:{type:"Suspense",props:{}}:e.nodeValue}function AS(e,t,n){return n===null||n[dO]!==!0?(e.nodeValue===t?e=null:(t=Ko(t),e=Ko(e.nodeValue)===t?null:e.nodeValue),e):null}function Np(e){e=e.nextSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n===du||n===$f){if(t===0)return On(e.nextSibling);t--}else n!==fu&&n!==Ar&&n!==Ei&&n!==ys&&n!==ms||t++}e=e.nextSibling}return null}function CS(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n===fu||n===Ar||n===Ei||n===ys||n===ms){if(t===0)return e;t--}else n!==du&&n!==$f||t++}e=e.previousSibling}return null}function yD(e){$s(e)}function gD(e){$s(e)}function vD(e){$s(e)}function DS(e,t,n,a,s){switch(s&&Pd(e,a.ancestorInfo),t=Lc(n),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 bD(e,t,n,a){if(!n[ai]&&ae(n)){var s=n.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.",s,s,s)}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(s=n.attributes;s.length;)n.removeAttributeNode(s[0]);Xt(n,e,t),n[Qt]=a,n[on]=t}function bl(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);U(e)}function Bc(e){return typeof e.getRootNode=="function"?e.getRootNode():e.nodeType===9?e:e.ownerDocument}function MS(e,t,n){var a=Dr;if(a&&typeof t=="string"&&t){var s=qn(t);s='link[rel="'+e+'"][href="'+s+'"]',typeof n=="string"&&(s+='[crossorigin="'+n+'"]'),bE.has(s)||(bE.add(s),e={rel:e,crossOrigin:n,href:t},a.querySelector(s)===null&&(t=a.createElement("link"),Xt(t,"link",e),ge(t),a.head.appendChild(t)))}}function OS(e,t,n,a){var s=(s=ti.current)?Bc(s):null;if(!s)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 n.precedence=="string"&&typeof n.href=="string"?(n=Gs(n.href),t=Oe(s).hoistableStyles,a=t.get(n),a||(a={type:"style",instance:null,count:0,state:null},t.set(n,a)),a):{type:"void",instance:null,count:0,state:null};case"link":if(n.rel==="stylesheet"&&typeof n.href=="string"&&typeof n.precedence=="string"){e=Gs(n.href);var r=Oe(s).hoistableStyles,c=r.get(e);if(!c&&(s=s.ownerDocument||s,c={type:"stylesheet",instance:null,count:0,state:{loading:vs,preload:null}},r.set(e,c),(r=s.querySelector(Sl(e)))&&!r._p&&(c.instance=r,c.state.loading=pu|ta),!na.has(e))){var d={rel:"preload",as:"style",href:n.href,crossOrigin:n.crossOrigin,integrity:n.integrity,media:n.media,hrefLang:n.hrefLang,referrerPolicy:n.referrerPolicy};na.set(e,d),r||SD(s,e,d,c.state)}if(t&&a===null)throw n=`
222
+
223
+ - `+kc(t)+`
224
+ + `+kc(n),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."+n);return c}if(t&&a!==null)throw n=`
225
+
226
+ - `+kc(t)+`
227
+ + `+kc(n),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."+n);return null;case"script":return t=n.async,n=n.src,typeof n=="string"&&t&&typeof t!="function"&&typeof t!="symbol"?(n=Ps(n),t=Oe(s).hoistableScripts,a=t.get(n),a||(a={type:"script",instance:null,count:0,state:null},t.set(n,a)),a):{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 kc(e){var t=0,n="<link";return typeof e.rel=="string"?(t++,n+=' rel="'+e.rel+'"'):da.call(e,"rel")&&(t++,n+=' rel="'+(e.rel===null?"null":"invalid type "+typeof e.rel)+'"'),typeof e.href=="string"?(t++,n+=' href="'+e.href+'"'):da.call(e,"href")&&(t++,n+=' href="'+(e.href===null?"null":"invalid type "+typeof e.href)+'"'),typeof e.precedence=="string"?(t++,n+=' precedence="'+e.precedence+'"'):da.call(e,"precedence")&&(t++,n+=" precedence={"+(e.precedence===null?"null":"invalid type "+typeof e.precedence)+"}"),Object.getOwnPropertyNames(e).length>t&&(n+=" ..."),n+" />"}function Gs(e){return'href="'+qn(e)+'"'}function Sl(e){return'link[rel="stylesheet"]['+e+"]"}function _S(e){return Be({},e,{"data-precedence":e.precedence,precedence:null})}function SD(e,t,n,a){e.querySelector('link[rel="preload"][as="style"]['+t+"]")?a.loading=pu:(t=e.createElement("link"),a.preload=t,t.addEventListener("load",function(){return a.loading|=pu}),t.addEventListener("error",function(){return a.loading|=gE}),Xt(t,"link",n),ge(t),e.head.appendChild(t))}function Ps(e){return'[src="'+qn(e)+'"]'}function Tl(e){return"script[async]"+e}function jS(e,t,n){if(t.count++,t.instance===null)switch(t.type){case"style":var a=e.querySelector('style[data-href~="'+qn(n.href)+'"]');if(a)return t.instance=a,ge(a),a;var s=Be({},n,{"data-href":n.href,"data-precedence":n.precedence,href:null,precedence:null});return a=(e.ownerDocument||e).createElement("style"),ge(a),Xt(a,"style",s),Hc(a,n.precedence,e),t.instance=a;case"stylesheet":s=Gs(n.href);var r=e.querySelector(Sl(s));if(r)return t.state.loading|=ta,t.instance=r,ge(r),r;a=_S(n),(s=na.get(s))&&Vp(a,s),r=(e.ownerDocument||e).createElement("link"),ge(r);var c=r;return c._p=new Promise(function(d,y){c.onload=d,c.onerror=y}),Xt(r,"link",a),t.state.loading|=ta,Hc(r,n.precedence,e),t.instance=r;case"script":return r=Ps(n.src),(s=e.querySelector(Tl(r)))?(t.instance=s,ge(s),s):(a=n,(s=na.get(r))&&(a=Be({},n),Up(a,s)),e=e.ownerDocument||e,s=e.createElement("script"),ge(s),Xt(s,"link",a),e.head.appendChild(s),t.instance=s);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&ta)===vs&&(a=t.instance,t.state.loading|=ta,Hc(a,n.precedence,e));return t.instance}function Hc(e,t,n){for(var a=n.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),s=a.length?a[a.length-1]:null,r=s,c=0;c<a.length;c++){var d=a[c];if(d.dataset.precedence===t)r=d;else if(r!==s)break}r?r.parentNode.insertBefore(e,r.nextSibling):(t=n.nodeType===9?n.head:n,t.insertBefore(e,t.firstChild))}function Vp(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.title==null&&(e.title=t.title)}function Up(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.integrity==null&&(e.integrity=t.integrity)}function zS(e,t,n){if(Qf===null){var a=new Map,s=Qf=new Map;s.set(n,a)}else s=Qf,a=s.get(n),a||(a=new Map,s.set(n,a));if(a.has(e))return a;for(a.set(e,null),n=n.getElementsByTagName(e),s=0;s<n.length;s++){var r=n[s];if(!(r[Al]||r[Qt]||e==="link"&&r.getAttribute("rel")==="stylesheet")&&r.namespaceURI!==Fs){var c=r.getAttribute(t)||"";c=e+c;var d=a.get(c);d?d.push(r):a.set(c,[r])}}return a}function NS(e,t,n){e=e.ownerDocument||e,e.head.insertBefore(n,t==="title"?e.querySelector("head > title"):null)}function TD(e,t,n){var a=!n.ancestorInfo.containerTagInScope;if(n.context===Cr||t.itemProp!=null)return!a||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===""){a&&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 s=t.onError,r=t.disabled;n=[],t.onLoad&&n.push("`onLoad`"),s&&n.push("`onError`"),r!=null&&n.push("`disabled`"),s=FC(n,"and"),s+=n.length===1?" prop":" props",r=n.length===1?"an "+s:"the "+s,n.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,r,s)}a&&(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"&&a&&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"){a&&(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":a&&console.error("Cannot render <%s> outside the main document. Try moving it into the root <head> tag.",e)}return!1}function VS(e){return!(e.type==="stylesheet"&&(e.state.loading&vE)===vs)}function ED(e,t,n,a){if(n.type==="stylesheet"&&(typeof a.media!="string"||matchMedia(a.media).matches!==!1)&&(n.state.loading&ta)===vs){if(n.instance===null){var s=Gs(a.href),r=t.querySelector(Sl(s));if(r){t=r._p,t!==null&&typeof t=="object"&&typeof t.then=="function"&&(e.count++,e=Yc.bind(e),t.then(e,e)),n.state.loading|=ta,n.instance=r,ge(r);return}r=t.ownerDocument||t,a=_S(a),(s=na.get(s))&&Vp(a,s),r=r.createElement("link"),ge(r);var c=r;c._p=new Promise(function(d,y){c.onload=d,c.onerror=y}),Xt(r,"link",a),n.instance=r}e.stylesheets===null&&(e.stylesheets=new Map),e.stylesheets.set(n,t),(t=n.state.preload)&&(n.state.loading&vE)===vs&&(e.count++,n=Yc.bind(e),t.addEventListener("load",n),t.addEventListener("error",n))}}function xD(e,t){return e.stylesheets&&e.count===0&&qc(e,e.stylesheets),0<e.count||0<e.imgCount?function(n){var a=setTimeout(function(){if(e.stylesheets&&qc(e,e.stylesheets),e.unsuspend){var r=e.unsuspend;e.unsuspend=null,r()}},bO+t);0<e.imgBytes&&my===0&&(my=125*KC()*TO);var s=setTimeout(function(){if(e.waitingForImages=!1,e.count===0&&(e.stylesheets&&qc(e,e.stylesheets),e.unsuspend)){var r=e.unsuspend;e.unsuspend=null,r()}},(e.imgBytes>my?50:SO)+t);return e.unsuspend=n,function(){e.unsuspend=null,clearTimeout(a),clearTimeout(s)}}:null}function Yc(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)qc(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}function qc(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,Zf=new Map,t.forEach(wD,e),Zf=null,Yc.call(e))}function wD(e,t){if(!(t.state.loading&ta)){var n=Zf.get(e);if(n)var a=n.get(yy);else{n=new Map,Zf.set(e,n);for(var s=e.querySelectorAll("link[data-precedence],style[data-precedence]"),r=0;r<s.length;r++){var c=s[r];(c.nodeName==="LINK"||c.getAttribute("media")!=="not all")&&(n.set(c.dataset.precedence,c),a=c)}a&&n.set(yy,a)}s=t.instance,c=s.getAttribute("data-precedence"),r=n.get(c)||a,r===a&&n.set(yy,s),n.set(c,s),this.count++,a=Yc.bind(this),s.addEventListener("load",a),s.addEventListener("error",a),r?r.parentNode.insertBefore(s,r.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(s,e.firstChild)),t.state.loading|=ta}}function RD(e,t,n,a,s,r,c,d,y){for(this.tag=1,this.containerInfo=e,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=gs,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=Ho(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Ho(0),this.hiddenUpdates=Ho(null),this.identifierPrefix=a,this.onUncaughtError=s,this.onCaughtError=r,this.onRecoverableError=c,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=y,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=n?"hydrateRoot()":"createRoot()"}function US(e,t,n,a,s,r,c,d,y,b,z,N){return e=new RD(e,t,n,c,y,b,z,N,d),t=$M,r===!0&&(t|=Wt|ha),t|=ze,r=g(3,null,null,t),e.current=r,r.stateNode=e,t=ch(),Gi(t),e.pooledCache=t,Gi(t),r.memoizedState={element:a,isDehydrated:n,cache:t},mh(r),e}function LS(e){return e?(e=ri,e):ri}function Lp(e,t,n,a,s,r){if(Kt&&typeof Kt.onScheduleFiberRoot=="function")try{Kt.onScheduleFiberRoot(Is,a,n)}catch(c){Pa||(Pa=!0,console.error("React instrumentation encountered an error: %o",c))}s=LS(s),a.context===null?a.context=s:a.pendingContext=s,Ga&&jn!==null&&!xE&&(xE=!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.
228
+
229
+ Check the render method of %s.`,q(jn)||"Unknown")),a=Xo(t),a.payload={element:n},r=r===void 0?null:r,r!==null&&(typeof r!="function"&&console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",r),a.callback=r),n=Qo(e,a,t),n!==null&&(Da(t,"root.render()",null),yt(n,e,t),tl(n,e,t))}function BS(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function Bp(e,t){BS(e,t),(e=e.alternate)&&BS(e,t)}function kS(e){if(e.tag===13||e.tag===31){var t=Ft(e,67108864);t!==null&&yt(t,e,67108864),Bp(e,67108864)}}function HS(e){if(e.tag===13||e.tag===31){var t=Mn(e);t=ra(t);var n=Ft(e,t);n!==null&&yt(n,e,t),Bp(e,t)}}function AD(){return jn}function CD(e,t,n,a){var s=Y.T;Y.T=null;var r=Ie.p;try{Ie.p=Pn,kp(e,t,n,a)}finally{Ie.p=r,Y.T=s}}function DD(e,t,n,a){var s=Y.T;Y.T=null;var r=Ie.p;try{Ie.p=Xa,kp(e,t,n,a)}finally{Ie.p=r,Y.T=s}}function kp(e,t,n,a){if(Jf){var s=Hp(a);if(s===null)wp(e,t,a,Ff,n),qS(e,a);else if(MD(s,e,t,n,a))a.stopPropagation();else if(qS(e,a),t&4&&-1<xO.indexOf(e)){for(;s!==null;){var r=ae(s);if(r!==null)switch(r.tag){case 3:if(r=r.stateNode,r.current.memoizedState.isDehydrated){var c=kn(r.pendingLanes);if(c!==0){var d=r;for(d.pendingLanes|=2,d.entangledLanes|=2;c;){var y=1<<31-an(c);d.entanglements[1]|=y,c&=~y}ka(r),($e&(Lt|Un))===Gt&&(zf=Ht()+FT,ml(0))}}break;case 31:case 13:d=Ft(r,2),d!==null&&yt(d,r,2),Hs(),Bp(r,2)}if(r=Hp(a),r===null&&wp(e,t,a,Ff,n),r===s)break;s=r}s!==null&&a.stopPropagation()}else wp(e,t,a,null,n)}}function Hp(e){return e=$d(e),Yp(e)}function Yp(e){if(Ff=null,e=W(e),e!==null){var t=B(e);if(t===null)e=null;else{var n=t.tag;if(n===13){if(e=G(t),e!==null)return e;e=null}else if(n===31){if(e=P(t),e!==null)return e;e=null}else if(n===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null)}}return Ff=e,null}function YS(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 Pn;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 Xa;case"message":switch(kD()){case tm:return Pn;case nm:return Xa;case Zs:case HD:return vo;case am:return Kc;default:return vo}default:return vo}}function qS(e,t){switch(e){case"focusin":case"focusout":xi=null;break;case"dragenter":case"dragleave":wi=null;break;case"mouseover":case"mouseout":Ri=null;break;case"pointerover":case"pointerout":yu.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":gu.delete(t.pointerId)}}function El(e,t,n,a,s,r){return e===null||e.nativeEvent!==r?(e={blockedOn:t,domEventName:n,eventSystemFlags:a,nativeEvent:r,targetContainers:[s]},t!==null&&(t=ae(t),t!==null&&kS(t)),e):(e.eventSystemFlags|=a,t=e.targetContainers,s!==null&&t.indexOf(s)===-1&&t.push(s),e)}function MD(e,t,n,a,s){switch(t){case"focusin":return xi=El(xi,e,t,n,a,s),!0;case"dragenter":return wi=El(wi,e,t,n,a,s),!0;case"mouseover":return Ri=El(Ri,e,t,n,a,s),!0;case"pointerover":var r=s.pointerId;return yu.set(r,El(yu.get(r)||null,e,t,n,a,s)),!0;case"gotpointercapture":return r=s.pointerId,gu.set(r,El(gu.get(r)||null,e,t,n,a,s)),!0}return!1}function GS(e){var t=W(e.target);if(t!==null){var n=B(t);if(n!==null){if(t=n.tag,t===13){if(t=G(n),t!==null){e.blockedOn=t,E(e.priority,function(){HS(n)});return}}else if(t===31){if(t=P(n),t!==null){e.blockedOn=t,E(e.priority,function(){HS(n)});return}}else if(t===3&&n.stateNode.current.memoizedState.isDehydrated){e.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}e.blockedOn=null}function Gc(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=Hp(e.nativeEvent);if(n===null){n=e.nativeEvent;var a=new n.constructor(n.type,n),s=a;Cl!==null&&console.error("Expected currently replaying event to be null. This error is likely caused by a bug in React. Please file an issue."),Cl=s,n.target.dispatchEvent(a),Cl===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."),Cl=null}else return t=ae(n),t!==null&&kS(t),e.blockedOn=n,!1;t.shift()}return!0}function PS(e,t,n){Gc(e)&&n.delete(t)}function OD(){gy=!1,xi!==null&&Gc(xi)&&(xi=null),wi!==null&&Gc(wi)&&(wi=null),Ri!==null&&Gc(Ri)&&(Ri=null),yu.forEach(PS),gu.forEach(PS)}function Pc(e,t){e.blockedOn===t&&(e.blockedOn=null,gy||(gy=!0,At.unstable_scheduleCallback(At.unstable_NormalPriority,OD)))}function $S(e){Kf!==e&&(Kf=e,At.unstable_scheduleCallback(At.unstable_NormalPriority,function(){Kf===e&&(Kf=null);for(var t=0;t<e.length;t+=3){var n=e[t],a=e[t+1],s=e[t+2];if(typeof a!="function"){if(Yp(a||n)===null)continue;break}var r=ae(n);r!==null&&(e.splice(t,3),t-=3,n={pending:!0,data:s,method:n.method,action:a},Object.freeze(n),Yh(r,n,a,s))}}))}function $s(e){function t(y){return Pc(y,e)}xi!==null&&Pc(xi,e),wi!==null&&Pc(wi,e),Ri!==null&&Pc(Ri,e),yu.forEach(t),gu.forEach(t);for(var n=0;n<Ai.length;n++){var a=Ai[n];a.blockedOn===e&&(a.blockedOn=null)}for(;0<Ai.length&&(n=Ai[0],n.blockedOn===null);)GS(n),n.blockedOn===null&&Ai.shift();if(n=(e.ownerDocument||e).$$reactFormReplay,n!=null)for(a=0;a<n.length;a+=3){var s=n[a],r=n[a+1],c=s[on]||null;if(typeof r=="function")c||$S(n);else if(c){var d=null;if(r&&r.hasAttribute("formAction")){if(s=r,c=r[on]||null)d=c.formAction;else if(Yp(s)!==null)continue}else d=c.action;typeof d=="function"?n[a+1]=d:(n.splice(a,3),a-=3),$S(n)}}}function XS(){function e(r){r.canIntercept&&r.info==="react-transition"&&r.intercept({handler:function(){return new Promise(function(c){return s=c})},focusReset:"manual",scroll:"manual"})}function t(){s!==null&&(s(),s=null),a||setTimeout(n,20)}function n(){if(!a&&!navigation.transition){var r=navigation.currentEntry;r&&r.url!=null&&navigation.navigate(r.url,{state:r.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var a=!1,s=null;return navigation.addEventListener("navigate",e),navigation.addEventListener("navigatesuccess",t),navigation.addEventListener("navigateerror",t),setTimeout(n,100),function(){a=!0,navigation.removeEventListener("navigate",e),navigation.removeEventListener("navigatesuccess",t),navigation.removeEventListener("navigateerror",t),s!==null&&(s(),s=null)}}}function qp(e){this._internalRoot=e}function $c(e){this._internalRoot=e}function QS(e){e[ai]&&(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 At=MO(),Gp=zu(),_D=Rw(),Be=Object.assign,jD=Symbol.for("react.element"),Ya=Symbol.for("react.transitional.element"),Xs=Symbol.for("react.portal"),Qs=Symbol.for("react.fragment"),Xc=Symbol.for("react.strict_mode"),Pp=Symbol.for("react.profiler"),$p=Symbol.for("react.consumer"),qa=Symbol.for("react.context"),xl=Symbol.for("react.forward_ref"),Xp=Symbol.for("react.suspense"),Qp=Symbol.for("react.suspense_list"),Qc=Symbol.for("react.memo"),_n=Symbol.for("react.lazy"),Zp=Symbol.for("react.activity"),zD=Symbol.for("react.memo_cache_sentinel"),ZS=Symbol.iterator,ND=Symbol.for("react.client.reference"),Vt=Array.isArray,Y=Gp.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Ie=_D.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,VD=Object.freeze({pending:!1,data:null,method:null,action:null}),Ip=[],Jp=[],go=-1,ei=ee(null),wl=ee(null),ti=ee(null),Zc=ee(null),Rl=0,IS,JS,FS,KS,WS,e1,t1;Me.__reactDisabledLog=!0;var Fp,n1,Kp=!1,Wp=new(typeof WeakMap=="function"?WeakMap:Map),jn=null,Ga=!1,da=Object.prototype.hasOwnProperty,em=At.unstable_scheduleCallback,UD=At.unstable_cancelCallback,LD=At.unstable_shouldYield,BD=At.unstable_requestPaint,Ht=At.unstable_now,kD=At.unstable_getCurrentPriorityLevel,tm=At.unstable_ImmediatePriority,nm=At.unstable_UserBlockingPriority,Zs=At.unstable_NormalPriority,HD=At.unstable_LowPriority,am=At.unstable_IdlePriority,YD=At.log,qD=At.unstable_setDisableYieldValue,Is=null,Kt=null,Pa=!1,$a=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u",an=Math.clz32?Math.clz32:Bo,GD=Math.log,PD=Math.LN2,Ic=256,Jc=262144,Fc=4194304,Pn=2,Xa=8,vo=32,Kc=268435456,ni=Math.random().toString(36).slice(2),Qt="__reactFiber$"+ni,on="__reactProps$"+ni,ai="__reactContainer$"+ni,om="__reactEvents$"+ni,$D="__reactListeners$"+ni,XD="__reactHandles$"+ni,a1="__reactResources$"+ni,Al="__reactMarker$"+ni,o1=new Set,Ji={},im={},QD={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0},ZD=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]*$"),i1={},s1={},ID=/[\n"\\]/g,r1=!1,l1=!1,u1=!1,c1=!1,f1=!1,d1=!1,h1=["value","defaultValue"],p1=!1,m1=/["'&<>\n\t]|^\s|\s$/,JD="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(" "),y1="applet caption html table td th marquee object template foreignObject desc title".split(" "),FD=y1.concat(["button"]),KD="dd dt li option optgroup p rp rt".split(" "),g1={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null,containerTagInScope:null,implicitRootScope:!1},Wc={},sm={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"]},v1=/([A-Z])/g,b1=/^ms-/,WD=/^(?:webkit|moz|o)[A-Z]/,eM=/^-ms-/,tM=/-(.)/g,S1=/;\s*$/,Js={},rm={},T1=!1,E1=!1,x1=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(" ")),ef="http://www.w3.org/1998/Math/MathML",Fs="http://www.w3.org/2000/svg",nM=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"]]),tf={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"},w1={"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},Ks={},aM=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]*$"),oM=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]*$"),R1=!1,sn={},A1=/^on./,iM=/^on[^A-Z]/,sM=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]*$"),rM=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]*$"),lM=/^[\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,Cl=null,Ws=null,er=null,lm=!1,Qa=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),um=!1;if(Qa)try{var Dl={};Object.defineProperty(Dl,"passive",{get:function(){um=!0}}),window.addEventListener("test",Dl,Dl),window.removeEventListener("test",Dl,Dl)}catch{um=!1}var oi=null,cm=null,nf=null,Fi={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},af=mn(Fi),Ml=Be({},Fi,{view:0,detail:0}),uM=mn(Ml),fm,dm,Ol,of=Be({},Ml,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Xd,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!==Ol&&(Ol&&e.type==="mousemove"?(fm=e.screenX-Ol.screenX,dm=e.screenY-Ol.screenY):dm=fm=0,Ol=e),fm)},movementY:function(e){return"movementY"in e?e.movementY:dm}}),C1=mn(of),cM=Be({},of,{dataTransfer:0}),fM=mn(cM),dM=Be({},Ml,{relatedTarget:0}),hm=mn(dM),hM=Be({},Fi,{animationName:0,elapsedTime:0,pseudoElement:0}),pM=mn(hM),mM=Be({},Fi,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),yM=mn(mM),gM=Be({},Fi,{data:0}),D1=mn(gM),vM=D1,bM={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},SM={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"},TM={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"},EM=Be({},Ml,{key:function(e){if(e.key){var t=bM[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=Gu(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?SM[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Xd,charCode:function(e){return e.type==="keypress"?Gu(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Gu(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),xM=mn(EM),wM=Be({},of,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),M1=mn(wM),RM=Be({},Ml,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Xd}),AM=mn(RM),CM=Be({},Fi,{propertyName:0,elapsedTime:0,pseudoElement:0}),DM=mn(CM),MM=Be({},of,{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}),OM=mn(MM),_M=Be({},Fi,{newState:0,oldState:0}),jM=mn(_M),zM=[9,13,27,32],O1=229,pm=Qa&&"CompositionEvent"in window,_l=null;Qa&&"documentMode"in document&&(_l=document.documentMode);var NM=Qa&&"TextEvent"in window&&!_l,_1=Qa&&(!pm||_l&&8<_l&&11>=_l),j1=32,z1=String.fromCharCode(j1),N1=!1,tr=!1,VM={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},jl=null,zl=null,V1=!1;Qa&&(V1=tC("input")&&(!document.documentMode||9<document.documentMode));var rn=typeof Object.is=="function"?Object.is:rC,UM=Qa&&"documentMode"in document&&11>=document.documentMode,nr=null,mm=null,Nl=null,ym=!1,ar={animationend:Ui("Animation","AnimationEnd"),animationiteration:Ui("Animation","AnimationIteration"),animationstart:Ui("Animation","AnimationStart"),transitionrun:Ui("Transition","TransitionRun"),transitionstart:Ui("Transition","TransitionStart"),transitioncancel:Ui("Transition","TransitionCancel"),transitionend:Ui("Transition","TransitionEnd")},gm={},U1={};Qa&&(U1=document.createElement("div").style,"AnimationEvent"in window||(delete ar.animationend.animation,delete ar.animationiteration.animation,delete ar.animationstart.animation),"TransitionEvent"in window||delete ar.transitionend.transition);var L1=Li("animationend"),B1=Li("animationiteration"),k1=Li("animationstart"),LM=Li("transitionrun"),BM=Li("transitionstart"),kM=Li("transitioncancel"),H1=Li("transitionend"),Y1=new Map,vm="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(" ");vm.push("scrollEnd");var q1=0;if(typeof performance=="object"&&typeof performance.now=="function")var HM=performance,G1=function(){return HM.now()};else{var YM=Date;G1=function(){return YM.now()}}var bm=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)},qM="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.",sf=0,Sm=1,Tm=2,Em=3,rf="– ",lf="+ ",P1="  ",rt=typeof console<"u"&&typeof console.timeStamp=="function"&&typeof performance<"u"&&typeof performance.measure=="function",$n="Components ⚛",Ye="Scheduler ⚛",Ge="Blocking",ii=!1,bo={color:"primary",properties:null,tooltipText:"",track:$n},si={start:-0,end:-0,detail:{devtools:bo}},GM=["Changed Props",""],$1="This component received deeply equal props. It might benefit from useMemo or the React Compiler in its owner.",PM=["Changed Props",$1],Vl=1,So=2,Xn=[],or=0,xm=0,ri={};Object.freeze(ri);var Qn=null,ir=null,we=0,$M=1,ze=2,Wt=8,ha=16,XM=32,X1=!1;try{var Q1=Object.preventExtensions({})}catch{X1=!0}var wm=new WeakMap,sr=[],rr=0,uf=null,Ul=0,Zn=[],In=0,Ki=null,To=1,Eo="",Zt=null,lt=null,ke=!1,Za=!1,zn=null,li=null,Jn=!1,Rm=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."),Am=ee(null),Cm=ee(null),Z1={},cf=null,lr=null,ur=!1,QM=typeof AbortController<"u"?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(n,a){e.push(a)}};this.abort=function(){t.aborted=!0,e.forEach(function(n){return n()})}},ZM=At.unstable_scheduleCallback,IM=At.unstable_NormalPriority,Ct={$$typeof:qa,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0,_currentRenderer:null,_currentRenderer2:null},Dt=At.unstable_now,ff=console.createTask?console.createTask:function(){return null},Ll=1,df=2,Yt=-0,ui=-0,xo=-0,wo=null,ln=-1.1,Wi=-0,ht=-0,Ee=-1.1,xe=-1.1,ft=null,gt=!1,es=-0,Ia=-1.1,Bl=null,ci=0,Dm=null,Mm=null,ts=-1.1,kl=null,cr=-1.1,hf=-1.1,Ro=-0,Ao=-1.1,Fn=-1.1,Om=0,Hl=null,I1=null,J1=null,fi=-1.1,ns=null,di=-1.1,pf=-1.1,F1=-0,K1=-0,mf=0,JM=null,W1=0,Yl=-1.1,yf=!1,gf=!1,ql=null,_m=0,as=0,fr=null,eT=Y.S;Y.S=function(e,t){if(IT=Ht(),typeof t=="object"&&t!==null&&typeof t.then=="function"){if(0>Ao&&0>Fn){Ao=Dt();var n=vl(),a=gl();(n!==di||a!==ns)&&(di=-1.1),fi=n,ns=a}pC(e,t)}eT!==null&&eT(e,t)};var os=ee(null),pa={recordUnsafeLifecycleWarnings:function(){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}},Gl=[],Pl=[],$l=[],Xl=[],Ql=[],Zl=[],is=new Set;pa.recordUnsafeLifecycleWarnings=function(e,t){is.has(e.type)||(typeof t.componentWillMount=="function"&&t.componentWillMount.__suppressDeprecationWarning!==!0&&Gl.push(e),e.mode&Wt&&typeof t.UNSAFE_componentWillMount=="function"&&Pl.push(e),typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps.__suppressDeprecationWarning!==!0&&$l.push(e),e.mode&Wt&&typeof t.UNSAFE_componentWillReceiveProps=="function"&&Xl.push(e),typeof t.componentWillUpdate=="function"&&t.componentWillUpdate.__suppressDeprecationWarning!==!0&&Ql.push(e),e.mode&Wt&&typeof t.UNSAFE_componentWillUpdate=="function"&&Zl.push(e))},pa.flushPendingUnsafeLifecycleWarnings=function(){var e=new Set;0<Gl.length&&(Gl.forEach(function(d){e.add(q(d)||"Component"),is.add(d.type)}),Gl=[]);var t=new Set;0<Pl.length&&(Pl.forEach(function(d){t.add(q(d)||"Component"),is.add(d.type)}),Pl=[]);var n=new Set;0<$l.length&&($l.forEach(function(d){n.add(q(d)||"Component"),is.add(d.type)}),$l=[]);var a=new Set;0<Xl.length&&(Xl.forEach(function(d){a.add(q(d)||"Component"),is.add(d.type)}),Xl=[]);var s=new Set;0<Ql.length&&(Ql.forEach(function(d){s.add(q(d)||"Component"),is.add(d.type)}),Ql=[]);var r=new Set;if(0<Zl.length&&(Zl.forEach(function(d){r.add(q(d)||"Component"),is.add(d.type)}),Zl=[]),0<t.size){var c=v(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.
230
+
231
+ * Move code with side effects to componentDidMount, and set initial state in the constructor.
232
+
233
+ Please update the following components: %s`,c)}0<a.size&&(c=v(a),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.
234
+
235
+ * Move data fetching code or side effects to componentDidUpdate.
236
+ * 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
237
+
238
+ Please update the following components: %s`,c)),0<r.size&&(c=v(r),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.
239
+
240
+ * Move data fetching code or side effects to componentDidUpdate.
241
+
242
+ Please update the following components: %s`,c)),0<e.size&&(c=v(e),console.warn(`componentWillMount has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
243
+
244
+ * Move code with side effects to componentDidMount, and set initial state in the constructor.
245
+ * 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.
246
+
247
+ Please update the following components: %s`,c)),0<n.size&&(c=v(n),console.warn(`componentWillReceiveProps has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
248
+
249
+ * Move data fetching code or side effects to componentDidUpdate.
250
+ * 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
251
+ * 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.
252
+
253
+ Please update the following components: %s`,c)),0<s.size&&(c=v(s),console.warn(`componentWillUpdate has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
254
+
255
+ * Move data fetching code or side effects to componentDidUpdate.
256
+ * 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.
257
+
258
+ Please update the following components: %s`,c))};var vf=new Map,tT=new Set;pa.recordLegacyContextWarning=function(e,t){for(var n=null,a=e;a!==null;)a.mode&Wt&&(n=a),a=a.return;n===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."):!tT.has(e.type)&&(a=vf.get(n),e.type.contextTypes!=null||e.type.childContextTypes!=null||t!==null&&typeof t.getChildContext=="function")&&(a===void 0&&(a=[],vf.set(n,a)),a.push(e))},pa.flushLegacyContextWarning=function(){vf.forEach(function(e){if(e.length!==0){var t=e[0],n=new Set;e.forEach(function(s){n.add(q(s)||"Component"),tT.add(s.type)});var a=v(n);ue(t,function(){console.error(`Legacy context API has been detected within a strict-mode tree.
259
+
260
+ The old API will be supported in all 16.x releases, but applications using it should migrate to the new version.
261
+
262
+ Please update the following components: %s
263
+
264
+ Learn more about this warning here: https://react.dev/link/legacy-context`,a)})}})},pa.discardPendingWarnings=function(){Gl=[],Pl=[],$l=[],Xl=[],Ql=[],Zl=[],vf=new Map};var nT={react_stack_bottom_frame:function(e,t,n){var a=Ga;Ga=!0;try{return e(t,n)}finally{Ga=a}}},jm=nT.react_stack_bottom_frame.bind(nT),aT={react_stack_bottom_frame:function(e){var t=Ga;Ga=!0;try{return e.render()}finally{Ga=t}}},oT=aT.react_stack_bottom_frame.bind(aT),iT={react_stack_bottom_frame:function(e,t){try{t.componentDidMount()}catch(n){Ze(e,e.return,n)}}},zm=iT.react_stack_bottom_frame.bind(iT),sT={react_stack_bottom_frame:function(e,t,n,a,s){try{t.componentDidUpdate(n,a,s)}catch(r){Ze(e,e.return,r)}}},rT=sT.react_stack_bottom_frame.bind(sT),lT={react_stack_bottom_frame:function(e,t){var n=t.stack;e.componentDidCatch(t.value,{componentStack:n!==null?n:""})}},FM=lT.react_stack_bottom_frame.bind(lT),uT={react_stack_bottom_frame:function(e,t,n){try{n.componentWillUnmount()}catch(a){Ze(e,t,a)}}},cT=uT.react_stack_bottom_frame.bind(uT),fT={react_stack_bottom_frame:function(e){var t=e.create;return e=e.inst,t=t(),e.destroy=t}},KM=fT.react_stack_bottom_frame.bind(fT),dT={react_stack_bottom_frame:function(e,t,n){try{n()}catch(a){Ze(e,t,a)}}},WM=dT.react_stack_bottom_frame.bind(dT),hT={react_stack_bottom_frame:function(e){var t=e._init;return t(e._payload)}},eO=hT.react_stack_bottom_frame.bind(hT),dr=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`."),Nm=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."),bf=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."),Sf={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.')}},ss=null,Il=!1,hr=null,Jl=0,Ne=null,Vm,pT=Vm=!1,mT={},yT={},gT={};T=function(e,t,n){if(n!==null&&typeof n=="object"&&n._store&&(!n._store.validated&&n.key==null||n._store.validated===2)){if(typeof n._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.");n._store.validated=1;var a=q(e),s=a||"null";if(!mT[s]){mT[s]=!0,n=n._owner,e=e._debugOwner;var r="";e&&typeof e.tag=="number"&&(s=q(e))&&(r=`
265
+
266
+ Check the render method of \``+s+"`."),r||a&&(r=`
267
+
268
+ Check the top-level render call using <`+a+">.");var c="";n!=null&&e!==n&&(a=null,typeof n.tag=="number"?a=q(n):typeof n.name=="string"&&(a=n.name),a&&(c=" It was passed a child from "+a+".")),ue(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.',r,c)})}}};var rs=u0(!0),vT=u0(!1),bT=0,ST=1,TT=2,Um=3,hi=!1,ET=!1,Lm=null,Bm=!1,pr=ee(null),Tf=ee(0),Nn=ee(null),Kn=null,mr=1,Fl=2,xt=ee(0),Ef=0,Wn=1,un=2,Vn=4,cn=8,yr,xT=new Set,wT=new Set,km=new Set,RT=new Set,Co=0,Ae=null,tt=null,Mt=null,xf=!1,gr=!1,ls=!1,wf=0,Kl=0,Do=null,tO=0,nO=25,H=null,ea=null,Mo=-1,Wl=!1,eu={readContext:ct,use:Jo,useCallback:bt,useContext:bt,useEffect:bt,useImperativeHandle:bt,useLayoutEffect:bt,useInsertionEffect:bt,useMemo:bt,useReducer:bt,useRef:bt,useState:bt,useDebugValue:bt,useDeferredValue:bt,useTransition:bt,useSyncExternalStore:bt,useId:bt,useHostTransitionStatus:bt,useFormState:bt,useActionState:bt,useOptimistic:bt,useMemoCache:bt,useCacheRefresh:bt};eu.useEffectEvent=bt;var Hm=null,AT=null,Ym=null,CT=null,Ja=null,ma=null,Rf=null;Hm={readContext:function(e){return ct(e)},use:Jo,useCallback:function(e,t){return H="useCallback",Le(),zs(t),Lh(e,t)},useContext:function(e){return H="useContext",Le(),ct(e)},useEffect:function(e,t){return H="useEffect",Le(),zs(t),gc(e,t)},useImperativeHandle:function(e,t,n){return H="useImperativeHandle",Le(),zs(n),Uh(e,t,n)},useInsertionEffect:function(e,t){H="useInsertionEffect",Le(),zs(t),$i(4,un,e,t)},useLayoutEffect:function(e,t){return H="useLayoutEffect",Le(),zs(t),Vh(e,t)},useMemo:function(e,t){H="useMemo",Le(),zs(t);var n=Y.H;Y.H=Ja;try{return Bh(e,t)}finally{Y.H=n}},useReducer:function(e,t,n){H="useReducer",Le();var a=Y.H;Y.H=Ja;try{return Ah(e,t,n)}finally{Y.H=a}},useRef:function(e){return H="useRef",Le(),zh(e)},useState:function(e){H="useState",Le();var t=Y.H;Y.H=Ja;try{return Oh(e)}finally{Y.H=t}},useDebugValue:function(){H="useDebugValue",Le()},useDeferredValue:function(e,t){return H="useDeferredValue",Le(),kh(e,t)},useTransition:function(){return H="useTransition",Le(),qh()},useSyncExternalStore:function(e,t,n){return H="useSyncExternalStore",Le(),Dh(e,t,n)},useId:function(){return H="useId",Le(),Gh()},useFormState:function(e,t){return H="useFormState",Le(),dc(),Vs(e,t)},useActionState:function(e,t){return H="useActionState",Le(),Vs(e,t)},useOptimistic:function(e){return H="useOptimistic",Le(),_h(e)},useHostTransitionStatus:Xi,useMemoCache:Pi,useCacheRefresh:function(){return H="useCacheRefresh",Le(),Ph()},useEffectEvent:function(e){return H="useEffectEvent",Le(),Nh(e)}},AT={readContext:function(e){return ct(e)},use:Jo,useCallback:function(e,t){return H="useCallback",K(),Lh(e,t)},useContext:function(e){return H="useContext",K(),ct(e)},useEffect:function(e,t){return H="useEffect",K(),gc(e,t)},useImperativeHandle:function(e,t,n){return H="useImperativeHandle",K(),Uh(e,t,n)},useInsertionEffect:function(e,t){H="useInsertionEffect",K(),$i(4,un,e,t)},useLayoutEffect:function(e,t){return H="useLayoutEffect",K(),Vh(e,t)},useMemo:function(e,t){H="useMemo",K();var n=Y.H;Y.H=Ja;try{return Bh(e,t)}finally{Y.H=n}},useReducer:function(e,t,n){H="useReducer",K();var a=Y.H;Y.H=Ja;try{return Ah(e,t,n)}finally{Y.H=a}},useRef:function(e){return H="useRef",K(),zh(e)},useState:function(e){H="useState",K();var t=Y.H;Y.H=Ja;try{return Oh(e)}finally{Y.H=t}},useDebugValue:function(){H="useDebugValue",K()},useDeferredValue:function(e,t){return H="useDeferredValue",K(),kh(e,t)},useTransition:function(){return H="useTransition",K(),qh()},useSyncExternalStore:function(e,t,n){return H="useSyncExternalStore",K(),Dh(e,t,n)},useId:function(){return H="useId",K(),Gh()},useActionState:function(e,t){return H="useActionState",K(),Vs(e,t)},useFormState:function(e,t){return H="useFormState",K(),dc(),Vs(e,t)},useOptimistic:function(e){return H="useOptimistic",K(),_h(e)},useHostTransitionStatus:Xi,useMemoCache:Pi,useCacheRefresh:function(){return H="useCacheRefresh",K(),Ph()},useEffectEvent:function(e){return H="useEffectEvent",K(),Nh(e)}},Ym={readContext:function(e){return ct(e)},use:Jo,useCallback:function(e,t){return H="useCallback",K(),Sc(e,t)},useContext:function(e){return H="useContext",K(),ct(e)},useEffect:function(e,t){H="useEffect",K(),yn(2048,cn,e,t)},useImperativeHandle:function(e,t,n){return H="useImperativeHandle",K(),bc(e,t,n)},useInsertionEffect:function(e,t){return H="useInsertionEffect",K(),yn(4,un,e,t)},useLayoutEffect:function(e,t){return H="useLayoutEffect",K(),yn(4,Vn,e,t)},useMemo:function(e,t){H="useMemo",K();var n=Y.H;Y.H=ma;try{return Tc(e,t)}finally{Y.H=n}},useReducer:function(e,t,n){H="useReducer",K();var a=Y.H;Y.H=ma;try{return Ns(e,t,n)}finally{Y.H=a}},useRef:function(){return H="useRef",K(),Je().memoizedState},useState:function(){H="useState",K();var e=Y.H;Y.H=ma;try{return Ns(ca)}finally{Y.H=e}},useDebugValue:function(){H="useDebugValue",K()},useDeferredValue:function(e,t){return H="useDeferredValue",K(),_0(e,t)},useTransition:function(){return H="useTransition",K(),L0()},useSyncExternalStore:function(e,t,n){return H="useSyncExternalStore",K(),pc(e,t,n)},useId:function(){return H="useId",K(),Je().memoizedState},useFormState:function(e){return H="useFormState",K(),dc(),mc(e)},useActionState:function(e){return H="useActionState",K(),mc(e)},useOptimistic:function(e,t){return H="useOptimistic",K(),T0(e,t)},useHostTransitionStatus:Xi,useMemoCache:Pi,useCacheRefresh:function(){return H="useCacheRefresh",K(),Je().memoizedState},useEffectEvent:function(e){return H="useEffectEvent",K(),vc(e)}},CT={readContext:function(e){return ct(e)},use:Jo,useCallback:function(e,t){return H="useCallback",K(),Sc(e,t)},useContext:function(e){return H="useContext",K(),ct(e)},useEffect:function(e,t){H="useEffect",K(),yn(2048,cn,e,t)},useImperativeHandle:function(e,t,n){return H="useImperativeHandle",K(),bc(e,t,n)},useInsertionEffect:function(e,t){return H="useInsertionEffect",K(),yn(4,un,e,t)},useLayoutEffect:function(e,t){return H="useLayoutEffect",K(),yn(4,Vn,e,t)},useMemo:function(e,t){H="useMemo",K();var n=Y.H;Y.H=Rf;try{return Tc(e,t)}finally{Y.H=n}},useReducer:function(e,t,n){H="useReducer",K();var a=Y.H;Y.H=Rf;try{return il(e,t,n)}finally{Y.H=a}},useRef:function(){return H="useRef",K(),Je().memoizedState},useState:function(){H="useState",K();var e=Y.H;Y.H=Rf;try{return il(ca)}finally{Y.H=e}},useDebugValue:function(){H="useDebugValue",K()},useDeferredValue:function(e,t){return H="useDeferredValue",K(),j0(e,t)},useTransition:function(){return H="useTransition",K(),B0()},useSyncExternalStore:function(e,t,n){return H="useSyncExternalStore",K(),pc(e,t,n)},useId:function(){return H="useId",K(),Je().memoizedState},useFormState:function(e){return H="useFormState",K(),dc(),yc(e)},useActionState:function(e){return H="useActionState",K(),yc(e)},useOptimistic:function(e,t){return H="useOptimistic",K(),x0(e,t)},useHostTransitionStatus:Xi,useMemoCache:Pi,useCacheRefresh:function(){return H="useCacheRefresh",K(),Je().memoizedState},useEffectEvent:function(e){return H="useEffectEvent",K(),vc(e)}},Ja={readContext:function(e){return S(),ct(e)},use:function(e){return m(),Jo(e)},useCallback:function(e,t){return H="useCallback",m(),Le(),Lh(e,t)},useContext:function(e){return H="useContext",m(),Le(),ct(e)},useEffect:function(e,t){return H="useEffect",m(),Le(),gc(e,t)},useImperativeHandle:function(e,t,n){return H="useImperativeHandle",m(),Le(),Uh(e,t,n)},useInsertionEffect:function(e,t){H="useInsertionEffect",m(),Le(),$i(4,un,e,t)},useLayoutEffect:function(e,t){return H="useLayoutEffect",m(),Le(),Vh(e,t)},useMemo:function(e,t){H="useMemo",m(),Le();var n=Y.H;Y.H=Ja;try{return Bh(e,t)}finally{Y.H=n}},useReducer:function(e,t,n){H="useReducer",m(),Le();var a=Y.H;Y.H=Ja;try{return Ah(e,t,n)}finally{Y.H=a}},useRef:function(e){return H="useRef",m(),Le(),zh(e)},useState:function(e){H="useState",m(),Le();var t=Y.H;Y.H=Ja;try{return Oh(e)}finally{Y.H=t}},useDebugValue:function(){H="useDebugValue",m(),Le()},useDeferredValue:function(e,t){return H="useDeferredValue",m(),Le(),kh(e,t)},useTransition:function(){return H="useTransition",m(),Le(),qh()},useSyncExternalStore:function(e,t,n){return H="useSyncExternalStore",m(),Le(),Dh(e,t,n)},useId:function(){return H="useId",m(),Le(),Gh()},useFormState:function(e,t){return H="useFormState",m(),Le(),Vs(e,t)},useActionState:function(e,t){return H="useActionState",m(),Le(),Vs(e,t)},useOptimistic:function(e){return H="useOptimistic",m(),Le(),_h(e)},useMemoCache:function(e){return m(),Pi(e)},useHostTransitionStatus:Xi,useCacheRefresh:function(){return H="useCacheRefresh",Le(),Ph()},useEffectEvent:function(e){return H="useEffectEvent",m(),Le(),Nh(e)}},ma={readContext:function(e){return S(),ct(e)},use:function(e){return m(),Jo(e)},useCallback:function(e,t){return H="useCallback",m(),K(),Sc(e,t)},useContext:function(e){return H="useContext",m(),K(),ct(e)},useEffect:function(e,t){H="useEffect",m(),K(),yn(2048,cn,e,t)},useImperativeHandle:function(e,t,n){return H="useImperativeHandle",m(),K(),bc(e,t,n)},useInsertionEffect:function(e,t){return H="useInsertionEffect",m(),K(),yn(4,un,e,t)},useLayoutEffect:function(e,t){return H="useLayoutEffect",m(),K(),yn(4,Vn,e,t)},useMemo:function(e,t){H="useMemo",m(),K();var n=Y.H;Y.H=ma;try{return Tc(e,t)}finally{Y.H=n}},useReducer:function(e,t,n){H="useReducer",m(),K();var a=Y.H;Y.H=ma;try{return Ns(e,t,n)}finally{Y.H=a}},useRef:function(){return H="useRef",m(),K(),Je().memoizedState},useState:function(){H="useState",m(),K();var e=Y.H;Y.H=ma;try{return Ns(ca)}finally{Y.H=e}},useDebugValue:function(){H="useDebugValue",m(),K()},useDeferredValue:function(e,t){return H="useDeferredValue",m(),K(),_0(e,t)},useTransition:function(){return H="useTransition",m(),K(),L0()},useSyncExternalStore:function(e,t,n){return H="useSyncExternalStore",m(),K(),pc(e,t,n)},useId:function(){return H="useId",m(),K(),Je().memoizedState},useFormState:function(e){return H="useFormState",m(),K(),mc(e)},useActionState:function(e){return H="useActionState",m(),K(),mc(e)},useOptimistic:function(e,t){return H="useOptimistic",m(),K(),T0(e,t)},useMemoCache:function(e){return m(),Pi(e)},useHostTransitionStatus:Xi,useCacheRefresh:function(){return H="useCacheRefresh",K(),Je().memoizedState},useEffectEvent:function(e){return H="useEffectEvent",m(),K(),vc(e)}},Rf={readContext:function(e){return S(),ct(e)},use:function(e){return m(),Jo(e)},useCallback:function(e,t){return H="useCallback",m(),K(),Sc(e,t)},useContext:function(e){return H="useContext",m(),K(),ct(e)},useEffect:function(e,t){H="useEffect",m(),K(),yn(2048,cn,e,t)},useImperativeHandle:function(e,t,n){return H="useImperativeHandle",m(),K(),bc(e,t,n)},useInsertionEffect:function(e,t){return H="useInsertionEffect",m(),K(),yn(4,un,e,t)},useLayoutEffect:function(e,t){return H="useLayoutEffect",m(),K(),yn(4,Vn,e,t)},useMemo:function(e,t){H="useMemo",m(),K();var n=Y.H;Y.H=ma;try{return Tc(e,t)}finally{Y.H=n}},useReducer:function(e,t,n){H="useReducer",m(),K();var a=Y.H;Y.H=ma;try{return il(e,t,n)}finally{Y.H=a}},useRef:function(){return H="useRef",m(),K(),Je().memoizedState},useState:function(){H="useState",m(),K();var e=Y.H;Y.H=ma;try{return il(ca)}finally{Y.H=e}},useDebugValue:function(){H="useDebugValue",m(),K()},useDeferredValue:function(e,t){return H="useDeferredValue",m(),K(),j0(e,t)},useTransition:function(){return H="useTransition",m(),K(),B0()},useSyncExternalStore:function(e,t,n){return H="useSyncExternalStore",m(),K(),pc(e,t,n)},useId:function(){return H="useId",m(),K(),Je().memoizedState},useFormState:function(e){return H="useFormState",m(),K(),yc(e)},useActionState:function(e){return H="useActionState",m(),K(),yc(e)},useOptimistic:function(e,t){return H="useOptimistic",m(),K(),x0(e,t)},useMemoCache:function(e){return m(),Pi(e)},useHostTransitionStatus:Xi,useCacheRefresh:function(){return H="useCacheRefresh",K(),Je().memoizedState},useEffectEvent:function(e){return H="useEffectEvent",m(),K(),vc(e)}};var DT={},MT=new Set,OT=new Set,_T=new Set,jT=new Set,zT=new Set,NT=new Set,VT=new Set,UT=new Set,LT=new Set,BT=new Set;Object.freeze(DT);var qm={enqueueSetState:function(e,t,n){e=e._reactInternals;var a=Mn(e),s=Xo(a);s.payload=t,n!=null&&(Xh(n),s.callback=n),t=Qo(e,s,a),t!==null&&(Da(a,"this.setState()",e),yt(t,e,a),tl(t,e,a))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var a=Mn(e),s=Xo(a);s.tag=ST,s.payload=t,n!=null&&(Xh(n),s.callback=n),t=Qo(e,s,a),t!==null&&(Da(a,"this.replaceState()",e),yt(t,e,a),tl(t,e,a))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=Mn(e),a=Xo(n);a.tag=TT,t!=null&&(Xh(t),a.callback=t),t=Qo(e,a,n),t!==null&&(Da(n,"this.forceUpdate()",e),yt(t,e,n),tl(t,e,n))}},vr=null,Gm=null,Pm=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."),Ot=!1,kT={},HT={},YT={},qT={},br=!1,GT={},Af={},$m={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null},PT=!1,$T=null;$T=new Set;var Oo=!1,_t=!1,Xm=!1,XT=typeof WeakSet=="function"?WeakSet:Set,qt=null,Sr=null,Tr=null,jt=null,bn=!1,ya=null,Ut=!1,tu=8192,aO={getCacheForType:function(e){var t=ct(Ct),n=t.data.get(e);return n===void 0&&(n=e(),t.data.set(e,n)),n},cacheSignal:function(){return ct(Ct).controller.signal},getOwner:function(){return jn}};if(typeof Symbol=="function"&&Symbol.for){var nu=Symbol.for;nu("selector.component"),nu("selector.has_pseudo_class"),nu("selector.role"),nu("selector.test_id"),nu("selector.text")}var oO=[],iO=typeof WeakMap=="function"?WeakMap:Map,Gt=0,Lt=2,Un=4,_o=0,au=1,us=2,Cf=3,pi=4,Df=6,QT=5,$e=Gt,nt=null,Ue=null,Ve=0,Sn=0,Mf=1,cs=2,ou=3,ZT=4,Qm=5,iu=6,Of=7,Zm=8,fs=9,Fe=Sn,Ln=null,mi=!1,Er=!1,Im=!1,Fa=0,pt=_o,yi=0,gi=0,Jm=0,Tn=0,ds=0,su=null,fn=null,_f=!1,jf=0,IT=0,JT=300,zf=1/0,FT=500,ru=null,St=null,vi=null,Nf=0,Fm=1,Km=2,KT=3,bi=0,WT=1,eE=2,tE=3,nE=4,Vf=5,zt=0,Si=null,xr=null,ga=0,Wm=0,ey=-0,ty=null,aE=null,oE=null,va=Nf,iE=null,sO=50,lu=0,ny=null,ay=!1,Uf=!1,rO=50,hs=0,uu=null,wr=!1,Lf=null,sE=!1,rE=new Set,lO={},Bf=null,Rr=null,oy=!1,iy=!1,kf=!1,sy=!1,Ti=0,ry={};(function(){for(var e=0;e<vm.length;e++){var t=vm[e],n=t.toLowerCase();t=t[0].toUpperCase()+t.slice(1),la(n,"on"+t)}la(L1,"onAnimationEnd"),la(B1,"onAnimationIteration"),la(k1,"onAnimationStart"),la("dblclick","onDoubleClick"),la("focusin","onFocus"),la("focusout","onBlur"),la(LM,"onTransitionRun"),la(BM,"onTransitionStart"),la(kM,"onTransitionCancel"),la(H1,"onTransitionEnd")})(),_e("onMouseEnter",["mouseout","mouseover"]),_e("onMouseLeave",["mouseout","mouseover"]),_e("onPointerEnter",["pointerout","pointerover"]),_e("onPointerLeave",["pointerout","pointerover"]),Pe("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),Pe("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),Pe("onBeforeInput",["compositionend","keypress","textInput","paste"]),Pe("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),Pe("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),Pe("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var cu="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(" "),ly=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(cu)),Hf="_reactListening"+Math.random().toString(36).slice(2),lE=!1,uE=!1,Yf=!1,cE=!1,qf=!1,Gf=!1,fE=!1,Pf={},uO=/\r\n?/g,cO=/\u0000|\uFFFD/g,ps="http://www.w3.org/1999/xlink",uy="http://www.w3.org/XML/1998/namespace",fO="javascript:throw new Error('React form unexpectedly submitted.')",dO="suppressHydrationWarning",ms="&",$f="/&",fu="$",du="/$",Ei="$?",ys="$~",Ar="$!",hO="html",pO="body",mO="head",cy="F!",dE="F",hE="loading",yO="style",jo=0,Cr=1,Xf=2,fy=null,dy=null,pE={dialog:!0,webview:!0},hy=null,hu=void 0,mE=typeof setTimeout=="function"?setTimeout:void 0,gO=typeof clearTimeout=="function"?clearTimeout:void 0,gs=-1,yE=typeof Promise=="function"?Promise:void 0,vO=typeof queueMicrotask=="function"?queueMicrotask:typeof yE<"u"?function(e){return yE.resolve(null).then(e).catch(eD)}:mE,py=null,vs=0,pu=1,gE=2,vE=3,ta=4,na=new Map,bE=new Set,zo=Ie.d;Ie.d={f:function(){var e=zo.f(),t=Hs();return e||t},r:function(e){var t=ae(e);t!==null&&t.tag===5&&t.type==="form"?U0(t):zo.r(e)},D:function(e){zo.D(e),MS("dns-prefetch",e,null)},C:function(e,t){zo.C(e,t),MS("preconnect",e,t)},L:function(e,t,n){zo.L(e,t,n);var a=Dr;if(a&&e&&t){var s='link[rel="preload"][as="'+qn(t)+'"]';t==="image"&&n&&n.imageSrcSet?(s+='[imagesrcset="'+qn(n.imageSrcSet)+'"]',typeof n.imageSizes=="string"&&(s+='[imagesizes="'+qn(n.imageSizes)+'"]')):s+='[href="'+qn(e)+'"]';var r=s;switch(t){case"style":r=Gs(e);break;case"script":r=Ps(e)}na.has(r)||(e=Be({rel:"preload",href:t==="image"&&n&&n.imageSrcSet?void 0:e,as:t},n),na.set(r,e),a.querySelector(s)!==null||t==="style"&&a.querySelector(Sl(r))||t==="script"&&a.querySelector(Tl(r))||(t=a.createElement("link"),Xt(t,"link",e),ge(t),a.head.appendChild(t)))}},m:function(e,t){zo.m(e,t);var n=Dr;if(n&&e){var a=t&&typeof t.as=="string"?t.as:"script",s='link[rel="modulepreload"][as="'+qn(a)+'"][href="'+qn(e)+'"]',r=s;switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":r=Ps(e)}if(!na.has(r)&&(e=Be({rel:"modulepreload",href:e},t),na.set(r,e),n.querySelector(s)===null)){switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(n.querySelector(Tl(r)))return}a=n.createElement("link"),Xt(a,"link",e),ge(a),n.head.appendChild(a)}}},X:function(e,t){zo.X(e,t);var n=Dr;if(n&&e){var a=Oe(n).hoistableScripts,s=Ps(e),r=a.get(s);r||(r=n.querySelector(Tl(s)),r||(e=Be({src:e,async:!0},t),(t=na.get(s))&&Up(e,t),r=n.createElement("script"),ge(r),Xt(r,"link",e),n.head.appendChild(r)),r={type:"script",instance:r,count:1,state:null},a.set(s,r))}},S:function(e,t,n){zo.S(e,t,n);var a=Dr;if(a&&e){var s=Oe(a).hoistableStyles,r=Gs(e);t=t||"default";var c=s.get(r);if(!c){var d={loading:vs,preload:null};if(c=a.querySelector(Sl(r)))d.loading=pu|ta;else{e=Be({rel:"stylesheet",href:e,"data-precedence":t},n),(n=na.get(r))&&Vp(e,n);var y=c=a.createElement("link");ge(y),Xt(y,"link",e),y._p=new Promise(function(b,z){y.onload=b,y.onerror=z}),y.addEventListener("load",function(){d.loading|=pu}),y.addEventListener("error",function(){d.loading|=gE}),d.loading|=ta,Hc(c,t,a)}c={type:"stylesheet",instance:c,count:1,state:d},s.set(r,c)}}},M:function(e,t){zo.M(e,t);var n=Dr;if(n&&e){var a=Oe(n).hoistableScripts,s=Ps(e),r=a.get(s);r||(r=n.querySelector(Tl(s)),r||(e=Be({src:e,async:!0,type:"module"},t),(t=na.get(s))&&Up(e,t),r=n.createElement("script"),ge(r),Xt(r,"link",e),n.head.appendChild(r)),r={type:"script",instance:r,count:1,state:null},a.set(s,r))}}};var Dr=typeof document>"u"?null:document,Qf=null,bO=6e4,SO=800,TO=500,my=0,yy=null,Zf=null,bs=VD,mu={$$typeof:qa,Provider:null,Consumer:null,_currentValue:bs,_currentValue2:bs,_threadCount:0},SE="%c%s%c",TE="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",EE="",If=" ",EO=Function.prototype.bind,xE=!1,wE=null,RE=null,AE=null,CE=null,DE=null,ME=null,OE=null,_E=null,jE=null,zE=null;wE=function(e,t,n,a){t=o(e,t),t!==null&&(n=i(t.memoizedState,n,0,a),t.memoizedState=n,t.baseState=n,e.memoizedProps=Be({},e.memoizedProps),n=Ft(e,2),n!==null&&yt(n,e,2))},RE=function(e,t,n){t=o(e,t),t!==null&&(n=f(t.memoizedState,n,0),t.memoizedState=n,t.baseState=n,e.memoizedProps=Be({},e.memoizedProps),n=Ft(e,2),n!==null&&yt(n,e,2))},AE=function(e,t,n,a){t=o(e,t),t!==null&&(n=l(t.memoizedState,n,a),t.memoizedState=n,t.baseState=n,e.memoizedProps=Be({},e.memoizedProps),n=Ft(e,2),n!==null&&yt(n,e,2))},CE=function(e,t,n){e.pendingProps=i(e.memoizedProps,t,0,n),e.alternate&&(e.alternate.pendingProps=e.pendingProps),t=Ft(e,2),t!==null&&yt(t,e,2)},DE=function(e,t){e.pendingProps=f(e.memoizedProps,t,0),e.alternate&&(e.alternate.pendingProps=e.pendingProps),t=Ft(e,2),t!==null&&yt(t,e,2)},ME=function(e,t,n){e.pendingProps=l(e.memoizedProps,t,n),e.alternate&&(e.alternate.pendingProps=e.pendingProps),t=Ft(e,2),t!==null&&yt(t,e,2)},OE=function(e){var t=Ft(e,2);t!==null&&yt(t,e,2)},_E=function(e){var t=ko(),n=Ft(e,t);n!==null&&yt(n,e,t)},jE=function(e){h=e},zE=function(e){p=e};var Jf=!0,Ff=null,gy=!1,xi=null,wi=null,Ri=null,yu=new Map,gu=new Map,Ai=[],xO="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(" "),Kf=null;if($c.prototype.render=qp.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error("Cannot update an unmounted root.");var n=arguments;typeof n[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()."):V(n[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 n[1]<"u"&&console.error("You passed a second argument to root.render(...) but it only accepts one argument."),n=e;var a=t.current,s=Mn(a);Lp(a,s,n,t,null,null)},$c.prototype.unmount=qp.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;($e&(Lt|Un))!==Gt&&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."),Lp(e.current,2,null,e,null,null),Hs(),t[ai]=null}},$c.prototype.unstable_scheduleHydration=function(e){if(e){var t=mt();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Ai.length&&t!==0&&t<Ai[n].priority;n++);Ai.splice(n,0,e),n===0&&GS(e)}},function(){var e=Gp.version;if(e!=="19.2.5")throw Error(`Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:
269
+ - react: `+(e+`
270
+ - react-dom: 19.2.5
271
+ 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"),Ie.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=ne(t),e=e!==null?le(e):null,e=e===null?null:e.stateNode,e},!function(){var e={bundleType:1,version:"19.2.5",rendererPackageName:"react-dom",currentDispatcherRef:Y,reconcilerVersion:"19.2.5"};return e.overrideHookState=wE,e.overrideHookStateDeletePath=RE,e.overrideHookStateRenamePath=AE,e.overrideProps=CE,e.overridePropsDeletePath=DE,e.overridePropsRenamePath=ME,e.scheduleUpdate=OE,e.scheduleRetry=_E,e.setErrorHandler=jE,e.setSuspenseHandler=zE,e.scheduleRefresh=A,e.scheduleRoot=w,e.setRefreshHandler=L,e.getCurrentFiber=AD,qr(e)}()&&Qa&&window.top===window.self&&(-1<navigator.userAgent.indexOf("Chrome")&&navigator.userAgent.indexOf("Edge")===-1||-1<navigator.userAgent.indexOf("Firefox"))){var NE=window.location.protocol;/^(https?|file):$/.test(NE)&&console.info("%cDownload the React DevTools for a better development experience: https://react.dev/link/react-devtools"+(NE==="file:"?`
272
+ You might need to use a local HTTP server (instead of file://): https://react.dev/link/react-devtools-faq`:""),"font-weight:bold")}vu.createRoot=function(e,t){if(!V(e))throw Error("Target container is not a DOM element.");QS(e);var n=!1,a="",s=P0,r=$0,c=X0;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===Ya&&console.error(`You passed a JSX element to createRoot. You probably meant to call root.render instead. Example usage:
273
+
274
+ let root = createRoot(domContainer);
275
+ root.render(<App />);`),t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(a=t.identifierPrefix),t.onUncaughtError!==void 0&&(s=t.onUncaughtError),t.onCaughtError!==void 0&&(r=t.onCaughtError),t.onRecoverableError!==void 0&&(c=t.onRecoverableError)),t=US(e,1,!1,null,null,n,a,null,s,r,c,XS),e[ai]=t.current,xp(e),new qp(t)},vu.hydrateRoot=function(e,t,n){if(!V(e))throw Error("Target container is not a DOM element.");QS(e),t===void 0&&console.error("Must provide initial children as second argument to hydrateRoot. Example usage: hydrateRoot(domContainer, <App />)");var a=!1,s="",r=P0,c=$0,d=X0,y=null;return n!=null&&(n.unstable_strictMode===!0&&(a=!0),n.identifierPrefix!==void 0&&(s=n.identifierPrefix),n.onUncaughtError!==void 0&&(r=n.onUncaughtError),n.onCaughtError!==void 0&&(c=n.onCaughtError),n.onRecoverableError!==void 0&&(d=n.onRecoverableError),n.formState!==void 0&&(y=n.formState)),t=US(e,1,!0,t,n??null,a,s,y,r,c,d,XS),t.context=LS(null),n=t.current,a=Mn(n),a=ra(a),s=Xo(a),s.callback=null,Qo(n,s,a),Da(a,"hydrateRoot()",null),n=a,t.current.lanes=n,sa(t,n),ka(t),e[ai]=t.current,xp(e),new $c(t)},vu.version="19.2.5",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())}(),vu}var PE;function jO(){return PE||(PE=1,Sy.exports=_O()),Sy.exports}var Aw=jO();const wu={scale:1,x:0,y:0};function Cw(o){return 1-(1-Math.min(1,Math.max(0,o)))**5}function $E(o,i,l){if(l>=1)return{...i};const u=Cw(l);return{scale:o.scale+(i.scale-o.scale)*u,x:o.x+(i.x-o.x)*u,y:o.y+(i.y-o.y)*u}}function wy(o,i){const l=o.getBoundingClientRect(),u=i.getBoundingClientRect(),f=l.width/o.offsetWidth||1;return{x:(u.left-l.left+u.width/2)/f,y:(u.top-l.top+u.height/2)/f}}const zO=3e3;function Dw(o,i){var h,m;const l=[0];for(let S=1;S<o.length;S++){const x=l[S-1],T=o[S].delayMs,v=((h=i==null?void 0:i.steps[S-1])==null?void 0:h.durationMs)??0;l.push(x+Math.max(T,v))}const u=l[l.length-1]??0,f=((m=i==null?void 0:i.steps[o.length-1])==null?void 0:m.durationMs)??0,p=u+Math.max(zO,f);return{stepStartTimesMs:l,totalDurationMs:p}}function Xy(o,i,l){for(let u=i.length-1;u>=0;u--)if(o>=i[u])return Math.min(u,l);return 0}const NO=3e3;function Mw(o,i,l){var p;const u=(p=i==null?void 0:i.steps[o])==null?void 0:p.durationMs;if(u!=null&&u>0)return u;const f=l[o+1];return f?f.delayMs:NO}const XE=/^[a-z0-9]+(-[a-z0-9]+)*$/;function VO(o){var u;const i=[],l=new Map;for(let f=0;f<o.length;f++){const p=(u=o[f])==null?void 0:u.shot;if(p===void 0)continue;if(!XE.test(p))throw new Error(`step ${f} declares shot "${p}", which is not kebab-case (expected ${XE}); it becomes a filename and a URL segment`);const h=l.get(p);if(h!==void 0)throw new Error(`steps ${h} and ${f} both declare shot "${p}"; shot names must be unique within a scenario`);l.set(p,f),i.push({name:p,stepIndex:f})}return i}function UO(o,i){return VO(o).map(({name:l,stepIndex:u})=>{const f=i.stepStartTimesMs[u+1];return{name:l,timeMs:(f??i.totalDurationMs)-1,stepIndex:u}})}const Tt=450,Ow=50,_w=1500,Du=200,ld=600,LO=ld;function Sg(o){let i=o.parentElement;for(;i;){const{overflowY:l}=getComputedStyle(i);if(l==="auto"||l==="scroll")return i;i=i.parentElement}return null}function jw(o){const i=Sg(o);if(!i)return!1;const l=i.getBoundingClientRect(),u=o.getBoundingClientRect();if(u.top>=l.top&&u.bottom<=l.bottom)return!1;const p=window.scrollX,h=window.scrollY;return o.scrollIntoView({block:"center",behavior:"smooth"}),window.scrollTo(p,h),!0}function BO(o){const i=Sg(o);if(!i)return;const l=i.getBoundingClientRect(),u=o.getBoundingClientRect();if(u.top>=l.top&&u.bottom<=l.bottom)return;const p=window.scrollX,h=window.scrollY;o.scrollIntoView({block:"center",behavior:"instant"}),window.scrollTo(p,h)}const kO="data-cursor-target",HO="data-scroll-target";function Nr(o){return`[${kO}="${o}"]`}function YO(o){return`[${HO}="${o}"]`}const zw="scenar-embed",Nw=1;function qO(o){return{source:zw,v:Nw,...o}}function GO(o){if(typeof o!="object"||o===null)return!1;const i=o;return i.source===zw&&i.v===Nw}function QE(o){return typeof o=="number"&&Number.isFinite(o)}function PO(o){if(!GO(o))return null;const i=o.type;switch(i){case"play":case"pause":case"prefetch":case"destroy":return{type:i};case"seek":return QE(o.timeMs)?{type:i,timeMs:o.timeMs}:null;case"setMuted":return typeof o.muted=="boolean"?{type:i,muted:o.muted}:null;case"setVolume":return QE(o.volume)?{type:i,volume:o.volume}:null;default:return null}}var Ry={exports:{}},bu={},ZE;function $O(){if(ZE)return bu;ZE=1;/**
276
+ * @license React
277
+ * react-jsx-runtime.development.js
278
+ *
279
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
280
+ *
281
+ * This source code is licensed under the MIT license found in the
282
+ * LICENSE file in the root directory of this source tree.
283
+ */return function(){function o(O){if(O==null)return null;if(typeof O=="function")return O.$$typeof===ee?null:O.displayName||O.name||null;if(typeof O=="string")return O;switch(O){case V:return"Fragment";case G:return"Profiler";case B:return"StrictMode";case le:return"Suspense";case ie:return"SuspenseList";case q:return"Activity"}if(typeof O=="object")switch(typeof O.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),O.$$typeof){case L:return"Portal";case F:return O.displayName||"Context";case P:return(O._context.displayName||"Context")+".Consumer";case ne:var te=O.render;return O=O.displayName,O||(O=te.displayName||te.name||"",O=O!==""?"ForwardRef("+O+")":"ForwardRef"),O;case I:return te=O.displayName||null,te!==null?te:o(O.type)||"Memo";case X:te=O._payload,O=O._init;try{return o(O(te))}catch{}}return null}function i(O){return""+O}function l(O){try{i(O);var te=!1}catch{te=!0}if(te){te=console;var be=te.error,de=typeof Symbol=="function"&&Symbol.toStringTag&&O[Symbol.toStringTag]||O.constructor.name||"Object";return be.call(te,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",de),i(O)}}function u(O){if(O===V)return"<>";if(typeof O=="object"&&O!==null&&O.$$typeof===X)return"<...>";try{var te=o(O);return te?"<"+te+">":"<...>"}catch{return"<...>"}}function f(){var O=J.A;return O===null?null:O.getOwner()}function p(){return Error("react-stack-top-frame")}function h(O){if(Z.call(O,"key")){var te=Object.getOwnPropertyDescriptor(O,"key").get;if(te&&te.isReactWarning)return!1}return O.key!==void 0}function m(O,te){function be(){Q||(Q=!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)",te))}be.isReactWarning=!0,Object.defineProperty(O,"key",{get:be,configurable:!0})}function S(){var O=o(this.type);return fe[O]||(fe[O]=!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.")),O=this.props.ref,O!==void 0?O:null}function x(O,te,be,de,Xe,pn){var Re=be.ref;return O={$$typeof:A,type:O,key:te,props:be,_owner:de},(Re!==void 0?Re:null)!==null?Object.defineProperty(O,"ref",{enumerable:!1,get:S}):Object.defineProperty(O,"ref",{enumerable:!1,value:null}),O._store={},Object.defineProperty(O._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(O,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(O,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:Xe}),Object.defineProperty(O,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:pn}),Object.freeze&&(Object.freeze(O.props),Object.freeze(O)),O}function T(O,te,be,de,Xe,pn){var Re=te.children;if(Re!==void 0)if(de)if(Se(Re)){for(de=0;de<Re.length;de++)v(Re[de]);Object.freeze&&Object.freeze(Re)}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 v(Re);if(Z.call(te,"key")){Re=o(O);var st=Object.keys(te).filter(function(xn){return xn!=="key"});de=0<st.length?"{key: someKey, "+st.join(": ..., ")+": ...}":"{key: someKey}",Me[Re+de]||(st=0<st.length?"{"+st.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
284
+ let props = %s;
285
+ <%s {...props} />
286
+ React keys must be passed directly to JSX without using spread:
287
+ let props = %s;
288
+ <%s key={someKey} {...props} />`,de,Re,st,Re),Me[Re+de]=!0)}if(Re=null,be!==void 0&&(l(be),Re=""+be),h(te)&&(l(te.key),Re=""+te.key),"key"in te){be={};for(var Et in te)Et!=="key"&&(be[Et]=te[Et])}else be=te;return Re&&m(be,typeof O=="function"?O.displayName||O.name||"Unknown":O),x(O,Re,be,f(),Xe,pn)}function v(O){g(O)?O._store&&(O._store.validated=1):typeof O=="object"&&O!==null&&O.$$typeof===X&&(O._payload.status==="fulfilled"?g(O._payload.value)&&O._payload.value._store&&(O._payload.value._store.validated=1):O._store&&(O._store.validated=1))}function g(O){return typeof O=="object"&&O!==null&&O.$$typeof===A}var w=zu(),A=Symbol.for("react.transitional.element"),L=Symbol.for("react.portal"),V=Symbol.for("react.fragment"),B=Symbol.for("react.strict_mode"),G=Symbol.for("react.profiler"),P=Symbol.for("react.consumer"),F=Symbol.for("react.context"),ne=Symbol.for("react.forward_ref"),le=Symbol.for("react.suspense"),ie=Symbol.for("react.suspense_list"),I=Symbol.for("react.memo"),X=Symbol.for("react.lazy"),q=Symbol.for("react.activity"),ee=Symbol.for("react.client.reference"),J=w.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Z=Object.prototype.hasOwnProperty,Se=Array.isArray,De=console.createTask?console.createTask:function(){return null};w={react_stack_bottom_frame:function(O){return O()}};var Q,fe={},se=w.react_stack_bottom_frame.bind(w,p)(),ve=De(u(p)),Me={};bu.Fragment=V,bu.jsx=function(O,te,be){var de=1e4>J.recentlyCreatedOwnerStacks++;return T(O,te,be,!1,de?Error("react-stack-top-frame"):se,de?De(u(O)):ve)},bu.jsxs=function(O,te,be){var de=1e4>J.recentlyCreatedOwnerStacks++;return T(O,te,be,!0,de?Error("react-stack-top-frame"):se,de?De(u(O)):ve)}}(),bu}var IE;function XO(){return IE||(IE=1,Ry.exports=$O()),Ry.exports}var j=XO();const Vw=C.createContext(null);function QO({currentTimeMs:o,stepStartTimesMs:i,children:l}){return j.jsx(Vw.Provider,{value:{currentTimeMs:o,stepStartTimesMs:i},children:l})}function Md(){return C.useContext(Vw)}const ZO={isVideoExport:!1,hideControls:!1,initialMuted:!0},Uw=C.createContext(ZO);function IO({children:o}){return j.jsx(Uw.Provider,{value:{isVideoExport:!0,hideControls:!0,initialMuted:!1},children:o})}function Od(){return C.useContext(Uw)}var Eu=Rw();const Tg=C.createContext({});function Eg(o){const i=C.useRef(null);return i.current===null&&(i.current=o()),i.current}const JO=typeof window<"u",Lw=JO?C.useLayoutEffect:C.useEffect,_d=C.createContext(null);function xg(o,i){o.indexOf(i)===-1&&o.push(i)}function vd(o,i){const l=o.indexOf(i);l>-1&&o.splice(l,1)}const to=(o,i,l)=>l>i?i:l<o?o:l;function Qy(o,i){return i?`${o}. For more information and steps for solving, visit https://motion.dev/troubleshooting/${i}`:o}let Br=()=>{},Uo=()=>{};typeof process<"u"&&(Br=(o,i,l)=>{!o&&typeof console<"u"&&console.warn(Qy(i,l))},Uo=(o,i,l)=>{if(!o)throw new Error(Qy(i,l))});const Oi={},Bw=o=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(o);function kw(o){return typeof o=="object"&&o!==null}const Hw=o=>/^0[^.\s]+$/u.test(o);function Yw(o){let i;return()=>(i===void 0&&(i=o()),i)}const oa=o=>o,FO=(o,i)=>l=>i(o(l)),Nu=(...o)=>o.reduce(FO),Mu=(o,i,l)=>{const u=i-o;return u===0?1:(l-o)/u};class wg{constructor(){this.subscriptions=[]}add(i){return xg(this.subscriptions,i),()=>vd(this.subscriptions,i)}notify(i,l,u){const f=this.subscriptions.length;if(f)if(f===1)this.subscriptions[0](i,l,u);else for(let p=0;p<f;p++){const h=this.subscriptions[p];h&&h(i,l,u)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const En=o=>o*1e3,aa=o=>o/1e3;function qw(o,i){return i?o*(1e3/i):0}const JE=new Set;function jd(o,i,l){o||JE.has(i)||(console.warn(Qy(i,l)),JE.add(i))}const Gw=(o,i,l)=>(((1-3*l+3*i)*o+(3*l-6*i))*o+3*i)*o,KO=1e-7,WO=12;function e_(o,i,l,u,f){let p,h,m=0;do h=i+(l-i)/2,p=Gw(h,u,f)-o,p>0?l=h:i=h;while(Math.abs(p)>KO&&++m<WO);return h}function Vu(o,i,l,u){if(o===i&&l===u)return oa;const f=p=>e_(p,0,1,o,l);return p=>p===0||p===1?p:Gw(f(p),i,u)}const Pw=o=>i=>i<=.5?o(2*i)/2:(2-o(2*(1-i)))/2,$w=o=>i=>1-o(1-i),Xw=Vu(.33,1.53,.69,.99),Rg=$w(Xw),Qw=Pw(Rg),Zw=o=>o>=1?1:(o*=2)<1?.5*Rg(o):.5*(2-Math.pow(2,-10*(o-1))),Ag=o=>1-Math.sin(Math.acos(o)),Iw=$w(Ag),Jw=Pw(Ag),t_=Vu(.42,0,1,1),n_=Vu(0,0,.58,1),Fw=Vu(.42,0,.58,1),a_=o=>Array.isArray(o)&&typeof o[0]!="number",Kw=o=>Array.isArray(o)&&typeof o[0]=="number",FE={linear:oa,easeIn:t_,easeInOut:Fw,easeOut:n_,circIn:Ag,circInOut:Jw,circOut:Iw,backIn:Rg,backInOut:Qw,backOut:Xw,anticipate:Zw},o_=o=>typeof o=="string",KE=o=>{if(Kw(o)){Uo(o.length===4,"Cubic bezier arrays must contain four numerical values.","cubic-bezier-length");const[i,l,u,f]=o;return Vu(i,l,u,f)}else if(o_(o))return Uo(FE[o]!==void 0,`Invalid easing type '${o}'`,"invalid-easing-type"),FE[o];return o},ed=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function i_(o,i){let l=new Set,u=new Set,f=!1,p=!1;const h=new WeakSet;let m={delta:0,timestamp:0,isProcessing:!1};function S(T){h.has(T)&&(x.schedule(T),o()),T(m)}const x={schedule:(T,v=!1,g=!1)=>{const A=g&&f?l:u;return v&&h.add(T),A.add(T),T},cancel:T=>{u.delete(T),h.delete(T)},process:T=>{if(m=T,f){p=!0;return}f=!0;const v=l;l=u,u=v,l.forEach(S),l.clear(),f=!1,p&&(p=!1,x.process(T))}};return x}const s_=40;function Ww(o,i){let l=!1,u=!0;const f={delta:0,timestamp:0,isProcessing:!1},p=()=>l=!0,h=ed.reduce((P,F)=>(P[F]=i_(p),P),{}),{setup:m,read:S,resolveKeyframes:x,preUpdate:T,update:v,preRender:g,render:w,postRender:A}=h,L=()=>{const P=Oi.useManualTiming,F=P?f.timestamp:performance.now();l=!1,P||(f.delta=u?1e3/60:Math.max(Math.min(F-f.timestamp,s_),1)),f.timestamp=F,f.isProcessing=!0,m.process(f),S.process(f),x.process(f),T.process(f),v.process(f),g.process(f),w.process(f),A.process(f),f.isProcessing=!1,l&&i&&(u=!1,o(L))},V=()=>{l=!0,u=!0,f.isProcessing||o(L)};return{schedule:ed.reduce((P,F)=>{const ne=h[F];return P[F]=(le,ie=!1,I=!1)=>(l||V(),ne.schedule(le,ie,I)),P},{}),cancel:P=>{for(let F=0;F<ed.length;F++)h[ed[F]].cancel(P)},state:f,steps:h}}const{schedule:it,cancel:_i,state:It,steps:Ay}=Ww(typeof requestAnimationFrame<"u"?requestAnimationFrame:oa,!0);let ud;function r_(){ud=void 0}const dn={now:()=>(ud===void 0&&dn.set(It.isProcessing||Oi.useManualTiming?It.timestamp:performance.now()),ud),set:o=>{ud=o,queueMicrotask(r_)}},eR=o=>i=>typeof i=="string"&&i.startsWith(o),tR=eR("--"),l_=eR("var(--"),Cg=o=>l_(o)?u_.test(o.split("/*")[0].trim()):!1,u_=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function WE(o){return typeof o!="string"?!1:o.split("/*")[0].includes("var(--")}const kr={test:o=>typeof o=="number",parse:parseFloat,transform:o=>o},Ou={...kr,transform:o=>to(0,1,o)},td={...kr,default:1},Ru=o=>Math.round(o*1e5)/1e5,Dg=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function c_(o){return o==null}const f_=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,Mg=(o,i)=>l=>!!(typeof l=="string"&&f_.test(l)&&l.startsWith(o)||i&&!c_(l)&&Object.prototype.hasOwnProperty.call(l,i)),nR=(o,i,l)=>u=>{if(typeof u!="string")return u;const[f,p,h,m]=u.match(Dg);return{[o]:parseFloat(f),[i]:parseFloat(p),[l]:parseFloat(h),alpha:m!==void 0?parseFloat(m):1}},d_=o=>to(0,255,o),Cy={...kr,transform:o=>Math.round(d_(o))},Es={test:Mg("rgb","red"),parse:nR("red","green","blue"),transform:({red:o,green:i,blue:l,alpha:u=1})=>"rgba("+Cy.transform(o)+", "+Cy.transform(i)+", "+Cy.transform(l)+", "+Ru(Ou.transform(u))+")"};function h_(o){let i="",l="",u="",f="";return o.length>5?(i=o.substring(1,3),l=o.substring(3,5),u=o.substring(5,7),f=o.substring(7,9)):(i=o.substring(1,2),l=o.substring(2,3),u=o.substring(3,4),f=o.substring(4,5),i+=i,l+=l,u+=u,f+=f),{red:parseInt(i,16),green:parseInt(l,16),blue:parseInt(u,16),alpha:f?parseInt(f,16)/255:1}}const Zy={test:Mg("#"),parse:h_,transform:Es.transform},Uu=o=>({test:i=>typeof i=="string"&&i.endsWith(o)&&i.split(" ").length===1,parse:parseFloat,transform:i=>`${i}${o}`}),Ci=Uu("deg"),eo=Uu("%"),pe=Uu("px"),p_=Uu("vh"),m_=Uu("vw"),ex={...eo,parse:o=>eo.parse(o)/100,transform:o=>eo.transform(o*100)},Or={test:Mg("hsl","hue"),parse:nR("hue","saturation","lightness"),transform:({hue:o,saturation:i,lightness:l,alpha:u=1})=>"hsla("+Math.round(o)+", "+eo.transform(Ru(i))+", "+eo.transform(Ru(l))+", "+Ru(Ou.transform(u))+")"},Nt={test:o=>Es.test(o)||Zy.test(o)||Or.test(o),parse:o=>Es.test(o)?Es.parse(o):Or.test(o)?Or.parse(o):Zy.parse(o),transform:o=>typeof o=="string"?o:o.hasOwnProperty("red")?Es.transform(o):Or.transform(o),getAnimatableNone:o=>{const i=Nt.parse(o);return i.alpha=0,Nt.transform(i)}},y_=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function g_(o){var i,l;return isNaN(o)&&typeof o=="string"&&(((i=o.match(Dg))==null?void 0:i.length)||0)+(((l=o.match(y_))==null?void 0:l.length)||0)>0}const aR="number",oR="color",v_="var",b_="var(",tx="${}",S_=/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 Vr(o){const i=o.toString(),l=[],u={color:[],number:[],var:[]},f=[];let p=0;const m=i.replace(S_,S=>(Nt.test(S)?(u.color.push(p),f.push(oR),l.push(Nt.parse(S))):S.startsWith(b_)?(u.var.push(p),f.push(v_),l.push(S)):(u.number.push(p),f.push(aR),l.push(parseFloat(S))),++p,tx)).split(tx);return{values:l,split:m,indexes:u,types:f}}function T_(o){return Vr(o).values}function iR({split:o,types:i}){const l=o.length;return u=>{let f="";for(let p=0;p<l;p++)if(f+=o[p],u[p]!==void 0){const h=i[p];h===aR?f+=Ru(u[p]):h===oR?f+=Nt.transform(u[p]):f+=u[p]}return f}}function E_(o){return iR(Vr(o))}const x_=o=>typeof o=="number"?0:Nt.test(o)?Nt.getAnimatableNone(o):o,w_=(o,i)=>typeof o=="number"?i!=null&&i.trim().endsWith("/")?o:0:x_(o);function R_(o){const i=Vr(o);return iR(i)(i.values.map((u,f)=>w_(u,i.split[f])))}const Ta={test:g_,parse:T_,createTransformer:E_,getAnimatableNone:R_};function Dy(o,i,l){return l<0&&(l+=1),l>1&&(l-=1),l<1/6?o+(i-o)*6*l:l<1/2?i:l<2/3?o+(i-o)*(2/3-l)*6:o}function A_({hue:o,saturation:i,lightness:l,alpha:u}){o/=360,i/=100,l/=100;let f=0,p=0,h=0;if(!i)f=p=h=l;else{const m=l<.5?l*(1+i):l+i-l*i,S=2*l-m;f=Dy(S,m,o+1/3),p=Dy(S,m,o),h=Dy(S,m,o-1/3)}return{red:Math.round(f*255),green:Math.round(p*255),blue:Math.round(h*255),alpha:u}}function bd(o,i){return l=>l>0?i:o}const dt=(o,i,l)=>o+(i-o)*l,My=(o,i,l)=>{const u=o*o,f=l*(i*i-u)+u;return f<0?0:Math.sqrt(f)},C_=[Zy,Es,Or],D_=o=>C_.find(i=>i.test(o));function nx(o){const i=D_(o);if(Br(!!i,`'${o}' is not an animatable color. Use the equivalent color code instead.`,"color-not-animatable"),!i)return!1;let l=i.parse(o);return i===Or&&(l=A_(l)),l}const ax=(o,i)=>{const l=nx(o),u=nx(i);if(!l||!u)return bd(o,i);const f={...l};return p=>(f.red=My(l.red,u.red,p),f.green=My(l.green,u.green,p),f.blue=My(l.blue,u.blue,p),f.alpha=dt(l.alpha,u.alpha,p),Es.transform(f))},Iy=new Set(["none","hidden"]);function M_(o,i){return Iy.has(o)?l=>l<=0?o:i:l=>l>=1?i:o}function O_(o,i){return l=>dt(o,i,l)}function Og(o){return typeof o=="number"?O_:typeof o=="string"?Cg(o)?bd:Nt.test(o)?ax:z_:Array.isArray(o)?sR:typeof o=="object"?Nt.test(o)?ax:__:bd}function sR(o,i){const l=[...o],u=l.length,f=o.map((p,h)=>Og(p)(p,i[h]));return p=>{for(let h=0;h<u;h++)l[h]=f[h](p);return l}}function __(o,i){const l={...o,...i},u={};for(const f in l)o[f]!==void 0&&i[f]!==void 0&&(u[f]=Og(o[f])(o[f],i[f]));return f=>{for(const p in u)l[p]=u[p](f);return l}}function j_(o,i){const l=[],u={color:0,var:0,number:0};for(let f=0;f<i.values.length;f++){const p=i.types[f],h=o.indexes[p][u[p]],m=o.values[h]??0;l[f]=m,u[p]++}return l}const z_=(o,i)=>{const l=Ta.createTransformer(i),u=Vr(o),f=Vr(i);return u.indexes.var.length===f.indexes.var.length&&u.indexes.color.length===f.indexes.color.length&&u.indexes.number.length>=f.indexes.number.length?Iy.has(o)&&!f.values.length||Iy.has(i)&&!u.values.length?M_(o,i):Nu(sR(j_(u,f),f.values),l):(Br(!0,`Complex values '${o}' and '${i}' 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"),bd(o,i))};function rR(o,i,l){return typeof o=="number"&&typeof i=="number"&&typeof l=="number"?dt(o,i,l):Og(o)(o,i)}const N_=o=>{const i=({timestamp:l})=>o(l);return{start:(l=!0)=>it.update(i,l),stop:()=>_i(i),now:()=>It.isProcessing?It.timestamp:dn.now()}},lR=(o,i,l=10)=>{let u="";const f=Math.max(Math.round(i/l),2);for(let p=0;p<f;p++)u+=Math.round(o(p/(f-1))*1e4)/1e4+", ";return`linear(${u.substring(0,u.length-2)})`},Sd=2e4;function _g(o){let i=0;const l=50;let u=o.next(i);for(;!u.done&&i<Sd;)i+=l,u=o.next(i);return i>=Sd?1/0:i}function V_(o,i=100,l){const u=l({...o,keyframes:[0,i]}),f=Math.min(_g(u),Sd);return{type:"keyframes",ease:p=>u.next(f*p).value/i,duration:aa(f)}}const vt={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1};function Jy(o,i){return o*Math.sqrt(1-i*i)}const U_=12;function L_(o,i,l){let u=l;for(let f=1;f<U_;f++)u=u-o(u)/i(u);return u}const Oy=.001;function B_({duration:o=vt.duration,bounce:i=vt.bounce,velocity:l=vt.velocity,mass:u=vt.mass}){let f,p;Br(o<=En(vt.maxDuration),"Spring duration must be 10 seconds or less","spring-duration-limit");let h=1-i;h=to(vt.minDamping,vt.maxDamping,h),o=to(vt.minDuration,vt.maxDuration,aa(o)),h<1?(f=x=>{const T=x*h,v=T*o,g=T-l,w=Jy(x,h),A=Math.exp(-v);return Oy-g/w*A},p=x=>{const v=x*h*o,g=v*l+l,w=Math.pow(h,2)*Math.pow(x,2)*o,A=Math.exp(-v),L=Jy(Math.pow(x,2),h);return(-f(x)+Oy>0?-1:1)*((g-w)*A)/L}):(f=x=>{const T=Math.exp(-x*o),v=(x-l)*o+1;return-Oy+T*v},p=x=>{const T=Math.exp(-x*o),v=(l-x)*(o*o);return T*v});const m=5/o,S=L_(f,p,m);if(o=En(o),isNaN(S))return{stiffness:vt.stiffness,damping:vt.damping,duration:o};{const x=Math.pow(S,2)*u;return{stiffness:x,damping:h*2*Math.sqrt(u*x),duration:o}}}const k_=["duration","bounce"],H_=["stiffness","damping","mass"];function ox(o,i){return i.some(l=>o[l]!==void 0)}function Y_(o){let i={velocity:vt.velocity,stiffness:vt.stiffness,damping:vt.damping,mass:vt.mass,isResolvedFromDuration:!1,...o};if(!ox(o,H_)&&ox(o,k_))if(i.velocity=0,o.visualDuration){const l=o.visualDuration,u=2*Math.PI/(l*1.2),f=u*u,p=2*to(.05,1,1-(o.bounce||0))*Math.sqrt(f);i={...i,mass:vt.mass,stiffness:f,damping:p}}else{const l=B_({...o,velocity:0});i={...i,...l,mass:vt.mass},i.isResolvedFromDuration=!0}return i}function Td(o=vt.visualDuration,i=vt.bounce){const l=typeof o!="object"?{visualDuration:o,keyframes:[0,1],bounce:i}:o;let{restSpeed:u,restDelta:f}=l;const p=l.keyframes[0],h=l.keyframes[l.keyframes.length-1],m={done:!1,value:p},{stiffness:S,damping:x,mass:T,duration:v,velocity:g,isResolvedFromDuration:w}=Y_({...l,velocity:-aa(l.velocity||0)}),A=g||0,L=x/(2*Math.sqrt(S*T)),V=h-p,B=aa(Math.sqrt(S/T)),G=Math.abs(V)<5;u||(u=G?vt.restSpeed.granular:vt.restSpeed.default),f||(f=G?vt.restDelta.granular:vt.restDelta.default);let P,F,ne,le,ie,I;if(L<1)ne=Jy(B,L),le=(A+L*B*V)/ne,P=q=>{const ee=Math.exp(-L*B*q);return h-ee*(le*Math.sin(ne*q)+V*Math.cos(ne*q))},ie=L*B*le+V*ne,I=L*B*V-le*ne,F=q=>Math.exp(-L*B*q)*(ie*Math.sin(ne*q)+I*Math.cos(ne*q));else if(L===1){P=ee=>h-Math.exp(-B*ee)*(V+(A+B*V)*ee);const q=A+B*V;F=ee=>Math.exp(-B*ee)*(B*q*ee-A)}else{const q=B*Math.sqrt(L*L-1);P=Se=>{const De=Math.exp(-L*B*Se),Q=Math.min(q*Se,300);return h-De*((A+L*B*V)*Math.sinh(Q)+q*V*Math.cosh(Q))/q};const ee=(A+L*B*V)/q,J=L*B*ee-V*q,Z=L*B*V-ee*q;F=Se=>{const De=Math.exp(-L*B*Se),Q=Math.min(q*Se,300);return De*(J*Math.sinh(Q)+Z*Math.cosh(Q))}}const X={calculatedDuration:w&&v||null,velocity:q=>En(F(q)),next:q=>{if(!w&&L<1){const J=Math.exp(-L*B*q),Z=Math.sin(ne*q),Se=Math.cos(ne*q),De=h-J*(le*Z+V*Se),Q=En(J*(ie*Z+I*Se));return m.done=Math.abs(Q)<=u&&Math.abs(h-De)<=f,m.value=m.done?h:De,m}const ee=P(q);if(w)m.done=q>=v;else{const J=En(F(q));m.done=Math.abs(J)<=u&&Math.abs(h-ee)<=f}return m.value=m.done?h:ee,m},toString:()=>{const q=Math.min(_g(X),Sd),ee=lR(J=>X.next(q*J).value,q,30);return q+"ms "+ee},toTransition:()=>{}};return X}Td.applyToOptions=o=>{const i=V_(o,100,Td);return o.ease=i.ease,o.duration=En(i.duration),o.type="keyframes",o};const q_=5;function uR(o,i,l){const u=Math.max(i-q_,0);return qw(l-o(u),i-u)}function Fy({keyframes:o,velocity:i=0,power:l=.8,timeConstant:u=325,bounceDamping:f=10,bounceStiffness:p=500,modifyTarget:h,min:m,max:S,restDelta:x=.5,restSpeed:T}){const v=o[0],g={done:!1,value:v},w=I=>m!==void 0&&I<m||S!==void 0&&I>S,A=I=>m===void 0?S:S===void 0||Math.abs(m-I)<Math.abs(S-I)?m:S;let L=l*i;const V=v+L,B=h===void 0?V:h(V);B!==V&&(L=B-v);const G=I=>-L*Math.exp(-I/u),P=I=>B+G(I),F=I=>{const X=G(I),q=P(I);g.done=Math.abs(X)<=x,g.value=g.done?B:q};let ne,le;const ie=I=>{w(g.value)&&(ne=I,le=Td({keyframes:[g.value,A(g.value)],velocity:uR(P,I,g.value),damping:f,stiffness:p,restDelta:x,restSpeed:T}))};return ie(0),{calculatedDuration:null,next:I=>{let X=!1;return!le&&ne===void 0&&(X=!0,F(I),ie(I)),ne!==void 0&&I>=ne?le.next(I-ne):(!X&&F(I),g)}}}function G_(o,i,l){const u=[],f=l||Oi.mix||rR,p=o.length-1;for(let h=0;h<p;h++){let m=f(o[h],o[h+1]);if(i){const S=Array.isArray(i)?i[h]||oa:i;m=Nu(S,m)}u.push(m)}return u}function P_(o,i,{clamp:l=!0,ease:u,mixer:f}={}){const p=o.length;if(Uo(p===i.length,"Both input and output ranges must be the same length","range-length"),p===1)return()=>i[0];if(p===2&&i[0]===i[1])return()=>i[1];const h=o[0]===o[1];o[0]>o[p-1]&&(o=[...o].reverse(),i=[...i].reverse());const m=G_(i,u,f),S=m.length,x=T=>{if(h&&T<o[0])return i[0];let v=0;if(S>1)for(;v<o.length-2&&!(T<o[v+1]);v++);const g=Mu(o[v],o[v+1],T);return m[v](g)};return l?T=>x(to(o[0],o[p-1],T)):x}function $_(o,i){const l=o[o.length-1];for(let u=1;u<=i;u++){const f=Mu(0,i,u);o.push(dt(l,1,f))}}function X_(o){const i=[0];return $_(i,o.length-1),i}function Q_(o,i){return o.map(l=>l*i)}function Z_(o,i){return o.map(()=>i||Fw).splice(0,o.length-1)}function _r({duration:o=300,keyframes:i,times:l,ease:u="easeInOut"}){const f=a_(u)?u.map(KE):KE(u),p={done:!1,value:i[0]},h=Q_(l&&l.length===i.length?l:X_(i),o),m=P_(h,i,{ease:Array.isArray(f)?f:Z_(i,f)});return{calculatedDuration:o,next:S=>(p.value=m(S),p.done=S>=o,p)}}const I_=o=>o!==null;function zd(o,{repeat:i,repeatType:l="loop"},u,f=1){const p=o.filter(I_),m=f<0||i&&l!=="loop"&&i%2===1?0:p.length-1;return!m||u===void 0?p[m]:u}const J_={decay:Fy,inertia:Fy,tween:_r,keyframes:_r,spring:Td};function cR(o){typeof o.type=="string"&&(o.type=J_[o.type])}class jg{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(i=>{this.resolve=i})}notifyFinished(){this.resolve()}then(i,l){return this.finished.then(i,l)}}const F_=o=>o/100;class Ed extends jg{constructor(i){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.delayState={done:!1,value:void 0},this.stop=()=>{var u,f;const{motionValue:l}=this.options;l&&l.updatedAt!==dn.now()&&this.tick(dn.now()),this.isStopped=!0,this.state!=="idle"&&(this.teardown(),(f=(u=this.options).onStop)==null||f.call(u))},this.options=i,this.initAnimation(),this.play(),i.autoplay===!1&&this.pause()}initAnimation(){const{options:i}=this;cR(i);const{type:l=_r,repeat:u=0,repeatDelay:f=0,repeatType:p,velocity:h=0}=i;let{keyframes:m}=i;const S=l||_r;S!==_r&&Uo(m.length<=2,`Only two keyframes currently supported with spring and inertia animations. Trying to animate ${m}`,"spring-two-frames"),S!==_r&&typeof m[0]!="number"&&(this.mixKeyframes=Nu(F_,rR(m[0],m[1])),m=[0,100]);const x=S({...i,keyframes:m});p==="mirror"&&(this.mirroredGenerator=S({...i,keyframes:[...m].reverse(),velocity:-h})),x.calculatedDuration===null&&(x.calculatedDuration=_g(x));const{calculatedDuration:T}=x;this.calculatedDuration=T,this.resolvedDuration=T+f,this.totalDuration=this.resolvedDuration*(u+1)-f,this.generator=x}updateTime(i){const l=Math.round(i-this.startTime)*this.playbackSpeed;this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=l}tick(i,l=!1){const{generator:u,totalDuration:f,mixKeyframes:p,mirroredGenerator:h,resolvedDuration:m,calculatedDuration:S}=this;if(this.startTime===null)return u.next(0);const{delay:x=0,keyframes:T,repeat:v,repeatType:g,repeatDelay:w,type:A,onUpdate:L,finalKeyframe:V}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,i):this.speed<0&&(this.startTime=Math.min(i-f/this.speed,this.startTime)),l?this.currentTime=i:this.updateTime(i);const B=this.currentTime-x*(this.playbackSpeed>=0?1:-1),G=this.playbackSpeed>=0?B<0:B>f;this.currentTime=Math.max(B,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=f);let P=this.currentTime,F=u;if(v){const I=Math.min(this.currentTime,f)/m;let X=Math.floor(I),q=I%1;!q&&I>=1&&(q=1),q===1&&X--,X=Math.min(X,v+1),!!(X%2)&&(g==="reverse"?(q=1-q,w&&(q-=w/m)):g==="mirror"&&(F=h)),P=to(0,1,q)*m}let ne;G?(this.delayState.value=T[0],ne=this.delayState):ne=F.next(P),p&&!G&&(ne.value=p(ne.value));let{done:le}=ne;!G&&S!==null&&(le=this.playbackSpeed>=0?this.currentTime>=f:this.currentTime<=0);const ie=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&le);return ie&&A!==Fy&&(ne.value=zd(T,this.options,V,this.speed)),L&&L(ne.value),ie&&this.finish(),ne}then(i,l){return this.finished.then(i,l)}get duration(){return aa(this.calculatedDuration)}get iterationDuration(){const{delay:i=0}=this.options||{};return this.duration+aa(i)}get time(){return aa(this.currentTime)}set time(i){i=En(i),this.currentTime=i,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0?this.holdTime=i:this.driver&&(this.startTime=this.driver.now()-i/this.playbackSpeed),this.driver?this.driver.start(!1):(this.startTime=0,this.state="paused",this.holdTime=i,this.tick(i))}getGeneratorVelocity(){const i=this.currentTime;if(i<=0)return this.options.velocity||0;if(this.generator.velocity)return this.generator.velocity(i);const l=this.generator.next(i).value;return uR(u=>this.generator.next(u).value,i,l)}get speed(){return this.playbackSpeed}set speed(i){const l=this.playbackSpeed!==i;l&&this.driver&&this.updateTime(dn.now()),this.playbackSpeed=i,l&&this.driver&&(this.time=aa(this.currentTime))}play(){var f,p;if(this.isStopped)return;const{driver:i=N_,startTime:l}=this.options;this.driver||(this.driver=i(h=>this.tick(h))),(p=(f=this.options).onPlay)==null||p.call(f);const u=this.driver.now();this.state==="finished"?(this.updateFinished(),this.startTime=u):this.holdTime!==null?this.startTime=u-this.holdTime:this.startTime||(this.startTime=l??u),this.state==="finished"&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(dn.now()),this.holdTime=this.currentTime}complete(){this.state!=="running"&&this.play(),this.state="finished",this.holdTime=null}finish(){var i,l;this.notifyFinished(),this.teardown(),this.state="finished",(l=(i=this.options).onComplete)==null||l.call(i)}cancel(){var i,l;this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),(l=(i=this.options).onCancel)==null||l.call(i)}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(i){return this.startTime=0,this.tick(i,!0)}attachTimeline(i){var l;return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),(l=this.driver)==null||l.stop(),i.observe(this)}}function K_(o){for(let i=1;i<o.length;i++)o[i]??(o[i]=o[i-1])}const xs=o=>o*180/Math.PI,Ky=o=>{const i=xs(Math.atan2(o[1],o[0]));return Wy(i)},W_={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:o=>(Math.abs(o[0])+Math.abs(o[3]))/2,rotate:Ky,rotateZ:Ky,skewX:o=>xs(Math.atan(o[1])),skewY:o=>xs(Math.atan(o[2])),skew:o=>(Math.abs(o[1])+Math.abs(o[2]))/2},Wy=o=>(o=o%360,o<0&&(o+=360),o),ix=Ky,sx=o=>Math.sqrt(o[0]*o[0]+o[1]*o[1]),rx=o=>Math.sqrt(o[4]*o[4]+o[5]*o[5]),e3={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:sx,scaleY:rx,scale:o=>(sx(o)+rx(o))/2,rotateX:o=>Wy(xs(Math.atan2(o[6],o[5]))),rotateY:o=>Wy(xs(Math.atan2(-o[2],o[0]))),rotateZ:ix,rotate:ix,skewX:o=>xs(Math.atan(o[4])),skewY:o=>xs(Math.atan(o[1])),skew:o=>(Math.abs(o[1])+Math.abs(o[4]))/2};function eg(o){return o.includes("scale")?1:0}function tg(o,i){if(!o||o==="none")return eg(i);const l=o.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let u,f;if(l)u=e3,f=l;else{const m=o.match(/^matrix\(([-\d.e\s,]+)\)$/u);u=W_,f=m}if(!f)return eg(i);const p=u[i],h=f[1].split(",").map(n3);return typeof p=="function"?p(h):h[p]}const t3=(o,i)=>{const{transform:l="none"}=getComputedStyle(o);return tg(l,i)};function n3(o){return parseFloat(o.trim())}const Hr=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],Yr=new Set(Hr),lx=o=>o===kr||o===pe,a3=new Set(["x","y","z"]),o3=Hr.filter(o=>!a3.has(o));function i3(o){const i=[];return o3.forEach(l=>{const u=o.getValue(l);u!==void 0&&(i.push([l,u.get()]),u.set(l.startsWith("scale")?1:0))}),i}const Mi={width:({x:o},{paddingLeft:i="0",paddingRight:l="0",boxSizing:u})=>{const f=o.max-o.min;return u==="border-box"?f:f-parseFloat(i)-parseFloat(l)},height:({y:o},{paddingTop:i="0",paddingBottom:l="0",boxSizing:u})=>{const f=o.max-o.min;return u==="border-box"?f:f-parseFloat(i)-parseFloat(l)},top:(o,{top:i})=>parseFloat(i),left:(o,{left:i})=>parseFloat(i),bottom:({y:o},{top:i})=>parseFloat(i)+(o.max-o.min),right:({x:o},{left:i})=>parseFloat(i)+(o.max-o.min),x:(o,{transform:i})=>tg(i,"x"),y:(o,{transform:i})=>tg(i,"y")};Mi.translateX=Mi.x;Mi.translateY=Mi.y;const ws=new Set;let ng=!1,ag=!1,og=!1;function fR(){if(ag){const o=Array.from(ws).filter(u=>u.needsMeasurement),i=new Set(o.map(u=>u.element)),l=new Map;i.forEach(u=>{const f=i3(u);f.length&&(l.set(u,f),u.render())}),o.forEach(u=>u.measureInitialState()),i.forEach(u=>{u.render();const f=l.get(u);f&&f.forEach(([p,h])=>{var m;(m=u.getValue(p))==null||m.set(h)})}),o.forEach(u=>u.measureEndState()),o.forEach(u=>{u.suspendedScrollY!==void 0&&window.scrollTo(0,u.suspendedScrollY)})}ag=!1,ng=!1,ws.forEach(o=>o.complete(og)),ws.clear()}function dR(){ws.forEach(o=>{o.readKeyframes(),o.needsMeasurement&&(ag=!0)})}function s3(){og=!0,dR(),fR(),og=!1}class zg{constructor(i,l,u,f,p,h=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...i],this.onComplete=l,this.name=u,this.motionValue=f,this.element=p,this.isAsync=h}scheduleResolve(){this.state="scheduled",this.isAsync?(ws.add(this),ng||(ng=!0,it.read(dR),it.resolveKeyframes(fR))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:i,name:l,element:u,motionValue:f}=this;if(i[0]===null){const p=f==null?void 0:f.get(),h=i[i.length-1];if(p!==void 0)i[0]=p;else if(u&&l){const m=u.readValue(l,h);m!=null&&(i[0]=m)}i[0]===void 0&&(i[0]=h),f&&p===void 0&&f.set(i[0])}K_(i)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(i=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,i),ws.delete(this)}cancel(){this.state==="scheduled"&&(ws.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}}const r3=o=>o.startsWith("--");function hR(o,i,l){r3(i)?o.style.setProperty(i,l):o.style[i]=l}const l3={};function pR(o,i){const l=Yw(o);return()=>l3[i]??l()}const u3=pR(()=>window.ScrollTimeline!==void 0,"scrollTimeline"),mR=pR(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),xu=([o,i,l,u])=>`cubic-bezier(${o}, ${i}, ${l}, ${u})`,ux={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:xu([0,.65,.55,1]),circOut:xu([.55,0,1,.45]),backIn:xu([.31,.01,.66,-.59]),backOut:xu([.33,1.53,.69,.99])};function yR(o,i){if(o)return typeof o=="function"?mR()?lR(o,i):"ease-out":Kw(o)?xu(o):Array.isArray(o)?o.map(l=>yR(l,i)||ux.easeOut):ux[o]}function c3(o,i,l,{delay:u=0,duration:f=300,repeat:p=0,repeatType:h="loop",ease:m="easeOut",times:S}={},x=void 0){const T={[i]:l};S&&(T.offset=S);const v=yR(m,f);Array.isArray(v)&&(T.easing=v);const g={delay:u,duration:f,easing:Array.isArray(v)?"linear":v,fill:"both",iterations:p+1,direction:h==="reverse"?"alternate":"normal"};return x&&(g.pseudoElement=x),o.animate(T,g)}function gR(o){return typeof o=="function"&&"applyToOptions"in o}function f3({type:o,...i}){return gR(o)&&mR()?o.applyToOptions(i):(i.duration??(i.duration=300),i.ease??(i.ease="easeOut"),i)}class vR extends jg{constructor(i){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!i)return;const{element:l,name:u,keyframes:f,pseudoElement:p,allowFlatten:h=!1,finalKeyframe:m,onComplete:S}=i;this.isPseudoElement=!!p,this.allowFlatten=h,this.options=i,Uo(typeof i.type!="string",`Mini animate() doesn't support "type" as a string.`,"mini-spring");const x=f3(i);this.animation=c3(l,u,f,x,p),x.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!p){const T=zd(f,this.options,m,this.speed);this.updateMotionValue&&this.updateMotionValue(T),hR(l,u,T),this.animation.cancel()}S==null||S(),this.notifyFinished()}}play(){this.isStopped||(this.manualStartTime=null,this.animation.play(),this.state==="finished"&&this.updateFinished())}pause(){this.animation.pause()}complete(){var i,l;(l=(i=this.animation).finish)==null||l.call(i)}cancel(){try{this.animation.cancel()}catch{}}stop(){if(this.isStopped)return;this.isStopped=!0;const{state:i}=this;i==="idle"||i==="finished"||(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){var l,u,f;const i=(l=this.options)==null?void 0:l.element;!this.isPseudoElement&&(i!=null&&i.isConnected)&&((f=(u=this.animation).commitStyles)==null||f.call(u))}get duration(){var l,u;const i=((u=(l=this.animation.effect)==null?void 0:l.getComputedTiming)==null?void 0:u.call(l).duration)||0;return aa(Number(i))}get iterationDuration(){const{delay:i=0}=this.options||{};return this.duration+aa(i)}get time(){return aa(Number(this.animation.currentTime)||0)}set time(i){const l=this.finishedTime!==null;this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=En(i),l&&this.animation.pause()}get speed(){return this.animation.playbackRate}set speed(i){i<0&&(this.finishedTime=null),this.animation.playbackRate=i}get state(){return this.finishedTime!==null?"finished":this.animation.playState}get startTime(){return this.manualStartTime??Number(this.animation.startTime)}set startTime(i){this.manualStartTime=this.animation.startTime=i}attachTimeline({timeline:i,rangeStart:l,rangeEnd:u,observe:f}){var p;return this.allowFlatten&&((p=this.animation.effect)==null||p.updateTiming({easing:"linear"})),this.animation.onfinish=null,i&&u3()?(this.animation.timeline=i,l&&(this.animation.rangeStart=l),u&&(this.animation.rangeEnd=u),oa):f(this)}}const bR={anticipate:Zw,backInOut:Qw,circInOut:Jw};function d3(o){return o in bR}function h3(o){typeof o.ease=="string"&&d3(o.ease)&&(o.ease=bR[o.ease])}const _y=10;class p3 extends vR{constructor(i){h3(i),cR(i),super(i),i.startTime!==void 0&&i.autoplay!==!1&&(this.startTime=i.startTime),this.options=i}updateMotionValue(i){const{motionValue:l,onUpdate:u,onComplete:f,element:p,...h}=this.options;if(!l)return;if(i!==void 0){l.set(i);return}const m=new Ed({...h,autoplay:!1}),S=Math.max(_y,dn.now()-this.startTime),x=to(0,_y,S-_y),T=m.sample(S).value,{name:v}=this.options;p&&v&&hR(p,v,T),l.setWithVelocity(m.sample(Math.max(0,S-x)).value,T,x),m.stop()}}const cx=(o,i)=>i==="zIndex"?!1:!!(typeof o=="number"||Array.isArray(o)||typeof o=="string"&&(Ta.test(o)||o==="0")&&!o.startsWith("url("));function m3(o){const i=o[0];if(o.length===1)return!0;for(let l=0;l<o.length;l++)if(o[l]!==i)return!0}function y3(o,i,l,u){const f=o[0];if(f===null)return!1;if(i==="display"||i==="visibility")return!0;const p=o[o.length-1],h=cx(f,i),m=cx(p,i);return Br(h===m,`You are trying to animate ${i} from "${f}" to "${p}". "${h?p:f}" is not an animatable value.`,"value-not-animatable"),!h||!m?!1:m3(o)||(l==="spring"||gR(l))&&u}function ig(o){o.duration=0,o.type="keyframes"}const SR=new Set(["opacity","clipPath","filter","transform"]),g3=/^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/;function v3(o){for(let i=0;i<o.length;i++)if(typeof o[i]=="string"&&g3.test(o[i]))return!0;return!1}const b3=new Set(["color","backgroundColor","outlineColor","fill","stroke","borderColor","borderTopColor","borderRightColor","borderBottomColor","borderLeftColor"]),S3=Yw(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function T3(o){var v;const{motionValue:i,name:l,repeatDelay:u,repeatType:f,damping:p,type:h,keyframes:m}=o;if(!(((v=i==null?void 0:i.owner)==null?void 0:v.current)instanceof HTMLElement))return!1;const{onUpdate:x,transformTemplate:T}=i.owner.getProps();return S3()&&l&&(SR.has(l)||b3.has(l)&&v3(m))&&(l!=="transform"||!T)&&!x&&!u&&f!=="mirror"&&p!==0&&h!=="inertia"}const E3=40;class x3 extends jg{constructor({autoplay:i=!0,delay:l=0,type:u="keyframes",repeat:f=0,repeatDelay:p=0,repeatType:h="loop",keyframes:m,name:S,motionValue:x,element:T,...v}){var A;super(),this.stop=()=>{var L,V;this._animation&&(this._animation.stop(),(L=this.stopTimeline)==null||L.call(this)),(V=this.keyframeResolver)==null||V.cancel()},this.createdAt=dn.now();const g={autoplay:i,delay:l,type:u,repeat:f,repeatDelay:p,repeatType:h,name:S,motionValue:x,element:T,...v},w=(T==null?void 0:T.KeyframeResolver)||zg;this.keyframeResolver=new w(m,(L,V,B)=>this.onKeyframesResolved(L,V,g,!B),S,x,T),(A=this.keyframeResolver)==null||A.scheduleResolve()}onKeyframesResolved(i,l,u,f){var B,G;this.keyframeResolver=void 0;const{name:p,type:h,velocity:m,delay:S,isHandoff:x,onUpdate:T}=u;this.resolvedAt=dn.now();let v=!0;y3(i,p,h,m)||(v=!1,(Oi.instantAnimations||!S)&&(T==null||T(zd(i,u,l))),i[0]=i[i.length-1],ig(u),u.repeat=0);const w={startTime:f?this.resolvedAt?this.resolvedAt-this.createdAt>E3?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:l,...u,keyframes:i},A=v&&!x&&T3(w),L=(G=(B=w.motionValue)==null?void 0:B.owner)==null?void 0:G.current;let V;if(A)try{V=new p3({...w,element:L})}catch{V=new Ed(w)}else V=new Ed(w);V.finished.then(()=>{this.notifyFinished()}).catch(oa),this.pendingTimeline&&(this.stopTimeline=V.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=V}get finished(){return this._animation?this.animation.finished:this._finished}then(i,l){return this.finished.finally(i).then(()=>{})}get animation(){var i;return this._animation||((i=this.keyframeResolver)==null||i.resume(),s3()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(i){this.animation.time=i}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(i){this.animation.speed=i}get startTime(){return this.animation.startTime}attachTimeline(i){return this._animation?this.stopTimeline=this.animation.attachTimeline(i):this.pendingTimeline=i,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){var i;this._animation&&this.animation.cancel(),(i=this.keyframeResolver)==null||i.cancel()}}function TR(o,i,l,u=0,f=1){const p=Array.from(o).sort((x,T)=>x.sortNodePosition(T)).indexOf(i),h=o.size,m=(h-1)*u;return typeof l=="function"?l(p,h):f===1?p*u:m-p*u}const w3=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function R3(o){const i=w3.exec(o);if(!i)return[,];const[,l,u,f]=i;return[`--${l??u}`,f]}const A3=4;function ER(o,i,l=1){Uo(l<=A3,`Max CSS variable fallback depth detected in property "${o}". This may indicate a circular fallback dependency.`,"max-css-var-depth");const[u,f]=R3(o);if(!u)return;const p=window.getComputedStyle(i).getPropertyValue(u);if(p){const h=p.trim();return Bw(h)?parseFloat(h):h}return Cg(f)?ER(f,i,l+1):f}const C3={type:"spring",stiffness:500,damping:25,restSpeed:10},D3=o=>({type:"spring",stiffness:550,damping:o===0?2*Math.sqrt(550):30,restSpeed:10}),M3={type:"keyframes",duration:.8},O3={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},_3=(o,{keyframes:i})=>i.length>2?M3:Yr.has(o)?o.startsWith("scale")?D3(i[1]):C3:O3;function xR(o,i){if(o!=null&&o.inherit&&i){const{inherit:l,...u}=o;return{...i,...u}}return o}function Ng(o,i){const l=(o==null?void 0:o[i])??(o==null?void 0:o.default)??o;return l!==o?xR(l,o):l}const j3=new Set(["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from","elapsed"]);function z3(o){for(const i in o)if(!j3.has(i))return!0;return!1}const Vg=(o,i,l,u={},f,p)=>h=>{const m=Ng(u,o)||{},S=m.delay||u.delay||0;let{elapsed:x=0}=u;x=x-En(S);const T={keyframes:Array.isArray(l)?l:[null,l],ease:"easeOut",velocity:i.getVelocity(),...m,delay:-x,onUpdate:g=>{i.set(g),m.onUpdate&&m.onUpdate(g)},onComplete:()=>{h(),m.onComplete&&m.onComplete()},name:o,motionValue:i,element:p?void 0:f};z3(m)||Object.assign(T,_3(o,T)),T.duration&&(T.duration=En(T.duration)),T.repeatDelay&&(T.repeatDelay=En(T.repeatDelay)),T.from!==void 0&&(T.keyframes[0]=T.from);let v=!1;if((T.type===!1||T.duration===0&&!T.repeatDelay)&&(ig(T),T.delay===0&&(v=!0)),(Oi.instantAnimations||Oi.skipAnimations||f!=null&&f.shouldSkipAnimations)&&(v=!0,ig(T),T.delay=0),T.allowFlatten=!m.type&&!m.ease,v&&!p&&i.get()!==void 0){const g=zd(T.keyframes,m);if(g!==void 0){it.update(()=>{T.onUpdate(g),T.onComplete()});return}}return m.isSync?new Ed(T):new x3(T)};function fx(o){const i=[{},{}];return o==null||o.values.forEach((l,u)=>{i[0][u]=l.get(),i[1][u]=l.getVelocity()}),i}function Ug(o,i,l,u){if(typeof i=="function"){const[f,p]=fx(u);i=i(l!==void 0?l:o.custom,f,p)}if(typeof i=="string"&&(i=o.variants&&o.variants[i]),typeof i=="function"){const[f,p]=fx(u);i=i(l!==void 0?l:o.custom,f,p)}return i}function Rs(o,i,l){const u=o.getProps();return Ug(u,i,l!==void 0?l:u.custom,o)}const wR=new Set(["width","height","top","left","right","bottom",...Hr]),dx=30,N3=o=>!isNaN(parseFloat(o));class V3{constructor(i,l={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=u=>{var p;const f=dn.now();if(this.updatedAt!==f&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(u),this.current!==this.prev&&((p=this.events.change)==null||p.notify(this.current),this.dependents))for(const h of this.dependents)h.dirty()},this.hasAnimated=!1,this.setCurrent(i),this.owner=l.owner}setCurrent(i){this.current=i,this.updatedAt=dn.now(),this.canTrackVelocity===null&&i!==void 0&&(this.canTrackVelocity=N3(this.current))}setPrevFrameValue(i=this.current){this.prevFrameValue=i,this.prevUpdatedAt=this.updatedAt}onChange(i){return jd(!1,'value.onChange(callback) is deprecated. Switch to value.on("change", callback).'),this.on("change",i)}on(i,l){this.events[i]||(this.events[i]=new wg);const u=this.events[i].add(l);return i==="change"?()=>{u(),it.read(()=>{this.events.change.getSize()||this.stop()})}:u}clearListeners(){for(const i in this.events)this.events[i].clear()}attach(i,l){this.passiveEffect=i,this.stopPassiveEffect=l}set(i){this.passiveEffect?this.passiveEffect(i,this.updateAndNotify):this.updateAndNotify(i)}setWithVelocity(i,l,u){this.set(l),this.prev=void 0,this.prevFrameValue=i,this.prevUpdatedAt=this.updatedAt-u}jump(i,l=!0){this.updateAndNotify(i),this.prev=i,this.prevUpdatedAt=this.prevFrameValue=void 0,l&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){var i;(i=this.events.change)==null||i.notify(this.current)}addDependent(i){this.dependents||(this.dependents=new Set),this.dependents.add(i)}removeDependent(i){this.dependents&&this.dependents.delete(i)}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const i=dn.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||i-this.updatedAt>dx)return 0;const l=Math.min(this.updatedAt-this.prevUpdatedAt,dx);return qw(parseFloat(this.current)-parseFloat(this.prevFrameValue),l)}start(i){return this.stop(),new Promise(l=>{this.hasAnimated=!0,this.animation=i(l),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){var i,l;(i=this.dependents)==null||i.clear(),(l=this.events.destroy)==null||l.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function Ur(o,i){return new V3(o,i)}const sg=o=>Array.isArray(o);function U3(o,i,l){o.hasValue(i)?o.getValue(i).set(l):o.addValue(i,Ur(l))}function L3(o){return sg(o)?o[o.length-1]||0:o}function B3(o,i){const l=Rs(o,i);let{transitionEnd:u={},transition:f={},...p}=l||{};p={...p,...u};for(const h in p){const m=L3(p[h]);U3(o,h,m)}}const Jt=o=>!!(o&&o.getVelocity);function k3(o){return!!(Jt(o)&&o.add)}function rg(o,i){const l=o.getValue("willChange");if(k3(l))return l.add(i);if(!l&&Oi.WillChange){const u=new Oi.WillChange("auto");o.addValue("willChange",u),u.add(i)}}function Lg(o){return o.replace(/([A-Z])/g,i=>`-${i.toLowerCase()}`)}const H3="framerAppearId",RR="data-"+Lg(H3);function AR(o){return o.props[RR]}function Y3({protectedKeys:o,needsAnimating:i},l){const u=o.hasOwnProperty(l)&&i[l]!==!0;return i[l]=!1,u}function CR(o,i,{delay:l=0,transitionOverride:u,type:f}={}){let{transition:p,transitionEnd:h,...m}=i;const S=o.getDefaultTransition();p=p?xR(p,S):S;const x=p==null?void 0:p.reduceMotion;u&&(p=u);const T=[],v=f&&o.animationState&&o.animationState.getState()[f];for(const g in m){const w=o.getValue(g,o.latestValues[g]??null),A=m[g];if(A===void 0||v&&Y3(v,g))continue;const L={delay:l,...Ng(p||{},g)},V=w.get();if(V!==void 0&&!w.isAnimating()&&!Array.isArray(A)&&A===V&&!L.velocity){it.update(()=>w.set(A));continue}let B=!1;if(window.MotionHandoffAnimation){const F=AR(o);if(F){const ne=window.MotionHandoffAnimation(F,g,it);ne!==null&&(L.startTime=ne,B=!0)}}rg(o,g);const G=x??o.shouldReduceMotion;w.start(Vg(g,w,A,G&&wR.has(g)?{type:!1}:L,o,B));const P=w.animation;P&&T.push(P)}if(h){const g=()=>it.update(()=>{h&&B3(o,h)});T.length?Promise.all(T).then(g):g()}return T}function lg(o,i,l={}){var S;const u=Rs(o,i,l.type==="exit"?(S=o.presenceContext)==null?void 0:S.custom:void 0);let{transition:f=o.getDefaultTransition()||{}}=u||{};l.transitionOverride&&(f=l.transitionOverride);const p=u?()=>Promise.all(CR(o,u,l)):()=>Promise.resolve(),h=o.variantChildren&&o.variantChildren.size?(x=0)=>{const{delayChildren:T=0,staggerChildren:v,staggerDirection:g}=f;return q3(o,i,x,T,v,g,l)}:()=>Promise.resolve(),{when:m}=f;if(m){const[x,T]=m==="beforeChildren"?[p,h]:[h,p];return x().then(()=>T())}else return Promise.all([p(),h(l.delay)])}function q3(o,i,l=0,u=0,f=0,p=1,h){const m=[];for(const S of o.variantChildren)S.notify("AnimationStart",i),m.push(lg(S,i,{...h,delay:l+(typeof u=="function"?0:u)+TR(o.variantChildren,S,u,f,p)}).then(()=>S.notify("AnimationComplete",i)));return Promise.all(m)}function G3(o,i,l={}){o.notify("AnimationStart",i);let u;if(Array.isArray(i)){const f=i.map(p=>lg(o,p,l));u=Promise.all(f)}else if(typeof i=="string")u=lg(o,i,l);else{const f=typeof i=="function"?Rs(o,i,l.custom):i;u=Promise.all(CR(o,f,l))}return u.then(()=>{o.notify("AnimationComplete",i)})}const P3={test:o=>o==="auto",parse:o=>o},DR=o=>i=>i.test(o),MR=[kr,pe,eo,Ci,m_,p_,P3],hx=o=>MR.find(DR(o));function $3(o){return typeof o=="number"?o===0:o!==null?o==="none"||o==="0"||Hw(o):!0}const X3=new Set(["brightness","contrast","saturate","opacity"]);function Q3(o){const[i,l]=o.slice(0,-1).split("(");if(i==="drop-shadow")return o;const[u]=l.match(Dg)||[];if(!u)return o;const f=l.replace(u,"");let p=X3.has(i)?1:0;return u!==l&&(p*=100),i+"("+p+f+")"}const Z3=/\b([a-z-]*)\(.*?\)/gu,ug={...Ta,getAnimatableNone:o=>{const i=o.match(Z3);return i?i.map(Q3).join(" "):o}},cg={...Ta,getAnimatableNone:o=>{const i=Ta.parse(o);return Ta.createTransformer(o)(i.map(u=>typeof u=="number"?0:typeof u=="object"?{...u,alpha:1}:u))}},px={...kr,transform:Math.round},I3={rotate:Ci,rotateX:Ci,rotateY:Ci,rotateZ:Ci,scale:td,scaleX:td,scaleY:td,scaleZ:td,skew:Ci,skewX:Ci,skewY:Ci,distance:pe,translateX:pe,translateY:pe,translateZ:pe,x:pe,y:pe,z:pe,perspective:pe,transformPerspective:pe,opacity:Ou,originX:ex,originY:ex,originZ:pe},Bg={borderWidth:pe,borderTopWidth:pe,borderRightWidth:pe,borderBottomWidth:pe,borderLeftWidth:pe,borderRadius:pe,borderTopLeftRadius:pe,borderTopRightRadius:pe,borderBottomRightRadius:pe,borderBottomLeftRadius:pe,width:pe,maxWidth:pe,height:pe,maxHeight:pe,top:pe,right:pe,bottom:pe,left:pe,inset:pe,insetBlock:pe,insetBlockStart:pe,insetBlockEnd:pe,insetInline:pe,insetInlineStart:pe,insetInlineEnd:pe,padding:pe,paddingTop:pe,paddingRight:pe,paddingBottom:pe,paddingLeft:pe,paddingBlock:pe,paddingBlockStart:pe,paddingBlockEnd:pe,paddingInline:pe,paddingInlineStart:pe,paddingInlineEnd:pe,margin:pe,marginTop:pe,marginRight:pe,marginBottom:pe,marginLeft:pe,marginBlock:pe,marginBlockStart:pe,marginBlockEnd:pe,marginInline:pe,marginInlineStart:pe,marginInlineEnd:pe,fontSize:pe,backgroundPositionX:pe,backgroundPositionY:pe,...I3,zIndex:px,fillOpacity:Ou,strokeOpacity:Ou,numOctaves:px},J3={...Bg,color:Nt,backgroundColor:Nt,outlineColor:Nt,fill:Nt,stroke:Nt,borderColor:Nt,borderTopColor:Nt,borderRightColor:Nt,borderBottomColor:Nt,borderLeftColor:Nt,filter:ug,WebkitFilter:ug,mask:cg,WebkitMask:cg},OR=o=>J3[o],F3=new Set([ug,cg]);function _R(o,i){let l=OR(o);return F3.has(l)||(l=Ta),l.getAnimatableNone?l.getAnimatableNone(i):void 0}const K3=new Set(["auto","none","0"]);function W3(o,i,l){let u=0,f;for(;u<o.length&&!f;){const p=o[u];typeof p=="string"&&!K3.has(p)&&Vr(p).values.length&&(f=o[u]),u++}if(f&&l)for(const p of i)o[p]=_R(l,f)}class ej extends zg{constructor(i,l,u,f,p){super(i,l,u,f,p,!0)}readKeyframes(){const{unresolvedKeyframes:i,element:l,name:u}=this;if(!l||!l.current)return;super.readKeyframes();for(let T=0;T<i.length;T++){let v=i[T];if(typeof v=="string"&&(v=v.trim(),Cg(v))){const g=ER(v,l.current);g!==void 0&&(i[T]=g),T===i.length-1&&(this.finalKeyframe=v)}}if(this.resolveNoneKeyframes(),!wR.has(u)||i.length!==2)return;const[f,p]=i,h=hx(f),m=hx(p),S=WE(f),x=WE(p);if(S!==x&&Mi[u]){this.needsMeasurement=!0;return}if(h!==m)if(lx(h)&&lx(m))for(let T=0;T<i.length;T++){const v=i[T];typeof v=="string"&&(i[T]=parseFloat(v))}else Mi[u]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:i,name:l}=this,u=[];for(let f=0;f<i.length;f++)(i[f]===null||$3(i[f]))&&u.push(f);u.length&&W3(i,u,l)}measureInitialState(){const{element:i,unresolvedKeyframes:l,name:u}=this;if(!i||!i.current)return;u==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=Mi[u](i.measureViewportBox(),window.getComputedStyle(i.current)),l[0]=this.measuredOrigin;const f=l[l.length-1];f!==void 0&&i.getValue(u,f).jump(f,!1)}measureEndState(){var m;const{element:i,name:l,unresolvedKeyframes:u}=this;if(!i||!i.current)return;const f=i.getValue(l);f&&f.jump(this.measuredOrigin,!1);const p=u.length-1,h=u[p];u[p]=Mi[l](i.measureViewportBox(),window.getComputedStyle(i.current)),h!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=h),(m=this.removedTransforms)!=null&&m.length&&this.removedTransforms.forEach(([S,x])=>{i.getValue(S).set(x)}),this.resolveNoneKeyframes()}}function jR(o,i,l){if(o==null)return[];if(o instanceof EventTarget)return[o];if(typeof o=="string"){let u=document;const f=(l==null?void 0:l[o])??u.querySelectorAll(o);return f?Array.from(f):[]}return Array.from(o).filter(u=>u!=null)}const zR=(o,i)=>i&&typeof o=="number"?i.transform(o):o;function cd(o){return kw(o)&&"offsetHeight"in o&&!("ownerSVGElement"in o)}const{schedule:kg}=Ww(queueMicrotask,!1),Sa={x:!1,y:!1};function NR(){return Sa.x||Sa.y}function tj(o){return o==="x"||o==="y"?Sa[o]?null:(Sa[o]=!0,()=>{Sa[o]=!1}):Sa.x||Sa.y?null:(Sa.x=Sa.y=!0,()=>{Sa.x=Sa.y=!1})}function VR(o,i){const l=jR(o),u=new AbortController,f={passive:!0,...i,signal:u.signal};return[l,f,()=>u.abort()]}function nj(o){return!(o.pointerType==="touch"||NR())}function aj(o,i,l={}){const[u,f,p]=VR(o,l);return u.forEach(h=>{let m=!1,S=!1,x;const T=()=>{h.removeEventListener("pointerleave",A)},v=V=>{x&&(x(V),x=void 0),T()},g=V=>{m=!1,window.removeEventListener("pointerup",g),window.removeEventListener("pointercancel",g),S&&(S=!1,v(V))},w=()=>{m=!0,window.addEventListener("pointerup",g,f),window.addEventListener("pointercancel",g,f)},A=V=>{if(V.pointerType!=="touch"){if(m){S=!0;return}v(V)}},L=V=>{if(!nj(V))return;S=!1;const B=i(h,V);typeof B=="function"&&(x=B,h.addEventListener("pointerleave",A,f))};h.addEventListener("pointerenter",L,f),h.addEventListener("pointerdown",w,f)}),p}const UR=(o,i)=>i?o===i?!0:UR(o,i.parentElement):!1,Hg=o=>o.pointerType==="mouse"?typeof o.button!="number"||o.button<=0:o.isPrimary!==!1,oj=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function ij(o){return oj.has(o.tagName)||o.isContentEditable===!0}const sj=new Set(["INPUT","SELECT","TEXTAREA"]);function rj(o){return sj.has(o.tagName)||o.isContentEditable===!0}const fd=new WeakSet;function mx(o){return i=>{i.key==="Enter"&&o(i)}}function jy(o,i){o.dispatchEvent(new PointerEvent("pointer"+i,{isPrimary:!0,bubbles:!0}))}const lj=(o,i)=>{const l=o.currentTarget;if(!l)return;const u=mx(()=>{if(fd.has(l))return;jy(l,"down");const f=mx(()=>{jy(l,"up")}),p=()=>jy(l,"cancel");l.addEventListener("keyup",f,i),l.addEventListener("blur",p,i)});l.addEventListener("keydown",u,i),l.addEventListener("blur",()=>l.removeEventListener("keydown",u),i)};function yx(o){return Hg(o)&&!NR()}const gx=new WeakSet;function uj(o,i,l={}){const[u,f,p]=VR(o,l),h=m=>{const S=m.currentTarget;if(!yx(m)||gx.has(m))return;fd.add(S),l.stopPropagation&&gx.add(m);const x=i(S,m),T=(w,A)=>{window.removeEventListener("pointerup",v),window.removeEventListener("pointercancel",g),fd.has(S)&&fd.delete(S),yx(w)&&typeof x=="function"&&x(w,{success:A})},v=w=>{T(w,S===window||S===document||l.useGlobalTarget||UR(S,w.target))},g=w=>{T(w,!1)};window.addEventListener("pointerup",v,f),window.addEventListener("pointercancel",g,f)};return u.forEach(m=>{(l.useGlobalTarget?window:m).addEventListener("pointerdown",h,f),cd(m)&&(m.addEventListener("focus",x=>lj(x,f)),!ij(m)&&!m.hasAttribute("tabindex")&&(m.tabIndex=0))}),p}function Yg(o){return kw(o)&&"ownerSVGElement"in o}const dd=new WeakMap;let Di;const LR=(o,i,l)=>(u,f)=>f&&f[0]?f[0][o+"Size"]:Yg(u)&&"getBBox"in u?u.getBBox()[i]:u[l],cj=LR("inline","width","offsetWidth"),fj=LR("block","height","offsetHeight");function dj({target:o,borderBoxSize:i}){var l;(l=dd.get(o))==null||l.forEach(u=>{u(o,{get width(){return cj(o,i)},get height(){return fj(o,i)}})})}function hj(o){o.forEach(dj)}function pj(){typeof ResizeObserver>"u"||(Di=new ResizeObserver(hj))}function mj(o,i){Di||pj();const l=jR(o);return l.forEach(u=>{let f=dd.get(u);f||(f=new Set,dd.set(u,f)),f.add(i),Di==null||Di.observe(u)}),()=>{l.forEach(u=>{const f=dd.get(u);f==null||f.delete(i),f!=null&&f.size||Di==null||Di.unobserve(u)})}}const hd=new Set;let jr;function yj(){jr=()=>{const o={get width(){return window.innerWidth},get height(){return window.innerHeight}};hd.forEach(i=>i(o))},window.addEventListener("resize",jr)}function gj(o){return hd.add(o),jr||yj(),()=>{hd.delete(o),!hd.size&&typeof jr=="function"&&(window.removeEventListener("resize",jr),jr=void 0)}}function vx(o,i){return typeof o=="function"?gj(o):mj(o,i)}function vj(o){return Yg(o)&&o.tagName==="svg"}const bj=[...MR,Nt,Ta],Sj=o=>bj.find(DR(o)),bx=()=>({translate:0,scale:1,origin:0,originPoint:0}),zr=()=>({x:bx(),y:bx()}),Sx=()=>({min:0,max:0}),Bt=()=>({x:Sx(),y:Sx()}),Tj=new WeakMap;function Nd(o){return o!==null&&typeof o=="object"&&typeof o.start=="function"}function _u(o){return typeof o=="string"||Array.isArray(o)}const qg=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],Gg=["initial",...qg];function Vd(o){return Nd(o.animate)||Gg.some(i=>_u(o[i]))}function BR(o){return!!(Vd(o)||o.variants)}function Ej(o,i,l){for(const u in i){const f=i[u],p=l[u];if(Jt(f))o.addValue(u,f);else if(Jt(p))o.addValue(u,Ur(f,{owner:o}));else if(p!==f)if(o.hasValue(u)){const h=o.getValue(u);h.liveStyle===!0?h.jump(f):h.hasAnimated||h.set(f)}else{const h=o.getStaticValue(u);o.addValue(u,Ur(h!==void 0?h:f,{owner:o}))}}for(const u in l)i[u]===void 0&&o.removeValue(u);return i}const xd={current:null},Pg={current:!1},xj=typeof window<"u";function kR(){if(Pg.current=!0,!!xj)if(window.matchMedia){const o=window.matchMedia("(prefers-reduced-motion)"),i=()=>xd.current=o.matches;o.addEventListener("change",i),i()}else xd.current=!1}const Tx=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];let wd={};function HR(o){wd=o}function wj(){return wd}class Rj{scrapeMotionValuesFromProps(i,l,u){return{}}constructor({parent:i,props:l,presenceContext:u,reducedMotionConfig:f,skipAnimations:p,blockInitialAnimation:h,visualState:m},S={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.shouldSkipAnimations=!1,this.values=new Map,this.KeyframeResolver=zg,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.hasBeenMounted=!1,this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{const w=dn.now();this.renderScheduledAt<w&&(this.renderScheduledAt=w,it.render(this.render,!1,!0))};const{latestValues:x,renderState:T}=m;this.latestValues=x,this.baseTarget={...x},this.initialValues=l.initial?{...x}:{},this.renderState=T,this.parent=i,this.props=l,this.presenceContext=u,this.depth=i?i.depth+1:0,this.reducedMotionConfig=f,this.skipAnimationsConfig=p,this.options=S,this.blockInitialAnimation=!!h,this.isControllingVariants=Vd(l),this.isVariantNode=BR(l),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(i&&i.current);const{willChange:v,...g}=this.scrapeMotionValuesFromProps(l,{},this);for(const w in g){const A=g[w];x[w]!==void 0&&Jt(A)&&A.set(x[w])}}mount(i){var l,u;if(this.hasBeenMounted)for(const f in this.initialValues)(l=this.values.get(f))==null||l.jump(this.initialValues[f]),this.latestValues[f]=this.initialValues[f];this.current=i,Tj.set(i,this),this.projection&&!this.projection.instance&&this.projection.mount(i),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((f,p)=>this.bindToMotionValue(p,f)),this.reducedMotionConfig==="never"?this.shouldReduceMotion=!1:this.reducedMotionConfig==="always"?this.shouldReduceMotion=!0:(Pg.current||kR(),this.shouldReduceMotion=xd.current),jd(this.shouldReduceMotion!==!0,"You have Reduced Motion enabled on your device. Animations may not appear as expected.","reduced-motion-disabled"),this.shouldSkipAnimations=this.skipAnimationsConfig??!1,(u=this.parent)==null||u.addChild(this),this.update(this.props,this.presenceContext),this.hasBeenMounted=!0}unmount(){var i;this.projection&&this.projection.unmount(),_i(this.notifyUpdate),_i(this.render),this.valueSubscriptions.forEach(l=>l()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),(i=this.parent)==null||i.removeChild(this);for(const l in this.events)this.events[l].clear();for(const l in this.features){const u=this.features[l];u&&(u.unmount(),u.isMounted=!1)}this.current=null}addChild(i){this.children.add(i),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(i)}removeChild(i){this.children.delete(i),this.enteringChildren&&this.enteringChildren.delete(i)}bindToMotionValue(i,l){if(this.valueSubscriptions.has(i)&&this.valueSubscriptions.get(i)(),l.accelerate&&SR.has(i)&&this.current instanceof HTMLElement){const{factory:h,keyframes:m,times:S,ease:x,duration:T}=l.accelerate,v=new vR({element:this.current,name:i,keyframes:m,times:S,ease:x,duration:En(T)}),g=h(v);this.valueSubscriptions.set(i,()=>{g(),v.cancel()});return}const u=Yr.has(i);u&&this.onBindTransform&&this.onBindTransform();const f=l.on("change",h=>{this.latestValues[i]=h,this.props.onUpdate&&it.preRender(this.notifyUpdate),u&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});let p;typeof window<"u"&&window.MotionCheckAppearSync&&(p=window.MotionCheckAppearSync(this,i,l)),this.valueSubscriptions.set(i,()=>{f(),p&&p(),l.owner&&l.stop()})}sortNodePosition(i){return!this.current||!this.sortInstanceNodePosition||this.type!==i.type?0:this.sortInstanceNodePosition(this.current,i.current)}updateFeatures(){let i="animation";for(i in wd){const l=wd[i];if(!l)continue;const{isEnabled:u,Feature:f}=l;if(!this.features[i]&&f&&u(this.props)&&(this.features[i]=new f(this)),this.features[i]){const p=this.features[i];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):Bt()}getStaticValue(i){return this.latestValues[i]}setStaticValue(i,l){this.latestValues[i]=l}update(i,l){(i.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=i,this.prevPresenceContext=this.presenceContext,this.presenceContext=l;for(let u=0;u<Tx.length;u++){const f=Tx[u];this.propEventSubscriptions[f]&&(this.propEventSubscriptions[f](),delete this.propEventSubscriptions[f]);const p="on"+f,h=i[p];h&&(this.propEventSubscriptions[f]=this.on(f,h))}this.prevMotionValues=Ej(this,this.scrapeMotionValuesFromProps(i,this.prevProps||{},this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(i){return this.props.variants?this.props.variants[i]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(i){const l=this.getClosestVariantNode();if(l)return l.variantChildren&&l.variantChildren.add(i),()=>l.variantChildren.delete(i)}addValue(i,l){const u=this.values.get(i);l!==u&&(u&&this.removeValue(i),this.bindToMotionValue(i,l),this.values.set(i,l),this.latestValues[i]=l.get())}removeValue(i){this.values.delete(i);const l=this.valueSubscriptions.get(i);l&&(l(),this.valueSubscriptions.delete(i)),delete this.latestValues[i],this.removeValueFromRenderState(i,this.renderState)}hasValue(i){return this.values.has(i)}getValue(i,l){if(this.props.values&&this.props.values[i])return this.props.values[i];let u=this.values.get(i);return u===void 0&&l!==void 0&&(u=Ur(l===null?void 0:l,{owner:this}),this.addValue(i,u)),u}readValue(i,l){let u=this.latestValues[i]!==void 0||!this.current?this.latestValues[i]:this.getBaseTargetFromProps(this.props,i)??this.readValueFromInstance(this.current,i,this.options);return u!=null&&(typeof u=="string"&&(Bw(u)||Hw(u))?u=parseFloat(u):!Sj(u)&&Ta.test(l)&&(u=_R(i,l)),this.setBaseTarget(i,Jt(u)?u.get():u)),Jt(u)?u.get():u}setBaseTarget(i,l){this.baseTarget[i]=l}getBaseTarget(i){var p;const{initial:l}=this.props;let u;if(typeof l=="string"||typeof l=="object"){const h=Ug(this.props,l,(p=this.presenceContext)==null?void 0:p.custom);h&&(u=h[i])}if(l&&u!==void 0)return u;const f=this.getBaseTargetFromProps(this.props,i);return f!==void 0&&!Jt(f)?f:this.initialValues[i]!==void 0&&u===void 0?void 0:this.baseTarget[i]}on(i,l){return this.events[i]||(this.events[i]=new wg),this.events[i].add(l)}notify(i,...l){this.events[i]&&this.events[i].notify(...l)}scheduleRenderMicrotask(){kg.render(this.render)}}class YR extends Rj{constructor(){super(...arguments),this.KeyframeResolver=ej}sortInstanceNodePosition(i,l){return i.compareDocumentPosition(l)&2?1:-1}getBaseTargetFromProps(i,l){const u=i.style;return u?u[l]:void 0}removeValueFromRenderState(i,{vars:l,style:u}){delete l[i],delete u[i]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:i}=this.props;Jt(i)&&(this.childSubscription=i.on("change",l=>{this.current&&(this.current.textContent=`${l}`)}))}}class ji{constructor(i){this.isMounted=!1,this.node=i}update(){}}function qR({top:o,left:i,right:l,bottom:u}){return{x:{min:i,max:l},y:{min:o,max:u}}}function Aj({x:o,y:i}){return{top:i.min,right:o.max,bottom:i.max,left:o.min}}function Cj(o,i){if(!i)return o;const l=i({x:o.left,y:o.top}),u=i({x:o.right,y:o.bottom});return{top:l.y,left:l.x,bottom:u.y,right:u.x}}function zy(o){return o===void 0||o===1}function fg({scale:o,scaleX:i,scaleY:l}){return!zy(o)||!zy(i)||!zy(l)}function Ts(o){return fg(o)||GR(o)||o.z||o.rotate||o.rotateX||o.rotateY||o.skewX||o.skewY}function GR(o){return Ex(o.x)||Ex(o.y)}function Ex(o){return o&&o!=="0%"}function Rd(o,i,l){const u=o-l,f=i*u;return l+f}function xx(o,i,l,u,f){return f!==void 0&&(o=Rd(o,f,u)),Rd(o,l,u)+i}function dg(o,i=0,l=1,u,f){o.min=xx(o.min,i,l,u,f),o.max=xx(o.max,i,l,u,f)}function PR(o,{x:i,y:l}){dg(o.x,i.translate,i.scale,i.originPoint),dg(o.y,l.translate,l.scale,l.originPoint)}const wx=.999999999999,Rx=1.0000000000001;function Dj(o,i,l,u=!1){var m;const f=l.length;if(!f)return;i.x=i.y=1;let p,h;for(let S=0;S<f;S++){p=l[S],h=p.projectionDelta;const{visualElement:x}=p.options;x&&x.props.style&&x.props.style.display==="contents"||(u&&p.options.layoutScroll&&p.scroll&&p!==p.root&&(Wa(o.x,-p.scroll.offset.x),Wa(o.y,-p.scroll.offset.y)),h&&(i.x*=h.x.scale,i.y*=h.y.scale,PR(o,h)),u&&Ts(p.latestValues)&&pd(o,p.latestValues,(m=p.layout)==null?void 0:m.layoutBox))}i.x<Rx&&i.x>wx&&(i.x=1),i.y<Rx&&i.y>wx&&(i.y=1)}function Wa(o,i){o.min+=i,o.max+=i}function Ax(o,i,l,u,f=.5){const p=dt(o.min,o.max,f);dg(o,i,l,p,u)}function Cx(o,i){return typeof o=="string"?parseFloat(o)/100*(i.max-i.min):o}function pd(o,i,l){const u=l??o;Ax(o.x,Cx(i.x,u.x),i.scaleX,i.scale,i.originX),Ax(o.y,Cx(i.y,u.y),i.scaleY,i.scale,i.originY)}function $R(o,i){return qR(Cj(o.getBoundingClientRect(),i))}function Mj(o,i,l){const u=$R(o,l),{scroll:f}=i;return f&&(Wa(u.x,f.offset.x),Wa(u.y,f.offset.y)),u}const Oj={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},_j=Hr.length;function jj(o,i,l){let u="",f=!0;for(let p=0;p<_j;p++){const h=Hr[p],m=o[h];if(m===void 0)continue;let S=!0;if(typeof m=="number")S=m===(h.startsWith("scale")?1:0);else{const x=parseFloat(m);S=h.startsWith("scale")?x===1:x===0}if(!S||l){const x=zR(m,Bg[h]);if(!S){f=!1;const T=Oj[h]||h;u+=`${T}(${x}) `}l&&(i[h]=x)}}return u=u.trim(),l?u=l(i,f?"":u):f&&(u="none"),u}function $g(o,i,l){const{style:u,vars:f,transformOrigin:p}=o;let h=!1,m=!1;for(const S in i){const x=i[S];if(Yr.has(S)){h=!0;continue}else if(tR(S)){f[S]=x;continue}else{const T=zR(x,Bg[S]);S.startsWith("origin")?(m=!0,p[S]=T):u[S]=T}}if(i.transform||(h||l?u.transform=jj(i,o.transform,l):u.transform&&(u.transform="none")),m){const{originX:S="50%",originY:x="50%",originZ:T=0}=p;u.transformOrigin=`${S} ${x} ${T}`}}function XR(o,{style:i,vars:l},u,f){const p=o.style;let h;for(h in i)p[h]=i[h];f==null||f.applyProjectionStyles(p,u);for(h in l)p.setProperty(h,l[h])}function Dx(o,i){return i.max===i.min?0:o/(i.max-i.min)*100}const Su={correct:(o,i)=>{if(!i.target)return o;if(typeof o=="string")if(pe.test(o))o=parseFloat(o);else return o;const l=Dx(o,i.target.x),u=Dx(o,i.target.y);return`${l}% ${u}%`}},zj={correct:(o,{treeScale:i,projectionDelta:l})=>{const u=o,f=Ta.parse(o);if(f.length>5)return u;const p=Ta.createTransformer(o),h=typeof f[0]!="number"?1:0,m=l.x.scale*i.x,S=l.y.scale*i.y;f[0+h]/=m,f[1+h]/=S;const x=dt(m,S,.5);return typeof f[2+h]=="number"&&(f[2+h]/=x),typeof f[3+h]=="number"&&(f[3+h]/=x),p(f)}},hg={borderRadius:{...Su,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:Su,borderTopRightRadius:Su,borderBottomLeftRadius:Su,borderBottomRightRadius:Su,boxShadow:zj};function QR(o,{layout:i,layoutId:l}){return Yr.has(o)||o.startsWith("origin")||(i||l!==void 0)&&(!!hg[o]||o==="opacity")}function Xg(o,i,l){var h;const u=o.style,f=i==null?void 0:i.style,p={};if(!u)return p;for(const m in u)(Jt(u[m])||f&&Jt(f[m])||QR(m,o)||((h=l==null?void 0:l.getValue(m))==null?void 0:h.liveStyle)!==void 0)&&(p[m]=u[m]);return p}function Nj(o){return window.getComputedStyle(o)}class Vj extends YR{constructor(){super(...arguments),this.type="html",this.renderInstance=XR}readValueFromInstance(i,l){var u;if(Yr.has(l))return(u=this.projection)!=null&&u.isProjecting?eg(l):t3(i,l);{const f=Nj(i),p=(tR(l)?f.getPropertyValue(l):f[l])||0;return typeof p=="string"?p.trim():p}}measureInstanceViewportBox(i,{transformPagePoint:l}){return $R(i,l)}build(i,l,u){$g(i,l,u.transformTemplate)}scrapeMotionValuesFromProps(i,l,u){return Xg(i,l,u)}}const Uj={offset:"stroke-dashoffset",array:"stroke-dasharray"},Lj={offset:"strokeDashoffset",array:"strokeDasharray"};function Bj(o,i,l=1,u=0,f=!0){o.pathLength=1;const p=f?Uj:Lj;o[p.offset]=`${-u}`,o[p.array]=`${i} ${l}`}const kj=["offsetDistance","offsetPath","offsetRotate","offsetAnchor"];function ZR(o,{attrX:i,attrY:l,attrScale:u,pathLength:f,pathSpacing:p=1,pathOffset:h=0,...m},S,x,T){if($g(o,m,x),S){o.style.viewBox&&(o.attrs.viewBox=o.style.viewBox);return}o.attrs=o.style,o.style={};const{attrs:v,style:g}=o;v.transform&&(g.transform=v.transform,delete v.transform),(g.transform||v.transformOrigin)&&(g.transformOrigin=v.transformOrigin??"50% 50%",delete v.transformOrigin),g.transform&&(g.transformBox=(T==null?void 0:T.transformBox)??"fill-box",delete v.transformBox);for(const w of kj)v[w]!==void 0&&(g[w]=v[w],delete v[w]);i!==void 0&&(v.x=i),l!==void 0&&(v.y=l),u!==void 0&&(v.scale=u),f!==void 0&&Bj(v,f,p,h,!1)}const IR=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"]),JR=o=>typeof o=="string"&&o.toLowerCase()==="svg";function Hj(o,i,l,u){XR(o,i,void 0,u);for(const f in i.attrs)o.setAttribute(IR.has(f)?f:Lg(f),i.attrs[f])}function FR(o,i,l){const u=Xg(o,i,l);for(const f in o)if(Jt(o[f])||Jt(i[f])){const p=Hr.indexOf(f)!==-1?"attr"+f.charAt(0).toUpperCase()+f.substring(1):f;u[p]=o[f]}return u}class Yj extends YR{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=Bt}getBaseTargetFromProps(i,l){return i[l]}readValueFromInstance(i,l){if(Yr.has(l)){const u=OR(l);return u&&u.default||0}return l=IR.has(l)?l:Lg(l),i.getAttribute(l)}scrapeMotionValuesFromProps(i,l,u){return FR(i,l,u)}build(i,l,u){ZR(i,l,this.isSVGTag,u.transformTemplate,u.style)}renderInstance(i,l,u,f){Hj(i,l,u,f)}mount(i){this.isSVGTag=JR(i.tagName),super.mount(i)}}const qj=Gg.length;function KR(o){if(!o)return;if(!o.isControllingVariants){const l=o.parent?KR(o.parent)||{}:{};return o.props.initial!==void 0&&(l.initial=o.props.initial),l}const i={};for(let l=0;l<qj;l++){const u=Gg[l],f=o.props[u];(_u(f)||f===!1)&&(i[u]=f)}return i}function WR(o,i){if(!Array.isArray(i))return!1;const l=i.length;if(l!==o.length)return!1;for(let u=0;u<l;u++)if(i[u]!==o[u])return!1;return!0}const Gj=[...qg].reverse(),Pj=qg.length;function $j(o){return i=>Promise.all(i.map(({animation:l,options:u})=>G3(o,l,u)))}function Xj(o){let i=$j(o),l=Mx(),u=!0,f=!1;const p=x=>(T,v)=>{var w;const g=Rs(o,v,x==="exit"?(w=o.presenceContext)==null?void 0:w.custom:void 0);if(g){const{transition:A,transitionEnd:L,...V}=g;T={...T,...V,...L}}return T};function h(x){i=x(o)}function m(x){const{props:T}=o,v=KR(o.parent)||{},g=[],w=new Set;let A={},L=1/0;for(let B=0;B<Pj;B++){const G=Gj[B],P=l[G],F=T[G]!==void 0?T[G]:v[G],ne=_u(F),le=G===x?P.isActive:null;le===!1&&(L=B);let ie=F===v[G]&&F!==T[G]&&ne;if(ie&&(u||f)&&o.manuallyAnimateOnMount&&(ie=!1),P.protectedKeys={...A},!P.isActive&&le===null||!F&&!P.prevProp||Nd(F)||typeof F=="boolean")continue;if(G==="exit"&&P.isActive&&le!==!0){P.prevResolvedValues&&(A={...A,...P.prevResolvedValues});continue}const I=Qj(P.prevProp,F);let X=I||G===x&&P.isActive&&!ie&&ne||B>L&&ne,q=!1;const ee=Array.isArray(F)?F:[F];let J=ee.reduce(p(G),{});le===!1&&(J={});const{prevResolvedValues:Z={}}=P,Se={...Z,...J},De=se=>{X=!0,w.has(se)&&(q=!0,w.delete(se)),P.needsAnimating[se]=!0;const ve=o.getValue(se);ve&&(ve.liveStyle=!1)};for(const se in Se){const ve=J[se],Me=Z[se];if(A.hasOwnProperty(se))continue;let O=!1;sg(ve)&&sg(Me)?O=!WR(ve,Me):O=ve!==Me,O?ve!=null?De(se):w.add(se):ve!==void 0&&w.has(se)?De(se):P.protectedKeys[se]=!0}P.prevProp=F,P.prevResolvedValues=J,P.isActive&&(A={...A,...J}),(u||f)&&o.blockInitialAnimation&&(X=!1);const Q=ie&&I;X&&(!Q||q)&&g.push(...ee.map(se=>{const ve={type:G};if(typeof se=="string"&&(u||f)&&!Q&&o.manuallyAnimateOnMount&&o.parent){const{parent:Me}=o,O=Rs(Me,se);if(Me.enteringChildren&&O){const{delayChildren:te}=O.transition||{};ve.delay=TR(Me.enteringChildren,o,te)}}return{animation:se,options:ve}}))}if(w.size){const B={};if(typeof T.initial!="boolean"){const G=Rs(o,Array.isArray(T.initial)?T.initial[0]:T.initial);G&&G.transition&&(B.transition=G.transition)}w.forEach(G=>{const P=o.getBaseTarget(G),F=o.getValue(G);F&&(F.liveStyle=!0),B[G]=P??null}),g.push({animation:B})}let V=!!g.length;return u&&(T.initial===!1||T.initial===T.animate)&&!o.manuallyAnimateOnMount&&(V=!1),u=!1,f=!1,V?i(g):Promise.resolve()}function S(x,T){var g;if(l[x].isActive===T)return Promise.resolve();(g=o.variantChildren)==null||g.forEach(w=>{var A;return(A=w.animationState)==null?void 0:A.setActive(x,T)}),l[x].isActive=T;const v=m(x);for(const w in l)l[w].protectedKeys={};return v}return{animateChanges:m,setActive:S,setAnimateFunction:h,getState:()=>l,reset:()=>{l=Mx(),f=!0}}}function Qj(o,i){return typeof i=="string"?i!==o:Array.isArray(i)?!WR(i,o):!1}function Ss(o=!1){return{isActive:o,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function Mx(){return{animate:Ss(!0),whileInView:Ss(),whileHover:Ss(),whileTap:Ss(),whileDrag:Ss(),whileFocus:Ss(),exit:Ss()}}function pg(o,i){o.min=i.min,o.max=i.max}function ba(o,i){pg(o.x,i.x),pg(o.y,i.y)}function Ox(o,i){o.translate=i.translate,o.scale=i.scale,o.originPoint=i.originPoint,o.origin=i.origin}const eA=1e-4,Zj=1-eA,Ij=1+eA,tA=.01,Jj=0-tA,Fj=0+tA;function hn(o){return o.max-o.min}function Kj(o,i,l){return Math.abs(o-i)<=l}function _x(o,i,l,u=.5){o.origin=u,o.originPoint=dt(i.min,i.max,o.origin),o.scale=hn(l)/hn(i),o.translate=dt(l.min,l.max,o.origin)-o.originPoint,(o.scale>=Zj&&o.scale<=Ij||isNaN(o.scale))&&(o.scale=1),(o.translate>=Jj&&o.translate<=Fj||isNaN(o.translate))&&(o.translate=0)}function Au(o,i,l,u){_x(o.x,i.x,l.x,u?u.originX:void 0),_x(o.y,i.y,l.y,u?u.originY:void 0)}function jx(o,i,l,u=0){const f=u?dt(l.min,l.max,u):l.min;o.min=f+i.min,o.max=o.min+hn(i)}function Wj(o,i,l,u){jx(o.x,i.x,l.x,u==null?void 0:u.x),jx(o.y,i.y,l.y,u==null?void 0:u.y)}function zx(o,i,l,u=0){const f=u?dt(l.min,l.max,u):l.min;o.min=i.min-f,o.max=o.min+hn(i)}function Ad(o,i,l,u){zx(o.x,i.x,l.x,u==null?void 0:u.x),zx(o.y,i.y,l.y,u==null?void 0:u.y)}function Nx(o,i,l,u,f){return o-=i,o=Rd(o,1/l,u),f!==void 0&&(o=Rd(o,1/f,u)),o}function ez(o,i=0,l=1,u=.5,f,p=o,h=o){if(eo.test(i)&&(i=parseFloat(i),i=dt(h.min,h.max,i/100)-h.min),typeof i!="number")return;let m=dt(p.min,p.max,u);o===p&&(m-=i),o.min=Nx(o.min,i,l,m,f),o.max=Nx(o.max,i,l,m,f)}function Vx(o,i,[l,u,f],p,h){ez(o,i[l],i[u],i[f],i.scale,p,h)}const tz=["x","scaleX","originX"],nz=["y","scaleY","originY"];function Ux(o,i,l,u){Vx(o.x,i,tz,l?l.x:void 0,u?u.x:void 0),Vx(o.y,i,nz,l?l.y:void 0,u?u.y:void 0)}function Lx(o){return o.translate===0&&o.scale===1}function nA(o){return Lx(o.x)&&Lx(o.y)}function Bx(o,i){return o.min===i.min&&o.max===i.max}function az(o,i){return Bx(o.x,i.x)&&Bx(o.y,i.y)}function kx(o,i){return Math.round(o.min)===Math.round(i.min)&&Math.round(o.max)===Math.round(i.max)}function aA(o,i){return kx(o.x,i.x)&&kx(o.y,i.y)}function Hx(o){return hn(o.x)/hn(o.y)}function Yx(o,i){return o.translate===i.translate&&o.scale===i.scale&&o.originPoint===i.originPoint}function Ka(o){return[o("x"),o("y")]}function oz(o,i,l){let u="";const f=o.x.translate/i.x,p=o.y.translate/i.y,h=(l==null?void 0:l.z)||0;if((f||p||h)&&(u=`translate3d(${f}px, ${p}px, ${h}px) `),(i.x!==1||i.y!==1)&&(u+=`scale(${1/i.x}, ${1/i.y}) `),l){const{transformPerspective:x,rotate:T,rotateX:v,rotateY:g,skewX:w,skewY:A}=l;x&&(u=`perspective(${x}px) ${u}`),T&&(u+=`rotate(${T}deg) `),v&&(u+=`rotateX(${v}deg) `),g&&(u+=`rotateY(${g}deg) `),w&&(u+=`skewX(${w}deg) `),A&&(u+=`skewY(${A}deg) `)}const m=o.x.scale*i.x,S=o.y.scale*i.y;return(m!==1||S!==1)&&(u+=`scale(${m}, ${S})`),u||"none"}const oA=["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"],iz=oA.length,qx=o=>typeof o=="string"?parseFloat(o):o,Gx=o=>typeof o=="number"||pe.test(o);function sz(o,i,l,u,f,p){f?(o.opacity=dt(0,l.opacity??1,rz(u)),o.opacityExit=dt(i.opacity??1,0,lz(u))):p&&(o.opacity=dt(i.opacity??1,l.opacity??1,u));for(let h=0;h<iz;h++){const m=oA[h];let S=Px(i,m),x=Px(l,m);if(S===void 0&&x===void 0)continue;S||(S=0),x||(x=0),S===0||x===0||Gx(S)===Gx(x)?(o[m]=Math.max(dt(qx(S),qx(x),u),0),(eo.test(x)||eo.test(S))&&(o[m]+="%")):o[m]=x}(i.rotate||l.rotate)&&(o.rotate=dt(i.rotate||0,l.rotate||0,u))}function Px(o,i){return o[i]!==void 0?o[i]:o.borderRadius}const rz=iA(0,.5,Iw),lz=iA(.5,.95,oa);function iA(o,i,l){return u=>u<o?0:u>i?1:l(Mu(o,i,u))}function uz(o,i,l){const u=Jt(o)?o:Ur(o);return u.start(Vg("",u,i,l)),u.animation}function ju(o,i,l,u={passive:!0}){return o.addEventListener(i,l,u),()=>o.removeEventListener(i,l)}const cz=(o,i)=>o.depth-i.depth;class fz{constructor(){this.children=[],this.isDirty=!1}add(i){xg(this.children,i),this.isDirty=!0}remove(i){vd(this.children,i),this.isDirty=!0}forEach(i){this.isDirty&&this.children.sort(cz),this.isDirty=!1,this.children.forEach(i)}}function dz(o,i){const l=dn.now(),u=({timestamp:f})=>{const p=f-l;p>=i&&(_i(u),o(p-i))};return it.setup(u,!0),()=>_i(u)}function md(o){return Jt(o)?o.get():o}class hz{constructor(){this.members=[]}add(i){xg(this.members,i);for(let l=this.members.length-1;l>=0;l--){const u=this.members[l];if(u===i||u===this.lead||u===this.prevLead)continue;const f=u.instance;(!f||f.isConnected===!1)&&!u.snapshot&&(vd(this.members,u),u.unmount())}i.scheduleRender()}remove(i){if(vd(this.members,i),i===this.prevLead&&(this.prevLead=void 0),i===this.lead){const l=this.members[this.members.length-1];l&&this.promote(l)}}relegate(i){var l;for(let u=this.members.indexOf(i)-1;u>=0;u--){const f=this.members[u];if(f.isPresent!==!1&&((l=f.instance)==null?void 0:l.isConnected)!==!1)return this.promote(f),!0}return!1}promote(i,l){var f;const u=this.lead;if(i!==u&&(this.prevLead=u,this.lead=i,i.show(),u)){u.updateSnapshot(),i.scheduleRender();const{layoutDependency:p}=u.options,{layoutDependency:h}=i.options;(p===void 0||p!==h)&&(i.resumeFrom=u,l&&(u.preserveOpacity=!0),u.snapshot&&(i.snapshot=u.snapshot,i.snapshot.latestValues=u.animationValues||u.latestValues),(f=i.root)!=null&&f.isUpdating&&(i.isLayoutDirty=!0)),i.options.crossfade===!1&&u.hide()}}exitAnimationComplete(){this.members.forEach(i=>{var l,u,f,p,h;(u=(l=i.options).onExitComplete)==null||u.call(l),(h=(f=i.resumingFrom)==null?void 0:(p=f.options).onExitComplete)==null||h.call(p)})}scheduleRender(){this.members.forEach(i=>i.instance&&i.scheduleRender(!1))}removeLeadSnapshot(){var i;(i=this.lead)!=null&&i.snapshot&&(this.lead.snapshot=void 0)}}const yd={hasAnimatedSinceResize:!0,hasEverUpdated:!1},Ny=["","X","Y","Z"],pz=1e3;let mz=0;function Vy(o,i,l,u){const{latestValues:f}=i;f[o]&&(l[o]=f[o],i.setStaticValue(o,0),u&&(u[o]=0))}function sA(o){if(o.hasCheckedOptimisedAppear=!0,o.root===o)return;const{visualElement:i}=o.options;if(!i)return;const l=AR(i);if(window.MotionHasOptimisedAnimation(l,"transform")){const{layout:f,layoutId:p}=o.options;window.MotionCancelOptimisedAnimation(l,"transform",it,!(f||p))}const{parent:u}=o;u&&!u.hasCheckedOptimisedAppear&&sA(u)}function rA({attachResizeListener:o,defaultParent:i,measureScroll:l,checkIsScrollRoot:u,resetTransform:f}){return class{constructor(h={},m=i==null?void 0:i()){this.id=mz++,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(vz),this.nodes.forEach(wz),this.nodes.forEach(Rz),this.nodes.forEach(bz)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=h,this.root=m?m.root||m:this,this.path=m?[...m.path,m]:[],this.parent=m,this.depth=m?m.depth+1:0;for(let S=0;S<this.path.length;S++)this.path[S].shouldResetTransform=!0;this.root===this&&(this.nodes=new fz)}addEventListener(h,m){return this.eventHandlers.has(h)||this.eventHandlers.set(h,new wg),this.eventHandlers.get(h).add(m)}notifyListeners(h,...m){const S=this.eventHandlers.get(h);S&&S.notify(...m)}hasListeners(h){return this.eventHandlers.has(h)}mount(h){if(this.instance)return;this.isSVG=Yg(h)&&!vj(h),this.instance=h;const{layoutId:m,layout:S,visualElement:x}=this.options;if(x&&!x.current&&x.mount(h),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(S||m)&&(this.isLayoutDirty=!0),o){let T,v=0;const g=()=>this.root.updateBlockedByResize=!1;it.read(()=>{v=window.innerWidth}),o(h,()=>{const w=window.innerWidth;w!==v&&(v=w,this.root.updateBlockedByResize=!0,T&&T(),T=dz(g,250),yd.hasAnimatedSinceResize&&(yd.hasAnimatedSinceResize=!1,this.nodes.forEach(Qx)))})}m&&this.root.registerSharedNode(m,this),this.options.animate!==!1&&x&&(m||S)&&this.addEventListener("didUpdate",({delta:T,hasLayoutChanged:v,hasRelativeLayoutChanged:g,layout:w})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const A=this.options.transition||x.getDefaultTransition()||Oz,{onLayoutAnimationStart:L,onLayoutAnimationComplete:V}=x.getProps(),B=!this.targetLayout||!aA(this.targetLayout,w),G=!v&&g;if(this.options.layoutRoot||this.resumeFrom||G||v&&(B||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);const P={...Ng(A,"layout"),onPlay:L,onComplete:V};(x.shouldReduceMotion||this.options.layoutRoot)&&(P.delay=0,P.type=!1),this.startAnimation(P),this.setAnimationOrigin(T,G)}else v||Qx(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=w})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const h=this.getStack();h&&h.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),_i(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(Az),this.animationId++)}getTransformTemplate(){const{visualElement:h}=this.options;return h&&h.getProps().transformTemplate}willUpdate(h=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&sA(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let T=0;T<this.path.length;T++){const v=this.path[T];v.shouldResetTransform=!0,(typeof v.latestValues.x=="string"||typeof v.latestValues.y=="string")&&(v.isLayoutDirty=!0),v.updateScroll("snapshot"),v.options.layoutRoot&&v.willUpdate(!1)}const{layoutId:m,layout:S}=this.options;if(m===void 0&&!S)return;const x=this.getTransformTemplate();this.prevTransformTemplateValue=x?x(this.latestValues,""):void 0,this.updateSnapshot(),h&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){const S=this.updateBlockedByResize;this.unblockUpdate(),this.updateBlockedByResize=!1,this.clearAllSnapshots(),S&&this.nodes.forEach(Tz),this.nodes.forEach($x);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(Xx);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(Ez),this.nodes.forEach(xz),this.nodes.forEach(yz),this.nodes.forEach(gz)):this.nodes.forEach(Xx),this.clearAllSnapshots();const m=dn.now();It.delta=to(0,1e3/60,m-It.timestamp),It.timestamp=m,It.isProcessing=!0,Ay.update.process(It),Ay.preRender.process(It),Ay.render.process(It),It.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,kg.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(Sz),this.sharedNodes.forEach(Cz)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,it.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){it.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!hn(this.snapshot.measuredBox.x)&&!hn(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 S=0;S<this.path.length;S++)this.path[S].updateScroll();const h=this.layout;this.layout=this.measure(!1),this.layoutVersion++,this.layoutCorrected||(this.layoutCorrected=Bt()),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:m}=this.options;m&&m.notify("LayoutMeasure",this.layout.layoutBox,h?h.layoutBox:void 0)}updateScroll(h="measure"){let m=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===h&&(m=!1),m&&this.instance){const S=u(this.instance);this.scroll={animationId:this.root.animationId,phase:h,isRoot:S,offset:l(this.instance),wasRoot:this.scroll?this.scroll.isRoot:S}}}resetTransform(){if(!f)return;const h=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,m=this.projectionDelta&&!nA(this.projectionDelta),S=this.getTransformTemplate(),x=S?S(this.latestValues,""):void 0,T=x!==this.prevTransformTemplateValue;h&&this.instance&&(m||Ts(this.latestValues)||T)&&(f(this.instance,x),this.shouldResetTransform=!1,this.scheduleRender())}measure(h=!0){const m=this.measurePageBox();let S=this.removeElementScroll(m);return h&&(S=this.removeTransform(S)),_z(S),{animationId:this.root.animationId,measuredBox:m,layoutBox:S,latestValues:{},source:this.id}}measurePageBox(){var x;const{visualElement:h}=this.options;if(!h)return Bt();const m=h.measureViewportBox();if(!(((x=this.scroll)==null?void 0:x.wasRoot)||this.path.some(jz))){const{scroll:T}=this.root;T&&(Wa(m.x,T.offset.x),Wa(m.y,T.offset.y))}return m}removeElementScroll(h){var S;const m=Bt();if(ba(m,h),(S=this.scroll)!=null&&S.wasRoot)return m;for(let x=0;x<this.path.length;x++){const T=this.path[x],{scroll:v,options:g}=T;T!==this.root&&v&&g.layoutScroll&&(v.wasRoot&&ba(m,h),Wa(m.x,v.offset.x),Wa(m.y,v.offset.y))}return m}applyTransform(h,m=!1,S){var T,v;const x=S||Bt();ba(x,h);for(let g=0;g<this.path.length;g++){const w=this.path[g];!m&&w.options.layoutScroll&&w.scroll&&w!==w.root&&(Wa(x.x,-w.scroll.offset.x),Wa(x.y,-w.scroll.offset.y)),Ts(w.latestValues)&&pd(x,w.latestValues,(T=w.layout)==null?void 0:T.layoutBox)}return Ts(this.latestValues)&&pd(x,this.latestValues,(v=this.layout)==null?void 0:v.layoutBox),x}removeTransform(h){var S;const m=Bt();ba(m,h);for(let x=0;x<this.path.length;x++){const T=this.path[x];if(!Ts(T.latestValues))continue;let v;T.instance&&(fg(T.latestValues)&&T.updateSnapshot(),v=Bt(),ba(v,T.measurePageBox())),Ux(m,T.latestValues,(S=T.snapshot)==null?void 0:S.layoutBox,v)}return Ts(this.latestValues)&&Ux(m,this.latestValues),m}setTargetDelta(h){this.targetDelta=h,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(h){this.options={...this.options,...h,crossfade:h.crossfade!==void 0?h.crossfade:!0}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==It.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(h=!1){var w;const m=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=m.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=m.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=m.isSharedProjectionDirty);const S=!!this.resumingFrom||this!==m;if(!(h||S&&this.isSharedProjectionDirty||this.isProjectionDirty||(w=this.parent)!=null&&w.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:T,layoutId:v}=this.options;if(!this.layout||!(T||v))return;this.resolvedRelativeTargetAt=It.timestamp;const g=this.getClosestProjectingParent();g&&this.linkedParentVersion!==g.layoutVersion&&!g.options.layoutRoot&&this.removeRelativeTarget(),!this.targetDelta&&!this.relativeTarget&&(this.options.layoutAnchor!==!1&&g&&g.layout?this.createRelativeTarget(g,this.layout.layoutBox,g.layout.layoutBox):this.removeRelativeTarget()),!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=Bt(),this.targetWithTransforms=Bt()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),Wj(this.target,this.relativeTarget,this.relativeParent.target,this.options.layoutAnchor||void 0)):this.targetDelta?(this.resumingFrom?this.applyTransform(this.layout.layoutBox,!1,this.target):ba(this.target,this.layout.layoutBox),PR(this.target,this.targetDelta)):ba(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,this.options.layoutAnchor!==!1&&g&&!!g.resumingFrom==!!this.resumingFrom&&!g.options.layoutScroll&&g.target&&this.animationProgress!==1?this.createRelativeTarget(g,this.target,g.target):this.relativeParent=this.relativeTarget=void 0))}getClosestProjectingParent(){if(!(!this.parent||fg(this.parent.latestValues)||GR(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}createRelativeTarget(h,m,S){this.relativeParent=h,this.linkedParentVersion=h.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=Bt(),this.relativeTargetOrigin=Bt(),Ad(this.relativeTargetOrigin,m,S,this.options.layoutAnchor||void 0),ba(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){var A;const h=this.getLead(),m=!!this.resumingFrom||this!==h;let S=!0;if((this.isProjectionDirty||(A=this.parent)!=null&&A.isProjectionDirty)&&(S=!1),m&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(S=!1),this.resolvedRelativeTargetAt===It.timestamp&&(S=!1),S)return;const{layout:x,layoutId:T}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(x||T))return;ba(this.layoutCorrected,this.layout.layoutBox);const v=this.treeScale.x,g=this.treeScale.y;Dj(this.layoutCorrected,this.treeScale,this.path,m),h.layout&&!h.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(h.target=h.layout.layoutBox,h.targetWithTransforms=Bt());const{target:w}=h;if(!w){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(Ox(this.prevProjectionDelta.x,this.projectionDelta.x),Ox(this.prevProjectionDelta.y,this.projectionDelta.y)),Au(this.projectionDelta,this.layoutCorrected,w,this.latestValues),(this.treeScale.x!==v||this.treeScale.y!==g||!Yx(this.projectionDelta.x,this.prevProjectionDelta.x)||!Yx(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",w))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(h=!0){var m;if((m=this.options.visualElement)==null||m.scheduleRender(),h){const S=this.getStack();S&&S.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=zr(),this.projectionDelta=zr(),this.projectionDeltaWithTransform=zr()}setAnimationOrigin(h,m=!1){const S=this.snapshot,x=S?S.latestValues:{},T={...this.latestValues},v=zr();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!m;const g=Bt(),w=S?S.source:void 0,A=this.layout?this.layout.source:void 0,L=w!==A,V=this.getStack(),B=!V||V.members.length<=1,G=!!(L&&!B&&this.options.crossfade===!0&&!this.path.some(Mz));this.animationProgress=0;let P;this.mixTargetDelta=F=>{const ne=F/1e3;Zx(v.x,h.x,ne),Zx(v.y,h.y,ne),this.setTargetDelta(v),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(Ad(g,this.layout.layoutBox,this.relativeParent.layout.layoutBox,this.options.layoutAnchor||void 0),Dz(this.relativeTarget,this.relativeTargetOrigin,g,ne),P&&az(this.relativeTarget,P)&&(this.isProjectionDirty=!1),P||(P=Bt()),ba(P,this.relativeTarget)),L&&(this.animationValues=T,sz(T,x,this.latestValues,ne,G,B)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=ne},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(h){var m,S,x;this.notifyListeners("animationStart"),(m=this.currentAnimation)==null||m.stop(),(x=(S=this.resumingFrom)==null?void 0:S.currentAnimation)==null||x.stop(),this.pendingAnimation&&(_i(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=it.update(()=>{yd.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=Ur(0)),this.motionValue.jump(0,!1),this.currentAnimation=uz(this.motionValue,[0,1e3],{...h,velocity:0,isSync:!0,onUpdate:T=>{this.mixTargetDelta(T),h.onUpdate&&h.onUpdate(T)},onStop:()=>{},onComplete:()=>{h.onComplete&&h.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const h=this.getStack();h&&h.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(pz),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const h=this.getLead();let{targetWithTransforms:m,target:S,layout:x,latestValues:T}=h;if(!(!m||!S||!x)){if(this!==h&&this.layout&&x&&lA(this.options.animationType,this.layout.layoutBox,x.layoutBox)){S=this.target||Bt();const v=hn(this.layout.layoutBox.x);S.x.min=h.target.x.min,S.x.max=S.x.min+v;const g=hn(this.layout.layoutBox.y);S.y.min=h.target.y.min,S.y.max=S.y.min+g}ba(m,S),pd(m,T),Au(this.projectionDeltaWithTransform,this.layoutCorrected,m,T)}}registerSharedNode(h,m){this.sharedNodes.has(h)||this.sharedNodes.set(h,new hz),this.sharedNodes.get(h).add(m);const x=m.options.initialPromotionConfig;m.promote({transition:x?x.transition:void 0,preserveFollowOpacity:x&&x.shouldPreserveFollowOpacity?x.shouldPreserveFollowOpacity(m):void 0})}isLead(){const h=this.getStack();return h?h.lead===this:!0}getLead(){var m;const{layoutId:h}=this.options;return h?((m=this.getStack())==null?void 0:m.lead)||this:this}getPrevLead(){var m;const{layoutId:h}=this.options;return h?(m=this.getStack())==null?void 0:m.prevLead:void 0}getStack(){const{layoutId:h}=this.options;if(h)return this.root.sharedNodes.get(h)}promote({needsReset:h,transition:m,preserveFollowOpacity:S}={}){const x=this.getStack();x&&x.promote(this,S),h&&(this.projectionDelta=void 0,this.needsReset=!0),m&&this.setOptions({transition:m})}relegate(){const h=this.getStack();return h?h.relegate(this):!1}resetSkewAndRotation(){const{visualElement:h}=this.options;if(!h)return;let m=!1;const{latestValues:S}=h;if((S.z||S.rotate||S.rotateX||S.rotateY||S.rotateZ||S.skewX||S.skewY)&&(m=!0),!m)return;const x={};S.z&&Vy("z",h,x,this.animationValues);for(let T=0;T<Ny.length;T++)Vy(`rotate${Ny[T]}`,h,x,this.animationValues),Vy(`skew${Ny[T]}`,h,x,this.animationValues);h.render();for(const T in x)h.setStaticValue(T,x[T]),this.animationValues&&(this.animationValues[T]=x[T]);h.scheduleRender()}applyProjectionStyles(h,m){if(!this.instance||this.isSVG)return;if(!this.isVisible){h.visibility="hidden";return}const S=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,h.visibility="",h.opacity="",h.pointerEvents=md(m==null?void 0:m.pointerEvents)||"",h.transform=S?S(this.latestValues,""):"none";return}const x=this.getLead();if(!this.projectionDelta||!this.layout||!x.target){this.options.layoutId&&(h.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,h.pointerEvents=md(m==null?void 0:m.pointerEvents)||""),this.hasProjected&&!Ts(this.latestValues)&&(h.transform=S?S({},""):"none",this.hasProjected=!1);return}h.visibility="";const T=x.animationValues||x.latestValues;this.applyTransformsToTarget();let v=oz(this.projectionDeltaWithTransform,this.treeScale,T);S&&(v=S(T,v)),h.transform=v;const{x:g,y:w}=this.projectionDelta;h.transformOrigin=`${g.origin*100}% ${w.origin*100}% 0`,x.animationValues?h.opacity=x===this?T.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:T.opacityExit:h.opacity=x===this?T.opacity!==void 0?T.opacity:"":T.opacityExit!==void 0?T.opacityExit:0;for(const A in hg){if(T[A]===void 0)continue;const{correct:L,applyTo:V,isCSSVariable:B}=hg[A],G=v==="none"?T[A]:L(T[A],x);if(V){const P=V.length;for(let F=0;F<P;F++)h[V[F]]=G}else B?this.options.visualElement.renderState.vars[A]=G:h[A]=G}this.options.layoutId&&(h.pointerEvents=x===this?md(m==null?void 0:m.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(h=>{var m;return(m=h.currentAnimation)==null?void 0:m.stop()}),this.root.nodes.forEach($x),this.root.sharedNodes.clear()}}}function yz(o){o.updateLayout()}function gz(o){var l;const i=((l=o.resumeFrom)==null?void 0:l.snapshot)||o.snapshot;if(o.isLead()&&o.layout&&i&&o.hasListeners("didUpdate")){const{layoutBox:u,measuredBox:f}=o.layout,{animationType:p}=o.options,h=i.source!==o.layout.source;if(p==="size")Ka(v=>{const g=h?i.measuredBox[v]:i.layoutBox[v],w=hn(g);g.min=u[v].min,g.max=g.min+w});else if(p==="x"||p==="y"){const v=p==="x"?"y":"x";pg(h?i.measuredBox[v]:i.layoutBox[v],u[v])}else lA(p,i.layoutBox,u)&&Ka(v=>{const g=h?i.measuredBox[v]:i.layoutBox[v],w=hn(u[v]);g.max=g.min+w,o.relativeTarget&&!o.currentAnimation&&(o.isProjectionDirty=!0,o.relativeTarget[v].max=o.relativeTarget[v].min+w)});const m=zr();Au(m,u,i.layoutBox);const S=zr();h?Au(S,o.applyTransform(f,!0),i.measuredBox):Au(S,u,i.layoutBox);const x=!nA(m);let T=!1;if(!o.resumeFrom){const v=o.getClosestProjectingParent();if(v&&!v.resumeFrom){const{snapshot:g,layout:w}=v;if(g&&w){const A=o.options.layoutAnchor||void 0,L=Bt();Ad(L,i.layoutBox,g.layoutBox,A);const V=Bt();Ad(V,u,w.layoutBox,A),aA(L,V)||(T=!0),v.options.layoutRoot&&(o.relativeTarget=V,o.relativeTargetOrigin=L,o.relativeParent=v)}}}o.notifyListeners("didUpdate",{layout:u,snapshot:i,delta:S,layoutDelta:m,hasLayoutChanged:x,hasRelativeLayoutChanged:T})}else if(o.isLead()){const{onExitComplete:u}=o.options;u&&u()}o.options.transition=void 0}function vz(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 bz(o){o.isProjectionDirty=o.isSharedProjectionDirty=o.isTransformDirty=!1}function Sz(o){o.clearSnapshot()}function $x(o){o.clearMeasurements()}function Tz(o){o.isLayoutDirty=!0,o.updateLayout()}function Xx(o){o.isLayoutDirty=!1}function Ez(o){o.isAnimationBlocked&&o.layout&&!o.isLayoutDirty&&(o.snapshot=o.layout,o.isLayoutDirty=!0)}function xz(o){const{visualElement:i}=o.options;i&&i.getProps().onBeforeLayoutMeasure&&i.notify("BeforeLayoutMeasure"),o.resetTransform()}function Qx(o){o.finishAnimation(),o.targetDelta=o.relativeTarget=o.target=void 0,o.isProjectionDirty=!0}function wz(o){o.resolveTargetDelta()}function Rz(o){o.calcProjection()}function Az(o){o.resetSkewAndRotation()}function Cz(o){o.removeLeadSnapshot()}function Zx(o,i,l){o.translate=dt(i.translate,0,l),o.scale=dt(i.scale,1,l),o.origin=i.origin,o.originPoint=i.originPoint}function Ix(o,i,l,u){o.min=dt(i.min,l.min,u),o.max=dt(i.max,l.max,u)}function Dz(o,i,l,u){Ix(o.x,i.x,l.x,u),Ix(o.y,i.y,l.y,u)}function Mz(o){return o.animationValues&&o.animationValues.opacityExit!==void 0}const Oz={duration:.45,ease:[.4,0,.1,1]},Jx=o=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(o),Fx=Jx("applewebkit/")&&!Jx("chrome/")?Math.round:oa;function Kx(o){o.min=Fx(o.min),o.max=Fx(o.max)}function _z(o){Kx(o.x),Kx(o.y)}function lA(o,i,l){return o==="position"||o==="preserve-aspect"&&!Kj(Hx(i),Hx(l),.2)}function jz(o){var i;return o!==o.root&&((i=o.scroll)==null?void 0:i.wasRoot)}const zz=rA({attachResizeListener:(o,i)=>ju(o,"resize",i),measureScroll:()=>{var o,i;return{x:document.documentElement.scrollLeft||((o=document.body)==null?void 0:o.scrollLeft)||0,y:document.documentElement.scrollTop||((i=document.body)==null?void 0:i.scrollTop)||0}},checkIsScrollRoot:()=>!0}),Uy={current:void 0},uA=rA({measureScroll:o=>({x:o.scrollLeft,y:o.scrollTop}),defaultParent:()=>{if(!Uy.current){const o=new zz({});o.mount(window),o.setOptions({layoutScroll:!0}),Uy.current=o}return Uy.current},resetTransform:(o,i)=>{o.style.transform=i!==void 0?i:"none"},checkIsScrollRoot:o=>window.getComputedStyle(o).position==="fixed"}),Qg=C.createContext({transformPagePoint:o=>o,isStatic:!1,reducedMotion:"never"});function Wx(o,i){if(typeof o=="function")return o(i);o!=null&&(o.current=i)}function Nz(...o){return i=>{let l=!1;const u=o.map(f=>{const p=Wx(f,i);return!l&&typeof p=="function"&&(l=!0),p});if(l)return()=>{for(let f=0;f<u.length;f++){const p=u[f];typeof p=="function"?p():Wx(o[f],null)}}}}function Vz(...o){return C.useCallback(Nz(...o),o)}class Uz extends C.Component{getSnapshotBeforeUpdate(i){const l=this.props.childRef.current;if(cd(l)&&i.isPresent&&!this.props.isPresent&&this.props.pop!==!1){const u=l.offsetParent,f=cd(u)&&u.offsetWidth||0,p=cd(u)&&u.offsetHeight||0,h=getComputedStyle(l),m=this.props.sizeRef.current;m.height=parseFloat(h.height),m.width=parseFloat(h.width),m.top=l.offsetTop,m.left=l.offsetLeft,m.right=f-m.width-m.left,m.bottom=p-m.height-m.top}return null}componentDidUpdate(){}render(){return this.props.children}}function Lz({children:o,isPresent:i,anchorX:l,anchorY:u,root:f,pop:p}){var g;const h=C.useId(),m=C.useRef(null),S=C.useRef({width:0,height:0,top:0,left:0,right:0,bottom:0}),{nonce:x}=C.useContext(Qg),T=((g=o.props)==null?void 0:g.ref)??(o==null?void 0:o.ref),v=Vz(m,T);return C.useInsertionEffect(()=>{const{width:w,height:A,top:L,left:V,right:B,bottom:G}=S.current;if(i||p===!1||!m.current||!w||!A)return;const P=l==="left"?`left: ${V}`:`right: ${B}`,F=u==="bottom"?`bottom: ${G}`:`top: ${L}`;m.current.dataset.motionPopId=h;const ne=document.createElement("style");x&&(ne.nonce=x);const le=f??document.head;return le.appendChild(ne),ne.sheet&&ne.sheet.insertRule(`
289
+ [data-motion-pop-id="${h}"] {
290
+ position: absolute !important;
291
+ width: ${w}px !important;
292
+ height: ${A}px !important;
293
+ ${P}px !important;
294
+ ${F}px !important;
295
+ }
296
+ `),()=>{var ie;(ie=m.current)==null||ie.removeAttribute("data-motion-pop-id"),le.contains(ne)&&le.removeChild(ne)}},[i]),j.jsx(Uz,{isPresent:i,childRef:m,sizeRef:S,pop:p,children:p===!1?o:C.cloneElement(o,{ref:v})})}const Bz=({children:o,initial:i,isPresent:l,onExitComplete:u,custom:f,presenceAffectsLayout:p,mode:h,anchorX:m,anchorY:S,root:x})=>{const T=Eg(kz),v=C.useId();let g=!0,w=C.useMemo(()=>(g=!1,{id:v,initial:i,isPresent:l,custom:f,onExitComplete:A=>{T.set(A,!0);for(const L of T.values())if(!L)return;u&&u()},register:A=>(T.set(A,!1),()=>T.delete(A))}),[l,T,u]);return p&&g&&(w={...w}),C.useMemo(()=>{T.forEach((A,L)=>T.set(L,!1))},[l]),C.useEffect(()=>{!l&&!T.size&&u&&u()},[l]),o=j.jsx(Lz,{pop:h==="popLayout",isPresent:l,anchorX:m,anchorY:S,root:x,children:o}),j.jsx(_d.Provider,{value:w,children:o})};function kz(){return new Map}function cA(o=!0){const i=C.useContext(_d);if(i===null)return[!0,null];const{isPresent:l,onExitComplete:u,register:f}=i,p=C.useId();C.useEffect(()=>{if(o)return f(p)},[o]);const h=C.useCallback(()=>o&&u&&u(p),[p,u,o]);return!l&&u?[!1,h]:[!0]}const nd=o=>o.key||"";function ew(o){const i=[];return C.Children.forEach(o,l=>{C.isValidElement(l)&&i.push(l)}),i}const Cd=({children:o,custom:i,initial:l=!0,onExitComplete:u,presenceAffectsLayout:f=!0,mode:p="sync",propagate:h=!1,anchorX:m="left",anchorY:S="top",root:x})=>{const[T,v]=cA(h),g=C.useMemo(()=>ew(o),[o]),w=h&&!T?[]:g.map(nd),A=C.useRef(!0),L=C.useRef(g),V=Eg(()=>new Map),B=C.useRef(new Set),[G,P]=C.useState(g),[F,ne]=C.useState(g);Lw(()=>{A.current=!1,L.current=g;for(let I=0;I<F.length;I++){const X=nd(F[I]);w.includes(X)?(V.delete(X),B.current.delete(X)):V.get(X)!==!0&&V.set(X,!1)}},[F,w.length,w.join("-")]);const le=[];if(g!==G){let I=[...g];for(let X=0;X<F.length;X++){const q=F[X],ee=nd(q);w.includes(ee)||(I.splice(X,0,q),le.push(q))}return p==="wait"&&le.length&&(I=le),ne(ew(I)),P(g),null}p==="wait"&&F.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:ie}=C.useContext(Tg);return j.jsx(j.Fragment,{children:F.map(I=>{const X=nd(I),q=h&&!T?!1:g===F||w.includes(X),ee=()=>{if(B.current.has(X))return;if(V.has(X))B.current.add(X),V.set(X,!0);else return;let J=!0;V.forEach(Z=>{Z||(J=!1)}),J&&(ie==null||ie(),ne(L.current),h&&(v==null||v()),u&&u())};return j.jsx(Bz,{isPresent:q,initial:!A.current||l?void 0:!1,custom:i,presenceAffectsLayout:f,mode:p,root:x,onExitComplete:q?void 0:ee,anchorX:m,anchorY:S,children:I},X)})})},fA=C.createContext({strict:!1}),tw={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 nw=!1;function Hz(){if(nw)return;const o={};for(const i in tw)o[i]={isEnabled:l=>tw[i].some(u=>!!l[u])};HR(o),nw=!0}function dA(){return Hz(),wj()}function Yz(o){const i=dA();for(const l in o)i[l]={...i[l],...o[l]};HR(i)}const qz=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","propagate","ignoreStrict","viewport"]);function Dd(o){return o.startsWith("while")||o.startsWith("drag")&&o!=="draggable"||o.startsWith("layout")||o.startsWith("onTap")||o.startsWith("onPan")||o.startsWith("onLayout")||qz.has(o)}let hA=o=>!Dd(o);function Gz(o){typeof o=="function"&&(hA=i=>i.startsWith("on")?!Dd(i):o(i))}try{Gz(require("@emotion/is-prop-valid").default)}catch{}function Pz(o,i,l){const u={};for(const f in o)f==="values"&&typeof o.values=="object"||Jt(o[f])||(hA(f)||l===!0&&Dd(f)||!i&&!Dd(f)||o.draggable&&f.startsWith("onDrag"))&&(u[f]=o[f]);return u}const Ud=C.createContext({});function $z(o,i){if(Vd(o)){const{initial:l,animate:u}=o;return{initial:l===!1||_u(l)?l:void 0,animate:_u(u)?u:void 0}}return o.inherit!==!1?i:{}}function Xz(o){const{initial:i,animate:l}=$z(o,C.useContext(Ud));return C.useMemo(()=>({initial:i,animate:l}),[aw(i),aw(l)])}function aw(o){return Array.isArray(o)?o.join(" "):o}const Zg=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function pA(o,i,l){for(const u in i)!Jt(i[u])&&!QR(u,l)&&(o[u]=i[u])}function Qz({transformTemplate:o},i){return C.useMemo(()=>{const l=Zg();return $g(l,i,o),Object.assign({},l.vars,l.style)},[i])}function Zz(o,i){const l=o.style||{},u={};return pA(u,l,o),Object.assign(u,Qz(o,i)),u}function Iz(o,i){const l={},u=Zz(o,i);return o.drag&&o.dragListener!==!1&&(l.draggable=!1,u.userSelect=u.WebkitUserSelect=u.WebkitTouchCallout="none",u.touchAction=o.drag===!0?"none":`pan-${o.drag==="x"?"y":"x"}`),o.tabIndex===void 0&&(o.onTap||o.onTapStart||o.whileTap)&&(l.tabIndex=0),l.style=u,l}const mA=()=>({...Zg(),attrs:{}});function Jz(o,i,l,u){const f=C.useMemo(()=>{const p=mA();return ZR(p,i,JR(u),o.transformTemplate,o.style),{...p.attrs,style:{...p.style}}},[i]);if(o.style){const p={};pA(p,o.style,o),f.style={...p,...f.style}}return f}const Fz=["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 Ig(o){return typeof o!="string"||o.includes("-")?!1:!!(Fz.indexOf(o)>-1||/[A-Z]/u.test(o))}function Kz(o,i,l,{latestValues:u},f,p=!1,h){const S=(h??Ig(o)?Jz:Iz)(i,u,f,o),x=Pz(i,typeof o=="string",p),T=o!==C.Fragment?{...x,...S,ref:l}:{},{children:v}=i,g=C.useMemo(()=>Jt(v)?v.get():v,[v]);return C.createElement(o,{...T,children:g})}function Wz({scrapeMotionValuesFromProps:o,createRenderState:i},l,u,f){return{latestValues:e5(l,u,f,o),renderState:i()}}function e5(o,i,l,u){const f={},p=u(o,{});for(const g in p)f[g]=md(p[g]);let{initial:h,animate:m}=o;const S=Vd(o),x=BR(o);i&&x&&!S&&o.inherit!==!1&&(h===void 0&&(h=i.initial),m===void 0&&(m=i.animate));let T=l?l.initial===!1:!1;T=T||h===!1;const v=T?m:h;if(v&&typeof v!="boolean"&&!Nd(v)){const g=Array.isArray(v)?v:[v];for(let w=0;w<g.length;w++){const A=Ug(o,g[w]);if(A){const{transitionEnd:L,transition:V,...B}=A;for(const G in B){let P=B[G];if(Array.isArray(P)){const F=T?P.length-1:0;P=P[F]}P!==null&&(f[G]=P)}for(const G in L)f[G]=L[G]}}}return f}const yA=o=>(i,l)=>{const u=C.useContext(Ud),f=C.useContext(_d),p=()=>Wz(o,i,u,f);return l?p():Eg(p)},t5=yA({scrapeMotionValuesFromProps:Xg,createRenderState:Zg}),n5=yA({scrapeMotionValuesFromProps:FR,createRenderState:mA}),a5=Symbol.for("motionComponentSymbol");function o5(o,i,l){const u=C.useRef(l);C.useInsertionEffect(()=>{u.current=l});const f=C.useRef(null);return C.useCallback(p=>{var m;p&&((m=o.onMount)==null||m.call(o,p));const h=u.current;if(typeof h=="function")if(p){const S=h(p);typeof S=="function"&&(f.current=S)}else f.current?(f.current(),f.current=null):h(p);else h&&(h.current=p);i&&(p?i.mount(p):i.unmount())},[i])}const gA=C.createContext({});function Mr(o){return o&&typeof o=="object"&&Object.prototype.hasOwnProperty.call(o,"current")}function i5(o,i,l,u,f,p){var P,F;const{visualElement:h}=C.useContext(Ud),m=C.useContext(fA),S=C.useContext(_d),x=C.useContext(Qg),T=x.reducedMotion,v=x.skipAnimations,g=C.useRef(null),w=C.useRef(!1);u=u||m.renderer,!g.current&&u&&(g.current=u(o,{visualState:i,parent:h,props:l,presenceContext:S,blockInitialAnimation:S?S.initial===!1:!1,reducedMotionConfig:T,skipAnimations:v,isSVG:p}),w.current&&g.current&&(g.current.manuallyAnimateOnMount=!0));const A=g.current,L=C.useContext(gA);A&&!A.projection&&f&&(A.type==="html"||A.type==="svg")&&s5(g.current,l,f,L);const V=C.useRef(!1);C.useInsertionEffect(()=>{A&&V.current&&A.update(l,S)});const B=l[RR],G=C.useRef(!!B&&typeof window<"u"&&!((P=window.MotionHandoffIsComplete)!=null&&P.call(window,B))&&((F=window.MotionHasOptimisedAnimation)==null?void 0:F.call(window,B)));return Lw(()=>{w.current=!0,A&&(V.current=!0,window.MotionIsMounted=!0,A.updateFeatures(),A.scheduleRenderMicrotask(),G.current&&A.animationState&&A.animationState.animateChanges())}),C.useEffect(()=>{A&&(!G.current&&A.animationState&&A.animationState.animateChanges(),G.current&&(queueMicrotask(()=>{var ne;(ne=window.MotionHandoffMarkAsComplete)==null||ne.call(window,B)}),G.current=!1),A.enteringChildren=void 0)}),A}function s5(o,i,l,u){const{layoutId:f,layout:p,drag:h,dragConstraints:m,layoutScroll:S,layoutRoot:x,layoutAnchor:T,layoutCrossfade:v}=i;o.projection=new l(o.latestValues,i["data-framer-portal-id"]?void 0:vA(o.parent)),o.projection.setOptions({layoutId:f,layout:p,alwaysMeasureLayout:!!h||m&&Mr(m),visualElement:o,animationType:typeof p=="string"?p:"both",initialPromotionConfig:u,crossfade:v,layoutScroll:S,layoutRoot:x,layoutAnchor:T})}function vA(o){if(o)return o.options.allowProjection!==!1?o.projection:vA(o.parent)}function Ly(o,{forwardMotionProps:i=!1,type:l}={},u,f){u&&Yz(u);const p=l?l==="svg":Ig(o),h=p?n5:t5;function m(x,T){let v;const g={...C.useContext(Qg),...x,layoutId:r5(x)},{isStatic:w}=g,A=Xz(x),L=h(x,w);if(!w&&typeof window<"u"){l5(g,u);const V=u5(g);v=V.MeasureLayout,A.visualElement=i5(o,L,g,f,V.ProjectionNode,p)}return j.jsxs(Ud.Provider,{value:A,children:[v&&A.visualElement?j.jsx(v,{visualElement:A.visualElement,...g}):null,Kz(o,x,o5(L,A.visualElement,T),L,w,i,p)]})}m.displayName=`motion.${typeof o=="string"?o:`create(${o.displayName??o.name??""})`}`;const S=C.forwardRef(m);return S[a5]=o,S}function r5({layoutId:o}){const i=C.useContext(Tg).id;return i&&o!==void 0?i+"-"+o:o}function l5(o,i){const l=C.useContext(fA).strict;if(i&&l){const u="You have rendered a `motion` component within a `LazyMotion` component. This will break tree shaking. Import and render a `m` component instead.";o.ignoreStrict?Br(!1,u,"lazy-strict-mode"):Uo(!1,u,"lazy-strict-mode")}}function u5(o){const i=dA(),{drag:l,layout:u}=i;if(!l&&!u)return{};const f={...l,...u};return{MeasureLayout:l!=null&&l.isEnabled(o)||u!=null&&u.isEnabled(o)?f.MeasureLayout:void 0,ProjectionNode:f.ProjectionNode}}function c5(o,i){if(typeof Proxy>"u")return Ly;const l=new Map,u=(p,h)=>Ly(p,h,o,i),f=(p,h)=>(jd(!1,"motion() is deprecated. Use motion.create() instead."),u(p,h));return new Proxy(f,{get:(p,h)=>h==="create"?u:(l.has(h)||l.set(h,Ly(h,void 0,o,i)),l.get(h))})}const f5=(o,i)=>i.isSVG??Ig(o)?new Yj(i):new Vj(i,{allowProjection:o!==C.Fragment});class d5 extends ji{constructor(i){super(i),i.animationState||(i.animationState=Xj(i))}updateAnimationControlsSubscription(){const{animate:i}=this.node.getProps();Nd(i)&&(this.unmountControls=i.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:i}=this.node.getProps(),{animate:l}=this.node.prevProps||{};i!==l&&this.updateAnimationControlsSubscription()}unmount(){var i;this.node.animationState.reset(),(i=this.unmountControls)==null||i.call(this)}}let h5=0;class p5 extends ji{constructor(){super(...arguments),this.id=h5++,this.isExitComplete=!1}update(){var p;if(!this.node.presenceContext)return;const{isPresent:i,onExitComplete:l}=this.node.presenceContext,{isPresent:u}=this.node.prevPresenceContext||{};if(!this.node.animationState||i===u)return;if(i&&u===!1){if(this.isExitComplete){const{initial:h,custom:m}=this.node.getProps();if(typeof h=="string"){const S=Rs(this.node,h,m);if(S){const{transition:x,transitionEnd:T,...v}=S;for(const g in v)(p=this.node.getValue(g))==null||p.jump(v[g])}}this.node.animationState.reset(),this.node.animationState.animateChanges()}else this.node.animationState.setActive("exit",!1);this.isExitComplete=!1;return}const f=this.node.animationState.setActive("exit",!i);l&&!i&&f.then(()=>{this.isExitComplete=!0,l(this.id)})}mount(){const{register:i,onExitComplete:l}=this.node.presenceContext||{};l&&l(this.id),i&&(this.unmount=i(this.id))}unmount(){}}const m5={animation:{Feature:d5},exit:{Feature:p5}};function Lu(o){return{point:{x:o.pageX,y:o.pageY}}}const y5=o=>i=>Hg(i)&&o(i,Lu(i));function Cu(o,i,l,u){return ju(o,i,y5(l),u)}const bA=({current:o})=>o?o.ownerDocument.defaultView:null,ow=(o,i)=>Math.abs(o-i);function g5(o,i){const l=ow(o.x,i.x),u=ow(o.y,i.y);return Math.sqrt(l**2+u**2)}const iw=new Set(["auto","scroll"]);class SA{constructor(i,l,{transformPagePoint:u,contextWindow:f=window,dragSnapToOrigin:p=!1,distanceThreshold:h=3,element:m}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.lastRawMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.scrollPositions=new Map,this.removeScrollListeners=null,this.onElementScroll=w=>{this.handleScroll(w.target)},this.onWindowScroll=()=>{this.handleScroll(window)},this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;this.lastRawMoveEventInfo&&(this.lastMoveEventInfo=ad(this.lastRawMoveEventInfo,this.transformPagePoint));const w=By(this.lastMoveEventInfo,this.history),A=this.startEvent!==null,L=g5(w.offset,{x:0,y:0})>=this.distanceThreshold;if(!A&&!L)return;const{point:V}=w,{timestamp:B}=It;this.history.push({...V,timestamp:B});const{onStart:G,onMove:P}=this.handlers;A||(G&&G(this.lastMoveEvent,w),this.startEvent=this.lastMoveEvent),P&&P(this.lastMoveEvent,w)},this.handlePointerMove=(w,A)=>{this.lastMoveEvent=w,this.lastRawMoveEventInfo=A,this.lastMoveEventInfo=ad(A,this.transformPagePoint),it.update(this.updatePoint,!0)},this.handlePointerUp=(w,A)=>{this.end();const{onEnd:L,onSessionEnd:V,resumeAnimation:B}=this.handlers;if((this.dragSnapToOrigin||!this.startEvent)&&B&&B(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const G=By(w.type==="pointercancel"?this.lastMoveEventInfo:ad(A,this.transformPagePoint),this.history);this.startEvent&&L&&L(w,G),V&&V(w,G)},!Hg(i))return;this.dragSnapToOrigin=p,this.handlers=l,this.transformPagePoint=u,this.distanceThreshold=h,this.contextWindow=f||window;const S=Lu(i),x=ad(S,this.transformPagePoint),{point:T}=x,{timestamp:v}=It;this.history=[{...T,timestamp:v}];const{onSessionStart:g}=l;g&&g(i,By(x,this.history)),this.removeListeners=Nu(Cu(this.contextWindow,"pointermove",this.handlePointerMove),Cu(this.contextWindow,"pointerup",this.handlePointerUp),Cu(this.contextWindow,"pointercancel",this.handlePointerUp)),m&&this.startScrollTracking(m)}startScrollTracking(i){let l=i.parentElement;for(;l;){const u=getComputedStyle(l);(iw.has(u.overflowX)||iw.has(u.overflowY))&&this.scrollPositions.set(l,{x:l.scrollLeft,y:l.scrollTop}),l=l.parentElement}this.scrollPositions.set(window,{x:window.scrollX,y:window.scrollY}),window.addEventListener("scroll",this.onElementScroll,{capture:!0}),window.addEventListener("scroll",this.onWindowScroll),this.removeScrollListeners=()=>{window.removeEventListener("scroll",this.onElementScroll,{capture:!0}),window.removeEventListener("scroll",this.onWindowScroll)}}handleScroll(i){const l=this.scrollPositions.get(i);if(!l)return;const u=i===window,f=u?{x:window.scrollX,y:window.scrollY}:{x:i.scrollLeft,y:i.scrollTop},p={x:f.x-l.x,y:f.y-l.y};p.x===0&&p.y===0||(u?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(i,f),it.update(this.updatePoint,!0))}updateHandlers(i){this.handlers=i}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),_i(this.updatePoint)}}function ad(o,i){return i?{point:i(o.point)}:o}function sw(o,i){return{x:o.x-i.x,y:o.y-i.y}}function By({point:o},i){return{point:o,delta:sw(o,TA(i)),offset:sw(o,v5(i)),velocity:b5(i,.1)}}function v5(o){return o[0]}function TA(o){return o[o.length-1]}function b5(o,i){if(o.length<2)return{x:0,y:0};let l=o.length-1,u=null;const f=TA(o);for(;l>=0&&(u=o[l],!(f.timestamp-u.timestamp>En(i)));)l--;if(!u)return{x:0,y:0};u===o[0]&&o.length>2&&f.timestamp-u.timestamp>En(i)*2&&(u=o[1]);const p=aa(f.timestamp-u.timestamp);if(p===0)return{x:0,y:0};const h={x:(f.x-u.x)/p,y:(f.y-u.y)/p};return h.x===1/0&&(h.x=0),h.y===1/0&&(h.y=0),h}function S5(o,{min:i,max:l},u){return i!==void 0&&o<i?o=u?dt(i,o,u.min):Math.max(o,i):l!==void 0&&o>l&&(o=u?dt(l,o,u.max):Math.min(o,l)),o}function rw(o,i,l){return{min:i!==void 0?o.min+i:void 0,max:l!==void 0?o.max+l-(o.max-o.min):void 0}}function T5(o,{top:i,left:l,bottom:u,right:f}){return{x:rw(o.x,l,f),y:rw(o.y,i,u)}}function lw(o,i){let l=i.min-o.min,u=i.max-o.max;return i.max-i.min<o.max-o.min&&([l,u]=[u,l]),{min:l,max:u}}function E5(o,i){return{x:lw(o.x,i.x),y:lw(o.y,i.y)}}function x5(o,i){let l=.5;const u=hn(o),f=hn(i);return f>u?l=Mu(i.min,i.max-u,o.min):u>f&&(l=Mu(o.min,o.max-f,i.min)),to(0,1,l)}function w5(o,i){const l={};return i.min!==void 0&&(l.min=i.min-o.min),i.max!==void 0&&(l.max=i.max-o.min),l}const mg=.35;function R5(o=mg){return o===!1?o=0:o===!0&&(o=mg),{x:uw(o,"left","right"),y:uw(o,"top","bottom")}}function uw(o,i,l){return{min:cw(o,i),max:cw(o,l)}}function cw(o,i){return typeof o=="number"?o:o[i]||0}const A5=new WeakMap;class C5{constructor(i){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=Bt(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=i}start(i,{snapToCursor:l=!1,distanceThreshold:u}={}){const{presenceContext:f}=this.visualElement;if(f&&f.isPresent===!1)return;const p=v=>{l&&this.snapToCursor(Lu(v).point),this.stopAnimation()},h=(v,g)=>{const{drag:w,dragPropagation:A,onDragStart:L}=this.getProps();if(w&&!A&&(this.openDragLock&&this.openDragLock(),this.openDragLock=tj(w),!this.openDragLock))return;this.latestPointerEvent=v,this.latestPanInfo=g,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),Ka(B=>{let G=this.getAxisMotionValue(B).get()||0;if(eo.test(G)){const{projection:P}=this.visualElement;if(P&&P.layout){const F=P.layout.layoutBox[B];F&&(G=hn(F)*(parseFloat(G)/100))}}this.originPoint[B]=G}),L&&it.update(()=>L(v,g),!1,!0),rg(this.visualElement,"transform");const{animationState:V}=this.visualElement;V&&V.setActive("whileDrag",!0)},m=(v,g)=>{this.latestPointerEvent=v,this.latestPanInfo=g;const{dragPropagation:w,dragDirectionLock:A,onDirectionLock:L,onDrag:V}=this.getProps();if(!w&&!this.openDragLock)return;const{offset:B}=g;if(A&&this.currentDirection===null){this.currentDirection=M5(B),this.currentDirection!==null&&L&&L(this.currentDirection);return}this.updateAxis("x",g.point,B),this.updateAxis("y",g.point,B),this.visualElement.render(),V&&it.update(()=>V(v,g),!1,!0)},S=(v,g)=>{this.latestPointerEvent=v,this.latestPanInfo=g,this.stop(v,g),this.latestPointerEvent=null,this.latestPanInfo=null},x=()=>{const{dragSnapToOrigin:v}=this.getProps();(v||this.constraints)&&this.startAnimation({x:0,y:0})},{dragSnapToOrigin:T}=this.getProps();this.panSession=new SA(i,{onSessionStart:p,onStart:h,onMove:m,onSessionEnd:S,resumeAnimation:x},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:T,distanceThreshold:u,contextWindow:bA(this.visualElement),element:this.visualElement.current})}stop(i,l){const u=i||this.latestPointerEvent,f=l||this.latestPanInfo,p=this.isDragging;if(this.cancel(),!p||!f||!u)return;const{velocity:h}=f;this.startAnimation(h);const{onDragEnd:m}=this.getProps();m&&it.postRender(()=>m(u,f))}cancel(){this.isDragging=!1;const{projection:i,animationState:l}=this.visualElement;i&&(i.isAnimationBlocked=!1),this.endPanSession();const{dragPropagation:u}=this.getProps();!u&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),l&&l.setActive("whileDrag",!1)}endPanSession(){this.panSession&&this.panSession.end(),this.panSession=void 0}updateAxis(i,l,u){const{drag:f}=this.getProps();if(!u||!od(i,f,this.currentDirection))return;const p=this.getAxisMotionValue(i);let h=this.originPoint[i]+u[i];this.constraints&&this.constraints[i]&&(h=S5(h,this.constraints[i],this.elastic[i])),p.set(h)}resolveConstraints(){var p;const{dragConstraints:i,dragElastic:l}=this.getProps(),u=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):(p=this.visualElement.projection)==null?void 0:p.layout,f=this.constraints;i&&Mr(i)?this.constraints||(this.constraints=this.resolveRefConstraints()):i&&u?this.constraints=T5(u.layoutBox,i):this.constraints=!1,this.elastic=R5(l),f!==this.constraints&&!Mr(i)&&u&&this.constraints&&!this.hasMutatedConstraints&&Ka(h=>{this.constraints!==!1&&this.getAxisMotionValue(h)&&(this.constraints[h]=w5(u.layoutBox[h],this.constraints[h]))})}resolveRefConstraints(){const{dragConstraints:i,onMeasureDragConstraints:l}=this.getProps();if(!i||!Mr(i))return!1;const u=i.current;Uo(u!==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:f}=this.visualElement;if(!f||!f.layout)return!1;const p=Mj(u,f.root,this.visualElement.getTransformPagePoint());let h=E5(f.layout.layoutBox,p);if(l){const m=l(Aj(h));this.hasMutatedConstraints=!!m,m&&(h=qR(m))}return h}startAnimation(i){const{drag:l,dragMomentum:u,dragElastic:f,dragTransition:p,dragSnapToOrigin:h,onDragTransitionEnd:m}=this.getProps(),S=this.constraints||{},x=Ka(T=>{if(!od(T,l,this.currentDirection))return;let v=S&&S[T]||{};(h===!0||h===T)&&(v={min:0,max:0});const g=f?200:1e6,w=f?40:1e7,A={type:"inertia",velocity:u?i[T]:0,bounceStiffness:g,bounceDamping:w,timeConstant:750,restDelta:1,restSpeed:10,...p,...v};return this.startAxisValueAnimation(T,A)});return Promise.all(x).then(m)}startAxisValueAnimation(i,l){const u=this.getAxisMotionValue(i);return rg(this.visualElement,i),u.start(Vg(i,u,0,l,this.visualElement,!1))}stopAnimation(){Ka(i=>this.getAxisMotionValue(i).stop())}getAxisMotionValue(i){const l=`_drag${i.toUpperCase()}`,u=this.visualElement.getProps(),f=u[l];return f||this.visualElement.getValue(i,(u.initial?u.initial[i]:void 0)||0)}snapToCursor(i){Ka(l=>{const{drag:u}=this.getProps();if(!od(l,u,this.currentDirection))return;const{projection:f}=this.visualElement,p=this.getAxisMotionValue(l);if(f&&f.layout){const{min:h,max:m}=f.layout.layoutBox[l],S=p.get()||0;p.set(i[l]-dt(h,m,.5)+S)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:i,dragConstraints:l}=this.getProps(),{projection:u}=this.visualElement;if(!Mr(l)||!u||!this.constraints)return;this.stopAnimation();const f={x:0,y:0};Ka(h=>{const m=this.getAxisMotionValue(h);if(m&&this.constraints!==!1){const S=m.get();f[h]=x5({min:S,max:S},this.constraints[h])}});const{transformTemplate:p}=this.visualElement.getProps();this.visualElement.current.style.transform=p?p({},""):"none",u.root&&u.root.updateScroll(),u.updateLayout(),this.constraints=!1,this.resolveConstraints(),Ka(h=>{if(!od(h,i,null))return;const m=this.getAxisMotionValue(h),{min:S,max:x}=this.constraints[h];m.set(dt(S,x,f[h]))}),this.visualElement.render()}addListeners(){if(!this.visualElement.current)return;A5.set(this.visualElement,this);const i=this.visualElement.current,l=Cu(i,"pointerdown",x=>{const{drag:T,dragListener:v=!0}=this.getProps(),g=x.target,w=g!==i&&rj(g);T&&v&&!w&&this.start(x)});let u;const f=()=>{const{dragConstraints:x}=this.getProps();Mr(x)&&x.current&&(this.constraints=this.resolveRefConstraints(),u||(u=D5(i,x.current,()=>this.scalePositionWithinConstraints())))},{projection:p}=this.visualElement,h=p.addEventListener("measure",f);p&&!p.layout&&(p.root&&p.root.updateScroll(),p.updateLayout()),it.read(f);const m=ju(window,"resize",()=>this.scalePositionWithinConstraints()),S=p.addEventListener("didUpdate",({delta:x,hasLayoutChanged:T})=>{this.isDragging&&T&&(Ka(v=>{const g=this.getAxisMotionValue(v);g&&(this.originPoint[v]+=x[v].translate,g.set(g.get()+x[v].translate))}),this.visualElement.render())});return()=>{m(),l(),h(),S&&S(),u&&u()}}getProps(){const i=this.visualElement.getProps(),{drag:l=!1,dragDirectionLock:u=!1,dragPropagation:f=!1,dragConstraints:p=!1,dragElastic:h=mg,dragMomentum:m=!0}=i;return{...i,drag:l,dragDirectionLock:u,dragPropagation:f,dragConstraints:p,dragElastic:h,dragMomentum:m}}}function fw(o){let i=!0;return()=>{if(i){i=!1;return}o()}}function D5(o,i,l){const u=vx(o,fw(l)),f=vx(i,fw(l));return()=>{u(),f()}}function od(o,i,l){return(i===!0||i===o)&&(l===null||l===o)}function M5(o,i=10){let l=null;return Math.abs(o.y)>i?l="y":Math.abs(o.x)>i&&(l="x"),l}class O5 extends ji{constructor(i){super(i),this.removeGroupControls=oa,this.removeListeners=oa,this.controls=new C5(i)}mount(){const{dragControls:i}=this.node.getProps();i&&(this.removeGroupControls=i.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||oa}update(){const{dragControls:i}=this.node.getProps(),{dragControls:l}=this.node.prevProps||{};i!==l&&(this.removeGroupControls(),i&&(this.removeGroupControls=i.subscribe(this.controls)))}unmount(){this.removeGroupControls(),this.removeListeners(),this.controls.isDragging||this.controls.endPanSession()}}const ky=o=>(i,l)=>{o&&it.update(()=>o(i,l),!1,!0)};class _5 extends ji{constructor(){super(...arguments),this.removePointerDownListener=oa}onPointerDown(i){this.session=new SA(i,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:bA(this.node)})}createPanHandlers(){const{onPanSessionStart:i,onPanStart:l,onPan:u,onPanEnd:f}=this.node.getProps();return{onSessionStart:ky(i),onStart:ky(l),onMove:ky(u),onEnd:(p,h)=>{delete this.session,f&&it.postRender(()=>f(p,h))}}}mount(){this.removePointerDownListener=Cu(this.node.current,"pointerdown",i=>this.onPointerDown(i))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}let Hy=!1;class j5 extends C.Component{componentDidMount(){const{visualElement:i,layoutGroup:l,switchLayoutGroup:u,layoutId:f}=this.props,{projection:p}=i;p&&(l.group&&l.group.add(p),u&&u.register&&f&&u.register(p),Hy&&p.root.didUpdate(),p.addEventListener("animationComplete",()=>{this.safeToRemove()}),p.setOptions({...p.options,layoutDependency:this.props.layoutDependency,onExitComplete:()=>this.safeToRemove()})),yd.hasEverUpdated=!0}getSnapshotBeforeUpdate(i){const{layoutDependency:l,visualElement:u,drag:f,isPresent:p}=this.props,{projection:h}=u;return h&&(h.isPresent=p,i.layoutDependency!==l&&h.setOptions({...h.options,layoutDependency:l}),Hy=!0,f||i.layoutDependency!==l||l===void 0||i.isPresent!==p?h.willUpdate():this.safeToRemove(),i.isPresent!==p&&(p?h.promote():h.relegate()||it.postRender(()=>{const m=h.getStack();(!m||!m.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{visualElement:i,layoutAnchor:l}=this.props,{projection:u}=i;u&&(u.options.layoutAnchor=l,u.root.didUpdate(),kg.postRender(()=>{!u.currentAnimation&&u.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:i,layoutGroup:l,switchLayoutGroup:u}=this.props,{projection:f}=i;Hy=!0,f&&(f.scheduleCheckAfterUnmount(),l&&l.group&&l.group.remove(f),u&&u.deregister&&u.deregister(f))}safeToRemove(){const{safeToRemove:i}=this.props;i&&i()}render(){return null}}function EA(o){const[i,l]=cA(),u=C.useContext(Tg);return j.jsx(j5,{...o,layoutGroup:u,switchLayoutGroup:C.useContext(gA),isPresent:i,safeToRemove:l})}const z5={pan:{Feature:_5},drag:{Feature:O5,ProjectionNode:uA,MeasureLayout:EA}};function dw(o,i,l){const{props:u}=o;o.animationState&&u.whileHover&&o.animationState.setActive("whileHover",l==="Start");const f="onHover"+l,p=u[f];p&&it.postRender(()=>p(i,Lu(i)))}class N5 extends ji{mount(){const{current:i}=this.node;i&&(this.unmount=aj(i,(l,u)=>(dw(this.node,u,"Start"),f=>dw(this.node,f,"End"))))}unmount(){}}class V5 extends ji{constructor(){super(...arguments),this.isActive=!1}onFocus(){let i=!1;try{i=this.node.current.matches(":focus-visible")}catch{i=!0}!i||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){!this.isActive||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=Nu(ju(this.node.current,"focus",()=>this.onFocus()),ju(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function hw(o,i,l){const{props:u}=o;if(o.current instanceof HTMLButtonElement&&o.current.disabled)return;o.animationState&&u.whileTap&&o.animationState.setActive("whileTap",l==="Start");const f="onTap"+(l==="End"?"":l),p=u[f];p&&it.postRender(()=>p(i,Lu(i)))}class U5 extends ji{mount(){const{current:i}=this.node;if(!i)return;const{globalTapTarget:l,propagate:u}=this.node.props;this.unmount=uj(i,(f,p)=>(hw(this.node,p,"Start"),(h,{success:m})=>hw(this.node,h,m?"End":"Cancel")),{useGlobalTarget:l,stopPropagation:(u==null?void 0:u.tap)===!1})}unmount(){}}const yg=new WeakMap,Yy=new WeakMap,L5=o=>{const i=yg.get(o.target);i&&i(o)},B5=o=>{o.forEach(L5)};function k5({root:o,...i}){const l=o||document;Yy.has(l)||Yy.set(l,{});const u=Yy.get(l),f=JSON.stringify(i);return u[f]||(u[f]=new IntersectionObserver(B5,{root:o,...i})),u[f]}function H5(o,i,l){const u=k5(i);return yg.set(o,l),u.observe(o),()=>{yg.delete(o),u.unobserve(o)}}const Y5={some:0,all:1};class q5 extends ji{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){var S;(S=this.stopObserver)==null||S.call(this);const{viewport:i={}}=this.node.getProps(),{root:l,margin:u,amount:f="some",once:p}=i,h={root:l?l.current:void 0,rootMargin:u,threshold:typeof f=="number"?f:Y5[f]},m=x=>{const{isIntersecting:T}=x;if(this.isInView===T||(this.isInView=T,p&&!T&&this.hasEnteredView))return;T&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",T);const{onViewportEnter:v,onViewportLeave:g}=this.node.getProps(),w=T?v:g;w&&w(x)};this.stopObserver=H5(this.node.current,h,m)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:i,prevProps:l}=this.node;["amount","margin","root"].some(G5(i,l))&&this.startObserver()}unmount(){var i;(i=this.stopObserver)==null||i.call(this),this.hasEnteredView=!1,this.isInView=!1}}function G5({viewport:o={}},{viewport:i={}}={}){return l=>o[l]!==i[l]}const P5={inView:{Feature:q5},tap:{Feature:U5},focus:{Feature:V5},hover:{Feature:N5}},$5={layout:{ProjectionNode:uA,MeasureLayout:EA}},X5={...m5,...P5,...z5,...$5},Vo=c5(X5,f5);function Q5(){!Pg.current&&kR();const[o]=C.useState(xd.current);return jd(o!==!0,"You have Reduced Motion enabled on your device. Animations may not appear as expected.","reduced-motion-disabled"),o}const xA=C.createContext(null),Z5=xA.Provider;function I5(){return C.useContext(xA)}function Jg(o){const i=o.play();return i instanceof Promise?i:Promise.resolve()}function id(o,i,l=1){return o.src=i,o.defaultPlaybackRate=l,o.load(),o.playbackRate=l,Jg(o)}function J5(o,i,l,u=1,f=!0){o.src=i,o.defaultPlaybackRate=u,o.load(),o.playbackRate=u;const p=()=>{o.currentTime=l,f&&Jg(o).catch(()=>{})};o.readyState>=HTMLMediaElement.HAVE_METADATA?p():o.addEventListener("loadedmetadata",p,{once:!0})}function sd(o){o.pause(),o.removeAttribute("src"),o.load()}function rd(o){for(const i of o.steps)i!=null&&i.src&&fetch(i.src).catch(()=>{})}function F5({manifest:o,stepIndex:i,playing:l,initialMuted:u=!0,playbackRate:f=1,onClipEnded:p}){const[h,m]=C.useState(u),[S,x]=C.useState(!1),T=C.useRef(null),v=C.useRef(!1),g=C.useCallback(X=>{X.then(()=>x(!1),()=>x(!0))},[]),w=C.useRef(h);w.current=h;const A=C.useRef(l);A.current=l;const L=C.useRef(p);L.current=p;const V=C.useRef(f);V.current=f;const B=(o==null?void 0:o.steps[i])??null,G=(B==null?void 0:B.src)??null,P=C.useRef(!1),F=C.useCallback((X,q)=>{P.current=!0,setTimeout(()=>{P.current=!1},0);const ee=T.current;if(!ee||!o||w.current)return;const J=o.steps[X],Z=J==null?void 0:J.src;if(!Z)return;const Se=(J==null?void 0:J.durationMs)??0;if(q>=Se){sd(ee);return}J5(ee,Z,q/1e3,V.current,A.current)},[o]);C.useEffect(()=>{!o||u||v.current||(rd(o),v.current=!0)},[o,u]),C.useEffect(()=>{const X=T.current;if(!X||!o)return;const q=()=>{var ee;return(ee=L.current)==null?void 0:ee.call(L)};return X.addEventListener("ended",q),()=>X.removeEventListener("ended",q)},[o]),C.useEffect(()=>{if(P.current){P.current=!1;return}const X=T.current;if(!(!X||!o)){if(w.current||!G||!A.current){sd(X);return}g(id(X,G,V.current))}},[i,G,o,g]),C.useEffect(()=>{const X=T.current;!X||!o||w.current||(l?G&&(X.src?g(Jg(X)):g(id(X,G,V.current))):X.pause())},[l,G,o,g]);const ne=C.useCallback(()=>{m(X=>{const q=!X,ee=T.current;return ee&&(q?(sd(ee),x(!1)):(o&&!v.current&&(rd(o),v.current=!0),G&&g(id(ee,G,V.current)))),q})},[G,o,g]),le=C.useCallback(()=>{const X=T.current;!X||w.current||!G||(o&&!v.current&&(rd(o),v.current=!0),g(id(X,G,V.current)))},[G,o,g]),ie=C.useCallback(X=>{const q=T.current;q&&(q.volume=Math.max(0,Math.min(X,1)))},[]),I=C.useCallback(()=>{!o||v.current||(rd(o),v.current=!0)},[o]);return C.useEffect(()=>{const X=T.current;X&&(X.defaultPlaybackRate=f,X.playbackRate=f)},[f]),C.useEffect(()=>{const X=T.current;return()=>{X&&sd(X)}},[]),{muted:h,toggleMute:ne,audioRef:T,seekToStep:F,audioBlocked:S,unlock:le,setVolume:ie,prefetch:I}}const gg=new Map;let K5=0;function W5(o){const i=`sp-${K5++}`;return gg.set(i,o),{id:i,unregister:()=>gg.delete(i)}}function pw(o){for(const[i,l]of gg)i!==o&&l()}function eN({steps:o,narrationManifest:i,muted:l,playbackRate:u,isVideoExport:f,prefersReducedMotion:p}){const h=Md(),m=o.length-1,[S,x]=C.useState(()=>p?m:0),[T,v]=C.useState(f?"playing":"idle"),g=T==="playing",w=h?Xy(h.currentTimeMs,h.stepStartTimesMs,m):S,A=C.useRef(w);A.current=w;const L=C.useRef(null),V=C.useRef(0),[B,G]=C.useState(0),P=C.useRef(Math.max(u,.25));P.current=Math.max(u,.25),C.useEffect(()=>{var Q,fe;if(h||!g||p)return;const ee=P.current;if(w>=m){const se=!l&&i?((Q=i.steps[w])==null?void 0:Q.durationMs)??0:0;if(se>0){L.current=()=>v("paused");const ve=setTimeout(()=>{L.current=null,v("paused")},(se+2e3)/ee);return()=>{clearTimeout(ve),L.current=null}}v("paused");return}const J=w+1,Z=o[J].delayMs/ee,Se=!l&&i?((fe=i.steps[w])==null?void 0:fe.durationMs)??0:0;if(Se>0){let se=!1,ve=!1,Me=!1;const O=()=>{Me||(Me=!0,L.current=null,x(J))},te=()=>{se&&ve&&O()};L.current=()=>{se=!0,te()};const be=setTimeout(()=>{ve=!0,te()},Z),de=setTimeout(O,(Math.max(o[J].delayMs,Se)+2e3)/ee);return()=>{clearTimeout(be),clearTimeout(de),L.current=null}}const De=setTimeout(()=>x(J),Z);return()=>clearTimeout(De)},[h,g,w,o,m,p,l,i]);const F=C.useCallback(ee=>{v("paused"),x(Math.max(0,Math.min(ee,m)))},[m]),ne=C.useCallback((ee,J)=>{const Z=Math.max(0,Math.min(ee,J.totalDurationMs)),Se=Xy(Z,J.stepStartTimesMs,m),De=J.stepStartTimesMs[Se]??0;V.current=Z-De,x(Se),v(Q=>Q==="playing"?Q:"paused"),G(Q=>Q+1)},[m]),le=C.useCallback(()=>{A.current>=m&&x(0),v("playing")},[m]),ie=C.useCallback(()=>{v("paused")},[]),I=C.useCallback(()=>{g?ie():le()},[g,le,ie]),X=C.useCallback(()=>{var ee;(ee=L.current)==null||ee.call(L)},[]),q=C.useCallback(ee=>{L.current=ee},[]);return{stepIndex:w,playbackState:T,playing:g,play:le,pause:ie,togglePlay:I,goTo:F,seekToTime:ne,seekOffsetRef:V,seekGeneration:B,handleClipEnded:X,setPendingAdvance:q,coordinatorId:void 0}}function wA(o){const i=Math.max(0,o),l=Math.floor(i/3600),u=Math.floor(i%3600/60),f=i%60,p=String(f).padStart(2,"0");return l>0?`${l}:${String(u).padStart(2,"0")}:${p}`:`${u}:${p}`}function mw(o){return wA(Math.floor(Math.max(0,o)/1e3))}function RA(o,i,l){if(l==="remaining"){const u=Math.ceil(Math.max(0,i-o)/1e3);return`-${wA(u)}`}return`${mw(o)} / ${mw(i)}`}function tN(o,i,l,u,f,p,h,m,S,x,T){const v=C.useRef(0),g=C.useRef(0),w=C.useRef(0),A=C.useRef(p);A.current=p;const L=C.useRef(l);L.current=l;const V=C.useRef(Math.max(f,.25));V.current=Math.max(f,.25);const B=T==null?void 0:T.timeLabelRef,G=T==null?void 0:T.scrubbingRef,P=T==null?void 0:T.currentTimeMsRef,F=(T==null?void 0:T.timeDisplayMode)??"elapsed",ne=C.useRef(F);ne.current=F;const le=C.useRef(""),ie=C.useRef(0),I=C.useCallback(ee=>{if(G!=null&&G.current)return;const J=Math.max(0,Math.min(ee,1));ie.current=J,P&&(P.current=J*A.current.totalDurationMs);const Z=`${J*100}%`;if(h.current&&(h.current.style.width=Z),m.current&&(m.current.style.left=Z),B!=null&&B.current){const Se=A.current,De=RA(J*Se.totalDurationMs,Se.totalDurationMs,ne.current);De!==le.current&&(le.current=De,B.current.textContent=De)}},[h,m,B,G,P]),X=C.useRef(void 0);X.current=()=>{const ee=performance.now();g.current+=(ee-w.current)*V.current,w.current=ee;const J=A.current,Z=L.current,Se=J.stepStartTimesMs[Z]??0,De=Z<u?J.stepStartTimesMs[Z+1]??J.totalDurationMs:J.totalDurationMs,Q=Math.max(De-Se,1),fe=Math.min(g.current/Q,1),se=(Se+fe*(De-Se))/J.totalDurationMs;I(se),v.current=requestAnimationFrame(()=>{var ve;return(ve=X.current)==null?void 0:ve.call(X)})},C.useEffect(()=>(o?(w.current=performance.now(),v.current=requestAnimationFrame(()=>{var ee;return(ee=X.current)==null?void 0:ee.call(X)})):cancelAnimationFrame(v.current),()=>cancelAnimationFrame(v.current)),[o]),C.useEffect(()=>{g.current=S.current,S.current=0,w.current=performance.now()},[l,x,S]);const q=(T==null?void 0:T.domEpoch)??0;C.useEffect(()=>{le.current="",I(ie.current)},[F,q,I]),C.useEffect(()=>{if(i==="idle"){I(0);return}if(i==="paused"){const ee=L.current,J=p.stepStartTimesMs[ee]??0,Z=ee<u?p.stepStartTimesMs[ee+1]??p.totalDurationMs:p.totalDurationMs,Se=Math.max(Z-J,1),De=Math.min(g.current/Se,1),Q=(J+De*(Z-J))/p.totalDurationMs;I(Q)}},[i,l,x,u,p,I])}function nN({size:o,className:i}){return j.jsx("svg",{width:o,height:o,viewBox:"0 0 24 24",fill:"currentColor",className:i,"aria-hidden":!0,children:j.jsx("path",{d:"M8 5v14l11-7z"})})}function aN({size:o,className:i}){return j.jsxs("svg",{width:o,height:o,viewBox:"0 0 24 24",fill:"currentColor",className:i,"aria-hidden":!0,children:[j.jsx("rect",{x:"6",y:"4",width:"4",height:"16"}),j.jsx("rect",{x:"14",y:"4",width:"4",height:"16"})]})}function oN({size:o,className:i}){return j.jsx("svg",{width:o,height:o,viewBox:"0 0 24 24",fill:"currentColor",className:i,"aria-hidden":!0,children:j.jsx("path",{d:"M3 10v4h4l5 5V5L7 10H3zm13.5 2a4.5 4.5 0 0 0-2.5-4.03v8.06A4.5 4.5 0 0 0 16.5 12zM14 3.23v2.06a7 7 0 0 1 0 13.42v2.06a9 9 0 0 0 0-17.54z"})})}function iN({kind:o,onComplete:i}){const l=o==="play"?nN:aN;return j.jsx("div",{"aria-hidden":!0,"data-playback-burst":o,className:"pointer-events-none absolute inset-0 z-[15] flex items-center justify-center",children:j.jsx(Vo.div,{className:"flex h-16 w-16 items-center justify-center rounded-full bg-black/60 text-white",initial:{scale:.6,opacity:.9},animate:{scale:1.4,opacity:0},transition:{duration:.45,ease:"easeOut"},onAnimationComplete:i,children:j.jsx(l,{size:28,className:o==="play"?"ml-1":void 0})})})}function sN({onEnableAudio:o}){return j.jsxs(Vo.button,{type:"button",className:"absolute left-1/2 top-3 z-20 flex -translate-x-1/2 items-center gap-1.5 rounded-full bg-black/70 px-3 py-1.5 text-xs font-medium text-white shadow-lg transition-transform hover:scale-105",initial:{opacity:0,y:-6},animate:{opacity:1,y:0},exit:{opacity:0,y:-6},transition:{duration:.2},onClick:i=>{i.stopPropagation(),o()},children:[j.jsx(oN,{size:14}),"Tap to enable audio"]})}const rN=[.5,1,1.5,2];function lN({playbackRate:o,onSelectSpeed:i}){const[l,u]=C.useState(!1),f=C.useRef(null);return C.useEffect(()=>{if(!l)return;const p=h=>{f.current&&!f.current.contains(h.target)&&u(!1)};return document.addEventListener("mousedown",p),()=>document.removeEventListener("mousedown",p)},[l]),j.jsxs("div",{ref:f,className:"relative",children:[j.jsxs("button",{onClick:p=>{p.stopPropagation(),u(h=>!h)},className:"flex h-9 min-w-[2.5rem] items-center justify-center rounded px-1 text-xs font-medium tabular-nums text-white/90 transition-colors hover:text-white","aria-label":`Playback speed: ${o}x`,"aria-haspopup":"true","aria-expanded":l,children:[o,"x"]}),j.jsx(Cd,{children:l&&j.jsx(Vo.div,{className:"absolute bottom-full right-0 mb-1.5 rounded-md border border-border bg-card py-1 shadow-lg",initial:{opacity:0,y:4},animate:{opacity:1,y:0},exit:{opacity:0,y:4},transition:{duration:.12,ease:"easeOut"},role:"menu","aria-label":"Playback speed",children:rN.map(p=>j.jsxs("button",{role:"menuitem",onClick:h=>{h.stopPropagation(),i(p),u(!1)},className:`flex w-full items-center justify-between gap-3 px-3 py-1 text-xs tabular-nums transition-colors hover:bg-accent ${p===o?"font-semibold text-foreground":"text-muted-foreground"}`,children:[j.jsxs("span",{children:[p,"x"]}),p===o&&j.jsx("span",{className:"text-[10px] text-primary",children:"●"})]},p))})})]})}const yw=1e4;function uN({visible:o,playing:i,muted:l,playbackRate:u,stepTimeline:f,showSpeedControl:p,hasNarration:h,onToggleFullscreen:m,isFullscreen:S=!1,progressTrackRef:x,playheadRef:T,onTogglePlay:v,onToggleMute:g,onSelectSpeed:w,onSeekToTime:A,onSkip:L,timeLabelRef:V,timeDisplayMode:B="elapsed",onToggleTimeDisplay:G,scrubbingRef:P}){const F=C.useMemo(()=>f.stepStartTimesMs.slice(1).map(Z=>Z/f.totalDurationMs*100),[f]),[ne,le]=C.useState(!1),ie=C.useRef(0),I=C.useCallback(Z=>{ie.current=Z;const Se=`${Z*100}%`;x.current&&(x.current.style.width=Se),T.current&&(T.current.style.left=Se),V!=null&&V.current&&(V.current.textContent=RA(Z*f.totalDurationMs,f.totalDurationMs,B))},[x,T,V,f,B]),X=C.useCallback(Z=>{const Se=Z.currentTarget.getBoundingClientRect();return Math.max(0,Math.min(1,(Z.clientX-Se.left)/Se.width))},[]),q=C.useCallback(Z=>{Z.currentTarget.setPointerCapture(Z.pointerId),P&&(P.current=!0),le(!0),I(X(Z))},[P,I,X]),ee=C.useCallback(Z=>{Z.currentTarget.hasPointerCapture(Z.pointerId)&&I(X(Z))},[I,X]),J=C.useCallback(Z=>{Z.currentTarget.hasPointerCapture(Z.pointerId)&&(Z.currentTarget.releasePointerCapture(Z.pointerId),I(X(Z)),P&&(P.current=!1),le(!1),A(ie.current*f.totalDurationMs))},[I,X,P,A,f]);return j.jsxs(Vo.div,{className:"absolute inset-x-0 bottom-0 z-20 rounded-b-lg bg-gradient-to-t from-black/70 via-black/30 to-transparent px-4 pb-2.5 pt-12",initial:!1,animate:{opacity:o?1:0},transition:{duration:.2},style:{pointerEvents:o?"auto":"none"},onClick:Z=>Z.stopPropagation(),children:[j.jsxs("div",{className:`group relative mb-2 w-full cursor-pointer rounded-full bg-white/30 transition-[height] duration-150 ${ne?"h-2":"h-[5px] hover:h-2"}`,onPointerDown:q,onPointerMove:ee,onPointerUp:J,onPointerCancel:J,role:"progressbar","aria-label":"Playback progress","aria-valuemin":0,"aria-valuemax":100,children:[j.jsx("div",{ref:x,className:"absolute inset-y-0 left-0 rounded-full bg-white/80"}),j.jsx("div",{ref:T,className:`absolute top-1/2 h-3.5 w-3.5 -translate-x-1/2 -translate-y-1/2 rounded-full bg-white shadow-sm transition-opacity ${ne?"opacity-100":"opacity-0 group-hover:opacity-100"}`}),F.map((Z,Se)=>j.jsx("div",{className:"absolute top-0 h-full w-0.5 rounded-full bg-black/50",style:{left:`${Z}%`}},Se))]}),j.jsxs("div",{className:"flex items-center gap-1.5",children:[j.jsx("button",{onClick:Z=>{Z.stopPropagation(),v()},className:"flex h-9 w-9 items-center justify-center rounded text-white/95 transition-colors hover:text-white","aria-label":i?"Pause":"Play",children:i?j.jsx(fN,{}):j.jsx(cN,{})}),L&&j.jsxs(j.Fragment,{children:[j.jsx("button",{onClick:Z=>{Z.stopPropagation(),L(-yw)},className:"flex h-9 w-9 items-center justify-center rounded text-white/90 transition-colors hover:text-white","aria-label":"Back 10 seconds",children:j.jsx(dN,{})}),j.jsx("button",{onClick:Z=>{Z.stopPropagation(),L(yw)},className:"flex h-9 w-9 items-center justify-center rounded text-white/90 transition-colors hover:text-white","aria-label":"Forward 10 seconds",children:j.jsx(hN,{})})]}),j.jsx("button",{onClick:Z=>{Z.stopPropagation(),h&&g()},disabled:!h,className:`flex h-9 w-9 items-center justify-center rounded transition-colors ${h?"text-white/90 hover:text-white":"text-white/40"}`,"aria-label":h?l?"Unmute narration":"Mute narration":"No narration audio",children:!h||l?j.jsx(mN,{}):j.jsx(pN,{})}),V&&j.jsx("button",{onClick:Z=>{Z.stopPropagation(),G==null||G()},className:"rounded px-1 text-xs font-medium tabular-nums text-white/90 transition-colors hover:text-white","aria-label":B==="elapsed"?"Show remaining time":"Show elapsed time",children:j.jsx("span",{ref:V})}),j.jsxs("div",{className:"ml-auto flex items-center gap-2",children:[p&&j.jsx(lN,{playbackRate:u,onSelectSpeed:w}),m&&j.jsx("button",{onClick:Z=>{Z.stopPropagation(),m()},className:"flex h-9 w-9 items-center justify-center rounded text-white/90 transition-colors hover:text-white","aria-label":S?"Exit fullscreen":"Enter fullscreen",children:S?j.jsx(gN,{}):j.jsx(yN,{})})]})]})]})}function cN(){return j.jsx("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":!0,children:j.jsx("path",{d:"M8 5v14l11-7z"})})}function fN(){return j.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":!0,children:[j.jsx("rect",{x:"6",y:"4",width:"4",height:"16"}),j.jsx("rect",{x:"14",y:"4",width:"4",height:"16"})]})}function dN(){return j.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":!0,children:[j.jsx("path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8"}),j.jsx("path",{d:"M3 3v5h5"}),j.jsx("text",{x:"12",y:"16",textAnchor:"middle",fontSize:"8.5",fontWeight:"600",fill:"currentColor",stroke:"none",fontFamily:"inherit",children:"10"})]})}function hN(){return j.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":!0,children:[j.jsx("path",{d:"M21 12a9 9 0 1 1-9-9c2.52 0 4.93 1 6.74 2.74L21 8"}),j.jsx("path",{d:"M21 3v5h-5"}),j.jsx("text",{x:"12",y:"16",textAnchor:"middle",fontSize:"8.5",fontWeight:"600",fill:"currentColor",stroke:"none",fontFamily:"inherit",children:"10"})]})}function pN(){return j.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":!0,children:[j.jsx("polygon",{points:"11 5 6 9 2 9 2 15 6 15 11 19 11 5",fill:"currentColor"}),j.jsx("path",{d:"M19.07 4.93a10 10 0 0 1 0 14.14"}),j.jsx("path",{d:"M15.54 8.46a5 5 0 0 1 0 7.07"})]})}function mN(){return j.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":!0,children:[j.jsx("polygon",{points:"11 5 6 9 2 9 2 15 6 15 11 19 11 5",fill:"currentColor"}),j.jsx("line",{x1:"23",y1:"9",x2:"17",y2:"15"}),j.jsx("line",{x1:"17",y1:"9",x2:"23",y2:"15"})]})}function yN(){return j.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":!0,children:[j.jsx("path",{d:"M8 3H5a2 2 0 0 0-2 2v3"}),j.jsx("path",{d:"M21 8V5a2 2 0 0 0-2-2h-3"}),j.jsx("path",{d:"M3 16v3a2 2 0 0 0 2 2h3"}),j.jsx("path",{d:"M16 21h3a2 2 0 0 0 2-2v-3"})]})}function gN(){return j.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":!0,children:[j.jsx("path",{d:"M8 3v3a2 2 0 0 1-2 2H3"}),j.jsx("path",{d:"M21 8h-3a2 2 0 0 1-2-2V3"}),j.jsx("path",{d:"M3 16h3a2 2 0 0 1 2 2v3"}),j.jsx("path",{d:"M16 21v-3a2 2 0 0 1 2-2h3"})]})}function vN(o){const i=typeof window<"u"&&window.parent!==window,l=o.enabled&&i,u=C.useRef(l);u.current=l;const f=C.useRef(null),p=C.useRef(o.controls);p.current=o.controls;const h=C.useCallback(T=>{!u.current||typeof window>"u"||window.parent.postMessage(qO(T),f.current??"*")},[]),m=C.useCallback(T=>{const v=p.current;switch(T.type){case"play":v.play();break;case"pause":case"destroy":v.pause();break;case"seek":v.seekToTime(T.timeMs);break;case"setMuted":v.setMuted(T.muted);break;case"setVolume":v.setVolume(T.volume);break;case"prefetch":v.prefetch();break}},[]);C.useEffect(()=>{if(!l)return;const T=v=>{if(v.source!==window.parent)return;const g=PO(v.data);g&&(v.origin&&v.origin!=="null"&&(f.current=v.origin),m(g))};return window.addEventListener("message",T),()=>window.removeEventListener("message",T)},[l,m]),C.useEffect(()=>{if(!l)return;const T=o.containerRef.current;if(!T||typeof ResizeObserver>"u")return;const v=new ResizeObserver(()=>{const g=T.getBoundingClientRect();h({type:"resize",widthPx:Math.round(g.width),heightPx:Math.round(g.height)})});return v.observe(T),()=>v.disconnect()},[l,o.containerRef,h]);const S=C.useRef(!1);C.useEffect(()=>{!l||S.current||(S.current=!0,h({type:"ready",totalSteps:o.totalSteps,hasNarration:o.hasNarration}))},[l,h,o.totalSteps,o.hasNarration]);const x=o.totalSteps-1;C.useEffect(()=>{l&&(o.playbackState==="playing"?h({type:"started"}):o.playbackState==="paused"&&h(o.stepIndex>=x?{type:"completed"}:{type:"paused"}))},[l,o.playbackState,o.stepIndex,x,h]),C.useEffect(()=>{if(!l)return;const T=o.stepTimeline.totalDurationMs,v=o.stepTimeline.stepStartTimesMs[o.stepIndex]??0,g=T>0?v/T:0;h({type:"stepchange",stepIndex:o.stepIndex,totalSteps:o.totalSteps}),h({type:"progress",stepIndex:o.stepIndex,totalSteps:o.totalSteps,fraction:g})},[l,o.stepIndex,o.totalSteps,o.stepTimeline,h]),C.useEffect(()=>{!l||!o.audioBlocked||h({type:"audioBlocked"})},[l,o.audioBlocked,h])}const bN=3e3;function AA({bundle:o,steps:i,children:l,className:u,onStepChange:f,narrationManifest:p,showSpeedControl:h=!0,embed:m=!1}){const S=i??(o==null?void 0:o.steps),x=p??(o==null?void 0:o.narrationManifest);if(!S||S.length===0)throw new Error("ScenarioPlayer requires steps. Provide a `bundle` or `steps` prop.");const T=Q5(),{isVideoExport:v,hideControls:g,initialMuted:w}=Od(),A=I5(),L=S.length-1,V=C.useRef(null),[B,G]=C.useState(()=>{if(typeof window>"u")return 1;const We=new URLSearchParams(window.location.search).get("__test_speed"),mt=We?Number(We):NaN;return mt>0&&mt<=16?mt:1}),P=v?w:!1,[F,ne]=C.useState(P),le=eN({steps:S,narrationManifest:x,muted:F,playbackRate:B,isVideoExport:v,prefersReducedMotion:T}),{stepIndex:ie,playbackState:I,playing:X,play:q,pause:ee,seekToTime:J,seekOffsetRef:Z,seekGeneration:Se,handleClipEnded:De}=le,Q=C.useRef(null);C.useEffect(()=>{if(!v)return Q.current=W5(()=>{ee()}),()=>{var We;return(We=Q.current)==null?void 0:We.unregister()}},[v,ee]),C.useEffect(()=>{const We=V.current;if(!We||v)return;const mt=new IntersectionObserver(([E])=>{!(E!=null&&E.isIntersecting)&&X&&ee()},{threshold:.5});return mt.observe(We),()=>mt.disconnect()},[v,X,ee]);const{muted:fe,toggleMute:se,audioRef:ve,seekToStep:Me,audioBlocked:O,unlock:te,setVolume:be,prefetch:de}=F5({manifest:x,stepIndex:ie,playing:X,initialMuted:P,playbackRate:B,onClipEnded:De});C.useEffect(()=>{ne(fe)},[fe]);const Xe=C.useMemo(()=>Dw(S,fe?null:x),[S,fe,x]);C.useEffect(()=>{f==null||f(S[ie].data,ie)},[ie,S,f]);const[pn,Re]=C.useState(!0),st=C.useRef(void 0),Et=C.useCallback(()=>{st.current&&clearTimeout(st.current),st.current=setTimeout(()=>Re(!1),bN)},[]),xn=C.useCallback(()=>{Re(!0),I==="playing"&&Et()},[I,Et]);C.useEffect(()=>(I!=="playing"?(Re(!0),st.current&&clearTimeout(st.current)):Et(),()=>{st.current&&clearTimeout(st.current)}),[I,Et]);const ue=C.useCallback(()=>{te(),q(),Q.current&&pw(Q.current.id)},[q,te]),ia=C.useCallback(We=>{const mt=Math.max(0,Math.min(We,Xe.totalDurationMs)),E=Xy(mt,Xe.stepStartTimesMs,L),U=Xe.stepStartTimesMs[E]??0;Me(E,Math.max(0,mt-U)),J(mt,Xe),X&&Q.current&&pw(Q.current.id)},[J,Me,Xe,L,X]),xa=C.useRef(0),no=C.useCallback(We=>{ia(xa.current+We)},[ia]),[Bn,Qe]=C.useState(null),Rt=C.useCallback(We=>{Qe(mt=>({kind:We,key:((mt==null?void 0:mt.key)??0)+1}))},[]),Lo=C.useCallback(()=>Qe(null),[]),qr=C.useCallback(()=>{X?(Rt("pause"),ee()):(Rt("play"),ue())},[X,ee,ue,Rt]),he=C.useCallback(()=>{X?ee():ue()},[X,ee,ue]),Bo=C.useCallback(()=>{te()},[te]),[kn,ao]=C.useState(!1),Hn=m&&typeof document<"u"&&document.fullscreenEnabled;C.useEffect(()=>{if(!Hn)return;const We=()=>ao(document.fullscreenElement!=null);return document.addEventListener("fullscreenchange",We),()=>document.removeEventListener("fullscreenchange",We)},[Hn]);const As=C.useCallback(()=>{document.fullscreenElement?document.exitFullscreen().catch(()=>{}):document.documentElement.requestFullscreen().catch(()=>{})},[]),ko=C.useRef(null),Ho=C.useRef(null),sa=C.useRef(null),zi=C.useRef(!1),[Yo,Ni]=C.useState("elapsed"),oo=C.useCallback(()=>{Ni(We=>We==="elapsed"?"remaining":"elapsed")},[]);tN(X,I,ie,L,B,Xe,ko,Ho,Z,Se,{timeLabelRef:sa,timeDisplayMode:Yo,scrubbingRef:zi,currentTimeMsRef:xa,domEpoch:A?1:0}),vN({enabled:m,containerRef:V,playbackState:I,stepIndex:ie,totalSteps:S.length,stepTimeline:Xe,hasNarration:!!x,audioBlocked:O,controls:{play:ue,pause:ee,seekToTime:ia,setMuted:We=>{fe!==We&&se()},setVolume:be,prefetch:de}});const ra=!g,io=O&&!v&&I!=="idle",so=ra&&j.jsx(uN,{visible:pn,playing:X,muted:fe,playbackRate:B,stepTimeline:Xe,showSpeedControl:h,hasNarration:!!x,onToggleFullscreen:Hn?As:void 0,isFullscreen:kn,progressTrackRef:ko,playheadRef:Ho,onTogglePlay:he,onToggleMute:se,onSelectSpeed:G,onSeekToTime:ia,onSkip:no,timeLabelRef:sa,timeDisplayMode:Yo,onToggleTimeDisplay:oo,scrubbingRef:zi});return j.jsxs("div",{ref:V,className:u,"data-demo-step":ie,"data-demo-state":I,"data-demo-total-steps":S.length,"data-demo-audio-blocked":O?"":void 0,onMouseMove:ra?xn:void 0,children:[j.jsxs("div",{className:"relative",onClick:qr,style:{cursor:v?void 0:"pointer"},children:[l(S[ie].data,ie),j.jsx(Cd,{children:io&&j.jsx(sN,{onEnableAudio:Bo})}),Bn&&!v&&j.jsx(iN,{kind:Bn.kind,onComplete:Lo},Bn.key),A?Eu.createPortal(so,A):so]}),x&&j.jsx("audio",{ref:ve,preload:"none",hidden:!0})]})}function gw(o){return o.scale===wu.scale&&o.x===wu.x&&o.y===wu.y}function SN(o,i){return o.scale===i.scale&&o.x===i.x&&o.y===i.y}function CA({children:o,transform:i,contentRef:l}){const{isVideoExport:u}=Od(),f=Md(),p=(f==null?void 0:f.currentTimeMs)??0,h=C.useRef({from:i,to:i,atTimeMs:0});if(u&&!SN(i,h.current.to)){const T=(p-h.current.atTimeMs)/ld;h.current={from:$E(h.current.from,h.current.to,T),to:i,atTimeMs:p}}const[m,S]=C.useState(!1);if(C.useEffect(()=>{u||S(!0)},[u,i.scale,i.x,i.y]),u){const T=$E(h.current.from,h.current.to,(p-h.current.atTimeMs)/ld);return j.jsx("div",{className:gw(T)?void 0:"overflow-hidden",children:j.jsx("div",{ref:l,style:{position:"relative",transformOrigin:"0 0",transform:`translate(${T.x}px, ${T.y}px) scale(${T.scale})`},children:o})})}const x=!gw(i)||m;return j.jsx("div",{className:x?"overflow-hidden":void 0,children:j.jsx(Vo.div,{ref:l,animate:{scale:i.scale,x:i.x,y:i.y},transition:{duration:ld/1e3,ease:Cw},onAnimationComplete:()=>S(!1),style:{position:"relative",transformOrigin:"0 0"},children:o})})}const TN=48,EN=36;function xN({children:o,insetX:i=TN,insetY:l=EN}){const u={boxSizing:"border-box",height:"var(--scenar-shell-height, 100%)",padding:`${l}px ${i}px`,background:"var(--scenar-backdrop)","--scenar-stage-window-height":`calc(var(--scenar-shell-height, 100%) - ${2*l}px)`},f={"--scenar-shell-height":"var(--scenar-stage-window-height)",height:"var(--scenar-stage-window-height)",overflow:"hidden",borderRadius:"var(--scenar-radius-window)",boxShadow:"var(--scenar-shadow-window)"};return j.jsx("div",{style:u,children:j.jsx("div",{style:f,children:o})})}function Lr(o,i){if(!o||!i)return null;const l=i.querySelector(Nr(o));return!l||!(l instanceof HTMLElement)?(console.warn(`[scenar] cursor target "${o}" not found in DOM. Ensure a [data-cursor-target="${o}"] element exists.`),null):l}function wN(o,i){if(!o||!i)return null;const l=i.querySelector(YO(o));return l||(console.warn(`[scenar] scroll target "${o}" not found in DOM. Ensure a [data-scroll-target="${o}"] element exists.`),null)}function RN(o,i){if(!i)return null;const l=i.querySelector(Nr(o));if(!l)return console.warn(`[scenar] type target "${o}" not found in DOM.`),null;if(l instanceof HTMLInputElement||l instanceof HTMLTextAreaElement)return l;const u=l.querySelector("input, textarea");return u||console.warn(`[scenar] type target "${o}" has no <input> or <textarea> descendant.`),u}function DA(o,i){const l=wN(o.target,i.containerRef.current);l&&(i.isVideoExport?BO(l):jw(l))}function MA(o,i){if(o.target){const l=i.containerRef.current;l&&(l.querySelector(`[data-cursor-target="${o.target}"]`)||console.warn(`[scenar] set_cursor target "${o.target}" not found in DOM.`))}i.setCursorTarget(o.target)}function OA(o,i){i.setCursorTarget(void 0)}function _A(o,i){const l=Lr(o.target,i.containerRef.current);l&&l.click()}function jA(o,i,l){var h;if(!o.target)return;const u=RN(o.target,l.containerRef.current);if(!u)return;const f=u instanceof HTMLTextAreaElement?HTMLTextAreaElement.prototype:HTMLInputElement.prototype,p=(h=Object.getOwnPropertyDescriptor(f,"value"))==null?void 0:h.set;p==null||p.call(u,i),u.dispatchEvent(new Event("input",{bubbles:!0}))}function zA(o,i){const l=Lr(o.target,i.containerRef.current);l&&(l.dispatchEvent(new PointerEvent("pointerenter",{bubbles:!1})),l.dispatchEvent(new PointerEvent("pointerover",{bubbles:!0})),l.dispatchEvent(new MouseEvent("mouseenter",{bubbles:!1})),l.dispatchEvent(new MouseEvent("mouseover",{bubbles:!0})),l.setAttribute("data-hover","true"))}function NA(o,i){const l=Lr(o.target,i.containerRef.current);l&&(l.dispatchEvent(new PointerEvent("pointerleave",{bubbles:!1})),l.dispatchEvent(new PointerEvent("pointerout",{bubbles:!0})),l.dispatchEvent(new MouseEvent("mouseleave",{bubbles:!1})),l.dispatchEvent(new MouseEvent("mouseout",{bubbles:!0})),l.removeAttribute("data-hover"))}function VA(o,i){const l=Lr(o.target,i.containerRef.current);l&&(l.dispatchEvent(new PointerEvent("pointerdown",{bubbles:!0})),l.setAttribute("data-dragging","true"))}function UA(o,i){const l=Lr(o.dragTarget,i.containerRef.current);l&&l.dispatchEvent(new PointerEvent("pointerup",{bubbles:!0}));const u=Lr(o.target,i.containerRef.current);u&&u.removeAttribute("data-dragging")}const AN=1.5;function CN(o,i,l){const u=l.querySelector(Nr(o));if(!u)return console.warn(`[scenar] viewport_transition target "${o}" not found in DOM.`),null;const f=l.getBoundingClientRect(),p=u.getBoundingClientRect(),h=f.width/l.offsetWidth||1,m=(p.left-f.left+p.width/2)/h,S=(p.top-f.top+p.height/2)/h;return{scale:i,x:l.offsetWidth/2-m*i,y:l.offsetHeight/2-S*i}}function LA(o,i){var p;if(!i.setViewportTransform){console.warn("[scenar] viewport_transition action found but no setViewportTransform callback.");return}if(o.viewportReset){i.setViewportTransform({scale:1,x:0,y:0});return}if(!o.target){console.warn("[scenar] viewport_transition has no target and viewportReset is not set.");return}const l=((p=i.cameraRef)==null?void 0:p.current)??i.containerRef.current;if(!l)return;const u=o.viewportZoom??AN,f=CN(o.target,u,l);f&&i.setViewportTransform(f)}function DN(o,i,l,u){const f=o.text??"",p=o.atPercent*l+Tt+f.length*i;p>l&&console.warn(`[scenar] type action in step ${u} at ${o.atPercent} needs ~${Math.round(p)}ms but step is only ${Math.round(l)}ms.`)}function MN(o,i,l,u){const f=o.atPercent*l+Tt+i;f>l&&console.warn(`[scenar] hover action in step ${u} at ${o.atPercent} needs ~${Math.round(f)}ms but step is only ${Math.round(l)}ms.`)}function ON(o,i,l){const u=o.atPercent*i+Tt+Du+Tt;u>i&&console.warn(`[scenar] drag action in step ${l} at ${o.atPercent} needs ~${Math.round(u)}ms but step is only ${Math.round(i)}ms.`)}function _N(o,i,l,u){const f=o.atPercent*l,p=f+LO;for(const h of i){if(h===o||h.type==="viewport_transition"||h.type==="clear_cursor")continue;const m=h.atPercent*l;m>f&&m<p&&console.warn(`[scenar] ${h.type} action in step ${u} at ${h.atPercent} fires ${Math.round(m-f)}ms after a viewport-transition.`)}}function jN(o,i){const{stepIndex:l,narrationManifest:u,steps:f,playbackRate:p=1}=o;C.useEffect(()=>{var T;const h=(T=f[l])==null?void 0:T.interactions;if(!h||h.length===0)return;const m=Mw(l,u,f),S=Math.max(p,.25),x=[];for(const v of h){const g=v.atPercent*m/S;if(v.type==="click")x.push(setTimeout(()=>i.setCursorTarget(v.target),g)),x.push(setTimeout(()=>_A(v,i),g+Tt/S));else if(v.type==="type"){const w=v.text??"";if(w.length===0)continue;const A=v.typeDelay??Ow;DN(v,A,m,l),x.push(setTimeout(()=>i.setCursorTarget(v.target),g));const L=g+Tt/S;for(let V=0;V<w.length;V++){const B=w.substring(0,V+1);x.push(setTimeout(()=>jA(v,B,i),L+V*A/S))}}else if(v.type==="hover"){const w=v.hoverDuration??_w;MN(v,w,m,l),x.push(setTimeout(()=>{var A;(A=i.setShowRipple)==null||A.call(i,!1),i.setCursorTarget(v.target)},g)),x.push(setTimeout(()=>zA(v,i),g+Tt/S)),x.push(setTimeout(()=>{var A;NA(v,i),(A=i.setShowRipple)==null||A.call(i,!0)},g+(Tt+w)/S))}else v.type==="drag"?(ON(v,m,l),x.push(setTimeout(()=>{var w;(w=i.setShowRipple)==null||w.call(i,!1),i.setCursorTarget(v.target)},g)),x.push(setTimeout(()=>{var w;(w=i.setDragging)==null||w.call(i,!0),VA(v,i)},g+Tt/S)),x.push(setTimeout(()=>i.setCursorTarget(v.dragTarget),g+(Tt+Du)/S)),x.push(setTimeout(()=>{var w,A;UA(v,i),(w=i.setDragging)==null||w.call(i,!1),(A=i.setShowRipple)==null||A.call(i,!0)},g+(Tt+Du+Tt)/S))):v.type==="viewport_transition"?(_N(v,h,m,l),x.push(setTimeout(()=>LA(v,i),g))):x.push(setTimeout(()=>zN(v,i),g))}return()=>{for(const v of x)clearTimeout(v)}},[l,u,i,f,p])}function zN(o,i){switch(o.type){case"scroll_to":DA(o,i);break;case"set_cursor":MA(o,i);break;case"clear_cursor":OA(o,i);break;default:i.setCursorTarget(o.target);break}}function NN(o,i,l){const{stepIndex:u,narrationManifest:f,steps:p}=o,h=C.useRef(new Set);C.useEffect(()=>{var w;const S=(w=p[u])==null?void 0:w.interactions;if(!S||S.length===0)return;const x=l.stepStartTimesMs[u]??0,T=l.stepStartTimesMs[u+1],v=T!=null?T-x:Mw(u,f,p),g=l.currentTimeMs-x;for(const A of S){const L=A.atPercent*v;if(A.type==="click")m(`${u}-${A.atPercent}-click-cursor`,g,L,()=>{i.setCursorTarget(A.target)}),m(`${u}-${A.atPercent}-click-dispatch`,g,L+Tt,()=>{_A(A,i)});else if(A.type==="type"){const V=A.text??"";if(V.length===0)continue;const B=A.typeDelay??Ow;m(`${u}-${A.atPercent}-type-cursor`,g,L,()=>{i.setCursorTarget(A.target)});const G=L+Tt;if(g>=G){const P=Math.min(Math.floor((g-G)/B)+1,V.length);m(`${u}-${A.atPercent}-type-char-${P}`,g,0,()=>{jA(A,V.substring(0,P),i)})}}else if(A.type==="hover"){const V=A.hoverDuration??_w;m(`${u}-${A.atPercent}-hover-cursor`,g,L,()=>{var B;(B=i.setShowRipple)==null||B.call(i,!1),i.setCursorTarget(A.target)}),m(`${u}-${A.atPercent}-hover-enter`,g,L+Tt,()=>{zA(A,i)}),m(`${u}-${A.atPercent}-hover-leave`,g,L+Tt+V,()=>{var B;NA(A,i),(B=i.setShowRipple)==null||B.call(i,!0)})}else A.type==="drag"?(m(`${u}-${A.atPercent}-drag-cursor`,g,L,()=>{var V;(V=i.setShowRipple)==null||V.call(i,!1),i.setCursorTarget(A.target)}),m(`${u}-${A.atPercent}-drag-press`,g,L+Tt,()=>{var V;(V=i.setDragging)==null||V.call(i,!0),VA(A,i)}),m(`${u}-${A.atPercent}-drag-move`,g,L+Tt+Du,()=>{i.setCursorTarget(A.dragTarget)}),m(`${u}-${A.atPercent}-drag-release`,g,L+Tt+Du+Tt,()=>{var V,B;UA(A,i),(V=i.setDragging)==null||V.call(i,!1),(B=i.setShowRipple)==null||B.call(i,!0)})):A.type==="viewport_transition"?m(`${u}-${A.atPercent}-viewport`,g,L,()=>{LA(A,i)}):m(`${u}-${A.atPercent}-${A.type}`,g,L,()=>{VN(A,i)})}}),C.useEffect(()=>{h.current.clear()},[u]);function m(S,x,T,v){x>=T&&!h.current.has(S)&&(h.current.add(S),v())}}function VN(o,i){switch(o.type){case"scroll_to":DA(o,i);break;case"set_cursor":MA(o,i);break;case"clear_cursor":OA(o,i);break;default:i.setCursorTarget(o.target);break}}function BA(o){const i=Md(),{isVideoExport:l}=Od(),u=C.useMemo(()=>({containerRef:o.containerRef,cameraRef:o.cameraRef,setCursorTarget:o.setCursorTarget,setShowRipple:o.setShowRipple,setDragging:o.setDragging,setViewportTransform:o.setViewportTransform,isVideoExport:l}),[o.containerRef,o.cameraRef,o.setCursorTarget,o.setShowRipple,o.setDragging,o.setViewportTransform,l]);i?NN(o,u,i):jN(o,u)}const kA="data-scenar-shot-frame",UN=`[${kA}]`,vw=33;function LN({scenarioId:o,steps:i,renderStep:l,canonicalWidth:u,shellHeight:f,narrationManifest:p,stage:h=!1,providers:m,onReady:S,onError:x}){const[T,v]=C.useState(0),g=C.useRef(0);g.current=T;const w=C.useMemo(()=>Dw(i,p??null),[i,p]),A=C.useRef(!1);C.useEffect(()=>{if(A.current)return;A.current=!0;let V;try{V=UO(i,w)}catch(G){x(G instanceof Error?G:new Error(String(G)));return}const B=()=>new Promise(G=>{requestAnimationFrame(()=>requestAnimationFrame(()=>setTimeout(G,30)))});S({shots:V,timeline:w,frameSelector:UN,setTime:G=>Eu.flushSync(()=>v(G)),walkTo:async G=>{for(let P=g.current+vw;P<G;P+=vw)Eu.flushSync(()=>v(P));Eu.flushSync(()=>v(G)),Eu.flushSync(()=>{}),await B()}})},[]);const L=j.jsx(BN,{scenarioId:o,steps:i,renderStep:l,canonicalWidth:u,shellHeight:f,narrationManifest:p,stage:h});return j.jsx(QO,{currentTimeMs:T,stepStartTimesMs:w.stepStartTimesMs,children:j.jsx(IO,{children:m?j.jsx(m,{children:L}):L})})}function BN({scenarioId:o,steps:i,renderStep:l,canonicalWidth:u,shellHeight:f,narrationManifest:p,stage:h}){const m=C.useRef(null),S=C.useRef(null),[x,T]=C.useState(0),[,v]=C.useState(void 0),[,g]=C.useState(!0),[,w]=C.useState(!1),[A,L]=C.useState(wu),V=C.useCallback((G,P)=>{T(P),v(void 0)},[]);BA({stepIndex:x,narrationManifest:p,containerRef:m,cameraRef:S,setCursorTarget:v,setShowRipple:g,setDragging:w,setViewportTransform:L,steps:i});const B=C.useMemo(()=>({id:o,steps:i,narrationManifest:p}),[o,i,p]);return j.jsx("div",{[kA]:"",ref:m,style:{width:u,position:"relative",overflow:"hidden","--scenar-shell-height":`${f}px`},children:j.jsx(CA,{transform:A,contentRef:S,children:j.jsx(AA,{bundle:B,onStepChange:V,children:h?(G,P)=>j.jsx(xN,{children:l(G,P)}):l})})})}const bw=.24,kN=.42,HN=1400,YN=.15;function qN(o){return{type:"spring",visualDuration:Math.min(kN,Math.max(bw,bw+o/HN)),bounce:YN}}const GN=80,Sw=12,PN=400,$N=100;function Tw(o,i){const l=Sg(i);if(!l)return;const u=l.getBoundingClientRect(),f=i.getBoundingClientRect();(f.top<u.top||f.bottom>u.bottom)&&console.warn(`[Cursor] Target "${o}" is not fully visible in its scroll container. Add a scroll-to interaction before this step, or adjust the content layout.
297
+ target: top=${f.top.toFixed(0)} bottom=${f.bottom.toFixed(0)}
298
+ container: top=${u.top.toFixed(0)} bottom=${u.bottom.toFixed(0)}`)}function XN({target:o,containerRef:i,showRipple:l=!0,isDragging:u=!1}){const[f,p]=C.useState(null),h=C.useRef(null),m=C.useCallback(le=>{if(le===null){h.current=null,p(null);return}const ie=h.current,I=ie?Math.hypot(le.x-ie.x,le.y-ie.y):0;h.current=le,p({pos:le,distancePx:I})},[]),S=(f==null?void 0:f.pos)??null,x=Md(),[T,v]=C.useState(!1),g=C.useRef(void 0),w=C.useRef(void 0),A=C.useRef(void 0),[L,V]=C.useState(null),B=C.useRef(void 0);C.useEffect(()=>{x&&o!==B.current&&(B.current=o,V(o?x.currentTimeMs:null))},[o]);const G=l&&!u&&x!=null&&L!=null&&x.currentTimeMs-L>=Tt,P=x?G:T&&!u,F=C.useRef(!1);F.current=x!=null,C.useEffect(()=>{if(!F.current)return;if(!o){m(null);return}const le=i.current;if(!le)return;const ie=le.querySelector(Nr(o));ie&&(Tw(o,ie),m(wy(le,ie)))},[o,i]),C.useEffect(()=>{if(F.current)return;if(clearTimeout(g.current),clearTimeout(w.current),clearTimeout(A.current),v(!1),!o){m(null);return}let le=!1,ie=0;function I(){if(le)return;const q=i.current;if(!q)return;const ee=q.querySelector(Nr(o));if(!ee){ie<Sw?(ie++,w.current=setTimeout(I,GN)):console.warn(`[Cursor] Could not find target "${o}" after ${Sw} retries.`);return}const J=jw(ee);A.current=setTimeout(()=>{requestAnimationFrame(()=>{le||(Tw(o,ee),m(wy(q,ee)),l&&(g.current=setTimeout(()=>{le||v(!0)},Tt)))})},J?PN:0)}const X=requestAnimationFrame(I);return()=>{le=!0,cancelAnimationFrame(X),clearTimeout(w.current),clearTimeout(A.current),clearTimeout(g.current)}},[o,i,l]),C.useEffect(()=>()=>{clearTimeout(g.current),clearTimeout(w.current),clearTimeout(A.current)},[]);const ne=C.useCallback(()=>{const le=i.current;if(!le||!o)return;const ie=le.querySelector(Nr(o));ie&&m(wy(le,ie))},[o,i]);return C.useEffect(()=>{if(F.current)return;const le=i.current;if(!le||!o)return;let ie;const I=new ResizeObserver(()=>{clearTimeout(ie),ie=setTimeout(ne,$N)});return I.observe(le),()=>{clearTimeout(ie),I.disconnect()}},[o,i,ne]),j.jsx(Cd,{children:S&&j.jsxs(Vo.div,{className:"pointer-events-none absolute z-50",style:{top:0,left:0},initial:{x:S.x,y:S.y,opacity:0},animate:{x:S.x,y:S.y,opacity:1},exit:{opacity:0},transition:qN((f==null?void 0:f.distancePx)??0),children:[j.jsx(Vo.span,{className:"block",animate:P?{scale:[1,.85,1]}:{scale:1},transition:{duration:.25,ease:"easeOut"},style:{transformOrigin:"top left"},children:u?j.jsx(ZN,{}):j.jsx(QN,{})}),j.jsx(Cd,{children:P&&j.jsx(Vo.span,{className:"absolute left-0 top-0 h-4 w-4 -translate-x-1/2 -translate-y-1/2 rounded-full bg-primary/25",initial:{scale:.5,opacity:.8},animate:{scale:2.8,opacity:0},exit:{opacity:0},transition:{duration:.45,ease:"easeOut"}},"ripple")})]})})}function QN(){return j.jsx("svg",{width:"18",height:"24",viewBox:"0 0 12 16",fill:"none",className:"-translate-x-px -translate-y-px drop-shadow-sm","aria-hidden":!0,children:j.jsx("path",{d:"M1 1v11.5l3-3 2.5 5.5 2-1-2.5-5.5H10L1 1Z",fill:"currentColor",stroke:"var(--scenar-cursor-stroke, white)",strokeWidth:"1",strokeLinejoin:"round"})})}function ZN(){return j.jsxs("svg",{width:"18",height:"18",viewBox:"0 0 16 16",fill:"none",className:"-translate-x-2 -translate-y-2 drop-shadow-sm","aria-hidden":!0,children:[j.jsx("path",{d:"M4.5 8V5.5a1 1 0 0 1 2 0V4a1 1 0 0 1 2 0v.5a1 1 0 0 1 2 0V5a1 1 0 0 1 2 0v4.5a3.5 3.5 0 0 1-3.5 3.5h-1A3.5 3.5 0 0 1 4.5 9.5V8Z",fill:"currentColor",stroke:"var(--scenar-cursor-stroke, white)",strokeWidth:"1",strokeLinejoin:"round"}),j.jsx("path",{d:"M4.5 8H3a1.5 1.5 0 0 1 0-3h1.5",stroke:"var(--scenar-cursor-stroke, white)",strokeWidth:"0.5",fill:"currentColor"})]})}const IN=896,JN=0,Ew="relative mx-auto overflow-hidden";function FN({containerRef:o,children:i,className:l,canonicalWidth:u=IN,minZoom:f=JN,shellHeight:p,wrapperClassName:h=Ew}){const{isVideoExport:m}=Od(),S=C.useRef(null),x=C.useRef(null),[T,v]=C.useState(1),[g,w]=C.useState(null),A=o??x;C.useLayoutEffect(()=>{if(m)return;const G=S.current;if(!G)return;const P=ne=>{v(Math.max(Math.min(ne/u,1),f))};P(G.getBoundingClientRect().width);const F=new ResizeObserver(ne=>{P(ne[0].contentRect.width)});return F.observe(G),()=>F.disconnect()},[m,u,f]);const L=l?`${h} ${l}`:h;if(m)return j.jsx("div",{ref:A,className:L,children:i});const V={width:u,zoom:T};p!=null&&(V["--scenar-shell-height"]=`${p}px`);const B=h===Ew?{maxWidth:u}:void 0;return j.jsxs("div",{ref:S,className:L,style:B,children:[j.jsx("div",{ref:A,className:"relative",style:V,children:j.jsx(Z5,{value:g,children:i})}),j.jsx("div",{ref:w,className:"pointer-events-none absolute inset-0"})]})}const xw="scenar";/**
299
+ * @license lucide-react v1.8.0 - ISC
300
+ *
301
+ * This source code is licensed under the ISC license.
302
+ * See the LICENSE file in the root directory of this source tree.
303
+ */const HA=(...o)=>o.filter((i,l,u)=>!!i&&i.trim()!==""&&u.indexOf(i)===l).join(" ").trim();/**
304
+ * @license lucide-react v1.8.0 - ISC
305
+ *
306
+ * This source code is licensed under the ISC license.
307
+ * See the LICENSE file in the root directory of this source tree.
308
+ */const KN=o=>o.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase();/**
309
+ * @license lucide-react v1.8.0 - ISC
310
+ *
311
+ * This source code is licensed under the ISC license.
312
+ * See the LICENSE file in the root directory of this source tree.
313
+ */const WN=o=>o.replace(/^([A-Z])|[\s-_]+(\w)/g,(i,l,u)=>u?u.toUpperCase():l.toLowerCase());/**
314
+ * @license lucide-react v1.8.0 - ISC
315
+ *
316
+ * This source code is licensed under the ISC license.
317
+ * See the LICENSE file in the root directory of this source tree.
318
+ */const ww=o=>{const i=WN(o);return i.charAt(0).toUpperCase()+i.slice(1)};/**
319
+ * @license lucide-react v1.8.0 - ISC
320
+ *
321
+ * This source code is licensed under the ISC license.
322
+ * See the LICENSE file in the root directory of this source tree.
323
+ */var qy={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/**
324
+ * @license lucide-react v1.8.0 - ISC
325
+ *
326
+ * This source code is licensed under the ISC license.
327
+ * See the LICENSE file in the root directory of this source tree.
328
+ */const e4=o=>{for(const i in o)if(i.startsWith("aria-")||i==="role"||i==="title")return!0;return!1},t4=C.createContext({}),n4=()=>C.useContext(t4),a4=C.forwardRef(({color:o,size:i,strokeWidth:l,absoluteStrokeWidth:u,className:f="",children:p,iconNode:h,...m},S)=>{const{size:x=24,strokeWidth:T=2,absoluteStrokeWidth:v=!1,color:g="currentColor",className:w=""}=n4()??{},A=u??v?Number(l??T)*24/Number(i??x):l??T;return C.createElement("svg",{ref:S,...qy,width:i??x??qy.width,height:i??x??qy.height,stroke:o??g,strokeWidth:A,className:HA("lucide",w,f),...!p&&!e4(m)&&{"aria-hidden":"true"},...m},[...h.map(([L,V])=>C.createElement(L,V)),...Array.isArray(p)?p:[p]])});/**
329
+ * @license lucide-react v1.8.0 - ISC
330
+ *
331
+ * This source code is licensed under the ISC license.
332
+ * See the LICENSE file in the root directory of this source tree.
333
+ */const Ea=(o,i)=>{const l=C.forwardRef(({className:u,...f},p)=>C.createElement(a4,{ref:p,iconNode:i,className:HA(`lucide-${KN(ww(o))}`,`lucide-${o}`,u),...f}));return l.displayName=ww(o),l};/**
334
+ * @license lucide-react v1.8.0 - ISC
335
+ *
336
+ * This source code is licensed under the ISC license.
337
+ * See the LICENSE file in the root directory of this source tree.
338
+ */const o4=[["path",{d:"M10.268 21a2 2 0 0 0 3.464 0",key:"vwvbt9"}],["path",{d:"M3.262 15.326A1 1 0 0 0 4 17h16a1 1 0 0 0 .74-1.673C19.41 13.956 18 12.499 18 8A6 6 0 0 0 6 8c0 4.499-1.411 5.956-2.738 7.326",key:"11g9vi"}]],i4=Ea("bell",o4);/**
339
+ * @license lucide-react v1.8.0 - ISC
340
+ *
341
+ * This source code is licensed under the ISC license.
342
+ * See the LICENSE file in the root directory of this source tree.
343
+ */const s4=[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]],r4=Ea("chevron-left",s4);/**
344
+ * @license lucide-react v1.8.0 - ISC
345
+ *
346
+ * This source code is licensed under the ISC license.
347
+ * See the LICENSE file in the root directory of this source tree.
348
+ */const l4=[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]],u4=Ea("chevron-right",l4);/**
349
+ * @license lucide-react v1.8.0 - ISC
350
+ *
351
+ * This source code is licensed under the ISC license.
352
+ * See the LICENSE file in the root directory of this source tree.
353
+ */const c4=[["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}],["circle",{cx:"12",cy:"5",r:"1",key:"gxeob9"}],["circle",{cx:"12",cy:"19",r:"1",key:"lyex9k"}]],f4=Ea("ellipsis-vertical",c4);/**
354
+ * @license lucide-react v1.8.0 - ISC
355
+ *
356
+ * This source code is licensed under the ISC license.
357
+ * See the LICENSE file in the root directory of this source tree.
358
+ */const d4=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20",key:"13o1zl"}],["path",{d:"M2 12h20",key:"9i4pu4"}]],h4=Ea("globe",d4);/**
359
+ * @license lucide-react v1.8.0 - ISC
360
+ *
361
+ * This source code is licensed under the ISC license.
362
+ * See the LICENSE file in the root directory of this source tree.
363
+ */const p4=[["rect",{width:"18",height:"11",x:"3",y:"11",rx:"2",ry:"2",key:"1w4ew1"}],["path",{d:"M7 11V7a5 5 0 0 1 10 0v4",key:"fwvmzm"}]],m4=Ea("lock",p4);/**
364
+ * @license lucide-react v1.8.0 - ISC
365
+ *
366
+ * This source code is licensed under the ISC license.
367
+ * See the LICENSE file in the root directory of this source tree.
368
+ */const y4=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]],g4=Ea("plus",y4);/**
369
+ * @license lucide-react v1.8.0 - ISC
370
+ *
371
+ * This source code is licensed under the ISC license.
372
+ * See the LICENSE file in the root directory of this source tree.
373
+ */const v4=[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}]],b4=Ea("rotate-ccw",v4);/**
374
+ * @license lucide-react v1.8.0 - ISC
375
+ *
376
+ * This source code is licensed under the ISC license.
377
+ * See the LICENSE file in the root directory of this source tree.
378
+ */const S4=[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]],T4=Ea("search",S4);/**
379
+ * @license lucide-react v1.8.0 - ISC
380
+ *
381
+ * This source code is licensed under the ISC license.
382
+ * See the LICENSE file in the root directory of this source tree.
383
+ */const E4=[["path",{d:"M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z",key:"r04s7s"}]],x4=Ea("star",E4);/**
384
+ * @license lucide-react v1.8.0 - ISC
385
+ *
386
+ * This source code is licensed under the ISC license.
387
+ * See the LICENSE file in the root directory of this source tree.
388
+ */const w4=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],R4=Ea("x",w4),A4=420;function C4(o){const i=o.replace(/^https?:\/\//,"");return i.split("/")[0]??i}function D4({url:o,contentKey:i,slideDirection:l,children:u,zoom:f}){const p=l==="forward"?24:l==="backward"?-24:0;return j.jsxs("div",{className:"flex flex-col overflow-hidden rounded-lg border",style:{height:`var(--scenar-shell-height, ${A4}px)`,borderColor:"var(--scenar-border)",zoom:f??void 0},children:[j.jsxs("div",{className:"flex items-center bg-[var(--scenar-chrome)] px-2 pt-1.5",children:[j.jsxs("div",{className:"mr-3 flex gap-2 pl-1.5",children:[j.jsx("span",{className:"h-3 w-3 rounded-full bg-[#ff5f57]"}),j.jsx("span",{className:"h-3 w-3 rounded-full bg-[#febc2e]"}),j.jsx("span",{className:"h-3 w-3 rounded-full bg-[#28c840]"})]}),j.jsxs("div",{className:"flex items-center gap-1.5 rounded-t-lg bg-[var(--scenar-chrome-raised)] px-3 py-1.5",children:[j.jsx(h4,{className:"h-3.5 w-3.5 shrink-0 text-[#9aa0a6]"}),j.jsx("span",{className:"max-w-[180px] truncate text-xs text-[#e8eaed]",children:C4(o)}),j.jsx(R4,{className:"h-3 w-3 shrink-0 text-[#9aa0a6]"})]}),j.jsx(g4,{className:"ml-1 h-3.5 w-3.5 shrink-0 text-[#9aa0a6]"}),j.jsx("div",{className:"flex-1"}),j.jsx("div",{className:"mr-1 flex h-5 w-5 items-center justify-center rounded-full bg-[#5f6368]",children:j.jsx("span",{className:"text-[8px] font-medium leading-none text-[#e8eaed]",children:"J"})})]}),j.jsxs("div",{className:"flex items-center gap-2 bg-[var(--scenar-chrome-raised)] px-2 py-1",children:[j.jsxs("div",{className:"flex items-center gap-1",children:[j.jsx(r4,{className:"h-4 w-4 text-[#9aa0a6]"}),j.jsx(u4,{className:"h-4 w-4 text-[#9aa0a6]"}),j.jsx(b4,{className:"ml-0.5 h-3.5 w-3.5 text-[#9aa0a6]"})]}),j.jsxs("div",{className:"flex flex-1 items-center gap-1.5 rounded-full bg-[var(--scenar-chrome)] px-3 py-1.5",children:[j.jsx(m4,{className:"h-3 w-3 shrink-0 text-[#9aa0a6]"}),j.jsx("span",{className:"truncate text-xs text-[var(--scenar-chrome-foreground)]",children:o})]}),j.jsxs("div",{className:"flex items-center gap-1",children:[j.jsx(x4,{className:"h-3.5 w-3.5 text-[#9aa0a6]"}),j.jsx("div",{className:"h-4 w-4 rounded-full bg-[#5f6368]"}),j.jsx(f4,{className:"h-4 w-4 text-[#9aa0a6]"})]})]}),j.jsx(Vo.div,{className:"flex-1 overflow-y-auto",style:{background:"var(--scenar-surface)"},initial:{opacity:0,x:p},animate:{opacity:1,x:0},transition:{duration:.3,ease:"easeOut"},children:u},i)]})}function M4({header:o,sidebar:i,children:l,rightPanel:u}){return j.jsxs("div",{className:"flex h-full flex-col bg-[var(--scenar-surface)]",children:[o,j.jsxs("div",{className:"flex min-h-0 flex-1",children:[i,j.jsx("main",{className:"min-w-0 flex-1 overflow-y-auto",children:l}),u]})]})}function O4({appName:o,logo:i,navLinks:l,userName:u,hideSearch:f,hideNotifications:p}){var m;const h=((m=(u??o??"A")[0])==null?void 0:m.toUpperCase())??"A";return j.jsxs("header",{className:"flex h-10 shrink-0 items-center justify-between border-b border-[var(--scenar-border)] bg-[var(--scenar-surface)] px-4",children:[j.jsxs("div",{className:"flex items-center gap-3",children:[j.jsxs("div",{className:"flex items-center gap-2",children:[i??j.jsx("div",{className:"flex h-6 w-6 items-center justify-center rounded-md bg-[#3b82f6]",children:j.jsx("span",{className:"text-[10px] font-bold leading-none text-white",children:h})}),o&&j.jsx("span",{className:"text-[13px] font-semibold text-[var(--scenar-foreground)]",children:o})]}),l&&l.length>0&&j.jsx("nav",{className:"ml-4 flex items-center gap-1",children:l.map((S,x)=>j.jsx("span",{className:`rounded-md px-2.5 py-1 text-[12px] ${S.active?"bg-[var(--scenar-accent)] font-medium text-[var(--scenar-foreground)]":"text-[var(--scenar-muted-foreground)]"}`,children:S.label},x))})]}),j.jsxs("div",{className:"flex items-center gap-2.5",children:[!f&&j.jsx(T4,{className:"h-3.5 w-3.5 text-[var(--scenar-muted-foreground)]"}),!p&&j.jsx(i4,{className:"h-3.5 w-3.5 text-[var(--scenar-muted-foreground)]"}),j.jsx("div",{className:"flex h-6 w-6 items-center justify-center rounded-full bg-[#6366f1]",children:j.jsx("span",{className:"text-[10px] font-medium leading-none text-white",children:h})})]})]})}function _4({items:o,width:i=200}){return j.jsx("aside",{className:"shrink-0 overflow-y-auto border-r border-[var(--scenar-border)] bg-[var(--scenar-surface)] py-2",style:{width:i},children:o.map((l,u)=>{if(l.isSection)return j.jsx("div",{className:"px-4 pb-1 pt-3 text-[10px] font-semibold uppercase tracking-wider text-[var(--scenar-muted-foreground)]",children:l.label},u);const f=(l.depth??0)*12;return j.jsxs("div",{className:`relative flex items-center gap-2 px-4 py-1.5 text-[12px] ${l.active?"font-medium text-[var(--scenar-foreground)]":"text-[var(--scenar-muted-foreground)]"}`,style:{paddingLeft:`${16+f}px`},children:[l.active&&j.jsx("span",{className:"absolute left-0 top-1 bottom-1 w-[3px] rounded-r bg-[#3b82f6]"}),l.icon&&j.jsx("span",{className:"shrink-0",children:l.icon}),j.jsx("span",{className:"truncate",children:l.label})]},u)})})}function YA({title:o,subtitle:i,headerSlot:l,fields:u,submitLabel:f="Submit",footerText:p,width:h=280,children:m}){return j.jsxs("div",{className:"rounded-lg border border-[var(--scenar-border)] bg-[var(--scenar-card)] p-5 shadow-sm",style:{width:h},children:[(l||o)&&j.jsxs("div",{className:"mb-4 text-center",children:[l&&j.jsx("div",{className:"mb-2 flex justify-center",children:l}),o&&j.jsx("h3",{className:"text-[14px] font-semibold text-[var(--scenar-foreground)]",children:o}),i&&j.jsx("p",{className:"mt-0.5 text-[12px] text-[var(--scenar-muted-foreground)]",children:i})]}),j.jsx("div",{className:"space-y-2.5",children:u.map((S,x)=>j.jsxs("div",{children:[j.jsx("label",{className:"mb-0.5 block text-[11px] font-medium text-[var(--scenar-muted-foreground)]",children:S.label}),j.jsx("div",{className:"rounded-md border border-[var(--scenar-border)] bg-[var(--scenar-surface)] px-2.5 py-1.5 text-[12px]",children:S.type==="password"?j.jsx("span",{className:"text-[var(--scenar-muted-foreground)]",children:"•".repeat(12)}):S.value?j.jsx("span",{className:"text-[var(--scenar-foreground)]",children:S.value}):j.jsx("span",{className:"text-[var(--scenar-muted-foreground)]",children:S.placeholder??""})})]},x))}),m,j.jsx("div",{className:"mt-4",children:j.jsx("div",{className:"rounded-md bg-[#3b82f6] py-1.5 text-center text-[12px] font-medium text-white",children:f})}),p&&j.jsx("p",{className:"mt-3 text-center text-[11px] text-[var(--scenar-muted-foreground)]",children:p})]})}function j4({columns:o,rows:i,emptyText:l}){return j.jsx("div",{className:"overflow-hidden rounded-lg border border-[var(--scenar-border)]",children:j.jsxs("table",{className:"w-full text-[12px]",children:[j.jsx("thead",{children:j.jsx("tr",{className:"border-b border-[var(--scenar-border)] bg-[var(--scenar-accent)]",children:o.map(u=>j.jsx("th",{className:`px-3 py-2 font-medium text-[var(--scenar-muted-foreground)] ${u.width??""} text-${u.align??"left"}`,children:u.label},u.key))})}),j.jsxs("tbody",{children:[i.length===0&&l&&j.jsx("tr",{children:j.jsx("td",{colSpan:o.length,className:"px-3 py-6 text-center text-[var(--scenar-muted-foreground)]",children:l})}),i.map(u=>j.jsx("tr",{className:"border-b border-[var(--scenar-border)] last:border-b-0",children:o.map(f=>j.jsx("td",{className:`px-3 py-2 text-[var(--scenar-foreground)] ${f.width??""} text-${f.align??"left"}`,children:u.cells[f.key]??"—"},f.key))},u.id))]})]})})}const z4={success:"bg-[#22c55e]/15 text-[#22c55e]",warning:"bg-[#eab308]/15 text-[#eab308]",error:"bg-[#ef4444]/15 text-[#ef4444]",info:"bg-[#3b82f6]/15 text-[#3b82f6]",neutral:"bg-[#94a3b8]/15 text-[#94a3b8]"};function Gy({label:o,variant:i="neutral"}){return j.jsx("span",{className:`inline-flex items-center rounded-full px-2 py-0.5 text-[11px] font-medium leading-none ${z4[i]}`,children:o})}function N4({appName:o,logo:i,subtitle:l,fields:u,submitLabel:f="Sign in",footerText:p,cardWidth:h=280,background:m,topBar:S,submitTargetId:x}){var g;const T=m??"linear-gradient(to bottom, var(--scenar-surface), color-mix(in srgb, var(--scenar-accent) 30%, var(--scenar-surface)))",v=i??j.jsx("div",{className:"flex h-8 w-8 items-center justify-center rounded-lg bg-[#3b82f6]/10",children:j.jsx("span",{className:"text-sm font-bold text-[#3b82f6]",children:((g=o[0])==null?void 0:g.toUpperCase())??"A"})});return j.jsxs("div",{className:"flex h-full flex-col",style:{background:T},children:[S,j.jsx("div",{className:"flex flex-1 items-center justify-center",children:j.jsx("div",{"data-cursor-target":x,children:j.jsx(YA,{title:o,subtitle:l??"Sign in to your account",headerSlot:v,fields:u,submitLabel:f,footerText:p,width:h})})})]})}function Py({appName:o,logo:i,navLinks:l,userName:u,sidebarItems:f,sidebarWidth:p,children:h}){return j.jsx(M4,{header:j.jsx(O4,{appName:o,logo:i,navLinks:l,userName:u}),sidebar:f?j.jsx(_4,{items:f,width:p}):void 0,children:h})}const V4=""+new URL("logo-f-5LjVqJ.png",import.meta.url).href;function qA(o,i){return Ke.jsxDEV(D4,{url:`https://${o.url}`,contentKey:String(i),children:L4(o.screen)},void 0,!1,{fileName:"/home/runner/work/scenar/scenar/packages/cli/examples/welcome-tour/index.tsx",lineNumber:27,columnNumber:5},this)}const U4=[{label:"Home",active:!0},{label:"Projects"},{label:"Settings"}],$y=[{label:"Workspace",isSection:!0},{label:"Overview",active:!0},{label:"Projects"},{label:"Members"},{label:"Account",isSection:!0},{label:"Profile"},{label:"Billing"}];function L4(o){switch(o){case"login":return Ke.jsxDEV(N4,{appName:"Acme Cloud",subtitle:"Sign in to your workspace",fields:[{label:"Email",value:"jordan@acme.cloud",type:"email"},{label:"Password",type:"password"}],submitLabel:"Sign in",footerText:"Forgot password?"},void 0,!1,{fileName:"/home/runner/work/scenar/scenar/packages/cli/examples/welcome-tour/index.tsx",lineNumber:53,columnNumber:9},this);case"dashboard":return Ke.jsxDEV(Py,{appName:"Acme Cloud",userName:"Jordan",navLinks:U4,sidebarItems:$y,children:Ke.jsxDEV("div",{className:"p-5",children:[Ke.jsxDEV("div",{className:"mb-4 flex items-center gap-2",children:[Ke.jsxDEV("img",{src:V4,alt:"Acme Cloud",width:24,height:24,className:"rounded"},void 0,!1,{fileName:"/home/runner/work/scenar/scenar/packages/cli/examples/welcome-tour/index.tsx",lineNumber:75,columnNumber:15},this),Ke.jsxDEV("h2",{className:"text-[15px] font-semibold text-[var(--scenar-foreground)]",children:"Welcome back, Jordan"},void 0,!1,{fileName:"/home/runner/work/scenar/scenar/packages/cli/examples/welcome-tour/index.tsx",lineNumber:76,columnNumber:15},this)]},void 0,!0,{fileName:"/home/runner/work/scenar/scenar/packages/cli/examples/welcome-tour/index.tsx",lineNumber:74,columnNumber:13},this),Ke.jsxDEV("div",{className:"grid grid-cols-3 gap-3",children:[{label:"Active projects",value:"12"},{label:"Open tasks",value:"37"},{label:"Deploys today",value:"8"}].map(i=>Ke.jsxDEV("div",{className:"rounded-lg border border-[var(--scenar-border)] bg-[var(--scenar-card)] p-4",children:[Ke.jsxDEV("div",{className:"text-[20px] font-semibold text-[var(--scenar-foreground)]",children:i.value},void 0,!1,{fileName:"/home/runner/work/scenar/scenar/packages/cli/examples/welcome-tour/index.tsx",lineNumber:90,columnNumber:19},this),Ke.jsxDEV("div",{className:"text-[11px] text-[var(--scenar-muted-foreground)]",children:i.label},void 0,!1,{fileName:"/home/runner/work/scenar/scenar/packages/cli/examples/welcome-tour/index.tsx",lineNumber:93,columnNumber:19},this)]},i.label,!0,{fileName:"/home/runner/work/scenar/scenar/packages/cli/examples/welcome-tour/index.tsx",lineNumber:86,columnNumber:17},this))},void 0,!1,{fileName:"/home/runner/work/scenar/scenar/packages/cli/examples/welcome-tour/index.tsx",lineNumber:80,columnNumber:13},this)]},void 0,!0,{fileName:"/home/runner/work/scenar/scenar/packages/cli/examples/welcome-tour/index.tsx",lineNumber:73,columnNumber:11},this)},void 0,!1,{fileName:"/home/runner/work/scenar/scenar/packages/cli/examples/welcome-tour/index.tsx",lineNumber:67,columnNumber:9},this);case"projects":return Ke.jsxDEV(Py,{appName:"Acme Cloud",userName:"Jordan",navLinks:[{label:"Home"},{label:"Projects",active:!0},{label:"Settings"}],sidebarItems:$y,children:Ke.jsxDEV("div",{className:"p-5",children:[Ke.jsxDEV("h2",{className:"mb-4 text-[15px] font-semibold text-[var(--scenar-foreground)]",children:"Projects"},void 0,!1,{fileName:"/home/runner/work/scenar/scenar/packages/cli/examples/welcome-tour/index.tsx",lineNumber:116,columnNumber:13},this),Ke.jsxDEV(j4,{columns:[{key:"name",label:"Name"},{key:"env",label:"Environment"},{key:"status",label:"Status",align:"right"}],rows:[{id:"1",cells:{name:"checkout-api",env:"production",status:Ke.jsxDEV(Gy,{label:"Healthy",variant:"success"},void 0,!1,{fileName:"/home/runner/work/scenar/scenar/packages/cli/examples/welcome-tour/index.tsx",lineNumber:131,columnNumber:29},this)}},{id:"2",cells:{name:"web-frontend",env:"production",status:Ke.jsxDEV(Gy,{label:"Deploying",variant:"info"},void 0,!1,{fileName:"/home/runner/work/scenar/scenar/packages/cli/examples/welcome-tour/index.tsx",lineNumber:139,columnNumber:29},this)}},{id:"3",cells:{name:"billing-worker",env:"staging",status:Ke.jsxDEV(Gy,{label:"Degraded",variant:"warning"},void 0,!1,{fileName:"/home/runner/work/scenar/scenar/packages/cli/examples/welcome-tour/index.tsx",lineNumber:147,columnNumber:29},this)}}]},void 0,!1,{fileName:"/home/runner/work/scenar/scenar/packages/cli/examples/welcome-tour/index.tsx",lineNumber:119,columnNumber:13},this)]},void 0,!0,{fileName:"/home/runner/work/scenar/scenar/packages/cli/examples/welcome-tour/index.tsx",lineNumber:115,columnNumber:11},this)},void 0,!1,{fileName:"/home/runner/work/scenar/scenar/packages/cli/examples/welcome-tour/index.tsx",lineNumber:105,columnNumber:9},this);case"settings":return Ke.jsxDEV(Py,{appName:"Acme Cloud",userName:"Jordan",navLinks:[{label:"Home"},{label:"Projects"},{label:"Settings",active:!0}],sidebarItems:$y,children:Ke.jsxDEV("div",{className:"flex justify-center p-6",children:Ke.jsxDEV(YA,{title:"Profile",subtitle:"Update your account details",fields:[{label:"Full name",value:"Jordan Rivera"},{label:"Email",value:"jordan@acme.cloud",type:"email"},{label:"Role",value:"Platform Engineer"}],submitLabel:"Save changes",width:320},void 0,!1,{fileName:"/home/runner/work/scenar/scenar/packages/cli/examples/welcome-tour/index.tsx",lineNumber:169,columnNumber:13},this)},void 0,!1,{fileName:"/home/runner/work/scenar/scenar/packages/cli/examples/welcome-tour/index.tsx",lineNumber:168,columnNumber:11},this)},void 0,!1,{fileName:"/home/runner/work/scenar/scenar/packages/cli/examples/welcome-tour/index.tsx",lineNumber:158,columnNumber:9},this)}}const B4=[{delayMs:0,data:{url:"app.acme.cloud/login",screen:"login"},shot:"login-screen"},{delayMs:2400,data:{url:"app.acme.cloud/home",screen:"dashboard"}},{delayMs:2600,data:{url:"app.acme.cloud/projects",screen:"projects"}},{delayMs:2600,data:{url:"app.acme.cloud/settings",screen:"settings"},shot:"settings-screen"}],k4=Object.freeze(Object.defineProperty({__proto__:null,steps:B4},Symbol.toStringTag,{value:"Module"}));function H4(o){for(const i of Object.values(o))if(Array.isArray(i)&&i.length>0&&typeof i[0]=="object"&&i[0]!==null&&"delayMs"in i[0])return i;throw new Error("No steps array found in /home/runner/work/scenar/scenar/packages/cli/examples/welcome-tour/steps")}const vg=H4(k4),Y4=(()=>{try{return new URLSearchParams(window.location.search).get("theme")}catch{return null}})(),Fg=Y4==="dark"?xw+" dark":xw,gd=(()=>{try{return new URLSearchParams(window.location.search).get("shot")}catch{return null}})();window.parent===window&&(document.body.classList.add(...Fg.split(" ")),document.body.style.background="var(--scenar-surface)");function q4(){const o=C.useRef(null),i=C.useRef(null),[l,u]=C.useState(0),[f,p]=C.useState(void 0),[h,m]=C.useState(!0),[S,x]=C.useState(!1),[T,v]=C.useState(wu),g=C.useCallback((A,L)=>{u(L),p(void 0)},[]);BA({stepIndex:l,narrationManifest:void 0,containerRef:o,cameraRef:i,setCursorTarget:p,setShowRipple:m,setDragging:x,setViewportTransform:v,steps:vg});const w={id:"welcome-tour",steps:vg,narrationManifest:void 0};return Ke.jsxDEV("div",{className:Fg,children:Ke.jsxDEV(FN,{containerRef:o,canonicalWidth:896,shellHeight:480,children:Ke.jsxDEV(CA,{transform:T,contentRef:i,children:[Ke.jsxDEV(AA,{bundle:w,embed:!0,onStepChange:g,children:(A,L)=>qA(A,L)},void 0,!1,{fileName:"/home/runner/work/scenar/scenar/packages/cli/examples/welcome-tour/.scenar-pack/entry.tsx",lineNumber:76,columnNumber:11},this),Ke.jsxDEV(XN,{target:f,containerRef:i,showRipple:h,isDragging:S},void 0,!1,{fileName:"/home/runner/work/scenar/scenar/packages/cli/examples/welcome-tour/.scenar-pack/entry.tsx",lineNumber:79,columnNumber:11},this)]},void 0,!0,{fileName:"/home/runner/work/scenar/scenar/packages/cli/examples/welcome-tour/.scenar-pack/entry.tsx",lineNumber:75,columnNumber:9},this)},void 0,!1,{fileName:"/home/runner/work/scenar/scenar/packages/cli/examples/welcome-tour/.scenar-pack/entry.tsx",lineNumber:74,columnNumber:7},this)},void 0,!1,{fileName:"/home/runner/work/scenar/scenar/packages/cli/examples/welcome-tour/.scenar-pack/entry.tsx",lineNumber:72,columnNumber:5},this)}async function G4(o){Aw.createRoot(o).render(Ke.jsxDEV("div",{className:Fg,children:Ke.jsxDEV(LN,{scenarioId:"welcome-tour",steps:vg,renderStep:qA,canonicalWidth:896,shellHeight:480,narrationManifest:void 0,stage:!1,providers:void 0,onReady:l=>{if(window.__scenarShot=l,gd){const u=l.shots.find(f=>f.name===gd);if(!u){window.__scenarShotError='no shot named "'+gd+'" — declared: '+(l.shots.map(f=>f.name).join(", ")||"(none)");return}l.walkTo(u.timeMs)}},onError:l=>{window.__scenarShotError=(l==null?void 0:l.message)??String(l)}},void 0,!1,{fileName:"/home/runner/work/scenar/scenar/packages/cli/examples/welcome-tour/.scenar-pack/entry.tsx",lineNumber:91,columnNumber:7},this)},void 0,!1,{fileName:"/home/runner/work/scenar/scenar/packages/cli/examples/welcome-tour/.scenar-pack/entry.tsx",lineNumber:90,columnNumber:5},this))}const bg=document.getElementById("root");if(!bg)throw new Error("Embed root element #root not found");gd!==null?G4(bg).catch(o=>{window.__scenarShotError=o instanceof Error?o.message:String(o)}):Aw.createRoot(bg).render(Ke.jsxDEV(q4,{},void 0,!1,{fileName:"/home/runner/work/scenar/scenar/packages/cli/examples/welcome-tour/.scenar-pack/entry.tsx",lineNumber:128,columnNumber:30},void 0));