@volter/world-platform 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/LICENSE +202 -0
- package/README.md +29 -0
- package/client/platform.css +228 -0
- package/client/platform.tsx +1049 -0
- package/client/reserved.ts +3 -0
- package/dist/client/platform.bundle.js +237 -0
- package/dist/client/platform.css +228 -0
- package/dist/client/platform.tsx +1049 -0
- package/dist/client/reserved.d.ts +1 -0
- package/dist/client/reserved.js +3 -0
- package/dist/client/reserved.ts +3 -0
- package/dist/src/audit.d.ts +24 -0
- package/dist/src/audit.js +23 -0
- package/dist/src/backup.d.ts +37 -0
- package/dist/src/backup.js +94 -0
- package/dist/src/biller.d.ts +59 -0
- package/dist/src/biller.js +1 -0
- package/dist/src/cli.d.ts +2 -0
- package/dist/src/cli.js +112 -0
- package/dist/src/db/migrations/0000_init.sql +143 -0
- package/dist/src/db/migrations/meta/0000_snapshot.json +877 -0
- package/dist/src/db/migrations/meta/_journal.json +13 -0
- package/dist/src/db/migrations.d.ts +4 -0
- package/dist/src/db/migrations.js +33 -0
- package/dist/src/db/open.d.ts +11 -0
- package/dist/src/db/open.js +114 -0
- package/dist/src/db/pack-migrations.d.ts +1 -0
- package/dist/src/db/pack-migrations.js +33 -0
- package/dist/src/db/schema.d.ts +1803 -0
- package/dist/src/db/schema.js +123 -0
- package/dist/src/directory.d.ts +75 -0
- package/dist/src/directory.js +199 -0
- package/dist/src/doors.d.ts +16 -0
- package/dist/src/doors.js +123 -0
- package/dist/src/identity.d.ts +88 -0
- package/dist/src/identity.js +314 -0
- package/dist/src/labs.d.ts +14 -0
- package/dist/src/labs.js +7 -0
- package/dist/src/mail.d.ts +16 -0
- package/dist/src/mail.js +27 -0
- package/dist/src/pages.d.ts +15 -0
- package/dist/src/pages.js +73 -0
- package/dist/src/platform.d.ts +77 -0
- package/dist/src/platform.js +1845 -0
- package/dist/src/sample.d.ts +11 -0
- package/dist/src/sample.js +93 -0
- package/dist/src/store.d.ts +110 -0
- package/dist/src/store.js +142 -0
- package/dist/src/tokens.d.ts +69 -0
- package/dist/src/tokens.js +96 -0
- package/dist/src/webhooks.d.ts +60 -0
- package/dist/src/webhooks.js +92 -0
- package/package.json +78 -0
- package/src/audit.ts +26 -0
- package/src/backup.ts +73 -0
- package/src/biller.ts +45 -0
- package/src/cli.ts +99 -0
- package/src/db/migrations/0000_init.sql +143 -0
- package/src/db/migrations/meta/0000_snapshot.json +877 -0
- package/src/db/migrations/meta/_journal.json +13 -0
- package/src/db/migrations.ts +33 -0
- package/src/db/open.ts +92 -0
- package/src/db/pack-migrations.ts +19 -0
- package/src/db/schema.ts +137 -0
- package/src/directory.ts +216 -0
- package/src/doors.ts +138 -0
- package/src/identity.ts +279 -0
- package/src/labs.ts +8 -0
- package/src/mail.ts +27 -0
- package/src/pages.ts +69 -0
- package/src/platform.ts +1183 -0
- package/src/sample.ts +84 -0
- package/src/store.ts +154 -0
- package/src/tokens.ts +94 -0
- package/src/webhooks.ts +85 -0
|
@@ -0,0 +1,237 @@
|
|
|
1
|
+
var BR=Object.create;var{getPrototypeOf:JR,defineProperty:tU,getOwnPropertyNames:QR}=Object;var GR=Object.prototype.hasOwnProperty;function UR(U){return this[U]}var qR,LR,J0=(U,L,O)=>{var N=U!=null&&typeof U==="object";if(N){var v=L?qR??=new WeakMap:LR??=new WeakMap,k=v.get(U);if(k)return k}O=U!=null?BR(JR(U)):{};let b=L||!U||!U.__esModule?tU(O,"default",{value:U,enumerable:!0}):O;for(let C of QR(U))if(!GR.call(b,C))tU(b,C,{get:UR.bind(U,C),enumerable:!0});if(N)v.set(U,b);return b};var z6=(U,L)=>()=>(L||U((L={exports:{}}).exports,L),L.exports);var Q8=z6((WR,KZ)=>{(function(){function U(q,T){Object.defineProperty(N.prototype,q,{get:function(){console.warn("%s(...) is deprecated in plain JavaScript React classes. %s",T[0],T[1])}})}function L(q){if(q===null||typeof q!=="object")return null;return q=t7&&q[t7]||q["@@iterator"],typeof q==="function"?q:null}function O(q,T){q=(q=q.constructor)&&(q.displayName||q.name)||"ReactClass";var l=q+"."+T;X1[l]||(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,q),X1[l]=!0)}function N(q,T,l){this.props=q,this.context=T,this.refs=K5,this.updater=l||$6}function v(){}function k(q,T,l){this.props=q,this.context=T,this.refs=K5,this.updater=l||$6}function b(){}function C(q){return""+q}function V(q){try{C(q);var T=!1}catch(Y1){T=!0}if(T){T=console;var l=T.error,t=typeof Symbol==="function"&&Symbol.toStringTag&&q[Symbol.toStringTag]||q.constructor.name||"Object";return l.call(T,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",t),C(q)}}function d(q){if(q==null)return null;if(typeof q==="function")return q.$$typeof===L8?null:q.displayName||q.name||null;if(typeof q==="string")return q;switch(q){case c1:return"Fragment";case _1:return"Profiler";case E:return"StrictMode";case J4:return"Suspense";case Q2:return"SuspenseList";case E4:return"Activity"}if(typeof q==="object")switch(typeof q.tag==="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),q.$$typeof){case d1:return"Portal";case p1:return q.displayName||"Context";case l1:return(q._context.displayName||"Context")+".Consumer";case n1:var T=q.render;return q=q.displayName,q||(q=T.displayName||T.name||"",q=q!==""?"ForwardRef("+q+")":"ForwardRef"),q;case U0:return T=q.displayName||null,T!==null?T:d(q.type)||"Memo";case k0:T=q._payload,q=q._init;try{return d(q(T))}catch(l){}}return null}function P(q){if(q===c1)return"<>";if(typeof q==="object"&&q!==null&&q.$$typeof===k0)return"<...>";try{var T=d(q);return T?"<"+T+">":"<...>"}catch(l){return"<...>"}}function _(){var q=N1.A;return q===null?null:q.getOwner()}function w(){return Error("react-stack-top-frame")}function f(q){if(Y6.call(q,"key")){var T=Object.getOwnPropertyDescriptor(q,"key").get;if(T&&T.isReactWarning)return!1}return q.key!==void 0}function D(q,T){function l(){e7||(e7=!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))}l.isReactWarning=!0,Object.defineProperty(q,"key",{get:l,configurable:!0})}function m(){var q=d(this.type);return G3[q]||(G3[q]=!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.")),q=this.props.ref,q!==void 0?q:null}function n(q,T,l,t,Y1,F1){var A1=l.ref;return q={$$typeof:G1,type:q,key:T,props:l,_owner:t},(A1!==void 0?A1:null)!==null?Object.defineProperty(q,"ref",{enumerable:!1,get:m}):Object.defineProperty(q,"ref",{enumerable:!1,value:null}),q._store={},Object.defineProperty(q._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(q,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(q,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:Y1}),Object.defineProperty(q,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:F1}),Object.freeze&&(Object.freeze(q.props),Object.freeze(q)),q}function p(q,T){return T=n(q.type,T,q.props,q._owner,q._debugStack,q._debugTask),q._store&&(T._store.validated=q._store.validated),T}function r(q){$1(q)?q._store&&(q._store.validated=1):typeof q==="object"&&q!==null&&q.$$typeof===k0&&(q._payload.status==="fulfilled"?$1(q._payload.value)&&q._payload.value._store&&(q._payload.value._store.validated=1):q._store&&(q._store.validated=1))}function $1(q){return typeof q==="object"&&q!==null&&q.$$typeof===G1}function I1(q){var T={"=":"=0",":":"=2"};return"$"+q.replace(/[=:]/g,function(l){return T[l]})}function R1(q,T){return typeof q==="object"&&q!==null&&q.key!=null?(V(q.key),I1(""+q.key)):T.toString(36)}function o(q){switch(q.status){case"fulfilled":return q.value;case"rejected":throw q.reason;default:switch(typeof q.status==="string"?q.then(b,b):(q.status="pending",q.then(function(T){q.status==="pending"&&(q.status="fulfilled",q.value=T)},function(T){q.status==="pending"&&(q.status="rejected",q.reason=T)})),q.status){case"fulfilled":return q.value;case"rejected":throw q.reason}}throw q}function a(q,T,l,t,Y1){var F1=typeof q;if(F1==="undefined"||F1==="boolean")q=null;var A1=!1;if(q===null)A1=!0;else switch(F1){case"bigint":case"string":case"number":A1=!0;break;case"object":switch(q.$$typeof){case G1:case d1:A1=!0;break;case k0:return A1=q._init,a(A1(q._payload),T,l,t,Y1)}}if(A1){A1=q,Y1=Y1(A1);var D1=t===""?"."+R1(A1,0):t;return s1(Y1)?(l="",D1!=null&&(l=D1.replace(B6,"$&/")+"/"),a(Y1,T,l,"",function(u2){return u2})):Y1!=null&&($1(Y1)&&(Y1.key!=null&&(A1&&A1.key===Y1.key||V(Y1.key)),l=p(Y1,l+(Y1.key==null||A1&&A1.key===Y1.key?"":(""+Y1.key).replace(B6,"$&/")+"/")+D1),t!==""&&A1!=null&&$1(A1)&&A1.key==null&&A1._store&&!A1._store.validated&&(l._store.validated=2),Y1=l),T.push(Y1)),1}if(A1=0,D1=t===""?".":t+":",s1(q))for(var J1=0;J1<q.length;J1++)t=q[J1],F1=D1+R1(t,J1),A1+=a(t,T,l,F1,Y1);else if(J1=L(q),typeof J1==="function")for(J1===q.entries&&(M6||console.warn("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),M6=!0),q=J1.call(q),J1=0;!(t=q.next()).done;)t=t.value,F1=D1+R1(t,J1++),A1+=a(t,T,l,F1,Y1);else if(F1==="object"){if(typeof q.then==="function")return a(o(q),T,l,t,Y1);throw T=String(q),Error("Objects are not valid as a React child (found: "+(T==="[object Object]"?"object with keys {"+Object.keys(q).join(", ")+"}":T)+"). If you meant to render a collection of children, use an array instead.")}return A1}function x(q,T,l){if(q==null)return q;var t=[],Y1=0;return a(q,t,"","",function(F1){return T.call(l,F1,Y1++)}),t}function i(q){if(q._status===-1){var T=q._ioInfo;T!=null&&(T.start=T.end=performance.now()),T=q._result;var l=T();if(l.then(function(Y1){if(q._status===0||q._status===-1){q._status=1,q._result=Y1;var F1=q._ioInfo;F1!=null&&(F1.end=performance.now()),l.status===void 0&&(l.status="fulfilled",l.value=Y1)}},function(Y1){if(q._status===0||q._status===-1){q._status=2,q._result=Y1;var F1=q._ioInfo;F1!=null&&(F1.end=performance.now()),l.status===void 0&&(l.status="rejected",l.reason=Y1)}}),T=q._ioInfo,T!=null){T.value=l;var t=l.displayName;typeof t==="string"&&(T.name=t)}q._status===-1&&(q._status=0,q._result=l)}if(q._status===1)return T=q._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 q._result}function h(){var q=N1.H;return q===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.`),q}function w1(){N1.asyncTransitions--}function P1(q){if(q3===null)try{var T=("require"+Math.random()).slice(0,7);q3=(KZ&&KZ[T]).call(KZ,"timers").setImmediate}catch(l){q3=function(t){z9===!1&&(z9=!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 Y1=new MessageChannel;Y1.port1.onmessage=t,Y1.port2.postMessage(void 0)}}return q3(q)}function f1(q){return 1<q.length&&typeof AggregateError==="function"?AggregateError(q):q[0]}function h2(q,T){T!==L3-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. "),L3=T}function z1(q,T,l){var t=N1.actQueue;if(t!==null)if(t.length!==0)try{q1(t),P1(function(){return z1(q,T,l)});return}catch(Y1){N1.thrownErrors.push(Y1)}else N1.actQueue=null;0<N1.thrownErrors.length?(t=f1(N1.thrownErrors),N1.thrownErrors.length=0,l(t)):T(q)}function q1(q){if(!K3){K3=!0;var T=0;try{for(;T<q.length;T++){var l=q[T];do{N1.didUsePromise=!1;var t=l(!1);if(t!==null){if(N1.didUsePromise){q[T]=l,q.splice(0,T);return}l=t}else break}while(1)}q.length=0}catch(Y1){q.splice(0,T+1),N1.thrownErrors.push(Y1)}finally{K3=!1}}}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var G1=Symbol.for("react.transitional.element"),d1=Symbol.for("react.portal"),c1=Symbol.for("react.fragment"),E=Symbol.for("react.strict_mode"),_1=Symbol.for("react.profiler"),l1=Symbol.for("react.consumer"),p1=Symbol.for("react.context"),n1=Symbol.for("react.forward_ref"),J4=Symbol.for("react.suspense"),Q2=Symbol.for("react.suspense_list"),U0=Symbol.for("react.memo"),k0=Symbol.for("react.lazy"),E4=Symbol.for("react.activity"),t7=Symbol.iterator,X1={},$6={isMounted:function(){return!1},enqueueForceUpdate:function(q){O(q,"forceUpdate")},enqueueReplaceState:function(q){O(q,"replaceState")},enqueueSetState:function(q){O(q,"setState")}},Q3=Object.assign,K5={};Object.freeze(K5),N.prototype.isReactComponent={},N.prototype.setState=function(q,T){if(typeof q!=="object"&&typeof q!=="function"&&q!=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,q,T,"setState")},N.prototype.forceUpdate=function(q){this.updater.enqueueForceUpdate(this,q,"forceUpdate")};var S2={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(_5 in S2)S2.hasOwnProperty(_5)&&U(_5,S2[_5]);v.prototype=N.prototype,S2=k.prototype=new v,S2.constructor=k,Q3(S2,N.prototype),S2.isPureReactComponent=!0;var s1=Array.isArray,L8=Symbol.for("react.client.reference"),N1={H:null,A:null,T:null,S:null,actQueue:null,asyncTransitions:0,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1,didUsePromise:!1,thrownErrors:[],getCurrentStack:null,recentlyCreatedOwnerStacks:0},Y6=Object.prototype.hasOwnProperty,e1=console.createTask?console.createTask:function(){return null};S2={react_stack_bottom_frame:function(q){return q()}};var e7,Q4,G3={},U3=S2.react_stack_bottom_frame.bind(S2,w)(),OZ=e1(P(w)),M6=!1,B6=/\/+/g,R5=typeof reportError==="function"?reportError:function(q){if(typeof window==="object"&&typeof window.ErrorEvent==="function"){var T=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof q==="object"&&q!==null&&typeof q.message==="string"?String(q.message):String(q),error:q});if(!window.dispatchEvent(T))return}else if(typeof process==="object"&&typeof process.emit==="function"){process.emit("uncaughtException",q);return}console.error(q)},z9=!1,q3=null,L3=0,W3=!1,K3=!1,W8=typeof queueMicrotask==="function"?function(q){queueMicrotask(function(){return queueMicrotask(q)})}:P1;S2=Object.freeze({__proto__:null,c:function(q){return h().useMemoCache(q)}});var _5={map:x,forEach:function(q,T,l){x(q,function(){T.apply(this,arguments)},l)},count:function(q){var T=0;return x(q,function(){T++}),T},toArray:function(q){return x(q,function(T){return T})||[]},only:function(q){if(!$1(q))throw Error("React.Children.only expected to receive a single React element child.");return q}};WR.Activity=E4,WR.Children=_5,WR.Component=N,WR.Fragment=c1,WR.Profiler=_1,WR.PureComponent=k,WR.StrictMode=E,WR.Suspense=J4,WR.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=N1,WR.__COMPILER_RUNTIME=S2,WR.act=function(q){var T=N1.actQueue,l=L3;L3++;var t=N1.actQueue=T!==null?T:[],Y1=!1;try{var F1=q()}catch(J1){N1.thrownErrors.push(J1)}if(0<N1.thrownErrors.length)throw h2(T,l),q=f1(N1.thrownErrors),N1.thrownErrors.length=0,q;if(F1!==null&&typeof F1==="object"&&typeof F1.then==="function"){var A1=F1;return W8(function(){Y1||W3||(W3=!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(J1,u2){Y1=!0,A1.then(function(q0){if(h2(T,l),l===0){try{q1(t),P1(function(){return z1(q0,J1,u2)})}catch(K8){N1.thrownErrors.push(K8)}if(0<N1.thrownErrors.length){var F5=f1(N1.thrownErrors);N1.thrownErrors.length=0,u2(F5)}}else J1(q0)},function(q0){h2(T,l),0<N1.thrownErrors.length?(q0=f1(N1.thrownErrors),N1.thrownErrors.length=0,u2(q0)):u2(q0)})}}}var D1=F1;if(h2(T,l),l===0&&(q1(t),t.length!==0&&W8(function(){Y1||W3||(W3=!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(() => ...)"))}),N1.actQueue=null),0<N1.thrownErrors.length)throw q=f1(N1.thrownErrors),N1.thrownErrors.length=0,q;return{then:function(J1,u2){Y1=!0,l===0?(N1.actQueue=t,P1(function(){return z1(D1,J1,u2)})):J1(D1)}}},WR.cache=function(q){return function(){return q.apply(null,arguments)}},WR.cacheSignal=function(){return null},WR.captureOwnerStack=function(){var q=N1.getCurrentStack;return q===null?null:q()},WR.cloneElement=function(q,T,l){if(q===null||q===void 0)throw Error("The argument must be a React element, but you passed "+q+".");var t=Q3({},q.props),Y1=q.key,F1=q._owner;if(T!=null){var A1;z:{if(Y6.call(T,"ref")&&(A1=Object.getOwnPropertyDescriptor(T,"ref").get)&&A1.isReactWarning){A1=!1;break z}A1=T.ref!==void 0}A1&&(F1=_()),f(T)&&(V(T.key),Y1=""+T.key);for(D1 in T)!Y6.call(T,D1)||D1==="key"||D1==="__self"||D1==="__source"||D1==="ref"&&T.ref===void 0||(t[D1]=T[D1])}var D1=arguments.length-2;if(D1===1)t.children=l;else if(1<D1){A1=Array(D1);for(var J1=0;J1<D1;J1++)A1[J1]=arguments[J1+2];t.children=A1}t=n(q.type,Y1,t,F1,q._debugStack,q._debugTask);for(Y1=2;Y1<arguments.length;Y1++)r(arguments[Y1]);return t},WR.createContext=function(q){return q={$$typeof:p1,_currentValue:q,_currentValue2:q,_threadCount:0,Provider:null,Consumer:null},q.Provider=q,q.Consumer={$$typeof:l1,_context:q},q._currentRenderer=null,q._currentRenderer2=null,q},WR.createElement=function(q,T,l){for(var t=2;t<arguments.length;t++)r(arguments[t]);t={};var Y1=null;if(T!=null)for(J1 in Q4||!("__self"in T)||"key"in T||(Q4=!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")),f(T)&&(V(T.key),Y1=""+T.key),T)Y6.call(T,J1)&&J1!=="key"&&J1!=="__self"&&J1!=="__source"&&(t[J1]=T[J1]);var F1=arguments.length-2;if(F1===1)t.children=l;else if(1<F1){for(var A1=Array(F1),D1=0;D1<F1;D1++)A1[D1]=arguments[D1+2];Object.freeze&&Object.freeze(A1),t.children=A1}if(q&&q.defaultProps)for(J1 in F1=q.defaultProps,F1)t[J1]===void 0&&(t[J1]=F1[J1]);Y1&&D(t,typeof q==="function"?q.displayName||q.name||"Unknown":q);var J1=1e4>N1.recentlyCreatedOwnerStacks++;return n(q,Y1,t,_(),J1?Error("react-stack-top-frame"):U3,J1?e1(P(q)):OZ)},WR.createRef=function(){var q={current:null};return Object.seal(q),q},WR.forwardRef=function(q){q!=null&&q.$$typeof===U0?console.error("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):typeof q!=="function"?console.error("forwardRef requires a render function but was given %s.",q===null?"null":typeof q):q.length!==0&&q.length!==2&&console.error("forwardRef render functions accept exactly two parameters: props and ref. %s",q.length===1?"Did you forget to use the ref parameter?":"Any additional parameter will be undefined."),q!=null&&q.defaultProps!=null&&console.error("forwardRef render functions do not support defaultProps. Did you accidentally pass a React component?");var T={$$typeof:n1,render:q},l;return Object.defineProperty(T,"displayName",{enumerable:!1,configurable:!0,get:function(){return l},set:function(t){l=t,q.name||q.displayName||(Object.defineProperty(q,"name",{value:t}),q.displayName=t)}}),T},WR.isValidElement=$1,WR.lazy=function(q){q={_status:-1,_result:q};var T={$$typeof:k0,_payload:q,_init:i},l={name:"lazy",start:-1,end:-1,value:null,owner:null,debugStack:Error("react-stack-top-frame"),debugTask:console.createTask?console.createTask("lazy()"):null};return q._ioInfo=l,T._debugInfo=[{awaited:l}],T},WR.memo=function(q,T){q==null&&console.error("memo: The first argument must be a component. Instead received: %s",q===null?"null":typeof q),T={$$typeof:U0,type:q,compare:T===void 0?null:T};var l;return Object.defineProperty(T,"displayName",{enumerable:!1,configurable:!0,get:function(){return l},set:function(t){l=t,q.name||q.displayName||(Object.defineProperty(q,"name",{value:t}),q.displayName=t)}}),T},WR.startTransition=function(q){var T=N1.T,l={};l._updatedFibers=new Set,N1.T=l;try{var t=q(),Y1=N1.S;Y1!==null&&Y1(l,t),typeof t==="object"&&t!==null&&typeof t.then==="function"&&(N1.asyncTransitions++,t.then(w1,w1),t.then(b,R5))}catch(F1){R5(F1)}finally{T===null&&l._updatedFibers&&(q=l._updatedFibers.size,l._updatedFibers.clear(),10<q&&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&&l.types!==null&&(T.types!==null&&T.types!==l.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=l.types),N1.T=T}},WR.unstable_useCacheRefresh=function(){return h().useCacheRefresh()},WR.use=function(q){return h().use(q)},WR.useActionState=function(q,T,l){return h().useActionState(q,T,l)},WR.useCallback=function(q,T){return h().useCallback(q,T)},WR.useContext=function(q){var T=h();return q.$$typeof===l1&&console.error("Calling useContext(Context.Consumer) is not supported and will cause bugs. Did you mean to call useContext(Context) instead?"),T.useContext(q)},WR.useDebugValue=function(q,T){return h().useDebugValue(q,T)},WR.useDeferredValue=function(q,T){return h().useDeferredValue(q,T)},WR.useEffect=function(q,T){return q==null&&console.warn("React Hook useEffect requires an effect callback. Did you forget to pass a callback to the hook?"),h().useEffect(q,T)},WR.useEffectEvent=function(q){return h().useEffectEvent(q)},WR.useId=function(){return h().useId()},WR.useImperativeHandle=function(q,T,l){return h().useImperativeHandle(q,T,l)},WR.useInsertionEffect=function(q,T){return q==null&&console.warn("React Hook useInsertionEffect requires an effect callback. Did you forget to pass a callback to the hook?"),h().useInsertionEffect(q,T)},WR.useLayoutEffect=function(q,T){return q==null&&console.warn("React Hook useLayoutEffect requires an effect callback. Did you forget to pass a callback to the hook?"),h().useLayoutEffect(q,T)},WR.useMemo=function(q,T){return h().useMemo(q,T)},WR.useOptimistic=function(q,T){return h().useOptimistic(q,T)},WR.useReducer=function(q,T,l){return h().useReducer(q,T,l)},WR.useRef=function(q){return h().useRef(q)},WR.useState=function(q){return h().useState(q)},WR.useSyncExternalStore=function(q,T,l){return h().useSyncExternalStore(q,T,l)},WR.useTransition=function(){return h().useTransition()},WR.version="19.2.7",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()});var eU=z6((KR)=>{(function(){function U(){if(I1=!1,x){var z1=KR.unstable_now();w1=z1;var q1=!0;try{z:{r=!1,$1&&($1=!1,o(i),i=-1),p=!0;var G1=n;try{Z:{k(z1);for(m=O(w);m!==null&&!(m.expirationTime>z1&&C());){var d1=m.callback;if(typeof d1==="function"){m.callback=null,n=m.priorityLevel;var c1=d1(m.expirationTime<=z1);if(z1=KR.unstable_now(),typeof c1==="function"){m.callback=c1,k(z1),q1=!0;break Z}m===O(w)&&N(w),k(z1)}else N(w);m=O(w)}if(m!==null)q1=!0;else{var E=O(f);E!==null&&V(b,E.startTime-z1),q1=!1}}break z}finally{m=null,n=G1,p=!1}q1=void 0}}finally{q1?P1():x=!1}}}function L(z1,q1){var G1=z1.length;z1.push(q1);z:for(;0<G1;){var d1=G1-1>>>1,c1=z1[d1];if(0<v(c1,q1))z1[d1]=q1,z1[G1]=c1,G1=d1;else break z}}function O(z1){return z1.length===0?null:z1[0]}function N(z1){if(z1.length===0)return null;var q1=z1[0],G1=z1.pop();if(G1!==q1){z1[0]=G1;z:for(var d1=0,c1=z1.length,E=c1>>>1;d1<E;){var _1=2*(d1+1)-1,l1=z1[_1],p1=_1+1,n1=z1[p1];if(0>v(l1,G1))p1<c1&&0>v(n1,l1)?(z1[d1]=n1,z1[p1]=G1,d1=p1):(z1[d1]=l1,z1[_1]=G1,d1=_1);else if(p1<c1&&0>v(n1,G1))z1[d1]=n1,z1[p1]=G1,d1=p1;else break z}}return q1}function v(z1,q1){var G1=z1.sortIndex-q1.sortIndex;return G1!==0?G1:z1.id-q1.id}function k(z1){for(var q1=O(f);q1!==null;){if(q1.callback===null)N(f);else if(q1.startTime<=z1)N(f),q1.sortIndex=q1.expirationTime,L(w,q1);else break;q1=O(f)}}function b(z1){if($1=!1,k(z1),!r)if(O(w)!==null)r=!0,x||(x=!0,P1());else{var q1=O(f);q1!==null&&V(b,q1.startTime-z1)}}function C(){return I1?!0:KR.unstable_now()-w1<h?!1:!0}function V(z1,q1){i=R1(function(){z1(KR.unstable_now())},q1)}if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error()),KR.unstable_now=void 0,typeof performance==="object"&&typeof performance.now==="function"){var d=performance;KR.unstable_now=function(){return d.now()}}else{var P=Date,_=P.now();KR.unstable_now=function(){return P.now()-_}}var w=[],f=[],D=1,m=null,n=3,p=!1,r=!1,$1=!1,I1=!1,R1=typeof setTimeout==="function"?setTimeout:null,o=typeof clearTimeout==="function"?clearTimeout:null,a=typeof setImmediate<"u"?setImmediate:null,x=!1,i=-1,h=5,w1=-1;if(typeof a==="function")var P1=function(){a(U)};else if(typeof MessageChannel<"u"){var f1=new MessageChannel,h2=f1.port2;f1.port1.onmessage=U,P1=function(){h2.postMessage(null)}}else P1=function(){R1(U,0)};KR.unstable_IdlePriority=5,KR.unstable_ImmediatePriority=1,KR.unstable_LowPriority=4,KR.unstable_NormalPriority=3,KR.unstable_Profiling=null,KR.unstable_UserBlockingPriority=2,KR.unstable_cancelCallback=function(z1){z1.callback=null},KR.unstable_forceFrameRate=function(z1){0>z1||125<z1?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):h=0<z1?Math.floor(1000/z1):5},KR.unstable_getCurrentPriorityLevel=function(){return n},KR.unstable_next=function(z1){switch(n){case 1:case 2:case 3:var q1=3;break;default:q1=n}var G1=n;n=q1;try{return z1()}finally{n=G1}},KR.unstable_requestPaint=function(){I1=!0},KR.unstable_runWithPriority=function(z1,q1){switch(z1){case 1:case 2:case 3:case 4:case 5:break;default:z1=3}var G1=n;n=z1;try{return q1()}finally{n=G1}},KR.unstable_scheduleCallback=function(z1,q1,G1){var d1=KR.unstable_now();switch(typeof G1==="object"&&G1!==null?(G1=G1.delay,G1=typeof G1==="number"&&0<G1?d1+G1:d1):G1=d1,z1){case 1:var c1=-1;break;case 2:c1=250;break;case 5:c1=1073741823;break;case 4:c1=1e4;break;default:c1=5000}return c1=G1+c1,z1={id:D++,callback:q1,priorityLevel:z1,startTime:G1,expirationTime:c1,sortIndex:-1},G1>d1?(z1.sortIndex=G1,L(f,z1),O(w)===null&&z1===O(f)&&($1?(o(i),i=-1):$1=!0,V(b,G1-d1))):(z1.sortIndex=c1,L(w,z1),r||p||(r=!0,x||(x=!0,P1()))),z1},KR.unstable_shouldYield=C,KR.unstable_wrapCallback=function(z1){var q1=n;return function(){var G1=n;n=q1;try{return z1.apply(this,arguments)}finally{n=G1}}},typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()});var zq=z6((RR)=>{var XY=J0(Q8());(function(){function U(){}function L(P){return""+P}function O(P,_,w){var f=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;try{L(f);var D=!1}catch(m){D=!0}return D&&(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&&f[Symbol.toStringTag]||f.constructor.name||"Object"),L(f)),{$$typeof:V,key:f==null?null:""+f,children:P,containerInfo:_,implementation:w}}function N(P,_){if(P==="font")return"";if(typeof _==="string")return _==="use-credentials"?_:""}function v(P){return P===null?"`null`":P===void 0?"`undefined`":P===""?"an empty string":'something with type "'+typeof P+'"'}function k(P){return P===null?"`null`":P===void 0?"`undefined`":P===""?"an empty string":typeof P==="string"?JSON.stringify(P):typeof P==="number"?"`"+P+"`":'something with type "'+typeof P+'"'}function b(){var P=d.H;return P===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.`),P}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var C={d:{f:U,r:function(){throw Error("Invalid form element. requestFormReset must be passed a form that was rendered by React.")},D:U,C:U,L:U,m:U,X:U,S:U,M:U},p:0,findDOMNode:null},V=Symbol.for("react.portal"),d=XY.__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"),RR.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=C,RR.createPortal=function(P,_){var w=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!_||_.nodeType!==1&&_.nodeType!==9&&_.nodeType!==11)throw Error("Target container is not a DOM element.");return O(P,_,null,w)},RR.flushSync=function(P){var _=d.T,w=C.p;try{if(d.T=null,C.p=2,P)return P()}finally{d.T=_,C.p=w,C.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.")}},RR.preconnect=function(P,_){typeof P==="string"&&P?_!=null&&typeof _!=="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.",k(_)):_!=null&&typeof _.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.",v(_.crossOrigin)):console.error("ReactDOM.preconnect(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",v(P)),typeof P==="string"&&(_?(_=_.crossOrigin,_=typeof _==="string"?_==="use-credentials"?_:"":void 0):_=null,C.d.C(P,_))},RR.prefetchDNS=function(P){if(typeof P!=="string"||!P)console.error("ReactDOM.prefetchDNS(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",v(P));else if(1<arguments.length){var _=arguments[1];typeof _==="object"&&_.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`.",k(_)):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`.",k(_))}typeof P==="string"&&C.d.D(P)},RR.preinit=function(P,_){if(typeof P==="string"&&P?_==null||typeof _!=="object"?console.error("ReactDOM.preinit(): Expected the `options` argument (second) to be an object with an `as` property describing the type of resource to be preinitialized but encountered %s instead.",k(_)):_.as!=="style"&&_.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".',k(_.as)):console.error("ReactDOM.preinit(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",v(P)),typeof P==="string"&&_&&typeof _.as==="string"){var w=_.as,f=N(w,_.crossOrigin),D=typeof _.integrity==="string"?_.integrity:void 0,m=typeof _.fetchPriority==="string"?_.fetchPriority:void 0;w==="style"?C.d.S(P,typeof _.precedence==="string"?_.precedence:void 0,{crossOrigin:f,integrity:D,fetchPriority:m}):w==="script"&&C.d.X(P,{crossOrigin:f,integrity:D,fetchPriority:m,nonce:typeof _.nonce==="string"?_.nonce:void 0})}},RR.preinitModule=function(P,_){var w="";if(typeof P==="string"&&P||(w+=" The `href` argument encountered was "+v(P)+"."),_!==void 0&&typeof _!=="object"?w+=" The `options` argument encountered was "+v(_)+".":_&&("as"in _)&&_.as!=="script"&&(w+=" The `as` option encountered was "+k(_.as)+"."),w)console.error("ReactDOM.preinitModule(): Expected up to two arguments, a non-empty `href` string and, optionally, an `options` object with a valid `as` property.%s",w);else switch(w=_&&typeof _.as==="string"?_.as:"script",w){case"script":break;default:w=k(w),console.error('ReactDOM.preinitModule(): Currently the only supported "as" type for this function is "script" but received "%s" instead. This warning was generated for `href` "%s". In the future other module types will be supported, aligning with the import-attributes proposal. Learn more here: (https://github.com/tc39/proposal-import-attributes)',w,P)}if(typeof P==="string")if(typeof _==="object"&&_!==null){if(_.as==null||_.as==="script")w=N(_.as,_.crossOrigin),C.d.M(P,{crossOrigin:w,integrity:typeof _.integrity==="string"?_.integrity:void 0,nonce:typeof _.nonce==="string"?_.nonce:void 0})}else _==null&&C.d.M(P)},RR.preload=function(P,_){var w="";if(typeof P==="string"&&P||(w+=" The `href` argument encountered was "+v(P)+"."),_==null||typeof _!=="object"?w+=" The `options` argument encountered was "+v(_)+".":typeof _.as==="string"&&_.as||(w+=" The `as` option encountered was "+v(_.as)+"."),w&&console.error('ReactDOM.preload(): Expected two arguments, a non-empty `href` string and an `options` object with an `as` property valid for a `<link rel="preload" as="..." />` tag.%s',w),typeof P==="string"&&typeof _==="object"&&_!==null&&typeof _.as==="string"){w=_.as;var f=N(w,_.crossOrigin);C.d.L(P,w,{crossOrigin:f,integrity:typeof _.integrity==="string"?_.integrity:void 0,nonce:typeof _.nonce==="string"?_.nonce:void 0,type:typeof _.type==="string"?_.type:void 0,fetchPriority:typeof _.fetchPriority==="string"?_.fetchPriority:void 0,referrerPolicy:typeof _.referrerPolicy==="string"?_.referrerPolicy:void 0,imageSrcSet:typeof _.imageSrcSet==="string"?_.imageSrcSet:void 0,imageSizes:typeof _.imageSizes==="string"?_.imageSizes:void 0,media:typeof _.media==="string"?_.media:void 0})}},RR.preloadModule=function(P,_){var w="";typeof P==="string"&&P||(w+=" The `href` argument encountered was "+v(P)+"."),_!==void 0&&typeof _!=="object"?w+=" The `options` argument encountered was "+v(_)+".":_&&("as"in _)&&typeof _.as!=="string"&&(w+=" The `as` option encountered was "+v(_.as)+"."),w&&console.error('ReactDOM.preloadModule(): Expected two arguments, a non-empty `href` string and, optionally, an `options` object with an `as` property valid for a `<link rel="modulepreload" as="..." />` tag.%s',w),typeof P==="string"&&(_?(w=N(_.as,_.crossOrigin),C.d.m(P,{as:typeof _.as==="string"&&_.as!=="script"?_.as:void 0,crossOrigin:w,integrity:typeof _.integrity==="string"?_.integrity:void 0})):C.d.m(P))},RR.requestFormReset=function(P){C.d.r(P)},RR.unstable_batchedUpdates=function(P,_){return P(_)},RR.useFormState=function(P,_,w){return b().useFormState(P,_,w)},RR.useFormStatus=function(){return b().useHostTransitionStatus()},RR.version="19.2.7",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()});var Xq=z6((OF,Zq)=>{var _R=J0(zq());Zq.exports=_R});var Hq=z6((FR)=>{var E1=J0(eU()),G8=J0(Q8()),HY=J0(Xq());(function(){function U(z,Z){for(z=z.memoizedState;z!==null&&0<Z;)z=z.next,Z--;return z}function L(z,Z,X,H){if(X>=Z.length)return H;var $=Z[X],Y=C2(z)?z.slice():b1({},z);return Y[$]=L(z[$],Z,X+1,H),Y}function O(z,Z,X){if(Z.length!==X.length)console.warn("copyWithRename() expects paths of the same length");else{for(var H=0;H<X.length-1;H++)if(Z[H]!==X[H]){console.warn("copyWithRename() expects paths to be the same except for the deepest key");return}return N(z,Z,X,0)}}function N(z,Z,X,H){var $=Z[H],Y=C2(z)?z.slice():b1({},z);return H+1===Z.length?(Y[X[H]]=Y[$],C2(Y)?Y.splice($,1):delete Y[$]):Y[$]=N(z[$],Z,X,H+1),Y}function v(z,Z,X){var H=Z[X],$=C2(z)?z.slice():b1({},z);if(X+1===Z.length)return C2($)?$.splice(H,1):delete $[H],$;return $[H]=v(z[H],Z,X+1),$}function k(){return!1}function b(){return null}function C(){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 V(){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 d(){}function P(){}function _(z){var Z=[];return z.forEach(function(X){Z.push(X)}),Z.sort().join(", ")}function w(z,Z,X,H){return new rq(z,Z,X,H)}function f(z,Z){z.context===D5&&(OH(z.current,2,Z,z,null,null),P6())}function D(z,Z){if(V0!==null){var X=Z.staleFamilies;Z=Z.updatedFamilies,u8(),$M(z.current,Z,X),P6()}}function m(z){V0=z}function n(z){return!(!z||z.nodeType!==1&&z.nodeType!==9&&z.nodeType!==11)}function p(z){var Z=z,X=z;if(z.alternate)for(;Z.return;)Z=Z.return;else{z=Z;do Z=z,(Z.flags&4098)!==0&&(X=Z.return),z=Z.return;while(z)}return Z.tag===3?X:null}function r(z){if(z.tag===13){var Z=z.memoizedState;if(Z===null&&(z=z.alternate,z!==null&&(Z=z.memoizedState)),Z!==null)return Z.dehydrated}return null}function $1(z){if(z.tag===31){var Z=z.memoizedState;if(Z===null&&(z=z.alternate,z!==null&&(Z=z.memoizedState)),Z!==null)return Z.dehydrated}return null}function I1(z){if(p(z)!==z)throw Error("Unable to find node on an unmounted component.")}function R1(z){var Z=z.alternate;if(!Z){if(Z=p(z),Z===null)throw Error("Unable to find node on an unmounted component.");return Z!==z?null:z}for(var X=z,H=Z;;){var $=X.return;if($===null)break;var Y=$.alternate;if(Y===null){if(H=$.return,H!==null){X=H;continue}break}if($.child===Y.child){for(Y=$.child;Y;){if(Y===X)return I1($),z;if(Y===H)return I1($),Z;Y=Y.sibling}throw Error("Unable to find node on an unmounted component.")}if(X.return!==H.return)X=$,H=Y;else{for(var M=!1,J=$.child;J;){if(J===X){M=!0,X=$,H=Y;break}if(J===H){M=!0,H=$,X=Y;break}J=J.sibling}if(!M){for(J=Y.child;J;){if(J===X){M=!0,X=Y,H=$;break}if(J===H){M=!0,H=Y,X=$;break}J=J.sibling}if(!M)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(X.alternate!==H)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(X.tag!==3)throw Error("Unable to find node on an unmounted component.");return X.stateNode.current===X?z:Z}function o(z){var Z=z.tag;if(Z===5||Z===26||Z===27||Z===6)return z;for(z=z.child;z!==null;){if(Z=o(z),Z!==null)return Z;z=z.sibling}return null}function a(z){if(z===null||typeof z!=="object")return null;return z=UQ&&z[UQ]||z["@@iterator"],typeof z==="function"?z:null}function x(z){if(z==null)return null;if(typeof z==="function")return z.$$typeof===_W?null:z.displayName||z.name||null;if(typeof z==="string")return z;switch(z){case w6:return"Fragment";case SH:return"Profiler";case Qz:return"StrictMode";case bH:return"Suspense";case yH:return"SuspenseList";case gH:return"Activity"}if(typeof z==="object")switch(typeof z.tag==="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),z.$$typeof){case v6:return"Portal";case w4:return z.displayName||"Context";case kH:return(z._context.displayName||"Context")+".Consumer";case o8:var Z=z.render;return z=z.displayName,z||(z=Z.displayName||Z.name||"",z=z!==""?"ForwardRef("+z+")":"ForwardRef"),z;case Gz:return Z=z.displayName||null,Z!==null?Z:x(z.type)||"Memo";case I0:Z=z._payload,z=z._init;try{return x(z(Z))}catch(X){}}return null}function i(z){return typeof z.tag==="number"?h(z):typeof z.name==="string"?z.name:null}function h(z){var Z=z.type;switch(z.tag){case 31:return"Activity";case 24:return"Cache";case 9:return(Z._context.displayName||"Context")+".Consumer";case 10:return Z.displayName||"Context";case 18:return"DehydratedFragment";case 11:return z=Z.render,z=z.displayName||z.name||"",Z.displayName||(z!==""?"ForwardRef("+z+")":"ForwardRef");case 7:return"Fragment";case 26:case 27:case 5:return Z;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return x(Z);case 8:return Z===Qz?"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 Z==="function")return Z.displayName||Z.name||null;if(typeof Z==="string")return Z;break;case 29:if(Z=z._debugInfo,Z!=null){for(var X=Z.length-1;0<=X;X--)if(typeof Z[X].name==="string")return Z[X].name}if(z.return!==null)return h(z.return)}return null}function w1(z){return{current:z}}function P1(z,Z){0>s4?console.error("Unexpected pop."):(Z!==hH[s4]&&console.error("Unexpected Fiber popped."),z.current=fH[s4],fH[s4]=null,hH[s4]=null,s4--)}function f1(z,Z,X){s4++,fH[s4]=z.current,hH[s4]=X,z.current=Z}function h2(z){return z===null&&console.error("Expected host context to exist. This error is likely caused by a bug in React. Please file an issue."),z}function z1(z,Z){f1(g5,Z,z),f1(t8,z,z),f1(y5,null,z);var X=Z.nodeType;switch(X){case 9:case 11:X=X===9?"#document":"#fragment",Z=(Z=Z.documentElement)?(Z=Z.namespaceURI)?VJ(Z):Q5:Q5;break;default:if(X=Z.tagName,Z=Z.namespaceURI)Z=VJ(Z),Z=jJ(Z,X);else switch(X){case"svg":Z=B8;break;case"math":Z=JZ;break;default:Z=Q5}}X=X.toLowerCase(),X=kY(null,X),X={context:Z,ancestorInfo:X},P1(y5,z),f1(y5,X,z)}function q1(z){P1(y5,z),P1(t8,z),P1(g5,z)}function G1(){return h2(y5.current)}function d1(z){z.memoizedState!==null&&f1(Uz,z,z);var Z=h2(y5.current),X=z.type,H=jJ(Z.context,X);X=kY(Z.ancestorInfo,X),H={context:H,ancestorInfo:X},Z!==H&&(f1(t8,z,z),f1(y5,H,z))}function c1(z){t8.current===z&&(P1(y5,z),P1(t8,z)),Uz.current===z&&(P1(Uz,z),c7._currentValue=e3)}function E(){}function _1(){if(e8===0){qQ=console.log,LQ=console.info,WQ=console.warn,KQ=console.error,RQ=console.group,_Q=console.groupCollapsed,FQ=console.groupEnd;var z={configurable:!0,enumerable:!0,value:E,writable:!0};Object.defineProperties(console,{info:z,log:z,warn:z,error:z,group:z,groupCollapsed:z,groupEnd:z})}e8++}function l1(){if(e8--,e8===0){var z={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:b1({},z,{value:qQ}),info:b1({},z,{value:LQ}),warn:b1({},z,{value:WQ}),error:b1({},z,{value:KQ}),group:b1({},z,{value:RQ}),groupCollapsed:b1({},z,{value:_Q}),groupEnd:b1({},z,{value:FQ})})}0>e8&&console.error("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}function p1(z){var Z=Error.prepareStackTrace;if(Error.prepareStackTrace=void 0,z=z.stack,Error.prepareStackTrace=Z,z.startsWith(`Error: react-stack-top-frame
|
|
18
|
+
`)&&(z=z.slice(29)),Z=z.indexOf(`
|
|
19
|
+
`),Z!==-1&&(z=z.slice(Z+1)),Z=z.indexOf("react_stack_bottom_frame"),Z!==-1&&(Z=z.lastIndexOf(`
|
|
20
|
+
`,Z)),Z!==-1)z=z.slice(0,Z);else return"";return z}function n1(z){if(VH===void 0)try{throw Error()}catch(X){var Z=X.stack.trim().match(/\n( *(at )?)/);VH=Z&&Z[1]||"",AQ=-1<X.stack.indexOf(`
|
|
21
|
+
at`)?" (<anonymous>)":-1<X.stack.indexOf("@")?"@unknown:0:0":""}return`
|
|
22
|
+
`+VH+z+AQ}function J4(z,Z){if(!z||jH)return"";var X=mH.get(z);if(X!==void 0)return X;jH=!0,X=Error.prepareStackTrace,Error.prepareStackTrace=void 0;var H=null;H=g.H,g.H=null,_1();try{var $={DetermineComponentFrameRoot:function(){try{if(Z){var K=function(){throw Error()};if(Object.defineProperty(K.prototype,"props",{set:function(){throw Error()}}),typeof Reflect==="object"&&Reflect.construct){try{Reflect.construct(K,[])}catch(s){var S=s}Reflect.construct(z,[],K)}else{try{K.call()}catch(s){S=s}z.call(K.prototype)}}else{try{throw Error()}catch(s){S=s}(K=z())&&typeof K.catch==="function"&&K.catch(function(){})}}catch(s){if(s&&S&&typeof s.stack==="string")return[s.stack,S.stack]}return[null,null]}};$.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var Y=Object.getOwnPropertyDescriptor($.DetermineComponentFrameRoot,"name");Y&&Y.configurable&&Object.defineProperty($.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var M=$.DetermineComponentFrameRoot(),J=M[0],Q=M[1];if(J&&Q){var G=J.split(`
|
|
23
|
+
`),A=Q.split(`
|
|
24
|
+
`);for(M=Y=0;Y<G.length&&!G[Y].includes("DetermineComponentFrameRoot");)Y++;for(;M<A.length&&!A[M].includes("DetermineComponentFrameRoot");)M++;if(Y===G.length||M===A.length)for(Y=G.length-1,M=A.length-1;1<=Y&&0<=M&&G[Y]!==A[M];)M--;for(;1<=Y&&0<=M;Y--,M--)if(G[Y]!==A[M]){if(Y!==1||M!==1)do if(Y--,M--,0>M||G[Y]!==A[M]){var I=`
|
|
25
|
+
`+G[Y].replace(" at new "," at ");return z.displayName&&I.includes("<anonymous>")&&(I=I.replace("<anonymous>",z.displayName)),typeof z==="function"&&mH.set(z,I),I}while(1<=Y&&0<=M);break}}}finally{jH=!1,g.H=H,l1(),Error.prepareStackTrace=X}return G=(G=z?z.displayName||z.name:"")?n1(G):"",typeof z==="function"&&mH.set(z,G),G}function Q2(z,Z){switch(z.tag){case 26:case 27:case 5:return n1(z.type);case 16:return n1("Lazy");case 13:return z.child!==Z&&Z!==null?n1("Suspense Fallback"):n1("Suspense");case 19:return n1("SuspenseList");case 0:case 15:return J4(z.type,!1);case 11:return J4(z.type.render,!1);case 1:return J4(z.type,!0);case 31:return n1("Activity");default:return""}}function U0(z){try{var Z="",X=null;do{Z+=Q2(z,X);var H=z._debugInfo;if(H)for(var $=H.length-1;0<=$;$--){var Y=H[$];if(typeof Y.name==="string"){var M=Z;z:{var{name:J,env:Q,debugLocation:G}=Y;if(G!=null){var A=p1(G),I=A.lastIndexOf(`
|
|
26
|
+
`),K=I===-1?A:A.slice(I+1);if(K.indexOf(J)!==-1){var S=`
|
|
27
|
+
`+K;break z}}S=n1(J+(Q?" ["+Q+"]":""))}Z=M+S}}X=z,z=z.return}while(z);return Z}catch(s){return`
|
|
28
|
+
Error generating stack: `+s.message+`
|
|
29
|
+
`+s.stack}}function k0(z){return(z=z?z.displayName||z.name:"")?n1(z):""}function E4(){if(O0===null)return null;var z=O0._debugOwner;return z!=null?i(z):null}function t7(){if(O0===null)return"";var z=O0;try{var Z="";switch(z.tag===6&&(z=z.return),z.tag){case 26:case 27:case 5:Z+=n1(z.type);break;case 13:Z+=n1("Suspense");break;case 19:Z+=n1("SuspenseList");break;case 31:Z+=n1("Activity");break;case 30:case 0:case 15:case 1:z._debugOwner||Z!==""||(Z+=k0(z.type));break;case 11:z._debugOwner||Z!==""||(Z+=k0(z.type.render))}for(;z;)if(typeof z.tag==="number"){var X=z;z=X._debugOwner;var H=X._debugStack;if(z&&H){var $=p1(H);$!==""&&(Z+=`
|
|
30
|
+
`+$)}}else if(z.debugStack!=null){var Y=z.debugStack;(z=z.owner)&&Y&&(Z+=`
|
|
31
|
+
`+p1(Y))}else break;var M=Z}catch(J){M=`
|
|
32
|
+
Error generating stack: `+J.message+`
|
|
33
|
+
`+J.stack}return M}function X1(z,Z,X,H,$,Y,M){var J=O0;$6(z);try{return z!==null&&z._debugTask?z._debugTask.run(Z.bind(null,X,H,$,Y,M)):Z(X,H,$,Y,M)}finally{$6(J)}throw Error("runWithFiberInDEV should never be called in production. This is a bug in React.")}function $6(z){g.getCurrentStack=z===null?null:t7,S4=!1,O0=z}function Q3(z){return typeof Symbol==="function"&&Symbol.toStringTag&&z[Symbol.toStringTag]||z.constructor.name||"Object"}function K5(z){try{return S2(z),!1}catch(Z){return!0}}function S2(z){return""+z}function s1(z,Z){if(K5(z))return console.error("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before using it here.",Z,Q3(z)),S2(z)}function L8(z,Z){if(K5(z))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.",Z,Q3(z)),S2(z)}function N1(z){if(K5(z))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.",Q3(z)),S2(z)}function Y6(z){if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u")return!1;var Z=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(Z.isDisabled)return!0;if(!Z.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{k6=Z.inject(z),c2=Z}catch(X){console.error("React instrumentation encountered an error: %o.",X)}return Z.checkDCE?!0:!1}function e1(z){if(typeof CW==="function"&&TW(z),c2&&typeof c2.setStrictMode==="function")try{c2.setStrictMode(k6,z)}catch(Z){k4||(k4=!0,console.error("React instrumentation encountered an error: %o",Z))}}function e7(z){return z>>>=0,z===0?32:31-(vW(z)/wW|0)|0}function Q4(z){var Z=z&42;if(Z!==0)return Z;switch(z&-z){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 z&261888;case 262144:case 524288:case 1048576:case 2097152:return z&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return z&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."),z}}function G3(z,Z,X){var H=z.pendingLanes;if(H===0)return 0;var $=0,Y=z.suspendedLanes,M=z.pingedLanes;z=z.warmLanes;var J=H&134217727;return J!==0?(H=J&~Y,H!==0?$=Q4(H):(M&=J,M!==0?$=Q4(M):X||(X=J&~z,X!==0&&($=Q4(X))))):(J=H&~Y,J!==0?$=Q4(J):M!==0?$=Q4(M):X||(X=H&~z,X!==0&&($=Q4(X)))),$===0?0:Z!==0&&Z!==$&&(Z&Y)===0&&(Y=$&-$,X=Z&-Z,Y>=X||Y===32&&(X&4194048)!==0)?Z:$}function U3(z,Z){return(z.pendingLanes&~(z.suspendedLanes&~z.pingedLanes)&Z)===0}function OZ(z,Z){switch(z){case 1:case 2:case 4:case 8:case 64:return Z+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 Z+5000;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 M6(){var z=Wz;return Wz<<=1,(Wz&62914560)===0&&(Wz=4194304),z}function B6(z){for(var Z=[],X=0;31>X;X++)Z.push(z);return Z}function R5(z,Z){z.pendingLanes|=Z,Z!==268435456&&(z.suspendedLanes=0,z.pingedLanes=0,z.warmLanes=0)}function z9(z,Z,X,H,$,Y){var M=z.pendingLanes;z.pendingLanes=X,z.suspendedLanes=0,z.pingedLanes=0,z.warmLanes=0,z.expiredLanes&=X,z.entangledLanes&=X,z.errorRecoveryDisabledLanes&=X,z.shellSuspendCounter=0;var{entanglements:J,expirationTimes:Q,hiddenUpdates:G}=z;for(X=M&~X;0<X;){var A=31-i2(X),I=1<<A;J[A]=0,Q[A]=-1;var K=G[A];if(K!==null)for(G[A]=null,A=0;A<K.length;A++){var S=K[A];S!==null&&(S.lane&=-536870913)}X&=~I}H!==0&&q3(z,H,0),Y!==0&&$===0&&z.tag!==0&&(z.suspendedLanes|=Y&~(M&~Z))}function q3(z,Z,X){z.pendingLanes|=Z,z.suspendedLanes&=~Z;var H=31-i2(Z);z.entangledLanes|=Z,z.entanglements[H]=z.entanglements[H]|1073741824|X&261930}function L3(z,Z){var X=z.entangledLanes|=Z;for(z=z.entanglements;X;){var H=31-i2(X),$=1<<H;$&Z|z[H]&Z&&(z[H]|=Z),X&=~$}}function W3(z,Z){var X=Z&-Z;return X=(X&42)!==0?1:K3(X),(X&(z.suspendedLanes|Z))!==0?0:X}function K3(z){switch(z){case 2:z=1;break;case 8:z=4;break;case 32:z=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:z=128;break;case 268435456:z=134217728;break;default:z=0}return z}function W8(z,Z,X){if(b4)for(z=z.pendingUpdatersLaneMap;0<X;){var H=31-i2(X),$=1<<H;z[H].add(Z),X&=~$}}function _5(z,Z){if(b4)for(var{pendingUpdatersLaneMap:X,memoizedUpdaters:H}=z;0<Z;){var $=31-i2(Z);z=1<<$,$=X[$],0<$.size&&($.forEach(function(Y){var M=Y.alternate;M!==null&&H.has(M)||H.add(Y)}),$.clear()),Z&=~z}}function q(z){return z&=-z,N0!==0&&N0<z?t0!==0&&t0<z?(z&134217727)!==0?y4:Kz:t0:N0}function T(){var z=u1.p;if(z!==0)return z;return z=window.event,z===void 0?y4:$Q(z.type)}function l(z,Z){var X=u1.p;try{return u1.p=z,Z()}finally{u1.p=X}}function t(z){delete z[D2],delete z[n2],delete z[dH],delete z[SW],delete z[kW]}function Y1(z){var Z=z[D2];if(Z)return Z;for(var X=z.parentNode;X;){if(Z=X[h5]||X[D2]){if(X=Z.alternate,Z.child!==null||X!==null&&X.child!==null)for(z=lJ(z);z!==null;){if(X=z[D2])return X;z=lJ(z)}return Z}z=X,X=z.parentNode}return null}function F1(z){if(z=z[D2]||z[h5]){var Z=z.tag;if(Z===5||Z===6||Z===13||Z===31||Z===26||Z===27||Z===3)return z}return null}function A1(z){var Z=z.tag;if(Z===5||Z===26||Z===27||Z===6)return z.stateNode;throw Error("getNodeFromInstance: Invalid argument.")}function D1(z){var Z=z[PQ];return Z||(Z=z[PQ]={hoistableStyles:new Map,hoistableScripts:new Map}),Z}function J1(z){z[z7]=!0}function u2(z,Z){q0(z,Z),q0(z+"Capture",Z)}function q0(z,Z){y3[z]&&console.error("EventRegistry: More than one plugin attempted to publish the same registration name, `%s`.",z),y3[z]=Z;var X=z.toLowerCase();cH[X]=z,z==="onDoubleClick"&&(cH.ondblclick=z);for(z=0;z<Z.length;z++)IQ.add(Z[z])}function F5(z,Z){bW[Z.type]||Z.onChange||Z.onInput||Z.readOnly||Z.disabled||Z.value==null||(z==="select"?console.error("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`."):console.error("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`.")),Z.onChange||Z.readOnly||Z.disabled||Z.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 K8(z){if(o0.call(NQ,z))return!0;if(o0.call(OQ,z))return!1;if(yW.test(z))return NQ[z]=!0;return OQ[z]=!0,console.error("Invalid attribute name: `%s`",z),!1}function WY(z,Z,X){if(K8(Z)){if(!z.hasAttribute(Z)){switch(typeof X){case"symbol":case"object":return X;case"function":return X;case"boolean":if(X===!1)return X}return X===void 0?void 0:null}if(z=z.getAttribute(Z),z===""&&X===!0)return!0;return s1(X,Z),z===""+X?X:z}}function Z9(z,Z,X){if(K8(Z))if(X===null)z.removeAttribute(Z);else{switch(typeof X){case"undefined":case"function":case"symbol":z.removeAttribute(Z);return;case"boolean":var H=Z.toLowerCase().slice(0,5);if(H!=="data-"&&H!=="aria-"){z.removeAttribute(Z);return}}s1(X,Z),z.setAttribute(Z,""+X)}}function X9(z,Z,X){if(X===null)z.removeAttribute(Z);else{switch(typeof X){case"undefined":case"function":case"symbol":case"boolean":z.removeAttribute(Z);return}s1(X,Z),z.setAttribute(Z,""+X)}}function x4(z,Z,X,H){if(H===null)z.removeAttribute(X);else{switch(typeof H){case"undefined":case"function":case"symbol":case"boolean":z.removeAttribute(X);return}s1(H,X),z.setAttributeNS(Z,X,""+H)}}function b0(z){switch(typeof z){case"bigint":case"boolean":case"number":case"string":case"undefined":return z;case"object":return N1(z),z;default:return""}}function KY(z){var Z=z.type;return(z=z.nodeName)&&z.toLowerCase()==="input"&&(Z==="checkbox"||Z==="radio")}function wq(z,Z,X){var H=Object.getOwnPropertyDescriptor(z.constructor.prototype,Z);if(!z.hasOwnProperty(Z)&&typeof H<"u"&&typeof H.get==="function"&&typeof H.set==="function"){var{get:$,set:Y}=H;return Object.defineProperty(z,Z,{configurable:!0,get:function(){return $.call(this)},set:function(M){N1(M),X=""+M,Y.call(this,M)}}),Object.defineProperty(z,Z,{enumerable:H.enumerable}),{getValue:function(){return X},setValue:function(M){N1(M),X=""+M},stopTracking:function(){z._valueTracker=null,delete z[Z]}}}}function NZ(z){if(!z._valueTracker){var Z=KY(z)?"checked":"value";z._valueTracker=wq(z,Z,""+z[Z])}}function RY(z){if(!z)return!1;var Z=z._valueTracker;if(!Z)return!0;var X=Z.getValue(),H="";return z&&(H=KY(z)?z.checked?"true":"false":z.value),z=H,z!==X?(Z.setValue(z),!0):!1}function H9(z){if(z=z||(typeof document<"u"?document:void 0),typeof z>"u")return null;try{return z.activeElement||z.body}catch(Z){return z.body}}function y0(z){return z.replace(gW,function(Z){return"\\"+Z.charCodeAt(0).toString(16)+" "})}function _Y(z,Z){Z.checked===void 0||Z.defaultChecked===void 0||TQ||(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",E4()||"A component",Z.type),TQ=!0),Z.value===void 0||Z.defaultValue===void 0||CQ||(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",E4()||"A component",Z.type),CQ=!0)}function CZ(z,Z,X,H,$,Y,M,J){if(z.name="",M!=null&&typeof M!=="function"&&typeof M!=="symbol"&&typeof M!=="boolean"?(s1(M,"type"),z.type=M):z.removeAttribute("type"),Z!=null)if(M==="number"){if(Z===0&&z.value===""||z.value!=Z)z.value=""+b0(Z)}else z.value!==""+b0(Z)&&(z.value=""+b0(Z));else M!=="submit"&&M!=="reset"||z.removeAttribute("value");Z!=null?TZ(z,M,b0(Z)):X!=null?TZ(z,M,b0(X)):H!=null&&z.removeAttribute("value"),$==null&&Y!=null&&(z.defaultChecked=!!Y),$!=null&&(z.checked=$&&typeof $!=="function"&&typeof $!=="symbol"),J!=null&&typeof J!=="function"&&typeof J!=="symbol"&&typeof J!=="boolean"?(s1(J,"name"),z.name=""+b0(J)):z.removeAttribute("name")}function FY(z,Z,X,H,$,Y,M,J){if(Y!=null&&typeof Y!=="function"&&typeof Y!=="symbol"&&typeof Y!=="boolean"&&(s1(Y,"type"),z.type=Y),Z!=null||X!=null){if(!(Y!=="submit"&&Y!=="reset"||Z!==void 0&&Z!==null)){NZ(z);return}X=X!=null?""+b0(X):"",Z=Z!=null?""+b0(Z):X,J||Z===z.value||(z.value=Z),z.defaultValue=Z}H=H!=null?H:$,H=typeof H!=="function"&&typeof H!=="symbol"&&!!H,z.checked=J?z.checked:!!H,z.defaultChecked=!!H,M!=null&&typeof M!=="function"&&typeof M!=="symbol"&&typeof M!=="boolean"&&(s1(M,"name"),z.name=M),NZ(z)}function TZ(z,Z,X){Z==="number"&&H9(z.ownerDocument)===z||z.defaultValue===""+X||(z.defaultValue=""+X)}function AY(z,Z){Z.value==null&&(typeof Z.children==="object"&&Z.children!==null?G8.Children.forEach(Z.children,function(X){X==null||typeof X==="string"||typeof X==="number"||typeof X==="bigint"||wQ||(wQ=!0,console.error("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>."))}):Z.dangerouslySetInnerHTML==null||SQ||(SQ=!0,console.error("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected."))),Z.selected==null||vQ||(console.error("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),vQ=!0)}function PY(){var z=E4();return z?`
|
|
34
|
+
|
|
35
|
+
Check the render method of \``+z+"`.":""}function J6(z,Z,X,H){if(z=z.options,Z){Z={};for(var $=0;$<X.length;$++)Z["$"+X[$]]=!0;for(X=0;X<z.length;X++)$=Z.hasOwnProperty("$"+z[X].value),z[X].selected!==$&&(z[X].selected=$),$&&H&&(z[X].defaultSelected=!0)}else{X=""+b0(X),Z=null;for($=0;$<z.length;$++){if(z[$].value===X){z[$].selected=!0,H&&(z[$].defaultSelected=!0);return}Z!==null||z[$].disabled||(Z=z[$])}Z!==null&&(Z.selected=!0)}}function IY(z,Z){for(z=0;z<bQ.length;z++){var X=bQ[z];if(Z[X]!=null){var H=C2(Z[X]);Z.multiple&&!H?console.error("The `%s` prop supplied to <select> must be an array if `multiple` is true.%s",X,PY()):!Z.multiple&&H&&console.error("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.%s",X,PY())}}Z.value===void 0||Z.defaultValue===void 0||kQ||(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"),kQ=!0)}function OY(z,Z){Z.value===void 0||Z.defaultValue===void 0||yQ||(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",E4()||"A component"),yQ=!0),Z.children!=null&&Z.value==null&&console.error("Use the `defaultValue` or `value` props instead of setting children on <textarea>.")}function NY(z,Z,X){if(Z!=null&&(Z=""+b0(Z),Z!==z.value&&(z.value=Z),X==null)){z.defaultValue!==Z&&(z.defaultValue=Z);return}z.defaultValue=X!=null?""+b0(X):""}function CY(z,Z,X,H){if(Z==null){if(H!=null){if(X!=null)throw Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(C2(H)){if(1<H.length)throw Error("<textarea> can only have at most one child.");H=H[0]}X=H}X==null&&(X=""),Z=X}X=b0(Z),z.defaultValue=X,H=z.textContent,H===X&&H!==""&&H!==null&&(z.value=H),NZ(z)}function TY(z,Z){return z.serverProps===void 0&&z.serverTail.length===0&&z.children.length===1&&3<z.distanceFromLeaf&&z.distanceFromLeaf>15-Z?TY(z.children[0],Z):z}function L0(z){return" "+" ".repeat(z)}function Q6(z){return"+ "+" ".repeat(z)}function R3(z){return"- "+" ".repeat(z)}function vY(z){switch(z.tag){case 26:case 27:case 5:return z.type;case 16:return"Lazy";case 31:return"Activity";case 13:return"Suspense";case 19:return"SuspenseList";case 0:case 15:return z=z.type,z.displayName||z.name||null;case 11:return z=z.type.render,z.displayName||z.name||null;case 1:return z=z.type,z.displayName||z.name||null;default:return null}}function R8(z,Z){return gQ.test(z)?(z=JSON.stringify(z),z.length>Z-2?8>Z?'{"..."}':"{"+z.slice(0,Z-7)+'..."}':"{"+z+"}"):z.length>Z?5>Z?'{"..."}':z.slice(0,Z-3)+"...":z}function $9(z,Z,X){var H=120-2*X;if(Z===null)return Q6(X)+R8(z,H)+`
|
|
36
|
+
`;if(typeof Z==="string"){for(var $=0;$<Z.length&&$<z.length&&Z.charCodeAt($)===z.charCodeAt($);$++);return $>H-8&&10<$&&(z="..."+z.slice($-8),Z="..."+Z.slice($-8)),Q6(X)+R8(z,H)+`
|
|
37
|
+
`+R3(X)+R8(Z,H)+`
|
|
38
|
+
`}return L0(X)+R8(z,H)+`
|
|
39
|
+
`}function vZ(z){return Object.prototype.toString.call(z).replace(/^\[object (.*)\]$/,function(Z,X){return X})}function _8(z,Z){switch(typeof z){case"string":return z=JSON.stringify(z),z.length>Z?5>Z?'"..."':z.slice(0,Z-4)+'..."':z;case"object":if(z===null)return"null";if(C2(z))return"[...]";if(z.$$typeof===v4)return(Z=x(z.type))?"<"+Z+">":"<...>";var X=vZ(z);if(X==="Object"){X="",Z-=2;for(var H in z)if(z.hasOwnProperty(H)){var $=JSON.stringify(H);if($!=='"'+H+'"'&&(H=$),Z-=H.length-2,$=_8(z[H],15>Z?Z:15),Z-=$.length,0>Z){X+=X===""?"...":", ...";break}X+=(X===""?"":",")+H+":"+$}return"{"+X+"}"}return X;case"function":return(Z=z.displayName||z.name)?"function "+Z:"function";default:return String(z)}}function G6(z,Z){return typeof z!=="string"||gQ.test(z)?"{"+_8(z,Z-2)+"}":z.length>Z-2?5>Z?'"..."':'"'+z.slice(0,Z-5)+'..."':'"'+z+'"'}function wZ(z,Z,X){var H=120-X.length-z.length,$=[],Y;for(Y in Z)if(Z.hasOwnProperty(Y)&&Y!=="children"){var M=G6(Z[Y],120-X.length-Y.length-1);H-=Y.length+M.length+2,$.push(Y+"="+M)}return $.length===0?X+"<"+z+`>
|
|
40
|
+
`:0<H?X+"<"+z+" "+$.join(" ")+`>
|
|
41
|
+
`:X+"<"+z+`
|
|
42
|
+
`+X+" "+$.join(`
|
|
43
|
+
`+X+" ")+`
|
|
44
|
+
`+X+`>
|
|
45
|
+
`}function Sq(z,Z,X){var H="",$=b1({},Z),Y;for(Y in z)if(z.hasOwnProperty(Y)){delete $[Y];var M=120-2*X-Y.length-2,J=_8(z[Y],M);Z.hasOwnProperty(Y)?(M=_8(Z[Y],M),H+=Q6(X)+Y+": "+J+`
|
|
46
|
+
`,H+=R3(X)+Y+": "+M+`
|
|
47
|
+
`):H+=Q6(X)+Y+": "+J+`
|
|
48
|
+
`}for(var Q in $)$.hasOwnProperty(Q)&&(z=_8($[Q],120-2*X-Q.length-2),H+=R3(X)+Q+": "+z+`
|
|
49
|
+
`);return H}function kq(z,Z,X,H){var $="",Y=new Map;for(G in X)X.hasOwnProperty(G)&&Y.set(G.toLowerCase(),G);if(Y.size===1&&Y.has("children"))$+=wZ(z,Z,L0(H));else{for(var M in Z)if(Z.hasOwnProperty(M)&&M!=="children"){var J=120-2*(H+1)-M.length-1,Q=Y.get(M.toLowerCase());if(Q!==void 0){Y.delete(M.toLowerCase());var G=Z[M];Q=X[Q];var A=G6(G,J);J=G6(Q,J),typeof G==="object"&&G!==null&&typeof Q==="object"&&Q!==null&&vZ(G)==="Object"&&vZ(Q)==="Object"&&(2<Object.keys(G).length||2<Object.keys(Q).length||-1<A.indexOf("...")||-1<J.indexOf("..."))?$+=L0(H+1)+M+`={{
|
|
50
|
+
`+Sq(G,Q,H+2)+L0(H+1)+`}}
|
|
51
|
+
`:($+=Q6(H+1)+M+"="+A+`
|
|
52
|
+
`,$+=R3(H+1)+M+"="+J+`
|
|
53
|
+
`)}else $+=L0(H+1)+M+"="+G6(Z[M],J)+`
|
|
54
|
+
`}Y.forEach(function(I){if(I!=="children"){var K=120-2*(H+1)-I.length-1;$+=R3(H+1)+I+"="+G6(X[I],K)+`
|
|
55
|
+
`}}),$=$===""?L0(H)+"<"+z+`>
|
|
56
|
+
`:L0(H)+"<"+z+`
|
|
57
|
+
`+$+L0(H)+`>
|
|
58
|
+
`}if(z=X.children,Z=Z.children,typeof z==="string"||typeof z==="number"||typeof z==="bigint"){if(Y="",typeof Z==="string"||typeof Z==="number"||typeof Z==="bigint")Y=""+Z;$+=$9(Y,""+z,H+1)}else if(typeof Z==="string"||typeof Z==="number"||typeof Z==="bigint")$=z==null?$+$9(""+Z,null,H+1):$+$9(""+Z,void 0,H+1);return $}function wY(z,Z){var X=vY(z);if(X===null){X="";for(z=z.child;z;)X+=wY(z,Z),z=z.sibling;return X}return L0(Z)+"<"+X+`>
|
|
59
|
+
`}function SZ(z,Z){var X=TY(z,Z);if(X!==z&&(z.children.length!==1||z.children[0]!==X))return L0(Z)+`...
|
|
60
|
+
`+SZ(X,Z+1);X="";var H=z.fiber._debugInfo;if(H)for(var $=0;$<H.length;$++){var Y=H[$].name;typeof Y==="string"&&(X+=L0(Z)+"<"+Y+`>
|
|
61
|
+
`,Z++)}if(H="",$=z.fiber.pendingProps,z.fiber.tag===6)H=$9($,z.serverProps,Z),Z++;else if(Y=vY(z.fiber),Y!==null)if(z.serverProps===void 0){H=Z;var M=120-2*H-Y.length-2,J="";for(G in $)if($.hasOwnProperty(G)&&G!=="children"){var Q=G6($[G],15);if(M-=G.length+Q.length+2,0>M){J+=" ...";break}J+=" "+G+"="+Q}H=L0(H)+"<"+Y+J+`>
|
|
62
|
+
`,Z++}else z.serverProps===null?(H=wZ(Y,$,Q6(Z)),Z++):typeof z.serverProps==="string"?console.error("Should not have matched a non HostText fiber to a Text node. This is a bug in React."):(H=kq(Y,$,z.serverProps,Z),Z++);var G="";$=z.fiber.child;for(Y=0;$&&Y<z.children.length;)M=z.children[Y],M.fiber===$?(G+=SZ(M,Z),Y++):G+=wY($,Z),$=$.sibling;$&&0<z.children.length&&(G+=L0(Z)+`...
|
|
63
|
+
`),$=z.serverTail,z.serverProps===null&&Z--;for(z=0;z<$.length;z++)Y=$[z],G=typeof Y==="string"?G+(R3(Z)+R8(Y,120-2*Z)+`
|
|
64
|
+
`):G+wZ(Y.type,Y.props,R3(Z));return X+H+G}function kZ(z){try{return`
|
|
65
|
+
|
|
66
|
+
`+SZ(z,0)}catch(Z){return""}}function SY(z,Z,X){for(var H=Z,$=null,Y=0;H;)H===z&&(Y=0),$={fiber:H,children:$!==null?[$]:[],serverProps:H===Z?X:H===z?null:void 0,serverTail:[],distanceFromLeaf:Y},Y++,H=H.return;return $!==null?kZ($).replaceAll(/^[+-]/gm,">"):""}function kY(z,Z){var X=b1({},z||hQ),H={tag:Z};if(fQ.indexOf(Z)!==-1&&(X.aTagInScope=null,X.buttonTagInScope=null,X.nobrTagInScope=null),hW.indexOf(Z)!==-1&&(X.pTagInButtonScope=null),fW.indexOf(Z)!==-1&&Z!=="address"&&Z!=="div"&&Z!=="p"&&(X.listItemTagAutoclosing=null,X.dlItemTagAutoclosing=null),X.current=H,Z==="form"&&(X.formTag=H),Z==="a"&&(X.aTagInScope=H),Z==="button"&&(X.buttonTagInScope=H),Z==="nobr"&&(X.nobrTagInScope=H),Z==="p"&&(X.pTagInButtonScope=H),Z==="li"&&(X.listItemTagAutoclosing=H),Z==="dd"||Z==="dt")X.dlItemTagAutoclosing=H;return Z==="#document"||Z==="html"?X.containerTagInScope=null:X.containerTagInScope||(X.containerTagInScope=H),z!==null||Z!=="#document"&&Z!=="html"&&Z!=="body"?X.implicitRootScope===!0&&(X.implicitRootScope=!1):X.implicitRootScope=!0,X}function bY(z,Z,X){switch(Z){case"select":return z==="hr"||z==="option"||z==="optgroup"||z==="script"||z==="template"||z==="#text";case"optgroup":return z==="option"||z==="#text";case"option":return z==="#text";case"tr":return z==="th"||z==="td"||z==="style"||z==="script"||z==="template";case"tbody":case"thead":case"tfoot":return z==="tr"||z==="style"||z==="script"||z==="template";case"colgroup":return z==="col"||z==="template";case"table":return z==="caption"||z==="colgroup"||z==="tbody"||z==="tfoot"||z==="thead"||z==="style"||z==="script"||z==="template";case"head":return z==="base"||z==="basefont"||z==="bgsound"||z==="link"||z==="meta"||z==="title"||z==="noscript"||z==="noframes"||z==="style"||z==="script"||z==="template";case"html":if(X)break;return z==="head"||z==="body"||z==="frameset";case"frameset":return z==="frame";case"#document":if(!X)return z==="html"}switch(z){case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return Z!=="h1"&&Z!=="h2"&&Z!=="h3"&&Z!=="h4"&&Z!=="h5"&&Z!=="h6";case"rp":case"rt":return VW.indexOf(Z)===-1;case"caption":case"col":case"colgroup":case"frameset":case"frame":case"tbody":case"td":case"tfoot":case"th":case"thead":case"tr":return Z==null;case"head":return X||Z===null;case"html":return X&&Z==="#document"||Z===null;case"body":return X&&(Z==="#document"||Z==="html")||Z===null}return!0}function bq(z,Z){switch(z){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 Z.pTagInButtonScope;case"form":return Z.formTag||Z.pTagInButtonScope;case"li":return Z.listItemTagAutoclosing;case"dd":case"dt":return Z.dlItemTagAutoclosing;case"button":return Z.buttonTagInScope;case"a":return Z.aTagInScope;case"nobr":return Z.nobrTagInScope}return null}function yY(z,Z){for(;z;){switch(z.tag){case 5:case 26:case 27:if(z.type===Z)return z}z=z.return}return null}function bZ(z,Z){Z=Z||hQ;var X=Z.current;if(Z=(X=bY(z,X&&X.tag,Z.implicitRootScope)?null:X)?null:bq(z,Z),Z=X||Z,!Z)return!0;var H=Z.tag;if(Z=String(!!X)+"|"+z+"|"+H,Rz[Z])return!1;Rz[Z]=!0;var $=(Z=O0)?yY(Z.return,H):null,Y=Z!==null&&$!==null?SY($,Z,null):"",M="<"+z+">";return X?(X="",H==="table"&&z==="tr"&&(X+=" 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`,M,H,X,Y)):console.error(`In HTML, %s cannot be a descendant of <%s>.
|
|
68
|
+
This will cause a hydration error.%s`,M,H,Y),Z&&(z=Z.return,$===null||z===null||$===z&&z._debugOwner===Z._debugOwner||X1($,function(){console.error(`<%s> cannot contain a nested %s.
|
|
69
|
+
See this log for the ancestor stack trace.`,H,M)})),!1}function Y9(z,Z,X){if(X||bY("#text",Z,!1))return!0;if(X="#text|"+Z,Rz[X])return!1;Rz[X]=!0;var H=(X=O0)?yY(X,Z):null;return X=X!==null&&H!==null?SY(H,X,X.tag!==6?{children:null}:null):"",/\S/.test(z)?console.error(`In HTML, text nodes cannot be a child of <%s>.
|
|
70
|
+
This will cause a hydration error.%s`,Z,X):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`,Z,X),!1}function F8(z,Z){if(Z){var X=z.firstChild;if(X&&X===z.lastChild&&X.nodeType===3){X.nodeValue=Z;return}}z.textContent=Z}function yq(z){return z.replace(DW,function(Z,X){return X.toUpperCase()})}function gY(z,Z,X){var H=Z.indexOf("--")===0;H||(-1<Z.indexOf("-")?b6.hasOwnProperty(Z)&&b6[Z]||(b6[Z]=!0,console.error("Unsupported style property %s. Did you mean %s?",Z,yq(Z.replace(mW,"ms-")))):jW.test(Z)?b6.hasOwnProperty(Z)&&b6[Z]||(b6[Z]=!0,console.error("Unsupported vendor-prefixed style property %s. Did you mean %s?",Z,Z.charAt(0).toUpperCase()+Z.slice(1))):!mQ.test(X)||pH.hasOwnProperty(X)&&pH[X]||(pH[X]=!0,console.error(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,Z,X.replace(mQ,""))),typeof X==="number"&&(isNaN(X)?DQ||(DQ=!0,console.error("`NaN` is an invalid value for the `%s` css style property.",Z)):isFinite(X)||EQ||(EQ=!0,console.error("`Infinity` is an invalid value for the `%s` css style property.",Z)))),X==null||typeof X==="boolean"||X===""?H?z.setProperty(Z,""):Z==="float"?z.cssFloat="":z[Z]="":H?z.setProperty(Z,X):typeof X!=="number"||X===0||xQ.has(Z)?Z==="float"?z.cssFloat=X:(L8(X,Z),z[Z]=(""+X).trim()):z[Z]=X+"px"}function fY(z,Z,X){if(Z!=null&&typeof Z!=="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(Z&&Object.freeze(Z),z=z.style,X!=null){if(Z){var H={};if(X){for(var $ in X)if(X.hasOwnProperty($)&&!Z.hasOwnProperty($))for(var Y=lH[$]||[$],M=0;M<Y.length;M++)H[Y[M]]=$}for(var J in Z)if(Z.hasOwnProperty(J)&&(!X||X[J]!==Z[J]))for($=lH[J]||[J],Y=0;Y<$.length;Y++)H[$[Y]]=J;J={};for(var Q in Z)for($=lH[Q]||[Q],Y=0;Y<$.length;Y++)J[$[Y]]=Q;Q={};for(var G in H)if($=H[G],(Y=J[G])&&$!==Y&&(M=$+","+Y,!Q[M])){Q[M]=!0,M=console;var A=Z[$];M.error.call(M,"%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.",A==null||typeof A==="boolean"||A===""?"Removing":"Updating",$,Y)}}for(var I in X)!X.hasOwnProperty(I)||Z!=null&&Z.hasOwnProperty(I)||(I.indexOf("--")===0?z.setProperty(I,""):I==="float"?z.cssFloat="":z[I]="");for(var K in Z)G=Z[K],Z.hasOwnProperty(K)&&X[K]!==G&&gY(z,K,G)}else for(H in Z)Z.hasOwnProperty(H)&&gY(z,H,Z[H])}function A8(z){if(z.indexOf("-")===-1)return!1;switch(z){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 hY(z){return EW.get(z)||z}function gq(z,Z){if(o0.call(g6,Z)&&g6[Z])return!0;if(uW.test(Z)){if(z="aria-"+Z.slice(4).toLowerCase(),z=uQ.hasOwnProperty(z)?z:null,z==null)return console.error("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",Z),g6[Z]=!0;if(Z!==z)return console.error("Invalid ARIA attribute `%s`. Did you mean `%s`?",Z,z),g6[Z]=!0}if(xW.test(Z)){if(z=Z.toLowerCase(),z=uQ.hasOwnProperty(z)?z:null,z==null)return g6[Z]=!0,!1;Z!==z&&(console.error("Unknown ARIA attribute `%s`. Did you mean `%s`?",Z,z),g6[Z]=!0)}return!0}function fq(z,Z){var X=[],H;for(H in Z)gq(z,H)||X.push(H);Z=X.map(function($){return"`"+$+"`"}).join(", "),X.length===1?console.error("Invalid aria prop %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props",Z,z):1<X.length&&console.error("Invalid aria props %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props",Z,z)}function hq(z,Z,X,H){if(o0.call(s2,Z)&&s2[Z])return!0;var $=Z.toLowerCase();if($==="onfocusin"||$==="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."),s2[Z]=!0;if(typeof X==="function"&&(z==="form"&&Z==="action"||z==="input"&&Z==="formAction"||z==="button"&&Z==="formAction"))return!0;if(H!=null){if(z=H.possibleRegistrationNames,H.registrationNameDependencies.hasOwnProperty(Z))return!0;if(H=z.hasOwnProperty($)?z[$]:null,H!=null)return console.error("Invalid event handler property `%s`. Did you mean `%s`?",Z,H),s2[Z]=!0;if(cQ.test(Z))return console.error("Unknown event handler property `%s`. It will be ignored.",Z),s2[Z]=!0}else if(cQ.test(Z))return dW.test(Z)&&console.error("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",Z),s2[Z]=!0;if(cW.test(Z)||lW.test(Z))return!0;if($==="innerhtml")return console.error("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),s2[Z]=!0;if($==="aria")return console.error("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),s2[Z]=!0;if($==="is"&&X!==null&&X!==void 0&&typeof X!=="string")return console.error("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof X),s2[Z]=!0;if(typeof X==="number"&&isNaN(X))return console.error("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",Z),s2[Z]=!0;if(Fz.hasOwnProperty($)){if($=Fz[$],$!==Z)return console.error("Invalid DOM property `%s`. Did you mean `%s`?",Z,$),s2[Z]=!0}else if(Z!==$)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.",Z,$),s2[Z]=!0;switch(Z){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 X){case"boolean":switch(Z){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:if($=Z.toLowerCase().slice(0,5),$==="data-"||$==="aria-")return!0;return X?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()}.',X,Z,Z,X,Z):console.error('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.',X,Z,Z,X,Z,Z,Z),s2[Z]=!0}case"function":case"symbol":return s2[Z]=!0,!1;case"string":if(X==="false"||X==="true"){switch(Z){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}?",X,Z,X==="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".',Z,X),s2[Z]=!0}}return!0}function Vq(z,Z,X){var H=[],$;for($ in Z)hq(z,$,Z[$],X)||H.push($);Z=H.map(function(Y){return"`"+Y+"`"}).join(", "),H.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 ",Z,z):1<H.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 ",Z,z)}function P8(z){return pW.test(""+z)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":z}function u4(){}function yZ(z){return z=z.target||z.srcElement||window,z.correspondingUseElement&&(z=z.correspondingUseElement),z.nodeType===3?z.parentNode:z}function VY(z){var Z=F1(z);if(Z&&(z=Z.stateNode)){var X=z[n2]||null;z:switch(z=Z.stateNode,Z.type){case"input":if(CZ(z,X.value,X.defaultValue,X.defaultValue,X.checked,X.defaultChecked,X.type,X.name),Z=X.name,X.type==="radio"&&Z!=null){for(X=z;X.parentNode;)X=X.parentNode;s1(Z,"name"),X=X.querySelectorAll('input[name="'+y0(""+Z)+'"][type="radio"]');for(Z=0;Z<X.length;Z++){var H=X[Z];if(H!==z&&H.form===z.form){var $=H[n2]||null;if(!$)throw Error("ReactDOMInput: Mixing React and non-React radio inputs with the same `name` is not supported.");CZ(H,$.value,$.defaultValue,$.defaultValue,$.checked,$.defaultChecked,$.type,$.name)}}for(Z=0;Z<X.length;Z++)H=X[Z],H.form===z.form&&RY(H)}break z;case"textarea":NY(z,X.value,X.defaultValue);break z;case"select":Z=X.value,Z!=null&&J6(z,!!X.multiple,Z,!1)}}}function jY(z,Z,X){if(aH)return z(Z,X);aH=!0;try{var H=z(Z);return H}finally{if(aH=!1,f6!==null||h6!==null){if(P6(),f6&&(Z=f6,z=h6,h6=f6=null,VY(Z),z))for(Z=0;Z<z.length;Z++)VY(z[Z])}}}function I8(z,Z){var X=z.stateNode;if(X===null)return null;var H=X[n2]||null;if(H===null)return null;X=H[Z];z:switch(Z){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(H=!H.disabled)||(z=z.type,H=!(z==="button"||z==="input"||z==="select"||z==="textarea")),z=!H;break z;default:z=!1}if(z)return null;if(X&&typeof X!=="function")throw Error("Expected `"+Z+"` listener to be a function, instead got a value of `"+typeof X+"` type.");return X}function mY(){if(Az)return Az;var z,Z=nH,X=Z.length,H,$="value"in V5?V5.value:V5.textContent,Y=$.length;for(z=0;z<X&&Z[z]===$[z];z++);var M=X-z;for(H=1;H<=M&&Z[X-H]===$[Y-H];H++);return Az=$.slice(z,1<H?1-H:void 0)}function M9(z){var Z=z.keyCode;return"charCode"in z?(z=z.charCode,z===0&&Z===13&&(z=13)):z=Z,z===10&&(z=13),32<=z||z===13?z:0}function B9(){return!0}function DY(){return!1}function Z0(z){function Z(X,H,$,Y,M){this._reactName=X,this._targetInst=$,this.type=H,this.nativeEvent=Y,this.target=M,this.currentTarget=null;for(var J in z)z.hasOwnProperty(J)&&(X=z[J],this[J]=X?X(Y):Y[J]);return this.isDefaultPrevented=(Y.defaultPrevented!=null?Y.defaultPrevented:Y.returnValue===!1)?B9:DY,this.isPropagationStopped=DY,this}return b1(Z.prototype,{preventDefault:function(){this.defaultPrevented=!0;var X=this.nativeEvent;X&&(X.preventDefault?X.preventDefault():typeof X.returnValue!=="unknown"&&(X.returnValue=!1),this.isDefaultPrevented=B9)},stopPropagation:function(){var X=this.nativeEvent;X&&(X.stopPropagation?X.stopPropagation():typeof X.cancelBubble!=="unknown"&&(X.cancelBubble=!0),this.isPropagationStopped=B9)},persist:function(){},isPersistent:B9}),Z}function jq(z){var Z=this.nativeEvent;return Z.getModifierState?Z.getModifierState(z):(z=$K[z])?!!Z[z]:!1}function gZ(){return jq}function EY(z,Z){switch(z){case"keyup":return RK.indexOf(Z.keyCode)!==-1;case"keydown":return Z.keyCode!==iQ;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function xY(z){return z=z.detail,typeof z==="object"&&"data"in z?z.data:null}function mq(z,Z){switch(z){case"compositionend":return xY(Z);case"keypress":if(Z.which!==sQ)return null;return oQ=!0,rQ;case"textInput":return z=Z.data,z===rQ&&oQ?null:z;default:return null}}function Dq(z,Z){if(V6)return z==="compositionend"||!tH&&EY(z,Z)?(z=mY(),Az=nH=V5=null,V6=!1,z):null;switch(z){case"paste":return null;case"keypress":if(!(Z.ctrlKey||Z.altKey||Z.metaKey)||Z.ctrlKey&&Z.altKey){if(Z.char&&1<Z.char.length)return Z.char;if(Z.which)return String.fromCharCode(Z.which)}return null;case"compositionend":return nQ&&Z.locale!=="ko"?null:Z.data;default:return null}}function uY(z){var Z=z&&z.nodeName&&z.nodeName.toLowerCase();return Z==="input"?!!FK[z.type]:Z==="textarea"?!0:!1}function Eq(z){if(!g4)return!1;z="on"+z;var Z=z in document;return Z||(Z=document.createElement("div"),Z.setAttribute(z,"return;"),Z=typeof Z[z]==="function"),Z}function dY(z,Z,X,H){f6?h6?h6.push(H):h6=[H]:f6=H,Z=e9(Z,"onChange"),0<Z.length&&(X=new Pz("onChange","change",null,X,H),z.push({event:X,listeners:Z}))}function xq(z){CJ(z,0)}function J9(z){var Z=A1(z);if(RY(Z))return z}function cY(z,Z){if(z==="change")return Z}function lY(){M7&&(M7.detachEvent("onpropertychange",pY),B7=M7=null)}function pY(z){if(z.propertyName==="value"&&J9(B7)){var Z=[];dY(Z,B7,z,yZ(z)),jY(xq,Z)}}function uq(z,Z,X){z==="focusin"?(lY(),M7=Z,B7=X,M7.attachEvent("onpropertychange",pY)):z==="focusout"&&lY()}function dq(z){if(z==="selectionchange"||z==="keyup"||z==="keydown")return J9(B7)}function cq(z,Z){if(z==="click")return J9(Z)}function lq(z,Z){if(z==="input"||z==="change")return J9(Z)}function pq(z,Z){return z===Z&&(z!==0||1/z===1/Z)||z!==z&&Z!==Z}function O8(z,Z){if(r2(z,Z))return!0;if(typeof z!=="object"||z===null||typeof Z!=="object"||Z===null)return!1;var X=Object.keys(z),H=Object.keys(Z);if(X.length!==H.length)return!1;for(H=0;H<X.length;H++){var $=X[H];if(!o0.call(Z,$)||!r2(z[$],Z[$]))return!1}return!0}function aY(z){for(;z&&z.firstChild;)z=z.firstChild;return z}function iY(z,Z){var X=aY(z);z=0;for(var H;X;){if(X.nodeType===3){if(H=z+X.textContent.length,z<=Z&&H>=Z)return{node:X,offset:Z-z};z=H}z:{for(;X;){if(X.nextSibling){X=X.nextSibling;break z}X=X.parentNode}X=void 0}X=aY(X)}}function nY(z,Z){return z&&Z?z===Z?!0:z&&z.nodeType===3?!1:Z&&Z.nodeType===3?nY(z,Z.parentNode):("contains"in z)?z.contains(Z):z.compareDocumentPosition?!!(z.compareDocumentPosition(Z)&16):!1:!1}function sY(z){z=z!=null&&z.ownerDocument!=null&&z.ownerDocument.defaultView!=null?z.ownerDocument.defaultView:window;for(var Z=H9(z.document);Z instanceof z.HTMLIFrameElement;){try{var X=typeof Z.contentWindow.location.href==="string"}catch(H){X=!1}if(X)z=Z.contentWindow;else break;Z=H9(z.document)}return Z}function fZ(z){var Z=z&&z.nodeName&&z.nodeName.toLowerCase();return Z&&(Z==="input"&&(z.type==="text"||z.type==="search"||z.type==="tel"||z.type==="url"||z.type==="password")||Z==="textarea"||z.contentEditable==="true")}function rY(z,Z,X){var H=X.window===X?X.document:X.nodeType===9?X:X.ownerDocument;z$||j6==null||j6!==H9(H)||(H=j6,("selectionStart"in H)&&fZ(H)?H={start:H.selectionStart,end:H.selectionEnd}:(H=(H.ownerDocument&&H.ownerDocument.defaultView||window).getSelection(),H={anchorNode:H.anchorNode,anchorOffset:H.anchorOffset,focusNode:H.focusNode,focusOffset:H.focusOffset}),J7&&O8(J7,H)||(J7=H,H=e9(eH,"onSelect"),0<H.length&&(Z=new Pz("onSelect","select",null,Z,X),z.push({event:Z,listeners:H}),Z.target=j6)))}function _3(z,Z){var X={};return X[z.toLowerCase()]=Z.toLowerCase(),X["Webkit"+z]="webkit"+Z,X["Moz"+z]="moz"+Z,X}function F3(z){if(Z$[z])return Z$[z];if(!m6[z])return z;var Z=m6[z],X;for(X in Z)if(Z.hasOwnProperty(X)&&X in eQ)return Z$[z]=Z[X];return z}function n0(z,Z){$G.set(z,Z),u2(Z,[z])}function aq(z){for(var Z=Oz,X=0;X<z.length;X++){var H=z[X];if(typeof H==="object"&&H!==null)if(C2(H)&&H.length===2&&typeof H[0]==="string"){if(Z!==Oz&&Z!==M$)return $$;Z=M$}else return $$;else{if(typeof H==="function"||typeof H==="string"&&50<H.length||Z!==Oz&&Z!==Y$)return $$;Z=Y$}}return Z}function hZ(z,Z,X,H){for(var $ in z)o0.call(z,$)&&$[0]!=="_"&&G4($,z[$],Z,X,H)}function G4(z,Z,X,H,$){switch(typeof Z){case"object":if(Z===null){Z="null";break}else{if(Z.$$typeof===v4){var Y=x(Z.type)||"…",M=Z.key;Z=Z.props;var J=Object.keys(Z),Q=J.length;if(M==null&&Q===0){Z="<"+Y+" />";break}if(3>H||Q===1&&J[0]==="children"&&M==null){Z="<"+Y+" … />";break}X.push([$+" ".repeat(H)+z,"<"+Y]),M!==null&&G4("key",M,X,H+1,$),z=!1;for(var G in Z)G==="children"?Z.children!=null&&(!C2(Z.children)||0<Z.children.length)&&(z=!0):o0.call(Z,G)&&G[0]!=="_"&&G4(G,Z[G],X,H+1,$);X.push(["",z?">…</"+Y+">":"/>"]);return}if(Y=Object.prototype.toString.call(Z),Y=Y.slice(8,Y.length-1),Y==="Array"){if(G=aq(Z),G===Y$||G===Oz){Z=JSON.stringify(Z);break}else if(G===M$){X.push([$+" ".repeat(H)+z,""]);for(z=0;z<Z.length;z++)Y=Z[z],G4(Y[0],Y[1],X,H+1,$);return}}if(Y==="Promise"){if(Z.status==="fulfilled"){if(Y=X.length,G4(z,Z.value,X,H,$),X.length>Y){X=X[Y],X[1]="Promise<"+(X[1]||"Object")+">";return}}else if(Z.status==="rejected"&&(Y=X.length,G4(z,Z.reason,X,H,$),X.length>Y)){X=X[Y],X[1]="Rejected Promise<"+X[1]+">";return}X.push([" ".repeat(H)+z,"Promise"]);return}Y==="Object"&&(G=Object.getPrototypeOf(Z))&&typeof G.constructor==="function"&&(Y=G.constructor.name),X.push([$+" ".repeat(H)+z,Y==="Object"?3>H?"":"…":Y]),3>H&&hZ(Z,X,H+1,$);return}case"function":Z=Z.name===""?"() => {}":Z.name+"() {}";break;case"string":Z=Z===TK?"…":JSON.stringify(Z);break;case"undefined":Z="undefined";break;case"boolean":Z=Z?"true":"false";break;default:Z=String(Z)}X.push([$+" ".repeat(H)+z,Z])}function oY(z,Z,X,H){var $=!0;for(M in z)M in Z||(X.push([Nz+" ".repeat(H)+M,"…"]),$=!1);for(var Y in Z)if(Y in z){var M=z[Y],J=Z[Y];if(M!==J){if(H===0&&Y==="children")$=" ".repeat(H)+Y,X.push([Nz+$,"…"],[Cz+$,"…"]);else{if(!(3<=H)){if(typeof M==="object"&&typeof J==="object"&&M!==null&&J!==null&&M.$$typeof===J.$$typeof)if(J.$$typeof===v4){if(M.type===J.type&&M.key===J.key){M=x(J.type)||"…",$=" ".repeat(H)+Y,M="<"+M+" … />",X.push([Nz+$,M],[Cz+$,M]),$=!1;continue}}else{var Q=Object.prototype.toString.call(M),G=Object.prototype.toString.call(J);if(Q===G&&(G==="[object Object]"||G==="[object Array]")){Q=[BG+" ".repeat(H)+Y,G==="[object Array]"?"Array":""],X.push(Q),G=X.length,oY(M,J,X,H+1)?G===X.length&&(Q[1]="Referentially unequal but deeply equal objects. Consider memoization."):$=!1;continue}}else if(typeof M==="function"&&typeof J==="function"&&M.name===J.name&&M.length===J.length&&(Q=Function.prototype.toString.call(M),G=Function.prototype.toString.call(J),Q===G)){M=J.name===""?"() => {}":J.name+"() {}",X.push([BG+" ".repeat(H)+Y,M+" Referentially unequal function closure. Consider memoization."]);continue}}G4(Y,M,X,H,Nz),G4(Y,J,X,H,Cz)}$=!1}}else X.push([Cz+" ".repeat(H)+Y,"…"]),$=!1;return $}function W0(z){g1=z&63?"Blocking":z&64?"Gesture":z&4194176?"Transition":z&62914560?"Suspense":z&2080374784?"Idle":"Other"}function U4(z,Z,X,H){X2&&(m5.start=Z,m5.end=X,r4.color="warning",r4.tooltipText=H,r4.properties=null,(z=z._debugTask)?z.run(performance.measure.bind(performance,H,m5)):performance.measure(H,m5))}function Q9(z,Z,X){U4(z,Z,X,"Reconnect")}function G9(z,Z,X,H,$){var Y=h(z);if(Y!==null&&X2){var{alternate:M,actualDuration:J}=z;if(M===null||M.child!==z.child)for(var Q=z.child;Q!==null;Q=Q.sibling)J-=Q.actualDuration;H=0.5>J?H?"tertiary-light":"primary-light":10>J?H?"tertiary":"primary":100>J?H?"tertiary-dark":"primary-dark":"error";var G=z.memoizedProps;J=z._debugTask,G!==null&&M!==null&&M.memoizedProps!==G?(Q=[vK],G=oY(M.memoizedProps,G,Q,0),1<Q.length&&(G&&!j5&&(M.lanes&$)===0&&100<z.actualDuration?(j5=!0,Q[0]=wK,r4.color="warning",r4.tooltipText=JG):(r4.color=H,r4.tooltipText=Y),r4.properties=Q,m5.start=Z,m5.end=X,J!=null?J.run(performance.measure.bind(performance,""+Y,m5)):performance.measure(""+Y,m5))):J!=null?J.run(console.timeStamp.bind(console,Y,Z,X,f0,void 0,H)):console.timeStamp(Y,Z,X,f0,void 0,H)}}function VZ(z,Z,X,H){if(X2){var $=h(z);if($!==null){for(var Y=null,M=[],J=0;J<H.length;J++){var Q=H[J];Y==null&&Q.source!==null&&(Y=Q.source._debugTask),Q=Q.value,M.push(["Error",typeof Q==="object"&&Q!==null&&typeof Q.message==="string"?String(Q.message):String(Q)])}z.key!==null&&G4("key",z.key,M,0,""),z.memoizedProps!==null&&hZ(z.memoizedProps,M,0,""),Y==null&&(Y=z._debugTask),z={start:Z,end:X,detail:{devtools:{color:"error",track:f0,tooltipText:z.tag===13?"Hydration failed":"Error boundary caught an error",properties:M}}},Y?Y.run(performance.measure.bind(performance,""+$,z)):performance.measure(""+$,z)}}}function q4(z,Z,X,H,$){if($!==null){if(X2){var Y=h(z);if(Y!==null){H=[];for(var M=0;M<$.length;M++){var J=$[M].value;H.push(["Error",typeof J==="object"&&J!==null&&typeof J.message==="string"?String(J.message):String(J)])}z.key!==null&&G4("key",z.key,H,0,""),z.memoizedProps!==null&&hZ(z.memoizedProps,H,0,""),Z={start:Z,end:X,detail:{devtools:{color:"error",track:f0,tooltipText:"A lifecycle or effect errored",properties:H}}},(z=z._debugTask)?z.run(performance.measure.bind(performance,""+Y,Z)):performance.measure(""+Y,Z)}}}else Y=h(z),Y!==null&&X2&&($=1>H?"secondary-light":100>H?"secondary":500>H?"secondary-dark":"error",(z=z._debugTask)?z.run(console.timeStamp.bind(console,Y,Z,X,f0,void 0,$)):console.timeStamp(Y,Z,X,f0,void 0,$))}function iq(z,Z,X,H){if(X2&&!(Z<=z)){var $=(X&738197653)===X?"tertiary-dark":"primary-dark";X=(X&536870912)===X?"Prepared":(X&201326741)===X?"Hydrated":"Render",H?H.run(console.timeStamp.bind(console,X,z,Z,g1,y1,$)):console.timeStamp(X,z,Z,g1,y1,$)}}function tY(z,Z,X,H){!X2||Z<=z||(X=(X&738197653)===X?"tertiary-dark":"primary-dark",H?H.run(console.timeStamp.bind(console,"Prewarm",z,Z,g1,y1,X)):console.timeStamp("Prewarm",z,Z,g1,y1,X))}function eY(z,Z,X,H){!X2||Z<=z||(X=(X&738197653)===X?"tertiary-dark":"primary-dark",H?H.run(console.timeStamp.bind(console,"Suspended",z,Z,g1,y1,X)):console.timeStamp("Suspended",z,Z,g1,y1,X))}function nq(z,Z,X,H,$,Y){if(X2&&!(Z<=z)){X=[];for(var M=0;M<H.length;M++){var J=H[M].value;X.push(["Recoverable Error",typeof J==="object"&&J!==null&&typeof J.message==="string"?String(J.message):String(J)])}z={start:z,end:Z,detail:{devtools:{color:"primary-dark",track:g1,trackGroup:y1,tooltipText:$?"Hydration Failed":"Recovered after Error",properties:X}}},Y?Y.run(performance.measure.bind(performance,"Recovered",z)):performance.measure("Recovered",z)}}function jZ(z,Z,X,H){!X2||Z<=z||(H?H.run(console.timeStamp.bind(console,"Errored",z,Z,g1,y1,"error")):console.timeStamp("Errored",z,Z,g1,y1,"error"))}function sq(z,Z,X,H){!X2||Z<=z||(H?H.run(console.timeStamp.bind(console,X,z,Z,g1,y1,"secondary-light")):console.timeStamp(X,z,Z,g1,y1,"secondary-light"))}function zM(z,Z,X,H,$){if(X2&&!(Z<=z)){for(var Y=[],M=0;M<X.length;M++){var J=X[M].value;Y.push(["Error",typeof J==="object"&&J!==null&&typeof J.message==="string"?String(J.message):String(J)])}z={start:z,end:Z,detail:{devtools:{color:"error",track:g1,trackGroup:y1,tooltipText:H?"Remaining Effects Errored":"Commit Errored",properties:Y}}},$?$.run(performance.measure.bind(performance,"Errored",z)):performance.measure("Errored",z)}}function N8(z,Z,X){!X2||Z<=z||(X?X.run(console.timeStamp.bind(console,"Animating",z,Z,g1,y1,"secondary-dark")):console.timeStamp("Animating",z,Z,g1,y1,"secondary-dark"))}function U9(){for(var z=D6,Z=B$=D6=0;Z<z;){var X=h0[Z];h0[Z++]=null;var H=h0[Z];h0[Z++]=null;var $=h0[Z];h0[Z++]=null;var Y=h0[Z];if(h0[Z++]=null,H!==null&&$!==null){var M=H.pending;M===null?$.next=$:($.next=M.next,M.next=$),H.pending=$}Y!==0&&ZM(X,$,Y)}}function q9(z,Z,X,H){h0[D6++]=z,h0[D6++]=Z,h0[D6++]=X,h0[D6++]=H,B$|=H,z.lanes|=H,z=z.alternate,z!==null&&(z.lanes|=H)}function mZ(z,Z,X,H){return q9(z,Z,X,H),L9(z)}function d2(z,Z){return q9(z,null,null,Z),L9(z)}function ZM(z,Z,X){z.lanes|=X;var H=z.alternate;H!==null&&(H.lanes|=X);for(var $=!1,Y=z.return;Y!==null;)Y.childLanes|=X,H=Y.alternate,H!==null&&(H.childLanes|=X),Y.tag===22&&(z=Y.stateNode,z===null||z._visibility&Q7||($=!0)),z=Y,Y=Y.return;return z.tag===3?(Y=z.stateNode,$&&Z!==null&&($=31-i2(X),z=Y.hiddenUpdates,H=z[$],H===null?z[$]=[Z]:H.push(Z),Z.lane=X|536870912),Y):null}function L9(z){if(j7>dK)throw i3=j7=0,m7=x$=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.");i3>cK&&(i3=0,m7=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.")),z.alternate===null&&(z.flags&4098)!==0&&_J(z);for(var Z=z,X=Z.return;X!==null;)Z.alternate===null&&(Z.flags&4098)!==0&&_J(z),Z=X,X=Z.return;return Z.tag===3?Z.stateNode:null}function A3(z){if(V0===null)return z;var Z=V0(z);return Z===void 0?z:Z.current}function DZ(z){if(V0===null)return z;var Z=V0(z);return Z===void 0?z!==null&&z!==void 0&&typeof z.render==="function"&&(Z=A3(z.render),z.render!==Z)?(Z={$$typeof:o8,render:Z},z.displayName!==void 0&&(Z.displayName=z.displayName),Z):z:Z.current}function XM(z,Z){if(V0===null)return!1;var X=z.elementType;Z=Z.type;var H=!1,$=typeof Z==="object"&&Z!==null?Z.$$typeof:null;switch(z.tag){case 1:typeof Z==="function"&&(H=!0);break;case 0:typeof Z==="function"?H=!0:$===I0&&(H=!0);break;case 11:$===o8?H=!0:$===I0&&(H=!0);break;case 14:case 15:$===Gz?H=!0:$===I0&&(H=!0);break;default:return!1}return H&&(z=V0(X),z!==void 0&&z===V0(Z))?!0:!1}function HM(z){V0!==null&&typeof WeakSet==="function"&&(E6===null&&(E6=new WeakSet),E6.add(z))}function $M(z,Z,X){do{var H=z,$=H.alternate,Y=H.child,M=H.sibling,J=H.tag;H=H.type;var Q=null;switch(J){case 0:case 15:case 1:Q=H;break;case 11:Q=H.render}if(V0===null)throw Error("Expected resolveFamily to be set during hot reload.");var G=!1;if(H=!1,Q!==null&&(Q=V0(Q),Q!==void 0&&(X.has(Q)?H=!0:Z.has(Q)&&(J===1?H=!0:G=!0))),E6!==null&&(E6.has(z)||$!==null&&E6.has($))&&(H=!0),H&&(z._debugNeedsRemount=!0),H||G)$=d2(z,2),$!==null&&G2($,z,2);if(Y===null||H||$M(Y,Z,X),M===null)break;z=M}while(1)}function rq(z,Z,X,H){this.tag=z,this.key=X,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=Z,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=H,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,QG||typeof Object.preventExtensions!=="function"||Object.preventExtensions(this)}function EZ(z){return z=z.prototype,!(!z||!z.isReactComponent)}function d4(z,Z){var X=z.alternate;switch(X===null?(X=w(z.tag,Z,z.key,z.mode),X.elementType=z.elementType,X.type=z.type,X.stateNode=z.stateNode,X._debugOwner=z._debugOwner,X._debugStack=z._debugStack,X._debugTask=z._debugTask,X._debugHookTypes=z._debugHookTypes,X.alternate=z,z.alternate=X):(X.pendingProps=Z,X.type=z.type,X.flags=0,X.subtreeFlags=0,X.deletions=null,X.actualDuration=-0,X.actualStartTime=-1.1),X.flags=z.flags&65011712,X.childLanes=z.childLanes,X.lanes=z.lanes,X.child=z.child,X.memoizedProps=z.memoizedProps,X.memoizedState=z.memoizedState,X.updateQueue=z.updateQueue,Z=z.dependencies,X.dependencies=Z===null?null:{lanes:Z.lanes,firstContext:Z.firstContext,_debugThenableState:Z._debugThenableState},X.sibling=z.sibling,X.index=z.index,X.ref=z.ref,X.refCleanup=z.refCleanup,X.selfBaseDuration=z.selfBaseDuration,X.treeBaseDuration=z.treeBaseDuration,X._debugInfo=z._debugInfo,X._debugNeedsRemount=z._debugNeedsRemount,X.tag){case 0:case 15:X.type=A3(z.type);break;case 1:X.type=A3(z.type);break;case 11:X.type=DZ(z.type)}return X}function YM(z,Z){z.flags&=65011714;var X=z.alternate;return X===null?(z.childLanes=0,z.lanes=Z,z.child=null,z.subtreeFlags=0,z.memoizedProps=null,z.memoizedState=null,z.updateQueue=null,z.dependencies=null,z.stateNode=null,z.selfBaseDuration=0,z.treeBaseDuration=0):(z.childLanes=X.childLanes,z.lanes=X.lanes,z.child=X.child,z.subtreeFlags=0,z.deletions=null,z.memoizedProps=X.memoizedProps,z.memoizedState=X.memoizedState,z.updateQueue=X.updateQueue,z.type=X.type,Z=X.dependencies,z.dependencies=Z===null?null:{lanes:Z.lanes,firstContext:Z.firstContext,_debugThenableState:Z._debugThenableState},z.selfBaseDuration=X.selfBaseDuration,z.treeBaseDuration=X.treeBaseDuration),z}function xZ(z,Z,X,H,$,Y){var M=0,J=z;if(typeof z==="function")EZ(z)&&(M=1),J=A3(J);else if(typeof z==="string")M=G1(),M=YW(z,X,M)?26:z==="html"||z==="head"||z==="body"?27:5;else z:switch(z){case gH:return Z=w(31,X,Z,$),Z.elementType=gH,Z.lanes=Y,Z;case w6:return P3(X.children,$,Y,Z);case Qz:M=8,$|=l2,$|=e0;break;case SH:return z=X,H=$,typeof z.id!=="string"&&console.error('Profiler must specify an "id" of type `string` as a prop. Received the type `%s` instead.',typeof z.id),Z=w(12,z,Z,H|C1),Z.elementType=SH,Z.lanes=Y,Z.stateNode={effectDuration:0,passiveEffectDuration:0},Z;case bH:return Z=w(13,X,Z,$),Z.elementType=bH,Z.lanes=Y,Z;case yH:return Z=w(19,X,Z,$),Z.elementType=yH,Z.lanes=Y,Z;default:if(typeof z==="object"&&z!==null)switch(z.$$typeof){case w4:M=10;break z;case kH:M=9;break z;case o8:M=11,J=DZ(J);break z;case Gz:M=14;break z;case I0:M=16,J=null;break z}if(J="",z===void 0||typeof z==="object"&&z!==null&&Object.keys(z).length===0)J+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.";z===null?X="null":C2(z)?X="array":z!==void 0&&z.$$typeof===v4?(X="<"+(x(z.type)||"Unknown")+" />",J=" Did you accidentally export a JSX literal instead of a component?"):X=typeof z,(M=H?i(H):null)&&(J+=`
|
|
72
|
+
|
|
73
|
+
Check the render method of \``+M+"`."),M=29,X=Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: "+(X+"."+J)),J=null}return Z=w(M,X,Z,$),Z.elementType=z,Z.type=J,Z.lanes=Y,Z._debugOwner=H,Z}function W9(z,Z,X){return Z=xZ(z.type,z.key,z.props,z._owner,Z,X),Z._debugOwner=z._owner,Z._debugStack=z._debugStack,Z._debugTask=z._debugTask,Z}function P3(z,Z,X,H){return z=w(7,z,H,Z),z.lanes=X,z}function uZ(z,Z,X){return z=w(6,z,null,Z),z.lanes=X,z}function MM(z){var Z=w(18,null,null,L1);return Z.stateNode=z,Z}function dZ(z,Z,X){return Z=w(4,z.children!==null?z.children:[],z.key,Z),Z.lanes=X,Z.stateNode={containerInfo:z.containerInfo,pendingChildren:null,implementation:z.implementation},Z}function K0(z,Z){if(typeof z==="object"&&z!==null){var X=J$.get(z);if(X!==void 0)return X;return Z={value:z,source:Z,stack:U0(Z)},J$.set(z,Z),Z}return{value:z,source:Z,stack:U0(Z)}}function c4(z,Z){A5(),x6[u6++]=G7,x6[u6++]=Tz,Tz=z,G7=Z}function BM(z,Z,X){A5(),j0[m0++]=t4,j0[m0++]=e4,j0[m0++]=f3,f3=z;var H=t4;z=e4;var $=32-i2(H)-1;H&=~(1<<$),X+=1;var Y=32-i2(Z)+$;if(30<Y){var M=$-$%5;Y=(H&(1<<M)-1).toString(32),H>>=M,$-=M,t4=1<<32-i2(Z)+$|X<<$|H,e4=Y+z}else t4=1<<Y|X<<$|H,e4=z}function cZ(z){A5(),z.return!==null&&(c4(z,1),BM(z,1,0))}function lZ(z){for(;z===Tz;)Tz=x6[--u6],x6[u6]=null,G7=x6[--u6],x6[u6]=null;for(;z===f3;)f3=j0[--m0],j0[m0]=null,e4=j0[--m0],j0[m0]=null,t4=j0[--m0],j0[m0]=null}function JM(){return A5(),f3!==null?{id:t4,overflow:e4}:null}function QM(z,Z){A5(),j0[m0++]=t4,j0[m0++]=e4,j0[m0++]=f3,t4=Z.id,e4=Z.overflow,f3=z}function A5(){h1||console.error("Expected to be hydrating. This is a bug in React. Please file an issue.")}function I3(z,Z){if(z.return===null){if(C0===null)C0={fiber:z,children:[],serverProps:void 0,serverTail:[],distanceFromLeaf:Z};else{if(C0.fiber!==z)throw Error("Saw multiple hydration diff roots in a pass. This is a bug in React.");C0.distanceFromLeaf>Z&&(C0.distanceFromLeaf=Z)}return C0}var X=I3(z.return,Z+1).children;if(0<X.length&&X[X.length-1].fiber===z)return X=X[X.length-1],X.distanceFromLeaf>Z&&(X.distanceFromLeaf=Z),X;return Z={fiber:z,children:[],serverProps:void 0,serverTail:[],distanceFromLeaf:Z},X.push(Z),Z}function GM(){h1&&console.error("We should not be hydrating here. This is a bug in React. Please file a bug.")}function K9(z,Z){f4||(z=I3(z,0),z.serverProps=null,Z!==null&&(Z=dJ(Z),z.serverTail.push(Z)))}function P5(z){var Z=1<arguments.length&&arguments[1]!==void 0?arguments[1]:!1,X="",H=C0;throw H!==null&&(C0=null,X=kZ(H)),C8(K0(Error("Hydration failed because the server rendered "+(Z?"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:
|
|
74
|
+
|
|
75
|
+
- A server/client branch \`if (typeof window !== 'undefined')\`.
|
|
76
|
+
- Variable input such as \`Date.now()\` or \`Math.random()\` which changes each time it's called.
|
|
77
|
+
- Date formatting in a user's locale which doesn't match the server.
|
|
78
|
+
- External changing data without sending a snapshot of it along with the HTML.
|
|
79
|
+
- Invalid HTML tag nesting.
|
|
80
|
+
|
|
81
|
+
It can also happen if the client has a browser extension installed which messes with the HTML before React loaded.
|
|
82
|
+
|
|
83
|
+
https://react.dev/link/hydration-mismatch`+X),z)),Q$}function UM(z){var{stateNode:Z,type:X,memoizedProps:H}=z;switch(Z[D2]=z,Z[n2]=H,GH(X,H),X){case"dialog":V1("cancel",Z),V1("close",Z);break;case"iframe":case"object":case"embed":V1("load",Z);break;case"video":case"audio":for(X=0;X<D7.length;X++)V1(D7[X],Z);break;case"source":V1("error",Z);break;case"img":case"image":case"link":V1("error",Z),V1("load",Z);break;case"details":V1("toggle",Z);break;case"input":F5("input",H),V1("invalid",Z),_Y(Z,H),FY(Z,H.value,H.defaultValue,H.checked,H.defaultChecked,H.type,H.name,!0);break;case"option":AY(Z,H);break;case"select":F5("select",H),V1("invalid",Z),IY(Z,H);break;case"textarea":F5("textarea",H),V1("invalid",Z),OY(Z,H),CY(Z,H.value,H.defaultValue,H.children)}X=H.children,typeof X!=="string"&&typeof X!=="number"&&typeof X!=="bigint"||Z.textContent===""+X||H.suppressHydrationWarning===!0||SJ(Z.textContent,X)?(H.popover!=null&&(V1("beforetoggle",Z),V1("toggle",Z)),H.onScroll!=null&&V1("scroll",Z),H.onScrollEnd!=null&&V1("scrollend",Z),H.onClick!=null&&(Z.onclick=u4),Z=!0):Z=!1,Z||P5(z,!0)}function qM(z){for(E2=z.return;E2;)switch(E2.tag){case 5:case 31:case 13:D0=!1;return;case 27:case 3:D0=!0;return;default:E2=E2.return}}function U6(z){if(z!==E2)return!1;if(!h1)return qM(z),h1=!0,!1;var Z=z.tag,X;if(X=Z!==3&&Z!==27){if(X=Z===5)X=z.type,X=!(X!=="form"&&X!=="button")||KH(z.type,z.memoizedProps);X=!X}if(X&&H2){for(X=H2;X;){var H=I3(z,0),$=dJ(X);H.serverTail.push($),X=$.type==="Suspense"?AH(X):P0(X.nextSibling)}P5(z)}if(qM(z),Z===13){if(z=z.memoizedState,z=z!==null?z.dehydrated:null,!z)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");H2=AH(z)}else if(Z===31){if(z=z.memoizedState,z=z!==null?z.dehydrated:null,!z)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");H2=AH(z)}else Z===27?(Z=H2,b5(z.type)?(z=t$,t$=null,H2=z):H2=Z):H2=E2?P0(z.stateNode.nextSibling):null;return!0}function O3(){H2=E2=null,f4=h1=!1}function pZ(){var z=E5;return z!==null&&(z0===null?z0=z:z0.push.apply(z0,z),E5=null),z}function C8(z){E5===null?E5=[z]:E5.push(z)}function aZ(){var z=C0;if(z!==null){C0=null;for(var Z=kZ(z);0<z.children.length;)z=z.children[0];X1(z.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:
|
|
84
|
+
|
|
85
|
+
- A server/client branch \`if (typeof window !== 'undefined')\`.
|
|
86
|
+
- Variable input such as \`Date.now()\` or \`Math.random()\` which changes each time it's called.
|
|
87
|
+
- Date formatting in a user's locale which doesn't match the server.
|
|
88
|
+
- External changing data without sending a snapshot of it along with the HTML.
|
|
89
|
+
- Invalid HTML tag nesting.
|
|
90
|
+
|
|
91
|
+
It can also happen if the client has a browser extension installed which messes with the HTML before React loaded.
|
|
92
|
+
|
|
93
|
+
%s%s`,"https://react.dev/link/hydration-mismatch",Z)})}}function R9(){d6=vz=null,c6=!1}function I5(z,Z,X){f1(G$,Z._currentValue,z),Z._currentValue=X,f1(U$,Z._currentRenderer,z),Z._currentRenderer!==void 0&&Z._currentRenderer!==null&&Z._currentRenderer!==UG&&console.error("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),Z._currentRenderer=UG}function l4(z,Z){z._currentValue=G$.current;var X=U$.current;P1(U$,Z),z._currentRenderer=X,P1(G$,Z)}function iZ(z,Z,X){for(;z!==null;){var H=z.alternate;if((z.childLanes&Z)!==Z?(z.childLanes|=Z,H!==null&&(H.childLanes|=Z)):H!==null&&(H.childLanes&Z)!==Z&&(H.childLanes|=Z),z===X)break;z=z.return}z!==X&&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 nZ(z,Z,X,H){var $=z.child;$!==null&&($.return=z);for(;$!==null;){var Y=$.dependencies;if(Y!==null){var M=$.child;Y=Y.firstContext;z:for(;Y!==null;){var J=Y;Y=$;for(var Q=0;Q<Z.length;Q++)if(J.context===Z[Q]){Y.lanes|=X,J=Y.alternate,J!==null&&(J.lanes|=X),iZ(Y.return,X,z),H||(M=null);break z}Y=J.next}}else if($.tag===18){if(M=$.return,M===null)throw Error("We just came from a parent so we must have had a parent. This is a bug in React.");M.lanes|=X,Y=M.alternate,Y!==null&&(Y.lanes|=X),iZ(M,X,z),M=null}else M=$.child;if(M!==null)M.return=$;else for(M=$;M!==null;){if(M===z){M=null;break}if($=M.sibling,$!==null){$.return=M.return,M=$;break}M=M.return}$=M}}function q6(z,Z,X,H){z=null;for(var $=Z,Y=!1;$!==null;){if(!Y){if(($.flags&524288)!==0)Y=!0;else if(($.flags&262144)!==0)break}if($.tag===10){var M=$.alternate;if(M===null)throw Error("Should have a current fiber. This is a bug in React.");if(M=M.memoizedProps,M!==null){var J=$.type;r2($.pendingProps.value,M.value)||(z!==null?z.push(J):z=[J])}}else if($===Uz.current){if(M=$.alternate,M===null)throw Error("Should have a current fiber. This is a bug in React.");M.memoizedState.memoizedState!==$.memoizedState.memoizedState&&(z!==null?z.push(c7):z=[c7])}$=$.return}z!==null&&nZ(Z,z,X,H),Z.flags|=262144}function _9(z){for(z=z.firstContext;z!==null;){if(!r2(z.context._currentValue,z.memoizedValue))return!0;z=z.next}return!1}function N3(z){vz=z,d6=null,z=z.dependencies,z!==null&&(z.firstContext=null)}function Y2(z){return c6&&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()."),LM(vz,z)}function F9(z,Z){return vz===null&&N3(z),LM(z,Z)}function LM(z,Z){var X=Z._currentValue;if(Z={context:Z,memoizedValue:X,next:null},d6===null){if(z===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().");d6=Z,z.dependencies={lanes:0,firstContext:Z,_debugThenableState:null},z.flags|=524288}else d6=d6.next=Z;return X}function sZ(){return{controller:new bK,data:new Map,refCount:0}}function C3(z){z.controller.signal.aborted&&console.warn("A cache instance was retained after it was already freed. This likely indicates a bug in React."),z.refCount++}function T8(z){z.refCount--,0>z.refCount&&console.warn("A cache instance was released after it was already freed. This likely indicates a bug in React."),z.refCount===0&&yK(gK,function(){z.controller.abort()})}function L4(z,Z,X){if((z&127)!==0)0>h4&&(h4=F2(),q7=wz(Z),q$=Z,X!=null&&(L$=h(X)),(m1&(v2|w0))!==f2&&(U2=!0,d5=U7),z=a8(),Z=p8(),z!==l6||Z!==L7?l6=-1.1:Z!==null&&(d5=U7),V3=z,L7=Z);else if((z&4194048)!==0&&0>E0&&(E0=F2(),W7=wz(Z),qG=Z,X!=null&&(LG=h(X)),0>X5)){if(z=a8(),Z=p8(),z!==l5||Z!==j3)l5=-1.1;c5=z,j3=Z}}function oq(z){if(0>h4){h4=F2(),q7=z._debugTask!=null?z._debugTask:null,(m1&(v2|w0))!==f2&&(d5=U7);var Z=a8(),X=p8();Z!==l6||X!==L7?l6=-1.1:X!==null&&(d5=U7),V3=Z,L7=X}if(0>E0&&(E0=F2(),W7=z._debugTask!=null?z._debugTask:null,0>X5)){if(z=a8(),Z=p8(),z!==l5||Z!==j3)l5=-1.1;c5=z,j3=Z}}function p4(){var z=h3;return h3=0,z}function A9(z){var Z=h3;return h3=z,Z}function v8(z){var Z=h3;return h3+=z,Z}function P9(){U1=Q1=-1.1}function R0(){var z=Q1;return Q1=-1.1,z}function _0(z){0<=z&&(Q1=z)}function W4(){var z=B2;return B2=-0,z}function K4(z){0<=z&&(B2=z)}function R4(){var z=M2;return M2=null,z}function _4(){var z=U2;return U2=!1,z}function rZ(z){o2=F2(),0>z.actualStartTime&&(z.actualStartTime=o2)}function oZ(z){if(0<=o2){var Z=F2()-o2;z.actualDuration+=Z,z.selfBaseDuration=Z,o2=-1}}function WM(z){if(0<=o2){var Z=F2()-o2;z.actualDuration+=Z,o2=-1}}function F4(){if(0<=o2){var z=F2(),Z=z-o2;o2=-1,h3+=Z,B2+=Z,U1=z}}function KM(z){M2===null&&(M2=[]),M2.push(z),Z5===null&&(Z5=[]),Z5.push(z)}function A4(){o2=F2(),0>Q1&&(Q1=o2)}function w8(z){for(var Z=z.child;Z;)z.actualDuration+=Z.actualDuration,Z=Z.sibling}function tq(z,Z){if(R7===null){var X=R7=[];K$=0,m3=MH(),p6={status:"pending",value:void 0,then:function(H){X.push(H)}}}return K$++,Z.then(RM,RM),Z}function RM(){if(--K$===0&&(-1<E0||(X5=-1.1),R7!==null)){p6!==null&&(p6.status="fulfilled");var z=R7;R7=null,m3=0,p6=null;for(var Z=0;Z<z.length;Z++)(0,z[Z])()}}function eq(z,Z){var X=[],H={status:"pending",value:null,reason:null,then:function($){X.push($)}};return z.then(function(){H.status="fulfilled",H.value=Z;for(var $=0;$<X.length;$++)(0,X[$])(Z)},function($){H.status="rejected",H.reason=$;for($=0;$<X.length;$++)(0,X[$])(void 0)}),H}function tZ(){var z=D3.current;return z!==null?z:t1.pooledCache}function I9(z,Z){Z===null?f1(D3,D3.current,z):f1(D3,Z.pool,z)}function _M(){var z=tZ();return z===null?null:{parent:_2._currentValue,pool:z}}function FM(){return{didWarnAboutUncachedPromise:!1,thenables:[]}}function AM(z){return z=z.status,z==="fulfilled"||z==="rejected"}function PM(z,Z,X){g.actQueue!==null&&(g.didUsePromise=!0);var H=z.thenables;if(X=H[X],X===void 0?H.push(Z):X!==Z&&(z.didWarnAboutUncachedPromise||(z.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.")),Z.then(u4,u4),Z=X),Z._debugInfo===void 0){z=performance.now(),H=Z.displayName;var $={name:typeof H==="string"?H:"Promise",start:z,end:z,value:Z};Z._debugInfo=[{awaited:$}],Z.status!=="fulfilled"&&Z.status!=="rejected"&&(z=function(){$.end=performance.now()},Z.then(z,z))}switch(Z.status){case"fulfilled":return Z.value;case"rejected":throw z=Z.reason,OM(z),z;default:if(typeof Z.status==="string")Z.then(u4,u4);else{if(z=t1,z!==null&&100<z.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.");z=Z,z.status="pending",z.then(function(Y){if(Z.status==="pending"){var M=Z;M.status="fulfilled",M.value=Y}},function(Y){if(Z.status==="pending"){var M=Z;M.status="rejected",M.reason=Y}})}switch(Z.status){case"fulfilled":return Z.value;case"rejected":throw z=Z.reason,OM(z),z}throw x3=Z,N7=!0,a6}}function O5(z){try{return jK(z)}catch(Z){if(Z!==null&&typeof Z==="object"&&typeof Z.then==="function")throw x3=Z,N7=!0,a6;throw Z}}function IM(){if(x3===null)throw Error("Expected a suspended thenable. This is a bug in React. Please file an issue.");var z=x3;return x3=null,N7=!1,z}function OM(z){if(z===a6||z===Vz)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 V2(z){var Z=T1;return z!=null&&(T1=Z===null?z:Z.concat(z)),Z}function eZ(){var z=T1;if(z!=null){for(var Z=z.length-1;0<=Z;Z--)if(z[Z].name!=null){var X=z[Z].debugTask;if(X!=null)return X}}return null}function O9(z,Z,X){for(var H=Object.keys(z.props),$=0;$<H.length;$++){var Y=H[$];if(Y!=="children"&&Y!=="key"){Z===null&&(Z=W9(z,X.mode,0),Z._debugInfo=T1,Z.return=X),X1(Z,function(M){console.error("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",M)},Y);break}}}function N9(z){var Z=C7;return C7+=1,i6===null&&(i6=FM()),PM(i6,z,Z)}function S8(z,Z){Z=Z.props.ref,z.ref=Z!==void 0?Z:null}function NM(z,Z){if(Z.$$typeof===KW)throw Error(`A React Element from an older version of React was rendered. This is not supported. It can happen if:
|
|
94
|
+
- Multiple copies of the "react" package is used.
|
|
95
|
+
- A library pre-bundled an old copy of "react" or "react/jsx-runtime".
|
|
96
|
+
- A compiler tries to "inline" JSX instead of using the runtime.`);throw z=Object.prototype.toString.call(Z),Error("Objects are not valid as a React child (found: "+(z==="[object Object]"?"object with keys {"+Object.keys(Z).join(", ")+"}":z)+"). If you meant to render a collection of children, use an array instead.")}function C9(z,Z){var X=eZ();X!==null?X.run(NM.bind(null,z,Z)):NM(z,Z)}function CM(z,Z){var X=h(z)||"Component";fG[X]||(fG[X]=!0,Z=Z.displayName||Z.name||"Component",z.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.
|
|
97
|
+
root.render(%s)`,Z,Z,Z):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.
|
|
98
|
+
<%s>{%s}</%s>`,Z,Z,X,Z,X))}function T9(z,Z){var X=eZ();X!==null?X.run(CM.bind(null,z,Z)):CM(z,Z)}function TM(z,Z){var X=h(z)||"Component";hG[X]||(hG[X]=!0,Z=String(Z),z.tag===3?console.error(`Symbols are not valid as a React child.
|
|
99
|
+
root.render(%s)`,Z):console.error(`Symbols are not valid as a React child.
|
|
100
|
+
<%s>%s</%s>`,X,Z,X))}function v9(z,Z){var X=eZ();X!==null?X.run(TM.bind(null,z,Z)):TM(z,Z)}function vM(z){function Z(W,R){if(z){var F=W.deletions;F===null?(W.deletions=[R],W.flags|=16):F.push(R)}}function X(W,R){if(!z)return null;for(;R!==null;)Z(W,R),R=R.sibling;return null}function H(W){for(var R=new Map;W!==null;)W.key!==null?R.set(W.key,W):R.set(W.index,W),W=W.sibling;return R}function $(W,R){return W=d4(W,R),W.index=0,W.sibling=null,W}function Y(W,R,F){if(W.index=F,!z)return W.flags|=1048576,R;if(F=W.alternate,F!==null)return F=F.index,F<R?(W.flags|=67108866,R):F;return W.flags|=67108866,R}function M(W){return z&&W.alternate===null&&(W.flags|=67108866),W}function J(W,R,F,j){if(R===null||R.tag!==6)return R=uZ(F,W.mode,j),R.return=W,R._debugOwner=W,R._debugTask=W._debugTask,R._debugInfo=T1,R;return R=$(R,F),R.return=W,R._debugInfo=T1,R}function Q(W,R,F,j){var e=F.type;if(e===w6)return R=A(W,R,F.props.children,j,F.key),O9(F,R,W),R;if(R!==null&&(R.elementType===e||XM(R,F)||typeof e==="object"&&e!==null&&e.$$typeof===I0&&O5(e)===R.type))return R=$(R,F.props),S8(R,F),R.return=W,R._debugOwner=F._owner,R._debugInfo=T1,R;return R=W9(F,W.mode,j),S8(R,F),R.return=W,R._debugInfo=T1,R}function G(W,R,F,j){if(R===null||R.tag!==4||R.stateNode.containerInfo!==F.containerInfo||R.stateNode.implementation!==F.implementation)return R=dZ(F,W.mode,j),R.return=W,R._debugInfo=T1,R;return R=$(R,F.children||[]),R.return=W,R._debugInfo=T1,R}function A(W,R,F,j,e){if(R===null||R.tag!==7)return R=P3(F,W.mode,j,e),R.return=W,R._debugOwner=W,R._debugTask=W._debugTask,R._debugInfo=T1,R;return R=$(R,F),R.return=W,R._debugInfo=T1,R}function I(W,R,F){if(typeof R==="string"&&R!==""||typeof R==="number"||typeof R==="bigint")return R=uZ(""+R,W.mode,F),R.return=W,R._debugOwner=W,R._debugTask=W._debugTask,R._debugInfo=T1,R;if(typeof R==="object"&&R!==null){switch(R.$$typeof){case v4:return F=W9(R,W.mode,F),S8(F,R),F.return=W,W=V2(R._debugInfo),F._debugInfo=T1,T1=W,F;case v6:return R=dZ(R,W.mode,F),R.return=W,R._debugInfo=T1,R;case I0:var j=V2(R._debugInfo);return R=O5(R),W=I(W,R,F),T1=j,W}if(C2(R)||a(R))return F=P3(R,W.mode,F,null),F.return=W,F._debugOwner=W,F._debugTask=W._debugTask,W=V2(R._debugInfo),F._debugInfo=T1,T1=W,F;if(typeof R.then==="function")return j=V2(R._debugInfo),W=I(W,N9(R),F),T1=j,W;if(R.$$typeof===w4)return I(W,F9(W,R),F);C9(W,R)}return typeof R==="function"&&T9(W,R),typeof R==="symbol"&&v9(W,R),null}function K(W,R,F,j){var e=R!==null?R.key:null;if(typeof F==="string"&&F!==""||typeof F==="number"||typeof F==="bigint")return e!==null?null:J(W,R,""+F,j);if(typeof F==="object"&&F!==null){switch(F.$$typeof){case v4:return F.key===e?(e=V2(F._debugInfo),W=Q(W,R,F,j),T1=e,W):null;case v6:return F.key===e?G(W,R,F,j):null;case I0:return e=V2(F._debugInfo),F=O5(F),W=K(W,R,F,j),T1=e,W}if(C2(F)||a(F)){if(e!==null)return null;return e=V2(F._debugInfo),W=A(W,R,F,j,null),T1=e,W}if(typeof F.then==="function")return e=V2(F._debugInfo),W=K(W,R,N9(F),j),T1=e,W;if(F.$$typeof===w4)return K(W,R,F9(W,F),j);C9(W,F)}return typeof F==="function"&&T9(W,F),typeof F==="symbol"&&v9(W,F),null}function S(W,R,F,j,e){if(typeof j==="string"&&j!==""||typeof j==="number"||typeof j==="bigint")return W=W.get(F)||null,J(R,W,""+j,e);if(typeof j==="object"&&j!==null){switch(j.$$typeof){case v4:return F=W.get(j.key===null?F:j.key)||null,W=V2(j._debugInfo),R=Q(R,F,j,e),T1=W,R;case v6:return W=W.get(j.key===null?F:j.key)||null,G(R,W,j,e);case I0:var K1=V2(j._debugInfo);return j=O5(j),R=S(W,R,F,j,e),T1=K1,R}if(C2(j)||a(j))return F=W.get(F)||null,W=V2(j._debugInfo),R=A(R,F,j,e,null),T1=W,R;if(typeof j.then==="function")return K1=V2(j._debugInfo),R=S(W,R,F,N9(j),e),T1=K1,R;if(j.$$typeof===w4)return S(W,R,F,F9(R,j),e);C9(R,j)}return typeof j==="function"&&T9(R,j),typeof j==="symbol"&&v9(R,j),null}function s(W,R,F,j){if(typeof F!=="object"||F===null)return j;switch(F.$$typeof){case v4:case v6:P(W,R,F);var e=F.key;if(typeof e!=="string")break;if(j===null){j=new Set,j.add(e);break}if(!j.has(e)){j.add(e);break}X1(R,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.",e)});break;case I0:F=O5(F),s(W,R,F,j)}return j}function Z1(W,R,F,j){for(var e=null,K1=null,B1=null,M1=R,O1=R=0,$2=null;M1!==null&&O1<F.length;O1++){M1.index>O1?($2=M1,M1=null):$2=M1.sibling;var R2=K(W,M1,F[O1],j);if(R2===null){M1===null&&(M1=$2);break}e=s(W,R2,F[O1],e),z&&M1&&R2.alternate===null&&Z(W,M1),R=Y(R2,R,O1),B1===null?K1=R2:B1.sibling=R2,B1=R2,M1=$2}if(O1===F.length)return X(W,M1),h1&&c4(W,O1),K1;if(M1===null){for(;O1<F.length;O1++)M1=I(W,F[O1],j),M1!==null&&(e=s(W,M1,F[O1],e),R=Y(M1,R,O1),B1===null?K1=M1:B1.sibling=M1,B1=M1);return h1&&c4(W,O1),K1}for(M1=H(M1);O1<F.length;O1++)$2=S(M1,W,O1,F[O1],j),$2!==null&&(e=s(W,$2,F[O1],e),z&&$2.alternate!==null&&M1.delete($2.key===null?O1:$2.key),R=Y($2,R,O1),B1===null?K1=$2:B1.sibling=$2,B1=$2);return z&&M1.forEach(function(U5){return Z(W,U5)}),h1&&c4(W,O1),K1}function Z2(W,R,F,j){if(F==null)throw Error("An iterable object provided no iterator.");for(var e=null,K1=null,B1=R,M1=R=0,O1=null,$2=null,R2=F.next();B1!==null&&!R2.done;M1++,R2=F.next()){B1.index>M1?(O1=B1,B1=null):O1=B1.sibling;var U5=K(W,B1,R2.value,j);if(U5===null){B1===null&&(B1=O1);break}$2=s(W,U5,R2.value,$2),z&&B1&&U5.alternate===null&&Z(W,B1),R=Y(U5,R,M1),K1===null?e=U5:K1.sibling=U5,K1=U5,B1=O1}if(R2.done)return X(W,B1),h1&&c4(W,M1),e;if(B1===null){for(;!R2.done;M1++,R2=F.next())B1=I(W,R2.value,j),B1!==null&&($2=s(W,B1,R2.value,$2),R=Y(B1,R,M1),K1===null?e=B1:K1.sibling=B1,K1=B1);return h1&&c4(W,M1),e}for(B1=H(B1);!R2.done;M1++,R2=F.next())O1=S(B1,W,M1,R2.value,j),O1!==null&&($2=s(W,O1,R2.value,$2),z&&O1.alternate!==null&&B1.delete(O1.key===null?M1:O1.key),R=Y(O1,R,M1),K1===null?e=O1:K1.sibling=O1,K1=O1);return z&&B1.forEach(function(MR){return Z(W,MR)}),h1&&c4(W,M1),e}function j1(W,R,F,j){if(typeof F==="object"&&F!==null&&F.type===w6&&F.key===null&&(O9(F,null,W),F=F.props.children),typeof F==="object"&&F!==null){switch(F.$$typeof){case v4:var e=V2(F._debugInfo);z:{for(var K1=F.key;R!==null;){if(R.key===K1){if(K1=F.type,K1===w6){if(R.tag===7){X(W,R.sibling),j=$(R,F.props.children),j.return=W,j._debugOwner=F._owner,j._debugInfo=T1,O9(F,j,W),W=j;break z}}else if(R.elementType===K1||XM(R,F)||typeof K1==="object"&&K1!==null&&K1.$$typeof===I0&&O5(K1)===R.type){X(W,R.sibling),j=$(R,F.props),S8(j,F),j.return=W,j._debugOwner=F._owner,j._debugInfo=T1,W=j;break z}X(W,R);break}else Z(W,R);R=R.sibling}F.type===w6?(j=P3(F.props.children,W.mode,j,F.key),j.return=W,j._debugOwner=W,j._debugTask=W._debugTask,j._debugInfo=T1,O9(F,j,W),W=j):(j=W9(F,W.mode,j),S8(j,F),j.return=W,j._debugInfo=T1,W=j)}return W=M(W),T1=e,W;case v6:z:{e=F;for(F=e.key;R!==null;){if(R.key===F)if(R.tag===4&&R.stateNode.containerInfo===e.containerInfo&&R.stateNode.implementation===e.implementation){X(W,R.sibling),j=$(R,e.children||[]),j.return=W,W=j;break z}else{X(W,R);break}else Z(W,R);R=R.sibling}j=dZ(e,W.mode,j),j.return=W,W=j}return M(W);case I0:return e=V2(F._debugInfo),F=O5(F),W=j1(W,R,F,j),T1=e,W}if(C2(F))return e=V2(F._debugInfo),W=Z1(W,R,F,j),T1=e,W;if(a(F)){if(e=V2(F._debugInfo),K1=a(F),typeof K1!=="function")throw Error("An object is not an iterable. This error is likely caused by a bug in React. Please file an issue.");var B1=K1.call(F);if(B1===F){if(W.tag!==0||Object.prototype.toString.call(W.type)!=="[object GeneratorFunction]"||Object.prototype.toString.call(B1)!=="[object Generator]")yG||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."),yG=!0}else F.entries!==K1||A$||(console.error("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),A$=!0);return W=Z2(W,R,B1,j),T1=e,W}if(typeof F.then==="function")return e=V2(F._debugInfo),W=j1(W,R,N9(F),j),T1=e,W;if(F.$$typeof===w4)return j1(W,R,F9(W,F),j);C9(W,F)}if(typeof F==="string"&&F!==""||typeof F==="number"||typeof F==="bigint")return e=""+F,R!==null&&R.tag===6?(X(W,R.sibling),j=$(R,e),j.return=W,W=j):(X(W,R),j=uZ(e,W.mode,j),j.return=W,j._debugOwner=W,j._debugTask=W._debugTask,j._debugInfo=T1,W=j),M(W);return typeof F==="function"&&T9(W,F),typeof F==="symbol"&&v9(W,F),X(W,R)}return function(W,R,F,j){var e=T1;T1=null;try{C7=0;var K1=j1(W,R,F,j);return i6=null,K1}catch($2){if($2===a6||$2===Vz)throw $2;var B1=w(29,$2,null,W.mode);B1.lanes=j,B1.return=W;var M1=B1._debugInfo=T1;if(B1._debugOwner=W._debugOwner,B1._debugTask=W._debugTask,M1!=null){for(var O1=M1.length-1;0<=O1;O1--)if(typeof M1[O1].stack==="string"){B1._debugOwner=M1[O1],B1._debugTask=M1[O1].debugTask;break}}return B1}finally{T1=e}}}function wM(z,Z){var X=C2(z);return z=!X&&typeof a(z)==="function",X||z?(X=X?"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>",X,Z,X),!1):!0}function zX(z){z.updateQueue={baseState:z.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function ZX(z,Z){z=z.updateQueue,Z.updateQueue===z&&(Z.updateQueue={baseState:z.baseState,firstBaseUpdate:z.firstBaseUpdate,lastBaseUpdate:z.lastBaseUpdate,shared:z.shared,callbacks:null})}function N5(z){return{lane:z,tag:jG,payload:null,callback:null,next:null}}function C5(z,Z,X){var H=z.updateQueue;if(H===null)return null;if(H=H.shared,I$===H&&!EG){var $=h(z);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.
|
|
101
|
+
|
|
102
|
+
Please update the following component: %s`,$),EG=!0}if((m1&v2)!==f2)return $=H.pending,$===null?Z.next=Z:(Z.next=$.next,$.next=Z),H.pending=Z,Z=L9(z),ZM(z,null,X),Z;return q9(z,H,Z,X),L9(z)}function k8(z,Z,X){if(Z=Z.updateQueue,Z!==null&&(Z=Z.shared,(X&4194048)!==0)){var H=Z.lanes;H&=z.pendingLanes,X|=H,Z.lanes=X,L3(z,X)}}function w9(z,Z){var{updateQueue:X,alternate:H}=z;if(H!==null&&(H=H.updateQueue,X===H)){var $=null,Y=null;if(X=X.firstBaseUpdate,X!==null){do{var M={lane:X.lane,tag:X.tag,payload:X.payload,callback:null,next:null};Y===null?$=Y=M:Y=Y.next=M,X=X.next}while(X!==null);Y===null?$=Y=Z:Y=Y.next=Z}else $=Y=Z;X={baseState:H.baseState,firstBaseUpdate:$,lastBaseUpdate:Y,shared:H.shared,callbacks:H.callbacks},z.updateQueue=X;return}z=X.lastBaseUpdate,z===null?X.firstBaseUpdate=Z:z.next=Z,X.lastBaseUpdate=Z}function b8(){if(O$){var z=p6;if(z!==null)throw z}}function y8(z,Z,X,H){O$=!1;var $=z.updateQueue;p5=!1,I$=$.shared;var{firstBaseUpdate:Y,lastBaseUpdate:M}=$,J=$.shared.pending;if(J!==null){$.shared.pending=null;var Q=J,G=Q.next;Q.next=null,M===null?Y=G:M.next=G,M=Q;var A=z.alternate;A!==null&&(A=A.updateQueue,J=A.lastBaseUpdate,J!==M&&(J===null?A.firstBaseUpdate=G:J.next=G,A.lastBaseUpdate=Q))}if(Y!==null){var I=$.baseState;M=0,A=G=Q=null,J=Y;do{var K=J.lane&-536870913,S=K!==J.lane;if(S?(v1&K)===K:(H&K)===K){K!==0&&K===m3&&(O$=!0),A!==null&&(A=A.next={lane:0,tag:J.tag,payload:J.payload,callback:null,next:null});z:{K=z;var s=J,Z1=Z,Z2=X;switch(s.tag){case mG:if(s=s.payload,typeof s==="function"){c6=!0;var j1=s.call(Z2,I,Z1);if(K.mode&l2){e1(!0);try{s.call(Z2,I,Z1)}finally{e1(!1)}}c6=!1,I=j1;break z}I=s;break z;case P$:K.flags=K.flags&-65537|128;case jG:if(j1=s.payload,typeof j1==="function"){if(c6=!0,s=j1.call(Z2,I,Z1),K.mode&l2){e1(!0);try{j1.call(Z2,I,Z1)}finally{e1(!1)}}c6=!1}else s=j1;if(s===null||s===void 0)break z;I=b1({},I,s);break z;case DG:p5=!0}}K=J.callback,K!==null&&(z.flags|=64,S&&(z.flags|=8192),S=$.callbacks,S===null?$.callbacks=[K]:S.push(K))}else S={lane:K,tag:J.tag,payload:J.payload,callback:J.callback,next:null},A===null?(G=A=S,Q=I):A=A.next=S,M|=K;if(J=J.next,J===null)if(J=$.shared.pending,J===null)break;else S=J,J=S.next,S.next=null,$.lastBaseUpdate=S,$.shared.pending=null}while(1);A===null&&(Q=I),$.baseState=Q,$.firstBaseUpdate=G,$.lastBaseUpdate=A,Y===null&&($.shared.lanes=0),n5|=M,z.lanes=M,z.memoizedState=I}I$=null}function SM(z,Z){if(typeof z!=="function")throw Error("Invalid argument passed as callback. Expected a function. Instead received: "+z);z.call(Z)}function zL(z,Z){var X=z.shared.hiddenCallbacks;if(X!==null)for(z.shared.hiddenCallbacks=null,z=0;z<X.length;z++)SM(X[z],Z)}function kM(z,Z){var X=z.callbacks;if(X!==null)for(z.callbacks=null,z=0;z<X.length;z++)SM(X[z],Z)}function bM(z,Z){var X=m4;f1(mz,X,z),f1(n6,Z,z),m4=X|Z.baseLanes}function XX(z){f1(mz,m4,z),f1(n6,n6.current,z)}function HX(z){m4=mz.current,P1(n6,z),P1(mz,z)}function T5(z){var Z=z.alternate;f1(K2,K2.current&s6,z),f1(T0,z,z),x0===null&&(Z===null||n6.current!==null?x0=z:Z.memoizedState!==null&&(x0=z))}function $X(z){f1(K2,K2.current,z),f1(T0,z,z),x0===null&&(x0=z)}function yM(z){z.tag===22?(f1(K2,K2.current,z),f1(T0,z,z),x0===null&&(x0=z)):v5(z)}function v5(z){f1(K2,K2.current,z),f1(T0,T0.current,z)}function F0(z){P1(T0,z),x0===z&&(x0=null),P1(K2,z)}function S9(z){for(var Z=z;Z!==null;){if(Z.tag===13){var X=Z.memoizedState;if(X!==null&&(X=X.dehydrated,X===null||_H(X)||FH(X)))return Z}else if(Z.tag===19&&(Z.memoizedProps.revealOrder==="forwards"||Z.memoizedProps.revealOrder==="backwards"||Z.memoizedProps.revealOrder==="unstable_legacy-backwards"||Z.memoizedProps.revealOrder==="together")){if((Z.flags&128)!==0)return Z}else if(Z.child!==null){Z.child.return=Z,Z=Z.child;continue}if(Z===z)break;for(;Z.sibling===null;){if(Z.return===null||Z.return===z)return null;Z=Z.return}Z.sibling.return=Z.return,Z=Z.sibling}return null}function k1(){var z=y;d0===null?d0=[z]:d0.push(z)}function c(){var z=y;if(d0!==null&&(M5++,d0[M5]!==z)){var Z=h(W1);if(!xG.has(Z)&&(xG.add(Z),d0!==null)){for(var X="",H=0;H<=M5;H++){var $=d0[H],Y=H===M5?z:$;for($=H+1+". "+$;30>$.length;)$+=" ";$+=Y+`
|
|
103
|
+
`,X+=$}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
|
|
104
|
+
|
|
105
|
+
Previous render Next render
|
|
106
|
+
------------------------------------------------------
|
|
107
|
+
%s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
108
|
+
`,Z,X)}}}function L6(z){z===void 0||z===null||C2(z)||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 z)}function k9(){var z=h(W1);dG.has(z)||(dG.add(z),console.error("ReactDOM.useFormState has been renamed to React.useActionState. Please update %s to use React.useActionState.",z))}function q2(){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:
|
|
109
|
+
1. You might have mismatching versions of React and the renderer (such as React DOM)
|
|
110
|
+
2. You might be breaking the Rules of Hooks
|
|
111
|
+
3. You might have more than one copy of React in the same app
|
|
112
|
+
See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`)}function YX(z,Z){if(w7)return!1;if(Z===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;z.length!==Z.length&&console.error(`The final argument passed to %s changed size between renders. The order and size of this array must remain constant.
|
|
113
|
+
|
|
114
|
+
Previous: %s
|
|
115
|
+
Incoming: %s`,y,"["+Z.join(", ")+"]","["+z.join(", ")+"]");for(var X=0;X<Z.length&&X<z.length;X++)if(!r2(z[X],Z[X]))return!1;return!0}function MX(z,Z,X,H,$,Y){if($5=Y,W1=Z,d0=z!==null?z._debugHookTypes:null,M5=-1,w7=z!==null&&z.type!==Z.type,Object.prototype.toString.call(X)==="[object AsyncFunction]"||Object.prototype.toString.call(X)==="[object AsyncGeneratorFunction]")Y=h(W1),N$.has(Y)||(N$.add(Y),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.",Y===null?"An unknown Component":"<"+Y+">"));Z.memoizedState=null,Z.updateQueue=null,Z.lanes=0,g.H=z!==null&&z.memoizedState!==null?T$:d0!==null?cG:C$,d3=Y=(Z.mode&l2)!==L1;var M=R$(X,H,$);if(d3=!1,o6&&(M=BX(Z,X,H,$)),Y){e1(!0);try{M=BX(Z,X,H,$)}finally{e1(!1)}}return gM(z,Z),M}function gM(z,Z){Z._debugHookTypes=d0,Z.dependencies===null?Y5!==null&&(Z.dependencies={lanes:0,firstContext:null,_debugThenableState:Y5}):Z.dependencies._debugThenableState=Y5,g.H=S7;var X=o1!==null&&o1.next!==null;if($5=0,d0=y=A2=o1=W1=null,M5=-1,z!==null&&(z.flags&65011712)!==(Z.flags&65011712)&&console.error("Internal React error: Expected static flag was missing. Please notify the React team."),Ez=!1,v7=0,Y5=null,X)throw Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");z===null||P2||(z=z.dependencies,z!==null&&_9(z)&&(P2=!0)),N7?(N7=!1,z=!0):z=!1,z&&(Z=h(Z)||"Unknown",uG.has(Z)||N$.has(Z)||(uG.add(Z),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 BX(z,Z,X,H){W1=z;var $=0;do{if(o6&&(Y5=null),v7=0,o6=!1,$>=DK)throw Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");if($+=1,w7=!1,A2=o1=null,z.updateQueue!=null){var Y=z.updateQueue;Y.lastEffect=null,Y.events=null,Y.stores=null,Y.memoCache!=null&&(Y.memoCache.index=0)}M5=-1,g.H=lG,Y=R$(Z,X,H)}while(o6);return Y}function ZL(){var z=g.H,Z=z.useState()[0];return Z=typeof Z.then==="function"?g8(Z):Z,z=z.useState()[0],(o1!==null?o1.memoizedState:null)!==z&&(W1.flags|=1024),Z}function JX(){var z=xz!==0;return xz=0,z}function QX(z,Z,X){Z.updateQueue=z.updateQueue,Z.flags=(Z.mode&e0)!==L1?Z.flags&-402655237:Z.flags&-2053,z.lanes&=~X}function GX(z){if(Ez){for(z=z.memoizedState;z!==null;){var Z=z.queue;Z!==null&&(Z.pending=null),z=z.next}Ez=!1}$5=0,d0=A2=o1=W1=null,M5=-1,y=null,o6=!1,v7=xz=0,Y5=null}function a2(){var z={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return A2===null?W1.memoizedState=A2=z:A2=A2.next=z,A2}function a1(){if(o1===null){var z=W1.alternate;z=z!==null?z.memoizedState:null}else z=o1.next;var Z=A2===null?W1.memoizedState:A2.next;if(Z!==null)A2=Z,o1=z;else{if(z===null){if(W1.alternate===null)throw Error("Update hook called on initial render. This is likely a bug in React. Please file an issue.");throw Error("Rendered more hooks than during the previous render.")}o1=z,z={memoizedState:o1.memoizedState,baseState:o1.baseState,baseQueue:o1.baseQueue,queue:o1.queue,next:null},A2===null?W1.memoizedState=A2=z:A2=A2.next=z}return A2}function b9(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function g8(z){var Z=v7;return v7+=1,Y5===null&&(Y5=FM()),z=PM(Y5,z,Z),Z=W1,(A2===null?Z.memoizedState:A2.next)===null&&(Z=Z.alternate,g.H=Z!==null&&Z.memoizedState!==null?T$:C$),z}function w5(z){if(z!==null&&typeof z==="object"){if(typeof z.then==="function")return g8(z);if(z.$$typeof===w4)return Y2(z)}throw Error("An unsupported type was passed to use(): "+String(z))}function T3(z){var Z=null,X=W1.updateQueue;if(X!==null&&(Z=X.memoCache),Z==null){var H=W1.alternate;H!==null&&(H=H.updateQueue,H!==null&&(H=H.memoCache,H!=null&&(Z={data:H.data.map(function($){return $.slice()}),index:0})))}if(Z==null&&(Z={data:[],index:0}),X===null&&(X=b9(),W1.updateQueue=X),X.memoCache=Z,X=Z.data[Z.index],X===void 0||w7)for(X=Z.data[Z.index]=Array(z),H=0;H<z;H++)X[H]=RW;else X.length!==z&&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.",X.length,z);return Z.index++,X}function s0(z,Z){return typeof Z==="function"?Z(z):Z}function UX(z,Z,X){var H=a2();if(X!==void 0){var $=X(Z);if(d3){e1(!0);try{X(Z)}finally{e1(!1)}}}else $=Z;return H.memoizedState=H.baseState=$,z={pending:null,lanes:0,dispatch:null,lastRenderedReducer:z,lastRenderedState:$},H.queue=z,z=z.dispatch=ML.bind(null,W1,z),[H.memoizedState,z]}function W6(z){var Z=a1();return qX(Z,o1,z)}function qX(z,Z,X){var H=z.queue;if(H===null)throw Error("Should have a queue. You are likely calling Hooks conditionally, which is not allowed. (https://react.dev/link/invalid-hook-call)");H.lastRenderedReducer=X;var $=z.baseQueue,Y=H.pending;if(Y!==null){if($!==null){var M=$.next;$.next=Y.next,Y.next=M}Z.baseQueue!==$&&console.error("Internal error: Expected work-in-progress queue to be a clone. This is a bug in React."),Z.baseQueue=$=Y,H.pending=null}if(Y=z.baseState,$===null)z.memoizedState=Y;else{Z=$.next;var J=M=null,Q=null,G=Z,A=!1;do{var I=G.lane&-536870913;if(I!==G.lane?(v1&I)===I:($5&I)===I){var K=G.revertLane;if(K===0)Q!==null&&(Q=Q.next={lane:0,revertLane:0,gesture:null,action:G.action,hasEagerState:G.hasEagerState,eagerState:G.eagerState,next:null}),I===m3&&(A=!0);else if(($5&K)===K){G=G.next,K===m3&&(A=!0);continue}else I={lane:0,revertLane:G.revertLane,gesture:null,action:G.action,hasEagerState:G.hasEagerState,eagerState:G.eagerState,next:null},Q===null?(J=Q=I,M=Y):Q=Q.next=I,W1.lanes|=K,n5|=K;I=G.action,d3&&X(Y,I),Y=G.hasEagerState?G.eagerState:X(Y,I)}else K={lane:I,revertLane:G.revertLane,gesture:G.gesture,action:G.action,hasEagerState:G.hasEagerState,eagerState:G.eagerState,next:null},Q===null?(J=Q=K,M=Y):Q=Q.next=K,W1.lanes|=I,n5|=I;G=G.next}while(G!==null&&G!==Z);if(Q===null?M=Y:Q.next=J,!r2(Y,z.memoizedState)&&(P2=!0,A&&(X=p6,X!==null)))throw X;z.memoizedState=Y,z.baseState=M,z.baseQueue=Q,H.lastRenderedState=Y}return $===null&&(H.lanes=0),[z.memoizedState,H.dispatch]}function f8(z){var Z=a1(),X=Z.queue;if(X===null)throw Error("Should have a queue. You are likely calling Hooks conditionally, which is not allowed. (https://react.dev/link/invalid-hook-call)");X.lastRenderedReducer=z;var{dispatch:H,pending:$}=X,Y=Z.memoizedState;if($!==null){X.pending=null;var M=$=$.next;do Y=z(Y,M.action),M=M.next;while(M!==$);r2(Y,Z.memoizedState)||(P2=!0),Z.memoizedState=Y,Z.baseQueue===null&&(Z.baseState=Y),X.lastRenderedState=Y}return[Y,H]}function LX(z,Z,X){var H=W1,$=a2();if(h1){if(X===void 0)throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");var Y=X();r6||Y===X()||(console.error("The result of getServerSnapshot should be cached to avoid an infinite loop"),r6=!0)}else{if(Y=Z(),r6||(X=Z(),r2(Y,X)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),r6=!0)),t1===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");(v1&127)!==0||fM(H,Z,Y)}return $.memoizedState=Y,X={value:Y,getSnapshot:Z},$.queue=X,h9(VM.bind(null,H,X,z),[z]),H.flags|=2048,R6(u0|e2,{destroy:void 0},hM.bind(null,H,X,Y,Z),null),Y}function y9(z,Z,X){var H=W1,$=a1(),Y=h1;if(Y){if(X===void 0)throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");X=X()}else if(X=Z(),!r6){var M=Z();r2(X,M)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),r6=!0)}if(M=!r2((o1||$).memoizedState,X))$.memoizedState=X,P2=!0;$=$.queue;var J=VM.bind(null,H,$,z);if(X0(2048,e2,J,[z]),$.getSnapshot!==Z||M||A2!==null&&A2.memoizedState.tag&u0){if(H.flags|=2048,R6(u0|e2,{destroy:void 0},hM.bind(null,H,$,X,Z),null),t1===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");Y||($5&127)!==0||fM(H,Z,X)}return X}function fM(z,Z,X){z.flags|=16384,z={getSnapshot:Z,value:X},Z=W1.updateQueue,Z===null?(Z=b9(),W1.updateQueue=Z,Z.stores=[z]):(X=Z.stores,X===null?Z.stores=[z]:X.push(z))}function hM(z,Z,X,H){Z.value=X,Z.getSnapshot=H,jM(Z)&&mM(z)}function VM(z,Z,X){return X(function(){jM(Z)&&(L4(2,"updateSyncExternalStore()",z),mM(z))})}function jM(z){var Z=z.getSnapshot;z=z.value;try{var X=Z();return!r2(z,X)}catch(H){return!0}}function mM(z){var Z=d2(z,2);Z!==null&&G2(Z,z,2)}function WX(z){var Z=a2();if(typeof z==="function"){var X=z;if(z=X(),d3){e1(!0);try{X()}finally{e1(!1)}}}return Z.memoizedState=Z.baseState=z,Z.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:s0,lastRenderedState:z},Z}function KX(z){z=WX(z);var Z=z.queue,X=XB.bind(null,W1,Z);return Z.dispatch=X,[z.memoizedState,X]}function RX(z){var Z=a2();Z.memoizedState=Z.baseState=z;var X={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return Z.queue=X,Z=bX.bind(null,W1,!0,X),X.dispatch=Z,[z,Z]}function DM(z,Z){var X=a1();return EM(X,o1,z,Z)}function EM(z,Z,X,H){return z.baseState=X,qX(z,o1,typeof H==="function"?H:s0)}function xM(z,Z){var X=a1();if(o1!==null)return EM(X,o1,z,Z);return X.baseState=z,[z,X.queue.dispatch]}function XL(z,Z,X,H,$){if(x9(z))throw Error("Cannot update form state while rendering.");if(z=Z.action,z!==null){var Y={payload:$,action:z,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(M){Y.listeners.push(M)}};g.T!==null?X(!0):Y.isTransition=!1,H(Y),X=Z.pending,X===null?(Y.next=Z.pending=Y,uM(Z,Y)):(Y.next=X.next,Z.pending=X.next=Y)}}function uM(z,Z){var{action:X,payload:H}=Z,$=z.state;if(Z.isTransition){var Y=g.T,M={};M._updatedFibers=new Set,g.T=M;try{var J=X($,H),Q=g.S;Q!==null&&Q(M,J),dM(z,Z,J)}catch(G){_X(z,Z,G)}finally{Y!==null&&M.types!==null&&(Y.types!==null&&Y.types!==M.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."),Y.types=M.types),g.T=Y,Y===null&&M._updatedFibers&&(z=M._updatedFibers.size,M._updatedFibers.clear(),10<z&&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{M=X($,H),dM(z,Z,M)}catch(G){_X(z,Z,G)}}function dM(z,Z,X){X!==null&&typeof X==="object"&&typeof X.then==="function"?(g.asyncTransitions++,X.then(E9,E9),X.then(function(H){cM(z,Z,H)},function(H){return _X(z,Z,H)}),Z.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.")):cM(z,Z,X)}function cM(z,Z,X){Z.status="fulfilled",Z.value=X,lM(Z),z.state=X,Z=z.pending,Z!==null&&(X=Z.next,X===Z?z.pending=null:(X=X.next,Z.next=X,uM(z,X)))}function _X(z,Z,X){var H=z.pending;if(z.pending=null,H!==null){H=H.next;do Z.status="rejected",Z.reason=X,lM(Z),Z=Z.next;while(Z!==H)}z.action=null}function lM(z){z=z.listeners;for(var Z=0;Z<z.length;Z++)(0,z[Z])()}function pM(z,Z){return Z}function K6(z,Z){if(h1){var X=t1.formState;if(X!==null){z:{var H=W1;if(h1){if(H2){Z:{var $=H2;for(var Y=D0;$.nodeType!==8;){if(!Y){$=null;break Z}if($=P0($.nextSibling),$===null){$=null;break Z}}Y=$.data,$=Y===n$||Y===kU?$:null}if($){H2=P0($.nextSibling),H=$.data===n$;break z}}P5(H)}H=!1}H&&(Z=X[0])}}return X=a2(),X.memoizedState=X.baseState=Z,H={pending:null,lanes:0,dispatch:null,lastRenderedReducer:pM,lastRenderedState:Z},X.queue=H,X=XB.bind(null,W1,H),H.dispatch=X,H=WX(!1),Y=bX.bind(null,W1,!1,H.queue),H=a2(),$={state:Z,dispatch:null,action:z,pending:null},H.queue=$,X=XL.bind(null,W1,$,Y,X),$.dispatch=X,H.memoizedState=z,[Z,X,!1]}function g9(z){var Z=a1();return aM(Z,o1,z)}function aM(z,Z,X){if(Z=qX(z,Z,pM)[0],z=W6(s0)[0],typeof Z==="object"&&Z!==null&&typeof Z.then==="function")try{var H=g8(Z)}catch(M){if(M===a6)throw Vz;throw M}else H=Z;Z=a1();var $=Z.queue,Y=$.dispatch;return X!==Z.memoizedState&&(W1.flags|=2048,R6(u0|e2,{destroy:void 0},HL.bind(null,$,X),null)),[H,Y,z]}function HL(z,Z){z.action=Z}function f9(z){var Z=a1(),X=o1;if(X!==null)return aM(Z,X,z);a1(),Z=Z.memoizedState,X=a1();var H=X.queue.dispatch;return X.memoizedState=z,[Z,H,!1]}function R6(z,Z,X,H){return z={tag:z,create:X,deps:H,inst:Z,next:null},Z=W1.updateQueue,Z===null&&(Z=b9(),W1.updateQueue=Z),X=Z.lastEffect,X===null?Z.lastEffect=z.next=z:(H=X.next,X.next=z,z.next=H,Z.lastEffect=z),z}function FX(z){var Z=a2();return z={current:z},Z.memoizedState=z}function v3(z,Z,X,H){var $=a2();W1.flags|=z,$.memoizedState=R6(u0|Z,{destroy:void 0},X,H===void 0?null:H)}function X0(z,Z,X,H){var $=a1();H=H===void 0?null:H;var Y=$.memoizedState.inst;o1!==null&&H!==null&&YX(H,o1.memoizedState.deps)?$.memoizedState=R6(Z,Y,X,H):(W1.flags|=z,$.memoizedState=R6(u0|Z,Y,X,H))}function h9(z,Z){(W1.mode&e0)!==L1?v3(276826112,e2,z,Z):v3(8390656,e2,z,Z)}function $L(z){W1.flags|=4;var Z=W1.updateQueue;if(Z===null)Z=b9(),W1.updateQueue=Z,Z.events=[z];else{var X=Z.events;X===null?Z.events=[z]:X.push(z)}}function AX(z){var Z=a2(),X={impl:z};return Z.memoizedState=X,function(){if((m1&v2)!==f2)throw Error("A function wrapped in useEffectEvent can't be called during rendering.");return X.impl.apply(void 0,arguments)}}function V9(z){var Z=a1().memoizedState;return $L({ref:Z,nextImpl:z}),function(){if((m1&v2)!==f2)throw Error("A function wrapped in useEffectEvent can't be called during rendering.");return Z.impl.apply(void 0,arguments)}}function PX(z,Z){var X=4194308;return(W1.mode&e0)!==L1&&(X|=134217728),v3(X,v0,z,Z)}function iM(z,Z){if(typeof Z==="function"){z=z();var X=Z(z);return function(){typeof X==="function"?X():Z(null)}}if(Z!==null&&Z!==void 0)return Z.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(Z).join(", ")+"}"),z=z(),Z.current=z,function(){Z.current=null}}function IX(z,Z,X){typeof Z!=="function"&&console.error("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",Z!==null?typeof Z:"null"),X=X!==null&&X!==void 0?X.concat([z]):null;var H=4194308;(W1.mode&e0)!==L1&&(H|=134217728),v3(H,v0,iM.bind(null,Z,z),X)}function j9(z,Z,X){typeof Z!=="function"&&console.error("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",Z!==null?typeof Z:"null"),X=X!==null&&X!==void 0?X.concat([z]):null,X0(4,v0,iM.bind(null,Z,z),X)}function OX(z,Z){return a2().memoizedState=[z,Z===void 0?null:Z],z}function m9(z,Z){var X=a1();Z=Z===void 0?null:Z;var H=X.memoizedState;if(Z!==null&&YX(Z,H[1]))return H[0];return X.memoizedState=[z,Z],z}function NX(z,Z){var X=a2();Z=Z===void 0?null:Z;var H=z();if(d3){e1(!0);try{z()}finally{e1(!1)}}return X.memoizedState=[H,Z],H}function D9(z,Z){var X=a1();Z=Z===void 0?null:Z;var H=X.memoizedState;if(Z!==null&&YX(Z,H[1]))return H[0];if(H=z(),d3){e1(!0);try{z()}finally{e1(!1)}}return X.memoizedState=[H,Z],H}function CX(z,Z){var X=a2();return TX(X,z,Z)}function nM(z,Z){var X=a1();return rM(X,o1.memoizedState,z,Z)}function sM(z,Z){var X=a1();return o1===null?TX(X,z,Z):rM(X,o1.memoizedState,z,Z)}function TX(z,Z,X){if(X===void 0||($5&1073741824)!==0&&(v1&261930)===0)return z.memoizedState=Z;return z.memoizedState=X,z=oB(),W1.lanes|=z,n5|=z,X}function rM(z,Z,X,H){if(r2(X,Z))return X;if(n6.current!==null)return z=TX(z,X,H),r2(z,Z)||(P2=!0),z;if(($5&42)===0||($5&1073741824)!==0&&(v1&261930)===0)return P2=!0,z.memoizedState=X;return z=oB(),W1.lanes|=z,n5|=z,Z}function E9(){g.asyncTransitions--}function oM(z,Z,X,H,$){var Y=u1.p;u1.p=Y!==0&&Y<t0?Y:t0;var M=g.T,J={};J._updatedFibers=new Set,g.T=J,bX(z,!1,Z,X);try{var Q=$(),G=g.S;if(G!==null&&G(J,Q),Q!==null&&typeof Q==="object"&&typeof Q.then==="function"){g.asyncTransitions++,Q.then(E9,E9);var A=eq(Q,H);h8(z,Z,A,A0(z))}else h8(z,Z,H,A0(z))}catch(I){h8(z,Z,{then:function(){},status:"rejected",reason:I},A0(z))}finally{u1.p=Y,M!==null&&J.types!==null&&(M.types!==null&&M.types!==J.types&&console.error("We expected inner Transitions to have transferred the outer types set and that you cannot add to the outer Transition while inside the inner.This is a bug in React."),M.types=J.types),g.T=M,M===null&&J._updatedFibers&&(z=J._updatedFibers.size,J._updatedFibers.clear(),10<z&&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 vX(z,Z,X,H){if(z.tag!==5)throw Error("Expected the form instance to be a HostComponent. This is a bug in React.");var $=tM(z).queue;oq(z),oM(z,$,Z,e3,X===null?d:function(){return eM(z),X(H)})}function tM(z){var Z=z.memoizedState;if(Z!==null)return Z;Z={memoizedState:e3,baseState:e3,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:s0,lastRenderedState:e3},next:null};var X={};return Z.next={memoizedState:X,baseState:X,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:s0,lastRenderedState:X},next:null},z.memoizedState=Z,z=z.alternate,z!==null&&(z.memoizedState=Z),Z}function eM(z){g.T===null&&console.error("requestFormReset was called outside a transition or action. To fix, move to an action, or wrap with startTransition.");var Z=tM(z);Z.next===null&&(Z=z.alternate.memoizedState),h8(z,Z.next.queue,{},A0(z))}function wX(){var z=WX(!1);return z=oM.bind(null,W1,z.queue,!0,!1),a2().memoizedState=z,[!1,z]}function zB(){var z=W6(s0)[0],Z=a1().memoizedState;return[typeof z==="boolean"?z:g8(z),Z]}function ZB(){var z=f8(s0)[0],Z=a1().memoizedState;return[typeof z==="boolean"?z:g8(z),Z]}function w3(){return Y2(c7)}function SX(){var z=a2(),Z=t1.identifierPrefix;if(h1){var X=e4,H=t4;X=(H&~(1<<32-i2(H)-1)).toString(32)+X,Z="_"+Z+"R_"+X,X=xz++,0<X&&(Z+="H"+X.toString(32)),Z+="_"}else X=mK++,Z="_"+Z+"r_"+X.toString(32)+"_";return z.memoizedState=Z}function kX(){return a2().memoizedState=YL.bind(null,W1)}function YL(z,Z){for(var X=z.return;X!==null;){switch(X.tag){case 24:case 3:var H=A0(X),$=N5(H),Y=C5(X,$,H);Y!==null&&(L4(H,"refresh()",z),G2(Y,X,H),k8(Y,X,H)),z=sZ(),Z!==null&&Z!==void 0&&Y!==null&&console.error("The seed argument is not enabled outside experimental channels."),$.payload={cache:z};return}X=X.return}}function ML(z,Z,X){var H=arguments;typeof H[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()."),H=A0(z);var $={lane:H,revertLane:0,gesture:null,action:X,hasEagerState:!1,eagerState:null,next:null};x9(z)?HB(Z,$):($=mZ(z,Z,$,H),$!==null&&(L4(H,"dispatch()",z),G2($,z,H),$B($,Z,H)))}function XB(z,Z,X){var H=arguments;typeof H[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()."),H=A0(z),h8(z,Z,X,H)&&L4(H,"setState()",z)}function h8(z,Z,X,H){var $={lane:H,revertLane:0,gesture:null,action:X,hasEagerState:!1,eagerState:null,next:null};if(x9(z))HB(Z,$);else{var Y=z.alternate;if(z.lanes===0&&(Y===null||Y.lanes===0)&&(Y=Z.lastRenderedReducer,Y!==null)){var M=g.H;g.H=Z4;try{var J=Z.lastRenderedState,Q=Y(J,X);if($.hasEagerState=!0,$.eagerState=Q,r2(Q,J))return q9(z,Z,$,0),t1===null&&U9(),!1}catch(G){}finally{g.H=M}}if(X=mZ(z,Z,$,H),X!==null)return G2(X,z,H),$B(X,Z,H),!0}return!1}function bX(z,Z,X,H){if(g.T===null&&m3===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."),H={lane:2,revertLane:MH(),gesture:null,action:H,hasEagerState:!1,eagerState:null,next:null},x9(z)){if(Z)throw Error("Cannot update optimistic state while rendering.");console.error("Cannot call startTransition while rendering.")}else Z=mZ(z,X,H,2),Z!==null&&(L4(2,"setOptimistic()",z),G2(Z,z,2))}function x9(z){var Z=z.alternate;return z===W1||Z!==null&&Z===W1}function HB(z,Z){o6=Ez=!0;var X=z.pending;X===null?Z.next=Z:(Z.next=X.next,X.next=Z),z.pending=Z}function $B(z,Z,X){if((X&4194048)!==0){var H=Z.lanes;H&=z.pendingLanes,X|=H,Z.lanes=X,L3(z,X)}}function yX(z){if(z!==null&&typeof z!=="function"){var Z=String(z);ZU.has(Z)||(ZU.add(Z),console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",z))}}function gX(z,Z,X,H){var $=z.memoizedState,Y=X(H,$);if(z.mode&l2){e1(!0);try{Y=X(H,$)}finally{e1(!1)}}Y===void 0&&(Z=x(Z)||"Component",oG.has(Z)||(oG.add(Z),console.error("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",Z))),$=Y===null||Y===void 0?$:b1({},$,Y),z.memoizedState=$,z.lanes===0&&(z.updateQueue.baseState=$)}function YB(z,Z,X,H,$,Y,M){var J=z.stateNode;if(typeof J.shouldComponentUpdate==="function"){if(X=J.shouldComponentUpdate(H,Y,M),z.mode&l2){e1(!0);try{X=J.shouldComponentUpdate(H,Y,M)}finally{e1(!1)}}return X===void 0&&console.error("%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",x(Z)||"Component"),X}return Z.prototype&&Z.prototype.isPureReactComponent?!O8(X,H)||!O8($,Y):!0}function MB(z,Z,X,H){var $=Z.state;typeof Z.componentWillReceiveProps==="function"&&Z.componentWillReceiveProps(X,H),typeof Z.UNSAFE_componentWillReceiveProps==="function"&&Z.UNSAFE_componentWillReceiveProps(X,H),Z.state!==$&&(z=h(z)||"Component",aG.has(z)||(aG.add(z),console.error("%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",z)),v$.enqueueReplaceState(Z,Z.state,null))}function S3(z,Z){var X=Z;if("ref"in Z){X={};for(var H in Z)H!=="ref"&&(X[H]=Z[H])}if(z=z.defaultProps){X===Z&&(X=b1({},X));for(var $ in z)X[$]===void 0&&(X[$]=z[$])}return X}function BB(z){H$(z),console.warn(`%s
|
|
116
|
+
|
|
117
|
+
%s
|
|
118
|
+
`,t6?"An error occurred in the <"+t6+"> component.":"An error occurred in one of your React components.",`Consider adding an error boundary to your tree to customize error handling behavior.
|
|
119
|
+
Visit https://react.dev/link/error-boundaries to learn more about error boundaries.`)}function JB(z){var Z=t6?"The above error occurred in the <"+t6+"> component.":"The above error occurred in one of your React components.",X="React will try to recreate this component tree from scratch using the error boundary you provided, "+((w$||"Anonymous")+".");if(typeof z==="object"&&z!==null&&typeof z.environmentName==="string"){var H=z.environmentName;z=[`%o
|
|
120
|
+
|
|
121
|
+
%s
|
|
122
|
+
|
|
123
|
+
%s
|
|
124
|
+
`,z,Z,X].slice(0),typeof z[0]==="string"?z.splice(0,1,mU+" "+z[0],DU,UZ+H+UZ,EU):z.splice(0,0,mU,DU,UZ+H+UZ,EU),z.unshift(console),H=$R.apply(console.error,z),H()}else console.error(`%o
|
|
125
|
+
|
|
126
|
+
%s
|
|
127
|
+
|
|
128
|
+
%s
|
|
129
|
+
`,z,Z,X)}function QB(z){H$(z)}function u9(z,Z){try{t6=Z.source?h(Z.source):null,w$=null;var X=Z.value;if(g.actQueue!==null)g.thrownErrors.push(X);else{var H=z.onUncaughtError;H(X,{componentStack:Z.stack})}}catch($){setTimeout(function(){throw $})}}function GB(z,Z,X){try{t6=X.source?h(X.source):null,w$=h(Z);var H=z.onCaughtError;H(X.value,{componentStack:X.stack,errorBoundary:Z.tag===1?Z.stateNode:null})}catch($){setTimeout(function(){throw $})}}function fX(z,Z,X){return X=N5(X),X.tag=P$,X.payload={element:null},X.callback=function(){X1(Z.source,u9,z,Z)},X}function hX(z){return z=N5(z),z.tag=P$,z}function VX(z,Z,X,H){var $=X.type.getDerivedStateFromError;if(typeof $==="function"){var Y=H.value;z.payload=function(){return $(Y)},z.callback=function(){HM(X),X1(H.source,GB,Z,X,H)}}var M=X.stateNode;M!==null&&typeof M.componentDidCatch==="function"&&(z.callback=function(){HM(X),X1(H.source,GB,Z,X,H),typeof $!=="function"&&(r5===null?r5=new Set([this]):r5.add(this)),fK(this,H),typeof $==="function"||(X.lanes&2)===0&&console.error("%s: Error boundaries should implement getDerivedStateFromError(). In that method, return a state update to display an error message or fallback UI.",h(X)||"Unknown")})}function BL(z,Z,X,H,$){if(X.flags|=32768,b4&&d8(z,$),H!==null&&typeof H==="object"&&typeof H.then==="function"){if(Z=X.alternate,Z!==null&&q6(Z,X,$,!0),h1&&(f4=!0),X=T0.current,X!==null){switch(X.tag){case 31:case 13:return x0===null?r9():X.alternate===null&&J2===J5&&(J2=cz),X.flags&=-257,X.flags|=65536,X.lanes=$,H===jz?X.flags|=16384:(Z=X.updateQueue,Z===null?X.updateQueue=new Set([H]):Z.add(H),XH(z,H,$)),!1;case 22:return X.flags|=65536,H===jz?X.flags|=16384:(Z=X.updateQueue,Z===null?(Z={transitions:null,markerInstances:null,retryQueue:new Set([H])},X.updateQueue=Z):(X=Z.retryQueue,X===null?Z.retryQueue=new Set([H]):X.add(H)),XH(z,H,$)),!1}throw Error("Unexpected Suspense handler tag ("+X.tag+"). This is a bug in React.")}return XH(z,H,$),r9(),!1}if(h1)return f4=!0,Z=T0.current,Z!==null?((Z.flags&65536)===0&&(Z.flags|=256),Z.flags|=65536,Z.lanes=$,H!==Q$&&C8(K0(Error("There was an error while hydrating but React was able to recover by instead client rendering from the nearest Suspense boundary.",{cause:H}),X))):(H!==Q$&&C8(K0(Error("There was an error while hydrating but React was able to recover by instead client rendering the entire root.",{cause:H}),X)),z=z.current.alternate,z.flags|=65536,$&=-$,z.lanes|=$,H=K0(H,X),$=fX(z.stateNode,H,$),w9(z,$),J2!==a5&&(J2=c3)),!1;var Y=K0(Error("There was an error during concurrent rendering but React was able to recover by instead synchronously rendering the entire root.",{cause:H}),X);if(h7===null?h7=[Y]:h7.push(Y),J2!==a5&&(J2=c3),Z===null)return!0;H=K0(H,X),X=Z;do{switch(X.tag){case 3:return X.flags|=65536,z=$&-$,X.lanes|=z,z=fX(X.stateNode,H,z),w9(X,z),!1;case 1:if(Z=X.type,Y=X.stateNode,(X.flags&128)===0&&(typeof Z.getDerivedStateFromError==="function"||Y!==null&&typeof Y.componentDidCatch==="function"&&(r5===null||!r5.has(Y))))return X.flags|=65536,$&=-$,X.lanes|=$,$=hX($),VX($,z,X,H),w9(X,$),!1}X=X.return}while(X!==null);return!1}function j2(z,Z,X,H){Z.child=z===null?VG(Z,null,X,H):u3(Z,z.child,X,H)}function UB(z,Z,X,H,$){X=X.render;var Y=Z.ref;if("ref"in H){var M={};for(var J in H)J!=="ref"&&(M[J]=H[J])}else M=H;if(N3(Z),H=MX(z,Z,X,M,Y,$),J=JX(),z!==null&&!P2)return QX(z,Z,$),a4(z,Z,$);return h1&&J&&cZ(Z),Z.flags|=1,j2(z,Z,H,$),Z.child}function qB(z,Z,X,H,$){if(z===null){var Y=X.type;if(typeof Y==="function"&&!EZ(Y)&&Y.defaultProps===void 0&&X.compare===null)return X=A3(Y),Z.tag=15,Z.type=X,mX(Z,Y),LB(z,Z,X,H,$);return z=xZ(X.type,null,H,Z,Z.mode,$),z.ref=Z.ref,z.return=Z,Z.child=z}if(Y=z.child,!cX(z,$)){var M=Y.memoizedProps;if(X=X.compare,X=X!==null?X:O8,X(M,H)&&z.ref===Z.ref)return a4(z,Z,$)}return Z.flags|=1,z=d4(Y,H),z.ref=Z.ref,z.return=Z,Z.child=z}function LB(z,Z,X,H,$){if(z!==null){var Y=z.memoizedProps;if(O8(Y,H)&&z.ref===Z.ref&&Z.type===z.type)if(P2=!1,Z.pendingProps=H=Y,cX(z,$))(z.flags&131072)!==0&&(P2=!0);else return Z.lanes=z.lanes,a4(z,Z,$)}return jX(z,Z,X,H,$)}function WB(z,Z,X,H){var $=H.children,Y=z!==null?z.memoizedState:null;if(z===null&&Z.stateNode===null&&(Z.stateNode={_visibility:Q7,_pendingMarkers:null,_retryCache:null,_transitions:null}),H.mode==="hidden"){if((Z.flags&128)!==0){if(Y=Y!==null?Y.baseLanes|X:X,z!==null){H=Z.child=z.child;for($=0;H!==null;)$=$|H.lanes|H.childLanes,H=H.sibling;H=$&~Y}else H=0,Z.child=null;return KB(z,Z,Y,X,H)}if((X&536870912)!==0)Z.memoizedState={baseLanes:0,cachePool:null},z!==null&&I9(Z,Y!==null?Y.cachePool:null),Y!==null?bM(Z,Y):XX(Z),yM(Z);else return H=Z.lanes=536870912,KB(z,Z,Y!==null?Y.baseLanes|X:X,X,H)}else Y!==null?(I9(Z,Y.cachePool),bM(Z,Y),v5(Z),Z.memoizedState=null):(z!==null&&I9(Z,null),XX(Z),v5(Z));return j2(z,Z,$,X),Z.child}function V8(z,Z){return z!==null&&z.tag===22||Z.stateNode!==null||(Z.stateNode={_visibility:Q7,_pendingMarkers:null,_retryCache:null,_transitions:null}),Z.sibling}function KB(z,Z,X,H,$){var Y=tZ();return Y=Y===null?null:{parent:_2._currentValue,pool:Y},Z.memoizedState={baseLanes:X,cachePool:Y},z!==null&&I9(Z,null),XX(Z),yM(Z),z!==null&&q6(z,Z,H,!0),Z.childLanes=$,null}function d9(z,Z){var X=Z.hidden;return X!==void 0&&console.error(`<Activity> doesn't accept a hidden prop. Use mode="hidden" instead.
|
|
130
|
+
- <Activity %s>
|
|
131
|
+
+ <Activity %s>`,X===!0?"hidden":X===!1?"hidden={false}":"hidden={...}",X?'mode="hidden"':'mode="visible"'),Z=l9({mode:Z.mode,children:Z.children},z.mode),Z.ref=z.ref,z.child=Z,Z.return=z,Z}function RB(z,Z,X){return u3(Z,z.child,null,X),z=d9(Z,Z.pendingProps),z.flags|=2,F0(Z),Z.memoizedState=null,z}function JL(z,Z,X){var H=Z.pendingProps,$=(Z.flags&128)!==0;if(Z.flags&=-129,z===null){if(h1){if(H.mode==="hidden")return z=d9(Z,H),Z.lanes=536870912,V8(null,z);if($X(Z),(z=H2)?(X=uJ(z,D0),X=X!==null&&X.data===s3?X:null,X!==null&&(H={dehydrated:X,treeContext:JM(),retryLane:536870912,hydrationErrors:null},Z.memoizedState=H,H=MM(X),H.return=Z,Z.child=H,E2=Z,H2=null)):X=null,X===null)throw K9(Z,z),P5(Z);return Z.lanes=536870912,null}return d9(Z,H)}var Y=z.memoizedState;if(Y!==null){var M=Y.dehydrated;if($X(Z),$)if(Z.flags&256)Z.flags&=-257,Z=RB(z,Z,X);else if(Z.memoizedState!==null)Z.child=z.child,Z.flags|=128,Z=null;else throw Error("Client rendering an Activity suspended it again. This is a bug in React.");else if(GM(),(X&536870912)!==0&&s9(Z),P2||q6(z,Z,X,!1),$=(X&z.childLanes)!==0,P2||$){if(H=t1,H!==null&&(M=W3(H,X),M!==0&&M!==Y.retryLane))throw Y.retryLane=M,d2(z,M),G2(H,z,M),S$;r9(),Z=RB(z,Z,X)}else z=Y.treeContext,H2=P0(M.nextSibling),E2=Z,h1=!0,E5=null,f4=!1,C0=null,D0=!1,z!==null&&QM(Z,z),Z=d9(Z,H),Z.flags|=4096;return Z}return Y=z.child,H={mode:H.mode,children:H.children},(X&536870912)!==0&&(X&z.lanes)!==0&&s9(Z),z=d4(Y,H),z.ref=Z.ref,Z.child=z,z.return=Z,z}function c9(z,Z){var X=Z.ref;if(X===null)z!==null&&z.ref!==null&&(Z.flags|=4194816);else{if(typeof X!=="function"&&typeof X!=="object")throw Error("Expected ref to be a function, an object returned by React.createRef(), or undefined/null.");if(z===null||z.ref!==X)Z.flags|=4194816}}function jX(z,Z,X,H,$){if(X.prototype&&typeof X.prototype.render==="function"){var Y=x(X)||"Unknown";XU[Y]||(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.",Y,Y),XU[Y]=!0)}if(Z.mode&l2&&z4.recordLegacyContextWarning(Z,null),z===null&&(mX(Z,Z.type),X.contextTypes&&(Y=x(X)||"Unknown",$U[Y]||($U[Y]=!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)",Y)))),N3(Z),X=MX(z,Z,X,H,void 0,$),H=JX(),z!==null&&!P2)return QX(z,Z,$),a4(z,Z,$);return h1&&H&&cZ(Z),Z.flags|=1,j2(z,Z,X,$),Z.child}function _B(z,Z,X,H,$,Y){if(N3(Z),M5=-1,w7=z!==null&&z.type!==Z.type,Z.updateQueue=null,X=BX(Z,H,X,$),gM(z,Z),H=JX(),z!==null&&!P2)return QX(z,Z,Y),a4(z,Z,Y);return h1&&H&&cZ(Z),Z.flags|=1,j2(z,Z,X,Y),Z.child}function FB(z,Z,X,H,$){switch(b(Z)){case!1:var Y=Z.stateNode,M=new Z.type(Z.memoizedProps,Y.context).state;Y.updater.enqueueSetState(Y,M,null);break;case!0:Z.flags|=128,Z.flags|=65536,Y=Error("Simulated error coming from DevTools");var J=$&-$;if(Z.lanes|=J,M=t1,M===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");J=hX(J),VX(J,M,Z,K0(Y,Z)),w9(Z,J)}if(N3(Z),Z.stateNode===null){if(M=D5,Y=X.contextType,"contextType"in X&&Y!==null&&(Y===void 0||Y.$$typeof!==w4)&&!zU.has(X)&&(zU.add(X),J=Y===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 Y!=="object"?" However, it is set to a "+typeof Y+".":Y.$$typeof===kH?" Did you accidentally pass the Context.Consumer instead?":" However, it is set to an object with keys {"+Object.keys(Y).join(", ")+"}.",console.error("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",x(X)||"Component",J)),typeof Y==="object"&&Y!==null&&(M=Y2(Y)),Y=new X(H,M),Z.mode&l2){e1(!0);try{Y=new X(H,M)}finally{e1(!1)}}if(M=Z.memoizedState=Y.state!==null&&Y.state!==void 0?Y.state:null,Y.updater=v$,Z.stateNode=Y,Y._reactInternals=Z,Y._reactInternalInstance=pG,typeof X.getDerivedStateFromProps==="function"&&M===null&&(M=x(X)||"Component",iG.has(M)||(iG.add(M),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.",M,Y.state===null?"null":"undefined",M))),typeof X.getDerivedStateFromProps==="function"||typeof Y.getSnapshotBeforeUpdate==="function"){var Q=J=M=null;if(typeof Y.componentWillMount==="function"&&Y.componentWillMount.__suppressDeprecationWarning!==!0?M="componentWillMount":typeof Y.UNSAFE_componentWillMount==="function"&&(M="UNSAFE_componentWillMount"),typeof Y.componentWillReceiveProps==="function"&&Y.componentWillReceiveProps.__suppressDeprecationWarning!==!0?J="componentWillReceiveProps":typeof Y.UNSAFE_componentWillReceiveProps==="function"&&(J="UNSAFE_componentWillReceiveProps"),typeof Y.componentWillUpdate==="function"&&Y.componentWillUpdate.__suppressDeprecationWarning!==!0?Q="componentWillUpdate":typeof Y.UNSAFE_componentWillUpdate==="function"&&(Q="UNSAFE_componentWillUpdate"),M!==null||J!==null||Q!==null){Y=x(X)||"Component";var G=typeof X.getDerivedStateFromProps==="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";sG.has(Y)||(sG.add(Y),console.error(`Unsafe legacy lifecycles will not be called for components using new component APIs.
|
|
132
|
+
|
|
133
|
+
%s uses %s but also contains the following legacy lifecycles:%s%s%s
|
|
134
|
+
|
|
135
|
+
The above lifecycles should be removed. Learn more about this warning here:
|
|
136
|
+
https://react.dev/link/unsafe-component-lifecycles`,Y,G,M!==null?`
|
|
137
|
+
`+M:"",J!==null?`
|
|
138
|
+
`+J:"",Q!==null?`
|
|
139
|
+
`+Q:""))}}Y=Z.stateNode,M=x(X)||"Component",Y.render||(X.prototype&&typeof X.prototype.render==="function"?console.error("No `render` method found on the %s instance: did you accidentally return an object from the constructor?",M):console.error("No `render` method found on the %s instance: you may have forgotten to define `render`.",M)),!Y.getInitialState||Y.getInitialState.isReactClassApproved||Y.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?",M),Y.getDefaultProps&&!Y.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.",M),Y.contextType&&console.error("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",M),X.childContextTypes&&!eG.has(X)&&(eG.add(X),console.error("%s uses the legacy childContextTypes API which was removed in React 19. Use React.createContext() instead. (https://react.dev/link/legacy-context)",M)),X.contextTypes&&!tG.has(X)&&(tG.add(X),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)",M)),typeof Y.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.",M),X.prototype&&X.prototype.isPureReactComponent&&typeof Y.shouldComponentUpdate<"u"&&console.error("%s has a method called shouldComponentUpdate(). shouldComponentUpdate should not be used when extending React.PureComponent. Please extend React.Component if shouldComponentUpdate is used.",x(X)||"A pure component"),typeof Y.componentDidUnmount==="function"&&console.error("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",M),typeof Y.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().",M),typeof Y.componentWillRecieveProps==="function"&&console.error("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",M),typeof Y.UNSAFE_componentWillRecieveProps==="function"&&console.error("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",M),J=Y.props!==H,Y.props!==void 0&&J&&console.error("When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",M),Y.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.",M,M),typeof Y.getSnapshotBeforeUpdate!=="function"||typeof Y.componentDidUpdate==="function"||nG.has(X)||(nG.add(X),console.error("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",x(X))),typeof Y.getDerivedStateFromProps==="function"&&console.error("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.",M),typeof Y.getDerivedStateFromError==="function"&&console.error("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.",M),typeof X.getSnapshotBeforeUpdate==="function"&&console.error("%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.",M),(J=Y.state)&&(typeof J!=="object"||C2(J))&&console.error("%s.state: must be set to an object or null",M),typeof Y.getChildContext==="function"&&typeof X.childContextTypes!=="object"&&console.error("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",M),Y=Z.stateNode,Y.props=H,Y.state=Z.memoizedState,Y.refs={},zX(Z),M=X.contextType,Y.context=typeof M==="object"&&M!==null?Y2(M):D5,Y.state===H&&(M=x(X)||"Component",rG.has(M)||(rG.add(M),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.",M))),Z.mode&l2&&z4.recordLegacyContextWarning(Z,Y),z4.recordUnsafeLifecycleWarnings(Z,Y),Y.state=Z.memoizedState,M=X.getDerivedStateFromProps,typeof M==="function"&&(gX(Z,X,M,H),Y.state=Z.memoizedState),typeof X.getDerivedStateFromProps==="function"||typeof Y.getSnapshotBeforeUpdate==="function"||typeof Y.UNSAFE_componentWillMount!=="function"&&typeof Y.componentWillMount!=="function"||(M=Y.state,typeof Y.componentWillMount==="function"&&Y.componentWillMount(),typeof Y.UNSAFE_componentWillMount==="function"&&Y.UNSAFE_componentWillMount(),M!==Y.state&&(console.error("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",h(Z)||"Component"),v$.enqueueReplaceState(Y,Y.state,null)),y8(Z,H,Y,$),b8(),Y.state=Z.memoizedState),typeof Y.componentDidMount==="function"&&(Z.flags|=4194308),(Z.mode&e0)!==L1&&(Z.flags|=134217728),Y=!0}else if(z===null){Y=Z.stateNode;var A=Z.memoizedProps;J=S3(X,A),Y.props=J;var I=Y.context;Q=X.contextType,M=D5,typeof Q==="object"&&Q!==null&&(M=Y2(Q)),G=X.getDerivedStateFromProps,Q=typeof G==="function"||typeof Y.getSnapshotBeforeUpdate==="function",A=Z.pendingProps!==A,Q||typeof Y.UNSAFE_componentWillReceiveProps!=="function"&&typeof Y.componentWillReceiveProps!=="function"||(A||I!==M)&&MB(Z,Y,H,M),p5=!1;var K=Z.memoizedState;Y.state=K,y8(Z,H,Y,$),b8(),I=Z.memoizedState,A||K!==I||p5?(typeof G==="function"&&(gX(Z,X,G,H),I=Z.memoizedState),(J=p5||YB(Z,X,J,H,K,I,M))?(Q||typeof Y.UNSAFE_componentWillMount!=="function"&&typeof Y.componentWillMount!=="function"||(typeof Y.componentWillMount==="function"&&Y.componentWillMount(),typeof Y.UNSAFE_componentWillMount==="function"&&Y.UNSAFE_componentWillMount()),typeof Y.componentDidMount==="function"&&(Z.flags|=4194308),(Z.mode&e0)!==L1&&(Z.flags|=134217728)):(typeof Y.componentDidMount==="function"&&(Z.flags|=4194308),(Z.mode&e0)!==L1&&(Z.flags|=134217728),Z.memoizedProps=H,Z.memoizedState=I),Y.props=H,Y.state=I,Y.context=M,Y=J):(typeof Y.componentDidMount==="function"&&(Z.flags|=4194308),(Z.mode&e0)!==L1&&(Z.flags|=134217728),Y=!1)}else{Y=Z.stateNode,ZX(z,Z),M=Z.memoizedProps,Q=S3(X,M),Y.props=Q,G=Z.pendingProps,K=Y.context,I=X.contextType,J=D5,typeof I==="object"&&I!==null&&(J=Y2(I)),A=X.getDerivedStateFromProps,(I=typeof A==="function"||typeof Y.getSnapshotBeforeUpdate==="function")||typeof Y.UNSAFE_componentWillReceiveProps!=="function"&&typeof Y.componentWillReceiveProps!=="function"||(M!==G||K!==J)&&MB(Z,Y,H,J),p5=!1,K=Z.memoizedState,Y.state=K,y8(Z,H,Y,$),b8();var S=Z.memoizedState;M!==G||K!==S||p5||z!==null&&z.dependencies!==null&&_9(z.dependencies)?(typeof A==="function"&&(gX(Z,X,A,H),S=Z.memoizedState),(Q=p5||YB(Z,X,Q,H,K,S,J)||z!==null&&z.dependencies!==null&&_9(z.dependencies))?(I||typeof Y.UNSAFE_componentWillUpdate!=="function"&&typeof Y.componentWillUpdate!=="function"||(typeof Y.componentWillUpdate==="function"&&Y.componentWillUpdate(H,S,J),typeof Y.UNSAFE_componentWillUpdate==="function"&&Y.UNSAFE_componentWillUpdate(H,S,J)),typeof Y.componentDidUpdate==="function"&&(Z.flags|=4),typeof Y.getSnapshotBeforeUpdate==="function"&&(Z.flags|=1024)):(typeof Y.componentDidUpdate!=="function"||M===z.memoizedProps&&K===z.memoizedState||(Z.flags|=4),typeof Y.getSnapshotBeforeUpdate!=="function"||M===z.memoizedProps&&K===z.memoizedState||(Z.flags|=1024),Z.memoizedProps=H,Z.memoizedState=S),Y.props=H,Y.state=S,Y.context=J,Y=Q):(typeof Y.componentDidUpdate!=="function"||M===z.memoizedProps&&K===z.memoizedState||(Z.flags|=4),typeof Y.getSnapshotBeforeUpdate!=="function"||M===z.memoizedProps&&K===z.memoizedState||(Z.flags|=1024),Y=!1)}if(J=Y,c9(z,Z),M=(Z.flags&128)!==0,J||M){if(J=Z.stateNode,$6(Z),M&&typeof X.getDerivedStateFromError!=="function")X=null,o2=-1;else if(X=IG(J),Z.mode&l2){e1(!0);try{IG(J)}finally{e1(!1)}}Z.flags|=1,z!==null&&M?(Z.child=u3(Z,z.child,null,$),Z.child=u3(Z,null,X,$)):j2(z,Z,X,$),Z.memoizedState=J.state,z=Z.child}else z=a4(z,Z,$);return $=Z.stateNode,Y&&$.props!==H&&(e6||console.error("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",h(Z)||"a component"),e6=!0),z}function AB(z,Z,X,H){return O3(),Z.flags|=256,j2(z,Z,X,H),Z.child}function mX(z,Z){Z&&Z.childContextTypes&&console.error(`childContextTypes cannot be defined on a function component.
|
|
140
|
+
%s.childContextTypes = ...`,Z.displayName||Z.name||"Component"),typeof Z.getDerivedStateFromProps==="function"&&(z=x(Z)||"Unknown",YU[z]||(console.error("%s: Function components do not support getDerivedStateFromProps.",z),YU[z]=!0)),typeof Z.contextType==="object"&&Z.contextType!==null&&(Z=x(Z)||"Unknown",HU[Z]||(console.error("%s: Function components do not support contextType.",Z),HU[Z]=!0))}function DX(z){return{baseLanes:z,cachePool:_M()}}function EX(z,Z,X){return z=z!==null?z.childLanes&~X:0,Z&&(z|=B0),z}function PB(z,Z,X){var H,$=Z.pendingProps;k(Z)&&(Z.flags|=128);var Y=!1,M=(Z.flags&128)!==0;if((H=M)||(H=z!==null&&z.memoizedState===null?!1:(K2.current&T7)!==0),H&&(Y=!0,Z.flags&=-129),H=(Z.flags&32)!==0,Z.flags&=-33,z===null){if(h1){if(Y?T5(Z):v5(Z),(z=H2)?(X=uJ(z,D0),X=X!==null&&X.data!==s3?X:null,X!==null&&(H={dehydrated:X,treeContext:JM(),retryLane:536870912,hydrationErrors:null},Z.memoizedState=H,H=MM(X),H.return=Z,Z.child=H,E2=Z,H2=null)):X=null,X===null)throw K9(Z,z),P5(Z);return FH(X)?Z.lanes=32:Z.lanes=536870912,null}var J=$.children;if($=$.fallback,Y){v5(Z);var Q=Z.mode;return J=l9({mode:"hidden",children:J},Q),$=P3($,Q,X,null),J.return=Z,$.return=Z,J.sibling=$,Z.child=J,$=Z.child,$.memoizedState=DX(X),$.childLanes=EX(z,H,X),Z.memoizedState=k$,V8(null,$)}return T5(Z),xX(Z,J)}var G=z.memoizedState;if(G!==null){var A=G.dehydrated;if(A!==null){if(M)Z.flags&256?(T5(Z),Z.flags&=-257,Z=uX(z,Z,X)):Z.memoizedState!==null?(v5(Z),Z.child=z.child,Z.flags|=128,Z=null):(v5(Z),J=$.fallback,Q=Z.mode,$=l9({mode:"visible",children:$.children},Q),J=P3(J,Q,X,null),J.flags|=2,$.return=Z,J.return=Z,$.sibling=J,Z.child=$,u3(Z,z.child,null,X),$=Z.child,$.memoizedState=DX(X),$.childLanes=EX(z,H,X),Z.memoizedState=k$,Z=V8(null,$));else if(T5(Z),GM(),(X&536870912)!==0&&s9(Z),FH(A)){if(H=A.nextSibling&&A.nextSibling.dataset,H){J=H.dgst;var I=H.msg;Q=H.stck;var K=H.cstck}Y=I,H=J,$=Q,A=K,J=Y,Q=A,J=J?Error(J):Error("The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering."),J.stack=$||"",J.digest=H,H=Q===void 0?null:Q,$={value:J,source:null,stack:H},typeof H==="string"&&J$.set(J,$),C8($),Z=uX(z,Z,X)}else if(P2||q6(z,Z,X,!1),H=(X&z.childLanes)!==0,P2||H){if(H=t1,H!==null&&($=W3(H,X),$!==0&&$!==G.retryLane))throw G.retryLane=$,d2(z,$),G2(H,z,$),S$;_H(A)||r9(),Z=uX(z,Z,X)}else _H(A)?(Z.flags|=192,Z.child=z.child,Z=null):(z=G.treeContext,H2=P0(A.nextSibling),E2=Z,h1=!0,E5=null,f4=!1,C0=null,D0=!1,z!==null&&QM(Z,z),Z=xX(Z,$.children),Z.flags|=4096);return Z}}if(Y)return v5(Z),J=$.fallback,Q=Z.mode,K=z.child,A=K.sibling,$=d4(K,{mode:"hidden",children:$.children}),$.subtreeFlags=K.subtreeFlags&65011712,A!==null?J=d4(A,J):(J=P3(J,Q,X,null),J.flags|=2),J.return=Z,$.return=Z,$.sibling=J,Z.child=$,V8(null,$),$=Z.child,J=z.child.memoizedState,J===null?J=DX(X):(Q=J.cachePool,Q!==null?(K=_2._currentValue,Q=Q.parent!==K?{parent:K,pool:K}:Q):Q=_M(),J={baseLanes:J.baseLanes|X,cachePool:Q}),$.memoizedState=J,$.childLanes=EX(z,H,X),Z.memoizedState=k$,V8(z.child,$);return G!==null&&(X&62914560)===X&&(X&z.lanes)!==0&&s9(Z),T5(Z),X=z.child,z=X.sibling,X=d4(X,{mode:"visible",children:$.children}),X.return=Z,X.sibling=null,z!==null&&(H=Z.deletions,H===null?(Z.deletions=[z],Z.flags|=16):H.push(z)),Z.child=X,Z.memoizedState=null,X}function xX(z,Z){return Z=l9({mode:"visible",children:Z},z.mode),Z.return=z,z.child=Z}function l9(z,Z){return z=w(22,z,null,Z),z.lanes=0,z}function uX(z,Z,X){return u3(Z,z.child,null,X),z=xX(Z,Z.pendingProps.children),z.flags|=2,Z.memoizedState=null,z}function IB(z,Z,X){z.lanes|=Z;var H=z.alternate;H!==null&&(H.lanes|=Z),iZ(z.return,Z,X)}function dX(z,Z,X,H,$,Y){var M=z.memoizedState;M===null?z.memoizedState={isBackwards:Z,rendering:null,renderingStartTime:0,last:H,tail:X,tailMode:$,treeForkCount:Y}:(M.isBackwards=Z,M.rendering=null,M.renderingStartTime=0,M.last=H,M.tail=X,M.tailMode=$,M.treeForkCount=Y)}function OB(z,Z,X){var H=Z.pendingProps,$=H.revealOrder,Y=H.tail,M=H.children,J=K2.current;if((H=(J&T7)!==0)?(J=J&s6|T7,Z.flags|=128):J&=s6,f1(K2,J,Z),J=$==null?"null":$,$!=="forwards"&&$!=="unstable_legacy-backwards"&&$!=="together"&&$!=="independent"&&!MU[J])if(MU[J]=!0,$==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($==="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 $==="string")switch($.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.',$,$.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.',$,$.toLowerCase());break;default:console.error('"%s" is not a supported revealOrder on <SuspenseList />. Did you mean "independent", "together", "forwards" or "backwards"?',$)}else console.error('%s is not a supported value for revealOrder on <SuspenseList />. Did you mean "independent", "together", "forwards" or "backwards"?',$);if(J=Y==null?"null":Y,!dz[J])if(Y==null){if($==="forwards"||$==="backwards"||$==="unstable_legacy-backwards")dz[J]=!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".')}else Y!=="visible"&&Y!=="collapsed"&&Y!=="hidden"?(dz[J]=!0,console.error('"%s" is not a supported value for tail on <SuspenseList />. Did you mean "visible", "collapsed" or "hidden"?',Y)):$!=="forwards"&&$!=="backwards"&&$!=="unstable_legacy-backwards"&&(dz[J]=!0,console.error('<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" or "backwards". Did you mean to specify revealOrder="forwards"?',Y));z:if(($==="forwards"||$==="backwards"||$==="unstable_legacy-backwards")&&M!==void 0&&M!==null&&M!==!1)if(C2(M)){for(J=0;J<M.length;J++)if(!wM(M[J],J))break z}else if(J=a(M),typeof J==="function"){if(J=J.call(M))for(var Q=J.next(),G=0;!Q.done;Q=J.next()){if(!wM(Q.value,G))break z;G++}}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?',$);if(j2(z,Z,M,X),h1?(A5(),M=G7):M=0,!H&&z!==null&&(z.flags&128)!==0)z:for(z=Z.child;z!==null;){if(z.tag===13)z.memoizedState!==null&&IB(z,X,Z);else if(z.tag===19)IB(z,X,Z);else if(z.child!==null){z.child.return=z,z=z.child;continue}if(z===Z)break z;for(;z.sibling===null;){if(z.return===null||z.return===Z)break z;z=z.return}z.sibling.return=z.return,z=z.sibling}switch($){case"forwards":X=Z.child;for($=null;X!==null;)z=X.alternate,z!==null&&S9(z)===null&&($=X),X=X.sibling;X=$,X===null?($=Z.child,Z.child=null):($=X.sibling,X.sibling=null),dX(Z,!1,$,X,Y,M);break;case"backwards":case"unstable_legacy-backwards":X=null,$=Z.child;for(Z.child=null;$!==null;){if(z=$.alternate,z!==null&&S9(z)===null){Z.child=$;break}z=$.sibling,$.sibling=X,X=$,$=z}dX(Z,!0,X,null,Y,M);break;case"together":dX(Z,!1,null,null,void 0,M);break;default:Z.memoizedState=null}return Z.child}function a4(z,Z,X){if(z!==null&&(Z.dependencies=z.dependencies),o2=-1,n5|=Z.lanes,(X&Z.childLanes)===0)if(z!==null){if(q6(z,Z,X,!1),(X&Z.childLanes)===0)return null}else return null;if(z!==null&&Z.child!==z.child)throw Error("Resuming work not yet implemented.");if(Z.child!==null){z=Z.child,X=d4(z,z.pendingProps),Z.child=X;for(X.return=Z;z.sibling!==null;)z=z.sibling,X=X.sibling=d4(z,z.pendingProps),X.return=Z;X.sibling=null}return Z.child}function cX(z,Z){if((z.lanes&Z)!==0)return!0;return z=z.dependencies,z!==null&&_9(z)?!0:!1}function QL(z,Z,X){switch(Z.tag){case 3:z1(Z,Z.stateNode.containerInfo),I5(Z,_2,z.memoizedState.cache),O3();break;case 27:case 5:d1(Z);break;case 4:z1(Z,Z.stateNode.containerInfo);break;case 10:I5(Z,Z.type,Z.memoizedProps.value);break;case 12:(X&Z.childLanes)!==0&&(Z.flags|=4),Z.flags|=2048;var H=Z.stateNode;H.effectDuration=-0,H.passiveEffectDuration=-0;break;case 31:if(Z.memoizedState!==null)return Z.flags|=128,$X(Z),null;break;case 13:if(H=Z.memoizedState,H!==null){if(H.dehydrated!==null)return T5(Z),Z.flags|=128,null;if((X&Z.child.childLanes)!==0)return PB(z,Z,X);return T5(Z),z=a4(z,Z,X),z!==null?z.sibling:null}T5(Z);break;case 19:var $=(z.flags&128)!==0;if(H=(X&Z.childLanes)!==0,H||(q6(z,Z,X,!1),H=(X&Z.childLanes)!==0),$){if(H)return OB(z,Z,X);Z.flags|=128}if($=Z.memoizedState,$!==null&&($.rendering=null,$.tail=null,$.lastEffect=null),f1(K2,K2.current,Z),H)break;else return null;case 22:return Z.lanes=0,WB(z,Z,X,Z.pendingProps);case 24:I5(Z,_2,z.memoizedState.cache)}return a4(z,Z,X)}function lX(z,Z,X){if(Z._debugNeedsRemount&&z!==null){X=xZ(Z.type,Z.key,Z.pendingProps,Z._debugOwner||null,Z.mode,Z.lanes),X._debugStack=Z._debugStack,X._debugTask=Z._debugTask;var H=Z.return;if(H===null)throw Error("Cannot swap the root fiber.");if(z.alternate=null,Z.alternate=null,X.index=Z.index,X.sibling=Z.sibling,X.return=Z.return,X.ref=Z.ref,X._debugInfo=Z._debugInfo,Z===H.child)H.child=X;else{var $=H.child;if($===null)throw Error("Expected parent to have a child.");for(;$.sibling!==Z;)if($=$.sibling,$===null)throw Error("Expected to find the previous sibling.");$.sibling=X}return Z=H.deletions,Z===null?(H.deletions=[z],H.flags|=16):Z.push(z),X.flags|=2,X}if(z!==null)if(z.memoizedProps!==Z.pendingProps||Z.type!==z.type)P2=!0;else{if(!cX(z,X)&&(Z.flags&128)===0)return P2=!1,QL(z,Z,X);P2=(z.flags&131072)!==0?!0:!1}else{if(P2=!1,H=h1)A5(),H=(Z.flags&1048576)!==0;H&&(H=Z.index,A5(),BM(Z,G7,H))}switch(Z.lanes=0,Z.tag){case 16:z:if(H=Z.pendingProps,z=O5(Z.elementType),Z.type=z,typeof z==="function")EZ(z)?(H=S3(z,H),Z.tag=1,Z.type=z=A3(z),Z=FB(null,Z,z,H,X)):(Z.tag=0,mX(Z,z),Z.type=z=A3(z),Z=jX(null,Z,z,H,X));else{if(z!==void 0&&z!==null){if($=z.$$typeof,$===o8){Z.tag=11,Z.type=z=DZ(z),Z=UB(null,Z,z,H,X);break z}else if($===Gz){Z.tag=14,Z=qB(null,Z,z,H,X);break z}}throw Z="",z!==null&&typeof z==="object"&&z.$$typeof===I0&&(Z=" Did you wrap a component in React.lazy() more than once?"),X=x(z)||z,Error("Element type is invalid. Received a promise that resolves to: "+X+". Lazy element type must resolve to a class or function."+Z)}return Z;case 0:return jX(z,Z,Z.type,Z.pendingProps,X);case 1:return H=Z.type,$=S3(H,Z.pendingProps),FB(z,Z,H,$,X);case 3:z:{if(z1(Z,Z.stateNode.containerInfo),z===null)throw Error("Should have a current fiber. This is a bug in React.");H=Z.pendingProps;var Y=Z.memoizedState;$=Y.element,ZX(z,Z),y8(Z,H,null,X);var M=Z.memoizedState;if(H=M.cache,I5(Z,_2,H),H!==Y.cache&&nZ(Z,[_2],X,!0),b8(),H=M.element,Y.isDehydrated)if(Y={element:H,isDehydrated:!1,cache:M.cache},Z.updateQueue.baseState=Y,Z.memoizedState=Y,Z.flags&256){Z=AB(z,Z,H,X);break z}else if(H!==$){$=K0(Error("This root received an early update, before anything was able hydrate. Switched the entire root to client rendering."),Z),C8($),Z=AB(z,Z,H,X);break z}else{switch(z=Z.stateNode.containerInfo,z.nodeType){case 9:z=z.body;break;default:z=z.nodeName==="HTML"?z.ownerDocument.body:z}H2=P0(z.firstChild),E2=Z,h1=!0,E5=null,f4=!1,C0=null,D0=!0,X=VG(Z,null,H,X);for(Z.child=X;X;)X.flags=X.flags&-3|4096,X=X.sibling}else{if(O3(),H===$){Z=a4(z,Z,X);break z}j2(z,Z,H,X)}Z=Z.child}return Z;case 26:return c9(z,Z),z===null?(X=iJ(Z.type,null,Z.pendingProps,null))?Z.memoizedState=X:h1||(X=Z.type,z=Z.pendingProps,H=h2(g5.current),H=zz(H).createElement(X),H[D2]=Z,H[n2]=z,m2(H,X,z),J1(H),Z.stateNode=H):Z.memoizedState=iJ(Z.type,z.memoizedProps,Z.pendingProps,z.memoizedState),null;case 27:return d1(Z),z===null&&h1&&(H=h2(g5.current),$=G1(),H=Z.stateNode=pJ(Z.type,Z.pendingProps,H,$,!1),f4||($=fJ(H,Z.type,Z.pendingProps,$),$!==null&&(I3(Z,0).serverProps=$)),E2=Z,D0=!0,$=H2,b5(Z.type)?(t$=$,H2=P0(H.firstChild)):H2=$),j2(z,Z,Z.pendingProps.children,X),c9(z,Z),z===null&&(Z.flags|=4194304),Z.child;case 5:return z===null&&h1&&(Y=G1(),H=bZ(Z.type,Y.ancestorInfo),$=H2,(M=!$)||(M=oL($,Z.type,Z.pendingProps,D0),M!==null?(Z.stateNode=M,f4||(Y=fJ(M,Z.type,Z.pendingProps,Y),Y!==null&&(I3(Z,0).serverProps=Y)),E2=Z,H2=P0(M.firstChild),D0=!1,Y=!0):Y=!1,M=!Y),M&&(H&&K9(Z,$),P5(Z))),d1(Z),$=Z.type,Y=Z.pendingProps,M=z!==null?z.memoizedProps:null,H=Y.children,KH($,Y)?H=null:M!==null&&KH($,M)&&(Z.flags|=32),Z.memoizedState!==null&&($=MX(z,Z,ZL,null,null,X),c7._currentValue=$),c9(z,Z),j2(z,Z,H,X),Z.child;case 6:return z===null&&h1&&(X=Z.pendingProps,z=G1(),H=z.ancestorInfo.current,X=H!=null?Y9(X,H.tag,z.ancestorInfo.implicitRootScope):!0,z=H2,(H=!z)||(H=tL(z,Z.pendingProps,D0),H!==null?(Z.stateNode=H,E2=Z,H2=null,H=!0):H=!1,H=!H),H&&(X&&K9(Z,z),P5(Z))),null;case 13:return PB(z,Z,X);case 4:return z1(Z,Z.stateNode.containerInfo),H=Z.pendingProps,z===null?Z.child=u3(Z,null,H,X):j2(z,Z,H,X),Z.child;case 11:return UB(z,Z,Z.type,Z.pendingProps,X);case 7:return j2(z,Z,Z.pendingProps,X),Z.child;case 8:return j2(z,Z,Z.pendingProps.children,X),Z.child;case 12:return Z.flags|=4,Z.flags|=2048,H=Z.stateNode,H.effectDuration=-0,H.passiveEffectDuration=-0,j2(z,Z,Z.pendingProps.children,X),Z.child;case 10:return H=Z.type,$=Z.pendingProps,Y=$.value,"value"in $||BU||(BU=!0,console.error("The `value` prop is required for the `<Context.Provider>`. Did you misspell it or forget to pass it?")),I5(Z,H,Y),j2(z,Z,$.children,X),Z.child;case 9:return $=Z.type._context,H=Z.pendingProps.children,typeof H!=="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."),N3(Z),$=Y2($),H=R$(H,$,void 0),Z.flags|=1,j2(z,Z,H,X),Z.child;case 14:return qB(z,Z,Z.type,Z.pendingProps,X);case 15:return LB(z,Z,Z.type,Z.pendingProps,X);case 19:return OB(z,Z,X);case 31:return JL(z,Z,X);case 22:return WB(z,Z,X,Z.pendingProps);case 24:return N3(Z),H=Y2(_2),z===null?($=tZ(),$===null&&($=t1,Y=sZ(),$.pooledCache=Y,C3(Y),Y!==null&&($.pooledCacheLanes|=X),$=Y),Z.memoizedState={parent:H,cache:$},zX(Z),I5(Z,_2,$)):((z.lanes&X)!==0&&(ZX(z,Z),y8(Z,null,null,X),b8()),$=z.memoizedState,Y=Z.memoizedState,$.parent!==H?($={parent:H,cache:H},Z.memoizedState=$,Z.lanes===0&&(Z.memoizedState=Z.updateQueue.baseState=$),I5(Z,_2,H)):(H=Y.cache,I5(Z,_2,H),H!==$.cache&&nZ(Z,[_2],X,!0))),j2(z,Z,Z.pendingProps.children,X),Z.child;case 29:throw Z.pendingProps}throw Error("Unknown unit of work tag ("+Z.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function i4(z){z.flags|=4}function pX(z,Z,X,H,$){if(Z=(z.mode&kK)!==L1)Z=!1;if(Z){if(z.flags|=16777216,($&335544128)===$)if(z.stateNode.complete)z.flags|=8192;else if(ZJ())z.flags|=8192;else throw x3=jz,F$}else z.flags&=-16777217}function NB(z,Z){if(Z.type!=="stylesheet"||(Z.state.loading&c0)!==t3)z.flags&=-16777217;else if(z.flags|=16777216,!tJ(Z))if(ZJ())z.flags|=8192;else throw x3=jz,F$}function p9(z,Z){Z!==null&&(z.flags|=4),z.flags&16384&&(Z=z.tag!==22?M6():536870912,z.lanes|=Z,a3|=Z)}function j8(z,Z){if(!h1)switch(z.tailMode){case"hidden":Z=z.tail;for(var X=null;Z!==null;)Z.alternate!==null&&(X=Z),Z=Z.sibling;X===null?z.tail=null:X.sibling=null;break;case"collapsed":X=z.tail;for(var H=null;X!==null;)X.alternate!==null&&(H=X),X=X.sibling;H===null?Z||z.tail===null?z.tail=null:z.tail.sibling=null:H.sibling=null}}function z2(z){var Z=z.alternate!==null&&z.alternate.child===z.child,X=0,H=0;if(Z)if((z.mode&C1)!==L1){for(var{selfBaseDuration:$,child:Y}=z;Y!==null;)X|=Y.lanes|Y.childLanes,H|=Y.subtreeFlags&65011712,H|=Y.flags&65011712,$+=Y.treeBaseDuration,Y=Y.sibling;z.treeBaseDuration=$}else for($=z.child;$!==null;)X|=$.lanes|$.childLanes,H|=$.subtreeFlags&65011712,H|=$.flags&65011712,$.return=z,$=$.sibling;else if((z.mode&C1)!==L1){$=z.actualDuration,Y=z.selfBaseDuration;for(var M=z.child;M!==null;)X|=M.lanes|M.childLanes,H|=M.subtreeFlags,H|=M.flags,$+=M.actualDuration,Y+=M.treeBaseDuration,M=M.sibling;z.actualDuration=$,z.treeBaseDuration=Y}else for($=z.child;$!==null;)X|=$.lanes|$.childLanes,H|=$.subtreeFlags,H|=$.flags,$.return=z,$=$.sibling;return z.subtreeFlags|=H,z.childLanes=X,Z}function GL(z,Z,X){var H=Z.pendingProps;switch(lZ(Z),Z.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return z2(Z),null;case 1:return z2(Z),null;case 3:if(X=Z.stateNode,H=null,z!==null&&(H=z.memoizedState.cache),Z.memoizedState.cache!==H&&(Z.flags|=2048),l4(_2,Z),q1(Z),X.pendingContext&&(X.context=X.pendingContext,X.pendingContext=null),z===null||z.child===null)U6(Z)?(aZ(),i4(Z)):z===null||z.memoizedState.isDehydrated&&(Z.flags&256)===0||(Z.flags|=1024,pZ());return z2(Z),null;case 26:var{type:$,memoizedState:Y}=Z;return z===null?(i4(Z),Y!==null?(z2(Z),NB(Z,Y)):(z2(Z),pX(Z,$,null,H,X))):Y?Y!==z.memoizedState?(i4(Z),z2(Z),NB(Z,Y)):(z2(Z),Z.flags&=-16777217):(z=z.memoizedProps,z!==H&&i4(Z),z2(Z),pX(Z,$,z,H,X)),null;case 27:if(c1(Z),X=h2(g5.current),$=Z.type,z!==null&&Z.stateNode!=null)z.memoizedProps!==H&&i4(Z);else{if(!H){if(Z.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 z2(Z),null}z=G1(),U6(Z)?UM(Z,z):(z=pJ($,H,X,z,!0),Z.stateNode=z,i4(Z))}return z2(Z),null;case 5:if(c1(Z),$=Z.type,z!==null&&Z.stateNode!=null)z.memoizedProps!==H&&i4(Z);else{if(!H){if(Z.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 z2(Z),null}var M=G1();if(U6(Z))UM(Z,M);else{switch(Y=h2(g5.current),bZ($,M.ancestorInfo),M=M.context,Y=zz(Y),M){case B8:Y=Y.createElementNS(y6,$);break;case JZ:Y=Y.createElementNS(_z,$);break;default:switch($){case"svg":Y=Y.createElementNS(y6,$);break;case"math":Y=Y.createElementNS(_z,$);break;case"script":Y=Y.createElement("div"),Y.innerHTML="<script></script>",Y=Y.removeChild(Y.firstChild);break;case"select":Y=typeof H.is==="string"?Y.createElement("select",{is:H.is}):Y.createElement("select"),H.multiple?Y.multiple=!0:H.size&&(Y.size=H.size);break;default:Y=typeof H.is==="string"?Y.createElement($,{is:H.is}):Y.createElement($),$.indexOf("-")===-1&&($!==$.toLowerCase()&&console.error("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",$),Object.prototype.toString.call(Y)!=="[object HTMLUnknownElement]"||o0.call(yU,$)||(yU[$]=!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.",$)))}}Y[D2]=Z,Y[n2]=H;z:for(M=Z.child;M!==null;){if(M.tag===5||M.tag===6)Y.appendChild(M.stateNode);else if(M.tag!==4&&M.tag!==27&&M.child!==null){M.child.return=M,M=M.child;continue}if(M===Z)break z;for(;M.sibling===null;){if(M.return===null||M.return===Z)break z;M=M.return}M.sibling.return=M.return,M=M.sibling}Z.stateNode=Y;z:switch(m2(Y,$,H),$){case"button":case"input":case"select":case"textarea":H=!!H.autoFocus;break z;case"img":H=!0;break z;default:H=!1}H&&i4(Z)}}return z2(Z),pX(Z,Z.type,z===null?null:z.memoizedProps,Z.pendingProps,X),null;case 6:if(z&&Z.stateNode!=null)z.memoizedProps!==H&&i4(Z);else{if(typeof H!=="string"&&Z.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(z=h2(g5.current),X=G1(),U6(Z)){if(z=Z.stateNode,X=Z.memoizedProps,$=!f4,H=null,Y=E2,Y!==null)switch(Y.tag){case 3:$&&($=cJ(z,X,H),$!==null&&(I3(Z,0).serverProps=$));break;case 27:case 5:H=Y.memoizedProps,$&&($=cJ(z,X,H),$!==null&&(I3(Z,0).serverProps=$))}z[D2]=Z,z=z.nodeValue===X||H!==null&&H.suppressHydrationWarning===!0||SJ(z.nodeValue,X)?!0:!1,z||P5(Z,!0)}else $=X.ancestorInfo.current,$!=null&&Y9(H,$.tag,X.ancestorInfo.implicitRootScope),z=zz(z).createTextNode(H),z[D2]=Z,Z.stateNode=z}return z2(Z),null;case 31:if(X=Z.memoizedState,z===null||z.memoizedState!==null){if(H=U6(Z),X!==null){if(z===null){if(!H)throw Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(z=Z.memoizedState,z=z!==null?z.dehydrated:null,!z)throw Error("Expected to have a hydrated activity instance. This error is likely caused by a bug in React. Please file an issue.");z[D2]=Z,z2(Z),(Z.mode&C1)!==L1&&X!==null&&(z=Z.child,z!==null&&(Z.treeBaseDuration-=z.treeBaseDuration))}else aZ(),O3(),(Z.flags&128)===0&&(X=Z.memoizedState=null),Z.flags|=4,z2(Z),(Z.mode&C1)!==L1&&X!==null&&(z=Z.child,z!==null&&(Z.treeBaseDuration-=z.treeBaseDuration));z=!1}else X=pZ(),z!==null&&z.memoizedState!==null&&(z.memoizedState.hydrationErrors=X),z=!0;if(!z){if(Z.flags&256)return F0(Z),Z;return F0(Z),null}if((Z.flags&128)!==0)throw Error("Client rendering an Activity suspended it again. This is a bug in React.")}return z2(Z),null;case 13:if(H=Z.memoizedState,z===null||z.memoizedState!==null&&z.memoizedState.dehydrated!==null){if($=H,Y=U6(Z),$!==null&&$.dehydrated!==null){if(z===null){if(!Y)throw Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(Y=Z.memoizedState,Y=Y!==null?Y.dehydrated:null,!Y)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");Y[D2]=Z,z2(Z),(Z.mode&C1)!==L1&&$!==null&&($=Z.child,$!==null&&(Z.treeBaseDuration-=$.treeBaseDuration))}else aZ(),O3(),(Z.flags&128)===0&&($=Z.memoizedState=null),Z.flags|=4,z2(Z),(Z.mode&C1)!==L1&&$!==null&&($=Z.child,$!==null&&(Z.treeBaseDuration-=$.treeBaseDuration));$=!1}else $=pZ(),z!==null&&z.memoizedState!==null&&(z.memoizedState.hydrationErrors=$),$=!0;if(!$){if(Z.flags&256)return F0(Z),Z;return F0(Z),null}}if(F0(Z),(Z.flags&128)!==0)return Z.lanes=X,(Z.mode&C1)!==L1&&w8(Z),Z;return X=H!==null,z=z!==null&&z.memoizedState!==null,X&&(H=Z.child,$=null,H.alternate!==null&&H.alternate.memoizedState!==null&&H.alternate.memoizedState.cachePool!==null&&($=H.alternate.memoizedState.cachePool.pool),Y=null,H.memoizedState!==null&&H.memoizedState.cachePool!==null&&(Y=H.memoizedState.cachePool.pool),Y!==$&&(H.flags|=2048)),X!==z&&X&&(Z.child.flags|=8192),p9(Z,Z.updateQueue),z2(Z),(Z.mode&C1)!==L1&&X&&(z=Z.child,z!==null&&(Z.treeBaseDuration-=z.treeBaseDuration)),null;case 4:return q1(Z),z===null&&JH(Z.stateNode.containerInfo),z2(Z),null;case 10:return l4(Z.type,Z),z2(Z),null;case 19:if(P1(K2,Z),H=Z.memoizedState,H===null)return z2(Z),null;if($=(Z.flags&128)!==0,Y=H.rendering,Y===null)if($)j8(H,!1);else{if(J2!==J5||z!==null&&(z.flags&128)!==0)for(z=Z.child;z!==null;){if(Y=S9(z),Y!==null){Z.flags|=128,j8(H,!1),z=Y.updateQueue,Z.updateQueue=z,p9(Z,z),Z.subtreeFlags=0,z=X;for(X=Z.child;X!==null;)YM(X,z),X=X.sibling;return f1(K2,K2.current&s6|T7,Z),h1&&c4(Z,H.treeForkCount),Z.child}z=z.sibling}H.tail!==null&&b2()>sz&&(Z.flags|=128,$=!0,j8(H,!1),Z.lanes=4194304)}else{if(!$)if(z=S9(Y),z!==null){if(Z.flags|=128,$=!0,z=z.updateQueue,Z.updateQueue=z,p9(Z,z),j8(H,!0),H.tail===null&&H.tailMode==="hidden"&&!Y.alternate&&!h1)return z2(Z),null}else 2*b2()-H.renderingStartTime>sz&&X!==536870912&&(Z.flags|=128,$=!0,j8(H,!1),Z.lanes=4194304);H.isBackwards?(Y.sibling=Z.child,Z.child=Y):(z=H.last,z!==null?z.sibling=Y:Z.child=Y,H.last=Y)}if(H.tail!==null)return z=H.tail,H.rendering=z,H.tail=z.sibling,H.renderingStartTime=b2(),z.sibling=null,X=K2.current,X=$?X&s6|T7:X&s6,f1(K2,X,Z),h1&&c4(Z,H.treeForkCount),z;return z2(Z),null;case 22:case 23:return F0(Z),HX(Z),H=Z.memoizedState!==null,z!==null?z.memoizedState!==null!==H&&(Z.flags|=8192):H&&(Z.flags|=8192),H?(X&536870912)!==0&&(Z.flags&128)===0&&(z2(Z),Z.subtreeFlags&6&&(Z.flags|=8192)):z2(Z),X=Z.updateQueue,X!==null&&p9(Z,X.retryQueue),X=null,z!==null&&z.memoizedState!==null&&z.memoizedState.cachePool!==null&&(X=z.memoizedState.cachePool.pool),H=null,Z.memoizedState!==null&&Z.memoizedState.cachePool!==null&&(H=Z.memoizedState.cachePool.pool),H!==X&&(Z.flags|=2048),z!==null&&P1(D3,Z),null;case 24:return X=null,z!==null&&(X=z.memoizedState.cache),Z.memoizedState.cache!==X&&(Z.flags|=2048),l4(_2,Z),z2(Z),null;case 25:return null;case 30:return null}throw Error("Unknown unit of work tag ("+Z.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function UL(z,Z){switch(lZ(Z),Z.tag){case 1:return z=Z.flags,z&65536?(Z.flags=z&-65537|128,(Z.mode&C1)!==L1&&w8(Z),Z):null;case 3:return l4(_2,Z),q1(Z),z=Z.flags,(z&65536)!==0&&(z&128)===0?(Z.flags=z&-65537|128,Z):null;case 26:case 27:case 5:return c1(Z),null;case 31:if(Z.memoizedState!==null){if(F0(Z),Z.alternate===null)throw Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");O3()}return z=Z.flags,z&65536?(Z.flags=z&-65537|128,(Z.mode&C1)!==L1&&w8(Z),Z):null;case 13:if(F0(Z),z=Z.memoizedState,z!==null&&z.dehydrated!==null){if(Z.alternate===null)throw Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");O3()}return z=Z.flags,z&65536?(Z.flags=z&-65537|128,(Z.mode&C1)!==L1&&w8(Z),Z):null;case 19:return P1(K2,Z),null;case 4:return q1(Z),null;case 10:return l4(Z.type,Z),null;case 22:case 23:return F0(Z),HX(Z),z!==null&&P1(D3,Z),z=Z.flags,z&65536?(Z.flags=z&-65537|128,(Z.mode&C1)!==L1&&w8(Z),Z):null;case 24:return l4(_2,Z),null;case 25:return null;default:return null}}function CB(z,Z){switch(lZ(Z),Z.tag){case 3:l4(_2,Z),q1(Z);break;case 26:case 27:case 5:c1(Z);break;case 4:q1(Z);break;case 31:Z.memoizedState!==null&&F0(Z);break;case 13:F0(Z);break;case 19:P1(K2,Z);break;case 10:l4(Z.type,Z);break;case 22:case 23:F0(Z),HX(Z),z!==null&&P1(D3,Z);break;case 24:l4(_2,Z)}}function P4(z){return(z.mode&C1)!==L1}function TB(z,Z){P4(z)?(A4(),m8(Z,z),F4()):m8(Z,z)}function aX(z,Z,X){P4(z)?(A4(),_6(X,z,Z),F4()):_6(X,z,Z)}function m8(z,Z){try{var X=Z.updateQueue,H=X!==null?X.lastEffect:null;if(H!==null){var $=H.next;X=$;do{if((X.tag&z)===z&&(H=void 0,(z&t2)!==Dz&&($8=!0),H=X1(Z,hK,X),(z&t2)!==Dz&&($8=!1),H!==void 0&&typeof H!=="function")){var Y=void 0;Y=(X.tag&v0)!==0?"useLayoutEffect":(X.tag&t2)!==0?"useInsertionEffect":"useEffect";var M=void 0;M=H===null?" You returned null. If your effect does not require clean up, return undefined (or nothing).":typeof H.then==="function"?`
|
|
141
|
+
|
|
142
|
+
It looks like you wrote `+Y+`(async () => ...) or returned a Promise. Instead, write the async function inside your effect and call it immediately:
|
|
143
|
+
|
|
144
|
+
`+Y+`(() => {
|
|
145
|
+
async function fetchData() {
|
|
146
|
+
// You can await here
|
|
147
|
+
const response = await MyAPI.getData(someId);
|
|
148
|
+
// ...
|
|
149
|
+
}
|
|
150
|
+
fetchData();
|
|
151
|
+
}, [someId]); // Or [] if effect doesn't need props or state
|
|
152
|
+
|
|
153
|
+
Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fetching`:" You returned: "+H,X1(Z,function(J,Q){console.error("%s must not return anything besides a function, which is used for clean-up.%s",J,Q)},Y,M)}X=X.next}while(X!==$)}}catch(J){x1(Z,Z.return,J)}}function _6(z,Z,X){try{var H=Z.updateQueue,$=H!==null?H.lastEffect:null;if($!==null){var Y=$.next;H=Y;do{if((H.tag&z)===z){var M=H.inst,J=M.destroy;J!==void 0&&(M.destroy=void 0,(z&t2)!==Dz&&($8=!0),$=Z,X1($,VK,$,X,J),(z&t2)!==Dz&&($8=!1))}H=H.next}while(H!==Y)}}catch(Q){x1(Z,Z.return,Q)}}function vB(z,Z){P4(z)?(A4(),m8(Z,z),F4()):m8(Z,z)}function iX(z,Z,X){P4(z)?(A4(),_6(X,z,Z),F4()):_6(X,z,Z)}function wB(z){var Z=z.updateQueue;if(Z!==null){var X=z.stateNode;z.type.defaultProps||"ref"in z.memoizedProps||e6||(X.props!==z.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.",h(z)||"instance"),X.state!==z.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.",h(z)||"instance"));try{X1(z,kM,Z,X)}catch(H){x1(z,z.return,H)}}}function qL(z,Z,X){return z.getSnapshotBeforeUpdate(Z,X)}function LL(z,Z){var{memoizedProps:X,memoizedState:H}=Z;Z=z.stateNode,z.type.defaultProps||"ref"in z.memoizedProps||e6||(Z.props!==z.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.",h(z)||"instance"),Z.state!==z.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.",h(z)||"instance"));try{var $=S3(z.type,X),Y=X1(z,qL,Z,$,H);X=JU,Y!==void 0||X.has(z.type)||(X.add(z.type),X1(z,function(){console.error("%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.",h(z))})),Z.__reactInternalSnapshotBeforeUpdate=Y}catch(M){x1(z,z.return,M)}}function SB(z,Z,X){X.props=S3(z.type,z.memoizedProps),X.state=z.memoizedState,P4(z)?(A4(),X1(z,wG,z,Z,X),F4()):X1(z,wG,z,Z,X)}function WL(z){var Z=z.ref;if(Z!==null){switch(z.tag){case 26:case 27:case 5:var X=z.stateNode;break;case 30:X=z.stateNode;break;default:X=z.stateNode}if(typeof Z==="function")if(P4(z))try{A4(),z.refCleanup=Z(X)}finally{F4()}else z.refCleanup=Z(X);else typeof Z==="string"?console.error("String refs are no longer supported."):Z.hasOwnProperty("current")||console.error("Unexpected ref object provided for %s. Use either a ref-setter function or React.createRef().",h(z)),Z.current=X}}function D8(z,Z){try{X1(z,WL,z)}catch(X){x1(z,Z,X)}}function I4(z,Z){var{ref:X,refCleanup:H}=z;if(X!==null)if(typeof H==="function")try{if(P4(z))try{A4(),X1(z,H)}finally{F4(z)}else X1(z,H)}catch($){x1(z,Z,$)}finally{z.refCleanup=null,z=z.alternate,z!=null&&(z.refCleanup=null)}else if(typeof X==="function")try{if(P4(z))try{A4(),X1(z,X,null)}finally{F4(z)}else X1(z,X,null)}catch($){x1(z,Z,$)}else X.current=null}function kB(z,Z,X,H){var $=z.memoizedProps,Y=$.id,M=$.onCommit;$=$.onRender,Z=Z===null?"mount":"update",gz&&(Z="nested-update"),typeof $==="function"&&$(Y,Z,z.actualDuration,z.treeBaseDuration,z.actualStartTime,X),typeof M==="function"&&M(Y,Z,H,X)}function KL(z,Z,X,H){var $=z.memoizedProps;z=$.id,$=$.onPostCommit,Z=Z===null?"mount":"update",gz&&(Z="nested-update"),typeof $==="function"&&$(z,Z,H,X)}function bB(z){var{type:Z,memoizedProps:X,stateNode:H}=z;try{X1(z,EL,H,Z,X,z)}catch($){x1(z,z.return,$)}}function nX(z,Z,X){try{X1(z,uL,z.stateNode,z.type,X,Z,z)}catch(H){x1(z,z.return,H)}}function yB(z){return z.tag===5||z.tag===3||z.tag===26||z.tag===27&&b5(z.type)||z.tag===4}function sX(z){z:for(;;){for(;z.sibling===null;){if(z.return===null||yB(z.return))return null;z=z.return}z.sibling.return=z.return;for(z=z.sibling;z.tag!==5&&z.tag!==6&&z.tag!==18;){if(z.tag===27&&b5(z.type))continue z;if(z.flags&2)continue z;if(z.child===null||z.tag===4)continue z;else z.child.return=z,z=z.child}if(!(z.flags&2))return z.stateNode}}function rX(z,Z,X){var H=z.tag;if(H===5||H===6)z=z.stateNode,Z?(DJ(X),(X.nodeType===9?X.body:X.nodeName==="HTML"?X.ownerDocument.body:X).insertBefore(z,Z)):(DJ(X),Z=X.nodeType===9?X.body:X.nodeName==="HTML"?X.ownerDocument.body:X,Z.appendChild(z),X=X._reactRootContainer,X!==null&&X!==void 0||Z.onclick!==null||(Z.onclick=u4));else if(H!==4&&(H===27&&b5(z.type)&&(X=z.stateNode,Z=null),z=z.child,z!==null))for(rX(z,Z,X),z=z.sibling;z!==null;)rX(z,Z,X),z=z.sibling}function a9(z,Z,X){var H=z.tag;if(H===5||H===6)z=z.stateNode,Z?X.insertBefore(z,Z):X.appendChild(z);else if(H!==4&&(H===27&&b5(z.type)&&(X=z.stateNode),z=z.child,z!==null))for(a9(z,Z,X),z=z.sibling;z!==null;)a9(z,Z,X),z=z.sibling}function RL(z){for(var Z,X=z.return;X!==null;){if(yB(X)){Z=X;break}X=X.return}if(Z==null)throw Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");switch(Z.tag){case 27:Z=Z.stateNode,X=sX(z),a9(z,X,Z);break;case 5:X=Z.stateNode,Z.flags&32&&(mJ(X),Z.flags&=-33),Z=sX(z),a9(z,Z,X);break;case 3:case 4:Z=Z.stateNode.containerInfo,X=sX(z),rX(z,X,Z);break;default:throw Error("Invalid host parent fiber. This error is likely caused by a bug in React. Please file an issue.")}}function gB(z){var{stateNode:Z,memoizedProps:X}=z;try{X1(z,HW,z.type,X,Z,z)}catch(H){x1(z,z.return,H)}}function fB(z,Z){return Z.tag===31?(Z=Z.memoizedState,z.memoizedState!==null&&Z===null):Z.tag===13?(z=z.memoizedState,Z=Z.memoizedState,z!==null&&z.dehydrated!==null&&(Z===null||Z.dehydrated===null)):Z.tag===3?z.memoizedState.isDehydrated&&(Z.flags&256)===0:!1}function _L(z,Z){if(z=z.containerInfo,s$=qZ,z=sY(z),fZ(z)){if("selectionStart"in z)var X={start:z.selectionStart,end:z.selectionEnd};else z:{X=(X=z.ownerDocument)&&X.defaultView||window;var H=X.getSelection&&X.getSelection();if(H&&H.rangeCount!==0){X=H.anchorNode;var{anchorOffset:$,focusNode:Y}=H;H=H.focusOffset;try{X.nodeType,Y.nodeType}catch(s){X=null;break z}var M=0,J=-1,Q=-1,G=0,A=0,I=z,K=null;Z:for(;;){for(var S;;){if(I!==X||$!==0&&I.nodeType!==3||(J=M+$),I!==Y||H!==0&&I.nodeType!==3||(Q=M+H),I.nodeType===3&&(M+=I.nodeValue.length),(S=I.firstChild)===null)break;K=I,I=S}for(;;){if(I===z)break Z;if(K===X&&++G===$&&(J=M),K===Y&&++A===H&&(Q=M),(S=I.nextSibling)!==null)break;I=K,K=I.parentNode}I=S}X=J===-1||Q===-1?null:{start:J,end:Q}}else X=null}X=X||{start:0,end:0}}else X=null;r$={focusedElem:z,selectionRange:X},qZ=!1;for(g2=Z;g2!==null;)if(Z=g2,z=Z.child,(Z.subtreeFlags&1028)!==0&&z!==null)z.return=Z,g2=z;else for(;g2!==null;){switch(z=Z=g2,X=z.alternate,$=z.flags,z.tag){case 0:if(($&4)!==0&&(z=z.updateQueue,z=z!==null?z.events:null,z!==null))for(X=0;X<z.length;X++)$=z[X],$.ref.impl=$.nextImpl;break;case 11:case 15:break;case 1:($&1024)!==0&&X!==null&&LL(z,X);break;case 3:if(($&1024)!==0){if(z=z.stateNode.containerInfo,X=z.nodeType,X===9)RH(z);else if(X===1)switch(z.nodeName){case"HEAD":case"HTML":case"BODY":RH(z);break;default:z.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if(($&1024)!==0)throw Error("This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.")}if(z=Z.sibling,z!==null){z.return=Z.return,g2=z;break}g2=Z.return}}function hB(z,Z,X){var H=R0(),$=W4(),Y=R4(),M=_4(),J=X.flags;switch(X.tag){case 0:case 11:case 15:O4(z,X),J&4&&TB(X,v0|u0);break;case 1:if(O4(z,X),J&4)if(z=X.stateNode,Z===null)X.type.defaultProps||"ref"in X.memoizedProps||e6||(z.props!==X.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.",h(X)||"instance"),z.state!==X.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.",h(X)||"instance")),P4(X)?(A4(),X1(X,_$,X,z),F4()):X1(X,_$,X,z);else{var Q=S3(X.type,Z.memoizedProps);Z=Z.memoizedState,X.type.defaultProps||"ref"in X.memoizedProps||e6||(z.props!==X.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.",h(X)||"instance"),z.state!==X.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.",h(X)||"instance")),P4(X)?(A4(),X1(X,CG,X,z,Q,Z,z.__reactInternalSnapshotBeforeUpdate),F4()):X1(X,CG,X,z,Q,Z,z.__reactInternalSnapshotBeforeUpdate)}J&64&&wB(X),J&512&&D8(X,X.return);break;case 3:if(Z=p4(),O4(z,X),J&64&&(J=X.updateQueue,J!==null)){if(Q=null,X.child!==null)switch(X.child.tag){case 27:case 5:Q=X.child.stateNode;break;case 1:Q=X.child.stateNode}try{X1(X,kM,J,Q)}catch(A){x1(X,X.return,A)}}z.effectDuration+=A9(Z);break;case 27:Z===null&&J&4&&gB(X);case 26:case 5:if(O4(z,X),Z===null){if(J&4)bB(X);else if(J&64){z=X.type,Z=X.memoizedProps,Q=X.stateNode;try{X1(X,xL,Q,z,Z,X)}catch(A){x1(X,X.return,A)}}}J&512&&D8(X,X.return);break;case 12:if(J&4){J=p4(),O4(z,X),z=X.stateNode,z.effectDuration+=v8(J);try{X1(X,kB,X,Z,x5,z.effectDuration)}catch(A){x1(X,X.return,A)}}else O4(z,X);break;case 31:O4(z,X),J&4&&mB(z,X);break;case 13:O4(z,X),J&4&&DB(z,X),J&64&&(z=X.memoizedState,z!==null&&(z=z.dehydrated,z!==null&&(J=vL.bind(null,X),eL(z,J))));break;case 22:if(J=X.memoizedState!==null||B5,!J){Z=Z!==null&&Z.memoizedState!==null||I2,Q=B5;var G=I2;B5=J,(I2=Z)&&!G?(N4(z,X,(X.subtreeFlags&8772)!==0),(X.mode&C1)!==L1&&0<=Q1&&0<=U1&&0.05<U1-Q1&&Q9(X,Q1,U1)):O4(z,X),B5=Q,I2=G}break;case 30:break;default:O4(z,X)}(X.mode&C1)!==L1&&0<=Q1&&0<=U1&&((U2||0.05<B2)&&q4(X,Q1,U1,B2,M2),X.alternate===null&&X.return!==null&&X.return.alternate!==null&&0.05<U1-Q1&&(fB(X.return.alternate,X.return)||U4(X,Q1,U1,"Mount"))),_0(H),K4($),M2=Y,U2=M}function VB(z){var Z=z.alternate;Z!==null&&(z.alternate=null,VB(Z)),z.child=null,z.deletions=null,z.sibling=null,z.tag===5&&(Z=z.stateNode,Z!==null&&t(Z)),z.stateNode=null,z._debugOwner=null,z.return=null,z.dependencies=null,z.memoizedProps=null,z.memoizedState=null,z.pendingProps=null,z.stateNode=null,z.updateQueue=null}function n4(z,Z,X){for(X=X.child;X!==null;)jB(z,Z,X),X=X.sibling}function jB(z,Z,X){if(c2&&typeof c2.onCommitFiberUnmount==="function")try{c2.onCommitFiberUnmount(k6,X)}catch(G){k4||(k4=!0,console.error("React instrumentation encountered an error: %o",G))}var H=R0(),$=W4(),Y=R4(),M=_4();switch(X.tag){case 26:I2||I4(X,Z),n4(z,Z,X),X.memoizedState?X.memoizedState.count--:X.stateNode&&(z=X.stateNode,z.parentNode.removeChild(z));break;case 27:I2||I4(X,Z);var J=O2,Q=Y0;b5(X.type)&&(O2=X.stateNode,Y0=!1),n4(z,Z,X),X1(X,i8,X.stateNode),O2=J,Y0=Q;break;case 5:I2||I4(X,Z);case 6:if(J=O2,Q=Y0,O2=null,n4(z,Z,X),O2=J,Y0=Q,O2!==null)if(Y0)try{X1(X,lL,O2,X.stateNode)}catch(G){x1(X,Z,G)}else try{X1(X,cL,O2,X.stateNode)}catch(G){x1(X,Z,G)}break;case 18:O2!==null&&(Y0?(z=O2,EJ(z.nodeType===9?z.body:z.nodeName==="HTML"?z.ownerDocument.body:z,X.stateNode),T6(z)):EJ(O2,X.stateNode));break;case 4:J=O2,Q=Y0,O2=X.stateNode.containerInfo,Y0=!0,n4(z,Z,X),O2=J,Y0=Q;break;case 0:case 11:case 14:case 15:_6(t2,X,Z),I2||aX(X,Z,v0),n4(z,Z,X);break;case 1:I2||(I4(X,Z),J=X.stateNode,typeof J.componentWillUnmount==="function"&&SB(X,Z,J)),n4(z,Z,X);break;case 21:n4(z,Z,X);break;case 22:I2=(J=I2)||X.memoizedState!==null,n4(z,Z,X),I2=J;break;default:n4(z,Z,X)}(X.mode&C1)!==L1&&0<=Q1&&0<=U1&&(U2||0.05<B2)&&q4(X,Q1,U1,B2,M2),_0(H),K4($),M2=Y,U2=M}function mB(z,Z){if(Z.memoizedState===null&&(z=Z.alternate,z!==null&&(z=z.memoizedState,z!==null))){z=z.dehydrated;try{X1(Z,ZW,z)}catch(X){x1(Z,Z.return,X)}}}function DB(z,Z){if(Z.memoizedState===null&&(z=Z.alternate,z!==null&&(z=z.memoizedState,z!==null&&(z=z.dehydrated,z!==null))))try{X1(Z,XW,z)}catch(X){x1(Z,Z.return,X)}}function FL(z){switch(z.tag){case 31:case 13:case 19:var Z=z.stateNode;return Z===null&&(Z=z.stateNode=new QU),Z;case 22:return z=z.stateNode,Z=z._retryCache,Z===null&&(Z=z._retryCache=new QU),Z;default:throw Error("Unexpected Suspense handler tag ("+z.tag+"). This is a bug in React.")}}function i9(z,Z){var X=FL(z);Z.forEach(function(H){if(!X.has(H)){if(X.add(H),b4)if(z8!==null&&Z8!==null)d8(Z8,z8);else throw Error("Expected finished root and lanes to be set. This is a bug in React.");var $=wL.bind(null,z,H);H.then($,$)}})}function H0(z,Z){var X=Z.deletions;if(X!==null)for(var H=0;H<X.length;H++){var $=z,Y=Z,M=X[H],J=R0(),Q=Y;z:for(;Q!==null;){switch(Q.tag){case 27:if(b5(Q.type)){O2=Q.stateNode,Y0=!1;break z}break;case 5:O2=Q.stateNode,Y0=!1;break z;case 3:case 4:O2=Q.stateNode.containerInfo,Y0=!0;break z}Q=Q.return}if(O2===null)throw Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");jB($,Y,M),O2=null,Y0=!1,(M.mode&C1)!==L1&&0<=Q1&&0<=U1&&0.05<U1-Q1&&U4(M,Q1,U1,"Unmount"),_0(J),$=M,Y=$.alternate,Y!==null&&(Y.return=null),$.return=null}if(Z.subtreeFlags&13886)for(Z=Z.child;Z!==null;)EB(Z,z),Z=Z.sibling}function EB(z,Z){var X=R0(),H=W4(),$=R4(),Y=_4(),M=z.alternate,J=z.flags;switch(z.tag){case 0:case 11:case 14:case 15:H0(Z,z),$0(z),J&4&&(_6(t2|u0,z,z.return),m8(t2|u0,z),aX(z,z.return,v0|u0));break;case 1:if(H0(Z,z),$0(z),J&512&&(I2||M===null||I4(M,M.return)),J&64&&B5&&(J=z.updateQueue,J!==null&&(M=J.callbacks,M!==null))){var Q=J.shared.hiddenCallbacks;J.shared.hiddenCallbacks=Q===null?M:Q.concat(M)}break;case 26:if(Q=X4,H0(Z,z),$0(z),J&512&&(I2||M===null||I4(M,M.return)),J&4){var G=M!==null?M.memoizedState:null;if(J=z.memoizedState,M===null)if(J===null)if(z.stateNode===null){z:{J=z.type,M=z.memoizedProps,Q=Q.ownerDocument||Q;Z:switch(J){case"title":if(G=Q.getElementsByTagName("title")[0],!G||G[z7]||G[D2]||G.namespaceURI===y6||G.hasAttribute("itemprop"))G=Q.createElement(J),Q.head.insertBefore(G,Q.querySelector("head > title"));m2(G,J,M),G[D2]=z,J1(G),J=G;break z;case"link":var A=rJ("link","href",Q).get(J+(M.href||""));if(A){for(var I=0;I<A.length;I++)if(G=A[I],G.getAttribute("href")===(M.href==null||M.href===""?null:M.href)&&G.getAttribute("rel")===(M.rel==null?null:M.rel)&&G.getAttribute("title")===(M.title==null?null:M.title)&&G.getAttribute("crossorigin")===(M.crossOrigin==null?null:M.crossOrigin)){A.splice(I,1);break Z}}G=Q.createElement(J),m2(G,J,M),Q.head.appendChild(G);break;case"meta":if(A=rJ("meta","content",Q).get(J+(M.content||""))){for(I=0;I<A.length;I++)if(G=A[I],s1(M.content,"content"),G.getAttribute("content")===(M.content==null?null:""+M.content)&&G.getAttribute("name")===(M.name==null?null:M.name)&&G.getAttribute("property")===(M.property==null?null:M.property)&&G.getAttribute("http-equiv")===(M.httpEquiv==null?null:M.httpEquiv)&&G.getAttribute("charset")===(M.charSet==null?null:M.charSet)){A.splice(I,1);break Z}}G=Q.createElement(J),m2(G,J,M),Q.head.appendChild(G);break;default:throw Error('getNodesForType encountered a type it did not expect: "'+J+'". This is a bug in React.')}G[D2]=z,J1(G),J=G}z.stateNode=J}else oJ(Q,z.type,z.stateNode);else z.stateNode=sJ(Q,J,z.memoizedProps);else G!==J?(G===null?M.stateNode!==null&&(M=M.stateNode,M.parentNode.removeChild(M)):G.count--,J===null?oJ(Q,z.type,z.stateNode):sJ(Q,J,z.memoizedProps)):J===null&&z.stateNode!==null&&nX(z,z.memoizedProps,M.memoizedProps)}break;case 27:H0(Z,z),$0(z),J&512&&(I2||M===null||I4(M,M.return)),M!==null&&J&4&&nX(z,z.memoizedProps,M.memoizedProps);break;case 5:if(H0(Z,z),$0(z),J&512&&(I2||M===null||I4(M,M.return)),z.flags&32){Q=z.stateNode;try{X1(z,mJ,Q)}catch(Z1){x1(z,z.return,Z1)}}J&4&&z.stateNode!=null&&(Q=z.memoizedProps,nX(z,Q,M!==null?M.memoizedProps:Q)),J&1024&&(b$=!0,z.type!=="form"&&console.error("Unexpected host component type. Expected a form. This is a bug in React."));break;case 6:if(H0(Z,z),$0(z),J&4){if(z.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.");J=z.memoizedProps,M=M!==null?M.memoizedProps:J,Q=z.stateNode;try{X1(z,dL,Q,M,J)}catch(Z1){x1(z,z.return,Z1)}}break;case 3:if(Q=p4(),QZ=null,G=X4,X4=Zz(Z.containerInfo),H0(Z,z),X4=G,$0(z),J&4&&M!==null&&M.memoizedState.isDehydrated)try{X1(z,zW,Z.containerInfo)}catch(Z1){x1(z,z.return,Z1)}b$&&(b$=!1,xB(z)),Z.effectDuration+=A9(Q);break;case 4:J=X4,X4=Zz(z.stateNode.containerInfo),H0(Z,z),$0(z),X4=J;break;case 12:J=p4(),H0(Z,z),$0(z),z.stateNode.effectDuration+=v8(J);break;case 31:H0(Z,z),$0(z),J&4&&(J=z.updateQueue,J!==null&&(z.updateQueue=null,i9(z,J)));break;case 13:H0(Z,z),$0(z),z.child.flags&8192&&z.memoizedState!==null!==(M!==null&&M.memoizedState!==null)&&(nz=b2()),J&4&&(J=z.updateQueue,J!==null&&(z.updateQueue=null,i9(z,J)));break;case 22:Q=z.memoizedState!==null;var K=M!==null&&M.memoizedState!==null,S=B5,s=I2;if(B5=S||Q,I2=s||K,H0(Z,z),I2=s,B5=S,K&&!Q&&!S&&!s&&(z.mode&C1)!==L1&&0<=Q1&&0<=U1&&0.05<U1-Q1&&Q9(z,Q1,U1),$0(z),J&8192)z:for(Z=z.stateNode,Z._visibility=Q?Z._visibility&~Q7:Z._visibility|Q7,!Q||M===null||K||B5||I2||(k3(z),(z.mode&C1)!==L1&&0<=Q1&&0<=U1&&0.05<U1-Q1&&U4(z,Q1,U1,"Disconnect")),M=null,Z=z;;){if(Z.tag===5||Z.tag===26){if(M===null){K=M=Z;try{G=K.stateNode,Q?X1(K,aL,G):X1(K,sL,K.stateNode,K.memoizedProps)}catch(Z1){x1(K,K.return,Z1)}}}else if(Z.tag===6){if(M===null){K=Z;try{A=K.stateNode,Q?X1(K,iL,A):X1(K,rL,A,K.memoizedProps)}catch(Z1){x1(K,K.return,Z1)}}}else if(Z.tag===18){if(M===null){K=Z;try{I=K.stateNode,Q?X1(K,pL,I):X1(K,nL,K.stateNode)}catch(Z1){x1(K,K.return,Z1)}}}else if((Z.tag!==22&&Z.tag!==23||Z.memoizedState===null||Z===z)&&Z.child!==null){Z.child.return=Z,Z=Z.child;continue}if(Z===z)break z;for(;Z.sibling===null;){if(Z.return===null||Z.return===z)break z;M===Z&&(M=null),Z=Z.return}M===Z&&(M=null),Z.sibling.return=Z.return,Z=Z.sibling}J&4&&(J=z.updateQueue,J!==null&&(M=J.retryQueue,M!==null&&(J.retryQueue=null,i9(z,M))));break;case 19:H0(Z,z),$0(z),J&4&&(J=z.updateQueue,J!==null&&(z.updateQueue=null,i9(z,J)));break;case 30:break;case 21:break;default:H0(Z,z),$0(z)}(z.mode&C1)!==L1&&0<=Q1&&0<=U1&&((U2||0.05<B2)&&q4(z,Q1,U1,B2,M2),z.alternate===null&&z.return!==null&&z.return.alternate!==null&&0.05<U1-Q1&&(fB(z.return.alternate,z.return)||U4(z,Q1,U1,"Mount"))),_0(X),K4(H),M2=$,U2=Y}function $0(z){var Z=z.flags;if(Z&2){try{X1(z,RL,z)}catch(X){x1(z,z.return,X)}z.flags&=-3}Z&4096&&(z.flags&=-4097)}function xB(z){if(z.subtreeFlags&1024)for(z=z.child;z!==null;){var Z=z;xB(Z),Z.tag===5&&Z.flags&1024&&Z.stateNode.reset(),z=z.sibling}}function O4(z,Z){if(Z.subtreeFlags&8772)for(Z=Z.child;Z!==null;)hB(z,Z.alternate,Z),Z=Z.sibling}function uB(z){var Z=R0(),X=W4(),H=R4(),$=_4();switch(z.tag){case 0:case 11:case 14:case 15:aX(z,z.return,v0),k3(z);break;case 1:I4(z,z.return);var Y=z.stateNode;typeof Y.componentWillUnmount==="function"&&SB(z,z.return,Y),k3(z);break;case 27:X1(z,i8,z.stateNode);case 26:case 5:I4(z,z.return),k3(z);break;case 22:z.memoizedState===null&&k3(z);break;case 30:k3(z);break;default:k3(z)}(z.mode&C1)!==L1&&0<=Q1&&0<=U1&&(U2||0.05<B2)&&q4(z,Q1,U1,B2,M2),_0(Z),K4(X),M2=H,U2=$}function k3(z){for(z=z.child;z!==null;)uB(z),z=z.sibling}function dB(z,Z,X,H){var $=R0(),Y=W4(),M=R4(),J=_4(),Q=X.flags;switch(X.tag){case 0:case 11:case 15:N4(z,X,H),TB(X,v0);break;case 1:if(N4(z,X,H),Z=X.stateNode,typeof Z.componentDidMount==="function"&&X1(X,_$,X,Z),Z=X.updateQueue,Z!==null){z=X.stateNode;try{X1(X,zL,Z,z)}catch(G){x1(X,X.return,G)}}H&&Q&64&&wB(X),D8(X,X.return);break;case 27:gB(X);case 26:case 5:N4(z,X,H),H&&Z===null&&Q&4&&bB(X),D8(X,X.return);break;case 12:if(H&&Q&4){Q=p4(),N4(z,X,H),H=X.stateNode,H.effectDuration+=v8(Q);try{X1(X,kB,X,Z,x5,H.effectDuration)}catch(G){x1(X,X.return,G)}}else N4(z,X,H);break;case 31:N4(z,X,H),H&&Q&4&&mB(z,X);break;case 13:N4(z,X,H),H&&Q&4&&DB(z,X);break;case 22:X.memoizedState===null&&N4(z,X,H),D8(X,X.return);break;case 30:break;default:N4(z,X,H)}(X.mode&C1)!==L1&&0<=Q1&&0<=U1&&(U2||0.05<B2)&&q4(X,Q1,U1,B2,M2),_0($),K4(Y),M2=M,U2=J}function N4(z,Z,X){X=X&&(Z.subtreeFlags&8772)!==0;for(Z=Z.child;Z!==null;)dB(z,Z.alternate,Z,X),Z=Z.sibling}function oX(z,Z){var X=null;z!==null&&z.memoizedState!==null&&z.memoizedState.cachePool!==null&&(X=z.memoizedState.cachePool.pool),z=null,Z.memoizedState!==null&&Z.memoizedState.cachePool!==null&&(z=Z.memoizedState.cachePool.pool),z!==X&&(z!=null&&C3(z),X!=null&&T8(X))}function tX(z,Z){z=null,Z.alternate!==null&&(z=Z.alternate.memoizedState.cache),Z=Z.memoizedState.cache,Z!==z&&(C3(Z),z!=null&&T8(z))}function r0(z,Z,X,H,$){if(Z.subtreeFlags&10256||Z.actualDuration!==0&&(Z.alternate===null||Z.alternate.child!==Z.child))for(Z=Z.child;Z!==null;){var Y=Z.sibling;cB(z,Z,X,H,Y!==null?Y.actualStartTime:$),Z=Y}}function cB(z,Z,X,H,$){var Y=R0(),M=W4(),J=R4(),Q=_4(),G=j5,A=Z.flags;switch(Z.tag){case 0:case 11:case 15:(Z.mode&C1)!==L1&&0<Z.actualStartTime&&(Z.flags&1)!==0&&G9(Z,Z.actualStartTime,$,T2,X),r0(z,Z,X,H,$),A&2048&&vB(Z,e2|u0);break;case 1:(Z.mode&C1)!==L1&&0<Z.actualStartTime&&((Z.flags&128)!==0?VZ(Z,Z.actualStartTime,$,[]):(Z.flags&1)!==0&&G9(Z,Z.actualStartTime,$,T2,X)),r0(z,Z,X,H,$);break;case 3:var I=p4(),K=T2;T2=Z.alternate!==null&&Z.alternate.memoizedState.isDehydrated&&(Z.flags&256)===0,r0(z,Z,X,H,$),T2=K,A&2048&&(X=null,Z.alternate!==null&&(X=Z.alternate.memoizedState.cache),H=Z.memoizedState.cache,H!==X&&(C3(H),X!=null&&T8(X))),z.passiveEffectDuration+=A9(I);break;case 12:if(A&2048){A=p4(),r0(z,Z,X,H,$),z=Z.stateNode,z.passiveEffectDuration+=v8(A);try{X1(Z,KL,Z,Z.alternate,x5,z.passiveEffectDuration)}catch(S){x1(Z,Z.return,S)}}else r0(z,Z,X,H,$);break;case 31:A=T2,I=Z.alternate!==null?Z.alternate.memoizedState:null,K=Z.memoizedState,I!==null&&K===null?(K=Z.deletions,K!==null&&0<K.length&&K[0].tag===18?(T2=!1,I=I.hydrationErrors,I!==null&&VZ(Z,Z.actualStartTime,$,I)):T2=!0):T2=!1,r0(z,Z,X,H,$),T2=A;break;case 13:A=T2,I=Z.alternate!==null?Z.alternate.memoizedState:null,K=Z.memoizedState,I===null||I.dehydrated===null||K!==null&&K.dehydrated!==null?T2=!1:(K=Z.deletions,K!==null&&0<K.length&&K[0].tag===18?(T2=!1,I=I.hydrationErrors,I!==null&&VZ(Z,Z.actualStartTime,$,I)):T2=!0),r0(z,Z,X,H,$),T2=A;break;case 23:break;case 22:K=Z.stateNode,I=Z.alternate,Z.memoizedState!==null?K._visibility&o4?r0(z,Z,X,H,$):E8(z,Z,X,H,$):K._visibility&o4?r0(z,Z,X,H,$):(K._visibility|=o4,F6(z,Z,X,H,(Z.subtreeFlags&10256)!==0||Z.actualDuration!==0&&(Z.alternate===null||Z.alternate.child!==Z.child),$),(Z.mode&C1)===L1||T2||(z=Z.actualStartTime,0<=z&&0.05<$-z&&Q9(Z,z,$),0<=Q1&&0<=U1&&0.05<U1-Q1&&Q9(Z,Q1,U1))),A&2048&&oX(I,Z);break;case 24:r0(z,Z,X,H,$),A&2048&&tX(Z.alternate,Z);break;default:r0(z,Z,X,H,$)}if((Z.mode&C1)!==L1){if(z=!T2&&Z.alternate===null&&Z.return!==null&&Z.return.alternate!==null)X=Z.actualStartTime,0<=X&&0.05<$-X&&U4(Z,X,$,"Mount");0<=Q1&&0<=U1&&((U2||0.05<B2)&&q4(Z,Q1,U1,B2,M2),z&&0.05<U1-Q1&&U4(Z,Q1,U1,"Mount"))}_0(Y),K4(M),M2=J,U2=Q,j5=G}function F6(z,Z,X,H,$,Y){$=$&&((Z.subtreeFlags&10256)!==0||Z.actualDuration!==0&&(Z.alternate===null||Z.alternate.child!==Z.child));for(Z=Z.child;Z!==null;){var M=Z.sibling;lB(z,Z,X,H,$,M!==null?M.actualStartTime:Y),Z=M}}function lB(z,Z,X,H,$,Y){var M=R0(),J=W4(),Q=R4(),G=_4(),A=j5;$&&(Z.mode&C1)!==L1&&0<Z.actualStartTime&&(Z.flags&1)!==0&&G9(Z,Z.actualStartTime,Y,T2,X);var I=Z.flags;switch(Z.tag){case 0:case 11:case 15:F6(z,Z,X,H,$,Y),vB(Z,e2);break;case 23:break;case 22:var K=Z.stateNode;Z.memoizedState!==null?K._visibility&o4?F6(z,Z,X,H,$,Y):E8(z,Z,X,H,Y):(K._visibility|=o4,F6(z,Z,X,H,$,Y)),$&&I&2048&&oX(Z.alternate,Z);break;case 24:F6(z,Z,X,H,$,Y),$&&I&2048&&tX(Z.alternate,Z);break;default:F6(z,Z,X,H,$,Y)}(Z.mode&C1)!==L1&&0<=Q1&&0<=U1&&(U2||0.05<B2)&&q4(Z,Q1,U1,B2,M2),_0(M),K4(J),M2=Q,U2=G,j5=A}function E8(z,Z,X,H,$){if(Z.subtreeFlags&10256||Z.actualDuration!==0&&(Z.alternate===null||Z.alternate.child!==Z.child))for(var Y=Z.child;Y!==null;){Z=Y.sibling;var M=z,J=X,Q=H,G=Z!==null?Z.actualStartTime:$,A=j5;(Y.mode&C1)!==L1&&0<Y.actualStartTime&&(Y.flags&1)!==0&&G9(Y,Y.actualStartTime,G,T2,J);var I=Y.flags;switch(Y.tag){case 22:E8(M,Y,J,Q,G),I&2048&&oX(Y.alternate,Y);break;case 24:E8(M,Y,J,Q,G),I&2048&&tX(Y.alternate,Y);break;default:E8(M,Y,J,Q,G)}j5=A,Y=Z}}function A6(z,Z,X){if(z.subtreeFlags&k7)for(z=z.child;z!==null;)pB(z,Z,X),z=z.sibling}function pB(z,Z,X){switch(z.tag){case 26:A6(z,Z,X),z.flags&k7&&z.memoizedState!==null&&MW(X,X4,z.memoizedState,z.memoizedProps);break;case 5:A6(z,Z,X);break;case 3:case 4:var H=X4;X4=Zz(z.stateNode.containerInfo),A6(z,Z,X),X4=H;break;case 22:z.memoizedState===null&&(H=z.alternate,H!==null&&H.memoizedState!==null?(H=k7,k7=16777216,A6(z,Z,X),k7=H):A6(z,Z,X));break;default:A6(z,Z,X)}}function aB(z){var Z=z.alternate;if(Z!==null&&(z=Z.child,z!==null)){Z.child=null;do Z=z.sibling,z.sibling=null,z=Z;while(z!==null)}}function x8(z){var Z=z.deletions;if((z.flags&16)!==0){if(Z!==null)for(var X=0;X<Z.length;X++){var H=Z[X],$=R0();g2=H,sB(H,z),(H.mode&C1)!==L1&&0<=Q1&&0<=U1&&0.05<U1-Q1&&U4(H,Q1,U1,"Unmount"),_0($)}aB(z)}if(z.subtreeFlags&10256)for(z=z.child;z!==null;)iB(z),z=z.sibling}function iB(z){var Z=R0(),X=W4(),H=R4(),$=_4();switch(z.tag){case 0:case 11:case 15:x8(z),z.flags&2048&&iX(z,z.return,e2|u0);break;case 3:var Y=p4();x8(z),z.stateNode.passiveEffectDuration+=A9(Y);break;case 12:Y=p4(),x8(z),z.stateNode.passiveEffectDuration+=v8(Y);break;case 22:Y=z.stateNode,z.memoizedState!==null&&Y._visibility&o4&&(z.return===null||z.return.tag!==13)?(Y._visibility&=~o4,n9(z),(z.mode&C1)!==L1&&0<=Q1&&0<=U1&&0.05<U1-Q1&&U4(z,Q1,U1,"Disconnect")):x8(z);break;default:x8(z)}(z.mode&C1)!==L1&&0<=Q1&&0<=U1&&(U2||0.05<B2)&&q4(z,Q1,U1,B2,M2),_0(Z),K4(X),U2=$,M2=H}function n9(z){var Z=z.deletions;if((z.flags&16)!==0){if(Z!==null)for(var X=0;X<Z.length;X++){var H=Z[X],$=R0();g2=H,sB(H,z),(H.mode&C1)!==L1&&0<=Q1&&0<=U1&&0.05<U1-Q1&&U4(H,Q1,U1,"Unmount"),_0($)}aB(z)}for(z=z.child;z!==null;)nB(z),z=z.sibling}function nB(z){var Z=R0(),X=W4(),H=R4(),$=_4();switch(z.tag){case 0:case 11:case 15:iX(z,z.return,e2),n9(z);break;case 22:var Y=z.stateNode;Y._visibility&o4&&(Y._visibility&=~o4,n9(z));break;default:n9(z)}(z.mode&C1)!==L1&&0<=Q1&&0<=U1&&(U2||0.05<B2)&&q4(z,Q1,U1,B2,M2),_0(Z),K4(X),U2=$,M2=H}function sB(z,Z){for(;g2!==null;){var X=g2,H=X,$=Z,Y=R0(),M=W4(),J=R4(),Q=_4();switch(H.tag){case 0:case 11:case 15:iX(H,$,e2);break;case 23:case 22:H.memoizedState!==null&&H.memoizedState.cachePool!==null&&($=H.memoizedState.cachePool.pool,$!=null&&C3($));break;case 24:T8(H.memoizedState.cache)}if((H.mode&C1)!==L1&&0<=Q1&&0<=U1&&(U2||0.05<B2)&&q4(H,Q1,U1,B2,M2),_0(Y),K4(M),U2=Q,M2=J,H=X.child,H!==null)H.return=X,g2=H;else z:for(X=z;g2!==null;){if(H=g2,Y=H.sibling,M=H.return,VB(H),H===X){g2=null;break z}if(Y!==null){Y.return=M,g2=Y;break z}g2=M}}}function AL(){xK.forEach(function(z){return z()})}function rB(){var z=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0;return z||g.actQueue===null||console.error("The current testing environment is not configured to support act(...)"),z}function A0(z){if((m1&v2)!==f2&&v1!==0)return v1&-v1;var Z=g.T;return Z!==null?(Z._updatedFibers||(Z._updatedFibers=new Set),Z._updatedFibers.add(z),MH()):T()}function oB(){if(B0===0)if((v1&536870912)===0||h1){var z=Lz;Lz<<=1,(Lz&3932160)===0&&(Lz=262144),B0=z}else B0=536870912;return z=T0.current,z!==null&&(z.flags|=32),B0}function G2(z,Z,X){if($8&&console.error("useInsertionEffect must not schedule updates."),u$&&(tz=!0),z===t1&&(i1===l3||i1===p3)||z.cancelPendingCommit!==null)I6(z,0),S5(z,v1,B0,!1);if(R5(z,X),(m1&v2)!==f2&&z===t1){if(S4)switch(Z.tag){case 0:case 11:case 15:z=S1&&h(S1)||"Unknown",CU.has(z)||(CU.add(z),Z=h(Z)||"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",Z,z,z));break;case 1:NU||(console.error("Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state."),NU=!0)}}else b4&&W8(z,Z,X),kL(Z),z===t1&&((m1&v2)===f2&&(s5|=X),J2===a5&&S5(z,v1,B0,!1)),C4(z)}function tB(z,Z,X){if((m1&(v2|w0))!==f2)throw Error("Should not already be working.");if(v1!==0&&S1!==null){var H=S1,$=b2();switch(RG){case g7:case l3:var Y=K7;X2&&((H=H._debugTask)?H.run(console.timeStamp.bind(console,"Suspended",Y,$,f0,void 0,"primary-light")):console.timeStamp("Suspended",Y,$,f0,void 0,"primary-light"));break;case p3:Y=K7,X2&&((H=H._debugTask)?H.run(console.timeStamp.bind(console,"Action",Y,$,f0,void 0,"primary-light")):console.timeStamp("Action",Y,$,f0,void 0,"primary-light"));break;default:X2&&(H=$-K7,3>H||console.timeStamp("Blocked",K7,$,f0,void 0,5>H?"primary-light":10>H?"primary":100>H?"primary-dark":"error"))}}Y=(X=!X&&(Z&127)===0&&(Z&z.expiredLanes)===0||U3(z,Z))?IL(z,Z):zH(z,Z,!0);var M=X;do{if(Y===J5){X8&&!X&&S5(z,Z,0,!1),Z=i1,K7=F2(),RG=Z;break}else{if(H=b2(),$=z.current.alternate,M&&!PL($)){W0(Z),$=y2,Y=H,!X2||Y<=$||(L2?L2.run(console.timeStamp.bind(console,"Teared Render",$,Y,g1,y1,"error")):console.timeStamp("Teared Render",$,Y,g1,y1,"error")),b3(Z,H),Y=zH(z,Z,!1),M=!1;continue}if(Y===c3){if(M=Z,z.errorRecoveryDisabledLanes&M)var J=0;else J=z.pendingLanes&-536870913,J=J!==0?J:J&536870912?536870912:0;if(J!==0){W0(Z),jZ(y2,H,Z,L2),b3(Z,H),Z=J;z:{H=z,Y=M,M=h7;var Q=H.current.memoizedState.isDehydrated;if(Q&&(I6(H,J).flags|=256),J=zH(H,J,!1),J!==c3){if(f$&&!Q){H.errorRecoveryDisabledLanes|=Y,s5|=Y,Y=a5;break z}H=z0,z0=M,H!==null&&(z0===null?z0=H:z0.push.apply(z0,H))}Y=J}if(M=!1,Y!==c3)continue;else H=b2()}}if(Y===y7){W0(Z),jZ(y2,H,Z,L2),b3(Z,H),I6(z,0),S5(z,Z,0,!0);break}z:{switch(X=z,Y){case J5:case y7:throw Error("Root did not complete. This is a bug in React.");case a5:if((Z&4194048)!==Z)break;case lz:W0(Z),tY(y2,H,Z,L2),b3(Z,H),$=Z,($&127)!==0?kz=H:($&4194048)!==0&&(bz=H),S5(X,Z,B0,!i5);break z;case c3:z0=null;break;case cz:case GU:break;default:throw Error("Unknown root exit status.")}if(g.actQueue!==null)ZH(X,$,Z,z0,V7,iz,B0,s5,a3,Y,null,null,y2,H);else{if((Z&62914560)===Z&&(M=nz+LU-b2(),10<M)){if(S5(X,Z,B0,!i5),G3(X,0,!0)!==0)break z;H4=Z,X.timeoutHandle=gU(eB.bind(null,X,$,z0,V7,iz,Z,B0,s5,a3,i5,Y,"Throttled",y2,H),M);break z}eB(X,$,z0,V7,iz,Z,B0,s5,a3,i5,Y,null,y2,H)}}}break}while(1);C4(z)}function eB(z,Z,X,H,$,Y,M,J,Q,G,A,I,K,S){z.timeoutHandle=o3;var s=Z.subtreeFlags,Z1=null;if(s&8192||(s&16785408)===16785408){if(Z1={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:u4},pB(Z,Y,Z1),s=(Y&62914560)===Y?nz-b2():(Y&4194048)===Y?qU-b2():0,s=BW(Z1,s),s!==null){H4=Y,z.cancelPendingCommit=s(ZH.bind(null,z,Z,Y,X,H,$,M,J,Q,A,Z1,Z1.waitingForViewTransition?"Waiting for the previous Animation":0<Z1.count?0<Z1.imgCount?"Suspended on CSS and Images":"Suspended on CSS":Z1.imgCount===1?"Suspended on an Image":0<Z1.imgCount?"Suspended on Images":null,K,S)),S5(z,Y,M,!G);return}}ZH(z,Z,Y,X,H,$,M,J,Q,A,Z1,I,K,S)}function PL(z){for(var Z=z;;){var X=Z.tag;if((X===0||X===11||X===15)&&Z.flags&16384&&(X=Z.updateQueue,X!==null&&(X=X.stores,X!==null)))for(var H=0;H<X.length;H++){var $=X[H],Y=$.getSnapshot;$=$.value;try{if(!r2(Y(),$))return!1}catch(M){return!1}}if(X=Z.child,Z.subtreeFlags&16384&&X!==null)X.return=Z,Z=X;else{if(Z===z)break;for(;Z.sibling===null;){if(Z.return===null||Z.return===z)return!0;Z=Z.return}Z.sibling.return=Z.return,Z=Z.sibling}}return!0}function S5(z,Z,X,H){Z&=~h$,Z&=~s5,z.suspendedLanes|=Z,z.pingedLanes&=~Z,H&&(z.warmLanes|=Z),H=z.expirationTimes;for(var $=Z;0<$;){var Y=31-i2($),M=1<<Y;H[Y]=-1,$&=~M}X!==0&&q3(z,X,Z)}function P6(){return(m1&(v2|w0))===f2?(c8(0,!1),!1):!0}function eX(){if(S1!==null){if(i1===M0)var z=S1.return;else z=S1,R9(),GX(z),i6=null,C7=0,z=S1;for(;z!==null;)CB(z.alternate,z),z=z.return;S1=null}}function b3(z,Z){(z&127)!==0&&(u5=Z),(z&4194048)!==0&&(V4=Z),(z&62914560)!==0&&(WG=Z),(z&2080374784)!==0&&(KG=Z)}function I6(z,Z){X2&&(console.timeStamp("Blocking Track",0.003,0.003,"Blocking",y1,"primary-light"),console.timeStamp("Transition Track",0.003,0.003,"Transition",y1,"primary-light"),console.timeStamp("Suspense Track",0.003,0.003,"Suspense",y1,"primary-light"),console.timeStamp("Idle Track",0.003,0.003,"Idle",y1,"primary-light"));var X=y2;if(y2=F2(),v1!==0&&0<X){if(W0(v1),J2===cz||J2===a5)tY(X,y2,Z,L2);else{var H=y2,$=L2;if(X2&&!(H<=X)){var Y=(Z&738197653)===Z?"tertiary-dark":"primary-dark",M=(Z&536870912)===Z?"Prewarm":(Z&201326741)===Z?"Interrupted Hydration":"Interrupted Render";$?$.run(console.timeStamp.bind(console,M,X,H,g1,y1,Y)):console.timeStamp(M,X,H,g1,y1,Y)}}b3(v1,y2)}if(X=L2,L2=null,(Z&127)!==0){L2=q7,$=0<=h4&&h4<u5?u5:h4,H=0<=V3&&V3<u5?u5:V3,Y=0<=H?H:0<=$?$:y2,0<=kz?(W0(2),eY(kz,Y,Z,X)):(yz&127)!==0&&(W0(2),N8(u5,Y,H5)),X=$;var J=H,Q=L7,G=0<l6,A=d5===U7,I=d5===Sz;if($=y2,H=q7,Y=q$,M=L$,X2){if(g1="Blocking",0<X?X>$&&(X=$):X=$,0<J?J>X&&(J=X):J=X,Q!==null&&X>J){var K=G?"secondary-light":"warning";H?H.run(console.timeStamp.bind(console,G?"Consecutive":"Event: "+Q,J,X,g1,y1,K)):console.timeStamp(G?"Consecutive":"Event: "+Q,J,X,g1,y1,K)}$>X&&(J=A?"error":(Z&738197653)===Z?"tertiary-light":"primary-light",A=I?"Promise Resolved":A?"Cascading Update":5<$-X?"Update Blocked":"Update",I=[],M!=null&&I.push(["Component name",M]),Y!=null&&I.push(["Method name",Y]),X={start:X,end:$,detail:{devtools:{properties:I,track:g1,trackGroup:y1,color:J}}},H?H.run(performance.measure.bind(performance,A,X)):performance.measure(A,X))}h4=-1.1,d5=0,L$=q$=null,kz=-1.1,l6=V3,V3=-1.1,u5=F2()}if((Z&4194048)!==0&&(L2=W7,$=0<=X5&&X5<V4?V4:X5,X=0<=E0&&E0<V4?V4:E0,H=0<=c5&&c5<V4?V4:c5,Y=0<=H?H:0<=X?X:y2,0<=bz?(W0(256),eY(bz,Y,Z,L2)):(yz&4194048)!==0&&(W0(256),N8(V4,Y,H5)),I=H,J=j3,Q=0<l5,G=W$===Sz,Y=y2,H=W7,M=qG,A=LG,X2&&(g1="Transition",0<X?X>Y&&(X=Y):X=Y,0<$?$>X&&($=X):$=X,0<I?I>$&&(I=$):I=$,$>I&&J!==null&&(K=Q?"secondary-light":"warning",H?H.run(console.timeStamp.bind(console,Q?"Consecutive":"Event: "+J,I,$,g1,y1,K)):console.timeStamp(Q?"Consecutive":"Event: "+J,I,$,g1,y1,K)),X>$&&(H?H.run(console.timeStamp.bind(console,"Action",$,X,g1,y1,"primary-dark")):console.timeStamp("Action",$,X,g1,y1,"primary-dark")),Y>X&&($=G?"Promise Resolved":5<Y-X?"Update Blocked":"Update",I=[],A!=null&&I.push(["Component name",A]),M!=null&&I.push(["Method name",M]),X={start:X,end:Y,detail:{devtools:{properties:I,track:g1,trackGroup:y1,color:"primary-light"}}},H?H.run(performance.measure.bind(performance,$,X)):performance.measure($,X))),E0=X5=-1.1,W$=0,bz=-1.1,l5=c5,c5=-1.1,V4=F2()),(Z&62914560)!==0&&(yz&62914560)!==0&&(W0(4194304),N8(WG,y2,H5)),(Z&2080374784)!==0&&(yz&2080374784)!==0&&(W0(268435456),N8(KG,y2,H5)),X=z.timeoutHandle,X!==o3&&(z.timeoutHandle=o3,eK(X)),X=z.cancelPendingCommit,X!==null&&(z.cancelPendingCommit=null,X()),H4=0,eX(),t1=z,S1=X=d4(z.current,null),v1=Z,i1=M0,S0=null,i5=!1,X8=U3(z,Z),f$=!1,J2=J5,a3=B0=h$=s5=n5=0,z0=h7=null,iz=!1,(Z&8)!==0&&(Z|=Z&32),H=z.entangledLanes,H!==0)for(z=z.entanglements,H&=Z;0<H;)$=31-i2(H),Y=1<<$,Z|=z[$],H&=~Y;return m4=Z,U9(),z=MG(),1000<z-YG&&(g.recentlyCreatedOwnerStacks=0,YG=z),z4.discardPendingWarnings(),X}function zJ(z,Z){W1=null,g.H=S7,g.getCurrentStack=null,S4=!1,O0=null,Z===a6||Z===Vz?(Z=IM(),i1=g7):Z===F$?(Z=IM(),i1=UU):i1=Z===S$?g$:Z!==null&&typeof Z==="object"&&typeof Z.then==="function"?f7:pz,S0=Z;var X=S1;X===null?(J2=y7,u9(z,K0(Z,z.current))):X.mode&C1&&oZ(X)}function ZJ(){var z=T0.current;return z===null?!0:(v1&4194048)===v1?x0===null?!0:!1:(v1&62914560)===v1||(v1&536870912)!==0?z===x0:!1}function XJ(){var z=g.H;return g.H=S7,z===null?S7:z}function HJ(){var z=g.A;return g.A=EK,z}function s9(z){L2===null&&(L2=z._debugTask==null?null:z._debugTask)}function r9(){J2=a5,i5||(v1&4194048)!==v1&&T0.current!==null||(X8=!0),(n5&134217727)===0&&(s5&134217727)===0||t1===null||S5(t1,v1,B0,!1)}function zH(z,Z,X){var H=m1;m1|=v2;var $=XJ(),Y=HJ();if(t1!==z||v1!==Z){if(b4){var M=z.memoizedUpdaters;0<M.size&&(d8(z,v1),M.clear()),_5(z,Z)}V7=null,I6(z,Z)}Z=!1,M=J2;z:do try{if(i1!==M0&&S1!==null){var J=S1,Q=S0;switch(i1){case g$:eX(),M=lz;break z;case g7:case l3:case p3:case f7:T0.current===null&&(Z=!0);var G=i1;if(i1=M0,S0=null,O6(z,J,Q,G),X&&X8){M=J5;break z}break;default:G=i1,i1=M0,S0=null,O6(z,J,Q,G)}}$J(),M=J2;break}catch(A){zJ(z,A)}while(1);return Z&&z.shellSuspendCounter++,R9(),m1=H,g.H=$,g.A=Y,S1===null&&(t1=null,v1=0,U9()),M}function $J(){for(;S1!==null;)YJ(S1)}function IL(z,Z){var X=m1;m1|=v2;var H=XJ(),$=HJ();if(t1!==z||v1!==Z){if(b4){var Y=z.memoizedUpdaters;0<Y.size&&(d8(z,v1),Y.clear()),_5(z,Z)}V7=null,sz=b2()+WU,I6(z,Z)}else X8=U3(z,Z);z:do try{if(i1!==M0&&S1!==null)Z:switch(Z=S1,Y=S0,i1){case pz:i1=M0,S0=null,O6(z,Z,Y,pz);break;case l3:case p3:if(AM(Y)){i1=M0,S0=null,MJ(Z);break}Z=function(){i1!==l3&&i1!==p3||t1!==z||(i1=az),C4(z)},Y.then(Z,Z);break z;case g7:i1=az;break z;case UU:i1=y$;break z;case az:AM(Y)?(i1=M0,S0=null,MJ(Z)):(i1=M0,S0=null,O6(z,Z,Y,az));break;case y$:var M=null;switch(S1.tag){case 26:M=S1.memoizedState;case 5:case 27:var J=S1;if(M?tJ(M):J.stateNode.complete){i1=M0,S0=null;var Q=J.sibling;if(Q!==null)S1=Q;else{var G=J.return;G!==null?(S1=G,o9(G)):S1=null}break Z}break;default:console.error("Unexpected type of fiber triggered a suspensey commit. This is a bug in React.")}i1=M0,S0=null,O6(z,Z,Y,y$);break;case f7:i1=M0,S0=null,O6(z,Z,Y,f7);break;case g$:eX(),J2=lz;break z;default:throw Error("Unexpected SuspendedReason. This is a bug in React.")}g.actQueue!==null?$J():OL();break}catch(A){zJ(z,A)}while(1);if(R9(),g.H=H,g.A=$,m1=X,S1!==null)return J5;return t1=null,v1=0,U9(),J2}function OL(){for(;S1!==null&&!PW();)YJ(S1)}function YJ(z){var Z=z.alternate;(z.mode&C1)!==L1?(rZ(z),Z=X1(z,lX,Z,z,m4),oZ(z)):Z=X1(z,lX,Z,z,m4),z.memoizedProps=z.pendingProps,Z===null?o9(z):S1=Z}function MJ(z){var Z=X1(z,NL,z);z.memoizedProps=z.pendingProps,Z===null?o9(z):S1=Z}function NL(z){var Z=z.alternate,X=(z.mode&C1)!==L1;switch(X&&rZ(z),z.tag){case 15:case 0:Z=_B(Z,z,z.pendingProps,z.type,void 0,v1);break;case 11:Z=_B(Z,z,z.pendingProps,z.type.render,z.ref,v1);break;case 5:GX(z);default:CB(Z,z),z=S1=YM(z,m4),Z=lX(Z,z,m4)}return X&&oZ(z),Z}function O6(z,Z,X,H){R9(),GX(Z),i6=null,C7=0;var $=Z.return;try{if(BL(z,$,Z,X,v1)){J2=y7,u9(z,K0(X,z.current)),S1=null;return}}catch(Y){if($!==null)throw S1=$,Y;J2=y7,u9(z,K0(X,z.current)),S1=null;return}if(Z.flags&32768){if(h1||H===pz)z=!0;else if(X8||(v1&536870912)!==0)z=!1;else if(i5=z=!0,H===l3||H===p3||H===g7||H===f7)H=T0.current,H!==null&&H.tag===13&&(H.flags|=16384);BJ(Z,z)}else o9(Z)}function o9(z){var Z=z;do{if((Z.flags&32768)!==0){BJ(Z,i5);return}var X=Z.alternate;if(z=Z.return,rZ(Z),X=X1(Z,GL,X,Z,m4),(Z.mode&C1)!==L1&&WM(Z),X!==null){S1=X;return}if(Z=Z.sibling,Z!==null){S1=Z;return}S1=Z=z}while(Z!==null);J2===J5&&(J2=GU)}function BJ(z,Z){do{var X=UL(z.alternate,z);if(X!==null){X.flags&=32767,S1=X;return}if((z.mode&C1)!==L1){WM(z),X=z.actualDuration;for(var H=z.child;H!==null;)X+=H.actualDuration,H=H.sibling;z.actualDuration=X}if(X=z.return,X!==null&&(X.flags|=32768,X.subtreeFlags=0,X.deletions=null),!Z&&(z=z.sibling,z!==null)){S1=z;return}S1=z=X}while(z!==null);J2=lz,S1=null}function ZH(z,Z,X,H,$,Y,M,J,Q,G,A,I,K,S){z.cancelPendingCommit=null;do u8();while(N2!==o5);if(z4.flushLegacyContextWarning(),z4.flushPendingUnsafeLifecycleWarnings(),(m1&(v2|w0))!==f2)throw Error("Should not already be working.");if(W0(X),G===c3?jZ(K,S,X,L2):H!==null?nq(K,S,X,H,Z!==null&&Z.alternate!==null&&Z.alternate.memoizedState.isDehydrated&&(Z.flags&256)!==0,L2):iq(K,S,X,L2),Z!==null){if(X===0&&console.error("finishedLanes should not be empty during a commit. This is a bug in React."),Z===z.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(Y=Z.lanes|Z.childLanes,Y|=B$,z9(z,X,Y,M,J,Q),z===t1&&(S1=t1=null,v1=0),H8=Z,t5=z,H4=X,m$=Y,E$=$,PU=H,D$=S,IU=I,$4=rz,OU=null,Z.actualDuration!==0||(Z.subtreeFlags&10256)!==0||(Z.flags&10256)!==0?(z.callbackNode=null,z.callbackPriority=0,SL(S6,function(){return u7=window.event,$4===rz&&($4=j$),qJ(),null})):(z.callbackNode=null,z.callbackPriority=0),Z5=null,x5=F2(),I!==null&&sq(S,x5,I,L2),H=(Z.flags&13878)!==0,(Z.subtreeFlags&13878)!==0||H){H=g.T,g.T=null,$=u1.p,u1.p=N0,M=m1,m1|=w0;try{_L(z,Z,X)}finally{m1=M,u1.p=$,g.T=H}}N2=RU,JJ(),QJ(),GJ()}}function JJ(){if(N2===RU){N2=o5;var z=t5,Z=H8,X=H4,H=(Z.flags&13878)!==0;if((Z.subtreeFlags&13878)!==0||H){H=g.T,g.T=null;var $=u1.p;u1.p=N0;var Y=m1;m1|=w0;try{z8=X,Z8=z,P9(),EB(Z,z),Z8=z8=null,X=r$;var M=sY(z.containerInfo),J=X.focusedElem,Q=X.selectionRange;if(M!==J&&J&&J.ownerDocument&&nY(J.ownerDocument.documentElement,J)){if(Q!==null&&fZ(J)){var{start:G,end:A}=Q;if(A===void 0&&(A=G),"selectionStart"in J)J.selectionStart=G,J.selectionEnd=Math.min(A,J.value.length);else{var I=J.ownerDocument||document,K=I&&I.defaultView||window;if(K.getSelection){var S=K.getSelection(),s=J.textContent.length,Z1=Math.min(Q.start,s),Z2=Q.end===void 0?Z1:Math.min(Q.end,s);!S.extend&&Z1>Z2&&(M=Z2,Z2=Z1,Z1=M);var j1=iY(J,Z1),W=iY(J,Z2);if(j1&&W&&(S.rangeCount!==1||S.anchorNode!==j1.node||S.anchorOffset!==j1.offset||S.focusNode!==W.node||S.focusOffset!==W.offset)){var R=I.createRange();R.setStart(j1.node,j1.offset),S.removeAllRanges(),Z1>Z2?(S.addRange(R),S.extend(W.node,W.offset)):(R.setEnd(W.node,W.offset),S.addRange(R))}}}}I=[];for(S=J;S=S.parentNode;)S.nodeType===1&&I.push({element:S,left:S.scrollLeft,top:S.scrollTop});typeof J.focus==="function"&&J.focus();for(J=0;J<I.length;J++){var F=I[J];F.element.scrollLeft=F.left,F.element.scrollTop=F.top}}qZ=!!s$,r$=s$=null}finally{m1=Y,u1.p=$,g.T=H}}z.current=Z,N2=_U}}function QJ(){if(N2===_U){N2=o5;var z=OU;if(z!==null){x5=F2();var Z=z5,X=x5;!X2||X<=Z||(H5?H5.run(console.timeStamp.bind(console,z,Z,X,g1,y1,"secondary-light")):console.timeStamp(z,Z,X,g1,y1,"secondary-light"))}z=t5,Z=H8,X=H4;var H=(Z.flags&8772)!==0;if((Z.subtreeFlags&8772)!==0||H){H=g.T,g.T=null;var $=u1.p;u1.p=N0;var Y=m1;m1|=w0;try{z8=X,Z8=z,P9(),hB(z,Z.alternate,Z),Z8=z8=null}finally{m1=Y,u1.p=$,g.T=H}}z=D$,Z=IU,z5=F2(),z=Z===null?z:x5,Z=z5,X=$4===V$,H=L2,Z5!==null?zM(z,Z,Z5,!1,H):!X2||Z<=z||(H?H.run(console.timeStamp.bind(console,X?"Commit Interrupted View Transition":"Commit",z,Z,g1,y1,X?"error":"secondary-dark")):console.timeStamp(X?"Commit Interrupted View Transition":"Commit",z,Z,g1,y1,X?"error":"secondary-dark")),N2=FU}}function GJ(){if(N2===AU||N2===FU){if(N2===AU){var z=z5;z5=F2();var Z=z5,X=$4===V$;!X2||Z<=z||(H5?H5.run(console.timeStamp.bind(console,X?"Interrupted View Transition":"Starting Animation",z,Z,g1,y1,X?"error":"secondary-light")):console.timeStamp(X?"Interrupted View Transition":"Starting Animation",z,Z,g1,y1,X?" error":"secondary-light")),$4!==V$&&($4=KU)}N2=o5,IW(),z=t5;var H=H8;Z=H4,X=PU;var $=H.actualDuration!==0||(H.subtreeFlags&10256)!==0||(H.flags&10256)!==0;$?N2=oz:(N2=o5,H8=t5=null,UJ(z,z.pendingLanes),i3=0,m7=null);var Y=z.pendingLanes;if(Y===0&&(r5=null),$||RJ(z),Y=q(Z),H=H.stateNode,c2&&typeof c2.onCommitFiberRoot==="function")try{var M=(H.current.flags&128)===128;switch(Y){case N0:var J=EH;break;case t0:J=xH;break;case y4:J=S6;break;case Kz:J=uH;break;default:J=S6}c2.onCommitFiberRoot(k6,H,J,M)}catch(I){k4||(k4=!0,console.error("React instrumentation encountered an error: %o",I))}if(b4&&z.memoizedUpdaters.clear(),AL(),X!==null){M=g.T,J=u1.p,u1.p=N0,g.T=null;try{var Q=z.onRecoverableError;for(H=0;H<X.length;H++){var G=X[H],A=CL(G.stack);X1(G.source,Q,G.value,A)}}finally{g.T=M,u1.p=J}}(H4&3)!==0&&u8(),C4(z),Y=z.pendingLanes,(Z&261930)!==0&&(Y&42)!==0?(fz=!0,z===x$?j7++:(j7=0,x$=z)):j7=0,$||b3(Z,z5),c8(0,!1)}}function CL(z){return z={componentStack:z},Object.defineProperty(z,"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.')}}),z}function UJ(z,Z){(z.pooledCacheLanes&=Z)===0&&(Z=z.pooledCache,Z!=null&&(z.pooledCache=null,T8(Z)))}function u8(){return JJ(),QJ(),GJ(),qJ()}function qJ(){if(N2!==oz)return!1;var z=t5,Z=m$;m$=0;var X=q(H4),H=y4===0||y4>X?y4:X;X=g.T;var $=u1.p;try{u1.p=H,g.T=null;var Y=E$;E$=null,H=t5;var M=H4;if(N2=o5,H8=t5=null,H4=0,(m1&(v2|w0))!==f2)throw Error("Cannot flush passive effects while already rendering.");W0(M),u$=!0,tz=!1;var J=0;if(Z5=null,J=b2(),$4===KU)N8(z5,J,H5);else{var Q=z5,G=J,A=$4===j$;!X2||G<=Q||(L2?L2.run(console.timeStamp.bind(console,A?"Waiting for Paint":"Waiting",Q,G,g1,y1,"secondary-light")):console.timeStamp(A?"Waiting for Paint":"Waiting",Q,G,g1,y1,"secondary-light"))}Q=m1,m1|=w0;var I=H.current;P9(),iB(I);var K=H.current;I=D$,P9(),cB(H,K,M,Y,I),RJ(H),m1=Q;var S=b2();if(K=J,I=L2,Z5!==null?zM(K,S,Z5,!0,I):!X2||S<=K||(I?I.run(console.timeStamp.bind(console,"Remaining Effects",K,S,g1,y1,"secondary-dark")):console.timeStamp("Remaining Effects",K,S,g1,y1,"secondary-dark")),b3(M,S),c8(0,!1),tz?H===m7?i3++:(i3=0,m7=H):i3=0,tz=u$=!1,c2&&typeof c2.onPostCommitFiberRoot==="function")try{c2.onPostCommitFiberRoot(k6,H)}catch(Z1){k4||(k4=!0,console.error("React instrumentation encountered an error: %o",Z1))}var s=H.current.stateNode;return s.effectDuration=0,s.passiveEffectDuration=0,!0}finally{u1.p=$,g.T=X,UJ(z,Z)}}function LJ(z,Z,X){Z=K0(X,Z),KM(Z),Z=fX(z.stateNode,Z,2),z=C5(z,Z,2),z!==null&&(R5(z,2),C4(z))}function x1(z,Z,X){if($8=!1,z.tag===3)LJ(z,z,X);else{for(;Z!==null;){if(Z.tag===3){LJ(Z,z,X);return}if(Z.tag===1){var H=Z.stateNode;if(typeof Z.type.getDerivedStateFromError==="function"||typeof H.componentDidCatch==="function"&&(r5===null||!r5.has(H))){z=K0(X,z),KM(z),X=hX(2),H=C5(Z,X,2),H!==null&&(VX(X,H,Z,z),R5(H,2),C4(H));return}}Z=Z.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.
|
|
154
|
+
|
|
155
|
+
Error message:
|
|
156
|
+
|
|
157
|
+
%s`,X)}}function XH(z,Z,X){var H=z.pingCache;if(H===null){H=z.pingCache=new uK;var $=new Set;H.set(Z,$)}else $=H.get(Z),$===void 0&&($=new Set,H.set(Z,$));$.has(X)||(f$=!0,$.add(X),H=TL.bind(null,z,Z,X),b4&&d8(z,X),Z.then(H,H))}function TL(z,Z,X){var H=z.pingCache;H!==null&&H.delete(Z),z.pingedLanes|=z.suspendedLanes&X,z.warmLanes&=~X,(X&127)!==0?0>h4&&(u5=h4=F2(),q7=wz("Promise Resolved"),d5=Sz):(X&4194048)!==0&&0>E0&&(V4=E0=F2(),W7=wz("Promise Resolved"),W$=Sz),rB()&&g.actQueue===null&&console.error(`A suspended resource finished loading inside a test, but the event was not wrapped in act(...).
|
|
158
|
+
|
|
159
|
+
When testing, code that resolves suspended data should be wrapped into act(...):
|
|
160
|
+
|
|
161
|
+
act(() => {
|
|
162
|
+
/* finish loading suspended data */
|
|
163
|
+
});
|
|
164
|
+
/* assert on the output */
|
|
165
|
+
|
|
166
|
+
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`),t1===z&&(v1&X)===X&&(J2===a5||J2===cz&&(v1&62914560)===v1&&b2()-nz<LU?(m1&v2)===f2&&I6(z,0):h$|=X,a3===v1&&(a3=0)),C4(z)}function WJ(z,Z){Z===0&&(Z=M6()),z=d2(z,Z),z!==null&&(R5(z,Z),C4(z))}function vL(z){var Z=z.memoizedState,X=0;Z!==null&&(X=Z.retryLane),WJ(z,X)}function wL(z,Z){var X=0;switch(z.tag){case 31:case 13:var{stateNode:H,memoizedState:$}=z;$!==null&&(X=$.retryLane);break;case 19:H=z.stateNode;break;case 22:H=z.stateNode._retryCache;break;default:throw Error("Pinged unknown suspense boundary type. This is probably a bug in React.")}H!==null&&H.delete(Z),WJ(z,X)}function HH(z,Z,X){if((Z.subtreeFlags&67117056)!==0)for(Z=Z.child;Z!==null;){var H=z,$=Z,Y=$.type===Qz;Y=X||Y,$.tag!==22?$.flags&67108864?Y&&X1($,KJ,H,$):HH(H,$,Y):$.memoizedState===null&&(Y&&$.flags&8192?X1($,KJ,H,$):$.subtreeFlags&67108864&&X1($,HH,H,$,Y)),Z=Z.sibling}}function KJ(z,Z){e1(!0);try{uB(Z),nB(Z),dB(z,Z.alternate,Z,!1),lB(z,Z,0,null,!1,0)}finally{e1(!1)}}function RJ(z){var Z=!0;z.current.mode&(l2|e0)||(Z=!1),HH(z,z.current,Z)}function _J(z){if((m1&v2)===f2){var Z=z.tag;if(Z===3||Z===1||Z===0||Z===11||Z===14||Z===15){if(Z=h(z)||"ReactComponent",ez!==null){if(ez.has(Z))return;ez.add(Z)}else ez=new Set([Z]);X1(z,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 d8(z,Z){b4&&z.memoizedUpdaters.forEach(function(X){W8(z,X,Z)})}function SL(z,Z){var X=g.actQueue;return X!==null?(X.push(Z),lK):DH(z,Z)}function kL(z){rB()&&g.actQueue===null&&X1(z,function(){console.error(`An update to %s inside a test was not wrapped in act(...).
|
|
167
|
+
|
|
168
|
+
When testing, code that causes React state updates should be wrapped into act(...):
|
|
169
|
+
|
|
170
|
+
act(() => {
|
|
171
|
+
/* fire events that update state */
|
|
172
|
+
});
|
|
173
|
+
/* assert on the output */
|
|
174
|
+
|
|
175
|
+
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`,h(z))})}function C4(z){z!==Y8&&z.next===null&&(Y8===null?zZ=Y8=z:Y8=Y8.next=z),ZZ=!0,g.actQueue!==null?c$||(c$=!0,IJ()):d$||(d$=!0,IJ())}function c8(z,Z){if(!l$&&ZZ){l$=!0;do{var X=!1;for(var H=zZ;H!==null;){if(!Z)if(z!==0){var $=H.pendingLanes;if($===0)var Y=0;else{var{suspendedLanes:M,pingedLanes:J}=H;Y=(1<<31-i2(42|z)+1)-1,Y&=$&~(M&~J),Y=Y&201326741?Y&201326741|1:Y?Y|2:0}Y!==0&&(X=!0,PJ(H,Y))}else Y=v1,Y=G3(H,H===t1?Y:0,H.cancelPendingCommit!==null||H.timeoutHandle!==o3),(Y&3)===0||U3(H,Y)||(X=!0,PJ(H,Y));H=H.next}}while(X);l$=!1}}function bL(){u7=window.event,$H()}function $H(){ZZ=c$=d$=!1;var z=0;e5!==0&&mL()&&(z=e5);for(var Z=b2(),X=null,H=zZ;H!==null;){var $=H.next,Y=FJ(H,Z);if(Y===0)H.next=null,X===null?zZ=$:X.next=$,$===null&&(Y8=X);else if(X=H,z!==0||(Y&3)!==0)ZZ=!0;H=$}N2!==o5&&N2!==oz||c8(z,!1),e5!==0&&(e5=0)}function FJ(z,Z){for(var{suspendedLanes:X,pingedLanes:H,expirationTimes:$}=z,Y=z.pendingLanes&-62914561;0<Y;){var M=31-i2(Y),J=1<<M,Q=$[M];if(Q===-1){if((J&X)===0||(J&H)!==0)$[M]=OZ(J,Z)}else Q<=Z&&(z.expiredLanes|=J);Y&=~J}if(Z=t1,X=v1,X=G3(z,z===Z?X:0,z.cancelPendingCommit!==null||z.timeoutHandle!==o3),H=z.callbackNode,X===0||z===Z&&(i1===l3||i1===p3)||z.cancelPendingCommit!==null)return H!==null&&YH(H),z.callbackNode=null,z.callbackPriority=0;if((X&3)===0||U3(z,X)){if(Z=X&-X,Z!==z.callbackPriority||g.actQueue!==null&&H!==p$)YH(H);else return Z;switch(q(X)){case N0:case t0:X=xH;break;case y4:X=S6;break;case Kz:X=uH;break;default:X=S6}return H=AJ.bind(null,z),g.actQueue!==null?(g.actQueue.push(H),X=p$):X=DH(X,H),z.callbackPriority=Z,z.callbackNode=X,Z}return H!==null&&YH(H),z.callbackPriority=2,z.callbackNode=null,2}function AJ(z,Z){if(fz=gz=!1,u7=window.event,N2!==o5&&N2!==oz)return z.callbackNode=null,z.callbackPriority=0,null;var X=z.callbackNode;if($4===rz&&($4=j$),u8()&&z.callbackNode!==X)return null;var H=v1;if(H=G3(z,z===t1?H:0,z.cancelPendingCommit!==null||z.timeoutHandle!==o3),H===0)return null;return tB(z,H,Z),FJ(z,b2()),z.callbackNode!=null&&z.callbackNode===X?AJ.bind(null,z):null}function PJ(z,Z){if(u8())return null;gz=fz,fz=!1,tB(z,Z,!0)}function YH(z){z!==p$&&z!==null&&AW(z)}function IJ(){g.actQueue!==null&&g.actQueue.push(function(){return $H(),null}),zR(function(){(m1&(v2|w0))!==f2?DH(EH,bL):$H()})}function MH(){if(e5===0){var z=m3;z===0&&(z=qz,qz<<=1,(qz&261888)===0&&(qz=256)),e5=z}return e5}function OJ(z){if(z==null||typeof z==="symbol"||typeof z==="boolean")return null;if(typeof z==="function")return z;return s1(z,"action"),P8(""+z)}function NJ(z,Z){var X=Z.ownerDocument.createElement("input");return X.name=Z.name,X.value=Z.value,z.id&&X.setAttribute("form",z.id),Z.parentNode.insertBefore(X,Z),z=new FormData(z),X.parentNode.removeChild(X),z}function yL(z,Z,X,H,$){if(Z==="submit"&&X&&X.stateNode===$){var Y=OJ(($[n2]||null).action),M=H.submitter;M&&(Z=(Z=M[n2]||null)?OJ(Z.formAction):M.getAttribute("formAction"),Z!==null&&(Y=Z,M=null));var J=new Pz("action","action",null,H,$);z.push({event:J,listeners:[{instance:null,listener:function(){if(H.defaultPrevented){if(e5!==0){var Q=M?NJ($,M):new FormData($),G={pending:!0,data:Q,method:$.method,action:Y};Object.freeze(G),vX(X,G,null,Q)}}else typeof Y==="function"&&(J.preventDefault(),Q=M?NJ($,M):new FormData($),G={pending:!0,data:Q,method:$.method,action:Y},Object.freeze(G),vX(X,G,Y,Q))},currentTarget:$}]})}}function t9(z,Z,X){z.currentTarget=X;try{Z(z)}catch(H){H$(H)}z.currentTarget=null}function CJ(z,Z){Z=(Z&4)!==0;for(var X=0;X<z.length;X++){var H=z[X];z:{var $=void 0,Y=H.event;if(H=H.listeners,Z)for(var M=H.length-1;0<=M;M--){var J=H[M],Q=J.instance,G=J.currentTarget;if(J=J.listener,Q!==$&&Y.isPropagationStopped())break z;Q!==null?X1(Q,t9,Y,J,G):t9(Y,J,G),$=Q}else for(M=0;M<H.length;M++){if(J=H[M],Q=J.instance,G=J.currentTarget,J=J.listener,Q!==$&&Y.isPropagationStopped())break z;Q!==null?X1(Q,t9,Y,J,G):t9(Y,J,G),$=Q}}}}function V1(z,Z){a$.has(z)||console.error('Did not expect a listenToNonDelegatedEvent() call for "%s". This is a bug in React. Please file an issue.',z);var X=Z[dH];X===void 0&&(X=Z[dH]=new Set);var H=z+"__bubble";X.has(H)||(TJ(Z,z,2,!1),X.add(H))}function BH(z,Z,X){a$.has(z)&&!Z&&console.error('Did not expect a listenToNativeEvent() call for "%s" in the bubble phase. This is a bug in React. Please file an issue.',z);var H=0;Z&&(H|=4),TJ(X,z,H,Z)}function JH(z){if(!z[XZ]){z[XZ]=!0,IQ.forEach(function(X){X!=="selectionchange"&&(a$.has(X)||BH(X,!1,z),BH(X,!0,z))});var Z=z.nodeType===9?z:z.ownerDocument;Z===null||Z[XZ]||(Z[XZ]=!0,BH("selectionchange",!1,Z))}}function TJ(z,Z,X,H){switch($Q(Z)){case N0:var $=UW;break;case t0:$=qW;break;default:$=CH}X=$.bind(null,Z,X,z),$=void 0,!iH||Z!=="touchstart"&&Z!=="touchmove"&&Z!=="wheel"||($=!0),H?$!==void 0?z.addEventListener(Z,X,{capture:!0,passive:$}):z.addEventListener(Z,X,!0):$!==void 0?z.addEventListener(Z,X,{passive:$}):z.addEventListener(Z,X,!1)}function QH(z,Z,X,H,$){var Y=H;if((Z&1)===0&&(Z&2)===0&&H!==null)z:for(;;){if(H===null)return;var M=H.tag;if(M===3||M===4){var J=H.stateNode.containerInfo;if(J===$)break;if(M===4)for(M=H.return;M!==null;){var Q=M.tag;if((Q===3||Q===4)&&M.stateNode.containerInfo===$)return;M=M.return}for(;J!==null;){if(M=Y1(J),M===null)return;if(Q=M.tag,Q===5||Q===6||Q===26||Q===27){H=Y=M;continue z}J=J.parentNode}}H=H.return}jY(function(){var G=Y,A=yZ(X),I=[];z:{var K=$G.get(z);if(K!==void 0){var S=Pz,s=z;switch(z){case"keypress":if(M9(X)===0)break z;case"keydown":case"keyup":S=MK;break;case"focusin":s="focus",S=oH;break;case"focusout":s="blur",S=oH;break;case"beforeblur":case"afterblur":S=oH;break;case"click":if(X.button===2)break z;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":S=lQ;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":S=nW;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":S=QK;break;case zG:case ZG:case XG:S=oW;break;case HG:S=UK;break;case"scroll":case"scrollend":S=aW;break;case"wheel":S=LK;break;case"copy":case"cut":case"paste":S=eW;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":S=aQ;break;case"toggle":case"beforetoggle":S=KK}var Z1=(Z&4)!==0,Z2=!Z1&&(z==="scroll"||z==="scrollend"),j1=Z1?K!==null?K+"Capture":null:K;Z1=[];for(var W=G,R;W!==null;){var F=W;if(R=F.stateNode,F=F.tag,F!==5&&F!==26&&F!==27||R===null||j1===null||(F=I8(W,j1),F!=null&&Z1.push(l8(W,F,R))),Z2)break;W=W.return}0<Z1.length&&(K=new S(K,s,null,X,A),I.push({event:K,listeners:Z1}))}}if((Z&7)===0){z:{if(K=z==="mouseover"||z==="pointerover",S=z==="mouseout"||z==="pointerout",K&&X!==Z7&&(s=X.relatedTarget||X.fromElement)&&(Y1(s)||s[h5]))break z;if(S||K){if(K=A.window===A?A:(K=A.ownerDocument)?K.defaultView||K.parentWindow:window,S){if(s=X.relatedTarget||X.toElement,S=G,s=s?Y1(s):null,s!==null&&(Z2=p(s),Z1=s.tag,s!==Z2||Z1!==5&&Z1!==27&&Z1!==6))s=null}else S=null,s=G;if(S!==s){if(Z1=lQ,F="onMouseLeave",j1="onMouseEnter",W="mouse",z==="pointerout"||z==="pointerover")Z1=aQ,F="onPointerLeave",j1="onPointerEnter",W="pointer";if(Z2=S==null?K:A1(S),R=s==null?K:A1(s),K=new Z1(F,W+"leave",S,X,A),K.target=Z2,K.relatedTarget=R,F=null,Y1(A)===G&&(Z1=new Z1(j1,W+"enter",s,X,A),Z1.target=R,Z1.relatedTarget=Z2,F=Z1),Z2=F,S&&s)Z:{Z1=gL,j1=S,W=s,R=0;for(F=j1;F;F=Z1(F))R++;F=0;for(var j=W;j;j=Z1(j))F++;for(;0<R-F;)j1=Z1(j1),R--;for(;0<F-R;)W=Z1(W),F--;for(;R--;){if(j1===W||W!==null&&j1===W.alternate){Z1=j1;break Z}j1=Z1(j1),W=Z1(W)}Z1=null}else Z1=null;S!==null&&vJ(I,K,S,Z1,!1),s!==null&&Z2!==null&&vJ(I,Z2,s,Z1,!0)}}}z:{if(K=G?A1(G):window,S=K.nodeName&&K.nodeName.toLowerCase(),S==="select"||S==="input"&&K.type==="file")var e=cY;else if(uY(K))if(tQ)e=lq;else{e=dq;var K1=uq}else S=K.nodeName,!S||S.toLowerCase()!=="input"||K.type!=="checkbox"&&K.type!=="radio"?G&&A8(G.elementType)&&(e=cY):e=cq;if(e&&(e=e(z,G))){dY(I,e,X,A);break z}K1&&K1(z,K,G),z==="focusout"&&G&&K.type==="number"&&G.memoizedProps.value!=null&&TZ(K,"number",K.value)}switch(K1=G?A1(G):window,z){case"focusin":if(uY(K1)||K1.contentEditable==="true")j6=K1,eH=G,J7=null;break;case"focusout":J7=eH=j6=null;break;case"mousedown":z$=!0;break;case"contextmenu":case"mouseup":case"dragend":z$=!1,rY(I,X,A);break;case"selectionchange":if(AK)break;case"keydown":case"keyup":rY(I,X,A)}var B1;if(tH)z:{switch(z){case"compositionstart":var M1="onCompositionStart";break z;case"compositionend":M1="onCompositionEnd";break z;case"compositionupdate":M1="onCompositionUpdate";break z}M1=void 0}else V6?EY(z,X)&&(M1="onCompositionEnd"):z==="keydown"&&X.keyCode===iQ&&(M1="onCompositionStart");if(M1&&(nQ&&X.locale!=="ko"&&(V6||M1!=="onCompositionStart"?M1==="onCompositionEnd"&&V6&&(B1=mY()):(V5=A,nH=("value"in V5)?V5.value:V5.textContent,V6=!0)),K1=e9(G,M1),0<K1.length&&(M1=new pQ(M1,z,null,X,A),I.push({event:M1,listeners:K1}),B1?M1.data=B1:(B1=xY(X),B1!==null&&(M1.data=B1)))),B1=_K?mq(z,X):Dq(z,X))M1=e9(G,"onBeforeInput"),0<M1.length&&(K1=new ZK("onBeforeInput","beforeinput",null,X,A),I.push({event:K1,listeners:M1}),K1.data=B1);yL(I,z,G,X,A)}CJ(I,Z)})}function l8(z,Z,X){return{instance:z,listener:Z,currentTarget:X}}function e9(z,Z){for(var X=Z+"Capture",H=[];z!==null;){var $=z,Y=$.stateNode;if($=$.tag,$!==5&&$!==26&&$!==27||Y===null||($=I8(z,X),$!=null&&H.unshift(l8(z,$,Y)),$=I8(z,Z),$!=null&&H.push(l8(z,$,Y))),z.tag===3)return H;z=z.return}return[]}function gL(z){if(z===null)return null;do z=z.return;while(z&&z.tag!==5&&z.tag!==27);return z?z:null}function vJ(z,Z,X,H,$){for(var Y=Z._reactName,M=[];X!==null&&X!==H;){var J=X,Q=J.alternate,G=J.stateNode;if(J=J.tag,Q!==null&&Q===H)break;J!==5&&J!==26&&J!==27||G===null||(Q=G,$?(G=I8(X,Y),G!=null&&M.unshift(l8(X,G,Q))):$||(G=I8(X,Y),G!=null&&M.push(l8(X,G,Q)))),X=X.return}M.length!==0&&z.push({event:Z,listeners:M})}function GH(z,Z){fq(z,Z),z!=="input"&&z!=="textarea"&&z!=="select"||Z==null||Z.value!==null||dQ||(dQ=!0,z==="select"&&Z.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.",z):console.error("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",z));var X={registrationNameDependencies:y3,possibleRegistrationNames:cH};A8(z)||typeof Z.is==="string"||Vq(z,Z,X),Z.contentEditable&&!Z.suppressContentEditableWarning&&Z.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 k2(z,Z,X,H){Z!==X&&(X=k5(X),k5(Z)!==X&&(H[z]=Z))}function fL(z,Z,X){Z.forEach(function(H){X[kJ(H)]=H==="style"?qH(z):z.getAttribute(H)})}function T4(z,Z){Z===!1?console.error("Expected `%s` listener to be a function, instead got `false`.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.",z,z,z):console.error("Expected `%s` listener to be a function, instead got a value of `%s` type.",z,typeof Z)}function wJ(z,Z){return z=z.namespaceURI===_z||z.namespaceURI===y6?z.ownerDocument.createElementNS(z.namespaceURI,z.tagName):z.ownerDocument.createElement(z.tagName),z.innerHTML=Z,z.innerHTML}function k5(z){return K5(z)&&(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.",Q3(z)),S2(z)),(typeof z==="string"?z:""+z).replace(pK,`
|
|
176
|
+
`).replace(aK,"")}function SJ(z,Z){return Z=k5(Z),k5(z)===Z?!0:!1}function r1(z,Z,X,H,$,Y){switch(X){case"children":if(typeof H==="string")Y9(H,Z,!1),Z==="body"||Z==="textarea"&&H===""||F8(z,H);else if(typeof H==="number"||typeof H==="bigint")Y9(""+H,Z,!1),Z!=="body"&&F8(z,""+H);break;case"className":X9(z,"class",H);break;case"tabIndex":X9(z,"tabindex",H);break;case"dir":case"role":case"viewBox":case"width":case"height":X9(z,X,H);break;case"style":fY(z,H,Y);break;case"data":if(Z!=="object"){X9(z,"data",H);break}case"src":case"href":if(H===""&&(Z!=="a"||X!=="href")){X==="src"?console.error('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.',X,X):console.error('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.',X,X),z.removeAttribute(X);break}if(H==null||typeof H==="function"||typeof H==="symbol"||typeof H==="boolean"){z.removeAttribute(X);break}s1(H,X),H=P8(""+H),z.setAttribute(X,H);break;case"action":case"formAction":if(H!=null&&(Z==="form"?X==="formAction"?console.error("You can only pass the formAction prop to <input> or <button>. Use the action prop on <form>."):typeof H==="function"&&($.encType==null&&$.method==null||YZ||(YZ=!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.")),$.target==null||$Z||($Z=!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."))):Z==="input"||Z==="button"?X==="action"?console.error("You can only pass the action prop to <form>. Use the formAction prop on <input> or <button>."):Z!=="input"||$.type==="submit"||$.type==="image"||HZ?Z!=="button"||$.type==null||$.type==="submit"||HZ?typeof H==="function"&&($.name==null||wU||(wU=!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.')),$.formEncType==null&&$.formMethod==null||YZ||(YZ=!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.")),$.formTarget==null||$Z||($Z=!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."))):(HZ=!0,console.error('A button can only specify a formAction along with type="submit" or no type.')):(HZ=!0,console.error('An input can only specify a formAction along with type="submit" or type="image".')):X==="action"?console.error("You can only pass the action prop to <form>."):console.error("You can only pass the formAction prop to <input> or <button>.")),typeof H==="function"){z.setAttribute(X,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof Y==="function"&&(X==="formAction"?(Z!=="input"&&r1(z,Z,"name",$.name,$,null),r1(z,Z,"formEncType",$.formEncType,$,null),r1(z,Z,"formMethod",$.formMethod,$,null),r1(z,Z,"formTarget",$.formTarget,$,null)):(r1(z,Z,"encType",$.encType,$,null),r1(z,Z,"method",$.method,$,null),r1(z,Z,"target",$.target,$,null)));if(H==null||typeof H==="symbol"||typeof H==="boolean"){z.removeAttribute(X);break}s1(H,X),H=P8(""+H),z.setAttribute(X,H);break;case"onClick":H!=null&&(typeof H!=="function"&&T4(X,H),z.onclick=u4);break;case"onScroll":H!=null&&(typeof H!=="function"&&T4(X,H),V1("scroll",z));break;case"onScrollEnd":H!=null&&(typeof H!=="function"&&T4(X,H),V1("scrollend",z));break;case"dangerouslySetInnerHTML":if(H!=null){if(typeof H!=="object"||!("__html"in H))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information.");if(X=H.__html,X!=null){if($.children!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");z.innerHTML=X}}break;case"multiple":z.multiple=H&&typeof H!=="function"&&typeof H!=="symbol";break;case"muted":z.muted=H&&typeof H!=="function"&&typeof H!=="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(H==null||typeof H==="function"||typeof H==="boolean"||typeof H==="symbol"){z.removeAttribute("xlink:href");break}s1(H,X),X=P8(""+H),z.setAttributeNS(n3,"xlink:href",X);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":H!=null&&typeof H!=="function"&&typeof H!=="symbol"?(s1(H,X),z.setAttribute(X,""+H)):z.removeAttribute(X);break;case"inert":H!==""||MZ[X]||(MZ[X]=!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.",X));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":H&&typeof H!=="function"&&typeof H!=="symbol"?z.setAttribute(X,""):z.removeAttribute(X);break;case"capture":case"download":H===!0?z.setAttribute(X,""):H!==!1&&H!=null&&typeof H!=="function"&&typeof H!=="symbol"?(s1(H,X),z.setAttribute(X,H)):z.removeAttribute(X);break;case"cols":case"rows":case"size":case"span":H!=null&&typeof H!=="function"&&typeof H!=="symbol"&&!isNaN(H)&&1<=H?(s1(H,X),z.setAttribute(X,H)):z.removeAttribute(X);break;case"rowSpan":case"start":H==null||typeof H==="function"||typeof H==="symbol"||isNaN(H)?z.removeAttribute(X):(s1(H,X),z.setAttribute(X,H));break;case"popover":V1("beforetoggle",z),V1("toggle",z),Z9(z,"popover",H);break;case"xlinkActuate":x4(z,n3,"xlink:actuate",H);break;case"xlinkArcrole":x4(z,n3,"xlink:arcrole",H);break;case"xlinkRole":x4(z,n3,"xlink:role",H);break;case"xlinkShow":x4(z,n3,"xlink:show",H);break;case"xlinkTitle":x4(z,n3,"xlink:title",H);break;case"xlinkType":x4(z,n3,"xlink:type",H);break;case"xmlBase":x4(z,i$,"xml:base",H);break;case"xmlLang":x4(z,i$,"xml:lang",H);break;case"xmlSpace":x4(z,i$,"xml:space",H);break;case"is":Y!=null&&console.error('Cannot update the "is" prop after it has been initialized.'),Z9(z,"is",H);break;case"innerText":case"textContent":break;case"popoverTarget":SU||H==null||typeof H!=="object"||(SU=!0,console.error("The `popoverTarget` prop expects the ID of an Element as a string. Received %s instead.",H));default:!(2<X.length)||X[0]!=="o"&&X[0]!=="O"||X[1]!=="n"&&X[1]!=="N"?(X=hY(X),Z9(z,X,H)):y3.hasOwnProperty(X)&&H!=null&&typeof H!=="function"&&T4(X,H)}}function UH(z,Z,X,H,$,Y){switch(X){case"style":fY(z,H,Y);break;case"dangerouslySetInnerHTML":if(H!=null){if(typeof H!=="object"||!("__html"in H))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information.");if(X=H.__html,X!=null){if($.children!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");z.innerHTML=X}}break;case"children":typeof H==="string"?F8(z,H):(typeof H==="number"||typeof H==="bigint")&&F8(z,""+H);break;case"onScroll":H!=null&&(typeof H!=="function"&&T4(X,H),V1("scroll",z));break;case"onScrollEnd":H!=null&&(typeof H!=="function"&&T4(X,H),V1("scrollend",z));break;case"onClick":H!=null&&(typeof H!=="function"&&T4(X,H),z.onclick=u4);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(y3.hasOwnProperty(X))H!=null&&typeof H!=="function"&&T4(X,H);else z:{if(X[0]==="o"&&X[1]==="n"&&($=X.endsWith("Capture"),Z=X.slice(2,$?X.length-7:void 0),Y=z[n2]||null,Y=Y!=null?Y[X]:null,typeof Y==="function"&&z.removeEventListener(Z,Y,$),typeof H==="function")){typeof Y!=="function"&&Y!==null&&(X in z?z[X]=null:z.hasAttribute(X)&&z.removeAttribute(X)),z.addEventListener(Z,H,$);break z}X in z?z[X]=H:H===!0?z.setAttribute(X,""):Z9(z,X,H)}}}function m2(z,Z,X){switch(GH(Z,X),Z){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":V1("error",z),V1("load",z);var H=!1,$=!1,Y;for(Y in X)if(X.hasOwnProperty(Y)){var M=X[Y];if(M!=null)switch(Y){case"src":H=!0;break;case"srcSet":$=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(Z+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:r1(z,Z,Y,M,X,null)}}$&&r1(z,Z,"srcSet",X.srcSet,X,null),H&&r1(z,Z,"src",X.src,X,null);return;case"input":F5("input",X),V1("invalid",z);var J=Y=M=$=null,Q=null,G=null;for(H in X)if(X.hasOwnProperty(H)){var A=X[H];if(A!=null)switch(H){case"name":$=A;break;case"type":M=A;break;case"checked":Q=A;break;case"defaultChecked":G=A;break;case"value":Y=A;break;case"defaultValue":J=A;break;case"children":case"dangerouslySetInnerHTML":if(A!=null)throw Error(Z+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:r1(z,Z,H,A,X,null)}}_Y(z,X),FY(z,Y,J,Q,G,M,$,!1);return;case"select":F5("select",X),V1("invalid",z),H=M=Y=null;for($ in X)if(X.hasOwnProperty($)&&(J=X[$],J!=null))switch($){case"value":Y=J;break;case"defaultValue":M=J;break;case"multiple":H=J;default:r1(z,Z,$,J,X,null)}IY(z,X),Z=Y,X=M,z.multiple=!!H,Z!=null?J6(z,!!H,Z,!1):X!=null&&J6(z,!!H,X,!0);return;case"textarea":F5("textarea",X),V1("invalid",z),Y=$=H=null;for(M in X)if(X.hasOwnProperty(M)&&(J=X[M],J!=null))switch(M){case"value":H=J;break;case"defaultValue":$=J;break;case"children":Y=J;break;case"dangerouslySetInnerHTML":if(J!=null)throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");break;default:r1(z,Z,M,J,X,null)}OY(z,X),CY(z,H,$,Y);return;case"option":AY(z,X);for(Q in X)if(X.hasOwnProperty(Q)&&(H=X[Q],H!=null))switch(Q){case"selected":z.selected=H&&typeof H!=="function"&&typeof H!=="symbol";break;default:r1(z,Z,Q,H,X,null)}return;case"dialog":V1("beforetoggle",z),V1("toggle",z),V1("cancel",z),V1("close",z);break;case"iframe":case"object":V1("load",z);break;case"video":case"audio":for(H=0;H<D7.length;H++)V1(D7[H],z);break;case"image":V1("error",z),V1("load",z);break;case"details":V1("toggle",z);break;case"embed":case"source":case"link":V1("error",z),V1("load",z);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(G in X)if(X.hasOwnProperty(G)&&(H=X[G],H!=null))switch(G){case"children":case"dangerouslySetInnerHTML":throw Error(Z+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:r1(z,Z,G,H,X,null)}return;default:if(A8(Z)){for(A in X)X.hasOwnProperty(A)&&(H=X[A],H!==void 0&&UH(z,Z,A,H,X,void 0));return}}for(J in X)X.hasOwnProperty(J)&&(H=X[J],H!=null&&r1(z,Z,J,H,X,null))}function hL(z,Z,X,H){switch(GH(Z,H),Z){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var $=null,Y=null,M=null,J=null,Q=null,G=null,A=null;for(S in X){var I=X[S];if(X.hasOwnProperty(S)&&I!=null)switch(S){case"checked":break;case"value":break;case"defaultValue":Q=I;default:H.hasOwnProperty(S)||r1(z,Z,S,null,H,I)}}for(var K in H){var S=H[K];if(I=X[K],H.hasOwnProperty(K)&&(S!=null||I!=null))switch(K){case"type":Y=S;break;case"name":$=S;break;case"checked":G=S;break;case"defaultChecked":A=S;break;case"value":M=S;break;case"defaultValue":J=S;break;case"children":case"dangerouslySetInnerHTML":if(S!=null)throw Error(Z+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:S!==I&&r1(z,Z,K,S,H,I)}}Z=X.type==="checkbox"||X.type==="radio"?X.checked!=null:X.value!=null,H=H.type==="checkbox"||H.type==="radio"?H.checked!=null:H.value!=null,Z||!H||vU||(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"),vU=!0),!Z||H||TU||(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"),TU=!0),CZ(z,M,J,Q,G,A,Y,$);return;case"select":S=M=J=K=null;for(Y in X)if(Q=X[Y],X.hasOwnProperty(Y)&&Q!=null)switch(Y){case"value":break;case"multiple":S=Q;default:H.hasOwnProperty(Y)||r1(z,Z,Y,null,H,Q)}for($ in H)if(Y=H[$],Q=X[$],H.hasOwnProperty($)&&(Y!=null||Q!=null))switch($){case"value":K=Y;break;case"defaultValue":J=Y;break;case"multiple":M=Y;default:Y!==Q&&r1(z,Z,$,Y,H,Q)}H=J,Z=M,X=S,K!=null?J6(z,!!Z,K,!1):!!X!==!!Z&&(H!=null?J6(z,!!Z,H,!0):J6(z,!!Z,Z?[]:"",!1));return;case"textarea":S=K=null;for(J in X)if($=X[J],X.hasOwnProperty(J)&&$!=null&&!H.hasOwnProperty(J))switch(J){case"value":break;case"children":break;default:r1(z,Z,J,null,H,$)}for(M in H)if($=H[M],Y=X[M],H.hasOwnProperty(M)&&($!=null||Y!=null))switch(M){case"value":K=$;break;case"defaultValue":S=$;break;case"children":break;case"dangerouslySetInnerHTML":if($!=null)throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");break;default:$!==Y&&r1(z,Z,M,$,H,Y)}NY(z,K,S);return;case"option":for(var s in X)if(K=X[s],X.hasOwnProperty(s)&&K!=null&&!H.hasOwnProperty(s))switch(s){case"selected":z.selected=!1;break;default:r1(z,Z,s,null,H,K)}for(Q in H)if(K=H[Q],S=X[Q],H.hasOwnProperty(Q)&&K!==S&&(K!=null||S!=null))switch(Q){case"selected":z.selected=K&&typeof K!=="function"&&typeof K!=="symbol";break;default:r1(z,Z,Q,K,H,S)}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 Z1 in X)K=X[Z1],X.hasOwnProperty(Z1)&&K!=null&&!H.hasOwnProperty(Z1)&&r1(z,Z,Z1,null,H,K);for(G in H)if(K=H[G],S=X[G],H.hasOwnProperty(G)&&K!==S&&(K!=null||S!=null))switch(G){case"children":case"dangerouslySetInnerHTML":if(K!=null)throw Error(Z+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:r1(z,Z,G,K,H,S)}return;default:if(A8(Z)){for(var Z2 in X)K=X[Z2],X.hasOwnProperty(Z2)&&K!==void 0&&!H.hasOwnProperty(Z2)&&UH(z,Z,Z2,void 0,H,K);for(A in H)K=H[A],S=X[A],!H.hasOwnProperty(A)||K===S||K===void 0&&S===void 0||UH(z,Z,A,K,H,S);return}}for(var j1 in X)K=X[j1],X.hasOwnProperty(j1)&&K!=null&&!H.hasOwnProperty(j1)&&r1(z,Z,j1,null,H,K);for(I in H)K=H[I],S=X[I],!H.hasOwnProperty(I)||K===S||K==null&&S==null||r1(z,Z,I,K,H,S)}function kJ(z){switch(z){case"class":return"className";case"for":return"htmlFor";default:return z}}function qH(z){var Z={};z=z.style;for(var X=0;X<z.length;X++){var H=z[X];Z[H]=z.getPropertyValue(H)}return Z}function bJ(z,Z,X){if(Z!=null&&typeof Z!=="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 H,$=H="",Y;for(Y in Z)if(Z.hasOwnProperty(Y)){var M=Z[Y];M!=null&&typeof M!=="boolean"&&M!==""&&(Y.indexOf("--")===0?(L8(M,Y),H+=$+Y+":"+(""+M).trim()):typeof M!=="number"||M===0||xQ.has(Y)?(L8(M,Y),H+=$+Y.replace(VQ,"-$1").toLowerCase().replace(jQ,"-ms-")+":"+(""+M).trim()):H+=$+Y.replace(VQ,"-$1").toLowerCase().replace(jQ,"-ms-")+":"+M+"px",$=";")}H=H||null,Z=z.getAttribute("style"),Z!==H&&(H=k5(H),k5(Z)!==H&&(X.style=qH(z)))}}function g0(z,Z,X,H,$,Y){if($.delete(X),z=z.getAttribute(X),z===null)switch(typeof H){case"undefined":case"function":case"symbol":case"boolean":return}else if(H!=null)switch(typeof H){case"function":case"symbol":case"boolean":break;default:if(s1(H,Z),z===""+H)return}k2(Z,z,H,Y)}function yJ(z,Z,X,H,$,Y){if($.delete(X),z=z.getAttribute(X),z===null){switch(typeof H){case"function":case"symbol":return}if(!H)return}else switch(typeof H){case"function":case"symbol":break;default:if(H)return}k2(Z,z,H,Y)}function LH(z,Z,X,H,$,Y){if($.delete(X),z=z.getAttribute(X),z===null)switch(typeof H){case"undefined":case"function":case"symbol":return}else if(H!=null)switch(typeof H){case"function":case"symbol":break;default:if(s1(H,X),z===""+H)return}k2(Z,z,H,Y)}function gJ(z,Z,X,H,$,Y){if($.delete(X),z=z.getAttribute(X),z===null)switch(typeof H){case"undefined":case"function":case"symbol":case"boolean":return;default:if(isNaN(H))return}else if(H!=null)switch(typeof H){case"function":case"symbol":case"boolean":break;default:if(!isNaN(H)&&(s1(H,Z),z===""+H))return}k2(Z,z,H,Y)}function WH(z,Z,X,H,$,Y){if($.delete(X),z=z.getAttribute(X),z===null)switch(typeof H){case"undefined":case"function":case"symbol":case"boolean":return}else if(H!=null)switch(typeof H){case"function":case"symbol":case"boolean":break;default:if(s1(H,Z),X=P8(""+H),z===X)return}k2(Z,z,H,Y)}function fJ(z,Z,X,H){for(var $={},Y=new Set,M=z.attributes,J=0;J<M.length;J++)switch(M[J].name.toLowerCase()){case"value":break;case"checked":break;case"selected":break;default:Y.add(M[J].name)}if(A8(Z)){for(var Q in X)if(X.hasOwnProperty(Q)){var G=X[Q];if(G!=null){if(y3.hasOwnProperty(Q))typeof G!=="function"&&T4(Q,G);else if(X.suppressHydrationWarning!==!0)switch(Q){case"children":typeof G!=="string"&&typeof G!=="number"||k2("children",z.textContent,G,$);continue;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":continue;case"dangerouslySetInnerHTML":M=z.innerHTML,G=G?G.__html:void 0,G!=null&&(G=wJ(z,G),k2(Q,M,G,$));continue;case"style":Y.delete(Q),bJ(z,G,$);continue;case"offsetParent":case"offsetTop":case"offsetLeft":case"offsetWidth":case"offsetHeight":case"isContentEditable":case"outerText":case"outerHTML":Y.delete(Q.toLowerCase()),console.error("Assignment to read-only property will result in a no-op: `%s`",Q);continue;case"className":Y.delete("class"),M=WY(z,"class",G),k2("className",M,G,$);continue;default:H.context===Q5&&Z!=="svg"&&Z!=="math"?Y.delete(Q.toLowerCase()):Y.delete(Q),M=WY(z,Q,G),k2(Q,M,G,$)}}}}else for(G in X)if(X.hasOwnProperty(G)&&(Q=X[G],Q!=null)){if(y3.hasOwnProperty(G))typeof Q!=="function"&&T4(G,Q);else if(X.suppressHydrationWarning!==!0)switch(G){case"children":typeof Q!=="string"&&typeof Q!=="number"||k2("children",z.textContent,Q,$);continue;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"value":case"checked":case"selected":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":continue;case"dangerouslySetInnerHTML":M=z.innerHTML,Q=Q?Q.__html:void 0,Q!=null&&(Q=wJ(z,Q),M!==Q&&($[G]={__html:M}));continue;case"className":g0(z,G,"class",Q,Y,$);continue;case"tabIndex":g0(z,G,"tabindex",Q,Y,$);continue;case"style":Y.delete(G),bJ(z,Q,$);continue;case"multiple":Y.delete(G),k2(G,z.multiple,Q,$);continue;case"muted":Y.delete(G),k2(G,z.muted,Q,$);continue;case"autoFocus":Y.delete("autofocus"),k2(G,z.autofocus,Q,$);continue;case"data":if(Z!=="object"){Y.delete(G),M=z.getAttribute("data"),k2(G,M,Q,$);continue}case"src":case"href":if(!(Q!==""||Z==="a"&&G==="href"||Z==="object"&&G==="data")){G==="src"?console.error('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.',G,G):console.error('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.',G,G);continue}WH(z,G,G,Q,Y,$);continue;case"action":case"formAction":if(M=z.getAttribute(G),typeof Q==="function"){Y.delete(G.toLowerCase()),G==="formAction"?(Y.delete("name"),Y.delete("formenctype"),Y.delete("formmethod"),Y.delete("formtarget")):(Y.delete("enctype"),Y.delete("method"),Y.delete("target"));continue}else if(M===iK){Y.delete(G.toLowerCase()),k2(G,"function",Q,$);continue}WH(z,G,G.toLowerCase(),Q,Y,$);continue;case"xlinkHref":WH(z,G,"xlink:href",Q,Y,$);continue;case"contentEditable":LH(z,G,"contenteditable",Q,Y,$);continue;case"spellCheck":LH(z,G,"spellcheck",Q,Y,$);continue;case"draggable":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":LH(z,G,G,Q,Y,$);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":yJ(z,G,G.toLowerCase(),Q,Y,$);continue;case"capture":case"download":z:{J=z;var A=M=G,I=$;if(Y.delete(A),J=J.getAttribute(A),J===null)switch(typeof Q){case"undefined":case"function":case"symbol":break z;default:if(Q===!1)break z}else if(Q!=null)switch(typeof Q){case"function":case"symbol":break;case"boolean":if(Q===!0&&J==="")break z;break;default:if(s1(Q,M),J===""+Q)break z}k2(M,J,Q,I)}continue;case"cols":case"rows":case"size":case"span":z:{if(J=z,A=M=G,I=$,Y.delete(A),J=J.getAttribute(A),J===null)switch(typeof Q){case"undefined":case"function":case"symbol":case"boolean":break z;default:if(isNaN(Q)||1>Q)break z}else if(Q!=null)switch(typeof Q){case"function":case"symbol":case"boolean":break;default:if(!(isNaN(Q)||1>Q)&&(s1(Q,M),J===""+Q))break z}k2(M,J,Q,I)}continue;case"rowSpan":gJ(z,G,"rowspan",Q,Y,$);continue;case"start":gJ(z,G,G,Q,Y,$);continue;case"xHeight":g0(z,G,"x-height",Q,Y,$);continue;case"xlinkActuate":g0(z,G,"xlink:actuate",Q,Y,$);continue;case"xlinkArcrole":g0(z,G,"xlink:arcrole",Q,Y,$);continue;case"xlinkRole":g0(z,G,"xlink:role",Q,Y,$);continue;case"xlinkShow":g0(z,G,"xlink:show",Q,Y,$);continue;case"xlinkTitle":g0(z,G,"xlink:title",Q,Y,$);continue;case"xlinkType":g0(z,G,"xlink:type",Q,Y,$);continue;case"xmlBase":g0(z,G,"xml:base",Q,Y,$);continue;case"xmlLang":g0(z,G,"xml:lang",Q,Y,$);continue;case"xmlSpace":g0(z,G,"xml:space",Q,Y,$);continue;case"inert":Q!==""||MZ[G]||(MZ[G]=!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.",G)),yJ(z,G,G,Q,Y,$);continue;default:if(!(2<G.length)||G[0]!=="o"&&G[0]!=="O"||G[1]!=="n"&&G[1]!=="N"){J=hY(G),M=!1,H.context===Q5&&Z!=="svg"&&Z!=="math"?Y.delete(J.toLowerCase()):(A=G.toLowerCase(),A=Fz.hasOwnProperty(A)?Fz[A]||null:null,A!==null&&A!==G&&(M=!0,Y.delete(A)),Y.delete(J));z:if(A=z,I=J,J=Q,K8(I))if(A.hasAttribute(I))A=A.getAttribute(I),s1(J,I),J=A===""+J?J:A;else{switch(typeof J){case"function":case"symbol":break z;case"boolean":if(A=I.toLowerCase().slice(0,5),A!=="data-"&&A!=="aria-")break z}J=J===void 0?void 0:null}else J=void 0;M||k2(G,J,Q,$)}}}return 0<Y.size&&X.suppressHydrationWarning!==!0&&fL(z,Y,$),Object.keys($).length===0?null:$}function VL(z,Z){switch(z.length){case 0:return"";case 1:return z[0];case 2:return z[0]+" "+Z+" "+z[1];default:return z.slice(0,-1).join(", ")+", "+Z+" "+z[z.length-1]}}function hJ(z){switch(z){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function jL(){if(typeof performance.getEntriesByType==="function"){for(var z=0,Z=0,X=performance.getEntriesByType("resource"),H=0;H<X.length;H++){var $=X[H],Y=$.transferSize,M=$.initiatorType,J=$.duration;if(Y&&J&&hJ(M)){M=0,J=$.responseEnd;for(H+=1;H<X.length;H++){var Q=X[H],G=Q.startTime;if(G>J)break;var{transferSize:A,initiatorType:I}=Q;A&&hJ(I)&&(Q=Q.responseEnd,M+=A*(Q<J?1:(J-G)/(Q-G)))}if(--H,Z+=8*(Y+M)/($.duration/1000),z++,10<z)break}}if(0<z)return Z/z/1e6}return navigator.connection&&(z=navigator.connection.downlink,typeof z==="number")?z:5}function zz(z){return z.nodeType===9?z:z.ownerDocument}function VJ(z){switch(z){case y6:return B8;case _z:return JZ;default:return Q5}}function jJ(z,Z){if(z===Q5)switch(Z){case"svg":return B8;case"math":return JZ;default:return Q5}return z===B8&&Z==="foreignObject"?Q5:z}function KH(z,Z){return z==="textarea"||z==="noscript"||typeof Z.children==="string"||typeof Z.children==="number"||typeof Z.children==="bigint"||typeof Z.dangerouslySetInnerHTML==="object"&&Z.dangerouslySetInnerHTML!==null&&Z.dangerouslySetInnerHTML.__html!=null}function mL(){var z=window.event;if(z&&z.type==="popstate"){if(z===o$)return!1;return o$=z,!0}return o$=null,!1}function p8(){var z=window.event;return z&&z!==u7?z.type:null}function a8(){var z=window.event;return z&&z!==u7?z.timeStamp:-1.1}function DL(z){setTimeout(function(){throw z})}function EL(z,Z,X){switch(Z){case"button":case"input":case"select":case"textarea":X.autoFocus&&z.focus();break;case"img":X.src?z.src=X.src:X.srcSet&&(z.srcset=X.srcSet)}}function xL(){}function uL(z,Z,X,H){hL(z,Z,X,H),z[n2]=H}function mJ(z){F8(z,"")}function dL(z,Z,X){z.nodeValue=X}function DJ(z){if(!z.__reactWarnedAboutChildrenConflict){var Z=z[n2]||null;if(Z!==null){var X=F1(z);X!==null&&(typeof Z.children==="string"||typeof Z.children==="number"?(z.__reactWarnedAboutChildrenConflict=!0,X1(X,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.')})):Z.dangerouslySetInnerHTML!=null&&(z.__reactWarnedAboutChildrenConflict=!0,X1(X,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 b5(z){return z==="head"}function cL(z,Z){z.removeChild(Z)}function lL(z,Z){(z.nodeType===9?z.body:z.nodeName==="HTML"?z.ownerDocument.body:z).removeChild(Z)}function EJ(z,Z){var X=Z,H=0;do{var $=X.nextSibling;if(z.removeChild(X),$&&$.nodeType===8)if(X=$.data,X===x7||X===BZ){if(H===0){z.removeChild($),T6(Z);return}H--}else if(X===E7||X===z3||X===r3||X===M8||X===s3)H++;else if(X===sK)i8(z.ownerDocument.documentElement);else if(X===oK){X=z.ownerDocument.head,i8(X);for(var Y=X.firstChild;Y;){var{nextSibling:M,nodeName:J}=Y;Y[z7]||J==="SCRIPT"||J==="STYLE"||J==="LINK"&&Y.rel.toLowerCase()==="stylesheet"||X.removeChild(Y),Y=M}}else X===rK&&i8(z.ownerDocument.body);X=$}while(X);T6(Z)}function xJ(z,Z){var X=z;z=0;do{var H=X.nextSibling;if(X.nodeType===1?Z?(X._stashedDisplay=X.style.display,X.style.display="none"):(X.style.display=X._stashedDisplay||"",X.getAttribute("style")===""&&X.removeAttribute("style")):X.nodeType===3&&(Z?(X._stashedText=X.nodeValue,X.nodeValue=""):X.nodeValue=X._stashedText||""),H&&H.nodeType===8)if(X=H.data,X===x7)if(z===0)break;else z--;else X!==E7&&X!==z3&&X!==r3&&X!==M8||z++;X=H}while(X)}function pL(z){xJ(z,!0)}function aL(z){z=z.style,typeof z.setProperty==="function"?z.setProperty("display","none","important"):z.display="none"}function iL(z){z.nodeValue=""}function nL(z){xJ(z,!1)}function sL(z,Z){Z=Z[tK],Z=Z!==void 0&&Z!==null&&Z.hasOwnProperty("display")?Z.display:null,z.style.display=Z==null||typeof Z==="boolean"?"":(""+Z).trim()}function rL(z,Z){z.nodeValue=Z}function RH(z){var Z=z.firstChild;Z&&Z.nodeType===10&&(Z=Z.nextSibling);for(;Z;){var X=Z;switch(Z=Z.nextSibling,X.nodeName){case"HTML":case"HEAD":case"BODY":RH(X),t(X);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(X.rel.toLowerCase()==="stylesheet")continue}z.removeChild(X)}}function oL(z,Z,X,H){for(;z.nodeType===1;){var $=X;if(z.nodeName.toLowerCase()!==Z.toLowerCase()){if(!H&&(z.nodeName!=="INPUT"||z.type!=="hidden"))break}else if(!H)if(Z==="input"&&z.type==="hidden"){s1($.name,"name");var Y=$.name==null?null:""+$.name;if($.type==="hidden"&&z.getAttribute("name")===Y)return z}else return z;else if(!z[z7])switch(Z){case"meta":if(!z.hasAttribute("itemprop"))break;return z;case"link":if(Y=z.getAttribute("rel"),Y==="stylesheet"&&z.hasAttribute("data-precedence"))break;else if(Y!==$.rel||z.getAttribute("href")!==($.href==null||$.href===""?null:$.href)||z.getAttribute("crossorigin")!==($.crossOrigin==null?null:$.crossOrigin)||z.getAttribute("title")!==($.title==null?null:$.title))break;return z;case"style":if(z.hasAttribute("data-precedence"))break;return z;case"script":if(Y=z.getAttribute("src"),(Y!==($.src==null?null:$.src)||z.getAttribute("type")!==($.type==null?null:$.type)||z.getAttribute("crossorigin")!==($.crossOrigin==null?null:$.crossOrigin))&&Y&&z.hasAttribute("async")&&!z.hasAttribute("itemprop"))break;return z;default:return z}if(z=P0(z.nextSibling),z===null)break}return null}function tL(z,Z,X){if(Z==="")return null;for(;z.nodeType!==3;){if((z.nodeType!==1||z.nodeName!=="INPUT"||z.type!=="hidden")&&!X)return null;if(z=P0(z.nextSibling),z===null)return null}return z}function uJ(z,Z){for(;z.nodeType!==8;){if((z.nodeType!==1||z.nodeName!=="INPUT"||z.type!=="hidden")&&!Z)return null;if(z=P0(z.nextSibling),z===null)return null}return z}function _H(z){return z.data===z3||z.data===r3}function FH(z){return z.data===M8||z.data===z3&&z.ownerDocument.readyState!==bU}function eL(z,Z){var X=z.ownerDocument;if(z.data===r3)z._reactRetry=Z;else if(z.data!==z3||X.readyState!==bU)Z();else{var H=function(){Z(),X.removeEventListener("DOMContentLoaded",H)};X.addEventListener("DOMContentLoaded",H),z._reactRetry=H}}function P0(z){for(;z!=null;z=z.nextSibling){var Z=z.nodeType;if(Z===1||Z===3)break;if(Z===8){if(Z=z.data,Z===E7||Z===M8||Z===z3||Z===r3||Z===s3||Z===n$||Z===kU)break;if(Z===x7||Z===BZ)return null}}return z}function dJ(z){if(z.nodeType===1){for(var Z=z.nodeName.toLowerCase(),X={},H=z.attributes,$=0;$<H.length;$++){var Y=H[$];X[kJ(Y.name)]=Y.name.toLowerCase()==="style"?qH(z):Y.value}return{type:Z,props:X}}return z.nodeType===8?z.data===s3?{type:"Activity",props:{}}:{type:"Suspense",props:{}}:z.nodeValue}function cJ(z,Z,X){return X===null||X[nK]!==!0?(z.nodeValue===Z?z=null:(Z=k5(Z),z=k5(z.nodeValue)===Z?null:z.nodeValue),z):null}function AH(z){z=z.nextSibling;for(var Z=0;z;){if(z.nodeType===8){var X=z.data;if(X===x7||X===BZ){if(Z===0)return P0(z.nextSibling);Z--}else X!==E7&&X!==M8&&X!==z3&&X!==r3&&X!==s3||Z++}z=z.nextSibling}return null}function lJ(z){z=z.previousSibling;for(var Z=0;z;){if(z.nodeType===8){var X=z.data;if(X===E7||X===M8||X===z3||X===r3||X===s3){if(Z===0)return z;Z--}else X!==x7&&X!==BZ||Z++}z=z.previousSibling}return null}function zW(z){T6(z)}function ZW(z){T6(z)}function XW(z){T6(z)}function pJ(z,Z,X,H,$){switch($&&bZ(z,H.ancestorInfo),Z=zz(X),z){case"html":if(z=Z.documentElement,!z)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 z;case"head":if(z=Z.head,!z)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 z;case"body":if(z=Z.body,!z)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 z;default:throw Error("resolveSingletonInstance was called with an element type that is not supported. This is a bug in React.")}}function HW(z,Z,X,H){if(!X[h5]&&F1(X)){var $=X.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.",$,$,$)}switch(z){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($=X.attributes;$.length;)X.removeAttributeNode($[0]);m2(X,z,Z),X[D2]=H,X[n2]=Z}function i8(z){for(var Z=z.attributes;Z.length;)z.removeAttributeNode(Z[0]);t(z)}function Zz(z){return typeof z.getRootNode==="function"?z.getRootNode():z.nodeType===9?z:z.ownerDocument}function aJ(z,Z,X){var H=J8;if(H&&typeof Z==="string"&&Z){var $=y0(Z);$='link[rel="'+z+'"][href="'+$+'"]',typeof X==="string"&&($+='[crossorigin="'+X+'"]'),jU.has($)||(jU.add($),z={rel:z,crossOrigin:X,href:Z},H.querySelector($)===null&&(Z=H.createElement("link"),m2(Z,"link",z),J1(Z),H.head.appendChild(Z)))}}function iJ(z,Z,X,H){var $=($=g5.current)?Zz($):null;if(!$)throw Error('"resourceRoot" was expected to exist. This is a bug in React.');switch(z){case"meta":case"title":return null;case"style":return typeof X.precedence==="string"&&typeof X.href==="string"?(X=N6(X.href),Z=D1($).hoistableStyles,H=Z.get(X),H||(H={type:"style",instance:null,count:0,state:null},Z.set(X,H)),H):{type:"void",instance:null,count:0,state:null};case"link":if(X.rel==="stylesheet"&&typeof X.href==="string"&&typeof X.precedence==="string"){z=N6(X.href);var Y=D1($).hoistableStyles,M=Y.get(z);if(!M&&($=$.ownerDocument||$,M={type:"stylesheet",instance:null,count:0,state:{loading:t3,preload:null}},Y.set(z,M),(Y=$.querySelector(n8(z)))&&!Y._p&&(M.instance=Y,M.state.loading=d7|c0),!l0.has(z))){var J={rel:"preload",as:"style",href:X.href,crossOrigin:X.crossOrigin,integrity:X.integrity,media:X.media,hrefLang:X.hrefLang,referrerPolicy:X.referrerPolicy};l0.set(z,J),Y||$W($,z,J,M.state)}if(Z&&H===null)throw X=`
|
|
177
|
+
|
|
178
|
+
- `+Xz(Z)+`
|
|
179
|
+
+ `+Xz(X),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."+X);return M}if(Z&&H!==null)throw X=`
|
|
180
|
+
|
|
181
|
+
- `+Xz(Z)+`
|
|
182
|
+
+ `+Xz(X),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."+X);return null;case"script":return Z=X.async,X=X.src,typeof X==="string"&&Z&&typeof Z!=="function"&&typeof Z!=="symbol"?(X=C6(X),Z=D1($).hoistableScripts,H=Z.get(X),H||(H={type:"script",instance:null,count:0,state:null},Z.set(X,H)),H):{type:"void",instance:null,count:0,state:null};default:throw Error('getResource encountered a type it did not expect: "'+z+'". this is a bug in React.')}}function Xz(z){var Z=0,X="<link";return typeof z.rel==="string"?(Z++,X+=' rel="'+z.rel+'"'):o0.call(z,"rel")&&(Z++,X+=' rel="'+(z.rel===null?"null":"invalid type "+typeof z.rel)+'"'),typeof z.href==="string"?(Z++,X+=' href="'+z.href+'"'):o0.call(z,"href")&&(Z++,X+=' href="'+(z.href===null?"null":"invalid type "+typeof z.href)+'"'),typeof z.precedence==="string"?(Z++,X+=' precedence="'+z.precedence+'"'):o0.call(z,"precedence")&&(Z++,X+=" precedence={"+(z.precedence===null?"null":"invalid type "+typeof z.precedence)+"}"),Object.getOwnPropertyNames(z).length>Z&&(X+=" ..."),X+" />"}function N6(z){return'href="'+y0(z)+'"'}function n8(z){return'link[rel="stylesheet"]['+z+"]"}function nJ(z){return b1({},z,{"data-precedence":z.precedence,precedence:null})}function $W(z,Z,X,H){z.querySelector('link[rel="preload"][as="style"]['+Z+"]")?H.loading=d7:(Z=z.createElement("link"),H.preload=Z,Z.addEventListener("load",function(){return H.loading|=d7}),Z.addEventListener("error",function(){return H.loading|=hU}),m2(Z,"link",X),J1(Z),z.head.appendChild(Z))}function C6(z){return'[src="'+y0(z)+'"]'}function s8(z){return"script[async]"+z}function sJ(z,Z,X){if(Z.count++,Z.instance===null)switch(Z.type){case"style":var H=z.querySelector('style[data-href~="'+y0(X.href)+'"]');if(H)return Z.instance=H,J1(H),H;var $=b1({},X,{"data-href":X.href,"data-precedence":X.precedence,href:null,precedence:null});return H=(z.ownerDocument||z).createElement("style"),J1(H),m2(H,"style",$),Hz(H,X.precedence,z),Z.instance=H;case"stylesheet":$=N6(X.href);var Y=z.querySelector(n8($));if(Y)return Z.state.loading|=c0,Z.instance=Y,J1(Y),Y;H=nJ(X),($=l0.get($))&&PH(H,$),Y=(z.ownerDocument||z).createElement("link"),J1(Y);var M=Y;return M._p=new Promise(function(J,Q){M.onload=J,M.onerror=Q}),m2(Y,"link",H),Z.state.loading|=c0,Hz(Y,X.precedence,z),Z.instance=Y;case"script":if(Y=C6(X.src),$=z.querySelector(s8(Y)))return Z.instance=$,J1($),$;if(H=X,$=l0.get(Y))H=b1({},X),IH(H,$);return z=z.ownerDocument||z,$=z.createElement("script"),J1($),m2($,"link",H),z.head.appendChild($),Z.instance=$;case"void":return null;default:throw Error('acquireResource encountered a resource type it did not expect: "'+Z.type+'". this is a bug in React.')}else Z.type==="stylesheet"&&(Z.state.loading&c0)===t3&&(H=Z.instance,Z.state.loading|=c0,Hz(H,X.precedence,z));return Z.instance}function Hz(z,Z,X){for(var H=X.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),$=H.length?H[H.length-1]:null,Y=$,M=0;M<H.length;M++){var J=H[M];if(J.dataset.precedence===Z)Y=J;else if(Y!==$)break}Y?Y.parentNode.insertBefore(z,Y.nextSibling):(Z=X.nodeType===9?X.head:X,Z.insertBefore(z,Z.firstChild))}function PH(z,Z){z.crossOrigin==null&&(z.crossOrigin=Z.crossOrigin),z.referrerPolicy==null&&(z.referrerPolicy=Z.referrerPolicy),z.title==null&&(z.title=Z.title)}function IH(z,Z){z.crossOrigin==null&&(z.crossOrigin=Z.crossOrigin),z.referrerPolicy==null&&(z.referrerPolicy=Z.referrerPolicy),z.integrity==null&&(z.integrity=Z.integrity)}function rJ(z,Z,X){if(QZ===null){var H=new Map,$=QZ=new Map;$.set(X,H)}else $=QZ,H=$.get(X),H||(H=new Map,$.set(X,H));if(H.has(z))return H;H.set(z,null),X=X.getElementsByTagName(z);for($=0;$<X.length;$++){var Y=X[$];if(!(Y[z7]||Y[D2]||z==="link"&&Y.getAttribute("rel")==="stylesheet")&&Y.namespaceURI!==y6){var M=Y.getAttribute(Z)||"";M=z+M;var J=H.get(M);J?J.push(Y):H.set(M,[Y])}}return H}function oJ(z,Z,X){z=z.ownerDocument||z,z.head.insertBefore(X,Z==="title"?z.querySelector("head > title"):null)}function YW(z,Z,X){var H=!X.ancestorInfo.containerTagInScope;if(X.context===B8||Z.itemProp!=null)return!H||Z.itemProp==null||z!=="meta"&&z!=="title"&&z!=="style"&&z!=="link"&&z!=="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.",z,z),!1;switch(z){case"meta":case"title":return!0;case"style":if(typeof Z.precedence!=="string"||typeof Z.href!=="string"||Z.href===""){H&&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 Z.rel!=="string"||typeof Z.href!=="string"||Z.href===""||Z.onLoad||Z.onError){if(Z.rel==="stylesheet"&&typeof Z.precedence==="string"){z=Z.href;var{onError:$,disabled:Y}=Z;X=[],Z.onLoad&&X.push("`onLoad`"),$&&X.push("`onError`"),Y!=null&&X.push("`disabled`"),$=VL(X,"and"),$+=X.length===1?" prop":" props",Y=X.length===1?"an "+$:"the "+$,X.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.',z,Y,$)}H&&(typeof Z.rel!=="string"||typeof Z.href!=="string"||Z.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"):(Z.onError||Z.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(Z.rel){case"stylesheet":return z=Z.precedence,Z=Z.disabled,typeof z!=="string"&&H&&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 z==="string"&&Z==null;default:return!0}case"script":if(z=Z.async&&typeof Z.async!=="function"&&typeof Z.async!=="symbol",!z||Z.onLoad||Z.onError||!Z.src||typeof Z.src!=="string"){H&&(z?Z.onLoad||Z.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":H&&console.error("Cannot render <%s> outside the main document. Try moving it into the root <head> tag.",z)}return!1}function tJ(z){return z.type==="stylesheet"&&(z.state.loading&VU)===t3?!1:!0}function MW(z,Z,X,H){if(X.type==="stylesheet"&&(typeof H.media!=="string"||matchMedia(H.media).matches!==!1)&&(X.state.loading&c0)===t3){if(X.instance===null){var $=N6(H.href),Y=Z.querySelector(n8($));if(Y){Z=Y._p,Z!==null&&typeof Z==="object"&&typeof Z.then==="function"&&(z.count++,z=$z.bind(z),Z.then(z,z)),X.state.loading|=c0,X.instance=Y,J1(Y);return}Y=Z.ownerDocument||Z,H=nJ(H),($=l0.get($))&&PH(H,$),Y=Y.createElement("link"),J1(Y);var M=Y;M._p=new Promise(function(J,Q){M.onload=J,M.onerror=Q}),m2(Y,"link",H),X.instance=Y}z.stylesheets===null&&(z.stylesheets=new Map),z.stylesheets.set(X,Z),(Z=X.state.preload)&&(X.state.loading&VU)===t3&&(z.count++,X=$z.bind(z),Z.addEventListener("load",X),Z.addEventListener("error",X))}}function BW(z,Z){return z.stylesheets&&z.count===0&&Yz(z,z.stylesheets),0<z.count||0<z.imgCount?function(X){var H=setTimeout(function(){if(z.stylesheets&&Yz(z,z.stylesheets),z.unsuspend){var Y=z.unsuspend;z.unsuspend=null,Y()}},ZR+Z);0<z.imgBytes&&e$===0&&(e$=125*jL()*HR);var $=setTimeout(function(){if(z.waitingForImages=!1,z.count===0&&(z.stylesheets&&Yz(z,z.stylesheets),z.unsuspend)){var Y=z.unsuspend;z.unsuspend=null,Y()}},(z.imgBytes>e$?50:XR)+Z);return z.unsuspend=X,function(){z.unsuspend=null,clearTimeout(H),clearTimeout($)}}:null}function $z(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)Yz(this,this.stylesheets);else if(this.unsuspend){var z=this.unsuspend;this.unsuspend=null,z()}}}function Yz(z,Z){z.stylesheets=null,z.unsuspend!==null&&(z.count++,GZ=new Map,Z.forEach(JW,z),GZ=null,$z.call(z))}function JW(z,Z){if(!(Z.state.loading&c0)){var X=GZ.get(z);if(X)var H=X.get(zY);else{X=new Map,GZ.set(z,X);for(var $=z.querySelectorAll("link[data-precedence],style[data-precedence]"),Y=0;Y<$.length;Y++){var M=$[Y];if(M.nodeName==="LINK"||M.getAttribute("media")!=="not all")X.set(M.dataset.precedence,M),H=M}H&&X.set(zY,H)}$=Z.instance,M=$.getAttribute("data-precedence"),Y=X.get(M)||H,Y===H&&X.set(zY,$),X.set(M,$),this.count++,H=$z.bind(this),$.addEventListener("load",H),$.addEventListener("error",H),Y?Y.parentNode.insertBefore($,Y.nextSibling):(z=z.nodeType===9?z.head:z,z.insertBefore($,z.firstChild)),Z.state.loading|=c0}}function QW(z,Z,X,H,$,Y,M,J,Q){this.tag=1,this.containerInfo=z,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=o3,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=B6(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=B6(0),this.hiddenUpdates=B6(null),this.identifierPrefix=H,this.onUncaughtError=$,this.onCaughtError=Y,this.onRecoverableError=M,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=Q,this.incompleteTransitions=new Map,this.passiveEffectDuration=this.effectDuration=-0,this.memoizedUpdaters=new Set,z=this.pendingUpdatersLaneMap=[];for(Z=0;31>Z;Z++)z.push(new Set);this._debugRootType=X?"hydrateRoot()":"createRoot()"}function eJ(z,Z,X,H,$,Y,M,J,Q,G,A,I){return z=new QW(z,Z,X,M,Q,G,A,I,J),Z=SK,Y===!0&&(Z|=l2|e0),Z|=C1,Y=w(3,null,null,Z),z.current=Y,Y.stateNode=z,Z=sZ(),C3(Z),z.pooledCache=Z,C3(Z),Y.memoizedState={element:H,isDehydrated:X,cache:Z},zX(Y),z}function zQ(z){if(!z)return D5;return z=D5,z}function OH(z,Z,X,H,$,Y){if(c2&&typeof c2.onScheduleFiberRoot==="function")try{c2.onScheduleFiberRoot(k6,H,X)}catch(M){k4||(k4=!0,console.error("React instrumentation encountered an error: %o",M))}$=zQ($),H.context===null?H.context=$:H.pendingContext=$,S4&&O0!==null&&!xU&&(xU=!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.
|
|
183
|
+
|
|
184
|
+
Check the render method of %s.`,h(O0)||"Unknown")),H=N5(Z),H.payload={element:X},Y=Y===void 0?null:Y,Y!==null&&(typeof Y!=="function"&&console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",Y),H.callback=Y),X=C5(z,H,Z),X!==null&&(L4(Z,"root.render()",null),G2(X,z,Z),k8(X,z,Z))}function ZQ(z,Z){if(z=z.memoizedState,z!==null&&z.dehydrated!==null){var X=z.retryLane;z.retryLane=X!==0&&X<Z?X:Z}}function NH(z,Z){ZQ(z,Z),(z=z.alternate)&&ZQ(z,Z)}function XQ(z){if(z.tag===13||z.tag===31){var Z=d2(z,67108864);Z!==null&&G2(Z,z,67108864),NH(z,67108864)}}function HQ(z){if(z.tag===13||z.tag===31){var Z=A0(z);Z=K3(Z);var X=d2(z,Z);X!==null&&G2(X,z,Z),NH(z,Z)}}function GW(){return O0}function UW(z,Z,X,H){var $=g.T;g.T=null;var Y=u1.p;try{u1.p=N0,CH(z,Z,X,H)}finally{u1.p=Y,g.T=$}}function qW(z,Z,X,H){var $=g.T;g.T=null;var Y=u1.p;try{u1.p=t0,CH(z,Z,X,H)}finally{u1.p=Y,g.T=$}}function CH(z,Z,X,H){if(qZ){var $=TH(H);if($===null)QH(z,Z,H,LZ,X),YQ(z,H);else if(LW($,z,Z,X,H))H.stopPropagation();else if(YQ(z,H),Z&4&&-1<YR.indexOf(z)){for(;$!==null;){var Y=F1($);if(Y!==null)switch(Y.tag){case 3:if(Y=Y.stateNode,Y.current.memoizedState.isDehydrated){var M=Q4(Y.pendingLanes);if(M!==0){var J=Y;J.pendingLanes|=2;for(J.entangledLanes|=2;M;){var Q=1<<31-i2(M);J.entanglements[1]|=Q,M&=~Q}C4(Y),(m1&(v2|w0))===f2&&(sz=b2()+WU,c8(0,!1))}}break;case 31:case 13:J=d2(Y,2),J!==null&&G2(J,Y,2),P6(),NH(Y,2)}if(Y=TH(H),Y===null&&QH(z,Z,H,LZ,X),Y===$)break;$=Y}$!==null&&H.stopPropagation()}else QH(z,Z,H,null,X)}}function TH(z){return z=yZ(z),vH(z)}function vH(z){if(LZ=null,z=Y1(z),z!==null){var Z=p(z);if(Z===null)z=null;else{var X=Z.tag;if(X===13){if(z=r(Z),z!==null)return z;z=null}else if(X===31){if(z=$1(Z),z!==null)return z;z=null}else if(X===3){if(Z.stateNode.current.memoizedState.isDehydrated)return Z.tag===3?Z.stateNode.containerInfo:null;z=null}else Z!==z&&(z=null)}}return LZ=z,null}function $Q(z){switch(z){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 N0;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 t0;case"message":switch(OW()){case EH:return N0;case xH:return t0;case S6:case NW:return y4;case uH:return Kz;default:return y4}default:return y4}}function YQ(z,Z){switch(z){case"focusin":case"focusout":Z3=null;break;case"dragenter":case"dragleave":X3=null;break;case"mouseover":case"mouseout":H3=null;break;case"pointerover":case"pointerout":l7.delete(Z.pointerId);break;case"gotpointercapture":case"lostpointercapture":p7.delete(Z.pointerId)}}function r8(z,Z,X,H,$,Y){if(z===null||z.nativeEvent!==Y)return z={blockedOn:Z,domEventName:X,eventSystemFlags:H,nativeEvent:Y,targetContainers:[$]},Z!==null&&(Z=F1(Z),Z!==null&&XQ(Z)),z;return z.eventSystemFlags|=H,Z=z.targetContainers,$!==null&&Z.indexOf($)===-1&&Z.push($),z}function LW(z,Z,X,H,$){switch(Z){case"focusin":return Z3=r8(Z3,z,Z,X,H,$),!0;case"dragenter":return X3=r8(X3,z,Z,X,H,$),!0;case"mouseover":return H3=r8(H3,z,Z,X,H,$),!0;case"pointerover":var Y=$.pointerId;return l7.set(Y,r8(l7.get(Y)||null,z,Z,X,H,$)),!0;case"gotpointercapture":return Y=$.pointerId,p7.set(Y,r8(p7.get(Y)||null,z,Z,X,H,$)),!0}return!1}function MQ(z){var Z=Y1(z.target);if(Z!==null){var X=p(Z);if(X!==null){if(Z=X.tag,Z===13){if(Z=r(X),Z!==null){z.blockedOn=Z,l(z.priority,function(){HQ(X)});return}}else if(Z===31){if(Z=$1(X),Z!==null){z.blockedOn=Z,l(z.priority,function(){HQ(X)});return}}else if(Z===3&&X.stateNode.current.memoizedState.isDehydrated){z.blockedOn=X.tag===3?X.stateNode.containerInfo:null;return}}}z.blockedOn=null}function Mz(z){if(z.blockedOn!==null)return!1;for(var Z=z.targetContainers;0<Z.length;){var X=TH(z.nativeEvent);if(X===null){X=z.nativeEvent;var H=new X.constructor(X.type,X),$=H;Z7!==null&&console.error("Expected currently replaying event to be null. This error is likely caused by a bug in React. Please file an issue."),Z7=$,X.target.dispatchEvent(H),Z7===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."),Z7=null}else return Z=F1(X),Z!==null&&XQ(Z),z.blockedOn=X,!1;Z.shift()}return!0}function BQ(z,Z,X){Mz(z)&&X.delete(Z)}function WW(){ZY=!1,Z3!==null&&Mz(Z3)&&(Z3=null),X3!==null&&Mz(X3)&&(X3=null),H3!==null&&Mz(H3)&&(H3=null),l7.forEach(BQ),p7.forEach(BQ)}function Bz(z,Z){z.blockedOn===Z&&(z.blockedOn=null,ZY||(ZY=!0,E1.unstable_scheduleCallback(E1.unstable_NormalPriority,WW)))}function JQ(z){WZ!==z&&(WZ=z,E1.unstable_scheduleCallback(E1.unstable_NormalPriority,function(){WZ===z&&(WZ=null);for(var Z=0;Z<z.length;Z+=3){var X=z[Z],H=z[Z+1],$=z[Z+2];if(typeof H!=="function")if(vH(H||X)===null)continue;else break;var Y=F1(X);Y!==null&&(z.splice(Z,3),Z-=3,X={pending:!0,data:$,method:X.method,action:H},Object.freeze(X),vX(Y,X,H,$))}}))}function T6(z){function Z(Q){return Bz(Q,z)}Z3!==null&&Bz(Z3,z),X3!==null&&Bz(X3,z),H3!==null&&Bz(H3,z),l7.forEach(Z),p7.forEach(Z);for(var X=0;X<$3.length;X++){var H=$3[X];H.blockedOn===z&&(H.blockedOn=null)}for(;0<$3.length&&(X=$3[0],X.blockedOn===null);)MQ(X),X.blockedOn===null&&$3.shift();if(X=(z.ownerDocument||z).$$reactFormReplay,X!=null)for(H=0;H<X.length;H+=3){var $=X[H],Y=X[H+1],M=$[n2]||null;if(typeof Y==="function")M||JQ(X);else if(M){var J=null;if(Y&&Y.hasAttribute("formAction")){if($=Y,M=Y[n2]||null)J=M.formAction;else if(vH($)!==null)continue}else J=M.action;typeof J==="function"?X[H+1]=J:(X.splice(H,3),H-=3),JQ(X)}}}function QQ(){function z(Y){Y.canIntercept&&Y.info==="react-transition"&&Y.intercept({handler:function(){return new Promise(function(M){return $=M})},focusReset:"manual",scroll:"manual"})}function Z(){$!==null&&($(),$=null),H||setTimeout(X,20)}function X(){if(!H&&!navigation.transition){var Y=navigation.currentEntry;Y&&Y.url!=null&&navigation.navigate(Y.url,{state:Y.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation==="object"){var H=!1,$=null;return navigation.addEventListener("navigate",z),navigation.addEventListener("navigatesuccess",Z),navigation.addEventListener("navigateerror",Z),setTimeout(X,100),function(){H=!0,navigation.removeEventListener("navigate",z),navigation.removeEventListener("navigatesuccess",Z),navigation.removeEventListener("navigateerror",Z),$!==null&&($(),$=null)}}}function wH(z){this._internalRoot=z}function Jz(z){this._internalRoot=z}function GQ(z){z[h5]&&(z._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 b1=Object.assign,KW=Symbol.for("react.element"),v4=Symbol.for("react.transitional.element"),v6=Symbol.for("react.portal"),w6=Symbol.for("react.fragment"),Qz=Symbol.for("react.strict_mode"),SH=Symbol.for("react.profiler"),kH=Symbol.for("react.consumer"),w4=Symbol.for("react.context"),o8=Symbol.for("react.forward_ref"),bH=Symbol.for("react.suspense"),yH=Symbol.for("react.suspense_list"),Gz=Symbol.for("react.memo"),I0=Symbol.for("react.lazy"),gH=Symbol.for("react.activity"),RW=Symbol.for("react.memo_cache_sentinel"),UQ=Symbol.iterator,_W=Symbol.for("react.client.reference"),C2=Array.isArray,g=G8.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,u1=HY.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,FW=Object.freeze({pending:!1,data:null,method:null,action:null}),fH=[],hH=[],s4=-1,y5=w1(null),t8=w1(null),g5=w1(null),Uz=w1(null),e8=0,qQ,LQ,WQ,KQ,RQ,_Q,FQ;E.__reactDisabledLog=!0;var VH,AQ,jH=!1,mH=new(typeof WeakMap==="function"?WeakMap:Map),O0=null,S4=!1,o0=Object.prototype.hasOwnProperty,DH=E1.unstable_scheduleCallback,AW=E1.unstable_cancelCallback,PW=E1.unstable_shouldYield,IW=E1.unstable_requestPaint,b2=E1.unstable_now,OW=E1.unstable_getCurrentPriorityLevel,EH=E1.unstable_ImmediatePriority,xH=E1.unstable_UserBlockingPriority,S6=E1.unstable_NormalPriority,NW=E1.unstable_LowPriority,uH=E1.unstable_IdlePriority,CW=E1.log,TW=E1.unstable_setDisableYieldValue,k6=null,c2=null,k4=!1,b4=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u",i2=Math.clz32?Math.clz32:e7,vW=Math.log,wW=Math.LN2,qz=256,Lz=262144,Wz=4194304,N0=2,t0=8,y4=32,Kz=268435456,f5=Math.random().toString(36).slice(2),D2="__reactFiber$"+f5,n2="__reactProps$"+f5,h5="__reactContainer$"+f5,dH="__reactEvents$"+f5,SW="__reactListeners$"+f5,kW="__reactHandles$"+f5,PQ="__reactResources$"+f5,z7="__reactMarker$"+f5,IQ=new Set,y3={},cH={},bW={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0},yW=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]*$"),OQ={},NQ={},gW=/[\n"\\]/g,CQ=!1,TQ=!1,vQ=!1,wQ=!1,SQ=!1,kQ=!1,bQ=["value","defaultValue"],yQ=!1,gQ=/["'&<>\n\t]|^\s|\s$/,fW="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(" "),fQ="applet caption html table td th marquee object template foreignObject desc title".split(" "),hW=fQ.concat(["button"]),VW="dd dt li option optgroup p rp rt".split(" "),hQ={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null,containerTagInScope:null,implicitRootScope:!1},Rz={},lH={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"]},VQ=/([A-Z])/g,jQ=/^ms-/,jW=/^(?:webkit|moz|o)[A-Z]/,mW=/^-ms-/,DW=/-(.)/g,mQ=/;\s*$/,b6={},pH={},DQ=!1,EQ=!1,xQ=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(" ")),_z="http://www.w3.org/1998/Math/MathML",y6="http://www.w3.org/2000/svg",EW=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"]]),Fz={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"},uQ={"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},g6={},xW=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]*$"),uW=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]*$"),dQ=!1,s2={},cQ=/^on./,dW=/^on[^A-Z]/,cW=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]*$"),lW=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]*$"),pW=/^[\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,Z7=null,f6=null,h6=null,aH=!1,g4=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),iH=!1;if(g4)try{var X7={};Object.defineProperty(X7,"passive",{get:function(){iH=!0}}),window.addEventListener("test",X7,X7),window.removeEventListener("test",X7,X7)}catch(z){iH=!1}var V5=null,nH=null,Az=null,g3={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(z){return z.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Pz=Z0(g3),H7=b1({},g3,{view:0,detail:0}),aW=Z0(H7),sH,rH,$7,Iz=b1({},H7,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:gZ,button:0,buttons:0,relatedTarget:function(z){return z.relatedTarget===void 0?z.fromElement===z.srcElement?z.toElement:z.fromElement:z.relatedTarget},movementX:function(z){if("movementX"in z)return z.movementX;return z!==$7&&($7&&z.type==="mousemove"?(sH=z.screenX-$7.screenX,rH=z.screenY-$7.screenY):rH=sH=0,$7=z),sH},movementY:function(z){return"movementY"in z?z.movementY:rH}}),lQ=Z0(Iz),iW=b1({},Iz,{dataTransfer:0}),nW=Z0(iW),sW=b1({},H7,{relatedTarget:0}),oH=Z0(sW),rW=b1({},g3,{animationName:0,elapsedTime:0,pseudoElement:0}),oW=Z0(rW),tW=b1({},g3,{clipboardData:function(z){return"clipboardData"in z?z.clipboardData:window.clipboardData}}),eW=Z0(tW),zK=b1({},g3,{data:0}),pQ=Z0(zK),ZK=pQ,XK={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},HK={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"},$K={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"},YK=b1({},H7,{key:function(z){if(z.key){var Z=XK[z.key]||z.key;if(Z!=="Unidentified")return Z}return z.type==="keypress"?(z=M9(z),z===13?"Enter":String.fromCharCode(z)):z.type==="keydown"||z.type==="keyup"?HK[z.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:gZ,charCode:function(z){return z.type==="keypress"?M9(z):0},keyCode:function(z){return z.type==="keydown"||z.type==="keyup"?z.keyCode:0},which:function(z){return z.type==="keypress"?M9(z):z.type==="keydown"||z.type==="keyup"?z.keyCode:0}}),MK=Z0(YK),BK=b1({},Iz,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),aQ=Z0(BK),JK=b1({},H7,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:gZ}),QK=Z0(JK),GK=b1({},g3,{propertyName:0,elapsedTime:0,pseudoElement:0}),UK=Z0(GK),qK=b1({},Iz,{deltaX:function(z){return"deltaX"in z?z.deltaX:("wheelDeltaX"in z)?-z.wheelDeltaX:0},deltaY:function(z){return"deltaY"in z?z.deltaY:("wheelDeltaY"in z)?-z.wheelDeltaY:("wheelDelta"in z)?-z.wheelDelta:0},deltaZ:0,deltaMode:0}),LK=Z0(qK),WK=b1({},g3,{newState:0,oldState:0}),KK=Z0(WK),RK=[9,13,27,32],iQ=229,tH=g4&&"CompositionEvent"in window,Y7=null;g4&&"documentMode"in document&&(Y7=document.documentMode);var _K=g4&&"TextEvent"in window&&!Y7,nQ=g4&&(!tH||Y7&&8<Y7&&11>=Y7),sQ=32,rQ=String.fromCharCode(sQ),oQ=!1,V6=!1,FK={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},M7=null,B7=null,tQ=!1;g4&&(tQ=Eq("input")&&(!document.documentMode||9<document.documentMode));var r2=typeof Object.is==="function"?Object.is:pq,AK=g4&&"documentMode"in document&&11>=document.documentMode,j6=null,eH=null,J7=null,z$=!1,m6={animationend:_3("Animation","AnimationEnd"),animationiteration:_3("Animation","AnimationIteration"),animationstart:_3("Animation","AnimationStart"),transitionrun:_3("Transition","TransitionRun"),transitionstart:_3("Transition","TransitionStart"),transitioncancel:_3("Transition","TransitionCancel"),transitionend:_3("Transition","TransitionEnd")},Z$={},eQ={};g4&&(eQ=document.createElement("div").style,("AnimationEvent"in window)||(delete m6.animationend.animation,delete m6.animationiteration.animation,delete m6.animationstart.animation),("TransitionEvent"in window)||delete m6.transitionend.transition);var zG=F3("animationend"),ZG=F3("animationiteration"),XG=F3("animationstart"),PK=F3("transitionrun"),IK=F3("transitionstart"),OK=F3("transitioncancel"),HG=F3("transitionend"),$G=new Map,X$="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(" ");X$.push("scrollEnd");var YG=0;if(typeof performance==="object"&&typeof performance.now==="function")var NK=performance,MG=function(){return NK.now()};else{var CK=Date;MG=function(){return CK.now()}}var H$=typeof reportError==="function"?reportError:function(z){if(typeof window==="object"&&typeof window.ErrorEvent==="function"){var Z=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof z==="object"&&z!==null&&typeof z.message==="string"?String(z.message):String(z),error:z});if(!window.dispatchEvent(Z))return}else if(typeof process==="object"&&typeof process.emit==="function"){process.emit("uncaughtException",z);return}console.error(z)},TK="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.",Oz=0,$$=1,Y$=2,M$=3,Nz="– ",Cz="+ ",BG=" ",X2=typeof console<"u"&&typeof console.timeStamp==="function"&&typeof performance<"u"&&typeof performance.measure==="function",f0="Components ⚛",y1="Scheduler ⚛",g1="Blocking",j5=!1,r4={color:"primary",properties:null,tooltipText:"",track:f0},m5={start:-0,end:-0,detail:{devtools:r4}},vK=["Changed Props",""],JG="This component received deeply equal props. It might benefit from useMemo or the React Compiler in its owner.",wK=["Changed Props",JG],Q7=1,o4=2,h0=[],D6=0,B$=0,D5={};Object.freeze(D5);var V0=null,E6=null,L1=0,SK=1,C1=2,l2=8,e0=16,kK=32,QG=!1;try{var GG=Object.preventExtensions({})}catch(z){QG=!0}var J$=new WeakMap,x6=[],u6=0,Tz=null,G7=0,j0=[],m0=0,f3=null,t4=1,e4="",E2=null,H2=null,h1=!1,f4=!1,C0=null,E5=null,D0=!1,Q$=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."),G$=w1(null),U$=w1(null),UG={},vz=null,d6=null,c6=!1,bK=typeof AbortController<"u"?AbortController:function(){var z=[],Z=this.signal={aborted:!1,addEventListener:function(X,H){z.push(H)}};this.abort=function(){Z.aborted=!0,z.forEach(function(X){return X()})}},yK=E1.unstable_scheduleCallback,gK=E1.unstable_NormalPriority,_2={$$typeof:w4,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0,_currentRenderer:null,_currentRenderer2:null},F2=E1.unstable_now,wz=console.createTask?console.createTask:function(){return null},U7=1,Sz=2,y2=-0,x5=-0,z5=-0,Z5=null,o2=-1.1,h3=-0,B2=-0,Q1=-1.1,U1=-1.1,M2=null,U2=!1,u5=-0,h4=-1.1,q7=null,d5=0,q$=null,L$=null,V3=-1.1,L7=null,l6=-1.1,kz=-1.1,V4=-0,X5=-1.1,E0=-1.1,W$=0,W7=null,qG=null,LG=null,c5=-1.1,j3=null,l5=-1.1,bz=-1.1,WG=-0,KG=-0,yz=0,H5=null,RG=0,K7=-1.1,gz=!1,fz=!1,R7=null,K$=0,m3=0,p6=null,_G=g.S;g.S=function(z,Z){if(qU=b2(),typeof Z==="object"&&Z!==null&&typeof Z.then==="function"){if(0>X5&&0>E0){X5=F2();var X=a8(),H=p8();if(X!==l5||H!==j3)l5=-1.1;c5=X,j3=H}tq(z,Z)}_G!==null&&_G(z,Z)};var D3=w1(null),z4={recordUnsafeLifecycleWarnings:function(){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}},_7=[],F7=[],A7=[],P7=[],I7=[],O7=[],E3=new Set;z4.recordUnsafeLifecycleWarnings=function(z,Z){E3.has(z.type)||(typeof Z.componentWillMount==="function"&&Z.componentWillMount.__suppressDeprecationWarning!==!0&&_7.push(z),z.mode&l2&&typeof Z.UNSAFE_componentWillMount==="function"&&F7.push(z),typeof Z.componentWillReceiveProps==="function"&&Z.componentWillReceiveProps.__suppressDeprecationWarning!==!0&&A7.push(z),z.mode&l2&&typeof Z.UNSAFE_componentWillReceiveProps==="function"&&P7.push(z),typeof Z.componentWillUpdate==="function"&&Z.componentWillUpdate.__suppressDeprecationWarning!==!0&&I7.push(z),z.mode&l2&&typeof Z.UNSAFE_componentWillUpdate==="function"&&O7.push(z))},z4.flushPendingUnsafeLifecycleWarnings=function(){var z=new Set;0<_7.length&&(_7.forEach(function(J){z.add(h(J)||"Component"),E3.add(J.type)}),_7=[]);var Z=new Set;0<F7.length&&(F7.forEach(function(J){Z.add(h(J)||"Component"),E3.add(J.type)}),F7=[]);var X=new Set;0<A7.length&&(A7.forEach(function(J){X.add(h(J)||"Component"),E3.add(J.type)}),A7=[]);var H=new Set;0<P7.length&&(P7.forEach(function(J){H.add(h(J)||"Component"),E3.add(J.type)}),P7=[]);var $=new Set;0<I7.length&&(I7.forEach(function(J){$.add(h(J)||"Component"),E3.add(J.type)}),I7=[]);var Y=new Set;if(0<O7.length&&(O7.forEach(function(J){Y.add(h(J)||"Component"),E3.add(J.type)}),O7=[]),0<Z.size){var M=_(Z);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.
|
|
185
|
+
|
|
186
|
+
* Move code with side effects to componentDidMount, and set initial state in the constructor.
|
|
187
|
+
|
|
188
|
+
Please update the following components: %s`,M)}0<H.size&&(M=_(H),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.
|
|
189
|
+
|
|
190
|
+
* Move data fetching code or side effects to componentDidUpdate.
|
|
191
|
+
* 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
|
|
192
|
+
|
|
193
|
+
Please update the following components: %s`,M)),0<Y.size&&(M=_(Y),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.
|
|
194
|
+
|
|
195
|
+
* Move data fetching code or side effects to componentDidUpdate.
|
|
196
|
+
|
|
197
|
+
Please update the following components: %s`,M)),0<z.size&&(M=_(z),console.warn(`componentWillMount has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
|
|
198
|
+
|
|
199
|
+
* Move code with side effects to componentDidMount, and set initial state in the constructor.
|
|
200
|
+
* 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.
|
|
201
|
+
|
|
202
|
+
Please update the following components: %s`,M)),0<X.size&&(M=_(X),console.warn(`componentWillReceiveProps has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
|
|
203
|
+
|
|
204
|
+
* Move data fetching code or side effects to componentDidUpdate.
|
|
205
|
+
* 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
|
|
206
|
+
* 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.
|
|
207
|
+
|
|
208
|
+
Please update the following components: %s`,M)),0<$.size&&(M=_($),console.warn(`componentWillUpdate has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
|
|
209
|
+
|
|
210
|
+
* Move data fetching code or side effects to componentDidUpdate.
|
|
211
|
+
* 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.
|
|
212
|
+
|
|
213
|
+
Please update the following components: %s`,M))};var hz=new Map,FG=new Set;z4.recordLegacyContextWarning=function(z,Z){var X=null;for(var H=z;H!==null;)H.mode&l2&&(X=H),H=H.return;X===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."):!FG.has(z.type)&&(H=hz.get(X),z.type.contextTypes!=null||z.type.childContextTypes!=null||Z!==null&&typeof Z.getChildContext==="function")&&(H===void 0&&(H=[],hz.set(X,H)),H.push(z))},z4.flushLegacyContextWarning=function(){hz.forEach(function(z){if(z.length!==0){var Z=z[0],X=new Set;z.forEach(function($){X.add(h($)||"Component"),FG.add($.type)});var H=_(X);X1(Z,function(){console.error(`Legacy context API has been detected within a strict-mode tree.
|
|
214
|
+
|
|
215
|
+
The old API will be supported in all 16.x releases, but applications using it should migrate to the new version.
|
|
216
|
+
|
|
217
|
+
Please update the following components: %s
|
|
218
|
+
|
|
219
|
+
Learn more about this warning here: https://react.dev/link/legacy-context`,H)})}})},z4.discardPendingWarnings=function(){_7=[],F7=[],A7=[],P7=[],I7=[],O7=[],hz=new Map};var AG={react_stack_bottom_frame:function(z,Z,X){var H=S4;S4=!0;try{return z(Z,X)}finally{S4=H}}},R$=AG.react_stack_bottom_frame.bind(AG),PG={react_stack_bottom_frame:function(z){var Z=S4;S4=!0;try{return z.render()}finally{S4=Z}}},IG=PG.react_stack_bottom_frame.bind(PG),OG={react_stack_bottom_frame:function(z,Z){try{Z.componentDidMount()}catch(X){x1(z,z.return,X)}}},_$=OG.react_stack_bottom_frame.bind(OG),NG={react_stack_bottom_frame:function(z,Z,X,H,$){try{Z.componentDidUpdate(X,H,$)}catch(Y){x1(z,z.return,Y)}}},CG=NG.react_stack_bottom_frame.bind(NG),TG={react_stack_bottom_frame:function(z,Z){var X=Z.stack;z.componentDidCatch(Z.value,{componentStack:X!==null?X:""})}},fK=TG.react_stack_bottom_frame.bind(TG),vG={react_stack_bottom_frame:function(z,Z,X){try{X.componentWillUnmount()}catch(H){x1(z,Z,H)}}},wG=vG.react_stack_bottom_frame.bind(vG),SG={react_stack_bottom_frame:function(z){var Z=z.create;return z=z.inst,Z=Z(),z.destroy=Z}},hK=SG.react_stack_bottom_frame.bind(SG),kG={react_stack_bottom_frame:function(z,Z,X){try{X()}catch(H){x1(z,Z,H)}}},VK=kG.react_stack_bottom_frame.bind(kG),bG={react_stack_bottom_frame:function(z){var Z=z._init;return Z(z._payload)}},jK=bG.react_stack_bottom_frame.bind(bG),a6=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`."),F$=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."),Vz=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."),jz={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.')}},x3=null,N7=!1,i6=null,C7=0,T1=null,A$,yG=A$=!1,gG={},fG={},hG={};P=function(z,Z,X){if(X!==null&&typeof X==="object"&&X._store&&(!X._store.validated&&X.key==null||X._store.validated===2)){if(typeof X._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.");X._store.validated=1;var H=h(z),$=H||"null";if(!gG[$]){gG[$]=!0,X=X._owner,z=z._debugOwner;var Y="";z&&typeof z.tag==="number"&&($=h(z))&&(Y=`
|
|
220
|
+
|
|
221
|
+
Check the render method of \``+$+"`."),Y||H&&(Y=`
|
|
222
|
+
|
|
223
|
+
Check the top-level render call using <`+H+">.");var M="";X!=null&&z!==X&&(H=null,typeof X.tag==="number"?H=h(X):typeof X.name==="string"&&(H=X.name),H&&(M=" It was passed a child from "+H+".")),X1(Z,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.',Y,M)})}}};var u3=vM(!0),VG=vM(!1),jG=0,mG=1,DG=2,P$=3,p5=!1,EG=!1,I$=null,O$=!1,n6=w1(null),mz=w1(0),T0=w1(null),x0=null,s6=1,T7=2,K2=w1(0),Dz=0,u0=1,t2=2,v0=4,e2=8,r6,xG=new Set,uG=new Set,N$=new Set,dG=new Set,$5=0,W1=null,o1=null,A2=null,Ez=!1,o6=!1,d3=!1,xz=0,v7=0,Y5=null,mK=0,DK=25,y=null,d0=null,M5=-1,w7=!1,S7={readContext:Y2,use:w5,useCallback:q2,useContext:q2,useEffect:q2,useImperativeHandle:q2,useLayoutEffect:q2,useInsertionEffect:q2,useMemo:q2,useReducer:q2,useRef:q2,useState:q2,useDebugValue:q2,useDeferredValue:q2,useTransition:q2,useSyncExternalStore:q2,useId:q2,useHostTransitionStatus:q2,useFormState:q2,useActionState:q2,useOptimistic:q2,useMemoCache:q2,useCacheRefresh:q2};S7.useEffectEvent=q2;var C$=null,cG=null,T$=null,lG=null,j4=null,Z4=null,uz=null;C$={readContext:function(z){return Y2(z)},use:w5,useCallback:function(z,Z){return y="useCallback",k1(),L6(Z),OX(z,Z)},useContext:function(z){return y="useContext",k1(),Y2(z)},useEffect:function(z,Z){return y="useEffect",k1(),L6(Z),h9(z,Z)},useImperativeHandle:function(z,Z,X){return y="useImperativeHandle",k1(),L6(X),IX(z,Z,X)},useInsertionEffect:function(z,Z){y="useInsertionEffect",k1(),L6(Z),v3(4,t2,z,Z)},useLayoutEffect:function(z,Z){return y="useLayoutEffect",k1(),L6(Z),PX(z,Z)},useMemo:function(z,Z){y="useMemo",k1(),L6(Z);var X=g.H;g.H=j4;try{return NX(z,Z)}finally{g.H=X}},useReducer:function(z,Z,X){y="useReducer",k1();var H=g.H;g.H=j4;try{return UX(z,Z,X)}finally{g.H=H}},useRef:function(z){return y="useRef",k1(),FX(z)},useState:function(z){y="useState",k1();var Z=g.H;g.H=j4;try{return KX(z)}finally{g.H=Z}},useDebugValue:function(){y="useDebugValue",k1()},useDeferredValue:function(z,Z){return y="useDeferredValue",k1(),CX(z,Z)},useTransition:function(){return y="useTransition",k1(),wX()},useSyncExternalStore:function(z,Z,X){return y="useSyncExternalStore",k1(),LX(z,Z,X)},useId:function(){return y="useId",k1(),SX()},useFormState:function(z,Z){return y="useFormState",k1(),k9(),K6(z,Z)},useActionState:function(z,Z){return y="useActionState",k1(),K6(z,Z)},useOptimistic:function(z){return y="useOptimistic",k1(),RX(z)},useHostTransitionStatus:w3,useMemoCache:T3,useCacheRefresh:function(){return y="useCacheRefresh",k1(),kX()},useEffectEvent:function(z){return y="useEffectEvent",k1(),AX(z)}},cG={readContext:function(z){return Y2(z)},use:w5,useCallback:function(z,Z){return y="useCallback",c(),OX(z,Z)},useContext:function(z){return y="useContext",c(),Y2(z)},useEffect:function(z,Z){return y="useEffect",c(),h9(z,Z)},useImperativeHandle:function(z,Z,X){return y="useImperativeHandle",c(),IX(z,Z,X)},useInsertionEffect:function(z,Z){y="useInsertionEffect",c(),v3(4,t2,z,Z)},useLayoutEffect:function(z,Z){return y="useLayoutEffect",c(),PX(z,Z)},useMemo:function(z,Z){y="useMemo",c();var X=g.H;g.H=j4;try{return NX(z,Z)}finally{g.H=X}},useReducer:function(z,Z,X){y="useReducer",c();var H=g.H;g.H=j4;try{return UX(z,Z,X)}finally{g.H=H}},useRef:function(z){return y="useRef",c(),FX(z)},useState:function(z){y="useState",c();var Z=g.H;g.H=j4;try{return KX(z)}finally{g.H=Z}},useDebugValue:function(){y="useDebugValue",c()},useDeferredValue:function(z,Z){return y="useDeferredValue",c(),CX(z,Z)},useTransition:function(){return y="useTransition",c(),wX()},useSyncExternalStore:function(z,Z,X){return y="useSyncExternalStore",c(),LX(z,Z,X)},useId:function(){return y="useId",c(),SX()},useActionState:function(z,Z){return y="useActionState",c(),K6(z,Z)},useFormState:function(z,Z){return y="useFormState",c(),k9(),K6(z,Z)},useOptimistic:function(z){return y="useOptimistic",c(),RX(z)},useHostTransitionStatus:w3,useMemoCache:T3,useCacheRefresh:function(){return y="useCacheRefresh",c(),kX()},useEffectEvent:function(z){return y="useEffectEvent",c(),AX(z)}},T$={readContext:function(z){return Y2(z)},use:w5,useCallback:function(z,Z){return y="useCallback",c(),m9(z,Z)},useContext:function(z){return y="useContext",c(),Y2(z)},useEffect:function(z,Z){y="useEffect",c(),X0(2048,e2,z,Z)},useImperativeHandle:function(z,Z,X){return y="useImperativeHandle",c(),j9(z,Z,X)},useInsertionEffect:function(z,Z){return y="useInsertionEffect",c(),X0(4,t2,z,Z)},useLayoutEffect:function(z,Z){return y="useLayoutEffect",c(),X0(4,v0,z,Z)},useMemo:function(z,Z){y="useMemo",c();var X=g.H;g.H=Z4;try{return D9(z,Z)}finally{g.H=X}},useReducer:function(z,Z,X){y="useReducer",c();var H=g.H;g.H=Z4;try{return W6(z,Z,X)}finally{g.H=H}},useRef:function(){return y="useRef",c(),a1().memoizedState},useState:function(){y="useState",c();var z=g.H;g.H=Z4;try{return W6(s0)}finally{g.H=z}},useDebugValue:function(){y="useDebugValue",c()},useDeferredValue:function(z,Z){return y="useDeferredValue",c(),nM(z,Z)},useTransition:function(){return y="useTransition",c(),zB()},useSyncExternalStore:function(z,Z,X){return y="useSyncExternalStore",c(),y9(z,Z,X)},useId:function(){return y="useId",c(),a1().memoizedState},useFormState:function(z){return y="useFormState",c(),k9(),g9(z)},useActionState:function(z){return y="useActionState",c(),g9(z)},useOptimistic:function(z,Z){return y="useOptimistic",c(),DM(z,Z)},useHostTransitionStatus:w3,useMemoCache:T3,useCacheRefresh:function(){return y="useCacheRefresh",c(),a1().memoizedState},useEffectEvent:function(z){return y="useEffectEvent",c(),V9(z)}},lG={readContext:function(z){return Y2(z)},use:w5,useCallback:function(z,Z){return y="useCallback",c(),m9(z,Z)},useContext:function(z){return y="useContext",c(),Y2(z)},useEffect:function(z,Z){y="useEffect",c(),X0(2048,e2,z,Z)},useImperativeHandle:function(z,Z,X){return y="useImperativeHandle",c(),j9(z,Z,X)},useInsertionEffect:function(z,Z){return y="useInsertionEffect",c(),X0(4,t2,z,Z)},useLayoutEffect:function(z,Z){return y="useLayoutEffect",c(),X0(4,v0,z,Z)},useMemo:function(z,Z){y="useMemo",c();var X=g.H;g.H=uz;try{return D9(z,Z)}finally{g.H=X}},useReducer:function(z,Z,X){y="useReducer",c();var H=g.H;g.H=uz;try{return f8(z,Z,X)}finally{g.H=H}},useRef:function(){return y="useRef",c(),a1().memoizedState},useState:function(){y="useState",c();var z=g.H;g.H=uz;try{return f8(s0)}finally{g.H=z}},useDebugValue:function(){y="useDebugValue",c()},useDeferredValue:function(z,Z){return y="useDeferredValue",c(),sM(z,Z)},useTransition:function(){return y="useTransition",c(),ZB()},useSyncExternalStore:function(z,Z,X){return y="useSyncExternalStore",c(),y9(z,Z,X)},useId:function(){return y="useId",c(),a1().memoizedState},useFormState:function(z){return y="useFormState",c(),k9(),f9(z)},useActionState:function(z){return y="useActionState",c(),f9(z)},useOptimistic:function(z,Z){return y="useOptimistic",c(),xM(z,Z)},useHostTransitionStatus:w3,useMemoCache:T3,useCacheRefresh:function(){return y="useCacheRefresh",c(),a1().memoizedState},useEffectEvent:function(z){return y="useEffectEvent",c(),V9(z)}},j4={readContext:function(z){return V(),Y2(z)},use:function(z){return C(),w5(z)},useCallback:function(z,Z){return y="useCallback",C(),k1(),OX(z,Z)},useContext:function(z){return y="useContext",C(),k1(),Y2(z)},useEffect:function(z,Z){return y="useEffect",C(),k1(),h9(z,Z)},useImperativeHandle:function(z,Z,X){return y="useImperativeHandle",C(),k1(),IX(z,Z,X)},useInsertionEffect:function(z,Z){y="useInsertionEffect",C(),k1(),v3(4,t2,z,Z)},useLayoutEffect:function(z,Z){return y="useLayoutEffect",C(),k1(),PX(z,Z)},useMemo:function(z,Z){y="useMemo",C(),k1();var X=g.H;g.H=j4;try{return NX(z,Z)}finally{g.H=X}},useReducer:function(z,Z,X){y="useReducer",C(),k1();var H=g.H;g.H=j4;try{return UX(z,Z,X)}finally{g.H=H}},useRef:function(z){return y="useRef",C(),k1(),FX(z)},useState:function(z){y="useState",C(),k1();var Z=g.H;g.H=j4;try{return KX(z)}finally{g.H=Z}},useDebugValue:function(){y="useDebugValue",C(),k1()},useDeferredValue:function(z,Z){return y="useDeferredValue",C(),k1(),CX(z,Z)},useTransition:function(){return y="useTransition",C(),k1(),wX()},useSyncExternalStore:function(z,Z,X){return y="useSyncExternalStore",C(),k1(),LX(z,Z,X)},useId:function(){return y="useId",C(),k1(),SX()},useFormState:function(z,Z){return y="useFormState",C(),k1(),K6(z,Z)},useActionState:function(z,Z){return y="useActionState",C(),k1(),K6(z,Z)},useOptimistic:function(z){return y="useOptimistic",C(),k1(),RX(z)},useMemoCache:function(z){return C(),T3(z)},useHostTransitionStatus:w3,useCacheRefresh:function(){return y="useCacheRefresh",k1(),kX()},useEffectEvent:function(z){return y="useEffectEvent",C(),k1(),AX(z)}},Z4={readContext:function(z){return V(),Y2(z)},use:function(z){return C(),w5(z)},useCallback:function(z,Z){return y="useCallback",C(),c(),m9(z,Z)},useContext:function(z){return y="useContext",C(),c(),Y2(z)},useEffect:function(z,Z){y="useEffect",C(),c(),X0(2048,e2,z,Z)},useImperativeHandle:function(z,Z,X){return y="useImperativeHandle",C(),c(),j9(z,Z,X)},useInsertionEffect:function(z,Z){return y="useInsertionEffect",C(),c(),X0(4,t2,z,Z)},useLayoutEffect:function(z,Z){return y="useLayoutEffect",C(),c(),X0(4,v0,z,Z)},useMemo:function(z,Z){y="useMemo",C(),c();var X=g.H;g.H=Z4;try{return D9(z,Z)}finally{g.H=X}},useReducer:function(z,Z,X){y="useReducer",C(),c();var H=g.H;g.H=Z4;try{return W6(z,Z,X)}finally{g.H=H}},useRef:function(){return y="useRef",C(),c(),a1().memoizedState},useState:function(){y="useState",C(),c();var z=g.H;g.H=Z4;try{return W6(s0)}finally{g.H=z}},useDebugValue:function(){y="useDebugValue",C(),c()},useDeferredValue:function(z,Z){return y="useDeferredValue",C(),c(),nM(z,Z)},useTransition:function(){return y="useTransition",C(),c(),zB()},useSyncExternalStore:function(z,Z,X){return y="useSyncExternalStore",C(),c(),y9(z,Z,X)},useId:function(){return y="useId",C(),c(),a1().memoizedState},useFormState:function(z){return y="useFormState",C(),c(),g9(z)},useActionState:function(z){return y="useActionState",C(),c(),g9(z)},useOptimistic:function(z,Z){return y="useOptimistic",C(),c(),DM(z,Z)},useMemoCache:function(z){return C(),T3(z)},useHostTransitionStatus:w3,useCacheRefresh:function(){return y="useCacheRefresh",c(),a1().memoizedState},useEffectEvent:function(z){return y="useEffectEvent",C(),c(),V9(z)}},uz={readContext:function(z){return V(),Y2(z)},use:function(z){return C(),w5(z)},useCallback:function(z,Z){return y="useCallback",C(),c(),m9(z,Z)},useContext:function(z){return y="useContext",C(),c(),Y2(z)},useEffect:function(z,Z){y="useEffect",C(),c(),X0(2048,e2,z,Z)},useImperativeHandle:function(z,Z,X){return y="useImperativeHandle",C(),c(),j9(z,Z,X)},useInsertionEffect:function(z,Z){return y="useInsertionEffect",C(),c(),X0(4,t2,z,Z)},useLayoutEffect:function(z,Z){return y="useLayoutEffect",C(),c(),X0(4,v0,z,Z)},useMemo:function(z,Z){y="useMemo",C(),c();var X=g.H;g.H=Z4;try{return D9(z,Z)}finally{g.H=X}},useReducer:function(z,Z,X){y="useReducer",C(),c();var H=g.H;g.H=Z4;try{return f8(z,Z,X)}finally{g.H=H}},useRef:function(){return y="useRef",C(),c(),a1().memoizedState},useState:function(){y="useState",C(),c();var z=g.H;g.H=Z4;try{return f8(s0)}finally{g.H=z}},useDebugValue:function(){y="useDebugValue",C(),c()},useDeferredValue:function(z,Z){return y="useDeferredValue",C(),c(),sM(z,Z)},useTransition:function(){return y="useTransition",C(),c(),ZB()},useSyncExternalStore:function(z,Z,X){return y="useSyncExternalStore",C(),c(),y9(z,Z,X)},useId:function(){return y="useId",C(),c(),a1().memoizedState},useFormState:function(z){return y="useFormState",C(),c(),f9(z)},useActionState:function(z){return y="useActionState",C(),c(),f9(z)},useOptimistic:function(z,Z){return y="useOptimistic",C(),c(),xM(z,Z)},useMemoCache:function(z){return C(),T3(z)},useHostTransitionStatus:w3,useCacheRefresh:function(){return y="useCacheRefresh",c(),a1().memoizedState},useEffectEvent:function(z){return y="useEffectEvent",C(),c(),V9(z)}};var pG={},aG=new Set,iG=new Set,nG=new Set,sG=new Set,rG=new Set,oG=new Set,tG=new Set,eG=new Set,zU=new Set,ZU=new Set;Object.freeze(pG);var v$={enqueueSetState:function(z,Z,X){z=z._reactInternals;var H=A0(z),$=N5(H);$.payload=Z,X!==void 0&&X!==null&&(yX(X),$.callback=X),Z=C5(z,$,H),Z!==null&&(L4(H,"this.setState()",z),G2(Z,z,H),k8(Z,z,H))},enqueueReplaceState:function(z,Z,X){z=z._reactInternals;var H=A0(z),$=N5(H);$.tag=mG,$.payload=Z,X!==void 0&&X!==null&&(yX(X),$.callback=X),Z=C5(z,$,H),Z!==null&&(L4(H,"this.replaceState()",z),G2(Z,z,H),k8(Z,z,H))},enqueueForceUpdate:function(z,Z){z=z._reactInternals;var X=A0(z),H=N5(X);H.tag=DG,Z!==void 0&&Z!==null&&(yX(Z),H.callback=Z),Z=C5(z,H,X),Z!==null&&(L4(X,"this.forceUpdate()",z),G2(Z,z,X),k8(Z,z,X))}},t6=null,w$=null,S$=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."),P2=!1,XU={},HU={},$U={},YU={},e6=!1,MU={},dz={},k$={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null},BU=!1,JU=null;JU=new Set;var B5=!1,I2=!1,b$=!1,QU=typeof WeakSet==="function"?WeakSet:Set,g2=null,z8=null,Z8=null,O2=null,Y0=!1,X4=null,T2=!1,k7=8192,EK={getCacheForType:function(z){var Z=Y2(_2),X=Z.data.get(z);return X===void 0&&(X=z(),Z.data.set(z,X)),X},cacheSignal:function(){return Y2(_2).controller.signal},getOwner:function(){return O0}};if(typeof Symbol==="function"&&Symbol.for){var b7=Symbol.for;b7("selector.component"),b7("selector.has_pseudo_class"),b7("selector.role"),b7("selector.test_id"),b7("selector.text")}var xK=[],uK=typeof WeakMap==="function"?WeakMap:Map,f2=0,v2=2,w0=4,J5=0,y7=1,c3=2,cz=3,a5=4,lz=6,GU=5,m1=f2,t1=null,S1=null,v1=0,M0=0,pz=1,l3=2,g7=3,UU=4,y$=5,f7=6,az=7,g$=8,p3=9,i1=M0,S0=null,i5=!1,X8=!1,f$=!1,m4=0,J2=J5,n5=0,s5=0,h$=0,B0=0,a3=0,h7=null,z0=null,iz=!1,nz=0,qU=0,LU=300,sz=1/0,WU=500,V7=null,L2=null,r5=null,rz=0,V$=1,j$=2,KU=3,o5=0,RU=1,_U=2,FU=3,AU=4,oz=5,N2=0,t5=null,H8=null,H4=0,m$=0,D$=-0,E$=null,PU=null,IU=null,$4=rz,OU=null,dK=50,j7=0,x$=null,u$=!1,tz=!1,cK=50,i3=0,m7=null,$8=!1,ez=null,NU=!1,CU=new Set,lK={},zZ=null,Y8=null,d$=!1,c$=!1,ZZ=!1,l$=!1,e5=0,p$={};(function(){for(var z=0;z<X$.length;z++){var Z=X$[z],X=Z.toLowerCase();Z=Z[0].toUpperCase()+Z.slice(1),n0(X,"on"+Z)}n0(zG,"onAnimationEnd"),n0(ZG,"onAnimationIteration"),n0(XG,"onAnimationStart"),n0("dblclick","onDoubleClick"),n0("focusin","onFocus"),n0("focusout","onBlur"),n0(PK,"onTransitionRun"),n0(IK,"onTransitionStart"),n0(OK,"onTransitionCancel"),n0(HG,"onTransitionEnd")})(),q0("onMouseEnter",["mouseout","mouseover"]),q0("onMouseLeave",["mouseout","mouseover"]),q0("onPointerEnter",["pointerout","pointerover"]),q0("onPointerLeave",["pointerout","pointerover"]),u2("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),u2("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),u2("onBeforeInput",["compositionend","keypress","textInput","paste"]),u2("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),u2("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),u2("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var D7="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(" "),a$=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(D7)),XZ="_reactListening"+Math.random().toString(36).slice(2),TU=!1,vU=!1,HZ=!1,wU=!1,$Z=!1,YZ=!1,SU=!1,MZ={},pK=/\r\n?/g,aK=/\u0000|\uFFFD/g,n3="http://www.w3.org/1999/xlink",i$="http://www.w3.org/XML/1998/namespace",iK="javascript:throw new Error('React form unexpectedly submitted.')",nK="suppressHydrationWarning",s3="&",BZ="/&",E7="$",x7="/$",z3="$?",r3="$~",M8="$!",sK="html",rK="body",oK="head",n$="F!",kU="F",bU="loading",tK="style",Q5=0,B8=1,JZ=2,s$=null,r$=null,yU={dialog:!0,webview:!0},o$=null,u7=void 0,gU=typeof setTimeout==="function"?setTimeout:void 0,eK=typeof clearTimeout==="function"?clearTimeout:void 0,o3=-1,fU=typeof Promise==="function"?Promise:void 0,zR=typeof queueMicrotask==="function"?queueMicrotask:typeof fU<"u"?function(z){return fU.resolve(null).then(z).catch(DL)}:gU,t$=null,t3=0,d7=1,hU=2,VU=3,c0=4,l0=new Map,jU=new Set,G5=u1.d;u1.d={f:function(){var z=G5.f(),Z=P6();return z||Z},r:function(z){var Z=F1(z);Z!==null&&Z.tag===5&&Z.type==="form"?eM(Z):G5.r(z)},D:function(z){G5.D(z),aJ("dns-prefetch",z,null)},C:function(z,Z){G5.C(z,Z),aJ("preconnect",z,Z)},L:function(z,Z,X){G5.L(z,Z,X);var H=J8;if(H&&z&&Z){var $='link[rel="preload"][as="'+y0(Z)+'"]';Z==="image"?X&&X.imageSrcSet?($+='[imagesrcset="'+y0(X.imageSrcSet)+'"]',typeof X.imageSizes==="string"&&($+='[imagesizes="'+y0(X.imageSizes)+'"]')):$+='[href="'+y0(z)+'"]':$+='[href="'+y0(z)+'"]';var Y=$;switch(Z){case"style":Y=N6(z);break;case"script":Y=C6(z)}l0.has(Y)||(z=b1({rel:"preload",href:Z==="image"&&X&&X.imageSrcSet?void 0:z,as:Z},X),l0.set(Y,z),H.querySelector($)!==null||Z==="style"&&H.querySelector(n8(Y))||Z==="script"&&H.querySelector(s8(Y))||(Z=H.createElement("link"),m2(Z,"link",z),J1(Z),H.head.appendChild(Z)))}},m:function(z,Z){G5.m(z,Z);var X=J8;if(X&&z){var H=Z&&typeof Z.as==="string"?Z.as:"script",$='link[rel="modulepreload"][as="'+y0(H)+'"][href="'+y0(z)+'"]',Y=$;switch(H){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":Y=C6(z)}if(!l0.has(Y)&&(z=b1({rel:"modulepreload",href:z},Z),l0.set(Y,z),X.querySelector($)===null)){switch(H){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(X.querySelector(s8(Y)))return}H=X.createElement("link"),m2(H,"link",z),J1(H),X.head.appendChild(H)}}},X:function(z,Z){G5.X(z,Z);var X=J8;if(X&&z){var H=D1(X).hoistableScripts,$=C6(z),Y=H.get($);Y||(Y=X.querySelector(s8($)),Y||(z=b1({src:z,async:!0},Z),(Z=l0.get($))&&IH(z,Z),Y=X.createElement("script"),J1(Y),m2(Y,"link",z),X.head.appendChild(Y)),Y={type:"script",instance:Y,count:1,state:null},H.set($,Y))}},S:function(z,Z,X){G5.S(z,Z,X);var H=J8;if(H&&z){var $=D1(H).hoistableStyles,Y=N6(z);Z=Z||"default";var M=$.get(Y);if(!M){var J={loading:t3,preload:null};if(M=H.querySelector(n8(Y)))J.loading=d7|c0;else{z=b1({rel:"stylesheet",href:z,"data-precedence":Z},X),(X=l0.get(Y))&&PH(z,X);var Q=M=H.createElement("link");J1(Q),m2(Q,"link",z),Q._p=new Promise(function(G,A){Q.onload=G,Q.onerror=A}),Q.addEventListener("load",function(){J.loading|=d7}),Q.addEventListener("error",function(){J.loading|=hU}),J.loading|=c0,Hz(M,Z,H)}M={type:"stylesheet",instance:M,count:1,state:J},$.set(Y,M)}}},M:function(z,Z){G5.M(z,Z);var X=J8;if(X&&z){var H=D1(X).hoistableScripts,$=C6(z),Y=H.get($);Y||(Y=X.querySelector(s8($)),Y||(z=b1({src:z,async:!0,type:"module"},Z),(Z=l0.get($))&&IH(z,Z),Y=X.createElement("script"),J1(Y),m2(Y,"link",z),X.head.appendChild(Y)),Y={type:"script",instance:Y,count:1,state:null},H.set($,Y))}}};var J8=typeof document>"u"?null:document,QZ=null,ZR=60000,XR=800,HR=500,e$=0,zY=null,GZ=null,e3=FW,c7={$$typeof:w4,Provider:null,Consumer:null,_currentValue:e3,_currentValue2:e3,_threadCount:0},mU="%c%s%c",DU="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",EU="",UZ=" ",$R=Function.prototype.bind,xU=!1,uU=null,dU=null,cU=null,lU=null,pU=null,aU=null,iU=null,nU=null,sU=null,rU=null;uU=function(z,Z,X,H){Z=U(z,Z),Z!==null&&(X=L(Z.memoizedState,X,0,H),Z.memoizedState=X,Z.baseState=X,z.memoizedProps=b1({},z.memoizedProps),X=d2(z,2),X!==null&&G2(X,z,2))},dU=function(z,Z,X){Z=U(z,Z),Z!==null&&(X=v(Z.memoizedState,X,0),Z.memoizedState=X,Z.baseState=X,z.memoizedProps=b1({},z.memoizedProps),X=d2(z,2),X!==null&&G2(X,z,2))},cU=function(z,Z,X,H){Z=U(z,Z),Z!==null&&(X=O(Z.memoizedState,X,H),Z.memoizedState=X,Z.baseState=X,z.memoizedProps=b1({},z.memoizedProps),X=d2(z,2),X!==null&&G2(X,z,2))},lU=function(z,Z,X){z.pendingProps=L(z.memoizedProps,Z,0,X),z.alternate&&(z.alternate.pendingProps=z.pendingProps),Z=d2(z,2),Z!==null&&G2(Z,z,2)},pU=function(z,Z){z.pendingProps=v(z.memoizedProps,Z,0),z.alternate&&(z.alternate.pendingProps=z.pendingProps),Z=d2(z,2),Z!==null&&G2(Z,z,2)},aU=function(z,Z,X){z.pendingProps=O(z.memoizedProps,Z,X),z.alternate&&(z.alternate.pendingProps=z.pendingProps),Z=d2(z,2),Z!==null&&G2(Z,z,2)},iU=function(z){var Z=d2(z,2);Z!==null&&G2(Z,z,2)},nU=function(z){var Z=M6(),X=d2(z,Z);X!==null&&G2(X,z,Z)},sU=function(z){b=z},rU=function(z){k=z};var qZ=!0,LZ=null,ZY=!1,Z3=null,X3=null,H3=null,l7=new Map,p7=new Map,$3=[],YR="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(" "),WZ=null;if(Jz.prototype.render=wH.prototype.render=function(z){var Z=this._internalRoot;if(Z===null)throw Error("Cannot update an unmounted root.");var X=arguments;typeof X[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()."):n(X[1])?console.error("You passed a container to the second argument of root.render(...). You don't need to pass it again since you already passed it to create the root."):typeof X[1]<"u"&&console.error("You passed a second argument to root.render(...) but it only accepts one argument."),X=z;var H=Z.current,$=A0(H);OH(H,$,X,Z,null,null)},Jz.prototype.unmount=wH.prototype.unmount=function(){var z=arguments;if(typeof z[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()."),z=this._internalRoot,z!==null){this._internalRoot=null;var Z=z.containerInfo;(m1&(v2|w0))!==f2&&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."),OH(z.current,2,null,z,null,null),P6(),Z[h5]=null}},Jz.prototype.unstable_scheduleHydration=function(z){if(z){var Z=T();z={blockedOn:null,target:z,priority:Z};for(var X=0;X<$3.length&&Z!==0&&Z<$3[X].priority;X++);$3.splice(X,0,z),X===0&&MQ(z)}},function(){var z=G8.version;if(z!=="19.2.7")throw Error(`Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:
|
|
224
|
+
- react: `+(z+`
|
|
225
|
+
- react-dom: 19.2.7
|
|
226
|
+
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"),u1.findDOMNode=function(z){var Z=z._reactInternals;if(Z===void 0){if(typeof z.render==="function")throw Error("Unable to find node on an unmounted component.");throw z=Object.keys(z).join(","),Error("Argument appears to not be a ReactComponent. Keys: "+z)}return z=R1(Z),z=z!==null?o(z):null,z=z===null?null:z.stateNode,z},!function(){var z={bundleType:1,version:"19.2.7",rendererPackageName:"react-dom",currentDispatcherRef:g,reconcilerVersion:"19.2.7"};return z.overrideHookState=uU,z.overrideHookStateDeletePath=dU,z.overrideHookStateRenamePath=cU,z.overrideProps=lU,z.overridePropsDeletePath=pU,z.overridePropsRenamePath=aU,z.scheduleUpdate=iU,z.scheduleRetry=nU,z.setErrorHandler=sU,z.setSuspenseHandler=rU,z.scheduleRefresh=D,z.scheduleRoot=f,z.setRefreshHandler=m,z.getCurrentFiber=GW,Y6(z)}()&&g4&&window.top===window.self&&(-1<navigator.userAgent.indexOf("Chrome")&&navigator.userAgent.indexOf("Edge")===-1||-1<navigator.userAgent.indexOf("Firefox"))){var oU=window.location.protocol;/^(https?|file):$/.test(oU)&&console.info("%cDownload the React DevTools for a better development experience: https://react.dev/link/react-devtools"+(oU==="file:"?`
|
|
227
|
+
You might need to use a local HTTP server (instead of file://): https://react.dev/link/react-devtools-faq`:""),"font-weight:bold")}FR.createRoot=function(z,Z){if(!n(z))throw Error("Target container is not a DOM element.");GQ(z);var X=!1,H="",$=BB,Y=JB,M=QB;return Z!==null&&Z!==void 0&&(Z.hydrate?console.warn("hydrate through createRoot is deprecated. Use ReactDOMClient.hydrateRoot(container, <App />) instead."):typeof Z==="object"&&Z!==null&&Z.$$typeof===v4&&console.error(`You passed a JSX element to createRoot. You probably meant to call root.render instead. Example usage:
|
|
228
|
+
|
|
229
|
+
let root = createRoot(domContainer);
|
|
230
|
+
root.render(<App />);`),Z.unstable_strictMode===!0&&(X=!0),Z.identifierPrefix!==void 0&&(H=Z.identifierPrefix),Z.onUncaughtError!==void 0&&($=Z.onUncaughtError),Z.onCaughtError!==void 0&&(Y=Z.onCaughtError),Z.onRecoverableError!==void 0&&(M=Z.onRecoverableError)),Z=eJ(z,1,!1,null,null,X,H,null,$,Y,M,QQ),z[h5]=Z.current,JH(z),new wH(Z)},FR.hydrateRoot=function(z,Z,X){if(!n(z))throw Error("Target container is not a DOM element.");GQ(z),Z===void 0&&console.error("Must provide initial children as second argument to hydrateRoot. Example usage: hydrateRoot(domContainer, <App />)");var H=!1,$="",Y=BB,M=JB,J=QB,Q=null;return X!==null&&X!==void 0&&(X.unstable_strictMode===!0&&(H=!0),X.identifierPrefix!==void 0&&($=X.identifierPrefix),X.onUncaughtError!==void 0&&(Y=X.onUncaughtError),X.onCaughtError!==void 0&&(M=X.onCaughtError),X.onRecoverableError!==void 0&&(J=X.onRecoverableError),X.formState!==void 0&&(Q=X.formState)),Z=eJ(z,1,!0,Z,X!=null?X:null,H,$,Q,Y,M,J,QQ),Z.context=zQ(null),X=Z.current,H=A0(X),H=K3(H),$=N5(H),$.callback=null,C5(X,$,H),L4(H,"hydrateRoot()",null),X=H,Z.current.lanes=X,R5(Z,X),C4(Z),z[h5]=Z.current,JH(z),new Jz(Z)},FR.version="19.2.7",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()});var Yq=z6((bF,$q)=>{var AR=J0(Hq());$q.exports=AR});var a7=z6((PR)=>{var X6=J0(Q8());(function(){function U(E){if(E==null)return null;if(typeof E==="function")return E.$$typeof===h?null:E.displayName||E.name||null;if(typeof E==="string")return E;switch(E){case m:return"Fragment";case p:return"Profiler";case n:return"StrictMode";case R1:return"Suspense";case o:return"SuspenseList";case i: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 D:return"Portal";case $1:return E.displayName||"Context";case r:return(E._context.displayName||"Context")+".Consumer";case I1:var _1=E.render;return E=E.displayName,E||(E=_1.displayName||_1.name||"",E=E!==""?"ForwardRef("+E+")":"ForwardRef"),E;case a:return _1=E.displayName||null,_1!==null?_1:U(E.type)||"Memo";case x:_1=E._payload,E=E._init;try{return U(E(_1))}catch(l1){}}return null}function L(E){return""+E}function O(E){try{L(E);var _1=!1}catch(n1){_1=!0}if(_1){_1=console;var l1=_1.error,p1=typeof Symbol==="function"&&Symbol.toStringTag&&E[Symbol.toStringTag]||E.constructor.name||"Object";return l1.call(_1,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",p1),L(E)}}function N(E){if(E===m)return"<>";if(typeof E==="object"&&E!==null&&E.$$typeof===x)return"<...>";try{var _1=U(E);return _1?"<"+_1+">":"<...>"}catch(l1){return"<...>"}}function v(){var E=w1.A;return E===null?null:E.getOwner()}function k(){return Error("react-stack-top-frame")}function b(E){if(P1.call(E,"key")){var _1=Object.getOwnPropertyDescriptor(E,"key").get;if(_1&&_1.isReactWarning)return!1}return E.key!==void 0}function C(E,_1){function l1(){z1||(z1=!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)",_1))}l1.isReactWarning=!0,Object.defineProperty(E,"key",{get:l1,configurable:!0})}function V(){var E=U(this.type);return q1[E]||(q1[E]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),E=this.props.ref,E!==void 0?E:null}function d(E,_1,l1,p1,n1,J4){var Q2=l1.ref;return E={$$typeof:f,type:E,key:_1,props:l1,_owner:p1},(Q2!==void 0?Q2:null)!==null?Object.defineProperty(E,"ref",{enumerable:!1,get:V}):Object.defineProperty(E,"ref",{enumerable:!1,value:null}),E._store={},Object.defineProperty(E._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(E,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(E,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:n1}),Object.defineProperty(E,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:J4}),Object.freeze&&(Object.freeze(E.props),Object.freeze(E)),E}function P(E,_1,l1,p1,n1,J4){var Q2=_1.children;if(Q2!==void 0)if(p1)if(f1(Q2)){for(p1=0;p1<Q2.length;p1++)_(Q2[p1]);Object.freeze&&Object.freeze(Q2)}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 _(Q2);if(P1.call(_1,"key")){Q2=U(E);var U0=Object.keys(_1).filter(function(E4){return E4!=="key"});p1=0<U0.length?"{key: someKey, "+U0.join(": ..., ")+": ...}":"{key: someKey}",c1[Q2+p1]||(U0=0<U0.length?"{"+U0.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
|
|
231
|
+
let props = %s;
|
|
232
|
+
<%s {...props} />
|
|
233
|
+
React keys must be passed directly to JSX without using spread:
|
|
234
|
+
let props = %s;
|
|
235
|
+
<%s key={someKey} {...props} />`,p1,Q2,U0,Q2),c1[Q2+p1]=!0)}if(Q2=null,l1!==void 0&&(O(l1),Q2=""+l1),b(_1)&&(O(_1.key),Q2=""+_1.key),"key"in _1){l1={};for(var k0 in _1)k0!=="key"&&(l1[k0]=_1[k0])}else l1=_1;return Q2&&C(l1,typeof E==="function"?E.displayName||E.name||"Unknown":E),d(E,Q2,l1,v(),n1,J4)}function _(E){w(E)?E._store&&(E._store.validated=1):typeof E==="object"&&E!==null&&E.$$typeof===x&&(E._payload.status==="fulfilled"?w(E._payload.value)&&E._payload.value._store&&(E._payload.value._store.validated=1):E._store&&(E._store.validated=1))}function w(E){return typeof E==="object"&&E!==null&&E.$$typeof===f}var f=Symbol.for("react.transitional.element"),D=Symbol.for("react.portal"),m=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),p=Symbol.for("react.profiler"),r=Symbol.for("react.consumer"),$1=Symbol.for("react.context"),I1=Symbol.for("react.forward_ref"),R1=Symbol.for("react.suspense"),o=Symbol.for("react.suspense_list"),a=Symbol.for("react.memo"),x=Symbol.for("react.lazy"),i=Symbol.for("react.activity"),h=Symbol.for("react.client.reference"),w1=X6.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,P1=Object.prototype.hasOwnProperty,f1=Array.isArray,h2=console.createTask?console.createTask:function(){return null};X6={react_stack_bottom_frame:function(E){return E()}};var z1,q1={},G1=X6.react_stack_bottom_frame.bind(X6,k)(),d1=h2(N(k)),c1={};PR.Fragment=m,PR.jsxDEV=function(E,_1,l1,p1){var n1=1e4>w1.recentlyCreatedOwnerStacks++;return P(E,_1,l1,p1,n1?Error("react-stack-top-frame"):G1,n1?h2(N(E)):d1)}})()});var u=J0(Q8(),1),Cq=J0(Yq(),1);var w2=J0(Q8(),1);var Mq={x:{title:"X",fill:"currentColor",d:"M18.901 1.153h3.68l-8.04 9.19L24 22.846h-7.406l-5.8-7.584-6.638 7.584H.474l8.6-9.83L0 1.154h7.594l5.243 6.932ZM17.61 20.644h2.039L6.486 3.24H4.298Z"},youtube:{title:"YouTube",fill:"#FF0000",d:"M23.498 6.186a3.016 3.016 0 0 0-2.122-2.136C19.505 3.545 12 3.545 12 3.545s-7.505 0-9.377.505A3.017 3.017 0 0 0 .502 6.186C0 8.07 0 12 0 12s0 3.93.502 5.814a3.016 3.016 0 0 0 2.122 2.136c1.871.505 9.376.505 9.376.505s7.505 0 9.377-.505a3.015 3.015 0 0 0 2.122-2.136C24 15.93 24 12 24 12s0-3.93-.502-5.814zM9.545 15.568V8.432L15.818 12l-6.273 3.568z"},tiktok:{title:"TikTok",fill:"currentColor",d:"M12.525.02c1.31-.02 2.61-.01 3.91-.02.08 1.53.63 3.09 1.75 4.17 1.12 1.11 2.7 1.62 4.24 1.79v4.03c-1.44-.05-2.89-.35-4.2-.97-.57-.26-1.1-.59-1.62-.93-.01 2.92.01 5.84-.02 8.75-.08 1.4-.54 2.79-1.35 3.94-1.31 1.92-3.58 3.17-5.91 3.21-1.43.08-2.86-.31-4.08-1.03-2.02-1.19-3.44-3.37-3.65-5.71-.02-.5-.03-1-.01-1.49.18-1.9 1.12-3.72 2.58-4.96 1.66-1.44 3.98-2.13 6.15-1.72.02 1.48-.04 2.96-.04 4.44-.99-.32-2.15-.23-3.02.37-.63.41-1.11 1.04-1.36 1.75-.21.51-.15 1.07-.14 1.61.24 1.64 1.82 3.02 3.5 2.87 1.12-.01 2.19-.66 2.77-1.61.19-.33.4-.67.41-1.06.1-1.79.06-3.57.07-5.36.01-4.03-.01-8.05.02-12.07z"},discord:{title:"Discord",fill:"#5865F2",d:"M20.317 4.3698a19.7913 19.7913 0 00-4.8851-1.5152.0741.0741 0 00-.0785.0371c-.211.3753-.4447.8648-.6083 1.2495-1.8447-.2762-3.68-.2762-5.4868 0-.1636-.3933-.4058-.8742-.6177-1.2495a.077.077 0 00-.0785-.037 19.7363 19.7363 0 00-4.8852 1.515.0699.0699 0 00-.0321.0277C.5334 9.0458-.319 13.5799.0992 18.0578a.0824.0824 0 00.0312.0561c2.0528 1.5076 4.0413 2.4228 5.9929 3.0294a.0777.0777 0 00.0842-.0276c.4616-.6304.8731-1.2952 1.226-1.9942a.076.076 0 00-.0416-.1057c-.6528-.2476-1.2743-.5495-1.8722-.8923a.077.077 0 01-.0076-.1277c.1258-.0943.2517-.1923.3718-.2914a.0743.0743 0 01.0776-.0105c3.9278 1.7933 8.18 1.7933 12.0614 0a.0739.0739 0 01.0785.0095c.1202.099.246.1981.3728.2924a.077.077 0 01-.0066.1276 12.2986 12.2986 0 01-1.873.8914.0766.0766 0 00-.0407.1067c.3604.698.7719 1.3628 1.225 1.9932a.076.076 0 00.0842.0286c1.961-.6067 3.9495-1.5219 6.0023-3.0294a.077.077 0 00.0313-.0552c.5004-5.177-.8382-9.6739-3.5485-13.6604a.061.061 0 00-.0312-.0286zM8.02 15.3312c-1.1825 0-2.1569-1.0857-2.1569-2.419 0-1.3332.9555-2.4189 2.157-2.4189 1.2108 0 2.1757 1.0952 2.1568 2.419 0 1.3332-.9555 2.4189-2.1569 2.4189zm7.9748 0c-1.1825 0-2.1569-1.0857-2.1569-2.419 0-1.3332.9554-2.4189 2.1569-2.4189 1.2108 0 2.1757 1.0952 2.1568 2.419 0 1.3332-.946 2.4189-2.1568 2.4189Z"},resend:{title:"Resend",fill:"currentColor",d:"M2.023 0v24h5.553v-8.434h2.998L15.326 24h6.65l-5.372-9.258a7.652 7.652 0 0 0 3.316-3.016c.709-1.21 1.062-2.57 1.062-4.08 0-1.462-.353-2.767-1.062-3.91-.709-1.165-1.692-2.079-2.95-2.742C15.737.331 14.355 0 12.823 0Zm5.553 4.87h4.219c.731 0 1.349.125 1.851.376.526.252.925.618 1.2 1.098.274.457.412.994.412 1.611S15.132 9.12 14.88 9.6c-.229.48-.572.856-1.03 1.13-.434.252-.948.38-1.542.38H7.576Z"},linkedin:{title:"LinkedIn",fill:"#0A66C2",d:"M20.447 20.452h-3.554v-5.569c0-1.328-.027-3.037-1.852-3.037-1.853 0-2.136 1.445-2.136 2.939v5.667H9.351V9h3.414v1.561h.046c.477-.9 1.637-1.85 3.37-1.85 3.601 0 4.267 2.37 4.267 5.455v6.286zM5.337 7.433c-1.144 0-2.063-.926-2.063-2.065 0-1.138.92-2.063 2.063-2.063 1.14 0 2.064.925 2.064 2.063 0 1.139-.925 2.065-2.064 2.065zm1.782 13.019H3.555V9h3.564v11.452zM22.225 0H1.771C.792 0 0 .774 0 1.729v20.542C0 23.227.792 24 1.771 24h20.451C23.2 24 24 23.227 24 22.271V1.729C24 .774 23.2 0 22.222 0h.003z"},reddit:{title:"Reddit",fill:"#FF4500",d:"M12 0C5.373 0 0 5.373 0 12c0 3.314 1.343 6.314 3.515 8.485l-2.286 2.286C.775 23.225 1.097 24 1.738 24H12c6.627 0 12-5.373 12-12S18.627 0 12 0Zm4.388 3.199c1.104 0 1.999.895 1.999 1.999 0 1.105-.895 2-1.999 2-.946 0-1.739-.657-1.947-1.539v.002c-1.147.162-2.032 1.15-2.032 2.341v.007c1.776.067 3.4.567 4.686 1.363.473-.363 1.064-.58 1.707-.58 1.547 0 2.802 1.254 2.802 2.802 0 1.117-.655 2.081-1.601 2.531-.088 3.256-3.637 5.876-7.997 5.876-4.361 0-7.905-2.617-7.998-5.87-.954-.447-1.614-1.415-1.614-2.538 0-1.548 1.255-2.802 2.803-2.802.645 0 1.239.218 1.712.585 1.275-.79 2.881-1.291 4.64-1.365v-.01c0-1.663 1.263-3.034 2.88-3.207.188-.911.993-1.595 1.959-1.595Zm-8.085 8.376c-.784 0-1.459.78-1.506 1.797-.047 1.016.64 1.429 1.426 1.429.786 0 1.371-.369 1.418-1.385.047-1.017-.553-1.841-1.338-1.841Zm7.406 0c-.786 0-1.385.824-1.338 1.841.047 1.017.634 1.385 1.418 1.385.785 0 1.473-.413 1.426-1.429-.046-1.017-.721-1.797-1.506-1.797Zm-3.703 4.013c-.974 0-1.907.048-2.77.135-.147.015-.241.168-.183.305.483 1.154 1.622 1.964 2.953 1.964 1.33 0 2.47-.81 2.953-1.964.057-.137-.037-.29-.184-.305-.863-.087-1.795-.135-2.769-.135Z"},bluesky:{title:"Bluesky",fill:"#0285FF",d:"M12 10.8c-1.087-2.114-4.046-6.053-6.798-7.995C2.566.944 1.561 1.266.902 1.565.139 1.908 0 3.08 0 3.768c0 .69.378 5.65.624 6.479.815 2.736 3.713 3.66 6.383 3.364.136-.02.275-.039.415-.056-.138.022-.276.04-.415.056-3.912.58-7.387 2.005-2.83 7.078 5.013 5.19 6.87-1.113 7.823-4.308.953 3.195 2.05 9.271 7.733 4.308 4.267-4.308 1.172-6.498-2.74-7.078a8.741 8.741 0 0 1-.415-.056c.14.017.279.036.415.056 2.67.297 5.568-.628 6.383-3.364.246-.828.624-5.79.624-6.478 0-.69-.139-1.861-.902-2.206-.659-.298-1.664-.62-4.3 1.24C16.046 4.748 13.087 8.687 12 10.8Z"},instagram:{title:"Instagram",fill:"#FF0069",d:"M7.0301.084c-1.2768.0602-2.1487.264-2.911.5634-.7888.3075-1.4575.72-2.1228 1.3877-.6652.6677-1.075 1.3368-1.3802 2.127-.2954.7638-.4956 1.6365-.552 2.914-.0564 1.2775-.0689 1.6882-.0626 4.947.0062 3.2586.0206 3.6671.0825 4.9473.061 1.2765.264 2.1482.5635 2.9107.308.7889.72 1.4573 1.388 2.1228.6679.6655 1.3365 1.0743 2.1285 1.38.7632.295 1.6361.4961 2.9134.552 1.2773.056 1.6884.069 4.9462.0627 3.2578-.0062 3.668-.0207 4.9478-.0814 1.28-.0607 2.147-.2652 2.9098-.5633.7889-.3086 1.4578-.72 2.1228-1.3881.665-.6682 1.0745-1.3378 1.3795-2.1284.2957-.7632.4966-1.636.552-2.9124.056-1.2809.0692-1.6898.063-4.948-.0063-3.2583-.021-3.6668-.0817-4.9465-.0607-1.2797-.264-2.1487-.5633-2.9117-.3084-.7889-.72-1.4568-1.3876-2.1228C21.2982 1.33 20.628.9208 19.8378.6165 19.074.321 18.2017.1197 16.9244.0645 15.6471.0093 15.236-.005 11.977.0014 8.718.0076 8.31.0215 7.0301.0839m.1402 21.6932c-1.17-.0509-1.8053-.2453-2.2287-.408-.5606-.216-.96-.4771-1.3819-.895-.422-.4178-.6811-.8186-.9-1.378-.1644-.4234-.3624-1.058-.4171-2.228-.0595-1.2645-.072-1.6442-.079-4.848-.007-3.2037.0053-3.583.0607-4.848.05-1.169.2456-1.805.408-2.2282.216-.5613.4762-.96.895-1.3816.4188-.4217.8184-.6814 1.3783-.9003.423-.1651 1.0575-.3614 2.227-.4171 1.2655-.06 1.6447-.072 4.848-.079 3.2033-.007 3.5835.005 4.8495.0608 1.169.0508 1.8053.2445 2.228.408.5608.216.96.4754 1.3816.895.4217.4194.6816.8176.9005 1.3787.1653.4217.3617 1.056.4169 2.2263.0602 1.2655.0739 1.645.0796 4.848.0058 3.203-.0055 3.5834-.061 4.848-.051 1.17-.245 1.8055-.408 2.2294-.216.5604-.4763.96-.8954 1.3814-.419.4215-.8181.6811-1.3783.9-.4224.1649-1.0577.3617-2.2262.4174-1.2656.0595-1.6448.072-4.8493.079-3.2045.007-3.5825-.006-4.848-.0608M16.953 5.5864A1.44 1.44 0 1 0 18.39 4.144a1.44 1.44 0 0 0-1.437 1.4424M5.8385 12.012c.0067 3.4032 2.7706 6.1557 6.173 6.1493 3.4026-.0065 6.157-2.7701 6.1506-6.1733-.0065-3.4032-2.771-6.1565-6.174-6.1498-3.403.0067-6.156 2.771-6.1496 6.1738M8 12.0077a4 4 0 1 1 4.008 3.9921A3.9996 3.9996 0 0 1 8 12.0077"},github:{title:"GitHub",fill:"currentColor",d:"M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12"},stripe:{title:"Stripe",fill:"#635BFF",d:"M13.976 9.15c-2.172-.806-3.356-1.426-3.356-2.409 0-.831.683-1.305 1.901-1.305 2.227 0 4.515.858 6.09 1.631l.89-5.494C18.252.975 15.697 0 12.165 0 9.667 0 7.589.654 6.104 1.872 4.56 3.147 3.757 4.992 3.757 7.218c0 4.039 2.467 5.76 6.476 7.219 2.585.92 3.445 1.574 3.445 2.583 0 .98-.84 1.545-2.354 1.545-1.875 0-4.965-.921-6.99-2.109l-.9 5.555C5.175 22.99 8.385 24 11.714 24c2.641 0 4.843-.624 6.328-1.813 1.664-1.305 2.525-3.236 2.525-5.732 0-4.128-2.524-5.851-6.594-7.305h.003z"},slack:{title:"Slack",fill:"#4A154B",d:"M5.042 15.165a2.528 2.528 0 0 1-2.52 2.523A2.528 2.528 0 0 1 0 15.165a2.527 2.527 0 0 1 2.522-2.52h2.52v2.52zM6.313 15.165a2.527 2.527 0 0 1 2.521-2.52 2.527 2.527 0 0 1 2.521 2.52v6.313A2.528 2.528 0 0 1 8.834 24a2.528 2.528 0 0 1-2.521-2.522v-6.313zM8.834 5.042a2.528 2.528 0 0 1-2.521-2.52A2.528 2.528 0 0 1 8.834 0a2.528 2.528 0 0 1 2.521 2.522v2.52H8.834zM8.834 6.313a2.528 2.528 0 0 1 2.521 2.521 2.528 2.528 0 0 1-2.521 2.521H2.522A2.528 2.528 0 0 1 0 8.834a2.528 2.528 0 0 1 2.522-2.521h6.312zM18.956 8.834a2.528 2.528 0 0 1 2.522-2.521A2.528 2.528 0 0 1 24 8.834a2.528 2.528 0 0 1-2.522 2.521h-2.522V8.834zM17.688 8.834a2.528 2.528 0 0 1-2.523 2.521 2.527 2.527 0 0 1-2.52-2.521V2.522A2.527 2.527 0 0 1 15.165 0a2.528 2.528 0 0 1 2.523 2.522v6.312zM15.165 18.956a2.528 2.528 0 0 1 2.523 2.522A2.528 2.528 0 0 1 15.165 24a2.527 2.527 0 0 1-2.52-2.522v-2.522h2.52zM15.165 17.688a2.527 2.527 0 0 1-2.52-2.523 2.526 2.526 0 0 1 2.52-2.52h6.313A2.527 2.527 0 0 1 24 15.165a2.528 2.528 0 0 1-2.522 2.523h-6.313z"},openai:{title:"OpenAI",fill:"#412991",d:"M22.2819 9.8211a5.9847 5.9847 0 0 0-.5157-4.9108 6.0462 6.0462 0 0 0-6.5098-2.9A6.0651 6.0651 0 0 0 4.9807 4.1818a5.9847 5.9847 0 0 0-3.9977 2.9 6.0462 6.0462 0 0 0 .7427 7.0966 5.98 5.98 0 0 0 .511 4.9107 6.051 6.051 0 0 0 6.5146 2.9001A5.9847 5.9847 0 0 0 13.2599 24a6.0557 6.0557 0 0 0 5.7718-4.2058 5.9894 5.9894 0 0 0 3.9977-2.9001 6.0557 6.0557 0 0 0-.7475-7.0729zm-9.022 12.6081a4.4755 4.4755 0 0 1-2.8764-1.0408l.1419-.0804 4.7783-2.7582a.7948.7948 0 0 0 .3927-.6813v-6.7369l2.02 1.1686a.071.071 0 0 1 .038.052v5.5826a4.504 4.504 0 0 1-4.4945 4.4944zm-9.6607-4.1254a4.4708 4.4708 0 0 1-.5346-3.0137l.142.0852 4.783 2.7582a.7712.7712 0 0 0 .7806 0l5.8428-3.3685v2.3324a.0804.0804 0 0 1-.0332.0615L9.74 19.9502a4.4992 4.4992 0 0 1-6.1408-1.6464zM2.3408 7.8956a4.485 4.485 0 0 1 2.3655-1.9728V11.6a.7664.7664 0 0 0 .3879.6765l5.8144 3.3543-2.0201 1.1685a.0757.0757 0 0 1-.071 0l-4.8303-2.7865A4.504 4.504 0 0 1 2.3408 7.872zm16.5963 3.8558L13.1038 8.364 15.1192 7.2a.0757.0757 0 0 1 .071 0l4.8303 2.7913a4.4944 4.4944 0 0 1-.6765 8.1042v-5.6772a.79.79 0 0 0-.407-.667zm2.0107-3.0231l-.142-.0852-4.7735-2.7818a.7759.7759 0 0 0-.7854 0L9.409 9.2297V6.8974a.0662.0662 0 0 1 .0284-.0615l4.8303-2.7866a4.4992 4.4992 0 0 1 6.6802 4.66zM8.3065 12.863l-2.02-1.1638a.0804.0804 0 0 1-.038-.0567V6.0742a4.4992 4.4992 0 0 1 7.3757-3.4537l-.142.0805L8.704 5.459a.7948.7948 0 0 0-.3927.6813zm1.0976-2.3654l2.602-1.4998 2.6069 1.4998v2.9994l-2.5974 1.4997-2.6067-1.4997Z"},anthropic:{title:"Anthropic",fill:"currentColor",d:"M17.3041 3.541h-3.6718l6.696 16.918H24Zm-10.6082 0L0 20.459h3.7442l1.3693-3.5527h7.0052l1.3693 3.5528h3.7442L10.5363 3.5409Zm-.3712 10.2232 2.2914-5.9456 2.2914 5.9456Z"},twilio:{title:"Twilio",fill:"#F22F46",d:"M12 0C5.381-.008.008 5.352 0 11.971V12c0 6.64 5.359 12 12 12 6.64 0 12-5.36 12-12 0-6.641-5.36-12-12-12zm0 20.801c-4.846.015-8.786-3.904-8.801-8.75V12c-.014-4.846 3.904-8.786 8.75-8.801H12c4.847-.014 8.786 3.904 8.801 8.75V12c.015 4.847-3.904 8.786-8.75 8.801H12zm5.44-11.76c0 1.359-1.12 2.479-2.481 2.479-1.366-.007-2.472-1.113-2.479-2.479 0-1.361 1.12-2.481 2.479-2.481 1.361 0 2.481 1.12 2.481 2.481zm0 5.919c0 1.36-1.12 2.48-2.481 2.48-1.367-.008-2.473-1.114-2.479-2.48 0-1.359 1.12-2.479 2.479-2.479 1.361-.001 2.481 1.12 2.481 2.479zm-5.919 0c0 1.36-1.12 2.48-2.479 2.48-1.368-.007-2.475-1.113-2.481-2.48 0-1.359 1.12-2.479 2.481-2.479 1.358-.001 2.479 1.12 2.479 2.479zm0-5.919c0 1.359-1.12 2.479-2.479 2.479-1.367-.007-2.475-1.112-2.481-2.479 0-1.361 1.12-2.481 2.481-2.481 1.358 0 2.479 1.12 2.479 2.481z"},sendgrid:{title:"SendGrid",fill:"#51A9E3",d:"M.8 24h13.6c.88 0 1.6-.72 1.6-1.6v-4.8c0-.88-.72-1.6-1.6-1.6H9.6c-.88 0-1.6-.72-1.6-1.6V9.6C8 8.72 7.28 8 6.4 8H1.6C.72 8 0 8.72 0 9.6v13.6c0 .44.36.8.8.8zM23.2 0H9.6C8.72 0 8 .72 8 1.6v4.8C8 7.28 8.72 8 9.6 8h4.8c.88 0 1.6.72 1.6 1.6v4.8c0 .88.72 1.6 1.6 1.6h4.8c.88 0 1.6-.72 1.6-1.6V.8c0-.44-.36-.8-.8-.8Z"},mailgun:{title:"Mailgun",fill:"#F06B66",d:"M11.837 0c6.602 0 11.984 5.381 11.984 11.994-.017 2.99-3.264 4.84-5.844 3.331a3.805 3.805 0 0 1-.06-.035l-.055-.033-.022.055c-2.554 4.63-9.162 4.758-11.894.232-2.732-4.527.46-10.313 5.746-10.416a6.868 6.868 0 0 1 7.002 6.866 1.265 1.265 0 0 0 2.52 0c0-5.18-4.197-9.38-9.377-9.387C4.611 2.594.081 10.41 3.683 16.673c3.238 5.632 11.08 6.351 15.289 1.402l1.997 1.686A11.95 11.95 0 0 1 11.837 24C2.6 23.72-2.87 13.543 1.992 5.684A12.006 12.006 0 0 1 11.837 0Zm0 7.745c-3.276-.163-5.5 3.281-4.003 6.2a4.26 4.26 0 0 0 4.014 2.31c3.276-.171 5.137-3.824 3.35-6.575a4.26 4.26 0 0 0-3.36-1.935Zm0 2.53c1.324 0 2.152 1.433 1.49 2.58a1.72 1.72 0 0 1-1.49.86 1.72 1.72 0 1 1 0-3.44Z"},notion:{title:"Notion",fill:"currentColor",d:"M4.459 4.208c.746.606 1.026.56 2.428.466l13.215-.793c.28 0 .047-.28-.046-.326L17.86 1.968c-.42-.326-.981-.7-2.055-.607L3.01 2.295c-.466.046-.56.28-.374.466zm.793 3.08v13.904c0 .747.373 1.027 1.214.98l14.523-.84c.841-.046.935-.56.935-1.167V6.354c0-.606-.233-.933-.748-.887l-15.177.887c-.56.047-.747.327-.747.933zm14.337.745c.093.42 0 .84-.42.888l-.7.14v10.264c-.608.327-1.168.514-1.635.514-.748 0-.935-.234-1.495-.933l-4.577-7.186v6.952L12.21 19s0 .84-1.168.84l-3.222.186c-.093-.186 0-.653.327-.746l.84-.233V9.854L7.822 9.76c-.094-.42.14-1.026.793-1.073l3.456-.233 4.764 7.279v-6.44l-1.215-.139c-.093-.514.28-.887.747-.933zM1.936 1.035l13.31-.98c1.634-.14 2.055-.047 3.082.7l4.249 2.986c.7.513.934.653.934 1.213v16.378c0 1.026-.373 1.634-1.68 1.726l-15.458.934c-.98.047-1.448-.093-1.962-.747l-3.129-4.06c-.56-.747-.793-1.306-.793-1.96V2.667c0-.839.374-1.54 1.447-1.632z"},linear:{title:"Linear",fill:"#5E6AD2",d:"M2.886 4.18A11.982 11.982 0 0 1 11.99 0C18.624 0 24 5.376 24 12.009c0 3.64-1.62 6.903-4.18 9.105L2.887 4.18ZM1.817 5.626l16.556 16.556c-.524.33-1.075.62-1.65.866L.951 7.277c.247-.575.537-1.126.866-1.65ZM.322 9.163l14.515 14.515c-.71.172-1.443.282-2.195.322L0 11.358a12 12 0 0 1 .322-2.195Zm-.17 4.862 9.823 9.824a12.02 12.02 0 0 1-9.824-9.824Z"},jira:{title:"Jira",fill:"#0052CC",d:"M11.571 11.513H0a5.218 5.218 0 0 0 5.232 5.215h2.13v2.057A5.215 5.215 0 0 0 12.575 24V12.518a1.005 1.005 0 0 0-1.005-1.005zm5.723-5.756H5.736a5.215 5.215 0 0 0 5.215 5.214h2.129v2.058a5.218 5.218 0 0 0 5.215 5.214V6.758a1.001 1.001 0 0 0-1.001-1.001zM23.013 0H11.455a5.215 5.215 0 0 0 5.215 5.215h2.129v2.057A5.215 5.215 0 0 0 24 12.483V1.005A1.001 1.001 0 0 0 23.013 0Z"},hubspot:{title:"HubSpot",fill:"#FF7A59",d:"M18.164 7.93V5.084a2.198 2.198 0 001.267-1.978v-.067A2.2 2.2 0 0017.238.845h-.067a2.2 2.2 0 00-2.193 2.193v.067a2.196 2.196 0 001.252 1.973l.013.006v2.852a6.22 6.22 0 00-2.969 1.31l.012-.01-7.828-6.095A2.497 2.497 0 104.3 4.656l-.012.006 7.697 5.991a6.176 6.176 0 00-1.038 3.446c0 1.343.425 2.588 1.147 3.607l-.013-.02-2.342 2.343a1.968 1.968 0 00-.58-.095h-.002a2.033 2.033 0 102.033 2.033 1.978 1.978 0 00-.1-.595l.005.014 2.317-2.317a6.247 6.247 0 104.782-11.134l-.036-.005zm-.964 9.378a3.206 3.206 0 113.215-3.207v.002a3.206 3.206 0 01-3.207 3.207z"},paypal:{title:"PayPal",fill:"#003087",d:"M7.016 19.198h-4.2a.562.562 0 0 1-.555-.65L5.093.584A.692.692 0 0 1 5.776 0h7.222c3.417 0 5.904 2.488 5.846 5.5-.006.25-.027.5-.066.747A6.794 6.794 0 0 1 12.071 12H8.743a.69.69 0 0 0-.682.583l-.325 2.056-.013.083-.692 4.39-.015.087zM19.79 6.142c-.01.087-.01.175-.023.261a7.76 7.76 0 0 1-7.695 6.598H9.007l-.283 1.795-.013.083-.692 4.39-.134.843-.014.088H6.86l-.497 3.15a.562.562 0 0 0 .555.65h3.612c.34 0 .63-.249.683-.585l.952-6.031a.692.692 0 0 1 .683-.584h2.126a6.793 6.793 0 0 0 6.707-5.752c.306-1.95-.466-3.744-1.89-4.906z"},shopify:{title:"Shopify",fill:"#7AB55C",d:"M15.337 23.979l7.216-1.561s-2.604-17.613-2.625-17.73c-.018-.116-.114-.192-.211-.192s-1.929-.136-1.929-.136-1.275-1.274-1.439-1.411c-.045-.037-.075-.057-.121-.074l-.914 21.104h.023zM11.71 11.305s-.81-.424-1.774-.424c-1.447 0-1.504.906-1.504 1.141 0 1.232 3.24 1.715 3.24 4.629 0 2.295-1.44 3.76-3.406 3.76-2.354 0-3.54-1.465-3.54-1.465l.646-2.086s1.245 1.066 2.28 1.066c.675 0 .975-.545.975-.932 0-1.619-2.654-1.694-2.654-4.359-.034-2.237 1.571-4.416 4.827-4.416 1.257 0 1.875.361 1.875.361l-.945 2.715-.02.01zM11.17.83c.136 0 .271.038.405.135-.984.465-2.064 1.639-2.508 3.992-.656.213-1.293.405-1.889.578C7.697 3.75 8.951.84 11.17.84V.83zm1.235 2.949v.135c-.754.232-1.583.484-2.394.736.466-1.777 1.333-2.645 2.085-2.971.193.501.309 1.176.309 2.1zm.539-2.234c.694.074 1.141.867 1.429 1.755-.349.114-.735.231-1.158.366v-.252c0-.752-.096-1.371-.271-1.871v.002zm2.992 1.289c-.02 0-.06.021-.078.021s-.289.075-.714.21c-.423-1.233-1.176-2.37-2.508-2.37h-.115C12.135.209 11.669 0 11.265 0 8.159 0 6.675 3.877 6.21 5.846c-1.194.365-2.063.636-2.16.674-.675.213-.694.232-.772.87-.075.462-1.83 14.063-1.83 14.063L15.009 24l.927-21.166z"},sentry:{title:"Sentry",fill:"#362D59",d:"M13.91 2.505c-.873-1.448-2.972-1.448-3.844 0L6.904 7.92a15.478 15.478 0 0 1 8.53 12.811h-2.221A13.301 13.301 0 0 0 5.784 9.814l-2.926 5.06a7.65 7.65 0 0 1 4.435 5.848H2.194a.365.365 0 0 1-.298-.534l1.413-2.402a5.16 5.16 0 0 0-1.614-.913L.296 19.275a2.182 2.182 0 0 0 .812 2.999 2.24 2.24 0 0 0 1.086.288h6.983a9.322 9.322 0 0 0-3.845-8.318l1.11-1.922a11.47 11.47 0 0 1 4.95 10.24h5.915a17.242 17.242 0 0 0-7.885-15.28l2.244-3.845a.37.37 0 0 1 .504-.13c.255.14 9.75 16.708 9.928 16.9a.365.365 0 0 1-.327.543h-2.287c.029.612.029 1.223 0 1.831h2.297a2.206 2.206 0 0 0 1.922-3.31z"},vercel:{title:"Vercel",fill:"currentColor",d:"M24 22.525H0l12-21.05 12 21.05z"},supabase:{title:"Supabase",fill:"#3FCF8E",d:"M11.9 1.036c-.015-.986-1.26-1.41-1.874-.637L.764 12.05C-.33 13.427.65 15.455 2.409 15.455h9.579l.113 7.51c.014.985 1.259 1.408 1.873.636l9.262-11.653c1.093-1.375.113-3.403-1.645-3.403h-9.642z"},clerk:{title:"Clerk",fill:"#6C47FF",d:"m21.47 20.829-2.881-2.881a.572.572 0 0 0-.7-.084 6.854 6.854 0 0 1-7.081 0 .576.576 0 0 0-.7.084l-2.881 2.881a.576.576 0 0 0-.103.69.57.57 0 0 0 .166.186 12 12 0 0 0 14.113 0 .58.58 0 0 0 .239-.423.576.576 0 0 0-.172-.453Zm.002-17.668-2.88 2.88a.569.569 0 0 1-.701.084A6.857 6.857 0 0 0 8.724 8.08a6.862 6.862 0 0 0-1.222 3.692 6.86 6.86 0 0 0 .978 3.764.573.573 0 0 1-.083.699l-2.881 2.88a.567.567 0 0 1-.864-.063A11.993 11.993 0 0 1 6.771 2.7a11.99 11.99 0 0 1 14.637-.405.566.566 0 0 1 .232.418.57.57 0 0 1-.168.448Zm-7.118 12.261a3.427 3.427 0 1 0 0-6.854 3.427 3.427 0 0 0 0 6.854Z"},aws:{title:"Amazon Web Services",fill:"#232F3E",d:"M6.763 10.036c0 .296.032.535.088.71.064.176.144.368.256.576.04.063.056.127.056.183 0 .08-.048.16-.152.24l-.503.335a.383.383 0 0 1-.208.072c-.08 0-.16-.04-.239-.112a2.47 2.47 0 0 1-.287-.375 6.18 6.18 0 0 1-.248-.471c-.622.734-1.405 1.101-2.347 1.101-.67 0-1.205-.191-1.596-.574-.391-.384-.59-.894-.59-1.533 0-.678.239-1.23.726-1.644.487-.415 1.133-.623 1.955-.623.272 0 .551.024.846.064.296.04.6.104.918.176v-.583c0-.607-.127-1.03-.375-1.277-.255-.248-.686-.367-1.3-.367-.28 0-.568.031-.863.103-.295.072-.583.16-.862.272a2.287 2.287 0 0 1-.28.104.488.488 0 0 1-.127.023c-.112 0-.168-.08-.168-.247v-.391c0-.128.016-.224.056-.28a.597.597 0 0 1 .224-.167c.279-.144.614-.264 1.005-.36a4.84 4.84 0 0 1 1.246-.151c.95 0 1.644.216 2.091.647.439.43.662 1.085.662 1.963v2.586zm-3.24 1.214c.263 0 .534-.048.822-.144.287-.096.543-.271.758-.51.128-.152.224-.32.272-.512.047-.191.08-.423.08-.694v-.335a6.66 6.66 0 0 0-.735-.136 6.02 6.02 0 0 0-.75-.048c-.535 0-.926.104-1.19.32-.263.215-.39.518-.39.917 0 .375.095.655.295.846.191.2.47.296.838.296zm6.41.862c-.144 0-.24-.024-.304-.08-.064-.048-.12-.16-.168-.311L7.586 5.55a1.398 1.398 0 0 1-.072-.32c0-.128.064-.2.191-.2h.783c.151 0 .255.025.31.08.065.048.113.16.16.312l1.342 5.284 1.245-5.284c.04-.16.088-.264.151-.312a.549.549 0 0 1 .32-.08h.638c.152 0 .256.025.32.08.063.048.12.16.151.312l1.261 5.348 1.381-5.348c.048-.16.104-.264.16-.312a.52.52 0 0 1 .311-.08h.743c.127 0 .2.065.2.2 0 .04-.009.08-.017.128a1.137 1.137 0 0 1-.056.2l-1.923 6.17c-.048.16-.104.263-.168.311a.51.51 0 0 1-.303.08h-.687c-.151 0-.255-.024-.32-.08-.063-.056-.119-.16-.15-.32l-1.238-5.148-1.23 5.14c-.04.16-.087.264-.15.32-.065.056-.177.08-.32.08zm10.256.215c-.415 0-.83-.048-1.229-.143-.399-.096-.71-.2-.918-.32-.128-.071-.215-.151-.247-.223a.563.563 0 0 1-.048-.224v-.407c0-.167.064-.247.183-.247.048 0 .096.008.144.024.048.016.12.048.2.08.271.12.566.215.878.279.319.064.63.096.95.096.502 0 .894-.088 1.165-.264a.86.86 0 0 0 .415-.758.777.777 0 0 0-.215-.559c-.144-.151-.416-.287-.807-.415l-1.157-.36c-.583-.183-1.014-.454-1.277-.813a1.902 1.902 0 0 1-.4-1.158c0-.335.073-.63.216-.886.144-.255.335-.479.575-.654.24-.184.51-.32.83-.415.32-.096.655-.136 1.006-.136.175 0 .359.008.535.032.183.024.35.056.518.088.16.04.312.08.455.127.144.048.256.096.336.144a.69.69 0 0 1 .24.2.43.43 0 0 1 .071.263v.375c0 .168-.064.256-.184.256a.83.83 0 0 1-.303-.096 3.652 3.652 0 0 0-1.532-.311c-.455 0-.815.071-1.062.223-.248.152-.375.383-.375.71 0 .224.08.416.24.567.159.152.454.304.877.44l1.134.358c.574.184.99.44 1.237.767.247.327.367.702.367 1.117 0 .343-.072.655-.207.926-.144.272-.336.511-.583.703-.248.2-.543.343-.886.447-.36.111-.734.167-1.142.167zM21.698 16.207c-2.626 1.94-6.442 2.969-9.722 2.969-4.598 0-8.74-1.7-11.87-4.526-.247-.223-.024-.527.272-.351 3.384 1.963 7.559 3.153 11.877 3.153 2.914 0 6.114-.607 9.06-1.852.439-.2.814.287.383.607zM22.792 14.961c-.336-.43-2.22-.207-3.074-.103-.255.032-.295-.192-.063-.36 1.5-1.053 3.967-.75 4.254-.399.287.36-.08 2.826-1.485 4.007-.215.184-.423.088-.327-.151.32-.79 1.03-2.57.695-2.994z"},figma:{title:"Figma",fill:"#F24E1E",d:"M15.852 8.981h-4.588V0h4.588c2.476 0 4.49 2.014 4.49 4.49s-2.014 4.491-4.49 4.491zM12.735 7.51h3.117c1.665 0 3.019-1.355 3.019-3.019s-1.355-3.019-3.019-3.019h-3.117V7.51zm0 1.471H8.148c-2.476 0-4.49-2.014-4.49-4.49S5.672 0 8.148 0h4.588v8.981zm-4.587-7.51c-1.665 0-3.019 1.355-3.019 3.019s1.354 3.02 3.019 3.02h3.117V1.471H8.148zm4.587 15.019H8.148c-2.476 0-4.49-2.014-4.49-4.49s2.014-4.49 4.49-4.49h4.588v8.98zM8.148 8.981c-1.665 0-3.019 1.355-3.019 3.019s1.355 3.019 3.019 3.019h3.117V8.981H8.148zM8.172 24c-2.489 0-4.515-2.014-4.515-4.49s2.014-4.49 4.49-4.49h4.588v4.441c0 2.503-2.047 4.539-4.563 4.539zm-.024-7.51a3.023 3.023 0 0 0-3.019 3.019c0 1.665 1.365 3.019 3.044 3.019 1.705 0 3.093-1.376 3.093-3.068v-2.97H8.148zm7.704 0h-.098c-2.476 0-4.49-2.014-4.49-4.49s2.014-4.49 4.49-4.49h.098c2.476 0 4.49 2.014 4.49 4.49s-2.014 4.49-4.49 4.49zm-.097-7.509c-1.665 0-3.019 1.355-3.019 3.019s1.355 3.019 3.019 3.019h.098c1.665 0 3.019-1.355 3.019-3.019s-1.355-3.019-3.019-3.019h-.098z"},airtable:{title:"Airtable",fill:"#18BFFF",d:"M11.992 1.966c-.434 0-.87.086-1.28.257L1.779 5.917c-.503.208-.49.908.012 1.116l8.982 3.558a3.266 3.266 0 0 0 2.454 0l8.982-3.558c.503-.196.503-.908.012-1.116l-8.957-3.694a3.255 3.255 0 0 0-1.272-.257zM23.4 8.056a.589.589 0 0 0-.222.045l-10.012 3.877a.612.612 0 0 0-.38.564v8.896a.6.6 0 0 0 .821.552L23.62 18.1a.583.583 0 0 0 .38-.551V8.653a.6.6 0 0 0-.6-.596zM.676 8.095a.644.644 0 0 0-.48.19C.086 8.396 0 8.53 0 8.69v8.355c0 .442.515.737.908.54l6.27-3.006.307-.147 2.969-1.436c.466-.22.43-.908-.061-1.092L.883 8.138a.57.57 0 0 0-.207-.044z"},intercom:{title:"Intercom",fill:"#6AFDEF",d:"M21 0H3C1.343 0 0 1.343 0 3v18c0 1.658 1.343 3 3 3h18c1.658 0 3-1.342 3-3V3c0-1.657-1.342-3-3-3zm-5.801 4.399c0-.44.36-.8.802-.8.44 0 .8.36.8.8v10.688c0 .442-.36.801-.8.801-.443 0-.802-.359-.802-.801V4.399zM11.2 3.994c0-.44.357-.799.8-.799s.8.359.8.799v11.602c0 .44-.357.8-.8.8s-.8-.36-.8-.8V3.994zm-4 .405c0-.44.359-.8.799-.8.443 0 .802.36.802.8v10.688c0 .442-.36.801-.802.801-.44 0-.799-.359-.799-.801V4.399zM3.199 6c0-.442.36-.8.802-.8.44 0 .799.358.799.8v7.195c0 .441-.359.8-.799.8-.443 0-.802-.36-.802-.8V6zM20.52 18.202c-.123.105-3.086 2.593-8.52 2.593-5.433 0-8.397-2.486-8.521-2.593-.335-.288-.375-.792-.086-1.128.285-.334.79-.375 1.125-.09.047.041 2.693 2.211 7.481 2.211 4.848 0 7.456-2.186 7.479-2.207.334-.289.839-.25 1.128.086.289.336.25.84-.086 1.128zm.281-5.007c0 .441-.36.8-.801.8-.441 0-.801-.36-.801-.8V6c0-.442.361-.8.801-.8.441 0 .801.357.801.8v7.195z"},posthog:{title:"PostHog",fill:"currentColor",d:"M9.854 14.5 5 9.647.854 5.5A.5.5 0 0 0 0 5.854V8.44a.5.5 0 0 0 .146.353L5 13.647l.147.146L9.854 18.5l.146.147v-.049c.065.03.134.049.207.049h2.586a.5.5 0 0 0 .353-.854L9.854 14.5zm0-5-4-4a.487.487 0 0 0-.409-.144.515.515 0 0 0-.356.21.493.493 0 0 0-.089.288V8.44a.5.5 0 0 0 .147.353l9 9a.5.5 0 0 0 .853-.354v-2.585a.5.5 0 0 0-.146-.354l-5-5zm1-4a.5.5 0 0 0-.854.354V8.44a.5.5 0 0 0 .147.353l4 4a.5.5 0 0 0 .853-.354V9.854a.5.5 0 0 0-.146-.354l-4-4zm12.647 11.515a3.863 3.863 0 0 1-2.232-1.1l-4.708-4.707a.5.5 0 0 0-.854.354v6.585a.5.5 0 0 0 .5.5H23.5a.5.5 0 0 0 .5-.5v-.6c0-.276-.225-.497-.499-.532zm-5.394.032a.8.8 0 1 1 0-1.6.8.8 0 0 1 0 1.6zM.854 15.5a.5.5 0 0 0-.854.354v2.293a.5.5 0 0 0 .5.5h2.293c.222 0 .39-.135.462-.309a.493.493 0 0 0-.109-.545L.854 15.501zM5 14.647.854 10.5a.5.5 0 0 0-.854.353v2.586a.5.5 0 0 0 .146.353L4.854 18.5l.146.147h2.793a.5.5 0 0 0 .353-.854L5 14.647z"},datadog:{title:"Datadog",fill:"#632CA6",d:"M19.57 17.04l-1.997-1.316-1.665 2.782-1.937-.567-1.706 2.604.087.82 9.274-1.71-.538-5.794zm-8.649-2.498l1.488-.204c.241.108.409.15.697.223.45.117.97.23 1.741-.16.18-.088.553-.43.704-.625l6.096-1.106.622 7.527-10.444 1.882zm11.325-2.712l-.602.115L20.488 0 .789 2.285l2.427 19.693 2.306-.334c-.184-.263-.471-.581-.96-.989-.68-.564-.44-1.522-.039-2.127.53-1.022 3.26-2.322 3.106-3.956-.056-.594-.15-1.368-.702-1.898-.02.22.017.432.017.432s-.227-.289-.34-.683c-.112-.15-.2-.199-.319-.4-.085.233-.073.503-.073.503s-.186-.437-.216-.807c-.11.166-.137.48-.137.48s-.241-.69-.186-1.062c-.11-.323-.436-.965-.343-2.424.6.421 1.924.321 2.44-.439.171-.251.288-.939-.086-2.293-.24-.868-.835-2.16-1.066-2.651l-.028.02c.122.395.374 1.223.47 1.625.293 1.218.372 1.642.234 2.204-.116.488-.397.808-1.107 1.165-.71.358-1.653-.514-1.713-.562-.69-.55-1.224-1.447-1.284-1.883-.062-.477.275-.763.445-1.153-.243.07-.514.192-.514.192s.323-.334.722-.624c.165-.109.262-.178.436-.323a9.762 9.762 0 0 0-.456.003s.42-.227.855-.392c-.318-.014-.623-.003-.623-.003s.937-.419 1.678-.727c.509-.208 1.006-.147 1.286.257.367.53.752.817 1.569.996.501-.223.653-.337 1.284-.509.554-.61.99-.688.99-.688s-.216.198-.274.51c.314-.249.66-.455.66-.455s-.134.164-.259.426l.03.043c.366-.22.797-.394.797-.394s-.123.156-.268.358c.277-.002.838.012 1.056.037 1.285.028 1.552-1.374 2.045-1.55.618-.22.894-.353 1.947.68.903.888 1.609 2.477 1.259 2.833-.294.295-.874-.115-1.516-.916a3.466 3.466 0 0 1-.716-1.562 1.533 1.533 0 0 0-.497-.85s.23.51.23.96c0 .246.03 1.165.424 1.68-.039.076-.057.374-.1.43-.458-.554-1.443-.95-1.604-1.067.544.445 1.793 1.468 2.273 2.449.453.927.186 1.777.416 1.997.065.063.976 1.197 1.15 1.767.306.994.019 2.038-.381 2.685l-1.117.174c-.163-.045-.273-.068-.42-.153.08-.143.241-.5.243-.572l-.063-.111c-.348.492-.93.97-1.414 1.245-.633.359-1.363.304-1.838.156-1.348-.415-2.623-1.327-2.93-1.566 0 0-.01.191.048.234.34.383 1.119 1.077 1.872 1.56l-1.605.177.759 5.908c-.337.048-.39.071-.757.124-.325-1.147-.946-1.895-1.624-2.332-.599-.384-1.424-.47-2.214-.314l-.05.059a2.851 2.851 0 0 1 1.863.444c.654.413 1.181 1.481 1.375 2.124.248.822.42 1.7-.248 2.632-.476.662-1.864 1.028-2.986.237.3.481.705.876 1.25.95.809.11 1.577-.03 2.106-.574.452-.464.69-1.434.628-2.456l.714-.104.258 1.834 11.827-1.424zM15.05 6.848c-.034.075-.085.125-.007.37l.004.014.013.032.032.073c.14.287.295.558.552.696.067-.011.136-.019.207-.023.242-.01.395.028.492.08.009-.048.01-.119.005-.222-.018-.364.072-.982-.626-1.308-.264-.122-.634-.084-.757.068a.302.302 0 0 1 .058.013c.186.066.06.13.027.207m1.958 3.392c-.092-.05-.52-.03-.821.005-.574.068-1.193.267-1.328.372-.247.191-.135.523.047.66.511.382.96.638 1.432.575.29-.038.546-.497.728-.914.124-.288.124-.598-.058-.698m-5.077-2.942c.162-.154-.805-.355-1.556.156-.554.378-.571 1.187-.041 1.646.053.046.096.078.137.104a4.77 4.77 0 0 1 1.396-.412c.113-.125.243-.345.21-.745-.044-.542-.455-.456-.146-.749"},algolia:{title:"Algolia",fill:"#003DFF",d:"M12 0C5.445 0 .103 5.285.01 11.817c-.097 6.634 5.285 12.131 11.92 12.17a11.91 11.91 0 0 0 5.775-1.443.281.281 0 0 0 .052-.457l-1.122-.994a.79.79 0 0 0-.833-.14 9.693 9.693 0 0 1-3.923.77c-5.36-.067-9.692-4.527-9.607-9.888.084-5.293 4.417-9.573 9.73-9.573h9.73v17.296l-5.522-4.907a.407.407 0 0 0-.596.063 4.52 4.52 0 0 1-3.934 1.793 4.538 4.538 0 0 1-4.192-4.168 4.53 4.53 0 0 1 4.512-4.872 4.532 4.532 0 0 1 4.509 4.126c.018.205.11.397.265.533l1.438 1.275a.28.28 0 0 0 .462-.158 6.82 6.82 0 0 0 .099-1.725c-.232-3.376-2.966-6.092-6.345-6.3-3.873-.24-7.11 2.79-7.214 6.588-.1 3.7 2.933 6.892 6.634 6.974a6.75 6.75 0 0 0 4.136-1.294l7.212 6.394a.48.48 0 0 0 .797-.36V.456A.456.456 0 0 0 23.54 0Z"},cloudflare:{title:"Cloudflare",fill:"#F38020",d:"M16.5088 16.8447c.1475-.5068.0908-.9707-.1553-1.3154-.2246-.3164-.6045-.499-1.0615-.5205l-8.6592-.1123a.1559.1559 0 0 1-.1333-.0713c-.0283-.042-.0351-.0986-.021-.1553.0278-.084.1123-.1484.2036-.1562l8.7359-.1123c1.0351-.0489 2.1601-.8868 2.5537-1.9136l.499-1.3013c.0215-.0561.0293-.1128.0147-.168-.5625-2.5463-2.835-4.4453-5.5499-4.4453-2.5039 0-4.6284 1.6177-5.3876 3.8614-.4927-.3658-1.1187-.5625-1.794-.499-1.2026.119-2.1665 1.083-2.2861 2.2856-.0283.31-.0069.6128.0635.894C1.5683 13.171 0 14.7754 0 16.752c0 .1748.0142.3515.0352.5273.0141.083.0844.1475.1689.1475h15.9814c.0909 0 .1758-.0645.2032-.1553l.12-.4268zm2.7568-5.5634c-.0771 0-.1611 0-.2383.0112-.0566 0-.1054.0415-.127.0976l-.3378 1.1744c-.1475.5068-.0918.9707.1543 1.3164.2256.3164.6055.498 1.0625.5195l1.8437.1133c.0557 0 .1055.0263.1329.0703.0283.043.0351.1074.0214.1562-.0283.084-.1132.1485-.204.1553l-1.921.1123c-1.041.0488-2.1582.8867-2.5527 1.914l-.1406.3585c-.0283.0713.0215.1416.0986.1416h6.5977c.0771 0 .1474-.0489.169-.126.1122-.4082.1757-.837.1757-1.2803 0-2.6025-2.125-4.727-4.7344-4.727"},upstash:{title:"Upstash",fill:"#00E9A3",d:"M13.8027 0C11.193 0 8.583.9952 6.5918 2.9863c-3.9823 3.9823-3.9823 10.4396 0 14.4219 1.9911 1.9911 5.2198 1.9911 7.211 0 1.991-1.9911 1.991-5.2198 0-7.211L12 12c.9956.9956.9956 2.6098 0 3.6055-.9956.9955-2.6099.9955-3.6055 0-2.9866-2.9868-2.9866-7.8297 0-10.8164 2.9868-2.9868 7.8297-2.9868 10.8164 0l1.8028-1.8028C19.0225.9952 16.4125 0 13.8027 0zM12 12c-.9956-.9956-.9956-2.6098 0-3.6055.9956-.9955 2.6098-.9955 3.6055 0 2.9867 2.9868 2.9867 7.8297 0 10.8164-2.9867 2.9868-7.8297 2.9868-10.8164 0l-1.8028 1.8028c3.9823 3.9822 10.4396 3.9822 14.4219 0 3.9823-3.9824 3.9823-10.4396 0-14.4219-.9956-.9956-2.3006-1.4922-3.6055-1.4922-1.3048 0-2.6099.4966-3.6054 1.4922-1.9912 1.9912-1.9912 5.2198 0 7.211z"},mixpanel:{title:"Mixpanel",fill:"#7856FF",d:"M6.967 9.996h3.053c-.763-.477-1.048-1.145-1.431-2.384L7.443 3.366C6.919 1.458 6.49.551 4.39.551H.004v1.145h.621c1.286 0 1.431.477 1.814 1.908L3.44 7.326c.524 1.814 1.337 2.67 3.53 2.67h-.003Zm7.06 0h3.053c2.194 0 2.956-.86 3.484-2.67l1.001-3.722c.382-1.431.57-1.908 1.814-1.908H24V.551h-4.34c-2.146 0-2.576.86-3.053 2.815l-1.145 4.246c-.384 1.286-.673 1.907-1.435 2.384Zm-4.007 4.008h4.007V9.996H10.02v4.008ZM0 23.449h4.39c2.1 0 2.529-.907 3.053-2.815l1.146-4.246c.383-1.239.668-1.907 1.431-2.384H6.967c-2.194 0-3.007.86-3.531 2.67l-1.001 3.722c-.383 1.431-.524 1.907-1.814 1.907H0v1.146Zm19.65 0h4.343v-1.146h-.622c-1.239 0-1.431-.476-1.814-1.907l-1.001-3.722c-.524-1.814-1.286-2.67-3.483-2.67h-3.046c.762.477 1.041 1.098 1.424 2.384l1.145 4.246c.477 1.955.907 2.815 3.054 2.815Z"},gemini:{title:"Google Gemini",fill:"#8E75B2",d:"M11.04 19.32Q12 21.51 12 24q0-2.49.93-4.68.96-2.19 2.58-3.81t3.81-2.55Q21.51 12 24 12q-2.49 0-4.68-.93a12.3 12.3 0 0 1-3.81-2.58 12.3 12.3 0 0 1-2.58-3.81Q12 2.49 12 0q0 2.49-.96 4.68-.93 2.19-2.55 3.81a12.3 12.3 0 0 1-3.81 2.58Q2.49 12 0 12q2.49 0 4.68.96 2.19.93 3.81 2.55t2.55 3.81"}};var H1=J0(a7(),1),IR="https://brand.volter.ai/logo/twin-world/svg?size=64&variant=mono";function i7({href:U,onClick:L}){return H1.jsxDEV("h1",{children:H1.jsxDEV("a",{href:U,onClick:L,children:[H1.jsxDEV("img",{src:IR,alt:"",width:24,height:24,style:{verticalAlign:"middle"}},void 0,!1,void 0,this),H1.jsxDEV("span",{className:"brand-name",children:" Volter World"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this)}async function U8(U){return(await U.json().catch(()=>({}))).error??`answered ${U.status}`}function Bq(U,L,O=0,N=""){let[v,k]=w2.useState({state:"loading"});return w2.useEffect(()=>{k({state:"loading"})},[N,L]),w2.useEffect(()=>{if(!L)return;let b=!0;return(async()=>{try{let C=await U(L),V=C.ok?{state:"ok",data:await C.json()}:{state:"error",status:C.status,error:await U8(C)};if(b)k(V)}catch(C){if(b)k({state:"error",status:0,error:String(C)})}})(),()=>{b=!1}},[N,L,O]),v}function D4({load:U,what:L,retry:O,lines:N=3}){if(U.state==="loading")return H1.jsxDEV(n7,{lines:N,label:`Loading ${L}…`},void 0,!1,void 0,this);if(U.state==="error")return H1.jsxDEV("div",{role:"alert",className:"error-state",children:[H1.jsxDEV("span",{children:["Could not read ",L,": ",U.error]},void 0,!0,void 0,this),O?H1.jsxDEV("button",{type:"button",onClick:O,children:"Try again"},void 0,!1,void 0,this):null]},void 0,!0,void 0,this);return null}function n7({lines:U=3,label:L="Loading…"}){return H1.jsxDEV("div",{className:"skeleton",role:"status","aria-label":L,children:Array.from({length:U},(O,N)=>H1.jsxDEV("span",{style:{width:`${[92,76,84,64,88][N%5]}%`}},N,!1,void 0,this))},void 0,!1,void 0,this)}function Jq({iso:U,time:L}){if(!U)return H1.jsxDEV("span",{children:"—"},void 0,!1,void 0,this);let O=new Date(U);return H1.jsxDEV("time",{dateTime:U,title:U,children:Number.isNaN(O.getTime())?U:L?O.toLocaleTimeString():O.toLocaleString()},void 0,!1,void 0,this)}var p0=(U)=>U?new Date(U).toLocaleString():"—",Y4=(U)=>{let L=Date.parse(U);return Number.isNaN(L)?U:new Date(L).toLocaleDateString(void 0,{year:"numeric",month:"short",day:"numeric"})};function Y3(U){let L=U?Date.parse(U):Number.NaN;if(Number.isNaN(L))return"—";let O=Math.max(0,Math.round((Date.now()-L)/1000));return O<60?"just now":O<3600?`${Math.round(O/60)}m ago`:O<86400?`${Math.round(O/3600)}h ago`:`${Math.round(O/86400)}d ago`}var OR={github:"GitHub",openai:"OpenAI",aws:"AWS",hubspot:"HubSpot",paypal:"PayPal",youtube:"YouTube",tiktok:"TikTok",linkedin:"LinkedIn",xai:"xAI",sendgrid:"SendGrid",elevenlabs:"ElevenLabs",assemblyai:"AssemblyAI",planetscale:"PlanetScale",googleoauth:"Google sign-in",npm:"npm","npm-registry":"npm registry",posthog:"PostHog",mongodb:"MongoDB",pagerduty:"PagerDuty",mailgun:"Mailgun",turbopuffer:"turbopuffer"},M3=(U)=>OR[U]??U.charAt(0).toUpperCase()+U.slice(1);function _Z({vendor:U}){let L=Mq[U];return H1.jsxDEV("span",{className:L?"mark logo":"mark","aria-hidden":"true",children:L?H1.jsxDEV("svg",{viewBox:"0 0 24 24",children:H1.jsxDEV("path",{d:L.d,fill:L.fill},void 0,!1,void 0,this)},void 0,!1,void 0,this):M3(U).charAt(0)},void 0,!1,void 0,this)}function B3({of:U,small:L}){return H1.jsxDEV("span",{className:L?"mark world-mark small":"mark world-mark","aria-hidden":"true",children:(U||"+").charAt(0).toUpperCase()},void 0,!1,void 0,this)}var RZ=(U)=>{U.currentTarget.closest("details")?.removeAttribute("open")},$Y="volter.theme",Qq=()=>{try{let U=localStorage.getItem($Y);return U==="light"||U==="dark"?U:"system"}catch{return"system"}};function BY(U=Qq()){let L=document.documentElement;if(U==="system")L.removeAttribute("data-theme");else L.setAttribute("data-theme",U)}function Gq(){let[U,L]=w2.useState(Qq),O=(N)=>{try{if(N==="system")localStorage.removeItem($Y);else localStorage.setItem($Y,N)}catch{}BY(N),L(N)};return H1.jsxDEV("div",{className:"theme-choice",role:"radiogroup","aria-label":"Theme",children:["system","light","dark"].map((N)=>H1.jsxDEV("button",{type:"button",role:"radio","aria-checked":U===N,onClick:()=>O(N),children:N==="system"?"System":N==="light"?"Light":"Dark"},N,!1,void 0,this))},void 0,!1,void 0,this)}function Uq(){return w2.useEffect(()=>{let U=()=>[...document.querySelectorAll("details.menu[open], details.clock-more[open]")],L=(N)=>{if(N.key!=="Escape"||document.querySelector("dialog[open]"))return;let v=U();if(!v.length)return;for(let k of v)k.removeAttribute("open");v[v.length-1].querySelector("summary")?.focus()},O=(N)=>{let v=N.target;for(let k of U())if(!v||!k.contains(v))k.removeAttribute("open")};return document.addEventListener("keydown",L),document.addEventListener("click",O),()=>{document.removeEventListener("keydown",L),document.removeEventListener("click",O)}},[]),null}function a0({open:U,onClose:L,title:O,children:N,footer:v,wide:k}){let b=w2.useRef(null),C=w2.useId();return w2.useEffect(()=>{let V=b.current;if(!V)return;if(U&&!V.open){V.showModal();let d=V.querySelector(".dialog-body :is(input:not([type=hidden]):not([disabled]), select, textarea)");if(d?.focus(),d instanceof HTMLInputElement&&d.value&&/^(text|search|email|url)$/.test(d.type))d.select()}if(!U&&V.open)V.close()},[U]),H1.jsxDEV("dialog",{ref:b,className:k?"dialog wide":"dialog","aria-labelledby":C,onClose:L,onCancel:(V)=>{V.preventDefault(),L()},onMouseDown:(V)=>{if(V.target===b.current)L()},children:U?H1.jsxDEV(H1.Fragment,{children:[H1.jsxDEV("div",{className:"dialog-head",children:[H1.jsxDEV("h2",{id:C,children:O},void 0,!1,void 0,this),H1.jsxDEV("button",{type:"button",className:"icon-button","aria-label":"Close",onClick:L,children:"✕"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),H1.jsxDEV("div",{className:"dialog-body",children:N},void 0,!1,void 0,this),v?H1.jsxDEV("div",{className:"dialog-foot",children:v},void 0,!1,void 0,this):null]},void 0,!0,void 0,this):null},void 0,!1,void 0,this)}var YY="volter:confirm";function H6(U){return new Promise((L)=>{window.dispatchEvent(new CustomEvent(YY,{detail:{ask:U,resolve:L}}))})}function qq(){let[U,L]=w2.useState(null),[O,N]=w2.useState("");w2.useEffect(()=>{let C=(V)=>{N(""),L(V.detail)};return window.addEventListener(YY,C),()=>window.removeEventListener(YY,C)},[]);let v=(C)=>{U?.resolve(C),L(null)},k=U?.ask,b=!k?.typed||O===k.typed;return H1.jsxDEV(a0,{open:Boolean(U),onClose:()=>v(!1),title:k?.title??"",footer:H1.jsxDEV(H1.Fragment,{children:[H1.jsxDEV("button",{type:"button",onClick:()=>v(!1),children:"Cancel"},void 0,!1,void 0,this),H1.jsxDEV("button",{type:"button",className:k?.danger?"danger-button":"primary",disabled:!b,onClick:()=>v(!0),children:k?.action},void 0,!1,void 0,this)]},void 0,!0,void 0,this),children:[k?.body?H1.jsxDEV("div",{className:"confirm-body",children:k.body},void 0,!1,void 0,this):null,k?.typed?H1.jsxDEV("div",{className:"typed-confirm",children:[H1.jsxDEV("p",{children:["Type ",H1.jsxDEV("code",{children:k.typed},void 0,!1,void 0,this)," to confirm."]},void 0,!0,void 0,this),H1.jsxDEV("input",{autoFocus:!0,"aria-label":`Type ${k.typed} to confirm`,value:O,onChange:(C)=>N(C.target.value),onKeyDown:(C)=>{if(C.key==="Enter"&&b)v(!0)},autoComplete:"off",spellCheck:!1},void 0,!1,void 0,this)]},void 0,!0,void 0,this):null]},void 0,!0,void 0,this)}var MY="volter:toast";function p2(U,L="ok"){window.dispatchEvent(new CustomEvent(MY,{detail:{text:U,kind:L}}))}function Lq(){let[U,L]=w2.useState([]);return w2.useEffect(()=>{let O=0,N=(v)=>{let{text:k,kind:b}=v.detail,C=++O;if(L((V)=>[...V.slice(-3),{id:C,text:k,kind:b}]),b!=="error")setTimeout(()=>L((V)=>V.filter((d)=>d.id!==C)),4500)};return window.addEventListener(MY,N),()=>window.removeEventListener(MY,N)},[]),H1.jsxDEV("div",{className:"toasts",role:"region","aria-label":"Notifications",children:U.map((O)=>H1.jsxDEV("div",{className:`toast ${O.kind}`,role:O.kind==="error"?"alert":"status",children:[H1.jsxDEV("span",{children:O.text},void 0,!1,void 0,this),H1.jsxDEV("button",{type:"button",className:"icon-button","aria-label":"Dismiss",onClick:()=>L((N)=>N.filter((v)=>v.id!==O.id)),children:"✕"},void 0,!1,void 0,this)]},O.id,!0,void 0,this))},void 0,!1,void 0,this)}function q5({value:U,label:L,secret:O}){let[N,v]=w2.useState(!1);return H1.jsxDEV("div",{className:"copy-field",children:[L?H1.jsxDEV("span",{className:"copy-label",children:L},void 0,!1,void 0,this):null,H1.jsxDEV("div",{className:"copy-row",children:[H1.jsxDEV("input",{readOnly:!0,value:U,"aria-label":L??"Value",onFocus:(b)=>b.currentTarget.select(),spellCheck:!1},void 0,!1,void 0,this),H1.jsxDEV("button",{type:"button",onClick:()=>{navigator.clipboard?.writeText(U).then(()=>{v(!0),setTimeout(()=>v(!1),1600),p2(O?"Copied. Keep it somewhere safe":"Copied")}).catch(()=>p2("Your browser would not copy it: select it and copy","error"))},children:N?"Copied":"Copy"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)}function q8({label:U,items:L}){return H1.jsxDEV("details",{className:"menu row-menu",children:[H1.jsxDEV("summary",{className:"icon-button",role:"button","aria-haspopup":"menu","aria-label":U,title:U,children:"⋯"},void 0,!1,void 0,this),H1.jsxDEV("div",{className:"popover menu-list",role:"menu",children:L.filter((O)=>Boolean(O)).map((O)=>O.href?H1.jsxDEV("a",{role:"menuitem",href:O.href,className:O.danger?"danger-item":void 0,onClick:RZ,children:O.label},O.label,!1,void 0,this):H1.jsxDEV("button",{type:"button",role:"menuitem",disabled:O.disabled,className:O.danger?"danger-item":void 0,onClick:(N)=>{RZ(N),O.onSelect?.()},children:O.label},O.label,!1,void 0,this))},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}function L5({title:U,children:L,action:O}){return H1.jsxDEV("div",{className:"empty-state",children:[H1.jsxDEV("p",{className:"empty-title",children:U},void 0,!1,void 0,this),L?H1.jsxDEV("div",{className:"empty-body",children:L},void 0,!1,void 0,this):null,O?H1.jsxDEV("div",{className:"empty-action",children:O},void 0,!1,void 0,this):null]},void 0,!0,void 0,this)}function JY({label:U,value:L,limit:O,unit:N="",note:v}){let k=O?Math.min(1,L/O):0,b=!O?"calm":L>O?"full":k>=0.8?"near":"calm";return H1.jsxDEV("div",{className:`meter ${b}`,children:[H1.jsxDEV("div",{className:"meter-head",children:[H1.jsxDEV("span",{children:U},void 0,!1,void 0,this),H1.jsxDEV("span",{className:"meter-num",children:[L.toLocaleString(),N,O!==null?H1.jsxDEV("span",{className:"mode",children:[" of ",O.toLocaleString(),N]},void 0,!0,void 0,this):H1.jsxDEV("span",{className:"mode",children:" · no limit"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),O!==null?H1.jsxDEV("div",{className:"meter-track",role:"meter","aria-label":U,"aria-valuemin":0,"aria-valuemax":O,"aria-valuenow":L,children:H1.jsxDEV("span",{style:{width:`${Math.max(k>0?2:0,Math.round(k*100))}%`}},void 0,!1,void 0,this)},void 0,!1,void 0,this):null,v?H1.jsxDEV("div",{className:"meter-note mode",children:v},void 0,!1,void 0,this):null]},void 0,!0,void 0,this)}function Wq({label:U,items:L}){return H1.jsxDEV("nav",{className:"subnav","aria-label":U,children:L.map((O)=>H1.jsxDEV("a",{href:O.href,"aria-current":O.on?"page":void 0,className:O.on?"on":void 0,onClick:O.onClick,children:O.label},O.href,!1,void 0,this))},void 0,!1,void 0,this)}function Kq(){return w2.useEffect(()=>{let U=(O)=>{let N=document.querySelector("main.app"),v=O.target;if(N?.hasAttribute("data-drawer")&&v&&!v.closest(".side")&&!v.closest(".drawer-button"))N.removeAttribute("data-drawer")},L=(O)=>{if(O.key==="Escape")QY()};return document.addEventListener("click",U),document.addEventListener("keydown",L),()=>{document.removeEventListener("click",U),document.removeEventListener("keydown",L)}},[]),H1.jsxDEV("button",{type:"button",className:"icon-button drawer-button","aria-label":"Menu",onClick:()=>{document.querySelector("main.app")?.toggleAttribute("data-drawer")},children:"☰"},void 0,!1,void 0,this)}var QY=()=>{document.querySelector("main.app")?.removeAttribute("data-drawer")};var Rq=["account","help","new","sign-in","sign-out","settings","api","app","www","docs","status","operator"];function _q(U={}){let L=(N,v)=>U.tools?`${v} (\`${N}\`)`:`\`${N}\``,O=["Set up Volter World for this app, so its calls to Stripe, Slack, GitHub, OpenAI and the other services it uses go to local twins instead of the real APIs. The app keeps its real SDKs and code.","",U.tools?"1. You have the Volter World tools (volter mcp). If the `volter` command is missing, install it: `npm install -g @volter/world`.":"1. Install the command and your agent tooling: `npm install -g @volter/world`, then `volter agents install --yes`.",`2. In the app's folder, ${L("volter world init --install","world_init")}: it detects the vendors the app calls and installs their twins. Show me the vendors it detected and why, before keeping them.`,`3. ${U.tools?"Start it with world_up":"Start it: `volter world up`"}, then run the tests inside it: ${L("volter world run -- <the test command>","world_run")}. Fix anything that fails because a call went to the real service.`,`4. Tell me what the app did at each vendor (${L("volter world log","world_log")}), and give me the dashboard link (${U.tools?"world_view":"`volter world view --no-open`, started in the background: it keeps running"}).`];if(U.platform){let N=U.world??"<org>/<world>";O.push(`5. Share it with my team on ${U.platform}: ${L(`volter login ${U.platform}`,"platform_login")} gives a link and a code for me to approve in my browser. Once I have, link it with ${L(`volter remote add origin ${N} --create`,"remote_link with create: true")}${U.world?"":" (ask me for <org>/<world>)"}, then send what the app did: ${L('volter world changeset -m "<what and why>"',"world_changeset")} and ${L("volter world push","world_push")}.`)}return O.push("","The guide: https://github.com/volter-ai/twin/blob/main/docs/guides/use-with-a-coding-agent.md"),O.join(`
|
|
236
|
+
`)}var B=J0(a7(),1),LY=document.getElementById("root"),Q0=window.location.origin,s7="volter.platform.support",PZ=(()=>{let U=LY.dataset.token??"";try{if(U)sessionStorage.setItem(s7,U);return U||(sessionStorage.getItem(s7)??"")}catch{return U}})();if(new URLSearchParams(window.location.search).has("support"))try{window.history.replaceState(null,"",window.location.pathname)}catch{}var GY=(LY.dataset.vendors??"").split(",").filter(Boolean).map((U)=>{let[L,O]=U.split(":");return{vendor:L,supported:O==="s"}});async function G0(U,L={}){let O=L.headers?.["content-type"];return fetch(`${Q0}${U}`,{...L,credentials:"same-origin",headers:{...L.headers??{},...PZ?{"x-volter-token":PZ}:{},...L.body&&!O?{"content-type":"application/json"}:{}}})}function M4(U,L=0){return Bq(G0,U,L)}async function Fq(){await G0("/-/sign-out",{method:"POST",redirect:"manual"}).catch(()=>null),window.location.assign("/?signed-out=1")}async function W2(U,L,O){let N=await G0(U,L).catch(()=>null);if(!N)return p2(`${Q0} did not answer`,"error"),null;if(!N.ok)return p2(await U8(N),"error"),null;let v=await N.json().catch(()=>({}));if(O)p2(O);return v}var AZ=[["worlds","Worlds"],["members","Members"],["billing","Billing"],["activity","Activity"],["settings","Settings"]],Tq=[["general","General"],["security","Security"],["tokens","Org tokens"],["webhooks","Webhooks"],["labs","Labs"],["support","Support access"]],Aq={account:"Account",help:"Help",new:"Create an org"};function Pq(){let U=window.location.pathname.split("/").filter(Boolean).map((b)=>{try{return decodeURIComponent(b)}catch{return""}}),[L,O,N]=U;if(!L)return{kind:"home"};if(L==="account"||L==="help"||L==="new")return{kind:"you",page:L};let v=AZ.find(([b])=>b===O)?.[0]??"worlds",k=v==="settings"?Tq.find(([b])=>b===N)?.[0]??"general":void 0;return{kind:"org",org:L,page:v,...k?{sub:k}:{}}}var r7=(U)=>U.kind==="home"?"/":U.kind==="you"?`/${U.page}`:`/${encodeURIComponent(U.org)}${U.page==="worlds"?"":`/${U.page}`}${U.page==="settings"&&U.sub&&U.sub!=="general"?`/${U.sub}`:""}`;function i0(U,L=!1){if(L)window.history.replaceState(null,"",r7(U));else window.history.pushState(null,"",r7(U));window.dispatchEvent(new PopStateEvent("popstate")),window.scrollTo(0,0)}function W5({to:U,children:L,className:O,current:N}){return B.jsxDEV("a",{href:r7(U),className:O,"aria-current":N?"page":void 0,onClick:(v)=>{if(v.metaKey||v.ctrlKey||v.shiftKey)return;v.preventDefault(),RZ(v),QY(),i0(U)},children:L},void 0,!1,void 0,this)}var Iq=(U)=>(L)=>{if(L.metaKey||L.ctrlKey||L.shiftKey)return;L.preventDefault(),i0(U)},x2=(U)=>U.slug??U.id,J3=(U)=>U.role==="admin"||U.role==="org:admin",qY=/^[a-z0-9][a-z0-9-]{0,38}$/;function NR(){let[U,L]=u.useState(Pq());u.useEffect(()=>{let x=()=>L(Pq());return window.addEventListener("popstate",x),()=>window.removeEventListener("popstate",x)},[]);let O=M4("/-/platform"),[N,v]=u.useState(0),k=u.useCallback(()=>v((x)=>x+1),[]),[b,C]=u.useState({state:"loading"}),V=u.useCallback(async()=>{let x=await G0("/-/orgs").catch(()=>null);if(!x){C({state:"error",error:`${Q0} did not answer`});return}if(x.status===401&&PZ){let h=!1;try{sessionStorage.removeItem(s7),h=sessionStorage.getItem(s7)===null}catch{}if(h){window.location.assign("/");return}C({state:"out"});return}if(x.status===401){C({state:"out"});return}if(!x.ok){C({state:"error",error:x.status===429?"You are asking faster than the platform allows. Wait a moment and try again.":await U8(x)});return}let i=await x.json();C({state:"in",person:i.person,orgs:i.orgs})},[]);u.useEffect(()=>{V()},[V,N]);let d=M4(b.state==="in"?"/-/worlds":null,N);u.useEffect(()=>{document.body.className=b.state==="out"?"portal":""},[b.state]);let[P,_]=u.useState(!1);u.useEffect(()=>{let x=(i)=>{let h=i.target instanceof HTMLElement&&i.target.closest("input, textarea, select, [contenteditable]")!==null;if(i.key==="k"&&(i.metaKey||i.ctrlKey)||i.key==="/"&&!h)i.preventDefault(),_(!0)};return window.addEventListener("keydown",x),()=>window.removeEventListener("keydown",x)},[]),u.useEffect(()=>{document.title=U.kind==="org"?`${AZ.find(([x])=>x===U.page)?.[1]??""} · ${U.org} · Volter World`:U.kind==="you"?`${Aq[U.page]} · Volter World`:"Volter World"},[U]);let w=O.state==="ok"?O.data:null;if(b.state==="loading"||O.state==="loading")return B.jsxDEV(UY,{},void 0,!1,void 0,this);if(b.state==="out")return B.jsxDEV(wR,{info:w},void 0,!1,void 0,this);if(b.state==="error")return B.jsxDEV("main",{className:"boot",children:[B.jsxDEV(i7,{href:"/"},void 0,!1,void 0,this),B.jsxDEV("div",{role:"alert",className:"error-state",children:[B.jsxDEV("span",{children:b.error},void 0,!1,void 0,this),B.jsxDEV("button",{type:"button",onClick:()=>void V(),children:"Try again"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),B.jsxDEV("button",{type:"button",onClick:()=>void Fq(),children:"Sign in again"},void 0,!1,void 0,this)]},void 0,!0,void 0,this);let{person:f,orgs:D}=b,m=U.kind==="org"?D.find((x)=>x.slug===U.org||x.id===U.org)??null:null;if(U.kind==="home"){let x=D[0];return i0(x?{kind:"org",org:x2(x),page:"worlds"}:{kind:"you",page:"new"},!0),B.jsxDEV(UY,{},void 0,!1,void 0,this)}if(U.kind==="org"&&m&&U.org!==x2(m))return i0({...U,org:x2(m)},!0),B.jsxDEV(UY,{},void 0,!1,void 0,this);let n=m??(U.kind==="you"?D[0]??null:null),p=n?J3(n):!1,r=d.state==="ok"&&n?d.data.worlds.filter((x)=>x.name.startsWith(`${x2(n)}/`)):[],$1=U.kind==="you"?Aq[U.page]:U.kind==="org"?AZ.find(([x])=>x===U.page)[1]:"",I1=(x)=>({kind:"org",org:n?x2(n):"",page:x}),R1=(x)=>U.kind==="org"&&U.page===x,o=()=>{try{sessionStorage.removeItem(s7)}catch{}if(PZ)window.location.assign("/");else Fq()},a=AZ.filter(([x])=>(x!=="billing"||w?.billing)&&(x!=="activity"||p));return B.jsxDEV("main",{className:"app",children:[f.support?B.jsxDEV("p",{role:"alert",className:"banner",children:["Viewing as support: read only, until ",p0(f.support.until),". Reason on record: ",f.support.reason,"."]},void 0,!0,void 0,this):null,B.jsxDEV("header",{children:[B.jsxDEV(Kq,{},void 0,!1,void 0,this),B.jsxDEV(i7,{href:"/",onClick:(x)=>{x.preventDefault(),i0({kind:"home"})}},void 0,!1,void 0,this),B.jsxDEV("nav",{"aria-label":"breadcrumb",className:"crumbs",children:n&&U.kind==="org"?B.jsxDEV(B.Fragment,{children:[B.jsxDEV("span",{className:"crumb-sep","aria-hidden":"true",children:"/"},void 0,!1,void 0,this),B.jsxDEV(W5,{to:I1("worlds"),className:"crumb-world",children:n.name},void 0,!1,void 0,this),U.page!=="worlds"?B.jsxDEV(B.Fragment,{children:[B.jsxDEV("span",{className:"crumb-sep","aria-hidden":"true",children:"/"},void 0,!1,void 0,this),B.jsxDEV("span",{children:$1},void 0,!1,void 0,this)]},void 0,!0,void 0,this):null]},void 0,!0,void 0,this):B.jsxDEV(B.Fragment,{children:[B.jsxDEV("span",{className:"crumb-sep","aria-hidden":"true",children:"/"},void 0,!1,void 0,this),B.jsxDEV("span",{children:$1},void 0,!1,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this),B.jsxDEV("button",{type:"button",className:"search-button",onClick:()=>_(!0),"aria-label":"Search: jump to an org, a page or a World",children:[B.jsxDEV("span",{children:"Search…"},void 0,!1,void 0,this),B.jsxDEV("kbd",{children:TR},void 0,!1,void 0,this)]},void 0,!0,void 0,this),w?.site?B.jsxDEV("a",{href:`${w.site}/docs/`,className:"head-link",children:"Docs"},void 0,!1,void 0,this):null,B.jsxDEV("details",{className:"menu avatar-menu",children:[B.jsxDEV("summary",{role:"button","aria-haspopup":"menu","aria-label":`You: ${f.email??f.name??f.id}`,children:B.jsxDEV(B3,{of:f.name??f.email??"?",small:!0},void 0,!1,void 0,this)},void 0,!1,void 0,this),B.jsxDEV("div",{className:"popover menu-list",role:"menu",children:[B.jsxDEV("div",{className:"menu-who",children:[B.jsxDEV("strong",{children:f.name??f.email??f.id},void 0,!1,void 0,this),f.name&&f.email?B.jsxDEV("span",{className:"mode",children:f.email},void 0,!1,void 0,this):null]},void 0,!0,void 0,this),B.jsxDEV(W5,{to:{kind:"you",page:"account"},children:"Account and tokens"},void 0,!1,void 0,this),w?.support?B.jsxDEV(W5,{to:{kind:"you",page:"help"},children:"Help"},void 0,!1,void 0,this):null,w?.site?B.jsxDEV("a",{role:"menuitem",href:`${w.site}/docs/`,children:"Docs"},void 0,!1,void 0,this):null,B.jsxDEV("div",{className:"menu-theme",children:[B.jsxDEV("span",{className:"mode",children:"Theme"},void 0,!1,void 0,this),B.jsxDEV(Gq,{},void 0,!1,void 0,this)]},void 0,!0,void 0,this),B.jsxDEV("button",{type:"button",role:"menuitem",onClick:o,children:"Sign out"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),B.jsxDEV("div",{className:"shell",children:[B.jsxDEV("aside",{className:"side",children:B.jsxDEV("nav",{"aria-label":"Your orgs and pages",className:"side-nav",children:[B.jsxDEV(CR,{orgs:D,shown:n},void 0,!1,void 0,this),n?B.jsxDEV(B.Fragment,{children:[B.jsxDEV("p",{className:"side-group",children:"Org"},void 0,!1,void 0,this),a.map(([x,i])=>B.jsxDEV(W5,{to:I1(x),className:R1(x)?"on":void 0,current:R1(x),children:i},x,!1,void 0,this))]},void 0,!0,void 0,this):null,B.jsxDEV("p",{className:"side-group",children:"You"},void 0,!1,void 0,this),B.jsxDEV(W5,{to:{kind:"you",page:"account"},className:U.kind==="you"&&U.page==="account"?"on":void 0,current:U.kind==="you"&&U.page==="account",children:"Account"},void 0,!1,void 0,this),w?.support?B.jsxDEV(W5,{to:{kind:"you",page:"help"},className:U.kind==="you"&&U.page==="help"?"on":void 0,current:U.kind==="you"&&U.page==="help",children:"Help"},void 0,!1,void 0,this):null]},void 0,!0,void 0,this)},void 0,!1,void 0,this),B.jsxDEV("div",{className:"content",children:[U.kind==="org"&&!m?B.jsxDEV(L5,{title:`You are not a member of ${U.org}`,action:B.jsxDEV(W5,{to:{kind:"home"},className:"button",children:"Your orgs"},void 0,!1,void 0,this),children:"An org shows here once one of its admins adds you, or you accept an invitation to it."},void 0,!1,void 0,this):null,m?.held&&U.kind==="org"&&U.page!=="billing"?B.jsxDEV("p",{role:"alert",children:["This org is held: ",m.held,"."]},void 0,!0,void 0,this):null,U.kind==="org"&&m&&U.page==="worlds"?B.jsxDEV(SR,{org:m,rows:r,load:d,orgs:D.map(x2),allRows:d.state==="ok"?d.data.worlds.length:0,version:N,readOnly:Boolean(f.support)||Boolean(m.held),onChanged:k},void 0,!1,void 0,this):null,U.kind==="org"&&m&&U.page==="members"?B.jsxDEV(bR,{org:m,me:f.id,onChanged:k},void 0,!1,void 0,this):null,U.kind==="org"&&m&&U.page==="billing"?w?.billing?B.jsxDEV(gR,{org:x2(m),admin:J3(m),version:N,flags:m.flags??{}},void 0,!1,void 0,this):B.jsxDEV(L5,{title:"No billing here",children:"This platform does not bill: nothing here is limited or priced."},void 0,!1,void 0,this):null,U.kind==="org"&&m&&U.page==="settings"?B.jsxDEV(hR,{org:m,sub:U.sub??"general",info:w,version:N,onChanged:k,onDeleted:()=>{k(),i0({kind:"home"})}},void 0,!1,void 0,this):null,U.kind==="org"&&m&&U.page==="activity"?J3(m)?B.jsxDEV(pR,{org:x2(m),version:N},void 0,!1,void 0,this):B.jsxDEV(L5,{title:"Activity is for admins",children:"An org's activity log is its admins'."},void 0,!1,void 0,this):null,U.kind==="you"&&U.page==="account"?B.jsxDEV(iR,{person:f,info:w,onSignOut:o},void 0,!1,void 0,this):null,U.kind==="you"&&U.page==="help"?w?.support?B.jsxDEV(sR,{orgs:D.map(x2),onChanged:k},void 0,!1,void 0,this):B.jsxDEV(L5,{title:"No Help form here",children:"This platform has no Help form: ask whoever runs it."},void 0,!1,void 0,this):null,U.kind==="you"&&U.page==="new"?B.jsxDEV(nR,{first:D.length===0,site:w?.site,onMade:async(x)=>{await V(),k(),i0({kind:"org",org:x,page:"worlds"})}},void 0,!1,void 0,this):null]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),B.jsxDEV(vR,{open:P,onClose:()=>_(!1),orgs:D,shown:n,worlds:d.state==="ok"?d.data.worlds:[],pages:a,support:Boolean(w?.support)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}function UY(){return B.jsxDEV("main",{className:"app booting","aria-busy":"true",children:[B.jsxDEV("header",{children:B.jsxDEV(i7,{href:"/"},void 0,!1,void 0,this)},void 0,!1,void 0,this),B.jsxDEV("div",{className:"shell",children:[B.jsxDEV("aside",{className:"side",children:B.jsxDEV(n7,{lines:6,label:"Opening…"},void 0,!1,void 0,this)},void 0,!1,void 0,this),B.jsxDEV("div",{className:"content",children:B.jsxDEV(n7,{lines:4,label:"Opening…"},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)}function CR({orgs:U,shown:L}){let[O,N]=u.useState(""),v=U.filter((k)=>`${k.name} ${k.slug??""}`.toLowerCase().includes(O.trim().toLowerCase()));return B.jsxDEV("details",{className:"menu branch-picker top-picker",children:[B.jsxDEV("summary",{children:[B.jsxDEV(B3,{of:L?.name??"+",small:!0},void 0,!1,void 0,this),B.jsxDEV("span",{className:"branch-name",children:L?L.name:"No org yet"},void 0,!1,void 0,this),L?B.jsxDEV("span",{className:"badge",children:J3(L)?"admin":"member"},void 0,!1,void 0,this):null]},void 0,!0,void 0,this),B.jsxDEV("div",{className:"popover",children:[U.length>4?B.jsxDEV("input",{type:"search","aria-label":"Find an org",placeholder:"Find an org…",value:O,onChange:(k)=>N(k.target.value)},void 0,!1,void 0,this):B.jsxDEV("p",{className:"mode",children:"Your orgs"},void 0,!1,void 0,this),B.jsxDEV("ul",{className:"branch-list",children:[v.map((k)=>B.jsxDEV("li",{children:B.jsxDEV(W5,{to:{kind:"org",org:x2(k),page:"worlds"},current:L?.id===k.id,children:[B.jsxDEV("span",{className:"vendor-cell",children:[B.jsxDEV(B3,{of:k.name,small:!0},void 0,!1,void 0,this),k.name]},void 0,!0,void 0,this),B.jsxDEV("span",{className:"mode",children:J3(k)?"admin":"member"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)},k.id,!1,void 0,this)),v.length===0?B.jsxDEV("li",{className:"mode",children:"No org matches."},void 0,!1,void 0,this):null]},void 0,!0,void 0,this),B.jsxDEV(W5,{to:{kind:"you",page:"new"},className:"button",children:"+ Create an org"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)}var TR=typeof navigator<"u"&&/Mac|iPhone|iPad/.test(navigator.platform||navigator.userAgent)?"⌘K":"Ctrl K";function vR({open:U,onClose:L,orgs:O,shown:N,worlds:v,pages:k,support:b}){let[C,V]=u.useState(""),[d,P]=u.useState(0);u.useEffect(()=>{if(U)V(""),P(0)},[U]);let _=u.useMemo(()=>{let f=[];if(N)for(let[m,n]of k)f.push({label:n,hint:N.name,run:()=>i0({kind:"org",org:x2(N),page:m})});for(let m of v)f.push({label:`Open ${m.name}`,hint:"World",run:()=>{window.location.assign(`/-/worlds/${m.name}/open`)}});for(let m of O)if(m.id!==N?.id)f.push({label:`Switch to ${m.name}`,hint:"org",run:()=>i0({kind:"org",org:x2(m),page:"worlds"})});if(f.push({label:"Account and tokens",hint:"you",run:()=>i0({kind:"you",page:"account"})}),b)f.push({label:"Help",hint:"you",run:()=>i0({kind:"you",page:"help"})});f.push({label:"Create an org",hint:"new",run:()=>i0({kind:"you",page:"new"})});let D=C.trim().toLowerCase();return D?f.filter((m)=>`${m.label} ${m.hint}`.toLowerCase().includes(D)):f},[C,O,N,v,k,b]),w=(f)=>{if(!f)return;L(),f.run()};return B.jsxDEV(a0,{open:U,onClose:L,title:"Jump to",children:[B.jsxDEV("input",{autoFocus:!0,type:"search","aria-label":"Jump to",placeholder:"An org, a page or a World…",value:C,onChange:(f)=>{V(f.target.value),P(0)},onKeyDown:(f)=>{if(f.key==="ArrowDown")f.preventDefault(),P((D)=>Math.min(_.length-1,D+1));if(f.key==="ArrowUp")f.preventDefault(),P((D)=>Math.max(0,D-1));if(f.key==="Enter")f.preventDefault(),w(_[d])}},void 0,!1,void 0,this),B.jsxDEV("ul",{className:"palette",role:"listbox","aria-label":"Places",children:[_.slice(0,12).map((f,D)=>B.jsxDEV("li",{role:"option","aria-selected":D===d,children:B.jsxDEV("button",{type:"button",onMouseEnter:()=>P(D),onClick:()=>w(f),children:[B.jsxDEV("span",{children:f.label},void 0,!1,void 0,this),B.jsxDEV("span",{className:"mode",children:f.hint},void 0,!1,void 0,this)]},void 0,!0,void 0,this)},`${f.label}-${f.hint}`,!1,void 0,this)),_.length===0?B.jsxDEV("li",{className:"mode",children:"Nothing matches."},void 0,!1,void 0,this):null]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)}function wR({info:U}){let L=`${window.location.pathname}${window.location.search}`,O=new URLSearchParams(window.location.search).has("signed-out"),N=U?.provider.name??"your account";return B.jsxDEV("div",{className:"card",role:"main",children:[B.jsxDEV("div",{className:"brand",children:B.jsxDEV(i7,{href:"/"},void 0,!1,void 0,this)},void 0,!1,void 0,this),B.jsxDEV("h2",{children:"Sign in to Volter World"},void 0,!1,void 0,this),O?B.jsxDEV("p",{role:"status",children:"You are signed out."},void 0,!1,void 0,this):B.jsxDEV("p",{children:"Your orgs, their Worlds and your teammates."},void 0,!1,void 0,this),B.jsxDEV("a",{className:"button primary wide",href:`/-/sign-in${L!=="/"&&!O?`?next=${encodeURIComponent(L)}`:""}`,children:["Continue with ",N]},void 0,!0,void 0,this),U?.provider.kind==="volter"?B.jsxDEV("p",{className:"small",children:"New to Volter? You make your account on the way, with GitHub, Google or your email."},void 0,!1,void 0,this):null,U?.site?B.jsxDEV("p",{className:"links",children:[B.jsxDEV("a",{href:`${U.site}/`,children:"Volter World"},void 0,!1,void 0,this),B.jsxDEV("a",{href:`${U.site}/docs/`,children:"Docs"},void 0,!1,void 0,this),B.jsxDEV("a",{href:`${U.site}/terms.html`,children:"Terms"},void 0,!1,void 0,this),B.jsxDEV("a",{href:`${U.site}/privacy.html`,children:"Privacy"},void 0,!1,void 0,this)]},void 0,!0,void 0,this):null]},void 0,!0,void 0,this)}function B4({title:U,count:L,children:O,lede:N}){return B.jsxDEV("div",{className:"page-head",children:[B.jsxDEV("div",{className:"content-head",children:[B.jsxDEV("h2",{id:"page",children:[U,L!==void 0?B.jsxDEV("span",{className:"count",children:L},void 0,!1,void 0,this):null]},void 0,!0,void 0,this),O?B.jsxDEV("div",{className:"head-actions",children:O},void 0,!1,void 0,this):null]},void 0,!0,void 0,this),N?B.jsxDEV("p",{className:"lede",children:N},void 0,!1,void 0,this):null]},void 0,!0,void 0,this)}function SR({org:U,rows:L,load:O,orgs:N,allRows:v,version:k,readOnly:b,onChanged:C}){let V=x2(U),[d,P]=u.useState(!1),[_,w]=u.useState(""),[f,D]=u.useState(null),[m,n]=u.useState(null),p=async(i)=>{let h=`Read-only link · ${new Date().toLocaleDateString(void 0,{month:"short",day:"numeric"})}`,w1=await W2(`/-/worlds/${i.name}/keys`,{method:"POST",body:JSON.stringify({name:h,scope:"read",expiresInDays:30})});if(!w1?.key)return;let P1=i.origin??new URL(i.base).origin;n({world:i.name,url:`${P1}/-/console/${i.name}#${new URLSearchParams({token:w1.key}).toString()}`})},r=new Map((U.worlds??[]).map((i)=>[i.name,i])),$1=L.filter((i)=>`${i.name} ${i.twins.map((h)=>h.vendor).join(" ")}`.toLowerCase().includes(_.trim().toLowerCase())),I1=async(i)=>{if(await H6({title:`Delete ${i}?`,body:B.jsxDEV(B.Fragment,{children:"Its host stops serving it and its whole history goes with it. Apps and keys that use it stop working at once. This cannot be undone."},void 0,!1,void 0,this),action:"Delete World",danger:!0,typed:i.split("/")[1]??i})&&await W2(`/-/worlds/${i}`,{method:"DELETE"},`Deleted ${i}`))C()},R1=!b?B.jsxDEV("button",{type:"button",className:"primary",onClick:()=>P(!0),children:"Create World"},void 0,!1,void 0,this):null,[o,a]=u.useState(!1),x=async()=>{a(!0);let i=await W2("/-/worlds/sample",{method:"POST",body:JSON.stringify({org:V})});if(a(!1),i)p2(`Made ${i.name}: open it to see Stripe and Slack as an app left them`),C()};return B.jsxDEV(B.Fragment,{children:[B.jsxDEV(B4,{title:"Worlds",count:O.state==="ok"?L.length:void 0,children:[L.length>0?B.jsxDEV("input",{type:"search",className:"toolbar-search","aria-label":"Find a World",placeholder:"Find a World…",value:_,onChange:(i)=>w(i.target.value)},void 0,!1,void 0,this):null,R1]},void 0,!0,void 0,this),B.jsxDEV(rR,{orgs:N,worlds:v-L.filter((i)=>i.name.split("/")[1]==="sample").length,firstWorld:L.find((i)=>i.name.split("/")[1]!=="sample")?.name,version:k},void 0,!1,void 0,this),O.state!=="ok"?B.jsxDEV(D4,{load:O,what:"the org's Worlds",retry:C},void 0,!1,void 0,this):L.length===0?B.jsxDEV(L5,{title:"No Worlds yet",action:B.jsxDEV("div",{className:"actions-row",children:[R1,!b?B.jsxDEV("button",{type:"button",onClick:()=>void x(),disabled:o,children:o?"Making the sample…":"Try a sample World"},void 0,!1,void 0,this):null]},void 0,!0,void 0,this),children:["A World stands in for the services your app uses: your app talks to it as it would to Stripe or GitHub, nothing real happens, and you see everything it did on each vendor's own screens.",!b?B.jsxDEV("span",{className:"mode sample-note",children:"The sample is a small shop's Stripe and Slack, seeded as its app would leave them. It counts as one of the org's Worlds; delete it when you are done."},void 0,!1,void 0,this):null]},void 0,!0,void 0,this):B.jsxDEV("div",{className:"block",children:[B.jsxDEV("table",{className:"dense worlds-table","aria-label":`${V}'s Worlds`,children:[B.jsxDEV("thead",{children:B.jsxDEV("tr",{children:[B.jsxDEV("th",{children:"World"},void 0,!1,void 0,this),B.jsxDEV("th",{children:"Stand-ins for"},void 0,!1,void 0,this),B.jsxDEV("th",{children:"Host"},void 0,!1,void 0,this),B.jsxDEV("th",{children:"Created"},void 0,!1,void 0,this),B.jsxDEV("th",{className:"num",children:B.jsxDEV("span",{className:"sr",children:"Actions"},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this),B.jsxDEV("tbody",{children:$1.map((i)=>{let h=r.get(i.name),w1=i.name.split("/")[1]??i.name;return B.jsxDEV(u.default.Fragment,{children:[B.jsxDEV("tr",{children:[B.jsxDEV("td",{children:B.jsxDEV("span",{className:"vendor-cell",children:[B.jsxDEV(B3,{of:w1,small:!0},void 0,!1,void 0,this),B.jsxDEV("span",{className:"who",children:[B.jsxDEV("a",{href:`/-/worlds/${i.name}/open`,children:w1},void 0,!1,void 0,this),i.origin?B.jsxDEV("span",{className:"mode mono",children:new URL(i.origin).host},void 0,!1,void 0,this):null]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this),B.jsxDEV("td",{children:B.jsxDEV("span",{className:"marks",title:i.twins.map((P1)=>M3(P1.vendor)).join(", "),children:[i.twins.slice(0,5).map((P1)=>B.jsxDEV(_Z,{vendor:P1.vendor},P1.vendor,!1,void 0,this)),i.twins.length>5?B.jsxDEV("span",{className:"mode",children:["+",i.twins.length-5]},void 0,!0,void 0,this):null,B.jsxDEV("span",{className:"mode",children:i.twins.length===1?M3(i.twins[0].vendor):`${i.twins.length} vendors`},void 0,!1,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this),B.jsxDEV("td",{className:"mode",children:h?.host??"—"},void 0,!1,void 0,this),B.jsxDEV("td",{className:"mode",children:h?B.jsxDEV("span",{title:p0(h.provisionedAt),children:Y3(h.provisionedAt)},void 0,!1,void 0,this):"—"},void 0,!1,void 0,this),B.jsxDEV("td",{className:"num row-actions",children:[B.jsxDEV("a",{className:"button primary",href:`/-/worlds/${i.name}/open`,"aria-label":`Open ${i.name}`,children:"Open"},void 0,!1,void 0,this),B.jsxDEV(q8,{label:`More for ${i.name}`,items:[{label:"Copy the command to use it",onSelect:()=>{navigator.clipboard?.writeText(`volter remote add origin ${i.name}`).then(()=>p2("Copied: volter remote add origin …"))}},!b?{label:"Make a key…",onSelect:()=>D(i.name)}:null,!b?{label:"Share a read-only link…",onSelect:()=>void p(i)}:null,i.origin?{label:"Copy its address",onSelect:()=>{navigator.clipboard?.writeText(i.origin).then(()=>p2("Copied"))}}:null,!b?{label:"Delete World…",danger:!0,onSelect:()=>void I1(i.name)}:null]},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),B.jsxDEV(oR,{world:i.name,readOnly:b},void 0,!1,void 0,this)]},i.name,!0,void 0,this)})},void 0,!1,void 0,this)]},void 0,!0,void 0,this),$1.length===0?B.jsxDEV("p",{className:"mode table-note",children:["No World matches “",_,"”."]},void 0,!0,void 0,this):null]},void 0,!0,void 0,this),B.jsxDEV(DR,{world:f,onClose:()=>D(null)},void 0,!1,void 0,this),B.jsxDEV(a0,{open:Boolean(m),onClose:()=>n(null),title:`A read-only link to ${m?.world??""}`,footer:B.jsxDEV("button",{type:"button",className:"primary",onClick:()=>n(null),children:"Done"},void 0,!1,void 0,this),children:[B.jsxDEV("p",{className:"mode",children:"Whoever opens it sees the World's pages and changes nothing, without an account, for 30 days. Copy it now: it is shown this once. The World lists it under Settings › Keys, where revoking it closes the link at once."},void 0,!1,void 0,this),m?B.jsxDEV(q5,{label:"Link",value:m.url,secret:!0},void 0,!1,void 0,this):null]},void 0,!0,void 0,this),B.jsxDEV(kR,{open:d,org:V,taken:L.map((i)=>i.name.split("/")[1]??""),onClose:()=>P(!1),onMade:(i)=>{P(!1),p2(`Created ${i}. Open it when you are ready`),C()}},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}function kR({open:U,org:L,taken:O,onClose:N,onMade:v}){let[k,b]=u.useState(""),[C,V]=u.useState([]),[d,P]=u.useState(""),[_,w]=u.useState(!1),[f,D]=u.useState(null);u.useEffect(()=>{if(U)b(""),V([]),P(""),D(null)},[U]);let m=!k?null:!qY.test(k)?"Lowercase letters, digits and dashes, starting with a letter or digit.":O.includes(k)?`${L} already has a World named ${k}.`:null,n=M4(U?"/-/vendors":null),p=new Map(GY.map((a)=>[a.vendor,a.supported])),r=n.state==="ok"?n.data.vendors.map((a)=>({vendor:a,supported:p.get(a)??!0})).sort((a,x)=>Number(x.supported)-Number(a.supported)||a.vendor.localeCompare(x.vendor)):GY.length?GY:["github","stripe","slack","openai","anthropic","aws","resend","twilio","linear","notion"].map((a)=>({vendor:a,supported:!0})),$1=d.trim().toLowerCase(),I1=r.filter((a)=>!$1||a.vendor.includes($1)||M3(a.vendor).toLowerCase().includes($1)),R1=(a)=>V((x)=>x.includes(a)?x.filter((i)=>i!==a):[...x,a]),o=async(a)=>{if(a.preventDefault(),m||!k||C.length===0)return;w(!0),D(null);let x=await G0("/-/worlds",{method:"POST",body:JSON.stringify({org:L,world:k,vendors:C})}).catch(()=>null);if(w(!1),!x){D(`${Q0} did not answer`);return}if(!x.ok){D(await U8(x));return}v(`${L}/${k}`)};return B.jsxDEV(a0,{open:U,onClose:()=>{if(!_)N()},title:"Create a World",wide:!0,footer:B.jsxDEV(B.Fragment,{children:[B.jsxDEV("button",{type:"button",onClick:N,disabled:_,children:"Cancel"},void 0,!1,void 0,this),B.jsxDEV("button",{type:"submit",form:"create-world",disabled:_||!k||Boolean(m)||C.length===0,children:_?"Creating… about ten seconds":"Create World"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),children:B.jsxDEV("form",{id:"create-world",onSubmit:o,className:"stack","aria-label":"Create a World",children:[B.jsxDEV("label",{children:["Name ",B.jsxDEV("input",{autoFocus:!0,name:"world",value:k,onChange:(a)=>b(a.target.value.toLowerCase()),placeholder:"staging","aria-invalid":Boolean(m),"aria-describedby":"world-name-help",autoComplete:"off",spellCheck:!1},void 0,!1,void 0,this)]},void 0,!0,void 0,this),B.jsxDEV("p",{id:"world-name-help",className:m?"field-error":"mode",children:m??B.jsxDEV(B.Fragment,{children:["Its address: ",B.jsxDEV("code",{children:[L,"/",k||"staging"]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this),B.jsxDEV("fieldset",{className:"vendor-picker",children:[B.jsxDEV("legend",{children:["Stands in for ",C.length?B.jsxDEV("span",{className:"mode",children:["· ",C.length," picked"]},void 0,!0,void 0,this):null]},void 0,!0,void 0,this),C.length?B.jsxDEV("div",{className:"chips",children:C.map((a)=>B.jsxDEV("button",{type:"button",className:"chip",onClick:()=>R1(a),"aria-label":`Remove ${M3(a)}`,children:[B.jsxDEV(_Z,{vendor:a},void 0,!1,void 0,this),M3(a)," ",B.jsxDEV("span",{"aria-hidden":"true",children:"✕"},void 0,!1,void 0,this)]},a,!0,void 0,this))},void 0,!1,void 0,this):null,B.jsxDEV("input",{type:"search","aria-label":"Find a vendor",placeholder:"Find a vendor: Stripe, Slack, GitHub…",value:d,onChange:(a)=>P(a.target.value),onKeyDown:(a)=>{if(a.key==="Enter"){a.preventDefault();let x=I1[0]?.vendor??(qY.test($1)?$1:"");if(x)R1(x),P("")}}},void 0,!1,void 0,this),B.jsxDEV("div",{className:"vendor-grid",role:"group","aria-label":"Vendors",children:I1.slice(0,48).map((a)=>B.jsxDEV("button",{type:"button",className:"vendor-option","aria-pressed":C.includes(a.vendor),onClick:()=>R1(a.vendor),children:[B.jsxDEV(_Z,{vendor:a.vendor},void 0,!1,void 0,this),B.jsxDEV("span",{className:"vendor-label",children:M3(a.vendor)},void 0,!1,void 0,this),!a.supported?B.jsxDEV("span",{className:"mode",children:"preview"},void 0,!1,void 0,this):null]},a.vendor,!0,void 0,this))},void 0,!1,void 0,this),I1.length===0?B.jsxDEV("p",{className:"mode",children:["No twin named “",d,"” in the catalog."]},void 0,!0,void 0,this):I1.length>48?B.jsxDEV("p",{className:"mode",children:[I1.length-48," more: type to narrow."]},void 0,!0,void 0,this):null]},void 0,!0,void 0,this),f?B.jsxDEV("p",{role:"alert",children:f},void 0,!1,void 0,this):null]},void 0,!0,void 0,this)},void 0,!1,void 0,this)}function bR({org:U,me:L,onChanged:O}){let N=x2(U),v=J3(U),k=v||Boolean(U.security?.membersCanInvite),[b,C]=u.useState(0),V=()=>{C((o)=>o+1),O()},d=M4(`/-/orgs/${N}/members`,b),[P,_]=u.useState(!1),[w,f]=u.useState("");if(d.state!=="ok")return B.jsxDEV(B.Fragment,{children:[B.jsxDEV(B4,{title:"Members"},void 0,!1,void 0,this),B.jsxDEV(D4,{load:d,what:"the members",retry:V},void 0,!1,void 0,this)]},void 0,!0,void 0,this);let{members:D,pending:m=[]}=d.data,n=D.filter((o)=>o.role.endsWith("admin")).length,p=D.filter((o)=>`${o.name??""} ${o.email??""}`.toLowerCase().includes(w.trim().toLowerCase())),r=async(o,a)=>{if(await W2(`/-/orgs/${N}/members/${o.userId}`,{method:"PATCH",body:JSON.stringify({role:a})},`${o.name??o.email??"They"} ${a==="admin"?"is now an admin":"is now a member"}`))V()},$1=async(o)=>{let a=o.userId===L,x=o.name??o.email??o.userId;if(await H6(a?{title:`Leave ${U.name}?`,body:"You lose its Worlds at once. An admin can add you again.",action:"Leave org",danger:!0}:{title:`Remove ${x}?`,body:B.jsxDEV(B.Fragment,{children:["They lose ",U.name," and every World in it at once. Keys they made in a World stay until revoked there."]},void 0,!0,void 0,this),action:"Remove member",danger:!0})&&await W2(`/-/orgs/${N}/members/${o.userId}`,{method:"DELETE"},a?`You left ${U.name}`:`Removed ${x}`))if(a)window.location.assign("/");else V()},I1=async(o)=>{if(await W2(`/-/orgs/${N}/invitations/${o.id}`,{method:"DELETE"},`Invitation to ${o.email} revoked`))V()},R1=async(o)=>{if(await W2(`/-/orgs/${N}/invitations/${o.id}/resend`,{method:"POST"},`Sent ${o.email} a new invitation`))V()};return B.jsxDEV(B.Fragment,{children:[B.jsxDEV(B4,{title:"Members",count:D.length,lede:"People in this org open its Worlds as themselves. Admins manage members, billing and settings.",children:[D.length>6?B.jsxDEV("input",{type:"search",className:"toolbar-search","aria-label":"Find a member",placeholder:"Find a member…",value:w,onChange:(o)=>f(o.target.value)},void 0,!1,void 0,this):null,k?B.jsxDEV("button",{type:"button",className:"primary",onClick:()=>_(!0),children:"Invite people"},void 0,!1,void 0,this):null]},void 0,!0,void 0,this),B.jsxDEV("div",{className:"block",children:[B.jsxDEV("table",{className:"dense","aria-label":`Members of ${N}`,children:[B.jsxDEV("thead",{children:B.jsxDEV("tr",{children:[B.jsxDEV("th",{children:"Member"},void 0,!1,void 0,this),B.jsxDEV("th",{children:"Role"},void 0,!1,void 0,this),B.jsxDEV("th",{className:"num",children:B.jsxDEV("span",{className:"sr",children:"Actions"},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this),B.jsxDEV("tbody",{children:p.map((o)=>{let a=o.email??o.userId,x=o.role.endsWith("admin"),i=o.userId===L,h=x&&n===1;return B.jsxDEV("tr",{children:[B.jsxDEV("td",{children:B.jsxDEV("span",{className:"vendor-cell",children:[B.jsxDEV(B3,{of:o.name??a,small:!0},void 0,!1,void 0,this),B.jsxDEV("span",{className:"who",children:[B.jsxDEV("span",{children:[o.name??a,i?B.jsxDEV("span",{className:"badge you",children:"you"},void 0,!1,void 0,this):null]},void 0,!0,void 0,this),o.name?B.jsxDEV("span",{className:"mode",children:a},void 0,!1,void 0,this):null]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this),B.jsxDEV("td",{children:v?B.jsxDEV("select",{"aria-label":`Role of ${a}`,value:x?"admin":"member",disabled:h,title:h?"The only admin: make someone else an admin first":void 0,onChange:(w1)=>void r(o,w1.target.value==="admin"?"admin":"member"),children:[B.jsxDEV("option",{value:"admin",children:"Admin"},void 0,!1,void 0,this),B.jsxDEV("option",{value:"member",children:"Member"},void 0,!1,void 0,this)]},void 0,!0,void 0,this):B.jsxDEV("span",{className:"badge",children:x?"admin":"member"},void 0,!1,void 0,this)},void 0,!1,void 0,this),B.jsxDEV("td",{className:"num",children:v||i?B.jsxDEV(q8,{label:`More for ${a}`,items:[i?{label:"Leave org…",danger:!0,disabled:h,onSelect:()=>void $1(o)}:null,v&&!i?{label:"Remove from org…",danger:!0,disabled:h,onSelect:()=>void $1(o)}:null]},void 0,!1,void 0,this):null},void 0,!1,void 0,this)]},o.id,!0,void 0,this)})},void 0,!1,void 0,this)]},void 0,!0,void 0,this),n===1&&v?B.jsxDEV("p",{className:"mode table-note",children:"An org keeps at least one admin: to leave it or step down, make someone else an admin first."},void 0,!1,void 0,this):null]},void 0,!0,void 0,this),m.length>0?B.jsxDEV("div",{className:"block",children:[B.jsxDEV("div",{className:"block-head",children:B.jsxDEV("h3",{children:["Pending invitations ",B.jsxDEV("span",{className:"count",children:m.length},void 0,!1,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this),B.jsxDEV("table",{className:"dense pending-table","aria-label":"Pending invitations",children:[B.jsxDEV("thead",{children:B.jsxDEV("tr",{children:[B.jsxDEV("th",{children:"Email"},void 0,!1,void 0,this),B.jsxDEV("th",{children:"Role"},void 0,!1,void 0,this),B.jsxDEV("th",{children:"Invited"},void 0,!1,void 0,this),B.jsxDEV("th",{children:"Expires"},void 0,!1,void 0,this),B.jsxDEV("th",{className:"num",children:B.jsxDEV("span",{className:"sr",children:"Actions"},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this),B.jsxDEV("tbody",{children:m.map((o)=>{let a=o.expiresAt?Date.parse(o.expiresAt)<=Date.now():!1;return B.jsxDEV("tr",{children:[B.jsxDEV("td",{children:o.email},void 0,!1,void 0,this),B.jsxDEV("td",{children:B.jsxDEV("span",{className:"badge",children:o.role.endsWith("admin")?"admin":"member"},void 0,!1,void 0,this)},void 0,!1,void 0,this),B.jsxDEV("td",{className:"mode",children:o.createdAt?B.jsxDEV("span",{title:p0(o.createdAt),children:Y3(o.createdAt)},void 0,!1,void 0,this):"—"},void 0,!1,void 0,this),B.jsxDEV("td",{className:"mode",children:a?B.jsxDEV("span",{className:"badge warn",children:"expired"},void 0,!1,void 0,this):o.expiresAt?Y4(o.expiresAt):"—"},void 0,!1,void 0,this),B.jsxDEV("td",{className:"num",children:v?B.jsxDEV(q8,{label:`More for the invitation to ${o.email}`,items:[{label:"Resend invitation",onSelect:()=>void R1(o)},{label:"Revoke invitation",danger:!0,onSelect:()=>void I1(o)}]},void 0,!1,void 0,this):null},void 0,!1,void 0,this)]},o.id,!0,void 0,this)})},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this):null,B.jsxDEV(yR,{open:P,org:U,onClose:()=>_(!1),onSent:()=>{_(!1),V()}},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}function yR({open:U,org:L,onClose:O,onSent:N}){let v=x2(L),k=J3(L),[b,C]=u.useState([{email:"",role:"member"}]),[V,d]=u.useState(!1),[P,_]=u.useState(null);u.useEffect(()=>{if(U)C([{email:"",role:"member"}]),_(null)},[U]);let w=b.filter((D)=>D.email.trim()).every((D)=>/^[^@\s]+@[^@\s]+\.[^@\s]+$/.test(D.email.trim()))&&b.some((D)=>D.email.trim()),f=async(D)=>{if(D.preventDefault(),!w)return;d(!0),_(null);let m=[],n=[];for(let p of b.filter((r)=>r.email.trim())){let r=p.email.trim(),$1=await G0(`/-/orgs/${v}/members`,{method:"POST",body:JSON.stringify({email:r,role:p.role})}).catch(()=>null);if(!$1||!$1.ok){n.push(`${r}: ${$1?await U8($1):"no answer"}`);continue}let I1=await $1.json().catch(()=>({}));if(!I1.pending&&p.role==="admin"){let o=(await G0(`/-/orgs/${v}/members`).then((a)=>a.json()).catch(()=>({members:[]}))).members.find((a)=>a.email?.toLowerCase()===r.toLowerCase());if(o)await G0(`/-/orgs/${v}/members/${o.userId}`,{method:"PATCH",body:JSON.stringify({role:"admin"})})}m.push(I1.pending?`invited ${r}`:`added ${r}`)}if(d(!1),m.length)p2(`${m.join(", ")}. They get an email`.replace(/^./,(p)=>p.toUpperCase()));if(n.length){_(n.join(`
|
|
237
|
+
`));return}N()};return B.jsxDEV(a0,{open:U,onClose:()=>{if(!V)O()},title:`Invite people to ${L.name}`,footer:B.jsxDEV(B.Fragment,{children:[B.jsxDEV("button",{type:"button",onClick:O,disabled:V,children:"Cancel"},void 0,!1,void 0,this),B.jsxDEV("button",{type:"submit",form:"invite",disabled:V||!w,children:V?"Sending…":b.filter((D)=>D.email.trim()).length>1?"Send invitations":"Send invitation"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),children:B.jsxDEV("form",{id:"invite",onSubmit:f,className:"stack","aria-label":"Invite people",children:[B.jsxDEV("p",{className:"mode",children:"Someone with an account here joins at once; anyone else gets an email and joins when they sign in with that address. Invitations last a week."},void 0,!1,void 0,this),b.map((D,m)=>B.jsxDEV("div",{className:"invite-row",children:[B.jsxDEV("label",{className:"grow",children:[m===0?"Email":B.jsxDEV("span",{className:"sr",children:"Email"},void 0,!1,void 0,this),B.jsxDEV("input",{autoFocus:m===0,type:"email",value:D.email,onChange:(n)=>C(b.map((p,r)=>r===m?{...p,email:n.target.value}:p)),placeholder:"teammate@company.com"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),B.jsxDEV("label",{children:[m===0?"Role":B.jsxDEV("span",{className:"sr",children:"Role"},void 0,!1,void 0,this),B.jsxDEV("select",{value:D.role,disabled:!k,onChange:(n)=>C(b.map((p,r)=>r===m?{...p,role:n.target.value==="admin"?"admin":"member"}:p)),children:[B.jsxDEV("option",{value:"member",children:"Member"},void 0,!1,void 0,this),B.jsxDEV("option",{value:"admin",children:"Admin"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),b.length>1?B.jsxDEV("button",{type:"button",className:"icon-button","aria-label":`Remove row ${m+1}`,onClick:()=>C(b.filter((n,p)=>p!==m)),children:"✕"},void 0,!1,void 0,this):null]},m,!0,void 0,this)),B.jsxDEV("button",{type:"button",className:"link-button",onClick:()=>C([...b,{email:"",role:"member"}]),children:"+ Add another"},void 0,!1,void 0,this),P?B.jsxDEV("p",{role:"alert",className:"pre",children:P},void 0,!1,void 0,this):null]},void 0,!0,void 0,this)},void 0,!1,void 0,this)}var FZ=(U)=>U%100===0?`$${U/100}`:`$${(U/100).toFixed(2)}`;function gR({org:U,admin:L,version:O,flags:N}){let[v]=u.useState(()=>new URLSearchParams(window.location.search).has("upgraded"));u.useEffect(()=>{if(v)try{window.history.replaceState(null,"",window.location.pathname)}catch{}},[v]);let[k,b]=u.useState(0),C=M4(`/-/orgs/${U}/billing${v?"?fresh=1":""}`,O+k),[V,d]=u.useState(!1);if(C.state!=="ok")return B.jsxDEV(B.Fragment,{children:[B.jsxDEV(B4,{title:"Billing"},void 0,!1,void 0,this),B.jsxDEV(D4,{load:C,what:"billing",retry:()=>b((h)=>h+1),lines:5},void 0,!1,void 0,this)]},void 0,!0,void 0,this);let P=C.data,_=async(h)=>{d(!0);let w1=await W2(h,{method:"POST",body:"{}"});if(w1?.url){if(w1.pending)p2("You already have a checkout open: this is the same one");window.location.assign(w1.url);return}d(!1)},w=async(h)=>{if(await W2(`/-/orgs/${U}/billing`,{method:"PATCH",body:JSON.stringify({spendCap:h})},h?"Spend cap on":"Spend cap off: hours beyond the plan are billed"))b((w1)=>w1+1)},f=P.subscription,D=P.plans.find((h)=>h.priceMonthly>0),m=D?.trialDays??null,n=f?.status==="trialing"?{label:"Trial",tone:"info"}:f?.cancelAtPeriodEnd?{label:"Cancels",tone:"warn"}:f?{label:"Active",tone:"ok"}:{label:"Free",tone:""},p=new Date,r=Date.UTC(p.getUTCFullYear(),p.getUTCMonth(),1),$1=Date.UTC(p.getUTCFullYear(),p.getUTCMonth()+1,1),I1=(p.getTime()-r)/($1-r),R1=P.usage.world_hours??0,o=I1>0.04&&R1>0?Math.round(R1/I1):null,a=P.plan.limits.worldHours,x=o!==null&&a!==null&&o>a,i=P.meters.filter((h)=>h.name!=="world_hours");return B.jsxDEV(B.Fragment,{children:[B.jsxDEV(B4,{title:"Billing",lede:B.jsxDEV(B.Fragment,{children:["For ",U,". Payment, invoices and receipts are handled by Polar",L?"":"; an admin changes the plan","."]},void 0,!0,void 0,this)},void 0,!1,void 0,this),P.restriction?B.jsxDEV("div",{role:"alert",className:`notice ${P.restriction.status==="restricted"?"danger":"warn"}`,children:[B.jsxDEV("strong",{children:[P.restriction.status==="restricted"?"Restricted":"Over the plan","."]},void 0,!0,void 0,this)," ",fR(P)]},void 0,!0,void 0,this):null,P.paid?B.jsxDEV("div",{role:"status",className:"notice ok",children:[B.jsxDEV("strong",{children:"Payment received."},void 0,!1,void 0,this)," Your org is on ",P.plan.name,"."]},void 0,!0,void 0,this):null,P.pendingCheckout?B.jsxDEV("div",{role:"status",className:"notice info",children:["Your checkout at Polar is still open. ",B.jsxDEV("a",{href:P.pendingCheckout.url,children:"Continue to checkout"},void 0,!1,void 0,this)]},void 0,!0,void 0,this):null,B.jsxDEV("div",{className:"billing-grid",children:[B.jsxDEV("section",{className:"card plan-card","aria-labelledby":"plan-now",children:[B.jsxDEV("p",{className:"eyebrow",children:"Current plan"},void 0,!1,void 0,this),B.jsxDEV("h3",{id:"plan-now",children:[P.plan.name," ",n.tone?B.jsxDEV("span",{className:`badge ${n.tone}`,children:n.label},void 0,!1,void 0,this):null]},void 0,!0,void 0,this),B.jsxDEV("p",{className:"price-line",children:[B.jsxDEV("span",{className:"price",children:FZ(P.plan.priceMonthly)},void 0,!1,void 0,this),B.jsxDEV("span",{className:"mode",children:[" / month",P.overageCentsPerHour&&P.spendCap===!1?`, plus ${FZ(P.overageCentsPerHour)} per world-hour beyond the plan`:""]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),B.jsxDEV("p",{className:"mode",children:f?.trialEnd&&f.status==="trialing"?`Trial ends ${Y4(f.trialEnd)}; the card is charged then.`:f?.cancelAtPeriodEnd&&f.currentPeriodEnd?`Ends ${Y4(f.currentPeriodEnd)}; back to Free after that.`:f?.currentPeriodEnd?`Renews ${Y4(f.currentPeriodEnd)}.`:"No card on file."},void 0,!1,void 0,this),L?B.jsxDEV("div",{className:"card-actions",children:[P.plan.id==="free"?B.jsxDEV("button",{type:"button",className:"primary",disabled:V,onClick:()=>void _(`/-/orgs/${U}/checkout`),children:V?"Opening Polar…":m&&!f?`Start a ${m}-day trial of ${D?.name??"Team"}`:`Upgrade to ${D?.name??"Team"}`},void 0,!1,void 0,this):B.jsxDEV("button",{type:"button",disabled:V,onClick:()=>void _(`/-/orgs/${U}/billing-portal`),children:V?"Opening Polar…":"Manage billing"},void 0,!1,void 0,this),P.plan.id!=="free"?B.jsxDEV("span",{className:"mode",children:"Invoices, payment method and cancellation are in Polar's portal."},void 0,!1,void 0,this):null]},void 0,!0,void 0,this):null]},void 0,!0,void 0,this),B.jsxDEV("section",{className:"card","aria-labelledby":"usage-now",children:[B.jsxDEV("p",{className:"eyebrow",children:["This period · ",new Date(r).toLocaleDateString(void 0,{month:"short",day:"numeric",timeZone:"UTC"})," to ",new Date($1-1).toLocaleDateString(void 0,{month:"short",day:"numeric",timeZone:"UTC"})]},void 0,!0,void 0,this),B.jsxDEV("h3",{id:"usage-now",className:"sr",children:"Usage"},void 0,!1,void 0,this),B.jsxDEV("div",{className:"meters",children:[B.jsxDEV(JY,{label:"Worlds held",value:P.worlds,limit:P.plan.limits.worlds},void 0,!1,void 0,this),B.jsxDEV(JY,{label:"World-hours",value:R1,limit:a,note:o!==null?B.jsxDEV("span",{className:x?"warn-text":void 0,children:["On pace for about ",o.toLocaleString()," by the end of the period",x?P.spendCap===!1?`; the hours past ${a} are billed`:`; past ${a} the org is warned, then held`:"","."]},void 0,!0,void 0,this):null},void 0,!1,void 0,this)]},void 0,!0,void 0,this),B.jsxDEV("dl",{className:"stats",children:i.map((h)=>B.jsxDEV("div",{children:[B.jsxDEV("dt",{children:h.label.charAt(0).toUpperCase()+h.label.slice(1)},void 0,!1,void 0,this),B.jsxDEV("dd",{children:(P.usage[h.name]??0).toLocaleString()},void 0,!1,void 0,this)]},h.name,!0,void 0,this))},void 0,!1,void 0,this),B.jsxDEV("p",{className:"mode small",children:P.lastTickAt?B.jsxDEV(B.Fragment,{children:["Metered hourly; last at ",B.jsxDEV(Jq,{iso:P.lastTickAt},void 0,!1,void 0,this),"."]},void 0,!0,void 0,this):"Metered hourly; the first hour has not been metered yet."},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),N.usage_by_day&&P.usageByDay&&P.usageByDay.length>0?B.jsxDEV("section",{className:"card","aria-labelledby":"by-day",children:[B.jsxDEV("h3",{id:"by-day",children:"World-hours by day"},void 0,!1,void 0,this),B.jsxDEV("div",{className:"day-bars",role:"img","aria-label":"World-hours by day this period",children:P.usageByDay.map((h)=>{let w1=Math.max(1,...P.usageByDay.map((P1)=>P1.hours));return B.jsxDEV("div",{className:"day-bar",title:`${h.day}: ${h.hours} h, ${h.worlds} World${h.worlds===1?"":"s"}`,children:[B.jsxDEV("span",{style:{height:`${Math.max(3,Math.round(h.hours/w1*100))}%`}},void 0,!1,void 0,this),B.jsxDEV("em",{children:Number(h.day.slice(8))},void 0,!1,void 0,this)]},h.day,!0,void 0,this)})},void 0,!1,void 0,this)]},void 0,!0,void 0,this):null,P.plan.id!=="free"&&P.overageCentsPerHour&&L?B.jsxDEV("section",{className:"card setting-row","aria-labelledby":"cap",children:[B.jsxDEV("div",{children:[B.jsxDEV("h3",{id:"cap",children:"Spend cap"},void 0,!1,void 0,this),B.jsxDEV("p",{className:"mode",children:P.spendCap!==!1?`On: past the plan's ${a} world-hours, the org is warned and then held, never billed more.`:`Off: hours past the plan's ${a} are billed at ${FZ(P.overageCentsPerHour)} each, and nothing is held.`},void 0,!1,void 0,this)]},void 0,!0,void 0,this),B.jsxDEV(o7,{label:"Spend cap",checked:P.spendCap!==!1,onChange:(h)=>void w(h)},void 0,!1,void 0,this)]},void 0,!0,void 0,this):null,B.jsxDEV("h3",{className:"section-title",children:"Plans"},void 0,!1,void 0,this),B.jsxDEV("div",{className:"plans",children:P.plans.map((h)=>{let w1=h.id===P.plan.id;return B.jsxDEV("section",{className:w1?"card plan current":"card plan","aria-labelledby":`plan-${h.id}`,children:[B.jsxDEV("h4",{id:`plan-${h.id}`,children:[h.name," ",w1?B.jsxDEV("span",{className:"badge",children:"current"},void 0,!1,void 0,this):null]},void 0,!0,void 0,this),B.jsxDEV("p",{className:"price-line",children:[B.jsxDEV("span",{className:"price",children:FZ(h.priceMonthly)},void 0,!1,void 0,this),B.jsxDEV("span",{className:"mode",children:" / month"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),B.jsxDEV("p",{className:"mode",children:h.pitch},void 0,!1,void 0,this),B.jsxDEV("ul",{className:"checks",children:h.features.map((P1)=>B.jsxDEV("li",{children:P1},P1,!1,void 0,this))},void 0,!1,void 0,this),!w1&&L&&h.priceMonthly>P.plan.priceMonthly?B.jsxDEV("button",{type:"button",className:"primary",disabled:V,onClick:()=>void _(`/-/orgs/${U}/checkout`),children:h.trialDays&&!f?`Start a ${h.trialDays}-day trial`:`Upgrade to ${h.name}`},void 0,!1,void 0,this):null,!w1&&L&&h.priceMonthly<P.plan.priceMonthly?B.jsxDEV("button",{type:"button",disabled:V,onClick:()=>void _(`/-/orgs/${U}/billing-portal`),children:"Downgrade in the portal"},void 0,!1,void 0,this):null]},h.id,!0,void 0,this)})},void 0,!1,void 0,this),P.reminders?.trialEnding||P.reminders?.renewal?B.jsxDEV("p",{className:"mode small",children:["We email the admins seven days before the ",P.reminders.trialEnding?"trial ends":"renewal"," (",Y4(P.reminders.trialEnding??P.reminders.renewal),")."]},void 0,!0,void 0,this):null]},void 0,!0,void 0,this)}function fR(U){let L=U.restriction,O=Y4(L.graceEnds),N=U.plan.limits.worlds??0;if(L.meter==="worlds"){let v=L.reason==="no_subscription"?`Your subscription ended, so this org is on the Free plan, which allows ${N} World${N===1?"":"s"}; it holds ${U.worlds}.`:`The ${U.plan.name} plan allows ${N} World${N===1?"":"s"}; this org holds ${U.worlds}.`;return L.status==="restricted"?`${v} Nothing was deleted, but since ${O} the Worlds no longer refresh and new ones are refused, until you upgrade or delete Worlds down to ${N}.`:`${v} Nothing is deleted, and the Worlds keep working until ${O}. New Worlds beyond ${N} are refused from now on.`}return L.status==="restricted"?`The plan's world-hours ran out and the grace period ended ${O}: upgrade to make and refresh Worlds again.`:`This period passed the plan's world-hours. Everything keeps working until ${O}; after that, making and refreshing Worlds is held until you upgrade or the next period begins.`}function o7({label:U,checked:L,onChange:O,disabled:N}){return B.jsxDEV("label",{className:"switch",children:[B.jsxDEV("input",{type:"checkbox",role:"switch","aria-label":U,checked:L,disabled:N,onChange:(v)=>O(v.target.checked)},void 0,!1,void 0,this),B.jsxDEV("span",{"aria-hidden":"true"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}function hR({org:U,sub:L,info:O,version:N,onChanged:v,onDeleted:k}){let b=x2(U),C=Tq.filter(([d])=>d!=="support"||O?.support),V=(d)=>({kind:"org",org:b,page:"settings",sub:d});return B.jsxDEV(B.Fragment,{children:[B.jsxDEV(B4,{title:"Settings"},void 0,!1,void 0,this),B.jsxDEV(Wq,{label:"Settings",items:C.map(([d,P])=>({label:P,href:r7(V(d)),on:L===d,onClick:Iq(V(d))}))},void 0,!1,void 0,this),!J3(U)?B.jsxDEV(L5,{title:"Settings are for admins",children:["You are a member of ",U.name,". Ask one of its admins to change its settings."]},void 0,!0,void 0,this):B.jsxDEV("div",{className:"settings",children:[L==="general"?B.jsxDEV(VR,{org:U,onChanged:v,onDeleted:k},void 0,!1,void 0,this):null,L==="security"?B.jsxDEV(jR,{org:b,onChanged:v},void 0,!1,void 0,this):null,L==="tokens"?B.jsxDEV(vq,{kind:"org",org:b},void 0,!1,void 0,this):null,L==="webhooks"?U.flags?.webhooks?B.jsxDEV(dR,{org:b},void 0,!1,void 0,this):B.jsxDEV(L5,{title:"Webhooks are in Labs",action:B.jsxDEV("a",{className:"button",href:r7(V("labs")),onClick:Iq(V("labs")),children:"Open Labs"},void 0,!1,void 0,this),children:["Turn them on for ",U.name," under Labs, then add an endpoint here."]},void 0,!0,void 0,this):null,L==="labs"?B.jsxDEV(uR,{org:b,onChanged:v},void 0,!1,void 0,this):null,L==="support"&&O?.support?B.jsxDEV(lR,{org:b,version:N},void 0,!1,void 0,this):null]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)}function VR({org:U,onChanged:L,onDeleted:O}){let N=x2(U),v=U.worlds?.length??0,[k,b]=u.useState(U.name),[C,V]=u.useState(!1);u.useEffect(()=>{b(U.name)},[U.name]);let d=async(_)=>{if(_.preventDefault(),V(!0),await W2(`/-/orgs/${N}`,{method:"PATCH",body:JSON.stringify({name:k.trim()})},"Name saved"))L();V(!1)},P=async()=>{if(await H6({title:`Delete ${U.name}?`,body:B.jsxDEV(B.Fragment,{children:["This deletes the org for every member",v?B.jsxDEV(B.Fragment,{children:[", and its ",B.jsxDEV("strong",{children:[v," World",v===1?"":"s"]},void 0,!0,void 0,this)," with their whole history"]},void 0,!0,void 0,this):"",". Its members keep their accounts. This cannot be undone."]},void 0,!0,void 0,this),action:v?`Delete org and ${v} World${v===1?"":"s"}`:"Delete org",danger:!0,typed:N})&&await W2(`/-/orgs/${N}${v?"?everything=1":""}`,{method:"DELETE"},`Deleted ${U.name}`))O()};return B.jsxDEV(B.Fragment,{children:[B.jsxDEV("section",{className:"card","aria-labelledby":"general",children:[B.jsxDEV("h3",{id:"general",children:"Org name"},void 0,!1,void 0,this),B.jsxDEV("form",{onSubmit:d,className:"stack",children:[B.jsxDEV("label",{children:[B.jsxDEV("span",{className:"sr",children:"Org name"},void 0,!1,void 0,this),B.jsxDEV("input",{name:"orgRename",value:k,onChange:(_)=>b(_.target.value),maxLength:64,required:!0},void 0,!1,void 0,this)]},void 0,!0,void 0,this),B.jsxDEV("p",{className:"mode",children:["The name people see. The org's address stays ",B.jsxDEV("code",{children:N},void 0,!1,void 0,this),", so nothing your code or the command points at moves."]},void 0,!0,void 0,this),B.jsxDEV("div",{className:"card-actions",children:B.jsxDEV("button",{type:"submit",disabled:C||!k.trim()||k.trim()===U.name,children:"Save"},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),B.jsxDEV("section",{className:"card","aria-labelledby":"ids",children:[B.jsxDEV("h3",{id:"ids",children:"Address and id"},void 0,!1,void 0,this),B.jsxDEV(q5,{label:"Address",value:N},void 0,!1,void 0,this),B.jsxDEV(q5,{label:"Org id (the API's and the audit log's)",value:U.id},void 0,!1,void 0,this)]},void 0,!0,void 0,this),B.jsxDEV("section",{className:"card danger-zone","aria-labelledby":"danger",children:[B.jsxDEV("h3",{id:"danger",children:"Danger zone"},void 0,!1,void 0,this),B.jsxDEV("div",{className:"setting-row",children:[B.jsxDEV("div",{children:[B.jsxDEV("strong",{children:"Delete this org"},void 0,!1,void 0,this),B.jsxDEV("p",{className:"mode",children:["For every member",v?`, with its ${v} World${v===1?"":"s"}`:"",". You type its address to confirm."]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),B.jsxDEV("button",{type:"button",className:"danger-outline",onClick:()=>void P(),children:"Delete org…"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)}function jR({org:U,onChanged:L}){let[O,N]=u.useState(0),v=M4(`/-/orgs/${U}/security`,O),[k,b]=u.useState(null);if(v.state!=="ok")return B.jsxDEV(D4,{load:v,what:"the security settings",retry:()=>N((P)=>P+1)},void 0,!1,void 0,this);let C=v.data.security,V=async(P,_)=>{if(await W2(`/-/orgs/${U}/security`,{method:"PATCH",body:JSON.stringify({...C,...P})},_))N((w)=>w+1),L()},d=k??C.approvedEmailDomains.join(", ");return B.jsxDEV("section",{className:"card","aria-label":"Security",children:[B.jsxDEV("div",{className:"setting-row",children:[B.jsxDEV("div",{children:[B.jsxDEV("strong",{children:"Members may invite"},void 0,!1,void 0,this),B.jsxDEV("p",{className:"mode",children:"Otherwise only admins add and invite people."},void 0,!1,void 0,this)]},void 0,!0,void 0,this),B.jsxDEV(o7,{label:"Members may invite",checked:C.membersCanInvite,onChange:(P)=>void V({membersCanInvite:P},P?"Members may invite":"Only admins invite")},void 0,!1,void 0,this)]},void 0,!0,void 0,this),B.jsxDEV("div",{className:"setting-row",children:[B.jsxDEV("div",{children:[B.jsxDEV("strong",{children:"Personal tokens may open this org"},void 0,!1,void 0,this),B.jsxDEV("p",{className:"mode",children:"Off: only people signed in, and org tokens, reach it; a member's personal token is refused."},void 0,!1,void 0,this)]},void 0,!0,void 0,this),B.jsxDEV(o7,{label:"Personal tokens may open this org",checked:C.membersCanUsePersonalTokens,onChange:(P)=>void V({membersCanUsePersonalTokens:P},P?"Personal tokens allowed":"Personal tokens refused")},void 0,!1,void 0,this)]},void 0,!0,void 0,this),B.jsxDEV("form",{className:"setting-row stack-row",onSubmit:(P)=>{P.preventDefault(),V({approvedEmailDomains:d.split(",").map((_)=>_.trim()).filter(Boolean)},"Approved domains saved").then(()=>b(null))},children:[B.jsxDEV("label",{className:"grow",children:[B.jsxDEV("strong",{children:"Approved email domains"},void 0,!1,void 0,this),B.jsxDEV("span",{className:"mode",children:"Invitations go only to these domains. Empty: any."},void 0,!1,void 0,this),B.jsxDEV("input",{name:"approvedEmailDomains",value:d,onChange:(P)=>b(P.target.value),placeholder:"acme.com, acme.dev"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),B.jsxDEV("button",{type:"submit",disabled:k===null,children:"Save"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)}function vq({kind:U,org:L}){let O=U==="org"?`/-/orgs/${L}/tokens`:"/-/tokens",[N,v]=u.useState(0),k=M4(O,N),[b,C]=u.useState(!1),[V,d]=u.useState(null),P=async(w)=>{if(await H6({title:`Revoke ${w.name}?`,body:B.jsxDEV(B.Fragment,{children:["Whatever uses the token ending ",B.jsxDEV("code",{children:["…",w.last4]},void 0,!0,void 0,this)," is refused from now on."]},void 0,!0,void 0,this),action:"Revoke token",danger:!0})&&await W2(`${O}/${w.id}`,{method:"DELETE"},`Revoked ${w.name}`))v((D)=>D+1)},_=U==="org"?"Org tokens":"Personal access tokens";return B.jsxDEV("section",{className:"card flush","aria-label":_,children:[B.jsxDEV("div",{className:"card-head",children:[B.jsxDEV("div",{children:[B.jsxDEV("h3",{children:_},void 0,!1,void 0,this),B.jsxDEV("p",{className:"mode",children:U==="org"?B.jsxDEV(B.Fragment,{children:["Act as the org, not a person: for CI and scripts. ",B.jsxDEV("code",{children:["volter login ",Q0," --token …"]},void 0,!0,void 0,this),", then ",B.jsxDEV("code",{children:["volter remote add origin ",L,"/<world>"]},void 0,!0,void 0,this),"."]},void 0,!0,void 0,this):B.jsxDEV(B.Fragment,{children:["Sign the ",B.jsxDEV("code",{children:"volter"},void 0,!1,void 0,this)," command in as you without a browser, for scripts and CI. In a terminal, ",B.jsxDEV("code",{children:["volter login ",Q0]},void 0,!0,void 0,this)," does it through the browser instead."]},void 0,!0,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this),B.jsxDEV("button",{type:"button",className:"primary",onClick:()=>C(!0),children:"Create token"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),k.state!=="ok"?B.jsxDEV(D4,{load:k,what:"the tokens",retry:()=>v((w)=>w+1)},void 0,!1,void 0,this):k.data.tokens.length===0?B.jsxDEV("p",{className:"mode table-note",children:"No tokens yet."},void 0,!1,void 0,this):B.jsxDEV("table",{className:"dense tokens-table","aria-label":U==="org"?"Org tokens":"Your tokens",children:[B.jsxDEV("thead",{children:B.jsxDEV("tr",{children:[B.jsxDEV("th",{children:"Name"},void 0,!1,void 0,this),B.jsxDEV("th",{children:"Access"},void 0,!1,void 0,this),B.jsxDEV("th",{children:"Created"},void 0,!1,void 0,this),B.jsxDEV("th",{children:"Last used"},void 0,!1,void 0,this),B.jsxDEV("th",{children:"Expires"},void 0,!1,void 0,this),B.jsxDEV("th",{className:"num",children:B.jsxDEV("span",{className:"sr",children:"Actions"},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this),B.jsxDEV("tbody",{children:k.data.tokens.map((w)=>{let f=w.expiresAt?Date.parse(w.expiresAt)<=Date.now():!1;return B.jsxDEV("tr",{children:[B.jsxDEV("td",{children:B.jsxDEV("span",{className:"who",children:[B.jsxDEV("span",{children:w.name},void 0,!1,void 0,this),B.jsxDEV("span",{className:"mode mono",children:["…",w.last4]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this),B.jsxDEV("td",{className:"mode",children:xR(w.scopes)},void 0,!1,void 0,this),B.jsxDEV("td",{className:"mode",children:B.jsxDEV("span",{title:p0(w.createdAt),children:Y4(w.createdAt)},void 0,!1,void 0,this)},void 0,!1,void 0,this),B.jsxDEV("td",{className:"mode",children:w.lastUsedAt?B.jsxDEV("span",{title:p0(w.lastUsedAt),children:Y3(w.lastUsedAt)},void 0,!1,void 0,this):"never"},void 0,!1,void 0,this),B.jsxDEV("td",{className:"mode",children:w.expiresAt===null?"never":f?B.jsxDEV("span",{className:"badge warn",children:"expired"},void 0,!1,void 0,this):w.expiresAt?Y4(w.expiresAt):"—"},void 0,!1,void 0,this),B.jsxDEV("td",{className:"num",children:B.jsxDEV(q8,{label:`More for ${w.name}`,items:[{label:"Revoke…",danger:!0,onSelect:()=>void P(w)}]},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},w.id,!0,void 0,this)})},void 0,!1,void 0,this)]},void 0,!0,void 0,this),B.jsxDEV(mR,{open:b,kind:U,base:O,onClose:()=>C(!1),onMade:(w)=>{C(!1),d(w),v((f)=>f+1)}},void 0,!1,void 0,this),B.jsxDEV(a0,{open:Boolean(V),onClose:()=>d(null),title:`${V?.name??"Token"} is ready`,footer:B.jsxDEV("button",{type:"button",className:"primary",onClick:()=>d(null),children:"Done"},void 0,!1,void 0,this),children:[B.jsxDEV("p",{className:"notice warn",children:"Copy it now: it is shown this once and never again."},void 0,!1,void 0,this),V?B.jsxDEV(q5,{label:"Token",value:V.token,secret:!0},void 0,!1,void 0,this):null,V?B.jsxDEV(q5,{label:"Use it",value:`volter login ${Q0} --token ${V.token}`,secret:!0},void 0,!1,void 0,this):null]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)}function mR({open:U,kind:L,base:O,onClose:N,onMade:v}){let[k,b]=u.useState(""),[C,V]=u.useState("30"),[d,P]=u.useState(L==="org"?"read":"all"),[_,w]=u.useState({worlds:"read"}),[f,D]=u.useState(!1),[m,n]=u.useState(null);u.useEffect(()=>{if(U)b(""),V(L==="org"?"90":"30"),P(L==="org"?"read":"all"),n(null)},[U,L]);let p=async(r)=>{r.preventDefault(),D(!0),n(null);let $1=await G0(O,{method:"POST",body:JSON.stringify({name:k.trim(),expiresInDays:C==="never"?null:Number(C),scopes:ER(d,_)})}).catch(()=>null);if(D(!1),!$1){n(`${Q0} did not answer`);return}let I1=await $1.json().catch(()=>({}));if(!$1.ok||!I1.token){n(I1.error??`answered ${$1.status}`);return}v({token:I1.token,name:k.trim()})};return B.jsxDEV(a0,{open:U,onClose:()=>{if(!f)N()},title:L==="org"?"Create an org token":"Create a personal token",footer:B.jsxDEV(B.Fragment,{children:[B.jsxDEV("button",{type:"button",onClick:N,disabled:f,children:"Cancel"},void 0,!1,void 0,this),B.jsxDEV("button",{type:"submit",form:"make-token",disabled:f||!k.trim(),children:f?"Creating…":"Create token"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),children:B.jsxDEV("form",{id:"make-token",onSubmit:p,className:"stack","aria-label":"Create a token",children:[B.jsxDEV("label",{children:["Name ",B.jsxDEV("input",{autoFocus:!0,name:"tokenName",value:k,onChange:(r)=>b(r.target.value),placeholder:L==="org"?"github-actions":"my laptop",maxLength:80,required:!0},void 0,!1,void 0,this)]},void 0,!0,void 0,this),B.jsxDEV("label",{children:["Expires ",B.jsxDEV("select",{name:"tokenExpiry",value:C,onChange:(r)=>V(r.target.value),children:[B.jsxDEV("option",{value:"7",children:"in 7 days"},void 0,!1,void 0,this),B.jsxDEV("option",{value:"30",children:"in 30 days"},void 0,!1,void 0,this),B.jsxDEV("option",{value:"90",children:"in 90 days"},void 0,!1,void 0,this),B.jsxDEV("option",{value:"365",children:"in a year"},void 0,!1,void 0,this),B.jsxDEV("option",{value:"never",children:"never (not recommended)"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),B.jsxDEV("fieldset",{className:"choice",children:[B.jsxDEV("legend",{children:"Access"},void 0,!1,void 0,this),[["all","Full access",L==="org"?"Everything an admin may do in the org.":"Everything you may do."],["read","Read only","Read Worlds, orgs, members, billing and activity; change nothing."],["custom","Choose","Pick read or read-and-write per kind of thing."]].map(([r,$1,I1])=>B.jsxDEV("label",{className:d===r?"choice-card on":"choice-card",children:[B.jsxDEV("input",{type:"radio",name:"tokenAccess",value:r,checked:d===r,onChange:()=>P(r)},void 0,!1,void 0,this),B.jsxDEV("span",{children:[B.jsxDEV("strong",{children:$1},void 0,!1,void 0,this),B.jsxDEV("span",{className:"mode",children:I1},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},r,!0,void 0,this))]},void 0,!0,void 0,this),d==="custom"?B.jsxDEV("div",{className:"scope-grid",children:IZ.map((r)=>B.jsxDEV("label",{children:[B.jsxDEV("span",{children:r},void 0,!1,void 0,this),B.jsxDEV("select",{"aria-label":`Scope: ${r}`,value:_[r]??"none",onChange:($1)=>w({..._,[r]:$1.target.value}),children:[B.jsxDEV("option",{value:"none",children:"No access"},void 0,!1,void 0,this),B.jsxDEV("option",{value:"read",children:"Read"},void 0,!1,void 0,this),B.jsxDEV("option",{value:"write",children:"Read and write"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},r,!0,void 0,this))},void 0,!1,void 0,this):null,m?B.jsxDEV("p",{role:"alert",children:m},void 0,!1,void 0,this):null]},void 0,!0,void 0,this)},void 0,!1,void 0,this)}function DR({world:U,onClose:L}){let[O,N]=u.useState(""),[v,k]=u.useState("write"),[b,C]=u.useState("90"),[V,d]=u.useState(!1),[P,_]=u.useState(null),[w,f]=u.useState(null);u.useEffect(()=>{if(U)N(""),k("write"),C("90"),_(null),f(null)},[U]);let D=async(m)=>{if(m.preventDefault(),!U)return;d(!0),_(null);let n=await G0(`/-/worlds/${U}/keys`,{method:"POST",body:JSON.stringify({name:O.trim(),scope:v,expiresInDays:b==="never"?null:Number(b)})}).catch(()=>null);d(!1);let p=n?await n.json().catch(()=>({})):{};if(!n||!n.ok||!p.key){_(p.error??(n?`answered ${n.status}`:`${Q0} did not answer`));return}f({key:p.key,base:p.base??""})};return B.jsxDEV(a0,{open:U!==null,onClose:()=>{if(!V)L()},title:`Make a key for ${U??""}`,footer:w?B.jsxDEV("button",{type:"button",className:"primary",onClick:L,children:"Done"},void 0,!1,void 0,this):B.jsxDEV(B.Fragment,{children:[B.jsxDEV("button",{type:"button",onClick:L,disabled:V,children:"Cancel"},void 0,!1,void 0,this),B.jsxDEV("button",{type:"submit",form:"world-key",disabled:V||!O.trim(),children:V?"Making…":"Make key"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),children:w?B.jsxDEV("div",{className:"stack",children:[B.jsxDEV("p",{children:"Copy it now: it is shown once. It is yours, and is revoked if you leave the org; its World lists it under Settings."},void 0,!1,void 0,this),B.jsxDEV(q5,{label:"Key",value:w.key,secret:!0},void 0,!1,void 0,this),w.base?B.jsxDEV(q5,{label:"The World's address",value:w.base},void 0,!1,void 0,this):null]},void 0,!0,void 0,this):B.jsxDEV("form",{id:"world-key",onSubmit:D,className:"stack","aria-label":"Make a key",children:[B.jsxDEV("label",{children:["Name ",B.jsxDEV("input",{autoFocus:!0,name:"keyName",value:O,onChange:(m)=>N(m.target.value),placeholder:"staging app",maxLength:80,required:!0},void 0,!1,void 0,this)]},void 0,!0,void 0,this),B.jsxDEV("label",{children:["Access ",B.jsxDEV("select",{name:"keyScope",value:v,onChange:(m)=>k(m.target.value==="read"?"read":"write"),children:[B.jsxDEV("option",{value:"write",children:"Read and write"},void 0,!1,void 0,this),B.jsxDEV("option",{value:"read",children:"Read only"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),B.jsxDEV("label",{children:["Expires ",B.jsxDEV("select",{name:"keyExpiry",value:b,onChange:(m)=>C(m.target.value),children:[B.jsxDEV("option",{value:"7",children:"in 7 days"},void 0,!1,void 0,this),B.jsxDEV("option",{value:"30",children:"in 30 days"},void 0,!1,void 0,this),B.jsxDEV("option",{value:"90",children:"in 90 days"},void 0,!1,void 0,this),B.jsxDEV("option",{value:"365",children:"in a year"},void 0,!1,void 0,this),B.jsxDEV("option",{value:"never",children:"never (not recommended)"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),P?B.jsxDEV("p",{role:"alert",children:P},void 0,!1,void 0,this):null]},void 0,!0,void 0,this)},void 0,!1,void 0,this)}var IZ=["worlds","orgs","members","billing","tokens","activity"];function ER(U,L){if(U==="all")return["*"];if(U==="read")return IZ.map((N)=>`${N}:read`);let O=IZ.filter((N)=>L[N]&&L[N]!=="none").map((N)=>`${N}:${L[N]}`);return O.length?O:["worlds:read"]}function xR(U){if(!U||U.includes("*"))return"Full access";if(IZ.every((L)=>U.includes(`${L}:read`))&&U.every((L)=>L.endsWith(":read")))return"Read only";return U.map((L)=>L.replace(":write"," (write)").replace(":read","")).join(", ")}function uR({org:U,onChanged:L}){let[O,N]=u.useState(0),v=M4(`/-/orgs/${U}/labs`,O);if(v.state!=="ok")return B.jsxDEV(D4,{load:v,what:"Labs",retry:()=>N((V)=>V+1)},void 0,!1,void 0,this);let{features:k,earlyAdopter:b}=v.data,C=async(V,d)=>{if(await W2(`/-/orgs/${U}/labs`,{method:"PATCH",body:JSON.stringify(V)},d))N((P)=>P+1),L()};return B.jsxDEV("section",{className:"card","aria-label":"Labs",children:[B.jsxDEV("p",{className:"mode",children:"Features that are new: try them before everyone has them. Each can be turned off again."},void 0,!1,void 0,this),B.jsxDEV("div",{className:"setting-row",children:[B.jsxDEV("div",{children:[B.jsxDEV("strong",{children:"Early adopter"},void 0,!1,void 0,this),B.jsxDEV("p",{className:"mode",children:"Every new feature is on for this org as soon as it lands."},void 0,!1,void 0,this)]},void 0,!0,void 0,this),B.jsxDEV(o7,{label:"Early adopter",checked:b,onChange:(V)=>void C({earlyAdopter:V},V?"Every new feature is on":"Early adopter off")},void 0,!1,void 0,this)]},void 0,!0,void 0,this),k.map((V)=>B.jsxDEV("div",{className:"setting-row",children:[B.jsxDEV("div",{children:[B.jsxDEV("strong",{children:V.name},void 0,!1,void 0,this)," ",B.jsxDEV("span",{className:"badge",children:["since ",Y4(V.since)]},void 0,!0,void 0,this),B.jsxDEV("p",{className:"mode",children:V.description},void 0,!1,void 0,this)]},void 0,!0,void 0,this),B.jsxDEV(o7,{label:V.name,checked:b||V.on,disabled:b,onChange:(d)=>void C({flags:{[V.key]:d}},`${V.name} ${d?"on":"off"}`)},void 0,!1,void 0,this)]},V.key,!0,void 0,this))]},void 0,!0,void 0,this)}function dR({org:U}){let[L,O]=u.useState(0),N=M4(`/-/orgs/${U}/webhooks`,L),[v,k]=u.useState(!1),[b,C]=u.useState(null),[V,d]=u.useState(null),[P,_]=u.useState(null),w=()=>O((p)=>p+1),f=async(p)=>{d(p),_(null);let r=await W2(`/-/orgs/${U}/webhooks/${p.id}/deliveries`,{});_(r?.deliveries??[])},D=async(p)=>{let r=await W2(`/-/orgs/${U}/webhooks/${p.id}/test`,{method:"POST"});if(r){let $1=r.delivery.attempts[0];p2(r.delivery.state==="delivered"?`Test delivered (${$1?.status})`:`Test not delivered (${$1?.status??$1?.response}); retrying`,r.delivery.state==="delivered"?"ok":"error"),w()}},m=async(p)=>{if(await H6({title:"Remove this endpoint?",body:B.jsxDEV(B.Fragment,{children:["Nothing more is sent to ",B.jsxDEV("code",{children:p.url},void 0,!1,void 0,this),"."]},void 0,!0,void 0,this),action:"Remove endpoint",danger:!0})&&await W2(`/-/orgs/${U}/webhooks/${p.id}`,{method:"DELETE"},"Endpoint removed"))w()};if(N.state!=="ok")return B.jsxDEV(D4,{load:N,what:"the webhooks",retry:w},void 0,!1,void 0,this);let n=(p)=>p.disabledAt?B.jsxDEV("span",{className:"badge warn",children:"disabled"},void 0,!1,void 0,this):p.consecutiveFailures>0?B.jsxDEV("span",{className:"badge warn",children:["failing · ",p.consecutiveFailures]},void 0,!0,void 0,this):B.jsxDEV("span",{className:"badge ok",children:"active"},void 0,!1,void 0,this);return B.jsxDEV("section",{className:"card flush","aria-label":"Webhooks",children:[B.jsxDEV("div",{className:"card-head",children:[B.jsxDEV("div",{children:[B.jsxDEV("h3",{children:"Webhooks"},void 0,!1,void 0,this),B.jsxDEV("p",{className:"mode",children:"Events the org raises (a World made, a member added, the plan changed) sent to your endpoint as JSON, signed with Standard Webhooks. Retried with backoff; twenty failures in a row disable the endpoint and email the admins."},void 0,!1,void 0,this)]},void 0,!0,void 0,this),B.jsxDEV("button",{type:"button",className:"primary",onClick:()=>k(!0),children:"Add endpoint"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),N.data.webhooks.length===0?B.jsxDEV("p",{className:"mode table-note",children:"No endpoints yet."},void 0,!1,void 0,this):B.jsxDEV("table",{className:"dense","aria-label":"Endpoints",children:[B.jsxDEV("thead",{children:B.jsxDEV("tr",{children:[B.jsxDEV("th",{children:"Endpoint"},void 0,!1,void 0,this),B.jsxDEV("th",{children:"Events"},void 0,!1,void 0,this),B.jsxDEV("th",{children:"Status"},void 0,!1,void 0,this),B.jsxDEV("th",{className:"num",children:B.jsxDEV("span",{className:"sr",children:"Actions"},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this),B.jsxDEV("tbody",{children:N.data.webhooks.map((p)=>B.jsxDEV("tr",{children:[B.jsxDEV("td",{children:B.jsxDEV("span",{className:"who",children:[B.jsxDEV("code",{children:p.url},void 0,!1,void 0,this),p.description?B.jsxDEV("span",{className:"mode",children:p.description},void 0,!1,void 0,this):null]},void 0,!0,void 0,this)},void 0,!1,void 0,this),B.jsxDEV("td",{className:"mode",children:p.events.includes("*")?"Every event":p.events.join(", ")},void 0,!1,void 0,this),B.jsxDEV("td",{children:n(p)},void 0,!1,void 0,this),B.jsxDEV("td",{className:"num",children:B.jsxDEV(q8,{label:`More for ${p.url}`,items:[{label:"Send a test event",onSelect:()=>void D(p)},{label:"Deliveries",onSelect:()=>void f(p)},p.disabledAt?{label:"Enable",onSelect:()=>void W2(`/-/orgs/${U}/webhooks/${p.id}`,{method:"PATCH",body:JSON.stringify({enabled:!0})},"Endpoint enabled").then(w)}:{label:"Disable",onSelect:()=>void W2(`/-/orgs/${U}/webhooks/${p.id}`,{method:"PATCH",body:JSON.stringify({enabled:!1})},"Endpoint disabled").then(w)},{label:"Remove…",danger:!0,onSelect:()=>void m(p)}]},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},p.id,!0,void 0,this))},void 0,!1,void 0,this)]},void 0,!0,void 0,this),B.jsxDEV(cR,{open:v,org:U,names:N.data.events,onClose:()=>k(!1),onMade:(p)=>{k(!1),C(p),w()}},void 0,!1,void 0,this),B.jsxDEV(a0,{open:Boolean(b),onClose:()=>C(null),title:"Endpoint added",footer:B.jsxDEV("button",{type:"button",className:"primary",onClick:()=>C(null),children:"Done"},void 0,!1,void 0,this),children:[B.jsxDEV("p",{className:"notice warn",children:"Copy its signing secret now: it is shown this once. Your receiver verifies each delivery with it."},void 0,!1,void 0,this),b?B.jsxDEV(q5,{label:"Signing secret",value:b,secret:!0},void 0,!1,void 0,this):null]},void 0,!0,void 0,this),B.jsxDEV(a0,{open:Boolean(V),onClose:()=>d(null),title:"Deliveries",wide:!0,children:[V?B.jsxDEV("p",{className:"mode",children:[B.jsxDEV("code",{children:V.url},void 0,!1,void 0,this),": the last fifty, newest first."]},void 0,!0,void 0,this):null,P===null?B.jsxDEV(n7,{lines:4,label:"Loading the deliveries…"},void 0,!1,void 0,this):P.length===0?B.jsxDEV("p",{className:"mode",children:"No deliveries yet."},void 0,!1,void 0,this):B.jsxDEV("table",{className:"dense",children:[B.jsxDEV("thead",{children:B.jsxDEV("tr",{children:[B.jsxDEV("th",{children:"When"},void 0,!1,void 0,this),B.jsxDEV("th",{children:"Event"},void 0,!1,void 0,this),B.jsxDEV("th",{children:"Attempt"},void 0,!1,void 0,this),B.jsxDEV("th",{children:"Answer"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this),B.jsxDEV("tbody",{children:P.map((p)=>{let r=p.attempts[p.attempts.length-1];return B.jsxDEV("tr",{children:[B.jsxDEV("td",{className:"mode",children:r?B.jsxDEV("span",{title:p0(r.at),children:Y3(r.at)},void 0,!1,void 0,this):"—"},void 0,!1,void 0,this),B.jsxDEV("td",{children:p.event},void 0,!1,void 0,this),B.jsxDEV("td",{children:[p.attempt,p.state==="pending"?B.jsxDEV("span",{className:"mode",children:[" · next ",Y3(p.nextAt)]},void 0,!0,void 0,this):B.jsxDEV("span",{className:`badge ${p.state==="delivered"?"ok":"warn"}`,children:p.state},void 0,!1,void 0,this)]},void 0,!0,void 0,this),B.jsxDEV("td",{className:"mode",children:[r?.status??"—"," ",(r?.response??"").slice(0,60)]},void 0,!0,void 0,this)]},p.id,!0,void 0,this)})},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)}function cR({open:U,org:L,names:O,onClose:N,onMade:v}){let[k,b]=u.useState(""),[C,V]=u.useState(""),[d,P]=u.useState(!0),[_,w]=u.useState([]),[f,D]=u.useState(null),[m,n]=u.useState(!1);u.useEffect(()=>{if(U)b(""),V(""),P(!0),w([]),D(null)},[U]);let p=async(r)=>{r.preventDefault(),n(!0),D(null);let $1=await G0(`/-/orgs/${L}/webhooks`,{method:"POST",body:JSON.stringify({url:k,description:C,events:d?["*"]:_})}).catch(()=>null);n(!1);let I1=$1?await $1.json().catch(()=>({})):{error:`${Q0} did not answer`};if(!$1?.ok||!I1.secret){D(I1.error??"refused");return}v(I1.secret)};return B.jsxDEV(a0,{open:U,onClose:()=>{if(!m)N()},title:"Add an endpoint",footer:B.jsxDEV(B.Fragment,{children:[B.jsxDEV("button",{type:"button",onClick:N,disabled:m,children:"Cancel"},void 0,!1,void 0,this),B.jsxDEV("button",{type:"submit",form:"add-endpoint",disabled:m||!k||!d&&_.length===0,children:m?"Adding…":"Add endpoint"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),children:B.jsxDEV("form",{id:"add-endpoint",onSubmit:p,className:"stack","aria-label":"Add an endpoint",children:[B.jsxDEV("label",{children:["Endpoint URL ",B.jsxDEV("input",{autoFocus:!0,name:"webhookUrl",type:"url",value:k,onChange:(r)=>b(r.target.value),placeholder:"https://example.com/hooks/volter",required:!0},void 0,!1,void 0,this)]},void 0,!0,void 0,this),B.jsxDEV("label",{children:[B.jsxDEV("span",{children:["Description ",B.jsxDEV("span",{className:"mode",children:"(optional)"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),B.jsxDEV("input",{name:"webhookDescription",value:C,onChange:(r)=>V(r.target.value),maxLength:200},void 0,!1,void 0,this)]},void 0,!0,void 0,this),B.jsxDEV("fieldset",{className:"choice",children:[B.jsxDEV("legend",{children:"Events"},void 0,!1,void 0,this),B.jsxDEV("label",{className:d?"choice-card on":"choice-card",children:[B.jsxDEV("input",{type:"radio",name:"webhookEvents",checked:d,onChange:()=>P(!0)},void 0,!1,void 0,this),B.jsxDEV("span",{children:[B.jsxDEV("strong",{children:"Every event"},void 0,!1,void 0,this),B.jsxDEV("span",{className:"mode",children:"Including ones added later."},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),B.jsxDEV("label",{className:!d?"choice-card on":"choice-card",children:[B.jsxDEV("input",{type:"radio",name:"webhookEvents",checked:!d,onChange:()=>P(!1)},void 0,!1,void 0,this),B.jsxDEV("span",{children:B.jsxDEV("strong",{children:"Choose events"},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),!d?B.jsxDEV("div",{className:"scope-grid",children:O.map((r)=>B.jsxDEV("label",{className:"check",children:[B.jsxDEV("input",{type:"checkbox",checked:_.includes(r),onChange:($1)=>w($1.target.checked?[..._,r]:_.filter((I1)=>I1!==r))},void 0,!1,void 0,this)," ",B.jsxDEV("code",{children:r},void 0,!1,void 0,this)]},r,!0,void 0,this))},void 0,!1,void 0,this):null,f?B.jsxDEV("p",{role:"alert",children:f},void 0,!1,void 0,this):null]},void 0,!0,void 0,this)},void 0,!1,void 0,this)}function lR({org:U,version:L}){let[O,N]=u.useState(0),v=M4(`/-/orgs/${U}/support-access`,L+O);if(v.state!=="ok")return B.jsxDEV(D4,{load:v,what:"support access"},void 0,!1,void 0,this);let k=v.data.supportAccess;return B.jsxDEV("section",{className:"card","aria-label":"Support access",children:B.jsxDEV("div",{className:"setting-row",children:[B.jsxDEV("div",{children:[B.jsxDEV("strong",{children:"Support may open this org"},void 0,!1,void 0,this),B.jsxDEV("p",{className:"mode",children:k?B.jsxDEV(B.Fragment,{children:["Read only, until ",p0(k.until),". Each time they do is in Activity, with their reason."]},void 0,!0,void 0,this):"Not allowed. When you write to support from Help you can allow it for seven days, read only."},void 0,!1,void 0,this)]},void 0,!0,void 0,this),k?B.jsxDEV("button",{type:"button",className:"danger-outline",onClick:()=>void W2(`/-/orgs/${U}/support-access`,{method:"DELETE"},"Support access revoked").then(()=>N((b)=>b+1)),children:"Revoke"},void 0,!1,void 0,this):B.jsxDEV("span",{className:"badge",children:"off"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this)}var Oq=[["all","All activity",/./],["worlds","Worlds",/^WORLD_/],["members","Members",/^(MEMBER_|INVITE_)/],["tokens","Tokens",/TOKEN/],["billing","Billing",/^(PLAN_|QUOTA_|SPEND_|REMINDER_)/],["settings","Settings",/^(ORG_|SECURITY_|LABS_|WEBHOOK_|SUPPORT_|IMPERSONATION)/]];function pR({org:U,version:L}){let[O,N]=u.useState(0),v=M4(`/-/orgs/${U}/audit`,L+O),[k,b]=u.useState("all"),[C,V]=u.useState(""),[d,P]=u.useState(50),_=(D)=>D.platform?"Volter World":D.operator?"Support":D.email??D.id??"?",w=Oq.find(([D])=>D===k)?.[2]??/./,f=v.state==="ok"?v.data.entries.filter((D)=>w.test(D.event)&&`${D.event} ${_(D.actor)} ${D.target??""}`.toLowerCase().includes(C.trim().toLowerCase())):[];return B.jsxDEV(B.Fragment,{children:[B.jsxDEV(B4,{title:"Activity",lede:"Every admin act in the org, who did it and when.",children:[B.jsxDEV("a",{className:"button",href:`/-/orgs/${U}/audit.jsonl`,download:`${U}-activity.jsonl`,children:"Download log"},void 0,!1,void 0,this),B.jsxDEV("a",{className:"button",href:`/-/orgs/${U}/export`,download:`${U}-export.json`,children:"Export org"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),B.jsxDEV("div",{className:"toolbar",children:[B.jsxDEV("select",{"aria-label":"Area",value:k,onChange:(D)=>{b(D.target.value),P(50)},children:Oq.map(([D,m])=>B.jsxDEV("option",{value:D,children:m},D,!1,void 0,this))},void 0,!1,void 0,this),B.jsxDEV("input",{type:"search","aria-label":"Search the activity",placeholder:"Search by person, act or thing…",value:C,onChange:(D)=>{V(D.target.value),P(50)}},void 0,!1,void 0,this)]},void 0,!0,void 0,this),v.state!=="ok"?B.jsxDEV(D4,{load:v,what:"the activity",retry:()=>N((D)=>D+1),lines:6},void 0,!1,void 0,this):f.length===0?B.jsxDEV(L5,{title:v.data.entries.length===0?"Nothing yet":"Nothing matches",children:v.data.entries.length===0?"Acts in the org (a World made, a member added, a token made) show here.":"Try another area or search."},void 0,!1,void 0,this):B.jsxDEV("div",{className:"block",children:[B.jsxDEV("table",{className:"dense","aria-label":`${U}'s activity`,children:[B.jsxDEV("thead",{children:B.jsxDEV("tr",{children:[B.jsxDEV("th",{children:"When"},void 0,!1,void 0,this),B.jsxDEV("th",{children:"What"},void 0,!1,void 0,this),B.jsxDEV("th",{children:"Who"},void 0,!1,void 0,this),B.jsxDEV("th",{children:"On"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this),B.jsxDEV("tbody",{children:f.slice(0,d).map((D,m)=>B.jsxDEV("tr",{children:[B.jsxDEV("td",{className:"mode nowrap",children:B.jsxDEV("span",{title:p0(D.at),children:Y3(D.at)},void 0,!1,void 0,this)},void 0,!1,void 0,this),B.jsxDEV("td",{children:aR(D.event)},void 0,!1,void 0,this),B.jsxDEV("td",{children:B.jsxDEV("span",{className:"vendor-cell",children:[B.jsxDEV(B3,{of:_(D.actor),small:!0},void 0,!1,void 0,this),_(D.actor)]},void 0,!0,void 0,this)},void 0,!1,void 0,this),B.jsxDEV("td",{className:"mode",children:D.target??""},void 0,!1,void 0,this)]},`${D.at}-${m}`,!0,void 0,this))},void 0,!1,void 0,this)]},void 0,!0,void 0,this),f.length>d?B.jsxDEV("div",{className:"table-note",children:B.jsxDEV("button",{type:"button",onClick:()=>P((D)=>D+50),children:["Show ",Math.min(50,f.length-d)," more"]},void 0,!0,void 0,this)},void 0,!1,void 0,this):null]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)}var Nq={ORG_CREATE:"Created the org",ORG_RENAME:"Renamed the org",ORG_DELETE:"Deleted the org",MEMBER_INVITE:"Invited or added a member",INVITE_REVOKE:"Revoked an invitation",MEMBER_REMOVE:"Removed a member",MEMBER_ROLE:"Changed a role",WORLD_PROVISION:"Created a World",WORLD_DELETE:"Deleted a World",WORLD_OPEN:"Opened a World",PREVIEW_CREATE:"Made a preview",PREVIEW_DELETE:"Removed a preview",WORLD_CLAIM:"Claimed a World into the org",TOKEN_CREATE:"Made a token",TOKEN_REVOKE:"Revoked a token",ORG_TOKEN_CREATE:"Made an org token",ORG_TOKEN_REVOKE:"Revoked an org token",SECURITY_CHANGE:"Changed security settings",SUPPORT_REQUEST:"Wrote to support",SUPPORT_ACCESS_GRANTED:"Allowed support access",SUPPORT_ACCESS_REVOKED:"Revoked support access",IMPERSONATION:"Support opened the org",WEBHOOK_CREATE:"Added a webhook endpoint",WEBHOOK_CHANGE:"Changed a webhook endpoint",WEBHOOK_DELETE:"Removed a webhook endpoint",WEBHOOK_DISABLED:"A webhook endpoint was disabled",SPEND_CAP_CHANGE:"Changed the spend cap",LABS_CHANGE:"Changed Labs",REMINDER_SENT:"Sent a billing reminder",PLAN_CHECKOUT:"Opened a checkout",PLAN_CHANGE:"The plan changed",QUOTA_WARNED:"Went over the plan",QUOTA_RESTRICTED:"The org was held",QUOTA_CLEARED:"Back within the plan"},aR=(U)=>{if(Nq[U])return Nq[U];let L=U.toLowerCase().replace(/_/g," ");return L.charAt(0).toUpperCase()+L.slice(1)};function iR({person:U,info:L,onSignOut:O}){return B.jsxDEV(B.Fragment,{children:[B.jsxDEV(B4,{title:"Account"},void 0,!1,void 0,this),B.jsxDEV("section",{className:"card profile","aria-labelledby":"you",children:[B.jsxDEV(B3,{of:U.name??U.email??"?"},void 0,!1,void 0,this),B.jsxDEV("div",{className:"grow",children:[B.jsxDEV("h3",{id:"you",children:U.name??U.email??U.id},void 0,!1,void 0,this),U.name&&U.email?B.jsxDEV("p",{className:"mode",children:U.email},void 0,!1,void 0,this):null,L?B.jsxDEV("p",{className:"mode",children:["Signed in with ",L.provider.name,L.provider.account?B.jsxDEV(B.Fragment,{children:". Your name, email and how you sign in are kept there."},void 0,!1,void 0,this):"."]},void 0,!0,void 0,this):null]},void 0,!0,void 0,this),B.jsxDEV("div",{className:"card-actions",children:[L?.provider.account?B.jsxDEV("a",{className:"button",href:L.provider.account,children:["Manage your ",L.provider.name," account"]},void 0,!0,void 0,this):null,B.jsxDEV("button",{type:"button",onClick:O,children:"Sign out"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),B.jsxDEV(vq,{kind:"personal"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}function nR({first:U,site:L,onMade:O}){let[N,v]=u.useState(""),[k,b]=u.useState(!1),[C,V]=u.useState(!1),[d,P]=u.useState(null),_=!N?null:!qY.test(N)?"Lowercase letters, digits and dashes, starting with a letter or digit.":Rq.includes(N)?`${N} is one of this platform's own pages: choose another.`:null;return B.jsxDEV("div",{className:"narrow",children:[B.jsxDEV(B4,{title:U?"Welcome to Volter World":"Create an org",lede:U?"An org holds your Worlds and your teammates. Make one to start; you can invite people and make more orgs later.":"An org holds Worlds and the people who work on them."},void 0,!1,void 0,this),B.jsxDEV("section",{className:"card","aria-labelledby":"create-org",children:[B.jsxDEV("h3",{id:"create-org",className:"sr",children:"Create an org"},void 0,!1,void 0,this),B.jsxDEV("form",{onSubmit:async(f)=>{if(f.preventDefault(),_||!N)return;V(!0),P(null);let D=await G0("/-/orgs",{method:"POST",body:JSON.stringify({name:N,...L?{accepted:k}:{}})}).catch(()=>null),m=D?await D.json().catch(()=>({})):{error:`${Q0} did not answer`};if(!D?.ok){V(!1),P(m.error??"refused");return}p2(`Created ${m.slug??N}`),await O(m.slug??m.name??"")},className:"stack",children:[B.jsxDEV("label",{children:["Org name ",B.jsxDEV("input",{autoFocus:!0,name:"orgName",value:N,onChange:(f)=>v(f.target.value.toLowerCase()),placeholder:"acme","aria-invalid":Boolean(_),"aria-describedby":"org-name-help",autoComplete:"off",spellCheck:!1,required:!0},void 0,!1,void 0,this)]},void 0,!0,void 0,this),B.jsxDEV("p",{id:"org-name-help",className:_?"field-error":"mode",children:_??B.jsxDEV(B.Fragment,{children:["Its address: ",B.jsxDEV("code",{children:[Q0,"/",N||"acme"]},void 0,!0,void 0,this),", and ",B.jsxDEV("code",{children:[N||"acme","/<world>"]},void 0,!0,void 0,this)," for its Worlds. You can change the name people see later, not the address."]},void 0,!0,void 0,this)},void 0,!1,void 0,this),L?B.jsxDEV("label",{className:"check",children:[B.jsxDEV("input",{name:"accepted",type:"checkbox",checked:k,onChange:(f)=>b(f.target.checked),required:!0},void 0,!1,void 0,this)," ",B.jsxDEV("span",{children:["I agree to the ",B.jsxDEV("a",{href:`${L}/terms.html`,target:"_blank",rel:"noreferrer",children:"terms of service"},void 0,!1,void 0,this)," and the ",B.jsxDEV("a",{href:`${L}/privacy.html`,target:"_blank",rel:"noreferrer",children:"privacy policy"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this):null,d?B.jsxDEV("p",{role:"alert",children:d},void 0,!1,void 0,this):null,B.jsxDEV("div",{className:"card-actions",children:B.jsxDEV("button",{type:"submit",disabled:C||!N||Boolean(_)||Boolean(L)&&!k,children:C?"Creating…":"Create org"},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)}function sR({orgs:U,onChanged:L}){let[O,N]=u.useState("worlds"),[v,k]=u.useState("normal"),[b,C]=u.useState(""),[V,d]=u.useState(""),[P,_]=u.useState(U[0]??""),[w,f]=u.useState(""),[D,m]=u.useState(!1),[n,p]=u.useState(null),[r,$1]=u.useState(!1);u.useEffect(()=>{if(!P&&U[0])_(U[0])},[U,P]);let I1=async(R1)=>{R1.preventDefault(),$1(!0);let o=await W2("/-/support",{method:"POST",body:JSON.stringify({category:O,severity:v,subject:b,message:V,...P?{org:P}:{},...w?{world:w}:{},...D&&P?{allowAccessDays:7}:{}})});if($1(!1),o?.id)p({id:o.id,copyTo:o.copyTo??null,until:o.access?.until??null}),C(""),d(""),f(""),m(!1),L?.()};if(n)return B.jsxDEV("div",{className:"narrow",children:[B.jsxDEV(B4,{title:"Help"},void 0,!1,void 0,this),B.jsxDEV("section",{className:"card sent",role:"status",children:[B.jsxDEV("h3",{children:"We have your request"},void 0,!1,void 0,this),B.jsxDEV("p",{children:["Your ticket is ",B.jsxDEV("code",{children:n.id},void 0,!1,void 0,this),".",n.copyTo?` A copy went to ${n.copyTo}.`:""," A person answers, usually within a working day."]},void 0,!0,void 0,this),n.until?B.jsxDEV("p",{className:"mode",children:["Support may open ",P,", read only, until ",p0(n.until),". You can revoke it under Settings › Support access."]},void 0,!0,void 0,this):null,B.jsxDEV("div",{className:"card-actions",children:B.jsxDEV("button",{type:"button",onClick:()=>p(null),children:"Write another"},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this);return B.jsxDEV("div",{className:"narrow",children:[B.jsxDEV(B4,{title:"Help",lede:"Ask a person. Say what you saw and where: the org and the World go along with it."},void 0,!1,void 0,this),B.jsxDEV("section",{className:"card","aria-label":"Write to support",children:B.jsxDEV("form",{onSubmit:I1,className:"stack",children:[B.jsxDEV("div",{className:"two",children:[B.jsxDEV("label",{children:["About ",B.jsxDEV("select",{name:"helpCategory",value:O,onChange:(R1)=>N(R1.target.value),children:[B.jsxDEV("option",{value:"worlds",children:"A World or a twin"},void 0,!1,void 0,this),B.jsxDEV("option",{value:"billing",children:"Billing"},void 0,!1,void 0,this),B.jsxDEV("option",{value:"account",children:"My account or team"},void 0,!1,void 0,this),B.jsxDEV("option",{value:"security",children:"Security"},void 0,!1,void 0,this),B.jsxDEV("option",{value:"other",children:"Something else"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),B.jsxDEV("label",{children:["How urgent ",B.jsxDEV("select",{name:"helpSeverity",value:v,onChange:(R1)=>k(R1.target.value),children:[B.jsxDEV("option",{value:"low",children:"Low: a question"},void 0,!1,void 0,this),B.jsxDEV("option",{value:"normal",children:"Normal"},void 0,!1,void 0,this),B.jsxDEV("option",{value:"high",children:"High: something is broken"},void 0,!1,void 0,this),B.jsxDEV("option",{value:"urgent",children:"Urgent: we cannot work"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),B.jsxDEV("div",{className:"two",children:[U.length>0?B.jsxDEV("label",{children:["Org ",B.jsxDEV("select",{name:"helpOrg",value:P,onChange:(R1)=>_(R1.target.value),children:U.map((R1)=>B.jsxDEV("option",{value:R1,children:R1},R1,!1,void 0,this))},void 0,!1,void 0,this)]},void 0,!0,void 0,this):null,B.jsxDEV("label",{children:[B.jsxDEV("span",{children:["World ",B.jsxDEV("span",{className:"mode",children:"(optional)"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),B.jsxDEV("input",{name:"helpWorld",value:w,onChange:(R1)=>f(R1.target.value),placeholder:"acme/staging"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),B.jsxDEV("label",{children:["Subject ",B.jsxDEV("input",{name:"helpSubject",value:b,onChange:(R1)=>C(R1.target.value),maxLength:200,required:!0},void 0,!1,void 0,this)]},void 0,!0,void 0,this),B.jsxDEV("label",{children:["What happened ",B.jsxDEV("textarea",{name:"helpMessage",value:V,onChange:(R1)=>d(R1.target.value),rows:6,maxLength:5000,required:!0},void 0,!1,void 0,this)]},void 0,!0,void 0,this),P?B.jsxDEV("label",{className:"check",children:[B.jsxDEV("input",{type:"checkbox",name:"helpAllow",checked:D,onChange:(R1)=>m(R1.target.checked)},void 0,!1,void 0,this)," ",B.jsxDEV("span",{children:["Let support open ",P,", read only, for seven days, so they see what you see. Admins only; you can revoke it."]},void 0,!0,void 0,this)]},void 0,!0,void 0,this):null,B.jsxDEV("div",{className:"card-actions",children:B.jsxDEV("button",{type:"submit",disabled:r||!b.trim()||!V.trim(),children:r?"Sending…":"Send to support"},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}function rR({orgs:U,worlds:L,firstWorld:O,version:N}){let[k,b]=u.useState(()=>{try{return localStorage.getItem("volter.console.onboarding")==="done"}catch{return!1}}),[C,V]=u.useState(null),d=u.useRef(!0);if(u.useEffect(()=>()=>{d.current=!1},[]),u.useEffect(()=>{G0("/-/tokens").then(async(f)=>{if(d.current)V(f.ok?(await f.json()).tokens.length>0:!1)}).catch(()=>{return})},[N]),k)return null;let P=U[0],_=[[U.length>0,"Create an org"],[C===!0,B.jsxDEV(B.Fragment,{children:["Install the command and sign it in: ",B.jsxDEV("code",{children:"npm install -g @volter/world"},void 0,!1,void 0,this),", then ",B.jsxDEV("code",{children:["volter login ",Q0]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)],[L>0,B.jsxDEV(B.Fragment,{children:["In your app's folder, make its World here: ",B.jsxDEV("code",{children:"volter world init"},void 0,!1,void 0,this),", then ",B.jsxDEV("code",{children:["volter remote add origin ",O??`${P??"<org>"}/<world>`,O?"":" --create"]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)],[!1,B.jsxDEV(B.Fragment,{children:["Send it what your app did: ",B.jsxDEV("code",{children:'volter world changeset -m "…"'},void 0,!1,void 0,this),", then ",B.jsxDEV("code",{children:"volter world push"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]],w=_.filter(([f])=>f).length;return B.jsxDEV("section",{"aria-labelledby":"getting-started",className:"onboarding",children:[B.jsxDEV("div",{className:"onboarding-head",children:[B.jsxDEV("h3",{id:"getting-started",children:"Get started"},void 0,!1,void 0,this),B.jsxDEV("span",{className:"mode",children:[w," of ",_.length]},void 0,!0,void 0,this),B.jsxDEV("div",{className:"progress","aria-hidden":"true",children:B.jsxDEV("span",{style:{width:`${w/_.length*100}%`}},void 0,!1,void 0,this)},void 0,!1,void 0,this),B.jsxDEV("button",{type:"button",className:"icon-button","aria-label":"Dismiss getting started",onClick:()=>{try{localStorage.setItem("volter.console.onboarding","done")}catch{}b(!0)},children:"✕"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),B.jsxDEV("ol",{children:_.map(([f,D],m)=>B.jsxDEV("li",{className:f?"done":void 0,children:[B.jsxDEV("span",{className:"tick","aria-hidden":"true",children:f?"✓":m+1},void 0,!1,void 0,this),B.jsxDEV("span",{children:D},void 0,!1,void 0,this),B.jsxDEV("span",{className:"sr",children:f?"(done)":""},void 0,!1,void 0,this)]},m,!0,void 0,this))},void 0,!1,void 0,this),B.jsxDEV("p",{className:"mode onboarding-alt",children:["No terminal? ",B.jsxDEV("strong",{children:"Create World"},void 0,!1,void 0,this)," above makes one here, with the vendors you pick."]},void 0,!0,void 0,this),B.jsxDEV(tR,{world:O},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}function oR({world:U,readOnly:L}){let[O,N]=u.useState([]),v=u.useCallback(()=>{G0(`/-/worlds/${U}/previews`).then(async(b)=>{if(b.ok)N((await b.json()).previews)}).catch(()=>{return})},[U]);u.useEffect(v,[v]);let k=async(b)=>{if(!await H6({title:`Remove the preview ${b}?`,body:"Its branch and everything written to it go; the pull request's next run makes a new one.",action:"Remove preview",danger:!0}))return;if(await W2(`/-/worlds/${U}/previews/${b}`,{method:"DELETE"},`Removed ${b}`))v()};if(!O.length)return null;return B.jsxDEV("tr",{className:"preview-row",children:B.jsxDEV("td",{colSpan:5,children:[B.jsxDEV("span",{className:"mode",children:"Previews"},void 0,!1,void 0,this),B.jsxDEV("ul",{className:"previews",children:O.map((b)=>B.jsxDEV("li",{children:[B.jsxDEV("code",{children:b.label},void 0,!1,void 0,this),B.jsxDEV("span",{className:"mode",title:p0(b.createdAt),children:[Y3(b.createdAt),b.expiresAt?B.jsxDEV(B.Fragment,{children:[" · ends ",B.jsxDEV("span",{title:p0(b.expiresAt),children:Y4(b.expiresAt)},void 0,!1,void 0,this)]},void 0,!0,void 0,this):null,b.live?null:" · not running"]},void 0,!0,void 0,this),b.live?B.jsxDEV("a",{href:b.open,children:"Open"},void 0,!1,void 0,this):null,!L?B.jsxDEV("button",{type:"button",className:"link-button",onClick:()=>void k(b.label),children:"Remove"},void 0,!1,void 0,this):null]},b.label,!0,void 0,this))},void 0,!1,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this)}function tR({world:U}){let L=_q({platform:Q0,...U?{world:U}:{}}),O=()=>{navigator.clipboard?.writeText(L).then(()=>p2("Copied the prompt: paste it into your coding agent"),()=>p2("Select the prompt and copy it","error"))};return B.jsxDEV("details",{className:"ask-agent",children:[B.jsxDEV("summary",{children:[B.jsxDEV("span",{children:"Or ask your coding agent to do all of this"},void 0,!1,void 0,this),B.jsxDEV("button",{type:"button",onClick:(N)=>{N.preventDefault(),O()},children:"Copy prompt"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),B.jsxDEV("pre",{children:L},void 0,!1,void 0,this),B.jsxDEV("p",{className:"mode",children:"Paste it into Claude Code, Cursor, VS Code or Codex. You approve the sign-in in your browser; the agent does the rest."},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}BY();Cq.createRoot(LY).render(B.jsxDEV(B.Fragment,{children:[B.jsxDEV(NR,{},void 0,!1,void 0,this),B.jsxDEV(Lq,{},void 0,!1,void 0,this),B.jsxDEV(qq,{},void 0,!1,void 0,this),B.jsxDEV(Uq,{},void 0,!1,void 0,this)]},void 0,!0,void 0,this));
|