api_binding_ui 3.1.0 → 3.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +119 -94
- package/SKILL.md +45 -45
- package/dist/app/{index-4mgcb4wd.js → index-xww2x0kd.js} +72 -72
- package/dist/app/index.html +1 -1
- package/dist/cli/scan.d.ts +2 -0
- package/dist/cli.js +218 -129
- package/dist/codegen/write.d.ts +18 -0
- package/dist/framework/contract.d.ts +25 -1
- package/dist/framework/file.d.ts +6 -0
- package/dist/{index-jj8twdw9.js → index-gfw08965.js} +5 -2
- package/dist/{index-jj8twdw9.js.map → index-gfw08965.js.map} +3 -3
- package/dist/index.js +11 -4
- package/dist/index.js.map +3 -3
- package/dist/overlay.js +3 -3
- package/dist/server/handler.d.ts +8 -1
- package/dist/studio/index.js +1 -1
- package/dist/vite/plugin.d.ts +19 -2
- package/dist/vite.js +942 -11
- package/package.json +2 -2
- package/spec/FRAMEWORK.md +9 -8
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
var YN=Object.create;var{getPrototypeOf:GN,defineProperty:JO,getOwnPropertyNames:QN}=Object;var KO=Object.prototype.hasOwnProperty;function XN(l){return this[l]}var JN,KN,me=(l,s,r)=>{var c=l!=null&&typeof l==="object";if(c){var f=s?JN??=new WeakMap:KN??=new WeakMap,p=f.get(l);if(p)return p}r=l!=null?YN(GN(l)):{};let m=s||!l||!l.__esModule||!KO.call(l,"default")?JO(r,"default",{value:l,enumerable:!0}):r;if(l&&typeof l==="object"||typeof l==="function"){for(let g of QN(l))if(!KO.call(m,g))JO(m,g,{get:XN.bind(l,g),enumerable:!0})}if(c)f.set(l,m);return m};var Ns=(l,s)=>()=>(s||l((s={exports:{}}).exports,s),s.exports);var en=Ns(function(ZN,Yp){(function(){function l(b,
|
|
1
|
+
var YN=Object.create;var{getPrototypeOf:GN,defineProperty:JO,getOwnPropertyNames:QN}=Object;var KO=Object.prototype.hasOwnProperty;function XN(l){return this[l]}var JN,KN,me=(l,s,r)=>{var c=l!=null&&typeof l==="object";if(c){var f=s?JN??=new WeakMap:KN??=new WeakMap,p=f.get(l);if(p)return p}r=l!=null?YN(GN(l)):{};let m=s||!l||!l.__esModule||!KO.call(l,"default")?JO(r,"default",{value:l,enumerable:!0}):r;if(l&&typeof l==="object"||typeof l==="function"){for(let g of QN(l))if(!KO.call(m,g))JO(m,g,{get:XN.bind(l,g),enumerable:!0})}if(c)f.set(l,m);return m};var Ns=(l,s)=>()=>(s||l((s={exports:{}}).exports,s),s.exports);var en=Ns(function(ZN,Yp){(function(){function l(b,k){Object.defineProperty(c.prototype,b,{get:function(){console.warn("%s(...) is deprecated in plain JavaScript React classes. %s",k[0],k[1])}})}function s(b){if(b===null||typeof b!=="object")return null;return b=st&&b[st]||b["@@iterator"],typeof b==="function"?b:null}function r(b,k){b=(b=b.constructor)&&(b.displayName||b.name)||"ReactClass";var ne=b+"."+k;qt[ne]||(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.",k,b),qt[ne]=!0)}function c(b,k,ne){this.props=b,this.context=k,this.refs=an,this.updater=ne||wt}function f(){}function p(b,k,ne){this.props=b,this.context=k,this.refs=an,this.updater=ne||wt}function m(){}function g(b){return""+b}function v(b){try{g(b);var k=!1}catch(ue){k=!0}if(k){k=console;var ne=k.error,ae=typeof Symbol==="function"&&Symbol.toStringTag&&b[Symbol.toStringTag]||b.constructor.name||"Object";return ne.call(k,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",ae),g(b)}}function S(b){if(b==null)return null;if(typeof b==="function")return b.$$typeof===Xa?null:b.displayName||b.name||null;if(typeof b==="string")return b;switch(b){case L:return"Fragment";case Se:return"Profiler";case ye:return"StrictMode";case Z:return"Suspense";case J:return"SuspenseList";case lt:return"Activity";case Ht:return"ViewTransition"}if(typeof b==="object")switch(typeof b.tag==="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),b.$$typeof){case kn:return"Portal";case te:return b.displayName||"Context";case q:return(b._context.displayName||"Context")+".Consumer";case Q:var k=b.render;return b=b.displayName,b||(b=k.displayName||k.name||"",b=b!==""?"ForwardRef("+b+")":"ForwardRef"),b;case se:return k=b.displayName||null,k!==null?k:S(b.type)||"Memo";case Re:k=b._payload,b=b._init;try{return S(b(k))}catch(ne){}}return null}function A(b){if(b===L)return"<>";if(typeof b==="object"&&b!==null&&b.$$typeof===Re)return"<...>";try{var k=S(b);return k?"<"+k+">":"<...>"}catch(ne){return"<...>"}}function C(){var b=ze.A;return b===null?null:b.getOwner()}function T(){return Error("react-stack-top-frame")}function E(b){if(oe.call(b,"key")){var k=Object.getOwnPropertyDescriptor(b,"key").get;if(k&&k.isReactWarning)return!1}return b.key!==void 0}function B(b,k){function ne(){An||(An=!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)",k))}ne.isReactWarning=!0,Object.defineProperty(b,"key",{get:ne,configurable:!0})}function w(){var b=S(this.type);return Vl[b]||(Vl[b]=!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.")),b=this.props.ref,b!==void 0?b:null}function z(b,k,ne,ae,ue,it){var fe=ne.ref;return b={$$typeof:Ce,type:b,key:k,props:ne,_owner:ae},(fe!==void 0?fe:null)!==null?Object.defineProperty(b,"ref",{enumerable:!1,get:w}):Object.defineProperty(b,"ref",{enumerable:!1,value:null}),b._store={},Object.defineProperty(b._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(b,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(b,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:ue}),Object.defineProperty(b,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:it}),Object.freeze&&(Object.freeze(b.props),Object.freeze(b)),b}function R(b,k){return k=z(b.type,k,b.props,b._owner,b._debugStack,b._debugTask),b._store&&(k._store.validated=b._store.validated),k}function H(b){Y(b)?b._store&&(b._store.validated=1):typeof b==="object"&&b!==null&&b.$$typeof===Re&&(b._payload.status==="fulfilled"?Y(b._payload.value)&&b._payload.value._store&&(b._payload.value._store.validated=1):b._store&&(b._store.validated=1))}function Y(b){return typeof b==="object"&&b!==null&&b.$$typeof===Ce}function P(b){var k={"=":"=0",":":"=2"};return"$"+b.replace(/[=:]/g,function(ne){return k[ne]})}function ce(b,k){return typeof b==="object"&&b!==null&&b.key!=null?(v(b.key),P(""+b.key)):k.toString(36)}function G(b){switch(b.status){case"fulfilled":return b.value;case"rejected":throw b.reason;default:switch(typeof b.status==="string"?b.then(m,m):(b.status="pending",b.then(function(k){b.status==="pending"&&(b.status="fulfilled",b.value=k)},function(k){b.status==="pending"&&(b.status="rejected",b.reason=k)})),b.status){case"fulfilled":return b.value;case"rejected":throw b.reason}}throw b}function ie(b,k,ne,ae,ue){var it=typeof b;if(it==="undefined"||it==="boolean")b=null;var fe=!1;if(b===null)fe=!0;else switch(it){case"bigint":case"string":case"number":fe=!0;break;case"object":switch(b.$$typeof){case Ce:case kn:fe=!0;break;case Re:return fe=b._init,ie(fe(b._payload),k,ne,ae,ue)}}if(fe){fe=b,ue=ue(fe);var ke=ae===""?"."+ce(fe,0):ae;return ql(ue)?(ne="",ke!=null&&(ne=ke.replace(hf,"$&/")+"/"),ie(ue,k,ne,"",function(Da){return Da})):ue!=null&&(Y(ue)&&(ue.key!=null&&(fe&&fe.key===ue.key||v(ue.key)),ne=R(ue,ne+(ue.key==null||fe&&fe.key===ue.key?"":(""+ue.key).replace(hf,"$&/")+"/")+ke),ae!==""&&fe!=null&&Y(fe)&&fe.key==null&&fe._store&&!fe._store.validated&&(ne._store.validated=2),ue=ne),k.push(ue)),1}if(fe=0,ke=ae===""?".":ae+":",ql(b))for(var tt=0;tt<b.length;tt++)ae=b[tt],it=ke+ce(ae,tt),fe+=ie(ae,k,ne,it,ue);else if(tt=s(b),typeof tt==="function")for(tt===b.entries&&(Ls||console.warn("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),Ls=!0),b=tt.call(b),tt=0;!(ae=b.next()).done;)ae=ae.value,it=ke+ce(ae,tt++),fe+=ie(ae,k,ne,it,ue);else if(it==="object"){if(typeof b.then==="function")return ie(G(b),k,ne,ae,ue);throw k=String(b),Error("Objects are not valid as a React child (found: "+(k==="[object Object]"?"object with keys {"+Object.keys(b).join(", ")+"}":k)+"). If you meant to render a collection of children, use an array instead.")}return fe}function W(b,k,ne){if(b==null)return b;var ae=[],ue=0;return ie(b,ae,"","",function(it){return k.call(ne,it,ue++)}),ae}function Me(b){if(b._status===-1){var k=null,ne=null,ae=b._ioInfo;ae!=null&&(ae.start=ae.end=performance.now(),ae.value=new Promise(function(fe,ke){k=fe,ne=ke})),ae=b._result;var ue=ae();if(ue.then(function(fe){if(b._status===0||b._status===-1){b._status=1,b._result=fe;var ke=b._ioInfo;if(ke!=null){ke.end=performance.now();var tt=fe==null?void 0:fe.default;k(tt),ke.value.status="fulfilled",ke.value.value=tt}ue.status===void 0&&(ue.status="fulfilled",ue.value=fe)}},function(fe){if(b._status===0||b._status===-1){b._status=2,b._result=fe;var ke=b._ioInfo;ke!=null&&(ke.end=performance.now(),ke.value.then(m,m),ne(fe),ke.value.status="rejected",ke.value.reason=fe),ue.status===void 0&&(ue.status="rejected",ue.reason=fe)}}),ae=b._ioInfo,ae!=null){var it=ue.displayName;typeof it==="string"&&(ae.name=it)}b._status===-1&&(b._status=0,b._result=ue)}if(b._status===1)return ae=b._result,ae===void 0&&console.error(`lazy: Expected the result of a dynamic import() call. Instead received: %s
|
|
2
2
|
|
|
3
3
|
Your code should look like:
|
|
4
4
|
const MyComponent = lazy(() => import('./MyComponent'))
|
|
@@ -10,11 +10,11 @@ Your code should look like:
|
|
|
10
10
|
1. You might have mismatching versions of React and the renderer (such as React DOM)
|
|
11
11
|
2. You might be breaking the Rules of Hooks
|
|
12
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.`),b}function Ee(){ze.asyncTransitions--}function xe(b){var B=ze.T,ne={};ne.types=B!==null?B.types:null,ne._updatedFibers=new Set,ze.T=ne;try{var ae=b(),ue=ze.S;ue!==null&&ue(ne,ae),typeof ae==="object"&&ae!==null&&typeof ae.then==="function"&&(ze.asyncTransitions++,ae.then(Ee,Ee),ae.then(m,At))}catch(it){At(it)}finally{B===null&&ne._updatedFibers&&(b=ne._updatedFibers.size,ne._updatedFibers.clear(),10<b&&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.")),B!==null&&ne.types!==null&&(B.types!==null&&B.types!==ne.types&&console.error("We expected inner Transitions to have transferred the outer types set and that you cannot add to the outer Transition while inside the inner.This is a bug in React."),B.types=ne.types),ze.T=B}}function ot(b){var B=ze.T;if(B!==null){var ne=B.types;ne===null?B.types=[b]:ne.indexOf(b)===-1&&ne.push(b)}else ze.asyncTransitions===0&&console.error("addTransitionType can only be called inside a `startTransition()` callback. It must be associated with a specific Transition."),xe(ot.bind(null,b))}function Fn(b){if(Na===null)try{var B=("require"+Math.random()).slice(0,7);Na=(Yp&&Yp[B]).call(Yp,"timers").setImmediate}catch(ne){Na=function(ae){mf===!1&&(mf=!0,typeof MessageChannel>"u"&&console.error("This browser does not have a MessageChannel implementation, so enqueuing tasks via await act(async () => ...) will fail. Please file an issue at https://github.com/facebook/react/issues if you encounter this warning."));var ue=new MessageChannel;ue.port1.onmessage=ae,ue.port2.postMessage(void 0)}}return Na(b)}function le(b){return 1<b.length&&typeof AggregateError==="function"?AggregateError(b):b[0]}function Oe(b,B){B!==rl-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. "),rl=B}function Ae(b,B,ne){var ae=ze.actQueue;if(ae!==null)if(ae.length!==0)try{Ye(ae),Fn(function(){return Ae(b,B,ne)});return}catch(ue){ze.thrownErrors.push(ue)}else ze.actQueue=null;0<ze.thrownErrors.length?(ae=le(ze.thrownErrors),ze.thrownErrors.length=0,ne(ae)):B(b)}function Ye(b){if(!Hs){Hs=!0;var B=0;try{for(;B<b.length;B++){var ne=b[B];do{ze.didUsePromise=!1;var ae=ne(!1);if(ae!==null){if(ze.didUsePromise){b[B]=ne,b.splice(0,B);return}ne=ae}else break}while(1)}b.length=0}catch(ue){b.splice(0,B+1),ze.thrownErrors.push(ue)}finally{Hs=!1}}}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var Ce=Symbol.for("react.transitional.element"),Bn=Symbol.for("react.portal"),L=Symbol.for("react.fragment"),ye=Symbol.for("react.strict_mode"),Se=Symbol.for("react.profiler"),q=Symbol.for("react.consumer"),te=Symbol.for("react.context"),Q=Symbol.for("react.forward_ref"),Z=Symbol.for("react.suspense"),J=Symbol.for("react.suspense_list"),se=Symbol.for("react.memo"),Re=Symbol.for("react.lazy"),lt=Symbol.for("react.activity"),Ht=Symbol.for("react.view_transition"),st=Symbol.iterator,qt={},wt={isMounted:function(){return!1},enqueueForceUpdate:function(b){r(b,"forceUpdate")},enqueueReplaceState:function(b){r(b,"replaceState")},enqueueSetState:function(b){r(b,"setState")}},fa=Object.assign,an={};Object.freeze(an),c.prototype.isReactComponent={},c.prototype.setState=function(b,B){if(typeof b!=="object"&&typeof b!=="function"&&b!=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,b,B,"setState")},c.prototype.forceUpdate=function(b){this.updater.enqueueForceUpdate(this,b,"forceUpdate")};var Ot={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(cl in Ot)Ot.hasOwnProperty(cl)&&l(cl,Ot[cl]);f.prototype=c.prototype,Ot=p.prototype=new f,Ot.constructor=p,fa(Ot,c.prototype),Ot.isPureReactComponent=!0;var ql=Array.isArray,Xa=Symbol.for("react.client.reference"),ze={H:null,A:null,T:null,S:null,actQueue:null,asyncTransitions:0,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1,didUsePromise:!1,thrownErrors:[],getCurrentStack:null,recentlyCreatedOwnerStacks:0},oe=Object.prototype.hasOwnProperty,mn=console.createTask?console.createTask:function(){return null};Ot={react_stack_bottom_frame:function(b){return b()}};var An,sl,Vl={},bt=Ot.react_stack_bottom_frame.bind(Ot,T)(),gc=mn(A(T)),Ls=!1,hf=/\/+/g,At=typeof reportError==="function"?reportError:function(b){if(typeof window==="object"&&typeof window.ErrorEvent==="function"){var B=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof b==="object"&&b!==null&&typeof b.message==="string"?String(b.message):String(b),error:b});if(!window.dispatchEvent(B))return}else if(typeof process==="object"&&typeof process.emit==="function"){process.emit("uncaughtException",b);return}console.error(b)},mf=!1,Na=null,rl=0,vo=!1,Hs=!1,gf=typeof queueMicrotask==="function"?function(b){queueMicrotask(function(){return queueMicrotask(b)})}:Fn;Ot=Object.freeze({__proto__:null,c:function(b){return Ne().useMemoCache(b)}});var cl={map:W,forEach:function(b,B,ne){W(b,function(){B.apply(this,arguments)},ne)},count:function(b){var B=0;return W(b,function(){B++}),B},toArray:function(b){return W(b,function(B){return B})||[]},only:function(b){if(!Y(b))throw Error("React.Children.only expected to receive a single React element child.");return b}};ZN.Activity=lt,ZN.Children=cl,ZN.Component=c,ZN.Fragment=L,ZN.Profiler=Se,ZN.PureComponent=p,ZN.StrictMode=ye,ZN.Suspense=Z,ZN.ViewTransition=Ht,ZN.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=ze,ZN.__COMPILER_RUNTIME=Ot,ZN.act=function(b){var B=ze.actQueue,ne=rl;rl++;var ae=ze.actQueue=B!==null?B:[],ue=!1;try{var it=b()}catch(tt){ze.thrownErrors.push(tt)}if(0<ze.thrownErrors.length)throw Oe(B,ne),b=le(ze.thrownErrors),ze.thrownErrors.length=0,b;if(it!==null&&typeof it==="object"&&typeof it.then==="function"){var fe=it;return gf(function(){ue||vo||(vo=!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(tt,Da){ue=!0,fe.then(function(So){if(Oe(B,ne),ne===0){try{Ye(ae),Fn(function(){return Ae(So,tt,Da)})}catch(js){ze.thrownErrors.push(js)}if(0<ze.thrownErrors.length){var yf=le(ze.thrownErrors);ze.thrownErrors.length=0,Da(yf)}}else tt(So)},function(So){Oe(B,ne),0<ze.thrownErrors.length?(So=le(ze.thrownErrors),ze.thrownErrors.length=0,Da(So)):Da(So)})}}}var Be=it;if(Oe(B,ne),ne===0&&(Ye(ae),ae.length!==0&&gf(function(){ue||vo||(vo=!0,console.error("A component suspended inside an `act` scope, but the `act` call was not awaited. When testing React components that depend on asynchronous data, you must await the result:\n\nawait act(() => ...)"))}),ze.actQueue=null),0<ze.thrownErrors.length)throw b=le(ze.thrownErrors),ze.thrownErrors.length=0,b;return{then:function(tt,Da){ue=!0,ne===0?(ze.actQueue=ae,Fn(function(){return Ae(Be,tt,Da)})):tt(Be)}}},ZN.addTransitionType=ot,ZN.cache=function(b){return function(){return b.apply(null,arguments)}},ZN.cacheSignal=function(){return null},ZN.captureOwnerStack=function(){var b=ze.getCurrentStack;return b===null?null:b()},ZN.cloneElement=function(b,B,ne){if(b===null||b===void 0)throw Error("The argument must be a React element, but you passed "+b+".");var ae=fa({},b.props),{key:ue,_owner:it}=b;if(B!=null){var fe;e:{if(oe.call(B,"ref")&&(fe=Object.getOwnPropertyDescriptor(B,"ref").get)&&fe.isReactWarning){fe=!1;break e}fe=B.ref!==void 0}fe&&(it=C()),E(B)&&(v(B.key),ue=""+B.key);for(Be in B)!oe.call(B,Be)||Be==="key"||Be==="__self"||Be==="__source"||Be==="ref"&&B.ref===void 0||(ae[Be]=B[Be])}var Be=arguments.length-2;if(Be===1)ae.children=ne;else if(1<Be){fe=Array(Be);for(var tt=0;tt<Be;tt++)fe[tt]=arguments[tt+2];ae.children=fe}ae=z(b.type,ue,ae,it,b._debugStack,b._debugTask);for(ue=2;ue<arguments.length;ue++)H(arguments[ue]);return ae},ZN.createContext=function(b){return b={$$typeof:te,_currentValue:b,_currentValue2:b,_threadCount:0,Provider:null,Consumer:null},b.Provider=b,b.Consumer={$$typeof:q,_context:b},b._currentRenderer=null,b._currentRenderer2=null,b},ZN.createElement=function(b,B,ne){for(var ae=2;ae<arguments.length;ae++)H(arguments[ae]);var ue;ae={};var it=null;if(B!=null)for(ue in sl||!("__self"in B)||"key"in B||(sl=!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")),E(B)&&(v(B.key),it=""+B.key),B)oe.call(B,ue)&&ue!=="key"&&ue!=="__self"&&ue!=="__source"&&(ae[ue]=B[ue]);var fe=arguments.length-2;if(fe===1)ae.children=ne;else if(1<fe){for(var Be=Array(fe),tt=0;tt<fe;tt++)Be[tt]=arguments[tt+2];Object.freeze&&Object.freeze(Be),ae.children=Be}if(b&&b.defaultProps)for(ue in fe=b.defaultProps,fe)ae[ue]===void 0&&(ae[ue]=fe[ue]);return it&&k(ae,typeof b==="function"?b.displayName||b.name||"Unknown":b),(ue=1e4>ze.recentlyCreatedOwnerStacks++)?(Be=Error.stackTraceLimit,Error.stackTraceLimit=10,fe=Error("react-stack-top-frame"),Error.stackTraceLimit=Be):fe=bt,z(b,it,ae,C(),fe,ue?mn(A(b)):gc)},ZN.createRef=function(){var b={current:null};return Object.seal(b),b},ZN.forwardRef=function(b){b!=null&&b.$$typeof===se?console.error("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):typeof b!=="function"?console.error("forwardRef requires a render function but was given %s.",b===null?"null":typeof b):b.length!==0&&b.length!==2&&console.error("forwardRef render functions accept exactly two parameters: props and ref. %s",b.length===1?"Did you forget to use the ref parameter?":"Any additional parameter will be undefined."),b!=null&&b.defaultProps!=null&&console.error("forwardRef render functions do not support defaultProps. Did you accidentally pass a React component?");var B={$$typeof:Q,render:b},ne;return Object.defineProperty(B,"displayName",{enumerable:!1,configurable:!0,get:function(){return ne},set:function(ae){ne=ae,b.name||b.displayName||(Object.defineProperty(b,"name",{value:ae}),b.displayName=ae)}}),B},ZN.isValidElement=Y,ZN.lazy=function(b){b={_status:-1,_result:b};var B={$$typeof:Re,_payload:b,_init:Me},ne={name:"lazy",start:-1,end:-1,value:null,owner:null,debugStack:Error("react-stack-top-frame"),debugTask:console.createTask?console.createTask("lazy()"):null};return b._ioInfo=ne,B._debugInfo=[{awaited:ne}],B},ZN.memo=function(b,B){b==null&&console.error("memo: The first argument must be a component. Instead received: %s",b===null?"null":typeof b),B={$$typeof:se,type:b,compare:B===void 0?null:B};var ne;return Object.defineProperty(B,"displayName",{enumerable:!1,configurable:!0,get:function(){return ne},set:function(ae){ne=ae,b.name||b.displayName||(Object.defineProperty(b,"name",{value:ae}),b.displayName=ae)}}),B},ZN.startTransition=xe,ZN.unstable_useCacheRefresh=function(){return Ne().useCacheRefresh()},ZN.use=function(b){return Ne().use(b)},ZN.useActionState=function(b,B,ne){return Ne().useActionState(b,B,ne)},ZN.useCallback=function(b,B){return Ne().useCallback(b,B)},ZN.useContext=function(b){var B=Ne();return b.$$typeof===q&&console.error("Calling useContext(Context.Consumer) is not supported and will cause bugs. Did you mean to call useContext(Context) instead?"),B.useContext(b)},ZN.useDebugValue=function(b,B){return Ne().useDebugValue(b,B)},ZN.useDeferredValue=function(b,B){return Ne().useDeferredValue(b,B)},ZN.useEffect=function(b,B){return b==null&&console.warn("React Hook useEffect requires an effect callback. Did you forget to pass a callback to the hook?"),Ne().useEffect(b,B)},ZN.useEffectEvent=function(b){return Ne().useEffectEvent(b)},ZN.useId=function(){return Ne().useId()},ZN.useImperativeHandle=function(b,B,ne){return Ne().useImperativeHandle(b,B,ne)},ZN.useInsertionEffect=function(b,B){return b==null&&console.warn("React Hook useInsertionEffect requires an effect callback. Did you forget to pass a callback to the hook?"),Ne().useInsertionEffect(b,B)},ZN.useLayoutEffect=function(b,B){return b==null&&console.warn("React Hook useLayoutEffect requires an effect callback. Did you forget to pass a callback to the hook?"),Ne().useLayoutEffect(b,B)},ZN.useMemo=function(b,B){return Ne().useMemo(b,B)},ZN.useOptimistic=function(b,B){return Ne().useOptimistic(b,B)},ZN.useReducer=function(b,B,ne){return Ne().useReducer(b,B,ne)},ZN.useRef=function(b){return Ne().useRef(b)},ZN.useState=function(b){return Ne().useState(b)},ZN.useSyncExternalStore=function(b,B,ne){return Ne().useSyncExternalStore(b,B,ne)},ZN.useTransition=function(){return Ne().useTransition()},ZN.version="19.3.1",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()});var ZO=Ns(function(Wr){(function(){function l(){if(P=!1,W){var le=Wr.unstable_now();Ee=le;var Oe=!0;try{e:{H=!1,Y&&(Y=!1,G(Me),Me=-1),R=!0;var Ae=z;try{t:{p(le);for(w=r(T);w!==null&&!(w.expirationTime>le&&g());){var Ye=w.callback;if(typeof Ye==="function"){w.callback=null,z=w.priorityLevel;var Ce=Ye(w.expirationTime<=le);if(le=Wr.unstable_now(),typeof Ce==="function"){w.callback=Ce,p(le),Oe=!0;break t}w===r(T)&&c(T),p(le)}else c(T);w=r(T)}if(w!==null)Oe=!0;else{var Bn=r(E);Bn!==null&&v(m,Bn.startTime-le),Oe=!1}}break e}finally{w=null,z=Ae,R=!1}Oe=void 0}}finally{Oe?xe():W=!1}}}function s(le,Oe){var Ae=le.length;le.push(Oe);e:for(;0<Ae;){var Ye=Ae-1>>>1,Ce=le[Ye];if(0<f(Ce,Oe))le[Ye]=Oe,le[Ae]=Ce,Ae=Ye;else break e}}function r(le){return le.length===0?null:le[0]}function c(le){if(le.length===0)return null;var Oe=le[0],Ae=le.pop();if(Ae!==Oe){le[0]=Ae;e:for(var Ye=0,Ce=le.length,Bn=Ce>>>1;Ye<Bn;){var L=2*(Ye+1)-1,ye=le[L],Se=L+1,q=le[Se];if(0>f(ye,Ae))Se<Ce&&0>f(q,ye)?(le[Ye]=q,le[Se]=Ae,Ye=Se):(le[Ye]=ye,le[L]=Ae,Ye=L);else if(Se<Ce&&0>f(q,Ae))le[Ye]=q,le[Se]=Ae,Ye=Se;else break e}}return Oe}function f(le,Oe){var Ae=le.sortIndex-Oe.sortIndex;return Ae!==0?Ae:le.id-Oe.id}function p(le){for(var Oe=r(E);Oe!==null;){if(Oe.callback===null)c(E);else if(Oe.startTime<=le)c(E),Oe.sortIndex=Oe.expirationTime,s(T,Oe);else break;Oe=r(E)}}function m(le){if(Y=!1,p(le),!H)if(r(T)!==null)H=!0,W||(W=!0,xe());else{var Oe=r(E);Oe!==null&&v(m,Oe.startTime-le)}}function g(){return P?!0:Wr.unstable_now()-Ee<Ne?!1:!0}function v(le,Oe){Me=ce(function(){le(Wr.unstable_now())},Oe)}if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error()),Wr.unstable_now=void 0,typeof performance==="object"&&typeof performance.now==="function"){var S=performance;Wr.unstable_now=function(){return S.now()}}else{var A=Date,C=A.now();Wr.unstable_now=function(){return A.now()-C}}var T=[],E=[],k=1,w=null,z=3,R=!1,H=!1,Y=!1,P=!1,ce=typeof setTimeout==="function"?setTimeout:null,G=typeof clearTimeout==="function"?clearTimeout:null,ie=typeof setImmediate<"u"?setImmediate:null,W=!1,Me=-1,Ne=5,Ee=-1;if(typeof ie==="function")var xe=function(){ie(l)};else if(typeof MessageChannel<"u"){var ot=new MessageChannel,Fn=ot.port2;ot.port1.onmessage=l,xe=function(){Fn.postMessage(null)}}else xe=function(){ce(l,0)};Wr.unstable_IdlePriority=5,Wr.unstable_ImmediatePriority=1,Wr.unstable_LowPriority=4,Wr.unstable_NormalPriority=3,Wr.unstable_Profiling=null,Wr.unstable_UserBlockingPriority=2,Wr.unstable_cancelCallback=function(le){le.callback=null},Wr.unstable_forceFrameRate=function(le){0>le||125<le?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):Ne=0<le?Math.floor(1000/le):5},Wr.unstable_getCurrentPriorityLevel=function(){return z},Wr.unstable_next=function(le){switch(z){case 1:case 2:case 3:var Oe=3;break;default:Oe=z}var Ae=z;z=Oe;try{return le()}finally{z=Ae}},Wr.unstable_requestPaint=function(){P=!0},Wr.unstable_runWithPriority=function(le,Oe){switch(le){case 1:case 2:case 3:case 4:case 5:break;default:le=3}var Ae=z;z=le;try{return Oe()}finally{z=Ae}},Wr.unstable_scheduleCallback=function(le,Oe,Ae){var Ye=Wr.unstable_now();switch(typeof Ae==="object"&&Ae!==null?(Ae=Ae.delay,Ae=typeof Ae==="number"&&0<Ae?Ye+Ae:Ye):Ae=Ye,le){case 1:var Ce=-1;break;case 2:Ce=250;break;case 5:Ce=1073741823;break;case 4:Ce=1e4;break;default:Ce=5000}return Ce=Ae+Ce,le={id:k++,callback:Oe,priorityLevel:le,startTime:Ae,expirationTime:Ce,sortIndex:-1},Ae>Ye?(le.sortIndex=Ae,s(E,le),r(T)===null&&le===r(E)&&(Y?(G(Me),Me=-1):Y=!0,v(m,Ae-Ye))):(le.sortIndex=Ce,s(T,le),H||R||(H=!0,W||(W=!0,xe()))),le},Wr.unstable_shouldYield=g,Wr.unstable_wrapCallback=function(le){var Oe=z;return function(){var Ae=z;z=Oe;try{return le.apply(this,arguments)}finally{z=Ae}}},typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()});var PO=Ns(function(PN){var Q0=me(en());(function(){function l(){}function s(T){return""+T}function r(T,E,k){var w=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;if(w==null)w=null;else if(w===A)w=A;else{try{s(w);var z=!1}catch(R){z=!0}z&&(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&&w[Symbol.toStringTag]||w.constructor.name||"Object"),s(w)),w=""+w}return{$$typeof:v,key:w,children:T,containerInfo:E,implementation:k}}function c(T,E){if(T==="font")return"";if(typeof E==="string")return E==="use-credentials"?E:""}function f(T){return T===null?"`null`":T===void 0?"`undefined`":T===""?"an empty string":'something with type "'+typeof T+'"'}function p(T){return T===null?"`null`":T===void 0?"`undefined`":T===""?"an empty string":typeof T==="string"?JSON.stringify(T):typeof T==="number"?"`"+T+"`":'something with type "'+typeof T+'"'}function m(){var T=C.H;return T===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:
|
|
13
|
+
See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`),b}function Ee(){ze.asyncTransitions--}function xe(b){var k=ze.T,ne={};ne.types=k!==null?k.types:null,ne._updatedFibers=new Set,ze.T=ne;try{var ae=b(),ue=ze.S;ue!==null&&ue(ne,ae),typeof ae==="object"&&ae!==null&&typeof ae.then==="function"&&(ze.asyncTransitions++,ae.then(Ee,Ee),ae.then(m,At))}catch(it){At(it)}finally{k===null&&ne._updatedFibers&&(b=ne._updatedFibers.size,ne._updatedFibers.clear(),10<b&&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.")),k!==null&&ne.types!==null&&(k.types!==null&&k.types!==ne.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."),k.types=ne.types),ze.T=k}}function ot(b){var k=ze.T;if(k!==null){var ne=k.types;ne===null?k.types=[b]:ne.indexOf(b)===-1&&ne.push(b)}else ze.asyncTransitions===0&&console.error("addTransitionType can only be called inside a `startTransition()` callback. It must be associated with a specific Transition."),xe(ot.bind(null,b))}function Fn(b){if(Na===null)try{var k=("require"+Math.random()).slice(0,7);Na=(Yp&&Yp[k]).call(Yp,"timers").setImmediate}catch(ne){Na=function(ae){mf===!1&&(mf=!0,typeof MessageChannel>"u"&&console.error("This browser does not have a MessageChannel implementation, so enqueuing tasks via await act(async () => ...) will fail. Please file an issue at https://github.com/facebook/react/issues if you encounter this warning."));var ue=new MessageChannel;ue.port1.onmessage=ae,ue.port2.postMessage(void 0)}}return Na(b)}function le(b){return 1<b.length&&typeof AggregateError==="function"?AggregateError(b):b[0]}function Oe(b,k){k!==rl-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. "),rl=k}function Ae(b,k,ne){var ae=ze.actQueue;if(ae!==null)if(ae.length!==0)try{Ye(ae),Fn(function(){return Ae(b,k,ne)});return}catch(ue){ze.thrownErrors.push(ue)}else ze.actQueue=null;0<ze.thrownErrors.length?(ae=le(ze.thrownErrors),ze.thrownErrors.length=0,ne(ae)):k(b)}function Ye(b){if(!Hs){Hs=!0;var k=0;try{for(;k<b.length;k++){var ne=b[k];do{ze.didUsePromise=!1;var ae=ne(!1);if(ae!==null){if(ze.didUsePromise){b[k]=ne,b.splice(0,k);return}ne=ae}else break}while(1)}b.length=0}catch(ue){b.splice(0,k+1),ze.thrownErrors.push(ue)}finally{Hs=!1}}}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var Ce=Symbol.for("react.transitional.element"),kn=Symbol.for("react.portal"),L=Symbol.for("react.fragment"),ye=Symbol.for("react.strict_mode"),Se=Symbol.for("react.profiler"),q=Symbol.for("react.consumer"),te=Symbol.for("react.context"),Q=Symbol.for("react.forward_ref"),Z=Symbol.for("react.suspense"),J=Symbol.for("react.suspense_list"),se=Symbol.for("react.memo"),Re=Symbol.for("react.lazy"),lt=Symbol.for("react.activity"),Ht=Symbol.for("react.view_transition"),st=Symbol.iterator,qt={},wt={isMounted:function(){return!1},enqueueForceUpdate:function(b){r(b,"forceUpdate")},enqueueReplaceState:function(b){r(b,"replaceState")},enqueueSetState:function(b){r(b,"setState")}},fa=Object.assign,an={};Object.freeze(an),c.prototype.isReactComponent={},c.prototype.setState=function(b,k){if(typeof b!=="object"&&typeof b!=="function"&&b!=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,b,k,"setState")},c.prototype.forceUpdate=function(b){this.updater.enqueueForceUpdate(this,b,"forceUpdate")};var Ot={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(cl in Ot)Ot.hasOwnProperty(cl)&&l(cl,Ot[cl]);f.prototype=c.prototype,Ot=p.prototype=new f,Ot.constructor=p,fa(Ot,c.prototype),Ot.isPureReactComponent=!0;var ql=Array.isArray,Xa=Symbol.for("react.client.reference"),ze={H:null,A:null,T:null,S:null,actQueue:null,asyncTransitions:0,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1,didUsePromise:!1,thrownErrors:[],getCurrentStack:null,recentlyCreatedOwnerStacks:0},oe=Object.prototype.hasOwnProperty,mn=console.createTask?console.createTask:function(){return null};Ot={react_stack_bottom_frame:function(b){return b()}};var An,sl,Vl={},bt=Ot.react_stack_bottom_frame.bind(Ot,T)(),gc=mn(A(T)),Ls=!1,hf=/\/+/g,At=typeof reportError==="function"?reportError:function(b){if(typeof window==="object"&&typeof window.ErrorEvent==="function"){var k=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof b==="object"&&b!==null&&typeof b.message==="string"?String(b.message):String(b),error:b});if(!window.dispatchEvent(k))return}else if(typeof process==="object"&&typeof process.emit==="function"){process.emit("uncaughtException",b);return}console.error(b)},mf=!1,Na=null,rl=0,vo=!1,Hs=!1,gf=typeof queueMicrotask==="function"?function(b){queueMicrotask(function(){return queueMicrotask(b)})}:Fn;Ot=Object.freeze({__proto__:null,c:function(b){return Ne().useMemoCache(b)}});var cl={map:W,forEach:function(b,k,ne){W(b,function(){k.apply(this,arguments)},ne)},count:function(b){var k=0;return W(b,function(){k++}),k},toArray:function(b){return W(b,function(k){return k})||[]},only:function(b){if(!Y(b))throw Error("React.Children.only expected to receive a single React element child.");return b}};ZN.Activity=lt,ZN.Children=cl,ZN.Component=c,ZN.Fragment=L,ZN.Profiler=Se,ZN.PureComponent=p,ZN.StrictMode=ye,ZN.Suspense=Z,ZN.ViewTransition=Ht,ZN.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=ze,ZN.__COMPILER_RUNTIME=Ot,ZN.act=function(b){var k=ze.actQueue,ne=rl;rl++;var ae=ze.actQueue=k!==null?k:[],ue=!1;try{var it=b()}catch(tt){ze.thrownErrors.push(tt)}if(0<ze.thrownErrors.length)throw Oe(k,ne),b=le(ze.thrownErrors),ze.thrownErrors.length=0,b;if(it!==null&&typeof it==="object"&&typeof it.then==="function"){var fe=it;return gf(function(){ue||vo||(vo=!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(tt,Da){ue=!0,fe.then(function(So){if(Oe(k,ne),ne===0){try{Ye(ae),Fn(function(){return Ae(So,tt,Da)})}catch(js){ze.thrownErrors.push(js)}if(0<ze.thrownErrors.length){var yf=le(ze.thrownErrors);ze.thrownErrors.length=0,Da(yf)}}else tt(So)},function(So){Oe(k,ne),0<ze.thrownErrors.length?(So=le(ze.thrownErrors),ze.thrownErrors.length=0,Da(So)):Da(So)})}}}var ke=it;if(Oe(k,ne),ne===0&&(Ye(ae),ae.length!==0&&gf(function(){ue||vo||(vo=!0,console.error("A component suspended inside an `act` scope, but the `act` call was not awaited. When testing React components that depend on asynchronous data, you must await the result:\n\nawait act(() => ...)"))}),ze.actQueue=null),0<ze.thrownErrors.length)throw b=le(ze.thrownErrors),ze.thrownErrors.length=0,b;return{then:function(tt,Da){ue=!0,ne===0?(ze.actQueue=ae,Fn(function(){return Ae(ke,tt,Da)})):tt(ke)}}},ZN.addTransitionType=ot,ZN.cache=function(b){return function(){return b.apply(null,arguments)}},ZN.cacheSignal=function(){return null},ZN.captureOwnerStack=function(){var b=ze.getCurrentStack;return b===null?null:b()},ZN.cloneElement=function(b,k,ne){if(b===null||b===void 0)throw Error("The argument must be a React element, but you passed "+b+".");var ae=fa({},b.props),{key:ue,_owner:it}=b;if(k!=null){var fe;e:{if(oe.call(k,"ref")&&(fe=Object.getOwnPropertyDescriptor(k,"ref").get)&&fe.isReactWarning){fe=!1;break e}fe=k.ref!==void 0}fe&&(it=C()),E(k)&&(v(k.key),ue=""+k.key);for(ke in k)!oe.call(k,ke)||ke==="key"||ke==="__self"||ke==="__source"||ke==="ref"&&k.ref===void 0||(ae[ke]=k[ke])}var ke=arguments.length-2;if(ke===1)ae.children=ne;else if(1<ke){fe=Array(ke);for(var tt=0;tt<ke;tt++)fe[tt]=arguments[tt+2];ae.children=fe}ae=z(b.type,ue,ae,it,b._debugStack,b._debugTask);for(ue=2;ue<arguments.length;ue++)H(arguments[ue]);return ae},ZN.createContext=function(b){return b={$$typeof:te,_currentValue:b,_currentValue2:b,_threadCount:0,Provider:null,Consumer:null},b.Provider=b,b.Consumer={$$typeof:q,_context:b},b._currentRenderer=null,b._currentRenderer2=null,b},ZN.createElement=function(b,k,ne){for(var ae=2;ae<arguments.length;ae++)H(arguments[ae]);var ue;ae={};var it=null;if(k!=null)for(ue in sl||!("__self"in k)||"key"in k||(sl=!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")),E(k)&&(v(k.key),it=""+k.key),k)oe.call(k,ue)&&ue!=="key"&&ue!=="__self"&&ue!=="__source"&&(ae[ue]=k[ue]);var fe=arguments.length-2;if(fe===1)ae.children=ne;else if(1<fe){for(var ke=Array(fe),tt=0;tt<fe;tt++)ke[tt]=arguments[tt+2];Object.freeze&&Object.freeze(ke),ae.children=ke}if(b&&b.defaultProps)for(ue in fe=b.defaultProps,fe)ae[ue]===void 0&&(ae[ue]=fe[ue]);return it&&B(ae,typeof b==="function"?b.displayName||b.name||"Unknown":b),(ue=1e4>ze.recentlyCreatedOwnerStacks++)?(ke=Error.stackTraceLimit,Error.stackTraceLimit=10,fe=Error("react-stack-top-frame"),Error.stackTraceLimit=ke):fe=bt,z(b,it,ae,C(),fe,ue?mn(A(b)):gc)},ZN.createRef=function(){var b={current:null};return Object.seal(b),b},ZN.forwardRef=function(b){b!=null&&b.$$typeof===se?console.error("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):typeof b!=="function"?console.error("forwardRef requires a render function but was given %s.",b===null?"null":typeof b):b.length!==0&&b.length!==2&&console.error("forwardRef render functions accept exactly two parameters: props and ref. %s",b.length===1?"Did you forget to use the ref parameter?":"Any additional parameter will be undefined."),b!=null&&b.defaultProps!=null&&console.error("forwardRef render functions do not support defaultProps. Did you accidentally pass a React component?");var k={$$typeof:Q,render:b},ne;return Object.defineProperty(k,"displayName",{enumerable:!1,configurable:!0,get:function(){return ne},set:function(ae){ne=ae,b.name||b.displayName||(Object.defineProperty(b,"name",{value:ae}),b.displayName=ae)}}),k},ZN.isValidElement=Y,ZN.lazy=function(b){b={_status:-1,_result:b};var k={$$typeof:Re,_payload:b,_init:Me},ne={name:"lazy",start:-1,end:-1,value:null,owner:null,debugStack:Error("react-stack-top-frame"),debugTask:console.createTask?console.createTask("lazy()"):null};return b._ioInfo=ne,k._debugInfo=[{awaited:ne}],k},ZN.memo=function(b,k){b==null&&console.error("memo: The first argument must be a component. Instead received: %s",b===null?"null":typeof b),k={$$typeof:se,type:b,compare:k===void 0?null:k};var ne;return Object.defineProperty(k,"displayName",{enumerable:!1,configurable:!0,get:function(){return ne},set:function(ae){ne=ae,b.name||b.displayName||(Object.defineProperty(b,"name",{value:ae}),b.displayName=ae)}}),k},ZN.startTransition=xe,ZN.unstable_useCacheRefresh=function(){return Ne().useCacheRefresh()},ZN.use=function(b){return Ne().use(b)},ZN.useActionState=function(b,k,ne){return Ne().useActionState(b,k,ne)},ZN.useCallback=function(b,k){return Ne().useCallback(b,k)},ZN.useContext=function(b){var k=Ne();return b.$$typeof===q&&console.error("Calling useContext(Context.Consumer) is not supported and will cause bugs. Did you mean to call useContext(Context) instead?"),k.useContext(b)},ZN.useDebugValue=function(b,k){return Ne().useDebugValue(b,k)},ZN.useDeferredValue=function(b,k){return Ne().useDeferredValue(b,k)},ZN.useEffect=function(b,k){return b==null&&console.warn("React Hook useEffect requires an effect callback. Did you forget to pass a callback to the hook?"),Ne().useEffect(b,k)},ZN.useEffectEvent=function(b){return Ne().useEffectEvent(b)},ZN.useId=function(){return Ne().useId()},ZN.useImperativeHandle=function(b,k,ne){return Ne().useImperativeHandle(b,k,ne)},ZN.useInsertionEffect=function(b,k){return b==null&&console.warn("React Hook useInsertionEffect requires an effect callback. Did you forget to pass a callback to the hook?"),Ne().useInsertionEffect(b,k)},ZN.useLayoutEffect=function(b,k){return b==null&&console.warn("React Hook useLayoutEffect requires an effect callback. Did you forget to pass a callback to the hook?"),Ne().useLayoutEffect(b,k)},ZN.useMemo=function(b,k){return Ne().useMemo(b,k)},ZN.useOptimistic=function(b,k){return Ne().useOptimistic(b,k)},ZN.useReducer=function(b,k,ne){return Ne().useReducer(b,k,ne)},ZN.useRef=function(b){return Ne().useRef(b)},ZN.useState=function(b){return Ne().useState(b)},ZN.useSyncExternalStore=function(b,k,ne){return Ne().useSyncExternalStore(b,k,ne)},ZN.useTransition=function(){return Ne().useTransition()},ZN.version="19.3.1",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()});var ZO=Ns(function(Wr){(function(){function l(){if(P=!1,W){var le=Wr.unstable_now();Ee=le;var Oe=!0;try{e:{H=!1,Y&&(Y=!1,G(Me),Me=-1),R=!0;var Ae=z;try{t:{p(le);for(w=r(T);w!==null&&!(w.expirationTime>le&&g());){var Ye=w.callback;if(typeof Ye==="function"){w.callback=null,z=w.priorityLevel;var Ce=Ye(w.expirationTime<=le);if(le=Wr.unstable_now(),typeof Ce==="function"){w.callback=Ce,p(le),Oe=!0;break t}w===r(T)&&c(T),p(le)}else c(T);w=r(T)}if(w!==null)Oe=!0;else{var kn=r(E);kn!==null&&v(m,kn.startTime-le),Oe=!1}}break e}finally{w=null,z=Ae,R=!1}Oe=void 0}}finally{Oe?xe():W=!1}}}function s(le,Oe){var Ae=le.length;le.push(Oe);e:for(;0<Ae;){var Ye=Ae-1>>>1,Ce=le[Ye];if(0<f(Ce,Oe))le[Ye]=Oe,le[Ae]=Ce,Ae=Ye;else break e}}function r(le){return le.length===0?null:le[0]}function c(le){if(le.length===0)return null;var Oe=le[0],Ae=le.pop();if(Ae!==Oe){le[0]=Ae;e:for(var Ye=0,Ce=le.length,kn=Ce>>>1;Ye<kn;){var L=2*(Ye+1)-1,ye=le[L],Se=L+1,q=le[Se];if(0>f(ye,Ae))Se<Ce&&0>f(q,ye)?(le[Ye]=q,le[Se]=Ae,Ye=Se):(le[Ye]=ye,le[L]=Ae,Ye=L);else if(Se<Ce&&0>f(q,Ae))le[Ye]=q,le[Se]=Ae,Ye=Se;else break e}}return Oe}function f(le,Oe){var Ae=le.sortIndex-Oe.sortIndex;return Ae!==0?Ae:le.id-Oe.id}function p(le){for(var Oe=r(E);Oe!==null;){if(Oe.callback===null)c(E);else if(Oe.startTime<=le)c(E),Oe.sortIndex=Oe.expirationTime,s(T,Oe);else break;Oe=r(E)}}function m(le){if(Y=!1,p(le),!H)if(r(T)!==null)H=!0,W||(W=!0,xe());else{var Oe=r(E);Oe!==null&&v(m,Oe.startTime-le)}}function g(){return P?!0:Wr.unstable_now()-Ee<Ne?!1:!0}function v(le,Oe){Me=ce(function(){le(Wr.unstable_now())},Oe)}if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error()),Wr.unstable_now=void 0,typeof performance==="object"&&typeof performance.now==="function"){var S=performance;Wr.unstable_now=function(){return S.now()}}else{var A=Date,C=A.now();Wr.unstable_now=function(){return A.now()-C}}var T=[],E=[],B=1,w=null,z=3,R=!1,H=!1,Y=!1,P=!1,ce=typeof setTimeout==="function"?setTimeout:null,G=typeof clearTimeout==="function"?clearTimeout:null,ie=typeof setImmediate<"u"?setImmediate:null,W=!1,Me=-1,Ne=5,Ee=-1;if(typeof ie==="function")var xe=function(){ie(l)};else if(typeof MessageChannel<"u"){var ot=new MessageChannel,Fn=ot.port2;ot.port1.onmessage=l,xe=function(){Fn.postMessage(null)}}else xe=function(){ce(l,0)};Wr.unstable_IdlePriority=5,Wr.unstable_ImmediatePriority=1,Wr.unstable_LowPriority=4,Wr.unstable_NormalPriority=3,Wr.unstable_Profiling=null,Wr.unstable_UserBlockingPriority=2,Wr.unstable_cancelCallback=function(le){le.callback=null},Wr.unstable_forceFrameRate=function(le){0>le||125<le?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):Ne=0<le?Math.floor(1000/le):5},Wr.unstable_getCurrentPriorityLevel=function(){return z},Wr.unstable_next=function(le){switch(z){case 1:case 2:case 3:var Oe=3;break;default:Oe=z}var Ae=z;z=Oe;try{return le()}finally{z=Ae}},Wr.unstable_requestPaint=function(){P=!0},Wr.unstable_runWithPriority=function(le,Oe){switch(le){case 1:case 2:case 3:case 4:case 5:break;default:le=3}var Ae=z;z=le;try{return Oe()}finally{z=Ae}},Wr.unstable_scheduleCallback=function(le,Oe,Ae){var Ye=Wr.unstable_now();switch(typeof Ae==="object"&&Ae!==null?(Ae=Ae.delay,Ae=typeof Ae==="number"&&0<Ae?Ye+Ae:Ye):Ae=Ye,le){case 1:var Ce=-1;break;case 2:Ce=250;break;case 5:Ce=1073741823;break;case 4:Ce=1e4;break;default:Ce=5000}return Ce=Ae+Ce,le={id:B++,callback:Oe,priorityLevel:le,startTime:Ae,expirationTime:Ce,sortIndex:-1},Ae>Ye?(le.sortIndex=Ae,s(E,le),r(T)===null&&le===r(E)&&(Y?(G(Me),Me=-1):Y=!0,v(m,Ae-Ye))):(le.sortIndex=Ce,s(T,le),H||R||(H=!0,W||(W=!0,xe()))),le},Wr.unstable_shouldYield=g,Wr.unstable_wrapCallback=function(le){var Oe=z;return function(){var Ae=z;z=Oe;try{return le.apply(this,arguments)}finally{z=Ae}}},typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()});var PO=Ns(function(PN){var Q0=me(en());(function(){function l(){}function s(T){return""+T}function r(T,E,B){var w=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;if(w==null)w=null;else if(w===A)w=A;else{try{s(w);var z=!1}catch(R){z=!0}z&&(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&&w[Symbol.toStringTag]||w.constructor.name||"Object"),s(w)),w=""+w}return{$$typeof:v,key:w,children:T,containerInfo:E,implementation:B}}function c(T,E){if(T==="font")return"";if(typeof E==="string")return E==="use-credentials"?E:""}function f(T){return T===null?"`null`":T===void 0?"`undefined`":T===""?"an empty string":'something with type "'+typeof T+'"'}function p(T){return T===null?"`null`":T===void 0?"`undefined`":T===""?"an empty string":typeof T==="string"?JSON.stringify(T):typeof T==="number"?"`"+T+"`":'something with type "'+typeof T+'"'}function m(){var T=C.H;return T===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
14
|
1. You might have mismatching versions of React and the renderer (such as React DOM)
|
|
15
15
|
2. You might be breaking the Rules of Hooks
|
|
16
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.`),T}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var g={d:{f:l,r:function(){throw Error("Invalid form element. requestFormReset must be passed a form that was rendered by React.")},D:l,C:l,L:l,m:l,X:l,S:l,M:l},p:0,findDOMNode:null},v=Symbol.for("react.portal"),S=Symbol.for("react.recoverable"),A=Symbol.for("react.optimistic_key"),C=Q0.__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"),PN.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=g,PN.browser=function(T){return{$$typeof:S,_reason:T}},PN.createPortal=function(T,E){var k=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!E||E.nodeType!==1&&E.nodeType!==9&&E.nodeType!==11)throw Error("Target container is not a DOM element.");return r(T,E,null,k)},PN.flushSync=function(T){var E=C.T,k=g.p;try{if(C.T=null,g.p=2,T)return T()}finally{C.T=E,g.p=k,g.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.")}},PN.preconnect=function(T,E){typeof T==="string"&&T?E!=null&&typeof E!=="object"?console.error("ReactDOM.preconnect(): Expected the `options` argument (second) to be an object but encountered %s instead. The only supported option at this time is `crossOrigin` which accepts a string.",p(E)):E!=null&&typeof E.crossOrigin!=="string"&&console.error("ReactDOM.preconnect(): Expected the `crossOrigin` option (second argument) to be a string but encountered %s instead. Try removing this option or passing a string value instead.",f(E.crossOrigin)):console.error("ReactDOM.preconnect(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",f(T)),typeof T==="string"&&(E?(E=E.crossOrigin,E=typeof E==="string"?E==="use-credentials"?E:"":void 0):E=null,g.d.C(T,E))},PN.prefetchDNS=function(T){if(typeof T!=="string"||!T)console.error("ReactDOM.prefetchDNS(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",f(T));else if(1<arguments.length){var E=arguments[1];typeof E==="object"&&E.hasOwnProperty("crossOrigin")?console.error("ReactDOM.prefetchDNS(): Expected only one argument, `href`, but encountered %s as a second argument instead. This argument is reserved for future options and is currently disallowed. It looks like the you are attempting to set a crossOrigin property for this DNS lookup hint. Browsers do not perform DNS queries using CORS and setting this attribute on the resource hint has no effect. Try calling ReactDOM.prefetchDNS() with just a single string argument, `href`.",p(E)):console.error("ReactDOM.prefetchDNS(): Expected only one argument, `href`, but encountered %s as a second argument instead. This argument is reserved for future options and is currently disallowed. Try calling ReactDOM.prefetchDNS() with just a single string argument, `href`.",p(E))}typeof T==="string"&&g.d.D(T)},PN.preinit=function(T,E){if(typeof T==="string"&&T?E==null||typeof E!=="object"?console.error("ReactDOM.preinit(): Expected the `options` argument (second) to be an object with an `as` property describing the type of resource to be preinitialized but encountered %s instead.",p(E)):E.as!=="style"&&E.as!=="script"&&console.error('ReactDOM.preinit(): Expected the `as` property in the `options` argument (second) to contain a valid value describing the type of resource to be preinitialized but encountered %s instead. Valid values for `as` are "style" and "script".',p(E.as)):console.error("ReactDOM.preinit(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",f(T)),typeof T==="string"&&E&&typeof E.as==="string"){var k=E.as,w=c(k,E.crossOrigin),z=typeof E.integrity==="string"?E.integrity:void 0,R=typeof E.fetchPriority==="string"?E.fetchPriority:void 0;k==="style"?g.d.S(T,typeof E.precedence==="string"?E.precedence:void 0,{crossOrigin:w,integrity:z,fetchPriority:R}):k==="script"&&g.d.X(T,{crossOrigin:w,integrity:z,fetchPriority:R,nonce:typeof E.nonce==="string"?E.nonce:void 0})}},PN.preinitModule=function(T,E){var k="";if(typeof T==="string"&&T||(k+=" The `href` argument encountered was "+f(T)+"."),E!==void 0&&typeof E!=="object"?k+=" The `options` argument encountered was "+f(E)+".":E&&("as"in E)&&E.as!=="script"&&(k+=" The `as` option encountered was "+p(E.as)+"."),k)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",k);else switch(k=E&&typeof E.as==="string"?E.as:"script",k){case"script":break;default:k=p(k),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)',k,T)}if(typeof T==="string")if(typeof E==="object"&&E!==null){if(E.as==null||E.as==="script")k=c(E.as,E.crossOrigin),g.d.M(T,{crossOrigin:k,integrity:typeof E.integrity==="string"?E.integrity:void 0,nonce:typeof E.nonce==="string"?E.nonce:void 0,fetchPriority:typeof E.fetchPriority==="string"?E.fetchPriority:void 0})}else E==null&&g.d.M(T)},PN.preload=function(T,E){var k="";if(typeof T==="string"&&T||(k+=" The `href` argument encountered was "+f(T)+"."),E==null||typeof E!=="object"?k+=" The `options` argument encountered was "+f(E)+".":typeof E.as==="string"&&E.as||(k+=" The `as` option encountered was "+f(E.as)+"."),k&&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',k),typeof T==="string"&&typeof E==="object"&&E!==null&&typeof E.as==="string"){k=E.as;var w=c(k,E.crossOrigin);g.d.L(T,k,{crossOrigin:w,integrity:typeof E.integrity==="string"?E.integrity:void 0,nonce:typeof E.nonce==="string"?E.nonce:void 0,type:typeof E.type==="string"?E.type:void 0,fetchPriority:typeof E.fetchPriority==="string"?E.fetchPriority:void 0,referrerPolicy:typeof E.referrerPolicy==="string"?E.referrerPolicy:void 0,imageSrcSet:typeof E.imageSrcSet==="string"?E.imageSrcSet:void 0,imageSizes:typeof E.imageSizes==="string"?E.imageSizes:void 0,media:typeof E.media==="string"?E.media:void 0})}},PN.preloadModule=function(T,E){var k="";typeof T==="string"&&T||(k+=" The `href` argument encountered was "+f(T)+"."),E!==void 0&&typeof E!=="object"?k+=" The `options` argument encountered was "+f(E)+".":E&&("as"in E)&&typeof E.as!=="string"&&(k+=" The `as` option encountered was "+f(E.as)+"."),k&&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',k),typeof T==="string"&&(E?(k=c(E.as,E.crossOrigin),g.d.m(T,{as:typeof E.as==="string"&&E.as!=="script"?E.as:void 0,crossOrigin:k,integrity:typeof E.integrity==="string"?E.integrity:void 0,nonce:typeof E.nonce==="string"?E.nonce:void 0,fetchPriority:typeof E.fetchPriority==="string"?E.fetchPriority:void 0})):g.d.m(T))},PN.requestFormReset=function(T){g.d.r(T)},PN.unstable_batchedUpdates=function(T,E){return T(E)},PN.useFormState=function(T,E,k){return m().useFormState(T,E,k)},PN.useFormStatus=function(){return m().useHostTransitionStatus()},PN.version="19.3.1",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()});var FO=Ns(function(FN,Gp){Gp.exports=me(PO())});var WO=Ns(function(WN){var nt=me(ZO()),ec=me(en()),X0=me(FO());(function(){function l(e,t){for(e=e.memoizedState;e!==null&&0<t;)e=e.next,t--;return e}function s(e,t,n,a){if(n>=t.length)return a;var o=t[n],i=Pt(e)?e.slice():He({},e);return i[o]=s(e[o],t,n+1,a),i}function r(e,t,n){if(t.length!==n.length)console.warn("copyWithRename() expects paths of the same length");else{for(var a=0;a<n.length-1;a++)if(t[a]!==n[a]){console.warn("copyWithRename() expects paths to be the same except for the deepest key");return}return c(e,t,n,0)}}function c(e,t,n,a){var o=t[a],i=Pt(e)?e.slice():He({},e);return a+1===t.length?(i[n[a]]=i[o],Pt(i)?i.splice(o,1):delete i[o]):i[o]=c(e[o],t,n,a+1),i}function f(e,t,n){var a=t[n],o=Pt(e)?e.slice():He({},e);if(n+1===t.length)return Pt(o)?o.splice(a,1):delete o[a],o;return o[a]=f(e[a],t,n+1),o}function p(){return!1}function m(){return null}function g(){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 S(){}function A(){}function C(e){var t=[];return e.forEach(function(n){t.push(n)}),t.sort().join(", ")}function T(e,t,n,a){return new tC(e,t,n,a)}function E(e,t){e.context===di&&(ly(e.current,2,t,e,null,null),or())}function k(e,t){if(wl!==null){var n=t.staleFamilies;t=t.updatedFamilies,qc(),_v(e.current,t,n),or()}}function w(e){wl=e}function z(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function R(e){for(var t=e,n=t;n&&!n.alternate;)t=n,(t.flags&4098)!==0&&(e=t.return),n=t.return;for(;t.return;)t=t.return;return t.tag===3?e:null}function H(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function Y(e){if(e.tag===31){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function P(e){if(R(e)!==e)throw Error("Unable to find node on an unmounted component.")}function ce(e){var t=e.alternate;if(!t){if(t=R(e),t===null)throw Error("Unable to find node on an unmounted component.");return t!==e?null:e}for(var n=e,a=t;;){var o=n.return;if(o===null)break;var i=o.alternate;if(i===null){if(a=o.return,a!==null){n=a;continue}break}if(o.child===i.child){for(i=o.child;i;){if(i===n)return P(o),e;if(i===a)return P(o),t;i=i.sibling}throw Error("Unable to find node on an unmounted component.")}if(n.return!==a.return)n=o,a=i;else{for(var u=!1,d=o.child;d;){if(d===n){u=!0,n=o,a=i;break}if(d===a){u=!0,a=o,n=i;break}d=d.sibling}if(!u){for(d=i.child;d;){if(d===n){u=!0,n=i,a=o;break}if(d===a){u=!0,a=i,n=o;break}d=d.sibling}if(!u)throw Error("Child was not found in either parent set. This indicates a bug in React related to the return pointer. Please file an issue.")}}if(n.alternate!==a)throw Error("Return fibers should always be each others' alternates. This error is likely caused by a bug in React. Please file an issue.")}if(n.tag!==3)throw Error("Unable to find node on an unmounted component.");return n.stateNode.current===n?e:t}function G(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=G(e),t!==null)return t;e=e.sibling}return null}function ie(e,t,n,a,o){W(e.child,!1,t,n,a,o)}function W(e,t,n,a,o,i){for(;e!==null;){if((e.tag===5||e.tag===27||e.tag===6)&&n(e,a,o,i)||(e.tag!==22||e.memoizedState===null)&&(t||e.tag!==5&&e.tag!==27)&&W(e.child,t,n,a,o,i))return!0;e=e.sibling}return!1}function Me(e){for(e=e.return;e!==null;){if(e.tag===3||e.tag===5||e.tag===27)return e;e=e.return}return null}function Ne(e){var t=!1;for(e=e.return;e!==null;){if(e.tag===4&&(t=!0),e.tag===3||e.tag===5||e.tag===27)break;e=e.return}return t}function Ee(e){var t=[null,null],n=Me(e);if(n===null)return t;return xe(t,e,n.child,{foundSelf:!1}),t}function xe(e,t,n,a){for(;n!==null;){if(n===t)a.foundSelf=!0;else if(n.tag===5||n.tag===27||n.tag===6){if(a.foundSelf)return e[1]=n,!0;e[0]=n}else if((n.tag!==22||n.memoizedState===null)&&xe(e,t,n.child,a))return!0;n=n.sibling}return!1}function ot(e){switch(e.tag){case 5:case 27:case 6:return e.stateNode;case 3:return e.stateNode.containerInfo;default:throw Error("Expected to find a host node. This is a bug in React.")}}function Fn(e,t,n){return e===n?!0:e===t?(fr=e,!0):!1}function le(e,t,n){return e===n?(fy=e,!1):e===t?(fy!==null&&(fr=e),!0):!1}function Oe(e){if(e===null)return null;do e=e===null?null:e.return;while(e&&e.tag!==5&&e.tag!==27&&e.tag!==3);return e?e:null}function Ae(e,t,n){for(var a=0,o=e;o;o=n(o))a++;o=0;for(var i=t;i;i=n(i))o++;for(;0<a-o;)e=n(e),a--;for(;0<o-a;)t=n(t),o--;for(;a--;){if(e===t||t!==null&&e===t.alternate)return e;e=n(e),t=n(t)}return null}function Ye(e){if(e===null||typeof e!=="object")return null;return e=iT&&e[iT]||e["@@iterator"],typeof e==="function"?e:null}function Ce(e){if(e==null)return null;if(typeof e==="function")return e.$$typeof===ZR?null:e.displayName||e.name||null;if(typeof e==="string")return e;switch(e){case pr:return"Fragment";case dy:return"Profiler";case Md:return"StrictMode";case hy:return"Suspense";case my:return"SuspenseList";case gy:return"Activity";case yy:return"ViewTransition"}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 dr:return"Portal";case Wa:return e.displayName||"Context";case py:return(e._context.displayName||"Context")+".Consumer";case xd:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case zd:return t=e.displayName||null,t!==null?t:Ce(e.type)||"Memo";case ea:t=e._payload,e=e._init;try{return Ce(e(t))}catch(n){}}return null}function Bn(e){return typeof e.tag==="number"?L(e):typeof e.name==="string"?e.name:null}function L(e){var t=e.type;switch(e.tag){case 31:return"Activity";case 24:return"Cache";case 9:return(t._context.displayName||"Context")+".Consumer";case 10:return t.displayName||"Context";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 26:case 27:case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Ce(t);case 8:return t===Md?"StrictMode":"Mode";case 22:if(e.return!==null)return L(e.return);break;case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 30:return"ViewTransition";case 1:case 0:case 14:case 15:if(typeof t==="function")return t.displayName||t.name||null;if(typeof t==="string")return t;break;case 29:if(t=e._debugInfo,t!=null){for(var n=t.length-1;0<=n;n--)if(typeof t[n].name==="string")return t[n].name}if(e.return!==null)return L(e.return)}return null}function ye(e){return{current:e}}function Se(e,t){0>vl?console.error("Unexpected pop."):(t!==vy[vl]&&console.error("Unexpected Fiber popped."),e.current=by[vl],by[vl]=null,vy[vl]=null,vl--)}function q(e,t,n){vl++,by[vl]=e.current,vy[vl]=n,e.current=t}function te(e){return e===null&&console.error("Expected host context to exist. This error is likely caused by a bug in React. Please file an issue."),e}function Q(e,t){q(ii,t,e),q(eu,e,e),q(li,null,e);var n=t.nodeType;switch(n){case 9:case 11:n=n===9?"#document":"#fragment",t=(t=t.documentElement)?(t=t.namespaceURI)?mE(t):zl:zl;break;default:if(n=t.tagName,t=t.namespaceURI)t=mE(t),t=gE(t,n);else switch(n){case"svg":t=Kr;break;case"math":t=Lp;break;default:t=zl}}n=n.toLowerCase(),n=Pb(null,n),n={context:t,ancestorInfo:n},Se(li,e),q(li,n,e)}function Z(e){Se(li,e),Se(eu,e),Se(ii,e)}function J(){return te(li.current)}function se(e){var t=e.memoizedState;t!==null&&(Pr._currentValue=t.memoizedState,q(Ud,e,e)),t=te(li.current);var n=e.type,a=gE(t.context,n);n=Pb(t.ancestorInfo,n),a={context:a,ancestorInfo:n},t!==a&&(q(eu,e,e),q(li,a,e))}function Re(e){eu.current===e&&(Se(li,e),Se(eu,e)),Ud.current===e&&(Se(Ud,e),Pr._currentValue=_s)}function lt(){}function Ht(){if(tu===0){sT=console.log,rT=console.info,cT=console.warn,uT=console.error,fT=console.group,dT=console.groupCollapsed,pT=console.groupEnd;var e={configurable:!0,enumerable:!0,value:lt,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}tu++}function st(){if(tu--,tu===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:He({},e,{value:sT}),info:He({},e,{value:rT}),warn:He({},e,{value:cT}),error:He({},e,{value:uT}),group:He({},e,{value:fT}),groupCollapsed:He({},e,{value:dT}),groupEnd:He({},e,{value:pT})})}0>tu&&console.error("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}function qt(e){var t=Error.prepareStackTrace;if(Error.prepareStackTrace=void 0,e=e.stack,Error.prepareStackTrace=t,e.startsWith(`Error: react-stack-top-frame
|
|
17
|
+
See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`),T}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var g={d:{f:l,r:function(){throw Error("Invalid form element. requestFormReset must be passed a form that was rendered by React.")},D:l,C:l,L:l,m:l,X:l,S:l,M:l},p:0,findDOMNode:null},v=Symbol.for("react.portal"),S=Symbol.for("react.recoverable"),A=Symbol.for("react.optimistic_key"),C=Q0.__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"),PN.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=g,PN.browser=function(T){return{$$typeof:S,_reason:T}},PN.createPortal=function(T,E){var B=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!E||E.nodeType!==1&&E.nodeType!==9&&E.nodeType!==11)throw Error("Target container is not a DOM element.");return r(T,E,null,B)},PN.flushSync=function(T){var E=C.T,B=g.p;try{if(C.T=null,g.p=2,T)return T()}finally{C.T=E,g.p=B,g.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.")}},PN.preconnect=function(T,E){typeof T==="string"&&T?E!=null&&typeof E!=="object"?console.error("ReactDOM.preconnect(): Expected the `options` argument (second) to be an object but encountered %s instead. The only supported option at this time is `crossOrigin` which accepts a string.",p(E)):E!=null&&typeof E.crossOrigin!=="string"&&console.error("ReactDOM.preconnect(): Expected the `crossOrigin` option (second argument) to be a string but encountered %s instead. Try removing this option or passing a string value instead.",f(E.crossOrigin)):console.error("ReactDOM.preconnect(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",f(T)),typeof T==="string"&&(E?(E=E.crossOrigin,E=typeof E==="string"?E==="use-credentials"?E:"":void 0):E=null,g.d.C(T,E))},PN.prefetchDNS=function(T){if(typeof T!=="string"||!T)console.error("ReactDOM.prefetchDNS(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",f(T));else if(1<arguments.length){var E=arguments[1];typeof E==="object"&&E.hasOwnProperty("crossOrigin")?console.error("ReactDOM.prefetchDNS(): Expected only one argument, `href`, but encountered %s as a second argument instead. This argument is reserved for future options and is currently disallowed. It looks like the you are attempting to set a crossOrigin property for this DNS lookup hint. Browsers do not perform DNS queries using CORS and setting this attribute on the resource hint has no effect. Try calling ReactDOM.prefetchDNS() with just a single string argument, `href`.",p(E)):console.error("ReactDOM.prefetchDNS(): Expected only one argument, `href`, but encountered %s as a second argument instead. This argument is reserved for future options and is currently disallowed. Try calling ReactDOM.prefetchDNS() with just a single string argument, `href`.",p(E))}typeof T==="string"&&g.d.D(T)},PN.preinit=function(T,E){if(typeof T==="string"&&T?E==null||typeof E!=="object"?console.error("ReactDOM.preinit(): Expected the `options` argument (second) to be an object with an `as` property describing the type of resource to be preinitialized but encountered %s instead.",p(E)):E.as!=="style"&&E.as!=="script"&&console.error('ReactDOM.preinit(): Expected the `as` property in the `options` argument (second) to contain a valid value describing the type of resource to be preinitialized but encountered %s instead. Valid values for `as` are "style" and "script".',p(E.as)):console.error("ReactDOM.preinit(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",f(T)),typeof T==="string"&&E&&typeof E.as==="string"){var B=E.as,w=c(B,E.crossOrigin),z=typeof E.integrity==="string"?E.integrity:void 0,R=typeof E.fetchPriority==="string"?E.fetchPriority:void 0;B==="style"?g.d.S(T,typeof E.precedence==="string"?E.precedence:void 0,{crossOrigin:w,integrity:z,fetchPriority:R}):B==="script"&&g.d.X(T,{crossOrigin:w,integrity:z,fetchPriority:R,nonce:typeof E.nonce==="string"?E.nonce:void 0})}},PN.preinitModule=function(T,E){var B="";if(typeof T==="string"&&T||(B+=" The `href` argument encountered was "+f(T)+"."),E!==void 0&&typeof E!=="object"?B+=" The `options` argument encountered was "+f(E)+".":E&&("as"in E)&&E.as!=="script"&&(B+=" The `as` option encountered was "+p(E.as)+"."),B)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",B);else switch(B=E&&typeof E.as==="string"?E.as:"script",B){case"script":break;default:B=p(B),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)',B,T)}if(typeof T==="string")if(typeof E==="object"&&E!==null){if(E.as==null||E.as==="script")B=c(E.as,E.crossOrigin),g.d.M(T,{crossOrigin:B,integrity:typeof E.integrity==="string"?E.integrity:void 0,nonce:typeof E.nonce==="string"?E.nonce:void 0,fetchPriority:typeof E.fetchPriority==="string"?E.fetchPriority:void 0})}else E==null&&g.d.M(T)},PN.preload=function(T,E){var B="";if(typeof T==="string"&&T||(B+=" The `href` argument encountered was "+f(T)+"."),E==null||typeof E!=="object"?B+=" The `options` argument encountered was "+f(E)+".":typeof E.as==="string"&&E.as||(B+=" The `as` option encountered was "+f(E.as)+"."),B&&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',B),typeof T==="string"&&typeof E==="object"&&E!==null&&typeof E.as==="string"){B=E.as;var w=c(B,E.crossOrigin);g.d.L(T,B,{crossOrigin:w,integrity:typeof E.integrity==="string"?E.integrity:void 0,nonce:typeof E.nonce==="string"?E.nonce:void 0,type:typeof E.type==="string"?E.type:void 0,fetchPriority:typeof E.fetchPriority==="string"?E.fetchPriority:void 0,referrerPolicy:typeof E.referrerPolicy==="string"?E.referrerPolicy:void 0,imageSrcSet:typeof E.imageSrcSet==="string"?E.imageSrcSet:void 0,imageSizes:typeof E.imageSizes==="string"?E.imageSizes:void 0,media:typeof E.media==="string"?E.media:void 0})}},PN.preloadModule=function(T,E){var B="";typeof T==="string"&&T||(B+=" The `href` argument encountered was "+f(T)+"."),E!==void 0&&typeof E!=="object"?B+=" The `options` argument encountered was "+f(E)+".":E&&("as"in E)&&typeof E.as!=="string"&&(B+=" The `as` option encountered was "+f(E.as)+"."),B&&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',B),typeof T==="string"&&(E?(B=c(E.as,E.crossOrigin),g.d.m(T,{as:typeof E.as==="string"&&E.as!=="script"?E.as:void 0,crossOrigin:B,integrity:typeof E.integrity==="string"?E.integrity:void 0,nonce:typeof E.nonce==="string"?E.nonce:void 0,fetchPriority:typeof E.fetchPriority==="string"?E.fetchPriority:void 0})):g.d.m(T))},PN.requestFormReset=function(T){g.d.r(T)},PN.unstable_batchedUpdates=function(T,E){return T(E)},PN.useFormState=function(T,E,B){return m().useFormState(T,E,B)},PN.useFormStatus=function(){return m().useHostTransitionStatus()},PN.version="19.3.1",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()});var FO=Ns(function(FN,Gp){Gp.exports=me(PO())});var WO=Ns(function(WN){var nt=me(ZO()),ec=me(en()),X0=me(FO());(function(){function l(e,t){for(e=e.memoizedState;e!==null&&0<t;)e=e.next,t--;return e}function s(e,t,n,a){if(n>=t.length)return a;var o=t[n],i=Pt(e)?e.slice():He({},e);return i[o]=s(e[o],t,n+1,a),i}function r(e,t,n){if(t.length!==n.length)console.warn("copyWithRename() expects paths of the same length");else{for(var a=0;a<n.length-1;a++)if(t[a]!==n[a]){console.warn("copyWithRename() expects paths to be the same except for the deepest key");return}return c(e,t,n,0)}}function c(e,t,n,a){var o=t[a],i=Pt(e)?e.slice():He({},e);return a+1===t.length?(i[n[a]]=i[o],Pt(i)?i.splice(o,1):delete i[o]):i[o]=c(e[o],t,n,a+1),i}function f(e,t,n){var a=t[n],o=Pt(e)?e.slice():He({},e);if(n+1===t.length)return Pt(o)?o.splice(a,1):delete o[a],o;return o[a]=f(e[a],t,n+1),o}function p(){return!1}function m(){return null}function g(){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 S(){}function A(){}function C(e){var t=[];return e.forEach(function(n){t.push(n)}),t.sort().join(", ")}function T(e,t,n,a){return new tC(e,t,n,a)}function E(e,t){e.context===di&&(ly(e.current,2,t,e,null,null),or())}function B(e,t){if(wl!==null){var n=t.staleFamilies;t=t.updatedFamilies,qc(),_v(e.current,t,n),or()}}function w(e){wl=e}function z(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function R(e){for(var t=e,n=t;n&&!n.alternate;)t=n,(t.flags&4098)!==0&&(e=t.return),n=t.return;for(;t.return;)t=t.return;return t.tag===3?e:null}function H(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function Y(e){if(e.tag===31){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function P(e){if(R(e)!==e)throw Error("Unable to find node on an unmounted component.")}function ce(e){var t=e.alternate;if(!t){if(t=R(e),t===null)throw Error("Unable to find node on an unmounted component.");return t!==e?null:e}for(var n=e,a=t;;){var o=n.return;if(o===null)break;var i=o.alternate;if(i===null){if(a=o.return,a!==null){n=a;continue}break}if(o.child===i.child){for(i=o.child;i;){if(i===n)return P(o),e;if(i===a)return P(o),t;i=i.sibling}throw Error("Unable to find node on an unmounted component.")}if(n.return!==a.return)n=o,a=i;else{for(var u=!1,d=o.child;d;){if(d===n){u=!0,n=o,a=i;break}if(d===a){u=!0,a=o,n=i;break}d=d.sibling}if(!u){for(d=i.child;d;){if(d===n){u=!0,n=i,a=o;break}if(d===a){u=!0,a=i,n=o;break}d=d.sibling}if(!u)throw Error("Child was not found in either parent set. This indicates a bug in React related to the return pointer. Please file an issue.")}}if(n.alternate!==a)throw Error("Return fibers should always be each others' alternates. This error is likely caused by a bug in React. Please file an issue.")}if(n.tag!==3)throw Error("Unable to find node on an unmounted component.");return n.stateNode.current===n?e:t}function G(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=G(e),t!==null)return t;e=e.sibling}return null}function ie(e,t,n,a,o){W(e.child,!1,t,n,a,o)}function W(e,t,n,a,o,i){for(;e!==null;){if((e.tag===5||e.tag===27||e.tag===6)&&n(e,a,o,i)||(e.tag!==22||e.memoizedState===null)&&(t||e.tag!==5&&e.tag!==27)&&W(e.child,t,n,a,o,i))return!0;e=e.sibling}return!1}function Me(e){for(e=e.return;e!==null;){if(e.tag===3||e.tag===5||e.tag===27)return e;e=e.return}return null}function Ne(e){var t=!1;for(e=e.return;e!==null;){if(e.tag===4&&(t=!0),e.tag===3||e.tag===5||e.tag===27)break;e=e.return}return t}function Ee(e){var t=[null,null],n=Me(e);if(n===null)return t;return xe(t,e,n.child,{foundSelf:!1}),t}function xe(e,t,n,a){for(;n!==null;){if(n===t)a.foundSelf=!0;else if(n.tag===5||n.tag===27||n.tag===6){if(a.foundSelf)return e[1]=n,!0;e[0]=n}else if((n.tag!==22||n.memoizedState===null)&&xe(e,t,n.child,a))return!0;n=n.sibling}return!1}function ot(e){switch(e.tag){case 5:case 27:case 6:return e.stateNode;case 3:return e.stateNode.containerInfo;default:throw Error("Expected to find a host node. This is a bug in React.")}}function Fn(e,t,n){return e===n?!0:e===t?(fr=e,!0):!1}function le(e,t,n){return e===n?(fy=e,!1):e===t?(fy!==null&&(fr=e),!0):!1}function Oe(e){if(e===null)return null;do e=e===null?null:e.return;while(e&&e.tag!==5&&e.tag!==27&&e.tag!==3);return e?e:null}function Ae(e,t,n){for(var a=0,o=e;o;o=n(o))a++;o=0;for(var i=t;i;i=n(i))o++;for(;0<a-o;)e=n(e),a--;for(;0<o-a;)t=n(t),o--;for(;a--;){if(e===t||t!==null&&e===t.alternate)return e;e=n(e),t=n(t)}return null}function Ye(e){if(e===null||typeof e!=="object")return null;return e=iT&&e[iT]||e["@@iterator"],typeof e==="function"?e:null}function Ce(e){if(e==null)return null;if(typeof e==="function")return e.$$typeof===ZR?null:e.displayName||e.name||null;if(typeof e==="string")return e;switch(e){case pr:return"Fragment";case dy:return"Profiler";case Md:return"StrictMode";case hy:return"Suspense";case my:return"SuspenseList";case gy:return"Activity";case yy:return"ViewTransition"}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 dr:return"Portal";case Wa:return e.displayName||"Context";case py:return(e._context.displayName||"Context")+".Consumer";case xd:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case zd:return t=e.displayName||null,t!==null?t:Ce(e.type)||"Memo";case ea:t=e._payload,e=e._init;try{return Ce(e(t))}catch(n){}}return null}function kn(e){return typeof e.tag==="number"?L(e):typeof e.name==="string"?e.name:null}function L(e){var t=e.type;switch(e.tag){case 31:return"Activity";case 24:return"Cache";case 9:return(t._context.displayName||"Context")+".Consumer";case 10:return t.displayName||"Context";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 26:case 27:case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Ce(t);case 8:return t===Md?"StrictMode":"Mode";case 22:if(e.return!==null)return L(e.return);break;case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 30:return"ViewTransition";case 1:case 0:case 14:case 15:if(typeof t==="function")return t.displayName||t.name||null;if(typeof t==="string")return t;break;case 29:if(t=e._debugInfo,t!=null){for(var n=t.length-1;0<=n;n--)if(typeof t[n].name==="string")return t[n].name}if(e.return!==null)return L(e.return)}return null}function ye(e){return{current:e}}function Se(e,t){0>vl?console.error("Unexpected pop."):(t!==vy[vl]&&console.error("Unexpected Fiber popped."),e.current=by[vl],by[vl]=null,vy[vl]=null,vl--)}function q(e,t,n){vl++,by[vl]=e.current,vy[vl]=n,e.current=t}function te(e){return e===null&&console.error("Expected host context to exist. This error is likely caused by a bug in React. Please file an issue."),e}function Q(e,t){q(ii,t,e),q(eu,e,e),q(li,null,e);var n=t.nodeType;switch(n){case 9:case 11:n=n===9?"#document":"#fragment",t=(t=t.documentElement)?(t=t.namespaceURI)?mE(t):zl:zl;break;default:if(n=t.tagName,t=t.namespaceURI)t=mE(t),t=gE(t,n);else switch(n){case"svg":t=Kr;break;case"math":t=Lp;break;default:t=zl}}n=n.toLowerCase(),n=Pb(null,n),n={context:t,ancestorInfo:n},Se(li,e),q(li,n,e)}function Z(e){Se(li,e),Se(eu,e),Se(ii,e)}function J(){return te(li.current)}function se(e){var t=e.memoizedState;t!==null&&(Pr._currentValue=t.memoizedState,q(Ud,e,e)),t=te(li.current);var n=e.type,a=gE(t.context,n);n=Pb(t.ancestorInfo,n),a={context:a,ancestorInfo:n},t!==a&&(q(eu,e,e),q(li,a,e))}function Re(e){eu.current===e&&(Se(li,e),Se(eu,e)),Ud.current===e&&(Se(Ud,e),Pr._currentValue=_s)}function lt(){}function Ht(){if(tu===0){sT=console.log,rT=console.info,cT=console.warn,uT=console.error,fT=console.group,dT=console.groupCollapsed,pT=console.groupEnd;var e={configurable:!0,enumerable:!0,value:lt,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}tu++}function st(){if(tu--,tu===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:He({},e,{value:sT}),info:He({},e,{value:rT}),warn:He({},e,{value:cT}),error:He({},e,{value:uT}),group:He({},e,{value:fT}),groupCollapsed:He({},e,{value:dT}),groupEnd:He({},e,{value:pT})})}0>tu&&console.error("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}function qt(e){var t=Error.prepareStackTrace;if(Error.prepareStackTrace=void 0,e=e.stack,Error.prepareStackTrace=t,e.startsWith(`Error: react-stack-top-frame
|
|
18
18
|
`)&&(e=e.slice(29)),t=e.indexOf(`
|
|
19
19
|
`),t!==-1&&(e=e.slice(t+1)),t=e.indexOf("react_stack_bottom_frame"),t!==-1&&(t=e.lastIndexOf(`
|
|
20
20
|
`,t)),t!==-1)e=e.slice(0,t);else return"";return e}function wt(e){if(Sy===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);Sy=t&&t[1]||"",hT=-1<n.stack.indexOf(`
|
|
@@ -26,11 +26,11 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
|
|
|
26
26
|
`),D=M===-1?O:O.slice(M+1);if(D.indexOf(d)!==-1){var U=`
|
|
27
27
|
`+D;break e}}U=wt(d+(h?" ["+h+"]":""))}t=u+U}}n=e,e=e.return}while(e);return t}catch(X){return`
|
|
28
28
|
Error generating stack: `+X.message+`
|
|
29
|
-
`+X.stack}}function ql(e){return(e=e?e.displayName||e.name:"")?wt(e):""}function Xa(){if(Ea===null)return null;var e=Ea._debugOwner;return e!=null?
|
|
29
|
+
`+X.stack}}function ql(e){return(e=e?e.displayName||e.name:"")?wt(e):""}function Xa(){if(Ea===null)return null;var e=Ea._debugOwner;return e!=null?kn(e):null}function ze(){if(Ea===null)return"";var e=Ea;try{var t="";switch(e.tag===6&&(e=e.return),e.tag){case 26:case 27:case 5:t+=wt(e.type);break;case 13:t+=wt("Suspense");break;case 19:t+=wt("SuspenseList");break;case 31:t+=wt("Activity");break;case 30:t+=wt("ViewTransition");break;case 0:case 15:case 1:e._debugOwner||t!==""||(t+=ql(e.type));break;case 11:e._debugOwner||t!==""||(t+=ql(e.type.render))}for(;e;)if(typeof e.tag==="number"){var n=e;e=n._debugOwner;var a=n._debugStack;if(e&&a){var o=qt(a);o!==""&&(t+=`
|
|
30
30
|
`+o)}}else if(e.debugStack!=null){var i=e.debugStack;(e=e.owner)&&i&&(t+=`
|
|
31
31
|
`+qt(i))}else break;var u=t}catch(d){u=`
|
|
32
32
|
Error generating stack: `+d.message+`
|
|
33
|
-
`+d.stack}return u}function oe(e,t,n,a,o,i,u){var d=Ea;mn(e);try{return e!==null&&e._debugTask?e._debugTask.run(t.bind(null,n,a,o,i,u)):t(n,a,o,i,u)}finally{mn(d)}throw Error("runWithFiberInDEV should never be called in production. This is a bug in React.")}function mn(e){V.getCurrentStack=e===null?null:ze,Ho=!1,Ea=e}function An(e){return typeof Symbol==="function"&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object"}function sl(e){try{return Vl(e),!1}catch(t){return!0}}function Vl(e){return""+e}function bt(e,t){if(sl(e))return console.error("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before using it here.",t,An(e)),Vl(e)}function gc(e,t){if(sl(e))return console.error("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before using it here.",t,An(e)),Vl(e)}function Ls(e){if(sl(e))return console.error("Form field values (value, checked, defaultValue, or defaultChecked props) must be strings, not %s. This value must be coerced to a string before using it here.",An(e)),Vl(e)}function hf(e){if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u")return!1;var t=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(t.isDisabled)return!0;if(!t.supportsFiber)return console.error("The installed version of React DevTools is too old and will not work with the current version of React. Please update React DevTools. https://react.dev/link/react-devtools"),!0;try{mr=t.inject(e),_n=t}catch(n){console.error("React instrumentation encountered an error: %o.",n)}return t.checkDCE?!0:!1}function At(e){if(typeof a_==="function"&&o_(e),_n&&typeof _n.setStrictMode==="function")try{_n.setStrictMode(mr,e)}catch(t){jo||(jo=!0,console.error("React instrumentation encountered an error: %o",t))}}function mf(e){return e>>>=0,e===0?32:31-(l_(e)/i_|0)|0}function Na(e){var t=e&42;if(t!==0)return t;switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return e&-e;case 262144:case 524288:case 1048576:case 2097152:return e&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return e&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return console.error("Should have found matching lanes. This is a bug in React."),e}}function rl(e,t,n){var a=e.pendingLanes;if(a===0)return 0;var o=0,i=e.suspendedLanes,u=e.pingedLanes;e=e.warmLanes;var d=a&134217727;return d!==0?(a=d&~i,a!==0?o=Na(a):(u&=d,u!==0?o=Na(u):n||(n=d&~e,n!==0&&(o=Na(n))))):(d=a&~i,d!==0?o=Na(d):u!==0?o=Na(u):n||(n=a&~e,n!==0&&(o=Na(n)))),o===0?0:t!==0&&t!==o&&(t&i)===0&&(i=o&-o,n=t&-t,i>=n||i===32&&(n&4194048)!==0)?t:o}function vo(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function Hs(e,t){(t&8)!==0&&(t|=t&32);var n=e.entangledLanes;if(n!==0)for(e=e.entanglements,n&=t;0<n;){var a=31-In(n),o=1<<a;t|=e[a],n&=~o}return t}function gf(e,t){switch(e){case 1:case 2:case 4:case 8:case 64:return t+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+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 cl(){var e=Ld;return Ld<<=1,(Ld&62914560)===0&&(Ld=4194304),e}function b(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function B(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function ne(e,t,n,a,o,i){var u=e.pendingLanes;e.pendingLanes=n,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=n,e.entangledLanes&=n,e.errorRecoveryDisabledLanes&=n,e.shellSuspendCounter=0;var{entanglements:d,expirationTimes:h,hiddenUpdates:y}=e;for(n=u&~n;0<n;){var O=31-In(n),M=1<<O;d[O]=0,h[O]=-1;var D=y[O];if(D!==null)for(y[O]=null,O=0;O<D.length;O++){var U=D[O];U!==null&&(U.lane&=-536870913)}n&=~M}a!==0&&ae(e,a,0),i!==0&&o===0&&e.tag!==0&&(e.suspendedLanes|=i&~(u&~t))}function ae(e,t,n){e.pendingLanes|=t,e.suspendedLanes&=~t;var a=31-In(t);e.entangledLanes|=t,e.entanglements[a]=e.entanglements[a]|1073741824|n&261930}function ue(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var a=31-In(n),o=1<<a;o&t|e[a]&t&&(e[a]|=t),n&=~o}}function it(e,t){var n=t&-t;return n=(n&42)!==0?1:fe(n),(n&(e.suspendedLanes|t))!==0?0:n}function fe(e){switch(e){case 2:e=1;break;case 8:e=4;break;case 32:e=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:e=128;break;case 268435456:e=134217728;break;default:e=0}return e}function Be(e,t,n){if($o)for(e=e.pendingUpdatersLaneMap;0<n;){var a=31-In(n),o=1<<a;e[a].add(t),n&=~o}}function tt(e,t){if($o)for(var n=e.pendingUpdatersLaneMap,a=e.memoizedUpdaters;0<t;){var o=31-In(t);e=1<<o,o=n[o],0<o.size&&(o.forEach(function(i){var u=i.alternate;u!==null&&a.has(u)||a.add(i)}),o.clear()),t&=~e}}function Da(e){return e&=-e,qn!==0&&qn<e?eo!==0&&eo<e?(e&134217727)!==0?Io:Hd:eo:qn}function So(){var e=ut.p;if(e!==0)return e;return e=window.event,e===void 0?Io:WE(e.type)}function yf(e,t){var n=ut.p;try{return ut.p=e,t()}finally{ut.p=n}}function js(e){delete e[bn],delete e[Vn],delete e[s_],delete e[r_]}function $i(e){var t;if(t=e[bn])return t;for(var n=e.parentNode;n;){if(t=n[si]||n[bn]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=BE(e);e!==null;){if(n=e[bn])return n;e=BE(e)}return t}e=n,n=e.parentNode}return null}function Eo(e){if(e=e[bn]||e[si]){var t=e.tag;if(t===5||t===6||t===13||t===31||t===26||t===27||t===3)return e}return null}function yc(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e.stateNode;throw Error("getNodeFromInstance: Invalid argument.")}function $s(e){var t=e[gT];return t||(t=e[gT]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function on(e){e[nu]=!0}function Ub(e){e[jd]=void 0}function Ii(e,t){Is(e,t),Is(e+"Capture",t)}function Is(e,t){os[e]&&console.error("EventRegistry: More than one plugin attempted to publish the same registration name, `%s`.",e),os[e]=t;var n=e.toLowerCase();Ry[n]=e,e==="onDoubleClick"&&(Ry.ondblclick=e);for(e=0;e<t.length;e++)yT.add(t[e])}function qs(e,t){c_[t.type]||t.onChange||t.onInput||t.readOnly||t.disabled||t.value==null||(e==="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`.")),t.onChange||t.readOnly||t.disabled||t.checked==null||console.error("You provided a `checked` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultChecked`. Otherwise, set either `onChange` or `readOnly`.")}function qh(e){if(Ba.call(vT,e))return!0;if(Ba.call(bT,e))return!1;if(u_.test(e))return vT[e]=!0;return bT[e]=!0,console.error("Invalid attribute name: `%s`",e),!1}function Bb(){var e=rt;return rt=!1,e}function kb(e,t,n){if(qh(t)){if(!e.hasAttribute(t)){switch(typeof n){case"symbol":case"object":return n;case"function":return n;case"boolean":if(n===!1)return n}return n===void 0?void 0:null}if(e=t.toLowerCase()==="nonce"?e.nonce:e.getAttribute(t),e===""&&n===!0)return!0;return bt(n,t),e===""+n?n:e}}function bf(e,t,n){if(qh(t))if(n===null)e.removeAttribute(t);else{switch(typeof n){case"undefined":case"function":case"symbol":e.removeAttribute(t);return;case"boolean":var a=t.toLowerCase().slice(0,5);if(a!=="data-"&&a!=="aria-"){e.removeAttribute(t);return}}bt(n,t),e.setAttribute(t,n)}}function vf(e,t,n){if(n===null)e.removeAttribute(t);else{switch(typeof n){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(t);return}bt(n,t),e.setAttribute(t,n)}}function ul(e,t,n,a){if(a===null)e.removeAttribute(n);else{switch(typeof a){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(n);return}bt(a,n),e.setAttributeNS(t,n,a)}}function da(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":return e;case"object":return Ls(e),e;default:return""}}function Lb(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function UA(e,t,n){var a=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);if(!e.hasOwnProperty(t)&&typeof a<"u"&&typeof a.get==="function"&&typeof a.set==="function"){var{get:o,set:i}=a;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(u){Ls(u),n=""+u,i.call(this,u)}}),Object.defineProperty(e,t,{enumerable:a.enumerable}),{getValue:function(){return n},setValue:function(u){Ls(u),n=""+u},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Vh(e){if(!e._valueTracker){var t=Lb(e)?"checked":"value";e._valueTracker=UA(e,t,""+e[t])}}function Hb(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),a="";return e&&(a=Lb(e)?e.checked?"true":"false":e.value),e=a,e!==n?(t.setValue(e),!0):!1}function Ma(e){return e.replace(f_,function(t){return"\\"+t.charCodeAt(0).toString(16)+" "})}function jb(e,t){t.checked===void 0||t.defaultChecked===void 0||ET||(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",Xa()||"A component",t.type),ET=!0),t.value===void 0||t.defaultValue===void 0||ST||(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",Xa()||"A component",t.type),ST=!0)}function Yh(e,t,n,a,o,i,u,d){if(e.name="",u!=null&&typeof u!=="function"&&typeof u!=="symbol"&&typeof u!=="boolean"?(bt(u,"type"),e.type=u):e.removeAttribute("type"),t!=null)if(u==="number"){if(t===0&&e.value===""||e.value!=t)e.value=""+da(t)}else e.value!==""+da(t)&&(e.value=""+da(t));else u!=="submit"&&u!=="reset"||e.removeAttribute("value");t!=null?u==="number"&&e.value==t?Gh(e,da(e.value)):Gh(e,da(t)):n!=null?Gh(e,da(n)):a!=null&&e.removeAttribute("value"),o==null&&i!=null&&(e.defaultChecked=!!i),o!=null&&(e.checked=o&&typeof o!=="function"&&typeof o!=="symbol"),d!=null&&typeof d!=="function"&&typeof d!=="symbol"&&typeof d!=="boolean"?(bt(d,"name"),e.name=""+da(d)):e.removeAttribute("name")}function $b(e,t,n,a,o,i,u,d){if(i!=null&&typeof i!=="function"&&typeof i!=="symbol"&&typeof i!=="boolean"&&(bt(i,"type"),e.type=i),t!=null||n!=null){if(!(i!=="submit"&&i!=="reset"||t!==void 0&&t!==null)){Vh(e);return}n=n!=null?""+da(n):"",t=t!=null?""+da(t):n,d||t===e.value||(e.value=t),e.defaultValue=t}a=a!=null?a:o,a=typeof a!=="function"&&typeof a!=="symbol"&&!!a,e.checked=d?e.checked:!!a,e.defaultChecked=!!a,u!=null&&typeof u!=="function"&&typeof u!=="symbol"&&typeof u!=="boolean"&&(bt(u,"name"),e.name=u),Vh(e)}function Gh(e,t){e.defaultValue!==""+t&&(e.defaultValue=""+t)}function Ib(e,t){t.value==null&&(typeof t.children==="object"&&t.children!==null?ec.Children.forEach(t.children,function(n){n==null||typeof n==="string"||typeof n==="number"||typeof n==="bigint"||wT||(wT=!0,console.error("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>."))}):t.dangerouslySetInnerHTML==null||OT||(OT=!0,console.error("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected."))),t.selected==null||TT||(console.error("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),TT=!0)}function qb(){var e=Xa();return e?`
|
|
33
|
+
`+d.stack}return u}function oe(e,t,n,a,o,i,u){var d=Ea;mn(e);try{return e!==null&&e._debugTask?e._debugTask.run(t.bind(null,n,a,o,i,u)):t(n,a,o,i,u)}finally{mn(d)}throw Error("runWithFiberInDEV should never be called in production. This is a bug in React.")}function mn(e){V.getCurrentStack=e===null?null:ze,Ho=!1,Ea=e}function An(e){return typeof Symbol==="function"&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object"}function sl(e){try{return Vl(e),!1}catch(t){return!0}}function Vl(e){return""+e}function bt(e,t){if(sl(e))return console.error("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before using it here.",t,An(e)),Vl(e)}function gc(e,t){if(sl(e))return console.error("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before using it here.",t,An(e)),Vl(e)}function Ls(e){if(sl(e))return console.error("Form field values (value, checked, defaultValue, or defaultChecked props) must be strings, not %s. This value must be coerced to a string before using it here.",An(e)),Vl(e)}function hf(e){if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u")return!1;var t=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(t.isDisabled)return!0;if(!t.supportsFiber)return console.error("The installed version of React DevTools is too old and will not work with the current version of React. Please update React DevTools. https://react.dev/link/react-devtools"),!0;try{mr=t.inject(e),_n=t}catch(n){console.error("React instrumentation encountered an error: %o.",n)}return t.checkDCE?!0:!1}function At(e){if(typeof a_==="function"&&o_(e),_n&&typeof _n.setStrictMode==="function")try{_n.setStrictMode(mr,e)}catch(t){jo||(jo=!0,console.error("React instrumentation encountered an error: %o",t))}}function mf(e){return e>>>=0,e===0?32:31-(l_(e)/i_|0)|0}function Na(e){var t=e&42;if(t!==0)return t;switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return e&-e;case 262144:case 524288:case 1048576:case 2097152:return e&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return e&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return console.error("Should have found matching lanes. This is a bug in React."),e}}function rl(e,t,n){var a=e.pendingLanes;if(a===0)return 0;var o=0,i=e.suspendedLanes,u=e.pingedLanes;e=e.warmLanes;var d=a&134217727;return d!==0?(a=d&~i,a!==0?o=Na(a):(u&=d,u!==0?o=Na(u):n||(n=d&~e,n!==0&&(o=Na(n))))):(d=a&~i,d!==0?o=Na(d):u!==0?o=Na(u):n||(n=a&~e,n!==0&&(o=Na(n)))),o===0?0:t!==0&&t!==o&&(t&i)===0&&(i=o&-o,n=t&-t,i>=n||i===32&&(n&4194048)!==0)?t:o}function vo(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function Hs(e,t){(t&8)!==0&&(t|=t&32);var n=e.entangledLanes;if(n!==0)for(e=e.entanglements,n&=t;0<n;){var a=31-In(n),o=1<<a;t|=e[a],n&=~o}return t}function gf(e,t){switch(e){case 1:case 2:case 4:case 8:case 64:return t+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+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 cl(){var e=Ld;return Ld<<=1,(Ld&62914560)===0&&(Ld=4194304),e}function b(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function k(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function ne(e,t,n,a,o,i){var u=e.pendingLanes;e.pendingLanes=n,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=n,e.entangledLanes&=n,e.errorRecoveryDisabledLanes&=n,e.shellSuspendCounter=0;var{entanglements:d,expirationTimes:h,hiddenUpdates:y}=e;for(n=u&~n;0<n;){var O=31-In(n),M=1<<O;d[O]=0,h[O]=-1;var D=y[O];if(D!==null)for(y[O]=null,O=0;O<D.length;O++){var U=D[O];U!==null&&(U.lane&=-536870913)}n&=~M}a!==0&&ae(e,a,0),i!==0&&o===0&&e.tag!==0&&(e.suspendedLanes|=i&~(u&~t))}function ae(e,t,n){e.pendingLanes|=t,e.suspendedLanes&=~t;var a=31-In(t);e.entangledLanes|=t,e.entanglements[a]=e.entanglements[a]|1073741824|n&261930}function ue(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var a=31-In(n),o=1<<a;o&t|e[a]&t&&(e[a]|=t),n&=~o}}function it(e,t){var n=t&-t;return n=(n&42)!==0?1:fe(n),(n&(e.suspendedLanes|t))!==0?0:n}function fe(e){switch(e){case 2:e=1;break;case 8:e=4;break;case 32:e=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:e=128;break;case 268435456:e=134217728;break;default:e=0}return e}function ke(e,t,n){if($o)for(e=e.pendingUpdatersLaneMap;0<n;){var a=31-In(n),o=1<<a;e[a].add(t),n&=~o}}function tt(e,t){if($o)for(var n=e.pendingUpdatersLaneMap,a=e.memoizedUpdaters;0<t;){var o=31-In(t);e=1<<o,o=n[o],0<o.size&&(o.forEach(function(i){var u=i.alternate;u!==null&&a.has(u)||a.add(i)}),o.clear()),t&=~e}}function Da(e){return e&=-e,qn!==0&&qn<e?eo!==0&&eo<e?(e&134217727)!==0?Io:Hd:eo:qn}function So(){var e=ut.p;if(e!==0)return e;return e=window.event,e===void 0?Io:WE(e.type)}function yf(e,t){var n=ut.p;try{return ut.p=e,t()}finally{ut.p=n}}function js(e){delete e[bn],delete e[Vn],delete e[s_],delete e[r_]}function $i(e){var t;if(t=e[bn])return t;for(var n=e.parentNode;n;){if(t=n[si]||n[bn]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=kE(e);e!==null;){if(n=e[bn])return n;e=kE(e)}return t}e=n,n=e.parentNode}return null}function Eo(e){if(e=e[bn]||e[si]){var t=e.tag;if(t===5||t===6||t===13||t===31||t===26||t===27||t===3)return e}return null}function yc(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e.stateNode;throw Error("getNodeFromInstance: Invalid argument.")}function $s(e){var t=e[gT];return t||(t=e[gT]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function on(e){e[nu]=!0}function Ub(e){e[jd]=void 0}function Ii(e,t){Is(e,t),Is(e+"Capture",t)}function Is(e,t){os[e]&&console.error("EventRegistry: More than one plugin attempted to publish the same registration name, `%s`.",e),os[e]=t;var n=e.toLowerCase();Ry[n]=e,e==="onDoubleClick"&&(Ry.ondblclick=e);for(e=0;e<t.length;e++)yT.add(t[e])}function qs(e,t){c_[t.type]||t.onChange||t.onInput||t.readOnly||t.disabled||t.value==null||(e==="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`.")),t.onChange||t.readOnly||t.disabled||t.checked==null||console.error("You provided a `checked` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultChecked`. Otherwise, set either `onChange` or `readOnly`.")}function qh(e){if(ka.call(vT,e))return!0;if(ka.call(bT,e))return!1;if(u_.test(e))return vT[e]=!0;return bT[e]=!0,console.error("Invalid attribute name: `%s`",e),!1}function kb(){var e=rt;return rt=!1,e}function Bb(e,t,n){if(qh(t)){if(!e.hasAttribute(t)){switch(typeof n){case"symbol":case"object":return n;case"function":return n;case"boolean":if(n===!1)return n}return n===void 0?void 0:null}if(e=t.toLowerCase()==="nonce"?e.nonce:e.getAttribute(t),e===""&&n===!0)return!0;return bt(n,t),e===""+n?n:e}}function bf(e,t,n){if(qh(t))if(n===null)e.removeAttribute(t);else{switch(typeof n){case"undefined":case"function":case"symbol":e.removeAttribute(t);return;case"boolean":var a=t.toLowerCase().slice(0,5);if(a!=="data-"&&a!=="aria-"){e.removeAttribute(t);return}}bt(n,t),e.setAttribute(t,n)}}function vf(e,t,n){if(n===null)e.removeAttribute(t);else{switch(typeof n){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(t);return}bt(n,t),e.setAttribute(t,n)}}function ul(e,t,n,a){if(a===null)e.removeAttribute(n);else{switch(typeof a){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(n);return}bt(a,n),e.setAttributeNS(t,n,a)}}function da(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":return e;case"object":return Ls(e),e;default:return""}}function Lb(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function UA(e,t,n){var a=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);if(!e.hasOwnProperty(t)&&typeof a<"u"&&typeof a.get==="function"&&typeof a.set==="function"){var{get:o,set:i}=a;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(u){Ls(u),n=""+u,i.call(this,u)}}),Object.defineProperty(e,t,{enumerable:a.enumerable}),{getValue:function(){return n},setValue:function(u){Ls(u),n=""+u},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Vh(e){if(!e._valueTracker){var t=Lb(e)?"checked":"value";e._valueTracker=UA(e,t,""+e[t])}}function Hb(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),a="";return e&&(a=Lb(e)?e.checked?"true":"false":e.value),e=a,e!==n?(t.setValue(e),!0):!1}function Ma(e){return e.replace(f_,function(t){return"\\"+t.charCodeAt(0).toString(16)+" "})}function jb(e,t){t.checked===void 0||t.defaultChecked===void 0||ET||(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",Xa()||"A component",t.type),ET=!0),t.value===void 0||t.defaultValue===void 0||ST||(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",Xa()||"A component",t.type),ST=!0)}function Yh(e,t,n,a,o,i,u,d){if(e.name="",u!=null&&typeof u!=="function"&&typeof u!=="symbol"&&typeof u!=="boolean"?(bt(u,"type"),e.type=u):e.removeAttribute("type"),t!=null)if(u==="number"){if(t===0&&e.value===""||e.value!=t)e.value=""+da(t)}else e.value!==""+da(t)&&(e.value=""+da(t));else u!=="submit"&&u!=="reset"||e.removeAttribute("value");t!=null?u==="number"&&e.value==t?Gh(e,da(e.value)):Gh(e,da(t)):n!=null?Gh(e,da(n)):a!=null&&e.removeAttribute("value"),o==null&&i!=null&&(e.defaultChecked=!!i),o!=null&&(e.checked=o&&typeof o!=="function"&&typeof o!=="symbol"),d!=null&&typeof d!=="function"&&typeof d!=="symbol"&&typeof d!=="boolean"?(bt(d,"name"),e.name=""+da(d)):e.removeAttribute("name")}function $b(e,t,n,a,o,i,u,d){if(i!=null&&typeof i!=="function"&&typeof i!=="symbol"&&typeof i!=="boolean"&&(bt(i,"type"),e.type=i),t!=null||n!=null){if(!(i!=="submit"&&i!=="reset"||t!==void 0&&t!==null)){Vh(e);return}n=n!=null?""+da(n):"",t=t!=null?""+da(t):n,d||t===e.value||(e.value=t),e.defaultValue=t}a=a!=null?a:o,a=typeof a!=="function"&&typeof a!=="symbol"&&!!a,e.checked=d?e.checked:!!a,e.defaultChecked=!!a,u!=null&&typeof u!=="function"&&typeof u!=="symbol"&&typeof u!=="boolean"&&(bt(u,"name"),e.name=u),Vh(e)}function Gh(e,t){e.defaultValue!==""+t&&(e.defaultValue=""+t)}function Ib(e,t){t.value==null&&(typeof t.children==="object"&&t.children!==null?ec.Children.forEach(t.children,function(n){n==null||typeof n==="string"||typeof n==="number"||typeof n==="bigint"||wT||(wT=!0,console.error("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>."))}):t.dangerouslySetInnerHTML==null||OT||(OT=!0,console.error("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected."))),t.selected==null||TT||(console.error("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),TT=!0)}function qb(){var e=Xa();return e?`
|
|
34
34
|
|
|
35
35
|
Check the render method of \``+e+"`.":""}function Vs(e,t,n,a){if(e=e.options,t){t={};for(var o=0;o<n.length;o++)t["$"+n[o]]=!0;for(n=0;n<e.length;n++)o=t.hasOwnProperty("$"+e[n].value),e[n].selected!==o&&(e[n].selected=o),o&&a&&(e[n].defaultSelected=!0)}else{n=""+da(n),t=null;for(o=0;o<e.length;o++){if(e[o].value===n){e[o].selected=!0,a&&(e[o].defaultSelected=!0);return}t!==null||e[o].disabled||(t=e[o])}t!==null&&(t.selected=!0)}}function Vb(e,t){for(e=0;e<CT.length;e++){var n=CT[e];if(t[n]!=null){var a=Pt(t[n]);t.multiple&&!a?console.error("The `%s` prop supplied to <select> must be an array if `multiple` is true.%s",n,qb()):!t.multiple&&a&&console.error("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.%s",n,qb())}}t.value===void 0||t.defaultValue===void 0||AT||(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"),AT=!0)}function Yb(e,t){t.value===void 0||t.defaultValue===void 0||RT||(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",Xa()||"A component"),RT=!0),t.children!=null&&t.value==null&&console.error("Use the `defaultValue` or `value` props instead of setting children on <textarea>.")}function Gb(e,t,n){if(t!=null&&(t=""+da(t),t!==e.value&&(e.value=t),n==null)){e.defaultValue!==t&&(e.defaultValue=t);return}e.defaultValue=n!=null?""+da(n):""}function Qb(e,t,n,a){if(t==null){if(a!=null){if(n!=null)throw Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(Pt(a)){if(1<a.length)throw Error("<textarea> can only have at most one child.");a=a[0]}n=a}n==null&&(n=""),t=n}n=da(t),e.defaultValue=n,a=e.textContent,a===n&&a!==""&&a!==null&&(e.value=a),Vh(e)}function Xb(e,t){return e.serverProps===void 0&&e.serverTail.length===0&&e.children.length===1&&3<e.distanceFromLeaf&&e.distanceFromLeaf>15-t?Xb(e.children[0],t):e}function pa(e){return" "+" ".repeat(e)}function Ys(e){return"+ "+" ".repeat(e)}function qi(e){return"- "+" ".repeat(e)}function Jb(e){switch(e.tag){case 26:case 27:case 5:return e.type;case 16:return"Lazy";case 31:return"Activity";case 13:return"Suspense";case 19:return"SuspenseList";case 0:case 15:return e=e.type,e.displayName||e.name||null;case 11:return e=e.type.render,e.displayName||e.name||null;case 1:return e=e.type,e.displayName||e.name||null;default:return null}}function bc(e,t){return _T.test(e)?(e=JSON.stringify(e),e.length>t-2?8>t?'{"..."}':"{"+e.slice(0,t-7)+'..."}':"{"+e+"}"):e.length>t?5>t?'{"..."}':e.slice(0,t-3)+"...":e}function Sf(e,t,n){var a=120-2*n;if(t===null)return Ys(n)+bc(e,a)+`
|
|
36
36
|
`;if(typeof t==="string"){for(var o=0;o<t.length&&o<e.length&&t.charCodeAt(o)===e.charCodeAt(o);o++);return o>a-8&&10<o&&(e="..."+e.slice(o-8),t="..."+t.slice(o-8)),Ys(n)+bc(e,a)+`
|
|
@@ -42,12 +42,12 @@ Check the render method of \``+e+"`.":""}function Vs(e,t,n,a){if(e=e.options,t){
|
|
|
42
42
|
`+n+" "+o.join(`
|
|
43
43
|
`+n+" ")+`
|
|
44
44
|
`+n+`>
|
|
45
|
-
`}function
|
|
45
|
+
`}function kA(e,t,n){var a="",o=He({},t),i;for(i in e)if(e.hasOwnProperty(i)){delete o[i];var u=120-2*n-i.length-2,d=vc(e[i],u);t.hasOwnProperty(i)?(u=vc(t[i],u),a+=Ys(n)+i+": "+d+`
|
|
46
46
|
`,a+=qi(n)+i+": "+u+`
|
|
47
47
|
`):a+=Ys(n)+i+": "+d+`
|
|
48
48
|
`}for(var h in o)o.hasOwnProperty(h)&&(e=vc(o[h],120-2*n-h.length-2),a+=qi(n)+h+": "+e+`
|
|
49
|
-
`);return a}function
|
|
50
|
-
`+
|
|
49
|
+
`);return a}function BA(e,t,n,a){var o="",i=new Map;for(y in n)n.hasOwnProperty(y)&&i.set(y.toLowerCase(),y);if(i.size===1&&i.has("children"))o+=Xh(e,t,pa(a));else{for(var u in t)if(t.hasOwnProperty(u)&&u!=="children"){var d=120-2*(a+1)-u.length-1,h=i.get(u.toLowerCase());if(h!==void 0){i.delete(u.toLowerCase());var y=t[u];h=n[h];var O=Gs(y,d);d=Gs(h,d),typeof y==="object"&&y!==null&&typeof h==="object"&&h!==null&&Qh(y)==="Object"&&Qh(h)==="Object"&&(2<Object.keys(y).length||2<Object.keys(h).length||-1<O.indexOf("...")||-1<d.indexOf("..."))?o+=pa(a+1)+u+`={{
|
|
50
|
+
`+kA(y,h,a+2)+pa(a+1)+`}}
|
|
51
51
|
`:(o+=Ys(a+1)+u+"="+O+`
|
|
52
52
|
`,o+=qi(a+1)+u+"="+d+`
|
|
53
53
|
`)}else o+=pa(a+1)+u+"="+Gs(t[u],d)+`
|
|
@@ -59,7 +59,7 @@ Check the render method of \``+e+"`.":""}function Vs(e,t,n,a){if(e=e.options,t){
|
|
|
59
59
|
`}function Jh(e,t){var n=Xb(e,t);if(n!==e&&(e.children.length!==1||e.children[0]!==n))return pa(t)+`...
|
|
60
60
|
`+Jh(n,t+1);n="";var a=e.fiber._debugInfo;if(a)for(var o=0;o<a.length;o++){var i=a[o].name;typeof i==="string"&&(n+=pa(t)+"<"+i+`>
|
|
61
61
|
`,t++)}if(a="",o=e.fiber.pendingProps,e.fiber.tag===6)a=Sf(o,e.serverProps,t),t++;else if(i=Jb(e.fiber),i!==null)if(e.serverProps===void 0){a=t;var u=120-2*a-i.length-2,d="";for(y in o)if(o.hasOwnProperty(y)&&y!=="children"){var h=Gs(o[y],15);if(u-=y.length+h.length+2,0>u){d+=" ...";break}d+=" "+y+"="+h}a=pa(a)+"<"+i+d+`>
|
|
62
|
-
`,t++}else e.serverProps===null?(a=Xh(i,o,Ys(t)),t++):typeof e.serverProps==="string"?console.error("Should not have matched a non HostText fiber to a Text node. This is a bug in React."):(a=
|
|
62
|
+
`,t++}else e.serverProps===null?(a=Xh(i,o,Ys(t)),t++):typeof e.serverProps==="string"?console.error("Should not have matched a non HostText fiber to a Text node. This is a bug in React."):(a=BA(i,o,e.serverProps,t),t++);var y="";o=e.fiber.child;for(i=0;o&&i<e.children.length;)u=e.children[i],u.fiber===o?(y+=Jh(u,t),i++):y+=Kb(o,t),o=o.sibling;o&&0<e.children.length&&(y+=pa(t)+`...
|
|
63
63
|
`),o=e.serverTail,e.serverProps===null&&t--;for(e=0;e<o.length;e++)i=o[e],y=typeof i==="string"?y+(qi(t)+bc(i,120-2*t)+`
|
|
64
64
|
`):y+Xh(i.type,i.props,qi(t));return n+a+y}function Kh(e){try{return`
|
|
65
65
|
|
|
@@ -68,7 +68,7 @@ This will cause a hydration error.%s`,u,a,n,i)):console.error(`In HTML, %s canno
|
|
|
68
68
|
This will cause a hydration error.%s`,u,a,i),t&&(e=t.return,o===null||e===null||o===e&&e._debugOwner===t._debugOwner||oe(o,function(){console.error(`<%s> cannot contain a nested %s.
|
|
69
69
|
See this log for the ancestor stack trace.`,a,u)})),!1}function Ef(e,t,n){if(n||Fb("#text",t,!1))return!0;if(n="#text|"+t,$d[n])return!1;$d[n]=!0;var a=(n=Ea)?Wb(n,t):null;return n=n!==null&&a!==null?Zb(a,n,n.tag!==6?{children:null}:null):"",/\S/.test(e)?console.error(`In HTML, text nodes cannot be a child of <%s>.
|
|
70
70
|
This will cause a hydration error.%s`,t,n):console.error(`In HTML, whitespace text nodes cannot be a child of <%s>. Make sure you don't have any extra whitespace between tags on each line of your source code.
|
|
71
|
-
This will cause a hydration error.%s`,t,n),!1}function Sc(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}function HA(e){return e.replace(y_,function(t,n){return n.toUpperCase()})}function ev(e,t,n){var a=t.indexOf("--")===0;a||(-1<t.indexOf("-")?gr.hasOwnProperty(t)&&gr[t]||(gr[t]=!0,console.error("Unsupported style property %s. Did you mean %s?",t,HA(t.replace(g_,"ms-")))):m_.test(t)?gr.hasOwnProperty(t)&&gr[t]||(gr[t]=!0,console.error("Unsupported vendor-prefixed style property %s. Did you mean %s?",t,t.charAt(0).toUpperCase()+t.slice(1))):!zT.test(n)||Ny.hasOwnProperty(n)&&Ny[n]||(Ny[n]=!0,console.error(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,t,n.replace(zT,""))),typeof n==="number"&&(isNaN(n)?UT||(UT=!0,console.error("`NaN` is an invalid value for the `%s` css style property.",t)):isFinite(n)||BT||(BT=!0,console.error("`Infinity` is an invalid value for the `%s` css style property.",t)))),n==null||typeof n==="boolean"||n===""?a?e.setProperty(t,""):t==="float"?e.cssFloat="":e[t]="":a?e.setProperty(t,n):typeof n!=="number"||n===0||kT.has(t)?t==="float"?e.cssFloat=n:(gc(n,t),e[t]=(""+n).trim()):e[t]=n+"px"}function tv(e,t,n){if(t!=null&&typeof t!=="object")throw Error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.");if(t&&Object.freeze(t),e=e.style,n!=null){if(t){var a={};if(n){for(var o in n)if(n.hasOwnProperty(o)&&!t.hasOwnProperty(o))for(var i=_y[o]||[o],u=0;u<i.length;u++)a[i[u]]=o}for(var d in t)if(t.hasOwnProperty(d)&&(!n||n[d]!==t[d]))for(o=_y[d]||[d],i=0;i<o.length;i++)a[o[i]]=d;d={};for(var h in t)for(o=_y[h]||[h],i=0;i<o.length;i++)d[o[i]]=h;h={};for(var y in a)if(o=a[y],(i=d[y])&&o!==i&&(u=o+","+i,!h[u])){h[u]=!0,u=console;var O=t[o];u.error.call(u,"%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.",O==null||typeof O==="boolean"||O===""?"Removing":"Updating",o,i)}}for(var M in n)!n.hasOwnProperty(M)||t!=null&&t.hasOwnProperty(M)||(M.indexOf("--")===0?e.setProperty(M,""):M==="float"?e.cssFloat="":e[M]="",rt=!0);for(var D in t)y=t[D],t.hasOwnProperty(D)&&n[D]!==y&&(ev(e,D,y),rt=!0)}else for(a in t)t.hasOwnProperty(a)&&ev(e,a,t[a])}function Ec(e){if(e.indexOf("-")===-1)return!1;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}function nv(e){return b_.get(e)||e}function jA(e,t){if(Ba.call(br,t)&&br[t])return!0;if(S_.test(t)){if(e="aria-"+t.slice(4).toLowerCase(),e=LT.hasOwnProperty(e)?e:null,e==null)return console.error("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",t),br[t]=!0;if(t!==e)return console.error("Invalid ARIA attribute `%s`. Did you mean `%s`?",t,e),br[t]=!0}if(v_.test(t)){if(e=t.toLowerCase(),e=LT.hasOwnProperty(e)?e:null,e==null)return br[t]=!0,!1;t!==e&&(console.error("Unknown ARIA attribute `%s`. Did you mean `%s`?",t,e),br[t]=!0)}return!0}function $A(e,t){var n=[],a;for(a in t)jA(e,a)||n.push(a);t=n.map(function(o){return"`"+o+"`"}).join(", "),n.length===1?console.error("Invalid aria prop %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props",t,e):1<n.length&&console.error("Invalid aria props %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props",t,e)}function IA(e,t,n,a){if(Ba.call(Yn,t)&&Yn[t])return!0;var o=t.toLowerCase();if(o==="onfocusin"||o==="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."),Yn[t]=!0;if(typeof n==="function"&&(e==="form"&&t==="action"||e==="input"&&t==="formAction"||e==="button"&&t==="formAction"))return!0;if(a!=null){if(e=a.possibleRegistrationNames,a.registrationNameDependencies.hasOwnProperty(t))return!0;if(a=e.hasOwnProperty(o)?e[o]:null,a!=null)return console.error("Invalid event handler property `%s`. Did you mean `%s`?",t,a),Yn[t]=!0;if(jT.test(t))return console.error("Unknown event handler property `%s`. It will be ignored.",t),Yn[t]=!0}else if(jT.test(t))return E_.test(t)&&console.error("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",t),Yn[t]=!0;if(T_.test(t)||w_.test(t))return!0;if(o==="innerhtml")return console.error("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),Yn[t]=!0;if(o==="aria")return console.error("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),Yn[t]=!0;if(o==="is"&&n!==null&&n!==void 0&&typeof n!=="string")return console.error("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof n),Yn[t]=!0;if(typeof n==="number"&&isNaN(n))return console.error("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",t),Yn[t]=!0;if(qd.hasOwnProperty(o)){if(o=qd[o],o!==t)return console.error("Invalid DOM property `%s`. Did you mean `%s`?",t,o),Yn[t]=!0}else if(t!==o)return console.error("React does not recognize the `%s` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `%s` instead. If you accidentally passed it from a parent component, remove it from the DOM element.",t,o),Yn[t]=!0;switch(t){case"dangerouslySetInnerHTML":case"children":case"style":case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":return!0;case"innerText":case"textContent":return!0}switch(typeof n){case"boolean":switch(t){case"autoFocus":case"checked":case"multiple":case"muted":case"selected":case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"credentialless":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(o=t.toLowerCase().slice(0,5),o==="data-"||o==="aria-")return!0;return n?console.error('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.',n,t,t,n,t):console.error('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.',n,t,t,n,t,t,t),Yn[t]=!0}case"function":case"symbol":return Yn[t]=!0,!1;case"string":if(n==="false"||n==="true"){switch(t){case"checked":case"selected":case"multiple":case"muted":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"credentialless":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":case"inert":break;default:return!0}console.error("Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?",n,t,n==="false"?"The browser will interpret it as a truthy value.":'Although this works, it will not work as expected if you pass the string "false".',t,n),Yn[t]=!0}}return!0}function qA(e,t,n){var a=[],o;for(o in t)IA(e,o,t[o],n)||a.push(o);t=a.map(function(i){return"`"+i+"`"}).join(", "),a.length===1?console.error("Invalid value for prop %s on <%s> tag. Either remove it from the element, or pass a string or number value to keep it in the DOM. For details, see https://react.dev/link/attribute-behavior ",t,e):1<a.length&&console.error("Invalid values for props %s on <%s> tag. Either remove them from the element, or pass a string or number value to keep them in the DOM. For details, see https://react.dev/link/attribute-behavior ",t,e)}function Tc(e){return O_.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}function To(){}function Ph(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}function av(e){var t=Eo(e);if(t&&(e=t.stateNode)){var n=e[Vn]||null;e:switch(e=t.stateNode,t.type){case"input":if(Yh(e,n.value,n.defaultValue,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name),t=n.name,n.type==="radio"&&t!=null){for(n=e;n.parentNode;)n=n.parentNode;bt(t,"name"),n=n.querySelectorAll('input[name="'+Ma(""+t)+'"][type="radio"]');for(t=0;t<n.length;t++){var a=n[t];if(a!==e&&a.form===e.form){var o=a[Vn]||null;if(!o)throw Error("ReactDOMInput: Mixing React and non-React radio inputs with the same `name` is not supported.");Yh(a,o.value,o.defaultValue,o.defaultValue,o.checked,o.defaultChecked,o.type,o.name)}}for(t=0;t<n.length;t++)a=n[t],a.form===e.form&&Hb(a)}break e;case"textarea":Gb(e,n.value,n.defaultValue);break e;case"select":t=n.value,t!=null&&Vs(e,!!n.multiple,t,!1)}}}function ov(e,t,n){if(Dy)return e(t,n);Dy=!0;try{var a=e(t);return a}finally{if(Dy=!1,vr!==null||Sr!==null){if(or(),vr&&(t=vr,e=Sr,Sr=vr=null,av(t),e))for(t=0;t<e.length;t++)av(e[t])}}}function wc(e,t){var n=e.stateNode;if(n===null)return null;var a=n[Vn]||null;if(a===null)return null;n=a[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(a=!a.disabled)||(e=e.type,a=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!a;break e;default:e=!1}if(e)return null;if(n&&typeof n!=="function")throw Error("Expected `"+t+"` listener to be a function, instead got a value of `"+typeof n+"` type.");return n}function lv(){if(Vd)return Vd;var e,t=xy,n=t.length,a,o="value"in ri?ri.value:ri.textContent,i=o.length;for(e=0;e<n&&t[e]===o[e];e++);var u=n-e;for(a=1;a<=u&&t[n-a]===o[i-a];a++);return Vd=o.slice(e,1<a?1-a:void 0)}function Tf(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function wf(){return!0}function iv(){return!1}function kn(e){function t(n,a,o,i,u){this._reactName=n,this._targetInst=o,this.type=a,this.nativeEvent=i,this.target=u,this.currentTarget=null;for(var d in e)e.hasOwnProperty(d)&&(n=e[d],this[d]=n?n(i):i[d]);return this.isDefaultPrevented=(i.defaultPrevented!=null?i.defaultPrevented:i.returnValue===!1)?wf:iv,this.isPropagationStopped=iv,this}return He(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var n=this.nativeEvent;n&&(n.preventDefault?n.preventDefault():typeof n.returnValue!=="unknown"&&(n.returnValue=!1),this.isDefaultPrevented=wf)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!=="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=wf)},persist:function(){},isPersistent:wf}),t}function VA(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=L_[e])?!!t[e]:!1}function Fh(){return VA}function sv(e,t){switch(e){case"keyup":return P_.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==VT;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function rv(e){return e=e.detail,typeof e==="object"&&"data"in e?e.data:null}function YA(e,t){switch(e){case"compositionend":return rv(t);case"keypress":if(t.which!==GT)return null;return XT=!0,QT;case"textInput":return e=t.data,e===QT&&XT?null:e;default:return null}}function GA(e,t){if(Er)return e==="compositionend"||!ky&&sv(e,t)?(e=lv(),Vd=xy=ri=null,Er=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return YT&&t.locale!=="ko"?null:t.data;default:return null}}function cv(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!W_[e.type]:t==="textarea"?!0:!1}function QA(e){if(!qo)return!1;e="on"+e;var t=e in document;return t||(t=document.createElement("div"),t.setAttribute(e,"return;"),t=typeof t[e]==="function"),t}function uv(e,t,n,a){vr?Sr?Sr.push(a):Sr=[a]:vr=a,t=Od(t,"onChange"),0<t.length&&(n=new Yd("onChange","change",null,n,a),e.push({event:n,listeners:t}))}function XA(e){nE(e,0)}function Of(e){var t=yc(e);if(Hb(t))return e}function fv(e,t){if(e==="change")return t}function dv(){ru&&(ru.detachEvent("onpropertychange",pv),cu=ru=null)}function pv(e){if(e.propertyName==="value"&&Of(cu)){var t=[];uv(t,cu,e,Ph(e)),ov(XA,t)}}function JA(e,t,n){e==="focusin"?(dv(),ru=t,cu=n,ru.attachEvent("onpropertychange",pv)):e==="focusout"&&dv()}function KA(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Of(cu)}function ZA(e,t){if(e==="click")return Of(t)}function PA(e,t){if(e==="input"||e==="change")return Of(t)}function FA(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}function Oc(e,t){if(Gn(e,t))return!0;if(typeof e!=="object"||e===null||typeof t!=="object"||t===null)return!1;var n=Object.keys(e),a=Object.keys(t);if(n.length!==a.length)return!1;for(a=0;a<n.length;a++){var o=n[a];if(!Ba.call(t,o)||!Gn(e[o],t[o]))return!1}return!0}function Wh(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch(t){return e.body}}function hv(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function mv(e,t){var n=hv(e);e=0;for(var a;n;){if(n.nodeType===3){if(a=e+n.textContent.length,e<=t&&a>=t)return{node:n,offset:t-e};e=a}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=hv(n)}}function gv(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?gv(e,t.parentNode):("contains"in e)?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function yv(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=Wh(e.document);t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href==="string"}catch(a){n=!1}if(n)e=t.contentWindow;else break;t=Wh(e.document)}return t}function em(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function bv(e,t,n){var a=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Hy||Tr==null||Tr!==Wh(a)||(a=Tr,("selectionStart"in a)&&em(a)?a={start:a.selectionStart,end:a.selectionEnd}:(a=(a.ownerDocument&&a.ownerDocument.defaultView||window).getSelection(),a={anchorNode:a.anchorNode,anchorOffset:a.anchorOffset,focusNode:a.focusNode,focusOffset:a.focusOffset}),uu&&Oc(uu,a)||(uu=a,a=Od(Ly,"onSelect"),0<a.length&&(t=new Yd("onSelect","select",null,t,n),e.push({event:t,listeners:a}),t.target=Tr)))}function Vi(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}function Yi(e){if(jy[e])return jy[e];if(!wr[e])return e;var t=wr[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in KT)return jy[e]=t[n];return e}function Ja(e,t){ew.set(e,t),Ii(t,[e])}function fl(e,t){if(e.name!=null&&e.name!=="auto")return e.name;if(t.autoName!==null)return t.autoName;e=so.identifierPrefix;var n=oN++;return e="_"+e+"t_"+n.toString(32)+"_",t.autoName=e}function vv(e){if(e==null||typeof e==="string")return e;var t=null,n=Yr;if(n!==null)for(var a=0;a<n.length;a++){var o=e[n[a]];if(o!=null){if(o==="none")return"none";t=t==null?o:t+(" "+o)}}return t==null?e.default:t}function dl(e,t){return e=vv(e),t=vv(t),t==null?e==="auto"?null:e:t==="auto"?null:t}function WA(e){for(var t=Qd,n=0;n<e.length&&n<ka;n++){var a=e[n];if(typeof a==="object"&&a!==null)if(Pt(a)&&a.length===2&&typeof a[0]==="string"){if(t!==Qd&&t!==Yy)return qy;t=Yy}else return qy;else{if(typeof a==="function"||typeof a==="string"&&50<a.length||t!==Qd&&t!==Vy||typeof a==="bigint")return qy;t=Vy}}return t}function tm(e,t,n,a){if(!ArrayBuffer.isView(e)){var o=0,i;for(i in e)if(Ba.call(e,i)&&i[0]!=="_"&&(o++,Ka(i,e[i],t,n,a),o>=ka)){t.push([a+" ".repeat(n)+"Only "+ka+" properties are shown. React will not log more properties of this object.",""]);break}}}function Af(e){return"$$typeof"in e&&Ba.call(e,"$$typeof")?e.$$typeof:void 0}function Ka(e,t,n,a,o){switch(typeof t){case"object":if(t===null){t="null";break}else{if(Af(t)===Lo){var i=Ce(t.type)||"…",u=t.key;t=t.props;var d=Object.keys(t),h=d.length;if(u==null&&h===0){t="<"+i+" />";break}if(3>a||h===1&&d[0]==="children"&&u==null){t="<"+i+" … />";break}n.push([o+" ".repeat(a)+e,"<"+i]),u!==null&&Ka("key",u,n,a+1,o),e=!1,u=0;for(var y in t)if(u++,y==="children"?t.children!=null&&(!Pt(t.children)||0<t.children.length)&&(e=!0):Ba.call(t,y)&&y[0]!=="_"&&Ka(y,t[y],n,a+1,o),u>=ka)break;n.push(["",e?">…</"+i+">":"/>"]);return}if(i=Object.prototype.toString.call(t),i=i.slice(8,i.length-1),ArrayBuffer.isView(t)){t=t.length,t=typeof t==="number"?i+"("+t+")":i;break}if(i==="Array"){if(y=t.length>ka,u=WA(t),u===Vy||u===Qd){t=JSON.stringify(y?t.slice(0,ka).concat("…"):t);break}else if(u===Yy){n.push([o+" ".repeat(a)+e,""]);for(e=0;e<t.length&&e<ka;e++)i=t[e],Ka(i[0],i[1],n,a+1,o);y&&Ka(ka.toString(),"…",n,a+1,o);return}}if(i==="Promise"){if(t.status==="fulfilled"){if(i=n.length,Ka(e,t.value,n,a,o),n.length>i){n=n[i],n[1]="Promise<"+(n[1]||"Object")+">";return}}else if(t.status==="rejected"&&(i=n.length,Ka(e,t.reason,n,a,o),n.length>i)){n=n[i],n[1]="Rejected Promise<"+n[1]+">";return}n.push([" ".repeat(a)+e,"Promise"]);return}i==="Object"&&(y=Object.getPrototypeOf(t))&&typeof y.constructor==="function"&&(i=y.constructor.name),n.push([o+" ".repeat(a)+e,i==="Object"?3>a?"":"…":i]),3>a&&tm(t,n,a+1,o);return}case"function":t=t.name,t=t===""||typeof t!=="string"?"() => {}":t+"() {}";break;case"string":t=t===sN?"…":JSON.stringify(1024<=t.length?t.slice(0,1023)+"…":t);break;case"undefined":t="undefined";break;case"boolean":t=t?"true":"false";break;default:t=String(t)}n.push([o+" ".repeat(a)+e,t])}function Sv(e,t,n,a){var o=!0,i=0;for(d in e){if(i>ka){n.push(["Previous object has more than "+ka+" properties. React will not attempt to diff objects with too many properties.",""]),o=!1;break}d in t||(n.push([Xd+" ".repeat(a)+d,"…"]),o=!1),i++}i=0;for(var u in t){if(i>ka){n.push(["Next object has more than "+ka+" properties. React will not attempt to diff objects with too many properties.",""]),o=!1;break}if(u in e){var d=e[u],h=t[u];if(d!==h){if(a===0&&u==="children"){o=" ".repeat(a)+u,n.push([Xd+o,"…"],[Jd+o,"…"]),o=!1;continue}if(!(3<=a)){if(typeof d==="object"&&typeof h==="object"&&d!==null&&h!==null&&Af(d)===Af(h))if(Af(h)===Lo){if(d.type===h.type&&d.key===h.key){d=Ce(h.type)||"…",o=" ".repeat(a)+u,d="<"+d+" … />",n.push([Xd+o,d],[Jd+o,d]),o=!1;continue}}else{var y=Object.prototype.toString.call(d),O=Object.prototype.toString.call(h);if(y===O&&(O==="[object Object]"||O==="[object Array]")){y=[aw+" ".repeat(a)+u,O==="[object Array]"?"Array":""],n.push(y),O=n.length,Sv(d,h,n,a+1)?O===n.length&&(y[1]="Referentially unequal but deeply equal objects. Consider memoization."):o=!1;continue}}else if(typeof d==="function"&&typeof h==="function"&&d.name===h.name&&d.length===h.length&&(y=Function.prototype.toString.call(d),O=Function.prototype.toString.call(h),y===O)){d=h.name===""?"() => {}":h.name+"() {}",n.push([aw+" ".repeat(a)+u,d+" Referentially unequal function closure. Consider memoization."]);continue}}Ka(u,d,n,a,Xd),Ka(u,h,n,a,Jd),o=!1}}else n.push([Jd+" ".repeat(a)+u,"…"]),o=!1;i++}return o}function Cn(e){Je=e&63?"Blocking":e&64?"Gesture":e&4194176?"Transition":e&62914560?"Suspense":e&2080374784?"Idle":"Other"}function wo(e,t,n,a){Rt&&(fi.start=t,fi.end=n,El.color="warning",El.tooltipText=a,El.properties=null,(e=e._debugTask)?e.run(performance.measure.bind(performance,a,fi)):performance.measure(a,fi),performance.clearMeasures(a))}function Cf(e,t,n){wo(e,t,n,"Reconnect")}function Rf(e,t,n,a,o){var i=L(e);if(i!==null&&Rt){var u=e.alternate,d=e.actualDuration;if(u===null||u.child!==e.child)for(var h=e.child;h!==null;h=h.sibling)d-=h.actualDuration;d=0.5>d?a?"tertiary-light":"primary-light":10>d?a?"tertiary":"primary":100>d?a?"tertiary-dark":"primary-dark":"error";var y=e.memoizedProps;a=e._debugTask,y!==null&&u!==null&&u.memoizedProps!==y?(h=[rN],y=Sv(u.memoizedProps,y,h,0),1<h.length?(y&&!ui&&(u.lanes&o)===0&&100<e.actualDuration?(ui=!0,h[0]=cN,El.color="warning",El.tooltipText=ow):(El.color=d,El.tooltipText=i),El.properties=h,fi.start=t,fi.end=n,e=""+i,a!=null?a.run(performance.measure.bind(performance,e,fi)):performance.measure(e,fi),performance.clearMeasures(e)):a!=null?a.run(console.timeStamp.bind(console,i,t,n,ta,void 0,d)):console.timeStamp(i,t,n,ta,void 0,d)):a!=null?a.run(console.timeStamp.bind(console,i,t,n,ta,void 0,d)):console.timeStamp(i,t,n,ta,void 0,d)}}function nm(e,t,n,a){if(Rt){var o=L(e);if(o!==null){for(var i=null,u=[],d=0;d<a.length;d++){var h=a[d];i==null&&h.source!==null&&(i=h.source._debugTask),h=h.value,u.push(["Error",typeof h==="object"&&h!==null&&typeof h.message==="string"?String(h.message):String(h)])}e.key!==null&&Ka("key",e.key,u,0,""),e.memoizedProps!==null&&tm(e.memoizedProps,u,0,""),i==null&&(i=e._debugTask),e={start:t,end:n,detail:{devtools:{color:"error",track:ta,tooltipText:e.tag===13?"Hydration failed":"Error boundary caught an error",properties:u}}},o=""+o,i?i.run(performance.measure.bind(performance,o,e)):performance.measure(o,e),performance.clearMeasures(o)}}}function Oo(e,t,n,a,o){if(o!==null){if(Rt){var i=L(e);if(i!==null){a=[];for(var u=0;u<o.length;u++){var d=o[u].value;a.push(["Error",typeof d==="object"&&d!==null&&typeof d.message==="string"?String(d.message):String(d)])}e.key!==null&&Ka("key",e.key,a,0,""),e.memoizedProps!==null&&tm(e.memoizedProps,a,0,""),t={start:t,end:n,detail:{devtools:{color:"error",track:ta,tooltipText:"A lifecycle or effect errored",properties:a}}},e=e._debugTask,n=""+i,e?e.run(performance.measure.bind(performance,n,t)):performance.measure(n,t),performance.clearMeasures(n)}}}else i=L(e),i!==null&&Rt&&(o=1>a?"secondary-light":100>a?"secondary":500>a?"secondary-dark":"error",(e=e._debugTask)?e.run(console.timeStamp.bind(console,i,t,n,ta,void 0,o)):console.timeStamp(i,t,n,ta,void 0,o))}function Ev(e,t,n,a){!Rt||t<=e||(n=(n&738197653)===n?"tertiary-dark":"primary-dark",a?a.run(console.timeStamp.bind(console,"Prewarm",e,t,Je,Qe,n)):console.timeStamp("Prewarm",e,t,Je,Qe,n))}function Tv(e,t,n,a){!Rt||t<=e||(n=(n&738197653)===n?"tertiary-dark":"primary-dark",a?a.run(console.timeStamp.bind(console,"Suspended",e,t,Je,Qe,n)):console.timeStamp("Suspended",e,t,Je,Qe,n))}function am(e,t,n,a){!Rt||t<=e||(a?a.run(console.timeStamp.bind(console,"Errored",e,t,Je,Qe,"error")):console.timeStamp("Errored",e,t,Je,Qe,"error"))}function eC(e,t,n,a){!Rt||t<=e||(a?a.run(console.timeStamp.bind(console,n,e,t,Je,Qe,"secondary-light")):console.timeStamp(n,e,t,Je,Qe,"secondary-light"))}function wv(e,t,n,a,o){if(Rt&&!(t<=e)){for(var i=[],u=0;u<n.length;u++){var d=n[u].value;i.push(["Error",typeof d==="object"&&d!==null&&typeof d.message==="string"?String(d.message):String(d)])}e={start:e,end:t,detail:{devtools:{color:"error",track:Je,trackGroup:Qe,tooltipText:a?"Remaining Effects Errored":"Commit Errored",properties:i}}},o?o.run(performance.measure.bind(performance,"Errored",e)):performance.measure("Errored",e),performance.clearMeasures("Errored")}}function Ov(e,t,n,a,o){n!==null?wv(e,t,n,!1,o):!Rt||t<=e||(o?o.run(console.timeStamp.bind(console,a?"Commit Interrupted View Transition":"Commit",e,t,Je,Qe,a?"error":"secondary-dark")):console.timeStamp(a?"Commit Interrupted View Transition":"Commit",e,t,Je,Qe,a?"error":"secondary-dark"))}function Yl(e,t,n){!Rt||t<=e||(n?n.run(console.timeStamp.bind(console,"Animating",e,t,Je,Qe,"secondary-dark")):console.timeStamp("Animating",e,t,Je,Qe,"secondary-dark"))}function _f(){for(var e=Or,t=Gy=Or=0;t<e;){var n=La[t];La[t++]=null;var a=La[t];La[t++]=null;var o=La[t];La[t++]=null;var i=La[t];if(La[t++]=null,a!==null&&o!==null){var u=a.pending;u===null?o.next=o:(o.next=u.next,u.next=o),a.pending=o}i!==0&&Av(n,o,i)}}function Nf(e,t,n,a){La[Or++]=e,La[Or++]=t,La[Or++]=n,La[Or++]=a,Gy|=a,e.lanes|=a,e=e.alternate,e!==null&&(e.lanes|=a)}function om(e,t,n,a){return Nf(e,t,n,a),Df(e)}function Rn(e,t){return Nf(e,null,null,t),Df(e)}function Av(e,t,n){e.lanes|=n;var a=e.alternate;a!==null&&(a.lanes|=n);for(var o=!1,i=e.return;i!==null;)i.childLanes|=n,a=i.alternate,a!==null&&(a.childLanes|=n),i.tag===22&&(e=i.stateNode,e===null||e._visibility&fu||(o=!0)),e=i,i=i.return;return e.tag===3?(i=e.stateNode,o&&t!==null&&(o=31-In(n),e=i.hiddenUpdates,a=e[o],a===null?e[o]=[t]:a.push(t),t.lane=n|536870912),i):null}function Df(e){if(qu>ON)throw Ts=qu=0,Vu=Rp=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.");Ts>AN&&(Ts=0,Vu=null,console.error("Maximum update depth exceeded. This can happen when a component calls setState inside useEffect, but useEffect either doesn't have a dependency array, or one of the dependencies changes on every render.")),e.alternate===null&&(e.flags&4098)!==0&&ZS(e);for(var t=e,n=t.return;n!==null;)t.alternate===null&&(t.flags&4098)!==0&&ZS(e),t=n,n=t.return;return t.tag===3?t.stateNode:null}function Qs(e){if(wl===null)return e;var t=wl(e);return t===void 0?e:t.current}function Cv(e,t){if(wl===null)return!1;var n=wl,a=e.elementType;t=t.type;var o=!1,i=typeof t==="object"&&t!==null?t.$$typeof:null;switch(e.tag){case 1:typeof t==="function"&&(o=!0);break;case 0:typeof t==="function"?o=!0:i===ea&&(o=!0);break;case 11:i===xd?o=!0:i===ea&&(o=!0);break;case 14:case 15:i===zd?o=!0:i===ea&&(o=!0);break;default:return!1}return o&&(e=n(a),e!==void 0&&e===n(t))?!0:!1}function Rv(e){wl!==null&&typeof WeakSet==="function"&&(Ar===null&&(Ar=new WeakSet),Ar.add(e))}function _v(e,t,n){do{var a=e,o=a.alternate,i=a.child,u=a.sibling,d=a.tag,h=a.type,y=a.elementType,O=null;switch(a=null,d){case 0:case 1:O=h;break;case 15:O=h,a=y;break;case 14:a=y;break;case 11:O=h.render,a=y}if(wl===null)throw Error("Expected resolveFamily to be set during hot reload.");var M=wl;if(h=y=!1,O!==null&&(O=M(O),O!==void 0&&(n.has(O)?h=!0:t.has(O)&&(d===1?h=!0:y=!0))),h||a===null||(d=M(a),d!==void 0&&n.has(d)?h=!0:typeof a==="object"&&a.$$typeof===ea&&(d=a._payload,d._status===1&&(d=M(d._result.default),d!==void 0&&n.has(d)&&(h=!0)))),Ar!==null&&(Ar.has(e)||o!==null&&Ar.has(o))&&(h=!0),h&&(e._debugNeedsRemount=!0),h||y)o=Rn(e,2),o!==null&&Ut(o,e,2);if(i===null||h||_v(i,t,n),u===null)break;e=u}while(1)}function tC(e,t,n,a){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=a,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null,this.actualDuration=-0,this.actualStartTime=-1.1,this.treeBaseDuration=this.selfBaseDuration=-0,this._debugTask=this._debugStack=this._debugOwner=this._debugInfo=null,this._debugNeedsRemount=!1,this._debugHookTypes=null,iw||typeof Object.preventExtensions!=="function"||Object.preventExtensions(this)}function lm(e){return e=e.prototype,!(!e||!e.isReactComponent)}function pl(e,t){var n=e.alternate;switch(n===null?(n=T(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n._debugOwner=e._debugOwner,n._debugStack=e._debugStack,n._debugTask=e._debugTask,n._debugHookTypes=e._debugHookTypes,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null,n.actualDuration=-0,n.actualStartTime=-1.1),n.flags=e.flags&1206910976,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext,_debugThenableState:t._debugThenableState},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n.refCleanup=e.refCleanup,n.selfBaseDuration=e.selfBaseDuration,n.treeBaseDuration=e.treeBaseDuration,n._debugInfo=e._debugInfo,n._debugNeedsRemount=e._debugNeedsRemount,n.tag){case 0:case 15:case 14:case 1:case 11:n.type=Qs(e.type)}return n}function Nv(e,t){e.flags&=1206910978;var n=e.alternate;return n===null?(e.childLanes=0,e.lanes=t,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null,e.selfBaseDuration=0,e.treeBaseDuration=0):(e.childLanes=n.childLanes,e.lanes=n.lanes,e.child=n.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=n.memoizedProps,e.memoizedState=n.memoizedState,e.updateQueue=n.updateQueue,e.type=n.type,t=n.dependencies,e.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext,_debugThenableState:t._debugThenableState},e.selfBaseDuration=n.selfBaseDuration,e.treeBaseDuration=n.treeBaseDuration),e}function im(e,t,n,a,o,i){var u=0,d=Qs(e);if(typeof d==="function")lm(d)&&(u=1);else if(typeof d==="string")u=J(),u=BR(e,n,u)?26:e==="html"||e==="head"||e==="body"?27:5;else e:switch(d){case gy:return t=T(31,n,t,o),t.elementType=gy,t.lanes=i,t;case pr:return Gi(n.children,o,i,t);case Md:u=8,o|=Nn,o|=to;break;case dy:return e=n,a=o,typeof e.id!=="string"&&console.error('Profiler must specify an "id" of type `string` as a prop. Received the type `%s` instead.',typeof e.id),t=T(12,e,t,a|je),t.elementType=dy,t.lanes=i,t.stateNode={effectDuration:0,passiveEffectDuration:0},t;case hy:return t=T(13,n,t,o),t.elementType=hy,t.lanes=i,t;case my:return t=T(19,n,t,o),t.elementType=my,t.lanes=i,t;case XR:case yy:return e=o|lw,t=T(30,n,t,e),t.elementType=yy,t.lanes=i,t.stateNode={autoName:null,paired:null,clones:null,ref:null},t;default:if(typeof d==="object"&&d!==null)switch(d.$$typeof){case Wa:u=10;break e;case py:u=9;break e;case xd:u=11;break e;case zd:u=14;break e;case ea:u=16,d=null;break e}if(n="",e===void 0||typeof e==="object"&&e!==null&&Object.keys(e).length===0)n+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.";e===null?d="null":Pt(e)?d="array":e!==void 0&&e.$$typeof===Lo?(d="<"+(Ce(e.type)||"Unknown")+" />",n=" Did you accidentally export a JSX literal instead of a component?"):d=typeof e,(u=a?Bn(a):null)&&(n+=`
|
|
71
|
+
This will cause a hydration error.%s`,t,n),!1}function Sc(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}function HA(e){return e.replace(y_,function(t,n){return n.toUpperCase()})}function ev(e,t,n){var a=t.indexOf("--")===0;a||(-1<t.indexOf("-")?gr.hasOwnProperty(t)&&gr[t]||(gr[t]=!0,console.error("Unsupported style property %s. Did you mean %s?",t,HA(t.replace(g_,"ms-")))):m_.test(t)?gr.hasOwnProperty(t)&&gr[t]||(gr[t]=!0,console.error("Unsupported vendor-prefixed style property %s. Did you mean %s?",t,t.charAt(0).toUpperCase()+t.slice(1))):!zT.test(n)||Ny.hasOwnProperty(n)&&Ny[n]||(Ny[n]=!0,console.error(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,t,n.replace(zT,""))),typeof n==="number"&&(isNaN(n)?UT||(UT=!0,console.error("`NaN` is an invalid value for the `%s` css style property.",t)):isFinite(n)||kT||(kT=!0,console.error("`Infinity` is an invalid value for the `%s` css style property.",t)))),n==null||typeof n==="boolean"||n===""?a?e.setProperty(t,""):t==="float"?e.cssFloat="":e[t]="":a?e.setProperty(t,n):typeof n!=="number"||n===0||BT.has(t)?t==="float"?e.cssFloat=n:(gc(n,t),e[t]=(""+n).trim()):e[t]=n+"px"}function tv(e,t,n){if(t!=null&&typeof t!=="object")throw Error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.");if(t&&Object.freeze(t),e=e.style,n!=null){if(t){var a={};if(n){for(var o in n)if(n.hasOwnProperty(o)&&!t.hasOwnProperty(o))for(var i=_y[o]||[o],u=0;u<i.length;u++)a[i[u]]=o}for(var d in t)if(t.hasOwnProperty(d)&&(!n||n[d]!==t[d]))for(o=_y[d]||[d],i=0;i<o.length;i++)a[o[i]]=d;d={};for(var h in t)for(o=_y[h]||[h],i=0;i<o.length;i++)d[o[i]]=h;h={};for(var y in a)if(o=a[y],(i=d[y])&&o!==i&&(u=o+","+i,!h[u])){h[u]=!0,u=console;var O=t[o];u.error.call(u,"%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.",O==null||typeof O==="boolean"||O===""?"Removing":"Updating",o,i)}}for(var M in n)!n.hasOwnProperty(M)||t!=null&&t.hasOwnProperty(M)||(M.indexOf("--")===0?e.setProperty(M,""):M==="float"?e.cssFloat="":e[M]="",rt=!0);for(var D in t)y=t[D],t.hasOwnProperty(D)&&n[D]!==y&&(ev(e,D,y),rt=!0)}else for(a in t)t.hasOwnProperty(a)&&ev(e,a,t[a])}function Ec(e){if(e.indexOf("-")===-1)return!1;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}function nv(e){return b_.get(e)||e}function jA(e,t){if(ka.call(br,t)&&br[t])return!0;if(S_.test(t)){if(e="aria-"+t.slice(4).toLowerCase(),e=LT.hasOwnProperty(e)?e:null,e==null)return console.error("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",t),br[t]=!0;if(t!==e)return console.error("Invalid ARIA attribute `%s`. Did you mean `%s`?",t,e),br[t]=!0}if(v_.test(t)){if(e=t.toLowerCase(),e=LT.hasOwnProperty(e)?e:null,e==null)return br[t]=!0,!1;t!==e&&(console.error("Unknown ARIA attribute `%s`. Did you mean `%s`?",t,e),br[t]=!0)}return!0}function $A(e,t){var n=[],a;for(a in t)jA(e,a)||n.push(a);t=n.map(function(o){return"`"+o+"`"}).join(", "),n.length===1?console.error("Invalid aria prop %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props",t,e):1<n.length&&console.error("Invalid aria props %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props",t,e)}function IA(e,t,n,a){if(ka.call(Yn,t)&&Yn[t])return!0;var o=t.toLowerCase();if(o==="onfocusin"||o==="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."),Yn[t]=!0;if(typeof n==="function"&&(e==="form"&&t==="action"||e==="input"&&t==="formAction"||e==="button"&&t==="formAction"))return!0;if(a!=null){if(e=a.possibleRegistrationNames,a.registrationNameDependencies.hasOwnProperty(t))return!0;if(a=e.hasOwnProperty(o)?e[o]:null,a!=null)return console.error("Invalid event handler property `%s`. Did you mean `%s`?",t,a),Yn[t]=!0;if(jT.test(t))return console.error("Unknown event handler property `%s`. It will be ignored.",t),Yn[t]=!0}else if(jT.test(t))return E_.test(t)&&console.error("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",t),Yn[t]=!0;if(T_.test(t)||w_.test(t))return!0;if(o==="innerhtml")return console.error("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),Yn[t]=!0;if(o==="aria")return console.error("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),Yn[t]=!0;if(o==="is"&&n!==null&&n!==void 0&&typeof n!=="string")return console.error("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof n),Yn[t]=!0;if(typeof n==="number"&&isNaN(n))return console.error("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",t),Yn[t]=!0;if(qd.hasOwnProperty(o)){if(o=qd[o],o!==t)return console.error("Invalid DOM property `%s`. Did you mean `%s`?",t,o),Yn[t]=!0}else if(t!==o)return console.error("React does not recognize the `%s` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `%s` instead. If you accidentally passed it from a parent component, remove it from the DOM element.",t,o),Yn[t]=!0;switch(t){case"dangerouslySetInnerHTML":case"children":case"style":case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":return!0;case"innerText":case"textContent":return!0}switch(typeof n){case"boolean":switch(t){case"autoFocus":case"checked":case"multiple":case"muted":case"selected":case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"credentialless":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(o=t.toLowerCase().slice(0,5),o==="data-"||o==="aria-")return!0;return n?console.error('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.',n,t,t,n,t):console.error('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.',n,t,t,n,t,t,t),Yn[t]=!0}case"function":case"symbol":return Yn[t]=!0,!1;case"string":if(n==="false"||n==="true"){switch(t){case"checked":case"selected":case"multiple":case"muted":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"credentialless":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":case"inert":break;default:return!0}console.error("Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?",n,t,n==="false"?"The browser will interpret it as a truthy value.":'Although this works, it will not work as expected if you pass the string "false".',t,n),Yn[t]=!0}}return!0}function qA(e,t,n){var a=[],o;for(o in t)IA(e,o,t[o],n)||a.push(o);t=a.map(function(i){return"`"+i+"`"}).join(", "),a.length===1?console.error("Invalid value for prop %s on <%s> tag. Either remove it from the element, or pass a string or number value to keep it in the DOM. For details, see https://react.dev/link/attribute-behavior ",t,e):1<a.length&&console.error("Invalid values for props %s on <%s> tag. Either remove them from the element, or pass a string or number value to keep them in the DOM. For details, see https://react.dev/link/attribute-behavior ",t,e)}function Tc(e){return O_.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}function To(){}function Ph(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}function av(e){var t=Eo(e);if(t&&(e=t.stateNode)){var n=e[Vn]||null;e:switch(e=t.stateNode,t.type){case"input":if(Yh(e,n.value,n.defaultValue,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name),t=n.name,n.type==="radio"&&t!=null){for(n=e;n.parentNode;)n=n.parentNode;bt(t,"name"),n=n.querySelectorAll('input[name="'+Ma(""+t)+'"][type="radio"]');for(t=0;t<n.length;t++){var a=n[t];if(a!==e&&a.form===e.form){var o=a[Vn]||null;if(!o)throw Error("ReactDOMInput: Mixing React and non-React radio inputs with the same `name` is not supported.");Yh(a,o.value,o.defaultValue,o.defaultValue,o.checked,o.defaultChecked,o.type,o.name)}}for(t=0;t<n.length;t++)a=n[t],a.form===e.form&&Hb(a)}break e;case"textarea":Gb(e,n.value,n.defaultValue);break e;case"select":t=n.value,t!=null&&Vs(e,!!n.multiple,t,!1)}}}function ov(e,t,n){if(Dy)return e(t,n);Dy=!0;try{var a=e(t);return a}finally{if(Dy=!1,vr!==null||Sr!==null){if(or(),vr&&(t=vr,e=Sr,Sr=vr=null,av(t),e))for(t=0;t<e.length;t++)av(e[t])}}}function wc(e,t){var n=e.stateNode;if(n===null)return null;var a=n[Vn]||null;if(a===null)return null;n=a[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(a=!a.disabled)||(e=e.type,a=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!a;break e;default:e=!1}if(e)return null;if(n&&typeof n!=="function")throw Error("Expected `"+t+"` listener to be a function, instead got a value of `"+typeof n+"` type.");return n}function lv(){if(Vd)return Vd;var e,t=xy,n=t.length,a,o="value"in ri?ri.value:ri.textContent,i=o.length;for(e=0;e<n&&t[e]===o[e];e++);var u=n-e;for(a=1;a<=u&&t[n-a]===o[i-a];a++);return Vd=o.slice(e,1<a?1-a:void 0)}function Tf(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function wf(){return!0}function iv(){return!1}function Bn(e){function t(n,a,o,i,u){this._reactName=n,this._targetInst=o,this.type=a,this.nativeEvent=i,this.target=u,this.currentTarget=null;for(var d in e)e.hasOwnProperty(d)&&(n=e[d],this[d]=n?n(i):i[d]);return this.isDefaultPrevented=(i.defaultPrevented!=null?i.defaultPrevented:i.returnValue===!1)?wf:iv,this.isPropagationStopped=iv,this}return He(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var n=this.nativeEvent;n&&(n.preventDefault?n.preventDefault():typeof n.returnValue!=="unknown"&&(n.returnValue=!1),this.isDefaultPrevented=wf)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!=="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=wf)},persist:function(){},isPersistent:wf}),t}function VA(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=L_[e])?!!t[e]:!1}function Fh(){return VA}function sv(e,t){switch(e){case"keyup":return P_.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==VT;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function rv(e){return e=e.detail,typeof e==="object"&&"data"in e?e.data:null}function YA(e,t){switch(e){case"compositionend":return rv(t);case"keypress":if(t.which!==GT)return null;return XT=!0,QT;case"textInput":return e=t.data,e===QT&&XT?null:e;default:return null}}function GA(e,t){if(Er)return e==="compositionend"||!By&&sv(e,t)?(e=lv(),Vd=xy=ri=null,Er=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return YT&&t.locale!=="ko"?null:t.data;default:return null}}function cv(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!W_[e.type]:t==="textarea"?!0:!1}function QA(e){if(!qo)return!1;e="on"+e;var t=e in document;return t||(t=document.createElement("div"),t.setAttribute(e,"return;"),t=typeof t[e]==="function"),t}function uv(e,t,n,a){vr?Sr?Sr.push(a):Sr=[a]:vr=a,t=Od(t,"onChange"),0<t.length&&(n=new Yd("onChange","change",null,n,a),e.push({event:n,listeners:t}))}function XA(e){nE(e,0)}function Of(e){var t=yc(e);if(Hb(t))return e}function fv(e,t){if(e==="change")return t}function dv(){ru&&(ru.detachEvent("onpropertychange",pv),cu=ru=null)}function pv(e){if(e.propertyName==="value"&&Of(cu)){var t=[];uv(t,cu,e,Ph(e)),ov(XA,t)}}function JA(e,t,n){e==="focusin"?(dv(),ru=t,cu=n,ru.attachEvent("onpropertychange",pv)):e==="focusout"&&dv()}function KA(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Of(cu)}function ZA(e,t){if(e==="click")return Of(t)}function PA(e,t){if(e==="input"||e==="change")return Of(t)}function FA(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}function Oc(e,t){if(Gn(e,t))return!0;if(typeof e!=="object"||e===null||typeof t!=="object"||t===null)return!1;var n=Object.keys(e),a=Object.keys(t);if(n.length!==a.length)return!1;for(a=0;a<n.length;a++){var o=n[a];if(!ka.call(t,o)||!Gn(e[o],t[o]))return!1}return!0}function Wh(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch(t){return e.body}}function hv(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function mv(e,t){var n=hv(e);e=0;for(var a;n;){if(n.nodeType===3){if(a=e+n.textContent.length,e<=t&&a>=t)return{node:n,offset:t-e};e=a}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=hv(n)}}function gv(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?gv(e,t.parentNode):("contains"in e)?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function yv(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=Wh(e.document);t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href==="string"}catch(a){n=!1}if(n)e=t.contentWindow;else break;t=Wh(e.document)}return t}function em(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function bv(e,t,n){var a=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Hy||Tr==null||Tr!==Wh(a)||(a=Tr,("selectionStart"in a)&&em(a)?a={start:a.selectionStart,end:a.selectionEnd}:(a=(a.ownerDocument&&a.ownerDocument.defaultView||window).getSelection(),a={anchorNode:a.anchorNode,anchorOffset:a.anchorOffset,focusNode:a.focusNode,focusOffset:a.focusOffset}),uu&&Oc(uu,a)||(uu=a,a=Od(Ly,"onSelect"),0<a.length&&(t=new Yd("onSelect","select",null,t,n),e.push({event:t,listeners:a}),t.target=Tr)))}function Vi(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}function Yi(e){if(jy[e])return jy[e];if(!wr[e])return e;var t=wr[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in KT)return jy[e]=t[n];return e}function Ja(e,t){ew.set(e,t),Ii(t,[e])}function fl(e,t){if(e.name!=null&&e.name!=="auto")return e.name;if(t.autoName!==null)return t.autoName;e=so.identifierPrefix;var n=oN++;return e="_"+e+"t_"+n.toString(32)+"_",t.autoName=e}function vv(e){if(e==null||typeof e==="string")return e;var t=null,n=Yr;if(n!==null)for(var a=0;a<n.length;a++){var o=e[n[a]];if(o!=null){if(o==="none")return"none";t=t==null?o:t+(" "+o)}}return t==null?e.default:t}function dl(e,t){return e=vv(e),t=vv(t),t==null?e==="auto"?null:e:t==="auto"?null:t}function WA(e){for(var t=Qd,n=0;n<e.length&&n<Ba;n++){var a=e[n];if(typeof a==="object"&&a!==null)if(Pt(a)&&a.length===2&&typeof a[0]==="string"){if(t!==Qd&&t!==Yy)return qy;t=Yy}else return qy;else{if(typeof a==="function"||typeof a==="string"&&50<a.length||t!==Qd&&t!==Vy||typeof a==="bigint")return qy;t=Vy}}return t}function tm(e,t,n,a){if(!ArrayBuffer.isView(e)){var o=0,i;for(i in e)if(ka.call(e,i)&&i[0]!=="_"&&(o++,Ka(i,e[i],t,n,a),o>=Ba)){t.push([a+" ".repeat(n)+"Only "+Ba+" properties are shown. React will not log more properties of this object.",""]);break}}}function Af(e){return"$$typeof"in e&&ka.call(e,"$$typeof")?e.$$typeof:void 0}function Ka(e,t,n,a,o){switch(typeof t){case"object":if(t===null){t="null";break}else{if(Af(t)===Lo){var i=Ce(t.type)||"…",u=t.key;t=t.props;var d=Object.keys(t),h=d.length;if(u==null&&h===0){t="<"+i+" />";break}if(3>a||h===1&&d[0]==="children"&&u==null){t="<"+i+" … />";break}n.push([o+" ".repeat(a)+e,"<"+i]),u!==null&&Ka("key",u,n,a+1,o),e=!1,u=0;for(var y in t)if(u++,y==="children"?t.children!=null&&(!Pt(t.children)||0<t.children.length)&&(e=!0):ka.call(t,y)&&y[0]!=="_"&&Ka(y,t[y],n,a+1,o),u>=Ba)break;n.push(["",e?">…</"+i+">":"/>"]);return}if(i=Object.prototype.toString.call(t),i=i.slice(8,i.length-1),ArrayBuffer.isView(t)){t=t.length,t=typeof t==="number"?i+"("+t+")":i;break}if(i==="Array"){if(y=t.length>Ba,u=WA(t),u===Vy||u===Qd){t=JSON.stringify(y?t.slice(0,Ba).concat("…"):t);break}else if(u===Yy){n.push([o+" ".repeat(a)+e,""]);for(e=0;e<t.length&&e<Ba;e++)i=t[e],Ka(i[0],i[1],n,a+1,o);y&&Ka(Ba.toString(),"…",n,a+1,o);return}}if(i==="Promise"){if(t.status==="fulfilled"){if(i=n.length,Ka(e,t.value,n,a,o),n.length>i){n=n[i],n[1]="Promise<"+(n[1]||"Object")+">";return}}else if(t.status==="rejected"&&(i=n.length,Ka(e,t.reason,n,a,o),n.length>i)){n=n[i],n[1]="Rejected Promise<"+n[1]+">";return}n.push([" ".repeat(a)+e,"Promise"]);return}i==="Object"&&(y=Object.getPrototypeOf(t))&&typeof y.constructor==="function"&&(i=y.constructor.name),n.push([o+" ".repeat(a)+e,i==="Object"?3>a?"":"…":i]),3>a&&tm(t,n,a+1,o);return}case"function":t=t.name,t=t===""||typeof t!=="string"?"() => {}":t+"() {}";break;case"string":t=t===sN?"…":JSON.stringify(1024<=t.length?t.slice(0,1023)+"…":t);break;case"undefined":t="undefined";break;case"boolean":t=t?"true":"false";break;default:t=String(t)}n.push([o+" ".repeat(a)+e,t])}function Sv(e,t,n,a){var o=!0,i=0;for(d in e){if(i>Ba){n.push(["Previous object has more than "+Ba+" properties. React will not attempt to diff objects with too many properties.",""]),o=!1;break}d in t||(n.push([Xd+" ".repeat(a)+d,"…"]),o=!1),i++}i=0;for(var u in t){if(i>Ba){n.push(["Next object has more than "+Ba+" properties. React will not attempt to diff objects with too many properties.",""]),o=!1;break}if(u in e){var d=e[u],h=t[u];if(d!==h){if(a===0&&u==="children"){o=" ".repeat(a)+u,n.push([Xd+o,"…"],[Jd+o,"…"]),o=!1;continue}if(!(3<=a)){if(typeof d==="object"&&typeof h==="object"&&d!==null&&h!==null&&Af(d)===Af(h))if(Af(h)===Lo){if(d.type===h.type&&d.key===h.key){d=Ce(h.type)||"…",o=" ".repeat(a)+u,d="<"+d+" … />",n.push([Xd+o,d],[Jd+o,d]),o=!1;continue}}else{var y=Object.prototype.toString.call(d),O=Object.prototype.toString.call(h);if(y===O&&(O==="[object Object]"||O==="[object Array]")){y=[aw+" ".repeat(a)+u,O==="[object Array]"?"Array":""],n.push(y),O=n.length,Sv(d,h,n,a+1)?O===n.length&&(y[1]="Referentially unequal but deeply equal objects. Consider memoization."):o=!1;continue}}else if(typeof d==="function"&&typeof h==="function"&&d.name===h.name&&d.length===h.length&&(y=Function.prototype.toString.call(d),O=Function.prototype.toString.call(h),y===O)){d=h.name===""?"() => {}":h.name+"() {}",n.push([aw+" ".repeat(a)+u,d+" Referentially unequal function closure. Consider memoization."]);continue}}Ka(u,d,n,a,Xd),Ka(u,h,n,a,Jd),o=!1}}else n.push([Jd+" ".repeat(a)+u,"…"]),o=!1;i++}return o}function Cn(e){Je=e&63?"Blocking":e&64?"Gesture":e&4194176?"Transition":e&62914560?"Suspense":e&2080374784?"Idle":"Other"}function wo(e,t,n,a){Rt&&(fi.start=t,fi.end=n,El.color="warning",El.tooltipText=a,El.properties=null,(e=e._debugTask)?e.run(performance.measure.bind(performance,a,fi)):performance.measure(a,fi),performance.clearMeasures(a))}function Cf(e,t,n){wo(e,t,n,"Reconnect")}function Rf(e,t,n,a,o){var i=L(e);if(i!==null&&Rt){var u=e.alternate,d=e.actualDuration;if(u===null||u.child!==e.child)for(var h=e.child;h!==null;h=h.sibling)d-=h.actualDuration;d=0.5>d?a?"tertiary-light":"primary-light":10>d?a?"tertiary":"primary":100>d?a?"tertiary-dark":"primary-dark":"error";var y=e.memoizedProps;a=e._debugTask,y!==null&&u!==null&&u.memoizedProps!==y?(h=[rN],y=Sv(u.memoizedProps,y,h,0),1<h.length?(y&&!ui&&(u.lanes&o)===0&&100<e.actualDuration?(ui=!0,h[0]=cN,El.color="warning",El.tooltipText=ow):(El.color=d,El.tooltipText=i),El.properties=h,fi.start=t,fi.end=n,e=""+i,a!=null?a.run(performance.measure.bind(performance,e,fi)):performance.measure(e,fi),performance.clearMeasures(e)):a!=null?a.run(console.timeStamp.bind(console,i,t,n,ta,void 0,d)):console.timeStamp(i,t,n,ta,void 0,d)):a!=null?a.run(console.timeStamp.bind(console,i,t,n,ta,void 0,d)):console.timeStamp(i,t,n,ta,void 0,d)}}function nm(e,t,n,a){if(Rt){var o=L(e);if(o!==null){for(var i=null,u=[],d=0;d<a.length;d++){var h=a[d];i==null&&h.source!==null&&(i=h.source._debugTask),h=h.value,u.push(["Error",typeof h==="object"&&h!==null&&typeof h.message==="string"?String(h.message):String(h)])}e.key!==null&&Ka("key",e.key,u,0,""),e.memoizedProps!==null&&tm(e.memoizedProps,u,0,""),i==null&&(i=e._debugTask),e={start:t,end:n,detail:{devtools:{color:"error",track:ta,tooltipText:e.tag===13?"Hydration failed":"Error boundary caught an error",properties:u}}},o=""+o,i?i.run(performance.measure.bind(performance,o,e)):performance.measure(o,e),performance.clearMeasures(o)}}}function Oo(e,t,n,a,o){if(o!==null){if(Rt){var i=L(e);if(i!==null){a=[];for(var u=0;u<o.length;u++){var d=o[u].value;a.push(["Error",typeof d==="object"&&d!==null&&typeof d.message==="string"?String(d.message):String(d)])}e.key!==null&&Ka("key",e.key,a,0,""),e.memoizedProps!==null&&tm(e.memoizedProps,a,0,""),t={start:t,end:n,detail:{devtools:{color:"error",track:ta,tooltipText:"A lifecycle or effect errored",properties:a}}},e=e._debugTask,n=""+i,e?e.run(performance.measure.bind(performance,n,t)):performance.measure(n,t),performance.clearMeasures(n)}}}else i=L(e),i!==null&&Rt&&(o=1>a?"secondary-light":100>a?"secondary":500>a?"secondary-dark":"error",(e=e._debugTask)?e.run(console.timeStamp.bind(console,i,t,n,ta,void 0,o)):console.timeStamp(i,t,n,ta,void 0,o))}function Ev(e,t,n,a){!Rt||t<=e||(n=(n&738197653)===n?"tertiary-dark":"primary-dark",a?a.run(console.timeStamp.bind(console,"Prewarm",e,t,Je,Qe,n)):console.timeStamp("Prewarm",e,t,Je,Qe,n))}function Tv(e,t,n,a){!Rt||t<=e||(n=(n&738197653)===n?"tertiary-dark":"primary-dark",a?a.run(console.timeStamp.bind(console,"Suspended",e,t,Je,Qe,n)):console.timeStamp("Suspended",e,t,Je,Qe,n))}function am(e,t,n,a){!Rt||t<=e||(a?a.run(console.timeStamp.bind(console,"Errored",e,t,Je,Qe,"error")):console.timeStamp("Errored",e,t,Je,Qe,"error"))}function eC(e,t,n,a){!Rt||t<=e||(a?a.run(console.timeStamp.bind(console,n,e,t,Je,Qe,"secondary-light")):console.timeStamp(n,e,t,Je,Qe,"secondary-light"))}function wv(e,t,n,a,o){if(Rt&&!(t<=e)){for(var i=[],u=0;u<n.length;u++){var d=n[u].value;i.push(["Error",typeof d==="object"&&d!==null&&typeof d.message==="string"?String(d.message):String(d)])}e={start:e,end:t,detail:{devtools:{color:"error",track:Je,trackGroup:Qe,tooltipText:a?"Remaining Effects Errored":"Commit Errored",properties:i}}},o?o.run(performance.measure.bind(performance,"Errored",e)):performance.measure("Errored",e),performance.clearMeasures("Errored")}}function Ov(e,t,n,a,o){n!==null?wv(e,t,n,!1,o):!Rt||t<=e||(o?o.run(console.timeStamp.bind(console,a?"Commit Interrupted View Transition":"Commit",e,t,Je,Qe,a?"error":"secondary-dark")):console.timeStamp(a?"Commit Interrupted View Transition":"Commit",e,t,Je,Qe,a?"error":"secondary-dark"))}function Yl(e,t,n){!Rt||t<=e||(n?n.run(console.timeStamp.bind(console,"Animating",e,t,Je,Qe,"secondary-dark")):console.timeStamp("Animating",e,t,Je,Qe,"secondary-dark"))}function _f(){for(var e=Or,t=Gy=Or=0;t<e;){var n=La[t];La[t++]=null;var a=La[t];La[t++]=null;var o=La[t];La[t++]=null;var i=La[t];if(La[t++]=null,a!==null&&o!==null){var u=a.pending;u===null?o.next=o:(o.next=u.next,u.next=o),a.pending=o}i!==0&&Av(n,o,i)}}function Nf(e,t,n,a){La[Or++]=e,La[Or++]=t,La[Or++]=n,La[Or++]=a,Gy|=a,e.lanes|=a,e=e.alternate,e!==null&&(e.lanes|=a)}function om(e,t,n,a){return Nf(e,t,n,a),Df(e)}function Rn(e,t){return Nf(e,null,null,t),Df(e)}function Av(e,t,n){e.lanes|=n;var a=e.alternate;a!==null&&(a.lanes|=n);for(var o=!1,i=e.return;i!==null;)i.childLanes|=n,a=i.alternate,a!==null&&(a.childLanes|=n),i.tag===22&&(e=i.stateNode,e===null||e._visibility&fu||(o=!0)),e=i,i=i.return;return e.tag===3?(i=e.stateNode,o&&t!==null&&(o=31-In(n),e=i.hiddenUpdates,a=e[o],a===null?e[o]=[t]:a.push(t),t.lane=n|536870912),i):null}function Df(e){if(qu>ON)throw Ts=qu=0,Vu=Rp=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.");Ts>AN&&(Ts=0,Vu=null,console.error("Maximum update depth exceeded. This can happen when a component calls setState inside useEffect, but useEffect either doesn't have a dependency array, or one of the dependencies changes on every render.")),e.alternate===null&&(e.flags&4098)!==0&&ZS(e);for(var t=e,n=t.return;n!==null;)t.alternate===null&&(t.flags&4098)!==0&&ZS(e),t=n,n=t.return;return t.tag===3?t.stateNode:null}function Qs(e){if(wl===null)return e;var t=wl(e);return t===void 0?e:t.current}function Cv(e,t){if(wl===null)return!1;var n=wl,a=e.elementType;t=t.type;var o=!1,i=typeof t==="object"&&t!==null?t.$$typeof:null;switch(e.tag){case 1:typeof t==="function"&&(o=!0);break;case 0:typeof t==="function"?o=!0:i===ea&&(o=!0);break;case 11:i===xd?o=!0:i===ea&&(o=!0);break;case 14:case 15:i===zd?o=!0:i===ea&&(o=!0);break;default:return!1}return o&&(e=n(a),e!==void 0&&e===n(t))?!0:!1}function Rv(e){wl!==null&&typeof WeakSet==="function"&&(Ar===null&&(Ar=new WeakSet),Ar.add(e))}function _v(e,t,n){do{var a=e,o=a.alternate,i=a.child,u=a.sibling,d=a.tag,h=a.type,y=a.elementType,O=null;switch(a=null,d){case 0:case 1:O=h;break;case 15:O=h,a=y;break;case 14:a=y;break;case 11:O=h.render,a=y}if(wl===null)throw Error("Expected resolveFamily to be set during hot reload.");var M=wl;if(h=y=!1,O!==null&&(O=M(O),O!==void 0&&(n.has(O)?h=!0:t.has(O)&&(d===1?h=!0:y=!0))),h||a===null||(d=M(a),d!==void 0&&n.has(d)?h=!0:typeof a==="object"&&a.$$typeof===ea&&(d=a._payload,d._status===1&&(d=M(d._result.default),d!==void 0&&n.has(d)&&(h=!0)))),Ar!==null&&(Ar.has(e)||o!==null&&Ar.has(o))&&(h=!0),h&&(e._debugNeedsRemount=!0),h||y)o=Rn(e,2),o!==null&&Ut(o,e,2);if(i===null||h||_v(i,t,n),u===null)break;e=u}while(1)}function tC(e,t,n,a){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=a,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null,this.actualDuration=-0,this.actualStartTime=-1.1,this.treeBaseDuration=this.selfBaseDuration=-0,this._debugTask=this._debugStack=this._debugOwner=this._debugInfo=null,this._debugNeedsRemount=!1,this._debugHookTypes=null,iw||typeof Object.preventExtensions!=="function"||Object.preventExtensions(this)}function lm(e){return e=e.prototype,!(!e||!e.isReactComponent)}function pl(e,t){var n=e.alternate;switch(n===null?(n=T(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n._debugOwner=e._debugOwner,n._debugStack=e._debugStack,n._debugTask=e._debugTask,n._debugHookTypes=e._debugHookTypes,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null,n.actualDuration=-0,n.actualStartTime=-1.1),n.flags=e.flags&1206910976,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext,_debugThenableState:t._debugThenableState},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n.refCleanup=e.refCleanup,n.selfBaseDuration=e.selfBaseDuration,n.treeBaseDuration=e.treeBaseDuration,n._debugInfo=e._debugInfo,n._debugNeedsRemount=e._debugNeedsRemount,n.tag){case 0:case 15:case 14:case 1:case 11:n.type=Qs(e.type)}return n}function Nv(e,t){e.flags&=1206910978;var n=e.alternate;return n===null?(e.childLanes=0,e.lanes=t,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null,e.selfBaseDuration=0,e.treeBaseDuration=0):(e.childLanes=n.childLanes,e.lanes=n.lanes,e.child=n.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=n.memoizedProps,e.memoizedState=n.memoizedState,e.updateQueue=n.updateQueue,e.type=n.type,t=n.dependencies,e.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext,_debugThenableState:t._debugThenableState},e.selfBaseDuration=n.selfBaseDuration,e.treeBaseDuration=n.treeBaseDuration),e}function im(e,t,n,a,o,i){var u=0,d=Qs(e);if(typeof d==="function")lm(d)&&(u=1);else if(typeof d==="string")u=J(),u=kR(e,n,u)?26:e==="html"||e==="head"||e==="body"?27:5;else e:switch(d){case gy:return t=T(31,n,t,o),t.elementType=gy,t.lanes=i,t;case pr:return Gi(n.children,o,i,t);case Md:u=8,o|=Nn,o|=to;break;case dy:return e=n,a=o,typeof e.id!=="string"&&console.error('Profiler must specify an "id" of type `string` as a prop. Received the type `%s` instead.',typeof e.id),t=T(12,e,t,a|je),t.elementType=dy,t.lanes=i,t.stateNode={effectDuration:0,passiveEffectDuration:0},t;case hy:return t=T(13,n,t,o),t.elementType=hy,t.lanes=i,t;case my:return t=T(19,n,t,o),t.elementType=my,t.lanes=i,t;case XR:case yy:return e=o|lw,t=T(30,n,t,e),t.elementType=yy,t.lanes=i,t.stateNode={autoName:null,paired:null,clones:null,ref:null},t;default:if(typeof d==="object"&&d!==null)switch(d.$$typeof){case Wa:u=10;break e;case py:u=9;break e;case xd:u=11;break e;case zd:u=14;break e;case ea:u=16,d=null;break e}if(n="",e===void 0||typeof e==="object"&&e!==null&&Object.keys(e).length===0)n+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.";e===null?d="null":Pt(e)?d="array":e!==void 0&&e.$$typeof===Lo?(d="<"+(Ce(e.type)||"Unknown")+" />",n=" Did you accidentally export a JSX literal instead of a component?"):d=typeof e,(u=a?kn(a):null)&&(n+=`
|
|
72
72
|
|
|
73
73
|
Check the render method of \``+u+"`."),u=29,n=Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: "+(d+"."+n)),d=null}return t=T(u,n,t,o),t.elementType=e,t.type=d,t.lanes=i,t._debugOwner=a,t}function Mf(e,t,n){return t=im(e.type,e.key,e.props,e._owner,t,n),t._debugOwner=e._owner,t._debugStack=e._debugStack,t._debugTask=e._debugTask,t}function Gi(e,t,n,a){return e=T(7,e,a,t),e.lanes=n,e}function sm(e,t,n){return e=T(6,e,null,t),e.lanes=n,e}function Dv(e){var t=T(18,null,null,_e);return t.stateNode=e,t}function rm(e,t,n){return t=T(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function ha(e,t){if(typeof e==="object"&&e!==null){var n=Qy.get(e);if(n!==void 0)return n;return t={value:e,source:t,stack:Ot(t)},Qy.set(e,t),t}return{value:e,source:t,stack:Ot(t)}}function hl(e,t){Gl(),Cr[Rr++]=du,Cr[Rr++]=Kd,Kd=e,du=t}function Mv(e,t,n){Gl(),Ha[ja++]=Ol,Ha[ja++]=Al,Ha[ja++]=ls,ls=e;var a=Ol;e=Al;var o=32-In(a)-1;a&=~(1<<o),n+=1;var i=32-In(t)+o;if(30<i){var u=o-o%5;i=(a&(1<<u)-1).toString(32),a>>=u,o-=u,Ol=1<<32-In(t)+o|n<<o|a,Al=i+e}else Ol=1<<i|n<<o|a,Al=e}function xf(e){Gl(),e.return!==null&&(hl(e,1),Mv(e,1,0))}function cm(e){for(;e===Kd;)Kd=Cr[--Rr],Cr[Rr]=null,du=Cr[--Rr],Cr[Rr]=null;for(;e===ls;)ls=Ha[--ja],Ha[ja]=null,Al=Ha[--ja],Ha[ja]=null,Ol=Ha[--ja],Ha[ja]=null}function xv(){return Gl(),ls!==null?{id:Ol,overflow:Al}:null}function zv(e,t){Gl(),Ha[ja++]=Ol,Ha[ja++]=Al,Ha[ja++]=ls,Ol=t.id,Al=t.overflow,ls=e}function Gl(){$e||console.error("Expected to be hydrating. This is a bug in React. Please file an issue.")}function Qi(e,t){if(e.return===null){if(Ta===null)Ta={fiber:e,children:[],serverProps:void 0,serverTail:[],distanceFromLeaf:t};else{if(Ta.fiber!==e)throw Error("Saw multiple hydration diff roots in a pass. This is a bug in React.");Ta.distanceFromLeaf>t&&(Ta.distanceFromLeaf=t)}return Ta}var n=Qi(e.return,t+1).children;if(0<n.length&&n[n.length-1].fiber===e)return n=n[n.length-1],n.distanceFromLeaf>t&&(n.distanceFromLeaf=t),n;return t={fiber:e,children:[],serverProps:void 0,serverTail:[],distanceFromLeaf:t},n.push(t),t}function Uv(){$e&&console.error("We should not be hydrating here. This is a bug in React. Please file a bug.")}function zf(e,t){Vo||(e=Qi(e,0),e.serverProps=null,t!==null&&(t=zE(t),e.serverTail.push(t)))}function Ql(e){var t=1<arguments.length&&arguments[1]!==void 0?arguments[1]:!1,n="",a=Ta;throw a!==null&&(Ta=null,n=Kh(a)),Ac(ha(Error("Hydration failed because the server rendered "+(t?"text":"HTML")+` didn't match the client. As a result this tree will be regenerated on the client. This can happen if a SSR-ed Client Component used:
|
|
74
74
|
|
|
@@ -80,7 +80,7 @@ Check the render method of \``+u+"`."),u=29,n=Error("Element type is invalid: ex
|
|
|
80
80
|
|
|
81
81
|
It can also happen if the client has a browser extension installed which messes with the HTML before React loaded.
|
|
82
82
|
|
|
83
|
-
https://react.dev/link/hydration-mismatch`+n),e)),Xy}function
|
|
83
|
+
https://react.dev/link/hydration-mismatch`+n),e)),Xy}function kv(e){var{stateNode:t,type:n,memoizedProps:a}=e;switch(t[bn]=e,t[Vn]=a,Vg(n,a),n){case"dialog":Ze("cancel",t),Ze("close",t);break;case"iframe":case"object":case"embed":Ze("load",t);break;case"video":case"audio":for(n=0;n<Yu.length;n++)Ze(Yu[n],t);break;case"source":Ze("error",t);break;case"img":case"image":case"link":Ze("error",t),Ze("load",t);break;case"details":Ze("toggle",t);break;case"input":qs("input",a),Ze("invalid",t),jb(t,a),$b(t,a.value,a.defaultValue,a.checked,a.defaultChecked,a.type,a.name,!0);break;case"option":Ib(t,a);break;case"select":qs("select",a),Ze("invalid",t),Vb(t,a);break;case"textarea":qs("textarea",a),Ze("invalid",t),Yb(t,a),Qb(t,a.value,a.defaultValue,a.children)}n=a.children,typeof n!=="string"&&typeof n!=="number"&&typeof n!=="bigint"||t.textContent===""+n||a.suppressHydrationWarning===!0||rE(t.textContent,n)?(a.popover!=null&&(Ze("beforetoggle",t),Ze("toggle",t)),a.onScroll!=null&&Ze("scroll",t),a.onScrollEnd!=null&&Ze("scrollend",t),a.onClick!=null&&(t.onclick=To),t=!0):t=!1,t||Ql(e,!0)}function Uf(e){for(sn=e.return;sn;)switch(sn.tag){case 5:case 31:case 13:$a=!1;return;case 27:case 3:$a=!0;return;default:sn=sn.return}}function Xs(e){if(e!==sn)return!1;if(!$e)return Uf(e),$e=!0,!1;var t=e.tag,n;if(n=t!==3&&t!==27){if(n=t===5)n=e.type,n=!(n!=="form"&&n!=="button")||Jg(e.type,e.memoizedProps);n=!n}if(n&&Ct){for(n=Ct;n;){var a=Qi(e,0),o=zE(n);a.serverTail.push(o),n=o.type==="Suspense"?ey(n):Sa(n.nextSibling)}Ql(e)}if(Uf(e),t===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");Ct=ey(e)}else if(t===31){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");Ct=ey(e)}else t===27?(t=Ct,oi(e.type)?(e=V0,V0=null,Ct=e):Ct=t):Ct=sn?Sa(e.stateNode.nextSibling):null;return!0}function Xi(){Ct=sn=null,Vo=$e=!1}function um(){var e=pi;return e!==null&&(Jn===null?Jn=e:Jn.push.apply(Jn,e),pi=null),e}function Ac(e){pi===null?pi=[e]:pi.push(e)}function fm(){var e=Ta;if(e!==null){Ta=null;for(var t=Kh(e);0<e.children.length;)e=e.children[0];oe(e.fiber,function(){console.error(`A tree hydrated but some attributes of the server rendered HTML didn't match the client properties. This won't be patched up. This can happen if a SSR-ed Client Component used:
|
|
84
84
|
|
|
85
85
|
- A server/client branch \`if (typeof window !== 'undefined')\`.
|
|
86
86
|
- Variable input such as \`Date.now()\` or \`Math.random()\` which changes each time it's called.
|
|
@@ -90,16 +90,16 @@ https://react.dev/link/hydration-mismatch`+n),e)),Xy}function Bv(e){var{stateNod
|
|
|
90
90
|
|
|
91
91
|
It can also happen if the client has a browser extension installed which messes with the HTML before React loaded.
|
|
92
92
|
|
|
93
|
-
%s%s`,"https://react.dev/link/hydration-mismatch",t)})}}function
|
|
93
|
+
%s%s`,"https://react.dev/link/hydration-mismatch",t)})}}function kf(){_r=Zd=null,Nr=!1}function Xl(e,t,n){q(Jy,t._currentValue,e),t._currentValue=n,q(Ky,t._currentRenderer,e),t._currentRenderer!==void 0&&t._currentRenderer!==null&&t._currentRenderer!==rw&&console.error("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),t._currentRenderer=rw}function ml(e,t){e._currentValue=Jy.current;var n=Ky.current;Se(Ky,t),e._currentRenderer=n,Se(Jy,t)}function Bf(e,t,n){for(;e!==null;){var a=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,a!==null&&(a.childLanes|=t)):a!==null&&(a.childLanes&t)!==t&&(a.childLanes|=t),e===n)break;e=e.return}e!==n&&console.error("Expected to find the propagation root when scheduling context work. This error is likely caused by a bug in React. Please file an issue.")}function dm(e,t,n,a){var o=e.child;o!==null&&(o.return=e);for(;o!==null;){var i=o.dependencies;if(i!==null){var u=o.child;i=i.firstContext;e:for(;i!==null;){var d=i;i=o;for(var h=0;h<t.length;h++)if(d.context===t[h]){i.lanes|=n,d=i.alternate,d!==null&&(d.lanes|=n),Bf(i.return,n,e),a||(u=null);break e}i=d.next}}else if(o.tag===18){if(u=o.return,u===null)throw Error("We just came from a parent so we must have had a parent. This is a bug in React.");u.lanes|=n,i=u.alternate,i!==null&&(i.lanes|=n),Bf(u,n,e),u=null}else o.tag===13&&o.memoizedState!==null&&o.memoizedState.dehydrated===null?(o.lanes|=n,u=o.alternate,u!==null&&(u.lanes|=n),Bf(o.return,n,e),u=o.child,u=u!==null?u.sibling:null):u=o.child;if(u!==null)u.return=o;else for(u=o;u!==null;){if(u===e){u=null;break}if(o=u.sibling,o!==null){o.return=u.return,u=o;break}u=u.return}o=u}}function Ji(e,t,n,a){e=null;for(var o=t,i=!1;o!==null;){if(!i){if((o.flags&524288)!==0)i=!0;else if((o.flags&262144)!==0)break}if(o.tag===10){var u=o.alternate;if(u===null)throw Error("Should have a current fiber. This is a bug in React.");if(u=u.memoizedProps,u!==null){var d=o.type;Gn(o.pendingProps.value,u.value)||(e!==null?e.push(d):e=[d])}}else if(o===Ud.current){if(u=o.alternate,u===null)throw Error("Should have a current fiber. This is a bug in React.");u.memoizedState.memoizedState!==o.memoizedState.memoizedState&&(e!==null?e.push(Pr):e=[Pr])}o=o.return}return e!==null&&dm(t,e,n,a),t.flags|=262144,e!==null}function Lf(e){for(e=e.firstContext;e!==null;){if(!Gn(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function Ki(e){Zd=e,_r=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function _t(e){return Nr&&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()."),Bv(Zd,e)}function Hf(e,t){return Zd===null&&Ki(e),Bv(e,t)}function Bv(e,t){var n=t._currentValue;if(t={context:t,memoizedValue:n,next:null},_r===null){if(e===null)throw Error("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().");_r=t,e.dependencies={lanes:0,firstContext:t,_debugThenableState:null},e.flags|=524288}else _r=_r.next=t;return n}function pm(){return{controller:new fN,data:new Map,refCount:0}}function Zi(e){e.controller.signal.aborted&&console.warn("A cache instance was retained after it was already freed. This likely indicates a bug in React."),e.refCount++}function Cc(e){e.refCount--,0>e.refCount&&console.warn("A cache instance was released after it was already freed. This likely indicates a bug in React."),e.refCount===0&&dN(pN,function(){e.controller.abort()})}function Lv(e,t){if((e.pendingLanes&4194048)!==0){var n=e.transitionTypes;n===null&&(n=e.transitionTypes=[]);for(e=0;e<t.length;e++){var a=t[e];n.indexOf(a)===-1&&n.push(a)}}}function nC(e){var t=e.transitionTypes;return e.transitionTypes=null,t}function Ao(e,t,n){if((e&127)!==0)0>Yo&&(Yo=Yt(),mu=Pd(t),Zy=t,n!=null&&(Py=L(n)),(We&(Wt|Aa))!==fn&&(kt=!0,mi=hu),e=Jc(),t=Xc(),e!==Dr||t!==gu?Dr=-1.1:t!==null&&(mi=hu),ss=e,gu=t);else if((e&4194048)!==0&&0>Ia&&(Ia=Yt(),yu=Pd(t),cw=t,n!=null&&(uw=L(n)),0>_l)){if(e=Jc(),t=Xc(),e!==yi||t!==rs)yi=-1.1;gi=e,rs=t}}function aC(e){if(0>Yo){Yo=Yt(),mu=e._debugTask!=null?e._debugTask:null,(We&(Wt|Aa))!==fn&&(mi=hu);var t=Jc(),n=Xc();t!==Dr||n!==gu?Dr=-1.1:n!==null&&(mi=hu),ss=t,gu=n}if(0>Ia&&(Ia=Yt(),yu=e._debugTask!=null?e._debugTask:null,0>_l)){if(e=Jc(),t=Xc(),e!==yi||t!==rs)yi=-1.1;gi=e,rs=t}}function gl(){var e=is;return is=0,e}function jf(e){var t=is;return is=e,t}function Rc(e){var t=is;return is+=e,t}function $f(){Te=ve=-1.1}function ma(){var e=ve;return ve=-1.1,e}function ga(e){0<=e&&(ve=e)}function Co(){var e=Dt;return Dt=-0,e}function Ro(e){0<=e&&(Dt=e)}function _o(){var e=Nt;return Nt=null,e}function No(){var e=kt;return kt=!1,e}function hm(e){Qn=Yt(),0>e.actualStartTime&&(e.actualStartTime=Qn)}function mm(e){if(0<=Qn){var t=Yt()-Qn;e.actualDuration+=t,e.selfBaseDuration=t,Qn=-1}}function Hv(e){if(0<=Qn){var t=Yt()-Qn;e.actualDuration+=t,Qn=-1}}function Do(){if(0<=Qn){var e=Yt(),t=e-Qn;Qn=-1,is+=t,Dt+=t,Te=e}}function jv(e){Nt===null&&(Nt=[]),Nt.push(e),Rl===null&&(Rl=[]),Rl.push(e)}function Mo(){Qn=Yt(),0>ve&&(ve=Qn)}function _c(e){for(var t=e.child;t;)e.actualDuration+=t.actualDuration,t=t.sibling}function oC(e,t){if(vu===null){var n=vu=[];t0=0,bi=jg(),Mr={status:"pending",value:void 0,then:function(a){n.push(a)}}}return t0++,t.then($v,$v),t}function $v(){if(--t0===0&&(-1<Ia||(_l=-1.1),pu=null,vu!==null)){Mr!==null&&(Mr.status="fulfilled");var e=vu;vu=null,bi=0,Mr=null;for(var t=0;t<e.length;t++)(0,e[t])()}}function lC(e,t){var n=[],a={status:"pending",value:null,reason:null,then:function(o){n.push(o)}};return e.then(function(){a.status="fulfilled",a.value=t;for(var o=0;o<n.length;o++)(0,n[o])(t)},function(o){a.status="rejected",a.reason=o;for(o=0;o<n.length;o++)(0,n[o])(void 0)}),a}function gm(){var e=us.current;return e!==null?e:Et.pooledCache}function If(e,t){t===null?q(us,us.current,e):q(us,t.pool,e)}function Iv(){var e=gm();return e===null?null:{parent:Qt._currentValue,pool:e}}function qv(){return{didWarnAboutUncachedPromise:!1,thenables:[]}}function Vv(e){return e=e.status,e==="fulfilled"||e==="rejected"}function Yv(e,t,n,a){V.actQueue!==null&&(V.didUsePromise=!0);var o=e.thenables;if(n=o[n],n===void 0?o.push(t):n!==t&&(e.didWarnAboutUncachedPromise||(e.didWarnAboutUncachedPromise=!0,console.error("A component was suspended by an uncached promise. Creating promises inside a Client Component or hook is not yet supported, except via a Suspense-compatible library or framework.")),t.then(To,To),t=n),t._debugInfo===void 0){e=performance.now(),o=t.displayName;var i={name:typeof o==="string"?o:"Promise",start:e,end:e,value:t};t._debugInfo=[{awaited:i}],t.status!=="fulfilled"&&t.status!=="rejected"&&(e=function(){i.end=performance.now()},t.then(e,e))}switch(t.status){case"fulfilled":return t.value;case"rejected":if(a=t.reason,Qv(a),a===void 0&&!("reason"in t))throw Error("A rejected Promise was passed to React without a `reason` property. React threw a generic error from where the Promise was used to assist in identifying the problematic Promise. Make sure that instrumented Promises correctly set the `reason` property when setting `status` to `'rejected'`.");throw a;default:if(typeof t.status==="string")t.then(To,To);else{if(e=Et,e!==null&&100<e.shellSuspendCounter)throw Error("An unknown Component is an async Client Component. Only Server Components can be async at the moment. This error is often caused by accidentally adding `'use client'` to a module that was originally written for the server.");e=t,e.status="pending",e.then(function(u){if(t.status==="pending"){var d=t;d.status="fulfilled",d.value=u}},function(u){if(t.status==="pending"){var d=t;d.status="rejected",d.reason=u}})}switch(t.status){case"fulfilled":return t.value;case"rejected":throw a=t.reason,Qv(a),a}throw ps=t,Cu=!0,l0||a===null||a.alternate!==null||(ds=a,ip=Error("This library called use() to suspend in a previous render but did not call use() when it finished. This indicates an incorrect use of use(). Learn more: https://react.dev/warnings/conditional-use-of-use")),xr}}function Jl(e){try{return bN(e)}catch(t){if(t!==null&&typeof t==="object"&&typeof t.then==="function")throw ps=t,Cu=!0,xr;throw t}}function Gv(){if(ps===null)throw Error("Expected a suspended thenable. This is a bug in React. Please file an issue.");var e=ps;return ps=null,Cu=!1,e}function Qv(e){if(e===xr||e===op)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 Xv(e,t){return e===t?!0:e.tag!==t.tag||e.type!==t.type||e.key!==t.key||e.index!==t.index||e.tag===3&&e.stateNode!==t.stateNode||e.return===null||t.return===null?!1:Xv(e.return,t.return)}function Ln(e){var t=Xe;return e!=null&&(Xe=t===null?e:t.concat(e)),t}function ym(){var e=Xe;if(e!=null){for(var t=e.length-1;0<=t;t--)if(e[t].name!=null){var n=e[t].debugTask;if(n!=null)return n}}return null}function qf(e,t,n){for(var a=Object.keys(e.props),o=0;o<a.length;o++){var i=a[o];if(i!=="children"&&i!=="key"&&i!=="ref"){t===null&&(t=Mf(e,n.mode,0),t._debugInfo=Xe,t.return=n),oe(t,function(u){console.error("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key`, `ref`, and `children` props.",u)},i);break}}}function Vf(e){var t=Ru;return Ru+=1,zr===null&&(zr=qv()),Yv(zr,e,t,null)}function Kl(e,t){t=t.props.ref,e.ref=t!==void 0?t:null}function Jv(e,t){if(t.$$typeof===QR)throw Error(`A React Element from an older version of React was rendered. This is not supported. It can happen if:
|
|
94
94
|
- Multiple copies of the "react" package is used.
|
|
95
95
|
- A library pre-bundled an old copy of "react" or "react/jsx-runtime".
|
|
96
96
|
- A compiler tries to "inline" JSX instead of using the runtime.`);throw e=Object.prototype.toString.call(t),Error("Objects are not valid as a React child (found: "+(e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e)+"). If you meant to render a collection of children, use an array instead.")}function Yf(e,t){var n=ym();n!==null?n.run(Jv.bind(null,e,t)):Jv(e,t)}function Kv(e,t){var n=L(e)||"Component";_w[n]||(_w[n]=!0,t=t.displayName||t.name||"Component",e.tag===3?console.error(`Functions are not valid as a React child. This may happen if you return %s instead of <%s /> from render. Or maybe you meant to call this function rather than return it.
|
|
97
97
|
root.render(%s)`,t,t,t):console.error(`Functions are not valid as a React child. This may happen if you return %s instead of <%s /> from render. Or maybe you meant to call this function rather than return it.
|
|
98
98
|
<%s>{%s}</%s>`,t,t,n,t,n))}function Gf(e,t){var n=ym();n!==null?n.run(Kv.bind(null,e,t)):Kv(e,t)}function Zv(e,t){var n=L(e)||"Component";Nw[n]||(Nw[n]=!0,t=String(t),e.tag===3?console.error(`Symbols are not valid as a React child.
|
|
99
99
|
root.render(%s)`,t):console.error(`Symbols are not valid as a React child.
|
|
100
|
-
<%s>%s</%s>`,n,t,n))}function Qf(e,t){var n=ym();n!==null?n.run(Zv.bind(null,e,t)):Zv(e,t)}function Pv(e){function t(_,N){if(e){var x=_.deletions;x===null?(_.deletions=[N],_.flags|=16):x.push(N)}}function n(_,N){if(!e)return null;for(;N!==null;)t(_,N),N=N.sibling;return null}function a(_){for(var N=new Map;_!==null;)_.key===null?N.set(_.index,_):N.set(_.key,_),_=_.sibling;return N}function o(_,N){return _=pl(_,N),_.index=0,_.sibling=null,_}function i(_,N,x){if(_.index=x,!e)return _.flags|=1048576,N;if(x=_.alternate,x!==null)return x=x.index,x<N?(_.flags|=2,N):x;return _.flags|=134217730,N}function u(_){return e&&_.alternate===null&&(_.flags|=134217730),_}function d(_,N,x,I){if(N===null||N.tag!==6)return N=sm(x,_.mode,I),N.return=_,N._debugOwner=_,N._debugTask=_._debugTask,N._debugInfo=Xe,N;return N=o(N,x),N.return=_,N._debugInfo=Xe,N}function h(_,N,x,I){var F=x.type;if(F===pr)return N=O(_,N,x.props.children,I,x.key),Kl(N,x),qf(x,N,_),N;if(N!==null&&(N.elementType===F||Cv(N,x)||typeof F==="object"&&F!==null&&F.$$typeof===ea&&Jl(F)===N.type))return N=o(N,x.props),Kl(N,x),N.return=_,N._debugOwner=x._owner,N._debugInfo=Xe,N;return N=Mf(x,_.mode,I),Kl(N,x),N.return=_,N._debugInfo=Xe,N}function y(_,N,x,I){if(N===null||N.tag!==4||N.stateNode.containerInfo!==x.containerInfo||N.stateNode.implementation!==x.implementation)return N=rm(x,_.mode,I),N.return=_,N._debugInfo=Xe,N;return N=o(N,x.children||[]),N.return=_,N._debugInfo=Xe,N}function O(_,N,x,I,F){if(N===null||N.tag!==7)return N=Gi(x,_.mode,I,F),N.return=_,N._debugOwner=_,N._debugTask=_._debugTask,N._debugInfo=Xe,N;return N=o(N,x),N.return=_,N._debugInfo=Xe,N}function M(_,N,x){if(typeof N==="string"&&N!==""||typeof N==="number"||typeof N==="bigint")return N=sm(""+N,_.mode,x),N.return=_,N._debugOwner=_,N._debugTask=_._debugTask,N._debugInfo=Xe,N;if(typeof N==="object"&&N!==null){switch(N.$$typeof){case Lo:return x=Mf(N,_.mode,x),Kl(x,N),x.return=_,_=Ln(N._debugInfo),x._debugInfo=Xe,Xe=_,x;case dr:return N=rm(N,_.mode,x),N.return=_,N._debugInfo=Xe,N;case ea:var I=Ln(N._debugInfo);return N=Jl(N),_=M(_,N,x),Xe=I,_}if(Pt(N)||Ye(N))return x=Gi(N,_.mode,x,null),x.return=_,x._debugOwner=_,x._debugTask=_._debugTask,_=Ln(N._debugInfo),x._debugInfo=Xe,Xe=_,x;if(typeof N.then==="function")return I=Ln(N._debugInfo),_=M(_,Vf(N),x),Xe=I,_;if(N.$$typeof===Wa)return M(_,Hf(_,N),x);Yf(_,N)}return typeof N==="function"&&Gf(_,N),typeof N==="symbol"&&Qf(_,N),null}function D(_,N,x,I){var F=N!==null?N.key:null;if(typeof x==="string"&&x!==""||typeof x==="number"||typeof x==="bigint")return F!==null?null:d(_,N,""+x,I);if(typeof x==="object"&&x!==null){switch(x.$$typeof){case Lo:return x.key===F?(F=Ln(x._debugInfo),_=h(_,N,x,I),Xe=F,_):null;case dr:return x.key===F?y(_,N,x,I):null;case ea:return F=Ln(x._debugInfo),x=Jl(x),_=D(_,N,x,I),Xe=F,_}if(Pt(x)||Ye(x)){if(F!==null)return null;return F=Ln(x._debugInfo),_=O(_,N,x,I,null),Xe=F,_}if(typeof x.then==="function")return F=Ln(x._debugInfo),_=D(_,N,Vf(x),I),Xe=F,_;if(x.$$typeof===Wa)return D(_,N,Hf(_,x),I);Yf(_,x)}return typeof x==="function"&&Gf(_,x),typeof x==="symbol"&&Qf(_,x),null}function U(_,N,x,I,F){if(typeof I==="string"&&I!==""||typeof I==="number"||typeof I==="bigint")return _=_.get(x)||null,d(N,_,""+I,F);if(typeof I==="object"&&I!==null){switch(I.$$typeof){case Lo:return x=_.get(I.key===null?x:I.key)||null,_=Ln(I._debugInfo),N=h(N,x,I,F),Xe=_,N;case dr:return _=_.get(I.key===null?x:I.key)||null,y(N,_,I,F);case ea:var we=Ln(I._debugInfo);return I=Jl(I),N=U(_,N,x,I,F),Xe=we,N}if(Pt(I)||Ye(I))return x=_.get(x)||null,_=Ln(I._debugInfo),N=O(N,x,I,F,null),Xe=_,N;if(typeof I.then==="function")return we=Ln(I._debugInfo),N=U(_,N,x,Vf(I),F),Xe=we,N;if(I.$$typeof===Wa)return U(_,N,x,Hf(N,I),F);Yf(N,I)}return typeof I==="function"&&Gf(N,I),typeof I==="symbol"&&Qf(N,I),null}function X(_,N,x,I){if(typeof x!=="object"||x===null)return I;switch(x.$$typeof){case Lo:case dr:A(_,N,x);var F=x.key;if(typeof F!=="string")break;if(I===null){I=new Set,I.add(F);break}if(!I.has(F)){I.add(F);break}oe(N,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.",F)});break;case ea:x=Jl(x),X(_,N,x,I)}return I}function re(_,N,x,I){for(var F=null,we=null,he=null,ke=N,qe=N=0,zt=null;ke!==null&&qe<x.length;qe++){ke.index>qe?(zt=ke,ke=null):zt=ke.sibling;var yt=D(_,ke,x[qe],I);if(yt===null){ke===null&&(ke=zt);break}F=X(_,yt,x[qe],F),e&&ke&&yt.alternate===null&&t(_,ke),N=i(yt,N,qe),he===null?we=yt:he.sibling=yt,he=yt,ke=zt}if(qe===x.length)return n(_,ke),$e&&hl(_,qe),we;if(ke===null){for(;qe<x.length;qe++)ke=M(_,x[qe],I),ke!==null&&(F=X(_,ke,x[qe],F),N=i(ke,N,qe),he===null?we=ke:he.sibling=ke,he=ke);return $e&&hl(_,qe),we}for(ke=a(ke);qe<x.length;qe++)zt=U(ke,_,qe,x[qe],I),zt!==null&&(F=X(_,zt,x[qe],F),e&&(yt=zt.alternate,yt!==null&&ke.delete(yt.key===null?qe:yt.key)),N=i(zt,N,qe),he===null?we=zt:he.sibling=zt,he=zt);return e&&ke.forEach(function(Bl){return t(_,Bl)}),$e&&hl(_,qe),we}function pe(_,N,x,I){if(x==null)throw Error("An iterable object provided no iterator.");for(var F=null,we=null,he=N,ke=N=0,qe=null,zt=null,yt=x.next();he!==null&&!yt.done;ke++,yt=x.next()){he.index>ke?(qe=he,he=null):qe=he.sibling;var Bl=D(_,he,yt.value,I);if(Bl===null){he===null&&(he=qe);break}zt=X(_,Bl,yt.value,zt),e&&he&&Bl.alternate===null&&t(_,he),N=i(Bl,N,ke),we===null?F=Bl:we.sibling=Bl,we=Bl,he=qe}if(yt.done)return n(_,he),$e&&hl(_,ke),F;if(he===null){for(;!yt.done;ke++,yt=x.next())he=M(_,yt.value,I),he!==null&&(zt=X(_,he,yt.value,zt),N=i(he,N,ke),we===null?F=he:we.sibling=he,we=he);return $e&&hl(_,ke),F}for(he=a(he);!yt.done;ke++,yt=x.next())qe=U(he,_,ke,yt.value,I),qe!==null&&(zt=X(_,qe,yt.value,zt),e&&(yt=qe.alternate,yt!==null&&he.delete(yt.key===null?ke:yt.key)),N=i(qe,N,ke),we===null?F=qe:we.sibling=qe,we=qe);return e&&he.forEach(function(VN){return t(_,VN)}),$e&&hl(_,ke),F}function Le(_,N,x,I){if(typeof x==="object"&&x!==null&&x.type===pr&&x.key===null&&x.props.ref===void 0&&(qf(x,null,_),x=x.props.children),typeof x==="object"&&x!==null){switch(x.$$typeof){case Lo:var F=Ln(x._debugInfo);e:{for(var we=x.key;N!==null;){if(N.key===we){if(we=x.type,we===pr){if(N.tag===7){n(_,N.sibling),I=o(N,x.props.children),Kl(I,x),I.return=_,I._debugOwner=x._owner,I._debugInfo=Xe,qf(x,I,_),_=I;break e}}else if(N.elementType===we||Cv(N,x)||typeof we==="object"&&we!==null&&we.$$typeof===ea&&Jl(we)===N.type){n(_,N.sibling),I=o(N,x.props),Kl(I,x),I.return=_,I._debugOwner=x._owner,I._debugInfo=Xe,_=I;break e}n(_,N);break}else t(_,N);N=N.sibling}x.type===pr?(I=Gi(x.props.children,_.mode,I,x.key),Kl(I,x),I.return=_,I._debugOwner=_,I._debugTask=_._debugTask,I._debugInfo=Xe,qf(x,I,_),_=I):(I=Mf(x,_.mode,I),Kl(I,x),I.return=_,I._debugInfo=Xe,_=I)}return _=u(_),Xe=F,_;case dr:e:{F=x;for(x=F.key;N!==null;){if(N.key===x)if(N.tag===4&&N.stateNode.containerInfo===F.containerInfo&&N.stateNode.implementation===F.implementation){n(_,N.sibling),I=o(N,F.children||[]),I.return=_,_=I;break e}else{n(_,N);break}else t(_,N);N=N.sibling}I=rm(F,_.mode,I),I.return=_,_=I}return u(_);case ea:return F=Ln(x._debugInfo),x=Jl(x),_=Le(_,N,x,I),Xe=F,_}if(Pt(x))return re(_,N,x,I);if(Ye(x)){if(F=x,x=Ye(F),typeof x!=="function")throw Error("An object is not an iterable. This error is likely caused by a bug in React. Please file an issue.");if(we=x.call(F),we===F){if(_.tag!==0||Object.prototype.toString.call(_.type)!=="[object GeneratorFunction]"||Object.prototype.toString.call(we)!=="[object Generator]")Cw||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."),Cw=!0}else F.entries!==x||i0||(console.error("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),i0=!0);return pe(_,N,we,I)}if(typeof x.then==="function")return F=Ln(x._debugInfo),_=Le(_,N,Vf(x),I),Xe=F,_;if(x.$$typeof===Wa)return Le(_,N,Hf(_,x),I);Yf(_,x)}if(typeof x==="string"&&x!==""||typeof x==="number"||typeof x==="bigint")return F=""+x,N!==null&&N.tag===6?(n(_,N.sibling),I=o(N,F),I.return=_,_=I):(n(_,N),I=sm(F,_.mode,I),I.return=_,I._debugOwner=_,I._debugTask=_._debugTask,I._debugInfo=Xe,_=I),u(_);return typeof x==="function"&&Gf(_,x),typeof x==="symbol"&&Qf(_,x),n(_,N)}return function(_,N,x,I){var F=Xe;Xe=null;try{Ru=0;var we=Le(_,N,x,I);return zr=null,we}catch(zt){if(zt===xr||zt===op)throw zt;var he=T(29,zt,null,_.mode);he.lanes=I,he.return=_;var ke=he._debugInfo=Xe;if(he._debugOwner=_._debugOwner,he._debugTask=_._debugTask,ke!=null){for(var qe=ke.length-1;0<=qe;qe--)if(typeof ke[qe].stack==="string"){he._debugOwner=ke[qe],he._debugTask=ke[qe].debugTask;break}}return he}finally{Xe=F}}}function Fv(e,t){var n=Pt(e);return e=!n&&typeof Ye(e)==="function",n||e?(n=n?"array":"iterable",console.error("A nested %s was passed to row #%s in <SuspenseList />. Wrap it in an additional SuspenseList to configure its revealOrder: <SuspenseList revealOrder=...> ... <SuspenseList revealOrder=...>{%s}</SuspenseList> ... </SuspenseList>",n,t,n),!1):!0}function bm(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function vm(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function Zl(e){return{lane:e,tag:Mw,payload:null,callback:null,next:null}}function Pl(e,t,n){var a=e.updateQueue;if(a===null)return null;if(a=a.shared,r0===a&&!Uw){var o=L(e);console.error(`An update (setState, replaceState, or forceUpdate) was scheduled from inside an update function. Update functions should be pure, with zero side-effects. Consider using componentDidUpdate or a callback.
|
|
100
|
+
<%s>%s</%s>`,n,t,n))}function Qf(e,t){var n=ym();n!==null?n.run(Zv.bind(null,e,t)):Zv(e,t)}function Pv(e){function t(_,N){if(e){var x=_.deletions;x===null?(_.deletions=[N],_.flags|=16):x.push(N)}}function n(_,N){if(!e)return null;for(;N!==null;)t(_,N),N=N.sibling;return null}function a(_){for(var N=new Map;_!==null;)_.key===null?N.set(_.index,_):N.set(_.key,_),_=_.sibling;return N}function o(_,N){return _=pl(_,N),_.index=0,_.sibling=null,_}function i(_,N,x){if(_.index=x,!e)return _.flags|=1048576,N;if(x=_.alternate,x!==null)return x=x.index,x<N?(_.flags|=2,N):x;return _.flags|=134217730,N}function u(_){return e&&_.alternate===null&&(_.flags|=134217730),_}function d(_,N,x,I){if(N===null||N.tag!==6)return N=sm(x,_.mode,I),N.return=_,N._debugOwner=_,N._debugTask=_._debugTask,N._debugInfo=Xe,N;return N=o(N,x),N.return=_,N._debugInfo=Xe,N}function h(_,N,x,I){var F=x.type;if(F===pr)return N=O(_,N,x.props.children,I,x.key),Kl(N,x),qf(x,N,_),N;if(N!==null&&(N.elementType===F||Cv(N,x)||typeof F==="object"&&F!==null&&F.$$typeof===ea&&Jl(F)===N.type))return N=o(N,x.props),Kl(N,x),N.return=_,N._debugOwner=x._owner,N._debugInfo=Xe,N;return N=Mf(x,_.mode,I),Kl(N,x),N.return=_,N._debugInfo=Xe,N}function y(_,N,x,I){if(N===null||N.tag!==4||N.stateNode.containerInfo!==x.containerInfo||N.stateNode.implementation!==x.implementation)return N=rm(x,_.mode,I),N.return=_,N._debugInfo=Xe,N;return N=o(N,x.children||[]),N.return=_,N._debugInfo=Xe,N}function O(_,N,x,I,F){if(N===null||N.tag!==7)return N=Gi(x,_.mode,I,F),N.return=_,N._debugOwner=_,N._debugTask=_._debugTask,N._debugInfo=Xe,N;return N=o(N,x),N.return=_,N._debugInfo=Xe,N}function M(_,N,x){if(typeof N==="string"&&N!==""||typeof N==="number"||typeof N==="bigint")return N=sm(""+N,_.mode,x),N.return=_,N._debugOwner=_,N._debugTask=_._debugTask,N._debugInfo=Xe,N;if(typeof N==="object"&&N!==null){switch(N.$$typeof){case Lo:return x=Mf(N,_.mode,x),Kl(x,N),x.return=_,_=Ln(N._debugInfo),x._debugInfo=Xe,Xe=_,x;case dr:return N=rm(N,_.mode,x),N.return=_,N._debugInfo=Xe,N;case ea:var I=Ln(N._debugInfo);return N=Jl(N),_=M(_,N,x),Xe=I,_}if(Pt(N)||Ye(N))return x=Gi(N,_.mode,x,null),x.return=_,x._debugOwner=_,x._debugTask=_._debugTask,_=Ln(N._debugInfo),x._debugInfo=Xe,Xe=_,x;if(typeof N.then==="function")return I=Ln(N._debugInfo),_=M(_,Vf(N),x),Xe=I,_;if(N.$$typeof===Wa)return M(_,Hf(_,N),x);Yf(_,N)}return typeof N==="function"&&Gf(_,N),typeof N==="symbol"&&Qf(_,N),null}function D(_,N,x,I){var F=N!==null?N.key:null;if(typeof x==="string"&&x!==""||typeof x==="number"||typeof x==="bigint")return F!==null?null:d(_,N,""+x,I);if(typeof x==="object"&&x!==null){switch(x.$$typeof){case Lo:return x.key===F?(F=Ln(x._debugInfo),_=h(_,N,x,I),Xe=F,_):null;case dr:return x.key===F?y(_,N,x,I):null;case ea:return F=Ln(x._debugInfo),x=Jl(x),_=D(_,N,x,I),Xe=F,_}if(Pt(x)||Ye(x)){if(F!==null)return null;return F=Ln(x._debugInfo),_=O(_,N,x,I,null),Xe=F,_}if(typeof x.then==="function")return F=Ln(x._debugInfo),_=D(_,N,Vf(x),I),Xe=F,_;if(x.$$typeof===Wa)return D(_,N,Hf(_,x),I);Yf(_,x)}return typeof x==="function"&&Gf(_,x),typeof x==="symbol"&&Qf(_,x),null}function U(_,N,x,I,F){if(typeof I==="string"&&I!==""||typeof I==="number"||typeof I==="bigint")return _=_.get(x)||null,d(N,_,""+I,F);if(typeof I==="object"&&I!==null){switch(I.$$typeof){case Lo:return x=_.get(I.key===null?x:I.key)||null,_=Ln(I._debugInfo),N=h(N,x,I,F),Xe=_,N;case dr:return _=_.get(I.key===null?x:I.key)||null,y(N,_,I,F);case ea:var we=Ln(I._debugInfo);return I=Jl(I),N=U(_,N,x,I,F),Xe=we,N}if(Pt(I)||Ye(I))return x=_.get(x)||null,_=Ln(I._debugInfo),N=O(N,x,I,F,null),Xe=_,N;if(typeof I.then==="function")return we=Ln(I._debugInfo),N=U(_,N,x,Vf(I),F),Xe=we,N;if(I.$$typeof===Wa)return U(_,N,x,Hf(N,I),F);Yf(N,I)}return typeof I==="function"&&Gf(N,I),typeof I==="symbol"&&Qf(N,I),null}function X(_,N,x,I){if(typeof x!=="object"||x===null)return I;switch(x.$$typeof){case Lo:case dr:A(_,N,x);var F=x.key;if(typeof F!=="string")break;if(I===null){I=new Set,I.add(F);break}if(!I.has(F)){I.add(F);break}oe(N,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.",F)});break;case ea:x=Jl(x),X(_,N,x,I)}return I}function re(_,N,x,I){for(var F=null,we=null,he=null,Be=N,qe=N=0,zt=null;Be!==null&&qe<x.length;qe++){Be.index>qe?(zt=Be,Be=null):zt=Be.sibling;var yt=D(_,Be,x[qe],I);if(yt===null){Be===null&&(Be=zt);break}F=X(_,yt,x[qe],F),e&&Be&&yt.alternate===null&&t(_,Be),N=i(yt,N,qe),he===null?we=yt:he.sibling=yt,he=yt,Be=zt}if(qe===x.length)return n(_,Be),$e&&hl(_,qe),we;if(Be===null){for(;qe<x.length;qe++)Be=M(_,x[qe],I),Be!==null&&(F=X(_,Be,x[qe],F),N=i(Be,N,qe),he===null?we=Be:he.sibling=Be,he=Be);return $e&&hl(_,qe),we}for(Be=a(Be);qe<x.length;qe++)zt=U(Be,_,qe,x[qe],I),zt!==null&&(F=X(_,zt,x[qe],F),e&&(yt=zt.alternate,yt!==null&&Be.delete(yt.key===null?qe:yt.key)),N=i(zt,N,qe),he===null?we=zt:he.sibling=zt,he=zt);return e&&Be.forEach(function(kl){return t(_,kl)}),$e&&hl(_,qe),we}function pe(_,N,x,I){if(x==null)throw Error("An iterable object provided no iterator.");for(var F=null,we=null,he=N,Be=N=0,qe=null,zt=null,yt=x.next();he!==null&&!yt.done;Be++,yt=x.next()){he.index>Be?(qe=he,he=null):qe=he.sibling;var kl=D(_,he,yt.value,I);if(kl===null){he===null&&(he=qe);break}zt=X(_,kl,yt.value,zt),e&&he&&kl.alternate===null&&t(_,he),N=i(kl,N,Be),we===null?F=kl:we.sibling=kl,we=kl,he=qe}if(yt.done)return n(_,he),$e&&hl(_,Be),F;if(he===null){for(;!yt.done;Be++,yt=x.next())he=M(_,yt.value,I),he!==null&&(zt=X(_,he,yt.value,zt),N=i(he,N,Be),we===null?F=he:we.sibling=he,we=he);return $e&&hl(_,Be),F}for(he=a(he);!yt.done;Be++,yt=x.next())qe=U(he,_,Be,yt.value,I),qe!==null&&(zt=X(_,qe,yt.value,zt),e&&(yt=qe.alternate,yt!==null&&he.delete(yt.key===null?Be:yt.key)),N=i(qe,N,Be),we===null?F=qe:we.sibling=qe,we=qe);return e&&he.forEach(function(VN){return t(_,VN)}),$e&&hl(_,Be),F}function Le(_,N,x,I){if(typeof x==="object"&&x!==null&&x.type===pr&&x.key===null&&x.props.ref===void 0&&(qf(x,null,_),x=x.props.children),typeof x==="object"&&x!==null){switch(x.$$typeof){case Lo:var F=Ln(x._debugInfo);e:{for(var we=x.key;N!==null;){if(N.key===we){if(we=x.type,we===pr){if(N.tag===7){n(_,N.sibling),I=o(N,x.props.children),Kl(I,x),I.return=_,I._debugOwner=x._owner,I._debugInfo=Xe,qf(x,I,_),_=I;break e}}else if(N.elementType===we||Cv(N,x)||typeof we==="object"&&we!==null&&we.$$typeof===ea&&Jl(we)===N.type){n(_,N.sibling),I=o(N,x.props),Kl(I,x),I.return=_,I._debugOwner=x._owner,I._debugInfo=Xe,_=I;break e}n(_,N);break}else t(_,N);N=N.sibling}x.type===pr?(I=Gi(x.props.children,_.mode,I,x.key),Kl(I,x),I.return=_,I._debugOwner=_,I._debugTask=_._debugTask,I._debugInfo=Xe,qf(x,I,_),_=I):(I=Mf(x,_.mode,I),Kl(I,x),I.return=_,I._debugInfo=Xe,_=I)}return _=u(_),Xe=F,_;case dr:e:{F=x;for(x=F.key;N!==null;){if(N.key===x)if(N.tag===4&&N.stateNode.containerInfo===F.containerInfo&&N.stateNode.implementation===F.implementation){n(_,N.sibling),I=o(N,F.children||[]),I.return=_,_=I;break e}else{n(_,N);break}else t(_,N);N=N.sibling}I=rm(F,_.mode,I),I.return=_,_=I}return u(_);case ea:return F=Ln(x._debugInfo),x=Jl(x),_=Le(_,N,x,I),Xe=F,_}if(Pt(x))return re(_,N,x,I);if(Ye(x)){if(F=x,x=Ye(F),typeof x!=="function")throw Error("An object is not an iterable. This error is likely caused by a bug in React. Please file an issue.");if(we=x.call(F),we===F){if(_.tag!==0||Object.prototype.toString.call(_.type)!=="[object GeneratorFunction]"||Object.prototype.toString.call(we)!=="[object Generator]")Cw||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."),Cw=!0}else F.entries!==x||i0||(console.error("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),i0=!0);return pe(_,N,we,I)}if(typeof x.then==="function")return F=Ln(x._debugInfo),_=Le(_,N,Vf(x),I),Xe=F,_;if(x.$$typeof===Wa)return Le(_,N,Hf(_,x),I);Yf(_,x)}if(typeof x==="string"&&x!==""||typeof x==="number"||typeof x==="bigint")return F=""+x,N!==null&&N.tag===6?(n(_,N.sibling),I=o(N,F),I.return=_,_=I):(n(_,N),I=sm(F,_.mode,I),I.return=_,I._debugOwner=_,I._debugTask=_._debugTask,I._debugInfo=Xe,_=I),u(_);return typeof x==="function"&&Gf(_,x),typeof x==="symbol"&&Qf(_,x),n(_,N)}return function(_,N,x,I){var F=Xe;Xe=null;try{Ru=0;var we=Le(_,N,x,I);return zr=null,we}catch(zt){if(zt===xr||zt===op)throw zt;var he=T(29,zt,null,_.mode);he.lanes=I,he.return=_;var Be=he._debugInfo=Xe;if(he._debugOwner=_._debugOwner,he._debugTask=_._debugTask,Be!=null){for(var qe=Be.length-1;0<=qe;qe--)if(typeof Be[qe].stack==="string"){he._debugOwner=Be[qe],he._debugTask=Be[qe].debugTask;break}}return he}finally{Xe=F}}}function Fv(e,t){var n=Pt(e);return e=!n&&typeof Ye(e)==="function",n||e?(n=n?"array":"iterable",console.error("A nested %s was passed to row #%s in <SuspenseList />. Wrap it in an additional SuspenseList to configure its revealOrder: <SuspenseList revealOrder=...> ... <SuspenseList revealOrder=...>{%s}</SuspenseList> ... </SuspenseList>",n,t,n),!1):!0}function bm(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function vm(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function Zl(e){return{lane:e,tag:Mw,payload:null,callback:null,next:null}}function Pl(e,t,n){var a=e.updateQueue;if(a===null)return null;if(a=a.shared,r0===a&&!Uw){var o=L(e);console.error(`An update (setState, replaceState, or forceUpdate) was scheduled from inside an update function. Update functions should be pure, with zero side-effects. Consider using componentDidUpdate or a callback.
|
|
101
101
|
|
|
102
|
-
Please update the following component: %s`,o),Uw=!0}if((We&Wt)!==fn)return o=a.pending,o===null?t.next=t:(t.next=o.next,o.next=t),a.pending=t,t=Df(e),Av(e,null,n),t;return Nf(e,a,t,n),Df(e)}function Nc(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194048)!==0)){var a=t.lanes;a&=e.pendingLanes,n|=a,t.lanes=n,ue(e,n)}}function Xf(e,t){var n=e.updateQueue,a=e.alternate;if(a!==null&&(a=a.updateQueue,n===a)){var o=null,i=null;if(n=n.firstBaseUpdate,n!==null){do{var u={lane:n.lane,tag:n.tag,payload:n.payload,callback:null,next:null};i===null?o=i=u:i=i.next=u,n=n.next}while(n!==null);i===null?o=i=t:i=i.next=t}else o=i=t;n={baseState:a.baseState,firstBaseUpdate:o,lastBaseUpdate:i,shared:a.shared,callbacks:a.callbacks},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function Dc(){if(c0){var e=Mr;if(e!==null)throw e}}function Mc(e,t,n,a){c0=!1;var o=e.updateQueue;vi=!1,r0=o.shared;var{firstBaseUpdate:i,lastBaseUpdate:u}=o,d=o.shared.pending;if(d!==null){o.shared.pending=null;var h=d,y=h.next;h.next=null,u===null?i=y:u.next=y,u=h;var O=e.alternate;O!==null&&(O=O.updateQueue,d=O.lastBaseUpdate,d!==u&&(d===null?O.firstBaseUpdate=y:d.next=y,O.lastBaseUpdate=h))}if(i!==null){var M=o.baseState;u=0,O=y=h=null,d=i;do{var D=d.lane&-536870913,U=D!==d.lane;if(U?(Ue&D)===D:(a&D)===D){D!==0&&D===bi&&(c0=!0),O!==null&&(O=O.next={lane:0,tag:d.tag,payload:d.payload,callback:null,next:null});e:{D=e;var X=d,re=t,pe=n;switch(X.tag){case xw:if(X=X.payload,typeof X==="function"){Nr=!0;var Le=X.call(pe,M,re);if(D.mode&Nn){At(!0);try{X.call(pe,M,re)}finally{At(!1)}}Nr=!1,M=Le;break e}M=X;break e;case s0:D.flags=D.flags&-65537|128;case Mw:if(Le=X.payload,typeof Le==="function"){if(Nr=!0,X=Le.call(pe,M,re),D.mode&Nn){At(!0);try{Le.call(pe,M,re)}finally{At(!1)}}Nr=!1}else X=Le;if(X===null||X===void 0)break e;M=He({},M,X);break e;case zw:vi=!0}}D=d.callback,D!==null&&(e.flags|=64,U&&(e.flags|=8192),U=o.callbacks,U===null?o.callbacks=[D]:U.push(D))}else U={lane:D,tag:d.tag,payload:d.payload,callback:d.callback,next:null},O===null?(y=O=U,h=M):O=O.next=U,u|=D;if(d=d.next,d===null)if(d=o.shared.pending,d===null)break;else U=d,d=U.next,U.next=null,o.lastBaseUpdate=U,o.shared.pending=null}while(1);O===null&&(h=M),o.baseState=h,o.firstBaseUpdate=y,o.lastBaseUpdate=O,i===null&&(o.shared.lanes=0),Ti|=u,e.lanes=u,e.memoizedState=M}r0=null}function Wv(e,t){if(typeof e!=="function")throw Error("Invalid argument passed as callback. Expected a function. Instead received: "+e);e.call(t)}function iC(e,t){var n=e.shared.hiddenCallbacks;if(n!==null)for(e.shared.hiddenCallbacks=null,e=0;e<n.length;e++)Wv(n[e],t)}function e1(e,t){var n=e.callbacks;if(n!==null)for(e.callbacks=null,e=0;e<n.length;e++)Wv(n[e],t)}function t1(e,t){var n=Zo;q(sp,n,e),q(Si,t,e),Zo=n|t.baseLanes}function Sm(e){q(sp,Zo,e),q(Si,Si.current,e)}function Em(e){Zo=sp.current,Se(Si,e),Se(sp,e)}function Fl(e){var t=e.alternate;q(Sn,Sn.current&Ur,e),q(vn,e,e),Dn===null&&(t===null||Si.current!==null?Dn=e:t.memoizedState!==null&&(Dn=e))}function Tm(e){q(Sn,Sn.current,e),q(vn,e,e),Dn===null&&(Dn=e)}function n1(e){e.tag===22?(q(Sn,Sn.current,e),q(vn,e,e),Dn===null&&(Dn=e)):Wl(e)}function Wl(e){q(Sn,Sn.current,e),q(vn,vn.current,e)}function ya(e){Se(vn,e),Dn===e&&(Dn=null),Se(Sn,e)}function xc(e,t){q(vn,vn.current,e),q(Sn,t,e)}function wm(e){Se(Sn,e),Se(vn,e),Dn===e&&(Dn=null)}function Jf(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||Fg(n)||Wg(n)))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!=="independent"){if((t.flags&128)!==0)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}function Ge(){var e=j;Va===null?Va=[e]:Va.push(e)}function K(){var e=j;if(Va!==null&&(Dl++,Va[Dl]!==e)){var t=L(De);if(!
|
|
102
|
+
Please update the following component: %s`,o),Uw=!0}if((We&Wt)!==fn)return o=a.pending,o===null?t.next=t:(t.next=o.next,o.next=t),a.pending=t,t=Df(e),Av(e,null,n),t;return Nf(e,a,t,n),Df(e)}function Nc(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194048)!==0)){var a=t.lanes;a&=e.pendingLanes,n|=a,t.lanes=n,ue(e,n)}}function Xf(e,t){var n=e.updateQueue,a=e.alternate;if(a!==null&&(a=a.updateQueue,n===a)){var o=null,i=null;if(n=n.firstBaseUpdate,n!==null){do{var u={lane:n.lane,tag:n.tag,payload:n.payload,callback:null,next:null};i===null?o=i=u:i=i.next=u,n=n.next}while(n!==null);i===null?o=i=t:i=i.next=t}else o=i=t;n={baseState:a.baseState,firstBaseUpdate:o,lastBaseUpdate:i,shared:a.shared,callbacks:a.callbacks},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function Dc(){if(c0){var e=Mr;if(e!==null)throw e}}function Mc(e,t,n,a){c0=!1;var o=e.updateQueue;vi=!1,r0=o.shared;var{firstBaseUpdate:i,lastBaseUpdate:u}=o,d=o.shared.pending;if(d!==null){o.shared.pending=null;var h=d,y=h.next;h.next=null,u===null?i=y:u.next=y,u=h;var O=e.alternate;O!==null&&(O=O.updateQueue,d=O.lastBaseUpdate,d!==u&&(d===null?O.firstBaseUpdate=y:d.next=y,O.lastBaseUpdate=h))}if(i!==null){var M=o.baseState;u=0,O=y=h=null,d=i;do{var D=d.lane&-536870913,U=D!==d.lane;if(U?(Ue&D)===D:(a&D)===D){D!==0&&D===bi&&(c0=!0),O!==null&&(O=O.next={lane:0,tag:d.tag,payload:d.payload,callback:null,next:null});e:{D=e;var X=d,re=t,pe=n;switch(X.tag){case xw:if(X=X.payload,typeof X==="function"){Nr=!0;var Le=X.call(pe,M,re);if(D.mode&Nn){At(!0);try{X.call(pe,M,re)}finally{At(!1)}}Nr=!1,M=Le;break e}M=X;break e;case s0:D.flags=D.flags&-65537|128;case Mw:if(Le=X.payload,typeof Le==="function"){if(Nr=!0,X=Le.call(pe,M,re),D.mode&Nn){At(!0);try{Le.call(pe,M,re)}finally{At(!1)}}Nr=!1}else X=Le;if(X===null||X===void 0)break e;M=He({},M,X);break e;case zw:vi=!0}}D=d.callback,D!==null&&(e.flags|=64,U&&(e.flags|=8192),U=o.callbacks,U===null?o.callbacks=[D]:U.push(D))}else U={lane:D,tag:d.tag,payload:d.payload,callback:d.callback,next:null},O===null?(y=O=U,h=M):O=O.next=U,u|=D;if(d=d.next,d===null)if(d=o.shared.pending,d===null)break;else U=d,d=U.next,U.next=null,o.lastBaseUpdate=U,o.shared.pending=null}while(1);O===null&&(h=M),o.baseState=h,o.firstBaseUpdate=y,o.lastBaseUpdate=O,i===null&&(o.shared.lanes=0),Ti|=u,e.lanes=u,e.memoizedState=M}r0=null}function Wv(e,t){if(typeof e!=="function")throw Error("Invalid argument passed as callback. Expected a function. Instead received: "+e);e.call(t)}function iC(e,t){var n=e.shared.hiddenCallbacks;if(n!==null)for(e.shared.hiddenCallbacks=null,e=0;e<n.length;e++)Wv(n[e],t)}function e1(e,t){var n=e.callbacks;if(n!==null)for(e.callbacks=null,e=0;e<n.length;e++)Wv(n[e],t)}function t1(e,t){var n=Zo;q(sp,n,e),q(Si,t,e),Zo=n|t.baseLanes}function Sm(e){q(sp,Zo,e),q(Si,Si.current,e)}function Em(e){Zo=sp.current,Se(Si,e),Se(sp,e)}function Fl(e){var t=e.alternate;q(Sn,Sn.current&Ur,e),q(vn,e,e),Dn===null&&(t===null||Si.current!==null?Dn=e:t.memoizedState!==null&&(Dn=e))}function Tm(e){q(Sn,Sn.current,e),q(vn,e,e),Dn===null&&(Dn=e)}function n1(e){e.tag===22?(q(Sn,Sn.current,e),q(vn,e,e),Dn===null&&(Dn=e)):Wl(e)}function Wl(e){q(Sn,Sn.current,e),q(vn,vn.current,e)}function ya(e){Se(vn,e),Dn===e&&(Dn=null),Se(Sn,e)}function xc(e,t){q(vn,vn.current,e),q(Sn,t,e)}function wm(e){Se(Sn,e),Se(vn,e),Dn===e&&(Dn=null)}function Jf(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||Fg(n)||Wg(n)))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!=="independent"){if((t.flags&128)!==0)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}function Ge(){var e=j;Va===null?Va=[e]:Va.push(e)}function K(){var e=j;if(Va!==null&&(Dl++,Va[Dl]!==e)){var t=L(De);if(!kw.has(t)&&(kw.add(t),Va!==null)){for(var n="",a=0;a<=Dl;a++){var o=Va[a],i=a===Dl?e:o;for(o=a+1+". "+o;30>o.length;)o+=" ";o+=i+`
|
|
103
103
|
`,n+=o}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
104
|
|
|
105
105
|
Previous render Next render
|
|
@@ -112,7 +112,7 @@ Please update the following component: %s`,o),Uw=!0}if((We&Wt)!==fn)return o=a.p
|
|
|
112
112
|
See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`)}function Om(e,t){if(Mu)return!1;if(t===null)return console.error("%s received a final argument during this render, but not during the previous render. Even though the final argument is optional, its type cannot change between renders.",j),!1;e.length!==t.length&&console.error(`The final argument passed to %s changed size between renders. The order and size of this array must remain constant.
|
|
113
113
|
|
|
114
114
|
Previous: %s
|
|
115
|
-
Incoming: %s`,j,"["+t.join(", ")+"]","["+e.join(", ")+"]");for(var n=0;n<t.length&&n<e.length;n++)if(!Gn(e[n],t[n]))return!1;return!0}function Am(e,t,n,a,o,i){if(Nl=i,De=t,Va=e!==null?e._debugHookTypes:null,Dl=-1,Mu=e!==null&&e.type!==t.type,Object.prototype.toString.call(n)==="[object AsyncFunction]"||Object.prototype.toString.call(n)==="[object AsyncGeneratorFunction]")i=L(De),u0.has(i)||(u0.add(i),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.",i===null?"An unknown Component":"<"+i+">"));t.memoizedState=null,t.updateQueue=null,t.lanes=0,V.H=e!==null&&e.memoizedState!==null?d0:Va!==null?Hw:f0,ms=i=(t.mode&Nn)!==_e;var u=n0(n,a,o);if(ms=!1,kr&&(u=Cm(t,n,a,o)),i){At(!0);try{u=Cm(t,n,a,o)}finally{At(!1)}}return a1(e,t),u}function a1(e,t){t._debugHookTypes=Va,t.dependencies===null?Go!==null&&(t.dependencies={lanes:0,firstContext:null,_debugThenableState:Go}):t.dependencies._debugThenableState=Go;var n=Go;if(ds!==null&&Xv(ds,t)&&(n!==null||ip===null||l0||(l0=!0,console.error(ip)),ip=ds=null),V.H=up,n=St!==null&&St.next!==null,Nl=0,Va=j=Xt=St=De=null,Dl=-1,e!==null&&(e.flags&1206910976)!==(t.flags&1206910976)&&console.error("Internal React error: Expected static flag was missing. Please notify the React team."),rp=!1,Du=0,Go=null,n)throw Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");e===null||Gt||(e=e.dependencies,e!==null&&Lf(e)&&(Gt=!0)),Cu?(Cu=!1,e=!0):e=!1,e&&(t=L(t)||"Unknown",kw.has(t)||u0.has(t)||(kw.add(t),console.error("`use` was called from inside a try/catch block. This is not allowed and can lead to unexpected behavior. To handle errors triggered by `use`, wrap your component in a error boundary.")))}function Cm(e,t,n,a){De=e;var o=0;do{if(kr&&(Go=null),Du=0,kr=!1,o>=SN)throw Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");if(o+=1,Mu=!1,Xt=St=null,e.updateQueue!=null){var i=e.updateQueue;i.lastEffect=null,i.events=null,i.stores=null,i.memoCache!=null&&(i.memoCache.index=0)}Dl=-1,V.H=jw,i=n0(t,n,a)}while(kr);return i}function sC(){var e=V.H,t=e.useState()[0];return t=typeof t.then==="function"?zc(t):t,e=e.useState()[0],(St!==null?St.memoizedState:null)!==e&&(De.flags|=1024),t}function Rm(){var e=cp!==0;return cp=0,e}function _m(e,t,n){t.updateQueue=e.updateQueue,t.flags=(t.mode&to)!==_e?t.flags&-805308421:t.flags&-2053,e.lanes&=~n}function Nm(e){if(rp){for(e=e.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}rp=!1}Nl=0,Va=Xt=St=De=null,Dl=-1,j=null,kr=!1,Du=cp=0,Go=null}function Hn(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Xt===null?De.memoizedState=Xt=e:Xt=Xt.next=e,Xt}function pt(){if(St===null){var e=De.alternate;e=e!==null?e.memoizedState:null}else e=St.next;var t=Xt===null?De.memoizedState:Xt.next;if(t!==null)Xt=t,St=e;else{if(e===null){if(De.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.")}St=e,e={memoizedState:St.memoizedState,baseState:St.baseState,baseQueue:St.baseQueue,queue:St.queue,next:null},Xt===null?De.memoizedState=Xt=e:Xt=Xt.next=e}return Xt}function Zf(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function zc(e){var t=Du;return Du+=1,Go===null&&(Go=qv()),e=Yv(Go,e,t,De),t=De,(Xt===null?t.memoizedState:Xt.next)===null&&(t=t.alternate,V.H=t!==null&&t.memoizedState!==null?d0:f0),e}function ei(e){if(e!==null&&typeof e==="object"){if(typeof e.then==="function")return zc(e);if(e.$$typeof===KR)return;if(e.$$typeof===Wa)return _t(e)}throw Error("An unsupported type was passed to use(): "+String(e))}function Pi(e){var t=null,n=De.updateQueue;if(n!==null&&(t=n.memoCache),t==null){var a=De.alternate;a!==null&&(a=a.updateQueue,a!==null&&(a=a.memoCache,a!=null&&(t={data:a.data.map(function(o){return o.slice()}),index:0})))}if(t==null&&(t={data:[],index:0}),n===null&&(n=Zf(),De.updateQueue=n),n.memoCache=t,n=t.data[t.index],n===void 0||Mu)for(n=t.data[t.index]=Array(e),a=0;a<e;a++)n[a]=JR;else n.length!==e&&console.error("Expected a constant size argument for each invocation of useMemoCache. The previous cache was allocated with size %s but size %s was requested.",n.length,e);return t.index++,n}function Za(e,t){return typeof t==="function"?t(e):t}function Dm(e,t,n){var a=Hn();if(n!==void 0){var o=n(t);if(ms){At(!0);try{n(t)}finally{At(!1)}}}else o=t;return a.memoizedState=a.baseState=o,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:o},a.queue=e,e=e.dispatch=dC.bind(null,De,e),[a.memoizedState,e]}function Ks(e){var t=pt();return Mm(t,St,e)}function Mm(e,t,n){var a=e.queue;if(a===null)throw Error("Should have a queue. You are likely calling Hooks conditionally, which is not allowed. (https://react.dev/link/invalid-hook-call)");a.lastRenderedReducer=n;var o=e.baseQueue,i=a.pending;if(i!==null){if(o!==null){var u=o.next;o.next=i.next,i.next=u}t.baseQueue!==o&&console.error("Internal error: Expected work-in-progress queue to be a clone. This is a bug in React."),t.baseQueue=o=i,a.pending=null}if(i=e.baseState,o===null)e.memoizedState=i;else{t=o.next;var d=u=null,h=null,y=t,O=!1;do{var M=y.lane&-536870913;if(M!==y.lane?(Ue&M)===M:(Nl&M)===M){var D=y.revertLane;if(D===0)h!==null&&(h=h.next={lane:0,revertLane:0,gesture:null,action:y.action,hasEagerState:y.hasEagerState,eagerState:y.eagerState,next:null}),M===bi&&(O=!0);else if((Nl&D)===D){y=y.next,D===bi&&(O=!0);continue}else M={lane:0,revertLane:y.revertLane,gesture:null,action:y.action,hasEagerState:y.hasEagerState,eagerState:y.eagerState,next:null},h===null?(d=h=M,u=i):h=h.next=M,De.lanes|=D,Ti|=D;M=y.action,ms&&n(i,M),i=y.hasEagerState?y.eagerState:n(i,M)}else D={lane:M,revertLane:y.revertLane,gesture:y.gesture,action:y.action,hasEagerState:y.hasEagerState,eagerState:y.eagerState,next:null},h===null?(d=h=D,u=i):h=h.next=D,De.lanes|=M,Ti|=M;y=y.next}while(y!==null&&y!==t);if(h===null?u=i:h.next=d,!Gn(i,e.memoizedState)&&(Gt=!0,O&&(n=Mr,n!==null)))throw n;e.memoizedState=i,e.baseState=u,e.baseQueue=h,a.lastRenderedState=i}return o===null&&(a.lanes=0),[e.memoizedState,a.dispatch]}function Uc(e){var t=pt(),n=t.queue;if(n===null)throw Error("Should have a queue. You are likely calling Hooks conditionally, which is not allowed. (https://react.dev/link/invalid-hook-call)");n.lastRenderedReducer=e;var{dispatch:a,pending:o}=n,i=t.memoizedState;if(o!==null){n.pending=null;var u=o=o.next;do i=e(i,u.action),u=u.next;while(u!==o);Gn(i,t.memoizedState)||(Gt=!0),t.memoizedState=i,t.baseQueue===null&&(t.baseState=i),n.lastRenderedState=i}return[i,a]}function xm(e,t,n){var a=De,o=Hn();if($e){if(n===void 0)throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");var i=n();Br||i===n()||(console.error("The result of getServerSnapshot should be cached to avoid an infinite loop"),Br=!0)}else{if(i=t(),Br||(n=t(),Gn(i,n)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),Br=!0)),Et===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");(Ue&127)!==0||o1(a,t,i)}return o.memoizedState=i,n={value:i,getSnapshot:t},o.queue=n,ed(i1.bind(null,a,n,e),[e]),a.flags|=2048,Ps(qa|Mn,{destroy:void 0},l1.bind(null,a,n,i,t),null),i}function Pf(e,t,n){var a=De,o=pt(),i=$e;if(i){if(n===void 0)throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");n=n()}else if(n=t(),!Br){var u=t();Gn(n,u)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),Br=!0)}if(u=!Gn((St||o).memoizedState,n))o.memoizedState=n,Gt=!0;o=o.queue;var d=i1.bind(null,a,o,e);if(Wn(2048,Mn,d,[e]),e=o.getSnapshot!==t||u||Xt!==null&&(Xt.memoizedState.tag&qa)!==Nu,Ps(e?qa|Mn:Mn,{destroy:void 0},l1.bind(null,a,o,n,t),null),e){if(a.flags|=2048,Et===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");i||(Nl&127)!==0||o1(a,t,n)}return n}function o1(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=De.updateQueue,t===null?(t=Zf(),De.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function l1(e,t,n,a){t.value=n,t.getSnapshot=a,s1(t)&&r1(e)}function i1(e,t,n){return n(function(){s1(t)&&(Ao(2,"updateSyncExternalStore()",e),r1(e))})}function s1(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!Gn(e,n)}catch(a){return!0}}function r1(e){var t=Rn(e,2);t!==null&&Ut(t,e,2)}function zm(e){var t=Hn();if(typeof e==="function"){var n=e;if(e=n(),ms){At(!0);try{n()}finally{At(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Za,lastRenderedState:e},t}function Um(e){e=zm(e);var t=e.queue,n=R1.bind(null,De,t);return t.dispatch=n,[e.memoizedState,n]}function Bm(e){var t=Hn();t.memoizedState=t.baseState=e;var n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=n,t=Km.bind(null,De,!0,n),n.dispatch=t,[e,t]}function c1(e,t){var n=pt();return u1(n,St,e,t)}function u1(e,t,n,a){return e.baseState=n,Mm(e,St,typeof a==="function"?a:Za)}function f1(e,t){var n=pt();if(St!==null)return u1(n,St,e,t);return n.baseState=e,[e,n.queue.dispatch]}function rC(e,t,n,a,o){if(id(e))throw Error("Cannot update action state while rendering.");if(e=t.action,e!==null){var i={payload:o,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(u){i.listeners.push(u)}};V.T!==null?n(!0):i.isTransition=!1,a(i),n=t.pending,n===null?(i.next=t.pending=i,d1(t,i)):(i.next=n.next,t.pending=n.next=i)}}function d1(e,t){var{action:n,payload:a}=t,o=e.state;if(t.isTransition){var i=V.T,u={};u.types=i!==null?i.types:null,u._updatedFibers=new Set,V.T=u;try{var d=n(o,a),h=V.S;h!==null&&h(u,d),p1(e,t,d)}catch(y){km(e,t,y)}finally{i!==null&&u.types!==null&&(i.types!==null&&i.types!==u.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."),i.types=u.types),V.T=i,i===null&&u._updatedFibers&&(e=u._updatedFibers.size,u._updatedFibers.clear(),10<e&&console.warn("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."))}}else try{u=n(o,a),p1(e,t,u)}catch(y){km(e,t,y)}}function p1(e,t,n){n!==null&&typeof n==="object"&&typeof n.then==="function"?(V.asyncTransitions++,n.then(ld,ld),n.then(function(a){h1(e,t,a)},function(a){return km(e,t,a)}),t.isTransition||console.error("An async function with useActionState was called outside of a transition. This is likely not what you intended (for example, isPending will not update correctly). Either call the returned function inside startTransition, or pass it to an `action` or `formAction` prop.")):h1(e,t,n)}function h1(e,t,n){t.status="fulfilled",t.value=n,m1(t),e.state=n,t=e.pending,t!==null&&(n=t.next,n===t?e.pending=null:(n=n.next,t.next=n,d1(e,n)))}function km(e,t,n){var a=e.pending;if(e.pending=null,a!==null){a=a.next;do t.status="rejected",t.reason=n,m1(t),t=t.next;while(t!==a)}e.action=null}function m1(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function g1(e,t){return t}function Zs(e,t){if($e){var n=Et.formState;if(n!==null){e:{var a=De;if($e){if(Ct){t:{var o=Ct;for(var i=$a;o.nodeType!==8;){if(!i){o=null;break t}if(o=Sa(o.nextSibling),o===null){o=null;break t}}i=o.data,o=i===L0||i===wO?o:null}if(o){Ct=Sa(o.nextSibling),a=o.data===L0;break e}}Ql(a)}a=!1}a&&(t=n[0])}}return n=Hn(),n.memoizedState=n.baseState=t,a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:g1,lastRenderedState:t},n.queue=a,n=R1.bind(null,De,a),a.dispatch=n,a=zm(!1),i=Km.bind(null,De,!1,a.queue),a=Hn(),o={state:t,dispatch:null,action:e,pending:null},a.queue=o,n=rC.bind(null,De,o,i,n),o.dispatch=n,a.memoizedState=e,[t,n,!1]}function Ff(e){var t=pt();return y1(t,St,e)}function y1(e,t,n){if(t=Mm(e,t,g1)[0],e=Ks(Za)[0],typeof t==="object"&&t!==null&&typeof t.then==="function")try{var a=zc(t)}catch(u){if(u===xr)throw op;throw u}else a=t;t=pt();var o=t.queue,i=o.dispatch;return n!==t.memoizedState&&(De.flags|=2048,Ps(qa|Mn,{destroy:void 0},cC.bind(null,o,n),null)),[a,i,e]}function cC(e,t){e.action=t}function Wf(e){var t=pt(),n=St;if(n!==null)return y1(t,n,e);pt(),t=t.memoizedState,n=pt();var a=n.queue.dispatch;return n.memoizedState=e,[t,a,!1]}function Ps(e,t,n,a){return e={tag:e,create:n,deps:a,inst:t,next:null},t=De.updateQueue,t===null&&(t=Zf(),De.updateQueue=t),n=t.lastEffect,n===null?t.lastEffect=e.next=e:(a=n.next,n.next=e,e.next=a,t.lastEffect=e),e}function Lm(e){var t=Hn();return e={current:e},t.memoizedState=e}function Fi(e,t,n,a){var o=Hn();De.flags|=e,o.memoizedState=Ps(qa|t,{destroy:void 0},n,a===void 0?null:a)}function Wn(e,t,n,a){var o=pt();a=a===void 0?null:a;var i=o.memoizedState.inst;St!==null&&a!==null&&Om(a,St.memoizedState.deps)?o.memoizedState=Ps(t,i,n,a):(De.flags|=e,o.memoizedState=Ps(qa|t,i,n,a))}function ed(e,t){(De.mode&to)!==_e?Fi(545261568,Mn,e,t):Fi(8390656,Mn,e,t)}function uC(e){De.flags|=4;var t=De.updateQueue;if(t===null)t=Zf(),De.updateQueue=t,t.events=[e];else{var n=t.events;n===null?t.events=[e]:n.push(e)}}function Hm(e){var t=Hn(),n={impl:e};return t.memoizedState=n,function(){if((We&Wt)!==fn)throw Error("A function wrapped in useEffectEvent can't be called during rendering.");return n.impl.apply(void 0,arguments)}}function td(e){var t=pt().memoizedState;return uC({ref:t,nextImpl:e}),function(){if((We&Wt)!==fn)throw Error("A function wrapped in useEffectEvent can't be called during rendering.");return t.impl.apply(void 0,arguments)}}function jm(e,t){var n=4194308;return(De.mode&to)!==_e&&(n|=268435456),Fi(n,wa,e,t)}function b1(e,t){if(typeof t==="function"){e=e();var n=t(e);return function(){typeof n==="function"?n():t(null)}}if(t!==null&&t!==void 0)return t.hasOwnProperty("current")||console.error("Expected useImperativeHandle() first argument to either be a ref callback or React.createRef() object. Instead received: %s.","an object with keys {"+Object.keys(t).join(", ")+"}"),e=e(),t.current=e,function(){t.current=null}}function $m(e,t,n){typeof t!=="function"&&console.error("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",t!==null?typeof t:"null"),n=n!==null&&n!==void 0?n.concat([e]):null;var a=4194308;(De.mode&to)!==_e&&(a|=268435456),Fi(a,wa,b1.bind(null,t,e),n)}function nd(e,t,n){typeof t!=="function"&&console.error("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",t!==null?typeof t:"null"),n=n!==null&&n!==void 0?n.concat([e]):null,Wn(4,wa,b1.bind(null,t,e),n)}function Im(e,t){return Hn().memoizedState=[e,t===void 0?null:t],e}function ad(e,t){var n=pt();t=t===void 0?null:t;var a=n.memoizedState;if(t!==null&&Om(t,a[1]))return a[0];return n.memoizedState=[e,t],e}function qm(e,t){var n=Hn();t=t===void 0?null:t;var a=e();if(ms){At(!0);try{e()}finally{At(!1)}}return n.memoizedState=[a,t],a}function od(e,t){var n=pt();t=t===void 0?null:t;var a=n.memoizedState;if(t!==null&&Om(t,a[1]))return a[0];if(a=e(),ms){At(!0);try{e()}finally{At(!1)}}return n.memoizedState=[a,t],a}function Vm(e,t){var n=Hn();return Ym(n,e,t)}function v1(e,t){var n=pt();return E1(n,St.memoizedState,e,t)}function S1(e,t){var n=pt();return St===null?Ym(n,e,t):E1(n,St.memoizedState,e,t)}function Ym(e,t,n){if(n===void 0||(Nl&1073741824)!==0&&(Ue&261930)===0)return e.memoizedState=t;return e.memoizedState=n,e=zS(),De.lanes|=e,Ti|=e,n}function E1(e,t,n,a){if(Gn(n,t))return n;if(Si.current!==null)return e=Ym(e,n,a),Gn(e,t)||(Gt=!0),e;if((Nl&106)===0||(Nl&1073741824)!==0&&(Ue&261930)===0)return Gt=!0,e.memoizedState=n;return e=zS(),De.lanes|=e,Ti|=e,t}function ld(){V.asyncTransitions--}function T1(e,t,n,a,o){var i=ut.p;ut.p=i!==0&&i<eo?i:eo;var u=V.T,d={};d.types=u!==null?u.types:null,d._updatedFibers=new Set,V.T=d,Km(e,!1,t,n);try{var h=o(),y=V.S;if(y!==null&&y(d,h),h!==null&&typeof h==="object"&&typeof h.then==="function"){V.asyncTransitions++,h.then(ld,ld);var O=lC(h,a);Bc(e,t,O,ba(e))}else Bc(e,t,a,ba(e))}catch(M){Bc(e,t,{then:function(){},status:"rejected",reason:M},ba(e))}finally{ut.p=i,u!==null&&d.types!==null&&(u.types!==null&&u.types!==d.types&&console.error("We expected inner Transitions to have transferred the outer types set and that you cannot add to the outer Transition while inside the inner.This is a bug in React."),u.types=d.types),V.T=u,u===null&&d._updatedFibers&&(e=d._updatedFibers.size,d._updatedFibers.clear(),10<e&&console.warn("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."))}}function Gm(e,t,n,a){if(e.tag!==5)throw Error("Expected the form instance to be a HostComponent. This is a bug in React.");var o=w1(e).queue;aC(e),T1(e,o,t,_s,n===null?S:function(){return O1(e),n(a)})}function w1(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:_s,baseState:_s,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Za,lastRenderedState:_s},next:null};var n={};return t.next={memoizedState:n,baseState:n,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Za,lastRenderedState:n},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function O1(e){V.T===null&&console.error("requestFormReset was called outside a transition or action. To fix, move to an action, or wrap with startTransition.");var t=w1(e);t.next===null&&(t=e.alternate.memoizedState),Bc(e,t.next.queue,{},ba(e))}function Qm(){var e=zm(!1);return e=T1.bind(null,De,e.queue,!0,!1),Hn().memoizedState=e,[!1,e]}function A1(){var e=Ks(Za)[0],t=pt().memoizedState;return[typeof e==="boolean"?e:zc(e),t]}function C1(){var e=Uc(Za)[0],t=pt().memoizedState;return[typeof e==="boolean"?e:zc(e),t]}function Wi(){return _t(Pr)}function Xm(){var e=Hn(),t=Et.identifierPrefix;if($e){var n=Al,a=Ol;n=(a&~(1<<32-In(a)-1)).toString(32)+n,t="_"+t+"R_"+n,n=cp++,0<n&&(t+="H"+n.toString(32)),t+="_"}else n=vN++,t="_"+t+"r_"+n.toString(32)+"_";return e.memoizedState=t}function Jm(){return Hn().memoizedState=fC.bind(null,De)}function fC(e,t){for(var n=e.return;n!==null;){switch(n.tag){case 24:case 3:var a=ba(n),o=Zl(a),i=Pl(n,o,a);i!==null&&(Ao(a,"refresh()",e),Ut(i,n,a),Nc(i,n,a)),e=pm(),t!==null&&t!==void 0&&i!==null&&console.error("The seed argument is not enabled outside experimental channels."),o.payload={cache:e};return}n=n.return}}function dC(e,t,n){var a=arguments;typeof a[3]==="function"&&console.error("State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect()."),a=ba(e);var o={lane:a,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null};id(e)?_1(t,o):(o=om(e,t,o,a),o!==null&&(Ao(a,"dispatch()",e),Ut(o,e,a),N1(o,t,a)))}function R1(e,t,n){var a=arguments;typeof a[3]==="function"&&console.error("State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect()."),a=ba(e),Bc(e,t,n,a)&&Ao(a,"setState()",e)}function Bc(e,t,n,a){var o={lane:a,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null};if(id(e))_1(t,o);else{var i=e.alternate;if(e.lanes===0&&(i===null||i.lanes===0)&&(i=t.lastRenderedReducer,i!==null)){var u=V.H;V.H=lo;try{var d=t.lastRenderedState,h=i(d,n);if(o.hasEagerState=!0,o.eagerState=h,Gn(h,d))return Nf(e,t,o,0),Et===null&&_f(),!1}catch(y){}finally{V.H=u}}if(n=om(e,t,o,a),n!==null)return Ut(n,e,a),N1(n,t,a),!0}return!1}function Km(e,t,n,a){if(V.T===null&&bi===0&&console.error("An optimistic state update occurred outside a transition or action. To fix, move the update to an action, or wrap with startTransition."),a={lane:2,revertLane:jg(),gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null},id(e)){if(t)throw Error("Cannot update optimistic state while rendering.");console.error("Cannot call startTransition while rendering.")}else t=om(e,n,a,2),t!==null&&(Ao(2,"setOptimistic()",e),Ut(t,e,2))}function id(e){var t=e.alternate;return e===De||t!==null&&t===De}function _1(e,t){kr=rp=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function N1(e,t,n){if((n&4194048)!==0){var a=t.lanes;a&=e.pendingLanes,n|=a,t.lanes=n,ue(e,n)}}function Zm(e){if(e!==null&&typeof e!=="function"){var t=String(e);Zw.has(t)||(Zw.add(t),console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",e))}}function Pm(e,t,n,a){var o=e.memoizedState,i=n(a,o);if(e.mode&Nn){At(!0);try{i=n(a,o)}finally{At(!1)}}i===void 0&&(t=Ce(t)||"Component",Qw.has(t)||(Qw.add(t),console.error("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",t))),o=i===null||i===void 0?o:He({},o,i),e.memoizedState=o,e.lanes===0&&(e.updateQueue.baseState=o)}function D1(e,t,n,a,o,i,u){var d=e.stateNode;if(typeof d.shouldComponentUpdate==="function"){if(n=d.shouldComponentUpdate(a,i,u),e.mode&Nn){At(!0);try{n=d.shouldComponentUpdate(a,i,u)}finally{At(!1)}}return n===void 0&&console.error("%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",Ce(t)||"Component"),n}return t.prototype&&t.prototype.isPureReactComponent?!Oc(n,a)||!Oc(o,i):!0}function M1(e,t,n,a){var o=t.state;typeof t.componentWillReceiveProps==="function"&&t.componentWillReceiveProps(n,a),typeof t.UNSAFE_componentWillReceiveProps==="function"&&t.UNSAFE_componentWillReceiveProps(n,a),t.state!==o&&(e=L(e)||"Component",Iw.has(e)||(Iw.add(e),console.error("%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",e)),p0.enqueueReplaceState(t,t.state,null))}function es(e,t){var n=t;if("ref"in t){n={};for(var a in t)a!=="ref"&&(n[a]=t[a])}if(e=e.defaultProps){n===t&&(n=He({},n));for(var o in e)n[o]===void 0&&(n[o]=e[o])}return n}function x1(e){Iy(e),console.warn(`%s
|
|
115
|
+
Incoming: %s`,j,"["+t.join(", ")+"]","["+e.join(", ")+"]");for(var n=0;n<t.length&&n<e.length;n++)if(!Gn(e[n],t[n]))return!1;return!0}function Am(e,t,n,a,o,i){if(Nl=i,De=t,Va=e!==null?e._debugHookTypes:null,Dl=-1,Mu=e!==null&&e.type!==t.type,Object.prototype.toString.call(n)==="[object AsyncFunction]"||Object.prototype.toString.call(n)==="[object AsyncGeneratorFunction]")i=L(De),u0.has(i)||(u0.add(i),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.",i===null?"An unknown Component":"<"+i+">"));t.memoizedState=null,t.updateQueue=null,t.lanes=0,V.H=e!==null&&e.memoizedState!==null?d0:Va!==null?Hw:f0,ms=i=(t.mode&Nn)!==_e;var u=n0(n,a,o);if(ms=!1,Br&&(u=Cm(t,n,a,o)),i){At(!0);try{u=Cm(t,n,a,o)}finally{At(!1)}}return a1(e,t),u}function a1(e,t){t._debugHookTypes=Va,t.dependencies===null?Go!==null&&(t.dependencies={lanes:0,firstContext:null,_debugThenableState:Go}):t.dependencies._debugThenableState=Go;var n=Go;if(ds!==null&&Xv(ds,t)&&(n!==null||ip===null||l0||(l0=!0,console.error(ip)),ip=ds=null),V.H=up,n=St!==null&&St.next!==null,Nl=0,Va=j=Xt=St=De=null,Dl=-1,e!==null&&(e.flags&1206910976)!==(t.flags&1206910976)&&console.error("Internal React error: Expected static flag was missing. Please notify the React team."),rp=!1,Du=0,Go=null,n)throw Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");e===null||Gt||(e=e.dependencies,e!==null&&Lf(e)&&(Gt=!0)),Cu?(Cu=!1,e=!0):e=!1,e&&(t=L(t)||"Unknown",Bw.has(t)||u0.has(t)||(Bw.add(t),console.error("`use` was called from inside a try/catch block. This is not allowed and can lead to unexpected behavior. To handle errors triggered by `use`, wrap your component in a error boundary.")))}function Cm(e,t,n,a){De=e;var o=0;do{if(Br&&(Go=null),Du=0,Br=!1,o>=SN)throw Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");if(o+=1,Mu=!1,Xt=St=null,e.updateQueue!=null){var i=e.updateQueue;i.lastEffect=null,i.events=null,i.stores=null,i.memoCache!=null&&(i.memoCache.index=0)}Dl=-1,V.H=jw,i=n0(t,n,a)}while(Br);return i}function sC(){var e=V.H,t=e.useState()[0];return t=typeof t.then==="function"?zc(t):t,e=e.useState()[0],(St!==null?St.memoizedState:null)!==e&&(De.flags|=1024),t}function Rm(){var e=cp!==0;return cp=0,e}function _m(e,t,n){t.updateQueue=e.updateQueue,t.flags=(t.mode&to)!==_e?t.flags&-805308421:t.flags&-2053,e.lanes&=~n}function Nm(e){if(rp){for(e=e.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}rp=!1}Nl=0,Va=Xt=St=De=null,Dl=-1,j=null,Br=!1,Du=cp=0,Go=null}function Hn(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Xt===null?De.memoizedState=Xt=e:Xt=Xt.next=e,Xt}function pt(){if(St===null){var e=De.alternate;e=e!==null?e.memoizedState:null}else e=St.next;var t=Xt===null?De.memoizedState:Xt.next;if(t!==null)Xt=t,St=e;else{if(e===null){if(De.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.")}St=e,e={memoizedState:St.memoizedState,baseState:St.baseState,baseQueue:St.baseQueue,queue:St.queue,next:null},Xt===null?De.memoizedState=Xt=e:Xt=Xt.next=e}return Xt}function Zf(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function zc(e){var t=Du;return Du+=1,Go===null&&(Go=qv()),e=Yv(Go,e,t,De),t=De,(Xt===null?t.memoizedState:Xt.next)===null&&(t=t.alternate,V.H=t!==null&&t.memoizedState!==null?d0:f0),e}function ei(e){if(e!==null&&typeof e==="object"){if(typeof e.then==="function")return zc(e);if(e.$$typeof===KR)return;if(e.$$typeof===Wa)return _t(e)}throw Error("An unsupported type was passed to use(): "+String(e))}function Pi(e){var t=null,n=De.updateQueue;if(n!==null&&(t=n.memoCache),t==null){var a=De.alternate;a!==null&&(a=a.updateQueue,a!==null&&(a=a.memoCache,a!=null&&(t={data:a.data.map(function(o){return o.slice()}),index:0})))}if(t==null&&(t={data:[],index:0}),n===null&&(n=Zf(),De.updateQueue=n),n.memoCache=t,n=t.data[t.index],n===void 0||Mu)for(n=t.data[t.index]=Array(e),a=0;a<e;a++)n[a]=JR;else n.length!==e&&console.error("Expected a constant size argument for each invocation of useMemoCache. The previous cache was allocated with size %s but size %s was requested.",n.length,e);return t.index++,n}function Za(e,t){return typeof t==="function"?t(e):t}function Dm(e,t,n){var a=Hn();if(n!==void 0){var o=n(t);if(ms){At(!0);try{n(t)}finally{At(!1)}}}else o=t;return a.memoizedState=a.baseState=o,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:o},a.queue=e,e=e.dispatch=dC.bind(null,De,e),[a.memoizedState,e]}function Ks(e){var t=pt();return Mm(t,St,e)}function Mm(e,t,n){var a=e.queue;if(a===null)throw Error("Should have a queue. You are likely calling Hooks conditionally, which is not allowed. (https://react.dev/link/invalid-hook-call)");a.lastRenderedReducer=n;var o=e.baseQueue,i=a.pending;if(i!==null){if(o!==null){var u=o.next;o.next=i.next,i.next=u}t.baseQueue!==o&&console.error("Internal error: Expected work-in-progress queue to be a clone. This is a bug in React."),t.baseQueue=o=i,a.pending=null}if(i=e.baseState,o===null)e.memoizedState=i;else{t=o.next;var d=u=null,h=null,y=t,O=!1;do{var M=y.lane&-536870913;if(M!==y.lane?(Ue&M)===M:(Nl&M)===M){var D=y.revertLane;if(D===0)h!==null&&(h=h.next={lane:0,revertLane:0,gesture:null,action:y.action,hasEagerState:y.hasEagerState,eagerState:y.eagerState,next:null}),M===bi&&(O=!0);else if((Nl&D)===D){y=y.next,D===bi&&(O=!0);continue}else M={lane:0,revertLane:y.revertLane,gesture:null,action:y.action,hasEagerState:y.hasEagerState,eagerState:y.eagerState,next:null},h===null?(d=h=M,u=i):h=h.next=M,De.lanes|=D,Ti|=D;M=y.action,ms&&n(i,M),i=y.hasEagerState?y.eagerState:n(i,M)}else D={lane:M,revertLane:y.revertLane,gesture:y.gesture,action:y.action,hasEagerState:y.hasEagerState,eagerState:y.eagerState,next:null},h===null?(d=h=D,u=i):h=h.next=D,De.lanes|=M,Ti|=M;y=y.next}while(y!==null&&y!==t);if(h===null?u=i:h.next=d,!Gn(i,e.memoizedState)&&(Gt=!0,O&&(n=Mr,n!==null)))throw n;e.memoizedState=i,e.baseState=u,e.baseQueue=h,a.lastRenderedState=i}return o===null&&(a.lanes=0),[e.memoizedState,a.dispatch]}function Uc(e){var t=pt(),n=t.queue;if(n===null)throw Error("Should have a queue. You are likely calling Hooks conditionally, which is not allowed. (https://react.dev/link/invalid-hook-call)");n.lastRenderedReducer=e;var{dispatch:a,pending:o}=n,i=t.memoizedState;if(o!==null){n.pending=null;var u=o=o.next;do i=e(i,u.action),u=u.next;while(u!==o);Gn(i,t.memoizedState)||(Gt=!0),t.memoizedState=i,t.baseQueue===null&&(t.baseState=i),n.lastRenderedState=i}return[i,a]}function xm(e,t,n){var a=De,o=Hn();if($e){if(n===void 0)throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");var i=n();kr||i===n()||(console.error("The result of getServerSnapshot should be cached to avoid an infinite loop"),kr=!0)}else{if(i=t(),kr||(n=t(),Gn(i,n)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),kr=!0)),Et===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");(Ue&127)!==0||o1(a,t,i)}return o.memoizedState=i,n={value:i,getSnapshot:t},o.queue=n,ed(i1.bind(null,a,n,e),[e]),a.flags|=2048,Ps(qa|Mn,{destroy:void 0},l1.bind(null,a,n,i,t),null),i}function Pf(e,t,n){var a=De,o=pt(),i=$e;if(i){if(n===void 0)throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");n=n()}else if(n=t(),!kr){var u=t();Gn(n,u)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),kr=!0)}if(u=!Gn((St||o).memoizedState,n))o.memoizedState=n,Gt=!0;o=o.queue;var d=i1.bind(null,a,o,e);if(Wn(2048,Mn,d,[e]),e=o.getSnapshot!==t||u||Xt!==null&&(Xt.memoizedState.tag&qa)!==Nu,Ps(e?qa|Mn:Mn,{destroy:void 0},l1.bind(null,a,o,n,t),null),e){if(a.flags|=2048,Et===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");i||(Nl&127)!==0||o1(a,t,n)}return n}function o1(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=De.updateQueue,t===null?(t=Zf(),De.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function l1(e,t,n,a){t.value=n,t.getSnapshot=a,s1(t)&&r1(e)}function i1(e,t,n){return n(function(){s1(t)&&(Ao(2,"updateSyncExternalStore()",e),r1(e))})}function s1(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!Gn(e,n)}catch(a){return!0}}function r1(e){var t=Rn(e,2);t!==null&&Ut(t,e,2)}function zm(e){var t=Hn();if(typeof e==="function"){var n=e;if(e=n(),ms){At(!0);try{n()}finally{At(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Za,lastRenderedState:e},t}function Um(e){e=zm(e);var t=e.queue,n=R1.bind(null,De,t);return t.dispatch=n,[e.memoizedState,n]}function km(e){var t=Hn();t.memoizedState=t.baseState=e;var n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=n,t=Km.bind(null,De,!0,n),n.dispatch=t,[e,t]}function c1(e,t){var n=pt();return u1(n,St,e,t)}function u1(e,t,n,a){return e.baseState=n,Mm(e,St,typeof a==="function"?a:Za)}function f1(e,t){var n=pt();if(St!==null)return u1(n,St,e,t);return n.baseState=e,[e,n.queue.dispatch]}function rC(e,t,n,a,o){if(id(e))throw Error("Cannot update action state while rendering.");if(e=t.action,e!==null){var i={payload:o,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(u){i.listeners.push(u)}};V.T!==null?n(!0):i.isTransition=!1,a(i),n=t.pending,n===null?(i.next=t.pending=i,d1(t,i)):(i.next=n.next,t.pending=n.next=i)}}function d1(e,t){var{action:n,payload:a}=t,o=e.state;if(t.isTransition){var i=V.T,u={};u.types=i!==null?i.types:null,u._updatedFibers=new Set,V.T=u;try{var d=n(o,a),h=V.S;h!==null&&h(u,d),p1(e,t,d)}catch(y){Bm(e,t,y)}finally{i!==null&&u.types!==null&&(i.types!==null&&i.types!==u.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."),i.types=u.types),V.T=i,i===null&&u._updatedFibers&&(e=u._updatedFibers.size,u._updatedFibers.clear(),10<e&&console.warn("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."))}}else try{u=n(o,a),p1(e,t,u)}catch(y){Bm(e,t,y)}}function p1(e,t,n){n!==null&&typeof n==="object"&&typeof n.then==="function"?(V.asyncTransitions++,n.then(ld,ld),n.then(function(a){h1(e,t,a)},function(a){return Bm(e,t,a)}),t.isTransition||console.error("An async function with useActionState was called outside of a transition. This is likely not what you intended (for example, isPending will not update correctly). Either call the returned function inside startTransition, or pass it to an `action` or `formAction` prop.")):h1(e,t,n)}function h1(e,t,n){t.status="fulfilled",t.value=n,m1(t),e.state=n,t=e.pending,t!==null&&(n=t.next,n===t?e.pending=null:(n=n.next,t.next=n,d1(e,n)))}function Bm(e,t,n){var a=e.pending;if(e.pending=null,a!==null){a=a.next;do t.status="rejected",t.reason=n,m1(t),t=t.next;while(t!==a)}e.action=null}function m1(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function g1(e,t){return t}function Zs(e,t){if($e){var n=Et.formState;if(n!==null){e:{var a=De;if($e){if(Ct){t:{var o=Ct;for(var i=$a;o.nodeType!==8;){if(!i){o=null;break t}if(o=Sa(o.nextSibling),o===null){o=null;break t}}i=o.data,o=i===L0||i===wO?o:null}if(o){Ct=Sa(o.nextSibling),a=o.data===L0;break e}}Ql(a)}a=!1}a&&(t=n[0])}}return n=Hn(),n.memoizedState=n.baseState=t,a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:g1,lastRenderedState:t},n.queue=a,n=R1.bind(null,De,a),a.dispatch=n,a=zm(!1),i=Km.bind(null,De,!1,a.queue),a=Hn(),o={state:t,dispatch:null,action:e,pending:null},a.queue=o,n=rC.bind(null,De,o,i,n),o.dispatch=n,a.memoizedState=e,[t,n,!1]}function Ff(e){var t=pt();return y1(t,St,e)}function y1(e,t,n){if(t=Mm(e,t,g1)[0],e=Ks(Za)[0],typeof t==="object"&&t!==null&&typeof t.then==="function")try{var a=zc(t)}catch(u){if(u===xr)throw op;throw u}else a=t;t=pt();var o=t.queue,i=o.dispatch;return n!==t.memoizedState&&(De.flags|=2048,Ps(qa|Mn,{destroy:void 0},cC.bind(null,o,n),null)),[a,i,e]}function cC(e,t){e.action=t}function Wf(e){var t=pt(),n=St;if(n!==null)return y1(t,n,e);pt(),t=t.memoizedState,n=pt();var a=n.queue.dispatch;return n.memoizedState=e,[t,a,!1]}function Ps(e,t,n,a){return e={tag:e,create:n,deps:a,inst:t,next:null},t=De.updateQueue,t===null&&(t=Zf(),De.updateQueue=t),n=t.lastEffect,n===null?t.lastEffect=e.next=e:(a=n.next,n.next=e,e.next=a,t.lastEffect=e),e}function Lm(e){var t=Hn();return e={current:e},t.memoizedState=e}function Fi(e,t,n,a){var o=Hn();De.flags|=e,o.memoizedState=Ps(qa|t,{destroy:void 0},n,a===void 0?null:a)}function Wn(e,t,n,a){var o=pt();a=a===void 0?null:a;var i=o.memoizedState.inst;St!==null&&a!==null&&Om(a,St.memoizedState.deps)?o.memoizedState=Ps(t,i,n,a):(De.flags|=e,o.memoizedState=Ps(qa|t,i,n,a))}function ed(e,t){(De.mode&to)!==_e?Fi(545261568,Mn,e,t):Fi(8390656,Mn,e,t)}function uC(e){De.flags|=4;var t=De.updateQueue;if(t===null)t=Zf(),De.updateQueue=t,t.events=[e];else{var n=t.events;n===null?t.events=[e]:n.push(e)}}function Hm(e){var t=Hn(),n={impl:e};return t.memoizedState=n,function(){if((We&Wt)!==fn)throw Error("A function wrapped in useEffectEvent can't be called during rendering.");return n.impl.apply(void 0,arguments)}}function td(e){var t=pt().memoizedState;return uC({ref:t,nextImpl:e}),function(){if((We&Wt)!==fn)throw Error("A function wrapped in useEffectEvent can't be called during rendering.");return t.impl.apply(void 0,arguments)}}function jm(e,t){var n=4194308;return(De.mode&to)!==_e&&(n|=268435456),Fi(n,wa,e,t)}function b1(e,t){if(typeof t==="function"){e=e();var n=t(e);return function(){typeof n==="function"?n():t(null)}}if(t!==null&&t!==void 0)return t.hasOwnProperty("current")||console.error("Expected useImperativeHandle() first argument to either be a ref callback or React.createRef() object. Instead received: %s.","an object with keys {"+Object.keys(t).join(", ")+"}"),e=e(),t.current=e,function(){t.current=null}}function $m(e,t,n){typeof t!=="function"&&console.error("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",t!==null?typeof t:"null"),n=n!==null&&n!==void 0?n.concat([e]):null;var a=4194308;(De.mode&to)!==_e&&(a|=268435456),Fi(a,wa,b1.bind(null,t,e),n)}function nd(e,t,n){typeof t!=="function"&&console.error("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",t!==null?typeof t:"null"),n=n!==null&&n!==void 0?n.concat([e]):null,Wn(4,wa,b1.bind(null,t,e),n)}function Im(e,t){return Hn().memoizedState=[e,t===void 0?null:t],e}function ad(e,t){var n=pt();t=t===void 0?null:t;var a=n.memoizedState;if(t!==null&&Om(t,a[1]))return a[0];return n.memoizedState=[e,t],e}function qm(e,t){var n=Hn();t=t===void 0?null:t;var a=e();if(ms){At(!0);try{e()}finally{At(!1)}}return n.memoizedState=[a,t],a}function od(e,t){var n=pt();t=t===void 0?null:t;var a=n.memoizedState;if(t!==null&&Om(t,a[1]))return a[0];if(a=e(),ms){At(!0);try{e()}finally{At(!1)}}return n.memoizedState=[a,t],a}function Vm(e,t){var n=Hn();return Ym(n,e,t)}function v1(e,t){var n=pt();return E1(n,St.memoizedState,e,t)}function S1(e,t){var n=pt();return St===null?Ym(n,e,t):E1(n,St.memoizedState,e,t)}function Ym(e,t,n){if(n===void 0||(Nl&1073741824)!==0&&(Ue&261930)===0)return e.memoizedState=t;return e.memoizedState=n,e=zS(),De.lanes|=e,Ti|=e,n}function E1(e,t,n,a){if(Gn(n,t))return n;if(Si.current!==null)return e=Ym(e,n,a),Gn(e,t)||(Gt=!0),e;if((Nl&106)===0||(Nl&1073741824)!==0&&(Ue&261930)===0)return Gt=!0,e.memoizedState=n;return e=zS(),De.lanes|=e,Ti|=e,t}function ld(){V.asyncTransitions--}function T1(e,t,n,a,o){var i=ut.p;ut.p=i!==0&&i<eo?i:eo;var u=V.T,d={};d.types=u!==null?u.types:null,d._updatedFibers=new Set,V.T=d,Km(e,!1,t,n);try{var h=o(),y=V.S;if(y!==null&&y(d,h),h!==null&&typeof h==="object"&&typeof h.then==="function"){V.asyncTransitions++,h.then(ld,ld);var O=lC(h,a);kc(e,t,O,ba(e))}else kc(e,t,a,ba(e))}catch(M){kc(e,t,{then:function(){},status:"rejected",reason:M},ba(e))}finally{ut.p=i,u!==null&&d.types!==null&&(u.types!==null&&u.types!==d.types&&console.error("We expected inner Transitions to have transferred the outer types set and that you cannot add to the outer Transition while inside the inner.This is a bug in React."),u.types=d.types),V.T=u,u===null&&d._updatedFibers&&(e=d._updatedFibers.size,d._updatedFibers.clear(),10<e&&console.warn("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."))}}function Gm(e,t,n,a){if(e.tag!==5)throw Error("Expected the form instance to be a HostComponent. This is a bug in React.");var o=w1(e).queue;aC(e),T1(e,o,t,_s,n===null?S:function(){return O1(e),n(a)})}function w1(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:_s,baseState:_s,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Za,lastRenderedState:_s},next:null};var n={};return t.next={memoizedState:n,baseState:n,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Za,lastRenderedState:n},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function O1(e){V.T===null&&console.error("requestFormReset was called outside a transition or action. To fix, move to an action, or wrap with startTransition.");var t=w1(e);t.next===null&&(t=e.alternate.memoizedState),kc(e,t.next.queue,{},ba(e))}function Qm(){var e=zm(!1);return e=T1.bind(null,De,e.queue,!0,!1),Hn().memoizedState=e,[!1,e]}function A1(){var e=Ks(Za)[0],t=pt().memoizedState;return[typeof e==="boolean"?e:zc(e),t]}function C1(){var e=Uc(Za)[0],t=pt().memoizedState;return[typeof e==="boolean"?e:zc(e),t]}function Wi(){return _t(Pr)}function Xm(){var e=Hn(),t=Et.identifierPrefix;if($e){var n=Al,a=Ol;n=(a&~(1<<32-In(a)-1)).toString(32)+n,t="_"+t+"R_"+n,n=cp++,0<n&&(t+="H"+n.toString(32)),t+="_"}else n=vN++,t="_"+t+"r_"+n.toString(32)+"_";return e.memoizedState=t}function Jm(){return Hn().memoizedState=fC.bind(null,De)}function fC(e,t){for(var n=e.return;n!==null;){switch(n.tag){case 24:case 3:var a=ba(n),o=Zl(a),i=Pl(n,o,a);i!==null&&(Ao(a,"refresh()",e),Ut(i,n,a),Nc(i,n,a)),e=pm(),t!==null&&t!==void 0&&i!==null&&console.error("The seed argument is not enabled outside experimental channels."),o.payload={cache:e};return}n=n.return}}function dC(e,t,n){var a=arguments;typeof a[3]==="function"&&console.error("State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect()."),a=ba(e);var o={lane:a,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null};id(e)?_1(t,o):(o=om(e,t,o,a),o!==null&&(Ao(a,"dispatch()",e),Ut(o,e,a),N1(o,t,a)))}function R1(e,t,n){var a=arguments;typeof a[3]==="function"&&console.error("State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect()."),a=ba(e),kc(e,t,n,a)&&Ao(a,"setState()",e)}function kc(e,t,n,a){var o={lane:a,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null};if(id(e))_1(t,o);else{var i=e.alternate;if(e.lanes===0&&(i===null||i.lanes===0)&&(i=t.lastRenderedReducer,i!==null)){var u=V.H;V.H=lo;try{var d=t.lastRenderedState,h=i(d,n);if(o.hasEagerState=!0,o.eagerState=h,Gn(h,d))return Nf(e,t,o,0),Et===null&&_f(),!1}catch(y){}finally{V.H=u}}if(n=om(e,t,o,a),n!==null)return Ut(n,e,a),N1(n,t,a),!0}return!1}function Km(e,t,n,a){if(V.T===null&&bi===0&&console.error("An optimistic state update occurred outside a transition or action. To fix, move the update to an action, or wrap with startTransition."),a={lane:2,revertLane:jg(),gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null},id(e)){if(t)throw Error("Cannot update optimistic state while rendering.");console.error("Cannot call startTransition while rendering.")}else t=om(e,n,a,2),t!==null&&(Ao(2,"setOptimistic()",e),Ut(t,e,2))}function id(e){var t=e.alternate;return e===De||t!==null&&t===De}function _1(e,t){Br=rp=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function N1(e,t,n){if((n&4194048)!==0){var a=t.lanes;a&=e.pendingLanes,n|=a,t.lanes=n,ue(e,n)}}function Zm(e){if(e!==null&&typeof e!=="function"){var t=String(e);Zw.has(t)||(Zw.add(t),console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",e))}}function Pm(e,t,n,a){var o=e.memoizedState,i=n(a,o);if(e.mode&Nn){At(!0);try{i=n(a,o)}finally{At(!1)}}i===void 0&&(t=Ce(t)||"Component",Qw.has(t)||(Qw.add(t),console.error("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",t))),o=i===null||i===void 0?o:He({},o,i),e.memoizedState=o,e.lanes===0&&(e.updateQueue.baseState=o)}function D1(e,t,n,a,o,i,u){var d=e.stateNode;if(typeof d.shouldComponentUpdate==="function"){if(n=d.shouldComponentUpdate(a,i,u),e.mode&Nn){At(!0);try{n=d.shouldComponentUpdate(a,i,u)}finally{At(!1)}}return n===void 0&&console.error("%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",Ce(t)||"Component"),n}return t.prototype&&t.prototype.isPureReactComponent?!Oc(n,a)||!Oc(o,i):!0}function M1(e,t,n,a){var o=t.state;typeof t.componentWillReceiveProps==="function"&&t.componentWillReceiveProps(n,a),typeof t.UNSAFE_componentWillReceiveProps==="function"&&t.UNSAFE_componentWillReceiveProps(n,a),t.state!==o&&(e=L(e)||"Component",Iw.has(e)||(Iw.add(e),console.error("%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",e)),p0.enqueueReplaceState(t,t.state,null))}function es(e,t){var n=t;if("ref"in t){n={};for(var a in t)a!=="ref"&&(n[a]=t[a])}if(e=e.defaultProps){n===t&&(n=He({},n));for(var o in e)n[o]===void 0&&(n[o]=e[o])}return n}function x1(e){Iy(e),console.warn(`%s
|
|
116
116
|
|
|
117
117
|
%s
|
|
118
118
|
`,Lr?"An error occurred in the <"+Lr+"> component.":"An error occurred in one of your React components.",`Consider adding an error boundary to your tree to customize error handling behavior.
|
|
@@ -121,14 +121,14 @@ Visit https://react.dev/link/error-boundaries to learn more about error boundari
|
|
|
121
121
|
%s
|
|
122
122
|
|
|
123
123
|
%s
|
|
124
|
-
`,e,t,n].slice(0),typeof e[0]==="string"?e.splice(0,1,zO+" "+e[0],UO,Ip+a+Ip,
|
|
124
|
+
`,e,t,n].slice(0),typeof e[0]==="string"?e.splice(0,1,zO+" "+e[0],UO,Ip+a+Ip,kO):e.splice(0,0,zO,UO,Ip+a+Ip,kO),e.unshift(console),a=IN.apply(console.error,e),a()}else console.error(`%o
|
|
125
125
|
|
|
126
126
|
%s
|
|
127
127
|
|
|
128
128
|
%s
|
|
129
|
-
`,e,t,n)}function U1(e){Iy(e)}function sd(e,t){try{Lr=t.source?L(t.source):null,h0=null;var n=t.value;if(V.actQueue!==null)V.thrownErrors.push(n);else{var a=e.onUncaughtError;a(n,{componentStack:t.stack})}}catch(o){setTimeout(function(){throw o})}}function
|
|
129
|
+
`,e,t,n)}function U1(e){Iy(e)}function sd(e,t){try{Lr=t.source?L(t.source):null,h0=null;var n=t.value;if(V.actQueue!==null)V.thrownErrors.push(n);else{var a=e.onUncaughtError;a(n,{componentStack:t.stack})}}catch(o){setTimeout(function(){throw o})}}function k1(e,t,n){try{Lr=n.source?L(n.source):null,h0=L(t);var a=e.onCaughtError;a(n.value,{componentStack:n.stack,errorBoundary:t.tag===1?t.stateNode:null})}catch(o){setTimeout(function(){throw o})}}function Fm(e,t,n){return n=Zl(n),n.tag=s0,n.payload={element:null},n.callback=function(){oe(t.source,sd,e,t)},n}function Wm(e){return e=Zl(e),e.tag=s0,e}function eg(e,t,n,a){var o=n.type.getDerivedStateFromError;if(typeof o==="function"){var i=a.value;e.payload=function(){return o(i)},e.callback=function(){Rv(n),oe(a.source,k1,t,n,a)}}var u=n.stateNode;u!==null&&typeof u.componentDidCatch==="function"&&(e.callback=function(){Rv(n),oe(a.source,k1,t,n,a),typeof o!=="function"&&(Oi===null?Oi=new Set([this]):Oi.add(this)),mN(this,a),typeof o==="function"||(n.lanes&2)===0&&console.error("%s: Error boundaries should implement getDerivedStateFromError(). In that method, return a state update to display an error message or fallback UI.",L(n)||"Unknown")})}function pC(e,t,n,a,o){if(n.flags|=32768,$o&&Vc(e,o),a!==null&&typeof a==="object"&&typeof a.then==="function"){if(t=n.alternate,t!==null&&Ji(t,n,o,!0),$e&&(Vo=!0),n=vn.current,n!==null){switch(n.tag){case 31:case 13:case 19:return Dn===null?Ed():n.alternate===null&&Mt===Ml&&(Mt=gp),n.flags&=-257,n.flags|=65536,n.lanes=o,a===lp?n.flags|=16384:(t=n.updateQueue,t===null?n.updateQueue=new Set([a]):t.add(a),kg(e,a,o)),!1;case 22:return n.flags|=65536,a===lp?n.flags|=16384:(t=n.updateQueue,t===null?(t={transitions:null,markerInstances:null,retryQueue:new Set([a])},n.updateQueue=t):(n=t.retryQueue,n===null?t.retryQueue=new Set([a]):n.add(a)),kg(e,a,o)),!1}throw Error("Unexpected Suspense handler tag ("+n.tag+"). This is a bug in React.")}return kg(e,a,o),Ed(),!1}if($e)return Vo=!0,t=vn.current,t!==null?(t.tag===19&&console.error("SuspenseList should never catch while hydrating. This is a bug in React."),(t.flags&65536)===0&&(t.flags|=256),t.flags|=65536,t.lanes=o,a!==Xy&&Ac(ha(Error("There was an error while hydrating but React was able to recover by instead client rendering from the nearest Suspense boundary.",{cause:a}),n))):(a!==Xy&&Ac(ha(Error("There was an error while hydrating but React was able to recover by instead client rendering the entire root.",{cause:a}),n)),e=e.current.alternate,e.flags|=65536,o&=-o,e.lanes|=o,a=ha(a,n),o=Fm(e.stateNode,a,o),Xf(e,o),Mt!==Ei&&(Mt=ys)),!1;var i=ha(Error("There was an error during concurrent rendering but React was able to recover by instead synchronously rendering the entire root.",{cause:a}),n);if(ju===null?ju=[i]:ju.push(i),Mt!==Ei&&(Mt=ys),t===null)return!0;a=ha(a,n),n=t;do{switch(n.tag){case 3:return n.flags|=65536,e=o&-o,n.lanes|=e,e=Fm(n.stateNode,a,e),Xf(n,e),!1;case 1:if(t=n.type,i=n.stateNode,(n.flags&128)===0&&(typeof t.getDerivedStateFromError==="function"||i!==null&&typeof i.componentDidCatch==="function"&&(Oi===null||!Oi.has(i))))return n.flags|=65536,o&=-o,n.lanes|=o,o=Wm(o),eg(o,e,n,a),Xf(n,o),!1;break;case 22:if(n.memoizedState!==null)return n.flags|=65536,!1}n=n.return}while(n!==null);return!1}function Zt(e,t,n,a){t.child=e===null?Dw(t,null,n,a):hs(t,e.child,n,a)}function B1(e,t,n,a,o){n=n.render;var i=Qs(n);if(i!==n&&(n=i,e!==null&&(Gt=!0)),i=t.ref,"ref"in a){var u={};for(var d in a)d!=="ref"&&(u[d]=a[d])}else u=a;if(Ki(t),a=Am(e,t,n,u,i,o),d=Rm(),e!==null&&!Gt)return _m(e,t,o),yl(e,t,o);return $e&&d&&xf(t),t.flags|=1,Zt(e,t,a,o),t.child}function L1(e,t,n,a,o){if(e===null){var i=n.type;if(typeof i==="function"&&!lm(i)&&i.defaultProps===void 0&&n.compare===null)return n=Qs(i),t.tag=15,t.type=n,ng(t,i),H1(e,t,n,a,o);return e=im(n.type,null,a,t,t.mode,o),e.ref=t.ref,e.return=t,t.child=e}if(i=e.child,!rg(e,o)){var u=i.memoizedProps;if(n=n.compare,n=n!==null?n:Oc,n(u,a)&&e.ref===t.ref)return yl(e,t,o)}return t.flags|=1,e=pl(i,a),e.ref=t.ref,e.return=t,t.child=e}function H1(e,t,n,a,o){if(e!==null){var i=e.memoizedProps;if(Oc(i,a)&&e.ref===t.ref&&t.type===e.type)if(Gt=!1,t.pendingProps=a=i,rg(e,o))(e.flags&131072)!==0&&(Gt=!0);else return t.lanes=e.lanes,yl(e,t,o)}return tg(e,t,n,a,o)}function j1(e,t,n,a){var o=a.children,i=e!==null?e.memoizedState:null;if(e===null&&t.stateNode===null&&(t.stateNode={_visibility:fu,_pendingMarkers:null,_retryCache:null,_transitions:null}),a.mode==="hidden"){if((t.flags&128)!==0){if(i=i!==null?i.baseLanes|n:n,e!==null){a=t.child=e.child;for(o=0;a!==null;)o=o|a.lanes|a.childLanes,a=a.sibling;a=o&~i}else a=0,t.child=null;return $1(e,t,i,n,a)}if((n&536870912)!==0)t.memoizedState={baseLanes:0,cachePool:null},e!==null&&If(t,i!==null?i.cachePool:null),i!==null?t1(t,i):Sm(t),n1(t);else return a=t.lanes=536870912,$1(e,t,i!==null?i.baseLanes|n:n,n,a)}else i!==null?(If(t,i.cachePool),t1(t,i),Wl(t),t.memoizedState=null):(e!==null&&If(t,null),Sm(t),Wl(t));return Zt(e,t,o,n),t.child}function Bc(e,t){return e!==null&&e.tag===22||t.stateNode!==null||(t.stateNode={_visibility:fu,_pendingMarkers:null,_retryCache:null,_transitions:null}),t.sibling}function $1(e,t,n,a,o){var i=gm();return i=i===null?null:{parent:Qt._currentValue,pool:i},t.memoizedState={baseLanes:n,cachePool:i},e!==null&&If(t,null),Sm(t),n1(t),e!==null&&Ji(e,t,a,!0),t.childLanes=o,null}function rd(e,t){var n=t.hidden;return n!==void 0&&console.error(`<Activity> doesn't accept a hidden prop. Use mode="hidden" instead.
|
|
130
130
|
- <Activity %s>
|
|
131
|
-
+ <Activity %s>`,n===!0?"hidden":n===!1?"hidden={false}":"hidden={...}",n?'mode="hidden"':'mode="visible"'),t=cd({mode:t.mode,children:t.children},e.mode),t.ref=e.ref,e.child=t,t.return=e,t}function I1(e,t,n){return hs(t,e.child,null,n),e=rd(t,t.pendingProps),e.flags|=2,ya(t),t.memoizedState=null,e}function hC(e,t,n){var a=t.pendingProps,o=(t.flags&128)!==0;if(t.flags&=-129,e===null){if($e){if(a.mode==="hidden")return e=rd(t,a),t.lanes=536870912,e.memoizedState={baseLanes:0,cachePool:null},
|
|
131
|
+
+ <Activity %s>`,n===!0?"hidden":n===!1?"hidden={false}":"hidden={...}",n?'mode="hidden"':'mode="visible"'),t=cd({mode:t.mode,children:t.children},e.mode),t.ref=e.ref,e.child=t,t.return=e,t}function I1(e,t,n){return hs(t,e.child,null,n),e=rd(t,t.pendingProps),e.flags|=2,ya(t),t.memoizedState=null,e}function hC(e,t,n){var a=t.pendingProps,o=(t.flags&128)!==0;if(t.flags&=-129,e===null){if($e){if(a.mode==="hidden")return e=rd(t,a),t.lanes=536870912,e.memoizedState={baseLanes:0,cachePool:null},Bc(null,e);if(Tm(t),(e=Ct)?(n=xE(e,$a),n=n!==null&&n.data===Os?n:null,n!==null&&(a={dehydrated:n,treeContext:xv(),retryLane:536870912,hydrationErrors:null},t.memoizedState=a,a=Dv(n),a.return=t,t.child=a,sn=t,Ct=null)):n=null,n===null)throw zf(t,e),Ql(t);return t.lanes=536870912,null}return rd(t,a)}var i=e.memoizedState;if(i!==null){var u=i.dehydrated;if(Tm(t),o)if(t.flags&256)t.flags&=-257,t=I1(e,t,n);else if(t.memoizedState!==null)t.child=e.child,t.flags|=128,t=null;else throw Error("Client rendering an Activity suspended it again. This is a bug in React.");else if(Uv(),(n&536870912)!==0&&Sd(t),Gt||Ji(e,t,n,!1),o=(n&e.childLanes)!==0,Gt||o){if(Si.current===null){if(a=Et,a!==null&&(u=it(a,n),u!==0&&u!==i.retryLane))throw i.retryLane=u,Rn(e,u),Ut(a,e,u),m0;Ed()}t=I1(e,t,n)}else e=i.treeContext,Ct=Sa(u.nextSibling),sn=t,$e=!0,pi=null,Vo=!1,Ta=null,$a=!1,e!==null&&zv(t,e),t=rd(t,a),t.flags|=134221824;return t}return i=e.child,a={mode:a.mode,children:a.children},(n&536870912)!==0&&(n&e.lanes)!==0&&Sd(t),e=pl(i,a),e.ref=t.ref,t.child=e,e.return=t,e}function Fs(e,t){var n=t.ref;if(n===null)e!==null&&e.ref!==null&&(t.flags|=4194816);else{if(typeof n!=="function"&&typeof n!=="object")throw Error("Expected ref to be a function, an object returned by React.createRef(), or undefined/null.");if(e===null||e.ref!==n)t.flags|=4194816}}function tg(e,t,n,a,o){if(n.prototype&&typeof n.prototype.render==="function"){var i=Ce(n)||"Unknown";Pw[i]||(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.",i,i),Pw[i]=!0)}if(t.mode&Nn&&oo.recordLegacyContextWarning(t,null),e===null&&(ng(t,t.type),n.contextTypes&&(i=Ce(n)||"Unknown",Ww[i]||(Ww[i]=!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)",i)))),Ki(t),n=Am(e,t,n,a,void 0,o),a=Rm(),e!==null&&!Gt)return _m(e,t,o),yl(e,t,o);return $e&&a&&xf(t),t.flags|=1,Zt(e,t,n,o),t.child}function q1(e,t,n,a,o,i){if(Ki(t),Dl=-1,Mu=e!==null&&e.type!==t.type,t.updateQueue=null,n=Cm(t,a,n,o),a1(e,t),a=Rm(),e!==null&&!Gt)return _m(e,t,i),yl(e,t,i);return $e&&a&&xf(t),t.flags|=1,Zt(e,t,n,i),t.child}function V1(e,t,n,a,o){switch(m(t)){case!1:var i=t.stateNode,u=new t.type(t.memoizedProps,i.context).state;i.updater.enqueueSetState(i,u,null);break;case!0:t.flags|=128,t.flags|=65536,i=Error("Simulated error coming from DevTools");var d=o&-o;if(t.lanes|=d,u=Et,u===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");d=Wm(d),eg(d,u,t,ha(i,t)),Xf(t,d)}if(Ki(t),t.stateNode===null){if(u=di,i=n.contextType,"contextType"in n&&i!==null&&(i===void 0||i.$$typeof!==Wa)&&!Kw.has(n)&&(Kw.add(n),d=i===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 i!=="object"?" However, it is set to a "+typeof i+".":i.$$typeof===py?" Did you accidentally pass the Context.Consumer instead?":" However, it is set to an object with keys {"+Object.keys(i).join(", ")+"}.",console.error("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",Ce(n)||"Component",d)),typeof i==="object"&&i!==null&&(u=_t(i)),i=new n(a,u),t.mode&Nn){At(!0);try{i=new n(a,u)}finally{At(!1)}}if(u=t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,i.updater=p0,t.stateNode=i,i._reactInternals=t,i._reactInternalInstance=$w,typeof n.getDerivedStateFromProps==="function"&&u===null&&(u=Ce(n)||"Component",qw.has(u)||(qw.add(u),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.",u,i.state===null?"null":"undefined",u))),typeof n.getDerivedStateFromProps==="function"||typeof i.getSnapshotBeforeUpdate==="function"){var h=d=u=null;if(typeof i.componentWillMount==="function"&&i.componentWillMount.__suppressDeprecationWarning!==!0?u="componentWillMount":typeof i.UNSAFE_componentWillMount==="function"&&(u="UNSAFE_componentWillMount"),typeof i.componentWillReceiveProps==="function"&&i.componentWillReceiveProps.__suppressDeprecationWarning!==!0?d="componentWillReceiveProps":typeof i.UNSAFE_componentWillReceiveProps==="function"&&(d="UNSAFE_componentWillReceiveProps"),typeof i.componentWillUpdate==="function"&&i.componentWillUpdate.__suppressDeprecationWarning!==!0?h="componentWillUpdate":typeof i.UNSAFE_componentWillUpdate==="function"&&(h="UNSAFE_componentWillUpdate"),u!==null||d!==null||h!==null){i=Ce(n)||"Component";var y=typeof n.getDerivedStateFromProps==="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";Yw.has(i)||(Yw.add(i),console.error(`Unsafe legacy lifecycles will not be called for components using new component APIs.
|
|
132
132
|
|
|
133
133
|
%s uses %s but also contains the following legacy lifecycles:%s%s%s
|
|
134
134
|
|
|
@@ -137,9 +137,9 @@ https://react.dev/link/unsafe-component-lifecycles`,i,y,u!==null?`
|
|
|
137
137
|
`+u:"",d!==null?`
|
|
138
138
|
`+d:"",h!==null?`
|
|
139
139
|
`+h:""))}}i=t.stateNode,u=Ce(n)||"Component",i.render||(n.prototype&&typeof n.prototype.render==="function"?console.error("No `render` method found on the %s instance: did you accidentally return an object from the constructor?",u):console.error("No `render` method found on the %s instance: you may have forgotten to define `render`.",u)),!i.getInitialState||i.getInitialState.isReactClassApproved||i.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?",u),i.getDefaultProps&&!i.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.",u),i.contextType&&console.error("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",u),n.childContextTypes&&!Jw.has(n)&&(Jw.add(n),console.error("%s uses the legacy childContextTypes API which was removed in React 19. Use React.createContext() instead. (https://react.dev/link/legacy-context)",u)),n.contextTypes&&!Xw.has(n)&&(Xw.add(n),console.error("%s uses the legacy contextTypes API which was removed in React 19. Use React.createContext() with static contextType instead. (https://react.dev/link/legacy-context)",u)),typeof i.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.",u),n.prototype&&n.prototype.isPureReactComponent&&typeof i.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.",Ce(n)||"A pure component"),typeof i.componentDidUnmount==="function"&&console.error("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",u),typeof i.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().",u),typeof i.componentWillRecieveProps==="function"&&console.error("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",u),typeof i.UNSAFE_componentWillRecieveProps==="function"&&console.error("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",u),d=i.props!==a,i.props!==void 0&&d&&console.error("When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",u),i.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.",u,u),typeof i.getSnapshotBeforeUpdate!=="function"||typeof i.componentDidUpdate==="function"||Vw.has(n)||(Vw.add(n),console.error("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",Ce(n))),typeof i.getDerivedStateFromProps==="function"&&console.error("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.",u),typeof i.getDerivedStateFromError==="function"&&console.error("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.",u),typeof n.getSnapshotBeforeUpdate==="function"&&console.error("%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.",u),(d=i.state)&&(typeof d!=="object"||Pt(d))&&console.error("%s.state: must be set to an object or null",u),typeof i.getChildContext==="function"&&typeof n.childContextTypes!=="object"&&console.error("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",u),i=t.stateNode,i.props=a,i.state=t.memoizedState,i.refs={},bm(t),u=n.contextType,i.context=typeof u==="object"&&u!==null?_t(u):di,i.state===a&&(u=Ce(n)||"Component",Gw.has(u)||(Gw.add(u),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.",u))),t.mode&Nn&&oo.recordLegacyContextWarning(t,i),oo.recordUnsafeLifecycleWarnings(t,i),i.state=t.memoizedState,u=n.getDerivedStateFromProps,typeof u==="function"&&(Pm(t,n,u,a),i.state=t.memoizedState),typeof n.getDerivedStateFromProps==="function"||typeof i.getSnapshotBeforeUpdate==="function"||typeof i.UNSAFE_componentWillMount!=="function"&&typeof i.componentWillMount!=="function"||(u=i.state,typeof i.componentWillMount==="function"&&i.componentWillMount(),typeof i.UNSAFE_componentWillMount==="function"&&i.UNSAFE_componentWillMount(),u!==i.state&&(console.error("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",L(t)||"Component"),p0.enqueueReplaceState(i,i.state,null)),Mc(t,a,i,o),Dc(),i.state=t.memoizedState),typeof i.componentDidMount==="function"&&(t.flags|=4194308),(t.mode&to)!==_e&&(t.flags|=268435456),i=!0}else if(e===null){i=t.stateNode;var O=t.memoizedProps;d=es(n,O),i.props=d;var M=i.context;h=n.contextType,u=di,typeof h==="object"&&h!==null&&(u=_t(h)),y=n.getDerivedStateFromProps,h=typeof y==="function"||typeof i.getSnapshotBeforeUpdate==="function",O=t.pendingProps!==O,h||typeof i.UNSAFE_componentWillReceiveProps!=="function"&&typeof i.componentWillReceiveProps!=="function"||(O||M!==u)&&M1(t,i,a,u),vi=!1;var D=t.memoizedState;i.state=D,Mc(t,a,i,o),Dc(),M=t.memoizedState,O||D!==M||vi?(typeof y==="function"&&(Pm(t,n,y,a),M=t.memoizedState),(d=vi||D1(t,n,d,a,D,M,u))?(h||typeof i.UNSAFE_componentWillMount!=="function"&&typeof i.componentWillMount!=="function"||(typeof i.componentWillMount==="function"&&i.componentWillMount(),typeof i.UNSAFE_componentWillMount==="function"&&i.UNSAFE_componentWillMount()),typeof i.componentDidMount==="function"&&(t.flags|=4194308),(t.mode&to)!==_e&&(t.flags|=268435456)):(typeof i.componentDidMount==="function"&&(t.flags|=4194308),(t.mode&to)!==_e&&(t.flags|=268435456),t.memoizedProps=a,t.memoizedState=M),i.props=a,i.state=M,i.context=u,i=d):(typeof i.componentDidMount==="function"&&(t.flags|=4194308),(t.mode&to)!==_e&&(t.flags|=268435456),i=!1)}else{i=t.stateNode,vm(e,t),u=t.memoizedProps,h=es(n,u),i.props=h,y=t.pendingProps,D=i.context,M=n.contextType,d=di,typeof M==="object"&&M!==null&&(d=_t(M)),O=n.getDerivedStateFromProps,(M=typeof O==="function"||typeof i.getSnapshotBeforeUpdate==="function")||typeof i.UNSAFE_componentWillReceiveProps!=="function"&&typeof i.componentWillReceiveProps!=="function"||(u!==y||D!==d)&&M1(t,i,a,d),vi=!1,D=t.memoizedState,i.state=D,Mc(t,a,i,o),Dc();var U=t.memoizedState;u!==y||D!==U||vi||e!==null&&e.dependencies!==null&&Lf(e.dependencies)?(typeof O==="function"&&(Pm(t,n,O,a),U=t.memoizedState),(h=vi||D1(t,n,h,a,D,U,d)||e!==null&&e.dependencies!==null&&Lf(e.dependencies))?(M||typeof i.UNSAFE_componentWillUpdate!=="function"&&typeof i.componentWillUpdate!=="function"||(typeof i.componentWillUpdate==="function"&&i.componentWillUpdate(a,U,d),typeof i.UNSAFE_componentWillUpdate==="function"&&i.UNSAFE_componentWillUpdate(a,U,d)),typeof i.componentDidUpdate==="function"&&(t.flags|=4),typeof i.getSnapshotBeforeUpdate==="function"&&(t.flags|=1024)):(typeof i.componentDidUpdate!=="function"||u===e.memoizedProps&&D===e.memoizedState||(t.flags|=4),typeof i.getSnapshotBeforeUpdate!=="function"||u===e.memoizedProps&&D===e.memoizedState||(t.flags|=1024),t.memoizedProps=a,t.memoizedState=U),i.props=a,i.state=U,i.context=d,i=h):(typeof i.componentDidUpdate!=="function"||u===e.memoizedProps&&D===e.memoizedState||(t.flags|=4),typeof i.getSnapshotBeforeUpdate!=="function"||u===e.memoizedProps&&D===e.memoizedState||(t.flags|=1024),i=!1)}if(d=i,Fs(e,t),u=(t.flags&128)!==0,d||u){if(d=t.stateNode,mn(t),u&&typeof n.getDerivedStateFromError!=="function")n=null,Qn=-1;else if(n=gw(d),t.mode&Nn){At(!0);try{gw(d)}finally{At(!1)}}t.flags|=1,e!==null&&u?(t.child=hs(t,e.child,null,o),t.child=hs(t,null,n,o)):Zt(e,t,n,o),t.memoizedState=d.state,e=t.child}else e=yl(e,t,o);return o=t.stateNode,i&&o.props!==a&&(Hr||console.error("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",L(t)||"a component"),Hr=!0),e}function Y1(e,t,n,a){return Xi(),t.flags|=256,Zt(e,t,n,a),t.child}function ng(e,t){t&&t.childContextTypes&&console.error(`childContextTypes cannot be defined on a function component.
|
|
140
|
-
%s.childContextTypes = ...`,t.displayName||t.name||"Component"),typeof t.getDerivedStateFromProps==="function"&&(e=Ce(t)||"Unknown",eO[e]||(console.error("%s: Function components do not support getDerivedStateFromProps.",e),eO[e]=!0)),typeof t.contextType==="object"&&t.contextType!==null&&(t=Ce(t)||"Unknown",Fw[t]||(console.error("%s: Function components do not support contextType.",t),Fw[t]=!0))}function ag(e){return{baseLanes:e,cachePool:Iv()}}function og(e,t,n){return e=e!==null?e.childLanes&~n:0,t&&(e|=ia),e}function G1(e,t,n){var a=t.pendingProps;p(t)&&(t.flags|=128);var o=!1,i=(t.flags&128)!==0,u;if((u=i)||(u=e!==null&&e.memoizedState===null?!1:(Sn.current&_u)!==0),u&&(o=!0,t.flags&=-129),u=(t.flags&32)!==0,t.flags&=-33,e===null){if($e){if(o?Fl(t):Wl(t),(e=Ct)?(n=xE(e,$a),n=n!==null&&n.data!==Os?n:null,n!==null&&(u={dehydrated:n,treeContext:xv(),retryLane:536870912,hydrationErrors:null},t.memoizedState=u,u=Dv(n),u.return=t,t.child=u,sn=t,Ct=null)):n=null,n===null)throw zf(t,e),Ql(t);return Wg(n)?t.lanes=32:t.lanes=536870912,null}if(i=a.children,a=a.fallback,o)return Wl(t),o=t.mode,i=cd({mode:"hidden",children:i},o),a=Gi(a,o,n,null),i.return=t,a.return=t,i.sibling=a,t.child=i,a=t.child,a.memoizedState=ag(n),a.childLanes=og(e,u,n),t.memoizedState=y0,kc(null,a);return Fl(t),lg(t,i)}var d=e.memoizedState;if(d!==null){var h=d.dehydrated;if(h!==null)return mC(e,t,i,u,a,h,d,n)}if(o)return Wl(t),o=a.fallback,i=t.mode,d=e.child,h=d.sibling,a=pl(d,{mode:"hidden",children:a.children}),a.subtreeFlags=d.subtreeFlags&1206910976,h!==null?o=pl(h,o):(o=Gi(o,i,n,null),o.flags|=2),o.return=t,a.return=t,a.sibling=o,t.child=a,kc(null,a),a=t.child,o=e.child.memoizedState,o===null?o=ag(n):(i=o.cachePool,i!==null?(d=Qt._currentValue,i=i.parent!==d?{parent:d,pool:d}:i):i=Iv(),o={baseLanes:o.baseLanes|n,cachePool:i}),a.memoizedState=o,a.childLanes=og(e,u,n),t.memoizedState=y0,kc(e.child,a);return d!==null&&(n&62914560)===n&&(n&e.lanes)!==0&&Sd(t),Fl(t),n=e.child,e=n.sibling,n=pl(n,{mode:"visible",children:a.children}),n.return=t,n.sibling=null,e!==null&&(u=t.deletions,u===null?(t.deletions=[e],t.flags|=16):u.push(e)),t.child=n,t.memoizedState=null,n}function lg(e,t){return t=cd({mode:"visible",children:t},e.mode),t.return=e,e.child=t}function cd(e,t){return e=T(22,e,null,t),e.lanes=0,e}function ud(e,t,n){return hs(t,e.child,null,n),e=lg(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function mC(e,t,n,a,o,i,u,d){if(n){if(t.flags&256)return Fl(t),t.flags&=-257,ud(e,t,d);if(t.memoizedState!==null)return Wl(t),t.child=e.child,t.flags|=128,null;Wl(t);var h=o.fallback,y=t.mode,O=cd({mode:"visible",children:o.children},y);return h=Gi(h,y,d,null),h.flags|=2,O.return=t,h.return=t,O.sibling=h,t.child=O,hs(t,e.child,null,d),h=t.child,h.memoizedState=ag(d),h.childLanes=og(e,a,d),t.memoizedState=y0,kc(null,h)}if(Fl(t),Uv(),(d&536870912)!==0&&Sd(t),Wg(i)){if(a=i.nextSibling&&i.nextSibling.dataset,a){h=a.dgst;var M=a.msg;y=a.stck,O=a.cstck}return i=M,u=h,o=y,a=O,h=u,y=i,O=o,o=a,h!==hN&&(a=y?Error(y):Error("The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering."),a.stack=O||"",a.digest=h,h=o===void 0?null:o,y={value:a,source:null,stack:h},typeof h==="string"&&Qy.set(a,y),Ac(y)),ud(e,t,d)}if(Gt||Ji(e,t,d,!1),a=(d&e.childLanes)!==0,Gt||a){if(Si.current!==null)return ud(e,t,d);if(a=Et,a!==null&&(h=it(a,d),h!==0&&h!==u.retryLane))throw u.retryLane=h,Rn(e,h),Ut(a,e,h),m0;return Fg(i)||Ed(),ud(e,t,d)}if(Fg(i))return t.flags|=192,t.child=e.child,null;return e=u.treeContext,Ct=Sa(i.nextSibling),sn=t,$e=!0,pi=null,Vo=!1,Ta=null,$a=!1,e!==null&&zv(t,e),t=lg(t,o.children),t.flags|=134221824,t}function Q1(e,t,n){e.lanes|=t;var a=e.alternate;a!==null&&(a.lanes|=t),kf(e.return,t,n)}function X1(e){for(var t=null;e!==null;){var n=e.alternate;n!==null&&Jf(n)===null&&(t=e),e=e.sibling}return t}function fd(e,t,n,a,o,i){var u=e.memoizedState;u===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:a,tail:n,tailMode:o,treeForkCount:i}:(u.isBackwards=t,u.rendering=null,u.renderingStartTime=0,u.last=a,u.tail=n,u.tailMode=o,u.treeForkCount=i)}function ig(e){var t=e.child;for(e.child=null;t!==null;){var n=t.sibling;t.sibling=e.child,e.child=t,t=n}}function sg(e,t,n){var a=t.pendingProps,o=a.revealOrder,i=a.tail,u=a.children,d=Sn.current;if(t.flags&128)return xc(t,d),null;if((a=(d&_u)!==0)?(d=d&Ur|_u,t.flags|=128):d&=Ur,xc(t,d),d=o==null?"null":o,o!=null&&o!=="forwards"&&o!=="backwards"&&o!=="unstable_legacy-backwards"&&o!=="together"&&o!=="independent"&&!tO[d])if(tO[d]=!0,typeof o==="string")switch(o.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.',o,o.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.',o,o.toLowerCase());break;default:console.error('"%s" is not a supported revealOrder on <SuspenseList />. Did you mean "independent", "together", "forwards" or "backwards"?',o)}else console.error('%s is not a supported value for revealOrder on <SuspenseList />. Did you mean "independent", "together", "forwards" or "backwards"?',o);d=i==null?"null":i,g0[d]||i==null||(i!=="visible"&&i!=="collapsed"&&i!=="hidden"?(g0[d]=!0,console.error('"%s" is not a supported value for tail on <SuspenseList />. Did you mean "visible", "collapsed" or "hidden"?',i)):o!=null&&o!=="forwards"&&o!=="backwards"&&o!=="unstable_legacy-backwards"&&(g0[d]=!0,console.error('<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" (default) or "backwards". Did you mean to specify revealOrder="forwards"?',i)));e:if((o==null||o==="forwards"||o==="backwards"||o==="unstable_legacy-backwards")&&u!==void 0&&u!==null&&u!==!1)if(Pt(u)){for(d=0;d<u.length;d++)if(!Fv(u[d],d))break e}else if(d=Ye(u),typeof d==="function"){if(d=d.call(u))for(var h=d.next(),y=0;!h.done;h=d.next()){if(!Fv(h.value,y))break e;y++}}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?',o);if(o==="backwards"&&e!==null?(ig(e),Zt(e,t,u,n),ig(e)):Zt(e,t,u,n),$e?(Gl(),u=du):u=0,!a&&e!==null&&(e.flags&128)!==0)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&Q1(e,n,t);else if(e.tag===19)Q1(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}switch(o){case"backwards":n=X1(t.child),n===null?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null,ig(t)),fd(t,!0,o,null,i,u);break;case"unstable_legacy-backwards":n=null,o=t.child;for(t.child=null;o!==null;){if(e=o.alternate,e!==null&&Jf(e)===null){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}fd(t,!0,n,null,i,u);break;case"together":fd(t,!1,null,null,void 0,u);break;case"independent":t.memoizedState=null;break;default:n=X1(t.child),n===null?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),fd(t,!1,o,n,i,u)}return t.child}function J1(e,t,n){var{type:a,pendingProps:o}=t,i=o.value;return"value"in o||aO||(aO=!0,console.error("The `value` prop is required for the `<Context.Provider>`. Did you misspell it or forget to pass it?")),Xl(t,a,i),Zt(e,t,o.children,n),t.child}function yl(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),Qn=-1,Ti|=t.lanes,(n&t.childLanes)===0)if(e!==null){if(Ji(e,t,n,!1),(n&t.childLanes)===0)return null}else return null;if(e!==null&&t.child!==e.child)throw Error("Resuming work not yet implemented.");if(t.child!==null){e=t.child,n=pl(e,e.pendingProps),t.child=n;for(n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=pl(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function rg(e,t){if((e.lanes&t)!==0)return!0;return e=e.dependencies,e!==null&&Lf(e)?!0:!1}function gC(e,t,n){switch(t.tag){case 3:Q(t,t.stateNode.containerInfo),Xl(t,Qt,e.memoizedState.cache),Xi();break;case 27:case 5:se(t);break;case 4:Q(t,t.stateNode.containerInfo);break;case 10:Xl(t,t.type,t.memoizedProps.value);break;case 12:(n&t.childLanes)!==0&&(t.flags|=4),t.flags|=2048;var a=t.stateNode;a.effectDuration=-0,a.passiveEffectDuration=-0;break;case 31:if(t.memoizedState!==null)return t.flags|=128,Tm(t),null;break;case 13:if(a=t.memoizedState,a!==null){if(a.dehydrated!==null)return Fl(t),t.flags|=128,null;a=Ji(e,t,n,!1);var o=t.child.childLanes;if(a||(n&o)!==0)return G1(e,t,n);return Fl(t),e=yl(e,t,n),e!==null?e.sibling:null}Fl(t);break;case 19:if(t.flags&128)return sg(e,t,n);if(o=(e.flags&128)!==0,a=(n&t.childLanes)!==0,a||(Ji(e,t,n,!1),a=(n&t.childLanes)!==0),o){if(a)return sg(e,t,n);t.flags|=128}if(o=t.memoizedState,o!==null&&(o.rendering=null,o.tail=null,o.lastEffect=null),xc(t,Sn.current),a)break;else return null;case 22:return t.lanes=0,j1(e,t,n,t.pendingProps);case 24:Xl(t,Qt,e.memoizedState.cache)}return yl(e,t,n)}function cg(e,t,n){if(t._debugNeedsRemount&&e!==null){n=im(Qs(t.elementType),t.key,t.pendingProps,t._debugOwner||null,t.mode,t.lanes),n._debugStack=t._debugStack,n._debugTask=t._debugTask;var a=t.return;if(a===null)throw Error("Cannot swap the root fiber.");if(e.alternate=null,t.alternate=null,n.index=t.index,n.sibling=t.sibling,n.return=t.return,n.ref=t.ref,n._debugInfo=t._debugInfo,t===a.child)a.child=n;else{var o=a.child;if(o===null)throw Error("Expected parent to have a child.");for(;o.sibling!==t;)if(o=o.sibling,o===null)throw Error("Expected to find the previous sibling.");o.sibling=n}return t=a.deletions,t===null?(a.deletions=[e],a.flags|=16):t.push(e),n.flags|=134217730,n}if(e!==null)if(e.memoizedProps!==t.pendingProps||t.type!==e.type)Gt=!0;else{if(!rg(e,n)&&(t.flags&128)===0)return Gt=!1,gC(e,t,n);Gt=(e.flags&131072)!==0?!0:!1}else{if(Gt=!1,a=$e)Gl(),a=(t.flags&1048576)!==0;a&&(a=t.index,Gl(),Mv(t,du,a))}switch(t.lanes=0,t.tag){case 16:e:if(a=t.pendingProps,e=Jl(t.elementType),e=Qs(e),t.type=e,typeof e==="function")lm(e)?(a=es(e,a),t.tag=1,t=V1(null,t,e,a,n)):(t.tag=0,ng(t,e),t=tg(null,t,e,a,n));else{if(e!==void 0&&e!==null){if(o=e.$$typeof,o===xd){t.tag=11,t=k1(null,t,e,a,n);break e}else if(o===zd){t.tag=14,t=L1(null,t,e,a,n);break e}else if(o===Wa){t.tag=10,t.type=e,t=J1(null,t,n);break e}}throw t="",e!==null&&typeof e==="object"&&e.$$typeof===ea&&(t=" Did you wrap a component in React.lazy() more than once?"),n=Ce(e)||e,Error("Element type is invalid. Received a promise that resolves to: "+n+". Lazy element type must resolve to a class or function."+t)}return t;case 0:return tg(e,t,t.type,t.pendingProps,n);case 1:return a=t.type,o=es(a,t.pendingProps),V1(e,t,a,o,n);case 3:e:{if(Q(t,t.stateNode.containerInfo),e===null)throw Error("Should have a current fiber. This is a bug in React.");a=t.pendingProps;var i=t.memoizedState;o=i.element,vm(e,t),Mc(t,a,null,n);var u=t.memoizedState;if(a=u.cache,Xl(t,Qt,a),a!==i.cache&&dm(t,[Qt],n,!0),Dc(),a=u.element,i.isDehydrated)if(i={element:a,isDehydrated:!1,cache:u.cache},t.updateQueue.baseState=i,t.memoizedState=i,t.flags&256){t=Y1(e,t,a,n);break e}else if(a!==o){o=ha(Error("This root received an early update, before anything was able hydrate. Switched the entire root to client rendering."),t),Ac(o),t=Y1(e,t,a,n);break e}else{switch(e=t.stateNode.containerInfo,e.nodeType){case 9:e=e.body;break;default:e=e.nodeName==="HTML"?e.ownerDocument.body:e}Ct=Sa(e.firstChild),sn=t,$e=!0,pi=null,Vo=!1,Ta=null,$a=!0,n=Dw(t,null,a,n);for(t.child=n;n;)n.flags=n.flags&-3|134221824,n=n.sibling}else{if(Xi(),a===o){t=yl(e,t,n);break e}Zt(e,t,a,n)}t=t.child}return t;case 26:return Fs(e,t),e===null?(n=jE(t.type,null,t.pendingProps,null))?t.memoizedState=n:$e||(t.stateNode=yE(t.type,t.pendingProps,te(ii.current),t)):t.memoizedState=jE(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return se(t),e===null&&$e&&(a=te(ii.current),o=J(),a=t.stateNode=kE(t.type,t.pendingProps,a,o,!1),Vo||(o=pE(a,t.type,t.pendingProps,o),o!==null&&(Qi(t,0).serverProps=o)),sn=t,$a=!0,o=Ct,oi(t.type)?(V0=o,Ct=Sa(a.firstChild)):Ct=o),Zt(e,t,t.pendingProps.children,n),Fs(e,t),e===null&&(t.flags|=4194304),t.child;case 5:return e===null&&$e&&(i=J(),a=Zh(t.type,i.ancestorInfo),o=Ct,(u=!o)||(u=AR(o,t.type,t.pendingProps,$a),u!==null?(t.stateNode=u,Vo||(i=pE(u,t.type,t.pendingProps,i),i!==null&&(Qi(t,0).serverProps=i)),sn=t,Ct=Sa(u.firstChild),$a=!1,i=!0):i=!1,u=!i),u&&(a&&zf(t,o),Ql(t))),se(t),o=t.type,i=t.pendingProps,u=e!==null?e.memoizedProps:null,a=i.children,Jg(o,i)?a=null:u!==null&&Jg(o,u)&&(t.flags|=32),t.memoizedState!==null&&(o=Am(e,t,sC,null,null,n),Pr._currentValue=o),Fs(e,t),Zt(e,t,a,n),t.child;case 6:return e===null&&$e&&(n=t.pendingProps,e=J(),a=e.ancestorInfo.current,n=a!=null?Ef(n,a.tag,e.ancestorInfo.implicitRootScope):!0,e=Ct,(a=!e)||(a=CR(e,t.pendingProps,$a),a!==null?(t.stateNode=a,sn=t,Ct=null,a=!0):a=!1,a=!a),a&&(n&&zf(t,e),Ql(t))),null;case 13:return G1(e,t,n);case 4:return Q(t,t.stateNode.containerInfo),a=t.pendingProps,e===null?t.child=hs(t,null,a,n):Zt(e,t,a,n),t.child;case 11:return k1(e,t,t.type,t.pendingProps,n);case 7:return a=t.pendingProps,Fs(e,t),Zt(e,t,a,n),t.child;case 8:return Zt(e,t,t.pendingProps.children,n),t.child;case 12:return t.flags|=4,t.flags|=2048,a=t.stateNode,a.effectDuration=-0,a.passiveEffectDuration=-0,Zt(e,t,t.pendingProps.children,n),t.child;case 10:return J1(e,t,n);case 9:return o=t.type._context,a=t.pendingProps.children,typeof a!=="function"&&console.error("A context consumer was rendered with multiple children, or a child that isn't a function. A context consumer expects a single child that is a function. If you did pass a function, make sure there is no trailing or leading whitespace around it."),Ki(t),o=_t(o),a=n0(a,o,void 0),t.flags|=1,Zt(e,t,a,n),t.child;case 14:return L1(e,t,t.type,t.pendingProps,n);case 15:return H1(e,t,t.type,t.pendingProps,n);case 19:return sg(e,t,n);case 31:return hC(e,t,n);case 22:return j1(e,t,n,t.pendingProps);case 24:return Ki(t),a=_t(Qt),e===null?(o=gm(),o===null&&(o=Et,i=pm(),o.pooledCache=i,Zi(i),i!==null&&(o.pooledCacheLanes|=n),o=i),t.memoizedState={parent:a,cache:o},bm(t),Xl(t,Qt,o)):((e.lanes&n)!==0&&(vm(e,t),Mc(t,null,null,n),Dc()),o=e.memoizedState,i=t.memoizedState,o.parent!==a?(o={parent:a,cache:a},t.memoizedState=o,t.lanes===0&&(t.memoizedState=t.updateQueue.baseState=o),Xl(t,Qt,a)):(a=i.cache,Xl(t,Qt,a),a!==o.cache&&dm(t,[Qt],n,!0))),Zt(e,t,t.pendingProps.children,n),t.child;case 30:return t.stateNode===null&&(t.stateNode={autoName:null,paired:null,clones:null,ref:null}),a=t.pendingProps,a.name!=null&&a.name!=="auto"?t.flags|=e===null?18882560:18874368:$e&&xf(t),a.className!==void 0&&(o=typeof a.className==="string"?JSON.stringify(a.className):"{...}",nO[o]||(nO[o]=!0,console.error(`<ViewTransition> doesn't accept a "className" prop. It has been renamed to "default".
|
|
140
|
+
%s.childContextTypes = ...`,t.displayName||t.name||"Component"),typeof t.getDerivedStateFromProps==="function"&&(e=Ce(t)||"Unknown",eO[e]||(console.error("%s: Function components do not support getDerivedStateFromProps.",e),eO[e]=!0)),typeof t.contextType==="object"&&t.contextType!==null&&(t=Ce(t)||"Unknown",Fw[t]||(console.error("%s: Function components do not support contextType.",t),Fw[t]=!0))}function ag(e){return{baseLanes:e,cachePool:Iv()}}function og(e,t,n){return e=e!==null?e.childLanes&~n:0,t&&(e|=ia),e}function G1(e,t,n){var a=t.pendingProps;p(t)&&(t.flags|=128);var o=!1,i=(t.flags&128)!==0,u;if((u=i)||(u=e!==null&&e.memoizedState===null?!1:(Sn.current&_u)!==0),u&&(o=!0,t.flags&=-129),u=(t.flags&32)!==0,t.flags&=-33,e===null){if($e){if(o?Fl(t):Wl(t),(e=Ct)?(n=xE(e,$a),n=n!==null&&n.data!==Os?n:null,n!==null&&(u={dehydrated:n,treeContext:xv(),retryLane:536870912,hydrationErrors:null},t.memoizedState=u,u=Dv(n),u.return=t,t.child=u,sn=t,Ct=null)):n=null,n===null)throw zf(t,e),Ql(t);return Wg(n)?t.lanes=32:t.lanes=536870912,null}if(i=a.children,a=a.fallback,o)return Wl(t),o=t.mode,i=cd({mode:"hidden",children:i},o),a=Gi(a,o,n,null),i.return=t,a.return=t,i.sibling=a,t.child=i,a=t.child,a.memoizedState=ag(n),a.childLanes=og(e,u,n),t.memoizedState=y0,Bc(null,a);return Fl(t),lg(t,i)}var d=e.memoizedState;if(d!==null){var h=d.dehydrated;if(h!==null)return mC(e,t,i,u,a,h,d,n)}if(o)return Wl(t),o=a.fallback,i=t.mode,d=e.child,h=d.sibling,a=pl(d,{mode:"hidden",children:a.children}),a.subtreeFlags=d.subtreeFlags&1206910976,h!==null?o=pl(h,o):(o=Gi(o,i,n,null),o.flags|=2),o.return=t,a.return=t,a.sibling=o,t.child=a,Bc(null,a),a=t.child,o=e.child.memoizedState,o===null?o=ag(n):(i=o.cachePool,i!==null?(d=Qt._currentValue,i=i.parent!==d?{parent:d,pool:d}:i):i=Iv(),o={baseLanes:o.baseLanes|n,cachePool:i}),a.memoizedState=o,a.childLanes=og(e,u,n),t.memoizedState=y0,Bc(e.child,a);return d!==null&&(n&62914560)===n&&(n&e.lanes)!==0&&Sd(t),Fl(t),n=e.child,e=n.sibling,n=pl(n,{mode:"visible",children:a.children}),n.return=t,n.sibling=null,e!==null&&(u=t.deletions,u===null?(t.deletions=[e],t.flags|=16):u.push(e)),t.child=n,t.memoizedState=null,n}function lg(e,t){return t=cd({mode:"visible",children:t},e.mode),t.return=e,e.child=t}function cd(e,t){return e=T(22,e,null,t),e.lanes=0,e}function ud(e,t,n){return hs(t,e.child,null,n),e=lg(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function mC(e,t,n,a,o,i,u,d){if(n){if(t.flags&256)return Fl(t),t.flags&=-257,ud(e,t,d);if(t.memoizedState!==null)return Wl(t),t.child=e.child,t.flags|=128,null;Wl(t);var h=o.fallback,y=t.mode,O=cd({mode:"visible",children:o.children},y);return h=Gi(h,y,d,null),h.flags|=2,O.return=t,h.return=t,O.sibling=h,t.child=O,hs(t,e.child,null,d),h=t.child,h.memoizedState=ag(d),h.childLanes=og(e,a,d),t.memoizedState=y0,Bc(null,h)}if(Fl(t),Uv(),(d&536870912)!==0&&Sd(t),Wg(i)){if(a=i.nextSibling&&i.nextSibling.dataset,a){h=a.dgst;var M=a.msg;y=a.stck,O=a.cstck}return i=M,u=h,o=y,a=O,h=u,y=i,O=o,o=a,h!==hN&&(a=y?Error(y):Error("The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering."),a.stack=O||"",a.digest=h,h=o===void 0?null:o,y={value:a,source:null,stack:h},typeof h==="string"&&Qy.set(a,y),Ac(y)),ud(e,t,d)}if(Gt||Ji(e,t,d,!1),a=(d&e.childLanes)!==0,Gt||a){if(Si.current!==null)return ud(e,t,d);if(a=Et,a!==null&&(h=it(a,d),h!==0&&h!==u.retryLane))throw u.retryLane=h,Rn(e,h),Ut(a,e,h),m0;return Fg(i)||Ed(),ud(e,t,d)}if(Fg(i))return t.flags|=192,t.child=e.child,null;return e=u.treeContext,Ct=Sa(i.nextSibling),sn=t,$e=!0,pi=null,Vo=!1,Ta=null,$a=!1,e!==null&&zv(t,e),t=lg(t,o.children),t.flags|=134221824,t}function Q1(e,t,n){e.lanes|=t;var a=e.alternate;a!==null&&(a.lanes|=t),Bf(e.return,t,n)}function X1(e){for(var t=null;e!==null;){var n=e.alternate;n!==null&&Jf(n)===null&&(t=e),e=e.sibling}return t}function fd(e,t,n,a,o,i){var u=e.memoizedState;u===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:a,tail:n,tailMode:o,treeForkCount:i}:(u.isBackwards=t,u.rendering=null,u.renderingStartTime=0,u.last=a,u.tail=n,u.tailMode=o,u.treeForkCount=i)}function ig(e){var t=e.child;for(e.child=null;t!==null;){var n=t.sibling;t.sibling=e.child,e.child=t,t=n}}function sg(e,t,n){var a=t.pendingProps,o=a.revealOrder,i=a.tail,u=a.children,d=Sn.current;if(t.flags&128)return xc(t,d),null;if((a=(d&_u)!==0)?(d=d&Ur|_u,t.flags|=128):d&=Ur,xc(t,d),d=o==null?"null":o,o!=null&&o!=="forwards"&&o!=="backwards"&&o!=="unstable_legacy-backwards"&&o!=="together"&&o!=="independent"&&!tO[d])if(tO[d]=!0,typeof o==="string")switch(o.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.',o,o.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.',o,o.toLowerCase());break;default:console.error('"%s" is not a supported revealOrder on <SuspenseList />. Did you mean "independent", "together", "forwards" or "backwards"?',o)}else console.error('%s is not a supported value for revealOrder on <SuspenseList />. Did you mean "independent", "together", "forwards" or "backwards"?',o);d=i==null?"null":i,g0[d]||i==null||(i!=="visible"&&i!=="collapsed"&&i!=="hidden"?(g0[d]=!0,console.error('"%s" is not a supported value for tail on <SuspenseList />. Did you mean "visible", "collapsed" or "hidden"?',i)):o!=null&&o!=="forwards"&&o!=="backwards"&&o!=="unstable_legacy-backwards"&&(g0[d]=!0,console.error('<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" (default) or "backwards". Did you mean to specify revealOrder="forwards"?',i)));e:if((o==null||o==="forwards"||o==="backwards"||o==="unstable_legacy-backwards")&&u!==void 0&&u!==null&&u!==!1)if(Pt(u)){for(d=0;d<u.length;d++)if(!Fv(u[d],d))break e}else if(d=Ye(u),typeof d==="function"){if(d=d.call(u))for(var h=d.next(),y=0;!h.done;h=d.next()){if(!Fv(h.value,y))break e;y++}}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?',o);if(o==="backwards"&&e!==null?(ig(e),Zt(e,t,u,n),ig(e)):Zt(e,t,u,n),$e?(Gl(),u=du):u=0,!a&&e!==null&&(e.flags&128)!==0)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&Q1(e,n,t);else if(e.tag===19)Q1(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}switch(o){case"backwards":n=X1(t.child),n===null?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null,ig(t)),fd(t,!0,o,null,i,u);break;case"unstable_legacy-backwards":n=null,o=t.child;for(t.child=null;o!==null;){if(e=o.alternate,e!==null&&Jf(e)===null){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}fd(t,!0,n,null,i,u);break;case"together":fd(t,!1,null,null,void 0,u);break;case"independent":t.memoizedState=null;break;default:n=X1(t.child),n===null?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),fd(t,!1,o,n,i,u)}return t.child}function J1(e,t,n){var{type:a,pendingProps:o}=t,i=o.value;return"value"in o||aO||(aO=!0,console.error("The `value` prop is required for the `<Context.Provider>`. Did you misspell it or forget to pass it?")),Xl(t,a,i),Zt(e,t,o.children,n),t.child}function yl(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),Qn=-1,Ti|=t.lanes,(n&t.childLanes)===0)if(e!==null){if(Ji(e,t,n,!1),(n&t.childLanes)===0)return null}else return null;if(e!==null&&t.child!==e.child)throw Error("Resuming work not yet implemented.");if(t.child!==null){e=t.child,n=pl(e,e.pendingProps),t.child=n;for(n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=pl(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function rg(e,t){if((e.lanes&t)!==0)return!0;return e=e.dependencies,e!==null&&Lf(e)?!0:!1}function gC(e,t,n){switch(t.tag){case 3:Q(t,t.stateNode.containerInfo),Xl(t,Qt,e.memoizedState.cache),Xi();break;case 27:case 5:se(t);break;case 4:Q(t,t.stateNode.containerInfo);break;case 10:Xl(t,t.type,t.memoizedProps.value);break;case 12:(n&t.childLanes)!==0&&(t.flags|=4),t.flags|=2048;var a=t.stateNode;a.effectDuration=-0,a.passiveEffectDuration=-0;break;case 31:if(t.memoizedState!==null)return t.flags|=128,Tm(t),null;break;case 13:if(a=t.memoizedState,a!==null){if(a.dehydrated!==null)return Fl(t),t.flags|=128,null;a=Ji(e,t,n,!1);var o=t.child.childLanes;if(a||(n&o)!==0)return G1(e,t,n);return Fl(t),e=yl(e,t,n),e!==null?e.sibling:null}Fl(t);break;case 19:if(t.flags&128)return sg(e,t,n);if(o=(e.flags&128)!==0,a=(n&t.childLanes)!==0,a||(Ji(e,t,n,!1),a=(n&t.childLanes)!==0),o){if(a)return sg(e,t,n);t.flags|=128}if(o=t.memoizedState,o!==null&&(o.rendering=null,o.tail=null,o.lastEffect=null),xc(t,Sn.current),a)break;else return null;case 22:return t.lanes=0,j1(e,t,n,t.pendingProps);case 24:Xl(t,Qt,e.memoizedState.cache)}return yl(e,t,n)}function cg(e,t,n){if(t._debugNeedsRemount&&e!==null){n=im(Qs(t.elementType),t.key,t.pendingProps,t._debugOwner||null,t.mode,t.lanes),n._debugStack=t._debugStack,n._debugTask=t._debugTask;var a=t.return;if(a===null)throw Error("Cannot swap the root fiber.");if(e.alternate=null,t.alternate=null,n.index=t.index,n.sibling=t.sibling,n.return=t.return,n.ref=t.ref,n._debugInfo=t._debugInfo,t===a.child)a.child=n;else{var o=a.child;if(o===null)throw Error("Expected parent to have a child.");for(;o.sibling!==t;)if(o=o.sibling,o===null)throw Error("Expected to find the previous sibling.");o.sibling=n}return t=a.deletions,t===null?(a.deletions=[e],a.flags|=16):t.push(e),n.flags|=134217730,n}if(e!==null)if(e.memoizedProps!==t.pendingProps||t.type!==e.type)Gt=!0;else{if(!rg(e,n)&&(t.flags&128)===0)return Gt=!1,gC(e,t,n);Gt=(e.flags&131072)!==0?!0:!1}else{if(Gt=!1,a=$e)Gl(),a=(t.flags&1048576)!==0;a&&(a=t.index,Gl(),Mv(t,du,a))}switch(t.lanes=0,t.tag){case 16:e:if(a=t.pendingProps,e=Jl(t.elementType),e=Qs(e),t.type=e,typeof e==="function")lm(e)?(a=es(e,a),t.tag=1,t=V1(null,t,e,a,n)):(t.tag=0,ng(t,e),t=tg(null,t,e,a,n));else{if(e!==void 0&&e!==null){if(o=e.$$typeof,o===xd){t.tag=11,t=B1(null,t,e,a,n);break e}else if(o===zd){t.tag=14,t=L1(null,t,e,a,n);break e}else if(o===Wa){t.tag=10,t.type=e,t=J1(null,t,n);break e}}throw t="",e!==null&&typeof e==="object"&&e.$$typeof===ea&&(t=" Did you wrap a component in React.lazy() more than once?"),n=Ce(e)||e,Error("Element type is invalid. Received a promise that resolves to: "+n+". Lazy element type must resolve to a class or function."+t)}return t;case 0:return tg(e,t,t.type,t.pendingProps,n);case 1:return a=t.type,o=es(a,t.pendingProps),V1(e,t,a,o,n);case 3:e:{if(Q(t,t.stateNode.containerInfo),e===null)throw Error("Should have a current fiber. This is a bug in React.");a=t.pendingProps;var i=t.memoizedState;o=i.element,vm(e,t),Mc(t,a,null,n);var u=t.memoizedState;if(a=u.cache,Xl(t,Qt,a),a!==i.cache&&dm(t,[Qt],n,!0),Dc(),a=u.element,i.isDehydrated)if(i={element:a,isDehydrated:!1,cache:u.cache},t.updateQueue.baseState=i,t.memoizedState=i,t.flags&256){t=Y1(e,t,a,n);break e}else if(a!==o){o=ha(Error("This root received an early update, before anything was able hydrate. Switched the entire root to client rendering."),t),Ac(o),t=Y1(e,t,a,n);break e}else{switch(e=t.stateNode.containerInfo,e.nodeType){case 9:e=e.body;break;default:e=e.nodeName==="HTML"?e.ownerDocument.body:e}Ct=Sa(e.firstChild),sn=t,$e=!0,pi=null,Vo=!1,Ta=null,$a=!0,n=Dw(t,null,a,n);for(t.child=n;n;)n.flags=n.flags&-3|134221824,n=n.sibling}else{if(Xi(),a===o){t=yl(e,t,n);break e}Zt(e,t,a,n)}t=t.child}return t;case 26:return Fs(e,t),e===null?(n=jE(t.type,null,t.pendingProps,null))?t.memoizedState=n:$e||(t.stateNode=yE(t.type,t.pendingProps,te(ii.current),t)):t.memoizedState=jE(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return se(t),e===null&&$e&&(a=te(ii.current),o=J(),a=t.stateNode=BE(t.type,t.pendingProps,a,o,!1),Vo||(o=pE(a,t.type,t.pendingProps,o),o!==null&&(Qi(t,0).serverProps=o)),sn=t,$a=!0,o=Ct,oi(t.type)?(V0=o,Ct=Sa(a.firstChild)):Ct=o),Zt(e,t,t.pendingProps.children,n),Fs(e,t),e===null&&(t.flags|=4194304),t.child;case 5:return e===null&&$e&&(i=J(),a=Zh(t.type,i.ancestorInfo),o=Ct,(u=!o)||(u=AR(o,t.type,t.pendingProps,$a),u!==null?(t.stateNode=u,Vo||(i=pE(u,t.type,t.pendingProps,i),i!==null&&(Qi(t,0).serverProps=i)),sn=t,Ct=Sa(u.firstChild),$a=!1,i=!0):i=!1,u=!i),u&&(a&&zf(t,o),Ql(t))),se(t),o=t.type,i=t.pendingProps,u=e!==null?e.memoizedProps:null,a=i.children,Jg(o,i)?a=null:u!==null&&Jg(o,u)&&(t.flags|=32),t.memoizedState!==null&&(o=Am(e,t,sC,null,null,n),Pr._currentValue=o),Fs(e,t),Zt(e,t,a,n),t.child;case 6:return e===null&&$e&&(n=t.pendingProps,e=J(),a=e.ancestorInfo.current,n=a!=null?Ef(n,a.tag,e.ancestorInfo.implicitRootScope):!0,e=Ct,(a=!e)||(a=CR(e,t.pendingProps,$a),a!==null?(t.stateNode=a,sn=t,Ct=null,a=!0):a=!1,a=!a),a&&(n&&zf(t,e),Ql(t))),null;case 13:return G1(e,t,n);case 4:return Q(t,t.stateNode.containerInfo),a=t.pendingProps,e===null?t.child=hs(t,null,a,n):Zt(e,t,a,n),t.child;case 11:return B1(e,t,t.type,t.pendingProps,n);case 7:return a=t.pendingProps,Fs(e,t),Zt(e,t,a,n),t.child;case 8:return Zt(e,t,t.pendingProps.children,n),t.child;case 12:return t.flags|=4,t.flags|=2048,a=t.stateNode,a.effectDuration=-0,a.passiveEffectDuration=-0,Zt(e,t,t.pendingProps.children,n),t.child;case 10:return J1(e,t,n);case 9:return o=t.type._context,a=t.pendingProps.children,typeof a!=="function"&&console.error("A context consumer was rendered with multiple children, or a child that isn't a function. A context consumer expects a single child that is a function. If you did pass a function, make sure there is no trailing or leading whitespace around it."),Ki(t),o=_t(o),a=n0(a,o,void 0),t.flags|=1,Zt(e,t,a,n),t.child;case 14:return L1(e,t,t.type,t.pendingProps,n);case 15:return H1(e,t,t.type,t.pendingProps,n);case 19:return sg(e,t,n);case 31:return hC(e,t,n);case 22:return j1(e,t,n,t.pendingProps);case 24:return Ki(t),a=_t(Qt),e===null?(o=gm(),o===null&&(o=Et,i=pm(),o.pooledCache=i,Zi(i),i!==null&&(o.pooledCacheLanes|=n),o=i),t.memoizedState={parent:a,cache:o},bm(t),Xl(t,Qt,o)):((e.lanes&n)!==0&&(vm(e,t),Mc(t,null,null,n),Dc()),o=e.memoizedState,i=t.memoizedState,o.parent!==a?(o={parent:a,cache:a},t.memoizedState=o,t.lanes===0&&(t.memoizedState=t.updateQueue.baseState=o),Xl(t,Qt,a)):(a=i.cache,Xl(t,Qt,a),a!==o.cache&&dm(t,[Qt],n,!0))),Zt(e,t,t.pendingProps.children,n),t.child;case 30:return t.stateNode===null&&(t.stateNode={autoName:null,paired:null,clones:null,ref:null}),a=t.pendingProps,a.name!=null&&a.name!=="auto"?t.flags|=e===null?18882560:18874368:$e&&xf(t),a.className!==void 0&&(o=typeof a.className==="string"?JSON.stringify(a.className):"{...}",nO[o]||(nO[o]=!0,console.error(`<ViewTransition> doesn't accept a "className" prop. It has been renamed to "default".
|
|
141
141
|
- <ViewTransition className=%s>
|
|
142
|
-
+ <ViewTransition default=%s>`,o,o))),e!==null&&e.memoizedProps.name!==a.name?t.flags|=4194816:Fs(e,t),Zt(e,t,a.children,n),t.child;case 29:throw t.pendingProps}throw Error("Unknown unit of work tag ("+t.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function bl(e){e.flags|=4}function ug(e,t,n,a,o){var i;if(i=(e.mode&lw)!==_e)i=n===null?VE(t,a):VE(t,a)&&(a.src!==n.src||a.srcSet!==n.srcSet);if(i){if(e.flags|=16777216,(o&335544128)===o)if(e.stateNode.complete)e.flags|=8192;else if(LS())e.flags|=8192;else throw ps=lp,o0}else e.flags&=-16777217}function K1(e,t){if(t.type!=="stylesheet"||(t.state.loading&Ya)!==Rs)e.flags&=-16777217;else if(e.flags|=16777216,!YE(t))if(LS())e.flags|=8192;else throw ps=lp,o0}function dd(e,t){t!==null&&(e.flags|=4),e.flags&16384&&(t=e.tag!==22?cl():536870912,e.lanes|=t,Ss|=t)}function Lc(e,t){if(!$e)switch(e.tailMode){case"visible":break;case"collapsed":for(var n=e.tail,a=null;n!==null;)n.alternate!==null&&(a=n),n=n.sibling;a===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:a.sibling=null;break;default:t=e.tail;for(n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null}}function vt(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,a=0;if(t)if((e.mode&je)!==_e){for(var{selfBaseDuration:o,child:i}=e;i!==null;)n|=i.lanes|i.childLanes,a|=i.subtreeFlags&1206910976,a|=i.flags&1206910976,o+=i.treeBaseDuration,i=i.sibling;e.treeBaseDuration=o}else for(o=e.child;o!==null;)n|=o.lanes|o.childLanes,a|=o.subtreeFlags&1206910976,a|=o.flags&1206910976,o.return=e,o=o.sibling;else if((e.mode&je)!==_e){o=e.actualDuration,i=e.selfBaseDuration;for(var u=e.child;u!==null;)n|=u.lanes|u.childLanes,a|=u.subtreeFlags,a|=u.flags,o+=u.actualDuration,i+=u.treeBaseDuration,u=u.sibling;e.actualDuration=o,e.treeBaseDuration=i}else for(o=e.child;o!==null;)n|=o.lanes|o.childLanes,a|=o.subtreeFlags,a|=o.flags,o.return=e,o=o.sibling;return e.subtreeFlags|=a,e.childLanes=n,t}function yC(e,t,n){var a=t.pendingProps;switch(cm(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return vt(t),null;case 1:return vt(t),null;case 3:if(n=t.stateNode,a=null,e!==null&&(a=e.memoizedState.cache),t.memoizedState.cache!==a&&(t.flags|=2048),ml(Qt,t),Z(t),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),e===null||e.child===null)Xs(t)?(fm(),bl(t)):e===null||e.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,um());return vt(t),null;case 26:var{type:o,memoizedState:i}=t;return e===null?(bl(t),i!==null?(vt(t),K1(t,i)):(vt(t),ug(t,o,null,a,n))):i?i!==e.memoizedState?(bl(t),vt(t),K1(t,i)):(vt(t),t.flags&=-16777217):(e=e.memoizedProps,e!==a&&bl(t),vt(t),ug(t,o,e,a,n)),null;case 27:if(Re(t),n=te(ii.current),o=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==a&&bl(t);else{if(!a){if(t.stateNode===null)throw Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");return vt(t),t.subtreeFlags&=-33554433,null}e=J(),Xs(t)?Bv(t,e):(e=kE(o,a,n,e,!0),t.stateNode=e,bl(t))}return vt(t),t.subtreeFlags&=-33554433,null;case 5:if(Re(t),o=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==a&&bl(t);else{if(!a){if(t.stateNode===null)throw Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");return vt(t),t.subtreeFlags&=-33554433,null}var u=J();if(Xs(t))Bv(t,u);else{switch(i=te(ii.current),Zh(o,u.ancestorInfo),u=u.context,i=Qc(i),u){case Kr:i=i.createElementNS(yr,o);break;case Lp:i=i.createElementNS(Id,o);break;default:switch(o){case"svg":i=i.createElementNS(yr,o);break;case"math":i=i.createElementNS(Id,o);break;case"script":i=i.createElement("div"),CO||JC(a)||(console.error("Encountered a script tag while rendering React component. Scripts inside React components are never executed when rendering on the client. Consider using template tag instead (https://developer.mozilla.org/en-US/docs/Web/HTML/Element/template)."),CO=!0),i.innerHTML="<script></script>",i=i.removeChild(i.firstChild);break;case"select":i=typeof a.is==="string"?i.createElement("select",{is:a.is}):i.createElement("select"),a.multiple?i.multiple=!0:a.size&&(i.size=a.size);break;default:i=typeof a.is==="string"?i.createElement(o,{is:a.is}):i.createElement(o),o.indexOf("-")===-1&&(o!==o.toLowerCase()&&console.error("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",o),Object.prototype.toString.call(i)!=="[object HTMLUnknownElement]"||Ba.call(RO,o)||(RO[o]=!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.",o)))}}i[bn]=t,i[Vn]=a;e:for(u=t.child;u!==null;){if(u.tag===5||u.tag===6)i.appendChild(u.stateNode);else if(u.tag!==4&&u.tag!==27&&u.child!==null){u.child.return=u,u=u.child;continue}if(u===t)break e;for(;u.sibling===null;){if(u.return===null||u.return===t)break e;u=u.return}u.sibling.return=u.return,u=u.sibling}t.stateNode=i;e:switch(yn(i,o,a),o){case"button":case"input":case"select":case"textarea":a=!!a.autoFocus;break e;case"img":a=!0;break e;default:a=!1}a&&bl(t)}}return vt(t),t.subtreeFlags&=-33554433,ug(t,t.type,e===null?null:e.memoizedProps,t.pendingProps,n),null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==a&&bl(t);else{if(typeof a!=="string"&&t.stateNode===null)throw Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");if(e=te(ii.current),n=J(),Xs(t)){if(e=t.stateNode,n=t.memoizedProps,o=!Vo,a=null,i=sn,i!==null)switch(i.tag){case 3:o&&(o=UE(e,n,a),o!==null&&(Qi(t,0).serverProps=o));break;case 27:case 5:a=i.memoizedProps,o&&(o=UE(e,n,a),o!==null&&(Qi(t,0).serverProps=o))}e[bn]=t,e=e.nodeValue===n||a!==null&&a.suppressHydrationWarning===!0||rE(e.nodeValue,n)?!0:!1,e||Ql(t,!0)}else o=n.ancestorInfo.current,o!=null&&Ef(a,o.tag,n.ancestorInfo.implicitRootScope),e=Qc(e).createTextNode(a),e[bn]=t,t.stateNode=e}return vt(t),null;case 31:if(n=t.memoizedState,e===null||e.memoizedState!==null){if(a=Xs(t),n!==null){if(e===null){if(!a)throw Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(e=t.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error("Expected to have a hydrated activity instance. This error is likely caused by a bug in React. Please file an issue.");e[bn]=t,vt(t),(t.mode&je)!==_e&&n!==null&&(e=t.child,e!==null&&(t.treeBaseDuration-=e.treeBaseDuration))}else fm(),Xi(),(t.flags&128)===0&&(n=t.memoizedState=null),t.flags|=4,vt(t),(t.mode&je)!==_e&&n!==null&&(e=t.child,e!==null&&(t.treeBaseDuration-=e.treeBaseDuration));e=!1}else n=um(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=n),e=!0;if(!e){if(t.flags&256)return ya(t),t;return ya(t),null}if((t.flags&128)!==0)throw Error("Client rendering an Activity suspended it again. This is a bug in React.")}return vt(t),null;case 13:if(a=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(o=a,i=Xs(t),o!==null&&o.dehydrated!==null){if(e===null){if(!i)throw Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(i=t.memoizedState,i=i!==null?i.dehydrated:null,!i)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");i[bn]=t,vt(t),(t.mode&je)!==_e&&o!==null&&(o=t.child,o!==null&&(t.treeBaseDuration-=o.treeBaseDuration))}else fm(),Xi(),(t.flags&128)===0&&(o=t.memoizedState=null),t.flags|=4,vt(t),(t.mode&je)!==_e&&o!==null&&(o=t.child,o!==null&&(t.treeBaseDuration-=o.treeBaseDuration));o=!1}else o=um(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=o),o=!0;if(!o){if(t.flags&256)return ya(t),t;return ya(t),null}}if(ya(t),(t.flags&128)!==0)return t.lanes=n,(t.mode&je)!==_e&&_c(t),t;return n=a!==null,e=e!==null&&e.memoizedState!==null,n&&(a=t.child,o=null,a.alternate!==null&&a.alternate.memoizedState!==null&&a.alternate.memoizedState.cachePool!==null&&(o=a.alternate.memoizedState.cachePool.pool),i=null,a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(i=a.memoizedState.cachePool.pool),i!==o&&(a.flags|=2048)),n!==e&&n&&(t.child.flags|=8192),dd(t,t.updateQueue),vt(t),(t.mode&je)!==_e&&n&&(e=t.child,e!==null&&(t.treeBaseDuration-=e.treeBaseDuration)),null;case 4:return Z(t),e===null&&Ig(t.stateNode.containerInfo),t.flags|=67108864,vt(t),null;case 10:return ml(t.type,t),vt(t),null;case 19:if(wm(t),a=t.memoizedState,a===null)return vt(t),null;if(o=(t.flags&128)!==0,i=a.rendering,i===null)if(o)Lc(a,!1);else{if(Mt!==Ml||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(i=Jf(e),i!==null){t.flags|=128,Lc(a,!1),e=i.updateQueue,t.updateQueue=e,dd(t,e),t.subtreeFlags=0,e=n;for(n=t.child;n!==null;)Nv(n,e),n=n.sibling;return xc(t,Sn.current&Ur|_u),$e&&hl(t,a.treeForkCount),t.child}e=e.sibling}a.tail!==null&&Vt()>Tp&&(t.flags|=128,o=!0,Lc(a,!1),t.lanes=4194304)}else{if(!o)if(e=Jf(i),e!==null){if(t.flags|=128,o=!0,e=e.updateQueue,t.updateQueue=e,dd(t,e),Lc(a,!0),a.tail===null&&a.tailMode!=="collapsed"&&a.tailMode!=="visible"&&!i.alternate&&!$e)return vt(t),null}else 2*Vt()-a.renderingStartTime>Tp&&n!==536870912&&(t.flags|=128,o=!0,Lc(a,!1),t.lanes=4194304);a.isBackwards?(i.sibling=t.child,t.child=i):(e=a.last,e!==null?e.sibling=i:t.child=i,a.last=i)}if(a.tail!==null){e=a.tail;e:{for(n=e;n!==null;){if(n.alternate!==null){n=!1;break e}n=n.sibling}n=!0}return a.rendering=e,a.tail=e.sibling,a.renderingStartTime=Vt(),e.sibling=null,i=Sn.current,i=o?i&Ur|_u:i&Ur,a.tailMode==="visible"||a.tailMode==="collapsed"||!n||$e?xc(t,i):(n=i,q(vn,t,t),q(Sn,n,t),Dn===null&&(Dn=t)),$e&&hl(t,a.treeForkCount),e}return vt(t),null;case 22:case 23:return ya(t),Em(t),a=t.memoizedState!==null,e!==null?e.memoizedState!==null!==a&&(t.flags|=8192):a&&(t.flags|=8192),a?(n&536870912)!==0&&(t.flags&128)===0&&(vt(t),t.subtreeFlags&6&&(t.flags|=8192)):vt(t),n=t.updateQueue,n!==null&&dd(t,n.retryQueue),n=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(n=e.memoizedState.cachePool.pool),a=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(a=t.memoizedState.cachePool.pool),a!==n&&(t.flags|=2048),e!==null&&Se(us,t),null;case 24:return n=null,e!==null&&(n=e.memoizedState.cache),t.memoizedState.cache!==n&&(t.flags|=2048),ml(Qt,t),vt(t),null;case 25:return null;case 30:return t.flags|=33554432,vt(t),null}throw Error("Unknown unit of work tag ("+t.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function bC(e,t){switch(cm(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,(t.mode&je)!==_e&&_c(t),t):null;case 3:return ml(Qt,t),Z(t),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return Re(t),null;case 31:if(t.memoizedState!==null){if(ya(t),t.alternate===null)throw Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");Xi()}return e=t.flags,e&65536?(t.flags=e&-65537|128,(t.mode&je)!==_e&&_c(t),t):null;case 13:if(ya(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");Xi()}return e=t.flags,e&65536?(t.flags=e&-65537|128,(t.mode&je)!==_e&&_c(t),t):null;case 19:return wm(t),e=t.flags,e&65536?(t.flags=e&-65537|128,e=t.memoizedState,e!==null&&(e.rendering=null,e.tail=null),t.flags|=4,t):null;case 4:return Z(t),null;case 10:return ml(t.type,t),null;case 22:case 23:return ya(t),Em(t),e!==null&&Se(us,t),e=t.flags,e&65536?(t.flags=e&-65537|128,(t.mode&je)!==_e&&_c(t),t):null;case 24:return ml(Qt,t),null;case 25:return null;default:return null}}function Z1(e,t){switch(cm(t),t.tag){case 3:ml(Qt,t),Z(t);break;case 26:case 27:case 5:Re(t);break;case 4:Z(t);break;case 31:t.memoizedState!==null&&ya(t);break;case 13:ya(t);break;case 19:wm(t);break;case 10:ml(t.type,t);break;case 22:case 23:ya(t),Em(t),e!==null&&Se(us,t);break;case 24:ml(Qt,t)}}function xo(e){return(e.mode&je)!==_e}function P1(e,t){xo(e)?(Mo(),Hc(t,e),Do()):Hc(t,e)}function fg(e,t,n){xo(e)?(Mo(),Ws(n,e,t),Do()):Ws(n,e,t)}function Hc(e,t){try{var n=t.updateQueue,a=n!==null?n.lastEffect:null;if(a!==null){var o=a.next;n=o;do{if((n.tag&e)===e&&(a=void 0,(e&Xn)!==Nu&&(Gr=!0),a=oe(t,gN,n),(e&Xn)!==Nu&&(Gr=!1),a!==void 0&&typeof a!=="function")){var i=void 0;i=(n.tag&wa)!==0?"useLayoutEffect":(n.tag&Xn)!==0?"useInsertionEffect":"useEffect";var u=void 0;u=a===null?" You returned null. If your effect does not require clean up, return undefined (or nothing).":typeof a.then==="function"?`
|
|
142
|
+
+ <ViewTransition default=%s>`,o,o))),e!==null&&e.memoizedProps.name!==a.name?t.flags|=4194816:Fs(e,t),Zt(e,t,a.children,n),t.child;case 29:throw t.pendingProps}throw Error("Unknown unit of work tag ("+t.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function bl(e){e.flags|=4}function ug(e,t,n,a,o){var i;if(i=(e.mode&lw)!==_e)i=n===null?VE(t,a):VE(t,a)&&(a.src!==n.src||a.srcSet!==n.srcSet);if(i){if(e.flags|=16777216,(o&335544128)===o)if(e.stateNode.complete)e.flags|=8192;else if(LS())e.flags|=8192;else throw ps=lp,o0}else e.flags&=-16777217}function K1(e,t){if(t.type!=="stylesheet"||(t.state.loading&Ya)!==Rs)e.flags&=-16777217;else if(e.flags|=16777216,!YE(t))if(LS())e.flags|=8192;else throw ps=lp,o0}function dd(e,t){t!==null&&(e.flags|=4),e.flags&16384&&(t=e.tag!==22?cl():536870912,e.lanes|=t,Ss|=t)}function Lc(e,t){if(!$e)switch(e.tailMode){case"visible":break;case"collapsed":for(var n=e.tail,a=null;n!==null;)n.alternate!==null&&(a=n),n=n.sibling;a===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:a.sibling=null;break;default:t=e.tail;for(n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null}}function vt(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,a=0;if(t)if((e.mode&je)!==_e){for(var{selfBaseDuration:o,child:i}=e;i!==null;)n|=i.lanes|i.childLanes,a|=i.subtreeFlags&1206910976,a|=i.flags&1206910976,o+=i.treeBaseDuration,i=i.sibling;e.treeBaseDuration=o}else for(o=e.child;o!==null;)n|=o.lanes|o.childLanes,a|=o.subtreeFlags&1206910976,a|=o.flags&1206910976,o.return=e,o=o.sibling;else if((e.mode&je)!==_e){o=e.actualDuration,i=e.selfBaseDuration;for(var u=e.child;u!==null;)n|=u.lanes|u.childLanes,a|=u.subtreeFlags,a|=u.flags,o+=u.actualDuration,i+=u.treeBaseDuration,u=u.sibling;e.actualDuration=o,e.treeBaseDuration=i}else for(o=e.child;o!==null;)n|=o.lanes|o.childLanes,a|=o.subtreeFlags,a|=o.flags,o.return=e,o=o.sibling;return e.subtreeFlags|=a,e.childLanes=n,t}function yC(e,t,n){var a=t.pendingProps;switch(cm(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return vt(t),null;case 1:return vt(t),null;case 3:if(n=t.stateNode,a=null,e!==null&&(a=e.memoizedState.cache),t.memoizedState.cache!==a&&(t.flags|=2048),ml(Qt,t),Z(t),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),e===null||e.child===null)Xs(t)?(fm(),bl(t)):e===null||e.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,um());return vt(t),null;case 26:var{type:o,memoizedState:i}=t;return e===null?(bl(t),i!==null?(vt(t),K1(t,i)):(vt(t),ug(t,o,null,a,n))):i?i!==e.memoizedState?(bl(t),vt(t),K1(t,i)):(vt(t),t.flags&=-16777217):(e=e.memoizedProps,e!==a&&bl(t),vt(t),ug(t,o,e,a,n)),null;case 27:if(Re(t),n=te(ii.current),o=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==a&&bl(t);else{if(!a){if(t.stateNode===null)throw Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");return vt(t),t.subtreeFlags&=-33554433,null}e=J(),Xs(t)?kv(t,e):(e=BE(o,a,n,e,!0),t.stateNode=e,bl(t))}return vt(t),t.subtreeFlags&=-33554433,null;case 5:if(Re(t),o=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==a&&bl(t);else{if(!a){if(t.stateNode===null)throw Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");return vt(t),t.subtreeFlags&=-33554433,null}var u=J();if(Xs(t))kv(t,u);else{switch(i=te(ii.current),Zh(o,u.ancestorInfo),u=u.context,i=Qc(i),u){case Kr:i=i.createElementNS(yr,o);break;case Lp:i=i.createElementNS(Id,o);break;default:switch(o){case"svg":i=i.createElementNS(yr,o);break;case"math":i=i.createElementNS(Id,o);break;case"script":i=i.createElement("div"),CO||JC(a)||(console.error("Encountered a script tag while rendering React component. Scripts inside React components are never executed when rendering on the client. Consider using template tag instead (https://developer.mozilla.org/en-US/docs/Web/HTML/Element/template)."),CO=!0),i.innerHTML="<script></script>",i=i.removeChild(i.firstChild);break;case"select":i=typeof a.is==="string"?i.createElement("select",{is:a.is}):i.createElement("select"),a.multiple?i.multiple=!0:a.size&&(i.size=a.size);break;default:i=typeof a.is==="string"?i.createElement(o,{is:a.is}):i.createElement(o),o.indexOf("-")===-1&&(o!==o.toLowerCase()&&console.error("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",o),Object.prototype.toString.call(i)!=="[object HTMLUnknownElement]"||ka.call(RO,o)||(RO[o]=!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.",o)))}}i[bn]=t,i[Vn]=a;e:for(u=t.child;u!==null;){if(u.tag===5||u.tag===6)i.appendChild(u.stateNode);else if(u.tag!==4&&u.tag!==27&&u.child!==null){u.child.return=u,u=u.child;continue}if(u===t)break e;for(;u.sibling===null;){if(u.return===null||u.return===t)break e;u=u.return}u.sibling.return=u.return,u=u.sibling}t.stateNode=i;e:switch(yn(i,o,a),o){case"button":case"input":case"select":case"textarea":a=!!a.autoFocus;break e;case"img":a=!0;break e;default:a=!1}a&&bl(t)}}return vt(t),t.subtreeFlags&=-33554433,ug(t,t.type,e===null?null:e.memoizedProps,t.pendingProps,n),null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==a&&bl(t);else{if(typeof a!=="string"&&t.stateNode===null)throw Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");if(e=te(ii.current),n=J(),Xs(t)){if(e=t.stateNode,n=t.memoizedProps,o=!Vo,a=null,i=sn,i!==null)switch(i.tag){case 3:o&&(o=UE(e,n,a),o!==null&&(Qi(t,0).serverProps=o));break;case 27:case 5:a=i.memoizedProps,o&&(o=UE(e,n,a),o!==null&&(Qi(t,0).serverProps=o))}e[bn]=t,e=e.nodeValue===n||a!==null&&a.suppressHydrationWarning===!0||rE(e.nodeValue,n)?!0:!1,e||Ql(t,!0)}else o=n.ancestorInfo.current,o!=null&&Ef(a,o.tag,n.ancestorInfo.implicitRootScope),e=Qc(e).createTextNode(a),e[bn]=t,t.stateNode=e}return vt(t),null;case 31:if(n=t.memoizedState,e===null||e.memoizedState!==null){if(a=Xs(t),n!==null){if(e===null){if(!a)throw Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(e=t.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error("Expected to have a hydrated activity instance. This error is likely caused by a bug in React. Please file an issue.");e[bn]=t,vt(t),(t.mode&je)!==_e&&n!==null&&(e=t.child,e!==null&&(t.treeBaseDuration-=e.treeBaseDuration))}else fm(),Xi(),(t.flags&128)===0&&(n=t.memoizedState=null),t.flags|=4,vt(t),(t.mode&je)!==_e&&n!==null&&(e=t.child,e!==null&&(t.treeBaseDuration-=e.treeBaseDuration));e=!1}else n=um(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=n),e=!0;if(!e){if(t.flags&256)return ya(t),t;return ya(t),null}if((t.flags&128)!==0)throw Error("Client rendering an Activity suspended it again. This is a bug in React.")}return vt(t),null;case 13:if(a=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(o=a,i=Xs(t),o!==null&&o.dehydrated!==null){if(e===null){if(!i)throw Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(i=t.memoizedState,i=i!==null?i.dehydrated:null,!i)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");i[bn]=t,vt(t),(t.mode&je)!==_e&&o!==null&&(o=t.child,o!==null&&(t.treeBaseDuration-=o.treeBaseDuration))}else fm(),Xi(),(t.flags&128)===0&&(o=t.memoizedState=null),t.flags|=4,vt(t),(t.mode&je)!==_e&&o!==null&&(o=t.child,o!==null&&(t.treeBaseDuration-=o.treeBaseDuration));o=!1}else o=um(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=o),o=!0;if(!o){if(t.flags&256)return ya(t),t;return ya(t),null}}if(ya(t),(t.flags&128)!==0)return t.lanes=n,(t.mode&je)!==_e&&_c(t),t;return n=a!==null,e=e!==null&&e.memoizedState!==null,n&&(a=t.child,o=null,a.alternate!==null&&a.alternate.memoizedState!==null&&a.alternate.memoizedState.cachePool!==null&&(o=a.alternate.memoizedState.cachePool.pool),i=null,a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(i=a.memoizedState.cachePool.pool),i!==o&&(a.flags|=2048)),n!==e&&n&&(t.child.flags|=8192),dd(t,t.updateQueue),vt(t),(t.mode&je)!==_e&&n&&(e=t.child,e!==null&&(t.treeBaseDuration-=e.treeBaseDuration)),null;case 4:return Z(t),e===null&&Ig(t.stateNode.containerInfo),t.flags|=67108864,vt(t),null;case 10:return ml(t.type,t),vt(t),null;case 19:if(wm(t),a=t.memoizedState,a===null)return vt(t),null;if(o=(t.flags&128)!==0,i=a.rendering,i===null)if(o)Lc(a,!1);else{if(Mt!==Ml||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(i=Jf(e),i!==null){t.flags|=128,Lc(a,!1),e=i.updateQueue,t.updateQueue=e,dd(t,e),t.subtreeFlags=0,e=n;for(n=t.child;n!==null;)Nv(n,e),n=n.sibling;return xc(t,Sn.current&Ur|_u),$e&&hl(t,a.treeForkCount),t.child}e=e.sibling}a.tail!==null&&Vt()>Tp&&(t.flags|=128,o=!0,Lc(a,!1),t.lanes=4194304)}else{if(!o)if(e=Jf(i),e!==null){if(t.flags|=128,o=!0,e=e.updateQueue,t.updateQueue=e,dd(t,e),Lc(a,!0),a.tail===null&&a.tailMode!=="collapsed"&&a.tailMode!=="visible"&&!i.alternate&&!$e)return vt(t),null}else 2*Vt()-a.renderingStartTime>Tp&&n!==536870912&&(t.flags|=128,o=!0,Lc(a,!1),t.lanes=4194304);a.isBackwards?(i.sibling=t.child,t.child=i):(e=a.last,e!==null?e.sibling=i:t.child=i,a.last=i)}if(a.tail!==null){e=a.tail;e:{for(n=e;n!==null;){if(n.alternate!==null){n=!1;break e}n=n.sibling}n=!0}return a.rendering=e,a.tail=e.sibling,a.renderingStartTime=Vt(),e.sibling=null,i=Sn.current,i=o?i&Ur|_u:i&Ur,a.tailMode==="visible"||a.tailMode==="collapsed"||!n||$e?xc(t,i):(n=i,q(vn,t,t),q(Sn,n,t),Dn===null&&(Dn=t)),$e&&hl(t,a.treeForkCount),e}return vt(t),null;case 22:case 23:return ya(t),Em(t),a=t.memoizedState!==null,e!==null?e.memoizedState!==null!==a&&(t.flags|=8192):a&&(t.flags|=8192),a?(n&536870912)!==0&&(t.flags&128)===0&&(vt(t),t.subtreeFlags&6&&(t.flags|=8192)):vt(t),n=t.updateQueue,n!==null&&dd(t,n.retryQueue),n=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(n=e.memoizedState.cachePool.pool),a=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(a=t.memoizedState.cachePool.pool),a!==n&&(t.flags|=2048),e!==null&&Se(us,t),null;case 24:return n=null,e!==null&&(n=e.memoizedState.cache),t.memoizedState.cache!==n&&(t.flags|=2048),ml(Qt,t),vt(t),null;case 25:return null;case 30:return t.flags|=33554432,vt(t),null}throw Error("Unknown unit of work tag ("+t.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function bC(e,t){switch(cm(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,(t.mode&je)!==_e&&_c(t),t):null;case 3:return ml(Qt,t),Z(t),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return Re(t),null;case 31:if(t.memoizedState!==null){if(ya(t),t.alternate===null)throw Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");Xi()}return e=t.flags,e&65536?(t.flags=e&-65537|128,(t.mode&je)!==_e&&_c(t),t):null;case 13:if(ya(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");Xi()}return e=t.flags,e&65536?(t.flags=e&-65537|128,(t.mode&je)!==_e&&_c(t),t):null;case 19:return wm(t),e=t.flags,e&65536?(t.flags=e&-65537|128,e=t.memoizedState,e!==null&&(e.rendering=null,e.tail=null),t.flags|=4,t):null;case 4:return Z(t),null;case 10:return ml(t.type,t),null;case 22:case 23:return ya(t),Em(t),e!==null&&Se(us,t),e=t.flags,e&65536?(t.flags=e&-65537|128,(t.mode&je)!==_e&&_c(t),t):null;case 24:return ml(Qt,t),null;case 25:return null;default:return null}}function Z1(e,t){switch(cm(t),t.tag){case 3:ml(Qt,t),Z(t);break;case 26:case 27:case 5:Re(t);break;case 4:Z(t);break;case 31:t.memoizedState!==null&&ya(t);break;case 13:ya(t);break;case 19:wm(t);break;case 10:ml(t.type,t);break;case 22:case 23:ya(t),Em(t),e!==null&&Se(us,t);break;case 24:ml(Qt,t)}}function xo(e){return(e.mode&je)!==_e}function P1(e,t){xo(e)?(Mo(),Hc(t,e),Do()):Hc(t,e)}function fg(e,t,n){xo(e)?(Mo(),Ws(n,e,t),Do()):Ws(n,e,t)}function Hc(e,t){try{var n=t.updateQueue,a=n!==null?n.lastEffect:null;if(a!==null){var o=a.next;n=o;do{if((n.tag&e)===e&&(a=void 0,(e&Xn)!==Nu&&(Gr=!0),a=oe(t,gN,n),(e&Xn)!==Nu&&(Gr=!1),a!==void 0&&typeof a!=="function")){var i=void 0;i=(n.tag&wa)!==0?"useLayoutEffect":(n.tag&Xn)!==0?"useInsertionEffect":"useEffect";var u=void 0;u=a===null?" You returned null. If your effect does not require clean up, return undefined (or nothing).":typeof a.then==="function"?`
|
|
143
143
|
|
|
144
144
|
It looks like you wrote `+i+`(async () => ...) or returned a Promise. Instead, write the async function inside your effect and call it immediately:
|
|
145
145
|
|
|
@@ -152,11 +152,11 @@ It looks like you wrote `+i+`(async () => ...) or returned a Promise. Instead, w
|
|
|
152
152
|
fetchData();
|
|
153
153
|
}, [someId]); // Or [] if effect doesn't need props or state
|
|
154
154
|
|
|
155
|
-
Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fetching`:" You returned: "+a,oe(t,function(d,h){console.error("%s must not return anything besides a function, which is used for clean-up.%s",d,h)},i,u)}n=n.next}while(n!==o)}}catch(d){ct(t,t.return,d)}}function Ws(e,t,n){try{var a=t.updateQueue,o=a!==null?a.lastEffect:null;if(o!==null){var i=o.next;a=i;do{if((a.tag&e)===e){var u=a.inst,d=u.destroy;d!==void 0&&(u.destroy=void 0,(e&Xn)!==Nu&&(Gr=!0),o=t,oe(o,yN,o,n,d),(e&Xn)!==Nu&&(Gr=!1))}a=a.next}while(a!==i)}}catch(h){ct(t,t.return,h)}}function F1(e,t){xo(e)?(Mo(),Hc(t,e),Do()):Hc(t,e)}function dg(e,t,n){xo(e)?(Mo(),Ws(n,e,t),Do()):Ws(n,e,t)}function W1(e){var t=e.updateQueue;if(t!==null){var n=e.stateNode;e.type.defaultProps||"ref"in e.memoizedProps||Hr||(n.props!==e.memoizedProps&&console.error("Expected %s props to match memoized props before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",L(e)||"instance"),n.state!==e.memoizedState&&console.error("Expected %s state to match memoized state before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",L(e)||"instance"));try{oe(e,e1,t,n)}catch(a){ct(e,e.return,a)}}}function vC(e,t,n){return e.getSnapshotBeforeUpdate(t,n)}function SC(e,t){var n=t.memoizedProps,a=t.memoizedState;t=e.stateNode,e.type.defaultProps||"ref"in e.memoizedProps||Hr||(t.props!==e.memoizedProps&&console.error("Expected %s props to match memoized props before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",L(e)||"instance"),t.state!==e.memoizedState&&console.error("Expected %s state to match memoized state before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",L(e)||"instance"));try{var o=es(e.type,n),i=oe(e,vC,t,o,a);n=oO,i!==void 0||n.has(e.type)||(n.add(e.type),oe(e,function(){console.error("%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.",L(e))})),t.__reactInternalSnapshotBeforeUpdate=i}catch(u){ct(e,e.return,u)}}function eS(e,t,n){n.props=es(e.type,e.memoizedProps),n.state=e.memoizedState,xo(e)?(Mo(),oe(e,Tw,e,t,n),Do()):oe(e,Tw,e,t,n)}function EC(e){var t=e.ref;if(t!==null){switch(e.tag){case 26:case 27:case 5:var n=e.stateNode;break;case 30:n=e.stateNode;var a=fl(e.memoizedProps,n);if(n.ref===null||n.ref.name!==a)n.ref=AE(a);n=n.ref;break;case 7:e.stateNode===null&&(n=new va(e),ie(e,wR,n),e.stateNode=n),n=e.stateNode;break;default:n=e.stateNode}if(typeof t==="function")if(xo(e))try{Mo(),e.refCleanup=t(n)}finally{Do()}else e.refCleanup=t(n);else typeof t==="string"?console.error("String refs are no longer supported."):t.hasOwnProperty("current")||console.error("Unexpected ref object provided for %s. Use either a ref-setter function or React.createRef().",L(e)),t.current=n}}function zo(e,t){try{oe(e,EC,e)}catch(n){ct(e,t,n)}}function gn(e,t){var n=e.ref,a=e.refCleanup;if(n!==null)if(typeof a==="function")try{if(xo(e))try{Mo(),oe(e,a)}finally{Do(e)}else oe(e,a)}catch(o){ct(e,t,o)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof n==="function")try{if(xo(e))try{Mo(),oe(e,n,null)}finally{Do(e)}else oe(e,n,null)}catch(o){ct(e,t,o)}else n.current=null}function tS(e,t,n,a){var o=e.memoizedProps,i=o.id,u=o.onCommit;o=o.onRender,t=t===null?"mount":"update",tp&&(t="nested-update"),typeof o==="function"&&o(i,t,e.actualDuration,e.treeBaseDuration,e.actualStartTime,n),typeof u==="function"&&u(i,t,a,n)}function TC(e,t,n,a){var o=e.memoizedProps;e=o.id,o=o.onPostCommit,t=t===null?"mount":"update",tp&&(t="nested-update"),typeof o==="function"&&o(e,t,a,n)}function pd(e,t){if((e.tag===5||e.tag===27||e.tag===6)&&e.alternate===null&&t!==null)for(var n=0;n<t.length;n++)ME(e.stateNode,t[n])}function nS(e){for(var t=e.return;t!==null;){if(hg(t)&&ME(e.stateNode,t.stateNode),pg(t))break;t=t.return}}function jc(e){for(var t=e.return;t!==null;){if(hg(t)&&OR(e.stateNode,t.stateNode),pg(t))break;t=t.return}}function pg(e){return e.tag===5||e.tag===3||e.tag===27}function hg(e){return e&&e.tag===7&&e.stateNode!==null}function mg(e){var{type:t,memoizedProps:n,stateNode:a}=e;try{oe(e,PC,a,t,n,e)}catch(o){ct(e,e.return,o)}}function gg(e,t,n){try{oe(e,WC,e.stateNode,e.type,n,t,e)}catch(a){ct(e,e.return,a)}}function aS(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&oi(e.type)||e.tag===4}function yg(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||aS(e.return))return null;e=e.return}e.sibling.return=e.return;for(e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.tag===27&&oi(e.type))continue e;if(e.flags&2)continue e;if(e.child===null||e.tag===4)continue e;else e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function bg(e,t,n,a){var o=e.tag;if(o===5||o===6)o=e.stateNode,t?(vE(n),(n.nodeType===9?n.body:n.nodeName==="HTML"?n.ownerDocument.body:n).insertBefore(o,t)):(vE(n),t=n.nodeType===9?n.body:n.nodeName==="HTML"?n.ownerDocument.body:n,t.appendChild(o),o=n._reactRootContainer,o!==null&&o!==void 0||t.onclick!==null||(t.onclick=To)),pd(e,a),rt=!0;else if(o!==4&&(o===27&&(pd(e,a),a=null,oi(e.type)&&(n=e.stateNode,t=null)),e=e.child,e!==null))for(bg(e,t,n,a),e=e.sibling;e!==null;)bg(e,t,n,a),e=e.sibling}function hd(e,t,n,a){var o=e.tag;if(o===5||o===6)o=e.stateNode,t?n.insertBefore(o,t):n.appendChild(o),pd(e,a),rt=!0;else if(o!==4&&(o===27&&(pd(e,a),a=null,oi(e.type)&&(n=e.stateNode)),e=e.child,e!==null))for(hd(e,t,n,a),e=e.sibling;e!==null;)hd(e,t,n,a),e=e.sibling}function wC(e){for(var t,n=e.return;n!==null;){if(aS(n)){t=n;break}n=n.return}n=null;for(var a=e.return;a!==null;){if(hg(a)){var o=a.stateNode;n===null?n=[o]:n.push(o)}if(pg(a))break;a=a.return}if(t==null)throw Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");switch(t.tag){case 27:t=t.stateNode,a=yg(e),hd(e,a,t,n);break;case 5:a=t.stateNode,t.flags&32&&(bE(a),t.flags&=-33),t=yg(e),hd(e,t,a,n);break;case 3:case 4:t=t.stateNode.containerInfo,a=yg(e),bg(e,a,t,n);break;default:throw Error("Invalid host parent fiber. This error is likely caused by a bug in React. Please file an issue.")}}function oS(e){var{stateNode:t,memoizedProps:n}=e;try{oe(e,zR,e.type,n,t,e)}catch(a){ct(e,e.return,a)}}function lS(e){if(e.tag===30||(e.subtreeFlags&33554432)!==0)dp=!0}function iS(){var e=Xo;return Xo=null,e}function er(e,t,n,a,o){return aa=0,(t=sS(e.child,t,n,a,o))&&e._debugTask!=null&&na===null&&(na=e._debugTask),t}function sS(e,t,n,a,o){for(var i=!1;e!==null;){if(e.tag===5){var u=e.stateNode;if(a!==null){var d=Kg(u);a.push(d),d.view&&(i=!0)}else i||Kg(u).view&&(i=!0);dp=!0,TE(u,aa===0?t:t+"_"+aa,n),aa++}else if(e.tag!==22||e.memoizedState===null)e.tag===30&&o||sS(e.child,t,n,a,o)&&(i=!0);e=e.sibling}return i}function Uo(e,t){for(;e!==null;){if(e.tag===5)wE(e.stateNode,e.memoizedProps);else if(e.tag!==22||e.memoizedState===null)e.tag===30&&t||Uo(e.child,t);e=e.sibling}}function md(e){if((e.subtreeFlags&18874368)!==0)for(e=e.child;e!==null;){if(e.tag!==22||e.memoizedState===null){if(md(e),e.tag===30&&(e.flags&18874368)!==0&&e.stateNode.paired){var t=e.memoizedProps;if(t.name==null||t.name==="auto")throw Error("Found a pair with an auto name. This is a bug in React.");var n=t.name;t=dl(t.default,t.share),t!=="none"&&(er(e,n,t,null,!1)||Uo(e.child,!1))}}e=e.sibling}}function vg(e,t){if(e.tag===30){var n=e.stateNode,a=e.memoizedProps,o=fl(a,n),i=dl(a.default,n.paired?a.share:a.enter);i!=="none"?er(e,o,i,null,!1)?(md(e),n.paired||t||ar(e,a.onEnter)):Uo(e.child,!1):md(e)}else if((e.subtreeFlags&33554432)!==0)for(e=e.child;e!==null;)vg(e,t),e=e.sibling;else md(e)}function Sg(e){if(Oa!==null&&Oa.size!==0){var t=Oa;if((e.subtreeFlags&18874368)!==0)for(e=e.child;e!==null;){if(e.tag!==22||e.memoizedState===null){if(e.tag===30&&(e.flags&18874368)!==0){var n=e.memoizedProps,a=n.name;if(a!=null&&a!=="auto"){var o=t.get(a);if(o!==void 0){var i=dl(n.default,n.share);if(i!=="none"&&(er(e,a,i,null,!1)?(i=e.stateNode,o.paired=i,i.paired=o,ar(e,n.onShare)):Uo(e.child,!1)),t.delete(a),t.size===0)break}}}Sg(e)}e=e.sibling}}}function Eg(e){if(e.tag===30){var t=e.memoizedProps,n=fl(t,e.stateNode),a=Oa!==null?Oa.get(n):void 0,o=dl(t.default,a!==void 0?t.share:t.exit);o!=="none"&&(er(e,n,o,null,!1)?a!==void 0?(o=e.stateNode,a.paired=o,o.paired=a,Oa.delete(n),ar(e,t.onShare)):ar(e,t.onExit):Uo(e.child,!1)),Oa!==null&&Sg(e)}else if((e.subtreeFlags&33554432)!==0)for(e=e.child;e!==null;)Eg(e),e=e.sibling;else Oa!==null&&Sg(e)}function rS(e){for(e=e.child;e!==null;){if(e.tag===30){var t=e.memoizedProps,n=fl(t,e.stateNode);t=dl(t.default,t.update),e.flags&=-5,t!=="none"&&er(e,n,t,e.memoizedState=[],!1)}else(e.subtreeFlags&33554432)!==0&&rS(e);e=e.sibling}}function Tg(e){if((e.subtreeFlags&18874368)!==0)for(e=e.child;e!==null;){if(e.tag!==22||e.memoizedState===null){if(e.tag===30&&(e.flags&18874368)!==0){var t=e.stateNode;t.paired!==null&&(t.paired=null,Uo(e.child,!1))}Tg(e)}e=e.sibling}}function gd(e){if(e.tag===30)e.stateNode.paired=null,Uo(e.child,!1),Tg(e);else if((e.subtreeFlags&33554432)!==0)for(e=e.child;e!==null;)gd(e),e=e.sibling;else Tg(e)}function cS(e){for(e=e.child;e!==null;)e.tag===30?Uo(e.child,!1):(e.subtreeFlags&33554432)!==0&&cS(e),e=e.sibling}function wg(e,t,n,a,o,i,u){for(var d=!1;t!==null;){if(t.tag===5){var h=t.stateNode;if(i!==null&&aa<i.length){var y=i[aa],O=Kg(h);if(y.view||O.view)d=!0;var M;if(M=(e.flags&4)===0)if(O.clip)M=!0;else{M=y.rect;var D=O.rect;M=M.y!==D.y||M.x!==D.x||M.height!==D.height||M.width!==D.width}M&&(e.flags|=4),O.abs?O=!y.abs:(y=y.rect,O=O.rect,O=y.height!==O.height||y.width!==O.width),O&&(e.flags|=32)}else e.flags|=32;(e.flags&4)!==0&&TE(h,aa===0?n:n+"_"+aa,o),d&&(e.flags&4)!==0||(Xo===null&&(Xo=[]),Xo.push(h,aa===0?a:a+"_"+aa,t.memoizedProps)),aa++}else if(t.tag!==22||t.memoizedState===null)t.tag===30&&u?e.flags|=t.flags&32:wg(e,t.child,n,a,o,i,u)&&(d=!0);t=t.sibling}return d}function uS(e,t){for(e=e.child;e!==null;){if(e.tag===30){var n=e.memoizedProps,a=e.stateNode,o=fl(n,a),i=dl(n.default,n.update);if(t){a=a.clones;var u=a===null?null:a.map(uR)}else u=e.memoizedState,e.memoizedState=null;a=e;var d=e.child,h=o;aa=0,i=wg(a,d,h,o,i,u,!1),(e.flags&4)!==0&&i&&(t||ar(e,n.onUpdate))}else(e.subtreeFlags&33554432)!==0&&uS(e,t);e=e.sibling}}function fS(e){var t=e.memoizedProps.name;if(t!=null&&t!=="auto"){var n=pp.get(t);if(n!==void 0){if(n!==e&&n!==e.alternate&&!lO[t]){lO[t]=!0;var a=JSON.stringify(t);oe(e,function(){console.error("There are two <ViewTransition name=%s> components with the same name mounted at the same time. This is not supported and will cause View Transitions to error. Try to use a more unique name e.g. by using a namespace prefix and adding the id of an item to the name.",a)}),oe(n,function(){console.error("The existing <ViewTransition name=%s> duplicate has this stack trace.",a)})}}else pp.set(t,e)}}function dS(e){var t=e.memoizedProps.name;if(t!=null&&t!=="auto"){var n=pp.get(t);n===void 0||n!==e&&n!==e.alternate||pp.delete(t)}}function pS(e,t){return t.tag===31?(t=t.memoizedState,e.memoizedState!==null&&t===null):t.tag===13?(e=e.memoizedState,t=t.memoizedState,e!==null&&e.dehydrated!==null&&(t===null||t.dehydrated===null)):t.tag===3?e.memoizedState.isDehydrated&&(t.flags&256)===0:!1}function OC(e,t,n){if(e=e.containerInfo,H0=Fr,e=yv(e),em(e)){if("selectionStart"in e)var a={start:e.selectionStart,end:e.selectionEnd};else e:{a=(a=e.ownerDocument)&&a.defaultView||window;var o=a.getSelection&&a.getSelection();if(o&&o.rangeCount!==0){a=o.anchorNode;var i=o.anchorOffset,u=o.focusNode;o=o.focusOffset;try{a.nodeType,u.nodeType}catch(re){a=null;break e}var d=0,h=-1,y=-1,O=0,M=0,D=e,U=null;t:for(;;){for(var X;;){if(D!==a||i!==0&&D.nodeType!==3||(h=d+i),D!==u||o!==0&&D.nodeType!==3||(y=d+o),D.nodeType===3&&(d+=D.nodeValue.length),(X=D.firstChild)===null)break;U=D,D=X}for(;;){if(D===e)break t;if(U===a&&++O===i&&(h=d),U===u&&++M===o&&(y=d),(X=D.nextSibling)!==null)break;D=U,U=D.parentNode}D=X}a=h===-1||y===-1?null:{start:h,end:y}}else a=null}a=a||{start:0,end:0}}else a=null;j0={focusedElem:e,selectionRange:a},Fr=!1,n=(n&335544064)===n,un=t;for(t=n?9270:1024;un!==null;){if(e=un,n&&(a=e.deletions,a!==null))for(i=0;i<a.length;i++)n&&Eg(a[i]);if(e.alternate===null&&(e.flags&2)!==0)n&&lS(e),yd(n);else{if(e.tag===22){if(a=e.alternate,e.memoizedState!==null){a!==null&&a.memoizedState===null&&n&&Eg(a),yd(n);continue}else if(a!==null&&a.memoizedState!==null){n&&lS(e),yd(n);continue}}a=e.child,(e.subtreeFlags&t)!==0&&a!==null?(a.return=e,un=a):(n&&rS(e),yd(n))}}Oa=null}function yd(e){for(;un!==null;){var t=un,n=t,a=e,o=n.alternate,i=n.flags;switch(n.tag){case 0:case 11:case 15:break;case 1:(i&1024)!==0&&o!==null&&SC(n,o);break;case 3:if((i&1024)!==0){if(a=n.stateNode.containerInfo,n=a.nodeType,n===9)Pg(a);else if(n===1)switch(a.nodeName){case"HEAD":case"HTML":case"BODY":Pg(a);break;default:a.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;case 30:a&&o!==null&&(a=o,o=n,n=fl(a.memoizedProps,a.stateNode),o=o.memoizedProps,o=dl(o.default,o.update),o!=="none"&&er(a,n,o,a.memoizedState=[],!0));break;default:if((i&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(a=t.sibling,a!==null){a.return=t.return,un=a;break}un=t.return}}function hS(e,t,n){var a=ma(),o=Co(),i=_o(),u=No(),d=n.flags;switch(n.tag){case 0:case 11:case 15:Fa(e,n),d&4&&P1(n,wa|qa);break;case 1:if(Fa(e,n),d&4)if(e=n.stateNode,t===null)n.type.defaultProps||"ref"in n.memoizedProps||Hr||(e.props!==n.memoizedProps&&console.error("Expected %s props to match memoized props before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",L(n)||"instance"),e.state!==n.memoizedState&&console.error("Expected %s state to match memoized state before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",L(n)||"instance")),xo(n)?(Mo(),oe(n,a0,n,e),Do()):oe(n,a0,n,e);else{var h=es(n.type,t.memoizedProps);t=t.memoizedState,n.type.defaultProps||"ref"in n.memoizedProps||Hr||(e.props!==n.memoizedProps&&console.error("Expected %s props to match memoized props before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",L(n)||"instance"),e.state!==n.memoizedState&&console.error("Expected %s state to match memoized state before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",L(n)||"instance")),xo(n)?(Mo(),oe(n,vw,n,e,h,t,e.__reactInternalSnapshotBeforeUpdate),Do()):oe(n,vw,n,e,h,t,e.__reactInternalSnapshotBeforeUpdate)}d&64&&W1(n),d&512&&zo(n,n.return);break;case 3:if(t=gl(),Fa(e,n),d&64&&(d=n.updateQueue,d!==null)){if(h=null,n.child!==null)switch(n.child.tag){case 27:case 5:h=n.child.stateNode;break;case 1:h=n.child.stateNode}try{oe(n,e1,d,h)}catch(O){ct(n,n.return,O)}}e.effectDuration+=jf(t);break;case 27:t===null&&d&4&&oS(n);case 26:case 5:if(Fa(e,n),t===null){if(d&4)mg(n);else if(d&64){e=n.type,t=n.memoizedProps,h=n.stateNode;try{oe(n,FC,h,e,t,n)}catch(O){ct(n,n.return,O)}}}d&512&&zo(n,n.return);break;case 12:if(d&4){d=gl(),Fa(e,n),e=n.stateNode,e.effectDuration+=Rc(d);try{oe(n,tS,n,t,Cl,e.effectDuration)}catch(O){ct(n,n.return,O)}}else Fa(e,n);break;case 31:Fa(e,n),d&4&&bS(e,n);break;case 13:Fa(e,n),d&4&&vS(e,n),d&64&&(e=n.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(d=LC.bind(null,n),RR(e,d))));break;case 22:if(d=n.memoizedState!==null||cn,!d){var y=t!==null&&t.memoizedState!==null||ht;t=cn,h=ht,cn=d,(ht=y)&&!h?(d=hp,(n.subtreeFlags&8772)!==0&&(d|=b0),xa(e,n,d),(n.mode&je)!==_e&&0<=ve&&0<=Te&&0.05<Te-ve&&Cf(n,ve,Te)):Fa(e,n),cn=t,ht=h}break;case 30:d&18874368&&fS(n),Fa(e,n),d&512&&zo(n,n.return);break;case 7:d&512&&zo(n,n.return);default:Fa(e,n)}(n.mode&je)!==_e&&0<=ve&&0<=Te&&((Bt||0.05<Dt)&&Oo(n,ve,Te,Dt,Nt),n.alternate===null&&n.return!==null&&n.return.alternate!==null&&0.05<Te-ve&&(pS(n.return.alternate,n.return)||wo(n,ve,Te,"Mount"))),ga(a),Ro(o),Nt=i,Bt=u}function Og(e,t){for(e=e.child;e!==null;)mS(e,t),e=e.sibling}function mS(e,t){switch(e.tag){case 5:case 26:try{var n=e.stateNode;t?oe(e,oR,n):oe(e,sR,e.stateNode,e.memoizedProps)}catch(i){ct(e,e.return,i)}Ag(e,t);break;case 6:try{var a=e.stateNode;t?oe(e,lR,a):oe(e,rR,a,e.memoizedProps),rt=!0}catch(i){ct(e,e.return,i)}break;case 18:try{var o=e.stateNode;t?oe(e,aR,o):oe(e,iR,e.stateNode)}catch(i){ct(e,e.return,i)}break;case 22:case 23:e.memoizedState===null&&Og(e,t);break;default:Og(e,t)}}function Ag(e,t){if(e.subtreeFlags&67108864)for(e=e.child;e!==null;){e:{var n=e,a=t;switch(n.tag){case 4:mS(n,a);break e;case 22:n.memoizedState===null&&Ag(n,a);break e;default:Ag(n,a)}}e=e.sibling}}function gS(e){var t=e.alternate;t!==null&&(e.alternate=null,gS(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&js(t)),e.stateNode=null,e._debugOwner=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function Pa(e,t,n){for(n=n.child;n!==null;)yS(e,t,n),n=n.sibling}function yS(e,t,n){if(_n&&typeof _n.onCommitFiberUnmount==="function")try{_n.onCommitFiberUnmount(mr,n)}catch(y){jo||(jo=!0,console.error("React instrumentation encountered an error: %o",y))}var a=ma(),o=Co(),i=_o(),u=No();switch(n.tag){case 26:ht||gn(n,t),Pa(e,t,n),n.memoizedState?n.memoizedState.count--:n.stateNode&&!ht&&(e=n.stateNode,e.parentNode.removeChild(e));break;case 27:ht||gn(n,t),jc(n);var d=Jt,h=oa;oi(n.type)&&(Jt=n.stateNode,oa=!1),Pa(e,t,n),oe(n,LE,n.stateNode,n.type,n.memoizedProps),Jt=d,oa=h;break;case 5:ht||gn(n,t),jc(n);case 6:if(n.tag===6&&jc(n),d=Jt,h=oa,Jt=null,Pa(e,t,n),Jt=d,oa=h,Jt!==null)if(oa)try{oe(n,nR,Jt,n.stateNode),rt=!0}catch(y){ct(n,t,y)}else try{oe(n,tR,Jt,n.stateNode),rt=!0}catch(y){ct(n,t,y)}break;case 18:Jt!==null&&(oa?(e=Jt,SE(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,n.stateNode),ur(e)):SE(Jt,n.stateNode));break;case 4:d=Jt,h=oa,Jt=n.stateNode.containerInfo,oa=!0,Pa(e,t,n),Jt=d,oa=h;break;case 0:case 11:case 14:case 15:Ws(Xn,n,t),ht||fg(n,t,wa),Pa(e,t,n);break;case 1:ht||(gn(n,t),d=n.stateNode,typeof d.componentWillUnmount==="function"&&eS(n,t,d)),Pa(e,t,n);break;case 21:Pa(e,t,n);break;case 22:ht=(d=ht)||n.memoizedState!==null,Pa(e,t,n),ht=d;break;case 30:n.flags&18874368&&dS(n),gn(n,t),Pa(e,t,n);break;case 7:ht||gn(n,t),Pa(e,t,n);break;default:Pa(e,t,n)}(n.mode&je)!==_e&&0<=ve&&0<=Te&&(Bt||0.05<Dt)&&Oo(n,ve,Te,Dt,Nt),ga(a),Ro(o),Nt=i,Bt=u}function bS(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null))){e=e.dehydrated;try{oe(t,NR,e)}catch(n){ct(t,t.return,n)}}}function vS(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{oe(t,DR,e)}catch(n){ct(t,t.return,n)}}function AC(e){switch(e.tag){case 31:case 13:case 19:var t=e.stateNode;return t===null&&(t=e.stateNode=new iO),t;case 22:return e=e.stateNode,t=e._retryCache,t===null&&(t=e._retryCache=new iO),t;default:throw Error("Unexpected Suspense handler tag ("+e.tag+"). This is a bug in React.")}}function bd(e,t){var n=AC(e);t.forEach(function(a){if(!n.has(a)){if(n.add(a),$o)if(jr!==null&&$r!==null)Vc($r,jr);else throw Error("Expected finished root and lanes to be set. This is a bug in React.");var o=HC.bind(null,e,a);a.then(o,o)}})}function jn(e,t,n){var a=t.deletions;if(a!==null)for(var o=0;o<a.length;o++){var i=e,u=t,d=a[o],h=ma(),y=u;e:for(;y!==null;){switch(y.tag){case 27:if(oi(y.type)){Jt=y.stateNode,oa=!1;break e}break;case 5:Jt=y.stateNode,oa=!1;break e;case 3:case 4:Jt=y.stateNode.containerInfo,oa=!0;break e}y=y.return}if(Jt===null)throw Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");yS(i,u,d),Jt=null,oa=!1,(d.mode&je)!==_e&&0<=ve&&0<=Te&&0.05<Te-ve&&wo(d,ve,Te,"Unmount"),ga(h),i=d,u=i.alternate,u!==null&&(u.return=null),i.return=null}if(t.subtreeFlags&13886)for(t=t.child;t!==null;)SS(t,e,n),t=t.sibling}function SS(e,t,n){var a=ma(),o=Co(),i=_o(),u=No(),{alternate:d,flags:h}=e;switch(e.tag){case 0:case 11:case 14:case 15:if(h&4&&(d=e.updateQueue,d=d!==null?d.events:null,d!==null))for(var y=0;y<d.length;y++){var O=d[y];O.ref.impl=O.nextImpl}jn(t,e,n),$n(e),h&4&&(Ws(Xn|qa,e,e.return),Hc(Xn|qa,e),fg(e,e.return,wa|qa));break;case 1:jn(t,e,n),$n(e),h&512&&(ht||d===null||gn(d,d.return)),h&64&&cn&&(t=e.updateQueue,t!==null&&(n=t.callbacks,n!==null&&(h=t.shared.hiddenCallbacks,t.shared.hiddenCallbacks=h===null?n:h.concat(n))));break;case 26:if(y=io,jn(t,e,n),$n(e),h&512&&(ht||d===null||gn(d,d.return)),h&4)if(h=d!==null?d.memoizedState:null,n=e.memoizedState,d===null)if(n===null)if(e.stateNode===null)if(cn)e.stateNode=yE(e.type,e.memoizedProps,t.containerInfo,e);else{e:{t=e.type,n=e.memoizedProps,h=y.ownerDocument||y;t:switch(t){case"title":if(d=h.getElementsByTagName("title")[0],!d||d[nu]||d[bn]||d.namespaceURI===yr||d.hasAttribute("itemprop"))d=h.createElement(t),h.head.insertBefore(d,h.querySelector("head > title"));yn(d,t,n),d[bn]=e,on(d),t=d;break e;case"link":if(y=qE("link","href",h).get(t+(n.href||""))){for(O=0;O<y.length;O++)if(d=y[O],d.getAttribute("href")===(n.href==null||n.href===""?null:n.href)&&d.getAttribute("rel")===(n.rel==null?null:n.rel)&&d.getAttribute("title")===(n.title==null?null:n.title)&&d.getAttribute("crossorigin")===(n.crossOrigin==null?null:n.crossOrigin)){y.splice(O,1);break t}}d=h.createElement(t),yn(d,t,n),h.head.appendChild(d);break;case"meta":if(y=qE("meta","content",h).get(t+(n.content||""))){for(O=0;O<y.length;O++)if(d=y[O],bt(n.content,"content"),d.getAttribute("content")===(n.content==null?null:""+n.content)&&d.getAttribute("name")===(n.name==null?null:n.name)&&d.getAttribute("property")===(n.property==null?null:n.property)&&d.getAttribute("http-equiv")===(n.httpEquiv==null?null:n.httpEquiv)&&d.getAttribute("charset")===(n.charSet==null?null:n.charSet)){y.splice(O,1);break t}}d=h.createElement(t),yn(d,t,n),h.head.appendChild(d);break;default:throw Error('getNodesForType encountered a type it did not expect: "'+t+'". This is a bug in React.')}d[bn]=e,on(d),t=d}e.stateNode=t}else cn||oy(y,e.type,e.stateNode);else e.stateNode=IE(y,n,e.memoizedProps);else h!==n?(h===null?(t=d.stateNode,t===null||ht||t.parentNode.removeChild(t)):h.count--,n===null?cn||oy(y,e.type,e.stateNode):IE(y,n,e.memoizedProps)):n===null&&e.stateNode!==null&&gg(e,e.memoizedProps,d.memoizedProps);break;case 27:jn(t,e,n),$n(e),h&512&&(ht||d===null||gn(d,d.return)),d!==null&&h&4&&gg(e,e.memoizedProps,d.memoizedProps);break;case 5:if(y=Jo,Jo=!1,jn(t,e,n),Jo=y,$n(e),h&512&&(ht||d===null||gn(d,d.return)),e.flags&32){t=e.stateNode;try{oe(e,bE,t),rt=!0}catch(X){ct(e,e.return,X)}}h&4&&e.stateNode!=null&&(t=e.memoizedProps,gg(e,t,d!==null?d.memoizedProps:t)),h&1024&&(v0=!0,e.type!=="form"&&console.error("Unexpected host component type. Expected a form. This is a bug in React."));break;case 6:if(jn(t,e,n),$n(e),h&4){if(e.stateNode===null)throw Error("This should have a text node initialized. This error is likely caused by a bug in React. Please file an issue.");t=e.memoizedProps,n=d!==null?d.memoizedProps:t,h=e.stateNode;try{oe(e,eR,h,n,t),rt=!0}catch(X){ct(e,e.return,X)}}break;case 3:if(y=gl(),rt=!1,Hp=null,O=io,io=Kc(t.containerInfo),jn(t,e,n),io=O,$n(e),h&4&&d!==null&&d.memoizedState.isDehydrated)try{oe(e,_R,t.containerInfo)}catch(X){ct(e,e.return,X)}v0&&(v0=!1,ES(e)),t.effectDuration+=jf(y),rt=!1;break;case 4:h=Jo,Jo=cn,d=Bb(),y=io,io=Kc(e.stateNode.containerInfo),jn(t,e,n),$n(e),io=y,rt&&zu&&(mp=!0),rt=d,Jo=h;break;case 12:h=gl(),jn(t,e,n),$n(e),e.stateNode.effectDuration+=Rc(h);break;case 31:jn(t,e,n),$n(e),h&4&&(t=e.updateQueue,t!==null&&(e.updateQueue=null,bd(e,t)));break;case 13:jn(t,e,n),$n(e),e.child.flags&8192&&e.memoizedState!==null!==(d!==null&&d.memoizedState!==null)&&(Ep=Vt()),h&4&&(t=e.updateQueue,t!==null&&(e.updateQueue=null,bd(e,t)));break;case 22:y=e.memoizedState!==null,O=d!==null&&d.memoizedState!==null;var M=cn,D=ht,U=Jo;cn=M||y,Jo=U||y,ht=D||O,jn(t,e,n),ht=D,Jo=U,cn=M,O&&!y&&!M&&!D&&(e.mode&je)!==_e&&0<=ve&&0<=Te&&0.05<Te-ve&&Cf(e,ve,Te),$n(e),h&8192&&(t=e.stateNode,t._visibility=y?t._visibility&~fu:t._visibility|fu,!y||d===null||O||cn||ht||(t=hp,n=O||ht,d=cn,O=ht,cn=y||cn,ht=n,ti(e,t),(e.mode&je)!==_e&&0<=ve&&0<=Te&&0.05<Te-ve&&wo(e,ve,Te,"Disconnect"),cn=d,ht=O),!y&&Jo||Og(e,y)),h&4&&(t=e.updateQueue,t!==null&&(n=t.retryQueue,n!==null&&(t.retryQueue=null,bd(e,n))));break;case 19:jn(t,e,n),$n(e),h&4&&(t=e.updateQueue,t!==null&&(e.updateQueue=null,bd(e,t)));break;case 30:h&512&&(ht||d===null||gn(d,d.return)),h=Bb(),y=zu,O=(n&335544064)===n,M=e.memoizedProps,zu=O&&dl(M.default,M.update)!=="none",jn(t,e,n),$n(e),O&&d!==null&&rt&&(e.flags|=4),zu=y,rt=h;break;case 21:break;case 7:h&512&&(ht||d===null||gn(d,d.return)),d&&d.stateNode!==null&&(d.stateNode._fragmentFiber=e);default:jn(t,e,n),$n(e)}(e.mode&je)!==_e&&0<=ve&&0<=Te&&((Bt||0.05<Dt)&&Oo(e,ve,Te,Dt,Nt),e.alternate===null&&e.return!==null&&e.return.alternate!==null&&0.05<Te-ve&&(pS(e.return.alternate,e.return)||wo(e,ve,Te,"Mount"))),ga(a),Ro(o),Nt=i,Bt=u}function $n(e){var t=e.flags;if(t&2){try{oe(e,wC,e)}catch(n){ct(e,e.return,n)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function ES(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var t=e;ES(t),t.tag===5&&t.flags&1024&&(t=t.stateNode,Fr=!0,t.reset(),Fr=!1),e=e.sibling}}function tr(e,t){if(t.subtreeFlags&9270)for(t=t.child;t!==null;)TS(t,e),t=t.sibling;else uS(t,!1)}function TS(e,t){var n=e.alternate;if(n===null)vg(e,!1);else switch(e.tag){case 3:if(S0=Ko=!1,iS(),tr(t,e),!Ko&&!mp){if(e=Xo,e!==null)for(var a=0;a<e.length;a+=3){n=e[a];var o=e[a+1];wE(n,e[a+2]),n=n.ownerDocument.documentElement,n!==null&&n.animate({opacity:[0,0],pointerEvents:["none","none"]},{duration:0,fill:"forwards",pseudoElement:"::view-transition-group("+o+")"})}e=t.containerInfo,e=e.nodeType===9?e.documentElement:e.ownerDocument.documentElement,e!==null&&e.style.viewTransitionName===""&&(e.style.viewTransitionName="none",e.animate({opacity:[0,0],pointerEvents:["none","none"]},{duration:0,fill:"forwards",pseudoElement:"::view-transition-group(root)"}),e.animate({width:[0,0],height:[0,0]},{duration:0,fill:"forwards",pseudoElement:"::view-transition"})),S0=!0}Xo=null;break;case 5:tr(t,e);break;case 4:a=Ko,Ko=!1,tr(t,e),Ko&&(mp=!0),Ko=a;break;case 22:e.memoizedState===null&&(n.memoizedState!==null?vg(e,!1):tr(t,e));break;case 30:a=Ko,o=iS(),Ko=!1,tr(t,e),Ko&&(e.flags|=4);var i=e.memoizedProps,u=e.stateNode;t=fl(i,u),u=fl(n.memoizedProps,u);var d=dl(i.default,i.update);d==="none"?t=!1:(i=n.memoizedState,n.memoizedState=null,n=e.child,aa=0,t=wg(e,n,t,u,d,i,!0),aa!==(i===null?0:i.length)&&(e.flags|=32)),(e.flags&4)!==0&&t?(ar(e,e.memoizedProps.onUpdate),Xo=o):o!==null&&(o.push.apply(o,Xo),Xo=o),Ko=(e.flags&32)!==0?!0:a;break;default:tr(t,e)}}function Fa(e,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)hS(e,t.alternate,t),t=t.sibling}function wS(e,t){var n=ma(),a=Co(),o=_o(),i=No();switch(e.tag){case 0:case 11:case 14:case 15:fg(e,e.return,wa),ti(e,t);break;case 1:gn(e,e.return);var u=e.stateNode;typeof u.componentWillUnmount==="function"&&eS(e,e.return,u),ti(e,t);break;case 27:(t&hp)!==xu&&oe(e,LE,e.stateNode,e.type,e.memoizedProps);case 5:gn(e,e.return),e.tag!==5&&e.tag!==27||jc(e),ti(e,t);break;case 6:jc(e);break;case 26:gn(e,e.return),u=e.stateNode,e.memoizedState!==null||u===null||ht||u.parentNode.removeChild(u),ti(e,t);break;case 22:e.memoizedState===null&&ti(e,t);break;case 30:e.flags&18874368&&dS(e),gn(e,e.return),ti(e,t);break;case 7:gn(e,e.return);default:ti(e,t)}(e.mode&je)!==_e&&0<=ve&&0<=Te&&(Bt||0.05<Dt)&&Oo(e,ve,Te,Dt,Nt),ga(n),Ro(a),Nt=o,Bt=i}function ti(e,t){for(e=e.child;e!==null;)wS(e,t),e=e.sibling}function OS(e,t,n,a){var o=ma(),i=Co(),u=_o(),d=No(),h=n.flags,y=(a&b0)!==xu;switch(n.tag){case 0:case 11:case 15:xa(e,n,a),P1(n,wa);break;case 1:if(xa(e,n,a),t=n.stateNode,typeof t.componentDidMount==="function"&&oe(n,a0,n,t),t=n.updateQueue,t!==null){e=n.stateNode;try{oe(n,iC,t,e)}catch(M){ct(n,n.return,M)}}y&&h&64&&W1(n),zo(n,n.return);break;case 27:(a&hp)!==xu&&oS(n);case 5:n.tag!==5&&n.tag!==27||nS(n),xa(e,n,a),y&&t===null&&h&4&&mg(n),zo(n,n.return);break;case 6:nS(n);break;case 26:var O=n.stateNode;n.memoizedState!==null||O===null||cn||oy(Kc(O.ownerDocument),n.type,O),xa(e,n,a),y&&t===null&&h&4&&mg(n),zo(n,n.return);break;case 12:if(y&&h&4){h=gl(),xa(e,n,a),y=n.stateNode,y.effectDuration+=Rc(h);try{oe(n,tS,n,t,Cl,y.effectDuration)}catch(M){ct(n,n.return,M)}}else xa(e,n,a);break;case 31:xa(e,n,a),y&&h&4&&bS(e,n);break;case 13:xa(e,n,a),y&&h&4&&vS(e,n);break;case 22:n.memoizedState===null&&xa(e,n,a),zo(n,n.return);break;case 30:xa(e,n,a),h&18874368&&fS(n),zo(n,n.return);break;case 7:zo(n,n.return);default:xa(e,n,a)}(n.mode&je)!==_e&&0<=ve&&0<=Te&&(Bt||0.05<Dt)&&Oo(n,ve,Te,Dt,Nt),ga(o),Ro(i),Nt=u,Bt=d}function xa(e,t,n){n=(t.subtreeFlags&8772)!==0?n:n&~b0;for(t=t.child;t!==null;)OS(e,t.alternate,t,n),t=t.sibling}function Cg(e,t){var n=null;e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(n=e.memoizedState.cachePool.pool),e=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(e=t.memoizedState.cachePool.pool),e!==n&&(e!=null&&Zi(e),n!=null&&Cc(n))}function Rg(e,t){e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(Zi(t),e!=null&&Cc(e))}function za(e,t,n,a,o){var i=(n&335544064)===n;if(t.subtreeFlags&(i?10262:10256)||t.actualDuration!==0&&(t.alternate===null||t.alternate.child!==t.child))for(t=t.child;t!==null;)i=t.sibling,AS(e,t,n,a,i!==null?i.actualStartTime:o),t=i;else i&&cS(t)}function AS(e,t,n,a,o){var i=ma(),u=Co(),d=_o(),h=No(),y=ui,O=(n&335544064)===n;O&&t.alternate===null&&t.return!==null&&t.return.alternate!==null&&gd(t);var M=t.flags;switch(t.tag){case 0:case 11:case 15:(t.mode&je)!==_e&&0<t.actualStartTime&&(t.flags&1)!==0&&Rf(t,t.actualStartTime,o,Ft,n),za(e,t,n,a,o),M&2048&&F1(t,Mn|qa);break;case 1:(t.mode&je)!==_e&&0<t.actualStartTime&&((t.flags&128)!==0?nm(t,t.actualStartTime,o,[]):(t.flags&1)!==0&&Rf(t,t.actualStartTime,o,Ft,n)),za(e,t,n,a,o);break;case 3:var D=gl(),U=Ft;Ft=t.alternate!==null&&t.alternate.memoizedState.isDehydrated&&(t.flags&256)===0,za(e,t,n,a,o),Ft=U,O&&S0&&(n=e.containerInfo,n=n.nodeType===9?n.body:n.nodeName==="HTML"?n.ownerDocument.body:n,n.style.viewTransitionName==="root"&&(n.style.viewTransitionName=""),n=n.ownerDocument.documentElement,n!==null&&n.style.viewTransitionName==="none"&&(n.style.viewTransitionName="")),M&2048&&(n=null,t.alternate!==null&&(n=t.alternate.memoizedState.cache),a=t.memoizedState.cache,a!==n&&(Zi(a),n!=null&&Cc(n))),e.passiveEffectDuration+=jf(D);break;case 12:if(M&2048){M=gl(),za(e,t,n,a,o),e=t.stateNode,e.passiveEffectDuration+=Rc(M);try{oe(t,TC,t,t.alternate,Cl,e.passiveEffectDuration)}catch(X){ct(t,t.return,X)}}else za(e,t,n,a,o);break;case 31:M=Ft,D=t.alternate!==null?t.alternate.memoizedState:null,O=t.memoizedState,D!==null&&O===null?(O=t.deletions,O!==null&&0<O.length&&O[0].tag===18?(Ft=!1,D=D.hydrationErrors,D!==null&&nm(t,t.actualStartTime,o,D)):Ft=!0):Ft=!1,za(e,t,n,a,o),Ft=M;break;case 13:M=Ft,D=t.alternate!==null?t.alternate.memoizedState:null,O=t.memoizedState,D===null||D.dehydrated===null||O!==null&&O.dehydrated!==null?Ft=!1:(O=t.deletions,O!==null&&0<O.length&&O[0].tag===18?(Ft=!1,D=D.hydrationErrors,D!==null&&nm(t,t.actualStartTime,o,D)):Ft=!0),za(e,t,n,a,o),Ft=M;break;case 23:break;case 22:U=t.stateNode,D=t.alternate,t.memoizedState!==null?(O&&D!==null&&D.memoizedState===null&&gd(D),U._visibility&Tl?za(e,t,n,a,o):$c(e,t,n,a,o)):(O&&D!==null&&D.memoizedState!==null&&gd(t),U._visibility&Tl?za(e,t,n,a,o):(U._visibility|=Tl,nr(e,t,n,a,(t.subtreeFlags&10256)!==0||t.actualDuration!==0&&(t.alternate===null||t.alternate.child!==t.child),o),(t.mode&je)===_e||Ft||(e=t.actualStartTime,0<=e&&0.05<o-e&&Cf(t,e,o),0<=ve&&0<=Te&&0.05<Te-ve&&Cf(t,ve,Te)))),M&2048&&Cg(D,t);break;case 24:za(e,t,n,a,o),M&2048&&Rg(t.alternate,t);break;case 30:O&&(M=t.alternate,M!==null&&(Uo(M.child,!0),Uo(t.child,!0))),za(e,t,n,a,o);break;default:za(e,t,n,a,o)}if((t.mode&je)!==_e){if(e=!Ft&&t.alternate===null&&t.return!==null&&t.return.alternate!==null)n=t.actualStartTime,0<=n&&0.05<o-n&&wo(t,n,o,"Mount");0<=ve&&0<=Te&&((Bt||0.05<Dt)&&Oo(t,ve,Te,Dt,Nt),e&&0.05<Te-ve&&wo(t,ve,Te,"Mount"))}ga(i),Ro(u),Nt=d,Bt=h,ui=y}function nr(e,t,n,a,o,i){o=o&&((t.subtreeFlags&10256)!==0||t.actualDuration!==0&&(t.alternate===null||t.alternate.child!==t.child));for(t=t.child;t!==null;){var u=t.sibling;CS(e,t,n,a,o,u!==null?u.actualStartTime:i),t=u}}function CS(e,t,n,a,o,i){var u=ma(),d=Co(),h=_o(),y=No(),O=ui;o&&(t.mode&je)!==_e&&0<t.actualStartTime&&(t.flags&1)!==0&&Rf(t,t.actualStartTime,i,Ft,n);var M=t.flags;switch(t.tag){case 0:case 11:case 15:nr(e,t,n,a,o,i),F1(t,Mn);break;case 23:break;case 22:var D=t.stateNode;t.memoizedState!==null?D._visibility&Tl?nr(e,t,n,a,o,i):$c(e,t,n,a,i):(D._visibility|=Tl,nr(e,t,n,a,o,i)),o&&M&2048&&Cg(t.alternate,t);break;case 24:nr(e,t,n,a,o,i),o&&M&2048&&Rg(t.alternate,t);break;default:nr(e,t,n,a,o,i)}(t.mode&je)!==_e&&0<=ve&&0<=Te&&(Bt||0.05<Dt)&&Oo(t,ve,Te,Dt,Nt),ga(u),Ro(d),Nt=h,Bt=y,ui=O}function $c(e,t,n,a,o){if(t.subtreeFlags&10256||t.actualDuration!==0&&(t.alternate===null||t.alternate.child!==t.child))for(var i=t.child;i!==null;){t=i.sibling;var u=e,d=n,h=a,y=t!==null?t.actualStartTime:o,O=ui;(i.mode&je)!==_e&&0<i.actualStartTime&&(i.flags&1)!==0&&Rf(i,i.actualStartTime,y,Ft,d);var M=i.flags;switch(i.tag){case 22:$c(u,i,d,h,y),M&2048&&Cg(i.alternate,i);break;case 24:$c(u,i,d,h,y),M&2048&&Rg(i.alternate,i);break;default:$c(u,i,d,h,y)}ui=O,i=t}}function ts(e,t,n){if(e.subtreeFlags&gs)for(e=e.child;e!==null;)RS(e,t,n),e=e.sibling}function RS(e,t,n){switch(e.tag){case 26:ts(e,t,n),e.flags&gs&&(e.memoizedState!==null?kR(n,io,e.memoizedState,e.memoizedProps):(e=e.stateNode,(t&335544128)===t&&QE(n,e)));break;case 5:ts(e,t,n),e.flags&gs&&(e=e.stateNode,(t&335544128)===t&&QE(n,e));break;case 3:case 4:var a=io;io=Kc(e.stateNode.containerInfo),ts(e,t,n),io=a;break;case 22:e.memoizedState===null&&(a=e.alternate,a!==null&&a.memoizedState!==null?(a=gs,gs=16777216,ts(e,t,n),gs=a):ts(e,t,n));break;case 30:if((e.flags&gs)!==0&&(a=e.memoizedProps.name,a!=null&&a!=="auto")){var o=e.stateNode;o.paired=null,Oa===null&&(Oa=new Map),Oa.set(a,o)}ts(e,t,n);break;default:ts(e,t,n)}}function _S(e){var t=e.alternate;if(t!==null&&(e=t.child,e!==null)){t.child=null;do t=e.sibling,e.sibling=null,e=t;while(e!==null)}}function Ic(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var n=0;n<t.length;n++){var a=t[n],o=ma();un=a,MS(a,e),(a.mode&je)!==_e&&0<=ve&&0<=Te&&0.05<Te-ve&&wo(a,ve,Te,"Unmount"),ga(o)}_S(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)NS(e),e=e.sibling}function NS(e){var t=ma(),n=Co(),a=_o(),o=No();switch(e.tag){case 0:case 11:case 15:Ic(e),e.flags&2048&&dg(e,e.return,Mn|qa);break;case 3:var i=gl();Ic(e),e.stateNode.passiveEffectDuration+=jf(i);break;case 12:i=gl(),Ic(e),e.stateNode.passiveEffectDuration+=Rc(i);break;case 22:i=e.stateNode,e.memoizedState!==null&&i._visibility&Tl&&(e.return===null||e.return.tag!==13)?(i._visibility&=~Tl,vd(e),(e.mode&je)!==_e&&0<=ve&&0<=Te&&0.05<Te-ve&&wo(e,ve,Te,"Disconnect")):Ic(e);break;default:Ic(e)}(e.mode&je)!==_e&&0<=ve&&0<=Te&&(Bt||0.05<Dt)&&Oo(e,ve,Te,Dt,Nt),ga(t),Ro(n),Bt=o,Nt=a}function vd(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var n=0;n<t.length;n++){var a=t[n],o=ma();un=a,MS(a,e),(a.mode&je)!==_e&&0<=ve&&0<=Te&&0.05<Te-ve&&wo(a,ve,Te,"Unmount"),ga(o)}_S(e)}for(e=e.child;e!==null;)DS(e),e=e.sibling}function DS(e){var t=ma(),n=Co(),a=_o(),o=No();switch(e.tag){case 0:case 11:case 15:dg(e,e.return,Mn),vd(e);break;case 22:var i=e.stateNode;i._visibility&Tl&&(i._visibility&=~Tl,vd(e));break;default:vd(e)}(e.mode&je)!==_e&&0<=ve&&0<=Te&&(Bt||0.05<Dt)&&Oo(e,ve,Te,Dt,Nt),ga(t),Ro(n),Bt=o,Nt=a}function MS(e,t){for(;un!==null;){var n=un,a=n,o=t,i=ma(),u=Co(),d=_o(),h=No();switch(a.tag){case 0:case 11:case 15:dg(a,o,Mn);break;case 23:case 22:a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(o=a.memoizedState.cachePool.pool,o!=null&&Zi(o));break;case 24:Cc(a.memoizedState.cache)}if((a.mode&je)!==_e&&0<=ve&&0<=Te&&(Bt||0.05<Dt)&&Oo(a,ve,Te,Dt,Nt),ga(i),Ro(u),Bt=h,Nt=d,a=n.child,a!==null)a.return=n,un=a;else e:for(n=e;un!==null;){if(a=un,i=a.sibling,u=a.return,gS(a),a===n){un=null;break e}if(i!==null){i.return=u,un=i;break e}un=u}}}function CC(){TN.forEach(function(e){return e()})}function xS(){var e=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0;return e||V.actQueue===null||console.error("The current testing environment is not configured to support act(...)"),e}function ba(e){if((We&Wt)!==fn&&Ue!==0)return Ue&-Ue;var t=V.T;if(t!==null)return t._updatedFibers||(t._updatedFibers=new Set),t._updatedFibers.add(e),ds!==null&&So()===qn&&(ds=null),jg();return e=So(),e===qn&&(ds=null),e}function zS(){if(ia===0)if((Ue&536870912)===0||$e){var e=kd;kd<<=1,(kd&3932160)===0&&(kd=262144),ia=e}else ia=536870912;return e=vn.current,e!==null&&(e.flags|=32),ia}function ar(e,t){if(t!=null){var n=e.stateNode,a=n.ref;a===null&&(a=n.ref=AE(fl(e.memoizedProps,n))),Vr===null&&(Vr=[]),Vr.push(t.bind(null,a))}}function Ut(e,t,n){if(Gr&&console.error("useInsertionEffect must not schedule updates."),D0&&(_p=!0),e===Et&&(mt===bs||mt===vs)||e.cancelPendingCommit!==null)lr(e,0),ni(e,Ue,ia,!1);if(B(e,n),(We&Wt)!==fn&&e===Et){if(Ho)switch(t.tag){case 0:case 11:case 15:e=Ie&&L(Ie)||"Unknown",bO.has(e)||(bO.add(e),t=L(t)||"Unknown",console.error("Cannot update a component (`%s`) while rendering a different component (`%s`). To locate the bad setState() call inside `%s`, follow the stack trace as described in https://react.dev/link/setstate-in-render",t,e,e));break;case 1:yO||(console.error("Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state."),yO=!0)}}else $o&&Be(e,t,n),$C(t),e===Et&&((We&Wt)===fn&&(wi|=n),Mt===Ei&&ni(e,Ue,ia,!1)),Bo(e)}function US(e,t,n){if((We&(Wt|Aa))!==fn)throw Error("Should not already be working.");if(Ue!==0&&Ie!==null){var a=Ie,o=Vt();switch(fw){case Lu:case bs:var i=bu;Rt&&((a=a._debugTask)?a.run(console.timeStamp.bind(console,"Suspended",i,o,ta,void 0,"primary-light")):console.timeStamp("Suspended",i,o,ta,void 0,"primary-light"));break;case vs:i=bu,Rt&&((a=a._debugTask)?a.run(console.timeStamp.bind(console,"Action",i,o,ta,void 0,"primary-light")):console.timeStamp("Action",i,o,ta,void 0,"primary-light"));break;default:Rt&&(a=o-bu,3>a||console.timeStamp("Blocked",bu,o,ta,void 0,5>a?"primary-light":10>a?"primary":100>a?"primary-dark":"error"))}}i=(n=!n&&(t&127)===0&&(t&e.expiredLanes)===0||vo(e,t))?_C(e,t):Ng(e,t,!0);var u=n;do{if(i===Ml){Ir&&!n&&ni(e,t,0,!1),t=mt,bu=Yt(),fw=t;break}else{if(a=Vt(),o=e.current.alternate,u&&!RC(o)){Cn(t),o=rn,i=a,!Rt||i<=o||(kt?kt.run(console.timeStamp.bind(console,"Teared Render",o,i,Je,Qe,"error")):console.timeStamp("Teared Render",o,i,Je,Qe,"error")),ns(t,a),i=Ng(e,t,!1),u=!1;continue}if(i===ys){if(u=t,e.errorRecoveryDisabledLanes&u)var d=0;else d=e.pendingLanes&-536870913,d=d!==0?d:d&536870912?536870912:0;if(d!==0){Cn(t),am(rn,a,t,kt),ns(t,a),t=d;e:{a=e,i=u,u=ju;var h=a.current.memoizedState.isDehydrated;if(h&&(lr(a,d).flags|=256),d=Ng(a,d,!1),d!==ys&&d!==ku){if(w0&&!h){a.errorRecoveryDisabledLanes|=i,wi|=i,i=Ei;break e}a=Jn,Jn=u,a!==null&&(Jn===null?Jn=a:Jn.push.apply(Jn,a))}i=d}if(u=!1,i!==ys)continue;else a=Vt()}}if(i===Bu){Cn(t),am(rn,a,t,kt),ns(t,a),lr(e,0),ni(e,t,0,!0);break}e:{switch(n=e,i){case Ml:case Bu:throw Error("Root did not complete. This is a bug in React.");case Ei:if((t&4194048)!==t&&(t&62914560)!==t)break;case ku:Cn(t),Ev(rn,a,t,kt),ns(t,a),o=t,(o&127)!==0?Wd=a:(o&4194048)!==0&&(ep=a),ni(n,t,ia,!xl);break e;case ys:Jn=null;break;case gp:case sO:break;default:throw Error("Unknown root exit status.")}if(V.actQueue!==null)Dg(n,o,t,Jn,$u,Sp,ia,wi,Ss,xl,i,null,null,rn,a);else{if((t&62914560)===t&&(u=Ep+uO-Vt(),10<u)){if(ni(n,t,ia,!xl),rl(n,0,!0)!==0)break e;sa=t,n.timeoutHandle=I0(BS.bind(null,n,o,Jn,$u,Sp,t,ia,wi,Ss,xl,i,"Throttled",rn,a),u);break e}BS(n,o,Jn,$u,Sp,t,ia,wi,Ss,xl,i,null,rn,a)}}}break}while(1);Bo(e)}function BS(e,t,n,a,o,i,u,d,h,y,O,M,D,U){e.timeoutHandle=Cs;var X=t.subtreeFlags,re=(i&335544064)===i,pe=null;if(re||X&8192||(X&16785408)===16785408){if(pe={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:To},Oa=null,RS(t,i,pe),re&&(X=pe,re=e.containerInfo,re=(re.nodeType===9?re:re.ownerDocument).__reactViewTransition,re!=null&&(X.count++,X.waitingForViewTransition=!0,X=Fc.bind(X),re.finished.then(X,X))),X=(i&62914560)===i?Ep-Vt():(i&4194048)===i?cO-Vt():0,X=LR(pe,X),X!==null){sa=i,e.cancelPendingCommit=X(Dg.bind(null,e,t,i,n,a,o,u,d,h,y,O,pe,pe.waitingForViewTransition?"Waiting for the previous Animation":0<pe.count?0<pe.imgCount?"Suspended on CSS and Images":"Suspended on CSS":pe.imgCount===1?"Suspended on an Image":0<pe.imgCount?"Suspended on Images":null,D,U)),ni(e,i,u,!y);return}}Dg(e,t,i,n,a,o,u,d,h,y,O,pe,M,D,U)}function RC(e){for(var t=e;;){var n=t.tag;if((n===0||n===11||n===15)&&t.flags&16384&&(n=t.updateQueue,n!==null&&(n=n.stores,n!==null)))for(var a=0;a<n.length;a++){var o=n[a],i=o.getSnapshot;o=o.value;try{if(!Gn(i(),o))return!1}catch(u){return!1}}if(n=t.child,t.subtreeFlags&16384&&n!==null)n.return=t,t=n;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function ni(e,t,n,a){t=Hs(e,t),t&=~vp,t&=~wi,e.suspendedLanes|=t,e.pingedLanes&=~t,a&&(e.warmLanes|=t),a=e.expirationTimes;for(var o=t;0<o;){var i=31-In(o),u=1<<i;a[i]=-1,o&=~u}n!==0&&ae(e,n,t)}function or(){return(We&(Wt|Aa))===fn?(Yc(0,!1),!1):!0}function _g(){if(Ie!==null){if(mt===la)var e=Ie.return;else e=Ie,Bf(),Nm(e),zr=null,Ru=0,e=Ie;for(;e!==null;)Z1(e.alternate,e),e=e.return;Ie=null}}function ns(e,t){(e&127)!==0&&(hi=t),(e&4194048)!==0&&(ao=t),(e&62914560)!==0&&(Wy=t),(e&2080374784)!==0&&(e0=t)}function lr(e,t){Rt&&(console.timeStamp("Blocking Track",0.003,0.003,"Blocking",Qe,"primary-light"),console.timeStamp("Transition Track",0.003,0.003,"Transition",Qe,"primary-light"),console.timeStamp("Suspense Track",0.003,0.003,"Suspense",Qe,"primary-light"),console.timeStamp("Idle Track",0.003,0.003,"Idle",Qe,"primary-light"));var n=rn;if(rn=Yt(),Ue!==0&&0<n){if(Cn(Ue),Mt===gp||Mt===Ei)Ev(n,rn,t,kt);else{var a=rn,o=kt;if(Rt&&!(a<=n)){var i=(t&738197653)===t?"tertiary-dark":"primary-dark",u=(t&536870912)===t?"Prewarm":(t&201326741)===t?"Interrupted Hydration":"Interrupted Render";o?o.run(console.timeStamp.bind(console,u,n,a,Je,Qe,i)):console.timeStamp(u,n,a,Je,Qe,i)}}ns(Ue,rn)}if(n=kt,kt=null,(t&127)!==0){kt=mu,o=0<=Yo&&Yo<hi?hi:Yo,a=0<=ss&&ss<hi?hi:ss,i=0<=a?a:0<=o?o:rn,0<=Wd?(Cn(2),Tv(Wd,i,t,n)):(cs&127)!==0&&(Cn(2),Yl(hi,i,na)),n=o;var d=a,h=gu,y=0<Dr,O=mi===hu,M=mi===Fd;if(o=rn,a=mu,i=Zy,u=Py,Rt){if(Je="Blocking",0<n?n>o&&(n=o):n=o,0<d?d>n&&(d=n):d=n,h!==null&&n>d){var D=y?"secondary-light":"warning";a?a.run(console.timeStamp.bind(console,y?"Consecutive":"Event: "+h,d,n,Je,Qe,D)):console.timeStamp(y?"Consecutive":"Event: "+h,d,n,Je,Qe,D)}o>n&&(d=O?"error":(t&738197653)===t?"tertiary-light":"primary-light",O=M?"Promise Resolved":O?"Cascading Update":5<o-n?"Update Blocked":"Update",M=[],u!=null&&M.push(["Component name",u]),i!=null&&M.push(["Method name",i]),n={start:n,end:o,detail:{devtools:{properties:M,track:Je,trackGroup:Qe,color:d}}},a?a.run(performance.measure.bind(performance,O,n)):performance.measure(O,n),performance.clearMeasures(O))}Yo=-1.1,mi=0,Py=Zy=null,Wd=-1.1,Dr=ss,ss=-1.1,hi=Yt()}return(t&4194048)!==0&&(kt=yu,o=0<=_l&&_l<ao?ao:_l,n=0<=Ia&&Ia<ao?ao:Ia,a=0<=gi&&gi<ao?ao:gi,i=0<=a?a:0<=n?n:rn,0<=ep?(Cn(256),Tv(ep,i,t,kt)):(cs&4194048)!==0&&(Cn(256),Yl(ao,i,na)),M=a,d=rs,h=0<yi,y=Fy===Fd,i=rn,a=yu,u=cw,O=uw,Rt&&(Je="Transition",0<n?n>i&&(n=i):n=i,0<o?o>n&&(o=n):o=n,0<M?M>o&&(M=o):M=o,o>M&&d!==null&&(D=h?"secondary-light":"warning",a?a.run(console.timeStamp.bind(console,h?"Consecutive":"Event: "+d,M,o,Je,Qe,D)):console.timeStamp(h?"Consecutive":"Event: "+d,M,o,Je,Qe,D)),n>o&&(a?a.run(console.timeStamp.bind(console,"Action",o,n,Je,Qe,"primary-dark")):console.timeStamp("Action",o,n,Je,Qe,"primary-dark")),i>n&&(o=y?"Promise Resolved":5<i-n?"Update Blocked":"Update",M=[],O!=null&&M.push(["Component name",O]),u!=null&&M.push(["Method name",u]),n={start:n,end:i,detail:{devtools:{properties:M,track:Je,trackGroup:Qe,color:"primary-light"}}},a?a.run(performance.measure.bind(performance,o,n)):performance.measure(o,n),performance.clearMeasures(o))),Ia=_l=-1.1,Fy=0,ep=-1.1,yi=gi,gi=-1.1,ao=Yt()),(t&62914560)!==0&&(cs&62914560)!==0&&(Cn(4194304),Yl(Wy,rn,na)),(t&2080374784)!==0&&(cs&2080374784)!==0&&(Cn(268435456),Yl(e0,rn,na)),n=e.timeoutHandle,n!==Cs&&(e.timeoutHandle=Cs,BN(n)),n=e.cancelPendingCommit,n!==null&&(e.cancelPendingCommit=null,n()),sa=0,_g(),Et=e,Ie=n=pl(e.current,null),Ue=t,mt=la,Ca=null,xl=!1,Ir=vo(e,t),w0=!1,Mt=Ml,Ss=ia=vp=wi=Ti=0,Jn=ju=null,Sp=!1,Zo=Hs(e,t),_f(),e=nw(),1000<e-tw&&(V.recentlyCreatedOwnerStacks=0,tw=e),oo.discardPendingWarnings(),n}function kS(e,t){De=null,V.H=up,V.getCurrentStack=null,Ho=!1,Ea=null,t===xr||t===op?(t=Gv(),mt=Lu):t===o0?(t=Gv(),mt=rO):mt=t===m0?T0:t!==null&&typeof t==="object"&&typeof t.then==="function"?Hu:yp,Ca=t;var n=Ie;n===null?(Mt=Bu,sd(e,ha(t,e.current))):n.mode&je&&mm(n)}function LS(){var e=vn.current;return e===null?!0:(Ue&4194048)===Ue?Dn===null?!0:!1:(Ue&62914560)===Ue||(Ue&536870912)!==0?e===Dn:!1}function HS(){var e=V.H;return V.H=up,e===null?up:e}function jS(){var e=V.A;return V.A=EN,e}function Sd(e){kt===null&&(kt=e._debugTask==null?null:e._debugTask)}function Ed(){Mt=Ei,xl||(Ue&4194048)!==Ue&&vn.current!==null||(Ir=!0),(Ti&134217727)===0&&(wi&134217727)===0||Et===null||ni(Et,Ue,ia,!1)}function Ng(e,t,n){var a=We;We|=Wt;var o=HS(),i=jS();if(Et!==e||Ue!==t){if($o){var u=e.memoizedUpdaters;0<u.size&&(Vc(e,Ue),u.clear()),tt(e,t)}$u=null,lr(e,t)}t=!1,u=Mt;e:do try{if(mt!==la&&Ie!==null){var d=Ie,h=Ca;switch(mt){case T0:_g(),u=ku;break e;case Lu:case bs:case vs:case Hu:vn.current===null&&(t=!0);var y=mt;if(mt=la,Ca=null,ir(e,d,h,y),n&&Ir){u=Ml;break e}break;default:y=mt,mt=la,Ca=null,ir(e,d,h,y)}}$S(),u=Mt;break}catch(O){kS(e,O)}while(1);return t&&e.shellSuspendCounter++,Bf(),We=a,V.H=o,V.A=i,Ie===null&&(Et=null,Ue=0,_f()),u}function $S(){for(;Ie!==null;)IS(Ie)}function _C(e,t){var n=We;We|=Wt;var a=HS(),o=jS();if(Et!==e||Ue!==t){if($o){var i=e.memoizedUpdaters;0<i.size&&(Vc(e,Ue),i.clear()),tt(e,t)}$u=null,Tp=Vt()+fO,lr(e,t)}else Ir=vo(e,t);e:do try{if(mt!==la&&Ie!==null)t:switch(t=Ie,i=Ca,mt){case yp:mt=la,Ca=null,ir(e,t,i,yp);break;case bs:case vs:if(Vv(i)){mt=la,Ca=null,qS(t);break}t=function(){mt!==bs&&mt!==vs||Et!==e||(mt=bp),Bo(e)},i.then(t,t);break e;case Lu:mt=bp;break e;case rO:mt=E0;break e;case bp:Vv(i)?(mt=la,Ca=null,qS(t)):(mt=la,Ca=null,ir(e,t,i,bp));break;case E0:var u=null;switch(Ie.tag){case 26:u=Ie.memoizedState;case 5:case 27:var d=Ie;if(u?YE(u):d.stateNode.complete){mt=la,Ca=null;var h=d.sibling;if(h!==null)Ie=h;else{var y=d.return;y!==null?(Ie=y,Td(y)):Ie=null}break t}break;default:console.error("Unexpected type of fiber triggered a suspensey commit. This is a bug in React.")}mt=la,Ca=null,ir(e,t,i,E0);break;case Hu:mt=la,Ca=null,ir(e,t,i,Hu);break;case T0:_g(),Mt=ku;break e;default:throw Error("Unexpected SuspendedReason. This is a bug in React.")}V.actQueue!==null?$S():NC();break}catch(O){kS(e,O)}while(1);if(Bf(),V.H=a,V.A=o,We=n,Ie!==null)return Ml;return Et=null,Ue=0,_f(),Mt}function NC(){for(;Ie!==null&&!WR();)IS(Ie)}function IS(e){var t=e.alternate;(e.mode&je)!==_e?(hm(e),t=oe(e,cg,t,e,Zo),mm(e)):t=oe(e,cg,t,e,Zo),e.memoizedProps=e.pendingProps,t===null?Td(e):Ie=t}function qS(e){var t=oe(e,DC,e);e.memoizedProps=e.pendingProps,t===null?Td(e):Ie=t}function DC(e){var t=e.alternate,n=(e.mode&je)!==_e;switch(n&&hm(e),e.tag){case 15:case 0:t=q1(t,e,e.pendingProps,e.type,void 0,Ue);break;case 11:t=q1(t,e,e.pendingProps,e.type.render,e.ref,Ue);break;case 5:Nm(e);var a=e;a===sn&&($e?(Uf(a),a.tag===5&&a.stateNode!=null&&(Ct=a.stateNode)):(Uf(a),$e=!0));default:Z1(t,e),e=Ie=Nv(e,Zo),t=cg(t,e,Zo)}return n&&mm(e),t}function ir(e,t,n,a){Bf(),Nm(t),zr=null,Ru=0;var o=t.return;try{if(pC(e,o,t,n,Ue)){Mt=Bu,sd(e,ha(n,e.current)),Ie=null;return}}catch(i){if(o!==null)throw Ie=o,i;Mt=Bu,sd(e,ha(n,e.current)),Ie=null;return}if(t.flags&32768){if($e||a===yp)e=!0;else if(Ir||(Ue&536870912)!==0)e=!1;else if(xl=e=!0,a===bs||a===vs||a===Lu||a===Hu)a=vn.current,a!==null&&a.tag===13&&(a.flags|=16384);VS(t,e)}else Td(t)}function Td(e){var t=e;do{if((t.flags&32768)!==0){VS(t,xl);return}var n=t.alternate;if(e=t.return,hm(t),n=oe(t,yC,n,t,Zo),(t.mode&je)!==_e&&Hv(t),n!==null){Ie=n;return}if(t=t.sibling,t!==null){Ie=t;return}Ie=t=e}while(t!==null);Mt===Ml&&(Mt=sO)}function VS(e,t){do{var n=bC(e.alternate,e);if(n!==null){n.flags&=32767,Ie=n;return}if((e.mode&je)!==_e){Hv(e),n=e.actualDuration;for(var a=e.child;a!==null;)n+=a.actualDuration,a=a.sibling;e.actualDuration=n}if(n=e.return,n!==null&&(n.flags|=32768,n.subtreeFlags=0,n.deletions=null),!t&&(e=e.sibling,e!==null)){Ie=e;return}Ie=e=n}while(e!==null);Mt=ku,Ie=null}function Dg(e,t,n,a,o,i,u,d,h,y,O,M,D,U,X){e.cancelPendingCommit=null;do qc();while(xt!==Po);if(oo.flushLegacyContextWarning(),oo.flushPendingUnsafeLifecycleWarnings(),(We&(Wt|Aa))!==fn)throw Error("Should not already be working.");if(Cn(n),O===ys)am(U,X,n,kt);else if(a!==null){if(y=t!==null&&t.alternate!==null&&t.alternate.memoizedState.isDehydrated&&(t.flags&256)!==0,i=kt,Rt&&!(X<=U)){O=[];for(var re=0;re<a.length;re++){var pe=a[re].value;O.push(["Recoverable Error",typeof pe==="object"&&pe!==null&&typeof pe.message==="string"?String(pe.message):String(pe)])}U={start:U,end:X,detail:{devtools:{color:"primary-dark",track:Je,trackGroup:Qe,tooltipText:y?"Hydration Failed":"Recovered after Error",properties:O}}},i?i.run(performance.measure.bind(performance,"Recovered",U)):performance.measure("Recovered",U),performance.clearMeasures("Recovered")}}else i=kt,!Rt||X<=U||(y=(n&738197653)===n?"tertiary-dark":"primary-dark",O=(n&536870912)===n?"Prepared":(n&201326741)===n?"Hydrated":"Render",i?i.run(console.timeStamp.bind(console,O,U,X,Je,Qe,y)):console.timeStamp(O,U,X,Je,Qe,y));if(t!==null){if(n===0&&console.error("finishedLanes should not be empty during a commit. This is a bug in React."),t===e.current)throw Error("Cannot commit the same tree as before. This error is likely caused by a bug in React. Please file an issue.");e===Et&&(Ie=Et=null,Ue=0),Es=t,so=e,sa=n,_0=o,mO=a,Ap=X,Cp=D,Ra=wp,N0=null,MC(e,t,n,u,d,h,M,D,X)}}function MC(e,t,n,a,o,i,u,d,h){var y=t.lanes|t.childLanes;if(R0=y,y|=Gy,ne(e,n,y,a,o,i),Vr=null,(n&335544064)===n?(Yr=nC(e),a=10262):(Yr=null,a=10256),t.actualDuration!==0||(t.subtreeFlags&a)!==0||(t.flags&a)!==0?(e.callbackNode=null,e.callbackPriority=0,jC(hr,function(){return Xu=window.event,Ra===wp&&(Ra=O0),Ug(),null})):(e.callbackNode=null,e.callbackPriority=0),Rl=null,Cl=Yt(),d!==null&&eC(h,Cl,d,kt),dp=!1,d=(t.flags&13878)!==0,(t.subtreeFlags&13878)!==0||d){d=V.T,V.T=null,h=ut.p,ut.p=qn,a=We,We|=Aa;try{OC(e,t,n)}finally{We=a,ut.p=h,V.T=d}}xt=pO,dp?(cs|=n,na=null,qr=hR(u,e.containerInfo,Yr,Mg,xg,BC,zg,Ug,xC,zC,UC.bind(null,n))):(Mg(),xg(),zg())}function xC(e){if(xt!==Po){var t=so.onRecoverableError;t(e,YS(null))}}function zC(e){no=Yt(),Ov(Cp===null?Ap:Cl,no,Rl,Ra===Iu,kt),Cp=N0=e}function UC(e){if((cs&e)!==0){var t=na;cs&=~e,na=null,(e&4194048)!==0&&(Ue&4194048)===0&&(sa&4194048)===0&&(Cn(256),Yl(ao,Vt(),t)),(e&62914560)!==0&&(Ue&62914560)===0&&(sa&62914560)===0&&(Cn(4194304),Yl(Wy,Vt(),t)),(e&2080374784)!==0&&(Ue&2080374784)===0&&(sa&2080374784)===0&&(Cn(268435456),Yl(e0,Vt(),t))}}function BC(){xt===A0&&(xt=Po,TS(Es,so),xt=C0)}function Mg(){if(xt===pO){xt=Po;var e=so,t=Es,n=sa,a=(t.flags&13878)!==0;if((t.subtreeFlags&13878)!==0||a){a=V.T,V.T=null;var o=ut.p;ut.p=qn;var i=We;We|=Aa;try{jr=n,$r=e,zu=mp=!1,$f(),SS(t,e,n),$r=jr=null,n=j0;var u=yv(e.containerInfo),d=n.focusedElem,h=n.selectionRange;if(u!==d&&d&&d.ownerDocument&&gv(d.ownerDocument.documentElement,d)){if(h!==null&&em(d)){var{start:y,end:O}=h;if(O===void 0&&(O=y),"selectionStart"in d)d.selectionStart=y,d.selectionEnd=Math.min(O,d.value.length);else{var M=d.ownerDocument||document,D=M&&M.defaultView||window;if(D.getSelection){var U=D.getSelection(),X=d.textContent.length,re=Math.min(h.start,X),pe=h.end===void 0?re:Math.min(h.end,X);!U.extend&&re>pe&&(u=pe,pe=re,re=u);var Le=mv(d,re),_=mv(d,pe);if(Le&&_&&(U.rangeCount!==1||U.anchorNode!==Le.node||U.anchorOffset!==Le.offset||U.focusNode!==_.node||U.focusOffset!==_.offset)){var N=M.createRange();N.setStart(Le.node,Le.offset),U.removeAllRanges(),re>pe?(U.addRange(N),U.extend(_.node,_.offset)):(N.setEnd(_.node,_.offset),U.addRange(N))}}}}M=[];for(U=d;U=U.parentNode;)U.nodeType===1&&M.push({element:U,left:U.scrollLeft,top:U.scrollTop});typeof d.focus==="function"&&d.focus();for(d=0;d<M.length;d++){var x=M[d];x.element.scrollLeft=x.left,x.element.scrollTop=x.top}}Fr=!!H0,j0=H0=null}finally{We=i,ut.p=o,V.T=a}}e.current=t,xt=hO}}function xg(){if(xt===hO){xt=Po;var e=N0;if(e!==null){Cl=Yt();var t=no,n=Cl;!Rt||n<=t||(na?na.run(console.timeStamp.bind(console,e,t,n,Je,Qe,"secondary-light")):console.timeStamp(e,t,n,Je,Qe,"secondary-light"))}e=so,t=Es,n=sa;var a=(t.flags&8772)!==0;if((t.subtreeFlags&8772)!==0||a){a=V.T,V.T=null;var o=ut.p;ut.p=qn;var i=We;We|=Aa;try{jr=n,$r=e,$f(),hS(e,t.alternate,t),$r=jr=null}finally{We=i,ut.p=o,V.T=a}}e=Ap,t=Cp,no=Yt(),Ov(t===null?e:Cl,no,Rl,Ra===Iu,kt),xt=A0}}function zg(){if(xt===C0||xt===A0){if(xt===C0){var e=no;no=Yt();var t=no,n=Ra===Iu;!Rt||t<=e||(na?na.run(console.timeStamp.bind(console,n?"Interrupted View Transition":"Starting Animation",e,t,Je,Qe,n?"error":"secondary-light")):console.timeStamp(n?"Interrupted View Transition":"Starting Animation",e,t,Je,Qe,n?" error":"secondary-light")),Ra!==Iu&&(Ra=dO)}xt=Po,e=qr,qr=null,e_(),t=so;var a=Es;n=sa;var o=mO,i=(n&335544064)===n?10262:10256;(i=a.actualDuration!==0||(a.subtreeFlags&i)!==0||(a.flags&i)!==0)?xt=Op:(xt=Po,Es=so=null,GS(t,t.pendingLanes),Ts=0,Vu=null);var u=t.pendingLanes;if(u===0&&(Oi=null),i||KS(t),u=Da(n),a=a.stateNode,_n&&typeof _n.onCommitFiberRoot==="function")try{var d=(a.current.flags&128)===128;switch(u){case qn:var h=Oy;break;case eo:h=Ay;break;case Io:h=hr;break;case Hd:h=Cy;break;default:h=hr}_n.onCommitFiberRoot(mr,a,h,d)}catch(D){jo||(jo=!0,console.error("React instrumentation encountered an error: %o",D))}if($o&&t.memoizedUpdaters.clear(),CC(),o!==null){d=V.T,h=ut.p,ut.p=qn,V.T=null;try{var y=t.onRecoverableError;for(a=0;a<o.length;a++){var O=o[a],M=YS(O.stack);oe(O.source,y,O.value,M)}}finally{V.T=d,ut.p=h}}if(y=Vr,O=Yr,Yr=null,y!==null&&(Vr=null,O===null&&(O=[]),e!==null))for(M=0;M<y.length;M++)o=(0,y[M])(O),o!==void 0&&e.finished.finally(o);(sa&3)!==0&&qc(),Bo(t),u=t.pendingLanes,(n&261930)!==0&&(u&42)!==0?(np=!0,t===Rp?qu++:(qu=0,Rp=t)):(qu=0,Rp=null),i||ns(n,no),Yc(0,!1)}}function YS(e){return e={componentStack:e},Object.defineProperty(e,"digest",{get:function(){console.error('You are accessing "digest" from the errorInfo object passed to onRecoverableError. This property is no longer provided as part of errorInfo but can be accessed as a property of the Error instance itself.')}}),e}function GS(e,t){(e.pooledCacheLanes&=t)===0&&(t=e.pooledCache,t!=null&&(e.pooledCache=null,Cc(t)))}function qc(){return qr!==null&&(qr.skipTransition(),gO||(gO=!0,console.warn("A flushSync update cancelled a View Transition because it was called while the View Transition was still preparing. To preserve the synchronous semantics, React had to skip the View Transition. If you can, try to avoid flushSync() in a scenario that's likely to interfere.")),qr=null,Ra=Iu),Mg(),xg(),zg(),Ug()}function Ug(){if(xt!==Op)return!1;var e=so,t=R0;R0=0;var n=Da(sa),a=Io===0||Io>n?Io:n;n=V.T;var o=ut.p;try{ut.p=a,V.T=null;var i=_0;_0=null,a=so;var u=sa;if(xt=Po,Es=so=null,sa=0,(We&(Wt|Aa))!==fn)throw Error("Cannot flush passive effects while already rendering.");Cn(u),D0=!0,_p=!1;var d=0;if(Rl=null,d=Vt(),Ra===dO)Yl(no,d,na);else{var h=no,y=d,O=Ra===O0;!Rt||y<=h||(kt?kt.run(console.timeStamp.bind(console,O?"Waiting for Paint":"Waiting",h,y,Je,Qe,"secondary-light")):console.timeStamp(O?"Waiting for Paint":"Waiting",h,y,Je,Qe,"secondary-light"))}h=We,We|=Aa;var M=a.current;$f(),NS(M);var D=a.current;M=Ap,$f(),AS(a,D,u,i,M),KS(a),We=h;var U=Vt();if(D=d,M=kt,Rl!==null?wv(D,U,Rl,!0,M):!Rt||U<=D||(M?M.run(console.timeStamp.bind(console,"Remaining Effects",D,U,Je,Qe,"secondary-dark")):console.timeStamp("Remaining Effects",D,U,Je,Qe,"secondary-dark")),ns(u,U),Yc(0,!1),_p?a===Vu?Ts++:(Ts=0,Vu=a):Ts=0,_p=D0=!1,_n&&typeof _n.onPostCommitFiberRoot==="function")try{_n.onPostCommitFiberRoot(mr,a)}catch(re){jo||(jo=!0,console.error("React instrumentation encountered an error: %o",re))}var X=a.current.stateNode;return X.effectDuration=0,X.passiveEffectDuration=0,!0}finally{ut.p=o,V.T=n,GS(e,t)}}function QS(e,t,n){t=ha(n,t),jv(t),t=Fm(e.stateNode,t,2),e=Pl(e,t,2),e!==null&&(B(e,2),Bo(e))}function ct(e,t,n){if(Gr=!1,e.tag===3)QS(e,e,n);else{for(;t!==null;){if(t.tag===3){QS(t,e,n);return}if(t.tag===1){var a=t.stateNode;if(typeof t.type.getDerivedStateFromError==="function"||typeof a.componentDidCatch==="function"&&(Oi===null||!Oi.has(a))){e=ha(n,e),jv(e),n=Wm(2),a=Pl(t,n,2),a!==null&&(eg(n,a,t,e),B(a,2),Bo(a));return}}t=t.return}console.error(`Internal React error: Attempted to capture a commit phase error inside a detached tree. This indicates a bug in React. Potential causes include deleting the same fiber more than once, committing an already-finished tree, or an inconsistent return pointer.
|
|
155
|
+
Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fetching`:" You returned: "+a,oe(t,function(d,h){console.error("%s must not return anything besides a function, which is used for clean-up.%s",d,h)},i,u)}n=n.next}while(n!==o)}}catch(d){ct(t,t.return,d)}}function Ws(e,t,n){try{var a=t.updateQueue,o=a!==null?a.lastEffect:null;if(o!==null){var i=o.next;a=i;do{if((a.tag&e)===e){var u=a.inst,d=u.destroy;d!==void 0&&(u.destroy=void 0,(e&Xn)!==Nu&&(Gr=!0),o=t,oe(o,yN,o,n,d),(e&Xn)!==Nu&&(Gr=!1))}a=a.next}while(a!==i)}}catch(h){ct(t,t.return,h)}}function F1(e,t){xo(e)?(Mo(),Hc(t,e),Do()):Hc(t,e)}function dg(e,t,n){xo(e)?(Mo(),Ws(n,e,t),Do()):Ws(n,e,t)}function W1(e){var t=e.updateQueue;if(t!==null){var n=e.stateNode;e.type.defaultProps||"ref"in e.memoizedProps||Hr||(n.props!==e.memoizedProps&&console.error("Expected %s props to match memoized props before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",L(e)||"instance"),n.state!==e.memoizedState&&console.error("Expected %s state to match memoized state before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",L(e)||"instance"));try{oe(e,e1,t,n)}catch(a){ct(e,e.return,a)}}}function vC(e,t,n){return e.getSnapshotBeforeUpdate(t,n)}function SC(e,t){var n=t.memoizedProps,a=t.memoizedState;t=e.stateNode,e.type.defaultProps||"ref"in e.memoizedProps||Hr||(t.props!==e.memoizedProps&&console.error("Expected %s props to match memoized props before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",L(e)||"instance"),t.state!==e.memoizedState&&console.error("Expected %s state to match memoized state before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",L(e)||"instance"));try{var o=es(e.type,n),i=oe(e,vC,t,o,a);n=oO,i!==void 0||n.has(e.type)||(n.add(e.type),oe(e,function(){console.error("%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.",L(e))})),t.__reactInternalSnapshotBeforeUpdate=i}catch(u){ct(e,e.return,u)}}function eS(e,t,n){n.props=es(e.type,e.memoizedProps),n.state=e.memoizedState,xo(e)?(Mo(),oe(e,Tw,e,t,n),Do()):oe(e,Tw,e,t,n)}function EC(e){var t=e.ref;if(t!==null){switch(e.tag){case 26:case 27:case 5:var n=e.stateNode;break;case 30:n=e.stateNode;var a=fl(e.memoizedProps,n);if(n.ref===null||n.ref.name!==a)n.ref=AE(a);n=n.ref;break;case 7:e.stateNode===null&&(n=new va(e),ie(e,wR,n),e.stateNode=n),n=e.stateNode;break;default:n=e.stateNode}if(typeof t==="function")if(xo(e))try{Mo(),e.refCleanup=t(n)}finally{Do()}else e.refCleanup=t(n);else typeof t==="string"?console.error("String refs are no longer supported."):t.hasOwnProperty("current")||console.error("Unexpected ref object provided for %s. Use either a ref-setter function or React.createRef().",L(e)),t.current=n}}function zo(e,t){try{oe(e,EC,e)}catch(n){ct(e,t,n)}}function gn(e,t){var n=e.ref,a=e.refCleanup;if(n!==null)if(typeof a==="function")try{if(xo(e))try{Mo(),oe(e,a)}finally{Do(e)}else oe(e,a)}catch(o){ct(e,t,o)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof n==="function")try{if(xo(e))try{Mo(),oe(e,n,null)}finally{Do(e)}else oe(e,n,null)}catch(o){ct(e,t,o)}else n.current=null}function tS(e,t,n,a){var o=e.memoizedProps,i=o.id,u=o.onCommit;o=o.onRender,t=t===null?"mount":"update",tp&&(t="nested-update"),typeof o==="function"&&o(i,t,e.actualDuration,e.treeBaseDuration,e.actualStartTime,n),typeof u==="function"&&u(i,t,a,n)}function TC(e,t,n,a){var o=e.memoizedProps;e=o.id,o=o.onPostCommit,t=t===null?"mount":"update",tp&&(t="nested-update"),typeof o==="function"&&o(e,t,a,n)}function pd(e,t){if((e.tag===5||e.tag===27||e.tag===6)&&e.alternate===null&&t!==null)for(var n=0;n<t.length;n++)ME(e.stateNode,t[n])}function nS(e){for(var t=e.return;t!==null;){if(hg(t)&&ME(e.stateNode,t.stateNode),pg(t))break;t=t.return}}function jc(e){for(var t=e.return;t!==null;){if(hg(t)&&OR(e.stateNode,t.stateNode),pg(t))break;t=t.return}}function pg(e){return e.tag===5||e.tag===3||e.tag===27}function hg(e){return e&&e.tag===7&&e.stateNode!==null}function mg(e){var{type:t,memoizedProps:n,stateNode:a}=e;try{oe(e,PC,a,t,n,e)}catch(o){ct(e,e.return,o)}}function gg(e,t,n){try{oe(e,WC,e.stateNode,e.type,n,t,e)}catch(a){ct(e,e.return,a)}}function aS(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&oi(e.type)||e.tag===4}function yg(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||aS(e.return))return null;e=e.return}e.sibling.return=e.return;for(e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.tag===27&&oi(e.type))continue e;if(e.flags&2)continue e;if(e.child===null||e.tag===4)continue e;else e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function bg(e,t,n,a){var o=e.tag;if(o===5||o===6)o=e.stateNode,t?(vE(n),(n.nodeType===9?n.body:n.nodeName==="HTML"?n.ownerDocument.body:n).insertBefore(o,t)):(vE(n),t=n.nodeType===9?n.body:n.nodeName==="HTML"?n.ownerDocument.body:n,t.appendChild(o),o=n._reactRootContainer,o!==null&&o!==void 0||t.onclick!==null||(t.onclick=To)),pd(e,a),rt=!0;else if(o!==4&&(o===27&&(pd(e,a),a=null,oi(e.type)&&(n=e.stateNode,t=null)),e=e.child,e!==null))for(bg(e,t,n,a),e=e.sibling;e!==null;)bg(e,t,n,a),e=e.sibling}function hd(e,t,n,a){var o=e.tag;if(o===5||o===6)o=e.stateNode,t?n.insertBefore(o,t):n.appendChild(o),pd(e,a),rt=!0;else if(o!==4&&(o===27&&(pd(e,a),a=null,oi(e.type)&&(n=e.stateNode)),e=e.child,e!==null))for(hd(e,t,n,a),e=e.sibling;e!==null;)hd(e,t,n,a),e=e.sibling}function wC(e){for(var t,n=e.return;n!==null;){if(aS(n)){t=n;break}n=n.return}n=null;for(var a=e.return;a!==null;){if(hg(a)){var o=a.stateNode;n===null?n=[o]:n.push(o)}if(pg(a))break;a=a.return}if(t==null)throw Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");switch(t.tag){case 27:t=t.stateNode,a=yg(e),hd(e,a,t,n);break;case 5:a=t.stateNode,t.flags&32&&(bE(a),t.flags&=-33),t=yg(e),hd(e,t,a,n);break;case 3:case 4:t=t.stateNode.containerInfo,a=yg(e),bg(e,a,t,n);break;default:throw Error("Invalid host parent fiber. This error is likely caused by a bug in React. Please file an issue.")}}function oS(e){var{stateNode:t,memoizedProps:n}=e;try{oe(e,zR,e.type,n,t,e)}catch(a){ct(e,e.return,a)}}function lS(e){if(e.tag===30||(e.subtreeFlags&33554432)!==0)dp=!0}function iS(){var e=Xo;return Xo=null,e}function er(e,t,n,a,o){return aa=0,(t=sS(e.child,t,n,a,o))&&e._debugTask!=null&&na===null&&(na=e._debugTask),t}function sS(e,t,n,a,o){for(var i=!1;e!==null;){if(e.tag===5){var u=e.stateNode;if(a!==null){var d=Kg(u);a.push(d),d.view&&(i=!0)}else i||Kg(u).view&&(i=!0);dp=!0,TE(u,aa===0?t:t+"_"+aa,n),aa++}else if(e.tag!==22||e.memoizedState===null)e.tag===30&&o||sS(e.child,t,n,a,o)&&(i=!0);e=e.sibling}return i}function Uo(e,t){for(;e!==null;){if(e.tag===5)wE(e.stateNode,e.memoizedProps);else if(e.tag!==22||e.memoizedState===null)e.tag===30&&t||Uo(e.child,t);e=e.sibling}}function md(e){if((e.subtreeFlags&18874368)!==0)for(e=e.child;e!==null;){if(e.tag!==22||e.memoizedState===null){if(md(e),e.tag===30&&(e.flags&18874368)!==0&&e.stateNode.paired){var t=e.memoizedProps;if(t.name==null||t.name==="auto")throw Error("Found a pair with an auto name. This is a bug in React.");var n=t.name;t=dl(t.default,t.share),t!=="none"&&(er(e,n,t,null,!1)||Uo(e.child,!1))}}e=e.sibling}}function vg(e,t){if(e.tag===30){var n=e.stateNode,a=e.memoizedProps,o=fl(a,n),i=dl(a.default,n.paired?a.share:a.enter);i!=="none"?er(e,o,i,null,!1)?(md(e),n.paired||t||ar(e,a.onEnter)):Uo(e.child,!1):md(e)}else if((e.subtreeFlags&33554432)!==0)for(e=e.child;e!==null;)vg(e,t),e=e.sibling;else md(e)}function Sg(e){if(Oa!==null&&Oa.size!==0){var t=Oa;if((e.subtreeFlags&18874368)!==0)for(e=e.child;e!==null;){if(e.tag!==22||e.memoizedState===null){if(e.tag===30&&(e.flags&18874368)!==0){var n=e.memoizedProps,a=n.name;if(a!=null&&a!=="auto"){var o=t.get(a);if(o!==void 0){var i=dl(n.default,n.share);if(i!=="none"&&(er(e,a,i,null,!1)?(i=e.stateNode,o.paired=i,i.paired=o,ar(e,n.onShare)):Uo(e.child,!1)),t.delete(a),t.size===0)break}}}Sg(e)}e=e.sibling}}}function Eg(e){if(e.tag===30){var t=e.memoizedProps,n=fl(t,e.stateNode),a=Oa!==null?Oa.get(n):void 0,o=dl(t.default,a!==void 0?t.share:t.exit);o!=="none"&&(er(e,n,o,null,!1)?a!==void 0?(o=e.stateNode,a.paired=o,o.paired=a,Oa.delete(n),ar(e,t.onShare)):ar(e,t.onExit):Uo(e.child,!1)),Oa!==null&&Sg(e)}else if((e.subtreeFlags&33554432)!==0)for(e=e.child;e!==null;)Eg(e),e=e.sibling;else Oa!==null&&Sg(e)}function rS(e){for(e=e.child;e!==null;){if(e.tag===30){var t=e.memoizedProps,n=fl(t,e.stateNode);t=dl(t.default,t.update),e.flags&=-5,t!=="none"&&er(e,n,t,e.memoizedState=[],!1)}else(e.subtreeFlags&33554432)!==0&&rS(e);e=e.sibling}}function Tg(e){if((e.subtreeFlags&18874368)!==0)for(e=e.child;e!==null;){if(e.tag!==22||e.memoizedState===null){if(e.tag===30&&(e.flags&18874368)!==0){var t=e.stateNode;t.paired!==null&&(t.paired=null,Uo(e.child,!1))}Tg(e)}e=e.sibling}}function gd(e){if(e.tag===30)e.stateNode.paired=null,Uo(e.child,!1),Tg(e);else if((e.subtreeFlags&33554432)!==0)for(e=e.child;e!==null;)gd(e),e=e.sibling;else Tg(e)}function cS(e){for(e=e.child;e!==null;)e.tag===30?Uo(e.child,!1):(e.subtreeFlags&33554432)!==0&&cS(e),e=e.sibling}function wg(e,t,n,a,o,i,u){for(var d=!1;t!==null;){if(t.tag===5){var h=t.stateNode;if(i!==null&&aa<i.length){var y=i[aa],O=Kg(h);if(y.view||O.view)d=!0;var M;if(M=(e.flags&4)===0)if(O.clip)M=!0;else{M=y.rect;var D=O.rect;M=M.y!==D.y||M.x!==D.x||M.height!==D.height||M.width!==D.width}M&&(e.flags|=4),O.abs?O=!y.abs:(y=y.rect,O=O.rect,O=y.height!==O.height||y.width!==O.width),O&&(e.flags|=32)}else e.flags|=32;(e.flags&4)!==0&&TE(h,aa===0?n:n+"_"+aa,o),d&&(e.flags&4)!==0||(Xo===null&&(Xo=[]),Xo.push(h,aa===0?a:a+"_"+aa,t.memoizedProps)),aa++}else if(t.tag!==22||t.memoizedState===null)t.tag===30&&u?e.flags|=t.flags&32:wg(e,t.child,n,a,o,i,u)&&(d=!0);t=t.sibling}return d}function uS(e,t){for(e=e.child;e!==null;){if(e.tag===30){var n=e.memoizedProps,a=e.stateNode,o=fl(n,a),i=dl(n.default,n.update);if(t){a=a.clones;var u=a===null?null:a.map(uR)}else u=e.memoizedState,e.memoizedState=null;a=e;var d=e.child,h=o;aa=0,i=wg(a,d,h,o,i,u,!1),(e.flags&4)!==0&&i&&(t||ar(e,n.onUpdate))}else(e.subtreeFlags&33554432)!==0&&uS(e,t);e=e.sibling}}function fS(e){var t=e.memoizedProps.name;if(t!=null&&t!=="auto"){var n=pp.get(t);if(n!==void 0){if(n!==e&&n!==e.alternate&&!lO[t]){lO[t]=!0;var a=JSON.stringify(t);oe(e,function(){console.error("There are two <ViewTransition name=%s> components with the same name mounted at the same time. This is not supported and will cause View Transitions to error. Try to use a more unique name e.g. by using a namespace prefix and adding the id of an item to the name.",a)}),oe(n,function(){console.error("The existing <ViewTransition name=%s> duplicate has this stack trace.",a)})}}else pp.set(t,e)}}function dS(e){var t=e.memoizedProps.name;if(t!=null&&t!=="auto"){var n=pp.get(t);n===void 0||n!==e&&n!==e.alternate||pp.delete(t)}}function pS(e,t){return t.tag===31?(t=t.memoizedState,e.memoizedState!==null&&t===null):t.tag===13?(e=e.memoizedState,t=t.memoizedState,e!==null&&e.dehydrated!==null&&(t===null||t.dehydrated===null)):t.tag===3?e.memoizedState.isDehydrated&&(t.flags&256)===0:!1}function OC(e,t,n){if(e=e.containerInfo,H0=Fr,e=yv(e),em(e)){if("selectionStart"in e)var a={start:e.selectionStart,end:e.selectionEnd};else e:{a=(a=e.ownerDocument)&&a.defaultView||window;var o=a.getSelection&&a.getSelection();if(o&&o.rangeCount!==0){a=o.anchorNode;var i=o.anchorOffset,u=o.focusNode;o=o.focusOffset;try{a.nodeType,u.nodeType}catch(re){a=null;break e}var d=0,h=-1,y=-1,O=0,M=0,D=e,U=null;t:for(;;){for(var X;;){if(D!==a||i!==0&&D.nodeType!==3||(h=d+i),D!==u||o!==0&&D.nodeType!==3||(y=d+o),D.nodeType===3&&(d+=D.nodeValue.length),(X=D.firstChild)===null)break;U=D,D=X}for(;;){if(D===e)break t;if(U===a&&++O===i&&(h=d),U===u&&++M===o&&(y=d),(X=D.nextSibling)!==null)break;D=U,U=D.parentNode}D=X}a=h===-1||y===-1?null:{start:h,end:y}}else a=null}a=a||{start:0,end:0}}else a=null;j0={focusedElem:e,selectionRange:a},Fr=!1,n=(n&335544064)===n,un=t;for(t=n?9270:1024;un!==null;){if(e=un,n&&(a=e.deletions,a!==null))for(i=0;i<a.length;i++)n&&Eg(a[i]);if(e.alternate===null&&(e.flags&2)!==0)n&&lS(e),yd(n);else{if(e.tag===22){if(a=e.alternate,e.memoizedState!==null){a!==null&&a.memoizedState===null&&n&&Eg(a),yd(n);continue}else if(a!==null&&a.memoizedState!==null){n&&lS(e),yd(n);continue}}a=e.child,(e.subtreeFlags&t)!==0&&a!==null?(a.return=e,un=a):(n&&rS(e),yd(n))}}Oa=null}function yd(e){for(;un!==null;){var t=un,n=t,a=e,o=n.alternate,i=n.flags;switch(n.tag){case 0:case 11:case 15:break;case 1:(i&1024)!==0&&o!==null&&SC(n,o);break;case 3:if((i&1024)!==0){if(a=n.stateNode.containerInfo,n=a.nodeType,n===9)Pg(a);else if(n===1)switch(a.nodeName){case"HEAD":case"HTML":case"BODY":Pg(a);break;default:a.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;case 30:a&&o!==null&&(a=o,o=n,n=fl(a.memoizedProps,a.stateNode),o=o.memoizedProps,o=dl(o.default,o.update),o!=="none"&&er(a,n,o,a.memoizedState=[],!0));break;default:if((i&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(a=t.sibling,a!==null){a.return=t.return,un=a;break}un=t.return}}function hS(e,t,n){var a=ma(),o=Co(),i=_o(),u=No(),d=n.flags;switch(n.tag){case 0:case 11:case 15:Fa(e,n),d&4&&P1(n,wa|qa);break;case 1:if(Fa(e,n),d&4)if(e=n.stateNode,t===null)n.type.defaultProps||"ref"in n.memoizedProps||Hr||(e.props!==n.memoizedProps&&console.error("Expected %s props to match memoized props before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",L(n)||"instance"),e.state!==n.memoizedState&&console.error("Expected %s state to match memoized state before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",L(n)||"instance")),xo(n)?(Mo(),oe(n,a0,n,e),Do()):oe(n,a0,n,e);else{var h=es(n.type,t.memoizedProps);t=t.memoizedState,n.type.defaultProps||"ref"in n.memoizedProps||Hr||(e.props!==n.memoizedProps&&console.error("Expected %s props to match memoized props before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",L(n)||"instance"),e.state!==n.memoizedState&&console.error("Expected %s state to match memoized state before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",L(n)||"instance")),xo(n)?(Mo(),oe(n,vw,n,e,h,t,e.__reactInternalSnapshotBeforeUpdate),Do()):oe(n,vw,n,e,h,t,e.__reactInternalSnapshotBeforeUpdate)}d&64&&W1(n),d&512&&zo(n,n.return);break;case 3:if(t=gl(),Fa(e,n),d&64&&(d=n.updateQueue,d!==null)){if(h=null,n.child!==null)switch(n.child.tag){case 27:case 5:h=n.child.stateNode;break;case 1:h=n.child.stateNode}try{oe(n,e1,d,h)}catch(O){ct(n,n.return,O)}}e.effectDuration+=jf(t);break;case 27:t===null&&d&4&&oS(n);case 26:case 5:if(Fa(e,n),t===null){if(d&4)mg(n);else if(d&64){e=n.type,t=n.memoizedProps,h=n.stateNode;try{oe(n,FC,h,e,t,n)}catch(O){ct(n,n.return,O)}}}d&512&&zo(n,n.return);break;case 12:if(d&4){d=gl(),Fa(e,n),e=n.stateNode,e.effectDuration+=Rc(d);try{oe(n,tS,n,t,Cl,e.effectDuration)}catch(O){ct(n,n.return,O)}}else Fa(e,n);break;case 31:Fa(e,n),d&4&&bS(e,n);break;case 13:Fa(e,n),d&4&&vS(e,n),d&64&&(e=n.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(d=LC.bind(null,n),RR(e,d))));break;case 22:if(d=n.memoizedState!==null||cn,!d){var y=t!==null&&t.memoizedState!==null||ht;t=cn,h=ht,cn=d,(ht=y)&&!h?(d=hp,(n.subtreeFlags&8772)!==0&&(d|=b0),xa(e,n,d),(n.mode&je)!==_e&&0<=ve&&0<=Te&&0.05<Te-ve&&Cf(n,ve,Te)):Fa(e,n),cn=t,ht=h}break;case 30:d&18874368&&fS(n),Fa(e,n),d&512&&zo(n,n.return);break;case 7:d&512&&zo(n,n.return);default:Fa(e,n)}(n.mode&je)!==_e&&0<=ve&&0<=Te&&((kt||0.05<Dt)&&Oo(n,ve,Te,Dt,Nt),n.alternate===null&&n.return!==null&&n.return.alternate!==null&&0.05<Te-ve&&(pS(n.return.alternate,n.return)||wo(n,ve,Te,"Mount"))),ga(a),Ro(o),Nt=i,kt=u}function Og(e,t){for(e=e.child;e!==null;)mS(e,t),e=e.sibling}function mS(e,t){switch(e.tag){case 5:case 26:try{var n=e.stateNode;t?oe(e,oR,n):oe(e,sR,e.stateNode,e.memoizedProps)}catch(i){ct(e,e.return,i)}Ag(e,t);break;case 6:try{var a=e.stateNode;t?oe(e,lR,a):oe(e,rR,a,e.memoizedProps),rt=!0}catch(i){ct(e,e.return,i)}break;case 18:try{var o=e.stateNode;t?oe(e,aR,o):oe(e,iR,e.stateNode)}catch(i){ct(e,e.return,i)}break;case 22:case 23:e.memoizedState===null&&Og(e,t);break;default:Og(e,t)}}function Ag(e,t){if(e.subtreeFlags&67108864)for(e=e.child;e!==null;){e:{var n=e,a=t;switch(n.tag){case 4:mS(n,a);break e;case 22:n.memoizedState===null&&Ag(n,a);break e;default:Ag(n,a)}}e=e.sibling}}function gS(e){var t=e.alternate;t!==null&&(e.alternate=null,gS(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&js(t)),e.stateNode=null,e._debugOwner=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function Pa(e,t,n){for(n=n.child;n!==null;)yS(e,t,n),n=n.sibling}function yS(e,t,n){if(_n&&typeof _n.onCommitFiberUnmount==="function")try{_n.onCommitFiberUnmount(mr,n)}catch(y){jo||(jo=!0,console.error("React instrumentation encountered an error: %o",y))}var a=ma(),o=Co(),i=_o(),u=No();switch(n.tag){case 26:ht||gn(n,t),Pa(e,t,n),n.memoizedState?n.memoizedState.count--:n.stateNode&&!ht&&(e=n.stateNode,e.parentNode.removeChild(e));break;case 27:ht||gn(n,t),jc(n);var d=Jt,h=oa;oi(n.type)&&(Jt=n.stateNode,oa=!1),Pa(e,t,n),oe(n,LE,n.stateNode,n.type,n.memoizedProps),Jt=d,oa=h;break;case 5:ht||gn(n,t),jc(n);case 6:if(n.tag===6&&jc(n),d=Jt,h=oa,Jt=null,Pa(e,t,n),Jt=d,oa=h,Jt!==null)if(oa)try{oe(n,nR,Jt,n.stateNode),rt=!0}catch(y){ct(n,t,y)}else try{oe(n,tR,Jt,n.stateNode),rt=!0}catch(y){ct(n,t,y)}break;case 18:Jt!==null&&(oa?(e=Jt,SE(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,n.stateNode),ur(e)):SE(Jt,n.stateNode));break;case 4:d=Jt,h=oa,Jt=n.stateNode.containerInfo,oa=!0,Pa(e,t,n),Jt=d,oa=h;break;case 0:case 11:case 14:case 15:Ws(Xn,n,t),ht||fg(n,t,wa),Pa(e,t,n);break;case 1:ht||(gn(n,t),d=n.stateNode,typeof d.componentWillUnmount==="function"&&eS(n,t,d)),Pa(e,t,n);break;case 21:Pa(e,t,n);break;case 22:ht=(d=ht)||n.memoizedState!==null,Pa(e,t,n),ht=d;break;case 30:n.flags&18874368&&dS(n),gn(n,t),Pa(e,t,n);break;case 7:ht||gn(n,t),Pa(e,t,n);break;default:Pa(e,t,n)}(n.mode&je)!==_e&&0<=ve&&0<=Te&&(kt||0.05<Dt)&&Oo(n,ve,Te,Dt,Nt),ga(a),Ro(o),Nt=i,kt=u}function bS(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null))){e=e.dehydrated;try{oe(t,NR,e)}catch(n){ct(t,t.return,n)}}}function vS(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{oe(t,DR,e)}catch(n){ct(t,t.return,n)}}function AC(e){switch(e.tag){case 31:case 13:case 19:var t=e.stateNode;return t===null&&(t=e.stateNode=new iO),t;case 22:return e=e.stateNode,t=e._retryCache,t===null&&(t=e._retryCache=new iO),t;default:throw Error("Unexpected Suspense handler tag ("+e.tag+"). This is a bug in React.")}}function bd(e,t){var n=AC(e);t.forEach(function(a){if(!n.has(a)){if(n.add(a),$o)if(jr!==null&&$r!==null)Vc($r,jr);else throw Error("Expected finished root and lanes to be set. This is a bug in React.");var o=HC.bind(null,e,a);a.then(o,o)}})}function jn(e,t,n){var a=t.deletions;if(a!==null)for(var o=0;o<a.length;o++){var i=e,u=t,d=a[o],h=ma(),y=u;e:for(;y!==null;){switch(y.tag){case 27:if(oi(y.type)){Jt=y.stateNode,oa=!1;break e}break;case 5:Jt=y.stateNode,oa=!1;break e;case 3:case 4:Jt=y.stateNode.containerInfo,oa=!0;break e}y=y.return}if(Jt===null)throw Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");yS(i,u,d),Jt=null,oa=!1,(d.mode&je)!==_e&&0<=ve&&0<=Te&&0.05<Te-ve&&wo(d,ve,Te,"Unmount"),ga(h),i=d,u=i.alternate,u!==null&&(u.return=null),i.return=null}if(t.subtreeFlags&13886)for(t=t.child;t!==null;)SS(t,e,n),t=t.sibling}function SS(e,t,n){var a=ma(),o=Co(),i=_o(),u=No(),{alternate:d,flags:h}=e;switch(e.tag){case 0:case 11:case 14:case 15:if(h&4&&(d=e.updateQueue,d=d!==null?d.events:null,d!==null))for(var y=0;y<d.length;y++){var O=d[y];O.ref.impl=O.nextImpl}jn(t,e,n),$n(e),h&4&&(Ws(Xn|qa,e,e.return),Hc(Xn|qa,e),fg(e,e.return,wa|qa));break;case 1:jn(t,e,n),$n(e),h&512&&(ht||d===null||gn(d,d.return)),h&64&&cn&&(t=e.updateQueue,t!==null&&(n=t.callbacks,n!==null&&(h=t.shared.hiddenCallbacks,t.shared.hiddenCallbacks=h===null?n:h.concat(n))));break;case 26:if(y=io,jn(t,e,n),$n(e),h&512&&(ht||d===null||gn(d,d.return)),h&4)if(h=d!==null?d.memoizedState:null,n=e.memoizedState,d===null)if(n===null)if(e.stateNode===null)if(cn)e.stateNode=yE(e.type,e.memoizedProps,t.containerInfo,e);else{e:{t=e.type,n=e.memoizedProps,h=y.ownerDocument||y;t:switch(t){case"title":if(d=h.getElementsByTagName("title")[0],!d||d[nu]||d[bn]||d.namespaceURI===yr||d.hasAttribute("itemprop"))d=h.createElement(t),h.head.insertBefore(d,h.querySelector("head > title"));yn(d,t,n),d[bn]=e,on(d),t=d;break e;case"link":if(y=qE("link","href",h).get(t+(n.href||""))){for(O=0;O<y.length;O++)if(d=y[O],d.getAttribute("href")===(n.href==null||n.href===""?null:n.href)&&d.getAttribute("rel")===(n.rel==null?null:n.rel)&&d.getAttribute("title")===(n.title==null?null:n.title)&&d.getAttribute("crossorigin")===(n.crossOrigin==null?null:n.crossOrigin)){y.splice(O,1);break t}}d=h.createElement(t),yn(d,t,n),h.head.appendChild(d);break;case"meta":if(y=qE("meta","content",h).get(t+(n.content||""))){for(O=0;O<y.length;O++)if(d=y[O],bt(n.content,"content"),d.getAttribute("content")===(n.content==null?null:""+n.content)&&d.getAttribute("name")===(n.name==null?null:n.name)&&d.getAttribute("property")===(n.property==null?null:n.property)&&d.getAttribute("http-equiv")===(n.httpEquiv==null?null:n.httpEquiv)&&d.getAttribute("charset")===(n.charSet==null?null:n.charSet)){y.splice(O,1);break t}}d=h.createElement(t),yn(d,t,n),h.head.appendChild(d);break;default:throw Error('getNodesForType encountered a type it did not expect: "'+t+'". This is a bug in React.')}d[bn]=e,on(d),t=d}e.stateNode=t}else cn||oy(y,e.type,e.stateNode);else e.stateNode=IE(y,n,e.memoizedProps);else h!==n?(h===null?(t=d.stateNode,t===null||ht||t.parentNode.removeChild(t)):h.count--,n===null?cn||oy(y,e.type,e.stateNode):IE(y,n,e.memoizedProps)):n===null&&e.stateNode!==null&&gg(e,e.memoizedProps,d.memoizedProps);break;case 27:jn(t,e,n),$n(e),h&512&&(ht||d===null||gn(d,d.return)),d!==null&&h&4&&gg(e,e.memoizedProps,d.memoizedProps);break;case 5:if(y=Jo,Jo=!1,jn(t,e,n),Jo=y,$n(e),h&512&&(ht||d===null||gn(d,d.return)),e.flags&32){t=e.stateNode;try{oe(e,bE,t),rt=!0}catch(X){ct(e,e.return,X)}}h&4&&e.stateNode!=null&&(t=e.memoizedProps,gg(e,t,d!==null?d.memoizedProps:t)),h&1024&&(v0=!0,e.type!=="form"&&console.error("Unexpected host component type. Expected a form. This is a bug in React."));break;case 6:if(jn(t,e,n),$n(e),h&4){if(e.stateNode===null)throw Error("This should have a text node initialized. This error is likely caused by a bug in React. Please file an issue.");t=e.memoizedProps,n=d!==null?d.memoizedProps:t,h=e.stateNode;try{oe(e,eR,h,n,t),rt=!0}catch(X){ct(e,e.return,X)}}break;case 3:if(y=gl(),rt=!1,Hp=null,O=io,io=Kc(t.containerInfo),jn(t,e,n),io=O,$n(e),h&4&&d!==null&&d.memoizedState.isDehydrated)try{oe(e,_R,t.containerInfo)}catch(X){ct(e,e.return,X)}v0&&(v0=!1,ES(e)),t.effectDuration+=jf(y),rt=!1;break;case 4:h=Jo,Jo=cn,d=kb(),y=io,io=Kc(e.stateNode.containerInfo),jn(t,e,n),$n(e),io=y,rt&&zu&&(mp=!0),rt=d,Jo=h;break;case 12:h=gl(),jn(t,e,n),$n(e),e.stateNode.effectDuration+=Rc(h);break;case 31:jn(t,e,n),$n(e),h&4&&(t=e.updateQueue,t!==null&&(e.updateQueue=null,bd(e,t)));break;case 13:jn(t,e,n),$n(e),e.child.flags&8192&&e.memoizedState!==null!==(d!==null&&d.memoizedState!==null)&&(Ep=Vt()),h&4&&(t=e.updateQueue,t!==null&&(e.updateQueue=null,bd(e,t)));break;case 22:y=e.memoizedState!==null,O=d!==null&&d.memoizedState!==null;var M=cn,D=ht,U=Jo;cn=M||y,Jo=U||y,ht=D||O,jn(t,e,n),ht=D,Jo=U,cn=M,O&&!y&&!M&&!D&&(e.mode&je)!==_e&&0<=ve&&0<=Te&&0.05<Te-ve&&Cf(e,ve,Te),$n(e),h&8192&&(t=e.stateNode,t._visibility=y?t._visibility&~fu:t._visibility|fu,!y||d===null||O||cn||ht||(t=hp,n=O||ht,d=cn,O=ht,cn=y||cn,ht=n,ti(e,t),(e.mode&je)!==_e&&0<=ve&&0<=Te&&0.05<Te-ve&&wo(e,ve,Te,"Disconnect"),cn=d,ht=O),!y&&Jo||Og(e,y)),h&4&&(t=e.updateQueue,t!==null&&(n=t.retryQueue,n!==null&&(t.retryQueue=null,bd(e,n))));break;case 19:jn(t,e,n),$n(e),h&4&&(t=e.updateQueue,t!==null&&(e.updateQueue=null,bd(e,t)));break;case 30:h&512&&(ht||d===null||gn(d,d.return)),h=kb(),y=zu,O=(n&335544064)===n,M=e.memoizedProps,zu=O&&dl(M.default,M.update)!=="none",jn(t,e,n),$n(e),O&&d!==null&&rt&&(e.flags|=4),zu=y,rt=h;break;case 21:break;case 7:h&512&&(ht||d===null||gn(d,d.return)),d&&d.stateNode!==null&&(d.stateNode._fragmentFiber=e);default:jn(t,e,n),$n(e)}(e.mode&je)!==_e&&0<=ve&&0<=Te&&((kt||0.05<Dt)&&Oo(e,ve,Te,Dt,Nt),e.alternate===null&&e.return!==null&&e.return.alternate!==null&&0.05<Te-ve&&(pS(e.return.alternate,e.return)||wo(e,ve,Te,"Mount"))),ga(a),Ro(o),Nt=i,kt=u}function $n(e){var t=e.flags;if(t&2){try{oe(e,wC,e)}catch(n){ct(e,e.return,n)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function ES(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var t=e;ES(t),t.tag===5&&t.flags&1024&&(t=t.stateNode,Fr=!0,t.reset(),Fr=!1),e=e.sibling}}function tr(e,t){if(t.subtreeFlags&9270)for(t=t.child;t!==null;)TS(t,e),t=t.sibling;else uS(t,!1)}function TS(e,t){var n=e.alternate;if(n===null)vg(e,!1);else switch(e.tag){case 3:if(S0=Ko=!1,iS(),tr(t,e),!Ko&&!mp){if(e=Xo,e!==null)for(var a=0;a<e.length;a+=3){n=e[a];var o=e[a+1];wE(n,e[a+2]),n=n.ownerDocument.documentElement,n!==null&&n.animate({opacity:[0,0],pointerEvents:["none","none"]},{duration:0,fill:"forwards",pseudoElement:"::view-transition-group("+o+")"})}e=t.containerInfo,e=e.nodeType===9?e.documentElement:e.ownerDocument.documentElement,e!==null&&e.style.viewTransitionName===""&&(e.style.viewTransitionName="none",e.animate({opacity:[0,0],pointerEvents:["none","none"]},{duration:0,fill:"forwards",pseudoElement:"::view-transition-group(root)"}),e.animate({width:[0,0],height:[0,0]},{duration:0,fill:"forwards",pseudoElement:"::view-transition"})),S0=!0}Xo=null;break;case 5:tr(t,e);break;case 4:a=Ko,Ko=!1,tr(t,e),Ko&&(mp=!0),Ko=a;break;case 22:e.memoizedState===null&&(n.memoizedState!==null?vg(e,!1):tr(t,e));break;case 30:a=Ko,o=iS(),Ko=!1,tr(t,e),Ko&&(e.flags|=4);var i=e.memoizedProps,u=e.stateNode;t=fl(i,u),u=fl(n.memoizedProps,u);var d=dl(i.default,i.update);d==="none"?t=!1:(i=n.memoizedState,n.memoizedState=null,n=e.child,aa=0,t=wg(e,n,t,u,d,i,!0),aa!==(i===null?0:i.length)&&(e.flags|=32)),(e.flags&4)!==0&&t?(ar(e,e.memoizedProps.onUpdate),Xo=o):o!==null&&(o.push.apply(o,Xo),Xo=o),Ko=(e.flags&32)!==0?!0:a;break;default:tr(t,e)}}function Fa(e,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)hS(e,t.alternate,t),t=t.sibling}function wS(e,t){var n=ma(),a=Co(),o=_o(),i=No();switch(e.tag){case 0:case 11:case 14:case 15:fg(e,e.return,wa),ti(e,t);break;case 1:gn(e,e.return);var u=e.stateNode;typeof u.componentWillUnmount==="function"&&eS(e,e.return,u),ti(e,t);break;case 27:(t&hp)!==xu&&oe(e,LE,e.stateNode,e.type,e.memoizedProps);case 5:gn(e,e.return),e.tag!==5&&e.tag!==27||jc(e),ti(e,t);break;case 6:jc(e);break;case 26:gn(e,e.return),u=e.stateNode,e.memoizedState!==null||u===null||ht||u.parentNode.removeChild(u),ti(e,t);break;case 22:e.memoizedState===null&&ti(e,t);break;case 30:e.flags&18874368&&dS(e),gn(e,e.return),ti(e,t);break;case 7:gn(e,e.return);default:ti(e,t)}(e.mode&je)!==_e&&0<=ve&&0<=Te&&(kt||0.05<Dt)&&Oo(e,ve,Te,Dt,Nt),ga(n),Ro(a),Nt=o,kt=i}function ti(e,t){for(e=e.child;e!==null;)wS(e,t),e=e.sibling}function OS(e,t,n,a){var o=ma(),i=Co(),u=_o(),d=No(),h=n.flags,y=(a&b0)!==xu;switch(n.tag){case 0:case 11:case 15:xa(e,n,a),P1(n,wa);break;case 1:if(xa(e,n,a),t=n.stateNode,typeof t.componentDidMount==="function"&&oe(n,a0,n,t),t=n.updateQueue,t!==null){e=n.stateNode;try{oe(n,iC,t,e)}catch(M){ct(n,n.return,M)}}y&&h&64&&W1(n),zo(n,n.return);break;case 27:(a&hp)!==xu&&oS(n);case 5:n.tag!==5&&n.tag!==27||nS(n),xa(e,n,a),y&&t===null&&h&4&&mg(n),zo(n,n.return);break;case 6:nS(n);break;case 26:var O=n.stateNode;n.memoizedState!==null||O===null||cn||oy(Kc(O.ownerDocument),n.type,O),xa(e,n,a),y&&t===null&&h&4&&mg(n),zo(n,n.return);break;case 12:if(y&&h&4){h=gl(),xa(e,n,a),y=n.stateNode,y.effectDuration+=Rc(h);try{oe(n,tS,n,t,Cl,y.effectDuration)}catch(M){ct(n,n.return,M)}}else xa(e,n,a);break;case 31:xa(e,n,a),y&&h&4&&bS(e,n);break;case 13:xa(e,n,a),y&&h&4&&vS(e,n);break;case 22:n.memoizedState===null&&xa(e,n,a),zo(n,n.return);break;case 30:xa(e,n,a),h&18874368&&fS(n),zo(n,n.return);break;case 7:zo(n,n.return);default:xa(e,n,a)}(n.mode&je)!==_e&&0<=ve&&0<=Te&&(kt||0.05<Dt)&&Oo(n,ve,Te,Dt,Nt),ga(o),Ro(i),Nt=u,kt=d}function xa(e,t,n){n=(t.subtreeFlags&8772)!==0?n:n&~b0;for(t=t.child;t!==null;)OS(e,t.alternate,t,n),t=t.sibling}function Cg(e,t){var n=null;e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(n=e.memoizedState.cachePool.pool),e=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(e=t.memoizedState.cachePool.pool),e!==n&&(e!=null&&Zi(e),n!=null&&Cc(n))}function Rg(e,t){e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(Zi(t),e!=null&&Cc(e))}function za(e,t,n,a,o){var i=(n&335544064)===n;if(t.subtreeFlags&(i?10262:10256)||t.actualDuration!==0&&(t.alternate===null||t.alternate.child!==t.child))for(t=t.child;t!==null;)i=t.sibling,AS(e,t,n,a,i!==null?i.actualStartTime:o),t=i;else i&&cS(t)}function AS(e,t,n,a,o){var i=ma(),u=Co(),d=_o(),h=No(),y=ui,O=(n&335544064)===n;O&&t.alternate===null&&t.return!==null&&t.return.alternate!==null&&gd(t);var M=t.flags;switch(t.tag){case 0:case 11:case 15:(t.mode&je)!==_e&&0<t.actualStartTime&&(t.flags&1)!==0&&Rf(t,t.actualStartTime,o,Ft,n),za(e,t,n,a,o),M&2048&&F1(t,Mn|qa);break;case 1:(t.mode&je)!==_e&&0<t.actualStartTime&&((t.flags&128)!==0?nm(t,t.actualStartTime,o,[]):(t.flags&1)!==0&&Rf(t,t.actualStartTime,o,Ft,n)),za(e,t,n,a,o);break;case 3:var D=gl(),U=Ft;Ft=t.alternate!==null&&t.alternate.memoizedState.isDehydrated&&(t.flags&256)===0,za(e,t,n,a,o),Ft=U,O&&S0&&(n=e.containerInfo,n=n.nodeType===9?n.body:n.nodeName==="HTML"?n.ownerDocument.body:n,n.style.viewTransitionName==="root"&&(n.style.viewTransitionName=""),n=n.ownerDocument.documentElement,n!==null&&n.style.viewTransitionName==="none"&&(n.style.viewTransitionName="")),M&2048&&(n=null,t.alternate!==null&&(n=t.alternate.memoizedState.cache),a=t.memoizedState.cache,a!==n&&(Zi(a),n!=null&&Cc(n))),e.passiveEffectDuration+=jf(D);break;case 12:if(M&2048){M=gl(),za(e,t,n,a,o),e=t.stateNode,e.passiveEffectDuration+=Rc(M);try{oe(t,TC,t,t.alternate,Cl,e.passiveEffectDuration)}catch(X){ct(t,t.return,X)}}else za(e,t,n,a,o);break;case 31:M=Ft,D=t.alternate!==null?t.alternate.memoizedState:null,O=t.memoizedState,D!==null&&O===null?(O=t.deletions,O!==null&&0<O.length&&O[0].tag===18?(Ft=!1,D=D.hydrationErrors,D!==null&&nm(t,t.actualStartTime,o,D)):Ft=!0):Ft=!1,za(e,t,n,a,o),Ft=M;break;case 13:M=Ft,D=t.alternate!==null?t.alternate.memoizedState:null,O=t.memoizedState,D===null||D.dehydrated===null||O!==null&&O.dehydrated!==null?Ft=!1:(O=t.deletions,O!==null&&0<O.length&&O[0].tag===18?(Ft=!1,D=D.hydrationErrors,D!==null&&nm(t,t.actualStartTime,o,D)):Ft=!0),za(e,t,n,a,o),Ft=M;break;case 23:break;case 22:U=t.stateNode,D=t.alternate,t.memoizedState!==null?(O&&D!==null&&D.memoizedState===null&&gd(D),U._visibility&Tl?za(e,t,n,a,o):$c(e,t,n,a,o)):(O&&D!==null&&D.memoizedState!==null&&gd(t),U._visibility&Tl?za(e,t,n,a,o):(U._visibility|=Tl,nr(e,t,n,a,(t.subtreeFlags&10256)!==0||t.actualDuration!==0&&(t.alternate===null||t.alternate.child!==t.child),o),(t.mode&je)===_e||Ft||(e=t.actualStartTime,0<=e&&0.05<o-e&&Cf(t,e,o),0<=ve&&0<=Te&&0.05<Te-ve&&Cf(t,ve,Te)))),M&2048&&Cg(D,t);break;case 24:za(e,t,n,a,o),M&2048&&Rg(t.alternate,t);break;case 30:O&&(M=t.alternate,M!==null&&(Uo(M.child,!0),Uo(t.child,!0))),za(e,t,n,a,o);break;default:za(e,t,n,a,o)}if((t.mode&je)!==_e){if(e=!Ft&&t.alternate===null&&t.return!==null&&t.return.alternate!==null)n=t.actualStartTime,0<=n&&0.05<o-n&&wo(t,n,o,"Mount");0<=ve&&0<=Te&&((kt||0.05<Dt)&&Oo(t,ve,Te,Dt,Nt),e&&0.05<Te-ve&&wo(t,ve,Te,"Mount"))}ga(i),Ro(u),Nt=d,kt=h,ui=y}function nr(e,t,n,a,o,i){o=o&&((t.subtreeFlags&10256)!==0||t.actualDuration!==0&&(t.alternate===null||t.alternate.child!==t.child));for(t=t.child;t!==null;){var u=t.sibling;CS(e,t,n,a,o,u!==null?u.actualStartTime:i),t=u}}function CS(e,t,n,a,o,i){var u=ma(),d=Co(),h=_o(),y=No(),O=ui;o&&(t.mode&je)!==_e&&0<t.actualStartTime&&(t.flags&1)!==0&&Rf(t,t.actualStartTime,i,Ft,n);var M=t.flags;switch(t.tag){case 0:case 11:case 15:nr(e,t,n,a,o,i),F1(t,Mn);break;case 23:break;case 22:var D=t.stateNode;t.memoizedState!==null?D._visibility&Tl?nr(e,t,n,a,o,i):$c(e,t,n,a,i):(D._visibility|=Tl,nr(e,t,n,a,o,i)),o&&M&2048&&Cg(t.alternate,t);break;case 24:nr(e,t,n,a,o,i),o&&M&2048&&Rg(t.alternate,t);break;default:nr(e,t,n,a,o,i)}(t.mode&je)!==_e&&0<=ve&&0<=Te&&(kt||0.05<Dt)&&Oo(t,ve,Te,Dt,Nt),ga(u),Ro(d),Nt=h,kt=y,ui=O}function $c(e,t,n,a,o){if(t.subtreeFlags&10256||t.actualDuration!==0&&(t.alternate===null||t.alternate.child!==t.child))for(var i=t.child;i!==null;){t=i.sibling;var u=e,d=n,h=a,y=t!==null?t.actualStartTime:o,O=ui;(i.mode&je)!==_e&&0<i.actualStartTime&&(i.flags&1)!==0&&Rf(i,i.actualStartTime,y,Ft,d);var M=i.flags;switch(i.tag){case 22:$c(u,i,d,h,y),M&2048&&Cg(i.alternate,i);break;case 24:$c(u,i,d,h,y),M&2048&&Rg(i.alternate,i);break;default:$c(u,i,d,h,y)}ui=O,i=t}}function ts(e,t,n){if(e.subtreeFlags&gs)for(e=e.child;e!==null;)RS(e,t,n),e=e.sibling}function RS(e,t,n){switch(e.tag){case 26:ts(e,t,n),e.flags&gs&&(e.memoizedState!==null?BR(n,io,e.memoizedState,e.memoizedProps):(e=e.stateNode,(t&335544128)===t&&QE(n,e)));break;case 5:ts(e,t,n),e.flags&gs&&(e=e.stateNode,(t&335544128)===t&&QE(n,e));break;case 3:case 4:var a=io;io=Kc(e.stateNode.containerInfo),ts(e,t,n),io=a;break;case 22:e.memoizedState===null&&(a=e.alternate,a!==null&&a.memoizedState!==null?(a=gs,gs=16777216,ts(e,t,n),gs=a):ts(e,t,n));break;case 30:if((e.flags&gs)!==0&&(a=e.memoizedProps.name,a!=null&&a!=="auto")){var o=e.stateNode;o.paired=null,Oa===null&&(Oa=new Map),Oa.set(a,o)}ts(e,t,n);break;default:ts(e,t,n)}}function _S(e){var t=e.alternate;if(t!==null&&(e=t.child,e!==null)){t.child=null;do t=e.sibling,e.sibling=null,e=t;while(e!==null)}}function Ic(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var n=0;n<t.length;n++){var a=t[n],o=ma();un=a,MS(a,e),(a.mode&je)!==_e&&0<=ve&&0<=Te&&0.05<Te-ve&&wo(a,ve,Te,"Unmount"),ga(o)}_S(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)NS(e),e=e.sibling}function NS(e){var t=ma(),n=Co(),a=_o(),o=No();switch(e.tag){case 0:case 11:case 15:Ic(e),e.flags&2048&&dg(e,e.return,Mn|qa);break;case 3:var i=gl();Ic(e),e.stateNode.passiveEffectDuration+=jf(i);break;case 12:i=gl(),Ic(e),e.stateNode.passiveEffectDuration+=Rc(i);break;case 22:i=e.stateNode,e.memoizedState!==null&&i._visibility&Tl&&(e.return===null||e.return.tag!==13)?(i._visibility&=~Tl,vd(e),(e.mode&je)!==_e&&0<=ve&&0<=Te&&0.05<Te-ve&&wo(e,ve,Te,"Disconnect")):Ic(e);break;default:Ic(e)}(e.mode&je)!==_e&&0<=ve&&0<=Te&&(kt||0.05<Dt)&&Oo(e,ve,Te,Dt,Nt),ga(t),Ro(n),kt=o,Nt=a}function vd(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var n=0;n<t.length;n++){var a=t[n],o=ma();un=a,MS(a,e),(a.mode&je)!==_e&&0<=ve&&0<=Te&&0.05<Te-ve&&wo(a,ve,Te,"Unmount"),ga(o)}_S(e)}for(e=e.child;e!==null;)DS(e),e=e.sibling}function DS(e){var t=ma(),n=Co(),a=_o(),o=No();switch(e.tag){case 0:case 11:case 15:dg(e,e.return,Mn),vd(e);break;case 22:var i=e.stateNode;i._visibility&Tl&&(i._visibility&=~Tl,vd(e));break;default:vd(e)}(e.mode&je)!==_e&&0<=ve&&0<=Te&&(kt||0.05<Dt)&&Oo(e,ve,Te,Dt,Nt),ga(t),Ro(n),kt=o,Nt=a}function MS(e,t){for(;un!==null;){var n=un,a=n,o=t,i=ma(),u=Co(),d=_o(),h=No();switch(a.tag){case 0:case 11:case 15:dg(a,o,Mn);break;case 23:case 22:a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(o=a.memoizedState.cachePool.pool,o!=null&&Zi(o));break;case 24:Cc(a.memoizedState.cache)}if((a.mode&je)!==_e&&0<=ve&&0<=Te&&(kt||0.05<Dt)&&Oo(a,ve,Te,Dt,Nt),ga(i),Ro(u),kt=h,Nt=d,a=n.child,a!==null)a.return=n,un=a;else e:for(n=e;un!==null;){if(a=un,i=a.sibling,u=a.return,gS(a),a===n){un=null;break e}if(i!==null){i.return=u,un=i;break e}un=u}}}function CC(){TN.forEach(function(e){return e()})}function xS(){var e=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0;return e||V.actQueue===null||console.error("The current testing environment is not configured to support act(...)"),e}function ba(e){if((We&Wt)!==fn&&Ue!==0)return Ue&-Ue;var t=V.T;if(t!==null)return t._updatedFibers||(t._updatedFibers=new Set),t._updatedFibers.add(e),ds!==null&&So()===qn&&(ds=null),jg();return e=So(),e===qn&&(ds=null),e}function zS(){if(ia===0)if((Ue&536870912)===0||$e){var e=Bd;Bd<<=1,(Bd&3932160)===0&&(Bd=262144),ia=e}else ia=536870912;return e=vn.current,e!==null&&(e.flags|=32),ia}function ar(e,t){if(t!=null){var n=e.stateNode,a=n.ref;a===null&&(a=n.ref=AE(fl(e.memoizedProps,n))),Vr===null&&(Vr=[]),Vr.push(t.bind(null,a))}}function Ut(e,t,n){if(Gr&&console.error("useInsertionEffect must not schedule updates."),D0&&(_p=!0),e===Et&&(mt===bs||mt===vs)||e.cancelPendingCommit!==null)lr(e,0),ni(e,Ue,ia,!1);if(k(e,n),(We&Wt)!==fn&&e===Et){if(Ho)switch(t.tag){case 0:case 11:case 15:e=Ie&&L(Ie)||"Unknown",bO.has(e)||(bO.add(e),t=L(t)||"Unknown",console.error("Cannot update a component (`%s`) while rendering a different component (`%s`). To locate the bad setState() call inside `%s`, follow the stack trace as described in https://react.dev/link/setstate-in-render",t,e,e));break;case 1:yO||(console.error("Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state."),yO=!0)}}else $o&&ke(e,t,n),$C(t),e===Et&&((We&Wt)===fn&&(wi|=n),Mt===Ei&&ni(e,Ue,ia,!1)),ko(e)}function US(e,t,n){if((We&(Wt|Aa))!==fn)throw Error("Should not already be working.");if(Ue!==0&&Ie!==null){var a=Ie,o=Vt();switch(fw){case Lu:case bs:var i=bu;Rt&&((a=a._debugTask)?a.run(console.timeStamp.bind(console,"Suspended",i,o,ta,void 0,"primary-light")):console.timeStamp("Suspended",i,o,ta,void 0,"primary-light"));break;case vs:i=bu,Rt&&((a=a._debugTask)?a.run(console.timeStamp.bind(console,"Action",i,o,ta,void 0,"primary-light")):console.timeStamp("Action",i,o,ta,void 0,"primary-light"));break;default:Rt&&(a=o-bu,3>a||console.timeStamp("Blocked",bu,o,ta,void 0,5>a?"primary-light":10>a?"primary":100>a?"primary-dark":"error"))}}i=(n=!n&&(t&127)===0&&(t&e.expiredLanes)===0||vo(e,t))?_C(e,t):Ng(e,t,!0);var u=n;do{if(i===Ml){Ir&&!n&&ni(e,t,0,!1),t=mt,bu=Yt(),fw=t;break}else{if(a=Vt(),o=e.current.alternate,u&&!RC(o)){Cn(t),o=rn,i=a,!Rt||i<=o||(Bt?Bt.run(console.timeStamp.bind(console,"Teared Render",o,i,Je,Qe,"error")):console.timeStamp("Teared Render",o,i,Je,Qe,"error")),ns(t,a),i=Ng(e,t,!1),u=!1;continue}if(i===ys){if(u=t,e.errorRecoveryDisabledLanes&u)var d=0;else d=e.pendingLanes&-536870913,d=d!==0?d:d&536870912?536870912:0;if(d!==0){Cn(t),am(rn,a,t,Bt),ns(t,a),t=d;e:{a=e,i=u,u=ju;var h=a.current.memoizedState.isDehydrated;if(h&&(lr(a,d).flags|=256),d=Ng(a,d,!1),d!==ys&&d!==Bu){if(w0&&!h){a.errorRecoveryDisabledLanes|=i,wi|=i,i=Ei;break e}a=Jn,Jn=u,a!==null&&(Jn===null?Jn=a:Jn.push.apply(Jn,a))}i=d}if(u=!1,i!==ys)continue;else a=Vt()}}if(i===ku){Cn(t),am(rn,a,t,Bt),ns(t,a),lr(e,0),ni(e,t,0,!0);break}e:{switch(n=e,i){case Ml:case ku:throw Error("Root did not complete. This is a bug in React.");case Ei:if((t&4194048)!==t&&(t&62914560)!==t)break;case Bu:Cn(t),Ev(rn,a,t,Bt),ns(t,a),o=t,(o&127)!==0?Wd=a:(o&4194048)!==0&&(ep=a),ni(n,t,ia,!xl);break e;case ys:Jn=null;break;case gp:case sO:break;default:throw Error("Unknown root exit status.")}if(V.actQueue!==null)Dg(n,o,t,Jn,$u,Sp,ia,wi,Ss,xl,i,null,null,rn,a);else{if((t&62914560)===t&&(u=Ep+uO-Vt(),10<u)){if(ni(n,t,ia,!xl),rl(n,0,!0)!==0)break e;sa=t,n.timeoutHandle=I0(kS.bind(null,n,o,Jn,$u,Sp,t,ia,wi,Ss,xl,i,"Throttled",rn,a),u);break e}kS(n,o,Jn,$u,Sp,t,ia,wi,Ss,xl,i,null,rn,a)}}}break}while(1);ko(e)}function kS(e,t,n,a,o,i,u,d,h,y,O,M,D,U){e.timeoutHandle=Cs;var X=t.subtreeFlags,re=(i&335544064)===i,pe=null;if(re||X&8192||(X&16785408)===16785408){if(pe={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:To},Oa=null,RS(t,i,pe),re&&(X=pe,re=e.containerInfo,re=(re.nodeType===9?re:re.ownerDocument).__reactViewTransition,re!=null&&(X.count++,X.waitingForViewTransition=!0,X=Fc.bind(X),re.finished.then(X,X))),X=(i&62914560)===i?Ep-Vt():(i&4194048)===i?cO-Vt():0,X=LR(pe,X),X!==null){sa=i,e.cancelPendingCommit=X(Dg.bind(null,e,t,i,n,a,o,u,d,h,y,O,pe,pe.waitingForViewTransition?"Waiting for the previous Animation":0<pe.count?0<pe.imgCount?"Suspended on CSS and Images":"Suspended on CSS":pe.imgCount===1?"Suspended on an Image":0<pe.imgCount?"Suspended on Images":null,D,U)),ni(e,i,u,!y);return}}Dg(e,t,i,n,a,o,u,d,h,y,O,pe,M,D,U)}function RC(e){for(var t=e;;){var n=t.tag;if((n===0||n===11||n===15)&&t.flags&16384&&(n=t.updateQueue,n!==null&&(n=n.stores,n!==null)))for(var a=0;a<n.length;a++){var o=n[a],i=o.getSnapshot;o=o.value;try{if(!Gn(i(),o))return!1}catch(u){return!1}}if(n=t.child,t.subtreeFlags&16384&&n!==null)n.return=t,t=n;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function ni(e,t,n,a){t=Hs(e,t),t&=~vp,t&=~wi,e.suspendedLanes|=t,e.pingedLanes&=~t,a&&(e.warmLanes|=t),a=e.expirationTimes;for(var o=t;0<o;){var i=31-In(o),u=1<<i;a[i]=-1,o&=~u}n!==0&&ae(e,n,t)}function or(){return(We&(Wt|Aa))===fn?(Yc(0,!1),!1):!0}function _g(){if(Ie!==null){if(mt===la)var e=Ie.return;else e=Ie,kf(),Nm(e),zr=null,Ru=0,e=Ie;for(;e!==null;)Z1(e.alternate,e),e=e.return;Ie=null}}function ns(e,t){(e&127)!==0&&(hi=t),(e&4194048)!==0&&(ao=t),(e&62914560)!==0&&(Wy=t),(e&2080374784)!==0&&(e0=t)}function lr(e,t){Rt&&(console.timeStamp("Blocking Track",0.003,0.003,"Blocking",Qe,"primary-light"),console.timeStamp("Transition Track",0.003,0.003,"Transition",Qe,"primary-light"),console.timeStamp("Suspense Track",0.003,0.003,"Suspense",Qe,"primary-light"),console.timeStamp("Idle Track",0.003,0.003,"Idle",Qe,"primary-light"));var n=rn;if(rn=Yt(),Ue!==0&&0<n){if(Cn(Ue),Mt===gp||Mt===Ei)Ev(n,rn,t,Bt);else{var a=rn,o=Bt;if(Rt&&!(a<=n)){var i=(t&738197653)===t?"tertiary-dark":"primary-dark",u=(t&536870912)===t?"Prewarm":(t&201326741)===t?"Interrupted Hydration":"Interrupted Render";o?o.run(console.timeStamp.bind(console,u,n,a,Je,Qe,i)):console.timeStamp(u,n,a,Je,Qe,i)}}ns(Ue,rn)}if(n=Bt,Bt=null,(t&127)!==0){Bt=mu,o=0<=Yo&&Yo<hi?hi:Yo,a=0<=ss&&ss<hi?hi:ss,i=0<=a?a:0<=o?o:rn,0<=Wd?(Cn(2),Tv(Wd,i,t,n)):(cs&127)!==0&&(Cn(2),Yl(hi,i,na)),n=o;var d=a,h=gu,y=0<Dr,O=mi===hu,M=mi===Fd;if(o=rn,a=mu,i=Zy,u=Py,Rt){if(Je="Blocking",0<n?n>o&&(n=o):n=o,0<d?d>n&&(d=n):d=n,h!==null&&n>d){var D=y?"secondary-light":"warning";a?a.run(console.timeStamp.bind(console,y?"Consecutive":"Event: "+h,d,n,Je,Qe,D)):console.timeStamp(y?"Consecutive":"Event: "+h,d,n,Je,Qe,D)}o>n&&(d=O?"error":(t&738197653)===t?"tertiary-light":"primary-light",O=M?"Promise Resolved":O?"Cascading Update":5<o-n?"Update Blocked":"Update",M=[],u!=null&&M.push(["Component name",u]),i!=null&&M.push(["Method name",i]),n={start:n,end:o,detail:{devtools:{properties:M,track:Je,trackGroup:Qe,color:d}}},a?a.run(performance.measure.bind(performance,O,n)):performance.measure(O,n),performance.clearMeasures(O))}Yo=-1.1,mi=0,Py=Zy=null,Wd=-1.1,Dr=ss,ss=-1.1,hi=Yt()}return(t&4194048)!==0&&(Bt=yu,o=0<=_l&&_l<ao?ao:_l,n=0<=Ia&&Ia<ao?ao:Ia,a=0<=gi&&gi<ao?ao:gi,i=0<=a?a:0<=n?n:rn,0<=ep?(Cn(256),Tv(ep,i,t,Bt)):(cs&4194048)!==0&&(Cn(256),Yl(ao,i,na)),M=a,d=rs,h=0<yi,y=Fy===Fd,i=rn,a=yu,u=cw,O=uw,Rt&&(Je="Transition",0<n?n>i&&(n=i):n=i,0<o?o>n&&(o=n):o=n,0<M?M>o&&(M=o):M=o,o>M&&d!==null&&(D=h?"secondary-light":"warning",a?a.run(console.timeStamp.bind(console,h?"Consecutive":"Event: "+d,M,o,Je,Qe,D)):console.timeStamp(h?"Consecutive":"Event: "+d,M,o,Je,Qe,D)),n>o&&(a?a.run(console.timeStamp.bind(console,"Action",o,n,Je,Qe,"primary-dark")):console.timeStamp("Action",o,n,Je,Qe,"primary-dark")),i>n&&(o=y?"Promise Resolved":5<i-n?"Update Blocked":"Update",M=[],O!=null&&M.push(["Component name",O]),u!=null&&M.push(["Method name",u]),n={start:n,end:i,detail:{devtools:{properties:M,track:Je,trackGroup:Qe,color:"primary-light"}}},a?a.run(performance.measure.bind(performance,o,n)):performance.measure(o,n),performance.clearMeasures(o))),Ia=_l=-1.1,Fy=0,ep=-1.1,yi=gi,gi=-1.1,ao=Yt()),(t&62914560)!==0&&(cs&62914560)!==0&&(Cn(4194304),Yl(Wy,rn,na)),(t&2080374784)!==0&&(cs&2080374784)!==0&&(Cn(268435456),Yl(e0,rn,na)),n=e.timeoutHandle,n!==Cs&&(e.timeoutHandle=Cs,kN(n)),n=e.cancelPendingCommit,n!==null&&(e.cancelPendingCommit=null,n()),sa=0,_g(),Et=e,Ie=n=pl(e.current,null),Ue=t,mt=la,Ca=null,xl=!1,Ir=vo(e,t),w0=!1,Mt=Ml,Ss=ia=vp=wi=Ti=0,Jn=ju=null,Sp=!1,Zo=Hs(e,t),_f(),e=nw(),1000<e-tw&&(V.recentlyCreatedOwnerStacks=0,tw=e),oo.discardPendingWarnings(),n}function BS(e,t){De=null,V.H=up,V.getCurrentStack=null,Ho=!1,Ea=null,t===xr||t===op?(t=Gv(),mt=Lu):t===o0?(t=Gv(),mt=rO):mt=t===m0?T0:t!==null&&typeof t==="object"&&typeof t.then==="function"?Hu:yp,Ca=t;var n=Ie;n===null?(Mt=ku,sd(e,ha(t,e.current))):n.mode&je&&mm(n)}function LS(){var e=vn.current;return e===null?!0:(Ue&4194048)===Ue?Dn===null?!0:!1:(Ue&62914560)===Ue||(Ue&536870912)!==0?e===Dn:!1}function HS(){var e=V.H;return V.H=up,e===null?up:e}function jS(){var e=V.A;return V.A=EN,e}function Sd(e){Bt===null&&(Bt=e._debugTask==null?null:e._debugTask)}function Ed(){Mt=Ei,xl||(Ue&4194048)!==Ue&&vn.current!==null||(Ir=!0),(Ti&134217727)===0&&(wi&134217727)===0||Et===null||ni(Et,Ue,ia,!1)}function Ng(e,t,n){var a=We;We|=Wt;var o=HS(),i=jS();if(Et!==e||Ue!==t){if($o){var u=e.memoizedUpdaters;0<u.size&&(Vc(e,Ue),u.clear()),tt(e,t)}$u=null,lr(e,t)}t=!1,u=Mt;e:do try{if(mt!==la&&Ie!==null){var d=Ie,h=Ca;switch(mt){case T0:_g(),u=Bu;break e;case Lu:case bs:case vs:case Hu:vn.current===null&&(t=!0);var y=mt;if(mt=la,Ca=null,ir(e,d,h,y),n&&Ir){u=Ml;break e}break;default:y=mt,mt=la,Ca=null,ir(e,d,h,y)}}$S(),u=Mt;break}catch(O){BS(e,O)}while(1);return t&&e.shellSuspendCounter++,kf(),We=a,V.H=o,V.A=i,Ie===null&&(Et=null,Ue=0,_f()),u}function $S(){for(;Ie!==null;)IS(Ie)}function _C(e,t){var n=We;We|=Wt;var a=HS(),o=jS();if(Et!==e||Ue!==t){if($o){var i=e.memoizedUpdaters;0<i.size&&(Vc(e,Ue),i.clear()),tt(e,t)}$u=null,Tp=Vt()+fO,lr(e,t)}else Ir=vo(e,t);e:do try{if(mt!==la&&Ie!==null)t:switch(t=Ie,i=Ca,mt){case yp:mt=la,Ca=null,ir(e,t,i,yp);break;case bs:case vs:if(Vv(i)){mt=la,Ca=null,qS(t);break}t=function(){mt!==bs&&mt!==vs||Et!==e||(mt=bp),ko(e)},i.then(t,t);break e;case Lu:mt=bp;break e;case rO:mt=E0;break e;case bp:Vv(i)?(mt=la,Ca=null,qS(t)):(mt=la,Ca=null,ir(e,t,i,bp));break;case E0:var u=null;switch(Ie.tag){case 26:u=Ie.memoizedState;case 5:case 27:var d=Ie;if(u?YE(u):d.stateNode.complete){mt=la,Ca=null;var h=d.sibling;if(h!==null)Ie=h;else{var y=d.return;y!==null?(Ie=y,Td(y)):Ie=null}break t}break;default:console.error("Unexpected type of fiber triggered a suspensey commit. This is a bug in React.")}mt=la,Ca=null,ir(e,t,i,E0);break;case Hu:mt=la,Ca=null,ir(e,t,i,Hu);break;case T0:_g(),Mt=Bu;break e;default:throw Error("Unexpected SuspendedReason. This is a bug in React.")}V.actQueue!==null?$S():NC();break}catch(O){BS(e,O)}while(1);if(kf(),V.H=a,V.A=o,We=n,Ie!==null)return Ml;return Et=null,Ue=0,_f(),Mt}function NC(){for(;Ie!==null&&!WR();)IS(Ie)}function IS(e){var t=e.alternate;(e.mode&je)!==_e?(hm(e),t=oe(e,cg,t,e,Zo),mm(e)):t=oe(e,cg,t,e,Zo),e.memoizedProps=e.pendingProps,t===null?Td(e):Ie=t}function qS(e){var t=oe(e,DC,e);e.memoizedProps=e.pendingProps,t===null?Td(e):Ie=t}function DC(e){var t=e.alternate,n=(e.mode&je)!==_e;switch(n&&hm(e),e.tag){case 15:case 0:t=q1(t,e,e.pendingProps,e.type,void 0,Ue);break;case 11:t=q1(t,e,e.pendingProps,e.type.render,e.ref,Ue);break;case 5:Nm(e);var a=e;a===sn&&($e?(Uf(a),a.tag===5&&a.stateNode!=null&&(Ct=a.stateNode)):(Uf(a),$e=!0));default:Z1(t,e),e=Ie=Nv(e,Zo),t=cg(t,e,Zo)}return n&&mm(e),t}function ir(e,t,n,a){kf(),Nm(t),zr=null,Ru=0;var o=t.return;try{if(pC(e,o,t,n,Ue)){Mt=ku,sd(e,ha(n,e.current)),Ie=null;return}}catch(i){if(o!==null)throw Ie=o,i;Mt=ku,sd(e,ha(n,e.current)),Ie=null;return}if(t.flags&32768){if($e||a===yp)e=!0;else if(Ir||(Ue&536870912)!==0)e=!1;else if(xl=e=!0,a===bs||a===vs||a===Lu||a===Hu)a=vn.current,a!==null&&a.tag===13&&(a.flags|=16384);VS(t,e)}else Td(t)}function Td(e){var t=e;do{if((t.flags&32768)!==0){VS(t,xl);return}var n=t.alternate;if(e=t.return,hm(t),n=oe(t,yC,n,t,Zo),(t.mode&je)!==_e&&Hv(t),n!==null){Ie=n;return}if(t=t.sibling,t!==null){Ie=t;return}Ie=t=e}while(t!==null);Mt===Ml&&(Mt=sO)}function VS(e,t){do{var n=bC(e.alternate,e);if(n!==null){n.flags&=32767,Ie=n;return}if((e.mode&je)!==_e){Hv(e),n=e.actualDuration;for(var a=e.child;a!==null;)n+=a.actualDuration,a=a.sibling;e.actualDuration=n}if(n=e.return,n!==null&&(n.flags|=32768,n.subtreeFlags=0,n.deletions=null),!t&&(e=e.sibling,e!==null)){Ie=e;return}Ie=e=n}while(e!==null);Mt=Bu,Ie=null}function Dg(e,t,n,a,o,i,u,d,h,y,O,M,D,U,X){e.cancelPendingCommit=null;do qc();while(xt!==Po);if(oo.flushLegacyContextWarning(),oo.flushPendingUnsafeLifecycleWarnings(),(We&(Wt|Aa))!==fn)throw Error("Should not already be working.");if(Cn(n),O===ys)am(U,X,n,Bt);else if(a!==null){if(y=t!==null&&t.alternate!==null&&t.alternate.memoizedState.isDehydrated&&(t.flags&256)!==0,i=Bt,Rt&&!(X<=U)){O=[];for(var re=0;re<a.length;re++){var pe=a[re].value;O.push(["Recoverable Error",typeof pe==="object"&&pe!==null&&typeof pe.message==="string"?String(pe.message):String(pe)])}U={start:U,end:X,detail:{devtools:{color:"primary-dark",track:Je,trackGroup:Qe,tooltipText:y?"Hydration Failed":"Recovered after Error",properties:O}}},i?i.run(performance.measure.bind(performance,"Recovered",U)):performance.measure("Recovered",U),performance.clearMeasures("Recovered")}}else i=Bt,!Rt||X<=U||(y=(n&738197653)===n?"tertiary-dark":"primary-dark",O=(n&536870912)===n?"Prepared":(n&201326741)===n?"Hydrated":"Render",i?i.run(console.timeStamp.bind(console,O,U,X,Je,Qe,y)):console.timeStamp(O,U,X,Je,Qe,y));if(t!==null){if(n===0&&console.error("finishedLanes should not be empty during a commit. This is a bug in React."),t===e.current)throw Error("Cannot commit the same tree as before. This error is likely caused by a bug in React. Please file an issue.");e===Et&&(Ie=Et=null,Ue=0),Es=t,so=e,sa=n,_0=o,mO=a,Ap=X,Cp=D,Ra=wp,N0=null,MC(e,t,n,u,d,h,M,D,X)}}function MC(e,t,n,a,o,i,u,d,h){var y=t.lanes|t.childLanes;if(R0=y,y|=Gy,ne(e,n,y,a,o,i),Vr=null,(n&335544064)===n?(Yr=nC(e),a=10262):(Yr=null,a=10256),t.actualDuration!==0||(t.subtreeFlags&a)!==0||(t.flags&a)!==0?(e.callbackNode=null,e.callbackPriority=0,jC(hr,function(){return Xu=window.event,Ra===wp&&(Ra=O0),Ug(),null})):(e.callbackNode=null,e.callbackPriority=0),Rl=null,Cl=Yt(),d!==null&&eC(h,Cl,d,Bt),dp=!1,d=(t.flags&13878)!==0,(t.subtreeFlags&13878)!==0||d){d=V.T,V.T=null,h=ut.p,ut.p=qn,a=We,We|=Aa;try{OC(e,t,n)}finally{We=a,ut.p=h,V.T=d}}xt=pO,dp?(cs|=n,na=null,qr=hR(u,e.containerInfo,Yr,Mg,xg,kC,zg,Ug,xC,zC,UC.bind(null,n))):(Mg(),xg(),zg())}function xC(e){if(xt!==Po){var t=so.onRecoverableError;t(e,YS(null))}}function zC(e){no=Yt(),Ov(Cp===null?Ap:Cl,no,Rl,Ra===Iu,Bt),Cp=N0=e}function UC(e){if((cs&e)!==0){var t=na;cs&=~e,na=null,(e&4194048)!==0&&(Ue&4194048)===0&&(sa&4194048)===0&&(Cn(256),Yl(ao,Vt(),t)),(e&62914560)!==0&&(Ue&62914560)===0&&(sa&62914560)===0&&(Cn(4194304),Yl(Wy,Vt(),t)),(e&2080374784)!==0&&(Ue&2080374784)===0&&(sa&2080374784)===0&&(Cn(268435456),Yl(e0,Vt(),t))}}function kC(){xt===A0&&(xt=Po,TS(Es,so),xt=C0)}function Mg(){if(xt===pO){xt=Po;var e=so,t=Es,n=sa,a=(t.flags&13878)!==0;if((t.subtreeFlags&13878)!==0||a){a=V.T,V.T=null;var o=ut.p;ut.p=qn;var i=We;We|=Aa;try{jr=n,$r=e,zu=mp=!1,$f(),SS(t,e,n),$r=jr=null,n=j0;var u=yv(e.containerInfo),d=n.focusedElem,h=n.selectionRange;if(u!==d&&d&&d.ownerDocument&&gv(d.ownerDocument.documentElement,d)){if(h!==null&&em(d)){var{start:y,end:O}=h;if(O===void 0&&(O=y),"selectionStart"in d)d.selectionStart=y,d.selectionEnd=Math.min(O,d.value.length);else{var M=d.ownerDocument||document,D=M&&M.defaultView||window;if(D.getSelection){var U=D.getSelection(),X=d.textContent.length,re=Math.min(h.start,X),pe=h.end===void 0?re:Math.min(h.end,X);!U.extend&&re>pe&&(u=pe,pe=re,re=u);var Le=mv(d,re),_=mv(d,pe);if(Le&&_&&(U.rangeCount!==1||U.anchorNode!==Le.node||U.anchorOffset!==Le.offset||U.focusNode!==_.node||U.focusOffset!==_.offset)){var N=M.createRange();N.setStart(Le.node,Le.offset),U.removeAllRanges(),re>pe?(U.addRange(N),U.extend(_.node,_.offset)):(N.setEnd(_.node,_.offset),U.addRange(N))}}}}M=[];for(U=d;U=U.parentNode;)U.nodeType===1&&M.push({element:U,left:U.scrollLeft,top:U.scrollTop});typeof d.focus==="function"&&d.focus();for(d=0;d<M.length;d++){var x=M[d];x.element.scrollLeft=x.left,x.element.scrollTop=x.top}}Fr=!!H0,j0=H0=null}finally{We=i,ut.p=o,V.T=a}}e.current=t,xt=hO}}function xg(){if(xt===hO){xt=Po;var e=N0;if(e!==null){Cl=Yt();var t=no,n=Cl;!Rt||n<=t||(na?na.run(console.timeStamp.bind(console,e,t,n,Je,Qe,"secondary-light")):console.timeStamp(e,t,n,Je,Qe,"secondary-light"))}e=so,t=Es,n=sa;var a=(t.flags&8772)!==0;if((t.subtreeFlags&8772)!==0||a){a=V.T,V.T=null;var o=ut.p;ut.p=qn;var i=We;We|=Aa;try{jr=n,$r=e,$f(),hS(e,t.alternate,t),$r=jr=null}finally{We=i,ut.p=o,V.T=a}}e=Ap,t=Cp,no=Yt(),Ov(t===null?e:Cl,no,Rl,Ra===Iu,Bt),xt=A0}}function zg(){if(xt===C0||xt===A0){if(xt===C0){var e=no;no=Yt();var t=no,n=Ra===Iu;!Rt||t<=e||(na?na.run(console.timeStamp.bind(console,n?"Interrupted View Transition":"Starting Animation",e,t,Je,Qe,n?"error":"secondary-light")):console.timeStamp(n?"Interrupted View Transition":"Starting Animation",e,t,Je,Qe,n?" error":"secondary-light")),Ra!==Iu&&(Ra=dO)}xt=Po,e=qr,qr=null,e_(),t=so;var a=Es;n=sa;var o=mO,i=(n&335544064)===n?10262:10256;(i=a.actualDuration!==0||(a.subtreeFlags&i)!==0||(a.flags&i)!==0)?xt=Op:(xt=Po,Es=so=null,GS(t,t.pendingLanes),Ts=0,Vu=null);var u=t.pendingLanes;if(u===0&&(Oi=null),i||KS(t),u=Da(n),a=a.stateNode,_n&&typeof _n.onCommitFiberRoot==="function")try{var d=(a.current.flags&128)===128;switch(u){case qn:var h=Oy;break;case eo:h=Ay;break;case Io:h=hr;break;case Hd:h=Cy;break;default:h=hr}_n.onCommitFiberRoot(mr,a,h,d)}catch(D){jo||(jo=!0,console.error("React instrumentation encountered an error: %o",D))}if($o&&t.memoizedUpdaters.clear(),CC(),o!==null){d=V.T,h=ut.p,ut.p=qn,V.T=null;try{var y=t.onRecoverableError;for(a=0;a<o.length;a++){var O=o[a],M=YS(O.stack);oe(O.source,y,O.value,M)}}finally{V.T=d,ut.p=h}}if(y=Vr,O=Yr,Yr=null,y!==null&&(Vr=null,O===null&&(O=[]),e!==null))for(M=0;M<y.length;M++)o=(0,y[M])(O),o!==void 0&&e.finished.finally(o);(sa&3)!==0&&qc(),ko(t),u=t.pendingLanes,(n&261930)!==0&&(u&42)!==0?(np=!0,t===Rp?qu++:(qu=0,Rp=t)):(qu=0,Rp=null),i||ns(n,no),Yc(0,!1)}}function YS(e){return e={componentStack:e},Object.defineProperty(e,"digest",{get:function(){console.error('You are accessing "digest" from the errorInfo object passed to onRecoverableError. This property is no longer provided as part of errorInfo but can be accessed as a property of the Error instance itself.')}}),e}function GS(e,t){(e.pooledCacheLanes&=t)===0&&(t=e.pooledCache,t!=null&&(e.pooledCache=null,Cc(t)))}function qc(){return qr!==null&&(qr.skipTransition(),gO||(gO=!0,console.warn("A flushSync update cancelled a View Transition because it was called while the View Transition was still preparing. To preserve the synchronous semantics, React had to skip the View Transition. If you can, try to avoid flushSync() in a scenario that's likely to interfere.")),qr=null,Ra=Iu),Mg(),xg(),zg(),Ug()}function Ug(){if(xt!==Op)return!1;var e=so,t=R0;R0=0;var n=Da(sa),a=Io===0||Io>n?Io:n;n=V.T;var o=ut.p;try{ut.p=a,V.T=null;var i=_0;_0=null,a=so;var u=sa;if(xt=Po,Es=so=null,sa=0,(We&(Wt|Aa))!==fn)throw Error("Cannot flush passive effects while already rendering.");Cn(u),D0=!0,_p=!1;var d=0;if(Rl=null,d=Vt(),Ra===dO)Yl(no,d,na);else{var h=no,y=d,O=Ra===O0;!Rt||y<=h||(Bt?Bt.run(console.timeStamp.bind(console,O?"Waiting for Paint":"Waiting",h,y,Je,Qe,"secondary-light")):console.timeStamp(O?"Waiting for Paint":"Waiting",h,y,Je,Qe,"secondary-light"))}h=We,We|=Aa;var M=a.current;$f(),NS(M);var D=a.current;M=Ap,$f(),AS(a,D,u,i,M),KS(a),We=h;var U=Vt();if(D=d,M=Bt,Rl!==null?wv(D,U,Rl,!0,M):!Rt||U<=D||(M?M.run(console.timeStamp.bind(console,"Remaining Effects",D,U,Je,Qe,"secondary-dark")):console.timeStamp("Remaining Effects",D,U,Je,Qe,"secondary-dark")),ns(u,U),Yc(0,!1),_p?a===Vu?Ts++:(Ts=0,Vu=a):Ts=0,_p=D0=!1,_n&&typeof _n.onPostCommitFiberRoot==="function")try{_n.onPostCommitFiberRoot(mr,a)}catch(re){jo||(jo=!0,console.error("React instrumentation encountered an error: %o",re))}var X=a.current.stateNode;return X.effectDuration=0,X.passiveEffectDuration=0,!0}finally{ut.p=o,V.T=n,GS(e,t)}}function QS(e,t,n){t=ha(n,t),jv(t),t=Fm(e.stateNode,t,2),e=Pl(e,t,2),e!==null&&(k(e,2),ko(e))}function ct(e,t,n){if(Gr=!1,e.tag===3)QS(e,e,n);else{for(;t!==null;){if(t.tag===3){QS(t,e,n);return}if(t.tag===1){var a=t.stateNode;if(typeof t.type.getDerivedStateFromError==="function"||typeof a.componentDidCatch==="function"&&(Oi===null||!Oi.has(a))){e=ha(n,e),jv(e),n=Wm(2),a=Pl(t,n,2),a!==null&&(eg(n,a,t,e),k(a,2),ko(a));return}}t=t.return}console.error(`Internal React error: Attempted to capture a commit phase error inside a detached tree. This indicates a bug in React. Potential causes include deleting the same fiber more than once, committing an already-finished tree, or an inconsistent return pointer.
|
|
156
156
|
|
|
157
157
|
Error message:
|
|
158
158
|
|
|
159
|
-
%s`,n)}}function
|
|
159
|
+
%s`,n)}}function kg(e,t,n){var a=e.pingCache;if(a===null){a=e.pingCache=new wN;var o=new Set;a.set(t,o)}else o=a.get(t),o===void 0&&(o=new Set,a.set(t,o));o.has(n)||(w0=!0,o.add(n),a=BC.bind(null,e,t,n),$o&&Vc(e,n),t.then(a,a))}function BC(e,t,n){var a=e.pingCache;a!==null&&a.delete(t),e.pingedLanes|=e.suspendedLanes&n,e.warmLanes&=~n,(n&127)!==0?0>Yo&&(hi=Yo=Yt(),mu=Pd("Promise Resolved"),mi=Fd):(n&4194048)!==0&&0>Ia&&(ao=Ia=Yt(),yu=Pd("Promise Resolved"),Fy=Fd),xS()&&V.actQueue===null&&console.error(`A suspended resource finished loading inside a test, but the event was not wrapped in act(...).
|
|
160
160
|
|
|
161
161
|
When testing, code that resolves suspended data should be wrapped into act(...):
|
|
162
162
|
|
|
@@ -165,7 +165,7 @@ act(() => {
|
|
|
165
165
|
});
|
|
166
166
|
/* assert on the output */
|
|
167
167
|
|
|
168
|
-
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`),Et===e&&(Ue&n)===n&&(Mt===Ei||Mt===gp&&(Ue&62914560)===Ue&&Vt()-Ep<uO?(We&Wt)===fn?lr(e,0):vp|=n:vp|=n,Ss===Ue&&(Ss=0)),
|
|
168
|
+
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`),Et===e&&(Ue&n)===n&&(Mt===Ei||Mt===gp&&(Ue&62914560)===Ue&&Vt()-Ep<uO?(We&Wt)===fn?lr(e,0):vp|=n:vp|=n,Ss===Ue&&(Ss=0)),ko(e)}function XS(e,t){t===0&&(t=cl()),e=Rn(e,t),e!==null&&(k(e,t),ko(e))}function LC(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),XS(e,n)}function HC(e,t){var n=0;switch(e.tag){case 31:case 13:var{stateNode:a,memoizedState:o}=e;o!==null&&(n=o.retryLane);break;case 19:a=e.stateNode;break;case 22:a=e.stateNode._retryCache;break;default:throw Error("Pinged unknown suspense boundary type. This is probably a bug in React.")}a!==null&&a.delete(t),XS(e,n)}function Bg(e,t,n){if((t.subtreeFlags&134225920)!==0)for(t=t.child;t!==null;){var a=e,o=t,i=o.type===Md;i=n||i,o.tag!==22?o.flags&134217728?i&&oe(o,JS,a,o):Bg(a,o,i):o.memoizedState===null&&(i&&o.flags&134225920?oe(o,JS,a,o):o.subtreeFlags&134217728&&oe(o,Bg,a,o,i)),t=t.sibling}}function JS(e,t){At(!0);try{wS(t,xu),DS(t),OS(e,t.alternate,t,xu),CS(e,t,0,null,!1,0)}finally{At(!1)}}function KS(e){var t=!0;e.current.mode&(Nn|to)||(t=!1),Bg(e,e.current,t)}function ZS(e){if((We&Wt)===fn){var t=e.tag;if(t===3||t===1||t===0||t===11||t===14||t===15){if(t=L(e)||"ReactComponent",Np!==null){if(Np.has(t))return;Np.add(t)}else Np=new Set([t]);oe(e,function(){console.error("Can't perform a React state update on a component that hasn't mounted yet. This indicates that you have a side-effect in your render function that asynchronously tries to update the component. Move this work to useEffect instead.")})}}}function Vc(e,t){$o&&e.memoizedUpdaters.forEach(function(n){ke(e,n,t)})}function jC(e,t){var n=V.actQueue;return n!==null?(n.push(t),CN):wy(e,t)}function $C(e){xS()&&V.actQueue===null&&oe(e,function(){console.error(`An update to %s inside a test was not wrapped in act(...).
|
|
169
169
|
|
|
170
170
|
When testing, code that causes React state updates should be wrapped into act(...):
|
|
171
171
|
|
|
@@ -174,17 +174,17 @@ act(() => {
|
|
|
174
174
|
});
|
|
175
175
|
/* assert on the output */
|
|
176
176
|
|
|
177
|
-
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`,L(e))})}function Bo(e){e!==Xr&&e.next===null&&(Xr===null?Qr=Xr=e:Xr=Xr.next=e),Dp=!0,V.actQueue!==null?x0||(x0=!0,eE()):M0||(M0=!0,eE())}function Yc(e,t){if(!z0&&Dp){z0=!0;do{var n=!1;for(var a=Qr;a!==null;){if(!t)if(e!==0){var o=a.pendingLanes;if(o===0)var i=0;else{var u=a.suspendedLanes,d=a.pingedLanes;i=(1<<31-In(42|e)+1)-1,i&=o&~(u&~d),i=i&201326741?i&201326741|1:i?i|2:0}i!==0&&(n=!0,WS(a,i))}else i=Ue,i=rl(a,a===Et?i:0,a.cancelPendingCommit!==null||a.timeoutHandle!==Cs),(i&3)===0||vo(a,i)||(n=!0,WS(a,i));a=a.next}}while(n);z0=!1}}function IC(){Xu=window.event,Lg()}function Lg(){Dp=x0=M0=!1;var e=0;Ai!==0&&KC()&&(e=Ai);for(var t=Vt(),n=null,a=Qr;a!==null;){var o=a.next,i=PS(a,t);if(i===0)a.next=null,n===null?Qr=o:n.next=o,o===null&&(Xr=n);else if(n=a,e!==0||(i&3)!==0)Dp=!0;a=o}xt!==Po&&xt!==Op||Yc(e,!1),Ai!==0&&(Ai=0)}function PS(e,t){for(var{suspendedLanes:n,pingedLanes:a,expirationTimes:o}=e,i=e.pendingLanes&-62914561;0<i;){var u=31-In(i),d=1<<u,h=o[u];if(h===-1){if((d&n)===0||(d&a)!==0)o[u]=gf(d,t)}else h<=t&&(e.expiredLanes|=d);i&=~d}if(t=Et,n=Ue,n=rl(e,e===t?n:0,e.cancelPendingCommit!==null||e.timeoutHandle!==Cs),a=e.callbackNode,n===0||e===t&&(mt===bs||mt===vs)||e.cancelPendingCommit!==null)return a!==null&&Hg(a),e.callbackNode=null,e.callbackPriority=0;if((n&3)===0||vo(e,n)){if(t=n&-n,t!==e.callbackPriority||V.actQueue!==null&&a!==U0)Hg(a);else return t;switch(Da(n)){case qn:case eo:n=Ay;break;case Io:n=hr;break;case Hd:n=Cy;break;default:n=hr}return a=FS.bind(null,e),V.actQueue!==null?(V.actQueue.push(a),n=U0):n=wy(n,a),e.callbackPriority=t,e.callbackNode=n,t}return a!==null&&Hg(a),e.callbackPriority=2,e.callbackNode=null,2}function FS(e,t){if(np=tp=!1,Xu=window.event,xt!==Po&&xt!==Op)return e.callbackNode=null,e.callbackPriority=0,null;var n=e.callbackNode;if(Ra===wp&&(Ra=O0),qc()&&e.callbackNode!==n)return null;var a=Ue;if(a=rl(e,e===Et?a:0,e.cancelPendingCommit!==null||e.timeoutHandle!==Cs),a===0)return null;return US(e,a,t),PS(e,Vt()),e.callbackNode!=null&&e.callbackNode===n?FS.bind(null,e):null}function WS(e,t){if(qc())return null;tp=np,np=!1,US(e,t,!0)}function Hg(e){e!==U0&&e!==null&&FR(e)}function eE(){V.actQueue!==null&&V.actQueue.push(function(){return Lg(),null}),kN(function(){(We&(Wt|Aa))!==fn?wy(Oy,IC):Lg()})}function jg(){if(Ai===0){var e=bi;e===0&&(e=Bd,Bd<<=1,(Bd&261888)===0&&(Bd=256)),Ai=e}return Ai}function tE(e){if(e==null||typeof e==="symbol"||typeof e==="boolean")return null;if(typeof e==="function")return e;return bt(e,"action"),Tc(e)}function qC(e,t,n,a,o){if(t==="submit"&&n&&n.stateNode===o){var i=tE((o[Vn]||null).action),u=a.submitter;u&&(t=(t=u[Vn]||null)?tE(t.formAction):u.getAttribute("formAction"),t!==null&&(i=t,u=null));var d=new Yd("action","action",null,a,o);e.push({event:d,listeners:[{instance:null,listener:function(){if(a.defaultPrevented){if(Ai!==0){var h=new FormData(o,u),y={pending:!0,data:h,method:o.method,action:i};Object.freeze(y),Gm(n,y,null,h)}}else typeof i==="function"&&(d.preventDefault(),h=new FormData(o,u),y={pending:!0,data:h,method:o.method,action:i},Object.freeze(y),Gm(n,y,i,h))},currentTarget:o}]})}}function wd(e,t,n){e.currentTarget=n;try{t(e)}catch(a){Iy(a)}e.currentTarget=null}function nE(e,t){t=(t&4)!==0;for(var n=0;n<e.length;n++){var a=e[n];e:{var o=void 0,i=a.event;if(a=a.listeners,t)for(var u=a.length-1;0<=u;u--){var d=a[u],h=d.instance,y=d.currentTarget;if(d=d.listener,h!==o&&i.isPropagationStopped())break e;h!==null?oe(h,wd,i,d,y):wd(i,d,y),o=h}else for(u=0;u<a.length;u++){if(d=a[u],h=d.instance,y=d.currentTarget,d=d.listener,h!==o&&i.isPropagationStopped())break e;h!==null?oe(h,wd,i,d,y):wd(i,d,y),o=h}}}}function Ze(e,t){B0.has(e)||console.error('Did not expect a listenToNonDelegatedEvent() call for "%s". This is a bug in React. Please file an issue.',e);var n=t[mT];n===void 0&&(n=t[mT]=new Set);var a=e+"__bubble";n.has(a)||(aE(t,e,2,!1),n.add(a))}function $g(e,t,n){B0.has(e)&&!t&&console.error('Did not expect a listenToNativeEvent() call for "%s" in the bubble phase. This is a bug in React. Please file an issue.',e);var a=0;t&&(a|=4),aE(n,e,a,t)}function Ig(e){if(!e[Mp]){e[Mp]=!0,yT.forEach(function(n){n!=="selectionchange"&&(B0.has(n)||$g(n,!1,e),$g(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[Mp]||(t[Mp]=!0,$g("selectionchange",!1,t))}}function aE(e,t,n,a){switch(WE(t)){case qn:var o=qR;break;case eo:o=VR;break;default:o=sy}n=o.bind(null,t,n,e),o=void 0,!My||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(o=!0),a?o!==void 0?e.addEventListener(t,n,{capture:!0,passive:o}):e.addEventListener(t,n,!0):o!==void 0?e.addEventListener(t,n,{passive:o}):e.addEventListener(t,n,!1)}function qg(e,t,n,a,o){var i=a;if((t&1)===0&&(t&2)===0&&a!==null)e:for(;;){if(a===null)return;var u=a.tag;if(u===3||u===4){var d=a.stateNode.containerInfo;if(d===o)break;if(u===4)for(u=a.return;u!==null;){var h=u.tag;if((h===3||h===4)&&u.stateNode.containerInfo===o)return;u=u.return}for(;d!==null;){if(u=$i(d),u===null)return;if(h=u.tag,h===5||h===6||h===26||h===27){a=i=u;continue e}d=d.parentNode}}a=a.return}ov(function(){var y=i,O=Ph(n),M=[];e:{var D=ew.get(e);if(D!==void 0){var U=Yd,X=e;switch(e){case"keypress":if(Tf(n)===0)break e;case"keydown":case"keyup":U=j_;break;case"focusin":X="focus",U=By;break;case"focusout":X="blur",U=By;break;case"beforeblur":case"afterblur":U=By;break;case"click":if(n.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":U=$T;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":U=R_;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":U=Y_;break;case ZT:case PT:case FT:U=D_;break;case WT:U=Q_;break;case"scroll":case"scrollend":U=A_;break;case"wheel":U=J_;break;case"copy":case"cut":case"paste":U=x_;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":U=qT;break;case"submit":U=q_;break;case"toggle":case"beforetoggle":U=Z_}var re=(t&4)!==0,pe=!re&&(e==="scroll"||e==="scrollend"),Le=re?D!==null?D+"Capture":null:D;re=[];for(var _=y,N;_!==null;){var x=_;if(N=x.stateNode,x=x.tag,x!==5&&x!==26&&x!==27||N===null||Le===null||(x=wc(_,Le),x!=null&&re.push(Gc(_,x,N))),pe)break;_=_.return}0<re.length&&(D=new U(D,X,null,n,O),M.push({event:D,listeners:re}))}}if((t&7)===0){e:{if(U=e==="mouseover"||e==="pointerover",D=e==="mouseout"||e==="pointerout",U&&n!==au&&(X=n.relatedTarget||n.fromElement)&&($i(X)||X[si]))break e;if(D||U){if(X=O.window===O?O:(U=O.ownerDocument)?U.defaultView||U.parentWindow:window,D){if(U=n.relatedTarget||n.toElement,D=y,U=U?$i(U):null,U!==null&&(pe=R(U),re=U.tag,U!==pe||re!==5&&re!==27&&re!==6))U=null}else D=null,U=y;if(D!==U){if(re=$T,x="onMouseLeave",Le="onMouseEnter",_="mouse",e==="pointerout"||e==="pointerover")re=qT,x="onPointerLeave",Le="onPointerEnter",_="pointer";pe=D==null?X:yc(D),N=U==null?X:yc(U),X=new re(x,_+"leave",D,n,O),X.target=pe,X.relatedTarget=N,x=null,$i(O)===y&&(re=new re(Le,_+"enter",U,n,O),re.target=N,re.relatedTarget=pe,x=re),pe=x,re=D&&U?Ae(D,U,VC):null,D!==null&&oE(M,X,D,re,!1),U!==null&&pe!==null&&oE(M,pe,U,re,!0)}}}e:{if(D=y?yc(y):window,U=D.nodeName&&D.nodeName.toLowerCase(),U==="select"||U==="input"&&D.type==="file")var I=fv;else if(cv(D))if(JT)I=PA;else{I=KA;var F=JA}else U=D.nodeName,!U||U.toLowerCase()!=="input"||D.type!=="checkbox"&&D.type!=="radio"?y&&Ec(y.elementType)&&(I=fv):I=ZA;if(I&&(I=I(e,y))){uv(M,I,n,O);break e}F&&F(e,D,y)}switch(F=y?yc(y):window,e){case"focusin":if(cv(F)||F.contentEditable==="true")Tr=F,Ly=y,uu=null;break;case"focusout":uu=Ly=Tr=null;break;case"mousedown":Hy=!0;break;case"contextmenu":case"mouseup":case"dragend":Hy=!1,bv(M,n,O);break;case"selectionchange":if(eN)break;case"keydown":case"keyup":bv(M,n,O)}var we;if(ky)e:{switch(e){case"compositionstart":var he="onCompositionStart";break e;case"compositionend":he="onCompositionEnd";break e;case"compositionupdate":he="onCompositionUpdate";break e}he=void 0}else Er?sv(e,n)&&(he="onCompositionEnd"):e==="keydown"&&n.keyCode===VT&&(he="onCompositionStart");if(he&&(YT&&n.locale!=="ko"&&(Er||he!=="onCompositionStart"?he==="onCompositionEnd"&&Er&&(we=lv()):(ri=O,xy=("value"in ri)?ri.value:ri.textContent,Er=!0)),F=Od(y,he),0<F.length&&(he=new IT(he,e,null,n,O),M.push({event:he,listeners:F}),we?he.data=we:(we=rv(n),we!==null&&(he.data=we)))),we=F_?YA(e,n):GA(e,n))he=Od(y,"onBeforeInput"),0<he.length&&(F=new U_("onBeforeInput","beforeinput",null,n,O),M.push({event:F,listeners:he}),F.data=we);qC(M,e,y,n,O)}nE(M,t)})}function Gc(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Od(e,t){for(var n=t+"Capture",a=[];e!==null;){var o=e,i=o.stateNode;if(o=o.tag,o!==5&&o!==26&&o!==27||i===null||(o=wc(e,n),o!=null&&a.unshift(Gc(e,o,i)),o=wc(e,t),o!=null&&a.push(Gc(e,o,i))),e.tag===3)return a;e=e.return}return[]}function VC(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e?e:null}function oE(e,t,n,a,o){for(var i=t._reactName,u=[];n!==null&&n!==a;){var d=n,h=d.alternate,y=d.stateNode;if(d=d.tag,h!==null&&h===a)break;d!==5&&d!==26&&d!==27||y===null||(h=y,o?(y=wc(n,i),y!=null&&u.unshift(Gc(n,y,h))):o||(y=wc(n,i),y!=null&&u.push(Gc(n,y,h)))),n=n.return}u.length!==0&&e.push({event:t,listeners:u})}function Vg(e,t){$A(e,t),e!=="input"&&e!=="textarea"&&e!=="select"||t==null||t.value!==null||HT||(HT=!0,e==="select"&&t.multiple?console.error("`value` prop on `%s` should not be null. Consider using an empty array when `multiple` is set to `true` to clear the component or `undefined` for uncontrolled components.",e):console.error("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",e));var n={registrationNameDependencies:os,possibleRegistrationNames:Ry};Ec(e)||typeof t.is==="string"||qA(e,t,n),t.contentEditable&&!t.suppressContentEditableWarning&&t.children!=null&&console.error("A component is `contentEditable` and contains `children` managed by React. It is now your responsibility to guarantee that none of those nodes are unexpectedly modified or duplicated. This is probably not intentional.")}function ln(e,t,n,a){t!==n&&(n=ai(n),ai(t)!==n&&(a[e]=t))}function lE(e){return!!(e.getAttribute("vt-share")||e.getAttribute("vt-exit")||e.getAttribute("vt-enter")||e.getAttribute("vt-update"))}function iE(e){if(!lE(e))return!1;var t=e.getAttribute("vt-name");return e=e.style["view-transition-name"],t?t===e:e.startsWith("_T_")}function YC(e,t,n){t.forEach(function(a){a==="style"?e.getAttribute(a)!==""&&(a=e.style,(a.length===1&&a[0]==="view-transition-name"||a.length===2&&a[0]==="view-transition-class"&&a[1]==="view-transition-name")&&iE(e)||(n.style=Gg(e))):n[cE(a)]=e.getAttribute(a)})}function ko(e,t){t===!1?console.error("Expected `%s` listener to be a function, instead got `false`.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.",e,e,e):console.error("Expected `%s` listener to be a function, instead got a value of `%s` type.",e,typeof t)}function sE(e,t){return e=e.namespaceURI===Id||e.namespaceURI===yr?e.ownerDocument.createElementNS(e.namespaceURI,e.tagName):e.ownerDocument.createElement(e.tagName),e.innerHTML=t,e.innerHTML}function ai(e){return sl(e)&&(console.error("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before using it here.",An(e)),Vl(e)),(typeof e==="string"?e:""+e).replace(RN,`
|
|
178
|
-
`).replace(_N,"")}function rE(e,t){return t=ai(t),ai(e)===t?!0:!1}function gt(e,t,n,a,o,i){switch(n){case"children":if(typeof a==="string")Ef(a,t,!1),t==="body"||t==="textarea"&&a===""||Sc(e,a);else if(typeof a==="number"||typeof a==="bigint")Ef(""+a,t,!1),t!=="body"&&Sc(e,""+a);else return;break;case"className":vf(e,"class",a);break;case"tabIndex":vf(e,"tabindex",a);break;case"dir":case"role":case"viewBox":case"width":case"height":vf(e,n,a);break;case"style":tv(e,a,i);return;case"data":if(t!=="object"){vf(e,"data",a);break}case"src":case"href":if(a===""&&(t!=="a"||n!=="href")){n==="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.',n,n):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.',n,n),e.removeAttribute(n);break}if(a==null||typeof a==="function"||typeof a==="symbol"||typeof a==="boolean"){e.removeAttribute(n);break}bt(a,n),a=Tc(a),e.setAttribute(n,a);break;case"action":case"formAction":if(a!=null&&(t==="form"?n==="formAction"?console.error("You can only pass the formAction prop to <input> or <button>. Use the action prop on <form>."):typeof a==="function"&&(o.encType==null&&o.method==null||Up||(Up=!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.")),o.target==null||zp||(zp=!0,console.error("Cannot specify a target for a form that specifies a function as the action. The function will always be executed in the same window."))):t==="input"||t==="button"?n==="action"?console.error("You can only pass the action prop to <form>. Use the formAction prop on <input> or <button>."):t!=="input"||o.type==="submit"||o.type==="image"||xp?t!=="button"||o.type==null||o.type==="submit"||xp?typeof a==="function"&&(o.name==null||EO||(EO=!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.')),o.formEncType==null&&o.formMethod==null||Up||(Up=!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.")),o.formTarget==null||zp||(zp=!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."))):(xp=!0,console.error('A button can only specify a formAction along with type="submit" or no type.')):(xp=!0,console.error('An input can only specify a formAction along with type="submit" or type="image".')):n==="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 a==="function"){e.setAttribute(n,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof i==="function"&&(n==="formAction"?(t!=="input"&>(e,t,"name",o.name,o,null),gt(e,t,"formEncType",o.formEncType,o,null),gt(e,t,"formMethod",o.formMethod,o,null),gt(e,t,"formTarget",o.formTarget,o,null)):(gt(e,t,"encType",o.encType,o,null),gt(e,t,"method",o.method,o,null),gt(e,t,"target",o.target,o,null)));if(a==null||typeof a==="symbol"||typeof a==="boolean"){e.removeAttribute(n);break}bt(a,n),a=Tc(a),e.setAttribute(n,a);break;case"onClick":a!=null&&(typeof a!=="function"&&ko(n,a),e.onclick=To);return;case"onScroll":a!=null&&(typeof a!=="function"&&ko(n,a),Ze("scroll",e));return;case"onScrollEnd":a!=null&&(typeof a!=="function"&&ko(n,a),Ze("scrollend",e));return;case"dangerouslySetInnerHTML":if(a!=null){if(typeof a!=="object"||!("__html"in a))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information.");if(n=a.__html,n!=null){if(o.children!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");(i!=null?i.__html:void 0)!==n&&(e.innerHTML=n)}}break;case"multiple":e.multiple=a&&typeof a!=="function"&&typeof a!=="symbol";break;case"muted":e.muted=a&&typeof a!=="function"&&typeof a!=="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(a==null||typeof a==="function"||typeof a==="boolean"||typeof a==="symbol"){e.removeAttribute("xlink:href");break}bt(a,n),n=Tc(a),e.setAttributeNS(ws,"xlink:href",n);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":a!=null&&typeof a!=="function"&&typeof a!=="symbol"?(bt(a,n),e.setAttribute(n,a)):e.removeAttribute(n);break;case"inert":a!==""||Bp[n]||(Bp[n]=!0,console.error("Received an empty string for a boolean attribute `%s`. This will treat the attribute as if it were false. Either pass `false` to silence this warning, or pass `true` if you used an empty string in earlier versions of React to indicate this attribute is true.",n));case"allowFullScreen":case"async":case"autoPlay":case"controls":case"credentialless":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":a&&typeof a!=="function"&&typeof a!=="symbol"?e.setAttribute(n,""):e.removeAttribute(n);break;case"capture":case"download":a===!0?e.setAttribute(n,""):a!==!1&&a!=null&&typeof a!=="function"&&typeof a!=="symbol"?(bt(a,n),e.setAttribute(n,a)):e.removeAttribute(n);break;case"cols":case"rows":case"size":case"span":a!=null&&typeof a!=="function"&&typeof a!=="symbol"&&!isNaN(a)&&1<=a?(bt(a,n),e.setAttribute(n,a)):e.removeAttribute(n);break;case"rowSpan":case"start":a==null||typeof a==="function"||typeof a==="symbol"||isNaN(a)?e.removeAttribute(n):(bt(a,n),e.setAttribute(n,a));break;case"popover":Ze("beforetoggle",e),Ze("toggle",e),bf(e,"popover",a);break;case"xlinkActuate":ul(e,ws,"xlink:actuate",a);break;case"xlinkArcrole":ul(e,ws,"xlink:arcrole",a);break;case"xlinkRole":ul(e,ws,"xlink:role",a);break;case"xlinkShow":ul(e,ws,"xlink:show",a);break;case"xlinkTitle":ul(e,ws,"xlink:title",a);break;case"xlinkType":ul(e,ws,"xlink:type",a);break;case"xmlBase":ul(e,k0,"xml:base",a);break;case"xmlLang":ul(e,k0,"xml:lang",a);break;case"xmlSpace":ul(e,k0,"xml:space",a);break;case"is":i!=null&&console.error('Cannot update the "is" prop after it has been initialized.'),bf(e,"is",a);break;case"innerText":case"textContent":return;case"popoverTarget":TO||a==null||typeof a!=="object"||(TO=!0,console.error("The `popoverTarget` prop expects the ID of an Element as a string. Received %s instead.",a));default:if(!(2<n.length)||n[0]!=="o"&&n[0]!=="O"||n[1]!=="n"&&n[1]!=="N")n=nv(n),bf(e,n,a);else{os.hasOwnProperty(n)&&a!=null&&typeof a!=="function"&&ko(n,a);return}}rt=!0}function Yg(e,t,n,a,o,i){switch(n){case"style":tv(e,a,i);return;case"dangerouslySetInnerHTML":if(a!=null){if(typeof a!=="object"||!("__html"in a))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information.");if(n=a.__html,n!=null){if(o.children!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");(i!=null?i.__html:void 0)!==n&&(e.innerHTML=n)}}break;case"children":if(typeof a==="string")Sc(e,a);else if(typeof a==="number"||typeof a==="bigint")Sc(e,""+a);else return;break;case"onScroll":a!=null&&(typeof a!=="function"&&ko(n,a),Ze("scroll",e));return;case"onScrollEnd":a!=null&&(typeof a!=="function"&&ko(n,a),Ze("scrollend",e));return;case"onClick":a!=null&&(typeof a!=="function"&&ko(n,a),e.onclick=To);return;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":return;case"innerText":case"textContent":return;default:if(os.hasOwnProperty(n))a!=null&&typeof a!=="function"&&ko(n,a);else e:{if(n[0]==="o"&&n[1]==="n"&&(o=n.endsWith("Capture"),i=n.slice(2,o?n.length-7:void 0),t=e[Vn]||null,t=t!=null?t[n]:null,typeof t==="function"&&e.removeEventListener(i,t,o),typeof a==="function")){typeof t!=="function"&&t!==null&&(n in e?e[n]=null:e.hasAttribute(n)&&e.removeAttribute(n)),e.addEventListener(i,a,o);break e}rt=!0,n in e?e[n]=a:a===!0?e.setAttribute(n,""):bf(e,n,a)}return}rt=!0}function yn(e,t,n){switch(Vg(t,n),t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":Ze("error",e),Ze("load",e);var a=!1,o=!1,i;for(i in n)if(n.hasOwnProperty(i)){var u=n[i];if(u!=null)switch(i){case"src":a=!0;break;case"srcSet":o=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:gt(e,t,i,u,n,null)}}o&>(e,t,"srcSet",n.srcSet,n,null),a&>(e,t,"src",n.src,n,null);return;case"input":qs("input",n),Ze("invalid",e);var d=i=u=o=null,h=null,y=null;for(a in n)if(n.hasOwnProperty(a)){var O=n[a];if(O!=null)switch(a){case"name":o=O;break;case"type":u=O;break;case"checked":h=O;break;case"defaultChecked":y=O;break;case"value":i=O;break;case"defaultValue":d=O;break;case"children":case"dangerouslySetInnerHTML":if(O!=null)throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:gt(e,t,a,O,n,null)}}jb(e,n),$b(e,i,d,h,y,u,o,!1);return;case"select":qs("select",n),Ze("invalid",e),a=u=i=null;for(o in n)if(n.hasOwnProperty(o)&&(d=n[o],d!=null))switch(o){case"value":i=d;break;case"defaultValue":u=d;break;case"multiple":a=d;default:gt(e,t,o,d,n,null)}Vb(e,n),t=i,n=u,e.multiple=!!a,t!=null?Vs(e,!!a,t,!1):n!=null&&Vs(e,!!a,n,!0);return;case"textarea":qs("textarea",n),Ze("invalid",e),i=o=a=null;for(u in n)if(n.hasOwnProperty(u)&&(d=n[u],d!=null))switch(u){case"value":a=d;break;case"defaultValue":o=d;break;case"children":i=d;break;case"dangerouslySetInnerHTML":if(d!=null)throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");break;default:gt(e,t,u,d,n,null)}Yb(e,n),Qb(e,a,o,i);return;case"option":Ib(e,n);for(h in n)if(n.hasOwnProperty(h)&&(a=n[h],a!=null))switch(h){case"selected":e.selected=a&&typeof a!=="function"&&typeof a!=="symbol";break;default:gt(e,t,h,a,n,null)}return;case"dialog":Ze("beforetoggle",e),Ze("toggle",e),Ze("cancel",e),Ze("close",e);break;case"iframe":case"object":Ze("load",e);break;case"video":case"audio":for(a=0;a<Yu.length;a++)Ze(Yu[a],e);break;case"image":Ze("error",e),Ze("load",e);break;case"details":Ze("toggle",e);break;case"embed":case"source":case"link":Ze("error",e),Ze("load",e);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(y in n)if(n.hasOwnProperty(y)&&(a=n[y],a!=null))switch(y){case"children":case"dangerouslySetInnerHTML":throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:gt(e,t,y,a,n,null)}return;default:if(Ec(t)){for(O in n)n.hasOwnProperty(O)&&(a=n[O],a!==void 0&&Yg(e,t,O,a,n,void 0));return}}for(d in n)n.hasOwnProperty(d)&&(a=n[d],a!=null&>(e,t,d,a,n,null))}function GC(e,t,n,a){switch(Vg(t,a),t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var o=null,i=null,u=null,d=null,h=null,y=null,O=null;for(U in n){var M=n[U];if(n.hasOwnProperty(U)&&M!=null)switch(U){case"checked":break;case"value":break;case"defaultValue":h=M;default:a.hasOwnProperty(U)||gt(e,t,U,null,a,M)}}for(var D in a){var U=a[D];if(M=n[D],a.hasOwnProperty(D)&&(U!=null||M!=null))switch(D){case"type":U!==M&&(rt=!0),i=U;break;case"name":U!==M&&(rt=!0),o=U;break;case"checked":U!==M&&(rt=!0),y=U;break;case"defaultChecked":U!==M&&(rt=!0),O=U;break;case"value":U!==M&&(rt=!0),u=U;break;case"defaultValue":U!==M&&(rt=!0),d=U;break;case"children":case"dangerouslySetInnerHTML":if(U!=null)throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:U!==M&>(e,t,D,U,a,M)}}t=n.type==="checkbox"||n.type==="radio"?n.checked!=null:n.value!=null,a=a.type==="checkbox"||a.type==="radio"?a.checked!=null:a.value!=null,t||!a||SO||(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"),SO=!0),!t||a||vO||(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"),vO=!0),Yh(e,u,d,h,y,O,i,o);return;case"select":U=u=d=D=null;for(i in n)if(h=n[i],n.hasOwnProperty(i)&&h!=null)switch(i){case"value":break;case"multiple":U=h;default:a.hasOwnProperty(i)||gt(e,t,i,null,a,h)}for(o in a)if(i=a[o],h=n[o],a.hasOwnProperty(o)&&(i!=null||h!=null))switch(o){case"value":i!==h&&(rt=!0),D=i;break;case"defaultValue":i!==h&&(rt=!0),d=i;break;case"multiple":i!==h&&(rt=!0),u=i;default:i!==h&>(e,t,o,i,a,h)}a=d,t=u,n=U,D!=null?Vs(e,!!t,D,!1):!!n!==!!t&&(a!=null?Vs(e,!!t,a,!0):Vs(e,!!t,t?[]:"",!1));return;case"textarea":U=D=null;for(d in n)if(o=n[d],n.hasOwnProperty(d)&&o!=null&&!a.hasOwnProperty(d))switch(d){case"value":break;case"children":break;default:gt(e,t,d,null,a,o)}for(u in a)if(o=a[u],i=n[u],a.hasOwnProperty(u)&&(o!=null||i!=null))switch(u){case"value":o!==i&&(rt=!0),D=o;break;case"defaultValue":o!==i&&(rt=!0),U=o;break;case"children":break;case"dangerouslySetInnerHTML":if(o!=null)throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");break;default:o!==i&>(e,t,u,o,a,i)}Gb(e,D,U);return;case"option":for(var X in n)if(D=n[X],n.hasOwnProperty(X)&&D!=null&&!a.hasOwnProperty(X))switch(X){case"selected":e.selected=!1;break;default:gt(e,t,X,null,a,D)}for(h in a)if(D=a[h],U=n[h],a.hasOwnProperty(h)&&D!==U&&(D!=null||U!=null))switch(h){case"selected":D!==U&&(rt=!0),e.selected=D&&typeof D!=="function"&&typeof D!=="symbol";break;default:gt(e,t,h,D,a,U)}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 re in n)D=n[re],n.hasOwnProperty(re)&&D!=null&&!a.hasOwnProperty(re)&>(e,t,re,null,a,D);for(y in a)if(D=a[y],U=n[y],a.hasOwnProperty(y)&&D!==U&&(D!=null||U!=null))switch(y){case"children":case"dangerouslySetInnerHTML":if(D!=null)throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:gt(e,t,y,D,a,U)}return;default:if(Ec(t)){for(var pe in n)D=n[pe],n.hasOwnProperty(pe)&&D!==void 0&&!a.hasOwnProperty(pe)&&Yg(e,t,pe,void 0,a,D);for(O in a)D=a[O],U=n[O],!a.hasOwnProperty(O)||D===U||D===void 0&&U===void 0||Yg(e,t,O,D,a,U);return}}for(var Le in n)D=n[Le],n.hasOwnProperty(Le)&&D!=null&&!a.hasOwnProperty(Le)&>(e,t,Le,null,a,D);for(M in a)D=a[M],U=n[M],!a.hasOwnProperty(M)||D===U||D==null&&U==null||gt(e,t,M,D,a,U)}function cE(e){switch(e){case"class":return"className";case"for":return"htmlFor";default:return e}}function Gg(e){for(var t={},n=e.style,a=0;a<n.length;a++){var o=n[a];o==="view-transition-name"&&iE(e)||(t[o]=n.getPropertyValue(o))}return t}function uE(e,t,n){if(t!=null&&typeof t!=="object")console.error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.");else{var a,o=a="",i;for(i in t)if(t.hasOwnProperty(i)){var u=t[i];u!=null&&typeof u!=="boolean"&&u!==""&&(i.indexOf("--")===0?(gc(u,i),a+=o+i+":"+(""+u).trim()):typeof u!=="number"||u===0||kT.has(i)?(gc(u,i),a+=o+i.replace(MT,"-$1").toLowerCase().replace(xT,"-ms-")+":"+(""+u).trim()):a+=o+i.replace(MT,"-$1").toLowerCase().replace(xT,"-ms-")+":"+u+"px",o=";")}a=a||null,t=e.getAttribute("style"),t!==a&&(a=ai(a),t=ai(t),t===a||t[t.length-1]===";"&&lE(e)||(n.style=Gg(e)))}}function Ua(e,t,n,a,o,i){if(o.delete(n),e=e.getAttribute(n),e===null)switch(typeof a){case"undefined":case"function":case"symbol":case"boolean":return}else if(a!=null)switch(typeof a){case"function":case"symbol":case"boolean":break;default:if(bt(a,t),e===""+a)return}ln(t,e,a,i)}function fE(e,t,n,a,o,i){if(o.delete(n),e=e.getAttribute(n),e===null){switch(typeof a){case"function":case"symbol":return}if(!a)return}else switch(typeof a){case"function":case"symbol":break;default:if(a)return}ln(t,e,a,i)}function Qg(e,t,n,a,o,i){if(o.delete(n),e=e.getAttribute(n),e===null)switch(typeof a){case"undefined":case"function":case"symbol":return}else if(a!=null)switch(typeof a){case"function":case"symbol":break;default:if(bt(a,n),e===""+a)return}ln(t,e,a,i)}function dE(e,t,n,a,o,i){if(o.delete(n),e=e.getAttribute(n),e===null)switch(typeof a){case"undefined":case"function":case"symbol":case"boolean":return;default:if(isNaN(a))return}else if(a!=null)switch(typeof a){case"function":case"symbol":case"boolean":break;default:if(!isNaN(a)&&(bt(a,t),e===""+a))return}ln(t,e,a,i)}function Xg(e,t,n,a,o,i){if(o.delete(n),e=e.getAttribute(n),e===null)switch(typeof a){case"undefined":case"function":case"symbol":case"boolean":return}else if(a!=null)switch(typeof a){case"function":case"symbol":case"boolean":break;default:if(bt(a,t),n=Tc(""+a),e===n)return}ln(t,e,a,i)}function pE(e,t,n,a){for(var o={},i=new Set,u=e.attributes,d=0;d<u.length;d++)switch(u[d].name.toLowerCase()){case"value":break;case"checked":break;case"selected":break;case"vt-name":case"vt-update":case"vt-enter":case"vt-exit":case"vt-share":case"vt-parent-enter":case"vt-parent-exit":break;default:i.add(u[d].name)}if(Ec(t)){for(var h in n)if(n.hasOwnProperty(h)){var y=n[h];if(y!=null){if(os.hasOwnProperty(h))typeof y!=="function"&&ko(h,y);else if(n.suppressHydrationWarning!==!0)switch(h){case"children":typeof y!=="string"&&typeof y!=="number"||ln("children",e.textContent,y,o);continue;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":continue;case"dangerouslySetInnerHTML":u=e.innerHTML,y=y?y.__html:void 0,y!=null&&(y=sE(e,y),ln(h,u,y,o));continue;case"style":i.delete(h),uE(e,y,o);continue;case"offsetParent":case"offsetTop":case"offsetLeft":case"offsetWidth":case"offsetHeight":case"isContentEditable":case"outerText":case"outerHTML":i.delete(h.toLowerCase()),console.error("Assignment to read-only property will result in a no-op: `%s`",h);continue;case"className":i.delete("class"),u=kb(e,"class",y),ln("className",u,y,o);continue;default:a.context===zl&&t!=="svg"&&t!=="math"?i.delete(h.toLowerCase()):i.delete(h),u=kb(e,h,y),ln(h,u,y,o)}}}}else for(y in n)if(n.hasOwnProperty(y)&&(h=n[y],h!=null)){if(os.hasOwnProperty(y))typeof h!=="function"&&ko(y,h);else if(n.suppressHydrationWarning!==!0)switch(y){case"children":typeof h!=="string"&&typeof h!=="number"||ln("children",e.textContent,h,o);continue;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"value":case"checked":case"selected":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":continue;case"dangerouslySetInnerHTML":u=e.innerHTML,h=h?h.__html:void 0,h!=null&&(h=sE(e,h),u!==h&&(o[y]={__html:u}));continue;case"className":Ua(e,y,"class",h,i,o);continue;case"tabIndex":Ua(e,y,"tabindex",h,i,o);continue;case"style":i.delete(y),uE(e,h,o);continue;case"multiple":i.delete(y),ln(y,e.multiple,h,o);continue;case"muted":i.delete(y),ln(y,e.muted,h,o);continue;case"autoFocus":i.delete("autofocus"),ln(y,e.autofocus,h,o);continue;case"data":if(t!=="object"){i.delete(y),u=e.getAttribute("data"),ln(y,u,h,o);continue}case"src":case"href":if(!(h!==""||t==="a"&&y==="href"||t==="object"&&y==="data")){y==="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.',y,y):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.',y,y);continue}Xg(e,y,y,h,i,o);continue;case"action":case"formAction":if(u=e.getAttribute(y),typeof h==="function"){i.delete(y.toLowerCase()),y==="formAction"?(i.delete("name"),i.delete("formenctype"),i.delete("formmethod"),i.delete("formtarget")):(i.delete("enctype"),i.delete("method"),i.delete("target"));continue}else if(u===DN){i.delete(y.toLowerCase()),ln(y,"function",h,o);continue}Xg(e,y,y.toLowerCase(),h,i,o);continue;case"xlinkHref":Xg(e,y,"xlink:href",h,i,o);continue;case"contentEditable":Qg(e,y,"contenteditable",h,i,o);continue;case"spellCheck":Qg(e,y,"spellcheck",h,i,o);continue;case"draggable":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":Qg(e,y,y,h,i,o);continue;case"allowFullScreen":case"async":case"autoPlay":case"controls":case"credentialless":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":fE(e,y,y.toLowerCase(),h,i,o);continue;case"capture":case"download":e:{d=e;var O=u=y,M=o;if(i.delete(O),d=d.getAttribute(O),d===null)switch(typeof h){case"undefined":case"function":case"symbol":break e;default:if(h===!1)break e}else if(h!=null)switch(typeof h){case"function":case"symbol":break;case"boolean":if(h===!0&&d==="")break e;break;default:if(bt(h,u),d===""+h)break e}ln(u,d,h,M)}continue;case"cols":case"rows":case"size":case"span":e:{if(d=e,O=u=y,M=o,i.delete(O),d=d.getAttribute(O),d===null)switch(typeof h){case"undefined":case"function":case"symbol":case"boolean":break e;default:if(isNaN(h)||1>h)break e}else if(h!=null)switch(typeof h){case"function":case"symbol":case"boolean":break;default:if(!(isNaN(h)||1>h)&&(bt(h,u),d===""+h))break e}ln(u,d,h,M)}continue;case"rowSpan":dE(e,y,"rowspan",h,i,o);continue;case"start":dE(e,y,y,h,i,o);continue;case"xHeight":Ua(e,y,"x-height",h,i,o);continue;case"xlinkActuate":Ua(e,y,"xlink:actuate",h,i,o);continue;case"xlinkArcrole":Ua(e,y,"xlink:arcrole",h,i,o);continue;case"xlinkRole":Ua(e,y,"xlink:role",h,i,o);continue;case"xlinkShow":Ua(e,y,"xlink:show",h,i,o);continue;case"xlinkTitle":Ua(e,y,"xlink:title",h,i,o);continue;case"xlinkType":Ua(e,y,"xlink:type",h,i,o);continue;case"xmlBase":Ua(e,y,"xml:base",h,i,o);continue;case"xmlLang":Ua(e,y,"xml:lang",h,i,o);continue;case"xmlSpace":Ua(e,y,"xml:space",h,i,o);continue;case"inert":h!==""||Bp[y]||(Bp[y]=!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.",y)),fE(e,y,y,h,i,o);continue;default:if(!(2<y.length)||y[0]!=="o"&&y[0]!=="O"||y[1]!=="n"&&y[1]!=="N"){d=nv(y),u=!1,a.context===zl&&t!=="svg"&&t!=="math"?i.delete(d.toLowerCase()):(O=y.toLowerCase(),O=qd.hasOwnProperty(O)?qd[O]||null:null,O!==null&&O!==y&&(u=!0,i.delete(O)),i.delete(d));e:if(O=e,M=d,d=h,qh(M))if(O.hasAttribute(M))O=M.toLowerCase()==="nonce"?O.nonce:O.getAttribute(M),bt(d,M),d=O===""+d?d:O;else{switch(typeof d){case"function":case"symbol":break e;case"boolean":if(O=M.toLowerCase().slice(0,5),O!=="data-"&&O!=="aria-")break e}d=d===void 0?void 0:null}else d=void 0;u||ln(y,d,h,o)}}}return 0<i.size&&n.suppressHydrationWarning!==!0&&YC(e,i,o),Object.keys(o).length===0?null:o}function QC(e,t){switch(e.length){case 0:return"";case 1:return e[0];case 2:return e[0]+" "+t+" "+e[1];default:return e.slice(0,-1).join(", ")+", "+t+" "+e[e.length-1]}}function hE(e){switch(e){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function XC(){if(typeof performance.getEntriesByType==="function"){for(var e=0,t=0,n=performance.getEntriesByType("resource"),a=0;a<n.length;a++){var o=n[a],{transferSize:i,initiatorType:u,duration:d}=o;if(i&&d&&hE(u)){u=0,d=o.responseEnd;for(a+=1;a<n.length;a++){var h=n[a],y=h.startTime;if(y>d)break;var O=h.transferSize,M=h.initiatorType;O&&hE(M)&&(h=h.responseEnd,u+=O*(h<d?1:(d-y)/(h-y)))}if(--a,t+=8*(i+u)/(o.duration/1000),e++,10<e)break}}if(0<e)return t/e/1e6}return navigator.connection&&(e=navigator.connection.downlink,typeof e==="number")?e:5}function Qc(e){return e.nodeType===9?e:e.ownerDocument}function mE(e){switch(e){case yr:return Kr;case Id:return Lp;default:return zl}}function gE(e,t){if(e===zl)switch(t){case"svg":return Kr;case"math":return Lp;default:return zl}return e===Kr&&t==="foreignObject"?zl:e}function yE(e,t,n,a){return n=Qc(n).createElement(e),n[bn]=a,n[Vn]=t,yn(n,e,t),on(n),n}function JC(e){if(e=e.type,typeof e!=="string"||e==="")return!1;if(e=e.toLowerCase(),e==="module"||e==="importmap"||e==="speculationrules")return!1;switch(e){case"application/ecmascript":case"application/javascript":case"application/x-ecmascript":case"application/x-javascript":case"text/ecmascript":case"text/javascript":case"text/javascript1.0":case"text/javascript1.1":case"text/javascript1.2":case"text/javascript1.3":case"text/javascript1.4":case"text/javascript1.5":case"text/jscript":case"text/livescript":case"text/x-ecmascript":case"text/x-javascript":return!1}return!0}function Jg(e,t){return e==="textarea"||e==="noscript"||typeof t.children==="string"||typeof t.children==="number"||typeof t.children==="bigint"||typeof t.dangerouslySetInnerHTML==="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}function KC(){var e=window.event;if(e&&e.type==="popstate"){if(e===$0)return!1;return $0=e,!0}return $0=null,!1}function Xc(){var e=window.event;return e&&e!==Xu?e.type:null}function Jc(){var e=window.event;return e&&e!==Xu?e.timeStamp:-1.1}function ZC(e){setTimeout(function(){throw e})}function PC(e,t,n){switch(t){case"button":case"input":case"select":case"textarea":n.autoFocus&&e.focus();break;case"img":n.src?e.src=n.src:n.srcSet&&(e.srcset=n.srcSet)}}function FC(){}function WC(e,t,n,a){GC(e,t,n,a),e[Vn]=a}function bE(e){Sc(e,"")}function eR(e,t,n){e.nodeValue=n}function vE(e){if(!e.__reactWarnedAboutChildrenConflict){var t=e[Vn]||null;if(t!==null){var n=Eo(e);n!==null&&(typeof t.children==="string"||typeof t.children==="number"?(e.__reactWarnedAboutChildrenConflict=!0,oe(n,function(){console.error('Cannot use a ref on a React element as a container to `createRoot` or `createPortal` if that element also sets "children" text content using React. It should be a leaf with no children. Otherwise it\'s ambiguous which children should be used.')})):t.dangerouslySetInnerHTML!=null&&(e.__reactWarnedAboutChildrenConflict=!0,oe(n,function(){console.error('Cannot use a ref on a React element as a container to `createRoot` or `createPortal` if that element also sets "dangerouslySetInnerHTML" using React. It should be a leaf with no children. Otherwise it\'s ambiguous which children should be used.')})))}}}function oi(e){return e==="head"}function tR(e,t){e.removeChild(t)}function nR(e,t){(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e).removeChild(t)}function SE(e,t){var n=t,a=0;do{var o=n.nextSibling;if(e.removeChild(n),o&&o.nodeType===8)if(n=o.data,n===Qu||n===kp){if(a===0){e.removeChild(o),ur(t);return}a--}else if(n===Gu||n===Ci||n===As||n===Jr||n===Os)a++;else if(n===xN)ty(e.ownerDocument.documentElement);else if(n===UN){n=e.ownerDocument.head,ty(n);for(var i=n.firstChild;i;){var u=i.nextSibling,d=i.nodeName;i[nu]||d==="SCRIPT"||d==="STYLE"||d==="LINK"&&i.rel.toLowerCase()==="stylesheet"||n.removeChild(i),i=u}}else n===zN&&ty(e.ownerDocument.body);n=o}while(n);ur(t)}function EE(e,t){var n=e;e=0;do{var a=n.nextSibling;if(n.nodeType===1?t?(n._stashedDisplay=n.style.display,n.style.display="none"):(n.style.display=n._stashedDisplay||"",n.getAttribute("style")===""&&n.removeAttribute("style")):n.nodeType===3&&(t?(n._stashedText=n.nodeValue,n.nodeValue=""):n.nodeValue=n._stashedText||""),a&&a.nodeType===8)if(n=a.data,n===Qu)if(e===0)break;else e--;else n!==Gu&&n!==Ci&&n!==As&&n!==Jr||e++;n=a}while(n)}function aR(e){EE(e,!0)}function oR(e){e=e.style,typeof e.setProperty==="function"?e.setProperty("display","none","important"):e.display="none"}function lR(e){e.nodeValue=""}function iR(e){EE(e,!1)}function sR(e,t){t=t[AO],t=t!==void 0&&t!==null&&t.hasOwnProperty("display")?t.display:null,e.style.display=t==null||typeof t==="boolean"?"":(""+t).trim()}function rR(e,t){e.nodeValue=t}function cR(e){for(var t=e.firstChild;t!=null;){if(t.nodeType===1&&getComputedStyle(t).display==="block"){var n=Eo(t)||Eo(e);oe(n,function(a,o){console.error(`You're about to start a <ViewTransition> around a display: inline element <%s>, which itself has a display: block element <%s> inside it. This might trigger a bug in Safari which causes the View Transition to be skipped with a duplicate name error.
|
|
179
|
-
https://bugs.webkit.org/show_bug.cgi?id=290923`,a.toLocaleLowerCase(),o.toLocaleLowerCase())},e.tagName,t.tagName);break}if(t.firstChild!=null)t=t.firstChild;else{if(t===e)break;for(;t.nextSibling==null&&t.parentNode!=null&&t.parentNode!==e;)t=t.parentNode;t=t.nextSibling}}}function TE(e,t,n){if(t=CSS.escape(t)!==t?"r-"+btoa(t).replace(/=/g,""):t,e.style.viewTransitionName=t,n!=null&&(e.style.viewTransitionClass=n),n=getComputedStyle(e),n.display==="inline"){if(t=e.getClientRects(),t.length===1)var a=1;else for(var o=a=0;o<t.length;o++){var i=t[o];0<i.width&&0<i.height&&a++}a===1?(e=e.style,e.display=t.length===1?"inline-block":"block",e.marginTop="-"+n.paddingTop,e.marginBottom="-"+n.paddingBottom):cR(e)}}function wE(e,t){e=e.style,t=t[AO];var n=t!=null?t.hasOwnProperty("viewTransitionName")?t.viewTransitionName:t.hasOwnProperty("view-transition-name")?t["view-transition-name"]:null:null;e.viewTransitionName=n==null||typeof n==="boolean"?"":(""+n).trim(),n=t!=null?t.hasOwnProperty("viewTransitionClass")?t.viewTransitionClass:t.hasOwnProperty("view-transition-class")?t["view-transition-class"]:null:null,e.viewTransitionClass=n==null||typeof n==="boolean"?"":(""+n).trim(),e.display==="inline-block"&&(t==null?e.display=e.margin="":(n=t.display,e.display=n==null||typeof n==="boolean"?"":n,n=t.margin,n!=null?e.margin=n:(n=t.hasOwnProperty("marginTop")?t.marginTop:t["margin-top"],e.marginTop=n==null||typeof n==="boolean"?"":n,t=t.hasOwnProperty("marginBottom")?t.marginBottom:t["margin-bottom"],e.marginBottom=t==null||typeof t==="boolean"?"":t)))}function OE(e,t,n){return n=n.ownerDocument.defaultView,{rect:e,abs:t.position==="absolute"||t.position==="fixed",clip:t.clipPath!=="none"||t.overflow!=="visible"||t.filter!=="none"||t.mask!=="none"||t.mask!=="none"||t.borderRadius!=="0px",view:0<=e.bottom&&0<=e.right&&e.top<=n.innerHeight&&e.left<=n.innerWidth}}function Kg(e){var t=e.getBoundingClientRect(),n=getComputedStyle(e);return OE(t,n,e)}function uR(e){var t=e.getBoundingClientRect();t=new DOMRect(t.x+20000,t.y+20000,t.width,t.height);var n=getComputedStyle(e);return OE(t,n,e)}function fR(e,t){if(typeof e==="object"&&e!==null)switch(e.name){case"TimeoutError":return Error("A ViewTransition timed out because a Navigation stalled. This can happen if a Navigation is blocked on React itself. Such as if it's resolved inside useEffect. This can be solved by moving the resolution to useLayoutEffect.",{cause:e});case"AbortError":return t?null:Error("A ViewTransition was aborted early. This might be because you have other View Transition libraries on the page and only one can run at a time. To avoid this, use only React's built-in <ViewTransition> to coordinate.",{cause:e});case"InvalidStateError":if(e.message==="View transition was skipped because document visibility state is hidden."||e.message==="Skipping view transition because document visibility state has become hidden."||e.message==="Skipping view transition because viewport size changed."||e.message==="Transition was aborted because of invalid state")return null}return e}function dR(e){return e.documentElement.clientHeight}function pR(e){this.addEventListener("load",e),this.addEventListener("error",e)}function hR(e,t,n,a,o,i,u,d,h,y,O){var M=t.nodeType===9?t:t.ownerDocument;try{var D=M.startViewTransition({update:function(){var X=M.defaultView,re=X.navigation&&X.navigation.transition,pe=M.fonts.status;a();var Le=[];if(pe==="loaded"&&(dR(M),M.fonts.status==="loading"&&Le.push(M.fonts.ready)),pe=Le.length,e!==null)for(var _=e.suspenseyImages,N=0,x=0;x<_.length;x++){var I=_[x];if(!I.complete){var F=I.getBoundingClientRect();if(0<F.bottom&&0<F.right&&F.top<X.innerHeight&&F.left<X.innerWidth){if(N+=GE(I),N>jp){Le.length=pe;break}I=new Promise(pR.bind(I)),Le.push(I)}}}if(0<Le.length)return y(0<pe?Le.length>pe?"Waiting on Fonts and Images":"Waiting on Fonts":"Waiting on Images"),X=Promise.race([Promise.all(Le),new Promise(function(we){return setTimeout(we,LN)})]).then(o,o),(re?Promise.allSettled([re.finished,X]):X).then(i,i);if(o(),re)return re.finished.then(i,i);i()},types:n});M.__reactViewTransition=D;var U=[];return D.ready.then(function(){for(var X=M.documentElement.getAnimations({subtree:!0}),re=0;re<X.length;re++){var pe=X[re],Le=pe.effect,_=Le.pseudoElement;if(_!=null&&_.startsWith("::view-transition")){U.push(pe),pe=Le.getKeyframes();for(var N=_=void 0,x=!0,I=0;I<pe.length;I++){var F=pe[I],we=F.width;if(_===void 0)_=we;else if(_!==we){x=!1;break}if(we=F.height,N===void 0)N=we;else if(N!==we){x=!1;break}delete F.width,delete F.height,F.transform==="none"&&delete F.transform}x&&_!==void 0&&N!==void 0&&(Le.setKeyframes(pe),x=getComputedStyle(Le.target,Le.pseudoElement),x.width!==_||x.height!==N)&&(x=pe[0],x.width=_,x.height=N,x=pe[pe.length-1],x.width=_,x.height=N,Le.setKeyframes(pe))}}u()},function(X){M.__reactViewTransition===D&&(M.__reactViewTransition=null);try{X=fR(X,!1),X!==null&&h(X)}finally{a(),o(),u(),O()}}),D.finished.finally(function(){for(var X=0;X<U.length;X++)U[X].cancel();M.__reactViewTransition===D&&(M.__reactViewTransition=null),O(),d()}),D}catch(X){return a(),o(),O(),u(),null}}function as(e,t){this._scope=document.documentElement,this._selector="::view-transition-"+e+"("+t+")"}function AE(e){return{name:e,group:new as("group",e),imagePair:new as("image-pair",e),old:new as("old",e),new:new as("new",e)}}function va(e){this._fragmentFiber=e,this._observers=this._eventListeners=null}function mR(e,t,n,a){return ot(e).addEventListener(t,n,a),!1}function gR(e,t,n,a){return ot(e).removeEventListener(t,n,a),!1}function sr(e){return e!=null&&typeof e!=="boolean"&&(e.once===!0||e.signal instanceof AbortSignal)?{capture:e.capture,passive:e.passive}:e}function CE(e){return e==null?"c=0":typeof e==="boolean"?"c="+(e?"1":"0"):"c="+(e.capture?"1":"0")}function RE(e,t,n,a){if(e.length===0)return-1;a=CE(a);for(var o=0;o<e.length;o++){var i=e[o];if(i.type===t&&i.listener===n&&CE(i.optionsOrUseCapture)===a)return o}return-1}function _E(e,t){if(e.tag===6)return!1;return e=ot(e),MR(e,t)}function Zg(e,t){return t.push(e),!1}function yR(e,t){if(e.tag===6)return!1;return e=ot(e),e===t||e.contains(t)?(t.blur(),!0):!1}function bR(e,t){if(e.tag===6)return!1;return e=ot(e),t.observe(e),!1}function vR(e,t){if(e.tag===6)return!1;return e=ot(e),t.unobserve(e),!1}function SR(e,t,n){ro.push({fragmentInstance:e,observer:t,instance:n}),q0||(q0=!0,xR(function(){q0=!1;var a=ro;ro=[];for(var o=0;o<a.length;o++){var i=a[o];i.observer.unobserve(i.instance)}}))}function ER(e,t){if(e.tag===6){e=e.stateNode;var n=e.ownerDocument.createRange();n.selectNodeContents(e),t.push.apply(t,n.getClientRects())}else e=ot(e),t.push.apply(t,e.getClientRects());return!1}function TR(e,t,n,a,o){var i=$i(o);if(e&Node.DOCUMENT_POSITION_CONTAINED_BY){if(n=!!i)e:{for(;i!==null;){if(i.tag===7&&(i===t||i.alternate===t)){n=!0;break e}i=i.return}n=!1}return n}if(e&Node.DOCUMENT_POSITION_CONTAINS){if(i===null)return i=o.ownerDocument,o===i||o===i.documentElement||o===i.body;e:{i=t;for(t=Me(t);i!==null;){if(!(i.tag!==5&&i.tag!==3&&i.tag!==27||i!==t&&i.alternate!==t)){i=!0;break e}i=i.return}i=!1}return i}return e&Node.DOCUMENT_POSITION_PRECEDING?((t=!!i)&&!(t=i===n)&&(t=Ae(n,i,Oe),t===null?t=!1:(W(t,!0,Fn,i,n),i=fr,fr=null,t=i!==null)),t):e&Node.DOCUMENT_POSITION_FOLLOWING?((t=!!i)&&!(t=i===a)&&(t=Ae(a,i,Oe),t===null?t=!1:(W(t,!0,le,i,a),i=fr,fy=fr=null,t=i!==null)),t):!1}function NE(e,t){var n=e.ownerDocument.createRange();n.selectNodeContents(e),e=n.getBoundingClientRect(),window.scrollTo(window.scrollX+e.left,t?window.scrollY+e.top:window.scrollY+e.bottom-window.innerHeight)}function wR(e,t){return e=ot(e),DE(e,t),!1}function DE(e,t){e.reactFragments==null&&(e.reactFragments=new Set),e.reactFragments.add(t)}function ME(e,t){var n=t._eventListeners;if(n!==null)for(var a=0;a<n.length;a++){var o=n[a];e.addEventListener(o.type,o.attachedListener,sr(o.optionsOrUseCapture))}e.nodeType!==3&&(n=t._observers,n!==null&&n.forEach(function(i){for(var u=0,d=0;d<ro.length;d++){var h=ro[d];if(h.fragmentInstance!==t||h.observer!==i||h.instance!==e)ro[u++]=h}ro.length=u,i.observe(e)}),DE(e,t))}function OR(e,t){var n=t._eventListeners;if(n!==null)for(var a=0;a<n.length;a++){var o=n[a];e.removeEventListener(o.type,o.attachedListener,sr(o.optionsOrUseCapture))}e.nodeType!==3&&(n=t._observers,n!==null&&n.forEach(function(i){typeof i.rootMargin==="string"?SR(t,i,e):i.unobserve(e)}),e.reactFragments!=null&&e.reactFragments.delete(t))}function Pg(e){var t=e.firstChild;t&&t.nodeType===10&&(t=t.nextSibling);for(;t;){var n=t;switch(t=t.nextSibling,n.nodeName){case"HTML":case"HEAD":case"BODY":Pg(n),js(n);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(n.rel.toLowerCase()==="stylesheet")continue}e.removeChild(n)}}function AR(e,t,n,a){for(;e.nodeType===1;){var o=n;if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!a&&(e.nodeName!=="INPUT"||e.type!=="hidden"))break}else if(!a)if(t==="input"&&e.type==="hidden"){bt(o.name,"name");var i=o.name==null?null:""+o.name;if(o.type==="hidden"&&e.getAttribute("name")===i)return e}else return e;else if(!e[nu])switch(t){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if(i=e.getAttribute("rel"),i==="stylesheet"&&e.hasAttribute("data-precedence"))break;else if(i!==o.rel||e.getAttribute("href")!==(o.href==null||o.href===""?null:o.href)||e.getAttribute("crossorigin")!==(o.crossOrigin==null?null:o.crossOrigin)||e.getAttribute("title")!==(o.title==null?null:o.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(i=e.getAttribute("src"),(i!==(o.src==null?null:o.src)||e.getAttribute("type")!==(o.type==null?null:o.type)||e.getAttribute("crossorigin")!==(o.crossOrigin==null?null:o.crossOrigin))&&i&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}if(e=Sa(e.nextSibling),e===null)break}return null}function CR(e,t,n){if(t==="")return null;for(;e.nodeType!==3;){if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!n)return null;if(e=Sa(e.nextSibling),e===null)return null}return e}function xE(e,t){for(;e.nodeType!==8;){if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!t)return null;if(e=Sa(e.nextSibling),e===null)return null}return e}function Fg(e){return e.data===Ci||e.data===As}function Wg(e){return e.data===Jr||e.data===Ci&&e.ownerDocument.readyState!==OO}function RR(e,t){var n=e.ownerDocument;if(e.data===As)e._reactRetry=t;else if(e.data!==Ci||n.readyState!==OO)t();else{var a=function(){t(),n.removeEventListener("DOMContentLoaded",a)};n.addEventListener("DOMContentLoaded",a),e._reactRetry=a}}function Sa(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t===Gu||t===Jr||t===Ci||t===As||t===Os||t===L0||t===wO)break;if(t===Qu||t===kp)return null}}return e}function zE(e){if(e.nodeType===1){for(var t=e.nodeName.toLowerCase(),n={},a=e.attributes,o=0;o<a.length;o++){var i=a[o];n[cE(i.name)]=i.name.toLowerCase()==="style"?Gg(e):i.value}return{type:t,props:n}}return e.nodeType===8?e.data===Os?{type:"Activity",props:{}}:{type:"Suspense",props:{}}:e.nodeValue}function UE(e,t,n){return n===null||n[MN]!==!0?(e.nodeValue===t?e=null:(t=ai(t),e=ai(e.nodeValue)===t?null:e.nodeValue),e):null}function ey(e){e=e.nextSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n===Qu||n===kp){if(t===0)return Sa(e.nextSibling);t--}else n!==Gu&&n!==Jr&&n!==Ci&&n!==As&&n!==Os||t++}e=e.nextSibling}return null}function BE(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n===Gu||n===Jr||n===Ci||n===As||n===Os){if(t===0)return e;t--}else n!==Qu&&n!==kp||t++}e=e.previousSibling}return null}function _R(e){ur(e)}function NR(e){ur(e)}function DR(e){ur(e)}function MR(e,t){function n(){a=!0}if(e.ownerDocument.activeElement===e)return!0;var a=!1;try{e.ownerDocument.addEventListener("focus",n,!0),(e.focus||HTMLElement.prototype.focus).call(e,t)}finally{e.ownerDocument.removeEventListener("focus",n,!0)}return a}function xR(e){NO(function(){NO(function(t){return e(t)})})}function kE(e,t,n,a,o){switch(o&&Zh(e,a.ancestorInfo),t=Qc(n),e){case"html":if(e=t.documentElement,!e)throw Error("React expected an <html> element (document.documentElement) to exist in the Document but one was not found. React never removes the documentElement for any Document it renders into so the cause is likely in some other script running on this page.");return e;case"head":if(e=t.head,!e)throw Error("React expected a <head> element (document.head) to exist in the Document but one was not found. React never removes the head for any Document it renders into so the cause is likely in some other script running on this page.");return e;case"body":if(e=t.body,!e)throw Error("React expected a <body> element (document.body) to exist in the Document but one was not found. React never removes the body for any Document it renders into so the cause is likely in some other script running on this page.");return e;default:throw Error("resolveSingletonInstance was called with an element type that is not supported. This is a bug in React.")}}function zR(e,t,n,a){if(!n[si]&&Eo(n)){var o=n.tagName.toLowerCase();console.error("You are mounting a new %s component when a previous one has not first unmounted. It is an error to render more than one %s component at a time and attributes and children of these components will likely fail in unpredictable ways. Please only render a single instance of <%s> and if you need to mount a new one, ensure any previous ones have unmounted first.",o,o,o)}switch(e){case"html":case"head":case"body":break;default:console.error("acquireSingletonInstance was called with an element type that is not supported. This is a bug in React.")}for(o=n.attributes;o.length;)n.removeAttributeNode(o[0]);yn(n,e,t),n[bn]=a,n[Vn]=t}function LE(e,t,n){for(var a in n){var o=n[a];n.hasOwnProperty(a)&&o!=null&>(e,t,a,null,NN,o)}n.dangerouslySetInnerHTML!=null&&(e.textContent=""),e.onclick===To&&(e.onclick=null),js(e)}function ty(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);js(e)}function Kc(e){if(typeof e.getRootNode==="function"){var t=e.getRootNode();if(t.nodeType===9||t.nodeType===11)return t}return e.nodeType===9?e:e.ownerDocument}function HE(e,t,n){var a=Zr;if(a&&typeof t==="string"&&t){var o=Ma(t);o='link[rel="'+e+'"][href="'+o+'"]',typeof n==="string"&&(o+='[crossorigin="'+n+'"]'),xO.has(o)||(xO.add(o),e={rel:e,crossOrigin:n,href:t},a.querySelector(o)===null&&(t=a.createElement("link"),yn(t,"link",e),on(t),a.head.appendChild(t)))}}function jE(e,t,n,a){var o=(o=ii.current)?Kc(o):null;if(!o)throw Error('"resourceRoot" was expected to exist. This is a bug in React.');switch(e){case"meta":case"title":return null;case"style":return typeof n.precedence==="string"&&typeof n.href==="string"?(n=rr(n.href),t=$s(o).hoistableStyles,a=t.get(n),a||(a={type:"style",instance:null,count:0,state:null},t.set(n,a)),a):{type:"void",instance:null,count:0,state:null};case"link":if(n.rel==="stylesheet"&&typeof n.href==="string"&&typeof n.precedence==="string"){e=rr(n.href);var i=$s(o).hoistableStyles,u=i.get(e);if(u||(o=o.ownerDocument||o,u={type:"stylesheet",instance:null,count:0,state:{loading:Rs,preload:null}},i.set(e,u),(i=o.querySelector(Zc(e)))?i._p||(u.instance=i,u.state.loading=Ju|Ya):(i=Ga.get(e),i||(i={rel:"preload",as:"style",href:n.href,crossOrigin:n.crossOrigin,integrity:n.integrity,media:n.media,hrefLang:n.hrefLang,referrerPolicy:n.referrerPolicy},Ga.set(e,i)),UR(o,e,i,u.state))),t&&a===null)throw n=`
|
|
177
|
+
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`,L(e))})}function ko(e){e!==Xr&&e.next===null&&(Xr===null?Qr=Xr=e:Xr=Xr.next=e),Dp=!0,V.actQueue!==null?x0||(x0=!0,eE()):M0||(M0=!0,eE())}function Yc(e,t){if(!z0&&Dp){z0=!0;do{var n=!1;for(var a=Qr;a!==null;){if(!t)if(e!==0){var o=a.pendingLanes;if(o===0)var i=0;else{var u=a.suspendedLanes,d=a.pingedLanes;i=(1<<31-In(42|e)+1)-1,i&=o&~(u&~d),i=i&201326741?i&201326741|1:i?i|2:0}i!==0&&(n=!0,WS(a,i))}else i=Ue,i=rl(a,a===Et?i:0,a.cancelPendingCommit!==null||a.timeoutHandle!==Cs),(i&3)===0||vo(a,i)||(n=!0,WS(a,i));a=a.next}}while(n);z0=!1}}function IC(){Xu=window.event,Lg()}function Lg(){Dp=x0=M0=!1;var e=0;Ai!==0&&KC()&&(e=Ai);for(var t=Vt(),n=null,a=Qr;a!==null;){var o=a.next,i=PS(a,t);if(i===0)a.next=null,n===null?Qr=o:n.next=o,o===null&&(Xr=n);else if(n=a,e!==0||(i&3)!==0)Dp=!0;a=o}xt!==Po&&xt!==Op||Yc(e,!1),Ai!==0&&(Ai=0)}function PS(e,t){for(var{suspendedLanes:n,pingedLanes:a,expirationTimes:o}=e,i=e.pendingLanes&-62914561;0<i;){var u=31-In(i),d=1<<u,h=o[u];if(h===-1){if((d&n)===0||(d&a)!==0)o[u]=gf(d,t)}else h<=t&&(e.expiredLanes|=d);i&=~d}if(t=Et,n=Ue,n=rl(e,e===t?n:0,e.cancelPendingCommit!==null||e.timeoutHandle!==Cs),a=e.callbackNode,n===0||e===t&&(mt===bs||mt===vs)||e.cancelPendingCommit!==null)return a!==null&&Hg(a),e.callbackNode=null,e.callbackPriority=0;if((n&3)===0||vo(e,n)){if(t=n&-n,t!==e.callbackPriority||V.actQueue!==null&&a!==U0)Hg(a);else return t;switch(Da(n)){case qn:case eo:n=Ay;break;case Io:n=hr;break;case Hd:n=Cy;break;default:n=hr}return a=FS.bind(null,e),V.actQueue!==null?(V.actQueue.push(a),n=U0):n=wy(n,a),e.callbackPriority=t,e.callbackNode=n,t}return a!==null&&Hg(a),e.callbackPriority=2,e.callbackNode=null,2}function FS(e,t){if(np=tp=!1,Xu=window.event,xt!==Po&&xt!==Op)return e.callbackNode=null,e.callbackPriority=0,null;var n=e.callbackNode;if(Ra===wp&&(Ra=O0),qc()&&e.callbackNode!==n)return null;var a=Ue;if(a=rl(e,e===Et?a:0,e.cancelPendingCommit!==null||e.timeoutHandle!==Cs),a===0)return null;return US(e,a,t),PS(e,Vt()),e.callbackNode!=null&&e.callbackNode===n?FS.bind(null,e):null}function WS(e,t){if(qc())return null;tp=np,np=!1,US(e,t,!0)}function Hg(e){e!==U0&&e!==null&&FR(e)}function eE(){V.actQueue!==null&&V.actQueue.push(function(){return Lg(),null}),BN(function(){(We&(Wt|Aa))!==fn?wy(Oy,IC):Lg()})}function jg(){if(Ai===0){var e=bi;e===0&&(e=kd,kd<<=1,(kd&261888)===0&&(kd=256)),Ai=e}return Ai}function tE(e){if(e==null||typeof e==="symbol"||typeof e==="boolean")return null;if(typeof e==="function")return e;return bt(e,"action"),Tc(e)}function qC(e,t,n,a,o){if(t==="submit"&&n&&n.stateNode===o){var i=tE((o[Vn]||null).action),u=a.submitter;u&&(t=(t=u[Vn]||null)?tE(t.formAction):u.getAttribute("formAction"),t!==null&&(i=t,u=null));var d=new Yd("action","action",null,a,o);e.push({event:d,listeners:[{instance:null,listener:function(){if(a.defaultPrevented){if(Ai!==0){var h=new FormData(o,u),y={pending:!0,data:h,method:o.method,action:i};Object.freeze(y),Gm(n,y,null,h)}}else typeof i==="function"&&(d.preventDefault(),h=new FormData(o,u),y={pending:!0,data:h,method:o.method,action:i},Object.freeze(y),Gm(n,y,i,h))},currentTarget:o}]})}}function wd(e,t,n){e.currentTarget=n;try{t(e)}catch(a){Iy(a)}e.currentTarget=null}function nE(e,t){t=(t&4)!==0;for(var n=0;n<e.length;n++){var a=e[n];e:{var o=void 0,i=a.event;if(a=a.listeners,t)for(var u=a.length-1;0<=u;u--){var d=a[u],h=d.instance,y=d.currentTarget;if(d=d.listener,h!==o&&i.isPropagationStopped())break e;h!==null?oe(h,wd,i,d,y):wd(i,d,y),o=h}else for(u=0;u<a.length;u++){if(d=a[u],h=d.instance,y=d.currentTarget,d=d.listener,h!==o&&i.isPropagationStopped())break e;h!==null?oe(h,wd,i,d,y):wd(i,d,y),o=h}}}}function Ze(e,t){k0.has(e)||console.error('Did not expect a listenToNonDelegatedEvent() call for "%s". This is a bug in React. Please file an issue.',e);var n=t[mT];n===void 0&&(n=t[mT]=new Set);var a=e+"__bubble";n.has(a)||(aE(t,e,2,!1),n.add(a))}function $g(e,t,n){k0.has(e)&&!t&&console.error('Did not expect a listenToNativeEvent() call for "%s" in the bubble phase. This is a bug in React. Please file an issue.',e);var a=0;t&&(a|=4),aE(n,e,a,t)}function Ig(e){if(!e[Mp]){e[Mp]=!0,yT.forEach(function(n){n!=="selectionchange"&&(k0.has(n)||$g(n,!1,e),$g(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[Mp]||(t[Mp]=!0,$g("selectionchange",!1,t))}}function aE(e,t,n,a){switch(WE(t)){case qn:var o=qR;break;case eo:o=VR;break;default:o=sy}n=o.bind(null,t,n,e),o=void 0,!My||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(o=!0),a?o!==void 0?e.addEventListener(t,n,{capture:!0,passive:o}):e.addEventListener(t,n,!0):o!==void 0?e.addEventListener(t,n,{passive:o}):e.addEventListener(t,n,!1)}function qg(e,t,n,a,o){var i=a;if((t&1)===0&&(t&2)===0&&a!==null)e:for(;;){if(a===null)return;var u=a.tag;if(u===3||u===4){var d=a.stateNode.containerInfo;if(d===o)break;if(u===4)for(u=a.return;u!==null;){var h=u.tag;if((h===3||h===4)&&u.stateNode.containerInfo===o)return;u=u.return}for(;d!==null;){if(u=$i(d),u===null)return;if(h=u.tag,h===5||h===6||h===26||h===27){a=i=u;continue e}d=d.parentNode}}a=a.return}ov(function(){var y=i,O=Ph(n),M=[];e:{var D=ew.get(e);if(D!==void 0){var U=Yd,X=e;switch(e){case"keypress":if(Tf(n)===0)break e;case"keydown":case"keyup":U=j_;break;case"focusin":X="focus",U=ky;break;case"focusout":X="blur",U=ky;break;case"beforeblur":case"afterblur":U=ky;break;case"click":if(n.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":U=$T;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":U=R_;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":U=Y_;break;case ZT:case PT:case FT:U=D_;break;case WT:U=Q_;break;case"scroll":case"scrollend":U=A_;break;case"wheel":U=J_;break;case"copy":case"cut":case"paste":U=x_;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":U=qT;break;case"submit":U=q_;break;case"toggle":case"beforetoggle":U=Z_}var re=(t&4)!==0,pe=!re&&(e==="scroll"||e==="scrollend"),Le=re?D!==null?D+"Capture":null:D;re=[];for(var _=y,N;_!==null;){var x=_;if(N=x.stateNode,x=x.tag,x!==5&&x!==26&&x!==27||N===null||Le===null||(x=wc(_,Le),x!=null&&re.push(Gc(_,x,N))),pe)break;_=_.return}0<re.length&&(D=new U(D,X,null,n,O),M.push({event:D,listeners:re}))}}if((t&7)===0){e:{if(U=e==="mouseover"||e==="pointerover",D=e==="mouseout"||e==="pointerout",U&&n!==au&&(X=n.relatedTarget||n.fromElement)&&($i(X)||X[si]))break e;if(D||U){if(X=O.window===O?O:(U=O.ownerDocument)?U.defaultView||U.parentWindow:window,D){if(U=n.relatedTarget||n.toElement,D=y,U=U?$i(U):null,U!==null&&(pe=R(U),re=U.tag,U!==pe||re!==5&&re!==27&&re!==6))U=null}else D=null,U=y;if(D!==U){if(re=$T,x="onMouseLeave",Le="onMouseEnter",_="mouse",e==="pointerout"||e==="pointerover")re=qT,x="onPointerLeave",Le="onPointerEnter",_="pointer";pe=D==null?X:yc(D),N=U==null?X:yc(U),X=new re(x,_+"leave",D,n,O),X.target=pe,X.relatedTarget=N,x=null,$i(O)===y&&(re=new re(Le,_+"enter",U,n,O),re.target=N,re.relatedTarget=pe,x=re),pe=x,re=D&&U?Ae(D,U,VC):null,D!==null&&oE(M,X,D,re,!1),U!==null&&pe!==null&&oE(M,pe,U,re,!0)}}}e:{if(D=y?yc(y):window,U=D.nodeName&&D.nodeName.toLowerCase(),U==="select"||U==="input"&&D.type==="file")var I=fv;else if(cv(D))if(JT)I=PA;else{I=KA;var F=JA}else U=D.nodeName,!U||U.toLowerCase()!=="input"||D.type!=="checkbox"&&D.type!=="radio"?y&&Ec(y.elementType)&&(I=fv):I=ZA;if(I&&(I=I(e,y))){uv(M,I,n,O);break e}F&&F(e,D,y)}switch(F=y?yc(y):window,e){case"focusin":if(cv(F)||F.contentEditable==="true")Tr=F,Ly=y,uu=null;break;case"focusout":uu=Ly=Tr=null;break;case"mousedown":Hy=!0;break;case"contextmenu":case"mouseup":case"dragend":Hy=!1,bv(M,n,O);break;case"selectionchange":if(eN)break;case"keydown":case"keyup":bv(M,n,O)}var we;if(By)e:{switch(e){case"compositionstart":var he="onCompositionStart";break e;case"compositionend":he="onCompositionEnd";break e;case"compositionupdate":he="onCompositionUpdate";break e}he=void 0}else Er?sv(e,n)&&(he="onCompositionEnd"):e==="keydown"&&n.keyCode===VT&&(he="onCompositionStart");if(he&&(YT&&n.locale!=="ko"&&(Er||he!=="onCompositionStart"?he==="onCompositionEnd"&&Er&&(we=lv()):(ri=O,xy=("value"in ri)?ri.value:ri.textContent,Er=!0)),F=Od(y,he),0<F.length&&(he=new IT(he,e,null,n,O),M.push({event:he,listeners:F}),we?he.data=we:(we=rv(n),we!==null&&(he.data=we)))),we=F_?YA(e,n):GA(e,n))he=Od(y,"onBeforeInput"),0<he.length&&(F=new U_("onBeforeInput","beforeinput",null,n,O),M.push({event:F,listeners:he}),F.data=we);qC(M,e,y,n,O)}nE(M,t)})}function Gc(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Od(e,t){for(var n=t+"Capture",a=[];e!==null;){var o=e,i=o.stateNode;if(o=o.tag,o!==5&&o!==26&&o!==27||i===null||(o=wc(e,n),o!=null&&a.unshift(Gc(e,o,i)),o=wc(e,t),o!=null&&a.push(Gc(e,o,i))),e.tag===3)return a;e=e.return}return[]}function VC(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e?e:null}function oE(e,t,n,a,o){for(var i=t._reactName,u=[];n!==null&&n!==a;){var d=n,h=d.alternate,y=d.stateNode;if(d=d.tag,h!==null&&h===a)break;d!==5&&d!==26&&d!==27||y===null||(h=y,o?(y=wc(n,i),y!=null&&u.unshift(Gc(n,y,h))):o||(y=wc(n,i),y!=null&&u.push(Gc(n,y,h)))),n=n.return}u.length!==0&&e.push({event:t,listeners:u})}function Vg(e,t){$A(e,t),e!=="input"&&e!=="textarea"&&e!=="select"||t==null||t.value!==null||HT||(HT=!0,e==="select"&&t.multiple?console.error("`value` prop on `%s` should not be null. Consider using an empty array when `multiple` is set to `true` to clear the component or `undefined` for uncontrolled components.",e):console.error("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",e));var n={registrationNameDependencies:os,possibleRegistrationNames:Ry};Ec(e)||typeof t.is==="string"||qA(e,t,n),t.contentEditable&&!t.suppressContentEditableWarning&&t.children!=null&&console.error("A component is `contentEditable` and contains `children` managed by React. It is now your responsibility to guarantee that none of those nodes are unexpectedly modified or duplicated. This is probably not intentional.")}function ln(e,t,n,a){t!==n&&(n=ai(n),ai(t)!==n&&(a[e]=t))}function lE(e){return!!(e.getAttribute("vt-share")||e.getAttribute("vt-exit")||e.getAttribute("vt-enter")||e.getAttribute("vt-update"))}function iE(e){if(!lE(e))return!1;var t=e.getAttribute("vt-name");return e=e.style["view-transition-name"],t?t===e:e.startsWith("_T_")}function YC(e,t,n){t.forEach(function(a){a==="style"?e.getAttribute(a)!==""&&(a=e.style,(a.length===1&&a[0]==="view-transition-name"||a.length===2&&a[0]==="view-transition-class"&&a[1]==="view-transition-name")&&iE(e)||(n.style=Gg(e))):n[cE(a)]=e.getAttribute(a)})}function Bo(e,t){t===!1?console.error("Expected `%s` listener to be a function, instead got `false`.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.",e,e,e):console.error("Expected `%s` listener to be a function, instead got a value of `%s` type.",e,typeof t)}function sE(e,t){return e=e.namespaceURI===Id||e.namespaceURI===yr?e.ownerDocument.createElementNS(e.namespaceURI,e.tagName):e.ownerDocument.createElement(e.tagName),e.innerHTML=t,e.innerHTML}function ai(e){return sl(e)&&(console.error("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before using it here.",An(e)),Vl(e)),(typeof e==="string"?e:""+e).replace(RN,`
|
|
178
|
+
`).replace(_N,"")}function rE(e,t){return t=ai(t),ai(e)===t?!0:!1}function gt(e,t,n,a,o,i){switch(n){case"children":if(typeof a==="string")Ef(a,t,!1),t==="body"||t==="textarea"&&a===""||Sc(e,a);else if(typeof a==="number"||typeof a==="bigint")Ef(""+a,t,!1),t!=="body"&&Sc(e,""+a);else return;break;case"className":vf(e,"class",a);break;case"tabIndex":vf(e,"tabindex",a);break;case"dir":case"role":case"viewBox":case"width":case"height":vf(e,n,a);break;case"style":tv(e,a,i);return;case"data":if(t!=="object"){vf(e,"data",a);break}case"src":case"href":if(a===""&&(t!=="a"||n!=="href")){n==="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.',n,n):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.',n,n),e.removeAttribute(n);break}if(a==null||typeof a==="function"||typeof a==="symbol"||typeof a==="boolean"){e.removeAttribute(n);break}bt(a,n),a=Tc(a),e.setAttribute(n,a);break;case"action":case"formAction":if(a!=null&&(t==="form"?n==="formAction"?console.error("You can only pass the formAction prop to <input> or <button>. Use the action prop on <form>."):typeof a==="function"&&(o.encType==null&&o.method==null||Up||(Up=!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.")),o.target==null||zp||(zp=!0,console.error("Cannot specify a target for a form that specifies a function as the action. The function will always be executed in the same window."))):t==="input"||t==="button"?n==="action"?console.error("You can only pass the action prop to <form>. Use the formAction prop on <input> or <button>."):t!=="input"||o.type==="submit"||o.type==="image"||xp?t!=="button"||o.type==null||o.type==="submit"||xp?typeof a==="function"&&(o.name==null||EO||(EO=!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.')),o.formEncType==null&&o.formMethod==null||Up||(Up=!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.")),o.formTarget==null||zp||(zp=!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."))):(xp=!0,console.error('A button can only specify a formAction along with type="submit" or no type.')):(xp=!0,console.error('An input can only specify a formAction along with type="submit" or type="image".')):n==="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 a==="function"){e.setAttribute(n,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof i==="function"&&(n==="formAction"?(t!=="input"&>(e,t,"name",o.name,o,null),gt(e,t,"formEncType",o.formEncType,o,null),gt(e,t,"formMethod",o.formMethod,o,null),gt(e,t,"formTarget",o.formTarget,o,null)):(gt(e,t,"encType",o.encType,o,null),gt(e,t,"method",o.method,o,null),gt(e,t,"target",o.target,o,null)));if(a==null||typeof a==="symbol"||typeof a==="boolean"){e.removeAttribute(n);break}bt(a,n),a=Tc(a),e.setAttribute(n,a);break;case"onClick":a!=null&&(typeof a!=="function"&&Bo(n,a),e.onclick=To);return;case"onScroll":a!=null&&(typeof a!=="function"&&Bo(n,a),Ze("scroll",e));return;case"onScrollEnd":a!=null&&(typeof a!=="function"&&Bo(n,a),Ze("scrollend",e));return;case"dangerouslySetInnerHTML":if(a!=null){if(typeof a!=="object"||!("__html"in a))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information.");if(n=a.__html,n!=null){if(o.children!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");(i!=null?i.__html:void 0)!==n&&(e.innerHTML=n)}}break;case"multiple":e.multiple=a&&typeof a!=="function"&&typeof a!=="symbol";break;case"muted":e.muted=a&&typeof a!=="function"&&typeof a!=="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(a==null||typeof a==="function"||typeof a==="boolean"||typeof a==="symbol"){e.removeAttribute("xlink:href");break}bt(a,n),n=Tc(a),e.setAttributeNS(ws,"xlink:href",n);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":a!=null&&typeof a!=="function"&&typeof a!=="symbol"?(bt(a,n),e.setAttribute(n,a)):e.removeAttribute(n);break;case"inert":a!==""||kp[n]||(kp[n]=!0,console.error("Received an empty string for a boolean attribute `%s`. This will treat the attribute as if it were false. Either pass `false` to silence this warning, or pass `true` if you used an empty string in earlier versions of React to indicate this attribute is true.",n));case"allowFullScreen":case"async":case"autoPlay":case"controls":case"credentialless":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":a&&typeof a!=="function"&&typeof a!=="symbol"?e.setAttribute(n,""):e.removeAttribute(n);break;case"capture":case"download":a===!0?e.setAttribute(n,""):a!==!1&&a!=null&&typeof a!=="function"&&typeof a!=="symbol"?(bt(a,n),e.setAttribute(n,a)):e.removeAttribute(n);break;case"cols":case"rows":case"size":case"span":a!=null&&typeof a!=="function"&&typeof a!=="symbol"&&!isNaN(a)&&1<=a?(bt(a,n),e.setAttribute(n,a)):e.removeAttribute(n);break;case"rowSpan":case"start":a==null||typeof a==="function"||typeof a==="symbol"||isNaN(a)?e.removeAttribute(n):(bt(a,n),e.setAttribute(n,a));break;case"popover":Ze("beforetoggle",e),Ze("toggle",e),bf(e,"popover",a);break;case"xlinkActuate":ul(e,ws,"xlink:actuate",a);break;case"xlinkArcrole":ul(e,ws,"xlink:arcrole",a);break;case"xlinkRole":ul(e,ws,"xlink:role",a);break;case"xlinkShow":ul(e,ws,"xlink:show",a);break;case"xlinkTitle":ul(e,ws,"xlink:title",a);break;case"xlinkType":ul(e,ws,"xlink:type",a);break;case"xmlBase":ul(e,B0,"xml:base",a);break;case"xmlLang":ul(e,B0,"xml:lang",a);break;case"xmlSpace":ul(e,B0,"xml:space",a);break;case"is":i!=null&&console.error('Cannot update the "is" prop after it has been initialized.'),bf(e,"is",a);break;case"innerText":case"textContent":return;case"popoverTarget":TO||a==null||typeof a!=="object"||(TO=!0,console.error("The `popoverTarget` prop expects the ID of an Element as a string. Received %s instead.",a));default:if(!(2<n.length)||n[0]!=="o"&&n[0]!=="O"||n[1]!=="n"&&n[1]!=="N")n=nv(n),bf(e,n,a);else{os.hasOwnProperty(n)&&a!=null&&typeof a!=="function"&&Bo(n,a);return}}rt=!0}function Yg(e,t,n,a,o,i){switch(n){case"style":tv(e,a,i);return;case"dangerouslySetInnerHTML":if(a!=null){if(typeof a!=="object"||!("__html"in a))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information.");if(n=a.__html,n!=null){if(o.children!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");(i!=null?i.__html:void 0)!==n&&(e.innerHTML=n)}}break;case"children":if(typeof a==="string")Sc(e,a);else if(typeof a==="number"||typeof a==="bigint")Sc(e,""+a);else return;break;case"onScroll":a!=null&&(typeof a!=="function"&&Bo(n,a),Ze("scroll",e));return;case"onScrollEnd":a!=null&&(typeof a!=="function"&&Bo(n,a),Ze("scrollend",e));return;case"onClick":a!=null&&(typeof a!=="function"&&Bo(n,a),e.onclick=To);return;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":return;case"innerText":case"textContent":return;default:if(os.hasOwnProperty(n))a!=null&&typeof a!=="function"&&Bo(n,a);else e:{if(n[0]==="o"&&n[1]==="n"&&(o=n.endsWith("Capture"),i=n.slice(2,o?n.length-7:void 0),t=e[Vn]||null,t=t!=null?t[n]:null,typeof t==="function"&&e.removeEventListener(i,t,o),typeof a==="function")){typeof t!=="function"&&t!==null&&(n in e?e[n]=null:e.hasAttribute(n)&&e.removeAttribute(n)),e.addEventListener(i,a,o);break e}rt=!0,n in e?e[n]=a:a===!0?e.setAttribute(n,""):bf(e,n,a)}return}rt=!0}function yn(e,t,n){switch(Vg(t,n),t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":Ze("error",e),Ze("load",e);var a=!1,o=!1,i;for(i in n)if(n.hasOwnProperty(i)){var u=n[i];if(u!=null)switch(i){case"src":a=!0;break;case"srcSet":o=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:gt(e,t,i,u,n,null)}}o&>(e,t,"srcSet",n.srcSet,n,null),a&>(e,t,"src",n.src,n,null);return;case"input":qs("input",n),Ze("invalid",e);var d=i=u=o=null,h=null,y=null;for(a in n)if(n.hasOwnProperty(a)){var O=n[a];if(O!=null)switch(a){case"name":o=O;break;case"type":u=O;break;case"checked":h=O;break;case"defaultChecked":y=O;break;case"value":i=O;break;case"defaultValue":d=O;break;case"children":case"dangerouslySetInnerHTML":if(O!=null)throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:gt(e,t,a,O,n,null)}}jb(e,n),$b(e,i,d,h,y,u,o,!1);return;case"select":qs("select",n),Ze("invalid",e),a=u=i=null;for(o in n)if(n.hasOwnProperty(o)&&(d=n[o],d!=null))switch(o){case"value":i=d;break;case"defaultValue":u=d;break;case"multiple":a=d;default:gt(e,t,o,d,n,null)}Vb(e,n),t=i,n=u,e.multiple=!!a,t!=null?Vs(e,!!a,t,!1):n!=null&&Vs(e,!!a,n,!0);return;case"textarea":qs("textarea",n),Ze("invalid",e),i=o=a=null;for(u in n)if(n.hasOwnProperty(u)&&(d=n[u],d!=null))switch(u){case"value":a=d;break;case"defaultValue":o=d;break;case"children":i=d;break;case"dangerouslySetInnerHTML":if(d!=null)throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");break;default:gt(e,t,u,d,n,null)}Yb(e,n),Qb(e,a,o,i);return;case"option":Ib(e,n);for(h in n)if(n.hasOwnProperty(h)&&(a=n[h],a!=null))switch(h){case"selected":e.selected=a&&typeof a!=="function"&&typeof a!=="symbol";break;default:gt(e,t,h,a,n,null)}return;case"dialog":Ze("beforetoggle",e),Ze("toggle",e),Ze("cancel",e),Ze("close",e);break;case"iframe":case"object":Ze("load",e);break;case"video":case"audio":for(a=0;a<Yu.length;a++)Ze(Yu[a],e);break;case"image":Ze("error",e),Ze("load",e);break;case"details":Ze("toggle",e);break;case"embed":case"source":case"link":Ze("error",e),Ze("load",e);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(y in n)if(n.hasOwnProperty(y)&&(a=n[y],a!=null))switch(y){case"children":case"dangerouslySetInnerHTML":throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:gt(e,t,y,a,n,null)}return;default:if(Ec(t)){for(O in n)n.hasOwnProperty(O)&&(a=n[O],a!==void 0&&Yg(e,t,O,a,n,void 0));return}}for(d in n)n.hasOwnProperty(d)&&(a=n[d],a!=null&>(e,t,d,a,n,null))}function GC(e,t,n,a){switch(Vg(t,a),t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var o=null,i=null,u=null,d=null,h=null,y=null,O=null;for(U in n){var M=n[U];if(n.hasOwnProperty(U)&&M!=null)switch(U){case"checked":break;case"value":break;case"defaultValue":h=M;default:a.hasOwnProperty(U)||gt(e,t,U,null,a,M)}}for(var D in a){var U=a[D];if(M=n[D],a.hasOwnProperty(D)&&(U!=null||M!=null))switch(D){case"type":U!==M&&(rt=!0),i=U;break;case"name":U!==M&&(rt=!0),o=U;break;case"checked":U!==M&&(rt=!0),y=U;break;case"defaultChecked":U!==M&&(rt=!0),O=U;break;case"value":U!==M&&(rt=!0),u=U;break;case"defaultValue":U!==M&&(rt=!0),d=U;break;case"children":case"dangerouslySetInnerHTML":if(U!=null)throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:U!==M&>(e,t,D,U,a,M)}}t=n.type==="checkbox"||n.type==="radio"?n.checked!=null:n.value!=null,a=a.type==="checkbox"||a.type==="radio"?a.checked!=null:a.value!=null,t||!a||SO||(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"),SO=!0),!t||a||vO||(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"),vO=!0),Yh(e,u,d,h,y,O,i,o);return;case"select":U=u=d=D=null;for(i in n)if(h=n[i],n.hasOwnProperty(i)&&h!=null)switch(i){case"value":break;case"multiple":U=h;default:a.hasOwnProperty(i)||gt(e,t,i,null,a,h)}for(o in a)if(i=a[o],h=n[o],a.hasOwnProperty(o)&&(i!=null||h!=null))switch(o){case"value":i!==h&&(rt=!0),D=i;break;case"defaultValue":i!==h&&(rt=!0),d=i;break;case"multiple":i!==h&&(rt=!0),u=i;default:i!==h&>(e,t,o,i,a,h)}a=d,t=u,n=U,D!=null?Vs(e,!!t,D,!1):!!n!==!!t&&(a!=null?Vs(e,!!t,a,!0):Vs(e,!!t,t?[]:"",!1));return;case"textarea":U=D=null;for(d in n)if(o=n[d],n.hasOwnProperty(d)&&o!=null&&!a.hasOwnProperty(d))switch(d){case"value":break;case"children":break;default:gt(e,t,d,null,a,o)}for(u in a)if(o=a[u],i=n[u],a.hasOwnProperty(u)&&(o!=null||i!=null))switch(u){case"value":o!==i&&(rt=!0),D=o;break;case"defaultValue":o!==i&&(rt=!0),U=o;break;case"children":break;case"dangerouslySetInnerHTML":if(o!=null)throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");break;default:o!==i&>(e,t,u,o,a,i)}Gb(e,D,U);return;case"option":for(var X in n)if(D=n[X],n.hasOwnProperty(X)&&D!=null&&!a.hasOwnProperty(X))switch(X){case"selected":e.selected=!1;break;default:gt(e,t,X,null,a,D)}for(h in a)if(D=a[h],U=n[h],a.hasOwnProperty(h)&&D!==U&&(D!=null||U!=null))switch(h){case"selected":D!==U&&(rt=!0),e.selected=D&&typeof D!=="function"&&typeof D!=="symbol";break;default:gt(e,t,h,D,a,U)}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 re in n)D=n[re],n.hasOwnProperty(re)&&D!=null&&!a.hasOwnProperty(re)&>(e,t,re,null,a,D);for(y in a)if(D=a[y],U=n[y],a.hasOwnProperty(y)&&D!==U&&(D!=null||U!=null))switch(y){case"children":case"dangerouslySetInnerHTML":if(D!=null)throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:gt(e,t,y,D,a,U)}return;default:if(Ec(t)){for(var pe in n)D=n[pe],n.hasOwnProperty(pe)&&D!==void 0&&!a.hasOwnProperty(pe)&&Yg(e,t,pe,void 0,a,D);for(O in a)D=a[O],U=n[O],!a.hasOwnProperty(O)||D===U||D===void 0&&U===void 0||Yg(e,t,O,D,a,U);return}}for(var Le in n)D=n[Le],n.hasOwnProperty(Le)&&D!=null&&!a.hasOwnProperty(Le)&>(e,t,Le,null,a,D);for(M in a)D=a[M],U=n[M],!a.hasOwnProperty(M)||D===U||D==null&&U==null||gt(e,t,M,D,a,U)}function cE(e){switch(e){case"class":return"className";case"for":return"htmlFor";default:return e}}function Gg(e){for(var t={},n=e.style,a=0;a<n.length;a++){var o=n[a];o==="view-transition-name"&&iE(e)||(t[o]=n.getPropertyValue(o))}return t}function uE(e,t,n){if(t!=null&&typeof t!=="object")console.error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.");else{var a,o=a="",i;for(i in t)if(t.hasOwnProperty(i)){var u=t[i];u!=null&&typeof u!=="boolean"&&u!==""&&(i.indexOf("--")===0?(gc(u,i),a+=o+i+":"+(""+u).trim()):typeof u!=="number"||u===0||BT.has(i)?(gc(u,i),a+=o+i.replace(MT,"-$1").toLowerCase().replace(xT,"-ms-")+":"+(""+u).trim()):a+=o+i.replace(MT,"-$1").toLowerCase().replace(xT,"-ms-")+":"+u+"px",o=";")}a=a||null,t=e.getAttribute("style"),t!==a&&(a=ai(a),t=ai(t),t===a||t[t.length-1]===";"&&lE(e)||(n.style=Gg(e)))}}function Ua(e,t,n,a,o,i){if(o.delete(n),e=e.getAttribute(n),e===null)switch(typeof a){case"undefined":case"function":case"symbol":case"boolean":return}else if(a!=null)switch(typeof a){case"function":case"symbol":case"boolean":break;default:if(bt(a,t),e===""+a)return}ln(t,e,a,i)}function fE(e,t,n,a,o,i){if(o.delete(n),e=e.getAttribute(n),e===null){switch(typeof a){case"function":case"symbol":return}if(!a)return}else switch(typeof a){case"function":case"symbol":break;default:if(a)return}ln(t,e,a,i)}function Qg(e,t,n,a,o,i){if(o.delete(n),e=e.getAttribute(n),e===null)switch(typeof a){case"undefined":case"function":case"symbol":return}else if(a!=null)switch(typeof a){case"function":case"symbol":break;default:if(bt(a,n),e===""+a)return}ln(t,e,a,i)}function dE(e,t,n,a,o,i){if(o.delete(n),e=e.getAttribute(n),e===null)switch(typeof a){case"undefined":case"function":case"symbol":case"boolean":return;default:if(isNaN(a))return}else if(a!=null)switch(typeof a){case"function":case"symbol":case"boolean":break;default:if(!isNaN(a)&&(bt(a,t),e===""+a))return}ln(t,e,a,i)}function Xg(e,t,n,a,o,i){if(o.delete(n),e=e.getAttribute(n),e===null)switch(typeof a){case"undefined":case"function":case"symbol":case"boolean":return}else if(a!=null)switch(typeof a){case"function":case"symbol":case"boolean":break;default:if(bt(a,t),n=Tc(""+a),e===n)return}ln(t,e,a,i)}function pE(e,t,n,a){for(var o={},i=new Set,u=e.attributes,d=0;d<u.length;d++)switch(u[d].name.toLowerCase()){case"value":break;case"checked":break;case"selected":break;case"vt-name":case"vt-update":case"vt-enter":case"vt-exit":case"vt-share":case"vt-parent-enter":case"vt-parent-exit":break;default:i.add(u[d].name)}if(Ec(t)){for(var h in n)if(n.hasOwnProperty(h)){var y=n[h];if(y!=null){if(os.hasOwnProperty(h))typeof y!=="function"&&Bo(h,y);else if(n.suppressHydrationWarning!==!0)switch(h){case"children":typeof y!=="string"&&typeof y!=="number"||ln("children",e.textContent,y,o);continue;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":continue;case"dangerouslySetInnerHTML":u=e.innerHTML,y=y?y.__html:void 0,y!=null&&(y=sE(e,y),ln(h,u,y,o));continue;case"style":i.delete(h),uE(e,y,o);continue;case"offsetParent":case"offsetTop":case"offsetLeft":case"offsetWidth":case"offsetHeight":case"isContentEditable":case"outerText":case"outerHTML":i.delete(h.toLowerCase()),console.error("Assignment to read-only property will result in a no-op: `%s`",h);continue;case"className":i.delete("class"),u=Bb(e,"class",y),ln("className",u,y,o);continue;default:a.context===zl&&t!=="svg"&&t!=="math"?i.delete(h.toLowerCase()):i.delete(h),u=Bb(e,h,y),ln(h,u,y,o)}}}}else for(y in n)if(n.hasOwnProperty(y)&&(h=n[y],h!=null)){if(os.hasOwnProperty(y))typeof h!=="function"&&Bo(y,h);else if(n.suppressHydrationWarning!==!0)switch(y){case"children":typeof h!=="string"&&typeof h!=="number"||ln("children",e.textContent,h,o);continue;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"value":case"checked":case"selected":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":continue;case"dangerouslySetInnerHTML":u=e.innerHTML,h=h?h.__html:void 0,h!=null&&(h=sE(e,h),u!==h&&(o[y]={__html:u}));continue;case"className":Ua(e,y,"class",h,i,o);continue;case"tabIndex":Ua(e,y,"tabindex",h,i,o);continue;case"style":i.delete(y),uE(e,h,o);continue;case"multiple":i.delete(y),ln(y,e.multiple,h,o);continue;case"muted":i.delete(y),ln(y,e.muted,h,o);continue;case"autoFocus":i.delete("autofocus"),ln(y,e.autofocus,h,o);continue;case"data":if(t!=="object"){i.delete(y),u=e.getAttribute("data"),ln(y,u,h,o);continue}case"src":case"href":if(!(h!==""||t==="a"&&y==="href"||t==="object"&&y==="data")){y==="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.',y,y):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.',y,y);continue}Xg(e,y,y,h,i,o);continue;case"action":case"formAction":if(u=e.getAttribute(y),typeof h==="function"){i.delete(y.toLowerCase()),y==="formAction"?(i.delete("name"),i.delete("formenctype"),i.delete("formmethod"),i.delete("formtarget")):(i.delete("enctype"),i.delete("method"),i.delete("target"));continue}else if(u===DN){i.delete(y.toLowerCase()),ln(y,"function",h,o);continue}Xg(e,y,y.toLowerCase(),h,i,o);continue;case"xlinkHref":Xg(e,y,"xlink:href",h,i,o);continue;case"contentEditable":Qg(e,y,"contenteditable",h,i,o);continue;case"spellCheck":Qg(e,y,"spellcheck",h,i,o);continue;case"draggable":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":Qg(e,y,y,h,i,o);continue;case"allowFullScreen":case"async":case"autoPlay":case"controls":case"credentialless":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":fE(e,y,y.toLowerCase(),h,i,o);continue;case"capture":case"download":e:{d=e;var O=u=y,M=o;if(i.delete(O),d=d.getAttribute(O),d===null)switch(typeof h){case"undefined":case"function":case"symbol":break e;default:if(h===!1)break e}else if(h!=null)switch(typeof h){case"function":case"symbol":break;case"boolean":if(h===!0&&d==="")break e;break;default:if(bt(h,u),d===""+h)break e}ln(u,d,h,M)}continue;case"cols":case"rows":case"size":case"span":e:{if(d=e,O=u=y,M=o,i.delete(O),d=d.getAttribute(O),d===null)switch(typeof h){case"undefined":case"function":case"symbol":case"boolean":break e;default:if(isNaN(h)||1>h)break e}else if(h!=null)switch(typeof h){case"function":case"symbol":case"boolean":break;default:if(!(isNaN(h)||1>h)&&(bt(h,u),d===""+h))break e}ln(u,d,h,M)}continue;case"rowSpan":dE(e,y,"rowspan",h,i,o);continue;case"start":dE(e,y,y,h,i,o);continue;case"xHeight":Ua(e,y,"x-height",h,i,o);continue;case"xlinkActuate":Ua(e,y,"xlink:actuate",h,i,o);continue;case"xlinkArcrole":Ua(e,y,"xlink:arcrole",h,i,o);continue;case"xlinkRole":Ua(e,y,"xlink:role",h,i,o);continue;case"xlinkShow":Ua(e,y,"xlink:show",h,i,o);continue;case"xlinkTitle":Ua(e,y,"xlink:title",h,i,o);continue;case"xlinkType":Ua(e,y,"xlink:type",h,i,o);continue;case"xmlBase":Ua(e,y,"xml:base",h,i,o);continue;case"xmlLang":Ua(e,y,"xml:lang",h,i,o);continue;case"xmlSpace":Ua(e,y,"xml:space",h,i,o);continue;case"inert":h!==""||kp[y]||(kp[y]=!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.",y)),fE(e,y,y,h,i,o);continue;default:if(!(2<y.length)||y[0]!=="o"&&y[0]!=="O"||y[1]!=="n"&&y[1]!=="N"){d=nv(y),u=!1,a.context===zl&&t!=="svg"&&t!=="math"?i.delete(d.toLowerCase()):(O=y.toLowerCase(),O=qd.hasOwnProperty(O)?qd[O]||null:null,O!==null&&O!==y&&(u=!0,i.delete(O)),i.delete(d));e:if(O=e,M=d,d=h,qh(M))if(O.hasAttribute(M))O=M.toLowerCase()==="nonce"?O.nonce:O.getAttribute(M),bt(d,M),d=O===""+d?d:O;else{switch(typeof d){case"function":case"symbol":break e;case"boolean":if(O=M.toLowerCase().slice(0,5),O!=="data-"&&O!=="aria-")break e}d=d===void 0?void 0:null}else d=void 0;u||ln(y,d,h,o)}}}return 0<i.size&&n.suppressHydrationWarning!==!0&&YC(e,i,o),Object.keys(o).length===0?null:o}function QC(e,t){switch(e.length){case 0:return"";case 1:return e[0];case 2:return e[0]+" "+t+" "+e[1];default:return e.slice(0,-1).join(", ")+", "+t+" "+e[e.length-1]}}function hE(e){switch(e){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function XC(){if(typeof performance.getEntriesByType==="function"){for(var e=0,t=0,n=performance.getEntriesByType("resource"),a=0;a<n.length;a++){var o=n[a],{transferSize:i,initiatorType:u,duration:d}=o;if(i&&d&&hE(u)){u=0,d=o.responseEnd;for(a+=1;a<n.length;a++){var h=n[a],y=h.startTime;if(y>d)break;var O=h.transferSize,M=h.initiatorType;O&&hE(M)&&(h=h.responseEnd,u+=O*(h<d?1:(d-y)/(h-y)))}if(--a,t+=8*(i+u)/(o.duration/1000),e++,10<e)break}}if(0<e)return t/e/1e6}return navigator.connection&&(e=navigator.connection.downlink,typeof e==="number")?e:5}function Qc(e){return e.nodeType===9?e:e.ownerDocument}function mE(e){switch(e){case yr:return Kr;case Id:return Lp;default:return zl}}function gE(e,t){if(e===zl)switch(t){case"svg":return Kr;case"math":return Lp;default:return zl}return e===Kr&&t==="foreignObject"?zl:e}function yE(e,t,n,a){return n=Qc(n).createElement(e),n[bn]=a,n[Vn]=t,yn(n,e,t),on(n),n}function JC(e){if(e=e.type,typeof e!=="string"||e==="")return!1;if(e=e.toLowerCase(),e==="module"||e==="importmap"||e==="speculationrules")return!1;switch(e){case"application/ecmascript":case"application/javascript":case"application/x-ecmascript":case"application/x-javascript":case"text/ecmascript":case"text/javascript":case"text/javascript1.0":case"text/javascript1.1":case"text/javascript1.2":case"text/javascript1.3":case"text/javascript1.4":case"text/javascript1.5":case"text/jscript":case"text/livescript":case"text/x-ecmascript":case"text/x-javascript":return!1}return!0}function Jg(e,t){return e==="textarea"||e==="noscript"||typeof t.children==="string"||typeof t.children==="number"||typeof t.children==="bigint"||typeof t.dangerouslySetInnerHTML==="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}function KC(){var e=window.event;if(e&&e.type==="popstate"){if(e===$0)return!1;return $0=e,!0}return $0=null,!1}function Xc(){var e=window.event;return e&&e!==Xu?e.type:null}function Jc(){var e=window.event;return e&&e!==Xu?e.timeStamp:-1.1}function ZC(e){setTimeout(function(){throw e})}function PC(e,t,n){switch(t){case"button":case"input":case"select":case"textarea":n.autoFocus&&e.focus();break;case"img":n.src?e.src=n.src:n.srcSet&&(e.srcset=n.srcSet)}}function FC(){}function WC(e,t,n,a){GC(e,t,n,a),e[Vn]=a}function bE(e){Sc(e,"")}function eR(e,t,n){e.nodeValue=n}function vE(e){if(!e.__reactWarnedAboutChildrenConflict){var t=e[Vn]||null;if(t!==null){var n=Eo(e);n!==null&&(typeof t.children==="string"||typeof t.children==="number"?(e.__reactWarnedAboutChildrenConflict=!0,oe(n,function(){console.error('Cannot use a ref on a React element as a container to `createRoot` or `createPortal` if that element also sets "children" text content using React. It should be a leaf with no children. Otherwise it\'s ambiguous which children should be used.')})):t.dangerouslySetInnerHTML!=null&&(e.__reactWarnedAboutChildrenConflict=!0,oe(n,function(){console.error('Cannot use a ref on a React element as a container to `createRoot` or `createPortal` if that element also sets "dangerouslySetInnerHTML" using React. It should be a leaf with no children. Otherwise it\'s ambiguous which children should be used.')})))}}}function oi(e){return e==="head"}function tR(e,t){e.removeChild(t)}function nR(e,t){(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e).removeChild(t)}function SE(e,t){var n=t,a=0;do{var o=n.nextSibling;if(e.removeChild(n),o&&o.nodeType===8)if(n=o.data,n===Qu||n===Bp){if(a===0){e.removeChild(o),ur(t);return}a--}else if(n===Gu||n===Ci||n===As||n===Jr||n===Os)a++;else if(n===xN)ty(e.ownerDocument.documentElement);else if(n===UN){n=e.ownerDocument.head,ty(n);for(var i=n.firstChild;i;){var u=i.nextSibling,d=i.nodeName;i[nu]||d==="SCRIPT"||d==="STYLE"||d==="LINK"&&i.rel.toLowerCase()==="stylesheet"||n.removeChild(i),i=u}}else n===zN&&ty(e.ownerDocument.body);n=o}while(n);ur(t)}function EE(e,t){var n=e;e=0;do{var a=n.nextSibling;if(n.nodeType===1?t?(n._stashedDisplay=n.style.display,n.style.display="none"):(n.style.display=n._stashedDisplay||"",n.getAttribute("style")===""&&n.removeAttribute("style")):n.nodeType===3&&(t?(n._stashedText=n.nodeValue,n.nodeValue=""):n.nodeValue=n._stashedText||""),a&&a.nodeType===8)if(n=a.data,n===Qu)if(e===0)break;else e--;else n!==Gu&&n!==Ci&&n!==As&&n!==Jr||e++;n=a}while(n)}function aR(e){EE(e,!0)}function oR(e){e=e.style,typeof e.setProperty==="function"?e.setProperty("display","none","important"):e.display="none"}function lR(e){e.nodeValue=""}function iR(e){EE(e,!1)}function sR(e,t){t=t[AO],t=t!==void 0&&t!==null&&t.hasOwnProperty("display")?t.display:null,e.style.display=t==null||typeof t==="boolean"?"":(""+t).trim()}function rR(e,t){e.nodeValue=t}function cR(e){for(var t=e.firstChild;t!=null;){if(t.nodeType===1&&getComputedStyle(t).display==="block"){var n=Eo(t)||Eo(e);oe(n,function(a,o){console.error(`You're about to start a <ViewTransition> around a display: inline element <%s>, which itself has a display: block element <%s> inside it. This might trigger a bug in Safari which causes the View Transition to be skipped with a duplicate name error.
|
|
179
|
+
https://bugs.webkit.org/show_bug.cgi?id=290923`,a.toLocaleLowerCase(),o.toLocaleLowerCase())},e.tagName,t.tagName);break}if(t.firstChild!=null)t=t.firstChild;else{if(t===e)break;for(;t.nextSibling==null&&t.parentNode!=null&&t.parentNode!==e;)t=t.parentNode;t=t.nextSibling}}}function TE(e,t,n){if(t=CSS.escape(t)!==t?"r-"+btoa(t).replace(/=/g,""):t,e.style.viewTransitionName=t,n!=null&&(e.style.viewTransitionClass=n),n=getComputedStyle(e),n.display==="inline"){if(t=e.getClientRects(),t.length===1)var a=1;else for(var o=a=0;o<t.length;o++){var i=t[o];0<i.width&&0<i.height&&a++}a===1?(e=e.style,e.display=t.length===1?"inline-block":"block",e.marginTop="-"+n.paddingTop,e.marginBottom="-"+n.paddingBottom):cR(e)}}function wE(e,t){e=e.style,t=t[AO];var n=t!=null?t.hasOwnProperty("viewTransitionName")?t.viewTransitionName:t.hasOwnProperty("view-transition-name")?t["view-transition-name"]:null:null;e.viewTransitionName=n==null||typeof n==="boolean"?"":(""+n).trim(),n=t!=null?t.hasOwnProperty("viewTransitionClass")?t.viewTransitionClass:t.hasOwnProperty("view-transition-class")?t["view-transition-class"]:null:null,e.viewTransitionClass=n==null||typeof n==="boolean"?"":(""+n).trim(),e.display==="inline-block"&&(t==null?e.display=e.margin="":(n=t.display,e.display=n==null||typeof n==="boolean"?"":n,n=t.margin,n!=null?e.margin=n:(n=t.hasOwnProperty("marginTop")?t.marginTop:t["margin-top"],e.marginTop=n==null||typeof n==="boolean"?"":n,t=t.hasOwnProperty("marginBottom")?t.marginBottom:t["margin-bottom"],e.marginBottom=t==null||typeof t==="boolean"?"":t)))}function OE(e,t,n){return n=n.ownerDocument.defaultView,{rect:e,abs:t.position==="absolute"||t.position==="fixed",clip:t.clipPath!=="none"||t.overflow!=="visible"||t.filter!=="none"||t.mask!=="none"||t.mask!=="none"||t.borderRadius!=="0px",view:0<=e.bottom&&0<=e.right&&e.top<=n.innerHeight&&e.left<=n.innerWidth}}function Kg(e){var t=e.getBoundingClientRect(),n=getComputedStyle(e);return OE(t,n,e)}function uR(e){var t=e.getBoundingClientRect();t=new DOMRect(t.x+20000,t.y+20000,t.width,t.height);var n=getComputedStyle(e);return OE(t,n,e)}function fR(e,t){if(typeof e==="object"&&e!==null)switch(e.name){case"TimeoutError":return Error("A ViewTransition timed out because a Navigation stalled. This can happen if a Navigation is blocked on React itself. Such as if it's resolved inside useEffect. This can be solved by moving the resolution to useLayoutEffect.",{cause:e});case"AbortError":return t?null:Error("A ViewTransition was aborted early. This might be because you have other View Transition libraries on the page and only one can run at a time. To avoid this, use only React's built-in <ViewTransition> to coordinate.",{cause:e});case"InvalidStateError":if(e.message==="View transition was skipped because document visibility state is hidden."||e.message==="Skipping view transition because document visibility state has become hidden."||e.message==="Skipping view transition because viewport size changed."||e.message==="Transition was aborted because of invalid state")return null}return e}function dR(e){return e.documentElement.clientHeight}function pR(e){this.addEventListener("load",e),this.addEventListener("error",e)}function hR(e,t,n,a,o,i,u,d,h,y,O){var M=t.nodeType===9?t:t.ownerDocument;try{var D=M.startViewTransition({update:function(){var X=M.defaultView,re=X.navigation&&X.navigation.transition,pe=M.fonts.status;a();var Le=[];if(pe==="loaded"&&(dR(M),M.fonts.status==="loading"&&Le.push(M.fonts.ready)),pe=Le.length,e!==null)for(var _=e.suspenseyImages,N=0,x=0;x<_.length;x++){var I=_[x];if(!I.complete){var F=I.getBoundingClientRect();if(0<F.bottom&&0<F.right&&F.top<X.innerHeight&&F.left<X.innerWidth){if(N+=GE(I),N>jp){Le.length=pe;break}I=new Promise(pR.bind(I)),Le.push(I)}}}if(0<Le.length)return y(0<pe?Le.length>pe?"Waiting on Fonts and Images":"Waiting on Fonts":"Waiting on Images"),X=Promise.race([Promise.all(Le),new Promise(function(we){return setTimeout(we,LN)})]).then(o,o),(re?Promise.allSettled([re.finished,X]):X).then(i,i);if(o(),re)return re.finished.then(i,i);i()},types:n});M.__reactViewTransition=D;var U=[];return D.ready.then(function(){for(var X=M.documentElement.getAnimations({subtree:!0}),re=0;re<X.length;re++){var pe=X[re],Le=pe.effect,_=Le.pseudoElement;if(_!=null&&_.startsWith("::view-transition")){U.push(pe),pe=Le.getKeyframes();for(var N=_=void 0,x=!0,I=0;I<pe.length;I++){var F=pe[I],we=F.width;if(_===void 0)_=we;else if(_!==we){x=!1;break}if(we=F.height,N===void 0)N=we;else if(N!==we){x=!1;break}delete F.width,delete F.height,F.transform==="none"&&delete F.transform}x&&_!==void 0&&N!==void 0&&(Le.setKeyframes(pe),x=getComputedStyle(Le.target,Le.pseudoElement),x.width!==_||x.height!==N)&&(x=pe[0],x.width=_,x.height=N,x=pe[pe.length-1],x.width=_,x.height=N,Le.setKeyframes(pe))}}u()},function(X){M.__reactViewTransition===D&&(M.__reactViewTransition=null);try{X=fR(X,!1),X!==null&&h(X)}finally{a(),o(),u(),O()}}),D.finished.finally(function(){for(var X=0;X<U.length;X++)U[X].cancel();M.__reactViewTransition===D&&(M.__reactViewTransition=null),O(),d()}),D}catch(X){return a(),o(),O(),u(),null}}function as(e,t){this._scope=document.documentElement,this._selector="::view-transition-"+e+"("+t+")"}function AE(e){return{name:e,group:new as("group",e),imagePair:new as("image-pair",e),old:new as("old",e),new:new as("new",e)}}function va(e){this._fragmentFiber=e,this._observers=this._eventListeners=null}function mR(e,t,n,a){return ot(e).addEventListener(t,n,a),!1}function gR(e,t,n,a){return ot(e).removeEventListener(t,n,a),!1}function sr(e){return e!=null&&typeof e!=="boolean"&&(e.once===!0||e.signal instanceof AbortSignal)?{capture:e.capture,passive:e.passive}:e}function CE(e){return e==null?"c=0":typeof e==="boolean"?"c="+(e?"1":"0"):"c="+(e.capture?"1":"0")}function RE(e,t,n,a){if(e.length===0)return-1;a=CE(a);for(var o=0;o<e.length;o++){var i=e[o];if(i.type===t&&i.listener===n&&CE(i.optionsOrUseCapture)===a)return o}return-1}function _E(e,t){if(e.tag===6)return!1;return e=ot(e),MR(e,t)}function Zg(e,t){return t.push(e),!1}function yR(e,t){if(e.tag===6)return!1;return e=ot(e),e===t||e.contains(t)?(t.blur(),!0):!1}function bR(e,t){if(e.tag===6)return!1;return e=ot(e),t.observe(e),!1}function vR(e,t){if(e.tag===6)return!1;return e=ot(e),t.unobserve(e),!1}function SR(e,t,n){ro.push({fragmentInstance:e,observer:t,instance:n}),q0||(q0=!0,xR(function(){q0=!1;var a=ro;ro=[];for(var o=0;o<a.length;o++){var i=a[o];i.observer.unobserve(i.instance)}}))}function ER(e,t){if(e.tag===6){e=e.stateNode;var n=e.ownerDocument.createRange();n.selectNodeContents(e),t.push.apply(t,n.getClientRects())}else e=ot(e),t.push.apply(t,e.getClientRects());return!1}function TR(e,t,n,a,o){var i=$i(o);if(e&Node.DOCUMENT_POSITION_CONTAINED_BY){if(n=!!i)e:{for(;i!==null;){if(i.tag===7&&(i===t||i.alternate===t)){n=!0;break e}i=i.return}n=!1}return n}if(e&Node.DOCUMENT_POSITION_CONTAINS){if(i===null)return i=o.ownerDocument,o===i||o===i.documentElement||o===i.body;e:{i=t;for(t=Me(t);i!==null;){if(!(i.tag!==5&&i.tag!==3&&i.tag!==27||i!==t&&i.alternate!==t)){i=!0;break e}i=i.return}i=!1}return i}return e&Node.DOCUMENT_POSITION_PRECEDING?((t=!!i)&&!(t=i===n)&&(t=Ae(n,i,Oe),t===null?t=!1:(W(t,!0,Fn,i,n),i=fr,fr=null,t=i!==null)),t):e&Node.DOCUMENT_POSITION_FOLLOWING?((t=!!i)&&!(t=i===a)&&(t=Ae(a,i,Oe),t===null?t=!1:(W(t,!0,le,i,a),i=fr,fy=fr=null,t=i!==null)),t):!1}function NE(e,t){var n=e.ownerDocument.createRange();n.selectNodeContents(e),e=n.getBoundingClientRect(),window.scrollTo(window.scrollX+e.left,t?window.scrollY+e.top:window.scrollY+e.bottom-window.innerHeight)}function wR(e,t){return e=ot(e),DE(e,t),!1}function DE(e,t){e.reactFragments==null&&(e.reactFragments=new Set),e.reactFragments.add(t)}function ME(e,t){var n=t._eventListeners;if(n!==null)for(var a=0;a<n.length;a++){var o=n[a];e.addEventListener(o.type,o.attachedListener,sr(o.optionsOrUseCapture))}e.nodeType!==3&&(n=t._observers,n!==null&&n.forEach(function(i){for(var u=0,d=0;d<ro.length;d++){var h=ro[d];if(h.fragmentInstance!==t||h.observer!==i||h.instance!==e)ro[u++]=h}ro.length=u,i.observe(e)}),DE(e,t))}function OR(e,t){var n=t._eventListeners;if(n!==null)for(var a=0;a<n.length;a++){var o=n[a];e.removeEventListener(o.type,o.attachedListener,sr(o.optionsOrUseCapture))}e.nodeType!==3&&(n=t._observers,n!==null&&n.forEach(function(i){typeof i.rootMargin==="string"?SR(t,i,e):i.unobserve(e)}),e.reactFragments!=null&&e.reactFragments.delete(t))}function Pg(e){var t=e.firstChild;t&&t.nodeType===10&&(t=t.nextSibling);for(;t;){var n=t;switch(t=t.nextSibling,n.nodeName){case"HTML":case"HEAD":case"BODY":Pg(n),js(n);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(n.rel.toLowerCase()==="stylesheet")continue}e.removeChild(n)}}function AR(e,t,n,a){for(;e.nodeType===1;){var o=n;if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!a&&(e.nodeName!=="INPUT"||e.type!=="hidden"))break}else if(!a)if(t==="input"&&e.type==="hidden"){bt(o.name,"name");var i=o.name==null?null:""+o.name;if(o.type==="hidden"&&e.getAttribute("name")===i)return e}else return e;else if(!e[nu])switch(t){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if(i=e.getAttribute("rel"),i==="stylesheet"&&e.hasAttribute("data-precedence"))break;else if(i!==o.rel||e.getAttribute("href")!==(o.href==null||o.href===""?null:o.href)||e.getAttribute("crossorigin")!==(o.crossOrigin==null?null:o.crossOrigin)||e.getAttribute("title")!==(o.title==null?null:o.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(i=e.getAttribute("src"),(i!==(o.src==null?null:o.src)||e.getAttribute("type")!==(o.type==null?null:o.type)||e.getAttribute("crossorigin")!==(o.crossOrigin==null?null:o.crossOrigin))&&i&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}if(e=Sa(e.nextSibling),e===null)break}return null}function CR(e,t,n){if(t==="")return null;for(;e.nodeType!==3;){if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!n)return null;if(e=Sa(e.nextSibling),e===null)return null}return e}function xE(e,t){for(;e.nodeType!==8;){if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!t)return null;if(e=Sa(e.nextSibling),e===null)return null}return e}function Fg(e){return e.data===Ci||e.data===As}function Wg(e){return e.data===Jr||e.data===Ci&&e.ownerDocument.readyState!==OO}function RR(e,t){var n=e.ownerDocument;if(e.data===As)e._reactRetry=t;else if(e.data!==Ci||n.readyState!==OO)t();else{var a=function(){t(),n.removeEventListener("DOMContentLoaded",a)};n.addEventListener("DOMContentLoaded",a),e._reactRetry=a}}function Sa(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t===Gu||t===Jr||t===Ci||t===As||t===Os||t===L0||t===wO)break;if(t===Qu||t===Bp)return null}}return e}function zE(e){if(e.nodeType===1){for(var t=e.nodeName.toLowerCase(),n={},a=e.attributes,o=0;o<a.length;o++){var i=a[o];n[cE(i.name)]=i.name.toLowerCase()==="style"?Gg(e):i.value}return{type:t,props:n}}return e.nodeType===8?e.data===Os?{type:"Activity",props:{}}:{type:"Suspense",props:{}}:e.nodeValue}function UE(e,t,n){return n===null||n[MN]!==!0?(e.nodeValue===t?e=null:(t=ai(t),e=ai(e.nodeValue)===t?null:e.nodeValue),e):null}function ey(e){e=e.nextSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n===Qu||n===Bp){if(t===0)return Sa(e.nextSibling);t--}else n!==Gu&&n!==Jr&&n!==Ci&&n!==As&&n!==Os||t++}e=e.nextSibling}return null}function kE(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n===Gu||n===Jr||n===Ci||n===As||n===Os){if(t===0)return e;t--}else n!==Qu&&n!==Bp||t++}e=e.previousSibling}return null}function _R(e){ur(e)}function NR(e){ur(e)}function DR(e){ur(e)}function MR(e,t){function n(){a=!0}if(e.ownerDocument.activeElement===e)return!0;var a=!1;try{e.ownerDocument.addEventListener("focus",n,!0),(e.focus||HTMLElement.prototype.focus).call(e,t)}finally{e.ownerDocument.removeEventListener("focus",n,!0)}return a}function xR(e){NO(function(){NO(function(t){return e(t)})})}function BE(e,t,n,a,o){switch(o&&Zh(e,a.ancestorInfo),t=Qc(n),e){case"html":if(e=t.documentElement,!e)throw Error("React expected an <html> element (document.documentElement) to exist in the Document but one was not found. React never removes the documentElement for any Document it renders into so the cause is likely in some other script running on this page.");return e;case"head":if(e=t.head,!e)throw Error("React expected a <head> element (document.head) to exist in the Document but one was not found. React never removes the head for any Document it renders into so the cause is likely in some other script running on this page.");return e;case"body":if(e=t.body,!e)throw Error("React expected a <body> element (document.body) to exist in the Document but one was not found. React never removes the body for any Document it renders into so the cause is likely in some other script running on this page.");return e;default:throw Error("resolveSingletonInstance was called with an element type that is not supported. This is a bug in React.")}}function zR(e,t,n,a){if(!n[si]&&Eo(n)){var o=n.tagName.toLowerCase();console.error("You are mounting a new %s component when a previous one has not first unmounted. It is an error to render more than one %s component at a time and attributes and children of these components will likely fail in unpredictable ways. Please only render a single instance of <%s> and if you need to mount a new one, ensure any previous ones have unmounted first.",o,o,o)}switch(e){case"html":case"head":case"body":break;default:console.error("acquireSingletonInstance was called with an element type that is not supported. This is a bug in React.")}for(o=n.attributes;o.length;)n.removeAttributeNode(o[0]);yn(n,e,t),n[bn]=a,n[Vn]=t}function LE(e,t,n){for(var a in n){var o=n[a];n.hasOwnProperty(a)&&o!=null&>(e,t,a,null,NN,o)}n.dangerouslySetInnerHTML!=null&&(e.textContent=""),e.onclick===To&&(e.onclick=null),js(e)}function ty(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);js(e)}function Kc(e){if(typeof e.getRootNode==="function"){var t=e.getRootNode();if(t.nodeType===9||t.nodeType===11)return t}return e.nodeType===9?e:e.ownerDocument}function HE(e,t,n){var a=Zr;if(a&&typeof t==="string"&&t){var o=Ma(t);o='link[rel="'+e+'"][href="'+o+'"]',typeof n==="string"&&(o+='[crossorigin="'+n+'"]'),xO.has(o)||(xO.add(o),e={rel:e,crossOrigin:n,href:t},a.querySelector(o)===null&&(t=a.createElement("link"),yn(t,"link",e),on(t),a.head.appendChild(t)))}}function jE(e,t,n,a){var o=(o=ii.current)?Kc(o):null;if(!o)throw Error('"resourceRoot" was expected to exist. This is a bug in React.');switch(e){case"meta":case"title":return null;case"style":return typeof n.precedence==="string"&&typeof n.href==="string"?(n=rr(n.href),t=$s(o).hoistableStyles,a=t.get(n),a||(a={type:"style",instance:null,count:0,state:null},t.set(n,a)),a):{type:"void",instance:null,count:0,state:null};case"link":if(n.rel==="stylesheet"&&typeof n.href==="string"&&typeof n.precedence==="string"){e=rr(n.href);var i=$s(o).hoistableStyles,u=i.get(e);if(u||(o=o.ownerDocument||o,u={type:"stylesheet",instance:null,count:0,state:{loading:Rs,preload:null}},i.set(e,u),(i=o.querySelector(Zc(e)))?i._p||(u.instance=i,u.state.loading=Ju|Ya):(i=Ga.get(e),i||(i={rel:"preload",as:"style",href:n.href,crossOrigin:n.crossOrigin,integrity:n.integrity,media:n.media,hrefLang:n.hrefLang,referrerPolicy:n.referrerPolicy},Ga.set(e,i)),UR(o,e,i,u.state))),t&&a===null)throw n=`
|
|
180
180
|
|
|
181
181
|
- `+Ad(t)+`
|
|
182
182
|
+ `+Ad(n),Error("Expected <link> not to update to be updated to a stylesheet with precedence. Check the `rel`, `href`, and `precedence` props of this component. Alternatively, check whether two different <link> components render in the same slot or share the same key."+n);return u}if(t&&a!==null)throw n=`
|
|
183
183
|
|
|
184
184
|
- `+Ad(t)+`
|
|
185
|
-
+ `+Ad(n),Error("Expected stylesheet with precedence to not be updated to a different kind of <link>. Check the `rel`, `href`, and `precedence` props of this component. Alternatively, check whether two different <link> components render in the same slot or share the same key."+n);return null;case"script":return t=n.async,n=n.src,typeof n==="string"&&t&&typeof t!=="function"&&typeof t!=="symbol"?(n=cr(n),t=$s(o).hoistableScripts,a=t.get(n),a||(a={type:"script",instance:null,count:0,state:null},t.set(n,a)),a):{type:"void",instance:null,count:0,state:null};default:throw Error('getResource encountered a type it did not expect: "'+e+'". this is a bug in React.')}}function Ad(e){var t=0,n="<link";return typeof e.rel==="string"?(t++,n+=' rel="'+e.rel+'"'):Ba.call(e,"rel")&&(t++,n+=' rel="'+(e.rel===null?"null":"invalid type "+typeof e.rel)+'"'),typeof e.href==="string"?(t++,n+=' href="'+e.href+'"'):Ba.call(e,"href")&&(t++,n+=' href="'+(e.href===null?"null":"invalid type "+typeof e.href)+'"'),typeof e.precedence==="string"?(t++,n+=' precedence="'+e.precedence+'"'):Ba.call(e,"precedence")&&(t++,n+=" precedence={"+(e.precedence===null?"null":"invalid type "+typeof e.precedence)+"}"),Object.getOwnPropertyNames(e).length>t&&(n+=" ..."),n+" />"}function rr(e){return'href="'+Ma(e)+'"'}function Zc(e){return'link[rel="stylesheet"]['+e+"]"}function $E(e){return He({},e,{"data-precedence":e.precedence,precedence:null})}function UR(e,t,n,a){if(t=e.querySelector('link[rel="preload"][as="style"]['+t+"]")){if(t[jd]!==!0){a.loading=Ju;return}}else t=e.createElement("link"),t[jd]=!0,t.onload=t.onerror=Ub.bind(null,t),yn(t,"link",n),on(t),e.head.appendChild(t);a.preload=t,t.addEventListener("load",function(){return a.loading|=Ju}),t.addEventListener("error",function(){return a.loading|=DO})}function cr(e){return'[src="'+Ma(e)+'"]'}function Pc(e){return"script[async]"+e}function IE(e,t,n){if(t.count++,t.instance===null)switch(t.type){case"style":var a=e.querySelector('style[data-href~="'+Ma(n.href)+'"]');if(a)return t.instance=a,on(a),a;var o=He({},n,{"data-href":n.href,"data-precedence":n.precedence,href:null,precedence:null});return a=(e.ownerDocument||e).createElement("style"),on(a),yn(a,"style",o),Cd(a,n.precedence,e),t.instance=a;case"stylesheet":o=rr(n.href);var i=e.querySelector(Zc(o));if(i)return t.state.loading|=Ya,t.instance=i,on(i),i;a=$E(n),(o=Ga.get(o))&&ny(a,o),i=(e.ownerDocument||e).createElement("link"),on(i);var u=i;return u._p=new Promise(function(d,h){u.onload=d,u.onerror=h}),yn(i,"link",a),t.state.loading|=Ya,Cd(i,n.precedence,e),t.instance=i;case"script":if(i=cr(n.src),o=e.querySelector(Pc(i)))return t.instance=o,on(o),o;if(a=n,o=Ga.get(i))a=He({},n),ay(a,o);return e=e.ownerDocument||e,o=e.createElement("script"),on(o),yn(o,"link",a),e.head.appendChild(o),t.instance=o;case"void":return null;default:throw Error('acquireResource encountered a resource type it did not expect: "'+t.type+'". this is a bug in React.')}else t.type==="stylesheet"&&(t.state.loading&Ya)===Rs&&(a=t.instance,t.state.loading|=Ya,Cd(a,n.precedence,e));return t.instance}function Cd(e,t,n){for(var a=n.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),o=a.length?a[a.length-1]:null,i=o,u=0;u<a.length;u++){var d=a[u];if(d.dataset.precedence===t)i=d;else if(i!==o)break}i?i.parentNode.insertBefore(e,i.nextSibling):(t=n.nodeType===9?n.head:n,t.insertBefore(e,t.firstChild))}function ny(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.title==null&&(e.title=t.title)}function ay(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.integrity==null&&(e.integrity=t.integrity)}function qE(e,t,n){if(Hp===null){var a=new Map,o=Hp=new Map;o.set(n,a)}else o=Hp,a=o.get(n),a||(a=new Map,o.set(n,a));if(a.has(e))return a;a.set(e,null),n=n.getElementsByTagName(e);for(o=0;o<n.length;o++){var i=n[o];if(!(i[nu]||i[bn]||e==="link"&&i.getAttribute("rel")==="stylesheet")&&i.namespaceURI!==yr){var u=i.getAttribute(t)||"";u=e+u;var d=a.get(u);d?d.push(i):a.set(u,[i])}}return a}function oy(e,t,n){e=e.ownerDocument||e,e.head.insertBefore(n,t==="title"?e.querySelector("head > title"):null)}function BR(e,t,n){var a=!n.ancestorInfo.containerTagInScope;if(n.context===Kr||t.itemProp!=null)return!a||t.itemProp==null||e!=="meta"&&e!=="title"&&e!=="style"&&e!=="link"&&e!=="script"||console.error("Cannot render a <%s> outside the main document if it has an `itemProp` prop. `itemProp` suggests the tag belongs to an `itemScope` which can appear anywhere in the DOM. If you were intending for React to hoist this <%s> remove the `itemProp` prop. Otherwise, try moving this tag into the <head> or <body> of the Document.",e,e),!1;switch(e){case"meta":case"title":return!0;case"style":if(typeof t.precedence!=="string"||typeof t.href!=="string"||t.href===""){a&&console.error('Cannot render a <style> outside the main document without knowing its precedence and a unique href key. React can hoist and deduplicate <style> tags if you provide a `precedence` prop along with an `href` prop that does not conflict with the `href` values used in any other hoisted <style> or <link rel="stylesheet" ...> tags. Note that hoisting <style> tags is considered an advanced feature that most will not use directly. Consider moving the <style> tag to the <head> or consider adding a `precedence="default"` and `href="some unique resource identifier"`.');break}return!0;case"link":if(typeof t.rel!=="string"||typeof t.href!=="string"||t.href===""||t.onLoad||t.onError){if(t.rel==="stylesheet"&&typeof t.precedence==="string"){e=t.href;var o=t.onError,i=t.disabled;n=[],t.onLoad&&n.push("`onLoad`"),o&&n.push("`onError`"),i!=null&&n.push("`disabled`"),o=QC(n,"and"),o+=n.length===1?" prop":" props",i=n.length===1?"an "+o:"the "+o,n.length&&console.error('React encountered a <link rel="stylesheet" href="%s" ... /> with a `precedence` prop that also included %s. The presence of loading and error handlers indicates an intent to manage the stylesheet loading state from your from your Component code and React will not hoist or deduplicate this stylesheet. If your intent was to have React hoist and deduplciate this stylesheet using the `precedence` prop remove the %s, otherwise remove the `precedence` prop.',e,i,o)}a&&(typeof t.rel!=="string"||typeof t.href!=="string"||t.href===""?console.error("Cannot render a <link> outside the main document without a `rel` and `href` prop. Try adding a `rel` and/or `href` prop to this <link> or moving the link into the <head> tag"):(t.onError||t.onLoad)&&console.error("Cannot render a <link> with onLoad or onError listeners outside the main document. Try removing onLoad={...} and onError={...} or moving it into the root <head> tag or somewhere in the <body>."));break}switch(t.rel){case"stylesheet":return e=t.precedence,t=t.disabled,typeof e!=="string"&&a&&console.error('Cannot render a <link rel="stylesheet" /> outside the main document without knowing its precedence. Consider adding precedence="default" or moving it into the root <head> tag.'),typeof e==="string"&&t==null;default:return!0}case"script":if(e=t.async&&typeof t.async!=="function"&&typeof t.async!=="symbol",!e||t.onLoad||t.onError||!t.src||typeof t.src!=="string"){a&&(e?t.onLoad||t.onError?console.error("Cannot render a <script> with onLoad or onError listeners outside the main document. Try removing onLoad={...} and onError={...} or moving it into the root <head> tag or somewhere in the <body>."):console.error("Cannot render a <script> outside the main document without `async={true}` and a non-empty `src` prop. Ensure there is a valid `src` and either make the script async or move it into the root <head> tag or somewhere in the <body>."):console.error('Cannot render a sync or defer <script> outside the main document without knowing its order. Try adding async="" or moving it into the root <head> tag.'));break}return!0;case"noscript":case"template":a&&console.error("Cannot render <%s> outside the main document. Try moving it into the root <head> tag.",e)}return!1}function VE(e,t){return e==="img"&&t.src!=null&&t.src!==""&&t.onLoad==null&&t.loading!=="lazy"}function YE(e){return e.type==="stylesheet"&&(e.state.loading&MO)===Rs?!1:!0}function GE(e){return(e.width||100)*(e.height||100)*(typeof devicePixelRatio==="number"?devicePixelRatio:1)*0.25}function QE(e,t){typeof t.decode==="function"&&(e.imgCount++,t.complete||(e.imgBytes+=GE(t),e.suspenseyImages.push(t)),e=HR.bind(e),t.decode().then(e,e))}function kR(e,t,n,a){if(n.type==="stylesheet"&&(typeof a.media!=="string"||matchMedia(a.media).matches!==!1)&&(n.state.loading&Ya)===Rs){if(n.instance===null){var o=rr(a.href),i=t.querySelector(Zc(o));if(i){t=i._p,t!==null&&typeof t==="object"&&typeof t.then==="function"&&(e.count++,e=Fc.bind(e),t.then(e,e)),n.state.loading|=Ya,n.instance=i,on(i);return}i=t.ownerDocument||t,a=$E(a),(o=Ga.get(o))&&ny(a,o),i=i.createElement("link"),on(i);var u=i;u._p=new Promise(function(d,h){u.onload=d,u.onerror=h}),yn(i,"link",a),n.instance=i}e.stylesheets===null&&(e.stylesheets=new Map),e.stylesheets.set(n,t),(t=n.state.preload)&&(n.state.loading&MO)===Rs&&(e.count++,n=Fc.bind(e),t.addEventListener("load",n),t.addEventListener("error",n))}}function LR(e,t){return e.stylesheets&&e.count===0&&Rd(e,e.stylesheets),0<e.count||0<e.imgCount?function(n){var a=setTimeout(function(){if(e.stylesheets&&Rd(e,e.stylesheets),e.unsuspend){var i=e.unsuspend;e.unsuspend=null,i()}},HN+t);0<e.imgBytes&&jp===0&&(jp=125*XC()*$N);var o=setTimeout(function(){if(e.waitingForImages=!1,e.count===0&&(e.stylesheets&&Rd(e,e.stylesheets),e.unsuspend)){var i=e.unsuspend;e.unsuspend=null,i()}},(e.imgBytes>jp?50:jN)+t);return e.unsuspend=n,function(){e.unsuspend=null,clearTimeout(a),clearTimeout(o)}}:null}function XE(e){if(e.count===0&&(e.imgCount===0||!e.waitingForImages)){if(e.stylesheets)Rd(e,e.stylesheets);else if(e.unsuspend){var t=e.unsuspend;e.unsuspend=null,t()}}}function Fc(){this.count--,XE(this)}function HR(){this.imgCount--,XE(this)}function Rd(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,$p=new Map,t.forEach(jR,e),$p=null,Fc.call(e))}function jR(e,t){if(!(t.state.loading&Ya)){var n=$p.get(e);if(n)var a=n.get(Y0);else{n=new Map,$p.set(e,n);for(var o=e.querySelectorAll("link[data-precedence],style[data-precedence]"),i=0;i<o.length;i++){var u=o[i];if(u.nodeName==="LINK"||u.getAttribute("media")!=="not all")n.set(u.dataset.precedence,u),a=u}a&&n.set(Y0,a)}o=t.instance,u=o.getAttribute("data-precedence"),i=n.get(u)||a,i===a&&n.set(Y0,o),n.set(u,o),this.count++,a=Fc.bind(this),o.addEventListener("load",a),o.addEventListener("error",a),i?i.parentNode.insertBefore(o,i.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(o,e.firstChild)),t.state.loading|=Ya}}function $R(e,t,n,a,o,i,u,d,h){this.tag=1,this.containerInfo=e,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=Cs,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=b(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=b(0),this.hiddenUpdates=b(null),this.identifierPrefix=a,this.onUncaughtError=o,this.onCaughtError=i,this.onRecoverableError=u,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=h,this.transitionTypes=null,this.incompleteTransitions=new Map,this.passiveEffectDuration=this.effectDuration=-0,this.memoizedUpdaters=new Set,e=this.pendingUpdatersLaneMap=[];for(t=0;31>t;t++)e.push(new Set);this._debugRootType=n?"hydrateRoot()":"createRoot()"}function JE(e,t,n,a,o,i,u,d,h,y,O,M){return e=new $R(e,t,n,u,h,y,O,M,d),t=uN,i===!0&&(t|=Nn|to),t|=je,i=T(3,null,null,t),e.current=i,i.stateNode=e,t=pm(),Zi(t),e.pooledCache=t,Zi(t),i.memoizedState={element:a,isDehydrated:n,cache:t},bm(i),e}function KE(e){if(!e)return di;return e=di,e}function ly(e,t,n,a,o,i){if(_n&&typeof _n.onScheduleFiberRoot==="function")try{_n.onScheduleFiberRoot(mr,a,n)}catch(u){jo||(jo=!0,console.error("React instrumentation encountered an error: %o",u))}o=KE(o),a.context===null?a.context=o:a.pendingContext=o,Ho&&Ea!==null&&!kO&&(kO=!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.
|
|
185
|
+
+ `+Ad(n),Error("Expected stylesheet with precedence to not be updated to a different kind of <link>. Check the `rel`, `href`, and `precedence` props of this component. Alternatively, check whether two different <link> components render in the same slot or share the same key."+n);return null;case"script":return t=n.async,n=n.src,typeof n==="string"&&t&&typeof t!=="function"&&typeof t!=="symbol"?(n=cr(n),t=$s(o).hoistableScripts,a=t.get(n),a||(a={type:"script",instance:null,count:0,state:null},t.set(n,a)),a):{type:"void",instance:null,count:0,state:null};default:throw Error('getResource encountered a type it did not expect: "'+e+'". this is a bug in React.')}}function Ad(e){var t=0,n="<link";return typeof e.rel==="string"?(t++,n+=' rel="'+e.rel+'"'):ka.call(e,"rel")&&(t++,n+=' rel="'+(e.rel===null?"null":"invalid type "+typeof e.rel)+'"'),typeof e.href==="string"?(t++,n+=' href="'+e.href+'"'):ka.call(e,"href")&&(t++,n+=' href="'+(e.href===null?"null":"invalid type "+typeof e.href)+'"'),typeof e.precedence==="string"?(t++,n+=' precedence="'+e.precedence+'"'):ka.call(e,"precedence")&&(t++,n+=" precedence={"+(e.precedence===null?"null":"invalid type "+typeof e.precedence)+"}"),Object.getOwnPropertyNames(e).length>t&&(n+=" ..."),n+" />"}function rr(e){return'href="'+Ma(e)+'"'}function Zc(e){return'link[rel="stylesheet"]['+e+"]"}function $E(e){return He({},e,{"data-precedence":e.precedence,precedence:null})}function UR(e,t,n,a){if(t=e.querySelector('link[rel="preload"][as="style"]['+t+"]")){if(t[jd]!==!0){a.loading=Ju;return}}else t=e.createElement("link"),t[jd]=!0,t.onload=t.onerror=Ub.bind(null,t),yn(t,"link",n),on(t),e.head.appendChild(t);a.preload=t,t.addEventListener("load",function(){return a.loading|=Ju}),t.addEventListener("error",function(){return a.loading|=DO})}function cr(e){return'[src="'+Ma(e)+'"]'}function Pc(e){return"script[async]"+e}function IE(e,t,n){if(t.count++,t.instance===null)switch(t.type){case"style":var a=e.querySelector('style[data-href~="'+Ma(n.href)+'"]');if(a)return t.instance=a,on(a),a;var o=He({},n,{"data-href":n.href,"data-precedence":n.precedence,href:null,precedence:null});return a=(e.ownerDocument||e).createElement("style"),on(a),yn(a,"style",o),Cd(a,n.precedence,e),t.instance=a;case"stylesheet":o=rr(n.href);var i=e.querySelector(Zc(o));if(i)return t.state.loading|=Ya,t.instance=i,on(i),i;a=$E(n),(o=Ga.get(o))&&ny(a,o),i=(e.ownerDocument||e).createElement("link"),on(i);var u=i;return u._p=new Promise(function(d,h){u.onload=d,u.onerror=h}),yn(i,"link",a),t.state.loading|=Ya,Cd(i,n.precedence,e),t.instance=i;case"script":if(i=cr(n.src),o=e.querySelector(Pc(i)))return t.instance=o,on(o),o;if(a=n,o=Ga.get(i))a=He({},n),ay(a,o);return e=e.ownerDocument||e,o=e.createElement("script"),on(o),yn(o,"link",a),e.head.appendChild(o),t.instance=o;case"void":return null;default:throw Error('acquireResource encountered a resource type it did not expect: "'+t.type+'". this is a bug in React.')}else t.type==="stylesheet"&&(t.state.loading&Ya)===Rs&&(a=t.instance,t.state.loading|=Ya,Cd(a,n.precedence,e));return t.instance}function Cd(e,t,n){for(var a=n.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),o=a.length?a[a.length-1]:null,i=o,u=0;u<a.length;u++){var d=a[u];if(d.dataset.precedence===t)i=d;else if(i!==o)break}i?i.parentNode.insertBefore(e,i.nextSibling):(t=n.nodeType===9?n.head:n,t.insertBefore(e,t.firstChild))}function ny(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.title==null&&(e.title=t.title)}function ay(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.integrity==null&&(e.integrity=t.integrity)}function qE(e,t,n){if(Hp===null){var a=new Map,o=Hp=new Map;o.set(n,a)}else o=Hp,a=o.get(n),a||(a=new Map,o.set(n,a));if(a.has(e))return a;a.set(e,null),n=n.getElementsByTagName(e);for(o=0;o<n.length;o++){var i=n[o];if(!(i[nu]||i[bn]||e==="link"&&i.getAttribute("rel")==="stylesheet")&&i.namespaceURI!==yr){var u=i.getAttribute(t)||"";u=e+u;var d=a.get(u);d?d.push(i):a.set(u,[i])}}return a}function oy(e,t,n){e=e.ownerDocument||e,e.head.insertBefore(n,t==="title"?e.querySelector("head > title"):null)}function kR(e,t,n){var a=!n.ancestorInfo.containerTagInScope;if(n.context===Kr||t.itemProp!=null)return!a||t.itemProp==null||e!=="meta"&&e!=="title"&&e!=="style"&&e!=="link"&&e!=="script"||console.error("Cannot render a <%s> outside the main document if it has an `itemProp` prop. `itemProp` suggests the tag belongs to an `itemScope` which can appear anywhere in the DOM. If you were intending for React to hoist this <%s> remove the `itemProp` prop. Otherwise, try moving this tag into the <head> or <body> of the Document.",e,e),!1;switch(e){case"meta":case"title":return!0;case"style":if(typeof t.precedence!=="string"||typeof t.href!=="string"||t.href===""){a&&console.error('Cannot render a <style> outside the main document without knowing its precedence and a unique href key. React can hoist and deduplicate <style> tags if you provide a `precedence` prop along with an `href` prop that does not conflict with the `href` values used in any other hoisted <style> or <link rel="stylesheet" ...> tags. Note that hoisting <style> tags is considered an advanced feature that most will not use directly. Consider moving the <style> tag to the <head> or consider adding a `precedence="default"` and `href="some unique resource identifier"`.');break}return!0;case"link":if(typeof t.rel!=="string"||typeof t.href!=="string"||t.href===""||t.onLoad||t.onError){if(t.rel==="stylesheet"&&typeof t.precedence==="string"){e=t.href;var o=t.onError,i=t.disabled;n=[],t.onLoad&&n.push("`onLoad`"),o&&n.push("`onError`"),i!=null&&n.push("`disabled`"),o=QC(n,"and"),o+=n.length===1?" prop":" props",i=n.length===1?"an "+o:"the "+o,n.length&&console.error('React encountered a <link rel="stylesheet" href="%s" ... /> with a `precedence` prop that also included %s. The presence of loading and error handlers indicates an intent to manage the stylesheet loading state from your from your Component code and React will not hoist or deduplicate this stylesheet. If your intent was to have React hoist and deduplciate this stylesheet using the `precedence` prop remove the %s, otherwise remove the `precedence` prop.',e,i,o)}a&&(typeof t.rel!=="string"||typeof t.href!=="string"||t.href===""?console.error("Cannot render a <link> outside the main document without a `rel` and `href` prop. Try adding a `rel` and/or `href` prop to this <link> or moving the link into the <head> tag"):(t.onError||t.onLoad)&&console.error("Cannot render a <link> with onLoad or onError listeners outside the main document. Try removing onLoad={...} and onError={...} or moving it into the root <head> tag or somewhere in the <body>."));break}switch(t.rel){case"stylesheet":return e=t.precedence,t=t.disabled,typeof e!=="string"&&a&&console.error('Cannot render a <link rel="stylesheet" /> outside the main document without knowing its precedence. Consider adding precedence="default" or moving it into the root <head> tag.'),typeof e==="string"&&t==null;default:return!0}case"script":if(e=t.async&&typeof t.async!=="function"&&typeof t.async!=="symbol",!e||t.onLoad||t.onError||!t.src||typeof t.src!=="string"){a&&(e?t.onLoad||t.onError?console.error("Cannot render a <script> with onLoad or onError listeners outside the main document. Try removing onLoad={...} and onError={...} or moving it into the root <head> tag or somewhere in the <body>."):console.error("Cannot render a <script> outside the main document without `async={true}` and a non-empty `src` prop. Ensure there is a valid `src` and either make the script async or move it into the root <head> tag or somewhere in the <body>."):console.error('Cannot render a sync or defer <script> outside the main document without knowing its order. Try adding async="" or moving it into the root <head> tag.'));break}return!0;case"noscript":case"template":a&&console.error("Cannot render <%s> outside the main document. Try moving it into the root <head> tag.",e)}return!1}function VE(e,t){return e==="img"&&t.src!=null&&t.src!==""&&t.onLoad==null&&t.loading!=="lazy"}function YE(e){return e.type==="stylesheet"&&(e.state.loading&MO)===Rs?!1:!0}function GE(e){return(e.width||100)*(e.height||100)*(typeof devicePixelRatio==="number"?devicePixelRatio:1)*0.25}function QE(e,t){typeof t.decode==="function"&&(e.imgCount++,t.complete||(e.imgBytes+=GE(t),e.suspenseyImages.push(t)),e=HR.bind(e),t.decode().then(e,e))}function BR(e,t,n,a){if(n.type==="stylesheet"&&(typeof a.media!=="string"||matchMedia(a.media).matches!==!1)&&(n.state.loading&Ya)===Rs){if(n.instance===null){var o=rr(a.href),i=t.querySelector(Zc(o));if(i){t=i._p,t!==null&&typeof t==="object"&&typeof t.then==="function"&&(e.count++,e=Fc.bind(e),t.then(e,e)),n.state.loading|=Ya,n.instance=i,on(i);return}i=t.ownerDocument||t,a=$E(a),(o=Ga.get(o))&&ny(a,o),i=i.createElement("link"),on(i);var u=i;u._p=new Promise(function(d,h){u.onload=d,u.onerror=h}),yn(i,"link",a),n.instance=i}e.stylesheets===null&&(e.stylesheets=new Map),e.stylesheets.set(n,t),(t=n.state.preload)&&(n.state.loading&MO)===Rs&&(e.count++,n=Fc.bind(e),t.addEventListener("load",n),t.addEventListener("error",n))}}function LR(e,t){return e.stylesheets&&e.count===0&&Rd(e,e.stylesheets),0<e.count||0<e.imgCount?function(n){var a=setTimeout(function(){if(e.stylesheets&&Rd(e,e.stylesheets),e.unsuspend){var i=e.unsuspend;e.unsuspend=null,i()}},HN+t);0<e.imgBytes&&jp===0&&(jp=125*XC()*$N);var o=setTimeout(function(){if(e.waitingForImages=!1,e.count===0&&(e.stylesheets&&Rd(e,e.stylesheets),e.unsuspend)){var i=e.unsuspend;e.unsuspend=null,i()}},(e.imgBytes>jp?50:jN)+t);return e.unsuspend=n,function(){e.unsuspend=null,clearTimeout(a),clearTimeout(o)}}:null}function XE(e){if(e.count===0&&(e.imgCount===0||!e.waitingForImages)){if(e.stylesheets)Rd(e,e.stylesheets);else if(e.unsuspend){var t=e.unsuspend;e.unsuspend=null,t()}}}function Fc(){this.count--,XE(this)}function HR(){this.imgCount--,XE(this)}function Rd(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,$p=new Map,t.forEach(jR,e),$p=null,Fc.call(e))}function jR(e,t){if(!(t.state.loading&Ya)){var n=$p.get(e);if(n)var a=n.get(Y0);else{n=new Map,$p.set(e,n);for(var o=e.querySelectorAll("link[data-precedence],style[data-precedence]"),i=0;i<o.length;i++){var u=o[i];if(u.nodeName==="LINK"||u.getAttribute("media")!=="not all")n.set(u.dataset.precedence,u),a=u}a&&n.set(Y0,a)}o=t.instance,u=o.getAttribute("data-precedence"),i=n.get(u)||a,i===a&&n.set(Y0,o),n.set(u,o),this.count++,a=Fc.bind(this),o.addEventListener("load",a),o.addEventListener("error",a),i?i.parentNode.insertBefore(o,i.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(o,e.firstChild)),t.state.loading|=Ya}}function $R(e,t,n,a,o,i,u,d,h){this.tag=1,this.containerInfo=e,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=Cs,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=b(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=b(0),this.hiddenUpdates=b(null),this.identifierPrefix=a,this.onUncaughtError=o,this.onCaughtError=i,this.onRecoverableError=u,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=h,this.transitionTypes=null,this.incompleteTransitions=new Map,this.passiveEffectDuration=this.effectDuration=-0,this.memoizedUpdaters=new Set,e=this.pendingUpdatersLaneMap=[];for(t=0;31>t;t++)e.push(new Set);this._debugRootType=n?"hydrateRoot()":"createRoot()"}function JE(e,t,n,a,o,i,u,d,h,y,O,M){return e=new $R(e,t,n,u,h,y,O,M,d),t=uN,i===!0&&(t|=Nn|to),t|=je,i=T(3,null,null,t),e.current=i,i.stateNode=e,t=pm(),Zi(t),e.pooledCache=t,Zi(t),i.memoizedState={element:a,isDehydrated:n,cache:t},bm(i),e}function KE(e){if(!e)return di;return e=di,e}function ly(e,t,n,a,o,i){if(_n&&typeof _n.onScheduleFiberRoot==="function")try{_n.onScheduleFiberRoot(mr,a,n)}catch(u){jo||(jo=!0,console.error("React instrumentation encountered an error: %o",u))}o=KE(o),a.context===null?a.context=o:a.pendingContext=o,Ho&&Ea!==null&&!BO&&(BO=!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.
|
|
186
186
|
|
|
187
|
-
Check the render method of %s.`,L(Ea)||"Unknown")),a=Zl(t),a.payload={element:n},i=i===void 0?null:i,i!==null&&(typeof i!=="function"&&console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",i),a.callback=i),n=Pl(e,a,t),n!==null&&(Ao(t,"root.render()",null),Ut(n,e,t),Nc(n,e,t))}function ZE(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function iy(e,t){ZE(e,t),(e=e.alternate)&&ZE(e,t)}function PE(e){if(e.tag===13||e.tag===31){var t=Rn(e,67108864);t!==null&&Ut(t,e,67108864),iy(e,67108864)}}function FE(e){if(e.tag===13||e.tag===31){var t=ba(e);t=fe(t);var n=Rn(e,t);n!==null&&Ut(n,e,t),iy(e,t)}}function IR(){return Ea}function qR(e,t,n,a){var o=V.T;V.T=null;var i=ut.p;try{ut.p=qn,sy(e,t,n,a)}finally{ut.p=i,V.T=o}}function VR(e,t,n,a){var o=V.T;V.T=null;var i=ut.p;try{ut.p=eo,sy(e,t,n,a)}finally{ut.p=i,V.T=o}}function sy(e,t,n,a){if(Fr){var o=ry(a);if(o===null)qg(e,t,a,qp,n),eT(e,a);else if(YR(o,e,t,n,a))a.stopPropagation();else if(eT(e,a),t&4&&-1<qN.indexOf(e)){for(;o!==null;){var i=Eo(o);if(i!==null)switch(i.tag){case 3:if(i=i.stateNode,i.current.memoizedState.isDehydrated){var u=Na(i.pendingLanes);if(u!==0){var d=i;d.pendingLanes|=2;for(d.entangledLanes|=2;u;){var h=1<<31-In(u);d.entanglements[1]|=h,u&=~h}Bo(i),(We&(Wt|Aa))===fn&&(Tp=Vt()+fO,Yc(0,!1))}}break;case 31:case 13:d=Rn(i,2),d!==null&&Ut(d,i,2),or(),iy(i,2)}if(i=ry(a),i===null&&qg(e,t,a,qp,n),i===o)break;o=i}o!==null&&a.stopPropagation()}else qg(e,t,a,null,n)}}function ry(e){return e=Ph(e),cy(e)}function cy(e){if(qp=null,e=$i(e),e!==null){var t=R(e);if(t===null)e=null;else{var n=t.tag;if(n===13){if(e=H(t),e!==null)return e;e=null}else if(n===31){if(e=Y(t),e!==null)return e;e=null}else if(n===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null)}}return qp=e,null}function WE(e){switch(e){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"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"fullscreenerror":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return qn;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"resize":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return eo;case"message":switch(t_()){case Oy:return qn;case Ay:return eo;case hr:case n_:return Io;case Cy:return Hd;default:return Io}default:return Io}}function eT(e,t){switch(e){case"focusin":case"focusout":Ri=null;break;case"dragenter":case"dragleave":_i=null;break;case"mouseover":case"mouseout":Ni=null;break;case"pointerover":case"pointerout":Ku.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Zu.delete(t.pointerId)}}function Wc(e,t,n,a,o,i){if(e===null||e.nativeEvent!==i)return e={blockedOn:t,domEventName:n,eventSystemFlags:a,nativeEvent:i,targetContainers:[o]},t!==null&&(t=Eo(t),t!==null&&PE(t)),e;return e.eventSystemFlags|=a,t=e.targetContainers,o!==null&&t.indexOf(o)===-1&&t.push(o),e}function YR(e,t,n,a,o){switch(t){case"focusin":return Ri=Wc(Ri,e,t,n,a,o),!0;case"dragenter":return _i=Wc(_i,e,t,n,a,o),!0;case"mouseover":return Ni=Wc(Ni,e,t,n,a,o),!0;case"pointerover":var i=o.pointerId;return Ku.set(i,Wc(Ku.get(i)||null,e,t,n,a,o)),!0;case"gotpointercapture":return i=o.pointerId,Zu.set(i,Wc(Zu.get(i)||null,e,t,n,a,o)),!0}return!1}function tT(e){var t=$i(e.target);if(t!==null){var n=R(t);if(n!==null){if(t=n.tag,t===13){if(t=H(n),t!==null){e.blockedOn=t,yf(e.priority,function(){FE(n)});return}}else if(t===31){if(t=Y(n),t!==null){e.blockedOn=t,yf(e.priority,function(){FE(n)});return}}else if(t===3&&n.stateNode.current.memoizedState.isDehydrated){e.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}e.blockedOn=null}function _d(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=ry(e.nativeEvent);if(n===null){n=e.nativeEvent;var a=new n.constructor(n.type,n),o=a;au!==null&&console.error("Expected currently replaying event to be null. This error is likely caused by a bug in React. Please file an issue."),au=o,n.target.dispatchEvent(a),au===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."),au=null}else return t=Eo(n),t!==null&&PE(t),e.blockedOn=n,!1;t.shift()}return!0}function nT(e,t,n){_d(e)&&n.delete(t)}function GR(){G0=!1,Ri!==null&&_d(Ri)&&(Ri=null),_i!==null&&_d(_i)&&(_i=null),Ni!==null&&_d(Ni)&&(Ni=null),Ku.forEach(nT),Zu.forEach(nT)}function Nd(e,t){e.blockedOn===t&&(e.blockedOn=null,G0||(G0=!0,nt.unstable_scheduleCallback(nt.unstable_NormalPriority,GR)))}function aT(e){Vp!==e&&(Vp=e,nt.unstable_scheduleCallback(nt.unstable_NormalPriority,function(){Vp===e&&(Vp=null);for(var t=0;t<e.length;t+=3){var n=e[t],a=e[t+1],o=e[t+2];if(typeof a!=="function")if(cy(a||n)===null)continue;else break;var i=Eo(n);i!==null&&(e.splice(t,3),t-=3,n={pending:!0,data:o,method:n.method,action:a},Object.freeze(n),Gm(i,n,a,o))}}))}function ur(e){function t(h){return Nd(h,e)}Ri!==null&&Nd(Ri,e),_i!==null&&Nd(_i,e),Ni!==null&&Nd(Ni,e),Ku.forEach(t),Zu.forEach(t);for(var n=0;n<Di.length;n++){var a=Di[n];a.blockedOn===e&&(a.blockedOn=null)}for(;0<Di.length&&(n=Di[0],n.blockedOn===null);)tT(n),n.blockedOn===null&&Di.shift();if(n=(e.ownerDocument||e).$$reactFormReplay,n!=null)for(a=0;a<n.length;a+=3){var o=n[a],i=n[a+1],u=o[Vn]||null;if(typeof i==="function")u||aT(n);else if(u){var d=null;if(i&&i.hasAttribute("formAction")){if(o=i,u=i[Vn]||null)d=u.formAction;else if(cy(o)!==null)continue}else d=u.action;typeof d==="function"?n[a+1]=d:(n.splice(a,3),a-=3),aT(n)}}}function oT(){function e(i){i.canIntercept&&i.info==="react-transition"&&i.intercept({handler:function(){return new Promise(function(u){return o=u})},focusReset:"manual",scroll:"manual"})}function t(){o!==null&&(o(),o=null),a||setTimeout(n,20)}function n(){if(!a&&!navigation.transition){var i=navigation.currentEntry;i&&i.url!=null&&navigation.navigate(i.url,{state:i.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation==="object"){var a=!1,o=null;return navigation.addEventListener("navigate",e),navigation.addEventListener("navigatesuccess",t),navigation.addEventListener("navigateerror",t),setTimeout(n,100),function(){a=!0,navigation.removeEventListener("navigate",e),navigation.removeEventListener("navigatesuccess",t),navigation.removeEventListener("navigateerror",t),o!==null&&(o(),o=null)}}}function uy(e){this._internalRoot=e}function Dd(e){this._internalRoot=e}function lT(e){e[si]&&(e._reactRootContainer?console.error("You are calling ReactDOMClient.createRoot() on a container that was previously passed to ReactDOM.render(). This is not supported."):console.error("You are calling ReactDOMClient.createRoot() on a container that has already been passed to createRoot() before. Instead, call root.render() on the existing root instead if you want to update it."))}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var fr=null,fy=null,He=Object.assign,QR=Symbol.for("react.element"),Lo=Symbol.for("react.transitional.element"),dr=Symbol.for("react.portal"),pr=Symbol.for("react.fragment"),Md=Symbol.for("react.strict_mode"),dy=Symbol.for("react.profiler"),py=Symbol.for("react.consumer"),Wa=Symbol.for("react.context"),xd=Symbol.for("react.forward_ref"),hy=Symbol.for("react.suspense"),my=Symbol.for("react.suspense_list"),zd=Symbol.for("react.memo"),ea=Symbol.for("react.lazy"),gy=Symbol.for("react.activity"),XR=Symbol.for("react.legacy_hidden"),JR=Symbol.for("react.memo_cache_sentinel"),yy=Symbol.for("react.view_transition"),KR=Symbol.for("react.recoverable"),iT=Symbol.iterator,ZR=Symbol.for("react.client.reference"),Pt=Array.isArray,V=ec.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,ut=X0.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,PR=Object.freeze({pending:!1,data:null,method:null,action:null}),by=[],vy=[],vl=-1,li=ye(null),eu=ye(null),ii=ye(null),Ud=ye(null),tu=0,sT,rT,cT,uT,fT,dT,pT;lt.__reactDisabledLog=!0;var Sy,hT,Ey=!1,Ty=new(typeof WeakMap==="function"?WeakMap:Map),Ea=null,Ho=!1,Ba=Object.prototype.hasOwnProperty,wy=nt.unstable_scheduleCallback,FR=nt.unstable_cancelCallback,WR=nt.unstable_shouldYield,e_=nt.unstable_requestPaint,Vt=nt.unstable_now,t_=nt.unstable_getCurrentPriorityLevel,Oy=nt.unstable_ImmediatePriority,Ay=nt.unstable_UserBlockingPriority,hr=nt.unstable_NormalPriority,n_=nt.unstable_LowPriority,Cy=nt.unstable_IdlePriority,a_=nt.log,o_=nt.unstable_setDisableYieldValue,mr=null,_n=null,jo=!1,$o=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u",In=Math.clz32?Math.clz32:mf,{log:l_,LN2:i_}=Math,Bd=256,kd=262144,Ld=4194304,qn=2,eo=8,Io=32,Hd=268435456,Sl=Math.random().toString(36).slice(2),bn="__reactFiber$"+Sl,Vn="__reactProps$"+Sl,si="__reactContainer$"+Sl,mT="__reactEvents$"+Sl,s_="__reactListeners$"+Sl,r_="__reactHandles$"+Sl,gT="__reactResources$"+Sl,nu="__reactMarker$"+Sl,jd="__reactLoad$"+Sl,yT=new Set,os={},Ry={},c_={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0},u_=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]*$"),bT={},vT={},rt=!1,f_=/[\n"\\]/g,ST=!1,ET=!1,TT=!1,wT=!1,OT=!1,AT=!1,CT=["value","defaultValue"],RT=!1,_T=/["'&<>\n\t]|^\s|\s$/,d_="address applet area article aside base basefont bgsound blockquote body br button caption center col colgroup dd details dir div dl dt embed fieldset figcaption figure footer form frame frameset h1 h2 h3 h4 h5 h6 head header hgroup hr html iframe img input isindex li link listing main marquee menu menuitem meta nav noembed noframes noscript object ol p param plaintext pre script section select source style summary table tbody td template textarea tfoot th thead title tr track ul wbr xmp".split(" "),NT="applet caption html table td th marquee object select template foreignObject desc title".split(" "),p_=NT.concat(["button"]),h_="dd dt li option optgroup p rp rt".split(" "),DT={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null,containerTagInScope:null,implicitRootScope:!1},$d={},_y={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(" "),borderBlock:"borderBlockEndColor borderBlockEndStyle borderBlockEndWidth borderBlockStartColor borderBlockStartStyle borderBlockStartWidth".split(" "),borderBlockColor:["borderBlockEndColor","borderBlockStartColor"],borderBlockEnd:["borderBlockEndColor","borderBlockEndStyle","borderBlockEndWidth"],borderBlockStart:["borderBlockStartColor","borderBlockStartStyle","borderBlockStartWidth"],borderBlockStyle:["borderBlockEndStyle","borderBlockStartStyle"],borderBlockWidth:["borderBlockEndWidth","borderBlockStartWidth"],borderBottom:["borderBottomColor","borderBottomStyle","borderBottomWidth"],borderColor:["borderBottomColor","borderLeftColor","borderRightColor","borderTopColor"],borderImage:["borderImageOutset","borderImageRepeat","borderImageSlice","borderImageSource","borderImageWidth"],borderInline:"borderInlineEndColor borderInlineEndStyle borderInlineEndWidth borderInlineStartColor borderInlineStartStyle borderInlineStartWidth".split(" "),borderInlineColor:["borderInlineEndColor","borderInlineStartColor"],borderInlineEnd:["borderInlineEndColor","borderInlineEndStyle","borderInlineEndWidth"],borderInlineStart:["borderInlineStartColor","borderInlineStartStyle","borderInlineStartWidth"],borderInlineStyle:["borderInlineEndStyle","borderInlineStartStyle"],borderInlineWidth:["borderInlineEndWidth","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"],colorAdjust:["printColorAdjust"],columnRule:["columnRuleColor","columnRuleStyle","columnRuleWidth"],columns:["columnCount","columnWidth"],containIntrinsicSize:["containIntrinsicHeight","containIntrinsicWidth"],container:["containerName","containerType"],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(" "),fontSynthesis:["fontSynthesisPosition","fontSynthesisSmallCaps","fontSynthesisStyle","fontSynthesisWeight"],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"],inset:["bottom","left","right","top"],insetBlock:["insetBlockEnd","insetBlockStart"],insetInline:["insetInlineEnd","insetInlineStart"],listStyle:["listStyleImage","listStylePosition","listStyleType"],margin:["marginBottom","marginLeft","marginRight","marginTop"],marginBlock:["marginBlockEnd","marginBlockStart"],marginInline:["marginInlineEnd","marginInlineStart"],marker:["markerEnd","markerMid","markerStart"],mask:"maskClip maskComposite maskImage maskMode maskOrigin maskPositionX maskPositionY maskRepeat maskSize".split(" "),maskPosition:["maskPositionX","maskPositionY"],offset:["offsetAnchor","offsetDistance","offsetPath","offsetPosition","offsetRotate"],outline:["outlineColor","outlineStyle","outlineWidth"],overflow:["overflowX","overflowY"],overscrollBehavior:["overscrollBehaviorX","overscrollBehaviorY"],padding:["paddingBottom","paddingLeft","paddingRight","paddingTop"],paddingBlock:["paddingBlockEnd","paddingBlockStart"],paddingInline:["paddingInlineEnd","paddingInlineStart"],pageBreakAfter:["breakAfter"],pageBreakBefore:["breakBefore"],pageBreakInside:["breakInside"],placeContent:["alignContent","justifyContent"],placeItems:["alignItems","justifyItems"],placeSelf:["alignSelf","justifySelf"],scrollMargin:["scrollMarginBottom","scrollMarginLeft","scrollMarginRight","scrollMarginTop"],scrollMarginBlock:["scrollMarginBlockEnd","scrollMarginBlockStart"],scrollMarginInline:["scrollMarginInlineEnd","scrollMarginInlineStart"],scrollPadding:["scrollPaddingBottom","scrollPaddingLeft","scrollPaddingRight","scrollPaddingTop"],scrollPaddingBlock:["scrollPaddingBlockEnd","scrollPaddingBlockStart"],scrollPaddingInline:["scrollPaddingInlineEnd","scrollPaddingInlineStart"],textDecoration:["textDecorationColor","textDecorationLine","textDecorationStyle","textDecorationThickness"],textEmphasis:["textEmphasisColor","textEmphasisStyle"],textWrap:["textWrapMode","textWrapStyle"],transition:["transitionBehavior","transitionDelay","transitionDuration","transitionProperty","transitionTimingFunction"],verticalAlign:["alignmentBaseline","baselineShift","baselineSource"],whiteSpace:["textWrapMode","whiteSpaceCollapse"],wordWrap:["overflowWrap"]},MT=/([A-Z])/g,xT=/^ms-/,m_=/^(?:webkit|moz|o)[A-Z]/,g_=/^-ms-/,y_=/-(.)/g,zT=/;\s*$/,gr={},Ny={},UT=!1,BT=!1,kT=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(" ")),Id="http://www.w3.org/1998/Math/MathML",yr="http://www.w3.org/2000/svg",b_=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"],["maskType","mask-type"],["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"]]),qd={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",credentialless:"credentialless",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",masktype:"maskType",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"},LT={"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},br={},v_=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]*$"),S_=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]*$"),HT=!1,Yn={},jT=/^on./,E_=/^on[^A-Z]/,T_=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]*$"),w_=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]*$"),O_=/^[\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,au=null,vr=null,Sr=null,Dy=!1,qo=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),My=!1;if(qo)try{var ou={};Object.defineProperty(ou,"passive",{get:function(){My=!0}}),window.addEventListener("test",ou,ou),window.removeEventListener("test",ou,ou)}catch(e){My=!1}var ri=null,xy=null,Vd=null,ci={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Yd=kn(ci),lu=He({},ci,{view:0,detail:0}),A_=kn(lu),zy,Uy,iu,Gd=He({},lu,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Fh,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){if("movementX"in e)return e.movementX;return e!==iu&&(iu&&e.type==="mousemove"?(zy=e.screenX-iu.screenX,Uy=e.screenY-iu.screenY):Uy=zy=0,iu=e),zy},movementY:function(e){return"movementY"in e?e.movementY:Uy}}),$T=kn(Gd),C_=He({},Gd,{dataTransfer:0}),R_=kn(C_),__=He({},lu,{relatedTarget:0}),By=kn(__),N_=He({},ci,{animationName:0,elapsedTime:0,pseudoElement:0}),D_=kn(N_),M_=He({},ci,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),x_=kn(M_),z_=He({},ci,{data:0}),IT=kn(z_),U_=IT,B_={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},k_={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"},L_={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"},H_=He({},lu,{key:function(e){if(e.key){var t=B_[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=Tf(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?k_[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Fh,charCode:function(e){return e.type==="keypress"?Tf(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Tf(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),j_=kn(H_),$_=He({},Gd,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),qT=kn($_),I_=He({},ci,{submitter:0}),q_=kn(I_),V_=He({},lu,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Fh}),Y_=kn(V_),G_=He({},ci,{propertyName:0,elapsedTime:0,pseudoElement:0}),Q_=kn(G_),X_=He({},Gd,{deltaX:function(e){return"deltaX"in e?e.deltaX:("wheelDeltaX"in e)?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:("wheelDeltaY"in e)?-e.wheelDeltaY:("wheelDelta"in e)?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),J_=kn(X_),K_=He({},ci,{newState:0,oldState:0,source:0}),Z_=kn(K_),P_=[9,13,27,32],VT=229,ky=qo&&"CompositionEvent"in window,su=null;qo&&"documentMode"in document&&(su=document.documentMode);var F_=qo&&"TextEvent"in window&&!su,YT=qo&&(!ky||su&&8<su&&11>=su),GT=32,QT=String.fromCharCode(GT),XT=!1,Er=!1,W_={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},ru=null,cu=null,JT=!1;qo&&(JT=QA("input")&&(!document.documentMode||9<document.documentMode));var Gn=typeof Object.is==="function"?Object.is:FA,eN=qo&&"documentMode"in document&&11>=document.documentMode,Tr=null,Ly=null,uu=null,Hy=!1,wr={animationend:Vi("Animation","AnimationEnd"),animationiteration:Vi("Animation","AnimationIteration"),animationstart:Vi("Animation","AnimationStart"),transitionrun:Vi("Transition","TransitionRun"),transitionstart:Vi("Transition","TransitionStart"),transitioncancel:Vi("Transition","TransitionCancel"),transitionend:Vi("Transition","TransitionEnd")},jy={},KT={};qo&&(KT=document.createElement("div").style,("AnimationEvent"in window)||(delete wr.animationend.animation,delete wr.animationiteration.animation,delete wr.animationstart.animation),("TransitionEvent"in window)||delete wr.transitionend.transition);var ZT=Yi("animationend"),PT=Yi("animationiteration"),FT=Yi("animationstart"),tN=Yi("transitionrun"),nN=Yi("transitionstart"),aN=Yi("transitioncancel"),WT=Yi("transitionend"),ew=new Map,$y="abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error fullscreenChange fullscreenError 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(" ");$y.push("scrollEnd");var oN=0,tw=0;if(typeof performance==="object"&&typeof performance.now==="function")var lN=performance,nw=function(){return lN.now()};else{var iN=Date;nw=function(){return iN.now()}}var Iy=typeof reportError==="function"?reportError:function(e){if(typeof window==="object"&&typeof window.ErrorEvent==="function"){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof e==="object"&&e!==null&&typeof e.message==="string"?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process==="object"&&typeof process.emit==="function"){process.emit("uncaughtException",e);return}console.error(e)},sN="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.",Qd=0,qy=1,Vy=2,Yy=3,ka=100,Xd="- ",Jd="+ ",aw=" ",Rt=typeof console<"u"&&typeof console.timeStamp==="function"&&typeof performance<"u"&&typeof performance.measure==="function",ta="Components ⚛",Qe="Scheduler ⚛",Je="Blocking",ui=!1,El={color:"primary",properties:null,tooltipText:"",track:ta},fi={start:-0,end:-0,detail:{devtools:El}},rN=["Changed Props",""],ow="This component received deeply equal props. It might benefit from useMemo or the React Compiler in its owner.",cN=["Changed Props",ow],fu=1,Tl=2,La=[],Or=0,Gy=0,di={};Object.freeze(di);var wl=null,Ar=null,_e=0,uN=1,je=2,Nn=8,to=16,lw=32,iw=!1;try{var sw=Object.preventExtensions({})}catch(e){iw=!0}var Qy=new WeakMap,Cr=[],Rr=0,Kd=null,du=0,Ha=[],ja=0,ls=null,Ol=1,Al="",sn=null,Ct=null,$e=!1,Vo=!1,Ta=null,pi=null,$a=!1,Xy=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."),Jy=ye(null),Ky=ye(null),rw={},Zd=null,_r=null,Nr=!1,fN=typeof AbortController<"u"?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(n,a){e.push(a)}};this.abort=function(){t.aborted=!0,e.forEach(function(n){return n()})}},dN=nt.unstable_scheduleCallback,pN=nt.unstable_NormalPriority,Qt={$$typeof:Wa,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0,_currentRenderer:null,_currentRenderer2:null},pu=null,Yt=nt.unstable_now,Pd=console.createTask?console.createTask:function(){return null},hu=1,Fd=2,rn=-0,Cl=-0,no=-0,Rl=null,Qn=-1.1,is=-0,Dt=-0,ve=-1.1,Te=-1.1,Nt=null,Bt=!1,hi=-0,Yo=-1.1,mu=null,mi=0,Zy=null,Py=null,ss=-1.1,gu=null,Dr=-1.1,Wd=-1.1,ao=-0,_l=-1.1,Ia=-1.1,Fy=0,yu=null,cw=null,uw=null,gi=-1.1,rs=null,yi=-1.1,ep=-1.1,Wy=-0,e0=-0,cs=0,na=null,fw=0,bu=-1.1,tp=!1,np=!1,vu=null,t0=0,bi=0,Mr=null,dw=V.S;V.S=function(e,t){if(cO=Vt(),typeof t==="object"&&t!==null&&typeof t.then==="function"){if(0>_l&&0>Ia){_l=Yt();var n=Jc(),a=Xc();if(n!==yi||a!==rs)yi=-1.1;gi=n,rs=a}oC(e,t)}if(pu!==null)for(n=Qr;n!==null;)Lv(n,pu),n=n.next;if(n=e.types,n!==null){for(a=Qr;a!==null;)Lv(a,n),a=a.next;if(bi!==0){a=pu,a===null&&(a=pu=[]);for(var o=0;o<n.length;o++){var i=n[o];a.indexOf(i)===-1&&a.push(i)}}}dw!==null&&dw(e,t)};var us=ye(null),oo={recordUnsafeLifecycleWarnings:function(){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}},Su=[],Eu=[],Tu=[],wu=[],Ou=[],Au=[],fs=new Set;oo.recordUnsafeLifecycleWarnings=function(e,t){fs.has(e.type)||(typeof t.componentWillMount==="function"&&t.componentWillMount.__suppressDeprecationWarning!==!0&&Su.push(e),e.mode&Nn&&typeof t.UNSAFE_componentWillMount==="function"&&Eu.push(e),typeof t.componentWillReceiveProps==="function"&&t.componentWillReceiveProps.__suppressDeprecationWarning!==!0&&Tu.push(e),e.mode&Nn&&typeof t.UNSAFE_componentWillReceiveProps==="function"&&wu.push(e),typeof t.componentWillUpdate==="function"&&t.componentWillUpdate.__suppressDeprecationWarning!==!0&&Ou.push(e),e.mode&Nn&&typeof t.UNSAFE_componentWillUpdate==="function"&&Au.push(e))},oo.flushPendingUnsafeLifecycleWarnings=function(){var e=new Set;0<Su.length&&(Su.forEach(function(d){e.add(L(d)||"Component"),fs.add(d.type)}),Su=[]);var t=new Set;0<Eu.length&&(Eu.forEach(function(d){t.add(L(d)||"Component"),fs.add(d.type)}),Eu=[]);var n=new Set;0<Tu.length&&(Tu.forEach(function(d){n.add(L(d)||"Component"),fs.add(d.type)}),Tu=[]);var a=new Set;0<wu.length&&(wu.forEach(function(d){a.add(L(d)||"Component"),fs.add(d.type)}),wu=[]);var o=new Set;0<Ou.length&&(Ou.forEach(function(d){o.add(L(d)||"Component"),fs.add(d.type)}),Ou=[]);var i=new Set;if(0<Au.length&&(Au.forEach(function(d){i.add(L(d)||"Component"),fs.add(d.type)}),Au=[]),0<t.size){var u=C(t);console.error(`Using UNSAFE_componentWillMount in strict mode is not recommended and may indicate bugs in your code. See https://react.dev/link/unsafe-component-lifecycles for details.
|
|
187
|
+
Check the render method of %s.`,L(Ea)||"Unknown")),a=Zl(t),a.payload={element:n},i=i===void 0?null:i,i!==null&&(typeof i!=="function"&&console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",i),a.callback=i),n=Pl(e,a,t),n!==null&&(Ao(t,"root.render()",null),Ut(n,e,t),Nc(n,e,t))}function ZE(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function iy(e,t){ZE(e,t),(e=e.alternate)&&ZE(e,t)}function PE(e){if(e.tag===13||e.tag===31){var t=Rn(e,67108864);t!==null&&Ut(t,e,67108864),iy(e,67108864)}}function FE(e){if(e.tag===13||e.tag===31){var t=ba(e);t=fe(t);var n=Rn(e,t);n!==null&&Ut(n,e,t),iy(e,t)}}function IR(){return Ea}function qR(e,t,n,a){var o=V.T;V.T=null;var i=ut.p;try{ut.p=qn,sy(e,t,n,a)}finally{ut.p=i,V.T=o}}function VR(e,t,n,a){var o=V.T;V.T=null;var i=ut.p;try{ut.p=eo,sy(e,t,n,a)}finally{ut.p=i,V.T=o}}function sy(e,t,n,a){if(Fr){var o=ry(a);if(o===null)qg(e,t,a,qp,n),eT(e,a);else if(YR(o,e,t,n,a))a.stopPropagation();else if(eT(e,a),t&4&&-1<qN.indexOf(e)){for(;o!==null;){var i=Eo(o);if(i!==null)switch(i.tag){case 3:if(i=i.stateNode,i.current.memoizedState.isDehydrated){var u=Na(i.pendingLanes);if(u!==0){var d=i;d.pendingLanes|=2;for(d.entangledLanes|=2;u;){var h=1<<31-In(u);d.entanglements[1]|=h,u&=~h}ko(i),(We&(Wt|Aa))===fn&&(Tp=Vt()+fO,Yc(0,!1))}}break;case 31:case 13:d=Rn(i,2),d!==null&&Ut(d,i,2),or(),iy(i,2)}if(i=ry(a),i===null&&qg(e,t,a,qp,n),i===o)break;o=i}o!==null&&a.stopPropagation()}else qg(e,t,a,null,n)}}function ry(e){return e=Ph(e),cy(e)}function cy(e){if(qp=null,e=$i(e),e!==null){var t=R(e);if(t===null)e=null;else{var n=t.tag;if(n===13){if(e=H(t),e!==null)return e;e=null}else if(n===31){if(e=Y(t),e!==null)return e;e=null}else if(n===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null)}}return qp=e,null}function WE(e){switch(e){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"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"fullscreenerror":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return qn;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"resize":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return eo;case"message":switch(t_()){case Oy:return qn;case Ay:return eo;case hr:case n_:return Io;case Cy:return Hd;default:return Io}default:return Io}}function eT(e,t){switch(e){case"focusin":case"focusout":Ri=null;break;case"dragenter":case"dragleave":_i=null;break;case"mouseover":case"mouseout":Ni=null;break;case"pointerover":case"pointerout":Ku.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Zu.delete(t.pointerId)}}function Wc(e,t,n,a,o,i){if(e===null||e.nativeEvent!==i)return e={blockedOn:t,domEventName:n,eventSystemFlags:a,nativeEvent:i,targetContainers:[o]},t!==null&&(t=Eo(t),t!==null&&PE(t)),e;return e.eventSystemFlags|=a,t=e.targetContainers,o!==null&&t.indexOf(o)===-1&&t.push(o),e}function YR(e,t,n,a,o){switch(t){case"focusin":return Ri=Wc(Ri,e,t,n,a,o),!0;case"dragenter":return _i=Wc(_i,e,t,n,a,o),!0;case"mouseover":return Ni=Wc(Ni,e,t,n,a,o),!0;case"pointerover":var i=o.pointerId;return Ku.set(i,Wc(Ku.get(i)||null,e,t,n,a,o)),!0;case"gotpointercapture":return i=o.pointerId,Zu.set(i,Wc(Zu.get(i)||null,e,t,n,a,o)),!0}return!1}function tT(e){var t=$i(e.target);if(t!==null){var n=R(t);if(n!==null){if(t=n.tag,t===13){if(t=H(n),t!==null){e.blockedOn=t,yf(e.priority,function(){FE(n)});return}}else if(t===31){if(t=Y(n),t!==null){e.blockedOn=t,yf(e.priority,function(){FE(n)});return}}else if(t===3&&n.stateNode.current.memoizedState.isDehydrated){e.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}e.blockedOn=null}function _d(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=ry(e.nativeEvent);if(n===null){n=e.nativeEvent;var a=new n.constructor(n.type,n),o=a;au!==null&&console.error("Expected currently replaying event to be null. This error is likely caused by a bug in React. Please file an issue."),au=o,n.target.dispatchEvent(a),au===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."),au=null}else return t=Eo(n),t!==null&&PE(t),e.blockedOn=n,!1;t.shift()}return!0}function nT(e,t,n){_d(e)&&n.delete(t)}function GR(){G0=!1,Ri!==null&&_d(Ri)&&(Ri=null),_i!==null&&_d(_i)&&(_i=null),Ni!==null&&_d(Ni)&&(Ni=null),Ku.forEach(nT),Zu.forEach(nT)}function Nd(e,t){e.blockedOn===t&&(e.blockedOn=null,G0||(G0=!0,nt.unstable_scheduleCallback(nt.unstable_NormalPriority,GR)))}function aT(e){Vp!==e&&(Vp=e,nt.unstable_scheduleCallback(nt.unstable_NormalPriority,function(){Vp===e&&(Vp=null);for(var t=0;t<e.length;t+=3){var n=e[t],a=e[t+1],o=e[t+2];if(typeof a!=="function")if(cy(a||n)===null)continue;else break;var i=Eo(n);i!==null&&(e.splice(t,3),t-=3,n={pending:!0,data:o,method:n.method,action:a},Object.freeze(n),Gm(i,n,a,o))}}))}function ur(e){function t(h){return Nd(h,e)}Ri!==null&&Nd(Ri,e),_i!==null&&Nd(_i,e),Ni!==null&&Nd(Ni,e),Ku.forEach(t),Zu.forEach(t);for(var n=0;n<Di.length;n++){var a=Di[n];a.blockedOn===e&&(a.blockedOn=null)}for(;0<Di.length&&(n=Di[0],n.blockedOn===null);)tT(n),n.blockedOn===null&&Di.shift();if(n=(e.ownerDocument||e).$$reactFormReplay,n!=null)for(a=0;a<n.length;a+=3){var o=n[a],i=n[a+1],u=o[Vn]||null;if(typeof i==="function")u||aT(n);else if(u){var d=null;if(i&&i.hasAttribute("formAction")){if(o=i,u=i[Vn]||null)d=u.formAction;else if(cy(o)!==null)continue}else d=u.action;typeof d==="function"?n[a+1]=d:(n.splice(a,3),a-=3),aT(n)}}}function oT(){function e(i){i.canIntercept&&i.info==="react-transition"&&i.intercept({handler:function(){return new Promise(function(u){return o=u})},focusReset:"manual",scroll:"manual"})}function t(){o!==null&&(o(),o=null),a||setTimeout(n,20)}function n(){if(!a&&!navigation.transition){var i=navigation.currentEntry;i&&i.url!=null&&navigation.navigate(i.url,{state:i.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation==="object"){var a=!1,o=null;return navigation.addEventListener("navigate",e),navigation.addEventListener("navigatesuccess",t),navigation.addEventListener("navigateerror",t),setTimeout(n,100),function(){a=!0,navigation.removeEventListener("navigate",e),navigation.removeEventListener("navigatesuccess",t),navigation.removeEventListener("navigateerror",t),o!==null&&(o(),o=null)}}}function uy(e){this._internalRoot=e}function Dd(e){this._internalRoot=e}function lT(e){e[si]&&(e._reactRootContainer?console.error("You are calling ReactDOMClient.createRoot() on a container that was previously passed to ReactDOM.render(). This is not supported."):console.error("You are calling ReactDOMClient.createRoot() on a container that has already been passed to createRoot() before. Instead, call root.render() on the existing root instead if you want to update it."))}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var fr=null,fy=null,He=Object.assign,QR=Symbol.for("react.element"),Lo=Symbol.for("react.transitional.element"),dr=Symbol.for("react.portal"),pr=Symbol.for("react.fragment"),Md=Symbol.for("react.strict_mode"),dy=Symbol.for("react.profiler"),py=Symbol.for("react.consumer"),Wa=Symbol.for("react.context"),xd=Symbol.for("react.forward_ref"),hy=Symbol.for("react.suspense"),my=Symbol.for("react.suspense_list"),zd=Symbol.for("react.memo"),ea=Symbol.for("react.lazy"),gy=Symbol.for("react.activity"),XR=Symbol.for("react.legacy_hidden"),JR=Symbol.for("react.memo_cache_sentinel"),yy=Symbol.for("react.view_transition"),KR=Symbol.for("react.recoverable"),iT=Symbol.iterator,ZR=Symbol.for("react.client.reference"),Pt=Array.isArray,V=ec.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,ut=X0.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,PR=Object.freeze({pending:!1,data:null,method:null,action:null}),by=[],vy=[],vl=-1,li=ye(null),eu=ye(null),ii=ye(null),Ud=ye(null),tu=0,sT,rT,cT,uT,fT,dT,pT;lt.__reactDisabledLog=!0;var Sy,hT,Ey=!1,Ty=new(typeof WeakMap==="function"?WeakMap:Map),Ea=null,Ho=!1,ka=Object.prototype.hasOwnProperty,wy=nt.unstable_scheduleCallback,FR=nt.unstable_cancelCallback,WR=nt.unstable_shouldYield,e_=nt.unstable_requestPaint,Vt=nt.unstable_now,t_=nt.unstable_getCurrentPriorityLevel,Oy=nt.unstable_ImmediatePriority,Ay=nt.unstable_UserBlockingPriority,hr=nt.unstable_NormalPriority,n_=nt.unstable_LowPriority,Cy=nt.unstable_IdlePriority,a_=nt.log,o_=nt.unstable_setDisableYieldValue,mr=null,_n=null,jo=!1,$o=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u",In=Math.clz32?Math.clz32:mf,{log:l_,LN2:i_}=Math,kd=256,Bd=262144,Ld=4194304,qn=2,eo=8,Io=32,Hd=268435456,Sl=Math.random().toString(36).slice(2),bn="__reactFiber$"+Sl,Vn="__reactProps$"+Sl,si="__reactContainer$"+Sl,mT="__reactEvents$"+Sl,s_="__reactListeners$"+Sl,r_="__reactHandles$"+Sl,gT="__reactResources$"+Sl,nu="__reactMarker$"+Sl,jd="__reactLoad$"+Sl,yT=new Set,os={},Ry={},c_={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0},u_=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]*$"),bT={},vT={},rt=!1,f_=/[\n"\\]/g,ST=!1,ET=!1,TT=!1,wT=!1,OT=!1,AT=!1,CT=["value","defaultValue"],RT=!1,_T=/["'&<>\n\t]|^\s|\s$/,d_="address applet area article aside base basefont bgsound blockquote body br button caption center col colgroup dd details dir div dl dt embed fieldset figcaption figure footer form frame frameset h1 h2 h3 h4 h5 h6 head header hgroup hr html iframe img input isindex li link listing main marquee menu menuitem meta nav noembed noframes noscript object ol p param plaintext pre script section select source style summary table tbody td template textarea tfoot th thead title tr track ul wbr xmp".split(" "),NT="applet caption html table td th marquee object select template foreignObject desc title".split(" "),p_=NT.concat(["button"]),h_="dd dt li option optgroup p rp rt".split(" "),DT={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null,containerTagInScope:null,implicitRootScope:!1},$d={},_y={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(" "),borderBlock:"borderBlockEndColor borderBlockEndStyle borderBlockEndWidth borderBlockStartColor borderBlockStartStyle borderBlockStartWidth".split(" "),borderBlockColor:["borderBlockEndColor","borderBlockStartColor"],borderBlockEnd:["borderBlockEndColor","borderBlockEndStyle","borderBlockEndWidth"],borderBlockStart:["borderBlockStartColor","borderBlockStartStyle","borderBlockStartWidth"],borderBlockStyle:["borderBlockEndStyle","borderBlockStartStyle"],borderBlockWidth:["borderBlockEndWidth","borderBlockStartWidth"],borderBottom:["borderBottomColor","borderBottomStyle","borderBottomWidth"],borderColor:["borderBottomColor","borderLeftColor","borderRightColor","borderTopColor"],borderImage:["borderImageOutset","borderImageRepeat","borderImageSlice","borderImageSource","borderImageWidth"],borderInline:"borderInlineEndColor borderInlineEndStyle borderInlineEndWidth borderInlineStartColor borderInlineStartStyle borderInlineStartWidth".split(" "),borderInlineColor:["borderInlineEndColor","borderInlineStartColor"],borderInlineEnd:["borderInlineEndColor","borderInlineEndStyle","borderInlineEndWidth"],borderInlineStart:["borderInlineStartColor","borderInlineStartStyle","borderInlineStartWidth"],borderInlineStyle:["borderInlineEndStyle","borderInlineStartStyle"],borderInlineWidth:["borderInlineEndWidth","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"],colorAdjust:["printColorAdjust"],columnRule:["columnRuleColor","columnRuleStyle","columnRuleWidth"],columns:["columnCount","columnWidth"],containIntrinsicSize:["containIntrinsicHeight","containIntrinsicWidth"],container:["containerName","containerType"],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(" "),fontSynthesis:["fontSynthesisPosition","fontSynthesisSmallCaps","fontSynthesisStyle","fontSynthesisWeight"],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"],inset:["bottom","left","right","top"],insetBlock:["insetBlockEnd","insetBlockStart"],insetInline:["insetInlineEnd","insetInlineStart"],listStyle:["listStyleImage","listStylePosition","listStyleType"],margin:["marginBottom","marginLeft","marginRight","marginTop"],marginBlock:["marginBlockEnd","marginBlockStart"],marginInline:["marginInlineEnd","marginInlineStart"],marker:["markerEnd","markerMid","markerStart"],mask:"maskClip maskComposite maskImage maskMode maskOrigin maskPositionX maskPositionY maskRepeat maskSize".split(" "),maskPosition:["maskPositionX","maskPositionY"],offset:["offsetAnchor","offsetDistance","offsetPath","offsetPosition","offsetRotate"],outline:["outlineColor","outlineStyle","outlineWidth"],overflow:["overflowX","overflowY"],overscrollBehavior:["overscrollBehaviorX","overscrollBehaviorY"],padding:["paddingBottom","paddingLeft","paddingRight","paddingTop"],paddingBlock:["paddingBlockEnd","paddingBlockStart"],paddingInline:["paddingInlineEnd","paddingInlineStart"],pageBreakAfter:["breakAfter"],pageBreakBefore:["breakBefore"],pageBreakInside:["breakInside"],placeContent:["alignContent","justifyContent"],placeItems:["alignItems","justifyItems"],placeSelf:["alignSelf","justifySelf"],scrollMargin:["scrollMarginBottom","scrollMarginLeft","scrollMarginRight","scrollMarginTop"],scrollMarginBlock:["scrollMarginBlockEnd","scrollMarginBlockStart"],scrollMarginInline:["scrollMarginInlineEnd","scrollMarginInlineStart"],scrollPadding:["scrollPaddingBottom","scrollPaddingLeft","scrollPaddingRight","scrollPaddingTop"],scrollPaddingBlock:["scrollPaddingBlockEnd","scrollPaddingBlockStart"],scrollPaddingInline:["scrollPaddingInlineEnd","scrollPaddingInlineStart"],textDecoration:["textDecorationColor","textDecorationLine","textDecorationStyle","textDecorationThickness"],textEmphasis:["textEmphasisColor","textEmphasisStyle"],textWrap:["textWrapMode","textWrapStyle"],transition:["transitionBehavior","transitionDelay","transitionDuration","transitionProperty","transitionTimingFunction"],verticalAlign:["alignmentBaseline","baselineShift","baselineSource"],whiteSpace:["textWrapMode","whiteSpaceCollapse"],wordWrap:["overflowWrap"]},MT=/([A-Z])/g,xT=/^ms-/,m_=/^(?:webkit|moz|o)[A-Z]/,g_=/^-ms-/,y_=/-(.)/g,zT=/;\s*$/,gr={},Ny={},UT=!1,kT=!1,BT=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(" ")),Id="http://www.w3.org/1998/Math/MathML",yr="http://www.w3.org/2000/svg",b_=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"],["maskType","mask-type"],["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"]]),qd={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",credentialless:"credentialless",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",masktype:"maskType",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"},LT={"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},br={},v_=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]*$"),S_=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]*$"),HT=!1,Yn={},jT=/^on./,E_=/^on[^A-Z]/,T_=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]*$"),w_=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]*$"),O_=/^[\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,au=null,vr=null,Sr=null,Dy=!1,qo=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),My=!1;if(qo)try{var ou={};Object.defineProperty(ou,"passive",{get:function(){My=!0}}),window.addEventListener("test",ou,ou),window.removeEventListener("test",ou,ou)}catch(e){My=!1}var ri=null,xy=null,Vd=null,ci={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Yd=Bn(ci),lu=He({},ci,{view:0,detail:0}),A_=Bn(lu),zy,Uy,iu,Gd=He({},lu,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Fh,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){if("movementX"in e)return e.movementX;return e!==iu&&(iu&&e.type==="mousemove"?(zy=e.screenX-iu.screenX,Uy=e.screenY-iu.screenY):Uy=zy=0,iu=e),zy},movementY:function(e){return"movementY"in e?e.movementY:Uy}}),$T=Bn(Gd),C_=He({},Gd,{dataTransfer:0}),R_=Bn(C_),__=He({},lu,{relatedTarget:0}),ky=Bn(__),N_=He({},ci,{animationName:0,elapsedTime:0,pseudoElement:0}),D_=Bn(N_),M_=He({},ci,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),x_=Bn(M_),z_=He({},ci,{data:0}),IT=Bn(z_),U_=IT,k_={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},B_={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"},L_={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"},H_=He({},lu,{key:function(e){if(e.key){var t=k_[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=Tf(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?B_[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Fh,charCode:function(e){return e.type==="keypress"?Tf(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Tf(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),j_=Bn(H_),$_=He({},Gd,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),qT=Bn($_),I_=He({},ci,{submitter:0}),q_=Bn(I_),V_=He({},lu,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Fh}),Y_=Bn(V_),G_=He({},ci,{propertyName:0,elapsedTime:0,pseudoElement:0}),Q_=Bn(G_),X_=He({},Gd,{deltaX:function(e){return"deltaX"in e?e.deltaX:("wheelDeltaX"in e)?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:("wheelDeltaY"in e)?-e.wheelDeltaY:("wheelDelta"in e)?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),J_=Bn(X_),K_=He({},ci,{newState:0,oldState:0,source:0}),Z_=Bn(K_),P_=[9,13,27,32],VT=229,By=qo&&"CompositionEvent"in window,su=null;qo&&"documentMode"in document&&(su=document.documentMode);var F_=qo&&"TextEvent"in window&&!su,YT=qo&&(!By||su&&8<su&&11>=su),GT=32,QT=String.fromCharCode(GT),XT=!1,Er=!1,W_={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},ru=null,cu=null,JT=!1;qo&&(JT=QA("input")&&(!document.documentMode||9<document.documentMode));var Gn=typeof Object.is==="function"?Object.is:FA,eN=qo&&"documentMode"in document&&11>=document.documentMode,Tr=null,Ly=null,uu=null,Hy=!1,wr={animationend:Vi("Animation","AnimationEnd"),animationiteration:Vi("Animation","AnimationIteration"),animationstart:Vi("Animation","AnimationStart"),transitionrun:Vi("Transition","TransitionRun"),transitionstart:Vi("Transition","TransitionStart"),transitioncancel:Vi("Transition","TransitionCancel"),transitionend:Vi("Transition","TransitionEnd")},jy={},KT={};qo&&(KT=document.createElement("div").style,("AnimationEvent"in window)||(delete wr.animationend.animation,delete wr.animationiteration.animation,delete wr.animationstart.animation),("TransitionEvent"in window)||delete wr.transitionend.transition);var ZT=Yi("animationend"),PT=Yi("animationiteration"),FT=Yi("animationstart"),tN=Yi("transitionrun"),nN=Yi("transitionstart"),aN=Yi("transitioncancel"),WT=Yi("transitionend"),ew=new Map,$y="abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error fullscreenChange fullscreenError 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(" ");$y.push("scrollEnd");var oN=0,tw=0;if(typeof performance==="object"&&typeof performance.now==="function")var lN=performance,nw=function(){return lN.now()};else{var iN=Date;nw=function(){return iN.now()}}var Iy=typeof reportError==="function"?reportError:function(e){if(typeof window==="object"&&typeof window.ErrorEvent==="function"){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof e==="object"&&e!==null&&typeof e.message==="string"?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process==="object"&&typeof process.emit==="function"){process.emit("uncaughtException",e);return}console.error(e)},sN="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.",Qd=0,qy=1,Vy=2,Yy=3,Ba=100,Xd="- ",Jd="+ ",aw=" ",Rt=typeof console<"u"&&typeof console.timeStamp==="function"&&typeof performance<"u"&&typeof performance.measure==="function",ta="Components ⚛",Qe="Scheduler ⚛",Je="Blocking",ui=!1,El={color:"primary",properties:null,tooltipText:"",track:ta},fi={start:-0,end:-0,detail:{devtools:El}},rN=["Changed Props",""],ow="This component received deeply equal props. It might benefit from useMemo or the React Compiler in its owner.",cN=["Changed Props",ow],fu=1,Tl=2,La=[],Or=0,Gy=0,di={};Object.freeze(di);var wl=null,Ar=null,_e=0,uN=1,je=2,Nn=8,to=16,lw=32,iw=!1;try{var sw=Object.preventExtensions({})}catch(e){iw=!0}var Qy=new WeakMap,Cr=[],Rr=0,Kd=null,du=0,Ha=[],ja=0,ls=null,Ol=1,Al="",sn=null,Ct=null,$e=!1,Vo=!1,Ta=null,pi=null,$a=!1,Xy=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."),Jy=ye(null),Ky=ye(null),rw={},Zd=null,_r=null,Nr=!1,fN=typeof AbortController<"u"?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(n,a){e.push(a)}};this.abort=function(){t.aborted=!0,e.forEach(function(n){return n()})}},dN=nt.unstable_scheduleCallback,pN=nt.unstable_NormalPriority,Qt={$$typeof:Wa,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0,_currentRenderer:null,_currentRenderer2:null},pu=null,Yt=nt.unstable_now,Pd=console.createTask?console.createTask:function(){return null},hu=1,Fd=2,rn=-0,Cl=-0,no=-0,Rl=null,Qn=-1.1,is=-0,Dt=-0,ve=-1.1,Te=-1.1,Nt=null,kt=!1,hi=-0,Yo=-1.1,mu=null,mi=0,Zy=null,Py=null,ss=-1.1,gu=null,Dr=-1.1,Wd=-1.1,ao=-0,_l=-1.1,Ia=-1.1,Fy=0,yu=null,cw=null,uw=null,gi=-1.1,rs=null,yi=-1.1,ep=-1.1,Wy=-0,e0=-0,cs=0,na=null,fw=0,bu=-1.1,tp=!1,np=!1,vu=null,t0=0,bi=0,Mr=null,dw=V.S;V.S=function(e,t){if(cO=Vt(),typeof t==="object"&&t!==null&&typeof t.then==="function"){if(0>_l&&0>Ia){_l=Yt();var n=Jc(),a=Xc();if(n!==yi||a!==rs)yi=-1.1;gi=n,rs=a}oC(e,t)}if(pu!==null)for(n=Qr;n!==null;)Lv(n,pu),n=n.next;if(n=e.types,n!==null){for(a=Qr;a!==null;)Lv(a,n),a=a.next;if(bi!==0){a=pu,a===null&&(a=pu=[]);for(var o=0;o<n.length;o++){var i=n[o];a.indexOf(i)===-1&&a.push(i)}}}dw!==null&&dw(e,t)};var us=ye(null),oo={recordUnsafeLifecycleWarnings:function(){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}},Su=[],Eu=[],Tu=[],wu=[],Ou=[],Au=[],fs=new Set;oo.recordUnsafeLifecycleWarnings=function(e,t){fs.has(e.type)||(typeof t.componentWillMount==="function"&&t.componentWillMount.__suppressDeprecationWarning!==!0&&Su.push(e),e.mode&Nn&&typeof t.UNSAFE_componentWillMount==="function"&&Eu.push(e),typeof t.componentWillReceiveProps==="function"&&t.componentWillReceiveProps.__suppressDeprecationWarning!==!0&&Tu.push(e),e.mode&Nn&&typeof t.UNSAFE_componentWillReceiveProps==="function"&&wu.push(e),typeof t.componentWillUpdate==="function"&&t.componentWillUpdate.__suppressDeprecationWarning!==!0&&Ou.push(e),e.mode&Nn&&typeof t.UNSAFE_componentWillUpdate==="function"&&Au.push(e))},oo.flushPendingUnsafeLifecycleWarnings=function(){var e=new Set;0<Su.length&&(Su.forEach(function(d){e.add(L(d)||"Component"),fs.add(d.type)}),Su=[]);var t=new Set;0<Eu.length&&(Eu.forEach(function(d){t.add(L(d)||"Component"),fs.add(d.type)}),Eu=[]);var n=new Set;0<Tu.length&&(Tu.forEach(function(d){n.add(L(d)||"Component"),fs.add(d.type)}),Tu=[]);var a=new Set;0<wu.length&&(wu.forEach(function(d){a.add(L(d)||"Component"),fs.add(d.type)}),wu=[]);var o=new Set;0<Ou.length&&(Ou.forEach(function(d){o.add(L(d)||"Component"),fs.add(d.type)}),Ou=[]);var i=new Set;if(0<Au.length&&(Au.forEach(function(d){i.add(L(d)||"Component"),fs.add(d.type)}),Au=[]),0<t.size){var u=C(t);console.error(`Using UNSAFE_componentWillMount in strict mode is not recommended and may indicate bugs in your code. See https://react.dev/link/unsafe-component-lifecycles for details.
|
|
188
188
|
|
|
189
189
|
* Move code with side effects to componentDidMount, and set initial state in the constructor.
|
|
190
190
|
|
|
@@ -223,30 +223,30 @@ Learn more about this warning here: https://react.dev/link/legacy-context`,a)})}
|
|
|
223
223
|
|
|
224
224
|
Check the render method of \``+o+"`."),i||a&&(i=`
|
|
225
225
|
|
|
226
|
-
Check the top-level render call using <`+a+">.");var u="";n!=null&&e!==n&&(a=null,typeof n.tag==="number"?a=L(n):typeof n.name==="string"&&(a=n.name),a&&(u=" It was passed a child from "+a+".")),oe(t,function(){console.error('Each child in a list should have a unique "key" prop.%s%s See https://react.dev/link/warning-keys for more information.',i,u)})}}};var hs=Pv(!0),Dw=Pv(!1),Mw=0,xw=1,zw=2,s0=3,vi=!1,Uw=!1,r0=null,c0=!1,Si=ye(null),sp=ye(0),vn=ye(null),Dn=null,Ur=1,_u=2,Sn=ye(0),Nu=0,qa=1,Xn=2,wa=4,Mn=8,Br,Bw=new Set,kw=new Set,u0=new Set,Lw=new Set,Nl=0,De=null,St=null,Xt=null,rp=!1,kr=!1,ms=!1,cp=0,Du=0,Go=null,vN=0,SN=25,j=null,Va=null,Dl=-1,Mu=!1,up={readContext:_t,use:ei,useCallback:jt,useContext:jt,useEffect:jt,useImperativeHandle:jt,useLayoutEffect:jt,useInsertionEffect:jt,useMemo:jt,useReducer:jt,useRef:jt,useState:jt,useDebugValue:jt,useDeferredValue:jt,useTransition:jt,useSyncExternalStore:jt,useId:jt,useHostTransitionStatus:jt,useFormState:jt,useActionState:jt,useOptimistic:jt,useMemoCache:jt,useCacheRefresh:jt,useEffectEvent:jt},f0=null,Hw=null,d0=null,jw=null,Qo=null,lo=null,fp=null;f0={readContext:function(e){return _t(e)},use:ei,useCallback:function(e,t){return j="useCallback",Ge(),Js(t),Im(e,t)},useContext:function(e){return j="useContext",Ge(),_t(e)},useEffect:function(e,t){return j="useEffect",Ge(),Js(t),ed(e,t)},useImperativeHandle:function(e,t,n){return j="useImperativeHandle",Ge(),Js(n),$m(e,t,n)},useInsertionEffect:function(e,t){j="useInsertionEffect",Ge(),Js(t),Fi(4,Xn,e,t)},useLayoutEffect:function(e,t){return j="useLayoutEffect",Ge(),Js(t),jm(e,t)},useMemo:function(e,t){j="useMemo",Ge(),Js(t);var n=V.H;V.H=Qo;try{return qm(e,t)}finally{V.H=n}},useReducer:function(e,t,n){j="useReducer",Ge();var a=V.H;V.H=Qo;try{return Dm(e,t,n)}finally{V.H=a}},useRef:function(e){return j="useRef",Ge(),Lm(e)},useState:function(e){j="useState",Ge();var t=V.H;V.H=Qo;try{return Um(e)}finally{V.H=t}},useDebugValue:function(){j="useDebugValue",Ge()},useDeferredValue:function(e,t){return j="useDeferredValue",Ge(),Vm(e,t)},useTransition:function(){return j="useTransition",Ge(),Qm()},useSyncExternalStore:function(e,t,n){return j="useSyncExternalStore",Ge(),xm(e,t,n)},useId:function(){return j="useId",Ge(),Xm()},useFormState:function(e,t){return j="useFormState",Ge(),Kf(),Zs(e,t)},useActionState:function(e,t){return j="useActionState",Ge(),Zs(e,t)},useOptimistic:function(e){return j="useOptimistic",Ge(),Bm(e)},useHostTransitionStatus:Wi,useMemoCache:Pi,useCacheRefresh:function(){return j="useCacheRefresh",Ge(),Jm()},useEffectEvent:function(e){return j="useEffectEvent",Ge(),Hm(e)}},Hw={readContext:function(e){return _t(e)},use:ei,useCallback:function(e,t){return j="useCallback",K(),Im(e,t)},useContext:function(e){return j="useContext",K(),_t(e)},useEffect:function(e,t){return j="useEffect",K(),ed(e,t)},useImperativeHandle:function(e,t,n){return j="useImperativeHandle",K(),$m(e,t,n)},useInsertionEffect:function(e,t){j="useInsertionEffect",K(),Fi(4,Xn,e,t)},useLayoutEffect:function(e,t){return j="useLayoutEffect",K(),jm(e,t)},useMemo:function(e,t){j="useMemo",K();var n=V.H;V.H=Qo;try{return qm(e,t)}finally{V.H=n}},useReducer:function(e,t,n){j="useReducer",K();var a=V.H;V.H=Qo;try{return Dm(e,t,n)}finally{V.H=a}},useRef:function(e){return j="useRef",K(),Lm(e)},useState:function(e){j="useState",K();var t=V.H;V.H=Qo;try{return Um(e)}finally{V.H=t}},useDebugValue:function(){j="useDebugValue",K()},useDeferredValue:function(e,t){return j="useDeferredValue",K(),Vm(e,t)},useTransition:function(){return j="useTransition",K(),Qm()},useSyncExternalStore:function(e,t,n){return j="useSyncExternalStore",K(),xm(e,t,n)},useId:function(){return j="useId",K(),Xm()},useActionState:function(e,t){return j="useActionState",K(),Zs(e,t)},useFormState:function(e,t){return j="useFormState",K(),Kf(),Zs(e,t)},useOptimistic:function(e){return j="useOptimistic",K(),Bm(e)},useHostTransitionStatus:Wi,useMemoCache:Pi,useCacheRefresh:function(){return j="useCacheRefresh",K(),Jm()},useEffectEvent:function(e){return j="useEffectEvent",K(),Hm(e)}},d0={readContext:function(e){return _t(e)},use:ei,useCallback:function(e,t){return j="useCallback",K(),ad(e,t)},useContext:function(e){return j="useContext",K(),_t(e)},useEffect:function(e,t){j="useEffect",K(),Wn(2048,Mn,e,t)},useImperativeHandle:function(e,t,n){return j="useImperativeHandle",K(),nd(e,t,n)},useInsertionEffect:function(e,t){return j="useInsertionEffect",K(),Wn(4,Xn,e,t)},useLayoutEffect:function(e,t){return j="useLayoutEffect",K(),Wn(4,wa,e,t)},useMemo:function(e,t){j="useMemo",K();var n=V.H;V.H=lo;try{return od(e,t)}finally{V.H=n}},useReducer:function(e,t,n){j="useReducer",K();var a=V.H;V.H=lo;try{return Ks(e,t,n)}finally{V.H=a}},useRef:function(){return j="useRef",K(),pt().memoizedState},useState:function(){j="useState",K();var e=V.H;V.H=lo;try{return Ks(Za)}finally{V.H=e}},useDebugValue:function(){j="useDebugValue",K()},useDeferredValue:function(e,t){return j="useDeferredValue",K(),v1(e,t)},useTransition:function(){return j="useTransition",K(),A1()},useSyncExternalStore:function(e,t,n){return j="useSyncExternalStore",K(),Pf(e,t,n)},useId:function(){return j="useId",K(),pt().memoizedState},useFormState:function(e){return j="useFormState",K(),Kf(),Ff(e)},useActionState:function(e){return j="useActionState",K(),Ff(e)},useOptimistic:function(e,t){return j="useOptimistic",K(),c1(e,t)},useHostTransitionStatus:Wi,useMemoCache:Pi,useCacheRefresh:function(){return j="useCacheRefresh",K(),pt().memoizedState},useEffectEvent:function(e){return j="useEffectEvent",K(),td(e)}},jw={readContext:function(e){return _t(e)},use:ei,useCallback:function(e,t){return j="useCallback",K(),ad(e,t)},useContext:function(e){return j="useContext",K(),_t(e)},useEffect:function(e,t){j="useEffect",K(),Wn(2048,Mn,e,t)},useImperativeHandle:function(e,t,n){return j="useImperativeHandle",K(),nd(e,t,n)},useInsertionEffect:function(e,t){return j="useInsertionEffect",K(),Wn(4,Xn,e,t)},useLayoutEffect:function(e,t){return j="useLayoutEffect",K(),Wn(4,wa,e,t)},useMemo:function(e,t){j="useMemo",K();var n=V.H;V.H=fp;try{return od(e,t)}finally{V.H=n}},useReducer:function(e,t,n){j="useReducer",K();var a=V.H;V.H=fp;try{return Uc(e,t,n)}finally{V.H=a}},useRef:function(){return j="useRef",K(),pt().memoizedState},useState:function(){j="useState",K();var e=V.H;V.H=fp;try{return Uc(Za)}finally{V.H=e}},useDebugValue:function(){j="useDebugValue",K()},useDeferredValue:function(e,t){return j="useDeferredValue",K(),S1(e,t)},useTransition:function(){return j="useTransition",K(),C1()},useSyncExternalStore:function(e,t,n){return j="useSyncExternalStore",K(),Pf(e,t,n)},useId:function(){return j="useId",K(),pt().memoizedState},useFormState:function(e){return j="useFormState",K(),Kf(),Wf(e)},useActionState:function(e){return j="useActionState",K(),Wf(e)},useOptimistic:function(e,t){return j="useOptimistic",K(),f1(e,t)},useHostTransitionStatus:Wi,useMemoCache:Pi,useCacheRefresh:function(){return j="useCacheRefresh",K(),pt().memoizedState},useEffectEvent:function(e){return j="useEffectEvent",K(),td(e)}},Qo={readContext:function(e){return v(),_t(e)},use:function(e){return g(),ei(e)},useCallback:function(e,t){return j="useCallback",g(),Ge(),Im(e,t)},useContext:function(e){return j="useContext",g(),Ge(),_t(e)},useEffect:function(e,t){return j="useEffect",g(),Ge(),ed(e,t)},useImperativeHandle:function(e,t,n){return j="useImperativeHandle",g(),Ge(),$m(e,t,n)},useInsertionEffect:function(e,t){j="useInsertionEffect",g(),Ge(),Fi(4,Xn,e,t)},useLayoutEffect:function(e,t){return j="useLayoutEffect",g(),Ge(),jm(e,t)},useMemo:function(e,t){j="useMemo",g(),Ge();var n=V.H;V.H=Qo;try{return qm(e,t)}finally{V.H=n}},useReducer:function(e,t,n){j="useReducer",g(),Ge();var a=V.H;V.H=Qo;try{return Dm(e,t,n)}finally{V.H=a}},useRef:function(e){return j="useRef",g(),Ge(),Lm(e)},useState:function(e){j="useState",g(),Ge();var t=V.H;V.H=Qo;try{return Um(e)}finally{V.H=t}},useDebugValue:function(){j="useDebugValue",g(),Ge()},useDeferredValue:function(e,t){return j="useDeferredValue",g(),Ge(),Vm(e,t)},useTransition:function(){return j="useTransition",g(),Ge(),Qm()},useSyncExternalStore:function(e,t,n){return j="useSyncExternalStore",g(),Ge(),xm(e,t,n)},useId:function(){return j="useId",g(),Ge(),Xm()},useFormState:function(e,t){return j="useFormState",g(),Ge(),Zs(e,t)},useActionState:function(e,t){return j="useActionState",g(),Ge(),Zs(e,t)},useOptimistic:function(e){return j="useOptimistic",g(),Ge(),Bm(e)},useMemoCache:function(e){return g(),Pi(e)},useHostTransitionStatus:Wi,useCacheRefresh:function(){return j="useCacheRefresh",Ge(),Jm()},useEffectEvent:function(e){return j="useEffectEvent",g(),Ge(),Hm(e)}},lo={readContext:function(e){return v(),_t(e)},use:function(e){return g(),ei(e)},useCallback:function(e,t){return j="useCallback",g(),K(),ad(e,t)},useContext:function(e){return j="useContext",g(),K(),_t(e)},useEffect:function(e,t){j="useEffect",g(),K(),Wn(2048,Mn,e,t)},useImperativeHandle:function(e,t,n){return j="useImperativeHandle",g(),K(),nd(e,t,n)},useInsertionEffect:function(e,t){return j="useInsertionEffect",g(),K(),Wn(4,Xn,e,t)},useLayoutEffect:function(e,t){return j="useLayoutEffect",g(),K(),Wn(4,wa,e,t)},useMemo:function(e,t){j="useMemo",g(),K();var n=V.H;V.H=lo;try{return od(e,t)}finally{V.H=n}},useReducer:function(e,t,n){j="useReducer",g(),K();var a=V.H;V.H=lo;try{return Ks(e,t,n)}finally{V.H=a}},useRef:function(){return j="useRef",g(),K(),pt().memoizedState},useState:function(){j="useState",g(),K();var e=V.H;V.H=lo;try{return Ks(Za)}finally{V.H=e}},useDebugValue:function(){j="useDebugValue",g(),K()},useDeferredValue:function(e,t){return j="useDeferredValue",g(),K(),v1(e,t)},useTransition:function(){return j="useTransition",g(),K(),A1()},useSyncExternalStore:function(e,t,n){return j="useSyncExternalStore",g(),K(),Pf(e,t,n)},useId:function(){return j="useId",g(),K(),pt().memoizedState},useFormState:function(e){return j="useFormState",g(),K(),Ff(e)},useActionState:function(e){return j="useActionState",g(),K(),Ff(e)},useOptimistic:function(e,t){return j="useOptimistic",g(),K(),c1(e,t)},useMemoCache:function(e){return g(),Pi(e)},useHostTransitionStatus:Wi,useCacheRefresh:function(){return j="useCacheRefresh",K(),pt().memoizedState},useEffectEvent:function(e){return j="useEffectEvent",g(),K(),td(e)}},fp={readContext:function(e){return v(),_t(e)},use:function(e){return g(),ei(e)},useCallback:function(e,t){return j="useCallback",g(),K(),ad(e,t)},useContext:function(e){return j="useContext",g(),K(),_t(e)},useEffect:function(e,t){j="useEffect",g(),K(),Wn(2048,Mn,e,t)},useImperativeHandle:function(e,t,n){return j="useImperativeHandle",g(),K(),nd(e,t,n)},useInsertionEffect:function(e,t){return j="useInsertionEffect",g(),K(),Wn(4,Xn,e,t)},useLayoutEffect:function(e,t){return j="useLayoutEffect",g(),K(),Wn(4,wa,e,t)},useMemo:function(e,t){j="useMemo",g(),K();var n=V.H;V.H=lo;try{return od(e,t)}finally{V.H=n}},useReducer:function(e,t,n){j="useReducer",g(),K();var a=V.H;V.H=lo;try{return Uc(e,t,n)}finally{V.H=a}},useRef:function(){return j="useRef",g(),K(),pt().memoizedState},useState:function(){j="useState",g(),K();var e=V.H;V.H=lo;try{return Uc(Za)}finally{V.H=e}},useDebugValue:function(){j="useDebugValue",g(),K()},useDeferredValue:function(e,t){return j="useDeferredValue",g(),K(),S1(e,t)},useTransition:function(){return j="useTransition",g(),K(),C1()},useSyncExternalStore:function(e,t,n){return j="useSyncExternalStore",g(),K(),Pf(e,t,n)},useId:function(){return j="useId",g(),K(),pt().memoizedState},useFormState:function(e){return j="useFormState",g(),K(),Wf(e)},useActionState:function(e){return j="useActionState",g(),K(),Wf(e)},useOptimistic:function(e,t){return j="useOptimistic",g(),K(),f1(e,t)},useMemoCache:function(e){return g(),Pi(e)},useHostTransitionStatus:Wi,useCacheRefresh:function(){return j="useCacheRefresh",K(),pt().memoizedState},useEffectEvent:function(e){return j="useEffectEvent",g(),K(),td(e)}};var $w={},Iw=new Set,qw=new Set,Vw=new Set,Yw=new Set,Gw=new Set,Qw=new Set,Xw=new Set,Jw=new Set,Kw=new Set,Zw=new Set;Object.freeze($w);var p0={enqueueSetState:function(e,t,n){e=e._reactInternals;var a=ba(e),o=Zl(a);o.payload=t,n!==void 0&&n!==null&&(Zm(n),o.callback=n),t=Pl(e,o,a),t!==null&&(Ao(a,"this.setState()",e),Ut(t,e,a),Nc(t,e,a))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var a=ba(e),o=Zl(a);o.tag=xw,o.payload=t,n!==void 0&&n!==null&&(Zm(n),o.callback=n),t=Pl(e,o,a),t!==null&&(Ao(a,"this.replaceState()",e),Ut(t,e,a),Nc(t,e,a))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=ba(e),a=Zl(n);a.tag=zw,t!==void 0&&t!==null&&(Zm(t),a.callback=t),t=Pl(e,a,n),t!==null&&(Ao(n,"this.forceUpdate()",e),Ut(t,e,n),Nc(t,e,n))}},Lr=null,h0=null,m0=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."),Gt=!1,Pw={},Fw={},Ww={},eO={},Hr=!1,tO={},g0={},nO={},y0={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null},aO=!1,oO=null;oO=new Set;var dp=!1,Oa=null,Xo=null,aa=0,pp=new Map,lO={},xu=0,b0=1,hp=2,cn=!1,ht=!1,Jo=!1,v0=!1,iO=typeof WeakSet==="function"?WeakSet:Set,un=null,jr=null,$r=null,Ko=!1,zu=!1,mp=!1,S0=!1,Jt=null,oa=!1,io=null,Ft=!1,gs=8192,EN={getCacheForType:function(e){var t=_t(Qt),n=t.data.get(e);return n===void 0&&(n=e(),t.data.set(e,n)),n},cacheSignal:function(){return _t(Qt).controller.signal},getOwner:function(){return Ea}};if(typeof Symbol==="function"&&Symbol.for){var Uu=Symbol.for;Uu("selector.component"),Uu("selector.has_pseudo_class"),Uu("selector.role"),Uu("selector.test_id"),Uu("selector.text")}var TN=[],wN=typeof WeakMap==="function"?WeakMap:Map,fn=0,Wt=2,Aa=4,Ml=0,Bu=1,ys=2,gp=3,Ei=4,ku=6,sO=5,We=fn,Et=null,Ie=null,Ue=0,la=0,yp=1,bs=2,Lu=3,rO=4,E0=5,Hu=6,bp=7,T0=8,vs=9,mt=la,Ca=null,xl=!1,Ir=!1,w0=!1,Zo=0,Mt=Ml,Ti=0,wi=0,vp=0,ia=0,Ss=0,ju=null,Jn=null,Sp=!1,Ep=0,cO=0,uO=300,Tp=1/0,fO=500,$u=null,kt=null,Oi=null,wp=0,Iu=1,O0=2,dO=3,Po=0,pO=1,hO=2,A0=3,C0=4,Op=5,xt=0,so=null,Es=null,sa=0,R0=0,Ap=-0,_0=null,mO=null,qr=null,Vr=null,Yr=null,Cp=null,Ra=wp,N0=null,ON=50,qu=0,Rp=null,D0=!1,_p=!1,AN=50,Ts=0,Vu=null,Gr=!1,gO=!1,Np=null,yO=!1,bO=new Set,CN={},Qr=null,Xr=null,M0=!1,x0=!1,Dp=!1,z0=!1,Ai=0,U0={};(function(){for(var e=0;e<$y.length;e++){var t=$y[e],n=t.toLowerCase();t=t[0].toUpperCase()+t.slice(1),Ja(n,"on"+t)}Ja(ZT,"onAnimationEnd"),Ja(PT,"onAnimationIteration"),Ja(FT,"onAnimationStart"),Ja("dblclick","onDoubleClick"),Ja("focusin","onFocus"),Ja("focusout","onBlur"),Ja(tN,"onTransitionRun"),Ja(nN,"onTransitionStart"),Ja(aN,"onTransitionCancel"),Ja(WT,"onTransitionEnd")})(),Is("onMouseEnter",["mouseout","mouseover"]),Is("onMouseLeave",["mouseout","mouseover"]),Is("onPointerEnter",["pointerout","pointerover"]),Is("onPointerLeave",["pointerout","pointerover"]),Ii("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),Ii("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),Ii("onBeforeInput",["compositionend","keypress","textInput","paste"]),Ii("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),Ii("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),Ii("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Yu="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(" "),B0=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Yu)),Mp="_reactListening"+Math.random().toString(36).slice(2),vO=!1,SO=!1,xp=!1,EO=!1,zp=!1,Up=!1,TO=!1,Bp={},RN=/\r\n?/g,_N=/\u0000|\uFFFD/g,ws="http://www.w3.org/1999/xlink",k0="http://www.w3.org/XML/1998/namespace",NN={},DN="javascript:throw new Error('React form unexpectedly submitted.')",MN="suppressHydrationWarning",Os="&",kp="/&",Gu="$",Qu="/$",Ci="$?",As="$~",Jr="$!",xN="html",zN="body",UN="head",L0="F!",wO="F",OO="loading",AO="style",zl=0,Kr=1,Lp=2,H0=null,j0=null,CO=!1,RO={dialog:!0,webview:!0},$0=null,Xu=void 0,I0=typeof setTimeout==="function"?setTimeout:void 0,BN=typeof clearTimeout==="function"?clearTimeout:void 0,Cs=-1,_O=typeof Promise==="function"?Promise:void 0,NO=typeof requestAnimationFrame==="function"?requestAnimationFrame:I0,kN=typeof queueMicrotask==="function"?queueMicrotask:typeof _O<"u"?function(e){return _O.resolve(null).then(e).catch(ZC)}:I0,LN=500;as.prototype.animate=function(e,t){return t=typeof t==="number"?{duration:t}:He({},t),t.pseudoElement=this._selector,this._scope.animate(e,t)},as.prototype.getAnimations=function(){for(var e=this._scope,t=this._selector,n=e.getAnimations({subtree:!0}),a=[],o=0;o<n.length;o++){var i=n[o].effect;i!==null&&i.target===e&&i.pseudoElement===t&&a.push(n[o])}return a},as.prototype.getComputedStyle=function(){return getComputedStyle(this._scope,this._selector)},va.prototype.addEventListener=function(e,t,n){var a=null,o=null;if(n!=null&&typeof n!=="boolean"&&(a=n.signal||null,a!==null&&a.aborted))return;this._eventListeners===null&&(this._eventListeners=[]);var i=this._eventListeners;if(RE(i,e,t,n)===-1){var u=this,d=t;n!=null&&typeof n!=="boolean"&&n.once===!0&&(d=function(h){u.removeEventListener(e,t,n),typeof t==="function"?t.call(this,h):t.handleEvent(h)}),a!==null&&(o=u.removeEventListener.bind(u,e,t,n),a.addEventListener("abort",o,{once:!0}),o=a.removeEventListener.bind(a,"abort",o)),a=sr(n),i.push({type:e,listener:t,optionsOrUseCapture:n,attachedListener:d,cleanup:o}),ie(this._fragmentFiber,mR,e,d,a)}this._eventListeners=i},va.prototype.removeEventListener=function(e,t,n){var a=this._eventListeners;if(a!==null&&(t=RE(a,e,t,n),t!==-1)){var o=a[t];n=o.attachedListener;var i=o.cleanup;o=sr(o.optionsOrUseCapture),ie(this._fragmentFiber,gR,e,n,o),a.splice(t,1),i!==null&&i()}},va.prototype.dispatchEvent=function(e){var t=Me(this._fragmentFiber);if(t===null)return!0;t=ot(t);var n=this._eventListeners;if(n!==null&&0<n.length||!e.bubbles){var a=t.nodeType===9?t.createComment(""):document.createTextNode("");if(n)for(var o=0;o<n.length;o++){var i=n[o];a.addEventListener(i.type,i.attachedListener,sr(i.optionsOrUseCapture))}if(t.appendChild(a),e=a.dispatchEvent(e),n)for(o=0;o<n.length;o++)i=n[o],a.removeEventListener(i.type,i.attachedListener,sr(i.optionsOrUseCapture));return t.removeChild(a),e}return t.dispatchEvent(e)},va.prototype.focus=function(e){W(this._fragmentFiber.child,!0,_E,e,void 0,void 0)},va.prototype.focusLast=function(e){var t=[];W(this._fragmentFiber.child,!0,Zg,t,void 0,void 0);for(var n=t.length-1;0<=n&&!_E(t[n],e);n--);},va.prototype.blur=function(){var e=Me(this._fragmentFiber);e!==null&&(e=ot(e),e=Qc(e).activeElement,e!==null&&ie(this._fragmentFiber,yR,e))},va.prototype.observeUsing=function(e){var t=!1,n=!1;ie(this._fragmentFiber,function(a){if(a.tag===6)t=!0;else return n=!0;return!1}),t&&!n&&console.error("observeUsing() was called on a FragmentInstance with only text children. Observers do not work on text nodes."),this._observers===null&&(this._observers=new Set),this._observers.add(e),ie(this._fragmentFiber,bR,e)},va.prototype.unobserveUsing=function(e){var t=this._observers;if(t!==null&&t.has(e)){t.delete(e),ie(this._fragmentFiber,vR,e);for(var n=t=0;n<ro.length;n++){var a=ro[n];a.fragmentInstance===this&&a.observer===e?e.unobserve(a.instance):ro[t++]=a}ro.length=t}else console.error("You are calling unobserveUsing() with an observer that is not being observed with this fragment instance. First attach the observer with observeUsing()")};var ro=[],q0=!1;va.prototype.getClientRects=function(){var e=[];return ie(this._fragmentFiber,ER,e),e},va.prototype.getRootNode=function(e){var t=Me(this._fragmentFiber);return t===null?this:ot(t).getRootNode(e)},va.prototype.compareDocumentPosition=function(e){var t=Me(this._fragmentFiber);if(t===null)return Node.DOCUMENT_POSITION_DISCONNECTED;var n=[];ie(this._fragmentFiber,Zg,n);var a=ot(t);if(n.length===0){if(t=a,Ne(this._fragmentFiber)){e:{for(n=this._fragmentFiber.return;n!==null;){if(n.tag===4){n=n.stateNode.containerInfo;break e}if(n.tag===3||n.tag===5||n.tag===27)break;n=n.return}n=null}n!=null&&(t=n)}n=this._fragmentFiber;var o=a=t.compareDocumentPosition(e);return t===e?o=Node.DOCUMENT_POSITION_CONTAINS:a&Node.DOCUMENT_POSITION_CONTAINED_BY&&(n=Ee(n)[1],n===null?o=Node.DOCUMENT_POSITION_PRECEDING:(e=ot(n).compareDocumentPosition(e),o=e===0||e&Node.DOCUMENT_POSITION_FOLLOWING?Node.DOCUMENT_POSITION_FOLLOWING:Node.DOCUMENT_POSITION_PRECEDING)),o|=Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC}t=ot(n[0]),o=ot(n[n.length-1]);var i=Ne(this._fragmentFiber)?t.parentElement:a;if(i==null)return Node.DOCUMENT_POSITION_DISCONNECTED;a=i.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY,i=i.compareDocumentPosition(o)&Node.DOCUMENT_POSITION_CONTAINED_BY;var u=t.compareDocumentPosition(e),d=o.compareDocumentPosition(e),h=u&Node.DOCUMENT_POSITION_CONTAINED_BY||d&Node.DOCUMENT_POSITION_CONTAINED_BY;return d=a&&i&&u&Node.DOCUMENT_POSITION_FOLLOWING&&d&Node.DOCUMENT_POSITION_PRECEDING,t=a&&t===e||i&&o===e||h||d?Node.DOCUMENT_POSITION_CONTAINED_BY:!a&&t===e||!i&&o===e?Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC:u,t&Node.DOCUMENT_POSITION_DISCONNECTED||t&Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC||TR(t,this._fragmentFiber,n[0],n[n.length-1],e)?t:Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC},va.prototype.scrollIntoView=function(e){if(typeof e==="object")throw Error("FragmentInstance.scrollIntoView() does not support scrollIntoViewOptions. Use the alignToTop boolean instead.");var t=[];ie(this._fragmentFiber,Zg,t);var n=e!==!1;if(t.length===0){var a=Ee(this._fragmentFiber);if(a=n?a[1]||a[0]||Me(this._fragmentFiber):a[0]||a[1],a===null)return;if(a.tag===6){e=ot(a),NE(e,n);return}if(a=ot(a),a.nodeType!==9){if(a.nodeType===11){n="host"in a?a.host:null,n!==null?n.scrollIntoView(e):console.warn("You are attempting to scroll a FragmentInstance that is only mounted inside a detached DocumentFragment. No scroll was performed.");return}a.scrollIntoView(e)}}for(a=n?t.length-1:0;a!==(n?-1:t.length);){var o=t[a];o.tag===6?(o=ot(o),NE(o,n)):ot(o).scrollIntoView(e),a+=n?-1:1}};var V0=null,Rs=0,Ju=1,DO=2,MO=3,Ya=4,Ga=new Map,xO=new Set,Ul=ut.d;ut.d={f:function(){var e=Ul.f(),t=or();return e||t},r:function(e){var t=Eo(e);t!==null&&t.tag===5&&t.type==="form"?O1(t):Ul.r(e)},D:function(e){Ul.D(e),HE("dns-prefetch",e,null)},C:function(e,t){Ul.C(e,t),HE("preconnect",e,t)},L:function(e,t,n){Ul.L(e,t,n);var a=Zr;if(a&&e&&t){var o='link[rel="preload"][as="'+Ma(t)+'"]';t==="image"?n&&n.imageSrcSet?(o+='[imagesrcset="'+Ma(n.imageSrcSet)+'"]',typeof n.imageSizes==="string"&&(o+='[imagesizes="'+Ma(n.imageSizes)+'"]')):o+='[href="'+Ma(e)+'"]':o+='[href="'+Ma(e)+'"]';var i=o;switch(t){case"style":i=rr(e);break;case"script":i=cr(e)}if(!(Ga.has(i)||(e=He({rel:"preload",href:t==="image"&&n&&n.imageSrcSet?void 0:e,as:t},n),Ga.set(i,e),a.querySelector(o)!==null||t==="style"&&a.querySelector(Zc(i))||t==="script"&&a.querySelector(Pc(i))))){var u=a.createElement("link");yn(u,"link",e),t==="style"&&(u[jd]=!0,u.onload=u.onerror=function(){Ub(u)}),on(u),a.head.appendChild(u)}}},m:function(e,t){Ul.m(e,t);var n=Zr;if(n&&e){var a=t&&typeof t.as==="string"?t.as:"script",o='link[rel="modulepreload"][as="'+Ma(a)+'"][href="'+Ma(e)+'"]',i=o;switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":i=cr(e)}if(!Ga.has(i)&&(e=He({rel:"modulepreload",href:e},t),Ga.set(i,e),n.querySelector(o)===null)){switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(n.querySelector(Pc(i)))return}a=n.createElement("link"),yn(a,"link",e),on(a),n.head.appendChild(a)}}},X:function(e,t){Ul.X(e,t);var n=Zr;if(n&&e){var a=$s(n).hoistableScripts,o=cr(e),i=a.get(o);i||(i=n.querySelector(Pc(o)),i||(e=He({src:e,async:!0},t),(t=Ga.get(o))&&ay(e,t),i=n.createElement("script"),on(i),yn(i,"link",e),n.head.appendChild(i)),i={type:"script",instance:i,count:1,state:null},a.set(o,i))}},S:function(e,t,n){Ul.S(e,t,n);var a=Zr;if(a&&e){var o=$s(a).hoistableStyles,i=rr(e);t=t||"default";var u=o.get(i);if(!u){var d={loading:Rs,preload:null};if(u=a.querySelector(Zc(i)))d.loading=Ju|Ya;else{e=He({rel:"stylesheet",href:e,"data-precedence":t},n),(n=Ga.get(i))&&ny(e,n);var h=u=a.createElement("link");on(h),yn(h,"link",e),h._p=new Promise(function(y,O){h.onload=y,h.onerror=O}),h.addEventListener("load",function(){d.loading|=Ju}),h.addEventListener("error",function(){d.loading|=DO}),d.loading|=Ya,Cd(u,t,a)}u={type:"stylesheet",instance:u,count:1,state:d},o.set(i,u)}}},M:function(e,t){Ul.M(e,t);var n=Zr;if(n&&e){var a=$s(n).hoistableScripts,o=cr(e),i=a.get(o);i||(i=n.querySelector(Pc(o)),i||(e=He({src:e,async:!0,type:"module"},t),(t=Ga.get(o))&&ay(e,t),i=n.createElement("script"),on(i),yn(i,"link",e),n.head.appendChild(i)),i={type:"script",instance:i,count:1,state:null},a.set(o,i))}}};var Zr=typeof document>"u"?null:document,Hp=null,HN=60000,jN=800,$N=500,jp=0,Y0=null,$p=null,_s=PR,Pr={$$typeof:Wa,Provider:null,Consumer:null,_currentValue:_s,_currentValue2:_s,_threadCount:0},zO="%c%s%c",UO="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",BO="",Ip=" ",IN=Function.prototype.bind,kO=!1,LO=null,HO=null,jO=null,$O=null,IO=null,qO=null,VO=null,YO=null,GO=null,QO=null;LO=function(e,t,n,a){t=l(e,t),t!==null&&(n=s(t.memoizedState,n,0,a),t.memoizedState=n,t.baseState=n,e.memoizedProps=He({},e.memoizedProps),n=Rn(e,2),n!==null&&Ut(n,e,2))},HO=function(e,t,n){t=l(e,t),t!==null&&(n=f(t.memoizedState,n,0),t.memoizedState=n,t.baseState=n,e.memoizedProps=He({},e.memoizedProps),n=Rn(e,2),n!==null&&Ut(n,e,2))},jO=function(e,t,n,a){t=l(e,t),t!==null&&(n=r(t.memoizedState,n,a),t.memoizedState=n,t.baseState=n,e.memoizedProps=He({},e.memoizedProps),n=Rn(e,2),n!==null&&Ut(n,e,2))},$O=function(e,t,n){e.pendingProps=s(e.memoizedProps,t,0,n),e.alternate&&(e.alternate.pendingProps=e.pendingProps),t=Rn(e,2),t!==null&&Ut(t,e,2)},IO=function(e,t){e.pendingProps=f(e.memoizedProps,t,0),e.alternate&&(e.alternate.pendingProps=e.pendingProps),t=Rn(e,2),t!==null&&Ut(t,e,2)},qO=function(e,t,n){e.pendingProps=r(e.memoizedProps,t,n),e.alternate&&(e.alternate.pendingProps=e.pendingProps),t=Rn(e,2),t!==null&&Ut(t,e,2)},VO=function(e){var t=Rn(e,2);t!==null&&Ut(t,e,2)},YO=function(e){var t=cl(),n=Rn(e,t);n!==null&&Ut(n,e,t)},GO=function(e){m=e},QO=function(e){p=e};var Fr=!0,qp=null,G0=!1,Ri=null,_i=null,Ni=null,Ku=new Map,Zu=new Map,Di=[],qN="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(" "),Vp=null;if(Dd.prototype.render=uy.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error("Cannot update an unmounted root.");var n=arguments;typeof n[1]==="function"?console.error("does not support the second callback argument. To execute a side effect after rendering, declare it in a component body with useEffect()."):z(n[1])?console.error("You passed a container to the second argument of root.render(...). You don't need to pass it again since you already passed it to create the root."):typeof n[1]<"u"&&console.error("You passed a second argument to root.render(...) but it only accepts one argument."),n=e;var a=t.current,o=ba(a);ly(a,o,n,t,null,null)},Dd.prototype.unmount=uy.prototype.unmount=function(){var e=arguments;if(typeof e[0]==="function"&&console.error("does not support a callback argument. To execute a side effect after rendering, declare it in a component body with useEffect()."),e=this._internalRoot,e!==null){this._internalRoot=null;var t=e.containerInfo;(We&(Wt|Aa))!==fn&&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."),ly(e.current,2,null,e,null,null),or(),t[si]=null}},Dd.prototype.unstable_scheduleHydration=function(e){if(e){var t=So();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Di.length&&t!==0&&t<Di[n].priority;n++);Di.splice(n,0,e),n===0&&tT(e)}},function(){var e=ec.version;if(e!=="19.3.1")throw Error(`Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:
|
|
226
|
+
Check the top-level render call using <`+a+">.");var u="";n!=null&&e!==n&&(a=null,typeof n.tag==="number"?a=L(n):typeof n.name==="string"&&(a=n.name),a&&(u=" It was passed a child from "+a+".")),oe(t,function(){console.error('Each child in a list should have a unique "key" prop.%s%s See https://react.dev/link/warning-keys for more information.',i,u)})}}};var hs=Pv(!0),Dw=Pv(!1),Mw=0,xw=1,zw=2,s0=3,vi=!1,Uw=!1,r0=null,c0=!1,Si=ye(null),sp=ye(0),vn=ye(null),Dn=null,Ur=1,_u=2,Sn=ye(0),Nu=0,qa=1,Xn=2,wa=4,Mn=8,kr,kw=new Set,Bw=new Set,u0=new Set,Lw=new Set,Nl=0,De=null,St=null,Xt=null,rp=!1,Br=!1,ms=!1,cp=0,Du=0,Go=null,vN=0,SN=25,j=null,Va=null,Dl=-1,Mu=!1,up={readContext:_t,use:ei,useCallback:jt,useContext:jt,useEffect:jt,useImperativeHandle:jt,useLayoutEffect:jt,useInsertionEffect:jt,useMemo:jt,useReducer:jt,useRef:jt,useState:jt,useDebugValue:jt,useDeferredValue:jt,useTransition:jt,useSyncExternalStore:jt,useId:jt,useHostTransitionStatus:jt,useFormState:jt,useActionState:jt,useOptimistic:jt,useMemoCache:jt,useCacheRefresh:jt,useEffectEvent:jt},f0=null,Hw=null,d0=null,jw=null,Qo=null,lo=null,fp=null;f0={readContext:function(e){return _t(e)},use:ei,useCallback:function(e,t){return j="useCallback",Ge(),Js(t),Im(e,t)},useContext:function(e){return j="useContext",Ge(),_t(e)},useEffect:function(e,t){return j="useEffect",Ge(),Js(t),ed(e,t)},useImperativeHandle:function(e,t,n){return j="useImperativeHandle",Ge(),Js(n),$m(e,t,n)},useInsertionEffect:function(e,t){j="useInsertionEffect",Ge(),Js(t),Fi(4,Xn,e,t)},useLayoutEffect:function(e,t){return j="useLayoutEffect",Ge(),Js(t),jm(e,t)},useMemo:function(e,t){j="useMemo",Ge(),Js(t);var n=V.H;V.H=Qo;try{return qm(e,t)}finally{V.H=n}},useReducer:function(e,t,n){j="useReducer",Ge();var a=V.H;V.H=Qo;try{return Dm(e,t,n)}finally{V.H=a}},useRef:function(e){return j="useRef",Ge(),Lm(e)},useState:function(e){j="useState",Ge();var t=V.H;V.H=Qo;try{return Um(e)}finally{V.H=t}},useDebugValue:function(){j="useDebugValue",Ge()},useDeferredValue:function(e,t){return j="useDeferredValue",Ge(),Vm(e,t)},useTransition:function(){return j="useTransition",Ge(),Qm()},useSyncExternalStore:function(e,t,n){return j="useSyncExternalStore",Ge(),xm(e,t,n)},useId:function(){return j="useId",Ge(),Xm()},useFormState:function(e,t){return j="useFormState",Ge(),Kf(),Zs(e,t)},useActionState:function(e,t){return j="useActionState",Ge(),Zs(e,t)},useOptimistic:function(e){return j="useOptimistic",Ge(),km(e)},useHostTransitionStatus:Wi,useMemoCache:Pi,useCacheRefresh:function(){return j="useCacheRefresh",Ge(),Jm()},useEffectEvent:function(e){return j="useEffectEvent",Ge(),Hm(e)}},Hw={readContext:function(e){return _t(e)},use:ei,useCallback:function(e,t){return j="useCallback",K(),Im(e,t)},useContext:function(e){return j="useContext",K(),_t(e)},useEffect:function(e,t){return j="useEffect",K(),ed(e,t)},useImperativeHandle:function(e,t,n){return j="useImperativeHandle",K(),$m(e,t,n)},useInsertionEffect:function(e,t){j="useInsertionEffect",K(),Fi(4,Xn,e,t)},useLayoutEffect:function(e,t){return j="useLayoutEffect",K(),jm(e,t)},useMemo:function(e,t){j="useMemo",K();var n=V.H;V.H=Qo;try{return qm(e,t)}finally{V.H=n}},useReducer:function(e,t,n){j="useReducer",K();var a=V.H;V.H=Qo;try{return Dm(e,t,n)}finally{V.H=a}},useRef:function(e){return j="useRef",K(),Lm(e)},useState:function(e){j="useState",K();var t=V.H;V.H=Qo;try{return Um(e)}finally{V.H=t}},useDebugValue:function(){j="useDebugValue",K()},useDeferredValue:function(e,t){return j="useDeferredValue",K(),Vm(e,t)},useTransition:function(){return j="useTransition",K(),Qm()},useSyncExternalStore:function(e,t,n){return j="useSyncExternalStore",K(),xm(e,t,n)},useId:function(){return j="useId",K(),Xm()},useActionState:function(e,t){return j="useActionState",K(),Zs(e,t)},useFormState:function(e,t){return j="useFormState",K(),Kf(),Zs(e,t)},useOptimistic:function(e){return j="useOptimistic",K(),km(e)},useHostTransitionStatus:Wi,useMemoCache:Pi,useCacheRefresh:function(){return j="useCacheRefresh",K(),Jm()},useEffectEvent:function(e){return j="useEffectEvent",K(),Hm(e)}},d0={readContext:function(e){return _t(e)},use:ei,useCallback:function(e,t){return j="useCallback",K(),ad(e,t)},useContext:function(e){return j="useContext",K(),_t(e)},useEffect:function(e,t){j="useEffect",K(),Wn(2048,Mn,e,t)},useImperativeHandle:function(e,t,n){return j="useImperativeHandle",K(),nd(e,t,n)},useInsertionEffect:function(e,t){return j="useInsertionEffect",K(),Wn(4,Xn,e,t)},useLayoutEffect:function(e,t){return j="useLayoutEffect",K(),Wn(4,wa,e,t)},useMemo:function(e,t){j="useMemo",K();var n=V.H;V.H=lo;try{return od(e,t)}finally{V.H=n}},useReducer:function(e,t,n){j="useReducer",K();var a=V.H;V.H=lo;try{return Ks(e,t,n)}finally{V.H=a}},useRef:function(){return j="useRef",K(),pt().memoizedState},useState:function(){j="useState",K();var e=V.H;V.H=lo;try{return Ks(Za)}finally{V.H=e}},useDebugValue:function(){j="useDebugValue",K()},useDeferredValue:function(e,t){return j="useDeferredValue",K(),v1(e,t)},useTransition:function(){return j="useTransition",K(),A1()},useSyncExternalStore:function(e,t,n){return j="useSyncExternalStore",K(),Pf(e,t,n)},useId:function(){return j="useId",K(),pt().memoizedState},useFormState:function(e){return j="useFormState",K(),Kf(),Ff(e)},useActionState:function(e){return j="useActionState",K(),Ff(e)},useOptimistic:function(e,t){return j="useOptimistic",K(),c1(e,t)},useHostTransitionStatus:Wi,useMemoCache:Pi,useCacheRefresh:function(){return j="useCacheRefresh",K(),pt().memoizedState},useEffectEvent:function(e){return j="useEffectEvent",K(),td(e)}},jw={readContext:function(e){return _t(e)},use:ei,useCallback:function(e,t){return j="useCallback",K(),ad(e,t)},useContext:function(e){return j="useContext",K(),_t(e)},useEffect:function(e,t){j="useEffect",K(),Wn(2048,Mn,e,t)},useImperativeHandle:function(e,t,n){return j="useImperativeHandle",K(),nd(e,t,n)},useInsertionEffect:function(e,t){return j="useInsertionEffect",K(),Wn(4,Xn,e,t)},useLayoutEffect:function(e,t){return j="useLayoutEffect",K(),Wn(4,wa,e,t)},useMemo:function(e,t){j="useMemo",K();var n=V.H;V.H=fp;try{return od(e,t)}finally{V.H=n}},useReducer:function(e,t,n){j="useReducer",K();var a=V.H;V.H=fp;try{return Uc(e,t,n)}finally{V.H=a}},useRef:function(){return j="useRef",K(),pt().memoizedState},useState:function(){j="useState",K();var e=V.H;V.H=fp;try{return Uc(Za)}finally{V.H=e}},useDebugValue:function(){j="useDebugValue",K()},useDeferredValue:function(e,t){return j="useDeferredValue",K(),S1(e,t)},useTransition:function(){return j="useTransition",K(),C1()},useSyncExternalStore:function(e,t,n){return j="useSyncExternalStore",K(),Pf(e,t,n)},useId:function(){return j="useId",K(),pt().memoizedState},useFormState:function(e){return j="useFormState",K(),Kf(),Wf(e)},useActionState:function(e){return j="useActionState",K(),Wf(e)},useOptimistic:function(e,t){return j="useOptimistic",K(),f1(e,t)},useHostTransitionStatus:Wi,useMemoCache:Pi,useCacheRefresh:function(){return j="useCacheRefresh",K(),pt().memoizedState},useEffectEvent:function(e){return j="useEffectEvent",K(),td(e)}},Qo={readContext:function(e){return v(),_t(e)},use:function(e){return g(),ei(e)},useCallback:function(e,t){return j="useCallback",g(),Ge(),Im(e,t)},useContext:function(e){return j="useContext",g(),Ge(),_t(e)},useEffect:function(e,t){return j="useEffect",g(),Ge(),ed(e,t)},useImperativeHandle:function(e,t,n){return j="useImperativeHandle",g(),Ge(),$m(e,t,n)},useInsertionEffect:function(e,t){j="useInsertionEffect",g(),Ge(),Fi(4,Xn,e,t)},useLayoutEffect:function(e,t){return j="useLayoutEffect",g(),Ge(),jm(e,t)},useMemo:function(e,t){j="useMemo",g(),Ge();var n=V.H;V.H=Qo;try{return qm(e,t)}finally{V.H=n}},useReducer:function(e,t,n){j="useReducer",g(),Ge();var a=V.H;V.H=Qo;try{return Dm(e,t,n)}finally{V.H=a}},useRef:function(e){return j="useRef",g(),Ge(),Lm(e)},useState:function(e){j="useState",g(),Ge();var t=V.H;V.H=Qo;try{return Um(e)}finally{V.H=t}},useDebugValue:function(){j="useDebugValue",g(),Ge()},useDeferredValue:function(e,t){return j="useDeferredValue",g(),Ge(),Vm(e,t)},useTransition:function(){return j="useTransition",g(),Ge(),Qm()},useSyncExternalStore:function(e,t,n){return j="useSyncExternalStore",g(),Ge(),xm(e,t,n)},useId:function(){return j="useId",g(),Ge(),Xm()},useFormState:function(e,t){return j="useFormState",g(),Ge(),Zs(e,t)},useActionState:function(e,t){return j="useActionState",g(),Ge(),Zs(e,t)},useOptimistic:function(e){return j="useOptimistic",g(),Ge(),km(e)},useMemoCache:function(e){return g(),Pi(e)},useHostTransitionStatus:Wi,useCacheRefresh:function(){return j="useCacheRefresh",Ge(),Jm()},useEffectEvent:function(e){return j="useEffectEvent",g(),Ge(),Hm(e)}},lo={readContext:function(e){return v(),_t(e)},use:function(e){return g(),ei(e)},useCallback:function(e,t){return j="useCallback",g(),K(),ad(e,t)},useContext:function(e){return j="useContext",g(),K(),_t(e)},useEffect:function(e,t){j="useEffect",g(),K(),Wn(2048,Mn,e,t)},useImperativeHandle:function(e,t,n){return j="useImperativeHandle",g(),K(),nd(e,t,n)},useInsertionEffect:function(e,t){return j="useInsertionEffect",g(),K(),Wn(4,Xn,e,t)},useLayoutEffect:function(e,t){return j="useLayoutEffect",g(),K(),Wn(4,wa,e,t)},useMemo:function(e,t){j="useMemo",g(),K();var n=V.H;V.H=lo;try{return od(e,t)}finally{V.H=n}},useReducer:function(e,t,n){j="useReducer",g(),K();var a=V.H;V.H=lo;try{return Ks(e,t,n)}finally{V.H=a}},useRef:function(){return j="useRef",g(),K(),pt().memoizedState},useState:function(){j="useState",g(),K();var e=V.H;V.H=lo;try{return Ks(Za)}finally{V.H=e}},useDebugValue:function(){j="useDebugValue",g(),K()},useDeferredValue:function(e,t){return j="useDeferredValue",g(),K(),v1(e,t)},useTransition:function(){return j="useTransition",g(),K(),A1()},useSyncExternalStore:function(e,t,n){return j="useSyncExternalStore",g(),K(),Pf(e,t,n)},useId:function(){return j="useId",g(),K(),pt().memoizedState},useFormState:function(e){return j="useFormState",g(),K(),Ff(e)},useActionState:function(e){return j="useActionState",g(),K(),Ff(e)},useOptimistic:function(e,t){return j="useOptimistic",g(),K(),c1(e,t)},useMemoCache:function(e){return g(),Pi(e)},useHostTransitionStatus:Wi,useCacheRefresh:function(){return j="useCacheRefresh",K(),pt().memoizedState},useEffectEvent:function(e){return j="useEffectEvent",g(),K(),td(e)}},fp={readContext:function(e){return v(),_t(e)},use:function(e){return g(),ei(e)},useCallback:function(e,t){return j="useCallback",g(),K(),ad(e,t)},useContext:function(e){return j="useContext",g(),K(),_t(e)},useEffect:function(e,t){j="useEffect",g(),K(),Wn(2048,Mn,e,t)},useImperativeHandle:function(e,t,n){return j="useImperativeHandle",g(),K(),nd(e,t,n)},useInsertionEffect:function(e,t){return j="useInsertionEffect",g(),K(),Wn(4,Xn,e,t)},useLayoutEffect:function(e,t){return j="useLayoutEffect",g(),K(),Wn(4,wa,e,t)},useMemo:function(e,t){j="useMemo",g(),K();var n=V.H;V.H=lo;try{return od(e,t)}finally{V.H=n}},useReducer:function(e,t,n){j="useReducer",g(),K();var a=V.H;V.H=lo;try{return Uc(e,t,n)}finally{V.H=a}},useRef:function(){return j="useRef",g(),K(),pt().memoizedState},useState:function(){j="useState",g(),K();var e=V.H;V.H=lo;try{return Uc(Za)}finally{V.H=e}},useDebugValue:function(){j="useDebugValue",g(),K()},useDeferredValue:function(e,t){return j="useDeferredValue",g(),K(),S1(e,t)},useTransition:function(){return j="useTransition",g(),K(),C1()},useSyncExternalStore:function(e,t,n){return j="useSyncExternalStore",g(),K(),Pf(e,t,n)},useId:function(){return j="useId",g(),K(),pt().memoizedState},useFormState:function(e){return j="useFormState",g(),K(),Wf(e)},useActionState:function(e){return j="useActionState",g(),K(),Wf(e)},useOptimistic:function(e,t){return j="useOptimistic",g(),K(),f1(e,t)},useMemoCache:function(e){return g(),Pi(e)},useHostTransitionStatus:Wi,useCacheRefresh:function(){return j="useCacheRefresh",K(),pt().memoizedState},useEffectEvent:function(e){return j="useEffectEvent",g(),K(),td(e)}};var $w={},Iw=new Set,qw=new Set,Vw=new Set,Yw=new Set,Gw=new Set,Qw=new Set,Xw=new Set,Jw=new Set,Kw=new Set,Zw=new Set;Object.freeze($w);var p0={enqueueSetState:function(e,t,n){e=e._reactInternals;var a=ba(e),o=Zl(a);o.payload=t,n!==void 0&&n!==null&&(Zm(n),o.callback=n),t=Pl(e,o,a),t!==null&&(Ao(a,"this.setState()",e),Ut(t,e,a),Nc(t,e,a))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var a=ba(e),o=Zl(a);o.tag=xw,o.payload=t,n!==void 0&&n!==null&&(Zm(n),o.callback=n),t=Pl(e,o,a),t!==null&&(Ao(a,"this.replaceState()",e),Ut(t,e,a),Nc(t,e,a))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=ba(e),a=Zl(n);a.tag=zw,t!==void 0&&t!==null&&(Zm(t),a.callback=t),t=Pl(e,a,n),t!==null&&(Ao(n,"this.forceUpdate()",e),Ut(t,e,n),Nc(t,e,n))}},Lr=null,h0=null,m0=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."),Gt=!1,Pw={},Fw={},Ww={},eO={},Hr=!1,tO={},g0={},nO={},y0={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null},aO=!1,oO=null;oO=new Set;var dp=!1,Oa=null,Xo=null,aa=0,pp=new Map,lO={},xu=0,b0=1,hp=2,cn=!1,ht=!1,Jo=!1,v0=!1,iO=typeof WeakSet==="function"?WeakSet:Set,un=null,jr=null,$r=null,Ko=!1,zu=!1,mp=!1,S0=!1,Jt=null,oa=!1,io=null,Ft=!1,gs=8192,EN={getCacheForType:function(e){var t=_t(Qt),n=t.data.get(e);return n===void 0&&(n=e(),t.data.set(e,n)),n},cacheSignal:function(){return _t(Qt).controller.signal},getOwner:function(){return Ea}};if(typeof Symbol==="function"&&Symbol.for){var Uu=Symbol.for;Uu("selector.component"),Uu("selector.has_pseudo_class"),Uu("selector.role"),Uu("selector.test_id"),Uu("selector.text")}var TN=[],wN=typeof WeakMap==="function"?WeakMap:Map,fn=0,Wt=2,Aa=4,Ml=0,ku=1,ys=2,gp=3,Ei=4,Bu=6,sO=5,We=fn,Et=null,Ie=null,Ue=0,la=0,yp=1,bs=2,Lu=3,rO=4,E0=5,Hu=6,bp=7,T0=8,vs=9,mt=la,Ca=null,xl=!1,Ir=!1,w0=!1,Zo=0,Mt=Ml,Ti=0,wi=0,vp=0,ia=0,Ss=0,ju=null,Jn=null,Sp=!1,Ep=0,cO=0,uO=300,Tp=1/0,fO=500,$u=null,Bt=null,Oi=null,wp=0,Iu=1,O0=2,dO=3,Po=0,pO=1,hO=2,A0=3,C0=4,Op=5,xt=0,so=null,Es=null,sa=0,R0=0,Ap=-0,_0=null,mO=null,qr=null,Vr=null,Yr=null,Cp=null,Ra=wp,N0=null,ON=50,qu=0,Rp=null,D0=!1,_p=!1,AN=50,Ts=0,Vu=null,Gr=!1,gO=!1,Np=null,yO=!1,bO=new Set,CN={},Qr=null,Xr=null,M0=!1,x0=!1,Dp=!1,z0=!1,Ai=0,U0={};(function(){for(var e=0;e<$y.length;e++){var t=$y[e],n=t.toLowerCase();t=t[0].toUpperCase()+t.slice(1),Ja(n,"on"+t)}Ja(ZT,"onAnimationEnd"),Ja(PT,"onAnimationIteration"),Ja(FT,"onAnimationStart"),Ja("dblclick","onDoubleClick"),Ja("focusin","onFocus"),Ja("focusout","onBlur"),Ja(tN,"onTransitionRun"),Ja(nN,"onTransitionStart"),Ja(aN,"onTransitionCancel"),Ja(WT,"onTransitionEnd")})(),Is("onMouseEnter",["mouseout","mouseover"]),Is("onMouseLeave",["mouseout","mouseover"]),Is("onPointerEnter",["pointerout","pointerover"]),Is("onPointerLeave",["pointerout","pointerover"]),Ii("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),Ii("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),Ii("onBeforeInput",["compositionend","keypress","textInput","paste"]),Ii("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),Ii("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),Ii("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Yu="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(" "),k0=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Yu)),Mp="_reactListening"+Math.random().toString(36).slice(2),vO=!1,SO=!1,xp=!1,EO=!1,zp=!1,Up=!1,TO=!1,kp={},RN=/\r\n?/g,_N=/\u0000|\uFFFD/g,ws="http://www.w3.org/1999/xlink",B0="http://www.w3.org/XML/1998/namespace",NN={},DN="javascript:throw new Error('React form unexpectedly submitted.')",MN="suppressHydrationWarning",Os="&",Bp="/&",Gu="$",Qu="/$",Ci="$?",As="$~",Jr="$!",xN="html",zN="body",UN="head",L0="F!",wO="F",OO="loading",AO="style",zl=0,Kr=1,Lp=2,H0=null,j0=null,CO=!1,RO={dialog:!0,webview:!0},$0=null,Xu=void 0,I0=typeof setTimeout==="function"?setTimeout:void 0,kN=typeof clearTimeout==="function"?clearTimeout:void 0,Cs=-1,_O=typeof Promise==="function"?Promise:void 0,NO=typeof requestAnimationFrame==="function"?requestAnimationFrame:I0,BN=typeof queueMicrotask==="function"?queueMicrotask:typeof _O<"u"?function(e){return _O.resolve(null).then(e).catch(ZC)}:I0,LN=500;as.prototype.animate=function(e,t){return t=typeof t==="number"?{duration:t}:He({},t),t.pseudoElement=this._selector,this._scope.animate(e,t)},as.prototype.getAnimations=function(){for(var e=this._scope,t=this._selector,n=e.getAnimations({subtree:!0}),a=[],o=0;o<n.length;o++){var i=n[o].effect;i!==null&&i.target===e&&i.pseudoElement===t&&a.push(n[o])}return a},as.prototype.getComputedStyle=function(){return getComputedStyle(this._scope,this._selector)},va.prototype.addEventListener=function(e,t,n){var a=null,o=null;if(n!=null&&typeof n!=="boolean"&&(a=n.signal||null,a!==null&&a.aborted))return;this._eventListeners===null&&(this._eventListeners=[]);var i=this._eventListeners;if(RE(i,e,t,n)===-1){var u=this,d=t;n!=null&&typeof n!=="boolean"&&n.once===!0&&(d=function(h){u.removeEventListener(e,t,n),typeof t==="function"?t.call(this,h):t.handleEvent(h)}),a!==null&&(o=u.removeEventListener.bind(u,e,t,n),a.addEventListener("abort",o,{once:!0}),o=a.removeEventListener.bind(a,"abort",o)),a=sr(n),i.push({type:e,listener:t,optionsOrUseCapture:n,attachedListener:d,cleanup:o}),ie(this._fragmentFiber,mR,e,d,a)}this._eventListeners=i},va.prototype.removeEventListener=function(e,t,n){var a=this._eventListeners;if(a!==null&&(t=RE(a,e,t,n),t!==-1)){var o=a[t];n=o.attachedListener;var i=o.cleanup;o=sr(o.optionsOrUseCapture),ie(this._fragmentFiber,gR,e,n,o),a.splice(t,1),i!==null&&i()}},va.prototype.dispatchEvent=function(e){var t=Me(this._fragmentFiber);if(t===null)return!0;t=ot(t);var n=this._eventListeners;if(n!==null&&0<n.length||!e.bubbles){var a=t.nodeType===9?t.createComment(""):document.createTextNode("");if(n)for(var o=0;o<n.length;o++){var i=n[o];a.addEventListener(i.type,i.attachedListener,sr(i.optionsOrUseCapture))}if(t.appendChild(a),e=a.dispatchEvent(e),n)for(o=0;o<n.length;o++)i=n[o],a.removeEventListener(i.type,i.attachedListener,sr(i.optionsOrUseCapture));return t.removeChild(a),e}return t.dispatchEvent(e)},va.prototype.focus=function(e){W(this._fragmentFiber.child,!0,_E,e,void 0,void 0)},va.prototype.focusLast=function(e){var t=[];W(this._fragmentFiber.child,!0,Zg,t,void 0,void 0);for(var n=t.length-1;0<=n&&!_E(t[n],e);n--);},va.prototype.blur=function(){var e=Me(this._fragmentFiber);e!==null&&(e=ot(e),e=Qc(e).activeElement,e!==null&&ie(this._fragmentFiber,yR,e))},va.prototype.observeUsing=function(e){var t=!1,n=!1;ie(this._fragmentFiber,function(a){if(a.tag===6)t=!0;else return n=!0;return!1}),t&&!n&&console.error("observeUsing() was called on a FragmentInstance with only text children. Observers do not work on text nodes."),this._observers===null&&(this._observers=new Set),this._observers.add(e),ie(this._fragmentFiber,bR,e)},va.prototype.unobserveUsing=function(e){var t=this._observers;if(t!==null&&t.has(e)){t.delete(e),ie(this._fragmentFiber,vR,e);for(var n=t=0;n<ro.length;n++){var a=ro[n];a.fragmentInstance===this&&a.observer===e?e.unobserve(a.instance):ro[t++]=a}ro.length=t}else console.error("You are calling unobserveUsing() with an observer that is not being observed with this fragment instance. First attach the observer with observeUsing()")};var ro=[],q0=!1;va.prototype.getClientRects=function(){var e=[];return ie(this._fragmentFiber,ER,e),e},va.prototype.getRootNode=function(e){var t=Me(this._fragmentFiber);return t===null?this:ot(t).getRootNode(e)},va.prototype.compareDocumentPosition=function(e){var t=Me(this._fragmentFiber);if(t===null)return Node.DOCUMENT_POSITION_DISCONNECTED;var n=[];ie(this._fragmentFiber,Zg,n);var a=ot(t);if(n.length===0){if(t=a,Ne(this._fragmentFiber)){e:{for(n=this._fragmentFiber.return;n!==null;){if(n.tag===4){n=n.stateNode.containerInfo;break e}if(n.tag===3||n.tag===5||n.tag===27)break;n=n.return}n=null}n!=null&&(t=n)}n=this._fragmentFiber;var o=a=t.compareDocumentPosition(e);return t===e?o=Node.DOCUMENT_POSITION_CONTAINS:a&Node.DOCUMENT_POSITION_CONTAINED_BY&&(n=Ee(n)[1],n===null?o=Node.DOCUMENT_POSITION_PRECEDING:(e=ot(n).compareDocumentPosition(e),o=e===0||e&Node.DOCUMENT_POSITION_FOLLOWING?Node.DOCUMENT_POSITION_FOLLOWING:Node.DOCUMENT_POSITION_PRECEDING)),o|=Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC}t=ot(n[0]),o=ot(n[n.length-1]);var i=Ne(this._fragmentFiber)?t.parentElement:a;if(i==null)return Node.DOCUMENT_POSITION_DISCONNECTED;a=i.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY,i=i.compareDocumentPosition(o)&Node.DOCUMENT_POSITION_CONTAINED_BY;var u=t.compareDocumentPosition(e),d=o.compareDocumentPosition(e),h=u&Node.DOCUMENT_POSITION_CONTAINED_BY||d&Node.DOCUMENT_POSITION_CONTAINED_BY;return d=a&&i&&u&Node.DOCUMENT_POSITION_FOLLOWING&&d&Node.DOCUMENT_POSITION_PRECEDING,t=a&&t===e||i&&o===e||h||d?Node.DOCUMENT_POSITION_CONTAINED_BY:!a&&t===e||!i&&o===e?Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC:u,t&Node.DOCUMENT_POSITION_DISCONNECTED||t&Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC||TR(t,this._fragmentFiber,n[0],n[n.length-1],e)?t:Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC},va.prototype.scrollIntoView=function(e){if(typeof e==="object")throw Error("FragmentInstance.scrollIntoView() does not support scrollIntoViewOptions. Use the alignToTop boolean instead.");var t=[];ie(this._fragmentFiber,Zg,t);var n=e!==!1;if(t.length===0){var a=Ee(this._fragmentFiber);if(a=n?a[1]||a[0]||Me(this._fragmentFiber):a[0]||a[1],a===null)return;if(a.tag===6){e=ot(a),NE(e,n);return}if(a=ot(a),a.nodeType!==9){if(a.nodeType===11){n="host"in a?a.host:null,n!==null?n.scrollIntoView(e):console.warn("You are attempting to scroll a FragmentInstance that is only mounted inside a detached DocumentFragment. No scroll was performed.");return}a.scrollIntoView(e)}}for(a=n?t.length-1:0;a!==(n?-1:t.length);){var o=t[a];o.tag===6?(o=ot(o),NE(o,n)):ot(o).scrollIntoView(e),a+=n?-1:1}};var V0=null,Rs=0,Ju=1,DO=2,MO=3,Ya=4,Ga=new Map,xO=new Set,Ul=ut.d;ut.d={f:function(){var e=Ul.f(),t=or();return e||t},r:function(e){var t=Eo(e);t!==null&&t.tag===5&&t.type==="form"?O1(t):Ul.r(e)},D:function(e){Ul.D(e),HE("dns-prefetch",e,null)},C:function(e,t){Ul.C(e,t),HE("preconnect",e,t)},L:function(e,t,n){Ul.L(e,t,n);var a=Zr;if(a&&e&&t){var o='link[rel="preload"][as="'+Ma(t)+'"]';t==="image"?n&&n.imageSrcSet?(o+='[imagesrcset="'+Ma(n.imageSrcSet)+'"]',typeof n.imageSizes==="string"&&(o+='[imagesizes="'+Ma(n.imageSizes)+'"]')):o+='[href="'+Ma(e)+'"]':o+='[href="'+Ma(e)+'"]';var i=o;switch(t){case"style":i=rr(e);break;case"script":i=cr(e)}if(!(Ga.has(i)||(e=He({rel:"preload",href:t==="image"&&n&&n.imageSrcSet?void 0:e,as:t},n),Ga.set(i,e),a.querySelector(o)!==null||t==="style"&&a.querySelector(Zc(i))||t==="script"&&a.querySelector(Pc(i))))){var u=a.createElement("link");yn(u,"link",e),t==="style"&&(u[jd]=!0,u.onload=u.onerror=function(){Ub(u)}),on(u),a.head.appendChild(u)}}},m:function(e,t){Ul.m(e,t);var n=Zr;if(n&&e){var a=t&&typeof t.as==="string"?t.as:"script",o='link[rel="modulepreload"][as="'+Ma(a)+'"][href="'+Ma(e)+'"]',i=o;switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":i=cr(e)}if(!Ga.has(i)&&(e=He({rel:"modulepreload",href:e},t),Ga.set(i,e),n.querySelector(o)===null)){switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(n.querySelector(Pc(i)))return}a=n.createElement("link"),yn(a,"link",e),on(a),n.head.appendChild(a)}}},X:function(e,t){Ul.X(e,t);var n=Zr;if(n&&e){var a=$s(n).hoistableScripts,o=cr(e),i=a.get(o);i||(i=n.querySelector(Pc(o)),i||(e=He({src:e,async:!0},t),(t=Ga.get(o))&&ay(e,t),i=n.createElement("script"),on(i),yn(i,"link",e),n.head.appendChild(i)),i={type:"script",instance:i,count:1,state:null},a.set(o,i))}},S:function(e,t,n){Ul.S(e,t,n);var a=Zr;if(a&&e){var o=$s(a).hoistableStyles,i=rr(e);t=t||"default";var u=o.get(i);if(!u){var d={loading:Rs,preload:null};if(u=a.querySelector(Zc(i)))d.loading=Ju|Ya;else{e=He({rel:"stylesheet",href:e,"data-precedence":t},n),(n=Ga.get(i))&&ny(e,n);var h=u=a.createElement("link");on(h),yn(h,"link",e),h._p=new Promise(function(y,O){h.onload=y,h.onerror=O}),h.addEventListener("load",function(){d.loading|=Ju}),h.addEventListener("error",function(){d.loading|=DO}),d.loading|=Ya,Cd(u,t,a)}u={type:"stylesheet",instance:u,count:1,state:d},o.set(i,u)}}},M:function(e,t){Ul.M(e,t);var n=Zr;if(n&&e){var a=$s(n).hoistableScripts,o=cr(e),i=a.get(o);i||(i=n.querySelector(Pc(o)),i||(e=He({src:e,async:!0,type:"module"},t),(t=Ga.get(o))&&ay(e,t),i=n.createElement("script"),on(i),yn(i,"link",e),n.head.appendChild(i)),i={type:"script",instance:i,count:1,state:null},a.set(o,i))}}};var Zr=typeof document>"u"?null:document,Hp=null,HN=60000,jN=800,$N=500,jp=0,Y0=null,$p=null,_s=PR,Pr={$$typeof:Wa,Provider:null,Consumer:null,_currentValue:_s,_currentValue2:_s,_threadCount:0},zO="%c%s%c",UO="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",kO="",Ip=" ",IN=Function.prototype.bind,BO=!1,LO=null,HO=null,jO=null,$O=null,IO=null,qO=null,VO=null,YO=null,GO=null,QO=null;LO=function(e,t,n,a){t=l(e,t),t!==null&&(n=s(t.memoizedState,n,0,a),t.memoizedState=n,t.baseState=n,e.memoizedProps=He({},e.memoizedProps),n=Rn(e,2),n!==null&&Ut(n,e,2))},HO=function(e,t,n){t=l(e,t),t!==null&&(n=f(t.memoizedState,n,0),t.memoizedState=n,t.baseState=n,e.memoizedProps=He({},e.memoizedProps),n=Rn(e,2),n!==null&&Ut(n,e,2))},jO=function(e,t,n,a){t=l(e,t),t!==null&&(n=r(t.memoizedState,n,a),t.memoizedState=n,t.baseState=n,e.memoizedProps=He({},e.memoizedProps),n=Rn(e,2),n!==null&&Ut(n,e,2))},$O=function(e,t,n){e.pendingProps=s(e.memoizedProps,t,0,n),e.alternate&&(e.alternate.pendingProps=e.pendingProps),t=Rn(e,2),t!==null&&Ut(t,e,2)},IO=function(e,t){e.pendingProps=f(e.memoizedProps,t,0),e.alternate&&(e.alternate.pendingProps=e.pendingProps),t=Rn(e,2),t!==null&&Ut(t,e,2)},qO=function(e,t,n){e.pendingProps=r(e.memoizedProps,t,n),e.alternate&&(e.alternate.pendingProps=e.pendingProps),t=Rn(e,2),t!==null&&Ut(t,e,2)},VO=function(e){var t=Rn(e,2);t!==null&&Ut(t,e,2)},YO=function(e){var t=cl(),n=Rn(e,t);n!==null&&Ut(n,e,t)},GO=function(e){m=e},QO=function(e){p=e};var Fr=!0,qp=null,G0=!1,Ri=null,_i=null,Ni=null,Ku=new Map,Zu=new Map,Di=[],qN="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(" "),Vp=null;if(Dd.prototype.render=uy.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error("Cannot update an unmounted root.");var n=arguments;typeof n[1]==="function"?console.error("does not support the second callback argument. To execute a side effect after rendering, declare it in a component body with useEffect()."):z(n[1])?console.error("You passed a container to the second argument of root.render(...). You don't need to pass it again since you already passed it to create the root."):typeof n[1]<"u"&&console.error("You passed a second argument to root.render(...) but it only accepts one argument."),n=e;var a=t.current,o=ba(a);ly(a,o,n,t,null,null)},Dd.prototype.unmount=uy.prototype.unmount=function(){var e=arguments;if(typeof e[0]==="function"&&console.error("does not support a callback argument. To execute a side effect after rendering, declare it in a component body with useEffect()."),e=this._internalRoot,e!==null){this._internalRoot=null;var t=e.containerInfo;(We&(Wt|Aa))!==fn&&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."),ly(e.current,2,null,e,null,null),or(),t[si]=null}},Dd.prototype.unstable_scheduleHydration=function(e){if(e){var t=So();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Di.length&&t!==0&&t<Di[n].priority;n++);Di.splice(n,0,e),n===0&&tT(e)}},function(){var e=ec.version;if(e!=="19.3.1")throw Error(`Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:
|
|
227
227
|
- react: `+(e+`
|
|
228
228
|
- react-dom: 19.3.1
|
|
229
|
-
Learn more: https://react.dev/warnings/version-mismatch`))}(),typeof Map==="function"&&Map.prototype!=null&&typeof Map.prototype.forEach==="function"&&typeof Set==="function"&&Set.prototype!=null&&typeof Set.prototype.clear==="function"&&typeof Set.prototype.forEach==="function"||console.error("React depends on Map and Set built-in types. Make sure that you load a polyfill in older browsers. https://react.dev/link/react-polyfills"),ut.findDOMNode=function(e){var t=e._reactInternals;if(t===void 0){if(typeof e.render==="function")throw Error("Unable to find node on an unmounted component.");throw e=Object.keys(e).join(","),Error("Argument appears to not be a ReactComponent. Keys: "+e)}return e=ce(t),e=e!==null?G(e):null,e=e===null?null:e.stateNode,e},!function(){var e={bundleType:1,version:"19.3.1",rendererPackageName:"react-dom",currentDispatcherRef:V,reconcilerVersion:"19.3.1"};return e.overrideHookState=LO,e.overrideHookStateDeletePath=HO,e.overrideHookStateRenamePath=jO,e.overrideProps=$O,e.overridePropsDeletePath=IO,e.overridePropsRenamePath=qO,e.scheduleUpdate=VO,e.scheduleRetry=YO,e.setErrorHandler=GO,e.setSuspenseHandler=QO,e.scheduleRefresh=
|
|
229
|
+
Learn more: https://react.dev/warnings/version-mismatch`))}(),typeof Map==="function"&&Map.prototype!=null&&typeof Map.prototype.forEach==="function"&&typeof Set==="function"&&Set.prototype!=null&&typeof Set.prototype.clear==="function"&&typeof Set.prototype.forEach==="function"||console.error("React depends on Map and Set built-in types. Make sure that you load a polyfill in older browsers. https://react.dev/link/react-polyfills"),ut.findDOMNode=function(e){var t=e._reactInternals;if(t===void 0){if(typeof e.render==="function")throw Error("Unable to find node on an unmounted component.");throw e=Object.keys(e).join(","),Error("Argument appears to not be a ReactComponent. Keys: "+e)}return e=ce(t),e=e!==null?G(e):null,e=e===null?null:e.stateNode,e},!function(){var e={bundleType:1,version:"19.3.1",rendererPackageName:"react-dom",currentDispatcherRef:V,reconcilerVersion:"19.3.1"};return e.overrideHookState=LO,e.overrideHookStateDeletePath=HO,e.overrideHookStateRenamePath=jO,e.overrideProps=$O,e.overridePropsDeletePath=IO,e.overridePropsRenamePath=qO,e.scheduleUpdate=VO,e.scheduleRetry=YO,e.setErrorHandler=GO,e.setSuspenseHandler=QO,e.scheduleRefresh=B,e.scheduleRoot=E,e.setRefreshHandler=w,e.getCurrentFiber=IR,hf(e)}()&&qo&&window.top===window.self&&(-1<navigator.userAgent.indexOf("Chrome")&&navigator.userAgent.indexOf("Edge")===-1||-1<navigator.userAgent.indexOf("Firefox"))){var XO=window.location.protocol;/^(https?|file):$/.test(XO)&&console.info("%cDownload the React DevTools for a better development experience: https://react.dev/link/react-devtools"+(XO==="file:"?`
|
|
230
230
|
You might need to use a local HTTP server (instead of file://): https://react.dev/link/react-devtools-faq`:""),"font-weight:bold")}WN.createRoot=function(e,t){if(!z(e))throw Error("Target container is not a DOM element.");lT(e);var n=!1,a="",o=x1,i=z1,u=U1;return t!==null&&t!==void 0&&(t.hydrate?console.warn("hydrate through createRoot is deprecated. Use ReactDOMClient.hydrateRoot(container, <App />) instead."):typeof t==="object"&&t!==null&&t.$$typeof===Lo&&console.error(`You passed a JSX element to createRoot. You probably meant to call root.render instead. Example usage:
|
|
231
231
|
|
|
232
232
|
let root = createRoot(domContainer);
|
|
233
|
-
root.render(<App />);`),t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(a=t.identifierPrefix),t.onUncaughtError!==void 0&&(o=t.onUncaughtError),t.onCaughtError!==void 0&&(i=t.onCaughtError),t.onRecoverableError!==void 0&&(u=t.onRecoverableError)),t=JE(e,1,!1,null,null,n,a,null,o,i,u,oT),e[si]=t.current,Ig(e),new uy(t)},WN.hydrateRoot=function(e,t,n){if(!z(e))throw Error("Target container is not a DOM element.");lT(e),t===void 0&&console.error("Must provide initial children as second argument to hydrateRoot. Example usage: hydrateRoot(domContainer, <App />)");var a=!1,o="",i=x1,u=z1,d=U1,h=null;return n!==null&&n!==void 0&&(n.unstable_strictMode===!0&&(a=!0),n.identifierPrefix!==void 0&&(o=n.identifierPrefix),n.onUncaughtError!==void 0&&(i=n.onUncaughtError),n.onCaughtError!==void 0&&(u=n.onCaughtError),n.onRecoverableError!==void 0&&(d=n.onRecoverableError),n.formState!==void 0&&(h=n.formState)),t=JE(e,1,!0,t,n!=null?n:null,a,o,h,i,u,d,oT),t.context=KE(null),n=t.current,a=ba(n),a=fe(a),o=Zl(a),o.callback=null,Pl(n,o,a),Ao(a,"hydrateRoot()",null),n=a,t.current.lanes=n,
|
|
233
|
+
root.render(<App />);`),t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(a=t.identifierPrefix),t.onUncaughtError!==void 0&&(o=t.onUncaughtError),t.onCaughtError!==void 0&&(i=t.onCaughtError),t.onRecoverableError!==void 0&&(u=t.onRecoverableError)),t=JE(e,1,!1,null,null,n,a,null,o,i,u,oT),e[si]=t.current,Ig(e),new uy(t)},WN.hydrateRoot=function(e,t,n){if(!z(e))throw Error("Target container is not a DOM element.");lT(e),t===void 0&&console.error("Must provide initial children as second argument to hydrateRoot. Example usage: hydrateRoot(domContainer, <App />)");var a=!1,o="",i=x1,u=z1,d=U1,h=null;return n!==null&&n!==void 0&&(n.unstable_strictMode===!0&&(a=!0),n.identifierPrefix!==void 0&&(o=n.identifierPrefix),n.onUncaughtError!==void 0&&(i=n.onUncaughtError),n.onCaughtError!==void 0&&(u=n.onCaughtError),n.onRecoverableError!==void 0&&(d=n.onRecoverableError),n.formState!==void 0&&(h=n.formState)),t=JE(e,1,!0,t,n!=null?n:null,a,o,h,i,u,d,oT),t.context=KE(null),n=t.current,a=ba(n),a=fe(a),o=Zl(a),o.callback=null,Pl(n,o,a),Ao(a,"hydrateRoot()",null),n=a,t.current.lanes=n,k(t,n),ko(t),e[si]=t.current,Ig(e),new Dd(t)},WN.version="19.3.1",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()});var e2=Ns(function(eD,Qp){Qp.exports=me(WO())});var Ke=Ns(function(lD){var xs=me(en());(function(){function l(L){if(L==null)return null;if(typeof L==="function")return L.$$typeof===Ee?null:L.displayName||L.name||null;if(typeof L==="string")return L;switch(L){case w:return"Fragment";case R:return"Profiler";case z:return"StrictMode";case ce:return"Suspense";case G:return"SuspenseList";case Me:return"Activity";case Ne:return"ViewTransition"}if(typeof L==="object")switch(typeof L.tag==="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),L.$$typeof){case B:return"Portal";case Y:return L.displayName||"Context";case H:return(L._context.displayName||"Context")+".Consumer";case P:var ye=L.render;return L=L.displayName,L||(L=ye.displayName||ye.name||"",L=L!==""?"ForwardRef("+L+")":"ForwardRef"),L;case ie:return ye=L.displayName||null,ye!==null?ye:l(L.type)||"Memo";case W:ye=L._payload,L=L._init;try{return l(L(ye))}catch(Se){}}return null}function s(L){return""+L}function r(L){try{s(L);var ye=!1}catch(te){ye=!0}if(ye){ye=console;var Se=ye.error,q=typeof Symbol==="function"&&Symbol.toStringTag&&L[Symbol.toStringTag]||L.constructor.name||"Object";return Se.call(ye,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",q),s(L)}}function c(L){if(L===w)return"<>";if(typeof L==="object"&&L!==null&&L.$$typeof===W)return"<...>";try{var ye=l(L);return ye?"<"+ye+">":"<...>"}catch(Se){return"<...>"}}function f(){var L=xe.A;return L===null?null:L.getOwner()}function p(){return Error("react-stack-top-frame")}function m(L){if(ot.call(L,"key")){var ye=Object.getOwnPropertyDescriptor(L,"key").get;if(ye&&ye.isReactWarning)return!1}return L.key!==void 0}function g(L,ye){function Se(){Oe||(Oe=!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)",ye))}Se.isReactWarning=!0,Object.defineProperty(L,"key",{get:Se,configurable:!0})}function v(){var L=l(this.type);return Ae[L]||(Ae[L]=!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.")),L=this.props.ref,L!==void 0?L:null}function S(L,ye,Se,q,te,Q){var Z=Se.ref;return L={$$typeof:E,type:L,key:ye,props:Se,_owner:q},(Z!==void 0?Z:null)!==null?Object.defineProperty(L,"ref",{enumerable:!1,get:v}):Object.defineProperty(L,"ref",{enumerable:!1,value:null}),L._store={},Object.defineProperty(L._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(L,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(L,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:te}),Object.defineProperty(L,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:Q}),Object.freeze&&(Object.freeze(L.props),Object.freeze(L)),L}function A(L,ye,Se,q,te,Q){var Z=ye.children;if(Z!==void 0)if(q)if(Fn(Z)){for(q=0;q<Z.length;q++)C(Z[q]);Object.freeze&&Object.freeze(Z)}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 C(Z);if(ot.call(ye,"key")){Z=l(L);var J=Object.keys(ye).filter(function(Re){return Re!=="key"});q=0<J.length?"{key: someKey, "+J.join(": ..., ")+": ...}":"{key: someKey}",kn[Z+q]||(J=0<J.length?"{"+J.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
|
|
234
234
|
let props = %s;
|
|
235
235
|
<%s {...props} />
|
|
236
236
|
React keys must be passed directly to JSX without using spread:
|
|
237
237
|
let props = %s;
|
|
238
|
-
<%s key={someKey} {...props} />`,q,Z,J,Z),
|
|
239
|
-
`});if(!r.ok)throw Error(await r.text()||`Could not save (HTTP ${r.status}).`)}}}var nn=me(en(),1);var Z0=(l)=>l&&typeof l==="object"?l:{};function Fo(l){let s=Z0(l),r=[s,...(s.allOf??[]).map(Fo)];if(r.length===1&&!s.oneOf&&!s.anyOf)return s;let c={},f=[];r.forEach((m)=>{Object.assign(c,m.properties??{}),f.push(...m.required??[])});let p=(s.oneOf??s.anyOf)?.map(Fo).find((m)=>m.type!=="null");return{...p??{},...s,properties:Object.keys(c).length?c:p?.properties,required:f}}function Mi(l){let s=Fo(l),r=Array.isArray(s.type)?s.type.find((c)=>c!=="null"):s.type;if(r==="array")return Mi(s.items)+"[]";if(s.format==="date-time"||s.format==="date")return"date-time";if(r==="integer"||r==="number")return"number";return r??(s.properties?"object":"any")}var Jp=(l)=>{let s=Fo(l);return s.type==="object"||!!s.properties},Ms=(l)=>Object.entries(Fo(l).properties??{}).map(([s,r])=>[s,Mi(r)]);function i2(l,s,r,c,f=0){let p=Fo(l);if(Jp(p)){let m=Object.entries(p.properties??{});if(!m.length||f>3){c.push([s,"object",r]);return}let g=new Set(p.required??[]);m.forEach(([v,S])=>{if(!Fo(S).readOnly)i2(S,`${s}/${v}`,r&&g.has(v),c,f+1)})}else c.push([s,Mi(p),r])}function s2(l,s,r,c=0){let f=Fo(l);if(f.type==="array"){if(Jp(f.items))r.push({select:`${s}[*]`,fields:Ms(f.items)});return}if(Jp(f)&&c<4)Object.entries(f.properties??{}).forEach(([p,m])=>s2(m,`${s}.${p}`,r,c+1))}var l2=new WeakMap;function r2(l){let s=l2.get(l);if(s)return s;s=new Map;for(let r of l.operations){let c=r.parameters.map((v)=>[v.pointer,Mi(v.schema),v.required]);if(r.body)i2(r.body.schema,"/body",r.body.required,c);let f=r.responses.find((v)=>/^2/.test(v.status)&&v.schema),p=[];if(f)s2(f.schema,"$",p);let m=f&&!p.length&&Jp(f.schema)?Ms(f.schema):null,g=f?Ms(f.schema).filter(([,v])=>v!=="object"&&!v.endsWith("[]")).map(([v,S])=>[`$.${v}`,S]):[];s.set(r.id,{op:r,req:c,lists:p,one:m,scalars:g})}return l2.set(l,s),s}function c2(l,s){let r=r2(l.catalog),c=[...r.values()],f=new Map(l.descriptors.map((q)=>[q.kind,q])),p=new Map(l.registry.screens.map((q)=>[q.id,q])),m=l.transforms??[],g=l.providers??[],v=n2(l.glossaries??[]),S=(q,te,Q)=>`${q}|${te}|${Q}`,A=new Map;for(let[q,te]of Object.entries(s))for(let Q of te){if(Q.type==="operation"&&!r.has(Q.operation))continue;if(Q.type==="steps"&&Q.steps.some((Z)=>!r.has(Z.operation)))continue;A.set(S(q,Q.component,Q.slot),Q)}let C=(q,te,Q)=>A.get(S(q,te,Q)),T=(q)=>p.get(q),E=(q,te)=>p.get(q)?.components.find((Q)=>Q.bindId===te),k=(q)=>f.get(q.kind),w=(q)=>q?q.slots.filter((te)=>te.role!=="produce"):[],z=new Map,R=(q,te)=>{let Q=(te?"+":"-")+q,Z=z.get(Q);if(Z)return Z;Z=new Set;for(let J of Xp(q))if(Z.add(J),te)(v[J]??[]).forEach((se)=>Z.add(se));return z.set(Q,Z),Z};function H(q,te){let Q=R(q,!1),Z=R(te,!0);if(!Q.size||!Z.size)return 0;let J=0;return Q.forEach((se)=>{if(Z.has(se))J++}),J&&J/Q.size>=0.5?0.6*J/Q.size+0.4*J/Z.size:0}let Y=(q)=>q.replace("[]","");function P(q,te){if(q!=="any"&&te!=="any"&&q.endsWith("[]")!==te.endsWith("[]"))return{ok:!1};let Q=Y(q),Z=Y(te);if(Q==="any"||Z==="any"||Q===Z)return{ok:!0};let J=m.find((se)=>Mi(se.input)===Z&&Mi(se.output)===Q);return J?{ok:!0,transform:J.name}:{ok:!1}}function ce(q,te,Q){let Z=C(q,te,Q);if(!Z||Z.type!=="operation")return null;let J=r.get(Z.operation);if(!J)return null;if(Z.select==="$"&&J.one)return J.one;return J.lists.find((se)=>se.select===Z.select)?.fields??null}function G(q,te,Q){let Z=Z0(Q.schema);if(typeof Z.$ref==="string"&&Z.$ref.startsWith("#slot/")){let J=Z.$ref.slice(6);return{many:!!Q.many,fields:ce(q,te.bindId,J)??[],via:J}}if(Fo(Z).properties)return{many:!!Q.many,fields:Ms(Z)};return{many:!!Q.many,type:Mi(Z)}}function ie(q){if("schema"in q.shape)return{many:!!q.many,fields:Ms(q.shape.schema)};let te=q.shape.from,Q=E(te.screen,te.component),Z=Q&&k(Q),J=Z?.slots.find((se)=>se.id===te.slot);return{many:!!q.many,fields:(J&&Q?G(te.screen,Q,J).fields:null)??[]}}function W(q,te,Q){if(!Q.scope||!te.parent)return null;return ce(q,te.parent,Q.scope.parentSlot)}function Me(q){return T(q).context.find((te)=>te.many)}function Ne(q,te={}){let Q=[],Z=T(q);return te.item?.forEach(([J,se])=>Q.push({expr:`$item.${J}`,label:En(J),name:J,type:se,group:"item"})),Z.components.forEach((J)=>{let se=k(J);se?.slots.filter((Re)=>Re.role==="produce").forEach((Re)=>{let lt=G(q,J,Re);if(lt.fields?.length){if(lt.many)Q.push({expr:`${J.bindId}:${Re.id}`,label:`${J.label} · ${Re.label}`,type:"list",group:"screen",fields:lt.fields});lt.fields.forEach(([Ht,st])=>Q.push({expr:`${J.bindId}:${Re.id}${lt.many?"[*]":""}.${Ht}`,label:`${J.label} · ${En(Ht)}`,name:Ht,type:lt.many?st+"[]":st,group:"screen"}))}else if(lt.via){let Ht=se.slots.find((st)=>st.id===lt.via);Q.push({expr:`${J.bindId}:${Re.id}`,label:`${J.label} · ${Re.label}`,type:"pending",group:"screen",waitsFor:`${J.label} · ${Ht?.label??lt.via}`})}else Q.push({expr:`${J.bindId}:${Re.id}`,label:J.label+(Re.label&&w(se).length+1<se.slots.length?` · ${Re.label}`:""),name:J.label,type:lt.many?"list":lt.type??"any",group:"screen"})})}),Z.context.forEach((J)=>{let se=ie(J);if(J.many)Q.push({expr:`$context.${J.id}`,label:J.label,type:"list",group:"context",fields:se.fields});se.fields.forEach(([Re,lt])=>Q.push({expr:`$context.${J.id}${J.many?"[*]":""}.${Re}`,label:`${J.label} · ${En(Re)}`,name:Re,type:J.many?lt+"[]":lt,group:"context"}))}),g.forEach((J)=>Ms(J.schema).forEach(([se,Re])=>Q.push({expr:`$${J.id}.${se}`,label:`${J.label} · ${En(se)}`,name:`${J.label} ${se}`,type:Re,group:"provider"}))),Q}function Ee(q,te,Q,Z=0.65){let J=[];for(let se of Q){if(se.type==="list"||se.waitsFor)continue;let Re=P(te,se.type);if(!Re.ok)continue;let lt=Math.max(H(q,se.name??se.label),H(q,se.label)*0.9);if(se.group==="screen")lt+=0.12;else if(se.group==="item")lt+=0.05;if(Re.transform)lt-=0.05;if(lt>=Z)J.push({expr:se.expr+(Re.transform?` | ${Re.transform}()`:""),score:lt,source:se})}return J.sort((se,Re)=>Re.score-se.score)}function xe(q,te,Q){return Ee(q,te,Q)[0]??null}function ot(q,te){let Q=q.split("/").filter(Boolean),Z=Q[Q.length-1];if(Xp(Z).length>1)return Z;if(Q[0]==="body")return Q.length>2?`${Q[Q.length-2]} ${Z}`:Z;let J=te.path.split("/").filter((se)=>se&&!se.startsWith("{"));return`${J[J.length-1]??""} ${Z}`}function Fn(q,te){let Q={};return q.req.forEach(([Z,J])=>{let se=xe(ot(Z,q.op),J,te);if(se)Q[Z]=se.expr}),Q}function le(q,te){let Q={},Z=te.map(([J,se])=>({expr:`$item.${J}`,name:J,label:J,type:se,group:"item"}));return q.forEach(([J,se])=>{let Re=xe(J,se,Z);if(Re)Q[J]=Re.expr}),Q}function Oe(q,te){let Q=Me(q);return Ne(q,{item:te??(Q?ie(Q).fields:void 0)})}function Ae(q,te,Q){let Z=T(q),J=R([te.label,...Q.hints?.keywords??[]].join(" "),!0),se=R([Z.label,...Z.path].join(" "),!0),Re=(st)=>{let qt=R([st.id,...st.tags].join(" "),!1);if(!qt.size)return{score:0,near:!1};let wt=0,fa=0;return qt.forEach((an)=>{if(J.has(an))wt++;else if(se.has(an))fa++}),{score:Math.min(1,(wt+0.5*fa)/qt.size),near:wt>0}},lt=Q.role==="trigger"?Oe(q):Ne(q),Ht=lt.filter((st)=>st.group==="screen"&&st.type!=="list").length||1;return c.map((st)=>{let qt=[],wt=0,fa=0,an=(oe,mn,An)=>{if(wt+=oe*mn,fa+=oe,mn>=0.5&&An)qt.push(An)},Ot=st.op,ql=Fn(st,lt);if(Q.role==="consume"){let oe=G(q,te,Q),mn=oe.many?st.lists.length?1:0:oe.fields?.length?st.one||st.lists.length?0.7:0:st.scalars.some(([,An])=>P(oe.type??"any",An).ok)||st.one?0.7:0;an(0.3,mn,oe.many?"Returns a list":"Returns a matching value"),an(0.15,Ot.intent==="read"?1:Ot.intent?0:0.5,Ot.intent==="read"?"Reads data":null)}else{an(0.2,st.req.length?0.8:0.2,null),an(0.15,Ot.intent==="write"?1:Ot.intent==="read"?0.1:0.5,Ot.intent==="write"?"Saves data":null);let oe=st.req.filter(([An])=>An.startsWith("/body/")),mn=Object.entries(ql).filter(([An,sl])=>An.startsWith("/body/")&&!sl.startsWith("$")).length;an(0.3,oe.length?Math.min(1,mn/Math.min(Ht,oe.length)):0,mn?`Uses ${mn} values from this screen`:null)}let Xa=st.req.filter((oe)=>oe[2]);if(Xa.length){let oe=Xa.filter(([mn])=>ql[mn]).length;an(0.25,oe/Xa.length,oe===Xa.length?"All required inputs available":null)}else an(0.25,1,null);if(Ot.product)an(0.1,Ot.product===Z.path[0]?1:0,Ot.product===Z.path[0]?`From ${Ot.product}`:null);let ze=Re(Ot);return an(0.35,ze.score,ze.score>=0.5?ze.near?`Name fits “${te.label}”`:"Name fits this screen":null),{view:st,score:fa?wt/fa:0,reasons:qt}}).sort((st,qt)=>qt.score-st.score)}function Ye(q,te,Q){let Z=C(q,te,Q);return!Z?"unbound":Z.state==="confirmed"?"bound":"suggested"}function Ce(q,te){let Q=w(k(te));if(!Q.length)return"bound";let Z=Q.map((se)=>Ye(q,te.bindId,se.id));if(Z.includes("suggested"))return"suggested";if(Z.every((se)=>se==="bound"))return"bound";let J=Q.filter((se)=>se.required);if(J.length&&J.every((se)=>Ye(q,te.bindId,se.id)==="bound")&&Z.includes("bound"))return"bound";return Z.includes("bound")?"partial":"unbound"}function Bn(q){let te={bound:0,suggested:0,unbound:0,total:0};return q.forEach((Q)=>Q.components.forEach((Z)=>{if(!w(k(Z)).length)return;let J=Ce(Q.id,Z);te[J==="partial"?"unbound":J]++,te.total++})),te}let L=(q,te)=>te==="$"?q.one??[]:q.lists.find((Q)=>Q.select===te)?.fields??[];function ye(q,te,Q,Z,J=!1){let se=r.get(Z);if(!se)return null;let Re=G(q,te,Q),lt=Re.fields&&!Re.via?Re.fields:null,Ht;if(Re.many)Ht=se.lists[0]?.select;else if(lt)Ht=se.one?"$":se.lists[0]?.select;else{let st=se.scalars.map(([qt,wt])=>({expr:qt,label:En(qt),name:qt.slice(2),type:wt,group:"item"}));if(Ht=(Ee(Q.label,Re.type??"any",st)[0]??Ee(`${te.label} ${Q.label}`,Re.type??"any",st)[0])?.expr.split(" | ")[0],!Ht&&!J)Ht=se.scalars.find(([,qt])=>P(Re.type??"any",qt).ok)?.[0]}if(!Ht){if(J)return null;Ht="$"}return{component:te.bindId,slot:Q.id,type:"operation",operation:Z,select:Ht,request:Fn(se,Ne(q)),map:lt?le(lt,L(se,Ht)):void 0,load:"open",origin:"suggested",state:"draft"}}function Se(q,te,Q,Z){return w(k(te)).filter((J)=>J.role==="consume"&&!J.scope&&J.id!==Q.id&&!C(q,te.bindId,J.id)).map((J)=>ye(q,te,J,Z,!0)).filter((J)=>!!J)}return{fw:l,OPV:r,OPS:c,DESC:f,SCR:p,getB:C,screen:T,compOf:E,descOf:k,bindable:w,typeFit:P,shapeOf:G,contextShape:ie,scopeFields:W,sources:Ne,triggerSources:Oe,bestSource:xe,rankSources:Ee,proposeRequest:Fn,proposeMap:le,rank:Ae,slotState:Ye,compState:Ce,tally:Bn,manyContext:Me,fieldsAt:L,proposeConsume:ye,siblingFills:Se}}function u2(l){let s=new Set(l.descriptors.map((m)=>m.kind)),r=[],c=new Set(l.registry.screens.map((m)=>m.id)),f=new Set,p=l.registry.screens.map((m)=>{if(!J0.test(m.id))return r.push({severity:"error",screen:m.id,code:"registry.invalid-id",message:`Screen id "${m.id}" must be lowercase kebab-case segments joined by dots.`}),{...m,components:[]};let g=m.components.filter((S)=>{if(!J0.test(S.bindId))return r.push({severity:"error",screen:m.id,component:S.bindId,code:"registry.invalid-id",message:`Component id "${S.bindId}" must be lowercase kebab-case segments joined by dots.`}),!1;if(!s.has(S.kind))return r.push({severity:"error",screen:m.id,component:S.bindId,code:"registry.unknown-kind",message:`"${S.label}" uses ${S.kind}, which has no descriptor.`}),!1;if(f.has(S.bindId))return r.push({severity:"error",screen:m.id,component:S.bindId,code:"registry.duplicate-id",message:`Component id "${S.bindId}" is used twice.`}),!1;return f.add(S.bindId),!0}).filter((S)=>!S.parent||f.has(S.parent)||(r.push({severity:"error",screen:m.id,component:S.bindId,code:"registry.missing-parent",message:`"${S.label}" names a parent that is not on the screen.`}),!1)),v=m.parent&&c.has(m.parent)?m.parent:void 0;return{...m,components:g,parent:v}});return{registry:{...l.registry,screens:p},issues:r}}var W0=me(en(),1);var P0=me(Ke(),1);function Kp({open:l,children:s}){return P0.jsx("div",{className:"abs-collapse"+(l?" is-open":""),"aria-hidden":!l,children:P0.jsx("div",{className:"abs-collapse-in",children:s})})}var ee=me(Ke(),1),lD={search:ee.jsxs(ee.Fragment,{children:[ee.jsx("circle",{cx:"7.25",cy:"7.25",r:"4.5"}),ee.jsx("path",{d:"m13.5 13.5-2.9-2.9"})]}),check:ee.jsx("path",{d:"m3.5 8.25 3 3 6-6.5"}),bound:ee.jsxs(ee.Fragment,{children:[ee.jsx("circle",{cx:"8",cy:"8",r:"6"}),ee.jsx("path",{d:"m5.6 8.1 1.7 1.7 3.2-3.4"})]}),suggested:ee.jsxs(ee.Fragment,{children:[ee.jsx("circle",{cx:"8",cy:"8",r:"6"}),ee.jsx("circle",{cx:"8",cy:"8",r:"2",fill:"currentColor",stroke:"none"})]}),partial:ee.jsxs(ee.Fragment,{children:[ee.jsx("circle",{cx:"8",cy:"8",r:"6"}),ee.jsx("path",{d:"M8 2a6 6 0 0 1 0 12z",fill:"currentColor",stroke:"none"})]}),unbound:ee.jsx("circle",{cx:"8",cy:"8",r:"6",strokeDasharray:"2.2 2.4"}),data:ee.jsxs(ee.Fragment,{children:[ee.jsx("ellipse",{cx:"8",cy:"4",rx:"5",ry:"1.75"}),ee.jsx("path",{d:"M3 4v8c0 .97 2.24 1.75 5 1.75s5-.78 5-1.75V4M3 8c0 .97 2.24 1.75 5 1.75S13 8.97 13 8"})]}),action:ee.jsx("path",{d:"M8.75 1.75 3.75 9h4.5l-1 5.25 5-7.25h-4.5z"}),row:ee.jsxs(ee.Fragment,{children:[ee.jsx("rect",{x:"2",y:"3",width:"12",height:"10",rx:"2"}),ee.jsx("path",{d:"M2 7h12"})]}),plus:ee.jsx("path",{d:"M8 3.25v9.5M3.25 8h9.5"}),chevronRight:ee.jsx("path",{d:"m6.25 3.75 4.25 4.25-4.25 4.25"}),chevronDown:ee.jsx("path",{d:"m3.75 6.25 4.25 4.25 4.25-4.25"}),close:ee.jsx("path",{d:"m4.25 4.25 7.5 7.5M11.75 4.25l-7.5 7.5"}),screen:ee.jsxs(ee.Fragment,{children:[ee.jsx("rect",{x:"1.75",y:"2.75",width:"12.5",height:"10.5",rx:"2"}),ee.jsx("path",{d:"M1.75 6h12.5"})]}),dialog:ee.jsxs(ee.Fragment,{children:[ee.jsx("rect",{x:"1.75",y:"2.75",width:"12.5",height:"10.5",rx:"2"}),ee.jsx("rect",{x:"4.75",y:"6",width:"6.5",height:"4.5",rx:"1"})]}),api:ee.jsx("path",{d:"M5.25 4.5 1.75 8l3.5 3.5M10.75 4.5 14.25 8l-3.5 3.5M9.25 3l-2.5 10"}),trash:ee.jsx("path",{d:"M2.75 4.25h10.5M6.25 4.25v-1.5h3.5v1.5M4.25 4.25l.6 8.5a1 1 0 0 0 1 .9h4.3a1 1 0 0 0 1-.9l.6-8.5"}),link:ee.jsx("path",{d:"M6.75 9.25a2.75 2.75 0 0 0 3.9 0l2-2a2.75 2.75 0 0 0-3.9-3.9l-.6.6M9.25 6.75a2.75 2.75 0 0 0-3.9 0l-2 2a2.75 2.75 0 0 0 3.9 3.9l.6-.6"}),repeat:ee.jsxs(ee.Fragment,{children:[ee.jsx("path",{d:"m11.25 1.75 2 2-2 2"}),ee.jsx("path",{d:"M2.75 7.5v-.75a3 3 0 0 1 3-3h7.5M4.75 14.25l-2-2 2-2"}),ee.jsx("path",{d:"M13.25 8.5v.75a3 3 0 0 1-3 3h-7.5"})]}),arrowLeft:ee.jsx("path",{d:"M13 8H3m4-4L3 8l4 4"}),component:ee.jsx("rect",{x:"2.5",y:"2.5",width:"11",height:"11",rx:"2"}),pointer:ee.jsx("path",{d:"m3.25 3.25 3.5 9.5 1.5-4 4-1.5zM8.75 8.75l3.5 3.5"}),refresh:ee.jsx("path",{d:"M13.25 8A5.25 5.25 0 1 1 11.7 4.3M13.25 2.5v2.75H10.5"}),list:ee.jsx("path",{d:"M5.75 4h7.5M5.75 8h7.5M5.75 12h7.5M2.75 4h.01M2.75 8h.01M2.75 12h.01"}),todo:ee.jsxs(ee.Fragment,{children:[ee.jsx("circle",{cx:"8",cy:"8",r:"6",strokeDasharray:"2.2 2.4"}),ee.jsx("path",{d:"M8 5.5V8l1.75 1.25"})]}),target:ee.jsxs(ee.Fragment,{children:[ee.jsx("circle",{cx:"8",cy:"8",r:"6"}),ee.jsx("circle",{cx:"8",cy:"8",r:"3"}),ee.jsx("circle",{cx:"8",cy:"8",r:".6",fill:"currentColor"})]}),apply:ee.jsx("path",{d:"M12.75 3.25v3.5a2 2 0 0 1-2 2h-7.5m3-3-3 3 3 3"}),info:ee.jsxs(ee.Fragment,{children:[ee.jsx("circle",{cx:"8",cy:"8",r:"6"}),ee.jsx("path",{d:"M8 7.25v3.5M8 5.25h.01"})]}),settings:ee.jsxs(ee.Fragment,{children:[ee.jsx("path",{d:"M6.6 1.75h2.8l.4 1.7 1.3.75 1.65-.55 1.4 2.43-1.25 1.17v1.5l1.25 1.17-1.4 2.43-1.65-.55-1.3.75-.4 1.7H6.6l-.4-1.7-1.3-.75-1.65.55-1.4-2.43 1.25-1.17v-1.5L1.85 6.08l1.4-2.43 1.65.55 1.3-.75z"}),ee.jsx("circle",{cx:"8",cy:"8",r:"2"})]}),download:ee.jsx("path",{d:"M8 2.75v7.5m-3-3 3 3 3-3M2.75 11.75v.5a1 1 0 0 0 1 1h8.5a1 1 0 0 0 1-1v-.5"}),upload:ee.jsx("path",{d:"M8 10.25v-7.5m-3 3 3-3 3 3M2.75 11.75v.5a1 1 0 0 0 1 1h8.5a1 1 0 0 0 1-1v-.5"}),alert:ee.jsxs(ee.Fragment,{children:[ee.jsx("circle",{cx:"8",cy:"8",r:"6"}),ee.jsx("path",{d:"M8 5v3.25M8 10.75h.01"})]})};function be({name:l,size:s=16,className:r}){return ee.jsx("svg",{className:"abs-ico "+(r??""),width:s,height:s,viewBox:"0 0 16 16",fill:"none",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",focusable:"false",children:lD[l]})}function tc({svg:l}){if(l&&/^\s*<svg[\s>]/i.test(l)){let s=/xmlns=/.test(l)?l:l.replace(/<svg/i,'<svg xmlns="http://www.w3.org/2000/svg"'),r=`url("data:image/svg+xml,${encodeURIComponent(s)}")`;return ee.jsx("span",{className:"abs-kico","aria-hidden":"true",children:ee.jsx("span",{className:"abs-kico-m",style:{maskImage:r,WebkitMaskImage:r}})})}return ee.jsx("span",{className:"abs-kico","aria-hidden":"true",children:ee.jsx(be,{name:"component"})})}var F0={bound:"Connected",suggested:"Needs review",partial:"Partly connected",unbound:"Not connected"},f2=(l)=>F0[l];function nc({state:l,size:s=16}){return ee.jsxs("span",{className:`abs-state abs-state-${l}`,title:F0[l],children:[ee.jsx(be,{name:l,size:s}),ee.jsx("span",{className:"abs-sr",children:F0[l]})]})}function d2({done:l,total:s,size:r=18,stroke:c=2.5}){let f=s?l/s:0;if(r<=16){let g=r/4-0.25,v=2*Math.PI*g,S=r/2;return ee.jsxs("svg",{className:"abs-ring abs-pie"+(s&&l===s?" is-done":""),width:r,height:r,viewBox:`0 0 ${r} ${r}`,"aria-hidden":"true",children:[ee.jsx("circle",{cx:S,cy:S,r:S-0.75,strokeWidth:1.5,className:"abs-ring-bg"}),ee.jsx("circle",{cx:S,cy:S,r:g,strokeWidth:g*2,className:"abs-ring-fg",strokeDasharray:v,strokeDashoffset:v*(1-f),transform:`rotate(-90 ${S} ${S})`})]})}let p=(r-c)/2,m=2*Math.PI*p;return ee.jsxs("svg",{className:"abs-ring"+(s&&l===s?" is-done":""),width:r,height:r,viewBox:`0 0 ${r} ${r}`,"aria-hidden":"true",children:[ee.jsx("circle",{cx:r/2,cy:r/2,r:p,strokeWidth:c,className:"abs-ring-bg"}),ee.jsx("circle",{cx:r/2,cy:r/2,r:p,strokeWidth:c,className:"abs-ring-fg",strokeDasharray:m,strokeDashoffset:m*(1-f),transform:`rotate(-90 ${r/2} ${r/2})`})]})}var kl=me(en(),1),p2=me(Ke(),1);function xi(l){let s=kl.useRef(null),r=kl.useRef(null),c=kl.useCallback((m)=>{let g=s.current,v=r.current;if(!g||!v)return;if(!m){v.style.opacity="0";return}let S=m.getBoundingClientRect(),A=g.getBoundingClientRect(),C=v.style.opacity!=="1";v.style.transition=C?"opacity 120ms ease":"",v.style.transform=`translate(${S.left-A.left+g.scrollLeft}px, ${S.top-A.top+g.scrollTop}px)`,v.style.width=`${S.width}px`,v.style.height=`${S.height}px`,v.style.opacity="1"},[]);kl.useEffect(()=>{if(l!==void 0)c(l)},[l,c]);let f=kl.useMemo(()=>({onPointerOver:(m)=>{if(l!==void 0)return;c(m.target.closest("[data-glide]"))},onPointerLeave:()=>{if(l===void 0)c(null)}}),[l,c]);return{ref:s,handlers:f,indicator:p2.jsx("span",{ref:r,className:"abs-glide","aria-hidden":"true"}),moveTo:c}}var Pe=me(Ke(),1);function h2({engine:l,screen:s,selected:r,onSelect:c}){let[f,p]=W0.useState(!1),[m,g]=W0.useState({}),v=s.components.filter((R)=>l.bindable(l.descOf(R)).length),S=new Map;v.forEach((R)=>{if(R.parent)S.set(R.parent,[...S.get(R.parent)??[],R])});let A=(R)=>S.get(R)??[],C=l.tally([s]),T=(R)=>l.compState(s.id,R)!=="bound",E=(R)=>!f||T(R)||A(R.bindId).some(E),k=xi(),w=(R,H)=>{let Y=A(R.bindId).filter(E),P=m[R.bindId]??!0,ce=l.descOf(R);return Pe.jsxs("div",{role:"listitem",children:[Pe.jsxs("div",{"data-glide":!0,className:"abs-comp"+(R.bindId===r?" is-on":""),style:{paddingLeft:8+H*24},children:[Y.length?Pe.jsx("button",{type:"button",className:"abs-iconbtn abs-twist",onClick:()=>g((G)=>({...G,[R.bindId]:!P})),"aria-label":P?"Collapse":"Expand","aria-expanded":P,children:Pe.jsx(be,{name:"chevronRight",size:14,className:P?"abs-rot90":""})}):Pe.jsx("span",{className:"abs-twist"}),Pe.jsxs("button",{type:"button",className:"abs-comp-main",onClick:()=>c(R.bindId),"aria-current":R.bindId===r?"true":void 0,children:[Pe.jsx(tc,{svg:ce.icon}),Pe.jsx("span",{className:"abs-comp-l",children:R.label}),Pe.jsxs("span",{className:"abs-comp-k",children:[ce.label,Y.length?` · ${Y.length}`:""]}),Pe.jsx(nc,{state:l.compState(s.id,R)})]})]}),Y.length>0&&Pe.jsx(Kp,{open:P,children:Y.map((G)=>w(G,H+1))})]},R.bindId)},z=v.filter(T).length;return Pe.jsxs("div",{className:"abs-center abs-scroll",children:[Pe.jsxs("header",{className:"abs-screen-h",children:[Pe.jsxs("div",{className:"abs-screen-t",children:[Pe.jsx("div",{className:"abs-crumbs",children:[...s.path,...s.parent?[l.SCR.get(s.parent)?.label]:[]].join(" / ")}),Pe.jsx("h1",{children:s.label})]}),Pe.jsxs("div",{className:"abs-progress",children:[Pe.jsx(d2,{done:C.bound,total:C.total,size:36,stroke:3.5}),Pe.jsxs("div",{children:[Pe.jsxs("b",{children:[C.bound,Pe.jsxs("span",{children:["/",C.total]})]}),Pe.jsx("small",{children:"connected"})]})]})]}),Pe.jsxs("div",{className:"abs-seg",role:"group","aria-label":"Show",children:[Pe.jsx("span",{className:"abs-seg-thumb",style:{transform:`translateX(${f?100:0}%)`},"aria-hidden":"true"}),Pe.jsxs("button",{type:"button",className:!f?"is-on":"",onClick:()=>p(!1),"aria-pressed":!f,children:[Pe.jsx(be,{name:"list",size:14}),"All",Pe.jsx("span",{children:v.length})]}),Pe.jsxs("button",{type:"button",className:f?"is-on":"",onClick:()=>p(!0),"aria-pressed":f,children:[Pe.jsx(be,{name:"todo",size:14}),"To do",Pe.jsx("span",{children:z})]})]}),Pe.jsxs("div",{className:"abs-comps abs-glide-box",role:"list",ref:k.ref,...k.handlers,children:[k.indicator,v.filter((R)=>!R.parent&&E(R)).map((R)=>w(R,0)),f&&!z&&Pe.jsxs("div",{className:"abs-done",children:[Pe.jsx(be,{name:"bound",size:24}),Pe.jsx("b",{children:"Everything here is connected"})]})]})]})}var ra=me(en(),1);var dn=me(Ke(),1);function m2({engine:l,onGo:s}){let[r,c]=ra.useState(""),[f,p]=ra.useState(!1),[m,g]=ra.useState(0),v=ra.useRef(null),S=ra.useRef(null),A=xi(null),C=A.ref,T=ra.useMemo(()=>l.fw.registry.screens.flatMap((R)=>[{hit:{screen:R},text:[R.label,...R.path].join(" ").toLowerCase()},...R.components.filter((H)=>l.bindable(l.descOf(H)).length).map((H)=>({hit:{screen:R,comp:H},text:[H.label,l.descOf(H).label,R.label].join(" ").toLowerCase()}))]),[l.fw]),E=ra.useMemo(()=>{let R=r.trim().toLowerCase().split(/\s+/).filter(Boolean);if(!R.length)return[];return T.filter((H)=>R.every((Y)=>H.text.includes(Y))).sort((H,Y)=>Number(!H.text.startsWith(R[0]))-Number(!Y.text.startsWith(R[0]))).slice(0,40).map((H)=>H.hit)},[r,T]);ra.useEffect(()=>{let R=(Y)=>{if((Y.metaKey||Y.ctrlKey)&&Y.key.toLowerCase()==="k")Y.preventDefault(),v.current?.focus(),p(!0)},H=(Y)=>{if(!S.current?.contains(Y.target))p(!1)};return window.addEventListener("keydown",R),document.addEventListener("pointerdown",H),()=>{window.removeEventListener("keydown",R),document.removeEventListener("pointerdown",H)}},[]),ra.useEffect(()=>g(0),[r]),ra.useEffect(()=>{let R=C.current?.querySelector(`[data-i="${m}"]`)??null;R?.scrollIntoView({block:"nearest"}),A.moveTo(R)},[m,E,C,A]);let k=(R)=>{s(R.screen.id,R.comp?.bindId),p(!1),c(""),v.current?.blur()},w=(R)=>{if(R.key==="ArrowDown")R.preventDefault(),g((H)=>Math.min(E.length-1,H+1));else if(R.key==="ArrowUp")R.preventDefault(),g((H)=>Math.max(0,H-1));else if(R.key==="Enter"&&E[m])k(E[m]);else if(R.key==="Escape"&&(z||r))R.preventDefault(),p(!1),c("")},z=f&&r.trim().length>0;return dn.jsxs("div",{className:"abs-find",ref:S,children:[dn.jsxs("div",{className:"abs-find-box",children:[dn.jsx(be,{name:"search",className:"abs-c-muted"}),dn.jsx("input",{ref:v,value:r,onChange:(R)=>{c(R.target.value),p(!0)},onFocus:()=>p(!0),onKeyDown:w,placeholder:"Find a component or screen","aria-label":"Find a component or screen",role:"combobox","aria-expanded":z,"aria-controls":"abs-find-list"}),dn.jsx("kbd",{children:"Ctrl K"})]}),dn.jsxs("div",{className:"abs-pop abs-find-pop abs-glide-box"+(z?" is-open":""),role:"listbox",id:"abs-find-list",ref:C,children:[A.indicator,z&&!E.length?dn.jsxs("div",{className:"abs-empty-sm",children:["Nothing matches “",r,"”. Try a screen or component name."]}):null,z?E.map((R,H)=>{let Y=R.comp&&l.descOf(R.comp);return dn.jsxs("div",{"data-i":H,role:"option","aria-selected":H===m,className:"abs-opt"+(H===m?" is-active":""),onPointerEnter:()=>g(H),onPointerDown:(P)=>{P.preventDefault(),k(R)},children:[R.comp?dn.jsx(tc,{svg:Y?.icon}):dn.jsx("span",{className:"abs-kico",children:dn.jsx(be,{name:R.screen.parent?"dialog":"screen"})}),dn.jsxs("span",{className:"abs-opt-t",children:[dn.jsx("span",{children:R.comp?.label??R.screen.label}),dn.jsx("code",{children:R.comp?`${Y?.label} · ${R.screen.label}`:R.screen.path.join(" / ")})]}),R.comp?dn.jsx(nc,{state:l.compState(R.screen.id,R.comp)}):dn.jsx("span",{className:"abs-nav-count",children:iD(l.tally([R.screen]))})]},R.screen.id+(R.comp?.bindId??""))}):null]})]})}var iD=(l)=>`${l.bound}/${l.total}`;var Kn=me(en(),1);var ac=me(Ke(),1);function sD(l,s,r,c=8,f=8){let p=l.top-c-s.height>=f||l.bottom+c+s.height>r.height-f?"top":"bottom",m=p==="top"?l.top-c-s.height:l.bottom+c,g=l.left+l.width/2-s.width/2,v=Math.min(Math.max(g,f),Math.max(f,r.width-f-s.width));return{top:Math.max(f,m),left:v,side:p}}var rD=250;function g2({text:l}){let s=Kn.useId(),r=Kn.useRef(null),c=Kn.useRef(null),f=Kn.useRef(void 0),[p,m]=Kn.useState(!1),g=Kn.useCallback((S)=>{clearTimeout(f.current),f.current=setTimeout(()=>m(!0),S)},[]),v=Kn.useCallback(()=>{clearTimeout(f.current),m(!1)},[]);return Kn.useEffect(()=>()=>clearTimeout(f.current),[]),Kn.useLayoutEffect(()=>{let S=c.current,A=r.current;if(!p||!S||!A)return;S.showPopover();let C=sD(A.getBoundingClientRect(),S.getBoundingClientRect(),{width:innerWidth,height:innerHeight});S.style.top=`${C.top}px`,S.style.left=`${C.left}px`,S.dataset.side=C.side;let T=(E)=>{if(E.key==="Escape")E.preventDefault(),v()};return addEventListener("scroll",v,!0),addEventListener("resize",v),addEventListener("keydown",T),()=>{if(removeEventListener("scroll",v,!0),removeEventListener("resize",v),removeEventListener("keydown",T),S.matches(":popover-open"))S.hidePopover()}},[p,v]),ac.jsxs("span",{className:"abs-tip",children:[ac.jsx("button",{ref:r,type:"button",className:"abs-tip-btn","aria-describedby":s,"aria-label":"More information",onClick:(S)=>S.stopPropagation(),onPointerEnter:()=>g(rD),onPointerLeave:v,onFocus:(S)=>{if(S.currentTarget.matches(":focus-visible"))g(0)},onBlur:v,children:ac.jsx(be,{name:"info",size:14})}),ac.jsx("span",{ref:c,role:"tooltip",id:s,popover:"manual",className:"abs-tip-body",children:l})]})}var Fp=me(en(),1);var Tn=me(en(),1);var at=me(Ke(),1),Zp=(l)=>l.op.summary?.trim()||`${l.op.method} ${l.op.path}`;function y2({method:l}){return at.jsx("span",{className:`abs-method abs-method-${l.toLowerCase()}`,children:l})}function oc({engine:l,ranked:s,value:r,onPick:c,label:f="Choose API",autoOpen:p=!1}){let[m,g]=Tn.useState(p),[v,S]=Tn.useState(""),[A,C]=Tn.useState(0),T=Tn.useRef(null),E=xi(null),k=E.ref,w=Tn.useId(),z=Tn.useMemo(()=>m?s().filter((G)=>G.score>=0.4).slice(0,3):[],[m,s]),R=Tn.useMemo(()=>{if(!m)return[];let G=v.trim().toLowerCase(),ie=(Ee)=>!G||[Ee.op.id,Ee.op.summary,Ee.op.path,...Ee.op.tags].join(" ").toLowerCase().includes(G),W=[];if(!G)z.forEach((Ee)=>W.push({v:Ee.view,best:Ee,group:"Best matches"}));let Me=new Set(W.map((Ee)=>Ee.v.op.id)),Ne=(Ee)=>[Ee.op.product,Ee.op.tags[0]??"Other"].filter(Boolean).join(" · ");return[...l.OPS].sort((Ee,xe)=>Ne(Ee).localeCompare(Ne(xe))||Zp(Ee).localeCompare(Zp(xe))).forEach((Ee)=>{if(!Me.has(Ee.op.id)&&ie(Ee))W.push({v:Ee,group:Ne(Ee)})}),W},[m,v,z,l]);Tn.useEffect(()=>{if(!m)return;let G=(ie)=>{if(!T.current?.contains(ie.target))g(!1)};return document.addEventListener("pointerdown",G),()=>document.removeEventListener("pointerdown",G)},[m]),Tn.useEffect(()=>{C(0)},[v,m]),Tn.useEffect(()=>{let G=k.current?.querySelector(`[data-i="${A}"]`)??null;G?.scrollIntoView({block:"nearest"}),E.moveTo(G)},[A,R,k,E]);let H=(G)=>{c(G),g(!1),S("")},Y=(G)=>{if(G.key==="ArrowDown")G.preventDefault(),C((ie)=>Math.min(R.length-1,ie+1));else if(G.key==="ArrowUp")G.preventDefault(),C((ie)=>Math.max(0,ie-1));else if(G.key==="Enter"&&R[A])G.preventDefault(),H(R[A].v.op.id);else if(G.key==="Escape")G.preventDefault(),g(!1)},P=r?l.OPV.get(r):void 0,ce="";return at.jsxs("div",{className:"abs-picker",ref:T,children:[P?at.jsxs("button",{type:"button",className:"abs-opcard",onClick:()=>g((G)=>!G),"aria-expanded":m,children:[at.jsx(y2,{method:P.op.method}),at.jsxs("span",{className:"abs-opcard-t",children:[at.jsx("b",{children:Zp(P)}),at.jsx("code",{children:P.op.path})]}),at.jsx("span",{className:"abs-link",children:"Change"})]}):at.jsxs("button",{type:"button",className:"abs-btn abs-btn-dashed",onClick:()=>g((G)=>!G),"aria-expanded":m,children:[at.jsx(be,{name:"api"})," ",f]}),m?at.jsxs("div",{className:"abs-pop",role:"dialog","aria-label":"Choose an API",children:[at.jsxs("div",{className:"abs-pop-search",children:[at.jsx(be,{name:"search"}),at.jsx("input",{autoFocus:!0,value:v,onChange:(G)=>S(G.target.value),onKeyDown:Y,placeholder:`Search ${l.OPS.length} APIs`,role:"combobox","aria-expanded":"true","aria-controls":w,"aria-activedescendant":R[A]?`${w}-${A}`:void 0})]}),at.jsxs("div",{className:"abs-pop-list abs-glide-box",ref:k,id:w,role:"listbox",children:[E.indicator,R.length===0?at.jsxs("div",{className:"abs-empty-sm",children:["No API matches “",v,"”. Search by name, path or tag."]}):null,R.map((G,ie)=>{let W=G.group!==ce?ce=G.group:null;return at.jsxs(Tn.Fragment,{children:[W?at.jsx("div",{className:"abs-pop-group",role:"presentation",children:W==="Best matches"?at.jsxs(at.Fragment,{children:[at.jsx(be,{name:"target",size:12})," Best matches"]}):W}):null,at.jsxs("div",{id:`${w}-${ie}`,"data-i":ie,role:"option","aria-selected":ie===A,className:"abs-opt"+(ie===A?" is-active":"")+(G.v.op.id===r?" is-current":""),onPointerEnter:()=>C(ie),onPointerDown:(Me)=>{Me.preventDefault(),H(G.v.op.id)},children:[at.jsx(y2,{method:G.v.op.method}),at.jsxs("span",{className:"abs-opt-t",children:[at.jsx("span",{children:Zp(G.v)}),at.jsx("code",{children:G.v.op.path})]}),G.v.op.id===r?at.jsx(be,{name:"check",className:"abs-c-accent"}):null]})]},G.group+G.v.op.id)})]}),R[A]?.best?.reasons.length?at.jsxs("div",{className:"abs-pop-why","aria-live":"polite",children:[at.jsx(be,{name:"info",size:14}),at.jsxs("span",{children:[at.jsx("b",{children:"Why suggested:"})," ",R[A].best.reasons.join(" · ")]})]}):null]}):null]})}var S2=me(en(),1);var b2={item:"Row",screen:"This screen",context:"Passed in",provider:"App"};var Ll=me(Ke(),1);function v2({engine:l,value:s,type:r,sources:c,onChange:f,id:p}){let m=c.filter((A)=>A.waitsFor),g=c.filter((A)=>A.type!=="list"&&!A.waitsFor).map((A)=>({s:A,fit:l.typeFit(r,A.type)})).filter((A)=>A.fit.ok),v=new Map;g.forEach((A)=>{let C=b2[A.s.group];v.set(C,[...v.get(C)??[],A])});let S=!s||g.some((A)=>A.s.expr+(A.fit.transform?` | ${A.fit.transform}()`:"")===s);return Ll.jsxs("select",{id:p,className:"abs-select"+(s?"":" is-empty"),value:s??"",onChange:(A)=>f(A.target.value||void 0),children:[Ll.jsx("option",{value:"",children:"Not set"}),!S&&Ll.jsx("option",{value:s,children:s}),[...v].map(([A,C])=>Ll.jsx("optgroup",{label:A,children:C.map(({s:T,fit:E})=>Ll.jsx("option",{value:T.expr+(E.transform?` | ${E.transform}()`:""),children:T.label},T.expr))},A)),m.length>0&&Ll.jsx("optgroup",{label:"Connect first",children:m.map((A)=>Ll.jsxs("option",{disabled:!0,children:[A.label,": connect ",A.waitsFor]},A.expr))})]})}var ca=me(Ke(),1);function Pp({engine:l,view:s,request:r,sources:c,onChange:f,idp:p}){let m=[...s.req].sort((w,z)=>Number(z[2])-Number(w[2])),g=m.filter((w)=>w[2]),v=m.filter((w)=>!w[2]),S=m.filter(([w])=>r[w]).length,[A,C]=S2.useState(!1);if(!m.length)return null;let T=([w,z,R])=>ca.jsxs("div",{className:"abs-map-row",children:[ca.jsxs("label",{htmlFor:p+w,title:w,children:[En(w),R&&ca.jsx("span",{className:"abs-req","aria-label":"required",children:"*"})]}),ca.jsx(be,{name:"arrowLeft",size:14,className:"abs-c-muted"}),ca.jsx(v2,{engine:l,id:p+w,type:z,value:r[w],sources:c,onChange:(H)=>{let Y={...r};if(H)Y[w]=H;else delete Y[w];f(Y)}})]},w),E=v.filter(([w])=>A||r[w]),k=g.length+E.length;return ca.jsxs("div",{className:"abs-block",children:[k>0&&ca.jsxs("div",{className:"abs-block-h",children:[ca.jsx("span",{children:"Sends"}),ca.jsxs("span",{className:"abs-count",children:[S,"/",m.length]})]}),k>0&&ca.jsxs("div",{className:"abs-map",children:[g.map(T),E.map(T)]}),v.length>E.length&&ca.jsxs("button",{type:"button",className:"abs-link abs-more",onClick:()=>C(!0),children:[ca.jsx(be,{name:"plus",size:14})," ",k?`${v.length-E.length} more inputs`:`Add inputs (${v.length} optional)`]})]})}var Tt=me(Ke(),1);function E2(l){let{engine:s,screen:r,comp:c,slot:f,put:p}=l,m=s.getB(r,c.bindId,f.id),g=s.shapeOf(r,c,f),v=Fp.useCallback(()=>s.rank(r,c,f),[s,r,c,f]),S=Fp.useMemo(()=>s.sources(r),[s,r]),A=m?.type==="operation"?m:void 0,C=A?s.OPV.get(A.operation):void 0,T=(R)=>{let H=s.proposeConsume(r,c,f,R);if(!H)return;let Y=A?[]:s.siblingFills(r,c,f,R);[H,...Y].forEach(p)},E=s.fieldsAt,k=(R)=>A&&p({...A,...R,state:"draft"}),w=g.fields&&!g.via?g.fields:null,z=C?g.many||w?[...C.lists.map((R)=>[R.select,R.fields.length]),...C.one?[["$",0]]:[]]:C.scalars.map(([R])=>[R,0]):[];return Tt.jsxs(Tt.Fragment,{children:[Tt.jsx(oc,{engine:s,ranked:v,value:A?.operation,onPick:T}),C&&A&&Tt.jsxs(Tt.Fragment,{children:[z.length>1&&Tt.jsxs("div",{className:"abs-field",children:[Tt.jsx("label",{htmlFor:`sel-${c.bindId}-${f.id}`,children:g.many||w?"Use list":"Use value"}),Tt.jsx("select",{id:`sel-${c.bindId}-${f.id}`,className:"abs-select",value:A.select,onChange:(R)=>k({select:R.target.value,map:w?s.proposeMap(w,E(C,R.target.value)):void 0}),children:z.map(([R])=>Tt.jsx("option",{value:R,children:R==="$"?"Whole response":En(R)},R))})]}),w&&Tt.jsxs("div",{className:"abs-block",children:[Tt.jsx("div",{className:"abs-block-h",children:Tt.jsx("span",{children:"Shows"})}),Tt.jsx("div",{className:"abs-map",children:w.map(([R,H])=>Tt.jsxs("div",{className:"abs-map-row",children:[Tt.jsx("label",{htmlFor:`map-${c.bindId}-${R}`,children:En(R)}),Tt.jsx(be,{name:"arrowLeft",size:14,className:"abs-c-muted"}),Tt.jsxs("select",{id:`map-${c.bindId}-${R}`,className:"abs-select"+(A.map?.[R]?"":" is-empty"),value:A.map?.[R]??"",onChange:(Y)=>{let P={...A.map??{}};if(Y.target.value)P[R]=Y.target.value;else delete P[R];k({map:P})},children:[Tt.jsx("option",{value:"",children:"Not set"}),E(C,A.select).map(([Y,P])=>[Y,s.typeFit(H,P)]).filter(([,Y])=>Y.ok).map(([Y,P])=>Tt.jsx("option",{value:`$item.${Y}${P.transform?` | ${P.transform}()`:""}`,children:En(Y)},Y))]})]},R))})]}),Tt.jsx(Pp,{engine:s,view:C,request:A.request,sources:S,onChange:(R)=>k({request:R}),idp:`req-${c.bindId}-${f.id}`}),Tt.jsxs("div",{className:"abs-field abs-field-inline",children:[Tt.jsx("label",{htmlFor:`load-${c.bindId}-${f.id}`,children:"Load"}),Tt.jsxs("select",{id:`load-${c.bindId}-${f.id}`,className:"abs-select abs-select-sm",value:A.load==="demand"?"demand":"open",onChange:(R)=>k({load:R.target.value}),children:[Tt.jsx("option",{value:"open",children:"When the screen opens"}),Tt.jsx("option",{value:"demand",children:"When first used"})]})]})]})]})}var pn=me(Ke(),1);function T2({engine:l,screen:s,comp:r,slot:c,put:f,goTo:p}){let m=l.getB(s,r.bindId,c.id),g=l.scopeFields(s,r,c),v=r.parent?l.compOf(s,r.parent):void 0;if(!g?.length)return pn.jsxs("div",{className:"abs-hint",children:[pn.jsx(be,{name:"link"}),pn.jsxs("span",{children:["Uses data from ",pn.jsx("b",{children:v?.label}),"."]}),v&&pn.jsx("button",{type:"button",className:"abs-link",onClick:()=>p(v.bindId),children:"Connect it first"})]});let S=l.shapeOf(s,r,c).type??"any",A=g.map(([E,k])=>({expr:`$item.${E}`,label:En(E),name:E,type:k,group:"item"})),C=!m?l.rankSources(r.label,S,A,0.45).slice(0,3):[],T=`scope-${r.bindId}-${c.id}`;return pn.jsxs(pn.Fragment,{children:[pn.jsxs("div",{className:"abs-field",children:[pn.jsxs("label",{htmlFor:T,children:["Field from ",v?.label]}),pn.jsxs("select",{id:T,className:"abs-select"+(m?"":" is-empty"),value:m?.value??"",onChange:(E)=>E.target.value&&f({component:r.bindId,slot:c.id,type:"expression",value:E.target.value,origin:"manual",state:"draft"}),children:[pn.jsx("option",{value:"",children:"Choose a field"}),A.filter((E)=>l.typeFit(S,E.type).ok).map((E)=>pn.jsx("option",{value:E.expr,children:E.label},E.expr))]})]}),C.length>0&&pn.jsx("div",{className:"abs-suggests",children:C.map((E)=>pn.jsxs("button",{type:"button",className:"abs-suggest",onClick:()=>f({component:r.bindId,slot:c.id,type:"expression",value:E.expr,origin:"suggested",state:"draft"}),children:[pn.jsx(be,{name:"apply",size:14})," ",E.source.label]},E.expr))})]})}var eh=me(en(),1);var Wp=me(en(),1);var $t=me(Ke(),1);function w2({engine:l,screen:s,comp:r,slot:c,step:f,index:p,total:m,onChange:g,onRemove:v,onMove:S}){let A=Wp.useCallback(()=>l.rank(s,r,c),[l,s,r,c]),C=l.manyContext(s),T=l.OPV.get(f.operation),E=Wp.useMemo(()=>f.forEach?l.triggerSources(s):l.sources(s),[l,s,f]);return $t.jsxs("div",{className:"abs-step",children:[$t.jsxs("div",{className:"abs-step-h",children:[$t.jsx("span",{className:"abs-step-n",children:p+1}),$t.jsx(be,{name:"api",className:"abs-c-muted"}),$t.jsx("span",{className:"abs-step-t",children:"Call API"}),$t.jsxs("span",{className:"abs-step-tools",children:[p>0&&$t.jsx("button",{type:"button",className:"abs-iconbtn",onClick:()=>S(-1),"aria-label":"Move up",children:$t.jsx(be,{name:"chevronDown",className:"abs-rot180"})}),p<m-1&&$t.jsx("button",{type:"button",className:"abs-iconbtn",onClick:()=>S(1),"aria-label":"Move down",children:$t.jsx(be,{name:"chevronDown"})}),$t.jsx("button",{type:"button",className:"abs-iconbtn",onClick:v,"aria-label":"Remove step",children:$t.jsx(be,{name:"trash"})})]})]}),T&&$t.jsxs("div",{className:"abs-step-b",children:[$t.jsx(oc,{engine:l,ranked:A,value:f.operation,onPick:(k)=>g({...f,operation:k,request:l.proposeRequest(l.OPV.get(k),E)})}),C&&$t.jsxs("label",{className:"abs-toggle",children:[$t.jsx("input",{type:"checkbox",checked:!!f.forEach,onChange:(k)=>g({...f,forEach:k.target.checked?`$context.${C.id}`:void 0})}),$t.jsx("span",{className:"abs-toggle-ui","aria-hidden":"true"}),$t.jsx(be,{name:"repeat",size:14,className:"abs-c-muted"})," Run for each ",$t.jsx("span",{className:"abs-toggle-of",children:C.label})]}),$t.jsx(Pp,{engine:l,view:T,request:f.request,sources:E,onChange:(k)=>g({...f,request:k}),idp:`st-${r.bindId}-${p}-`})]})]})}var xn=me(Ke(),1);function O2(l){let{engine:s,screen:r,comp:c,slot:f,put:p}=l,m=s.getB(r,c.bindId,f.id),g=m?.type==="steps"?m.steps:[],[v,S]=eh.useState(!1),A=(w)=>w.length?p({component:c.bindId,slot:f.id,type:"steps",steps:w,origin:m?.origin??"manual",state:"draft"}):l.drop(),C=()=>p({component:c.bindId,slot:f.id,type:"none",origin:"manual",state:"confirmed"}),T=s.manyContext(r),E=eh.useCallback(()=>s.rank(r,c,f),[s,r,c,f]);if(m?.type==="none")return xn.jsxs("div",{className:"abs-hint",children:[xn.jsx(be,{name:"check"}),xn.jsx("span",{children:"Calls no API."})]});let k=(w)=>{let z=s.OPV.get(w),R=T?`$context.${T.id}`:void 0,H=1+Math.max(0,...g.map((Y)=>Number(Y.id.replace(/^s/,""))||0));A([...g,{type:"call",id:`s${H}`,operation:w,request:s.proposeRequest(z,s.triggerSources(r)),forEach:R,onError:"stop"}]),S(!1)};return xn.jsxs("div",{className:"abs-steps",children:[g.map((w,z)=>xn.jsx(w2,{...l,step:w,index:z,total:g.length,onChange:(R)=>A(g.map((H,Y)=>Y===z?R:H)),onRemove:()=>A(g.filter((R,H)=>H!==z)),onMove:(R)=>{let H=[...g];[H[z],H[z+R]]=[H[z+R],H[z]],A(H)}},z)),v?xn.jsxs("div",{className:"abs-addstep",children:[xn.jsx(oc,{engine:s,ranked:E,onPick:k,label:"Call API",autoOpen:!0}),xn.jsx("button",{type:"button",className:"abs-link abs-more",onClick:()=>S(!1),children:"Cancel"})]}):xn.jsxs(xn.Fragment,{children:[xn.jsxs("button",{type:"button",className:"abs-btn abs-btn-dashed",onClick:()=>S(!0),children:[xn.jsx(be,{name:"plus"})," ",g.length?"Call another API":"Call an API"]}),!g.length&&xn.jsx("button",{type:"button",className:"abs-link abs-more",onClick:C,children:"No API needed"})]})]})}var hn=me(Ke(),1),A2={consume:"Data this component shows. Pick the API that returns it.",scoped:"A value shown for each row. Pick the field from the row's data.",trigger:"What happens when this is used. Pick the API calls it makes, or mark it as calling none."};function C2(l){let{engine:s,screen:r,comp:c,slot:f}=l,p=s.slotState(r,c.bindId,f.id),m=s.getB(r,c.bindId,f.id),g=f.role==="trigger"?"trigger":f.scope?"scoped":"consume";return hn.jsxs("section",{className:`abs-slot abs-slot-${p}`,"aria-labelledby":`slot-${c.bindId}-${f.id}`,children:[hn.jsxs("header",{className:"abs-slot-h",children:[hn.jsx(be,{name:g==="trigger"?"action":g==="scoped"?"row":"data",className:"abs-c-muted"}),hn.jsxs("h3",{id:`slot-${c.bindId}-${f.id}`,children:[f.label,f.required?hn.jsx("span",{className:"abs-req","aria-label":"required",children:"*"}):null]}),hn.jsx(g2,{text:f.description?`${f.description}. ${A2[g]}`:A2[g]}),hn.jsxs("span",{className:`abs-pill abs-pill-${p}`,children:[hn.jsx(nc,{state:p,size:13}),f2(p)]})]}),hn.jsx("div",{className:"abs-slot-b",children:g==="trigger"?hn.jsx(O2,{...l}):g==="scoped"?hn.jsx(T2,{...l}):hn.jsx(E2,{...l})}),m?hn.jsxs("footer",{className:"abs-slot-f"+(p==="suggested"?"":" is-plain"),children:[p==="suggested"?hn.jsxs("button",{type:"button",className:"abs-btn abs-btn-primary",onClick:()=>l.put({...m,state:"confirmed"}),children:[hn.jsx(be,{name:"check"})," Confirm"]}):null,hn.jsx("button",{type:"button",className:"abs-btn abs-btn-ghost",onClick:l.drop,children:p==="suggested"?"Discard":m.type==="none"?"Undo":"Disconnect"})]}):null]})}var zn=me(Ke(),1);function R2({engine:l,screen:s,comp:r,put:c,drop:f,goTo:p,onClose:m}){let g=l.descOf(r),v=r.parent?l.compOf(s.id,r.parent):void 0;return zn.jsxs("aside",{className:"abs-insp abs-enter","aria-label":`${r.label} settings`,children:[zn.jsxs("header",{className:"abs-insp-h",children:[zn.jsx(tc,{svg:g.icon}),zn.jsxs("div",{children:[zn.jsx("h2",{children:r.label}),zn.jsxs("span",{children:[g.label,v&&zn.jsxs(zn.Fragment,{children:[" in ",zn.jsx("button",{type:"button",className:"abs-link",onClick:()=>p(v.bindId),children:v.label})]})]})]}),zn.jsx("button",{type:"button",className:"abs-iconbtn",onClick:m,"aria-label":"Close panel",children:zn.jsx(be,{name:"close"})})]}),zn.jsx("div",{className:"abs-insp-b abs-scroll",children:l.bindable(g).map((S)=>zn.jsx(C2,{engine:l,screen:s.id,comp:r,slot:S,put:c,drop:()=>f(r.bindId,S.id),goTo:p},r.bindId+S.id))})]})}var Wo=me(en(),1);var Lt=me(Ke(),1);function cD(l){let s={key:"",name:"",nodes:[],screens:[],all:[]};for(let r of l){let c=s;c.all.push(r);for(let f of r.path.length?r.path:["Other"]){let p=c.key+"/"+f,m=c.nodes.find((g)=>g.key===p);if(!m)m={key:p,name:f,nodes:[],screens:[],all:[]},c.nodes.push(m);c=m,c.all.push(r)}if(!r.parent)c.screens.push(r)}return s.nodes}function _2({engine:l,current:s,onPick:r}){let[c,f]=Wo.useState(""),[p,m]=Wo.useState({}),g=l.fw.registry.screens,v=Wo.useMemo(()=>cD(g),[g]),S=Wo.useMemo(()=>{let w=new Map;return g.forEach((z)=>{if(z.parent)w.set(z.parent,[...w.get(z.parent)??[],z])}),w},[g]),A=c.trim().toLowerCase(),C=(w)=>!A||[w.label,...w.path].join(" ").toLowerCase().includes(A);Wo.useEffect(()=>{let w=g.find((z)=>z.id===s)?.path??[];m((z)=>{let R={...z};return w.forEach((H,Y)=>{R["/"+w.slice(0,Y+1).join("/")]=!0}),R})},[s,g]);let T=xi(),E=(w,z)=>{let R=S.get(w.id)??[];if(!(C(w)||R.some(C)))return null;let H=l.tally([w]);return Lt.jsxs(Wo.Fragment,{children:[Lt.jsxs("button",{type:"button","data-glide":!0,className:"abs-nav-item"+(w.id===s?" is-on":""),style:{paddingLeft:12+z*16},onClick:()=>r(w.id),"aria-current":w.id===s?"page":void 0,"aria-label":`${w.label}, ${H.bound} of ${H.total} connected`,children:[Lt.jsx(be,{name:w.parent?"dialog":"screen"}),Lt.jsx("span",{className:"abs-nav-l",children:w.label}),H.total>0&&H.bound===H.total?Lt.jsx(be,{name:"check",size:14,className:"abs-c-ok"}):Lt.jsxs("span",{className:"abs-nav-count",children:[H.bound,"/",H.total]})]}),R.map((Y)=>E(Y,z+1))]},w.id)},k=(w,z)=>{if(A&&!w.all.some(C))return null;let R=!!A||!!p[w.key],H=l.tally(w.all),Y=w.all.some((P)=>P.id===s);return Lt.jsxs("div",{className:"abs-tree",role:"treeitem","aria-expanded":R,children:[Lt.jsxs("button",{type:"button","data-glide":!0,className:"abs-nav-group-h"+(Y?" has-current":""),style:{paddingLeft:12+z*16},onClick:()=>m((P)=>({...P,[w.key]:!R})),"aria-expanded":R,"aria-label":`${w.name}, ${H.bound} of ${H.total} connected`,children:[Lt.jsx("span",{className:"abs-nav-l",children:w.name}),Lt.jsxs("span",{className:"abs-nav-count",children:[H.bound,"/",H.total]}),Lt.jsx(be,{name:"chevronRight",size:14,className:"abs-chev"+(R?" abs-rot90":"")})]}),Lt.jsx(Kp,{open:R,children:Lt.jsxs("div",{role:"group",children:[w.nodes.map((P)=>k(P,z+1)),w.screens.map((P)=>E(P,z+1))]})})]},w.key)};return Lt.jsxs("nav",{className:"abs-nav","aria-label":"Screens",children:[Lt.jsx("div",{className:"abs-nav-head",children:Lt.jsxs("div",{className:"abs-search",children:[Lt.jsx(be,{name:"search",className:"abs-c-muted",size:14}),Lt.jsx("input",{value:c,onChange:(w)=>f(w.target.value),placeholder:"Filter screens","aria-label":"Filter screens"})]})}),Lt.jsxs("div",{className:"abs-nav-scroll abs-scroll abs-glide-box",role:"tree","aria-label":"Products",ref:T.ref,...T.handlers,children:[T.indicator,Lt.jsx("div",{className:"abs-eyebrow abs-eyebrow-sm",children:"Products"}),v.map((w)=>k(w,0)),A&&!g.some(C)?Lt.jsxs("div",{className:"abs-empty-sm",children:["No screen matches “",c,"”."]}):null]})]})}var bo=me(en(),1);var Il=me(en(),1);var th=Symbol.for("yaml.alias"),nh=Symbol.for("yaml.document"),co=Symbol.for("yaml.map"),eb=Symbol.for("yaml.pair"),_a=Symbol.for("yaml.scalar"),Hl=Symbol.for("yaml.seq"),Zn=Symbol.for("yaml.node.type"),uo=(l)=>!!l&&typeof l==="object"&&l[Zn]===th,el=(l)=>!!l&&typeof l==="object"&&l[Zn]===nh,fo=(l)=>!!l&&typeof l==="object"&&l[Zn]===co,Fe=(l)=>!!l&&typeof l==="object"&&l[Zn]===eb,Ve=(l)=>!!l&&typeof l==="object"&&l[Zn]===_a,po=(l)=>!!l&&typeof l==="object"&&l[Zn]===Hl;function ft(l){if(l&&typeof l==="object")switch(l[Zn]){case co:case Hl:return!0}return!1}function et(l){if(l&&typeof l==="object")switch(l[Zn]){case th:case co:case _a:case Hl:return!0}return!1}var ah=(l)=>(Ve(l)||ft(l))&&!!l.anchor;var ua=Symbol("break visit"),N2=Symbol("skip children"),tl=Symbol("remove node");function nl(l,s){let r=D2(s);if(el(l)){if(lc(null,l.contents,r,Object.freeze([l]))===tl)l.contents=null}else lc(null,l,r,Object.freeze([]))}nl.BREAK=ua;nl.SKIP=N2;nl.REMOVE=tl;function lc(l,s,r,c){let f=M2(l,s,r,c);if(et(f)||Fe(f))return x2(l,c,f),lc(l,f,r,c);if(typeof f!=="symbol"){if(ft(s)){c=Object.freeze(c.concat(s));for(let p=0;p<s.items.length;++p){let m=lc(p,s.items[p],r,c);if(typeof m==="number")p=m-1;else if(m===ua)return ua;else if(m===tl)s.items.splice(p,1),p-=1}}else if(Fe(s)){c=Object.freeze(c.concat(s));let p=lc("key",s.key,r,c);if(p===ua)return ua;else if(p===tl)s.key=null;let m=lc("value",s.value,r,c);if(m===ua)return ua;else if(m===tl)s.value=null}}return f}async function oh(l,s){let r=D2(s);if(el(l)){if(await ic(null,l.contents,r,Object.freeze([l]))===tl)l.contents=null}else await ic(null,l,r,Object.freeze([]))}oh.BREAK=ua;oh.SKIP=N2;oh.REMOVE=tl;async function ic(l,s,r,c){let f=await M2(l,s,r,c);if(et(f)||Fe(f))return x2(l,c,f),ic(l,f,r,c);if(typeof f!=="symbol"){if(ft(s)){c=Object.freeze(c.concat(s));for(let p=0;p<s.items.length;++p){let m=await ic(p,s.items[p],r,c);if(typeof m==="number")p=m-1;else if(m===ua)return ua;else if(m===tl)s.items.splice(p,1),p-=1}}else if(Fe(s)){c=Object.freeze(c.concat(s));let p=await ic("key",s.key,r,c);if(p===ua)return ua;else if(p===tl)s.key=null;let m=await ic("value",s.value,r,c);if(m===ua)return ua;else if(m===tl)s.value=null}}return f}function D2(l){if(typeof l==="object"&&(l.Collection||l.Node||l.Value))return Object.assign({Alias:l.Node,Map:l.Node,Scalar:l.Node,Seq:l.Node},l.Value&&{Map:l.Value,Scalar:l.Value,Seq:l.Value},l.Collection&&{Map:l.Collection,Seq:l.Collection},l);return l}function M2(l,s,r,c){if(typeof r==="function")return r(l,s,c);if(fo(s))return r.Map?.(l,s,c);if(po(s))return r.Seq?.(l,s,c);if(Fe(s))return r.Pair?.(l,s,c);if(Ve(s))return r.Scalar?.(l,s,c);if(uo(s))return r.Alias?.(l,s,c);return}function x2(l,s,r){let c=s[s.length-1];if(ft(c))c.items[l]=r;else if(Fe(c))if(l==="key")c.key=r;else c.value=r;else if(el(c))c.contents=r;else{let f=uo(c)?"alias":"scalar";throw Error(`Cannot replace node with ${f} parent`)}}var uD={"!":"%21",",":"%2C","[":"%5B","]":"%5D","{":"%7B","}":"%7D"},fD=(l)=>l.replace(/[!,[\]{}]/g,(s)=>uD[s]);class wn{constructor(l,s){this.docStart=null,this.docEnd=!1,this.yaml=Object.assign({},wn.defaultYaml,l),this.tags=Object.assign({},wn.defaultTags,s)}clone(){let l=new wn(this.yaml,this.tags);return l.docStart=this.docStart,l}atDocument(){let l=new wn(this.yaml,this.tags);switch(this.yaml.version){case"1.1":this.atNextDocument=!0;break;case"1.2":this.atNextDocument=!1,this.yaml={explicit:wn.defaultYaml.explicit,version:"1.2"},this.tags=Object.assign({},wn.defaultTags);break}return l}add(l,s){if(this.atNextDocument)this.yaml={explicit:wn.defaultYaml.explicit,version:"1.1"},this.tags=Object.assign({},wn.defaultTags),this.atNextDocument=!1;let r=l.trim().split(/[ \t]+/),c=r.shift();switch(c){case"%TAG":{if(r.length!==2){if(s(0,"%TAG directive should contain exactly two parts"),r.length<2)return!1}let[f,p]=r;return this.tags[f]=p,!0}case"%YAML":{if(this.yaml.explicit=!0,r.length!==1)return s(0,"%YAML directive should contain exactly one part"),!1;let[f]=r;if(f==="1.1"||f==="1.2")return this.yaml.version=f,!0;else{let p=/^\d+\.\d+$/.test(f);return s(6,`Unsupported YAML version ${f}`,p),!1}}default:return s(0,`Unknown directive ${c}`,!0),!1}}tagName(l,s){if(l==="!")return"!";if(l[0]!=="!")return s(`Not a valid tag: ${l}`),null;if(l[1]==="<"){let p=l.slice(2,-1);if(p==="!"||p==="!!")return s(`Verbatim tags aren't resolved, so ${l} is invalid.`),null;if(l[l.length-1]!==">")s("Verbatim tags must end with a >");return p}let[,r,c]=l.match(/^(.*!)([^!]*)$/s);if(!c)s(`The ${l} tag has no suffix`);let f=this.tags[r];if(f)try{return f+decodeURIComponent(c)}catch(p){return s(String(p)),null}if(r==="!")return l;return s(`Could not resolve tag: ${l}`),null}tagString(l){for(let[s,r]of Object.entries(this.tags))if(l.startsWith(r))return s+fD(l.substring(r.length));return l[0]==="!"?l:`!<${l}>`}toString(l){let s=this.yaml.explicit?[`%YAML ${this.yaml.version||"1.2"}`]:[],r=Object.entries(this.tags),c;if(l&&r.length>0&&et(l.contents)){let f={};nl(l.contents,(p,m)=>{if(et(m)&&m.tag)f[m.tag]=!0}),c=Object.keys(f)}else c=[];for(let[f,p]of r){if(f==="!!"&&p==="tag:yaml.org,2002:")continue;if(!l||c.some((m)=>m.startsWith(p)))s.push(`%TAG ${f} ${p}`)}return s.join(`
|
|
240
|
-
`)}}wn.defaultYaml={explicit:!1,version:"1.2"};wn.defaultTags={"!!":"tag:yaml.org,2002:"};function lh(l){if(/[\x00-\x19\s,[\]{}]/.test(l)){let r=`Anchor must not contain whitespace or control characters: ${JSON.stringify(l)}`;throw Error(r)}return!0}function tb(l){let s=new Set;return nl(l,{Value(r,c){if(c.anchor)s.add(c.anchor)}}),s}function nb(l,s){for(let r=1;;++r){let c=`${l}${r}`;if(!s.has(c))return c}}function z2(l,s){let r=[],c=new Map,f=null;return{onAnchor:(p)=>{r.push(p),f??(f=tb(l));let m=nb(s,f);return f.add(m),m},setAnchors:()=>{for(let p of r){let m=c.get(p);if(typeof m==="object"&&m.anchor&&(Ve(m.node)||ft(m.node)))m.node.anchor=m.anchor;else{let g=Error("Failed to resolve repeated object (this should not happen)");throw g.source=p,g}}},sourceObjects:c}}function zi(l,s,r,c){if(c&&typeof c==="object")if(Array.isArray(c))for(let f=0,p=c.length;f<p;++f){let m=c[f],g=zi(l,c,String(f),m);if(g===void 0)delete c[f];else if(g!==m)c[f]=g}else if(c instanceof Map)for(let f of Array.from(c.keys())){let p=c.get(f),m=zi(l,c,f,p);if(m===void 0)c.delete(f);else if(m!==p)c.set(f,m)}else if(c instanceof Set)for(let f of Array.from(c)){let p=zi(l,c,f,f);if(p===void 0)c.delete(f);else if(p!==f)c.delete(f),c.add(p)}else for(let[f,p]of Object.entries(c)){let m=zi(l,c,f,p);if(m===void 0)delete c[f];else if(m!==p)c[f]=m}return l.call(s,r,c)}function tn(l,s,r){if(Array.isArray(l))return l.map((c,f)=>tn(c,String(f),r));if(l&&typeof l.toJSON==="function"){if(!r||!ah(l))return l.toJSON(s,r);let c={aliasCount:0,count:1,res:void 0};r.anchors.set(l,c),r.onCreate=(p)=>{c.res=p,delete r.onCreate};let f=l.toJSON(s,r);if(r.onCreate)r.onCreate(f);return f}if(typeof l==="bigint"&&!r?.keep)return Number(l);return l}class zs{constructor(l){Object.defineProperty(this,Zn,{value:l})}clone(){let l=Object.create(Object.getPrototypeOf(this),Object.getOwnPropertyDescriptors(this));if(this.range)l.range=this.range.slice();return l}toJS(l,{mapAsMap:s,maxAliasCount:r,onAnchor:c,reviver:f}={}){if(!el(l))throw TypeError("A document argument is required");let p={anchors:new Map,doc:l,keep:!0,mapAsMap:s===!0,mapKeyWarned:!1,maxAliasCount:typeof r==="number"?r:100},m=tn(this,"",p);if(typeof c==="function")for(let{count:g,res:v}of p.anchors.values())c(v,g);return typeof f==="function"?zi(f,{"":m},"",m):m}}class Ui extends zs{constructor(l){super(th);this.source=l,Object.defineProperty(this,"tag",{set(){throw Error("Alias nodes cannot have tags")}})}resolve(l,s){if(s?.maxAliasCount===0)throw ReferenceError("Alias resolution is disabled");let r;if(s?.aliasResolveCache)r=s.aliasResolveCache;else if(r=[],nl(l,{Node:(f,p)=>{if(uo(p)||ah(p))r.push(p)}}),s)s.aliasResolveCache=r;let c=void 0;for(let f of r){if(f===this)break;if(f.anchor===this.source)c=f}if(c&&s){let{anchors:f,doc:p,maxAliasCount:m}=s,g=f.get(c);if(!g)tn(c,null,s),g=f.get(c);if(g?.res===void 0)throw ReferenceError("This should not happen: Alias anchor was not resolved?");if(m>=0){if(g.count+=1,g.aliasCount===0)g.aliasCount=ih(p,c,f);if(g.count*g.aliasCount>m)throw ReferenceError("Excessive alias count indicates a resource exhaustion attack")}}return c}toJSON(l,s){if(!s)return{source:this.source};let r=this.resolve(s.doc,s);if(!r){let c=`Unresolved alias (the anchor must be set before the alias): ${this.source}`;throw ReferenceError(c)}return s.anchors.get(r).res}toString(l,s,r){let c=`*${this.source}`;if(l){if(lh(this.source),l.options.verifyAliasOrder&&!l.anchors.has(this.source)){let f=`Unresolved alias (the anchor must be set before the alias): ${this.source}`;throw Error(f)}if(l.implicitKey)return`${c} `}return c}}function ih(l,s,r){if(uo(s)){let c=s.resolve(l),f=r&&c&&r.get(c);return f?f.count*f.aliasCount:0}else if(ft(s)){let c=0;for(let f of s.items){let p=ih(l,f,r);if(p>c)c=p}return c}else if(Fe(s)){let c=ih(l,s.key,r),f=ih(l,s.value,r);return Math.max(c,f)}return 1}var sh=(l)=>!l||typeof l!=="function"&&typeof l!=="object";class ge extends zs{constructor(l){super(_a);this.value=l}toJSON(l,s){return s?.keep?this.value:tn(this.value,l,s)}toString(){return String(this.value)}}ge.BLOCK_FOLDED="BLOCK_FOLDED";ge.BLOCK_LITERAL="BLOCK_LITERAL";ge.PLAIN="PLAIN";ge.QUOTE_DOUBLE="QUOTE_DOUBLE";ge.QUOTE_SINGLE="QUOTE_SINGLE";var
|
|
238
|
+
<%s key={someKey} {...props} />`,q,Z,J,Z),kn[Z+q]=!0)}if(Z=null,Se!==void 0&&(r(Se),Z=""+Se),m(ye)&&(r(ye.key),Z=""+ye.key),"key"in ye){Se={};for(var se in ye)se!=="key"&&(Se[se]=ye[se])}else Se=ye;return Z&&g(Se,typeof L==="function"?L.displayName||L.name||"Unknown":L),S(L,Z,Se,f(),te,Q)}function C(L){T(L)?L._store&&(L._store.validated=1):typeof L==="object"&&L!==null&&L.$$typeof===W&&(L._payload.status==="fulfilled"?T(L._payload.value)&&L._payload.value._store&&(L._payload.value._store.validated=1):L._store&&(L._store.validated=1))}function T(L){return typeof L==="object"&&L!==null&&L.$$typeof===E}var E=Symbol.for("react.transitional.element"),B=Symbol.for("react.portal"),w=Symbol.for("react.fragment"),z=Symbol.for("react.strict_mode"),R=Symbol.for("react.profiler"),H=Symbol.for("react.consumer"),Y=Symbol.for("react.context"),P=Symbol.for("react.forward_ref"),ce=Symbol.for("react.suspense"),G=Symbol.for("react.suspense_list"),ie=Symbol.for("react.memo"),W=Symbol.for("react.lazy"),Me=Symbol.for("react.activity"),Ne=Symbol.for("react.view_transition"),Ee=Symbol.for("react.client.reference"),xe=xs.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,ot=Object.prototype.hasOwnProperty,Fn=Array.isArray,le=console.createTask?console.createTask:function(){return null};xs={react_stack_bottom_frame:function(L){return L()}};var Oe,Ae={},Ye=xs.react_stack_bottom_frame.bind(xs,p)(),Ce=le(c(p)),kn={};lD.Fragment=w,lD.jsx=function(L,ye,Se){var q=1e4>xe.recentlyCreatedOwnerStacks++;if(q){var te=Error.stackTraceLimit;Error.stackTraceLimit=10;var Q=Error("react-stack-top-frame");Error.stackTraceLimit=te}else Q=Ye;return A(L,ye,Se,!1,Q,q?le(c(L)):Ce)},lD.jsxs=function(L,ye,Se){var q=1e4>xe.recentlyCreatedOwnerStacks++;if(q){var te=Error.stackTraceLimit;Error.stackTraceLimit=10;var Q=Error("react-stack-top-frame");Error.stackTraceLimit=te}else Q=Ye;return A(L,ye,Se,!0,Q,q?le(c(L)):Ce)}})()});var xA=me(en(),1),zA=me(e2(),1);var t2=(l)=>l.length>3&&l.endsWith("s")?l.slice(0,-1):l;function n2(l){let s={};return l.forEach((r)=>r.synonyms.forEach((c)=>{let f=c.map((p)=>t2(p.toLowerCase()));f.forEach((p)=>{s[p]=f})})),s}function Xp(l){return l.replace(/([a-z0-9])([A-Z])/g,"$1 $2").toLowerCase().split(/[^a-z0-9]+/).filter((s)=>s.length>1).map(t2)}function En(l){let r=(l.replace(/^\$\.?/,"").replace(/\[\*\]/g,"").split(/[./]/).filter(Boolean).pop()??l).replace(/([a-z0-9])([A-Z])/g,"$1 $2").replace(/[_-]+/g," ").toLowerCase().trim();return r?r[0].toUpperCase()+r.slice(1):l}var J0=/^[a-z][a-z0-9-]*(\.[a-z0-9-]+)+$/,tD=new Set(["operation","expression","steps","none"]);function nD(l){let s;try{s=JSON.parse(l)}catch{throw Error("The bindings file is not valid JSON.")}return aD(s)}function aD(l){let s=l;if(!s||typeof s!=="object")throw Error("The bindings file must be a JSON object.");if(s.version!==3)throw Error('The bindings file must have "version": 3.');if(typeof s.openapi!=="string"||!s.openapi)throw Error('The bindings file needs "openapi": the docs URL or a path.');for(let r of["kinds","screens","components","bindings"])if(!Array.isArray(s[r]))throw Error(`"${r}" must be a list.`);if(s.bindings.forEach((r,c)=>{let f=r;if(!f||typeof f.component!=="string"||typeof f.slot!=="string"||!tD.has(f.type))throw Error(`Binding ${c+1} needs "component", "slot" and a known "type".`)}),s.output&&(typeof s.output.dir!=="string"||typeof s.output.client!=="string"))throw Error('"output" needs "dir" and "client".');return s}function Pu(l,s){let r;for(let c of s)if(l.startsWith(c+".")&&(!r||c.length>r.length))r=c;return r}function oD(l,s){return[...new Set(s.operations.map((c)=>c.product).filter((c)=>!!c))].find((c)=>c.toLowerCase().replace(/[^a-z0-9]+/g,"-")===l)??En(l)}function a2(l,s){let r=[],c=l.screens.map((v)=>v.id),f=l.screens.map((v)=>({id:v.id,label:v.label,description:v.description,context:v.context??[],components:[],path:[oD(v.id.split(".")[0],s)],parent:Pu(v.id,c)})),p=new Map(f.map((v)=>[v.id,v])),m=new Set(c);for(let v of l.components){if(m.has(v.id)){r.push({severity:"error",screen:v.id,component:v.id,code:"registry.id-clash",message:`"${v.id}" is both a screen and a component id.`});continue}let S=Pu(v.id,c);if(!S){r.push({severity:"error",screen:"",component:v.id,code:"registry.no-screen",message:`"${v.id}" starts with no registered screen id.`});continue}p.get(S).components.push({bindId:v.id,kind:v.kind,label:v.label,parent:v.parent,info:v.info})}let g={};for(let v of l.bindings){let S=Pu(v.component,c);if(!S){r.push({severity:"error",screen:"",component:v.component,slot:v.slot,code:"binding.no-screen",message:`Binding for "${v.component}" fits no screen.`});continue}(g[S]??=[]).push(v)}return{fw:{descriptors:l.kinds,registry:{registryVersion:1,screens:f},catalog:s,glossaries:l.glossaries},index:g,issues:r}}function K0(l,s){let r=new Map(l.components.map((f,p)=>[f.id,p])),c=Object.values(s).flat().sort((f,p)=>(r.get(f.component)??1e9)-(r.get(p.component)??1e9)||f.slot.localeCompare(p.slot));return{...l,bindings:c}}function o2(l){return{async load(){let s=await fetch(l,{cache:"no-store"});if(!s.ok)throw Error(`Could not read the bindings file (HTTP ${s.status}).`);return nD(await s.text())},async save(s){let r=await fetch(l,{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify(s,null,2)+`
|
|
239
|
+
`});if(!r.ok)throw Error(await r.text()||`Could not save (HTTP ${r.status}).`)}}}var nn=me(en(),1);var Z0=(l)=>l&&typeof l==="object"?l:{};function Fo(l){let s=Z0(l),r=[s,...(s.allOf??[]).map(Fo)];if(r.length===1&&!s.oneOf&&!s.anyOf)return s;let c={},f=[];r.forEach((m)=>{Object.assign(c,m.properties??{}),f.push(...m.required??[])});let p=(s.oneOf??s.anyOf)?.map(Fo).find((m)=>m.type!=="null");return{...p??{},...s,properties:Object.keys(c).length?c:p?.properties,required:f}}function Mi(l){let s=Fo(l),r=Array.isArray(s.type)?s.type.find((c)=>c!=="null"):s.type;if(r==="array")return Mi(s.items)+"[]";if(s.format==="date-time"||s.format==="date")return"date-time";if(r==="integer"||r==="number")return"number";return r??(s.properties?"object":"any")}var Jp=(l)=>{let s=Fo(l);return s.type==="object"||!!s.properties},Ms=(l)=>Object.entries(Fo(l).properties??{}).map(([s,r])=>[s,Mi(r)]);function i2(l,s,r,c,f=0){let p=Fo(l);if(Jp(p)){let m=Object.entries(p.properties??{});if(!m.length||f>3){c.push([s,"object",r]);return}let g=new Set(p.required??[]);m.forEach(([v,S])=>{if(!Fo(S).readOnly)i2(S,`${s}/${v}`,r&&g.has(v),c,f+1)})}else c.push([s,Mi(p),r])}function s2(l,s,r,c=0){let f=Fo(l);if(f.type==="array"){if(Jp(f.items))r.push({select:`${s}[*]`,fields:Ms(f.items)});return}if(Jp(f)&&c<4)Object.entries(f.properties??{}).forEach(([p,m])=>s2(m,`${s}.${p}`,r,c+1))}var l2=new WeakMap;function r2(l){let s=l2.get(l);if(s)return s;s=new Map;for(let r of l.operations){let c=r.parameters.map((v)=>[v.pointer,Mi(v.schema),v.required]);if(r.body)i2(r.body.schema,"/body",r.body.required,c);let f=r.responses.find((v)=>/^2/.test(v.status)&&v.schema),p=[];if(f)s2(f.schema,"$",p);let m=f&&!p.length&&Jp(f.schema)?Ms(f.schema):null,g=f?Ms(f.schema).filter(([,v])=>v!=="object"&&!v.endsWith("[]")).map(([v,S])=>[`$.${v}`,S]):[];s.set(r.id,{op:r,req:c,lists:p,one:m,scalars:g})}return l2.set(l,s),s}function c2(l,s){let r=r2(l.catalog),c=[...r.values()],f=new Map(l.descriptors.map((q)=>[q.kind,q])),p=new Map(l.registry.screens.map((q)=>[q.id,q])),m=l.transforms??[],g=l.providers??[],v=n2(l.glossaries??[]),S=(q,te,Q)=>`${q}|${te}|${Q}`,A=new Map;for(let[q,te]of Object.entries(s))for(let Q of te){if(Q.type==="operation"&&!r.has(Q.operation))continue;if(Q.type==="steps"&&Q.steps.some((Z)=>!r.has(Z.operation)))continue;A.set(S(q,Q.component,Q.slot),Q)}let C=(q,te,Q)=>A.get(S(q,te,Q)),T=(q)=>p.get(q),E=(q,te)=>p.get(q)?.components.find((Q)=>Q.bindId===te),B=(q)=>f.get(q.kind),w=(q)=>q?q.slots.filter((te)=>te.role!=="produce"):[],z=new Map,R=(q,te)=>{let Q=(te?"+":"-")+q,Z=z.get(Q);if(Z)return Z;Z=new Set;for(let J of Xp(q))if(Z.add(J),te)(v[J]??[]).forEach((se)=>Z.add(se));return z.set(Q,Z),Z};function H(q,te){let Q=R(q,!1),Z=R(te,!0);if(!Q.size||!Z.size)return 0;let J=0;return Q.forEach((se)=>{if(Z.has(se))J++}),J&&J/Q.size>=0.5?0.6*J/Q.size+0.4*J/Z.size:0}let Y=(q)=>q.replace("[]","");function P(q,te){if(q!=="any"&&te!=="any"&&q.endsWith("[]")!==te.endsWith("[]"))return{ok:!1};let Q=Y(q),Z=Y(te);if(Q==="any"||Z==="any"||Q===Z)return{ok:!0};let J=m.find((se)=>Mi(se.input)===Z&&Mi(se.output)===Q);return J?{ok:!0,transform:J.name}:{ok:!1}}function ce(q,te,Q){let Z=C(q,te,Q);if(!Z||Z.type!=="operation")return null;let J=r.get(Z.operation);if(!J)return null;if(Z.select==="$"&&J.one)return J.one;return J.lists.find((se)=>se.select===Z.select)?.fields??null}function G(q,te,Q){let Z=Z0(Q.schema);if(typeof Z.$ref==="string"&&Z.$ref.startsWith("#slot/")){let J=Z.$ref.slice(6);return{many:!!Q.many,fields:ce(q,te.bindId,J)??[],via:J}}if(Fo(Z).properties)return{many:!!Q.many,fields:Ms(Z)};return{many:!!Q.many,type:Mi(Z)}}function ie(q){if("schema"in q.shape)return{many:!!q.many,fields:Ms(q.shape.schema)};let te=q.shape.from,Q=E(te.screen,te.component),Z=Q&&B(Q),J=Z?.slots.find((se)=>se.id===te.slot);return{many:!!q.many,fields:(J&&Q?G(te.screen,Q,J).fields:null)??[]}}function W(q,te,Q){if(!Q.scope||!te.parent)return null;return ce(q,te.parent,Q.scope.parentSlot)}function Me(q){return T(q).context.find((te)=>te.many)}function Ne(q,te={}){let Q=[],Z=T(q);return te.item?.forEach(([J,se])=>Q.push({expr:`$item.${J}`,label:En(J),name:J,type:se,group:"item"})),Z.components.forEach((J)=>{let se=B(J);se?.slots.filter((Re)=>Re.role==="produce").forEach((Re)=>{let lt=G(q,J,Re);if(lt.fields?.length){if(lt.many)Q.push({expr:`${J.bindId}:${Re.id}`,label:`${J.label} · ${Re.label}`,type:"list",group:"screen",fields:lt.fields});lt.fields.forEach(([Ht,st])=>Q.push({expr:`${J.bindId}:${Re.id}${lt.many?"[*]":""}.${Ht}`,label:`${J.label} · ${En(Ht)}`,name:Ht,type:lt.many?st+"[]":st,group:"screen"}))}else if(lt.via){let Ht=se.slots.find((st)=>st.id===lt.via);Q.push({expr:`${J.bindId}:${Re.id}`,label:`${J.label} · ${Re.label}`,type:"pending",group:"screen",waitsFor:`${J.label} · ${Ht?.label??lt.via}`})}else Q.push({expr:`${J.bindId}:${Re.id}`,label:J.label+(Re.label&&w(se).length+1<se.slots.length?` · ${Re.label}`:""),name:J.label,type:lt.many?"list":lt.type??"any",group:"screen"})})}),Z.context.forEach((J)=>{let se=ie(J);if(J.many)Q.push({expr:`$context.${J.id}`,label:J.label,type:"list",group:"context",fields:se.fields});se.fields.forEach(([Re,lt])=>Q.push({expr:`$context.${J.id}${J.many?"[*]":""}.${Re}`,label:`${J.label} · ${En(Re)}`,name:Re,type:J.many?lt+"[]":lt,group:"context"}))}),g.forEach((J)=>Ms(J.schema).forEach(([se,Re])=>Q.push({expr:`$${J.id}.${se}`,label:`${J.label} · ${En(se)}`,name:`${J.label} ${se}`,type:Re,group:"provider"}))),Q}function Ee(q,te,Q,Z=0.65){let J=[];for(let se of Q){if(se.type==="list"||se.waitsFor)continue;let Re=P(te,se.type);if(!Re.ok)continue;let lt=Math.max(H(q,se.name??se.label),H(q,se.label)*0.9);if(se.group==="screen")lt+=0.12;else if(se.group==="item")lt+=0.05;if(Re.transform)lt-=0.05;if(lt>=Z)J.push({expr:se.expr+(Re.transform?` | ${Re.transform}()`:""),score:lt,source:se})}return J.sort((se,Re)=>Re.score-se.score)}function xe(q,te,Q){return Ee(q,te,Q)[0]??null}function ot(q,te){let Q=q.split("/").filter(Boolean),Z=Q[Q.length-1];if(Xp(Z).length>1)return Z;if(Q[0]==="body")return Q.length>2?`${Q[Q.length-2]} ${Z}`:Z;let J=te.path.split("/").filter((se)=>se&&!se.startsWith("{"));return`${J[J.length-1]??""} ${Z}`}function Fn(q,te){let Q={};return q.req.forEach(([Z,J])=>{let se=xe(ot(Z,q.op),J,te);if(se)Q[Z]=se.expr}),Q}function le(q,te){let Q={},Z=te.map(([J,se])=>({expr:`$item.${J}`,name:J,label:J,type:se,group:"item"}));return q.forEach(([J,se])=>{let Re=xe(J,se,Z);if(Re)Q[J]=Re.expr}),Q}function Oe(q,te){let Q=Me(q);return Ne(q,{item:te??(Q?ie(Q).fields:void 0)})}function Ae(q,te,Q){let Z=T(q),J=R([te.label,...Q.hints?.keywords??[]].join(" "),!0),se=R([Z.label,...Z.path].join(" "),!0),Re=(st)=>{let qt=R([st.id,...st.tags].join(" "),!1);if(!qt.size)return{score:0,near:!1};let wt=0,fa=0;return qt.forEach((an)=>{if(J.has(an))wt++;else if(se.has(an))fa++}),{score:Math.min(1,(wt+0.5*fa)/qt.size),near:wt>0}},lt=Q.role==="trigger"?Oe(q):Ne(q),Ht=lt.filter((st)=>st.group==="screen"&&st.type!=="list").length||1;return c.map((st)=>{let qt=[],wt=0,fa=0,an=(oe,mn,An)=>{if(wt+=oe*mn,fa+=oe,mn>=0.5&&An)qt.push(An)},Ot=st.op,ql=Fn(st,lt);if(Q.role==="consume"){let oe=G(q,te,Q),mn=oe.many?st.lists.length?1:0:oe.fields?.length?st.one||st.lists.length?0.7:0:st.scalars.some(([,An])=>P(oe.type??"any",An).ok)||st.one?0.7:0;an(0.3,mn,oe.many?"Returns a list":"Returns a matching value"),an(0.15,Ot.intent==="read"?1:Ot.intent?0:0.5,Ot.intent==="read"?"Reads data":null)}else{an(0.2,st.req.length?0.8:0.2,null),an(0.15,Ot.intent==="write"?1:Ot.intent==="read"?0.1:0.5,Ot.intent==="write"?"Saves data":null);let oe=st.req.filter(([An])=>An.startsWith("/body/")),mn=Object.entries(ql).filter(([An,sl])=>An.startsWith("/body/")&&!sl.startsWith("$")).length;an(0.3,oe.length?Math.min(1,mn/Math.min(Ht,oe.length)):0,mn?`Uses ${mn} values from this screen`:null)}let Xa=st.req.filter((oe)=>oe[2]);if(Xa.length){let oe=Xa.filter(([mn])=>ql[mn]).length;an(0.25,oe/Xa.length,oe===Xa.length?"All required inputs available":null)}else an(0.25,1,null);if(Ot.product)an(0.1,Ot.product===Z.path[0]?1:0,Ot.product===Z.path[0]?`From ${Ot.product}`:null);let ze=Re(Ot);return an(0.35,ze.score,ze.score>=0.5?ze.near?`Name fits “${te.label}”`:"Name fits this screen":null),{view:st,score:fa?wt/fa:0,reasons:qt}}).sort((st,qt)=>qt.score-st.score)}function Ye(q,te,Q){let Z=C(q,te,Q);return!Z?"unbound":Z.state==="confirmed"?"bound":"suggested"}function Ce(q,te){let Q=w(B(te));if(!Q.length)return"bound";let Z=Q.map((se)=>Ye(q,te.bindId,se.id));if(Z.includes("suggested"))return"suggested";if(Z.every((se)=>se==="bound"))return"bound";let J=Q.filter((se)=>se.required);if(J.length&&J.every((se)=>Ye(q,te.bindId,se.id)==="bound")&&Z.includes("bound"))return"bound";return Z.includes("bound")?"partial":"unbound"}function kn(q){let te={bound:0,suggested:0,unbound:0,total:0};return q.forEach((Q)=>Q.components.forEach((Z)=>{if(!w(B(Z)).length)return;let J=Ce(Q.id,Z);te[J==="partial"?"unbound":J]++,te.total++})),te}let L=(q,te)=>te==="$"?q.one??[]:q.lists.find((Q)=>Q.select===te)?.fields??[];function ye(q,te,Q,Z,J=!1){let se=r.get(Z);if(!se)return null;let Re=G(q,te,Q),lt=Re.fields&&!Re.via?Re.fields:null,Ht;if(Re.many)Ht=se.lists[0]?.select;else if(lt)Ht=se.one?"$":se.lists[0]?.select;else{let st=se.scalars.map(([qt,wt])=>({expr:qt,label:En(qt),name:qt.slice(2),type:wt,group:"item"}));if(Ht=(Ee(Q.label,Re.type??"any",st)[0]??Ee(`${te.label} ${Q.label}`,Re.type??"any",st)[0])?.expr.split(" | ")[0],!Ht&&!J)Ht=se.scalars.find(([,qt])=>P(Re.type??"any",qt).ok)?.[0]}if(!Ht){if(J)return null;Ht="$"}return{component:te.bindId,slot:Q.id,type:"operation",operation:Z,select:Ht,request:Fn(se,Ne(q)),map:lt?le(lt,L(se,Ht)):void 0,load:"open",origin:"suggested",state:"draft"}}function Se(q,te,Q,Z){return w(B(te)).filter((J)=>J.role==="consume"&&!J.scope&&J.id!==Q.id&&!C(q,te.bindId,J.id)).map((J)=>ye(q,te,J,Z,!0)).filter((J)=>!!J)}return{fw:l,OPV:r,OPS:c,DESC:f,SCR:p,getB:C,screen:T,compOf:E,descOf:B,bindable:w,typeFit:P,shapeOf:G,contextShape:ie,scopeFields:W,sources:Ne,triggerSources:Oe,bestSource:xe,rankSources:Ee,proposeRequest:Fn,proposeMap:le,rank:Ae,slotState:Ye,compState:Ce,tally:kn,manyContext:Me,fieldsAt:L,proposeConsume:ye,siblingFills:Se}}function u2(l){let s=new Set(l.descriptors.map((m)=>m.kind)),r=[],c=new Set(l.registry.screens.map((m)=>m.id)),f=new Set,p=l.registry.screens.map((m)=>{if(!J0.test(m.id))return r.push({severity:"error",screen:m.id,code:"registry.invalid-id",message:`Screen id "${m.id}" must be lowercase kebab-case segments joined by dots.`}),{...m,components:[]};let g=m.components.filter((S)=>{if(!J0.test(S.bindId))return r.push({severity:"error",screen:m.id,component:S.bindId,code:"registry.invalid-id",message:`Component id "${S.bindId}" must be lowercase kebab-case segments joined by dots.`}),!1;if(!s.has(S.kind))return r.push({severity:"error",screen:m.id,component:S.bindId,code:"registry.unknown-kind",message:`"${S.label}" uses ${S.kind}, which has no descriptor.`}),!1;if(f.has(S.bindId))return r.push({severity:"error",screen:m.id,component:S.bindId,code:"registry.duplicate-id",message:`Component id "${S.bindId}" is used twice.`}),!1;return f.add(S.bindId),!0}).filter((S)=>!S.parent||f.has(S.parent)||(r.push({severity:"error",screen:m.id,component:S.bindId,code:"registry.missing-parent",message:`"${S.label}" names a parent that is not on the screen.`}),!1)),v=m.parent&&c.has(m.parent)?m.parent:void 0;return{...m,components:g,parent:v}});return{registry:{...l.registry,screens:p},issues:r}}var W0=me(en(),1);var P0=me(Ke(),1);function Kp({open:l,children:s}){return P0.jsx("div",{className:"abs-collapse"+(l?" is-open":""),"aria-hidden":!l,children:P0.jsx("div",{className:"abs-collapse-in",children:s})})}var ee=me(Ke(),1),iD={search:ee.jsxs(ee.Fragment,{children:[ee.jsx("circle",{cx:"7.25",cy:"7.25",r:"4.5"}),ee.jsx("path",{d:"m13.5 13.5-2.9-2.9"})]}),check:ee.jsx("path",{d:"m3.5 8.25 3 3 6-6.5"}),bound:ee.jsxs(ee.Fragment,{children:[ee.jsx("circle",{cx:"8",cy:"8",r:"6"}),ee.jsx("path",{d:"m5.6 8.1 1.7 1.7 3.2-3.4"})]}),suggested:ee.jsxs(ee.Fragment,{children:[ee.jsx("circle",{cx:"8",cy:"8",r:"6"}),ee.jsx("circle",{cx:"8",cy:"8",r:"2",fill:"currentColor",stroke:"none"})]}),partial:ee.jsxs(ee.Fragment,{children:[ee.jsx("circle",{cx:"8",cy:"8",r:"6"}),ee.jsx("path",{d:"M8 2a6 6 0 0 1 0 12z",fill:"currentColor",stroke:"none"})]}),unbound:ee.jsx("circle",{cx:"8",cy:"8",r:"6",strokeDasharray:"2.2 2.4"}),data:ee.jsxs(ee.Fragment,{children:[ee.jsx("ellipse",{cx:"8",cy:"4",rx:"5",ry:"1.75"}),ee.jsx("path",{d:"M3 4v8c0 .97 2.24 1.75 5 1.75s5-.78 5-1.75V4M3 8c0 .97 2.24 1.75 5 1.75S13 8.97 13 8"})]}),action:ee.jsx("path",{d:"M8.75 1.75 3.75 9h4.5l-1 5.25 5-7.25h-4.5z"}),row:ee.jsxs(ee.Fragment,{children:[ee.jsx("rect",{x:"2",y:"3",width:"12",height:"10",rx:"2"}),ee.jsx("path",{d:"M2 7h12"})]}),plus:ee.jsx("path",{d:"M8 3.25v9.5M3.25 8h9.5"}),chevronRight:ee.jsx("path",{d:"m6.25 3.75 4.25 4.25-4.25 4.25"}),chevronDown:ee.jsx("path",{d:"m3.75 6.25 4.25 4.25 4.25-4.25"}),close:ee.jsx("path",{d:"m4.25 4.25 7.5 7.5M11.75 4.25l-7.5 7.5"}),screen:ee.jsxs(ee.Fragment,{children:[ee.jsx("rect",{x:"1.75",y:"2.75",width:"12.5",height:"10.5",rx:"2"}),ee.jsx("path",{d:"M1.75 6h12.5"})]}),dialog:ee.jsxs(ee.Fragment,{children:[ee.jsx("rect",{x:"1.75",y:"2.75",width:"12.5",height:"10.5",rx:"2"}),ee.jsx("rect",{x:"4.75",y:"6",width:"6.5",height:"4.5",rx:"1"})]}),api:ee.jsx("path",{d:"M5.25 4.5 1.75 8l3.5 3.5M10.75 4.5 14.25 8l-3.5 3.5M9.25 3l-2.5 10"}),trash:ee.jsx("path",{d:"M2.75 4.25h10.5M6.25 4.25v-1.5h3.5v1.5M4.25 4.25l.6 8.5a1 1 0 0 0 1 .9h4.3a1 1 0 0 0 1-.9l.6-8.5"}),link:ee.jsx("path",{d:"M6.75 9.25a2.75 2.75 0 0 0 3.9 0l2-2a2.75 2.75 0 0 0-3.9-3.9l-.6.6M9.25 6.75a2.75 2.75 0 0 0-3.9 0l-2 2a2.75 2.75 0 0 0 3.9 3.9l.6-.6"}),repeat:ee.jsxs(ee.Fragment,{children:[ee.jsx("path",{d:"m11.25 1.75 2 2-2 2"}),ee.jsx("path",{d:"M2.75 7.5v-.75a3 3 0 0 1 3-3h7.5M4.75 14.25l-2-2 2-2"}),ee.jsx("path",{d:"M13.25 8.5v.75a3 3 0 0 1-3 3h-7.5"})]}),arrowLeft:ee.jsx("path",{d:"M13 8H3m4-4L3 8l4 4"}),component:ee.jsx("rect",{x:"2.5",y:"2.5",width:"11",height:"11",rx:"2"}),pointer:ee.jsx("path",{d:"m3.25 3.25 3.5 9.5 1.5-4 4-1.5zM8.75 8.75l3.5 3.5"}),refresh:ee.jsx("path",{d:"M13.25 8A5.25 5.25 0 1 1 11.7 4.3M13.25 2.5v2.75H10.5"}),list:ee.jsx("path",{d:"M5.75 4h7.5M5.75 8h7.5M5.75 12h7.5M2.75 4h.01M2.75 8h.01M2.75 12h.01"}),todo:ee.jsxs(ee.Fragment,{children:[ee.jsx("circle",{cx:"8",cy:"8",r:"6",strokeDasharray:"2.2 2.4"}),ee.jsx("path",{d:"M8 5.5V8l1.75 1.25"})]}),target:ee.jsxs(ee.Fragment,{children:[ee.jsx("circle",{cx:"8",cy:"8",r:"6"}),ee.jsx("circle",{cx:"8",cy:"8",r:"3"}),ee.jsx("circle",{cx:"8",cy:"8",r:".6",fill:"currentColor"})]}),apply:ee.jsx("path",{d:"M12.75 3.25v3.5a2 2 0 0 1-2 2h-7.5m3-3-3 3 3 3"}),info:ee.jsxs(ee.Fragment,{children:[ee.jsx("circle",{cx:"8",cy:"8",r:"6"}),ee.jsx("path",{d:"M8 7.25v3.5M8 5.25h.01"})]}),settings:ee.jsxs(ee.Fragment,{children:[ee.jsx("path",{d:"M6.6 1.75h2.8l.4 1.7 1.3.75 1.65-.55 1.4 2.43-1.25 1.17v1.5l1.25 1.17-1.4 2.43-1.65-.55-1.3.75-.4 1.7H6.6l-.4-1.7-1.3-.75-1.65.55-1.4-2.43 1.25-1.17v-1.5L1.85 6.08l1.4-2.43 1.65.55 1.3-.75z"}),ee.jsx("circle",{cx:"8",cy:"8",r:"2"})]}),download:ee.jsx("path",{d:"M8 2.75v7.5m-3-3 3 3 3-3M2.75 11.75v.5a1 1 0 0 0 1 1h8.5a1 1 0 0 0 1-1v-.5"}),upload:ee.jsx("path",{d:"M8 10.25v-7.5m-3 3 3-3 3 3M2.75 11.75v.5a1 1 0 0 0 1 1h8.5a1 1 0 0 0 1-1v-.5"}),alert:ee.jsxs(ee.Fragment,{children:[ee.jsx("circle",{cx:"8",cy:"8",r:"6"}),ee.jsx("path",{d:"M8 5v3.25M8 10.75h.01"})]})};function be({name:l,size:s=16,className:r}){return ee.jsx("svg",{className:"abs-ico "+(r??""),width:s,height:s,viewBox:"0 0 16 16",fill:"none",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",focusable:"false",children:iD[l]})}function tc({svg:l}){if(l&&/^\s*<svg[\s>]/i.test(l)){let s=/xmlns=/.test(l)?l:l.replace(/<svg/i,'<svg xmlns="http://www.w3.org/2000/svg"'),r=`url("data:image/svg+xml,${encodeURIComponent(s)}")`;return ee.jsx("span",{className:"abs-kico","aria-hidden":"true",children:ee.jsx("span",{className:"abs-kico-m",style:{maskImage:r,WebkitMaskImage:r}})})}return ee.jsx("span",{className:"abs-kico","aria-hidden":"true",children:ee.jsx(be,{name:"component"})})}var F0={bound:"Connected",suggested:"Needs review",partial:"Partly connected",unbound:"Not connected"},f2=(l)=>F0[l];function nc({state:l,size:s=16}){return ee.jsxs("span",{className:`abs-state abs-state-${l}`,title:F0[l],children:[ee.jsx(be,{name:l,size:s}),ee.jsx("span",{className:"abs-sr",children:F0[l]})]})}function d2({done:l,total:s,size:r=18,stroke:c=2.5}){let f=s?l/s:0;if(r<=16){let g=r/4-0.25,v=2*Math.PI*g,S=r/2;return ee.jsxs("svg",{className:"abs-ring abs-pie"+(s&&l===s?" is-done":""),width:r,height:r,viewBox:`0 0 ${r} ${r}`,"aria-hidden":"true",children:[ee.jsx("circle",{cx:S,cy:S,r:S-0.75,strokeWidth:1.5,className:"abs-ring-bg"}),ee.jsx("circle",{cx:S,cy:S,r:g,strokeWidth:g*2,className:"abs-ring-fg",strokeDasharray:v,strokeDashoffset:v*(1-f),transform:`rotate(-90 ${S} ${S})`})]})}let p=(r-c)/2,m=2*Math.PI*p;return ee.jsxs("svg",{className:"abs-ring"+(s&&l===s?" is-done":""),width:r,height:r,viewBox:`0 0 ${r} ${r}`,"aria-hidden":"true",children:[ee.jsx("circle",{cx:r/2,cy:r/2,r:p,strokeWidth:c,className:"abs-ring-bg"}),ee.jsx("circle",{cx:r/2,cy:r/2,r:p,strokeWidth:c,className:"abs-ring-fg",strokeDasharray:m,strokeDashoffset:m*(1-f),transform:`rotate(-90 ${r/2} ${r/2})`})]})}var Bl=me(en(),1),p2=me(Ke(),1);function xi(l){let s=Bl.useRef(null),r=Bl.useRef(null),c=Bl.useCallback((m)=>{let g=s.current,v=r.current;if(!g||!v)return;if(!m){v.style.opacity="0";return}let S=m.getBoundingClientRect(),A=g.getBoundingClientRect(),C=v.style.opacity!=="1";v.style.transition=C?"opacity 120ms ease":"",v.style.transform=`translate(${S.left-A.left+g.scrollLeft}px, ${S.top-A.top+g.scrollTop}px)`,v.style.width=`${S.width}px`,v.style.height=`${S.height}px`,v.style.opacity="1"},[]);Bl.useEffect(()=>{if(l!==void 0)c(l)},[l,c]);let f=Bl.useMemo(()=>({onPointerOver:(m)=>{if(l!==void 0)return;c(m.target.closest("[data-glide]"))},onPointerLeave:()=>{if(l===void 0)c(null)}}),[l,c]);return{ref:s,handlers:f,indicator:p2.jsx("span",{ref:r,className:"abs-glide","aria-hidden":"true"}),moveTo:c}}var Pe=me(Ke(),1);function h2({engine:l,screen:s,selected:r,onSelect:c}){let[f,p]=W0.useState(!1),[m,g]=W0.useState({}),v=s.components.filter((R)=>l.bindable(l.descOf(R)).length),S=new Map;v.forEach((R)=>{if(R.parent)S.set(R.parent,[...S.get(R.parent)??[],R])});let A=(R)=>S.get(R)??[],C=l.tally([s]),T=(R)=>l.compState(s.id,R)!=="bound",E=(R)=>!f||T(R)||A(R.bindId).some(E),B=xi(),w=(R,H)=>{let Y=A(R.bindId).filter(E),P=m[R.bindId]??!0,ce=l.descOf(R);return Pe.jsxs("div",{role:"listitem",children:[Pe.jsxs("div",{"data-glide":!0,className:"abs-comp"+(R.bindId===r?" is-on":""),style:{paddingLeft:8+H*24},children:[Y.length?Pe.jsx("button",{type:"button",className:"abs-iconbtn abs-twist",onClick:()=>g((G)=>({...G,[R.bindId]:!P})),"aria-label":P?"Collapse":"Expand","aria-expanded":P,children:Pe.jsx(be,{name:"chevronRight",size:14,className:P?"abs-rot90":""})}):Pe.jsx("span",{className:"abs-twist"}),Pe.jsxs("button",{type:"button",className:"abs-comp-main",onClick:()=>c(R.bindId),"aria-current":R.bindId===r?"true":void 0,children:[Pe.jsx(tc,{svg:ce.icon}),Pe.jsx("span",{className:"abs-comp-l",children:R.label}),Pe.jsxs("span",{className:"abs-comp-k",children:[ce.label,Y.length?` · ${Y.length}`:""]}),Pe.jsx(nc,{state:l.compState(s.id,R)})]})]}),Y.length>0&&Pe.jsx(Kp,{open:P,children:Y.map((G)=>w(G,H+1))})]},R.bindId)},z=v.filter(T).length;return Pe.jsxs("div",{className:"abs-center abs-scroll",children:[Pe.jsxs("header",{className:"abs-screen-h",children:[Pe.jsxs("div",{className:"abs-screen-t",children:[Pe.jsx("div",{className:"abs-crumbs",children:[...s.path,...s.parent?[l.SCR.get(s.parent)?.label]:[]].join(" / ")}),Pe.jsx("h1",{children:s.label})]}),Pe.jsxs("div",{className:"abs-progress",children:[Pe.jsx(d2,{done:C.bound,total:C.total,size:36,stroke:3.5}),Pe.jsxs("div",{children:[Pe.jsxs("b",{children:[C.bound,Pe.jsxs("span",{children:["/",C.total]})]}),Pe.jsx("small",{children:"connected"})]})]})]}),Pe.jsxs("div",{className:"abs-seg",role:"group","aria-label":"Show",children:[Pe.jsx("span",{className:"abs-seg-thumb",style:{transform:`translateX(${f?100:0}%)`},"aria-hidden":"true"}),Pe.jsxs("button",{type:"button",className:!f?"is-on":"",onClick:()=>p(!1),"aria-pressed":!f,children:[Pe.jsx(be,{name:"list",size:14}),"All",Pe.jsx("span",{children:v.length})]}),Pe.jsxs("button",{type:"button",className:f?"is-on":"",onClick:()=>p(!0),"aria-pressed":f,children:[Pe.jsx(be,{name:"todo",size:14}),"To do",Pe.jsx("span",{children:z})]})]}),Pe.jsxs("div",{className:"abs-comps abs-glide-box",role:"list",ref:B.ref,...B.handlers,children:[B.indicator,v.filter((R)=>!R.parent&&E(R)).map((R)=>w(R,0)),f&&!z&&Pe.jsxs("div",{className:"abs-done",children:[Pe.jsx(be,{name:"bound",size:24}),Pe.jsx("b",{children:"Everything here is connected"})]})]})]})}var ra=me(en(),1);var dn=me(Ke(),1);function m2({engine:l,onGo:s}){let[r,c]=ra.useState(""),[f,p]=ra.useState(!1),[m,g]=ra.useState(0),v=ra.useRef(null),S=ra.useRef(null),A=xi(null),C=A.ref,T=ra.useMemo(()=>l.fw.registry.screens.flatMap((R)=>[{hit:{screen:R},text:[R.label,...R.path].join(" ").toLowerCase()},...R.components.filter((H)=>l.bindable(l.descOf(H)).length).map((H)=>({hit:{screen:R,comp:H},text:[H.label,l.descOf(H).label,R.label].join(" ").toLowerCase()}))]),[l.fw]),E=ra.useMemo(()=>{let R=r.trim().toLowerCase().split(/\s+/).filter(Boolean);if(!R.length)return[];return T.filter((H)=>R.every((Y)=>H.text.includes(Y))).sort((H,Y)=>Number(!H.text.startsWith(R[0]))-Number(!Y.text.startsWith(R[0]))).slice(0,40).map((H)=>H.hit)},[r,T]);ra.useEffect(()=>{let R=(Y)=>{if((Y.metaKey||Y.ctrlKey)&&Y.key.toLowerCase()==="k")Y.preventDefault(),v.current?.focus(),p(!0)},H=(Y)=>{if(!S.current?.contains(Y.target))p(!1)};return window.addEventListener("keydown",R),document.addEventListener("pointerdown",H),()=>{window.removeEventListener("keydown",R),document.removeEventListener("pointerdown",H)}},[]),ra.useEffect(()=>g(0),[r]),ra.useEffect(()=>{let R=C.current?.querySelector(`[data-i="${m}"]`)??null;R?.scrollIntoView({block:"nearest"}),A.moveTo(R)},[m,E,C,A]);let B=(R)=>{s(R.screen.id,R.comp?.bindId),p(!1),c(""),v.current?.blur()},w=(R)=>{if(R.key==="ArrowDown")R.preventDefault(),g((H)=>Math.min(E.length-1,H+1));else if(R.key==="ArrowUp")R.preventDefault(),g((H)=>Math.max(0,H-1));else if(R.key==="Enter"&&E[m])B(E[m]);else if(R.key==="Escape"&&(z||r))R.preventDefault(),p(!1),c("")},z=f&&r.trim().length>0;return dn.jsxs("div",{className:"abs-find",ref:S,children:[dn.jsxs("div",{className:"abs-find-box",children:[dn.jsx(be,{name:"search",className:"abs-c-muted"}),dn.jsx("input",{ref:v,value:r,onChange:(R)=>{c(R.target.value),p(!0)},onFocus:()=>p(!0),onKeyDown:w,placeholder:"Find a component or screen","aria-label":"Find a component or screen",role:"combobox","aria-expanded":z,"aria-controls":"abs-find-list"}),dn.jsx("kbd",{children:"Ctrl K"})]}),dn.jsxs("div",{className:"abs-pop abs-find-pop abs-glide-box"+(z?" is-open":""),role:"listbox",id:"abs-find-list",ref:C,children:[A.indicator,z&&!E.length?dn.jsxs("div",{className:"abs-empty-sm",children:["Nothing matches “",r,"”. Try a screen or component name."]}):null,z?E.map((R,H)=>{let Y=R.comp&&l.descOf(R.comp);return dn.jsxs("div",{"data-i":H,role:"option","aria-selected":H===m,className:"abs-opt"+(H===m?" is-active":""),onPointerEnter:()=>g(H),onPointerDown:(P)=>{P.preventDefault(),B(R)},children:[R.comp?dn.jsx(tc,{svg:Y?.icon}):dn.jsx("span",{className:"abs-kico",children:dn.jsx(be,{name:R.screen.parent?"dialog":"screen"})}),dn.jsxs("span",{className:"abs-opt-t",children:[dn.jsx("span",{children:R.comp?.label??R.screen.label}),dn.jsx("code",{children:R.comp?`${Y?.label} · ${R.screen.label}`:R.screen.path.join(" / ")})]}),R.comp?dn.jsx(nc,{state:l.compState(R.screen.id,R.comp)}):dn.jsx("span",{className:"abs-nav-count",children:sD(l.tally([R.screen]))})]},R.screen.id+(R.comp?.bindId??""))}):null]})]})}var sD=(l)=>`${l.bound}/${l.total}`;var Kn=me(en(),1);var ac=me(Ke(),1);function rD(l,s,r,c=8,f=8){let p=l.top-c-s.height>=f||l.bottom+c+s.height>r.height-f?"top":"bottom",m=p==="top"?l.top-c-s.height:l.bottom+c,g=l.left+l.width/2-s.width/2,v=Math.min(Math.max(g,f),Math.max(f,r.width-f-s.width));return{top:Math.max(f,m),left:v,side:p}}var cD=250;function g2({text:l}){let s=Kn.useId(),r=Kn.useRef(null),c=Kn.useRef(null),f=Kn.useRef(void 0),[p,m]=Kn.useState(!1),g=Kn.useCallback((S)=>{clearTimeout(f.current),f.current=setTimeout(()=>m(!0),S)},[]),v=Kn.useCallback(()=>{clearTimeout(f.current),m(!1)},[]);return Kn.useEffect(()=>()=>clearTimeout(f.current),[]),Kn.useLayoutEffect(()=>{let S=c.current,A=r.current;if(!p||!S||!A)return;S.showPopover();let C=rD(A.getBoundingClientRect(),S.getBoundingClientRect(),{width:innerWidth,height:innerHeight});S.style.top=`${C.top}px`,S.style.left=`${C.left}px`,S.dataset.side=C.side;let T=(E)=>{if(E.key==="Escape")E.preventDefault(),v()};return addEventListener("scroll",v,!0),addEventListener("resize",v),addEventListener("keydown",T),()=>{if(removeEventListener("scroll",v,!0),removeEventListener("resize",v),removeEventListener("keydown",T),S.matches(":popover-open"))S.hidePopover()}},[p,v]),ac.jsxs("span",{className:"abs-tip",children:[ac.jsx("button",{ref:r,type:"button",className:"abs-tip-btn","aria-describedby":s,"aria-label":"More information",onClick:(S)=>S.stopPropagation(),onPointerEnter:()=>g(cD),onPointerLeave:v,onFocus:(S)=>{if(S.currentTarget.matches(":focus-visible"))g(0)},onBlur:v,children:ac.jsx(be,{name:"info",size:14})}),ac.jsx("span",{ref:c,role:"tooltip",id:s,popover:"manual",className:"abs-tip-body",children:l})]})}var Fp=me(en(),1);var Tn=me(en(),1);var at=me(Ke(),1),Zp=(l)=>l.op.summary?.trim()||`${l.op.method} ${l.op.path}`;function y2({method:l}){return at.jsx("span",{className:`abs-method abs-method-${l.toLowerCase()}`,children:l})}function oc({engine:l,ranked:s,value:r,onPick:c,label:f="Choose API",autoOpen:p=!1}){let[m,g]=Tn.useState(p),[v,S]=Tn.useState(""),[A,C]=Tn.useState(0),T=Tn.useRef(null),E=xi(null),B=E.ref,w=Tn.useId(),z=Tn.useMemo(()=>m?s().filter((G)=>G.score>=0.4).slice(0,3):[],[m,s]),R=Tn.useMemo(()=>{if(!m)return[];let G=v.trim().toLowerCase(),ie=(Ee)=>!G||[Ee.op.id,Ee.op.summary,Ee.op.path,...Ee.op.tags].join(" ").toLowerCase().includes(G),W=[];if(!G)z.forEach((Ee)=>W.push({v:Ee.view,best:Ee,group:"Best matches"}));let Me=new Set(W.map((Ee)=>Ee.v.op.id)),Ne=(Ee)=>[Ee.op.product,Ee.op.tags[0]??"Other"].filter(Boolean).join(" · ");return[...l.OPS].sort((Ee,xe)=>Ne(Ee).localeCompare(Ne(xe))||Zp(Ee).localeCompare(Zp(xe))).forEach((Ee)=>{if(!Me.has(Ee.op.id)&&ie(Ee))W.push({v:Ee,group:Ne(Ee)})}),W},[m,v,z,l]);Tn.useEffect(()=>{if(!m)return;let G=(ie)=>{if(!T.current?.contains(ie.target))g(!1)};return document.addEventListener("pointerdown",G),()=>document.removeEventListener("pointerdown",G)},[m]),Tn.useEffect(()=>{C(0)},[v,m]),Tn.useEffect(()=>{let G=B.current?.querySelector(`[data-i="${A}"]`)??null;G?.scrollIntoView({block:"nearest"}),E.moveTo(G)},[A,R,B,E]);let H=(G)=>{c(G),g(!1),S("")},Y=(G)=>{if(G.key==="ArrowDown")G.preventDefault(),C((ie)=>Math.min(R.length-1,ie+1));else if(G.key==="ArrowUp")G.preventDefault(),C((ie)=>Math.max(0,ie-1));else if(G.key==="Enter"&&R[A])G.preventDefault(),H(R[A].v.op.id);else if(G.key==="Escape")G.preventDefault(),g(!1)},P=r?l.OPV.get(r):void 0,ce="";return at.jsxs("div",{className:"abs-picker",ref:T,children:[P?at.jsxs("button",{type:"button",className:"abs-opcard",onClick:()=>g((G)=>!G),"aria-expanded":m,children:[at.jsx(y2,{method:P.op.method}),at.jsxs("span",{className:"abs-opcard-t",children:[at.jsx("b",{children:Zp(P)}),at.jsx("code",{children:P.op.path})]}),at.jsx("span",{className:"abs-link",children:"Change"})]}):at.jsxs("button",{type:"button",className:"abs-btn abs-btn-dashed",onClick:()=>g((G)=>!G),"aria-expanded":m,children:[at.jsx(be,{name:"api"})," ",f]}),m?at.jsxs("div",{className:"abs-pop",role:"dialog","aria-label":"Choose an API",children:[at.jsxs("div",{className:"abs-pop-search",children:[at.jsx(be,{name:"search"}),at.jsx("input",{autoFocus:!0,value:v,onChange:(G)=>S(G.target.value),onKeyDown:Y,placeholder:`Search ${l.OPS.length} APIs`,role:"combobox","aria-expanded":"true","aria-controls":w,"aria-activedescendant":R[A]?`${w}-${A}`:void 0})]}),at.jsxs("div",{className:"abs-pop-list abs-glide-box",ref:B,id:w,role:"listbox",children:[E.indicator,R.length===0?at.jsxs("div",{className:"abs-empty-sm",children:["No API matches “",v,"”. Search by name, path or tag."]}):null,R.map((G,ie)=>{let W=G.group!==ce?ce=G.group:null;return at.jsxs(Tn.Fragment,{children:[W?at.jsx("div",{className:"abs-pop-group",role:"presentation",children:W==="Best matches"?at.jsxs(at.Fragment,{children:[at.jsx(be,{name:"target",size:12})," Best matches"]}):W}):null,at.jsxs("div",{id:`${w}-${ie}`,"data-i":ie,role:"option","aria-selected":ie===A,className:"abs-opt"+(ie===A?" is-active":"")+(G.v.op.id===r?" is-current":""),onPointerEnter:()=>C(ie),onPointerDown:(Me)=>{Me.preventDefault(),H(G.v.op.id)},children:[at.jsx(y2,{method:G.v.op.method}),at.jsxs("span",{className:"abs-opt-t",children:[at.jsx("span",{children:Zp(G.v)}),at.jsx("code",{children:G.v.op.path})]}),G.v.op.id===r?at.jsx(be,{name:"check",className:"abs-c-accent"}):null]})]},G.group+G.v.op.id)})]}),R[A]?.best?.reasons.length?at.jsxs("div",{className:"abs-pop-why","aria-live":"polite",children:[at.jsx(be,{name:"info",size:14}),at.jsxs("span",{children:[at.jsx("b",{children:"Why suggested:"})," ",R[A].best.reasons.join(" · ")]})]}):null]}):null]})}var S2=me(en(),1);var b2={item:"Row",screen:"This screen",context:"Passed in",provider:"App"};var Ll=me(Ke(),1);function v2({engine:l,value:s,type:r,sources:c,onChange:f,id:p}){let m=c.filter((A)=>A.waitsFor),g=c.filter((A)=>A.type!=="list"&&!A.waitsFor).map((A)=>({s:A,fit:l.typeFit(r,A.type)})).filter((A)=>A.fit.ok),v=new Map;g.forEach((A)=>{let C=b2[A.s.group];v.set(C,[...v.get(C)??[],A])});let S=!s||g.some((A)=>A.s.expr+(A.fit.transform?` | ${A.fit.transform}()`:"")===s);return Ll.jsxs("select",{id:p,className:"abs-select"+(s?"":" is-empty"),value:s??"",onChange:(A)=>f(A.target.value||void 0),children:[Ll.jsx("option",{value:"",children:"Not set"}),!S&&Ll.jsx("option",{value:s,children:s}),[...v].map(([A,C])=>Ll.jsx("optgroup",{label:A,children:C.map(({s:T,fit:E})=>Ll.jsx("option",{value:T.expr+(E.transform?` | ${E.transform}()`:""),children:T.label},T.expr))},A)),m.length>0&&Ll.jsx("optgroup",{label:"Connect first",children:m.map((A)=>Ll.jsxs("option",{disabled:!0,children:[A.label,": connect ",A.waitsFor]},A.expr))})]})}var ca=me(Ke(),1);function Pp({engine:l,view:s,request:r,sources:c,onChange:f,idp:p}){let m=[...s.req].sort((w,z)=>Number(z[2])-Number(w[2])),g=m.filter((w)=>w[2]),v=m.filter((w)=>!w[2]),S=m.filter(([w])=>r[w]).length,[A,C]=S2.useState(!1);if(!m.length)return null;let T=([w,z,R])=>ca.jsxs("div",{className:"abs-map-row",children:[ca.jsxs("label",{htmlFor:p+w,title:w,children:[En(w),R&&ca.jsx("span",{className:"abs-req","aria-label":"required",children:"*"})]}),ca.jsx(be,{name:"arrowLeft",size:14,className:"abs-c-muted"}),ca.jsx(v2,{engine:l,id:p+w,type:z,value:r[w],sources:c,onChange:(H)=>{let Y={...r};if(H)Y[w]=H;else delete Y[w];f(Y)}})]},w),E=v.filter(([w])=>A||r[w]),B=g.length+E.length;return ca.jsxs("div",{className:"abs-block",children:[B>0&&ca.jsxs("div",{className:"abs-block-h",children:[ca.jsx("span",{children:"Sends"}),ca.jsxs("span",{className:"abs-count",children:[S,"/",m.length]})]}),B>0&&ca.jsxs("div",{className:"abs-map",children:[g.map(T),E.map(T)]}),v.length>E.length&&ca.jsxs("button",{type:"button",className:"abs-link abs-more",onClick:()=>C(!0),children:[ca.jsx(be,{name:"plus",size:14})," ",B?`${v.length-E.length} more inputs`:`Add inputs (${v.length} optional)`]})]})}var Tt=me(Ke(),1);function E2(l){let{engine:s,screen:r,comp:c,slot:f,put:p}=l,m=s.getB(r,c.bindId,f.id),g=s.shapeOf(r,c,f),v=Fp.useCallback(()=>s.rank(r,c,f),[s,r,c,f]),S=Fp.useMemo(()=>s.sources(r),[s,r]),A=m?.type==="operation"?m:void 0,C=A?s.OPV.get(A.operation):void 0,T=(R)=>{let H=s.proposeConsume(r,c,f,R);if(!H)return;let Y=A?[]:s.siblingFills(r,c,f,R);[H,...Y].forEach(p)},E=s.fieldsAt,B=(R)=>A&&p({...A,...R,state:"draft"}),w=g.fields&&!g.via?g.fields:null,z=C?g.many||w?[...C.lists.map((R)=>[R.select,R.fields.length]),...C.one?[["$",0]]:[]]:C.scalars.map(([R])=>[R,0]):[];return Tt.jsxs(Tt.Fragment,{children:[Tt.jsx(oc,{engine:s,ranked:v,value:A?.operation,onPick:T}),C&&A&&Tt.jsxs(Tt.Fragment,{children:[z.length>1&&Tt.jsxs("div",{className:"abs-field",children:[Tt.jsx("label",{htmlFor:`sel-${c.bindId}-${f.id}`,children:g.many||w?"Use list":"Use value"}),Tt.jsx("select",{id:`sel-${c.bindId}-${f.id}`,className:"abs-select",value:A.select,onChange:(R)=>B({select:R.target.value,map:w?s.proposeMap(w,E(C,R.target.value)):void 0}),children:z.map(([R])=>Tt.jsx("option",{value:R,children:R==="$"?"Whole response":En(R)},R))})]}),w&&Tt.jsxs("div",{className:"abs-block",children:[Tt.jsx("div",{className:"abs-block-h",children:Tt.jsx("span",{children:"Shows"})}),Tt.jsx("div",{className:"abs-map",children:w.map(([R,H])=>Tt.jsxs("div",{className:"abs-map-row",children:[Tt.jsx("label",{htmlFor:`map-${c.bindId}-${R}`,children:En(R)}),Tt.jsx(be,{name:"arrowLeft",size:14,className:"abs-c-muted"}),Tt.jsxs("select",{id:`map-${c.bindId}-${R}`,className:"abs-select"+(A.map?.[R]?"":" is-empty"),value:A.map?.[R]??"",onChange:(Y)=>{let P={...A.map??{}};if(Y.target.value)P[R]=Y.target.value;else delete P[R];B({map:P})},children:[Tt.jsx("option",{value:"",children:"Not set"}),E(C,A.select).map(([Y,P])=>[Y,s.typeFit(H,P)]).filter(([,Y])=>Y.ok).map(([Y,P])=>Tt.jsx("option",{value:`$item.${Y}${P.transform?` | ${P.transform}()`:""}`,children:En(Y)},Y))]})]},R))})]}),Tt.jsx(Pp,{engine:s,view:C,request:A.request,sources:S,onChange:(R)=>B({request:R}),idp:`req-${c.bindId}-${f.id}`}),Tt.jsxs("div",{className:"abs-field abs-field-inline",children:[Tt.jsx("label",{htmlFor:`load-${c.bindId}-${f.id}`,children:"Load"}),Tt.jsxs("select",{id:`load-${c.bindId}-${f.id}`,className:"abs-select abs-select-sm",value:A.load==="demand"?"demand":"open",onChange:(R)=>B({load:R.target.value}),children:[Tt.jsx("option",{value:"open",children:"When the screen opens"}),Tt.jsx("option",{value:"demand",children:"When first used"})]})]})]})]})}var pn=me(Ke(),1);function T2({engine:l,screen:s,comp:r,slot:c,put:f,goTo:p}){let m=l.getB(s,r.bindId,c.id),g=l.scopeFields(s,r,c),v=r.parent?l.compOf(s,r.parent):void 0;if(!g?.length)return pn.jsxs("div",{className:"abs-hint",children:[pn.jsx(be,{name:"link"}),pn.jsxs("span",{children:["Uses data from ",pn.jsx("b",{children:v?.label}),"."]}),v&&pn.jsx("button",{type:"button",className:"abs-link",onClick:()=>p(v.bindId),children:"Connect it first"})]});let S=l.shapeOf(s,r,c).type??"any",A=g.map(([E,B])=>({expr:`$item.${E}`,label:En(E),name:E,type:B,group:"item"})),C=!m?l.rankSources(r.label,S,A,0.45).slice(0,3):[],T=`scope-${r.bindId}-${c.id}`;return pn.jsxs(pn.Fragment,{children:[pn.jsxs("div",{className:"abs-field",children:[pn.jsxs("label",{htmlFor:T,children:["Field from ",v?.label]}),pn.jsxs("select",{id:T,className:"abs-select"+(m?"":" is-empty"),value:m?.value??"",onChange:(E)=>E.target.value&&f({component:r.bindId,slot:c.id,type:"expression",value:E.target.value,origin:"manual",state:"draft"}),children:[pn.jsx("option",{value:"",children:"Choose a field"}),A.filter((E)=>l.typeFit(S,E.type).ok).map((E)=>pn.jsx("option",{value:E.expr,children:E.label},E.expr))]})]}),C.length>0&&pn.jsx("div",{className:"abs-suggests",children:C.map((E)=>pn.jsxs("button",{type:"button",className:"abs-suggest",onClick:()=>f({component:r.bindId,slot:c.id,type:"expression",value:E.expr,origin:"suggested",state:"draft"}),children:[pn.jsx(be,{name:"apply",size:14})," ",E.source.label]},E.expr))})]})}var eh=me(en(),1);var Wp=me(en(),1);var $t=me(Ke(),1);function w2({engine:l,screen:s,comp:r,slot:c,step:f,index:p,total:m,onChange:g,onRemove:v,onMove:S}){let A=Wp.useCallback(()=>l.rank(s,r,c),[l,s,r,c]),C=l.manyContext(s),T=l.OPV.get(f.operation),E=Wp.useMemo(()=>f.forEach?l.triggerSources(s):l.sources(s),[l,s,f]);return $t.jsxs("div",{className:"abs-step",children:[$t.jsxs("div",{className:"abs-step-h",children:[$t.jsx("span",{className:"abs-step-n",children:p+1}),$t.jsx(be,{name:"api",className:"abs-c-muted"}),$t.jsx("span",{className:"abs-step-t",children:"Call API"}),$t.jsxs("span",{className:"abs-step-tools",children:[p>0&&$t.jsx("button",{type:"button",className:"abs-iconbtn",onClick:()=>S(-1),"aria-label":"Move up",children:$t.jsx(be,{name:"chevronDown",className:"abs-rot180"})}),p<m-1&&$t.jsx("button",{type:"button",className:"abs-iconbtn",onClick:()=>S(1),"aria-label":"Move down",children:$t.jsx(be,{name:"chevronDown"})}),$t.jsx("button",{type:"button",className:"abs-iconbtn",onClick:v,"aria-label":"Remove step",children:$t.jsx(be,{name:"trash"})})]})]}),T&&$t.jsxs("div",{className:"abs-step-b",children:[$t.jsx(oc,{engine:l,ranked:A,value:f.operation,onPick:(B)=>g({...f,operation:B,request:l.proposeRequest(l.OPV.get(B),E)})}),C&&$t.jsxs("label",{className:"abs-toggle",children:[$t.jsx("input",{type:"checkbox",checked:!!f.forEach,onChange:(B)=>g({...f,forEach:B.target.checked?`$context.${C.id}`:void 0})}),$t.jsx("span",{className:"abs-toggle-ui","aria-hidden":"true"}),$t.jsx(be,{name:"repeat",size:14,className:"abs-c-muted"})," Run for each ",$t.jsx("span",{className:"abs-toggle-of",children:C.label})]}),$t.jsx(Pp,{engine:l,view:T,request:f.request,sources:E,onChange:(B)=>g({...f,request:B}),idp:`st-${r.bindId}-${p}-`})]})]})}var xn=me(Ke(),1);function O2(l){let{engine:s,screen:r,comp:c,slot:f,put:p}=l,m=s.getB(r,c.bindId,f.id),g=m?.type==="steps"?m.steps:[],[v,S]=eh.useState(!1),A=(w)=>w.length?p({component:c.bindId,slot:f.id,type:"steps",steps:w,origin:m?.origin??"manual",state:"draft"}):l.drop(),C=()=>p({component:c.bindId,slot:f.id,type:"none",origin:"manual",state:"confirmed"}),T=s.manyContext(r),E=eh.useCallback(()=>s.rank(r,c,f),[s,r,c,f]);if(m?.type==="none")return xn.jsxs("div",{className:"abs-hint",children:[xn.jsx(be,{name:"check"}),xn.jsx("span",{children:"Calls no API."})]});let B=(w)=>{let z=s.OPV.get(w),R=T?`$context.${T.id}`:void 0,H=1+Math.max(0,...g.map((Y)=>Number(Y.id.replace(/^s/,""))||0));A([...g,{type:"call",id:`s${H}`,operation:w,request:s.proposeRequest(z,s.triggerSources(r)),forEach:R,onError:"stop"}]),S(!1)};return xn.jsxs("div",{className:"abs-steps",children:[g.map((w,z)=>xn.jsx(w2,{...l,step:w,index:z,total:g.length,onChange:(R)=>A(g.map((H,Y)=>Y===z?R:H)),onRemove:()=>A(g.filter((R,H)=>H!==z)),onMove:(R)=>{let H=[...g];[H[z],H[z+R]]=[H[z+R],H[z]],A(H)}},z)),v?xn.jsxs("div",{className:"abs-addstep",children:[xn.jsx(oc,{engine:s,ranked:E,onPick:B,label:"Call API",autoOpen:!0}),xn.jsx("button",{type:"button",className:"abs-link abs-more",onClick:()=>S(!1),children:"Cancel"})]}):xn.jsxs(xn.Fragment,{children:[xn.jsxs("button",{type:"button",className:"abs-btn abs-btn-dashed",onClick:()=>S(!0),children:[xn.jsx(be,{name:"plus"})," ",g.length?"Call another API":"Call an API"]}),!g.length&&xn.jsx("button",{type:"button",className:"abs-link abs-more",onClick:C,children:"No API needed"})]})]})}var hn=me(Ke(),1),A2={consume:"Data this component shows. Pick the API that returns it.",scoped:"A value shown for each row. Pick the field from the row's data.",trigger:"What happens when this is used. Pick the API calls it makes, or mark it as calling none."};function C2(l){let{engine:s,screen:r,comp:c,slot:f}=l,p=s.slotState(r,c.bindId,f.id),m=s.getB(r,c.bindId,f.id),g=f.role==="trigger"?"trigger":f.scope?"scoped":"consume";return hn.jsxs("section",{className:`abs-slot abs-slot-${p}`,"aria-labelledby":`slot-${c.bindId}-${f.id}`,children:[hn.jsxs("header",{className:"abs-slot-h",children:[hn.jsx(be,{name:g==="trigger"?"action":g==="scoped"?"row":"data",className:"abs-c-muted"}),hn.jsxs("h3",{id:`slot-${c.bindId}-${f.id}`,children:[f.label,f.required?hn.jsx("span",{className:"abs-req","aria-label":"required",children:"*"}):null]}),hn.jsx(g2,{text:f.description?`${f.description}. ${A2[g]}`:A2[g]}),hn.jsxs("span",{className:`abs-pill abs-pill-${p}`,children:[hn.jsx(nc,{state:p,size:13}),f2(p)]})]}),hn.jsx("div",{className:"abs-slot-b",children:g==="trigger"?hn.jsx(O2,{...l}):g==="scoped"?hn.jsx(T2,{...l}):hn.jsx(E2,{...l})}),m?hn.jsxs("footer",{className:"abs-slot-f"+(p==="suggested"?"":" is-plain"),children:[p==="suggested"?hn.jsxs("button",{type:"button",className:"abs-btn abs-btn-primary",onClick:()=>l.put({...m,state:"confirmed"}),children:[hn.jsx(be,{name:"check"})," Confirm"]}):null,hn.jsx("button",{type:"button",className:"abs-btn abs-btn-ghost",onClick:l.drop,children:p==="suggested"?"Discard":m.type==="none"?"Undo":"Disconnect"})]}):null]})}var zn=me(Ke(),1);function R2({engine:l,screen:s,comp:r,put:c,drop:f,goTo:p,onClose:m}){let g=l.descOf(r),v=r.parent?l.compOf(s.id,r.parent):void 0;return zn.jsxs("aside",{className:"abs-insp abs-enter","aria-label":`${r.label} settings`,children:[zn.jsxs("header",{className:"abs-insp-h",children:[zn.jsx(tc,{svg:g.icon}),zn.jsxs("div",{children:[zn.jsx("h2",{children:r.label}),zn.jsxs("span",{children:[g.label,v&&zn.jsxs(zn.Fragment,{children:[" in ",zn.jsx("button",{type:"button",className:"abs-link",onClick:()=>p(v.bindId),children:v.label})]})]})]}),zn.jsx("button",{type:"button",className:"abs-iconbtn",onClick:m,"aria-label":"Close panel",children:zn.jsx(be,{name:"close"})})]}),zn.jsx("div",{className:"abs-insp-b abs-scroll",children:l.bindable(g).map((S)=>zn.jsx(C2,{engine:l,screen:s.id,comp:r,slot:S,put:c,drop:()=>f(r.bindId,S.id),goTo:p},r.bindId+S.id))})]})}var Wo=me(en(),1);var Lt=me(Ke(),1);function uD(l){let s={key:"",name:"",nodes:[],screens:[],all:[]};for(let r of l){let c=s;c.all.push(r);for(let f of r.path.length?r.path:["Other"]){let p=c.key+"/"+f,m=c.nodes.find((g)=>g.key===p);if(!m)m={key:p,name:f,nodes:[],screens:[],all:[]},c.nodes.push(m);c=m,c.all.push(r)}if(!r.parent)c.screens.push(r)}return s.nodes}function _2({engine:l,current:s,onPick:r}){let[c,f]=Wo.useState(""),[p,m]=Wo.useState({}),g=l.fw.registry.screens,v=Wo.useMemo(()=>uD(g),[g]),S=Wo.useMemo(()=>{let w=new Map;return g.forEach((z)=>{if(z.parent)w.set(z.parent,[...w.get(z.parent)??[],z])}),w},[g]),A=c.trim().toLowerCase(),C=(w)=>!A||[w.label,...w.path].join(" ").toLowerCase().includes(A);Wo.useEffect(()=>{let w=g.find((z)=>z.id===s)?.path??[];m((z)=>{let R={...z};return w.forEach((H,Y)=>{R["/"+w.slice(0,Y+1).join("/")]=!0}),R})},[s,g]);let T=xi(),E=(w,z)=>{let R=S.get(w.id)??[];if(!(C(w)||R.some(C)))return null;let H=l.tally([w]);return Lt.jsxs(Wo.Fragment,{children:[Lt.jsxs("button",{type:"button","data-glide":!0,className:"abs-nav-item"+(w.id===s?" is-on":""),style:{paddingLeft:12+z*16},onClick:()=>r(w.id),"aria-current":w.id===s?"page":void 0,"aria-label":`${w.label}, ${H.bound} of ${H.total} connected`,children:[Lt.jsx(be,{name:w.parent?"dialog":"screen"}),Lt.jsx("span",{className:"abs-nav-l",children:w.label}),H.total>0&&H.bound===H.total?Lt.jsx(be,{name:"check",size:14,className:"abs-c-ok"}):Lt.jsxs("span",{className:"abs-nav-count",children:[H.bound,"/",H.total]})]}),R.map((Y)=>E(Y,z+1))]},w.id)},B=(w,z)=>{if(A&&!w.all.some(C))return null;let R=!!A||!!p[w.key],H=l.tally(w.all),Y=w.all.some((P)=>P.id===s);return Lt.jsxs("div",{className:"abs-tree",role:"treeitem","aria-expanded":R,children:[Lt.jsxs("button",{type:"button","data-glide":!0,className:"abs-nav-group-h"+(Y?" has-current":""),style:{paddingLeft:12+z*16},onClick:()=>m((P)=>({...P,[w.key]:!R})),"aria-expanded":R,"aria-label":`${w.name}, ${H.bound} of ${H.total} connected`,children:[Lt.jsx("span",{className:"abs-nav-l",children:w.name}),Lt.jsxs("span",{className:"abs-nav-count",children:[H.bound,"/",H.total]}),Lt.jsx(be,{name:"chevronRight",size:14,className:"abs-chev"+(R?" abs-rot90":"")})]}),Lt.jsx(Kp,{open:R,children:Lt.jsxs("div",{role:"group",children:[w.nodes.map((P)=>B(P,z+1)),w.screens.map((P)=>E(P,z+1))]})})]},w.key)};return Lt.jsxs("nav",{className:"abs-nav","aria-label":"Screens",children:[Lt.jsx("div",{className:"abs-nav-head",children:Lt.jsxs("div",{className:"abs-search",children:[Lt.jsx(be,{name:"search",className:"abs-c-muted",size:14}),Lt.jsx("input",{value:c,onChange:(w)=>f(w.target.value),placeholder:"Filter screens","aria-label":"Filter screens"})]})}),Lt.jsxs("div",{className:"abs-nav-scroll abs-scroll abs-glide-box",role:"tree","aria-label":"Products",ref:T.ref,...T.handlers,children:[T.indicator,Lt.jsx("div",{className:"abs-eyebrow abs-eyebrow-sm",children:"Products"}),v.map((w)=>B(w,0)),A&&!g.some(C)?Lt.jsxs("div",{className:"abs-empty-sm",children:["No screen matches “",c,"”."]}):null]})]})}var bo=me(en(),1);var Il=me(en(),1);var th=Symbol.for("yaml.alias"),nh=Symbol.for("yaml.document"),co=Symbol.for("yaml.map"),eb=Symbol.for("yaml.pair"),_a=Symbol.for("yaml.scalar"),Hl=Symbol.for("yaml.seq"),Zn=Symbol.for("yaml.node.type"),uo=(l)=>!!l&&typeof l==="object"&&l[Zn]===th,el=(l)=>!!l&&typeof l==="object"&&l[Zn]===nh,fo=(l)=>!!l&&typeof l==="object"&&l[Zn]===co,Fe=(l)=>!!l&&typeof l==="object"&&l[Zn]===eb,Ve=(l)=>!!l&&typeof l==="object"&&l[Zn]===_a,po=(l)=>!!l&&typeof l==="object"&&l[Zn]===Hl;function ft(l){if(l&&typeof l==="object")switch(l[Zn]){case co:case Hl:return!0}return!1}function et(l){if(l&&typeof l==="object")switch(l[Zn]){case th:case co:case _a:case Hl:return!0}return!1}var ah=(l)=>(Ve(l)||ft(l))&&!!l.anchor;var ua=Symbol("break visit"),N2=Symbol("skip children"),tl=Symbol("remove node");function nl(l,s){let r=D2(s);if(el(l)){if(lc(null,l.contents,r,Object.freeze([l]))===tl)l.contents=null}else lc(null,l,r,Object.freeze([]))}nl.BREAK=ua;nl.SKIP=N2;nl.REMOVE=tl;function lc(l,s,r,c){let f=M2(l,s,r,c);if(et(f)||Fe(f))return x2(l,c,f),lc(l,f,r,c);if(typeof f!=="symbol"){if(ft(s)){c=Object.freeze(c.concat(s));for(let p=0;p<s.items.length;++p){let m=lc(p,s.items[p],r,c);if(typeof m==="number")p=m-1;else if(m===ua)return ua;else if(m===tl)s.items.splice(p,1),p-=1}}else if(Fe(s)){c=Object.freeze(c.concat(s));let p=lc("key",s.key,r,c);if(p===ua)return ua;else if(p===tl)s.key=null;let m=lc("value",s.value,r,c);if(m===ua)return ua;else if(m===tl)s.value=null}}return f}async function oh(l,s){let r=D2(s);if(el(l)){if(await ic(null,l.contents,r,Object.freeze([l]))===tl)l.contents=null}else await ic(null,l,r,Object.freeze([]))}oh.BREAK=ua;oh.SKIP=N2;oh.REMOVE=tl;async function ic(l,s,r,c){let f=await M2(l,s,r,c);if(et(f)||Fe(f))return x2(l,c,f),ic(l,f,r,c);if(typeof f!=="symbol"){if(ft(s)){c=Object.freeze(c.concat(s));for(let p=0;p<s.items.length;++p){let m=await ic(p,s.items[p],r,c);if(typeof m==="number")p=m-1;else if(m===ua)return ua;else if(m===tl)s.items.splice(p,1),p-=1}}else if(Fe(s)){c=Object.freeze(c.concat(s));let p=await ic("key",s.key,r,c);if(p===ua)return ua;else if(p===tl)s.key=null;let m=await ic("value",s.value,r,c);if(m===ua)return ua;else if(m===tl)s.value=null}}return f}function D2(l){if(typeof l==="object"&&(l.Collection||l.Node||l.Value))return Object.assign({Alias:l.Node,Map:l.Node,Scalar:l.Node,Seq:l.Node},l.Value&&{Map:l.Value,Scalar:l.Value,Seq:l.Value},l.Collection&&{Map:l.Collection,Seq:l.Collection},l);return l}function M2(l,s,r,c){if(typeof r==="function")return r(l,s,c);if(fo(s))return r.Map?.(l,s,c);if(po(s))return r.Seq?.(l,s,c);if(Fe(s))return r.Pair?.(l,s,c);if(Ve(s))return r.Scalar?.(l,s,c);if(uo(s))return r.Alias?.(l,s,c);return}function x2(l,s,r){let c=s[s.length-1];if(ft(c))c.items[l]=r;else if(Fe(c))if(l==="key")c.key=r;else c.value=r;else if(el(c))c.contents=r;else{let f=uo(c)?"alias":"scalar";throw Error(`Cannot replace node with ${f} parent`)}}var fD={"!":"%21",",":"%2C","[":"%5B","]":"%5D","{":"%7B","}":"%7D"},dD=(l)=>l.replace(/[!,[\]{}]/g,(s)=>fD[s]);class wn{constructor(l,s){this.docStart=null,this.docEnd=!1,this.yaml=Object.assign({},wn.defaultYaml,l),this.tags=Object.assign({},wn.defaultTags,s)}clone(){let l=new wn(this.yaml,this.tags);return l.docStart=this.docStart,l}atDocument(){let l=new wn(this.yaml,this.tags);switch(this.yaml.version){case"1.1":this.atNextDocument=!0;break;case"1.2":this.atNextDocument=!1,this.yaml={explicit:wn.defaultYaml.explicit,version:"1.2"},this.tags=Object.assign({},wn.defaultTags);break}return l}add(l,s){if(this.atNextDocument)this.yaml={explicit:wn.defaultYaml.explicit,version:"1.1"},this.tags=Object.assign({},wn.defaultTags),this.atNextDocument=!1;let r=l.trim().split(/[ \t]+/),c=r.shift();switch(c){case"%TAG":{if(r.length!==2){if(s(0,"%TAG directive should contain exactly two parts"),r.length<2)return!1}let[f,p]=r;return this.tags[f]=p,!0}case"%YAML":{if(this.yaml.explicit=!0,r.length!==1)return s(0,"%YAML directive should contain exactly one part"),!1;let[f]=r;if(f==="1.1"||f==="1.2")return this.yaml.version=f,!0;else{let p=/^\d+\.\d+$/.test(f);return s(6,`Unsupported YAML version ${f}`,p),!1}}default:return s(0,`Unknown directive ${c}`,!0),!1}}tagName(l,s){if(l==="!")return"!";if(l[0]!=="!")return s(`Not a valid tag: ${l}`),null;if(l[1]==="<"){let p=l.slice(2,-1);if(p==="!"||p==="!!")return s(`Verbatim tags aren't resolved, so ${l} is invalid.`),null;if(l[l.length-1]!==">")s("Verbatim tags must end with a >");return p}let[,r,c]=l.match(/^(.*!)([^!]*)$/s);if(!c)s(`The ${l} tag has no suffix`);let f=this.tags[r];if(f)try{return f+decodeURIComponent(c)}catch(p){return s(String(p)),null}if(r==="!")return l;return s(`Could not resolve tag: ${l}`),null}tagString(l){for(let[s,r]of Object.entries(this.tags))if(l.startsWith(r))return s+dD(l.substring(r.length));return l[0]==="!"?l:`!<${l}>`}toString(l){let s=this.yaml.explicit?[`%YAML ${this.yaml.version||"1.2"}`]:[],r=Object.entries(this.tags),c;if(l&&r.length>0&&et(l.contents)){let f={};nl(l.contents,(p,m)=>{if(et(m)&&m.tag)f[m.tag]=!0}),c=Object.keys(f)}else c=[];for(let[f,p]of r){if(f==="!!"&&p==="tag:yaml.org,2002:")continue;if(!l||c.some((m)=>m.startsWith(p)))s.push(`%TAG ${f} ${p}`)}return s.join(`
|
|
240
|
+
`)}}wn.defaultYaml={explicit:!1,version:"1.2"};wn.defaultTags={"!!":"tag:yaml.org,2002:"};function lh(l){if(/[\x00-\x19\s,[\]{}]/.test(l)){let r=`Anchor must not contain whitespace or control characters: ${JSON.stringify(l)}`;throw Error(r)}return!0}function tb(l){let s=new Set;return nl(l,{Value(r,c){if(c.anchor)s.add(c.anchor)}}),s}function nb(l,s){for(let r=1;;++r){let c=`${l}${r}`;if(!s.has(c))return c}}function z2(l,s){let r=[],c=new Map,f=null;return{onAnchor:(p)=>{r.push(p),f??(f=tb(l));let m=nb(s,f);return f.add(m),m},setAnchors:()=>{for(let p of r){let m=c.get(p);if(typeof m==="object"&&m.anchor&&(Ve(m.node)||ft(m.node)))m.node.anchor=m.anchor;else{let g=Error("Failed to resolve repeated object (this should not happen)");throw g.source=p,g}}},sourceObjects:c}}function zi(l,s,r,c){if(c&&typeof c==="object")if(Array.isArray(c))for(let f=0,p=c.length;f<p;++f){let m=c[f],g=zi(l,c,String(f),m);if(g===void 0)delete c[f];else if(g!==m)c[f]=g}else if(c instanceof Map)for(let f of Array.from(c.keys())){let p=c.get(f),m=zi(l,c,f,p);if(m===void 0)c.delete(f);else if(m!==p)c.set(f,m)}else if(c instanceof Set)for(let f of Array.from(c)){let p=zi(l,c,f,f);if(p===void 0)c.delete(f);else if(p!==f)c.delete(f),c.add(p)}else for(let[f,p]of Object.entries(c)){let m=zi(l,c,f,p);if(m===void 0)delete c[f];else if(m!==p)c[f]=m}return l.call(s,r,c)}function tn(l,s,r){if(Array.isArray(l))return l.map((c,f)=>tn(c,String(f),r));if(l&&typeof l.toJSON==="function"){if(!r||!ah(l))return l.toJSON(s,r);let c={aliasCount:0,count:1,res:void 0};r.anchors.set(l,c),r.onCreate=(p)=>{c.res=p,delete r.onCreate};let f=l.toJSON(s,r);if(r.onCreate)r.onCreate(f);return f}if(typeof l==="bigint"&&!r?.keep)return Number(l);return l}class zs{constructor(l){Object.defineProperty(this,Zn,{value:l})}clone(){let l=Object.create(Object.getPrototypeOf(this),Object.getOwnPropertyDescriptors(this));if(this.range)l.range=this.range.slice();return l}toJS(l,{mapAsMap:s,maxAliasCount:r,onAnchor:c,reviver:f}={}){if(!el(l))throw TypeError("A document argument is required");let p={anchors:new Map,doc:l,keep:!0,mapAsMap:s===!0,mapKeyWarned:!1,maxAliasCount:typeof r==="number"?r:100},m=tn(this,"",p);if(typeof c==="function")for(let{count:g,res:v}of p.anchors.values())c(v,g);return typeof f==="function"?zi(f,{"":m},"",m):m}}class Ui extends zs{constructor(l){super(th);this.source=l,Object.defineProperty(this,"tag",{set(){throw Error("Alias nodes cannot have tags")}})}resolve(l,s){if(s?.maxAliasCount===0)throw ReferenceError("Alias resolution is disabled");let r;if(s?.aliasResolveCache)r=s.aliasResolveCache;else if(r=[],nl(l,{Node:(f,p)=>{if(uo(p)||ah(p))r.push(p)}}),s)s.aliasResolveCache=r;let c=void 0;for(let f of r){if(f===this)break;if(f.anchor===this.source)c=f}if(c&&s){let{anchors:f,doc:p,maxAliasCount:m}=s,g=f.get(c);if(!g)tn(c,null,s),g=f.get(c);if(g?.res===void 0)throw ReferenceError("This should not happen: Alias anchor was not resolved?");if(m>=0){if(g.count+=1,g.aliasCount===0)g.aliasCount=ih(p,c,f);if(g.count*g.aliasCount>m)throw ReferenceError("Excessive alias count indicates a resource exhaustion attack")}}return c}toJSON(l,s){if(!s)return{source:this.source};let r=this.resolve(s.doc,s);if(!r){let c=`Unresolved alias (the anchor must be set before the alias): ${this.source}`;throw ReferenceError(c)}return s.anchors.get(r).res}toString(l,s,r){let c=`*${this.source}`;if(l){if(lh(this.source),l.options.verifyAliasOrder&&!l.anchors.has(this.source)){let f=`Unresolved alias (the anchor must be set before the alias): ${this.source}`;throw Error(f)}if(l.implicitKey)return`${c} `}return c}}function ih(l,s,r){if(uo(s)){let c=s.resolve(l),f=r&&c&&r.get(c);return f?f.count*f.aliasCount:0}else if(ft(s)){let c=0;for(let f of s.items){let p=ih(l,f,r);if(p>c)c=p}return c}else if(Fe(s)){let c=ih(l,s.key,r),f=ih(l,s.value,r);return Math.max(c,f)}return 1}var sh=(l)=>!l||typeof l!=="function"&&typeof l!=="object";class ge extends zs{constructor(l){super(_a);this.value=l}toJSON(l,s){return s?.keep?this.value:tn(this.value,l,s)}toString(){return String(this.value)}}ge.BLOCK_FOLDED="BLOCK_FOLDED";ge.BLOCK_LITERAL="BLOCK_LITERAL";ge.PLAIN="PLAIN";ge.QUOTE_DOUBLE="QUOTE_DOUBLE";ge.QUOTE_SINGLE="QUOTE_SINGLE";var pD="tag:yaml.org,2002:";function hD(l,s,r){if(s){let c=r.filter((p)=>p.tag===s),f=c.find((p)=>!p.format)??c[0];if(!f)throw Error(`Tag ${s} not found`);return f}return r.find((c)=>c.identify?.(l)&&!c.format)}function jl(l,s,r){if(el(l))l=l.contents;if(et(l))return l;if(Fe(l)){let C=r.schema[co].createNode?.(r.schema,null,r);return C.items.push(l),C}if(l instanceof String||l instanceof Number||l instanceof Boolean||typeof BigInt<"u"&&l instanceof BigInt)l=l.valueOf();let{aliasDuplicateObjects:c,onAnchor:f,onTagObj:p,schema:m,sourceObjects:g}=r,v=void 0;if(c&&l&&typeof l==="object")if(v=g.get(l),v)return v.anchor??(v.anchor=f(l)),new Ui(v.anchor);else v={anchor:null,node:null},g.set(l,v);if(s?.startsWith("!!"))s=pD+s.slice(2);let S=hD(l,s,m.tags);if(!S){if(l&&typeof l.toJSON==="function")l=l.toJSON();if(!l||typeof l!=="object"){let C=new ge(l);if(v)v.node=C;return C}S=l instanceof Map?m[co]:(Symbol.iterator in Object(l))?m[Hl]:m[co]}if(p)p(S),delete r.onTagObj;let A=S?.createNode?S.createNode(r.schema,l,r):typeof S?.nodeClass?.from==="function"?S.nodeClass.from(r.schema,l,r):new ge(l);if(s)A.tag=s;else if(!S.default)A.tag=S.tag;if(v)v.node=A;return A}function Fu(l,s,r){let c=r;for(let f=s.length-1;f>=0;--f){let p=s[f];if(typeof p==="number"&&Number.isInteger(p)&&p>=0){let m=[];m[p]=c,c=m}else c=new Map([[p,c]])}return jl(c,void 0,{aliasDuplicateObjects:!1,keepUndefined:!1,onAnchor:()=>{throw Error("This should not happen, please report a bug.")},schema:l,sourceObjects:new Map})}var sc=(l)=>l==null||typeof l==="object"&&!!l[Symbol.iterator]().next().done;class Wu extends zs{constructor(l,s){super(l);Object.defineProperty(this,"schema",{value:s,configurable:!0,enumerable:!1,writable:!0})}clone(l){let s=Object.create(Object.getPrototypeOf(this),Object.getOwnPropertyDescriptors(this));if(l)s.schema=l;if(s.items=s.items.map((r)=>et(r)||Fe(r)?r.clone(l):r),this.range)s.range=this.range.slice();return s}addIn(l,s){if(sc(l))this.add(s);else{let[r,...c]=l,f=this.get(r,!0);if(ft(f))f.addIn(c,s);else if(f===void 0&&this.schema)this.set(r,Fu(this.schema,c,s));else throw Error(`Expected YAML collection at ${r}. Remaining path: ${c}`)}}deleteIn(l){let[s,...r]=l;if(r.length===0)return this.delete(s);let c=this.get(s,!0);if(ft(c))return c.deleteIn(r);else throw Error(`Expected YAML collection at ${s}. Remaining path: ${r}`)}getIn(l,s){let[r,...c]=l,f=this.get(r,!0);if(c.length===0)return!s&&Ve(f)?f.value:f;else return ft(f)?f.getIn(c,s):void 0}hasAllNullValues(l){return this.items.every((s)=>{if(!Fe(s))return!1;let r=s.value;return r==null||l&&Ve(r)&&r.value==null&&!r.commentBefore&&!r.comment&&!r.tag})}hasIn(l){let[s,...r]=l;if(r.length===0)return this.has(s);let c=this.get(s,!0);return ft(c)?c.hasIn(r):!1}setIn(l,s){let[r,...c]=l;if(c.length===0)this.set(r,s);else{let f=this.get(r,!0);if(ft(f))f.setIn(c,s);else if(f===void 0&&this.schema)this.set(r,Fu(this.schema,c,s));else throw Error(`Expected YAML collection at ${r}. Remaining path: ${c}`)}}}var U2=(l)=>l.replace(/^(?!$)(?: $)?/gm,"#");function Qa(l,s){if(/^\n+$/.test(l))return l.substring(1);return s?l.replace(/^(?! *$)/gm,s):l}var al=(l,s,r)=>l.endsWith(`
|
|
241
241
|
`)?Qa(r,s):r.includes(`
|
|
242
242
|
`)?`
|
|
243
|
-
`+Qa(r,s):(l.endsWith(" ")?"":" ")+r;var ab="flow",
|
|
244
|
-
`){if(r==="block")w=
|
|
243
|
+
`+Qa(r,s):(l.endsWith(" ")?"":" ")+r;var ab="flow",B2="block",L2="quoted";function ef(l,s,r="flow",{indentAtStart:c,lineWidth:f=80,minContentWidth:p=20,onFold:m,onOverflow:g}={}){if(!f||f<0)return l;if(f<p)p=0;let v=Math.max(1+p,1+f-s.length);if(l.length<=v)return l;let S=[],A={},C=f-s.length;if(typeof c==="number")if(c>f-Math.max(2,p))S.push(0);else C=f-c;let T=void 0,E=void 0,B=!1,w=-1,z=-1,R=-1;if(r==="block"){if(w=k2(l,w,s.length),w!==-1)C=w+v}for(let Y;Y=l[w+=1];){if(r==="quoted"&&Y==="\\"){switch(z=w,l[w+1]){case"x":w+=3;break;case"u":w+=5;break;case"U":w+=9;break;default:w+=1}R=w}if(Y===`
|
|
244
|
+
`){if(r==="block")w=k2(l,w,s.length);C=w+s.length+v,T=void 0}else{if(Y===" "&&E&&E!==" "&&E!==`
|
|
245
245
|
`&&E!=="\t"){let P=l[w+1];if(P&&P!==" "&&P!==`
|
|
246
|
-
`&&P!=="\t")T=w}if(w>=C)if(T)S.push(T),C=T+v,T=void 0;else if(r==="quoted"){while(E===" "||E==="\t")E=Y,Y=l[w+=1],
|
|
246
|
+
`&&P!=="\t")T=w}if(w>=C)if(T)S.push(T),C=T+v,T=void 0;else if(r==="quoted"){while(E===" "||E==="\t")E=Y,Y=l[w+=1],B=!0;let P=w>R+1?w-2:z-1;if(A[P])return l;S.push(P),A[P]=!0,C=P+v,T=void 0}else B=!0}E=Y}if(B&&g)g();if(S.length===0)return l;if(m)m();let H=l.slice(0,S[0]);for(let Y=0;Y<S.length;++Y){let P=S[Y],ce=S[Y+1]||l.length;if(P===0)H=`
|
|
247
247
|
${s}${l.slice(0,ce)}`;else{if(r==="quoted"&&A[P])H+=`${l[P]}\\`;H+=`
|
|
248
|
-
${s}${l.slice(P+1,ce)}`}}return H}function
|
|
249
|
-
`);c=s,f=s+1,p=l[f]}return c}var ch=(l,s)=>({indentAtStart:s?l.indent.length:l.indentAtStart,lineWidth:l.options.lineWidth,minContentWidth:l.options.minContentWidth}),uh=(l)=>/^(%|---|\.\.\.)/m.test(l);function
|
|
248
|
+
${s}${l.slice(P+1,ce)}`}}return H}function k2(l,s,r){let c=s,f=s+1,p=l[f];while(p===" "||p==="\t")if(s<f+r)p=l[++s];else{do p=l[++s];while(p&&p!==`
|
|
249
|
+
`);c=s,f=s+1,p=l[f]}return c}var ch=(l,s)=>({indentAtStart:s?l.indent.length:l.indentAtStart,lineWidth:l.options.lineWidth,minContentWidth:l.options.minContentWidth}),uh=(l)=>/^(%|---|\.\.\.)/m.test(l);function mD(l,s,r){if(!s||s<0)return!1;let c=s-r,f=l.length;if(f<=c)return!1;for(let p=0,m=0;p<f;++p)if(l[p]===`
|
|
250
250
|
`){if(p-m>c)return!0;if(m=p+1,f-m<=c)return!1}return!0}function tf(l,s){let r=JSON.stringify(l);if(s.options.doubleQuotedAsJSON)return r;let{implicitKey:c}=s,f=s.options.doubleQuotedMinMultiLineLength,p=s.indent||(uh(l)?" ":""),m="",g=0;for(let v=0,S=r[v];S;S=r[++v]){if(S===" "&&r[v+1]==="\\"&&r[v+2]==="n")m+=r.slice(g,v)+"\\ ",v+=1,g=v,S="\\";if(S==="\\")switch(r[v+1]){case"u":{m+=r.slice(g,v);let A=r.substr(v+2,4);switch(A){case"0000":m+="\\0";break;case"0007":m+="\\a";break;case"000b":m+="\\v";break;case"001b":m+="\\e";break;case"0085":m+="\\N";break;case"00a0":m+="\\_";break;case"2028":m+="\\L";break;case"2029":m+="\\P";break;default:if(A.substr(0,2)==="00")m+="\\x"+A.substr(2);else m+=r.substr(v,6)}v+=5,g=v+1}break;case"n":if(c||r[v+2]==='"'||r.length<f)v+=1;else{m+=r.slice(g,v)+`
|
|
251
251
|
|
|
252
252
|
`;while(r[v+2]==="\\"&&r[v+3]==="n"&&r[v+4]!=='"')m+=`
|
|
@@ -255,21 +255,21 @@ ${s}${l.slice(P+1,ce)}`}}return H}function B2(l,s,r){let c=s,f=s+1,p=l[f];while(
|
|
|
255
255
|
${r}`)+"'";return s.implicitKey?c:ef(c,r,ab,ch(s,!1))}function rc(l,s){let{singleQuote:r}=s.options,c;if(r===!1)c=tf;else{let f=l.includes('"'),p=l.includes("'");if(f&&!p)c=ob;else if(p&&!f)c=tf;else c=r?ob:tf}return c(l,s)}var lb;try{lb=new RegExp(`(^|(?<!
|
|
256
256
|
))
|
|
257
257
|
+(?!
|
|
258
|
-
|$)`,"g")}catch{lb=/\n+(?!\n|$)/g}function rh({comment:l,type:s,value:r},c,f,p){let{blockQuote:m,commentString:g,lineWidth:v}=c.options;if(!m||/\n[\t ]+$/.test(r))return rc(r,c);let S=c.indent||(c.forceBlockIndent||uh(r)?" ":""),A=m==="literal"?!0:m==="folded"||s===ge.BLOCK_FOLDED?!1:s===ge.BLOCK_LITERAL?!0:!
|
|
258
|
+
|$)`,"g")}catch{lb=/\n+(?!\n|$)/g}function rh({comment:l,type:s,value:r},c,f,p){let{blockQuote:m,commentString:g,lineWidth:v}=c.options;if(!m||/\n[\t ]+$/.test(r))return rc(r,c);let S=c.indent||(c.forceBlockIndent||uh(r)?" ":""),A=m==="literal"?!0:m==="folded"||s===ge.BLOCK_FOLDED?!1:s===ge.BLOCK_LITERAL?!0:!mD(r,v,S.length);if(!r)return A?`|
|
|
259
259
|
`:`>
|
|
260
260
|
`;let C,T;for(T=r.length;T>0;--T){let ce=r[T-1];if(ce!==`
|
|
261
|
-
`&&ce!=="\t"&&ce!==" ")break}let E=r.substring(T),
|
|
262
|
-
`);if(
|
|
261
|
+
`&&ce!=="\t"&&ce!==" ")break}let E=r.substring(T),B=E.indexOf(`
|
|
262
|
+
`);if(B===-1)C="-";else if(r===E||B!==E.length-1){if(C="+",p)p()}else C="";if(E){if(r=r.slice(0,-E.length),E[E.length-1]===`
|
|
263
263
|
`)E=E.slice(0,-1);E=E.replace(lb,`$&${S}`)}let w=!1,z,R=-1;for(z=0;z<r.length;++z){let ce=r[z];if(ce===" ")w=!0;else if(ce===`
|
|
264
264
|
`)R=z;else break}let H=r.substring(0,R<z?R+1:z);if(H)r=r.substring(H.length),H=H.replace(/\n+/g,`$&${S}`);let P=(w?S?"2":"1":"")+C;if(l){if(P+=" "+g(l.replace(/ ?[\r\n]+/g," ")),f)f()}if(!A){let ce=r.replace(/\n+/g,`
|
|
265
|
-
$&`).replace(/(?:^|\n)([\t ].*)(?:([\n\t ]*)\n(?![\n\t ]))?/g,"$1$2").replace(/\n+/g,`$&${S}`),G=!1,ie=ch(c,!0);if(m!=="folded"&&s!==ge.BLOCK_FOLDED)ie.onOverflow=()=>{G=!0};let W=ef(`${H}${ce}${E}`,S,
|
|
265
|
+
$&`).replace(/(?:^|\n)([\t ].*)(?:([\n\t ]*)\n(?![\n\t ]))?/g,"$1$2").replace(/\n+/g,`$&${S}`),G=!1,ie=ch(c,!0);if(m!=="folded"&&s!==ge.BLOCK_FOLDED)ie.onOverflow=()=>{G=!0};let W=ef(`${H}${ce}${E}`,S,B2,ie);if(!G)return`>${P}
|
|
266
266
|
${S}${W}`}return r=r.replace(/\n+/g,`$&${S}`),`|${P}
|
|
267
|
-
${S}${H}${r}${E}`}function
|
|
267
|
+
${S}${H}${r}${E}`}function gD(l,s,r,c){let{type:f,value:p}=l,{actualString:m,implicitKey:g,indent:v,indentStep:S,inFlow:A}=s;if(g&&p.includes(`
|
|
268
268
|
`)||A&&/[[\]{},]/.test(p))return rc(p,s);if(/^[\n\t ,[\]{}#&*!|>'"%@`]|^[?-]$|^[?-][ \t]|[\n:][ \t]|[ \t]\n|[\n\t ]#|[\n\t :]$/.test(p))return g||A||!p.includes(`
|
|
269
269
|
`)?rc(p,s):rh(l,s,r,c);if(!g&&!A&&f!==ge.PLAIN&&p.includes(`
|
|
270
270
|
`))return rh(l,s,r,c);if(uh(p)){if(v==="")return s.forceBlockIndent=!0,rh(l,s,r,c);else if(g&&v===S)return rc(p,s)}let C=p.replace(/\n+/g,`$&
|
|
271
|
-
${v}`);if(m){let T=(w)=>w.default&&w.tag!=="tag:yaml.org,2002:str"&&w.test?.test(C),{compat:E,tags:
|
|
272
|
-
${s.indent}${g}`}function H2({key:l,value:s},r,c,f){let{allNullValues:p,doc:m,indent:g,indentStep:v,options:{commentString:S,indentSeq:A,simpleKeys:C}}=r,T=et(l)&&l.comment||null;if(C){if(T)throw Error("With simple keys, key nodes cannot have comments");if(ft(l)||!et(l)&&typeof l==="object")throw Error("With simple keys, collection cannot be used as a key value")}let E=!C&&(!l||T&&s==null&&!r.inFlow||ft(l)||(Ve(l)?l.type===ge.BLOCK_FOLDED||l.type===ge.BLOCK_LITERAL:typeof l==="object"));r=Object.assign({},r,{allNullValues:!1,implicitKey:!E&&(C||!p),indent:g+v});let
|
|
271
|
+
${v}`);if(m){let T=(w)=>w.default&&w.tag!=="tag:yaml.org,2002:str"&&w.test?.test(C),{compat:E,tags:B}=s.doc.schema;if(B.some(T)||E?.some(T))return rc(p,s)}return g?C:ef(C,v,ab,ch(s,!1))}function Us(l,s,r,c){let{implicitKey:f,inFlow:p}=s,m=typeof l.value==="string"?l:Object.assign({},l,{value:String(l.value)}),{type:g}=l;if(g!==ge.QUOTE_DOUBLE){if(/[\x00-\x08\x0b-\x1f\x7f-\x9f\u{D800}-\u{DFFF}]/u.test(m.value))g=ge.QUOTE_DOUBLE}let v=(A)=>{switch(A){case ge.BLOCK_FOLDED:case ge.BLOCK_LITERAL:return f||p?rc(m.value,s):rh(m,s,r,c);case ge.QUOTE_DOUBLE:return tf(m.value,s);case ge.QUOTE_SINGLE:return ob(m.value,s);case ge.PLAIN:return gD(m,s,r,c);default:return null}},S=v(g);if(S===null){let{defaultKeyType:A,defaultStringType:C}=s.options,T=f&&A||C;if(S=v(T),S===null)throw Error(`Unsupported default string type ${T}`)}return S}function fh(l,s){let r=Object.assign({blockQuote:!0,commentString:U2,defaultKeyType:null,defaultStringType:"PLAIN",directives:null,doubleQuotedAsJSON:!1,doubleQuotedMinMultiLineLength:40,falseStr:"false",flowCollectionPadding:!0,indentSeq:!0,lineWidth:80,minContentWidth:20,nullStr:"null",simpleKeys:!1,singleQuote:null,trailingComma:!1,trueStr:"true",verifyAliasOrder:!0},l.schema.toStringOptions,s),c;switch(r.collectionStyle){case"block":c=!1;break;case"flow":c=!0;break;default:c=null}return{anchors:new Set,doc:l,flowCollectionPadding:r.flowCollectionPadding?" ":"",indent:"",indentStep:typeof r.indent==="number"?" ".repeat(r.indent):" ",inFlow:c,options:r}}function yD(l,s){if(s.tag){let f=l.filter((p)=>p.tag===s.tag);if(f.length>0)return f.find((p)=>p.format===s.format)??f[0]}let r=void 0,c;if(Ve(s)){c=s.value;let f=l.filter((p)=>p.identify?.(c));if(f.length>1){let p=f.filter((m)=>m.test);if(p.length>0)f=p}r=f.find((p)=>p.format===s.format)??f.find((p)=>!p.format)}else c=s,r=l.find((f)=>f.nodeClass&&c instanceof f.nodeClass);if(!r){let f=c?.constructor?.name??(c===null?"null":typeof c);throw Error(`Tag not resolved for ${f} value`)}return r}function bD(l,s,{anchors:r,doc:c}){if(!c.directives)return"";let f=[],p=(Ve(l)||ft(l))&&l.anchor;if(p&&lh(p))r.add(p),f.push(`&${p}`);let m=l.tag??(s.default?null:s.tag);if(m)f.push(c.directives.tagString(m));return f.join(" ")}function $l(l,s,r,c){if(Fe(l))return l.toString(s,r,c);if(uo(l)){if(s.doc.directives)return l.toString(s);if(s.resolvedAliases?.has(l))throw TypeError("Cannot stringify circular structure without alias nodes");else{if(s.resolvedAliases)s.resolvedAliases.add(l);else s.resolvedAliases=new Set([l]);l=l.resolve(s.doc)}}let f=void 0,p=et(l)?l:s.doc.createNode(l,{onTagObj:(v)=>f=v});f??(f=yD(s.doc.schema.tags,p));let m=bD(p,f,s);if(m.length>0)s.indentAtStart=(s.indentAtStart??0)+m.length+1;let g=typeof f.stringify==="function"?f.stringify(p,s,r,c):Ve(p)?Us(p,s,r,c):p.toString(s,r,c);if(!m)return g;return Ve(p)||g[0]==="{"||g[0]==="["?`${m} ${g}`:`${m}
|
|
272
|
+
${s.indent}${g}`}function H2({key:l,value:s},r,c,f){let{allNullValues:p,doc:m,indent:g,indentStep:v,options:{commentString:S,indentSeq:A,simpleKeys:C}}=r,T=et(l)&&l.comment||null;if(C){if(T)throw Error("With simple keys, key nodes cannot have comments");if(ft(l)||!et(l)&&typeof l==="object")throw Error("With simple keys, collection cannot be used as a key value")}let E=!C&&(!l||T&&s==null&&!r.inFlow||ft(l)||(Ve(l)?l.type===ge.BLOCK_FOLDED||l.type===ge.BLOCK_LITERAL:typeof l==="object"));r=Object.assign({},r,{allNullValues:!1,implicitKey:!E&&(C||!p),indent:g+v});let B=!1,w=!1,z=$l(l,r,()=>B=!0,()=>w=!0);if(!E&&!r.inFlow&&z.length>1024){if(C)throw Error("With simple keys, single line scalar must not span more than 1024 characters");E=!0}if(r.inFlow){if(p||s==null){if(B&&c)c();return z===""?"?":E?`? ${z}`:z}}else if(p&&!C||s==null&&E){if(z=`? ${z}`,T&&!B)z+=al(z,r.indent,S(T));else if(w&&f)f();return z}if(B)T=null;if(E){if(T)z+=al(z,r.indent,S(T));z=`? ${z}
|
|
273
273
|
${g}:`}else if(z=`${z}:`,T)z+=al(z,r.indent,S(T));let R,H,Y;if(et(s))R=!!s.spaceBefore,H=s.commentBefore,Y=s.comment;else if(R=!1,H=null,Y=null,s&&typeof s==="object")s=m.createNode(s);if(r.implicitKey=!1,!E&&!T&&Ve(s))r.indentAtStart=z.length+1;if(w=!1,!A&&v.length>=2&&!r.inFlow&&!E&&po(s)&&!s.flow&&!s.tag&&!s.anchor)r.indent=r.indent.substring(2);let P=!1,ce=$l(s,r,()=>P=!0,()=>w=!0),G=" ";if(T||R||H){if(G=R?`
|
|
274
274
|
`:"",H){let ie=S(H);G+=`
|
|
275
275
|
${Qa(ie,r.indent)}`}if(ce===""&&!r.inFlow){if(G===`
|
|
@@ -279,32 +279,32 @@ ${Qa(ie,r.indent)}`}if(ce===""&&!r.inFlow){if(G===`
|
|
|
279
279
|
${r.indent}`}else if(!E&&ft(s)){let ie=ce[0],W=ce.indexOf(`
|
|
280
280
|
`),Me=W!==-1,Ne=r.inFlow??s.flow??s.items.length===0;if(Me||!Ne){let Ee=!1;if(Me&&(ie==="&"||ie==="!")){let xe=ce.indexOf(" ");if(ie==="&"&&xe!==-1&&xe<W&&ce[xe+1]==="!")xe=ce.indexOf(" ",xe+1);if(xe===-1||W<xe)Ee=!0}if(!Ee)G=`
|
|
281
281
|
${r.indent}`}}else if(ce===""||ce[0]===`
|
|
282
|
-
`)G="";if(z+=G+ce,r.inFlow){if(P&&c)c()}else if(Y&&!P)z+=al(z,r.indent,S(Y));else if(w&&f)f();return z}function dh(l,s){if(l==="debug"||l==="warn")console.warn(s)}var ph="<<",ho={identify:(l)=>l===ph||typeof l==="symbol"&&l.description===ph,default:"key",tag:"tag:yaml.org,2002:merge",test:/^<<$/,resolve:()=>Object.assign(new ge(Symbol(ph)),{addToJSMap:sb}),stringify:()=>ph},j2=(l,s)=>(ho.identify(s)||Ve(s)&&(!s.type||s.type===ge.PLAIN)&&ho.identify(s.value))&&l?.doc.schema.tags.some((r)=>r.tag===ho.tag&&r.default);function sb(l,s,r){let c=$2(l,r);if(po(c))for(let f of c.items)ib(l,s,f);else if(Array.isArray(c))for(let f of c)ib(l,s,f);else ib(l,s,c)}function ib(l,s,r){let c=$2(l,r);if(!fo(c))throw Error("Merge sources must be maps or map aliases");let f=c.toJSON(null,l,Map);for(let[p,m]of f)if(s instanceof Map){if(!s.has(p))s.set(p,m)}else if(s instanceof Set)s.add(p);else if(!Object.prototype.hasOwnProperty.call(s,p))Object.defineProperty(s,p,{value:m,writable:!0,enumerable:!0,configurable:!0});return s}function $2(l,s){return l&&uo(s)?s.resolve(l.doc,l):s}function hh(l,s,{key:r,value:c}){if(et(r)&&r.addToJSMap)r.addToJSMap(l,s,c);else if(j2(l,r))sb(l,s,c);else{let f=tn(r,"",l);if(s instanceof Map)s.set(f,tn(c,f,l));else if(s instanceof Set)s.add(f);else{let p=
|
|
282
|
+
`)G="";if(z+=G+ce,r.inFlow){if(P&&c)c()}else if(Y&&!P)z+=al(z,r.indent,S(Y));else if(w&&f)f();return z}function dh(l,s){if(l==="debug"||l==="warn")console.warn(s)}var ph="<<",ho={identify:(l)=>l===ph||typeof l==="symbol"&&l.description===ph,default:"key",tag:"tag:yaml.org,2002:merge",test:/^<<$/,resolve:()=>Object.assign(new ge(Symbol(ph)),{addToJSMap:sb}),stringify:()=>ph},j2=(l,s)=>(ho.identify(s)||Ve(s)&&(!s.type||s.type===ge.PLAIN)&&ho.identify(s.value))&&l?.doc.schema.tags.some((r)=>r.tag===ho.tag&&r.default);function sb(l,s,r){let c=$2(l,r);if(po(c))for(let f of c.items)ib(l,s,f);else if(Array.isArray(c))for(let f of c)ib(l,s,f);else ib(l,s,c)}function ib(l,s,r){let c=$2(l,r);if(!fo(c))throw Error("Merge sources must be maps or map aliases");let f=c.toJSON(null,l,Map);for(let[p,m]of f)if(s instanceof Map){if(!s.has(p))s.set(p,m)}else if(s instanceof Set)s.add(p);else if(!Object.prototype.hasOwnProperty.call(s,p))Object.defineProperty(s,p,{value:m,writable:!0,enumerable:!0,configurable:!0});return s}function $2(l,s){return l&&uo(s)?s.resolve(l.doc,l):s}function hh(l,s,{key:r,value:c}){if(et(r)&&r.addToJSMap)r.addToJSMap(l,s,c);else if(j2(l,r))sb(l,s,c);else{let f=tn(r,"",l);if(s instanceof Map)s.set(f,tn(c,f,l));else if(s instanceof Set)s.add(f);else{let p=vD(r,f,l),m=tn(c,p,l);if(p in s)Object.defineProperty(s,p,{value:m,writable:!0,enumerable:!0,configurable:!0});else s[p]=m}}return s}function vD(l,s,r){if(s===null)return"";if(typeof s!=="object")return String(s);if(et(l)&&r?.doc){let c=fh(r.doc,{});c.anchors=new Set;for(let p of r.anchors.keys())c.anchors.add(p.anchor);c.inFlow=!0,c.inStringifyKey=!0;let f=l.toString(c);if(!r.mapKeyWarned){let p=JSON.stringify(f);if(p.length>40)p=p.substring(0,36)+'..."';dh(r.doc.options.logLevel,`Keys with collection values will be stringified due to JS Object restrictions: ${p}. Set mapAsMap: true to use object keys.`),r.mapKeyWarned=!0}return f}return JSON.stringify(s)}function cc(l,s,r){let c=jl(l,void 0,r),f=jl(s,void 0,r);return new It(c,f)}class It{constructor(l,s=null){Object.defineProperty(this,Zn,{value:eb}),this.key=l,this.value=s}clone(l){let{key:s,value:r}=this;if(et(s))s=s.clone(l);if(et(r))r=r.clone(l);return new It(s,r)}toJSON(l,s){let r=s?.mapAsMap?new Map:{};return hh(s,r,this)}toString(l,s,r){return l?.doc?H2(this,l,s,r):JSON.stringify(this)}}function gh(l,s,r){return(s.inFlow??l.flow?ED:SD)(l,s,r)}function SD({comment:l,items:s},r,{blockItemPrefix:c,flowChars:f,itemIndent:p,onChompKeep:m,onComment:g}){let{indent:v,options:{commentString:S}}=r,A=Object.assign({},r,{indent:p,type:null}),C=!1,T=[];for(let B=0;B<s.length;++B){let w=s[B],z=null;if(et(w)){if(!C&&w.spaceBefore)T.push("");if(mh(r,T,w.commentBefore,C),w.comment)z=w.comment}else if(Fe(w)){let H=et(w.key)?w.key:null;if(H){if(!C&&H.spaceBefore)T.push("");mh(r,T,H.commentBefore,C)}}C=!1;let R=$l(w,A,()=>z=null,()=>C=!0);if(z)R+=al(R,p,S(z));if(C&&z)C=!1;T.push(c+R)}let E;if(T.length===0)E=f.start+f.end;else{E=T[0];for(let B=1;B<T.length;++B){let w=T[B];E+=w?`
|
|
283
283
|
${v}${w}`:`
|
|
284
284
|
`}}if(l){if(E+=`
|
|
285
|
-
`+Qa(S(l),v),g)g()}else if(C&&m)m();return E}function
|
|
286
|
-
`)),
|
|
285
|
+
`+Qa(S(l),v),g)g()}else if(C&&m)m();return E}function ED({items:l},s,{flowChars:r,itemIndent:c}){let{indent:f,indentStep:p,flowCollectionPadding:m,options:{commentString:g}}=s;c+=p;let v=Object.assign({},s,{indent:c,inFlow:!0,type:null}),S=!1,A=0,C=[];for(let B=0;B<l.length;++B){let w=l[B],z=null;if(et(w)){if(w.spaceBefore)C.push("");if(mh(s,C,w.commentBefore,!1),w.comment)z=w.comment}else if(Fe(w)){let H=et(w.key)?w.key:null;if(H){if(H.spaceBefore)C.push("");if(mh(s,C,H.commentBefore,!1),H.comment)S=!0}let Y=et(w.value)?w.value:null;if(Y){if(Y.comment)z=Y.comment;if(Y.commentBefore)S=!0}else if(w.value==null&&H?.comment)z=H.comment}if(z)S=!0;let R=$l(w,v,()=>z=null);if(S||(S=C.length>A||R.includes(`
|
|
286
|
+
`)),B<l.length-1)R+=",";else if(s.options.trailingComma){if(s.options.lineWidth>0)S||(S=C.reduce((H,Y)=>H+Y.length+2,2)+(R.length+2)>s.options.lineWidth);if(S)R+=","}if(z)R+=al(R,c,g(z));C.push(R),A=C.length}let{start:T,end:E}=r;if(C.length===0)return T+E;else{if(!S){let B=C.reduce((w,z)=>w+z.length+2,2);S=s.options.lineWidth>0&&B>s.options.lineWidth}if(S){let B=T;for(let w of C)B+=w?`
|
|
287
287
|
${p}${f}${w}`:`
|
|
288
|
-
`;return`${
|
|
289
|
-
${f}${E}`}else return`${T}${m}${C.join(" ")}${m}${E}`}}function mh({indent:l,options:{commentString:s}},r,c,f){if(c&&f)c=c.replace(/^\n+/,"");if(c){let p=Qa(s(c),l);r.push(p.trimStart())}}function
|
|
288
|
+
`;return`${B}
|
|
289
|
+
${f}${E}`}else return`${T}${m}${C.join(" ")}${m}${E}`}}function mh({indent:l,options:{commentString:s}},r,c,f){if(c&&f)c=c.replace(/^\n+/,"");if(c){let p=Qa(s(c),l);r.push(p.trimStart())}}function ki(l,s){let r=Ve(s)?s.value:s;for(let c of l)if(Fe(c)){if(c.key===s||c.key===r)return c;if(Ve(c.key)&&c.key.value===r)return c}return}class Kt extends Wu{static get tagName(){return"tag:yaml.org,2002:map"}constructor(l){super(co,l);this.items=[]}static from(l,s,r){let{keepUndefined:c,replacer:f}=r,p=new this(l),m=(g,v)=>{if(typeof f==="function")v=f.call(s,g,v);else if(Array.isArray(f)&&!f.includes(g))return;if(v!==void 0||c)p.items.push(cc(g,v,r))};if(s instanceof Map)for(let[g,v]of s)m(g,v);else if(s&&typeof s==="object")for(let g of Object.keys(s))m(g,s[g]);if(typeof l.sortMapEntries==="function")p.items.sort(l.sortMapEntries);return p}add(l,s){let r;if(Fe(l))r=l;else if(!l||typeof l!=="object"||!("key"in l))r=new It(l,l?.value);else r=new It(l.key,l.value);let c=ki(this.items,r.key),f=this.schema?.sortMapEntries;if(c){if(!s)throw Error(`Key ${r.key} already set`);if(Ve(c.value)&&sh(r.value))c.value.value=r.value;else c.value=r.value}else if(f){let p=this.items.findIndex((m)=>f(r,m)<0);if(p===-1)this.items.push(r);else this.items.splice(p,0,r)}else this.items.push(r)}delete(l){let s=ki(this.items,l);if(!s)return!1;return this.items.splice(this.items.indexOf(s),1).length>0}get(l,s){let c=ki(this.items,l)?.value;return(!s&&Ve(c)?c.value:c)??void 0}has(l){return!!ki(this.items,l)}set(l,s){this.add(new It(l,s),!0)}toJSON(l,s,r){let c=r?new r:s?.mapAsMap?new Map:{};if(s?.onCreate)s.onCreate(c);for(let f of this.items)hh(s,c,f);return c}toString(l,s,r){if(!l)return JSON.stringify(this);for(let c of this.items)if(!Fe(c))throw Error(`Map items must all be pairs; found ${JSON.stringify(c)} instead`);if(!l.allNullValues&&this.hasAllNullValues(!1))l=Object.assign({},l,{allNullValues:!0});return gh(this,l,{blockItemPrefix:"",flowChars:{start:"{",end:"}"},itemIndent:l.indent||"",onChompKeep:r,onComment:s})}}var mo={collection:"map",default:!0,nodeClass:Kt,tag:"tag:yaml.org,2002:map",resolve(l,s){if(!fo(l))s("Expected a mapping for this tag");return l},createNode:(l,s,r)=>Kt.from(l,s,r)};class Pn extends Wu{static get tagName(){return"tag:yaml.org,2002:seq"}constructor(l){super(Hl,l);this.items=[]}add(l){this.items.push(l)}delete(l){let s=yh(l);if(typeof s!=="number")return!1;return this.items.splice(s,1).length>0}get(l,s){let r=yh(l);if(typeof r!=="number")return;let c=this.items[r];return!s&&Ve(c)?c.value:c}has(l){let s=yh(l);return typeof s==="number"&&s<this.items.length}set(l,s){let r=yh(l);if(typeof r!=="number")throw Error(`Expected a valid index, not ${l}.`);let c=this.items[r];if(Ve(c)&&sh(s))c.value=s;else this.items[r]=s}toJSON(l,s){let r=[];if(s?.onCreate)s.onCreate(r);let c=0;for(let f of this.items)r.push(tn(f,String(c++),s));return r}toString(l,s,r){if(!l)return JSON.stringify(this);return gh(this,l,{blockItemPrefix:"- ",flowChars:{start:"[",end:"]"},itemIndent:(l.indent||"")+" ",onChompKeep:r,onComment:s})}static from(l,s,r){let{replacer:c}=r,f=new this(l);if(s&&Symbol.iterator in Object(s)){let p=0;for(let m of s){if(typeof c==="function"){let g=s instanceof Set?m:String(p++);m=c.call(s,g,m)}f.items.push(jl(m,void 0,r))}}return f}}function yh(l){let s=Ve(l)?l.value:l;if(s&&typeof s==="string")s=Number(s);return typeof s==="number"&&Number.isInteger(s)&&s>=0?s:null}var go={collection:"seq",default:!0,nodeClass:Pn,tag:"tag:yaml.org,2002:seq",resolve(l,s){if(!po(l))s("Expected a sequence for this tag");return l},createNode:(l,s,r)=>Pn.from(l,s,r)};var Bi={identify:(l)=>typeof l==="string",default:!0,tag:"tag:yaml.org,2002:str",resolve:(l)=>l,stringify(l,s,r,c){return s=Object.assign({actualString:!0},s),Us(l,s,r,c)}};var ks={identify:(l)=>l==null,createNode:()=>new ge(null),default:!0,tag:"tag:yaml.org,2002:null",test:/^(?:~|[Nn]ull|NULL)?$/,resolve:()=>new ge(null),stringify:({source:l},s)=>typeof l==="string"&&ks.test.test(l)?l:s.options.nullStr};var nf={identify:(l)=>typeof l==="boolean",default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:[Tt]rue|TRUE|[Ff]alse|FALSE)$/,resolve:(l)=>new ge(l[0]==="t"||l[0]==="T"),stringify({source:l,value:s},r){if(l&&nf.test.test(l)){let c=l[0]==="t"||l[0]==="T";if(s===c)return l}return s?r.options.trueStr:r.options.falseStr}};function Un({format:l,minFractionDigits:s,tag:r,value:c}){if(typeof c==="bigint")return String(c);let f=typeof c==="number"?c:Number(c);if(!isFinite(f))return isNaN(f)?".nan":f<0?"-.inf":".inf";let p=Object.is(c,-0)?"-0":JSON.stringify(c);if(!l&&s&&(!r||r==="tag:yaml.org,2002:float")&&/^-?\d/.test(p)&&!p.includes("e")){let m=p.indexOf(".");if(m<0)m=p.length,p+=".";let g=s-(p.length-m-1);while(g-- >0)p+="0"}return p}var bh={identify:(l)=>typeof l==="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^(?:[-+]?\.(?:inf|Inf|INF)|\.nan|\.NaN|\.NAN)$/,resolve:(l)=>l.slice(-3).toLowerCase()==="nan"?NaN:l[0]==="-"?Number.NEGATIVE_INFINITY:Number.POSITIVE_INFINITY,stringify:Un},vh={identify:(l)=>typeof l==="number",default:!0,tag:"tag:yaml.org,2002:float",format:"EXP",test:/^[-+]?(?:\.[0-9]+|[0-9]+(?:\.[0-9]*)?)[eE][-+]?[0-9]+$/,resolve:(l)=>parseFloat(l),stringify(l){let s=Number(l.value);return isFinite(s)?s.toExponential():Un(l)}},Sh={identify:(l)=>typeof l==="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^[-+]?(?:\.[0-9]+|[0-9]+\.[0-9]*)$/,resolve(l){let s=new ge(parseFloat(l)),r=l.indexOf(".");if(r!==-1&&l[l.length-1]==="0")s.minFractionDigits=l.length-r-1;return s},stringify:Un};var Eh=(l)=>typeof l==="bigint"||Number.isInteger(l),rb=(l,s,r,{intAsBigInt:c})=>c?BigInt(l):parseInt(l.substring(s),r);function I2(l,s,r){let{value:c}=l;if(Eh(c)&&c>=0)return r+c.toString(s);return Un(l)}var Th={identify:(l)=>Eh(l)&&l>=0,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^0o[0-7]+$/,resolve:(l,s,r)=>rb(l,2,8,r),stringify:(l)=>I2(l,8,"0o")},wh={identify:Eh,default:!0,tag:"tag:yaml.org,2002:int",test:/^[-+]?[0-9]+$/,resolve:(l,s,r)=>rb(l,0,10,r),stringify:Un},Oh={identify:(l)=>Eh(l)&&l>=0,default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^0x[0-9a-fA-F]+$/,resolve:(l,s,r)=>rb(l,2,16,r),stringify:(l)=>I2(l,16,"0x")};var q2=[mo,go,Bi,ks,nf,Th,wh,Oh,bh,vh,Sh];function V2(l){return typeof l==="bigint"||Number.isInteger(l)}var Ah=({value:l})=>JSON.stringify(l),TD=[{identify:(l)=>typeof l==="string",default:!0,tag:"tag:yaml.org,2002:str",resolve:(l)=>l,stringify:Ah},{identify:(l)=>l==null,createNode:()=>new ge(null),default:!0,tag:"tag:yaml.org,2002:null",test:/^null$/,resolve:()=>null,stringify:Ah},{identify:(l)=>typeof l==="boolean",default:!0,tag:"tag:yaml.org,2002:bool",test:/^true$|^false$/,resolve:(l)=>l==="true",stringify:Ah},{identify:V2,default:!0,tag:"tag:yaml.org,2002:int",test:/^-?(?:0|[1-9][0-9]*)$/,resolve:(l,s,{intAsBigInt:r})=>r?BigInt(l):parseInt(l,10),stringify:({value:l})=>V2(l)?l.toString():JSON.stringify(l)},{identify:(l)=>typeof l==="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^-?(?:0|[1-9][0-9]*)(?:\.[0-9]*)?(?:[eE][-+]?[0-9]+)?$/,resolve:(l)=>parseFloat(l),stringify:Ah}],wD={default:!0,tag:"",test:/^/,resolve(l,s){return s(`Unresolved plain scalar ${JSON.stringify(l)}`),l}},Y2=[mo,go].concat(TD,wD);var af={identify:(l)=>l instanceof Uint8Array,default:!1,tag:"tag:yaml.org,2002:binary",resolve(l,s){if(typeof atob==="function"){let r=atob(l.replace(/[\n\r]/g,"")),c=new Uint8Array(r.length);for(let f=0;f<r.length;++f)c[f]=r.charCodeAt(f);return c}else return s("This environment does not support reading binary tags; either Buffer or atob is required"),l},stringify({comment:l,type:s,value:r},c,f,p){if(!r)return"";let m=r,g;if(typeof btoa==="function"){let v="";for(let S=0;S<m.length;++S)v+=String.fromCharCode(m[S]);g=btoa(v)}else throw Error("This environment does not support writing binary tags; either Buffer or btoa is required");if(s??(s=ge.BLOCK_LITERAL),s!==ge.QUOTE_DOUBLE){let v=Math.max(c.options.lineWidth-c.indent.length,c.options.minContentWidth),S=Math.ceil(g.length/v),A=Array(S);for(let C=0,T=0;C<S;++C,T+=v)A[C]=g.substr(T,v);g=A.join(s===ge.BLOCK_LITERAL?`
|
|
290
290
|
`:" ")}return Us({comment:l,type:s,value:g},c,f,p)}};function cb(l,s){if(po(l))for(let r=0;r<l.items.length;++r){let c=l.items[r];if(Fe(c))continue;else if(fo(c)){if(c.items.length>1)s("Each pair must have its own sequence indicator");let f=c.items[0]||new It(new ge(null));if(c.commentBefore)f.key.commentBefore=f.key.commentBefore?`${c.commentBefore}
|
|
291
291
|
${f.key.commentBefore}`:c.commentBefore;if(c.comment){let p=f.value??f.key;p.comment=p.comment?`${c.comment}
|
|
292
|
-
${p.comment}`:c.comment}c=f}l.items[r]=Fe(c)?c:new It(c)}else s("Expected a sequence for this tag");return l}function ub(l,s,r){let{replacer:c}=r,f=new Pn(l);f.tag="tag:yaml.org,2002:pairs";let p=0;if(s&&Symbol.iterator in Object(s))for(let m of s){if(typeof c==="function")m=c.call(s,String(p++),m);let g,v;if(Array.isArray(m))if(m.length===2)g=m[0],v=m[1];else throw TypeError(`Expected [key, value] tuple: ${m}`);else if(m&&m instanceof Object){let S=Object.keys(m);if(S.length===1)g=S[0],v=m[g];else throw TypeError(`Expected tuple with one key, not ${S.length} keys`)}else g=m;f.items.push(cc(g,v,r))}return f}var of={collection:"seq",default:!1,tag:"tag:yaml.org,2002:pairs",resolve:cb,createNode:ub};class uc extends Pn{constructor(){super();this.add=Kt.prototype.add.bind(this),this.delete=Kt.prototype.delete.bind(this),this.get=Kt.prototype.get.bind(this),this.has=Kt.prototype.has.bind(this),this.set=Kt.prototype.set.bind(this),this.tag=uc.tag}toJSON(l,s){if(!s)return super.toJSON(l);let r=new Map;if(s?.onCreate)s.onCreate(r);for(let c of this.items){let f,p;if(Fe(c))f=tn(c.key,"",s),p=tn(c.value,f,s);else f=tn(c,"",s);if(r.has(f))throw Error("Ordered maps must not include duplicate keys");r.set(f,p)}return r}static from(l,s,r){let c=ub(l,s,r),f=new this;return f.items=c.items,f}}uc.tag="tag:yaml.org,2002:omap";var lf={collection:"seq",identify:(l)=>l instanceof Map,nodeClass:uc,default:!1,tag:"tag:yaml.org,2002:omap",resolve(l,s){let r=cb(l,s),c=[];for(let{key:f}of r.items)if(Ve(f))if(c.includes(f.value))s(`Ordered maps must not include duplicate keys: ${f.value}`);else c.push(f.value);return Object.assign(new uc,r)},createNode:(l,s,r)=>uc.from(l,s,r)};function G2({value:l,source:s},r){if(s&&(l?fb:db).test.test(s))return s;return l?r.options.trueStr:r.options.falseStr}var fb={identify:(l)=>l===!0,default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:Y|y|[Yy]es|YES|[Tt]rue|TRUE|[Oo]n|ON)$/,resolve:()=>new ge(!0),stringify:G2},db={identify:(l)=>l===!1,default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:N|n|[Nn]o|NO|[Ff]alse|FALSE|[Oo]ff|OFF)$/,resolve:()=>new ge(!1),stringify:G2};var Q2={identify:(l)=>typeof l==="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^(?:[-+]?\.(?:inf|Inf|INF)|\.nan|\.NaN|\.NAN)$/,resolve:(l)=>l.slice(-3).toLowerCase()==="nan"?NaN:l[0]==="-"?Number.NEGATIVE_INFINITY:Number.POSITIVE_INFINITY,stringify:Un},X2={identify:(l)=>typeof l==="number",default:!0,tag:"tag:yaml.org,2002:float",format:"EXP",test:/^[-+]?(?:[0-9][0-9_]*)?(?:\.[0-9_]*)?[eE][-+]?[0-9]+$/,resolve:(l)=>parseFloat(l.replace(/_/g,"")),stringify(l){let s=Number(l.value);return isFinite(s)?s.toExponential():Un(l)}},J2={identify:(l)=>typeof l==="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^[-+]?(?:[0-9][0-9_]*)?\.[0-9_]*$/,resolve(l){let s=new ge(parseFloat(l.replace(/_/g,""))),r=l.indexOf(".");if(r!==-1){let c=l.substring(r+1).replace(/_/g,"");if(c[c.length-1]==="0")s.minFractionDigits=c.length}return s},stringify:Un};var sf=(l)=>typeof l==="bigint"||Number.isInteger(l);function Ch(l,s,r,{intAsBigInt:c}){let f=l[0];if(f==="-"||f==="+")s+=1;if(l=l.substring(s).replace(/_/g,""),c){switch(r){case 2:l=`0b${l}`;break;case 8:l=`0o${l}`;break;case 16:l=`0x${l}`;break}let m=BigInt(l);return f==="-"?BigInt(-1)*m:m}let p=parseInt(l,r);return f==="-"?-1*p:p}function pb(l,s,r){let{value:c}=l;if(sf(c)){let f=c.toString(s);return c<0?"-"+r+f.substr(1):r+f}return Un(l)}var K2={identify:sf,default:!0,tag:"tag:yaml.org,2002:int",format:"BIN",test:/^[-+]?0b[0-1_]+$/,resolve:(l,s,r)=>Ch(l,2,2,r),stringify:(l)=>pb(l,2,"0b")},Z2={identify:sf,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^[-+]?0[0-7_]+$/,resolve:(l,s,r)=>Ch(l,1,8,r),stringify:(l)=>pb(l,8,"0")},P2={identify:sf,default:!0,tag:"tag:yaml.org,2002:int",test:/^[-+]?[0-9][0-9_]*$/,resolve:(l,s,r)=>Ch(l,0,10,r),stringify:Un},F2={identify:sf,default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^[-+]?0x[0-9a-fA-F_]+$/,resolve:(l,s,r)=>Ch(l,2,16,r),stringify:(l)=>pb(l,16,"0x")};class fc extends Kt{constructor(l){super(l);this.tag=fc.tag}add(l){let s;if(Fe(l))s=l;else if(l&&typeof l==="object"&&"key"in l&&"value"in l&&l.value===null)s=new It(l.key,null);else s=new It(l,null);if(!
|
|
292
|
+
${p.comment}`:c.comment}c=f}l.items[r]=Fe(c)?c:new It(c)}else s("Expected a sequence for this tag");return l}function ub(l,s,r){let{replacer:c}=r,f=new Pn(l);f.tag="tag:yaml.org,2002:pairs";let p=0;if(s&&Symbol.iterator in Object(s))for(let m of s){if(typeof c==="function")m=c.call(s,String(p++),m);let g,v;if(Array.isArray(m))if(m.length===2)g=m[0],v=m[1];else throw TypeError(`Expected [key, value] tuple: ${m}`);else if(m&&m instanceof Object){let S=Object.keys(m);if(S.length===1)g=S[0],v=m[g];else throw TypeError(`Expected tuple with one key, not ${S.length} keys`)}else g=m;f.items.push(cc(g,v,r))}return f}var of={collection:"seq",default:!1,tag:"tag:yaml.org,2002:pairs",resolve:cb,createNode:ub};class uc extends Pn{constructor(){super();this.add=Kt.prototype.add.bind(this),this.delete=Kt.prototype.delete.bind(this),this.get=Kt.prototype.get.bind(this),this.has=Kt.prototype.has.bind(this),this.set=Kt.prototype.set.bind(this),this.tag=uc.tag}toJSON(l,s){if(!s)return super.toJSON(l);let r=new Map;if(s?.onCreate)s.onCreate(r);for(let c of this.items){let f,p;if(Fe(c))f=tn(c.key,"",s),p=tn(c.value,f,s);else f=tn(c,"",s);if(r.has(f))throw Error("Ordered maps must not include duplicate keys");r.set(f,p)}return r}static from(l,s,r){let c=ub(l,s,r),f=new this;return f.items=c.items,f}}uc.tag="tag:yaml.org,2002:omap";var lf={collection:"seq",identify:(l)=>l instanceof Map,nodeClass:uc,default:!1,tag:"tag:yaml.org,2002:omap",resolve(l,s){let r=cb(l,s),c=[];for(let{key:f}of r.items)if(Ve(f))if(c.includes(f.value))s(`Ordered maps must not include duplicate keys: ${f.value}`);else c.push(f.value);return Object.assign(new uc,r)},createNode:(l,s,r)=>uc.from(l,s,r)};function G2({value:l,source:s},r){if(s&&(l?fb:db).test.test(s))return s;return l?r.options.trueStr:r.options.falseStr}var fb={identify:(l)=>l===!0,default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:Y|y|[Yy]es|YES|[Tt]rue|TRUE|[Oo]n|ON)$/,resolve:()=>new ge(!0),stringify:G2},db={identify:(l)=>l===!1,default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:N|n|[Nn]o|NO|[Ff]alse|FALSE|[Oo]ff|OFF)$/,resolve:()=>new ge(!1),stringify:G2};var Q2={identify:(l)=>typeof l==="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^(?:[-+]?\.(?:inf|Inf|INF)|\.nan|\.NaN|\.NAN)$/,resolve:(l)=>l.slice(-3).toLowerCase()==="nan"?NaN:l[0]==="-"?Number.NEGATIVE_INFINITY:Number.POSITIVE_INFINITY,stringify:Un},X2={identify:(l)=>typeof l==="number",default:!0,tag:"tag:yaml.org,2002:float",format:"EXP",test:/^[-+]?(?:[0-9][0-9_]*)?(?:\.[0-9_]*)?[eE][-+]?[0-9]+$/,resolve:(l)=>parseFloat(l.replace(/_/g,"")),stringify(l){let s=Number(l.value);return isFinite(s)?s.toExponential():Un(l)}},J2={identify:(l)=>typeof l==="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^[-+]?(?:[0-9][0-9_]*)?\.[0-9_]*$/,resolve(l){let s=new ge(parseFloat(l.replace(/_/g,""))),r=l.indexOf(".");if(r!==-1){let c=l.substring(r+1).replace(/_/g,"");if(c[c.length-1]==="0")s.minFractionDigits=c.length}return s},stringify:Un};var sf=(l)=>typeof l==="bigint"||Number.isInteger(l);function Ch(l,s,r,{intAsBigInt:c}){let f=l[0];if(f==="-"||f==="+")s+=1;if(l=l.substring(s).replace(/_/g,""),c){switch(r){case 2:l=`0b${l}`;break;case 8:l=`0o${l}`;break;case 16:l=`0x${l}`;break}let m=BigInt(l);return f==="-"?BigInt(-1)*m:m}let p=parseInt(l,r);return f==="-"?-1*p:p}function pb(l,s,r){let{value:c}=l;if(sf(c)){let f=c.toString(s);return c<0?"-"+r+f.substr(1):r+f}return Un(l)}var K2={identify:sf,default:!0,tag:"tag:yaml.org,2002:int",format:"BIN",test:/^[-+]?0b[0-1_]+$/,resolve:(l,s,r)=>Ch(l,2,2,r),stringify:(l)=>pb(l,2,"0b")},Z2={identify:sf,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^[-+]?0[0-7_]+$/,resolve:(l,s,r)=>Ch(l,1,8,r),stringify:(l)=>pb(l,8,"0")},P2={identify:sf,default:!0,tag:"tag:yaml.org,2002:int",test:/^[-+]?[0-9][0-9_]*$/,resolve:(l,s,r)=>Ch(l,0,10,r),stringify:Un},F2={identify:sf,default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^[-+]?0x[0-9a-fA-F_]+$/,resolve:(l,s,r)=>Ch(l,2,16,r),stringify:(l)=>pb(l,16,"0x")};class fc extends Kt{constructor(l){super(l);this.tag=fc.tag}add(l){let s;if(Fe(l))s=l;else if(l&&typeof l==="object"&&"key"in l&&"value"in l&&l.value===null)s=new It(l.key,null);else s=new It(l,null);if(!ki(this.items,s.key))this.items.push(s)}get(l,s){let r=ki(this.items,l);return!s&&Fe(r)?Ve(r.key)?r.key.value:r.key:r}set(l,s){if(typeof s!=="boolean")throw Error(`Expected boolean value for set(key, value) in a YAML set, not ${typeof s}`);let r=ki(this.items,l);if(r&&!s)this.items.splice(this.items.indexOf(r),1);else if(!r&&s)this.items.push(new It(l))}toJSON(l,s){return super.toJSON(l,s,Set)}toString(l,s,r){if(!l)return JSON.stringify(this);if(this.hasAllNullValues(!0))return super.toString(Object.assign({},l,{allNullValues:!0}),s,r);else throw Error("Set items must all have null values")}static from(l,s,r){let{replacer:c}=r,f=new this(l);if(s&&Symbol.iterator in Object(s))for(let p of s){if(typeof c==="function")p=c.call(s,p,p);f.items.push(cc(p,null,r))}return f}}fc.tag="tag:yaml.org,2002:set";var rf={collection:"map",identify:(l)=>l instanceof Set,nodeClass:fc,default:!1,tag:"tag:yaml.org,2002:set",createNode:(l,s,r)=>fc.from(l,s,r),resolve(l,s){if(fo(l))if(l.hasAllNullValues(!0))return Object.assign(new fc,l);else s("Set items must all have null values");else s("Expected a mapping for this tag");return l}};function hb(l,s){let r=l[0],c=r==="-"||r==="+"?l.substring(1):l,f=(m)=>s?BigInt(m):Number(m),p=c.replace(/_/g,"").split(":").reduce((m,g)=>m*f(60)+f(g),f(0));return r==="-"?f(-1)*p:p}function W2(l){let{value:s}=l,r=(m)=>m;if(typeof s==="bigint")r=(m)=>BigInt(m);else if(isNaN(s)||!isFinite(s))return Un(l);let c="";if(s<0)c="-",s*=r(-1);let f=r(60),p=[s%f];if(s<60)p.unshift(0);else if(s=(s-p[0])/f,p.unshift(s%f),s>=60)s=(s-p[0])/f,p.unshift(s);return c+p.map((m)=>String(m).padStart(2,"0")).join(":").replace(/000000\d*$/,"")}var Rh={identify:(l)=>typeof l==="bigint"||Number.isInteger(l),default:!0,tag:"tag:yaml.org,2002:int",format:"TIME",test:/^[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+$/,resolve:(l,s,{intAsBigInt:r})=>hb(l,r),stringify:W2},_h={identify:(l)=>typeof l==="number",default:!0,tag:"tag:yaml.org,2002:float",format:"TIME",test:/^[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\.[0-9_]*$/,resolve:(l)=>hb(l,!1),stringify:W2},dc={identify:(l)=>l instanceof Date,default:!0,tag:"tag:yaml.org,2002:timestamp",test:RegExp("^([0-9]{4})-([0-9]{1,2})-([0-9]{1,2})(?:(?:t|T|[ \\t]+)([0-9]{1,2}):([0-9]{1,2}):([0-9]{1,2}(\\.[0-9]+)?)(?:[ \\t]*(Z|[-+][012]?[0-9](?::[0-9]{2})?))?)?$"),resolve(l){let s=l.match(dc.test);if(!s)throw Error("!!timestamp expects a date, starting with yyyy-mm-dd");let[,r,c,f,p,m,g]=s.map(Number),v=s[7]?Number((s[7]+"00").substr(1,3)):0,S=Date.UTC(r,c-1,f,p||0,m||0,g||0,v),A=s[8];if(A&&A!=="Z"){let C=hb(A,!1);if(Math.abs(C)<30)C*=60;S-=60000*C}return new Date(S)},stringify:({value:l})=>l?.toISOString().replace(/(T00:00:00)?\.000Z$/,"")??""};var mb=[mo,go,Bi,ks,fb,db,K2,Z2,P2,F2,Q2,X2,J2,af,ho,lf,of,rf,Rh,_h,dc];var eA=new Map([["core",q2],["failsafe",[mo,go,Bi]],["json",Y2],["yaml11",mb],["yaml-1.1",mb]]),tA={binary:af,bool:nf,float:Sh,floatExp:vh,floatNaN:bh,floatTime:_h,int:wh,intHex:Oh,intOct:Th,intTime:Rh,map:mo,merge:ho,null:ks,omap:lf,pairs:of,seq:go,set:rf,timestamp:dc},nA={"tag:yaml.org,2002:binary":af,"tag:yaml.org,2002:merge":ho,"tag:yaml.org,2002:omap":lf,"tag:yaml.org,2002:pairs":of,"tag:yaml.org,2002:set":rf,"tag:yaml.org,2002:timestamp":dc};function Nh(l,s,r){let c=eA.get(s);if(c&&!l)return r&&!c.includes(ho)?c.concat(ho):c.slice();let f=c;if(!f)if(Array.isArray(l))f=[];else{let p=Array.from(eA.keys()).filter((m)=>m!=="yaml11").map((m)=>JSON.stringify(m)).join(", ");throw Error(`Unknown schema "${s}"; use one of ${p} or define customTags array`)}if(Array.isArray(l))for(let p of l)f=f.concat(p);else if(typeof l==="function")f=l(f.slice());if(r)f=f.concat(ho);return f.reduce((p,m)=>{let g=typeof m==="string"?tA[m]:m;if(!g){let v=JSON.stringify(m),S=Object.keys(tA).map((A)=>JSON.stringify(A)).join(", ");throw Error(`Unknown custom tag ${v}; use one of ${S}`)}if(!p.includes(g))p.push(g);return p},[])}var OD=(l,s)=>l.key<s.key?-1:l.key>s.key?1:0;class cf{constructor({compat:l,customTags:s,merge:r,resolveKnownTags:c,schema:f,sortMapEntries:p,toStringDefaults:m}){this.compat=Array.isArray(l)?Nh(l,"compat"):l?Nh(null,l):null,this.name=typeof f==="string"&&f||"core",this.knownTags=c?nA:{},this.tags=Nh(s,this.name,r),this.toStringOptions=m??null,Object.defineProperty(this,co,{value:mo}),Object.defineProperty(this,_a,{value:Bi}),Object.defineProperty(this,Hl,{value:go}),this.sortMapEntries=typeof p==="function"?p:p===!0?OD:null}clone(){let l=Object.create(cf.prototype,Object.getOwnPropertyDescriptors(this));return l.tags=this.tags.slice(),l}}function aA(l,s){let r=[],c=s.directives===!0;if(s.directives!==!1&&l.directives){let v=l.directives.toString(l);if(v)r.push(v),c=!0;else if(l.directives.docStart)c=!0}if(c)r.push("---");let f=fh(l,s),{commentString:p}=f.options;if(l.commentBefore){if(r.length!==1)r.unshift("");let v=p(l.commentBefore);r.unshift(Qa(v,""))}let m=!1,g=null;if(l.contents){if(et(l.contents)){if(l.contents.spaceBefore&&c)r.push("");if(l.contents.commentBefore){let A=p(l.contents.commentBefore);r.push(Qa(A,""))}f.forceBlockIndent=!!l.comment,g=l.contents.comment}let v=g?void 0:()=>m=!0,S=$l(l.contents,f,()=>g=null,v);if(g)S+=al(S,"",p(g));if((S[0]==="|"||S[0]===">")&&r[r.length-1]==="---")r[r.length-1]=`--- ${S}`;else r.push(S)}else r.push($l(l.contents,f));if(l.directives?.docEnd)if(l.comment){let v=p(l.comment);if(v.includes(`
|
|
293
293
|
`))r.push("..."),r.push(Qa(v,""));else r.push(`... ${v}`)}else r.push("...");else{let v=l.comment;if(v&&m)v=v.replace(/^\n+/,"");if(v){if((!m||g)&&r[r.length-1]!=="")r.push("");r.push(Qa(p(v),""))}}return r.join(`
|
|
294
294
|
`)+`
|
|
295
|
-
`}class Li{constructor(l,s,r){this.commentBefore=null,this.comment=null,this.errors=[],this.warnings=[],Object.defineProperty(this,Zn,{value:nh});let c=null;if(typeof s==="function"||Array.isArray(s))c=s;else if(r===void 0&&s)r=s,s=void 0;let f=Object.assign({intAsBigInt:!1,keepSourceTokens:!1,logLevel:"warn",prettyErrors:!0,strict:!0,stringKeys:!1,uniqueKeys:!0,version:"1.2"},r);this.options=f;let{version:p}=f;if(r?._directives){if(this.directives=r._directives.atDocument(),this.directives.yaml.explicit)p=this.directives.yaml.version}else this.directives=new wn({version:p});this.setSchema(p,r),this.contents=l===void 0?null:this.createNode(l,c,r)}clone(){let l=Object.create(Li.prototype,{[Zn]:{value:nh}});if(l.commentBefore=this.commentBefore,l.comment=this.comment,l.errors=this.errors.slice(),l.warnings=this.warnings.slice(),l.options=Object.assign({},this.options),this.directives)l.directives=this.directives.clone();if(l.schema=this.schema.clone(),l.contents=et(this.contents)?this.contents.clone(l.schema):this.contents,this.range)l.range=this.range.slice();return l}add(l){if(pc(this.contents))this.contents.add(l)}addIn(l,s){if(pc(this.contents))this.contents.addIn(l,s)}createAlias(l,s){if(!l.anchor){let r=tb(this);l.anchor=!s||r.has(s)?nb(s||"a",r):s}return new Ui(l.anchor)}createNode(l,s,r){let c=void 0;if(typeof s==="function")l=s.call({"":l},"",l),c=s;else if(Array.isArray(s)){let w=(R)=>typeof R==="number"||R instanceof String||R instanceof Number,z=s.filter(w).map(String);if(z.length>0)s=s.concat(z);c=s}else if(r===void 0&&s)r=s,s=void 0;let{aliasDuplicateObjects:f,anchorPrefix:p,flow:m,keepUndefined:g,onTagObj:v,tag:S}=r??{},{onAnchor:A,setAnchors:C,sourceObjects:T}=z2(this,p||"a"),E={aliasDuplicateObjects:f??!0,keepUndefined:g??!1,onAnchor:A,onTagObj:v,replacer:c,schema:this.schema,sourceObjects:T},
|
|
295
|
+
`}class Li{constructor(l,s,r){this.commentBefore=null,this.comment=null,this.errors=[],this.warnings=[],Object.defineProperty(this,Zn,{value:nh});let c=null;if(typeof s==="function"||Array.isArray(s))c=s;else if(r===void 0&&s)r=s,s=void 0;let f=Object.assign({intAsBigInt:!1,keepSourceTokens:!1,logLevel:"warn",prettyErrors:!0,strict:!0,stringKeys:!1,uniqueKeys:!0,version:"1.2"},r);this.options=f;let{version:p}=f;if(r?._directives){if(this.directives=r._directives.atDocument(),this.directives.yaml.explicit)p=this.directives.yaml.version}else this.directives=new wn({version:p});this.setSchema(p,r),this.contents=l===void 0?null:this.createNode(l,c,r)}clone(){let l=Object.create(Li.prototype,{[Zn]:{value:nh}});if(l.commentBefore=this.commentBefore,l.comment=this.comment,l.errors=this.errors.slice(),l.warnings=this.warnings.slice(),l.options=Object.assign({},this.options),this.directives)l.directives=this.directives.clone();if(l.schema=this.schema.clone(),l.contents=et(this.contents)?this.contents.clone(l.schema):this.contents,this.range)l.range=this.range.slice();return l}add(l){if(pc(this.contents))this.contents.add(l)}addIn(l,s){if(pc(this.contents))this.contents.addIn(l,s)}createAlias(l,s){if(!l.anchor){let r=tb(this);l.anchor=!s||r.has(s)?nb(s||"a",r):s}return new Ui(l.anchor)}createNode(l,s,r){let c=void 0;if(typeof s==="function")l=s.call({"":l},"",l),c=s;else if(Array.isArray(s)){let w=(R)=>typeof R==="number"||R instanceof String||R instanceof Number,z=s.filter(w).map(String);if(z.length>0)s=s.concat(z);c=s}else if(r===void 0&&s)r=s,s=void 0;let{aliasDuplicateObjects:f,anchorPrefix:p,flow:m,keepUndefined:g,onTagObj:v,tag:S}=r??{},{onAnchor:A,setAnchors:C,sourceObjects:T}=z2(this,p||"a"),E={aliasDuplicateObjects:f??!0,keepUndefined:g??!1,onAnchor:A,onTagObj:v,replacer:c,schema:this.schema,sourceObjects:T},B=jl(l,S,E);if(m&&ft(B))B.flow=!0;return C(),B}createPair(l,s,r={}){let c=this.createNode(l,null,r),f=this.createNode(s,null,r);return new It(c,f)}delete(l){return pc(this.contents)?this.contents.delete(l):!1}deleteIn(l){if(sc(l)){if(this.contents==null)return!1;return this.contents=null,!0}return pc(this.contents)?this.contents.deleteIn(l):!1}get(l,s){return ft(this.contents)?this.contents.get(l,s):void 0}getIn(l,s){if(sc(l))return!s&&Ve(this.contents)?this.contents.value:this.contents;return ft(this.contents)?this.contents.getIn(l,s):void 0}has(l){return ft(this.contents)?this.contents.has(l):!1}hasIn(l){if(sc(l))return this.contents!==void 0;return ft(this.contents)?this.contents.hasIn(l):!1}set(l,s){if(this.contents==null)this.contents=Fu(this.schema,[l],s);else if(pc(this.contents))this.contents.set(l,s)}setIn(l,s){if(sc(l))this.contents=s;else if(this.contents==null)this.contents=Fu(this.schema,Array.from(l),s);else if(pc(this.contents))this.contents.setIn(l,s)}setSchema(l,s={}){if(typeof l==="number")l=String(l);let r;switch(l){case"1.1":if(this.directives)this.directives.yaml.version="1.1";else this.directives=new wn({version:"1.1"});r={resolveKnownTags:!1,schema:"yaml-1.1"};break;case"1.2":case"next":if(this.directives)this.directives.yaml.version=l;else this.directives=new wn({version:l});r={resolveKnownTags:!0,schema:"core"};break;case null:if(this.directives)delete this.directives;r=null;break;default:{let c=JSON.stringify(l);throw Error(`Expected '1.1', '1.2' or null as first argument, but found: ${c}`)}}if(s.schema instanceof Object)this.schema=s.schema;else if(r)this.schema=new cf(Object.assign(r,s));else throw Error("With a null YAML version, the { schema: Schema } option is required")}toJS({json:l,jsonArg:s,mapAsMap:r,maxAliasCount:c,onAnchor:f,reviver:p}={}){let m={anchors:new Map,doc:this,keep:!l,mapAsMap:r===!0,mapKeyWarned:!1,maxAliasCount:typeof c==="number"?c:100},g=tn(this.contents,s??"",m);if(typeof f==="function")for(let{count:v,res:S}of m.anchors.values())f(S,v);return typeof p==="function"?zi(p,{"":g},"",g):g}toJSON(l,s){return this.toJS({json:!0,jsonArg:l,mapAsMap:!1,onAnchor:s})}toString(l={}){if(this.errors.length>0)throw Error("Document with errors cannot be stringified");if("indent"in l&&(!Number.isInteger(l.indent)||Number(l.indent)<=0)){let s=JSON.stringify(l.indent);throw Error(`"indent" option must be a positive integer, not ${s}`)}return aA(this,l)}}function pc(l){if(ft(l))return!0;throw Error("Expected a YAML collection as document contents")}class Dh extends Error{constructor(l,s,r,c){super();this.name=l,this.code=r,this.message=c,this.pos=s}}class ol extends Dh{constructor(l,s,r){super("YAMLParseError",l,s,r)}}class Mh extends Dh{constructor(l,s,r){super("YAMLWarning",l,s,r)}}var gb=(l,s)=>(r)=>{if(r.pos[0]===-1)return;r.linePos=r.pos.map((g)=>s.linePos(g));let{line:c,col:f}=r.linePos[0];r.message+=` at line ${c}, column ${f}`;let p=f-1,m=l.substring(s.lineStarts[c-1],s.lineStarts[c]).replace(/[\n\r]+$/,"");if(p>=60&&m.length>80){let g=Math.min(p-39,m.length-79);m="…"+m.substring(g),p-=g-1}if(m.length>80)m=m.substring(0,79)+"…";if(c>1&&/^ *$/.test(m.substring(0,p))){let g=l.substring(s.lineStarts[c-2],s.lineStarts[c-1]);if(g.length>80)g=g.substring(0,79)+`…
|
|
296
296
|
`;m=g+m}if(/[^ ]/.test(m)){let g=1,v=r.linePos[1];if(v?.line===c&&v.col>f)g=Math.max(1,Math.min(v.col-f,80-p));let S=" ".repeat(p)+"^".repeat(g);r.message+=`:
|
|
297
297
|
|
|
298
298
|
${m}
|
|
299
299
|
${S}
|
|
300
|
-
`}};function ll(l,{flow:s,indicator:r,next:c,offset:f,onError:p,parentIndent:m,startOnNewline:g}){let v=!1,S=g,A=g,C="",T="",E=!1,
|
|
301
|
-
`))return!0;if(l.end){for(let s of l.end)if(s.type==="newline")return!0}return!1;case"flow-collection":for(let s of l.items){for(let r of s.start)if(r.type==="newline")return!0;if(s.sep){for(let r of s.sep)if(r.type==="newline")return!0}if(Hi(s.key)||Hi(s.value))return!0}return!1;default:return!0}}function uf(l,s,r){if(s?.type==="flow-collection"){let c=s.end[0];if(c.indent===l&&(c.source==="]"||c.source==="}")&&Hi(s))r(c,"BAD_INDENT","Flow end indicator should be more indented than parent",!0)}}function xh(l,s,r){let{uniqueKeys:c}=l.options;if(c===!1)return!1;let f=typeof c==="function"?c:(p,m)=>p===m||Ve(p)&&Ve(m)&&p.value===m.value;return s.some((p)=>f(p.key,r))}var oA="All mapping items must start at the same column";function lA({composeNode:l,composeEmptyNode:s},r,c,f,p){let g=new(p?.nodeClass??Kt)(r.schema);if(r.atRoot)r.atRoot=!1;let v=c.offset,S=null;for(let A of c.items){let{start:C,key:T,sep:E,value:
|
|
302
|
-
`+w.comment;else g.comment=w.comment;continue}if(w.newlineAfterProp||Hi(T))f(T??C[C.length-1],"MULTILINE_IMPLICIT_KEY","Implicit keys need to be on a single line")}else if(w.found?.indent!==c.indent)f(v,"BAD_INDENT",oA);r.atKey=!0;let R=w.end,H=T?l(r,T,w,f):s(r,R,C,null,w,f);if(r.schema.compat)uf(c.indent,T,f);if(r.atKey=!1,xh(r,g.items,H))f(R,"DUPLICATE_KEY","Map keys must be unique");let Y=ll(E??[],{indicator:"map-value-ind",next:
|
|
300
|
+
`}};function ll(l,{flow:s,indicator:r,next:c,offset:f,onError:p,parentIndent:m,startOnNewline:g}){let v=!1,S=g,A=g,C="",T="",E=!1,B=!1,w=null,z=null,R=null,H=null,Y=null,P=null,ce=null;for(let W of l){if(B){if(W.type!=="space"&&W.type!=="newline"&&W.type!=="comma")p(W.offset,"MISSING_CHAR","Tags and anchors must be separated from the next token by white space");B=!1}if(w){if(S&&W.type!=="comment"&&W.type!=="newline")p(w,"TAB_AS_INDENT","Tabs are not allowed as indentation");w=null}switch(W.type){case"space":if(!s&&(r!=="doc-start"||c?.type!=="flow-collection")&&W.source.includes("\t"))w=W;A=!0;break;case"comment":{if(!A)p(W,"MISSING_CHAR","Comments must be separated from other tokens by white space characters");let Me=W.source.substring(1)||" ";if(!C)C=Me;else C+=T+Me;T="",S=!1;break}case"newline":if(S){if(C)C+=W.source;else if(!P||r!=="seq-item-ind")v=!0}else T+=W.source;if(S=!0,E=!0,z||R)H=W;A=!0;break;case"anchor":if(z)p(W,"MULTIPLE_ANCHORS","A node can have at most one anchor");if(W.source.endsWith(":"))p(W.offset+W.source.length-1,"BAD_ALIAS","Anchor ending in : is ambiguous",!0);z=W,ce??(ce=W.offset),S=!1,A=!1,B=!0;break;case"tag":{if(R)p(W,"MULTIPLE_TAGS","A node can have at most one tag");R=W,ce??(ce=W.offset),S=!1,A=!1,B=!0;break}case r:if(z||R)p(W,"BAD_PROP_ORDER",`Anchors and tags must be after the ${W.source} indicator`);if(P)p(W,"UNEXPECTED_TOKEN",`Unexpected ${W.source} in ${s??"collection"}`);P=W,S=r==="seq-item-ind"||r==="explicit-key-ind",A=!1;break;case"comma":if(s){if(Y)p(W,"UNEXPECTED_TOKEN",`Unexpected , in ${s}`);Y=W,S=!1,A=!1;break}default:p(W,"UNEXPECTED_TOKEN",`Unexpected ${W.type} token`),S=!1,A=!1}}let G=l[l.length-1],ie=G?G.offset+G.source.length:f;if(B&&c&&c.type!=="space"&&c.type!=="newline"&&c.type!=="comma"&&(c.type!=="scalar"||c.source!==""))p(c.offset,"MISSING_CHAR","Tags and anchors must be separated from the next token by white space");if(w&&(S&&w.indent<=m||c?.type==="block-map"||c?.type==="block-seq"))p(w,"TAB_AS_INDENT","Tabs are not allowed as indentation");return{comma:Y,found:P,spaceBefore:v,comment:C,hasNewline:E,anchor:z,tag:R,newlineAfterProp:H,end:ie,start:ce??ie}}function Hi(l){if(!l)return null;switch(l.type){case"alias":case"scalar":case"double-quoted-scalar":case"single-quoted-scalar":if(l.source.includes(`
|
|
301
|
+
`))return!0;if(l.end){for(let s of l.end)if(s.type==="newline")return!0}return!1;case"flow-collection":for(let s of l.items){for(let r of s.start)if(r.type==="newline")return!0;if(s.sep){for(let r of s.sep)if(r.type==="newline")return!0}if(Hi(s.key)||Hi(s.value))return!0}return!1;default:return!0}}function uf(l,s,r){if(s?.type==="flow-collection"){let c=s.end[0];if(c.indent===l&&(c.source==="]"||c.source==="}")&&Hi(s))r(c,"BAD_INDENT","Flow end indicator should be more indented than parent",!0)}}function xh(l,s,r){let{uniqueKeys:c}=l.options;if(c===!1)return!1;let f=typeof c==="function"?c:(p,m)=>p===m||Ve(p)&&Ve(m)&&p.value===m.value;return s.some((p)=>f(p.key,r))}var oA="All mapping items must start at the same column";function lA({composeNode:l,composeEmptyNode:s},r,c,f,p){let g=new(p?.nodeClass??Kt)(r.schema);if(r.atRoot)r.atRoot=!1;let v=c.offset,S=null;for(let A of c.items){let{start:C,key:T,sep:E,value:B}=A,w=ll(C,{indicator:"explicit-key-ind",next:T??E?.[0],offset:v,onError:f,parentIndent:c.indent,startOnNewline:!0}),z=!w.found;if(z){if(T){if(T.type==="block-seq")f(v,"BLOCK_AS_IMPLICIT_KEY","A block sequence may not be used as an implicit map key");else if("indent"in T&&T.indent!==c.indent)f(v,"BAD_INDENT",oA)}if(!w.anchor&&!w.tag&&!E){if(S=w.end,w.comment)if(g.comment)g.comment+=`
|
|
302
|
+
`+w.comment;else g.comment=w.comment;continue}if(w.newlineAfterProp||Hi(T))f(T??C[C.length-1],"MULTILINE_IMPLICIT_KEY","Implicit keys need to be on a single line")}else if(w.found?.indent!==c.indent)f(v,"BAD_INDENT",oA);r.atKey=!0;let R=w.end,H=T?l(r,T,w,f):s(r,R,C,null,w,f);if(r.schema.compat)uf(c.indent,T,f);if(r.atKey=!1,xh(r,g.items,H))f(R,"DUPLICATE_KEY","Map keys must be unique");let Y=ll(E??[],{indicator:"map-value-ind",next:B,offset:H.range[2],onError:f,parentIndent:c.indent,startOnNewline:!T||T.type==="block-scalar"});if(v=Y.end,Y.found){if(z){if(B?.type==="block-map"&&!Y.hasNewline)f(v,"BLOCK_AS_IMPLICIT_KEY","Nested mappings are not allowed in compact mappings");if(r.options.strict&&w.start<Y.found.offset-1024)f(H.range,"KEY_OVER_1024_CHARS","The : indicator must be at most 1024 chars after the start of an implicit block mapping key")}let P=B?l(r,B,Y,f):s(r,v,E,null,Y,f);if(r.schema.compat)uf(c.indent,B,f);v=P.range[2];let ce=new It(H,P);if(r.options.keepSourceTokens)ce.srcToken=A;g.items.push(ce)}else{if(z)f(H.range,"MISSING_CHAR","Implicit map keys need to be followed by map values");if(Y.comment)if(H.comment)H.comment+=`
|
|
303
303
|
`+Y.comment;else H.comment=Y.comment;let P=new It(H);if(r.options.keepSourceTokens)P.srcToken=A;g.items.push(P)}}if(S&&S<v)f(S,"IMPOSSIBLE","Map comment with trailing content");return g.range=[c.offset,v,S??v],g}function iA({composeNode:l,composeEmptyNode:s},r,c,f,p){let g=new(p?.nodeClass??Pn)(r.schema);if(r.atRoot)r.atRoot=!1;if(r.atKey)r.atKey=!1;let v=c.offset,S=null;for(let{start:A,value:C}of c.items){let T=ll(A,{indicator:"seq-item-ind",next:C,offset:v,onError:f,parentIndent:c.indent,startOnNewline:!0});if(!T.found)if(T.anchor||T.tag||C)if(C?.type==="block-seq")f(T.end,"BAD_INDENT","All sequence items must start at the same column");else f(v,"MISSING_CHAR","Sequence item without - indicator");else{if(S=T.end,T.comment)g.comment=T.comment;continue}let E=C?l(r,C,T,f):s(r,T.end,A,null,T,f);if(r.schema.compat)uf(c.indent,C,f);v=E.range[2],g.items.push(E)}return g.range=[c.offset,v,S??v],g}function il(l,s,r,c){let f="";if(l){let p=!1,m="";for(let g of l){let{source:v,type:S}=g;switch(S){case"space":p=!0;break;case"comment":{if(r&&!p)c(g,"MISSING_CHAR","Comments must be separated from other tokens by white space characters");let A=v.substring(1)||" ";if(!f)f=A;else f+=m+A;m="";break}case"newline":if(f)m+=v;p=!0;break;default:c(g,"UNEXPECTED_TOKEN",`Unexpected ${S} at node end`)}s+=v.length}}return{comment:f,offset:s}}var yb="Block collections are not allowed within flow collections",bb=(l)=>l&&(l.type==="block-map"||l.type==="block-seq");function sA({composeNode:l,composeEmptyNode:s},r,c,f,p){let m=c.start.source==="{",g=m?"flow map":"flow sequence",S=new(p?.nodeClass??(m?Kt:Pn))(r.schema);S.flow=!0;let A=r.atRoot;if(A)r.atRoot=!1;if(r.atKey)r.atKey=!1;let C=c.offset+c.start.source.length;for(let z=0;z<c.items.length;++z){let R=c.items[z],{start:H,key:Y,sep:P,value:ce}=R,G=ll(H,{flow:g,indicator:"explicit-key-ind",next:Y??P?.[0],offset:C,onError:f,parentIndent:c.indent,startOnNewline:!1});if(!G.found){if(!G.anchor&&!G.tag&&!P&&!ce){if(z===0&&G.comma)f(G.comma,"UNEXPECTED_TOKEN",`Unexpected , in ${g}`);else if(z<c.items.length-1)f(G.start,"UNEXPECTED_TOKEN",`Unexpected empty item in ${g}`);if(G.comment)if(S.comment)S.comment+=`
|
|
304
304
|
`+G.comment;else S.comment=G.comment;C=G.end;continue}if(!m&&r.options.strict&&Hi(Y))f(Y,"MULTILINE_IMPLICIT_KEY","Implicit keys of flow sequence pairs need to be on a single line")}if(z===0){if(G.comma)f(G.comma,"UNEXPECTED_TOKEN",`Unexpected , in ${g}`)}else{if(!G.comma)f(G.start,"MISSING_CHAR",`Missing , between ${g} items`);if(G.comment){let ie="";e:for(let W of H)switch(W.type){case"comma":case"space":break;case"comment":ie=W.source.substring(1);break e;default:break e}if(ie){let W=S.items[S.items.length-1];if(Fe(W))W=W.value??W.key;if(W.comment)W.comment+=`
|
|
305
305
|
`+ie;else W.comment=ie;G.comment=G.comment.substring(ie.length+1)}}}if(!m&&!P&&!G.found){let ie=ce?l(r,ce,G,f):s(r,G.end,P,null,G,f);if(S.items.push(ie),C=ie.range[2],bb(ce))f(ie.range,"BLOCK_IN_FLOW",yb)}else{r.atKey=!0;let ie=G.end,W=Y?l(r,Y,G,f):s(r,ie,H,null,G,f);if(bb(Y))f(W.range,"BLOCK_IN_FLOW",yb);r.atKey=!1;let Me=ll(P??[],{flow:g,indicator:"map-value-ind",next:ce,offset:W.range[2],onError:f,parentIndent:c.indent,startOnNewline:!1});if(Me.found){if(!m&&!G.found&&r.options.strict){if(P)for(let xe of P){if(xe===Me.found)break;if(xe.type==="newline"){f(xe,"MULTILINE_IMPLICIT_KEY","Implicit keys of flow sequence pairs need to be on a single line");break}}if(G.start<Me.found.offset-1024)f(Me.found,"KEY_OVER_1024_CHARS","The : indicator must be at most 1024 chars after the start of an implicit flow sequence key")}}else if(ce)if("source"in ce&&ce.source?.[0]===":")f(ce,"MISSING_CHAR",`Missing space after : in ${g}`);else f(Me.start,"MISSING_CHAR",`Missing , or : between ${g} items`);let Ne=ce?l(r,ce,Me,f):Me.found?s(r,Me.end,P,null,Me,f):null;if(Ne){if(bb(ce))f(Ne.range,"BLOCK_IN_FLOW",yb)}else if(Me.comment)if(W.comment)W.comment+=`
|
|
306
|
-
`+Me.comment;else W.comment=Me.comment;let Ee=new It(W,Ne);if(r.options.keepSourceTokens)Ee.srcToken=R;if(m){let xe=S;if(xh(r,xe.items,W))f(ie,"DUPLICATE_KEY","Map keys must be unique");xe.items.push(Ee)}else{let xe=new Kt(r.schema);xe.flow=!0,xe.items.push(Ee);let ot=(Ne??W).range;xe.range=[W.range[0],ot[1],ot[2]],S.items.push(xe)}C=Ne?Ne.range[2]:Me.end}}let T=m?"}":"]",[E,...
|
|
307
|
-
`+z.comment;else S.comment=z.comment;S.range=[c.offset,w,z.offset]}else S.range=[c.offset,w,w];return S}function vb(l,s,r,c,f,p){let m=r.type==="block-map"?lA(l,s,r,c,p):r.type==="block-seq"?iA(l,s,r,c,p):sA(l,s,r,c,p),g=m.constructor;if(f==="!"||f===g.tagName)return m.tag=g.tagName,m;if(f)m.tag=f;return m}function rA(l,s,r,c,f){let p=c.tag,m=!p?null:s.directives.tagName(p.source,(T)=>f(p,"TAG_RESOLVE_FAILED",T));if(r.type==="block-seq"){let{anchor:T,newlineAfterProp:E}=c,
|
|
306
|
+
`+Me.comment;else W.comment=Me.comment;let Ee=new It(W,Ne);if(r.options.keepSourceTokens)Ee.srcToken=R;if(m){let xe=S;if(xh(r,xe.items,W))f(ie,"DUPLICATE_KEY","Map keys must be unique");xe.items.push(Ee)}else{let xe=new Kt(r.schema);xe.flow=!0,xe.items.push(Ee);let ot=(Ne??W).range;xe.range=[W.range[0],ot[1],ot[2]],S.items.push(xe)}C=Ne?Ne.range[2]:Me.end}}let T=m?"}":"]",[E,...B]=c.end,w=C;if(E?.source===T)w=E.offset+E.source.length;else{let z=g[0].toUpperCase()+g.substring(1),R=A?`${z} must end with a ${T}`:`${z} in block collection must be sufficiently indented and end with a ${T}`;if(f(C,A?"MISSING_CHAR":"BAD_INDENT",R),E&&E.source.length!==1)B.unshift(E)}if(B.length>0){let z=il(B,w,r.options.strict,f);if(z.comment)if(S.comment)S.comment+=`
|
|
307
|
+
`+z.comment;else S.comment=z.comment;S.range=[c.offset,w,z.offset]}else S.range=[c.offset,w,w];return S}function vb(l,s,r,c,f,p){let m=r.type==="block-map"?lA(l,s,r,c,p):r.type==="block-seq"?iA(l,s,r,c,p):sA(l,s,r,c,p),g=m.constructor;if(f==="!"||f===g.tagName)return m.tag=g.tagName,m;if(f)m.tag=f;return m}function rA(l,s,r,c,f){let p=c.tag,m=!p?null:s.directives.tagName(p.source,(T)=>f(p,"TAG_RESOLVE_FAILED",T));if(r.type==="block-seq"){let{anchor:T,newlineAfterProp:E}=c,B=T&&p?T.offset>p.offset?T:p:T??p;if(B&&(!E||E.offset<B.offset))f(B,"MISSING_CHAR","Missing newline after block sequence props")}let g=r.type==="block-map"?"map":r.type==="block-seq"?"seq":r.start.source==="{"?"map":"seq";if(!p||!m||m==="!"||m===Kt.tagName&&g==="map"||m===Pn.tagName&&g==="seq")return vb(l,s,r,f,m);let v=s.schema.tags.find((T)=>T.tag===m&&T.collection===g);if(!v){let T=s.schema.knownTags[m];if(T?.collection===g)s.schema.tags.push(Object.assign({},T,{default:!1})),v=T;else{if(T)f(p,"BAD_COLLECTION_TYPE",`${T.tag} used for ${g} collection, but expects ${T.collection??"scalar"}`,!0);else f(p,"TAG_RESOLVE_FAILED",`Unresolved tag: ${m}`,!0);return vb(l,s,r,f,m)}}let S=vb(l,s,r,f,m,v),A=v.resolve?.(S,(T)=>f(p,"TAG_RESOLVE_FAILED",T),s.options)??S,C=et(A)?A:new ge(A);if(C.range=S.range,C.tag=m,v?.format)C.format=v.format;return C}function Sb(l,s,r){let c=s.offset,f=AD(s,l.options.strict,r);if(!f)return{value:"",type:null,comment:"",range:[c,c,c]};let p=f.mode===">"?ge.BLOCK_FOLDED:ge.BLOCK_LITERAL,m=s.source?CD(s.source):[],g=m.length;for(let w=m.length-1;w>=0;--w){let z=m[w][1];if(z===""||z==="\r")g=w;else break}if(g===0){let w=f.chomp==="+"&&m.length>0?`
|
|
308
308
|
`.repeat(Math.max(1,m.length-1)):"",z=c+f.length;if(s.source)z+=s.source.length;return{value:w,type:p,comment:f.comment,range:[c,z,z]}}let v=s.indent+f.indent,S=s.offset+f.length,A=0;for(let w=0;w<g;++w){let[z,R]=m[w];if(R===""||R==="\r"){if(f.indent===0&&z.length>v)v=z.length}else{if(z.length<v)r(S+z.length,"MISSING_CHAR","Block scalars with more-indented leading empty lines must use an explicit indentation indicator");if(f.indent===0)v=z.length;if(A=w,v===0&&!l.atRoot)r(S,"BAD_INDENT","Block scalar values in collections must be indented");break}S+=z.length+R.length+1}for(let w=m.length-1;w>=g;--w)if(m[w][0].length>v)g=w+1;let C="",T="",E=!1;for(let w=0;w<A;++w)C+=m[w][0].slice(v)+`
|
|
309
309
|
`;for(let w=A;w<g;++w){let[z,R]=m[w];S+=z.length+R.length+1;let H=R[R.length-1]==="\r";if(H)R=R.slice(0,-1);if(R&&z.length<v){let P=`Block scalar lines must not be less indented than their ${f.indent?"explicit indentation indicator":"first line"}`;r(S-R.length-(H?2:1),"BAD_INDENT",P),z=""}if(p===ge.BLOCK_LITERAL)C+=T+z.slice(v)+R,T=`
|
|
310
310
|
`;else if(z.length>v||R[0]==="\t"){if(T===" ")T=`
|
|
@@ -319,31 +319,31 @@ ${S}
|
|
|
319
319
|
`+m[w][0].slice(v);if(C[C.length-1]!==`
|
|
320
320
|
`)C+=`
|
|
321
321
|
`;break;default:C+=`
|
|
322
|
-
`}let
|
|
322
|
+
`}let B=c+f.length+s.source.length;return{value:C,type:p,comment:f.comment,range:[c,B,B]}}function AD({offset:l,props:s},r,c){if(s[0].type!=="block-scalar-header")return c(s[0],"IMPOSSIBLE","Block scalar header not found"),null;let{source:f}=s[0],p=f[0],m=0,g="",v=-1;for(let T=1;T<f.length;++T){let E=f[T];if(!g&&(E==="-"||E==="+"))g=E;else{let B=Number(E);if(!m&&B)m=B;else if(v===-1)v=l+T}}if(v!==-1)c(v,"UNEXPECTED_TOKEN",`Block scalar header includes extra characters: ${f}`);let S=!1,A="",C=f.length;for(let T=1;T<s.length;++T){let E=s[T];switch(E.type){case"space":S=!0;case"newline":C+=E.source.length;break;case"comment":if(r&&!S)c(E,"MISSING_CHAR","Comments must be separated from other tokens by white space characters");C+=E.source.length,A=E.source.substring(1);break;case"error":c(E,"UNEXPECTED_TOKEN",E.message),C+=E.source.length;break;default:{let B=`Unexpected token in block scalar header: ${E.type}`;c(E,"UNEXPECTED_TOKEN",B);let w=E.source;if(w&&typeof w==="string")C+=w.length}}}return{mode:p,indent:m,chomp:g,comment:A,length:C}}function CD(l){let s=l.split(/\n( *)/),r=s[0],c=r.match(/^( *)/),p=[c?.[1]?[c[1],r.slice(c[1].length)]:["",r]];for(let m=1;m<s.length;m+=2)p.push([s[m],s[m+1]]);return p}function Eb(l,s,r){let{offset:c,type:f,source:p,end:m}=l,g,v,S=(T,E,B)=>r(c+T,E,B);switch(f){case"scalar":g=ge.PLAIN,v=RD(p,S);break;case"single-quoted-scalar":g=ge.QUOTE_SINGLE,v=_D(p,S);break;case"double-quoted-scalar":g=ge.QUOTE_DOUBLE,v=ND(p,S);break;default:return r(l,"UNEXPECTED_TOKEN",`Expected a flow scalar value, but found: ${f}`),{value:"",type:null,comment:"",range:[c,c+p.length,c+p.length]}}let A=c+p.length,C=il(m,A,s,r);return{value:v,type:g,comment:C.comment,range:[c,A,C.offset]}}function RD(l,s){let r="";switch(l[0]){case"\t":r="a tab character";break;case",":r="flow indicator character ,";break;case"%":r="directive indicator character %";break;case"|":case">":{r=`block scalar indicator ${l[0]}`;break}case"@":case"`":{r=`reserved character ${l[0]}`;break}}if(r)s(0,"BAD_SCALAR_START",`Plain value cannot start with ${r}`);return cA(l)}function _D(l,s){if(l[l.length-1]!=="'"||l.length===1)s(l.length,"MISSING_CHAR","Missing closing 'quote");return cA(l.slice(1,-1)).replace(/''/g,"'")}function cA(l){let s=/(.*?)\r?\n/sy,r=s.exec(l);if(!r)return l;let c,f;try{c=new RegExp("(?<![ \t])[ \t]+$"),f=new RegExp("^[ \t]+|(?<![ \t])[ \t]+$","g")}catch{c=/[ \t]+$/,f=/^[ \t]+|[ \t]+$/g}let p=r[1].replace(c,""),m=" ",g=s.lastIndex;while(r=s.exec(l)){let S=r[1].replace(f,"");if(S==="")if(m===`
|
|
323
323
|
`)p+=m;else m=`
|
|
324
|
-
`;else p+=m+S,m=" ";g=s.lastIndex}let v=/[ \t]*(.*)/sy;return v.lastIndex=g,r=v.exec(l),p+m+(r?.[1]??"")}function
|
|
324
|
+
`;else p+=m+S,m=" ";g=s.lastIndex}let v=/[ \t]*(.*)/sy;return v.lastIndex=g,r=v.exec(l),p+m+(r?.[1]??"")}function ND(l,s){let r="";for(let c=1;c<l.length-1;++c){let f=l[c];if(f==="\r"&&l[c+1]===`
|
|
325
325
|
`)continue;if(f===`
|
|
326
|
-
`){let{fold:p,offset:m}=
|
|
326
|
+
`){let{fold:p,offset:m}=DD(l,c);r+=p,c=m}else if(f==="\\"){let p=l[++c],m=MD[p];if(m)r+=m;else if(p===`
|
|
327
327
|
`){p=l[c+1];while(p===" "||p==="\t")p=l[++c+1]}else if(p==="\r"&&l[c+1]===`
|
|
328
|
-
`){p=l[++c+1];while(p===" "||p==="\t")p=l[++c+1]}else if(p==="x"||p==="u"||p==="U"){let g=p==="x"?2:p==="u"?4:8;r+=
|
|
328
|
+
`){p=l[++c+1];while(p===" "||p==="\t")p=l[++c+1]}else if(p==="x"||p==="u"||p==="U"){let g=p==="x"?2:p==="u"?4:8;r+=xD(l,c+1,g,s),c+=g}else{let g=l.substr(c-1,2);s(c-1,"BAD_DQ_ESCAPE",`Invalid escape sequence ${g}`),r+=g}}else if(f===" "||f==="\t"){let p=c,m=l[c+1];while(m===" "||m==="\t")m=l[++c+1];if(m!==`
|
|
329
329
|
`&&!(m==="\r"&&l[c+2]===`
|
|
330
|
-
`))r+=c>p?l.slice(p,c+1):f}else r+=f}if(l[l.length-1]!=='"'||l.length===1)s(l.length,"MISSING_CHAR",'Missing closing "quote');return r}function
|
|
330
|
+
`))r+=c>p?l.slice(p,c+1):f}else r+=f}if(l[l.length-1]!=='"'||l.length===1)s(l.length,"MISSING_CHAR",'Missing closing "quote');return r}function DD(l,s){let r="",c=l[s+1];while(c===" "||c==="\t"||c===`
|
|
331
331
|
`||c==="\r"){if(c==="\r"&&l[s+2]!==`
|
|
332
332
|
`)break;if(c===`
|
|
333
333
|
`)r+=`
|
|
334
|
-
`;s+=1,c=l[s+1]}if(!r)r=" ";return{fold:r,offset:s}}var
|
|
335
|
-
`,r:"\r",t:"\t",v:"\v",N:"
",_:" ",L:"\u2028",P:"\u2029"," ":" ",'"':'"',"/":"/","\\":"\\","\t":"\t"};function
|
|
334
|
+
`;s+=1,c=l[s+1]}if(!r)r=" ";return{fold:r,offset:s}}var MD={"0":"\x00",a:"\x07",b:"\b",e:"\x1B",f:"\f",n:`
|
|
335
|
+
`,r:"\r",t:"\t",v:"\v",N:"
",_:" ",L:"\u2028",P:"\u2029"," ":" ",'"':'"',"/":"/","\\":"\\","\t":"\t"};function xD(l,s,r,c){let f=l.substr(s,r),m=f.length===r&&/^[0-9a-fA-F]+$/.test(f)?parseInt(f,16):NaN;try{return String.fromCodePoint(m)}catch{let g=l.substr(s-2,r+2);return c(s-2,"BAD_DQ_ESCAPE",`Invalid escape sequence ${g}`),g}}function Tb(l,s,r,c){let{value:f,type:p,comment:m,range:g}=s.type==="block-scalar"?Sb(l,s,c):Eb(s,l.options.strict,c),v=r?l.directives.tagName(r.source,(C)=>c(r,"TAG_RESOLVE_FAILED",C)):null,S;if(l.options.stringKeys&&l.atKey)S=l.schema[_a];else if(v)S=zD(l.schema,f,v,r,c);else if(s.type==="scalar")S=UD(l,f,s,c);else S=l.schema[_a];let A;try{let C=S.resolve(f,(T)=>c(r??s,"TAG_RESOLVE_FAILED",T),l.options);A=Ve(C)?C:new ge(C)}catch(C){let T=C instanceof Error?C.message:String(C);c(r??s,"TAG_RESOLVE_FAILED",T),A=new ge(f)}if(A.range=g,A.source=f,p)A.type=p;if(v)A.tag=v;if(S.format)A.format=S.format;if(m)A.comment=m;return A}function zD(l,s,r,c,f){if(r==="!")return l[_a];let p=[];for(let g of l.tags)if(!g.collection&&g.tag===r)if(g.default&&g.test)p.push(g);else return g;for(let g of p)if(g.test?.test(s))return g;let m=l.knownTags[r];if(m&&!m.collection)return l.tags.push(Object.assign({},m,{default:!1,test:void 0})),m;return f(c,"TAG_RESOLVE_FAILED",`Unresolved tag: ${r}`,r!=="tag:yaml.org,2002:str"),l[_a]}function UD({atKey:l,directives:s,schema:r},c,f,p){let m=r.tags.find((g)=>(g.default===!0||l&&g.default==="key")&&g.test?.test(c))||r[_a];if(r.compat){let g=r.compat.find((v)=>v.default&&v.test?.test(c))??r[_a];if(m.tag!==g.tag){let v=s.tagString(m.tag),S=s.tagString(g.tag),A=`Value may be parsed as either ${v} or ${S}`;p(f,"TAG_RESOLVE_FAILED",A,!0)}}return m}function uA(l,s,r){if(s){r??(r=s.length);for(let c=r-1;c>=0;--c){let f=s[c];switch(f.type){case"space":case"comment":case"newline":l-=f.source.length;continue}f=s[++c];while(f?.type==="space")l+=f.source.length,f=s[++c];break}}return l}var kD={composeNode:wb,composeEmptyNode:zh};function wb(l,s,r,c){let f=l.atKey,{spaceBefore:p,comment:m,anchor:g,tag:v}=r,S,A=!0;switch(s.type){case"alias":if(S=BD(l,s,c),g||v)c(s,"ALIAS_PROPS","An alias node must not specify any properties");break;case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":case"block-scalar":if(S=Tb(l,s,v,c),g)S.anchor=g.source.substring(1);break;case"block-map":case"block-seq":case"flow-collection":try{if(S=rA(kD,l,s,r,c),g)S.anchor=g.source.substring(1)}catch(C){let T=C instanceof Error?C.message:String(C);c(s,"RESOURCE_EXHAUSTION",T)}break;default:{let C=s.type==="error"?s.message:`Unsupported token (type: ${s.type})`;c(s,"UNEXPECTED_TOKEN",C),A=!1}}if(S??(S=zh(l,s.offset,void 0,null,r,c)),g&&S.anchor==="")c(g,"BAD_ALIAS","Anchor cannot be an empty string");if(f&&l.options.stringKeys&&(!Ve(S)||typeof S.value!=="string"||S.tag&&S.tag!=="tag:yaml.org,2002:str"))c(v??s,"NON_STRING_KEY","With stringKeys, all keys must be strings");if(p)S.spaceBefore=!0;if(m)if(s.type==="scalar"&&s.source==="")S.comment=m;else S.commentBefore=m;if(l.options.keepSourceTokens&&A)S.srcToken=s;return S}function zh(l,s,r,c,{spaceBefore:f,comment:p,anchor:m,tag:g,end:v},S){let A={type:"scalar",offset:uA(s,r,c),indent:-1,source:""},C=Tb(l,A,g,S);if(m){if(C.anchor=m.source.substring(1),C.anchor==="")S(m,"BAD_ALIAS","Anchor cannot be an empty string")}if(f)C.spaceBefore=!0;if(p)C.comment=p,C.range[2]=v;return C}function BD({options:l},{offset:s,source:r,end:c},f){let p=new Ui(r.substring(1));if(p.source==="")f(s,"BAD_ALIAS","Alias cannot be an empty string");if(p.source.endsWith(":"))f(s+r.length-1,"BAD_ALIAS","Alias ending in : is ambiguous",!0);let m=s+r.length,g=il(c,m,l.strict,f);if(p.range=[s,m,g.offset],g.comment)p.comment=g.comment;return p}function fA(l,s,{offset:r,start:c,value:f,end:p},m){let g=Object.assign({_directives:s},l),v=new Li(void 0,g),S={atKey:!1,atRoot:!0,directives:v.directives,options:v.options,schema:v.schema},A=ll(c,{indicator:"doc-start",next:f??p?.[0],offset:r,onError:m,parentIndent:0,startOnNewline:!0});if(A.found){if(v.directives.docStart=!0,f&&(f.type==="block-map"||f.type==="block-seq")&&!A.hasNewline)m(A.end,"MISSING_CHAR","Block collection cannot start on same line with directives-end marker")}v.contents=f?wb(S,f,A,m):zh(S,A.end,c,null,A,m);let C=v.contents.range[2],T=il(p,C,!1,m);if(T.comment)v.comment=T.comment;return v.range=[r,C,T.offset],v}function ff(l){if(typeof l==="number")return[l,l+1];if(Array.isArray(l))return l.length===2?l:[l[0],l[1]];let{offset:s,source:r}=l;return[s,s+(typeof r==="string"?r.length:1)]}function dA(l){let s="",r=!1,c=!1;for(let f=0;f<l.length;++f){let p=l[f];switch(p[0]){case"#":s+=(s===""?"":c?`
|
|
336
336
|
|
|
337
337
|
`:`
|
|
338
338
|
`)+(p.substring(1)||" "),r=!0,c=!1;break;case"%":if(l[f+1]?.[0]!=="#")f+=1;r=!1;break;default:if(!r)c=!0;r=!1}}return{comment:s,afterEmptyLine:c}}class Uh{constructor(l={}){this.doc=null,this.atDirectives=!1,this.prelude=[],this.errors=[],this.warnings=[],this.onError=(s,r,c,f)=>{let p=ff(s);if(f)this.warnings.push(new Mh(p,r,c));else this.errors.push(new ol(p,r,c))},this.directives=new wn({version:l.version||"1.2"}),this.options=l}decorate(l,s){let{comment:r,afterEmptyLine:c}=dA(this.prelude);if(r){let f=l.contents;if(s)l.comment=l.comment?`${l.comment}
|
|
339
339
|
${r}`:r;else if(c||l.directives.docStart||!f)l.commentBefore=r;else if(ft(f)&&!f.flow&&f.items.length>0){let p=f.items[0];if(Fe(p))p=p.key;let m=p.commentBefore;p.commentBefore=m?`${r}
|
|
340
340
|
${m}`:r}else{let p=f.commentBefore;f.commentBefore=p?`${r}
|
|
341
341
|
${p}`:r}}if(s){for(let f=0;f<this.errors.length;++f)l.errors.push(this.errors[f]);for(let f=0;f<this.warnings.length;++f)l.warnings.push(this.warnings[f])}else l.errors=this.errors,l.warnings=this.warnings;this.prelude=[],this.errors=[],this.warnings=[]}streamInfo(){return{comment:dA(this.prelude).comment,directives:this.directives,errors:this.errors,warnings:this.warnings}}*compose(l,s=!1,r=-1){for(let c of l)yield*this.next(c);yield*this.end(s,r)}*next(l){switch(l.type){case"directive":this.directives.add(l.source,(s,r,c)=>{let f=ff(l);f[0]+=s,this.onError(f,"BAD_DIRECTIVE",r,c)}),this.prelude.push(l.source),this.atDirectives=!0;break;case"document":{let s=fA(this.options,this.directives,l,this.onError);if(this.atDirectives&&!s.directives.docStart)this.onError(l,"MISSING_CHAR","Missing directives-end/doc-start indicator line");if(this.decorate(s,!1),this.doc)yield this.doc;this.doc=s,this.atDirectives=!1;break}case"byte-order-mark":case"space":break;case"comment":case"newline":this.prelude.push(l.source);break;case"error":{let s=l.source?`${l.message}: ${JSON.stringify(l.source)}`:l.message,r=new ol(ff(l),"UNEXPECTED_TOKEN",s);if(this.atDirectives||!this.doc)this.errors.push(r);else this.doc.errors.push(r);break}case"doc-end":{if(!this.doc){this.errors.push(new ol(ff(l),"UNEXPECTED_TOKEN","Unexpected doc-end without preceding document"));break}this.doc.directives.docEnd=!0;let s=il(l.end,l.offset+l.source.length,this.doc.options.strict,this.onError);if(this.decorate(this.doc,!0),s.comment){let r=this.doc.comment;this.doc.comment=r?`${r}
|
|
342
|
-
${s.comment}`:s.comment}this.doc.range[2]=s.offset;break}default:this.errors.push(new ol(ff(l),"UNEXPECTED_TOKEN",`Unsupported token ${l.type}`))}}*end(l=!1,s=-1){if(this.doc)this.decorate(this.doc,!0),yield this.doc,this.doc=null;else if(l){let r=Object.assign({_directives:this.directives},this.options),c=new Li(void 0,r);if(this.atDirectives)this.onError(s,"MISSING_CHAR","Missing directives-end indicator line");c.range=[0,s,s],this.decorate(c,!1),yield c}}}var Ob=Symbol("break visit"),
|
|
342
|
+
${s.comment}`:s.comment}this.doc.range[2]=s.offset;break}default:this.errors.push(new ol(ff(l),"UNEXPECTED_TOKEN",`Unsupported token ${l.type}`))}}*end(l=!1,s=-1){if(this.doc)this.decorate(this.doc,!0),yield this.doc,this.doc=null;else if(l){let r=Object.assign({_directives:this.directives},this.options),c=new Li(void 0,r);if(this.atDirectives)this.onError(s,"MISSING_CHAR","Missing directives-end indicator line");c.range=[0,s,s],this.decorate(c,!1),yield c}}}var Ob=Symbol("break visit"),LD=Symbol("skip children"),pA=Symbol("remove item");function Bs(l,s){if("type"in l&&l.type==="document")l={start:l.start,value:l.value};hA(Object.freeze([]),l,s)}Bs.BREAK=Ob;Bs.SKIP=LD;Bs.REMOVE=pA;Bs.itemAtPath=(l,s)=>{let r=l;for(let[c,f]of s){let p=r?.[c];if(p&&"items"in p)r=p.items[f];else return}return r};Bs.parentCollection=(l,s)=>{let r=Bs.itemAtPath(l,s.slice(0,-1)),c=s[s.length-1][0],f=r?.[c];if(f&&"items"in f)return f;throw Error("Parent collection not found")};function hA(l,s,r){let c=r(s,l);if(typeof c==="symbol")return c;for(let f of["key","value"]){let p=s[f];if(p&&"items"in p){for(let m=0;m<p.items.length;++m){let g=hA(Object.freeze(l.concat([[f,m]])),p.items[m],r);if(typeof g==="number")m=g-1;else if(g===Ob)return Ob;else if(g===pA)p.items.splice(m,1),m-=1}if(typeof c==="function"&&f==="key")c=c(s,l)}}return typeof c==="function"?c(s,l):c}var Ab="\uFEFF",Cb="\x02",Rb="\x18",kh="\x1F";function mA(l){switch(l){case Ab:return"byte-order-mark";case Cb:return"doc-mode";case Rb:return"flow-error-end";case kh:return"scalar";case"---":return"doc-start";case"...":return"doc-end";case"":case`
|
|
343
343
|
`:case`\r
|
|
344
344
|
`:return"newline";case"-":return"seq-item-ind";case"?":return"explicit-key-ind";case":":return"map-value-ind";case"{":return"flow-map-start";case"}":return"flow-map-end";case"[":return"flow-seq-start";case"]":return"flow-seq-end";case",":return"comma"}switch(l[0]){case" ":case"\t":return"space";case"#":return"comment";case"%":return"directive-line";case"*":return"alias";case"&":return"anchor";case"!":return"tag";case"'":return"single-quoted-scalar";case'"':return"double-quoted-scalar";case"|":case">":return"block-scalar-header"}return null}function yo(l){switch(l){case void 0:case" ":case`
|
|
345
|
-
`:case"\r":case"\t":return!0;default:return!1}}var gA=new Set("0123456789ABCDEFabcdef"),
|
|
346
|
-
\r `),_b=(l)=>!l
|
|
345
|
+
`:case"\r":case"\t":return!0;default:return!1}}var gA=new Set("0123456789ABCDEFabcdef"),jD=new Set("0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-#;/?:@&=+$_.!~*'()"),Bh=new Set(",[]{}"),$D=new Set(` ,[]{}
|
|
346
|
+
\r `),_b=(l)=>!l||$D.has(l);class Lh{constructor(){this.atEnd=!1,this.blockScalarIndent=-1,this.blockScalarKeep=!1,this.buffer="",this.flowKey=!1,this.flowLevel=0,this.indentNext=0,this.indentValue=0,this.lineEndPos=null,this.next=null,this.pos=0}*lex(l,s=!1){if(l){if(typeof l!=="string")throw TypeError("source is not a string");this.buffer=this.buffer?this.buffer+l:l,this.lineEndPos=null}this.atEnd=!s;let r=this.next??"stream";while(r&&(s||this.hasChars(1)))r=yield*this.parseNext(r)}atLineEnd(){let l=this.pos,s=this.buffer[l];while(s===" "||s==="\t")s=this.buffer[++l];if(!s||s==="#"||s===`
|
|
347
347
|
`)return!0;if(s==="\r")return this.buffer[l+1]===`
|
|
348
348
|
`;return!1}charAt(l){return this.buffer[this.pos+l]}continueScalar(l){let s=this.buffer[l];if(this.indentNext>0){let r=0;while(s===" ")s=this.buffer[++r+l];if(s==="\r"){let c=this.buffer[r+l+1];if(c===`
|
|
349
349
|
`||!c&&!this.atEnd)return l+r+1}return s===`
|
|
@@ -355,13 +355,13 @@ ${s.comment}`:s.comment}this.doc.range[2]=s.offset;break}default:this.errors.pus
|
|
|
355
355
|
`)break}default:break e}if(!r&&!this.atEnd)return this.setNext("block-scalar");if(s>=this.indentNext){if(this.blockScalarIndent===-1)this.indentNext=s;else this.indentNext=this.blockScalarIndent+(this.indentNext===0?1:this.indentNext);do{let f=this.continueScalar(l+1);if(f===-1)break;l=this.buffer.indexOf(`
|
|
356
356
|
`,f)}while(l!==-1);if(l===-1){if(!this.atEnd)return this.setNext("block-scalar");l=this.buffer.length}}let c=l+1;r=this.buffer[c];while(r===" ")r=this.buffer[++c];if(r==="\t"){while(r==="\t"||r===" "||r==="\r"||r===`
|
|
357
357
|
`)r=this.buffer[++c];l=c-1}else if(!this.blockScalarKeep)do{let f=l-1,p=this.buffer[f];if(p==="\r")p=this.buffer[--f];let m=f;while(p===" ")p=this.buffer[--f];if(p===`
|
|
358
|
-
`&&f>=this.pos&&f+1+s>m)l=f;else break}while(!0);return yield
|
|
358
|
+
`&&f>=this.pos&&f+1+s>m)l=f;else break}while(!0);return yield kh,yield*this.pushToIndex(l+1,!0),yield*this.parseLineStart()}*parsePlainScalar(){let l=this.flowLevel>0,s=this.pos-1,r=this.pos-1,c;while(c=this.buffer[++r])if(c===":"){let f=this.buffer[r+1];if(yo(f)||l&&Bh.has(f))break;s=r}else if(yo(c)){let f=this.buffer[r+1];if(c==="\r")if(f===`
|
|
359
359
|
`)r+=1,c=`
|
|
360
|
-
`,f=this.buffer[r+1];else s=r;if(f==="#"||l&&
|
|
361
|
-
`){let p=this.continueScalar(r+1);if(p===-1)break;r=Math.max(r,p-2)}}else{if(l&&
|
|
360
|
+
`,f=this.buffer[r+1];else s=r;if(f==="#"||l&&Bh.has(f))break;if(c===`
|
|
361
|
+
`){let p=this.continueScalar(r+1);if(p===-1)break;r=Math.max(r,p-2)}}else{if(l&&Bh.has(c))break;s=r}if(!c&&!this.atEnd)return this.setNext("plain-scalar");return yield kh,yield*this.pushToIndex(s+1,!0),l?"flow":"doc"}*pushCount(l){if(l>0)return yield this.buffer.substr(this.pos,l),this.pos+=l,l;return 0}*pushToIndex(l,s){let r=this.buffer.slice(this.pos,l);if(r)return yield r,this.pos+=r.length,r.length;else if(s)yield"";return 0}*pushIndicators(){let l=0;e:while(!0){switch(this.charAt(0)){case"!":l+=yield*this.pushTag(),l+=yield*this.pushSpaces(!0);continue e;case"&":l+=yield*this.pushUntil(_b),l+=yield*this.pushSpaces(!0);continue e;case"-":case"?":case":":{let s=this.flowLevel>0,r=this.charAt(1);if(yo(r)||s&&Bh.has(r)){if(!s)this.indentNext=this.indentValue+1;else if(this.flowKey)this.flowKey=!1;l+=yield*this.pushCount(1),l+=yield*this.pushSpaces(!0);continue e}}}break e}return l}*pushTag(){if(this.charAt(1)==="<"){let l=this.pos+2,s=this.buffer[l];while(!yo(s)&&s!==">")s=this.buffer[++l];return yield*this.pushToIndex(s===">"?l+1:l,!1)}else{let l=this.pos+1,s=this.buffer[l];while(s)if(jD.has(s))s=this.buffer[++l];else if(s==="%"&&gA.has(this.buffer[l+1])&&gA.has(this.buffer[l+2]))s=this.buffer[l+=3];else break;return yield*this.pushToIndex(l,!1)}}*pushNewline(){let l=this.buffer[this.pos];if(l===`
|
|
362
362
|
`)return yield*this.pushCount(1);else if(l==="\r"&&this.charAt(1)===`
|
|
363
363
|
`)return yield*this.pushCount(2);else return 0}*pushSpaces(l){let s=this.pos-1,r;do r=this.buffer[++s];while(r===" "||l&&r==="\t");let c=s-this.pos;if(c>0)yield this.buffer.substr(this.pos,c),this.pos=s;return c}*pushUntil(l){let s=this.pos,r=this.buffer[s];while(!l(r))r=this.buffer[++s];return yield*this.pushToIndex(s,!1)}}class Hh{constructor(){this.lineStarts=[],this.addNewLine=(l)=>this.lineStarts.push(l),this.linePos=(l)=>{let s=0,r=this.lineStarts.length;while(s<r){let f=s+r>>1;if(this.lineStarts[f]<l)s=f+1;else r=f}if(this.lineStarts[s]===l)return{line:s+1,col:1};if(s===0)return{line:0,col:l};let c=this.lineStarts[s-1];return{line:s,col:l-c+1}}}}function ji(l,s){for(let r=0;r<l.length;++r)if(l[r].type===s)return!0;return!1}function yA(l){for(let s=0;s<l.length;++s)switch(l[s].type){case"space":case"comment":case"newline":break;default:return s}return-1}function vA(l){switch(l?.type){case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":case"flow-collection":return!0;default:return!1}}function jh(l){switch(l.type){case"document":return l.start;case"block-map":{let s=l.items[l.items.length-1];return s.sep??s.start}case"block-seq":return l.items[l.items.length-1].start;default:return[]}}function hc(l){if(l.length===0)return[];let s=l.length;e:while(--s>=0)switch(l[s].type){case"doc-start":case"explicit-key-ind":case"map-value-ind":case"seq-item-ind":case"newline":break e}while(l[++s]?.type==="space");return l.splice(s,l.length)}function $h(l,s){if(s.length<1e5)Array.prototype.push.apply(l,s);else for(let r=0;r<s.length;++r)l.push(s[r])}function bA(l){if(l.start.type==="flow-seq-start"){for(let s of l.items)if(s.sep&&!s.value&&!ji(s.start,"explicit-key-ind")&&!ji(s.sep,"map-value-ind")){if(s.key)s.value=s.key;if(delete s.key,vA(s.value))if(s.value.end)$h(s.value.end,s.sep);else s.value.end=s.sep;else $h(s.start,s.sep);delete s.sep}}}class Ih{constructor(l){this.atNewLine=!0,this.atScalar=!1,this.indent=0,this.offset=0,this.onKeyLine=!1,this.stack=[],this.source="",this.type="",this.lexer=new Lh,this.onNewLine=l}*parse(l,s=!1){if(this.onNewLine&&this.offset===0)this.onNewLine(0);for(let r of this.lexer.lex(l,s))yield*this.next(r);if(!s)yield*this.end()}*next(l){if(this.source=l,this.atScalar){this.atScalar=!1,yield*this.step(),this.offset+=l.length;return}let s=mA(l);if(!s){let r=`Not a YAML token: ${l}`;yield*this.pop({type:"error",offset:this.offset,message:r,source:l}),this.offset+=l.length}else if(s==="scalar")this.atNewLine=!1,this.atScalar=!0,this.type="scalar";else{switch(this.type=s,yield*this.step(),s){case"newline":if(this.atNewLine=!0,this.indent=0,this.onNewLine)this.onNewLine(this.offset+l.length);break;case"space":if(this.atNewLine&&l[0]===" ")this.indent+=l.length;break;case"explicit-key-ind":case"map-value-ind":case"seq-item-ind":if(this.atNewLine)this.indent+=l.length;break;case"doc-mode":case"flow-error-end":return;default:this.atNewLine=!1}this.offset+=l.length}}*end(){while(this.stack.length>0)yield*this.pop()}get sourceToken(){return{type:this.type,offset:this.offset,indent:this.indent,source:this.source}}*step(){let l=this.peek(1);if(this.type==="doc-end"&&l?.type!=="doc-end"){while(this.stack.length>0)yield*this.pop();this.stack.push({type:"doc-end",offset:this.offset,source:this.source});return}if(!l)return yield*this.stream();switch(l.type){case"document":return yield*this.document(l);case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":return yield*this.scalar(l);case"block-scalar":return yield*this.blockScalar(l);case"block-map":return yield*this.blockMap(l);case"block-seq":return yield*this.blockSequence(l);case"flow-collection":return yield*this.flowCollection(l);case"doc-end":return yield*this.documentEnd(l)}yield*this.pop()}peek(l){return this.stack[this.stack.length-l]}*pop(l){let s=l??this.stack.pop();if(!s)yield{type:"error",offset:this.offset,source:"",message:"Tried to pop an empty stack"};else if(this.stack.length===0)yield s;else{let r=this.peek(1);if(s.type==="block-scalar")s.indent="indent"in r?r.indent:0;else if(s.type==="flow-collection"&&r.type==="document")s.indent=0;if(s.type==="flow-collection")bA(s);switch(r.type){case"document":r.value=s;break;case"block-scalar":r.props.push(s);break;case"block-map":{let c=r.items[r.items.length-1];if(c.value){r.items.push({start:[],key:s,sep:[]}),this.onKeyLine=!0;return}else if(c.sep)c.value=s;else{Object.assign(c,{key:s,sep:[]}),this.onKeyLine=!c.explicitKey;return}break}case"block-seq":{let c=r.items[r.items.length-1];if(c.value)r.items.push({start:[],value:s});else c.value=s;break}case"flow-collection":{let c=r.items[r.items.length-1];if(!c||c.value)r.items.push({start:[],key:s,sep:[]});else if(c.sep)c.value=s;else Object.assign(c,{key:s,sep:[]});return}default:yield*this.pop(),yield*this.pop(s)}if((r.type==="document"||r.type==="block-map"||r.type==="block-seq")&&(s.type==="block-map"||s.type==="block-seq")){let c=s.items[s.items.length-1];if(c&&!c.sep&&!c.value&&c.start.length>0&&yA(c.start)===-1&&(s.indent===0||c.start.every((f)=>f.type!=="comment"||f.indent<s.indent))){if(r.type==="document")r.end=c.start;else r.items.push({start:c.start});s.items.splice(-1,1)}}}}*stream(){switch(this.type){case"directive-line":yield{type:"directive",offset:this.offset,source:this.source};return;case"byte-order-mark":case"space":case"comment":case"newline":yield this.sourceToken;return;case"doc-mode":case"doc-start":{let l={type:"document",offset:this.offset,start:[]};if(this.type==="doc-start")l.start.push(this.sourceToken);this.stack.push(l);return}}yield{type:"error",offset:this.offset,message:`Unexpected ${this.type} token in YAML stream`,source:this.source}}*document(l){if(l.value)return yield*this.lineEnd(l);switch(this.type){case"doc-start":{if(yA(l.start)!==-1)yield*this.pop(),yield*this.step();else l.start.push(this.sourceToken);return}case"anchor":case"tag":case"space":case"comment":case"newline":l.start.push(this.sourceToken);return}let s=this.startBlockValue(l);if(s)this.stack.push(s);else yield{type:"error",offset:this.offset,message:`Unexpected ${this.type} token in YAML document`,source:this.source}}*scalar(l){if(this.type==="map-value-ind"){let s=jh(this.peek(2)),r=hc(s),c;if(l.end)c=l.end,c.push(this.sourceToken),delete l.end;else c=[this.sourceToken];let f={type:"block-map",offset:l.offset,indent:l.indent,items:[{start:r,key:l,sep:c}]};this.onKeyLine=!0,this.stack[this.stack.length-1]=f}else yield*this.lineEnd(l)}*blockScalar(l){switch(this.type){case"space":case"comment":case"newline":l.props.push(this.sourceToken);return;case"scalar":if(l.source=this.source,this.atNewLine=!0,this.indent=0,this.onNewLine){let s=this.source.indexOf(`
|
|
364
364
|
`)+1;while(s!==0)this.onNewLine(this.offset+s),s=this.source.indexOf(`
|
|
365
365
|
`,s)+1}yield*this.pop();break;default:yield*this.pop(),yield*this.step()}}*blockMap(l){let s=l.items[l.items.length-1];switch(this.type){case"newline":if(this.onKeyLine=!1,s.value){let r="end"in s.value?s.value.end:void 0;if((Array.isArray(r)?r[r.length-1]:void 0)?.type==="comment")r?.push(this.sourceToken);else l.items.push({start:[this.sourceToken]})}else if(s.sep)s.sep.push(this.sourceToken);else s.start.push(this.sourceToken);return;case"space":case"comment":if(s.value)l.items.push({start:[this.sourceToken]});else if(s.sep)s.sep.push(this.sourceToken);else{if(this.atIndentedComment(s.start,l.indent)){let c=l.items[l.items.length-2]?.value?.end;if(Array.isArray(c)){$h(c,s.start),c.push(this.sourceToken),l.items.pop();return}}s.start.push(this.sourceToken)}return}if(this.indent>=l.indent){let r=!this.onKeyLine&&this.indent===l.indent,c=r&&(s.sep||s.explicitKey)&&this.type!=="seq-item-ind",f=[];if(c&&s.sep&&!s.value){let p=[];for(let m=0;m<s.sep.length;++m){let g=s.sep[m];switch(g.type){case"newline":p.push(m);break;case"space":break;case"comment":if(g.indent>l.indent)p.length=0;break;default:p.length=0}}if(p.length>=2)f=s.sep.splice(p[1])}switch(this.type){case"anchor":case"tag":if(c||s.value)f.push(this.sourceToken),l.items.push({start:f}),this.onKeyLine=!0;else if(s.sep)s.sep.push(this.sourceToken);else s.start.push(this.sourceToken);return;case"explicit-key-ind":if(!s.sep&&!s.explicitKey)s.start.push(this.sourceToken),s.explicitKey=!0;else if(c||s.value)f.push(this.sourceToken),l.items.push({start:f,explicitKey:!0});else this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:[this.sourceToken],explicitKey:!0}]});this.onKeyLine=!0;return;case"map-value-ind":if(s.explicitKey)if(!s.sep)if(ji(s.start,"newline"))Object.assign(s,{key:null,sep:[this.sourceToken]});else{let p=hc(s.start);this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:p,key:null,sep:[this.sourceToken]}]})}else if(s.value)l.items.push({start:[],key:null,sep:[this.sourceToken]});else if(ji(s.sep,"map-value-ind"))this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:f,key:null,sep:[this.sourceToken]}]});else if(vA(s.key)&&!ji(s.sep,"newline")){let p=hc(s.start),{key:m,sep:g}=s;g.push(this.sourceToken),delete s.key,delete s.sep,this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:p,key:m,sep:g}]})}else if(f.length>0)s.sep=s.sep.concat(f,this.sourceToken);else s.sep.push(this.sourceToken);else if(!s.sep)Object.assign(s,{key:null,sep:[this.sourceToken]});else if(s.value||c)l.items.push({start:f,key:null,sep:[this.sourceToken]});else if(ji(s.sep,"map-value-ind"))this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:[],key:null,sep:[this.sourceToken]}]});else s.sep.push(this.sourceToken);this.onKeyLine=!0;return;case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":{let p=this.flowScalar(this.type);if(c||s.value)l.items.push({start:f,key:p,sep:[]}),this.onKeyLine=!0;else if(s.sep)this.stack.push(p);else Object.assign(s,{key:p,sep:[]}),this.onKeyLine=!0;return}default:{let p=this.startBlockValue(l);if(p){if(p.type==="block-seq"){if(!s.explicitKey&&s.sep&&!ji(s.sep,"newline")){yield*this.pop({type:"error",offset:this.offset,message:"Unexpected block-seq-ind on same line with key",source:this.source});return}}else if(r)l.items.push({start:f});this.stack.push(p);return}}}}yield*this.pop(),yield*this.step()}*blockSequence(l){let s=l.items[l.items.length-1];switch(this.type){case"newline":if(s.value){let r="end"in s.value?s.value.end:void 0;if((Array.isArray(r)?r[r.length-1]:void 0)?.type==="comment")r?.push(this.sourceToken);else l.items.push({start:[this.sourceToken]})}else s.start.push(this.sourceToken);return;case"space":case"comment":if(s.value)l.items.push({start:[this.sourceToken]});else{if(this.atIndentedComment(s.start,l.indent)){let c=l.items[l.items.length-2]?.value?.end;if(Array.isArray(c)){$h(c,s.start),c.push(this.sourceToken),l.items.pop();return}}s.start.push(this.sourceToken)}return;case"anchor":case"tag":if(s.value||this.indent<=l.indent)break;s.start.push(this.sourceToken);return;case"seq-item-ind":if(this.indent!==l.indent)break;if(s.value||ji(s.start,"seq-item-ind"))l.items.push({start:[this.sourceToken]});else s.start.push(this.sourceToken);return}if(this.indent>l.indent){let r=this.startBlockValue(l);if(r){this.stack.push(r);return}}yield*this.pop(),yield*this.step()}*flowCollection(l){let s=l.items[l.items.length-1];if(this.type==="flow-error-end"){let r;do yield*this.pop(),r=this.peek(1);while(r?.type==="flow-collection")}else if(l.end.length===0){switch(this.type){case"comma":case"explicit-key-ind":if(!s||s.sep)l.items.push({start:[this.sourceToken]});else s.start.push(this.sourceToken);return;case"map-value-ind":if(!s||s.value)l.items.push({start:[],key:null,sep:[this.sourceToken]});else if(s.sep)s.sep.push(this.sourceToken);else Object.assign(s,{key:null,sep:[this.sourceToken]});return;case"space":case"comment":case"newline":case"anchor":case"tag":if(!s||s.value)l.items.push({start:[this.sourceToken]});else if(s.sep)s.sep.push(this.sourceToken);else s.start.push(this.sourceToken);return;case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":{let c=this.flowScalar(this.type);if(!s||s.value)l.items.push({start:[],key:c,sep:[]});else if(s.sep)this.stack.push(c);else Object.assign(s,{key:c,sep:[]});return}case"flow-map-end":case"flow-seq-end":l.end.push(this.sourceToken);return}let r=this.startBlockValue(l);if(r)this.stack.push(r);else yield*this.pop(),yield*this.step()}else{let r=this.peek(2);if(r.type==="block-map"&&(this.type==="map-value-ind"&&r.indent===l.indent||this.type==="newline"&&!r.items[r.items.length-1].sep))yield*this.pop(),yield*this.step();else if(this.type==="map-value-ind"&&r.type!=="flow-collection"){let c=jh(r),f=hc(c);bA(l);let p=l.end.splice(1,l.end.length);p.push(this.sourceToken);let m={type:"block-map",offset:l.offset,indent:l.indent,items:[{start:f,key:l,sep:p}]};this.onKeyLine=!0,this.stack[this.stack.length-1]=m}else yield*this.lineEnd(l)}}flowScalar(l){if(this.onNewLine){let s=this.source.indexOf(`
|
|
366
366
|
`)+1;while(s!==0)this.onNewLine(this.offset+s),s=this.source.indexOf(`
|
|
367
|
-
`,s)+1}return{type:l,offset:this.offset,indent:this.indent,source:this.source}}startBlockValue(l){switch(this.type){case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":return this.flowScalar(this.type);case"block-scalar-header":return{type:"block-scalar",offset:this.offset,indent:this.indent,props:[this.sourceToken],source:""};case"flow-map-start":case"flow-seq-start":return{type:"flow-collection",offset:this.offset,indent:this.indent,start:this.sourceToken,items:[],end:[]};case"seq-item-ind":return{type:"block-seq",offset:this.offset,indent:this.indent,items:[{start:[this.sourceToken]}]};case"explicit-key-ind":{this.onKeyLine=!0;let s=jh(l),r=hc(s);return r.push(this.sourceToken),{type:"block-map",offset:this.offset,indent:this.indent,items:[{start:r,explicitKey:!0}]}}case"map-value-ind":{this.onKeyLine=!0;let s=jh(l),r=hc(s);return{type:"block-map",offset:this.offset,indent:this.indent,items:[{start:r,key:null,sep:[this.sourceToken]}]}}}return null}atIndentedComment(l,s){if(this.type!=="comment")return!1;if(this.indent<=s)return!1;return l.every((r)=>r.type==="newline"||r.type==="space")}*documentEnd(l){if(this.type!=="doc-mode"){if(l.end)l.end.push(this.sourceToken);else l.end=[this.sourceToken];if(this.type==="newline")yield*this.pop()}}*lineEnd(l){switch(this.type){case"comma":case"doc-start":case"doc-end":case"flow-seq-end":case"flow-map-end":case"map-value-ind":yield*this.pop(),yield*this.step();break;case"newline":this.onKeyLine=!1;case"space":case"comment":default:if(l.end)l.end.push(this.sourceToken);else l.end=[this.sourceToken];if(this.type==="newline")yield*this.pop()}}}function $D(l){let s=l.prettyErrors!==!1;return{lineCounter:l.lineCounter||s&&new Hh||null,prettyErrors:s}}function SA(l,s={}){let{lineCounter:r,prettyErrors:c}=$D(s),f=new Ih(r?.addNewLine),p=new Uh(s),m=null;for(let g of p.compose(f.parse(l),!0,l.length))if(!m)m=g;else if(m.options.logLevel!=="silent"){m.errors.push(new ol(g.range.slice(0,2),"MULTIPLE_DOCS","Source contains multiple documents; please use YAML.parseAllDocuments()"));break}if(c&&r)m.errors.forEach(gb(l,r)),m.warnings.forEach(gb(l,r));return m}function Nb(l,s,r){let c=void 0;if(typeof s==="function")c=s;else if(r===void 0&&s&&typeof s==="object")r=s;let f=SA(l,r);if(!f)return null;if(f.warnings.forEach((p)=>dh(f.options.logLevel,p)),f.errors.length>0)if(f.options.logLevel!=="silent")throw f.errors[0];else f.errors=[];return f.toJS(Object.assign({reviver:c},r))}var qD=["get","put","post","delete","patch","head","options","trace","query"];function VD(l){let s=2166136261;for(let r=0;r<l.length;r++)s^=l.charCodeAt(r),s=Math.imul(s,16777619);return(s>>>0).toString(16).padStart(8,"0")}function YD(l,s){if(!s.startsWith("#/"))return;return s.slice(2).split("/").map((r)=>r.replace(/~1/g,"/").replace(/~0/g,"~")).reduce((r,c)=>r==null?void 0:r[c],l)}function df(l,s,r=[]){if(Array.isArray(s))return s.map((p)=>df(l,p,r));if(!s||typeof s!=="object")return s;let c=s;if(typeof c.$ref==="string"){if(r.includes(c.$ref)||r.length>24)return{$ref:c.$ref};let{$ref:p,...m}=c,g=df(l,YD(l,p),[...r,p]);return Object.keys(m).length?{...g,...df(l,m,r)}:g}let f={};for(let[p,m]of Object.entries(c))f[p]=df(l,m,r);return f}function EA(l){if(!l)return;let s=Object.keys(l).find((r)=>/json/i.test(r))??Object.keys(l)[0];return s?l[s]?.schema:void 0}function GD(l,s){if(typeof s["x-binding-intent"]==="string")return s["x-binding-intent"];if(l==="get"||l==="head"||l==="query")return"read";if(["put","patch","delete"].includes(l))return"write";return}function TA(l,s={}){let r=l;if(!r||typeof r!=="object"||!r.paths)throw Error("This file is not an OpenAPI document: it has no paths.");let c=[],f=new Map;for(let m of r["x-tagGroups"]??[])m.tags?.forEach((g)=>{if(m.name)f.set(g,m.name)});for(let[m,g]of Object.entries(r.paths)){let v=df(r,g);for(let S of qD){let A=v?.[S];if(!A||!A.operationId)continue;let C=[];for(let w of[...v.parameters??[],...A.parameters??[]]){if(!w?.name||!w?.in)continue;let z=`/${w.in}/${w.name}`,R=C.findIndex((Y)=>Y.pointer===z),H={pointer:z,name:w.name,required:!!w.required||w.in==="path",schema:w.schema??{},description:w.description};if(R>=0)C[R]=H;else C.push(H)}for(let w of m.matchAll(/\{([^}]+)\}/g))if(!C.some((z)=>z.pointer===`/path/${w[1]}`))C.unshift({pointer:`/path/${w[1]}`,name:w[1],required:!0,schema:{type:"string"}});let T=EA(A.requestBody?.content),E=Object.entries(A.responses??{}).map(([w,z])=>({status:w,schema:EA(z?.content)})),k={};for(let[w,z]of Object.entries(A))if(w.startsWith("x-"))k[w]=z;c.push({id:A.operationId,method:S.toUpperCase(),path:m,summary:A.summary,description:A.description,tags:A.tags??[],product:A.tags?.map((w)=>f.get(w)).find(Boolean),intent:GD(S,A),parameters:C,body:T?{required:!!A.requestBody?.required,schema:T}:void 0,responses:E,extensions:k})}}let p=JSON.stringify(c);return{catalogVersion:1,source:{title:r.info?.title??"API",version:r.info?.version??"",url:s.url},hash:VD(p),operations:c,schemas:{}}}class mc extends Error{source;constructor(l,s){super(l);this.source=s;this.name="CatalogLoadError"}}function Db(l,s){let r=l.trim();if(!r)throw new mc("Nothing to read: the text is empty.",s);let c;try{c=r.startsWith("{")?JSON.parse(r):Nb(r)}catch{throw new mc("The text is not valid JSON or YAML.",s)}try{return TA(c,s.includes("://")?{url:s}:{})}catch(f){throw new mc(f instanceof Error?f.message:"The text is not an OpenAPI document.",s)}}async function wA(l,s){let r;try{r=await fetch(l,{...s,headers:{Accept:"application/yaml, application/json, text/yaml, */*",...s?.headers}})}catch{throw new mc("The docs could not be reached. Check the URL, your network, and that the docs server allows this site (CORS).",l)}if(!r.ok)throw new mc(`The docs server answered ${r.status} ${r.statusText}. Check the URL.`,l);return Db(await r.text(),l)}var pf="https://apidocs.highradius.com/documentation-ui/index.yaml";function OA(l,s){let[r,c]=Il.useState(()=>s?{status:"ready",catalog:s,loadedAt:new Date,source:"provided"}:{status:"loading"}),[f,p]=Il.useState(0),[m,g]=Il.useState(null);Il.useEffect(()=>{if(m){c({status:"ready",catalog:m,loadedAt:new Date,source:"pasted"});return}if(s){c({status:"ready",catalog:s,loadedAt:new Date,source:"provided"});return}if(!l)return;let A=new AbortController;return c((C)=>({status:"loading",catalog:C.catalog})),wA(l,{signal:A.signal}).then((C)=>c({status:"ready",catalog:C,loadedAt:new Date,source:"url"}),(C)=>{if(!A.signal.aborted)c((T)=>({status:"error",catalog:T.catalog,error:C instanceof Error?C.message:String(C)}))}),()=>A.abort()},[l,s,f,m]);let v=Il.useCallback(()=>{g(null),p((A)=>A+1)},[]),S=Il.useCallback((A)=>new Promise((C)=>{setTimeout(()=>{try{g(Db(A,"pasted")),C(void 0)}catch(T){C(T instanceof Error?T.message:String(T))}},0)}),[]);return[r,v,S]}var dt=me(Ke(),1),QD=new Intl.DateTimeFormat(void 0,{hour:"numeric",minute:"2-digit"}),XD=(l)=>l.trim().length>0&&!/^\s*(javascript|data):/i.test(l);function JD(l){if(l.status==="loading")return"Loading…";if(l.status==="error")return l.error;let s=new Set(l.catalog.operations.map((c)=>c.product).filter(Boolean));return`${l.source==="pasted"?"Pasted file · ":""}${s.size||1} ${s.size===1?"product":"products"} · ${l.catalog.operations.length} ${l.catalog.operations.length===1?"API":"APIs"} · loaded ${QD.format(l.loadedAt)}`}var AA=new Intl.NumberFormat(void 0,{maximumFractionDigits:1}),KD=(l)=>l<1e6?`${AA.format(l/1000)} KB`:`${AA.format(l/1e6)} MB`;function ZD({onPaste:l,onDone:s}){let r=bo.useRef(null),[c,f]=bo.useState(0),[p,m]=bo.useState(!1),[g,v]=bo.useState(),S=async()=>{let A=r.current?.value??"";m(!0),v(void 0);let C=await l(A);if(m(!1),C){v(C);return}if(r.current)r.current.value="";s()};return dt.jsxs("div",{className:"abs-paste",children:[dt.jsx("textarea",{ref:r,id:"abs-docs-paste",className:"abs-input abs-paste-area",rows:7,wrap:"off",spellCheck:!1,autoCorrect:"off",autoCapitalize:"off",autoComplete:"off",autoFocus:!0,placeholder:"Paste the contents of index.yaml (or the JSON version)","aria-label":"OpenAPI document","aria-describedby":"abs-paste-note","aria-invalid":!!g,onInput:(A)=>f(A.currentTarget.value.length)}),dt.jsxs("div",{className:"abs-set-row",children:[dt.jsx("button",{type:"button",className:"abs-btn abs-btn-primary",onClick:()=>void S(),disabled:p||c===0,children:p?dt.jsxs(dt.Fragment,{children:[dt.jsx(be,{name:"refresh",size:14,className:"abs-spin"}),"Reading…"]}):"Load"}),dt.jsx("button",{type:"button",className:"abs-btn abs-btn-ghost",onClick:s,disabled:p,children:"Cancel"}),dt.jsx("span",{className:"abs-paste-size","aria-live":"polite",children:c?KD(c):""})]}),dt.jsx("p",{id:"abs-paste-note",className:"abs-set-status"+(g?" is-error":""),role:g?"alert":void 0,children:g??"Used for this session only. Nothing is saved; the URL is used again next time."})]})}function CA({docsUrl:l,onDocsUrl:s,catalog:r,onReload:c,onPaste:f,onClose:p}){let[m,g]=bo.useState(l),[v,S]=bo.useState(!1),A=r.status==="ready"&&r.source==="pasted",C=bo.useRef(null),T=XD(m),E=m.trim()!==l;return bo.useEffect(()=>{let w=(R)=>{if(R.key==="Escape")R.preventDefault(),p()},z=(R)=>{if(!C.current?.contains(R.target)&&!R.target.closest?.(".abs-settings-btn"))p()};return window.addEventListener("keydown",w),document.addEventListener("pointerdown",z),()=>{window.removeEventListener("keydown",w),document.removeEventListener("pointerdown",z)}},[p]),dt.jsx("div",{className:"abs-settings abs-pop",ref:C,role:"dialog","aria-label":"Settings",children:dt.jsxs("form",{className:"abs-set-sec",onSubmit:(w)=>{if(w.preventDefault(),!T)return;if(E)s(m.trim());else c()},children:[dt.jsx("label",{className:"abs-set-h",htmlFor:"abs-docs-url",children:"API docs"}),dt.jsx("p",{className:"abs-set-d",children:"The OpenAPI file every API is read from: a URL, or a path next to the bindings file."}),dt.jsxs("div",{className:"abs-set-row",children:[dt.jsx("input",{id:"abs-docs-url",name:"docsUrl",type:"text",inputMode:"url",autoComplete:"off",spellCheck:!1,className:"abs-input"+(T?"":" is-invalid"),value:m,onChange:(w)=>g(w.target.value),"aria-invalid":!T,"aria-describedby":"abs-docs-status"}),dt.jsx("button",{type:"submit",className:"abs-btn abs-btn-primary",disabled:!T||r.status==="loading",children:E?"Use":dt.jsxs(dt.Fragment,{children:[dt.jsx(be,{name:"refresh",size:14,className:r.status==="loading"?"abs-spin":""}),"Reload"]})})]}),dt.jsx("p",{id:"abs-docs-status",className:"abs-set-status"+(r.status==="error"?" is-error":""),"aria-live":"polite",children:T?JD(r):"Enter a URL or a path, for example "+pf}),v?dt.jsx(ZD,{onPaste:f,onDone:()=>S(!1)}):dt.jsxs("div",{className:"abs-set-links",children:[A?dt.jsxs("button",{type:"button",className:"abs-link",onClick:c,children:[dt.jsx(be,{name:"refresh",size:14}),"Use the URL again"]}):dt.jsxs("button",{type:"button",className:"abs-link",onClick:()=>S(!0),children:[dt.jsx(be,{name:"upload",size:14}),"Paste the file instead"]}),l!==pf?dt.jsx("button",{type:"button",className:"abs-link",onClick:()=>{g(pf),s(pf)},children:"Use the default URL"}):null]})]})})}var On=me(en(),1);function RA(l,s,r){let c=(l[s]??[]).filter((f)=>!(f.component===r.component&&f.slot===r.slot));return{...l,[s]:[...c,r]}}function _A(l,s,r,c){return{...l,[s]:(l[s]??[]).filter((f)=>!(f.component===r&&f.slot===c))}}function NA(l,s){let[r,c]=On.useState(l),[f,p]=On.useState("idle"),[m,g]=On.useState(null),v=On.useRef(0),S=On.useRef(r);S.current=r;let A=On.useCallback(async()=>{let w=v.current;if(!w)return;p("saving");try{if(await s(S.current),v.current===w)v.current=0;p(v.current?"saving":"saved")}catch{p("failed")}},[s]);On.useEffect(()=>{if(!v.current)return;p("saving");let w=setTimeout(A,400);return()=>clearTimeout(w)},[r,A]),On.useEffect(()=>()=>{A()},[A]),On.useEffect(()=>{let w=(z)=>{if(v.current)z.preventDefault()};return window.addEventListener("beforeunload",w),()=>window.removeEventListener("beforeunload",w)},[]);let C=On.useCallback((w,z)=>{v.current++,c((R)=>RA(R,w,z))},[]),T=On.useCallback((w,z,R)=>{let H=S.current[w]?.find((Y)=>Y.component===z&&Y.slot===R);if(H)g({screen:w,binding:H});v.current++,c((Y)=>_A(Y,w,z,R))},[]),E=On.useCallback(()=>{if(m)C(m.screen,m.binding);g(null)},[C,m]),k=On.useCallback(()=>g(null),[]);return{index:r,loaded:!0,status:f,removed:m,put:C,drop:T,undo:E,dismiss:k,retry:A}}var de=me(Ke(),1),PD=(l)=>l;function FD({status:l,onRetry:s}){return de.jsx("span",{className:"abs-saved is-"+l,"aria-live":"polite",children:l==="failed"?de.jsxs("button",{type:"button",onClick:s,children:[de.jsx(be,{name:"alert",size:14}),"Not saved · Retry"]}):l==="saving"?de.jsxs(de.Fragment,{children:[de.jsx(be,{name:"refresh",size:14,className:"abs-spin"}),"Saving…"]}):l==="saved"?de.jsxs(de.Fragment,{children:[de.jsx(be,{name:"check",size:14}),"Saved"]}):null})}function WD({removed:l,label:s,onUndo:r,onDismiss:c}){return nn.useEffect(()=>{let f=setTimeout(c,6000);return()=>clearTimeout(f)},[l,c]),de.jsxs("div",{className:"abs-toast",role:"status",children:[de.jsxs("span",{children:[s," disconnected"]}),de.jsx("button",{type:"button",onClick:r,children:"Undo"})]})}var eM=de.jsxs("aside",{className:"abs-insp abs-insp-empty abs-enter",children:[de.jsx("span",{className:"abs-empty-ico",children:de.jsx(be,{name:"pointer",size:20})}),de.jsx("b",{children:"Select a component"}),de.jsx("span",{children:"Pick something from the list to connect it to an API."})]});function DA({store:l,docsUrl:s=PD,initialScreen:r,initialComponent:c,title:f="Bind API",onClose:p}){let[m,g]=nn.useState(null),[v,S]=nn.useState(),A=nn.useRef({file:null,index:{}});nn.useEffect(()=>{let G=!0;return l.load().then((ie)=>{if(G)A.current.file=ie,g(ie)},(ie)=>G&&S(ie instanceof Error?ie.message:String(ie))),()=>{G=!1}},[l]);let[C,T,E]=OA(m?s(m.openapi):""),[k,w]=nn.useState(!1),z=nn.useCallback(()=>w(!1),[]),R=C.catalog,H=nn.useMemo(()=>{if(!m||!R)return null;let{fw:G,index:ie}=a2(m,R);return{fw:{...G,registry:u2(G).registry},index:ie}},[m?.kinds,m?.screens,m?.components,R]),Y=nn.useCallback(async(G)=>{if(A.current.index=G,A.current.file)await l.save(K0(A.current.file,G))},[l]),P=(G)=>{let ie=A.current.file;if(!ie)return;A.current.file={...ie,openapi:G},g(A.current.file),l.save(K0(A.current.file,Object.keys(A.current.index).length?A.current.index:H?.index??{}))},ce=de.jsxs("div",{className:"abs-settings-wrap",children:[de.jsxs("button",{type:"button",className:"abs-iconbtn abs-settings-btn"+(k?" is-on":""),"aria-label":"Settings","aria-expanded":k,onClick:()=>w((G)=>!G),children:[de.jsx(be,{name:"settings"}),C.status==="error"?de.jsx("span",{className:"abs-dot-bad","aria-hidden":"true"}):null]}),p?de.jsx("button",{type:"button",className:"abs-iconbtn","aria-label":"Close",onClick:p,children:de.jsx(be,{name:"close"})}):null,k&&m?de.jsx(CA,{docsUrl:m.openapi,onDocsUrl:P,catalog:C,onReload:T,onPaste:E,onClose:z}):null]});if(!H){let G=v??(C.status==="error"?C.error:void 0);return de.jsxs("div",{className:"abs-root",children:[de.jsxs("header",{className:"abs-top",children:[de.jsx("div",{className:"abs-brand",children:f}),de.jsx("span",{}),ce]}),de.jsx("div",{className:"abs-state-page",children:G?de.jsxs(de.Fragment,{children:[de.jsx("span",{className:"abs-empty-ico is-bad",children:de.jsx(be,{name:"alert",size:20})}),de.jsx("b",{children:v?"The bindings file did not load":"The API docs did not load"}),de.jsx("span",{children:G}),v?null:de.jsxs("div",{className:"abs-set-row",children:[de.jsxs("button",{type:"button",className:"abs-btn abs-btn-primary",onClick:T,children:[de.jsx(be,{name:"refresh",size:14}),"Try again"]}),de.jsx("button",{type:"button",className:"abs-btn",onClick:()=>w(!0),children:"Change the URL or paste the file"})]})]}):de.jsxs(de.Fragment,{children:[de.jsx("span",{className:"abs-loader","aria-hidden":"true"}),de.jsx("span",{"aria-live":"polite",children:m?"Loading API docs…":"Loading bindings…"})]})})]})}return de.jsx(tM,{fw:H.fw,initial:H.index,save:Y,title:f,initialScreen:c?Pu(c,H.fw.registry.screens.map((G)=>G.id))??r:r,initialComponent:c,settingsButton:ce})}function tM({fw:l,initial:s,save:r,title:c,initialScreen:f,initialComponent:p,settingsButton:m}){let{index:g,loaded:v,status:S,removed:A,put:C,drop:T,undo:E,dismiss:k,retry:w}=NA(s,r),[z,R]=nn.useState({screen:f,component:p}),H=nn.useMemo(()=>c2(l,g),[l,g]),Y=z.screen&&H.SCR.get(z.screen)||l.registry.screens[0],P=Y&&z.component?H.compOf(Y.id,z.component):void 0,ce=Y?.id,G=nn.useCallback((Ee)=>R({screen:ce,component:Ee}),[R,ce]),ie=nn.useCallback((Ee)=>{if(ce)C(ce,Ee)},[C,ce]),W=nn.useCallback((Ee,xe)=>{if(ce)T(ce,Ee,xe)},[T,ce]);if(!Y)return de.jsx("div",{className:"abs-root",children:de.jsx("div",{className:"abs-empty",children:"No screens are registered yet."})});let Me=H.tally(l.registry.screens),Ne=A?H.compOf(A.screen,A.binding.component)?.label??A.binding.component:"";return de.jsxs("div",{className:"abs-root",children:[de.jsxs("header",{className:"abs-top",children:[de.jsx("div",{className:"abs-brand",children:c}),de.jsx(m2,{engine:H,onGo:(Ee,xe)=>R({screen:Ee,component:xe})}),de.jsxs("div",{className:"abs-top-meta",children:[de.jsx(FD,{status:S,onRetry:w}),de.jsxs("span",{className:"abs-overall",title:`Components connected across all ${l.registry.screens.length} screens`,children:[de.jsx("b",{children:Me.bound}),"/",Me.total," connected"]}),m]})]}),de.jsxs("div",{className:"abs-body"+(P?" has-insp":""),children:[de.jsx(_2,{engine:H,current:Y.id,onPick:(Ee)=>R({screen:Ee})}),v?de.jsx(h2,{engine:H,screen:Y,selected:P?.bindId,onSelect:G},Y.id):de.jsx("div",{className:"abs-center"}),P?de.jsx(R2,{engine:H,screen:Y,comp:P,put:ie,drop:W,goTo:G,onClose:()=>G(void 0)},Y.id+P.bindId):v?eM:null]}),A?de.jsx(WD,{removed:A,label:Ne,onUndo:E,onDismiss:k}):null]})}var zb=me(Ke(),1),nM=o2("api/bindings"),aM=(l)=>`api/openapi?src=${encodeURIComponent(l)}`,Mb=new URLSearchParams(location.search),xb=Mb.has("embed")&&window.parent!==window?()=>window.parent.postMessage("api-binding:close",location.origin):void 0;if(xb)window.addEventListener("keydown",(l)=>{if(l.key==="Escape"&&!l.defaultPrevented)xb()});var MA=document.getElementById("root");if(MA)zA.createRoot(MA).render(zb.jsx(xA.StrictMode,{children:zb.jsx(DA,{store:nM,docsUrl:aM,initialScreen:Mb.get("screen")??void 0,initialComponent:Mb.get("component")??void 0,onClose:xb})}));
|
|
367
|
+
`,s)+1}return{type:l,offset:this.offset,indent:this.indent,source:this.source}}startBlockValue(l){switch(this.type){case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":return this.flowScalar(this.type);case"block-scalar-header":return{type:"block-scalar",offset:this.offset,indent:this.indent,props:[this.sourceToken],source:""};case"flow-map-start":case"flow-seq-start":return{type:"flow-collection",offset:this.offset,indent:this.indent,start:this.sourceToken,items:[],end:[]};case"seq-item-ind":return{type:"block-seq",offset:this.offset,indent:this.indent,items:[{start:[this.sourceToken]}]};case"explicit-key-ind":{this.onKeyLine=!0;let s=jh(l),r=hc(s);return r.push(this.sourceToken),{type:"block-map",offset:this.offset,indent:this.indent,items:[{start:r,explicitKey:!0}]}}case"map-value-ind":{this.onKeyLine=!0;let s=jh(l),r=hc(s);return{type:"block-map",offset:this.offset,indent:this.indent,items:[{start:r,key:null,sep:[this.sourceToken]}]}}}return null}atIndentedComment(l,s){if(this.type!=="comment")return!1;if(this.indent<=s)return!1;return l.every((r)=>r.type==="newline"||r.type==="space")}*documentEnd(l){if(this.type!=="doc-mode"){if(l.end)l.end.push(this.sourceToken);else l.end=[this.sourceToken];if(this.type==="newline")yield*this.pop()}}*lineEnd(l){switch(this.type){case"comma":case"doc-start":case"doc-end":case"flow-seq-end":case"flow-map-end":case"map-value-ind":yield*this.pop(),yield*this.step();break;case"newline":this.onKeyLine=!1;case"space":case"comment":default:if(l.end)l.end.push(this.sourceToken);else l.end=[this.sourceToken];if(this.type==="newline")yield*this.pop()}}}function ID(l){let s=l.prettyErrors!==!1;return{lineCounter:l.lineCounter||s&&new Hh||null,prettyErrors:s}}function SA(l,s={}){let{lineCounter:r,prettyErrors:c}=ID(s),f=new Ih(r?.addNewLine),p=new Uh(s),m=null;for(let g of p.compose(f.parse(l),!0,l.length))if(!m)m=g;else if(m.options.logLevel!=="silent"){m.errors.push(new ol(g.range.slice(0,2),"MULTIPLE_DOCS","Source contains multiple documents; please use YAML.parseAllDocuments()"));break}if(c&&r)m.errors.forEach(gb(l,r)),m.warnings.forEach(gb(l,r));return m}function Nb(l,s,r){let c=void 0;if(typeof s==="function")c=s;else if(r===void 0&&s&&typeof s==="object")r=s;let f=SA(l,r);if(!f)return null;if(f.warnings.forEach((p)=>dh(f.options.logLevel,p)),f.errors.length>0)if(f.options.logLevel!=="silent")throw f.errors[0];else f.errors=[];return f.toJS(Object.assign({reviver:c},r))}var VD=["get","put","post","delete","patch","head","options","trace","query"];function YD(l){let s=2166136261;for(let r=0;r<l.length;r++)s^=l.charCodeAt(r),s=Math.imul(s,16777619);return(s>>>0).toString(16).padStart(8,"0")}function GD(l,s){if(!s.startsWith("#/"))return;return s.slice(2).split("/").map((r)=>r.replace(/~1/g,"/").replace(/~0/g,"~")).reduce((r,c)=>r==null?void 0:r[c],l)}function df(l,s,r=[]){if(Array.isArray(s))return s.map((p)=>df(l,p,r));if(!s||typeof s!=="object")return s;let c=s;if(typeof c.$ref==="string"){if(r.includes(c.$ref)||r.length>24)return{$ref:c.$ref};let{$ref:p,...m}=c,g=df(l,GD(l,p),[...r,p]);return Object.keys(m).length?{...g,...df(l,m,r)}:g}let f={};for(let[p,m]of Object.entries(c))f[p]=df(l,m,r);return f}function EA(l){if(!l)return;let s=Object.keys(l).find((r)=>/json/i.test(r))??Object.keys(l)[0];return s?l[s]?.schema:void 0}function QD(l,s){if(typeof s["x-binding-intent"]==="string")return s["x-binding-intent"];if(l==="get"||l==="head"||l==="query")return"read";if(["put","patch","delete"].includes(l))return"write";return}function TA(l,s={}){let r=l;if(!r||typeof r!=="object"||!r.paths)throw Error("This file is not an OpenAPI document: it has no paths.");let c=[],f=new Map;for(let m of r["x-tagGroups"]??[])m.tags?.forEach((g)=>{if(m.name)f.set(g,m.name)});for(let[m,g]of Object.entries(r.paths)){let v=df(r,g);for(let S of VD){let A=v?.[S];if(!A||!A.operationId)continue;let C=[];for(let w of[...v.parameters??[],...A.parameters??[]]){if(!w?.name||!w?.in)continue;let z=`/${w.in}/${w.name}`,R=C.findIndex((Y)=>Y.pointer===z),H={pointer:z,name:w.name,required:!!w.required||w.in==="path",schema:w.schema??{},description:w.description};if(R>=0)C[R]=H;else C.push(H)}for(let w of m.matchAll(/\{([^}]+)\}/g))if(!C.some((z)=>z.pointer===`/path/${w[1]}`))C.unshift({pointer:`/path/${w[1]}`,name:w[1],required:!0,schema:{type:"string"}});let T=EA(A.requestBody?.content),E=Object.entries(A.responses??{}).map(([w,z])=>({status:w,schema:EA(z?.content)})),B={};for(let[w,z]of Object.entries(A))if(w.startsWith("x-"))B[w]=z;c.push({id:A.operationId,method:S.toUpperCase(),path:m,summary:A.summary,description:A.description,tags:A.tags??[],product:A.tags?.map((w)=>f.get(w)).find(Boolean),intent:QD(S,A),parameters:C,body:T?{required:!!A.requestBody?.required,schema:T}:void 0,responses:E,extensions:B})}}let p=JSON.stringify(c);return{catalogVersion:1,source:{title:r.info?.title??"API",version:r.info?.version??"",url:s.url},hash:YD(p),operations:c,schemas:{}}}class mc extends Error{source;constructor(l,s){super(l);this.source=s;this.name="CatalogLoadError"}}function Db(l,s){let r=l.trim();if(!r)throw new mc("Nothing to read: the text is empty.",s);let c;try{c=r.startsWith("{")?JSON.parse(r):Nb(r)}catch{throw new mc("The text is not valid JSON or YAML.",s)}try{return TA(c,s.includes("://")?{url:s}:{})}catch(f){throw new mc(f instanceof Error?f.message:"The text is not an OpenAPI document.",s)}}async function wA(l,s){let r;try{r=await fetch(l,{...s,headers:{Accept:"application/yaml, application/json, text/yaml, */*",...s?.headers}})}catch{throw new mc("The docs could not be reached. Check the URL, your network, and that the docs server allows this site (CORS).",l)}if(!r.ok)throw new mc(`The docs server answered ${r.status} ${r.statusText}. Check the URL.`,l);return Db(await r.text(),l)}var pf="https://apidocs.highradius.com/documentation-ui/index.yaml";function OA(l,s){let[r,c]=Il.useState(()=>s?{status:"ready",catalog:s,loadedAt:new Date,source:"provided"}:{status:"loading"}),[f,p]=Il.useState(0),[m,g]=Il.useState(null);Il.useEffect(()=>{if(m){c({status:"ready",catalog:m,loadedAt:new Date,source:"pasted"});return}if(s){c({status:"ready",catalog:s,loadedAt:new Date,source:"provided"});return}if(!l)return;let A=new AbortController;return c((C)=>({status:"loading",catalog:C.catalog})),wA(l,{signal:A.signal}).then((C)=>c({status:"ready",catalog:C,loadedAt:new Date,source:"url"}),(C)=>{if(!A.signal.aborted)c((T)=>({status:"error",catalog:T.catalog,error:C instanceof Error?C.message:String(C)}))}),()=>A.abort()},[l,s,f,m]);let v=Il.useCallback(()=>{g(null),p((A)=>A+1)},[]),S=Il.useCallback((A)=>new Promise((C)=>{setTimeout(()=>{try{g(Db(A,"pasted")),C(void 0)}catch(T){C(T instanceof Error?T.message:String(T))}},0)}),[]);return[r,v,S]}var dt=me(Ke(),1),XD=new Intl.DateTimeFormat(void 0,{hour:"numeric",minute:"2-digit"}),JD=(l)=>l.trim().length>0&&!/^\s*(javascript|data):/i.test(l);function KD(l){if(l.status==="loading")return"Loading…";if(l.status==="error")return l.error;let s=new Set(l.catalog.operations.map((c)=>c.product).filter(Boolean));return`${l.source==="pasted"?"Pasted file · ":""}${s.size||1} ${s.size===1?"product":"products"} · ${l.catalog.operations.length} ${l.catalog.operations.length===1?"API":"APIs"} · loaded ${XD.format(l.loadedAt)}`}var AA=new Intl.NumberFormat(void 0,{maximumFractionDigits:1}),ZD=(l)=>l<1e6?`${AA.format(l/1000)} KB`:`${AA.format(l/1e6)} MB`;function PD({onPaste:l,onDone:s}){let r=bo.useRef(null),[c,f]=bo.useState(0),[p,m]=bo.useState(!1),[g,v]=bo.useState(),S=async()=>{let A=r.current?.value??"";m(!0),v(void 0);let C=await l(A);if(m(!1),C){v(C);return}if(r.current)r.current.value="";s()};return dt.jsxs("div",{className:"abs-paste",children:[dt.jsx("textarea",{ref:r,id:"abs-docs-paste",className:"abs-input abs-paste-area",rows:7,wrap:"off",spellCheck:!1,autoCorrect:"off",autoCapitalize:"off",autoComplete:"off",autoFocus:!0,placeholder:"Paste the contents of index.yaml (or the JSON version)","aria-label":"OpenAPI document","aria-describedby":"abs-paste-note","aria-invalid":!!g,onInput:(A)=>f(A.currentTarget.value.length)}),dt.jsxs("div",{className:"abs-set-row",children:[dt.jsx("button",{type:"button",className:"abs-btn abs-btn-primary",onClick:()=>void S(),disabled:p||c===0,children:p?dt.jsxs(dt.Fragment,{children:[dt.jsx(be,{name:"refresh",size:14,className:"abs-spin"}),"Reading…"]}):"Load"}),dt.jsx("button",{type:"button",className:"abs-btn abs-btn-ghost",onClick:s,disabled:p,children:"Cancel"}),dt.jsx("span",{className:"abs-paste-size","aria-live":"polite",children:c?ZD(c):""})]}),dt.jsx("p",{id:"abs-paste-note",className:"abs-set-status"+(g?" is-error":""),role:g?"alert":void 0,children:g??"Used for this session only. Nothing is saved; the URL is used again next time."})]})}function CA({docsUrl:l,onDocsUrl:s,catalog:r,onReload:c,onPaste:f,onClose:p}){let[m,g]=bo.useState(l),[v,S]=bo.useState(!1),A=r.status==="ready"&&r.source==="pasted",C=bo.useRef(null),T=JD(m),E=m.trim()!==l;return bo.useEffect(()=>{let w=(R)=>{if(R.key==="Escape")R.preventDefault(),p()},z=(R)=>{if(!C.current?.contains(R.target)&&!R.target.closest?.(".abs-settings-btn"))p()};return window.addEventListener("keydown",w),document.addEventListener("pointerdown",z),()=>{window.removeEventListener("keydown",w),document.removeEventListener("pointerdown",z)}},[p]),dt.jsx("div",{className:"abs-settings abs-pop",ref:C,role:"dialog","aria-label":"Settings",children:dt.jsxs("form",{className:"abs-set-sec",onSubmit:(w)=>{if(w.preventDefault(),!T)return;if(E)s(m.trim());else c()},children:[dt.jsx("label",{className:"abs-set-h",htmlFor:"abs-docs-url",children:"API docs"}),dt.jsx("p",{className:"abs-set-d",children:"The OpenAPI file every API is read from: a URL, or a path next to the bindings file."}),dt.jsxs("div",{className:"abs-set-row",children:[dt.jsx("input",{id:"abs-docs-url",name:"docsUrl",type:"text",inputMode:"url",autoComplete:"off",spellCheck:!1,className:"abs-input"+(T?"":" is-invalid"),value:m,onChange:(w)=>g(w.target.value),"aria-invalid":!T,"aria-describedby":"abs-docs-status"}),dt.jsx("button",{type:"submit",className:"abs-btn abs-btn-primary",disabled:!T||r.status==="loading",children:E?"Use":dt.jsxs(dt.Fragment,{children:[dt.jsx(be,{name:"refresh",size:14,className:r.status==="loading"?"abs-spin":""}),"Reload"]})})]}),dt.jsx("p",{id:"abs-docs-status",className:"abs-set-status"+(r.status==="error"?" is-error":""),"aria-live":"polite",children:T?KD(r):"Enter a URL or a path, for example "+pf}),v?dt.jsx(PD,{onPaste:f,onDone:()=>S(!1)}):dt.jsxs("div",{className:"abs-set-links",children:[A?dt.jsxs("button",{type:"button",className:"abs-link",onClick:c,children:[dt.jsx(be,{name:"refresh",size:14}),"Use the URL again"]}):dt.jsxs("button",{type:"button",className:"abs-link",onClick:()=>S(!0),children:[dt.jsx(be,{name:"upload",size:14}),"Paste the file instead"]}),l!==pf?dt.jsx("button",{type:"button",className:"abs-link",onClick:()=>{g(pf),s(pf)},children:"Use the default URL"}):null]})]})})}var On=me(en(),1);function RA(l,s,r){let c=(l[s]??[]).filter((f)=>!(f.component===r.component&&f.slot===r.slot));return{...l,[s]:[...c,r]}}function _A(l,s,r,c){return{...l,[s]:(l[s]??[]).filter((f)=>!(f.component===r&&f.slot===c))}}function NA(l,s){let[r,c]=On.useState(l),[f,p]=On.useState("idle"),[m,g]=On.useState(null),v=On.useRef(0),S=On.useRef(r);S.current=r;let A=On.useCallback(async()=>{let w=v.current;if(!w)return;p("saving");try{if(await s(S.current),v.current===w)v.current=0;p(v.current?"saving":"saved")}catch{p("failed")}},[s]);On.useEffect(()=>{if(!v.current)return;p("saving");let w=setTimeout(A,400);return()=>clearTimeout(w)},[r,A]),On.useEffect(()=>()=>{A()},[A]),On.useEffect(()=>{let w=(z)=>{if(v.current)z.preventDefault()};return window.addEventListener("beforeunload",w),()=>window.removeEventListener("beforeunload",w)},[]);let C=On.useCallback((w,z)=>{v.current++,c((R)=>RA(R,w,z))},[]),T=On.useCallback((w,z,R)=>{let H=S.current[w]?.find((Y)=>Y.component===z&&Y.slot===R);if(H)g({screen:w,binding:H});v.current++,c((Y)=>_A(Y,w,z,R))},[]),E=On.useCallback(()=>{if(m)C(m.screen,m.binding);g(null)},[C,m]),B=On.useCallback(()=>g(null),[]);return{index:r,loaded:!0,status:f,removed:m,put:C,drop:T,undo:E,dismiss:B,retry:A}}var de=me(Ke(),1),FD=(l)=>l;function WD({status:l,onRetry:s}){return de.jsx("span",{className:"abs-saved is-"+l,"aria-live":"polite",children:l==="failed"?de.jsxs("button",{type:"button",onClick:s,children:[de.jsx(be,{name:"alert",size:14}),"Not saved · Retry"]}):l==="saving"?de.jsxs(de.Fragment,{children:[de.jsx(be,{name:"refresh",size:14,className:"abs-spin"}),"Saving…"]}):l==="saved"?de.jsxs(de.Fragment,{children:[de.jsx(be,{name:"check",size:14}),"Saved"]}):null})}function eM({removed:l,label:s,onUndo:r,onDismiss:c}){return nn.useEffect(()=>{let f=setTimeout(c,6000);return()=>clearTimeout(f)},[l,c]),de.jsxs("div",{className:"abs-toast",role:"status",children:[de.jsxs("span",{children:[s," disconnected"]}),de.jsx("button",{type:"button",onClick:r,children:"Undo"})]})}var tM=de.jsxs("aside",{className:"abs-insp abs-insp-empty abs-enter",children:[de.jsx("span",{className:"abs-empty-ico",children:de.jsx(be,{name:"pointer",size:20})}),de.jsx("b",{children:"Select a component"}),de.jsx("span",{children:"Pick something from the list to connect it to an API."})]});function DA({store:l,docsUrl:s=FD,initialScreen:r,initialComponent:c,title:f="Bind API",onClose:p}){let[m,g]=nn.useState(null),[v,S]=nn.useState(),A=nn.useRef({file:null,index:{}});nn.useEffect(()=>{let G=!0;return l.load().then((ie)=>{if(G)A.current.file=ie,g(ie)},(ie)=>G&&S(ie instanceof Error?ie.message:String(ie))),()=>{G=!1}},[l]);let[C,T,E]=OA(m?s(m.openapi):""),[B,w]=nn.useState(!1),z=nn.useCallback(()=>w(!1),[]),R=C.catalog,H=nn.useMemo(()=>{if(!m||!R)return null;let{fw:G,index:ie}=a2(m,R);return{fw:{...G,registry:u2(G).registry},index:ie}},[m?.kinds,m?.screens,m?.components,R]),Y=nn.useCallback(async(G)=>{if(A.current.index=G,A.current.file)await l.save(K0(A.current.file,G))},[l]),P=(G)=>{let ie=A.current.file;if(!ie)return;A.current.file={...ie,openapi:G},g(A.current.file),l.save(K0(A.current.file,Object.keys(A.current.index).length?A.current.index:H?.index??{}))},ce=de.jsxs("div",{className:"abs-settings-wrap",children:[de.jsxs("button",{type:"button",className:"abs-iconbtn abs-settings-btn"+(B?" is-on":""),"aria-label":"Settings","aria-expanded":B,onClick:()=>w((G)=>!G),children:[de.jsx(be,{name:"settings"}),C.status==="error"?de.jsx("span",{className:"abs-dot-bad","aria-hidden":"true"}):null]}),p?de.jsx("button",{type:"button",className:"abs-iconbtn","aria-label":"Close",onClick:p,children:de.jsx(be,{name:"close"})}):null,B&&m?de.jsx(CA,{docsUrl:m.openapi,onDocsUrl:P,catalog:C,onReload:T,onPaste:E,onClose:z}):null]});if(!H){let G=v??(C.status==="error"?C.error:void 0);return de.jsxs("div",{className:"abs-root",children:[de.jsxs("header",{className:"abs-top",children:[de.jsx("div",{className:"abs-brand",children:f}),de.jsx("span",{}),ce]}),de.jsx("div",{className:"abs-state-page",children:G?de.jsxs(de.Fragment,{children:[de.jsx("span",{className:"abs-empty-ico is-bad",children:de.jsx(be,{name:"alert",size:20})}),de.jsx("b",{children:v?"The bindings file did not load":"The API docs did not load"}),de.jsx("span",{children:G}),v?null:de.jsxs("div",{className:"abs-set-row",children:[de.jsxs("button",{type:"button",className:"abs-btn abs-btn-primary",onClick:T,children:[de.jsx(be,{name:"refresh",size:14}),"Try again"]}),de.jsx("button",{type:"button",className:"abs-btn",onClick:()=>w(!0),children:"Change the URL or paste the file"})]})]}):de.jsxs(de.Fragment,{children:[de.jsx("span",{className:"abs-loader","aria-hidden":"true"}),de.jsx("span",{"aria-live":"polite",children:m?"Loading API docs…":"Loading bindings…"})]})})]})}return de.jsx(nM,{fw:H.fw,initial:H.index,save:Y,title:f,initialScreen:c?Pu(c,H.fw.registry.screens.map((G)=>G.id))??r:r,initialComponent:c,settingsButton:ce})}function nM({fw:l,initial:s,save:r,title:c,initialScreen:f,initialComponent:p,settingsButton:m}){let{index:g,loaded:v,status:S,removed:A,put:C,drop:T,undo:E,dismiss:B,retry:w}=NA(s,r),[z,R]=nn.useState({screen:f,component:p}),H=nn.useMemo(()=>c2(l,g),[l,g]),Y=z.screen&&H.SCR.get(z.screen)||l.registry.screens[0],P=Y&&z.component?H.compOf(Y.id,z.component):void 0,ce=Y?.id,G=nn.useCallback((Ee)=>R({screen:ce,component:Ee}),[R,ce]),ie=nn.useCallback((Ee)=>{if(ce)C(ce,Ee)},[C,ce]),W=nn.useCallback((Ee,xe)=>{if(ce)T(ce,Ee,xe)},[T,ce]);if(!Y)return de.jsx("div",{className:"abs-root",children:de.jsx("div",{className:"abs-empty",children:"No screens are registered yet."})});let Me=H.tally(l.registry.screens),Ne=A?H.compOf(A.screen,A.binding.component)?.label??A.binding.component:"";return de.jsxs("div",{className:"abs-root",children:[de.jsxs("header",{className:"abs-top",children:[de.jsx("div",{className:"abs-brand",children:c}),de.jsx(m2,{engine:H,onGo:(Ee,xe)=>R({screen:Ee,component:xe})}),de.jsxs("div",{className:"abs-top-meta",children:[de.jsx(WD,{status:S,onRetry:w}),de.jsxs("span",{className:"abs-overall",title:`Components connected across all ${l.registry.screens.length} screens`,children:[de.jsx("b",{children:Me.bound}),"/",Me.total," connected"]}),m]})]}),de.jsxs("div",{className:"abs-body"+(P?" has-insp":""),children:[de.jsx(_2,{engine:H,current:Y.id,onPick:(Ee)=>R({screen:Ee})}),v?de.jsx(h2,{engine:H,screen:Y,selected:P?.bindId,onSelect:G},Y.id):de.jsx("div",{className:"abs-center"}),P?de.jsx(R2,{engine:H,screen:Y,comp:P,put:ie,drop:W,goTo:G,onClose:()=>G(void 0)},Y.id+P.bindId):v?tM:null]}),A?de.jsx(eM,{removed:A,label:Ne,onUndo:E,onDismiss:B}):null]})}var zb=me(Ke(),1),aM=o2("api/bindings"),oM=(l)=>`api/openapi?src=${encodeURIComponent(l)}`,Mb=new URLSearchParams(location.search),xb=Mb.has("embed")&&window.parent!==window?()=>window.parent.postMessage("api-binding:close",location.origin):void 0;if(xb)window.addEventListener("keydown",(l)=>{if(l.key==="Escape"&&!l.defaultPrevented)xb()});var MA=document.getElementById("root");if(MA)zA.createRoot(MA).render(zb.jsx(xA.StrictMode,{children:zb.jsx(DA,{store:aM,docsUrl:oM,initialScreen:Mb.get("screen")??void 0,initialComponent:Mb.get("component")??void 0,onClose:xb})}));
|