@fluojs/studio 1.0.7 → 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.ko.md +30 -17
- package/README.md +30 -17
- package/dist/assets/index-BKRrd1IN.js +268 -0
- package/dist/assets/index-C3sr4y-k.css +1 -0
- package/dist/contracts.d.ts +132 -11
- package/dist/contracts.d.ts.map +1 -1
- package/dist/contracts.js +82 -13
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.html +2 -2
- package/dist/index.js +1 -1
- package/dist/viewer-cli.js +10 -0
- package/dist/viewer-server.js +189 -0
- package/package.json +11 -7
- package/dist/assets/index-BMydm6o4.js +0 -78
- package/dist/assets/index-ort96Zw9.css +0 -1
|
@@ -0,0 +1,268 @@
|
|
|
1
|
+
var e=(e,t)=>()=>(t||(e((t={exports:{}}).exports,t),e=null),t.exports);(function(){let e=document.createElement(`link`).relList;if(e&&e.supports&&e.supports(`modulepreload`))return;for(let e of document.querySelectorAll(`link[rel="modulepreload"]`))n(e);new MutationObserver(e=>{for(let t of e)if(t.type===`childList`)for(let e of t.addedNodes)e.tagName===`LINK`&&e.rel===`modulepreload`&&n(e)}).observe(document,{childList:!0,subtree:!0});function t(e){let t={};return e.integrity&&(t.integrity=e.integrity),e.referrerPolicy&&(t.referrerPolicy=e.referrerPolicy),t.credentials=e.crossOrigin===`use-credentials`?`include`:e.crossOrigin===`anonymous`?`omit`:`same-origin`,t}function n(e){if(e.ep)return;e.ep=!0;let n=t(e);fetch(e.href,n)}})();var t=e(((e,t)=>{(function(){function n(e,t){Object.defineProperty(a.prototype,e,{get:function(){console.warn(`%s(...) is deprecated in plain JavaScript React classes. %s`,t[0],t[1])}})}function r(e){return typeof e!=`object`||!e?null:(e=we&&e[we]||e[`@@iterator`],typeof e==`function`?e:null)}function i(e,t){e=(e=e.constructor)&&(e.displayName||e.name)||`ReactClass`;var n=e+`.`+t;Te[n]||(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.",t,e),Te[n]=!0)}function a(e,t,n){this.props=e,this.context=t,this.refs=De,this.updater=n||Ee}function o(){}function s(e,t,n){this.props=e,this.context=t,this.refs=De,this.updater=n||Ee}function c(){}function l(e){return``+e}function u(e){try{l(e);var t=!1}catch{t=!0}if(t){t=console;var n=t.error,r=typeof Symbol==`function`&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||`Object`;return n.call(t,`The provided key is an unsupported type %s. This value must be coerced to a string before using it here.`,r),l(e)}}function d(e){if(e==null)return null;if(typeof e==`function`)return e.$$typeof===Ae?null:e.displayName||e.name||null;if(typeof e==`string`)return e;switch(e){case pe:return`Fragment`;case he:return`Profiler`;case me:return`StrictMode`;case ye:return`Suspense`;case be:return`SuspenseList`;case Ce: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 fe:return`Portal`;case _e:return e.displayName||`Context`;case ge:return(e._context.displayName||`Context`)+`.Consumer`;case ve:var t=e.render;return e=e.displayName,e||=(e=t.displayName||t.name||``,e===``?`ForwardRef`:`ForwardRef(`+e+`)`),e;case xe:return t=e.displayName||null,t===null?d(e.type)||`Memo`:t;case Se:t=e._payload,e=e._init;try{return d(e(t))}catch{}}return null}function f(e){if(e===pe)return`<>`;if(typeof e==`object`&&e&&e.$$typeof===Se)return`<...>`;try{var t=d(e);return t?`<`+t+`>`:`<...>`}catch{return`<...>`}}function p(){var e=T.A;return e===null?null:e.getOwner()}function m(){return Error(`react-stack-top-frame`)}function h(e){if(je.call(e,`key`)){var t=Object.getOwnPropertyDescriptor(e,`key`).get;if(t&&t.isReactWarning)return!1}return e.key!==void 0}function g(e,t){function n(){Ne||(Ne=!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)",t))}n.isReactWarning=!0,Object.defineProperty(e,"key",{get:n,configurable:!0})}function _(){var e=d(this.type);return Pe[e]||(Pe[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?null:e}function v(e,t,n,r,i,a){var o=n.ref;return e={$$typeof:de,type:e,key:t,props:n,_owner:r},(o===void 0?null:o)===null?Object.defineProperty(e,"ref",{enumerable:!1,value:null}):Object.defineProperty(e,"ref",{enumerable:!1,get:_}),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:i}),Object.defineProperty(e,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:a}),Object.freeze&&(Object.freeze(e.props),Object.freeze(e)),e}function y(e,t){return t=v(e.type,t,e.props,e._owner,e._debugStack,e._debugTask),e._store&&(t._store.validated=e._store.validated),t}function b(e){ee(e)?e._store&&(e._store.validated=1):typeof e==`object`&&e&&e.$$typeof===Se&&(e._payload.status===`fulfilled`?ee(e._payload.value)&&e._payload.value._store&&(e._payload.value._store.validated=1):e._store&&(e._store.validated=1))}function ee(e){return typeof e==`object`&&!!e&&e.$$typeof===de}function te(e){var t={"=":`=0`,":":`=2`};return`$`+e.replace(/[=:]/g,function(e){return t[e]})}function ne(e,t){return typeof e==`object`&&e&&e.key!=null?(u(e.key),te(``+e.key)):t.toString(36)}function re(e){switch(e.status){case`fulfilled`:return e.value;case`rejected`:throw e.reason;default:switch(typeof e.status==`string`?e.then(c,c):(e.status=`pending`,e.then(function(t){e.status===`pending`&&(e.status=`fulfilled`,e.value=t)},function(t){e.status===`pending`&&(e.status=`rejected`,e.reason=t)})),e.status){case`fulfilled`:return e.value;case`rejected`:throw e.reason}}throw e}function ie(e,t,n,i,a){var o=typeof e;(o===`undefined`||o===`boolean`)&&(e=null);var s=!1;if(e===null)s=!0;else switch(o){case`bigint`:case`string`:case`number`:s=!0;break;case`object`:switch(e.$$typeof){case de:case fe:s=!0;break;case Se:return s=e._init,ie(s(e._payload),t,n,i,a)}}if(s){s=e,a=a(s);var c=i===``?`.`+ne(s,0):i;return ke(a)?(n=``,c!=null&&(n=c.replace(Re,`$&/`)+`/`),ie(a,t,n,``,function(e){return e})):a!=null&&(ee(a)&&(a.key!=null&&(s&&s.key===a.key||u(a.key)),n=y(a,n+(a.key==null||s&&s.key===a.key?``:(``+a.key).replace(Re,`$&/`)+`/`)+c),i!==``&&s!=null&&ee(s)&&s.key==null&&s._store&&!s._store.validated&&(n._store.validated=2),a=n),t.push(a)),1}if(s=0,c=i===``?`.`:i+`:`,ke(e))for(var l=0;l<e.length;l++)i=e[l],o=c+ne(i,l),s+=ie(i,t,n,o,a);else if(l=r(e),typeof l==`function`)for(l===e.entries&&(Le||console.warn(`Using Maps as children is not supported. Use an array of keyed ReactElements instead.`),Le=!0),e=l.call(e),l=0;!(i=e.next()).done;)i=i.value,o=c+ne(i,l++),s+=ie(i,t,n,o,a);else if(o===`object`){if(typeof e.then==`function`)return ie(re(e),t,n,i,a);throw t=String(e),Error(`Objects are not valid as a React child (found: `+(t===`[object Object]`?`object with keys {`+Object.keys(e).join(`, `)+`}`:t)+`). If you meant to render a collection of children, use an array instead.`)}return s}function ae(e,t,n){if(e==null)return e;var r=[],i=0;return ie(e,r,``,``,function(e){return t.call(n,e,i++)}),r}function oe(e){if(e._status===-1){var t=e._ioInfo;t!=null&&(t.start=t.end=performance.now()),t=e._result;var n=t();if(n.then(function(t){if(e._status===0||e._status===-1){e._status=1,e._result=t;var r=e._ioInfo;r!=null&&(r.end=performance.now()),n.status===void 0&&(n.status=`fulfilled`,n.value=t)}},function(t){if(e._status===0||e._status===-1){e._status=2,e._result=t;var r=e._ioInfo;r!=null&&(r.end=performance.now()),n.status===void 0&&(n.status=`rejected`,n.reason=t)}}),t=e._ioInfo,t!=null){t.value=n;var r=n.displayName;typeof r==`string`&&(t.name=r)}e._status===-1&&(e._status=0,e._result=n)}if(e._status===1)return t=e._result,t===void 0&&console.error(`lazy: Expected the result of a dynamic import() call. Instead received: %s
|
|
2
|
+
|
|
3
|
+
Your code should look like:
|
|
4
|
+
const MyComponent = lazy(() => import('./MyComponent'))
|
|
5
|
+
|
|
6
|
+
Did you accidentally put curly braces around the import?`,t),`default`in t||console.error(`lazy: Expected the result of a dynamic import() call. Instead received: %s
|
|
7
|
+
|
|
8
|
+
Your code should look like:
|
|
9
|
+
const MyComponent = lazy(() => import('./MyComponent'))`,t),t.default;throw e._result}function x(){var e=T.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:
|
|
10
|
+
1. You might have mismatching versions of React and the renderer (such as React DOM)
|
|
11
|
+
2. You might be breaking the Rules of Hooks
|
|
12
|
+
3. You might have more than one copy of React in the same app
|
|
13
|
+
See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`),e}function se(){T.asyncTransitions--}function S(e){if(Ve===null)try{var n=(`require`+Math.random()).slice(0,7);Ve=(t&&t[n]).call(t,`timers`).setImmediate}catch{Ve=function(e){!1===Be&&(Be=!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 t=new MessageChannel;t.port1.onmessage=e,t.port2.postMessage(void 0)}}return Ve(e)}function ce(e){return 1<e.length&&typeof AggregateError==`function`?AggregateError(e):e[0]}function le(e,t){t!==D-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. `),D=t}function C(e,t,n){var r=T.actQueue;if(r!==null){if(r.length!==0)try{ue(r),S(function(){return C(e,t,n)});return}catch(e){T.thrownErrors.push(e)}else T.actQueue=null}0<T.thrownErrors.length?(r=ce(T.thrownErrors),T.thrownErrors.length=0,n(r)):t(e)}function ue(e){if(!Ue){Ue=!0;var t=0;try{for(;t<e.length;t++){var n=e[t];do{T.didUsePromise=!1;var r=n(!1);if(r!==null){if(T.didUsePromise){e[t]=n,e.splice(0,t);return}n=r}else break}while(1)}e.length=0}catch(n){e.splice(0,t+1),T.thrownErrors.push(n)}finally{Ue=!1}}}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<`u`&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart==`function`&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var de=Symbol.for(`react.transitional.element`),fe=Symbol.for(`react.portal`),pe=Symbol.for(`react.fragment`),me=Symbol.for(`react.strict_mode`),he=Symbol.for(`react.profiler`),ge=Symbol.for(`react.consumer`),_e=Symbol.for(`react.context`),ve=Symbol.for(`react.forward_ref`),ye=Symbol.for(`react.suspense`),be=Symbol.for(`react.suspense_list`),xe=Symbol.for(`react.memo`),Se=Symbol.for(`react.lazy`),Ce=Symbol.for(`react.activity`),we=Symbol.iterator,Te={},Ee={isMounted:function(){return!1},enqueueForceUpdate:function(e){i(e,`forceUpdate`)},enqueueReplaceState:function(e){i(e,`replaceState`)},enqueueSetState:function(e){i(e,`setState`)}},w=Object.assign,De={};Object.freeze(De),a.prototype.isReactComponent={},a.prototype.setState=function(e,t){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,t,`setState`)},a.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,`forceUpdate`)};var Oe={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(Ge in Oe)Oe.hasOwnProperty(Ge)&&n(Ge,Oe[Ge]);o.prototype=a.prototype,Oe=s.prototype=new o,Oe.constructor=s,w(Oe,a.prototype),Oe.isPureReactComponent=!0;var ke=Array.isArray,Ae=Symbol.for(`react.client.reference`),T={H:null,A:null,T:null,S:null,actQueue:null,asyncTransitions:0,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1,didUsePromise:!1,thrownErrors:[],getCurrentStack:null,recentlyCreatedOwnerStacks:0},je=Object.prototype.hasOwnProperty,Me=console.createTask?console.createTask:function(){return null};Oe={react_stack_bottom_frame:function(e){return e()}};var Ne,E,Pe={},Fe=Oe.react_stack_bottom_frame.bind(Oe,m)(),Ie=Me(f(m)),Le=!1,Re=/\/+/g,ze=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&&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)},Be=!1,Ve=null,D=0,He=!1,Ue=!1,We=typeof queueMicrotask==`function`?function(e){queueMicrotask(function(){return queueMicrotask(e)})}:S;Oe=Object.freeze({__proto__:null,c:function(e){return x().useMemoCache(e)}});var Ge={map:ae,forEach:function(e,t,n){ae(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return ae(e,function(){t++}),t},toArray:function(e){return ae(e,function(e){return e})||[]},only:function(e){if(!ee(e))throw Error(`React.Children.only expected to receive a single React element child.`);return e}};e.Activity=Ce,e.Children=Ge,e.Component=a,e.Fragment=pe,e.Profiler=he,e.PureComponent=s,e.StrictMode=me,e.Suspense=ye,e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=T,e.__COMPILER_RUNTIME=Oe,e.act=function(e){var t=T.actQueue,n=D;D++;var r=T.actQueue=t===null?[]:t,i=!1;try{var a=e()}catch(e){T.thrownErrors.push(e)}if(0<T.thrownErrors.length)throw le(t,n),e=ce(T.thrownErrors),T.thrownErrors.length=0,e;if(typeof a==`object`&&a&&typeof a.then==`function`){var o=a;return We(function(){i||He||(He=!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,a){i=!0,o.then(function(i){if(le(t,n),n===0){try{ue(r),S(function(){return C(i,e,a)})}catch(e){T.thrownErrors.push(e)}if(0<T.thrownErrors.length){var o=ce(T.thrownErrors);T.thrownErrors.length=0,a(o)}}else e(i)},function(e){le(t,n),0<T.thrownErrors.length?(e=ce(T.thrownErrors),T.thrownErrors.length=0,a(e)):a(e)})}}}var s=a;if(le(t,n),n===0&&(ue(r),r.length!==0&&We(function(){i||He||(He=!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(() => ...)"))}),T.actQueue=null),0<T.thrownErrors.length)throw e=ce(T.thrownErrors),T.thrownErrors.length=0,e;return{then:function(e,t){i=!0,n===0?(T.actQueue=r,S(function(){return C(s,e,t)})):e(s)}}},e.cache=function(e){return function(){return e.apply(null,arguments)}},e.cacheSignal=function(){return null},e.captureOwnerStack=function(){var e=T.getCurrentStack;return e===null?null:e()},e.cloneElement=function(e,t,n){if(e==null)throw Error(`The argument must be a React element, but you passed `+e+`.`);var r=w({},e.props),i=e.key,a=e._owner;if(t!=null){var o;a:{if(je.call(t,`ref`)&&(o=Object.getOwnPropertyDescriptor(t,`ref`).get)&&o.isReactWarning){o=!1;break a}o=t.ref!==void 0}for(s in o&&(a=p()),h(t)&&(u(t.key),i=``+t.key),t)!je.call(t,s)||s===`key`||s===`__self`||s===`__source`||s===`ref`&&t.ref===void 0||(r[s]=t[s])}var s=arguments.length-2;if(s===1)r.children=n;else if(1<s){o=Array(s);for(var c=0;c<s;c++)o[c]=arguments[c+2];r.children=o}for(r=v(e.type,i,r,a,e._debugStack,e._debugTask),i=2;i<arguments.length;i++)b(arguments[i]);return r},e.createContext=function(e){return e={$$typeof:_e,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null},e.Provider=e,e.Consumer={$$typeof:ge,_context:e},e._currentRenderer=null,e._currentRenderer2=null,e},e.createElement=function(e,t,n){for(var r=2;r<arguments.length;r++)b(arguments[r]);r={};var i=null;if(t!=null)for(c in E||!(`__self`in t)||`key`in t||(E=!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`)),h(t)&&(u(t.key),i=``+t.key),t)je.call(t,c)&&c!==`key`&&c!==`__self`&&c!==`__source`&&(r[c]=t[c]);var a=arguments.length-2;if(a===1)r.children=n;else if(1<a){for(var o=Array(a),s=0;s<a;s++)o[s]=arguments[s+2];Object.freeze&&Object.freeze(o),r.children=o}if(e&&e.defaultProps)for(c in a=e.defaultProps,a)r[c]===void 0&&(r[c]=a[c]);i&&g(r,typeof e==`function`?e.displayName||e.name||`Unknown`:e);var c=1e4>T.recentlyCreatedOwnerStacks++;return v(e,i,r,p(),c?Error(`react-stack-top-frame`):Fe,c?Me(f(e)):Ie)},e.createRef=function(){var e={current:null};return Object.seal(e),e},e.forwardRef=function(e){e!=null&&e.$$typeof===xe?console.error("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):typeof e==`function`?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.`):console.error(`forwardRef requires a render function but was given %s.`,e===null?`null`:typeof e),e!=null&&e.defaultProps!=null&&console.error(`forwardRef render functions do not support defaultProps. Did you accidentally pass a React component?`);var t={$$typeof:ve,render:e},n;return Object.defineProperty(t,"displayName",{enumerable:!1,configurable:!0,get:function(){return n},set:function(t){n=t,e.name||e.displayName||(Object.defineProperty(e,"name",{value:t}),e.displayName=t)}}),t},e.isValidElement=ee,e.lazy=function(e){e={_status:-1,_result:e};var t={$$typeof:Se,_payload:e,_init:oe},n={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=n,t._debugInfo=[{awaited:n}],t},e.memo=function(e,t){e??console.error(`memo: The first argument must be a component. Instead received: %s`,e===null?`null`:typeof e),t={$$typeof:xe,type:e,compare:t===void 0?null:t};var n;return Object.defineProperty(t,"displayName",{enumerable:!1,configurable:!0,get:function(){return n},set:function(t){n=t,e.name||e.displayName||(Object.defineProperty(e,"name",{value:t}),e.displayName=t)}}),t},e.startTransition=function(e){var t=T.T,n={};n._updatedFibers=new Set,T.T=n;try{var r=e(),i=T.S;i!==null&&i(n,r),typeof r==`object`&&r&&typeof r.then==`function`&&(T.asyncTransitions++,r.then(se,se),r.then(c,ze))}catch(e){ze(e)}finally{t===null&&n._updatedFibers&&(e=n._updatedFibers.size,n._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.`)),t!==null&&n.types!==null&&(t.types!==null&&t.types!==n.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.`),t.types=n.types),T.T=t}},e.unstable_useCacheRefresh=function(){return x().useCacheRefresh()},e.use=function(e){return x().use(e)},e.useActionState=function(e,t,n){return x().useActionState(e,t,n)},e.useCallback=function(e,t){return x().useCallback(e,t)},e.useContext=function(e){var t=x();return e.$$typeof===ge&&console.error(`Calling useContext(Context.Consumer) is not supported and will cause bugs. Did you mean to call useContext(Context) instead?`),t.useContext(e)},e.useDebugValue=function(e,t){return x().useDebugValue(e,t)},e.useDeferredValue=function(e,t){return x().useDeferredValue(e,t)},e.useEffect=function(e,t){return e??console.warn(`React Hook useEffect requires an effect callback. Did you forget to pass a callback to the hook?`),x().useEffect(e,t)},e.useEffectEvent=function(e){return x().useEffectEvent(e)},e.useId=function(){return x().useId()},e.useImperativeHandle=function(e,t,n){return x().useImperativeHandle(e,t,n)},e.useInsertionEffect=function(e,t){return e??console.warn(`React Hook useInsertionEffect requires an effect callback. Did you forget to pass a callback to the hook?`),x().useInsertionEffect(e,t)},e.useLayoutEffect=function(e,t){return e??console.warn(`React Hook useLayoutEffect requires an effect callback. Did you forget to pass a callback to the hook?`),x().useLayoutEffect(e,t)},e.useMemo=function(e,t){return x().useMemo(e,t)},e.useOptimistic=function(e,t){return x().useOptimistic(e,t)},e.useReducer=function(e,t,n){return x().useReducer(e,t,n)},e.useRef=function(e){return x().useRef(e)},e.useState=function(e){return x().useState(e)},e.useSyncExternalStore=function(e,t,n){return x().useSyncExternalStore(e,t,n)},e.useTransition=function(){return x().useTransition()},e.version=`19.2.6`,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<`u`&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop==`function`&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()})),n=e(((e,n)=>{n.exports=t()})),r=e((e=>{(function(){function t(){}function r(e){return``+e}function i(e,t,n){var i=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;try{r(i);var a=!1}catch{a=!0}return a&&(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&&i[Symbol.toStringTag]||i.constructor.name||`Object`),r(i)),{$$typeof:d,key:i==null?null:``+i,children:e,containerInfo:t,implementation:n}}function a(e,t){if(e===`font`)return``;if(typeof t==`string`)return t===`use-credentials`?t:``}function o(e){return e===null?"`null`":e===void 0?"`undefined`":e===``?`an empty string`:`something with type "`+typeof e+`"`}function s(e){return e===null?"`null`":e===void 0?"`undefined`":e===``?`an empty string`:typeof e==`string`?JSON.stringify(e):typeof e==`number`?"`"+e+"`":`something with type "`+typeof e+`"`}function c(){var e=f.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:
|
|
14
|
+
1. You might have mismatching versions of React and the renderer (such as React DOM)
|
|
15
|
+
2. You might be breaking the Rules of Hooks
|
|
16
|
+
3. You might have more than one copy of React in the same app
|
|
17
|
+
See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`),e}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<`u`&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart==`function`&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var l=n(),u={d:{f:t,r:function(){throw Error(`Invalid form element. requestFormReset must be passed a form that was rendered by React.`)},D:t,C:t,L:t,m:t,X:t,S:t,M:t},p:0,findDOMNode:null},d=Symbol.for(`react.portal`),f=l.__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`),e.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=u,e.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11)throw Error(`Target container is not a DOM element.`);return i(e,t,null,n)},e.flushSync=function(e){var t=f.T,n=u.p;try{if(f.T=null,u.p=2,e)return e()}finally{f.T=t,u.p=n,u.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.`)}},e.preconnect=function(e,t){typeof e==`string`&&e?t!=null&&typeof t!=`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.",s(t)):t!=null&&typeof t.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.",o(t.crossOrigin)):console.error("ReactDOM.preconnect(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",o(e)),typeof e==`string`&&(t?(t=t.crossOrigin,t=typeof t==`string`?t===`use-credentials`?t:``:void 0):t=null,u.d.C(e,t))},e.prefetchDNS=function(e){if(typeof e!=`string`||!e)console.error("ReactDOM.prefetchDNS(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",o(e));else if(1<arguments.length){var t=arguments[1];typeof t==`object`&&t.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`.",s(t)):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`.",s(t))}typeof e==`string`&&u.d.D(e)},e.preinit=function(e,t){if(typeof e==`string`&&e?typeof t!=`object`||!t?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.",s(t)):t.as!==`style`&&t.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".',s(t.as)):console.error("ReactDOM.preinit(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",o(e)),typeof e==`string`&&t&&typeof t.as==`string`){var n=t.as,r=a(n,t.crossOrigin),i=typeof t.integrity==`string`?t.integrity:void 0,c=typeof t.fetchPriority==`string`?t.fetchPriority:void 0;n===`style`?u.d.S(e,typeof t.precedence==`string`?t.precedence:void 0,{crossOrigin:r,integrity:i,fetchPriority:c}):n===`script`&&u.d.X(e,{crossOrigin:r,integrity:i,fetchPriority:c,nonce:typeof t.nonce==`string`?t.nonce:void 0})}},e.preinitModule=function(e,t){var n=``;if(typeof e==`string`&&e||(n+=" The `href` argument encountered was "+o(e)+`.`),t!==void 0&&typeof t!=`object`?n+=" The `options` argument encountered was "+o(t)+`.`:t&&`as`in t&&t.as!==`script`&&(n+=" The `as` option encountered was "+s(t.as)+`.`),n)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",n);else switch(n=t&&typeof t.as==`string`?t.as:`script`,n){case`script`:break;default:n=s(n),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)',n,e)}typeof e==`string`&&(typeof t==`object`&&t?(t.as==null||t.as===`script`)&&(n=a(t.as,t.crossOrigin),u.d.M(e,{crossOrigin:n,integrity:typeof t.integrity==`string`?t.integrity:void 0,nonce:typeof t.nonce==`string`?t.nonce:void 0})):t??u.d.M(e))},e.preload=function(e,t){var n=``;if(typeof e==`string`&&e||(n+=" The `href` argument encountered was "+o(e)+`.`),typeof t!=`object`||!t?n+=" The `options` argument encountered was "+o(t)+`.`:typeof t.as==`string`&&t.as||(n+=" The `as` option encountered was "+o(t.as)+`.`),n&&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',n),typeof e==`string`&&typeof t==`object`&&t&&typeof t.as==`string`){n=t.as;var r=a(n,t.crossOrigin);u.d.L(e,n,{crossOrigin:r,integrity:typeof t.integrity==`string`?t.integrity:void 0,nonce:typeof t.nonce==`string`?t.nonce:void 0,type:typeof t.type==`string`?t.type:void 0,fetchPriority:typeof t.fetchPriority==`string`?t.fetchPriority:void 0,referrerPolicy:typeof t.referrerPolicy==`string`?t.referrerPolicy:void 0,imageSrcSet:typeof t.imageSrcSet==`string`?t.imageSrcSet:void 0,imageSizes:typeof t.imageSizes==`string`?t.imageSizes:void 0,media:typeof t.media==`string`?t.media:void 0})}},e.preloadModule=function(e,t){var n=``;typeof e==`string`&&e||(n+=" The `href` argument encountered was "+o(e)+`.`),t!==void 0&&typeof t!=`object`?n+=" The `options` argument encountered was "+o(t)+`.`:t&&`as`in t&&typeof t.as!=`string`&&(n+=" The `as` option encountered was "+o(t.as)+`.`),n&&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',n),typeof e==`string`&&(t?(n=a(t.as,t.crossOrigin),u.d.m(e,{as:typeof t.as==`string`&&t.as!==`script`?t.as:void 0,crossOrigin:n,integrity:typeof t.integrity==`string`?t.integrity:void 0})):u.d.m(e))},e.requestFormReset=function(e){u.d.r(e)},e.unstable_batchedUpdates=function(e,t){return e(t)},e.useFormState=function(e,t,n){return c().useFormState(e,t,n)},e.useFormStatus=function(){return c().useHostTransitionStatus()},e.version=`19.2.6`,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<`u`&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop==`function`&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()})),i=e(((e,t)=>{t.exports=r()})),a=e((e=>{(function(){function t(){if(ee=!1,ie){var t=e.unstable_now();x=t;var n=!0;try{a:{y=!1,b&&(b=!1,ne(ae),ae=-1),v=!0;var a=_;try{b:{for(o(t),g=r(p);g!==null&&!(g.expirationTime>t&&c());){var u=g.callback;if(typeof u==`function`){g.callback=null,_=g.priorityLevel;var d=u(g.expirationTime<=t);if(t=e.unstable_now(),typeof d==`function`){g.callback=d,o(t),n=!0;break b}g===r(p)&&i(p),o(t)}else i(p);g=r(p)}if(g!==null)n=!0;else{var f=r(m);f!==null&&l(s,f.startTime-t),n=!1}}break a}finally{g=null,_=a,v=!1}n=void 0}}finally{n?se():ie=!1}}}function n(e,t){var n=e.length;e.push(t);a:for(;0<n;){var r=n-1>>>1,i=e[r];if(0<a(i,t))e[r]=t,e[n]=i,n=r;else break a}}function r(e){return e.length===0?null:e[0]}function i(e){if(e.length===0)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;a:for(var r=0,i=e.length,o=i>>>1;r<o;){var s=2*(r+1)-1,c=e[s],l=s+1,u=e[l];if(0>a(c,n))l<i&&0>a(u,c)?(e[r]=u,e[l]=n,r=l):(e[r]=c,e[s]=n,r=s);else if(l<i&&0>a(u,n))e[r]=u,e[l]=n,r=l;else break a}}return t}function a(e,t){var n=e.sortIndex-t.sortIndex;return n===0?e.id-t.id:n}function o(e){for(var t=r(m);t!==null;){if(t.callback===null)i(m);else if(t.startTime<=e)i(m),t.sortIndex=t.expirationTime,n(p,t);else break;t=r(m)}}function s(e){if(b=!1,o(e),!y){if(r(p)!==null)y=!0,ie||(ie=!0,se());else{var t=r(m);t!==null&&l(s,t.startTime-e)}}}function c(){return ee?!0:!(e.unstable_now()-x<oe)}function l(t,n){ae=te(function(){t(e.unstable_now())},n)}if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<`u`&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart==`function`&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error()),e.unstable_now=void 0,typeof performance==`object`&&typeof performance.now==`function`){var u=performance;e.unstable_now=function(){return u.now()}}else{var d=Date,f=d.now();e.unstable_now=function(){return d.now()-f}}var p=[],m=[],h=1,g=null,_=3,v=!1,y=!1,b=!1,ee=!1,te=typeof setTimeout==`function`?setTimeout:null,ne=typeof clearTimeout==`function`?clearTimeout:null,re=typeof setImmediate<`u`?setImmediate:null,ie=!1,ae=-1,oe=5,x=-1;if(typeof re==`function`)var se=function(){re(t)};else if(typeof MessageChannel<`u`){var S=new MessageChannel,ce=S.port2;S.port1.onmessage=t,se=function(){ce.postMessage(null)}}else se=function(){te(t,0)};e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(e){e.callback=null},e.unstable_forceFrameRate=function(e){0>e||125<e?console.error(`forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported`):oe=0<e?Math.floor(1e3/e):5},e.unstable_getCurrentPriorityLevel=function(){return _},e.unstable_next=function(e){switch(_){case 1:case 2:case 3:var t=3;break;default:t=_}var n=_;_=t;try{return e()}finally{_=n}},e.unstable_requestPaint=function(){ee=!0},e.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=_;_=e;try{return t()}finally{_=n}},e.unstable_scheduleCallback=function(t,i,a){var o=e.unstable_now();switch(typeof a==`object`&&a?(a=a.delay,a=typeof a==`number`&&0<a?o+a:o):a=o,t){case 1:var c=-1;break;case 2:c=250;break;case 5:c=1073741823;break;case 4:c=1e4;break;default:c=5e3}return c=a+c,t={id:h++,callback:i,priorityLevel:t,startTime:a,expirationTime:c,sortIndex:-1},a>o?(t.sortIndex=a,n(m,t),r(p)===null&&t===r(m)&&(b?(ne(ae),ae=-1):b=!0,l(s,a-o))):(t.sortIndex=c,n(p,t),y||v||(y=!0,ie||(ie=!0,se()))),t},e.unstable_shouldYield=c,e.unstable_wrapCallback=function(e){var t=_;return function(){var n=_;_=t;try{return e.apply(this,arguments)}finally{_=n}}},typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<`u`&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop==`function`&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()})),o=e(((e,t)=>{t.exports=a()})),s=e((e=>{(function(){function t(e,t){for(e=e.memoizedState;e!==null&&0<t;)e=e.next,t--;return e}function r(e,t,n,i){if(n>=t.length)return i;var a=t[n],o=Xf(e)?e.slice():L({},e);return o[a]=r(e[a],t,n+1,i),o}function a(e,t,n){if(t.length!==n.length)console.warn(`copyWithRename() expects paths of the same length`);else{for(var r=0;r<n.length-1;r++)if(t[r]!==n[r]){console.warn(`copyWithRename() expects paths to be the same except for the deepest key`);return}return s(e,t,n,0)}}function s(e,t,n,r){var i=t[r],a=Xf(e)?e.slice():L({},e);return r+1===t.length?(a[n[r]]=a[i],Xf(a)?a.splice(i,1):delete a[i]):a[i]=s(e[i],t,n,r+1),a}function c(e,t,n){var r=t[n],i=Xf(e)?e.slice():L({},e);return n+1===t.length?(Xf(i)?i.splice(r,1):delete i[r],i):(i[r]=c(e[r],t,n+1),i)}function l(){return!1}function u(){return null}function d(){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 f(){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 p(){}function m(){}function h(e){var t=[];return e.forEach(function(e){t.push(e)}),t.sort().join(`, `)}function g(e,t,n,r){return new xr(e,t,n,r)}function _(e,t){e.context===Ig&&(rf(e.current,2,t,e,null,null),ul())}function v(e,t){if(Lg!==null){var n=t.staleFamilies;t=t.updatedFamilies,Il(),br(e.current,t,n),ul()}}function y(e){Lg=e}function b(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function ee(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,t.flags&4098&&(n=t.return),e=t.return;while(e)}return t.tag===3?n:null}function te(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 ne(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 re(e){if(ee(e)!==e)throw Error(`Unable to find node on an unmounted component.`)}function ie(e){var t=e.alternate;if(!t){if(t=ee(e),t===null)throw Error(`Unable to find node on an unmounted component.`);return t===e?e:null}for(var n=e,r=t;;){var i=n.return;if(i===null)break;var a=i.alternate;if(a===null){if(r=i.return,r!==null){n=r;continue}break}if(i.child===a.child){for(a=i.child;a;){if(a===n)return re(i),e;if(a===r)return re(i),t;a=a.sibling}throw Error(`Unable to find node on an unmounted component.`)}if(n.return!==r.return)n=i,r=a;else{for(var o=!1,s=i.child;s;){if(s===n){o=!0,n=i,r=a;break}if(s===r){o=!0,r=i,n=a;break}s=s.sibling}if(!o){for(s=a.child;s;){if(s===n){o=!0,n=a,r=i;break}if(s===r){o=!0,r=a,n=i;break}s=s.sibling}if(!o)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!==r)throw Error(`Return fibers should always be each others' alternates. This error is likely caused by a bug in React. Please file an issue.`)}if(n.tag!==3)throw Error(`Unable to find node on an unmounted component.`);return n.stateNode.current===n?e:t}function ae(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=ae(e),t!==null)return t;e=e.sibling}return null}function oe(e){return typeof e!=`object`||!e?null:(e=Jf&&e[Jf]||e[`@@iterator`],typeof e==`function`?e:null)}function x(e){if(e==null)return null;if(typeof e==`function`)return e.$$typeof===Yf?null:e.displayName||e.name||null;if(typeof e==`string`)return e;switch(e){case If:return`Fragment`;case Rf:return`Profiler`;case Lf:return`StrictMode`;case Hf:return`Suspense`;case Uf:return`SuspenseList`;case Kf: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 Ff:return`Portal`;case Bf:return e.displayName||`Context`;case zf:return(e._context.displayName||`Context`)+`.Consumer`;case Vf:var t=e.render;return e=e.displayName,e||=(e=t.displayName||t.name||``,e===``?`ForwardRef`:`ForwardRef(`+e+`)`),e;case Wf:return t=e.displayName||null,t===null?x(e.type)||`Memo`:t;case Gf:t=e._payload,e=e._init;try{return x(e(t))}catch{}}return null}function se(e){return typeof e.tag==`number`?S(e):typeof e.name==`string`?e.name:null}function S(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`:`ForwardRef(`+e+`)`);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 x(t);case 8:return t===Lf?`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 S(e.return)}return null}function ce(e){return{current:e}}function le(e,t){0>ep?console.error(`Unexpected pop.`):(t!==$f[ep]&&console.error(`Unexpected Fiber popped.`),e.current=Qf[ep],Qf[ep]=null,$f[ep]=null,ep--)}function C(e,t,n){ep++,Qf[ep]=e.current,$f[ep]=n,e.current=t}function ue(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){C(rp,t,e),C(np,e,e),C(tp,null,e);var n=t.nodeType;switch(n){case 9:case 11:n=n===9?`#document`:`#fragment`,t=(t=t.documentElement)&&(t=t.namespaceURI)?Uu(t):US;break;default:if(n=t.tagName,t=t.namespaceURI)t=Uu(t),t=Wu(t,n);else switch(n){case`svg`:t=WS;break;case`math`:t=GS;break;default:t=US}}n=n.toLowerCase(),n=Ut(null,n),n={context:t,ancestorInfo:n},le(tp,e),C(tp,n,e)}function fe(e){le(tp,e),le(np,e),le(rp,e)}function pe(){return ue(tp.current)}function me(e){e.memoizedState!==null&&C(ip,e,e);var t=ue(tp.current),n=e.type,r=Wu(t.context,n);n=Ut(t.ancestorInfo,n),r={context:r,ancestorInfo:n},t!==r&&(C(np,e,e),C(tp,r,e))}function he(e){np.current===e&&(le(tp,e),le(np,e)),ip.current===e&&(le(ip,e),bC._currentValue=yC)}function ge(){}function _e(){if(ap===0){op=console.log,sp=console.info,cp=console.warn,lp=console.error,up=console.group,dp=console.groupCollapsed,fp=console.groupEnd;var e={configurable:!0,enumerable:!0,value:ge,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}ap++}function ve(){if(ap--,ap===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:L({},e,{value:op}),info:L({},e,{value:sp}),warn:L({},e,{value:cp}),error:L({},e,{value:lp}),group:L({},e,{value:up}),groupCollapsed:L({},e,{value:dp}),groupEnd:L({},e,{value:fp})})}0>ap&&console.error(`disabledDepth fell below zero. This is a bug in React. Please file an issue.`)}function ye(e){var t=Error.prepareStackTrace;if(Error.prepareStackTrace=void 0,e=e.stack,Error.prepareStackTrace=t,e.startsWith(`Error: react-stack-top-frame
|
|
18
|
+
`)&&(e=e.slice(29)),t=e.indexOf(`
|
|
19
|
+
`),t!==-1&&(e=e.slice(t+1)),t=e.indexOf(`react_stack_bottom_frame`),t!==-1&&(t=e.lastIndexOf(`
|
|
20
|
+
`,t)),t!==-1)e=e.slice(0,t);else return``;return e}function be(e){if(pp===void 0)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);pp=t&&t[1]||``,mp=-1<e.stack.indexOf(`
|
|
21
|
+
at`)?` (<anonymous>)`:-1<e.stack.indexOf(`@`)?`@unknown:0:0`:``}return`
|
|
22
|
+
`+pp+e+mp}function xe(e,t){if(!e||hp)return``;var n=gp.get(e);if(n!==void 0)return n;hp=!0,n=Error.prepareStackTrace,Error.prepareStackTrace=void 0;var r=null;r=R.H,R.H=null,_e();try{var i={DetermineComponentFrameRoot:function(){try{if(t){var n=function(){throw Error()};if(Object.defineProperty(n.prototype,"props",{set:function(){throw Error()}}),typeof Reflect==`object`&&Reflect.construct){try{Reflect.construct(n,[])}catch(e){var r=e}Reflect.construct(e,[],n)}else{try{n.call()}catch(e){r=e}e.call(n.prototype)}}else{try{throw Error()}catch(e){r=e}(n=e())&&typeof n.catch==`function`&&n.catch(function(){})}}catch(e){if(e&&r&&typeof e.stack==`string`)return[e.stack,r.stack]}return[null,null]}};i.DetermineComponentFrameRoot.displayName=`DetermineComponentFrameRoot`;var a=Object.getOwnPropertyDescriptor(i.DetermineComponentFrameRoot,`name`);a&&a.configurable&&Object.defineProperty(i.DetermineComponentFrameRoot,"name",{value:`DetermineComponentFrameRoot`});var o=i.DetermineComponentFrameRoot(),s=o[0],c=o[1];if(s&&c){var l=s.split(`
|
|
23
|
+
`),u=c.split(`
|
|
24
|
+
`);for(o=a=0;a<l.length&&!l[a].includes(`DetermineComponentFrameRoot`);)a++;for(;o<u.length&&!u[o].includes(`DetermineComponentFrameRoot`);)o++;if(a===l.length||o===u.length)for(a=l.length-1,o=u.length-1;1<=a&&0<=o&&l[a]!==u[o];)o--;for(;1<=a&&0<=o;a--,o--)if(l[a]!==u[o]){if(a!==1||o!==1)do if(a--,o--,0>o||l[a]!==u[o]){var d=`
|
|
25
|
+
`+l[a].replace(` at new `,` at `);return e.displayName&&d.includes(`<anonymous>`)&&(d=d.replace(`<anonymous>`,e.displayName)),typeof e==`function`&&gp.set(e,d),d}while(1<=a&&0<=o);break}}}finally{hp=!1,R.H=r,ve(),Error.prepareStackTrace=n}return l=(l=e?e.displayName||e.name:``)?be(l):``,typeof e==`function`&&gp.set(e,l),l}function Se(e,t){switch(e.tag){case 26:case 27:case 5:return be(e.type);case 16:return be(`Lazy`);case 13:return e.child!==t&&t!==null?be(`Suspense Fallback`):be(`Suspense`);case 19:return be(`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 be(`Activity`);default:return``}}function Ce(e){try{var t=``,n=null;do{t+=Se(e,n);var r=e._debugInfo;if(r)for(var i=r.length-1;0<=i;i--){var a=r[i];if(typeof a.name==`string`){var o=t;a:{var s=a.name,c=a.env,l=a.debugLocation;if(l!=null){var u=ye(l),d=u.lastIndexOf(`
|
|
26
|
+
`),f=d===-1?u:u.slice(d+1);if(f.indexOf(s)!==-1){var p=`
|
|
27
|
+
`+f;break a}}p=be(s+(c?` [`+c+`]`:``))}t=o+p}}n=e,e=e.return}while(e);return t}catch(e){return`
|
|
28
|
+
Error generating stack: `+e.message+`
|
|
29
|
+
`+e.stack}}function we(e){return(e=e?e.displayName||e.name:``)?be(e):``}function Te(){if(_p===null)return null;var e=_p._debugOwner;return e==null?null:se(e)}function Ee(){if(_p===null)return``;var e=_p;try{var t=``;switch(e.tag===6&&(e=e.return),e.tag){case 26:case 27:case 5:t+=be(e.type);break;case 13:t+=be(`Suspense`);break;case 19:t+=be(`SuspenseList`);break;case 31:t+=be(`Activity`);break;case 30:case 0:case 15:case 1:e._debugOwner||t!==``||(t+=we(e.type));break;case 11:e._debugOwner||t!==``||(t+=we(e.type.render))}for(;e;)if(typeof e.tag==`number`){var n=e;e=n._debugOwner;var r=n._debugStack;if(e&&r){var i=ye(r);i!==``&&(t+=`
|
|
30
|
+
`+i)}}else if(e.debugStack!=null){var a=e.debugStack;(e=e.owner)&&a&&(t+=`
|
|
31
|
+
`+ye(a))}else break;var o=t}catch(e){o=`
|
|
32
|
+
Error generating stack: `+e.message+`
|
|
33
|
+
`+e.stack}return o}function w(e,t,n,r,i,a,o){var s=_p;De(e);try{return e!==null&&e._debugTask?e._debugTask.run(t.bind(null,n,r,i,a,o)):t(n,r,i,a,o)}finally{De(s)}throw Error(`runWithFiberInDEV should never be called in production. This is a bug in React.`)}function De(e){R.getCurrentStack=e===null?null:Ee,vp=!1,_p=e}function Oe(e){return typeof Symbol==`function`&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||`Object`}function ke(e){try{return Ae(e),!1}catch{return!0}}function Ae(e){return``+e}function T(e,t){if(ke(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,Oe(e)),Ae(e)}function je(e,t){if(ke(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,Oe(e)),Ae(e)}function Me(e){if(ke(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.`,Oe(e)),Ae(e)}function Ne(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{Np=t.inject(e),Pp=t}catch(e){console.error(`React instrumentation encountered an error: %o.`,e)}return!!t.checkDCE}function E(e){if(typeof jp==`function`&&Mp(e),Pp&&typeof Pp.setStrictMode==`function`)try{Pp.setStrictMode(Np,e)}catch(e){Fp||(Fp=!0,console.error(`React instrumentation encountered an error: %o`,e))}}function Pe(e){return e>>>=0,e===0?32:31-(Rp(e)/zp|0)|0}function Fe(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 Ie(e,t,n){var r=e.pendingLanes;if(r===0)return 0;var i=0,a=e.suspendedLanes,o=e.pingedLanes;e=e.warmLanes;var s=r&134217727;return s===0?(s=r&~a,s===0?o===0?n||(n=r&~e,n!==0&&(i=Fe(n))):i=Fe(o):i=Fe(s)):(r=s&~a,r===0?(o&=s,o===0?n||(n=s&~e,n!==0&&(i=Fe(n))):i=Fe(o)):i=Fe(r)),i===0?0:t!==0&&t!==i&&(t&a)===0&&(a=i&-i,n=t&-t,a>=n||a===32&&n&4194048)?t:i}function Le(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function Re(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 ze(){var e=Hp;return Hp<<=1,!(Hp&62914560)&&(Hp=4194304),e}function Be(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function Ve(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function D(e,t,n,r,i,a){var o=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 s=e.entanglements,c=e.expirationTimes,l=e.hiddenUpdates;for(n=o&~n;0<n;){var u=31-Lp(n),d=1<<u;s[u]=0,c[u]=-1;var f=l[u];if(f!==null)for(l[u]=null,u=0;u<f.length;u++){var p=f[u];p!==null&&(p.lane&=-536870913)}n&=~d}r!==0&&He(e,r,0),a!==0&&i===0&&e.tag!==0&&(e.suspendedLanes|=a&~(o&~t))}function He(e,t,n){e.pendingLanes|=t,e.suspendedLanes&=~t;var r=31-Lp(t);e.entangledLanes|=t,e.entanglements[r]=e.entanglements[r]|1073741824|n&261930}function Ue(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-Lp(n),i=1<<r;i&t|e[r]&t&&(e[r]|=t),n&=~i}}function We(e,t){var n=t&-t;return n=n&42?1:Ge(n),(n&(e.suspendedLanes|t))===0?n:0}function Ge(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 Ke(e,t,n){if(Ip)for(e=e.pendingUpdatersLaneMap;0<n;){var r=31-Lp(n),i=1<<r;e[r].add(t),n&=~i}}function qe(e,t){if(Ip)for(var n=e.pendingUpdatersLaneMap,r=e.memoizedUpdaters;0<t;){var i=31-Lp(t);e=1<<i,i=n[i],0<i.size&&(i.forEach(function(e){var t=e.alternate;t!==null&&r.has(t)||r.add(e)}),i.clear()),t&=~e}}function Je(e){return e&=-e,Up!==0&&Up<e?Wp!==0&&Wp<e?e&134217727?Gp:Kp:Wp:Up}function Ye(){var e=z.p;return e===0?(e=window.event,e===void 0?Gp:hf(e.type)):e}function Xe(e,t){var n=z.p;try{return z.p=e,t()}finally{z.p=n}}function Ze(e){delete e[Jp],delete e[Yp],delete e[Zp],delete e[Qp],delete e[$p]}function Qe(e){var t=e[Jp];if(t)return t;for(var n=e.parentNode;n;){if(t=n[Xp]||n[Jp]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=wd(e);e!==null;){if(n=e[Jp])return n;e=wd(e)}return t}e=n,n=e.parentNode}return null}function $e(e){if(e=e[Jp]||e[Xp]){var t=e.tag;if(t===5||t===6||t===13||t===31||t===26||t===27||t===3)return e}return null}function et(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e.stateNode;throw Error(`getNodeFromInstance: Invalid argument.`)}function tt(e){var t=e[em];return t||=e[em]={hoistableStyles:new Map,hoistableScripts:new Map},t}function nt(e){e[tm]=!0}function rt(e,t){it(e,t),it(e+`Capture`,t)}function it(e,t){rm[e]&&console.error("EventRegistry: More than one plugin attempted to publish the same registration name, `%s`.",e),rm[e]=t;var n=e.toLowerCase();for(im[n]=e,e===`onDoubleClick`&&(im.ondblclick=e),e=0;e<t.length;e++)nm.add(t[e])}function at(e,t){am[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 ot(e){return yp.call(cm,e)?!0:yp.call(sm,e)?!1:om.test(e)?cm[e]=!0:(sm[e]=!0,console.error("Invalid attribute name: `%s`",e),!1)}function st(e,t,n){if(ot(t)){if(!e.hasAttribute(t)){switch(typeof n){case`symbol`:case`object`:return n;case`function`:return n;case`boolean`:if(!1===n)return n}return n===void 0?void 0:null}return e=e.getAttribute(t),e===``&&!0===n||(T(n,t),e===``+n?n:e)}}function ct(e,t,n){if(ot(t)){if(n===null)e.removeAttribute(t);else{switch(typeof n){case`undefined`:case`function`:case`symbol`:e.removeAttribute(t);return;case`boolean`:var r=t.toLowerCase().slice(0,5);if(r!==`data-`&&r!==`aria-`){e.removeAttribute(t);return}}T(n,t),e.setAttribute(t,``+n)}}}function lt(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}T(n,t),e.setAttribute(t,``+n)}}function ut(e,t,n,r){if(r===null)e.removeAttribute(n);else{switch(typeof r){case`undefined`:case`function`:case`symbol`:case`boolean`:e.removeAttribute(n);return}T(r,n),e.setAttributeNS(t,n,``+r)}}function dt(e){switch(typeof e){case`bigint`:case`boolean`:case`number`:case`string`:case`undefined`:return e;case`object`:return Me(e),e;default:return``}}function ft(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()===`input`&&(t===`checkbox`||t===`radio`)}function pt(e,t,n){var r=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);if(!e.hasOwnProperty(t)&&r!==void 0&&typeof r.get==`function`&&typeof r.set==`function`){var i=r.get,a=r.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(e){Me(e),n=``+e,a.call(this,e)}}),Object.defineProperty(e,t,{enumerable:r.enumerable}),{getValue:function(){return n},setValue:function(e){Me(e),n=``+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function mt(e){if(!e._valueTracker){var t=ft(e)?`checked`:`value`;e._valueTracker=pt(e,t,``+e[t])}}function O(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r=``;return e&&(r=ft(e)?e.checked?`true`:`false`:e.value),e=r,e!==n&&(t.setValue(e),!0)}function ht(e){if(e||=typeof document<`u`?document:void 0,e===void 0)return null;try{return e.activeElement||e.body}catch{return e.body}}function gt(e){return e.replace(lm,function(e){return`\\`+e.charCodeAt(0).toString(16)+` `})}function _t(e,t){t.checked===void 0||t.defaultChecked===void 0||dm||(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`,Te()||`A component`,t.type),dm=!0),t.value===void 0||t.defaultValue===void 0||um||(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`,Te()||`A component`,t.type),um=!0)}function vt(e,t,n,r,i,a,o,s){e.name=``,o!=null&&typeof o!=`function`&&typeof o!=`symbol`&&typeof o!=`boolean`?(T(o,`type`),e.type=o):e.removeAttribute(`type`),t==null?o!==`submit`&&o!==`reset`||e.removeAttribute(`value`):o===`number`?(t===0&&e.value===``||e.value!=t)&&(e.value=``+dt(t)):e.value!==``+dt(t)&&(e.value=``+dt(t)),t==null?n==null?r!=null&&e.removeAttribute(`value`):yt(e,o,dt(n)):yt(e,o,dt(t)),i==null&&a!=null&&(e.defaultChecked=!!a),i!=null&&(e.checked=i&&typeof i!=`function`&&typeof i!=`symbol`),s!=null&&typeof s!=`function`&&typeof s!=`symbol`&&typeof s!=`boolean`?(T(s,`name`),e.name=``+dt(s)):e.removeAttribute(`name`)}function k(e,t,n,r,i,a,o,s){if(a!=null&&typeof a!=`function`&&typeof a!=`symbol`&&typeof a!=`boolean`&&(T(a,`type`),e.type=a),t!=null||n!=null){if(!(a!==`submit`&&a!==`reset`||t!=null)){mt(e);return}n=n==null?``:``+dt(n),t=t==null?n:``+dt(t),s||t===e.value||(e.value=t),e.defaultValue=t}r??=i,r=typeof r!=`function`&&typeof r!=`symbol`&&!!r,e.checked=s?e.checked:!!r,e.defaultChecked=!!r,o!=null&&typeof o!=`function`&&typeof o!=`symbol`&&typeof o!=`boolean`&&(T(o,`name`),e.name=o),mt(e)}function yt(e,t,n){t===`number`&&ht(e.ownerDocument)===e||e.defaultValue===``+n||(e.defaultValue=``+n)}function bt(e,t){t.value??(typeof t.children==`object`&&t.children!==null?jf.Children.forEach(t.children,function(e){e==null||typeof e==`string`||typeof e==`number`||typeof e==`bigint`||pm||(pm=!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||mm||(mm=!0,console.error("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected."))),t.selected==null||fm||(console.error("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),fm=!0)}function xt(){var e=Te();return e?`
|
|
34
|
+
|
|
35
|
+
Check the render method of \``+e+"`.":``}function St(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i<n.length;i++)t[`$`+n[i]]=!0;for(n=0;n<e.length;n++)i=t.hasOwnProperty(`$`+e[n].value),e[n].selected!==i&&(e[n].selected=i),i&&r&&(e[n].defaultSelected=!0)}else{for(n=``+dt(n),t=null,i=0;i<e.length;i++){if(e[i].value===n){e[i].selected=!0,r&&(e[i].defaultSelected=!0);return}t!==null||e[i].disabled||(t=e[i])}t!==null&&(t.selected=!0)}}function Ct(e,t){for(e=0;e<gm.length;e++){var n=gm[e];if(t[n]!=null){var r=Xf(t[n]);t.multiple&&!r?console.error("The `%s` prop supplied to <select> must be an array if `multiple` is true.%s",n,xt()):!t.multiple&&r&&console.error("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.%s",n,xt())}}t.value===void 0||t.defaultValue===void 0||hm||(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`),hm=!0)}function wt(e,t){t.value===void 0||t.defaultValue===void 0||_m||(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`,Te()||`A component`),_m=!0),t.children!=null&&t.value==null&&console.error("Use the `defaultValue` or `value` props instead of setting children on <textarea>.")}function Tt(e,t,n){if(t!=null&&(t=``+dt(t),t!==e.value&&(e.value=t),n==null)){e.defaultValue!==t&&(e.defaultValue=t);return}e.defaultValue=n==null?``:``+dt(n)}function Et(e,t,n,r){if(t==null){if(r!=null){if(n!=null)throw Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(Xf(r)){if(1<r.length)throw Error(`<textarea> can only have at most one child.`);r=r[0]}n=r}n??=``,t=n}n=dt(t),e.defaultValue=n,r=e.textContent,r===n&&r!==``&&r!==null&&(e.value=r),mt(e)}function Dt(e,t){return e.serverProps===void 0&&e.serverTail.length===0&&e.children.length===1&&3<e.distanceFromLeaf&&e.distanceFromLeaf>15-t?Dt(e.children[0],t):e}function Ot(e){return` `+` `.repeat(e)}function kt(e){return`+ `+` `.repeat(e)}function At(e){return`- `+` `.repeat(e)}function jt(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 Mt(e,t){return vm.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 Nt(e,t,n){var r=120-2*n;if(t===null)return kt(n)+Mt(e,r)+`
|
|
36
|
+
`;if(typeof t==`string`){for(var i=0;i<t.length&&i<e.length&&t.charCodeAt(i)===e.charCodeAt(i);i++);return i>r-8&&10<i&&(e=`...`+e.slice(i-8),t=`...`+t.slice(i-8)),kt(n)+Mt(e,r)+`
|
|
37
|
+
`+At(n)+Mt(t,r)+`
|
|
38
|
+
`}return Ot(n)+Mt(e,r)+`
|
|
39
|
+
`}function A(e){return Object.prototype.toString.call(e).replace(/^\[object (.*)\]$/,function(e,t){return t})}function Pt(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(Xf(e))return`[...]`;if(e.$$typeof===Pf)return(t=x(e.type))?`<`+t+`>`:`<...>`;var n=A(e);if(n===`Object`){for(var r in n=``,t-=2,e)if(e.hasOwnProperty(r)){var i=JSON.stringify(r);if(i!==`"`+r+`"`&&(r=i),t-=r.length-2,i=Pt(e[r],15>t?t:15),t-=i.length,0>t){n+=n===``?`...`:`, ...`;break}n+=(n===``?``:`,`)+r+`:`+i}return`{`+n+`}`}return n;case`function`:return(t=e.displayName||e.name)?`function `+t:`function`;default:return String(e)}}function Ft(e,t){return typeof e!=`string`||vm.test(e)?`{`+Pt(e,t-2)+`}`:e.length>t-2?5>t?`"..."`:`"`+e.slice(0,t-5)+`..."`:`"`+e+`"`}function It(e,t,n){var r=120-n.length-e.length,i=[],a;for(a in t)if(t.hasOwnProperty(a)&&a!==`children`){var o=Ft(t[a],120-n.length-a.length-1);r-=a.length+o.length+2,i.push(a+`=`+o)}return i.length===0?n+`<`+e+`>
|
|
40
|
+
`:0<r?n+`<`+e+` `+i.join(` `)+`>
|
|
41
|
+
`:n+`<`+e+`
|
|
42
|
+
`+n+` `+i.join(`
|
|
43
|
+
`+n+` `)+`
|
|
44
|
+
`+n+`>
|
|
45
|
+
`}function Lt(e,t,n){var r=``,i=L({},t),a;for(a in e)if(e.hasOwnProperty(a)){delete i[a];var o=120-2*n-a.length-2,s=Pt(e[a],o);t.hasOwnProperty(a)?(o=Pt(t[a],o),r+=kt(n)+a+`: `+s+`
|
|
46
|
+
`,r+=At(n)+a+`: `+o+`
|
|
47
|
+
`):r+=kt(n)+a+`: `+s+`
|
|
48
|
+
`}for(var c in i)i.hasOwnProperty(c)&&(e=Pt(i[c],120-2*n-c.length-2),r+=At(n)+c+`: `+e+`
|
|
49
|
+
`);return r}function Rt(e,t,n,r){var i=``,a=new Map;for(l in n)n.hasOwnProperty(l)&&a.set(l.toLowerCase(),l);if(a.size===1&&a.has(`children`))i+=It(e,t,Ot(r));else{for(var o in t)if(t.hasOwnProperty(o)&&o!==`children`){var s=120-2*(r+1)-o.length-1,c=a.get(o.toLowerCase());if(c!==void 0){a.delete(o.toLowerCase());var l=t[o];c=n[c];var u=Ft(l,s);s=Ft(c,s),typeof l==`object`&&l&&typeof c==`object`&&c&&A(l)===`Object`&&A(c)===`Object`&&(2<Object.keys(l).length||2<Object.keys(c).length||-1<u.indexOf(`...`)||-1<s.indexOf(`...`))?i+=Ot(r+1)+o+`={{
|
|
50
|
+
`+Lt(l,c,r+2)+Ot(r+1)+`}}
|
|
51
|
+
`:(i+=kt(r+1)+o+`=`+u+`
|
|
52
|
+
`,i+=At(r+1)+o+`=`+s+`
|
|
53
|
+
`)}else i+=Ot(r+1)+o+`=`+Ft(t[o],s)+`
|
|
54
|
+
`}a.forEach(function(e){if(e!==`children`){var t=120-2*(r+1)-e.length-1;i+=At(r+1)+e+`=`+Ft(n[e],t)+`
|
|
55
|
+
`}}),i=i===``?Ot(r)+`<`+e+`>
|
|
56
|
+
`:Ot(r)+`<`+e+`
|
|
57
|
+
`+i+Ot(r)+`>
|
|
58
|
+
`}return e=n.children,t=t.children,typeof e==`string`||typeof e==`number`||typeof e==`bigint`?(a=``,(typeof t==`string`||typeof t==`number`||typeof t==`bigint`)&&(a=``+t),i+=Nt(a,``+e,r+1)):(typeof t==`string`||typeof t==`number`||typeof t==`bigint`)&&(i=e==null?i+Nt(``+t,null,r+1):i+Nt(``+t,void 0,r+1)),i}function zt(e,t){var n=jt(e);if(n===null){for(n=``,e=e.child;e;)n+=zt(e,t),e=e.sibling;return n}return Ot(t)+`<`+n+`>
|
|
59
|
+
`}function Bt(e,t){var n=Dt(e,t);if(n!==e&&(e.children.length!==1||e.children[0]!==n))return Ot(t)+`...
|
|
60
|
+
`+Bt(n,t+1);n=``;var r=e.fiber._debugInfo;if(r)for(var i=0;i<r.length;i++){var a=r[i].name;typeof a==`string`&&(n+=Ot(t)+`<`+a+`>
|
|
61
|
+
`,t++)}if(r=``,i=e.fiber.pendingProps,e.fiber.tag===6)r=Nt(i,e.serverProps,t),t++;else if(a=jt(e.fiber),a!==null){if(e.serverProps===void 0){r=t;var o=120-2*r-a.length-2,s=``;for(l in i)if(i.hasOwnProperty(l)&&l!==`children`){var c=Ft(i[l],15);if(o-=l.length+c.length+2,0>o){s+=` ...`;break}s+=` `+l+`=`+c}r=Ot(r)+`<`+a+s+`>
|
|
62
|
+
`,t++}else e.serverProps===null?(r=It(a,i,kt(t)),t++):typeof e.serverProps==`string`?console.error(`Should not have matched a non HostText fiber to a Text node. This is a bug in React.`):(r=Rt(a,i,e.serverProps,t),t++)}var l=``;for(i=e.fiber.child,a=0;i&&a<e.children.length;)o=e.children[a],o.fiber===i?(l+=Bt(o,t),a++):l+=zt(i,t),i=i.sibling;for(i&&0<e.children.length&&(l+=Ot(t)+`...
|
|
63
|
+
`),i=e.serverTail,e.serverProps===null&&t--,e=0;e<i.length;e++)a=i[e],l=typeof a==`string`?l+(At(t)+Mt(a,120-2*t)+`
|
|
64
|
+
`):l+It(a.type,a.props,At(t));return n+r+l}function Vt(e){try{return`
|
|
65
|
+
|
|
66
|
+
`+Bt(e,0)}catch{return``}}function Ht(e,t,n){for(var r=t,i=null,a=0;r;)r===e&&(a=0),i={fiber:r,children:i===null?[]:[i],serverProps:r===t?n:r===e?null:void 0,serverTail:[],distanceFromLeaf:a},a++,r=r.return;return i===null?``:Vt(i).replaceAll(/^[+-]/gm,`>`)}function Ut(e,t){var n=L({},e||Cm),r={tag:t};return bm.indexOf(t)!==-1&&(n.aTagInScope=null,n.buttonTagInScope=null,n.nobrTagInScope=null),xm.indexOf(t)!==-1&&(n.pTagInButtonScope=null),ym.indexOf(t)!==-1&&t!==`address`&&t!==`div`&&t!==`p`&&(n.listItemTagAutoclosing=null,n.dlItemTagAutoclosing=null),n.current=r,t===`form`&&(n.formTag=r),t===`a`&&(n.aTagInScope=r),t===`button`&&(n.buttonTagInScope=r),t===`nobr`&&(n.nobrTagInScope=r),t===`p`&&(n.pTagInButtonScope=r),t===`li`&&(n.listItemTagAutoclosing=r),(t===`dd`||t===`dt`)&&(n.dlItemTagAutoclosing=r),t===`#document`||t===`html`?n.containerTagInScope=null:n.containerTagInScope||=r,e!==null||t!==`#document`&&t!==`html`&&t!==`body`?!0===n.implicitRootScope&&(n.implicitRootScope=!1):n.implicitRootScope=!0,n}function Wt(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 Sm.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 Gt(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 Kt(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 qt(e,t){t||=Cm;var n=t.current;if(t=(n=Wt(e,n&&n.tag,t.implicitRootScope)?null:n)?null:Gt(e,t),t=n||t,!t)return!0;var r=t.tag;if(t=String(!!n)+`|`+e+`|`+r,wm[t])return!1;wm[t]=!0;var i=(t=_p)?Kt(t.return,r):null,a=t!==null&&i!==null?Ht(i,t,null):``,o=`<`+e+`>`;return n?(n=``,r===`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
|
|
67
|
+
This will cause a hydration error.%s`,o,r,n,a)):console.error(`In HTML, %s cannot be a descendant of <%s>.
|
|
68
|
+
This will cause a hydration error.%s`,o,r,a),t&&(e=t.return,i===null||e===null||i===e&&e._debugOwner===t._debugOwner||w(i,function(){console.error(`<%s> cannot contain a nested %s.
|
|
69
|
+
See this log for the ancestor stack trace.`,r,o)})),!1}function Jt(e,t,n){if(n||Wt(`#text`,t,!1))return!0;if(n=`#text|`+t,wm[n])return!1;wm[n]=!0;var r=(n=_p)?Kt(n,t):null;return n=n!==null&&r!==null?Ht(r,n,n.tag===6?null:{children:null}):``,/\S/.test(e)?console.error(`In HTML, text nodes cannot be a child of <%s>.
|
|
70
|
+
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.
|
|
71
|
+
This will cause a hydration error.%s`,t,n),!1}function Yt(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}function Xt(e){return e.replace(Am,function(e,t){return t.toUpperCase()})}function Zt(e,t,n){var r=t.indexOf(`--`)===0;r||(-1<t.indexOf(`-`)?Mm.hasOwnProperty(t)&&Mm[t]||(Mm[t]=!0,console.error(`Unsupported style property %s. Did you mean %s?`,t,Xt(t.replace(km,`ms-`)))):Om.test(t)?Mm.hasOwnProperty(t)&&Mm[t]||(Mm[t]=!0,console.error(`Unsupported vendor-prefixed style property %s. Did you mean %s?`,t,t.charAt(0).toUpperCase()+t.slice(1))):!jm.test(n)||Nm.hasOwnProperty(n)&&Nm[n]||(Nm[n]=!0,console.error(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,t,n.replace(jm,``))),typeof n==`number`&&(isNaN(n)?Pm||(Pm=!0,console.error("`NaN` is an invalid value for the `%s` css style property.",t)):isFinite(n)||Fm||(Fm=!0,console.error("`Infinity` is an invalid value for the `%s` css style property.",t)))),n==null||typeof n==`boolean`||n===``?r?e.setProperty(t,``):t===`float`?e.cssFloat=``:e[t]=``:r?e.setProperty(t,n):typeof n!=`number`||n===0||Im.has(t)?t===`float`?e.cssFloat=n:(je(n,t),e[t]=(``+n).trim()):e[t]=n+`px`}function Qt(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 r={};if(n){for(var i in n)if(n.hasOwnProperty(i)&&!t.hasOwnProperty(i))for(var a=Tm[i]||[i],o=0;o<a.length;o++)r[a[o]]=i}for(var s in t)if(t.hasOwnProperty(s)&&(!n||n[s]!==t[s]))for(i=Tm[s]||[s],a=0;a<i.length;a++)r[i[a]]=s;for(var c in s={},t)for(i=Tm[c]||[c],a=0;a<i.length;a++)s[i[a]]=c;for(var l in c={},r)if(i=r[l],(a=s[l])&&i!==a&&(o=i+`,`+a,!c[o])){c[o]=!0,o=console;var u=t[i];o.error.call(o,`%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.`,u==null||typeof u==`boolean`||u===``?`Removing`:`Updating`,i,a)}}for(var d in n)!n.hasOwnProperty(d)||t!=null&&t.hasOwnProperty(d)||(d.indexOf(`--`)===0?e.setProperty(d,``):d===`float`?e.cssFloat=``:e[d]=``);for(var f in t)l=t[f],t.hasOwnProperty(f)&&n[f]!==l&&Zt(e,f,l)}else for(r in t)t.hasOwnProperty(r)&&Zt(e,r,t[r])}function $t(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 en(e){return zm.get(e)||e}function tn(e,t){if(yp.call(Hm,t)&&Hm[t])return!0;if(Wm.test(t)){if(e=`aria-`+t.slice(4).toLowerCase(),e=Vm.hasOwnProperty(e)?e:null,e==null)return console.error("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",t),Hm[t]=!0;if(t!==e)return console.error("Invalid ARIA attribute `%s`. Did you mean `%s`?",t,e),Hm[t]=!0}if(Um.test(t)){if(e=t.toLowerCase(),e=Vm.hasOwnProperty(e)?e:null,e==null)return Hm[t]=!0,!1;t!==e&&(console.error("Unknown ARIA attribute `%s`. Did you mean `%s`?",t,e),Hm[t]=!0)}return!0}function nn(e,t){var n=[],r;for(r in t)tn(e,r)||n.push(r);t=n.map(function(e){return"`"+e+"`"}).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 rn(e,t,n,r){if(yp.call(Km,t)&&Km[t])return!0;var i=t.toLowerCase();if(i===`onfocusin`||i===`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.`),Km[t]=!0;if(typeof n==`function`&&(e===`form`&&t===`action`||e===`input`&&t===`formAction`||e===`button`&&t===`formAction`))return!0;if(r!=null){if(e=r.possibleRegistrationNames,r.registrationNameDependencies.hasOwnProperty(t))return!0;if(r=e.hasOwnProperty(i)?e[i]:null,r!=null)return console.error("Invalid event handler property `%s`. Did you mean `%s`?",t,r),Km[t]=!0;if(qm.test(t))return console.error("Unknown event handler property `%s`. It will be ignored.",t),Km[t]=!0}else if(qm.test(t))return Jm.test(t)&&console.error("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",t),Km[t]=!0;if(Ym.test(t)||Xm.test(t))return!0;if(i===`innerhtml`)return console.error("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),Km[t]=!0;if(i===`aria`)return console.error("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),Km[t]=!0;if(i===`is`&&n!=null&&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),Km[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),Km[t]=!0;if(Bm.hasOwnProperty(i)){if(i=Bm[i],i!==t)return console.error("Invalid DOM property `%s`. Did you mean `%s`?",t,i),Km[t]=!0}else if(t!==i)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,i),Km[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 i=t.toLowerCase().slice(0,5),i===`data-`||i===`aria-`||(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\`.
|
|
72
|
+
|
|
73
|
+
If you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.
|
|
74
|
+
|
|
75
|
+
If you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.`,n,t,t,n,t,t,t),Km[t]=!0)}case`function`:case`symbol`:return Km[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),Km[t]=!0}}return!0}function an(e,t,n){var r=[],i;for(i in t)rn(e,i,t[i],n)||r.push(i);t=r.map(function(e){return"`"+e+"`"}).join(`, `),r.length===1?console.error(`Invalid value for prop %s on <%s> tag. Either remove it from the element, or pass a string or number value to keep it in the DOM. For details, see https://react.dev/link/attribute-behavior `,t,e):1<r.length&&console.error(`Invalid values for props %s on <%s> tag. Either remove them from the element, or pass a string or number value to keep them in the DOM. For details, see https://react.dev/link/attribute-behavior `,t,e)}function on(e){return Zm.test(``+e)?`javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')`:e}function sn(){}function cn(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}function ln(e){var t=$e(e);if(t&&(e=t.stateNode)){var n=e[Yp]||null;a:switch(e=t.stateNode,t.type){case`input`:if(vt(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(T(t,`name`),n=n.querySelectorAll(`input[name="`+gt(``+t)+`"][type="radio"]`),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var i=r[Yp]||null;if(!i)throw Error("ReactDOMInput: Mixing React and non-React radio inputs with the same `name` is not supported.");vt(r,i.value,i.defaultValue,i.defaultValue,i.checked,i.defaultChecked,i.type,i.name)}}for(t=0;t<n.length;t++)r=n[t],r.form===e.form&&O(r)}break a;case`textarea`:Tt(e,n.value,n.defaultValue);break a;case`select`:t=n.value,t!=null&&St(e,!!n.multiple,t,!1)}}}function un(e,t,n){if(th)return e(t,n);th=!0;try{return e(t)}finally{if(th=!1,($m!==null||eh!==null)&&(ul(),$m&&(t=$m,e=eh,eh=$m=null,ln(t),e)))for(t=0;t<e.length;t++)ln(e[t])}}function dn(e,t){var n=e.stateNode;if(n===null)return null;var r=n[Yp]||null;if(r===null)return null;n=r[t];a:switch(t){case`onClick`:case`onClickCapture`:case`onDoubleClick`:case`onDoubleClickCapture`:case`onMouseDown`:case`onMouseDownCapture`:case`onMouseMove`:case`onMouseMoveCapture`:case`onMouseUp`:case`onMouseUpCapture`:case`onMouseEnter`:(r=!r.disabled)||(e=e.type,r=e!==`button`&&e!==`input`&&e!==`select`&&e!==`textarea`),e=!r;break a;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 fn(){if(sh)return sh;var e,t=oh,n=t.length,r,i=`value`in ah?ah.value:ah.textContent,a=i.length;for(e=0;e<n&&t[e]===i[e];e++);var o=n-e;for(r=1;r<=o&&t[n-r]===i[a-r];r++);return sh=i.slice(e,1<r?1-r:void 0)}function pn(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 mn(){return!0}function hn(){return!1}function gn(e){function t(t,n,r,i,a){for(var o in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=i,this.target=a,this.currentTarget=null,e)e.hasOwnProperty(o)&&(t=e[o],this[o]=t?t(i):i[o]);return this.isDefaultPrevented=(i.defaultPrevented==null?!1===i.returnValue:i.defaultPrevented)?mn:hn,this.isPropagationStopped=hn,this}return L(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():typeof e.returnValue!=`unknown`&&(e.returnValue=!1),this.isDefaultPrevented=mn)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():typeof e.cancelBubble!=`unknown`&&(e.cancelBubble=!0),this.isPropagationStopped=mn)},persist:function(){},isPersistent:mn}),t}function _n(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=Th[e])?!!t[e]:!1}function vn(){return _n}function yn(e,t){switch(e){case`keyup`:return Mh.indexOf(t.keyCode)!==-1;case`keydown`:return t.keyCode!==Nh;case`keypress`:case`mousedown`:case`focusout`:return!0;default:return!1}}function bn(e){return e=e.detail,typeof e==`object`&&`data`in e?e.data:null}function xn(e,t){switch(e){case`compositionend`:return bn(t);case`keypress`:return t.which===Rh?(Bh=!0,zh):null;case`textInput`:return e=t.data,e===zh&&Bh?null:e;default:return null}}function Sn(e,t){if(Vh)return e===`compositionend`||!Ph&&yn(e,t)?(e=fn(),sh=oh=ah=null,Vh=!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 Lh&&t.locale!==`ko`?null:t.data;default:return null}}function Cn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t===`input`?!!Hh[e.type]:t===`textarea`}function wn(e){if(!nh)return!1;e=`on`+e;var t=e in document;return t||=(t=document.createElement(`div`),t.setAttribute(e,`return;`),typeof t[e]==`function`),t}function Tn(e,t,n,r){$m?eh?eh.push(r):eh=[r]:$m=r,t=_u(t,`onChange`),0<t.length&&(n=new lh(`onChange`,`change`,null,n,r),e.push({event:n,listeners:t}))}function En(e){du(e,0)}function Dn(e){if(O(et(e)))return e}function On(e,t){if(e===`change`)return t}function kn(){Uh&&(Uh.detachEvent(`onpropertychange`,An),Wh=Uh=null)}function An(e){if(e.propertyName===`value`&&Dn(Wh)){var t=[];Tn(t,Wh,e,cn(e)),un(En,t)}}function jn(e,t,n){e===`focusin`?(kn(),Uh=t,Wh=n,Uh.attachEvent(`onpropertychange`,An)):e===`focusout`&&kn()}function Mn(e){if(e===`selectionchange`||e===`keyup`||e===`keydown`)return Dn(Wh)}function Nn(e,t){if(e===`click`)return Dn(t)}function Pn(e,t){if(e===`input`||e===`change`)return Dn(t)}function Fn(e,t){return e===t&&(e!==0||1/e==1/t)||e!==e&&t!==t}function In(e,t){if(Kh(e,t))return!0;if(typeof e!=`object`||!e||typeof t!=`object`||!t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var i=n[r];if(!yp.call(t,i)||!Kh(e[i],t[i]))return!1}return!0}function Ln(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Rn(e,t){var n=Ln(e);e=0;for(var r;n;){if(n.nodeType===3){if(r=e+n.textContent.length,e<=t&&r>=t)return{node:n,offset:t-e};e=r}a:{for(;n;){if(n.nextSibling){n=n.nextSibling;break a}n=n.parentNode}n=void 0}n=Ln(n)}}function zn(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?zn(e,t.parentNode):`contains`in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Bn(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=ht(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=ht(e.document)}return t}function Vn(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 Hn(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Zh||Jh==null||Jh!==ht(r)||(r=Jh,`selectionStart`in r&&Vn(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),Xh&&In(Xh,r)||(Xh=r,r=_u(Yh,`onSelect`),0<r.length&&(t=new lh(`onSelect`,`select`,null,t,n),e.push({event:t,listeners:r}),t.target=Jh)))}function Un(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n[`Webkit`+e]=`webkit`+t,n[`Moz`+e]=`moz`+t,n}function Wn(e){if($h[e])return $h[e];if(!Qh[e])return e;var t=Qh[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in eg)return $h[e]=t[n];return e}function Gn(e,t){cg.set(e,t),rt(t,[e])}function Kn(e){for(var t=gg,n=0;n<e.length;n++){var r=e[n];if(typeof r==`object`&&r){if(Xf(r)&&r.length===2&&typeof r[0]==`string`){if(t!==gg&&t!==yg)return _g;t=yg}else return _g}else{if(typeof r==`function`||typeof r==`string`&&50<r.length||t!==gg&&t!==vg)return _g;t=vg}}return t}function qn(e,t,n,r){for(var i in e)yp.call(e,i)&&i[0]!==`_`&&Jn(i,e[i],t,n,r)}function Jn(e,t,n,r,i){switch(typeof t){case`object`:if(t===null){t=`null`;break}if(t.$$typeof===Pf){var a=x(t.type)||`…`,o=t.key;t=t.props;var s=Object.keys(t),c=s.length;if(o==null&&c===0){t=`<`+a+` />`;break}if(3>r||c===1&&s[0]===`children`&&o==null){t=`<`+a+` … />`;break}for(var l in n.push([i+`\xA0\xA0`.repeat(r)+e,`<`+a]),o!==null&&Jn(`key`,o,n,r+1,i),e=!1,t)l===`children`?t.children!=null&&(!Xf(t.children)||0<t.children.length)&&(e=!0):yp.call(t,l)&&l[0]!==`_`&&Jn(l,t[l],n,r+1,i);n.push([``,e?`>…</`+a+`>`:`/>`]);return}if(a=Object.prototype.toString.call(t),a=a.slice(8,a.length-1),a===`Array`){if(l=Kn(t),l===vg||l===gg){t=JSON.stringify(t);break}if(l===yg){for(n.push([i+`\xA0\xA0`.repeat(r)+e,``]),e=0;e<t.length;e++)a=t[e],Jn(a[0],a[1],n,r+1,i);return}}if(a===`Promise`){if(t.status===`fulfilled`){if(a=n.length,Jn(e,t.value,n,r,i),n.length>a){n=n[a],n[1]=`Promise<`+(n[1]||`Object`)+`>`;return}}else if(t.status===`rejected`&&(a=n.length,Jn(e,t.reason,n,r,i),n.length>a)){n=n[a],n[1]=`Rejected Promise<`+n[1]+`>`;return}n.push([`\xA0\xA0`.repeat(r)+e,`Promise`]);return}a===`Object`&&(l=Object.getPrototypeOf(t))&&typeof l.constructor==`function`&&(a=l.constructor.name),n.push([i+`\xA0\xA0`.repeat(r)+e,a===`Object`?3>r?``:`…`:a]),3>r&&qn(t,n,r+1,i);return;case`function`:t=t.name===``?`() => {}`:t.name+`() {}`;break;case`string`:t=t===hg?`…`:JSON.stringify(t);break;case`undefined`:t=`undefined`;break;case`boolean`:t=t?`true`:`false`;break;default:t=String(t)}n.push([i+`\xA0\xA0`.repeat(r)+e,t])}function Yn(e,t,n,r){var i=!0;for(o in e)o in t||(n.push([bg+`\xA0\xA0`.repeat(r)+o,`…`]),i=!1);for(var a in t)if(a in e){var o=e[a],s=t[a];if(o!==s){if(r===0&&a===`children`)i=`\xA0\xA0`.repeat(r)+a,n.push([bg+i,`…`],[xg+i,`…`]);else{if(!(3<=r)){if(typeof o==`object`&&typeof s==`object`&&o!==null&&s!==null&&o.$$typeof===s.$$typeof){if(s.$$typeof===Pf){if(o.type===s.type&&o.key===s.key){o=x(s.type)||`…`,i=`\xA0\xA0`.repeat(r)+a,o=`<`+o+` … />`,n.push([bg+i,o],[xg+i,o]),i=!1;continue}}else{var c=Object.prototype.toString.call(o),l=Object.prototype.toString.call(s);if(c===l&&(l===`[object Object]`||l===`[object Array]`)){c=[Sg+`\xA0\xA0`.repeat(r)+a,l===`[object Array]`?`Array`:``],n.push(c),l=n.length,Yn(o,s,n,r+1)?l===n.length&&(c[1]=`Referentially unequal but deeply equal objects. Consider memoization.`):i=!1;continue}}}else if(typeof o==`function`&&typeof s==`function`&&o.name===s.name&&o.length===s.length&&(c=Function.prototype.toString.call(o),l=Function.prototype.toString.call(s),c===l)){o=s.name===``?`() => {}`:s.name+`() {}`,n.push([Sg+`\xA0\xA0`.repeat(r)+a,o+` Referentially unequal function closure. Consider memoization.`]);continue}}Jn(a,o,n,r,bg),Jn(a,s,n,r,xg)}i=!1}}else n.push([xg+`\xA0\xA0`.repeat(r)+a,`…`]),i=!1;return i}function Xn(e){V=e&63?`Blocking`:e&64?`Gesture`:e&4194176?`Transition`:e&62914560?`Suspense`:e&2080374784?`Idle`:`Other`}function Zn(e,t,n,r){Cg&&(Dg.start=t,Dg.end=n,Eg.color=`warning`,Eg.tooltipText=r,Eg.properties=null,(e=e._debugTask)?e.run(performance.measure.bind(performance,r,Dg)):performance.measure(r,Dg))}function Qn(e,t,n){Zn(e,t,n,`Reconnect`)}function $n(e,t,n,r,i){var a=S(e);if(a!==null&&Cg){var o=e.alternate,s=e.actualDuration;if(o===null||o.child!==e.child)for(var c=e.child;c!==null;c=c.sibling)s-=c.actualDuration;r=.5>s?r?`tertiary-light`:`primary-light`:10>s?r?`tertiary`:`primary`:100>s?r?`tertiary-dark`:`primary-dark`:`error`;var l=e.memoizedProps;s=e._debugTask,l!==null&&o!==null&&o.memoizedProps!==l?(c=[Og],l=Yn(o.memoizedProps,l,c,0),1<c.length&&(l&&!Tg&&(o.lanes&i)===0&&100<e.actualDuration?(Tg=!0,c[0]=Ag,Eg.color=`warning`,Eg.tooltipText=kg):(Eg.color=r,Eg.tooltipText=a),Eg.properties=c,Dg.start=t,Dg.end=n,s==null?performance.measure(``+a,Dg):s.run(performance.measure.bind(performance,``+a,Dg)))):s==null?console.timeStamp(a,t,n,wg,void 0,r):s.run(console.timeStamp.bind(console,a,t,n,wg,void 0,r))}}function er(e,t,n,r){if(Cg){var i=S(e);if(i!==null){for(var a=null,o=[],s=0;s<r.length;s++){var c=r[s];a==null&&c.source!==null&&(a=c.source._debugTask),c=c.value,o.push([`Error`,typeof c==`object`&&c&&typeof c.message==`string`?String(c.message):String(c)])}e.key!==null&&Jn(`key`,e.key,o,0,``),e.memoizedProps!==null&&qn(e.memoizedProps,o,0,``),a??=e._debugTask,e={start:t,end:n,detail:{devtools:{color:`error`,track:wg,tooltipText:e.tag===13?`Hydration failed`:`Error boundary caught an error`,properties:o}}},a?a.run(performance.measure.bind(performance,``+i,e)):performance.measure(``+i,e)}}}function tr(e,t,n,r,i){if(i!==null){if(Cg){var a=S(e);if(a!==null){r=[];for(var o=0;o<i.length;o++){var s=i[o].value;r.push([`Error`,typeof s==`object`&&s&&typeof s.message==`string`?String(s.message):String(s)])}e.key!==null&&Jn(`key`,e.key,r,0,``),e.memoizedProps!==null&&qn(e.memoizedProps,r,0,``),t={start:t,end:n,detail:{devtools:{color:`error`,track:wg,tooltipText:`A lifecycle or effect errored`,properties:r}}},(e=e._debugTask)?e.run(performance.measure.bind(performance,``+a,t)):performance.measure(``+a,t)}}}else a=S(e),a!==null&&Cg&&(i=1>r?`secondary-light`:100>r?`secondary`:500>r?`secondary-dark`:`error`,(e=e._debugTask)?e.run(console.timeStamp.bind(console,a,t,n,wg,void 0,i)):console.timeStamp(a,t,n,wg,void 0,i))}function nr(e,t,n,r){if(Cg&&!(t<=e)){var i=(n&738197653)===n?`tertiary-dark`:`primary-dark`;n=(n&536870912)===n?`Prepared`:(n&201326741)===n?`Hydrated`:`Render`,r?r.run(console.timeStamp.bind(console,n,e,t,V,B,i)):console.timeStamp(n,e,t,V,B,i)}}function rr(e,t,n,r){!Cg||t<=e||(n=(n&738197653)===n?`tertiary-dark`:`primary-dark`,r?r.run(console.timeStamp.bind(console,`Prewarm`,e,t,V,B,n)):console.timeStamp(`Prewarm`,e,t,V,B,n))}function ir(e,t,n,r){!Cg||t<=e||(n=(n&738197653)===n?`tertiary-dark`:`primary-dark`,r?r.run(console.timeStamp.bind(console,`Suspended`,e,t,V,B,n)):console.timeStamp(`Suspended`,e,t,V,B,n))}function ar(e,t,n,r,i,a){if(Cg&&!(t<=e)){n=[];for(var o=0;o<r.length;o++){var s=r[o].value;n.push([`Recoverable Error`,typeof s==`object`&&s&&typeof s.message==`string`?String(s.message):String(s)])}e={start:e,end:t,detail:{devtools:{color:`primary-dark`,track:V,trackGroup:B,tooltipText:i?`Hydration Failed`:`Recovered after Error`,properties:n}}},a?a.run(performance.measure.bind(performance,`Recovered`,e)):performance.measure(`Recovered`,e)}}function or(e,t,n,r){!Cg||t<=e||(r?r.run(console.timeStamp.bind(console,`Errored`,e,t,V,B,`error`)):console.timeStamp(`Errored`,e,t,V,B,`error`))}function sr(e,t,n,r){!Cg||t<=e||(r?r.run(console.timeStamp.bind(console,n,e,t,V,B,`secondary-light`)):console.timeStamp(n,e,t,V,B,`secondary-light`))}function cr(e,t,n,r,i){if(Cg&&!(t<=e)){for(var a=[],o=0;o<n.length;o++){var s=n[o].value;a.push([`Error`,typeof s==`object`&&s&&typeof s.message==`string`?String(s.message):String(s)])}e={start:e,end:t,detail:{devtools:{color:`error`,track:V,trackGroup:B,tooltipText:r?`Remaining Effects Errored`:`Commit Errored`,properties:a}}},i?i.run(performance.measure.bind(performance,`Errored`,e)):performance.measure(`Errored`,e)}}function lr(e,t,n){!Cg||t<=e||(n?n.run(console.timeStamp.bind(console,`Animating`,e,t,V,B,`secondary-dark`)):console.timeStamp(`Animating`,e,t,V,B,`secondary-dark`))}function ur(){for(var e=Pg,t=Fg=Pg=0;t<e;){var n=Ng[t];Ng[t++]=null;var r=Ng[t];Ng[t++]=null;var i=Ng[t];Ng[t++]=null;var a=Ng[t];if(Ng[t++]=null,r!==null&&i!==null){var o=r.pending;o===null?i.next=i:(i.next=o.next,o.next=i),r.pending=i}a!==0&&mr(n,i,a)}}function dr(e,t,n,r){Ng[Pg++]=e,Ng[Pg++]=t,Ng[Pg++]=n,Ng[Pg++]=r,Fg|=r,e.lanes|=r,e=e.alternate,e!==null&&(e.lanes|=r)}function fr(e,t,n,r){return dr(e,t,n,r),hr(e)}function pr(e,t){return dr(e,null,null,t),hr(e)}function mr(e,t,n){e.lanes|=n;var r=e.alternate;r!==null&&(r.lanes|=n);for(var i=!1,a=e.return;a!==null;)a.childLanes|=n,r=a.alternate,r!==null&&(r.childLanes|=n),a.tag===22&&(e=a.stateNode,e===null||e._visibility&jg||(i=!0)),e=a,a=a.return;return e.tag===3?(a=e.stateNode,i&&t!==null&&(i=31-Lp(n),e=a.hiddenUpdates,r=e[i],r===null?e[i]=[t]:r.push(t),t.lane=n|536870912),a):null}function hr(e){if(Kx>Gx)throw Zx=Kx=0,Qx=qx=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.`);Zx>Xx&&(Zx=0,Qx=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&&ql(e);for(var t=e,n=t.return;n!==null;)t.alternate===null&&t.flags&4098&&ql(e),t=n,n=t.return;return t.tag===3?t.stateNode:null}function gr(e){if(Lg===null)return e;var t=Lg(e);return t===void 0?e:t.current}function _r(e){if(Lg===null)return e;var t=Lg(e);return t===void 0?e!=null&&typeof e.render==`function`&&(t=gr(e.render),e.render!==t)?(t={$$typeof:Vf,render:t},e.displayName!==void 0&&(t.displayName=e.displayName),t):e:t.current}function vr(e,t){if(Lg===null)return!1;var n=e.elementType;t=t.type;var r=!1,i=typeof t==`object`&&t?t.$$typeof:null;switch(e.tag){case 1:typeof t==`function`&&(r=!0);break;case 0:(typeof t==`function`||i===Gf)&&(r=!0);break;case 11:(i===Vf||i===Gf)&&(r=!0);break;case 14:case 15:(i===Wf||i===Gf)&&(r=!0);break;default:return!1}return!!(r&&(e=Lg(n),e!==void 0&&e===Lg(t)))}function yr(e){Lg!==null&&typeof WeakSet==`function`&&(Rg===null&&(Rg=new WeakSet),Rg.add(e))}function br(e,t,n){do{var r=e,i=r.alternate,a=r.child,o=r.sibling,s=r.tag;r=r.type;var c=null;switch(s){case 0:case 15:case 1:c=r;break;case 11:c=r.render}if(Lg===null)throw Error(`Expected resolveFamily to be set during hot reload.`);var l=!1;if(r=!1,c!==null&&(c=Lg(c),c!==void 0&&(n.has(c)?r=!0:t.has(c)&&(s===1?r=!0:l=!0))),Rg!==null&&(Rg.has(e)||i!==null&&Rg.has(i))&&(r=!0),r&&(e._debugNeedsRemount=!0),(r||l)&&(i=pr(e,2),i!==null&&al(i,e,2)),a===null||r||br(a,t,n),o===null)break;e=o}while(1)}function xr(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null,this.actualDuration=-0,this.actualStartTime=-1.1,this.treeBaseDuration=this.selfBaseDuration=-0,this._debugTask=this._debugStack=this._debugOwner=this._debugInfo=null,this._debugNeedsRemount=!1,this._debugHookTypes=null,Ug||typeof Object.preventExtensions!=`function`||Object.preventExtensions(this)}function Sr(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Cr(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=gr(e.type);break;case 1:n.type=gr(e.type);break;case 11:n.type=_r(e.type)}return n}function wr(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 Tr(e,t,n,r,i,a){var o=0,s=e;if(typeof e==`function`)Sr(e)&&(o=1),s=gr(s);else if(typeof e==`string`)o=pe(),o=qd(e,n,o)?26:e===`html`||e===`head`||e===`body`?27:5;else a:switch(e){case Kf:return t=g(31,n,t,i),t.elementType=Kf,t.lanes=a,t;case If:return Dr(n.children,i,a,t);case Lf:o=8,i|=Bg,i|=Vg;break;case Rf:return e=n,r=i,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,r|U),t.elementType=Rf,t.lanes=a,t.stateNode={effectDuration:0,passiveEffectDuration:0},t;case Hf:return t=g(13,n,t,i),t.elementType=Hf,t.lanes=a,t;case Uf:return t=g(19,n,t,i),t.elementType=Uf,t.lanes=a,t;default:if(typeof e==`object`&&e)switch(e.$$typeof){case Bf:o=10;break a;case zf:o=9;break a;case Vf:o=11,s=_r(s);break a;case Wf:o=14;break a;case Gf:o=16,s=null;break a}s=``,(e===void 0||typeof e==`object`&&e&&Object.keys(e).length===0)&&(s+=` 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`:Xf(e)?n=`array`:e!==void 0&&e.$$typeof===Pf?(n=`<`+(x(e.type)||`Unknown`)+` />`,s=` Did you accidentally export a JSX literal instead of a component?`):n=typeof e,(o=r?se(r):null)&&(s+=`
|
|
76
|
+
|
|
77
|
+
Check the render method of \``+o+"`."),o=29,n=Error(`Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: `+(n+`.`+s)),s=null}return t=g(o,n,t,i),t.elementType=e,t.type=s,t.lanes=a,t._debugOwner=r,t}function Er(e,t,n){return t=Tr(e.type,e.key,e.props,e._owner,t,n),t._debugOwner=e._owner,t._debugStack=e._debugStack,t._debugTask=e._debugTask,t}function Dr(e,t,n,r){return e=g(7,e,r,t),e.lanes=n,e}function Or(e,t,n){return e=g(6,e,null,t),e.lanes=n,e}function kr(e){var t=g(18,null,null,H);return t.stateNode=e,t}function Ar(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 jr(e,t){if(typeof e==`object`&&e){var n=Wg.get(e);return n===void 0?(t={value:e,source:t,stack:Ce(t)},Wg.set(e,t),t):n}return{value:e,source:t,stack:Ce(t)}}function Mr(e,t){Rr(),Gg[Kg++]=Jg,Gg[Kg++]=qg,qg=e,Jg=t}function Nr(e,t,n){Rr(),Yg[Xg++]=Qg,Yg[Xg++]=$g,Yg[Xg++]=Zg,Zg=e;var r=Qg;e=$g;var i=32-Lp(r)-1;r&=~(1<<i),n+=1;var a=32-Lp(t)+i;if(30<a){var o=i-i%5;a=(r&(1<<o)-1).toString(32),r>>=o,i-=o,Qg=1<<32-Lp(t)+i|n<<i|r,$g=a+e}else Qg=1<<a|n<<i|r,$g=e}function Pr(e){Rr(),e.return!==null&&(Mr(e,1),Nr(e,1,0))}function Fr(e){for(;e===qg;)qg=Gg[--Kg],Gg[Kg]=null,Jg=Gg[--Kg],Gg[Kg]=null;for(;e===Zg;)Zg=Yg[--Xg],Yg[Xg]=null,$g=Yg[--Xg],Yg[Xg]=null,Qg=Yg[--Xg],Yg[Xg]=null}function Ir(){return Rr(),Zg===null?null:{id:Qg,overflow:$g}}function Lr(e,t){Rr(),Yg[Xg++]=Qg,Yg[Xg++]=$g,Yg[Xg++]=Zg,Qg=t.id,$g=t.overflow,Zg=e}function Rr(){W||console.error(`Expected to be hydrating. This is a bug in React. Please file an issue.`)}function zr(e,t){if(e.return===null){if(r_===null)r_={fiber:e,children:[],serverProps:void 0,serverTail:[],distanceFromLeaf:t};else{if(r_.fiber!==e)throw Error(`Saw multiple hydration diff roots in a pass. This is a bug in React.`);r_.distanceFromLeaf>t&&(r_.distanceFromLeaf=t)}return r_}var n=zr(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 Br(){W&&console.error(`We should not be hydrating here. This is a bug in React. Please file a bug.`)}function Vr(e,t){n_||(e=zr(e,0),e.serverProps=null,t!==null&&(t=xd(t),e.serverTail.push(t)))}function Hr(e){var t=1<arguments.length&&arguments[1]!==void 0&&arguments[1],n=``,r=r_;throw r!==null&&(r_=null,n=Vt(r)),Jr(jr(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:
|
|
78
|
+
|
|
79
|
+
- A server/client branch \`if (typeof window !== 'undefined')\`.
|
|
80
|
+
- Variable input such as \`Date.now()\` or \`Math.random()\` which changes each time it's called.
|
|
81
|
+
- Date formatting in a user's locale which doesn't match the server.
|
|
82
|
+
- External changing data without sending a snapshot of it along with the HTML.
|
|
83
|
+
- Invalid HTML tag nesting.
|
|
84
|
+
|
|
85
|
+
It can also happen if the client has a browser extension installed which messes with the HTML before React loaded.
|
|
86
|
+
|
|
87
|
+
https://react.dev/link/hydration-mismatch`+n),e)),o_}function Ur(e){var t=e.stateNode,n=e.type,r=e.memoizedProps;switch(t[Jp]=e,t[Yp]=r,bu(n,r),n){case`dialog`:F(`cancel`,t),F(`close`,t);break;case`iframe`:case`object`:case`embed`:F(`load`,t);break;case`video`:case`audio`:for(n=0;n<fS.length;n++)F(fS[n],t);break;case`source`:F(`error`,t);break;case`img`:case`image`:case`link`:F(`error`,t),F(`load`,t);break;case`details`:F(`toggle`,t);break;case`input`:at(`input`,r),F(`invalid`,t),_t(t,r),k(t,r.value,r.defaultValue,r.checked,r.defaultChecked,r.type,r.name,!0);break;case`option`:bt(t,r);break;case`select`:at(`select`,r),F(`invalid`,t),Ct(t,r);break;case`textarea`:at(`textarea`,r),F(`invalid`,t),wt(t,r),Et(t,r.value,r.defaultValue,r.children)}n=r.children,typeof n!=`string`&&typeof n!=`number`&&typeof n!=`bigint`||t.textContent===``+n||!0===r.suppressHydrationWarning||Eu(t.textContent,n)?(r.popover!=null&&(F(`beforetoggle`,t),F(`toggle`,t)),r.onScroll!=null&&F(`scroll`,t),r.onScrollEnd!=null&&F(`scrollend`,t),r.onClick!=null&&(t.onclick=sn),t=!0):t=!1,t||Hr(e,!0)}function Wr(e){for(e_=e.return;e_;)switch(e_.tag){case 5:case 31:case 13:a_=!1;return;case 27:case 3:a_=!0;return;default:e_=e_.return}}function Gr(e){if(e!==e_)return!1;if(!W)return Wr(e),W=!0,!1;var t=e.tag,n;if((n=t!==3&&t!==27)&&((n=t===5)&&(n=e.type,n=n===`form`||n===`button`||Gu(e.type,e.memoizedProps)),n=!n),n&&t_){for(n=t_;n;){var r=zr(e,0),i=xd(n);r.serverTail.push(i),n=i.type===`Suspense`?Cd(n):bd(n.nextSibling)}Hr(e)}if(Wr(e),t===13){if(e=e.memoizedState,e=e===null?null:e.dehydrated,!e)throw Error(`Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.`);t_=Cd(e)}else if(t===31){if(e=e.memoizedState,e=e===null?null:e.dehydrated,!e)throw Error(`Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.`);t_=Cd(e)}else t===27?(t=t_,nd(e.type)?(e=nC,nC=null,t_=e):t_=t):t_=e_?bd(e.stateNode.nextSibling):null;return!0}function Kr(){t_=e_=null,n_=W=!1}function qr(){var e=i_;return e!==null&&(mx===null?mx=e:mx.push.apply(mx,e),i_=null),e}function Jr(e){i_===null?i_=[e]:i_.push(e)}function Yr(){var e=r_;if(e!==null){r_=null;for(var t=Vt(e);0<e.children.length;)e=e.children[0];w(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:
|
|
88
|
+
|
|
89
|
+
- A server/client branch \`if (typeof window !== 'undefined')\`.
|
|
90
|
+
- Variable input such as \`Date.now()\` or \`Math.random()\` which changes each time it's called.
|
|
91
|
+
- Date formatting in a user's locale which doesn't match the server.
|
|
92
|
+
- External changing data without sending a snapshot of it along with the HTML.
|
|
93
|
+
- Invalid HTML tag nesting.
|
|
94
|
+
|
|
95
|
+
It can also happen if the client has a browser extension installed which messes with the HTML before React loaded.
|
|
96
|
+
|
|
97
|
+
%s%s`,`https://react.dev/link/hydration-mismatch`,t)})}}function Xr(){d_=u_=null,f_=!1}function Zr(e,t,n){C(s_,t._currentValue,e),t._currentValue=n,C(c_,t._currentRenderer,e),t._currentRenderer!==void 0&&t._currentRenderer!==null&&t._currentRenderer!==l_&&console.error(`Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported.`),t._currentRenderer=l_}function Qr(e,t){e._currentValue=s_.current;var n=c_.current;le(c_,t),e._currentRenderer=n,le(s_,t)}function $r(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)===t?r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t):(e.childLanes|=t,r!==null&&(r.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 ei(e,t,n,r){var i=e.child;for(i!==null&&(i.return=e);i!==null;){var a=i.dependencies;if(a!==null){var o=i.child;a=a.firstContext;a:for(;a!==null;){var s=a;a=i;for(var c=0;c<t.length;c++)if(s.context===t[c]){a.lanes|=n,s=a.alternate,s!==null&&(s.lanes|=n),$r(a.return,n,e),r||(o=null);break a}a=s.next}}else if(i.tag===18){if(o=i.return,o===null)throw Error(`We just came from a parent so we must have had a parent. This is a bug in React.`);o.lanes|=n,a=o.alternate,a!==null&&(a.lanes|=n),$r(o,n,e),o=null}else o=i.child;if(o!==null)o.return=i;else for(o=i;o!==null;){if(o===e){o=null;break}if(i=o.sibling,i!==null){i.return=o.return,o=i;break}o=o.return}i=o}}function ti(e,t,n,r){e=null;for(var i=t,a=!1;i!==null;){if(!a){if(i.flags&524288)a=!0;else if(i.flags&262144)break}if(i.tag===10){var o=i.alternate;if(o===null)throw Error(`Should have a current fiber. This is a bug in React.`);if(o=o.memoizedProps,o!==null){var s=i.type;Kh(i.pendingProps.value,o.value)||(e===null?e=[s]:e.push(s))}}else if(i===ip.current){if(o=i.alternate,o===null)throw Error(`Should have a current fiber. This is a bug in React.`);o.memoizedState.memoizedState!==i.memoizedState.memoizedState&&(e===null?e=[bC]:e.push(bC))}i=i.return}e!==null&&ei(t,e,n,r),t.flags|=262144}function ni(e){for(e=e.firstContext;e!==null;){if(!Kh(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function ri(e){u_=e,d_=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function ii(e){return f_&&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().`),oi(u_,e)}function ai(e,t){return u_===null&&ri(e),oi(e,t)}function oi(e,t){var n=t._currentValue;if(t={context:t,memoizedValue:n,next:null},d_===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().`);d_=t,e.dependencies={lanes:0,firstContext:t,_debugThenableState:null},e.flags|=524288}else d_=d_.next=t;return n}function si(){return{controller:new p_,data:new Map,refCount:0}}function ci(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 li(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&&m_(h_,function(){e.controller.abort()})}function ui(e,t,n){e&127?0>j_&&(j_=__(),M_=v_(t),P_=t,n!=null&&(F_=S(n)),(X&(Ib|Lb))!==Fb&&(k_=!0,N_=y_),e=Ju(),t=qu(),e!==R_||t!==L_?R_=-1.1:t!==null&&(N_=y_),I_=e,L_=t):e&4194048&&0>H_&&(H_=__(),W_=v_(t),G_=t,n!=null&&(K_=S(n)),0>V_)&&(e=Ju(),t=qu(),(e!==Y_||t!==J_)&&(Y_=-1.1),q_=e,J_=t)}function di(e){if(0>j_){j_=__(),M_=e._debugTask==null?null:e._debugTask,(X&(Ib|Lb))!==Fb&&(N_=y_);var t=Ju(),n=qu();t!==R_||n!==L_?R_=-1.1:n!==null&&(N_=y_),I_=t,L_=n}0>H_&&(H_=__(),W_=e._debugTask==null?null:e._debugTask,0>V_)&&(e=Ju(),t=qu(),(e!==Y_||t!==J_)&&(Y_=-1.1),q_=e,J_=t)}function fi(){var e=E_;return E_=0,e}function pi(e){var t=E_;return E_=e,t}function mi(e){var t=E_;return E_+=e,t}function hi(){K=G=-1.1}function gi(){var e=G;return G=-1.1,e}function _i(e){0<=e&&(G=e)}function vi(){var e=D_;return D_=-0,e}function yi(e){0<=e&&(D_=e)}function bi(){var e=O_;return O_=null,e}function xi(){var e=k_;return k_=!1,e}function Si(e){T_=__(),0>e.actualStartTime&&(e.actualStartTime=T_)}function Ci(e){if(0<=T_){var t=__()-T_;e.actualDuration+=t,e.selfBaseDuration=t,T_=-1}}function wi(e){if(0<=T_){var t=__()-T_;e.actualDuration+=t,T_=-1}}function Ti(){if(0<=T_){var e=__(),t=e-T_;T_=-1,E_+=t,D_+=t,K=e}}function Ei(e){O_===null&&(O_=[]),O_.push(e),w_===null&&(w_=[]),w_.push(e)}function Di(){T_=__(),0>G&&(G=T_)}function Oi(e){for(var t=e.child;t;)e.actualDuration+=t.actualDuration,t=t.sibling}function ki(e,t){if(av===null){var n=av=[];ov=0,sv=ou(),cv={status:`pending`,value:void 0,then:function(e){n.push(e)}}}return ov++,t.then(Ai,Ai),t}function Ai(){if(--ov===0&&(-1<H_||(V_=-1.1),av!==null)){cv!==null&&(cv.status=`fulfilled`);var e=av;av=null,sv=0,cv=null;for(var t=0;t<e.length;t++)(0,e[t])()}}function ji(e,t){var n=[],r={status:`pending`,value:null,reason:null,then:function(e){n.push(e)}};return e.then(function(){r.status=`fulfilled`,r.value=t;for(var e=0;e<n.length;e++)(0,n[e])(t)},function(e){for(r.status=`rejected`,r.reason=e,e=0;e<n.length;e++)(0,n[e])(void 0)}),r}function Mi(){var e=uv.current;return e===null?Gb.pooledCache:e}function Ni(e,t){t===null?C(uv,uv.current,e):C(uv,t.pool,e)}function Pi(){var e=Mi();return e===null?null:{parent:g_._currentValue,pool:e}}function Fi(){return{didWarnAboutUncachedPromise:!1,thenables:[]}}function Ii(e){return e=e.status,e===`fulfilled`||e===`rejected`}function Li(e,t,n){R.actQueue!==null&&(R.didUsePromise=!0);var r=e.thenables;if(n=r[n],n===void 0?r.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(sn,sn),t=n),t._debugInfo===void 0){e=performance.now(),r=t.displayName;var i={name:typeof r==`string`?r:`Promise`,start:e,end:e,value:t};t._debugInfo=[{awaited:i}],t.status!==`fulfilled`&&t.status!==`rejected`&&(e=function(){i.end=performance.now()},t.then(e,e))}switch(t.status){case`fulfilled`:return t.value;case`rejected`:throw e=t.reason,Bi(e),e;default:if(typeof t.status==`string`)t.then(sn,sn);else{if(e=Gb,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(e){if(t.status===`pending`){var n=t;n.status=`fulfilled`,n.value=e}},function(e){if(t.status===`pending`){var n=t;n.status=`rejected`,n.reason=e}})}switch(t.status){case`fulfilled`:return t.value;case`rejected`:throw e=t.reason,Bi(e),e}throw Uv=t,Wv=!0,zv}}function Ri(e){try{return Rv(e)}catch(e){throw typeof e==`object`&&e&&typeof e.then==`function`?(Uv=e,Wv=!0,zv):e}}function zi(){if(Uv===null)throw Error(`Expected a suspended thenable. This is a bug in React. Please file an issue.`);var e=Uv;return Uv=null,Wv=!1,e}function Bi(e){if(e===zv||e===Vv)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 Vi(e){var t=q;return e!=null&&(q=t===null?e:t.concat(e)),t}function Hi(){var e=q;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 Ui(e,t,n){for(var r=Object.keys(e.props),i=0;i<r.length;i++){var a=r[i];if(a!==`children`&&a!==`key`){t===null&&(t=Er(e,n.mode,0),t._debugInfo=q,t.return=n),w(t,function(e){console.error("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",e)},a);break}}}function Wi(e){var t=Kv;return Kv+=1,Gv===null&&(Gv=Fi()),Li(Gv,e,t)}function Gi(e,t){t=t.props.ref,e.ref=t===void 0?null:t}function Ki(e,t){throw t.$$typeof===Nf?Error(`A React Element from an older version of React was rendered. This is not supported. It can happen if:
|
|
98
|
+
- Multiple copies of the "react" package is used.
|
|
99
|
+
- A library pre-bundled an old copy of "react" or "react/jsx-runtime".
|
|
100
|
+
- 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 qi(e,t){var n=Hi();n===null?Ki(e,t):n.run(Ki.bind(null,e,t))}function Ji(e,t){var n=S(e)||`Component`;Xv[n]||(Xv[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.
|
|
101
|
+
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.
|
|
102
|
+
<%s>{%s}</%s>`,t,t,n,t,n))}function Yi(e,t){var n=Hi();n===null?Ji(e,t):n.run(Ji.bind(null,e,t))}function Xi(e,t){var n=S(e)||`Component`;Zv[n]||(Zv[n]=!0,t=String(t),e.tag===3?console.error(`Symbols are not valid as a React child.
|
|
103
|
+
root.render(%s)`,t):console.error(`Symbols are not valid as a React child.
|
|
104
|
+
<%s>%s</%s>`,n,t,n))}function Zi(e,t){var n=Hi();n===null?Xi(e,t):n.run(Xi.bind(null,e,t))}function Qi(e){function t(t,n){if(e){var r=t.deletions;r===null?(t.deletions=[n],t.flags|=16):r.push(n)}}function n(n,r){if(!e)return null;for(;r!==null;)t(n,r),r=r.sibling;return null}function r(e){for(var t=new Map;e!==null;)e.key===null?t.set(e.index,e):t.set(e.key,e),e=e.sibling;return t}function i(e,t){return e=Cr(e,t),e.index=0,e.sibling=null,e}function a(t,n,r){return t.index=r,e?(r=t.alternate,r===null?(t.flags|=67108866,n):(r=r.index,r<n?(t.flags|=67108866,n):r)):(t.flags|=1048576,n)}function o(t){return e&&t.alternate===null&&(t.flags|=67108866),t}function s(e,t,n,r){return t===null||t.tag!==6?(t=Or(n,e.mode,r),t.return=e,t._debugOwner=e,t._debugTask=e._debugTask,t._debugInfo=q,t):(t=i(t,n),t.return=e,t._debugInfo=q,t)}function c(e,t,n,r){var a=n.type;return a===If?(t=u(e,t,n.props.children,r,n.key),Ui(n,t,e),t):t!==null&&(t.elementType===a||vr(t,n)||typeof a==`object`&&a&&a.$$typeof===Gf&&Ri(a)===t.type)?(t=i(t,n.props),Gi(t,n),t.return=e,t._debugOwner=n._owner,t._debugInfo=q,t):(t=Er(n,e.mode,r),Gi(t,n),t.return=e,t._debugInfo=q,t)}function l(e,t,n,r){return t===null||t.tag!==4||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?(t=Ar(n,e.mode,r),t.return=e,t._debugInfo=q,t):(t=i(t,n.children||[]),t.return=e,t._debugInfo=q,t)}function u(e,t,n,r,a){return t===null||t.tag!==7?(t=Dr(n,e.mode,r,a),t.return=e,t._debugOwner=e,t._debugTask=e._debugTask,t._debugInfo=q,t):(t=i(t,n),t.return=e,t._debugInfo=q,t)}function d(e,t,n){if(typeof t==`string`&&t!==``||typeof t==`number`||typeof t==`bigint`)return t=Or(``+t,e.mode,n),t.return=e,t._debugOwner=e,t._debugTask=e._debugTask,t._debugInfo=q,t;if(typeof t==`object`&&t){switch(t.$$typeof){case Pf:return n=Er(t,e.mode,n),Gi(n,t),n.return=e,e=Vi(t._debugInfo),n._debugInfo=q,q=e,n;case Ff:return t=Ar(t,e.mode,n),t.return=e,t._debugInfo=q,t;case Gf:var r=Vi(t._debugInfo);return t=Ri(t),e=d(e,t,n),q=r,e}if(Xf(t)||oe(t))return n=Dr(t,e.mode,n,null),n.return=e,n._debugOwner=e,n._debugTask=e._debugTask,e=Vi(t._debugInfo),n._debugInfo=q,q=e,n;if(typeof t.then==`function`)return r=Vi(t._debugInfo),e=d(e,Wi(t),n),q=r,e;if(t.$$typeof===Bf)return d(e,ai(e,t),n);qi(e,t)}return typeof t==`function`&&Yi(e,t),typeof t==`symbol`&&Zi(e,t),null}function f(e,t,n,r){var i=t===null?null:t.key;if(typeof n==`string`&&n!==``||typeof n==`number`||typeof n==`bigint`)return i===null?s(e,t,``+n,r):null;if(typeof n==`object`&&n){switch(n.$$typeof){case Pf:return n.key===i?(i=Vi(n._debugInfo),e=c(e,t,n,r),q=i,e):null;case Ff:return n.key===i?l(e,t,n,r):null;case Gf:return i=Vi(n._debugInfo),n=Ri(n),e=f(e,t,n,r),q=i,e}if(Xf(n)||oe(n))return i===null?(i=Vi(n._debugInfo),e=u(e,t,n,r,null),q=i,e):null;if(typeof n.then==`function`)return i=Vi(n._debugInfo),e=f(e,t,Wi(n),r),q=i,e;if(n.$$typeof===Bf)return f(e,t,ai(e,n),r);qi(e,n)}return typeof n==`function`&&Yi(e,n),typeof n==`symbol`&&Zi(e,n),null}function p(e,t,n,r,i){if(typeof r==`string`&&r!==``||typeof r==`number`||typeof r==`bigint`)return e=e.get(n)||null,s(t,e,``+r,i);if(typeof r==`object`&&r){switch(r.$$typeof){case Pf:return n=e.get(r.key===null?n:r.key)||null,e=Vi(r._debugInfo),t=c(t,n,r,i),q=e,t;case Ff:return e=e.get(r.key===null?n:r.key)||null,l(t,e,r,i);case Gf:var a=Vi(r._debugInfo);return r=Ri(r),t=p(e,t,n,r,i),q=a,t}if(Xf(r)||oe(r))return n=e.get(n)||null,e=Vi(r._debugInfo),t=u(t,n,r,i,null),q=e,t;if(typeof r.then==`function`)return a=Vi(r._debugInfo),t=p(e,t,n,Wi(r),i),q=a,t;if(r.$$typeof===Bf)return p(e,t,n,ai(t,r),i);qi(t,r)}return typeof r==`function`&&Yi(t,r),typeof r==`symbol`&&Zi(t,r),null}function h(e,t,n,r){if(typeof n!=`object`||!n)return r;switch(n.$$typeof){case Pf:case Ff:m(e,t,n);var i=n.key;if(typeof i!=`string`)break;if(r===null){r=new Set,r.add(i);break}if(!r.has(i)){r.add(i);break}w(t,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.",i)});break;case Gf:n=Ri(n),h(e,t,n,r)}return r}function _(i,o,s,c){for(var l=null,u=null,m=null,g=o,_=o=0,v=null;g!==null&&_<s.length;_++){g.index>_?(v=g,g=null):v=g.sibling;var y=f(i,g,s[_],c);if(y===null){g===null&&(g=v);break}l=h(i,y,s[_],l),e&&g&&y.alternate===null&&t(i,g),o=a(y,o,_),m===null?u=y:m.sibling=y,m=y,g=v}if(_===s.length)return n(i,g),W&&Mr(i,_),u;if(g===null){for(;_<s.length;_++)g=d(i,s[_],c),g!==null&&(l=h(i,g,s[_],l),o=a(g,o,_),m===null?u=g:m.sibling=g,m=g);return W&&Mr(i,_),u}for(g=r(g);_<s.length;_++)v=p(g,i,_,s[_],c),v!==null&&(l=h(i,v,s[_],l),e&&v.alternate!==null&&g.delete(v.key===null?_:v.key),o=a(v,o,_),m===null?u=v:m.sibling=v,m=v);return e&&g.forEach(function(e){return t(i,e)}),W&&Mr(i,_),u}function v(i,o,s,c){if(s==null)throw Error(`An iterable object provided no iterator.`);for(var l=null,u=null,m=o,g=o=0,_=null,v=null,y=s.next();m!==null&&!y.done;g++,y=s.next()){m.index>g?(_=m,m=null):_=m.sibling;var b=f(i,m,y.value,c);if(b===null){m===null&&(m=_);break}v=h(i,b,y.value,v),e&&m&&b.alternate===null&&t(i,m),o=a(b,o,g),u===null?l=b:u.sibling=b,u=b,m=_}if(y.done)return n(i,m),W&&Mr(i,g),l;if(m===null){for(;!y.done;g++,y=s.next())m=d(i,y.value,c),m!==null&&(v=h(i,m,y.value,v),o=a(m,o,g),u===null?l=m:u.sibling=m,u=m);return W&&Mr(i,g),l}for(m=r(m);!y.done;g++,y=s.next())_=p(m,i,g,y.value,c),_!==null&&(v=h(i,_,y.value,v),e&&_.alternate!==null&&m.delete(_.key===null?g:_.key),o=a(_,o,g),u===null?l=_:u.sibling=_,u=_);return e&&m.forEach(function(e){return t(i,e)}),W&&Mr(i,g),l}function y(e,r,a,s){if(typeof a==`object`&&a&&a.type===If&&a.key===null&&(Ui(a,null,e),a=a.props.children),typeof a==`object`&&a){switch(a.$$typeof){case Pf:var c=Vi(a._debugInfo);a:{for(var l=a.key;r!==null;){if(r.key===l){if(l=a.type,l===If){if(r.tag===7){n(e,r.sibling),s=i(r,a.props.children),s.return=e,s._debugOwner=a._owner,s._debugInfo=q,Ui(a,s,e),e=s;break a}}else if(r.elementType===l||vr(r,a)||typeof l==`object`&&l&&l.$$typeof===Gf&&Ri(l)===r.type){n(e,r.sibling),s=i(r,a.props),Gi(s,a),s.return=e,s._debugOwner=a._owner,s._debugInfo=q,e=s;break a}n(e,r);break}t(e,r),r=r.sibling}a.type===If?(s=Dr(a.props.children,e.mode,s,a.key),s.return=e,s._debugOwner=e,s._debugTask=e._debugTask,s._debugInfo=q,Ui(a,s,e),e=s):(s=Er(a,e.mode,s),Gi(s,a),s.return=e,s._debugInfo=q,e=s)}return e=o(e),q=c,e;case Ff:a:{for(c=a,a=c.key;r!==null;){if(r.key===a){if(r.tag===4&&r.stateNode.containerInfo===c.containerInfo&&r.stateNode.implementation===c.implementation){n(e,r.sibling),s=i(r,c.children||[]),s.return=e,e=s;break a}n(e,r);break}t(e,r),r=r.sibling}s=Ar(c,e.mode,s),s.return=e,e=s}return o(e);case Gf:return c=Vi(a._debugInfo),a=Ri(a),e=y(e,r,a,s),q=c,e}if(Xf(a))return c=Vi(a._debugInfo),e=_(e,r,a,s),q=c,e;if(oe(a)){if(c=Vi(a._debugInfo),l=oe(a),typeof l!=`function`)throw Error(`An object is not an iterable. This error is likely caused by a bug in React. Please file an issue.`);var u=l.call(a);return u===a?(e.tag!==0||Object.prototype.toString.call(e.type)!==`[object GeneratorFunction]`||Object.prototype.toString.call(u)!==`[object Generator]`)&&(Jv||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."),Jv=!0):a.entries!==l||qv||(console.error(`Using Maps as children is not supported. Use an array of keyed ReactElements instead.`),qv=!0),e=v(e,r,u,s),q=c,e}if(typeof a.then==`function`)return c=Vi(a._debugInfo),e=y(e,r,Wi(a),s),q=c,e;if(a.$$typeof===Bf)return y(e,r,ai(e,a),s);qi(e,a)}return typeof a==`string`&&a!==``||typeof a==`number`||typeof a==`bigint`?(c=``+a,r!==null&&r.tag===6?(n(e,r.sibling),s=i(r,c),s.return=e,e=s):(n(e,r),s=Or(c,e.mode,s),s.return=e,s._debugOwner=e,s._debugTask=e._debugTask,s._debugInfo=q,e=s),o(e)):(typeof a==`function`&&Yi(e,a),typeof a==`symbol`&&Zi(e,a),n(e,r))}return function(e,t,n,r){var i=q;q=null;try{Kv=0;var a=y(e,t,n,r);return Gv=null,a}catch(t){if(t===zv||t===Vv)throw t;var o=g(29,t,null,e.mode);o.lanes=r,o.return=e;var s=o._debugInfo=q;if(o._debugOwner=e._debugOwner,o._debugTask=e._debugTask,s!=null){for(var c=s.length-1;0<=c;c--)if(typeof s[c].stack==`string`){o._debugOwner=s[c],o._debugTask=s[c].debugTask;break}}return o}finally{q=i}}}function $i(e,t){var n=Xf(e);return e=!n&&typeof oe(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 ea(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function ta(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 na(e){return{lane:e,tag:ey,payload:null,callback:null,next:null}}function ra(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,oy===r&&!ay){var i=S(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.
|
|
105
|
+
|
|
106
|
+
Please update the following component: %s`,i),ay=!0}return(X&Ib)===Fb?(dr(e,r,t,n),hr(e)):(i=r.pending,i===null?t.next=t:(t.next=i.next,i.next=t),r.pending=t,t=hr(e),mr(e,null,n),t)}function ia(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,n&4194048)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Ue(e,n)}}function aa(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var i=null,a=null;if(n=n.firstBaseUpdate,n!==null){do{var o={lane:n.lane,tag:n.tag,payload:n.payload,callback:null,next:null};a===null?i=a=o:a=a.next=o,n=n.next}while(n!==null);a===null?i=a=t:a=a.next=t}else i=a=t;n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:a,shared:r.shared,callbacks:r.callbacks},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function oa(){if(sy){var e=cv;if(e!==null)throw e}}function sa(e,t,n,r){sy=!1;var i=e.updateQueue;iy=!1,oy=i.shared;var a=i.firstBaseUpdate,o=i.lastBaseUpdate,s=i.shared.pending;if(s!==null){i.shared.pending=null;var c=s,l=c.next;c.next=null,o===null?a=l:o.next=l,o=c;var u=e.alternate;u!==null&&(u=u.updateQueue,s=u.lastBaseUpdate,s!==o&&(s===null?u.firstBaseUpdate=l:s.next=l,u.lastBaseUpdate=c))}if(a!==null){var d=i.baseState;o=0,u=l=c=null,s=a;do{var f=s.lane&-536870913,p=f!==s.lane;if(p?(Q&f)===f:(r&f)===f){f!==0&&f===sv&&(sy=!0),u!==null&&(u=u.next={lane:0,tag:s.tag,payload:s.payload,callback:null,next:null});a:{f=e;var m=s,h=t,g=n;switch(m.tag){case ty:if(m=m.payload,typeof m==`function`){f_=!0;var _=m.call(g,d,h);if(f.mode&Bg){E(!0);try{m.call(g,d,h)}finally{E(!1)}}f_=!1,d=_;break a}d=m;break a;case ry:f.flags=f.flags&-65537|128;case ey:if(_=m.payload,typeof _==`function`){if(f_=!0,m=_.call(g,d,h),f.mode&Bg){E(!0);try{_.call(g,d,h)}finally{E(!1)}}f_=!1}else m=_;if(m==null)break a;d=L({},d,m);break a;case ny:iy=!0}}f=s.callback,f!==null&&(e.flags|=64,p&&(e.flags|=8192),p=i.callbacks,p===null?i.callbacks=[f]:p.push(f))}else p={lane:f,tag:s.tag,payload:s.payload,callback:s.callback,next:null},u===null?(l=u=p,c=d):u=u.next=p,o|=f;if(s=s.next,s===null){if(s=i.shared.pending,s===null)break;p=s,s=p.next,p.next=null,i.lastBaseUpdate=p,i.shared.pending=null}}while(1);u===null&&(c=d),i.baseState=c,i.firstBaseUpdate=l,i.lastBaseUpdate=u,a===null&&(i.shared.lanes=0),cx|=o,e.lanes=o,e.memoizedState=d}oy=null}function ca(e,t){if(typeof e!=`function`)throw Error(`Invalid argument passed as callback. Expected a function. Instead received: `+e);e.call(t)}function la(e,t){var n=e.shared.hiddenCallbacks;if(n!==null)for(e.shared.hiddenCallbacks=null,e=0;e<n.length;e++)ca(n[e],t)}function ua(e,t){var n=e.callbacks;if(n!==null)for(e.callbacks=null,e=0;e<n.length;e++)ca(n[e],t)}function da(e,t){var n=ox;C(ly,n,e),C(cy,t,e),ox=n|t.baseLanes}function fa(e){C(ly,ox,e),C(cy,cy.current,e)}function pa(e){ox=ly.current,le(cy,e),le(ly,e)}function ma(e){var t=e.alternate;C(my,my.current&fy,e),C(uy,e,e),dy===null&&(t===null||cy.current!==null||t.memoizedState!==null)&&(dy=e)}function ha(e){C(my,my.current,e),C(uy,e,e),dy===null&&(dy=e)}function ga(e){e.tag===22?(C(my,my.current,e),C(uy,e,e),dy===null&&(dy=e)):_a(e)}function _a(e){C(my,my.current,e),C(uy,uy.current,e)}function va(e){le(uy,e),dy===e&&(dy=null),le(my,e)}function ya(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||_d(n)||vd(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)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 j(){var e=Y;Iy===null?Iy=[e]:Iy.push(e)}function M(){var e=Y;if(Iy!==null&&(Ly++,Iy[Ly]!==e)){var t=S(J);if(!xy.has(t)&&(xy.add(t),Iy!==null)){for(var n=``,r=0;r<=Ly;r++){var i=Iy[r],a=r===Ly?e:i;for(i=r+1+`. `+i;30>i.length;)i+=` `;i+=a+`
|
|
107
|
+
`,n+=i}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
|
|
108
|
+
|
|
109
|
+
Previous render Next render
|
|
110
|
+
------------------------------------------------------
|
|
111
|
+
%s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
112
|
+
`,t,n)}}}function ba(e){e==null||Xf(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.",Y,typeof e)}function xa(){var e=S(J);wy.has(e)||(wy.add(e),console.error(`ReactDOM.useFormState has been renamed to React.useActionState. Please update %s to use React.useActionState.`,e))}function Sa(){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:
|
|
113
|
+
1. You might have mismatching versions of React and the renderer (such as React DOM)
|
|
114
|
+
2. You might be breaking the Rules of Hooks
|
|
115
|
+
3. You might have more than one copy of React in the same app
|
|
116
|
+
See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`)}function Ca(e,t){if(Ry)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.`,Y),!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.
|
|
117
|
+
|
|
118
|
+
Previous: %s
|
|
119
|
+
Incoming: %s`,Y,`[`+t.join(`, `)+`]`,`[`+e.join(`, `)+`]`);for(var n=0;n<t.length&&n<e.length;n++)if(!Kh(e[n],t[n]))return!1;return!0}function wa(e,t,n,r,i,a){Ty=a,J=t,Iy=e===null?null:e._debugHookTypes,Ly=-1,Ry=e!==null&&e.type!==t.type,(Object.prototype.toString.call(n)===`[object AsyncFunction]`||Object.prototype.toString.call(n)===`[object AsyncGeneratorFunction]`)&&(a=S(J),Cy.has(a)||(Cy.add(a),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.",a===null?`An unknown Component`:`<`+a+`>`))),t.memoizedState=null,t.updateQueue=null,t.lanes=0,R.H=e!==null&&e.memoizedState!==null?Hy:Iy===null?By:Vy,Ay=a=(t.mode&Bg)!==H;var o=Sv(n,r,i);if(Ay=!1,ky&&(o=Ea(t,n,r,i)),a){E(!0);try{o=Ea(t,n,r,i)}finally{E(!1)}}return Ta(e,t),o}function Ta(e,t){t._debugHookTypes=Iy,t.dependencies===null?Ny!==null&&(t.dependencies={lanes:0,firstContext:null,_debugThenableState:Ny}):t.dependencies._debugThenableState=Ny,R.H=zy;var n=Ey!==null&&Ey.next!==null;if(Ty=0,Iy=Y=Dy=Ey=J=null,Ly=-1,e!==null&&(e.flags&65011712)!=(t.flags&65011712)&&console.error(`Internal React error: Expected static flag was missing. Please notify the React team.`),Oy=!1,My=0,Ny=null,n)throw Error(`Rendered fewer hooks than expected. This may be caused by an accidental early return statement.`);e===null||cb||(e=e.dependencies,e!==null&&ni(e)&&(cb=!0)),Wv?(Wv=!1,e=!0):e=!1,e&&(t=S(t)||`Unknown`,Sy.has(t)||Cy.has(t)||(Sy.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 Ea(e,t,n,r){J=e;var i=0;do{if(ky&&(Ny=null),My=0,ky=!1,i>=Fy)throw Error(`Too many re-renders. React limits the number of renders to prevent an infinite loop.`);if(i+=1,Ry=!1,Dy=Ey=null,e.updateQueue!=null){var a=e.updateQueue;a.lastEffect=null,a.events=null,a.stores=null,a.memoCache!=null&&(a.memoCache.index=0)}Ly=-1,R.H=Uy,a=Sv(t,n,r)}while(ky);return a}function Da(){var e=R.H,t=e.useState()[0];return t=typeof t.then==`function`?Na(t):t,e=e.useState()[0],(Ey===null?null:Ey.memoizedState)!==e&&(J.flags|=1024),t}function Oa(){var e=jy!==0;return jy=0,e}function ka(e,t,n){t.updateQueue=e.updateQueue,t.flags=(t.mode&Vg)===H?t.flags&-2053:t.flags&-402655237,e.lanes&=~n}function Aa(e){if(Oy){for(e=e.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}Oy=!1}Ty=0,Iy=Dy=Ey=J=null,Ly=-1,Y=null,ky=!1,My=jy=0,Ny=null}function ja(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Dy===null?J.memoizedState=Dy=e:Dy=Dy.next=e,Dy}function N(){if(Ey===null){var e=J.alternate;e=e===null?null:e.memoizedState}else e=Ey.next;var t=Dy===null?J.memoizedState:Dy.next;if(t!==null)Dy=t,Ey=e;else{if(e===null)throw J.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.`);Ey=e,e={memoizedState:Ey.memoizedState,baseState:Ey.baseState,baseQueue:Ey.baseQueue,queue:Ey.queue,next:null},Dy===null?J.memoizedState=Dy=e:Dy=Dy.next=e}return Dy}function Ma(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Na(e){var t=My;return My+=1,Ny===null&&(Ny=Fi()),e=Li(Ny,e,t),t=J,(Dy===null?t.memoizedState:Dy.next)===null&&(t=t.alternate,R.H=t!==null&&t.memoizedState!==null?Hy:By),e}function Pa(e){if(typeof e==`object`&&e){if(typeof e.then==`function`)return Na(e);if(e.$$typeof===Bf)return ii(e)}throw Error(`An unsupported type was passed to use(): `+String(e))}function Fa(e){var t=null,n=J.updateQueue;if(n!==null&&(t=n.memoCache),t==null){var r=J.alternate;r!==null&&(r=r.updateQueue,r!==null&&(r=r.memoCache,r!=null&&(t={data:r.data.map(function(e){return e.slice()}),index:0})))}if(t??={data:[],index:0},n===null&&(n=Ma(),J.updateQueue=n),n.memoCache=t,n=t.data[t.index],n===void 0||Ry)for(n=t.data[t.index]=Array(e),r=0;r<e;r++)n[r]=qf;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 Ia(e,t){return typeof t==`function`?t(e):t}function La(e,t,n){var r=ja();if(n!==void 0){var i=n(t);if(Ay){E(!0);try{n(t)}finally{E(!1)}}}else i=t;return r.memoizedState=r.baseState=i,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:i},r.queue=e,e=e.dispatch=Ko.bind(null,J,e),[r.memoizedState,e]}function Ra(e){return za(N(),Ey,e)}function za(e,t,n){var r=e.queue;if(r===null)throw Error(`Should have a queue. You are likely calling Hooks conditionally, which is not allowed. (https://react.dev/link/invalid-hook-call)`);r.lastRenderedReducer=n;var i=e.baseQueue,a=r.pending;if(a!==null){if(i!==null){var o=i.next;i.next=a.next,a.next=o}t.baseQueue!==i&&console.error(`Internal error: Expected work-in-progress queue to be a clone. This is a bug in React.`),t.baseQueue=i=a,r.pending=null}if(a=e.baseState,i===null)e.memoizedState=a;else{t=i.next;var s=o=null,c=null,l=t,u=!1;do{var d=l.lane&-536870913;if(d===l.lane?(Ty&d)===d:(Q&d)===d){var f=l.revertLane;if(f===0)c!==null&&(c=c.next={lane:0,revertLane:0,gesture:null,action:l.action,hasEagerState:l.hasEagerState,eagerState:l.eagerState,next:null}),d===sv&&(u=!0);else if((Ty&f)===f){l=l.next,f===sv&&(u=!0);continue}else d={lane:0,revertLane:l.revertLane,gesture:null,action:l.action,hasEagerState:l.hasEagerState,eagerState:l.eagerState,next:null},c===null?(s=c=d,o=a):c=c.next=d,J.lanes|=f,cx|=f;d=l.action,Ay&&n(a,d),a=l.hasEagerState?l.eagerState:n(a,d)}else f={lane:d,revertLane:l.revertLane,gesture:l.gesture,action:l.action,hasEagerState:l.hasEagerState,eagerState:l.eagerState,next:null},c===null?(s=c=f,o=a):c=c.next=f,J.lanes|=d,cx|=d;l=l.next}while(l!==null&&l!==t);if(c===null?o=a:c.next=s,!Kh(a,e.memoizedState)&&(cb=!0,u&&(n=cv,n!==null)))throw n;e.memoizedState=a,e.baseState=o,e.baseQueue=c,r.lastRenderedState=a}return i===null&&(r.lanes=0),[e.memoizedState,r.dispatch]}function Ba(e){var t=N(),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 r=n.dispatch,i=n.pending,a=t.memoizedState;if(i!==null){n.pending=null;var o=i=i.next;do a=e(a,o.action),o=o.next;while(o!==i);Kh(a,t.memoizedState)||(cb=!0),t.memoizedState=a,t.baseQueue===null&&(t.baseState=a),n.lastRenderedState=a}return[a,r]}function Va(e,t,n){var r=J,i=ja();if(W){if(n===void 0)throw Error(`Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.`);var a=n();by||a===n()||(console.error(`The result of getServerSnapshot should be cached to avoid an infinite loop`),by=!0)}else{if(a=t(),by||(n=t(),Kh(a,n)||(console.error(`The result of getSnapshot should be cached to avoid an infinite loop`),by=!0)),Gb===null)throw Error(`Expected a work-in-progress root. This is a bug in React. Please file an issue.`);Q&127||Ua(r,t,a)}return i.memoizedState=a,n={value:a,getSnapshot:t},i.queue=n,_o(Ga.bind(null,r,n,e),[e]),r.flags|=2048,po(gy|yy,{destroy:void 0},Wa.bind(null,r,n,a,t),null),a}function Ha(e,t,n){var r=J,i=N(),a=W;if(a){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(),!by){var o=t();Kh(n,o)||(console.error(`The result of getSnapshot should be cached to avoid an infinite loop`),by=!0)}if((o=!Kh((Ey||i).memoizedState,n))&&(i.memoizedState=n,cb=!0),i=i.queue,go(2048,yy,Ga.bind(null,r,i,e),[e]),i.getSnapshot!==t||o||Dy!==null&&Dy.memoizedState.tag&gy){if(r.flags|=2048,po(gy|yy,{destroy:void 0},Wa.bind(null,r,i,n,t),null),Gb===null)throw Error(`Expected a work-in-progress root. This is a bug in React. Please file an issue.`);a||Ty&127||Ua(r,t,n)}return n}function Ua(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=J.updateQueue,t===null?(t=Ma(),J.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function Wa(e,t,n,r){t.value=n,t.getSnapshot=r,Ka(t)&&qa(e)}function Ga(e,t,n){return n(function(){Ka(t)&&(ui(2,`updateSyncExternalStore()`,e),qa(e))})}function Ka(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!Kh(e,n)}catch{return!0}}function qa(e){var t=pr(e,2);t!==null&&al(t,e,2)}function Ja(e){var t=ja();if(typeof e==`function`){var n=e;if(e=n(),Ay){E(!0);try{n()}finally{E(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ia,lastRenderedState:e},t}function Ya(e){e=Ja(e);var t=e.queue,n=qo.bind(null,J,t);return t.dispatch=n,[e.memoizedState,n]}function Xa(e){var t=ja();t.memoizedState=t.baseState=e;var n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=n,t=Yo.bind(null,J,!0,n),n.dispatch=t,[e,t]}function Za(e,t){return Qa(N(),Ey,e,t)}function Qa(e,t,n,r){return e.baseState=n,za(e,Ey,typeof r==`function`?r:Ia)}function $a(e,t){var n=N();return Ey===null?(n.baseState=e,[e,n.queue.dispatch]):Qa(n,Ey,e,t)}function eo(e,t,n,r,i){if(Xo(e))throw Error(`Cannot update form state while rendering.`);if(e=t.action,e!==null){var a={payload:i,action:e,next:null,isTransition:!0,status:`pending`,value:null,reason:null,listeners:[],then:function(e){a.listeners.push(e)}};R.T===null?a.isTransition=!1:n(!0),r(a),n=t.pending,n===null?(a.next=t.pending=a,to(t,a)):(a.next=n.next,t.pending=n.next=a)}}function to(e,t){var n=t.action,r=t.payload,i=e.state;if(t.isTransition){var a=R.T,o={};o._updatedFibers=new Set,R.T=o;try{var s=n(i,r),c=R.S;c!==null&&c(o,s),no(e,t,s)}catch(n){io(e,t,n)}finally{a!==null&&o.types!==null&&(a.types!==null&&a.types!==o.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.`),a.types=o.types),R.T=a,a===null&&o._updatedFibers&&(e=o._updatedFibers.size,o._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{o=n(i,r),no(e,t,o)}catch(n){io(e,t,n)}}function no(e,t,n){typeof n==`object`&&n&&typeof n.then==`function`?(R.asyncTransitions++,n.then(Po,Po),n.then(function(n){ro(e,t,n)},function(n){return io(e,t,n)}),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.")):ro(e,t,n)}function ro(e,t,n){t.status=`fulfilled`,t.value=n,ao(t),e.state=n,t=e.pending,t!==null&&(n=t.next,n===t?e.pending=null:(n=n.next,t.next=n,to(e,n)))}function io(e,t,n){var r=e.pending;if(e.pending=null,r!==null){r=r.next;do t.status=`rejected`,t.reason=n,ao(t),t=t.next;while(t!==r)}e.action=null}function ao(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function oo(e,t){return t}function so(e,t){if(W){var n=Gb.formState;if(n!==null){a:{var r=J;if(W){if(t_){b:{for(var i=t_,a=a_;i.nodeType!==8;){if(!a){i=null;break b}if(i=bd(i.nextSibling),i===null){i=null;break b}}a=i.data,i=a===zS||a===BS?i:null}if(i){t_=bd(i.nextSibling),r=i.data===zS;break a}}Hr(r)}r=!1}r&&(t=n[0])}}return n=ja(),n.memoizedState=n.baseState=t,r={pending:null,lanes:0,dispatch:null,lastRenderedReducer:oo,lastRenderedState:t},n.queue=r,n=qo.bind(null,J,r),r.dispatch=n,r=Ja(!1),a=Yo.bind(null,J,!1,r.queue),r=ja(),i={state:t,dispatch:null,action:e,pending:null},r.queue=i,n=eo.bind(null,J,i,a,n),i.dispatch=n,r.memoizedState=e,[t,n,!1]}function co(e){return lo(N(),Ey,e)}function lo(e,t,n){if(t=za(e,t,oo)[0],e=Ra(Ia)[0],typeof t==`object`&&t&&typeof t.then==`function`)try{var r=Na(t)}catch(e){throw e===zv?Vv:e}else r=t;t=N();var i=t.queue,a=i.dispatch;return n!==t.memoizedState&&(J.flags|=2048,po(gy|yy,{destroy:void 0},uo.bind(null,i,n),null)),[r,a,e]}function uo(e,t){e.action=t}function fo(e){var t=N(),n=Ey;if(n!==null)return lo(t,n,e);N(),t=t.memoizedState,n=N();var r=n.queue.dispatch;return n.memoizedState=e,[t,r,!1]}function po(e,t,n,r){return e={tag:e,create:n,deps:r,inst:t,next:null},t=J.updateQueue,t===null&&(t=Ma(),J.updateQueue=t),n=t.lastEffect,n===null?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function mo(e){var t=ja();return e={current:e},t.memoizedState=e}function ho(e,t,n,r){var i=ja();J.flags|=e,i.memoizedState=po(gy|t,{destroy:void 0},n,r===void 0?null:r)}function go(e,t,n,r){var i=N();r=r===void 0?null:r;var a=i.memoizedState.inst;Ey!==null&&r!==null&&Ca(r,Ey.memoizedState.deps)?i.memoizedState=po(t,a,n,r):(J.flags|=e,i.memoizedState=po(gy|t,a,n,r))}function _o(e,t){(J.mode&Vg)===H?ho(8390656,yy,e,t):ho(276826112,yy,e,t)}function vo(e){J.flags|=4;var t=J.updateQueue;if(t===null)t=Ma(),J.updateQueue=t,t.events=[e];else{var n=t.events;n===null?t.events=[e]:n.push(e)}}function yo(e){var t=ja(),n={impl:e};return t.memoizedState=n,function(){if((X&Ib)!==Fb)throw Error(`A function wrapped in useEffectEvent can't be called during rendering.`);return n.impl.apply(void 0,arguments)}}function bo(e){var t=N().memoizedState;return vo({ref:t,nextImpl:e}),function(){if((X&Ib)!==Fb)throw Error(`A function wrapped in useEffectEvent can't be called during rendering.`);return t.impl.apply(void 0,arguments)}}function xo(e,t){var n=4194308;return(J.mode&Vg)!==H&&(n|=134217728),ho(n,vy,e,t)}function So(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 Co(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?`null`:typeof t),n=n==null?null:n.concat([e]);var r=4194308;(J.mode&Vg)!==H&&(r|=134217728),ho(r,vy,So.bind(null,t,e),n)}function wo(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?`null`:typeof t),n=n==null?null:n.concat([e]),go(4,vy,So.bind(null,t,e),n)}function To(e,t){return ja().memoizedState=[e,t===void 0?null:t],e}function Eo(e,t){var n=N();t=t===void 0?null:t;var r=n.memoizedState;return t!==null&&Ca(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Do(e,t){var n=ja();t=t===void 0?null:t;var r=e();if(Ay){E(!0);try{e()}finally{E(!1)}}return n.memoizedState=[r,t],r}function Oo(e,t){var n=N();t=t===void 0?null:t;var r=n.memoizedState;if(t!==null&&Ca(t,r[1]))return r[0];if(r=e(),Ay){E(!0);try{e()}finally{E(!1)}}return n.memoizedState=[r,t],r}function ko(e,t){return Mo(ja(),e,t)}function Ao(e,t){return No(N(),Ey.memoizedState,e,t)}function jo(e,t){var n=N();return Ey===null?Mo(n,e,t):No(n,Ey.memoizedState,e,t)}function Mo(e,t,n){return n===void 0||Ty&1073741824&&!(Q&261930)?e.memoizedState=t:(e.memoizedState=n,e=il(),J.lanes|=e,cx|=e,n)}function No(e,t,n,r){return Kh(n,t)?n:cy.current===null?!(Ty&42)||Ty&1073741824&&!(Q&261930)?(cb=!0,e.memoizedState=n):(e=il(),J.lanes|=e,cx|=e,t):(e=Mo(e,n,r),Kh(e,t)||(cb=!0),e)}function Po(){R.asyncTransitions--}function Fo(e,t,n,r,i){var a=z.p;z.p=a!==0&&a<Wp?a:Wp;var o=R.T,s={};s._updatedFibers=new Set,R.T=s,Yo(e,!1,t,n);try{var c=i(),l=R.S;if(l!==null&&l(s,c),typeof c==`object`&&c&&typeof c.then==`function`){R.asyncTransitions++,c.then(Po,Po);var u=ji(c,r);Jo(e,t,u,rl(e))}else Jo(e,t,r,rl(e))}catch(n){Jo(e,t,{then:function(){},status:`rejected`,reason:n},rl(e))}finally{z.p=a,o!==null&&s.types!==null&&(o.types!==null&&o.types!==s.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.`),o.types=s.types),R.T=o,o===null&&s._updatedFibers&&(e=s._updatedFibers.size,s._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 Io(e,t,n,r){if(e.tag!==5)throw Error(`Expected the form instance to be a HostComponent. This is a bug in React.`);var i=Lo(e).queue;di(e),Fo(e,i,t,yC,n===null?p:function(){return Ro(e),n(r)})}function Lo(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:yC,baseState:yC,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ia,lastRenderedState:yC},next:null};var n={};return t.next={memoizedState:n,baseState:n,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ia,lastRenderedState:n},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function Ro(e){R.T===null&&console.error(`requestFormReset was called outside a transition or action. To fix, move to an action, or wrap with startTransition.`);var t=Lo(e);t.next===null&&(t=e.alternate.memoizedState),Jo(e,t.next.queue,{},rl(e))}function zo(){var e=Ja(!1);return e=Fo.bind(null,J,e.queue,!0,!1),ja().memoizedState=e,[!1,e]}function Bo(){var e=Ra(Ia)[0],t=N().memoizedState;return[typeof e==`boolean`?e:Na(e),t]}function Vo(){var e=Ba(Ia)[0],t=N().memoizedState;return[typeof e==`boolean`?e:Na(e),t]}function Ho(){return ii(bC)}function Uo(){var e=ja(),t=Gb.identifierPrefix;if(W){var n=$g,r=Qg;n=(r&~(1<<32-Lp(r)-1)).toString(32)+n,t=`_`+t+`R_`+n,n=jy++,0<n&&(t+=`H`+n.toString(32)),t+=`_`}else n=Py++,t=`_`+t+`r_`+n.toString(32)+`_`;return e.memoizedState=t}function Wo(){return ja().memoizedState=Go.bind(null,J)}function Go(e,t){for(var n=e.return;n!==null;){switch(n.tag){case 24:case 3:var r=rl(n),i=na(r),a=ra(n,i,r);a!==null&&(ui(r,`refresh()`,e),al(a,n,r),ia(a,n,r)),e=si(),t!=null&&a!==null&&console.error(`The seed argument is not enabled outside experimental channels.`),i.payload={cache:e};return}n=n.return}}function Ko(e,t,n){var r=arguments;typeof r[3]==`function`&&console.error(`State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect().`),r=rl(e);var i={lane:r,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null};Xo(e)?Zo(t,i):(i=fr(e,t,i,r),i!==null&&(ui(r,`dispatch()`,e),al(i,e,r),Qo(i,t,r)))}function qo(e,t,n){var r=arguments;typeof r[3]==`function`&&console.error(`State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect().`),r=rl(e),Jo(e,t,n,r)&&ui(r,`setState()`,e)}function Jo(e,t,n,r){var i={lane:r,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null};if(Xo(e))Zo(t,i);else{var a=e.alternate;if(e.lanes===0&&(a===null||a.lanes===0)&&(a=t.lastRenderedReducer,a!==null)){var o=R.H;R.H=Gy;try{var s=t.lastRenderedState,c=a(s,n);if(i.hasEagerState=!0,i.eagerState=c,Kh(c,s))return dr(e,t,i,0),Gb===null&&ur(),!1}catch{}finally{R.H=o}}if(n=fr(e,t,i,r),n!==null)return al(n,e,r),Qo(n,t,r),!0}return!1}function Yo(e,t,n,r){if(R.T===null&&sv===0&&console.error(`An optimistic state update occurred outside a transition or action. To fix, move the update to an action, or wrap with startTransition.`),r={lane:2,revertLane:ou(),gesture:null,action:r,hasEagerState:!1,eagerState:null,next:null},Xo(e)){if(t)throw Error(`Cannot update optimistic state while rendering.`);console.error(`Cannot call startTransition while rendering.`)}else t=fr(e,n,r,2),t!==null&&(ui(2,`setOptimistic()`,e),al(t,e,2))}function Xo(e){var t=e.alternate;return e===J||t!==null&&t===J}function Zo(e,t){ky=Oy=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Qo(e,t,n){if(n&4194048){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Ue(e,n)}}function $o(e){if(e!==null&&typeof e!=`function`){var t=String(e);rb.has(t)||(rb.add(t),console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",e))}}function es(e,t,n,r){var i=e.memoizedState,a=n(r,i);if(e.mode&Bg){E(!0);try{a=n(r,i)}finally{E(!1)}}a===void 0&&(t=x(t)||`Component`,$y.has(t)||($y.add(t),console.error(`%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.`,t))),i=a==null?i:L({},i,a),e.memoizedState=i,e.lanes===0&&(e.updateQueue.baseState=i)}function ts(e,t,n,r,i,a,o){var s=e.stateNode;if(typeof s.shouldComponentUpdate==`function`){if(n=s.shouldComponentUpdate(r,a,o),e.mode&Bg){E(!0);try{n=s.shouldComponentUpdate(r,a,o)}finally{E(!1)}}return n===void 0&&console.error(`%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.`,x(t)||`Component`),n}return t.prototype&&t.prototype.isPureReactComponent?!In(n,r)||!In(i,a):!0}function ns(e,t,n,r){var i=t.state;typeof t.componentWillReceiveProps==`function`&&t.componentWillReceiveProps(n,r),typeof t.UNSAFE_componentWillReceiveProps==`function`&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==i&&(e=S(e)||`Component`,Jy.has(e)||(Jy.add(e),console.error(`%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.`,e)),ib.enqueueReplaceState(t,t.state,null))}function rs(e,t){var n=t;if(`ref`in t)for(var r in n={},t)r!==`ref`&&(n[r]=t[r]);if(e=e.defaultProps)for(var i in n===t&&(n=L({},n)),e)n[i]===void 0&&(n[i]=e[i]);return n}function is(e){mg(e),console.warn(`%s
|
|
120
|
+
|
|
121
|
+
%s
|
|
122
|
+
`,ab?`An error occurred in the <`+ab+`> component.`:`An error occurred in one of your React components.`,`Consider adding an error boundary to your tree to customize error handling behavior.
|
|
123
|
+
Visit https://react.dev/link/error-boundaries to learn more about error boundaries.`)}function as(e){var t=ab?`The above error occurred in the <`+ab+`> 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, `+((ob||`Anonymous`)+`.`);if(typeof e==`object`&&e&&typeof e.environmentName==`string`){var r=e.environmentName;e=[`%o
|
|
124
|
+
|
|
125
|
+
%s
|
|
126
|
+
|
|
127
|
+
%s
|
|
128
|
+
`,e,t,n].slice(0),typeof e[0]==`string`?e.splice(0,1,xC+` `+e[0],SC,wC+r+wC,CC):e.splice(0,0,xC,SC,wC+r+wC,CC),e.unshift(console),r=TC.apply(console.error,e),r()}else console.error(`%o
|
|
129
|
+
|
|
130
|
+
%s
|
|
131
|
+
|
|
132
|
+
%s
|
|
133
|
+
`,e,t,n)}function os(e){mg(e)}function ss(e,t){try{ab=t.source?S(t.source):null,ob=null;var n=t.value;if(R.actQueue!==null)R.thrownErrors.push(n);else{var r=e.onUncaughtError;r(n,{componentStack:t.stack})}}catch(e){setTimeout(function(){throw e})}}function cs(e,t,n){try{ab=n.source?S(n.source):null,ob=S(t);var r=e.onCaughtError;r(n.value,{componentStack:n.stack,errorBoundary:t.tag===1?t.stateNode:null})}catch(e){setTimeout(function(){throw e})}}function ls(e,t,n){return n=na(n),n.tag=ry,n.payload={element:null},n.callback=function(){w(t.source,ss,e,t)},n}function us(e){return e=na(e),e.tag=ry,e}function ds(e,t,n,r){var i=n.type.getDerivedStateFromError;if(typeof i==`function`){var a=r.value;e.payload=function(){return i(a)},e.callback=function(){yr(n),w(r.source,cs,t,n,r)}}var o=n.stateNode;o!==null&&typeof o.componentDidCatch==`function`&&(e.callback=function(){yr(n),w(r.source,cs,t,n,r),typeof i!=`function`&&(Cx===null?Cx=new Set([this]):Cx.add(this)),Av(this,r),typeof i==`function`||!(n.lanes&2)&&console.error(`%s: Error boundaries should implement getDerivedStateFromError(). In that method, return a state update to display an error message or fallback UI.`,S(n)||`Unknown`)})}function fs(e,t,n,r,i){if(n.flags|=32768,Ip&&Jl(e,i),typeof r==`object`&&r&&typeof r.then==`function`){if(t=n.alternate,t!==null&&ti(t,n,i,!0),W&&(n_=!0),n=uy.current,n!==null){switch(n.tag){case 31:case 13:return dy===null?yl():n.alternate===null&&sx===Rb&&(sx=Vb),n.flags&=-257,n.flags|=65536,n.lanes=i,r===Hv?n.flags|=16384:(t=n.updateQueue,t===null?n.updateQueue=new Set([r]):t.add(r),zl(e,r,i)),!1;case 22:return n.flags|=65536,r===Hv?n.flags|=16384:(t=n.updateQueue,t===null?(t={transitions:null,markerInstances:null,retryQueue:new Set([r])},n.updateQueue=t):(n=t.retryQueue,n===null?t.retryQueue=new Set([r]):n.add(r)),zl(e,r,i)),!1}throw Error(`Unexpected Suspense handler tag (`+n.tag+`). This is a bug in React.`)}return zl(e,r,i),yl(),!1}if(W)return n_=!0,t=uy.current,t===null?(r!==o_&&Jr(jr(Error(`There was an error while hydrating but React was able to recover by instead client rendering the entire root.`,{cause:r}),n)),e=e.current.alternate,e.flags|=65536,i&=-i,e.lanes|=i,r=jr(r,n),i=ls(e.stateNode,r,i),aa(e,i),sx!==Hb&&(sx=Bb)):(!(t.flags&65536)&&(t.flags|=256),t.flags|=65536,t.lanes=i,r!==o_&&Jr(jr(Error(`There was an error while hydrating but React was able to recover by instead client rendering from the nearest Suspense boundary.`,{cause:r}),n))),!1;var a=jr(Error(`There was an error during concurrent rendering but React was able to recover by instead synchronously rendering the entire root.`,{cause:r}),n);if(px===null?px=[a]:px.push(a),sx!==Hb&&(sx=Bb),t===null)return!0;r=jr(r,n),n=t;do{switch(n.tag){case 3:return n.flags|=65536,e=i&-i,n.lanes|=e,e=ls(n.stateNode,r,e),aa(n,e),!1;case 1:if(t=n.type,a=n.stateNode,!(n.flags&128)&&(typeof t.getDerivedStateFromError==`function`||a!==null&&typeof a.componentDidCatch==`function`&&(Cx===null||!Cx.has(a))))return n.flags|=65536,i&=-i,n.lanes|=i,i=us(i),ds(i,e,n,r),aa(n,i),!1}n=n.return}while(n!==null);return!1}function ps(e,t,n,r){t.child=e===null?$v(t,null,n,r):Qv(t,e.child,n,r)}function ms(e,t,n,r,i){n=n.render;var a=t.ref;if(`ref`in r){var o={};for(var s in r)s!==`ref`&&(o[s]=r[s])}else o=r;return ri(t),r=wa(e,t,n,o,a,i),s=Oa(),e!==null&&!cb?(ka(e,t,i),Rs(e,t,i)):(W&&s&&Pr(t),t.flags|=1,ps(e,t,r,i),t.child)}function hs(e,t,n,r,i){if(e===null){var a=n.type;return typeof a==`function`&&!Sr(a)&&a.defaultProps===void 0&&n.compare===null?(n=gr(a),t.tag=15,t.type=n,Os(t,a),gs(e,t,n,r,i)):(e=Tr(n.type,null,r,t,t.mode,i),e.ref=t.ref,e.return=t,t.child=e)}if(a=e.child,!zs(e,i)){var o=a.memoizedProps;if(n=n.compare,n=n===null?In:n,n(o,r)&&e.ref===t.ref)return Rs(e,t,i)}return t.flags|=1,e=Cr(a,r),e.ref=t.ref,e.return=t,t.child=e}function gs(e,t,n,r,i){if(e!==null){var a=e.memoizedProps;if(In(a,r)&&e.ref===t.ref&&t.type===e.type){if(cb=!1,t.pendingProps=r=a,zs(e,i))e.flags&131072&&(cb=!0);else return t.lanes=e.lanes,Rs(e,t,i)}}return ws(e,t,n,r,i)}function _s(e,t,n,r){var i=r.children,a=e===null?null:e.memoizedState;if(e===null&&t.stateNode===null&&(t.stateNode={_visibility:jg,_pendingMarkers:null,_retryCache:null,_transitions:null}),r.mode===`hidden`){if(t.flags&128){if(a=a===null?n:a.baseLanes|n,e!==null){for(r=t.child=e.child,i=0;r!==null;)i=i|r.lanes|r.childLanes,r=r.sibling;r=i&~a}else r=0,t.child=null;return ys(e,t,a,n,r)}if(n&536870912)t.memoizedState={baseLanes:0,cachePool:null},e!==null&&Ni(t,a===null?null:a.cachePool),a===null?fa(t):da(t,a),ga(t);else return r=t.lanes=536870912,ys(e,t,a===null?n:a.baseLanes|n,n,r)}else a===null?(e!==null&&Ni(t,null),fa(t),_a(t)):(Ni(t,a.cachePool),da(t,a),_a(t),t.memoizedState=null);return ps(e,t,i,n),t.child}function vs(e,t){return e!==null&&e.tag===22||t.stateNode!==null||(t.stateNode={_visibility:jg,_pendingMarkers:null,_retryCache:null,_transitions:null}),t.sibling}function ys(e,t,n,r,i){var a=Mi();return a=a===null?null:{parent:g_._currentValue,pool:a},t.memoizedState={baseLanes:n,cachePool:a},e!==null&&Ni(t,null),fa(t),ga(t),e!==null&&ti(e,t,r,!0),t.childLanes=i,null}function bs(e,t){var n=t.hidden;return n!==void 0&&console.error(`<Activity> doesn't accept a hidden prop. Use mode="hidden" instead.
|
|
134
|
+
- <Activity %s>
|
|
135
|
+
+ <Activity %s>`,!0===n?`hidden`:!1===n?`hidden={false}`:`hidden={...}`,n?`mode="hidden"`:`mode="visible"`),t=Ns({mode:t.mode,children:t.children},e.mode),t.ref=e.ref,e.child=t,t.return=e,t}function xs(e,t,n){return Qv(t,e.child,null,n),e=bs(t,t.pendingProps),e.flags|=2,va(t),t.memoizedState=null,e}function Ss(e,t,n){var r=t.pendingProps,i=!!(t.flags&128);if(t.flags&=-129,e===null){if(W){if(r.mode===`hidden`)return e=bs(t,r),t.lanes=536870912,vs(null,e);if(ha(t),(e=t_)?(n=gd(e,a_),n=n!==null&&n.data===kS?n:null,n!==null&&(r={dehydrated:n,treeContext:Ir(),retryLane:536870912,hydrationErrors:null},t.memoizedState=r,r=kr(n),r.return=t,t.child=r,e_=t,t_=null)):n=null,n===null)throw Vr(t,e),Hr(t);return t.lanes=536870912,null}return bs(t,r)}var a=e.memoizedState;if(a!==null){var o=a.dehydrated;if(ha(t),i){if(t.flags&256)t.flags&=-257,t=xs(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(Br(),n&536870912&&vl(t),cb||ti(e,t,n,!1),i=(n&e.childLanes)!==0,cb||i){if(r=Gb,r!==null&&(o=We(r,n),o!==0&&o!==a.retryLane))throw a.retryLane=o,pr(e,o),al(r,e,o),sb;yl(),t=xs(e,t,n)}else e=a.treeContext,t_=bd(o.nextSibling),e_=t,W=!0,i_=null,n_=!1,r_=null,a_=!1,e!==null&&Lr(t,e),t=bs(t,r),t.flags|=4096;return t}return a=e.child,r={mode:r.mode,children:r.children},n&536870912&&(n&e.lanes)!==0&&vl(t),e=Cr(a,r),e.ref=t.ref,t.child=e,e.return=t,e}function Cs(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 ws(e,t,n,r,i){if(n.prototype&&typeof n.prototype.render==`function`){var a=x(n)||`Unknown`;lb[a]||(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.`,a,a),lb[a]=!0)}return t.mode&Bg&&dv.recordLegacyContextWarning(t,null),e===null&&(Os(t,t.type),n.contextTypes&&(a=x(n)||`Unknown`,db[a]||(db[a]=!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)`,a)))),ri(t),n=wa(e,t,n,r,void 0,i),r=Oa(),e!==null&&!cb?(ka(e,t,i),Rs(e,t,i)):(W&&r&&Pr(t),t.flags|=1,ps(e,t,n,i),t.child)}function Ts(e,t,n,r,i,a){return ri(t),Ly=-1,Ry=e!==null&&e.type!==t.type,t.updateQueue=null,n=Ea(t,r,n,i),Ta(e,t),r=Oa(),e!==null&&!cb?(ka(e,t,a),Rs(e,t,a)):(W&&r&&Pr(t),t.flags|=1,ps(e,t,n,a),t.child)}function Es(e,t,n,r,i){switch(u(t)){case!1:var a=t.stateNode,o=new t.type(t.memoizedProps,a.context).state;a.updater.enqueueSetState(a,o,null);break;case!0:t.flags|=128,t.flags|=65536,a=Error(`Simulated error coming from DevTools`);var s=i&-i;if(t.lanes|=s,o=Gb,o===null)throw Error(`Expected a work-in-progress root. This is a bug in React. Please file an issue.`);s=us(s),ds(s,o,t,jr(a,t)),aa(t,s)}if(ri(t),t.stateNode===null){if(o=Ig,a=n.contextType,`contextType`in n&&a!==null&&(a===void 0||a.$$typeof!==Bf)&&!nb.has(n)&&(nb.add(n),s=a===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 a==`object`?a.$$typeof===zf?` Did you accidentally pass the Context.Consumer instead?`:` However, it is set to an object with keys {`+Object.keys(a).join(`, `)+`}.`:` However, it is set to a `+typeof a+`.`,console.error(`%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s`,x(n)||`Component`,s)),typeof a==`object`&&a&&(o=ii(a)),a=new n(r,o),t.mode&Bg){E(!0);try{a=new n(r,o)}finally{E(!1)}}if(o=t.memoizedState=a.state!==null&&a.state!==void 0?a.state:null,a.updater=ib,t.stateNode=a,a._reactInternals=t,a._reactInternalInstance=qy,typeof n.getDerivedStateFromProps==`function`&&o===null&&(o=x(n)||`Component`,Yy.has(o)||(Yy.add(o),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.",o,a.state===null?`null`:`undefined`,o))),typeof n.getDerivedStateFromProps==`function`||typeof a.getSnapshotBeforeUpdate==`function`){var c=s=o=null;if(typeof a.componentWillMount==`function`&&!0!==a.componentWillMount.__suppressDeprecationWarning?o=`componentWillMount`:typeof a.UNSAFE_componentWillMount==`function`&&(o=`UNSAFE_componentWillMount`),typeof a.componentWillReceiveProps==`function`&&!0!==a.componentWillReceiveProps.__suppressDeprecationWarning?s=`componentWillReceiveProps`:typeof a.UNSAFE_componentWillReceiveProps==`function`&&(s=`UNSAFE_componentWillReceiveProps`),typeof a.componentWillUpdate==`function`&&!0!==a.componentWillUpdate.__suppressDeprecationWarning?c=`componentWillUpdate`:typeof a.UNSAFE_componentWillUpdate==`function`&&(c=`UNSAFE_componentWillUpdate`),o!==null||s!==null||c!==null){a=x(n)||`Component`;var l=typeof n.getDerivedStateFromProps==`function`?`getDerivedStateFromProps()`:`getSnapshotBeforeUpdate()`;Zy.has(a)||(Zy.add(a),console.error(`Unsafe legacy lifecycles will not be called for components using new component APIs.
|
|
136
|
+
|
|
137
|
+
%s uses %s but also contains the following legacy lifecycles:%s%s%s
|
|
138
|
+
|
|
139
|
+
The above lifecycles should be removed. Learn more about this warning here:
|
|
140
|
+
https://react.dev/link/unsafe-component-lifecycles`,a,l,o===null?``:`
|
|
141
|
+
`+o,s===null?``:`
|
|
142
|
+
`+s,c===null?``:`
|
|
143
|
+
`+c))}}a=t.stateNode,o=x(n)||`Component`,a.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?",o):console.error("No `render` method found on the %s instance: you may have forgotten to define `render`.",o)),!a.getInitialState||a.getInitialState.isReactClassApproved||a.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?`,o),a.getDefaultProps&&!a.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.`,o),a.contextType&&console.error(`contextType was defined as an instance property on %s. Use a static property to define contextType instead.`,o),n.childContextTypes&&!tb.has(n)&&(tb.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)`,o)),n.contextTypes&&!eb.has(n)&&(eb.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)`,o)),typeof a.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.`,o),n.prototype&&n.prototype.isPureReactComponent&&a.shouldComponentUpdate!==void 0&&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.`,x(n)||`A pure component`),typeof a.componentDidUnmount==`function`&&console.error(`%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?`,o),typeof a.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().`,o),typeof a.componentWillRecieveProps==`function`&&console.error(`%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?`,o),typeof a.UNSAFE_componentWillRecieveProps==`function`&&console.error(`%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?`,o),s=a.props!==r,a.props!==void 0&&s&&console.error("When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",o),a.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.`,o,o),typeof a.getSnapshotBeforeUpdate!=`function`||typeof a.componentDidUpdate==`function`||Xy.has(n)||(Xy.add(n),console.error(`%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.`,x(n))),typeof a.getDerivedStateFromProps==`function`&&console.error(`%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.`,o),typeof a.getDerivedStateFromError==`function`&&console.error(`%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.`,o),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.`,o),(s=a.state)&&(typeof s!=`object`||Xf(s))&&console.error(`%s.state: must be set to an object or null`,o),typeof a.getChildContext==`function`&&typeof n.childContextTypes!=`object`&&console.error(`%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().`,o),a=t.stateNode,a.props=r,a.state=t.memoizedState,a.refs={},ea(t),o=n.contextType,a.context=typeof o==`object`&&o?ii(o):Ig,a.state===r&&(o=x(n)||`Component`,Qy.has(o)||(Qy.add(o),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.`,o))),t.mode&Bg&&dv.recordLegacyContextWarning(t,a),dv.recordUnsafeLifecycleWarnings(t,a),a.state=t.memoizedState,o=n.getDerivedStateFromProps,typeof o==`function`&&(es(t,n,o,r),a.state=t.memoizedState),typeof n.getDerivedStateFromProps==`function`||typeof a.getSnapshotBeforeUpdate==`function`||typeof a.UNSAFE_componentWillMount!=`function`&&typeof a.componentWillMount!=`function`||(o=a.state,typeof a.componentWillMount==`function`&&a.componentWillMount(),typeof a.UNSAFE_componentWillMount==`function`&&a.UNSAFE_componentWillMount(),o!==a.state&&(console.error(`%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.`,S(t)||`Component`),ib.enqueueReplaceState(a,a.state,null)),sa(t,r,a,i),oa(),a.state=t.memoizedState),typeof a.componentDidMount==`function`&&(t.flags|=4194308),(t.mode&Vg)!==H&&(t.flags|=134217728),a=!0}else if(e===null){a=t.stateNode;var d=t.memoizedProps;s=rs(n,d),a.props=s;var f=a.context;c=n.contextType,o=Ig,typeof c==`object`&&c&&(o=ii(c)),l=n.getDerivedStateFromProps,c=typeof l==`function`||typeof a.getSnapshotBeforeUpdate==`function`,d=t.pendingProps!==d,c||typeof a.UNSAFE_componentWillReceiveProps!=`function`&&typeof a.componentWillReceiveProps!=`function`||(d||f!==o)&&ns(t,a,r,o),iy=!1;var p=t.memoizedState;a.state=p,sa(t,r,a,i),oa(),f=t.memoizedState,d||p!==f||iy?(typeof l==`function`&&(es(t,n,l,r),f=t.memoizedState),(s=iy||ts(t,n,s,r,p,f,o))?(c||typeof a.UNSAFE_componentWillMount!=`function`&&typeof a.componentWillMount!=`function`||(typeof a.componentWillMount==`function`&&a.componentWillMount(),typeof a.UNSAFE_componentWillMount==`function`&&a.UNSAFE_componentWillMount()),typeof a.componentDidMount==`function`&&(t.flags|=4194308),(t.mode&Vg)!==H&&(t.flags|=134217728)):(typeof a.componentDidMount==`function`&&(t.flags|=4194308),(t.mode&Vg)!==H&&(t.flags|=134217728),t.memoizedProps=r,t.memoizedState=f),a.props=r,a.state=f,a.context=o,a=s):(typeof a.componentDidMount==`function`&&(t.flags|=4194308),(t.mode&Vg)!==H&&(t.flags|=134217728),a=!1)}else{a=t.stateNode,ta(e,t),o=t.memoizedProps,c=rs(n,o),a.props=c,l=t.pendingProps,p=a.context,f=n.contextType,s=Ig,typeof f==`object`&&f&&(s=ii(f)),d=n.getDerivedStateFromProps,(f=typeof d==`function`||typeof a.getSnapshotBeforeUpdate==`function`)||typeof a.UNSAFE_componentWillReceiveProps!=`function`&&typeof a.componentWillReceiveProps!=`function`||(o!==l||p!==s)&&ns(t,a,r,s),iy=!1,p=t.memoizedState,a.state=p,sa(t,r,a,i),oa();var m=t.memoizedState;o!==l||p!==m||iy||e!==null&&e.dependencies!==null&&ni(e.dependencies)?(typeof d==`function`&&(es(t,n,d,r),m=t.memoizedState),(c=iy||ts(t,n,c,r,p,m,s)||e!==null&&e.dependencies!==null&&ni(e.dependencies))?(f||typeof a.UNSAFE_componentWillUpdate!=`function`&&typeof a.componentWillUpdate!=`function`||(typeof a.componentWillUpdate==`function`&&a.componentWillUpdate(r,m,s),typeof a.UNSAFE_componentWillUpdate==`function`&&a.UNSAFE_componentWillUpdate(r,m,s)),typeof a.componentDidUpdate==`function`&&(t.flags|=4),typeof a.getSnapshotBeforeUpdate==`function`&&(t.flags|=1024)):(typeof a.componentDidUpdate!=`function`||o===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),typeof a.getSnapshotBeforeUpdate!=`function`||o===e.memoizedProps&&p===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=m),a.props=r,a.state=m,a.context=s,a=c):(typeof a.componentDidUpdate!=`function`||o===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),typeof a.getSnapshotBeforeUpdate!=`function`||o===e.memoizedProps&&p===e.memoizedState||(t.flags|=1024),a=!1)}if(s=a,Cs(e,t),o=!!(t.flags&128),s||o){if(s=t.stateNode,De(t),o&&typeof n.getDerivedStateFromError!=`function`)n=null,T_=-1;else if(n=wv(s),t.mode&Bg){E(!0);try{wv(s)}finally{E(!1)}}t.flags|=1,e!==null&&o?(t.child=Qv(t,e.child,null,i),t.child=Qv(t,null,n,i)):ps(e,t,n,i),t.memoizedState=s.state,e=t.child}else e=Rs(e,t,i);return i=t.stateNode,a&&i.props!==r&&(pb||console.error("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",S(t)||`a component`),pb=!0),e}function Ds(e,t,n,r){return Kr(),t.flags|=256,ps(e,t,n,r),t.child}function Os(e,t){t&&t.childContextTypes&&console.error(`childContextTypes cannot be defined on a function component.
|
|
144
|
+
%s.childContextTypes = ...`,t.displayName||t.name||`Component`),typeof t.getDerivedStateFromProps==`function`&&(e=x(t)||`Unknown`,fb[e]||(console.error(`%s: Function components do not support getDerivedStateFromProps.`,e),fb[e]=!0)),typeof t.contextType==`object`&&t.contextType!==null&&(t=x(t)||`Unknown`,ub[t]||(console.error(`%s: Function components do not support contextType.`,t),ub[t]=!0))}function ks(e){return{baseLanes:e,cachePool:Pi()}}function As(e,t,n){return e=e===null?0:e.childLanes&~n,t&&(e|=dx),e}function js(e,t,n){var r,i=t.pendingProps;l(t)&&(t.flags|=128);var a=!1,o=!!(t.flags&128);if((r=o)||(r=e!==null&&e.memoizedState===null?!1:(my.current&py)!==0),r&&(a=!0,t.flags&=-129),r=!!(t.flags&32),t.flags&=-33,e===null){if(W){if(a?ma(t):_a(t),(e=t_)?(n=gd(e,a_),n=n!==null&&n.data!==kS?n:null,n!==null&&(r={dehydrated:n,treeContext:Ir(),retryLane:536870912,hydrationErrors:null},t.memoizedState=r,r=kr(n),r.return=t,t.child=r,e_=t,t_=null)):n=null,n===null)throw Vr(t,e),Hr(t);return vd(n)?t.lanes=32:t.lanes=536870912,null}var s=i.children;if(i=i.fallback,a){_a(t);var c=t.mode;return s=Ns({mode:`hidden`,children:s},c),i=Dr(i,c,n,null),s.return=t,i.return=t,s.sibling=i,t.child=s,i=t.child,i.memoizedState=ks(n),i.childLanes=As(e,r,n),t.memoizedState=gb,vs(null,i)}return ma(t),Ms(t,s)}var u=e.memoizedState;if(u!==null){var d=u.dehydrated;if(d!==null){if(o)t.flags&256?(ma(t),t.flags&=-257,t=Ps(e,t,n)):t.memoizedState===null?(_a(t),s=i.fallback,c=t.mode,i=Ns({mode:`visible`,children:i.children},c),s=Dr(s,c,n,null),s.flags|=2,i.return=t,s.return=t,i.sibling=s,t.child=i,Qv(t,e.child,null,n),i=t.child,i.memoizedState=ks(n),i.childLanes=As(e,r,n),t.memoizedState=gb,t=vs(null,i)):(_a(t),t.child=e.child,t.flags|=128,t=null);else if(ma(t),Br(),n&536870912&&vl(t),vd(d)){if(r=d.nextSibling&&d.nextSibling.dataset,r){s=r.dgst;var f=r.msg;c=r.stck;var p=r.cstck}a=f,r=s,i=c,d=p,s=a,c=d,s=Error(s||`The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering.`),s.stack=i||``,s.digest=r,r=c===void 0?null:c,i={value:s,source:null,stack:r},typeof r==`string`&&Wg.set(s,i),Jr(i),t=Ps(e,t,n)}else if(cb||ti(e,t,n,!1),r=(n&e.childLanes)!==0,cb||r){if(r=Gb,r!==null&&(i=We(r,n),i!==0&&i!==u.retryLane))throw u.retryLane=i,pr(e,i),al(r,e,i),sb;_d(d)||yl(),t=Ps(e,t,n)}else _d(d)?(t.flags|=192,t.child=e.child,t=null):(e=u.treeContext,t_=bd(d.nextSibling),e_=t,W=!0,i_=null,n_=!1,r_=null,a_=!1,e!==null&&Lr(t,e),t=Ms(t,i.children),t.flags|=4096);return t}}return a?(_a(t),s=i.fallback,c=t.mode,p=e.child,d=p.sibling,i=Cr(p,{mode:`hidden`,children:i.children}),i.subtreeFlags=p.subtreeFlags&65011712,d===null?(s=Dr(s,c,n,null),s.flags|=2):s=Cr(d,s),s.return=t,i.return=t,i.sibling=s,t.child=i,vs(null,i),i=t.child,s=e.child.memoizedState,s===null?s=ks(n):(c=s.cachePool,c===null?c=Pi():(p=g_._currentValue,c=c.parent===p?c:{parent:p,pool:p}),s={baseLanes:s.baseLanes|n,cachePool:c}),i.memoizedState=s,i.childLanes=As(e,r,n),t.memoizedState=gb,vs(e.child,i)):(u!==null&&(n&62914560)===n&&(n&e.lanes)!==0&&vl(t),ma(t),n=e.child,e=n.sibling,n=Cr(n,{mode:`visible`,children:i.children}),n.return=t,n.sibling=null,e!==null&&(r=t.deletions,r===null?(t.deletions=[e],t.flags|=16):r.push(e)),t.child=n,t.memoizedState=null,n)}function Ms(e,t){return t=Ns({mode:`visible`,children:t},e.mode),t.return=e,e.child=t}function Ns(e,t){return e=g(22,e,null,t),e.lanes=0,e}function Ps(e,t,n){return Qv(t,e.child,null,n),e=Ms(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function Fs(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),$r(e.return,t,n)}function Is(e,t,n,r,i,a){var o=e.memoizedState;o===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:i,treeForkCount:a}:(o.isBackwards=t,o.rendering=null,o.renderingStartTime=0,o.last=r,o.tail=n,o.tailMode=i,o.treeForkCount=a)}function Ls(e,t,n){var r=t.pendingProps,i=r.revealOrder,a=r.tail,o=r.children,s=my.current;if((r=(s&py)!==0)?(s=s&fy|py,t.flags|=128):s&=fy,C(my,s,t),s=i??`null`,i!==`forwards`&&i!==`unstable_legacy-backwards`&&i!==`together`&&i!==`independent`&&!mb[s]){if(mb[s]=!0,i==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(i===`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 i==`string`)switch(i.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.`,i,i.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.`,i,i.toLowerCase());break;default:console.error(`"%s" is not a supported revealOrder on <SuspenseList />. Did you mean "independent", "together", "forwards" or "backwards"?`,i)}else console.error(`%s is not a supported value for revealOrder on <SuspenseList />. Did you mean "independent", "together", "forwards" or "backwards"?`,i)}s=a??`null`,hb[s]||(a==null?(i===`forwards`||i===`backwards`||i===`unstable_legacy-backwards`)&&(hb[s]=!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".`)):a!==`visible`&&a!==`collapsed`&&a!==`hidden`?(hb[s]=!0,console.error(`"%s" is not a supported value for tail on <SuspenseList />. Did you mean "visible", "collapsed" or "hidden"?`,a)):i!==`forwards`&&i!==`backwards`&&i!==`unstable_legacy-backwards`&&(hb[s]=!0,console.error(`<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" or "backwards". Did you mean to specify revealOrder="forwards"?`,a)));a:if((i===`forwards`||i===`backwards`||i===`unstable_legacy-backwards`)&&o!=null&&!1!==o){if(Xf(o)){for(s=0;s<o.length;s++)if(!$i(o[s],s))break a}else if(s=oe(o),typeof s==`function`){if(s=s.call(o))for(var c=s.next(),l=0;!c.done;c=s.next()){if(!$i(c.value,l))break a;l++}}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?`,i)}if(ps(e,t,o,n),W?(Rr(),o=Jg):o=0,!r&&e!==null&&e.flags&128)a:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&Fs(e,n,t);else if(e.tag===19)Fs(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break a;for(;e.sibling===null;){if(e.return===null||e.return===t)break a;e=e.return}e.sibling.return=e.return,e=e.sibling}switch(i){case`forwards`:for(n=t.child,i=null;n!==null;)e=n.alternate,e!==null&&ya(e)===null&&(i=n),n=n.sibling;n=i,n===null?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),Is(t,!1,i,n,a,o);break;case`backwards`:case`unstable_legacy-backwards`:for(n=null,i=t.child,t.child=null;i!==null;){if(e=i.alternate,e!==null&&ya(e)===null){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}Is(t,!0,n,null,a,o);break;case`together`:Is(t,!1,null,null,void 0,o);break;default:t.memoizedState=null}return t.child}function Rs(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),T_=-1,cx|=t.lanes,(n&t.childLanes)===0){if(e!==null){if(ti(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=Cr(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=Cr(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function zs(e,t){return(e.lanes&t)!==0||(e=e.dependencies,!!(e!==null&&ni(e)))}function Bs(e,t,n){switch(t.tag){case 3:de(t,t.stateNode.containerInfo),Zr(t,g_,e.memoizedState.cache),Kr();break;case 27:case 5:me(t);break;case 4:de(t,t.stateNode.containerInfo);break;case 10:Zr(t,t.type,t.memoizedProps.value);break;case 12:(n&t.childLanes)!==0&&(t.flags|=4),t.flags|=2048;var r=t.stateNode;r.effectDuration=-0,r.passiveEffectDuration=-0;break;case 31:if(t.memoizedState!==null)return t.flags|=128,ha(t),null;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated===null?(n&t.child.childLanes)===0?(ma(t),e=Rs(e,t,n),e===null?null:e.sibling):js(e,t,n):(ma(t),t.flags|=128,null);ma(t);break;case 19:var i=!!(e.flags&128);if(r=(n&t.childLanes)!==0,r||=(ti(e,t,n,!1),(n&t.childLanes)!==0),i){if(r)return Ls(e,t,n);t.flags|=128}if(i=t.memoizedState,i!==null&&(i.rendering=null,i.tail=null,i.lastEffect=null),C(my,my.current,t),r)break;return null;case 22:return t.lanes=0,_s(e,t,n,t.pendingProps);case 24:Zr(t,g_,e.memoizedState.cache)}return Rs(e,t,n)}function Vs(e,t,n){if(t._debugNeedsRemount&&e!==null){n=Tr(t.type,t.key,t.pendingProps,t._debugOwner||null,t.mode,t.lanes),n._debugStack=t._debugStack,n._debugTask=t._debugTask;var r=t.return;if(r===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===r.child)r.child=n;else{var i=r.child;if(i===null)throw Error(`Expected parent to have a child.`);for(;i.sibling!==t;)if(i=i.sibling,i===null)throw Error(`Expected to find the previous sibling.`);i.sibling=n}return t=r.deletions,t===null?(r.deletions=[e],r.flags|=16):t.push(e),n.flags|=2,n}if(e!==null){if(e.memoizedProps!==t.pendingProps||t.type!==e.type)cb=!0;else{if(!zs(e,n)&&!(t.flags&128))return cb=!1,Bs(e,t,n);cb=!!(e.flags&131072)}}else cb=!1,(r=W)&&(Rr(),r=!!(t.flags&1048576)),r&&(r=t.index,Rr(),Nr(t,Jg,r));switch(t.lanes=0,t.tag){case 16:a:if(r=t.pendingProps,e=Ri(t.elementType),t.type=e,typeof e==`function`)Sr(e)?(r=rs(e,r),t.tag=1,t.type=e=gr(e),t=Es(null,t,e,r,n)):(t.tag=0,Os(t,e),t.type=e=gr(e),t=ws(null,t,e,r,n));else{if(e!=null){if(i=e.$$typeof,i===Vf){t.tag=11,t.type=e=_r(e),t=ms(null,t,e,r,n);break a}if(i===Wf){t.tag=14,t=hs(null,t,e,r,n);break a}}throw t=``,typeof e==`object`&&e&&e.$$typeof===Gf&&(t=` Did you wrap a component in React.lazy() more than once?`),n=x(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 ws(e,t,t.type,t.pendingProps,n);case 1:return r=t.type,i=rs(r,t.pendingProps),Es(e,t,r,i,n);case 3:a:{if(de(t,t.stateNode.containerInfo),e===null)throw Error(`Should have a current fiber. This is a bug in React.`);r=t.pendingProps;var a=t.memoizedState;i=a.element,ta(e,t),sa(t,r,null,n);var o=t.memoizedState;if(r=o.cache,Zr(t,g_,r),r!==a.cache&&ei(t,[g_],n,!0),oa(),r=o.element,a.isDehydrated){if(a={element:r,isDehydrated:!1,cache:o.cache},t.updateQueue.baseState=a,t.memoizedState=a,t.flags&256){t=Ds(e,t,r,n);break a}if(r!==i){i=jr(Error(`This root received an early update, before anything was able hydrate. Switched the entire root to client rendering.`),t),Jr(i),t=Ds(e,t,r,n);break a}switch(e=t.stateNode.containerInfo,e.nodeType){case 9:e=e.body;break;default:e=e.nodeName===`HTML`?e.ownerDocument.body:e}for(t_=bd(e.firstChild),e_=t,W=!0,i_=null,n_=!1,r_=null,a_=!0,n=$v(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling}else{if(Kr(),r===i){t=Rs(e,t,n);break a}ps(e,t,r,n)}t=t.child}return t;case 26:return Cs(e,t),e===null?(n=Nd(t.type,null,t.pendingProps,null))?t.memoizedState=n:W||(n=t.type,e=t.pendingProps,r=ue(rp.current),r=Hu(r).createElement(n),r[Jp]=t,r[Yp]=e,Ou(r,n,e),nt(r),t.stateNode=r):t.memoizedState=Nd(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return me(t),e===null&&W&&(r=ue(rp.current),i=pe(),r=t.stateNode=Od(t.type,t.pendingProps,r,i,!1),n_||(i=Ru(r,t.type,t.pendingProps,i),i!==null&&(zr(t,0).serverProps=i)),e_=t,a_=!0,i=t_,nd(t.type)?(nC=i,t_=bd(r.firstChild)):t_=i),ps(e,t,t.pendingProps.children,n),Cs(e,t),e===null&&(t.flags|=4194304),t.child;case 5:return e===null&&W&&(a=pe(),r=qt(t.type,a.ancestorInfo),i=t_,(o=!i)||(o=md(i,t.type,t.pendingProps,a_),o===null?a=!1:(t.stateNode=o,n_||(a=Ru(o,t.type,t.pendingProps,a),a!==null&&(zr(t,0).serverProps=a)),e_=t,t_=bd(o.firstChild),a_=!1,a=!0),o=!a),o&&(r&&Vr(t,i),Hr(t))),me(t),i=t.type,a=t.pendingProps,o=e===null?null:e.memoizedProps,r=a.children,Gu(i,a)?r=null:o!==null&&Gu(i,o)&&(t.flags|=32),t.memoizedState!==null&&(i=wa(e,t,Da,null,null,n),bC._currentValue=i),Cs(e,t),ps(e,t,r,n),t.child;case 6:return e===null&&W&&(n=t.pendingProps,e=pe(),r=e.ancestorInfo.current,n=r==null||Jt(n,r.tag,e.ancestorInfo.implicitRootScope),e=t_,(r=!e)||(r=hd(e,t.pendingProps,a_),r===null?r=!1:(t.stateNode=r,e_=t,t_=null,r=!0),r=!r),r&&(n&&Vr(t,e),Hr(t))),null;case 13:return js(e,t,n);case 4:return de(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Qv(t,null,r,n):ps(e,t,r,n),t.child;case 11:return ms(e,t,t.type,t.pendingProps,n);case 7:return ps(e,t,t.pendingProps,n),t.child;case 8:return ps(e,t,t.pendingProps.children,n),t.child;case 12:return t.flags|=4,t.flags|=2048,r=t.stateNode,r.effectDuration=-0,r.passiveEffectDuration=-0,ps(e,t,t.pendingProps.children,n),t.child;case 10:return r=t.type,i=t.pendingProps,a=i.value,`value`in i||_b||(_b=!0,console.error("The `value` prop is required for the `<Context.Provider>`. Did you misspell it or forget to pass it?")),Zr(t,r,a),ps(e,t,i.children,n),t.child;case 9:return i=t.type._context,r=t.pendingProps.children,typeof r!=`function`&&console.error(`A context consumer was rendered with multiple children, or a child that isn't a function. A context consumer expects a single child that is a function. If you did pass a function, make sure there is no trailing or leading whitespace around it.`),ri(t),i=ii(i),r=Sv(r,i,void 0),t.flags|=1,ps(e,t,r,n),t.child;case 14:return hs(e,t,t.type,t.pendingProps,n);case 15:return gs(e,t,t.type,t.pendingProps,n);case 19:return Ls(e,t,n);case 31:return Ss(e,t,n);case 22:return _s(e,t,n,t.pendingProps);case 24:return ri(t),r=ii(g_),e===null?(i=Mi(),i===null&&(i=Gb,a=si(),i.pooledCache=a,ci(a),a!==null&&(i.pooledCacheLanes|=n),i=a),t.memoizedState={parent:r,cache:i},ea(t),Zr(t,g_,i)):((e.lanes&n)!==0&&(ta(e,t),sa(t,null,null,n),oa()),i=e.memoizedState,a=t.memoizedState,i.parent===r?(r=a.cache,Zr(t,g_,r),r!==i.cache&&ei(t,[g_],n,!0)):(i={parent:r,cache:r},t.memoizedState=i,t.lanes===0&&(t.memoizedState=t.updateQueue.baseState=i),Zr(t,g_,r))),ps(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 Hs(e){e.flags|=4}function Us(e,t,n,r,i){if((t=(e.mode&Hg)!==H)&&(t=!1),t){if(e.flags|=16777216,(i&335544128)===i){if(e.stateNode.complete)e.flags|=8192;else if(hl())e.flags|=8192;else throw Uv=Hv,Bv}}else e.flags&=-16777217}function Ws(e,t){if(t.type!==`stylesheet`||(t.state.loading&sC)!==rC)e.flags&=-16777217;else if(e.flags|=16777216,!Jd(t)){if(hl())e.flags|=8192;else throw Uv=Hv,Bv}}function Gs(e,t){t!==null&&(e.flags|=4),e.flags&16384&&(t=e.tag===22?536870912:ze(),e.lanes|=t,fx|=t)}function Ks(e,t){if(!W)switch(e.tailMode){case`hidden`:t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case`collapsed`:n=e.tail;for(var r=null;n!==null;)n.alternate!==null&&(r=n),n=n.sibling;r===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null}}function qs(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t){if((e.mode&U)!==H){for(var i=e.selfBaseDuration,a=e.child;a!==null;)n|=a.lanes|a.childLanes,r|=a.subtreeFlags&65011712,r|=a.flags&65011712,i+=a.treeBaseDuration,a=a.sibling;e.treeBaseDuration=i}else for(i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags&65011712,r|=i.flags&65011712,i.return=e,i=i.sibling}else if((e.mode&U)!==H){i=e.actualDuration,a=e.selfBaseDuration;for(var o=e.child;o!==null;)n|=o.lanes|o.childLanes,r|=o.subtreeFlags,r|=o.flags,i+=o.actualDuration,a+=o.treeBaseDuration,o=o.sibling;e.actualDuration=i,e.treeBaseDuration=a}else for(i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags,r|=i.flags,i.return=e,i=i.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function Js(e,t,n){var r=t.pendingProps;switch(Fr(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return qs(t),null;case 1:return qs(t),null;case 3:return n=t.stateNode,r=null,e!==null&&(r=e.memoizedState.cache),t.memoizedState.cache!==r&&(t.flags|=2048),Qr(g_,t),fe(t),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),(e===null||e.child===null)&&(Gr(t)?(Yr(),Hs(t)):e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,qr())),qs(t),null;case 26:var i=t.type,a=t.memoizedState;return e===null?(Hs(t),a===null?(qs(t),Us(t,i,null,r,n)):(qs(t),Ws(t,a))):a?a===e.memoizedState?(qs(t),t.flags&=-16777217):(Hs(t),qs(t),Ws(t,a)):(e=e.memoizedProps,e!==r&&Hs(t),qs(t),Us(t,i,e,r,n)),null;case 27:if(he(t),n=ue(rp.current),i=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==r&&Hs(t);else{if(!r){if(t.stateNode===null)throw Error(`We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.`);return qs(t),null}e=pe(),Gr(t)?Ur(t,e):(e=Od(i,r,n,e,!0),t.stateNode=e,Hs(t))}return qs(t),null;case 5:if(he(t),i=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==r&&Hs(t);else{if(!r){if(t.stateNode===null)throw Error(`We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.`);return qs(t),null}var o=pe();if(Gr(t))Ur(t,o);else{switch(a=ue(rp.current),qt(i,o.ancestorInfo),o=o.context,a=Hu(a),o){case WS:a=a.createElementNS(Rm,i);break;case GS:a=a.createElementNS(Lm,i);break;default:switch(i){case`svg`:a=a.createElementNS(Rm,i);break;case`math`:a=a.createElementNS(Lm,i);break;case`script`:a=a.createElement(`div`),a.innerHTML=`<script><\/script>`,a=a.removeChild(a.firstChild);break;case`select`:a=typeof r.is==`string`?a.createElement(`select`,{is:r.is}):a.createElement(`select`),r.multiple?a.multiple=!0:r.size&&(a.size=r.size);break;default:a=typeof r.is==`string`?a.createElement(i,{is:r.is}):a.createElement(i),i.indexOf(`-`)===-1&&(i!==i.toLowerCase()&&console.error(`<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.`,i),Object.prototype.toString.call(a)!==`[object HTMLUnknownElement]`||yp.call(JS,i)||(JS[i]=!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.`,i)))}}a[Jp]=t,a[Yp]=r;a:for(o=t.child;o!==null;){if(o.tag===5||o.tag===6)a.appendChild(o.stateNode);else if(o.tag!==4&&o.tag!==27&&o.child!==null){o.child.return=o,o=o.child;continue}if(o===t)break a;for(;o.sibling===null;){if(o.return===null||o.return===t)break a;o=o.return}o.sibling.return=o.return,o=o.sibling}t.stateNode=a;a:switch(Ou(a,i,r),i){case`button`:case`input`:case`select`:case`textarea`:r=!!r.autoFocus;break a;case`img`:r=!0;break a;default:r=!1}r&&Hs(t)}}return qs(t),Us(t,t.type,e===null?null:e.memoizedProps,t.pendingProps,n),null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==r&&Hs(t);else{if(typeof r!=`string`&&t.stateNode===null)throw Error(`We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.`);if(e=ue(rp.current),n=pe(),Gr(t)){if(e=t.stateNode,n=t.memoizedProps,i=!n_,r=null,a=e_,a!==null)switch(a.tag){case 3:i&&(i=Sd(e,n,r),i!==null&&(zr(t,0).serverProps=i));break;case 27:case 5:r=a.memoizedProps,i&&(i=Sd(e,n,r),i!==null&&(zr(t,0).serverProps=i))}e[Jp]=t,e=!!(e.nodeValue===n||r!==null&&!0===r.suppressHydrationWarning||Eu(e.nodeValue,n)),e||Hr(t,!0)}else i=n.ancestorInfo.current,i!=null&&Jt(r,i.tag,n.ancestorInfo.implicitRootScope),e=Hu(e).createTextNode(r),e[Jp]=t,t.stateNode=e}return qs(t),null;case 31:if(n=t.memoizedState,e===null||e.memoizedState!==null){if(r=Gr(t),n!==null){if(e===null){if(!r)throw Error(`A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.`);if(e=t.memoizedState,e=e===null?null:e.dehydrated,!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[Jp]=t,qs(t),(t.mode&U)!==H&&n!==null&&(e=t.child,e!==null&&(t.treeBaseDuration-=e.treeBaseDuration))}else Yr(),Kr(),!(t.flags&128)&&(n=t.memoizedState=null),t.flags|=4,qs(t),(t.mode&U)!==H&&n!==null&&(e=t.child,e!==null&&(t.treeBaseDuration-=e.treeBaseDuration));e=!1}else n=qr(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=n),e=!0;if(!e)return t.flags&256?(va(t),t):(va(t),null);if(t.flags&128)throw Error(`Client rendering an Activity suspended it again. This is a bug in React.`)}return qs(t),null;case 13:if(r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(i=r,a=Gr(t),i!==null&&i.dehydrated!==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(a=t.memoizedState,a=a===null?null:a.dehydrated,!a)throw Error(`Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.`);a[Jp]=t,qs(t),(t.mode&U)!==H&&i!==null&&(i=t.child,i!==null&&(t.treeBaseDuration-=i.treeBaseDuration))}else Yr(),Kr(),!(t.flags&128)&&(i=t.memoizedState=null),t.flags|=4,qs(t),(t.mode&U)!==H&&i!==null&&(i=t.child,i!==null&&(t.treeBaseDuration-=i.treeBaseDuration));i=!1}else i=qr(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=i),i=!0;if(!i)return t.flags&256?(va(t),t):(va(t),null)}return va(t),t.flags&128?(t.lanes=n,(t.mode&U)!==H&&Oi(t),t):(n=r!==null,e=e!==null&&e.memoizedState!==null,n&&(r=t.child,i=null,r.alternate!==null&&r.alternate.memoizedState!==null&&r.alternate.memoizedState.cachePool!==null&&(i=r.alternate.memoizedState.cachePool.pool),a=null,r.memoizedState!==null&&r.memoizedState.cachePool!==null&&(a=r.memoizedState.cachePool.pool),a!==i&&(r.flags|=2048)),n!==e&&n&&(t.child.flags|=8192),Gs(t,t.updateQueue),qs(t),(t.mode&U)!==H&&n&&(e=t.child,e!==null&&(t.treeBaseDuration-=e.treeBaseDuration)),null);case 4:return fe(t),e===null&&pu(t.stateNode.containerInfo),qs(t),null;case 10:return Qr(t.type,t),qs(t),null;case 19:if(le(my,t),r=t.memoizedState,r===null)return qs(t),null;if(i=!!(t.flags&128),a=r.rendering,a===null){if(i)Ks(r,!1);else{if(sx!==Rb||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(a=ya(e),a!==null){for(t.flags|=128,Ks(r,!1),e=a.updateQueue,t.updateQueue=e,Gs(t,e),t.subtreeFlags=0,e=n,n=t.child;n!==null;)wr(n,e),n=n.sibling;return C(my,my.current&fy|py,t),W&&Mr(t,r.treeForkCount),t.child}e=e.sibling}r.tail!==null&&wp()>yx&&(t.flags|=128,i=!0,Ks(r,!1),t.lanes=4194304)}}else{if(!i){if(e=ya(a),e!==null){if(t.flags|=128,i=!0,e=e.updateQueue,t.updateQueue=e,Gs(t,e),Ks(r,!0),r.tail===null&&r.tailMode===`hidden`&&!a.alternate&&!W)return qs(t),null}else 2*wp()-r.renderingStartTime>yx&&n!==536870912&&(t.flags|=128,i=!0,Ks(r,!1),t.lanes=4194304)}r.isBackwards?(a.sibling=t.child,t.child=a):(e=r.last,e===null?t.child=a:e.sibling=a,r.last=a)}return r.tail===null?(qs(t),null):(e=r.tail,r.rendering=e,r.tail=e.sibling,r.renderingStartTime=wp(),e.sibling=null,n=my.current,n=i?n&fy|py:n&fy,C(my,n,t),W&&Mr(t,r.treeForkCount),e);case 22:case 23:return va(t),pa(t),r=t.memoizedState!==null,e===null?r&&(t.flags|=8192):e.memoizedState!==null!==r&&(t.flags|=8192),r?n&536870912&&!(t.flags&128)&&(qs(t),t.subtreeFlags&6&&(t.flags|=8192)):qs(t),n=t.updateQueue,n!==null&&Gs(t,n.retryQueue),n=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(n=e.memoizedState.cachePool.pool),r=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(r=t.memoizedState.cachePool.pool),r!==n&&(t.flags|=2048),e!==null&&le(uv,t),null;case 24:return n=null,e!==null&&(n=e.memoizedState.cache),t.memoizedState.cache!==n&&(t.flags|=2048),Qr(g_,t),qs(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 Ys(e,t){switch(Fr(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,(t.mode&U)!==H&&Oi(t),t):null;case 3:return Qr(g_,t),fe(t),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return he(t),null;case 31:if(t.memoizedState!==null){if(va(t),t.alternate===null)throw Error(`Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.`);Kr()}return e=t.flags,e&65536?(t.flags=e&-65537|128,(t.mode&U)!==H&&Oi(t),t):null;case 13:if(va(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.`);Kr()}return e=t.flags,e&65536?(t.flags=e&-65537|128,(t.mode&U)!==H&&Oi(t),t):null;case 19:return le(my,t),null;case 4:return fe(t),null;case 10:return Qr(t.type,t),null;case 22:case 23:return va(t),pa(t),e!==null&&le(uv,t),e=t.flags,e&65536?(t.flags=e&-65537|128,(t.mode&U)!==H&&Oi(t),t):null;case 24:return Qr(g_,t),null;case 25:return null;default:return null}}function Xs(e,t){switch(Fr(t),t.tag){case 3:Qr(g_,t),fe(t);break;case 26:case 27:case 5:he(t);break;case 4:fe(t);break;case 31:t.memoizedState!==null&&va(t);break;case 13:va(t);break;case 19:le(my,t);break;case 10:Qr(t.type,t);break;case 22:case 23:va(t),pa(t),e!==null&&le(uv,t);break;case 24:Qr(g_,t)}}function Zs(e){return(e.mode&U)!==H}function Qs(e,t){Zs(e)?(Di(),ec(t,e),Ti()):ec(t,e)}function $s(e,t,n){Zs(e)?(Di(),tc(n,e,t),Ti()):tc(n,e,t)}function ec(e,t){try{var n=t.updateQueue,r=n===null?null:n.lastEffect;if(r!==null){var i=r.next;n=i;do{if((n.tag&e)===e&&(r=void 0,(e&_y)!==hy&&($x=!0),r=w(t,Pv,n),(e&_y)!==hy&&($x=!1),r!==void 0&&typeof r!=`function`)){var a=void 0;a=(n.tag&vy)===0?(n.tag&_y)===0?`useEffect`:`useInsertionEffect`:`useLayoutEffect`;var o=void 0;o=r===null?` You returned null. If your effect does not require clean up, return undefined (or nothing).`:typeof r.then==`function`?`
|
|
145
|
+
|
|
146
|
+
It looks like you wrote `+a+`(async () => ...) or returned a Promise. Instead, write the async function inside your effect and call it immediately:
|
|
147
|
+
|
|
148
|
+
`+a+`(() => {
|
|
149
|
+
async function fetchData() {
|
|
150
|
+
// You can await here
|
|
151
|
+
const response = await MyAPI.getData(someId);
|
|
152
|
+
// ...
|
|
153
|
+
}
|
|
154
|
+
fetchData();
|
|
155
|
+
}, [someId]); // Or [] if effect doesn't need props or state
|
|
156
|
+
|
|
157
|
+
Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fetching`:` You returned: `+r,w(t,function(e,t){console.error(`%s must not return anything besides a function, which is used for clean-up.%s`,e,t)},a,o)}n=n.next}while(n!==i)}}catch(e){P(t,t.return,e)}}function tc(e,t,n){try{var r=t.updateQueue,i=r===null?null:r.lastEffect;if(i!==null){var a=i.next;r=a;do{if((r.tag&e)===e){var o=r.inst,s=o.destroy;s!==void 0&&(o.destroy=void 0,(e&_y)!==hy&&($x=!0),i=t,w(i,Iv,i,n,s),(e&_y)!==hy&&($x=!1))}r=r.next}while(r!==a)}}catch(e){P(t,t.return,e)}}function nc(e,t){Zs(e)?(Di(),ec(t,e),Ti()):ec(t,e)}function rc(e,t,n){Zs(e)?(Di(),tc(n,e,t),Ti()):tc(n,e,t)}function ic(e){var t=e.updateQueue;if(t!==null){var n=e.stateNode;e.type.defaultProps||`ref`in e.memoizedProps||pb||(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.",S(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.",S(e)||`instance`));try{w(e,ua,t,n)}catch(t){P(e,e.return,t)}}}function ac(e,t,n){return e.getSnapshotBeforeUpdate(t,n)}function oc(e,t){var n=t.memoizedProps,r=t.memoizedState;t=e.stateNode,e.type.defaultProps||`ref`in e.memoizedProps||pb||(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.",S(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.",S(e)||`instance`));try{var i=rs(e.type,n),a=w(e,ac,t,i,r);n=vb,a!==void 0||n.has(e.type)||(n.add(e.type),w(e,function(){console.error(`%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.`,S(e))})),t.__reactInternalSnapshotBeforeUpdate=a}catch(t){P(e,e.return,t)}}function sc(e,t,n){n.props=rs(e.type,e.memoizedProps),n.state=e.memoizedState,Zs(e)?(Di(),w(e,Mv,e,t,n),Ti()):w(e,Mv,e,t,n)}function cc(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(Zs(e))try{Di(),e.refCleanup=t(n)}finally{Ti()}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().`,S(e)),t.current=n}}function lc(e,t){try{w(e,cc,e)}catch(n){P(e,t,n)}}function uc(e,t){var n=e.ref,r=e.refCleanup;if(n!==null){if(typeof r==`function`)try{if(Zs(e))try{Di(),w(e,r)}finally{Ti(e)}else w(e,r)}catch(n){P(e,t,n)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof n==`function`)try{if(Zs(e))try{Di(),w(e,n,null)}finally{Ti(e)}else w(e,n,null)}catch(n){P(e,t,n)}else n.current=null}}function dc(e,t,n,r){var i=e.memoizedProps,a=i.id,o=i.onCommit;i=i.onRender,t=t===null?`mount`:`update`,rv&&(t=`nested-update`),typeof i==`function`&&i(a,t,e.actualDuration,e.treeBaseDuration,e.actualStartTime,n),typeof o==`function`&&o(a,t,r,n)}function fc(e,t,n,r){var i=e.memoizedProps;e=i.id,i=i.onPostCommit,t=t===null?`mount`:`update`,rv&&(t=`nested-update`),typeof i==`function`&&i(e,t,r,n)}function pc(e){var t=e.type,n=e.memoizedProps,r=e.stateNode;try{w(e,Xu,r,t,n,e)}catch(t){P(e,e.return,t)}}function mc(e,t,n){try{w(e,Qu,e.stateNode,e.type,n,t,e)}catch(t){P(e,e.return,t)}}function hc(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&nd(e.type)||e.tag===4}function gc(e){a:for(;;){for(;e.sibling===null;){if(e.return===null||hc(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&&nd(e.type)||e.flags&2||e.child===null||e.tag===4)continue a;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function _c(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?(td(n),(n.nodeType===9?n.body:n.nodeName===`HTML`?n.ownerDocument.body:n).insertBefore(e,t)):(td(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=sn));else if(r!==4&&(r===27&&nd(e.type)&&(n=e.stateNode,t=null),e=e.child,e!==null))for(_c(e,t,n),e=e.sibling;e!==null;)_c(e,t,n),e=e.sibling}function vc(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(r===27&&nd(e.type)&&(n=e.stateNode),e=e.child,e!==null))for(vc(e,t,n),e=e.sibling;e!==null;)vc(e,t,n),e=e.sibling}function yc(e){for(var t,n=e.return;n!==null;){if(hc(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=gc(e),vc(e,n,t);break;case 5:n=t.stateNode,t.flags&32&&($u(n),t.flags&=-33),t=gc(e),vc(e,t,n);break;case 3:case 4:t=t.stateNode.containerInfo,n=gc(e),_c(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 bc(e){var t=e.stateNode,n=e.memoizedProps;try{w(e,kd,e.type,n,t,e)}catch(t){P(e,e.return,t)}}function xc(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)}function Sc(e,t){if(e=e.containerInfo,KS=LC,e=Bn(e),Vn(e)){if(`selectionStart`in e)var n={start:e.selectionStart,end:e.selectionEnd};else a:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var i=r.anchorOffset,a=r.focusNode;r=r.focusOffset;try{n.nodeType,a.nodeType}catch{n=null;break a}var o=0,s=-1,c=-1,l=0,u=0,d=e,f=null;b:for(;;){for(var p;d!==n||i!==0&&d.nodeType!==3||(s=o+i),d!==a||r!==0&&d.nodeType!==3||(c=o+r),d.nodeType===3&&(o+=d.nodeValue.length),(p=d.firstChild)!==null;)f=d,d=p;for(;;){if(d===e)break b;if(f===n&&++l===i&&(s=o),f===a&&++u===r&&(c=o),(p=d.nextSibling)!==null)break;d=f,f=d.parentNode}d=p}n=s===-1||c===-1?null:{start:s,end:c}}else n=null}n||={start:0,end:0}}else n=null;for(qS={focusedElem:e,selectionRange:n},LC=!1,Cb=t;Cb!==null;)if(t=Cb,e=t.child,t.subtreeFlags&1028&&e!==null)e.return=t,Cb=e;else for(;Cb!==null;){switch(e=t=Cb,n=e.alternate,i=e.flags,e.tag){case 0:if(i&4&&(e=e.updateQueue,e=e===null?null:e.events,e!==null))for(n=0;n<e.length;n++)i=e[n],i.ref.impl=i.nextImpl;break;case 11:case 15:break;case 1:i&1024&&n!==null&&oc(e,n);break;case 3:if(i&1024){if(e=e.stateNode.containerInfo,n=e.nodeType,n===9)pd(e);else if(n===1)switch(e.nodeName){case`HEAD`:case`HTML`:case`BODY`:pd(e);break;default:e.textContent=``}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if(i&1024)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,Cb=e;break}Cb=t.return}}function Cc(e,t,n){var r=gi(),i=vi(),a=bi(),o=xi(),s=n.flags;switch(n.tag){case 0:case 11:case 15:Fc(e,n),s&4&&Qs(n,vy|gy);break;case 1:if(Fc(e,n),s&4){if(e=n.stateNode,t===null)n.type.defaultProps||`ref`in n.memoizedProps||pb||(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.",S(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.",S(n)||`instance`)),Zs(n)?(Di(),w(n,Ev,n,e),Ti()):w(n,Ev,n,e);else{var c=rs(n.type,t.memoizedProps);t=t.memoizedState,n.type.defaultProps||`ref`in n.memoizedProps||pb||(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.",S(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.",S(n)||`instance`)),Zs(n)?(Di(),w(n,Ov,n,e,c,t,e.__reactInternalSnapshotBeforeUpdate),Ti()):w(n,Ov,n,e,c,t,e.__reactInternalSnapshotBeforeUpdate)}}s&64&&ic(n),s&512&&lc(n,n.return);break;case 3:if(t=fi(),Fc(e,n),s&64&&(s=n.updateQueue,s!==null)){if(c=null,n.child!==null)switch(n.child.tag){case 27:case 5:c=n.child.stateNode;break;case 1:c=n.child.stateNode}try{w(n,ua,s,c)}catch(e){P(n,n.return,e)}}e.effectDuration+=pi(t);break;case 27:t===null&&s&4&&bc(n);case 26:case 5:if(Fc(e,n),t===null){if(s&4)pc(n);else if(s&64){e=n.type,t=n.memoizedProps,c=n.stateNode;try{w(n,Zu,c,e,t,n)}catch(e){P(n,n.return,e)}}}s&512&&lc(n,n.return);break;case 12:if(s&4){s=fi(),Fc(e,n),e=n.stateNode,e.effectDuration+=mi(s);try{w(n,dc,n,t,S_,e.effectDuration)}catch(e){P(n,n.return,e)}}else Fc(e,n);break;case 31:Fc(e,n),s&4&&Dc(e,n);break;case 13:Fc(e,n),s&4&&Oc(e,n),s&64&&(e=n.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(s=Hl.bind(null,n),yd(e,s))));break;case 22:if(s=n.memoizedState!==null||yb,!s){t=t!==null&&t.memoizedState!==null||bb,c=yb;var l=bb;yb=s,(bb=t)&&!l?(zc(e,n,!!(n.subtreeFlags&8772)),(n.mode&U)!==H&&0<=G&&0<=K&&.05<K-G&&Qn(n,G,K)):Fc(e,n),yb=c,bb=l}break;case 30:break;default:Fc(e,n)}(n.mode&U)!==H&&0<=G&&0<=K&&((k_||.05<D_)&&tr(n,G,K,D_,O_),n.alternate===null&&n.return!==null&&n.return.alternate!==null&&.05<K-G&&(xc(n.return.alternate,n.return)||Zn(n,G,K,`Mount`))),_i(r),yi(i),O_=a,k_=o}function wc(e){var t=e.alternate;t!==null&&(e.alternate=null,wc(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&Ze(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 Tc(e,t,n){for(n=n.child;n!==null;)Ec(e,t,n),n=n.sibling}function Ec(e,t,n){if(Pp&&typeof Pp.onCommitFiberUnmount==`function`)try{Pp.onCommitFiberUnmount(Np,n)}catch(e){Fp||(Fp=!0,console.error(`React instrumentation encountered an error: %o`,e))}var r=gi(),i=vi(),a=bi(),o=xi();switch(n.tag){case 26:bb||uc(n,t),Tc(e,t,n),n.memoizedState?n.memoizedState.count--:n.stateNode&&(e=n.stateNode,e.parentNode.removeChild(e));break;case 27:bb||uc(n,t);var s=Eb,c=Db;nd(n.type)&&(Eb=n.stateNode,Db=!1),Tc(e,t,n),w(n,Ad,n.stateNode),Eb=s,Db=c;break;case 5:bb||uc(n,t);case 6:if(s=Eb,c=Db,Eb=null,Tc(e,t,n),Eb=s,Db=c,Eb!==null){if(Db)try{w(n,id,Eb,n.stateNode)}catch(e){P(n,t,e)}else try{w(n,rd,Eb,n.stateNode)}catch(e){P(n,t,e)}}break;case 18:Eb!==null&&(Db?(e=Eb,ad(e.nodeType===9?e.body:e.nodeName===`HTML`?e.ownerDocument.body:e,n.stateNode),Tf(e)):ad(Eb,n.stateNode));break;case 4:s=Eb,c=Db,Eb=n.stateNode.containerInfo,Db=!0,Tc(e,t,n),Eb=s,Db=c;break;case 0:case 11:case 14:case 15:tc(_y,n,t),bb||$s(n,t,vy),Tc(e,t,n);break;case 1:bb||(uc(n,t),s=n.stateNode,typeof s.componentWillUnmount==`function`&&sc(n,t,s)),Tc(e,t,n);break;case 21:Tc(e,t,n);break;case 22:bb=(s=bb)||n.memoizedState!==null,Tc(e,t,n),bb=s;break;default:Tc(e,t,n)}(n.mode&U)!==H&&0<=G&&0<=K&&(k_||.05<D_)&&tr(n,G,K,D_,O_),_i(r),yi(i),O_=a,k_=o}function Dc(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null))){e=e.dehydrated;try{w(t,Ed,e)}catch(e){P(t,t.return,e)}}}function Oc(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{w(t,Dd,e)}catch(e){P(t,t.return,e)}}function kc(e){switch(e.tag){case 31:case 13:case 19:var t=e.stateNode;return t===null&&(t=e.stateNode=new Sb),t;case 22:return e=e.stateNode,t=e._retryCache,t===null&&(t=e._retryCache=new Sb),t;default:throw Error(`Unexpected Suspense handler tag (`+e.tag+`). This is a bug in React.`)}}function Ac(e,t){var n=kc(e);t.forEach(function(t){if(!n.has(t)){if(n.add(t),Ip){if(wb!==null&&Tb!==null)Jl(Tb,wb);else throw Error(`Expected finished root and lanes to be set. This is a bug in React.`)}var r=Ul.bind(null,e,t);t.then(r,r)}})}function jc(e,t){var n=t.deletions;if(n!==null)for(var r=0;r<n.length;r++){var i=e,a=t,o=n[r],s=gi(),c=a;a:for(;c!==null;){switch(c.tag){case 27:if(nd(c.type)){Eb=c.stateNode,Db=!1;break a}break;case 5:Eb=c.stateNode,Db=!1;break a;case 3:case 4:Eb=c.stateNode.containerInfo,Db=!0;break a}c=c.return}if(Eb===null)throw Error(`Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.`);Ec(i,a,o),Eb=null,Db=!1,(o.mode&U)!==H&&0<=G&&0<=K&&.05<K-G&&Zn(o,G,K,`Unmount`),_i(s),i=o,a=i.alternate,a!==null&&(a.return=null),i.return=null}if(t.subtreeFlags&13886)for(t=t.child;t!==null;)Mc(t,e),t=t.sibling}function Mc(e,t){var n=gi(),r=vi(),i=bi(),a=xi(),o=e.alternate,s=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:jc(t,e),Nc(e),s&4&&(tc(_y|gy,e,e.return),ec(_y|gy,e),$s(e,e.return,vy|gy));break;case 1:if(jc(t,e),Nc(e),s&512&&(bb||o===null||uc(o,o.return)),s&64&&yb&&(s=e.updateQueue,s!==null&&(o=s.callbacks,o!==null))){var c=s.shared.hiddenCallbacks;s.shared.hiddenCallbacks=c===null?o:c.concat(o)}break;case 26:if(c=Ob,jc(t,e),Nc(e),s&512&&(bb||o===null||uc(o,o.return)),s&4){var l=o===null?null:o.memoizedState;if(s=e.memoizedState,o===null){if(s===null){if(e.stateNode===null){a:{s=e.type,o=e.memoizedProps,c=c.ownerDocument||c;b:switch(s){case`title`:l=c.getElementsByTagName(`title`)[0],(!l||l[tm]||l[Jp]||l.namespaceURI===Rm||l.hasAttribute(`itemprop`))&&(l=c.createElement(s),c.head.insertBefore(l,c.querySelector(`head > title`))),Ou(l,s,o),l[Jp]=e,nt(l),s=l;break a;case`link`:var u=Gd(`link`,`href`,c).get(s+(o.href||``));if(u){for(var d=0;d<u.length;d++)if(l=u[d],l.getAttribute(`href`)===(o.href==null||o.href===``?null:o.href)&&l.getAttribute(`rel`)===(o.rel==null?null:o.rel)&&l.getAttribute(`title`)===(o.title==null?null:o.title)&&l.getAttribute(`crossorigin`)===(o.crossOrigin==null?null:o.crossOrigin)){u.splice(d,1);break b}}l=c.createElement(s),Ou(l,s,o),c.head.appendChild(l);break;case`meta`:if(u=Gd(`meta`,`content`,c).get(s+(o.content||``))){for(d=0;d<u.length;d++)if(l=u[d],T(o.content,`content`),l.getAttribute(`content`)===(o.content==null?null:``+o.content)&&l.getAttribute(`name`)===(o.name==null?null:o.name)&&l.getAttribute(`property`)===(o.property==null?null:o.property)&&l.getAttribute(`http-equiv`)===(o.httpEquiv==null?null:o.httpEquiv)&&l.getAttribute(`charset`)===(o.charSet==null?null:o.charSet)){u.splice(d,1);break b}}l=c.createElement(s),Ou(l,s,o),c.head.appendChild(l);break;default:throw Error(`getNodesForType encountered a type it did not expect: "`+s+`". This is a bug in React.`)}l[Jp]=e,nt(l),s=l}e.stateNode=s}else Kd(c,e.type,e.stateNode)}else e.stateNode=Vd(c,s,e.memoizedProps)}else l===s?s===null&&e.stateNode!==null&&mc(e,e.memoizedProps,o.memoizedProps):(l===null?o.stateNode!==null&&(o=o.stateNode,o.parentNode.removeChild(o)):l.count--,s===null?Kd(c,e.type,e.stateNode):Vd(c,s,e.memoizedProps))}break;case 27:jc(t,e),Nc(e),s&512&&(bb||o===null||uc(o,o.return)),o!==null&&s&4&&mc(e,e.memoizedProps,o.memoizedProps);break;case 5:if(jc(t,e),Nc(e),s&512&&(bb||o===null||uc(o,o.return)),e.flags&32){c=e.stateNode;try{w(e,$u,c)}catch(t){P(e,e.return,t)}}s&4&&e.stateNode!=null&&(c=e.memoizedProps,mc(e,c,o===null?c:o.memoizedProps)),s&1024&&(xb=!0,e.type!==`form`&&console.error(`Unexpected host component type. Expected a form. This is a bug in React.`));break;case 6:if(jc(t,e),Nc(e),s&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.`);s=e.memoizedProps,o=o===null?s:o.memoizedProps,c=e.stateNode;try{w(e,ed,c,o,s)}catch(t){P(e,e.return,t)}}break;case 3:if(c=fi(),fC=null,l=Ob,Ob=jd(t.containerInfo),jc(t,e),Ob=l,Nc(e),s&4&&o!==null&&o.memoizedState.isDehydrated)try{w(e,Td,t.containerInfo)}catch(t){P(e,e.return,t)}xb&&(xb=!1,Pc(e)),t.effectDuration+=pi(c);break;case 4:s=Ob,Ob=jd(e.stateNode.containerInfo),jc(t,e),Nc(e),Ob=s;break;case 12:s=fi(),jc(t,e),Nc(e),e.stateNode.effectDuration+=mi(s);break;case 31:jc(t,e),Nc(e),s&4&&(s=e.updateQueue,s!==null&&(e.updateQueue=null,Ac(e,s)));break;case 13:jc(t,e),Nc(e),e.child.flags&8192&&e.memoizedState!==null!=(o!==null&&o.memoizedState!==null)&&(gx=wp()),s&4&&(s=e.updateQueue,s!==null&&(e.updateQueue=null,Ac(e,s)));break;case 22:c=e.memoizedState!==null;var f=o!==null&&o.memoizedState!==null,p=yb,m=bb;if(yb=p||c,bb=m||f,jc(t,e),bb=m,yb=p,f&&!c&&!p&&!m&&(e.mode&U)!==H&&0<=G&&0<=K&&.05<K-G&&Qn(e,G,K),Nc(e),s&8192)a:for(t=e.stateNode,t._visibility=c?t._visibility&~jg:t._visibility|jg,!c||o===null||f||yb||bb||(Lc(e),(e.mode&U)!==H&&0<=G&&0<=K&&.05<K-G&&Zn(e,G,K,`Disconnect`)),o=null,t=e;;){if(t.tag===5||t.tag===26){if(o===null){f=o=t;try{l=f.stateNode,c?w(f,cd,l):w(f,dd,f.stateNode,f.memoizedProps)}catch(e){P(f,f.return,e)}}}else if(t.tag===6){if(o===null){f=t;try{u=f.stateNode,c?w(f,ld,u):w(f,fd,u,f.memoizedProps)}catch(e){P(f,f.return,e)}}}else if(t.tag===18){if(o===null){f=t;try{d=f.stateNode,c?w(f,sd,d):w(f,ud,f.stateNode)}catch(e){P(f,f.return,e)}}}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 a;for(;t.sibling===null;){if(t.return===null||t.return===e)break a;o===t&&(o=null),t=t.return}o===t&&(o=null),t.sibling.return=t.return,t=t.sibling}s&4&&(s=e.updateQueue,s!==null&&(o=s.retryQueue,o!==null&&(s.retryQueue=null,Ac(e,o))));break;case 19:jc(t,e),Nc(e),s&4&&(s=e.updateQueue,s!==null&&(e.updateQueue=null,Ac(e,s)));break;case 30:break;case 21:break;default:jc(t,e),Nc(e)}(e.mode&U)!==H&&0<=G&&0<=K&&((k_||.05<D_)&&tr(e,G,K,D_,O_),e.alternate===null&&e.return!==null&&e.return.alternate!==null&&.05<K-G&&(xc(e.return.alternate,e.return)||Zn(e,G,K,`Mount`))),_i(n),yi(r),O_=i,k_=a}function Nc(e){var t=e.flags;if(t&2){try{w(e,yc,e)}catch(t){P(e,e.return,t)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function Pc(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var t=e;Pc(t),t.tag===5&&t.flags&1024&&t.stateNode.reset(),e=e.sibling}}function Fc(e,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)Cc(e,t.alternate,t),t=t.sibling}function Ic(e){var t=gi(),n=vi(),r=bi(),i=xi();switch(e.tag){case 0:case 11:case 14:case 15:$s(e,e.return,vy),Lc(e);break;case 1:uc(e,e.return);var a=e.stateNode;typeof a.componentWillUnmount==`function`&&sc(e,e.return,a),Lc(e);break;case 27:w(e,Ad,e.stateNode);case 26:case 5:uc(e,e.return),Lc(e);break;case 22:e.memoizedState===null&&Lc(e);break;case 30:Lc(e);break;default:Lc(e)}(e.mode&U)!==H&&0<=G&&0<=K&&(k_||.05<D_)&&tr(e,G,K,D_,O_),_i(t),yi(n),O_=r,k_=i}function Lc(e){for(e=e.child;e!==null;)Ic(e),e=e.sibling}function Rc(e,t,n,r){var i=gi(),a=vi(),o=bi(),s=xi(),c=n.flags;switch(n.tag){case 0:case 11:case 15:zc(e,n,r),Qs(n,vy);break;case 1:if(zc(e,n,r),t=n.stateNode,typeof t.componentDidMount==`function`&&w(n,Ev,n,t),t=n.updateQueue,t!==null){e=n.stateNode;try{w(n,la,t,e)}catch(e){P(n,n.return,e)}}r&&c&64&&ic(n),lc(n,n.return);break;case 27:bc(n);case 26:case 5:zc(e,n,r),r&&t===null&&c&4&&pc(n),lc(n,n.return);break;case 12:if(r&&c&4){c=fi(),zc(e,n,r),r=n.stateNode,r.effectDuration+=mi(c);try{w(n,dc,n,t,S_,r.effectDuration)}catch(e){P(n,n.return,e)}}else zc(e,n,r);break;case 31:zc(e,n,r),r&&c&4&&Dc(e,n);break;case 13:zc(e,n,r),r&&c&4&&Oc(e,n);break;case 22:n.memoizedState===null&&zc(e,n,r),lc(n,n.return);break;case 30:break;default:zc(e,n,r)}(n.mode&U)!==H&&0<=G&&0<=K&&(k_||.05<D_)&&tr(n,G,K,D_,O_),_i(i),yi(a),O_=o,k_=s}function zc(e,t,n){for(n&&=!!(t.subtreeFlags&8772),t=t.child;t!==null;)Rc(e,t.alternate,t,n),t=t.sibling}function Bc(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&&ci(e),n!=null&&li(n))}function Vc(e,t){e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(ci(t),e!=null&&li(e))}function Hc(e,t,n,r,i){if(t.subtreeFlags&10256||t.actualDuration!==0&&(t.alternate===null||t.alternate.child!==t.child))for(t=t.child;t!==null;){var a=t.sibling;Uc(e,t,n,r,a===null?i:a.actualStartTime),t=a}}function Uc(e,t,n,r,i){var a=gi(),o=vi(),s=bi(),c=xi(),l=Tg,u=t.flags;switch(t.tag){case 0:case 11:case 15:(t.mode&U)!==H&&0<t.actualStartTime&&t.flags&1&&$n(t,t.actualStartTime,i,kb,n),Hc(e,t,n,r,i),u&2048&&nc(t,yy|gy);break;case 1:(t.mode&U)!==H&&0<t.actualStartTime&&(t.flags&128?er(t,t.actualStartTime,i,[]):t.flags&1&&$n(t,t.actualStartTime,i,kb,n)),Hc(e,t,n,r,i);break;case 3:var d=fi(),f=kb;kb=t.alternate!==null&&t.alternate.memoizedState.isDehydrated&&!(t.flags&256),Hc(e,t,n,r,i),kb=f,u&2048&&(n=null,t.alternate!==null&&(n=t.alternate.memoizedState.cache),r=t.memoizedState.cache,r!==n&&(ci(r),n!=null&&li(n))),e.passiveEffectDuration+=pi(d);break;case 12:if(u&2048){u=fi(),Hc(e,t,n,r,i),e=t.stateNode,e.passiveEffectDuration+=mi(u);try{w(t,fc,t,t.alternate,S_,e.passiveEffectDuration)}catch(e){P(t,t.return,e)}}else Hc(e,t,n,r,i);break;case 31:u=kb,d=t.alternate===null?null:t.alternate.memoizedState,f=t.memoizedState,d!==null&&f===null?(f=t.deletions,f!==null&&0<f.length&&f[0].tag===18?(kb=!1,d=d.hydrationErrors,d!==null&&er(t,t.actualStartTime,i,d)):kb=!0):kb=!1,Hc(e,t,n,r,i),kb=u;break;case 13:u=kb,d=t.alternate===null?null:t.alternate.memoizedState,f=t.memoizedState,d===null||d.dehydrated===null||f!==null&&f.dehydrated!==null?kb=!1:(f=t.deletions,f!==null&&0<f.length&&f[0].tag===18?(kb=!1,d=d.hydrationErrors,d!==null&&er(t,t.actualStartTime,i,d)):kb=!0),Hc(e,t,n,r,i),kb=u;break;case 23:break;case 22:f=t.stateNode,d=t.alternate,t.memoizedState===null?f._visibility&Mg?Hc(e,t,n,r,i):(f._visibility|=Mg,Wc(e,t,n,r,!!(t.subtreeFlags&10256)||t.actualDuration!==0&&(t.alternate===null||t.alternate.child!==t.child),i),(t.mode&U)===H||kb||(e=t.actualStartTime,0<=e&&.05<i-e&&Qn(t,e,i),0<=G&&0<=K&&.05<K-G&&Qn(t,G,K))):f._visibility&Mg?Hc(e,t,n,r,i):Kc(e,t,n,r,i),u&2048&&Bc(d,t);break;case 24:Hc(e,t,n,r,i),u&2048&&Vc(t.alternate,t);break;default:Hc(e,t,n,r,i)}(t.mode&U)!==H&&((e=!kb&&t.alternate===null&&t.return!==null&&t.return.alternate!==null)&&(n=t.actualStartTime,0<=n&&.05<i-n&&Zn(t,n,i,`Mount`)),0<=G&&0<=K&&((k_||.05<D_)&&tr(t,G,K,D_,O_),e&&.05<K-G&&Zn(t,G,K,`Mount`))),_i(a),yi(o),O_=s,k_=c,Tg=l}function Wc(e,t,n,r,i,a){for(i&&=!!(t.subtreeFlags&10256)||t.actualDuration!==0&&(t.alternate===null||t.alternate.child!==t.child),t=t.child;t!==null;){var o=t.sibling;Gc(e,t,n,r,i,o===null?a:o.actualStartTime),t=o}}function Gc(e,t,n,r,i,a){var o=gi(),s=vi(),c=bi(),l=xi(),u=Tg;i&&(t.mode&U)!==H&&0<t.actualStartTime&&t.flags&1&&$n(t,t.actualStartTime,a,kb,n);var d=t.flags;switch(t.tag){case 0:case 11:case 15:Wc(e,t,n,r,i,a),nc(t,yy);break;case 23:break;case 22:var f=t.stateNode;t.memoizedState===null?(f._visibility|=Mg,Wc(e,t,n,r,i,a)):f._visibility&Mg?Wc(e,t,n,r,i,a):Kc(e,t,n,r,a),i&&d&2048&&Bc(t.alternate,t);break;case 24:Wc(e,t,n,r,i,a),i&&d&2048&&Vc(t.alternate,t);break;default:Wc(e,t,n,r,i,a)}(t.mode&U)!==H&&0<=G&&0<=K&&(k_||.05<D_)&&tr(t,G,K,D_,O_),_i(o),yi(s),O_=c,k_=l,Tg=u}function Kc(e,t,n,r,i){if(t.subtreeFlags&10256||t.actualDuration!==0&&(t.alternate===null||t.alternate.child!==t.child))for(var a=t.child;a!==null;){t=a.sibling;var o=e,s=n,c=r,l=t===null?i:t.actualStartTime,u=Tg;(a.mode&U)!==H&&0<a.actualStartTime&&a.flags&1&&$n(a,a.actualStartTime,l,kb,s);var d=a.flags;switch(a.tag){case 22:Kc(o,a,s,c,l),d&2048&&Bc(a.alternate,a);break;case 24:Kc(o,a,s,c,l),d&2048&&Vc(a.alternate,a);break;default:Kc(o,a,s,c,l)}Tg=u,a=t}}function qc(e,t,n){if(e.subtreeFlags&Ab)for(e=e.child;e!==null;)Jc(e,t,n),e=e.sibling}function Jc(e,t,n){switch(e.tag){case 26:qc(e,t,n),e.flags&Ab&&e.memoizedState!==null&&Yd(n,Ob,e.memoizedState,e.memoizedProps);break;case 5:qc(e,t,n);break;case 3:case 4:var r=Ob;Ob=jd(e.stateNode.containerInfo),qc(e,t,n),Ob=r;break;case 22:e.memoizedState===null&&(r=e.alternate,r!==null&&r.memoizedState!==null?(r=Ab,Ab=16777216,qc(e,t,n),Ab=r):qc(e,t,n));break;default:qc(e,t,n)}}function Yc(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 Xc(e){var t=e.deletions;if(e.flags&16){if(t!==null)for(var n=0;n<t.length;n++){var r=t[n],i=gi();Cb=r,el(r,e),(r.mode&U)!==H&&0<=G&&0<=K&&.05<K-G&&Zn(r,G,K,`Unmount`),_i(i)}Yc(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)Zc(e),e=e.sibling}function Zc(e){var t=gi(),n=vi(),r=bi(),i=xi();switch(e.tag){case 0:case 11:case 15:Xc(e),e.flags&2048&&rc(e,e.return,yy|gy);break;case 3:var a=fi();Xc(e),e.stateNode.passiveEffectDuration+=pi(a);break;case 12:a=fi(),Xc(e),e.stateNode.passiveEffectDuration+=mi(a);break;case 22:a=e.stateNode,e.memoizedState!==null&&a._visibility&Mg&&(e.return===null||e.return.tag!==13)?(a._visibility&=~Mg,Qc(e),(e.mode&U)!==H&&0<=G&&0<=K&&.05<K-G&&Zn(e,G,K,`Disconnect`)):Xc(e);break;default:Xc(e)}(e.mode&U)!==H&&0<=G&&0<=K&&(k_||.05<D_)&&tr(e,G,K,D_,O_),_i(t),yi(n),k_=i,O_=r}function Qc(e){var t=e.deletions;if(e.flags&16){if(t!==null)for(var n=0;n<t.length;n++){var r=t[n],i=gi();Cb=r,el(r,e),(r.mode&U)!==H&&0<=G&&0<=K&&.05<K-G&&Zn(r,G,K,`Unmount`),_i(i)}Yc(e)}for(e=e.child;e!==null;)$c(e),e=e.sibling}function $c(e){var t=gi(),n=vi(),r=bi(),i=xi();switch(e.tag){case 0:case 11:case 15:rc(e,e.return,yy),Qc(e);break;case 22:var a=e.stateNode;a._visibility&Mg&&(a._visibility&=~Mg,Qc(e));break;default:Qc(e)}(e.mode&U)!==H&&0<=G&&0<=K&&(k_||.05<D_)&&tr(e,G,K,D_,O_),_i(t),yi(n),k_=i,O_=r}function el(e,t){for(;Cb!==null;){var n=Cb,r=n,i=t,a=gi(),o=vi(),s=bi(),c=xi();switch(r.tag){case 0:case 11:case 15:rc(r,i,yy);break;case 23:case 22:r.memoizedState!==null&&r.memoizedState.cachePool!==null&&(i=r.memoizedState.cachePool.pool,i!=null&&ci(i));break;case 24:li(r.memoizedState.cache)}if((r.mode&U)!==H&&0<=G&&0<=K&&(k_||.05<D_)&&tr(r,G,K,D_,O_),_i(a),yi(o),k_=c,O_=s,r=n.child,r!==null)r.return=n,Cb=r;else a:for(n=e;Cb!==null;){if(r=Cb,a=r.sibling,o=r.return,wc(r),r===n){Cb=null;break a}if(a!==null){a.return=o,Cb=a;break a}Cb=o}}}function tl(){Nb.forEach(function(e){return e()})}function nl(){var e=typeof IS_REACT_ACT_ENVIRONMENT<`u`?IS_REACT_ACT_ENVIRONMENT:void 0;return e||R.actQueue===null||console.error(`The current testing environment is not configured to support act(...)`),e}function rl(e){if((X&Ib)!==Fb&&Q!==0)return Q&-Q;var t=R.T;return t===null?Ye():(t._updatedFibers||=new Set,t._updatedFibers.add(e),ou())}function il(){if(dx===0){if(!(Q&536870912)||W){var e=Vp;Vp<<=1,!(Vp&3932160)&&(Vp=262144),dx=e}else dx=536870912}return e=uy.current,e!==null&&(e.flags|=32),dx}function al(e,t,n){if($x&&console.error(`useInsertionEffect must not schedule updates.`),Jx&&(Yx=!0),(e===Gb&&($===Jb||$===tx)||e.cancelPendingCommit!==null)&&(pl(e,0),ll(e,Q,dx,!1)),Ve(e,n),(X&Ib)!==Fb&&e===Gb){if(vp)switch(t.tag){case 0:case 11:case 15:e=Z&&S(Z)||`Unknown`,nS.has(e)||(nS.add(e),t=S(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:tS||=(console.error("Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state."),!0)}}else Ip&&Ke(e,t,n),Xl(t),e===Gb&&((X&Ib)===Fb&&(lx|=n),sx===Hb&&ll(e,Q,dx,!1)),Zl(e)}function ol(e,t,n){if((X&(Ib|Lb))!==Fb)throw Error(`Should not already be working.`);if(Q!==0&&Z!==null){var r=Z,i=wp();switch(tv){case Yb:case Jb:var a=nv;Cg&&((r=r._debugTask)?r.run(console.timeStamp.bind(console,`Suspended`,a,i,wg,void 0,`primary-light`)):console.timeStamp(`Suspended`,a,i,wg,void 0,`primary-light`));break;case tx:a=nv,Cg&&((r=r._debugTask)?r.run(console.timeStamp.bind(console,`Action`,a,i,wg,void 0,`primary-light`)):console.timeStamp(`Action`,a,i,wg,void 0,`primary-light`));break;default:Cg&&(r=i-nv,3>r||console.timeStamp(`Blocked`,nv,i,wg,void 0,5>r?`primary-light`:10>r?`primary`:100>r?`primary-dark`:`error`))}}a=(n=!n&&!(t&127)&&(t&e.expiredLanes)===0||Le(e,t))?Sl(e,t):bl(e,t,!0);var o=n;do{if(a===Rb){ix&&!n&&ll(e,t,0,!1),t=$,nv=__(),tv=t;break}if(r=wp(),i=e.current.alternate,o&&!cl(i)){Xn(t),i=x_,a=r,!Cg||a<=i||(Sx?Sx.run(console.timeStamp.bind(console,`Teared Render`,i,a,V,B,`error`)):console.timeStamp(`Teared Render`,i,a,V,B,`error`)),fl(t,r),a=bl(e,t,!1),o=!1;continue}if(a===Bb){if(o=t,e.errorRecoveryDisabledLanes&o)var s=0;else s=e.pendingLanes&-536870913,s=s===0?s&536870912?536870912:0:s;if(s!==0){Xn(t),or(x_,r,t,Sx),fl(t,r),t=s;a:{r=e,a=o,o=px;var c=r.current.memoizedState.isDehydrated;if(c&&(pl(r,s).flags|=256),s=bl(r,s,!1),s!==Bb){if(ax&&!c){r.errorRecoveryDisabledLanes|=a,lx|=a,a=Hb;break a}r=mx,mx=o,r!==null&&(mx===null?mx=r:mx.push.apply(mx,r))}a=s}if(o=!1,a!==Bb)continue;r=wp()}}if(a===zb){Xn(t),or(x_,r,t,Sx),fl(t,r),pl(e,0),ll(e,t,0,!0);break}a:{switch(n=e,a){case Rb:case zb:throw Error(`Root did not complete. This is a bug in React.`);case Hb:if((t&4194048)!==t)break;case Ub:Xn(t),rr(x_,r,t,Sx),fl(t,r),i=t,i&127?z_=r:i&4194048&&(X_=r),ll(n,t,dx,!rx);break a;case Bb:mx=null;break;case Vb:case Wb:break;default:throw Error(`Unknown root exit status.`)}if(R.actQueue!==null)Al(n,i,t,mx,xx,hx,dx,lx,fx,a,null,null,x_,r);else{if((t&62914560)===t&&(o=gx+vx-wp(),10<o)){if(ll(n,t,dx,!rx),Ie(n,0,!0)!==0)break a;Lx=t,n.timeoutHandle=ZS(sl.bind(null,n,i,mx,xx,hx,t,dx,lx,fx,rx,a,`Throttled`,x_,r),o);break a}sl(n,i,mx,xx,hx,t,dx,lx,fx,rx,a,null,x_,r)}}break}while(1);Zl(e)}function sl(e,t,n,r,i,a,o,s,c,l,u,d,f,p){e.timeoutHandle=$S;var m=t.subtreeFlags,h=null;if((m&8192||(m&16785408)==16785408)&&(h={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:sn},Jc(t,a,h),m=(a&62914560)===a?gx-wp():(a&4194048)===a?_x-wp():0,m=Xd(h,m),m!==null)){Lx=a,e.cancelPendingCommit=m(Al.bind(null,e,t,a,n,r,i,o,s,c,u,h,h.waitingForViewTransition?`Waiting for the previous Animation`:0<h.count?0<h.imgCount?`Suspended on CSS and Images`:`Suspended on CSS`:h.imgCount===1?`Suspended on an Image`:0<h.imgCount?`Suspended on Images`:null,f,p)),ll(e,a,o,!l);return}Al(e,t,a,n,r,i,o,s,c,u,h,d,f,p)}function cl(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 r=0;r<n.length;r++){var i=n[r],a=i.getSnapshot;i=i.value;try{if(!Kh(a(),i))return!1}catch{return!1}}if(n=t.child,t.subtreeFlags&16384&&n!==null)n.return=t,t=n;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function ll(e,t,n,r){t&=~ux,t&=~lx,e.suspendedLanes|=t,e.pingedLanes&=~t,r&&(e.warmLanes|=t),r=e.expirationTimes;for(var i=t;0<i;){var a=31-Lp(i),o=1<<a;r[a]=-1,i&=~o}n!==0&&He(e,n,t)}function ul(){return(X&(Ib|Lb))!==Fb||(Ql(0,!1),!1)}function dl(){if(Z!==null){if($===Kb)var e=Z.return;else e=Z,Xr(),Aa(e),Gv=null,Kv=0,e=Z;for(;e!==null;)Xs(e.alternate,e),e=e.return;Z=null}}function fl(e,t){e&127&&(A_=t),e&4194048&&(B_=t),e&62914560&&(Z_=t),e&2080374784&&(Q_=t)}function pl(e,t){Cg&&(console.timeStamp(`Blocking Track`,.003,.003,`Blocking`,B,`primary-light`),console.timeStamp(`Transition Track`,.003,.003,`Transition`,B,`primary-light`),console.timeStamp(`Suspense Track`,.003,.003,`Suspense`,B,`primary-light`),console.timeStamp(`Idle Track`,.003,.003,`Idle`,B,`primary-light`));var n=x_;if(x_=__(),Q!==0&&0<n){if(Xn(Q),sx===Vb||sx===Hb)rr(n,x_,t,Sx);else{var r=x_,i=Sx;if(Cg&&!(r<=n)){var a=(t&738197653)===t?`tertiary-dark`:`primary-dark`,o=(t&536870912)===t?`Prewarm`:(t&201326741)===t?`Interrupted Hydration`:`Interrupted Render`;i?i.run(console.timeStamp.bind(console,o,n,r,V,B,a)):console.timeStamp(o,n,r,V,B,a)}}fl(Q,x_)}if(n=Sx,Sx=null,t&127){Sx=M_,i=0<=j_&&j_<A_?A_:j_,r=0<=I_&&I_<A_?A_:I_,a=0<=r?r:0<=i?i:x_,0<=z_?(Xn(2),ir(z_,a,t,n)):$_&127&&(Xn(2),lr(A_,a,ev)),n=i;var s=r,c=L_,l=0<R_,u=N_===y_,d=N_===b_;if(i=x_,r=M_,a=P_,o=F_,Cg){if(V=`Blocking`,0<n?n>i&&(n=i):n=i,0<s?s>n&&(s=n):s=n,c!==null&&n>s){var f=l?`secondary-light`:`warning`;r?r.run(console.timeStamp.bind(console,l?`Consecutive`:`Event: `+c,s,n,V,B,f)):console.timeStamp(l?`Consecutive`:`Event: `+c,s,n,V,B,f)}i>n&&(s=u?`error`:(t&738197653)===t?`tertiary-light`:`primary-light`,u=d?`Promise Resolved`:u?`Cascading Update`:5<i-n?`Update Blocked`:`Update`,d=[],o!=null&&d.push([`Component name`,o]),a!=null&&d.push([`Method name`,a]),n={start:n,end:i,detail:{devtools:{properties:d,track:V,trackGroup:B,color:s}}},r?r.run(performance.measure.bind(performance,u,n)):performance.measure(u,n))}j_=-1.1,N_=0,F_=P_=null,z_=-1.1,R_=I_,I_=-1.1,A_=__()}if(t&4194048&&(Sx=W_,i=0<=V_&&V_<B_?B_:V_,n=0<=H_&&H_<B_?B_:H_,r=0<=q_&&q_<B_?B_:q_,a=0<=r?r:0<=n?n:x_,0<=X_?(Xn(256),ir(X_,a,t,Sx)):$_&4194048&&(Xn(256),lr(B_,a,ev)),d=r,s=J_,c=0<Y_,l=U_===b_,a=x_,r=W_,o=G_,u=K_,Cg&&(V=`Transition`,0<n?n>a&&(n=a):n=a,0<i?i>n&&(i=n):i=n,0<d?d>i&&(d=i):d=i,i>d&&s!==null&&(f=c?`secondary-light`:`warning`,r?r.run(console.timeStamp.bind(console,c?`Consecutive`:`Event: `+s,d,i,V,B,f)):console.timeStamp(c?`Consecutive`:`Event: `+s,d,i,V,B,f)),n>i&&(r?r.run(console.timeStamp.bind(console,`Action`,i,n,V,B,`primary-dark`)):console.timeStamp(`Action`,i,n,V,B,`primary-dark`)),a>n&&(i=l?`Promise Resolved`:5<a-n?`Update Blocked`:`Update`,d=[],u!=null&&d.push([`Component name`,u]),o!=null&&d.push([`Method name`,o]),n={start:n,end:a,detail:{devtools:{properties:d,track:V,trackGroup:B,color:`primary-light`}}},r?r.run(performance.measure.bind(performance,i,n)):performance.measure(i,n))),H_=V_=-1.1,U_=0,X_=-1.1,Y_=q_,q_=-1.1,B_=__()),t&62914560&&$_&62914560&&(Xn(4194304),lr(Z_,x_,ev)),t&2080374784&&$_&2080374784&&(Xn(268435456),lr(Q_,x_,ev)),n=e.timeoutHandle,n!==$S&&(e.timeoutHandle=$S,QS(n)),n=e.cancelPendingCommit,n!==null&&(e.cancelPendingCommit=null,n()),Lx=0,dl(),Gb=e,Z=n=Cr(e.current,null),Q=t,$=Kb,nx=null,rx=!1,ix=Le(e,t),ax=!1,sx=Rb,fx=dx=ux=lx=cx=0,mx=px=null,hx=!1,t&8&&(t|=t&32),r=e.entangledLanes,r!==0)for(e=e.entanglements,r&=t;0<r;)i=31-Lp(r),a=1<<i,t|=e[i],r&=~a;return ox=t,ur(),e=fg(),1e3<e-ug&&(R.recentlyCreatedOwnerStacks=0,ug=e),dv.discardPendingWarnings(),n}function ml(e,t){J=null,R.H=zy,R.getCurrentStack=null,vp=!1,_p=null,t===zv||t===Vv?(t=zi(),$=Yb):t===Bv?(t=zi(),$=Xb):$=t===sb?ex:typeof t==`object`&&t&&typeof t.then==`function`?Qb:qb,nx=t;var n=Z;n===null?(sx=zb,ss(e,jr(t,e.current))):n.mode&U&&Ci(n)}function hl(){var e=uy.current;return e===null?!0:(Q&4194048)===Q?dy===null:(Q&62914560)===Q||Q&536870912?e===dy:!1}function gl(){var e=R.H;return R.H=zy,e===null?zy:e}function _l(){var e=R.A;return R.A=jb,e}function vl(e){Sx===null&&(Sx=e._debugTask==null?null:e._debugTask)}function yl(){sx=Hb,rx||(Q&4194048)!==Q&&uy.current!==null||(ix=!0),!(cx&134217727)&&!(lx&134217727)||Gb===null||ll(Gb,Q,dx,!1)}function bl(e,t,n){var r=X;X|=Ib;var i=gl(),a=_l();if(Gb!==e||Q!==t){if(Ip){var o=e.memoizedUpdaters;0<o.size&&(Jl(e,Q),o.clear()),qe(e,t)}xx=null,pl(e,t)}t=!1,o=sx;a:do try{if($!==Kb&&Z!==null){var s=Z,c=nx;switch($){case ex:dl(),o=Ub;break a;case Yb:case Jb:case tx:case Qb:uy.current===null&&(t=!0);var l=$;if($=Kb,nx=null,Dl(e,s,c,l),n&&ix){o=Rb;break a}break;default:l=$,$=Kb,nx=null,Dl(e,s,c,l)}}xl(),o=sx;break}catch(t){ml(e,t)}while(1);return t&&e.shellSuspendCounter++,Xr(),X=r,R.H=i,R.A=a,Z===null&&(Gb=null,Q=0,ur()),o}function xl(){for(;Z!==null;)wl(Z)}function Sl(e,t){var n=X;X|=Ib;var r=gl(),i=_l();if(Gb!==e||Q!==t){if(Ip){var a=e.memoizedUpdaters;0<a.size&&(Jl(e,Q),a.clear()),qe(e,t)}xx=null,yx=wp()+bx,pl(e,t)}else ix=Le(e,t);a:do try{if($!==Kb&&Z!==null)b:switch(t=Z,a=nx,$){case qb:$=Kb,nx=null,Dl(e,t,a,qb);break;case Jb:case tx:if(Ii(a)){$=Kb,nx=null,Tl(t);break}t=function(){$!==Jb&&$!==tx||Gb!==e||($=$b),Zl(e)},a.then(t,t);break a;case Yb:$=$b;break a;case Xb:$=Zb;break a;case $b:Ii(a)?($=Kb,nx=null,Tl(t)):($=Kb,nx=null,Dl(e,t,a,$b));break;case Zb:var o=null;switch(Z.tag){case 26:o=Z.memoizedState;case 5:case 27:var s=Z;if(o?Jd(o):s.stateNode.complete){$=Kb,nx=null;var c=s.sibling;if(c!==null)Z=c;else{var l=s.return;l===null?Z=null:(Z=l,Ol(l))}break b}break;default:console.error(`Unexpected type of fiber triggered a suspensey commit. This is a bug in React.`)}$=Kb,nx=null,Dl(e,t,a,Zb);break;case Qb:$=Kb,nx=null,Dl(e,t,a,Qb);break;case ex:dl(),sx=Ub;break a;default:throw Error(`Unexpected SuspendedReason. This is a bug in React.`)}R.actQueue===null?Cl():xl();break}catch(t){ml(e,t)}while(1);return Xr(),R.H=r,R.A=i,X=n,Z===null?(Gb=null,Q=0,ur(),sx):Rb}function Cl(){for(;Z!==null&&!Sp();)wl(Z)}function wl(e){var t=e.alternate;(e.mode&U)===H?t=w(e,Vs,t,e,ox):(Si(e),t=w(e,Vs,t,e,ox),Ci(e)),e.memoizedProps=e.pendingProps,t===null?Ol(e):Z=t}function Tl(e){var t=w(e,El,e);e.memoizedProps=e.pendingProps,t===null?Ol(e):Z=t}function El(e){var t=e.alternate,n=(e.mode&U)!==H;switch(n&&Si(e),e.tag){case 15:case 0:t=Ts(t,e,e.pendingProps,e.type,void 0,Q);break;case 11:t=Ts(t,e,e.pendingProps,e.type.render,e.ref,Q);break;case 5:Aa(e);default:Xs(t,e),e=Z=wr(e,ox),t=Vs(t,e,ox)}return n&&Ci(e),t}function Dl(e,t,n,r){Xr(),Aa(t),Gv=null,Kv=0;var i=t.return;try{if(fs(e,i,t,n,Q)){sx=zb,ss(e,jr(n,e.current)),Z=null;return}}catch(t){if(i!==null)throw Z=i,t;sx=zb,ss(e,jr(n,e.current)),Z=null;return}t.flags&32768?(W||r===qb?e=!0:ix||Q&536870912?e=!1:(rx=e=!0,(r===Jb||r===tx||r===Yb||r===Qb)&&(r=uy.current,r!==null&&r.tag===13&&(r.flags|=16384))),kl(t,e)):Ol(t)}function Ol(e){var t=e;do{if(t.flags&32768){kl(t,rx);return}var n=t.alternate;if(e=t.return,Si(t),n=w(t,Js,n,t,ox),(t.mode&U)!==H&&wi(t),n!==null){Z=n;return}if(t=t.sibling,t!==null){Z=t;return}Z=t=e}while(t!==null);sx===Rb&&(sx=Wb)}function kl(e,t){do{var n=Ys(e.alternate,e);if(n!==null){n.flags&=32767,Z=n;return}if((e.mode&U)!==H){wi(e),n=e.actualDuration;for(var r=e.child;r!==null;)n+=r.actualDuration,r=r.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)){Z=e;return}Z=e=n}while(e!==null);sx=Ub,Z=null}function Al(e,t,n,r,i,a,o,s,c,l,u,d,f,p){e.cancelPendingCommit=null;do Il();while(Px!==Ox);if(dv.flushLegacyContextWarning(),dv.flushPendingUnsafeLifecycleWarnings(),(X&(Ib|Lb))!==Fb)throw Error(`Should not already be working.`);if(Xn(n),l===Bb?or(f,p,n,Sx):r===null?nr(f,p,n,Sx):ar(f,p,n,r,t!==null&&t.alternate!==null&&t.alternate.memoizedState.isDehydrated&&!!(t.flags&256),Sx),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(a=t.lanes|t.childLanes,a|=Fg,D(e,n,a,o,s,c),e===Gb&&(Z=Gb=null,Q=0),Ix=t,Fx=e,Lx=n,Rx=a,Bx=i,Vx=r,zx=p,Hx=d,Ux=wx,Wx=null,t.actualDuration!==0||t.subtreeFlags&10256||t.flags&10256?(e.callbackNode=null,e.callbackPriority=0,Yl(Op,function(){return XS=window.event,Ux===wx&&(Ux=Ex),Ll(),null})):(e.callbackNode=null,e.callbackPriority=0),w_=null,S_=__(),d!==null&&sr(p,S_,d,Sx),r=!!(t.flags&13878),t.subtreeFlags&13878||r){r=R.T,R.T=null,i=z.p,z.p=Up,o=X,X|=Lb;try{Sc(e,t,n)}finally{X=o,z.p=i,R.T=r}}Px=kx,jl(),Ml(),Nl()}}function jl(){if(Px===kx){Px=Ox;var e=Fx,t=Ix,n=Lx,r=!!(t.flags&13878);if(t.subtreeFlags&13878||r){r=R.T,R.T=null;var i=z.p;z.p=Up;var a=X;X|=Lb;try{wb=n,Tb=e,hi(),Mc(t,e),Tb=wb=null,n=qS;var o=Bn(e.containerInfo),s=n.focusedElem,c=n.selectionRange;if(o!==s&&s&&s.ownerDocument&&zn(s.ownerDocument.documentElement,s)){if(c!==null&&Vn(s)){var l=c.start,u=c.end;if(u===void 0&&(u=l),`selectionStart`in s)s.selectionStart=l,s.selectionEnd=Math.min(u,s.value.length);else{var d=s.ownerDocument||document,f=d&&d.defaultView||window;if(f.getSelection){var p=f.getSelection(),m=s.textContent.length,h=Math.min(c.start,m),g=c.end===void 0?h:Math.min(c.end,m);!p.extend&&h>g&&(o=g,g=h,h=o);var _=Rn(s,h),v=Rn(s,g);if(_&&v&&(p.rangeCount!==1||p.anchorNode!==_.node||p.anchorOffset!==_.offset||p.focusNode!==v.node||p.focusOffset!==v.offset)){var y=d.createRange();y.setStart(_.node,_.offset),p.removeAllRanges(),h>g?(p.addRange(y),p.extend(v.node,v.offset)):(y.setEnd(v.node,v.offset),p.addRange(y))}}}}for(d=[],p=s;p=p.parentNode;)p.nodeType===1&&d.push({element:p,left:p.scrollLeft,top:p.scrollTop});for(typeof s.focus==`function`&&s.focus(),s=0;s<d.length;s++){var b=d[s];b.element.scrollLeft=b.left,b.element.scrollTop=b.top}}LC=!!KS,qS=KS=null}finally{X=a,z.p=i,R.T=r}}e.current=t,Px=Ax}}function Ml(){if(Px===Ax){Px=Ox;var e=Wx;if(e!==null){S_=__();var t=C_,n=S_;!Cg||n<=t||(ev?ev.run(console.timeStamp.bind(console,e,t,n,V,B,`secondary-light`)):console.timeStamp(e,t,n,V,B,`secondary-light`))}e=Fx,t=Ix,n=Lx;var r=!!(t.flags&8772);if(t.subtreeFlags&8772||r){r=R.T,R.T=null;var i=z.p;z.p=Up;var a=X;X|=Lb;try{wb=n,Tb=e,hi(),Cc(e,t.alternate,t),Tb=wb=null}finally{X=a,z.p=i,R.T=r}}e=zx,t=Hx,C_=__(),e=t===null?e:S_,t=C_,n=Ux===Tx,r=Sx,w_===null?!Cg||t<=e||(r?r.run(console.timeStamp.bind(console,n?`Commit Interrupted View Transition`:`Commit`,e,t,V,B,n?`error`:`secondary-dark`)):console.timeStamp(n?`Commit Interrupted View Transition`:`Commit`,e,t,V,B,n?`error`:`secondary-dark`)):cr(e,t,w_,!1,r),Px=jx}}function Nl(){if(Px===Mx||Px===jx){if(Px===Mx){var e=C_;C_=__();var t=C_,n=Ux===Tx;!Cg||t<=e||(ev?ev.run(console.timeStamp.bind(console,n?`Interrupted View Transition`:`Starting Animation`,e,t,V,B,n?`error`:`secondary-light`)):console.timeStamp(n?`Interrupted View Transition`:`Starting Animation`,e,t,V,B,n?` error`:`secondary-light`)),Ux!==Tx&&(Ux=Dx)}Px=Ox,Cp(),e=Fx;var r=Ix;t=Lx,n=Vx;var i=r.actualDuration!==0||!!(r.subtreeFlags&10256)||!!(r.flags&10256);i?Px=Nx:(Px=Ox,Ix=Fx=null,Fl(e,e.pendingLanes),Zx=0,Qx=null);var a=e.pendingLanes;if(a===0&&(Cx=null),i||Kl(e),a=Je(t),r=r.stateNode,Pp&&typeof Pp.onCommitFiberRoot==`function`)try{var o=(r.current.flags&128)==128;switch(a){case Up:var s=Ep;break;case Wp:s=Dp;break;case Gp:s=Op;break;case Kp:s=Ap;break;default:s=Op}Pp.onCommitFiberRoot(Np,r,s,o)}catch(e){Fp||(Fp=!0,console.error(`React instrumentation encountered an error: %o`,e))}if(Ip&&e.memoizedUpdaters.clear(),tl(),n!==null){o=R.T,s=z.p,z.p=Up,R.T=null;try{var c=e.onRecoverableError;for(r=0;r<n.length;r++){var l=n[r],u=Pl(l.stack);w(l.source,c,l.value,u)}}finally{R.T=o,z.p=s}}Lx&3&&Il(),Zl(e),a=e.pendingLanes,t&261930&&a&42?(iv=!0,e===qx?Kx++:(Kx=0,qx=e)):Kx=0,i||fl(t,C_),Ql(0,!1)}}function Pl(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 Fl(e,t){(e.pooledCacheLanes&=t)===0&&(t=e.pooledCache,t!=null&&(e.pooledCache=null,li(t)))}function Il(){return jl(),Ml(),Nl(),Ll()}function Ll(){if(Px!==Nx)return!1;var e=Fx,t=Rx;Rx=0;var n=Je(Lx),r=Gp===0||Gp>n?Gp:n;n=R.T;var i=z.p;try{z.p=r,R.T=null;var a=Bx;Bx=null,r=Fx;var o=Lx;if(Px=Ox,Ix=Fx=null,Lx=0,(X&(Ib|Lb))!==Fb)throw Error(`Cannot flush passive effects while already rendering.`);Xn(o),Jx=!0,Yx=!1;var s=0;if(w_=null,s=wp(),Ux===Dx)lr(C_,s,ev);else{var c=C_,l=s,u=Ux===Ex;!Cg||l<=c||(Sx?Sx.run(console.timeStamp.bind(console,u?`Waiting for Paint`:`Waiting`,c,l,V,B,`secondary-light`)):console.timeStamp(u?`Waiting for Paint`:`Waiting`,c,l,V,B,`secondary-light`))}c=X,X|=Lb;var d=r.current;hi(),Zc(d);var f=r.current;d=zx,hi(),Uc(r,f,o,a,d),Kl(r),X=c;var p=wp();if(f=s,d=Sx,w_===null?!Cg||p<=f||(d?d.run(console.timeStamp.bind(console,`Remaining Effects`,f,p,V,B,`secondary-dark`)):console.timeStamp(`Remaining Effects`,f,p,V,B,`secondary-dark`)):cr(f,p,w_,!0,d),fl(o,p),Ql(0,!1),Yx?r===Qx?Zx++:(Zx=0,Qx=r):Zx=0,Yx=Jx=!1,Pp&&typeof Pp.onPostCommitFiberRoot==`function`)try{Pp.onPostCommitFiberRoot(Np,r)}catch(e){Fp||(Fp=!0,console.error(`React instrumentation encountered an error: %o`,e))}var m=r.current.stateNode;return m.effectDuration=0,m.passiveEffectDuration=0,!0}finally{z.p=i,R.T=n,Fl(e,t)}}function Rl(e,t,n){t=jr(n,t),Ei(t),t=ls(e.stateNode,t,2),e=ra(e,t,2),e!==null&&(Ve(e,2),Zl(e))}function P(e,t,n){if($x=!1,e.tag===3)Rl(e,e,n);else{for(;t!==null;){if(t.tag===3){Rl(t,e,n);return}if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError==`function`||typeof r.componentDidCatch==`function`&&(Cx===null||!Cx.has(r))){e=jr(n,e),Ei(e),n=us(2),r=ra(t,n,2),r!==null&&(ds(n,r,t,e),Ve(r,2),Zl(r));return}}t=t.return}console.error(`Internal React error: Attempted to capture a commit phase error inside a detached tree. This indicates a bug in React. Potential causes include deleting the same fiber more than once, committing an already-finished tree, or an inconsistent return pointer.
|
|
158
|
+
|
|
159
|
+
Error message:
|
|
160
|
+
|
|
161
|
+
%s`,n)}}function zl(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new Pb;var i=new Set;r.set(t,i)}else i=r.get(t),i===void 0&&(i=new Set,r.set(t,i));i.has(n)||(ax=!0,i.add(n),r=Bl.bind(null,e,t,n),Ip&&Jl(e,n),t.then(r,r))}function Bl(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),e.pingedLanes|=e.suspendedLanes&n,e.warmLanes&=~n,n&127?0>j_&&(A_=j_=__(),M_=v_(`Promise Resolved`),N_=b_):n&4194048&&0>H_&&(B_=H_=__(),W_=v_(`Promise Resolved`),U_=b_),nl()&&R.actQueue===null&&console.error(`A suspended resource finished loading inside a test, but the event was not wrapped in act(...).
|
|
162
|
+
|
|
163
|
+
When testing, code that resolves suspended data should be wrapped into act(...):
|
|
164
|
+
|
|
165
|
+
act(() => {
|
|
166
|
+
/* finish loading suspended data */
|
|
167
|
+
});
|
|
168
|
+
/* assert on the output */
|
|
169
|
+
|
|
170
|
+
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`),Gb===e&&(Q&n)===n&&(sx===Hb||sx===Vb&&(Q&62914560)===Q&&wp()-gx<vx?(X&Ib)===Fb&&pl(e,0):ux|=n,fx===Q&&(fx=0)),Zl(e)}function Vl(e,t){t===0&&(t=ze()),e=pr(e,t),e!==null&&(Ve(e,t),Zl(e))}function Hl(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Vl(e,n)}function Ul(e,t){var n=0;switch(e.tag){case 31:case 13:var r=e.stateNode,i=e.memoizedState;i!==null&&(n=i.retryLane);break;case 19:r=e.stateNode;break;case 22:r=e.stateNode._retryCache;break;default:throw Error(`Pinged unknown suspense boundary type. This is probably a bug in React.`)}r!==null&&r.delete(t),Vl(e,n)}function Wl(e,t,n){if(t.subtreeFlags&67117056)for(t=t.child;t!==null;){var r=e,i=t,a=i.type===Lf;a=n||a,i.tag===22?i.memoizedState===null&&(a&&i.flags&8192?w(i,Gl,r,i):i.subtreeFlags&67108864&&w(i,Wl,r,i,a)):i.flags&67108864?a&&w(i,Gl,r,i):Wl(r,i,a),t=t.sibling}}function Gl(e,t){E(!0);try{Ic(t),$c(t),Rc(e,t.alternate,t,!1),Gc(e,t,0,null,!1,0)}finally{E(!1)}}function Kl(e){var t=!0;e.current.mode&(Bg|Vg)||(t=!1),Wl(e,e.current,t)}function ql(e){if((X&Ib)===Fb){var t=e.tag;if(t===3||t===1||t===0||t===11||t===14||t===15){if(t=S(e)||`ReactComponent`,eS!==null){if(eS.has(t))return;eS.add(t)}else eS=new Set([t]);w(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 Jl(e,t){Ip&&e.memoizedUpdaters.forEach(function(n){Ke(e,n,t)})}function Yl(e,t){var n=R.actQueue;return n===null?bp(e,t):(n.push(t),rS)}function Xl(e){nl()&&R.actQueue===null&&w(e,function(){console.error(`An update to %s inside a test was not wrapped in act(...).
|
|
171
|
+
|
|
172
|
+
When testing, code that causes React state updates should be wrapped into act(...):
|
|
173
|
+
|
|
174
|
+
act(() => {
|
|
175
|
+
/* fire events that update state */
|
|
176
|
+
});
|
|
177
|
+
/* assert on the output */
|
|
178
|
+
|
|
179
|
+
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`,S(e))})}function Zl(e){e!==aS&&e.next===null&&(aS===null?iS=aS=e:aS=aS.next=e),cS=!0,R.actQueue===null?oS||(oS=!0,au()):sS||(sS=!0,au())}function Ql(e,t){if(!lS&&cS){lS=!0;do for(var n=!1,r=iS;r!==null;){if(!t){if(e!==0){var i=r.pendingLanes;if(i===0)var a=0;else{var o=r.suspendedLanes,s=r.pingedLanes;a=(1<<31-Lp(42|e)+1)-1,a&=i&~(o&~s),a=a&201326741?a&201326741|1:a?a|2:0}a!==0&&(n=!0,ru(r,a))}else a=Q,a=Ie(r,r===Gb?a:0,r.cancelPendingCommit!==null||r.timeoutHandle!==$S),!(a&3)||Le(r,a)||(n=!0,ru(r,a))}r=r.next}while(n);lS=!1}}function $l(){XS=window.event,eu()}function eu(){cS=sS=oS=!1;var e=0;uS!==0&&Ku()&&(e=uS);for(var t=wp(),n=null,r=iS;r!==null;){var i=r.next,a=tu(r,t);a===0?(r.next=null,n===null?iS=i:n.next=i,i===null&&(aS=n)):(n=r,(e!==0||a&3)&&(cS=!0)),r=i}Px!==Ox&&Px!==Nx||Ql(e,!1),uS!==0&&(uS=0)}function tu(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,i=e.expirationTimes,a=e.pendingLanes&-62914561;0<a;){var o=31-Lp(a),s=1<<o,c=i[o];c===-1?((s&n)===0||(s&r)!==0)&&(i[o]=Re(s,t)):c<=t&&(e.expiredLanes|=s),a&=~s}if(t=Gb,n=Q,n=Ie(e,e===t?n:0,e.cancelPendingCommit!==null||e.timeoutHandle!==$S),r=e.callbackNode,n===0||e===t&&($===Jb||$===tx)||e.cancelPendingCommit!==null)return r!==null&&iu(r),e.callbackNode=null,e.callbackPriority=0;if(!(n&3)||Le(e,n)){if(t=n&-n,t!==e.callbackPriority||R.actQueue!==null&&r!==dS)iu(r);else return t;switch(Je(n)){case Up:case Wp:n=Dp;break;case Gp:n=Op;break;case Kp:n=Ap;break;default:n=Op}return r=nu.bind(null,e),R.actQueue===null?n=bp(n,r):(R.actQueue.push(r),n=dS),e.callbackPriority=t,e.callbackNode=n,t}return r!==null&&iu(r),e.callbackPriority=2,e.callbackNode=null,2}function nu(e,t){if(iv=rv=!1,XS=window.event,Px!==Ox&&Px!==Nx)return e.callbackNode=null,e.callbackPriority=0,null;var n=e.callbackNode;if(Ux===wx&&(Ux=Ex),Il()&&e.callbackNode!==n)return null;var r=Q;return r=Ie(e,e===Gb?r:0,e.cancelPendingCommit!==null||e.timeoutHandle!==$S),r===0?null:(ol(e,r,t),tu(e,wp()),e.callbackNode!=null&&e.callbackNode===n?nu.bind(null,e):null)}function ru(e,t){if(Il())return null;rv=iv,iv=!1,ol(e,t,!0)}function iu(e){e!==dS&&e!==null&&xp(e)}function au(){R.actQueue!==null&&R.actQueue.push(function(){return eu(),null}),tC(function(){(X&(Ib|Lb))===Fb?eu():bp(Ep,$l)})}function ou(){if(uS===0){var e=sv;e===0&&(e=Bp,Bp<<=1,!(Bp&261888)&&(Bp=256)),uS=e}return uS}function su(e){return e==null||typeof e==`symbol`||typeof e==`boolean`?null:typeof e==`function`?e:(T(e,`action`),on(``+e))}function cu(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 lu(e,t,n,r,i){if(t===`submit`&&n&&n.stateNode===i){var a=su((i[Yp]||null).action),o=r.submitter;o&&(t=(t=o[Yp]||null)?su(t.formAction):o.getAttribute(`formAction`),t!==null&&(a=t,o=null));var s=new lh(`action`,`action`,null,r,i);e.push({event:s,listeners:[{instance:null,listener:function(){if(r.defaultPrevented){if(uS!==0){var e=o?cu(i,o):new FormData(i),t={pending:!0,data:e,method:i.method,action:a};Object.freeze(t),Io(n,t,null,e)}}else typeof a==`function`&&(s.preventDefault(),e=o?cu(i,o):new FormData(i),t={pending:!0,data:e,method:i.method,action:a},Object.freeze(t),Io(n,t,a,e))},currentTarget:i}]})}}function uu(e,t,n){e.currentTarget=n;try{t(e)}catch(e){mg(e)}e.currentTarget=null}function du(e,t){t=!!(t&4);for(var n=0;n<e.length;n++){var r=e[n];a:{var i=void 0,a=r.event;if(r=r.listeners,t)for(var o=r.length-1;0<=o;o--){var s=r[o],c=s.instance,l=s.currentTarget;if(s=s.listener,c!==i&&a.isPropagationStopped())break a;c===null?uu(a,s,l):w(c,uu,a,s,l),i=c}else for(o=0;o<r.length;o++){if(s=r[o],c=s.instance,l=s.currentTarget,s=s.listener,c!==i&&a.isPropagationStopped())break a;c===null?uu(a,s,l):w(c,uu,a,s,l),i=c}}}}function F(e,t){pS.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[Zp];n===void 0&&(n=t[Zp]=new Set);var r=e+`__bubble`;n.has(r)||(mu(t,e,2,!1),n.add(r))}function fu(e,t,n){pS.has(e)&&!t&&console.error(`Did not expect a listenToNativeEvent() call for "%s" in the bubble phase. This is a bug in React. Please file an issue.`,e);var r=0;t&&(r|=4),mu(n,e,r,t)}function pu(e){if(!e[mS]){e[mS]=!0,nm.forEach(function(t){t!==`selectionchange`&&(pS.has(t)||fu(t,!1,e),fu(t,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[mS]||(t[mS]=!0,fu(`selectionchange`,!1,t))}}function mu(e,t,n,r){switch(hf(t)){case Up:var i=uf;break;case Wp:i=df;break;default:i=ff}n=i.bind(null,t,n,e),i=void 0,!rh||t!==`touchstart`&&t!==`touchmove`&&t!==`wheel`||(i=!0),r?i===void 0?e.addEventListener(t,n,!0):e.addEventListener(t,n,{capture:!0,passive:i}):i===void 0?e.addEventListener(t,n,!1):e.addEventListener(t,n,{passive:i})}function hu(e,t,n,r,i){var a=r;if(!(t&1)&&!(t&2)&&r!==null)a:for(;;){if(r===null)return;var o=r.tag;if(o===3||o===4){var s=r.stateNode.containerInfo;if(s===i)break;if(o===4)for(o=r.return;o!==null;){var c=o.tag;if((c===3||c===4)&&o.stateNode.containerInfo===i)return;o=o.return}for(;s!==null;){if(o=Qe(s),o===null)return;if(c=o.tag,c===5||c===6||c===26||c===27){r=a=o;continue a}s=s.parentNode}}r=r.return}un(function(){var r=a,i=cn(n),o=[];a:{var s=cg.get(e);if(s!==void 0){var c=lh,l=e;switch(e){case`keypress`:if(pn(n)===0)break a;case`keydown`:case`keyup`:c=Eh;break;case`focusin`:l=`focus`,c=vh;break;case`focusout`:l=`blur`,c=vh;break;case`beforeblur`:case`afterblur`:c=vh;break;case`click`:if(n.button===2)break a;case`auxclick`:case`dblclick`:case`mousedown`:case`mousemove`:case`mouseup`:case`mouseout`:case`mouseover`:case`contextmenu`:c=gh;break;case`drag`:case`dragend`:case`dragenter`:case`dragexit`:case`dragleave`:case`dragover`:case`dragstart`:case`drop`:c=_h;break;case`touchcancel`:case`touchend`:case`touchmove`:case`touchstart`:c=Oh;break;case tg:case ng:case rg:c=yh;break;case sg:c=kh;break;case`scroll`:case`scrollend`:c=dh;break;case`wheel`:c=Ah;break;case`copy`:case`cut`:case`paste`:c=bh;break;case`gotpointercapture`:case`lostpointercapture`:case`pointercancel`:case`pointerdown`:case`pointermove`:case`pointerout`:case`pointerover`:case`pointerup`:c=Dh;break;case`toggle`:case`beforetoggle`:c=jh}var u=!!(t&4),d=!u&&(e===`scroll`||e===`scrollend`),f=u?s===null?null:s+`Capture`:s;u=[];for(var p=r,m;p!==null;){var h=p;if(m=h.stateNode,h=h.tag,h!==5&&h!==26&&h!==27||m===null||f===null||(h=dn(p,f),h!=null&&u.push(gu(p,h,m))),d)break;p=p.return}0<u.length&&(s=new c(s,l,null,n,i),o.push({event:s,listeners:u}))}}if(!(t&7)){a:{if(s=e===`mouseover`||e===`pointerover`,c=e===`mouseout`||e===`pointerout`,s&&n!==Qm&&(l=n.relatedTarget||n.fromElement)&&(Qe(l)||l[Xp]))break a;if((c||s)&&(s=i.window===i?i:(s=i.ownerDocument)?s.defaultView||s.parentWindow:window,c?(l=n.relatedTarget||n.toElement,c=r,l=l?Qe(l):null,l!==null&&(d=ee(l),u=l.tag,l!==d||u!==5&&u!==27&&u!==6)&&(l=null)):(c=null,l=r),c!==l)){if(u=gh,h=`onMouseLeave`,f=`onMouseEnter`,p=`mouse`,(e===`pointerout`||e===`pointerover`)&&(u=Dh,h=`onPointerLeave`,f=`onPointerEnter`,p=`pointer`),d=c==null?s:et(c),m=l==null?s:et(l),s=new u(h,p+`leave`,c,n,i),s.target=d,s.relatedTarget=m,h=null,Qe(i)===r&&(u=new u(f,p+`enter`,l,n,i),u.target=m,u.relatedTarget=d,h=u),d=h,c&&l)b:{for(u=vu,f=c,p=l,m=0,h=f;h;h=u(h))m++;h=0;for(var g=p;g;g=u(g))h++;for(;0<m-h;)f=u(f),m--;for(;0<h-m;)p=u(p),h--;for(;m--;){if(f===p||p!==null&&f===p.alternate){u=f;break b}f=u(f),p=u(p)}u=null}else u=null;c!==null&&yu(o,s,c,u,!1),l!==null&&d!==null&&yu(o,d,l,u,!0)}}a:{if(s=r?et(r):window,c=s.nodeName&&s.nodeName.toLowerCase(),c===`select`||c===`input`&&s.type===`file`)var _=On;else if(Cn(s)){if(Gh)_=Pn;else{_=Mn;var v=jn}}else c=s.nodeName,!c||c.toLowerCase()!==`input`||s.type!==`checkbox`&&s.type!==`radio`?r&&$t(r.elementType)&&(_=On):_=Nn;if(_&&=_(e,r)){Tn(o,_,n,i);break a}v&&v(e,s,r),e===`focusout`&&r&&s.type===`number`&&r.memoizedProps.value!=null&&yt(s,`number`,s.value)}switch(v=r?et(r):window,e){case`focusin`:(Cn(v)||v.contentEditable===`true`)&&(Jh=v,Yh=r,Xh=null);break;case`focusout`:Xh=Yh=Jh=null;break;case`mousedown`:Zh=!0;break;case`contextmenu`:case`mouseup`:case`dragend`:Zh=!1,Hn(o,n,i);break;case`selectionchange`:if(qh)break;case`keydown`:case`keyup`:Hn(o,n,i)}var y;if(Ph)b:{switch(e){case`compositionstart`:var b=`onCompositionStart`;break b;case`compositionend`:b=`onCompositionEnd`;break b;case`compositionupdate`:b=`onCompositionUpdate`;break b}b=void 0}else Vh?yn(e,n)&&(b=`onCompositionEnd`):e===`keydown`&&n.keyCode===Nh&&(b=`onCompositionStart`);b&&(Lh&&n.locale!==`ko`&&(Vh||b!==`onCompositionStart`?b===`onCompositionEnd`&&Vh&&(y=fn()):(ah=i,oh=`value`in ah?ah.value:ah.textContent,Vh=!0)),v=_u(r,b),0<v.length&&(b=new xh(b,e,null,n,i),o.push({event:b,listeners:v}),y?b.data=y:(y=bn(n),y!==null&&(b.data=y)))),(y=Ih?xn(e,n):Sn(e,n))&&(b=_u(r,`onBeforeInput`),0<b.length&&(v=new Sh(`onBeforeInput`,`beforeinput`,null,n,i),o.push({event:v,listeners:b}),v.data=y)),lu(o,e,r,n,i)}du(o,t)})}function gu(e,t,n){return{instance:e,listener:t,currentTarget:n}}function _u(e,t){for(var n=t+`Capture`,r=[];e!==null;){var i=e,a=i.stateNode;if(i=i.tag,i!==5&&i!==26&&i!==27||a===null||(i=dn(e,n),i!=null&&r.unshift(gu(e,i,a)),i=dn(e,t),i!=null&&r.push(gu(e,i,a))),e.tag===3)return r;e=e.return}return[]}function vu(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function yu(e,t,n,r,i){for(var a=t._reactName,o=[];n!==null&&n!==r;){var s=n,c=s.alternate,l=s.stateNode;if(s=s.tag,c!==null&&c===r)break;s!==5&&s!==26&&s!==27||l===null||(c=l,i?(l=dn(n,a),l!=null&&o.unshift(gu(n,l,c))):i||(l=dn(n,a),l!=null&&o.push(gu(n,l,c)))),n=n.return}o.length!==0&&e.push({event:t,listeners:o})}function bu(e,t){nn(e,t),e!==`input`&&e!==`textarea`&&e!==`select`||t==null||t.value!==null||Gm||(Gm=!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:rm,possibleRegistrationNames:im};$t(e)||typeof t.is==`string`||an(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 xu(e,t,n,r){t!==n&&(n=Tu(n),Tu(t)!==n&&(r[e]=t))}function Su(e,t,n){t.forEach(function(t){n[Au(t)]=t===`style`?ju(e):e.getAttribute(t)})}function Cu(e,t){!1===t?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 wu(e,t){return e=e.namespaceURI===Lm||e.namespaceURI===Rm?e.ownerDocument.createElementNS(e.namespaceURI,e.tagName):e.ownerDocument.createElement(e.tagName),e.innerHTML=t,e.innerHTML}function Tu(e){return ke(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.`,Oe(e)),Ae(e)),(typeof e==`string`?e:``+e).replace(CS,`
|
|
180
|
+
`).replace(wS,``)}function Eu(e,t){return t=Tu(t),Tu(e)===t}function I(e,t,n,r,i,a){switch(n){case`children`:typeof r==`string`?(Jt(r,t,!1),t===`body`||t===`textarea`&&r===``||Yt(e,r)):(typeof r==`number`||typeof r==`bigint`)&&(Jt(``+r,t,!1),t!==`body`&&Yt(e,``+r));break;case`className`:lt(e,`class`,r);break;case`tabIndex`:lt(e,`tabindex`,r);break;case`dir`:case`role`:case`viewBox`:case`width`:case`height`:lt(e,n,r);break;case`style`:Qt(e,r,a);break;case`data`:if(t!==`object`){lt(e,`data`,r);break}case`src`:case`href`:if(r===``&&(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(r==null||typeof r==`function`||typeof r==`symbol`||typeof r==`boolean`){e.removeAttribute(n);break}T(r,n),r=on(``+r),e.setAttribute(n,r);break;case`action`:case`formAction`:if(r!=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 r==`function`&&(i.encType==null&&i.method==null||bS||(bS=!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.`)),i.target==null||yS||(yS=!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`||i.type===`submit`||i.type===`image`||_S?t!==`button`||i.type==null||i.type===`submit`||_S?typeof r==`function`&&(i.name==null||vS||(vS=!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.`)),i.formEncType==null&&i.formMethod==null||bS||(bS=!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.`)),i.formTarget==null||yS||(yS=!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.`))):(_S=!0,console.error(`A button can only specify a formAction along with type="submit" or no type.`)):(_S=!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 r==`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}if(typeof a==`function`&&(n===`formAction`?(t!==`input`&&I(e,t,`name`,i.name,i,null),I(e,t,`formEncType`,i.formEncType,i,null),I(e,t,`formMethod`,i.formMethod,i,null),I(e,t,`formTarget`,i.formTarget,i,null)):(I(e,t,`encType`,i.encType,i,null),I(e,t,`method`,i.method,i,null),I(e,t,`target`,i.target,i,null))),r==null||typeof r==`symbol`||typeof r==`boolean`){e.removeAttribute(n);break}T(r,n),r=on(``+r),e.setAttribute(n,r);break;case`onClick`:r!=null&&(typeof r!=`function`&&Cu(n,r),e.onclick=sn);break;case`onScroll`:r!=null&&(typeof r!=`function`&&Cu(n,r),F(`scroll`,e));break;case`onScrollEnd`:r!=null&&(typeof r!=`function`&&Cu(n,r),F(`scrollend`,e));break;case`dangerouslySetInnerHTML`:if(r!=null){if(typeof r!=`object`||!(`__html`in r))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information.");if(n=r.__html,n!=null){if(i.children!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");e.innerHTML=n}}break;case`multiple`:e.multiple=r&&typeof r!=`function`&&typeof r!=`symbol`;break;case`muted`:e.muted=r&&typeof r!=`function`&&typeof r!=`symbol`;break;case`suppressContentEditableWarning`:case`suppressHydrationWarning`:case`defaultValue`:case`defaultChecked`:case`innerHTML`:case`ref`:break;case`autoFocus`:break;case`xlinkHref`:if(r==null||typeof r==`function`||typeof r==`boolean`||typeof r==`symbol`){e.removeAttribute(`xlink:href`);break}T(r,n),n=on(``+r),e.setAttributeNS(TS,`xlink:href`,n);break;case`contentEditable`:case`spellCheck`:case`draggable`:case`value`:case`autoReverse`:case`externalResourcesRequired`:case`focusable`:case`preserveAlpha`:r!=null&&typeof r!=`function`&&typeof r!=`symbol`?(T(r,n),e.setAttribute(n,``+r)):e.removeAttribute(n);break;case`inert`:r!==``||SS[n]||(SS[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`:r&&typeof r!=`function`&&typeof r!=`symbol`?e.setAttribute(n,``):e.removeAttribute(n);break;case`capture`:case`download`:!0===r?e.setAttribute(n,``):!1!==r&&r!=null&&typeof r!=`function`&&typeof r!=`symbol`?(T(r,n),e.setAttribute(n,r)):e.removeAttribute(n);break;case`cols`:case`rows`:case`size`:case`span`:r!=null&&typeof r!=`function`&&typeof r!=`symbol`&&!isNaN(r)&&1<=r?(T(r,n),e.setAttribute(n,r)):e.removeAttribute(n);break;case`rowSpan`:case`start`:r==null||typeof r==`function`||typeof r==`symbol`||isNaN(r)?e.removeAttribute(n):(T(r,n),e.setAttribute(n,r));break;case`popover`:F(`beforetoggle`,e),F(`toggle`,e),ct(e,`popover`,r);break;case`xlinkActuate`:ut(e,TS,`xlink:actuate`,r);break;case`xlinkArcrole`:ut(e,TS,`xlink:arcrole`,r);break;case`xlinkRole`:ut(e,TS,`xlink:role`,r);break;case`xlinkShow`:ut(e,TS,`xlink:show`,r);break;case`xlinkTitle`:ut(e,TS,`xlink:title`,r);break;case`xlinkType`:ut(e,TS,`xlink:type`,r);break;case`xmlBase`:ut(e,ES,`xml:base`,r);break;case`xmlLang`:ut(e,ES,`xml:lang`,r);break;case`xmlSpace`:ut(e,ES,`xml:space`,r);break;case`is`:a!=null&&console.error(`Cannot update the "is" prop after it has been initialized.`),ct(e,`is`,r);break;case`innerText`:case`textContent`:break;case`popoverTarget`:xS||typeof r!=`object`||!r||(xS=!0,console.error("The `popoverTarget` prop expects the ID of an Element as a string. Received %s instead.",r));default:!(2<n.length)||n[0]!==`o`&&n[0]!==`O`||n[1]!==`n`&&n[1]!==`N`?(n=en(n),ct(e,n,r)):rm.hasOwnProperty(n)&&r!=null&&typeof r!=`function`&&Cu(n,r)}}function Du(e,t,n,r,i,a){switch(n){case`style`:Qt(e,r,a);break;case`dangerouslySetInnerHTML`:if(r!=null){if(typeof r!=`object`||!(`__html`in r))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information.");if(n=r.__html,n!=null){if(i.children!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");e.innerHTML=n}}break;case`children`:typeof r==`string`?Yt(e,r):(typeof r==`number`||typeof r==`bigint`)&&Yt(e,``+r);break;case`onScroll`:r!=null&&(typeof r!=`function`&&Cu(n,r),F(`scroll`,e));break;case`onScrollEnd`:r!=null&&(typeof r!=`function`&&Cu(n,r),F(`scrollend`,e));break;case`onClick`:r!=null&&(typeof r!=`function`&&Cu(n,r),e.onclick=sn);break;case`suppressContentEditableWarning`:case`suppressHydrationWarning`:case`innerHTML`:case`ref`:break;case`innerText`:case`textContent`:break;default:if(rm.hasOwnProperty(n))r!=null&&typeof r!=`function`&&Cu(n,r);else a:{if(n[0]===`o`&&n[1]===`n`&&(i=n.endsWith(`Capture`),t=n.slice(2,i?n.length-7:void 0),a=e[Yp]||null,a=a==null?null:a[n],typeof a==`function`&&e.removeEventListener(t,a,i),typeof r==`function`)){typeof a!=`function`&&a!==null&&(n in e?e[n]=null:e.hasAttribute(n)&&e.removeAttribute(n)),e.addEventListener(t,r,i);break a}n in e?e[n]=r:!0===r?e.setAttribute(n,``):ct(e,n,r)}}}function Ou(e,t,n){switch(bu(t,n),t){case`div`:case`span`:case`svg`:case`path`:case`a`:case`g`:case`p`:case`li`:break;case`img`:F(`error`,e),F(`load`,e);var r=!1,i=!1,a;for(a in n)if(n.hasOwnProperty(a)){var o=n[a];if(o!=null)switch(a){case`src`:r=!0;break;case`srcSet`:i=!0;break;case`children`:case`dangerouslySetInnerHTML`:throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:I(e,t,a,o,n,null)}}i&&I(e,t,`srcSet`,n.srcSet,n,null),r&&I(e,t,`src`,n.src,n,null);return;case`input`:at(`input`,n),F(`invalid`,e);var s=a=o=i=null,c=null,l=null;for(r in n)if(n.hasOwnProperty(r)){var u=n[r];if(u!=null)switch(r){case`name`:i=u;break;case`type`:o=u;break;case`checked`:c=u;break;case`defaultChecked`:l=u;break;case`value`:a=u;break;case`defaultValue`:s=u;break;case`children`:case`dangerouslySetInnerHTML`:if(u!=null)throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:I(e,t,r,u,n,null)}}_t(e,n),k(e,a,s,c,l,o,i,!1);return;case`select`:for(i in at(`select`,n),F(`invalid`,e),r=o=a=null,n)if(n.hasOwnProperty(i)&&(s=n[i],s!=null))switch(i){case`value`:a=s;break;case`defaultValue`:o=s;break;case`multiple`:r=s;default:I(e,t,i,s,n,null)}Ct(e,n),t=a,n=o,e.multiple=!!r,t==null?n!=null&&St(e,!!r,n,!0):St(e,!!r,t,!1);return;case`textarea`:for(o in at(`textarea`,n),F(`invalid`,e),a=i=r=null,n)if(n.hasOwnProperty(o)&&(s=n[o],s!=null))switch(o){case`value`:r=s;break;case`defaultValue`:i=s;break;case`children`:a=s;break;case`dangerouslySetInnerHTML`:if(s!=null)throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");break;default:I(e,t,o,s,n,null)}wt(e,n),Et(e,r,i,a);return;case`option`:for(c in bt(e,n),n)if(n.hasOwnProperty(c)&&(r=n[c],r!=null))switch(c){case`selected`:e.selected=r&&typeof r!=`function`&&typeof r!=`symbol`;break;default:I(e,t,c,r,n,null)}return;case`dialog`:F(`beforetoggle`,e),F(`toggle`,e),F(`cancel`,e),F(`close`,e);break;case`iframe`:case`object`:F(`load`,e);break;case`video`:case`audio`:for(r=0;r<fS.length;r++)F(fS[r],e);break;case`image`:F(`error`,e),F(`load`,e);break;case`details`:F(`toggle`,e);break;case`embed`:case`source`:case`link`:F(`error`,e),F(`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(l in n)if(n.hasOwnProperty(l)&&(r=n[l],r!=null))switch(l){case`children`:case`dangerouslySetInnerHTML`:throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:I(e,t,l,r,n,null)}return;default:if($t(t)){for(u in n)n.hasOwnProperty(u)&&(r=n[u],r!==void 0&&Du(e,t,u,r,n,void 0));return}}for(s in n)n.hasOwnProperty(s)&&(r=n[s],r!=null&&I(e,t,s,r,n,null))}function ku(e,t,n,r){switch(bu(t,r),t){case`div`:case`span`:case`svg`:case`path`:case`a`:case`g`:case`p`:case`li`:break;case`input`:var i=null,a=null,o=null,s=null,c=null,l=null,u=null;for(p in n){var d=n[p];if(n.hasOwnProperty(p)&&d!=null)switch(p){case`checked`:break;case`value`:break;case`defaultValue`:c=d;default:r.hasOwnProperty(p)||I(e,t,p,null,r,d)}}for(var f in r){var p=r[f];if(d=n[f],r.hasOwnProperty(f)&&(p!=null||d!=null))switch(f){case`type`:a=p;break;case`name`:i=p;break;case`checked`:l=p;break;case`defaultChecked`:u=p;break;case`value`:o=p;break;case`defaultValue`:s=p;break;case`children`:case`dangerouslySetInnerHTML`:if(p!=null)throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:p!==d&&I(e,t,f,p,r,d)}}t=n.type===`checkbox`||n.type===`radio`?n.checked!=null:n.value!=null,r=r.type===`checkbox`||r.type===`radio`?r.checked!=null:r.value!=null,t||!r||gS||(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`),gS=!0),!t||r||hS||(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`),hS=!0),vt(e,o,s,c,l,u,a,i);return;case`select`:for(a in p=o=s=f=null,n)if(c=n[a],n.hasOwnProperty(a)&&c!=null)switch(a){case`value`:break;case`multiple`:p=c;default:r.hasOwnProperty(a)||I(e,t,a,null,r,c)}for(i in r)if(a=r[i],c=n[i],r.hasOwnProperty(i)&&(a!=null||c!=null))switch(i){case`value`:f=a;break;case`defaultValue`:s=a;break;case`multiple`:o=a;default:a!==c&&I(e,t,i,a,r,c)}r=s,t=o,n=p,f==null?!!n!=!!t&&(r==null?St(e,!!t,t?[]:``,!1):St(e,!!t,r,!0)):St(e,!!t,f,!1);return;case`textarea`:for(s in p=f=null,n)if(i=n[s],n.hasOwnProperty(s)&&i!=null&&!r.hasOwnProperty(s))switch(s){case`value`:break;case`children`:break;default:I(e,t,s,null,r,i)}for(o in r)if(i=r[o],a=n[o],r.hasOwnProperty(o)&&(i!=null||a!=null))switch(o){case`value`:f=i;break;case`defaultValue`:p=i;break;case`children`:break;case`dangerouslySetInnerHTML`:if(i!=null)throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");break;default:i!==a&&I(e,t,o,i,r,a)}Tt(e,f,p);return;case`option`:for(var m in n)if(f=n[m],n.hasOwnProperty(m)&&f!=null&&!r.hasOwnProperty(m))switch(m){case`selected`:e.selected=!1;break;default:I(e,t,m,null,r,f)}for(c in r)if(f=r[c],p=n[c],r.hasOwnProperty(c)&&f!==p&&(f!=null||p!=null))switch(c){case`selected`:e.selected=f&&typeof f!=`function`&&typeof f!=`symbol`;break;default:I(e,t,c,f,r,p)}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 h in n)f=n[h],n.hasOwnProperty(h)&&f!=null&&!r.hasOwnProperty(h)&&I(e,t,h,null,r,f);for(l in r)if(f=r[l],p=n[l],r.hasOwnProperty(l)&&f!==p&&(f!=null||p!=null))switch(l){case`children`:case`dangerouslySetInnerHTML`:if(f!=null)throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:I(e,t,l,f,r,p)}return;default:if($t(t)){for(var g in n)f=n[g],n.hasOwnProperty(g)&&f!==void 0&&!r.hasOwnProperty(g)&&Du(e,t,g,void 0,r,f);for(u in r)f=r[u],p=n[u],!r.hasOwnProperty(u)||f===p||f===void 0&&p===void 0||Du(e,t,u,f,r,p);return}}for(var _ in n)f=n[_],n.hasOwnProperty(_)&&f!=null&&!r.hasOwnProperty(_)&&I(e,t,_,null,r,f);for(d in r)f=r[d],p=n[d],!r.hasOwnProperty(d)||f===p||f==null&&p==null||I(e,t,d,f,r,p)}function Au(e){switch(e){case`class`:return`className`;case`for`:return`htmlFor`;default:return e}}function ju(e){var t={};e=e.style;for(var n=0;n<e.length;n++){var r=e[n];t[r]=e.getPropertyValue(r)}return t}function Mu(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 r,i=r=``,a;for(a in t)if(t.hasOwnProperty(a)){var o=t[a];o!=null&&typeof o!=`boolean`&&o!==``&&(a.indexOf(`--`)===0?(je(o,a),r+=i+a+`:`+(``+o).trim()):typeof o!=`number`||o===0||Im.has(a)?(je(o,a),r+=i+a.replace(Em,`-$1`).toLowerCase().replace(Dm,`-ms-`)+`:`+(``+o).trim()):r+=i+a.replace(Em,`-$1`).toLowerCase().replace(Dm,`-ms-`)+`:`+o+`px`,i=`;`)}r||=null,t=e.getAttribute(`style`),t!==r&&(r=Tu(r),Tu(t)!==r&&(n.style=ju(e)))}}function Nu(e,t,n,r,i,a){if(i.delete(n),e=e.getAttribute(n),e===null)switch(typeof r){case`undefined`:case`function`:case`symbol`:case`boolean`:return}else if(r!=null)switch(typeof r){case`function`:case`symbol`:case`boolean`:break;default:if(T(r,t),e===``+r)return}xu(t,e,r,a)}function Pu(e,t,n,r,i,a){if(i.delete(n),e=e.getAttribute(n),e===null){switch(typeof r){case`function`:case`symbol`:return}if(!r)return}else switch(typeof r){case`function`:case`symbol`:break;default:if(r)return}xu(t,e,r,a)}function Fu(e,t,n,r,i,a){if(i.delete(n),e=e.getAttribute(n),e===null)switch(typeof r){case`undefined`:case`function`:case`symbol`:return}else if(r!=null)switch(typeof r){case`function`:case`symbol`:break;default:if(T(r,n),e===``+r)return}xu(t,e,r,a)}function Iu(e,t,n,r,i,a){if(i.delete(n),e=e.getAttribute(n),e===null)switch(typeof r){case`undefined`:case`function`:case`symbol`:case`boolean`:return;default:if(isNaN(r))return}else if(r!=null)switch(typeof r){case`function`:case`symbol`:case`boolean`:break;default:if(!isNaN(r)&&(T(r,t),e===``+r))return}xu(t,e,r,a)}function Lu(e,t,n,r,i,a){if(i.delete(n),e=e.getAttribute(n),e===null)switch(typeof r){case`undefined`:case`function`:case`symbol`:case`boolean`:return}else if(r!=null)switch(typeof r){case`function`:case`symbol`:case`boolean`:break;default:if(T(r,t),n=on(``+r),e===n)return}xu(t,e,r,a)}function Ru(e,t,n,r){for(var i={},a=new Set,o=e.attributes,s=0;s<o.length;s++)switch(o[s].name.toLowerCase()){case`value`:break;case`checked`:break;case`selected`:break;default:a.add(o[s].name)}if($t(t)){for(var c in n)if(n.hasOwnProperty(c)){var l=n[c];if(l!=null){if(rm.hasOwnProperty(c))typeof l!=`function`&&Cu(c,l);else if(!0!==n.suppressHydrationWarning)switch(c){case`children`:typeof l!=`string`&&typeof l!=`number`||xu(`children`,e.textContent,l,i);continue;case`suppressContentEditableWarning`:case`suppressHydrationWarning`:case`defaultValue`:case`defaultChecked`:case`innerHTML`:case`ref`:continue;case`dangerouslySetInnerHTML`:o=e.innerHTML,l=l?l.__html:void 0,l!=null&&(l=wu(e,l),xu(c,o,l,i));continue;case`style`:a.delete(c),Mu(e,l,i);continue;case`offsetParent`:case`offsetTop`:case`offsetLeft`:case`offsetWidth`:case`offsetHeight`:case`isContentEditable`:case`outerText`:case`outerHTML`:a.delete(c.toLowerCase()),console.error("Assignment to read-only property will result in a no-op: `%s`",c);continue;case`className`:a.delete(`class`),o=st(e,`class`,l),xu(`className`,o,l,i);continue;default:r.context===US&&t!==`svg`&&t!==`math`?a.delete(c.toLowerCase()):a.delete(c),o=st(e,c,l),xu(c,o,l,i)}}}}else for(l in n)if(n.hasOwnProperty(l)&&(c=n[l],c!=null)){if(rm.hasOwnProperty(l))typeof c!=`function`&&Cu(l,c);else if(!0!==n.suppressHydrationWarning)switch(l){case`children`:typeof c!=`string`&&typeof c!=`number`||xu(`children`,e.textContent,c,i);continue;case`suppressContentEditableWarning`:case`suppressHydrationWarning`:case`value`:case`checked`:case`selected`:case`defaultValue`:case`defaultChecked`:case`innerHTML`:case`ref`:continue;case`dangerouslySetInnerHTML`:o=e.innerHTML,c=c?c.__html:void 0,c!=null&&(c=wu(e,c),o!==c&&(i[l]={__html:o}));continue;case`className`:Nu(e,l,`class`,c,a,i);continue;case`tabIndex`:Nu(e,l,`tabindex`,c,a,i);continue;case`style`:a.delete(l),Mu(e,c,i);continue;case`multiple`:a.delete(l),xu(l,e.multiple,c,i);continue;case`muted`:a.delete(l),xu(l,e.muted,c,i);continue;case`autoFocus`:a.delete(`autofocus`),xu(l,e.autofocus,c,i);continue;case`data`:if(t!==`object`){a.delete(l),o=e.getAttribute(`data`),xu(l,o,c,i);continue}case`src`:case`href`:if(!(c!==``||t===`a`&&l===`href`||t===`object`&&l===`data`)){console.error(l===`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.`,l,l);continue}Lu(e,l,l,c,a,i);continue;case`action`:case`formAction`:if(o=e.getAttribute(l),typeof c==`function`){a.delete(l.toLowerCase()),l===`formAction`?(a.delete(`name`),a.delete(`formenctype`),a.delete(`formmethod`),a.delete(`formtarget`)):(a.delete(`enctype`),a.delete(`method`),a.delete(`target`));continue}if(o===DS){a.delete(l.toLowerCase()),xu(l,`function`,c,i);continue}Lu(e,l,l.toLowerCase(),c,a,i);continue;case`xlinkHref`:Lu(e,l,`xlink:href`,c,a,i);continue;case`contentEditable`:Fu(e,l,`contenteditable`,c,a,i);continue;case`spellCheck`:Fu(e,l,`spellcheck`,c,a,i);continue;case`draggable`:case`autoReverse`:case`externalResourcesRequired`:case`focusable`:case`preserveAlpha`:Fu(e,l,l,c,a,i);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`:Pu(e,l,l.toLowerCase(),c,a,i);continue;case`capture`:case`download`:a:{s=e;var u=o=l,d=i;if(a.delete(u),s=s.getAttribute(u),s===null)switch(typeof c){case`undefined`:case`function`:case`symbol`:break a;default:if(!1===c)break a}else if(c!=null)switch(typeof c){case`function`:case`symbol`:break;case`boolean`:if(!0===c&&s===``)break a;break;default:if(T(c,o),s===``+c)break a}xu(o,s,c,d)}continue;case`cols`:case`rows`:case`size`:case`span`:a:{if(s=e,u=o=l,d=i,a.delete(u),s=s.getAttribute(u),s===null)switch(typeof c){case`undefined`:case`function`:case`symbol`:case`boolean`:break a;default:if(isNaN(c)||1>c)break a}else if(c!=null)switch(typeof c){case`function`:case`symbol`:case`boolean`:break;default:if(!(isNaN(c)||1>c)&&(T(c,o),s===``+c))break a}xu(o,s,c,d)}continue;case`rowSpan`:Iu(e,l,`rowspan`,c,a,i);continue;case`start`:Iu(e,l,l,c,a,i);continue;case`xHeight`:Nu(e,l,`x-height`,c,a,i);continue;case`xlinkActuate`:Nu(e,l,`xlink:actuate`,c,a,i);continue;case`xlinkArcrole`:Nu(e,l,`xlink:arcrole`,c,a,i);continue;case`xlinkRole`:Nu(e,l,`xlink:role`,c,a,i);continue;case`xlinkShow`:Nu(e,l,`xlink:show`,c,a,i);continue;case`xlinkTitle`:Nu(e,l,`xlink:title`,c,a,i);continue;case`xlinkType`:Nu(e,l,`xlink:type`,c,a,i);continue;case`xmlBase`:Nu(e,l,`xml:base`,c,a,i);continue;case`xmlLang`:Nu(e,l,`xml:lang`,c,a,i);continue;case`xmlSpace`:Nu(e,l,`xml:space`,c,a,i);continue;case`inert`:c!==``||SS[l]||(SS[l]=!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.",l)),Pu(e,l,l,c,a,i);continue;default:if(!(2<l.length)||l[0]!==`o`&&l[0]!==`O`||l[1]!==`n`&&l[1]!==`N`){s=en(l),o=!1,r.context===US&&t!==`svg`&&t!==`math`?a.delete(s.toLowerCase()):(u=l.toLowerCase(),u=Bm.hasOwnProperty(u)&&Bm[u]||null,u!==null&&u!==l&&(o=!0,a.delete(u)),a.delete(s));a:if(u=e,d=s,s=c,ot(d)){if(u.hasAttribute(d))u=u.getAttribute(d),T(s,d),s=u===``+s?s:u;else{switch(typeof s){case`function`:case`symbol`:break a;case`boolean`:if(u=d.toLowerCase().slice(0,5),u!==`data-`&&u!==`aria-`)break a}s=s===void 0?void 0:null}}else s=void 0;o||xu(l,s,c,i)}}}return 0<a.size&&!0!==n.suppressHydrationWarning&&Su(e,a,i),Object.keys(i).length===0?null:i}function zu(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 Bu(e){switch(e){case`css`:case`script`:case`font`:case`img`:case`image`:case`input`:case`link`:return!0;default:return!1}}function Vu(){if(typeof performance.getEntriesByType==`function`){for(var e=0,t=0,n=performance.getEntriesByType(`resource`),r=0;r<n.length;r++){var i=n[r],a=i.transferSize,o=i.initiatorType,s=i.duration;if(a&&s&&Bu(o)){for(o=0,s=i.responseEnd,r+=1;r<n.length;r++){var c=n[r],l=c.startTime;if(l>s)break;var u=c.transferSize,d=c.initiatorType;u&&Bu(d)&&(c=c.responseEnd,o+=u*(c<s?1:(s-l)/(c-l)))}if(--r,t+=8*(a+o)/(i.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 Hu(e){return e.nodeType===9?e:e.ownerDocument}function Uu(e){switch(e){case Rm:return WS;case Lm:return GS;default:return US}}function Wu(e,t){if(e===US)switch(t){case`svg`:return WS;case`math`:return GS;default:return US}return e===WS&&t===`foreignObject`?US:e}function Gu(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 Ku(){var e=window.event;return e&&e.type===`popstate`?e!==YS&&(YS=e,!0):(YS=null,!1)}function qu(){var e=window.event;return e&&e!==XS?e.type:null}function Ju(){var e=window.event;return e&&e!==XS?e.timeStamp:-1.1}function Yu(e){setTimeout(function(){throw e})}function Xu(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 Zu(){}function Qu(e,t,n,r){ku(e,t,n,r),e[Yp]=r}function $u(e){Yt(e,``)}function ed(e,t,n){e.nodeValue=n}function td(e){if(!e.__reactWarnedAboutChildrenConflict){var t=e[Yp]||null;if(t!==null){var n=$e(e);n!==null&&(typeof t.children==`string`||typeof t.children==`number`?(e.__reactWarnedAboutChildrenConflict=!0,w(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,w(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 nd(e){return e===`head`}function rd(e,t){e.removeChild(t)}function id(e,t){(e.nodeType===9?e.body:e.nodeName===`HTML`?e.ownerDocument.body:e).removeChild(t)}function ad(e,t){var n=t,r=0;do{var i=n.nextSibling;if(e.removeChild(n),i&&i.nodeType===8){if(n=i.data,n===MS||n===AS){if(r===0){e.removeChild(i),Tf(t);return}r--}else if(n===jS||n===NS||n===PS||n===FS||n===kS)r++;else if(n===IS)Ad(e.ownerDocument.documentElement);else if(n===RS){n=e.ownerDocument.head,Ad(n);for(var a=n.firstChild;a;){var o=a.nextSibling,s=a.nodeName;a[tm]||s===`SCRIPT`||s===`STYLE`||s===`LINK`&&a.rel.toLowerCase()===`stylesheet`||n.removeChild(a),a=o}}else n===LS&&Ad(e.ownerDocument.body)}n=i}while(n);Tf(t)}function od(e,t){var n=e;e=0;do{var r=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||``),r&&r.nodeType===8){if(n=r.data,n===MS){if(e===0)break;e--}else n!==jS&&n!==NS&&n!==PS&&n!==FS||e++}n=r}while(n)}function sd(e){od(e,!0)}function cd(e){e=e.style,typeof e.setProperty==`function`?e.setProperty(`display`,`none`,`important`):e.display=`none`}function ld(e){e.nodeValue=``}function ud(e){od(e,!1)}function dd(e,t){t=t[HS],t=t!=null&&t.hasOwnProperty(`display`)?t.display:null,e.style.display=t==null||typeof t==`boolean`?``:(``+t).trim()}function fd(e,t){e.nodeValue=t}function pd(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`:pd(n),Ze(n);continue;case`SCRIPT`:case`STYLE`:continue;case`LINK`:if(n.rel.toLowerCase()===`stylesheet`)continue}e.removeChild(n)}}function md(e,t,n,r){for(;e.nodeType===1;){var i=n;if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!r&&(e.nodeName!==`INPUT`||e.type!==`hidden`))break}else if(!r){if(t===`input`&&e.type===`hidden`){T(i.name,`name`);var a=i.name==null?null:``+i.name;if(i.type===`hidden`&&e.getAttribute(`name`)===a)return e}else return e}else if(!e[tm])switch(t){case`meta`:if(!e.hasAttribute(`itemprop`))break;return e;case`link`:if(a=e.getAttribute(`rel`),a===`stylesheet`&&e.hasAttribute(`data-precedence`)||a!==i.rel||e.getAttribute(`href`)!==(i.href==null||i.href===``?null:i.href)||e.getAttribute(`crossorigin`)!==(i.crossOrigin==null?null:i.crossOrigin)||e.getAttribute(`title`)!==(i.title==null?null:i.title))break;return e;case`style`:if(e.hasAttribute(`data-precedence`))break;return e;case`script`:if(a=e.getAttribute(`src`),(a!==(i.src==null?null:i.src)||e.getAttribute(`type`)!==(i.type==null?null:i.type)||e.getAttribute(`crossorigin`)!==(i.crossOrigin==null?null:i.crossOrigin))&&a&&e.hasAttribute(`async`)&&!e.hasAttribute(`itemprop`))break;return e;default:return e}if(e=bd(e.nextSibling),e===null)break}return null}function hd(e,t,n){if(t===``)return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!==`INPUT`||e.type!==`hidden`)&&!n||(e=bd(e.nextSibling),e===null))return null;return e}function gd(e,t){for(;e.nodeType!==8;)if((e.nodeType!==1||e.nodeName!==`INPUT`||e.type!==`hidden`)&&!t||(e=bd(e.nextSibling),e===null))return null;return e}function _d(e){return e.data===NS||e.data===PS}function vd(e){return e.data===FS||e.data===NS&&e.ownerDocument.readyState!==VS}function yd(e,t){var n=e.ownerDocument;if(e.data===PS)e._reactRetry=t;else if(e.data!==NS||n.readyState!==VS)t();else{var r=function(){t(),n.removeEventListener(`DOMContentLoaded`,r)};n.addEventListener(`DOMContentLoaded`,r),e._reactRetry=r}}function bd(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===jS||t===FS||t===NS||t===PS||t===kS||t===zS||t===BS)break;if(t===MS||t===AS)return null}}return e}function xd(e){if(e.nodeType===1){for(var t=e.nodeName.toLowerCase(),n={},r=e.attributes,i=0;i<r.length;i++){var a=r[i];n[Au(a.name)]=a.name.toLowerCase()===`style`?ju(e):a.value}return{type:t,props:n}}return e.nodeType===8?e.data===kS?{type:`Activity`,props:{}}:{type:`Suspense`,props:{}}:e.nodeValue}function Sd(e,t,n){return n===null||!0!==n[OS]?(e.nodeValue===t?e=null:(t=Tu(t),e=Tu(e.nodeValue)===t?null:e.nodeValue),e):null}function Cd(e){e=e.nextSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n===MS||n===AS){if(t===0)return bd(e.nextSibling);t--}else n!==jS&&n!==FS&&n!==NS&&n!==PS&&n!==kS||t++}e=e.nextSibling}return null}function wd(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n===jS||n===FS||n===NS||n===PS||n===kS){if(t===0)return e;t--}else n!==MS&&n!==AS||t++}e=e.previousSibling}return null}function Td(e){Tf(e)}function Ed(e){Tf(e)}function Dd(e){Tf(e)}function Od(e,t,n,r,i){switch(i&&qt(e,r.ancestorInfo),t=Hu(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 kd(e,t,n,r){if(!n[Xp]&&$e(n)){var i=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.`,i,i,i)}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(i=n.attributes;i.length;)n.removeAttributeNode(i[0]);Ou(n,e,t),n[Jp]=r,n[Yp]=t}function Ad(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);Ze(e)}function jd(e){return typeof e.getRootNode==`function`?e.getRootNode():e.nodeType===9?e:e.ownerDocument}function Md(e,t,n){var r=dC;if(r&&typeof t==`string`&&t){var i=gt(t);i=`link[rel="`+e+`"][href="`+i+`"]`,typeof n==`string`&&(i+=`[crossorigin="`+n+`"]`),lC.has(i)||(lC.add(i),e={rel:e,crossOrigin:n,href:t},r.querySelector(i)===null&&(t=r.createElement(`link`),Ou(t,`link`,e),nt(t),r.head.appendChild(t)))}}function Nd(e,t,n,r){var i=(i=rp.current)?jd(i):null;if(!i)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=Fd(n.href),t=tt(i).hoistableStyles,r=t.get(n),r||(r={type:`style`,instance:null,count:0,state:null},t.set(n,r)),r):{type:`void`,instance:null,count:0,state:null};case`link`:if(n.rel===`stylesheet`&&typeof n.href==`string`&&typeof n.precedence==`string`){e=Fd(n.href);var a=tt(i).hoistableStyles,o=a.get(e);if(!o&&(i=i.ownerDocument||i,o={type:`stylesheet`,instance:null,count:0,state:{loading:rC,preload:null}},a.set(e,o),(a=i.querySelector(Id(e)))&&!a._p&&(o.instance=a,o.state.loading=iC|sC),!cC.has(e))){var s={rel:`preload`,as:`style`,href:n.href,crossOrigin:n.crossOrigin,integrity:n.integrity,media:n.media,hrefLang:n.hrefLang,referrerPolicy:n.referrerPolicy};cC.set(e,s),a||Rd(i,e,s,o.state)}if(t&&r===null)throw n=`
|
|
181
|
+
|
|
182
|
+
- `+Pd(t)+`
|
|
183
|
+
+ `+Pd(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 o}if(t&&r!==null)throw n=`
|
|
184
|
+
|
|
185
|
+
- `+Pd(t)+`
|
|
186
|
+
+ `+Pd(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=zd(n),t=tt(i).hoistableScripts,r=t.get(n),r||(r={type:`script`,instance:null,count:0,state:null},t.set(n,r)),r):{type:`void`,instance:null,count:0,state:null};default:throw Error(`getResource encountered a type it did not expect: "`+e+`". this is a bug in React.`)}}function Pd(e){var t=0,n=`<link`;return typeof e.rel==`string`?(t++,n+=` rel="`+e.rel+`"`):yp.call(e,`rel`)&&(t++,n+=` rel="`+(e.rel===null?`null`:`invalid type `+typeof e.rel)+`"`),typeof e.href==`string`?(t++,n+=` href="`+e.href+`"`):yp.call(e,`href`)&&(t++,n+=` href="`+(e.href===null?`null`:`invalid type `+typeof e.href)+`"`),typeof e.precedence==`string`?(t++,n+=` precedence="`+e.precedence+`"`):yp.call(e,`precedence`)&&(t++,n+=` precedence={`+(e.precedence===null?`null`:`invalid type `+typeof e.precedence)+`}`),Object.getOwnPropertyNames(e).length>t&&(n+=` ...`),n+` />`}function Fd(e){return`href="`+gt(e)+`"`}function Id(e){return`link[rel="stylesheet"][`+e+`]`}function Ld(e){return L({},e,{"data-precedence":e.precedence,precedence:null})}function Rd(e,t,n,r){e.querySelector(`link[rel="preload"][as="style"][`+t+`]`)?r.loading=iC:(t=e.createElement(`link`),r.preload=t,t.addEventListener(`load`,function(){return r.loading|=iC}),t.addEventListener(`error`,function(){return r.loading|=aC}),Ou(t,`link`,n),nt(t),e.head.appendChild(t))}function zd(e){return`[src="`+gt(e)+`"]`}function Bd(e){return`script[async]`+e}function Vd(e,t,n){if(t.count++,t.instance===null)switch(t.type){case`style`:var r=e.querySelector(`style[data-href~="`+gt(n.href)+`"]`);if(r)return t.instance=r,nt(r),r;var i=L({},n,{"data-href":n.href,"data-precedence":n.precedence,href:null,precedence:null});return r=(e.ownerDocument||e).createElement(`style`),nt(r),Ou(r,`style`,i),Hd(r,n.precedence,e),t.instance=r;case`stylesheet`:i=Fd(n.href);var a=e.querySelector(Id(i));if(a)return t.state.loading|=sC,t.instance=a,nt(a),a;r=Ld(n),(i=cC.get(i))&&Ud(r,i),a=(e.ownerDocument||e).createElement(`link`),nt(a);var o=a;return o._p=new Promise(function(e,t){o.onload=e,o.onerror=t}),Ou(a,`link`,r),t.state.loading|=sC,Hd(a,n.precedence,e),t.instance=a;case`script`:return a=zd(n.src),(i=e.querySelector(Bd(a)))?(t.instance=i,nt(i),i):(r=n,(i=cC.get(a))&&(r=L({},n),Wd(r,i)),e=e.ownerDocument||e,i=e.createElement(`script`),nt(i),Ou(i,`link`,r),e.head.appendChild(i),t.instance=i);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&sC)===rC&&(r=t.instance,t.state.loading|=sC,Hd(r,n.precedence,e));return t.instance}function Hd(e,t,n){for(var r=n.querySelectorAll(`link[rel="stylesheet"][data-precedence],style[data-precedence]`),i=r.length?r[r.length-1]:null,a=i,o=0;o<r.length;o++){var s=r[o];if(s.dataset.precedence===t)a=s;else if(a!==i)break}a?a.parentNode.insertBefore(e,a.nextSibling):(t=n.nodeType===9?n.head:n,t.insertBefore(e,t.firstChild))}function Ud(e,t){e.crossOrigin??=t.crossOrigin,e.referrerPolicy??=t.referrerPolicy,e.title??=t.title}function Wd(e,t){e.crossOrigin??=t.crossOrigin,e.referrerPolicy??=t.referrerPolicy,e.integrity??=t.integrity}function Gd(e,t,n){if(fC===null){var r=new Map,i=fC=new Map;i.set(n,r)}else i=fC,r=i.get(n),r||(r=new Map,i.set(n,r));if(r.has(e))return r;for(r.set(e,null),n=n.getElementsByTagName(e),i=0;i<n.length;i++){var a=n[i];if(!(a[tm]||a[Jp]||e===`link`&&a.getAttribute(`rel`)===`stylesheet`)&&a.namespaceURI!==Rm){var o=a.getAttribute(t)||``;o=e+o;var s=r.get(o);s?s.push(a):r.set(o,[a])}}return r}function Kd(e,t,n){e=e.ownerDocument||e,e.head.insertBefore(n,t===`title`?e.querySelector(`head > title`):null)}function qd(e,t,n){var r=!n.ancestorInfo.containerTagInScope;if(n.context===WS||t.itemProp!=null)return!r||t.itemProp==null||e!==`meta`&&e!==`title`&&e!==`style`&&e!==`link`&&e!==`script`||console.error("Cannot render a <%s> outside the main document if it has an `itemProp` prop. `itemProp` suggests the tag belongs to an `itemScope` which can appear anywhere in the DOM. If you were intending for React to hoist this <%s> remove the `itemProp` prop. Otherwise, try moving this tag into the <head> or <body> of the Document.",e,e),!1;switch(e){case`meta`:case`title`:return!0;case`style`:if(typeof t.precedence!=`string`||typeof t.href!=`string`||t.href===``){r&&console.error('Cannot render a <style> outside the main document without knowing its precedence and a unique href key. React can hoist and deduplicate <style> tags if you provide a `precedence` prop along with an `href` prop that does not conflict with the `href` values used in any other hoisted <style> or <link rel="stylesheet" ...> tags. Note that hoisting <style> tags is considered an advanced feature that most will not use directly. Consider moving the <style> tag to the <head> or consider adding a `precedence="default"` and `href="some unique resource identifier"`.');break}return!0;case`link`:if(typeof t.rel!=`string`||typeof t.href!=`string`||t.href===``||t.onLoad||t.onError){if(t.rel===`stylesheet`&&typeof t.precedence==`string`){e=t.href;var i=t.onError,a=t.disabled;n=[],t.onLoad&&n.push("`onLoad`"),i&&n.push("`onError`"),a!=null&&n.push("`disabled`"),i=zu(n,`and`),i+=n.length===1?` prop`:` props`,a=n.length===1?`an `+i:`the `+i,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,a,i)}r&&(typeof t.rel!=`string`||typeof t.href!=`string`||t.href===``?console.error("Cannot render a <link> outside the main document without a `rel` and `href` prop. Try adding a `rel` and/or `href` prop to this <link> or moving the link into the <head> tag"):(t.onError||t.onLoad)&&console.error(`Cannot render a <link> with onLoad or onError listeners outside the main document. Try removing onLoad={...} and onError={...} or moving it into the root <head> tag or somewhere in the <body>.`));break}switch(t.rel){case`stylesheet`:return e=t.precedence,t=t.disabled,typeof e!=`string`&&r&&console.error(`Cannot render a <link rel="stylesheet" /> outside the main document without knowing its precedence. Consider adding precedence="default" or moving it into the root <head> tag.`),typeof e==`string`&&t==null;default:return!0}case`script`:if(e=t.async&&typeof t.async!=`function`&&typeof t.async!=`symbol`,!e||t.onLoad||t.onError||!t.src||typeof t.src!=`string`){r&&(e?t.onLoad||t.onError?console.error(`Cannot render a <script> with onLoad or onError listeners outside the main document. Try removing onLoad={...} and onError={...} or moving it into the root <head> tag or somewhere in the <body>.`):console.error("Cannot render a <script> outside the main document without `async={true}` and a non-empty `src` prop. Ensure there is a valid `src` and either make the script async or move it into the root <head> tag or somewhere in the <body>."):console.error(`Cannot render a sync or defer <script> outside the main document without knowing its order. Try adding async="" or moving it into the root <head> tag.`));break}return!0;case`noscript`:case`template`:r&&console.error(`Cannot render <%s> outside the main document. Try moving it into the root <head> tag.`,e)}return!1}function Jd(e){return e.type!==`stylesheet`||(e.state.loading&oC)!==rC}function Yd(e,t,n,r){if(n.type===`stylesheet`&&(typeof r.media!=`string`||!1!==matchMedia(r.media).matches)&&(n.state.loading&sC)===rC){if(n.instance===null){var i=Fd(r.href),a=t.querySelector(Id(i));if(a){t=a._p,typeof t==`object`&&t&&typeof t.then==`function`&&(e.count++,e=Zd.bind(e),t.then(e,e)),n.state.loading|=sC,n.instance=a,nt(a);return}a=t.ownerDocument||t,r=Ld(r),(i=cC.get(i))&&Ud(r,i),a=a.createElement(`link`),nt(a);var o=a;o._p=new Promise(function(e,t){o.onload=e,o.onerror=t}),Ou(a,`link`,r),n.instance=a}e.stylesheets===null&&(e.stylesheets=new Map),e.stylesheets.set(n,t),(t=n.state.preload)&&(n.state.loading&oC)===rC&&(e.count++,n=Zd.bind(e),t.addEventListener(`load`,n),t.addEventListener(`error`,n))}}function Xd(e,t){return e.stylesheets&&e.count===0&&Qd(e,e.stylesheets),0<e.count||0<e.imgCount?function(n){var r=setTimeout(function(){if(e.stylesheets&&Qd(e,e.stylesheets),e.unsuspend){var t=e.unsuspend;e.unsuspend=null,t()}},pC+t);0<e.imgBytes&&gC===0&&(gC=125*Vu()*hC);var i=setTimeout(function(){if(e.waitingForImages=!1,e.count===0&&(e.stylesheets&&Qd(e,e.stylesheets),e.unsuspend)){var t=e.unsuspend;e.unsuspend=null,t()}},(e.imgBytes>gC?50:mC)+t);return e.unsuspend=n,function(){e.unsuspend=null,clearTimeout(r),clearTimeout(i)}}:null}function Zd(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)Qd(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}function Qd(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,vC=new Map,t.forEach($d,e),vC=null,Zd.call(e))}function $d(e,t){if(!(t.state.loading&sC)){var n=vC.get(e);if(n)var r=n.get(_C);else{n=new Map,vC.set(e,n);for(var i=e.querySelectorAll(`link[data-precedence],style[data-precedence]`),a=0;a<i.length;a++){var o=i[a];(o.nodeName===`LINK`||o.getAttribute(`media`)!==`not all`)&&(n.set(o.dataset.precedence,o),r=o)}r&&n.set(_C,r)}i=t.instance,o=i.getAttribute(`data-precedence`),a=n.get(o)||r,a===r&&n.set(_C,i),n.set(o,i),this.count++,r=Zd.bind(this),i.addEventListener(`load`,r),i.addEventListener(`error`,r),a?a.parentNode.insertBefore(i,a.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(i,e.firstChild)),t.state.loading|=sC}}function ef(e,t,n,r,i,a,o,s,c){for(this.tag=1,this.containerInfo=e,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=$S,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=Be(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Be(0),this.hiddenUpdates=Be(null),this.identifierPrefix=r,this.onUncaughtError=i,this.onCaughtError=a,this.onRecoverableError=o,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=c,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 tf(e,t,n,r,i,a,o,s,c,l,u,d){return e=new ef(e,t,n,o,c,l,u,d,s),t=zg,!0===a&&(t|=Bg|Vg),t|=U,a=g(3,null,null,t),e.current=a,a.stateNode=e,t=si(),ci(t),e.pooledCache=t,ci(t),a.memoizedState={element:r,isDehydrated:n,cache:t},ea(a),e}function nf(e){return e?(e=Ig,e):Ig}function rf(e,t,n,r,i,a){if(Pp&&typeof Pp.onScheduleFiberRoot==`function`)try{Pp.onScheduleFiberRoot(Np,r,n)}catch(e){Fp||(Fp=!0,console.error(`React instrumentation encountered an error: %o`,e))}i=nf(i),r.context===null?r.context=i:r.pendingContext=i,vp&&_p!==null&&!EC&&(EC=!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.
|
|
187
|
+
|
|
188
|
+
Check the render method of %s.`,S(_p)||`Unknown`)),r=na(t),r.payload={element:n},a=a===void 0?null:a,a!==null&&(typeof a!=`function`&&console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",a),r.callback=a),n=ra(e,r,t),n!==null&&(ui(t,`root.render()`,null),al(n,e,t),ia(n,e,t))}function af(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function of(e,t){af(e,t),(e=e.alternate)&&af(e,t)}function sf(e){if(e.tag===13||e.tag===31){var t=pr(e,67108864);t!==null&&al(t,e,67108864),of(e,67108864)}}function cf(e){if(e.tag===13||e.tag===31){var t=rl(e);t=Ge(t);var n=pr(e,t);n!==null&&al(n,e,t),of(e,t)}}function lf(){return _p}function uf(e,t,n,r){var i=R.T;R.T=null;var a=z.p;try{z.p=Up,ff(e,t,n,r)}finally{z.p=a,R.T=i}}function df(e,t,n,r){var i=R.T;R.T=null;var a=z.p;try{z.p=Wp,ff(e,t,n,r)}finally{z.p=a,R.T=i}}function ff(e,t,n,r){if(LC){var i=pf(r);if(i===null)hu(e,t,r,RC,n),gf(e,r);else if(vf(i,e,t,n,r))r.stopPropagation();else if(gf(e,r),t&4&&-1<KC.indexOf(e)){for(;i!==null;){var a=$e(i);if(a!==null)switch(a.tag){case 3:if(a=a.stateNode,a.current.memoizedState.isDehydrated){var o=Fe(a.pendingLanes);if(o!==0){var s=a;for(s.pendingLanes|=2,s.entangledLanes|=2;o;){var c=1<<31-Lp(o);s.entanglements[1]|=c,o&=~c}Zl(a),(X&(Ib|Lb))===Fb&&(yx=wp()+bx,Ql(0,!1))}}break;case 31:case 13:s=pr(a,2),s!==null&&al(s,a,2),ul(),of(a,2)}if(a=pf(r),a===null&&hu(e,t,r,RC,n),a===i)break;i=a}i!==null&&r.stopPropagation()}else hu(e,t,r,null,n)}}function pf(e){return e=cn(e),mf(e)}function mf(e){if(RC=null,e=Qe(e),e!==null){var t=ee(e);if(t===null)e=null;else{var n=t.tag;if(n===13){if(e=te(t),e!==null)return e;e=null}else if(n===31){if(e=ne(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 RC=e,null}function hf(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 Up;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 Wp;case`message`:switch(Tp()){case Ep:return Up;case Dp:return Wp;case Op:case kp:return Gp;case Ap:return Kp;default:return Gp}default:return Gp}}function gf(e,t){switch(e){case`focusin`:case`focusout`:BC=null;break;case`dragenter`:case`dragleave`:VC=null;break;case`mouseover`:case`mouseout`:HC=null;break;case`pointerover`:case`pointerout`:UC.delete(t.pointerId);break;case`gotpointercapture`:case`lostpointercapture`:WC.delete(t.pointerId)}}function _f(e,t,n,r,i,a){return e===null||e.nativeEvent!==a?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:a,targetContainers:[i]},t!==null&&(t=$e(t),t!==null&&sf(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,i!==null&&t.indexOf(i)===-1&&t.push(i),e)}function vf(e,t,n,r,i){switch(t){case`focusin`:return BC=_f(BC,e,t,n,r,i),!0;case`dragenter`:return VC=_f(VC,e,t,n,r,i),!0;case`mouseover`:return HC=_f(HC,e,t,n,r,i),!0;case`pointerover`:var a=i.pointerId;return UC.set(a,_f(UC.get(a)||null,e,t,n,r,i)),!0;case`gotpointercapture`:return a=i.pointerId,WC.set(a,_f(WC.get(a)||null,e,t,n,r,i)),!0}return!1}function yf(e){var t=Qe(e.target);if(t!==null){var n=ee(t);if(n!==null){if(t=n.tag,t===13){if(t=te(n),t!==null){e.blockedOn=t,Xe(e.priority,function(){cf(n)});return}}else if(t===31){if(t=ne(n),t!==null){e.blockedOn=t,Xe(e.priority,function(){cf(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 bf(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=pf(e.nativeEvent);if(n===null){n=e.nativeEvent;var r=new n.constructor(n.type,n),i=r;Qm!==null&&console.error(`Expected currently replaying event to be null. This error is likely caused by a bug in React. Please file an issue.`),Qm=i,n.target.dispatchEvent(r),Qm===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.`),Qm=null}else return t=$e(n),t!==null&&sf(t),e.blockedOn=n,!1;t.shift()}return!0}function xf(e,t,n){bf(e)&&n.delete(t)}function Sf(){zC=!1,BC!==null&&bf(BC)&&(BC=null),VC!==null&&bf(VC)&&(VC=null),HC!==null&&bf(HC)&&(HC=null),UC.forEach(xf),WC.forEach(xf)}function Cf(e,t){e.blockedOn===t&&(e.blockedOn=null,zC||(zC=!0,Af.unstable_scheduleCallback(Af.unstable_NormalPriority,Sf)))}function wf(e){qC!==e&&(qC=e,Af.unstable_scheduleCallback(Af.unstable_NormalPriority,function(){qC===e&&(qC=null);for(var t=0;t<e.length;t+=3){var n=e[t],r=e[t+1],i=e[t+2];if(typeof r!=`function`){if(mf(r||n)===null)continue;break}var a=$e(n);a!==null&&(e.splice(t,3),t-=3,n={pending:!0,data:i,method:n.method,action:r},Object.freeze(n),Io(a,n,r,i))}}))}function Tf(e){function t(t){return Cf(t,e)}BC!==null&&Cf(BC,e),VC!==null&&Cf(VC,e),HC!==null&&Cf(HC,e),UC.forEach(t),WC.forEach(t);for(var n=0;n<GC.length;n++){var r=GC[n];r.blockedOn===e&&(r.blockedOn=null)}for(;0<GC.length&&(n=GC[0],n.blockedOn===null);)yf(n),n.blockedOn===null&&GC.shift();if(n=(e.ownerDocument||e).$$reactFormReplay,n!=null)for(r=0;r<n.length;r+=3){var i=n[r],a=n[r+1],o=i[Yp]||null;if(typeof a==`function`)o||wf(n);else if(o){var s=null;if(a&&a.hasAttribute(`formAction`)){if(i=a,o=a[Yp]||null)s=o.formAction;else if(mf(i)!==null)continue}else s=o.action;typeof s==`function`?n[r+1]=s:(n.splice(r,3),r-=3),wf(n)}}}function Ef(){function e(e){e.canIntercept&&e.info===`react-transition`&&e.intercept({handler:function(){return new Promise(function(e){return i=e})},focusReset:`manual`,scroll:`manual`})}function t(){i!==null&&(i(),i=null),r||setTimeout(n,20)}function n(){if(!r&&!navigation.transition){var e=navigation.currentEntry;e&&e.url!=null&&navigation.navigate(e.url,{state:e.getState(),info:`react-transition`,history:`replace`})}}if(typeof navigation==`object`){var r=!1,i=null;return navigation.addEventListener(`navigate`,e),navigation.addEventListener(`navigatesuccess`,t),navigation.addEventListener(`navigateerror`,t),setTimeout(n,100),function(){r=!0,navigation.removeEventListener(`navigate`,e),navigation.removeEventListener(`navigatesuccess`,t),navigation.removeEventListener(`navigateerror`,t),i!==null&&(i(),i=null)}}}function Df(e){this._internalRoot=e}function Of(e){this._internalRoot=e}function kf(e){e[Xp]&&(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 Af=o(),jf=n(),Mf=i(),L=Object.assign,Nf=Symbol.for(`react.element`),Pf=Symbol.for(`react.transitional.element`),Ff=Symbol.for(`react.portal`),If=Symbol.for(`react.fragment`),Lf=Symbol.for(`react.strict_mode`),Rf=Symbol.for(`react.profiler`),zf=Symbol.for(`react.consumer`),Bf=Symbol.for(`react.context`),Vf=Symbol.for(`react.forward_ref`),Hf=Symbol.for(`react.suspense`),Uf=Symbol.for(`react.suspense_list`),Wf=Symbol.for(`react.memo`),Gf=Symbol.for(`react.lazy`),Kf=Symbol.for(`react.activity`),qf=Symbol.for(`react.memo_cache_sentinel`),Jf=Symbol.iterator,Yf=Symbol.for(`react.client.reference`),Xf=Array.isArray,R=jf.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,z=Mf.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Zf=Object.freeze({pending:!1,data:null,method:null,action:null}),Qf=[],$f=[],ep=-1,tp=ce(null),np=ce(null),rp=ce(null),ip=ce(null),ap=0,op,sp,cp,lp,up,dp,fp;ge.__reactDisabledLog=!0;var pp,mp,hp=!1,gp=new(typeof WeakMap==`function`?WeakMap:Map),_p=null,vp=!1,yp=Object.prototype.hasOwnProperty,bp=Af.unstable_scheduleCallback,xp=Af.unstable_cancelCallback,Sp=Af.unstable_shouldYield,Cp=Af.unstable_requestPaint,wp=Af.unstable_now,Tp=Af.unstable_getCurrentPriorityLevel,Ep=Af.unstable_ImmediatePriority,Dp=Af.unstable_UserBlockingPriority,Op=Af.unstable_NormalPriority,kp=Af.unstable_LowPriority,Ap=Af.unstable_IdlePriority,jp=Af.log,Mp=Af.unstable_setDisableYieldValue,Np=null,Pp=null,Fp=!1,Ip=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<`u`,Lp=Math.clz32?Math.clz32:Pe,Rp=Math.log,zp=Math.LN2,Bp=256,Vp=262144,Hp=4194304,Up=2,Wp=8,Gp=32,Kp=268435456,qp=Math.random().toString(36).slice(2),Jp=`__reactFiber$`+qp,Yp=`__reactProps$`+qp,Xp=`__reactContainer$`+qp,Zp=`__reactEvents$`+qp,Qp=`__reactListeners$`+qp,$p=`__reactHandles$`+qp,em=`__reactResources$`+qp,tm=`__reactMarker$`+qp,nm=new Set,rm={},im={},am={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0},om=RegExp(`^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$`),sm={},cm={},lm=/[\n"\\]/g,um=!1,dm=!1,fm=!1,pm=!1,mm=!1,hm=!1,gm=[`value`,`defaultValue`],_m=!1,vm=/["'&<>\n\t]|^\s|\s$/,ym=`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(` `),bm=`applet caption html table td th marquee object template foreignObject desc title`.split(` `),xm=bm.concat([`button`]),Sm=`dd dt li option optgroup p rp rt`.split(` `),Cm={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null,containerTagInScope:null,implicitRootScope:!1},wm={},Tm={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`]},Em=/([A-Z])/g,Dm=/^ms-/,Om=/^(?:webkit|moz|o)[A-Z]/,km=/^-ms-/,Am=/-(.)/g,jm=/;\s*$/,Mm={},Nm={},Pm=!1,Fm=!1,Im=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(` `)),Lm=`http://www.w3.org/1998/Math/MathML`,Rm=`http://www.w3.org/2000/svg`,zm=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`]]),Bm={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`},Vm={"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},Hm={},Um=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]*$`),Wm=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]*$`),Gm=!1,Km={},qm=/^on./,Jm=/^on[^A-Z]/,Ym=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]*$`),Xm=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]*$`),Zm=/^[\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,Qm=null,$m=null,eh=null,th=!1,nh=!(typeof window>`u`||window.document===void 0||window.document.createElement===void 0),rh=!1;if(nh)try{var ih={};Object.defineProperty(ih,"passive",{get:function(){rh=!0}}),window.addEventListener(`test`,ih,ih),window.removeEventListener(`test`,ih,ih)}catch{rh=!1}var ah=null,oh=null,sh=null,ch={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},lh=gn(ch),uh=L({},ch,{view:0,detail:0}),dh=gn(uh),fh,ph,mh,hh=L({},uh,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:vn,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!==mh&&(mh&&e.type===`mousemove`?(fh=e.screenX-mh.screenX,ph=e.screenY-mh.screenY):ph=fh=0,mh=e),fh)},movementY:function(e){return`movementY`in e?e.movementY:ph}}),gh=gn(hh),_h=gn(L({},hh,{dataTransfer:0})),vh=gn(L({},uh,{relatedTarget:0})),yh=gn(L({},ch,{animationName:0,elapsedTime:0,pseudoElement:0})),bh=gn(L({},ch,{clipboardData:function(e){return`clipboardData`in e?e.clipboardData:window.clipboardData}})),xh=gn(L({},ch,{data:0})),Sh=xh,Ch={Esc:`Escape`,Spacebar:` `,Left:`ArrowLeft`,Up:`ArrowUp`,Right:`ArrowRight`,Down:`ArrowDown`,Del:`Delete`,Win:`OS`,Menu:`ContextMenu`,Apps:`ContextMenu`,Scroll:`ScrollLock`,MozPrintableKey:`Unidentified`},wh={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`},Th={Alt:`altKey`,Control:`ctrlKey`,Meta:`metaKey`,Shift:`shiftKey`},Eh=gn(L({},uh,{key:function(e){if(e.key){var t=Ch[e.key]||e.key;if(t!==`Unidentified`)return t}return e.type===`keypress`?(e=pn(e),e===13?`Enter`:String.fromCharCode(e)):e.type===`keydown`||e.type===`keyup`?wh[e.keyCode]||`Unidentified`:``},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:vn,charCode:function(e){return e.type===`keypress`?pn(e):0},keyCode:function(e){return e.type===`keydown`||e.type===`keyup`?e.keyCode:0},which:function(e){return e.type===`keypress`?pn(e):e.type===`keydown`||e.type===`keyup`?e.keyCode:0}})),Dh=gn(L({},hh,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),Oh=gn(L({},uh,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:vn})),kh=gn(L({},ch,{propertyName:0,elapsedTime:0,pseudoElement:0})),Ah=gn(L({},hh,{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})),jh=gn(L({},ch,{newState:0,oldState:0})),Mh=[9,13,27,32],Nh=229,Ph=nh&&`CompositionEvent`in window,Fh=null;nh&&`documentMode`in document&&(Fh=document.documentMode);var Ih=nh&&`TextEvent`in window&&!Fh,Lh=nh&&(!Ph||Fh&&8<Fh&&11>=Fh),Rh=32,zh=String.fromCharCode(Rh),Bh=!1,Vh=!1,Hh={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},Uh=null,Wh=null,Gh=!1;nh&&(Gh=wn(`input`)&&(!document.documentMode||9<document.documentMode));var Kh=typeof Object.is==`function`?Object.is:Fn,qh=nh&&`documentMode`in document&&11>=document.documentMode,Jh=null,Yh=null,Xh=null,Zh=!1,Qh={animationend:Un(`Animation`,`AnimationEnd`),animationiteration:Un(`Animation`,`AnimationIteration`),animationstart:Un(`Animation`,`AnimationStart`),transitionrun:Un(`Transition`,`TransitionRun`),transitionstart:Un(`Transition`,`TransitionStart`),transitioncancel:Un(`Transition`,`TransitionCancel`),transitionend:Un(`Transition`,`TransitionEnd`)},$h={},eg={};nh&&(eg=document.createElement(`div`).style,`AnimationEvent`in window||(delete Qh.animationend.animation,delete Qh.animationiteration.animation,delete Qh.animationstart.animation),`TransitionEvent`in window||delete Qh.transitionend.transition);var tg=Wn(`animationend`),ng=Wn(`animationiteration`),rg=Wn(`animationstart`),ig=Wn(`transitionrun`),ag=Wn(`transitionstart`),og=Wn(`transitioncancel`),sg=Wn(`transitionend`),cg=new Map,lg=`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(` `);lg.push(`scrollEnd`);var ug=0;if(typeof performance==`object`&&typeof performance.now==`function`)var dg=performance,fg=function(){return dg.now()};else{var pg=Date;fg=function(){return pg.now()}}var mg=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&&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)},hg=`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.`,gg=0,_g=1,vg=2,yg=3,bg=`–\xA0`,xg=`+\xA0`,Sg=` \xA0`,Cg=typeof console<`u`&&typeof console.timeStamp==`function`&&typeof performance<`u`&&typeof performance.measure==`function`,wg=`Components ⚛`,B=`Scheduler ⚛`,V=`Blocking`,Tg=!1,Eg={color:`primary`,properties:null,tooltipText:``,track:wg},Dg={start:-0,end:-0,detail:{devtools:Eg}},Og=[`Changed Props`,``],kg=`This component received deeply equal props. It might benefit from useMemo or the React Compiler in its owner.`,Ag=[`Changed Props`,kg],jg=1,Mg=2,Ng=[],Pg=0,Fg=0,Ig={};Object.freeze(Ig);var Lg=null,Rg=null,H=0,zg=1,U=2,Bg=8,Vg=16,Hg=32,Ug=!1;try{Object.preventExtensions({})}catch{Ug=!0}var Wg=new WeakMap,Gg=[],Kg=0,qg=null,Jg=0,Yg=[],Xg=0,Zg=null,Qg=1,$g=``,e_=null,t_=null,W=!1,n_=!1,r_=null,i_=null,a_=!1,o_=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.`),s_=ce(null),c_=ce(null),l_={},u_=null,d_=null,f_=!1,p_=typeof AbortController<`u`?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(t,n){e.push(n)}};this.abort=function(){t.aborted=!0,e.forEach(function(e){return e()})}},m_=Af.unstable_scheduleCallback,h_=Af.unstable_NormalPriority,g_={$$typeof:Bf,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0,_currentRenderer:null,_currentRenderer2:null},__=Af.unstable_now,v_=console.createTask?console.createTask:function(){return null},y_=1,b_=2,x_=-0,S_=-0,C_=-0,w_=null,T_=-1.1,E_=-0,D_=-0,G=-1.1,K=-1.1,O_=null,k_=!1,A_=-0,j_=-1.1,M_=null,N_=0,P_=null,F_=null,I_=-1.1,L_=null,R_=-1.1,z_=-1.1,B_=-0,V_=-1.1,H_=-1.1,U_=0,W_=null,G_=null,K_=null,q_=-1.1,J_=null,Y_=-1.1,X_=-1.1,Z_=-0,Q_=-0,$_=0,ev=null,tv=0,nv=-1.1,rv=!1,iv=!1,av=null,ov=0,sv=0,cv=null,lv=R.S;R.S=function(e,t){if(_x=wp(),typeof t==`object`&&t&&typeof t.then==`function`){if(0>V_&&0>H_){V_=__();var n=Ju(),r=qu();(n!==Y_||r!==J_)&&(Y_=-1.1),q_=n,J_=r}ki(e,t)}lv!==null&&lv(e,t)};var uv=ce(null),dv={recordUnsafeLifecycleWarnings:function(){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}},fv=[],pv=[],mv=[],hv=[],gv=[],_v=[],vv=new Set;dv.recordUnsafeLifecycleWarnings=function(e,t){vv.has(e.type)||(typeof t.componentWillMount==`function`&&!0!==t.componentWillMount.__suppressDeprecationWarning&&fv.push(e),e.mode&Bg&&typeof t.UNSAFE_componentWillMount==`function`&&pv.push(e),typeof t.componentWillReceiveProps==`function`&&!0!==t.componentWillReceiveProps.__suppressDeprecationWarning&&mv.push(e),e.mode&Bg&&typeof t.UNSAFE_componentWillReceiveProps==`function`&&hv.push(e),typeof t.componentWillUpdate==`function`&&!0!==t.componentWillUpdate.__suppressDeprecationWarning&&gv.push(e),e.mode&Bg&&typeof t.UNSAFE_componentWillUpdate==`function`&&_v.push(e))},dv.flushPendingUnsafeLifecycleWarnings=function(){var e=new Set;0<fv.length&&(fv.forEach(function(t){e.add(S(t)||`Component`),vv.add(t.type)}),fv=[]);var t=new Set;0<pv.length&&(pv.forEach(function(e){t.add(S(e)||`Component`),vv.add(e.type)}),pv=[]);var n=new Set;0<mv.length&&(mv.forEach(function(e){n.add(S(e)||`Component`),vv.add(e.type)}),mv=[]);var r=new Set;0<hv.length&&(hv.forEach(function(e){r.add(S(e)||`Component`),vv.add(e.type)}),hv=[]);var i=new Set;0<gv.length&&(gv.forEach(function(e){i.add(S(e)||`Component`),vv.add(e.type)}),gv=[]);var a=new Set;if(0<_v.length&&(_v.forEach(function(e){a.add(S(e)||`Component`),vv.add(e.type)}),_v=[]),0<t.size){var o=h(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.
|
|
189
|
+
|
|
190
|
+
* Move code with side effects to componentDidMount, and set initial state in the constructor.
|
|
191
|
+
|
|
192
|
+
Please update the following components: %s`,o)}0<r.size&&(o=h(r),console.error(`Using UNSAFE_componentWillReceiveProps in strict mode is not recommended and may indicate bugs in your code. See https://react.dev/link/unsafe-component-lifecycles for details.
|
|
193
|
+
|
|
194
|
+
* Move data fetching code or side effects to componentDidUpdate.
|
|
195
|
+
* 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
|
|
196
|
+
|
|
197
|
+
Please update the following components: %s`,o)),0<a.size&&(o=h(a),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.
|
|
198
|
+
|
|
199
|
+
* Move data fetching code or side effects to componentDidUpdate.
|
|
200
|
+
|
|
201
|
+
Please update the following components: %s`,o)),0<e.size&&(o=h(e),console.warn(`componentWillMount has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
|
|
202
|
+
|
|
203
|
+
* Move code with side effects to componentDidMount, and set initial state in the constructor.
|
|
204
|
+
* 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.
|
|
205
|
+
|
|
206
|
+
Please update the following components: %s`,o)),0<n.size&&(o=h(n),console.warn(`componentWillReceiveProps has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
|
|
207
|
+
|
|
208
|
+
* Move data fetching code or side effects to componentDidUpdate.
|
|
209
|
+
* 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
|
|
210
|
+
* 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.
|
|
211
|
+
|
|
212
|
+
Please update the following components: %s`,o)),0<i.size&&(o=h(i),console.warn(`componentWillUpdate has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
|
|
213
|
+
|
|
214
|
+
* Move data fetching code or side effects to componentDidUpdate.
|
|
215
|
+
* 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.
|
|
216
|
+
|
|
217
|
+
Please update the following components: %s`,o))};var yv=new Map,bv=new Set;dv.recordLegacyContextWarning=function(e,t){for(var n=null,r=e;r!==null;)r.mode&Bg&&(n=r),r=r.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.`):!bv.has(e.type)&&(r=yv.get(n),e.type.contextTypes!=null||e.type.childContextTypes!=null||t!==null&&typeof t.getChildContext==`function`)&&(r===void 0&&(r=[],yv.set(n,r)),r.push(e))},dv.flushLegacyContextWarning=function(){yv.forEach(function(e){if(e.length!==0){var t=e[0],n=new Set;e.forEach(function(e){n.add(S(e)||`Component`),bv.add(e.type)});var r=h(n);w(t,function(){console.error(`Legacy context API has been detected within a strict-mode tree.
|
|
218
|
+
|
|
219
|
+
The old API will be supported in all 16.x releases, but applications using it should migrate to the new version.
|
|
220
|
+
|
|
221
|
+
Please update the following components: %s
|
|
222
|
+
|
|
223
|
+
Learn more about this warning here: https://react.dev/link/legacy-context`,r)})}})},dv.discardPendingWarnings=function(){fv=[],pv=[],mv=[],hv=[],gv=[],_v=[],yv=new Map};var xv={react_stack_bottom_frame:function(e,t,n){var r=vp;vp=!0;try{return e(t,n)}finally{vp=r}}},Sv=xv.react_stack_bottom_frame.bind(xv),Cv={react_stack_bottom_frame:function(e){var t=vp;vp=!0;try{return e.render()}finally{vp=t}}},wv=Cv.react_stack_bottom_frame.bind(Cv),Tv={react_stack_bottom_frame:function(e,t){try{t.componentDidMount()}catch(t){P(e,e.return,t)}}},Ev=Tv.react_stack_bottom_frame.bind(Tv),Dv={react_stack_bottom_frame:function(e,t,n,r,i){try{t.componentDidUpdate(n,r,i)}catch(t){P(e,e.return,t)}}},Ov=Dv.react_stack_bottom_frame.bind(Dv),kv={react_stack_bottom_frame:function(e,t){var n=t.stack;e.componentDidCatch(t.value,{componentStack:n===null?``:n})}},Av=kv.react_stack_bottom_frame.bind(kv),jv={react_stack_bottom_frame:function(e,t,n){try{n.componentWillUnmount()}catch(n){P(e,t,n)}}},Mv=jv.react_stack_bottom_frame.bind(jv),Nv={react_stack_bottom_frame:function(e){var t=e.create;return e=e.inst,t=t(),e.destroy=t}},Pv=Nv.react_stack_bottom_frame.bind(Nv),Fv={react_stack_bottom_frame:function(e,t,n){try{n()}catch(n){P(e,t,n)}}},Iv=Fv.react_stack_bottom_frame.bind(Fv),Lv={react_stack_bottom_frame:function(e){var t=e._init;return t(e._payload)}},Rv=Lv.react_stack_bottom_frame.bind(Lv),zv=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`."),Bv=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.`),Vv=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."),Hv={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.`)}},Uv=null,Wv=!1,Gv=null,Kv=0,q=null,qv,Jv=qv=!1,Yv={},Xv={},Zv={};m=function(e,t,n){if(typeof n==`object`&&n&&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 r=S(e),i=r||`null`;if(!Yv[i]){Yv[i]=!0,n=n._owner,e=e._debugOwner;var a=``;e&&typeof e.tag==`number`&&(i=S(e))&&(a=`
|
|
224
|
+
|
|
225
|
+
Check the render method of \``+i+"`."),a||r&&(a=`
|
|
226
|
+
|
|
227
|
+
Check the top-level render call using <`+r+`>.`);var o=``;n!=null&&e!==n&&(r=null,typeof n.tag==`number`?r=S(n):typeof n.name==`string`&&(r=n.name),r&&(o=` It was passed a child from `+r+`.`)),w(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.`,a,o)})}}};var Qv=Qi(!0),$v=Qi(!1),ey=0,ty=1,ny=2,ry=3,iy=!1,ay=!1,oy=null,sy=!1,cy=ce(null),ly=ce(0),uy=ce(null),dy=null,fy=1,py=2,my=ce(0),hy=0,gy=1,_y=2,vy=4,yy=8,by,xy=new Set,Sy=new Set,Cy=new Set,wy=new Set,Ty=0,J=null,Ey=null,Dy=null,Oy=!1,ky=!1,Ay=!1,jy=0,My=0,Ny=null,Py=0,Fy=25,Y=null,Iy=null,Ly=-1,Ry=!1,zy={readContext:ii,use:Pa,useCallback:Sa,useContext:Sa,useEffect:Sa,useImperativeHandle:Sa,useLayoutEffect:Sa,useInsertionEffect:Sa,useMemo:Sa,useReducer:Sa,useRef:Sa,useState:Sa,useDebugValue:Sa,useDeferredValue:Sa,useTransition:Sa,useSyncExternalStore:Sa,useId:Sa,useHostTransitionStatus:Sa,useFormState:Sa,useActionState:Sa,useOptimistic:Sa,useMemoCache:Sa,useCacheRefresh:Sa};zy.useEffectEvent=Sa;var By=null,Vy=null,Hy=null,Uy=null,Wy=null,Gy=null,Ky=null;By={readContext:function(e){return ii(e)},use:Pa,useCallback:function(e,t){return Y=`useCallback`,j(),ba(t),To(e,t)},useContext:function(e){return Y=`useContext`,j(),ii(e)},useEffect:function(e,t){return Y=`useEffect`,j(),ba(t),_o(e,t)},useImperativeHandle:function(e,t,n){return Y=`useImperativeHandle`,j(),ba(n),Co(e,t,n)},useInsertionEffect:function(e,t){Y=`useInsertionEffect`,j(),ba(t),ho(4,_y,e,t)},useLayoutEffect:function(e,t){return Y=`useLayoutEffect`,j(),ba(t),xo(e,t)},useMemo:function(e,t){Y=`useMemo`,j(),ba(t);var n=R.H;R.H=Wy;try{return Do(e,t)}finally{R.H=n}},useReducer:function(e,t,n){Y=`useReducer`,j();var r=R.H;R.H=Wy;try{return La(e,t,n)}finally{R.H=r}},useRef:function(e){return Y=`useRef`,j(),mo(e)},useState:function(e){Y=`useState`,j();var t=R.H;R.H=Wy;try{return Ya(e)}finally{R.H=t}},useDebugValue:function(){Y=`useDebugValue`,j()},useDeferredValue:function(e,t){return Y=`useDeferredValue`,j(),ko(e,t)},useTransition:function(){return Y=`useTransition`,j(),zo()},useSyncExternalStore:function(e,t,n){return Y=`useSyncExternalStore`,j(),Va(e,t,n)},useId:function(){return Y=`useId`,j(),Uo()},useFormState:function(e,t){return Y=`useFormState`,j(),xa(),so(e,t)},useActionState:function(e,t){return Y=`useActionState`,j(),so(e,t)},useOptimistic:function(e){return Y=`useOptimistic`,j(),Xa(e)},useHostTransitionStatus:Ho,useMemoCache:Fa,useCacheRefresh:function(){return Y=`useCacheRefresh`,j(),Wo()},useEffectEvent:function(e){return Y=`useEffectEvent`,j(),yo(e)}},Vy={readContext:function(e){return ii(e)},use:Pa,useCallback:function(e,t){return Y=`useCallback`,M(),To(e,t)},useContext:function(e){return Y=`useContext`,M(),ii(e)},useEffect:function(e,t){return Y=`useEffect`,M(),_o(e,t)},useImperativeHandle:function(e,t,n){return Y=`useImperativeHandle`,M(),Co(e,t,n)},useInsertionEffect:function(e,t){Y=`useInsertionEffect`,M(),ho(4,_y,e,t)},useLayoutEffect:function(e,t){return Y=`useLayoutEffect`,M(),xo(e,t)},useMemo:function(e,t){Y=`useMemo`,M();var n=R.H;R.H=Wy;try{return Do(e,t)}finally{R.H=n}},useReducer:function(e,t,n){Y=`useReducer`,M();var r=R.H;R.H=Wy;try{return La(e,t,n)}finally{R.H=r}},useRef:function(e){return Y=`useRef`,M(),mo(e)},useState:function(e){Y=`useState`,M();var t=R.H;R.H=Wy;try{return Ya(e)}finally{R.H=t}},useDebugValue:function(){Y=`useDebugValue`,M()},useDeferredValue:function(e,t){return Y=`useDeferredValue`,M(),ko(e,t)},useTransition:function(){return Y=`useTransition`,M(),zo()},useSyncExternalStore:function(e,t,n){return Y=`useSyncExternalStore`,M(),Va(e,t,n)},useId:function(){return Y=`useId`,M(),Uo()},useActionState:function(e,t){return Y=`useActionState`,M(),so(e,t)},useFormState:function(e,t){return Y=`useFormState`,M(),xa(),so(e,t)},useOptimistic:function(e){return Y=`useOptimistic`,M(),Xa(e)},useHostTransitionStatus:Ho,useMemoCache:Fa,useCacheRefresh:function(){return Y=`useCacheRefresh`,M(),Wo()},useEffectEvent:function(e){return Y=`useEffectEvent`,M(),yo(e)}},Hy={readContext:function(e){return ii(e)},use:Pa,useCallback:function(e,t){return Y=`useCallback`,M(),Eo(e,t)},useContext:function(e){return Y=`useContext`,M(),ii(e)},useEffect:function(e,t){Y=`useEffect`,M(),go(2048,yy,e,t)},useImperativeHandle:function(e,t,n){return Y=`useImperativeHandle`,M(),wo(e,t,n)},useInsertionEffect:function(e,t){return Y=`useInsertionEffect`,M(),go(4,_y,e,t)},useLayoutEffect:function(e,t){return Y=`useLayoutEffect`,M(),go(4,vy,e,t)},useMemo:function(e,t){Y=`useMemo`,M();var n=R.H;R.H=Gy;try{return Oo(e,t)}finally{R.H=n}},useReducer:function(e,t,n){Y=`useReducer`,M();var r=R.H;R.H=Gy;try{return Ra(e,t,n)}finally{R.H=r}},useRef:function(){return Y=`useRef`,M(),N().memoizedState},useState:function(){Y=`useState`,M();var e=R.H;R.H=Gy;try{return Ra(Ia)}finally{R.H=e}},useDebugValue:function(){Y=`useDebugValue`,M()},useDeferredValue:function(e,t){return Y=`useDeferredValue`,M(),Ao(e,t)},useTransition:function(){return Y=`useTransition`,M(),Bo()},useSyncExternalStore:function(e,t,n){return Y=`useSyncExternalStore`,M(),Ha(e,t,n)},useId:function(){return Y=`useId`,M(),N().memoizedState},useFormState:function(e){return Y=`useFormState`,M(),xa(),co(e)},useActionState:function(e){return Y=`useActionState`,M(),co(e)},useOptimistic:function(e,t){return Y=`useOptimistic`,M(),Za(e,t)},useHostTransitionStatus:Ho,useMemoCache:Fa,useCacheRefresh:function(){return Y=`useCacheRefresh`,M(),N().memoizedState},useEffectEvent:function(e){return Y=`useEffectEvent`,M(),bo(e)}},Uy={readContext:function(e){return ii(e)},use:Pa,useCallback:function(e,t){return Y=`useCallback`,M(),Eo(e,t)},useContext:function(e){return Y=`useContext`,M(),ii(e)},useEffect:function(e,t){Y=`useEffect`,M(),go(2048,yy,e,t)},useImperativeHandle:function(e,t,n){return Y=`useImperativeHandle`,M(),wo(e,t,n)},useInsertionEffect:function(e,t){return Y=`useInsertionEffect`,M(),go(4,_y,e,t)},useLayoutEffect:function(e,t){return Y=`useLayoutEffect`,M(),go(4,vy,e,t)},useMemo:function(e,t){Y=`useMemo`,M();var n=R.H;R.H=Ky;try{return Oo(e,t)}finally{R.H=n}},useReducer:function(e,t,n){Y=`useReducer`,M();var r=R.H;R.H=Ky;try{return Ba(e,t,n)}finally{R.H=r}},useRef:function(){return Y=`useRef`,M(),N().memoizedState},useState:function(){Y=`useState`,M();var e=R.H;R.H=Ky;try{return Ba(Ia)}finally{R.H=e}},useDebugValue:function(){Y=`useDebugValue`,M()},useDeferredValue:function(e,t){return Y=`useDeferredValue`,M(),jo(e,t)},useTransition:function(){return Y=`useTransition`,M(),Vo()},useSyncExternalStore:function(e,t,n){return Y=`useSyncExternalStore`,M(),Ha(e,t,n)},useId:function(){return Y=`useId`,M(),N().memoizedState},useFormState:function(e){return Y=`useFormState`,M(),xa(),fo(e)},useActionState:function(e){return Y=`useActionState`,M(),fo(e)},useOptimistic:function(e,t){return Y=`useOptimistic`,M(),$a(e,t)},useHostTransitionStatus:Ho,useMemoCache:Fa,useCacheRefresh:function(){return Y=`useCacheRefresh`,M(),N().memoizedState},useEffectEvent:function(e){return Y=`useEffectEvent`,M(),bo(e)}},Wy={readContext:function(e){return f(),ii(e)},use:function(e){return d(),Pa(e)},useCallback:function(e,t){return Y=`useCallback`,d(),j(),To(e,t)},useContext:function(e){return Y=`useContext`,d(),j(),ii(e)},useEffect:function(e,t){return Y=`useEffect`,d(),j(),_o(e,t)},useImperativeHandle:function(e,t,n){return Y=`useImperativeHandle`,d(),j(),Co(e,t,n)},useInsertionEffect:function(e,t){Y=`useInsertionEffect`,d(),j(),ho(4,_y,e,t)},useLayoutEffect:function(e,t){return Y=`useLayoutEffect`,d(),j(),xo(e,t)},useMemo:function(e,t){Y=`useMemo`,d(),j();var n=R.H;R.H=Wy;try{return Do(e,t)}finally{R.H=n}},useReducer:function(e,t,n){Y=`useReducer`,d(),j();var r=R.H;R.H=Wy;try{return La(e,t,n)}finally{R.H=r}},useRef:function(e){return Y=`useRef`,d(),j(),mo(e)},useState:function(e){Y=`useState`,d(),j();var t=R.H;R.H=Wy;try{return Ya(e)}finally{R.H=t}},useDebugValue:function(){Y=`useDebugValue`,d(),j()},useDeferredValue:function(e,t){return Y=`useDeferredValue`,d(),j(),ko(e,t)},useTransition:function(){return Y=`useTransition`,d(),j(),zo()},useSyncExternalStore:function(e,t,n){return Y=`useSyncExternalStore`,d(),j(),Va(e,t,n)},useId:function(){return Y=`useId`,d(),j(),Uo()},useFormState:function(e,t){return Y=`useFormState`,d(),j(),so(e,t)},useActionState:function(e,t){return Y=`useActionState`,d(),j(),so(e,t)},useOptimistic:function(e){return Y=`useOptimistic`,d(),j(),Xa(e)},useMemoCache:function(e){return d(),Fa(e)},useHostTransitionStatus:Ho,useCacheRefresh:function(){return Y=`useCacheRefresh`,j(),Wo()},useEffectEvent:function(e){return Y=`useEffectEvent`,d(),j(),yo(e)}},Gy={readContext:function(e){return f(),ii(e)},use:function(e){return d(),Pa(e)},useCallback:function(e,t){return Y=`useCallback`,d(),M(),Eo(e,t)},useContext:function(e){return Y=`useContext`,d(),M(),ii(e)},useEffect:function(e,t){Y=`useEffect`,d(),M(),go(2048,yy,e,t)},useImperativeHandle:function(e,t,n){return Y=`useImperativeHandle`,d(),M(),wo(e,t,n)},useInsertionEffect:function(e,t){return Y=`useInsertionEffect`,d(),M(),go(4,_y,e,t)},useLayoutEffect:function(e,t){return Y=`useLayoutEffect`,d(),M(),go(4,vy,e,t)},useMemo:function(e,t){Y=`useMemo`,d(),M();var n=R.H;R.H=Gy;try{return Oo(e,t)}finally{R.H=n}},useReducer:function(e,t,n){Y=`useReducer`,d(),M();var r=R.H;R.H=Gy;try{return Ra(e,t,n)}finally{R.H=r}},useRef:function(){return Y=`useRef`,d(),M(),N().memoizedState},useState:function(){Y=`useState`,d(),M();var e=R.H;R.H=Gy;try{return Ra(Ia)}finally{R.H=e}},useDebugValue:function(){Y=`useDebugValue`,d(),M()},useDeferredValue:function(e,t){return Y=`useDeferredValue`,d(),M(),Ao(e,t)},useTransition:function(){return Y=`useTransition`,d(),M(),Bo()},useSyncExternalStore:function(e,t,n){return Y=`useSyncExternalStore`,d(),M(),Ha(e,t,n)},useId:function(){return Y=`useId`,d(),M(),N().memoizedState},useFormState:function(e){return Y=`useFormState`,d(),M(),co(e)},useActionState:function(e){return Y=`useActionState`,d(),M(),co(e)},useOptimistic:function(e,t){return Y=`useOptimistic`,d(),M(),Za(e,t)},useMemoCache:function(e){return d(),Fa(e)},useHostTransitionStatus:Ho,useCacheRefresh:function(){return Y=`useCacheRefresh`,M(),N().memoizedState},useEffectEvent:function(e){return Y=`useEffectEvent`,d(),M(),bo(e)}},Ky={readContext:function(e){return f(),ii(e)},use:function(e){return d(),Pa(e)},useCallback:function(e,t){return Y=`useCallback`,d(),M(),Eo(e,t)},useContext:function(e){return Y=`useContext`,d(),M(),ii(e)},useEffect:function(e,t){Y=`useEffect`,d(),M(),go(2048,yy,e,t)},useImperativeHandle:function(e,t,n){return Y=`useImperativeHandle`,d(),M(),wo(e,t,n)},useInsertionEffect:function(e,t){return Y=`useInsertionEffect`,d(),M(),go(4,_y,e,t)},useLayoutEffect:function(e,t){return Y=`useLayoutEffect`,d(),M(),go(4,vy,e,t)},useMemo:function(e,t){Y=`useMemo`,d(),M();var n=R.H;R.H=Gy;try{return Oo(e,t)}finally{R.H=n}},useReducer:function(e,t,n){Y=`useReducer`,d(),M();var r=R.H;R.H=Gy;try{return Ba(e,t,n)}finally{R.H=r}},useRef:function(){return Y=`useRef`,d(),M(),N().memoizedState},useState:function(){Y=`useState`,d(),M();var e=R.H;R.H=Gy;try{return Ba(Ia)}finally{R.H=e}},useDebugValue:function(){Y=`useDebugValue`,d(),M()},useDeferredValue:function(e,t){return Y=`useDeferredValue`,d(),M(),jo(e,t)},useTransition:function(){return Y=`useTransition`,d(),M(),Vo()},useSyncExternalStore:function(e,t,n){return Y=`useSyncExternalStore`,d(),M(),Ha(e,t,n)},useId:function(){return Y=`useId`,d(),M(),N().memoizedState},useFormState:function(e){return Y=`useFormState`,d(),M(),fo(e)},useActionState:function(e){return Y=`useActionState`,d(),M(),fo(e)},useOptimistic:function(e,t){return Y=`useOptimistic`,d(),M(),$a(e,t)},useMemoCache:function(e){return d(),Fa(e)},useHostTransitionStatus:Ho,useCacheRefresh:function(){return Y=`useCacheRefresh`,M(),N().memoizedState},useEffectEvent:function(e){return Y=`useEffectEvent`,d(),M(),bo(e)}};var qy={},Jy=new Set,Yy=new Set,Xy=new Set,Zy=new Set,Qy=new Set,$y=new Set,eb=new Set,tb=new Set,nb=new Set,rb=new Set;Object.freeze(qy);var ib={enqueueSetState:function(e,t,n){e=e._reactInternals;var r=rl(e),i=na(r);i.payload=t,n!=null&&($o(n),i.callback=n),t=ra(e,i,r),t!==null&&(ui(r,`this.setState()`,e),al(t,e,r),ia(t,e,r))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=rl(e),i=na(r);i.tag=ty,i.payload=t,n!=null&&($o(n),i.callback=n),t=ra(e,i,r),t!==null&&(ui(r,`this.replaceState()`,e),al(t,e,r),ia(t,e,r))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=rl(e),r=na(n);r.tag=ny,t!=null&&($o(t),r.callback=t),t=ra(e,r,n),t!==null&&(ui(n,`this.forceUpdate()`,e),al(t,e,n),ia(t,e,n))}},ab=null,ob=null,sb=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.`),cb=!1,lb={},ub={},db={},fb={},pb=!1,mb={},hb={},gb={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null},_b=!1,vb=null;vb=new Set;var yb=!1,bb=!1,xb=!1,Sb=typeof WeakSet==`function`?WeakSet:Set,Cb=null,wb=null,Tb=null,Eb=null,Db=!1,Ob=null,kb=!1,Ab=8192,jb={getCacheForType:function(e){var t=ii(g_),n=t.data.get(e);return n===void 0&&(n=e(),t.data.set(e,n)),n},cacheSignal:function(){return ii(g_).controller.signal},getOwner:function(){return _p}};if(typeof Symbol==`function`&&Symbol.for){var Mb=Symbol.for;Mb(`selector.component`),Mb(`selector.has_pseudo_class`),Mb(`selector.role`),Mb(`selector.test_id`),Mb(`selector.text`)}var Nb=[],Pb=typeof WeakMap==`function`?WeakMap:Map,Fb=0,Ib=2,Lb=4,Rb=0,zb=1,Bb=2,Vb=3,Hb=4,Ub=6,Wb=5,X=Fb,Gb=null,Z=null,Q=0,Kb=0,qb=1,Jb=2,Yb=3,Xb=4,Zb=5,Qb=6,$b=7,ex=8,tx=9,$=Kb,nx=null,rx=!1,ix=!1,ax=!1,ox=0,sx=Rb,cx=0,lx=0,ux=0,dx=0,fx=0,px=null,mx=null,hx=!1,gx=0,_x=0,vx=300,yx=1/0,bx=500,xx=null,Sx=null,Cx=null,wx=0,Tx=1,Ex=2,Dx=3,Ox=0,kx=1,Ax=2,jx=3,Mx=4,Nx=5,Px=0,Fx=null,Ix=null,Lx=0,Rx=0,zx=-0,Bx=null,Vx=null,Hx=null,Ux=wx,Wx=null,Gx=50,Kx=0,qx=null,Jx=!1,Yx=!1,Xx=50,Zx=0,Qx=null,$x=!1,eS=null,tS=!1,nS=new Set,rS={},iS=null,aS=null,oS=!1,sS=!1,cS=!1,lS=!1,uS=0,dS={};(function(){for(var e=0;e<lg.length;e++){var t=lg[e],n=t.toLowerCase();t=t[0].toUpperCase()+t.slice(1),Gn(n,`on`+t)}Gn(tg,`onAnimationEnd`),Gn(ng,`onAnimationIteration`),Gn(rg,`onAnimationStart`),Gn(`dblclick`,`onDoubleClick`),Gn(`focusin`,`onFocus`),Gn(`focusout`,`onBlur`),Gn(ig,`onTransitionRun`),Gn(ag,`onTransitionStart`),Gn(og,`onTransitionCancel`),Gn(sg,`onTransitionEnd`)})(),it(`onMouseEnter`,[`mouseout`,`mouseover`]),it(`onMouseLeave`,[`mouseout`,`mouseover`]),it(`onPointerEnter`,[`pointerout`,`pointerover`]),it(`onPointerLeave`,[`pointerout`,`pointerover`]),rt(`onChange`,`change click focusin focusout input keydown keyup selectionchange`.split(` `)),rt(`onSelect`,`focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange`.split(` `)),rt(`onBeforeInput`,[`compositionend`,`keypress`,`textInput`,`paste`]),rt(`onCompositionEnd`,`compositionend focusout keydown keypress keyup mousedown`.split(` `)),rt(`onCompositionStart`,`compositionstart focusout keydown keypress keyup mousedown`.split(` `)),rt(`onCompositionUpdate`,`compositionupdate focusout keydown keypress keyup mousedown`.split(` `));var fS=`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(` `),pS=new Set(`beforetoggle cancel close invalid load scroll scrollend toggle`.split(` `).concat(fS)),mS=`_reactListening`+Math.random().toString(36).slice(2),hS=!1,gS=!1,_S=!1,vS=!1,yS=!1,bS=!1,xS=!1,SS={},CS=/\r\n?/g,wS=/\u0000|\uFFFD/g,TS=`http://www.w3.org/1999/xlink`,ES=`http://www.w3.org/XML/1998/namespace`,DS=`javascript:throw new Error('React form unexpectedly submitted.')`,OS=`suppressHydrationWarning`,kS=`&`,AS=`/&`,jS=`$`,MS=`/$`,NS=`$?`,PS=`$~`,FS=`$!`,IS=`html`,LS=`body`,RS=`head`,zS=`F!`,BS=`F`,VS=`loading`,HS=`style`,US=0,WS=1,GS=2,KS=null,qS=null,JS={dialog:!0,webview:!0},YS=null,XS=void 0,ZS=typeof setTimeout==`function`?setTimeout:void 0,QS=typeof clearTimeout==`function`?clearTimeout:void 0,$S=-1,eC=typeof Promise==`function`?Promise:void 0,tC=typeof queueMicrotask==`function`?queueMicrotask:eC===void 0?ZS:function(e){return eC.resolve(null).then(e).catch(Yu)},nC=null,rC=0,iC=1,aC=2,oC=3,sC=4,cC=new Map,lC=new Set,uC=z.d;z.d={f:function(){var e=uC.f(),t=ul();return e||t},r:function(e){var t=$e(e);t!==null&&t.tag===5&&t.type===`form`?Ro(t):uC.r(e)},D:function(e){uC.D(e),Md(`dns-prefetch`,e,null)},C:function(e,t){uC.C(e,t),Md(`preconnect`,e,t)},L:function(e,t,n){uC.L(e,t,n);var r=dC;if(r&&e&&t){var i=`link[rel="preload"][as="`+gt(t)+`"]`;t===`image`&&n&&n.imageSrcSet?(i+=`[imagesrcset="`+gt(n.imageSrcSet)+`"]`,typeof n.imageSizes==`string`&&(i+=`[imagesizes="`+gt(n.imageSizes)+`"]`)):i+=`[href="`+gt(e)+`"]`;var a=i;switch(t){case`style`:a=Fd(e);break;case`script`:a=zd(e)}cC.has(a)||(e=L({rel:`preload`,href:t===`image`&&n&&n.imageSrcSet?void 0:e,as:t},n),cC.set(a,e),r.querySelector(i)!==null||t===`style`&&r.querySelector(Id(a))||t===`script`&&r.querySelector(Bd(a))||(t=r.createElement(`link`),Ou(t,`link`,e),nt(t),r.head.appendChild(t)))}},m:function(e,t){uC.m(e,t);var n=dC;if(n&&e){var r=t&&typeof t.as==`string`?t.as:`script`,i=`link[rel="modulepreload"][as="`+gt(r)+`"][href="`+gt(e)+`"]`,a=i;switch(r){case`audioworklet`:case`paintworklet`:case`serviceworker`:case`sharedworker`:case`worker`:case`script`:a=zd(e)}if(!cC.has(a)&&(e=L({rel:`modulepreload`,href:e},t),cC.set(a,e),n.querySelector(i)===null)){switch(r){case`audioworklet`:case`paintworklet`:case`serviceworker`:case`sharedworker`:case`worker`:case`script`:if(n.querySelector(Bd(a)))return}r=n.createElement(`link`),Ou(r,`link`,e),nt(r),n.head.appendChild(r)}}},X:function(e,t){uC.X(e,t);var n=dC;if(n&&e){var r=tt(n).hoistableScripts,i=zd(e),a=r.get(i);a||(a=n.querySelector(Bd(i)),a||(e=L({src:e,async:!0},t),(t=cC.get(i))&&Wd(e,t),a=n.createElement(`script`),nt(a),Ou(a,`link`,e),n.head.appendChild(a)),a={type:`script`,instance:a,count:1,state:null},r.set(i,a))}},S:function(e,t,n){uC.S(e,t,n);var r=dC;if(r&&e){var i=tt(r).hoistableStyles,a=Fd(e);t||=`default`;var o=i.get(a);if(!o){var s={loading:rC,preload:null};if(o=r.querySelector(Id(a)))s.loading=iC|sC;else{e=L({rel:`stylesheet`,href:e,"data-precedence":t},n),(n=cC.get(a))&&Ud(e,n);var c=o=r.createElement(`link`);nt(c),Ou(c,`link`,e),c._p=new Promise(function(e,t){c.onload=e,c.onerror=t}),c.addEventListener(`load`,function(){s.loading|=iC}),c.addEventListener(`error`,function(){s.loading|=aC}),s.loading|=sC,Hd(o,t,r)}o={type:`stylesheet`,instance:o,count:1,state:s},i.set(a,o)}}},M:function(e,t){uC.M(e,t);var n=dC;if(n&&e){var r=tt(n).hoistableScripts,i=zd(e),a=r.get(i);a||(a=n.querySelector(Bd(i)),a||(e=L({src:e,async:!0,type:`module`},t),(t=cC.get(i))&&Wd(e,t),a=n.createElement(`script`),nt(a),Ou(a,`link`,e),n.head.appendChild(a)),a={type:`script`,instance:a,count:1,state:null},r.set(i,a))}}};var dC=typeof document>`u`?null:document,fC=null,pC=6e4,mC=800,hC=500,gC=0,_C=null,vC=null,yC=Zf,bC={$$typeof:Bf,Provider:null,Consumer:null,_currentValue:yC,_currentValue2:yC,_threadCount:0},xC=`%c%s%c`,SC=`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`,CC=``,wC=` `,TC=Function.prototype.bind,EC=!1,DC=null,OC=null,kC=null,AC=null,jC=null,MC=null,NC=null,PC=null,FC=null,IC=null;DC=function(e,n,i,a){n=t(e,n),n!==null&&(i=r(n.memoizedState,i,0,a),n.memoizedState=i,n.baseState=i,e.memoizedProps=L({},e.memoizedProps),i=pr(e,2),i!==null&&al(i,e,2))},OC=function(e,n,r){n=t(e,n),n!==null&&(r=c(n.memoizedState,r,0),n.memoizedState=r,n.baseState=r,e.memoizedProps=L({},e.memoizedProps),r=pr(e,2),r!==null&&al(r,e,2))},kC=function(e,n,r,i){n=t(e,n),n!==null&&(r=a(n.memoizedState,r,i),n.memoizedState=r,n.baseState=r,e.memoizedProps=L({},e.memoizedProps),r=pr(e,2),r!==null&&al(r,e,2))},AC=function(e,t,n){e.pendingProps=r(e.memoizedProps,t,0,n),e.alternate&&(e.alternate.pendingProps=e.pendingProps),t=pr(e,2),t!==null&&al(t,e,2)},jC=function(e,t){e.pendingProps=c(e.memoizedProps,t,0),e.alternate&&(e.alternate.pendingProps=e.pendingProps),t=pr(e,2),t!==null&&al(t,e,2)},MC=function(e,t,n){e.pendingProps=a(e.memoizedProps,t,n),e.alternate&&(e.alternate.pendingProps=e.pendingProps),t=pr(e,2),t!==null&&al(t,e,2)},NC=function(e){var t=pr(e,2);t!==null&&al(t,e,2)},PC=function(e){var t=ze(),n=pr(e,t);n!==null&&al(n,e,t)},FC=function(e){u=e},IC=function(e){l=e};var LC=!0,RC=null,zC=!1,BC=null,VC=null,HC=null,UC=new Map,WC=new Map,GC=[],KC=`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(` `),qC=null;if(Of.prototype.render=Df.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().`):b(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.`):n[1]!==void 0&&console.error(`You passed a second argument to root.render(...) but it only accepts one argument.`),n=e;var r=t.current;rf(r,rl(r),n,t,null,null)},Of.prototype.unmount=Df.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;(X&(Ib|Lb))!==Fb&&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.`),rf(e.current,2,null,e,null,null),ul(),t[Xp]=null}},Of.prototype.unstable_scheduleHydration=function(e){if(e){var t=Ye();e={blockedOn:null,target:e,priority:t};for(var n=0;n<GC.length&&t!==0&&t<GC[n].priority;n++);GC.splice(n,0,e),n===0&&yf(e)}},(function(){var e=jf.version;if(e!==`19.2.6`)throw Error(`Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:
|
|
228
|
+
- react: `+(e+`
|
|
229
|
+
- react-dom: 19.2.6
|
|
230
|
+
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`),z.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=ie(t),e=e===null?null:ae(e),e=e===null?null:e.stateNode,e},!(function(){var e={bundleType:1,version:`19.2.6`,rendererPackageName:`react-dom`,currentDispatcherRef:R,reconcilerVersion:`19.2.6`};return e.overrideHookState=DC,e.overrideHookStateDeletePath=OC,e.overrideHookStateRenamePath=kC,e.overrideProps=AC,e.overridePropsDeletePath=jC,e.overridePropsRenamePath=MC,e.scheduleUpdate=NC,e.scheduleRetry=PC,e.setErrorHandler=FC,e.setSuspenseHandler=IC,e.scheduleRefresh=v,e.scheduleRoot=_,e.setRefreshHandler=y,e.getCurrentFiber=lf,Ne(e)})()&&nh&&window.top===window.self&&(-1<navigator.userAgent.indexOf(`Chrome`)&&navigator.userAgent.indexOf(`Edge`)===-1||-1<navigator.userAgent.indexOf(`Firefox`))){var JC=window.location.protocol;/^(https?|file):$/.test(JC)&&console.info(`%cDownload the React DevTools for a better development experience: https://react.dev/link/react-devtools`+(JC===`file:`?`
|
|
231
|
+
You might need to use a local HTTP server (instead of file://): https://react.dev/link/react-devtools-faq`:``),`font-weight:bold`)}e.createRoot=function(e,t){if(!b(e))throw Error(`Target container is not a DOM element.`);kf(e);var n=!1,r=``,i=is,a=as,o=os;return t!=null&&(t.hydrate?console.warn(`hydrate through createRoot is deprecated. Use ReactDOMClient.hydrateRoot(container, <App />) instead.`):typeof t==`object`&&t&&t.$$typeof===Pf&&console.error(`You passed a JSX element to createRoot. You probably meant to call root.render instead. Example usage:
|
|
232
|
+
|
|
233
|
+
let root = createRoot(domContainer);
|
|
234
|
+
root.render(<App />);`),!0===t.unstable_strictMode&&(n=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onUncaughtError!==void 0&&(i=t.onUncaughtError),t.onCaughtError!==void 0&&(a=t.onCaughtError),t.onRecoverableError!==void 0&&(o=t.onRecoverableError)),t=tf(e,1,!1,null,null,n,r,null,i,a,o,Ef),e[Xp]=t.current,pu(e),new Df(t)},e.hydrateRoot=function(e,t,n){if(!b(e))throw Error(`Target container is not a DOM element.`);kf(e),t===void 0&&console.error(`Must provide initial children as second argument to hydrateRoot. Example usage: hydrateRoot(domContainer, <App />)`);var r=!1,i=``,a=is,o=as,s=os,c=null;return n!=null&&(!0===n.unstable_strictMode&&(r=!0),n.identifierPrefix!==void 0&&(i=n.identifierPrefix),n.onUncaughtError!==void 0&&(a=n.onUncaughtError),n.onCaughtError!==void 0&&(o=n.onCaughtError),n.onRecoverableError!==void 0&&(s=n.onRecoverableError),n.formState!==void 0&&(c=n.formState)),t=tf(e,1,!0,t,n??null,r,i,c,a,o,s,Ef),t.context=nf(null),n=t.current,r=rl(n),r=Ge(r),i=na(r),i.callback=null,ra(n,i,r),ui(r,`hydrateRoot()`,null),n=r,t.current.lanes=n,Ve(t,n),Zl(t),e[Xp]=t.current,pu(e),new Of(t)},e.version=`19.2.6`,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<`u`&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop==`function`&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()})),c=e(((e,t)=>{t.exports=s()})),l=n(),u=i(),d=c();function f(e){return typeof e==`object`&&!!e}function p(e,t){return Object.hasOwn(e,t)}function m(e){return Array.isArray(e)&&e.every(e=>typeof e==`string`)}function h(e){return e===`ready`||e===`not-ready`||e===`degraded`}function g(e){return e===`healthy`||e===`unhealthy`||e===`degraded`}function _(e){return e===`error`||e===`warning`||e===`info`}function v(e){return typeof e==`number`&&Number.isFinite(e)}function y(e,t){if(typeof e!=`string`)throw Error(t);return e}function b(e,t){if(e!==void 0)return y(e,t)}function ee(e,t){if(e!==void 0){if(!v(e))throw Error(t);return e}}function te(e,t){if(e!==void 0){if(!f(e))throw Error(t);return e}}function ne(e){return e===`module`||e===`provider`||e===`controller`||e===`route`||e===`platform`||e===`external`}function re(e){return e===`imports`||e===`owns_provider`||e===`owns_controller`||e===`exposes_route`||e===`depends_on`||e===`exports`}function ie(e){return e===`started`||e===`matched`||e===`succeeded`||e===`failed`||e===`finished`}var ae={bootstrap_module:!0,register_runtime_tokens:!0,resolve_lifecycle_instances:!0,run_bootstrap_lifecycle:!0,create_dispatcher:!0};function oe(e){return typeof e==`string`&&Object.hasOwn(ae,e)}function x(e){if(!f(e)||!ne(e.kind))throw Error(`Invalid Studio live graph node payload.`);let t={id:y(e.id,`Invalid Studio live graph node payload.`),kind:e.kind,label:y(e.label,`Invalid Studio live graph node payload.`)},n=te(e.metadata,`Invalid Studio live graph node metadata payload.`);if(n&&(t.metadata=n),e.status!==void 0){if(e.status!==`active`&&e.status!==`idle`&&e.status!==`warning`&&e.status!==`error`)throw Error(`Invalid Studio live graph node status payload.`);t.status=e.status}return t}function se(e){if(!f(e)||!re(e.kind))throw Error(`Invalid Studio live graph edge payload.`);let t={from:y(e.from,`Invalid Studio live graph edge payload.`),id:y(e.id,`Invalid Studio live graph edge payload.`),kind:e.kind,to:y(e.to,`Invalid Studio live graph edge payload.`)},n=b(e.label,`Invalid Studio live graph edge label payload.`);n!==void 0&&(t.label=n);let r=te(e.metadata,`Invalid Studio live graph edge metadata payload.`);return r&&(t.metadata=r),t}function S(e){if(!f(e))throw Error(`Invalid Studio live route descriptor payload.`);let t=e.kind;if(t!==void 0&&typeof t!=`string`)throw Error(`Invalid Studio live route descriptor kind payload.`);let n=e.params;if(n!==void 0&&!m(n))throw Error(`Invalid Studio live route descriptor params payload.`);let r=y(e.id,`Invalid Studio live route descriptor payload.`),i={controller:y(e.controller,`Invalid Studio live route descriptor payload.`),graphNodeId:b(e.graphNodeId,`Invalid Studio live route descriptor graph node payload.`)??`route:${r.replaceAll(/[^a-zA-Z0-9_.:-]/g,`_`)||`anonymous`}`,handler:y(e.handler,`Invalid Studio live route descriptor payload.`),id:r,kind:t??`http`,method:y(e.method,`Invalid Studio live route descriptor payload.`),params:n===void 0?[]:[...n],path:y(e.path,`Invalid Studio live route descriptor payload.`)},a=b(e.module,`Invalid Studio live route descriptor module payload.`);a!==void 0&&(i.module=a);let o=b(e.version,`Invalid Studio live route descriptor version payload.`);return o!==void 0&&(i.version=o),i}function ce(e){if(!f(e)||!ie(e.status))throw Error(`Invalid Studio live request trace payload.`);for(let t of[`body`,`headers`,`payload`,`rawBody`,`requestBody`,`responseBody`])if(p(e,t))throw Error(`Studio live request traces must not include request or response body payload fields.`);let t={method:y(e.method,`Invalid Studio live request trace payload.`),path:y(e.path,`Invalid Studio live request trace payload.`),requestId:y(e.requestId,`Invalid Studio live request trace payload.`),startedAt:y(e.startedAt,`Invalid Studio live request trace payload.`),status:e.status,url:y(e.url,`Invalid Studio live request trace payload.`)};for(let n of[`controller`,`finishedAt`,`handler`,`routeId`]){let r=b(e[n],`Invalid Studio live request trace optional string payload.`);r!==void 0&&(t[n]=r)}let n=ee(e.durationMs,`Invalid Studio live request trace duration payload.`);n!==void 0&&(t.durationMs=n);let r=ee(e.statusCode,`Invalid Studio live request trace status code payload.`);if(r!==void 0&&(t.statusCode=r),e.error!==void 0){if(!f(e.error))throw Error(`Invalid Studio live request trace error payload.`);t.error={message:y(e.error.message,`Invalid Studio live request trace error payload.`)};let n=b(e.error.name,`Invalid Studio live request trace error name payload.`);n!==void 0&&(t.error.name=n)}return t}function le(e){if(!f(e)||!_(e.severity))throw Error(`Invalid Studio live diagnostic payload.`);let t={code:y(e.code,`Invalid Studio live diagnostic payload.`),message:y(e.message,`Invalid Studio live diagnostic payload.`),severity:e.severity};for(let n of[`fixHint`,`scope`,`targetId`]){let r=b(e[n],`Invalid Studio live diagnostic optional field payload.`);r!==void 0&&(t[n]=r)}return t}function C(e){if(!f(e))throw Error(`Invalid Studio live restart payload.`);let t=e.phase;if(t!==`scheduled`&&t!==`starting`&&t!==`started`&&t!==`stopping`&&t!==`stopped`)throw Error(`Invalid Studio live restart phase payload.`);let n={phase:t},r=b(e.reason,`Invalid Studio live restart reason payload.`);return r!==void 0&&(n.reason=r),n}function ue(e){if(!f(e))throw Error(`Invalid Studio live disconnect payload.`);let t=b(e.reason,`Invalid Studio live disconnect reason payload.`);return t===void 0?{}:{reason:t}}function de(e){if(!f(e)||e.version!==1||!f(e.graph)||!Array.isArray(e.graph.nodes)||!Array.isArray(e.graph.edges)||!Array.isArray(e.routes)||!Array.isArray(e.diagnostics)||!Array.isArray(e.requests))throw Error(`Invalid Studio live snapshot payload.`);let t=ge(e.timing),n={appId:y(e.appId,`Invalid Studio live snapshot payload.`),diagnostics:e.diagnostics.map(e=>le(e)),generatedAt:y(e.generatedAt,`Invalid Studio live snapshot payload.`),graph:{edges:e.graph.edges.map(e=>se(e)),nodes:e.graph.nodes.map(e=>x(e))},requests:e.requests.map(e=>ce(e)),routes:e.routes.map(e=>S(e)),version:1};return t&&(n.timing=t),n}function fe(e){if(!f(e))throw Error(`Invalid Studio live event source payload.`);let t=e.runtime;if(t!==`node`&&t!==`bun`&&t!==`deno`&&t!==`worker`&&t!==`unknown`)throw Error(`Invalid Studio live event runtime payload.`);return{appId:y(e.appId,`Invalid Studio live event source payload.`),runtime:t}}function pe(e,t){if(e===`snapshot`)return de(t);if(e===`request`)return ce(t);if(e===`timing`){let e=ge(t);if(!e)throw Error(`Invalid Studio live timing event payload.`);return e}if(e===`diagnostic`)return le(t);if(e===`heartbeat`){if(!f(t))throw Error(`Invalid Studio live heartbeat payload.`);let e=ee(t.uptimeMs,`Invalid Studio live heartbeat uptime payload.`);return e===void 0?{}:{uptimeMs:e}}if(e===`restart`)return C(t);if(e===`disconnect`)return ue(t);throw Error(`Invalid Studio live event type payload.`)}function me(e){if(!f(e)||e.version!==1||!v(e.sequence))throw Error(`Invalid Studio live event payload.`);let t=e.type,n=pe(t,e.payload),r={emittedAt:y(e.emittedAt,`Invalid Studio live event payload.`),epoch:y(e.epoch,`Invalid Studio live event payload.`),eventId:y(e.eventId,`Invalid Studio live event payload.`),sequence:e.sequence,source:fe(e.source),version:1};return t===`snapshot`||t===`request`||t===`timing`||t===`diagnostic`||t===`restart`||t===`disconnect`?{...r,payload:n,type:t}:{...r,payload:n,type:`heartbeat`}}function he(e){if(!f(e))return null;if(typeof e.generatedAt!=`string`||!f(e.readiness)||!f(e.health)||!Array.isArray(e.components)||!Array.isArray(e.diagnostics))throw Error(`Invalid platform snapshot payload.`);if(!h(e.readiness.status)||typeof e.readiness.critical!=`boolean`)throw Error(`Invalid aggregate readiness in platform snapshot payload.`);if(!g(e.health.status))throw Error(`Invalid aggregate health in platform snapshot payload.`);for(let t of e.components){if(!f(t))throw Error(`Invalid component entry in platform snapshot payload.`);if(typeof t.id!=`string`||typeof t.kind!=`string`||typeof t.state!=`string`||!f(t.readiness)||!f(t.health)||!m(t.dependencies)||!f(t.telemetry)||!f(t.ownership)||!f(t.details))throw Error(`Invalid component shape in platform snapshot payload.`);if(!h(t.readiness.status)||typeof t.readiness.critical!=`boolean`)throw Error(`Invalid component readiness in platform snapshot payload.`);if(!g(t.health.status))throw Error(`Invalid component health in platform snapshot payload.`);if(typeof t.telemetry.namespace!=`string`||!f(t.telemetry.tags)||typeof t.ownership.ownsResources!=`boolean`||typeof t.ownership.externallyManaged!=`boolean`)throw Error(`Invalid component telemetry/ownership in platform snapshot payload.`)}for(let t of e.diagnostics){if(!f(t))throw Error(`Invalid diagnostics issue entry in platform snapshot payload.`);if(typeof t.code!=`string`||!_(t.severity)||typeof t.componentId!=`string`||typeof t.message!=`string`)throw Error(`Invalid diagnostics issue shape in platform snapshot payload.`);if(t.cause!==void 0&&typeof t.cause!=`string`||t.fixHint!==void 0&&typeof t.fixHint!=`string`||t.docsUrl!==void 0&&typeof t.docsUrl!=`string`||t.dependsOn!==void 0&&!m(t.dependsOn))throw Error(`Invalid optional diagnostics issue fields in platform snapshot payload.`)}if(e.routes!==void 0&&!Array.isArray(e.routes))throw Error(`Invalid route diagnostics in platform snapshot payload.`);let t=e;return e.routes===void 0?t:{...t,routes:e.routes.map(e=>S(e))}}function ge(e){if(!f(e))return null;if(e.version!==1)throw Error(`Unsupported bootstrap timing version. Expected version: 1.`);if(typeof e.totalMs!=`number`||!Array.isArray(e.phases))throw Error(`Invalid bootstrap timing payload.`);for(let t of e.phases)if(!f(t)||!oe(t.name)||typeof t.durationMs!=`number`)throw Error(`Invalid phase entry in bootstrap timing payload.`);return e}function _e(e){if(!f(e)||typeof e.componentCount!=`number`||typeof e.diagnosticCount!=`number`||typeof e.errorCount!=`number`||!g(e.healthStatus)||!h(e.readinessStatus)||typeof e.timingTotalMs!=`number`||typeof e.warningCount!=`number`)throw Error(`Invalid inspect report summary payload.`);return e}function ve(e,t,n){let r=t.diagnostics.filter(e=>e.severity===`error`).length,i=t.diagnostics.filter(e=>e.severity===`warning`).length;if(e.componentCount!==t.components.length||e.diagnosticCount!==t.diagnostics.length||e.errorCount!==r||e.healthStatus!==t.health.status||e.readinessStatus!==t.readiness.status||e.timingTotalMs!==n.totalMs||e.warningCount!==i)throw Error(`Inspect report summary does not match snapshot and timing payload data.`)}function ye(e){return e.summary!==void 0||p(e,`snapshot`)&&p(e,`timing`)&&(p(e,`generatedAt`)||p(e,`version`))}function be(e,t,n){if(!f(e)||!ye(e))return null;if(e.summary===void 0||e.version!==1||typeof e.generatedAt!=`string`||!t||!n)throw Error(`Invalid inspect report artifact payload.`);let r=_e(e.summary);return ve(r,t,n),{generatedAt:e.generatedAt,snapshot:t,summary:r,timing:n,version:1}}function xe(e){let t=JSON.parse(e),n=f(t)?t:void 0,r=n!==void 0&&p(n,`snapshot`),i=n!==void 0&&p(n,`timing`),a=n!==void 0&&!r&&!i&&p(n,`version`)&&p(n,`totalMs`)&&p(n,`phases`),o=he(r?n.snapshot:a?void 0:t),s=ge(i?n.timing:o?void 0:t),c=be(t,o,s);if(!o&&!s)throw Error(`Unsupported file format. Expected platform snapshot JSON or timing JSON.`);return{payload:{...c?{report:c}:{},...o?{snapshot:o}:{},...s?{timing:s}:{}},rawJson:e}}function Se(e,t){let n=t.query.trim().toLowerCase(),r=e.components.filter(e=>t.readinessStatuses.length>0&&!t.readinessStatuses.includes(e.readiness.status)?!1:!n||e.id.toLowerCase().includes(n)||e.kind.toLowerCase().includes(n)||e.dependencies.some(e=>e.toLowerCase().includes(n))),i=e.diagnostics.filter(e=>t.severities.length>0&&!t.severities.includes(e.severity)?!1:!n||e.code.toLowerCase().includes(n)||e.componentId.toLowerCase().includes(n)||e.message.toLowerCase().includes(n)||(e.cause?.toLowerCase().includes(n)??!1)||(e.fixHint?.toLowerCase().includes(n)??!1)||(e.docsUrl?.toLowerCase().includes(n)??!1)||(e.dependsOn?.some(e=>e.toLowerCase().includes(n))??!1));return{...e,components:r,diagnostics:i}}function Ce(e){return e.replaceAll(`\\`,`\\\\`).replaceAll(`"`,`\\"`).replaceAll(`\r
|
|
235
|
+
`,`\\n`).replaceAll(`\r`,`\\n`).replaceAll(`
|
|
236
|
+
`,`\\n`)}function we(e){return e.replaceAll(/[^a-zA-Z0-9_]/g,`_`)}function Te(e){let t=2166136261;for(let n of e)t^=n.codePointAt(0)??0,t=Math.imul(t,16777619)>>>0;return t.toString(16).padStart(8,`0`)}function Ee(e){return`EXT_${we(e)}_${Te(e)}`}function w(e){let t=[`graph TD`],n=new Map,r=new Map,i=new Set(e.components.map(e=>e.id));if(e.components.length===0)return t.push(` EMPTY["No registered platform components"]`),t.join(`
|
|
237
|
+
`);for(let[r,i]of e.components.entries()){let e=`C${String(r+1)}`;n.set(i.id,e),t.push(` ${e}["${Ce(i.id)}\\nkind: ${Ce(i.kind)}\\nreadiness: ${i.readiness.status}\\nhealth: ${i.health.status}"]`)}for(let a of e.components){let e=n.get(a.id);if(e)for(let o of a.dependencies){let a=n.get(o);if(a){t.push(` ${e} --> ${a}`);continue}if(i.has(o))continue;let s=r.get(o);s||(s=Ee(o),r.set(o,s),t.push(` ${s}["${Ce(o)}"]`)),t.push(` ${e} --> ${s}`)}}let a=[],o=[];for(let t of e.components){let e=n.get(t.id);e&&(t.readiness.status===`degraded`&&a.push(e),t.readiness.status===`not-ready`&&o.push(e))}return a.length>0&&(t.push(` class ${a.join(`,`)} degraded`),t.push(` classDef degraded stroke:#f59e0b,stroke-width:2px`)),o.length>0&&(t.push(` class ${o.join(`,`)} notReady`),t.push(` classDef notReady stroke:#ef4444,stroke-width:2px`)),t.join(`
|
|
238
|
+
`)}var De={connection:{message:`Studio is waiting for a live sidecar or a static diagnostics file.`,status:`static`},events:[],filter:{query:``,readinessStatuses:[],severities:[]},mode:`static`,staticReport:{}};function Oe(e){return e.staticReport.filteredSnapshot}function ke(e){return e.staticReport.payload?.snapshot}function Ae(e){return e.staticReport.payload?.timing}function T(e){return e.liveSnapshot?.timing}function je(e){return e.liveSnapshot?.requests??[]}function Me(e){return e.liveSnapshot?.diagnostics??[]}function Ne(e){return e.liveSnapshot?.routes??[]}function E(e){return e.mode===`live`?Ne(e):e.staticReport.payload?.snapshot?.routes??[]}function Pe(e){let t=Oe(e);if(!t||t.components.length===0)return;let n=ke(e);return(e.staticReport.selectedComponentId?t.components.find(t=>t.id===e.staticReport.selectedComponentId)??n?.components.find(t=>t.id===e.staticReport.selectedComponentId):void 0)??t.components[0]}function Fe(e){let t=E(e);if(t.length!==0)return t.find(t=>t.id===e.selectedRouteId)??t[0]}function Ie(e){let t=je(e);if(t.length!==0)return t.find(t=>t.requestId===e.selectedRequestId)??t[0]}function Le(e,t){return e?.snapshot?Se(e.snapshot,t):void 0}function Re(e,t=120){return e.length>t?e.slice(e.length-t):e}function ze(e,t=80){return e.length>t?e.slice(e.length-t):e}function Be(e,t){let n=e.findIndex(e=>e.requestId===t.requestId);if(n===-1)return ze([t,...e]);let r=[...e];return r[n]={...r[n],...t},ze(r)}var Ve=e((e=>{(function(){function t(e){if(e==null)return null;if(typeof e==`function`)return e.$$typeof===se?null:e.displayName||e.name||null;if(typeof e==`string`)return e;switch(e){case v:return`Fragment`;case b:return`Profiler`;case y:return`StrictMode`;case re:return`Suspense`;case ie:return`SuspenseList`;case x: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 _:return`Portal`;case te:return e.displayName||`Context`;case ee:return(e._context.displayName||`Context`)+`.Consumer`;case ne:var n=e.render;return e=e.displayName,e||=(e=n.displayName||n.name||``,e===``?`ForwardRef`:`ForwardRef(`+e+`)`),e;case ae:return n=e.displayName||null,n===null?t(e.type)||`Memo`:n;case oe:n=e._payload,e=e._init;try{return t(e(n))}catch{}}return null}function r(e){return``+e}function i(e){try{r(e);var t=!1}catch{t=!0}if(t){t=console;var n=t.error,i=typeof Symbol==`function`&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||`Object`;return n.call(t,`The provided key is an unsupported type %s. This value must be coerced to a string before using it here.`,i),r(e)}}function a(e){if(e===v)return`<>`;if(typeof e==`object`&&e&&e.$$typeof===oe)return`<...>`;try{var n=t(e);return n?`<`+n+`>`:`<...>`}catch{return`<...>`}}function o(){var e=S.A;return e===null?null:e.getOwner()}function s(){return Error(`react-stack-top-frame`)}function c(e){if(ce.call(e,`key`)){var t=Object.getOwnPropertyDescriptor(e,`key`).get;if(t&&t.isReactWarning)return!1}return e.key!==void 0}function l(e,t){function n(){ue||(ue=!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)",t))}n.isReactWarning=!0,Object.defineProperty(e,"key",{get:n,configurable:!0})}function u(){var e=t(this.type);return de[e]||(de[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?null:e}function d(e,t,n,r,i,a){var o=n.ref;return e={$$typeof:g,type:e,key:t,props:n,_owner:r},(o===void 0?null:o)===null?Object.defineProperty(e,"ref",{enumerable:!1,value:null}):Object.defineProperty(e,"ref",{enumerable:!1,get:u}),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:i}),Object.defineProperty(e,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:a}),Object.freeze&&(Object.freeze(e.props),Object.freeze(e)),e}function f(e,n,r,a,s,u){var f=n.children;if(f!==void 0){if(a){if(le(f)){for(a=0;a<f.length;a++)p(f[a]);Object.freeze&&Object.freeze(f)}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 p(f)}if(ce.call(n,`key`)){f=t(e);var m=Object.keys(n).filter(function(e){return e!==`key`});a=0<m.length?`{key: someKey, `+m.join(`: ..., `)+`: ...}`:`{key: someKey}`,me[f+a]||(m=0<m.length?`{`+m.join(`: ..., `)+`: ...}`:`{}`,console.error(`A props object containing a "key" prop is being spread into JSX:
|
|
239
|
+
let props = %s;
|
|
240
|
+
<%s {...props} />
|
|
241
|
+
React keys must be passed directly to JSX without using spread:
|
|
242
|
+
let props = %s;
|
|
243
|
+
<%s key={someKey} {...props} />`,a,f,m,f),me[f+a]=!0)}if(f=null,r!==void 0&&(i(r),f=``+r),c(n)&&(i(n.key),f=``+n.key),`key`in n)for(var h in r={},n)h!==`key`&&(r[h]=n[h]);else r=n;return f&&l(r,typeof e==`function`?e.displayName||e.name||`Unknown`:e),d(e,f,r,o(),s,u)}function p(e){m(e)?e._store&&(e._store.validated=1):typeof e==`object`&&e&&e.$$typeof===oe&&(e._payload.status===`fulfilled`?m(e._payload.value)&&e._payload.value._store&&(e._payload.value._store.validated=1):e._store&&(e._store.validated=1))}function m(e){return typeof e==`object`&&!!e&&e.$$typeof===g}var h=n(),g=Symbol.for(`react.transitional.element`),_=Symbol.for(`react.portal`),v=Symbol.for(`react.fragment`),y=Symbol.for(`react.strict_mode`),b=Symbol.for(`react.profiler`),ee=Symbol.for(`react.consumer`),te=Symbol.for(`react.context`),ne=Symbol.for(`react.forward_ref`),re=Symbol.for(`react.suspense`),ie=Symbol.for(`react.suspense_list`),ae=Symbol.for(`react.memo`),oe=Symbol.for(`react.lazy`),x=Symbol.for(`react.activity`),se=Symbol.for(`react.client.reference`),S=h.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,ce=Object.prototype.hasOwnProperty,le=Array.isArray,C=console.createTask?console.createTask:function(){return null};h={react_stack_bottom_frame:function(e){return e()}};var ue,de={},fe=h.react_stack_bottom_frame.bind(h,s)(),pe=C(a(s)),me={};e.Fragment=v,e.jsxDEV=function(e,t,n,r){var i=1e4>S.recentlyCreatedOwnerStacks++;return f(e,t,n,r,i?Error(`react-stack-top-frame`):fe,i?C(a(e)):pe)}})()})),D=e(((e,t)=>{t.exports=Ve()}))(),He=`/home/runner/work/fluo/fluo/packages/studio/src/features/file-loader/ui/FileDropZone.tsx`;function Ue(e,t){let n=new Blob([t],{type:`application/json`}),r=URL.createObjectURL(n),i=document.createElement(`a`);i.href=r,i.download=e,i.click(),URL.revokeObjectURL(r)}async function We(e){if(!navigator.clipboard)throw Error(`Clipboard API is unavailable.`);await navigator.clipboard.writeText(e)}function Ge({dispatch:e,state:t}){let n=(0,l.useRef)(0),r=Oe(t),i=t.staticReport.rawJson;async function a(t){let r=n.current+1;n.current=r;try{let i=xe(await t.text());if(r!==n.current)return;e({message:`Diagnostics file loaded successfully.`,parsed:i,type:`static-payload`})}catch(t){if(r!==n.current)return;e({message:t instanceof Error?t.message:`Failed to parse diagnostics file.`,type:`file-error`})}}async function o(e){let t=e.target.files?.[0];t&&await a(t)}async function s(e){e.preventDefault(),e.currentTarget.classList.remove(`drag-active`);let t=e.dataTransfer.files[0];t&&await a(t)}async function c(){if(i)try{await We(i),e({connection:{message:`Loaded JSON copied to clipboard.`,status:`static`},type:`connection`})}catch(t){e({connection:{message:t instanceof Error?t.message:`Failed to copy JSON.`,status:`error`},type:`connection`})}}async function u(){if(r)try{await We(w(r)),e({connection:{message:`Mermaid copied to clipboard.`,status:`static`},type:`connection`})}catch(t){e({connection:{message:t instanceof Error?t.message:`Failed to copy Mermaid text.`,status:`error`},type:`connection`})}}return(0,D.jsxDEV)(`section`,{className:`card uploader`,id:`drop-zone`,onDragLeave:e=>e.currentTarget.classList.remove(`drag-active`),onDragOver:e=>{e.preventDefault(),e.currentTarget.classList.add(`drag-active`)},onDrop:e=>void s(e),children:[(0,D.jsxDEV)(`div`,{className:`section-title-row`,children:[(0,D.jsxDEV)(`div`,{children:[(0,D.jsxDEV)(`p`,{className:`eyebrow`,children:`Compatibility mode`},void 0,!1,{fileName:He,lineNumber:122,columnNumber:11},this),(0,D.jsxDEV)(`h2`,{children:`Diagnostics file input`},void 0,!1,{fileName:He,lineNumber:123,columnNumber:11},this)]},void 0,!0,{fileName:He,lineNumber:121,columnNumber:9},this),(0,D.jsxDEV)(`span`,{className:`mode-badge`,children:`static/report JSON`},void 0,!1,{fileName:He,lineNumber:125,columnNumber:9},this)]},void 0,!0,{fileName:He,lineNumber:120,columnNumber:7},this),(0,D.jsxDEV)(`p`,{children:[`Drag & drop a JSON file, or choose one manually. Live mode remains the primary path through `,(0,D.jsxDEV)(`code`,{children:`fluo dev --studio`},void 0,!1,{fileName:He,lineNumber:127,columnNumber:102},this),`.`]},void 0,!0,{fileName:He,lineNumber:127,columnNumber:7},this),(0,D.jsxDEV)(`input`,{type:`file`,id:`file-input`,accept:`application/json`,onChange:e=>void o(e)},void 0,!1,{fileName:He,lineNumber:128,columnNumber:7},this),(0,D.jsxDEV)(`div`,{className:`actions`,children:[(0,D.jsxDEV)(`button`,{disabled:!i,onClick:()=>i&&Ue(`fluo-diagnostics.json`,i),type:`button`,children:`Download loaded JSON`},void 0,!1,{fileName:He,lineNumber:130,columnNumber:9},this),(0,D.jsxDEV)(`button`,{disabled:!i,onClick:()=>void c(),type:`button`,children:`Copy loaded JSON`},void 0,!1,{fileName:He,lineNumber:131,columnNumber:9},this),(0,D.jsxDEV)(`button`,{disabled:!r,onClick:()=>void u(),type:`button`,children:`Copy Mermaid`},void 0,!1,{fileName:He,lineNumber:132,columnNumber:9},this)]},void 0,!0,{fileName:He,lineNumber:129,columnNumber:7},this),t.message?(0,D.jsxDEV)(`p`,{className:`notice`,children:t.message},void 0,!1,{fileName:He,lineNumber:134,columnNumber:24},this):null]},void 0,!0,{fileName:He,lineNumber:116,columnNumber:10},this)}var Ke=`/home/runner/work/fluo/fluo/packages/studio/src/features/filters/ui/SnapshotFilters.tsx`,qe=[`ready`,`degraded`,`not-ready`],Je=[`error`,`warning`,`info`];function Ye({dispatch:e,filter:t}){return(0,D.jsxDEV)(`section`,{className:`card filter-card`,children:[(0,D.jsxDEV)(`div`,{className:`section-title-row`,children:(0,D.jsxDEV)(`div`,{children:[(0,D.jsxDEV)(`p`,{className:`eyebrow`,children:`Static graph controls`},void 0,!1,{fileName:Ke,lineNumber:13,columnNumber:11},this),(0,D.jsxDEV)(`h2`,{children:`Search and filtering`},void 0,!1,{fileName:Ke,lineNumber:14,columnNumber:11},this)]},void 0,!0,{fileName:Ke,lineNumber:12,columnNumber:9},this)},void 0,!1,{fileName:Ke,lineNumber:11,columnNumber:7},this),(0,D.jsxDEV)(`label`,{children:[`Search component/diagnostic`,(0,D.jsxDEV)(`input`,{id:`search`,onChange:t=>e({query:t.target.value,type:`filter-query`}),placeholder:`e.g. redis.default or QUEUE_DEPENDENCY_NOT_READY`,type:`text`,value:t.query},void 0,!1,{fileName:Ke,lineNumber:19,columnNumber:9},this)]},void 0,!0,{fileName:Ke,lineNumber:17,columnNumber:7},this),(0,D.jsxDEV)(`div`,{className:`filter-row`,children:[(0,D.jsxDEV)(`span`,{children:`Component readiness`},void 0,!1,{fileName:Ke,lineNumber:26,columnNumber:9},this),qe.map(n=>(0,D.jsxDEV)(`label`,{children:[(0,D.jsxDEV)(`input`,{checked:t.readinessStatuses.includes(n),"data-readiness":n,id:`readiness-${n}`,onChange:()=>e({readiness:n,type:`filter-readiness-toggle`}),type:`checkbox`},void 0,!1,{fileName:Ke,lineNumber:28,columnNumber:13},this),` `,n]},n,!0,{fileName:Ke,lineNumber:27,columnNumber:41},this))]},void 0,!0,{fileName:Ke,lineNumber:25,columnNumber:7},this),(0,D.jsxDEV)(`div`,{className:`filter-row`,children:[(0,D.jsxDEV)(`span`,{children:`Diagnostic severity`},void 0,!1,{fileName:Ke,lineNumber:37,columnNumber:9},this),Je.map(n=>(0,D.jsxDEV)(`label`,{children:[(0,D.jsxDEV)(`input`,{checked:t.severities.includes(n),"data-severity":n,id:`severity-${n}`,onChange:()=>e({severity:n,type:`filter-severity-toggle`}),type:`checkbox`},void 0,!1,{fileName:Ke,lineNumber:39,columnNumber:13},this),` `,n]},n,!0,{fileName:Ke,lineNumber:38,columnNumber:42},this))]},void 0,!0,{fileName:Ke,lineNumber:36,columnNumber:7},this)]},void 0,!0,{fileName:Ke,lineNumber:10,columnNumber:10},this)}function Xe(e,t){return e.includes(t)?e.filter(e=>e!==t):[...e,t]}function Ze(e,t){return t===`static`?`static`:t===`error`?e:`live`}function Qe(e){return{...e,appId:void 0,epoch:void 0,events:[],liveSnapshot:void 0,selectedGraphNodeId:void 0,selectedRequestId:void 0,selectedRouteId:void 0}}function $e(e,t){switch(t.type){case`connection`:return{...e,connection:{...t.connection,lastEventAt:t.connection.lastEventAt??e.connection.lastEventAt},mode:Ze(e.mode,t.connection.status)};case`file-error`:return{...Qe(e),connection:{message:t.message,status:`static`},message:t.message,mode:`static`,staticReport:{}};case`static-payload`:{let n={filteredSnapshot:Le(t.parsed.payload,e.filter),payload:t.parsed.payload,rawJson:t.parsed.rawJson,selectedComponentId:void 0};return{...Qe(e),connection:{message:`Static/report compatibility mode is active.`,status:`static`},message:t.message,mode:`static`,staticReport:n}}case`filter-query`:{let n={...e.filter,query:t.query};return{...e,filter:n,staticReport:{...e.staticReport,filteredSnapshot:Le(e.staticReport.payload,n)}}}case`filter-readiness-toggle`:{let n={...e.filter,readinessStatuses:Xe(e.filter.readinessStatuses,t.readiness)};return{...e,filter:n,staticReport:{...e.staticReport,filteredSnapshot:Le(e.staticReport.payload,n)}}}case`filter-severity-toggle`:{let n={...e.filter,severities:Xe(e.filter.severities,t.severity)};return{...e,filter:n,staticReport:{...e.staticReport,filteredSnapshot:Le(e.staticReport.payload,n)}}}case`select-component`:return{...e,staticReport:{...e.staticReport,selectedComponentId:t.componentId}};case`select-graph-node`:return{...e,selectedGraphNodeId:t.nodeId};case`select-route`:return{...e,selectedRouteId:t.routeId};case`select-request`:return{...e,selectedRequestId:t.requestId};case`live-event`:{let n=t.event,r={...e,appId:n.source.appId,connection:{lastEventAt:n.emittedAt,message:`Live ${n.type} event received from ${n.source.runtime}.`,status:`connected`},epoch:n.epoch,events:Re([...e.events,n]),mode:`live`};if(n.type===`snapshot`)return{...r,liveSnapshot:{...n.payload,requests:ze(n.payload.requests)},selectedGraphNodeId:r.selectedGraphNodeId??n.payload.graph.nodes[0]?.id,selectedRouteId:r.selectedRouteId??n.payload.routes[0]?.id};if(n.type===`request`){let t=e.liveSnapshot;return{...r,liveSnapshot:t&&{...t,requests:Be(t.requests,n.payload)},selectedRequestId:n.payload.requestId}}return n.type===`timing`?{...r,liveSnapshot:e.liveSnapshot?{...e.liveSnapshot,timing:n.payload}:e.liveSnapshot}:n.type===`diagnostic`?{...r,liveSnapshot:e.liveSnapshot?{...e.liveSnapshot,diagnostics:[n.payload,...e.liveSnapshot.diagnostics].slice(0,80)}:e.liveSnapshot}:n.type===`restart`?{...r,connection:{lastEventAt:n.emittedAt,message:n.payload.reason??`Runtime restart ${n.payload.phase}.`,status:n.payload.phase===`started`?`connected`:`restarting`}}:n.type===`disconnect`?{...r,connection:{lastEventAt:n.emittedAt,message:n.payload.reason??`Runtime disconnected from the Studio sidecar.`,status:`disconnected`}}:r}}}function et(e){return typeof e==`string`&&e.length>0?e:void 0}function tt(e=window.location){let t=window.__FLUO_STUDIO__,n=et(t?.eventsUrl);if(n)return{eventsUrl:n,stateUrl:et(t?.stateUrl)};let r=new URLSearchParams(e.search).get(`token`);if(!r)return;let i=encodeURIComponent(r);return{eventsUrl:`/api/events?token=${i}`,stateUrl:`/api/state?token=${i}`}}var nt=[`snapshot`,`request`,`timing`,`diagnostic`,`heartbeat`,`restart`,`disconnect`];function rt(e){return typeof e.data==`string`?JSON.parse(e.data):e.data}function it(e,t){e({connection:t,type:`connection`})}function at(e,t){e({event:me(t),type:`live-event`})}function ot(e,t){if(t===void 0||!Number.isFinite(t)||t<=0)return e;let n=window.location.origin||`http://localhost`,r=new URL(e,n);return r.searchParams.set(`after`,String(t)),e.startsWith(`http://`)||e.startsWith(`https://`)?r.toString():`${r.pathname}${r.search}${r.hash}`}function st(e){(0,l.useEffect)(()=>{let t=tt();if(!t)return;if(typeof EventSource>`u`){it(e,{message:`This browser does not expose EventSource; static/report mode remains available.`,status:`error`});return}let n=!1,r=Date.now(),i;it(e,{message:`Connecting to the local Studio sidecar…`,status:`connecting`});let a=t=>{if(!n)try{r=Date.now(),at(e,rt(t))}catch(t){it(e,{message:t instanceof Error?t.message:`Failed to parse Studio live event.`,status:`error`})}},o,s=t=>{if(!n){try{o=new EventSource(t)}catch(t){it(e,{message:t instanceof Error?t.message:`Failed to connect to the Studio event stream.`,status:`error`});return}i=window.setInterval(()=>{n||Date.now()-r>2e4&&it(e,{lastEventAt:new Date(r).toISOString(),message:`No Studio event has arrived for 20s; showing stale data until the sidecar reconnects.`,status:`stale`})},5e3),o.onopen=()=>{n||(r=Date.now(),it(e,{lastEventAt:new Date().toISOString(),message:`Connected to the local Studio sidecar.`,status:`connected`}))},o.onerror=()=>{n||it(e,{lastEventAt:new Date(r).toISOString(),message:`Studio event stream disconnected; waiting for reconnect.`,status:`reconnecting`})},o.addEventListener(`message`,a);for(let e of nt)o.addEventListener(e,a)}},c=typeof AbortController>`u`?void 0:new AbortController;return t.stateUrl&&typeof fetch==`function`?fetch(t.stateUrl,c?{signal:c.signal}:void 0).then(async e=>{if(!n){if(!e.ok)throw Error(`Studio state request failed with ${String(e.status)}.`);return await e.json()}}).then(r=>{if(!n&&r){for(let t of r.events??[]){if(n)return;at(e,t)}s(ot(t.eventsUrl,r.sequence))}}).catch(r=>{n||(it(e,{message:r instanceof Error?r.message:String(r),status:`reconnecting`}),s(t.eventsUrl))}):s(t.eventsUrl),()=>{if(n=!0,t.stateUrl&&typeof fetch==`function`&&c?.abort(),i!==void 0&&window.clearInterval(i),o){for(let e of nt)o.removeEventListener(e,a);o.removeEventListener(`message`,a),o.close()}}},[e])}var ct=`/home/runner/work/fluo/fluo/packages/studio/src/widgets/connection-status/ui/ConnectionStatusWidget.tsx`,lt={connected:`connected`,connecting:`connecting`,disconnected:`disconnected`,error:`error`,reconnecting:`reconnecting`,restarting:`restarting`,stale:`stale`,static:`static`};function ut({state:e}){let t=e.liveSnapshot,n=t?[[`nodes`,t.graph.nodes.length],[`edges`,t.graph.edges.length],[`routes`,t.routes.length],[`requests`,t.requests.length],[`diagnostics`,t.diagnostics.length]]:[];return(0,D.jsxDEV)(`div`,{className:`card live-connection connection-${e.connection.status}`,children:[(0,D.jsxDEV)(`div`,{className:`live-status-main`,children:[(0,D.jsxDEV)(`div`,{children:[(0,D.jsxDEV)(`p`,{className:`eyebrow`,children:`Runtime-connected Studio`},void 0,!1,{fileName:ct,lineNumber:23,columnNumber:11},this),(0,D.jsxDEV)(`h2`,{children:`Live devtool bridge`},void 0,!1,{fileName:ct,lineNumber:24,columnNumber:11},this),(0,D.jsxDEV)(`p`,{children:e.connection.message??`Waiting for the local Studio sidecar.`},void 0,!1,{fileName:ct,lineNumber:25,columnNumber:11},this)]},void 0,!0,{fileName:ct,lineNumber:22,columnNumber:9},this),(0,D.jsxDEV)(`div`,{className:`connection-orb-wrap`,"aria-label":`Studio connection ${lt[e.connection.status]}`,children:[(0,D.jsxDEV)(`span`,{className:`connection-orb`},void 0,!1,{fileName:ct,lineNumber:28,columnNumber:11},this),(0,D.jsxDEV)(`strong`,{children:lt[e.connection.status]},void 0,!1,{fileName:ct,lineNumber:29,columnNumber:11},this)]},void 0,!0,{fileName:ct,lineNumber:27,columnNumber:9},this)]},void 0,!0,{fileName:ct,lineNumber:21,columnNumber:7},this),(0,D.jsxDEV)(`div`,{className:`chips`,children:[(0,D.jsxDEV)(`span`,{className:`chip`,children:[`mode: `,e.mode]},void 0,!0,{fileName:ct,lineNumber:33,columnNumber:9},this),e.appId?(0,D.jsxDEV)(`span`,{className:`chip`,children:[`app: `,e.appId]},void 0,!0,{fileName:ct,lineNumber:34,columnNumber:24},this):null,e.epoch?(0,D.jsxDEV)(`span`,{className:`chip`,children:[`epoch: `,e.epoch]},void 0,!0,{fileName:ct,lineNumber:35,columnNumber:24},this):null,e.connection.lastEventAt?(0,D.jsxDEV)(`span`,{className:`chip`,children:[`last event: `,e.connection.lastEventAt]},void 0,!0,{fileName:ct,lineNumber:36,columnNumber:41},this):null,n.map(([e,t])=>(0,D.jsxDEV)(`span`,{className:`chip`,children:[e,`: `,t]},e,!0,{fileName:ct,lineNumber:37,columnNumber:41},this))]},void 0,!0,{fileName:ct,lineNumber:32,columnNumber:7},this)]},void 0,!0,{fileName:ct,lineNumber:20,columnNumber:10},this)}var dt=`/home/runner/work/fluo/fluo/packages/studio/src/shared/ui/EmptyState.tsx`;function ft({action:e,title:t}){return(0,D.jsxDEV)(`div`,{className:`empty-state`,children:[(0,D.jsxDEV)(`strong`,{children:t},void 0,!1,{fileName:dt,lineNumber:9,columnNumber:7},this),e?(0,D.jsxDEV)(`span`,{children:e},void 0,!1,{fileName:dt,lineNumber:10,columnNumber:17},this):null]},void 0,!0,{fileName:dt,lineNumber:8,columnNumber:10},this)}var pt=`/home/runner/work/fluo/fluo/packages/studio/src/widgets/diagnostics/ui/DiagnosticsPanel.tsx`;function mt({state:e}){let t=Me(e);return(0,D.jsxDEV)(`section`,{className:`card live-diagnostics-card`,children:[(0,D.jsxDEV)(`div`,{className:`section-title-row`,children:[(0,D.jsxDEV)(`div`,{children:[(0,D.jsxDEV)(`p`,{className:`eyebrow`,children:`Runtime diagnostics`},void 0,!1,{fileName:pt,lineNumber:13,columnNumber:11},this),(0,D.jsxDEV)(`h2`,{children:`Live diagnostics`},void 0,!1,{fileName:pt,lineNumber:14,columnNumber:11},this)]},void 0,!0,{fileName:pt,lineNumber:12,columnNumber:9},this),(0,D.jsxDEV)(`span`,{className:`mode-badge`,children:[t.length,` issues`]},void 0,!0,{fileName:pt,lineNumber:16,columnNumber:9},this)]},void 0,!0,{fileName:pt,lineNumber:11,columnNumber:7},this),t.length===0?(0,D.jsxDEV)(ft,{action:`Runtime and request diagnostics will appear here when emitted.`,title:`No live diagnostics yet.`},void 0,!1,{fileName:pt,lineNumber:18,columnNumber:35},this):(0,D.jsxDEV)(`div`,{className:`diagnostics-list`,children:t.map((e,t)=>(0,D.jsxDEV)(`article`,{className:`card issue severity-${e.severity}`,children:[(0,D.jsxDEV)(`h3`,{children:e.code},void 0,!1,{fileName:pt,lineNumber:20,columnNumber:15},this),(0,D.jsxDEV)(`p`,{children:[(0,D.jsxDEV)(`strong`,{children:`severity:`},void 0,!1,{fileName:pt,lineNumber:21,columnNumber:18},this),` `,e.severity,e.targetId?(0,D.jsxDEV)(D.Fragment,{children:[` · `,(0,D.jsxDEV)(`strong`,{children:`target:`},void 0,!1,{fileName:pt,lineNumber:21,columnNumber:94},this),` `,e.targetId]},void 0,!0,{fileName:pt,lineNumber:21,columnNumber:89},this):null]},void 0,!0,{fileName:pt,lineNumber:21,columnNumber:15},this),(0,D.jsxDEV)(`p`,{children:e.message},void 0,!1,{fileName:pt,lineNumber:22,columnNumber:15},this),e.scope?(0,D.jsxDEV)(`p`,{children:[(0,D.jsxDEV)(`strong`,{children:`scope:`},void 0,!1,{fileName:pt,lineNumber:23,columnNumber:38},this),` `,e.scope]},void 0,!0,{fileName:pt,lineNumber:23,columnNumber:35},this):null,e.fixHint?(0,D.jsxDEV)(`p`,{children:[(0,D.jsxDEV)(`strong`,{children:`fix hint:`},void 0,!1,{fileName:pt,lineNumber:24,columnNumber:40},this),` `,e.fixHint]},void 0,!0,{fileName:pt,lineNumber:24,columnNumber:37},this):null]},`${e.code}:${e.targetId??t}`,!0,{fileName:pt,lineNumber:19,columnNumber:51},this))},void 0,!1,{fileName:pt,lineNumber:18,columnNumber:157},this)]},void 0,!0,{fileName:pt,lineNumber:10,columnNumber:10},this)}var O=`/home/runner/work/fluo/fluo/packages/studio/src/widgets/live-graph/ui/LiveGraphPanel.tsx`,ht=[`module`,`provider`,`controller`,`route`,`platform`,`external`];function gt(e){let t=new Map;for(let e of ht)t.set(e,[]);for(let n of e)t.get(n.kind)?.push(n);let n=new Map,r=ht.filter(e=>(t.get(e)?.length??0)>0);return r.forEach((e,i)=>{let a=t.get(e)??[],o=80+i*800/Math.max(r.length-1,1);a.forEach((e,t)=>{let r=70+t*280/Math.max(a.length-1,1);n.set(e.id,{x:o,y:r})})}),n}function _t(e){return e.status===`error`?`danger`:e.status===`warning`?`warning`:e.status===`active`?`active`:e.kind}function vt({dispatch:e,state:t}){let n=t.liveSnapshot;if(!n)return(0,D.jsxDEV)(`section`,{className:`card live-graph-card`,children:[(0,D.jsxDEV)(`div`,{className:`section-title-row`,children:(0,D.jsxDEV)(`div`,{children:[(0,D.jsxDEV)(`p`,{className:`eyebrow`,children:`Live runtime graph`},void 0,!1,{fileName:O,lineNumber:47,columnNumber:13},this),(0,D.jsxDEV)(`h2`,{children:`Modules, classes, and routes`},void 0,!1,{fileName:O,lineNumber:48,columnNumber:13},this)]},void 0,!0,{fileName:O,lineNumber:46,columnNumber:11},this)},void 0,!1,{fileName:O,lineNumber:45,columnNumber:9},this),(0,D.jsxDEV)(ft,{action:`Start with fluo dev --studio and wait for the first runtime snapshot.`,title:`No live snapshot yet.`},void 0,!1,{fileName:O,lineNumber:51,columnNumber:9},this)]},void 0,!0,{fileName:O,lineNumber:44,columnNumber:12},this);let r=gt(n.graph.nodes),i=t.selectedGraphNodeId??n.graph.nodes[0]?.id,a=n.graph.nodes.find(e=>e.id===i),o=new Set;for(let e of n.graph.edges)e.from===i&&o.add(e.to),e.to===i&&o.add(e.from);return(0,D.jsxDEV)(`section`,{className:`card live-graph-card`,children:[(0,D.jsxDEV)(`div`,{className:`section-title-row`,children:[(0,D.jsxDEV)(`div`,{children:[(0,D.jsxDEV)(`p`,{className:`eyebrow`,children:`Live runtime graph`},void 0,!1,{fileName:O,lineNumber:65,columnNumber:11},this),(0,D.jsxDEV)(`h2`,{children:`Modules, classes, and routes`},void 0,!1,{fileName:O,lineNumber:66,columnNumber:11},this)]},void 0,!0,{fileName:O,lineNumber:64,columnNumber:9},this),(0,D.jsxDEV)(`span`,{className:`mode-badge`,children:[n.graph.nodes.length,` nodes · `,n.graph.edges.length,` edges`]},void 0,!0,{fileName:O,lineNumber:68,columnNumber:9},this)]},void 0,!0,{fileName:O,lineNumber:63,columnNumber:7},this),(0,D.jsxDEV)(`div`,{className:`live-graph-layout`,children:[(0,D.jsxDEV)(`div`,{className:`live-graph-canvas`,"aria-label":`Runtime module/provider/controller/route graph`,children:(0,D.jsxDEV)(`svg`,{viewBox:`0 0 960 420`,role:`img`,children:[(0,D.jsxDEV)(`defs`,{children:(0,D.jsxDEV)(`marker`,{id:`live-arrow`,markerHeight:`7`,markerWidth:`10`,orient:`auto`,refX:`9`,refY:`3.5`,children:(0,D.jsxDEV)(`polygon`,{className:`live-edge-arrow`,points:`0 0, 10 3.5, 0 7`},void 0,!1,{fileName:O,lineNumber:75,columnNumber:17},this)},void 0,!1,{fileName:O,lineNumber:74,columnNumber:15},this)},void 0,!1,{fileName:O,lineNumber:73,columnNumber:13},this),n.graph.edges.map(e=>{let t=r.get(e.from),n=r.get(e.to);if(!t||!n)return null;let a=e.from===i||e.to===i;return(0,D.jsxDEV)(`g`,{children:[(0,D.jsxDEV)(`line`,{className:`live-edge ${a?`live-edge-highlighted`:``}`,markerEnd:`url(#live-arrow)`,x1:t.x,x2:n.x,y1:t.y,y2:n.y},void 0,!1,{fileName:O,lineNumber:84,columnNumber:19},this),a?(0,D.jsxDEV)(`text`,{className:`live-edge-label`,x:(t.x+n.x)/2,y:(t.y+n.y)/2-4,children:e.label??e.kind},void 0,!1,{fileName:O,lineNumber:85,columnNumber:34},this):null]},e.id,!0,{fileName:O,lineNumber:83,columnNumber:20},this)}),n.graph.nodes.map(t=>{let n=r.get(t.id);if(!n)return null;let a=t.id===i,s=o.has(t.id);return(0,D.jsxDEV)(`g`,{className:`live-node live-node-${_t(t)} ${a?`live-node-selected`:``} ${s?`live-node-related`:``}`,onClick:()=>e({nodeId:t.id,type:`select-graph-node`}),role:`button`,tabIndex:0,children:[(0,D.jsxDEV)(`rect`,{height:`46`,rx:`14`,width:`138`,x:n.x-69,y:n.y-23},void 0,!1,{fileName:O,lineNumber:97,columnNumber:19},this),(0,D.jsxDEV)(`text`,{x:n.x,y:n.y-2,children:t.label},void 0,!1,{fileName:O,lineNumber:98,columnNumber:19},this),(0,D.jsxDEV)(`text`,{className:`live-node-kind`,x:n.x,y:n.y+14,children:t.kind},void 0,!1,{fileName:O,lineNumber:99,columnNumber:19},this)]},t.id,!0,{fileName:O,lineNumber:93,columnNumber:20},this)})]},void 0,!0,{fileName:O,lineNumber:72,columnNumber:11},this)},void 0,!1,{fileName:O,lineNumber:71,columnNumber:9},this),(0,D.jsxDEV)(`aside`,{className:`live-graph-details`,children:[(0,D.jsxDEV)(`p`,{className:`eyebrow`,children:`Selected node`},void 0,!1,{fileName:O,lineNumber:105,columnNumber:11},this),a?(0,D.jsxDEV)(D.Fragment,{children:[(0,D.jsxDEV)(`h3`,{children:a.label},void 0,!1,{fileName:O,lineNumber:107,columnNumber:15},this),(0,D.jsxDEV)(`div`,{className:`chips`,children:[(0,D.jsxDEV)(`span`,{className:`chip`,children:[`kind: `,a.kind]},void 0,!0,{fileName:O,lineNumber:109,columnNumber:17},this),(0,D.jsxDEV)(`span`,{className:`chip`,children:[`id: `,a.id]},void 0,!0,{fileName:O,lineNumber:110,columnNumber:17},this),a.status?(0,D.jsxDEV)(`span`,{className:`chip`,children:[`status: `,a.status]},void 0,!0,{fileName:O,lineNumber:111,columnNumber:40},this):null]},void 0,!0,{fileName:O,lineNumber:108,columnNumber:15},this),(0,D.jsxDEV)(`h4`,{children:`Explainable relationships`},void 0,!1,{fileName:O,lineNumber:113,columnNumber:15},this),(0,D.jsxDEV)(`div`,{className:`edge-list`,children:n.graph.edges.filter(e=>e.from===a.id||e.to===a.id).map(t=>(0,D.jsxDEV)(`button`,{className:`edge-row`,onClick:()=>e({nodeId:t.from===a.id?t.to:t.from,type:`select-graph-node`}),type:`button`,children:[(0,D.jsxDEV)(`strong`,{children:t.kind},void 0,!1,{fileName:O,lineNumber:119,columnNumber:23},this),(0,D.jsxDEV)(`span`,{children:[t.from===a.id?`to`:`from`,` `,t.from===a.id?t.to:t.from]},void 0,!0,{fileName:O,lineNumber:120,columnNumber:23},this)]},t.id,!0,{fileName:O,lineNumber:115,columnNumber:128},this))},void 0,!1,{fileName:O,lineNumber:114,columnNumber:15},this)]},void 0,!0,{fileName:O,lineNumber:106,columnNumber:27},this):(0,D.jsxDEV)(`p`,{className:`muted`,children:`No node selected.`},void 0,!1,{fileName:O,lineNumber:123,columnNumber:19},this)]},void 0,!0,{fileName:O,lineNumber:104,columnNumber:9},this)]},void 0,!0,{fileName:O,lineNumber:70,columnNumber:7},this)]},void 0,!0,{fileName:O,lineNumber:62,columnNumber:10},this)}var k=`/home/runner/work/fluo/fluo/packages/studio/src/widgets/request-flow/ui/RequestFlowPanel.tsx`;function yt(e){return e===`failed`?`danger`:e===`succeeded`?`success`:e===`matched`?`accent`:`muted`}function bt({dispatch:e,state:t}){let n=t.liveSnapshot?.requests??[],r=Ie(t);return(0,D.jsxDEV)(`section`,{className:`card request-flow-card`,children:[(0,D.jsxDEV)(`div`,{className:`section-title-row`,children:[(0,D.jsxDEV)(`div`,{children:[(0,D.jsxDEV)(`p`,{className:`eyebrow`,children:`Recent runtime traffic`},void 0,!1,{fileName:k,lineNumber:22,columnNumber:11},this),(0,D.jsxDEV)(`h2`,{children:`Request flow`},void 0,!1,{fileName:k,lineNumber:23,columnNumber:11},this)]},void 0,!0,{fileName:k,lineNumber:21,columnNumber:9},this),(0,D.jsxDEV)(`span`,{className:`mode-badge`,children:`bounded retention · no request bodies`},void 0,!1,{fileName:k,lineNumber:25,columnNumber:9},this)]},void 0,!0,{fileName:k,lineNumber:20,columnNumber:7},this),n.length===0?(0,D.jsxDEV)(ft,{action:`Send requests to the running app to see route/handler-level traces.`,title:`No live requests yet.`},void 0,!1,{fileName:k,lineNumber:27,columnNumber:32},this):(0,D.jsxDEV)(`div`,{className:`request-layout`,children:[(0,D.jsxDEV)(`div`,{className:`request-timeline`,children:n.map(t=>(0,D.jsxDEV)(`button`,{className:`request-row request-row-${yt(t.status)} ${t.requestId===r?.requestId?`request-row-selected`:``}`,onClick:()=>e({requestId:t.requestId,type:`select-request`}),type:`button`,children:[(0,D.jsxDEV)(`span`,{children:t.method},void 0,!1,{fileName:k,lineNumber:33,columnNumber:17},this),(0,D.jsxDEV)(`strong`,{children:t.path},void 0,!1,{fileName:k,lineNumber:34,columnNumber:17},this),(0,D.jsxDEV)(`small`,{children:[t.status,t.statusCode?` · ${String(t.statusCode)}`:``,t.durationMs===void 0?``:` · ${t.durationMs.toFixed(2)}ms`]},void 0,!0,{fileName:k,lineNumber:35,columnNumber:17},this)]},t.requestId,!0,{fileName:k,lineNumber:29,columnNumber:38},this))},void 0,!1,{fileName:k,lineNumber:28,columnNumber:11},this),(0,D.jsxDEV)(`aside`,{className:`request-detail`,children:[(0,D.jsxDEV)(`p`,{className:`eyebrow`,children:`Selected request`},void 0,!1,{fileName:k,lineNumber:39,columnNumber:13},this),r?(0,D.jsxDEV)(D.Fragment,{children:[(0,D.jsxDEV)(`h3`,{children:[r.method,` `,r.path]},void 0,!0,{fileName:k,lineNumber:41,columnNumber:17},this),(0,D.jsxDEV)(`div`,{className:`chips`,children:[(0,D.jsxDEV)(`span`,{className:`chip`,children:[`id: `,r.requestId]},void 0,!0,{fileName:k,lineNumber:43,columnNumber:19},this),(0,D.jsxDEV)(`span`,{className:`chip`,children:[`status: `,r.status]},void 0,!0,{fileName:k,lineNumber:44,columnNumber:19},this),r.statusCode?(0,D.jsxDEV)(`span`,{className:`chip`,children:[`statusCode: `,r.statusCode]},void 0,!0,{fileName:k,lineNumber:45,columnNumber:49},this):null,r.durationMs===void 0?null:(0,D.jsxDEV)(`span`,{className:`chip`,children:[`duration: `,r.durationMs.toFixed(3),`ms`]},void 0,!0,{fileName:k,lineNumber:46,columnNumber:63},this),r.controller?(0,D.jsxDEV)(`span`,{className:`chip`,children:[`controller: `,r.controller]},void 0,!0,{fileName:k,lineNumber:47,columnNumber:49},this):null,r.handler?(0,D.jsxDEV)(`span`,{className:`chip`,children:[`handler: `,r.handler]},void 0,!0,{fileName:k,lineNumber:48,columnNumber:46},this):null,r.routeId?(0,D.jsxDEV)(`span`,{className:`chip`,children:[`route: `,r.routeId]},void 0,!0,{fileName:k,lineNumber:49,columnNumber:46},this):null]},void 0,!0,{fileName:k,lineNumber:42,columnNumber:17},this),r.error?(0,D.jsxDEV)(`article`,{className:`inline-diagnostic severity-error`,children:[(0,D.jsxDEV)(`strong`,{children:r.error.name??`Request error`},void 0,!1,{fileName:k,lineNumber:52,columnNumber:21},this),(0,D.jsxDEV)(`p`,{children:r.error.message},void 0,!1,{fileName:k,lineNumber:53,columnNumber:21},this)]},void 0,!0,{fileName:k,lineNumber:51,columnNumber:42},this):null]},void 0,!0,{fileName:k,lineNumber:40,columnNumber:32},this):(0,D.jsxDEV)(`p`,{className:`muted`,children:`Select a request trace to inspect handler correlation.`},void 0,!1,{fileName:k,lineNumber:55,columnNumber:21},this)]},void 0,!0,{fileName:k,lineNumber:38,columnNumber:11},this)]},void 0,!0,{fileName:k,lineNumber:27,columnNumber:156},this)]},void 0,!0,{fileName:k,lineNumber:19,columnNumber:10},this)}var xt=`/home/runner/work/fluo/fluo/packages/studio/src/widgets/routes/ui/RoutesPanel.tsx`;function St(e,t){return t.liveSnapshot?.graph.nodes.find(t=>t.kind===`route`&&t.id===e.graphNodeId)?.id}function Ct(e){return e.kind===`react-page`?`React page`:e.kind===`http`?`HTTP handler`:e.kind}function wt({dispatch:e,state:t}){let n=E(t),r=Fe(t);return(0,D.jsxDEV)(`section`,{className:`card routes-card`,children:[(0,D.jsxDEV)(`div`,{className:`section-title-row`,children:[(0,D.jsxDEV)(`div`,{children:[(0,D.jsxDEV)(`p`,{className:`eyebrow`,children:`HTTP routes`},void 0,!1,{fileName:xt,lineNumber:22,columnNumber:11},this),(0,D.jsxDEV)(`h2`,{children:`Routes`},void 0,!1,{fileName:xt,lineNumber:23,columnNumber:11},this)]},void 0,!0,{fileName:xt,lineNumber:21,columnNumber:9},this),(0,D.jsxDEV)(`span`,{className:`mode-badge`,children:[n.length,` routes`]},void 0,!0,{fileName:xt,lineNumber:25,columnNumber:9},this)]},void 0,!0,{fileName:xt,lineNumber:20,columnNumber:7},this),n.length===0?(0,D.jsxDEV)(ft,{action:t.mode===`live`?`Runtime route descriptors will appear after bootstrap.`:`Load a fluo inspect artifact with compiled route diagnostics.`,title:`No routes yet.`},void 0,!1,{fileName:xt,lineNumber:27,columnNumber:30},this):(0,D.jsxDEV)(`div`,{className:`routes-layout`,children:[(0,D.jsxDEV)(`div`,{className:`route-list`,children:n.map(n=>{let i=n.id===r?.id;return(0,D.jsxDEV)(`button`,{className:`route-row ${i?`route-row-selected`:``}`,onClick:()=>{e({routeId:n.id,type:`select-route`});let r=St(n,t);r&&e({nodeId:r,type:`select-graph-node`})},type:`button`,children:[(0,D.jsxDEV)(`span`,{className:`method method-${n.method.toLowerCase()}`,children:n.method},void 0,!1,{fileName:xt,lineNumber:42,columnNumber:19},this),(0,D.jsxDEV)(`strong`,{children:n.path},void 0,!1,{fileName:xt,lineNumber:43,columnNumber:19},this),(0,D.jsxDEV)(`small`,{children:[Ct(n),` · `,n.module??`unknown module`,` · `,n.controller,`.`,n.handler]},void 0,!0,{fileName:xt,lineNumber:44,columnNumber:19},this)]},n.id,!0,{fileName:xt,lineNumber:31,columnNumber:18},this)})},void 0,!1,{fileName:xt,lineNumber:28,columnNumber:11},this),(0,D.jsxDEV)(`aside`,{className:`route-detail`,children:[(0,D.jsxDEV)(`p`,{className:`eyebrow`,children:`Selected route`},void 0,!1,{fileName:xt,lineNumber:49,columnNumber:13},this),r?(0,D.jsxDEV)(D.Fragment,{children:[(0,D.jsxDEV)(`h3`,{children:[r.method,` `,r.path]},void 0,!0,{fileName:xt,lineNumber:51,columnNumber:17},this),(0,D.jsxDEV)(`div`,{className:`chips`,children:[(0,D.jsxDEV)(`span`,{className:`chip`,children:[`controller: `,r.controller]},void 0,!0,{fileName:xt,lineNumber:53,columnNumber:19},this),(0,D.jsxDEV)(`span`,{className:`chip`,children:[`handler: `,r.handler]},void 0,!0,{fileName:xt,lineNumber:54,columnNumber:19},this),(0,D.jsxDEV)(`span`,{className:`chip`,children:[`kind: `,Ct(r)]},void 0,!0,{fileName:xt,lineNumber:55,columnNumber:19},this),r.module?(0,D.jsxDEV)(`span`,{className:`chip`,children:[`module: `,r.module]},void 0,!0,{fileName:xt,lineNumber:56,columnNumber:43},this):null,r.version?(0,D.jsxDEV)(`span`,{className:`chip`,children:[`version: `,r.version]},void 0,!0,{fileName:xt,lineNumber:57,columnNumber:44},this):null,r.params.length>0?(0,D.jsxDEV)(`span`,{className:`chip`,children:[`params: `,r.params.join(`, `)]},void 0,!0,{fileName:xt,lineNumber:58,columnNumber:54},this):null]},void 0,!0,{fileName:xt,lineNumber:52,columnNumber:17},this)]},void 0,!0,{fileName:xt,lineNumber:50,columnNumber:30},this):(0,D.jsxDEV)(`p`,{className:`muted`,children:`Select a route to inspect handler correlation.`},void 0,!1,{fileName:xt,lineNumber:60,columnNumber:21},this)]},void 0,!0,{fileName:xt,lineNumber:48,columnNumber:11},this)]},void 0,!0,{fileName:xt,lineNumber:27,columnNumber:226},this)]},void 0,!0,{fileName:xt,lineNumber:19,columnNumber:10},this)}function Tt(e){let t=e.staticReport.payload;if(t?.report)return{...t.report.summary,source:`report`};let n=e.staticReport.filteredSnapshot;if(n)return{componentCount:n.components.length,diagnosticCount:n.diagnostics.length,errorCount:n.diagnostics.filter(e=>e.severity===`error`).length,healthStatus:n.health.status,readinessStatus:n.readiness.status,source:`snapshot`,...t?.timing?{timingTotalMs:t.timing.totalMs}:{},warningCount:n.diagnostics.filter(e=>e.severity===`warning`).length}}function Et(e){return e.replaceAll(`&`,`&`).replaceAll(`<`,`<`).replaceAll(`>`,`>`).replaceAll(`"`,`"`).replaceAll(`'`,`'`)}function Dt(e){try{let t=new URL(e);if(t.protocol===`https:`||t.protocol===`http:`)return t.href}catch{return}}function Ot(e){let t=Dt(e),n=Et(e);return t?`<p><strong>docs:</strong> <a href="${Et(t)}" target="_blank" rel="noopener noreferrer">${n}</a></p>`:`<p><strong>docs:</strong> <span>${n}</span></p>`}function kt(e,t=e){let n=new Set(t.map(e=>e.id)),r=[],i=new Set;for(let t of e)for(let e of t.dependencies)n.has(e)||i.has(e)||(i.add(e),r.push(e));return r}function At(e,t,n=e?.components??[]){if(!e||e.components.length===0)return;let r=new Map(n.map(e=>[e.id,e])),i=new Map(e.components.map(e=>[e.id,e])),a=t?r.get(t)??e.components[0]:e.components[0];if(!a)return;let o=[],s=[];for(let e of a.dependencies){let t=r.get(e);t?o.push(i.get(e)??t):s.push(e)}let c=n.filter(e=>e.id!==a.id&&e.dependencies.includes(a.id));return{component:a,diagnostics:e.diagnostics.filter(e=>e.componentId===a.id||(e.dependsOn?.includes(a.id)??!1)),externalDependencies:s,incoming:c,outgoing:o}}function jt(e,t,n,r=e.components){let i=Math.min(t,n)/2-70,a=t/2,o=n/2,s=new Map,c=kt(e.components,r),l=[...e.components.map(e=>e.id),...c];return l.forEach((e,t)=>{let n=Math.PI*2*t/Math.max(l.length,1);s.set(e,{x:a+i*Math.cos(n),y:o+i*Math.sin(n)})}),s}function Mt(e,t,n=e.components){let r=e.components,i=jt(e,900,460,n),a=kt(r,n),o=t?r.find(e=>e.id===t):void 0,s=new Set(o?.dependencies??[]),c=new Set(t?r.filter(e=>e.dependencies.includes(t)).map(e=>e.id):[]);return`<svg viewBox="0 0 900 460" role="img" aria-label="Platform component dependency graph">
|
|
244
|
+
<defs>
|
|
245
|
+
<marker id="arrow" markerWidth="10" markerHeight="7" refX="9" refY="3.5" orient="auto">
|
|
246
|
+
<polygon points="0 0, 10 3.5, 0 7" class="edge-arrow" />
|
|
247
|
+
</marker>
|
|
248
|
+
</defs>
|
|
249
|
+
${r.flatMap(e=>e.dependencies.map(n=>{let r=i.get(e.id),a=i.get(n);if(!r||!a)return``;let o=e.id===t||n===t;return`<line x1="${r.x}" y1="${r.y}" x2="${a.x}" y2="${a.y}" class="edge-line${o?` edge-selected`:``}" marker-end="url(#arrow)" />`})).join(``)}
|
|
250
|
+
${r.map(e=>{let n=i.get(e.id);if(!n)return``;let r=[`module-node`,e.readiness.status===`not-ready`?`component-not-ready`:e.readiness.status===`degraded`?`component-degraded`:`component-ready`,e.id===t?`module-selected`:``,s.has(e.id)?`module-neighbor`:``,c.has(e.id)?`module-dependent`:``].filter(Boolean).join(` `);return`<g>
|
|
251
|
+
<circle cx="${n.x}" cy="${n.y}" r="34" class="${r}" data-component="${Et(e.id)}" tabindex="0" role="button" aria-label="Inspect ${Et(e.id)}" />
|
|
252
|
+
<text x="${n.x}" y="${n.y+4}" text-anchor="middle" class="module-label">${Et(e.id)}</text>
|
|
253
|
+
</g>`}).join(``)}
|
|
254
|
+
${a.map(e=>{let t=i.get(e);if(!t)return``;let n=[`module-node`,`component-external`,s.has(e)?`module-neighbor`:``].filter(Boolean).join(` `);return`<g>
|
|
255
|
+
<rect x="${t.x-42}" y="${t.y-20}" width="84" height="40" rx="10" class="${n}" />
|
|
256
|
+
<text x="${t.x}" y="${t.y+4}" text-anchor="middle" class="module-label">${Et(e)}</text>
|
|
257
|
+
</g>`}).join(``)}
|
|
258
|
+
</svg>`}function Nt(e){return e?e.diagnostics.length===0?`<p class="muted">No diagnostics issues.</p>`:`<div class="diagnostics-list">
|
|
259
|
+
${e.diagnostics.map(e=>{let t=e.dependsOn&&e.dependsOn.length>0?`<div class="chips">${e.dependsOn.map(e=>`<span class="chip">dependsOn: ${Et(e)}</span>`).join(``)}</div>`:``;return`<article class="card issue severity-${Et(e.severity)}">
|
|
260
|
+
<h3>${Et(e.code)}</h3>
|
|
261
|
+
<p><strong>severity:</strong> ${Et(e.severity)} · <strong>component:</strong> ${Et(e.componentId)}</p>
|
|
262
|
+
<p>${Et(e.message)}</p>
|
|
263
|
+
${e.cause?`<p><strong>cause:</strong> ${Et(e.cause)}</p>`:``}
|
|
264
|
+
${e.fixHint?`<p><strong>fix hint:</strong> ${Et(e.fixHint)}</p>`:``}
|
|
265
|
+
${e.docsUrl?Ot(e.docsUrl):``}
|
|
266
|
+
${t}
|
|
267
|
+
</article>`}).join(``)}
|
|
268
|
+
</div>`:`<p class="muted">No platform snapshot loaded.</p>`}var A=`/home/runner/work/fluo/fluo/packages/studio/src/widgets/static-report/ui/StaticReportPanel.tsx`;function Pt(e,t){if(!e)return(0,D.jsxDEV)(`p`,{className:`muted`,children:`No platform snapshot loaded.`},void 0,!1,{fileName:A,lineNumber:8,columnNumber:12},this);if(t)return(0,D.jsxDEV)(`div`,{className:`chips`,children:[(0,D.jsxDEV)(`span`,{className:`chip`,children:[`report components: `,t.componentCount]},void 0,!0,{fileName:A,lineNumber:12,columnNumber:9},this),(0,D.jsxDEV)(`span`,{className:`chip`,children:[`report diagnostics: `,t.diagnosticCount]},void 0,!0,{fileName:A,lineNumber:13,columnNumber:9},this),(0,D.jsxDEV)(`span`,{className:`chip`,children:[`report errors: `,t.errorCount]},void 0,!0,{fileName:A,lineNumber:14,columnNumber:9},this),(0,D.jsxDEV)(`span`,{className:`chip`,children:[`report warnings: `,t.warningCount]},void 0,!0,{fileName:A,lineNumber:15,columnNumber:9},this),(0,D.jsxDEV)(`span`,{className:`chip`,children:[`report health: `,t.healthStatus]},void 0,!0,{fileName:A,lineNumber:16,columnNumber:9},this),(0,D.jsxDEV)(`span`,{className:`chip`,children:[`report readiness: `,t.readinessStatus]},void 0,!0,{fileName:A,lineNumber:17,columnNumber:9},this),(0,D.jsxDEV)(`span`,{className:`chip`,children:[`report timing: `,t.timingTotalMs===void 0?`unavailable`:`${t.timingTotalMs.toFixed(3)}ms`]},void 0,!0,{fileName:A,lineNumber:18,columnNumber:9},this)]},void 0,!0,{fileName:A,lineNumber:11,columnNumber:12},this);let n=e.components.filter(e=>e.readiness.status===`ready`).length,r=e.components.filter(e=>e.readiness.status===`degraded`).length,i=e.components.filter(e=>e.readiness.status===`not-ready`).length;return(0,D.jsxDEV)(`div`,{className:`chips`,children:[(0,D.jsxDEV)(`span`,{className:`chip`,children:[`generatedAt: `,e.generatedAt]},void 0,!0,{fileName:A,lineNumber:25,columnNumber:7},this),(0,D.jsxDEV)(`span`,{className:`chip`,children:[`aggregate readiness: `,e.readiness.status]},void 0,!0,{fileName:A,lineNumber:26,columnNumber:7},this),(0,D.jsxDEV)(`span`,{className:`chip`,children:[`aggregate health: `,e.health.status]},void 0,!0,{fileName:A,lineNumber:27,columnNumber:7},this),(0,D.jsxDEV)(`span`,{className:`chip`,children:[`components: `,e.components.length]},void 0,!0,{fileName:A,lineNumber:28,columnNumber:7},this),(0,D.jsxDEV)(`span`,{className:`chip`,children:[`diagnostics: `,e.diagnostics.length]},void 0,!0,{fileName:A,lineNumber:29,columnNumber:7},this),(0,D.jsxDEV)(`span`,{className:`chip`,children:[`ready/degraded/not-ready: `,n,`/`,r,`/`,i]},void 0,!0,{fileName:A,lineNumber:30,columnNumber:7},this)]},void 0,!0,{fileName:A,lineNumber:24,columnNumber:10},this)}function Ft(e){return e?(0,D.jsxDEV)(D.Fragment,{children:[(0,D.jsxDEV)(`h3`,{children:e.id},void 0,!1,{fileName:A,lineNumber:38,columnNumber:7},this),(0,D.jsxDEV)(`p`,{className:`muted`,children:[`kind: `,(0,D.jsxDEV)(`strong`,{children:e.kind},void 0,!1,{fileName:A,lineNumber:39,columnNumber:34},this),` · state: `,(0,D.jsxDEV)(`strong`,{children:e.state},void 0,!1,{fileName:A,lineNumber:39,columnNumber:77},this)]},void 0,!0,{fileName:A,lineNumber:39,columnNumber:7},this),(0,D.jsxDEV)(`div`,{className:`chips`,children:[(0,D.jsxDEV)(`span`,{className:`chip`,children:[`readiness: `,e.readiness.status]},void 0,!0,{fileName:A,lineNumber:41,columnNumber:9},this),(0,D.jsxDEV)(`span`,{className:`chip`,children:[`critical: `,e.readiness.critical?`true`:`false`]},void 0,!0,{fileName:A,lineNumber:42,columnNumber:9},this),(0,D.jsxDEV)(`span`,{className:`chip`,children:[`health: `,e.health.status]},void 0,!0,{fileName:A,lineNumber:43,columnNumber:9},this),(0,D.jsxDEV)(`span`,{className:`chip`,children:[`ownership: owns=`,e.ownership.ownsResources?`true`:`false`,`/external=`,e.ownership.externallyManaged?`true`:`false`]},void 0,!0,{fileName:A,lineNumber:44,columnNumber:9},this),e.dependencies.length>0?e.dependencies.map(e=>(0,D.jsxDEV)(`span`,{className:`chip`,children:[`dependsOn: `,e]},e,!0,{fileName:A,lineNumber:45,columnNumber:82},this)):(0,D.jsxDEV)(`span`,{className:`chip`,children:`dependsOn: none`},void 0,!1,{fileName:A,lineNumber:45,columnNumber:146},this)]},void 0,!0,{fileName:A,lineNumber:40,columnNumber:7},this),(0,D.jsxDEV)(`p`,{className:`muted`,children:[`telemetry namespace: `,(0,D.jsxDEV)(`code`,{children:e.telemetry.namespace},void 0,!1,{fileName:A,lineNumber:47,columnNumber:49},this)]},void 0,!0,{fileName:A,lineNumber:47,columnNumber:7},this),(0,D.jsxDEV)(`h4`,{children:`Sanitized details`},void 0,!1,{fileName:A,lineNumber:48,columnNumber:7},this),(0,D.jsxDEV)(`pre`,{children:JSON.stringify(e.details,null,2)},void 0,!1,{fileName:A,lineNumber:49,columnNumber:7},this)]},void 0,!0,{fileName:A,lineNumber:37,columnNumber:10},this):(0,D.jsxDEV)(`p`,{className:`muted`,children:`No component selected.`},void 0,!1,{fileName:A,lineNumber:35,columnNumber:12},this)}function It({dispatch:e,selectedId:t,state:n}){let r=ke(n),i=At(Oe(n),t,r?.components);return i?(0,D.jsxDEV)(`div`,{children:[(0,D.jsxDEV)(`div`,{className:`connection-hero`,children:[(0,D.jsxDEV)(`div`,{children:[(0,D.jsxDEV)(`p`,{className:`eyebrow`,children:`Selected component`},void 0,!1,{fileName:A,lineNumber:65,columnNumber:11},this),(0,D.jsxDEV)(`h3`,{children:i.component.id},void 0,!1,{fileName:A,lineNumber:66,columnNumber:11},this),(0,D.jsxDEV)(`p`,{className:`muted`,children:[i.component.kind,` · state `,i.component.state]},void 0,!0,{fileName:A,lineNumber:67,columnNumber:11},this)]},void 0,!0,{fileName:A,lineNumber:64,columnNumber:9},this),(0,D.jsxDEV)(`div`,{className:`connection-metrics`,"aria-label":`Selected component connection counts`,children:[(0,D.jsxDEV)(`span`,{children:[(0,D.jsxDEV)(`strong`,{children:i.outgoing.length},void 0,!1,{fileName:A,lineNumber:70,columnNumber:17},this),` internal deps`]},void 0,!0,{fileName:A,lineNumber:70,columnNumber:11},this),(0,D.jsxDEV)(`span`,{children:[(0,D.jsxDEV)(`strong`,{children:i.externalDependencies.length},void 0,!1,{fileName:A,lineNumber:71,columnNumber:17},this),` external deps`]},void 0,!0,{fileName:A,lineNumber:71,columnNumber:11},this),(0,D.jsxDEV)(`span`,{children:[(0,D.jsxDEV)(`strong`,{children:i.incoming.length},void 0,!1,{fileName:A,lineNumber:72,columnNumber:17},this),` dependents`]},void 0,!0,{fileName:A,lineNumber:72,columnNumber:11},this),(0,D.jsxDEV)(`span`,{children:[(0,D.jsxDEV)(`strong`,{children:i.diagnostics.length},void 0,!1,{fileName:A,lineNumber:73,columnNumber:17},this),` diagnostics`]},void 0,!0,{fileName:A,lineNumber:73,columnNumber:11},this)]},void 0,!0,{fileName:A,lineNumber:69,columnNumber:9},this)]},void 0,!0,{fileName:A,lineNumber:63,columnNumber:7},this),(0,D.jsxDEV)(`div`,{className:`connection-grid`,children:[(0,D.jsxDEV)(`section`,{className:`connection-group`,children:[(0,D.jsxDEV)(`h4`,{children:`Outgoing dependencies`},void 0,!1,{fileName:A,lineNumber:78,columnNumber:11},this),i.outgoing.length>0?i.outgoing.map(t=>(0,D.jsxDEV)(`button`,{className:`connection-button`,"data-select-component":t.id,onClick:()=>e({componentId:t.id,type:`select-component`}),type:`button`,children:[(0,D.jsxDEV)(`span`,{children:t.id},void 0,!1,{fileName:A,lineNumber:83,columnNumber:19},this),(0,D.jsxDEV)(`small`,{children:[`dependency · `,t.kind,` · `,t.readiness.status]},void 0,!0,{fileName:A,lineNumber:84,columnNumber:19},this)]},t.id,!0,{fileName:A,lineNumber:79,columnNumber:76},this)):(0,D.jsxDEV)(`p`,{className:`muted`,children:`No internal dependencies.`},void 0,!1,{fileName:A,lineNumber:85,columnNumber:30},this)]},void 0,!0,{fileName:A,lineNumber:77,columnNumber:9},this),(0,D.jsxDEV)(`section`,{className:`connection-group`,children:[(0,D.jsxDEV)(`h4`,{children:`Incoming dependents`},void 0,!1,{fileName:A,lineNumber:88,columnNumber:11},this),i.incoming.length>0?i.incoming.map(t=>(0,D.jsxDEV)(`button`,{className:`connection-button`,"data-select-component":t.id,onClick:()=>e({componentId:t.id,type:`select-component`}),type:`button`,children:[(0,D.jsxDEV)(`span`,{children:t.id},void 0,!1,{fileName:A,lineNumber:93,columnNumber:19},this),(0,D.jsxDEV)(`small`,{children:[`dependent · `,t.kind,` · `,t.readiness.status]},void 0,!0,{fileName:A,lineNumber:94,columnNumber:19},this)]},t.id,!0,{fileName:A,lineNumber:89,columnNumber:76},this)):(0,D.jsxDEV)(`p`,{className:`muted`,children:`No incoming dependents.`},void 0,!1,{fileName:A,lineNumber:95,columnNumber:30},this)]},void 0,!0,{fileName:A,lineNumber:87,columnNumber:9},this),(0,D.jsxDEV)(`section`,{className:`connection-group`,children:[(0,D.jsxDEV)(`h4`,{children:`External dependencies`},void 0,!1,{fileName:A,lineNumber:98,columnNumber:11},this),i.externalDependencies.length>0?i.externalDependencies.map(e=>(0,D.jsxDEV)(`span`,{className:`connection-pill external-pill`,children:e},e,!1,{fileName:A,lineNumber:99,columnNumber:101},this)):(0,D.jsxDEV)(`p`,{className:`muted`,children:`No external dependencies.`},void 0,!1,{fileName:A,lineNumber:99,columnNumber:189},this)]},void 0,!0,{fileName:A,lineNumber:97,columnNumber:9},this),(0,D.jsxDEV)(`section`,{className:`connection-group`,children:[(0,D.jsxDEV)(`h4`,{children:`Related diagnostics`},void 0,!1,{fileName:A,lineNumber:102,columnNumber:11},this),i.diagnostics.length>0?i.diagnostics.map(e=>(0,D.jsxDEV)(`article`,{className:`connection-diagnostic severity-${e.severity}`,children:[(0,D.jsxDEV)(`strong`,{children:e.code},void 0,!1,{fileName:A,lineNumber:104,columnNumber:19},this),(0,D.jsxDEV)(`span`,{children:[e.severity,` · `,e.componentId]},void 0,!0,{fileName:A,lineNumber:105,columnNumber:19},this),(0,D.jsxDEV)(`p`,{children:e.message},void 0,!1,{fileName:A,lineNumber:106,columnNumber:19},this)]},e.code,!0,{fileName:A,lineNumber:103,columnNumber:78},this)):(0,D.jsxDEV)(`p`,{className:`muted`,children:`No diagnostics for this neighborhood.`},void 0,!1,{fileName:A,lineNumber:107,columnNumber:31},this)]},void 0,!0,{fileName:A,lineNumber:101,columnNumber:9},this)]},void 0,!0,{fileName:A,lineNumber:76,columnNumber:7},this)]},void 0,!0,{fileName:A,lineNumber:62,columnNumber:10},this):(0,D.jsxDEV)(`p`,{className:`muted`,children:`Load a platform snapshot to explore component connections.`},void 0,!1,{fileName:A,lineNumber:60,columnNumber:12},this)}function Lt({dispatch:e,state:t}){let n=Oe(t),r=ke(t),i=Tt(t),a=Pe(t),o=n?w(n):``,s=n&&n.components.length>0?Mt(n,a?.id,r?.components):`<p class="muted">No platform components loaded.</p>`;function c(t){let n=t.target;if(!(n instanceof SVGElement))return;let r=n.dataset.component;r&&(`key`in t&&t.key!==`Enter`&&t.key!==` `||(t.preventDefault(),e({componentId:r,type:`select-component`})))}return(0,D.jsxDEV)(D.Fragment,{children:[(0,D.jsxDEV)(`section`,{className:`card snapshot-summary-card`,children:[(0,D.jsxDEV)(`div`,{className:`section-title-row`,children:(0,D.jsxDEV)(`div`,{children:[(0,D.jsxDEV)(`p`,{className:`eyebrow`,children:`Static/report compatibility`},void 0,!1,{fileName:A,lineNumber:148,columnNumber:13},this),(0,D.jsxDEV)(`h2`,{children:i?.source===`report`?`Canonical report summary`:`Snapshot-derived report summary`},void 0,!1,{fileName:A,lineNumber:149,columnNumber:13},this)]},void 0,!0,{fileName:A,lineNumber:147,columnNumber:11},this)},void 0,!1,{fileName:A,lineNumber:146,columnNumber:9},this),Pt(n,i)]},void 0,!0,{fileName:A,lineNumber:145,columnNumber:7},this),(0,D.jsxDEV)(`section`,{className:`card graph-card`,children:[(0,D.jsxDEV)(`div`,{className:`section-title-row`,children:[(0,D.jsxDEV)(`div`,{children:[(0,D.jsxDEV)(`p`,{className:`eyebrow`,children:`Compatibility graph`},void 0,!1,{fileName:A,lineNumber:158,columnNumber:13},this),(0,D.jsxDEV)(`h2`,{children:`Platform dependency graph`},void 0,!1,{fileName:A,lineNumber:159,columnNumber:13},this)]},void 0,!0,{fileName:A,lineNumber:157,columnNumber:11},this),(0,D.jsxDEV)(`span`,{className:`mode-badge`,children:`static`},void 0,!1,{fileName:A,lineNumber:161,columnNumber:11},this)]},void 0,!0,{fileName:A,lineNumber:156,columnNumber:9},this),(0,D.jsxDEV)(`p`,{className:`muted`,children:`Component dependencies are rendered directly from the shared platform snapshot schema. Select a node to inspect its dependency neighborhood.`},void 0,!1,{fileName:A,lineNumber:163,columnNumber:9},this),(0,D.jsxDEV)(`div`,{dangerouslySetInnerHTML:{__html:s},id:`graph-host`,onClick:e=>c(e),onKeyDown:e=>c(e)},void 0,!1,{fileName:A,lineNumber:164,columnNumber:9},this)]},void 0,!0,{fileName:A,lineNumber:155,columnNumber:7},this),(0,D.jsxDEV)(`section`,{className:`card inspector-card`,children:[(0,D.jsxDEV)(`h2`,{children:`Connection explorer`},void 0,!1,{fileName:A,lineNumber:170,columnNumber:9},this),(0,D.jsxDEV)(`p`,{className:`muted`,children:`Studio owns snapshot inspection and rendering: use this panel to inspect incoming and outgoing component relationships without changing CLI export semantics.`},void 0,!1,{fileName:A,lineNumber:171,columnNumber:9},this),(0,D.jsxDEV)(It,{dispatch:e,selectedId:a?.id,state:t},void 0,!1,{fileName:A,lineNumber:172,columnNumber:9},this)]},void 0,!0,{fileName:A,lineNumber:169,columnNumber:7},this),(0,D.jsxDEV)(`section`,{className:`split-grid section-pair`,children:[(0,D.jsxDEV)(`div`,{className:`card`,id:`details-panel`,children:[(0,D.jsxDEV)(`h2`,{children:`Component details`},void 0,!1,{fileName:A,lineNumber:177,columnNumber:11},this),Ft(a)]},void 0,!0,{fileName:A,lineNumber:176,columnNumber:9},this),(0,D.jsxDEV)(`div`,{className:`card`,children:[(0,D.jsxDEV)(`h2`,{children:`Mermaid output`},void 0,!1,{fileName:A,lineNumber:181,columnNumber:11},this),(0,D.jsxDEV)(`pre`,{children:o||`No snapshot loaded.`},void 0,!1,{fileName:A,lineNumber:182,columnNumber:11},this)]},void 0,!0,{fileName:A,lineNumber:180,columnNumber:9},this)]},void 0,!0,{fileName:A,lineNumber:175,columnNumber:7},this),(0,D.jsxDEV)(`section`,{className:`card`,children:[(0,D.jsxDEV)(`h2`,{children:`Diagnostics issues`},void 0,!1,{fileName:A,lineNumber:187,columnNumber:9},this),(0,D.jsxDEV)(`p`,{className:`muted`,children:[`Fix hints and dependency chains are rendered from `,(0,D.jsxDEV)(`code`,{children:`diagnostics.fixHint`},void 0,!1,{fileName:A,lineNumber:188,columnNumber:80},this),` and `,(0,D.jsxDEV)(`code`,{children:`diagnostics.dependsOn`},void 0,!1,{fileName:A,lineNumber:188,columnNumber:117},this),`.`]},void 0,!0,{fileName:A,lineNumber:188,columnNumber:9},this),n?(0,D.jsxDEV)(`div`,{dangerouslySetInnerHTML:{__html:Nt(n)}},void 0,!1,{fileName:A,lineNumber:189,columnNumber:21},this):(0,D.jsxDEV)(ft,{action:`Load a Studio JSON artifact to inspect diagnostics.`,title:`No platform snapshot loaded.`},void 0,!1,{fileName:A,lineNumber:191,columnNumber:15},this)]},void 0,!0,{fileName:A,lineNumber:186,columnNumber:7},this)]},void 0,!0,{fileName:A,lineNumber:144,columnNumber:10},this)}var Rt=`/home/runner/work/fluo/fluo/packages/studio/src/widgets/timing/ui/TimingPanel.tsx`;function zt(e,t){return e>Math.max(50,t*.5)?`danger`:e>Math.max(20,t*.25)?`warning`:`muted`}function Bt({label:e,timing:t}){return t?(0,D.jsxDEV)(`div`,{children:[(0,D.jsxDEV)(`div`,{className:`timing-total`,children:[(0,D.jsxDEV)(`span`,{children:e},void 0,!1,{fileName:Rt,lineNumber:17,columnNumber:9},this),(0,D.jsxDEV)(`strong`,{children:[t.totalMs.toFixed(3),`ms`]},void 0,!0,{fileName:Rt,lineNumber:18,columnNumber:9},this)]},void 0,!0,{fileName:Rt,lineNumber:16,columnNumber:7},this),(0,D.jsxDEV)(`table`,{children:[(0,D.jsxDEV)(`thead`,{children:(0,D.jsxDEV)(`tr`,{children:[(0,D.jsxDEV)(`th`,{children:`phase`},void 0,!1,{fileName:Rt,lineNumber:22,columnNumber:15},this),(0,D.jsxDEV)(`th`,{children:`duration (ms)`},void 0,!1,{fileName:Rt,lineNumber:22,columnNumber:29},this),(0,D.jsxDEV)(`th`,{children:`slow-area label`},void 0,!1,{fileName:Rt,lineNumber:22,columnNumber:51},this)]},void 0,!0,{fileName:Rt,lineNumber:22,columnNumber:11},this)},void 0,!1,{fileName:Rt,lineNumber:21,columnNumber:9},this),(0,D.jsxDEV)(`tbody`,{children:t.phases.map(e=>(0,D.jsxDEV)(`tr`,{children:[(0,D.jsxDEV)(`td`,{children:e.name},void 0,!1,{fileName:Rt,lineNumber:26,columnNumber:15},this),(0,D.jsxDEV)(`td`,{children:e.durationMs.toFixed(3)},void 0,!1,{fileName:Rt,lineNumber:27,columnNumber:15},this),(0,D.jsxDEV)(`td`,{children:(0,D.jsxDEV)(`span`,{className:`status-pill status-pill-${zt(e.durationMs,t.totalMs)}`,children:zt(e.durationMs,t.totalMs)},void 0,!1,{fileName:Rt,lineNumber:28,columnNumber:19},this)},void 0,!1,{fileName:Rt,lineNumber:28,columnNumber:15},this)]},`${e.name}:${String(e.durationMs)}`,!0,{fileName:Rt,lineNumber:25,columnNumber:39},this))},void 0,!1,{fileName:Rt,lineNumber:24,columnNumber:9},this)]},void 0,!0,{fileName:Rt,lineNumber:20,columnNumber:7},this)]},void 0,!0,{fileName:Rt,lineNumber:15,columnNumber:10},this):(0,D.jsxDEV)(ft,{action:`Bootstrap timing appears after runtime snapshot or a timing JSON load.`,title:`No timing diagnostics yet.`},void 0,!1,{fileName:Rt,lineNumber:13,columnNumber:12},this)}function Vt({state:e}){return(0,D.jsxDEV)(`section`,{className:`card timing-card`,children:[(0,D.jsxDEV)(`div`,{className:`section-title-row`,children:(0,D.jsxDEV)(`div`,{children:[(0,D.jsxDEV)(`p`,{className:`eyebrow`,children:`Bootstrap timing`},void 0,!1,{fileName:Rt,lineNumber:44,columnNumber:11},this),(0,D.jsxDEV)(`h2`,{children:`Timing`},void 0,!1,{fileName:Rt,lineNumber:45,columnNumber:11},this)]},void 0,!0,{fileName:Rt,lineNumber:43,columnNumber:9},this)},void 0,!1,{fileName:Rt,lineNumber:42,columnNumber:7},this),(0,D.jsxDEV)(`div`,{className:`timing-grid`,children:[(0,D.jsxDEV)(Bt,{label:`Live bootstrap timing`,timing:T(e)},void 0,!1,{fileName:Rt,lineNumber:49,columnNumber:9},this),(0,D.jsxDEV)(Bt,{label:`Static/report timing`,timing:Ae(e)},void 0,!1,{fileName:Rt,lineNumber:50,columnNumber:9},this)]},void 0,!0,{fileName:Rt,lineNumber:48,columnNumber:7},this)]},void 0,!0,{fileName:Rt,lineNumber:41,columnNumber:10},this)}var Ht=`/home/runner/work/fluo/fluo/packages/studio/src/pages/studio/StudioPage.tsx`;function Ut(){let[e,t]=(0,l.useReducer)($e,De);return st(t),(0,D.jsxDEV)(`main`,{children:[(0,D.jsxDEV)(`header`,{className:`studio-hero`,children:[(0,D.jsxDEV)(`div`,{children:[(0,D.jsxDEV)(`p`,{className:`eyebrow`,children:`Fluo Studio`},void 0,!1,{fileName:Ht,lineNumber:24,columnNumber:11},this),(0,D.jsxDEV)(`h1`,{children:`Runtime-connected live devtool`},void 0,!1,{fileName:Ht,lineNumber:25,columnNumber:11},this),(0,D.jsxDEV)(`p`,{children:[`Inspect live module wiring, provider/controller ownership, HTTP routes, request flow, timings, and diagnostics from `,(0,D.jsxDEV)(`code`,{children:`fluo dev --studio`},void 0,!1,{fileName:Ht,lineNumber:26,columnNumber:130},this),`. Static JSON loading remains available as compatibility mode.`]},void 0,!0,{fileName:Ht,lineNumber:26,columnNumber:11},this)]},void 0,!0,{fileName:Ht,lineNumber:23,columnNumber:9},this),(0,D.jsxDEV)(`div`,{className:`hero-command`,children:(0,D.jsxDEV)(`code`,{children:`fluo dev --studio`},void 0,!1,{fileName:Ht,lineNumber:28,columnNumber:39},this)},void 0,!1,{fileName:Ht,lineNumber:28,columnNumber:9},this)]},void 0,!0,{fileName:Ht,lineNumber:22,columnNumber:7},this),(0,D.jsxDEV)(ut,{state:e},void 0,!1,{fileName:Ht,lineNumber:31,columnNumber:7},this),(0,D.jsxDEV)(Ge,{dispatch:t,state:e},void 0,!1,{fileName:Ht,lineNumber:33,columnNumber:7},this),(0,D.jsxDEV)(Lt,{dispatch:t,state:e},void 0,!1,{fileName:Ht,lineNumber:34,columnNumber:7},this),(0,D.jsxDEV)(Ye,{dispatch:t,filter:e.filter},void 0,!1,{fileName:Ht,lineNumber:35,columnNumber:7},this),(0,D.jsxDEV)(`div`,{className:`dashboard-grid`,children:[(0,D.jsxDEV)(vt,{dispatch:t,state:e},void 0,!1,{fileName:Ht,lineNumber:38,columnNumber:9},this),(0,D.jsxDEV)(wt,{dispatch:t,state:e},void 0,!1,{fileName:Ht,lineNumber:39,columnNumber:9},this),(0,D.jsxDEV)(bt,{dispatch:t,state:e},void 0,!1,{fileName:Ht,lineNumber:40,columnNumber:9},this),(0,D.jsxDEV)(Vt,{state:e},void 0,!1,{fileName:Ht,lineNumber:41,columnNumber:9},this),(0,D.jsxDEV)(mt,{state:e},void 0,!1,{fileName:Ht,lineNumber:42,columnNumber:9},this)]},void 0,!0,{fileName:Ht,lineNumber:37,columnNumber:7},this)]},void 0,!0,{fileName:Ht,lineNumber:21,columnNumber:10},this)}var Wt=`/home/runner/work/fluo/fluo/packages/studio/src/app/App.tsx`;function Gt(){return(0,D.jsxDEV)(Ut,{},void 0,!1,{fileName:Wt,lineNumber:7,columnNumber:10},this)}var Kt=`/home/runner/work/fluo/fluo/packages/studio/src/app/bootstrap.tsx`;function qt(){let e=document.querySelector(`#app`);if(!e)throw Error(`App root not found.`);let t=(0,d.createRoot)(e);return(0,u.flushSync)(()=>{t.render((0,D.jsxDEV)(Gt,{},void 0,!1,{fileName:Kt,lineNumber:17,columnNumber:17},this))}),t}qt();
|