@di-framework/cli-plugin-platform 6.0.3 → 6.0.5
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 +196 -21
- package/dist/args.d.ts +2 -1
- package/dist/args.js +9 -5
- package/dist/assets/http-adapter.js +63 -0
- package/dist/assets/platform/README.md +22 -6
- package/dist/assets/sqlite/BUILD-INFO.txt +1 -1
- package/dist/assets/wit/deps/wasi-clocks-0.2.12/package.wit +43 -0
- package/dist/assets/wit/deps/wasi-filesystem-0.2.12/package.wit +196 -0
- package/dist/assets/wit/deps/wasi-io-0.2.12/package.wit +66 -0
- package/dist/assets/wit/deps/wasi-logging/package.wit +36 -0
- package/dist/build.d.ts +3 -1
- package/dist/build.js +4 -2
- package/dist/command.js +31 -13
- package/dist/console/auth.d.ts +20 -0
- package/dist/console/auth.js +82 -0
- package/dist/console/catalog.d.ts +196 -0
- package/dist/console/catalog.js +821 -0
- package/dist/console/cluster.d.ts +30 -0
- package/dist/console/cluster.js +299 -0
- package/dist/console/errors.d.ts +10 -0
- package/dist/console/errors.js +32 -0
- package/dist/console/run.d.ts +18 -0
- package/dist/console/run.js +102 -0
- package/dist/console/server.d.ts +25 -0
- package/dist/console/server.js +668 -0
- package/dist/console/services.d.ts +47 -0
- package/dist/console/services.js +111 -0
- package/dist/console-ui/app.css +1 -0
- package/dist/console-ui/app.js +260 -0
- package/dist/console-ui/di-framework-mark.png +0 -0
- package/dist/console-ui/index.html +13 -0
- package/dist/deps.d.ts +2 -0
- package/dist/deps.js +5 -3
- package/dist/dev.js +10 -5
- package/dist/egress.d.ts +40 -0
- package/dist/egress.js +214 -0
- package/dist/host-interface.js +2 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/dist/manifest.d.ts +7 -0
- package/dist/manifest.js +35 -8
- package/dist/node-compat/console.d.ts +18 -0
- package/dist/node-compat/console.js +42 -0
- package/dist/node-compat/env.js +6 -0
- package/dist/node-compat/events.d.ts +20 -0
- package/dist/node-compat/events.js +55 -0
- package/dist/node-compat/fetch-runtime.d.ts +31 -0
- package/dist/node-compat/fetch-runtime.js +62 -0
- package/dist/node-compat/fs-promises.d.ts +30 -0
- package/dist/node-compat/fs-promises.js +3 -0
- package/dist/node-compat/fs.d.ts +79 -0
- package/dist/node-compat/fs.js +112 -5
- package/dist/node-compat/net.d.ts +2 -1
- package/dist/node-compat/net.js +3 -1
- package/dist/node-compat/storage.d.ts +87 -0
- package/dist/node-compat/storage.js +244 -0
- package/dist/node-compat/stream.d.ts +24 -0
- package/dist/node-compat/stream.js +70 -0
- package/dist/platform.js +2 -4
- package/dist/project.d.ts +5 -0
- package/dist/project.js +4 -0
- package/dist/service.d.ts +21 -2
- package/dist/service.js +71 -5
- package/dist/target.js +6 -1
- package/dist/wit.d.ts +8 -0
- package/dist/wit.js +28 -0
- package/dist/workload.d.ts +45 -0
- package/dist/workload.js +98 -26
- package/package.json +14 -4
|
@@ -0,0 +1,260 @@
|
|
|
1
|
+
var wV=Object.create;var{getPrototypeOf:AV,defineProperty:NN,getOwnPropertyNames:TV}=Object;var BN=Object.prototype.hasOwnProperty;function EV(n){return this[n]}var DV,MV,w=(n,r,a)=>{var l=n!=null&&typeof n==="object";if(l){var f=r?DV??=new WeakMap:MV??=new WeakMap,u=f.get(n);if(u)return u}a=n!=null?wV(AV(n)):{};let p=r||!n||!n.__esModule||!BN.call(n,"default")?NN(a,"default",{value:n,enumerable:!0}):a;if(n&&typeof n==="object"||typeof n==="function"){for(let h of TV(n))if(!BN.call(p,h))NN(p,h,{get:EV.bind(n,h),enumerable:!0})}if(l)f.set(n,p);return p};var ge=(n,r)=>()=>(r||n((r={exports:{}}).exports,r),r.exports);var LN=ge(function(sp){(function(){function n(){if(V=!1,re){var P=sp.unstable_now();Ce=P;var Z=!0;try{e:{z=!1,M&&(M=!1,K(de),de=-1),k=!0;var ne=D;try{t:{u(P);for(A=a(v);A!==null&&!(A.expirationTime>P&&h());){var he=A.callback;if(typeof he==="function"){A.callback=null,D=A.priorityLevel;var le=he(A.expirationTime<=P);if(P=sp.unstable_now(),typeof le==="function"){A.callback=le,u(P),Z=!0;break t}A===a(v)&&l(v),u(P)}else l(v);A=a(v)}if(A!==null)Z=!0;else{var Me=a(I);Me!==null&&b(p,Me.startTime-P),Z=!1}}break e}finally{A=null,D=ne,k=!1}Z=void 0}}finally{Z?Q():re=!1}}}function r(P,Z){var ne=P.length;P.push(Z);e:for(;0<ne;){var he=ne-1>>>1,le=P[he];if(0<f(le,Z))P[he]=Z,P[ne]=le,ne=he;else break e}}function a(P){return P.length===0?null:P[0]}function l(P){if(P.length===0)return null;var Z=P[0],ne=P.pop();if(ne!==Z){P[0]=ne;e:for(var he=0,le=P.length,Me=le>>>1;he<Me;){var B=2*(he+1)-1,ce=P[B],fe=B+1,se=P[fe];if(0>f(ce,ne))fe<le&&0>f(se,ce)?(P[he]=se,P[fe]=ne,he=fe):(P[he]=ce,P[B]=ne,he=B);else if(fe<le&&0>f(se,ne))P[he]=se,P[fe]=ne,he=fe;else break e}}return Z}function f(P,Z){var ne=P.sortIndex-Z.sortIndex;return ne!==0?ne:P.id-Z.id}function u(P){for(var Z=a(I);Z!==null;){if(Z.callback===null)l(I);else if(Z.startTime<=P)l(I),Z.sortIndex=Z.expirationTime,r(v,Z);else break;Z=a(I)}}function p(P){if(M=!1,u(P),!z)if(a(v)!==null)z=!0,re||(re=!0,Q());else{var Z=a(I);Z!==null&&b(p,Z.startTime-P)}}function h(){return V?!0:sp.unstable_now()-Ce<J?!1:!0}function b(P,Z){de=G(function(){P(sp.unstable_now())},Z)}if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error()),sp.unstable_now=void 0,typeof performance==="object"&&typeof performance.now==="function"){var x=performance;sp.unstable_now=function(){return x.now()}}else{var y=Date,_=y.now();sp.unstable_now=function(){return y.now()-_}}var v=[],I=[],O=1,A=null,D=3,k=!1,z=!1,M=!1,V=!1,G=typeof setTimeout==="function"?setTimeout:null,K=typeof clearTimeout==="function"?clearTimeout:null,ie=typeof setImmediate<"u"?setImmediate:null,re=!1,de=-1,J=5,Ce=-1;if(typeof ie==="function")var Q=function(){ie(n)};else if(typeof MessageChannel<"u"){var L=new MessageChannel,Y=L.port2;L.port1.onmessage=n,Q=function(){Y.postMessage(null)}}else Q=function(){G(n,0)};sp.unstable_IdlePriority=5,sp.unstable_ImmediatePriority=1,sp.unstable_LowPriority=4,sp.unstable_NormalPriority=3,sp.unstable_Profiling=null,sp.unstable_UserBlockingPriority=2,sp.unstable_cancelCallback=function(P){P.callback=null},sp.unstable_forceFrameRate=function(P){0>P||125<P?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):J=0<P?Math.floor(1000/P):5},sp.unstable_getCurrentPriorityLevel=function(){return D},sp.unstable_next=function(P){switch(D){case 1:case 2:case 3:var Z=3;break;default:Z=D}var ne=D;D=Z;try{return P()}finally{D=ne}},sp.unstable_requestPaint=function(){V=!0},sp.unstable_runWithPriority=function(P,Z){switch(P){case 1:case 2:case 3:case 4:case 5:break;default:P=3}var ne=D;D=P;try{return Z()}finally{D=ne}},sp.unstable_scheduleCallback=function(P,Z,ne){var he=sp.unstable_now();switch(typeof ne==="object"&&ne!==null?(ne=ne.delay,ne=typeof ne==="number"&&0<ne?he+ne:he):ne=he,P){case 1:var le=-1;break;case 2:le=250;break;case 5:le=1073741823;break;case 4:le=1e4;break;default:le=5000}return le=ne+le,P={id:O++,callback:Z,priorityLevel:P,startTime:ne,expirationTime:le,sortIndex:-1},ne>he?(P.sortIndex=ne,r(I,P),a(v)===null&&P===a(I)&&(M?(K(de),de=-1):M=!0,b(p,ne-he))):(P.sortIndex=le,r(v,P),z||k||(z=!0,re||(re=!0,Q()))),P},sp.unstable_shouldYield=h,sp.unstable_wrapCallback=function(P){var Z=D;return function(){var ne=D;D=Z;try{return P.apply(this,arguments)}finally{D=ne}}},typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()});var Oe=ge(function(UV,GI){(function(){function n(R,W){Object.defineProperty(l.prototype,R,{get:function(){console.warn("%s(...) is deprecated in plain JavaScript React classes. %s",W[0],W[1])}})}function r(R){if(R===null||typeof R!=="object")return null;return R=Ue&&R[Ue]||R["@@iterator"],typeof R==="function"?R:null}function a(R,W){R=(R=R.constructor)&&(R.displayName||R.name)||"ReactClass";var ve=R+"."+W;tt[ve]||(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.",W,R),tt[ve]=!0)}function l(R,W,ve){this.props=R,this.context=W,this.refs=pt,this.updater=ve||ke}function f(){}function u(R,W,ve){this.props=R,this.context=W,this.refs=pt,this.updater=ve||ke}function p(){}function h(R){return""+R}function b(R){try{h(R);var W=!1}catch(ue){W=!0}if(W){W=console;var ve=W.error,Se=typeof Symbol==="function"&&Symbol.toStringTag&&R[Symbol.toStringTag]||R.constructor.name||"Object";return ve.call(W,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",Se),h(R)}}function x(R){if(R==null)return null;if(typeof R==="function")return R.$$typeof===Mt?null:R.displayName||R.name||null;if(typeof R==="string")return R;switch(R){case B:return"Fragment";case fe:return"Profiler";case ce:return"StrictMode";case we:return"Suspense";case Ze:return"SuspenseList";case yt:return"Activity";case Re:return"ViewTransition"}if(typeof R==="object")switch(typeof R.tag==="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),R.$$typeof){case Me:return"Portal";case be:return R.displayName||"Context";case se:return(R._context.displayName||"Context")+".Consumer";case De:var W=R.render;return R=R.displayName,R||(R=W.displayName||W.name||"",R=R!==""?"ForwardRef("+R+")":"ForwardRef"),R;case ct:return W=R.displayName||null,W!==null?W:x(R.type)||"Memo";case Tt:W=R._payload,R=R._init;try{return x(R(W))}catch(ve){}}return null}function y(R){if(R===B)return"<>";if(typeof R==="object"&&R!==null&&R.$$typeof===Tt)return"<...>";try{var W=x(R);return W?"<"+W+">":"<...>"}catch(ve){return"<...>"}}function _(){var R=Be.A;return R===null?null:R.getOwner()}function v(){return Error("react-stack-top-frame")}function I(R){if(xe.call(R,"key")){var W=Object.getOwnPropertyDescriptor(R,"key").get;if(W&&W.isReactWarning)return!1}return R.key!==void 0}function O(R,W){function ve(){Pe||(Pe=!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)",W))}ve.isReactWarning=!0,Object.defineProperty(R,"key",{get:ve,configurable:!0})}function A(){var R=x(this.type);return Te[R]||(Te[R]=!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.")),R=this.props.ref,R!==void 0?R:null}function D(R,W,ve,Se,ue,Je){var je=ve.ref;return R={$$typeof:le,type:R,key:W,props:ve,_owner:Se},(je!==void 0?je:null)!==null?Object.defineProperty(R,"ref",{enumerable:!1,get:A}):Object.defineProperty(R,"ref",{enumerable:!1,value:null}),R._store={},Object.defineProperty(R._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(R,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(R,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:ue}),Object.defineProperty(R,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:Je}),Object.freeze&&(Object.freeze(R.props),Object.freeze(R)),R}function k(R,W){return W=D(R.type,W,R.props,R._owner,R._debugStack,R._debugTask),R._store&&(W._store.validated=R._store.validated),W}function z(R){M(R)?R._store&&(R._store.validated=1):typeof R==="object"&&R!==null&&R.$$typeof===Tt&&(R._payload.status==="fulfilled"?M(R._payload.value)&&R._payload.value._store&&(R._payload.value._store.validated=1):R._store&&(R._store.validated=1))}function M(R){return typeof R==="object"&&R!==null&&R.$$typeof===le}function V(R){var W={"=":"=0",":":"=2"};return"$"+R.replace(/[=:]/g,function(ve){return W[ve]})}function G(R,W){return typeof R==="object"&&R!==null&&R.key!=null?(b(R.key),V(""+R.key)):W.toString(36)}function K(R){switch(R.status){case"fulfilled":return R.value;case"rejected":throw R.reason;default:switch(typeof R.status==="string"?R.then(p,p):(R.status="pending",R.then(function(W){R.status==="pending"&&(R.status="fulfilled",R.value=W)},function(W){R.status==="pending"&&(R.status="rejected",R.reason=W)})),R.status){case"fulfilled":return R.value;case"rejected":throw R.reason}}throw R}function ie(R,W,ve,Se,ue){var Je=typeof R;if(Je==="undefined"||Je==="boolean")R=null;var je=!1;if(R===null)je=!0;else switch(Je){case"bigint":case"string":case"number":je=!0;break;case"object":switch(R.$$typeof){case le:case Me:je=!0;break;case Tt:return je=R._init,ie(je(R._payload),W,ve,Se,ue)}}if(je){je=R,ue=ue(je);var nt=Se===""?"."+G(je,0):Se;return Zt(ue)?(ve="",nt!=null&&(ve=nt.replace(Yn,"$&/")+"/"),ie(ue,W,ve,"",function(er){return er})):ue!=null&&(M(ue)&&(ue.key!=null&&(je&&je.key===ue.key||b(ue.key)),ve=k(ue,ve+(ue.key==null||je&&je.key===ue.key?"":(""+ue.key).replace(Yn,"$&/")+"/")+nt),Se!==""&&je!=null&&M(je)&&je.key==null&&je._store&&!je._store.validated&&(ve._store.validated=2),ue=ve),W.push(ue)),1}if(je=0,nt=Se===""?".":Se+":",Zt(R))for(var Ut=0;Ut<R.length;Ut++)Se=R[Ut],Je=nt+G(Se,Ut),je+=ie(Se,W,ve,Je,ue);else if(Ut=r(R),typeof Ut==="function")for(Ut===R.entries&&(Nn||console.warn("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),Nn=!0),R=Ut.call(R),Ut=0;!(Se=R.next()).done;)Se=Se.value,Je=nt+G(Se,Ut++),je+=ie(Se,W,ve,Je,ue);else if(Je==="object"){if(typeof R.then==="function")return ie(K(R),W,ve,Se,ue);throw W=String(R),Error("Objects are not valid as a React child (found: "+(W==="[object Object]"?"object with keys {"+Object.keys(R).join(", ")+"}":W)+"). If you meant to render a collection of children, use an array instead.")}return je}function re(R,W,ve){if(R==null)return R;var Se=[],ue=0;return ie(R,Se,"","",function(Je){return W.call(ve,Je,ue++)}),Se}function de(R){if(R._status===-1){var W=null,ve=null,Se=R._ioInfo;Se!=null&&(Se.start=Se.end=performance.now(),Se.value=new Promise(function(je,nt){W=je,ve=nt})),Se=R._result;var ue=Se();if(ue.then(function(je){if(R._status===0||R._status===-1){R._status=1,R._result=je;var nt=R._ioInfo;if(nt!=null){nt.end=performance.now();var Ut=je==null?void 0:je.default;W(Ut),nt.value.status="fulfilled",nt.value.value=Ut}ue.status===void 0&&(ue.status="fulfilled",ue.value=je)}},function(je){if(R._status===0||R._status===-1){R._status=2,R._result=je;var nt=R._ioInfo;nt!=null&&(nt.end=performance.now(),nt.value.then(p,p),ve(je),nt.value.status="rejected",nt.value.reason=je),ue.status===void 0&&(ue.status="rejected",ue.reason=je)}}),Se=R._ioInfo,Se!=null){var Je=ue.displayName;typeof Je==="string"&&(Se.name=Je)}R._status===-1&&(R._status=0,R._result=ue)}if(R._status===1)return Se=R._result,Se===void 0&&console.error(`lazy: Expected the result of a dynamic import() call. Instead received: %s
|
|
2
|
+
|
|
3
|
+
Your code should look like:
|
|
4
|
+
const MyComponent = lazy(() => import('./MyComponent'))
|
|
5
|
+
|
|
6
|
+
Did you accidentally put curly braces around the import?`,Se),"default"in Se||console.error(`lazy: Expected the result of a dynamic import() call. Instead received: %s
|
|
7
|
+
|
|
8
|
+
Your code should look like:
|
|
9
|
+
const MyComponent = lazy(() => import('./MyComponent'))`,Se),Se.default;throw R._result}function J(){var R=Be.H;return R===null&&console.error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
|
|
10
|
+
1. You might have mismatching versions of React and the renderer (such as React DOM)
|
|
11
|
+
2. You might be breaking the Rules of Hooks
|
|
12
|
+
3. You might have more than one copy of React in the same app
|
|
13
|
+
See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`),R}function Ce(){Be.asyncTransitions--}function Q(R){var W=Be.T,ve={};ve.types=W!==null?W.types:null,ve._updatedFibers=new Set,Be.T=ve;try{var Se=R(),ue=Be.S;ue!==null&&ue(ve,Se),typeof Se==="object"&&Se!==null&&typeof Se.then==="function"&&(Be.asyncTransitions++,Se.then(Ce,Ce),Se.then(p,$t))}catch(Je){$t(Je)}finally{W===null&&ve._updatedFibers&&(R=ve._updatedFibers.size,ve._updatedFibers.clear(),10<R&&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.")),W!==null&&ve.types!==null&&(W.types!==null&&W.types!==ve.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."),W.types=ve.types),Be.T=W}}function L(R){var W=Be.T;if(W!==null){var ve=W.types;ve===null?W.types=[R]:ve.indexOf(R)===-1&&ve.push(R)}else Be.asyncTransitions===0&&console.error("addTransitionType can only be called inside a `startTransition()` callback. It must be associated with a specific Transition."),Q(L.bind(null,R))}function Y(R){if(Jo===null)try{var W=("require"+Math.random()).slice(0,7);Jo=(GI&&GI[W]).call(GI,"timers").setImmediate}catch(ve){Jo=function(Se){$l===!1&&($l=!0,typeof MessageChannel>"u"&&console.error("This browser does not have a MessageChannel implementation, so enqueuing tasks via await act(async () => ...) will fail. Please file an issue at https://github.com/facebook/react/issues if you encounter this warning."));var ue=new MessageChannel;ue.port1.onmessage=Se,ue.port2.postMessage(void 0)}}return Jo(R)}function P(R){return 1<R.length&&typeof AggregateError==="function"?AggregateError(R):R[0]}function Z(R,W){W!==We-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. "),We=W}function ne(R,W,ve){var Se=Be.actQueue;if(Se!==null)if(Se.length!==0)try{he(Se),Y(function(){return ne(R,W,ve)});return}catch(ue){Be.thrownErrors.push(ue)}else Be.actQueue=null;0<Be.thrownErrors.length?(Se=P(Be.thrownErrors),Be.thrownErrors.length=0,ve(Se)):W(R)}function he(R){if(!Bn){Bn=!0;var W=0;try{for(;W<R.length;W++){var ve=R[W];do{Be.didUsePromise=!1;var Se=ve(!1);if(Se!==null){if(Be.didUsePromise){R[W]=ve,R.splice(0,W);return}ve=Se}else break}while(1)}R.length=0}catch(ue){R.splice(0,W+1),Be.thrownErrors.push(ue)}finally{Bn=!1}}}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var le=Symbol.for("react.transitional.element"),Me=Symbol.for("react.portal"),B=Symbol.for("react.fragment"),ce=Symbol.for("react.strict_mode"),fe=Symbol.for("react.profiler"),se=Symbol.for("react.consumer"),be=Symbol.for("react.context"),De=Symbol.for("react.forward_ref"),we=Symbol.for("react.suspense"),Ze=Symbol.for("react.suspense_list"),ct=Symbol.for("react.memo"),Tt=Symbol.for("react.lazy"),yt=Symbol.for("react.activity"),Re=Symbol.for("react.view_transition"),Ue=Symbol.iterator,tt={},ke={isMounted:function(){return!1},enqueueForceUpdate:function(R){a(R,"forceUpdate")},enqueueReplaceState:function(R){a(R,"replaceState")},enqueueSetState:function(R){a(R,"setState")}},Dt=Object.assign,pt={};Object.freeze(pt),l.prototype.isReactComponent={},l.prototype.setState=function(R,W){if(typeof R!=="object"&&typeof R!=="function"&&R!=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,R,W,"setState")},l.prototype.forceUpdate=function(R){this.updater.enqueueForceUpdate(this,R,"forceUpdate")};var Ke={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(Qo in Ke)Ke.hasOwnProperty(Qo)&&n(Qo,Ke[Qo]);f.prototype=l.prototype,Ke=u.prototype=new f,Ke.constructor=u,Dt(Ke,l.prototype),Ke.isPureReactComponent=!0;var Zt=Array.isArray,Mt=Symbol.for("react.client.reference"),Be={H:null,A:null,T:null,S:null,actQueue:null,asyncTransitions:0,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1,didUsePromise:!1,thrownErrors:[],getCurrentStack:null,recentlyCreatedOwnerStacks:0},xe=Object.prototype.hasOwnProperty,vn=console.createTask?console.createTask:function(){return null};Ke={react_stack_bottom_frame:function(R){return R()}};var Pe,et,Te={},Ve=Ke.react_stack_bottom_frame.bind(Ke,v)(),Ye=vn(y(v)),Nn=!1,Yn=/\/+/g,$t=typeof reportError==="function"?reportError:function(R){if(typeof window==="object"&&typeof window.ErrorEvent==="function"){var W=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof R==="object"&&R!==null&&typeof R.message==="string"?String(R.message):String(R),error:R});if(!window.dispatchEvent(W))return}else if(typeof process==="object"&&typeof process.emit==="function"){process.emit("uncaughtException",R);return}console.error(R)},$l=!1,Jo=null,We=0,kt=!1,Bn=!1,_o=typeof queueMicrotask==="function"?function(R){queueMicrotask(function(){return queueMicrotask(R)})}:Y;Ke=Object.freeze({__proto__:null,c:function(R){return J().useMemoCache(R)}});var Qo={map:re,forEach:function(R,W,ve){re(R,function(){W.apply(this,arguments)},ve)},count:function(R){var W=0;return re(R,function(){W++}),W},toArray:function(R){return re(R,function(W){return W})||[]},only:function(R){if(!M(R))throw Error("React.Children.only expected to receive a single React element child.");return R}};UV.Activity=yt,UV.Children=Qo,UV.Component=l,UV.Fragment=B,UV.Profiler=fe,UV.PureComponent=u,UV.StrictMode=ce,UV.Suspense=we,UV.ViewTransition=Re,UV.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=Be,UV.__COMPILER_RUNTIME=Ke,UV.act=function(R){var W=Be.actQueue,ve=We;We++;var Se=Be.actQueue=W!==null?W:[],ue=!1;try{var Je=R()}catch(Ut){Be.thrownErrors.push(Ut)}if(0<Be.thrownErrors.length)throw Z(W,ve),R=P(Be.thrownErrors),Be.thrownErrors.length=0,R;if(Je!==null&&typeof Je==="object"&&typeof Je.then==="function"){var je=Je;return _o(function(){ue||kt||(kt=!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(Ut,er){ue=!0,je.then(function(Fr){if(Z(W,ve),ve===0){try{he(Se),Y(function(){return ne(Fr,Ut,er)})}catch(Yu){Be.thrownErrors.push(Yu)}if(0<Be.thrownErrors.length){var js=P(Be.thrownErrors);Be.thrownErrors.length=0,er(js)}}else Ut(Fr)},function(Fr){Z(W,ve),0<Be.thrownErrors.length?(Fr=P(Be.thrownErrors),Be.thrownErrors.length=0,er(Fr)):er(Fr)})}}}var nt=Je;if(Z(W,ve),ve===0&&(he(Se),Se.length!==0&&_o(function(){ue||kt||(kt=!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(() => ...)"))}),Be.actQueue=null),0<Be.thrownErrors.length)throw R=P(Be.thrownErrors),Be.thrownErrors.length=0,R;return{then:function(Ut,er){ue=!0,ve===0?(Be.actQueue=Se,Y(function(){return ne(nt,Ut,er)})):Ut(nt)}}},UV.addTransitionType=L,UV.cache=function(R){return function(){return R.apply(null,arguments)}},UV.cacheSignal=function(){return null},UV.captureOwnerStack=function(){var R=Be.getCurrentStack;return R===null?null:R()},UV.cloneElement=function(R,W,ve){if(R===null||R===void 0)throw Error("The argument must be a React element, but you passed "+R+".");var Se=Dt({},R.props),{key:ue,_owner:Je}=R;if(W!=null){var je;e:{if(xe.call(W,"ref")&&(je=Object.getOwnPropertyDescriptor(W,"ref").get)&&je.isReactWarning){je=!1;break e}je=W.ref!==void 0}je&&(Je=_()),I(W)&&(b(W.key),ue=""+W.key);for(nt in W)!xe.call(W,nt)||nt==="key"||nt==="__self"||nt==="__source"||nt==="ref"&&W.ref===void 0||(Se[nt]=W[nt])}var nt=arguments.length-2;if(nt===1)Se.children=ve;else if(1<nt){je=Array(nt);for(var Ut=0;Ut<nt;Ut++)je[Ut]=arguments[Ut+2];Se.children=je}Se=D(R.type,ue,Se,Je,R._debugStack,R._debugTask);for(ue=2;ue<arguments.length;ue++)z(arguments[ue]);return Se},UV.createContext=function(R){return R={$$typeof:be,_currentValue:R,_currentValue2:R,_threadCount:0,Provider:null,Consumer:null},R.Provider=R,R.Consumer={$$typeof:se,_context:R},R._currentRenderer=null,R._currentRenderer2=null,R},UV.createElement=function(R,W,ve){for(var Se=2;Se<arguments.length;Se++)z(arguments[Se]);var ue;Se={};var Je=null;if(W!=null)for(ue in et||!("__self"in W)||"key"in W||(et=!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")),I(W)&&(b(W.key),Je=""+W.key),W)xe.call(W,ue)&&ue!=="key"&&ue!=="__self"&&ue!=="__source"&&(Se[ue]=W[ue]);var je=arguments.length-2;if(je===1)Se.children=ve;else if(1<je){for(var nt=Array(je),Ut=0;Ut<je;Ut++)nt[Ut]=arguments[Ut+2];Object.freeze&&Object.freeze(nt),Se.children=nt}if(R&&R.defaultProps)for(ue in je=R.defaultProps,je)Se[ue]===void 0&&(Se[ue]=je[ue]);return Je&&O(Se,typeof R==="function"?R.displayName||R.name||"Unknown":R),(ue=1e4>Be.recentlyCreatedOwnerStacks++)?(nt=Error.stackTraceLimit,Error.stackTraceLimit=10,je=Error("react-stack-top-frame"),Error.stackTraceLimit=nt):je=Ve,D(R,Je,Se,_(),je,ue?vn(y(R)):Ye)},UV.createRef=function(){var R={current:null};return Object.seal(R),R},UV.forwardRef=function(R){R!=null&&R.$$typeof===ct?console.error("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):typeof R!=="function"?console.error("forwardRef requires a render function but was given %s.",R===null?"null":typeof R):R.length!==0&&R.length!==2&&console.error("forwardRef render functions accept exactly two parameters: props and ref. %s",R.length===1?"Did you forget to use the ref parameter?":"Any additional parameter will be undefined."),R!=null&&R.defaultProps!=null&&console.error("forwardRef render functions do not support defaultProps. Did you accidentally pass a React component?");var W={$$typeof:De,render:R},ve;return Object.defineProperty(W,"displayName",{enumerable:!1,configurable:!0,get:function(){return ve},set:function(Se){ve=Se,R.name||R.displayName||(Object.defineProperty(R,"name",{value:Se}),R.displayName=Se)}}),W},UV.isValidElement=M,UV.lazy=function(R){R={_status:-1,_result:R};var W={$$typeof:Tt,_payload:R,_init:de},ve={name:"lazy",start:-1,end:-1,value:null,owner:null,debugStack:Error("react-stack-top-frame"),debugTask:console.createTask?console.createTask("lazy()"):null};return R._ioInfo=ve,W._debugInfo=[{awaited:ve}],W},UV.memo=function(R,W){R==null&&console.error("memo: The first argument must be a component. Instead received: %s",R===null?"null":typeof R),W={$$typeof:ct,type:R,compare:W===void 0?null:W};var ve;return Object.defineProperty(W,"displayName",{enumerable:!1,configurable:!0,get:function(){return ve},set:function(Se){ve=Se,R.name||R.displayName||(Object.defineProperty(R,"name",{value:Se}),R.displayName=Se)}}),W},UV.startTransition=Q,UV.unstable_useCacheRefresh=function(){return J().useCacheRefresh()},UV.use=function(R){return J().use(R)},UV.useActionState=function(R,W,ve){return J().useActionState(R,W,ve)},UV.useCallback=function(R,W){return J().useCallback(R,W)},UV.useContext=function(R){var W=J();return R.$$typeof===se&&console.error("Calling useContext(Context.Consumer) is not supported and will cause bugs. Did you mean to call useContext(Context) instead?"),W.useContext(R)},UV.useDebugValue=function(R,W){return J().useDebugValue(R,W)},UV.useDeferredValue=function(R,W){return J().useDeferredValue(R,W)},UV.useEffect=function(R,W){return R==null&&console.warn("React Hook useEffect requires an effect callback. Did you forget to pass a callback to the hook?"),J().useEffect(R,W)},UV.useEffectEvent=function(R){return J().useEffectEvent(R)},UV.useId=function(){return J().useId()},UV.useImperativeHandle=function(R,W,ve){return J().useImperativeHandle(R,W,ve)},UV.useInsertionEffect=function(R,W){return R==null&&console.warn("React Hook useInsertionEffect requires an effect callback. Did you forget to pass a callback to the hook?"),J().useInsertionEffect(R,W)},UV.useLayoutEffect=function(R,W){return R==null&&console.warn("React Hook useLayoutEffect requires an effect callback. Did you forget to pass a callback to the hook?"),J().useLayoutEffect(R,W)},UV.useMemo=function(R,W){return J().useMemo(R,W)},UV.useOptimistic=function(R,W){return J().useOptimistic(R,W)},UV.useReducer=function(R,W,ve){return J().useReducer(R,W,ve)},UV.useRef=function(R){return J().useRef(R)},UV.useState=function(R){return J().useState(R)},UV.useSyncExternalStore=function(R,W,ve){return J().useSyncExternalStore(R,W,ve)},UV.useTransition=function(){return J().useTransition()},UV.version="19.3.0",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()});var kN=ge(function(NV){var RR=w(Oe());(function(){function n(){}function r(v){return""+v}function a(v,I,O){var A=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;if(A==null)A=null;else if(A===y)A=y;else{try{r(A);var D=!1}catch(k){D=!0}D&&(console.error("The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",typeof Symbol==="function"&&Symbol.toStringTag&&A[Symbol.toStringTag]||A.constructor.name||"Object"),r(A)),A=""+A}return{$$typeof:b,key:A,children:v,containerInfo:I,implementation:O}}function l(v,I){if(v==="font")return"";if(typeof I==="string")return I==="use-credentials"?I:""}function f(v){return v===null?"`null`":v===void 0?"`undefined`":v===""?"an empty string":'something with type "'+typeof v+'"'}function u(v){return v===null?"`null`":v===void 0?"`undefined`":v===""?"an empty string":typeof v==="string"?JSON.stringify(v):typeof v==="number"?"`"+v+"`":'something with type "'+typeof v+'"'}function p(){var v=_.H;return v===null&&console.error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
|
|
14
|
+
1. You might have mismatching versions of React and the renderer (such as React DOM)
|
|
15
|
+
2. You might be breaking the Rules of Hooks
|
|
16
|
+
3. You might have more than one copy of React in the same app
|
|
17
|
+
See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`),v}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var h={d:{f:n,r:function(){throw Error("Invalid form element. requestFormReset must be passed a form that was rendered by React.")},D:n,C:n,L:n,m:n,X:n,S:n,M:n},p:0,findDOMNode:null},b=Symbol.for("react.portal"),x=Symbol.for("react.recoverable"),y=Symbol.for("react.optimistic_key"),_=RR.__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"),NV.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=h,NV.browser=function(v){return{$$typeof:x,_reason:v}},NV.createPortal=function(v,I){var O=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!I||I.nodeType!==1&&I.nodeType!==9&&I.nodeType!==11)throw Error("Target container is not a DOM element.");return a(v,I,null,O)},NV.flushSync=function(v){var I=_.T,O=h.p;try{if(_.T=null,h.p=2,v)return v()}finally{_.T=I,h.p=O,h.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.")}},NV.preconnect=function(v,I){typeof v==="string"&&v?I!=null&&typeof I!=="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.",u(I)):I!=null&&typeof I.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(I.crossOrigin)):console.error("ReactDOM.preconnect(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",f(v)),typeof v==="string"&&(I?(I=I.crossOrigin,I=typeof I==="string"?I==="use-credentials"?I:"":void 0):I=null,h.d.C(v,I))},NV.prefetchDNS=function(v){if(typeof v!=="string"||!v)console.error("ReactDOM.prefetchDNS(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",f(v));else if(1<arguments.length){var I=arguments[1];typeof I==="object"&&I.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`.",u(I)):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`.",u(I))}typeof v==="string"&&h.d.D(v)},NV.preinit=function(v,I){if(typeof v==="string"&&v?I==null||typeof I!=="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.",u(I)):I.as!=="style"&&I.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".',u(I.as)):console.error("ReactDOM.preinit(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",f(v)),typeof v==="string"&&I&&typeof I.as==="string"){var O=I.as,A=l(O,I.crossOrigin),D=typeof I.integrity==="string"?I.integrity:void 0,k=typeof I.fetchPriority==="string"?I.fetchPriority:void 0;O==="style"?h.d.S(v,typeof I.precedence==="string"?I.precedence:void 0,{crossOrigin:A,integrity:D,fetchPriority:k}):O==="script"&&h.d.X(v,{crossOrigin:A,integrity:D,fetchPriority:k,nonce:typeof I.nonce==="string"?I.nonce:void 0})}},NV.preinitModule=function(v,I){var O="";if(typeof v==="string"&&v||(O+=" The `href` argument encountered was "+f(v)+"."),I!==void 0&&typeof I!=="object"?O+=" The `options` argument encountered was "+f(I)+".":I&&("as"in I)&&I.as!=="script"&&(O+=" The `as` option encountered was "+u(I.as)+"."),O)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",O);else switch(O=I&&typeof I.as==="string"?I.as:"script",O){case"script":break;default:O=u(O),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)',O,v)}if(typeof v==="string")if(typeof I==="object"&&I!==null){if(I.as==null||I.as==="script")O=l(I.as,I.crossOrigin),h.d.M(v,{crossOrigin:O,integrity:typeof I.integrity==="string"?I.integrity:void 0,nonce:typeof I.nonce==="string"?I.nonce:void 0,fetchPriority:typeof I.fetchPriority==="string"?I.fetchPriority:void 0})}else I==null&&h.d.M(v)},NV.preload=function(v,I){var O="";if(typeof v==="string"&&v||(O+=" The `href` argument encountered was "+f(v)+"."),I==null||typeof I!=="object"?O+=" The `options` argument encountered was "+f(I)+".":typeof I.as==="string"&&I.as||(O+=" The `as` option encountered was "+f(I.as)+"."),O&&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',O),typeof v==="string"&&typeof I==="object"&&I!==null&&typeof I.as==="string"){O=I.as;var A=l(O,I.crossOrigin);h.d.L(v,O,{crossOrigin:A,integrity:typeof I.integrity==="string"?I.integrity:void 0,nonce:typeof I.nonce==="string"?I.nonce:void 0,type:typeof I.type==="string"?I.type:void 0,fetchPriority:typeof I.fetchPriority==="string"?I.fetchPriority:void 0,referrerPolicy:typeof I.referrerPolicy==="string"?I.referrerPolicy:void 0,imageSrcSet:typeof I.imageSrcSet==="string"?I.imageSrcSet:void 0,imageSizes:typeof I.imageSizes==="string"?I.imageSizes:void 0,media:typeof I.media==="string"?I.media:void 0})}},NV.preloadModule=function(v,I){var O="";typeof v==="string"&&v||(O+=" The `href` argument encountered was "+f(v)+"."),I!==void 0&&typeof I!=="object"?O+=" The `options` argument encountered was "+f(I)+".":I&&("as"in I)&&typeof I.as!=="string"&&(O+=" The `as` option encountered was "+f(I.as)+"."),O&&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',O),typeof v==="string"&&(I?(O=l(I.as,I.crossOrigin),h.d.m(v,{as:typeof I.as==="string"&&I.as!=="script"?I.as:void 0,crossOrigin:O,integrity:typeof I.integrity==="string"?I.integrity:void 0,nonce:typeof I.nonce==="string"?I.nonce:void 0,fetchPriority:typeof I.fetchPriority==="string"?I.fetchPriority:void 0})):h.d.m(v))},NV.requestFormReset=function(v){h.d.r(v)},NV.unstable_batchedUpdates=function(v,I){return v(I)},NV.useFormState=function(v,I,O){return p().useFormState(v,I,O)},NV.useFormStatus=function(){return p().useHostTransitionStatus()},NV.version="19.3.0",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()});var qI=ge(function(BV,XI){XI.exports=w(kN())});var PN=ge(function(LV){var Ht=w(LN()),cp=w(Oe()),OR=w(qI());(function(){function n(e,t){for(e=e.memoizedState;e!==null&&0<t;)e=e.next,t--;return e}function r(e,t,o,i){if(o>=t.length)return i;var s=t[o],c=uo(e)?e.slice():xt({},e);return c[s]=r(e[s],t,o+1,i),c}function a(e,t,o){if(t.length!==o.length)console.warn("copyWithRename() expects paths of the same length");else{for(var i=0;i<o.length-1;i++)if(t[i]!==o[i]){console.warn("copyWithRename() expects paths to be the same except for the deepest key");return}return l(e,t,o,0)}}function l(e,t,o,i){var s=t[i],c=uo(e)?e.slice():xt({},e);return i+1===t.length?(c[o[i]]=c[s],uo(c)?c.splice(s,1):delete c[s]):c[s]=l(e[s],t,o,i+1),c}function f(e,t,o){var i=t[o],s=uo(e)?e.slice():xt({},e);if(o+1===t.length)return uo(s)?s.splice(i,1):delete s[i],s;return s[i]=f(e[i],t,o+1),s}function u(){return!1}function p(){return null}function h(){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 b(){console.error("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().")}function x(){}function y(){}function _(e){var t=[];return e.forEach(function(o){t.push(o)}),t.sort().join(", ")}function v(e,t,o,i){return new PH(e,t,o,i)}function I(e,t){e.context===sc&&(P_(e.current,2,t,e,null,null),pd())}function O(e,t){if(ls!==null){var o=t.staleFamilies;t=t.updatedFamilies,Xm(),mT(e.current,t,o),pd()}}function A(e){ls=e}function D(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function k(e){for(var t=e,o=t;o&&!o.alternate;)t=o,(t.flags&4098)!==0&&(e=t.return),o=t.return;for(;t.return;)t=t.return;return t.tag===3?e:null}function z(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 M(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 V(e){if(k(e)!==e)throw Error("Unable to find node on an unmounted component.")}function G(e){var t=e.alternate;if(!t){if(t=k(e),t===null)throw Error("Unable to find node on an unmounted component.");return t!==e?null:e}for(var o=e,i=t;;){var s=o.return;if(s===null)break;var c=s.alternate;if(c===null){if(i=s.return,i!==null){o=i;continue}break}if(s.child===c.child){for(c=s.child;c;){if(c===o)return V(s),e;if(c===i)return V(s),t;c=c.sibling}throw Error("Unable to find node on an unmounted component.")}if(o.return!==i.return)o=s,i=c;else{for(var d=!1,m=s.child;m;){if(m===o){d=!0,o=s,i=c;break}if(m===i){d=!0,i=s,o=c;break}m=m.sibling}if(!d){for(m=c.child;m;){if(m===o){d=!0,o=c,i=s;break}if(m===i){d=!0,i=c,o=s;break}m=m.sibling}if(!d)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(o.alternate!==i)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(o.tag!==3)throw Error("Unable to find node on an unmounted component.");return o.stateNode.current===o?e:t}function K(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=K(e),t!==null)return t;e=e.sibling}return null}function ie(e,t,o,i,s){re(e.child,!1,t,o,i,s)}function re(e,t,o,i,s,c){for(;e!==null;){if((e.tag===5||e.tag===27||e.tag===6)&&o(e,i,s,c)||(e.tag!==22||e.memoizedState===null)&&(t||e.tag!==5&&e.tag!==27)&&re(e.child,t,o,i,s,c))return!0;e=e.sibling}return!1}function de(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 J(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 Ce(e){var t=[null,null],o=de(e);if(o===null)return t;return Q(t,e,o.child,{foundSelf:!1}),t}function Q(e,t,o,i){for(;o!==null;){if(o===t)i.foundSelf=!0;else if(o.tag===5||o.tag===27||o.tag===6){if(i.foundSelf)return e[1]=o,!0;e[0]=o}else if((o.tag!==22||o.memoizedState===null)&&Q(e,t,o.child,i))return!0;o=o.sibling}return!1}function L(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 Y(e,t,o){return e===o?!0:e===t?(vd=e,!0):!1}function P(e,t,o){return e===o?(G_=e,!1):e===t?(G_!==null&&(vd=e),!0):!1}function Z(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 ne(e,t,o){for(var i=0,s=e;s;s=o(s))i++;s=0;for(var c=t;c;c=o(c))s++;for(;0<i-s;)e=o(e),i--;for(;0<s-i;)t=o(t),s--;for(;i--;){if(e===t||t!==null&&e===t.alternate)return e;e=o(e),t=o(t)}return null}function he(e){if(e===null||typeof e!=="object")return null;return e=qD&&e[qD]||e["@@iterator"],typeof e==="function"?e:null}function le(e){if(e==null)return null;if(typeof e==="function")return e.$$typeof===Uz?null:e.displayName||e.name||null;if(typeof e==="string")return e;switch(e){case yd:return"Fragment";case X_:return"Profiler";case Dx:return"StrictMode";case $_:return"Suspense";case Y_:return"SuspenseList";case W_:return"Activity";case Z_: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 Cd:return"Portal";case _a:return e.displayName||"Context";case q_:return(e._context.displayName||"Context")+".Consumer";case Mx:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Ux:return t=e.displayName||null,t!==null?t:le(e.type)||"Memo";case zr:t=e._payload,e=e._init;try{return le(e(t))}catch(o){}}return null}function Me(e){return typeof e.tag==="number"?B(e):typeof e.name==="string"?e.name:null}function B(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 le(t);case 8:return t===Dx?"StrictMode":"Mode";case 22:if(e.return!==null)return B(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 o=t.length-1;0<=o;o--)if(typeof t[o].name==="string")return t[o].name}if(e.return!==null)return B(e.return)}return null}function ce(e){return{current:e}}function fe(e,t){0>os?console.error("Unexpected pop."):(t!==J_[os]&&console.error("Unexpected Fiber popped."),e.current=K_[os],K_[os]=null,J_[os]=null,os--)}function se(e,t,o){os++,K_[os]=e.current,J_[os]=o,e.current=t}function be(e){return e===null&&console.error("Expected host context to exist. This error is likely caused by a bug in React. Please file an issue."),e}function De(e,t){se(nc,t,e),se(oh,e,e),se(tc,null,e);var o=t.nodeType;switch(o){case 9:case 11:o=o===9?"#document":"#fragment",t=(t=t.documentElement)?(t=t.namespaceURI)?tD(t):bs:bs;break;default:if(o=t.tagName,t=t.namespaceURI)t=tD(t),t=nD(t,o);else switch(o){case"svg":t=rp;break;case"math":t=kI;break;default:t=bs}}o=o.toLowerCase(),o=kA(null,o),o={context:t,ancestorInfo:o},fe(tc,e),se(tc,o,e)}function we(e){fe(tc,e),fe(oh,e),fe(nc,e)}function Ze(){return be(tc.current)}function ct(e){var t=e.memoizedState;t!==null&&(ap._currentValue=t.memoizedState,se(Nx,e,e)),t=be(tc.current);var o=e.type,i=nD(t.context,o);o=kA(t.ancestorInfo,o),i={context:i,ancestorInfo:o},t!==i&&(se(oh,e,e),se(tc,i,e))}function Tt(e){oh.current===e&&(fe(tc,e),fe(oh,e)),Nx.current===e&&(fe(Nx,e),ap._currentValue=ou)}function yt(){}function Re(){if(rh===0){$D=console.log,YD=console.info,WD=console.warn,ZD=console.error,KD=console.group,JD=console.groupCollapsed,QD=console.groupEnd;var e={configurable:!0,enumerable:!0,value:yt,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}rh++}function Ue(){if(rh--,rh===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:xt({},e,{value:$D}),info:xt({},e,{value:YD}),warn:xt({},e,{value:WD}),error:xt({},e,{value:ZD}),group:xt({},e,{value:KD}),groupCollapsed:xt({},e,{value:JD}),groupEnd:xt({},e,{value:QD})})}0>rh&&console.error("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}function tt(e){var t=Error.prepareStackTrace;if(Error.prepareStackTrace=void 0,e=e.stack,Error.prepareStackTrace=t,e.startsWith(`Error: react-stack-top-frame
|
|
18
|
+
`)&&(e=e.slice(29)),t=e.indexOf(`
|
|
19
|
+
`),t!==-1&&(e=e.slice(t+1)),t=e.indexOf("react_stack_bottom_frame"),t!==-1&&(t=e.lastIndexOf(`
|
|
20
|
+
`,t)),t!==-1)e=e.slice(0,t);else return"";return e}function ke(e){if(Q_===void 0)try{throw Error()}catch(o){var t=o.stack.trim().match(/\n( *(at )?)/);Q_=t&&t[1]||"",eM=-1<o.stack.indexOf(`
|
|
21
|
+
at`)?" (<anonymous>)":-1<o.stack.indexOf("@")?"@unknown:0:0":""}return`
|
|
22
|
+
`+Q_+e+eM}function Dt(e,t){if(!e||e0)return"";var o=t0.get(e);if(o!==void 0)return o;e0=!0,o=Error.prepareStackTrace,Error.prepareStackTrace=void 0;var i=null;i=oe.H,oe.H=null,Re();try{var s={DetermineComponentFrameRoot:function(){try{if(t){var j=function(){throw Error()};if(Object.defineProperty(j.prototype,"props",{set:function(){throw Error()}}),typeof Reflect==="object"&&Reflect.construct){try{Reflect.construct(j,[])}catch(Ne){var q=Ne}Reflect.construct(e,[],j)}else{try{j.call()}catch(Ne){q=Ne}j=!1;try{var pe=Object.getOwnPropertyDescriptor(e.prototype,"props");Object.defineProperty(e.prototype,"props",{configurable:!0,set:function(){throw Error()}}),j=!0,new e}finally{j&&(pe!==void 0?Object.defineProperty(e.prototype,"props",pe):delete e.prototype.props)}}}else{try{throw Error()}catch(Ne){q=Ne}(j=e())&&typeof j.catch==="function"&&j.catch(function(){})}}catch(Ne){if(Ne&&q&&typeof Ne.stack==="string")return[Ne.stack,q.stack]}return[null,null]}};s.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var c=Object.getOwnPropertyDescriptor(s.DetermineComponentFrameRoot,"name");c&&c.configurable&&Object.defineProperty(s.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var d=s.DetermineComponentFrameRoot(),m=d[0],g=d[1];if(m&&g){var C=m.split(`
|
|
23
|
+
`),T=g.split(`
|
|
24
|
+
`);for(d=c=0;c<C.length&&!C[c].includes("DetermineComponentFrameRoot");)c++;for(;d<T.length&&!T[d].includes("DetermineComponentFrameRoot");)d++;if(c===C.length||d===T.length)for(c=C.length-1,d=T.length-1;1<=c&&0<=d&&C[c]!==T[d];)d--;for(;1<=c&&0<=d;c--,d--)if(C[c]!==T[d]){if(c!==1||d!==1)do if(c--,d--,0>d||C[c]!==T[d]){var F=`
|
|
25
|
+
`+C[c].replace(" at new "," at ");return e.displayName&&F.includes("<anonymous>")&&(F=F.replace("<anonymous>",e.displayName)),typeof e==="function"&&t0.set(e,F),F}while(1<=c&&0<=d);break}}}finally{e0=!1,oe.H=i,Ue(),Error.prepareStackTrace=o}return C=(C=e?e.displayName||e.name:"")?ke(C):"",typeof e==="function"&&t0.set(e,C),C}function pt(e,t){switch(e.tag){case 26:case 27:case 5:return ke(e.type);case 16:return ke("Lazy");case 13:return e.child!==t&&t!==null?ke("Suspense Fallback"):ke("Suspense");case 19:return ke("SuspenseList");case 0:case 15:return Dt(e.type,!1);case 11:return Dt(e.type.render,!1);case 1:return Dt(e.type,!0);case 31:return ke("Activity");case 30:return ke("ViewTransition");default:return""}}function Ke(e){try{var t="",o=null;do{t+=pt(e,o);var i=e._debugInfo;if(i)for(var s=i.length-1;0<=s;s--){var c=i[s];if(typeof c.name==="string"){var d=t;e:{var{name:m,env:g,debugLocation:C}=c;if(C!=null){var T=tt(C),F=T.lastIndexOf(`
|
|
26
|
+
`),j=F===-1?T:T.slice(F+1);if(j.indexOf(m)!==-1){var q=`
|
|
27
|
+
`+j;break e}}q=ke(m+(g?" ["+g+"]":""))}t=d+q}}o=e,e=e.return}while(e);return t}catch(pe){return`
|
|
28
|
+
Error generating stack: `+pe.message+`
|
|
29
|
+
`+pe.stack}}function Zt(e){return(e=e?e.displayName||e.name:"")?ke(e):""}function Mt(){if(gi===null)return null;var e=gi._debugOwner;return e!=null?Me(e):null}function Be(){if(gi===null)return"";var e=gi;try{var t="";switch(e.tag===6&&(e=e.return),e.tag){case 26:case 27:case 5:t+=ke(e.type);break;case 13:t+=ke("Suspense");break;case 19:t+=ke("SuspenseList");break;case 31:t+=ke("Activity");break;case 30:t+=ke("ViewTransition");break;case 0:case 15:case 1:e._debugOwner||t!==""||(t+=Zt(e.type));break;case 11:e._debugOwner||t!==""||(t+=Zt(e.type.render))}for(;e;)if(typeof e.tag==="number"){var o=e;e=o._debugOwner;var i=o._debugStack;if(e&&i){var s=tt(i);s!==""&&(t+=`
|
|
30
|
+
`+s)}}else if(e.debugStack!=null){var c=e.debugStack;(e=e.owner)&&c&&(t+=`
|
|
31
|
+
`+tt(c))}else break;var d=t}catch(m){d=`
|
|
32
|
+
Error generating stack: `+m.message+`
|
|
33
|
+
`+m.stack}return d}function xe(e,t,o,i,s,c,d){var m=gi;vn(e);try{return e!==null&&e._debugTask?e._debugTask.run(t.bind(null,o,i,s,c,d)):t(o,i,s,c,d)}finally{vn(m)}throw Error("runWithFiberInDEV should never be called in production. This is a bug in React.")}function vn(e){oe.getCurrentStack=e===null?null:Be,bl=!1,gi=e}function Pe(e){return typeof Symbol==="function"&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object"}function et(e){try{return Te(e),!1}catch(t){return!0}}function Te(e){return""+e}function Ve(e,t){if(et(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,Pe(e)),Te(e)}function Ye(e,t){if(et(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,Pe(e)),Te(e)}function Nn(e){if(et(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.",Pe(e)),Te(e)}function Yn(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{_d=t.inject(e),or=t}catch(o){console.error("React instrumentation encountered an error: %o.",o)}return t.checkDCE?!0:!1}function $t(e){if(typeof Fz==="function"&&Hz(e),or&&typeof or.setStrictMode==="function")try{or.setStrictMode(_d,e)}catch(t){xl||(xl=!0,console.error("React instrumentation encountered an error: %o",t))}}function $l(e){return e>>>=0,e===0?32:31-(zz(e)/Vz|0)|0}function Jo(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 We(e,t,o){var i=e.pendingLanes;if(i===0)return 0;var s=0,c=e.suspendedLanes,d=e.pingedLanes;e=e.warmLanes;var m=i&134217727;return m!==0?(i=m&~c,i!==0?s=Jo(i):(d&=m,d!==0?s=Jo(d):o||(o=m&~e,o!==0&&(s=Jo(o))))):(m=i&~c,m!==0?s=Jo(m):d!==0?s=Jo(d):o||(o=i&~e,o!==0&&(s=Jo(o)))),s===0?0:t!==0&&t!==s&&(t&c)===0&&(c=s&-s,o=t&-t,c>=o||c===32&&(o&4194048)!==0)?t:s}function kt(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function Bn(e,t){(t&8)!==0&&(t|=t&32);var o=e.entangledLanes;if(o!==0)for(e=e.entanglements,o&=t;0<o;){var i=31-Ar(o),s=1<<i;t|=e[i],o&=~s}return t}function _o(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 Qo(){var e=kx;return kx<<=1,(kx&62914560)===0&&(kx=4194304),e}function R(e){for(var t=[],o=0;31>o;o++)t.push(e);return t}function W(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function ve(e,t,o,i,s,c){var d=e.pendingLanes;e.pendingLanes=o,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=o,e.entangledLanes&=o,e.errorRecoveryDisabledLanes&=o,e.shellSuspendCounter=0;var{entanglements:m,expirationTimes:g,hiddenUpdates:C}=e;for(o=d&~o;0<o;){var T=31-Ar(o),F=1<<T;m[T]=0,g[T]=-1;var j=C[T];if(j!==null)for(C[T]=null,T=0;T<j.length;T++){var q=j[T];q!==null&&(q.lane&=-536870913)}o&=~F}i!==0&&Se(e,i,0),c!==0&&s===0&&e.tag!==0&&(e.suspendedLanes|=c&~(d&~t))}function Se(e,t,o){e.pendingLanes|=t,e.suspendedLanes&=~t;var i=31-Ar(t);e.entangledLanes|=t,e.entanglements[i]=e.entanglements[i]|1073741824|o&261930}function ue(e,t){var o=e.entangledLanes|=t;for(e=e.entanglements;o;){var i=31-Ar(o),s=1<<i;s&t|e[i]&t&&(e[i]|=t),o&=~s}}function Je(e,t){var o=t&-t;return o=(o&42)!==0?1:je(o),(o&(e.suspendedLanes|t))!==0?0:o}function je(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 nt(e,t,o){if(Il)for(e=e.pendingUpdatersLaneMap;0<o;){var i=31-Ar(o),s=1<<i;e[i].add(t),o&=~s}}function Ut(e,t){if(Il)for(var o=e.pendingUpdatersLaneMap,i=e.memoizedUpdaters;0<t;){var s=31-Ar(t);e=1<<s,s=o[s],0<s.size&&(s.forEach(function(c){var d=c.alternate;d!==null&&i.has(d)||i.add(c)}),s.clear()),t&=~e}}function er(e){return e&=-e,Tr!==0&&Tr<e?Ra!==0&&Ra<e?(e&134217727)!==0?vl:Px:Ra:Tr}function Fr(){var e=Wt.p;if(e!==0)return e;return e=window.event,e===void 0?vl:jD(e.type)}function js(e,t){var o=Wt.p;try{return Wt.p=e,t()}finally{Wt.p=o}}function Yu(e){delete e[jo],delete e[Er],delete e[Gz],delete e[Xz]}function hf(e){var t;if(t=e[jo])return t;for(var o=e.parentNode;o;){if(t=o[oc]||o[jo]){if(o=t.alternate,t.child!==null||o!==null&&o.child!==null)for(e=CD(e);e!==null;){if(o=e[jo])return o;e=CD(e)}return t}e=o,o=e.parentNode}return null}function el(e){if(e=e[jo]||e[oc]){var t=e.tag;if(t===5||t===6||t===13||t===31||t===26||t===27||t===3)return e}return null}function vm(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e.stateNode;throw Error("getNodeFromInstance: Invalid argument.")}function Wu(e){var t=e[nM];return t||(t=e[nM]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function Ro(e){e[ih]=!0}function vA(e){e[jx]=void 0}function gf(e,t){Zu(e,t),Zu(e+"Capture",t)}function Zu(e,t){Uf[e]&&console.error("EventRegistry: More than one plugin attempted to publish the same registration name, `%s`.",e),Uf[e]=t;var o=e.toLowerCase();a0[o]=e,e==="onDoubleClick"&&(a0.ondblclick=e);for(e=0;e<t.length;e++)oM.add(t[e])}function Ku(e,t){qz[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 Cy(e){if(zi.call(iM,e))return!0;if(zi.call(rM,e))return!1;if($z.test(e))return iM[e]=!0;return rM[e]=!0,console.error("Invalid attribute name: `%s`",e),!1}function CA(){var e=qt;return qt=!1,e}function yA(e,t,o){if(Cy(t)){if(!e.hasAttribute(t)){switch(typeof o){case"symbol":case"object":return o;case"function":return o;case"boolean":if(o===!1)return o}return o===void 0?void 0:null}if(e=t.toLowerCase()==="nonce"?e.nonce:e.getAttribute(t),e===""&&o===!0)return!0;return Ve(o,t),e===""+o?o:e}}function xb(e,t,o){if(Cy(t))if(o===null)e.removeAttribute(t);else{switch(typeof o){case"undefined":case"function":case"symbol":e.removeAttribute(t);return;case"boolean":var i=t.toLowerCase().slice(0,5);if(i!=="data-"&&i!=="aria-"){e.removeAttribute(t);return}}Ve(o,t),e.setAttribute(t,o)}}function Ib(e,t,o){if(o===null)e.removeAttribute(t);else{switch(typeof o){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(t);return}Ve(o,t),e.setAttribute(t,o)}}function Yl(e,t,o,i){if(i===null)e.removeAttribute(o);else{switch(typeof i){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(o);return}Ve(i,o),e.setAttributeNS(t,o,i)}}function li(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":return e;case"object":return Nn(e),e;default:return""}}function SA(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function bH(e,t,o){var i=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);if(!e.hasOwnProperty(t)&&typeof i<"u"&&typeof i.get==="function"&&typeof i.set==="function"){var{get:s,set:c}=i;return Object.defineProperty(e,t,{configurable:!0,get:function(){return s.call(this)},set:function(d){Nn(d),o=""+d,c.call(this,d)}}),Object.defineProperty(e,t,{enumerable:i.enumerable}),{getValue:function(){return o},setValue:function(d){Nn(d),o=""+d},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function yy(e){if(!e._valueTracker){var t=SA(e)?"checked":"value";e._valueTracker=bH(e,t,""+e[t])}}function _A(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var o=t.getValue(),i="";return e&&(i=SA(e)?e.checked?"true":"false":e.value),e=i,e!==o?(t.setValue(e),!0):!1}function Pi(e){return e.replace(Yz,function(t){return"\\"+t.charCodeAt(0).toString(16)+" "})}function RA(e,t){t.checked===void 0||t.defaultChecked===void 0||lM||(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",Mt()||"A component",t.type),lM=!0),t.value===void 0||t.defaultValue===void 0||aM||(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",Mt()||"A component",t.type),aM=!0)}function Sy(e,t,o,i,s,c,d,m){if(e.name="",d!=null&&typeof d!=="function"&&typeof d!=="symbol"&&typeof d!=="boolean"?(Ve(d,"type"),e.type=d):e.removeAttribute("type"),t!=null)if(d==="number"){if(t===0&&e.value===""||e.value!=t)e.value=""+li(t)}else e.value!==""+li(t)&&(e.value=""+li(t));else d!=="submit"&&d!=="reset"||e.removeAttribute("value");t!=null?d==="number"&&e.value==t?_y(e,li(e.value)):_y(e,li(t)):o!=null?_y(e,li(o)):i!=null&&e.removeAttribute("value"),s==null&&c!=null&&(e.defaultChecked=!!c),s!=null&&(e.checked=s&&typeof s!=="function"&&typeof s!=="symbol"),m!=null&&typeof m!=="function"&&typeof m!=="symbol"&&typeof m!=="boolean"?(Ve(m,"name"),e.name=""+li(m)):e.removeAttribute("name")}function OA(e,t,o,i,s,c,d,m){if(c!=null&&typeof c!=="function"&&typeof c!=="symbol"&&typeof c!=="boolean"&&(Ve(c,"type"),e.type=c),t!=null||o!=null){if(!(c!=="submit"&&c!=="reset"||t!==void 0&&t!==null)){yy(e);return}o=o!=null?""+li(o):"",t=t!=null?""+li(t):o,m||t===e.value||(e.value=t),e.defaultValue=t}i=i!=null?i:s,i=typeof i!=="function"&&typeof i!=="symbol"&&!!i,e.checked=m?e.checked:!!i,e.defaultChecked=!!i,d!=null&&typeof d!=="function"&&typeof d!=="symbol"&&typeof d!=="boolean"&&(Ve(d,"name"),e.name=d),yy(e)}function _y(e,t){e.defaultValue!==""+t&&(e.defaultValue=""+t)}function wA(e,t){t.value==null&&(typeof t.children==="object"&&t.children!==null?cp.Children.forEach(t.children,function(o){o==null||typeof o==="string"||typeof o==="number"||typeof o==="bigint"||cM||(cM=!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||fM||(fM=!0,console.error("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected."))),t.selected==null||sM||(console.error("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),sM=!0)}function AA(){var e=Mt();return e?`
|
|
34
|
+
|
|
35
|
+
Check the render method of \``+e+"`.":""}function Ju(e,t,o,i){if(e=e.options,t){t={};for(var s=0;s<o.length;s++)t["$"+o[s]]=!0;for(o=0;o<e.length;o++)s=t.hasOwnProperty("$"+e[o].value),e[o].selected!==s&&(e[o].selected=s),s&&i&&(e[o].defaultSelected=!0)}else{o=""+li(o),t=null;for(s=0;s<e.length;s++){if(e[s].value===o){e[s].selected=!0,i&&(e[s].defaultSelected=!0);return}t!==null||e[s].disabled||(t=e[s])}t!==null&&(t.selected=!0)}}function TA(e,t){for(e=0;e<dM.length;e++){var o=dM[e];if(t[o]!=null){var i=uo(t[o]);t.multiple&&!i?console.error("The `%s` prop supplied to <select> must be an array if `multiple` is true.%s",o,AA()):!t.multiple&&i&&console.error("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.%s",o,AA())}}t.value===void 0||t.defaultValue===void 0||uM||(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"),uM=!0)}function EA(e,t){t.value===void 0||t.defaultValue===void 0||pM||(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",Mt()||"A component"),pM=!0),t.children!=null&&t.value==null&&console.error("Use the `defaultValue` or `value` props instead of setting children on <textarea>.")}function DA(e,t,o){if(t!=null&&(t=""+li(t),t!==e.value&&(e.value=t),o==null)){e.defaultValue!==t&&(e.defaultValue=t);return}e.defaultValue=o!=null?""+li(o):""}function MA(e,t,o,i){if(t==null){if(i!=null){if(o!=null)throw Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(uo(i)){if(1<i.length)throw Error("<textarea> can only have at most one child.");i=i[0]}o=i}o==null&&(o=""),t=o}o=li(t),e.defaultValue=o,i=e.textContent,i===o&&i!==""&&i!==null&&(e.value=i),yy(e)}function UA(e,t){return e.serverProps===void 0&&e.serverTail.length===0&&e.children.length===1&&3<e.distanceFromLeaf&&e.distanceFromLeaf>15-t?UA(e.children[0],t):e}function si(e){return" "+" ".repeat(e)}function Qu(e){return"+ "+" ".repeat(e)}function bf(e){return"- "+" ".repeat(e)}function NA(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 Cm(e,t){return mM.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 vb(e,t,o){var i=120-2*o;if(t===null)return Qu(o)+Cm(e,i)+`
|
|
36
|
+
`;if(typeof t==="string"){for(var s=0;s<t.length&&s<e.length&&t.charCodeAt(s)===e.charCodeAt(s);s++);return s>i-8&&10<s&&(e="..."+e.slice(s-8),t="..."+t.slice(s-8)),Qu(o)+Cm(e,i)+`
|
|
37
|
+
`+bf(o)+Cm(t,i)+`
|
|
38
|
+
`}return si(o)+Cm(e,i)+`
|
|
39
|
+
`}function Ry(e){return Object.prototype.toString.call(e).replace(/^\[object (.*)\]$/,function(t,o){return o})}function ym(e,t){switch(typeof e){case"string":return e=JSON.stringify(e),e.length>t?5>t?'"..."':e.slice(0,t-4)+'..."':e;case"object":if(e===null)return"null";if(uo(e))return"[...]";if(e.$$typeof===gl)return(t=le(e.type))?"<"+t+">":"<...>";var o=Ry(e);if(o==="Object"){o="",t-=2;for(var i in e)if(e.hasOwnProperty(i)){var s=JSON.stringify(i);if(s!=='"'+i+'"'&&(i=s),t-=i.length-2,s=ym(e[i],15>t?t:15),t-=s.length,0>t){o+=o===""?"...":", ...";break}o+=(o===""?"":",")+i+":"+s}return"{"+o+"}"}return o;case"function":return(t=e.displayName||e.name)?"function "+t:"function";default:return String(e)}}function ed(e,t){return typeof e!=="string"||mM.test(e)?"{"+ym(e,t-2)+"}":e.length>t-2?5>t?'"..."':'"'+e.slice(0,t-5)+'..."':'"'+e+'"'}function Oy(e,t,o){var i=120-o.length-e.length,s=[],c;for(c in t)if(t.hasOwnProperty(c)&&c!=="children"){var d=ed(t[c],120-o.length-c.length-1);i-=c.length+d.length+2,s.push(c+"="+d)}return s.length===0?o+"<"+e+`>
|
|
40
|
+
`:0<i?o+"<"+e+" "+s.join(" ")+`>
|
|
41
|
+
`:o+"<"+e+`
|
|
42
|
+
`+o+" "+s.join(`
|
|
43
|
+
`+o+" ")+`
|
|
44
|
+
`+o+`>
|
|
45
|
+
`}function xH(e,t,o){var i="",s=xt({},t),c;for(c in e)if(e.hasOwnProperty(c)){delete s[c];var d=120-2*o-c.length-2,m=ym(e[c],d);t.hasOwnProperty(c)?(d=ym(t[c],d),i+=Qu(o)+c+": "+m+`
|
|
46
|
+
`,i+=bf(o)+c+": "+d+`
|
|
47
|
+
`):i+=Qu(o)+c+": "+m+`
|
|
48
|
+
`}for(var g in s)s.hasOwnProperty(g)&&(e=ym(s[g],120-2*o-g.length-2),i+=bf(o)+g+": "+e+`
|
|
49
|
+
`);return i}function IH(e,t,o,i){var s="",c=new Map;for(C in o)o.hasOwnProperty(C)&&c.set(C.toLowerCase(),C);if(c.size===1&&c.has("children"))s+=Oy(e,t,si(i));else{for(var d in t)if(t.hasOwnProperty(d)&&d!=="children"){var m=120-2*(i+1)-d.length-1,g=c.get(d.toLowerCase());if(g!==void 0){c.delete(d.toLowerCase());var C=t[d];g=o[g];var T=ed(C,m);m=ed(g,m),typeof C==="object"&&C!==null&&typeof g==="object"&&g!==null&&Ry(C)==="Object"&&Ry(g)==="Object"&&(2<Object.keys(C).length||2<Object.keys(g).length||-1<T.indexOf("...")||-1<m.indexOf("..."))?s+=si(i+1)+d+`={{
|
|
50
|
+
`+xH(C,g,i+2)+si(i+1)+`}}
|
|
51
|
+
`:(s+=Qu(i+1)+d+"="+T+`
|
|
52
|
+
`,s+=bf(i+1)+d+"="+m+`
|
|
53
|
+
`)}else s+=si(i+1)+d+"="+ed(t[d],m)+`
|
|
54
|
+
`}c.forEach(function(F){if(F!=="children"){var j=120-2*(i+1)-F.length-1;s+=bf(i+1)+F+"="+ed(o[F],j)+`
|
|
55
|
+
`}}),s=s===""?si(i)+"<"+e+`>
|
|
56
|
+
`:si(i)+"<"+e+`
|
|
57
|
+
`+s+si(i)+`>
|
|
58
|
+
`}if(e=o.children,t=t.children,typeof e==="string"||typeof e==="number"||typeof e==="bigint"){if(c="",typeof t==="string"||typeof t==="number"||typeof t==="bigint")c=""+t;s+=vb(c,""+e,i+1)}else if(typeof t==="string"||typeof t==="number"||typeof t==="bigint")s=e==null?s+vb(""+t,null,i+1):s+vb(""+t,void 0,i+1);return s}function BA(e,t){var o=NA(e);if(o===null){o="";for(e=e.child;e;)o+=BA(e,t),e=e.sibling;return o}return si(t)+"<"+o+`>
|
|
59
|
+
`}function wy(e,t){var o=UA(e,t);if(o!==e&&(e.children.length!==1||e.children[0]!==o))return si(t)+`...
|
|
60
|
+
`+wy(o,t+1);o="";var i=e.fiber._debugInfo;if(i)for(var s=0;s<i.length;s++){var c=i[s].name;typeof c==="string"&&(o+=si(t)+"<"+c+`>
|
|
61
|
+
`,t++)}if(i="",s=e.fiber.pendingProps,e.fiber.tag===6)i=vb(s,e.serverProps,t),t++;else if(c=NA(e.fiber),c!==null)if(e.serverProps===void 0){i=t;var d=120-2*i-c.length-2,m="";for(C in s)if(s.hasOwnProperty(C)&&C!=="children"){var g=ed(s[C],15);if(d-=C.length+g.length+2,0>d){m+=" ...";break}m+=" "+C+"="+g}i=si(i)+"<"+c+m+`>
|
|
62
|
+
`,t++}else e.serverProps===null?(i=Oy(c,s,Qu(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."):(i=IH(c,s,e.serverProps,t),t++);var C="";s=e.fiber.child;for(c=0;s&&c<e.children.length;)d=e.children[c],d.fiber===s?(C+=wy(d,t),c++):C+=BA(s,t),s=s.sibling;s&&0<e.children.length&&(C+=si(t)+`...
|
|
63
|
+
`),s=e.serverTail,e.serverProps===null&&t--;for(e=0;e<s.length;e++)c=s[e],C=typeof c==="string"?C+(bf(t)+Cm(c,120-2*t)+`
|
|
64
|
+
`):C+Oy(c.type,c.props,bf(t));return o+i+C}function Ay(e){try{return`
|
|
65
|
+
|
|
66
|
+
`+wy(e,0)}catch(t){return""}}function LA(e,t,o){for(var i=t,s=null,c=0;i;)i===e&&(c=0),s={fiber:i,children:s!==null?[s]:[],serverProps:i===t?o:i===e?null:void 0,serverTail:[],distanceFromLeaf:c},c++,i=i.return;return s!==null?Ay(s).replaceAll(/^[+-]/gm,">"):""}function kA(e,t){var o=xt({},e||gM),i={tag:t};if(hM.indexOf(t)!==-1&&(o.aTagInScope=null,o.buttonTagInScope=null,o.nobrTagInScope=null),Zz.indexOf(t)!==-1&&(o.pTagInButtonScope=null),Wz.indexOf(t)!==-1&&t!=="address"&&t!=="div"&&t!=="p"&&(o.listItemTagAutoclosing=null,o.dlItemTagAutoclosing=null),o.current=i,t==="form"&&(o.formTag=i),t==="a"&&(o.aTagInScope=i),t==="button"&&(o.buttonTagInScope=i),t==="nobr"&&(o.nobrTagInScope=i),t==="p"&&(o.pTagInButtonScope=i),t==="li"&&(o.listItemTagAutoclosing=i),t==="dd"||t==="dt")o.dlItemTagAutoclosing=i;return t==="#document"||t==="html"?o.containerTagInScope=null:o.containerTagInScope||(o.containerTagInScope=i),e!==null||t!=="#document"&&t!=="html"&&t!=="body"?o.implicitRootScope===!0&&(o.implicitRootScope=!1):o.implicitRootScope=!0,o}function PA(e,t,o){switch(t){case"tr":return e==="th"||e==="td"||e==="style"||e==="script"||e==="template";case"tbody":case"thead":case"tfoot":return e==="tr"||e==="style"||e==="script"||e==="template";case"colgroup":return e==="col"||e==="template";case"table":return e==="caption"||e==="colgroup"||e==="tbody"||e==="tfoot"||e==="thead"||e==="style"||e==="script"||e==="template";case"head":return e==="base"||e==="basefont"||e==="bgsound"||e==="link"||e==="meta"||e==="title"||e==="noscript"||e==="noframes"||e==="style"||e==="script"||e==="template";case"html":if(o)break;return e==="head"||e==="body"||e==="frameset";case"frameset":return e==="frame";case"#document":if(!o)return e==="html"}switch(e){case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return t!=="h1"&&t!=="h2"&&t!=="h3"&&t!=="h4"&&t!=="h5"&&t!=="h6";case"rp":case"rt":return Kz.indexOf(t)===-1;case"caption":case"col":case"colgroup":case"input":return t!=="select";case"frameset":case"frame":case"tbody":case"td":case"tfoot":case"th":case"thead":case"tr":return t==null;case"head":return o||t===null;case"html":return o&&t==="#document"||t===null;case"body":return o&&(t==="#document"||t==="html")||t===null}return!0}function vH(e,t){switch(e){case"address":case"article":case"aside":case"blockquote":case"center":case"details":case"dialog":case"dir":case"div":case"dl":case"fieldset":case"figcaption":case"figure":case"footer":case"header":case"hgroup":case"main":case"menu":case"nav":case"ol":case"p":case"section":case"summary":case"ul":case"pre":case"listing":case"table":case"hr":case"xmp":case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return t.pTagInButtonScope;case"form":return t.formTag||t.pTagInButtonScope;case"li":return t.listItemTagAutoclosing;case"dd":case"dt":return t.dlItemTagAutoclosing;case"button":return t.buttonTagInScope;case"a":return t.aTagInScope;case"nobr":return t.nobrTagInScope}return null}function jA(e,t){for(;e;){switch(e.tag){case 5:case 26:case 27:if(e.type===t)return e}e=e.return}return null}function Ty(e,t){t=t||gM;var o=t.current;if(t=(o=PA(e,o&&o.tag,t.implicitRootScope)?null:o)?null:vH(e,t),t=o||t,!t)return!0;var i=t.tag;if(t=String(!!o)+"|"+e+"|"+i,Fx[t])return!1;Fx[t]=!0;var s=(t=gi)?jA(t.return,i):null,c=t!==null&&s!==null?LA(s,t,null):"",d="<"+e+">";return o?(o="",i==="table"&&e==="tr"&&(o+=" Add a <tbody>, <thead> or <tfoot> to your code to match the DOM tree generated by the browser."),console.error(`In HTML, %s cannot be a child of <%s>.%s
|
|
67
|
+
This will cause a hydration error.%s`,d,i,o,c)):console.error(`In HTML, %s cannot be a descendant of <%s>.
|
|
68
|
+
This will cause a hydration error.%s`,d,i,c),t&&(e=t.return,s===null||e===null||s===e&&e._debugOwner===t._debugOwner||xe(s,function(){console.error(`<%s> cannot contain a nested %s.
|
|
69
|
+
See this log for the ancestor stack trace.`,i,d)})),!1}function Cb(e,t,o){if(o||PA("#text",t,!1))return!0;if(o="#text|"+t,Fx[o])return!1;Fx[o]=!0;var i=(o=gi)?jA(o,t):null;return o=o!==null&&i!==null?LA(i,o,o.tag!==6?{children:null}:null):"",/\S/.test(e)?console.error(`In HTML, text nodes cannot be a child of <%s>.
|
|
70
|
+
This will cause a hydration error.%s`,t,o):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,o),!1}function Sm(e,t){if(t){var o=e.firstChild;if(o&&o===e.lastChild&&o.nodeType===3){o.nodeValue=t;return}}e.textContent=t}function CH(e){return e.replace(e9,function(t,o){return o.toUpperCase()})}function FA(e,t,o){var i=t.indexOf("--")===0;i||(-1<t.indexOf("-")?Rd.hasOwnProperty(t)&&Rd[t]||(Rd[t]=!0,console.error("Unsupported style property %s. Did you mean %s?",t,CH(t.replace(Qz,"ms-")))):Jz.test(t)?Rd.hasOwnProperty(t)&&Rd[t]||(Rd[t]=!0,console.error("Unsupported vendor-prefixed style property %s. Did you mean %s?",t,t.charAt(0).toUpperCase()+t.slice(1))):!IM.test(o)||s0.hasOwnProperty(o)&&s0[o]||(s0[o]=!0,console.error(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,t,o.replace(IM,""))),typeof o==="number"&&(isNaN(o)?vM||(vM=!0,console.error("`NaN` is an invalid value for the `%s` css style property.",t)):isFinite(o)||CM||(CM=!0,console.error("`Infinity` is an invalid value for the `%s` css style property.",t)))),o==null||typeof o==="boolean"||o===""?i?e.setProperty(t,""):t==="float"?e.cssFloat="":e[t]="":i?e.setProperty(t,o):typeof o!=="number"||o===0||yM.has(t)?t==="float"?e.cssFloat=o:(Ye(o,t),e[t]=(""+o).trim()):e[t]=o+"px"}function HA(e,t,o){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,o!=null){if(t){var i={};if(o){for(var s in o)if(o.hasOwnProperty(s)&&!t.hasOwnProperty(s))for(var c=l0[s]||[s],d=0;d<c.length;d++)i[c[d]]=s}for(var m in t)if(t.hasOwnProperty(m)&&(!o||o[m]!==t[m]))for(s=l0[m]||[m],c=0;c<s.length;c++)i[s[c]]=m;m={};for(var g in t)for(s=l0[g]||[g],c=0;c<s.length;c++)m[s[c]]=g;g={};for(var C in i)if(s=i[C],(c=m[C])&&s!==c&&(d=s+","+c,!g[d])){g[d]=!0,d=console;var T=t[s];d.error.call(d,"%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.",T==null||typeof T==="boolean"||T===""?"Removing":"Updating",s,c)}}for(var F in o)!o.hasOwnProperty(F)||t!=null&&t.hasOwnProperty(F)||(F.indexOf("--")===0?e.setProperty(F,""):F==="float"?e.cssFloat="":e[F]="",qt=!0);for(var j in t)C=t[j],t.hasOwnProperty(j)&&o[j]!==C&&(FA(e,j,C),qt=!0)}else for(i in t)t.hasOwnProperty(i)&&FA(e,i,t[i])}function _m(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 zA(e){return t9.get(e)||e}function yH(e,t){if(zi.call(wd,t)&&wd[t])return!0;if(o9.test(t)){if(e="aria-"+t.slice(4).toLowerCase(),e=SM.hasOwnProperty(e)?e:null,e==null)return console.error("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",t),wd[t]=!0;if(t!==e)return console.error("Invalid ARIA attribute `%s`. Did you mean `%s`?",t,e),wd[t]=!0}if(n9.test(t)){if(e=t.toLowerCase(),e=SM.hasOwnProperty(e)?e:null,e==null)return wd[t]=!0,!1;t!==e&&(console.error("Unknown ARIA attribute `%s`. Did you mean `%s`?",t,e),wd[t]=!0)}return!0}function SH(e,t){var o=[],i;for(i in t)yH(e,i)||o.push(i);t=o.map(function(s){return"`"+s+"`"}).join(", "),o.length===1?console.error("Invalid aria prop %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props",t,e):1<o.length&&console.error("Invalid aria props %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props",t,e)}function _H(e,t,o,i){if(zi.call(Dr,t)&&Dr[t])return!0;var s=t.toLowerCase();if(s==="onfocusin"||s==="onfocusout")return console.error("React uses onFocus and onBlur instead of onFocusIn and onFocusOut. All React events are normalized to bubble, so onFocusIn and onFocusOut are not needed/supported by React."),Dr[t]=!0;if(typeof o==="function"&&(e==="form"&&t==="action"||e==="input"&&t==="formAction"||e==="button"&&t==="formAction"))return!0;if(i!=null){if(e=i.possibleRegistrationNames,i.registrationNameDependencies.hasOwnProperty(t))return!0;if(i=e.hasOwnProperty(s)?e[s]:null,i!=null)return console.error("Invalid event handler property `%s`. Did you mean `%s`?",t,i),Dr[t]=!0;if(RM.test(t))return console.error("Unknown event handler property `%s`. It will be ignored.",t),Dr[t]=!0}else if(RM.test(t))return r9.test(t)&&console.error("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",t),Dr[t]=!0;if(i9.test(t)||a9.test(t))return!0;if(s==="innerhtml")return console.error("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),Dr[t]=!0;if(s==="aria")return console.error("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),Dr[t]=!0;if(s==="is"&&o!==null&&o!==void 0&&typeof o!=="string")return console.error("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof o),Dr[t]=!0;if(typeof o==="number"&&isNaN(o))return console.error("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",t),Dr[t]=!0;if(zx.hasOwnProperty(s)){if(s=zx[s],s!==t)return console.error("Invalid DOM property `%s`. Did you mean `%s`?",t,s),Dr[t]=!0}else if(t!==s)return console.error("React does not recognize the `%s` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `%s` instead. If you accidentally passed it from a parent component, remove it from the DOM element.",t,s),Dr[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 o){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(s=t.toLowerCase().slice(0,5),s==="data-"||s==="aria-")return!0;return o?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()}.',o,t,t,o,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.',o,t,t,o,t,t,t),Dr[t]=!0}case"function":case"symbol":return Dr[t]=!0,!1;case"string":if(o==="false"||o==="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}?",o,t,o==="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,o),Dr[t]=!0}}return!0}function RH(e,t,o){var i=[],s;for(s in t)_H(e,s,t[s],o)||i.push(s);t=i.map(function(c){return"`"+c+"`"}).join(", "),i.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<i.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 Rm(e){return l9.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}function tl(){}function Ey(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}function VA(e){var t=el(e);if(t&&(e=t.stateNode)){var o=e[Er]||null;e:switch(e=t.stateNode,t.type){case"input":if(Sy(e,o.value,o.defaultValue,o.defaultValue,o.checked,o.defaultChecked,o.type,o.name),t=o.name,o.type==="radio"&&t!=null){for(o=e;o.parentNode;)o=o.parentNode;Ve(t,"name"),o=o.querySelectorAll('input[name="'+Pi(""+t)+'"][type="radio"]');for(t=0;t<o.length;t++){var i=o[t];if(i!==e&&i.form===e.form){var s=i[Er]||null;if(!s)throw Error("ReactDOMInput: Mixing React and non-React radio inputs with the same `name` is not supported.");Sy(i,s.value,s.defaultValue,s.defaultValue,s.checked,s.defaultChecked,s.type,s.name)}}for(t=0;t<o.length;t++)i=o[t],i.form===e.form&&_A(i)}break e;case"textarea":DA(e,o.value,o.defaultValue);break e;case"select":t=o.value,t!=null&&Ju(e,!!o.multiple,t,!1)}}}function GA(e,t,o){if(c0)return e(t,o);c0=!0;try{var i=e(t);return i}finally{if(c0=!1,Ad!==null||Td!==null){if(pd(),Ad&&(t=Ad,e=Td,Td=Ad=null,VA(t),e))for(t=0;t<e.length;t++)VA(e[t])}}}function Om(e,t){var o=e.stateNode;if(o===null)return null;var i=o[Er]||null;if(i===null)return null;o=i[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":(i=!i.disabled)||(e=e.type,i=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!i;break e;default:e=!1}if(e)return null;if(o&&typeof o!=="function")throw Error("Expected `"+t+"` listener to be a function, instead got a value of `"+typeof o+"` type.");return o}function XA(){if(Vx)return Vx;var e,t=u0,o=t.length,i,s="value"in rc?rc.value:rc.textContent,c=s.length;for(e=0;e<o&&t[e]===s[e];e++);var d=o-e;for(i=1;i<=d&&t[o-i]===s[c-i];i++);return Vx=s.slice(e,1<i?1-i:void 0)}function yb(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 Sb(){return!0}function qA(){return!1}function Sr(e){function t(o,i,s,c,d){this._reactName=o,this._targetInst=s,this.type=i,this.nativeEvent=c,this.target=d,this.currentTarget=null;for(var m in e)e.hasOwnProperty(m)&&(o=e[m],this[m]=o?o(c):c[m]);return this.isDefaultPrevented=(c.defaultPrevented!=null?c.defaultPrevented:c.returnValue===!1)?Sb:qA,this.isPropagationStopped=qA,this}return xt(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var o=this.nativeEvent;o&&(o.preventDefault?o.preventDefault():typeof o.returnValue!=="unknown"&&(o.returnValue=!1),this.isDefaultPrevented=Sb)},stopPropagation:function(){var o=this.nativeEvent;o&&(o.stopPropagation?o.stopPropagation():typeof o.cancelBubble!=="unknown"&&(o.cancelBubble=!0),this.isPropagationStopped=Sb)},persist:function(){},isPersistent:Sb}),t}function OH(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=v9[e])?!!t[e]:!1}function Dy(){return OH}function $A(e,t){switch(e){case"keyup":return N9.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==TM;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function YA(e){return e=e.detail,typeof e==="object"&&"data"in e?e.data:null}function wH(e,t){switch(e){case"compositionend":return YA(t);case"keypress":if(t.which!==DM)return null;return UM=!0,MM;case"textInput":return e=t.data,e===MM&&UM?null:e;default:return null}}function AH(e,t){if(Ed)return e==="compositionend"||!h0&&$A(e,t)?(e=XA(),Vx=u0=rc=null,Ed=!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 EM&&t.locale!=="ko"?null:t.data;default:return null}}function WA(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!L9[e.type]:t==="textarea"?!0:!1}function TH(e){if(!Cl)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 ZA(e,t,o,i){Ad?Td?Td.push(i):Td=[i]:Ad=i,t=_x(t,"onChange"),0<t.length&&(o=new Gx("onChange","change",null,o,i),e.push({event:o,listeners:t}))}function EH(e){zE(e,0)}function _b(e){var t=vm(e);if(_A(t))return e}function KA(e,t){if(e==="change")return t}function JA(){uh&&(uh.detachEvent("onpropertychange",QA),dh=uh=null)}function QA(e){if(e.propertyName==="value"&&_b(dh)){var t=[];ZA(t,dh,e,Ey(e)),GA(EH,t)}}function DH(e,t,o){e==="focusin"?(JA(),uh=t,dh=o,uh.attachEvent("onpropertychange",QA)):e==="focusout"&&JA()}function MH(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return _b(dh)}function UH(e,t){if(e==="click")return _b(t)}function NH(e,t){if(e==="input"||e==="change")return _b(t)}function BH(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}function wm(e,t){if(Mr(e,t))return!0;if(typeof e!=="object"||e===null||typeof t!=="object"||t===null)return!1;var o=Object.keys(e),i=Object.keys(t);if(o.length!==i.length)return!1;for(i=0;i<o.length;i++){var s=o[i];if(!zi.call(t,s)||!Mr(e[s],t[s]))return!1}return!0}function My(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 eT(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function tT(e,t){var o=eT(e);e=0;for(var i;o;){if(o.nodeType===3){if(i=e+o.textContent.length,e<=t&&i>=t)return{node:o,offset:t-e};e=i}e:{for(;o;){if(o.nextSibling){o=o.nextSibling;break e}o=o.parentNode}o=void 0}o=eT(o)}}function nT(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?nT(e,t.parentNode):("contains"in e)?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function oT(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=My(e.document);t instanceof e.HTMLIFrameElement;){try{var o=typeof t.contentWindow.location.href==="string"}catch(i){o=!1}if(o)e=t.contentWindow;else break;t=My(e.document)}return t}function Uy(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 rT(e,t,o){var i=o.window===o?o.document:o.nodeType===9?o:o.ownerDocument;b0||Dd==null||Dd!==My(i)||(i=Dd,("selectionStart"in i)&&Uy(i)?i={start:i.selectionStart,end:i.selectionEnd}:(i=(i.ownerDocument&&i.ownerDocument.defaultView||window).getSelection(),i={anchorNode:i.anchorNode,anchorOffset:i.anchorOffset,focusNode:i.focusNode,focusOffset:i.focusOffset}),ph&&wm(ph,i)||(ph=i,i=_x(g0,"onSelect"),0<i.length&&(t=new Gx("onSelect","select",null,t,o),e.push({event:t,listeners:i}),t.target=Dd)))}function xf(e,t){var o={};return o[e.toLowerCase()]=t.toLowerCase(),o["Webkit"+e]="webkit"+t,o["Moz"+e]="moz"+t,o}function If(e){if(x0[e])return x0[e];if(!Md[e])return e;var t=Md[e],o;for(o in t)if(t.hasOwnProperty(o)&&o in BM)return x0[e]=t[o];return e}function Ia(e,t){FM.set(e,t),gf(t,[e])}function Wl(e,t){if(e.name!=null&&e.name!=="auto")return e.name;if(t.autoName!==null)return t.autoName;e=Ma.identifierPrefix;var o=H9++;return e="_"+e+"t_"+o.toString(32)+"_",t.autoName=e}function iT(e){if(e==null||typeof e==="string")return e;var t=null,o=Qd;if(o!==null)for(var i=0;i<o.length;i++){var s=e[o[i]];if(s!=null){if(s==="none")return"none";t=t==null?s:t+(" "+s)}}return t==null?e.default:t}function Zl(e,t){return e=iT(e),t=iT(t),t==null?e==="auto"?null:e:t==="auto"?null:t}function LH(e){for(var t=qx,o=0;o<e.length&&o<Vi;o++){var i=e[o];if(typeof i==="object"&&i!==null)if(uo(i)&&i.length===2&&typeof i[0]==="string"){if(t!==qx&&t!==S0)return C0;t=S0}else return C0;else{if(typeof i==="function"||typeof i==="string"&&50<i.length||t!==qx&&t!==y0||typeof i==="bigint")return C0;t=y0}}return t}function Ny(e,t,o,i){if(!ArrayBuffer.isView(e)){var s=0,c;for(c in e)if(zi.call(e,c)&&c[0]!=="_"&&(s++,va(c,e[c],t,o,i),s>=Vi)){t.push([i+" ".repeat(o)+"Only "+Vi+" properties are shown. React will not log more properties of this object.",""]);break}}}function Rb(e){return"$$typeof"in e&&zi.call(e,"$$typeof")?e.$$typeof:void 0}function va(e,t,o,i,s){switch(typeof t){case"object":if(t===null){t="null";break}else{if(Rb(t)===gl){var c=le(t.type)||"…",d=t.key;t=t.props;var m=Object.keys(t),g=m.length;if(d==null&&g===0){t="<"+c+" />";break}if(3>i||g===1&&m[0]==="children"&&d==null){t="<"+c+" … />";break}o.push([s+" ".repeat(i)+e,"<"+c]),d!==null&&va("key",d,o,i+1,s),e=!1,d=0;for(var C in t)if(d++,C==="children"?t.children!=null&&(!uo(t.children)||0<t.children.length)&&(e=!0):zi.call(t,C)&&C[0]!=="_"&&va(C,t[C],o,i+1,s),d>=Vi)break;o.push(["",e?">…</"+c+">":"/>"]);return}if(c=Object.prototype.toString.call(t),c=c.slice(8,c.length-1),ArrayBuffer.isView(t)){t=t.length,t=typeof t==="number"?c+"("+t+")":c;break}if(c==="Array"){if(C=t.length>Vi,d=LH(t),d===y0||d===qx){t=JSON.stringify(C?t.slice(0,Vi).concat("…"):t);break}else if(d===S0){o.push([s+" ".repeat(i)+e,""]);for(e=0;e<t.length&&e<Vi;e++)c=t[e],va(c[0],c[1],o,i+1,s);C&&va(Vi.toString(),"…",o,i+1,s);return}}if(c==="Promise"){if(t.status==="fulfilled"){if(c=o.length,va(e,t.value,o,i,s),o.length>c){o=o[c],o[1]="Promise<"+(o[1]||"Object")+">";return}}else if(t.status==="rejected"&&(c=o.length,va(e,t.reason,o,i,s),o.length>c)){o=o[c],o[1]="Rejected Promise<"+o[1]+">";return}o.push([" ".repeat(i)+e,"Promise"]);return}c==="Object"&&(C=Object.getPrototypeOf(t))&&typeof C.constructor==="function"&&(c=C.constructor.name),o.push([s+" ".repeat(i)+e,c==="Object"?3>i?"":"…":c]),3>i&&Ny(t,o,i+1,s);return}case"function":t=t.name,t=t===""||typeof t!=="string"?"() => {}":t+"() {}";break;case"string":t=t===G9?"…":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)}o.push([s+" ".repeat(i)+e,t])}function aT(e,t,o,i){var s=!0,c=0;for(m in e){if(c>Vi){o.push(["Previous object has more than "+Vi+" properties. React will not attempt to diff objects with too many properties.",""]),s=!1;break}m in t||(o.push([$x+" ".repeat(i)+m,"…"]),s=!1),c++}c=0;for(var d in t){if(c>Vi){o.push(["Next object has more than "+Vi+" properties. React will not attempt to diff objects with too many properties.",""]),s=!1;break}if(d in e){var m=e[d],g=t[d];if(m!==g){if(i===0&&d==="children"){s=" ".repeat(i)+d,o.push([$x+s,"…"],[Yx+s,"…"]),s=!1;continue}if(!(3<=i)){if(typeof m==="object"&&typeof g==="object"&&m!==null&&g!==null&&Rb(m)===Rb(g))if(Rb(g)===gl){if(m.type===g.type&&m.key===g.key){m=le(g.type)||"…",s=" ".repeat(i)+d,m="<"+m+" … />",o.push([$x+s,m],[Yx+s,m]),s=!1;continue}}else{var C=Object.prototype.toString.call(m),T=Object.prototype.toString.call(g);if(C===T&&(T==="[object Object]"||T==="[object Array]")){C=[VM+" ".repeat(i)+d,T==="[object Array]"?"Array":""],o.push(C),T=o.length,aT(m,g,o,i+1)?T===o.length&&(C[1]="Referentially unequal but deeply equal objects. Consider memoization."):s=!1;continue}}else if(typeof m==="function"&&typeof g==="function"&&m.name===g.name&&m.length===g.length&&(C=Function.prototype.toString.call(m),T=Function.prototype.toString.call(g),C===T)){m=g.name===""?"() => {}":g.name+"() {}",o.push([VM+" ".repeat(i)+d,m+" Referentially unequal function closure. Consider memoization."]);continue}}va(d,m,o,i,$x),va(d,g,o,i,Yx),s=!1}}else o.push([Yx+" ".repeat(i)+d,"…"]),s=!1;c++}return s}function tr(e){Et=e&63?"Blocking":e&64?"Gesture":e&4194176?"Transition":e&62914560?"Suspense":e&2080374784?"Idle":"Other"}function nl(e,t,o,i){mn&&(lc.start=t,lc.end=o,is.color="warning",is.tooltipText=i,is.properties=null,(e=e._debugTask)?e.run(performance.measure.bind(performance,i,lc)):performance.measure(i,lc),performance.clearMeasures(i))}function Ob(e,t,o){nl(e,t,o,"Reconnect")}function wb(e,t,o,i,s){var c=B(e);if(c!==null&&mn){var d=e.alternate,m=e.actualDuration;if(d===null||d.child!==e.child)for(var g=e.child;g!==null;g=g.sibling)m-=g.actualDuration;m=0.5>m?i?"tertiary-light":"primary-light":10>m?i?"tertiary":"primary":100>m?i?"tertiary-dark":"primary-dark":"error";var C=e.memoizedProps;i=e._debugTask,C!==null&&d!==null&&d.memoizedProps!==C?(g=[X9],C=aT(d.memoizedProps,C,g,0),1<g.length?(C&&!ac&&(d.lanes&s)===0&&100<e.actualDuration?(ac=!0,g[0]=q9,is.color="warning",is.tooltipText=GM):(is.color=m,is.tooltipText=c),is.properties=g,lc.start=t,lc.end=o,e=""+c,i!=null?i.run(performance.measure.bind(performance,e,lc)):performance.measure(e,lc),performance.clearMeasures(e)):i!=null?i.run(console.timeStamp.bind(console,c,t,o,Vr,void 0,m)):console.timeStamp(c,t,o,Vr,void 0,m)):i!=null?i.run(console.timeStamp.bind(console,c,t,o,Vr,void 0,m)):console.timeStamp(c,t,o,Vr,void 0,m)}}function By(e,t,o,i){if(mn){var s=B(e);if(s!==null){for(var c=null,d=[],m=0;m<i.length;m++){var g=i[m];c==null&&g.source!==null&&(c=g.source._debugTask),g=g.value,d.push(["Error",typeof g==="object"&&g!==null&&typeof g.message==="string"?String(g.message):String(g)])}e.key!==null&&va("key",e.key,d,0,""),e.memoizedProps!==null&&Ny(e.memoizedProps,d,0,""),c==null&&(c=e._debugTask),e={start:t,end:o,detail:{devtools:{color:"error",track:Vr,tooltipText:e.tag===13?"Hydration failed":"Error boundary caught an error",properties:d}}},s=""+s,c?c.run(performance.measure.bind(performance,s,e)):performance.measure(s,e),performance.clearMeasures(s)}}}function ol(e,t,o,i,s){if(s!==null){if(mn){var c=B(e);if(c!==null){i=[];for(var d=0;d<s.length;d++){var m=s[d].value;i.push(["Error",typeof m==="object"&&m!==null&&typeof m.message==="string"?String(m.message):String(m)])}e.key!==null&&va("key",e.key,i,0,""),e.memoizedProps!==null&&Ny(e.memoizedProps,i,0,""),t={start:t,end:o,detail:{devtools:{color:"error",track:Vr,tooltipText:"A lifecycle or effect errored",properties:i}}},e=e._debugTask,o=""+c,e?e.run(performance.measure.bind(performance,o,t)):performance.measure(o,t),performance.clearMeasures(o)}}}else c=B(e),c!==null&&mn&&(s=1>i?"secondary-light":100>i?"secondary":500>i?"secondary-dark":"error",(e=e._debugTask)?e.run(console.timeStamp.bind(console,c,t,o,Vr,void 0,s)):console.timeStamp(c,t,o,Vr,void 0,s))}function lT(e,t,o,i){!mn||t<=e||(o=(o&738197653)===o?"tertiary-dark":"primary-dark",i?i.run(console.timeStamp.bind(console,"Prewarm",e,t,Et,wt,o)):console.timeStamp("Prewarm",e,t,Et,wt,o))}function sT(e,t,o,i){!mn||t<=e||(o=(o&738197653)===o?"tertiary-dark":"primary-dark",i?i.run(console.timeStamp.bind(console,"Suspended",e,t,Et,wt,o)):console.timeStamp("Suspended",e,t,Et,wt,o))}function Ly(e,t,o,i){!mn||t<=e||(i?i.run(console.timeStamp.bind(console,"Errored",e,t,Et,wt,"error")):console.timeStamp("Errored",e,t,Et,wt,"error"))}function kH(e,t,o,i){!mn||t<=e||(i?i.run(console.timeStamp.bind(console,o,e,t,Et,wt,"secondary-light")):console.timeStamp(o,e,t,Et,wt,"secondary-light"))}function cT(e,t,o,i,s){if(mn&&!(t<=e)){for(var c=[],d=0;d<o.length;d++){var m=o[d].value;c.push(["Error",typeof m==="object"&&m!==null&&typeof m.message==="string"?String(m.message):String(m)])}e={start:e,end:t,detail:{devtools:{color:"error",track:Et,trackGroup:wt,tooltipText:i?"Remaining Effects Errored":"Commit Errored",properties:c}}},s?s.run(performance.measure.bind(performance,"Errored",e)):performance.measure("Errored",e),performance.clearMeasures("Errored")}}function fT(e,t,o,i,s){o!==null?cT(e,t,o,!1,s):!mn||t<=e||(s?s.run(console.timeStamp.bind(console,i?"Commit Interrupted View Transition":"Commit",e,t,Et,wt,i?"error":"secondary-dark")):console.timeStamp(i?"Commit Interrupted View Transition":"Commit",e,t,Et,wt,i?"error":"secondary-dark"))}function Fs(e,t,o){!mn||t<=e||(o?o.run(console.timeStamp.bind(console,"Animating",e,t,Et,wt,"secondary-dark")):console.timeStamp("Animating",e,t,Et,wt,"secondary-dark"))}function Ab(){for(var e=Ud,t=_0=Ud=0;t<e;){var o=Gi[t];Gi[t++]=null;var i=Gi[t];Gi[t++]=null;var s=Gi[t];Gi[t++]=null;var c=Gi[t];if(Gi[t++]=null,i!==null&&s!==null){var d=i.pending;d===null?s.next=s:(s.next=d.next,d.next=s),i.pending=s}c!==0&&uT(o,s,c)}}function Tb(e,t,o,i){Gi[Ud++]=e,Gi[Ud++]=t,Gi[Ud++]=o,Gi[Ud++]=i,_0|=i,e.lanes|=i,e=e.alternate,e!==null&&(e.lanes|=i)}function ky(e,t,o,i){return Tb(e,t,o,i),Eb(e)}function nr(e,t){return Tb(e,null,null,t),Eb(e)}function uT(e,t,o){e.lanes|=o;var i=e.alternate;i!==null&&(i.lanes|=o);for(var s=!1,c=e.return;c!==null;)c.childLanes|=o,i=c.alternate,i!==null&&(i.childLanes|=o),c.tag===22&&(e=c.stateNode,e===null||e._visibility&mh||(s=!0)),e=c,c=c.return;return e.tag===3?(c=e.stateNode,s&&t!==null&&(s=31-Ar(o),e=c.hiddenUpdates,i=e[s],i===null?e[s]=[t]:i.push(t),t.lane=o|536870912),c):null}function Eb(e){if(Xh>lV)throw Kf=Xh=0,qh=wI=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.");Kf>sV&&(Kf=0,qh=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&&LE(e);for(var t=e,o=t.return;o!==null;)t.alternate===null&&(t.flags&4098)!==0&&LE(e),t=o,o=t.return;return t.tag===3?t.stateNode:null}function td(e){if(ls===null)return e;var t=ls(e);return t===void 0?e:t.current}function dT(e,t){if(ls===null)return!1;var o=ls,i=e.elementType;t=t.type;var s=!1,c=typeof t==="object"&&t!==null?t.$$typeof:null;switch(e.tag){case 1:typeof t==="function"&&(s=!0);break;case 0:typeof t==="function"?s=!0:c===zr&&(s=!0);break;case 11:c===Mx?s=!0:c===zr&&(s=!0);break;case 14:case 15:c===Ux?s=!0:c===zr&&(s=!0);break;default:return!1}return s&&(e=o(i),e!==void 0&&e===o(t))?!0:!1}function pT(e){ls!==null&&typeof WeakSet==="function"&&(Nd===null&&(Nd=new WeakSet),Nd.add(e))}function mT(e,t,o){do{var i=e,s=i.alternate,c=i.child,d=i.sibling,m=i.tag,g=i.type,C=i.elementType,T=null;switch(i=null,m){case 0:case 1:T=g;break;case 15:T=g,i=C;break;case 14:i=C;break;case 11:T=g.render,i=C}if(ls===null)throw Error("Expected resolveFamily to be set during hot reload.");var F=ls;if(g=C=!1,T!==null&&(T=F(T),T!==void 0&&(o.has(T)?g=!0:t.has(T)&&(m===1?g=!0:C=!0))),g||i===null||(m=F(i),m!==void 0&&o.has(m)?g=!0:typeof i==="object"&&i.$$typeof===zr&&(m=i._payload,m._status===1&&(m=F(m._result.default),m!==void 0&&o.has(m)&&(g=!0)))),Nd!==null&&(Nd.has(e)||s!==null&&Nd.has(s))&&(g=!0),g&&(e._debugNeedsRemount=!0),g||C)s=nr(e,2),s!==null&&Ln(s,e,2);if(c===null||g||mT(c,t,o),d===null)break;e=d}while(1)}function PH(e,t,o,i){this.tag=e,this.key=o,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=i,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,qM||typeof Object.preventExtensions!=="function"||Object.preventExtensions(this)}function Py(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Kl(e,t){var o=e.alternate;switch(o===null?(o=v(e.tag,t,e.key,e.mode),o.elementType=e.elementType,o.type=e.type,o.stateNode=e.stateNode,o._debugOwner=e._debugOwner,o._debugStack=e._debugStack,o._debugTask=e._debugTask,o._debugHookTypes=e._debugHookTypes,o.alternate=e,e.alternate=o):(o.pendingProps=t,o.type=e.type,o.flags=0,o.subtreeFlags=0,o.deletions=null,o.actualDuration=-0,o.actualStartTime=-1.1),o.flags=e.flags&1206910976,o.childLanes=e.childLanes,o.lanes=e.lanes,o.child=e.child,o.memoizedProps=e.memoizedProps,o.memoizedState=e.memoizedState,o.updateQueue=e.updateQueue,t=e.dependencies,o.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext,_debugThenableState:t._debugThenableState},o.sibling=e.sibling,o.index=e.index,o.ref=e.ref,o.refCleanup=e.refCleanup,o.selfBaseDuration=e.selfBaseDuration,o.treeBaseDuration=e.treeBaseDuration,o._debugInfo=e._debugInfo,o._debugNeedsRemount=e._debugNeedsRemount,o.tag){case 0:case 15:case 14:case 1:case 11:o.type=td(e.type)}return o}function hT(e,t){e.flags&=1206910978;var o=e.alternate;return o===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=o.childLanes,e.lanes=o.lanes,e.child=o.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=o.memoizedProps,e.memoizedState=o.memoizedState,e.updateQueue=o.updateQueue,e.type=o.type,t=o.dependencies,e.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext,_debugThenableState:t._debugThenableState},e.selfBaseDuration=o.selfBaseDuration,e.treeBaseDuration=o.treeBaseDuration),e}function jy(e,t,o,i,s,c){var d=0,m=td(e);if(typeof m==="function")Py(m)&&(d=1);else if(typeof m==="string")d=Ze(),d=xz(e,o,d)?26:e==="html"||e==="head"||e==="body"?27:5;else e:switch(m){case W_:return t=v(31,o,t,s),t.elementType=W_,t.lanes=c,t;case yd:return vf(o.children,s,c,t);case Dx:d=8,s|=rr,s|=Oa;break;case X_:return e=o,i=s,typeof e.id!=="string"&&console.error('Profiler must specify an "id" of type `string` as a prop. Received the type `%s` instead.',typeof e.id),t=v(12,e,t,i|It),t.elementType=X_,t.lanes=c,t.stateNode={effectDuration:0,passiveEffectDuration:0},t;case $_:return t=v(13,o,t,s),t.elementType=$_,t.lanes=c,t;case Y_:return t=v(19,o,t,s),t.elementType=Y_,t.lanes=c,t;case Ez:case Z_:return e=s|XM,t=v(30,o,t,e),t.elementType=Z_,t.lanes=c,t.stateNode={autoName:null,paired:null,clones:null,ref:null},t;default:if(typeof m==="object"&&m!==null)switch(m.$$typeof){case _a:d=10;break e;case q_:d=9;break e;case Mx:d=11;break e;case Ux:d=14;break e;case zr:d=16,m=null;break e}if(o="",e===void 0||typeof e==="object"&&e!==null&&Object.keys(e).length===0)o+=" 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?m="null":uo(e)?m="array":e!==void 0&&e.$$typeof===gl?(m="<"+(le(e.type)||"Unknown")+" />",o=" Did you accidentally export a JSX literal instead of a component?"):m=typeof e,(d=i?Me(i):null)&&(o+=`
|
|
72
|
+
|
|
73
|
+
Check the render method of \``+d+"`."),d=29,o=Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: "+(m+"."+o)),m=null}return t=v(d,o,t,s),t.elementType=e,t.type=m,t.lanes=c,t._debugOwner=i,t}function Db(e,t,o){return t=jy(e.type,e.key,e.props,e._owner,t,o),t._debugOwner=e._owner,t._debugStack=e._debugStack,t._debugTask=e._debugTask,t}function vf(e,t,o,i){return e=v(7,e,i,t),e.lanes=o,e}function Fy(e,t,o){return e=v(6,e,null,t),e.lanes=o,e}function gT(e){var t=v(18,null,null,lt);return t.stateNode=e,t}function Hy(e,t,o){return t=v(4,e.children!==null?e.children:[],e.key,t),t.lanes=o,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function ci(e,t){if(typeof e==="object"&&e!==null){var o=R0.get(e);if(o!==void 0)return o;return t={value:e,source:t,stack:Ke(t)},R0.set(e,t),t}return{value:e,source:t,stack:Ke(t)}}function Jl(e,t){Hs(),Bd[Ld++]=hh,Bd[Ld++]=Wx,Wx=e,hh=t}function bT(e,t,o){Hs(),Xi[qi++]=ss,Xi[qi++]=cs,Xi[qi++]=Nf,Nf=e;var i=ss;e=cs;var s=32-Ar(i)-1;i&=~(1<<s),o+=1;var c=32-Ar(t)+s;if(30<c){var d=s-s%5;c=(i&(1<<d)-1).toString(32),i>>=d,s-=d,ss=1<<32-Ar(t)+s|o<<s|i,cs=c+e}else ss=1<<c|o<<s|i,cs=e}function Mb(e){Hs(),e.return!==null&&(Jl(e,1),bT(e,1,0))}function zy(e){for(;e===Wx;)Wx=Bd[--Ld],Bd[Ld]=null,hh=Bd[--Ld],Bd[Ld]=null;for(;e===Nf;)Nf=Xi[--qi],Xi[qi]=null,cs=Xi[--qi],Xi[qi]=null,ss=Xi[--qi],Xi[qi]=null}function xT(){return Hs(),Nf!==null?{id:ss,overflow:cs}:null}function IT(e,t){Hs(),Xi[qi++]=ss,Xi[qi++]=cs,Xi[qi++]=Nf,ss=t.id,cs=t.overflow,Nf=e}function Hs(){vt||console.error("Expected to be hydrating. This is a bug in React. Please file an issue.")}function Cf(e,t){if(e.return===null){if(bi===null)bi={fiber:e,children:[],serverProps:void 0,serverTail:[],distanceFromLeaf:t};else{if(bi.fiber!==e)throw Error("Saw multiple hydration diff roots in a pass. This is a bug in React.");bi.distanceFromLeaf>t&&(bi.distanceFromLeaf=t)}return bi}var o=Cf(e.return,t+1).children;if(0<o.length&&o[o.length-1].fiber===e)return o=o[o.length-1],o.distanceFromLeaf>t&&(o.distanceFromLeaf=t),o;return t={fiber:e,children:[],serverProps:void 0,serverTail:[],distanceFromLeaf:t},o.push(t),t}function vT(){vt&&console.error("We should not be hydrating here. This is a bug in React. Please file a bug.")}function Ub(e,t){yl||(e=Cf(e,0),e.serverProps=null,t!==null&&(t=ID(t),e.serverTail.push(t)))}function zs(e){var t=1<arguments.length&&arguments[1]!==void 0?arguments[1]:!1,o="",i=bi;throw i!==null&&(bi=null,o=Ay(i)),Am(ci(Error("Hydration failed because the server rendered "+(t?"text":"HTML")+` didn't match the client. As a result this tree will be regenerated on the client. This can happen if a SSR-ed Client Component used:
|
|
74
|
+
|
|
75
|
+
- A server/client branch \`if (typeof window !== 'undefined')\`.
|
|
76
|
+
- Variable input such as \`Date.now()\` or \`Math.random()\` which changes each time it's called.
|
|
77
|
+
- Date formatting in a user's locale which doesn't match the server.
|
|
78
|
+
- External changing data without sending a snapshot of it along with the HTML.
|
|
79
|
+
- Invalid HTML tag nesting.
|
|
80
|
+
|
|
81
|
+
It can also happen if the client has a browser extension installed which messes with the HTML before React loaded.
|
|
82
|
+
|
|
83
|
+
https://react.dev/link/hydration-mismatch`+o),e)),O0}function CT(e){var{stateNode:t,type:o,memoizedProps:i}=e;switch(t[jo]=e,t[Er]=i,y_(o,i),o){case"dialog":Pt("cancel",t),Pt("close",t);break;case"iframe":case"object":case"embed":Pt("load",t);break;case"video":case"audio":for(o=0;o<$h.length;o++)Pt($h[o],t);break;case"source":Pt("error",t);break;case"img":case"image":case"link":Pt("error",t),Pt("load",t);break;case"details":Pt("toggle",t);break;case"input":Ku("input",i),Pt("invalid",t),RA(t,i),OA(t,i.value,i.defaultValue,i.checked,i.defaultChecked,i.type,i.name,!0);break;case"option":wA(t,i);break;case"select":Ku("select",i),Pt("invalid",t),TA(t,i);break;case"textarea":Ku("textarea",i),Pt("invalid",t),EA(t,i),MA(t,i.value,i.defaultValue,i.children)}o=i.children,typeof o!=="string"&&typeof o!=="number"&&typeof o!=="bigint"||t.textContent===""+o||i.suppressHydrationWarning===!0||YE(t.textContent,o)?(i.popover!=null&&(Pt("beforetoggle",t),Pt("toggle",t)),i.onScroll!=null&&Pt("scroll",t),i.onScrollEnd!=null&&Pt("scrollend",t),i.onClick!=null&&(t.onclick=tl),t=!0):t=!1,t||zs(e,!0)}function Nb(e){for(wo=e.return;wo;)switch(wo.tag){case 5:case 31:case 13:$i=!1;return;case 27:case 3:$i=!0;return;default:wo=wo.return}}function nd(e){if(e!==wo)return!1;if(!vt)return Nb(e),vt=!0,!1;var t=e.tag,o;if(o=t!==3&&t!==27){if(o=t===5)o=e.type,o=!(o!=="form"&&o!=="button")||w_(e.type,e.memoizedProps);o=!o}if(o&&un){for(o=un;o;){var i=Cf(e,0),s=ID(o);i.serverTail.push(s),o=s.type==="Suspense"?U_(o):hi(o.nextSibling)}zs(e)}if(Nb(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.");un=U_(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.");un=U_(e)}else t===27?(t=un,ec(e.type)?(e=yR,yR=null,un=e):un=t):un=wo?hi(e.stateNode.nextSibling):null;return!0}function yf(){un=wo=null,yl=vt=!1}function Vy(){var e=cc;return e!==null&&(Br===null?Br=e:Br.push.apply(Br,e),cc=null),e}function Am(e){cc===null?cc=[e]:cc.push(e)}function Gy(){var e=bi;if(e!==null){bi=null;for(var t=Ay(e);0<e.children.length;)e=e.children[0];xe(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
|
+
|
|
85
|
+
- A server/client branch \`if (typeof window !== 'undefined')\`.
|
|
86
|
+
- Variable input such as \`Date.now()\` or \`Math.random()\` which changes each time it's called.
|
|
87
|
+
- Date formatting in a user's locale which doesn't match the server.
|
|
88
|
+
- External changing data without sending a snapshot of it along with the HTML.
|
|
89
|
+
- Invalid HTML tag nesting.
|
|
90
|
+
|
|
91
|
+
It can also happen if the client has a browser extension installed which messes with the HTML before React loaded.
|
|
92
|
+
|
|
93
|
+
%s%s`,"https://react.dev/link/hydration-mismatch",t)})}}function Bb(){kd=Zx=null,Pd=!1}function Vs(e,t,o){se(w0,t._currentValue,e),t._currentValue=o,se(A0,t._currentRenderer,e),t._currentRenderer!==void 0&&t._currentRenderer!==null&&t._currentRenderer!==YM&&console.error("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),t._currentRenderer=YM}function Ql(e,t){e._currentValue=w0.current;var o=A0.current;fe(A0,t),e._currentRenderer=o,fe(w0,t)}function Lb(e,t,o){for(;e!==null;){var i=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,i!==null&&(i.childLanes|=t)):i!==null&&(i.childLanes&t)!==t&&(i.childLanes|=t),e===o)break;e=e.return}e!==o&&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 Xy(e,t,o,i){var s=e.child;s!==null&&(s.return=e);for(;s!==null;){var c=s.dependencies;if(c!==null){var d=s.child;c=c.firstContext;e:for(;c!==null;){var m=c;c=s;for(var g=0;g<t.length;g++)if(m.context===t[g]){c.lanes|=o,m=c.alternate,m!==null&&(m.lanes|=o),Lb(c.return,o,e),i||(d=null);break e}c=m.next}}else if(s.tag===18){if(d=s.return,d===null)throw Error("We just came from a parent so we must have had a parent. This is a bug in React.");d.lanes|=o,c=d.alternate,c!==null&&(c.lanes|=o),Lb(d,o,e),d=null}else s.tag===13&&s.memoizedState!==null&&s.memoizedState.dehydrated===null?(s.lanes|=o,d=s.alternate,d!==null&&(d.lanes|=o),Lb(s.return,o,e),d=s.child,d=d!==null?d.sibling:null):d=s.child;if(d!==null)d.return=s;else for(d=s;d!==null;){if(d===e){d=null;break}if(s=d.sibling,s!==null){s.return=d.return,d=s;break}d=d.return}s=d}}function Sf(e,t,o,i){e=null;for(var s=t,c=!1;s!==null;){if(!c){if((s.flags&524288)!==0)c=!0;else if((s.flags&262144)!==0)break}if(s.tag===10){var d=s.alternate;if(d===null)throw Error("Should have a current fiber. This is a bug in React.");if(d=d.memoizedProps,d!==null){var m=s.type;Mr(s.pendingProps.value,d.value)||(e!==null?e.push(m):e=[m])}}else if(s===Nx.current){if(d=s.alternate,d===null)throw Error("Should have a current fiber. This is a bug in React.");d.memoizedState.memoizedState!==s.memoizedState.memoizedState&&(e!==null?e.push(ap):e=[ap])}s=s.return}return e!==null&&Xy(t,e,o,i),t.flags|=262144,e!==null}function kb(e){for(e=e.firstContext;e!==null;){if(!Mr(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function _f(e){Zx=e,kd=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function Cn(e){return Pd&&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()."),yT(Zx,e)}function Pb(e,t){return Zx===null&&_f(e),yT(e,t)}function yT(e,t){var o=t._currentValue;if(t={context:t,memoizedValue:o,next:null},kd===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().");kd=t,e.dependencies={lanes:0,firstContext:t,_debugThenableState:null},e.flags|=524288}else kd=kd.next=t;return o}function qy(){return{controller:new Y9,data:new Map,refCount:0}}function Rf(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 Tm(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&&W9(Z9,function(){e.controller.abort()})}function ST(e,t){if((e.pendingLanes&4194048)!==0){var o=e.transitionTypes;o===null&&(o=e.transitionTypes=[]);for(e=0;e<t.length;e++){var i=t[e];o.indexOf(i)===-1&&o.push(i)}}}function jH(e){var t=e.transitionTypes;return e.transitionTypes=null,t}function rl(e,t,o){if((e&127)!==0)0>Sl&&(Sl=Zn(),xh=Kx(t),T0=t,o!=null&&(E0=B(o)),(jt&(mo|vi))!==Do&&(kn=!0,uc=bh),e=Km(),t=Zm(),e!==jd||t!==Ih?jd=-1.1:t!==null&&(uc=bh),Lf=e,Ih=t);else if((e&4194048)!==0&&0>Yi&&(Yi=Zn(),vh=Kx(t),WM=t,o!=null&&(ZM=B(o)),0>ds)){if(e=Km(),t=Zm(),e!==pc||t!==kf)pc=-1.1;dc=e,kf=t}}function FH(e){if(0>Sl){Sl=Zn(),xh=e._debugTask!=null?e._debugTask:null,(jt&(mo|vi))!==Do&&(uc=bh);var t=Km(),o=Zm();t!==jd||o!==Ih?jd=-1.1:o!==null&&(uc=bh),Lf=t,Ih=o}if(0>Yi&&(Yi=Zn(),vh=e._debugTask!=null?e._debugTask:null,0>ds)){if(e=Km(),t=Zm(),e!==pc||t!==kf)pc=-1.1;dc=e,kf=t}}function es(){var e=Bf;return Bf=0,e}function jb(e){var t=Bf;return Bf=e,t}function Em(e){var t=Bf;return Bf+=e,t}function Fb(){ot=Qe=-1.1}function fi(){var e=Qe;return Qe=-1.1,e}function ui(e){0<=e&&(Qe=e)}function il(){var e=On;return On=-0,e}function al(e){0<=e&&(On=e)}function ll(){var e=yn;return yn=null,e}function sl(){var e=kn;return kn=!1,e}function $y(e){Ur=Zn(),0>e.actualStartTime&&(e.actualStartTime=Ur)}function Yy(e){if(0<=Ur){var t=Zn()-Ur;e.actualDuration+=t,e.selfBaseDuration=t,Ur=-1}}function _T(e){if(0<=Ur){var t=Zn()-Ur;e.actualDuration+=t,Ur=-1}}function cl(){if(0<=Ur){var e=Zn(),t=e-Ur;Ur=-1,Bf+=t,On+=t,ot=e}}function RT(e){yn===null&&(yn=[]),yn.push(e),us===null&&(us=[]),us.push(e)}function fl(){Ur=Zn(),0>Qe&&(Qe=Ur)}function Dm(e){for(var t=e.child;t;)e.actualDuration+=t.actualDuration,t=t.sibling}function HH(e,t){if(yh===null){var o=yh=[];N0=0,mc=x_(),Fd={status:"pending",value:void 0,then:function(i){o.push(i)}}}return N0++,t.then(OT,OT),t}function OT(){if(--N0===0&&(-1<Yi||(ds=-1.1),gh=null,yh!==null)){Fd!==null&&(Fd.status="fulfilled");var e=yh;yh=null,mc=0,Fd=null;for(var t=0;t<e.length;t++)(0,e[t])()}}function zH(e,t){var o=[],i={status:"pending",value:null,reason:null,then:function(s){o.push(s)}};return e.then(function(){i.status="fulfilled",i.value=t;for(var s=0;s<o.length;s++)(0,o[s])(t)},function(s){i.status="rejected",i.reason=s;for(s=0;s<o.length;s++)(0,o[s])(void 0)}),i}function Wy(){var e=jf.current;return e!==null?e:cn.pooledCache}function Hb(e,t){t===null?se(jf,jf.current,e):se(jf,t.pool,e)}function wT(){var e=Wy();return e===null?null:{parent:Qn._currentValue,pool:e}}function AT(){return{didWarnAboutUncachedPromise:!1,thenables:[]}}function TT(e){return e=e.status,e==="fulfilled"||e==="rejected"}function ET(e,t,o,i){oe.actQueue!==null&&(oe.didUsePromise=!0);var s=e.thenables;if(o=s[o],o===void 0?s.push(t):o!==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(tl,tl),t=o),t._debugInfo===void 0){e=performance.now(),s=t.displayName;var c={name:typeof s==="string"?s:"Promise",start:e,end:e,value:t};t._debugInfo=[{awaited:c}],t.status!=="fulfilled"&&t.status!=="rejected"&&(e=function(){c.end=performance.now()},t.then(e,e))}switch(t.status){case"fulfilled":return t.value;case"rejected":if(i=t.reason,MT(i),i===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 i;default:if(typeof t.status==="string")t.then(tl,tl);else{if(e=cn,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(d){if(t.status==="pending"){var m=t;m.status="fulfilled",m.value=d}},function(d){if(t.status==="pending"){var m=t;m.status="rejected",m.reason=d}})}switch(t.status){case"fulfilled":return t.value;case"rejected":throw i=t.reason,MT(i),i}throw zf=t,Th=!0,P0||i===null||i.alternate!==null||(Hf=i,aI=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")),Hd}}function Gs(e){try{return tV(e)}catch(t){if(t!==null&&typeof t==="object"&&typeof t.then==="function")throw zf=t,Th=!0,Hd;throw t}}function DT(){if(zf===null)throw Error("Expected a suspended thenable. This is a bug in React. Please file an issue.");var e=zf;return zf=null,Th=!1,e}function MT(e){if(e===Hd||e===rI)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 UT(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:UT(e.return,t.return)}function _r(e){var t=At;return e!=null&&(At=t===null?e:t.concat(e)),t}function Zy(){var e=At;if(e!=null){for(var t=e.length-1;0<=t;t--)if(e[t].name!=null){var o=e[t].debugTask;if(o!=null)return o}}return null}function zb(e,t,o){for(var i=Object.keys(e.props),s=0;s<i.length;s++){var c=i[s];if(c!=="children"&&c!=="key"&&c!=="ref"){t===null&&(t=Db(e,o.mode,0),t._debugInfo=At,t.return=o),xe(t,function(d){console.error("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key`, `ref`, and `children` props.",d)},c);break}}}function Vb(e){var t=Eh;return Eh+=1,zd===null&&(zd=AT()),ET(zd,e,t,null)}function Xs(e,t){t=t.props.ref,e.ref=t!==void 0?t:null}function NT(e,t){if(t.$$typeof===Tz)throw Error(`A React Element from an older version of React was rendered. This is not supported. It can happen if:
|
|
94
|
+
- Multiple copies of the "react" package is used.
|
|
95
|
+
- A library pre-bundled an old copy of "react" or "react/jsx-runtime".
|
|
96
|
+
- A compiler tries to "inline" JSX instead of using the runtime.`);throw 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 Gb(e,t){var o=Zy();o!==null?o.run(NT.bind(null,e,t)):NT(e,t)}function BT(e,t){var o=B(e)||"Component";mU[o]||(mU[o]=!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
|
+
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
|
+
<%s>{%s}</%s>`,t,t,o,t,o))}function Xb(e,t){var o=Zy();o!==null?o.run(BT.bind(null,e,t)):BT(e,t)}function LT(e,t){var o=B(e)||"Component";hU[o]||(hU[o]=!0,t=String(t),e.tag===3?console.error(`Symbols are not valid as a React child.
|
|
99
|
+
root.render(%s)`,t):console.error(`Symbols are not valid as a React child.
|
|
100
|
+
<%s>%s</%s>`,o,t,o))}function qb(e,t){var o=Zy();o!==null?o.run(LT.bind(null,e,t)):LT(e,t)}function kT(e){function t(U,N){if(e){var H=U.deletions;H===null?(U.deletions=[N],U.flags|=16):H.push(N)}}function o(U,N){if(!e)return null;for(;N!==null;)t(U,N),N=N.sibling;return null}function i(U){for(var N=new Map;U!==null;)U.key===null?N.set(U.index,U):N.set(U.key,U),U=U.sibling;return N}function s(U,N){return U=Kl(U,N),U.index=0,U.sibling=null,U}function c(U,N,H){if(U.index=H,!e)return U.flags|=1048576,N;if(H=U.alternate,H!==null)return H=H.index,H<N?(U.flags|=2,N):H;return U.flags|=134217730,N}function d(U){return e&&U.alternate===null&&(U.flags|=134217730),U}function m(U,N,H,te){if(N===null||N.tag!==6)return N=Fy(H,U.mode,te),N.return=U,N._debugOwner=U,N._debugTask=U._debugTask,N._debugInfo=At,N;return N=s(N,H),N.return=U,N._debugInfo=At,N}function g(U,N,H,te){var ye=H.type;if(ye===yd)return N=T(U,N,H.props.children,te,H.key),Xs(N,H),zb(H,N,U),N;if(N!==null&&(N.elementType===ye||dT(N,H)||typeof ye==="object"&&ye!==null&&ye.$$typeof===zr&&Gs(ye)===N.type))return N=s(N,H.props),Xs(N,H),N.return=U,N._debugOwner=H._owner,N._debugInfo=At,N;return N=Db(H,U.mode,te),Xs(N,H),N.return=U,N._debugInfo=At,N}function C(U,N,H,te){if(N===null||N.tag!==4||N.stateNode.containerInfo!==H.containerInfo||N.stateNode.implementation!==H.implementation)return N=Hy(H,U.mode,te),N.return=U,N._debugInfo=At,N;return N=s(N,H.children||[]),N.return=U,N._debugInfo=At,N}function T(U,N,H,te,ye){if(N===null||N.tag!==7)return N=vf(H,U.mode,te,ye),N.return=U,N._debugOwner=U,N._debugTask=U._debugTask,N._debugInfo=At,N;return N=s(N,H),N.return=U,N._debugInfo=At,N}function F(U,N,H){if(typeof N==="string"&&N!==""||typeof N==="number"||typeof N==="bigint")return N=Fy(""+N,U.mode,H),N.return=U,N._debugOwner=U,N._debugTask=U._debugTask,N._debugInfo=At,N;if(typeof N==="object"&&N!==null){switch(N.$$typeof){case gl:return H=Db(N,U.mode,H),Xs(H,N),H.return=U,U=_r(N._debugInfo),H._debugInfo=At,At=U,H;case Cd:return N=Hy(N,U.mode,H),N.return=U,N._debugInfo=At,N;case zr:var te=_r(N._debugInfo);return N=Gs(N),U=F(U,N,H),At=te,U}if(uo(N)||he(N))return H=vf(N,U.mode,H,null),H.return=U,H._debugOwner=U,H._debugTask=U._debugTask,U=_r(N._debugInfo),H._debugInfo=At,At=U,H;if(typeof N.then==="function")return te=_r(N._debugInfo),U=F(U,Vb(N),H),At=te,U;if(N.$$typeof===_a)return F(U,Pb(U,N),H);Gb(U,N)}return typeof N==="function"&&Xb(U,N),typeof N==="symbol"&&qb(U,N),null}function j(U,N,H,te){var ye=N!==null?N.key:null;if(typeof H==="string"&&H!==""||typeof H==="number"||typeof H==="bigint")return ye!==null?null:m(U,N,""+H,te);if(typeof H==="object"&&H!==null){switch(H.$$typeof){case gl:return H.key===ye?(ye=_r(H._debugInfo),U=g(U,N,H,te),At=ye,U):null;case Cd:return H.key===ye?C(U,N,H,te):null;case zr:return ye=_r(H._debugInfo),H=Gs(H),U=j(U,N,H,te),At=ye,U}if(uo(H)||he(H)){if(ye!==null)return null;return ye=_r(H._debugInfo),U=T(U,N,H,te,null),At=ye,U}if(typeof H.then==="function")return ye=_r(H._debugInfo),U=j(U,N,Vb(H),te),At=ye,U;if(H.$$typeof===_a)return j(U,N,Pb(U,H),te);Gb(U,H)}return typeof H==="function"&&Xb(U,H),typeof H==="symbol"&&qb(U,H),null}function q(U,N,H,te,ye){if(typeof te==="string"&&te!==""||typeof te==="number"||typeof te==="bigint")return U=U.get(H)||null,m(N,U,""+te,ye);if(typeof te==="object"&&te!==null){switch(te.$$typeof){case gl:return H=U.get(te.key===null?H:te.key)||null,U=_r(te._debugInfo),N=g(N,H,te,ye),At=U,N;case Cd:return U=U.get(te.key===null?H:te.key)||null,C(N,U,te,ye);case zr:var rt=_r(te._debugInfo);return te=Gs(te),N=q(U,N,H,te,ye),At=rt,N}if(uo(te)||he(te))return H=U.get(H)||null,U=_r(te._debugInfo),N=T(N,H,te,ye,null),At=U,N;if(typeof te.then==="function")return rt=_r(te._debugInfo),N=q(U,N,H,Vb(te),ye),At=rt,N;if(te.$$typeof===_a)return q(U,N,H,Pb(N,te),ye);Gb(N,te)}return typeof te==="function"&&Xb(N,te),typeof te==="symbol"&&qb(N,te),null}function pe(U,N,H,te){if(typeof H!=="object"||H===null)return te;switch(H.$$typeof){case gl:case Cd:y(U,N,H);var ye=H.key;if(typeof ye!=="string")break;if(te===null){te=new Set,te.add(ye);break}if(!te.has(ye)){te.add(ye);break}xe(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.",ye)});break;case zr:H=Gs(H),pe(U,N,H,te)}return te}function Ne(U,N,H,te){for(var ye=null,rt=null,Xe=null,mt=N,_t=N=0,Tn=null;mt!==null&&_t<H.length;_t++){mt.index>_t?(Tn=mt,mt=null):Tn=mt.sibling;var rn=j(U,mt,H[_t],te);if(rn===null){mt===null&&(mt=Tn);break}ye=pe(U,rn,H[_t],ye),e&&mt&&rn.alternate===null&&t(U,mt),N=c(rn,N,_t),Xe===null?rt=rn:Xe.sibling=rn,Xe=rn,mt=Tn}if(_t===H.length)return o(U,mt),vt&&Jl(U,_t),rt;if(mt===null){for(;_t<H.length;_t++)mt=F(U,H[_t],te),mt!==null&&(ye=pe(U,mt,H[_t],ye),N=c(mt,N,_t),Xe===null?rt=mt:Xe.sibling=mt,Xe=mt);return vt&&Jl(U,_t),rt}for(mt=i(mt);_t<H.length;_t++)Tn=q(mt,U,_t,H[_t],te),Tn!==null&&(ye=pe(U,Tn,H[_t],ye),e&&(rn=Tn.alternate,rn!==null&&mt.delete(rn.key===null?_t:rn.key)),N=c(Tn,N,_t),Xe===null?rt=Tn:Xe.sibling=Tn,Xe=Tn);return e&&mt.forEach(function(Is){return t(U,Is)}),vt&&Jl(U,_t),rt}function Ge(U,N,H,te){if(H==null)throw Error("An iterable object provided no iterator.");for(var ye=null,rt=null,Xe=N,mt=N=0,_t=null,Tn=null,rn=H.next();Xe!==null&&!rn.done;mt++,rn=H.next()){Xe.index>mt?(_t=Xe,Xe=null):_t=Xe.sibling;var Is=j(U,Xe,rn.value,te);if(Is===null){Xe===null&&(Xe=_t);break}Tn=pe(U,Is,rn.value,Tn),e&&Xe&&Is.alternate===null&&t(U,Xe),N=c(Is,N,mt),rt===null?ye=Is:rt.sibling=Is,rt=Is,Xe=_t}if(rn.done)return o(U,Xe),vt&&Jl(U,mt),ye;if(Xe===null){for(;!rn.done;mt++,rn=H.next())Xe=F(U,rn.value,te),Xe!==null&&(Tn=pe(U,Xe,rn.value,Tn),N=c(Xe,N,mt),rt===null?ye=Xe:rt.sibling=Xe,rt=Xe);return vt&&Jl(U,mt),ye}for(Xe=i(Xe);!rn.done;mt++,rn=H.next())_t=q(Xe,U,mt,rn.value,te),_t!==null&&(Tn=pe(U,_t,rn.value,Tn),e&&(rn=_t.alternate,rn!==null&&Xe.delete(rn.key===null?mt:rn.key)),N=c(_t,N,mt),rt===null?ye=_t:rt.sibling=_t,rt=_t);return e&&Xe.forEach(function(OV){return t(U,OV)}),vt&&Jl(U,mt),ye}function gt(U,N,H,te){if(typeof H==="object"&&H!==null&&H.type===yd&&H.key===null&&H.props.ref===void 0&&(zb(H,null,U),H=H.props.children),typeof H==="object"&&H!==null){switch(H.$$typeof){case gl:var ye=_r(H._debugInfo);e:{for(var rt=H.key;N!==null;){if(N.key===rt){if(rt=H.type,rt===yd){if(N.tag===7){o(U,N.sibling),te=s(N,H.props.children),Xs(te,H),te.return=U,te._debugOwner=H._owner,te._debugInfo=At,zb(H,te,U),U=te;break e}}else if(N.elementType===rt||dT(N,H)||typeof rt==="object"&&rt!==null&&rt.$$typeof===zr&&Gs(rt)===N.type){o(U,N.sibling),te=s(N,H.props),Xs(te,H),te.return=U,te._debugOwner=H._owner,te._debugInfo=At,U=te;break e}o(U,N);break}else t(U,N);N=N.sibling}H.type===yd?(te=vf(H.props.children,U.mode,te,H.key),Xs(te,H),te.return=U,te._debugOwner=U,te._debugTask=U._debugTask,te._debugInfo=At,zb(H,te,U),U=te):(te=Db(H,U.mode,te),Xs(te,H),te.return=U,te._debugInfo=At,U=te)}return U=d(U),At=ye,U;case Cd:e:{ye=H;for(H=ye.key;N!==null;){if(N.key===H)if(N.tag===4&&N.stateNode.containerInfo===ye.containerInfo&&N.stateNode.implementation===ye.implementation){o(U,N.sibling),te=s(N,ye.children||[]),te.return=U,U=te;break e}else{o(U,N);break}else t(U,N);N=N.sibling}te=Hy(ye,U.mode,te),te.return=U,U=te}return d(U);case zr:return ye=_r(H._debugInfo),H=Gs(H),U=gt(U,N,H,te),At=ye,U}if(uo(H))return Ne(U,N,H,te);if(he(H)){if(ye=H,H=he(ye),typeof H!=="function")throw Error("An object is not an iterable. This error is likely caused by a bug in React. Please file an issue.");if(rt=H.call(ye),rt===ye){if(U.tag!==0||Object.prototype.toString.call(U.type)!=="[object GeneratorFunction]"||Object.prototype.toString.call(rt)!=="[object Generator]")dU||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."),dU=!0}else ye.entries!==H||j0||(console.error("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),j0=!0);return Ge(U,N,rt,te)}if(typeof H.then==="function")return ye=_r(H._debugInfo),U=gt(U,N,Vb(H),te),At=ye,U;if(H.$$typeof===_a)return gt(U,N,Pb(U,H),te);Gb(U,H)}if(typeof H==="string"&&H!==""||typeof H==="number"||typeof H==="bigint")return ye=""+H,N!==null&&N.tag===6?(o(U,N.sibling),te=s(N,ye),te.return=U,U=te):(o(U,N),te=Fy(ye,U.mode,te),te.return=U,te._debugOwner=U,te._debugTask=U._debugTask,te._debugInfo=At,U=te),d(U);return typeof H==="function"&&Xb(U,H),typeof H==="symbol"&&qb(U,H),o(U,N)}return function(U,N,H,te){var ye=At;At=null;try{Eh=0;var rt=gt(U,N,H,te);return zd=null,rt}catch(Tn){if(Tn===Hd||Tn===rI)throw Tn;var Xe=v(29,Tn,null,U.mode);Xe.lanes=te,Xe.return=U;var mt=Xe._debugInfo=At;if(Xe._debugOwner=U._debugOwner,Xe._debugTask=U._debugTask,mt!=null){for(var _t=mt.length-1;0<=_t;_t--)if(typeof mt[_t].stack==="string"){Xe._debugOwner=mt[_t],Xe._debugTask=mt[_t].debugTask;break}}return Xe}finally{At=ye}}}function PT(e,t){var o=uo(e);return e=!o&&typeof he(e)==="function",o||e?(o=o?"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>",o,t,o),!1):!0}function Ky(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Jy(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 qs(e){return{lane:e,tag:bU,payload:null,callback:null,next:null}}function $s(e,t,o){var i=e.updateQueue;if(i===null)return null;if(i=i.shared,H0===i&&!vU){var s=B(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
|
+
|
|
102
|
+
Please update the following component: %s`,s),vU=!0}if((jt&mo)!==Do)return s=i.pending,s===null?t.next=t:(t.next=s.next,s.next=t),i.pending=t,t=Eb(e),uT(e,null,o),t;return Tb(e,i,t,o),Eb(e)}function Mm(e,t,o){if(t=t.updateQueue,t!==null&&(t=t.shared,(o&4194048)!==0)){var i=t.lanes;i&=e.pendingLanes,o|=i,t.lanes=o,ue(e,o)}}function $b(e,t){var o=e.updateQueue,i=e.alternate;if(i!==null&&(i=i.updateQueue,o===i)){var s=null,c=null;if(o=o.firstBaseUpdate,o!==null){do{var d={lane:o.lane,tag:o.tag,payload:o.payload,callback:null,next:null};c===null?s=c=d:c=c.next=d,o=o.next}while(o!==null);c===null?s=c=t:c=c.next=t}else s=c=t;o={baseState:i.baseState,firstBaseUpdate:s,lastBaseUpdate:c,shared:i.shared,callbacks:i.callbacks},e.updateQueue=o;return}e=o.lastBaseUpdate,e===null?o.firstBaseUpdate=t:e.next=t,o.lastBaseUpdate=t}function Um(){if(z0){var e=Fd;if(e!==null)throw e}}function Nm(e,t,o,i){z0=!1;var s=e.updateQueue;hc=!1,H0=s.shared;var{firstBaseUpdate:c,lastBaseUpdate:d}=s,m=s.shared.pending;if(m!==null){s.shared.pending=null;var g=m,C=g.next;g.next=null,d===null?c=C:d.next=C,d=g;var T=e.alternate;T!==null&&(T=T.updateQueue,m=T.lastBaseUpdate,m!==d&&(m===null?T.firstBaseUpdate=C:m.next=C,T.lastBaseUpdate=g))}if(c!==null){var F=s.baseState;d=0,T=C=g=null,m=c;do{var j=m.lane&-536870913,q=j!==m.lane;if(q?(ut&j)===j:(i&j)===j){j!==0&&j===mc&&(z0=!0),T!==null&&(T=T.next={lane:0,tag:m.tag,payload:m.payload,callback:null,next:null});e:{j=e;var pe=m,Ne=t,Ge=o;switch(pe.tag){case xU:if(pe=pe.payload,typeof pe==="function"){Pd=!0;var gt=pe.call(Ge,F,Ne);if(j.mode&rr){$t(!0);try{pe.call(Ge,F,Ne)}finally{$t(!1)}}Pd=!1,F=gt;break e}F=pe;break e;case F0:j.flags=j.flags&-65537|128;case bU:if(gt=pe.payload,typeof gt==="function"){if(Pd=!0,pe=gt.call(Ge,F,Ne),j.mode&rr){$t(!0);try{gt.call(Ge,F,Ne)}finally{$t(!1)}}Pd=!1}else pe=gt;if(pe===null||pe===void 0)break e;F=xt({},F,pe);break e;case IU:hc=!0}}j=m.callback,j!==null&&(e.flags|=64,q&&(e.flags|=8192),q=s.callbacks,q===null?s.callbacks=[j]:q.push(j))}else q={lane:j,tag:m.tag,payload:m.payload,callback:m.callback,next:null},T===null?(C=T=q,g=F):T=T.next=q,d|=j;if(m=m.next,m===null)if(m=s.shared.pending,m===null)break;else q=m,m=q.next,q.next=null,s.lastBaseUpdate=q,s.shared.pending=null}while(1);T===null&&(g=F),s.baseState=g,s.firstBaseUpdate=C,s.lastBaseUpdate=T,c===null&&(s.shared.lanes=0),xc|=d,e.lanes=d,e.memoizedState=F}H0=null}function jT(e,t){if(typeof e!=="function")throw Error("Invalid argument passed as callback. Expected a function. Instead received: "+e);e.call(t)}function VH(e,t){var o=e.shared.hiddenCallbacks;if(o!==null)for(e.shared.hiddenCallbacks=null,e=0;e<o.length;e++)jT(o[e],t)}function FT(e,t){var o=e.callbacks;if(o!==null)for(e.callbacks=null,e=0;e<o.length;e++)jT(o[e],t)}function HT(e,t){var o=Tl;se(lI,o,e),se(gc,t,e),Tl=o|t.baseLanes}function Qy(e){se(lI,Tl,e),se(gc,gc.current,e)}function eS(e){Tl=lI.current,fe(gc,e),fe(lI,e)}function Ys(e){var t=e.alternate;se(Ho,Ho.current&Vd,e),se(Fo,e,e),ir===null&&(t===null||gc.current!==null?ir=e:t.memoizedState!==null&&(ir=e))}function tS(e){se(Ho,Ho.current,e),se(Fo,e,e),ir===null&&(ir=e)}function zT(e){e.tag===22?(se(Ho,Ho.current,e),se(Fo,e,e),ir===null&&(ir=e)):Ws(e)}function Ws(e){se(Ho,Ho.current,e),se(Fo,Fo.current,e)}function di(e){fe(Fo,e),ir===e&&(ir=null),fe(Ho,e)}function Bm(e,t){se(Fo,Fo.current,e),se(Ho,t,e)}function nS(e){fe(Ho,e),fe(Fo,e),ir===e&&(ir=null)}function Yb(e){for(var t=e;t!==null;){if(t.tag===13){var o=t.memoizedState;if(o!==null&&(o=o.dehydrated,o===null||D_(o)||M_(o)))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 Ot(){var e=ee;Zi===null?Zi=[e]:Zi.push(e)}function Ie(){var e=ee;if(Zi!==null&&(ms++,Zi[ms]!==e)){var t=B(st);if(!CU.has(t)&&(CU.add(t),Zi!==null)){for(var o="",i=0;i<=ms;i++){var s=Zi[i],c=i===ms?e:s;for(s=i+1+". "+s;30>s.length;)s+=" ";s+=c+`
|
|
103
|
+
`,o+=s}console.error(`React has detected a change in the order of Hooks called by %s. This will lead to bugs and errors if not fixed. For more information, read the Rules of Hooks: https://react.dev/link/rules-of-hooks
|
|
104
|
+
|
|
105
|
+
Previous render Next render
|
|
106
|
+
------------------------------------------------------
|
|
107
|
+
%s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
108
|
+
`,t,o)}}}function od(e){e===void 0||e===null||uo(e)||console.error("%s received a final argument that is not an array (instead, received `%s`). When specified, the final argument must be an array.",ee,typeof e)}function Wb(){var e=B(st);SU.has(e)||(SU.add(e),console.error("ReactDOM.useFormState has been renamed to React.useActionState. Please update %s to use React.useActionState.",e))}function Gn(){throw Error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
|
|
109
|
+
1. You might have mismatching versions of React and the renderer (such as React DOM)
|
|
110
|
+
2. You might be breaking the Rules of Hooks
|
|
111
|
+
3. You might have more than one copy of React in the same app
|
|
112
|
+
See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`)}function oS(e,t){if(Nh)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.",ee),!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
|
+
|
|
114
|
+
Previous: %s
|
|
115
|
+
Incoming: %s`,ee,"["+t.join(", ")+"]","["+e.join(", ")+"]");for(var o=0;o<t.length&&o<e.length;o++)if(!Mr(e[o],t[o]))return!1;return!0}function rS(e,t,o,i,s,c){if(ps=c,st=t,Zi=e!==null?e._debugHookTypes:null,ms=-1,Nh=e!==null&&e.type!==t.type,Object.prototype.toString.call(o)==="[object AsyncFunction]"||Object.prototype.toString.call(o)==="[object AsyncGeneratorFunction]")c=B(st),V0.has(c)||(V0.add(c),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.",c===null?"An unknown Component":"<"+c+">"));t.memoizedState=null,t.updateQueue=null,t.lanes=0,oe.H=e!==null&&e.memoizedState!==null?X0:Zi!==null?_U:G0,Gf=c=(t.mode&rr)!==lt;var d=B0(o,i,s);if(Gf=!1,Xd&&(d=iS(t,o,i,s)),c){$t(!0);try{d=iS(t,o,i,s)}finally{$t(!1)}}return VT(e,t),d}function VT(e,t){t._debugHookTypes=Zi,t.dependencies===null?_l!==null&&(t.dependencies={lanes:0,firstContext:null,_debugThenableState:_l}):t.dependencies._debugThenableState=_l;var o=_l;if(Hf!==null&&UT(Hf,t)&&(o!==null||aI===null||P0||(P0=!0,console.error(aI)),aI=Hf=null),oe.H=fI,o=sn!==null&&sn.next!==null,ps=0,Zi=ee=eo=sn=st=null,ms=-1,e!==null&&(e.flags&1206910976)!==(t.flags&1206910976)&&console.error("Internal React error: Expected static flag was missing. Please notify the React team."),sI=!1,Uh=0,_l=null,o)throw Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");e===null||Kn||(e=e.dependencies,e!==null&&kb(e)&&(Kn=!0)),Th?(Th=!1,e=!0):e=!1,e&&(t=B(t)||"Unknown",yU.has(t)||V0.has(t)||(yU.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 iS(e,t,o,i){st=e;var s=0;do{if(Xd&&(_l=null),Uh=0,Xd=!1,s>=oV)throw Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");if(s+=1,Nh=!1,eo=sn=null,e.updateQueue!=null){var c=e.updateQueue;c.lastEffect=null,c.events=null,c.stores=null,c.memoCache!=null&&(c.memoCache.index=0)}ms=-1,oe.H=RU,c=B0(t,o,i)}while(Xd);return c}function GH(){var e=oe.H,t=e.useState()[0];return t=typeof t.then==="function"?Lm(t):t,e=e.useState()[0],(sn!==null?sn.memoizedState:null)!==e&&(st.flags|=1024),t}function aS(){var e=cI!==0;return cI=0,e}function lS(e,t,o){t.updateQueue=e.updateQueue,t.flags=(t.mode&Oa)!==lt?t.flags&-805308421:t.flags&-2053,e.lanes&=~o}function sS(e){if(sI){for(e=e.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}sI=!1}ps=0,Zi=eo=sn=st=null,ms=-1,ee=null,Xd=!1,Uh=cI=0,_l=null}function Rr(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return eo===null?st.memoizedState=eo=e:eo=eo.next=e,eo}function Kt(){if(sn===null){var e=st.alternate;e=e!==null?e.memoizedState:null}else e=sn.next;var t=eo===null?st.memoizedState:eo.next;if(t!==null)eo=t,sn=e;else{if(e===null){if(st.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.")}sn=e,e={memoizedState:sn.memoizedState,baseState:sn.baseState,baseQueue:sn.baseQueue,queue:sn.queue,next:null},eo===null?st.memoizedState=eo=e:eo=eo.next=e}return eo}function Zb(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Lm(e){var t=Uh;return Uh+=1,_l===null&&(_l=AT()),e=ET(_l,e,t,st),t=st,(eo===null?t.memoizedState:eo.next)===null&&(t=t.alternate,oe.H=t!==null&&t.memoizedState!==null?X0:G0),e}function Zs(e){if(e!==null&&typeof e==="object"){if(typeof e.then==="function")return Lm(e);if(e.$$typeof===Mz)return;if(e.$$typeof===_a)return Cn(e)}throw Error("An unsupported type was passed to use(): "+String(e))}function Of(e){var t=null,o=st.updateQueue;if(o!==null&&(t=o.memoCache),t==null){var i=st.alternate;i!==null&&(i=i.updateQueue,i!==null&&(i=i.memoCache,i!=null&&(t={data:i.data.map(function(s){return s.slice()}),index:0})))}if(t==null&&(t={data:[],index:0}),o===null&&(o=Zb(),st.updateQueue=o),o.memoCache=t,o=t.data[t.index],o===void 0||Nh)for(o=t.data[t.index]=Array(e),i=0;i<e;i++)o[i]=Dz;else o.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.",o.length,e);return t.index++,o}function Ca(e,t){return typeof t==="function"?t(e):t}function cS(e,t,o){var i=Rr();if(o!==void 0){var s=o(t);if(Gf){$t(!0);try{o(t)}finally{$t(!1)}}}else s=t;return i.memoizedState=i.baseState=s,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:s},i.queue=e,e=e.dispatch=WH.bind(null,st,e),[i.memoizedState,e]}function rd(e){var t=Kt();return fS(t,sn,e)}function fS(e,t,o){var i=e.queue;if(i===null)throw Error("Should have a queue. You are likely calling Hooks conditionally, which is not allowed. (https://react.dev/link/invalid-hook-call)");i.lastRenderedReducer=o;var s=e.baseQueue,c=i.pending;if(c!==null){if(s!==null){var d=s.next;s.next=c.next,c.next=d}t.baseQueue!==s&&console.error("Internal error: Expected work-in-progress queue to be a clone. This is a bug in React."),t.baseQueue=s=c,i.pending=null}if(c=e.baseState,s===null)e.memoizedState=c;else{t=s.next;var m=d=null,g=null,C=t,T=!1;do{var F=C.lane&-536870913;if(F!==C.lane?(ut&F)===F:(ps&F)===F){var j=C.revertLane;if(j===0)g!==null&&(g=g.next={lane:0,revertLane:0,gesture:null,action:C.action,hasEagerState:C.hasEagerState,eagerState:C.eagerState,next:null}),F===mc&&(T=!0);else if((ps&j)===j){C=C.next,j===mc&&(T=!0);continue}else F={lane:0,revertLane:C.revertLane,gesture:null,action:C.action,hasEagerState:C.hasEagerState,eagerState:C.eagerState,next:null},g===null?(m=g=F,d=c):g=g.next=F,st.lanes|=j,xc|=j;F=C.action,Gf&&o(c,F),c=C.hasEagerState?C.eagerState:o(c,F)}else j={lane:F,revertLane:C.revertLane,gesture:C.gesture,action:C.action,hasEagerState:C.hasEagerState,eagerState:C.eagerState,next:null},g===null?(m=g=j,d=c):g=g.next=j,st.lanes|=F,xc|=F;C=C.next}while(C!==null&&C!==t);if(g===null?d=c:g.next=m,!Mr(c,e.memoizedState)&&(Kn=!0,T&&(o=Fd,o!==null)))throw o;e.memoizedState=c,e.baseState=d,e.baseQueue=g,i.lastRenderedState=c}return s===null&&(i.lanes=0),[e.memoizedState,i.dispatch]}function km(e){var t=Kt(),o=t.queue;if(o===null)throw Error("Should have a queue. You are likely calling Hooks conditionally, which is not allowed. (https://react.dev/link/invalid-hook-call)");o.lastRenderedReducer=e;var{dispatch:i,pending:s}=o,c=t.memoizedState;if(s!==null){o.pending=null;var d=s=s.next;do c=e(c,d.action),d=d.next;while(d!==s);Mr(c,t.memoizedState)||(Kn=!0),t.memoizedState=c,t.baseQueue===null&&(t.baseState=c),o.lastRenderedState=c}return[c,i]}function uS(e,t,o){var i=st,s=Rr();if(vt){if(o===void 0)throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");var c=o();Gd||c===o()||(console.error("The result of getServerSnapshot should be cached to avoid an infinite loop"),Gd=!0)}else{if(c=t(),Gd||(o=t(),Mr(c,o)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),Gd=!0)),cn===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");(ut&127)!==0||GT(i,t,c)}return s.memoizedState=c,o={value:c,getSnapshot:t},s.queue=o,ex(qT.bind(null,i,o,e),[e]),i.flags|=2048,ad(Wi|ar,{destroy:void 0},XT.bind(null,i,o,c,t),null),c}function Kb(e,t,o){var i=st,s=Kt(),c=vt;if(c){if(o===void 0)throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");o=o()}else if(o=t(),!Gd){var d=t();Mr(o,d)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),Gd=!0)}if(d=!Mr((sn||s).memoizedState,o))s.memoizedState=o,Kn=!0;s=s.queue;var m=qT.bind(null,i,s,e);if(Hr(2048,ar,m,[e]),e=s.getSnapshot!==t||d||eo!==null&&(eo.memoizedState.tag&Wi)!==Mh,ad(e?Wi|ar:ar,{destroy:void 0},XT.bind(null,i,s,o,t),null),e){if(i.flags|=2048,cn===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");c||(ps&127)!==0||GT(i,t,o)}return o}function GT(e,t,o){e.flags|=16384,e={getSnapshot:t,value:o},t=st.updateQueue,t===null?(t=Zb(),st.updateQueue=t,t.stores=[e]):(o=t.stores,o===null?t.stores=[e]:o.push(e))}function XT(e,t,o,i){t.value=o,t.getSnapshot=i,$T(t)&&YT(e)}function qT(e,t,o){return o(function(){$T(t)&&(rl(2,"updateSyncExternalStore()",e),YT(e))})}function $T(e){var t=e.getSnapshot;e=e.value;try{var o=t();return!Mr(e,o)}catch(i){return!0}}function YT(e){var t=nr(e,2);t!==null&&Ln(t,e,2)}function dS(e){var t=Rr();if(typeof e==="function"){var o=e;if(e=o(),Gf){$t(!0);try{o()}finally{$t(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ca,lastRenderedState:e},t}function pS(e){e=dS(e);var t=e.queue,o=p2.bind(null,st,t);return t.dispatch=o,[e.memoizedState,o]}function mS(e){var t=Rr();t.memoizedState=t.baseState=e;var o={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=o,t=AS.bind(null,st,!0,o),o.dispatch=t,[e,t]}function WT(e,t){var o=Kt();return ZT(o,sn,e,t)}function ZT(e,t,o,i){return e.baseState=o,fS(e,sn,typeof i==="function"?i:Ca)}function KT(e,t){var o=Kt();if(sn!==null)return ZT(o,sn,e,t);return o.baseState=e,[e,o.queue.dispatch]}function XH(e,t,o,i,s){if(ax(e))throw Error("Cannot update action state while rendering.");if(e=t.action,e!==null){var c={payload:s,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(d){c.listeners.push(d)}};oe.T!==null?o(!0):c.isTransition=!1,i(c),o=t.pending,o===null?(c.next=t.pending=c,JT(t,c)):(c.next=o.next,t.pending=o.next=c)}}function JT(e,t){var{action:o,payload:i}=t,s=e.state;if(t.isTransition){var c=oe.T,d={};d.types=c!==null?c.types:null,d._updatedFibers=new Set,oe.T=d;try{var m=o(s,i),g=oe.S;g!==null&&g(d,m),QT(e,t,m)}catch(C){hS(e,t,C)}finally{c!==null&&d.types!==null&&(c.types!==null&&c.types!==d.types&&console.error("We expected inner Transitions to have transferred the outer types set and that you cannot add to the outer Transition while inside the inner.This is a bug in React."),c.types=d.types),oe.T=c,c===null&&d._updatedFibers&&(e=d._updatedFibers.size,d._updatedFibers.clear(),10<e&&console.warn("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."))}}else try{d=o(s,i),QT(e,t,d)}catch(C){hS(e,t,C)}}function QT(e,t,o){o!==null&&typeof o==="object"&&typeof o.then==="function"?(oe.asyncTransitions++,o.then(ix,ix),o.then(function(i){e2(e,t,i)},function(i){return hS(e,t,i)}),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.")):e2(e,t,o)}function e2(e,t,o){t.status="fulfilled",t.value=o,t2(t),e.state=o,t=e.pending,t!==null&&(o=t.next,o===t?e.pending=null:(o=o.next,t.next=o,JT(e,o)))}function hS(e,t,o){var i=e.pending;if(e.pending=null,i!==null){i=i.next;do t.status="rejected",t.reason=o,t2(t),t=t.next;while(t!==i)}e.action=null}function t2(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function n2(e,t){return t}function id(e,t){if(vt){var o=cn.formState;if(o!==null){e:{var i=st;if(vt){if(un){t:{var s=un;for(var c=$i;s.nodeType!==8;){if(!c){s=null;break t}if(s=hi(s.nextSibling),s===null){s=null;break t}}c=s.data,s=c===gR||c===cN?s:null}if(s){un=hi(s.nextSibling),i=s.data===gR;break e}}zs(i)}i=!1}i&&(t=o[0])}}return o=Rr(),o.memoizedState=o.baseState=t,i={pending:null,lanes:0,dispatch:null,lastRenderedReducer:n2,lastRenderedState:t},o.queue=i,o=p2.bind(null,st,i),i.dispatch=o,i=dS(!1),c=AS.bind(null,st,!1,i.queue),i=Rr(),s={state:t,dispatch:null,action:e,pending:null},i.queue=s,o=XH.bind(null,st,s,c,o),s.dispatch=o,i.memoizedState=e,[t,o,!1]}function Jb(e){var t=Kt();return o2(t,sn,e)}function o2(e,t,o){if(t=fS(e,t,n2)[0],e=rd(Ca)[0],typeof t==="object"&&t!==null&&typeof t.then==="function")try{var i=Lm(t)}catch(d){if(d===Hd)throw rI;throw d}else i=t;t=Kt();var s=t.queue,c=s.dispatch;return o!==t.memoizedState&&(st.flags|=2048,ad(Wi|ar,{destroy:void 0},qH.bind(null,s,o),null)),[i,c,e]}function qH(e,t){e.action=t}function Qb(e){var t=Kt(),o=sn;if(o!==null)return o2(t,o,e);Kt(),t=t.memoizedState,o=Kt();var i=o.queue.dispatch;return o.memoizedState=e,[t,i,!1]}function ad(e,t,o,i){return e={tag:e,create:o,deps:i,inst:t,next:null},t=st.updateQueue,t===null&&(t=Zb(),st.updateQueue=t),o=t.lastEffect,o===null?t.lastEffect=e.next=e:(i=o.next,o.next=e,e.next=i,t.lastEffect=e),e}function gS(e){var t=Rr();return e={current:e},t.memoizedState=e}function wf(e,t,o,i){var s=Rr();st.flags|=e,s.memoizedState=ad(Wi|t,{destroy:void 0},o,i===void 0?null:i)}function Hr(e,t,o,i){var s=Kt();i=i===void 0?null:i;var c=s.memoizedState.inst;sn!==null&&i!==null&&oS(i,sn.memoizedState.deps)?s.memoizedState=ad(t,c,o,i):(st.flags|=e,s.memoizedState=ad(Wi|t,c,o,i))}function ex(e,t){(st.mode&Oa)!==lt?wf(545261568,ar,e,t):wf(8390656,ar,e,t)}function $H(e){st.flags|=4;var t=st.updateQueue;if(t===null)t=Zb(),st.updateQueue=t,t.events=[e];else{var o=t.events;o===null?t.events=[e]:o.push(e)}}function bS(e){var t=Rr(),o={impl:e};return t.memoizedState=o,function(){if((jt&mo)!==Do)throw Error("A function wrapped in useEffectEvent can't be called during rendering.");return o.impl.apply(void 0,arguments)}}function tx(e){var t=Kt().memoizedState;return $H({ref:t,nextImpl:e}),function(){if((jt&mo)!==Do)throw Error("A function wrapped in useEffectEvent can't be called during rendering.");return t.impl.apply(void 0,arguments)}}function xS(e,t){var o=4194308;return(st.mode&Oa)!==lt&&(o|=268435456),wf(o,xi,e,t)}function r2(e,t){if(typeof t==="function"){e=e();var o=t(e);return function(){typeof o==="function"?o():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 IS(e,t,o){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"),o=o!==null&&o!==void 0?o.concat([e]):null;var i=4194308;(st.mode&Oa)!==lt&&(i|=268435456),wf(i,xi,r2.bind(null,t,e),o)}function nx(e,t,o){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"),o=o!==null&&o!==void 0?o.concat([e]):null,Hr(4,xi,r2.bind(null,t,e),o)}function vS(e,t){return Rr().memoizedState=[e,t===void 0?null:t],e}function ox(e,t){var o=Kt();t=t===void 0?null:t;var i=o.memoizedState;if(t!==null&&oS(t,i[1]))return i[0];return o.memoizedState=[e,t],e}function CS(e,t){var o=Rr();t=t===void 0?null:t;var i=e();if(Gf){$t(!0);try{e()}finally{$t(!1)}}return o.memoizedState=[i,t],i}function rx(e,t){var o=Kt();t=t===void 0?null:t;var i=o.memoizedState;if(t!==null&&oS(t,i[1]))return i[0];if(i=e(),Gf){$t(!0);try{e()}finally{$t(!1)}}return o.memoizedState=[i,t],i}function yS(e,t){var o=Rr();return SS(o,e,t)}function i2(e,t){var o=Kt();return l2(o,sn.memoizedState,e,t)}function a2(e,t){var o=Kt();return sn===null?SS(o,e,t):l2(o,sn.memoizedState,e,t)}function SS(e,t,o){if(o===void 0||(ps&1073741824)!==0&&(ut&261930)===0)return e.memoizedState=t;return e.memoizedState=o,e=IE(),st.lanes|=e,xc|=e,o}function l2(e,t,o,i){if(Mr(o,t))return o;if(gc.current!==null)return e=SS(e,o,i),Mr(e,t)||(Kn=!0),e;if((ps&106)===0||(ps&1073741824)!==0&&(ut&261930)===0)return Kn=!0,e.memoizedState=o;return e=IE(),st.lanes|=e,xc|=e,t}function ix(){oe.asyncTransitions--}function s2(e,t,o,i,s){var c=Wt.p;Wt.p=c!==0&&c<Ra?c:Ra;var d=oe.T,m={};m.types=d!==null?d.types:null,m._updatedFibers=new Set,oe.T=m,AS(e,!1,t,o);try{var g=s(),C=oe.S;if(C!==null&&C(m,g),g!==null&&typeof g==="object"&&typeof g.then==="function"){oe.asyncTransitions++,g.then(ix,ix);var T=zH(g,i);Pm(e,t,T,pi(e))}else Pm(e,t,i,pi(e))}catch(F){Pm(e,t,{then:function(){},status:"rejected",reason:F},pi(e))}finally{Wt.p=c,d!==null&&m.types!==null&&(d.types!==null&&d.types!==m.types&&console.error("We expected inner Transitions to have transferred the outer types set and that you cannot add to the outer Transition while inside the inner.This is a bug in React."),d.types=m.types),oe.T=d,d===null&&m._updatedFibers&&(e=m._updatedFibers.size,m._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 _S(e,t,o,i){if(e.tag!==5)throw Error("Expected the form instance to be a HostComponent. This is a bug in React.");var s=c2(e).queue;FH(e),s2(e,s,t,ou,o===null?x:function(){return f2(e),o(i)})}function c2(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:ou,baseState:ou,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ca,lastRenderedState:ou},next:null};var o={};return t.next={memoizedState:o,baseState:o,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ca,lastRenderedState:o},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function f2(e){oe.T===null&&console.error("requestFormReset was called outside a transition or action. To fix, move to an action, or wrap with startTransition.");var t=c2(e);t.next===null&&(t=e.alternate.memoizedState),Pm(e,t.next.queue,{},pi(e))}function RS(){var e=dS(!1);return e=s2.bind(null,st,e.queue,!0,!1),Rr().memoizedState=e,[!1,e]}function u2(){var e=rd(Ca)[0],t=Kt().memoizedState;return[typeof e==="boolean"?e:Lm(e),t]}function d2(){var e=km(Ca)[0],t=Kt().memoizedState;return[typeof e==="boolean"?e:Lm(e),t]}function Af(){return Cn(ap)}function OS(){var e=Rr(),t=cn.identifierPrefix;if(vt){var o=cs,i=ss;o=(i&~(1<<32-Ar(i)-1)).toString(32)+o,t="_"+t+"R_"+o,o=cI++,0<o&&(t+="H"+o.toString(32)),t+="_"}else o=nV++,t="_"+t+"r_"+o.toString(32)+"_";return e.memoizedState=t}function wS(){return Rr().memoizedState=YH.bind(null,st)}function YH(e,t){for(var o=e.return;o!==null;){switch(o.tag){case 24:case 3:var i=pi(o),s=qs(i),c=$s(o,s,i);c!==null&&(rl(i,"refresh()",e),Ln(c,o,i),Mm(c,o,i)),e=qy(),t!==null&&t!==void 0&&c!==null&&console.error("The seed argument is not enabled outside experimental channels."),s.payload={cache:e};return}o=o.return}}function WH(e,t,o){var i=arguments;typeof i[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()."),i=pi(e);var s={lane:i,revertLane:0,gesture:null,action:o,hasEagerState:!1,eagerState:null,next:null};ax(e)?m2(t,s):(s=ky(e,t,s,i),s!==null&&(rl(i,"dispatch()",e),Ln(s,e,i),h2(s,t,i)))}function p2(e,t,o){var i=arguments;typeof i[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()."),i=pi(e),Pm(e,t,o,i)&&rl(i,"setState()",e)}function Pm(e,t,o,i){var s={lane:i,revertLane:0,gesture:null,action:o,hasEagerState:!1,eagerState:null,next:null};if(ax(e))m2(t,s);else{var c=e.alternate;if(e.lanes===0&&(c===null||c.lanes===0)&&(c=t.lastRenderedReducer,c!==null)){var d=oe.H;oe.H=Ea;try{var m=t.lastRenderedState,g=c(m,o);if(s.hasEagerState=!0,s.eagerState=g,Mr(g,m))return Tb(e,t,s,0),cn===null&&Ab(),!1}catch(C){}finally{oe.H=d}}if(o=ky(e,t,s,i),o!==null)return Ln(o,e,i),h2(o,t,i),!0}return!1}function AS(e,t,o,i){if(oe.T===null&&mc===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."),i={lane:2,revertLane:x_(),gesture:null,action:i,hasEagerState:!1,eagerState:null,next:null},ax(e)){if(t)throw Error("Cannot update optimistic state while rendering.");console.error("Cannot call startTransition while rendering.")}else t=ky(e,o,i,2),t!==null&&(rl(2,"setOptimistic()",e),Ln(t,e,2))}function ax(e){var t=e.alternate;return e===st||t!==null&&t===st}function m2(e,t){Xd=sI=!0;var o=e.pending;o===null?t.next=t:(t.next=o.next,o.next=t),e.pending=t}function h2(e,t,o){if((o&4194048)!==0){var i=t.lanes;i&=e.pendingLanes,o|=i,t.lanes=o,ue(e,o)}}function TS(e){if(e!==null&&typeof e!=="function"){var t=String(e);LU.has(t)||(LU.add(t),console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",e))}}function ES(e,t,o,i){var s=e.memoizedState,c=o(i,s);if(e.mode&rr){$t(!0);try{c=o(i,s)}finally{$t(!1)}}c===void 0&&(t=le(t)||"Component",MU.has(t)||(MU.add(t),console.error("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",t))),s=c===null||c===void 0?s:xt({},s,c),e.memoizedState=s,e.lanes===0&&(e.updateQueue.baseState=s)}function g2(e,t,o,i,s,c,d){var m=e.stateNode;if(typeof m.shouldComponentUpdate==="function"){if(o=m.shouldComponentUpdate(i,c,d),e.mode&rr){$t(!0);try{o=m.shouldComponentUpdate(i,c,d)}finally{$t(!1)}}return o===void 0&&console.error("%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",le(t)||"Component"),o}return t.prototype&&t.prototype.isPureReactComponent?!wm(o,i)||!wm(s,c):!0}function b2(e,t,o,i){var s=t.state;typeof t.componentWillReceiveProps==="function"&&t.componentWillReceiveProps(o,i),typeof t.UNSAFE_componentWillReceiveProps==="function"&&t.UNSAFE_componentWillReceiveProps(o,i),t.state!==s&&(e=B(e)||"Component",wU.has(e)||(wU.add(e),console.error("%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",e)),q0.enqueueReplaceState(t,t.state,null))}function Tf(e,t){var o=t;if("ref"in t){o={};for(var i in t)i!=="ref"&&(o[i]=t[i])}if(e=e.defaultProps){o===t&&(o=xt({},o));for(var s in e)o[s]===void 0&&(o[s]=e[s])}return o}function x2(e){v0(e),console.warn(`%s
|
|
116
|
+
|
|
117
|
+
%s
|
|
118
|
+
`,qd?"An error occurred in the <"+qd+"> component.":"An error occurred in one of your React components.",`Consider adding an error boundary to your tree to customize error handling behavior.
|
|
119
|
+
Visit https://react.dev/link/error-boundaries to learn more about error boundaries.`)}function I2(e){var t=qd?"The above error occurred in the <"+qd+"> component.":"The above error occurred in one of your React components.",o="React will try to recreate this component tree from scratch using the error boundary you provided, "+(($0||"Anonymous")+".");if(typeof e==="object"&&e!==null&&typeof e.environmentName==="string"){var i=e.environmentName;e=[`%o
|
|
120
|
+
|
|
121
|
+
%s
|
|
122
|
+
|
|
123
|
+
%s
|
|
124
|
+
`,e,t,o].slice(0),typeof e[0]==="string"?e.splice(0,1,IN+" "+e[0],vN,HI+i+HI,CN):e.splice(0,0,IN,vN,HI+i+HI,CN),e.unshift(console),i=_V.apply(console.error,e),i()}else console.error(`%o
|
|
125
|
+
|
|
126
|
+
%s
|
|
127
|
+
|
|
128
|
+
%s
|
|
129
|
+
`,e,t,o)}function v2(e){v0(e)}function lx(e,t){try{qd=t.source?B(t.source):null,$0=null;var o=t.value;if(oe.actQueue!==null)oe.thrownErrors.push(o);else{var i=e.onUncaughtError;i(o,{componentStack:t.stack})}}catch(s){setTimeout(function(){throw s})}}function C2(e,t,o){try{qd=o.source?B(o.source):null,$0=B(t);var i=e.onCaughtError;i(o.value,{componentStack:o.stack,errorBoundary:t.tag===1?t.stateNode:null})}catch(s){setTimeout(function(){throw s})}}function DS(e,t,o){return o=qs(o),o.tag=F0,o.payload={element:null},o.callback=function(){xe(t.source,lx,e,t)},o}function MS(e){return e=qs(e),e.tag=F0,e}function US(e,t,o,i){var s=o.type.getDerivedStateFromError;if(typeof s==="function"){var c=i.value;e.payload=function(){return s(c)},e.callback=function(){pT(o),xe(i.source,C2,t,o,i)}}var d=o.stateNode;d!==null&&typeof d.componentDidCatch==="function"&&(e.callback=function(){pT(o),xe(i.source,C2,t,o,i),typeof s!=="function"&&(vc===null?vc=new Set([this]):vc.add(this)),J9(this,i),typeof s==="function"||(o.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.",B(o)||"Unknown")})}function ZH(e,t,o,i,s){if(o.flags|=32768,Il&&qm(e,s),i!==null&&typeof i==="object"&&typeof i.then==="function"){if(t=o.alternate,t!==null&&Sf(t,o,s,!0),vt&&(yl=!0),o=Fo.current,o!==null){switch(o.tag){case 31:case 13:case 19:return ir===null?Cx():o.alternate===null&&wn===hs&&(wn=gI),o.flags&=-257,o.flags|=65536,o.lanes=s,i===iI?o.flags|=16384:(t=o.updateQueue,t===null?o.updateQueue=new Set([i]):t.add(i),m_(e,i,s)),!1;case 22:return o.flags|=65536,i===iI?o.flags|=16384:(t=o.updateQueue,t===null?(t={transitions:null,markerInstances:null,retryQueue:new Set([i])},o.updateQueue=t):(o=t.retryQueue,o===null?t.retryQueue=new Set([i]):o.add(i)),m_(e,i,s)),!1}throw Error("Unexpected Suspense handler tag ("+o.tag+"). This is a bug in React.")}return m_(e,i,s),Cx(),!1}if(vt)return yl=!0,t=Fo.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=s,i!==O0&&Am(ci(Error("There was an error while hydrating but React was able to recover by instead client rendering from the nearest Suspense boundary.",{cause:i}),o))):(i!==O0&&Am(ci(Error("There was an error while hydrating but React was able to recover by instead client rendering the entire root.",{cause:i}),o)),e=e.current.alternate,e.flags|=65536,s&=-s,e.lanes|=s,i=ci(i,o),s=DS(e.stateNode,i,s),$b(e,s),wn!==bc&&(wn=qf)),!1;var c=ci(Error("There was an error during concurrent rendering but React was able to recover by instead synchronously rendering the entire root.",{cause:i}),o);if(zh===null?zh=[c]:zh.push(c),wn!==bc&&(wn=qf),t===null)return!0;i=ci(i,o),o=t;do{switch(o.tag){case 3:return o.flags|=65536,e=s&-s,o.lanes|=e,e=DS(o.stateNode,i,e),$b(o,e),!1;case 1:if(t=o.type,c=o.stateNode,(o.flags&128)===0&&(typeof t.getDerivedStateFromError==="function"||c!==null&&typeof c.componentDidCatch==="function"&&(vc===null||!vc.has(c))))return o.flags|=65536,s&=-s,o.lanes|=s,s=MS(s),US(s,e,o,i),$b(o,s),!1;break;case 22:if(o.memoizedState!==null)return o.flags|=65536,!1}o=o.return}while(o!==null);return!1}function fo(e,t,o,i){t.child=e===null?gU(t,null,o,i):Vf(t,e.child,o,i)}function y2(e,t,o,i,s){o=o.render;var c=td(o);if(c!==o&&(o=c,e!==null&&(Kn=!0)),c=t.ref,"ref"in i){var d={};for(var m in i)m!=="ref"&&(d[m]=i[m])}else d=i;if(_f(t),i=rS(e,t,o,d,c,s),m=aS(),e!==null&&!Kn)return lS(e,t,s),ts(e,t,s);return vt&&m&&Mb(t),t.flags|=1,fo(e,t,i,s),t.child}function S2(e,t,o,i,s){if(e===null){var c=o.type;if(typeof c==="function"&&!Py(c)&&c.defaultProps===void 0&&o.compare===null)return o=td(c),t.tag=15,t.type=o,BS(t,c),_2(e,t,o,i,s);return e=jy(o.type,null,i,t,t.mode,s),e.ref=t.ref,e.return=t,t.child=e}if(c=e.child,!HS(e,s)){var d=c.memoizedProps;if(o=o.compare,o=o!==null?o:wm,o(d,i)&&e.ref===t.ref)return ts(e,t,s)}return t.flags|=1,e=Kl(c,i),e.ref=t.ref,e.return=t,t.child=e}function _2(e,t,o,i,s){if(e!==null){var c=e.memoizedProps;if(wm(c,i)&&e.ref===t.ref&&t.type===e.type)if(Kn=!1,t.pendingProps=i=c,HS(e,s))(e.flags&131072)!==0&&(Kn=!0);else return t.lanes=e.lanes,ts(e,t,s)}return NS(e,t,o,i,s)}function R2(e,t,o,i){var s=i.children,c=e!==null?e.memoizedState:null;if(e===null&&t.stateNode===null&&(t.stateNode={_visibility:mh,_pendingMarkers:null,_retryCache:null,_transitions:null}),i.mode==="hidden"){if((t.flags&128)!==0){if(c=c!==null?c.baseLanes|o:o,e!==null){i=t.child=e.child;for(s=0;i!==null;)s=s|i.lanes|i.childLanes,i=i.sibling;i=s&~c}else i=0,t.child=null;return O2(e,t,c,o,i)}if((o&536870912)!==0)t.memoizedState={baseLanes:0,cachePool:null},e!==null&&Hb(t,c!==null?c.cachePool:null),c!==null?HT(t,c):Qy(t),zT(t);else return i=t.lanes=536870912,O2(e,t,c!==null?c.baseLanes|o:o,o,i)}else c!==null?(Hb(t,c.cachePool),HT(t,c),Ws(t),t.memoizedState=null):(e!==null&&Hb(t,null),Qy(t),Ws(t));return fo(e,t,s,o),t.child}function jm(e,t){return e!==null&&e.tag===22||t.stateNode!==null||(t.stateNode={_visibility:mh,_pendingMarkers:null,_retryCache:null,_transitions:null}),t.sibling}function O2(e,t,o,i,s){var c=Wy();return c=c===null?null:{parent:Qn._currentValue,pool:c},t.memoizedState={baseLanes:o,cachePool:c},e!==null&&Hb(t,null),Qy(t),zT(t),e!==null&&Sf(e,t,i,!0),t.childLanes=s,null}function sx(e,t){var o=t.hidden;return o!==void 0&&console.error(`<Activity> doesn't accept a hidden prop. Use mode="hidden" instead.
|
|
130
|
+
- <Activity %s>
|
|
131
|
+
+ <Activity %s>`,o===!0?"hidden":o===!1?"hidden={false}":"hidden={...}",o?'mode="hidden"':'mode="visible"'),t=cx({mode:t.mode,children:t.children},e.mode),t.ref=e.ref,e.child=t,t.return=e,t}function w2(e,t,o){return Vf(t,e.child,null,o),e=sx(t,t.pendingProps),e.flags|=2,di(t),t.memoizedState=null,e}function KH(e,t,o){var i=t.pendingProps,s=(t.flags&128)!==0;if(t.flags&=-129,e===null){if(vt){if(i.mode==="hidden")return e=sx(t,i),t.lanes=536870912,e.memoizedState={baseLanes:0,cachePool:null},jm(null,e);if(tS(t),(e=un)?(o=xD(e,$i),o=o!==null&&o.data===Qf?o:null,o!==null&&(i={dehydrated:o,treeContext:xT(),retryLane:536870912,hydrationErrors:null},t.memoizedState=i,i=gT(o),i.return=t,t.child=i,wo=t,un=null)):o=null,o===null)throw Ub(t,e),zs(t);return t.lanes=536870912,null}return sx(t,i)}var c=e.memoizedState;if(c!==null){var d=c.dehydrated;if(tS(t),s)if(t.flags&256)t.flags&=-257,t=w2(e,t,o);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(vT(),(o&536870912)!==0&&vx(t),Kn||Sf(e,t,o,!1),s=(o&e.childLanes)!==0,Kn||s){if(gc.current===null){if(i=cn,i!==null&&(d=Je(i,o),d!==0&&d!==c.retryLane))throw c.retryLane=d,nr(e,d),Ln(i,e,d),Y0;Cx()}t=w2(e,t,o)}else e=c.treeContext,un=hi(d.nextSibling),wo=t,vt=!0,cc=null,yl=!1,bi=null,$i=!1,e!==null&&IT(t,e),t=sx(t,i),t.flags|=134221824;return t}return c=e.child,i={mode:i.mode,children:i.children},(o&536870912)!==0&&(o&e.lanes)!==0&&vx(t),e=Kl(c,i),e.ref=t.ref,t.child=e,e.return=t,e}function ld(e,t){var o=t.ref;if(o===null)e!==null&&e.ref!==null&&(t.flags|=4194816);else{if(typeof o!=="function"&&typeof o!=="object")throw Error("Expected ref to be a function, an object returned by React.createRef(), or undefined/null.");if(e===null||e.ref!==o)t.flags|=4194816}}function NS(e,t,o,i,s){if(o.prototype&&typeof o.prototype.render==="function"){var c=le(o)||"Unknown";kU[c]||(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.",c,c),kU[c]=!0)}if(t.mode&rr&&Ta.recordLegacyContextWarning(t,null),e===null&&(BS(t,t.type),o.contextTypes&&(c=le(o)||"Unknown",jU[c]||(jU[c]=!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)",c)))),_f(t),o=rS(e,t,o,i,void 0,s),i=aS(),e!==null&&!Kn)return lS(e,t,s),ts(e,t,s);return vt&&i&&Mb(t),t.flags|=1,fo(e,t,o,s),t.child}function A2(e,t,o,i,s,c){if(_f(t),ms=-1,Nh=e!==null&&e.type!==t.type,t.updateQueue=null,o=iS(t,i,o,s),VT(e,t),i=aS(),e!==null&&!Kn)return lS(e,t,c),ts(e,t,c);return vt&&i&&Mb(t),t.flags|=1,fo(e,t,o,c),t.child}function T2(e,t,o,i,s){switch(p(t)){case!1:var c=t.stateNode,d=new t.type(t.memoizedProps,c.context).state;c.updater.enqueueSetState(c,d,null);break;case!0:t.flags|=128,t.flags|=65536,c=Error("Simulated error coming from DevTools");var m=s&-s;if(t.lanes|=m,d=cn,d===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");m=MS(m),US(m,d,t,ci(c,t)),$b(t,m)}if(_f(t),t.stateNode===null){if(d=sc,c=o.contextType,"contextType"in o&&c!==null&&(c===void 0||c.$$typeof!==_a)&&!BU.has(o)&&(BU.add(o),m=c===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 c!=="object"?" However, it is set to a "+typeof c+".":c.$$typeof===q_?" Did you accidentally pass the Context.Consumer instead?":" However, it is set to an object with keys {"+Object.keys(c).join(", ")+"}.",console.error("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",le(o)||"Component",m)),typeof c==="object"&&c!==null&&(d=Cn(c)),c=new o(i,d),t.mode&rr){$t(!0);try{c=new o(i,d)}finally{$t(!1)}}if(d=t.memoizedState=c.state!==null&&c.state!==void 0?c.state:null,c.updater=q0,t.stateNode=c,c._reactInternals=t,c._reactInternalInstance=OU,typeof o.getDerivedStateFromProps==="function"&&d===null&&(d=le(o)||"Component",AU.has(d)||(AU.add(d),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.",d,c.state===null?"null":"undefined",d))),typeof o.getDerivedStateFromProps==="function"||typeof c.getSnapshotBeforeUpdate==="function"){var g=m=d=null;if(typeof c.componentWillMount==="function"&&c.componentWillMount.__suppressDeprecationWarning!==!0?d="componentWillMount":typeof c.UNSAFE_componentWillMount==="function"&&(d="UNSAFE_componentWillMount"),typeof c.componentWillReceiveProps==="function"&&c.componentWillReceiveProps.__suppressDeprecationWarning!==!0?m="componentWillReceiveProps":typeof c.UNSAFE_componentWillReceiveProps==="function"&&(m="UNSAFE_componentWillReceiveProps"),typeof c.componentWillUpdate==="function"&&c.componentWillUpdate.__suppressDeprecationWarning!==!0?g="componentWillUpdate":typeof c.UNSAFE_componentWillUpdate==="function"&&(g="UNSAFE_componentWillUpdate"),d!==null||m!==null||g!==null){c=le(o)||"Component";var C=typeof o.getDerivedStateFromProps==="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";EU.has(c)||(EU.add(c),console.error(`Unsafe legacy lifecycles will not be called for components using new component APIs.
|
|
132
|
+
|
|
133
|
+
%s uses %s but also contains the following legacy lifecycles:%s%s%s
|
|
134
|
+
|
|
135
|
+
The above lifecycles should be removed. Learn more about this warning here:
|
|
136
|
+
https://react.dev/link/unsafe-component-lifecycles`,c,C,d!==null?`
|
|
137
|
+
`+d:"",m!==null?`
|
|
138
|
+
`+m:"",g!==null?`
|
|
139
|
+
`+g:""))}}c=t.stateNode,d=le(o)||"Component",c.render||(o.prototype&&typeof o.prototype.render==="function"?console.error("No `render` method found on the %s instance: did you accidentally return an object from the constructor?",d):console.error("No `render` method found on the %s instance: you may have forgotten to define `render`.",d)),!c.getInitialState||c.getInitialState.isReactClassApproved||c.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?",d),c.getDefaultProps&&!c.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.",d),c.contextType&&console.error("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",d),o.childContextTypes&&!NU.has(o)&&(NU.add(o),console.error("%s uses the legacy childContextTypes API which was removed in React 19. Use React.createContext() instead. (https://react.dev/link/legacy-context)",d)),o.contextTypes&&!UU.has(o)&&(UU.add(o),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)",d)),typeof c.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.",d),o.prototype&&o.prototype.isPureReactComponent&&typeof c.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.",le(o)||"A pure component"),typeof c.componentDidUnmount==="function"&&console.error("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",d),typeof c.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().",d),typeof c.componentWillRecieveProps==="function"&&console.error("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",d),typeof c.UNSAFE_componentWillRecieveProps==="function"&&console.error("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",d),m=c.props!==i,c.props!==void 0&&m&&console.error("When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",d),c.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.",d,d),typeof c.getSnapshotBeforeUpdate!=="function"||typeof c.componentDidUpdate==="function"||TU.has(o)||(TU.add(o),console.error("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",le(o))),typeof c.getDerivedStateFromProps==="function"&&console.error("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.",d),typeof c.getDerivedStateFromError==="function"&&console.error("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.",d),typeof o.getSnapshotBeforeUpdate==="function"&&console.error("%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.",d),(m=c.state)&&(typeof m!=="object"||uo(m))&&console.error("%s.state: must be set to an object or null",d),typeof c.getChildContext==="function"&&typeof o.childContextTypes!=="object"&&console.error("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",d),c=t.stateNode,c.props=i,c.state=t.memoizedState,c.refs={},Ky(t),d=o.contextType,c.context=typeof d==="object"&&d!==null?Cn(d):sc,c.state===i&&(d=le(o)||"Component",DU.has(d)||(DU.add(d),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.",d))),t.mode&rr&&Ta.recordLegacyContextWarning(t,c),Ta.recordUnsafeLifecycleWarnings(t,c),c.state=t.memoizedState,d=o.getDerivedStateFromProps,typeof d==="function"&&(ES(t,o,d,i),c.state=t.memoizedState),typeof o.getDerivedStateFromProps==="function"||typeof c.getSnapshotBeforeUpdate==="function"||typeof c.UNSAFE_componentWillMount!=="function"&&typeof c.componentWillMount!=="function"||(d=c.state,typeof c.componentWillMount==="function"&&c.componentWillMount(),typeof c.UNSAFE_componentWillMount==="function"&&c.UNSAFE_componentWillMount(),d!==c.state&&(console.error("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",B(t)||"Component"),q0.enqueueReplaceState(c,c.state,null)),Nm(t,i,c,s),Um(),c.state=t.memoizedState),typeof c.componentDidMount==="function"&&(t.flags|=4194308),(t.mode&Oa)!==lt&&(t.flags|=268435456),c=!0}else if(e===null){c=t.stateNode;var T=t.memoizedProps;m=Tf(o,T),c.props=m;var F=c.context;g=o.contextType,d=sc,typeof g==="object"&&g!==null&&(d=Cn(g)),C=o.getDerivedStateFromProps,g=typeof C==="function"||typeof c.getSnapshotBeforeUpdate==="function",T=t.pendingProps!==T,g||typeof c.UNSAFE_componentWillReceiveProps!=="function"&&typeof c.componentWillReceiveProps!=="function"||(T||F!==d)&&b2(t,c,i,d),hc=!1;var j=t.memoizedState;c.state=j,Nm(t,i,c,s),Um(),F=t.memoizedState,T||j!==F||hc?(typeof C==="function"&&(ES(t,o,C,i),F=t.memoizedState),(m=hc||g2(t,o,m,i,j,F,d))?(g||typeof c.UNSAFE_componentWillMount!=="function"&&typeof c.componentWillMount!=="function"||(typeof c.componentWillMount==="function"&&c.componentWillMount(),typeof c.UNSAFE_componentWillMount==="function"&&c.UNSAFE_componentWillMount()),typeof c.componentDidMount==="function"&&(t.flags|=4194308),(t.mode&Oa)!==lt&&(t.flags|=268435456)):(typeof c.componentDidMount==="function"&&(t.flags|=4194308),(t.mode&Oa)!==lt&&(t.flags|=268435456),t.memoizedProps=i,t.memoizedState=F),c.props=i,c.state=F,c.context=d,c=m):(typeof c.componentDidMount==="function"&&(t.flags|=4194308),(t.mode&Oa)!==lt&&(t.flags|=268435456),c=!1)}else{c=t.stateNode,Jy(e,t),d=t.memoizedProps,g=Tf(o,d),c.props=g,C=t.pendingProps,j=c.context,F=o.contextType,m=sc,typeof F==="object"&&F!==null&&(m=Cn(F)),T=o.getDerivedStateFromProps,(F=typeof T==="function"||typeof c.getSnapshotBeforeUpdate==="function")||typeof c.UNSAFE_componentWillReceiveProps!=="function"&&typeof c.componentWillReceiveProps!=="function"||(d!==C||j!==m)&&b2(t,c,i,m),hc=!1,j=t.memoizedState,c.state=j,Nm(t,i,c,s),Um();var q=t.memoizedState;d!==C||j!==q||hc||e!==null&&e.dependencies!==null&&kb(e.dependencies)?(typeof T==="function"&&(ES(t,o,T,i),q=t.memoizedState),(g=hc||g2(t,o,g,i,j,q,m)||e!==null&&e.dependencies!==null&&kb(e.dependencies))?(F||typeof c.UNSAFE_componentWillUpdate!=="function"&&typeof c.componentWillUpdate!=="function"||(typeof c.componentWillUpdate==="function"&&c.componentWillUpdate(i,q,m),typeof c.UNSAFE_componentWillUpdate==="function"&&c.UNSAFE_componentWillUpdate(i,q,m)),typeof c.componentDidUpdate==="function"&&(t.flags|=4),typeof c.getSnapshotBeforeUpdate==="function"&&(t.flags|=1024)):(typeof c.componentDidUpdate!=="function"||d===e.memoizedProps&&j===e.memoizedState||(t.flags|=4),typeof c.getSnapshotBeforeUpdate!=="function"||d===e.memoizedProps&&j===e.memoizedState||(t.flags|=1024),t.memoizedProps=i,t.memoizedState=q),c.props=i,c.state=q,c.context=m,c=g):(typeof c.componentDidUpdate!=="function"||d===e.memoizedProps&&j===e.memoizedState||(t.flags|=4),typeof c.getSnapshotBeforeUpdate!=="function"||d===e.memoizedProps&&j===e.memoizedState||(t.flags|=1024),c=!1)}if(m=c,ld(e,t),d=(t.flags&128)!==0,m||d){if(m=t.stateNode,vn(t),d&&typeof o.getDerivedStateFromError!=="function")o=null,Ur=-1;else if(o=nU(m),t.mode&rr){$t(!0);try{nU(m)}finally{$t(!1)}}t.flags|=1,e!==null&&d?(t.child=Vf(t,e.child,null,s),t.child=Vf(t,null,o,s)):fo(e,t,o,s),t.memoizedState=m.state,e=t.child}else e=ts(e,t,s);return s=t.stateNode,c&&s.props!==i&&($d||console.error("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",B(t)||"a component"),$d=!0),e}function E2(e,t,o,i){return yf(),t.flags|=256,fo(e,t,o,i),t.child}function BS(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=le(t)||"Unknown",FU[e]||(console.error("%s: Function components do not support getDerivedStateFromProps.",e),FU[e]=!0)),typeof t.contextType==="object"&&t.contextType!==null&&(t=le(t)||"Unknown",PU[t]||(console.error("%s: Function components do not support contextType.",t),PU[t]=!0))}function LS(e){return{baseLanes:e,cachePool:wT()}}function kS(e,t,o){return e=e!==null?e.childLanes&~o:0,t&&(e|=Yr),e}function D2(e,t,o){var i=t.pendingProps;u(t)&&(t.flags|=128);var s=!1,c=(t.flags&128)!==0,d;if((d=c)||(d=e!==null&&e.memoizedState===null?!1:(Ho.current&Dh)!==0),d&&(s=!0,t.flags&=-129),d=(t.flags&32)!==0,t.flags&=-33,e===null){if(vt){if(s?Ys(t):Ws(t),(e=un)?(o=xD(e,$i),o=o!==null&&o.data!==Qf?o:null,o!==null&&(d={dehydrated:o,treeContext:xT(),retryLane:536870912,hydrationErrors:null},t.memoizedState=d,d=gT(o),d.return=t,t.child=d,wo=t,un=null)):o=null,o===null)throw Ub(t,e),zs(t);return M_(o)?t.lanes=32:t.lanes=536870912,null}if(c=i.children,i=i.fallback,s)return Ws(t),s=t.mode,c=cx({mode:"hidden",children:c},s),i=vf(i,s,o,null),c.return=t,i.return=t,c.sibling=i,t.child=c,i=t.child,i.memoizedState=LS(o),i.childLanes=kS(e,d,o),t.memoizedState=Z0,jm(null,i);return Ys(t),PS(t,c)}var m=e.memoizedState;if(m!==null){var g=m.dehydrated;if(g!==null)return JH(e,t,c,d,i,g,m,o)}if(s)return Ws(t),s=i.fallback,c=t.mode,m=e.child,g=m.sibling,i=Kl(m,{mode:"hidden",children:i.children}),i.subtreeFlags=m.subtreeFlags&1206910976,g!==null?s=Kl(g,s):(s=vf(s,c,o,null),s.flags|=2),s.return=t,i.return=t,i.sibling=s,t.child=i,jm(null,i),i=t.child,s=e.child.memoizedState,s===null?s=LS(o):(c=s.cachePool,c!==null?(m=Qn._currentValue,c=c.parent!==m?{parent:m,pool:m}:c):c=wT(),s={baseLanes:s.baseLanes|o,cachePool:c}),i.memoizedState=s,i.childLanes=kS(e,d,o),t.memoizedState=Z0,jm(e.child,i);return m!==null&&(o&62914560)===o&&(o&e.lanes)!==0&&vx(t),Ys(t),o=e.child,e=o.sibling,o=Kl(o,{mode:"visible",children:i.children}),o.return=t,o.sibling=null,e!==null&&(d=t.deletions,d===null?(t.deletions=[e],t.flags|=16):d.push(e)),t.child=o,t.memoizedState=null,o}function PS(e,t){return t=cx({mode:"visible",children:t},e.mode),t.return=e,e.child=t}function cx(e,t){return e=v(22,e,null,t),e.lanes=0,e}function fx(e,t,o){return Vf(t,e.child,null,o),e=PS(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function JH(e,t,o,i,s,c,d,m){if(o){if(t.flags&256)return Ys(t),t.flags&=-257,fx(e,t,m);if(t.memoizedState!==null)return Ws(t),t.child=e.child,t.flags|=128,null;Ws(t);var g=s.fallback,C=t.mode,T=cx({mode:"visible",children:s.children},C);return g=vf(g,C,m,null),g.flags|=2,T.return=t,g.return=t,T.sibling=g,t.child=T,Vf(t,e.child,null,m),g=t.child,g.memoizedState=LS(m),g.childLanes=kS(e,i,m),t.memoizedState=Z0,jm(null,g)}if(Ys(t),vT(),(m&536870912)!==0&&vx(t),M_(c)){if(i=c.nextSibling&&c.nextSibling.dataset,i){g=i.dgst;var F=i.msg;C=i.stck,T=i.cstck}return c=F,d=g,s=C,i=T,g=d,C=c,T=s,s=i,g!==K9&&(i=C?Error(C):Error("The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering."),i.stack=T||"",i.digest=g,g=s===void 0?null:s,C={value:i,source:null,stack:g},typeof g==="string"&&R0.set(i,C),Am(C)),fx(e,t,m)}if(Kn||Sf(e,t,m,!1),i=(m&e.childLanes)!==0,Kn||i){if(gc.current!==null)return fx(e,t,m);if(i=cn,i!==null&&(g=Je(i,m),g!==0&&g!==d.retryLane))throw d.retryLane=g,nr(e,g),Ln(i,e,g),Y0;return D_(c)||Cx(),fx(e,t,m)}if(D_(c))return t.flags|=192,t.child=e.child,null;return e=d.treeContext,un=hi(c.nextSibling),wo=t,vt=!0,cc=null,yl=!1,bi=null,$i=!1,e!==null&&IT(t,e),t=PS(t,s.children),t.flags|=134221824,t}function M2(e,t,o){e.lanes|=t;var i=e.alternate;i!==null&&(i.lanes|=t),Lb(e.return,t,o)}function U2(e){for(var t=null;e!==null;){var o=e.alternate;o!==null&&Yb(o)===null&&(t=e),e=e.sibling}return t}function ux(e,t,o,i,s,c){var d=e.memoizedState;d===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:i,tail:o,tailMode:s,treeForkCount:c}:(d.isBackwards=t,d.rendering=null,d.renderingStartTime=0,d.last=i,d.tail=o,d.tailMode=s,d.treeForkCount=c)}function jS(e){var t=e.child;for(e.child=null;t!==null;){var o=t.sibling;t.sibling=e.child,e.child=t,t=o}}function FS(e,t,o){var i=t.pendingProps,s=i.revealOrder,c=i.tail,d=i.children,m=Ho.current;if(t.flags&128)return Bm(t,m),null;if((i=(m&Dh)!==0)?(m=m&Vd|Dh,t.flags|=128):m&=Vd,Bm(t,m),m=s==null?"null":s,s!=null&&s!=="forwards"&&s!=="backwards"&&s!=="unstable_legacy-backwards"&&s!=="together"&&s!=="independent"&&!HU[m])if(HU[m]=!0,typeof s==="string")switch(s.toLowerCase()){case"together":case"forwards":case"backwards":case"independent":console.error('"%s" is not a valid value for revealOrder on <SuspenseList />. Use lowercase "%s" instead.',s,s.toLowerCase());break;case"forward":case"backward":console.error('"%s" is not a valid value for revealOrder on <SuspenseList />. React uses the -s suffix in the spelling. Use "%ss" instead.',s,s.toLowerCase());break;default:console.error('"%s" is not a supported revealOrder on <SuspenseList />. Did you mean "independent", "together", "forwards" or "backwards"?',s)}else console.error('%s is not a supported value for revealOrder on <SuspenseList />. Did you mean "independent", "together", "forwards" or "backwards"?',s);m=c==null?"null":c,W0[m]||c==null||(c!=="visible"&&c!=="collapsed"&&c!=="hidden"?(W0[m]=!0,console.error('"%s" is not a supported value for tail on <SuspenseList />. Did you mean "visible", "collapsed" or "hidden"?',c)):s!=null&&s!=="forwards"&&s!=="backwards"&&s!=="unstable_legacy-backwards"&&(W0[m]=!0,console.error('<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" (default) or "backwards". Did you mean to specify revealOrder="forwards"?',c)));e:if((s==null||s==="forwards"||s==="backwards"||s==="unstable_legacy-backwards")&&d!==void 0&&d!==null&&d!==!1)if(uo(d)){for(m=0;m<d.length;m++)if(!PT(d[m],m))break e}else if(m=he(d),typeof m==="function"){if(m=m.call(d))for(var g=m.next(),C=0;!g.done;g=m.next()){if(!PT(g.value,C))break e;C++}}else console.error('A single row was passed to a <SuspenseList revealOrder="%s" />. This is not useful since it needs multiple rows. Did you mean to pass multiple children or an array?',s);if(s==="backwards"&&e!==null?(jS(e),fo(e,t,d,o),jS(e)):fo(e,t,d,o),vt?(Hs(),d=hh):d=0,!i&&e!==null&&(e.flags&128)!==0)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&M2(e,o,t);else if(e.tag===19)M2(e,o,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}switch(s){case"backwards":o=U2(t.child),o===null?(s=t.child,t.child=null):(s=o.sibling,o.sibling=null,jS(t)),ux(t,!0,s,null,c,d);break;case"unstable_legacy-backwards":o=null,s=t.child;for(t.child=null;s!==null;){if(e=s.alternate,e!==null&&Yb(e)===null){t.child=s;break}e=s.sibling,s.sibling=o,o=s,s=e}ux(t,!0,o,null,c,d);break;case"together":ux(t,!1,null,null,void 0,d);break;case"independent":t.memoizedState=null;break;default:o=U2(t.child),o===null?(s=t.child,t.child=null):(s=o.sibling,o.sibling=null),ux(t,!1,s,o,c,d)}return t.child}function N2(e,t,o){var{type:i,pendingProps:s}=t,c=s.value;return"value"in s||VU||(VU=!0,console.error("The `value` prop is required for the `<Context.Provider>`. Did you misspell it or forget to pass it?")),Vs(t,i,c),fo(e,t,s.children,o),t.child}function ts(e,t,o){if(e!==null&&(t.dependencies=e.dependencies),Ur=-1,xc|=t.lanes,(o&t.childLanes)===0)if(e!==null){if(Sf(e,t,o,!1),(o&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,o=Kl(e,e.pendingProps),t.child=o;for(o.return=t;e.sibling!==null;)e=e.sibling,o=o.sibling=Kl(e,e.pendingProps),o.return=t;o.sibling=null}return t.child}function HS(e,t){if((e.lanes&t)!==0)return!0;return e=e.dependencies,e!==null&&kb(e)?!0:!1}function QH(e,t,o){switch(t.tag){case 3:De(t,t.stateNode.containerInfo),Vs(t,Qn,e.memoizedState.cache),yf();break;case 27:case 5:ct(t);break;case 4:De(t,t.stateNode.containerInfo);break;case 10:Vs(t,t.type,t.memoizedProps.value);break;case 12:(o&t.childLanes)!==0&&(t.flags|=4),t.flags|=2048;var i=t.stateNode;i.effectDuration=-0,i.passiveEffectDuration=-0;break;case 31:if(t.memoizedState!==null)return t.flags|=128,tS(t),null;break;case 13:if(i=t.memoizedState,i!==null){if(i.dehydrated!==null)return Ys(t),t.flags|=128,null;i=Sf(e,t,o,!1);var s=t.child.childLanes;if(i||(o&s)!==0)return D2(e,t,o);return Ys(t),e=ts(e,t,o),e!==null?e.sibling:null}Ys(t);break;case 19:if(t.flags&128)return FS(e,t,o);if(s=(e.flags&128)!==0,i=(o&t.childLanes)!==0,i||(Sf(e,t,o,!1),i=(o&t.childLanes)!==0),s){if(i)return FS(e,t,o);t.flags|=128}if(s=t.memoizedState,s!==null&&(s.rendering=null,s.tail=null,s.lastEffect=null),Bm(t,Ho.current),i)break;else return null;case 22:return t.lanes=0,R2(e,t,o,t.pendingProps);case 24:Vs(t,Qn,e.memoizedState.cache)}return ts(e,t,o)}function zS(e,t,o){if(t._debugNeedsRemount&&e!==null){o=jy(td(t.elementType),t.key,t.pendingProps,t._debugOwner||null,t.mode,t.lanes),o._debugStack=t._debugStack,o._debugTask=t._debugTask;var i=t.return;if(i===null)throw Error("Cannot swap the root fiber.");if(e.alternate=null,t.alternate=null,o.index=t.index,o.sibling=t.sibling,o.return=t.return,o.ref=t.ref,o._debugInfo=t._debugInfo,t===i.child)i.child=o;else{var s=i.child;if(s===null)throw Error("Expected parent to have a child.");for(;s.sibling!==t;)if(s=s.sibling,s===null)throw Error("Expected to find the previous sibling.");s.sibling=o}return t=i.deletions,t===null?(i.deletions=[e],i.flags|=16):t.push(e),o.flags|=134217730,o}if(e!==null)if(e.memoizedProps!==t.pendingProps||t.type!==e.type)Kn=!0;else{if(!HS(e,o)&&(t.flags&128)===0)return Kn=!1,QH(e,t,o);Kn=(e.flags&131072)!==0?!0:!1}else{if(Kn=!1,i=vt)Hs(),i=(t.flags&1048576)!==0;i&&(i=t.index,Hs(),bT(t,hh,i))}switch(t.lanes=0,t.tag){case 16:e:if(i=t.pendingProps,e=Gs(t.elementType),e=td(e),t.type=e,typeof e==="function")Py(e)?(i=Tf(e,i),t.tag=1,t=T2(null,t,e,i,o)):(t.tag=0,BS(t,e),t=NS(null,t,e,i,o));else{if(e!==void 0&&e!==null){if(s=e.$$typeof,s===Mx){t.tag=11,t=y2(null,t,e,i,o);break e}else if(s===Ux){t.tag=14,t=S2(null,t,e,i,o);break e}else if(s===_a){t.tag=10,t.type=e,t=N2(null,t,o);break e}}throw t="",e!==null&&typeof e==="object"&&e.$$typeof===zr&&(t=" Did you wrap a component in React.lazy() more than once?"),o=le(e)||e,Error("Element type is invalid. Received a promise that resolves to: "+o+". Lazy element type must resolve to a class or function."+t)}return t;case 0:return NS(e,t,t.type,t.pendingProps,o);case 1:return i=t.type,s=Tf(i,t.pendingProps),T2(e,t,i,s,o);case 3:e:{if(De(t,t.stateNode.containerInfo),e===null)throw Error("Should have a current fiber. This is a bug in React.");i=t.pendingProps;var c=t.memoizedState;s=c.element,Jy(e,t),Nm(t,i,null,o);var d=t.memoizedState;if(i=d.cache,Vs(t,Qn,i),i!==c.cache&&Xy(t,[Qn],o,!0),Um(),i=d.element,c.isDehydrated)if(c={element:i,isDehydrated:!1,cache:d.cache},t.updateQueue.baseState=c,t.memoizedState=c,t.flags&256){t=E2(e,t,i,o);break e}else if(i!==s){s=ci(Error("This root received an early update, before anything was able hydrate. Switched the entire root to client rendering."),t),Am(s),t=E2(e,t,i,o);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}un=hi(e.firstChild),wo=t,vt=!0,cc=null,yl=!1,bi=null,$i=!0,o=gU(t,null,i,o);for(t.child=o;o;)o.flags=o.flags&-3|134221824,o=o.sibling}else{if(yf(),i===s){t=ts(e,t,o);break e}fo(e,t,i,o)}t=t.child}return t;case 26:return ld(e,t),e===null?(o=RD(t.type,null,t.pendingProps,null))?t.memoizedState=o:vt||(t.stateNode=oD(t.type,t.pendingProps,be(nc.current),t)):t.memoizedState=RD(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return ct(t),e===null&&vt&&(i=be(nc.current),s=Ze(),i=t.stateNode=yD(t.type,t.pendingProps,i,s,!1),yl||(s=QE(i,t.type,t.pendingProps,s),s!==null&&(Cf(t,0).serverProps=s)),wo=t,$i=!0,s=un,ec(t.type)?(yR=s,un=hi(i.firstChild)):un=s),fo(e,t,t.pendingProps.children,o),ld(e,t),e===null&&(t.flags|=4194304),t.child;case 5:return e===null&&vt&&(c=Ze(),i=Ty(t.type,c.ancestorInfo),s=un,(d=!s)||(d=sz(s,t.type,t.pendingProps,$i),d!==null?(t.stateNode=d,yl||(c=QE(d,t.type,t.pendingProps,c),c!==null&&(Cf(t,0).serverProps=c)),wo=t,un=hi(d.firstChild),$i=!1,c=!0):c=!1,d=!c),d&&(i&&Ub(t,s),zs(t))),ct(t),s=t.type,c=t.pendingProps,d=e!==null?e.memoizedProps:null,i=c.children,w_(s,c)?i=null:d!==null&&w_(s,d)&&(t.flags|=32),t.memoizedState!==null&&(s=rS(e,t,GH,null,null,o),ap._currentValue=s),ld(e,t),fo(e,t,i,o),t.child;case 6:return e===null&&vt&&(o=t.pendingProps,e=Ze(),i=e.ancestorInfo.current,o=i!=null?Cb(o,i.tag,e.ancestorInfo.implicitRootScope):!0,e=un,(i=!e)||(i=cz(e,t.pendingProps,$i),i!==null?(t.stateNode=i,wo=t,un=null,i=!0):i=!1,i=!i),i&&(o&&Ub(t,e),zs(t))),null;case 13:return D2(e,t,o);case 4:return De(t,t.stateNode.containerInfo),i=t.pendingProps,e===null?t.child=Vf(t,null,i,o):fo(e,t,i,o),t.child;case 11:return y2(e,t,t.type,t.pendingProps,o);case 7:return i=t.pendingProps,ld(e,t),fo(e,t,i,o),t.child;case 8:return fo(e,t,t.pendingProps.children,o),t.child;case 12:return t.flags|=4,t.flags|=2048,i=t.stateNode,i.effectDuration=-0,i.passiveEffectDuration=-0,fo(e,t,t.pendingProps.children,o),t.child;case 10:return N2(e,t,o);case 9:return s=t.type._context,i=t.pendingProps.children,typeof i!=="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."),_f(t),s=Cn(s),i=B0(i,s,void 0),t.flags|=1,fo(e,t,i,o),t.child;case 14:return S2(e,t,t.type,t.pendingProps,o);case 15:return _2(e,t,t.type,t.pendingProps,o);case 19:return FS(e,t,o);case 31:return KH(e,t,o);case 22:return R2(e,t,o,t.pendingProps);case 24:return _f(t),i=Cn(Qn),e===null?(s=Wy(),s===null&&(s=cn,c=qy(),s.pooledCache=c,Rf(c),c!==null&&(s.pooledCacheLanes|=o),s=c),t.memoizedState={parent:i,cache:s},Ky(t),Vs(t,Qn,s)):((e.lanes&o)!==0&&(Jy(e,t),Nm(t,null,null,o),Um()),s=e.memoizedState,c=t.memoizedState,s.parent!==i?(s={parent:i,cache:i},t.memoizedState=s,t.lanes===0&&(t.memoizedState=t.updateQueue.baseState=s),Vs(t,Qn,i)):(i=c.cache,Vs(t,Qn,i),i!==s.cache&&Xy(t,[Qn],o,!0))),fo(e,t,t.pendingProps.children,o),t.child;case 30:return t.stateNode===null&&(t.stateNode={autoName:null,paired:null,clones:null,ref:null}),i=t.pendingProps,i.name!=null&&i.name!=="auto"?t.flags|=e===null?18882560:18874368:vt&&Mb(t),i.className!==void 0&&(s=typeof i.className==="string"?JSON.stringify(i.className):"{...}",zU[s]||(zU[s]=!0,console.error(`<ViewTransition> doesn't accept a "className" prop. It has been renamed to "default".
|
|
141
|
+
- <ViewTransition className=%s>
|
|
142
|
+
+ <ViewTransition default=%s>`,s,s))),e!==null&&e.memoizedProps.name!==i.name?t.flags|=4194816:ld(e,t),fo(e,t,i.children,o),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 ns(e){e.flags|=4}function VS(e,t,o,i,s){var c;if(c=(e.mode&XM)!==lt)c=o===null?TD(t,i):TD(t,i)&&(i.src!==o.src||i.srcSet!==o.srcSet);if(c){if(e.flags|=16777216,(s&335544128)===s)if(e.stateNode.complete)e.flags|=8192;else if(SE())e.flags|=8192;else throw zf=iI,k0}else e.flags&=-16777217}function B2(e,t){if(t.type!=="stylesheet"||(t.state.loading&Ki)!==nu)e.flags&=-16777217;else if(e.flags|=16777216,!ED(t))if(SE())e.flags|=8192;else throw zf=iI,k0}function dx(e,t){t!==null&&(e.flags|=4),e.flags&16384&&(t=e.tag!==22?Qo():536870912,e.lanes|=t,Wf|=t)}function Fm(e,t){if(!vt)switch(e.tailMode){case"visible":break;case"collapsed":for(var o=e.tail,i=null;o!==null;)o.alternate!==null&&(i=o),o=o.sibling;i===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:i.sibling=null;break;default:t=e.tail;for(o=null;t!==null;)t.alternate!==null&&(o=t),t=t.sibling;o===null?e.tail=null:o.sibling=null}}function ln(e){var t=e.alternate!==null&&e.alternate.child===e.child,o=0,i=0;if(t)if((e.mode&It)!==lt){for(var{selfBaseDuration:s,child:c}=e;c!==null;)o|=c.lanes|c.childLanes,i|=c.subtreeFlags&1206910976,i|=c.flags&1206910976,s+=c.treeBaseDuration,c=c.sibling;e.treeBaseDuration=s}else for(s=e.child;s!==null;)o|=s.lanes|s.childLanes,i|=s.subtreeFlags&1206910976,i|=s.flags&1206910976,s.return=e,s=s.sibling;else if((e.mode&It)!==lt){s=e.actualDuration,c=e.selfBaseDuration;for(var d=e.child;d!==null;)o|=d.lanes|d.childLanes,i|=d.subtreeFlags,i|=d.flags,s+=d.actualDuration,c+=d.treeBaseDuration,d=d.sibling;e.actualDuration=s,e.treeBaseDuration=c}else for(s=e.child;s!==null;)o|=s.lanes|s.childLanes,i|=s.subtreeFlags,i|=s.flags,s.return=e,s=s.sibling;return e.subtreeFlags|=i,e.childLanes=o,t}function e7(e,t,o){var i=t.pendingProps;switch(zy(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return ln(t),null;case 1:return ln(t),null;case 3:if(o=t.stateNode,i=null,e!==null&&(i=e.memoizedState.cache),t.memoizedState.cache!==i&&(t.flags|=2048),Ql(Qn,t),we(t),o.pendingContext&&(o.context=o.pendingContext,o.pendingContext=null),e===null||e.child===null)nd(t)?(Gy(),ns(t)):e===null||e.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,Vy());return ln(t),null;case 26:var{type:s,memoizedState:c}=t;return e===null?(ns(t),c!==null?(ln(t),B2(t,c)):(ln(t),VS(t,s,null,i,o))):c?c!==e.memoizedState?(ns(t),ln(t),B2(t,c)):(ln(t),t.flags&=-16777217):(e=e.memoizedProps,e!==i&&ns(t),ln(t),VS(t,s,e,i,o)),null;case 27:if(Tt(t),o=be(nc.current),s=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==i&&ns(t);else{if(!i){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 ln(t),t.subtreeFlags&=-33554433,null}e=Ze(),nd(t)?CT(t,e):(e=yD(s,i,o,e,!0),t.stateNode=e,ns(t))}return ln(t),t.subtreeFlags&=-33554433,null;case 5:if(Tt(t),s=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==i&&ns(t);else{if(!i){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 ln(t),t.subtreeFlags&=-33554433,null}var d=Ze();if(nd(t))CT(t,d);else{switch(c=be(nc.current),Ty(s,d.ancestorInfo),d=d.context,c=Wm(c),d){case rp:c=c.createElementNS(Od,s);break;case kI:c=c.createElementNS(Hx,s);break;default:switch(s){case"svg":c=c.createElementNS(Od,s);break;case"math":c=c.createElementNS(Hx,s);break;case"script":c=c.createElement("div"),dN||D7(i)||(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)."),dN=!0),c.innerHTML="<script></script>",c=c.removeChild(c.firstChild);break;case"select":c=typeof i.is==="string"?c.createElement("select",{is:i.is}):c.createElement("select"),i.multiple?c.multiple=!0:i.size&&(c.size=i.size);break;default:c=typeof i.is==="string"?c.createElement(s,{is:i.is}):c.createElement(s),s.indexOf("-")===-1&&(s!==s.toLowerCase()&&console.error("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",s),Object.prototype.toString.call(c)!=="[object HTMLUnknownElement]"||zi.call(pN,s)||(pN[s]=!0,console.error("The tag <%s> is unrecognized in this browser. If you meant to render a React component, start its name with an uppercase letter.",s)))}}c[jo]=t,c[Er]=i;e:for(d=t.child;d!==null;){if(d.tag===5||d.tag===6)c.appendChild(d.stateNode);else if(d.tag!==4&&d.tag!==27&&d.child!==null){d.child.return=d,d=d.child;continue}if(d===t)break e;for(;d.sibling===null;){if(d.return===null||d.return===t)break e;d=d.return}d.sibling.return=d.return,d=d.sibling}t.stateNode=c;e:switch(Po(c,s,i),s){case"button":case"input":case"select":case"textarea":i=!!i.autoFocus;break e;case"img":i=!0;break e;default:i=!1}i&&ns(t)}}return ln(t),t.subtreeFlags&=-33554433,VS(t,t.type,e===null?null:e.memoizedProps,t.pendingProps,o),null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==i&&ns(t);else{if(typeof i!=="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=be(nc.current),o=Ze(),nd(t)){if(e=t.stateNode,o=t.memoizedProps,s=!yl,i=null,c=wo,c!==null)switch(c.tag){case 3:s&&(s=vD(e,o,i),s!==null&&(Cf(t,0).serverProps=s));break;case 27:case 5:i=c.memoizedProps,s&&(s=vD(e,o,i),s!==null&&(Cf(t,0).serverProps=s))}e[jo]=t,e=e.nodeValue===o||i!==null&&i.suppressHydrationWarning===!0||YE(e.nodeValue,o)?!0:!1,e||zs(t,!0)}else s=o.ancestorInfo.current,s!=null&&Cb(i,s.tag,o.ancestorInfo.implicitRootScope),e=Wm(e).createTextNode(i),e[jo]=t,t.stateNode=e}return ln(t),null;case 31:if(o=t.memoizedState,e===null||e.memoizedState!==null){if(i=nd(t),o!==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(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[jo]=t,ln(t),(t.mode&It)!==lt&&o!==null&&(e=t.child,e!==null&&(t.treeBaseDuration-=e.treeBaseDuration))}else Gy(),yf(),(t.flags&128)===0&&(o=t.memoizedState=null),t.flags|=4,ln(t),(t.mode&It)!==lt&&o!==null&&(e=t.child,e!==null&&(t.treeBaseDuration-=e.treeBaseDuration));e=!1}else o=Vy(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=o),e=!0;if(!e){if(t.flags&256)return di(t),t;return di(t),null}if((t.flags&128)!==0)throw Error("Client rendering an Activity suspended it again. This is a bug in React.")}return ln(t),null;case 13:if(i=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(s=i,c=nd(t),s!==null&&s.dehydrated!==null){if(e===null){if(!c)throw Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(c=t.memoizedState,c=c!==null?c.dehydrated:null,!c)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");c[jo]=t,ln(t),(t.mode&It)!==lt&&s!==null&&(s=t.child,s!==null&&(t.treeBaseDuration-=s.treeBaseDuration))}else Gy(),yf(),(t.flags&128)===0&&(s=t.memoizedState=null),t.flags|=4,ln(t),(t.mode&It)!==lt&&s!==null&&(s=t.child,s!==null&&(t.treeBaseDuration-=s.treeBaseDuration));s=!1}else s=Vy(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=s),s=!0;if(!s){if(t.flags&256)return di(t),t;return di(t),null}}if(di(t),(t.flags&128)!==0)return t.lanes=o,(t.mode&It)!==lt&&Dm(t),t;return o=i!==null,e=e!==null&&e.memoizedState!==null,o&&(i=t.child,s=null,i.alternate!==null&&i.alternate.memoizedState!==null&&i.alternate.memoizedState.cachePool!==null&&(s=i.alternate.memoizedState.cachePool.pool),c=null,i.memoizedState!==null&&i.memoizedState.cachePool!==null&&(c=i.memoizedState.cachePool.pool),c!==s&&(i.flags|=2048)),o!==e&&o&&(t.child.flags|=8192),dx(t,t.updateQueue),ln(t),(t.mode&It)!==lt&&o&&(e=t.child,e!==null&&(t.treeBaseDuration-=e.treeBaseDuration)),null;case 4:return we(t),e===null&&v_(t.stateNode.containerInfo),t.flags|=67108864,ln(t),null;case 10:return Ql(t.type,t),ln(t),null;case 19:if(nS(t),i=t.memoizedState,i===null)return ln(t),null;if(s=(t.flags&128)!==0,c=i.rendering,c===null)if(s)Fm(i,!1);else{if(wn!==hs||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(c=Yb(e),c!==null){t.flags|=128,Fm(i,!1),e=c.updateQueue,t.updateQueue=e,dx(t,e),t.subtreeFlags=0,e=o;for(o=t.child;o!==null;)hT(o,e),o=o.sibling;return Bm(t,Ho.current&Vd|Dh),vt&&Jl(t,i.treeForkCount),t.child}e=e.sibling}i.tail!==null&&Wn()>yI&&(t.flags|=128,s=!0,Fm(i,!1),t.lanes=4194304)}else{if(!s)if(e=Yb(c),e!==null){if(t.flags|=128,s=!0,e=e.updateQueue,t.updateQueue=e,dx(t,e),Fm(i,!0),i.tail===null&&i.tailMode!=="collapsed"&&i.tailMode!=="visible"&&!c.alternate&&!vt)return ln(t),null}else 2*Wn()-i.renderingStartTime>yI&&o!==536870912&&(t.flags|=128,s=!0,Fm(i,!1),t.lanes=4194304);i.isBackwards?(c.sibling=t.child,t.child=c):(e=i.last,e!==null?e.sibling=c:t.child=c,i.last=c)}if(i.tail!==null){e=i.tail;e:{for(o=e;o!==null;){if(o.alternate!==null){o=!1;break e}o=o.sibling}o=!0}return i.rendering=e,i.tail=e.sibling,i.renderingStartTime=Wn(),e.sibling=null,c=Ho.current,c=s?c&Vd|Dh:c&Vd,i.tailMode==="visible"||i.tailMode==="collapsed"||!o||vt?Bm(t,c):(o=c,se(Fo,t,t),se(Ho,o,t),ir===null&&(ir=t)),vt&&Jl(t,i.treeForkCount),e}return ln(t),null;case 22:case 23:return di(t),eS(t),i=t.memoizedState!==null,e!==null?e.memoizedState!==null!==i&&(t.flags|=8192):i&&(t.flags|=8192),i?(o&536870912)!==0&&(t.flags&128)===0&&(ln(t),t.subtreeFlags&6&&(t.flags|=8192)):ln(t),o=t.updateQueue,o!==null&&dx(t,o.retryQueue),o=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(o=e.memoizedState.cachePool.pool),i=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(i=t.memoizedState.cachePool.pool),i!==o&&(t.flags|=2048),e!==null&&fe(jf,t),null;case 24:return o=null,e!==null&&(o=e.memoizedState.cache),t.memoizedState.cache!==o&&(t.flags|=2048),Ql(Qn,t),ln(t),null;case 25:return null;case 30:return t.flags|=33554432,ln(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 t7(e,t){switch(zy(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,(t.mode&It)!==lt&&Dm(t),t):null;case 3:return Ql(Qn,t),we(t),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return Tt(t),null;case 31:if(t.memoizedState!==null){if(di(t),t.alternate===null)throw Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");yf()}return e=t.flags,e&65536?(t.flags=e&-65537|128,(t.mode&It)!==lt&&Dm(t),t):null;case 13:if(di(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.");yf()}return e=t.flags,e&65536?(t.flags=e&-65537|128,(t.mode&It)!==lt&&Dm(t),t):null;case 19:return nS(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 we(t),null;case 10:return Ql(t.type,t),null;case 22:case 23:return di(t),eS(t),e!==null&&fe(jf,t),e=t.flags,e&65536?(t.flags=e&-65537|128,(t.mode&It)!==lt&&Dm(t),t):null;case 24:return Ql(Qn,t),null;case 25:return null;default:return null}}function L2(e,t){switch(zy(t),t.tag){case 3:Ql(Qn,t),we(t);break;case 26:case 27:case 5:Tt(t);break;case 4:we(t);break;case 31:t.memoizedState!==null&&di(t);break;case 13:di(t);break;case 19:nS(t);break;case 10:Ql(t.type,t);break;case 22:case 23:di(t),eS(t),e!==null&&fe(jf,t);break;case 24:Ql(Qn,t)}}function ul(e){return(e.mode&It)!==lt}function k2(e,t){ul(e)?(fl(),Hm(t,e),cl()):Hm(t,e)}function GS(e,t,o){ul(e)?(fl(),sd(o,e,t),cl()):sd(o,e,t)}function Hm(e,t){try{var o=t.updateQueue,i=o!==null?o.lastEffect:null;if(i!==null){var s=i.next;o=s;do{if((o.tag&e)===e&&(i=void 0,(e&Nr)!==Mh&&(ep=!0),i=xe(t,Q9,o),(e&Nr)!==Mh&&(ep=!1),i!==void 0&&typeof i!=="function")){var c=void 0;c=(o.tag&xi)!==0?"useLayoutEffect":(o.tag&Nr)!==0?"useInsertionEffect":"useEffect";var d=void 0;d=i===null?" You returned null. If your effect does not require clean up, return undefined (or nothing).":typeof i.then==="function"?`
|
|
143
|
+
|
|
144
|
+
It looks like you wrote `+c+`(async () => ...) or returned a Promise. Instead, write the async function inside your effect and call it immediately:
|
|
145
|
+
|
|
146
|
+
`+c+`(() => {
|
|
147
|
+
async function fetchData() {
|
|
148
|
+
// You can await here
|
|
149
|
+
const response = await MyAPI.getData(someId);
|
|
150
|
+
// ...
|
|
151
|
+
}
|
|
152
|
+
fetchData();
|
|
153
|
+
}, [someId]); // Or [] if effect doesn't need props or state
|
|
154
|
+
|
|
155
|
+
Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fetching`:" You returned: "+i,xe(t,function(m,g){console.error("%s must not return anything besides a function, which is used for clean-up.%s",m,g)},c,d)}o=o.next}while(o!==s)}}catch(m){Yt(t,t.return,m)}}function sd(e,t,o){try{var i=t.updateQueue,s=i!==null?i.lastEffect:null;if(s!==null){var c=s.next;i=c;do{if((i.tag&e)===e){var d=i.inst,m=d.destroy;m!==void 0&&(d.destroy=void 0,(e&Nr)!==Mh&&(ep=!0),s=t,xe(s,eV,s,o,m),(e&Nr)!==Mh&&(ep=!1))}i=i.next}while(i!==c)}}catch(g){Yt(t,t.return,g)}}function P2(e,t){ul(e)?(fl(),Hm(t,e),cl()):Hm(t,e)}function XS(e,t,o){ul(e)?(fl(),sd(o,e,t),cl()):sd(o,e,t)}function j2(e){var t=e.updateQueue;if(t!==null){var o=e.stateNode;e.type.defaultProps||"ref"in e.memoizedProps||$d||(o.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.",B(e)||"instance"),o.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.",B(e)||"instance"));try{xe(e,FT,t,o)}catch(i){Yt(e,e.return,i)}}}function n7(e,t,o){return e.getSnapshotBeforeUpdate(t,o)}function o7(e,t){var o=t.memoizedProps,i=t.memoizedState;t=e.stateNode,e.type.defaultProps||"ref"in e.memoizedProps||$d||(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.",B(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.",B(e)||"instance"));try{var s=Tf(e.type,o),c=xe(e,n7,t,s,i);o=GU,c!==void 0||o.has(e.type)||(o.add(e.type),xe(e,function(){console.error("%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.",B(e))})),t.__reactInternalSnapshotBeforeUpdate=c}catch(d){Yt(e,e.return,d)}}function F2(e,t,o){o.props=Tf(e.type,e.memoizedProps),o.state=e.memoizedState,ul(e)?(fl(),xe(e,sU,e,t,o),cl()):xe(e,sU,e,t,o)}function r7(e){var t=e.ref;if(t!==null){switch(e.tag){case 26:case 27:case 5:var o=e.stateNode;break;case 30:o=e.stateNode;var i=Wl(e.memoizedProps,o);if(o.ref===null||o.ref.name!==i)o.ref=uD(i);o=o.ref;break;case 7:e.stateNode===null&&(o=new mi(e),ie(e,az,o),e.stateNode=o),o=e.stateNode;break;default:o=e.stateNode}if(typeof t==="function")if(ul(e))try{fl(),e.refCleanup=t(o)}finally{cl()}else e.refCleanup=t(o);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().",B(e)),t.current=o}}function dl(e,t){try{xe(e,r7,e)}catch(o){Yt(e,t,o)}}function ko(e,t){var o=e.ref,i=e.refCleanup;if(o!==null)if(typeof i==="function")try{if(ul(e))try{fl(),xe(e,i)}finally{cl(e)}else xe(e,i)}catch(s){Yt(e,t,s)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof o==="function")try{if(ul(e))try{fl(),xe(e,o,null)}finally{cl(e)}else xe(e,o,null)}catch(s){Yt(e,t,s)}else o.current=null}function H2(e,t,o,i){var s=e.memoizedProps,c=s.id,d=s.onCommit;s=s.onRender,t=t===null?"mount":"update",tI&&(t="nested-update"),typeof s==="function"&&s(c,t,e.actualDuration,e.treeBaseDuration,e.actualStartTime,o),typeof d==="function"&&d(c,t,i,o)}function i7(e,t,o,i){var s=e.memoizedProps;e=s.id,s=s.onPostCommit,t=t===null?"mount":"update",tI&&(t="nested-update"),typeof s==="function"&&s(e,t,i,o)}function px(e,t){if((e.tag===5||e.tag===27||e.tag===6)&&e.alternate===null&&t!==null)for(var o=0;o<t.length;o++)bD(e.stateNode,t[o])}function z2(e){for(var t=e.return;t!==null;){if($S(t)&&bD(e.stateNode,t.stateNode),qS(t))break;t=t.return}}function zm(e){for(var t=e.return;t!==null;){if($S(t)&&lz(e.stateNode,t.stateNode),qS(t))break;t=t.return}}function qS(e){return e.tag===5||e.tag===3||e.tag===27}function $S(e){return e&&e.tag===7&&e.stateNode!==null}function YS(e){var{type:t,memoizedProps:o,stateNode:i}=e;try{xe(e,N7,i,t,o,e)}catch(s){Yt(e,e.return,s)}}function WS(e,t,o){try{xe(e,L7,e.stateNode,e.type,o,t,e)}catch(i){Yt(e,e.return,i)}}function V2(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&ec(e.type)||e.tag===4}function ZS(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||V2(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&&ec(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 KS(e,t,o,i){var s=e.tag;if(s===5||s===6)s=e.stateNode,t?(iD(o),(o.nodeType===9?o.body:o.nodeName==="HTML"?o.ownerDocument.body:o).insertBefore(s,t)):(iD(o),t=o.nodeType===9?o.body:o.nodeName==="HTML"?o.ownerDocument.body:o,t.appendChild(s),s=o._reactRootContainer,s!==null&&s!==void 0||t.onclick!==null||(t.onclick=tl)),px(e,i),qt=!0;else if(s!==4&&(s===27&&(px(e,i),i=null,ec(e.type)&&(o=e.stateNode,t=null)),e=e.child,e!==null))for(KS(e,t,o,i),e=e.sibling;e!==null;)KS(e,t,o,i),e=e.sibling}function mx(e,t,o,i){var s=e.tag;if(s===5||s===6)s=e.stateNode,t?o.insertBefore(s,t):o.appendChild(s),px(e,i),qt=!0;else if(s!==4&&(s===27&&(px(e,i),i=null,ec(e.type)&&(o=e.stateNode)),e=e.child,e!==null))for(mx(e,t,o,i),e=e.sibling;e!==null;)mx(e,t,o,i),e=e.sibling}function a7(e){for(var t,o=e.return;o!==null;){if(V2(o)){t=o;break}o=o.return}o=null;for(var i=e.return;i!==null;){if($S(i)){var s=i.stateNode;o===null?o=[s]:o.push(s)}if(qS(i))break;i=i.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,i=ZS(e),mx(e,i,t,o);break;case 5:i=t.stateNode,t.flags&32&&(rD(i),t.flags&=-33),t=ZS(e),mx(e,t,i,o);break;case 3:case 4:t=t.stateNode.containerInfo,i=ZS(e),KS(e,i,t,o);break;default:throw Error("Invalid host parent fiber. This error is likely caused by a bug in React. Please file an issue.")}}function G2(e){var{stateNode:t,memoizedProps:o}=e;try{xe(e,gz,e.type,o,t,e)}catch(i){Yt(e,e.return,i)}}function X2(e){if(e.tag===30||(e.subtreeFlags&33554432)!==0)dI=!0}function q2(){var e=Ol;return Ol=null,e}function cd(e,t,o,i,s){return Xr=0,(t=$2(e.child,t,o,i,s))&&e._debugTask!=null&&Gr===null&&(Gr=e._debugTask),t}function $2(e,t,o,i,s){for(var c=!1;e!==null;){if(e.tag===5){var d=e.stateNode;if(i!==null){var m=A_(d);i.push(m),m.view&&(c=!0)}else c||A_(d).view&&(c=!0);dI=!0,sD(d,Xr===0?t:t+"_"+Xr,o),Xr++}else if(e.tag!==22||e.memoizedState===null)e.tag===30&&s||$2(e.child,t,o,i,s)&&(c=!0);e=e.sibling}return c}function pl(e,t){for(;e!==null;){if(e.tag===5)cD(e.stateNode,e.memoizedProps);else if(e.tag!==22||e.memoizedState===null)e.tag===30&&t||pl(e.child,t);e=e.sibling}}function hx(e){if((e.subtreeFlags&18874368)!==0)for(e=e.child;e!==null;){if(e.tag!==22||e.memoizedState===null){if(hx(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 o=t.name;t=Zl(t.default,t.share),t!=="none"&&(cd(e,o,t,null,!1)||pl(e.child,!1))}}e=e.sibling}}function JS(e,t){if(e.tag===30){var o=e.stateNode,i=e.memoizedProps,s=Wl(i,o),c=Zl(i.default,o.paired?i.share:i.enter);c!=="none"?cd(e,s,c,null,!1)?(hx(e),o.paired||t||dd(e,i.onEnter)):pl(e.child,!1):hx(e)}else if((e.subtreeFlags&33554432)!==0)for(e=e.child;e!==null;)JS(e,t),e=e.sibling;else hx(e)}function QS(e){if(Ii!==null&&Ii.size!==0){var t=Ii;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 o=e.memoizedProps,i=o.name;if(i!=null&&i!=="auto"){var s=t.get(i);if(s!==void 0){var c=Zl(o.default,o.share);if(c!=="none"&&(cd(e,i,c,null,!1)?(c=e.stateNode,s.paired=c,c.paired=s,dd(e,o.onShare)):pl(e.child,!1)),t.delete(i),t.size===0)break}}}QS(e)}e=e.sibling}}}function e_(e){if(e.tag===30){var t=e.memoizedProps,o=Wl(t,e.stateNode),i=Ii!==null?Ii.get(o):void 0,s=Zl(t.default,i!==void 0?t.share:t.exit);s!=="none"&&(cd(e,o,s,null,!1)?i!==void 0?(s=e.stateNode,i.paired=s,s.paired=i,Ii.delete(o),dd(e,t.onShare)):dd(e,t.onExit):pl(e.child,!1)),Ii!==null&&QS(e)}else if((e.subtreeFlags&33554432)!==0)for(e=e.child;e!==null;)e_(e),e=e.sibling;else Ii!==null&&QS(e)}function Y2(e){for(e=e.child;e!==null;){if(e.tag===30){var t=e.memoizedProps,o=Wl(t,e.stateNode);t=Zl(t.default,t.update),e.flags&=-5,t!=="none"&&cd(e,o,t,e.memoizedState=[],!1)}else(e.subtreeFlags&33554432)!==0&&Y2(e);e=e.sibling}}function t_(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,pl(e.child,!1))}t_(e)}e=e.sibling}}function gx(e){if(e.tag===30)e.stateNode.paired=null,pl(e.child,!1),t_(e);else if((e.subtreeFlags&33554432)!==0)for(e=e.child;e!==null;)gx(e),e=e.sibling;else t_(e)}function W2(e){for(e=e.child;e!==null;)e.tag===30?pl(e.child,!1):(e.subtreeFlags&33554432)!==0&&W2(e),e=e.sibling}function n_(e,t,o,i,s,c,d){for(var m=!1;t!==null;){if(t.tag===5){var g=t.stateNode;if(c!==null&&Xr<c.length){var C=c[Xr],T=A_(g);if(C.view||T.view)m=!0;var F;if(F=(e.flags&4)===0)if(T.clip)F=!0;else{F=C.rect;var j=T.rect;F=F.y!==j.y||F.x!==j.x||F.height!==j.height||F.width!==j.width}F&&(e.flags|=4),T.abs?T=!C.abs:(C=C.rect,T=T.rect,T=C.height!==T.height||C.width!==T.width),T&&(e.flags|=32)}else e.flags|=32;(e.flags&4)!==0&&sD(g,Xr===0?o:o+"_"+Xr,s),m&&(e.flags&4)!==0||(Ol===null&&(Ol=[]),Ol.push(g,Xr===0?i:i+"_"+Xr,t.memoizedProps)),Xr++}else if(t.tag!==22||t.memoizedState===null)t.tag===30&&d?e.flags|=t.flags&32:n_(e,t.child,o,i,s,c,d)&&(m=!0);t=t.sibling}return m}function Z2(e,t){for(e=e.child;e!==null;){if(e.tag===30){var o=e.memoizedProps,i=e.stateNode,s=Wl(o,i),c=Zl(o.default,o.update);if(t){i=i.clones;var d=i===null?null:i.map($7)}else d=e.memoizedState,e.memoizedState=null;i=e;var m=e.child,g=s;Xr=0,c=n_(i,m,g,s,c,d,!1),(e.flags&4)!==0&&c&&(t||dd(e,o.onUpdate))}else(e.subtreeFlags&33554432)!==0&&Z2(e,t);e=e.sibling}}function K2(e){var t=e.memoizedProps.name;if(t!=null&&t!=="auto"){var o=pI.get(t);if(o!==void 0){if(o!==e&&o!==e.alternate&&!XU[t]){XU[t]=!0;var i=JSON.stringify(t);xe(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.",i)}),xe(o,function(){console.error("The existing <ViewTransition name=%s> duplicate has this stack trace.",i)})}}else pI.set(t,e)}}function J2(e){var t=e.memoizedProps.name;if(t!=null&&t!=="auto"){var o=pI.get(t);o===void 0||o!==e&&o!==e.alternate||pI.delete(t)}}function Q2(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 l7(e,t,o){if(e=e.containerInfo,bR=lp,e=oT(e),Uy(e)){if("selectionStart"in e)var i={start:e.selectionStart,end:e.selectionEnd};else e:{i=(i=e.ownerDocument)&&i.defaultView||window;var s=i.getSelection&&i.getSelection();if(s&&s.rangeCount!==0){i=s.anchorNode;var c=s.anchorOffset,d=s.focusNode;s=s.focusOffset;try{i.nodeType,d.nodeType}catch(Ne){i=null;break e}var m=0,g=-1,C=-1,T=0,F=0,j=e,q=null;t:for(;;){for(var pe;;){if(j!==i||c!==0&&j.nodeType!==3||(g=m+c),j!==d||s!==0&&j.nodeType!==3||(C=m+s),j.nodeType===3&&(m+=j.nodeValue.length),(pe=j.firstChild)===null)break;q=j,j=pe}for(;;){if(j===e)break t;if(q===i&&++T===c&&(g=m),q===d&&++F===s&&(C=m),(pe=j.nextSibling)!==null)break;j=q,q=j.parentNode}j=pe}i=g===-1||C===-1?null:{start:g,end:C}}else i=null}i=i||{start:0,end:0}}else i=null;xR={focusedElem:e,selectionRange:i},lp=!1,o=(o&335544064)===o,Eo=t;for(t=o?9270:1024;Eo!==null;){if(e=Eo,o&&(i=e.deletions,i!==null))for(c=0;c<i.length;c++)o&&e_(i[c]);if(e.alternate===null&&(e.flags&2)!==0)o&&X2(e),bx(o);else{if(e.tag===22){if(i=e.alternate,e.memoizedState!==null){i!==null&&i.memoizedState===null&&o&&e_(i),bx(o);continue}else if(i!==null&&i.memoizedState!==null){o&&X2(e),bx(o);continue}}i=e.child,(e.subtreeFlags&t)!==0&&i!==null?(i.return=e,Eo=i):(o&&Y2(e),bx(o))}}Ii=null}function bx(e){for(;Eo!==null;){var t=Eo,o=t,i=e,s=o.alternate,c=o.flags;switch(o.tag){case 0:case 11:case 15:break;case 1:(c&1024)!==0&&s!==null&&o7(o,s);break;case 3:if((c&1024)!==0){if(i=o.stateNode.containerInfo,o=i.nodeType,o===9)E_(i);else if(o===1)switch(i.nodeName){case"HEAD":case"HTML":case"BODY":E_(i);break;default:i.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;case 30:i&&s!==null&&(i=s,s=o,o=Wl(i.memoizedProps,i.stateNode),s=s.memoizedProps,s=Zl(s.default,s.update),s!=="none"&&cd(i,o,s,i.memoizedState=[],!0));break;default:if((c&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(i=t.sibling,i!==null){i.return=t.return,Eo=i;break}Eo=t.return}}function eE(e,t,o){var i=fi(),s=il(),c=ll(),d=sl(),m=o.flags;switch(o.tag){case 0:case 11:case 15:Sa(e,o),m&4&&k2(o,xi|Wi);break;case 1:if(Sa(e,o),m&4)if(e=o.stateNode,t===null)o.type.defaultProps||"ref"in o.memoizedProps||$d||(e.props!==o.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.",B(o)||"instance"),e.state!==o.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.",B(o)||"instance")),ul(o)?(fl(),xe(o,L0,o,e),cl()):xe(o,L0,o,e);else{var g=Tf(o.type,t.memoizedProps);t=t.memoizedState,o.type.defaultProps||"ref"in o.memoizedProps||$d||(e.props!==o.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.",B(o)||"instance"),e.state!==o.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.",B(o)||"instance")),ul(o)?(fl(),xe(o,iU,o,e,g,t,e.__reactInternalSnapshotBeforeUpdate),cl()):xe(o,iU,o,e,g,t,e.__reactInternalSnapshotBeforeUpdate)}m&64&&j2(o),m&512&&dl(o,o.return);break;case 3:if(t=es(),Sa(e,o),m&64&&(m=o.updateQueue,m!==null)){if(g=null,o.child!==null)switch(o.child.tag){case 27:case 5:g=o.child.stateNode;break;case 1:g=o.child.stateNode}try{xe(o,FT,m,g)}catch(T){Yt(o,o.return,T)}}e.effectDuration+=jb(t);break;case 27:t===null&&m&4&&G2(o);case 26:case 5:if(Sa(e,o),t===null){if(m&4)YS(o);else if(m&64){e=o.type,t=o.memoizedProps,g=o.stateNode;try{xe(o,B7,g,e,t,o)}catch(T){Yt(o,o.return,T)}}}m&512&&dl(o,o.return);break;case 12:if(m&4){m=es(),Sa(e,o),e=o.stateNode,e.effectDuration+=Em(m);try{xe(o,H2,o,t,fs,e.effectDuration)}catch(T){Yt(o,o.return,T)}}else Sa(e,o);break;case 31:Sa(e,o),m&4&&rE(e,o);break;case 13:Sa(e,o),m&4&&iE(e,o),m&64&&(e=o.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(m=v7.bind(null,o),fz(e,m))));break;case 22:if(m=o.memoizedState!==null||To,!m){var C=t!==null&&t.memoizedState!==null||Jt;t=To,g=Jt,To=m,(Jt=C)&&!g?(m=mI,(o.subtreeFlags&8772)!==0&&(m|=K0),ji(e,o,m),(o.mode&It)!==lt&&0<=Qe&&0<=ot&&0.05<ot-Qe&&Ob(o,Qe,ot)):Sa(e,o),To=t,Jt=g}break;case 30:m&18874368&&K2(o),Sa(e,o),m&512&&dl(o,o.return);break;case 7:m&512&&dl(o,o.return);default:Sa(e,o)}(o.mode&It)!==lt&&0<=Qe&&0<=ot&&((kn||0.05<On)&&ol(o,Qe,ot,On,yn),o.alternate===null&&o.return!==null&&o.return.alternate!==null&&0.05<ot-Qe&&(Q2(o.return.alternate,o.return)||nl(o,Qe,ot,"Mount"))),ui(i),al(s),yn=c,kn=d}function o_(e,t){for(e=e.child;e!==null;)tE(e,t),e=e.sibling}function tE(e,t){switch(e.tag){case 5:case 26:try{var o=e.stateNode;t?xe(e,H7,o):xe(e,G7,e.stateNode,e.memoizedProps)}catch(c){Yt(e,e.return,c)}r_(e,t);break;case 6:try{var i=e.stateNode;t?xe(e,z7,i):xe(e,X7,i,e.memoizedProps),qt=!0}catch(c){Yt(e,e.return,c)}break;case 18:try{var s=e.stateNode;t?xe(e,F7,s):xe(e,V7,e.stateNode)}catch(c){Yt(e,e.return,c)}break;case 22:case 23:e.memoizedState===null&&o_(e,t);break;default:o_(e,t)}}function r_(e,t){if(e.subtreeFlags&67108864)for(e=e.child;e!==null;){e:{var o=e,i=t;switch(o.tag){case 4:tE(o,i);break e;case 22:o.memoizedState===null&&r_(o,i);break e;default:r_(o,i)}}e=e.sibling}}function nE(e){var t=e.alternate;t!==null&&(e.alternate=null,nE(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&Yu(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 ya(e,t,o){for(o=o.child;o!==null;)oE(e,t,o),o=o.sibling}function oE(e,t,o){if(or&&typeof or.onCommitFiberUnmount==="function")try{or.onCommitFiberUnmount(_d,o)}catch(C){xl||(xl=!0,console.error("React instrumentation encountered an error: %o",C))}var i=fi(),s=il(),c=ll(),d=sl();switch(o.tag){case 26:Jt||ko(o,t),ya(e,t,o),o.memoizedState?o.memoizedState.count--:o.stateNode&&!Jt&&(e=o.stateNode,e.parentNode.removeChild(e));break;case 27:Jt||ko(o,t),zm(o);var m=to,g=qr;ec(o.type)&&(to=o.stateNode,qr=!1),ya(e,t,o),xe(o,SD,o.stateNode,o.type,o.memoizedProps),to=m,qr=g;break;case 5:Jt||ko(o,t),zm(o);case 6:if(o.tag===6&&zm(o),m=to,g=qr,to=null,ya(e,t,o),to=m,qr=g,to!==null)if(qr)try{xe(o,j7,to,o.stateNode),qt=!0}catch(C){Yt(o,t,C)}else try{xe(o,P7,to,o.stateNode),qt=!0}catch(C){Yt(o,t,C)}break;case 18:to!==null&&(qr?(e=to,aD(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,o.stateNode),Id(e)):aD(to,o.stateNode));break;case 4:m=to,g=qr,to=o.stateNode.containerInfo,qr=!0,ya(e,t,o),to=m,qr=g;break;case 0:case 11:case 14:case 15:sd(Nr,o,t),Jt||GS(o,t,xi),ya(e,t,o);break;case 1:Jt||(ko(o,t),m=o.stateNode,typeof m.componentWillUnmount==="function"&&F2(o,t,m)),ya(e,t,o);break;case 21:ya(e,t,o);break;case 22:Jt=(m=Jt)||o.memoizedState!==null,ya(e,t,o),Jt=m;break;case 30:o.flags&18874368&&J2(o),ko(o,t),ya(e,t,o);break;case 7:Jt||ko(o,t),ya(e,t,o);break;default:ya(e,t,o)}(o.mode&It)!==lt&&0<=Qe&&0<=ot&&(kn||0.05<On)&&ol(o,Qe,ot,On,yn),ui(i),al(s),yn=c,kn=d}function rE(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null))){e=e.dehydrated;try{xe(t,dz,e)}catch(o){Yt(t,t.return,o)}}}function iE(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{xe(t,pz,e)}catch(o){Yt(t,t.return,o)}}function s7(e){switch(e.tag){case 31:case 13:case 19:var t=e.stateNode;return t===null&&(t=e.stateNode=new qU),t;case 22:return e=e.stateNode,t=e._retryCache,t===null&&(t=e._retryCache=new qU),t;default:throw Error("Unexpected Suspense handler tag ("+e.tag+"). This is a bug in React.")}}function xx(e,t){var o=s7(e);t.forEach(function(i){if(!o.has(i)){if(o.add(i),Il)if(Yd!==null&&Wd!==null)qm(Wd,Yd);else throw Error("Expected finished root and lanes to be set. This is a bug in React.");var s=C7.bind(null,e,i);i.then(s,s)}})}function Or(e,t,o){var i=t.deletions;if(i!==null)for(var s=0;s<i.length;s++){var c=e,d=t,m=i[s],g=fi(),C=d;e:for(;C!==null;){switch(C.tag){case 27:if(ec(C.type)){to=C.stateNode,qr=!1;break e}break;case 5:to=C.stateNode,qr=!1;break e;case 3:case 4:to=C.stateNode.containerInfo,qr=!0;break e}C=C.return}if(to===null)throw Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");oE(c,d,m),to=null,qr=!1,(m.mode&It)!==lt&&0<=Qe&&0<=ot&&0.05<ot-Qe&&nl(m,Qe,ot,"Unmount"),ui(g),c=m,d=c.alternate,d!==null&&(d.return=null),c.return=null}if(t.subtreeFlags&13886)for(t=t.child;t!==null;)aE(t,e,o),t=t.sibling}function aE(e,t,o){var i=fi(),s=il(),c=ll(),d=sl(),{alternate:m,flags:g}=e;switch(e.tag){case 0:case 11:case 14:case 15:if(g&4&&(m=e.updateQueue,m=m!==null?m.events:null,m!==null))for(var C=0;C<m.length;C++){var T=m[C];T.ref.impl=T.nextImpl}Or(t,e,o),wr(e),g&4&&(sd(Nr|Wi,e,e.return),Hm(Nr|Wi,e),GS(e,e.return,xi|Wi));break;case 1:Or(t,e,o),wr(e),g&512&&(Jt||m===null||ko(m,m.return)),g&64&&To&&(t=e.updateQueue,t!==null&&(o=t.callbacks,o!==null&&(g=t.shared.hiddenCallbacks,t.shared.hiddenCallbacks=g===null?o:g.concat(o))));break;case 26:if(C=Da,Or(t,e,o),wr(e),g&512&&(Jt||m===null||ko(m,m.return)),g&4)if(g=m!==null?m.memoizedState:null,o=e.memoizedState,m===null)if(o===null)if(e.stateNode===null)if(To)e.stateNode=oD(e.type,e.memoizedProps,t.containerInfo,e);else{e:{t=e.type,o=e.memoizedProps,g=C.ownerDocument||C;t:switch(t){case"title":if(m=g.getElementsByTagName("title")[0],!m||m[ih]||m[jo]||m.namespaceURI===Od||m.hasAttribute("itemprop"))m=g.createElement(t),g.head.insertBefore(m,g.querySelector("head > title"));Po(m,t,o),m[jo]=e,Ro(m),t=m;break e;case"link":if(C=AD("link","href",g).get(t+(o.href||""))){for(T=0;T<C.length;T++)if(m=C[T],m.getAttribute("href")===(o.href==null||o.href===""?null:o.href)&&m.getAttribute("rel")===(o.rel==null?null:o.rel)&&m.getAttribute("title")===(o.title==null?null:o.title)&&m.getAttribute("crossorigin")===(o.crossOrigin==null?null:o.crossOrigin)){C.splice(T,1);break t}}m=g.createElement(t),Po(m,t,o),g.head.appendChild(m);break;case"meta":if(C=AD("meta","content",g).get(t+(o.content||""))){for(T=0;T<C.length;T++)if(m=C[T],Ve(o.content,"content"),m.getAttribute("content")===(o.content==null?null:""+o.content)&&m.getAttribute("name")===(o.name==null?null:o.name)&&m.getAttribute("property")===(o.property==null?null:o.property)&&m.getAttribute("http-equiv")===(o.httpEquiv==null?null:o.httpEquiv)&&m.getAttribute("charset")===(o.charSet==null?null:o.charSet)){C.splice(T,1);break t}}m=g.createElement(t),Po(m,t,o),g.head.appendChild(m);break;default:throw Error('getNodesForType encountered a type it did not expect: "'+t+'". This is a bug in React.')}m[jo]=e,Ro(m),t=m}e.stateNode=t}else To||k_(C,e.type,e.stateNode);else e.stateNode=wD(C,o,e.memoizedProps);else g!==o?(g===null?(t=m.stateNode,t===null||Jt||t.parentNode.removeChild(t)):g.count--,o===null?To||k_(C,e.type,e.stateNode):wD(C,o,e.memoizedProps)):o===null&&e.stateNode!==null&&WS(e,e.memoizedProps,m.memoizedProps);break;case 27:Or(t,e,o),wr(e),g&512&&(Jt||m===null||ko(m,m.return)),m!==null&&g&4&&WS(e,e.memoizedProps,m.memoizedProps);break;case 5:if(C=wl,wl=!1,Or(t,e,o),wl=C,wr(e),g&512&&(Jt||m===null||ko(m,m.return)),e.flags&32){t=e.stateNode;try{xe(e,rD,t),qt=!0}catch(pe){Yt(e,e.return,pe)}}g&4&&e.stateNode!=null&&(t=e.memoizedProps,WS(e,t,m!==null?m.memoizedProps:t)),g&1024&&(J0=!0,e.type!=="form"&&console.error("Unexpected host component type. Expected a form. This is a bug in React."));break;case 6:if(Or(t,e,o),wr(e),g&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,o=m!==null?m.memoizedProps:t,g=e.stateNode;try{xe(e,k7,g,o,t),qt=!0}catch(pe){Yt(e,e.return,pe)}}break;case 3:if(C=es(),qt=!1,PI=null,T=Da,Da=Jm(t.containerInfo),Or(t,e,o),Da=T,wr(e),g&4&&m!==null&&m.memoizedState.isDehydrated)try{xe(e,uz,t.containerInfo)}catch(pe){Yt(e,e.return,pe)}J0&&(J0=!1,lE(e)),t.effectDuration+=jb(C),qt=!1;break;case 4:g=wl,wl=To,m=CA(),C=Da,Da=Jm(e.stateNode.containerInfo),Or(t,e,o),wr(e),Da=C,qt&&Lh&&(hI=!0),qt=m,wl=g;break;case 12:g=es(),Or(t,e,o),wr(e),e.stateNode.effectDuration+=Em(g);break;case 31:Or(t,e,o),wr(e),g&4&&(t=e.updateQueue,t!==null&&(e.updateQueue=null,xx(e,t)));break;case 13:Or(t,e,o),wr(e),e.child.flags&8192&&e.memoizedState!==null!==(m!==null&&m.memoizedState!==null)&&(CI=Wn()),g&4&&(t=e.updateQueue,t!==null&&(e.updateQueue=null,xx(e,t)));break;case 22:C=e.memoizedState!==null,T=m!==null&&m.memoizedState!==null;var F=To,j=Jt,q=wl;To=F||C,wl=q||C,Jt=j||T,Or(t,e,o),Jt=j,wl=q,To=F,T&&!C&&!F&&!j&&(e.mode&It)!==lt&&0<=Qe&&0<=ot&&0.05<ot-Qe&&Ob(e,Qe,ot),wr(e),g&8192&&(t=e.stateNode,t._visibility=C?t._visibility&~mh:t._visibility|mh,!C||m===null||T||To||Jt||(t=mI,o=T||Jt,m=To,T=Jt,To=C||To,Jt=o,Ks(e,t),(e.mode&It)!==lt&&0<=Qe&&0<=ot&&0.05<ot-Qe&&nl(e,Qe,ot,"Disconnect"),To=m,Jt=T),!C&&wl||o_(e,C)),g&4&&(t=e.updateQueue,t!==null&&(o=t.retryQueue,o!==null&&(t.retryQueue=null,xx(e,o))));break;case 19:Or(t,e,o),wr(e),g&4&&(t=e.updateQueue,t!==null&&(e.updateQueue=null,xx(e,t)));break;case 30:g&512&&(Jt||m===null||ko(m,m.return)),g=CA(),C=Lh,T=(o&335544064)===o,F=e.memoizedProps,Lh=T&&Zl(F.default,F.update)!=="none",Or(t,e,o),wr(e),T&&m!==null&&qt&&(e.flags|=4),Lh=C,qt=g;break;case 21:break;case 7:g&512&&(Jt||m===null||ko(m,m.return)),m&&m.stateNode!==null&&(m.stateNode._fragmentFiber=e);default:Or(t,e,o),wr(e)}(e.mode&It)!==lt&&0<=Qe&&0<=ot&&((kn||0.05<On)&&ol(e,Qe,ot,On,yn),e.alternate===null&&e.return!==null&&e.return.alternate!==null&&0.05<ot-Qe&&(Q2(e.return.alternate,e.return)||nl(e,Qe,ot,"Mount"))),ui(i),al(s),yn=c,kn=d}function wr(e){var t=e.flags;if(t&2){try{xe(e,a7,e)}catch(o){Yt(e,e.return,o)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function lE(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var t=e;lE(t),t.tag===5&&t.flags&1024&&(t=t.stateNode,lp=!0,t.reset(),lp=!1),e=e.sibling}}function fd(e,t){if(t.subtreeFlags&9270)for(t=t.child;t!==null;)sE(t,e),t=t.sibling;else Z2(t,!1)}function sE(e,t){var o=e.alternate;if(o===null)JS(e,!1);else switch(e.tag){case 3:if(Q0=Al=!1,q2(),fd(t,e),!Al&&!hI){if(e=Ol,e!==null)for(var i=0;i<e.length;i+=3){o=e[i];var s=e[i+1];cD(o,e[i+2]),o=o.ownerDocument.documentElement,o!==null&&o.animate({opacity:[0,0],pointerEvents:["none","none"]},{duration:0,fill:"forwards",pseudoElement:"::view-transition-group("+s+")"})}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"})),Q0=!0}Ol=null;break;case 5:fd(t,e);break;case 4:i=Al,Al=!1,fd(t,e),Al&&(hI=!0),Al=i;break;case 22:e.memoizedState===null&&(o.memoizedState!==null?JS(e,!1):fd(t,e));break;case 30:i=Al,s=q2(),Al=!1,fd(t,e),Al&&(e.flags|=4);var c=e.memoizedProps,d=e.stateNode;t=Wl(c,d),d=Wl(o.memoizedProps,d);var m=Zl(c.default,c.update);m==="none"?t=!1:(c=o.memoizedState,o.memoizedState=null,o=e.child,Xr=0,t=n_(e,o,t,d,m,c,!0),Xr!==(c===null?0:c.length)&&(e.flags|=32)),(e.flags&4)!==0&&t?(dd(e,e.memoizedProps.onUpdate),Ol=s):s!==null&&(s.push.apply(s,Ol),Ol=s),Al=(e.flags&32)!==0?!0:i;break;default:fd(t,e)}}function Sa(e,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)eE(e,t.alternate,t),t=t.sibling}function cE(e,t){var o=fi(),i=il(),s=ll(),c=sl();switch(e.tag){case 0:case 11:case 14:case 15:GS(e,e.return,xi),Ks(e,t);break;case 1:ko(e,e.return);var d=e.stateNode;typeof d.componentWillUnmount==="function"&&F2(e,e.return,d),Ks(e,t);break;case 27:(t&mI)!==Bh&&xe(e,SD,e.stateNode,e.type,e.memoizedProps);case 5:ko(e,e.return),e.tag!==5&&e.tag!==27||zm(e),Ks(e,t);break;case 6:zm(e);break;case 26:ko(e,e.return),d=e.stateNode,e.memoizedState!==null||d===null||Jt||d.parentNode.removeChild(d),Ks(e,t);break;case 22:e.memoizedState===null&&Ks(e,t);break;case 30:e.flags&18874368&&J2(e),ko(e,e.return),Ks(e,t);break;case 7:ko(e,e.return);default:Ks(e,t)}(e.mode&It)!==lt&&0<=Qe&&0<=ot&&(kn||0.05<On)&&ol(e,Qe,ot,On,yn),ui(o),al(i),yn=s,kn=c}function Ks(e,t){for(e=e.child;e!==null;)cE(e,t),e=e.sibling}function fE(e,t,o,i){var s=fi(),c=il(),d=ll(),m=sl(),g=o.flags,C=(i&K0)!==Bh;switch(o.tag){case 0:case 11:case 15:ji(e,o,i),k2(o,xi);break;case 1:if(ji(e,o,i),t=o.stateNode,typeof t.componentDidMount==="function"&&xe(o,L0,o,t),t=o.updateQueue,t!==null){e=o.stateNode;try{xe(o,VH,t,e)}catch(F){Yt(o,o.return,F)}}C&&g&64&&j2(o),dl(o,o.return);break;case 27:(i&mI)!==Bh&&G2(o);case 5:o.tag!==5&&o.tag!==27||z2(o),ji(e,o,i),C&&t===null&&g&4&&YS(o),dl(o,o.return);break;case 6:z2(o);break;case 26:var T=o.stateNode;o.memoizedState!==null||T===null||To||k_(Jm(T.ownerDocument),o.type,T),ji(e,o,i),C&&t===null&&g&4&&YS(o),dl(o,o.return);break;case 12:if(C&&g&4){g=es(),ji(e,o,i),C=o.stateNode,C.effectDuration+=Em(g);try{xe(o,H2,o,t,fs,C.effectDuration)}catch(F){Yt(o,o.return,F)}}else ji(e,o,i);break;case 31:ji(e,o,i),C&&g&4&&rE(e,o);break;case 13:ji(e,o,i),C&&g&4&&iE(e,o);break;case 22:o.memoizedState===null&&ji(e,o,i),dl(o,o.return);break;case 30:ji(e,o,i),g&18874368&&K2(o),dl(o,o.return);break;case 7:dl(o,o.return);default:ji(e,o,i)}(o.mode&It)!==lt&&0<=Qe&&0<=ot&&(kn||0.05<On)&&ol(o,Qe,ot,On,yn),ui(s),al(c),yn=d,kn=m}function ji(e,t,o){o=(t.subtreeFlags&8772)!==0?o:o&~K0;for(t=t.child;t!==null;)fE(e,t.alternate,t,o),t=t.sibling}function i_(e,t){var o=null;e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(o=e.memoizedState.cachePool.pool),e=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(e=t.memoizedState.cachePool.pool),e!==o&&(e!=null&&Rf(e),o!=null&&Tm(o))}function a_(e,t){e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(Rf(t),e!=null&&Tm(e))}function Fi(e,t,o,i,s){var c=(o&335544064)===o;if(t.subtreeFlags&(c?10262:10256)||t.actualDuration!==0&&(t.alternate===null||t.alternate.child!==t.child))for(t=t.child;t!==null;)c=t.sibling,uE(e,t,o,i,c!==null?c.actualStartTime:s),t=c;else c&&W2(t)}function uE(e,t,o,i,s){var c=fi(),d=il(),m=ll(),g=sl(),C=ac,T=(o&335544064)===o;T&&t.alternate===null&&t.return!==null&&t.return.alternate!==null&&gx(t);var F=t.flags;switch(t.tag){case 0:case 11:case 15:(t.mode&It)!==lt&&0<t.actualStartTime&&(t.flags&1)!==0&&wb(t,t.actualStartTime,s,po,o),Fi(e,t,o,i,s),F&2048&&P2(t,ar|Wi);break;case 1:(t.mode&It)!==lt&&0<t.actualStartTime&&((t.flags&128)!==0?By(t,t.actualStartTime,s,[]):(t.flags&1)!==0&&wb(t,t.actualStartTime,s,po,o)),Fi(e,t,o,i,s);break;case 3:var j=es(),q=po;po=t.alternate!==null&&t.alternate.memoizedState.isDehydrated&&(t.flags&256)===0,Fi(e,t,o,i,s),po=q,T&&Q0&&(o=e.containerInfo,o=o.nodeType===9?o.body:o.nodeName==="HTML"?o.ownerDocument.body:o,o.style.viewTransitionName==="root"&&(o.style.viewTransitionName=""),o=o.ownerDocument.documentElement,o!==null&&o.style.viewTransitionName==="none"&&(o.style.viewTransitionName="")),F&2048&&(o=null,t.alternate!==null&&(o=t.alternate.memoizedState.cache),i=t.memoizedState.cache,i!==o&&(Rf(i),o!=null&&Tm(o))),e.passiveEffectDuration+=jb(j);break;case 12:if(F&2048){F=es(),Fi(e,t,o,i,s),e=t.stateNode,e.passiveEffectDuration+=Em(F);try{xe(t,i7,t,t.alternate,fs,e.passiveEffectDuration)}catch(pe){Yt(t,t.return,pe)}}else Fi(e,t,o,i,s);break;case 31:F=po,j=t.alternate!==null?t.alternate.memoizedState:null,T=t.memoizedState,j!==null&&T===null?(T=t.deletions,T!==null&&0<T.length&&T[0].tag===18?(po=!1,j=j.hydrationErrors,j!==null&&By(t,t.actualStartTime,s,j)):po=!0):po=!1,Fi(e,t,o,i,s),po=F;break;case 13:F=po,j=t.alternate!==null?t.alternate.memoizedState:null,T=t.memoizedState,j===null||j.dehydrated===null||T!==null&&T.dehydrated!==null?po=!1:(T=t.deletions,T!==null&&0<T.length&&T[0].tag===18?(po=!1,j=j.hydrationErrors,j!==null&&By(t,t.actualStartTime,s,j)):po=!0),Fi(e,t,o,i,s),po=F;break;case 23:break;case 22:q=t.stateNode,j=t.alternate,t.memoizedState!==null?(T&&j!==null&&j.memoizedState===null&&gx(j),q._visibility&as?Fi(e,t,o,i,s):Vm(e,t,o,i,s)):(T&&j!==null&&j.memoizedState!==null&&gx(t),q._visibility&as?Fi(e,t,o,i,s):(q._visibility|=as,ud(e,t,o,i,(t.subtreeFlags&10256)!==0||t.actualDuration!==0&&(t.alternate===null||t.alternate.child!==t.child),s),(t.mode&It)===lt||po||(e=t.actualStartTime,0<=e&&0.05<s-e&&Ob(t,e,s),0<=Qe&&0<=ot&&0.05<ot-Qe&&Ob(t,Qe,ot)))),F&2048&&i_(j,t);break;case 24:Fi(e,t,o,i,s),F&2048&&a_(t.alternate,t);break;case 30:T&&(F=t.alternate,F!==null&&(pl(F.child,!0),pl(t.child,!0))),Fi(e,t,o,i,s);break;default:Fi(e,t,o,i,s)}if((t.mode&It)!==lt){if(e=!po&&t.alternate===null&&t.return!==null&&t.return.alternate!==null)o=t.actualStartTime,0<=o&&0.05<s-o&&nl(t,o,s,"Mount");0<=Qe&&0<=ot&&((kn||0.05<On)&&ol(t,Qe,ot,On,yn),e&&0.05<ot-Qe&&nl(t,Qe,ot,"Mount"))}ui(c),al(d),yn=m,kn=g,ac=C}function ud(e,t,o,i,s,c){s=s&&((t.subtreeFlags&10256)!==0||t.actualDuration!==0&&(t.alternate===null||t.alternate.child!==t.child));for(t=t.child;t!==null;){var d=t.sibling;dE(e,t,o,i,s,d!==null?d.actualStartTime:c),t=d}}function dE(e,t,o,i,s,c){var d=fi(),m=il(),g=ll(),C=sl(),T=ac;s&&(t.mode&It)!==lt&&0<t.actualStartTime&&(t.flags&1)!==0&&wb(t,t.actualStartTime,c,po,o);var F=t.flags;switch(t.tag){case 0:case 11:case 15:ud(e,t,o,i,s,c),P2(t,ar);break;case 23:break;case 22:var j=t.stateNode;t.memoizedState!==null?j._visibility&as?ud(e,t,o,i,s,c):Vm(e,t,o,i,c):(j._visibility|=as,ud(e,t,o,i,s,c)),s&&F&2048&&i_(t.alternate,t);break;case 24:ud(e,t,o,i,s,c),s&&F&2048&&a_(t.alternate,t);break;default:ud(e,t,o,i,s,c)}(t.mode&It)!==lt&&0<=Qe&&0<=ot&&(kn||0.05<On)&&ol(t,Qe,ot,On,yn),ui(d),al(m),yn=g,kn=C,ac=T}function Vm(e,t,o,i,s){if(t.subtreeFlags&10256||t.actualDuration!==0&&(t.alternate===null||t.alternate.child!==t.child))for(var c=t.child;c!==null;){t=c.sibling;var d=e,m=o,g=i,C=t!==null?t.actualStartTime:s,T=ac;(c.mode&It)!==lt&&0<c.actualStartTime&&(c.flags&1)!==0&&wb(c,c.actualStartTime,C,po,m);var F=c.flags;switch(c.tag){case 22:Vm(d,c,m,g,C),F&2048&&i_(c.alternate,c);break;case 24:Vm(d,c,m,g,C),F&2048&&a_(c.alternate,c);break;default:Vm(d,c,m,g,C)}ac=T,c=t}}function Ef(e,t,o){if(e.subtreeFlags&Xf)for(e=e.child;e!==null;)pE(e,t,o),e=e.sibling}function pE(e,t,o){switch(e.tag){case 26:Ef(e,t,o),e.flags&Xf&&(e.memoizedState!==null?Iz(o,Da,e.memoizedState,e.memoizedProps):(e=e.stateNode,(t&335544128)===t&&MD(o,e)));break;case 5:Ef(e,t,o),e.flags&Xf&&(e=e.stateNode,(t&335544128)===t&&MD(o,e));break;case 3:case 4:var i=Da;Da=Jm(e.stateNode.containerInfo),Ef(e,t,o),Da=i;break;case 22:e.memoizedState===null&&(i=e.alternate,i!==null&&i.memoizedState!==null?(i=Xf,Xf=16777216,Ef(e,t,o),Xf=i):Ef(e,t,o));break;case 30:if((e.flags&Xf)!==0&&(i=e.memoizedProps.name,i!=null&&i!=="auto")){var s=e.stateNode;s.paired=null,Ii===null&&(Ii=new Map),Ii.set(i,s)}Ef(e,t,o);break;default:Ef(e,t,o)}}function mE(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 Gm(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var o=0;o<t.length;o++){var i=t[o],s=fi();Eo=i,bE(i,e),(i.mode&It)!==lt&&0<=Qe&&0<=ot&&0.05<ot-Qe&&nl(i,Qe,ot,"Unmount"),ui(s)}mE(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)hE(e),e=e.sibling}function hE(e){var t=fi(),o=il(),i=ll(),s=sl();switch(e.tag){case 0:case 11:case 15:Gm(e),e.flags&2048&&XS(e,e.return,ar|Wi);break;case 3:var c=es();Gm(e),e.stateNode.passiveEffectDuration+=jb(c);break;case 12:c=es(),Gm(e),e.stateNode.passiveEffectDuration+=Em(c);break;case 22:c=e.stateNode,e.memoizedState!==null&&c._visibility&as&&(e.return===null||e.return.tag!==13)?(c._visibility&=~as,Ix(e),(e.mode&It)!==lt&&0<=Qe&&0<=ot&&0.05<ot-Qe&&nl(e,Qe,ot,"Disconnect")):Gm(e);break;default:Gm(e)}(e.mode&It)!==lt&&0<=Qe&&0<=ot&&(kn||0.05<On)&&ol(e,Qe,ot,On,yn),ui(t),al(o),kn=s,yn=i}function Ix(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var o=0;o<t.length;o++){var i=t[o],s=fi();Eo=i,bE(i,e),(i.mode&It)!==lt&&0<=Qe&&0<=ot&&0.05<ot-Qe&&nl(i,Qe,ot,"Unmount"),ui(s)}mE(e)}for(e=e.child;e!==null;)gE(e),e=e.sibling}function gE(e){var t=fi(),o=il(),i=ll(),s=sl();switch(e.tag){case 0:case 11:case 15:XS(e,e.return,ar),Ix(e);break;case 22:var c=e.stateNode;c._visibility&as&&(c._visibility&=~as,Ix(e));break;default:Ix(e)}(e.mode&It)!==lt&&0<=Qe&&0<=ot&&(kn||0.05<On)&&ol(e,Qe,ot,On,yn),ui(t),al(o),kn=s,yn=i}function bE(e,t){for(;Eo!==null;){var o=Eo,i=o,s=t,c=fi(),d=il(),m=ll(),g=sl();switch(i.tag){case 0:case 11:case 15:XS(i,s,ar);break;case 23:case 22:i.memoizedState!==null&&i.memoizedState.cachePool!==null&&(s=i.memoizedState.cachePool.pool,s!=null&&Rf(s));break;case 24:Tm(i.memoizedState.cache)}if((i.mode&It)!==lt&&0<=Qe&&0<=ot&&(kn||0.05<On)&&ol(i,Qe,ot,On,yn),ui(c),al(d),kn=g,yn=m,i=o.child,i!==null)i.return=o,Eo=i;else e:for(o=e;Eo!==null;){if(i=Eo,c=i.sibling,d=i.return,nE(i),i===o){Eo=null;break e}if(c!==null){c.return=d,Eo=c;break e}Eo=d}}}function c7(){iV.forEach(function(e){return e()})}function xE(){var e=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0;return e||oe.actQueue===null||console.error("The current testing environment is not configured to support act(...)"),e}function pi(e){if((jt&mo)!==Do&&ut!==0)return ut&-ut;var t=oe.T;if(t!==null)return t._updatedFibers||(t._updatedFibers=new Set),t._updatedFibers.add(e),Hf!==null&&Fr()===Tr&&(Hf=null),x_();return e=Fr(),e===Tr&&(Hf=null),e}function IE(){if(Yr===0)if((ut&536870912)===0||vt){var e=Lx;Lx<<=1,(Lx&3932160)===0&&(Lx=262144),Yr=e}else Yr=536870912;return e=Fo.current,e!==null&&(e.flags|=32),Yr}function dd(e,t){if(t!=null){var o=e.stateNode,i=o.ref;i===null&&(i=o.ref=uD(Wl(e.memoizedProps,o))),Jd===null&&(Jd=[]),Jd.push(t.bind(null,i))}}function Ln(e,t,o){if(ep&&console.error("useInsertionEffect must not schedule updates."),cR&&(AI=!0),e===cn&&(Qt===$f||Qt===Yf)||e.cancelPendingCommit!==null)md(e,0),Js(e,ut,Yr,!1);if(W(e,o),(jt&mo)!==Do&&e===cn){if(bl)switch(t.tag){case 0:case 11:case 15:e=St&&B(St)||"Unknown",rN.has(e)||(rN.add(e),t=B(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:oN||(console.error("Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state."),oN=!0)}}else Il&&nt(e,t,o),S7(t),e===cn&&((jt&mo)===Do&&(Ic|=o),wn===bc&&Js(e,ut,Yr,!1)),ml(e)}function vE(e,t,o){if((jt&(mo|vi))!==Do)throw Error("Should not already be working.");if(ut!==0&&St!==null){var i=St,s=Wn();switch(KM){case Fh:case $f:var c=Ch;mn&&((i=i._debugTask)?i.run(console.timeStamp.bind(console,"Suspended",c,s,Vr,void 0,"primary-light")):console.timeStamp("Suspended",c,s,Vr,void 0,"primary-light"));break;case Yf:c=Ch,mn&&((i=i._debugTask)?i.run(console.timeStamp.bind(console,"Action",c,s,Vr,void 0,"primary-light")):console.timeStamp("Action",c,s,Vr,void 0,"primary-light"));break;default:mn&&(i=s-Ch,3>i||console.timeStamp("Blocked",Ch,s,Vr,void 0,5>i?"primary-light":10>i?"primary":100>i?"primary-dark":"error"))}}c=(o=!o&&(t&127)===0&&(t&e.expiredLanes)===0||kt(e,t))?u7(e,t):s_(e,t,!0);var d=o;do{if(c===hs){Zd&&!o&&Js(e,t,0,!1),t=Qt,Ch=Zn(),KM=t;break}else{if(i=Wn(),s=e.current.alternate,d&&!f7(s)){tr(t),s=Ao,c=i,!mn||c<=s||(Pn?Pn.run(console.timeStamp.bind(console,"Teared Render",s,c,Et,wt,"error")):console.timeStamp("Teared Render",s,c,Et,wt,"error")),Df(t,i),c=s_(e,t,!1),d=!1;continue}if(c===qf){if(d=t,e.errorRecoveryDisabledLanes&d)var m=0;else m=e.pendingLanes&-536870913,m=m!==0?m:m&536870912?536870912:0;if(m!==0){tr(t),Ly(Ao,i,t,Pn),Df(t,i),t=m;e:{i=e,c=d,d=zh;var g=i.current.memoizedState.isDehydrated;if(g&&(md(i,m).flags|=256),m=s_(i,m,!1),m!==qf&&m!==jh){if(nR&&!g){i.errorRecoveryDisabledLanes|=c,Ic|=c,c=bc;break e}i=Br,Br=d,i!==null&&(Br===null?Br=i:Br.push.apply(Br,i))}c=m}if(d=!1,c!==qf)continue;else i=Wn()}}if(c===Ph){tr(t),Ly(Ao,i,t,Pn),Df(t,i),md(e,0),Js(e,t,0,!0);break}e:{switch(o=e,c){case hs:case Ph:throw Error("Root did not complete. This is a bug in React.");case bc:if((t&4194048)!==t&&(t&62914560)!==t)break;case jh:tr(t),lT(Ao,i,t,Pn),Df(t,i),s=t,(s&127)!==0?Qx=i:(s&4194048)!==0&&(eI=i),Js(o,t,Yr,!gs);break e;case qf:Br=null;break;case gI:case $U:break;default:throw Error("Unknown root exit status.")}if(oe.actQueue!==null)c_(o,s,t,Br,Vh,vI,Yr,Ic,Wf,gs,c,null,null,Ao,i);else{if((t&62914560)===t&&(d=CI+ZU-Wn(),10<d)){if(Js(o,t,Yr,!gs),We(o,0,!0)!==0)break e;Wr=t,o.timeoutHandle=vR(CE.bind(null,o,s,Br,Vh,vI,t,Yr,Ic,Wf,gs,c,"Throttled",Ao,i),d);break e}CE(o,s,Br,Vh,vI,t,Yr,Ic,Wf,gs,c,null,Ao,i)}}}break}while(1);ml(e)}function CE(e,t,o,i,s,c,d,m,g,C,T,F,j,q){e.timeoutHandle=tu;var pe=t.subtreeFlags,Ne=(c&335544064)===c,Ge=null;if(Ne||pe&8192||(pe&16785408)===16785408){if(Ge={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:tl},Ii=null,pE(t,c,Ge),Ne&&(pe=Ge,Ne=e.containerInfo,Ne=(Ne.nodeType===9?Ne:Ne.ownerDocument).__reactViewTransition,Ne!=null&&(pe.count++,pe.waitingForViewTransition=!0,pe=th.bind(pe),Ne.finished.then(pe,pe))),pe=(c&62914560)===c?CI-Wn():(c&4194048)===c?WU-Wn():0,pe=vz(Ge,pe),pe!==null){Wr=c,e.cancelPendingCommit=pe(c_.bind(null,e,t,c,o,i,s,d,m,g,C,T,Ge,Ge.waitingForViewTransition?"Waiting for the previous Animation":0<Ge.count?0<Ge.imgCount?"Suspended on CSS and Images":"Suspended on CSS":Ge.imgCount===1?"Suspended on an Image":0<Ge.imgCount?"Suspended on Images":null,j,q)),Js(e,c,d,!C);return}}c_(e,t,c,o,i,s,d,m,g,C,T,Ge,F,j,q)}function f7(e){for(var t=e;;){var o=t.tag;if((o===0||o===11||o===15)&&t.flags&16384&&(o=t.updateQueue,o!==null&&(o=o.stores,o!==null)))for(var i=0;i<o.length;i++){var s=o[i],c=s.getSnapshot;s=s.value;try{if(!Mr(c(),s))return!1}catch(d){return!1}}if(o=t.child,t.subtreeFlags&16384&&o!==null)o.return=t,t=o;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 Js(e,t,o,i){t=Bn(e,t),t&=~II,t&=~Ic,e.suspendedLanes|=t,e.pingedLanes&=~t,i&&(e.warmLanes|=t),i=e.expirationTimes;for(var s=t;0<s;){var c=31-Ar(s),d=1<<c;i[c]=-1,s&=~d}o!==0&&Se(e,o,t)}function pd(){return(jt&(mo|vi))===Do?($m(0,!1),!1):!0}function l_(){if(St!==null){if(Qt===$r)var e=St.return;else e=St,Bb(),sS(e),zd=null,Eh=0,e=St;for(;e!==null;)L2(e.alternate,e),e=e.return;St=null}}function Df(e,t){(e&127)!==0&&(fc=t),(e&4194048)!==0&&(Aa=t),(e&62914560)!==0&&(M0=t),(e&2080374784)!==0&&(U0=t)}function md(e,t){mn&&(console.timeStamp("Blocking Track",0.003,0.003,"Blocking",wt,"primary-light"),console.timeStamp("Transition Track",0.003,0.003,"Transition",wt,"primary-light"),console.timeStamp("Suspense Track",0.003,0.003,"Suspense",wt,"primary-light"),console.timeStamp("Idle Track",0.003,0.003,"Idle",wt,"primary-light"));var o=Ao;if(Ao=Zn(),ut!==0&&0<o){if(tr(ut),wn===gI||wn===bc)lT(o,Ao,t,Pn);else{var i=Ao,s=Pn;if(mn&&!(i<=o)){var c=(t&738197653)===t?"tertiary-dark":"primary-dark",d=(t&536870912)===t?"Prewarm":(t&201326741)===t?"Interrupted Hydration":"Interrupted Render";s?s.run(console.timeStamp.bind(console,d,o,i,Et,wt,c)):console.timeStamp(d,o,i,Et,wt,c)}}Df(ut,Ao)}if(o=Pn,Pn=null,(t&127)!==0){Pn=xh,s=0<=Sl&&Sl<fc?fc:Sl,i=0<=Lf&&Lf<fc?fc:Lf,c=0<=i?i:0<=s?s:Ao,0<=Qx?(tr(2),sT(Qx,c,t,o)):(Pf&127)!==0&&(tr(2),Fs(fc,c,Gr)),o=s;var m=i,g=Ih,C=0<jd,T=uc===bh,F=uc===Jx;if(s=Ao,i=xh,c=T0,d=E0,mn){if(Et="Blocking",0<o?o>s&&(o=s):o=s,0<m?m>o&&(m=o):m=o,g!==null&&o>m){var j=C?"secondary-light":"warning";i?i.run(console.timeStamp.bind(console,C?"Consecutive":"Event: "+g,m,o,Et,wt,j)):console.timeStamp(C?"Consecutive":"Event: "+g,m,o,Et,wt,j)}s>o&&(m=T?"error":(t&738197653)===t?"tertiary-light":"primary-light",T=F?"Promise Resolved":T?"Cascading Update":5<s-o?"Update Blocked":"Update",F=[],d!=null&&F.push(["Component name",d]),c!=null&&F.push(["Method name",c]),o={start:o,end:s,detail:{devtools:{properties:F,track:Et,trackGroup:wt,color:m}}},i?i.run(performance.measure.bind(performance,T,o)):performance.measure(T,o),performance.clearMeasures(T))}Sl=-1.1,uc=0,E0=T0=null,Qx=-1.1,jd=Lf,Lf=-1.1,fc=Zn()}return(t&4194048)!==0&&(Pn=vh,s=0<=ds&&ds<Aa?Aa:ds,o=0<=Yi&&Yi<Aa?Aa:Yi,i=0<=dc&&dc<Aa?Aa:dc,c=0<=i?i:0<=o?o:Ao,0<=eI?(tr(256),sT(eI,c,t,Pn)):(Pf&4194048)!==0&&(tr(256),Fs(Aa,c,Gr)),F=i,m=kf,g=0<pc,C=D0===Jx,c=Ao,i=vh,d=WM,T=ZM,mn&&(Et="Transition",0<o?o>c&&(o=c):o=c,0<s?s>o&&(s=o):s=o,0<F?F>s&&(F=s):F=s,s>F&&m!==null&&(j=g?"secondary-light":"warning",i?i.run(console.timeStamp.bind(console,g?"Consecutive":"Event: "+m,F,s,Et,wt,j)):console.timeStamp(g?"Consecutive":"Event: "+m,F,s,Et,wt,j)),o>s&&(i?i.run(console.timeStamp.bind(console,"Action",s,o,Et,wt,"primary-dark")):console.timeStamp("Action",s,o,Et,wt,"primary-dark")),c>o&&(s=C?"Promise Resolved":5<c-o?"Update Blocked":"Update",F=[],T!=null&&F.push(["Component name",T]),d!=null&&F.push(["Method name",d]),o={start:o,end:c,detail:{devtools:{properties:F,track:Et,trackGroup:wt,color:"primary-light"}}},i?i.run(performance.measure.bind(performance,s,o)):performance.measure(s,o),performance.clearMeasures(s))),Yi=ds=-1.1,D0=0,eI=-1.1,pc=dc,dc=-1.1,Aa=Zn()),(t&62914560)!==0&&(Pf&62914560)!==0&&(tr(4194304),Fs(M0,Ao,Gr)),(t&2080374784)!==0&&(Pf&2080374784)!==0&&(tr(268435456),Fs(U0,Ao,Gr)),o=e.timeoutHandle,o!==tu&&(e.timeoutHandle=tu,xV(o)),o=e.cancelPendingCommit,o!==null&&(e.cancelPendingCommit=null,o()),Wr=0,l_(),cn=e,St=o=Kl(e.current,null),ut=t,Qt=$r,Ci=null,gs=!1,Zd=kt(e,t),nR=!1,wn=hs,Wf=Yr=II=Ic=xc=0,Br=zh=null,vI=!1,Tl=Bn(e,t),Ab(),e=zM(),1000<e-HM&&(oe.recentlyCreatedOwnerStacks=0,HM=e),Ta.discardPendingWarnings(),o}function yE(e,t){st=null,oe.H=fI,oe.getCurrentStack=null,bl=!1,gi=null,t===Hd||t===rI?(t=DT(),Qt=Fh):t===k0?(t=DT(),Qt=YU):Qt=t===Y0?tR:t!==null&&typeof t==="object"&&typeof t.then==="function"?Hh:bI,Ci=t;var o=St;o===null?(wn=Ph,lx(e,ci(t,e.current))):o.mode&It&&Yy(o)}function SE(){var e=Fo.current;return e===null?!0:(ut&4194048)===ut?ir===null?!0:!1:(ut&62914560)===ut||(ut&536870912)!==0?e===ir:!1}function _E(){var e=oe.H;return oe.H=fI,e===null?fI:e}function RE(){var e=oe.A;return oe.A=rV,e}function vx(e){Pn===null&&(Pn=e._debugTask==null?null:e._debugTask)}function Cx(){wn=bc,gs||(ut&4194048)!==ut&&Fo.current!==null||(Zd=!0),(xc&134217727)===0&&(Ic&134217727)===0||cn===null||Js(cn,ut,Yr,!1)}function s_(e,t,o){var i=jt;jt|=mo;var s=_E(),c=RE();if(cn!==e||ut!==t){if(Il){var d=e.memoizedUpdaters;0<d.size&&(qm(e,ut),d.clear()),Ut(e,t)}Vh=null,md(e,t)}t=!1,d=wn;e:do try{if(Qt!==$r&&St!==null){var m=St,g=Ci;switch(Qt){case tR:l_(),d=jh;break e;case Fh:case $f:case Yf:case Hh:Fo.current===null&&(t=!0);var C=Qt;if(Qt=$r,Ci=null,hd(e,m,g,C),o&&Zd){d=hs;break e}break;default:C=Qt,Qt=$r,Ci=null,hd(e,m,g,C)}}OE(),d=wn;break}catch(T){yE(e,T)}while(1);return t&&e.shellSuspendCounter++,Bb(),jt=i,oe.H=s,oe.A=c,St===null&&(cn=null,ut=0,Ab()),d}function OE(){for(;St!==null;)wE(St)}function u7(e,t){var o=jt;jt|=mo;var i=_E(),s=RE();if(cn!==e||ut!==t){if(Il){var c=e.memoizedUpdaters;0<c.size&&(qm(e,ut),c.clear()),Ut(e,t)}Vh=null,yI=Wn()+KU,md(e,t)}else Zd=kt(e,t);e:do try{if(Qt!==$r&&St!==null)t:switch(t=St,c=Ci,Qt){case bI:Qt=$r,Ci=null,hd(e,t,c,bI);break;case $f:case Yf:if(TT(c)){Qt=$r,Ci=null,AE(t);break}t=function(){Qt!==$f&&Qt!==Yf||cn!==e||(Qt=xI),ml(e)},c.then(t,t);break e;case Fh:Qt=xI;break e;case YU:Qt=eR;break e;case xI:TT(c)?(Qt=$r,Ci=null,AE(t)):(Qt=$r,Ci=null,hd(e,t,c,xI));break;case eR:var d=null;switch(St.tag){case 26:d=St.memoizedState;case 5:case 27:var m=St;if(d?ED(d):m.stateNode.complete){Qt=$r,Ci=null;var g=m.sibling;if(g!==null)St=g;else{var C=m.return;C!==null?(St=C,yx(C)):St=null}break t}break;default:console.error("Unexpected type of fiber triggered a suspensey commit. This is a bug in React.")}Qt=$r,Ci=null,hd(e,t,c,eR);break;case Hh:Qt=$r,Ci=null,hd(e,t,c,Hh);break;case tR:l_(),wn=jh;break e;default:throw Error("Unexpected SuspendedReason. This is a bug in React.")}oe.actQueue!==null?OE():d7();break}catch(T){yE(e,T)}while(1);if(Bb(),oe.H=i,oe.A=s,jt=o,St!==null)return hs;return cn=null,ut=0,Ab(),wn}function d7(){for(;St!==null&&!Lz();)wE(St)}function wE(e){var t=e.alternate;(e.mode&It)!==lt?($y(e),t=xe(e,zS,t,e,Tl),Yy(e)):t=xe(e,zS,t,e,Tl),e.memoizedProps=e.pendingProps,t===null?yx(e):St=t}function AE(e){var t=xe(e,p7,e);e.memoizedProps=e.pendingProps,t===null?yx(e):St=t}function p7(e){var t=e.alternate,o=(e.mode&It)!==lt;switch(o&&$y(e),e.tag){case 15:case 0:t=A2(t,e,e.pendingProps,e.type,void 0,ut);break;case 11:t=A2(t,e,e.pendingProps,e.type.render,e.ref,ut);break;case 5:sS(e);var i=e;i===wo&&(vt?(Nb(i),i.tag===5&&i.stateNode!=null&&(un=i.stateNode)):(Nb(i),vt=!0));default:L2(t,e),e=St=hT(e,Tl),t=zS(t,e,Tl)}return o&&Yy(e),t}function hd(e,t,o,i){Bb(),sS(t),zd=null,Eh=0;var s=t.return;try{if(ZH(e,s,t,o,ut)){wn=Ph,lx(e,ci(o,e.current)),St=null;return}}catch(c){if(s!==null)throw St=s,c;wn=Ph,lx(e,ci(o,e.current)),St=null;return}if(t.flags&32768){if(vt||i===bI)e=!0;else if(Zd||(ut&536870912)!==0)e=!1;else if(gs=e=!0,i===$f||i===Yf||i===Fh||i===Hh)i=Fo.current,i!==null&&i.tag===13&&(i.flags|=16384);TE(t,e)}else yx(t)}function yx(e){var t=e;do{if((t.flags&32768)!==0){TE(t,gs);return}var o=t.alternate;if(e=t.return,$y(t),o=xe(t,e7,o,t,Tl),(t.mode&It)!==lt&&_T(t),o!==null){St=o;return}if(t=t.sibling,t!==null){St=t;return}St=t=e}while(t!==null);wn===hs&&(wn=$U)}function TE(e,t){do{var o=t7(e.alternate,e);if(o!==null){o.flags&=32767,St=o;return}if((e.mode&It)!==lt){_T(e),o=e.actualDuration;for(var i=e.child;i!==null;)o+=i.actualDuration,i=i.sibling;e.actualDuration=o}if(o=e.return,o!==null&&(o.flags|=32768,o.subtreeFlags=0,o.deletions=null),!t&&(e=e.sibling,e!==null)){St=e;return}St=e=o}while(e!==null);wn=jh,St=null}function c_(e,t,o,i,s,c,d,m,g,C,T,F,j,q,pe){e.cancelPendingCommit=null;do Xm();while(An!==El);if(Ta.flushLegacyContextWarning(),Ta.flushPendingUnsafeLifecycleWarnings(),(jt&(mo|vi))!==Do)throw Error("Should not already be working.");if(tr(o),T===qf)Ly(q,pe,o,Pn);else if(i!==null){if(C=t!==null&&t.alternate!==null&&t.alternate.memoizedState.isDehydrated&&(t.flags&256)!==0,c=Pn,mn&&!(pe<=q)){T=[];for(var Ne=0;Ne<i.length;Ne++){var Ge=i[Ne].value;T.push(["Recoverable Error",typeof Ge==="object"&&Ge!==null&&typeof Ge.message==="string"?String(Ge.message):String(Ge)])}q={start:q,end:pe,detail:{devtools:{color:"primary-dark",track:Et,trackGroup:wt,tooltipText:C?"Hydration Failed":"Recovered after Error",properties:T}}},c?c.run(performance.measure.bind(performance,"Recovered",q)):performance.measure("Recovered",q),performance.clearMeasures("Recovered")}}else c=Pn,!mn||pe<=q||(C=(o&738197653)===o?"tertiary-dark":"primary-dark",T=(o&536870912)===o?"Prepared":(o&201326741)===o?"Hydrated":"Render",c?c.run(console.timeStamp.bind(console,T,q,pe,Et,wt,C)):console.timeStamp(T,q,pe,Et,wt,C));if(t!==null){if(o===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===cn&&(St=cn=null,ut=0),Zf=t,Ma=e,Wr=o,lR=s,tN=i,RI=pe,OI=j,yi=SI,sR=null,m7(e,t,o,d,m,g,F,j,pe)}}function m7(e,t,o,i,s,c,d,m,g){var C=t.lanes|t.childLanes;if(aR=C,C|=_0,ve(e,o,C,i,s,c),Jd=null,(o&335544064)===o?(Qd=jH(e),i=10262):(Qd=null,i=10256),t.actualDuration!==0||(t.subtreeFlags&i)!==0||(t.flags&i)!==0?(e.callbackNode=null,e.callbackPriority=0,y7(Sd,function(){return Zh=window.event,yi===SI&&(yi=oR),p_(),null})):(e.callbackNode=null,e.callbackPriority=0),us=null,fs=Zn(),m!==null&&kH(g,fs,m,Pn),dI=!1,m=(t.flags&13878)!==0,(t.subtreeFlags&13878)!==0||m){m=oe.T,oe.T=null,g=Wt.p,Wt.p=Tr,i=jt,jt|=vi;try{l7(e,t,o)}finally{jt=i,Wt.p=g,oe.T=m}}An=QU,dI?(Pf|=o,Gr=null,Kd=K7(d,e.containerInfo,Qd,f_,u_,x7,d_,p_,h7,g7,b7.bind(null,o))):(f_(),u_(),d_())}function h7(e){if(An!==El){var t=Ma.onRecoverableError;t(e,EE(null))}}function g7(e){wa=Zn(),fT(OI===null?RI:fs,wa,us,yi===Gh,Pn),OI=sR=e}function b7(e){if((Pf&e)!==0){var t=Gr;Pf&=~e,Gr=null,(e&4194048)!==0&&(ut&4194048)===0&&(Wr&4194048)===0&&(tr(256),Fs(Aa,Wn(),t)),(e&62914560)!==0&&(ut&62914560)===0&&(Wr&62914560)===0&&(tr(4194304),Fs(M0,Wn(),t)),(e&2080374784)!==0&&(ut&2080374784)===0&&(Wr&2080374784)===0&&(tr(268435456),Fs(U0,Wn(),t))}}function x7(){An===rR&&(An=El,sE(Zf,Ma),An=iR)}function f_(){if(An===QU){An=El;var e=Ma,t=Zf,o=Wr,i=(t.flags&13878)!==0;if((t.subtreeFlags&13878)!==0||i){i=oe.T,oe.T=null;var s=Wt.p;Wt.p=Tr;var c=jt;jt|=vi;try{Yd=o,Wd=e,Lh=hI=!1,Fb(),aE(t,e,o),Wd=Yd=null,o=xR;var d=oT(e.containerInfo),m=o.focusedElem,g=o.selectionRange;if(d!==m&&m&&m.ownerDocument&&nT(m.ownerDocument.documentElement,m)){if(g!==null&&Uy(m)){var{start:C,end:T}=g;if(T===void 0&&(T=C),"selectionStart"in m)m.selectionStart=C,m.selectionEnd=Math.min(T,m.value.length);else{var F=m.ownerDocument||document,j=F&&F.defaultView||window;if(j.getSelection){var q=j.getSelection(),pe=m.textContent.length,Ne=Math.min(g.start,pe),Ge=g.end===void 0?Ne:Math.min(g.end,pe);!q.extend&&Ne>Ge&&(d=Ge,Ge=Ne,Ne=d);var gt=tT(m,Ne),U=tT(m,Ge);if(gt&&U&&(q.rangeCount!==1||q.anchorNode!==gt.node||q.anchorOffset!==gt.offset||q.focusNode!==U.node||q.focusOffset!==U.offset)){var N=F.createRange();N.setStart(gt.node,gt.offset),q.removeAllRanges(),Ne>Ge?(q.addRange(N),q.extend(U.node,U.offset)):(N.setEnd(U.node,U.offset),q.addRange(N))}}}}F=[];for(q=m;q=q.parentNode;)q.nodeType===1&&F.push({element:q,left:q.scrollLeft,top:q.scrollTop});typeof m.focus==="function"&&m.focus();for(m=0;m<F.length;m++){var H=F[m];H.element.scrollLeft=H.left,H.element.scrollTop=H.top}}lp=!!bR,xR=bR=null}finally{jt=c,Wt.p=s,oe.T=i}}e.current=t,An=eN}}function u_(){if(An===eN){An=El;var e=sR;if(e!==null){fs=Zn();var t=wa,o=fs;!mn||o<=t||(Gr?Gr.run(console.timeStamp.bind(console,e,t,o,Et,wt,"secondary-light")):console.timeStamp(e,t,o,Et,wt,"secondary-light"))}e=Ma,t=Zf,o=Wr;var i=(t.flags&8772)!==0;if((t.subtreeFlags&8772)!==0||i){i=oe.T,oe.T=null;var s=Wt.p;Wt.p=Tr;var c=jt;jt|=vi;try{Yd=o,Wd=e,Fb(),eE(e,t.alternate,t),Wd=Yd=null}finally{jt=c,Wt.p=s,oe.T=i}}e=RI,t=OI,wa=Zn(),fT(t===null?e:fs,wa,us,yi===Gh,Pn),An=rR}}function d_(){if(An===iR||An===rR){if(An===iR){var e=wa;wa=Zn();var t=wa,o=yi===Gh;!mn||t<=e||(Gr?Gr.run(console.timeStamp.bind(console,o?"Interrupted View Transition":"Starting Animation",e,t,Et,wt,o?"error":"secondary-light")):console.timeStamp(o?"Interrupted View Transition":"Starting Animation",e,t,Et,wt,o?" error":"secondary-light")),yi!==Gh&&(yi=JU)}An=El,e=Kd,Kd=null,kz(),t=Ma;var i=Zf;o=Wr;var s=tN,c=(o&335544064)===o?10262:10256;(c=i.actualDuration!==0||(i.subtreeFlags&c)!==0||(i.flags&c)!==0)?An=_I:(An=El,Zf=Ma=null,DE(t,t.pendingLanes),Kf=0,qh=null);var d=t.pendingLanes;if(d===0&&(vc=null),c||BE(t),d=er(o),i=i.stateNode,or&&typeof or.onCommitFiberRoot==="function")try{var m=(i.current.flags&128)===128;switch(d){case Tr:var g=o0;break;case Ra:g=r0;break;case vl:g=Sd;break;case Px:g=i0;break;default:g=Sd}or.onCommitFiberRoot(_d,i,g,m)}catch(j){xl||(xl=!0,console.error("React instrumentation encountered an error: %o",j))}if(Il&&t.memoizedUpdaters.clear(),c7(),s!==null){m=oe.T,g=Wt.p,Wt.p=Tr,oe.T=null;try{var C=t.onRecoverableError;for(i=0;i<s.length;i++){var T=s[i],F=EE(T.stack);xe(T.source,C,T.value,F)}}finally{oe.T=m,Wt.p=g}}if(C=Jd,T=Qd,Qd=null,C!==null&&(Jd=null,T===null&&(T=[]),e!==null))for(F=0;F<C.length;F++)s=(0,C[F])(T),s!==void 0&&e.finished.finally(s);(Wr&3)!==0&&Xm(),ml(t),d=t.pendingLanes,(o&261930)!==0&&(d&42)!==0?(nI=!0,t===wI?Xh++:(Xh=0,wI=t)):(Xh=0,wI=null),c||Df(o,wa),$m(0,!1)}}function EE(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 DE(e,t){(e.pooledCacheLanes&=t)===0&&(t=e.pooledCache,t!=null&&(e.pooledCache=null,Tm(t)))}function Xm(){return Kd!==null&&(Kd.skipTransition(),nN||(nN=!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.")),Kd=null,yi=Gh),f_(),u_(),d_(),p_()}function p_(){if(An!==_I)return!1;var e=Ma,t=aR;aR=0;var o=er(Wr),i=vl===0||vl>o?vl:o;o=oe.T;var s=Wt.p;try{Wt.p=i,oe.T=null;var c=lR;lR=null,i=Ma;var d=Wr;if(An=El,Zf=Ma=null,Wr=0,(jt&(mo|vi))!==Do)throw Error("Cannot flush passive effects while already rendering.");tr(d),cR=!0,AI=!1;var m=0;if(us=null,m=Wn(),yi===JU)Fs(wa,m,Gr);else{var g=wa,C=m,T=yi===oR;!mn||C<=g||(Pn?Pn.run(console.timeStamp.bind(console,T?"Waiting for Paint":"Waiting",g,C,Et,wt,"secondary-light")):console.timeStamp(T?"Waiting for Paint":"Waiting",g,C,Et,wt,"secondary-light"))}g=jt,jt|=vi;var F=i.current;Fb(),hE(F);var j=i.current;F=RI,Fb(),uE(i,j,d,c,F),BE(i),jt=g;var q=Wn();if(j=m,F=Pn,us!==null?cT(j,q,us,!0,F):!mn||q<=j||(F?F.run(console.timeStamp.bind(console,"Remaining Effects",j,q,Et,wt,"secondary-dark")):console.timeStamp("Remaining Effects",j,q,Et,wt,"secondary-dark")),Df(d,q),$m(0,!1),AI?i===qh?Kf++:(Kf=0,qh=i):Kf=0,AI=cR=!1,or&&typeof or.onPostCommitFiberRoot==="function")try{or.onPostCommitFiberRoot(_d,i)}catch(Ne){xl||(xl=!0,console.error("React instrumentation encountered an error: %o",Ne))}var pe=i.current.stateNode;return pe.effectDuration=0,pe.passiveEffectDuration=0,!0}finally{Wt.p=s,oe.T=o,DE(e,t)}}function ME(e,t,o){t=ci(o,t),RT(t),t=DS(e.stateNode,t,2),e=$s(e,t,2),e!==null&&(W(e,2),ml(e))}function Yt(e,t,o){if(ep=!1,e.tag===3)ME(e,e,o);else{for(;t!==null;){if(t.tag===3){ME(t,e,o);return}if(t.tag===1){var i=t.stateNode;if(typeof t.type.getDerivedStateFromError==="function"||typeof i.componentDidCatch==="function"&&(vc===null||!vc.has(i))){e=ci(o,e),RT(e),o=MS(2),i=$s(t,o,2),i!==null&&(US(o,i,t,e),W(i,2),ml(i));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
|
+
|
|
157
|
+
Error message:
|
|
158
|
+
|
|
159
|
+
%s`,o)}}function m_(e,t,o){var i=e.pingCache;if(i===null){i=e.pingCache=new aV;var s=new Set;i.set(t,s)}else s=i.get(t),s===void 0&&(s=new Set,i.set(t,s));s.has(o)||(nR=!0,s.add(o),i=I7.bind(null,e,t,o),Il&&qm(e,o),t.then(i,i))}function I7(e,t,o){var i=e.pingCache;i!==null&&i.delete(t),e.pingedLanes|=e.suspendedLanes&o,e.warmLanes&=~o,(o&127)!==0?0>Sl&&(fc=Sl=Zn(),xh=Kx("Promise Resolved"),uc=Jx):(o&4194048)!==0&&0>Yi&&(Aa=Yi=Zn(),vh=Kx("Promise Resolved"),D0=Jx),xE()&&oe.actQueue===null&&console.error(`A suspended resource finished loading inside a test, but the event was not wrapped in act(...).
|
|
160
|
+
|
|
161
|
+
When testing, code that resolves suspended data should be wrapped into act(...):
|
|
162
|
+
|
|
163
|
+
act(() => {
|
|
164
|
+
/* finish loading suspended data */
|
|
165
|
+
});
|
|
166
|
+
/* assert on the output */
|
|
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`),cn===e&&(ut&o)===o&&(wn===bc||wn===gI&&(ut&62914560)===ut&&Wn()-CI<ZU?(jt&mo)===Do?md(e,0):II|=o:II|=o,Wf===ut&&(Wf=0)),ml(e)}function UE(e,t){t===0&&(t=Qo()),e=nr(e,t),e!==null&&(W(e,t),ml(e))}function v7(e){var t=e.memoizedState,o=0;t!==null&&(o=t.retryLane),UE(e,o)}function C7(e,t){var o=0;switch(e.tag){case 31:case 13:var{stateNode:i,memoizedState:s}=e;s!==null&&(o=s.retryLane);break;case 19:i=e.stateNode;break;case 22:i=e.stateNode._retryCache;break;default:throw Error("Pinged unknown suspense boundary type. This is probably a bug in React.")}i!==null&&i.delete(t),UE(e,o)}function h_(e,t,o){if((t.subtreeFlags&134225920)!==0)for(t=t.child;t!==null;){var i=e,s=t,c=s.type===Dx;c=o||c,s.tag!==22?s.flags&134217728?c&&xe(s,NE,i,s):h_(i,s,c):s.memoizedState===null&&(c&&s.flags&134225920?xe(s,NE,i,s):s.subtreeFlags&134217728&&xe(s,h_,i,s,c)),t=t.sibling}}function NE(e,t){$t(!0);try{cE(t,Bh),gE(t),fE(e,t.alternate,t,Bh),dE(e,t,0,null,!1,0)}finally{$t(!1)}}function BE(e){var t=!0;e.current.mode&(rr|Oa)||(t=!1),h_(e,e.current,t)}function LE(e){if((jt&mo)===Do){var t=e.tag;if(t===3||t===1||t===0||t===11||t===14||t===15){if(t=B(e)||"ReactComponent",TI!==null){if(TI.has(t))return;TI.add(t)}else TI=new Set([t]);xe(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 qm(e,t){Il&&e.memoizedUpdaters.forEach(function(o){nt(e,o,t)})}function y7(e,t){var o=oe.actQueue;return o!==null?(o.push(t),cV):n0(e,t)}function S7(e){xE()&&oe.actQueue===null&&xe(e,function(){console.error(`An update to %s inside a test was not wrapped in act(...).
|
|
169
|
+
|
|
170
|
+
When testing, code that causes React state updates should be wrapped into act(...):
|
|
171
|
+
|
|
172
|
+
act(() => {
|
|
173
|
+
/* fire events that update state */
|
|
174
|
+
});
|
|
175
|
+
/* assert on the output */
|
|
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`,B(e))})}function ml(e){e!==np&&e.next===null&&(np===null?tp=np=e:np=np.next=e),EI=!0,oe.actQueue!==null?uR||(uR=!0,FE()):fR||(fR=!0,FE())}function $m(e,t){if(!dR&&EI){dR=!0;do{var o=!1;for(var i=tp;i!==null;){if(!t)if(e!==0){var s=i.pendingLanes;if(s===0)var c=0;else{var d=i.suspendedLanes,m=i.pingedLanes;c=(1<<31-Ar(42|e)+1)-1,c&=s&~(d&~m),c=c&201326741?c&201326741|1:c?c|2:0}c!==0&&(o=!0,jE(i,c))}else c=ut,c=We(i,i===cn?c:0,i.cancelPendingCommit!==null||i.timeoutHandle!==tu),(c&3)===0||kt(i,c)||(o=!0,jE(i,c));i=i.next}}while(o);dR=!1}}function _7(){Zh=window.event,g_()}function g_(){EI=uR=fR=!1;var e=0;Cc!==0&&M7()&&(e=Cc);for(var t=Wn(),o=null,i=tp;i!==null;){var s=i.next,c=kE(i,t);if(c===0)i.next=null,o===null?tp=s:o.next=s,s===null&&(np=o);else if(o=i,e!==0||(c&3)!==0)EI=!0;i=s}An!==El&&An!==_I||$m(e,!1),Cc!==0&&(Cc=0)}function kE(e,t){for(var{suspendedLanes:o,pingedLanes:i,expirationTimes:s}=e,c=e.pendingLanes&-62914561;0<c;){var d=31-Ar(c),m=1<<d,g=s[d];if(g===-1){if((m&o)===0||(m&i)!==0)s[d]=_o(m,t)}else g<=t&&(e.expiredLanes|=m);c&=~m}if(t=cn,o=ut,o=We(e,e===t?o:0,e.cancelPendingCommit!==null||e.timeoutHandle!==tu),i=e.callbackNode,o===0||e===t&&(Qt===$f||Qt===Yf)||e.cancelPendingCommit!==null)return i!==null&&b_(i),e.callbackNode=null,e.callbackPriority=0;if((o&3)===0||kt(e,o)){if(t=o&-o,t!==e.callbackPriority||oe.actQueue!==null&&i!==pR)b_(i);else return t;switch(er(o)){case Tr:case Ra:o=r0;break;case vl:o=Sd;break;case Px:o=i0;break;default:o=Sd}return i=PE.bind(null,e),oe.actQueue!==null?(oe.actQueue.push(i),o=pR):o=n0(o,i),e.callbackPriority=t,e.callbackNode=o,t}return i!==null&&b_(i),e.callbackPriority=2,e.callbackNode=null,2}function PE(e,t){if(nI=tI=!1,Zh=window.event,An!==El&&An!==_I)return e.callbackNode=null,e.callbackPriority=0,null;var o=e.callbackNode;if(yi===SI&&(yi=oR),Xm()&&e.callbackNode!==o)return null;var i=ut;if(i=We(e,e===cn?i:0,e.cancelPendingCommit!==null||e.timeoutHandle!==tu),i===0)return null;return vE(e,i,t),kE(e,Wn()),e.callbackNode!=null&&e.callbackNode===o?PE.bind(null,e):null}function jE(e,t){if(Xm())return null;tI=nI,nI=!1,vE(e,t,!0)}function b_(e){e!==pR&&e!==null&&Bz(e)}function FE(){oe.actQueue!==null&&oe.actQueue.push(function(){return g_(),null}),IV(function(){(jt&(mo|vi))!==Do?n0(o0,_7):g_()})}function x_(){if(Cc===0){var e=mc;e===0&&(e=Bx,Bx<<=1,(Bx&261888)===0&&(Bx=256)),Cc=e}return Cc}function HE(e){if(e==null||typeof e==="symbol"||typeof e==="boolean")return null;if(typeof e==="function")return e;return Ve(e,"action"),Rm(e)}function R7(e,t,o,i,s){if(t==="submit"&&o&&o.stateNode===s){var c=HE((s[Er]||null).action),d=i.submitter;d&&(t=(t=d[Er]||null)?HE(t.formAction):d.getAttribute("formAction"),t!==null&&(c=t,d=null));var m=new Gx("action","action",null,i,s);e.push({event:m,listeners:[{instance:null,listener:function(){if(i.defaultPrevented){if(Cc!==0){var g=new FormData(s,d),C={pending:!0,data:g,method:s.method,action:c};Object.freeze(C),_S(o,C,null,g)}}else typeof c==="function"&&(m.preventDefault(),g=new FormData(s,d),C={pending:!0,data:g,method:s.method,action:c},Object.freeze(C),_S(o,C,c,g))},currentTarget:s}]})}}function Sx(e,t,o){e.currentTarget=o;try{t(e)}catch(i){v0(i)}e.currentTarget=null}function zE(e,t){t=(t&4)!==0;for(var o=0;o<e.length;o++){var i=e[o];e:{var s=void 0,c=i.event;if(i=i.listeners,t)for(var d=i.length-1;0<=d;d--){var m=i[d],g=m.instance,C=m.currentTarget;if(m=m.listener,g!==s&&c.isPropagationStopped())break e;g!==null?xe(g,Sx,c,m,C):Sx(c,m,C),s=g}else for(d=0;d<i.length;d++){if(m=i[d],g=m.instance,C=m.currentTarget,m=m.listener,g!==s&&c.isPropagationStopped())break e;g!==null?xe(g,Sx,c,m,C):Sx(c,m,C),s=g}}}}function Pt(e,t){mR.has(e)||console.error('Did not expect a listenToNonDelegatedEvent() call for "%s". This is a bug in React. Please file an issue.',e);var o=t[tM];o===void 0&&(o=t[tM]=new Set);var i=e+"__bubble";o.has(i)||(VE(t,e,2,!1),o.add(i))}function I_(e,t,o){mR.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 i=0;t&&(i|=4),VE(o,e,i,t)}function v_(e){if(!e[DI]){e[DI]=!0,oM.forEach(function(o){o!=="selectionchange"&&(mR.has(o)||I_(o,!1,e),I_(o,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[DI]||(t[DI]=!0,I_("selectionchange",!1,t))}}function VE(e,t,o,i){switch(jD(t)){case Tr:var s=Rz;break;case Ra:s=Oz;break;default:s=F_}o=s.bind(null,t,o,e),s=void 0,!f0||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(s=!0),i?s!==void 0?e.addEventListener(t,o,{capture:!0,passive:s}):e.addEventListener(t,o,!0):s!==void 0?e.addEventListener(t,o,{passive:s}):e.addEventListener(t,o,!1)}function C_(e,t,o,i,s){var c=i;if((t&1)===0&&(t&2)===0&&i!==null)e:for(;;){if(i===null)return;var d=i.tag;if(d===3||d===4){var m=i.stateNode.containerInfo;if(m===s)break;if(d===4)for(d=i.return;d!==null;){var g=d.tag;if((g===3||g===4)&&d.stateNode.containerInfo===s)return;d=d.return}for(;m!==null;){if(d=hf(m),d===null)return;if(g=d.tag,g===5||g===6||g===26||g===27){i=c=d;continue e}m=m.parentNode}}i=i.return}GA(function(){var C=c,T=Ey(o),F=[];e:{var j=FM.get(e);if(j!==void 0){var q=Gx,pe=e;switch(e){case"keypress":if(yb(o)===0)break e;case"keydown":case"keyup":q=y9;break;case"focusin":pe="focus",q=m0;break;case"focusout":pe="blur",q=m0;break;case"beforeblur":case"afterblur":q=m0;break;case"click":if(o.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":q=OM;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":q=f9;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":q=w9;break;case LM:case kM:case PM:q=p9;break;case jM:q=T9;break;case"scroll":case"scrollend":q=s9;break;case"wheel":q=D9;break;case"copy":case"cut":case"paste":q=h9;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":q=AM;break;case"submit":q=R9;break;case"toggle":case"beforetoggle":q=U9}var Ne=(t&4)!==0,Ge=!Ne&&(e==="scroll"||e==="scrollend"),gt=Ne?j!==null?j+"Capture":null:j;Ne=[];for(var U=C,N;U!==null;){var H=U;if(N=H.stateNode,H=H.tag,H!==5&&H!==26&&H!==27||N===null||gt===null||(H=Om(U,gt),H!=null&&Ne.push(Ym(U,H,N))),Ge)break;U=U.return}0<Ne.length&&(j=new q(j,pe,null,o,T),F.push({event:j,listeners:Ne}))}}if((t&7)===0){e:{if(q=e==="mouseover"||e==="pointerover",j=e==="mouseout"||e==="pointerout",q&&o!==ah&&(pe=o.relatedTarget||o.fromElement)&&(hf(pe)||pe[oc]))break e;if(j||q){if(pe=T.window===T?T:(q=T.ownerDocument)?q.defaultView||q.parentWindow:window,j){if(q=o.relatedTarget||o.toElement,j=C,q=q?hf(q):null,q!==null&&(Ge=k(q),Ne=q.tag,q!==Ge||Ne!==5&&Ne!==27&&Ne!==6))q=null}else j=null,q=C;if(j!==q){if(Ne=OM,H="onMouseLeave",gt="onMouseEnter",U="mouse",e==="pointerout"||e==="pointerover")Ne=AM,H="onPointerLeave",gt="onPointerEnter",U="pointer";Ge=j==null?pe:vm(j),N=q==null?pe:vm(q),pe=new Ne(H,U+"leave",j,o,T),pe.target=Ge,pe.relatedTarget=N,H=null,hf(T)===C&&(Ne=new Ne(gt,U+"enter",q,o,T),Ne.target=N,Ne.relatedTarget=Ge,H=Ne),Ge=H,Ne=j&&q?ne(j,q,O7):null,j!==null&&GE(F,pe,j,Ne,!1),q!==null&&Ge!==null&&GE(F,Ge,q,Ne,!0)}}}e:{if(j=C?vm(C):window,q=j.nodeName&&j.nodeName.toLowerCase(),q==="select"||q==="input"&&j.type==="file")var te=KA;else if(WA(j))if(NM)te=NH;else{te=MH;var ye=DH}else q=j.nodeName,!q||q.toLowerCase()!=="input"||j.type!=="checkbox"&&j.type!=="radio"?C&&_m(C.elementType)&&(te=KA):te=UH;if(te&&(te=te(e,C))){ZA(F,te,o,T);break e}ye&&ye(e,j,C)}switch(ye=C?vm(C):window,e){case"focusin":if(WA(ye)||ye.contentEditable==="true")Dd=ye,g0=C,ph=null;break;case"focusout":ph=g0=Dd=null;break;case"mousedown":b0=!0;break;case"contextmenu":case"mouseup":case"dragend":b0=!1,rT(F,o,T);break;case"selectionchange":if(k9)break;case"keydown":case"keyup":rT(F,o,T)}var rt;if(h0)e:{switch(e){case"compositionstart":var Xe="onCompositionStart";break e;case"compositionend":Xe="onCompositionEnd";break e;case"compositionupdate":Xe="onCompositionUpdate";break e}Xe=void 0}else Ed?$A(e,o)&&(Xe="onCompositionEnd"):e==="keydown"&&o.keyCode===TM&&(Xe="onCompositionStart");if(Xe&&(EM&&o.locale!=="ko"&&(Ed||Xe!=="onCompositionStart"?Xe==="onCompositionEnd"&&Ed&&(rt=XA()):(rc=T,u0=("value"in rc)?rc.value:rc.textContent,Ed=!0)),ye=_x(C,Xe),0<ye.length&&(Xe=new wM(Xe,e,null,o,T),F.push({event:Xe,listeners:ye}),rt?Xe.data=rt:(rt=YA(o),rt!==null&&(Xe.data=rt)))),rt=B9?wH(e,o):AH(e,o))Xe=_x(C,"onBeforeInput"),0<Xe.length&&(ye=new b9("onBeforeInput","beforeinput",null,o,T),F.push({event:ye,listeners:Xe}),ye.data=rt);R7(F,e,C,o,T)}zE(F,t)})}function Ym(e,t,o){return{instance:e,listener:t,currentTarget:o}}function _x(e,t){for(var o=t+"Capture",i=[];e!==null;){var s=e,c=s.stateNode;if(s=s.tag,s!==5&&s!==26&&s!==27||c===null||(s=Om(e,o),s!=null&&i.unshift(Ym(e,s,c)),s=Om(e,t),s!=null&&i.push(Ym(e,s,c))),e.tag===3)return i;e=e.return}return[]}function O7(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e?e:null}function GE(e,t,o,i,s){for(var c=t._reactName,d=[];o!==null&&o!==i;){var m=o,g=m.alternate,C=m.stateNode;if(m=m.tag,g!==null&&g===i)break;m!==5&&m!==26&&m!==27||C===null||(g=C,s?(C=Om(o,c),C!=null&&d.unshift(Ym(o,C,g))):s||(C=Om(o,c),C!=null&&d.push(Ym(o,C,g)))),o=o.return}d.length!==0&&e.push({event:t,listeners:d})}function y_(e,t){SH(e,t),e!=="input"&&e!=="textarea"&&e!=="select"||t==null||t.value!==null||_M||(_M=!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 o={registrationNameDependencies:Uf,possibleRegistrationNames:a0};_m(e)||typeof t.is==="string"||RH(e,t,o),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 Oo(e,t,o,i){t!==o&&(o=Qs(o),Qs(t)!==o&&(i[e]=t))}function XE(e){return!!(e.getAttribute("vt-share")||e.getAttribute("vt-exit")||e.getAttribute("vt-enter")||e.getAttribute("vt-update"))}function qE(e){if(!XE(e))return!1;var t=e.getAttribute("vt-name");return e=e.style["view-transition-name"],t?t===e:e.startsWith("_T_")}function w7(e,t,o){t.forEach(function(i){i==="style"?e.getAttribute(i)!==""&&(i=e.style,(i.length===1&&i[0]==="view-transition-name"||i.length===2&&i[0]==="view-transition-class"&&i[1]==="view-transition-name")&&qE(e)||(o.style=__(e))):o[WE(i)]=e.getAttribute(i)})}function hl(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 $E(e,t){return e=e.namespaceURI===Hx||e.namespaceURI===Od?e.ownerDocument.createElementNS(e.namespaceURI,e.tagName):e.ownerDocument.createElement(e.tagName),e.innerHTML=t,e.innerHTML}function Qs(e){return et(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.",Pe(e)),Te(e)),(typeof e==="string"?e:""+e).replace(fV,`
|
|
178
|
+
`).replace(uV,"")}function YE(e,t){return t=Qs(t),Qs(e)===t?!0:!1}function on(e,t,o,i,s,c){switch(o){case"children":if(typeof i==="string")Cb(i,t,!1),t==="body"||t==="textarea"&&i===""||Sm(e,i);else if(typeof i==="number"||typeof i==="bigint")Cb(""+i,t,!1),t!=="body"&&Sm(e,""+i);else return;break;case"className":Ib(e,"class",i);break;case"tabIndex":Ib(e,"tabindex",i);break;case"dir":case"role":case"viewBox":case"width":case"height":Ib(e,o,i);break;case"style":HA(e,i,c);return;case"data":if(t!=="object"){Ib(e,"data",i);break}case"src":case"href":if(i===""&&(t!=="a"||o!=="href")){o==="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.',o,o):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.',o,o),e.removeAttribute(o);break}if(i==null||typeof i==="function"||typeof i==="symbol"||typeof i==="boolean"){e.removeAttribute(o);break}Ve(i,o),i=Rm(i),e.setAttribute(o,i);break;case"action":case"formAction":if(i!=null&&(t==="form"?o==="formAction"?console.error("You can only pass the formAction prop to <input> or <button>. Use the action prop on <form>."):typeof i==="function"&&(s.encType==null&&s.method==null||NI||(NI=!0,console.error("Cannot specify a encType or method for a form that specifies a function as the action. React provides those automatically. They will get overridden.")),s.target==null||UI||(UI=!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"?o==="action"?console.error("You can only pass the action prop to <form>. Use the formAction prop on <input> or <button>."):t!=="input"||s.type==="submit"||s.type==="image"||MI?t!=="button"||s.type==null||s.type==="submit"||MI?typeof i==="function"&&(s.name==null||lN||(lN=!0,console.error('Cannot specify a "name" prop for a button that specifies a function as a formAction. React needs it to encode which action should be invoked. It will get overridden.')),s.formEncType==null&&s.formMethod==null||NI||(NI=!0,console.error("Cannot specify a formEncType or formMethod for a button that specifies a function as a formAction. React provides those automatically. They will get overridden.")),s.formTarget==null||UI||(UI=!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."))):(MI=!0,console.error('A button can only specify a formAction along with type="submit" or no type.')):(MI=!0,console.error('An input can only specify a formAction along with type="submit" or type="image".')):o==="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 i==="function"){e.setAttribute(o,"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 c==="function"&&(o==="formAction"?(t!=="input"&&on(e,t,"name",s.name,s,null),on(e,t,"formEncType",s.formEncType,s,null),on(e,t,"formMethod",s.formMethod,s,null),on(e,t,"formTarget",s.formTarget,s,null)):(on(e,t,"encType",s.encType,s,null),on(e,t,"method",s.method,s,null),on(e,t,"target",s.target,s,null)));if(i==null||typeof i==="symbol"||typeof i==="boolean"){e.removeAttribute(o);break}Ve(i,o),i=Rm(i),e.setAttribute(o,i);break;case"onClick":i!=null&&(typeof i!=="function"&&hl(o,i),e.onclick=tl);return;case"onScroll":i!=null&&(typeof i!=="function"&&hl(o,i),Pt("scroll",e));return;case"onScrollEnd":i!=null&&(typeof i!=="function"&&hl(o,i),Pt("scrollend",e));return;case"dangerouslySetInnerHTML":if(i!=null){if(typeof i!=="object"||!("__html"in i))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information.");if(o=i.__html,o!=null){if(s.children!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");(c!=null?c.__html:void 0)!==o&&(e.innerHTML=o)}}break;case"multiple":e.multiple=i&&typeof i!=="function"&&typeof i!=="symbol";break;case"muted":e.muted=i&&typeof i!=="function"&&typeof i!=="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(i==null||typeof i==="function"||typeof i==="boolean"||typeof i==="symbol"){e.removeAttribute("xlink:href");break}Ve(i,o),o=Rm(i),e.setAttributeNS(Jf,"xlink:href",o);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":i!=null&&typeof i!=="function"&&typeof i!=="symbol"?(Ve(i,o),e.setAttribute(o,i)):e.removeAttribute(o);break;case"inert":i!==""||BI[o]||(BI[o]=!0,console.error("Received an empty string for a boolean attribute `%s`. This will treat the attribute as if it were false. Either pass `false` to silence this warning, or pass `true` if you used an empty string in earlier versions of React to indicate this attribute is true.",o));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":i&&typeof i!=="function"&&typeof i!=="symbol"?e.setAttribute(o,""):e.removeAttribute(o);break;case"capture":case"download":i===!0?e.setAttribute(o,""):i!==!1&&i!=null&&typeof i!=="function"&&typeof i!=="symbol"?(Ve(i,o),e.setAttribute(o,i)):e.removeAttribute(o);break;case"cols":case"rows":case"size":case"span":i!=null&&typeof i!=="function"&&typeof i!=="symbol"&&!isNaN(i)&&1<=i?(Ve(i,o),e.setAttribute(o,i)):e.removeAttribute(o);break;case"rowSpan":case"start":i==null||typeof i==="function"||typeof i==="symbol"||isNaN(i)?e.removeAttribute(o):(Ve(i,o),e.setAttribute(o,i));break;case"popover":Pt("beforetoggle",e),Pt("toggle",e),xb(e,"popover",i);break;case"xlinkActuate":Yl(e,Jf,"xlink:actuate",i);break;case"xlinkArcrole":Yl(e,Jf,"xlink:arcrole",i);break;case"xlinkRole":Yl(e,Jf,"xlink:role",i);break;case"xlinkShow":Yl(e,Jf,"xlink:show",i);break;case"xlinkTitle":Yl(e,Jf,"xlink:title",i);break;case"xlinkType":Yl(e,Jf,"xlink:type",i);break;case"xmlBase":Yl(e,hR,"xml:base",i);break;case"xmlLang":Yl(e,hR,"xml:lang",i);break;case"xmlSpace":Yl(e,hR,"xml:space",i);break;case"is":c!=null&&console.error('Cannot update the "is" prop after it has been initialized.'),xb(e,"is",i);break;case"innerText":case"textContent":return;case"popoverTarget":sN||i==null||typeof i!=="object"||(sN=!0,console.error("The `popoverTarget` prop expects the ID of an Element as a string. Received %s instead.",i));default:if(!(2<o.length)||o[0]!=="o"&&o[0]!=="O"||o[1]!=="n"&&o[1]!=="N")o=zA(o),xb(e,o,i);else{Uf.hasOwnProperty(o)&&i!=null&&typeof i!=="function"&&hl(o,i);return}}qt=!0}function S_(e,t,o,i,s,c){switch(o){case"style":HA(e,i,c);return;case"dangerouslySetInnerHTML":if(i!=null){if(typeof i!=="object"||!("__html"in i))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information.");if(o=i.__html,o!=null){if(s.children!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");(c!=null?c.__html:void 0)!==o&&(e.innerHTML=o)}}break;case"children":if(typeof i==="string")Sm(e,i);else if(typeof i==="number"||typeof i==="bigint")Sm(e,""+i);else return;break;case"onScroll":i!=null&&(typeof i!=="function"&&hl(o,i),Pt("scroll",e));return;case"onScrollEnd":i!=null&&(typeof i!=="function"&&hl(o,i),Pt("scrollend",e));return;case"onClick":i!=null&&(typeof i!=="function"&&hl(o,i),e.onclick=tl);return;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":return;case"innerText":case"textContent":return;default:if(Uf.hasOwnProperty(o))i!=null&&typeof i!=="function"&&hl(o,i);else e:{if(o[0]==="o"&&o[1]==="n"&&(s=o.endsWith("Capture"),c=o.slice(2,s?o.length-7:void 0),t=e[Er]||null,t=t!=null?t[o]:null,typeof t==="function"&&e.removeEventListener(c,t,s),typeof i==="function")){typeof t!=="function"&&t!==null&&(o in e?e[o]=null:e.hasAttribute(o)&&e.removeAttribute(o)),e.addEventListener(c,i,s);break e}qt=!0,o in e?e[o]=i:i===!0?e.setAttribute(o,""):xb(e,o,i)}return}qt=!0}function Po(e,t,o){switch(y_(t,o),t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":Pt("error",e),Pt("load",e);var i=!1,s=!1,c;for(c in o)if(o.hasOwnProperty(c)){var d=o[c];if(d!=null)switch(c){case"src":i=!0;break;case"srcSet":s=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:on(e,t,c,d,o,null)}}s&&on(e,t,"srcSet",o.srcSet,o,null),i&&on(e,t,"src",o.src,o,null);return;case"input":Ku("input",o),Pt("invalid",e);var m=c=d=s=null,g=null,C=null;for(i in o)if(o.hasOwnProperty(i)){var T=o[i];if(T!=null)switch(i){case"name":s=T;break;case"type":d=T;break;case"checked":g=T;break;case"defaultChecked":C=T;break;case"value":c=T;break;case"defaultValue":m=T;break;case"children":case"dangerouslySetInnerHTML":if(T!=null)throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:on(e,t,i,T,o,null)}}RA(e,o),OA(e,c,m,g,C,d,s,!1);return;case"select":Ku("select",o),Pt("invalid",e),i=d=c=null;for(s in o)if(o.hasOwnProperty(s)&&(m=o[s],m!=null))switch(s){case"value":c=m;break;case"defaultValue":d=m;break;case"multiple":i=m;default:on(e,t,s,m,o,null)}TA(e,o),t=c,o=d,e.multiple=!!i,t!=null?Ju(e,!!i,t,!1):o!=null&&Ju(e,!!i,o,!0);return;case"textarea":Ku("textarea",o),Pt("invalid",e),c=s=i=null;for(d in o)if(o.hasOwnProperty(d)&&(m=o[d],m!=null))switch(d){case"value":i=m;break;case"defaultValue":s=m;break;case"children":c=m;break;case"dangerouslySetInnerHTML":if(m!=null)throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");break;default:on(e,t,d,m,o,null)}EA(e,o),MA(e,i,s,c);return;case"option":wA(e,o);for(g in o)if(o.hasOwnProperty(g)&&(i=o[g],i!=null))switch(g){case"selected":e.selected=i&&typeof i!=="function"&&typeof i!=="symbol";break;default:on(e,t,g,i,o,null)}return;case"dialog":Pt("beforetoggle",e),Pt("toggle",e),Pt("cancel",e),Pt("close",e);break;case"iframe":case"object":Pt("load",e);break;case"video":case"audio":for(i=0;i<$h.length;i++)Pt($h[i],e);break;case"image":Pt("error",e),Pt("load",e);break;case"details":Pt("toggle",e);break;case"embed":case"source":case"link":Pt("error",e),Pt("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(C in o)if(o.hasOwnProperty(C)&&(i=o[C],i!=null))switch(C){case"children":case"dangerouslySetInnerHTML":throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:on(e,t,C,i,o,null)}return;default:if(_m(t)){for(T in o)o.hasOwnProperty(T)&&(i=o[T],i!==void 0&&S_(e,t,T,i,o,void 0));return}}for(m in o)o.hasOwnProperty(m)&&(i=o[m],i!=null&&on(e,t,m,i,o,null))}function A7(e,t,o,i){switch(y_(t,i),t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var s=null,c=null,d=null,m=null,g=null,C=null,T=null;for(q in o){var F=o[q];if(o.hasOwnProperty(q)&&F!=null)switch(q){case"checked":break;case"value":break;case"defaultValue":g=F;default:i.hasOwnProperty(q)||on(e,t,q,null,i,F)}}for(var j in i){var q=i[j];if(F=o[j],i.hasOwnProperty(j)&&(q!=null||F!=null))switch(j){case"type":q!==F&&(qt=!0),c=q;break;case"name":q!==F&&(qt=!0),s=q;break;case"checked":q!==F&&(qt=!0),C=q;break;case"defaultChecked":q!==F&&(qt=!0),T=q;break;case"value":q!==F&&(qt=!0),d=q;break;case"defaultValue":q!==F&&(qt=!0),m=q;break;case"children":case"dangerouslySetInnerHTML":if(q!=null)throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:q!==F&&on(e,t,j,q,i,F)}}t=o.type==="checkbox"||o.type==="radio"?o.checked!=null:o.value!=null,i=i.type==="checkbox"||i.type==="radio"?i.checked!=null:i.value!=null,t||!i||aN||(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"),aN=!0),!t||i||iN||(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"),iN=!0),Sy(e,d,m,g,C,T,c,s);return;case"select":q=d=m=j=null;for(c in o)if(g=o[c],o.hasOwnProperty(c)&&g!=null)switch(c){case"value":break;case"multiple":q=g;default:i.hasOwnProperty(c)||on(e,t,c,null,i,g)}for(s in i)if(c=i[s],g=o[s],i.hasOwnProperty(s)&&(c!=null||g!=null))switch(s){case"value":c!==g&&(qt=!0),j=c;break;case"defaultValue":c!==g&&(qt=!0),m=c;break;case"multiple":c!==g&&(qt=!0),d=c;default:c!==g&&on(e,t,s,c,i,g)}i=m,t=d,o=q,j!=null?Ju(e,!!t,j,!1):!!o!==!!t&&(i!=null?Ju(e,!!t,i,!0):Ju(e,!!t,t?[]:"",!1));return;case"textarea":q=j=null;for(m in o)if(s=o[m],o.hasOwnProperty(m)&&s!=null&&!i.hasOwnProperty(m))switch(m){case"value":break;case"children":break;default:on(e,t,m,null,i,s)}for(d in i)if(s=i[d],c=o[d],i.hasOwnProperty(d)&&(s!=null||c!=null))switch(d){case"value":s!==c&&(qt=!0),j=s;break;case"defaultValue":s!==c&&(qt=!0),q=s;break;case"children":break;case"dangerouslySetInnerHTML":if(s!=null)throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");break;default:s!==c&&on(e,t,d,s,i,c)}DA(e,j,q);return;case"option":for(var pe in o)if(j=o[pe],o.hasOwnProperty(pe)&&j!=null&&!i.hasOwnProperty(pe))switch(pe){case"selected":e.selected=!1;break;default:on(e,t,pe,null,i,j)}for(g in i)if(j=i[g],q=o[g],i.hasOwnProperty(g)&&j!==q&&(j!=null||q!=null))switch(g){case"selected":j!==q&&(qt=!0),e.selected=j&&typeof j!=="function"&&typeof j!=="symbol";break;default:on(e,t,g,j,i,q)}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 Ne in o)j=o[Ne],o.hasOwnProperty(Ne)&&j!=null&&!i.hasOwnProperty(Ne)&&on(e,t,Ne,null,i,j);for(C in i)if(j=i[C],q=o[C],i.hasOwnProperty(C)&&j!==q&&(j!=null||q!=null))switch(C){case"children":case"dangerouslySetInnerHTML":if(j!=null)throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:on(e,t,C,j,i,q)}return;default:if(_m(t)){for(var Ge in o)j=o[Ge],o.hasOwnProperty(Ge)&&j!==void 0&&!i.hasOwnProperty(Ge)&&S_(e,t,Ge,void 0,i,j);for(T in i)j=i[T],q=o[T],!i.hasOwnProperty(T)||j===q||j===void 0&&q===void 0||S_(e,t,T,j,i,q);return}}for(var gt in o)j=o[gt],o.hasOwnProperty(gt)&&j!=null&&!i.hasOwnProperty(gt)&&on(e,t,gt,null,i,j);for(F in i)j=i[F],q=o[F],!i.hasOwnProperty(F)||j===q||j==null&&q==null||on(e,t,F,j,i,q)}function WE(e){switch(e){case"class":return"className";case"for":return"htmlFor";default:return e}}function __(e){for(var t={},o=e.style,i=0;i<o.length;i++){var s=o[i];s==="view-transition-name"&&qE(e)||(t[s]=o.getPropertyValue(s))}return t}function ZE(e,t,o){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 i,s=i="",c;for(c in t)if(t.hasOwnProperty(c)){var d=t[c];d!=null&&typeof d!=="boolean"&&d!==""&&(c.indexOf("--")===0?(Ye(d,c),i+=s+c+":"+(""+d).trim()):typeof d!=="number"||d===0||yM.has(c)?(Ye(d,c),i+=s+c.replace(bM,"-$1").toLowerCase().replace(xM,"-ms-")+":"+(""+d).trim()):i+=s+c.replace(bM,"-$1").toLowerCase().replace(xM,"-ms-")+":"+d+"px",s=";")}i=i||null,t=e.getAttribute("style"),t!==i&&(i=Qs(i),t=Qs(t),t===i||t[t.length-1]===";"&&XE(e)||(o.style=__(e)))}}function Hi(e,t,o,i,s,c){if(s.delete(o),e=e.getAttribute(o),e===null)switch(typeof i){case"undefined":case"function":case"symbol":case"boolean":return}else if(i!=null)switch(typeof i){case"function":case"symbol":case"boolean":break;default:if(Ve(i,t),e===""+i)return}Oo(t,e,i,c)}function KE(e,t,o,i,s,c){if(s.delete(o),e=e.getAttribute(o),e===null){switch(typeof i){case"function":case"symbol":return}if(!i)return}else switch(typeof i){case"function":case"symbol":break;default:if(i)return}Oo(t,e,i,c)}function R_(e,t,o,i,s,c){if(s.delete(o),e=e.getAttribute(o),e===null)switch(typeof i){case"undefined":case"function":case"symbol":return}else if(i!=null)switch(typeof i){case"function":case"symbol":break;default:if(Ve(i,o),e===""+i)return}Oo(t,e,i,c)}function JE(e,t,o,i,s,c){if(s.delete(o),e=e.getAttribute(o),e===null)switch(typeof i){case"undefined":case"function":case"symbol":case"boolean":return;default:if(isNaN(i))return}else if(i!=null)switch(typeof i){case"function":case"symbol":case"boolean":break;default:if(!isNaN(i)&&(Ve(i,t),e===""+i))return}Oo(t,e,i,c)}function O_(e,t,o,i,s,c){if(s.delete(o),e=e.getAttribute(o),e===null)switch(typeof i){case"undefined":case"function":case"symbol":case"boolean":return}else if(i!=null)switch(typeof i){case"function":case"symbol":case"boolean":break;default:if(Ve(i,t),o=Rm(""+i),e===o)return}Oo(t,e,i,c)}function QE(e,t,o,i){for(var s={},c=new Set,d=e.attributes,m=0;m<d.length;m++)switch(d[m].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:c.add(d[m].name)}if(_m(t)){for(var g in o)if(o.hasOwnProperty(g)){var C=o[g];if(C!=null){if(Uf.hasOwnProperty(g))typeof C!=="function"&&hl(g,C);else if(o.suppressHydrationWarning!==!0)switch(g){case"children":typeof C!=="string"&&typeof C!=="number"||Oo("children",e.textContent,C,s);continue;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":continue;case"dangerouslySetInnerHTML":d=e.innerHTML,C=C?C.__html:void 0,C!=null&&(C=$E(e,C),Oo(g,d,C,s));continue;case"style":c.delete(g),ZE(e,C,s);continue;case"offsetParent":case"offsetTop":case"offsetLeft":case"offsetWidth":case"offsetHeight":case"isContentEditable":case"outerText":case"outerHTML":c.delete(g.toLowerCase()),console.error("Assignment to read-only property will result in a no-op: `%s`",g);continue;case"className":c.delete("class"),d=yA(e,"class",C),Oo("className",d,C,s);continue;default:i.context===bs&&t!=="svg"&&t!=="math"?c.delete(g.toLowerCase()):c.delete(g),d=yA(e,g,C),Oo(g,d,C,s)}}}}else for(C in o)if(o.hasOwnProperty(C)&&(g=o[C],g!=null)){if(Uf.hasOwnProperty(C))typeof g!=="function"&&hl(C,g);else if(o.suppressHydrationWarning!==!0)switch(C){case"children":typeof g!=="string"&&typeof g!=="number"||Oo("children",e.textContent,g,s);continue;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"value":case"checked":case"selected":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":continue;case"dangerouslySetInnerHTML":d=e.innerHTML,g=g?g.__html:void 0,g!=null&&(g=$E(e,g),d!==g&&(s[C]={__html:d}));continue;case"className":Hi(e,C,"class",g,c,s);continue;case"tabIndex":Hi(e,C,"tabindex",g,c,s);continue;case"style":c.delete(C),ZE(e,g,s);continue;case"multiple":c.delete(C),Oo(C,e.multiple,g,s);continue;case"muted":c.delete(C),Oo(C,e.muted,g,s);continue;case"autoFocus":c.delete("autofocus"),Oo(C,e.autofocus,g,s);continue;case"data":if(t!=="object"){c.delete(C),d=e.getAttribute("data"),Oo(C,d,g,s);continue}case"src":case"href":if(!(g!==""||t==="a"&&C==="href"||t==="object"&&C==="data")){C==="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.',C,C):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.',C,C);continue}O_(e,C,C,g,c,s);continue;case"action":case"formAction":if(d=e.getAttribute(C),typeof g==="function"){c.delete(C.toLowerCase()),C==="formAction"?(c.delete("name"),c.delete("formenctype"),c.delete("formmethod"),c.delete("formtarget")):(c.delete("enctype"),c.delete("method"),c.delete("target"));continue}else if(d===pV){c.delete(C.toLowerCase()),Oo(C,"function",g,s);continue}O_(e,C,C.toLowerCase(),g,c,s);continue;case"xlinkHref":O_(e,C,"xlink:href",g,c,s);continue;case"contentEditable":R_(e,C,"contenteditable",g,c,s);continue;case"spellCheck":R_(e,C,"spellcheck",g,c,s);continue;case"draggable":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":R_(e,C,C,g,c,s);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":KE(e,C,C.toLowerCase(),g,c,s);continue;case"capture":case"download":e:{m=e;var T=d=C,F=s;if(c.delete(T),m=m.getAttribute(T),m===null)switch(typeof g){case"undefined":case"function":case"symbol":break e;default:if(g===!1)break e}else if(g!=null)switch(typeof g){case"function":case"symbol":break;case"boolean":if(g===!0&&m==="")break e;break;default:if(Ve(g,d),m===""+g)break e}Oo(d,m,g,F)}continue;case"cols":case"rows":case"size":case"span":e:{if(m=e,T=d=C,F=s,c.delete(T),m=m.getAttribute(T),m===null)switch(typeof g){case"undefined":case"function":case"symbol":case"boolean":break e;default:if(isNaN(g)||1>g)break e}else if(g!=null)switch(typeof g){case"function":case"symbol":case"boolean":break;default:if(!(isNaN(g)||1>g)&&(Ve(g,d),m===""+g))break e}Oo(d,m,g,F)}continue;case"rowSpan":JE(e,C,"rowspan",g,c,s);continue;case"start":JE(e,C,C,g,c,s);continue;case"xHeight":Hi(e,C,"x-height",g,c,s);continue;case"xlinkActuate":Hi(e,C,"xlink:actuate",g,c,s);continue;case"xlinkArcrole":Hi(e,C,"xlink:arcrole",g,c,s);continue;case"xlinkRole":Hi(e,C,"xlink:role",g,c,s);continue;case"xlinkShow":Hi(e,C,"xlink:show",g,c,s);continue;case"xlinkTitle":Hi(e,C,"xlink:title",g,c,s);continue;case"xlinkType":Hi(e,C,"xlink:type",g,c,s);continue;case"xmlBase":Hi(e,C,"xml:base",g,c,s);continue;case"xmlLang":Hi(e,C,"xml:lang",g,c,s);continue;case"xmlSpace":Hi(e,C,"xml:space",g,c,s);continue;case"inert":g!==""||BI[C]||(BI[C]=!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.",C)),KE(e,C,C,g,c,s);continue;default:if(!(2<C.length)||C[0]!=="o"&&C[0]!=="O"||C[1]!=="n"&&C[1]!=="N"){m=zA(C),d=!1,i.context===bs&&t!=="svg"&&t!=="math"?c.delete(m.toLowerCase()):(T=C.toLowerCase(),T=zx.hasOwnProperty(T)?zx[T]||null:null,T!==null&&T!==C&&(d=!0,c.delete(T)),c.delete(m));e:if(T=e,F=m,m=g,Cy(F))if(T.hasAttribute(F))T=F.toLowerCase()==="nonce"?T.nonce:T.getAttribute(F),Ve(m,F),m=T===""+m?m:T;else{switch(typeof m){case"function":case"symbol":break e;case"boolean":if(T=F.toLowerCase().slice(0,5),T!=="data-"&&T!=="aria-")break e}m=m===void 0?void 0:null}else m=void 0;d||Oo(C,m,g,s)}}}return 0<c.size&&o.suppressHydrationWarning!==!0&&w7(e,c,s),Object.keys(s).length===0?null:s}function T7(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 eD(e){switch(e){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function E7(){if(typeof performance.getEntriesByType==="function"){for(var e=0,t=0,o=performance.getEntriesByType("resource"),i=0;i<o.length;i++){var s=o[i],{transferSize:c,initiatorType:d,duration:m}=s;if(c&&m&&eD(d)){d=0,m=s.responseEnd;for(i+=1;i<o.length;i++){var g=o[i],C=g.startTime;if(C>m)break;var T=g.transferSize,F=g.initiatorType;T&&eD(F)&&(g=g.responseEnd,d+=T*(g<m?1:(m-C)/(g-C)))}if(--i,t+=8*(c+d)/(s.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 Wm(e){return e.nodeType===9?e:e.ownerDocument}function tD(e){switch(e){case Od:return rp;case Hx:return kI;default:return bs}}function nD(e,t){if(e===bs)switch(t){case"svg":return rp;case"math":return kI;default:return bs}return e===rp&&t==="foreignObject"?bs:e}function oD(e,t,o,i){return o=Wm(o).createElement(e),o[jo]=i,o[Er]=t,Po(o,e,t),Ro(o),o}function D7(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 w_(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 M7(){var e=window.event;if(e&&e.type==="popstate"){if(e===IR)return!1;return IR=e,!0}return IR=null,!1}function Zm(){var e=window.event;return e&&e!==Zh?e.type:null}function Km(){var e=window.event;return e&&e!==Zh?e.timeStamp:-1.1}function U7(e){setTimeout(function(){throw e})}function N7(e,t,o){switch(t){case"button":case"input":case"select":case"textarea":o.autoFocus&&e.focus();break;case"img":o.src?e.src=o.src:o.srcSet&&(e.srcset=o.srcSet)}}function B7(){}function L7(e,t,o,i){A7(e,t,o,i),e[Er]=i}function rD(e){Sm(e,"")}function k7(e,t,o){e.nodeValue=o}function iD(e){if(!e.__reactWarnedAboutChildrenConflict){var t=e[Er]||null;if(t!==null){var o=el(e);o!==null&&(typeof t.children==="string"||typeof t.children==="number"?(e.__reactWarnedAboutChildrenConflict=!0,xe(o,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,xe(o,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 ec(e){return e==="head"}function P7(e,t){e.removeChild(t)}function j7(e,t){(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e).removeChild(t)}function aD(e,t){var o=t,i=0;do{var s=o.nextSibling;if(e.removeChild(o),s&&s.nodeType===8)if(o=s.data,o===Wh||o===LI){if(i===0){e.removeChild(s),Id(t);return}i--}else if(o===Yh||o===yc||o===eu||o===op||o===Qf)i++;else if(o===hV)N_(e.ownerDocument.documentElement);else if(o===bV){o=e.ownerDocument.head,N_(o);for(var c=o.firstChild;c;){var d=c.nextSibling,m=c.nodeName;c[ih]||m==="SCRIPT"||m==="STYLE"||m==="LINK"&&c.rel.toLowerCase()==="stylesheet"||o.removeChild(c),c=d}}else o===gV&&N_(e.ownerDocument.body);o=s}while(o);Id(t)}function lD(e,t){var o=e;e=0;do{var i=o.nextSibling;if(o.nodeType===1?t?(o._stashedDisplay=o.style.display,o.style.display="none"):(o.style.display=o._stashedDisplay||"",o.getAttribute("style")===""&&o.removeAttribute("style")):o.nodeType===3&&(t?(o._stashedText=o.nodeValue,o.nodeValue=""):o.nodeValue=o._stashedText||""),i&&i.nodeType===8)if(o=i.data,o===Wh)if(e===0)break;else e--;else o!==Yh&&o!==yc&&o!==eu&&o!==op||e++;o=i}while(o)}function F7(e){lD(e,!0)}function H7(e){e=e.style,typeof e.setProperty==="function"?e.setProperty("display","none","important"):e.display="none"}function z7(e){e.nodeValue=""}function V7(e){lD(e,!1)}function G7(e,t){t=t[uN],t=t!==void 0&&t!==null&&t.hasOwnProperty("display")?t.display:null,e.style.display=t==null||typeof t==="boolean"?"":(""+t).trim()}function X7(e,t){e.nodeValue=t}function q7(e){for(var t=e.firstChild;t!=null;){if(t.nodeType===1&&getComputedStyle(t).display==="block"){var o=el(t)||el(e);xe(o,function(i,s){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`,i.toLocaleLowerCase(),s.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 sD(e,t,o){if(t=CSS.escape(t)!==t?"r-"+btoa(t).replace(/=/g,""):t,e.style.viewTransitionName=t,o!=null&&(e.style.viewTransitionClass=o),o=getComputedStyle(e),o.display==="inline"){if(t=e.getClientRects(),t.length===1)var i=1;else for(var s=i=0;s<t.length;s++){var c=t[s];0<c.width&&0<c.height&&i++}i===1?(e=e.style,e.display=t.length===1?"inline-block":"block",e.marginTop="-"+o.paddingTop,e.marginBottom="-"+o.paddingBottom):q7(e)}}function cD(e,t){e=e.style,t=t[uN];var o=t!=null?t.hasOwnProperty("viewTransitionName")?t.viewTransitionName:t.hasOwnProperty("view-transition-name")?t["view-transition-name"]:null:null;e.viewTransitionName=o==null||typeof o==="boolean"?"":(""+o).trim(),o=t!=null?t.hasOwnProperty("viewTransitionClass")?t.viewTransitionClass:t.hasOwnProperty("view-transition-class")?t["view-transition-class"]:null:null,e.viewTransitionClass=o==null||typeof o==="boolean"?"":(""+o).trim(),e.display==="inline-block"&&(t==null?e.display=e.margin="":(o=t.display,e.display=o==null||typeof o==="boolean"?"":o,o=t.margin,o!=null?e.margin=o:(o=t.hasOwnProperty("marginTop")?t.marginTop:t["margin-top"],e.marginTop=o==null||typeof o==="boolean"?"":o,t=t.hasOwnProperty("marginBottom")?t.marginBottom:t["margin-bottom"],e.marginBottom=t==null||typeof t==="boolean"?"":t)))}function fD(e,t,o){return o=o.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<=o.innerHeight&&e.left<=o.innerWidth}}function A_(e){var t=e.getBoundingClientRect(),o=getComputedStyle(e);return fD(t,o,e)}function $7(e){var t=e.getBoundingClientRect();t=new DOMRect(t.x+20000,t.y+20000,t.width,t.height);var o=getComputedStyle(e);return fD(t,o,e)}function Y7(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 W7(e){return e.documentElement.clientHeight}function Z7(e){this.addEventListener("load",e),this.addEventListener("error",e)}function K7(e,t,o,i,s,c,d,m,g,C,T){var F=t.nodeType===9?t:t.ownerDocument;try{var j=F.startViewTransition({update:function(){var pe=F.defaultView,Ne=pe.navigation&&pe.navigation.transition,Ge=F.fonts.status;i();var gt=[];if(Ge==="loaded"&&(W7(F),F.fonts.status==="loading"&>.push(F.fonts.ready)),Ge=gt.length,e!==null)for(var U=e.suspenseyImages,N=0,H=0;H<U.length;H++){var te=U[H];if(!te.complete){var ye=te.getBoundingClientRect();if(0<ye.bottom&&0<ye.right&&ye.top<pe.innerHeight&&ye.left<pe.innerWidth){if(N+=DD(te),N>jI){gt.length=Ge;break}te=new Promise(Z7.bind(te)),gt.push(te)}}}if(0<gt.length)return C(0<Ge?gt.length>Ge?"Waiting on Fonts and Images":"Waiting on Fonts":"Waiting on Images"),pe=Promise.race([Promise.all(gt),new Promise(function(rt){return setTimeout(rt,vV)})]).then(s,s),(Ne?Promise.allSettled([Ne.finished,pe]):pe).then(c,c);if(s(),Ne)return Ne.finished.then(c,c);c()},types:o});F.__reactViewTransition=j;var q=[];return j.ready.then(function(){for(var pe=F.documentElement.getAnimations({subtree:!0}),Ne=0;Ne<pe.length;Ne++){var Ge=pe[Ne],gt=Ge.effect,U=gt.pseudoElement;if(U!=null&&U.startsWith("::view-transition")){q.push(Ge),Ge=gt.getKeyframes();for(var N=U=void 0,H=!0,te=0;te<Ge.length;te++){var ye=Ge[te],rt=ye.width;if(U===void 0)U=rt;else if(U!==rt){H=!1;break}if(rt=ye.height,N===void 0)N=rt;else if(N!==rt){H=!1;break}delete ye.width,delete ye.height,ye.transform==="none"&&delete ye.transform}H&&U!==void 0&&N!==void 0&&(gt.setKeyframes(Ge),H=getComputedStyle(gt.target,gt.pseudoElement),H.width!==U||H.height!==N)&&(H=Ge[0],H.width=U,H.height=N,H=Ge[Ge.length-1],H.width=U,H.height=N,gt.setKeyframes(Ge))}}d()},function(pe){F.__reactViewTransition===j&&(F.__reactViewTransition=null);try{pe=Y7(pe,!1),pe!==null&&g(pe)}finally{i(),s(),d(),T()}}),j.finished.finally(function(){for(var pe=0;pe<q.length;pe++)q[pe].cancel();F.__reactViewTransition===j&&(F.__reactViewTransition=null),T(),m()}),j}catch(pe){return i(),s(),T(),d(),null}}function Mf(e,t){this._scope=document.documentElement,this._selector="::view-transition-"+e+"("+t+")"}function uD(e){return{name:e,group:new Mf("group",e),imagePair:new Mf("image-pair",e),old:new Mf("old",e),new:new Mf("new",e)}}function mi(e){this._fragmentFiber=e,this._observers=this._eventListeners=null}function J7(e,t,o,i){return L(e).addEventListener(t,o,i),!1}function Q7(e,t,o,i){return L(e).removeEventListener(t,o,i),!1}function gd(e){return e!=null&&typeof e!=="boolean"&&(e.once===!0||e.signal instanceof AbortSignal)?{capture:e.capture,passive:e.passive}:e}function dD(e){return e==null?"c=0":typeof e==="boolean"?"c="+(e?"1":"0"):"c="+(e.capture?"1":"0")}function pD(e,t,o,i){if(e.length===0)return-1;i=dD(i);for(var s=0;s<e.length;s++){var c=e[s];if(c.type===t&&c.listener===o&&dD(c.optionsOrUseCapture)===i)return s}return-1}function mD(e,t){if(e.tag===6)return!1;return e=L(e),mz(e,t)}function T_(e,t){return t.push(e),!1}function ez(e,t){if(e.tag===6)return!1;return e=L(e),e===t||e.contains(t)?(t.blur(),!0):!1}function tz(e,t){if(e.tag===6)return!1;return e=L(e),t.observe(e),!1}function nz(e,t){if(e.tag===6)return!1;return e=L(e),t.unobserve(e),!1}function oz(e,t,o){Ua.push({fragmentInstance:e,observer:t,instance:o}),CR||(CR=!0,hz(function(){CR=!1;var i=Ua;Ua=[];for(var s=0;s<i.length;s++){var c=i[s];c.observer.unobserve(c.instance)}}))}function rz(e,t){if(e.tag===6){e=e.stateNode;var o=e.ownerDocument.createRange();o.selectNodeContents(e),t.push.apply(t,o.getClientRects())}else e=L(e),t.push.apply(t,e.getClientRects());return!1}function iz(e,t,o,i,s){var c=hf(s);if(e&Node.DOCUMENT_POSITION_CONTAINED_BY){if(o=!!c)e:{for(;c!==null;){if(c.tag===7&&(c===t||c.alternate===t)){o=!0;break e}c=c.return}o=!1}return o}if(e&Node.DOCUMENT_POSITION_CONTAINS){if(c===null)return c=s.ownerDocument,s===c||s===c.documentElement||s===c.body;e:{c=t;for(t=de(t);c!==null;){if(!(c.tag!==5&&c.tag!==3&&c.tag!==27||c!==t&&c.alternate!==t)){c=!0;break e}c=c.return}c=!1}return c}return e&Node.DOCUMENT_POSITION_PRECEDING?((t=!!c)&&!(t=c===o)&&(t=ne(o,c,Z),t===null?t=!1:(re(t,!0,Y,c,o),c=vd,vd=null,t=c!==null)),t):e&Node.DOCUMENT_POSITION_FOLLOWING?((t=!!c)&&!(t=c===i)&&(t=ne(i,c,Z),t===null?t=!1:(re(t,!0,P,c,i),c=vd,G_=vd=null,t=c!==null)),t):!1}function hD(e,t){var o=e.ownerDocument.createRange();o.selectNodeContents(e),e=o.getBoundingClientRect(),window.scrollTo(window.scrollX+e.left,t?window.scrollY+e.top:window.scrollY+e.bottom-window.innerHeight)}function az(e,t){return e=L(e),gD(e,t),!1}function gD(e,t){e.reactFragments==null&&(e.reactFragments=new Set),e.reactFragments.add(t)}function bD(e,t){var o=t._eventListeners;if(o!==null)for(var i=0;i<o.length;i++){var s=o[i];e.addEventListener(s.type,s.attachedListener,gd(s.optionsOrUseCapture))}e.nodeType!==3&&(o=t._observers,o!==null&&o.forEach(function(c){for(var d=0,m=0;m<Ua.length;m++){var g=Ua[m];if(g.fragmentInstance!==t||g.observer!==c||g.instance!==e)Ua[d++]=g}Ua.length=d,c.observe(e)}),gD(e,t))}function lz(e,t){var o=t._eventListeners;if(o!==null)for(var i=0;i<o.length;i++){var s=o[i];e.removeEventListener(s.type,s.attachedListener,gd(s.optionsOrUseCapture))}e.nodeType!==3&&(o=t._observers,o!==null&&o.forEach(function(c){typeof c.rootMargin==="string"?oz(t,c,e):c.unobserve(e)}),e.reactFragments!=null&&e.reactFragments.delete(t))}function E_(e){var t=e.firstChild;t&&t.nodeType===10&&(t=t.nextSibling);for(;t;){var o=t;switch(t=t.nextSibling,o.nodeName){case"HTML":case"HEAD":case"BODY":E_(o),Yu(o);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(o.rel.toLowerCase()==="stylesheet")continue}e.removeChild(o)}}function sz(e,t,o,i){for(;e.nodeType===1;){var s=o;if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!i&&(e.nodeName!=="INPUT"||e.type!=="hidden"))break}else if(!i)if(t==="input"&&e.type==="hidden"){Ve(s.name,"name");var c=s.name==null?null:""+s.name;if(s.type==="hidden"&&e.getAttribute("name")===c)return e}else return e;else if(!e[ih])switch(t){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if(c=e.getAttribute("rel"),c==="stylesheet"&&e.hasAttribute("data-precedence"))break;else if(c!==s.rel||e.getAttribute("href")!==(s.href==null||s.href===""?null:s.href)||e.getAttribute("crossorigin")!==(s.crossOrigin==null?null:s.crossOrigin)||e.getAttribute("title")!==(s.title==null?null:s.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(c=e.getAttribute("src"),(c!==(s.src==null?null:s.src)||e.getAttribute("type")!==(s.type==null?null:s.type)||e.getAttribute("crossorigin")!==(s.crossOrigin==null?null:s.crossOrigin))&&c&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}if(e=hi(e.nextSibling),e===null)break}return null}function cz(e,t,o){if(t==="")return null;for(;e.nodeType!==3;){if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!o)return null;if(e=hi(e.nextSibling),e===null)return null}return e}function xD(e,t){for(;e.nodeType!==8;){if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!t)return null;if(e=hi(e.nextSibling),e===null)return null}return e}function D_(e){return e.data===yc||e.data===eu}function M_(e){return e.data===op||e.data===yc&&e.ownerDocument.readyState!==fN}function fz(e,t){var o=e.ownerDocument;if(e.data===eu)e._reactRetry=t;else if(e.data!==yc||o.readyState!==fN)t();else{var i=function(){t(),o.removeEventListener("DOMContentLoaded",i)};o.addEventListener("DOMContentLoaded",i),e._reactRetry=i}}function hi(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===Yh||t===op||t===yc||t===eu||t===Qf||t===gR||t===cN)break;if(t===Wh||t===LI)return null}}return e}function ID(e){if(e.nodeType===1){for(var t=e.nodeName.toLowerCase(),o={},i=e.attributes,s=0;s<i.length;s++){var c=i[s];o[WE(c.name)]=c.name.toLowerCase()==="style"?__(e):c.value}return{type:t,props:o}}return e.nodeType===8?e.data===Qf?{type:"Activity",props:{}}:{type:"Suspense",props:{}}:e.nodeValue}function vD(e,t,o){return o===null||o[mV]!==!0?(e.nodeValue===t?e=null:(t=Qs(t),e=Qs(e.nodeValue)===t?null:e.nodeValue),e):null}function U_(e){e=e.nextSibling;for(var t=0;e;){if(e.nodeType===8){var o=e.data;if(o===Wh||o===LI){if(t===0)return hi(e.nextSibling);t--}else o!==Yh&&o!==op&&o!==yc&&o!==eu&&o!==Qf||t++}e=e.nextSibling}return null}function CD(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var o=e.data;if(o===Yh||o===op||o===yc||o===eu||o===Qf){if(t===0)return e;t--}else o!==Wh&&o!==LI||t++}e=e.previousSibling}return null}function uz(e){Id(e)}function dz(e){Id(e)}function pz(e){Id(e)}function mz(e,t){function o(){i=!0}if(e.ownerDocument.activeElement===e)return!0;var i=!1;try{e.ownerDocument.addEventListener("focus",o,!0),(e.focus||HTMLElement.prototype.focus).call(e,t)}finally{e.ownerDocument.removeEventListener("focus",o,!0)}return i}function hz(e){hN(function(){hN(function(t){return e(t)})})}function yD(e,t,o,i,s){switch(s&&Ty(e,i.ancestorInfo),t=Wm(o),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 gz(e,t,o,i){if(!o[oc]&&el(o)){var s=o.tagName.toLowerCase();console.error("You are mounting a new %s component when a previous one has not first unmounted. It is an error to render more than one %s component at a time and attributes and children of these components will likely fail in unpredictable ways. Please only render a single instance of <%s> and if you need to mount a new one, ensure any previous ones have unmounted first.",s,s,s)}switch(e){case"html":case"head":case"body":break;default:console.error("acquireSingletonInstance was called with an element type that is not supported. This is a bug in React.")}for(s=o.attributes;s.length;)o.removeAttributeNode(s[0]);Po(o,e,t),o[jo]=i,o[Er]=t}function SD(e,t,o){for(var i in o){var s=o[i];o.hasOwnProperty(i)&&s!=null&&on(e,t,i,null,dV,s)}o.dangerouslySetInnerHTML!=null&&(e.textContent=""),e.onclick===tl&&(e.onclick=null),Yu(e)}function N_(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);Yu(e)}function Jm(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 _D(e,t,o){var i=ip;if(i&&typeof t==="string"&&t){var s=Pi(t);s='link[rel="'+e+'"][href="'+s+'"]',typeof o==="string"&&(s+='[crossorigin="'+o+'"]'),xN.has(s)||(xN.add(s),e={rel:e,crossOrigin:o,href:t},i.querySelector(s)===null&&(t=i.createElement("link"),Po(t,"link",e),Ro(t),i.head.appendChild(t)))}}function RD(e,t,o,i){var s=(s=nc.current)?Jm(s):null;if(!s)throw Error('"resourceRoot" was expected to exist. This is a bug in React.');switch(e){case"meta":case"title":return null;case"style":return typeof o.precedence==="string"&&typeof o.href==="string"?(o=bd(o.href),t=Wu(s).hoistableStyles,i=t.get(o),i||(i={type:"style",instance:null,count:0,state:null},t.set(o,i)),i):{type:"void",instance:null,count:0,state:null};case"link":if(o.rel==="stylesheet"&&typeof o.href==="string"&&typeof o.precedence==="string"){e=bd(o.href);var c=Wu(s).hoistableStyles,d=c.get(e);if(d||(s=s.ownerDocument||s,d={type:"stylesheet",instance:null,count:0,state:{loading:nu,preload:null}},c.set(e,d),(c=s.querySelector(Qm(e)))?c._p||(d.instance=c,d.state.loading=Kh|Ki):(c=Ji.get(e),c||(c={rel:"preload",as:"style",href:o.href,crossOrigin:o.crossOrigin,integrity:o.integrity,media:o.media,hrefLang:o.hrefLang,referrerPolicy:o.referrerPolicy},Ji.set(e,c)),bz(s,e,c,d.state))),t&&i===null)throw o=`
|
|
180
|
+
|
|
181
|
+
- `+Rx(t)+`
|
|
182
|
+
+ `+Rx(o),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."+o);return d}if(t&&i!==null)throw o=`
|
|
183
|
+
|
|
184
|
+
- `+Rx(t)+`
|
|
185
|
+
+ `+Rx(o),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."+o);return null;case"script":return t=o.async,o=o.src,typeof o==="string"&&t&&typeof t!=="function"&&typeof t!=="symbol"?(o=xd(o),t=Wu(s).hoistableScripts,i=t.get(o),i||(i={type:"script",instance:null,count:0,state:null},t.set(o,i)),i):{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 Rx(e){var t=0,o="<link";return typeof e.rel==="string"?(t++,o+=' rel="'+e.rel+'"'):zi.call(e,"rel")&&(t++,o+=' rel="'+(e.rel===null?"null":"invalid type "+typeof e.rel)+'"'),typeof e.href==="string"?(t++,o+=' href="'+e.href+'"'):zi.call(e,"href")&&(t++,o+=' href="'+(e.href===null?"null":"invalid type "+typeof e.href)+'"'),typeof e.precedence==="string"?(t++,o+=' precedence="'+e.precedence+'"'):zi.call(e,"precedence")&&(t++,o+=" precedence={"+(e.precedence===null?"null":"invalid type "+typeof e.precedence)+"}"),Object.getOwnPropertyNames(e).length>t&&(o+=" ..."),o+" />"}function bd(e){return'href="'+Pi(e)+'"'}function Qm(e){return'link[rel="stylesheet"]['+e+"]"}function OD(e){return xt({},e,{"data-precedence":e.precedence,precedence:null})}function bz(e,t,o,i){if(t=e.querySelector('link[rel="preload"][as="style"]['+t+"]")){if(t[jx]!==!0){i.loading=Kh;return}}else t=e.createElement("link"),t[jx]=!0,t.onload=t.onerror=vA.bind(null,t),Po(t,"link",o),Ro(t),e.head.appendChild(t);i.preload=t,t.addEventListener("load",function(){return i.loading|=Kh}),t.addEventListener("error",function(){return i.loading|=gN})}function xd(e){return'[src="'+Pi(e)+'"]'}function eh(e){return"script[async]"+e}function wD(e,t,o){if(t.count++,t.instance===null)switch(t.type){case"style":var i=e.querySelector('style[data-href~="'+Pi(o.href)+'"]');if(i)return t.instance=i,Ro(i),i;var s=xt({},o,{"data-href":o.href,"data-precedence":o.precedence,href:null,precedence:null});return i=(e.ownerDocument||e).createElement("style"),Ro(i),Po(i,"style",s),Ox(i,o.precedence,e),t.instance=i;case"stylesheet":s=bd(o.href);var c=e.querySelector(Qm(s));if(c)return t.state.loading|=Ki,t.instance=c,Ro(c),c;i=OD(o),(s=Ji.get(s))&&B_(i,s),c=(e.ownerDocument||e).createElement("link"),Ro(c);var d=c;return d._p=new Promise(function(m,g){d.onload=m,d.onerror=g}),Po(c,"link",i),t.state.loading|=Ki,Ox(c,o.precedence,e),t.instance=c;case"script":if(c=xd(o.src),s=e.querySelector(eh(c)))return t.instance=s,Ro(s),s;if(i=o,s=Ji.get(c))i=xt({},o),L_(i,s);return e=e.ownerDocument||e,s=e.createElement("script"),Ro(s),Po(s,"link",i),e.head.appendChild(s),t.instance=s;case"void":return null;default:throw Error('acquireResource encountered a resource type it did not expect: "'+t.type+'". this is a bug in React.')}else t.type==="stylesheet"&&(t.state.loading&Ki)===nu&&(i=t.instance,t.state.loading|=Ki,Ox(i,o.precedence,e));return t.instance}function Ox(e,t,o){for(var i=o.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),s=i.length?i[i.length-1]:null,c=s,d=0;d<i.length;d++){var m=i[d];if(m.dataset.precedence===t)c=m;else if(c!==s)break}c?c.parentNode.insertBefore(e,c.nextSibling):(t=o.nodeType===9?o.head:o,t.insertBefore(e,t.firstChild))}function B_(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.title==null&&(e.title=t.title)}function L_(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.integrity==null&&(e.integrity=t.integrity)}function AD(e,t,o){if(PI===null){var i=new Map,s=PI=new Map;s.set(o,i)}else s=PI,i=s.get(o),i||(i=new Map,s.set(o,i));if(i.has(e))return i;i.set(e,null),o=o.getElementsByTagName(e);for(s=0;s<o.length;s++){var c=o[s];if(!(c[ih]||c[jo]||e==="link"&&c.getAttribute("rel")==="stylesheet")&&c.namespaceURI!==Od){var d=c.getAttribute(t)||"";d=e+d;var m=i.get(d);m?m.push(c):i.set(d,[c])}}return i}function k_(e,t,o){e=e.ownerDocument||e,e.head.insertBefore(o,t==="title"?e.querySelector("head > title"):null)}function xz(e,t,o){var i=!o.ancestorInfo.containerTagInScope;if(o.context===rp||t.itemProp!=null)return!i||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===""){i&&console.error('Cannot render a <style> outside the main document without knowing its precedence and a unique href key. React can hoist and deduplicate <style> tags if you provide a `precedence` prop along with an `href` prop that does not conflict with the `href` values used in any other hoisted <style> or <link rel="stylesheet" ...> tags. Note that hoisting <style> tags is considered an advanced feature that most will not use directly. Consider moving the <style> tag to the <head> or consider adding a `precedence="default"` and `href="some unique resource identifier"`.');break}return!0;case"link":if(typeof t.rel!=="string"||typeof t.href!=="string"||t.href===""||t.onLoad||t.onError){if(t.rel==="stylesheet"&&typeof t.precedence==="string"){e=t.href;var s=t.onError,c=t.disabled;o=[],t.onLoad&&o.push("`onLoad`"),s&&o.push("`onError`"),c!=null&&o.push("`disabled`"),s=T7(o,"and"),s+=o.length===1?" prop":" props",c=o.length===1?"an "+s:"the "+s,o.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,c,s)}i&&(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"&&i&&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"){i&&(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":i&&console.error("Cannot render <%s> outside the main document. Try moving it into the root <head> tag.",e)}return!1}function TD(e,t){return e==="img"&&t.src!=null&&t.src!==""&&t.onLoad==null&&t.loading!=="lazy"}function ED(e){return e.type==="stylesheet"&&(e.state.loading&bN)===nu?!1:!0}function DD(e){return(e.width||100)*(e.height||100)*(typeof devicePixelRatio==="number"?devicePixelRatio:1)*0.25}function MD(e,t){typeof t.decode==="function"&&(e.imgCount++,t.complete||(e.imgBytes+=DD(t),e.suspenseyImages.push(t)),e=Cz.bind(e),t.decode().then(e,e))}function Iz(e,t,o,i){if(o.type==="stylesheet"&&(typeof i.media!=="string"||matchMedia(i.media).matches!==!1)&&(o.state.loading&Ki)===nu){if(o.instance===null){var s=bd(i.href),c=t.querySelector(Qm(s));if(c){t=c._p,t!==null&&typeof t==="object"&&typeof t.then==="function"&&(e.count++,e=th.bind(e),t.then(e,e)),o.state.loading|=Ki,o.instance=c,Ro(c);return}c=t.ownerDocument||t,i=OD(i),(s=Ji.get(s))&&B_(i,s),c=c.createElement("link"),Ro(c);var d=c;d._p=new Promise(function(m,g){d.onload=m,d.onerror=g}),Po(c,"link",i),o.instance=c}e.stylesheets===null&&(e.stylesheets=new Map),e.stylesheets.set(o,t),(t=o.state.preload)&&(o.state.loading&bN)===nu&&(e.count++,o=th.bind(e),t.addEventListener("load",o),t.addEventListener("error",o))}}function vz(e,t){return e.stylesheets&&e.count===0&&wx(e,e.stylesheets),0<e.count||0<e.imgCount?function(o){var i=setTimeout(function(){if(e.stylesheets&&wx(e,e.stylesheets),e.unsuspend){var c=e.unsuspend;e.unsuspend=null,c()}},CV+t);0<e.imgBytes&&jI===0&&(jI=125*E7()*SV);var s=setTimeout(function(){if(e.waitingForImages=!1,e.count===0&&(e.stylesheets&&wx(e,e.stylesheets),e.unsuspend)){var c=e.unsuspend;e.unsuspend=null,c()}},(e.imgBytes>jI?50:yV)+t);return e.unsuspend=o,function(){e.unsuspend=null,clearTimeout(i),clearTimeout(s)}}:null}function UD(e){if(e.count===0&&(e.imgCount===0||!e.waitingForImages)){if(e.stylesheets)wx(e,e.stylesheets);else if(e.unsuspend){var t=e.unsuspend;e.unsuspend=null,t()}}}function th(){this.count--,UD(this)}function Cz(){this.imgCount--,UD(this)}function wx(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,FI=new Map,t.forEach(yz,e),FI=null,th.call(e))}function yz(e,t){if(!(t.state.loading&Ki)){var o=FI.get(e);if(o)var i=o.get(SR);else{o=new Map,FI.set(e,o);for(var s=e.querySelectorAll("link[data-precedence],style[data-precedence]"),c=0;c<s.length;c++){var d=s[c];if(d.nodeName==="LINK"||d.getAttribute("media")!=="not all")o.set(d.dataset.precedence,d),i=d}i&&o.set(SR,i)}s=t.instance,d=s.getAttribute("data-precedence"),c=o.get(d)||i,c===i&&o.set(SR,s),o.set(d,s),this.count++,i=th.bind(this),s.addEventListener("load",i),s.addEventListener("error",i),c?c.parentNode.insertBefore(s,c.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(s,e.firstChild)),t.state.loading|=Ki}}function Sz(e,t,o,i,s,c,d,m,g){this.tag=1,this.containerInfo=e,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=tu,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=R(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=R(0),this.hiddenUpdates=R(null),this.identifierPrefix=i,this.onUncaughtError=s,this.onCaughtError=c,this.onRecoverableError=d,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=g,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=o?"hydrateRoot()":"createRoot()"}function ND(e,t,o,i,s,c,d,m,g,C,T,F){return e=new Sz(e,t,o,d,g,C,T,F,m),t=$9,c===!0&&(t|=rr|Oa),t|=It,c=v(3,null,null,t),e.current=c,c.stateNode=e,t=qy(),Rf(t),e.pooledCache=t,Rf(t),c.memoizedState={element:i,isDehydrated:o,cache:t},Ky(c),e}function BD(e){if(!e)return sc;return e=sc,e}function P_(e,t,o,i,s,c){if(or&&typeof or.onScheduleFiberRoot==="function")try{or.onScheduleFiberRoot(_d,i,o)}catch(d){xl||(xl=!0,console.error("React instrumentation encountered an error: %o",d))}s=BD(s),i.context===null?i.context=s:i.pendingContext=s,bl&&gi!==null&&!yN&&(yN=!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
|
+
|
|
187
|
+
Check the render method of %s.`,B(gi)||"Unknown")),i=qs(t),i.payload={element:o},c=c===void 0?null:c,c!==null&&(typeof c!=="function"&&console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",c),i.callback=c),o=$s(e,i,t),o!==null&&(rl(t,"root.render()",null),Ln(o,e,t),Mm(o,e,t))}function LD(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var o=e.retryLane;e.retryLane=o!==0&&o<t?o:t}}function j_(e,t){LD(e,t),(e=e.alternate)&&LD(e,t)}function kD(e){if(e.tag===13||e.tag===31){var t=nr(e,67108864);t!==null&&Ln(t,e,67108864),j_(e,67108864)}}function PD(e){if(e.tag===13||e.tag===31){var t=pi(e);t=je(t);var o=nr(e,t);o!==null&&Ln(o,e,t),j_(e,t)}}function _z(){return gi}function Rz(e,t,o,i){var s=oe.T;oe.T=null;var c=Wt.p;try{Wt.p=Tr,F_(e,t,o,i)}finally{Wt.p=c,oe.T=s}}function Oz(e,t,o,i){var s=oe.T;oe.T=null;var c=Wt.p;try{Wt.p=Ra,F_(e,t,o,i)}finally{Wt.p=c,oe.T=s}}function F_(e,t,o,i){if(lp){var s=H_(i);if(s===null)C_(e,t,i,zI,o),FD(e,i);else if(wz(s,e,t,o,i))i.stopPropagation();else if(FD(e,i),t&4&&-1<RV.indexOf(e)){for(;s!==null;){var c=el(s);if(c!==null)switch(c.tag){case 3:if(c=c.stateNode,c.current.memoizedState.isDehydrated){var d=Jo(c.pendingLanes);if(d!==0){var m=c;m.pendingLanes|=2;for(m.entangledLanes|=2;d;){var g=1<<31-Ar(d);m.entanglements[1]|=g,d&=~g}ml(c),(jt&(mo|vi))===Do&&(yI=Wn()+KU,$m(0,!1))}}break;case 31:case 13:m=nr(c,2),m!==null&&Ln(m,c,2),pd(),j_(c,2)}if(c=H_(i),c===null&&C_(e,t,i,zI,o),c===s)break;s=c}s!==null&&i.stopPropagation()}else C_(e,t,i,null,o)}}function H_(e){return e=Ey(e),z_(e)}function z_(e){if(zI=null,e=hf(e),e!==null){var t=k(e);if(t===null)e=null;else{var o=t.tag;if(o===13){if(e=z(t),e!==null)return e;e=null}else if(o===31){if(e=M(t),e!==null)return e;e=null}else if(o===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null)}}return zI=e,null}function jD(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 Tr;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 Ra;case"message":switch(Pz()){case o0:return Tr;case r0:return Ra;case Sd:case jz:return vl;case i0:return Px;default:return vl}default:return vl}}function FD(e,t){switch(e){case"focusin":case"focusout":Sc=null;break;case"dragenter":case"dragleave":_c=null;break;case"mouseover":case"mouseout":Rc=null;break;case"pointerover":case"pointerout":Jh.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Qh.delete(t.pointerId)}}function nh(e,t,o,i,s,c){if(e===null||e.nativeEvent!==c)return e={blockedOn:t,domEventName:o,eventSystemFlags:i,nativeEvent:c,targetContainers:[s]},t!==null&&(t=el(t),t!==null&&kD(t)),e;return e.eventSystemFlags|=i,t=e.targetContainers,s!==null&&t.indexOf(s)===-1&&t.push(s),e}function wz(e,t,o,i,s){switch(t){case"focusin":return Sc=nh(Sc,e,t,o,i,s),!0;case"dragenter":return _c=nh(_c,e,t,o,i,s),!0;case"mouseover":return Rc=nh(Rc,e,t,o,i,s),!0;case"pointerover":var c=s.pointerId;return Jh.set(c,nh(Jh.get(c)||null,e,t,o,i,s)),!0;case"gotpointercapture":return c=s.pointerId,Qh.set(c,nh(Qh.get(c)||null,e,t,o,i,s)),!0}return!1}function HD(e){var t=hf(e.target);if(t!==null){var o=k(t);if(o!==null){if(t=o.tag,t===13){if(t=z(o),t!==null){e.blockedOn=t,js(e.priority,function(){PD(o)});return}}else if(t===31){if(t=M(o),t!==null){e.blockedOn=t,js(e.priority,function(){PD(o)});return}}else if(t===3&&o.stateNode.current.memoizedState.isDehydrated){e.blockedOn=o.tag===3?o.stateNode.containerInfo:null;return}}}e.blockedOn=null}function Ax(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var o=H_(e.nativeEvent);if(o===null){o=e.nativeEvent;var i=new o.constructor(o.type,o),s=i;ah!==null&&console.error("Expected currently replaying event to be null. This error is likely caused by a bug in React. Please file an issue."),ah=s,o.target.dispatchEvent(i),ah===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."),ah=null}else return t=el(o),t!==null&&kD(t),e.blockedOn=o,!1;t.shift()}return!0}function zD(e,t,o){Ax(e)&&o.delete(t)}function Az(){_R=!1,Sc!==null&&Ax(Sc)&&(Sc=null),_c!==null&&Ax(_c)&&(_c=null),Rc!==null&&Ax(Rc)&&(Rc=null),Jh.forEach(zD),Qh.forEach(zD)}function Tx(e,t){e.blockedOn===t&&(e.blockedOn=null,_R||(_R=!0,Ht.unstable_scheduleCallback(Ht.unstable_NormalPriority,Az)))}function VD(e){VI!==e&&(VI=e,Ht.unstable_scheduleCallback(Ht.unstable_NormalPriority,function(){VI===e&&(VI=null);for(var t=0;t<e.length;t+=3){var o=e[t],i=e[t+1],s=e[t+2];if(typeof i!=="function")if(z_(i||o)===null)continue;else break;var c=el(o);c!==null&&(e.splice(t,3),t-=3,o={pending:!0,data:s,method:o.method,action:i},Object.freeze(o),_S(c,o,i,s))}}))}function Id(e){function t(g){return Tx(g,e)}Sc!==null&&Tx(Sc,e),_c!==null&&Tx(_c,e),Rc!==null&&Tx(Rc,e),Jh.forEach(t),Qh.forEach(t);for(var o=0;o<Oc.length;o++){var i=Oc[o];i.blockedOn===e&&(i.blockedOn=null)}for(;0<Oc.length&&(o=Oc[0],o.blockedOn===null);)HD(o),o.blockedOn===null&&Oc.shift();if(o=(e.ownerDocument||e).$$reactFormReplay,o!=null)for(i=0;i<o.length;i+=3){var s=o[i],c=o[i+1],d=s[Er]||null;if(typeof c==="function")d||VD(o);else if(d){var m=null;if(c&&c.hasAttribute("formAction")){if(s=c,d=c[Er]||null)m=d.formAction;else if(z_(s)!==null)continue}else m=d.action;typeof m==="function"?o[i+1]=m:(o.splice(i,3),i-=3),VD(o)}}}function GD(){function e(c){c.canIntercept&&c.info==="react-transition"&&c.intercept({handler:function(){return new Promise(function(d){return s=d})},focusReset:"manual",scroll:"manual"})}function t(){s!==null&&(s(),s=null),i||setTimeout(o,20)}function o(){if(!i&&!navigation.transition){var c=navigation.currentEntry;c&&c.url!=null&&navigation.navigate(c.url,{state:c.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation==="object"){var i=!1,s=null;return navigation.addEventListener("navigate",e),navigation.addEventListener("navigatesuccess",t),navigation.addEventListener("navigateerror",t),setTimeout(o,100),function(){i=!0,navigation.removeEventListener("navigate",e),navigation.removeEventListener("navigatesuccess",t),navigation.removeEventListener("navigateerror",t),s!==null&&(s(),s=null)}}}function V_(e){this._internalRoot=e}function Ex(e){this._internalRoot=e}function XD(e){e[oc]&&(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 vd=null,G_=null,xt=Object.assign,Tz=Symbol.for("react.element"),gl=Symbol.for("react.transitional.element"),Cd=Symbol.for("react.portal"),yd=Symbol.for("react.fragment"),Dx=Symbol.for("react.strict_mode"),X_=Symbol.for("react.profiler"),q_=Symbol.for("react.consumer"),_a=Symbol.for("react.context"),Mx=Symbol.for("react.forward_ref"),$_=Symbol.for("react.suspense"),Y_=Symbol.for("react.suspense_list"),Ux=Symbol.for("react.memo"),zr=Symbol.for("react.lazy"),W_=Symbol.for("react.activity"),Ez=Symbol.for("react.legacy_hidden"),Dz=Symbol.for("react.memo_cache_sentinel"),Z_=Symbol.for("react.view_transition"),Mz=Symbol.for("react.recoverable"),qD=Symbol.iterator,Uz=Symbol.for("react.client.reference"),uo=Array.isArray,oe=cp.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Wt=OR.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Nz=Object.freeze({pending:!1,data:null,method:null,action:null}),K_=[],J_=[],os=-1,tc=ce(null),oh=ce(null),nc=ce(null),Nx=ce(null),rh=0,$D,YD,WD,ZD,KD,JD,QD;yt.__reactDisabledLog=!0;var Q_,eM,e0=!1,t0=new(typeof WeakMap==="function"?WeakMap:Map),gi=null,bl=!1,zi=Object.prototype.hasOwnProperty,n0=Ht.unstable_scheduleCallback,Bz=Ht.unstable_cancelCallback,Lz=Ht.unstable_shouldYield,kz=Ht.unstable_requestPaint,Wn=Ht.unstable_now,Pz=Ht.unstable_getCurrentPriorityLevel,o0=Ht.unstable_ImmediatePriority,r0=Ht.unstable_UserBlockingPriority,Sd=Ht.unstable_NormalPriority,jz=Ht.unstable_LowPriority,i0=Ht.unstable_IdlePriority,Fz=Ht.log,Hz=Ht.unstable_setDisableYieldValue,_d=null,or=null,xl=!1,Il=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u",Ar=Math.clz32?Math.clz32:$l,{log:zz,LN2:Vz}=Math,Bx=256,Lx=262144,kx=4194304,Tr=2,Ra=8,vl=32,Px=268435456,rs=Math.random().toString(36).slice(2),jo="__reactFiber$"+rs,Er="__reactProps$"+rs,oc="__reactContainer$"+rs,tM="__reactEvents$"+rs,Gz="__reactListeners$"+rs,Xz="__reactHandles$"+rs,nM="__reactResources$"+rs,ih="__reactMarker$"+rs,jx="__reactLoad$"+rs,oM=new Set,Uf={},a0={},qz={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0},$z=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]*$"),rM={},iM={},qt=!1,Yz=/[\n"\\]/g,aM=!1,lM=!1,sM=!1,cM=!1,fM=!1,uM=!1,dM=["value","defaultValue"],pM=!1,mM=/["'&<>\n\t]|^\s|\s$/,Wz="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(" "),hM="applet caption html table td th marquee object select template foreignObject desc title".split(" "),Zz=hM.concat(["button"]),Kz="dd dt li option optgroup p rp rt".split(" "),gM={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null,containerTagInScope:null,implicitRootScope:!1},Fx={},l0={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"]},bM=/([A-Z])/g,xM=/^ms-/,Jz=/^(?:webkit|moz|o)[A-Z]/,Qz=/^-ms-/,e9=/-(.)/g,IM=/;\s*$/,Rd={},s0={},vM=!1,CM=!1,yM=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(" ")),Hx="http://www.w3.org/1998/Math/MathML",Od="http://www.w3.org/2000/svg",t9=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"]]),zx={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"},SM={"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},wd={},n9=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]*$"),o9=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]*$"),_M=!1,Dr={},RM=/^on./,r9=/^on[^A-Z]/,i9=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]*$"),a9=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]*$"),l9=/^[\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,ah=null,Ad=null,Td=null,c0=!1,Cl=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),f0=!1;if(Cl)try{var lh={};Object.defineProperty(lh,"passive",{get:function(){f0=!0}}),window.addEventListener("test",lh,lh),window.removeEventListener("test",lh,lh)}catch(e){f0=!1}var rc=null,u0=null,Vx=null,ic={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Gx=Sr(ic),sh=xt({},ic,{view:0,detail:0}),s9=Sr(sh),d0,p0,ch,Xx=xt({},sh,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Dy,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!==ch&&(ch&&e.type==="mousemove"?(d0=e.screenX-ch.screenX,p0=e.screenY-ch.screenY):p0=d0=0,ch=e),d0},movementY:function(e){return"movementY"in e?e.movementY:p0}}),OM=Sr(Xx),c9=xt({},Xx,{dataTransfer:0}),f9=Sr(c9),u9=xt({},sh,{relatedTarget:0}),m0=Sr(u9),d9=xt({},ic,{animationName:0,elapsedTime:0,pseudoElement:0}),p9=Sr(d9),m9=xt({},ic,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),h9=Sr(m9),g9=xt({},ic,{data:0}),wM=Sr(g9),b9=wM,x9={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},I9={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"},v9={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"},C9=xt({},sh,{key:function(e){if(e.key){var t=x9[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=yb(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?I9[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Dy,charCode:function(e){return e.type==="keypress"?yb(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?yb(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),y9=Sr(C9),S9=xt({},Xx,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),AM=Sr(S9),_9=xt({},ic,{submitter:0}),R9=Sr(_9),O9=xt({},sh,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Dy}),w9=Sr(O9),A9=xt({},ic,{propertyName:0,elapsedTime:0,pseudoElement:0}),T9=Sr(A9),E9=xt({},Xx,{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}),D9=Sr(E9),M9=xt({},ic,{newState:0,oldState:0,source:0}),U9=Sr(M9),N9=[9,13,27,32],TM=229,h0=Cl&&"CompositionEvent"in window,fh=null;Cl&&"documentMode"in document&&(fh=document.documentMode);var B9=Cl&&"TextEvent"in window&&!fh,EM=Cl&&(!h0||fh&&8<fh&&11>=fh),DM=32,MM=String.fromCharCode(DM),UM=!1,Ed=!1,L9={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0},uh=null,dh=null,NM=!1;Cl&&(NM=TH("input")&&(!document.documentMode||9<document.documentMode));var Mr=typeof Object.is==="function"?Object.is:BH,k9=Cl&&"documentMode"in document&&11>=document.documentMode,Dd=null,g0=null,ph=null,b0=!1,Md={animationend:xf("Animation","AnimationEnd"),animationiteration:xf("Animation","AnimationIteration"),animationstart:xf("Animation","AnimationStart"),transitionrun:xf("Transition","TransitionRun"),transitionstart:xf("Transition","TransitionStart"),transitioncancel:xf("Transition","TransitionCancel"),transitionend:xf("Transition","TransitionEnd")},x0={},BM={};Cl&&(BM=document.createElement("div").style,("AnimationEvent"in window)||(delete Md.animationend.animation,delete Md.animationiteration.animation,delete Md.animationstart.animation),("TransitionEvent"in window)||delete Md.transitionend.transition);var LM=If("animationend"),kM=If("animationiteration"),PM=If("animationstart"),P9=If("transitionrun"),j9=If("transitionstart"),F9=If("transitioncancel"),jM=If("transitionend"),FM=new Map,I0="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(" ");I0.push("scrollEnd");var H9=0,HM=0;if(typeof performance==="object"&&typeof performance.now==="function")var z9=performance,zM=function(){return z9.now()};else{var V9=Date;zM=function(){return V9.now()}}var v0=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)},G9="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.",qx=0,C0=1,y0=2,S0=3,Vi=100,$x="- ",Yx="+ ",VM=" ",mn=typeof console<"u"&&typeof console.timeStamp==="function"&&typeof performance<"u"&&typeof performance.measure==="function",Vr="Components ⚛",wt="Scheduler ⚛",Et="Blocking",ac=!1,is={color:"primary",properties:null,tooltipText:"",track:Vr},lc={start:-0,end:-0,detail:{devtools:is}},X9=["Changed Props",""],GM="This component received deeply equal props. It might benefit from useMemo or the React Compiler in its owner.",q9=["Changed Props",GM],mh=1,as=2,Gi=[],Ud=0,_0=0,sc={};Object.freeze(sc);var ls=null,Nd=null,lt=0,$9=1,It=2,rr=8,Oa=16,XM=32,qM=!1;try{var $M=Object.preventExtensions({})}catch(e){qM=!0}var R0=new WeakMap,Bd=[],Ld=0,Wx=null,hh=0,Xi=[],qi=0,Nf=null,ss=1,cs="",wo=null,un=null,vt=!1,yl=!1,bi=null,cc=null,$i=!1,O0=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."),w0=ce(null),A0=ce(null),YM={},Zx=null,kd=null,Pd=!1,Y9=typeof AbortController<"u"?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(o,i){e.push(i)}};this.abort=function(){t.aborted=!0,e.forEach(function(o){return o()})}},W9=Ht.unstable_scheduleCallback,Z9=Ht.unstable_NormalPriority,Qn={$$typeof:_a,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0,_currentRenderer:null,_currentRenderer2:null},gh=null,Zn=Ht.unstable_now,Kx=console.createTask?console.createTask:function(){return null},bh=1,Jx=2,Ao=-0,fs=-0,wa=-0,us=null,Ur=-1.1,Bf=-0,On=-0,Qe=-1.1,ot=-1.1,yn=null,kn=!1,fc=-0,Sl=-1.1,xh=null,uc=0,T0=null,E0=null,Lf=-1.1,Ih=null,jd=-1.1,Qx=-1.1,Aa=-0,ds=-1.1,Yi=-1.1,D0=0,vh=null,WM=null,ZM=null,dc=-1.1,kf=null,pc=-1.1,eI=-1.1,M0=-0,U0=-0,Pf=0,Gr=null,KM=0,Ch=-1.1,tI=!1,nI=!1,yh=null,N0=0,mc=0,Fd=null,JM=oe.S;oe.S=function(e,t){if(WU=Wn(),typeof t==="object"&&t!==null&&typeof t.then==="function"){if(0>ds&&0>Yi){ds=Zn();var o=Km(),i=Zm();if(o!==pc||i!==kf)pc=-1.1;dc=o,kf=i}HH(e,t)}if(gh!==null)for(o=tp;o!==null;)ST(o,gh),o=o.next;if(o=e.types,o!==null){for(i=tp;i!==null;)ST(i,o),i=i.next;if(mc!==0){i=gh,i===null&&(i=gh=[]);for(var s=0;s<o.length;s++){var c=o[s];i.indexOf(c)===-1&&i.push(c)}}}JM!==null&&JM(e,t)};var jf=ce(null),Ta={recordUnsafeLifecycleWarnings:function(){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}},Sh=[],_h=[],Rh=[],Oh=[],wh=[],Ah=[],Ff=new Set;Ta.recordUnsafeLifecycleWarnings=function(e,t){Ff.has(e.type)||(typeof t.componentWillMount==="function"&&t.componentWillMount.__suppressDeprecationWarning!==!0&&Sh.push(e),e.mode&rr&&typeof t.UNSAFE_componentWillMount==="function"&&_h.push(e),typeof t.componentWillReceiveProps==="function"&&t.componentWillReceiveProps.__suppressDeprecationWarning!==!0&&Rh.push(e),e.mode&rr&&typeof t.UNSAFE_componentWillReceiveProps==="function"&&Oh.push(e),typeof t.componentWillUpdate==="function"&&t.componentWillUpdate.__suppressDeprecationWarning!==!0&&wh.push(e),e.mode&rr&&typeof t.UNSAFE_componentWillUpdate==="function"&&Ah.push(e))},Ta.flushPendingUnsafeLifecycleWarnings=function(){var e=new Set;0<Sh.length&&(Sh.forEach(function(m){e.add(B(m)||"Component"),Ff.add(m.type)}),Sh=[]);var t=new Set;0<_h.length&&(_h.forEach(function(m){t.add(B(m)||"Component"),Ff.add(m.type)}),_h=[]);var o=new Set;0<Rh.length&&(Rh.forEach(function(m){o.add(B(m)||"Component"),Ff.add(m.type)}),Rh=[]);var i=new Set;0<Oh.length&&(Oh.forEach(function(m){i.add(B(m)||"Component"),Ff.add(m.type)}),Oh=[]);var s=new Set;0<wh.length&&(wh.forEach(function(m){s.add(B(m)||"Component"),Ff.add(m.type)}),wh=[]);var c=new Set;if(0<Ah.length&&(Ah.forEach(function(m){c.add(B(m)||"Component"),Ff.add(m.type)}),Ah=[]),0<t.size){var d=_(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
|
+
|
|
189
|
+
* Move code with side effects to componentDidMount, and set initial state in the constructor.
|
|
190
|
+
|
|
191
|
+
Please update the following components: %s`,d)}0<i.size&&(d=_(i),console.error(`Using UNSAFE_componentWillReceiveProps in strict mode is not recommended and may indicate bugs in your code. See https://react.dev/link/unsafe-component-lifecycles for details.
|
|
192
|
+
|
|
193
|
+
* Move data fetching code or side effects to componentDidUpdate.
|
|
194
|
+
* If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://react.dev/link/derived-state
|
|
195
|
+
|
|
196
|
+
Please update the following components: %s`,d)),0<c.size&&(d=_(c),console.error(`Using UNSAFE_componentWillUpdate in strict mode is not recommended and may indicate bugs in your code. See https://react.dev/link/unsafe-component-lifecycles for details.
|
|
197
|
+
|
|
198
|
+
* Move data fetching code or side effects to componentDidUpdate.
|
|
199
|
+
|
|
200
|
+
Please update the following components: %s`,d)),0<e.size&&(d=_(e),console.warn(`componentWillMount has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
|
|
201
|
+
|
|
202
|
+
* Move code with side effects to componentDidMount, and set initial state in the constructor.
|
|
203
|
+
* Rename componentWillMount to UNSAFE_componentWillMount to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
|
|
204
|
+
|
|
205
|
+
Please update the following components: %s`,d)),0<o.size&&(d=_(o),console.warn(`componentWillReceiveProps has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
|
|
206
|
+
|
|
207
|
+
* Move data fetching code or side effects to componentDidUpdate.
|
|
208
|
+
* If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://react.dev/link/derived-state
|
|
209
|
+
* Rename componentWillReceiveProps to UNSAFE_componentWillReceiveProps to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
|
|
210
|
+
|
|
211
|
+
Please update the following components: %s`,d)),0<s.size&&(d=_(s),console.warn(`componentWillUpdate has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
|
|
212
|
+
|
|
213
|
+
* Move data fetching code or side effects to componentDidUpdate.
|
|
214
|
+
* Rename componentWillUpdate to UNSAFE_componentWillUpdate to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
|
|
215
|
+
|
|
216
|
+
Please update the following components: %s`,d))};var oI=new Map,QM=new Set;Ta.recordLegacyContextWarning=function(e,t){var o=null;for(var i=e;i!==null;)i.mode&rr&&(o=i),i=i.return;o===null?console.error("Expected to find a StrictMode component in a strict mode tree. This error is likely caused by a bug in React. Please file an issue."):!QM.has(e.type)&&(i=oI.get(o),e.type.contextTypes!=null||e.type.childContextTypes!=null||t!==null&&typeof t.getChildContext==="function")&&(i===void 0&&(i=[],oI.set(o,i)),i.push(e))},Ta.flushLegacyContextWarning=function(){oI.forEach(function(e){if(e.length!==0){var t=e[0],o=new Set;e.forEach(function(s){o.add(B(s)||"Component"),QM.add(s.type)});var i=_(o);xe(t,function(){console.error(`Legacy context API has been detected within a strict-mode tree.
|
|
217
|
+
|
|
218
|
+
The old API will be supported in all 16.x releases, but applications using it should migrate to the new version.
|
|
219
|
+
|
|
220
|
+
Please update the following components: %s
|
|
221
|
+
|
|
222
|
+
Learn more about this warning here: https://react.dev/link/legacy-context`,i)})}})},Ta.discardPendingWarnings=function(){Sh=[],_h=[],Rh=[],Oh=[],wh=[],Ah=[],oI=new Map};var K9="",eU={react_stack_bottom_frame:function(e,t,o){var i=bl;bl=!0;try{return e(t,o)}finally{bl=i}}},B0=eU.react_stack_bottom_frame.bind(eU),tU={react_stack_bottom_frame:function(e){var t=bl;bl=!0;try{return e.render()}finally{bl=t}}},nU=tU.react_stack_bottom_frame.bind(tU),oU={react_stack_bottom_frame:function(e,t){try{t.componentDidMount()}catch(o){Yt(e,e.return,o)}}},L0=oU.react_stack_bottom_frame.bind(oU),rU={react_stack_bottom_frame:function(e,t,o,i,s){try{t.componentDidUpdate(o,i,s)}catch(c){Yt(e,e.return,c)}}},iU=rU.react_stack_bottom_frame.bind(rU),aU={react_stack_bottom_frame:function(e,t){var o=t.stack;e.componentDidCatch(t.value,{componentStack:o!==null?o:""})}},J9=aU.react_stack_bottom_frame.bind(aU),lU={react_stack_bottom_frame:function(e,t,o){try{o.componentWillUnmount()}catch(i){Yt(e,t,i)}}},sU=lU.react_stack_bottom_frame.bind(lU),cU={react_stack_bottom_frame:function(e){var t=e.create;return e=e.inst,t=t(),e.destroy=t}},Q9=cU.react_stack_bottom_frame.bind(cU),fU={react_stack_bottom_frame:function(e,t,o){try{o()}catch(i){Yt(e,t,i)}}},eV=fU.react_stack_bottom_frame.bind(fU),uU={react_stack_bottom_frame:function(e){var t=e._init;return t(e._payload)}},tV=uU.react_stack_bottom_frame.bind(uU),Hd=Error("Suspense Exception: This is not a real error! It's an implementation detail of `use` to interrupt the current render. You must either rethrow it immediately, or move the `use` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary, or call the promise's `.catch` method and pass the result to `use`."),k0=Error("Suspense Exception: This is not a real error, and should not leak into userspace. If you're seeing this, it's likely a bug in React."),rI=Error("Suspense Exception: This is not a real error! It's an implementation detail of `useActionState` to interrupt the current render. You must either rethrow it immediately, or move the `useActionState` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary."),iI={then:function(){console.error('Internal React error: A listener was unexpectedly attached to a "noop" thenable. This is a bug in React. Please file an issue.')}},Hf=null,aI=null,P0=!1,zf=null,Th=!1,zd=null,Eh=0,At=null,j0,dU=j0=!1,pU={},mU={},hU={};y=function(e,t,o){if(o!==null&&typeof o==="object"&&o._store&&(!o._store.validated&&o.key==null||o._store.validated===2)){if(typeof o._store!=="object")throw Error("React Component in warnForMissingKey should have a _store. This error is likely caused by a bug in React. Please file an issue.");o._store.validated=1;var i=B(e),s=i||"null";if(!pU[s]){pU[s]=!0,o=o._owner,e=e._debugOwner;var c="";e&&typeof e.tag==="number"&&(s=B(e))&&(c=`
|
|
223
|
+
|
|
224
|
+
Check the render method of \``+s+"`."),c||i&&(c=`
|
|
225
|
+
|
|
226
|
+
Check the top-level render call using <`+i+">.");var d="";o!=null&&e!==o&&(i=null,typeof o.tag==="number"?i=B(o):typeof o.name==="string"&&(i=o.name),i&&(d=" It was passed a child from "+i+".")),xe(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.',c,d)})}}};var Vf=kT(!0),gU=kT(!1),bU=0,xU=1,IU=2,F0=3,hc=!1,vU=!1,H0=null,z0=!1,gc=ce(null),lI=ce(0),Fo=ce(null),ir=null,Vd=1,Dh=2,Ho=ce(0),Mh=0,Wi=1,Nr=2,xi=4,ar=8,Gd,CU=new Set,yU=new Set,V0=new Set,SU=new Set,ps=0,st=null,sn=null,eo=null,sI=!1,Xd=!1,Gf=!1,cI=0,Uh=0,_l=null,nV=0,oV=25,ee=null,Zi=null,ms=-1,Nh=!1,fI={readContext:Cn,use:Zs,useCallback:Gn,useContext:Gn,useEffect:Gn,useImperativeHandle:Gn,useLayoutEffect:Gn,useInsertionEffect:Gn,useMemo:Gn,useReducer:Gn,useRef:Gn,useState:Gn,useDebugValue:Gn,useDeferredValue:Gn,useTransition:Gn,useSyncExternalStore:Gn,useId:Gn,useHostTransitionStatus:Gn,useFormState:Gn,useActionState:Gn,useOptimistic:Gn,useMemoCache:Gn,useCacheRefresh:Gn,useEffectEvent:Gn},G0=null,_U=null,X0=null,RU=null,Rl=null,Ea=null,uI=null;G0={readContext:function(e){return Cn(e)},use:Zs,useCallback:function(e,t){return ee="useCallback",Ot(),od(t),vS(e,t)},useContext:function(e){return ee="useContext",Ot(),Cn(e)},useEffect:function(e,t){return ee="useEffect",Ot(),od(t),ex(e,t)},useImperativeHandle:function(e,t,o){return ee="useImperativeHandle",Ot(),od(o),IS(e,t,o)},useInsertionEffect:function(e,t){ee="useInsertionEffect",Ot(),od(t),wf(4,Nr,e,t)},useLayoutEffect:function(e,t){return ee="useLayoutEffect",Ot(),od(t),xS(e,t)},useMemo:function(e,t){ee="useMemo",Ot(),od(t);var o=oe.H;oe.H=Rl;try{return CS(e,t)}finally{oe.H=o}},useReducer:function(e,t,o){ee="useReducer",Ot();var i=oe.H;oe.H=Rl;try{return cS(e,t,o)}finally{oe.H=i}},useRef:function(e){return ee="useRef",Ot(),gS(e)},useState:function(e){ee="useState",Ot();var t=oe.H;oe.H=Rl;try{return pS(e)}finally{oe.H=t}},useDebugValue:function(){ee="useDebugValue",Ot()},useDeferredValue:function(e,t){return ee="useDeferredValue",Ot(),yS(e,t)},useTransition:function(){return ee="useTransition",Ot(),RS()},useSyncExternalStore:function(e,t,o){return ee="useSyncExternalStore",Ot(),uS(e,t,o)},useId:function(){return ee="useId",Ot(),OS()},useFormState:function(e,t){return ee="useFormState",Ot(),Wb(),id(e,t)},useActionState:function(e,t){return ee="useActionState",Ot(),id(e,t)},useOptimistic:function(e){return ee="useOptimistic",Ot(),mS(e)},useHostTransitionStatus:Af,useMemoCache:Of,useCacheRefresh:function(){return ee="useCacheRefresh",Ot(),wS()},useEffectEvent:function(e){return ee="useEffectEvent",Ot(),bS(e)}},_U={readContext:function(e){return Cn(e)},use:Zs,useCallback:function(e,t){return ee="useCallback",Ie(),vS(e,t)},useContext:function(e){return ee="useContext",Ie(),Cn(e)},useEffect:function(e,t){return ee="useEffect",Ie(),ex(e,t)},useImperativeHandle:function(e,t,o){return ee="useImperativeHandle",Ie(),IS(e,t,o)},useInsertionEffect:function(e,t){ee="useInsertionEffect",Ie(),wf(4,Nr,e,t)},useLayoutEffect:function(e,t){return ee="useLayoutEffect",Ie(),xS(e,t)},useMemo:function(e,t){ee="useMemo",Ie();var o=oe.H;oe.H=Rl;try{return CS(e,t)}finally{oe.H=o}},useReducer:function(e,t,o){ee="useReducer",Ie();var i=oe.H;oe.H=Rl;try{return cS(e,t,o)}finally{oe.H=i}},useRef:function(e){return ee="useRef",Ie(),gS(e)},useState:function(e){ee="useState",Ie();var t=oe.H;oe.H=Rl;try{return pS(e)}finally{oe.H=t}},useDebugValue:function(){ee="useDebugValue",Ie()},useDeferredValue:function(e,t){return ee="useDeferredValue",Ie(),yS(e,t)},useTransition:function(){return ee="useTransition",Ie(),RS()},useSyncExternalStore:function(e,t,o){return ee="useSyncExternalStore",Ie(),uS(e,t,o)},useId:function(){return ee="useId",Ie(),OS()},useActionState:function(e,t){return ee="useActionState",Ie(),id(e,t)},useFormState:function(e,t){return ee="useFormState",Ie(),Wb(),id(e,t)},useOptimistic:function(e){return ee="useOptimistic",Ie(),mS(e)},useHostTransitionStatus:Af,useMemoCache:Of,useCacheRefresh:function(){return ee="useCacheRefresh",Ie(),wS()},useEffectEvent:function(e){return ee="useEffectEvent",Ie(),bS(e)}},X0={readContext:function(e){return Cn(e)},use:Zs,useCallback:function(e,t){return ee="useCallback",Ie(),ox(e,t)},useContext:function(e){return ee="useContext",Ie(),Cn(e)},useEffect:function(e,t){ee="useEffect",Ie(),Hr(2048,ar,e,t)},useImperativeHandle:function(e,t,o){return ee="useImperativeHandle",Ie(),nx(e,t,o)},useInsertionEffect:function(e,t){return ee="useInsertionEffect",Ie(),Hr(4,Nr,e,t)},useLayoutEffect:function(e,t){return ee="useLayoutEffect",Ie(),Hr(4,xi,e,t)},useMemo:function(e,t){ee="useMemo",Ie();var o=oe.H;oe.H=Ea;try{return rx(e,t)}finally{oe.H=o}},useReducer:function(e,t,o){ee="useReducer",Ie();var i=oe.H;oe.H=Ea;try{return rd(e,t,o)}finally{oe.H=i}},useRef:function(){return ee="useRef",Ie(),Kt().memoizedState},useState:function(){ee="useState",Ie();var e=oe.H;oe.H=Ea;try{return rd(Ca)}finally{oe.H=e}},useDebugValue:function(){ee="useDebugValue",Ie()},useDeferredValue:function(e,t){return ee="useDeferredValue",Ie(),i2(e,t)},useTransition:function(){return ee="useTransition",Ie(),u2()},useSyncExternalStore:function(e,t,o){return ee="useSyncExternalStore",Ie(),Kb(e,t,o)},useId:function(){return ee="useId",Ie(),Kt().memoizedState},useFormState:function(e){return ee="useFormState",Ie(),Wb(),Jb(e)},useActionState:function(e){return ee="useActionState",Ie(),Jb(e)},useOptimistic:function(e,t){return ee="useOptimistic",Ie(),WT(e,t)},useHostTransitionStatus:Af,useMemoCache:Of,useCacheRefresh:function(){return ee="useCacheRefresh",Ie(),Kt().memoizedState},useEffectEvent:function(e){return ee="useEffectEvent",Ie(),tx(e)}},RU={readContext:function(e){return Cn(e)},use:Zs,useCallback:function(e,t){return ee="useCallback",Ie(),ox(e,t)},useContext:function(e){return ee="useContext",Ie(),Cn(e)},useEffect:function(e,t){ee="useEffect",Ie(),Hr(2048,ar,e,t)},useImperativeHandle:function(e,t,o){return ee="useImperativeHandle",Ie(),nx(e,t,o)},useInsertionEffect:function(e,t){return ee="useInsertionEffect",Ie(),Hr(4,Nr,e,t)},useLayoutEffect:function(e,t){return ee="useLayoutEffect",Ie(),Hr(4,xi,e,t)},useMemo:function(e,t){ee="useMemo",Ie();var o=oe.H;oe.H=uI;try{return rx(e,t)}finally{oe.H=o}},useReducer:function(e,t,o){ee="useReducer",Ie();var i=oe.H;oe.H=uI;try{return km(e,t,o)}finally{oe.H=i}},useRef:function(){return ee="useRef",Ie(),Kt().memoizedState},useState:function(){ee="useState",Ie();var e=oe.H;oe.H=uI;try{return km(Ca)}finally{oe.H=e}},useDebugValue:function(){ee="useDebugValue",Ie()},useDeferredValue:function(e,t){return ee="useDeferredValue",Ie(),a2(e,t)},useTransition:function(){return ee="useTransition",Ie(),d2()},useSyncExternalStore:function(e,t,o){return ee="useSyncExternalStore",Ie(),Kb(e,t,o)},useId:function(){return ee="useId",Ie(),Kt().memoizedState},useFormState:function(e){return ee="useFormState",Ie(),Wb(),Qb(e)},useActionState:function(e){return ee="useActionState",Ie(),Qb(e)},useOptimistic:function(e,t){return ee="useOptimistic",Ie(),KT(e,t)},useHostTransitionStatus:Af,useMemoCache:Of,useCacheRefresh:function(){return ee="useCacheRefresh",Ie(),Kt().memoizedState},useEffectEvent:function(e){return ee="useEffectEvent",Ie(),tx(e)}},Rl={readContext:function(e){return b(),Cn(e)},use:function(e){return h(),Zs(e)},useCallback:function(e,t){return ee="useCallback",h(),Ot(),vS(e,t)},useContext:function(e){return ee="useContext",h(),Ot(),Cn(e)},useEffect:function(e,t){return ee="useEffect",h(),Ot(),ex(e,t)},useImperativeHandle:function(e,t,o){return ee="useImperativeHandle",h(),Ot(),IS(e,t,o)},useInsertionEffect:function(e,t){ee="useInsertionEffect",h(),Ot(),wf(4,Nr,e,t)},useLayoutEffect:function(e,t){return ee="useLayoutEffect",h(),Ot(),xS(e,t)},useMemo:function(e,t){ee="useMemo",h(),Ot();var o=oe.H;oe.H=Rl;try{return CS(e,t)}finally{oe.H=o}},useReducer:function(e,t,o){ee="useReducer",h(),Ot();var i=oe.H;oe.H=Rl;try{return cS(e,t,o)}finally{oe.H=i}},useRef:function(e){return ee="useRef",h(),Ot(),gS(e)},useState:function(e){ee="useState",h(),Ot();var t=oe.H;oe.H=Rl;try{return pS(e)}finally{oe.H=t}},useDebugValue:function(){ee="useDebugValue",h(),Ot()},useDeferredValue:function(e,t){return ee="useDeferredValue",h(),Ot(),yS(e,t)},useTransition:function(){return ee="useTransition",h(),Ot(),RS()},useSyncExternalStore:function(e,t,o){return ee="useSyncExternalStore",h(),Ot(),uS(e,t,o)},useId:function(){return ee="useId",h(),Ot(),OS()},useFormState:function(e,t){return ee="useFormState",h(),Ot(),id(e,t)},useActionState:function(e,t){return ee="useActionState",h(),Ot(),id(e,t)},useOptimistic:function(e){return ee="useOptimistic",h(),Ot(),mS(e)},useMemoCache:function(e){return h(),Of(e)},useHostTransitionStatus:Af,useCacheRefresh:function(){return ee="useCacheRefresh",Ot(),wS()},useEffectEvent:function(e){return ee="useEffectEvent",h(),Ot(),bS(e)}},Ea={readContext:function(e){return b(),Cn(e)},use:function(e){return h(),Zs(e)},useCallback:function(e,t){return ee="useCallback",h(),Ie(),ox(e,t)},useContext:function(e){return ee="useContext",h(),Ie(),Cn(e)},useEffect:function(e,t){ee="useEffect",h(),Ie(),Hr(2048,ar,e,t)},useImperativeHandle:function(e,t,o){return ee="useImperativeHandle",h(),Ie(),nx(e,t,o)},useInsertionEffect:function(e,t){return ee="useInsertionEffect",h(),Ie(),Hr(4,Nr,e,t)},useLayoutEffect:function(e,t){return ee="useLayoutEffect",h(),Ie(),Hr(4,xi,e,t)},useMemo:function(e,t){ee="useMemo",h(),Ie();var o=oe.H;oe.H=Ea;try{return rx(e,t)}finally{oe.H=o}},useReducer:function(e,t,o){ee="useReducer",h(),Ie();var i=oe.H;oe.H=Ea;try{return rd(e,t,o)}finally{oe.H=i}},useRef:function(){return ee="useRef",h(),Ie(),Kt().memoizedState},useState:function(){ee="useState",h(),Ie();var e=oe.H;oe.H=Ea;try{return rd(Ca)}finally{oe.H=e}},useDebugValue:function(){ee="useDebugValue",h(),Ie()},useDeferredValue:function(e,t){return ee="useDeferredValue",h(),Ie(),i2(e,t)},useTransition:function(){return ee="useTransition",h(),Ie(),u2()},useSyncExternalStore:function(e,t,o){return ee="useSyncExternalStore",h(),Ie(),Kb(e,t,o)},useId:function(){return ee="useId",h(),Ie(),Kt().memoizedState},useFormState:function(e){return ee="useFormState",h(),Ie(),Jb(e)},useActionState:function(e){return ee="useActionState",h(),Ie(),Jb(e)},useOptimistic:function(e,t){return ee="useOptimistic",h(),Ie(),WT(e,t)},useMemoCache:function(e){return h(),Of(e)},useHostTransitionStatus:Af,useCacheRefresh:function(){return ee="useCacheRefresh",Ie(),Kt().memoizedState},useEffectEvent:function(e){return ee="useEffectEvent",h(),Ie(),tx(e)}},uI={readContext:function(e){return b(),Cn(e)},use:function(e){return h(),Zs(e)},useCallback:function(e,t){return ee="useCallback",h(),Ie(),ox(e,t)},useContext:function(e){return ee="useContext",h(),Ie(),Cn(e)},useEffect:function(e,t){ee="useEffect",h(),Ie(),Hr(2048,ar,e,t)},useImperativeHandle:function(e,t,o){return ee="useImperativeHandle",h(),Ie(),nx(e,t,o)},useInsertionEffect:function(e,t){return ee="useInsertionEffect",h(),Ie(),Hr(4,Nr,e,t)},useLayoutEffect:function(e,t){return ee="useLayoutEffect",h(),Ie(),Hr(4,xi,e,t)},useMemo:function(e,t){ee="useMemo",h(),Ie();var o=oe.H;oe.H=Ea;try{return rx(e,t)}finally{oe.H=o}},useReducer:function(e,t,o){ee="useReducer",h(),Ie();var i=oe.H;oe.H=Ea;try{return km(e,t,o)}finally{oe.H=i}},useRef:function(){return ee="useRef",h(),Ie(),Kt().memoizedState},useState:function(){ee="useState",h(),Ie();var e=oe.H;oe.H=Ea;try{return km(Ca)}finally{oe.H=e}},useDebugValue:function(){ee="useDebugValue",h(),Ie()},useDeferredValue:function(e,t){return ee="useDeferredValue",h(),Ie(),a2(e,t)},useTransition:function(){return ee="useTransition",h(),Ie(),d2()},useSyncExternalStore:function(e,t,o){return ee="useSyncExternalStore",h(),Ie(),Kb(e,t,o)},useId:function(){return ee="useId",h(),Ie(),Kt().memoizedState},useFormState:function(e){return ee="useFormState",h(),Ie(),Qb(e)},useActionState:function(e){return ee="useActionState",h(),Ie(),Qb(e)},useOptimistic:function(e,t){return ee="useOptimistic",h(),Ie(),KT(e,t)},useMemoCache:function(e){return h(),Of(e)},useHostTransitionStatus:Af,useCacheRefresh:function(){return ee="useCacheRefresh",Ie(),Kt().memoizedState},useEffectEvent:function(e){return ee="useEffectEvent",h(),Ie(),tx(e)}};var OU={},wU=new Set,AU=new Set,TU=new Set,EU=new Set,DU=new Set,MU=new Set,UU=new Set,NU=new Set,BU=new Set,LU=new Set;Object.freeze(OU);var q0={enqueueSetState:function(e,t,o){e=e._reactInternals;var i=pi(e),s=qs(i);s.payload=t,o!==void 0&&o!==null&&(TS(o),s.callback=o),t=$s(e,s,i),t!==null&&(rl(i,"this.setState()",e),Ln(t,e,i),Mm(t,e,i))},enqueueReplaceState:function(e,t,o){e=e._reactInternals;var i=pi(e),s=qs(i);s.tag=xU,s.payload=t,o!==void 0&&o!==null&&(TS(o),s.callback=o),t=$s(e,s,i),t!==null&&(rl(i,"this.replaceState()",e),Ln(t,e,i),Mm(t,e,i))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var o=pi(e),i=qs(o);i.tag=IU,t!==void 0&&t!==null&&(TS(t),i.callback=t),t=$s(e,i,o),t!==null&&(rl(o,"this.forceUpdate()",e),Ln(t,e,o),Mm(t,e,o))}},qd=null,$0=null,Y0=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."),Kn=!1,kU={},PU={},jU={},FU={},$d=!1,HU={},W0={},zU={},Z0={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null},VU=!1,GU=null;GU=new Set;var dI=!1,Ii=null,Ol=null,Xr=0,pI=new Map,XU={},Bh=0,K0=1,mI=2,To=!1,Jt=!1,wl=!1,J0=!1,qU=typeof WeakSet==="function"?WeakSet:Set,Eo=null,Yd=null,Wd=null,Al=!1,Lh=!1,hI=!1,Q0=!1,to=null,qr=!1,Da=null,po=!1,Xf=8192,rV={getCacheForType:function(e){var t=Cn(Qn),o=t.data.get(e);return o===void 0&&(o=e(),t.data.set(e,o)),o},cacheSignal:function(){return Cn(Qn).controller.signal},getOwner:function(){return gi}};if(typeof Symbol==="function"&&Symbol.for){var kh=Symbol.for;kh("selector.component"),kh("selector.has_pseudo_class"),kh("selector.role"),kh("selector.test_id"),kh("selector.text")}var iV=[],aV=typeof WeakMap==="function"?WeakMap:Map,Do=0,mo=2,vi=4,hs=0,Ph=1,qf=2,gI=3,bc=4,jh=6,$U=5,jt=Do,cn=null,St=null,ut=0,$r=0,bI=1,$f=2,Fh=3,YU=4,eR=5,Hh=6,xI=7,tR=8,Yf=9,Qt=$r,Ci=null,gs=!1,Zd=!1,nR=!1,Tl=0,wn=hs,xc=0,Ic=0,II=0,Yr=0,Wf=0,zh=null,Br=null,vI=!1,CI=0,WU=0,ZU=300,yI=1/0,KU=500,Vh=null,Pn=null,vc=null,SI=0,Gh=1,oR=2,JU=3,El=0,QU=1,eN=2,rR=3,iR=4,_I=5,An=0,Ma=null,Zf=null,Wr=0,aR=0,RI=-0,lR=null,tN=null,Kd=null,Jd=null,Qd=null,OI=null,yi=SI,sR=null,lV=50,Xh=0,wI=null,cR=!1,AI=!1,sV=50,Kf=0,qh=null,ep=!1,nN=!1,TI=null,oN=!1,rN=new Set,cV={},tp=null,np=null,fR=!1,uR=!1,EI=!1,dR=!1,Cc=0,pR={};(function(){for(var e=0;e<I0.length;e++){var t=I0[e],o=t.toLowerCase();t=t[0].toUpperCase()+t.slice(1),Ia(o,"on"+t)}Ia(LM,"onAnimationEnd"),Ia(kM,"onAnimationIteration"),Ia(PM,"onAnimationStart"),Ia("dblclick","onDoubleClick"),Ia("focusin","onFocus"),Ia("focusout","onBlur"),Ia(P9,"onTransitionRun"),Ia(j9,"onTransitionStart"),Ia(F9,"onTransitionCancel"),Ia(jM,"onTransitionEnd")})(),Zu("onMouseEnter",["mouseout","mouseover"]),Zu("onMouseLeave",["mouseout","mouseover"]),Zu("onPointerEnter",["pointerout","pointerover"]),Zu("onPointerLeave",["pointerout","pointerover"]),gf("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),gf("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),gf("onBeforeInput",["compositionend","keypress","textInput","paste"]),gf("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),gf("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),gf("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var $h="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(" "),mR=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat($h)),DI="_reactListening"+Math.random().toString(36).slice(2),iN=!1,aN=!1,MI=!1,lN=!1,UI=!1,NI=!1,sN=!1,BI={},fV=/\r\n?/g,uV=/\u0000|\uFFFD/g,Jf="http://www.w3.org/1999/xlink",hR="http://www.w3.org/XML/1998/namespace",dV={},pV="javascript:throw new Error('React form unexpectedly submitted.')",mV="suppressHydrationWarning",Qf="&",LI="/&",Yh="$",Wh="/$",yc="$?",eu="$~",op="$!",hV="html",gV="body",bV="head",gR="F!",cN="F",fN="loading",uN="style",bs=0,rp=1,kI=2,bR=null,xR=null,dN=!1,pN={dialog:!0,webview:!0},IR=null,Zh=void 0,vR=typeof setTimeout==="function"?setTimeout:void 0,xV=typeof clearTimeout==="function"?clearTimeout:void 0,tu=-1,mN=typeof Promise==="function"?Promise:void 0,hN=typeof requestAnimationFrame==="function"?requestAnimationFrame:vR,IV=typeof queueMicrotask==="function"?queueMicrotask:typeof mN<"u"?function(e){return mN.resolve(null).then(e).catch(U7)}:vR,vV=500;Mf.prototype.animate=function(e,t){return t=typeof t==="number"?{duration:t}:xt({},t),t.pseudoElement=this._selector,this._scope.animate(e,t)},Mf.prototype.getAnimations=function(){for(var e=this._scope,t=this._selector,o=e.getAnimations({subtree:!0}),i=[],s=0;s<o.length;s++){var c=o[s].effect;c!==null&&c.target===e&&c.pseudoElement===t&&i.push(o[s])}return i},Mf.prototype.getComputedStyle=function(){return getComputedStyle(this._scope,this._selector)},mi.prototype.addEventListener=function(e,t,o){var i=null,s=null;if(o!=null&&typeof o!=="boolean"&&(i=o.signal||null,i!==null&&i.aborted))return;this._eventListeners===null&&(this._eventListeners=[]);var c=this._eventListeners;if(pD(c,e,t,o)===-1){var d=this,m=t;o!=null&&typeof o!=="boolean"&&o.once===!0&&(m=function(g){d.removeEventListener(e,t,o),typeof t==="function"?t.call(this,g):t.handleEvent(g)}),i!==null&&(s=d.removeEventListener.bind(d,e,t,o),i.addEventListener("abort",s,{once:!0}),s=i.removeEventListener.bind(i,"abort",s)),i=gd(o),c.push({type:e,listener:t,optionsOrUseCapture:o,attachedListener:m,cleanup:s}),ie(this._fragmentFiber,J7,e,m,i)}this._eventListeners=c},mi.prototype.removeEventListener=function(e,t,o){var i=this._eventListeners;if(i!==null&&(t=pD(i,e,t,o),t!==-1)){var s=i[t];o=s.attachedListener;var c=s.cleanup;s=gd(s.optionsOrUseCapture),ie(this._fragmentFiber,Q7,e,o,s),i.splice(t,1),c!==null&&c()}},mi.prototype.dispatchEvent=function(e){var t=de(this._fragmentFiber);if(t===null)return!0;t=L(t);var o=this._eventListeners;if(o!==null&&0<o.length||!e.bubbles){var i=t.nodeType===9?t.createComment(""):document.createTextNode("");if(o)for(var s=0;s<o.length;s++){var c=o[s];i.addEventListener(c.type,c.attachedListener,gd(c.optionsOrUseCapture))}if(t.appendChild(i),e=i.dispatchEvent(e),o)for(s=0;s<o.length;s++)c=o[s],i.removeEventListener(c.type,c.attachedListener,gd(c.optionsOrUseCapture));return t.removeChild(i),e}return t.dispatchEvent(e)},mi.prototype.focus=function(e){re(this._fragmentFiber.child,!0,mD,e,void 0,void 0)},mi.prototype.focusLast=function(e){var t=[];re(this._fragmentFiber.child,!0,T_,t,void 0,void 0);for(var o=t.length-1;0<=o&&!mD(t[o],e);o--);},mi.prototype.blur=function(){var e=de(this._fragmentFiber);e!==null&&(e=L(e),e=Wm(e).activeElement,e!==null&&ie(this._fragmentFiber,ez,e))},mi.prototype.observeUsing=function(e){var t=!1,o=!1;ie(this._fragmentFiber,function(i){if(i.tag===6)t=!0;else return o=!0;return!1}),t&&!o&&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,tz,e)},mi.prototype.unobserveUsing=function(e){var t=this._observers;if(t!==null&&t.has(e)){t.delete(e),ie(this._fragmentFiber,nz,e);for(var o=t=0;o<Ua.length;o++){var i=Ua[o];i.fragmentInstance===this&&i.observer===e?e.unobserve(i.instance):Ua[t++]=i}Ua.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 Ua=[],CR=!1;mi.prototype.getClientRects=function(){var e=[];return ie(this._fragmentFiber,rz,e),e},mi.prototype.getRootNode=function(e){var t=de(this._fragmentFiber);return t===null?this:L(t).getRootNode(e)},mi.prototype.compareDocumentPosition=function(e){var t=de(this._fragmentFiber);if(t===null)return Node.DOCUMENT_POSITION_DISCONNECTED;var o=[];ie(this._fragmentFiber,T_,o);var i=L(t);if(o.length===0){if(t=i,J(this._fragmentFiber)){e:{for(o=this._fragmentFiber.return;o!==null;){if(o.tag===4){o=o.stateNode.containerInfo;break e}if(o.tag===3||o.tag===5||o.tag===27)break;o=o.return}o=null}o!=null&&(t=o)}o=this._fragmentFiber;var s=i=t.compareDocumentPosition(e);return t===e?s=Node.DOCUMENT_POSITION_CONTAINS:i&Node.DOCUMENT_POSITION_CONTAINED_BY&&(o=Ce(o)[1],o===null?s=Node.DOCUMENT_POSITION_PRECEDING:(e=L(o).compareDocumentPosition(e),s=e===0||e&Node.DOCUMENT_POSITION_FOLLOWING?Node.DOCUMENT_POSITION_FOLLOWING:Node.DOCUMENT_POSITION_PRECEDING)),s|=Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC}t=L(o[0]),s=L(o[o.length-1]);var c=J(this._fragmentFiber)?t.parentElement:i;if(c==null)return Node.DOCUMENT_POSITION_DISCONNECTED;i=c.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY,c=c.compareDocumentPosition(s)&Node.DOCUMENT_POSITION_CONTAINED_BY;var d=t.compareDocumentPosition(e),m=s.compareDocumentPosition(e),g=d&Node.DOCUMENT_POSITION_CONTAINED_BY||m&Node.DOCUMENT_POSITION_CONTAINED_BY;return m=i&&c&&d&Node.DOCUMENT_POSITION_FOLLOWING&&m&Node.DOCUMENT_POSITION_PRECEDING,t=i&&t===e||c&&s===e||g||m?Node.DOCUMENT_POSITION_CONTAINED_BY:!i&&t===e||!c&&s===e?Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC:d,t&Node.DOCUMENT_POSITION_DISCONNECTED||t&Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC||iz(t,this._fragmentFiber,o[0],o[o.length-1],e)?t:Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC},mi.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,T_,t);var o=e!==!1;if(t.length===0){var i=Ce(this._fragmentFiber);if(i=o?i[1]||i[0]||de(this._fragmentFiber):i[0]||i[1],i===null)return;if(i.tag===6){e=L(i),hD(e,o);return}if(i=L(i),i.nodeType!==9){if(i.nodeType===11){o="host"in i?i.host:null,o!==null?o.scrollIntoView(e):console.warn("You are attempting to scroll a FragmentInstance that is only mounted inside a detached DocumentFragment. No scroll was performed.");return}i.scrollIntoView(e)}}for(i=o?t.length-1:0;i!==(o?-1:t.length);){var s=t[i];s.tag===6?(s=L(s),hD(s,o)):L(s).scrollIntoView(e),i+=o?-1:1}};var yR=null,nu=0,Kh=1,gN=2,bN=3,Ki=4,Ji=new Map,xN=new Set,xs=Wt.d;Wt.d={f:function(){var e=xs.f(),t=pd();return e||t},r:function(e){var t=el(e);t!==null&&t.tag===5&&t.type==="form"?f2(t):xs.r(e)},D:function(e){xs.D(e),_D("dns-prefetch",e,null)},C:function(e,t){xs.C(e,t),_D("preconnect",e,t)},L:function(e,t,o){xs.L(e,t,o);var i=ip;if(i&&e&&t){var s='link[rel="preload"][as="'+Pi(t)+'"]';t==="image"?o&&o.imageSrcSet?(s+='[imagesrcset="'+Pi(o.imageSrcSet)+'"]',typeof o.imageSizes==="string"&&(s+='[imagesizes="'+Pi(o.imageSizes)+'"]')):s+='[href="'+Pi(e)+'"]':s+='[href="'+Pi(e)+'"]';var c=s;switch(t){case"style":c=bd(e);break;case"script":c=xd(e)}if(!(Ji.has(c)||(e=xt({rel:"preload",href:t==="image"&&o&&o.imageSrcSet?void 0:e,as:t},o),Ji.set(c,e),i.querySelector(s)!==null||t==="style"&&i.querySelector(Qm(c))||t==="script"&&i.querySelector(eh(c))))){var d=i.createElement("link");Po(d,"link",e),t==="style"&&(d[jx]=!0,d.onload=d.onerror=function(){vA(d)}),Ro(d),i.head.appendChild(d)}}},m:function(e,t){xs.m(e,t);var o=ip;if(o&&e){var i=t&&typeof t.as==="string"?t.as:"script",s='link[rel="modulepreload"][as="'+Pi(i)+'"][href="'+Pi(e)+'"]',c=s;switch(i){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":c=xd(e)}if(!Ji.has(c)&&(e=xt({rel:"modulepreload",href:e},t),Ji.set(c,e),o.querySelector(s)===null)){switch(i){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(o.querySelector(eh(c)))return}i=o.createElement("link"),Po(i,"link",e),Ro(i),o.head.appendChild(i)}}},X:function(e,t){xs.X(e,t);var o=ip;if(o&&e){var i=Wu(o).hoistableScripts,s=xd(e),c=i.get(s);c||(c=o.querySelector(eh(s)),c||(e=xt({src:e,async:!0},t),(t=Ji.get(s))&&L_(e,t),c=o.createElement("script"),Ro(c),Po(c,"link",e),o.head.appendChild(c)),c={type:"script",instance:c,count:1,state:null},i.set(s,c))}},S:function(e,t,o){xs.S(e,t,o);var i=ip;if(i&&e){var s=Wu(i).hoistableStyles,c=bd(e);t=t||"default";var d=s.get(c);if(!d){var m={loading:nu,preload:null};if(d=i.querySelector(Qm(c)))m.loading=Kh|Ki;else{e=xt({rel:"stylesheet",href:e,"data-precedence":t},o),(o=Ji.get(c))&&B_(e,o);var g=d=i.createElement("link");Ro(g),Po(g,"link",e),g._p=new Promise(function(C,T){g.onload=C,g.onerror=T}),g.addEventListener("load",function(){m.loading|=Kh}),g.addEventListener("error",function(){m.loading|=gN}),m.loading|=Ki,Ox(d,t,i)}d={type:"stylesheet",instance:d,count:1,state:m},s.set(c,d)}}},M:function(e,t){xs.M(e,t);var o=ip;if(o&&e){var i=Wu(o).hoistableScripts,s=xd(e),c=i.get(s);c||(c=o.querySelector(eh(s)),c||(e=xt({src:e,async:!0,type:"module"},t),(t=Ji.get(s))&&L_(e,t),c=o.createElement("script"),Ro(c),Po(c,"link",e),o.head.appendChild(c)),c={type:"script",instance:c,count:1,state:null},i.set(s,c))}}};var ip=typeof document>"u"?null:document,PI=null,CV=60000,yV=800,SV=500,jI=0,SR=null,FI=null,ou=Nz,ap={$$typeof:_a,Provider:null,Consumer:null,_currentValue:ou,_currentValue2:ou,_threadCount:0},IN="%c%s%c",vN="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",CN="",HI=" ",_V=Function.prototype.bind,yN=!1,SN=null,_N=null,RN=null,ON=null,wN=null,AN=null,TN=null,EN=null,DN=null,MN=null;SN=function(e,t,o,i){t=n(e,t),t!==null&&(o=r(t.memoizedState,o,0,i),t.memoizedState=o,t.baseState=o,e.memoizedProps=xt({},e.memoizedProps),o=nr(e,2),o!==null&&Ln(o,e,2))},_N=function(e,t,o){t=n(e,t),t!==null&&(o=f(t.memoizedState,o,0),t.memoizedState=o,t.baseState=o,e.memoizedProps=xt({},e.memoizedProps),o=nr(e,2),o!==null&&Ln(o,e,2))},RN=function(e,t,o,i){t=n(e,t),t!==null&&(o=a(t.memoizedState,o,i),t.memoizedState=o,t.baseState=o,e.memoizedProps=xt({},e.memoizedProps),o=nr(e,2),o!==null&&Ln(o,e,2))},ON=function(e,t,o){e.pendingProps=r(e.memoizedProps,t,0,o),e.alternate&&(e.alternate.pendingProps=e.pendingProps),t=nr(e,2),t!==null&&Ln(t,e,2)},wN=function(e,t){e.pendingProps=f(e.memoizedProps,t,0),e.alternate&&(e.alternate.pendingProps=e.pendingProps),t=nr(e,2),t!==null&&Ln(t,e,2)},AN=function(e,t,o){e.pendingProps=a(e.memoizedProps,t,o),e.alternate&&(e.alternate.pendingProps=e.pendingProps),t=nr(e,2),t!==null&&Ln(t,e,2)},TN=function(e){var t=nr(e,2);t!==null&&Ln(t,e,2)},EN=function(e){var t=Qo(),o=nr(e,t);o!==null&&Ln(o,e,t)},DN=function(e){p=e},MN=function(e){u=e};var lp=!0,zI=null,_R=!1,Sc=null,_c=null,Rc=null,Jh=new Map,Qh=new Map,Oc=[],RV="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(" "),VI=null;if(Ex.prototype.render=V_.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error("Cannot update an unmounted root.");var o=arguments;typeof o[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()."):D(o[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 o[1]<"u"&&console.error("You passed a second argument to root.render(...) but it only accepts one argument."),o=e;var i=t.current,s=pi(i);P_(i,s,o,t,null,null)},Ex.prototype.unmount=V_.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;(jt&(mo|vi))!==Do&&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."),P_(e.current,2,null,e,null,null),pd(),t[oc]=null}},Ex.prototype.unstable_scheduleHydration=function(e){if(e){var t=Fr();e={blockedOn:null,target:e,priority:t};for(var o=0;o<Oc.length&&t!==0&&t<Oc[o].priority;o++);Oc.splice(o,0,e),o===0&&HD(e)}},function(){var e=cp.version;if(e!=="19.3.0")throw Error(`Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:
|
|
227
|
+
- react: `+(e+`
|
|
228
|
+
- react-dom: 19.3.0
|
|
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"),Wt.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=G(t),e=e!==null?K(e):null,e=e===null?null:e.stateNode,e},!function(){var e={bundleType:1,version:"19.3.0",rendererPackageName:"react-dom",currentDispatcherRef:oe,reconcilerVersion:"19.3.0"};return e.overrideHookState=SN,e.overrideHookStateDeletePath=_N,e.overrideHookStateRenamePath=RN,e.overrideProps=ON,e.overridePropsDeletePath=wN,e.overridePropsRenamePath=AN,e.scheduleUpdate=TN,e.scheduleRetry=EN,e.setErrorHandler=DN,e.setSuspenseHandler=MN,e.scheduleRefresh=O,e.scheduleRoot=I,e.setRefreshHandler=A,e.getCurrentFiber=_z,Yn(e)}()&&Cl&&window.top===window.self&&(-1<navigator.userAgent.indexOf("Chrome")&&navigator.userAgent.indexOf("Edge")===-1||-1<navigator.userAgent.indexOf("Firefox"))){var UN=window.location.protocol;/^(https?|file):$/.test(UN)&&console.info("%cDownload the React DevTools for a better development experience: https://react.dev/link/react-devtools"+(UN==="file:"?`
|
|
230
|
+
You might need to use a local HTTP server (instead of file://): https://react.dev/link/react-devtools-faq`:""),"font-weight:bold")}LV.createRoot=function(e,t){if(!D(e))throw Error("Target container is not a DOM element.");XD(e);var o=!1,i="",s=x2,c=I2,d=v2;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===gl&&console.error(`You passed a JSX element to createRoot. You probably meant to call root.render instead. Example usage:
|
|
231
|
+
|
|
232
|
+
let root = createRoot(domContainer);
|
|
233
|
+
root.render(<App />);`),t.unstable_strictMode===!0&&(o=!0),t.identifierPrefix!==void 0&&(i=t.identifierPrefix),t.onUncaughtError!==void 0&&(s=t.onUncaughtError),t.onCaughtError!==void 0&&(c=t.onCaughtError),t.onRecoverableError!==void 0&&(d=t.onRecoverableError)),t=ND(e,1,!1,null,null,o,i,null,s,c,d,GD),e[oc]=t.current,v_(e),new V_(t)},LV.hydrateRoot=function(e,t,o){if(!D(e))throw Error("Target container is not a DOM element.");XD(e),t===void 0&&console.error("Must provide initial children as second argument to hydrateRoot. Example usage: hydrateRoot(domContainer, <App />)");var i=!1,s="",c=x2,d=I2,m=v2,g=null;return o!==null&&o!==void 0&&(o.unstable_strictMode===!0&&(i=!0),o.identifierPrefix!==void 0&&(s=o.identifierPrefix),o.onUncaughtError!==void 0&&(c=o.onUncaughtError),o.onCaughtError!==void 0&&(d=o.onCaughtError),o.onRecoverableError!==void 0&&(m=o.onRecoverableError),o.formState!==void 0&&(g=o.formState)),t=ND(e,1,!0,t,o!=null?o:null,i,s,g,c,d,m,GD),t.context=BD(null),o=t.current,i=pi(o),i=je(i),s=qs(i),s.callback=null,$s(o,s,i),rl(i,"hydrateRoot()",null),o=i,t.current.lanes=o,W(t,o),ml(t),e[oc]=t.current,v_(e),new Ex(t)},LV.version="19.3.0",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()});var jN=ge(function(kV,$I){$I.exports=w(PN())});var X=ge(function(PV){var iu=w(Oe());(function(){function n(B){if(B==null)return null;if(typeof B==="function")return B.$$typeof===Ce?null:B.displayName||B.name||null;if(typeof B==="string")return B;switch(B){case A:return"Fragment";case k:return"Profiler";case D:return"StrictMode";case G:return"Suspense";case K:return"SuspenseList";case de:return"Activity";case J: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 O:return"Portal";case M:return B.displayName||"Context";case z:return(B._context.displayName||"Context")+".Consumer";case V:var ce=B.render;return B=B.displayName,B||(B=ce.displayName||ce.name||"",B=B!==""?"ForwardRef("+B+")":"ForwardRef"),B;case ie:return ce=B.displayName||null,ce!==null?ce:n(B.type)||"Memo";case re:ce=B._payload,B=B._init;try{return n(B(ce))}catch(fe){}}return null}function r(B){return""+B}function a(B){try{r(B);var ce=!1}catch(be){ce=!0}if(ce){ce=console;var fe=ce.error,se=typeof Symbol==="function"&&Symbol.toStringTag&&B[Symbol.toStringTag]||B.constructor.name||"Object";return fe.call(ce,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",se),r(B)}}function l(B){if(B===A)return"<>";if(typeof B==="object"&&B!==null&&B.$$typeof===re)return"<...>";try{var ce=n(B);return ce?"<"+ce+">":"<...>"}catch(fe){return"<...>"}}function f(){var B=Q.A;return B===null?null:B.getOwner()}function u(){return Error("react-stack-top-frame")}function p(B){if(L.call(B,"key")){var ce=Object.getOwnPropertyDescriptor(B,"key").get;if(ce&&ce.isReactWarning)return!1}return B.key!==void 0}function h(B,ce){function fe(){Z||(Z=!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)",ce))}fe.isReactWarning=!0,Object.defineProperty(B,"key",{get:fe,configurable:!0})}function b(){var B=n(this.type);return ne[B]||(ne[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 x(B,ce,fe,se,be,De){var we=fe.ref;return B={$$typeof:I,type:B,key:ce,props:fe,_owner:se},(we!==void 0?we:null)!==null?Object.defineProperty(B,"ref",{enumerable:!1,get:b}):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:be}),Object.defineProperty(B,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:De}),Object.freeze&&(Object.freeze(B.props),Object.freeze(B)),B}function y(B,ce,fe,se,be,De){var we=ce.children;if(we!==void 0)if(se)if(Y(we)){for(se=0;se<we.length;se++)_(we[se]);Object.freeze&&Object.freeze(we)}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 _(we);if(L.call(ce,"key")){we=n(B);var Ze=Object.keys(ce).filter(function(Tt){return Tt!=="key"});se=0<Ze.length?"{key: someKey, "+Ze.join(": ..., ")+": ...}":"{key: someKey}",Me[we+se]||(Ze=0<Ze.length?"{"+Ze.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
|
|
234
|
+
let props = %s;
|
|
235
|
+
<%s {...props} />
|
|
236
|
+
React keys must be passed directly to JSX without using spread:
|
|
237
|
+
let props = %s;
|
|
238
|
+
<%s key={someKey} {...props} />`,se,we,Ze,we),Me[we+se]=!0)}if(we=null,fe!==void 0&&(a(fe),we=""+fe),p(ce)&&(a(ce.key),we=""+ce.key),"key"in ce){fe={};for(var ct in ce)ct!=="key"&&(fe[ct]=ce[ct])}else fe=ce;return we&&h(fe,typeof B==="function"?B.displayName||B.name||"Unknown":B),x(B,we,fe,f(),be,De)}function _(B){v(B)?B._store&&(B._store.validated=1):typeof B==="object"&&B!==null&&B.$$typeof===re&&(B._payload.status==="fulfilled"?v(B._payload.value)&&B._payload.value._store&&(B._payload.value._store.validated=1):B._store&&(B._store.validated=1))}function v(B){return typeof B==="object"&&B!==null&&B.$$typeof===I}var I=Symbol.for("react.transitional.element"),O=Symbol.for("react.portal"),A=Symbol.for("react.fragment"),D=Symbol.for("react.strict_mode"),k=Symbol.for("react.profiler"),z=Symbol.for("react.consumer"),M=Symbol.for("react.context"),V=Symbol.for("react.forward_ref"),G=Symbol.for("react.suspense"),K=Symbol.for("react.suspense_list"),ie=Symbol.for("react.memo"),re=Symbol.for("react.lazy"),de=Symbol.for("react.activity"),J=Symbol.for("react.view_transition"),Ce=Symbol.for("react.client.reference"),Q=iu.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,L=Object.prototype.hasOwnProperty,Y=Array.isArray,P=console.createTask?console.createTask:function(){return null};iu={react_stack_bottom_frame:function(B){return B()}};var Z,ne={},he=iu.react_stack_bottom_frame.bind(iu,u)(),le=P(l(u)),Me={};PV.Fragment=A,PV.jsx=function(B,ce,fe){var se=1e4>Q.recentlyCreatedOwnerStacks++;if(se){var be=Error.stackTraceLimit;Error.stackTraceLimit=10;var De=Error("react-stack-top-frame");Error.stackTraceLimit=be}else De=he;return y(B,ce,fe,!1,De,se?P(l(B)):le)},PV.jsxs=function(B,ce,fe){var se=1e4>Q.recentlyCreatedOwnerStacks++;if(se){var be=Error.stackTraceLimit;Error.stackTraceLimit=10;var De=Error("react-stack-top-frame");Error.stackTraceLimit=be}else De=he;return y(B,ce,fe,!0,De,se?P(l(B)):le)}})()});var r3=ge(function(URe,o3){function L$(){this.__data__=[],this.size=0}o3.exports=L$});var rb=ge(function(NRe,i3){function k$(n,r){return n===r||n!==n&&r!==r}i3.exports=k$});var ib=ge(function(BRe,a3){var P$=rb();function j$(n,r){var a=n.length;while(a--)if(P$(n[a][0],r))return a;return-1}a3.exports=j$});var s3=ge(function(LRe,l3){var F$=ib(),H$=Array.prototype,z$=H$.splice;function V$(n){var r=this.__data__,a=F$(r,n);if(a<0)return!1;var l=r.length-1;if(a==l)r.pop();else z$.call(r,a,1);return--this.size,!0}l3.exports=V$});var f3=ge(function(kRe,c3){var G$=ib();function X$(n){var r=this.__data__,a=G$(r,n);return a<0?void 0:r[a][1]}c3.exports=X$});var d3=ge(function(PRe,u3){var q$=ib();function $$(n){return q$(this.__data__,n)>-1}u3.exports=$$});var m3=ge(function(jRe,p3){var Y$=ib();function W$(n,r){var a=this.__data__,l=Y$(a,n);if(l<0)++this.size,a.push([n,r]);else a[l][1]=r;return this}p3.exports=W$});var ab=ge(function(FRe,h3){var Z$=r3(),K$=s3(),J$=f3(),Q$=d3(),eY=m3();function rm(n){var r=-1,a=n==null?0:n.length;this.clear();while(++r<a){var l=n[r];this.set(l[0],l[1])}}rm.prototype.clear=Z$;rm.prototype.delete=K$;rm.prototype.get=J$;rm.prototype.has=Q$;rm.prototype.set=eY;h3.exports=rm});var b3=ge(function(HRe,g3){var tY=ab();function nY(){this.__data__=new tY,this.size=0}g3.exports=nY});var I3=ge(function(zRe,x3){function oY(n){var r=this.__data__,a=r.delete(n);return this.size=r.size,a}x3.exports=oY});var C3=ge(function(VRe,v3){function rY(n){return this.__data__.get(n)}v3.exports=rY});var S3=ge(function(GRe,y3){function iY(n){return this.__data__.has(n)}y3.exports=iY});var Iw=ge(function(XRe,_3){var aY=typeof global=="object"&&global&&global.Object===Object&&global;_3.exports=aY});var Vu=ge(function(qRe,R3){var lY=Iw(),sY=typeof self=="object"&&self&&self.Object===Object&&self,cY=lY||sY||Function("return this")();R3.exports=cY});var vw=ge(function($Re,O3){var fY=Vu(),uY=fY.Symbol;O3.exports=uY});var E3=ge(function(YRe,T3){var w3=vw(),A3=Object.prototype,{hasOwnProperty:dY,toString:pY}=A3,lb=w3?w3.toStringTag:void 0;function mY(n){var r=dY.call(n,lb),a=n[lb];try{n[lb]=void 0;var l=!0}catch(u){}var f=pY.call(n);if(l)if(r)n[lb]=a;else delete n[lb];return f}T3.exports=mY});var M3=ge(function(WRe,D3){var hY=Object.prototype,gY=hY.toString;function bY(n){return gY.call(n)}D3.exports=bY});var sb=ge(function(ZRe,B3){var U3=vw(),xY=E3(),IY=M3(),vY="[object Null]",CY="[object Undefined]",N3=U3?U3.toStringTag:void 0;function yY(n){if(n==null)return n===void 0?CY:vY;return N3&&N3 in Object(n)?xY(n):IY(n)}B3.exports=yY});var rf=ge(function(KRe,L3){function SY(n){var r=typeof n;return n!=null&&(r=="object"||r=="function")}L3.exports=SY});var YC=ge(function(JRe,k3){var _Y=sb(),RY=rf(),OY="[object AsyncFunction]",wY="[object Function]",AY="[object GeneratorFunction]",TY="[object Proxy]";function EY(n){if(!RY(n))return!1;var r=_Y(n);return r==wY||r==AY||r==OY||r==TY}k3.exports=EY});var j3=ge(function(QRe,P3){var DY=Vu(),MY=DY["__core-js_shared__"];P3.exports=MY});var z3=ge(function(eOe,H3){var Cw=j3(),F3=function(){var n=/[^.]+$/.exec(Cw&&Cw.keys&&Cw.keys.IE_PROTO||"");return n?"Symbol(src)_1."+n:""}();function UY(n){return!!F3&&F3 in n}H3.exports=UY});var G3=ge(function(tOe,V3){var NY=Function.prototype,BY=NY.toString;function LY(n){if(n!=null){try{return BY.call(n)}catch(r){}try{return n+""}catch(r){}}return""}V3.exports=LY});var q3=ge(function(nOe,X3){var kY=YC(),PY=z3(),jY=rf(),FY=G3(),HY=/[\\^$.*+?()[\]{}|]/g,zY=/^\[object .+?Constructor\]$/,VY=Function.prototype,GY=Object.prototype,XY=VY.toString,qY=GY.hasOwnProperty,$Y=RegExp("^"+XY.call(qY).replace(HY,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function YY(n){if(!jY(n)||PY(n))return!1;var r=kY(n)?$Y:zY;return r.test(FY(n))}X3.exports=YY});var Y3=ge(function(oOe,$3){function WY(n,r){return n==null?void 0:n[r]}$3.exports=WY});var WC=ge(function(rOe,W3){var ZY=q3(),KY=Y3();function JY(n,r){var a=KY(n,r);return ZY(a)?a:void 0}W3.exports=JY});var yw=ge(function(iOe,Z3){var QY=WC(),eW=Vu(),tW=QY(eW,"Map");Z3.exports=tW});var cb=ge(function(aOe,K3){var nW=WC(),oW=nW(Object,"create");K3.exports=oW});var eP=ge(function(lOe,Q3){var J3=cb();function rW(){this.__data__=J3?J3(null):{},this.size=0}Q3.exports=rW});var nP=ge(function(sOe,tP){function iW(n){var r=this.has(n)&&delete this.__data__[n];return this.size-=r?1:0,r}tP.exports=iW});var rP=ge(function(cOe,oP){var aW=cb(),lW="__lodash_hash_undefined__",sW=Object.prototype,cW=sW.hasOwnProperty;function fW(n){var r=this.__data__;if(aW){var a=r[n];return a===lW?void 0:a}return cW.call(r,n)?r[n]:void 0}oP.exports=fW});var aP=ge(function(fOe,iP){var uW=cb(),dW=Object.prototype,pW=dW.hasOwnProperty;function mW(n){var r=this.__data__;return uW?r[n]!==void 0:pW.call(r,n)}iP.exports=mW});var sP=ge(function(uOe,lP){var hW=cb(),gW="__lodash_hash_undefined__";function bW(n,r){var a=this.__data__;return this.size+=this.has(n)?0:1,a[n]=hW&&r===void 0?gW:r,this}lP.exports=bW});var fP=ge(function(dOe,cP){var xW=eP(),IW=nP(),vW=rP(),CW=aP(),yW=sP();function im(n){var r=-1,a=n==null?0:n.length;this.clear();while(++r<a){var l=n[r];this.set(l[0],l[1])}}im.prototype.clear=xW;im.prototype.delete=IW;im.prototype.get=vW;im.prototype.has=CW;im.prototype.set=yW;cP.exports=im});var pP=ge(function(pOe,dP){var uP=fP(),SW=ab(),_W=yw();function RW(){this.size=0,this.__data__={hash:new uP,map:new(_W||SW),string:new uP}}dP.exports=RW});var hP=ge(function(mOe,mP){function OW(n){var r=typeof n;return r=="string"||r=="number"||r=="symbol"||r=="boolean"?n!=="__proto__":n===null}mP.exports=OW});var fb=ge(function(hOe,gP){var wW=hP();function AW(n,r){var a=n.__data__;return wW(r)?a[typeof r=="string"?"string":"hash"]:a.map}gP.exports=AW});var xP=ge(function(gOe,bP){var TW=fb();function EW(n){var r=TW(this,n).delete(n);return this.size-=r?1:0,r}bP.exports=EW});var vP=ge(function(bOe,IP){var DW=fb();function MW(n){return DW(this,n).get(n)}IP.exports=MW});var yP=ge(function(xOe,CP){var UW=fb();function NW(n){return UW(this,n).has(n)}CP.exports=NW});var _P=ge(function(IOe,SP){var BW=fb();function LW(n,r){var a=BW(this,n),l=a.size;return a.set(n,r),this.size+=a.size==l?0:1,this}SP.exports=LW});var OP=ge(function(vOe,RP){var kW=pP(),PW=xP(),jW=vP(),FW=yP(),HW=_P();function am(n){var r=-1,a=n==null?0:n.length;this.clear();while(++r<a){var l=n[r];this.set(l[0],l[1])}}am.prototype.clear=kW;am.prototype.delete=PW;am.prototype.get=jW;am.prototype.has=FW;am.prototype.set=HW;RP.exports=am});var AP=ge(function(COe,wP){var zW=ab(),VW=yw(),GW=OP(),XW=200;function qW(n,r){var a=this.__data__;if(a instanceof zW){var l=a.__data__;if(!VW||l.length<XW-1)return l.push([n,r]),this.size=++a.size,this;a=this.__data__=new GW(l)}return a.set(n,r),this.size=a.size,this}wP.exports=qW});var EP=ge(function(yOe,TP){var $W=ab(),YW=b3(),WW=I3(),ZW=C3(),KW=S3(),JW=AP();function lm(n){var r=this.__data__=new $W(n);this.size=r.size}lm.prototype.clear=YW;lm.prototype.delete=WW;lm.prototype.get=ZW;lm.prototype.has=KW;lm.prototype.set=JW;TP.exports=lm});var Sw=ge(function(SOe,DP){var QW=WC(),eZ=function(){try{var n=QW(Object,"defineProperty");return n({},"",{}),n}catch(r){}}();DP.exports=eZ});var ZC=ge(function(_Oe,UP){var MP=Sw();function tZ(n,r,a){if(r=="__proto__"&&MP)MP(n,r,{configurable:!0,enumerable:!0,value:a,writable:!0});else n[r]=a}UP.exports=tZ});var _w=ge(function(ROe,NP){var nZ=ZC(),oZ=rb();function rZ(n,r,a){if(a!==void 0&&!oZ(n[r],a)||a===void 0&&!(r in n))nZ(n,r,a)}NP.exports=rZ});var LP=ge(function(OOe,BP){function iZ(n){return function(r,a,l){var f=-1,u=Object(r),p=l(r),h=p.length;while(h--){var b=p[n?h:++f];if(a(u[b],b,u)===!1)break}return r}}BP.exports=iZ});var PP=ge(function(wOe,kP){var aZ=LP(),lZ=aZ();kP.exports=lZ});var VP=ge(function(KC,sm){var sZ=Vu(),zP=typeof KC=="object"&&KC&&!KC.nodeType&&KC,jP=zP&&typeof sm=="object"&&sm&&!sm.nodeType&&sm,cZ=jP&&jP.exports===zP,FP=cZ?sZ.Buffer:void 0,HP=FP?FP.allocUnsafe:void 0;function fZ(n,r){if(r)return n.slice();var a=n.length,l=HP?HP(a):new n.constructor(a);return n.copy(l),l}sm.exports=fZ});var XP=ge(function(TOe,GP){var uZ=Vu(),dZ=uZ.Uint8Array;GP.exports=dZ});var YP=ge(function(EOe,$P){var qP=XP();function pZ(n){var r=new n.constructor(n.byteLength);return new qP(r).set(new qP(n)),r}$P.exports=pZ});var ZP=ge(function(DOe,WP){var mZ=YP();function hZ(n,r){var a=r?mZ(n.buffer):n.buffer;return new n.constructor(a,n.byteOffset,n.length)}WP.exports=hZ});var JP=ge(function(MOe,KP){function gZ(n,r){var a=-1,l=n.length;r||(r=Array(l));while(++a<l)r[a]=n[a];return r}KP.exports=gZ});var t5=ge(function(UOe,e5){var bZ=rf(),QP=Object.create,xZ=function(){function n(){}return function(r){if(!bZ(r))return{};if(QP)return QP(r);n.prototype=r;var a=new n;return n.prototype=void 0,a}}();e5.exports=xZ});var o5=ge(function(NOe,n5){function IZ(n,r){return function(a){return n(r(a))}}n5.exports=IZ});var Rw=ge(function(BOe,r5){var vZ=o5(),CZ=vZ(Object.getPrototypeOf,Object);r5.exports=CZ});var Ow=ge(function(LOe,i5){var yZ=Object.prototype;function SZ(n){var r=n&&n.constructor,a=typeof r=="function"&&r.prototype||yZ;return n===a}i5.exports=SZ});var l5=ge(function(kOe,a5){var _Z=t5(),RZ=Rw(),OZ=Ow();function wZ(n){return typeof n.constructor=="function"&&!OZ(n)?_Z(RZ(n)):{}}a5.exports=wZ});var cm=ge(function(POe,s5){function AZ(n){return n!=null&&typeof n=="object"}s5.exports=AZ});var f5=ge(function(jOe,c5){var TZ=sb(),EZ=cm(),DZ="[object Arguments]";function MZ(n){return EZ(n)&&TZ(n)==DZ}c5.exports=MZ});var ww=ge(function(FOe,p5){var u5=f5(),UZ=cm(),d5=Object.prototype,{hasOwnProperty:NZ,propertyIsEnumerable:BZ}=d5,LZ=u5(function(){return arguments}())?u5:function(n){return UZ(n)&&NZ.call(n,"callee")&&!BZ.call(n,"callee")};p5.exports=LZ});var Aw=ge(function(HOe,m5){var kZ=Array.isArray;m5.exports=kZ});var Tw=ge(function(zOe,h5){var PZ=9007199254740991;function jZ(n){return typeof n=="number"&&n>-1&&n%1==0&&n<=PZ}h5.exports=jZ});var JC=ge(function(VOe,g5){var FZ=YC(),HZ=Tw();function zZ(n){return n!=null&&HZ(n.length)&&!FZ(n)}g5.exports=zZ});var x5=ge(function(GOe,b5){var VZ=JC(),GZ=cm();function XZ(n){return GZ(n)&&VZ(n)}b5.exports=XZ});var v5=ge(function(XOe,I5){function qZ(){return!1}I5.exports=qZ});var Ew=ge(function(QC,fm){var $Z=Vu(),YZ=v5(),S5=typeof QC=="object"&&QC&&!QC.nodeType&&QC,C5=S5&&typeof fm=="object"&&fm&&!fm.nodeType&&fm,WZ=C5&&C5.exports===S5,y5=WZ?$Z.Buffer:void 0,ZZ=y5?y5.isBuffer:void 0,KZ=ZZ||YZ;fm.exports=KZ});var O5=ge(function($Oe,R5){var JZ=sb(),QZ=Rw(),eK=cm(),tK="[object Object]",nK=Function.prototype,oK=Object.prototype,_5=nK.toString,rK=oK.hasOwnProperty,iK=_5.call(Object);function aK(n){if(!eK(n)||JZ(n)!=tK)return!1;var r=QZ(n);if(r===null)return!0;var a=rK.call(r,"constructor")&&r.constructor;return typeof a=="function"&&a instanceof a&&_5.call(a)==iK}R5.exports=aK});var A5=ge(function(YOe,w5){var lK=sb(),sK=Tw(),cK=cm(),fK="[object Arguments]",uK="[object Array]",dK="[object Boolean]",pK="[object Date]",mK="[object Error]",hK="[object Function]",gK="[object Map]",bK="[object Number]",xK="[object Object]",IK="[object RegExp]",vK="[object Set]",CK="[object String]",yK="[object WeakMap]",SK="[object ArrayBuffer]",_K="[object DataView]",RK="[object Float32Array]",OK="[object Float64Array]",wK="[object Int8Array]",AK="[object Int16Array]",TK="[object Int32Array]",EK="[object Uint8Array]",DK="[object Uint8ClampedArray]",MK="[object Uint16Array]",UK="[object Uint32Array]",_n={};_n[RK]=_n[OK]=_n[wK]=_n[AK]=_n[TK]=_n[EK]=_n[DK]=_n[MK]=_n[UK]=!0;_n[fK]=_n[uK]=_n[SK]=_n[dK]=_n[_K]=_n[pK]=_n[mK]=_n[hK]=_n[gK]=_n[bK]=_n[xK]=_n[IK]=_n[vK]=_n[CK]=_n[yK]=!1;function NK(n){return cK(n)&&sK(n.length)&&!!_n[lK(n)]}w5.exports=NK});var E5=ge(function(WOe,T5){function BK(n){return function(r){return n(r)}}T5.exports=BK});var M5=ge(function(ey,um){var LK=Iw(),D5=typeof ey=="object"&&ey&&!ey.nodeType&&ey,ub=D5&&typeof um=="object"&&um&&!um.nodeType&&um,kK=ub&&ub.exports===D5,Dw=kK&&LK.process,PK=function(){try{var n=ub&&ub.require&&ub.require("util").types;if(n)return n;return Dw&&Dw.binding&&Dw.binding("util")}catch(r){}}();um.exports=PK});var Mw=ge(function(KOe,B5){var jK=A5(),FK=E5(),U5=M5(),N5=U5&&U5.isTypedArray,HK=N5?FK(N5):jK;B5.exports=HK});var Uw=ge(function(JOe,L5){function zK(n,r){if(r==="constructor"&&typeof n[r]==="function")return;if(r=="__proto__")return;return n[r]}L5.exports=zK});var P5=ge(function(QOe,k5){var VK=ZC(),GK=rb(),XK=Object.prototype,qK=XK.hasOwnProperty;function $K(n,r,a){var l=n[r];if(!(qK.call(n,r)&&GK(l,a))||a===void 0&&!(r in n))VK(n,r,a)}k5.exports=$K});var F5=ge(function(e1e,j5){var YK=P5(),WK=ZC();function ZK(n,r,a,l){var f=!a;a||(a={});var u=-1,p=r.length;while(++u<p){var h=r[u],b=l?l(a[h],n[h],h,a,n):void 0;if(b===void 0)b=n[h];if(f)WK(a,h,b);else YK(a,h,b)}return a}j5.exports=ZK});var z5=ge(function(t1e,H5){function KK(n,r){var a=-1,l=Array(n);while(++a<n)l[a]=r(a);return l}H5.exports=KK});var Nw=ge(function(n1e,V5){var JK=9007199254740991,QK=/^(?:0|[1-9]\d*)$/;function eJ(n,r){var a=typeof n;return r=r==null?JK:r,!!r&&(a=="number"||a!="symbol"&&QK.test(n))&&(n>-1&&n%1==0&&n<r)}V5.exports=eJ});var X5=ge(function(o1e,G5){var tJ=z5(),nJ=ww(),oJ=Aw(),rJ=Ew(),iJ=Nw(),aJ=Mw(),lJ=Object.prototype,sJ=lJ.hasOwnProperty;function cJ(n,r){var a=oJ(n),l=!a&&nJ(n),f=!a&&!l&&rJ(n),u=!a&&!l&&!f&&aJ(n),p=a||l||f||u,h=p?tJ(n.length,String):[],b=h.length;for(var x in n)if((r||sJ.call(n,x))&&!(p&&(x=="length"||f&&(x=="offset"||x=="parent")||u&&(x=="buffer"||x=="byteLength"||x=="byteOffset")||iJ(x,b))))h.push(x);return h}G5.exports=cJ});var $5=ge(function(r1e,q5){function fJ(n){var r=[];if(n!=null)for(var a in Object(n))r.push(a);return r}q5.exports=fJ});var W5=ge(function(i1e,Y5){var uJ=rf(),dJ=Ow(),pJ=$5(),mJ=Object.prototype,hJ=mJ.hasOwnProperty;function gJ(n){if(!uJ(n))return pJ(n);var r=dJ(n),a=[];for(var l in n)if(!(l=="constructor"&&(r||!hJ.call(n,l))))a.push(l);return a}Y5.exports=gJ});var Bw=ge(function(a1e,Z5){var bJ=X5(),xJ=W5(),IJ=JC();function vJ(n){return IJ(n)?bJ(n,!0):xJ(n)}Z5.exports=vJ});var J5=ge(function(l1e,K5){var CJ=F5(),yJ=Bw();function SJ(n){return CJ(n,yJ(n))}K5.exports=SJ});var rj=ge(function(s1e,oj){var Q5=_w(),_J=VP(),RJ=ZP(),OJ=JP(),wJ=l5(),ej=ww(),tj=Aw(),AJ=x5(),TJ=Ew(),EJ=YC(),DJ=rf(),MJ=O5(),UJ=Mw(),nj=Uw(),NJ=J5();function BJ(n,r,a,l,f,u,p){var h=nj(n,a),b=nj(r,a),x=p.get(b);if(x){Q5(n,a,x);return}var y=u?u(h,b,a+"",n,r,p):void 0,_=y===void 0;if(_){var v=tj(b),I=!v&&TJ(b),O=!v&&!I&&UJ(b);if(y=b,v||I||O)if(tj(h))y=h;else if(AJ(h))y=OJ(h);else if(I)_=!1,y=_J(b,!0);else if(O)_=!1,y=RJ(b,!0);else y=[];else if(MJ(b)||ej(b)){if(y=h,ej(h))y=NJ(h);else if(!DJ(h)||EJ(h))y=wJ(b)}else _=!1}if(_)p.set(b,y),f(y,b,l,u,p),p.delete(b);Q5(n,a,y)}oj.exports=BJ});var lj=ge(function(c1e,aj){var LJ=EP(),kJ=_w(),PJ=PP(),jJ=rj(),FJ=rf(),HJ=Bw(),zJ=Uw();function ij(n,r,a,l,f){if(n===r)return;PJ(r,function(u,p){if(f||(f=new LJ),FJ(u))jJ(n,r,p,a,ij,l,f);else{var h=l?l(zJ(n,p),u,p+"",n,r,f):void 0;if(h===void 0)h=u;kJ(n,p,h)}},HJ)}aj.exports=ij});var Lw=ge(function(f1e,sj){function VJ(n){return n}sj.exports=VJ});var fj=ge(function(u1e,cj){function GJ(n,r,a){switch(a.length){case 0:return n.call(r);case 1:return n.call(r,a[0]);case 2:return n.call(r,a[0],a[1]);case 3:return n.call(r,a[0],a[1],a[2])}return n.apply(r,a)}cj.exports=GJ});var pj=ge(function(d1e,dj){var XJ=fj(),uj=Math.max;function qJ(n,r,a){return r=uj(r===void 0?n.length-1:r,0),function(){var l=arguments,f=-1,u=uj(l.length-r,0),p=Array(u);while(++f<u)p[f]=l[r+f];f=-1;var h=Array(r+1);while(++f<r)h[f]=l[f];return h[r]=a(p),XJ(n,this,h)}}dj.exports=qJ});var hj=ge(function(p1e,mj){function $J(n){return function(){return n}}mj.exports=$J});var xj=ge(function(m1e,bj){var YJ=hj(),gj=Sw(),WJ=Lw(),ZJ=!gj?WJ:function(n,r){return gj(n,"toString",{configurable:!0,enumerable:!1,value:YJ(r),writable:!0})};bj.exports=ZJ});var vj=ge(function(h1e,Ij){var KJ=800,JJ=16,QJ=Date.now;function eQ(n){var r=0,a=0;return function(){var l=QJ(),f=JJ-(l-a);if(a=l,f>0){if(++r>=KJ)return arguments[0]}else r=0;return n.apply(void 0,arguments)}}Ij.exports=eQ});var yj=ge(function(g1e,Cj){var tQ=xj(),nQ=vj(),oQ=nQ(tQ);Cj.exports=oQ});var _j=ge(function(b1e,Sj){var rQ=Lw(),iQ=pj(),aQ=yj();function lQ(n,r){return aQ(iQ(n,r,rQ),n+"")}Sj.exports=lQ});var Oj=ge(function(x1e,Rj){var sQ=rb(),cQ=JC(),fQ=Nw(),uQ=rf();function dQ(n,r,a){if(!uQ(a))return!1;var l=typeof r;if(l=="number"?cQ(a)&&fQ(r,a.length):l=="string"&&(r in a))return sQ(a[r],n);return!1}Rj.exports=dQ});var Aj=ge(function(I1e,wj){var pQ=_j(),mQ=Oj();function hQ(n){return pQ(function(r,a){var l=-1,f=a.length,u=f>1?a[f-1]:void 0,p=f>2?a[2]:void 0;if(u=n.length>3&&typeof u=="function"?(f--,u):void 0,p&&mQ(a[0],a[1],p))u=f<3?void 0:u,f=1;r=Object(r);while(++l<f){var h=a[l];if(h)n(r,h,l,u)}return r})}wj.exports=hQ});var Ej=ge(function(v1e,Tj){var gQ=lj(),bQ=Aj(),xQ=bQ(function(n,r,a,l){gQ(n,r,a,l)});Tj.exports=xQ});var hH=w(jN(),1);var vy=w(Oe(),1);function E(n,r){var a={};for(var l in n)if(Object.prototype.hasOwnProperty.call(n,l)&&r.indexOf(l)<0)a[l]=n[l];if(n!=null&&typeof Object.getOwnPropertySymbols==="function"){for(var f=0,l=Object.getOwnPropertySymbols(n);f<l.length;f++)if(r.indexOf(l[f])<0&&Object.prototype.propertyIsEnumerable.call(n,l[f]))a[l[f]]=n[l[f]]}return a}function S(...n){let r=[],a={}.hasOwnProperty;return n.filter(Boolean).forEach((l)=>{let f=typeof l;if(f==="string"||f==="number")r.push(l);else if(Array.isArray(l)&&l.length){let u=S(...l);if(u)r.push(u)}else if(f==="object"){for(let u in l)if(a.call(l,u)&&l[u])r.push(u)}}),r.join(" ")}var jn={content:"pf-v6-c-content",contentA:"pf-v6-c-content--a",contentBlockquote:"pf-v6-c-content--blockquote",contentDd:"pf-v6-c-content--dd",contentDl:"pf-v6-c-content--dl",contentDt:"pf-v6-c-content--dt",contentH1:"pf-v6-c-content--h1",contentH2:"pf-v6-c-content--h2",contentH3:"pf-v6-c-content--h3",contentH4:"pf-v6-c-content--h4",contentH5:"pf-v6-c-content--h5",contentH6:"pf-v6-c-content--h6",contentHr:"pf-v6-c-content--hr",contentLi:"pf-v6-c-content--li",contentOl:"pf-v6-c-content--ol",contentP:"pf-v6-c-content--p",contentPre:"pf-v6-c-content--pre",contentSmall:"pf-v6-c-content--small",contentTable:"pf-v6-c-content--table",contentUl:"pf-v6-c-content--ul",modifiers:{editorial:"pf-m-editorial",visited:"pf-m-visited",pageTitle:"pf-m-page-title",plain:"pf-m-plain"}};var FN=w(X()),YI=w(Oe()),HN=YI.createContext({hasAnimations:!1}),jV=({config:n,children:r})=>FN.jsx(HN.Provider,{value:n,children:r}),FV=()=>{let n=YI.useContext(HN);if(n===void 0)return{hasAnimations:!1};return n},zN=(n)=>{var r;let{hasAnimations:a}=FV();return(r=n!==null&&n!==void 0?n:a)!==null&&r!==void 0?r:!1};jV.displayName="AnimationsProvider";var HV={name:"--pf-t--global--breakpoint--sm",value:"36rem",var:"var(--pf-t--global--breakpoint--sm)"},VN=HV;var zV={name:"--pf-t--global--breakpoint--md",value:"48rem",var:"var(--pf-t--global--breakpoint--md)"},WI=zV;var VV={name:"--pf-t--global--breakpoint--lg",value:"62rem",var:"var(--pf-t--global--breakpoint--lg)"},ZI=VV;var GV={name:"--pf-t--global--breakpoint--xl",value:"75rem",var:"var(--pf-t--global--breakpoint--xl)"},fp=GV;var XV={name:"--pf-t--global--breakpoint--2xl",value:"90.625rem",var:"var(--pf-t--global--breakpoint--2xl)"},KI=XV;var qV={name:"--pf-t--global--breakpoint--height--sm",value:"0rem",var:"var(--pf-t--global--breakpoint--height--sm)"},GN=qV;var $V={name:"--pf-t--global--breakpoint--height--md",value:"40rem",var:"var(--pf-t--global--breakpoint--height--md)"},XN=$V;var YV={name:"--pf-t--global--breakpoint--height--lg",value:"48rem",var:"var(--pf-t--global--breakpoint--height--lg)"},qN=YV;var WV={name:"--pf-t--global--breakpoint--height--xl",value:"60rem",var:"var(--pf-t--global--breakpoint--height--xl)"},$N=WV;var ZV={name:"--pf-t--global--breakpoint--height--2xl",value:"80rem",var:"var(--pf-t--global--breakpoint--height--2xl)"},YN=ZV;var vs=w(X(),1),ZN=w(Oe(),1),KV=0;function KN(n){return n&&Array.isArray(n)?n.map((r,a)=>vs.jsx("path",{className:r.className,d:r.path},`${r.path}-${a}`)):vs.jsx("path",{d:n})}var WN=(n,r)=>{let{xOffset:a,yOffset:l,width:f,height:u,svgPathData:p,svgClassName:h}=n!==null&&n!==void 0?n:{},y=[a!==null&&a!==void 0?a:0,l!==null&&l!==void 0?l:0,f,u].join(" "),_=[];if(h)_.push(h);if(r)_.push(r);return vs.jsx("svg",{viewBox:y,className:_.join(" "),children:KN(p)})};function qe({name:n,icon:r,rhUiIcon:a=null}){var l;if(r==null)console.warn(`@patternfly/react-icons: createIconBase is missing an \`icon\` definition (name: ${n!==null&&n!==void 0?n:"unknown"}).`);return l=class extends ZN.Component{constructor(){super(...arguments);this.id=`icon-title-${KV++}`}render(){let u=this.props,{title:p,className:h,set:b,noDefaultStyle:x}=u,y=E(u,["title","className","set","noDefaultStyle"]),_=Boolean(p),v=["pf-v6-svg"];if(h)v.push(h);if(b==="rh-ui"&&a===null)console.warn(`Set "rh-ui" was provided for ${n}, but no rh-ui icon data exists for this icon. The default icon will be rendered.`);if(b===void 0&&a===null||b!==void 0){let I=b!==void 0&&b==="rh-ui"&&a!==null?a:r,{xOffset:O,yOffset:A,width:D,height:k,svgPathData:z,svgClassName:M}=I!==null&&I!==void 0?I:{},K=[O!==null&&O!==void 0?O:0,A!==null&&A!==void 0?A:0,D,k].join(" ");if(M&&!x)v.push(M);return vs.jsxs("svg",Object.assign({className:v.join(" "),fill:"currentColor",viewBox:K,"aria-labelledby":_?this.id:null,"aria-hidden":_?null:!0,role:"img",width:"1em",height:"1em"},y,{children:[_&&vs.jsx("title",{id:this.id,children:p}),KN(z)]}))}return vs.jsxs("svg",Object.assign({className:v.join(" "),fill:"currentColor","aria-labelledby":_?this.id:null,"aria-hidden":_?null:!0,role:"img",width:"1em",height:"1em"},y,{children:[_&&vs.jsx("title",{id:this.id,children:p}),r&&WN(r,"pf-v6-icon-default"),a&&WN(a,"pf-v6-icon-rh-ui")]}))}},l.displayName=n,l.defaultProps={noDefaultStyle:!1},l}var JV={name:"RhUiCheckCircleFillIcon",icon:{xOffset:0,yOffset:0,width:32,height:32,svgPathData:"M16 1C7.729 1 1 7.729 1 16s6.729 15 15 15 15-6.729 15-15S24.271 1 16 1Zm7.795 11.795-8.646 8.646c-.317.317-.733.475-1.149.475s-.832-.158-1.149-.475l-4.646-4.646a1.126 1.126 0 0 1 1.591-1.591l4.205 4.205 8.205-8.205a1.126 1.126 0 0 1 1.591 1.591Z"},rhUiIcon:null},QV=qe(JV),Qi=QV;var e8={name:"RhUiErrorFillIcon",icon:{xOffset:0,yOffset:0,width:32,height:32,svgPathData:"M16 1C7.729 1 1 7.729 1 16s6.729 15 15 15 15-6.729 15-15S24.271 1 16 1Zm-1.5 8a1.5 1.5 0 1 1 3 0v7a1.5 1.5 0 1 1-3 0V9ZM16 25.001a2 2 0 1 1-.001-3.999A2 2 0 0 1 16 25.001Z"},rhUiIcon:null},t8=qe(e8),ea=t8;var n8={name:"RhUiWarningFillIcon",icon:{xOffset:0,yOffset:0,width:32,height:32,svgPathData:"m31.874 28.514-15.011-27a1.001 1.001 0 0 0-1.748 0l-15.011 27A1 1 0 0 0 .978 30H31a1 1 0 0 0 .874-1.486ZM14.5 12a1.5 1.5 0 0 1 3 0v5a1.5 1.5 0 0 1-3 0v-5ZM16 26.001a2 2 0 1 1-.001-3.999A2 2 0 0 1 16 26.001Z"},rhUiIcon:null},o8=qe(n8),ta=o8;var r8={name:"RhUiInformationFillIcon",icon:{xOffset:0,yOffset:0,width:32,height:32,svgPathData:"M16 1C7.729 1 1 7.729 1 16s6.729 15 15 15 15-6.729 15-15S24.271 1 16 1Zm1.5 22a1.5 1.5 0 1 1-3 0v-5.157l-.188.04a1.5 1.5 0 0 1-.625-2.934l1.956-.416c.112-.024.223-.032.333-.03l.024-.002a1.5 1.5 0 0 1 1.5 1.5v7Zm-.08-12.58c-.38.37-.89.58-1.42.58a1.998 1.998 0 0 1-1.851-2.76c.051-.13.11-.24.19-.35.07-.11.15-.21.25-.3.74-.75 2.08-.75 2.83 0 .09.09.17.19.24.3.08.11.14.22.189.35.05.12.09.24.11.37.03.13.04.26.04.39 0 .53-.21 1.04-.58 1.42Z"},rhUiIcon:null},i8=qe(r8),wc=i8;var a8={name:"RhUiNotificationFillIcon",icon:{xOffset:0,yOffset:0,width:32,height:32,svgPathData:"M28.75 22v3.5c0 .689-.561 1.25-1.25 1.25h-7.521c.005.084.021.166.021.25 0 2.206-1.794 4-4 4s-4-1.794-4-4c0-.084.016-.166.021-.25H4.5c-.689 0-1.25-.561-1.25-1.25V22a.75.75 0 0 1 .75-.75c1.24 0 2.25-1.009 2.25-2.25v-4c0-4.826 3.528-8.833 8.138-9.605A2.482 2.482 0 0 1 13.5 3.5C13.5 2.122 14.621 1 16 1s2.5 1.122 2.5 2.5c0 .761-.349 1.436-.888 1.895 4.61.772 8.138 4.779 8.138 9.605v4c0 1.241 1.01 2.25 2.25 2.25a.75.75 0 0 1 .75.75Z"},rhUiIcon:null},l8=qe(a8),Ac=l8;var up;(function(n){n.success="success",n.error="error",n.warning="warning",n.default="default"})(up||(up={}));var Dl={Tab:"Tab",Space:" ",Escape:"Escape",Enter:"Enter",ArrowUp:"ArrowUp",ArrowDown:"ArrowDown",ArrowLeft:"ArrowLeft",ArrowRight:"ArrowRight"},dp={sm:parseInt(VN.value)*16,md:parseInt(WI.value)*16,lg:parseInt(ZI.value)*16,xl:parseInt(fp.value)*16,"2xl":parseInt(KI.value)*16},pp={sm:parseInt(GN.value)*16,md:parseInt(XN.value)*16,lg:parseInt(qN.value)*16,xl:parseInt($N.value)*16,"2xl":parseInt(YN.value)*16},JN={success:Qi,danger:ea,warning:ta,info:wc,custom:Ac};var m6=w(X());/*!
|
|
239
|
+
* tabbable 6.5.0
|
|
240
|
+
* @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
|
|
241
|
+
*/var e6=["input:not([inert]):not([inert] *)","select:not([inert]):not([inert] *)","textarea:not([inert]):not([inert] *)","a[href]:not([inert]):not([inert] *)","area[href]:not([inert]):not([inert] *)","button:not([inert]):not([inert] *)","[tabindex]:not(slot):not([inert]):not([inert] *)","audio[controls]:not([inert]):not([inert] *)","video[controls]:not([inert]):not([inert] *)",'[contenteditable]:not([contenteditable="false"]):not([inert]):not([inert] *)',"details>summary:first-of-type:not([inert]):not([inert] *)","details:not([inert]):not([inert] *)"],JI=e6.join(","),t6=typeof Element>"u",au=t6?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,QI=!t6&&Element.prototype.getRootNode?function(n){var r;return n===null||n===void 0?void 0:(r=n.getRootNode)===null||r===void 0?void 0:r.call(n)}:function(n){return n===null||n===void 0?void 0:n.ownerDocument},ev=function(r,a){var l;if(a===void 0)a=!0;var f=r===null||r===void 0?void 0:(l=r.getAttribute)===null||l===void 0?void 0:l.call(r,"inert"),u=f===""||f==="true",p=u||a&&r&&(typeof r.closest==="function"?r.closest("[inert]"):ev(r.parentNode));return p},s8=function(r){var a,l=r===null||r===void 0?void 0:(a=r.getAttribute)===null||a===void 0?void 0:a.call(r,"contenteditable");return l===""||l==="true"},n6=function(r,a,l){if(ev(r))return[];var f=Array.prototype.slice.apply(r.querySelectorAll(JI));if(a&&au.call(r,JI))f.unshift(r);return f=f.filter(l),f},tv=function(r,a,l){var f=[],u=Array.from(r);while(u.length){var p=u.shift();if(ev(p,!1))continue;if(p.tagName==="SLOT"){var h=p.assignedElements(),b=h.length?h:p.children,x=tv(b,!0,l);if(l.flatten)f.push.apply(f,x);else f.push({scopeParent:p,candidates:x})}else{var y=au.call(p,JI);if(y&&l.filter(p)&&(a||!r.includes(p)))f.push(p);var _=p.shadowRoot||typeof l.getShadowRoot==="function"&&l.getShadowRoot(p),v=!ev(_,!1)&&(!l.shadowRootFilter||l.shadowRootFilter(p));if(_&&v){var I=tv(_===!0?p.children:_.children,!0,l);if(l.flatten)f.push.apply(f,I);else f.push({scopeParent:p,candidates:I})}else u.unshift.apply(u,p.children)}}return f},o6=function(r){return!isNaN(parseInt(r.getAttribute("tabindex"),10))},Tc=function(r){if(!r)throw Error("No node provided");if(r.tabIndex<0){if((/^(AUDIO|VIDEO|DETAILS)$/.test(r.tagName)||s8(r))&&!o6(r))return 0}return r.tabIndex},c8=function(r,a){var l=Tc(r);if(l<0&&a&&!o6(r))return 0;return l},f8=function(r,a){return r.tabIndex===a.tabIndex?r.documentOrder-a.documentOrder:r.tabIndex-a.tabIndex},r6=function(r){return r.tagName==="INPUT"},u8=function(r){return r6(r)&&r.type==="hidden"},d8=function(r){var a=r.tagName==="DETAILS"&&Array.prototype.slice.apply(r.children).some(function(l){return l.tagName==="SUMMARY"});return a},p8=function(r,a){for(var l=0;l<r.length;l++)if(r[l].checked&&r[l].form===a)return r[l]},m8=function(r){if(!r.name)return!0;var a=r.form||QI(r),l=function(h){return a.querySelectorAll('input[type="radio"][name="'+h+'"]')},f;if(typeof window<"u"&&typeof window.CSS<"u"&&typeof window.CSS.escape==="function")f=l(window.CSS.escape(r.name));else try{f=l(r.name)}catch(p){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",p.message),!1}var u=p8(f,r.form);return!u||u===r},h8=function(r){return r6(r)&&r.type==="radio"},g8=function(r){return h8(r)&&!m8(r)},b8=function(r){var a,l=r&&QI(r),f=(a=l)===null||a===void 0?void 0:a.host,u=!1;if(l&&l!==r){var p,h,b;u=!!((p=f)!==null&&p!==void 0&&(h=p.ownerDocument)!==null&&h!==void 0&&h.contains(f)||r!==null&&r!==void 0&&(b=r.ownerDocument)!==null&&b!==void 0&&b.contains(r));while(!u&&f){var x,y,_;l=QI(f),f=(x=l)===null||x===void 0?void 0:x.host,u=!!((y=f)!==null&&y!==void 0&&(_=y.ownerDocument)!==null&&_!==void 0&&_.contains(f))}}return u},QN=function(r){var a=r.getBoundingClientRect(),{width:l,height:f}=a;return l===0&&f===0},x8=function(r,a){var{displayCheck:l,getShadowRoot:f}=a;if(l==="full-native"){if("checkVisibility"in r){var u=r.checkVisibility({checkOpacity:!1,opacityProperty:!1,contentVisibilityAuto:!0,visibilityProperty:!0,checkVisibilityCSS:!0});return!u}}var p=getComputedStyle(r),h=p.visibility;if(h==="hidden"||h==="collapse")return!0;var b=au.call(r,"details>summary:first-of-type"),x=b?r.parentElement:r;if(au.call(x,"details:not([open]) *"))return!0;if(!l||l==="full"||l==="full-native"||l==="legacy-full"){if(typeof f==="function"){var y=r;while(r){var _=r.parentElement,v=QI(r);if(_&&!_.shadowRoot&&f(_)===!0)return QN(r);else if(r.assignedSlot)r=r.assignedSlot;else if(!_&&v!==r.ownerDocument)r=v.host;else r=_}r=y}if(b8(r))return!r.getClientRects().length;if(l!=="legacy-full")return!0}else if(l==="non-zero-area")return QN(r);return!1},I8=function(r){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(r.tagName)){var a=r.parentElement;while(a){if(a.tagName==="FIELDSET"&&a.disabled){for(var l=0;l<a.children.length;l++){var f=a.children.item(l);if(f.tagName==="LEGEND")return au.call(a,"fieldset[disabled] *")?!0:!f.contains(r)}return!0}a=a.parentElement}}return!1},nv=function(r,a){if(a.disabled||u8(a)||x8(a,r)||d8(a)||I8(a))return!1;return!0},wR=function(r,a){if(g8(a)||Tc(a)<0||!nv(r,a))return!1;return!0},v8=function(r){var a=parseInt(r.getAttribute("tabindex"),10);if(isNaN(a)||a>=0)return!0;return!1},i6=function(r){var a=[],l=[];return r.forEach(function(f,u){var p=!!f.scopeParent,h=p?f.scopeParent:f,b=c8(h,p),x=p?i6(f.candidates):h;if(b===0)p?a.push.apply(a,x):a.push(h);else l.push({documentOrder:u,tabIndex:b,item:f,isScope:p,content:x})}),l.sort(f8).reduce(function(f,u){return u.isScope?f.push.apply(f,u.content):f.push(u.content),f},[]).concat(a)},a6=function(r,a){a=a||{};var l;if(a.getShadowRoot)l=tv([r],a.includeContainer,{filter:wR.bind(null,a),flatten:!1,getShadowRoot:a.getShadowRoot,shadowRootFilter:v8});else l=n6(r,a.includeContainer,wR.bind(null,a));return i6(l)},l6=function(r,a){a=a||{};var l;if(a.getShadowRoot)l=tv([r],a.includeContainer,{filter:nv.bind(null,a),flatten:!0,getShadowRoot:a.getShadowRoot});else l=n6(r,a.includeContainer,nv.bind(null,a));return l},lu=function(r,a){if(a=a||{},!r)throw Error("No node provided");if(au.call(r,JI)===!1)return!1;return wR(a,r)},C8=e6.concat("iframe:not([inert]):not([inert] *)").join(","),ov=function(r,a){if(a=a||{},!r)throw Error("No node provided");if(au.call(r,C8)===!1)return!1;return nv(a,r)};/*!
|
|
242
|
+
* focus-trap 7.6.6
|
|
243
|
+
* @license MIT, https://github.com/focus-trap/focus-trap/blob/master/LICENSE
|
|
244
|
+
*/function AR(n,r){(r==null||r>n.length)&&(r=n.length);for(var a=0,l=Array(r);a<r;a++)l[a]=n[a];return l}function y8(n){if(Array.isArray(n))return AR(n)}function S8(n,r,a){return(r=A8(r))in n?Object.defineProperty(n,r,{value:a,enumerable:!0,configurable:!0,writable:!0}):n[r]=a,n}function _8(n){if(typeof Symbol<"u"&&n[Symbol.iterator]!=null||n["@@iterator"]!=null)return Array.from(n)}function R8(){throw TypeError(`Invalid attempt to spread non-iterable instance.
|
|
245
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function s6(n,r){var a=Object.keys(n);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(n);r&&(l=l.filter(function(f){return Object.getOwnPropertyDescriptor(n,f).enumerable})),a.push.apply(a,l)}return a}function c6(n){for(var r=1;r<arguments.length;r++){var a=arguments[r]!=null?arguments[r]:{};r%2?s6(Object(a),!0).forEach(function(l){S8(n,l,a[l])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(a)):s6(Object(a)).forEach(function(l){Object.defineProperty(n,l,Object.getOwnPropertyDescriptor(a,l))})}return n}function O8(n){return y8(n)||_8(n)||T8(n)||R8()}function w8(n,r){if(typeof n!="object"||!n)return n;var a=n[Symbol.toPrimitive];if(a!==void 0){var l=a.call(n,r);if(typeof l!="object")return l;throw TypeError("@@toPrimitive must return a primitive value.")}return(r==="string"?String:Number)(n)}function A8(n){var r=w8(n,"string");return typeof r=="symbol"?r:r+""}function T8(n,r){if(n){if(typeof n=="string")return AR(n,r);var a={}.toString.call(n).slice(8,-1);return a==="Object"&&n.constructor&&(a=n.constructor.name),a==="Map"||a==="Set"?Array.from(n):a==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?AR(n,r):void 0}}var f6={activateTrap:function(r,a){if(r.length>0){var l=r[r.length-1];if(l!==a)l._setPausedState(!0)}var f=r.indexOf(a);if(f===-1)r.push(a);else r.splice(f,1),r.push(a)},deactivateTrap:function(r,a){var l=r.indexOf(a);if(l!==-1)r.splice(l,1);if(r.length>0&&!r[r.length-1]._isManuallyPaused())r[r.length-1]._setPausedState(!1)}},E8=function(r){return r.tagName&&r.tagName.toLowerCase()==="input"&&typeof r.select==="function"},D8=function(r){return(r===null||r===void 0?void 0:r.key)==="Escape"||(r===null||r===void 0?void 0:r.key)==="Esc"||(r===null||r===void 0?void 0:r.keyCode)===27},tg=function(r){return(r===null||r===void 0?void 0:r.key)==="Tab"||(r===null||r===void 0?void 0:r.keyCode)===9},M8=function(r){return tg(r)&&!r.shiftKey},U8=function(r){return tg(r)&&r.shiftKey},u6=function(r){return setTimeout(r,0)},eg=function(r){for(var a=arguments.length,l=Array(a>1?a-1:0),f=1;f<a;f++)l[f-1]=arguments[f];return typeof r==="function"?r.apply(void 0,l):r},rv=function(r){return r.target.shadowRoot&&typeof r.composedPath==="function"?r.composedPath()[0]:r.target},N8=[],d6=function(r,a){var l=(a===null||a===void 0?void 0:a.document)||document,f=(a===null||a===void 0?void 0:a.trapStack)||N8,u=c6({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0,isKeyForward:M8,isKeyBackward:U8},a),p={containers:[],containerGroups:[],tabbableGroups:[],nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1,manuallyPaused:!1,delayInitialFocusTimer:void 0,recentNavEvent:void 0},h,b=function(L,Y,P){return L&&L[Y]!==void 0?L[Y]:u[P||Y]},x=function(L,Y){var P=typeof(Y===null||Y===void 0?void 0:Y.composedPath)==="function"?Y.composedPath():void 0;return p.containerGroups.findIndex(function(Z){var{container:ne,tabbableNodes:he}=Z;return ne.contains(L)||(P===null||P===void 0?void 0:P.includes(ne))||he.find(function(le){return le===L})})},y=function(L){var Y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},P=Y.hasFallback,Z=P===void 0?!1:P,ne=Y.params,he=ne===void 0?[]:ne,le=u[L];if(typeof le==="function")le=le.apply(void 0,O8(he));if(le===!0)le=void 0;if(!le){if(le===void 0||le===!1)return le;throw Error("`".concat(L,"` was specified but was not a node, or did not return a node"))}var Me=le;if(typeof le==="string"){try{Me=l.querySelector(le)}catch(B){throw Error("`".concat(L,'` appears to be an invalid selector; error="').concat(B.message,'"'))}if(!Me){if(!Z)throw Error("`".concat(L,"` as selector refers to no known node"))}}return Me},_=function(){var L=y("initialFocus",{hasFallback:!0});if(L===!1)return!1;if(L===void 0||L&&!ov(L,u.tabbableOptions))if(x(l.activeElement)>=0)L=l.activeElement;else{var Y=p.tabbableGroups[0],P=Y&&Y.firstTabbableNode;L=P||y("fallbackFocus")}else if(L===null)L=y("fallbackFocus");if(!L)throw Error("Your focus-trap needs to have at least one focusable element");return L},v=function(){if(p.containerGroups=p.containers.map(function(L){var Y=a6(L,u.tabbableOptions),P=l6(L,u.tabbableOptions),Z=Y.length>0?Y[0]:void 0,ne=Y.length>0?Y[Y.length-1]:void 0,he=P.find(function(B){return lu(B)}),le=P.slice().reverse().find(function(B){return lu(B)}),Me=!!Y.find(function(B){return Tc(B)>0});return{container:L,tabbableNodes:Y,focusableNodes:P,posTabIndexesFound:Me,firstTabbableNode:Z,lastTabbableNode:ne,firstDomTabbableNode:he,lastDomTabbableNode:le,nextTabbableNode:function(ce){var fe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,se=Y.indexOf(ce);if(se<0){if(fe)return P.slice(P.indexOf(ce)+1).find(function(be){return lu(be)});return P.slice(0,P.indexOf(ce)).reverse().find(function(be){return lu(be)})}return Y[se+(fe?1:-1)]}}}),p.tabbableGroups=p.containerGroups.filter(function(L){return L.tabbableNodes.length>0}),p.tabbableGroups.length<=0&&!y("fallbackFocus"))throw Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times");if(p.containerGroups.find(function(L){return L.posTabIndexesFound})&&p.containerGroups.length>1)throw Error("At least one node with a positive tabindex was found in one of your focus-trap's multiple containers. Positive tabindexes are only supported in single-container focus-traps.")},I=function(L){var Y=L.activeElement;if(!Y)return;if(Y.shadowRoot&&Y.shadowRoot.activeElement!==null)return I(Y.shadowRoot);return Y},O=function(L){if(L===!1)return;if(L===I(document))return;if(!L||!L.focus){O(_());return}if(L.focus({preventScroll:!!u.preventScroll}),p.mostRecentlyFocusedNode=L,E8(L))L.select()},A=function(L){var Y=y("setReturnFocus",{params:[L]});return Y?Y:Y===!1?!1:L},D=function(L){var{target:Y,event:P,isBackward:Z}=L,ne=Z===void 0?!1:Z;Y=Y||rv(P),v();var he=null;if(p.tabbableGroups.length>0){var le=x(Y,P),Me=le>=0?p.containerGroups[le]:void 0;if(le<0)if(ne)he=p.tabbableGroups[p.tabbableGroups.length-1].lastTabbableNode;else he=p.tabbableGroups[0].firstTabbableNode;else if(ne){var B=p.tabbableGroups.findIndex(function(we){var Ze=we.firstTabbableNode;return Y===Ze});if(B<0&&(Me.container===Y||ov(Y,u.tabbableOptions)&&!lu(Y,u.tabbableOptions)&&!Me.nextTabbableNode(Y,!1)))B=le;if(B>=0){var ce=B===0?p.tabbableGroups.length-1:B-1,fe=p.tabbableGroups[ce];he=Tc(Y)>=0?fe.lastTabbableNode:fe.lastDomTabbableNode}else if(!tg(P))he=Me.nextTabbableNode(Y,!1)}else{var se=p.tabbableGroups.findIndex(function(we){var Ze=we.lastTabbableNode;return Y===Ze});if(se<0&&(Me.container===Y||ov(Y,u.tabbableOptions)&&!lu(Y,u.tabbableOptions)&&!Me.nextTabbableNode(Y)))se=le;if(se>=0){var be=se===p.tabbableGroups.length-1?0:se+1,De=p.tabbableGroups[be];he=Tc(Y)>=0?De.firstTabbableNode:De.firstDomTabbableNode}else if(!tg(P))he=Me.nextTabbableNode(Y)}}else he=y("fallbackFocus");return he},k=function(L){var Y=rv(L);if(x(Y,L)>=0)return;if(eg(u.clickOutsideDeactivates,L)){h.deactivate({returnFocus:u.returnFocusOnDeactivate});return}if(eg(u.allowOutsideClick,L))return;L.preventDefault()},z=function(L){var Y=rv(L),P=x(Y,L)>=0;if(P||Y instanceof Document){if(P)p.mostRecentlyFocusedNode=Y}else{L.stopImmediatePropagation();var Z,ne=!0;if(p.mostRecentlyFocusedNode){if(Tc(p.mostRecentlyFocusedNode)>0){var he=x(p.mostRecentlyFocusedNode),le=p.containerGroups[he].tabbableNodes;if(le.length>0){var Me=le.findIndex(function(B){return B===p.mostRecentlyFocusedNode});if(Me>=0){if(u.isKeyForward(p.recentNavEvent)){if(Me+1<le.length)Z=le[Me+1],ne=!1}else if(Me-1>=0)Z=le[Me-1],ne=!1}}}else if(!p.containerGroups.some(function(B){return B.tabbableNodes.some(function(ce){return Tc(ce)>0})}))ne=!1}else ne=!1;if(ne)Z=D({target:p.mostRecentlyFocusedNode,isBackward:u.isKeyBackward(p.recentNavEvent)});if(Z)O(Z);else O(p.mostRecentlyFocusedNode||_())}p.recentNavEvent=void 0},M=function(L){var Y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;p.recentNavEvent=L;var P=D({event:L,isBackward:Y});if(P){if(tg(L))L.preventDefault();O(P)}},V=function(L){if(u.isKeyForward(L)||u.isKeyBackward(L))M(L,u.isKeyBackward(L))},G=function(L){if(D8(L)&&eg(u.escapeDeactivates,L)!==!1)L.preventDefault(),h.deactivate()},K=function(L){var Y=rv(L);if(x(Y,L)>=0)return;if(eg(u.clickOutsideDeactivates,L))return;if(eg(u.allowOutsideClick,L))return;L.preventDefault(),L.stopImmediatePropagation()},ie=function(){if(!p.active)return;return f6.activateTrap(f,h),p.delayInitialFocusTimer=u.delayInitialFocus?u6(function(){O(_())}):O(_()),l.addEventListener("focusin",z,!0),l.addEventListener("mousedown",k,{capture:!0,passive:!1}),l.addEventListener("touchstart",k,{capture:!0,passive:!1}),l.addEventListener("click",K,{capture:!0,passive:!1}),l.addEventListener("keydown",V,{capture:!0,passive:!1}),l.addEventListener("keydown",G),h},re=function(){if(!p.active)return;return l.removeEventListener("focusin",z,!0),l.removeEventListener("mousedown",k,!0),l.removeEventListener("touchstart",k,!0),l.removeEventListener("click",K,!0),l.removeEventListener("keydown",V,!0),l.removeEventListener("keydown",G),h},de=function(L){var Y=L.some(function(P){var Z=Array.from(P.removedNodes);return Z.some(function(ne){return ne===p.mostRecentlyFocusedNode})});if(Y)O(_())},J=typeof window<"u"&&"MutationObserver"in window?new MutationObserver(de):void 0,Ce=function(){if(!J)return;if(J.disconnect(),p.active&&!p.paused)p.containers.map(function(L){J.observe(L,{subtree:!0,childList:!0})})};return h={get active(){return p.active},get paused(){return p.paused},activate:function(L){if(p.active)return this;var Y=b(L,"onActivate"),P=b(L,"onPostActivate"),Z=b(L,"checkCanFocusTrap");if(!Z)v();p.active=!0,p.paused=!1,p.nodeFocusedBeforeActivation=I(l),Y===null||Y===void 0||Y();var ne=function(){if(Z)v();ie(),Ce(),P===null||P===void 0||P()};if(Z)return Z(p.containers.concat()).then(ne,ne),this;return ne(),this},deactivate:function(L){if(!p.active)return this;var Y=c6({onDeactivate:u.onDeactivate,onPostDeactivate:u.onPostDeactivate,checkCanReturnFocus:u.checkCanReturnFocus},L);clearTimeout(p.delayInitialFocusTimer),p.delayInitialFocusTimer=void 0,re(),p.active=!1,p.paused=!1,Ce(),f6.deactivateTrap(f,h);var P=b(Y,"onDeactivate"),Z=b(Y,"onPostDeactivate"),ne=b(Y,"checkCanReturnFocus"),he=b(Y,"returnFocus","returnFocusOnDeactivate");P===null||P===void 0||P();var le=function(){u6(function(){if(he)O(A(p.nodeFocusedBeforeActivation));Z===null||Z===void 0||Z()})};if(he&&ne)return ne(A(p.nodeFocusedBeforeActivation)).then(le,le),this;return le(),this},pause:function(L){if(!p.active)return this;return p.manuallyPaused=!0,this._setPausedState(!0,L)},unpause:function(L){if(!p.active)return this;if(p.manuallyPaused=!1,f[f.length-1]!==this)return this;return this._setPausedState(!1,L)},updateContainerElements:function(L){var Y=[].concat(L).filter(Boolean);if(p.containers=Y.map(function(P){return typeof P==="string"?l.querySelector(P):P}),p.active)v();return Ce(),this}},Object.defineProperties(h,{_isManuallyPaused:{value:function(){return p.manuallyPaused}},_setPausedState:{value:function(L,Y){if(p.paused===L)return this;if(p.paused=L,L){var P=b(Y,"onPause"),Z=b(Y,"onPostPause");P===null||P===void 0||P(),re(),Ce(),Z===null||Z===void 0||Z()}else{var ne=b(Y,"onUnpause"),he=b(Y,"onPostUnpause");ne===null||ne===void 0||ne(),v(),ie(),Ce(),he===null||he===void 0||he()}return this}}}),h.updateContainerElements(r),h};var na=w(Oe());var iv=w(Oe());function p6(n){let r=iv.useRef(n);r.current=n,iv.useEffect(()=>()=>{r.current()},[])}var su=na.forwardRef(function(r,a){var{active:l=!0,paused:f=!1,focusTrapOptions:u={},preventScrollOnDeactivate:p=!1}=r,h=E(r,["active","paused","focusTrapOptions","preventScrollOnDeactivate"]);let b=na.useRef(null);na.useImperativeHandle(a,()=>b.current);let x=na.useRef(null);na.useEffect(()=>{let _=d6(b.current,Object.assign(Object.assign({},u),{returnFocusOnDeactivate:!1}));return x.current=_,()=>{_.deactivate()}},[]),na.useEffect(()=>{let _=x.current;l?_===null||_===void 0||_.activate():_===null||_===void 0||_.deactivate()},[l]),na.useEffect(()=>{let _=x.current;f?_===null||_===void 0||_.pause():_===null||_===void 0||_.unpause()},[f]);let y=na.useRef(typeof document<"u"?document.activeElement:null);return p6(()=>{if(u.returnFocusOnDeactivate!==!1&&y.current instanceof HTMLElement)y.current.focus({preventScroll:p})}),m6.jsx("div",Object.assign({ref:b},h))});su.displayName="FocusTrap";var ng=w(Oe()),h6=typeof ng.useId==="function"?ng.useId:void 0,B8=0,ho=h6?function(r="pf-"){return`${r}${h6()}`}:function(r="pf-"){let[a]=ng.useState(()=>`${r}${++B8}`);return a};var TR=({prefix:n="pf-random-id-",children:r})=>{let a=ho(n);return r(a)};TR.displayName="GenerateId";var av="*";var L8="OUIA-Generated-";function fn(n,r,a=!0){return{"data-ouia-component-type":`PF6/${n}`,"data-ouia-safe":a,"data-ouia-component-id":r}}var Jn=(n,r,a=!0,l)=>({"data-ouia-component-type":`PF6/${n}`,"data-ouia-safe":a,"data-ouia-component-id":k8(n,r,l)}),k8=(n,r,a)=>{let l=ho(`${L8}${n}-${a?`${a}-`:""}`);return r!==null&&r!==void 0?r:l};function og(n){return n[0].toUpperCase()+n.substring(1)}function b6(n,r){let a;return(...l)=>{clearTimeout(a),a=setTimeout(()=>n.apply(this,l),r)}}function Na(n,r,a,l=!1){if(!n||!r)return!1;let f=n.getBoundingClientRect(),u=r.getBoundingClientRect(),p=Math.ceil(f.left),h=Math.floor(f.right),b=Math.ceil(u.left),x=Math.floor(u.right),y=b>=p&&x<=h,_=(a||!l&&f.width<u.width)&&(b<p&&x>p||x>h&&b<h);return y||_}var Ec=(n,r)=>Object.entries(n||{}).reduce((a,[l,f])=>l==="default"?Object.assign(Object.assign({},a),{[r]:f}):Object.assign(Object.assign({},a),{[`${r}-on-${l}`]:f}),{}),ze=(n,r,a="",l,f)=>{if(!n)return"";if(l&&!f){if(l in n)return r.modifiers[cu(`${a}${n[l]}`)];let u=["2xl","xl","lg","md","sm","default"],p=u.indexOf(l);for(let h=p;h<u.length;h++)if(u[h]in n)return r.modifiers[cu(`${a}${n[u[h]]}`)];return""}return Object.entries(n||{}).map(([u,p])=>`${a}${p}${u!=="default"?`-on-${u}`:""}${f&&u!=="default"?"-height":""}`).map(cu).map((u)=>u.replace(/-?(\dxl)/gi,(p,h)=>`_${h}`)).map((u)=>r.modifiers[u]).filter(Boolean).join(" ")},lv=(n)=>{if(n===null)return null;if(n>=pp["2xl"])return"2xl";if(n>=pp.xl)return"xl";if(n>=pp.lg)return"lg";if(n>=pp.md)return"md";if(n>=pp.sm)return"sm";return"default"},sv=(n)=>{if(n===null)return null;if(n>=dp["2xl"])return"2xl";if(n>=dp.xl)return"xl";if(n>=dp.lg)return"lg";if(n>=dp.md)return"md";if(n>=dp.sm)return"sm";return"default"},P8=(n)=>n.toUpperCase().replace("-","").replace("_",""),cu=(n)=>n.replace(/([-_][a-z])/gi,P8),Fn=!!(typeof window<"u"&&window.document&&window.document.createElement),g6=(n,r)=>{let a=getComputedStyle(r),l=()=>{let p="",h={"50%":"ultra-condensed","62.5%":"extra-condensed","75%":"condensed","87.5%":"semi-condensed","100%":"normal","112.5%":"semi-expanded","125%":"expanded","150%":"extra-expanded","200%":"ultra-expanded"},b;if(a.fontStretch in h)b=h[a.fontStretch];else b="normal";return p=a.fontStyle+" "+a.fontVariant+" "+a.fontWeight+" "+b+" "+a.fontSize+"/"+a.lineHeight+" "+a.fontFamily,p},u=document.createElement("canvas").getContext("2d");return u.font=a.font||l(),u.measureText(n).width},j8=(n)=>{let r=getComputedStyle(n),{clientWidth:a,clientHeight:l}=n;return l-=parseFloat(r.paddingTop)+parseFloat(r.paddingBottom),a-=parseFloat(r.paddingLeft)+parseFloat(r.paddingRight),{height:l,width:a}},x6=(n,r)=>{let a=j8(n).width,l=r;if(g6(r,n)>a){while(g6(`...${l}`,n)>a)l=l.substring(1);if(n.value)n.value=`...${l}`;else n.innerText=`...${l}`}else if(n.value)n.value=r;else n.innerText=r};var rg=(n)=>{n.forEach((r)=>{if(r.current)clearTimeout(r.current)})},Si=(n,r="ltr")=>{if(!n)return r;let a=getComputedStyle(n).getPropertyValue("direction");if(["ltr","rtl"].includes(a))return a;return r};var I6=(n,r,a="offset")=>{if(!n)return;let l=`${a}Left`;if(Si(n)!=="rtl")return n[l];let u=`${a}Width`;return r[u]-(n[l]+n[u])};var bu=w(X()),Ft=w(Oe()),V6=w(qI());var Uc=w(Oe());function Ml(n){let r=n.getBoundingClientRect();return{width:r.width,height:r.height,top:r.top,right:r.right,bottom:r.bottom,left:r.left,x:r.left,y:r.top}}function no(n){if(n.toString()!=="[object Window]"){let r=n.ownerDocument;return r?r.defaultView:window}return n}function fu(n){let r=no(n),{pageXOffset:a,pageYOffset:l}=r;return{scrollLeft:a,scrollTop:l}}function Cs(n){let r=no(n).Element;return n instanceof r||n instanceof Element}function lr(n){let r=no(n).HTMLElement;return n instanceof r||n instanceof HTMLElement}function ER(n){return{scrollLeft:n.scrollLeft,scrollTop:n.scrollTop}}function DR(n){if(n===no(n)||!lr(n))return fu(n);else return ER(n)}function oo(n){return n?(n.nodeName||"").toLowerCase():null}function go(n){return((Cs(n)?n.ownerDocument:n.document)||window.document).documentElement}function uu(n){return Ml(go(n)).left+fu(n).scrollLeft}function Zr(n){return no(n).getComputedStyle(n)}function du(n){let{overflow:r,overflowX:a,overflowY:l}=Zr(n);return/auto|scroll|overlay|hidden/.test(r+l+a)}function MR(n,r,a=!1){let l=go(r),f=Ml(n),u=lr(r),p={scrollLeft:0,scrollTop:0},h={x:0,y:0};if(u||!u&&!a){if(oo(r)!=="body"||du(l))p=DR(r);if(lr(r))h=Ml(r),h.x+=r.clientLeft,h.y+=r.clientTop;else if(l)h.x=uu(l)}return{x:f.left+p.scrollLeft-h.x,y:f.top+p.scrollTop-h.y,width:f.width,height:f.height}}function pu(n){return{x:n.offsetLeft,y:n.offsetTop,width:n.offsetWidth,height:n.offsetHeight}}function ys(n){if(oo(n)==="html")return n;return n.assignedSlot||n.parentNode||n.host||go(n)}function cv(n){if(["html","body","#document"].indexOf(oo(n))>=0)return n.ownerDocument.body;if(lr(n)&&du(n))return n;return cv(ys(n))}function Dc(n,r=[]){let a=cv(n),l=oo(a)==="body",f=no(a),u=l?[f].concat(f.visualViewport||[],du(a)?a:[]):a,p=r.concat(u);return l?p:p.concat(Dc(ys(u)))}function UR(n){return["table","td","th"].indexOf(oo(n))>=0}function v6(n){if(!lr(n)||Zr(n).position==="fixed")return null;let r=n.offsetParent;if(r){let a=go(r);if(oo(r)==="body"&&Zr(r).position==="static"&&Zr(a).position!=="static")return a}return r}function F8(n){let r=ys(n);while(lr(r)&&["html","body"].indexOf(oo(r))<0){let a=Zr(r);if(a.transform!=="none"||a.perspective!=="none"||a.willChange&&a.willChange!=="auto")return r;else r=r.parentNode}return null}function Ba(n){let r=no(n),a=v6(n);while(a&&UR(a)&&Zr(a).position==="static")a=v6(a);if(a&&oo(a)==="body"&&Zr(a).position==="static")return r;return a||F8(n)||r}var bo="top",zo="bottom",Mo="right",Uo="left",NR="auto",Mc=["top","bottom","right","left"],mu="start",C6="end",y6="clippingParents",fv="viewport",mp="popper",S6="reference",BR=Mc.reduce((n,r)=>n.concat([`${r}-start`,`${r}-end`]),[]),uv=[...Mc,"auto"].reduce((n,r)=>n.concat([r,`${r}-start`,`${r}-end`]),[]);var _6=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function H8(n){let r=new Map,a=new Set,l=[];n.forEach((u)=>{r.set(u.name,u)});function f(u){a.add(u.name),[...u.requires||[],...u.requiresIfExists||[]].forEach((h)=>{if(!a.has(h)){let b=r.get(h);if(b)f(b)}}),l.push(u)}return n.forEach((u)=>{if(!a.has(u.name))f(u)}),l}function LR(n){let r=H8(n);return _6.reduce((a,l)=>a.concat(r.filter((f)=>f.phase===l)),[])}function kR(n){let r;return()=>{if(!r)r=new Promise((a)=>{Promise.resolve().then(()=>{r=void 0,a(n())})});return r}}function No(n){return n.split("-")[0]}function PR(n){let r=n.reduce((a,l)=>{let f=a[l.name];return a[l.name]=f?Object.assign(Object.assign(Object.assign({},f),l),{options:Object.assign(Object.assign({},f.options),l.options),data:Object.assign(Object.assign({},f.data),l.data)}):l,a},{});return Object.keys(r).map((a)=>r[a])}function jR(n){let r=no(n),a=go(n),l=r.visualViewport,{clientWidth:f,clientHeight:u}=a,p=0,h=0;if(l){if(f=l.width,u=l.height,!/^((?!chrome|android).)*safari/i.test(navigator.userAgent))p=l.offsetLeft,h=l.offsetTop}return{width:f,height:u,x:p+uu(n),y:h}}function FR(n){let r=go(n),a=fu(n),l=n.ownerDocument.body,f=Math.max(r.scrollWidth,r.clientWidth,l?l.scrollWidth:0,l?l.clientWidth:0),u=Math.max(r.scrollHeight,r.clientHeight,l?l.scrollHeight:0,l?l.clientHeight:0),p=-a.scrollLeft+uu(n),h=-a.scrollTop;if(Zr(l||r).direction==="rtl")p+=Math.max(r.clientWidth,l?l.clientWidth:0)-f;return{width:f,height:u,x:p,y:h}}function ig(n,r){let a=Boolean(r.getRootNode&&r.getRootNode().host);if(n.contains(r))return!0;else if(a){let l=r;do{if(l&&n.isSameNode(l))return!0;l=l.parentNode||l.host}while(l)}return!1}function hp(n){return Object.assign(Object.assign({},n),{left:n.x,top:n.y,right:n.x+n.width,bottom:n.y+n.height})}function z8(n){let r=Ml(n);return r.top=r.top+n.clientTop,r.left=r.left+n.clientLeft,r.bottom=r.top+n.clientHeight,r.right=r.left+n.clientWidth,r.width=n.clientWidth,r.height=n.clientHeight,r.x=r.left,r.y=r.top,r}function R6(n,r){return r===fv?hp(jR(n)):lr(r)?z8(r):hp(FR(go(n)))}function V8(n){let r=Dc(ys(n)),l=["absolute","fixed"].indexOf(Zr(n).position)>=0&&lr(n)?Ba(n):n;if(!Cs(l))return[];return r.filter((f)=>Cs(f)&&ig(f,l)&&oo(f)!=="body")}function HR(n,r,a){let f=[...r==="clippingParents"?V8(n):[].concat(r),a],u=f[0],p=f.reduce((h,b)=>{let x=R6(n,b);return h.top=Math.max(x.top,h.top),h.right=Math.min(x.right,h.right),h.bottom=Math.min(x.bottom,h.bottom),h.left=Math.max(x.left,h.left),h},R6(n,u));return p.width=p.right-p.left,p.height=p.bottom-p.top,p.x=p.left,p.y=p.top,p}function Ul(n){return n.split("-")[1]}function hu(n){return["top","bottom"].indexOf(n)>=0?"x":"y"}function ag({reference:n,element:r,placement:a}){let l=a?No(a):null,f=a?Ul(a):null,u=n.x+n.width/2-r.width/2,p=n.y+n.height/2-r.height/2,h;switch(l){case bo:h={x:u,y:n.y-r.height};break;case zo:h={x:u,y:n.y+n.height};break;case Mo:h={x:n.x+n.width,y:p};break;case Uo:h={x:n.x-r.width,y:p};break;default:h={x:n.x,y:n.y}}let b=l?hu(l):null;if(b!=null){let x=b==="y"?"height":"width";switch(f){case mu:h[b]=Math.floor(h[b])-Math.floor(n[x]/2-r[x]/2);break;case C6:h[b]=Math.floor(h[b])+Math.ceil(n[x]/2-r[x]/2);break;default:}}return h}function lg(){return{top:0,right:0,bottom:0,left:0}}function sg(n){return Object.assign(Object.assign({},lg()),n)}function cg(n,r){return r.reduce((a,l)=>(a[l]=n,a),{})}function La(n,r={}){let{placement:a=n.placement,boundary:l=y6,rootBoundary:f=fv,elementContext:u=mp,altBoundary:p=!1,padding:h=0}=r,b=sg(typeof h!=="number"?h:cg(h,Mc)),x=u===mp?S6:mp,y=n.elements.reference,_=n.rects.popper,v=n.elements[p?x:u],I=HR(Cs(v)?v:v.contextElement||go(n.elements.popper),l,f),O=Ml(y),A=ag({reference:O,element:_,strategy:"absolute",placement:a}),D=hp(Object.assign(Object.assign({},_),A)),k=u===mp?D:O,z={top:I.top-k.top+b.top,bottom:k.bottom-I.bottom+b.bottom,left:I.left-k.left+b.left,right:k.right-I.right+b.right},M=n.modifiersData.offset;if(u===mp&&M){let V=M[a];Object.keys(z).forEach((G)=>{let K=[Mo,zo].indexOf(G)>=0?1:-1,ie=[bo,zo].indexOf(G)>=0?"y":"x";z[G]+=V[ie]*K})}return z}var O6={placement:"bottom",modifiers:[],strategy:"absolute"};function w6(...n){return!n.some((r)=>!(r&&typeof r.getBoundingClientRect==="function"))}function zR(n={}){let{defaultModifiers:r=[],defaultOptions:a=O6}=n;return function(f,u,p=a){let h={placement:"bottom",orderedModifiers:[],options:Object.assign(Object.assign({},O6),a),modifiersData:{},elements:{reference:f,popper:u},attributes:{},styles:{}},b=[],x=!1,y={state:h,setOptions(I){v(),h.options=Object.assign(Object.assign(Object.assign({},a),h.options),I),h.scrollParents={reference:Cs(f)?Dc(f):f.contextElement?Dc(f.contextElement):[],popper:Dc(u)};let O=LR(PR([...r,...h.options.modifiers]));return h.orderedModifiers=O.filter((A)=>A.enabled),_(),y.update()},forceUpdate(){if(x)return;let{reference:I,popper:O}=h.elements;if(!w6(I,O))return;h.rects={reference:MR(I,Ba(O),h.options.strategy==="fixed"),popper:pu(O)},h.reset=!1,h.placement=h.options.placement,h.orderedModifiers.forEach((D)=>h.modifiersData[D.name]=Object.assign({},D.data));let A=0;for(let D=0;D<h.orderedModifiers.length;D++){if(h.reset===!0){h.reset=!1,D=-1;continue}let{fn:k,options:z={},name:M}=h.orderedModifiers[D];if(typeof k==="function")h=k({state:h,options:z,name:M,instance:y})||h}},update:kR(()=>new Promise((I)=>{y.forceUpdate(),I(h)})),destroy(){v(),x=!0}};if(!w6(f,u))return y;y.setOptions(p).then((I)=>{if(!x&&p.onFirstUpdate)p.onFirstUpdate(I)});function _(){h.orderedModifiers.forEach(({name:I,options:O={},effect:A})=>{if(typeof A==="function"){let D=A({state:h,name:I,instance:y,options:O}),k=()=>{};b.push(D||k)}})}function v(){b.forEach((I)=>I()),b=[]}return y}}var fae=zR();var dv={passive:!0};function G8({state:n,instance:r,options:a}){let{scroll:l=!0,resize:f=!0}=a,u=no(n.elements.popper),p=[...n.scrollParents.reference,...n.scrollParents.popper];if(l)p.forEach((h)=>{h.addEventListener("scroll",r.update,dv)});if(f)u.addEventListener("resize",r.update,dv);return()=>{if(l)p.forEach((h)=>{h.removeEventListener("scroll",r.update,dv)});if(f)u.removeEventListener("resize",r.update,dv)}}var A6={name:"eventListeners",enabled:!0,phase:"write",fn:()=>{},effect:G8,data:{}};function X8({state:n,name:r}){n.modifiersData[r]=ag({reference:n.rects.reference,element:n.rects.popper,strategy:"absolute",placement:n.placement})}var T6={name:"popperOffsets",enabled:!0,phase:"read",fn:X8,data:{}};var q8={top:"auto",right:"auto",bottom:"auto",left:"auto"};function $8({x:n,y:r}){let l=window.devicePixelRatio||1;return{x:Math.round(n*l)/l||0,y:Math.round(r*l)/l||0}}function E6({popper:n,popperRect:r,placement:a,offsets:l,position:f,gpuAcceleration:u,adaptive:p}){let{x:h,y:b}=$8(l),x=l.hasOwnProperty("x"),y=l.hasOwnProperty("y"),_=Uo,v=bo,I=window;if(p){let A=Ba(n);if(A===no(n))A=go(n);if(a===bo)v=zo,b-=A.clientHeight-r.height,b*=u?1:-1;if(a===Uo)_=Mo,h-=A.clientWidth-r.width,h*=u?1:-1}let O=Object.assign({position:f},p&&q8);if(u)return Object.assign(Object.assign({},O),{[v]:y?"0":"",[_]:x?"0":"",transform:(I.devicePixelRatio||1)<2?`translate(${h}px, ${b}px)`:`translate3d(${h}px, ${b}px, 0)`});return Object.assign(Object.assign({},O),{[v]:y?`${b}px`:"",[_]:x?`${h}px`:"",transform:""})}function Y8({state:n,options:r}){let{gpuAcceleration:a=!0,adaptive:l=!0}=r,f={placement:No(n.placement),popper:n.elements.popper,popperRect:n.rects.popper,gpuAcceleration:a};if(n.modifiersData.popperOffsets!=null)n.styles.popper=Object.assign(Object.assign({},n.styles.popper),E6(Object.assign(Object.assign({},f),{offsets:n.modifiersData.popperOffsets,position:n.options.strategy,adaptive:l})));if(n.modifiersData.arrow!=null)n.styles.arrow=Object.assign(Object.assign({},n.styles.arrow),E6(Object.assign(Object.assign({},f),{offsets:n.modifiersData.arrow,position:"absolute",adaptive:!1})));n.attributes.popper=Object.assign(Object.assign({},n.attributes.popper),{"data-popper-placement":n.placement})}var D6={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:Y8,data:{}};function W8({state:n}){Object.keys(n.elements).forEach((r)=>{let a=n.styles[r]||{},l=n.attributes[r]||{},f=n.elements[r];if(!lr(f)||!oo(f))return;Object.assign(f.style,a),Object.keys(l).forEach((u)=>{let p=l[u];if(p===!1)f.removeAttribute(u);else f.setAttribute(u,p===!0?"":p)})})}function Z8({state:n}){let r={popper:{position:n.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};if(Object.assign(n.elements.popper.style,r.popper),n.elements.arrow)Object.assign(n.elements.arrow.style,r.arrow);return()=>{Object.keys(n.elements).forEach((a)=>{let l=n.elements[a],f=n.attributes[a]||{},p=Object.keys(n.styles.hasOwnProperty(a)?n.styles[a]:r[a]).reduce((h,b)=>(h[b]="",h),{});if(!lr(l)||!oo(l))return;Object.assign(l.style,p),Object.keys(f).forEach((h)=>{l.removeAttribute(h)})})}}var M6={name:"applyStyles",enabled:!0,phase:"write",fn:W8,effect:Z8,requires:["computeStyles"]};function K8(n,r,a){let l=No(n),f=[Uo,bo].indexOf(l)>=0?-1:1,[u,p]=typeof a==="function"?a(Object.assign(Object.assign({},r),{placement:n})):a;return u=u||0,p=(p||0)*f,[Uo,Mo].indexOf(l)>=0?{x:p,y:u}:{x:u,y:p}}function J8({state:n,options:r,name:a}){let{offset:l=[0,0]}=r,f=uv.reduce((h,b)=>(h[b]=K8(b,n.rects,l),h),{}),{x:u,y:p}=f[n.placement];if(n.modifiersData.popperOffsets!=null)n.modifiersData.popperOffsets.x+=u,n.modifiersData.popperOffsets.y+=p;n.modifiersData[a]=f}var U6={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:J8};var Q8={left:"right",right:"left",bottom:"top",top:"bottom"};function gp(n){return n.replace(/left|right|bottom|top/g,(r)=>Q8[r])}var eG={start:"end",end:"start"};function pv(n){return n.replace(/start|end/g,(r)=>eG[r])}function VR(n,r={}){let{placement:a,boundary:l,rootBoundary:f,padding:u,flipVariations:p,allowedAutoPlacements:h=uv}=r,b=Ul(a),x=b?p?BR:BR.filter((v)=>Ul(v)===b):Mc,y=x.filter((v)=>h.indexOf(v)>=0);if(y.length===0)y=x;let _=y.reduce((v,I)=>(v[I]=La(n,{placement:I,boundary:l,rootBoundary:f,padding:u})[No(I)],v),{});return Object.keys(_).sort((v,I)=>_[v]-_[I])}function tG(n){if(No(n)===NR)return[];let r=gp(n);return[pv(n),r,pv(r)]}function nG({state:n,options:r,name:a}){if(n.modifiersData[a]._skip)return;let{mainAxis:l=!0,altAxis:f=!0,fallbackPlacements:u,padding:p,boundary:h,rootBoundary:b,altBoundary:x,flipVariations:y=!0,allowedAutoPlacements:_}=r,v=n.options.placement,O=No(v)===v,A=u||(O||!y?[gp(v)]:tG(v)),D=[v,...A].reduce((K,ie)=>K.concat(No(ie)===NR?VR(n,{placement:ie,boundary:h,rootBoundary:b,padding:p,flipVariations:y,allowedAutoPlacements:_}):ie),[]),k=n.rects.reference,z=n.rects.popper,M=new Map,V=!0,G=D[0];for(let K=0;K<D.length;K++){let ie=D[K],re=No(ie),de=Ul(ie)===mu,J=[bo,zo].indexOf(re)>=0,Ce=J?"width":"height",Q=La(n,{placement:ie,boundary:h,rootBoundary:b,altBoundary:x,padding:p}),L=J?de?Mo:Uo:de?zo:bo;if(k[Ce]>z[Ce])L=gp(L);let Y=gp(L),P=[];if(l)P.push(Q[re]<=0);if(f)P.push(Q[L]<=0,Q[Y]<=0);if(P.every((Z)=>Z)){G=ie,V=!1;break}M.set(ie,P)}if(V){let K=y?3:1;for(let ie=K;ie>0;ie--){let re=D.find((de)=>{let J=M.get(de);if(J)return J.slice(0,ie).every((Ce)=>Ce)});if(re){G=re;break}}}if(n.placement!==G)n.modifiersData[a]._skip=!0,n.placement=G,n.reset=!0}var N6={name:"flip",enabled:!0,phase:"main",fn:nG,requiresIfExists:["offset"],data:{_skip:!1}};function GR(n){return n==="x"?"y":"x"}function gu(n,r,a){return Math.max(n,Math.min(r,a))}function oG({state:n,options:r,name:a}){let{mainAxis:l=!0,altAxis:f=!1,boundary:u,rootBoundary:p,altBoundary:h,padding:b,tether:x=!0,tetherOffset:y=0}=r,_=La(n,{boundary:u,rootBoundary:p,padding:b,altBoundary:h}),v=No(n.placement),I=Ul(n.placement),O=!I,A=hu(v),D=GR(A),k=n.modifiersData.popperOffsets,z=n.rects.reference,M=n.rects.popper,V=typeof y==="function"?y(Object.assign(Object.assign({},n.rects),{placement:n.placement})):y,G={x:0,y:0};if(!k)return;if(l){let K=A==="y"?bo:Uo,ie=A==="y"?zo:Mo,re=A==="y"?"height":"width",de=k[A],J=k[A]+_[K],Ce=k[A]-_[ie],Q=x?-M[re]/2:0,L=I===mu?z[re]:M[re],Y=I===mu?-M[re]:-z[re],P=n.elements.arrow,Z=x&&P?pu(P):{width:0,height:0},ne=n.modifiersData["arrow#persistent"]?n.modifiersData["arrow#persistent"].padding:lg(),he=ne[K],le=ne[ie],Me=gu(0,z[re],Z[re]),B=O?z[re]/2-Q-Me-he-V:L-Me-he-V,ce=O?-z[re]/2+Q+Me+le+V:Y+Me+le+V,fe=n.elements.arrow&&Ba(n.elements.arrow),se=fe?A==="y"?fe.clientTop||0:fe.clientLeft||0:0,be=n.modifiersData.offset?n.modifiersData.offset[n.placement][A]:0,De=k[A]+B-be-se,we=k[A]+ce-be,Ze=gu(x?Math.min(J,De):J,de,x?Math.max(Ce,we):Ce);k[A]=Ze,G[A]=Ze-de}if(f){let K=A==="x"?bo:Uo,ie=A==="x"?zo:Mo,re=k[D],de=re+_[K],J=re-_[ie],Ce=gu(de,re,J);k[D]=Ce,G[D]=Ce-re}n.modifiersData[a]=G}var B6={name:"preventOverflow",enabled:!0,phase:"main",fn:oG,requiresIfExists:["offset"]};function rG({state:n,name:r}){let a=n.elements.arrow,l=n.modifiersData.popperOffsets,f=No(n.placement),u=hu(f),h=[Uo,Mo].indexOf(f)>=0?"height":"width";if(!a||!l)return;let b=n.modifiersData[`${r}#persistent`].padding,x=pu(a),y=u==="y"?bo:Uo,_=u==="y"?zo:Mo,v=n.rects.reference[h]+n.rects.reference[u]-l[u]-n.rects.popper[h],I=l[u]-n.rects.reference[u],O=Ba(a),A=O?u==="y"?O.clientHeight||0:O.clientWidth||0:0,D=v/2-I/2,k=b[y],z=A-x[h]-b[_],M=A/2-x[h]/2+D,V=gu(k,M,z),G=u;n.modifiersData[r]={[G]:V,centerOffset:V-M}}function iG({state:n,options:r,name:a}){let{element:l="[data-popper-arrow]",padding:f=0}=r;if(l==null)return;if(typeof l==="string"){if(l=n.elements.popper.querySelector(l),!l)return}if(!ig(n.elements.popper,l))return;n.elements.arrow=l,n.modifiersData[`${a}#persistent`]={padding:sg(typeof f!=="number"?f:cg(f,Mc))}}var L6={name:"arrow",enabled:!0,phase:"main",fn:rG,effect:iG,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function k6(n,r,a={x:0,y:0}){return{top:n.top-r.height-a.y,right:n.right-r.width+a.x,bottom:n.bottom-r.height+a.y,left:n.left-r.width-a.x}}function P6(n){return[bo,Mo,zo,Uo].some((r)=>n[r]>=0)}function aG({state:n,name:r}){let a=n.rects.reference,l=n.rects.popper,f=n.modifiersData.preventOverflow,u=La(n,{elementContext:"reference"}),p=La(n,{altBoundary:!0}),h=k6(u,a),b=k6(p,l,f),x=P6(h),y=P6(b);n.modifiersData[r]={referenceClippingOffsets:h,popperEscapeOffsets:b,isReferenceHidden:x,hasPopperEscaped:y},n.attributes.popper=Object.assign(Object.assign({},n.attributes.popper),{"data-popper-reference-hidden":x,"data-popper-escaped":y})}var j6={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:aG};var lG=[A6,T6,D6,M6,U6,N6,B6,L6,j6],F6=zR({defaultModifiers:lG});var mv=w(Oe());var Ss=Fn?mv.useLayoutEffect:mv.useEffect;var sG=(n,r)=>JSON.stringify(n)===JSON.stringify(r),H6=(n)=>n.reduce((r,[a,l])=>(r[a]=l,r),{}),cG=[];function fG(n){if(n instanceof Element)return n.isConnected;let{contextElement:r}=n;if(r instanceof Element)return r.isConnected;return!0}var z6=(n,r,a={})=>{let l=Uc.useRef(null),f={onFirstUpdate:a.onFirstUpdate,placement:a.placement||"bottom",strategy:a.strategy||"absolute",modifiers:a.modifiers||cG},[u,p]=Uc.useState({styles:{popper:{position:f.strategy,left:"0",top:"0"}},attributes:{}}),h=Uc.useMemo(()=>({name:"updateState",enabled:!0,phase:"write",fn:({state:y})=>{let _=Object.keys(y.elements);p({styles:H6(_.map((v)=>[v,y.styles[v]||{}])),attributes:H6(_.map((v)=>[v,y.attributes[v]]))})},requires:["computeStyles"]}),[]),b=Uc.useMemo(()=>{let y={onFirstUpdate:f.onFirstUpdate,placement:f.placement,strategy:f.strategy,modifiers:[...f.modifiers,h,{name:"applyStyles",enabled:!1}]};if(sG(l.current,y))return l.current||y;else return l.current=y,y},[f.onFirstUpdate,f.placement,f.strategy,f.modifiers,h]),x=Uc.useRef(void 0);return Ss(()=>{if(x&&x.current)x.current.setOptions(b)},[b]),Ss(()=>{if(n==null||r==null)return;if(!fG(n)||!r.isConnected)return;let _=(a.createPopper||F6)(n,r,b);return x.current=_,()=>{_.destroy(),x.current=null}},[n,r,a.createPopper]),{state:x.current?x.current.state:null,styles:u.styles,attributes:u.attributes,update:x.current?x.current.update:null,forceUpdate:x.current?x.current.forceUpdate:null}};var uG={left:"right",right:"left",bottom:"top",top:"bottom","top-start":"bottom-end","top-end":"bottom-start","bottom-start":"top-end","bottom-end":"top-start","left-start":"right-end","left-end":"right-start","right-start":"left-end","right-end":"left-start"},dG=(n)=>n.replace(/left|right|bottom|top|top-start|top-end|bottom-start|bottom-end|right-start|right-end|left-start|left-end/g,(r)=>uG[r]),pG=(n)=>`opacity ${n}ms cubic-bezier(.54, 1.5, .38, 1.11)`,ka=({trigger:n,popper:r,direction:a="down",position:l="start",placement:f,width:u,minWidth:p="trigger",maxWidth:h,appendTo:b=()=>document.body,zIndex:x=9999,isVisible:y=!0,positionModifiers:_,distance:v=0,offset:I,onMouseEnter:O,onMouseLeave:A,onFocus:D,onBlur:k,onDocumentClick:z,onTriggerClick:M,onTriggerEnter:V,onPopperClick:G,onPopperMouseEnter:K,onPopperMouseLeave:ie,onDocumentKeyDown:re,enableFlip:de=!0,flipBehavior:J="flip",triggerRef:Ce,popperRef:Q,animationDuration:L=0,entryDelay:Y=0,exitDelay:P=0,onHidden:Z=()=>{},onHide:ne=()=>{},onMount:he=()=>{},onShow:le=()=>{},onShown:Me=()=>{},preventOverflow:B=!1})=>{var ce;let[fe,se]=Ft.useState(null),[be,De]=Ft.useState(null),[we,Ze]=Ft.useState(null),[ct,Tt]=Ft.useState(null),[yt,Re]=Ft.useState(!1),[Ue,tt]=Ft.useState(0),[ke,Dt]=Ft.useState(y),pt=Ft.useRef(null),Ke=Ft.useRef(null),Zt=Ft.useRef(null),Mt=Ft.useRef(void 0),Be=be||fe,xe=y||ke,vn=(ce=(Ce===null||Ce===void 0?void 0:Ce.current)||fe)===null||ce===void 0?void 0:ce.parentElement,Pe=Si(vn),et=Ft.useMemo(()=>{let ue={left:"left",right:"right",center:"center"};return{ltr:Object.assign({start:"left",end:"right"},ue),rtl:Object.assign({start:"right",end:"left"},ue)}[Pe][l]},[l,Pe]),Te=Ft.useCallback((ue)=>z(ue,Be,we),[xe,fe,be,we,z]);Ft.useEffect(()=>{Re(!0),he()},[]),Ft.useEffect(()=>()=>{rg([pt,Zt,Ke])},[]),Ft.useEffect(()=>{if(Ce){if(Ce.current)De(Ce.current);else if(typeof Ce==="function")De(Ce())}},[Ce,n]),Ft.useEffect(()=>{if(Q){if(Q.current)Ze(Q.current);else if(typeof Q==="function")Ze(Q())}},[xe,Q]),Ft.useEffect(()=>{let ue=new MutationObserver(()=>{kt&&kt()});return we&&ue.observe(we,{attributes:!0,childList:!0,subtree:!0}),()=>{ue.disconnect()}},[we]);let Ve=(ue,Je,je,nt=!1)=>{if(ue&&Je)Je.addEventListener(je,ue,{capture:nt})},Ye=(ue,Je,je,nt=!1)=>{if(ue&&Je)Je.removeEventListener(je,ue,{capture:nt})};Ft.useEffect(()=>(Ve(O,Be,"mouseenter"),Ve(A,Be,"mouseleave"),Ve(D,Be,"focus"),Ve(k,Be,"blur"),Ve(M,Be,"click"),Ve(V,Be,"keydown"),Ve(G,we,"click"),Ve(K,we,"mouseenter"),Ve(ie,we,"mouseleave"),z&&Ve(Te,document,"click",!0),Ve(re,document,"keydown",!0),()=>{Ye(O,Be,"mouseenter"),Ye(A,Be,"mouseleave"),Ye(D,Be,"focus"),Ye(k,Be,"blur"),Ye(M,Be,"click"),Ye(V,Be,"keydown"),Ye(G,we,"click"),Ye(K,we,"mouseenter"),Ye(ie,we,"mouseleave"),z&&Ye(Te,document,"click",!0),Ye(re,document,"keydown",!0)}),[fe,we,O,A,D,k,M,V,G,K,ie,z,re,be]);let Nn=()=>{if(f)return f;let ue=a==="up"?"top":"bottom";if(et!=="center")ue=`${ue}-${et==="right"?"end":"start"}`;return ue},Yn=Ft.useMemo(Nn,[a,et,f]),$t=Ft.useMemo(()=>dG(Nn()),[a,et,f]),$l=Ft.useMemo(()=>({name:"widthMods",enabled:u!==void 0||p!==void 0||h!==void 0,phase:"beforeWrite",requires:["computeStyles"],fn:({state:ue})=>{let Je=ue.rects.reference.width;if(u)ue.styles.popper.width=u==="trigger"?`${Je}px`:u;if(p)ue.styles.popper.minWidth=p==="trigger"?`${Je}px`:p;if(h)ue.styles.popper.maxWidth=h==="trigger"?`${Je}px`:h},effect:({state:ue})=>{let Je=ue.elements.reference.offsetWidth;if(u)ue.elements.popper.style.width=u==="trigger"?`${Je}px`:u;if(p)ue.elements.popper.style.minWidth=p==="trigger"?`${Je}px`:p;if(h)ue.elements.popper.style.maxWidth=h==="trigger"?`${Je}px`:h;return()=>{}}}),[u,p,h]),{styles:Jo,attributes:We,update:kt,forceUpdate:Bn}=z6(Be,we,{placement:Yn,modifiers:[{name:"offset",options:{offset:I||[0,v]}},{name:"preventOverflow",enabled:B},{name:"hide",enabled:!0},{name:"flip",enabled:Yn.startsWith("auto")||de,options:{fallbackPlacements:J==="flip"?[$t]:J}},$l]});Ft.useEffect(()=>{var ue,Je,je,nt,Ut,er,Fr;let js=((nt=(je=(Je=(ue=r===null||r===void 0?void 0:r.props)===null||ue===void 0?void 0:ue.children)===null||Je===void 0?void 0:Je[1])===null||je===void 0?void 0:je.props)===null||nt===void 0?void 0:nt.children)||((Fr=(er=(Ut=r===null||r===void 0?void 0:r.props)===null||Ut===void 0?void 0:Ut.children)===null||er===void 0?void 0:er.props)===null||Fr===void 0?void 0:Fr.children);if(Tt(js),js&&ct&&js!==ct)Bn&&Bn()},[r]),Ft.useEffect(()=>{if(Mt.current<P)rg([pt,Zt]),Zt.current=setTimeout(()=>{pt.current=setTimeout(()=>{Dt(!1)},L)},P);Mt.current=P},[P]);let _o=()=>{le(),rg([pt,Zt]),Ke.current=setTimeout(()=>{Dt(!0),tt(1),Me()},Y)},Qo=()=>{ne(),rg([Ke]),Zt.current=setTimeout(()=>{tt(0),pt.current=setTimeout(()=>{Dt(!1),Ze(null),Z()},L)},P)};Ft.useEffect(()=>{if(y)_o();else Qo()},[y]);let R=()=>{if(We&&We.popper&&We.popper["data-popper-placement"]){let ue=We.popper["data-popper-placement"];return _[ue]}return _.top},W=Object.assign({className:S(r.props&&r.props.className,_&&R()),style:Object.assign(Object.assign(Object.assign({},r.props&&r.props.style||{}),Jo.popper),{zIndex:x,opacity:Ue,transition:pG(L)})},We.popper),ve=()=>{let ue=Ft.cloneElement(r,W);return Q?ue:bu.jsx("div",{style:{display:"contents"},ref:(Je)=>{Ze(Je===null||Je===void 0?void 0:Je.firstElementChild)},children:ue})},Se=()=>{if(b==="inline")return ve();else{let ue=typeof b==="function"?b():b;return V6.createPortal(ve(),ue)}};return bu.jsxs(bu.Fragment,{children:[!Ce&&n&&Ft.isValidElement(n)&&bu.jsx("div",{style:{display:"contents"},ref:(ue)=>{se(ue===null||ue===void 0?void 0:ue.firstElementChild)},children:n}),Ce&&n&&Ft.isValidElement(n)&&n,yt&&xe&&Se()]})};ka.displayName="Popper";var mG="OUIA-Generated-",Hn=({prefix:n,ouiaComponentType:r,children:a})=>{var l;let f=ho(n),u=ho(r?`${mG}${r}-`:"pf-unused-");return(l=a(f,r?u:void 0))!==null&&l!==void 0?l:null};Hn.displayName="SSRSafeIds";var G6=w(Oe());var XR=(n,r,a=(x)=>document.activeElement.contains(x),l=(x)=>x,f=["A","BUTTON","INPUT"],u=!1,p=!1,h=!0,b=!0)=>{let x=document.activeElement,y=n.key,_=null;if(!u){if(["ArrowUp","ArrowDown"].includes(y)){n.preventDefault(),n.stopImmediatePropagation();let v=-1;r.forEach((I,O)=>{if(a(I)){let A=0;while(!_&&A<r.length&&A*-1<r.length){if(y==="ArrowUp"?A--:A++,v=O+A,v>=r.length)v=0;if(v<0)v=r.length-1;_=l(r[v])}}})}}if(!p){if(["ArrowLeft","ArrowRight"].includes(y)){n.preventDefault(),n.stopImmediatePropagation();let v=-1;r.forEach((I,O)=>{var A;if(a(I)){let D=r[O].querySelectorAll(f.join(","));if(!D.length||b){let k=x;while(k){let M=k.parentElement===I?k:k.parentElement;if(k=y==="ArrowLeft"?M.previousElementSibling:M.nextElementSibling,k){if(f.includes(k===null||k===void 0?void 0:k.tagName)){_=k;break}if(f.includes((A=k.children[0])===null||A===void 0?void 0:A.tagName)){_=k.children[0];break}}}}else D.forEach((k,z)=>{if(n.target===k){if(v=z+(y==="ArrowLeft"?-1:1),v>=D.length)v=0;if(v<0)v=D.length-1;_=D[v]}})}})}}if(_){if(h)x.tabIndex=-1,_.tabIndex=0;_.focus()}},X6=(n)=>{if(n&&n.length>0)n.forEach((r)=>{r.tabIndex=-1}),n[0].tabIndex=0},q6=(n,r)=>{var a;if(n.key!=="ArrowDown"&&n.key!=="ArrowUp")return;n.preventDefault();let f=Array.from((a=r.current)===null||a===void 0?void 0:a.querySelectorAll("li")).map((p)=>p.querySelector('button:not(:disabled),input:not(:disabled),a:not([aria-disabled="true"])')).filter((p)=>p!==null),u;if(n.key==="ArrowDown")u=f[0];else u=f[f.length-1];u&&u.focus()};class fg extends G6.Component{constructor(){super(...arguments);this.keyHandler=(n)=>{let{isEventFromContainer:r}=this.props;if(r?!r(n):!this._isEventFromContainer(n))return;let{isActiveElement:a,getFocusableElement:l,noVerticalArrowHandling:f,noHorizontalArrowHandling:u,noEnterHandling:p,noSpaceHandling:h,updateTabIndex:b,validSiblingTags:x,additionalKeyHandler:y,createNavigableElements:_,onlyTraverseSiblings:v}=this.props;y&&y(n);let I=_();if(!I){console.warn("No navigable elements have been passed to the KeyboardHandler. Keyboard navigation provided by this component will be ignored.");return}let O=n.key;if(!p){if(O==="Enter")n.preventDefault(),n.stopImmediatePropagation(),document.activeElement.click()}if(!h){if(O===" ")n.preventDefault(),n.stopImmediatePropagation(),document.activeElement.click()}XR(n,I,a,l,x,f,u,b,v)},this._isEventFromContainer=(n)=>{let{containerRef:r}=this.props;return r.current&&r.current.contains(n.target)}}componentDidMount(){if(Fn)window.addEventListener("keydown",this.keyHandler)}componentWillUnmount(){if(Fn)window.removeEventListener("keydown",this.keyHandler)}render(){return null}}fg.displayName="KeyboardHandler";fg.defaultProps={containerRef:null,createNavigableElements:()=>null,isActiveElement:(n)=>document.activeElement===n,getFocusableElement:(n)=>n,validSiblingTags:["BUTTON","A"],onlyTraverseSiblings:!0,updateTabIndex:!0,noHorizontalArrowHandling:!1,noVerticalArrowHandling:!1,noEnterHandling:!1,noSpaceHandling:!1};var bp=(n,r,a)=>{let l;if(Fn){let{ResizeObserver:f}=window;if(n&&f){let u=new f((p)=>{if(a)window.requestAnimationFrame(()=>{if(Array.isArray(p)&&p.length>0)r()});else if(Array.isArray(p)&&p.length>0)r()});u.observe(n),l=()=>u.unobserve(n)}else window.addEventListener("resize",r),l=()=>window.removeEventListener("resize",r)}return()=>{if(l)l()}};var Xn=w(X()),Z6=w(Oe());var Vt={badge:"pf-v6-c-badge",button:"pf-v6-c-button",buttonCount:"pf-v6-c-button__count",buttonHamburgerIcon:"pf-v6-c-button--hamburger-icon",buttonHamburgerIconArrow:"pf-v6-c-button--hamburger-icon--arrow",buttonHamburgerIconBottom:"pf-v6-c-button--hamburger-icon--bottom",buttonHamburgerIconMiddle:"pf-v6-c-button--hamburger-icon--middle",buttonHamburgerIconTop:"pf-v6-c-button--hamburger-icon--top",buttonIcon:"pf-v6-c-button__icon",buttonIconFavorite:"pf-v6-c-button__icon-favorite",buttonIconFavorited:"pf-v6-c-button__icon-favorited",buttonProgress:"pf-v6-c-button__progress",buttonText:"pf-v6-c-button__text",compassDock:"pf-v6-c-compass__dock",dirRtl:"pf-v6-m-dir-rtl",modifiers:{primary:"pf-m-primary",unread:"pf-m-unread",secondary:"pf-m-secondary",danger:"pf-m-danger",tertiary:"pf-m-tertiary",link:"pf-m-link",inline:"pf-m-inline",clicked:"pf-m-clicked",displayLg:"pf-m-display-lg",warning:"pf-m-warning",control:"pf-m-control",plain:"pf-m-plain",noPadding:"pf-m-no-padding",stateful:"pf-m-stateful",read:"pf-m-read",attention:"pf-m-attention",block:"pf-m-block",small:"pf-m-small",favorite:"pf-m-favorite",favorited:"pf-m-favorited",settings:"pf-m-settings",hamburger:"pf-m-hamburger",expand:"pf-m-expand",collapse:"pf-m-collapse",circle:"pf-m-circle",disabled:"pf-m-disabled",ariaDisabled:"pf-m-aria-disabled",progress:"pf-m-progress",inProgress:"pf-m-in-progress",notify:"pf-m-notify",docked:"pf-m-docked",textExpanded:"pf-m-text-expanded",start:"pf-m-start",end:"pf-m-end"},pageDock:"pf-v6-c-page__dock",spinner:"pf-v6-c-spinner"};var qR=w(X());var ug={modifiers:{inline:"pf-m-inline",xs:"pf-m-xs",sm:"pf-m-sm",md:"pf-m-md",lg:"pf-m-lg",xl:"pf-m-xl"},noMotion:"pf-v6-m-no-motion",spinner:"pf-v6-c-spinner",spinnerPath:"pf-v6-c-spinner__path"};var hG={name:"--pf-v6-c-spinner--diameter",value:"3.5rem",var:"var(--pf-v6-c-spinner--diameter)"},$6=hG;var hv;(function(n){n.sm="sm",n.md="md",n.lg="lg",n.xl="xl"})(hv||(hv={}));var Pa=(n)=>{var{className:r="",size:a="xl","aria-valuetext":l="Loading...",diameter:f,isInline:u=!1,"aria-label":p,"aria-labelledBy":h}=n,b=E(n,["className","size","aria-valuetext","diameter","isInline","aria-label","aria-labelledBy"]);return qR.jsx("svg",Object.assign({className:S(ug.spinner,u?ug.modifiers.inline:ug.modifiers[a],r),role:"progressbar","aria-valuetext":l,viewBox:"0 0 100 100"},f&&{style:{[$6.name]:f}},p&&{"aria-label":p},h&&{"aria-labelledBy":h},!p&&!h&&{"aria-label":"Contents"},b,{children:qR.jsx("circle",{className:ug.spinnerPath,cx:"50",cy:"50",r:"45",fill:"none"})}))};Pa.displayName="Spinner";var gv=w(X());var dg={badge:"pf-v6-c-badge",badgeToggleIcon:"pf-v6-c-badge__toggle-icon",modifiers:{read:"pf-m-read",unread:"pf-m-unread",disabled:"pf-m-disabled"}};var $R=(n)=>{var{isRead:r=!1,isDisabled:a=!1,className:l="",children:f="",screenReaderText:u}=n,p=E(n,["isRead","isDisabled","className","children","screenReaderText"]);return gv.jsxs("span",Object.assign({},p,{className:S(dg.badge,r?dg.modifiers.read:dg.modifiers.unread,a&&dg.modifiers.disabled,l),children:[f,u&&gv.jsx("span",{className:"pf-v6-screen-reader",children:u})]}))};$R.displayName="Badge";var gG={name:"RhUiStarFillIcon",icon:{xOffset:0,yOffset:0,width:32,height:32,svgPathData:"m30.844 12.76-7.749 6.619 1.885 9.425a.998.998 0 0 1-.98 1.197c-.184 0-.368-.051-.53-.152L16 25.181l-7.47 4.668a.998.998 0 0 1-1.51-1.044l1.885-9.425-7.749-6.62a1 1 0 0 1 .557-1.756l10.245-.945 3.119-7.446a1 1 0 0 1 1.844 0l3.119 7.446 10.245.945a1 1 0 0 1 .557 1.756Z"},rhUiIcon:null},bG=qe(gG),bv=bG;var xG={name:"RhUiStarIcon",icon:{xOffset:0,yOffset:0,width:32,height:32,svgPathData:"M24 30c-.184 0-.368-.051-.53-.152L16 25.18l-7.47 4.668a.998.998 0 0 1-1.51-1.044l1.885-9.425-7.749-6.619a1 1 0 0 1 .557-1.756l10.245-.945 3.119-7.446a1 1 0 0 1 1.844 0l3.119 7.446 10.245.945a1 1 0 0 1 .557 1.756l-7.749 6.619 1.885 9.425a.998.998 0 0 1-.98 1.197Zm-8-7c.184 0 .368.051.53.152l6.035 3.771-1.545-7.728a1.002 1.002 0 0 1 .331-.957l6.394-5.461-8.485-.783a1 1 0 0 1-.831-.609L16 5.587l-2.429 5.798a.998.998 0 0 1-.831.609l-8.485.783 6.394 5.461c.275.235.402.602.331.957l-1.545 7.728 6.035-3.771A.993.993 0 0 1 16 23Z"},rhUiIcon:null},IG=qe(xG),Y6=IG;var vG={name:"RhUiSettingsFillIcon",icon:{xOffset:0,yOffset:0,width:32,height:32,svgPathData:"M26.463 16.845a9.635 9.635 0 0 0-.002-1.688l3.41-1.974a.5.5 0 0 0 .235-.548 14.47 14.47 0 0 0-4.142-7.167.5.5 0 0 0-.594-.07l-3.404 1.97c-.469-.326-.96-.61-1.466-.85V2.58a.5.5 0 0 0-.356-.48 14.662 14.662 0 0 0-8.288 0 .5.5 0 0 0-.356.48v3.944c-.513.245-1.003.528-1.462.846L6.63 5.397a.5.5 0 0 0-.594.07 14.47 14.47 0 0 0-4.142 7.168.5.5 0 0 0 .236.548l3.407 1.972a9.635 9.635 0 0 0 .002 1.688l-3.41 1.974a.5.5 0 0 0-.235.548 14.47 14.47 0 0 0 4.142 7.167c.16.154.405.18.594.07l3.404-1.97c.469.326.96.61 1.466.85v3.938a.5.5 0 0 0 .356.48c1.333.398 2.728.6 4.144.6s2.81-.202 4.144-.6a.5.5 0 0 0 .356-.48v-3.944a10.449 10.449 0 0 0 1.462-.846l3.408 1.973a.5.5 0 0 0 .594-.07 14.47 14.47 0 0 0 4.142-7.168.5.5 0 0 0-.236-.548l-3.407-1.972ZM16 21c-2.757 0-5-2.243-5-5s2.243-5 5-5 5 2.243 5 5-2.243 5-5 5Z"},rhUiIcon:null},CG=qe(vG),xv=CG;var xu=w(X());var W6=xu.jsxs("svg",{viewBox:"0 0 10 10",className:S(Vt.buttonHamburgerIcon,"pf-v6-svg"),width:"1em",height:"1em",children:[xu.jsx("path",{className:S(Vt.buttonHamburgerIconTop),d:"M1,1 L9,1"}),xu.jsx("path",{className:S(Vt.buttonHamburgerIconMiddle),d:"M1,5 L9,5"}),xu.jsx("path",{className:S(Vt.buttonHamburgerIconArrow),d:"M1,5 L1,5 L1,5"}),xu.jsx("path",{className:S(Vt.buttonHamburgerIconBottom),d:"M9,9 L1,9"})]});var _i;(function(n){n.primary="primary",n.secondary="secondary",n.tertiary="tertiary",n.danger="danger",n.warning="warning",n.link="link",n.plain="plain",n.control="control",n.stateful="stateful"})(_i||(_i={}));var YR;(function(n){n.button="button",n.submit="submit",n.reset="reset"})(YR||(YR={}));var pg;(function(n){n.default="default",n.sm="sm",n.lg="lg"})(pg||(pg={}));var WR;(function(n){n.read="read",n.unread="unread",n.attention="attention"})(WR||(WR={}));var yG=(n)=>{var{children:r=null,className:a="",component:l="button",isClicked:f=!1,isBlock:u=!1,isDisabled:p=!1,isAriaDisabled:h=!1,isLoading:b=null,isDanger:x=!1,isExpanded:y,isSettings:_,isHamburger:v,hamburgerVariant:I,isCircle:O,isDocked:A=!1,isTextExpanded:D=!1,spinnerAriaValueText:k,spinnerAriaLabelledBy:z,spinnerAriaLabel:M,size:V=pg.default,inoperableEvents:G=["onClick","onKeyPress"],isInline:K=!1,isFavorite:ie=!1,isFavorited:re=!1,type:de=YR.button,variant:J=_i.primary,state:Ce=WR.unread,hasNoPadding:Q=!1,iconPosition:L="start","aria-label":Y=null,icon:P=null,role:Z,ouiaId:ne,ouiaSafe:he=!0,tabIndex:le=null,innerRef:Me,countOptions:B}=n,ce=E(n,["children","className","component","isClicked","isBlock","isDisabled","isAriaDisabled","isLoading","isDanger","isExpanded","isSettings","isHamburger","hamburgerVariant","isCircle","isDocked","isTextExpanded","spinnerAriaValueText","spinnerAriaLabelledBy","spinnerAriaLabel","size","inoperableEvents","isInline","isFavorite","isFavorited","type","variant","state","hasNoPadding","iconPosition","aria-label","icon","role","ouiaId","ouiaSafe","tabIndex","innerRef","countOptions"]);if(v&&![!0,!1].includes(y))console.error("Button: when the isHamburger property is passed in, you must also pass in a boolean value to the isExpanded property. It is expected that a hamburger button controls the expansion of other content.");if((_||v||ie)&&!Y&&!r&&!ce["aria-labelledby"])console.error("Button: you must provide either visible text content or an accessible name via the aria-label or aria-labelledby properties.");let fe=Jn(Le.displayName,ne,he,J),se=l,be=se==="button",De=K&&se==="span",we=L==="end"||L==="right",Ze=_||v||ie,ct=G.reduce((ke,Dt)=>Object.assign(Object.assign({},ke),{[Dt]:(pt)=>{pt.preventDefault()}}),{}),Tt=()=>{if(p)return be?null:-1;else if(h)return null;else if(De)return 0},Re=(()=>{let ke;if(ie)ke=Xn.jsxs(Xn.Fragment,{children:[Xn.jsx("span",{className:S("pf-v6-c-button__icon-favorite"),children:Xn.jsx(Y6,{})}),Xn.jsx("span",{className:S("pf-v6-c-button__icon-favorited"),children:Xn.jsx(bv,{})})]});if(_)ke=Xn.jsx(xv,{});if(v)ke=W6;if(P&&!Ze)ke=P;return ke&&Xn.jsx("span",{className:S(Vt.buttonIcon,r&&Vt.modifiers[we?"end":"start"]),children:ke})})(),Ue=r&&Xn.jsx("span",{className:S("pf-v6-c-button__text"),children:r});return Xn.jsxs(se,Object.assign({"aria-expanded":y},ce,h?ct:null,(h||!be&&p)&&{"aria-disabled":!0},{"aria-label":Y,className:S(Vt.button,Vt.modifiers[J],_&&Vt.modifiers.settings,v&&Vt.modifiers.hamburger,v&&I&&Vt.modifiers[I],u&&Vt.modifiers.block,p&&!be&&Vt.modifiers.disabled,h&&Vt.modifiers.ariaDisabled,f&&Vt.modifiers.clicked,K&&J===_i.link&&Vt.modifiers.inline,ie&&Vt.modifiers.favorite,ie&&re&&Vt.modifiers.favorited,x&&(J===_i.secondary||J===_i.link)&&Vt.modifiers.danger,b!==null&&J!==_i.plain&&Vt.modifiers.progress,b&&Vt.modifiers.inProgress,Q&&J===_i.plain&&Vt.modifiers.noPadding,J===_i.stateful&&Vt.modifiers[Ce],V===pg.sm&&Vt.modifiers.small,V===pg.lg&&Vt.modifiers.displayLg,O&&Vt.modifiers.circle,A&&Vt.modifiers.docked,A&&D&&Vt.modifiers.textExpanded,a),disabled:be?p:null,tabIndex:le!==null?le:Tt(),type:be||De?de:null,role:De?"button":Z,ref:Me},fe,{children:[b&&Xn.jsx("span",{className:S(Vt.buttonProgress),children:Xn.jsx(Pa,{size:hv.md,isInline:K,"aria-valuetext":k,"aria-label":M,"aria-labelledby":z})}),we?Xn.jsxs(Xn.Fragment,{children:[Ue,Re]}):Xn.jsxs(Xn.Fragment,{children:[Re,Ue]}),B&&Xn.jsx("span",{className:S(Vt.buttonCount,B.className),children:Xn.jsx($R,{isRead:B.isRead,isDisabled:p,children:B.count})})]}))},Le=Z6.forwardRef((n,r)=>Xn.jsx(yG,Object.assign({innerRef:r},n)));Le.displayName="Button";var SG={name:"RhMicronsCloseIcon",icon:{xOffset:0,yOffset:0,width:20,height:20,svgPathData:"M17.8 16.2 11.59 10l6.21-6.21c.42-.46.39-1.17-.07-1.59-.43-.4-1.09-.4-1.52 0l-6.2 6.2-6.22-6.19c-.44-.44-1.15-.44-1.59 0-.44.44-.44 1.15 0 1.59l6.2 6.21-6.2 6.2c-.42.46-.39 1.17.07 1.59.43.4 1.09.4 1.52 0L10 11.59l6.2 6.2c.44.44 1.15.44 1.59 0 .44-.45.44-1.16 0-1.6Z"},rhUiIcon:null},_G=qe(SG),Nc=_G;var JR=w(X()),tB=w(Oe()),nB=w(qI());var Iu={backdrop:"pf-v6-c-backdrop",backdropOpen:"pf-v6-c-backdrop__open"};var xp=w(X());var Iv={bullseye:"pf-v6-l-bullseye"};var K6=w(X());var ZR=(n)=>{var{children:r=null,className:a=""}=n,l=E(n,["children","className"]);return K6.jsx("div",Object.assign({},l,{className:S(Iu.backdrop,a),children:r}))};ZR.displayName="Backdrop";var vv=w(X());var Sn={button:"pf-v6-c-button",modalBox:"pf-v6-c-modal-box",modalBoxBody:"pf-v6-c-modal-box__body",modalBoxClose:"pf-v6-c-modal-box__close",modalBoxDescription:"pf-v6-c-modal-box__description",modalBoxFooter:"pf-v6-c-modal-box__footer",modalBoxHeader:"pf-v6-c-modal-box__header",modalBoxHeaderMain:"pf-v6-c-modal-box__header-main",modalBoxTitle:"pf-v6-c-modal-box__title",modalBoxTitleIcon:"pf-v6-c-modal-box__title-icon",modalBoxTitleText:"pf-v6-c-modal-box__title-text",modifiers:{sm:"pf-m-sm",md:"pf-m-md",lg:"pf-m-lg",alignTop:"pf-m-align-top",danger:"pf-m-danger",warning:"pf-m-warning",success:"pf-m-success",custom:"pf-m-custom",info:"pf-m-info",help:"pf-m-help",icon:"pf-m-icon"}};var Cv=(n)=>{var{className:r,onClose:a,"aria-label":l="Close",ouiaId:f}=n,u=E(n,["className","onClose","aria-label","ouiaId"]);return vv.jsx("div",{className:S(Sn.modalBoxClose,r),children:vv.jsx(Le,Object.assign({variant:"plain",onClick:(p)=>a(p),"aria-label":l},f&&{ouiaId:`${f}-${Cv.displayName}`},u,{icon:vv.jsx(Nc,{})}))})};Cv.displayName="ModalBoxCloseButton";var Q6=w(X());var RG={name:"--pf-v6-c-modal-box--m-align-top--spacer",value:"0.5rem",var:"var(--pf-v6-c-modal-box--m-align-top--spacer)"},J6=RG;var KR=(n)=>{var{children:r,className:a,variant:l="default",position:f,positionOffset:u,"aria-labelledby":p,"aria-label":h,"aria-describedby":b,style:x}=n,y=E(n,["children","className","variant","position","positionOffset","aria-labelledby","aria-label","aria-describedby","style"]);if(u)x=x||{},x[J6.name]=u;return Q6.jsx("div",Object.assign({role:"dialog","aria-label":h||null,"aria-labelledby":p||null,"aria-describedby":b,"aria-modal":"true",className:S(Sn.modalBox,a,f==="top"&&Sn.modifiers.alignTop,l==="large"&&Sn.modifiers.lg,l==="small"&&Sn.modifiers.sm,l==="medium"&&Sn.modifiers.md),style:x},y,{children:r}))};KR.displayName="ModalBox";var yv=(n)=>{var{backdropClassName:r,children:a,className:l,isOpen:f=!1,"aria-label":u,"aria-describedby":p,"aria-labelledby":h,onClose:b,variant:x="default",position:y,positionOffset:_,width:v,maxWidth:I,boxId:O,backdropId:A,disableFocusTrap:D=!1,ouiaId:k,ouiaSafe:z=!0,elementToFocus:M,focusTrapId:V}=n,G=E(n,["backdropClassName","children","className","isOpen","aria-label","aria-describedby","aria-labelledby","onClose","variant","position","positionOffset","width","maxWidth","boxId","backdropId","disableFocusTrap","ouiaId","ouiaSafe","elementToFocus","focusTrapId"]);if(!f)return null;let K=()=>{if(h)return h;if(u)return;return O},ie=xp.jsxs(KR,Object.assign({className:S(l),variant:x,position:y,positionOffset:_,"aria-label":u,"aria-labelledby":K(),"aria-describedby":p},fn(yv.displayName,k,z),{style:Object.assign(Object.assign({},v&&{"--pf-v6-c-modal-box--Width":typeof v!=="number"?v:`${v}px`}),I&&{"--pf-v6-c-modal-box--MaxWidth":typeof I!=="number"?I:`${I}px`})},G,{id:O,children:[b&&xp.jsx(Cv,{onClose:(re)=>b(re),ouiaId:k}),a]}));return xp.jsx(ZR,{className:S(r),id:A,children:xp.jsx(su,{active:!D,focusTrapOptions:{clickOutsideDeactivates:!0,tabbableOptions:{displayCheck:"none"},initialFocus:M||void 0},className:S(Iv.bullseye),id:V,children:ie})})};yv.displayName="ModalContent";var eB;(function(n){n.small="small",n.medium="medium",n.large="large",n.default="default"})(eB||(eB={}));class vu extends tB.Component{constructor(n){super(n);this.boxId="",this.backdropId="",this.handleEscKeyClick=(l)=>{var f,u;let{onEscapePress:p}=this.props;if(l.key===Dl.Escape&&this.props.isOpen)p?p(l):(u=(f=this.props).onClose)===null||u===void 0||u.call(f,l)},this.getElement=(l)=>{if(typeof l==="function")return l();return l||document.body},this.toggleSiblingsFromScreenReaders=(l)=>{let{appendTo:f}=this.props,p=this.getElement(f).children;for(let h of Array.from(p))if(h.id!==this.backdropId)l?h.setAttribute("aria-hidden",""+l):h.removeAttribute("aria-hidden")},this.isEmpty=(l)=>l===null||l===void 0||l==="";let r=vu.currentId++,a=r+1;this.boxId=n.id||`pf-modal-part-${r}`,this.backdropId=`pf-modal-part-${a}`,this.state={mounted:!1}}componentDidMount(){this.setState({mounted:!0});let{appendTo:n}=this.props,r=this.getElement(n);if(r.addEventListener("keydown",this.handleEscKeyClick,!1),this.props.isOpen)r.classList.add(S(Iu.backdropOpen)),this.toggleSiblingsFromScreenReaders(!0)}componentDidUpdate(n){let{appendTo:r}=this.props,a=this.getElement(r);if(this.props.isOpen)a.classList.add(S(Iu.backdropOpen)),this.toggleSiblingsFromScreenReaders(!0);else if(n.isOpen!==this.props.isOpen)a.classList.remove(S(Iu.backdropOpen)),this.toggleSiblingsFromScreenReaders(!1)}componentWillUnmount(){let{appendTo:n}=this.props,r=this.getElement(n);r.removeEventListener("keydown",this.handleEscKeyClick,!1),r.classList.remove(S(Iu.backdropOpen)),this.toggleSiblingsFromScreenReaders(!1)}render(){let n=this.props,{appendTo:r,onEscapePress:a,"aria-labelledby":l,"aria-label":f,"aria-describedby":u,ouiaId:p,ouiaSafe:h,position:b,elementToFocus:x}=n,y=E(n,["appendTo","onEscapePress","aria-labelledby","aria-label","aria-describedby","ouiaId","ouiaSafe","position","elementToFocus"]);if(!this.state.mounted||!Fn||!this.getElement(r))return null;return JR.jsx(Hn,{prefix:"pf-",ouiaComponentType:`Modal${this.props.variant?`-${this.props.variant}`:""}`,children:(_,v)=>nB.createPortal(JR.jsx(yv,Object.assign({boxId:this.boxId,backdropId:this.backdropId,"aria-label":f,"aria-describedby":u,"aria-labelledby":l,ouiaId:p!==void 0?p:v,ouiaSafe:h,position:b,elementToFocus:x,backdropClassName:y.backdropClassName},y)),this.getElement(r))})}}vu.displayName="Modal";vu.currentId=0;vu.defaultProps={isOpen:!1,variant:"default",appendTo:()=>document.body,ouiaSafe:!0,position:"default"};var oB=w(X());var QR=(n)=>{var{children:r,className:a,"aria-label":l,role:f}=n,u=E(n,["children","className","aria-label","role"]);return oB.jsx("div",Object.assign({"aria-label":l,role:f||(l?"region":void 0),className:S(Sn.modalBoxBody,a)},u,{children:r}))};QR.displayName="ModalBody";var oa=w(X());var rB=w(X());var eO=(n)=>{var{children:r=null,className:a="",id:l=""}=n,f=E(n,["children","className","id"]);return rB.jsx("div",Object.assign({},f,{id:l,className:S(Sn.modalBoxDescription,a),children:r}))};eO.displayName="ModalBoxDescription";var Ri=w(X()),_v=w(Oe());var Ip=w(X()),Nl=w(Oe());var xo={modifiers:{top:"pf-m-top",topLeft:"pf-m-top-left",topRight:"pf-m-top-right",bottom:"pf-m-bottom",bottomLeft:"pf-m-bottom-left",bottomRight:"pf-m-bottom-right",left:"pf-m-left",leftTop:"pf-m-left-top",leftBottom:"pf-m-left-bottom",right:"pf-m-right",rightTop:"pf-m-right-top",rightBottom:"pf-m-right-bottom",textAlignLeft:"pf-m-text-align-left"},tooltip:"pf-v6-c-tooltip",tooltipArrow:"pf-v6-c-tooltip__arrow",tooltipContent:"pf-v6-c-tooltip__content"};var iB=w(X());var tO=(n)=>{var{className:r,children:a,isLeftAligned:l}=n,f=E(n,["className","children","isLeftAligned"]);return iB.jsx("div",Object.assign({className:S(xo.tooltipContent,l&&xo.modifiers.textAlignLeft,r)},f,{children:a}))};tO.displayName="TooltipContent";var aB=w(X());var nO=(n)=>{var{className:r}=n,a=E(n,["className"]);return aB.jsx("div",Object.assign({className:S(xo.tooltipArrow,r)},a))};nO.displayName="TooltipArrow";var OG={name:"--pf-v6-c-tooltip--MaxWidth",value:"18.75rem",var:"var(--pf-v6-c-tooltip--MaxWidth)"},oO=OG;var lB;(function(n){n.auto="auto",n.top="top",n.bottom="bottom",n.left="left",n.right="right",n.topStart="top-start",n.topEnd="top-end",n.bottomStart="bottom-start",n.bottomEnd="bottom-end",n.leftStart="left-start",n.leftEnd="left-end",n.rightStart="right-start",n.rightEnd="right-end"})(lB||(lB={}));var hn=(n)=>{var{content:r,position:a="top",trigger:l="mouseenter focus",isVisible:f=!1,isContentLeftAligned:u=!1,enableFlip:p=!0,className:h="",entryDelay:b=300,exitDelay:x=300,appendTo:y=()=>document.body,zIndex:_=9999,minWidth:v,maxWidth:I=oO.value,distance:O=15,aria:A="describedby",flipBehavior:D=["top","right","bottom","left","top","right","bottom"],id:k,children:z,animationDuration:M=300,triggerRef:V,"aria-live":G=V?"polite":"off",onTooltipHidden:K=()=>{}}=n,ie=E(n,["content","position","trigger","isVisible","isContentLeftAligned","enableFlip","className","entryDelay","exitDelay","appendTo","zIndex","minWidth","maxWidth","distance","aria","flipBehavior","id","children","animationDuration","triggerRef","aria-live","onTooltipHidden"]);let re=ho("pf-tooltip-"),de=k!==null&&k!==void 0?k:re,J=!0,Ce=l.includes("mouseenter"),Q=l.includes("focus"),L=l.includes("click"),Y=l==="manual",[P,Z]=Nl.useState(!1),ne=Nl.createRef(),he=()=>{if(typeof V==="function")return V();else if(V&&typeof V==="object"&&"current"in V)return V.current;else if(V instanceof HTMLElement)return V;return null},le=()=>A!=="none"?`aria-${A}`:null,Me=(Re)=>{let Ue=le();if(!Re||!Ue)return;let tt=Re.getAttribute(Ue);if(!tt||!tt.includes(de)){let ke=tt?`${tt} ${de}`:de;Re.setAttribute(Ue,ke)}},B=(Re)=>{let Ue=le();if(!Re||!Ue)return;let tt=Re.getAttribute(Ue);if(!tt)return;let ke=tt.split(/\s+/).filter((Dt)=>Dt!==de).join(" ");if(ke)Re.setAttribute(Ue,ke);else Re.removeAttribute(Ue)},ce=(Re)=>{if(A==="none"||!V||z)return;let Ue=he();if(!Ue)return;if(Re)Me(Ue);else B(Ue)};Nl.useEffect(()=>(ce(P),()=>{ce(!1)}),[P,A,V,z,de]);let fe=(Re)=>{if(!Y){if(Re.key===Dl.Escape&&P)De()}},se=(Re)=>{if(Re.key===Dl.Enter)if(!P)be();else De()};Nl.useEffect(()=>{if(f)be();else De()},[f]);let be=()=>{Z(!0)},De=()=>{Z(!1)},we={top:xo.modifiers.top,bottom:xo.modifiers.bottom,left:xo.modifiers.left,right:xo.modifiers.right,"top-start":xo.modifiers.topLeft,"top-end":xo.modifiers.topRight,"bottom-start":xo.modifiers.bottomLeft,"bottom-end":xo.modifiers.bottomRight,"left-start":xo.modifiers.leftTop,"left-end":xo.modifiers.leftBottom,"right-start":xo.modifiers.rightTop,"right-end":xo.modifiers.rightBottom},Ze=I!==oO.value,ct=Ip.jsxs("div",Object.assign({"aria-live":G,className:S(xo.tooltip,h),role:"tooltip",id:de,style:{maxWidth:Ze?I:null},ref:ne},ie,{children:[Ip.jsx(nO,{}),Ip.jsx(tO,{isLeftAligned:u,children:r})]})),Tt=(Re,Ue)=>{if(J===!0){if(P)De();else if(Re.target===Ue)be()}else if(J==="toggle"&&Re.target===Ue)if(P)De();else be();else if(J===!1&&!P&&Re.target===Ue)be()};return Ip.jsx(ka,{trigger:A!=="none"&&P?(()=>{if(!z)return;if(A==="describedby"&&z.props&&!z.props["aria-describedby"])return Nl.cloneElement(z,{"aria-describedby":de});else if(A==="labelledby"&&z.props&&!z.props["aria-labelledby"])return Nl.cloneElement(z,{"aria-labelledby":de});return z})():z,triggerRef:V,popper:ct,popperRef:ne,minWidth:v!==void 0?v:"revert",appendTo:y,isVisible:P,positionModifiers:we,distance:O,placement:a,onMouseEnter:Ce&&be,onMouseLeave:Ce&&De,onPopperMouseEnter:Ce&&be,onPopperMouseLeave:Ce&&De,onFocus:Q&&be,onBlur:Q&&De,onDocumentClick:L&&Tt,onDocumentKeyDown:Y?null:fe,onTriggerEnter:Y?null:se,enableFlip:p,zIndex:_,flipBehavior:D,animationDuration:M,entryDelay:b,exitDelay:x,onHidden:K})};hn.displayName="Tooltip";var Sv=(n)=>["success","danger","warning","info","custom"].includes(n),rO=(n)=>{var{className:r,id:a,title:l,titleIconVariant:f,titleScreenReaderText:u}=n,p=E(n,["className","id","title","titleIconVariant","titleScreenReaderText"]);let[h,b]=_v.useState(!1),x=_v.useRef(null),y=u||(Sv(f)?`${og(f)} alert:`:u),_={success:Ri.jsx(Qi,{}),danger:Ri.jsx(ea,{}),warning:Ri.jsx(ta,{}),info:Ri.jsx(wc,{}),custom:Ri.jsx(Ac,{})},v=!Sv(f)&&f;Ss(()=>{b(x.current&&x.current.offsetWidth<x.current.scrollWidth)},[]);let I=Ri.jsxs("h1",Object.assign({id:a,ref:x,className:S(Sn.modalBoxTitle,f&&Sn.modifiers.icon,Sv(f)&&Sn.modifiers[f],r)},p,{children:[f&&Ri.jsx("span",{className:S(Sn.modalBoxTitleIcon),children:Sv(f)?_[f]:Ri.jsx(v,{})}),y&&Ri.jsx("span",{className:"pf-v6-screen-reader",children:y}),Ri.jsx("span",{className:S(Sn.modalBoxTitleText),children:l})]}));return h?Ri.jsx(hn,{content:l,children:I}):I};rO.displayName="ModalBoxTitle";var iO=(n)=>{var{children:r,className:a,descriptorId:l,description:f,labelId:u,title:p,titleIconVariant:h,titleScreenReaderText:b,help:x}=n,y=E(n,["children","className","descriptorId","description","labelId","title","titleIconVariant","titleScreenReaderText","help"]);let _=r?r:oa.jsxs(oa.Fragment,{children:[oa.jsx(rO,{title:p,titleIconVariant:h,titleScreenReaderText:b,id:u}),f&&oa.jsx(eO,{id:l,children:f})]});return oa.jsxs("header",Object.assign({className:S(Sn.modalBoxHeader,x&&Sn.modifiers.help,a)},y,{children:[x&&oa.jsxs(oa.Fragment,{children:[oa.jsx("div",{className:S(Sn.modalBoxHeaderMain),children:_}),oa.jsx("div",{className:`${Sn.modalBoxHeader}-help`,children:x})]}),!x&&_]}))};iO.displayName="ModalHeader";var sB=w(X());var aO=(n)=>{var{children:r,className:a}=n,l=E(n,["children","className"]);return sB.jsx("footer",Object.assign({},l,{className:S(Sn.modalBoxFooter,a),children:r}))};aO.displayName="ModalFooter";var wG={name:"RhMicronsCaretDownIcon",icon:{xOffset:0,yOffset:0,width:20,height:20,svgPathData:"M18.71 5.29a.996.996 0 0 0-1.41 0l-7.29 7.29-7.3-7.29a.987.987 0 0 0-1.41-.02.987.987 0 0 0-.02 1.41l.02.02 7.65 7.65c.29.29.68.44 1.06.44s.77-.15 1.06-.44l7.65-7.65a.996.996 0 0 0 0-1.41Z"},rhUiIcon:null},AG=qe(wG),Bl=AG;var cB=w(X());var vp={actionList:"pf-v6-c-action-list",actionListGroup:"pf-v6-c-action-list__group",modifiers:{icons:"pf-m-icons",vertical:"pf-m-vertical"}};var lO=(n)=>{var{children:r,isIconList:a,className:l,isVertical:f=!1}=n,u=E(n,["children","isIconList","className","isVertical"]);return cB.jsx("div",Object.assign({className:S(vp.actionList,a&&vp.modifiers.icons,f&&vp.modifiers.vertical,l)},u,{children:r}))};lO.displayName="ActionList";var fB=w(X());var Rv=(n)=>{var{children:r,className:a}=n,l=E(n,["children","className"]);return fB.jsx("div",Object.assign({className:S(`${vp.actionList}__item`,a)},l,{children:r}))};Rv.displayName="ActionListItem";var Lr=w(X()),zn=w(Oe());var Vo={alert:"pf-v6-c-alert",alertAction:"pf-v6-c-alert__action",alertActionGroup:"pf-v6-c-alert__action-group",alertDescription:"pf-v6-c-alert__description",alertIcon:"pf-v6-c-alert__icon",alertTitle:"pf-v6-c-alert__title",alertToggle:"pf-v6-c-alert__toggle",alertToggleIcon:"pf-v6-c-alert__toggle-icon",button:"pf-v6-c-button",dirRtl:"pf-v6-m-dir-rtl",modifiers:{custom:"pf-m-custom",success:"pf-m-success",danger:"pf-m-danger",warning:"pf-m-warning",info:"pf-m-info",inline:"pf-m-inline",plain:"pf-m-plain",expandable:"pf-m-expandable",expanded:"pf-m-expanded",truncate:"pf-m-truncate"}};var Ov={alert:"pf-v6-c-alert",alertGroup:"pf-v6-c-alert-group",alertGroupItem:"pf-v6-c-alert-group__item",alertGroupOverflowButton:"pf-v6-c-alert-group__overflow-button",dirRtl:"pf-v6-m-dir-rtl",modifiers:{toast:"pf-m-toast",offstageTop:"pf-m-offstage-top",incoming:"pf-m-incoming",offstageRight:"pf-m-offstage-right",outgoing:"pf-m-outgoing"}};var sO=w(X());var TG={success:Qi,danger:ea,warning:ta,info:wc,custom:Ac},uB=(n)=>{var{variant:r,customIcon:a,className:l=""}=n,f=E(n,["variant","customIcon","className"]);let u=TG[r];return u?sO.jsx("div",Object.assign({},f,{className:S(Vo.alertIcon,l),children:a||sO.jsx(u,{})})):null};var dB=w(Oe()),mg=dB.createContext(null);var pB=w(Oe()),mB=pB.createContext({hasAnimations:!1,updateTransitionEnd:()=>{}});var EG={name:"--pf-v6-c-alert__title--max-lines",value:"1",var:"var(--pf-v6-c-alert__title--max-lines)"},hB=EG;var wv=w(X()),gB=w(Oe());var cO=(n)=>{var{"aria-label":r="",variantLabel:a,onToggleExpand:l,isExpanded:f=!1}=n,u=E(n,["aria-label","variantLabel","onToggleExpand","isExpanded"]);let{title:p,variantLabel:h}=gB.useContext(mg);return wv.jsx(Le,Object.assign({variant:_i.plain,onClick:l,"aria-expanded":f,"aria-label":r===""?`Toggle ${a||h} alert: ${p}`:r},u,{icon:wv.jsx("span",{className:S(Vo.alertToggleIcon),children:wv.jsx(Bl,{})})}))};cO.displayName="AlertToggleExpandButton";var fO;(function(n){n.success="success",n.danger="danger",n.warning="warning",n.info="info",n.custom="custom"})(fO||(fO={}));var Cp=(n)=>{var{variant:r=fO.custom,isInline:a=!1,isPlain:l=!1,isLiveRegion:f=!1,variantLabel:u=`${og(r)} alert:`,actionClose:p,actionLinks:h,title:b,component:x="h4",children:y="",className:_="",ouiaId:v,ouiaSafe:I=!0,timeout:O=!1,timeoutAnimation:A=3000,onTimeout:D=()=>{},truncateTitle:k=0,tooltipPosition:z,customIcon:M,isExpandable:V=!1,toggleAriaLabel:G=`${og(r)} alert details`,onMouseEnter:K=()=>{},onMouseLeave:ie=()=>{},id:re}=n,de=E(n,["variant","isInline","isPlain","isLiveRegion","variantLabel","actionClose","actionLinks","title","component","children","className","ouiaId","ouiaSafe","timeout","timeoutAnimation","onTimeout","truncateTitle","tooltipPosition","customIcon","isExpandable","toggleAriaLabel","onMouseEnter","onMouseLeave","id"]);let J=Jn(Cp.displayName,v,I,r),Ce=Lr.jsxs(zn.Fragment,{children:[Lr.jsx("span",{className:"pf-v6-screen-reader",children:u}),b]}),Q=zn.useRef(null),L=x,Y=zn.useRef(void 0),[P,Z]=zn.useState(!1);zn.useEffect(()=>{if(!Q.current||!k)return;Q.current.style.setProperty(hB.name,k.toString());let Ke=Q.current&&Q.current.offsetHeight<Q.current.scrollHeight;if(P!==Ke)Z(Ke)},[Q,k,P]);let[ne,he]=zn.useState(!1),[le,Me]=zn.useState(!0),[B,ce]=zn.useState(),[fe,se]=zn.useState(),be=ne&&le&&!B&&!fe,[De,we]=zn.useState(!1),{hasAnimations:Ze,updateTransitionEnd:ct}=zn.useContext(mB),{offstageRight:Tt}=Ov.modifiers,yt=()=>{var Ke;return(Ke=Y.current)===null||Ke===void 0?void 0:Ke.closest(`.${Ov.alertGroupItem}`)};zn.useEffect(()=>{if(!(be&&!De))return;let Zt=yt();if(Zt===null||Zt===void 0||Zt.classList.add(Tt),Ze)ct(()=>{we(!0)});else we(!0)},[be,De]),zn.useEffect(()=>{let Ke=O===!0?8000:Number(O);if(Ke>0){let Zt=setTimeout(()=>he(!0),Ke);return()=>clearTimeout(Zt)}},[O]),zn.useEffect(()=>{let Ke=()=>{if(Y.current){if(Y.current.contains(document.activeElement))se(!0),Me(!1);else if(fe)se(!1)}};return document.addEventListener("focus",Ke,!0),()=>document.removeEventListener("focus",Ke,!0)},[fe]),zn.useEffect(()=>{if(fe===!1||B===!1){let Ke=setTimeout(()=>Me(!0),A);return()=>clearTimeout(Ke)}},[fe,B,A]),zn.useEffect(()=>{De&&D()},[De,D]),zn.useEffect(()=>{let Ke=yt();setTimeout(()=>Ke===null||Ke===void 0?void 0:Ke.classList.remove(Ov.modifiers.offstageTop),0)},[]);let[Re,Ue]=zn.useState(!1),tt=()=>{Ue(!Re)},ke=(Ke)=>{ce(!0),Me(!1),K(Ke)},Dt=(Ke)=>{ce(!1),ie(Ke)};if(be&&De)return null;let pt=Lr.jsx(L,Object.assign({},P&&{tabIndex:0},{ref:Q,className:S(Vo.alertTitle,k&&Vo.modifiers.truncate),children:Ce}));return Lr.jsxs("div",Object.assign({ref:Y,className:S(Vo.alert,a&&Vo.modifiers.inline,l&&Vo.modifiers.plain,V&&Vo.modifiers.expandable,Re&&Vo.modifiers.expanded,Vo.modifiers[r],_)},J,f&&{"aria-live":"polite","aria-atomic":"false"},{onMouseEnter:ke,onMouseLeave:Dt,id:re},de,{children:[V&&Lr.jsx(mg.Provider,{value:{title:b,variantLabel:u},children:Lr.jsx("div",{className:S(Vo.alertToggle),children:Lr.jsx(cO,{isExpanded:Re,onToggleExpand:tt,"aria-label":G})})}),Lr.jsx(uB,{variant:r,customIcon:M}),P?Lr.jsx(hn,{content:Ce,position:z,children:pt}):pt,p&&Lr.jsx(mg.Provider,{value:{title:b,variantLabel:u},children:Lr.jsx("div",{className:S(Vo.alertAction),children:p})}),y&&(!V||V&&Re)&&Lr.jsx("div",{className:S(Vo.alertDescription),children:y}),h&&Lr.jsx("div",{className:S(Vo.alertActionGroup),children:h})]}))};Cp.displayName="Alert";var uO=w(X()),yp=w(Oe());var Oi={breadcrumb:"pf-v6-c-breadcrumb",breadcrumbDropdown:"pf-v6-c-breadcrumb__dropdown",breadcrumbHeading:"pf-v6-c-breadcrumb__heading",breadcrumbItem:"pf-v6-c-breadcrumb__item",breadcrumbItemDivider:"pf-v6-c-breadcrumb__item-divider",breadcrumbLink:"pf-v6-c-breadcrumb__link",breadcrumbList:"pf-v6-c-breadcrumb__list",dirRtl:"pf-v6-m-dir-rtl",modifiers:{current:"pf-m-current"}};var Av=(n)=>{var{children:r=null,className:a="","aria-label":l="Breadcrumb",ouiaId:f,ouiaSafe:u=!0}=n,p=E(n,["children","className","aria-label","ouiaId","ouiaSafe"]);let h=Jn(Av.displayName,f,u);return uO.jsx("nav",Object.assign({},p,{"aria-label":l,className:S(Oi.breadcrumb,a)},h,{children:uO.jsx("ol",{className:Oi.breadcrumbList,role:"list",children:yp.Children.map(r,(b,x)=>{let y=x>0;if(yp.isValidElement(b))return yp.cloneElement(b,{showDivider:y});return b})})}))};Av.displayName="Breadcrumb";var Bc=w(X());var DG={name:"RhMicronsCaretRightIcon",icon:{xOffset:0,yOffset:0,width:20,height:20,svgPathData:"M14.35 8.94 6.71 1.29l-.02-.02c-.4-.38-1.03-.37-1.41.02-.38.4-.37 1.03.02 1.41l7.29 7.29-7.29 7.29a1.003 1.003 0 0 0 1.42 1.42l7.65-7.65c.59-.59.59-1.54 0-2.12Z"},rhUiIcon:null},MG=qe(DG),ra=MG;var Tv=(n)=>{var{children:r=null,className:a="",to:l=void 0,isActive:f=!1,isDropdown:u=!1,showDivider:p,target:h=void 0,component:b="a",render:x=void 0}=n,y=E(n,["children","className","to","isActive","isDropdown","showDivider","target","component","render"]);let _=b,v=f?"page":void 0,I=S(Oi.breadcrumbLink,f&&Oi.modifiers.current);return Bc.jsxs("li",Object.assign({},y,{className:S(Oi.breadcrumbItem,a),children:[p&&Bc.jsx("span",{className:Oi.breadcrumbItemDivider,children:Bc.jsx(ra,{})}),b==="button"&&Bc.jsx("button",{className:I,"aria-current":v,type:"button",children:r}),u&&Bc.jsx("span",{className:S(Oi.breadcrumbDropdown),children:r}),x&&x({className:I,ariaCurrent:v}),l&&!x&&Bc.jsx(_,{href:l,target:h,className:I,"aria-current":v,children:r}),!l&&b!=="button"&&!u&&r]}))};Tv.displayName="BreadcrumbItem";var _s=w(X()),Sp=w(Oe());var Io={formControl:"pf-v6-c-form-control",formControlIcon:"pf-v6-c-form-control__icon",formControlToggleIcon:"pf-v6-c-form-control__toggle-icon",formControlUtilities:"pf-v6-c-form-control__utilities",modifiers:{textarea:"pf-m-textarea",success:"pf-m-success",warning:"pf-m-warning",error:"pf-m-error",readonly:"pf-m-readonly",plain:"pf-m-plain",expanded:"pf-m-expanded",disabled:"pf-m-disabled",status:"pf-m-status",icon:"pf-m-icon",placeholder:"pf-m-placeholder",resizeVertical:"pf-m-resize-vertical",resizeHorizontal:"pf-m-resize-horizontal",resizeBoth:"pf-m-resize-both"}};var dO=w(X());var UG={success:Qi,error:ea,warning:ta},hg=(n)=>{var{status:r,customIcon:a,className:l}=n,f=E(n,["status","customIcon","className"]);let u=r&&UG[r];return dO.jsx("span",Object.assign({className:S(Io.formControlIcon,r&&Io.modifiers.status,l)},f,{children:a||dO.jsx(u,{})}))};var pO;(function(n){n.text="text",n.date="date",n.datetimeLocal="datetime-local",n.email="email",n.month="month",n.number="number",n.password="password",n.search="search",n.tel="tel",n.time="time",n.url="url"})(pO||(pO={}));var bB;(function(n){n.default="default",n.plain="plain"})(bB||(bB={}));class gg extends Sp.Component{constructor(n){super(n);if(this.inputRef=Sp.createRef(),this.observer=()=>{},this.handleChange=(r)=>{if(this.props.onChange)this.props.onChange(r,r.currentTarget.value)},this.handleResize=()=>{let r=this.props.innerRef||this.inputRef;if(r&&r.current)x6(r.current,String(this.props.value))},this.restoreText=()=>{let r=this.props.innerRef||this.inputRef;r.current.value=String(this.props.value),r.current.scrollLeft=r.current.scrollWidth},this.onFocus=(r)=>{let{isLeftTruncated:a,isStartTruncated:l,onFocus:f}=this.props;if(a||l)this.restoreText();f&&f(r)},this.onBlur=(r)=>{let{isLeftTruncated:a,isStartTruncated:l,onBlur:f}=this.props;if(a||l)this.handleResize();f&&f(r)},this.sanitizeInputValue=(r)=>typeof r==="string"?r.replace(/\n/g," "):r,!n.id&&!n["aria-label"]&&!n["aria-labelledby"])console.error("Text input:","Text input requires either an id or aria-label to be specified")}componentDidMount(){if(this.props.isLeftTruncated||this.props.isStartTruncated){let n=this.props.innerRef||this.inputRef;this.observer=bp(n.current,this.handleResize,!0),this.handleResize()}}componentWillUnmount(){if(this.props.isLeftTruncated||this.props.isStartTruncated)this.observer()}render(){let n=this.props,{innerRef:r,className:a,type:l,value:f,placeholder:u,validated:p,onChange:h,onFocus:b,onBlur:x,isLeftTruncated:y,isStartTruncated:_,isExpanded:v,expandedProps:I,readOnly:O,readOnlyVariant:A,isRequired:D,isDisabled:k,customIcon:z,ouiaId:M,ouiaSafe:V}=n,G=E(n,["innerRef","className","type","value","placeholder","validated","onChange","onFocus","onBlur","isLeftTruncated","isStartTruncated","isExpanded","expandedProps","readOnly","readOnlyVariant","isRequired","isDisabled","customIcon","ouiaId","ouiaSafe"]),K=["success","error","warning"].includes(p),ie=I?{"aria-expanded":I===null||I===void 0?void 0:I.isExpanded,"aria-controls":I===null||I===void 0?void 0:I.ariaControls,role:"combobox"}:{};return _s.jsx(Hn,{prefix:"pf-",ouiaComponentType:gg.displayName,children:(re,de)=>_s.jsxs("span",{className:S(Io.formControl,A&&Io.modifiers.readonly,A==="plain"&&Io.modifiers.plain,k&&Io.modifiers.disabled,(v||(I===null||I===void 0?void 0:I.isExpanded))&&Io.modifiers.expanded,z&&Io.modifiers.icon,K&&Io.modifiers[p],a),children:[_s.jsx("input",Object.assign({},G,{onFocus:this.onFocus,onBlur:this.onBlur,onChange:this.handleChange,type:l,value:this.sanitizeInputValue(f),"aria-invalid":G["aria-invalid"]?G["aria-invalid"]:p===up.error},ie,{required:D,disabled:k,readOnly:!!A||O,ref:r||this.inputRef,placeholder:u},fn(Kr.displayName,M!==void 0?M:de,V))),(z||K)&&_s.jsxs("span",{className:S(Io.formControlUtilities),children:[z&&_s.jsx(hg,{customIcon:z}),K&&_s.jsx(hg,{status:p})]})]})})}}gg.displayName="TextInputBase";gg.defaultProps={"aria-label":null,isRequired:!1,validated:"default",isDisabled:!1,isExpanded:!1,type:pO.text,isLeftTruncated:!1,isStartTruncated:!1,onChange:()=>{return},ouiaSafe:!0};var Kr=Sp.forwardRef((n,r)=>_s.jsx(gg,Object.assign({},n,{innerRef:r})));Kr.displayName="TextInput";var Cu=w(X()),_p=w(Oe());var at={button:"pf-v6-c-button",check:"pf-v6-c-check",dirRtl:"pf-v6-m-dir-rtl",divider:"pf-v6-c-divider",menu:"pf-v6-c-menu",menuBreadcrumb:"pf-v6-c-menu__breadcrumb",menuContent:"pf-v6-c-menu__content",menuFooter:"pf-v6-c-menu__footer",menuGroup:"pf-v6-c-menu__group",menuGroupTitle:"pf-v6-c-menu__group-title",menuHeader:"pf-v6-c-menu__header",menuItem:"pf-v6-c-menu__item",menuItemAction:"pf-v6-c-menu__item-action",menuItemActionIcon:"pf-v6-c-menu__item-action-icon",menuItemCheck:"pf-v6-c-menu__item-check",menuItemDescription:"pf-v6-c-menu__item-description",menuItemExternalIcon:"pf-v6-c-menu__item-external-icon",menuItemIcon:"pf-v6-c-menu__item-icon",menuItemMain:"pf-v6-c-menu__item-main",menuItemSelectIcon:"pf-v6-c-menu__item-select-icon",menuItemText:"pf-v6-c-menu__item-text",menuItemToggleIcon:"pf-v6-c-menu__item-toggle-icon",menuList:"pf-v6-c-menu__list",menuListItem:"pf-v6-c-menu__list-item",menuSearch:"pf-v6-c-menu__search",menuToggle:"pf-v6-c-menu-toggle",modifiers:{hidden:"pf-m-hidden",hiddenOnSm:"pf-m-hidden-on-sm",visibleOnSm:"pf-m-visible-on-sm",hiddenOnMd:"pf-m-hidden-on-md",visibleOnMd:"pf-m-visible-on-md",hiddenOnLg:"pf-m-hidden-on-lg",visibleOnLg:"pf-m-visible-on-lg",hiddenOnXl:"pf-m-hidden-on-xl",visibleOnXl:"pf-m-visible-on-xl",hiddenOn_2xl:"pf-m-hidden-on-2xl",visibleOn_2xl:"pf-m-visible-on-2xl",disabled:"pf-m-disabled",ariaDisabled:"pf-m-aria-disabled",flyout:"pf-m-flyout",top:"pf-m-top",left:"pf-m-left",drilldown:"pf-m-drilldown",drilledIn:"pf-m-drilled-in",currentPath:"pf-m-current-path",static:"pf-m-static",plain:"pf-m-plain",scrollable:"pf-m-scrollable",load:"pf-m-load",loading:"pf-m-loading",danger:"pf-m-danger",focus:"pf-m-focus",selected:"pf-m-selected",favorited:"pf-m-favorited"}};var mO=w(Oe()),ia=mO.createContext({menuId:null,parentMenu:null,onActionClick:()=>null,onSelect:()=>null,activeItemId:null,selected:null,drilledInMenus:[],drilldownItemPath:[],onDrillIn:null,onDrillOut:null,onGetMenuHeight:()=>null,flyoutRef:null,setFlyoutRef:()=>null,disableHover:!1,role:"menu"}),Ev=mO.createContext({itemId:null,isDisabled:!1});class bg extends _p.Component{constructor(n){super(n);if(this.menuRef=_p.createRef(),this.activeMenu=null,this.state={transitionMoveTarget:null,flyoutRef:null,currentDrilldownMenuId:this.props.id},this.handleDrilldownTransition=(r)=>{let a=this.menuRef.current;if(!a||a!==r.target.closest(`.${at.menu}`)&&!Array.from(a.getElementsByClassName(at.menu)).includes(r.target.closest(`.${at.menu}`)))return;if(this.state.transitionMoveTarget)this.state.transitionMoveTarget.focus(),this.setState({transitionMoveTarget:null});else{let l=a.querySelector("#"+this.props.activeMenu)||a||null,f=l.getElementsByTagName("UL");if(f.length===0)return;let u=Array.from(f[0].children);if(!this.state.currentDrilldownMenuId||l.id!==this.state.currentDrilldownMenuId)this.setState({currentDrilldownMenuId:l.id});else return;let p=u.filter((h)=>!(h.classList.contains("pf-m-disabled")||h.classList.contains(at.divider)))[0].firstChild;p.focus(),p.tabIndex=0}},this.handleExtraKeys=(r)=>{let a=this.props.containsDrilldown,l=document.activeElement;if(r.target.closest(`.${at.menu}`)!==this.activeMenu&&!r.target.classList.contains(Oi.breadcrumbLink))this.activeMenu=r.target.closest(`.${at.menu}`);if(r.target.tagName==="INPUT")return;let f=this.activeMenu,u=r.key,p=l.classList.contains(Oi.breadcrumbLink);if(u===" "||u==="Enter"){if(r.preventDefault(),a&&!p){if(l.closest("li").classList.contains("pf-m-current-path")&&f.parentElement.tagName==="LI")l.tabIndex=-1,f.parentElement.firstChild.tabIndex=0,this.setState({transitionMoveTarget:f.parentElement.firstChild});else if(l.nextElementSibling&&l.nextElementSibling.classList.contains(at.menu)){let b=Array.from(l.nextElementSibling.getElementsByTagName("UL")[0].children).filter((x)=>!(x.classList.contains("pf-m-disabled")||x.classList.contains(at.divider)));l.tabIndex=-1,b[0].firstChild.tabIndex=0,this.setState({transitionMoveTarget:b[0].firstChild})}}document.activeElement.click()}},this.createNavigableElements=()=>{if(this.props.containsDrilldown)return this.activeMenu?Array.from(this.activeMenu.getElementsByTagName("UL")[0].children).filter((a)=>!(a.classList.contains("pf-m-disabled")||a.classList.contains(at.divider))):[];else return this.menuRef.current?Array.from(this.menuRef.current.getElementsByTagName("LI")).filter((a)=>!(a.classList.contains("pf-m-disabled")||a.classList.contains(at.divider))):[]},n.innerRef)this.menuRef=n.innerRef}allowTabFirstItem(){let n=this.menuRef.current;if(n){let r=n.querySelector("ul button:not(:disabled), ul a:not(:disabled)");if(r)r.tabIndex=0}}componentDidMount(){if(Fn&&this.props.containsDrilldown&&this.props.isRootMenu)window.addEventListener("transitionend",this.handleDrilldownTransition);this.allowTabFirstItem()}componentWillUnmount(){if(Fn&&this.props.containsDrilldown&&this.props.isRootMenu)window.removeEventListener("transitionend",this.handleDrilldownTransition)}componentDidUpdate(n){if(n.children!==this.props.children)this.allowTabFirstItem()}render(){let n=this.props,{id:r,children:a,className:l,onSelect:f,selected:u=null,onActionClick:p,ouiaId:h,ouiaSafe:b,containsFlyout:x,containsDrilldown:y,isMenuDrilledIn:_,isPlain:v,isScrollable:I,drilldownItemPath:O,drilledInMenus:A,onDrillIn:D,onDrillOut:k,onGetMenuHeight:z,parentMenu:M=null,activeItemId:V=null,innerRef:G,isRootMenu:K,activeMenu:ie,role:re,isNavFlyout:de}=n,J=E(n,["id","children","className","onSelect","selected","onActionClick","ouiaId","ouiaSafe","containsFlyout","containsDrilldown","isMenuDrilledIn","isPlain","isScrollable","drilldownItemPath","drilledInMenus","onDrillIn","onDrillOut","onGetMenuHeight","parentMenu","activeItemId","innerRef","isRootMenu","activeMenu","role","isNavFlyout"]),Ce=_||A&&A.includes(r)||!1;return Cu.jsx(Hn,{prefix:"pf-",ouiaComponentType:yu.displayName,children:(Q,L)=>{var Y,P;return Cu.jsxs(ia.Provider,{value:{menuId:r,parentMenu:M||r,onSelect:f,onActionClick:p,activeItemId:V,selected:u,drilledInMenus:A,drilldownItemPath:O,onDrillIn:D,onDrillOut:k,onGetMenuHeight:z,flyoutRef:this.state.flyoutRef,setFlyoutRef:(Z)=>this.setState({flyoutRef:Z}),disableHover:(P=(Y=this.context)===null||Y===void 0?void 0:Y.disableHover)!==null&&P!==void 0?P:!1,role:re},children:[K&&Cu.jsx(fg,{containerRef:this.menuRef||null,additionalKeyHandler:this.handleExtraKeys,createNavigableElements:this.createNavigableElements,isActiveElement:(Z)=>document.activeElement.closest("li")===Z||document.activeElement.parentElement===Z||document.activeElement.closest(`.${at.menuSearch}`)===Z||document.activeElement.closest("ol")&&document.activeElement.closest("ol").firstChild===Z,getFocusableElement:(Z)=>{var ne,he;return(Z===null||Z===void 0?void 0:Z.tagName)==="DIV"&&Z.querySelector("input")||((ne=Z.firstChild)===null||ne===void 0?void 0:ne.tagName)==="LABEL"&&Z.querySelector("input")||((he=Z.firstChild)===null||he===void 0?void 0:he.tagName)==="DIV"&&Z.querySelector("a, button, input")||Z.firstChild},noHorizontalArrowHandling:document.activeElement&&(document.activeElement.classList.contains(Oi.breadcrumbLink)||document.activeElement.tagName==="INPUT"),noEnterHandling:!0,noSpaceHandling:!0}),Cu.jsx("div",Object.assign({id:r,className:S(at.menu,v&&at.modifiers.plain,I&&at.modifiers.scrollable,x&&at.modifiers.flyout,de&&"pf-m-nav",y&&at.modifiers.drilldown,Ce&&at.modifiers.drilledIn,l),ref:this.menuRef},fn(yu.displayName,h!==void 0?h:L,b),J,{children:a}))]})}})}}bg.displayName="Menu";bg.contextType=ia;bg.defaultProps={ouiaSafe:!0,isRootMenu:!0,isPlain:!1,isScrollable:!1,role:"menu"};var yu=_p.forwardRef((n,r)=>Cu.jsx(bg,Object.assign({},n,{innerRef:r})));yu.displayName="Menu";var hO=w(X()),Dv=w(Oe());var NG={name:"--pf-v6-c-menu__content--Height",value:"auto",var:"var(--pf-v6-c-menu__content--Height)"},xB=NG;var BG={name:"--pf-v6-c-menu__content--MaxHeight",value:"18.75rem",var:"var(--pf-v6-c-menu__content--MaxHeight)"},IB=BG;var xg=Dv.forwardRef((n,r)=>{let{getHeight:a,children:l,menuHeight:f,maxMenuHeight:u}=n,p=E(n,["getHeight","children","menuHeight","maxMenuHeight"]),h=Dv.createRef(),b=(x,y,_)=>{if(x){let v=x.clientHeight,I=null,O=x.closest(`.${at.menuList}`);while(O!==null&&O.nodeType===1){if(O.classList.contains(at.menuList))I=O;O=O.parentElement}if(I){let A=getComputedStyle(I),D=parseFloat(A.getPropertyValue("padding-top").replace(/px/g,""))+parseFloat(A.getPropertyValue("padding-bottom").replace(/px/g,""))+parseFloat(getComputedStyle(I.parentElement).getPropertyValue("border-bottom-width").replace(/px/g,""));v=v+D}_&&_(y,v),a&&a(v.toString())}return r||h};return hO.jsx(ia.Consumer,{children:({menuId:x,onGetMenuHeight:y})=>hO.jsx("div",Object.assign({},p,{className:S(at.menuContent,n.className),ref:(_)=>{b(_,x,y)},style:Object.assign(Object.assign({},f&&{[xB.name]:f}),u&&{[IB.name]:u}),children:l}))})});xg.displayName="MenuContent";var en=w(X()),Go=w(Oe());var LG={name:"--pf-v6-c-menu--m-flyout__menu--top-offset",value:"0px",var:"var(--pf-v6-c-menu--m-flyout__menu--top-offset)"},vB=LG;var kG={name:"--pf-v6-c-menu--m-flyout__menu--m-left--right-offset",value:"0px",var:"var(--pf-v6-c-menu--m-flyout__menu--m-left--right-offset)"},CB=kG;var PG={name:"--pf-v6-c-menu--m-flyout__menu--left-offset",value:"0px",var:"var(--pf-v6-c-menu--m-flyout__menu--left-offset)"},yB=PG;var jG={name:"RhMicronsExternalLinkIcon",icon:{xOffset:0,yOffset:0,width:20,height:20,svgPathData:"M18 14c-.55 0-1 .45-1 1v2H3V3h2c.55 0 1-.45 1-1s-.45-1-1-1H2.5C1.67 1 1 1.67 1 2.5v15c0 .83.67 1.5 1.5 1.5h15c.83 0 1.5-.67 1.5-1.5V15c0-.55-.45-1-1-1Zm-.5-13H11c-.55 0-1 .45-1 1s.45 1 1 1h4.59L8.3 10.29a.987.987 0 0 0-.02 1.41c.38.4 1.02.41 1.41.02l.02-.02L17 4.41V9c0 .55.45 1 1 1s1-.45 1-1V2.5c0-.83-.67-1.5-1.5-1.5Z"},rhUiIcon:null},FG=qe(jG),SB=FG;var HG={name:"RhMicronsCaretLeftIcon",icon:{xOffset:0,yOffset:0,width:20,height:20,svgPathData:"m6.41 10 7.29-7.29.02-.02c.38-.4.37-1.03-.02-1.41-.4-.38-1.03-.37-1.41.02L4.64 8.95a1.49 1.49 0 0 0 0 2.12l7.65 7.65c.19.19.44.29.71.29.27 0 .52-.11.71-.29a.996.996 0 0 0 0-1.41l-7.29-7.29Z"},rhUiIcon:null},zG=qe(HG),Rp=zG;var VG={name:"CheckIcon",icon:{xOffset:0,yOffset:0,width:512,height:512,svgPathData:"M173.898 439.404l-166.4-166.4c-9.997-9.997-9.997-26.206 0-36.204l36.203-36.204c9.997-9.998 26.207-9.998 36.204 0L192 312.69 432.095 72.596c9.997-9.997 26.207-9.997 36.204 0l36.203 36.204c9.997 9.997 9.997 26.206 0 36.204l-294.4 294.401c-9.998 9.997-26.207 9.997-36.204-.001z"},rhUiIcon:{xOffset:0,yOffset:0,width:32,height:32,svgPathData:"M11 26.792c-.384 0-.769-.146-1.061-.438l-8.646-8.647a.999.999 0 1 1 1.414-1.414L11 24.586 29.293 6.293a.999.999 0 1 1 1.414 1.414L12.061 26.354a1.497 1.497 0 0 1-1.061.438Z"}},GG=qe(VG),Ig=GG;var Jr=w(X()),_B=w(Oe());var ja={check:"pf-v6-c-check",checkBody:"pf-v6-c-check__body",checkDescription:"pf-v6-c-check__description",checkInput:"pf-v6-c-check__input",checkLabel:"pf-v6-c-check__label",checkLabelRequired:"pf-v6-c-check__label-required",modifiers:{standalone:"pf-m-standalone",disabled:"pf-m-disabled"}};var RB=()=>{};class aa extends _B.Component{constructor(){super(...arguments);this.handleChange=(n)=>{this.props.onChange(n,n.currentTarget.checked)}}render(){let n=this.props,{"aria-label":r,"aria-describedby":a,className:l,inputClassName:f,onChange:u,isLabelWrapped:p,labelPosition:h="end",isValid:b,isDisabled:x,isRequired:y,isChecked:_,label:v,checked:I,defaultChecked:O,description:A,body:D,ouiaId:k,ouiaSafe:z,component:M}=n,V=E(n,["aria-label","aria-describedby","className","inputClassName","onChange","isLabelWrapped","labelPosition","isValid","isDisabled","isRequired","isChecked","label","checked","defaultChecked","description","body","ouiaId","ouiaSafe","component"]);if(!V.id)console.error("Checkbox:","id is required to make input accessible");let G={};if([!0,!1].includes(I)||_===!0)G.checked=I||_;if(u!==RB)G.checked=_;if([!1,!0].includes(O))G.defaultChecked=O;return Jr.jsx(Hn,{prefix:"pf-checkbox-description-",ouiaComponentType:"Checkbox",children:(K,ie)=>{let re;if(a!==void 0)re=a===""?void 0:a;else if(A)re=K;let de=Jr.jsx("input",Object.assign({},V,{className:S(ja.checkInput,f),type:"checkbox",onChange:this.handleChange,"aria-invalid":!b,"aria-label":r,"aria-describedby":re,disabled:x,required:y,ref:(Y)=>{Y&&(Y.indeterminate=_===null)}},G,fn(aa.displayName,k!==void 0?k:ie,z))),J=p&&!M||M==="label",Q=v?Jr.jsxs(J?"span":"label",{className:S(ja.checkLabel,x&&ja.modifiers.disabled),htmlFor:!J?V.id:void 0,children:[v,y&&Jr.jsx("span",{className:S(ja.checkLabelRequired),"aria-hidden":"true",children:av})]}):null,L=M!==null&&M!==void 0?M:J?"label":"div";return G.checked=G.checked===null?!1:G.checked,Jr.jsxs(L,{className:S(ja.check,!v&&ja.modifiers.standalone,l),htmlFor:J?V.id:void 0,children:[h==="start"?Jr.jsxs(Jr.Fragment,{children:[Q,de]}):Jr.jsxs(Jr.Fragment,{children:[de,Q]}),A&&Jr.jsx("span",{id:K,className:S(ja.checkDescription),children:A}),D&&Jr.jsx("span",{className:S(ja.checkBody),children:D})]})}})}}aa.displayName="Checkbox";aa.defaultProps={className:"",isLabelWrapped:!1,isValid:!0,isDisabled:!1,isRequired:!1,isChecked:!1,onChange:RB,ouiaSafe:!0};var Op=w(X()),OB=w(Oe());var XG=(n)=>{var{className:r,icon:a,onClick:l,"aria-label":f,isFavorited:u=null,isDisabled:p,actionId:h,innerRef:b}=n,x=E(n,["className","icon","onClick","aria-label","isFavorited","isDisabled","actionId","innerRef"]);return Op.jsx(ia.Consumer,{children:({onActionClick:y})=>Op.jsx(Ev.Consumer,{children:({itemId:_,isDisabled:v})=>{let I=(O)=>{l&&l(O),y&&y(O,_,h)};return Op.jsx("div",Object.assign({className:S(at.menuItemAction,u!==null&&"pf-m-favorite",u&&at.modifiers.favorited,r)},x,{children:Op.jsx(Le,{"aria-label":f,onClick:I,ref:b,role:"menuitem",variant:"plain",isFavorite:u!==null,isFavorited:u!==null&&u!==void 0?u:!1,tabIndex:-1,isDisabled:p||v,icon:u===null?a:void 0})}))}})})},gO=OB.forwardRef((n,r)=>Op.jsx(XG,Object.assign({},n,{innerRef:r})));gO.displayName="MenuItemAction";var wB=Go.createContext({direction:"right"}),qG=(n)=>{var{children:r,className:a,itemId:l=null,to:f,hasCheckbox:u=!1,isActive:p=null,isFavorited:h=null,isLoadButton:b=!1,isLoading:x=!1,flyoutMenu:y,direction:_,description:v=null,onClick:I=()=>{},component:O="button",isDisabled:A=!1,isAriaDisabled:D=!1,isExternalLink:k=!1,isSelected:z=null,isFocused:M,isDanger:V=!1,icon:G,actions:K,onShowFlyout:ie,drilldownMenu:re,isOnPath:de,innerRef:J,id:Ce,"aria-label":Q,tooltipProps:L,rel:Y,target:P,download:Z}=n,ne=E(n,["children","className","itemId","to","hasCheckbox","isActive","isFavorited","isLoadButton","isLoading","flyoutMenu","direction","description","onClick","component","isDisabled","isAriaDisabled","isExternalLink","isSelected","isFocused","isDanger","icon","actions","onShowFlyout","drilldownMenu","isOnPath","innerRef","id","aria-label","tooltipProps","rel","target","download"]);let{menuId:he,parentMenu:le,onSelect:Me,onActionClick:B,activeItemId:ce,selected:fe,drilldownItemPath:se,onDrillIn:be,onDrillOut:De,flyoutRef:we,setFlyoutRef:Ze,disableHover:ct,role:Tt}=Go.useContext(ia),yt=f?"a":O;if(u&&!f)yt="label";let[Re,Ue]=Go.useState(null),tt=Go.useContext(wB),[ke,Dt]=Go.useState(tt.direction),pt=Go.useRef(void 0),Ke=Go.useRef(void 0),Zt=J||Ke,Mt=pt===we,Be=ho(),xe=y!==void 0,vn=(We)=>{if(!Mt&&We)Ze(pt);else if(Mt&&!We)Ze(null);ie&&We&&ie()};Ss(()=>{if(xe&&pt.current&&Fn){let We=pt.current.lastElementChild;if(We&&We.classList.contains(at.menu)){let kt=pt.current.getClientRects()[0],Bn=We.getClientRects()[0];if(kt&&Bn){let _o=kt.x-Bn.width,Qo=window.innerWidth-kt.x-kt.width-Bn.width,R=ke;if(Qo<0&&R!=="left")Dt("left"),R="left";else if(_o<0&&R!=="right")Dt("right"),R="right";let W=0;if(_o<0&&Qo<0)W=R==="right"?-Qo:-_o;if(R==="left")We.classList.add(at.modifiers.left),We.style.setProperty(CB.name,`-${W}px`);else We.style.setProperty(yB.name,`-${W}px`);let ve=window.innerHeight-kt.y-Bn.height;if(window.innerHeight-Bn.height<0&&ve<0);else if(ve<0)We.style.setProperty(vB.name,`${ve}px`)}}}},[Mt,y]),Go.useEffect(()=>{Dt(tt.direction)},[tt]),Go.useEffect(()=>{var We,kt,Bn;if(Re)if(Mt){let _o=Re.nextElementSibling;(Bn=(kt=Array.from(((We=_o===null||_o===void 0?void 0:_o.getElementsByTagName("UL")[0])===null||We===void 0?void 0:We.children)||[]).filter((R)=>!(R.classList.contains("pf-m-disabled")||R.classList.contains(at.divider)))[0])===null||kt===void 0?void 0:kt.firstChild)===null||Bn===void 0||Bn.focus()}else Re.focus()},[Mt,Re]);let Pe=(We)=>{let{key:kt,target:Bn,type:_o}=We;if(kt===" "||kt==="Enter"||kt==="ArrowRight"||_o==="click"){if(We.stopPropagation(),We.preventDefault(),!Mt)vn(!0),Ue(Bn)}if(kt==="Escape"||kt==="ArrowLeft"){if(Mt)We.stopPropagation(),vn(!1)}},et=(We,kt)=>{if(!D)kt&&kt(We,l),I&&I(We)},Te=de&&de||se&&se.includes(l)||!1,Ve;if(_)if(_==="down")Ve=(We)=>be&&be(We,he,typeof re==="function"?re().props.id:re.props.id,l);else Ve=(We)=>De&&De(We,le,l);let Ye={};if(yt==="a")Ye={href:f,"aria-disabled":A||D?!0:null,disabled:null,target:k?"_blank":P,rel:Y,download:Z};else if(yt==="button")Ye={type:"button","aria-disabled":D?!0:null};if(de)Ye["aria-expanded"]=!0;else if(xe)Ye["aria-haspopup"]="menu",Ye["aria-expanded"]=Mt;let Nn=()=>{if(p!==null)if(p)return"page";else return null;else if(l!==null&&ce!==null)return l===ce;return null},Yn=()=>{if(z!==null)return z;else if(fe!==null&&l!==null)return Array.isArray(fe)&&fe.includes(l)||l===fe;return!1},$t=()=>{if(ct)return;if(xe)vn(!0);else Ze(null)};Go.useEffect(()=>{if(M&&pt.current){let We=pt.current,kt=We.parentElement;if(kt){let Bn=We.offsetTop-kt.offsetTop<kt.scrollTop,_o=We.offsetTop-kt.offsetTop+We.clientHeight;if(Bn||_o)We.scrollIntoView({behavior:"auto",block:"nearest"})}}},[M]);let $l=Tt==="listbox",Jo=en.jsxs(en.Fragment,{children:[en.jsxs(yt,Object.assign({id:Ce,tabIndex:-1,className:S(at.menuItem,Yn()&&!u&&at.modifiers.selected,a),"aria-current":Nn()},!u&&{disabled:A,"aria-label":Q},!u&&!y&&{role:$l?"option":"menuitem"},!u&&!y&&$l&&{"aria-selected":Yn()},{ref:Zt},!u&&{onClick:(We)=>{if(!D)et(We,Me),Ve&&Ve(We),y&&Pe(We);else We.preventDefault()}},u&&{htmlFor:Be},Ye,{children:[en.jsxs("span",{className:S(at.menuItemMain),children:[_==="up"&&en.jsx("span",{className:S(at.menuItemToggleIcon),children:en.jsx(Rp,{})}),G&&en.jsx("span",{className:S(at.menuItemIcon),children:G}),u&&en.jsx("span",{className:S(at.menuItemCheck),children:en.jsx(aa,{id:Be,component:"span",isChecked:z||!1,onChange:(We)=>et(We,Me),isDisabled:A,"aria-disabled":D})}),en.jsx("span",{className:S(at.menuItemText),children:r}),k&&en.jsx("span",{className:S(at.menuItemExternalIcon),children:en.jsx(SB,{})}),(y||_==="down")&&en.jsx("span",{className:S(at.menuItemToggleIcon),children:en.jsx(ra,{})}),Yn()&&en.jsx("span",{className:S(at.menuItemSelectIcon),children:en.jsx(Ig,{})})]}),v&&_!=="up"&&en.jsx("span",{className:S(at.menuItemDescription),children:en.jsx("span",{children:v})})]})),Mt&&en.jsx(ia.Provider,{value:{disableHover:ct},children:en.jsx(wB.Provider,{value:{direction:ke},children:y})}),typeof re==="function"?re():re,en.jsxs(Ev.Provider,{value:{itemId:l,isDisabled:A},children:[K,h!==null&&en.jsx(gO,{icon:"favorites",isFavorited:h,"aria-label":h?"starred":"not starred",onClick:(We)=>B(We,l),tabIndex:-1,actionId:"fav"})]})]});return en.jsxs(en.Fragment,{children:[en.jsx("li",Object.assign({className:S(at.menuListItem,A&&at.modifiers.disabled,D&&at.modifiers.ariaDisabled,Te&&at.modifiers.currentPath,b&&at.modifiers.load,x&&at.modifiers.loading,M&&"pf-m-focus",V&&at.modifiers.danger,a),onMouseOver:()=>{if(!D)$t()}},y&&!D&&{onKeyDown:Pe},{ref:pt,role:!u?"none":"menuitem"},u&&{"aria-label":Q},ne,{children:Jo})),L&&en.jsx(hn,Object.assign({},L,{triggerRef:Zt}))]})},vg=Go.forwardRef((n,r)=>en.jsx(qG,Object.assign({},n,{innerRef:r})));vg.displayName="MenuItem";var AB=w(X()),TB=w(Oe());var Cg=(n)=>{var{children:r=null,className:a,isAriaMultiselectable:l=!1,"aria-label":f}=n,u=E(n,["children","className","isAriaMultiselectable","aria-label"]);let{role:p}=TB.useContext(ia);return AB.jsx("ul",Object.assign({role:p},p==="listbox"&&{"aria-multiselectable":l},{className:S(at.menuList,a),"aria-label":f},u,{children:r}))};Cg.displayName="MenuList";var En=w(X()),wp=w(Oe());var tn={avatar:"pf-v6-c-avatar",button:"pf-v6-c-button",check:"pf-v6-c-check",checkInput:"pf-v6-c-check__input",compassDock:"pf-v6-c-compass__dock",menuToggle:"pf-v6-c-menu-toggle",menuToggleButton:"pf-v6-c-menu-toggle__button",menuToggleControls:"pf-v6-c-menu-toggle__controls",menuToggleCount:"pf-v6-c-menu-toggle__count",menuToggleIcon:"pf-v6-c-menu-toggle__icon",menuToggleStatusIcon:"pf-v6-c-menu-toggle__status-icon",menuToggleText:"pf-v6-c-menu-toggle__text",menuToggleToggleIcon:"pf-v6-c-menu-toggle__toggle-icon",modifiers:{primary:"pf-m-primary",secondary:"pf-m-secondary",fullHeight:"pf-m-full-height",fullWidth:"pf-m-full-width",form:"pf-m-form",plain:"pf-m-plain",circle:"pf-m-circle",expanded:"pf-m-expanded",disabled:"pf-m-disabled",small:"pf-m-small",success:"pf-m-success",warning:"pf-m-warning",danger:"pf-m-danger",settings:"pf-m-settings",placeholder:"pf-m-placeholder",docked:"pf-m-docked",textExpanded:"pf-m-text-expanded",splitButton:"pf-m-split-button",standalone:"pf-m-standalone",typeahead:"pf-m-typeahead",text:"pf-m-text",avatar:"pf-m-avatar"},pageDock:"pf-v6-c-page__dock",textInputGroup:"pf-v6-c-text-input-group"};var $G={name:"RhMicronsCaretDownFillIcon",icon:{xOffset:0,yOffset:0,width:20,height:20,svgPathData:"m17.65 8.76-6.674 5.72a1.496 1.496 0 0 1-.976.365c-.347 0-.694-.122-.978-.366l-6.673-5.72A1 1 0 0 1 3 7h14a1 1 0 0 1 .65 1.76Z"},rhUiIcon:null},YG=qe($G),Mv=YG;var yg;(function(n){n.success="success",n.danger="danger",n.warning="warning"})(yg||(yg={}));var bO;(function(n){n.default="default",n.sm="sm"})(bO||(bO={}));class xO extends wp.Component{constructor(){super(...arguments);this.displayName="MenuToggleBase"}render(){let n=this.props,{children:r,className:a,icon:l,badge:f,isExpanded:u,isDisabled:p,isFullHeight:h,isFullWidth:b,isInForm:x,isPlaceholder:y,isCircle:_,isSettings:v,isDocked:I,isTextExpanded:O,splitButtonItems:A,variant:D,status:k,statusIcon:z,innerRef:M,onClick:V,"aria-label":G,ouiaId:K,ouiaSafe:ie,size:re}=n,de=E(n,["children","className","icon","badge","isExpanded","isDisabled","isFullHeight","isFullWidth","isInForm","isPlaceholder","isCircle","isSettings","isDocked","isTextExpanded","splitButtonItems","variant","status","statusIcon","innerRef","onClick","aria-label","ouiaId","ouiaSafe","size"]),J=D==="plain",Ce=D==="plainText",Q=D==="typeahead";return En.jsx(Hn,{prefix:"pf-",ouiaComponentType:`MenuToggle${D?`-${D}`:""}`,children:(L,Y)=>{let P=fn(Uv.displayName,K!==null&&K!==void 0?K:Y,ie),Z=z;if(!z)switch(k){case yg.success:Z=En.jsx(Qi,{});break;case yg.warning:Z=En.jsx(ta,{});break;case yg.danger:Z=En.jsx(ea,{});break}let ne=En.jsxs("span",{className:S(tn.menuToggleControls),children:[k!==void 0&&En.jsx("span",{className:S(tn.menuToggleStatusIcon),children:Z}),En.jsx("span",{className:S(tn.menuToggleToggleIcon),children:En.jsx(Mv,{})})]}),he=En.jsxs(En.Fragment,{children:[(l||v)&&En.jsx("span",{className:S(tn.menuToggleIcon),children:v?En.jsx(xv,{}):l}),Q?r:r&&En.jsx("span",{className:S(tn.menuToggleText),children:r}),wp.isValidElement(f)&&En.jsx("span",{className:S(tn.menuToggleCount),children:f}),Q?En.jsx("button",Object.assign({type:"button",className:S(tn.menuToggleButton),"aria-expanded":u,onClick:V,"aria-label":G||"Menu toggle",tabIndex:-1},P,{children:ne})):!J&&ne]}),le=S(tn.menuToggle,u&&tn.modifiers.expanded,D==="primary"&&tn.modifiers.primary,D==="secondary"&&tn.modifiers.secondary,k&&tn.modifiers[k],(J||Ce)&&tn.modifiers.plain,Ce&&tn.modifiers.text,h&&tn.modifiers.fullHeight,b&&tn.modifiers.fullWidth,x&&tn.modifiers.form,p&&tn.modifiers.disabled,y&&tn.modifiers.placeholder,v&&tn.modifiers.settings,I&&tn.modifiers.docked,I&&O&&tn.modifiers.textExpanded,re===bO.sm&&tn.modifiers.small,a),Me=Object.assign(Object.assign({children:he},p&&{disabled:!0}),de);if(Q)return En.jsx("div",Object.assign({ref:M,className:S(le,tn.modifiers.typeahead)},Me));if(A)return En.jsxs("div",{ref:M,className:S(le,tn.modifiers.splitButton),children:[A,En.jsxs("button",Object.assign({className:S(tn.menuToggleButton,r&&tn.modifiers.text),type:"button","aria-expanded":u,"aria-label":G,disabled:p,onClick:V},de,P,{children:[r&&En.jsx("span",{className:S(tn.menuToggleText),children:r}),ne]}))]});return En.jsx("button",Object.assign({className:S(le,_&&J&&tn.modifiers.circle),type:"button","aria-label":G,"aria-expanded":u,ref:M,disabled:p,onClick:V},Me,P))}})}}xO.defaultProps={className:"",isExpanded:!1,isDisabled:!1,isFullWidth:!1,isFullHeight:!1,isInForm:!1,isPlaceholder:!1,isCircle:!1,isDocked:!1,isTextExpanded:!1,size:"default",ouiaSafe:!0};var Uv=wp.forwardRef((n,r)=>En.jsx(xO,Object.assign({innerRef:r},n)));Uv.displayName="MenuToggle";var Nv=w(X()),Bv=w(Oe());var Rt={button:"pf-v6-c-button",card:"pf-v6-c-card",cardActions:"pf-v6-c-card__actions",cardBody:"pf-v6-c-card__body",cardClickableAction:"pf-v6-c-card__clickable-action",cardExpandableContent:"pf-v6-c-card__expandable-content",cardFooter:"pf-v6-c-card__footer",cardHeader:"pf-v6-c-card__header",cardHeaderMain:"pf-v6-c-card__header-main",cardHeaderToggle:"pf-v6-c-card__header-toggle",cardHeaderToggleIcon:"pf-v6-c-card__header-toggle-icon",cardSelectableActions:"pf-v6-c-card__selectable-actions",cardSubtitle:"pf-v6-c-card__subtitle",cardTitle:"pf-v6-c-card__title",cardTitleText:"pf-v6-c-card__title-text",check:"pf-v6-c-check",checkInput:"pf-v6-c-check__input",checkLabel:"pf-v6-c-check__label",dirRtl:"pf-v6-m-dir-rtl",divider:"pf-v6-c-divider",modifiers:{glass:"pf-m-glass",selectable:"pf-m-selectable",clickable:"pf-m-clickable",current:"pf-m-current",selected:"pf-m-selected",disabled:"pf-m-disabled",compact:"pf-m-compact",displayLg:"pf-m-display-lg",secondary:"pf-m-secondary",plain:"pf-m-plain",expanded:"pf-m-expanded",fullHeight:"pf-m-full-height",toggleRight:"pf-m-toggle-right",wrap:"pf-m-wrap",noOffset:"pf-m-no-offset",inline:"pf-m-inline",noFill:"pf-m-no-fill"},radio:"pf-v6-c-radio",radioInput:"pf-v6-c-radio__input",radioLabel:"pf-v6-c-radio__label",screenReader:"pf-v6-screen-reader",themeGlass:"pf-v6-theme-glass"};var Sg=Bv.createContext({cardId:"",isExpanded:!1,isClickable:!1,isSelectable:!1,isSelected:!1,isClicked:!1,isDisabled:!1}),WG=(n)=>{var{children:r,id:a="",className:l,component:f="div",isCompact:u=!1,isSelectable:p=!1,isClickable:h=!1,isDisabled:b=!1,isSelected:x=!1,isClicked:y=!1,isExpanded:_=!1,isLarge:v=!1,isFullHeight:I=!1,isPlain:O=!1,isGlass:A=!1,variant:D="default",ouiaId:k,ouiaSafe:z=!0,innerRef:M}=n,V=E(n,["children","id","className","component","isCompact","isSelectable","isClickable","isDisabled","isSelected","isClicked","isExpanded","isLarge","isFullHeight","isPlain","isGlass","variant","ouiaId","ouiaSafe","innerRef"]);let G=f,K=Jn(Lc.displayName,k,z);if(u&&v)console.warn("Card: Cannot use isCompact with isLarge. Defaulting to isCompact"),v=!1;let ie=()=>{if(p&&h)return S(Rt.modifiers.selectable,Rt.modifiers.clickable,(x||y)&&Rt.modifiers.current);if(p)return S(Rt.modifiers.selectable,x&&Rt.modifiers.selected);if(h)return S(Rt.modifiers.clickable,y&&Rt.modifiers.current);return""};return Nv.jsx(Sg.Provider,{value:{cardId:a,isExpanded:_,isClickable:h,isSelectable:p,isSelected:x,isClicked:y,isDisabled:b},children:Nv.jsx(G,Object.assign({ref:M,id:a,className:S(Rt.card,u&&Rt.modifiers.compact,_&&Rt.modifiers.expanded,v&&Rt.modifiers.displayLg,I&&Rt.modifiers.fullHeight,O&&Rt.modifiers.plain,A&&Rt.modifiers.glass,D==="secondary"&&Rt.modifiers.secondary,ie(),b&&Rt.modifiers.disabled,l)},V,K,{children:r}))})},Lc=Bv.forwardRef((n,r)=>Nv.jsx(WG,Object.assign({},n,{innerRef:r})));Lc.displayName="Card";var EB=w(X());var kc=(n)=>{var{children:r,className:a,component:l="div",isFilled:f=!0}=n,u=E(n,["children","className","component","isFilled"]);return EB.jsx(l,Object.assign({className:S(Rt.cardBody,!f&&Rt.modifiers.noFill,a)},u,{children:r}))};kc.displayName="CardBody";var DB=w(X());var IO=(n)=>{var{children:r,className:a,component:l="div"}=n,f=E(n,["children","className","component"]);return DB.jsx(l,Object.assign({className:S(Rt.cardFooter,a)},f,{children:r}))};IO.displayName="CardFooter";var _g=w(X()),UB=w(Oe());var MB=w(X());var vO=(n)=>{var{children:r=null,id:a=""}=n,l=E(n,["children","id"]);return MB.jsx("div",Object.assign({},l,{id:a,className:S(Rt.cardSubtitle),children:r}))};vO.displayName="CardSubtitle";var Su=(n)=>{var{children:r,className:a,component:l="div",subtitle:f}=n,u=E(n,["children","className","component","subtitle"]);let{cardId:p}=UB.useContext(Sg),h=l,b=p?`${p}-title`:"",x=p?`${p}-subtitle`:"";return _g.jsxs("div",{className:S(Rt.cardTitle),children:[_g.jsx(h,Object.assign({className:S(Rt.cardTitleText,a),id:b||void 0},u,{children:r})),f&&_g.jsx(vO,{id:x,children:f})]})};Su.displayName="CardTitle";var sr=w(X());var NB=w(X());var CO=(n)=>{var{children:r,className:a}=n,l=E(n,["children","className"]);return NB.jsx("div",Object.assign({className:S(Rt.cardHeaderMain,a)},l,{children:r}))};CO.displayName="CardHeaderMain";var BB=w(X());var yO=(n)=>{var{children:r,className:a,hasNoOffset:l=!1}=n,f=E(n,["children","className","hasNoOffset"]);return BB.jsx("div",Object.assign({className:S(Rt.cardActions,l&&Rt.modifiers.noOffset,a)},f,{children:r}))};yO.displayName="CardActions";var LB=w(X());var SO=(n)=>{var{children:r,className:a}=n,l=E(n,["children","className"]);return LB.jsx("div",Object.assign({className:S(Rt.cardSelectableActions,a)},l,{children:r}))};SO.displayName="CardSelectableActions";var wi=w(X()),kB=w(Oe());var Pc={modifiers:{standalone:"pf-m-standalone",disabled:"pf-m-disabled"},radio:"pf-v6-c-radio",radioBody:"pf-v6-c-radio__body",radioDescription:"pf-v6-c-radio__description",radioInput:"pf-v6-c-radio__input",radioLabel:"pf-v6-c-radio__label"};class jc extends kB.Component{constructor(n){super(n);if(this.handleChange=(r)=>{this.props.onChange(r,r.currentTarget.checked)},!n.label&&!n["aria-label"])console.error("Radio:","Radio requires an aria-label to be specified")}render(){let n=this.props,{"aria-label":r,"aria-describedby":a,checked:l,className:f,inputClassName:u,defaultChecked:p,isLabelWrapped:h,labelPosition:b="end",isChecked:x,isDisabled:y,isValid:_,label:v,onChange:I,description:O,body:A,ouiaId:D,ouiaSafe:k=!0,component:z}=n,M=E(n,["aria-label","aria-describedby","checked","className","inputClassName","defaultChecked","isLabelWrapped","labelPosition","isChecked","isDisabled","isValid","label","onChange","description","body","ouiaId","ouiaSafe","component"]);if(!M.id)console.error("Radio:","id is required to make input accessible");return wi.jsx(Hn,{prefix:"pf-radio-description-",ouiaComponentType:"Radio",children:(V,G)=>{let K;if(a!==void 0)K=a===""?void 0:a;else if(O)K=V;let ie=wi.jsx("input",Object.assign({},M,{className:S(Pc.radioInput,u),type:"radio",onChange:this.handleChange,"aria-invalid":!_,"aria-describedby":K,disabled:y,checked:l||x},l===void 0&&{defaultChecked:p},!v&&{"aria-label":r},fn(jc.displayName,D!==void 0?D:G,k))),re=h&&!z||z==="label",J=v?wi.jsx(re?"span":"label",{className:S(Pc.radioLabel,y&&Pc.modifiers.disabled),htmlFor:!re?M.id:void 0,children:v}):null;return wi.jsxs(z!==null&&z!==void 0?z:re?"label":"div",{className:S(Pc.radio,!v&&Pc.modifiers.standalone,f),htmlFor:re?M.id:void 0,children:[b==="start"?wi.jsxs(wi.Fragment,{children:[J,ie]}):wi.jsxs(wi.Fragment,{children:[ie,J]}),O&&wi.jsx("span",{id:V,className:S(Pc.radioDescription),children:O}),A&&wi.jsx("span",{className:S(Pc.radioBody),children:A})]})}})}}jc.displayName="Radio";jc.defaultProps={className:"",isDisabled:!1,isValid:!0,onChange:()=>{}};var Lv=(n)=>{var{children:r,className:a,actions:l,selectableActions:f,id:u,onExpand:p,toggleButtonProps:h,isToggleRightAligned:b,hasWrap:x}=n,y=E(n,["children","className","actions","selectableActions","id","onExpand","toggleButtonProps","isToggleRightAligned","hasWrap"]);let _=ho();return sr.jsx(Sg.Consumer,{children:({cardId:v,isClickable:I,isSelectable:O,isSelected:A,isDisabled:D})=>{let k=sr.jsx("div",{className:S(Rt.cardHeaderToggle),children:sr.jsx(Le,Object.assign({variant:"plain",type:"button",onClick:(de)=>{p(de,v)}},h,{icon:sr.jsx("span",{className:S(Rt.cardHeaderToggleIcon),children:sr.jsx(Bl,{})})}))}),z=I&&!O||O&&!I;if((l===null||l===void 0?void 0:l.actions)&&z)console.error(`Card: ${I?"Clickable":"Selectable"} only cards should not contain any other actions. If you wish to include additional actions, use a clickable and selectable card.`);let M=I&&!O;if((M||O)&&!(f===null||f===void 0?void 0:f.selectableActionAriaLabel)&&!(f===null||f===void 0?void 0:f.selectableActionAriaLabelledby))console.error(`Card: ${M?"Clickable-only cards":"Cards with a selectable input"} must have either the selectableActions.selectableActionAriaLabel or selectableActions.selectableActionAriaLabelledby prop passed in order to provide an accessible name to the clickable element.`);let V=(f===null||f===void 0?void 0:f.variant)==="single"?jc:aa,G=()=>{var de,J;return Object.assign({className:S("pf-m-standalone"),inputClassName:S((f===null||f===void 0?void 0:f.isHidden)&&"pf-v6-screen-reader"),label:sr.jsx(sr.Fragment,{}),"aria-label":f.selectableActionAriaLabel,"aria-labelledby":f.selectableActionAriaLabelledby,id:(de=f.selectableActionId)!==null&&de!==void 0?de:`card-selectable-${_}`,name:f.name,isDisabled:D,onChange:f.onChange,isChecked:(J=f.isChecked)!==null&&J!==void 0?J:A},f.selectableActionProps)},K=(f===null||f===void 0?void 0:f.to)!==void 0,ie=K?"a":"button",re=()=>{let J=Object.assign({className:S("pf-v6-c-card__clickable-action",D&&K&&Rt.modifiers.disabled,(f===null||f===void 0?void 0:f.isHidden)&&"pf-v6-screen-reader"),id:f.selectableActionId,"aria-label":f.selectableActionAriaLabel,"aria-labelledby":f.selectableActionAriaLabelledby},f.selectableActionProps);if(K)return Object.assign(Object.assign(Object.assign(Object.assign({},J),{href:f.to}),D&&{tabIndex:-1,"aria-disabled":!0}),f.isExternalLink&&{target:"_blank"});return Object.assign(Object.assign({},J),{type:"button",disabled:D,onClick:f.onClickAction})};return sr.jsxs("div",Object.assign({className:S(Rt.cardHeader,b&&Rt.modifiers.toggleRight,x&&Rt.modifiers.wrap,a),id:u},y,{children:[p&&!b&&k,(l||f&&(I||O))&&sr.jsxs(yO,{className:l===null||l===void 0?void 0:l.className,hasNoOffset:(l===null||l===void 0?void 0:l.hasNoOffset)||(f===null||f===void 0?void 0:f.hasNoOffset),children:[l===null||l===void 0?void 0:l.actions,f&&(I||O)&&sr.jsxs(SO,{className:f===null||f===void 0?void 0:f.className,children:[O&&sr.jsx(V,Object.assign({},G())),M&&sr.jsx(ie,Object.assign({},re()))]})]}),r&&sr.jsx(CO,{children:r}),p&&b&&k]}))}})};Lv.displayName="CardHeader";var Ap=w(X());var Fc={codeBlock:"pf-v6-c-code-block",codeBlockActions:"pf-v6-c-code-block__actions",codeBlockCode:"pf-v6-c-code-block__code",codeBlockContent:"pf-v6-c-code-block__content",codeBlockHeader:"pf-v6-c-code-block__header",codeBlockPre:"pf-v6-c-code-block__pre"};var _O=(n)=>{var{children:r=null,className:a,actions:l=null}=n,f=E(n,["children","className","actions"]);return Ap.jsxs("div",Object.assign({className:S(Fc.codeBlock,a)},f,{children:[l&&Ap.jsx("div",{className:S(Fc.codeBlockHeader),children:Ap.jsx("div",{className:S(Fc.codeBlockActions),children:l})}),Ap.jsx("div",{className:S(Fc.codeBlockContent),children:r})]}))};_O.displayName="CodeBlock";var RO=w(X());var OO=(n)=>{var{children:r=null,className:a,codeClassName:l}=n,f=E(n,["children","className","codeClassName"]);return RO.jsx("pre",Object.assign({className:S(Fc.codeBlockPre,a)},f,{children:RO.jsx("code",{className:S(Fc.codeBlockCode,l),children:r})}))};OO.displayName="CodeBlockCode";var wO=w(X()),Rg=w(Oe());var nn={dirRtl:"pf-v6-m-dir-rtl",drawer:"pf-v6-c-drawer",drawerActions:"pf-v6-c-drawer__actions",drawerBody:"pf-v6-c-drawer__body",drawerClose:"pf-v6-c-drawer__close",drawerContent:"pf-v6-c-drawer__content",drawerDescription:"pf-v6-c-drawer__description",drawerHead:"pf-v6-c-drawer__head",drawerMain:"pf-v6-c-drawer__main",drawerPanel:"pf-v6-c-drawer__panel",drawerPanelMain:"pf-v6-c-drawer__panel-main",drawerSection:"pf-v6-c-drawer__section",drawerSplitter:"pf-v6-c-drawer__splitter",drawerSplitterHandle:"pf-v6-c-drawer__splitter-handle",modifiers:{panelBottom:"pf-m-panel-bottom",inline:"pf-m-inline",static:"pf-m-static",noBorder:"pf-m-no-border",resizable:"pf-m-resizable",panelLeft:"pf-m-panel-left",expanded:"pf-m-expanded",resizing:"pf-m-resizing",pill:"pf-m-pill",secondary:"pf-m-secondary",plain:"pf-m-plain",noPlainOnGlass:"pf-m-no-plain-on-glass",noBackground:"pf-m-no-background",primary:"pf-m-primary",noPadding:"pf-m-no-padding",padding:"pf-m-padding",vertical:"pf-m-vertical",glass:"pf-m-glass",width_25:"pf-m-width-25",width_33:"pf-m-width-33",width_50:"pf-m-width-50",width_66:"pf-m-width-66",width_75:"pf-m-width-75",width_100:"pf-m-width-100",width_25OnLg:"pf-m-width-25-on-lg",width_33OnLg:"pf-m-width-33-on-lg",width_50OnLg:"pf-m-width-50-on-lg",width_66OnLg:"pf-m-width-66-on-lg",width_75OnLg:"pf-m-width-75-on-lg",width_100OnLg:"pf-m-width-100-on-lg",width_25OnXl:"pf-m-width-25-on-xl",width_33OnXl:"pf-m-width-33-on-xl",width_50OnXl:"pf-m-width-50-on-xl",width_66OnXl:"pf-m-width-66-on-xl",width_75OnXl:"pf-m-width-75-on-xl",width_100OnXl:"pf-m-width-100-on-xl",width_25On_2xl:"pf-m-width-25-on-2xl",width_33On_2xl:"pf-m-width-33-on-2xl",width_50On_2xl:"pf-m-width-50-on-2xl",width_66On_2xl:"pf-m-width-66-on-2xl",width_75On_2xl:"pf-m-width-75-on-2xl",width_100On_2xl:"pf-m-width-100-on-2xl",inlineOnLg:"pf-m-inline-on-lg",staticOnLg:"pf-m-static-on-lg",inlineOnXl:"pf-m-inline-on-xl",staticOnXl:"pf-m-static-on-xl",inlineOn_2xl:"pf-m-inline-on-2xl",staticOn_2xl:"pf-m-static-on-2xl"},themeGlass:"pf-v6-theme-glass"};var Tp;(function(n){n.default="default",n.secondary="secondary",n.noBackground="no-background"})(Tp||(Tp={}));var Og=Rg.createContext({isExpanded:!1,isStatic:!1,onExpand:()=>{},position:"end",drawerRef:null,drawerContentRef:null,isInline:!1}),AO=(n)=>{var{className:r="",children:a,isExpanded:l=!1,isInline:f=!1,isPill:u=!1,isStatic:p=!1,position:h="end",onExpand:b=()=>{}}=n,x=E(n,["className","children","isExpanded","isInline","isPill","isStatic","position","onExpand"]);let y=Rg.useRef(void 0),_=Rg.useRef(void 0);return wO.jsx(Og.Provider,{value:{isExpanded:l,isStatic:p,onExpand:b,position:h,drawerRef:y,drawerContentRef:_,isInline:f},children:wO.jsx("div",Object.assign({className:S(nn.drawer,l&&nn.modifiers.expanded,f&&nn.modifiers.inline,u&&nn.modifiers.pill,p&&nn.modifiers.static,(h==="left"||h==="start")&&nn.modifiers.panelLeft,h==="bottom"&&nn.modifiers.panelBottom,r),ref:y},x,{children:a}))})};AO.displayName="Drawer";var kv=w(X()),jB=w(Oe());var PB=w(X());var TO=(n)=>{var{className:r="",children:a}=n,l=E(n,["className","children"]);return PB.jsx("div",Object.assign({className:S(nn.drawerMain,r)},l,{children:a}))};TO.displayName="DrawerMain";var wg;(function(n){n.default="default",n.primary="primary",n.secondary="secondary"})(wg||(wg={}));var EO=(n)=>{var{className:r,children:a,panelContent:l,colorVariant:f=wg.default}=n,u=E(n,["className","children","panelContent","colorVariant"]);let{drawerContentRef:p}=jB.useContext(Og);return kv.jsxs(TO,{children:[kv.jsx("div",Object.assign({className:S(nn.drawerContent,f===wg.primary&&nn.modifiers.primary,f===wg.secondary&&nn.modifiers.secondary,r),ref:p},u,{children:a})),l]})};EO.displayName="DrawerContent";var zc=w(X()),qn=w(Oe());var ZG={name:"--pf-v6-c-drawer__panel--md--FlexBasis",value:"50%",var:"var(--pf-v6-c-drawer__panel--md--FlexBasis)"},Pv=ZG;var KG={name:"--pf-v6-c-drawer__panel--md--FlexBasis--min",value:"1.5rem",var:"var(--pf-v6-c-drawer__panel--md--FlexBasis--min)"},FB=KG;var JG={name:"--pf-v6-c-drawer__panel--md--FlexBasis--max",value:"100%",var:"var(--pf-v6-c-drawer__panel--md--FlexBasis--max)"},HB=JG;var Hc=null,Ag=0,DO=(n)=>{var{className:r,id:a,children:l,hasNoBorder:f=!1,isResizable:u=!1,hasNoGlass:p=!1,isGlass:h=!1,isPlain:b=!1,isNoPlainOnGlass:x=!1,onResize:y,minSize:_,defaultSize:v,maxSize:I,increment:O=5,resizeAriaLabel:A="Resize",widths:D,colorVariant:k=Tp.default,focusTrap:z,style:M}=n,V=E(n,["className","id","children","hasNoBorder","isResizable","hasNoGlass","isGlass","isPlain","isNoPlainOnGlass","onResize","minSize","defaultSize","maxSize","increment","resizeAriaLabel","widths","colorVariant","focusTrap","style"]);let G=ho("pf-drawer-panel-"),K=qn.useRef(void 0),ie=qn.useRef(void 0),[re,de]=qn.useState(0),{position:J,isExpanded:Ce,isStatic:Q,onExpand:L,drawerRef:Y,drawerContentRef:P,isInline:Z}=qn.useContext(Og),ne=Q?!1:!Ce,[he,le]=qn.useState(!ne),[Me,B]=qn.useState(!1),[ce,fe]=qn.useState(ne),se=qn.useRef(null),be=qn.useRef({initialPointerPos:0,initialPanelSize:0,currWidth:0});if(Q&&(z===null||z===void 0?void 0:z.enabled))console.warn("DrawerPanelContent: The focusTrap.enabled prop cannot be true if the Drawer's isStatic prop is true. This will cause a permanent focus trap.");qn.useEffect(()=>{if(!Q&&Ce)le(Ce),fe(!1)},[Q,Ce]);let De=()=>{let Pe,et,Te=Si(K.current)==="rtl";if(Z&&(J==="end"||J==="right"))if(Te)Pe=K.current.getBoundingClientRect().left-ie.current.getBoundingClientRect().right,et=Y.current.getBoundingClientRect().left-Y.current.getBoundingClientRect().right;else Pe=K.current.getBoundingClientRect().right-ie.current.getBoundingClientRect().left,et=Y.current.getBoundingClientRect().right-Y.current.getBoundingClientRect().left;else if(Z&&(J==="start"||J==="left"))if(Te)Pe=ie.current.getBoundingClientRect().left-K.current.getBoundingClientRect().right,et=Y.current.getBoundingClientRect().left-Y.current.getBoundingClientRect().right;else Pe=ie.current.getBoundingClientRect().right-K.current.getBoundingClientRect().left,et=Y.current.getBoundingClientRect().right-Y.current.getBoundingClientRect().left;else if(J==="end"||J==="right")if(Te)Pe=P.current.getBoundingClientRect().left-ie.current.getBoundingClientRect().right,et=P.current.getBoundingClientRect().left-P.current.getBoundingClientRect().right;else Pe=P.current.getBoundingClientRect().right-ie.current.getBoundingClientRect().left,et=P.current.getBoundingClientRect().right-P.current.getBoundingClientRect().left;else if(J==="start"||J==="left")if(Te)Pe=ie.current.getBoundingClientRect().left-P.current.getBoundingClientRect().right,et=P.current.getBoundingClientRect().left-P.current.getBoundingClientRect().right;else Pe=ie.current.getBoundingClientRect().right-P.current.getBoundingClientRect().left,et=P.current.getBoundingClientRect().right-P.current.getBoundingClientRect().left;else if(J==="bottom")Pe=P.current.getBoundingClientRect().bottom-ie.current.getBoundingClientRect().top,et=P.current.getBoundingClientRect().bottom-P.current.getBoundingClientRect().top;let Ve=Pe/et*100;return Math.round((Ve+Number.EPSILON)*100)/100},we=(Pe)=>{let et=K.current.getBoundingClientRect(),Te=J==="bottom"?et.height:et.width;be.current={initialPointerPos:Pe,initialPanelSize:Te,currWidth:Te}},Ze=(Pe)=>{Pe.stopPropagation(),we(J==="bottom"?Pe.touches[0].clientY:Pe.touches[0].clientX),document.addEventListener("touchmove",pt,{passive:!1}),document.addEventListener("touchend",Dt),Hc=!0},ct=(Pe)=>{Pe.stopPropagation(),Pe.preventDefault(),we(J==="bottom"?Pe.clientY:Pe.clientX),document.addEventListener("mousemove",ke),document.addEventListener("mouseup",Ke),Y.current.classList.add(S(nn.modifiers.resizing)),Hc=!0},Tt=(Pe)=>{let et=J==="bottom"?Pe.clientY:Pe.clientX;Re(Pe,et)},yt=(Pe)=>{Pe.preventDefault(),Pe.stopImmediatePropagation();let et=J==="bottom"?Pe.touches[0].clientY:Pe.touches[0].clientX;Re(Pe,et)},Re=(Pe,et)=>{let Te=Si(K.current)==="rtl";if(Pe.stopPropagation(),!Hc)return;let{initialPointerPos:Ve,initialPanelSize:Ye}=be.current,Nn=et-Ve,Yn=0;if(J==="end"||J==="right")Yn=Te?Ye+Nn:Ye-Nn;else if(J==="start"||J==="left")Yn=Te?Ye-Nn:Ye+Nn;else Yn=Ye-Nn;if(J==="bottom")K.current.style.overflowAnchor="none";K.current.style.setProperty(Pv.name,Yn+"px"),be.current.currWidth=Yn,de(De())},Ue=(Pe)=>{if(!Hc)return;Y.current.classList.remove(S(nn.modifiers.resizing)),Hc=!1,y&&y(Pe,be.current.currWidth,a),document.removeEventListener("mousemove",ke),document.removeEventListener("mouseup",Ke)},tt=(Pe)=>{if(Pe.stopPropagation(),!Hc)return;Hc=!1,y&&y(Pe,be.current.currWidth,a),document.removeEventListener("touchmove",pt),document.removeEventListener("touchend",Dt)},ke=qn.useCallback(Tt,[]),Dt=qn.useCallback(tt,[]),pt=qn.useCallback(yt,[]),Ke=qn.useCallback(Ue,[]),Zt=(Pe)=>{let et=Si(K.current)==="rtl",Te=Pe.key;if(Te!=="Escape"&&Te!=="Enter"&&Te!=="ArrowUp"&&Te!=="ArrowDown"&&Te!=="ArrowLeft"&&Te!=="ArrowRight"){if(Hc)Pe.preventDefault();return}if(Pe.preventDefault(),Te==="Escape"||Te==="Enter")y&&y(Pe,be.current.currWidth,a);let Ve=K.current.getBoundingClientRect();Ag=J==="bottom"?Ve.height:Ve.width;let Ye=0;if(Te==="ArrowRight")if(et)Ye=J==="left"||J==="start"?-O:O;else Ye=J==="left"||J==="start"?O:-O;else if(Te==="ArrowLeft")if(et)Ye=J==="left"||J==="start"?O:-O;else Ye=J==="left"||J==="start"?-O:O;else if(Te==="ArrowUp")Ye=O;else if(Te==="ArrowDown")Ye=-O;if(Ag=Ag+Ye,J==="bottom")K.current.style.overflowAnchor="none";K.current.style.setProperty(Pv.name,Ag+"px"),be.current.currWidth=Ag,de(De())},Mt={};if(v)Mt[Pv.name]=v;if(_)Mt[FB.name]=_;if(I)Mt[HB.name]=I;let Be=(z===null||z===void 0?void 0:z.enabled)&&!Q,xe=Be?su:"div",vn={tabIndex:-1,"aria-modal":!0,role:"dialog",active:Me,"aria-labelledby":(z===null||z===void 0?void 0:z["aria-labelledby"])||a||G,focusTrapOptions:{fallbackFocus:()=>K.current,onActivate:()=>{if(se.current!==document.activeElement)se.current=document.activeElement},onDeactivate:()=>{se.current&&se.current.focus&&se.current.focus()},clickOutsideDeactivates:!0,returnFocusOnDeactivate:!1,initialFocus:(z===null||z===void 0?void 0:z.elementToFocusOnExpand)||void 0,escapeDeactivates:!1}};return zc.jsx(xe,Object.assign({},Be&&vn,{id:a||G,className:S(nn.drawerPanel,u&&nn.modifiers.resizable,p&&"pf-m-no-glass",h&&nn.modifiers.glass,b&&nn.modifiers.plain,x&&nn.modifiers.noPlainOnGlass,f&&nn.modifiers.noBorder,ze(D,nn),k===Tp.noBackground&&nn.modifiers.noBackground,k===Tp.secondary&&nn.modifiers.secondary,r),onTransitionEnd:(Pe)=>{if(Pe.target===K.current){if(!ne&&Pe.nativeEvent.propertyName==="transform")L(Pe);if(le(!ne),ne&&Pe.nativeEvent.propertyName==="transform")fe(!0);if(Be&&Pe.nativeEvent.propertyName==="transform")B((et)=>!et)}},hidden:ne,style:Object.assign(Object.assign({},(v||_||I)&&Mt),M)},ce&&{inert:""},V,{ref:K,children:he&&zc.jsxs(qn.Fragment,{children:[u&&zc.jsxs(qn.Fragment,{children:[zc.jsx("div",{className:S(nn.drawerSplitter,J!=="bottom"&&nn.modifiers.vertical),role:"separator",tabIndex:0,"aria-orientation":J==="bottom"?"horizontal":"vertical","aria-label":A,"aria-valuenow":re,"aria-valuemin":0,"aria-valuemax":100,"aria-controls":a||G,onMouseDown:ct,onKeyDown:Zt,onTouchStart:Ze,ref:ie,children:zc.jsx("div",{className:S(nn.drawerSplitterHandle),"aria-hidden":!0})}),zc.jsx("div",{className:S(nn.drawerPanelMain),children:l})]}),!u&&l]})}))};DO.displayName="DrawerPanelContent";var VB=w(X());var zB;(function(n){n.h1="h1",n.h2="h2",n.h3="h3",n.h4="h4",n.h5="h5",n.h6="h6",n.p="p",n.a="a",n.small="small",n.blockquote="blockquote",n.pre="pre",n.hr="hr",n.ul="ul",n.ol="ol",n.dl="dl",n.li="li",n.dt="dt",n.dd="dd"})(zB||(zB={}));var QG={div:jn.content,h1:jn.contentH1,h2:jn.contentH2,h3:jn.contentH3,h4:jn.contentH4,h5:jn.contentH5,h6:jn.contentH6,p:jn.contentP,a:jn.contentA,small:jn.contentSmall,blockquote:jn.contentBlockquote,pre:jn.contentPre,hr:jn.contentHr,ul:jn.contentUl,ol:jn.contentOl,dl:jn.contentDl,li:jn.contentLi,dt:jn.contentDt,dd:jn.contentDd},jv=(n)=>{var{children:r,className:a="",component:l,isPlainList:f=!1,isVisitedLink:u=!1,ouiaId:p,ouiaSafe:h=!0,isEditorial:b=!1}=n,x=E(n,["children","className","component","isPlainList","isVisitedLink","ouiaId","ouiaSafe","isEditorial"]);let y=l!==null&&l!==void 0?l:"div",_=y,v=Jn(jv.displayName,p,h),I=["ul","ol","dl"].includes(y);return VB.jsx(_,Object.assign({},v,x,{"data-pf-content":!0,className:S(QG[y],I&&f&&jn.modifiers.plain,u&&jn.modifiers.visited,b&&jn.modifiers.editorial,a),children:r}))};jv.displayName="Content";var eX={name:"RhUiGripVerticalFillIcon",icon:{xOffset:0,yOffset:0,width:32,height:32,svgPathData:"M13.75 2.25v5.5c0 .551-.448 1-1 1h-5.5c-.552 0-1-.449-1-1v-5.5c0-.551.448-1 1-1h5.5c.552 0 1 .449 1 1Zm11-1h-5.5c-.552 0-1 .449-1 1v5.5c0 .551.448 1 1 1h5.5c.552 0 1-.449 1-1v-5.5c0-.551-.448-1-1-1Zm-12 11h-5.5c-.552 0-1 .449-1 1v5.5a1 1 0 0 0 1 1h5.5a1 1 0 0 0 1-1v-5.5c0-.551-.448-1-1-1Zm12 0h-5.5c-.552 0-1 .449-1 1v5.5a1 1 0 0 0 1 1h5.5a1 1 0 0 0 1-1v-5.5c0-.551-.448-1-1-1Zm-12 11h-5.5a1 1 0 0 0-1 1v5.5a1 1 0 0 0 1 1h5.5a1 1 0 0 0 1-1v-5.5a1 1 0 0 0-1-1Zm12 0h-5.5a1 1 0 0 0-1 1v5.5a1 1 0 0 0 1 1h5.5a1 1 0 0 0 1-1v-5.5a1 1 0 0 0-1-1Z"},rhUiIcon:null},tX=qe(eX),GB=tX;var Fa=w(X()),Vc=w(Oe());var Nt={modifiers:{noPadding:"pf-m-no-padding",widthAuto:"pf-m-width-auto",top:"pf-m-top",topLeft:"pf-m-top-left",topRight:"pf-m-top-right",bottom:"pf-m-bottom",bottomLeft:"pf-m-bottom-left",bottomRight:"pf-m-bottom-right",left:"pf-m-left",leftTop:"pf-m-left-top",leftBottom:"pf-m-left-bottom",right:"pf-m-right",rightTop:"pf-m-right-top",rightBottom:"pf-m-right-bottom",danger:"pf-m-danger",warning:"pf-m-warning",success:"pf-m-success",custom:"pf-m-custom",info:"pf-m-info"},popover:"pf-v6-c-popover",popoverArrow:"pf-v6-c-popover__arrow",popoverBody:"pf-v6-c-popover__body",popoverClose:"pf-v6-c-popover__close",popoverContent:"pf-v6-c-popover__content",popoverFooter:"pf-v6-c-popover__footer",popoverHeader:"pf-v6-c-popover__header",popoverTitle:"pf-v6-c-popover__title",popoverTitleIcon:"pf-v6-c-popover__title-icon",popoverTitleText:"pf-v6-c-popover__title-text"};var XB=w(Oe()),qB=XB.createContext({});var $B=w(X());var MO=(n)=>{var{className:r=null,children:a}=n,l=E(n,["className","children"]);return $B.jsx("div",Object.assign({className:S(Nt.popoverContent,r)},l,{children:a}))};MO.displayName="PopoverContent";var YB=w(X());var UO=(n)=>{var{children:r,id:a,className:l}=n,f=E(n,["children","id","className"]);return YB.jsx("div",Object.assign({className:S(Nt.popoverBody,l),id:a},f,{children:r}))};UO.displayName="PopoverBody";var _u=w(X());var WB=w(X());var NO=(n)=>{var{children:r,className:a}=n,l=E(n,["children","className"]);return WB.jsx("span",Object.assign({className:S(Nt.popoverTitleIcon,a)},l,{children:r}))};NO.displayName="PopoverHeaderIcon";var ZB=w(X());var BO=(n)=>{var{children:r,className:a,headingLevel:l}=n,f=E(n,["children","className","headingLevel"]);return ZB.jsx(l,Object.assign({className:S(Nt.popoverTitleText,a)},f,{children:r}))};BO.displayName="PopoverHeaderText";var LO=(n)=>{var{children:r,icon:a,className:l,titleHeadingLevel:f="h6",alertSeverityVariant:u,id:p,alertSeverityScreenReaderText:h}=n,b=E(n,["children","icon","className","titleHeadingLevel","alertSeverityVariant","id","alertSeverityScreenReaderText"]);return _u.jsx("header",Object.assign({className:S(Nt.popoverHeader,l)},b,{children:_u.jsxs("div",{className:S(Nt.popoverTitle),id:p,children:[a&&_u.jsx(NO,{children:a}),_u.jsxs(BO,{headingLevel:f,children:[u&&h&&_u.jsx("span",{className:"pf-v6-screen-reader",children:h}),r]})]})}))};LO.displayName="PopoverHeader";var KB=w(X());var kO=(n)=>{var{children:r,className:a=""}=n,l=E(n,["children","className"]);return KB.jsx("footer",Object.assign({className:S(Nt.popoverFooter,a)},l,{children:r}))};kO.displayName="PopoverFooter";var Fv=w(X());var PO=(n)=>{var{onClose:r=()=>{return}}=n,a=E(n,["onClose"]);return Fv.jsx("div",{className:S(Nt.popoverClose),children:Fv.jsx(Le,Object.assign({onClick:r,variant:"plain","aria-label":!0},a,{style:{pointerEvents:"auto"},icon:Fv.jsx(Nc,{})}))})};PO.displayName="PopoverCloseButton";var JB=w(X());var jO=(n)=>{var{className:r=""}=n,a=E(n,["className"]);return JB.jsx("div",Object.assign({className:S(Nt.popoverArrow,r)},a))};jO.displayName="PopoverArrow";var nX={name:"--pf-v6-c-popover--MaxWidth",value:"none",var:"var(--pf-v6-c-popover--MaxWidth)"},Hv=nX;var oX={name:"--pf-v6-c-popover--MinWidth",value:"auto",var:"var(--pf-v6-c-popover--MinWidth)"},zv=oX;var QB;(function(n){n.auto="auto",n.top="top",n.bottom="bottom",n.left="left",n.right="right",n.topStart="top-start",n.topEnd="top-end",n.bottomStart="bottom-start",n.bottomEnd="bottom-end",n.leftStart="left-start",n.leftEnd="left-end",n.rightStart="right-start",n.rightEnd="right-end"})(QB||(QB={}));var rX={custom:Nt.modifiers.custom,info:Nt.modifiers.info,success:Nt.modifiers.success,warning:Nt.modifiers.warning,danger:Nt.modifiers.danger},FO=(n)=>{var{children:r,position:a="top",enableFlip:l=!0,className:f="",isVisible:u=null,shouldClose:p=()=>null,shouldOpen:h=()=>null,"aria-label":b="",bodyContent:x,headerContent:y=null,headerComponent:_="h6",headerIcon:v=null,alertSeverityVariant:I,alertSeverityScreenReaderText:O,footerContent:A=null,appendTo:D=()=>document.body,hideOnOutsideClick:k=!0,onHide:z=()=>null,onHidden:M=()=>null,onShow:V=()=>null,onShown:G=()=>null,onMount:K=()=>null,zIndex:ie=9999,triggerAction:re="click",minWidth:de=zv&&zv.value,maxWidth:J=Hv&&Hv.value,closeBtnAriaLabel:Ce="Close",showClose:Q=!0,distance:L=25,flipBehavior:Y=["top","bottom","left","right","top-start","top-end","bottom-start","bottom-end","left-start","left-end","right-start","right-end"],animationDuration:P=300,id:Z,withFocusTrap:ne=re==="hover"?!1:void 0,triggerRef:he,hasNoPadding:le=!1,hasAutoWidth:Me=!1,elementToFocus:B}=n,ce=E(n,["children","position","enableFlip","className","isVisible","shouldClose","shouldOpen","aria-label","bodyContent","headerContent","headerComponent","headerIcon","alertSeverityVariant","alertSeverityScreenReaderText","footerContent","appendTo","hideOnOutsideClick","onHide","onHidden","onShow","onShown","onMount","zIndex","triggerAction","minWidth","maxWidth","closeBtnAriaLabel","showClose","distance","flipBehavior","animationDuration","id","withFocusTrap","triggerRef","hasNoPadding","hasAutoWidth","elementToFocus"]);let fe=ho(),se=Z||fe,be=u!==null,[De,we]=Vc.useState(!1),[Ze,ct]=Vc.useState(Boolean(ne)),Tt=Vc.useRef(null);Vc.useEffect(()=>{K()},[]),Vc.useEffect(()=>{if(be)if(u)yt(void 0,!0);else Re()},[u,be]);let yt=(Te,Ve)=>{Te&&V(Te),we(!0),ne!==!1&&Ve&&ct(!0)},Re=(Te)=>{Te&&z(Te),we(!1)},Ue={top:Nt.modifiers.top,bottom:Nt.modifiers.bottom,left:Nt.modifiers.left,right:Nt.modifiers.right,"top-start":Nt.modifiers.topLeft,"top-end":Nt.modifiers.topRight,"bottom-start":Nt.modifiers.bottomLeft,"bottom-end":Nt.modifiers.bottomRight,"left-start":Nt.modifiers.leftTop,"left-end":Nt.modifiers.leftBottom,"right-start":Nt.modifiers.rightTop,"right-end":Nt.modifiers.rightBottom},tt=de!==zv.value,ke=J!==Hv.value,Dt=(Te)=>{if(Te.key===Dl.Escape&&De)if(be)p(Te,Re);else Re(Te)},pt=(Te,Ve,Ye)=>{if(k&&De){let Nn=Ye&&Ye.contains(Te.target),Yn=Ve&&Ve.contains(Te.target);if(Nn||Yn)return;if(be)p(Te,Re);else Re(Te)}},Ke=(Te)=>{if(be)if(De)p(Te,Re);else h(Te,yt);else if(De)Re(Te);else yt(Te,!0)},Zt=()=>{if(Ze)ct(!1)},Mt=(Te)=>{if(be)h(Te,yt);else yt(Te,!1)},Be=(Te)=>{if(be)p(Te,Re);else Re(Te)},xe=(Te)=>{if(be)h(Te,yt);else yt(Te,!1)},vn=(Te)=>{if(be)p(Te,Re);else Re(Te)},Pe=(Te)=>{if(Te.stopPropagation(),be)p(Te,Re);else Re(Te)},et=Fa.jsxs(su,Object.assign({ref:Tt,active:Ze,focusTrapOptions:{returnFocusOnDeactivate:ne!==!1,clickOutsideDeactivates:!0,initialFocus:B||void 0,checkCanFocusTrap:(Te)=>new Promise((Ve)=>{let Ye=setInterval(()=>{if(Te.every((Yn)=>getComputedStyle(Yn).visibility!=="hidden"))clearInterval(Ye),Ve()},10),Nn=setTimeout(()=>{clearInterval(Ye),Ve()},5000);Ve._cleanup=()=>{clearInterval(Ye),clearTimeout(Nn)}}),tabbableOptions:{displayCheck:"none"},fallbackFocus:()=>{let Te=null;if(document&&document.activeElement)Te=document.activeElement;return Te}},preventScrollOnDeactivate:!0,className:S(Nt.popover,I&&rX[I],le&&Nt.modifiers.noPadding,Me&&Nt.modifiers.widthAuto,f),role:"dialog","aria-modal":"true","aria-label":y?void 0:b,"aria-labelledby":y?`popover-${se}-header`:void 0,"aria-describedby":`popover-${se}-body`,onMouseDown:Zt,style:{minWidth:tt?de:null,maxWidth:ke?J:null}},ce,{children:[Fa.jsx(jO,{}),Fa.jsxs(MO,{children:[Q&&re==="click"&&Fa.jsx(PO,{onClose:Pe,"aria-label":Ce}),y&&Fa.jsx(LO,{id:`popover-${se}-header`,icon:v,alertSeverityVariant:I,alertSeverityScreenReaderText:O||`${I} alert:`,titleHeadingLevel:_,children:typeof y==="function"?y(Re):y}),Fa.jsx(UO,{id:`popover-${se}-body`,children:typeof x==="function"?x(Re):x}),A&&Fa.jsx(kO,{id:`popover-${se}-footer`,children:typeof A==="function"?A(Re):A})]})]}));return Fa.jsx(qB.Provider,{value:{headerComponent:_},children:Fa.jsx(ka,{trigger:r,triggerRef:he,popper:et,popperRef:Tt,minWidth:de,appendTo:D,isVisible:De,onMouseEnter:re==="hover"&&Mt,onMouseLeave:re==="hover"&&Be,onPopperMouseEnter:re==="hover"&&Mt,onPopperMouseLeave:re==="hover"&&Be,onFocus:re==="hover"&&xe,onBlur:re==="hover"&&vn,positionModifiers:Ue,distance:L,placement:a,onTriggerClick:re==="click"&&Ke,onDocumentClick:pt,onDocumentKeyDown:Dt,enableFlip:l,zIndex:ie,flipBehavior:Y,animationDuration:P,onHidden:M,onShown:G,onHide:()=>ct(!1)})})};FO.displayName="Popover";var rL=w(X());var $n={card:"pf-v6-c-card",descriptionList:"pf-v6-c-description-list",descriptionListDescription:"pf-v6-c-description-list__description",descriptionListGroup:"pf-v6-c-description-list__group",descriptionListTerm:"pf-v6-c-description-list__term",descriptionListTermIcon:"pf-v6-c-description-list__term-icon",descriptionListText:"pf-v6-c-description-list__text",modifiers:{inlineGrid:"pf-m-inline-grid",autoColumnWidths:"pf-m-auto-column-widths",autoFit:"pf-m-auto-fit",compact:"pf-m-compact",fluid:"pf-m-fluid",fillColumns:"pf-m-fill-columns",displayLg:"pf-m-display-lg",display_2xl:"pf-m-display-2xl",helpText:"pf-m-help-text","1Col":"pf-m-1-col","2Col":"pf-m-2-col","3Col":"pf-m-3-col",horizontal:"pf-m-horizontal",vertical:"pf-m-vertical","1ColOnSm":"pf-m-1-col-on-sm","2ColOnSm":"pf-m-2-col-on-sm","3ColOnSm":"pf-m-3-col-on-sm",horizontalOnSm:"pf-m-horizontal-on-sm",verticalOnSm:"pf-m-vertical-on-sm","1ColOnMd":"pf-m-1-col-on-md","2ColOnMd":"pf-m-2-col-on-md","3ColOnMd":"pf-m-3-col-on-md",horizontalOnMd:"pf-m-horizontal-on-md",verticalOnMd:"pf-m-vertical-on-md","1ColOnLg":"pf-m-1-col-on-lg","2ColOnLg":"pf-m-2-col-on-lg","3ColOnLg":"pf-m-3-col-on-lg",horizontalOnLg:"pf-m-horizontal-on-lg",verticalOnLg:"pf-m-vertical-on-lg","1ColOnXl":"pf-m-1-col-on-xl","2ColOnXl":"pf-m-2-col-on-xl","3ColOnXl":"pf-m-3-col-on-xl",horizontalOnXl:"pf-m-horizontal-on-xl",verticalOnXl:"pf-m-vertical-on-xl","1ColOn_2xl":"pf-m-1-col-on-2xl","2ColOn_2xl":"pf-m-2-col-on-2xl","3ColOn_2xl":"pf-m-3-col-on-2xl",horizontalOn_2xl:"pf-m-horizontal-on-2xl",verticalOn_2xl:"pf-m-vertical-on-2xl"}};var iX={name:"--pf-v6-c-description-list--GridTemplateColumns--min",value:"0",var:"var(--pf-v6-c-description-list--GridTemplateColumns--min)"},eL=iX;var aX={name:"--pf-v6-c-description-list__term--width",value:"12ch",var:"var(--pf-v6-c-description-list__term--width)"},tL=aX;var lX={name:"--pf-v6-c-description-list--m-horizontal__term--width",value:"fit-content(20ch)",var:"var(--pf-v6-c-description-list--m-horizontal__term--width)"},nL=lX;var oL=(n,r)=>{let a=r;return Object.keys(a||{}).reduce((l,f)=>f==="default"?Object.assign(Object.assign({},l),{[n]:a[f]}):Object.assign(Object.assign({},l),{[`${n}-on-${f}`]:a[f]}),{})},Ru=(n)=>{var{className:r="",children:a=null,isHorizontal:l=!1,isAutoColumnWidths:f,isAutoFit:u,isInlineGrid:p,isCompact:h,isFluid:b,isFillColumns:x,displaySize:y="default",columnModifier:_,autoFitMinModifier:v,termWidth:I,horizontalTermWidthModifier:O,orientation:A,style:D}=n,k=E(n,["className","children","isHorizontal","isAutoColumnWidths","isAutoFit","isInlineGrid","isCompact","isFluid","isFillColumns","displaySize","columnModifier","autoFitMinModifier","termWidth","horizontalTermWidthModifier","orientation","style"]);if(u&&v)D=Object.assign(Object.assign({},D),oL(eL.name,v));if(I)D=Object.assign(Object.assign({},D),{[tL.name]:I});if(l&&O)D=Object.assign(Object.assign({},D),oL(nL.name,O));return rL.jsx("dl",Object.assign({className:S($n.descriptionList,(l||b)&&$n.modifiers.horizontal,f&&$n.modifiers.autoColumnWidths,u&&$n.modifiers.autoFit,ze(_,$n),ze(A,$n),p&&$n.modifiers.inlineGrid,h&&$n.modifiers.compact,b&&$n.modifiers.fluid,x&&$n.modifiers.fillColumns,y==="lg"&&$n.modifiers.displayLg,y==="2xl"&&$n.modifiers.display_2xl,r),style:D},k,{children:a}))};Ru.displayName="DescriptionList";var HO=w(X());var cr=(n)=>{var{children:r=null,className:a}=n,l=E(n,["children","className"]);return HO.jsx("dd",Object.assign({className:S($n.descriptionListDescription,a)},l,{children:HO.jsx("div",{className:S($n.descriptionListText),children:r})}))};cr.displayName="DescriptionListDescription";var iL=w(X());var fr=(n)=>{var{className:r,children:a}=n,l=E(n,["className","children"]);return iL.jsx("div",Object.assign({className:S($n.descriptionListGroup,r)},l,{children:a}))};fr.displayName="DescriptionListGroup";var Tg=w(X());var ur=(n)=>{var{children:r,className:a,icon:l}=n,f=E(n,["children","className","icon"]);return Tg.jsxs("dt",Object.assign({className:S($n.descriptionListTerm,a)},f,{children:[l?Tg.jsx("span",{className:S($n.descriptionListTermIcon),children:l}):null,Tg.jsx("span",{className:S($n.descriptionListText),children:r})]}))};ur.displayName="DescriptionListTerm";var aL=w(X());var Ep={divider:"pf-v6-c-divider",modifiers:{hidden:"pf-m-hidden",hiddenOnSm:"pf-m-hidden-on-sm",visibleOnSm:"pf-m-visible-on-sm",hiddenOnMd:"pf-m-hidden-on-md",visibleOnMd:"pf-m-visible-on-md",hiddenOnLg:"pf-m-hidden-on-lg",visibleOnLg:"pf-m-visible-on-lg",hiddenOnXl:"pf-m-hidden-on-xl",visibleOnXl:"pf-m-visible-on-xl",hiddenOn_2xl:"pf-m-hidden-on-2xl",visibleOn_2xl:"pf-m-visible-on-2xl",horizontal:"pf-m-horizontal",vertical:"pf-m-vertical",insetNone:"pf-m-inset-none",insetXs:"pf-m-inset-xs",insetSm:"pf-m-inset-sm",insetMd:"pf-m-inset-md",insetLg:"pf-m-inset-lg",insetXl:"pf-m-inset-xl",inset_2xl:"pf-m-inset-2xl",inset_3xl:"pf-m-inset-3xl",horizontalOnSm:"pf-m-horizontal-on-sm",verticalOnSm:"pf-m-vertical-on-sm",insetNoneOnSm:"pf-m-inset-none-on-sm",insetXsOnSm:"pf-m-inset-xs-on-sm",insetSmOnSm:"pf-m-inset-sm-on-sm",insetMdOnSm:"pf-m-inset-md-on-sm",insetLgOnSm:"pf-m-inset-lg-on-sm",insetXlOnSm:"pf-m-inset-xl-on-sm",inset_2xlOnSm:"pf-m-inset-2xl-on-sm",inset_3xlOnSm:"pf-m-inset-3xl-on-sm",horizontalOnMd:"pf-m-horizontal-on-md",verticalOnMd:"pf-m-vertical-on-md",insetNoneOnMd:"pf-m-inset-none-on-md",insetXsOnMd:"pf-m-inset-xs-on-md",insetSmOnMd:"pf-m-inset-sm-on-md",insetMdOnMd:"pf-m-inset-md-on-md",insetLgOnMd:"pf-m-inset-lg-on-md",insetXlOnMd:"pf-m-inset-xl-on-md",inset_2xlOnMd:"pf-m-inset-2xl-on-md",inset_3xlOnMd:"pf-m-inset-3xl-on-md",horizontalOnLg:"pf-m-horizontal-on-lg",verticalOnLg:"pf-m-vertical-on-lg",insetNoneOnLg:"pf-m-inset-none-on-lg",insetXsOnLg:"pf-m-inset-xs-on-lg",insetSmOnLg:"pf-m-inset-sm-on-lg",insetMdOnLg:"pf-m-inset-md-on-lg",insetLgOnLg:"pf-m-inset-lg-on-lg",insetXlOnLg:"pf-m-inset-xl-on-lg",inset_2xlOnLg:"pf-m-inset-2xl-on-lg",inset_3xlOnLg:"pf-m-inset-3xl-on-lg",horizontalOnXl:"pf-m-horizontal-on-xl",verticalOnXl:"pf-m-vertical-on-xl",insetNoneOnXl:"pf-m-inset-none-on-xl",insetXsOnXl:"pf-m-inset-xs-on-xl",insetSmOnXl:"pf-m-inset-sm-on-xl",insetMdOnXl:"pf-m-inset-md-on-xl",insetLgOnXl:"pf-m-inset-lg-on-xl",insetXlOnXl:"pf-m-inset-xl-on-xl",inset_2xlOnXl:"pf-m-inset-2xl-on-xl",inset_3xlOnXl:"pf-m-inset-3xl-on-xl",horizontalOn_2xl:"pf-m-horizontal-on-2xl",verticalOn_2xl:"pf-m-vertical-on-2xl",insetNoneOn_2xl:"pf-m-inset-none-on-2xl",insetXsOn_2xl:"pf-m-inset-xs-on-2xl",insetSmOn_2xl:"pf-m-inset-sm-on-2xl",insetMdOn_2xl:"pf-m-inset-md-on-2xl",insetLgOn_2xl:"pf-m-inset-lg-on-2xl",insetXlOn_2xl:"pf-m-inset-xl-on-2xl",inset_2xlOn_2xl:"pf-m-inset-2xl-on-2xl",inset_3xlOn_2xl:"pf-m-inset-3xl-on-2xl"}};var zO;(function(n){n.hr="hr",n.li="li",n.div="div"})(zO||(zO={}));var Gc=(n)=>{var{className:r,component:a=zO.hr,inset:l,orientation:f,role:u="separator"}=n,p=E(n,["className","component","inset","orientation","role"]);return aL.jsx(a,Object.assign({className:S(Ep.divider,ze(l,Ep),ze(f,Ep),r)},a!=="hr"&&{role:u},p))};Gc.displayName="Divider";var Dp=w(X()),Rs=w(Oe());var sX=(n)=>{var{children:r,className:a,onSelect:l,isOpen:f,toggle:u,shouldFocusToggleOnSelect:p=!1,onOpenChange:h,onToggleKeydown:b,isPlain:x,isScrollable:y,innerRef:_,ouiaId:v,ouiaSafe:I=!0,zIndex:O=9999,popperProps:A,onOpenChangeKeys:D=["Escape","Tab"],menuHeight:k,maxMenuHeight:z,shouldFocusFirstItemOnOpen:M=!1,shouldPreventScrollOnItemFocus:V=!0,focusTimeoutDelay:G=0,containerOuiaId:K,containerOuiaSafe:ie=!0,containerComponent:re="span"}=n,de=E(n,["children","className","onSelect","isOpen","toggle","shouldFocusToggleOnSelect","onOpenChange","onToggleKeydown","isPlain","isScrollable","innerRef","ouiaId","ouiaSafe","zIndex","popperProps","onOpenChangeKeys","menuHeight","maxMenuHeight","shouldFocusFirstItemOnOpen","shouldPreventScrollOnItemFocus","focusTimeoutDelay","containerOuiaId","containerOuiaSafe","containerComponent"]);let J=Rs.useRef(void 0),Ce=Rs.useRef(void 0),Q=Jn(Vv.displayName,v,I),L=re,Y=Jn("Dropdown container",K,ie),P=_||J,Z=typeof u==="function"||typeof u!=="function"&&!u.toggleRef?Ce:u===null||u===void 0?void 0:u.toggleRef,ne=Rs.useRef(f);Rs.useEffect(()=>{if(ne.current===!1&&f===!0&&M)setTimeout(()=>{var B;let ce=(B=P===null||P===void 0?void 0:P.current)===null||B===void 0?void 0:B.querySelector('li button:not(:disabled),li input:not(:disabled),li a:not([aria-disabled="true"])');ce&&ce.focus({preventScroll:V})},G);ne.current=f},[f]),Rs.useEffect(()=>{let B=(fe)=>{var se,be,De,we;if(f&&h&&(((se=P.current)===null||se===void 0?void 0:se.contains(fe.target))||((be=Z.current)===null||be===void 0?void 0:be.contains(fe.target)))){if(D.includes(fe.key))h(!1),(De=Z.current)===null||De===void 0||De.focus()}if((we=Z.current)===null||we===void 0?void 0:we.contains(fe.target)){if(b)b(fe);else if(f)q6(fe,P)}},ce=(fe)=>{var se,be;if(f&&h&&!((se=Z===null||Z===void 0?void 0:Z.current)===null||se===void 0?void 0:se.contains(fe.target))){if(f&&!((be=P.current)===null||be===void 0?void 0:be.contains(fe.target)))h(!1)}};return window.addEventListener("keydown",B),window.addEventListener("click",ce),()=>{window.removeEventListener("keydown",B),window.removeEventListener("click",ce)}},[f,P,Z,h,D,b,V,M,G]);let he=z!==void 0||k!==void 0||y,le=Dp.jsx(yu,Object.assign({className:S(a),ref:P,onSelect:(B,ce)=>{var fe;l&&l(B,ce),p&&((fe=Z.current)===null||fe===void 0||fe.focus())},isPlain:x,isScrollable:he},de,Q,{children:Dp.jsx(xg,{menuHeight:k,maxMenuHeight:z,children:r})})),Me=Dp.jsx(ka,Object.assign({trigger:typeof u==="function"?u(Z):u.toggleNode,triggerRef:Z,popper:le,popperRef:P,isVisible:f,zIndex:O},A));return K?Dp.jsx(L,Object.assign({},Y,{children:Me})):Me},Vv=Rs.forwardRef((n,r)=>Dp.jsx(sX,Object.assign({innerRef:r},n)));Vv.displayName="Dropdown";var VO=w(X()),lL=w(Oe());var cX=(n)=>{var{children:r,className:a,description:l,isDisabled:f,isAriaDisabled:u,value:p,onClick:h,ouiaId:b,ouiaSafe:x,innerRef:y,tooltipProps:_}=n,v=E(n,["children","className","description","isDisabled","isAriaDisabled","value","onClick","ouiaId","ouiaSafe","innerRef","tooltipProps"]);let I=Jn(Gv.displayName,b,x);return VO.jsx(vg,Object.assign({className:S(a),description:l,isDisabled:f,isAriaDisabled:u,itemId:p,onClick:h,tooltipProps:_,ref:y},I,v,{children:r}))},Gv=lL.forwardRef((n,r)=>VO.jsx(cX,Object.assign({},n,{innerRef:r})));Gv.displayName="DropdownItem";var sL=w(X());var GO=(n)=>{var{children:r,className:a}=n,l=E(n,["children","className"]);return sL.jsx(Cg,Object.assign({className:S(a)},l,{children:r}))};GO.displayName="DropdownList";var Mp=w(X());var Ll={icon:"pf-v6-c-icon",iconContent:"pf-v6-c-icon__content",iconProgress:"pf-v6-c-icon__progress",modifiers:{inline:"pf-m-inline",sm:"pf-m-sm",md:"pf-m-md",lg:"pf-m-lg",xl:"pf-m-xl","2xl":"pf-m-2xl","3xl":"pf-m-3xl",bodySm:"pf-m-body-sm",bodyDefault:"pf-m-body-default",bodyLg:"pf-m-body-lg",headingSm:"pf-m-heading-sm",headingMd:"pf-m-heading-md",headingLg:"pf-m-heading-lg",headingXl:"pf-m-heading-xl",heading_2xl:"pf-m-heading-2xl",heading_3xl:"pf-m-heading-3xl",inProgress:"pf-m-in-progress",danger:"pf-m-danger",warning:"pf-m-warning",success:"pf-m-success",info:"pf-m-info",custom:"pf-m-custom"},spinner:"pf-v6-c-spinner"};var Up=(n)=>{var{children:r,className:a,progressIcon:l,size:f,iconSize:u,progressIconSize:p,status:h,isInline:b=!1,isInProgress:x=!1,defaultProgressArialabel:y="Loading...",shouldMirrorRTL:_=!1}=n,v=E(n,["children","className","progressIcon","size","iconSize","progressIconSize","status","isInline","isInProgress","defaultProgressArialabel","shouldMirrorRTL"]);let I=l!==null&&l!==void 0?l:Mp.jsx(Pa,{diameter:"1em","aria-label":y});return Mp.jsxs("span",Object.assign({className:S(Ll.icon,b&&Ll.modifiers.inline,x&&Ll.modifiers.inProgress,Ll.modifiers[f],a)},v,{children:[Mp.jsx("span",{className:S(Ll.iconContent,Ll.modifiers[u],Ll.modifiers[h],_&&"pf-v6-m-mirror-inline-rtl"),children:r}),x&&Mp.jsx("span",{className:S(Ll.iconProgress,Ll.modifiers[p],a),children:I})]}))};Up.displayName="Icon";var Xv=w(X());var Vn={button:"pf-v6-c-button",dirRtl:"pf-v6-m-dir-rtl",form:"pf-v6-c-form",formActions:"pf-v6-c-form__actions",formFieldGroup:"pf-v6-c-form__field-group",formFieldGroupBody:"pf-v6-c-form__field-group-body",formFieldGroupHeader:"pf-v6-c-form__field-group-header",formFieldGroupHeaderActions:"pf-v6-c-form__field-group-header-actions",formFieldGroupHeaderDescription:"pf-v6-c-form__field-group-header-description",formFieldGroupHeaderMain:"pf-v6-c-form__field-group-header-main",formFieldGroupHeaderTitle:"pf-v6-c-form__field-group-header-title",formFieldGroupHeaderTitleText:"pf-v6-c-form__field-group-header-title-text",formFieldGroupToggle:"pf-v6-c-form__field-group-toggle",formFieldGroupToggleButton:"pf-v6-c-form__field-group-toggle-button",formFieldGroupToggleIcon:"pf-v6-c-form__field-group-toggle-icon",formFieldset:"pf-v6-c-form__fieldset",formGroup:"pf-v6-c-form__group",formGroupControl:"pf-v6-c-form__group-control",formGroupLabel:"pf-v6-c-form__group-label",formGroupLabelHelp:"pf-v6-c-form__group-label-help",formGroupLabelInfo:"pf-v6-c-form__group-label-info",formGroupLabelMain:"pf-v6-c-form__group-label-main",formHelperText:"pf-v6-c-form__helper-text",formLabel:"pf-v6-c-form__label",formLabelRequired:"pf-v6-c-form__label-required",formLabelText:"pf-v6-c-form__label-text",formSection:"pf-v6-c-form__section",formSectionTitle:"pf-v6-c-form__section-title",modifiers:{horizontal:"pf-m-horizontal",alignRight:"pf-m-align-right",noPaddingTop:"pf-m-no-padding-top",info:"pf-m-info",horizontalOnXs:"pf-m-horizontal-on-xs",horizontalOnSm:"pf-m-horizontal-on-sm",horizontalOnMd:"pf-m-horizontal-on-md",horizontalOnLg:"pf-m-horizontal-on-lg",horizontalOnXl:"pf-m-horizontal-on-xl",horizontalOn_2xl:"pf-m-horizontal-on-2xl",limitWidth:"pf-m-limit-width",action:"pf-m-action",disabled:"pf-m-disabled",inline:"pf-m-inline",stack:"pf-m-stack",inactive:"pf-m-inactive",hidden:"pf-m-hidden",expanded:"pf-m-expanded",expandable:"pf-m-expandable"}};var Ou=(n)=>{var{children:r=null,className:a=""}=n,l=E(n,["children","className"]);let f=S(Vn.formGroup,Vn.modifiers.action,a),u=Xv.jsx("div",{className:S(Vn.formActions),children:r});return Xv.jsx("div",Object.assign({},l,{className:f,children:Xv.jsx("div",{className:S(Vn.formGroupControl),children:u})}))};Ou.displayName="ActionGroup";var XO=w(X()),fL=w(Oe());var fX={name:"--pf-v6-c-form--m-limit-width--MaxWidth",value:"55rem",var:"var(--pf-v6-c-form--m-limit-width--MaxWidth)"},cL=fX;var uX=(n)=>{var{children:r=null,className:a="",isHorizontal:l=!1,isWidthLimited:f=!1,maxWidth:u="",innerRef:p}=n,h=E(n,["children","className","isHorizontal","isWidthLimited","maxWidth","innerRef"]);return XO.jsx("form",Object.assign({noValidate:!0},u&&{style:Object.assign({[cL.name]:u},h.style)},h,{className:S(Vn.form,l&&Vn.modifiers.horizontal,(f||u)&&Vn.modifiers.limitWidth,a),ref:p,children:r}))},wu=fL.forwardRef((n,r)=>XO.jsx(uX,Object.assign({innerRef:r},n)));wu.displayName="Form";var Xo=w(X()),qv=w(Oe());var dr=(n)=>{var{children:r=null,className:a="",label:l,labelInfo:f,labelHelp:u,isRequired:p=!1,isInline:h=!1,hasNoPaddingTop:b=!1,isStack:x=!1,fieldId:y,role:_}=n,v=E(n,["children","className","label","labelInfo","labelHelp","isRequired","isInline","hasNoPaddingTop","isStack","fieldId","role"]);let I=ho(),O=_==="group"||_==="radiogroup",D=Xo.jsxs(Xo.Fragment,{children:[Xo.jsxs(O?"span":"label",Object.assign({className:S(Vn.formLabel)},!O&&{htmlFor:y},{children:[Xo.jsx("span",{className:S(Vn.formLabelText),children:l}),p&&Xo.jsxs("span",{className:S(Vn.formLabelRequired),"aria-hidden":"true",children:[" ",av]})]})),Xo.jsx(Xo.Fragment,{children:" "}),qv.isValidElement(u)&&Xo.jsx("span",{className:Vn.formGroupLabelHelp,children:u})]});return Xo.jsxs("div",Object.assign({className:S(Vn.formGroup,a)},_&&{role:_},O&&{"aria-labelledby":`${y||I}-legend`},v,{children:[l&&Xo.jsxs("div",Object.assign({className:S(Vn.formGroupLabel,f&&Vn.modifiers.info,b&&Vn.modifiers.noPaddingTop)},O&&{id:`${y||I}-legend`},{children:[f&&Xo.jsxs(qv.Fragment,{children:[Xo.jsx("div",{className:S(Vn.formGroupLabelMain),children:D}),Xo.jsx("div",{className:S(Vn.formGroupLabelInfo),children:f})]}),!f&&D]})),Xo.jsx("div",{className:S(Vn.formGroupControl,h&&Vn.modifiers.inline,x&&Vn.modifiers.stack),children:r})]}))};dr.displayName="FormGroup";var dX={name:"HelpIcon",icon:{width:1024,height:1024,svgPathData:"M521.3,576 C627.5,576 713.7,502 713.7,413.7 C713.7,325.4 627.6,253.6 521.3,253.6 C366,253.6 334.5,337.7 329.2,407.2 C329.2,414.3 335.2,416 343.5,416 L445,416 C450.5,416 458,415.5 460.8,406.5 C460.8,362.6 582.9,357.1 582.9,413.6 C582.9,441.9 556.2,470.9 521.3,473 C486.4,475.1 447.3,479.8 447.3,521.7 L447.3,553.8 C447.3,570.8 456.1,576 472,576 C487.9,576 521.3,576 521.3,576 M575.3,751.3 L575.3,655.3 C575.313862,651.055109 573.620137,646.982962 570.6,644 C567.638831,640.947672 563.552355,639.247987 559.3,639.29884 L463.3,639.29884 C459.055109,639.286138 454.982962,640.979863 452,644 C448.947672,646.961169 447.247987,651.047645 447.29884,655.3 L447.29884,751.3 C447.286138,755.544891 448.979863,759.617038 452,762.6 C454.961169,765.652328 459.047645,767.352013 463.3,767.30116 L559.3,767.30116 C563.544891,767.313862 567.617038,765.620137 570.6,762.6 C573.659349,759.643612 575.360354,755.553963 575.3,751.3 M512,896 C300.2,896 128,723.9 128,512 C128,300.3 300.2,128 512,128 C723.8,128 896,300.2 896,512 C896,723.8 723.7,896 512,896 M512.1,0 C229.7,0 0,229.8 0,512 C0,794.2 229.8,1024 512.1,1024 C794.4,1024 1024,794.3 1024,512 C1024,229.7 794.4,0 512.1,0"},rhUiIcon:null},pX=qe(dX),qO=pX;var Eg=w(X());var Qr={emptyState:"pf-v6-c-empty-state",emptyStateActions:"pf-v6-c-empty-state__actions",emptyStateBody:"pf-v6-c-empty-state__body",emptyStateContent:"pf-v6-c-empty-state__content",emptyStateFooter:"pf-v6-c-empty-state__footer",emptyStateIcon:"pf-v6-c-empty-state__icon",emptyStateTitleText:"pf-v6-c-empty-state__title-text",modifiers:{xs:"pf-m-xs",sm:"pf-m-sm",lg:"pf-m-lg",xl:"pf-m-xl",fullHeight:"pf-m-full-height",danger:"pf-m-danger",warning:"pf-m-warning",success:"pf-m-success",info:"pf-m-info",custom:"pf-m-custom"}};var Np=w(X());var $v=w(X());var mX=(n)=>n.type===Pa,$O=(n)=>{var{className:r,icon:a}=n,l=E(n,["className","icon"]);let f=mX($v.jsx(a,{}));return $v.jsx("div",{className:S(Qr.emptyStateIcon),children:$v.jsx(a,Object.assign({className:r,"aria-hidden":!f},l))})};$O.displayName="EmptyStateIcon";var YO;(function(n){n.h1="h1",n.h2="h2",n.h3="h3",n.h4="h4",n.h5="h5",n.h6="h6"})(YO||(YO={}));var WO=(n)=>{var{className:r,titleClassName:a,titleText:l,headingLevel:f=YO.h1,icon:u}=n,p=E(n,["className","titleClassName","titleText","headingLevel","icon"]);return Np.jsxs("div",Object.assign({className:S(`${Qr.emptyState}__header`,r)},p,{children:[u&&Np.jsx($O,{icon:u}),l&&Np.jsx("div",{className:S(`${Qr.emptyState}__title`),children:Np.jsx(f,{className:S(Qr.emptyStateTitleText,a),children:l})})]}))};WO.displayName="EmptyStateHeader";var ZO;(function(n){n.xs="xs",n.sm="sm",n.lg="lg",n.xl="xl",n.full="full"})(ZO||(ZO={}));var uL;(function(n){n.danger="danger",n.warning="warning",n.success="success",n.info="info",n.custom="custom"})(uL||(uL={}));var la=(n)=>{var{children:r,className:a,variant:l=ZO.full,isFullHeight:f,status:u,icon:p,titleText:h,titleClassName:b,headerClassName:x,headingLevel:y}=n,_=E(n,["children","className","variant","isFullHeight","status","icon","titleText","titleClassName","headerClassName","headingLevel"]);let v=u&&JN[u],I=p||v;return Eg.jsx("div",Object.assign({className:S(Qr.emptyState,l!=="full"&&Qr.modifiers[l],f&&Qr.modifiers.fullHeight,u&&Qr.modifiers[u],a)},_,{children:Eg.jsxs("div",{className:S(Qr.emptyStateContent),children:[Eg.jsx(WO,{icon:I,titleText:h,titleClassName:b,className:x,headingLevel:y}),r]})}))};la.displayName="EmptyState";var dL=w(X());var sa=(n)=>{var{children:r,className:a}=n,l=E(n,["children","className"]);return dL.jsx("div",Object.assign({className:S(Qr.emptyStateBody,a)},l,{children:r}))};sa.displayName="EmptyStateBody";var Os=w(X()),Yv=w(Oe());class Ha extends Yv.Component{constructor(n){super(n);if(this.handleChange=(r)=>{this.props.onChange(r,r.currentTarget.value)},!n.id&&!n["aria-label"])console.error("FormSelect requires either an id or aria-label to be specified")}render(){let n=this.props,{children:r,className:a,value:l,validated:f,isDisabled:u,isRequired:p,ouiaId:h,ouiaSafe:b}=n,x=E(n,["children","className","value","validated","isDisabled","isRequired","ouiaId","ouiaSafe"]),y=Yv.Children.toArray(r).find((I)=>I.props.value===l),_=y&&y.props.isPlaceholder,v=["success","error","warning"].includes(f);return Os.jsx(Hn,{prefix:"pf-",ouiaComponentType:Ha.displayName,children:(I,O)=>Os.jsxs("span",{className:S(Io.formControl,u&&Io.modifiers.disabled,_&&Io.modifiers.placeholder,v&&Io.modifiers[f],a),children:[Os.jsx("select",Object.assign({},x,{"aria-invalid":f===up.error},fn(Ha.displayName,h!==void 0?h:O,b),{onChange:this.handleChange,disabled:u,required:p,value:l,children:r})),Os.jsxs("span",{className:S(Io.formControlUtilities),children:[v&&Os.jsx(hg,{status:f}),Os.jsx("span",{className:S(Io.formControlToggleIcon),children:Os.jsx(Mv,{})})]})]})})}}Ha.displayName="FormSelect";Ha.defaultProps={className:"",value:"",validated:"default",isDisabled:!1,isRequired:!1,onBlur:()=>{return},onFocus:()=>{return},onChange:()=>{return},ouiaSafe:!0};var pL=w(X()),Au=(n)=>{var{className:r="",value:a="",isDisabled:l=!1,label:f,isPlaceholder:u=!1}=n,p=E(n,["className","value","isDisabled","label","isPlaceholder"]);return pL.jsx("option",Object.assign({},p,{className:r,value:a,disabled:l,children:f}))};Au.displayName="FormSelectOption";var vo=w(X()),qo=w(Oe());var gn={button:"pf-v6-c-button",label:"pf-v6-c-label",labelActions:"pf-v6-c-label__actions",labelContent:"pf-v6-c-label__content",labelIcon:"pf-v6-c-label__icon",labelText:"pf-v6-c-label__text",modifiers:{blue:"pf-m-blue",red:"pf-m-red",orange:"pf-m-orange",orangered:"pf-m-orangered",yellow:"pf-m-yellow",green:"pf-m-green",teal:"pf-m-teal",purple:"pf-m-purple",success:"pf-m-success",warning:"pf-m-warning",danger:"pf-m-danger",info:"pf-m-info",custom:"pf-m-custom",compact:"pf-m-compact",filled:"pf-m-filled",outline:"pf-m-outline",editable:"pf-m-editable",editableActive:"pf-m-editable-active",overflow:"pf-m-overflow",add:"pf-m-add",clickable:"pf-m-clickable",disabled:"pf-m-disabled"}};var mL={button:"pf-v6-c-button",labelGroup:"pf-v6-c-label-group",labelGroupClose:"pf-v6-c-label-group__close",labelGroupLabel:"pf-v6-c-label-group__label",labelGroupList:"pf-v6-c-label-group__list",labelGroupListItem:"pf-v6-c-label-group__list-item",labelGroupMain:"pf-v6-c-label-group__main",labelGroupTextarea:"pf-v6-c-label-group__textarea",modifiers:{category:"pf-m-category",vertical:"pf-m-vertical",editable:"pf-m-editable",textarea:"pf-m-textarea"}};var hX={name:"--pf-v6-c-label__text--MaxWidth",value:"100%",var:"var(--pf-v6-c-label__text--MaxWidth)"},hL=hX;var Tu;(function(n){n.success="success",n.warning="warning",n.danger="danger",n.info="info",n.custom="custom"})(Tu||(Tu={}));var ca;(function(n){n.blue="blue",n.teal="teal",n.green="green",n.orange="orange",n.purple="purple",n.red="red",n.orangered="orangered",n.grey="grey",n.yellow="yellow"})(ca||(ca={}));var gX={[ca.blue]:gn.modifiers.blue,[ca.teal]:gn.modifiers.teal,[ca.green]:gn.modifiers.green,[ca.orange]:gn.modifiers.orange,[ca.purple]:gn.modifiers.purple,[ca.red]:gn.modifiers.red,[ca.orangered]:gn.modifiers.orangered,[ca.yellow]:gn.modifiers.yellow,[ca.grey]:""},bX={[Tu.success]:vo.jsx(Qi,{}),[Tu.warning]:vo.jsx(ta,{}),[Tu.danger]:vo.jsx(ea,{}),[Tu.info]:vo.jsx(wc,{}),[Tu.custom]:vo.jsx(Ac,{})},$o=(n)=>{var{children:r,className:a="",color:l=ca.grey,variant:f="filled",status:u,isCompact:p=!1,isDisabled:h=!1,isEditable:b=!1,isClickable:x=!1,editableProps:y,textMaxWidth:_,tooltipPosition:v,icon:I,onClose:O,onClick:A,onEditCancel:D,onEditComplete:k,closeBtn:z,closeBtnAriaLabel:M,closeBtnProps:V,href:G,render:K}=n,ie=E(n,["children","className","color","variant","status","isCompact","isDisabled","isEditable","isClickable","editableProps","textMaxWidth","tooltipPosition","icon","onClose","onClick","onEditCancel","onEditComplete","closeBtn","closeBtnAriaLabel","closeBtnProps","href","render"]);let[re,de]=qo.useState(!1),[J,Ce]=qo.useState(r),Q=qo.useRef(void 0),L=qo.useRef(void 0),Y=f==="overflow",P=f==="add",Z=x||A&&!Y&&!P||G,ne;if(u)ne=bX[u];if(I)ne=I;qo.useEffect(()=>{let Ue=(ke)=>{if(re&&L&&L.current&&!L.current.contains(ke.target)){if(L.current.value)k&&k(ke,L.current.value);de(!1)}},tt=(ke)=>{var Dt,pt;let Ke=ke.key;if(!re&&(!Q||!Q.current||!Q.current.contains(ke.target))||re&&(!L||!L.current||!L.current.contains(ke.target)))return;if(re&&(Ke==="Enter"||Ke==="Tab")){if(ke.preventDefault(),ke.stopImmediatePropagation(),L.current.value)k&&k(ke,L.current.value);de(!1),(Dt=Q===null||Q===void 0?void 0:Q.current)===null||Dt===void 0||Dt.focus()}if(re&&Ke==="Escape"){if(ke.preventDefault(),ke.stopImmediatePropagation(),L.current.value)L.current.value=r,D&&D(ke,r);de(!1),(pt=Q===null||Q===void 0?void 0:Q.current)===null||pt===void 0||pt.focus()}if(!re&&Ke==="Enter"){ke.preventDefault(),ke.stopImmediatePropagation(),de(!0);let Zt=ke.target,Mt=document.createRange(),Be=window.getSelection();Mt.selectNodeContents(Zt),Mt.collapse(!1),Be.removeAllRanges(),Be.addRange(Mt)}};return document.addEventListener("mousedown",Ue),document.addEventListener("keydown",tt),()=>{document.removeEventListener("mousedown",Ue),document.removeEventListener("keydown",tt)}},[re,L,Q,k,D,r]),qo.useEffect(()=>{if(A&&G)console.warn("Link labels cannot have onClick passed, this results in invalid HTML. Please remove either the href or onClick prop.");else if(A&&b)console.warn("Editable labels cannot have onClick passed, clicking starts the label edit process. Please remove either the isEditable or onClick prop.")},[A,G,b]);let he=(G||A)&&h,le=vo.jsx(Le,Object.assign({type:"button",variant:"plain",hasNoPadding:!0,onClick:O,"aria-label":M||`Close ${r}`},he&&{isDisabled:!0},V,{icon:vo.jsx(Nc,{})})),Me=vo.jsx("span",{className:S(gn.labelActions),children:z||le}),B=qo.createRef(),ce=qo.useRef(void 0),[fe,se]=qo.useState(!1);Ss(()=>{let Ue=b?Q:B;if(!re)se(Ue.current&&Ue.current.offsetWidth<Ue.current.scrollWidth)},[re]);let be=vo.jsxs(qo.Fragment,{children:[ne&&vo.jsx("span",{className:S(gn.labelIcon),children:ne}),vo.jsx("span",Object.assign({ref:B,className:S(gn.labelText)},_&&{style:{[hL.name]:_}},{children:r}))]});qo.useEffect(()=>{if(re&&L)L.current&&L.current.focus()},[L,re]);let De=()=>{Ce(L.current.value)},we="span";if(G)we="a";else if(b||A&&!Y&&!P)we="button";let Ze={type:"button",onClick:A},ct=we==="button",Tt=Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({className:S(gn.labelContent,Z&&gn.modifiers.clickable)},fe&&{tabIndex:0}),G&&{href:G}),G&&h&&{onClick:(Ue)=>Ue.preventDefault()}),ct&&Ze),b&&Object.assign({ref:Q,onClick:(Ue)=>{de(!0),Ue.stopPropagation()}},y)),he&&ct&&{disabled:!0}),he&&G&&{tabIndex:-1,"aria-disabled":!0}),yt=vo.jsx(we,Object.assign({},Tt,{children:be}));if(K)yt=vo.jsxs(qo.Fragment,{children:[fe&&vo.jsx(hn,{triggerRef:ce,content:r,position:v}),K({className:gn.labelContent,content:be,componentRef:ce})]});else if(fe)yt=vo.jsx(hn,{content:r,position:v,children:yt});let Re=Y||P?"button":"span";return vo.jsxs(Re,Object.assign({},ie,{className:S(gn.label,he&&gn.modifiers.disabled,gX[l],f==="filled"&&gn.modifiers.filled,f==="outline"&&gn.modifiers.outline,u&&gn.modifiers[u],Y&&gn.modifiers.overflow,p&&gn.modifiers.compact,b&&mL.modifiers.editable,re&&gn.modifiers.editableActive,Z&&gn.modifiers.clickable,P&&gn.modifiers.add,a),onClick:Y||P?A:void 0},Re==="button"&&{type:"button"},{children:[!re&&yt,!re&&O&&Me,re&&vo.jsx("input",Object.assign({className:S(gn.labelContent),type:"text",id:"editable-input",ref:L,value:J,onChange:De},y))]}))};$o.displayName="Label";var KO=w(X());var kr={list:"pf-v6-c-list",listItem:"pf-v6-c-list__item",listItemIcon:"pf-v6-c-list__item-icon",modifiers:{iconLg:"pf-m-icon-lg",plain:"pf-m-plain",inline:"pf-m-inline",bordered:"pf-m-bordered"}};var JO;(function(n){n.number="1",n.lowercaseLetter="a",n.uppercaseLetter="A",n.lowercaseRomanNumber="i",n.uppercaseRomanNumber="I"})(JO||(JO={}));var gL;(function(n){n.inline="inline"})(gL||(gL={}));var Wv;(function(n){n.ol="ol",n.ul="ul"})(Wv||(Wv={}));var Zv=(n)=>{var{className:r="",children:a=null,variant:l=null,isBordered:f=!1,isPlain:u=!1,iconSize:p="default",type:h=JO.number,ref:b=null,component:x=Wv.ul,"aria-label":y}=n,_=E(n,["className","children","variant","isBordered","isPlain","iconSize","type","ref","component","aria-label"]);return x===Wv.ol?KO.jsx("ol",Object.assign({ref:b,type:h,"aria-label":y},u&&{role:"list"},_,{className:S(kr.list,l&&kr.modifiers[l],f&&kr.modifiers.bordered,u&&kr.modifiers.plain,p&&p==="large"&&kr.modifiers.iconLg,r),children:a})):KO.jsx("ul",Object.assign({ref:b,"aria-label":y},u&&{role:"list"},_,{className:S(kr.list,l&&kr.modifiers[l],f&&kr.modifiers.bordered,u&&kr.modifiers.plain,p&&p==="large"&&kr.modifiers.iconLg,r),children:a}))};Zv.displayName="List";var Dg=w(X());var Kv=(n)=>{var{className:r,children:a=null,icon:l=null}=n,f=E(n,["className","children","icon"]);return Dg.jsxs("li",Object.assign({className:S(l&&kr.listItem,r)},f,{children:[l&&Dg.jsx("span",{className:S(kr.listItemIcon),children:l}),Dg.jsx("span",{className:l&&S(`${kr.list}__item-text`),children:a})]}))};Kv.displayName="ListItem";var IL=w(X()),vL=w(Oe());var pr={compassDock:"pf-v6-c-compass__dock",masthead:"pf-v6-c-masthead",mastheadBrand:"pf-v6-c-masthead__brand",mastheadContent:"pf-v6-c-masthead__content",mastheadExpandableContent:"pf-v6-c-masthead__expandable-content",mastheadLogo:"pf-v6-c-masthead__logo",mastheadMain:"pf-v6-c-masthead__main",mastheadToggle:"pf-v6-c-masthead__toggle",modifiers:{resizeObserver:"pf-m-resize-observer",docked:"pf-m-docked",compact:"pf-m-compact",textExpanded:"pf-m-text-expanded",displayStack:"pf-m-display-stack",displayInline:"pf-m-display-inline",insetNone:"pf-m-inset-none",insetSm:"pf-m-inset-sm",insetMd:"pf-m-inset-md",insetLg:"pf-m-inset-lg",insetXl:"pf-m-inset-xl",inset_2xl:"pf-m-inset-2xl",displayStackOnSm:"pf-m-display-stack-on-sm",displayInlineOnSm:"pf-m-display-inline-on-sm",displayStackOnMd:"pf-m-display-stack-on-md",displayInlineOnMd:"pf-m-display-inline-on-md",displayStackOnLg:"pf-m-display-stack-on-lg",displayInlineOnLg:"pf-m-display-inline-on-lg",displayStackOnXl:"pf-m-display-stack-on-xl",displayInlineOnXl:"pf-m-display-inline-on-xl",displayStackOn_2xl:"pf-m-display-stack-on-2xl",displayInlineOn_2xl:"pf-m-display-inline-on-2xl"},pageDock:"pf-v6-c-page__dock",themeGlass:"pf-v6-theme-glass",toolbar:"pf-v6-c-toolbar",toolbarContentSection:"pf-v6-c-toolbar__content-section",toolbarExpandableContent:"pf-v6-c-toolbar__expandable-content"};var bL=w(Oe());var xX={isManagedSidebar:!1,isSidebarOpen:!1,onSidebarToggle:()=>null,isMobile:!1,width:null,height:null,getBreakpoint:sv,getVerticalBreakpoint:lv},ro=bL.createContext(xX),{Provider:xL,Consumer:Jv}=ro;var QO=(n)=>{var{children:r,className:a,display:l={md:"inline"},inset:f,variant:u="default"}=n,p=E(n,["children","className","display","inset","variant"]);let{width:h,getBreakpoint:b}=vL.useContext(ro);return IL.jsx("header",Object.assign({className:S(pr.masthead,u==="docked"&&pr.modifiers.docked,ze(l,pr,"display-",b(h)),ze(f,pr,"",b(h)),a)},p,{children:r}))};QO.displayName="Masthead";var CL=w(X());var e1=(n)=>{var{children:r,className:a}=n,l=E(n,["children","className"]);return CL.jsx("div",Object.assign({className:S(pr.mastheadBrand,a)},l,{children:r}))};e1.displayName="MastheadBrand";var yL=w(X());var t1=(n)=>{var{children:r,className:a}=n,l=E(n,["children","className"]);return yL.jsx("div",Object.assign({className:S(pr.mastheadContent,a)},l,{children:r}))};t1.displayName="MastheadContent";var SL=w(X());var n1=(n)=>{var{children:r,className:a,component:l,isCompact:f=!1}=n,u=E(n,["children","className","component","isCompact"]);let p=l;if(!l)if((u===null||u===void 0?void 0:u.href)!==void 0)p="a";else p="span";return SL.jsx(p,Object.assign({className:S(pr.mastheadLogo,f&&pr.modifiers.compact,a)},p==="a"&&{tabIndex:0},u,{children:r}))};n1.displayName="MastheadLogo";var _L=w(X());var o1=(n)=>{var{children:r,className:a}=n,l=E(n,["children","className"]);return _L.jsx("div",Object.assign({className:S(pr.mastheadMain,a)},l,{children:r}))};o1.displayName="MastheadMain";var RL=w(X());var r1=(n)=>{var{children:r,className:a}=n,l=E(n,["children","className"]);return RL.jsx("span",Object.assign({className:S(pr.mastheadToggle,a)},l,{children:r}))};r1.displayName="MastheadToggle";var Qv=w(X()),Bp=w(Oe());var Dn={button:"pf-v6-c-button",compassDock:"pf-v6-c-compass__dock",dirRtl:"pf-v6-m-dir-rtl",menu:"pf-v6-c-menu",menuList:"pf-v6-c-menu__list",menuListItem:"pf-v6-c-menu__list-item",modifiers:{overflowHidden:"pf-m-overflow-hidden",inset:"pf-m-inset",fill:"pf-m-fill",docked:"pf-m-docked",textExpanded:"pf-m-text-expanded",drilldown:"pf-m-drilldown",expanded:"pf-m-expanded",current:"pf-m-current",hover:"pf-m-hover",flyout:"pf-m-flyout",horizontal:"pf-m-horizontal",subnav:"pf-m-subnav",scrollable:"pf-m-scrollable"},nav:"pf-v6-c-nav",navItem:"pf-v6-c-nav__item",navLink:"pf-v6-c-nav__link",navLinkIcon:"pf-v6-c-nav__link-icon",navLinkText:"pf-v6-c-nav__link-text",navList:"pf-v6-c-nav__list",navNav:"pf-v6-c-nav__nav",navScrollButton:"pf-v6-c-nav__scroll-button",navSection:"pf-v6-c-nav__section",navSectionTitle:"pf-v6-c-nav__section-title",navSubnav:"pf-v6-c-nav__subnav",navToggle:"pf-v6-c-nav__toggle",navToggleIcon:"pf-v6-c-nav__toggle-icon",pageDock:"pf-v6-c-page__dock"};var IX={},Eu=Bp.createContext(IX);class Lp extends Bp.Component{constructor(){super(...arguments);this.state={isScrollable:!1,flyoutRef:null},this.navRef=Bp.createRef()}onSelect(n,r,a,l,f,u){if(f)n.preventDefault();if(this.props.onSelect(n,{groupId:r,itemId:a,to:l}),u)u(n,a,r,l)}onToggle(n,r,a){this.props.onToggle(n,{groupId:r,isExpanded:a})}render(){let n=this.props,{"aria-label":r,children:a,className:l,onSelect:f,onToggle:u,ouiaId:p,ouiaSafe:h,variant:b,isTextExpanded:x=!1}=n,y=E(n,["aria-label","children","className","onSelect","onToggle","ouiaId","ouiaSafe","variant","isTextExpanded"]),_=["horizontal","horizontal-subnav"].includes(b),v=b==="docked";return Qv.jsx(Hn,{prefix:"pf-",ouiaComponentType:`Nav${b?`-${b}`:""}`,children:(I,O)=>Qv.jsx(Eu.Provider,{value:{onSelect:(A,D,k,z,M,V)=>this.onSelect(A,D,k,z,M,V),onToggle:(A,D,k)=>this.onToggle(A,D,k),updateIsScrollable:(A)=>this.setState({isScrollable:A}),isHorizontal:["horizontal","horizontal-subnav"].includes(b),flyoutRef:this.state.flyoutRef,setFlyoutRef:(A)=>this.setState({flyoutRef:A}),navRef:this.navRef},children:Qv.jsx("nav",Object.assign({className:S(Dn.nav,_&&Dn.modifiers.horizontal,v&&Dn.modifiers.docked,b==="horizontal-subnav"&&Dn.modifiers.subnav,v&&x&&Dn.modifiers.textExpanded,this.state.isScrollable&&Dn.modifiers.scrollable,l),"aria-label":r||(b==="horizontal-subnav"?"Local":"Global"),ref:this.navRef},fn(Lp.displayName,p!==void 0?p:O,h),y,{children:a}))})})}}Lp.displayName="Nav";Lp.defaultProps={onSelect:()=>{return},onToggle:()=>{return},ouiaSafe:!0};var fa=w(X()),kp=w(Oe());var Mg=w(X()),OL=w(Oe());var Fe={button:"pf-v6-c-button",dirRtl:"pf-v6-m-dir-rtl",drawer:"pf-v6-c-drawer",drawerMain:"pf-v6-c-drawer__main",drawerPanel:"pf-v6-c-drawer__panel",masthead:"pf-v6-c-masthead",mastheadToggle:"pf-v6-c-masthead__toggle",modifiers:{docked:"pf-m-docked",hamburger:"pf-m-hamburger",expanded:"pf-m-expanded",collapsed:"pf-m-collapsed",textExpanded:"pf-m-text-expanded",vertical:"pf-m-vertical",pageInsets:"pf-m-page-insets",contextSelector:"pf-m-context-selector",insetNone:"pf-m-inset-none",fill:"pf-m-fill",noFill:"pf-m-no-fill",limitWidth:"pf-m-limit-width",alignCenter:"pf-m-align-center",overflowScroll:"pf-m-overflow-scroll",shadowBottom:"pf-m-shadow-bottom",shadowTop:"pf-m-shadow-top",stickyTop:"pf-m-sticky-top",stickyBottom:"pf-m-sticky-bottom",stickyTopOnSmHeight:"pf-m-sticky-top-on-sm-height",stickyBottomOnSmHeight:"pf-m-sticky-bottom-on-sm-height",stickyTopOnMdHeight:"pf-m-sticky-top-on-md-height",stickyBottomOnMdHeight:"pf-m-sticky-bottom-on-md-height",stickyTopOnLgHeight:"pf-m-sticky-top-on-lg-height",stickyBottomOnLgHeight:"pf-m-sticky-bottom-on-lg-height",stickyTopOnXlHeight:"pf-m-sticky-top-on-xl-height",stickyBottomOnXlHeight:"pf-m-sticky-bottom-on-xl-height",stickyTopOn_2xlHeight:"pf-m-sticky-top-on-2xl-height",stickyBottomOn_2xlHeight:"pf-m-sticky-bottom-on-2xl-height",stickyTopBase:"pf-m-sticky-top-base",stickyTopStuck:"pf-m-sticky-top-stuck",stickyBottomBase:"pf-m-sticky-bottom-base",stickyBottomStuck:"pf-m-sticky-bottom-stuck",noSidebar:"pf-m-no-sidebar",plain:"pf-m-plain",noPlainOnGlass:"pf-m-no-plain-on-glass",secondary:"pf-m-secondary",padding:"pf-m-padding",noPadding:"pf-m-no-padding",paddingOnSm:"pf-m-padding-on-sm",noPaddingOnSm:"pf-m-no-padding-on-sm",paddingOnMd:"pf-m-padding-on-md",noPaddingOnMd:"pf-m-no-padding-on-md",paddingOnLg:"pf-m-padding-on-lg",noPaddingOnLg:"pf-m-no-padding-on-lg",paddingOnXl:"pf-m-padding-on-xl",noPaddingOnXl:"pf-m-no-padding-on-xl",paddingOn_2xl:"pf-m-padding-on-2xl",noPaddingOn_2xl:"pf-m-no-padding-on-2xl"},page:"pf-v6-c-page",pageDock:"pf-v6-c-page__dock",pageDockMain:"pf-v6-c-page__dock-main",pageDrawer:"pf-v6-c-page__drawer",pageMain:"pf-v6-c-page__main",pageMainBody:"pf-v6-c-page__main-body",pageMainBreadcrumb:"pf-v6-c-page__main-breadcrumb",pageMainContainer:"pf-v6-c-page__main-container",pageMainDrawer:"pf-v6-c-page__main-drawer",pageMainGroup:"pf-v6-c-page__main-group",pageMainSection:"pf-v6-c-page__main-section",pageMainSubnav:"pf-v6-c-page__main-subnav",pageMainTabs:"pf-v6-c-page__main-tabs",pageMainWizard:"pf-v6-c-page__main-wizard",pageSidebar:"pf-v6-c-page__sidebar",pageSidebarBody:"pf-v6-c-page__sidebar-body",pageSidebarHeader:"pf-v6-c-page__sidebar-header",pageSidebarMain:"pf-v6-c-page__sidebar-main",pageSidebarTitle:"pf-v6-c-page__sidebar-title",themeGlass:"pf-v6-theme-glass",toolbar:"pf-v6-c-toolbar",toolbarContentSection:"pf-v6-c-toolbar__content-section",toolbarGroup:"pf-v6-c-toolbar__group",toolbarItem:"pf-v6-c-toolbar__item"};var vX={isSidebarOpen:!0},Ug=OL.createContext(vX),i1=(n)=>{var{className:r="",children:a,isSidebarOpen:l=!0,id:f="page-sidebar"}=n,u=E(n,["className","children","isSidebarOpen","id"]);return Mg.jsx(Jv,{children:({isManagedSidebar:p,isSidebarOpen:h,isMobile:b})=>{let x=p?h:l;return Mg.jsx("div",Object.assign({id:f,className:S(Fe.pageSidebar,x&&b&&Fe.modifiers.expanded,!x&&Fe.modifiers.collapsed,r),"aria-hidden":!x},u,{children:Mg.jsx(Ug.Provider,{value:{isSidebarOpen:x},children:Mg.jsx("div",{className:S(Fe.pageSidebarMain),children:a})})}))}})};i1.displayName="PageSidebar";class Pp extends kp.Component{constructor(){super(...arguments);this.direction="ltr",this.state={scrollViewAtStart:!1,scrollViewAtEnd:!1},this.navList=kp.createRef(),this.observer=()=>{},this.handleScrollButtons=()=>{let n=this.navList.current;if(n){let r=Na(n,n.firstChild,!1),a=Na(n,n.lastChild,!1);this.setState({scrollViewAtStart:r,scrollViewAtEnd:a}),this.context.updateIsScrollable(!r||!a)}},this.scrollBack=()=>{let n=this.navList.current;if(n){let r=Array.from(n.children),a,l;for(let f=0;f<r.length&&!a;f++)if(Na(n,r[f],!1))a=r[f],l=r[f-1];if(l)if(this.direction==="ltr")n.scrollLeft-=l.scrollWidth;else n.scrollLeft+=l.scrollWidth;this.handleScrollButtons()}},this.scrollForward=()=>{let n=this.navList.current;if(n){let r=Array.from(n.children),a,l;for(let f=r.length-1;f>=0&&!a;f--)if(Na(n,r[f],!1))a=r[f],l=r[f+1];if(l)if(this.direction==="ltr")n.scrollLeft+=l.scrollWidth;else n.scrollLeft-=l.scrollWidth;this.handleScrollButtons()}}}componentDidMount(){this.observer=bp(this.navList.current,this.handleScrollButtons,!0),this.direction=Si(this.navList.current),this.handleScrollButtons()}componentWillUnmount(){this.observer()}componentDidUpdate(){this.direction=Si(this.navList.current)}render(){let n=this.props,{children:r,className:a,backScrollAriaLabel:l,forwardScrollAriaLabel:f}=n,u=E(n,["children","className","backScrollAriaLabel","forwardScrollAriaLabel"]),{scrollViewAtStart:p,scrollViewAtEnd:h}=this.state;return fa.jsx(Eu.Consumer,{children:({isHorizontal:b})=>fa.jsx(Ug.Consumer,{children:({isSidebarOpen:x})=>fa.jsxs(kp.Fragment,{children:[b&&(!p||!h)&&fa.jsx("div",{className:S(Dn.navScrollButton),children:fa.jsx(Le,{variant:"plain","aria-label":l,onClick:this.scrollBack,isDisabled:p,tabIndex:x?null:-1,icon:fa.jsx(Rp,{})})}),fa.jsx("ul",Object.assign({ref:this.navList,className:S(Dn.navList,a),onScroll:this.handleScrollButtons,role:"list"},u,{children:r})),b&&(!p||!h)&&fa.jsx("div",{className:S(Dn.navScrollButton),children:fa.jsx(Le,{variant:"plain","aria-label":f,onClick:this.scrollForward,isDisabled:h,tabIndex:x?null:-1,icon:fa.jsx(ra,{})})})]})})})}}Pp.displayName="NavList";Pp.contextType=Eu;Pp.defaultProps={backScrollAriaLabel:"Scroll back",forwardScrollAriaLabel:"Scroll foward"};var Yo=w(X()),io=w(Oe());var CX=(n)=>{var{children:r,styleChildren:a=!0,className:l,to:f,isActive:u=!1,groupId:p=null,itemId:h=null,preventDefault:b=!1,onClick:x,component:y="a",flyout:_,onShowFlyout:v,ouiaId:I,ouiaSafe:O,zIndex:A=9999,icon:D,innerRef:k,anchorRef:z}=n,M=E(n,["children","styleChildren","className","to","isActive","groupId","itemId","preventDefault","onClick","component","flyout","onShowFlyout","ouiaId","ouiaSafe","zIndex","icon","innerRef","anchorRef"]);let{flyoutRef:V,setFlyoutRef:G,navRef:K}=io.useContext(Eu),{isSidebarOpen:ie}=io.useContext(Ug),[re,de]=io.useState(null),[J,Ce]=io.useState(!1),Q=io.useRef(void 0),L=k||Q,Y=L===V,P=io.useRef(void 0),Z=_!==void 0,ne=Z?"button":y;if(f&&Z)console.error('NavItem cannot have both "to" and "flyout" props.');let he=(Re,Ue)=>{if((!Y||Ue)&&Re)G(L);else if((Y||Ue)&&!Re)G(null);v&&Re&&v()},le=(Re)=>{let Ue=Re.target.closest(`.${Dn.navItem}.pf-m-flyout`);if(Z&&!Y)he(!0);else if(V!==null&&!Ue)G(null)},Me=(Re)=>{if(!Re.target.closest(".pf-m-flyout")){if(Z)he(!1,!0);else if(V!==null)G(null)}},B=(Re)=>{var Ue,tt;let{key:ke,target:Dt}=Re;if((ke===" "||ke==="Enter"||ke==="ArrowRight")&&Z&&((Ue=L===null||L===void 0?void 0:L.current)===null||Ue===void 0?void 0:Ue.contains(Dt))){if(Re.stopPropagation(),Re.preventDefault(),!Y)he(!0),de(Dt)}if((ke==="Escape"||ke==="ArrowLeft")&&((tt=P===null||P===void 0?void 0:P.current)===null||tt===void 0?void 0:tt.querySelectorAll(`.${at.menu}`).length)===1){if(Y)Re.stopPropagation(),Re.preventDefault(),he(!1)}};io.useEffect(()=>{if(Z)window.addEventListener("click",Me);return()=>{if(Z)window.removeEventListener("click",Me)}},[]),io.useEffect(()=>{if(re)if(Y)Array.from(P.current.getElementsByTagName("UL")[0].children).filter((Ue)=>!(Ue.classList.contains("pf-m-disabled")||Ue.classList.contains(Ep.divider)))[0].firstChild.focus();else re.focus()},[Y,re]);let ce=Yo.jsx("span",{className:S(Dn.navToggle),children:Yo.jsx("span",{className:S(Dn.navToggleIcon),children:Yo.jsx(ra,{})})}),fe={"aria-haspopup":"menu","aria-expanded":Y},se=ie?null:-1,be=(Re)=>{let Ue=b||!f;return Yo.jsxs(ne,Object.assign({ref:z,href:f,onClick:(tt)=>Re.onSelect(tt,p,h,f,Ue,x),className:S(Dn.navLink,u&&Dn.modifiers.current,J&&Dn.modifiers.hover,l),"aria-current":u?"page":null,tabIndex:se},Z&&Object.assign({},fe),M,{children:[D&&Yo.jsx("span",{className:S(Dn.navLinkIcon),children:D}),Yo.jsx("span",{className:S(`${Dn.nav}__link-text`),children:r}),_&&ce]}))},De=(Re,Ue)=>io.cloneElement(Ue,Object.assign(Object.assign({onClick:(tt)=>Re.onSelect(tt,p,h,f,b,x),"aria-current":u?"page":null},a&&{className:S(Dn.navLink,u&&Dn.modifiers.current,Ue.props&&Ue.props.className)}),{tabIndex:Ue.props.tabIndex||se,ref:z,children:Z?Yo.jsxs(io.Fragment,{children:[Ue.props.children,ce]}):Ue.props.children})),we=Jn(jp.displayName,I,O),Tt=Yo.jsx(ka,{triggerRef:L,popper:Yo.jsx("div",{ref:P,onMouseEnter:()=>{Ce(!0)},onMouseLeave:()=>{Ce(!1)},children:_}),popperRef:P,placement:"right-start",isVisible:Y,onDocumentKeyDown:B,zIndex:A,appendTo:K===null||K===void 0?void 0:K.current});return Yo.jsxs(Yo.Fragment,{children:[Yo.jsx("li",Object.assign({onMouseOver:le,className:S(Dn.navItem,Z&&Dn.modifiers.flyout,l),ref:L},we,{children:Yo.jsx(Eu.Consumer,{children:(Re)=>io.isValidElement(r)?De(Re,r):be(Re)})})),_&&Tt]})},jp=io.forwardRef((n,r)=>Yo.jsx(CX,Object.assign({},n,{innerRef:r})));jp.displayName="NavItem";var ao=w(X()),Ng=w(Oe());var a1=w(X()),eC=w(Oe());var wL=w(X());var Xc=(n)=>{var{className:r,children:a}=n,l=E(n,["className","children"]);return wL.jsx("div",Object.assign({},l,{className:S(Fe.pageMainBody,r),children:a}))};Xc.displayName="PageBody";var l1=(n)=>{var{className:r="",children:a,isWidthLimited:l,stickyOnBreakpoint:f,hasShadowTop:u=!1,hasShadowBottom:p=!1,hasOverflowScroll:h=!1,"aria-label":b,hasBodyWrapper:x=!0}=n,y=E(n,["className","children","isWidthLimited","stickyOnBreakpoint","hasShadowTop","hasShadowBottom","hasOverflowScroll","aria-label","hasBodyWrapper"]);let{height:_,getVerticalBreakpoint:v}=eC.useContext(ro);return eC.useEffect(()=>{if(h&&!b)console.warn("PageBreadcrumb: An accessible aria-label is required when hasOverflowScroll is set to true.")},[h,b]),a1.jsx("section",Object.assign({className:S(Fe.pageMainBreadcrumb,ze(f,Fe,"sticky-",v(_),!0),l&&Fe.modifiers.limitWidth,u&&Fe.modifiers.shadowTop,p&&Fe.modifiers.shadowBottom,h&&Fe.modifiers.overflowScroll,r)},h&&{tabIndex:0},{"aria-label":b},y,{children:x?a1.jsx(Xc,{children:a}):a}))};l1.displayName="PageBreadcrumb";var AL=w(X()),tC=w(Oe());var s1=(n)=>{var{className:r="",children:a,stickyOnBreakpoint:l,stickyBase:f,isStickyStuck:u=!1,isFilled:p,hasShadowTop:h=!1,hasShadowBottom:b=!1,hasOverflowScroll:x=!1,"aria-label":y,isPlain:_=!1,isNoPlainOnGlass:v=!1}=n,I=E(n,["className","children","stickyOnBreakpoint","stickyBase","isStickyStuck","isFilled","hasShadowTop","hasShadowBottom","hasOverflowScroll","aria-label","isPlain","isNoPlainOnGlass"]);let{height:O,getVerticalBreakpoint:A}=tC.useContext(ro);return tC.useEffect(()=>{if(x&&!y)console.warn("PageGroup: An accessible aria-label is required when hasOverflowScroll is set to true.")},[x,y]),AL.jsx("div",Object.assign({},I,{className:S(Fe.pageMainGroup,ze(l,Fe,"sticky-",A(O),!0),f==="top"&&Fe.modifiers.stickyTopBase,f==="bottom"&&Fe.modifiers.stickyBottomBase,u&&f==="top"&&Fe.modifiers.stickyTopStuck,u&&f==="bottom"&&Fe.modifiers.stickyBottomStuck,p===!1&&Fe.modifiers.noFill,p===!0&&Fe.modifiers.fill,h&&Fe.modifiers.shadowTop,b&&Fe.modifiers.shadowBottom,x&&Fe.modifiers.overflowScroll,_&&Fe.modifiers.plain,v&&Fe.modifiers.noPlainOnGlass,r)},x&&{tabIndex:0,role:"region","aria-label":y},{children:a}))};s1.displayName="PageGroup";var TL;(function(n){n.vertical="vertical",n.horizontal="horizontal"})(TL||(TL={}));class Bg extends Ng.Component{constructor(n){super(n);this.mainRef=Ng.createRef(),this.pageRef=Ng.createRef(),this.observer=()=>{},this.getWindowWidth=()=>{if(Fn)return this.pageRef.current?this.pageRef.current.clientWidth:window.innerWidth;else return 1200},this.isMobile=()=>this.getWindowWidth()<Number.parseInt(fp.value,10)*16,this.resize=(f)=>{var u;let{onPageResize:p}=this.props,h=this.isMobile();if(p)p(f,{mobileView:h,windowSize:this.getWindowWidth()});if(h!==this.state.mobileView)this.setState({mobileView:h});if((u=this.pageRef)===null||u===void 0?void 0:u.current){let b=this.pageRef.current.clientWidth,x=this.pageRef.current.clientHeight;if(this.state.width!==b)this.setState({width:b});if(this.state.height!==x)this.setState({height:x})}},this.handleResize=b6(this.resize,250),this.handleMainClick=()=>{if(this.isMobile()&&this.state.mobileIsSidebarOpen&&this.mainRef.current)this.setState({mobileIsSidebarOpen:!1})},this.onSidebarToggleMobile=()=>{this.setState((f)=>({mobileIsSidebarOpen:!f.mobileIsSidebarOpen}))},this.onSidebarToggleDesktop=()=>{this.setState((f)=>({desktopIsSidebarOpen:!f.desktopIsSidebarOpen}))};let{isManagedSidebar:r,defaultManagedSidebarIsOpen:a}=n,l=!r?!0:a;this.state={desktopIsSidebarOpen:l,mobileIsSidebarOpen:!1,mobileView:!1,width:null,height:null}}componentDidMount(){let{isManagedSidebar:n,onPageResize:r}=this.props;if(n||r){this.observer=bp(this.pageRef.current,this.handleResize);let a=this.mainRef.current;if(a)a.addEventListener("mousedown",this.handleMainClick),a.addEventListener("touchstart",this.handleMainClick);this.resize()}}componentWillUnmount(){let{isManagedSidebar:n,onPageResize:r}=this.props;if(n||r){this.observer();let a=this.mainRef.current;if(a)a.removeEventListener("mousedown",this.handleMainClick),a.removeEventListener("touchstart",this.handleMainClick)}}render(){let n=this.props,{banner:r,breadcrumb:a,isBreadcrumbWidthLimited:l,className:f,children:u,variant:p,isDockExpanded:h=!1,isDockTextExpanded:b=!1,masthead:x,dockContent:y,sidebar:_,notificationDrawer:v,isNotificationDrawerExpanded:I,onNotificationDrawerExpand:O,drawerDefaultSize:A,drawerMinSize:D,drawerMaxSize:k,isHorizontalSubnavWidthLimited:z,skipToContent:M,role:V,mainContainerId:G,isManagedSidebar:K,defaultManagedSidebarIsOpen:ie,onPageResize:re,getBreakpoint:de,getVerticalBreakpoint:J,mainAriaLabel:Ce,mainTabIndex:Q,mainComponent:L,horizontalSubnav:Y,isHorizontalSubnavGrouped:P,isBreadcrumbGrouped:Z,additionalGroupedContent:ne,groupProps:he,breadcrumbProps:le,isContentFilled:Me}=n,B=E(n,["banner","breadcrumb","isBreadcrumbWidthLimited","className","children","variant","isDockExpanded","isDockTextExpanded","masthead","dockContent","sidebar","notificationDrawer","isNotificationDrawerExpanded","onNotificationDrawerExpand","drawerDefaultSize","drawerMinSize","drawerMaxSize","isHorizontalSubnavWidthLimited","skipToContent","role","mainContainerId","isManagedSidebar","defaultManagedSidebarIsOpen","onPageResize","getBreakpoint","getVerticalBreakpoint","mainAriaLabel","mainTabIndex","mainComponent","horizontalSubnav","isHorizontalSubnavGrouped","isBreadcrumbGrouped","additionalGroupedContent","groupProps","breadcrumbProps","isContentFilled"]),{mobileView:ce,mobileIsSidebarOpen:fe,desktopIsSidebarOpen:se,width:be,height:De}=this.state,we={isManagedSidebar:K,onSidebarToggle:ce?this.onSidebarToggleMobile:this.onSidebarToggleDesktop,isSidebarOpen:ce?fe:se,isMobile:ce,width:be,height:De,getBreakpoint:de,getVerticalBreakpoint:J},Ze=null;if(Y)Ze=ao.jsx("div",{className:S(Fe.pageMainSubnav,z&&Fe.modifiers.limitWidth),children:ao.jsx(Xc,{children:Y})});let ct=a?ao.jsx(l1,{stickyOnBreakpoint:le===null||le===void 0?void 0:le.stickyOnBreakpoint,isWidthLimited:l,children:ao.jsx(Xc,{children:a})}):null,yt=P||Z||ne?ao.jsxs(s1,Object.assign({},he,{children:[P&&Ze,r,Z&&ct,ne]})):null,Re=L,Ue=ao.jsx("div",{className:S(Fe.pageMainContainer,Me&&Fe.modifiers.fill),children:ao.jsxs(Re,{ref:this.mainRef,role:V,id:G,className:S(Fe.pageMain),tabIndex:Q,"aria-label":Ce,children:[yt,!P&&Ze,r,!Z&&ct,u]})}),tt=ao.jsx(DO,{defaultSize:A,minSize:D,maxSize:k,children:v});return ao.jsx(xL,{value:we,children:ao.jsxs("div",Object.assign({ref:this.pageRef},B,{className:S(Fe.page,p==="docked"&&Fe.modifiers.docked,be!==null&&De!==null&&"pf-m-resize-observer",be!==null&&`pf-m-breakpoint-${de(be)}`,De!==null&&`pf-m-height-breakpoint-${J(De)}`,_===null&&Fe.modifiers.noSidebar,f),children:[M,p==="docked"?ao.jsxs(ao.Fragment,{children:[x,ao.jsx("div",{className:S(Fe.pageDock,h&&Fe.modifiers.expanded,b&&Fe.modifiers.textExpanded),children:ao.jsx("div",{className:S(Fe.pageDockMain),children:y})})]}):x,_,v&&ao.jsx("div",{className:S(Fe.pageDrawer),children:ao.jsx(AO,{isExpanded:I,onExpand:(ke)=>O(ke),children:ao.jsx(EO,{panelContent:tt,children:Ue})})}),!v&&Ue]}))})}}Bg.displayName="Page";Bg.defaultProps={isManagedSidebar:!1,isBreadcrumbWidthLimited:!1,defaultManagedSidebarIsOpen:!0,mainTabIndex:-1,isNotificationDrawerExpanded:!1,onNotificationDrawerExpand:()=>null,mainComponent:"main",getBreakpoint:sv,getVerticalBreakpoint:lv};var EL=w(X());var c1=(n)=>{var{children:r,className:a,usePageInsets:l,isFilled:f,isContextSelector:u}=n,p=E(n,["children","className","usePageInsets","isFilled","isContextSelector"]);return EL.jsx("div",Object.assign({className:S(Fe.pageSidebarBody,l&&Fe.modifiers.pageInsets,f===!1&&Fe.modifiers.noFill,f===!0&&Fe.modifiers.fill,u===!0&&Fe.modifiers.contextSelector,a)},p,{children:r}))};c1.displayName="PageSidebarBody";var f1=w(X()),oC=w(Oe());var nC;(function(n){n.default="default",n.secondary="secondary"})(nC||(nC={}));var ws;(function(n){n.default="default",n.subNav="subnav",n.breadcrumb="breadcrumb",n.tabs="tabs",n.wizard="wizard"})(ws||(ws={}));var yX={[ws.default]:Fe.pageMainSection,[ws.subNav]:Fe.pageMainSubnav,[ws.breadcrumb]:Fe.pageMainBreadcrumb,[ws.tabs]:Fe.pageMainTabs,[ws.wizard]:Fe.pageMainWizard},SX={[nC.default]:"",[nC.secondary]:Fe.modifiers.secondary},qc=(n)=>{var{className:r="",children:a,variant:l="default",type:f="default",padding:u,isFilled:p,isWidthLimited:h=!1,isCenterAligned:b=!1,stickyOnBreakpoint:x,stickyBase:y,isStickyStuck:_=!1,hasShadowTop:v=!1,hasShadowBottom:I=!1,hasOverflowScroll:O=!1,"aria-label":A,component:D="section",hasBodyWrapper:k=!0,isPlain:z=!1,isNoPlainOnGlass:M=!1}=n,V=E(n,["className","children","variant","type","padding","isFilled","isWidthLimited","isCenterAligned","stickyOnBreakpoint","stickyBase","isStickyStuck","hasShadowTop","hasShadowBottom","hasOverflowScroll","aria-label","component","hasBodyWrapper","isPlain","isNoPlainOnGlass"]);let{height:G,getVerticalBreakpoint:K}=oC.useContext(ro);return oC.useEffect(()=>{if(O&&!A)console.warn("PageSection: An accessible aria-label is required when hasOverflowScroll is set to true.")},[O,A]),f1.jsx(D,Object.assign({},V,{className:S(yX[f],ze(u,Fe),ze(x,Fe,"sticky-",K(G),!0),y==="top"&&Fe.modifiers.stickyTopBase,y==="bottom"&&Fe.modifiers.stickyBottomBase,_&&y==="top"&&Fe.modifiers.stickyTopStuck,_&&y==="bottom"&&Fe.modifiers.stickyBottomStuck,f===ws.default&&SX[l],p===!1&&Fe.modifiers.noFill,p===!0&&Fe.modifiers.fill,h&&Fe.modifiers.limitWidth,h&&b&&f!==ws.subNav&&Fe.modifiers.alignCenter,v&&Fe.modifiers.shadowTop,I&&Fe.modifiers.shadowBottom,O&&Fe.modifiers.overflowScroll,z&&Fe.modifiers.plain,M&&Fe.modifiers.noPlainOnGlass,r)},O&&{tabIndex:0},{"aria-label":A,children:k?f1.jsx(Xc,{children:a}):a}))};qc.displayName="PageSection";var u1=w(X());var d1=(n)=>{var{children:r,isSidebarOpen:a=!0,onSidebarToggle:l=()=>{return},id:f="nav-toggle","aria-label":u="Side navigation toggle",isHamburgerButton:p,hamburgerVariant:h}=n,b=E(n,["children","isSidebarOpen","onSidebarToggle","id","aria-label","isHamburgerButton","hamburgerVariant"]);return u1.jsx(Jv,{children:({isManagedSidebar:x,onSidebarToggle:y,isSidebarOpen:_})=>{let v=x?y:l,I=x?_:a;return u1.jsx(Le,Object.assign({id:f,onClick:v,"aria-label":u,"aria-expanded":I?"true":"false",variant:_i.plain,isHamburger:p,hamburgerVariant:h},p&&{isExpanded:I},b,{children:!p&&r}))}})};d1.displayName="PageToggleButton";var p1=w(X());var Lg={dirRtl:"pf-v6-m-dir-rtl",modifiers:{circle:"pf-m-circle",square:"pf-m-square",widthSm:"pf-m-width-sm",widthMd:"pf-m-width-md",widthLg:"pf-m-width-lg",width_25:"pf-m-width-25",width_33:"pf-m-width-33",width_50:"pf-m-width-50",width_66:"pf-m-width-66",width_75:"pf-m-width-75",heightSm:"pf-m-height-sm",heightMd:"pf-m-height-md",heightLg:"pf-m-height-lg",height_25:"pf-m-height-25",height_33:"pf-m-height-33",height_50:"pf-m-height-50",height_66:"pf-m-height-66",height_75:"pf-m-height-75",height_100:"pf-m-height-100",text_4xl:"pf-m-text-4xl",text_3xl:"pf-m-text-3xl",text_2xl:"pf-m-text-2xl",textXl:"pf-m-text-xl",textLg:"pf-m-text-lg",textMd:"pf-m-text-md",textSm:"pf-m-text-sm"},skeleton:"pf-v6-c-skeleton"};var _X={name:"--pf-v6-c-skeleton--Height",value:"calc(0.875rem * 1.5)",var:"var(--pf-v6-c-skeleton--Height)"},DL=_X;var RX={name:"--pf-v6-c-skeleton--Width",value:"75%",var:"var(--pf-v6-c-skeleton--Width)"},ML=RX;var rC=(n)=>{var{className:r,width:a,height:l,fontSize:f,shape:u,screenreaderText:p}=n,h=E(n,["className","width","height","fontSize","shape","screenreaderText"]);let b=f?Object.values(Lg.modifiers).find((x)=>x===`pf-m-text-${f}`):void 0;return p1.jsx("div",Object.assign({},h,{className:S(Lg.skeleton,f&&b,u==="circle"&&Lg.modifiers.circle,u==="square"&&Lg.modifiers.square,r)},(a||l)&&{style:Object.assign({[ML.name]:a?a:void 0,[DL.name]:l?l:void 0},h.style)},{children:p1.jsx("span",{className:"pf-v6-screen-reader",children:p})}))};rC.displayName="Skeleton";var Ai=w(X()),iC=w(Oe());var As={dirRtl:"pf-v6-m-dir-rtl",modifiers:{reverse:"pf-m-reverse"},switch:"pf-v6-c-switch",switchInput:"pf-v6-c-switch__input",switchLabel:"pf-v6-c-switch__label",switchToggle:"pf-v6-c-switch__toggle",switchToggleIcon:"pf-v6-c-switch__toggle-icon"};class Fp extends iC.Component{constructor(n){super(n);if(!n.label&&!n["aria-label"]&&!n["aria-labelledby"])console.error("Switch: Switch requires at least one of label, aria-labelledby, or aria-label props to be specified")}render(){let n=this.props,{id:r,className:a,label:l,isChecked:f,defaultChecked:u,hasCheckIcon:p,isDisabled:h,onChange:b,isReversed:x,ouiaId:y,ouiaSafe:_,"aria-label":v,"aria-labelledby":I}=n,O=E(n,["id","className","label","isChecked","defaultChecked","hasCheckIcon","isDisabled","onChange","isReversed","ouiaId","ouiaSafe","aria-label","aria-labelledby"]);return Ai.jsx(Hn,{prefix:"pf-switch-",ouiaComponentType:"Switch",children:(A,D)=>{let k=r||A,M=(l||v||I)&&(!v||I),V=!I&&!v,G=I!==null&&I!==void 0?I:`${k}-label`;return Ai.jsxs("label",Object.assign({className:S(As.switch,x&&As.modifiers.reverse,a),htmlFor:k},fn(Fp.displayName,y!==void 0?y:D,_),{children:[Ai.jsx("input",Object.assign({id:k,className:S(As.switchInput),type:"checkbox",role:"switch",onChange:(K)=>b(K,K.target.checked)},u!==void 0?{defaultChecked:u}:{checked:f},{disabled:h,"aria-labelledby":M?G:null,"aria-label":v},O)),l!==void 0?Ai.jsxs(iC.Fragment,{children:[Ai.jsx("span",{className:S(As.switchToggle),children:p&&Ai.jsx("span",{className:S(As.switchToggleIcon),children:Ai.jsx(Ig,{})})}),Ai.jsx("span",{className:S(As.switchLabel),id:M&&V?`${k}-label`:null,"aria-hidden":"true",children:l})]}):Ai.jsx("span",{className:S(As.switchToggle),children:Ai.jsx("div",{className:S(As.switchToggleIcon),children:Ai.jsx(Ig,{})})})]}))}})}}Fp.displayName="Switch";Fp.defaultProps={isChecked:!0,isDisabled:!1,isReversed:!1,"aria-label":void 0,"aria-labelledby":void 0,onChange:()=>{return}};var $c=w(X()),zp=w(Oe());var bt={button:"pf-v6-c-button",dirRtl:"pf-v6-m-dir-rtl",modifiers:{fill:"pf-m-fill",scrollable:"pf-m-scrollable",noBorderBottom:"pf-m-no-border-bottom",box:"pf-m-box",vertical:"pf-m-vertical",current:"pf-m-current",secondary:"pf-m-secondary",expandable:"pf-m-expandable",nonExpandable:"pf-m-non-expandable",expandableOnSm:"pf-m-expandable-on-sm",nonExpandableOnSm:"pf-m-non-expandable-on-sm",expandableOnMd:"pf-m-expandable-on-md",nonExpandableOnMd:"pf-m-non-expandable-on-md",expandableOnLg:"pf-m-expandable-on-lg",nonExpandableOnLg:"pf-m-non-expandable-on-lg",expandableOnXl:"pf-m-expandable-on-xl",nonExpandableOnXl:"pf-m-non-expandable-on-xl",expandableOn_2xl:"pf-m-expandable-on-2xl",nonExpandableOn_2xl:"pf-m-non-expandable-on-2xl",expanded:"pf-m-expanded",subtab:"pf-m-subtab",pageInsets:"pf-m-page-insets",overflow:"pf-m-overflow",nav:"pf-m-nav",action:"pf-m-action",disabled:"pf-m-disabled",ariaDisabled:"pf-m-aria-disabled",insetNone:"pf-m-inset-none",insetSm:"pf-m-inset-sm",insetMd:"pf-m-inset-md",insetLg:"pf-m-inset-lg",insetXl:"pf-m-inset-xl",inset_2xl:"pf-m-inset-2xl",insetNoneOnSm:"pf-m-inset-none-on-sm",insetSmOnSm:"pf-m-inset-sm-on-sm",insetMdOnSm:"pf-m-inset-md-on-sm",insetLgOnSm:"pf-m-inset-lg-on-sm",insetXlOnSm:"pf-m-inset-xl-on-sm",inset_2xlOnSm:"pf-m-inset-2xl-on-sm",insetNoneOnMd:"pf-m-inset-none-on-md",insetSmOnMd:"pf-m-inset-sm-on-md",insetMdOnMd:"pf-m-inset-md-on-md",insetLgOnMd:"pf-m-inset-lg-on-md",insetXlOnMd:"pf-m-inset-xl-on-md",inset_2xlOnMd:"pf-m-inset-2xl-on-md",insetNoneOnLg:"pf-m-inset-none-on-lg",insetSmOnLg:"pf-m-inset-sm-on-lg",insetMdOnLg:"pf-m-inset-md-on-lg",insetLgOnLg:"pf-m-inset-lg-on-lg",insetXlOnLg:"pf-m-inset-xl-on-lg",inset_2xlOnLg:"pf-m-inset-2xl-on-lg",insetNoneOnXl:"pf-m-inset-none-on-xl",insetSmOnXl:"pf-m-inset-sm-on-xl",insetMdOnXl:"pf-m-inset-md-on-xl",insetLgOnXl:"pf-m-inset-lg-on-xl",insetXlOnXl:"pf-m-inset-xl-on-xl",inset_2xlOnXl:"pf-m-inset-2xl-on-xl",insetNoneOn_2xl:"pf-m-inset-none-on-2xl",insetSmOn_2xl:"pf-m-inset-sm-on-2xl",insetMdOn_2xl:"pf-m-inset-md-on-2xl",insetLgOn_2xl:"pf-m-inset-lg-on-2xl",insetXlOn_2xl:"pf-m-inset-xl-on-2xl",inset_2xlOn_2xl:"pf-m-inset-2xl-on-2xl",animateCurrent:"pf-m-animate-current",initializingAccent:"pf-m-initializing-accent"},tabs:"pf-v6-c-tabs",tabsAdd:"pf-v6-c-tabs__add",tabsItem:"pf-v6-c-tabs__item",tabsItemAction:"pf-v6-c-tabs__item-action",tabsItemActionIcon:"pf-v6-c-tabs__item-action-icon",tabsItemText:"pf-v6-c-tabs__item-text",tabsLink:"pf-v6-c-tabs__link",tabsLinkToggleIcon:"pf-v6-c-tabs__link-toggle-icon",tabsList:"pf-v6-c-tabs__list",tabsScrollButton:"pf-v6-c-tabs__scroll-button",tabsToggle:"pf-v6-c-tabs__toggle",tabsToggleIcon:"pf-v6-c-tabs__toggle-icon"};var UL=w(X());var aC=(n)=>{var{children:r,tabContentRef:a,ouiaId:l,parentInnerRef:f,ouiaSafe:u}=n,p=E(n,["children","tabContentRef","ouiaId","parentInnerRef","ouiaSafe"]);let h=p.href?"a":"button";return UL.jsx(h,Object.assign({},!p.href&&{type:"button"},{ref:f},fn(aC.displayName,l,u),p,{children:r}))};aC.displayName="TabButton";var NL=w(Oe()),Hp=NL.createContext({variant:"default",mountOnEnter:!1,unmountOnExit:!1,localActiveKey:"",uniqueId:"",setAccentStyles:()=>null,handleTabClick:()=>null,handleTabClose:void 0}),{Provider:BL,Consumer:LL}=Hp;var kg=w(X()),kL=w(Oe());var OX=(n)=>{var{children:r,className:a,onClick:l,isDisabled:f,"aria-label":u="Tab action",innerRef:p,ouiaId:h,ouiaSafe:b}=n,x=E(n,["children","className","onClick","isDisabled","aria-label","innerRef","ouiaId","ouiaSafe"]);return kg.jsx("span",{className:S(bt.tabsItemAction,a),children:kg.jsx(Le,Object.assign({ref:p,type:"button",variant:"plain","aria-label":u,onClick:l,isDisabled:f,icon:kg.jsx("span",{className:S(bt.tabsItemActionIcon),children:r})},fn(lC.displayName,h,b),x))})},lC=kL.forwardRef((n,r)=>kg.jsx(OX,Object.assign({},n,{innerRef:r})));lC.displayName="TabAction";var wX=(n)=>{var{title:r,eventKey:a,tabContentRef:l,id:f,tabContentId:u,className:p="",ouiaId:h,isDisabled:b,isAriaDisabled:x,inoperableEvents:y=["onClick","onKeyPress"],href:_,innerRef:v,tooltip:I,closeButtonAriaLabel:O,isCloseDisabled:A=!1,actions:D}=n,k=E(n,["title","eventKey","tabContentRef","id","tabContentId","className","ouiaId","isDisabled","isAriaDisabled","inoperableEvents","href","innerRef","tooltip","closeButtonAriaLabel","isCloseDisabled","actions"]);let z=y.reduce((Y,P)=>Object.assign(Object.assign({},Y),{[P]:(Z)=>{Z.preventDefault()}}),{}),{mountOnEnter:M,localActiveKey:V,unmountOnExit:G,uniqueId:K,setAccentStyles:ie,handleTabClick:re,handleTabClose:de}=zp.useContext(Hp),J=u?`${u}`:`pf-tab-section-${a}-${f||K}`;if((M||G)&&a!==V)J=void 0;let Ce=Boolean(!_),Q=()=>{if(b)return Ce?null:-1;else if(x)return null},L=$c.jsx(aC,Object.assign({parentInnerRef:v,className:S(bt.tabsLink,b&&_&&bt.modifiers.disabled,x&&bt.modifiers.ariaDisabled),disabled:Ce?b:null,"aria-disabled":b||x,tabIndex:Q(),onClick:(Y)=>re(Y,a,l)},x?z:null,{id:`pf-tab-${a}-${f||K}`,"aria-controls":J,tabContentRef:l,ouiaId:h,href:_,role:"tab","aria-selected":a===V},k,{children:r}));return zp.useEffect(()=>{ie(!0)},[r,D]),$c.jsxs("li",{className:S(bt.tabsItem,a===V&&bt.modifiers.current,(de||D)&&bt.modifiers.action,(b||x)&&bt.modifiers.disabled,p),role:"presentation",children:[I?$c.jsx(hn,Object.assign({},I.props,{children:L})):L,D&&D,de!==void 0&&$c.jsx(lC,{"aria-label":O||"Close tab",onClick:(Y)=>de(Y,a,l),isDisabled:A,children:$c.jsx(Nc,{})})]})},m1=zp.forwardRef((n,r)=>$c.jsx(wX,Object.assign({innerRef:r},n)));m1.displayName="Tab";var Mn=w(X()),Pr=w(Oe());var AX={name:"PlusIcon",icon:{xOffset:0,yOffset:0,width:448,height:512,svgPathData:"M416 208H272V64c0-17.67-14.33-32-32-32h-32c-17.67 0-32 14.33-32 32v144H32c-17.67 0-32 14.33-32 32v32c0 17.67 14.33 32 32 32h144v144c0 17.67 14.33 32 32 32h32c17.67 0 32-14.33 32-32V304h144c17.67 0 32-14.33 32-32v-32c0-17.67-14.33-32-32-32z"},rhUiIcon:{xOffset:0,yOffset:0,width:32,height:32,svgPathData:"M29 15H17V3a1 1 0 0 0-2 0v12H3a1 1 0 0 0 0 2h12v12a1 1 0 0 0 2 0V17h12a1 1 0 0 0 0-2Z"}},TX=qe(AX),PL=TX;var cC=w(X()),jL=w(Oe());var sC={modifiers:{secondary:"pf-m-secondary",padding:"pf-m-padding"},tabContent:"pf-v6-c-tab-content",tabContentBody:"pf-v6-c-tab-content__body"};var EX={default:"",secondary:sC.modifiers.secondary},DX=(n)=>{var{id:r,activeKey:a,"aria-label":l,child:f,children:u,className:p,eventKey:h,innerRef:b,ouiaId:x,ouiaSafe:y}=n,_=E(n,["id","activeKey","aria-label","child","children","className","eventKey","innerRef","ouiaId","ouiaSafe"]);if(u||f){let v;if(l)v=null;else v=u?`${r}`:`pf-tab-${f.props.eventKey}-${r}`;return cC.jsx(LL,{children:({variant:I})=>{let O=EX[I];return cC.jsx("section",Object.assign({ref:b,hidden:u?null:f.props.eventKey!==a,className:u?S(sC.tabContent,p,O):S(sC.tabContent,f.props.className,O),id:u?r:`pf-tab-section-${f.props.eventKey}-${r}`,"aria-label":l,"aria-labelledby":v,role:"tabpanel",tabIndex:0},fn("TabContent",x,y),_,{children:u||f.props.children}))}})}return null},FL=jL.forwardRef((n,r)=>cC.jsx(DX,Object.assign({},n,{innerRef:r})));var Ti=w(X()),ua=w(Oe());var HL=w(X());var Pg=(n)=>{var{children:r,className:a=""}=n,l=E(n,["children","className"]);return HL.jsx("span",Object.assign({className:S(bt.tabsItemText,a)},l,{children:r}))};Pg.displayName="TabTitleText";var h1=(n)=>{var{className:r,overflowingTabs:a=[],showTabCount:l,defaultTitleText:f="More",toggleAriaLabel:u,zIndex:p=9999,shouldPreventScrollOnItemFocus:h=!0,focusTimeoutDelay:b=0,popperProps:x}=n,y=E(n,["className","overflowingTabs","showTabCount","defaultTitleText","toggleAriaLabel","zIndex","shouldPreventScrollOnItemFocus","focusTimeoutDelay","popperProps"]);let _=ua.useRef(void 0),v=ua.useRef(void 0),I=ua.useRef(void 0),[O,A]=ua.useState(!1),{localActiveKey:D,handleTabClick:k}=ua.useContext(Hp),z=()=>{A(!1),v.current.focus()},M=(Q)=>{var L;let Y=(L=_===null||_===void 0?void 0:_.current)===null||L===void 0?void 0:L.contains(Q.target);if(O&&Y&&Q.key==="Escape")z()},V=(Q)=>{var L,Y;let P=!((L=_===null||_===void 0?void 0:_.current)===null||L===void 0?void 0:L.contains(Q.target)),Z=!((Y=v===null||v===void 0?void 0:v.current)===null||Y===void 0?void 0:Y.contains(Q.target));if(O&&P&&Z)z()};ua.useEffect(()=>(window.addEventListener("click",V),window.addEventListener("keydown",M),()=>{window.removeEventListener("click",V),window.removeEventListener("keydown",M)}),[O,_,v]);let G=a.find((Q)=>Q.eventKey===D),K=(G===null||G===void 0?void 0:G.title)?G.title:f,ie=()=>{A((Q)=>!Q),setTimeout(()=>{if(_===null||_===void 0?void 0:_.current){let Q=_.current.querySelector("li > button,input:not(:disabled)");Q&&Q.focus({preventScroll:h})}},b)},re=Ti.jsx("li",Object.assign({className:S(bt.tabsItem,bt.modifiers.overflow,G&&bt.modifiers.current,r),role:"presentation",ref:I},y,{children:Ti.jsxs("button",{type:"button",className:S(bt.tabsLink,O&&bt.modifiers.expanded),onClick:()=>ie(),"aria-label":u,"aria-haspopup":"menu","aria-expanded":O,role:"tab",ref:v,children:[Ti.jsxs(Pg,{children:[K,l&&K===f&&` (${a.length})`]}),Ti.jsx("span",{className:bt.tabsLinkToggleIcon,children:Ti.jsx(Bl,{})})]})})),de=a.map((Q)=>Ti.jsx(vg,{itemId:Q.eventKey,isSelected:D===Q.eventKey,children:Q.title},Q.eventKey)),J=(Q,L)=>{z();let Y=a.find((P)=>P.eventKey===L).tabContentRef;k(Q,L,Y)},Ce=Ti.jsx(yu,{ref:_,onSelect:(Q,L)=>J(Q,L),children:Ti.jsx(xg,{children:Ti.jsx(Cg,{children:de})})});return Ti.jsxs(ua.Fragment,{children:[re,Ti.jsx(ka,Object.assign({triggerRef:v,popper:Ce,popperRef:_,isVisible:O,minWidth:"revert",appendTo:I.current,zIndex:p},x))]})};h1.displayName="OverflowTab";var MX={name:"--pf-v6-c-tabs--link-accent--length",value:"0",var:"var(--pf-v6-c-tabs--link-accent--length)"},g1=MX;var UX={name:"--pf-v6-c-tabs--link-accent--start",value:"0",var:"var(--pf-v6-c-tabs--link-accent--start)"},b1=UX;var zL;(function(n){n.div="div",n.nav="nav"})(zL||(zL={}));var NX={default:"",secondary:bt.modifiers.secondary};class Du extends Pr.Component{constructor(n){super(n);if(this.tabList=Pr.createRef(),this.leftScrollButtonRef=Pr.createRef(),this.direction="ltr",this.scrollTimeout=null,this.countOverflowingElements=(r)=>Array.from(r.children).filter((l)=>!Na(r,l,!1)).length,this.handleScrollButtons=()=>{let{isOverflowHorizontal:r}=this.props;clearTimeout(this.scrollTimeout),this.scrollTimeout=setTimeout(()=>{let a=this.tabList.current,l=!0,f=!0,u=!1,p=0;if(a&&!this.props.isVertical&&!r){let h=!Na(a,a.firstChild,!1),b=!Na(a,a.lastChild,!1);u=h||b,l=!h,f=!b}if(r)p=this.countOverflowingElements(a);this.setState({enableScrollButtons:u,disableBackScrollButton:l,disableForwardScrollButton:f,overflowingTabCount:p})},100)},this.scrollBack=()=>{if(this.tabList.current){let r=this.tabList.current,a=Array.from(r.children),l,f,u;for(u=0;u<a.length&&!l;u++)if(Na(r,a[u],!1))l=a[u],f=a[u-1];if(f)if(this.direction==="ltr")r.scrollLeft-=f.scrollWidth;else r.scrollLeft+=f.scrollWidth}},this.scrollForward=()=>{if(this.tabList.current){let r=this.tabList.current,a=Array.from(r.children),l,f;for(let u=a.length-1;u>=0&&!l;u--)if(Na(r,a[u],!1))l=a[u],f=a[u+1];if(f)if(this.direction==="ltr")r.scrollLeft+=f.scrollWidth;else r.scrollLeft-=f.scrollWidth}},this.hideScrollButtons=()=>{let{enableScrollButtons:r,renderScrollButtons:a,showScrollButtons:l}=this.state;if(!r&&!l&&a)this.setState({renderScrollButtons:!1})},this.setAccentStyles=(r)=>{let a=this.tabList.current.querySelector("li.pf-m-current");if(!a)return;let{isVertical:l}=this.props,{offsetWidth:f,offsetHeight:u,offsetTop:p}=a,h=l?u:f,b=l?p:I6(a,this.tabList.current);this.setState(Object.assign({currentLinkAccentLength:`${h}px`,currentLinkAccentStart:`${b}px`},r&&{isInitializingAccent:!0})),setTimeout(()=>{this.setState({isInitializingAccent:!1})},0)},this.handleResize=()=>{this.handleScrollButtons(),this.setAccentStyles()},this.state={enableScrollButtons:!1,showScrollButtons:!1,renderScrollButtons:!1,disableBackScrollButton:!0,disableForwardScrollButton:!0,shownKeys:this.props.defaultActiveKey!==void 0?[this.props.defaultActiveKey]:[this.props.activeKey],uncontrolledActiveKey:this.props.defaultActiveKey,uncontrolledIsExpandedLocal:this.props.defaultIsExpanded,overflowingTabCount:0,isInitializingAccent:!0,currentLinkAccentLength:g1.value,currentLinkAccentStart:b1.value},this.props.isVertical&&this.props.expandable!==void 0){if(!this.props.toggleAriaLabel&&!this.props.toggleText)console.error("Tabs:","toggleAriaLabel or the toggleText prop is required to make the toggle button accessible")}}handleTabClick(n,r,a){let{shownKeys:l}=this.state,{onSelect:f,defaultActiveKey:u}=this.props;if(u!==void 0)this.setState({uncontrolledActiveKey:r});else f(n,r);if(a){if(Pr.Children.toArray(this.props.children).filter((p)=>Pr.isValidElement(p)).filter(({props:p})=>p.tabContentRef&&p.tabContentRef.current).forEach((p)=>p.props.tabContentRef.current.hidden=!0),a.current)a.current.hidden=!1}if(this.props.mountOnEnter)this.setState({shownKeys:l.concat(r)})}componentDidMount(){if(!this.props.isVertical){if(Fn)window.addEventListener("resize",this.handleResize,!1);this.direction=Si(this.tabList.current),this.handleScrollButtons()}this.setAccentStyles(!0)}componentWillUnmount(){var n;if(!this.props.isVertical){if(Fn)window.removeEventListener("resize",this.handleResize,!1)}clearTimeout(this.scrollTimeout),(n=this.leftScrollButtonRef.current)===null||n===void 0||n.removeEventListener("transitionend",this.hideScrollButtons)}componentDidUpdate(n,r){this.direction=Si(this.tabList.current);let{activeKey:a,mountOnEnter:l,isOverflowHorizontal:f,children:u,defaultActiveKey:p}=this.props,{shownKeys:h,overflowingTabCount:b,enableScrollButtons:x,uncontrolledActiveKey:y}=this.state,_=!!n.onClose!==!!this.props.onClose;if(p!==void 0&&r.uncontrolledActiveKey!==y||p===void 0&&n.activeKey!==a||_)this.setAccentStyles(_);if(n.activeKey!==a&&l&&h.indexOf(a)<0)this.setState({shownKeys:h.concat(a)});if(n.children&&u&&Pr.Children.toArray(n.children).length!==Pr.Children.toArray(u).length)this.handleScrollButtons(),this.setAccentStyles(!0);let v=this.countOverflowingElements(this.tabList.current);if(f&&v)this.setState({overflowingTabCount:v+b});if(!r.enableScrollButtons&&x)this.setState({renderScrollButtons:!0}),setTimeout(()=>{var I,O;(I=this.leftScrollButtonRef.current)===null||I===void 0||I.removeEventListener("transitionend",this.hideScrollButtons),(O=this.leftScrollButtonRef.current)===null||O===void 0||O.addEventListener("transitionend",this.hideScrollButtons),this.setState({showScrollButtons:!0})},100);else if(r.enableScrollButtons&&!x)this.setState({showScrollButtons:!1});if(r.uncontrolledIsExpandedLocal!==this.state.uncontrolledIsExpandedLocal)this.setAccentStyles(!0)}static getDerivedStateFromProps(n,r){if(r.uncontrolledActiveKey===void 0)return null;if(Pr.Children.toArray(n.children).filter((l)=>Pr.isValidElement(l)).some(({props:l})=>l.eventKey===r.uncontrolledActiveKey))return null;return{uncontrolledActiveKey:n.defaultActiveKey,shownKeys:n.defaultActiveKey!==void 0?[n.defaultActiveKey]:[n.activeKey]}}render(){let n=this.props,{className:r,children:a,activeKey:l,defaultActiveKey:f,id:u,isAddButtonDisabled:p,isFilled:h,isSubtab:b,isNav:x,isVertical:y,isBox:_,hasNoBorderBottom:v,leftScrollAriaLabel:I,rightScrollAriaLabel:O,backScrollAriaLabel:A,forwardScrollAriaLabel:D,"aria-label":k,component:z,ouiaId:M,ouiaSafe:V,mountOnEnter:G,unmountOnExit:K,usePageInsets:ie,inset:re,variant:de,expandable:J,isExpanded:Ce,defaultIsExpanded:Q,toggleText:L,toggleAriaLabel:Y,addButtonAriaLabel:P,tabListAriaLabel:Z,tabListAriaLabelledBy:ne,onToggle:he,onClose:le,onAdd:Me,isOverflowHorizontal:B}=n,ce=E(n,["className","children","activeKey","defaultActiveKey","id","isAddButtonDisabled","isFilled","isSubtab","isNav","isVertical","isBox","hasNoBorderBottom","leftScrollAriaLabel","rightScrollAriaLabel","backScrollAriaLabel","forwardScrollAriaLabel","aria-label","component","ouiaId","ouiaSafe","mountOnEnter","unmountOnExit","usePageInsets","inset","variant","expandable","isExpanded","defaultIsExpanded","toggleText","toggleAriaLabel","addButtonAriaLabel","tabListAriaLabel","tabListAriaLabelledBy","onToggle","onClose","onAdd","isOverflowHorizontal"]),{showScrollButtons:fe,renderScrollButtons:se,disableBackScrollButton:be,disableForwardScrollButton:De,shownKeys:we,uncontrolledActiveKey:Ze,uncontrolledIsExpandedLocal:ct,overflowingTabCount:Tt,isInitializingAccent:yt,currentLinkAccentLength:Re,currentLinkAccentStart:Ue}=this.state,tt=Pr.Children.toArray(a).filter((et)=>Pr.isValidElement(et)).filter(({props:et})=>!et.isHidden),ke=tt.slice(0,tt.length-Tt),pt=tt.slice(tt.length-Tt).map((et)=>et.props),Zt=z!==void 0?z:x&&!z?"nav":"div",Mt=f!==void 0?Ze:l,Be=Q!==void 0?ct:Ce,xe=(et,Te)=>{if(Ce===void 0)this.setState({uncontrolledIsExpandedLocal:Te});else he(et,Te)},vn=B&&Tt>0,Pe=typeof B==="object"?Object.assign({},B):{};return Mn.jsx(Hn,{prefix:"pf-random-id-",ouiaComponentType:Du.displayName,children:(et,Te)=>{let Ve=u||et;return Mn.jsxs(BL,{value:{variant:de,mountOnEnter:G,unmountOnExit:K,localActiveKey:Mt,uniqueId:Ve,setAccentStyles:this.setAccentStyles,handleTabClick:(...Ye)=>this.handleTabClick(...Ye),handleTabClose:le},children:[Mn.jsxs(Zt,Object.assign({"aria-label":k,className:S(bt.tabs,bt.modifiers.animateCurrent,h&&bt.modifiers.fill,b&&bt.modifiers.subtab,x&&bt.modifiers.nav,y&&bt.modifiers.vertical,y&&J&&ze(J,bt),y&&J&&Be&&bt.modifiers.expanded,_&&bt.modifiers.box,fe&&bt.modifiers.scrollable,ie&&bt.modifiers.pageInsets,v&&bt.modifiers.noBorderBottom,ze(re,bt),NX[de],vn&&bt.modifiers.overflow,yt&&bt.modifiers.initializingAccent,r)},fn(Du.displayName,M!==void 0?M:Te,V),{id:u&&u},ce,{style:Object.assign({[g1.name]:Re,[b1.name]:Ue},ce.style),children:[J&&y&&Mn.jsx(TR,{children:(Ye)=>Mn.jsx("div",{className:S(bt.tabsToggle),children:Mn.jsx("div",{className:"pf-v6-c-tabs__toggle-button",children:Mn.jsx(Le,{onClick:(Nn)=>xe(Nn,!Be),variant:"plain","aria-label":Y,"aria-expanded":Be,id:`${Ye}-button`,"aria-labelledby":`${Ye}-text ${Ye}-button`,icon:Mn.jsx("span",{className:S(bt.tabsToggleIcon),children:Mn.jsx(Bl,{})}),children:L&&Mn.jsx("span",{id:`${Ye}-text`,children:L})})})})}),se&&Mn.jsx("div",{className:S(bt.tabsScrollButton),children:Mn.jsx(Le,{"aria-label":A||I,onClick:this.scrollBack,isDisabled:be,"aria-hidden":be,ref:this.leftScrollButtonRef,variant:"plain",icon:Mn.jsx(Rp,{})})}),Mn.jsxs("ul",{"aria-label":Z,"aria-labelledby":ne,className:S(bt.tabsList),ref:this.tabList,onScroll:this.handleScrollButtons,role:"tablist",children:[B?ke:tt,vn&&Mn.jsx(h1,Object.assign({overflowingTabs:pt},Pe))]}),se&&Mn.jsx("div",{className:S(bt.tabsScrollButton),children:Mn.jsx(Le,{"aria-label":D||O,onClick:this.scrollForward,isDisabled:De,"aria-hidden":De,variant:"plain",icon:Mn.jsx(ra,{})})}),Me!==void 0&&Mn.jsx("span",{className:S(bt.tabsAdd),children:Mn.jsx(Le,{variant:"plain","aria-label":P||"Add tab",onClick:Me,icon:Mn.jsx(PL,{}),isDisabled:p})})]})),tt.filter((Ye)=>Ye.props.children&&!(K&&Ye.props.eventKey!==Mt)&&!(G&&we.indexOf(Ye.props.eventKey)===-1)).map((Ye)=>Mn.jsx(FL,{activeKey:Mt,child:Ye,id:Ye.props.id||Ve,ouiaId:Ye.props.ouiaId},Ye.props.eventKey))]})}})}}Du.displayName="Tabs";Du.defaultProps={activeKey:0,onSelect:()=>{return},isFilled:!1,isSubtab:!1,isNav:!1,isVertical:!1,isBox:!1,hasNoBorderBottom:!1,leftScrollAriaLabel:"Scroll left",backScrollAriaLabel:"Scroll back",rightScrollAriaLabel:"Scroll right",forwardScrollAriaLabel:"Scroll forward",mountOnEnter:!1,unmountOnExit:!1,ouiaSafe:!0,variant:"default",onToggle:(n,r)=>{return}};var Uu=w(X()),hC=w(Oe());var $e={dirRtl:"pf-v6-m-dir-rtl",modifiers:{hidden:"pf-m-hidden",hiddenOnSmHeight:"pf-m-hidden-on-sm-height",visibleOnSmHeight:"pf-m-visible-on-sm-height",hiddenOnMdHeight:"pf-m-hidden-on-md-height",visibleOnMdHeight:"pf-m-visible-on-md-height",hiddenOnLgHeight:"pf-m-hidden-on-lg-height",visibleOnLgHeight:"pf-m-visible-on-lg-height",hiddenOnXlHeight:"pf-m-hidden-on-xl-height",visibleOnXlHeight:"pf-m-visible-on-xl-height",hiddenOn_2xlHeight:"pf-m-hidden-on-2xl-height",visibleOn_2xlHeight:"pf-m-visible-on-2xl-height",hiddenOnSm:"pf-m-hidden-on-sm",visibleOnSm:"pf-m-visible-on-sm",hiddenOnMd:"pf-m-hidden-on-md",visibleOnMd:"pf-m-visible-on-md",hiddenOnLg:"pf-m-hidden-on-lg",visibleOnLg:"pf-m-visible-on-lg",hiddenOnXl:"pf-m-hidden-on-xl",visibleOnXl:"pf-m-visible-on-xl",hiddenOn_2xl:"pf-m-hidden-on-2xl",visibleOn_2xl:"pf-m-visible-on-2xl",sticky:"pf-m-sticky",stickyBase:"pf-m-sticky-base",stickyStuck:"pf-m-sticky-stuck",static:"pf-m-static",fullHeight:"pf-m-full-height",noPadding:"pf-m-no-padding",primary:"pf-m-primary",secondary:"pf-m-secondary",noBackground:"pf-m-no-background",vertical:"pf-m-vertical",expandAll:"pf-m-expand-all",expanded:"pf-m-expanded",label:"pf-m-label",pagination:"pf-m-pagination",overflowContainer:"pf-m-overflow-container",filterGroup:"pf-m-filter-group",labelGroup:"pf-m-label-group",actionGroup:"pf-m-action-group",actionGroupPlain:"pf-m-action-group-plain",actionGroupInline:"pf-m-action-group-inline",alignStart:"pf-m-align-start",alignCenter:"pf-m-align-center",alignEnd:"pf-m-align-end",flexGrow:"pf-m-flex-grow",alignSelfStretch:"pf-m-align-self-stretch",alignSelfBaseline:"pf-m-align-self-baseline",alignSelfStart:"pf-m-align-self-start",alignSelfCenter:"pf-m-align-self-center",alignSelfEnd:"pf-m-align-self-end",insetNone:"pf-m-inset-none",insetXs:"pf-m-inset-xs",insetSm:"pf-m-inset-sm",insetMd:"pf-m-inset-md",insetLg:"pf-m-inset-lg",insetXl:"pf-m-inset-xl",inset_2xl:"pf-m-inset-2xl",inset_3xl:"pf-m-inset-3xl",inset_4xl:"pf-m-inset-4xl",wrap:"pf-m-wrap",nowrap:"pf-m-nowrap",alignItemsStretch:"pf-m-align-items-stretch",alignItemsBaseline:"pf-m-align-items-baseline",alignItemsStart:"pf-m-align-items-start",alignItemsCenter:"pf-m-align-items-center",alignItemsEnd:"pf-m-align-items-end",gapNone:"pf-m-gap-none",gapXs:"pf-m-gap-xs",gapSm:"pf-m-gap-sm",gapMd:"pf-m-gap-md",gapLg:"pf-m-gap-lg",gapXl:"pf-m-gap-xl",gap_2xl:"pf-m-gap-2xl",gap_3xl:"pf-m-gap-3xl",gap_4xl:"pf-m-gap-4xl",columnGapNone:"pf-m-column-gap-none",rowGapNone:"pf-m-row-gap-none",columnGapXs:"pf-m-column-gap-xs",rowGapXs:"pf-m-row-gap-xs",columnGapSm:"pf-m-column-gap-sm",rowGapSm:"pf-m-row-gap-sm",columnGapMd:"pf-m-column-gap-md",rowGapMd:"pf-m-row-gap-md",columnGapLg:"pf-m-column-gap-lg",rowGapLg:"pf-m-row-gap-lg",columnGapXl:"pf-m-column-gap-xl",rowGapXl:"pf-m-row-gap-xl",columnGap_2xl:"pf-m-column-gap-2xl",rowGap_2xl:"pf-m-row-gap-2xl",columnGap_3xl:"pf-m-column-gap-3xl",rowGap_3xl:"pf-m-row-gap-3xl",columnGap_4xl:"pf-m-column-gap-4xl",rowGap_4xl:"pf-m-row-gap-4xl",toggleGroup:"pf-m-toggle-group",show:"pf-m-show",hide:"pf-m-hide",alignStartOnSm:"pf-m-align-start-on-sm",alignCenterOnSm:"pf-m-align-center-on-sm",alignEndOnSm:"pf-m-align-end-on-sm",flexGrowOnSm:"pf-m-flex-grow-on-sm",alignSelfStretchOnSm:"pf-m-align-self-stretch-on-sm",alignSelfBaselineOnSm:"pf-m-align-self-baseline-on-sm",alignSelfStartOnSm:"pf-m-align-self-start-on-sm",alignSelfCenterOnSm:"pf-m-align-self-center-on-sm",alignSelfEndOnSm:"pf-m-align-self-end-on-sm",insetNoneOnSm:"pf-m-inset-none-on-sm",insetXsOnSm:"pf-m-inset-xs-on-sm",insetSmOnSm:"pf-m-inset-sm-on-sm",insetMdOnSm:"pf-m-inset-md-on-sm",insetLgOnSm:"pf-m-inset-lg-on-sm",insetXlOnSm:"pf-m-inset-xl-on-sm",inset_2xlOnSm:"pf-m-inset-2xl-on-sm",inset_3xlOnSm:"pf-m-inset-3xl-on-sm",inset_4xlOnSm:"pf-m-inset-4xl-on-sm",wrapOnSm:"pf-m-wrap-on-sm",nowrapOnSm:"pf-m-nowrap-on-sm",alignItemsStretchOnSm:"pf-m-align-items-stretch-on-sm",alignItemsBaselineOnSm:"pf-m-align-items-baseline-on-sm",alignItemsStartOnSm:"pf-m-align-items-start-on-sm",alignItemsCenterOnSm:"pf-m-align-items-center-on-sm",alignItemsEndOnSm:"pf-m-align-items-end-on-sm",gapNoneOnSm:"pf-m-gap-none-on-sm",gapXsOnSm:"pf-m-gap-xs-on-sm",gapSmOnSm:"pf-m-gap-sm-on-sm",gapMdOnSm:"pf-m-gap-md-on-sm",gapLgOnSm:"pf-m-gap-lg-on-sm",gapXlOnSm:"pf-m-gap-xl-on-sm",gap_2xlOnSm:"pf-m-gap-2xl-on-sm",gap_3xlOnSm:"pf-m-gap-3xl-on-sm",gap_4xlOnSm:"pf-m-gap-4xl-on-sm",columnGapNoneOnSm:"pf-m-column-gap-none-on-sm",rowGapNoneOnSm:"pf-m-row-gap-none-on-sm",columnGapXsOnSm:"pf-m-column-gap-xs-on-sm",rowGapXsOnSm:"pf-m-row-gap-xs-on-sm",columnGapSmOnSm:"pf-m-column-gap-sm-on-sm",rowGapSmOnSm:"pf-m-row-gap-sm-on-sm",columnGapMdOnSm:"pf-m-column-gap-md-on-sm",rowGapMdOnSm:"pf-m-row-gap-md-on-sm",columnGapLgOnSm:"pf-m-column-gap-lg-on-sm",rowGapLgOnSm:"pf-m-row-gap-lg-on-sm",columnGapXlOnSm:"pf-m-column-gap-xl-on-sm",rowGapXlOnSm:"pf-m-row-gap-xl-on-sm",columnGap_2xlOnSm:"pf-m-column-gap-2xl-on-sm",rowGap_2xlOnSm:"pf-m-row-gap-2xl-on-sm",columnGap_3xlOnSm:"pf-m-column-gap-3xl-on-sm",rowGap_3xlOnSm:"pf-m-row-gap-3xl-on-sm",columnGap_4xlOnSm:"pf-m-column-gap-4xl-on-sm",rowGap_4xlOnSm:"pf-m-row-gap-4xl-on-sm",showOnSm:"pf-m-show-on-sm",hideOnSm:"pf-m-hide-on-sm",alignStartOnMd:"pf-m-align-start-on-md",alignCenterOnMd:"pf-m-align-center-on-md",alignEndOnMd:"pf-m-align-end-on-md",flexGrowOnMd:"pf-m-flex-grow-on-md",alignSelfStretchOnMd:"pf-m-align-self-stretch-on-md",alignSelfBaselineOnMd:"pf-m-align-self-baseline-on-md",alignSelfStartOnMd:"pf-m-align-self-start-on-md",alignSelfCenterOnMd:"pf-m-align-self-center-on-md",alignSelfEndOnMd:"pf-m-align-self-end-on-md",insetNoneOnMd:"pf-m-inset-none-on-md",insetXsOnMd:"pf-m-inset-xs-on-md",insetSmOnMd:"pf-m-inset-sm-on-md",insetMdOnMd:"pf-m-inset-md-on-md",insetLgOnMd:"pf-m-inset-lg-on-md",insetXlOnMd:"pf-m-inset-xl-on-md",inset_2xlOnMd:"pf-m-inset-2xl-on-md",inset_3xlOnMd:"pf-m-inset-3xl-on-md",inset_4xlOnMd:"pf-m-inset-4xl-on-md",wrapOnMd:"pf-m-wrap-on-md",nowrapOnMd:"pf-m-nowrap-on-md",alignItemsStretchOnMd:"pf-m-align-items-stretch-on-md",alignItemsBaselineOnMd:"pf-m-align-items-baseline-on-md",alignItemsStartOnMd:"pf-m-align-items-start-on-md",alignItemsCenterOnMd:"pf-m-align-items-center-on-md",alignItemsEndOnMd:"pf-m-align-items-end-on-md",gapNoneOnMd:"pf-m-gap-none-on-md",gapXsOnMd:"pf-m-gap-xs-on-md",gapSmOnMd:"pf-m-gap-sm-on-md",gapMdOnMd:"pf-m-gap-md-on-md",gapLgOnMd:"pf-m-gap-lg-on-md",gapXlOnMd:"pf-m-gap-xl-on-md",gap_2xlOnMd:"pf-m-gap-2xl-on-md",gap_3xlOnMd:"pf-m-gap-3xl-on-md",gap_4xlOnMd:"pf-m-gap-4xl-on-md",columnGapNoneOnMd:"pf-m-column-gap-none-on-md",rowGapNoneOnMd:"pf-m-row-gap-none-on-md",columnGapXsOnMd:"pf-m-column-gap-xs-on-md",rowGapXsOnMd:"pf-m-row-gap-xs-on-md",columnGapSmOnMd:"pf-m-column-gap-sm-on-md",rowGapSmOnMd:"pf-m-row-gap-sm-on-md",columnGapMdOnMd:"pf-m-column-gap-md-on-md",rowGapMdOnMd:"pf-m-row-gap-md-on-md",columnGapLgOnMd:"pf-m-column-gap-lg-on-md",rowGapLgOnMd:"pf-m-row-gap-lg-on-md",columnGapXlOnMd:"pf-m-column-gap-xl-on-md",rowGapXlOnMd:"pf-m-row-gap-xl-on-md",columnGap_2xlOnMd:"pf-m-column-gap-2xl-on-md",rowGap_2xlOnMd:"pf-m-row-gap-2xl-on-md",columnGap_3xlOnMd:"pf-m-column-gap-3xl-on-md",rowGap_3xlOnMd:"pf-m-row-gap-3xl-on-md",columnGap_4xlOnMd:"pf-m-column-gap-4xl-on-md",rowGap_4xlOnMd:"pf-m-row-gap-4xl-on-md",showOnMd:"pf-m-show-on-md",hideOnMd:"pf-m-hide-on-md",alignStartOnLg:"pf-m-align-start-on-lg",alignCenterOnLg:"pf-m-align-center-on-lg",alignEndOnLg:"pf-m-align-end-on-lg",flexGrowOnLg:"pf-m-flex-grow-on-lg",alignSelfStretchOnLg:"pf-m-align-self-stretch-on-lg",alignSelfBaselineOnLg:"pf-m-align-self-baseline-on-lg",alignSelfStartOnLg:"pf-m-align-self-start-on-lg",alignSelfCenterOnLg:"pf-m-align-self-center-on-lg",alignSelfEndOnLg:"pf-m-align-self-end-on-lg",insetNoneOnLg:"pf-m-inset-none-on-lg",insetXsOnLg:"pf-m-inset-xs-on-lg",insetSmOnLg:"pf-m-inset-sm-on-lg",insetMdOnLg:"pf-m-inset-md-on-lg",insetLgOnLg:"pf-m-inset-lg-on-lg",insetXlOnLg:"pf-m-inset-xl-on-lg",inset_2xlOnLg:"pf-m-inset-2xl-on-lg",inset_3xlOnLg:"pf-m-inset-3xl-on-lg",inset_4xlOnLg:"pf-m-inset-4xl-on-lg",wrapOnLg:"pf-m-wrap-on-lg",nowrapOnLg:"pf-m-nowrap-on-lg",alignItemsStretchOnLg:"pf-m-align-items-stretch-on-lg",alignItemsBaselineOnLg:"pf-m-align-items-baseline-on-lg",alignItemsStartOnLg:"pf-m-align-items-start-on-lg",alignItemsCenterOnLg:"pf-m-align-items-center-on-lg",alignItemsEndOnLg:"pf-m-align-items-end-on-lg",gapNoneOnLg:"pf-m-gap-none-on-lg",gapXsOnLg:"pf-m-gap-xs-on-lg",gapSmOnLg:"pf-m-gap-sm-on-lg",gapMdOnLg:"pf-m-gap-md-on-lg",gapLgOnLg:"pf-m-gap-lg-on-lg",gapXlOnLg:"pf-m-gap-xl-on-lg",gap_2xlOnLg:"pf-m-gap-2xl-on-lg",gap_3xlOnLg:"pf-m-gap-3xl-on-lg",gap_4xlOnLg:"pf-m-gap-4xl-on-lg",columnGapNoneOnLg:"pf-m-column-gap-none-on-lg",rowGapNoneOnLg:"pf-m-row-gap-none-on-lg",columnGapXsOnLg:"pf-m-column-gap-xs-on-lg",rowGapXsOnLg:"pf-m-row-gap-xs-on-lg",columnGapSmOnLg:"pf-m-column-gap-sm-on-lg",rowGapSmOnLg:"pf-m-row-gap-sm-on-lg",columnGapMdOnLg:"pf-m-column-gap-md-on-lg",rowGapMdOnLg:"pf-m-row-gap-md-on-lg",columnGapLgOnLg:"pf-m-column-gap-lg-on-lg",rowGapLgOnLg:"pf-m-row-gap-lg-on-lg",columnGapXlOnLg:"pf-m-column-gap-xl-on-lg",rowGapXlOnLg:"pf-m-row-gap-xl-on-lg",columnGap_2xlOnLg:"pf-m-column-gap-2xl-on-lg",rowGap_2xlOnLg:"pf-m-row-gap-2xl-on-lg",columnGap_3xlOnLg:"pf-m-column-gap-3xl-on-lg",rowGap_3xlOnLg:"pf-m-row-gap-3xl-on-lg",columnGap_4xlOnLg:"pf-m-column-gap-4xl-on-lg",rowGap_4xlOnLg:"pf-m-row-gap-4xl-on-lg",showOnLg:"pf-m-show-on-lg",hideOnLg:"pf-m-hide-on-lg",alignStartOnXl:"pf-m-align-start-on-xl",alignCenterOnXl:"pf-m-align-center-on-xl",alignEndOnXl:"pf-m-align-end-on-xl",flexGrowOnXl:"pf-m-flex-grow-on-xl",alignSelfStretchOnXl:"pf-m-align-self-stretch-on-xl",alignSelfBaselineOnXl:"pf-m-align-self-baseline-on-xl",alignSelfStartOnXl:"pf-m-align-self-start-on-xl",alignSelfCenterOnXl:"pf-m-align-self-center-on-xl",alignSelfEndOnXl:"pf-m-align-self-end-on-xl",insetNoneOnXl:"pf-m-inset-none-on-xl",insetXsOnXl:"pf-m-inset-xs-on-xl",insetSmOnXl:"pf-m-inset-sm-on-xl",insetMdOnXl:"pf-m-inset-md-on-xl",insetLgOnXl:"pf-m-inset-lg-on-xl",insetXlOnXl:"pf-m-inset-xl-on-xl",inset_2xlOnXl:"pf-m-inset-2xl-on-xl",inset_3xlOnXl:"pf-m-inset-3xl-on-xl",inset_4xlOnXl:"pf-m-inset-4xl-on-xl",wrapOnXl:"pf-m-wrap-on-xl",nowrapOnXl:"pf-m-nowrap-on-xl",alignItemsStretchOnXl:"pf-m-align-items-stretch-on-xl",alignItemsBaselineOnXl:"pf-m-align-items-baseline-on-xl",alignItemsStartOnXl:"pf-m-align-items-start-on-xl",alignItemsCenterOnXl:"pf-m-align-items-center-on-xl",alignItemsEndOnXl:"pf-m-align-items-end-on-xl",gapNoneOnXl:"pf-m-gap-none-on-xl",gapXsOnXl:"pf-m-gap-xs-on-xl",gapSmOnXl:"pf-m-gap-sm-on-xl",gapMdOnXl:"pf-m-gap-md-on-xl",gapLgOnXl:"pf-m-gap-lg-on-xl",gapXlOnXl:"pf-m-gap-xl-on-xl",gap_2xlOnXl:"pf-m-gap-2xl-on-xl",gap_3xlOnXl:"pf-m-gap-3xl-on-xl",gap_4xlOnXl:"pf-m-gap-4xl-on-xl",columnGapNoneOnXl:"pf-m-column-gap-none-on-xl",rowGapNoneOnXl:"pf-m-row-gap-none-on-xl",columnGapXsOnXl:"pf-m-column-gap-xs-on-xl",rowGapXsOnXl:"pf-m-row-gap-xs-on-xl",columnGapSmOnXl:"pf-m-column-gap-sm-on-xl",rowGapSmOnXl:"pf-m-row-gap-sm-on-xl",columnGapMdOnXl:"pf-m-column-gap-md-on-xl",rowGapMdOnXl:"pf-m-row-gap-md-on-xl",columnGapLgOnXl:"pf-m-column-gap-lg-on-xl",rowGapLgOnXl:"pf-m-row-gap-lg-on-xl",columnGapXlOnXl:"pf-m-column-gap-xl-on-xl",rowGapXlOnXl:"pf-m-row-gap-xl-on-xl",columnGap_2xlOnXl:"pf-m-column-gap-2xl-on-xl",rowGap_2xlOnXl:"pf-m-row-gap-2xl-on-xl",columnGap_3xlOnXl:"pf-m-column-gap-3xl-on-xl",rowGap_3xlOnXl:"pf-m-row-gap-3xl-on-xl",columnGap_4xlOnXl:"pf-m-column-gap-4xl-on-xl",rowGap_4xlOnXl:"pf-m-row-gap-4xl-on-xl",showOnXl:"pf-m-show-on-xl",hideOnXl:"pf-m-hide-on-xl",alignStartOn_2xl:"pf-m-align-start-on-2xl",alignCenterOn_2xl:"pf-m-align-center-on-2xl",alignEndOn_2xl:"pf-m-align-end-on-2xl",flexGrowOn_2xl:"pf-m-flex-grow-on-2xl",alignSelfStretchOn_2xl:"pf-m-align-self-stretch-on-2xl",alignSelfBaselineOn_2xl:"pf-m-align-self-baseline-on-2xl",alignSelfStartOn_2xl:"pf-m-align-self-start-on-2xl",alignSelfCenterOn_2xl:"pf-m-align-self-center-on-2xl",alignSelfEndOn_2xl:"pf-m-align-self-end-on-2xl",insetNoneOn_2xl:"pf-m-inset-none-on-2xl",insetXsOn_2xl:"pf-m-inset-xs-on-2xl",insetSmOn_2xl:"pf-m-inset-sm-on-2xl",insetMdOn_2xl:"pf-m-inset-md-on-2xl",insetLgOn_2xl:"pf-m-inset-lg-on-2xl",insetXlOn_2xl:"pf-m-inset-xl-on-2xl",inset_2xlOn_2xl:"pf-m-inset-2xl-on-2xl",inset_3xlOn_2xl:"pf-m-inset-3xl-on-2xl",inset_4xlOn_2xl:"pf-m-inset-4xl-on-2xl",wrapOn_2xl:"pf-m-wrap-on-2xl",nowrapOn_2xl:"pf-m-nowrap-on-2xl",alignItemsStretchOn_2xl:"pf-m-align-items-stretch-on-2xl",alignItemsBaselineOn_2xl:"pf-m-align-items-baseline-on-2xl",alignItemsStartOn_2xl:"pf-m-align-items-start-on-2xl",alignItemsCenterOn_2xl:"pf-m-align-items-center-on-2xl",alignItemsEndOn_2xl:"pf-m-align-items-end-on-2xl",gapNoneOn_2xl:"pf-m-gap-none-on-2xl",gapXsOn_2xl:"pf-m-gap-xs-on-2xl",gapSmOn_2xl:"pf-m-gap-sm-on-2xl",gapMdOn_2xl:"pf-m-gap-md-on-2xl",gapLgOn_2xl:"pf-m-gap-lg-on-2xl",gapXlOn_2xl:"pf-m-gap-xl-on-2xl",gap_2xlOn_2xl:"pf-m-gap-2xl-on-2xl",gap_3xlOn_2xl:"pf-m-gap-3xl-on-2xl",gap_4xlOn_2xl:"pf-m-gap-4xl-on-2xl",columnGapNoneOn_2xl:"pf-m-column-gap-none-on-2xl",rowGapNoneOn_2xl:"pf-m-row-gap-none-on-2xl",columnGapXsOn_2xl:"pf-m-column-gap-xs-on-2xl",rowGapXsOn_2xl:"pf-m-row-gap-xs-on-2xl",columnGapSmOn_2xl:"pf-m-column-gap-sm-on-2xl",rowGapSmOn_2xl:"pf-m-row-gap-sm-on-2xl",columnGapMdOn_2xl:"pf-m-column-gap-md-on-2xl",rowGapMdOn_2xl:"pf-m-row-gap-md-on-2xl",columnGapLgOn_2xl:"pf-m-column-gap-lg-on-2xl",rowGapLgOn_2xl:"pf-m-row-gap-lg-on-2xl",columnGapXlOn_2xl:"pf-m-column-gap-xl-on-2xl",rowGapXlOn_2xl:"pf-m-row-gap-xl-on-2xl",columnGap_2xlOn_2xl:"pf-m-column-gap-2xl-on-2xl",rowGap_2xlOn_2xl:"pf-m-row-gap-2xl-on-2xl",columnGap_3xlOn_2xl:"pf-m-column-gap-3xl-on-2xl",rowGap_3xlOn_2xl:"pf-m-row-gap-3xl-on-2xl",columnGap_4xlOn_2xl:"pf-m-column-gap-4xl-on-2xl",rowGap_4xlOn_2xl:"pf-m-row-gap-4xl-on-2xl",showOn_2xl:"pf-m-show-on-2xl",hideOn_2xl:"pf-m-hide-on-2xl"},pagination:"pf-v6-c-pagination",themeGlass:"pf-v6-theme-glass",toolbar:"pf-v6-c-toolbar",toolbarContent:"pf-v6-c-toolbar__content",toolbarContentSection:"pf-v6-c-toolbar__content-section",toolbarExpandAllIcon:"pf-v6-c-toolbar__expand-all-icon",toolbarExpandableContent:"pf-v6-c-toolbar__expandable-content",toolbarGroup:"pf-v6-c-toolbar__group",toolbarItem:"pf-v6-c-toolbar__item",toolbarToggle:"pf-v6-c-toolbar__toggle"};var x1=w(Oe());var fC=x1.createContext({isExpanded:!1,toggleIsExpanded:()=>{},labelGroupContentRef:null,updateNumberFilters:()=>{},numberOfFilters:0,clearAllFilters:()=>{}}),VL=x1.createContext({expandableContentRef:null,expandableContentId:"",labelContainerRef:null,clearAllFilters:()=>{}}),GL={md:parseInt(WI.value)*16,lg:parseInt(ZI.value)*16,xl:parseInt(fp.value)*16,"2xl":parseInt(KI.value)*16};var Yc=w(X()),$L=w(Oe());var uC=w(X());var dC;(function(n){n.separator="separator",n.pagination="pagination",n.label="label",n["label-group"]="label-group",n["expand-all"]="expand-all"})(dC||(dC={}));var Mu=(n)=>{var{className:r,variant:a,visibility:l,visibilityAtHeight:f,gap:u,columnGap:p,rowGap:h,rowWrap:b,align:x,alignSelf:y,alignItems:_,id:v,children:I,isAllExpanded:O,isOverflowContainer:A,role:D}=n,k=E(n,["className","variant","visibility","visibilityAtHeight","gap","columnGap","rowGap","rowWrap","align","alignSelf","alignItems","id","children","isAllExpanded","isOverflowContainer","role"]);if(a===dC.separator){let z=D==="separator"||D==="presentation";return uC.jsx(Gc,Object.assign({className:S(r),orientation:{default:"vertical"}},k,z&&{role:D}))}return uC.jsx(ro.Consumer,{children:({width:z,getBreakpoint:M,height:V,getVerticalBreakpoint:G})=>uC.jsx("div",Object.assign({className:S($e.toolbarItem,a&&$e.modifiers[cu(a)],a===dC["label-group"]&&$e.modifiers.labelGroup,O&&$e.modifiers.expanded,A&&$e.modifiers.overflowContainer,ze(l,$e,"",M(z)),ze(f,$e,"",G(V),!0),ze(x,$e,"",M(z)),ze(u,$e,"",M(z)),ze(p,$e,"",M(z)),ze(h,$e,"",M(z)),ze(b,$e,"",M(z)),_==="start"&&$e.modifiers.alignItemsStart,_==="center"&&$e.modifiers.alignItemsCenter,_==="baseline"&&$e.modifiers.alignItemsBaseline,y==="start"&&$e.modifiers.alignSelfStart,y==="center"&&$e.modifiers.alignSelfCenter,y==="baseline"&&$e.modifiers.alignSelfBaseline,r)},a==="label"&&{"aria-hidden":!0},{id:v,role:D},k,{children:I}))})};Mu.displayName="ToolbarItem";var pC=w(X()),mC=w(Oe());var XL;(function(n){n["filter-group"]="filter-group",n["action-group"]="action-group",n["action-group-inline"]="action-group-inline",n["action-group-plain"]="action-group-plain",n["label-group"]="label-group"})(XL||(XL={}));class qL extends mC.Component{render(){let n=this.props,{visibility:r,visibilityAtHeight:a,align:l,alignItems:f,alignSelf:u,gap:p,columnGap:h,rowGap:b,rowWrap:x,className:y,variant:_,children:v,isOverflowContainer:I,innerRef:O}=n,A=E(n,["visibility","visibilityAtHeight","align","alignItems","alignSelf","gap","columnGap","rowGap","rowWrap","className","variant","children","isOverflowContainer","innerRef"]);return pC.jsx(ro.Consumer,{children:({width:D,getBreakpoint:k,height:z,getVerticalBreakpoint:M})=>pC.jsx("div",Object.assign({className:S($e.toolbarGroup,_&&$e.modifiers[cu(_)],ze(r,$e,"",k(D)),ze(a,$e,"",M(z),!0),ze(l,$e,"",k(D)),ze(p,$e,"",k(D)),ze(h,$e,"",k(D)),ze(b,$e,"",k(D)),ze(x,$e,"",k(D)),f==="start"&&$e.modifiers.alignItemsStart,f==="center"&&$e.modifiers.alignItemsCenter,f==="baseline"&&$e.modifiers.alignItemsBaseline,u==="start"&&$e.modifiers.alignSelfStart,u==="center"&&$e.modifiers.alignSelfCenter,u==="baseline"&&$e.modifiers.alignSelfBaseline,I&&$e.modifiers.overflowContainer,y)},A,{ref:O,children:v}))})}}var jg=mC.forwardRef((n,r)=>pC.jsx(qL,Object.assign({},n,{innerRef:r})));class Fg extends $L.Component{constructor(){super(...arguments);this.state={viewportWidth:1200},this.handleResize=()=>{this.setState({viewportWidth:window.innerWidth})}}componentDidMount(){this.handleResize(),window.addEventListener("resize",this.handleResize)}componentWillUnmount(){window.removeEventListener("resize",this.handleResize)}render(){let n=this.props,{className:r,isExpanded:a,labelGroupContentRef:l,clearAllFilters:f,showClearFiltersButton:u,clearFiltersButtonText:p,collapseListedFiltersBreakpoint:h,numberOfFilters:b,numberOfFiltersText:x,customLabelGroupContent:y}=n,_=E(n,["className","isExpanded","labelGroupContentRef","clearAllFilters","showClearFiltersButton","clearFiltersButtonText","collapseListedFiltersBreakpoint","numberOfFilters","numberOfFiltersText","customLabelGroupContent"]),v=()=>{f()},I=!1;if(h==="all")I=!0;else if(h)I=this.state.viewportWidth<GL[h];let O=b===0||a,A=I&&b>0&&!a,D=u&&!a&&!y;return Yc.jsxs("div",Object.assign({className:S($e.toolbarContent,O&&$e.modifiers.hidden,r)},(b===0||a)&&{hidden:!0},{ref:l},_,{children:[Yc.jsx(jg,Object.assign({className:S(I&&$e.modifiers.hidden)},I&&{hidden:!0},I&&{"aria-hidden":!0})),(A||D||y)&&Yc.jsxs(jg,{variant:"action-group-inline",children:[A&&Yc.jsx(Mu,{children:x(b)}),D&&Yc.jsx(Mu,{children:Yc.jsx(Le,{variant:"link",onClick:v,isInline:!0,children:p})}),y&&y]})]}))}}Fg.displayName="ToolbarLabelGroupContent";Fg.defaultProps={clearFiltersButtonText:"Clear all filters",collapseListedFiltersBreakpoint:"lg",numberOfFiltersText:(n)=>`${n} filters applied`};var I1;(function(n){n.default="default",n.primary="primary",n.secondary="secondary",n.noBackground="no-background"})(I1||(I1={}));class Hg extends hC.Component{constructor(){super(...arguments);this.labelGroupContentRef=hC.createRef(),this.staticFilterInfo={},this.hasNoPadding=!1,this.state={isManagedToggleExpanded:!1,filterInfo:{},windowWidth:1200},this.isToggleManaged=()=>!(this.props.isExpanded||!!this.props.toggleIsExpanded),this.toggleIsExpanded=()=>{this.setState((n)=>({isManagedToggleExpanded:!n.isManagedToggleExpanded}))},this.closeExpandableContent=(n)=>{if(n.target.innerWidth!==this.state.windowWidth)this.setState(()=>({isManagedToggleExpanded:!1,windowWidth:n.target.innerWidth}))},this.updateNumberFilters=(n,r)=>{let a=Object.assign({},this.staticFilterInfo);if(!a.hasOwnProperty(n)||a[n]!==r)a[n]=r,this.staticFilterInfo=a,this.setState({filterInfo:a})},this.getNumberOfFilters=()=>Object.values(this.state.filterInfo).reduce((n,r)=>n+r,0),this.renderToolbar=(n,r)=>{let a=this.props,{hasNoPadding:l,clearAllFilters:f,clearFiltersButtonText:u,collapseListedFiltersBreakpoint:p,isExpanded:h,toggleIsExpanded:b,className:x,children:y,isFullHeight:_,isStatic:v,isStickyBase:I,isStickyStuck:O,inset:A,isSticky:D,isVertical:k,ouiaId:z,numberOfFiltersText:M,customLabelGroupContent:V,colorVariant:G=I1.default}=a,K=E(a,["hasNoPadding","clearAllFilters","clearFiltersButtonText","collapseListedFiltersBreakpoint","isExpanded","toggleIsExpanded","className","children","isFullHeight","isStatic","isStickyBase","isStickyStuck","inset","isSticky","isVertical","ouiaId","numberOfFiltersText","customLabelGroupContent","colorVariant"]),{isManagedToggleExpanded:ie}=this.state,re=this.isToggleManaged(),de=re?ie:h,J=this.getNumberOfFilters(),Ce=J>0;return Uu.jsx(ro.Consumer,{children:({width:Q,getBreakpoint:L})=>Uu.jsx("div",Object.assign({className:S($e.toolbar,l&&$e.modifiers.noPadding,_&&$e.modifiers.fullHeight,v&&$e.modifiers.static,D&&$e.modifiers.sticky,I&&$e.modifiers.stickyBase,O&&$e.modifiers.stickyStuck,k&&$e.modifiers.vertical,ze(A,$e,"",L(Q)),G==="primary"&&$e.modifiers.primary,G==="secondary"&&$e.modifiers.secondary,G==="no-background"&&$e.modifiers.noBackground,x),id:n},fn(Hg.displayName,z!==void 0?z:r),K,{children:Uu.jsxs(fC.Provider,{value:{isExpanded:de,toggleIsExpanded:re?this.toggleIsExpanded:b,labelGroupContentRef:this.labelGroupContentRef,updateNumberFilters:this.updateNumberFilters,numberOfFilters:J,clearAllFilters:f,clearFiltersButtonText:u,showClearFiltersButton:Ce,toolbarId:n,customLabelGroupContent:V},children:[y,Uu.jsx(Fg,{isExpanded:de,labelGroupContentRef:this.labelGroupContentRef,clearAllFilters:f,showClearFiltersButton:Ce,clearFiltersButtonText:u,numberOfFilters:J,numberOfFiltersText:M,collapseListedFiltersBreakpoint:p,customLabelGroupContent:V})]})}))})}}componentDidMount(){if(Fn)this.setState({windowWidth:window.innerWidth});if(this.isToggleManaged()&&Fn)window.addEventListener("resize",this.closeExpandableContent)}componentWillUnmount(){if(this.isToggleManaged()&&Fn)window.removeEventListener("resize",this.closeExpandableContent)}render(){return Uu.jsx(Hn,{prefix:"pf-random-id-",ouiaComponentType:"Toolbar",children:(n,r)=>this.renderToolbar(this.props.id||n,r)})}}Hg.displayName="Toolbar";var Vp=w(X()),zg=w(Oe());class Nu extends zg.Component{constructor(){super(...arguments);this.expandableContentRef=zg.createRef(),this.labelContainerRef=zg.createRef()}render(){let n=this.props,{className:r,children:a,isExpanded:l,toolbarId:f,visibility:u,visibilityAtHeight:p,rowWrap:h,alignItems:b,clearAllFilters:x,showClearFiltersButton:y,clearFiltersButtonText:_}=n,v=E(n,["className","children","isExpanded","toolbarId","visibility","visibilityAtHeight","rowWrap","alignItems","clearAllFilters","showClearFiltersButton","clearFiltersButtonText"]);return Vp.jsx(ro.Consumer,{children:({width:I,getBreakpoint:O,height:A,getVerticalBreakpoint:D})=>Vp.jsx("div",Object.assign({className:S($e.toolbarContent,ze(u,$e,"",O(I)),ze(p,$e,"",D(A),!0),r),ref:this.expandableContentRef},v,{children:Vp.jsx(fC.Consumer,{children:({clearAllFilters:k,clearFiltersButtonText:z,showClearFiltersButton:M,isExpanded:V,toolbarId:G})=>{let K=`${f||G}-expandable-content-${Nu.currentId++}`;return Vp.jsx(VL.Provider,{value:{expandableContentRef:this.expandableContentRef,expandableContentId:K,labelContainerRef:this.labelContainerRef,isExpanded:l||V,clearAllFilters:x||k,clearFiltersButtonText:_||z,showClearFiltersButton:y||M},children:Vp.jsx("div",{className:S($e.toolbarContentSection,ze(h,$e,"",O(I)),b==="center"&&$e.modifiers.alignItemsCenter,b==="start"&&$e.modifiers.alignItemsStart,b==="baseline"&&$e.modifiers.alignItemsBaseline),children:a})})}})}))})}}Nu.displayName="ToolbarContent";Nu.currentId=0;Nu.defaultProps={isExpanded:!1,showClearFiltersButton:!1};var YL=w(X());var Vg=(n)=>{var{children:r=null,className:a="",component:l="div"}=n,f=E(n,["children","className","component"]);return YL.jsx(l,Object.assign({className:S(Iv.bullseye,a)},f,{children:r}))};Vg.displayName="Bullseye";var ZL=w(X());var dn={flex:"pf-v6-l-flex",modifiers:{flex:"pf-m-flex",inlineFlex:"pf-m-inline-flex",column:"pf-m-column",columnReverse:"pf-m-column-reverse",row:"pf-m-row",rowReverse:"pf-m-row-reverse",wrap:"pf-m-wrap",wrapReverse:"pf-m-wrap-reverse",nowrap:"pf-m-nowrap",justifyContentFlexStart:"pf-m-justify-content-flex-start",justifyContentFlexEnd:"pf-m-justify-content-flex-end",justifyContentCenter:"pf-m-justify-content-center",justifyContentSpaceBetween:"pf-m-justify-content-space-between",justifyContentSpaceAround:"pf-m-justify-content-space-around",justifyContentSpaceEvenly:"pf-m-justify-content-space-evenly",alignItemsFlexStart:"pf-m-align-items-flex-start",alignItemsFlexEnd:"pf-m-align-items-flex-end",alignItemsCenter:"pf-m-align-items-center",alignItemsStretch:"pf-m-align-items-stretch",alignItemsBaseline:"pf-m-align-items-baseline",alignContentFlexStart:"pf-m-align-content-flex-start",alignContentFlexEnd:"pf-m-align-content-flex-end",alignContentCenter:"pf-m-align-content-center",alignContentStretch:"pf-m-align-content-stretch",alignContentSpaceBetween:"pf-m-align-content-space-between",alignContentSpaceAround:"pf-m-align-content-space-around",alignRight:"pf-m-align-right",alignLeft:"pf-m-align-left",grow:"pf-m-grow",shrink:"pf-m-shrink",fullWidth:"pf-m-full-width",flex_1:"pf-m-flex-1",flex_2:"pf-m-flex-2",flex_3:"pf-m-flex-3",flex_4:"pf-m-flex-4",flexDefault:"pf-m-flex-default",flexNone:"pf-m-flex-none",alignSelfFlexStart:"pf-m-align-self-flex-start",alignSelfFlexEnd:"pf-m-align-self-flex-end",alignSelfCenter:"pf-m-align-self-center",alignSelfBaseline:"pf-m-align-self-baseline",alignSelfStretch:"pf-m-align-self-stretch",flexOnSm:"pf-m-flex-on-sm",inlineFlexOnSm:"pf-m-inline-flex-on-sm",columnOnSm:"pf-m-column-on-sm",columnReverseOnSm:"pf-m-column-reverse-on-sm",rowOnSm:"pf-m-row-on-sm",rowReverseOnSm:"pf-m-row-reverse-on-sm",wrapOnSm:"pf-m-wrap-on-sm",wrapReverseOnSm:"pf-m-wrap-reverse-on-sm",nowrapOnSm:"pf-m-nowrap-on-sm",justifyContentFlexStartOnSm:"pf-m-justify-content-flex-start-on-sm",justifyContentFlexEndOnSm:"pf-m-justify-content-flex-end-on-sm",justifyContentCenterOnSm:"pf-m-justify-content-center-on-sm",justifyContentSpaceBetweenOnSm:"pf-m-justify-content-space-between-on-sm",justifyContentSpaceAroundOnSm:"pf-m-justify-content-space-around-on-sm",justifyContentSpaceEvenlyOnSm:"pf-m-justify-content-space-evenly-on-sm",alignItemsFlexStartOnSm:"pf-m-align-items-flex-start-on-sm",alignItemsFlexEndOnSm:"pf-m-align-items-flex-end-on-sm",alignItemsCenterOnSm:"pf-m-align-items-center-on-sm",alignItemsStretchOnSm:"pf-m-align-items-stretch-on-sm",alignItemsBaselineOnSm:"pf-m-align-items-baseline-on-sm",alignContentFlexStartOnSm:"pf-m-align-content-flex-start-on-sm",alignContentFlexEndOnSm:"pf-m-align-content-flex-end-on-sm",alignContentCenterOnSm:"pf-m-align-content-center-on-sm",alignContentStretchOnSm:"pf-m-align-content-stretch-on-sm",alignContentSpaceBetweenOnSm:"pf-m-align-content-space-between-on-sm",alignContentSpaceAroundOnSm:"pf-m-align-content-space-around-on-sm",alignRightOnSm:"pf-m-align-right-on-sm",alignLeftOnSm:"pf-m-align-left-on-sm",growOnSm:"pf-m-grow-on-sm",shrinkOnSm:"pf-m-shrink-on-sm",fullWidthOnSm:"pf-m-full-width-on-sm",flex_1OnSm:"pf-m-flex-1-on-sm",flex_2OnSm:"pf-m-flex-2-on-sm",flex_3OnSm:"pf-m-flex-3-on-sm",flex_4OnSm:"pf-m-flex-4-on-sm",flexDefaultOnSm:"pf-m-flex-default-on-sm",flexNoneOnSm:"pf-m-flex-none-on-sm",alignSelfFlexStartOnSm:"pf-m-align-self-flex-start-on-sm",alignSelfFlexEndOnSm:"pf-m-align-self-flex-end-on-sm",alignSelfCenterOnSm:"pf-m-align-self-center-on-sm",alignSelfBaselineOnSm:"pf-m-align-self-baseline-on-sm",alignSelfStretchOnSm:"pf-m-align-self-stretch-on-sm",flexOnMd:"pf-m-flex-on-md",inlineFlexOnMd:"pf-m-inline-flex-on-md",columnOnMd:"pf-m-column-on-md",columnReverseOnMd:"pf-m-column-reverse-on-md",rowOnMd:"pf-m-row-on-md",rowReverseOnMd:"pf-m-row-reverse-on-md",wrapOnMd:"pf-m-wrap-on-md",wrapReverseOnMd:"pf-m-wrap-reverse-on-md",nowrapOnMd:"pf-m-nowrap-on-md",justifyContentFlexStartOnMd:"pf-m-justify-content-flex-start-on-md",justifyContentFlexEndOnMd:"pf-m-justify-content-flex-end-on-md",justifyContentCenterOnMd:"pf-m-justify-content-center-on-md",justifyContentSpaceBetweenOnMd:"pf-m-justify-content-space-between-on-md",justifyContentSpaceAroundOnMd:"pf-m-justify-content-space-around-on-md",justifyContentSpaceEvenlyOnMd:"pf-m-justify-content-space-evenly-on-md",alignItemsFlexStartOnMd:"pf-m-align-items-flex-start-on-md",alignItemsFlexEndOnMd:"pf-m-align-items-flex-end-on-md",alignItemsCenterOnMd:"pf-m-align-items-center-on-md",alignItemsStretchOnMd:"pf-m-align-items-stretch-on-md",alignItemsBaselineOnMd:"pf-m-align-items-baseline-on-md",alignContentFlexStartOnMd:"pf-m-align-content-flex-start-on-md",alignContentFlexEndOnMd:"pf-m-align-content-flex-end-on-md",alignContentCenterOnMd:"pf-m-align-content-center-on-md",alignContentStretchOnMd:"pf-m-align-content-stretch-on-md",alignContentSpaceBetweenOnMd:"pf-m-align-content-space-between-on-md",alignContentSpaceAroundOnMd:"pf-m-align-content-space-around-on-md",alignRightOnMd:"pf-m-align-right-on-md",alignLeftOnMd:"pf-m-align-left-on-md",growOnMd:"pf-m-grow-on-md",shrinkOnMd:"pf-m-shrink-on-md",fullWidthOnMd:"pf-m-full-width-on-md",flex_1OnMd:"pf-m-flex-1-on-md",flex_2OnMd:"pf-m-flex-2-on-md",flex_3OnMd:"pf-m-flex-3-on-md",flex_4OnMd:"pf-m-flex-4-on-md",flexDefaultOnMd:"pf-m-flex-default-on-md",flexNoneOnMd:"pf-m-flex-none-on-md",alignSelfFlexStartOnMd:"pf-m-align-self-flex-start-on-md",alignSelfFlexEndOnMd:"pf-m-align-self-flex-end-on-md",alignSelfCenterOnMd:"pf-m-align-self-center-on-md",alignSelfBaselineOnMd:"pf-m-align-self-baseline-on-md",alignSelfStretchOnMd:"pf-m-align-self-stretch-on-md",flexOnLg:"pf-m-flex-on-lg",inlineFlexOnLg:"pf-m-inline-flex-on-lg",columnOnLg:"pf-m-column-on-lg",columnReverseOnLg:"pf-m-column-reverse-on-lg",rowOnLg:"pf-m-row-on-lg",rowReverseOnLg:"pf-m-row-reverse-on-lg",wrapOnLg:"pf-m-wrap-on-lg",wrapReverseOnLg:"pf-m-wrap-reverse-on-lg",nowrapOnLg:"pf-m-nowrap-on-lg",justifyContentFlexStartOnLg:"pf-m-justify-content-flex-start-on-lg",justifyContentFlexEndOnLg:"pf-m-justify-content-flex-end-on-lg",justifyContentCenterOnLg:"pf-m-justify-content-center-on-lg",justifyContentSpaceBetweenOnLg:"pf-m-justify-content-space-between-on-lg",justifyContentSpaceAroundOnLg:"pf-m-justify-content-space-around-on-lg",justifyContentSpaceEvenlyOnLg:"pf-m-justify-content-space-evenly-on-lg",alignItemsFlexStartOnLg:"pf-m-align-items-flex-start-on-lg",alignItemsFlexEndOnLg:"pf-m-align-items-flex-end-on-lg",alignItemsCenterOnLg:"pf-m-align-items-center-on-lg",alignItemsStretchOnLg:"pf-m-align-items-stretch-on-lg",alignItemsBaselineOnLg:"pf-m-align-items-baseline-on-lg",alignContentFlexStartOnLg:"pf-m-align-content-flex-start-on-lg",alignContentFlexEndOnLg:"pf-m-align-content-flex-end-on-lg",alignContentCenterOnLg:"pf-m-align-content-center-on-lg",alignContentStretchOnLg:"pf-m-align-content-stretch-on-lg",alignContentSpaceBetweenOnLg:"pf-m-align-content-space-between-on-lg",alignContentSpaceAroundOnLg:"pf-m-align-content-space-around-on-lg",alignRightOnLg:"pf-m-align-right-on-lg",alignLeftOnLg:"pf-m-align-left-on-lg",growOnLg:"pf-m-grow-on-lg",shrinkOnLg:"pf-m-shrink-on-lg",fullWidthOnLg:"pf-m-full-width-on-lg",flex_1OnLg:"pf-m-flex-1-on-lg",flex_2OnLg:"pf-m-flex-2-on-lg",flex_3OnLg:"pf-m-flex-3-on-lg",flex_4OnLg:"pf-m-flex-4-on-lg",flexDefaultOnLg:"pf-m-flex-default-on-lg",flexNoneOnLg:"pf-m-flex-none-on-lg",alignSelfFlexStartOnLg:"pf-m-align-self-flex-start-on-lg",alignSelfFlexEndOnLg:"pf-m-align-self-flex-end-on-lg",alignSelfCenterOnLg:"pf-m-align-self-center-on-lg",alignSelfBaselineOnLg:"pf-m-align-self-baseline-on-lg",alignSelfStretchOnLg:"pf-m-align-self-stretch-on-lg",flexOnXl:"pf-m-flex-on-xl",inlineFlexOnXl:"pf-m-inline-flex-on-xl",columnOnXl:"pf-m-column-on-xl",columnReverseOnXl:"pf-m-column-reverse-on-xl",rowOnXl:"pf-m-row-on-xl",rowReverseOnXl:"pf-m-row-reverse-on-xl",wrapOnXl:"pf-m-wrap-on-xl",wrapReverseOnXl:"pf-m-wrap-reverse-on-xl",nowrapOnXl:"pf-m-nowrap-on-xl",justifyContentFlexStartOnXl:"pf-m-justify-content-flex-start-on-xl",justifyContentFlexEndOnXl:"pf-m-justify-content-flex-end-on-xl",justifyContentCenterOnXl:"pf-m-justify-content-center-on-xl",justifyContentSpaceBetweenOnXl:"pf-m-justify-content-space-between-on-xl",justifyContentSpaceAroundOnXl:"pf-m-justify-content-space-around-on-xl",justifyContentSpaceEvenlyOnXl:"pf-m-justify-content-space-evenly-on-xl",alignItemsFlexStartOnXl:"pf-m-align-items-flex-start-on-xl",alignItemsFlexEndOnXl:"pf-m-align-items-flex-end-on-xl",alignItemsCenterOnXl:"pf-m-align-items-center-on-xl",alignItemsStretchOnXl:"pf-m-align-items-stretch-on-xl",alignItemsBaselineOnXl:"pf-m-align-items-baseline-on-xl",alignContentFlexStartOnXl:"pf-m-align-content-flex-start-on-xl",alignContentFlexEndOnXl:"pf-m-align-content-flex-end-on-xl",alignContentCenterOnXl:"pf-m-align-content-center-on-xl",alignContentStretchOnXl:"pf-m-align-content-stretch-on-xl",alignContentSpaceBetweenOnXl:"pf-m-align-content-space-between-on-xl",alignContentSpaceAroundOnXl:"pf-m-align-content-space-around-on-xl",alignRightOnXl:"pf-m-align-right-on-xl",alignLeftOnXl:"pf-m-align-left-on-xl",growOnXl:"pf-m-grow-on-xl",shrinkOnXl:"pf-m-shrink-on-xl",fullWidthOnXl:"pf-m-full-width-on-xl",flex_1OnXl:"pf-m-flex-1-on-xl",flex_2OnXl:"pf-m-flex-2-on-xl",flex_3OnXl:"pf-m-flex-3-on-xl",flex_4OnXl:"pf-m-flex-4-on-xl",flexDefaultOnXl:"pf-m-flex-default-on-xl",flexNoneOnXl:"pf-m-flex-none-on-xl",alignSelfFlexStartOnXl:"pf-m-align-self-flex-start-on-xl",alignSelfFlexEndOnXl:"pf-m-align-self-flex-end-on-xl",alignSelfCenterOnXl:"pf-m-align-self-center-on-xl",alignSelfBaselineOnXl:"pf-m-align-self-baseline-on-xl",alignSelfStretchOnXl:"pf-m-align-self-stretch-on-xl",flexOn_2xl:"pf-m-flex-on-2xl",inlineFlexOn_2xl:"pf-m-inline-flex-on-2xl",columnOn_2xl:"pf-m-column-on-2xl",columnReverseOn_2xl:"pf-m-column-reverse-on-2xl",rowOn_2xl:"pf-m-row-on-2xl",rowReverseOn_2xl:"pf-m-row-reverse-on-2xl",wrapOn_2xl:"pf-m-wrap-on-2xl",wrapReverseOn_2xl:"pf-m-wrap-reverse-on-2xl",nowrapOn_2xl:"pf-m-nowrap-on-2xl",justifyContentFlexStartOn_2xl:"pf-m-justify-content-flex-start-on-2xl",justifyContentFlexEndOn_2xl:"pf-m-justify-content-flex-end-on-2xl",justifyContentCenterOn_2xl:"pf-m-justify-content-center-on-2xl",justifyContentSpaceBetweenOn_2xl:"pf-m-justify-content-space-between-on-2xl",justifyContentSpaceAroundOn_2xl:"pf-m-justify-content-space-around-on-2xl",justifyContentSpaceEvenlyOn_2xl:"pf-m-justify-content-space-evenly-on-2xl",alignItemsFlexStartOn_2xl:"pf-m-align-items-flex-start-on-2xl",alignItemsFlexEndOn_2xl:"pf-m-align-items-flex-end-on-2xl",alignItemsCenterOn_2xl:"pf-m-align-items-center-on-2xl",alignItemsStretchOn_2xl:"pf-m-align-items-stretch-on-2xl",alignItemsBaselineOn_2xl:"pf-m-align-items-baseline-on-2xl",alignContentFlexStartOn_2xl:"pf-m-align-content-flex-start-on-2xl",alignContentFlexEndOn_2xl:"pf-m-align-content-flex-end-on-2xl",alignContentCenterOn_2xl:"pf-m-align-content-center-on-2xl",alignContentStretchOn_2xl:"pf-m-align-content-stretch-on-2xl",alignContentSpaceBetweenOn_2xl:"pf-m-align-content-space-between-on-2xl",alignContentSpaceAroundOn_2xl:"pf-m-align-content-space-around-on-2xl",alignRightOn_2xl:"pf-m-align-right-on-2xl",alignLeftOn_2xl:"pf-m-align-left-on-2xl",growOn_2xl:"pf-m-grow-on-2xl",shrinkOn_2xl:"pf-m-shrink-on-2xl",fullWidthOn_2xl:"pf-m-full-width-on-2xl",flex_1On_2xl:"pf-m-flex-1-on-2xl",flex_2On_2xl:"pf-m-flex-2-on-2xl",flex_3On_2xl:"pf-m-flex-3-on-2xl",flex_4On_2xl:"pf-m-flex-4-on-2xl",flexDefaultOn_2xl:"pf-m-flex-default-on-2xl",flexNoneOn_2xl:"pf-m-flex-none-on-2xl",alignSelfFlexStartOn_2xl:"pf-m-align-self-flex-start-on-2xl",alignSelfFlexEndOn_2xl:"pf-m-align-self-flex-end-on-2xl",alignSelfCenterOn_2xl:"pf-m-align-self-center-on-2xl",alignSelfBaselineOn_2xl:"pf-m-align-self-baseline-on-2xl",alignSelfStretchOn_2xl:"pf-m-align-self-stretch-on-2xl",spaceItemsNone:"pf-m-space-items-none",spaceItemsXs:"pf-m-space-items-xs",spaceItemsSm:"pf-m-space-items-sm",spaceItemsMd:"pf-m-space-items-md",spaceItemsLg:"pf-m-space-items-lg",spaceItemsXl:"pf-m-space-items-xl",spaceItems_2xl:"pf-m-space-items-2xl",spaceItems_3xl:"pf-m-space-items-3xl",spaceItems_4xl:"pf-m-space-items-4xl",spaceItemsNoneOnSm:"pf-m-space-items-none-on-sm",spaceItemsXsOnSm:"pf-m-space-items-xs-on-sm",spaceItemsSmOnSm:"pf-m-space-items-sm-on-sm",spaceItemsMdOnSm:"pf-m-space-items-md-on-sm",spaceItemsLgOnSm:"pf-m-space-items-lg-on-sm",spaceItemsXlOnSm:"pf-m-space-items-xl-on-sm",spaceItems_2xlOnSm:"pf-m-space-items-2xl-on-sm",spaceItems_3xlOnSm:"pf-m-space-items-3xl-on-sm",spaceItems_4xlOnSm:"pf-m-space-items-4xl-on-sm",spaceItemsNoneOnMd:"pf-m-space-items-none-on-md",spaceItemsXsOnMd:"pf-m-space-items-xs-on-md",spaceItemsSmOnMd:"pf-m-space-items-sm-on-md",spaceItemsMdOnMd:"pf-m-space-items-md-on-md",spaceItemsLgOnMd:"pf-m-space-items-lg-on-md",spaceItemsXlOnMd:"pf-m-space-items-xl-on-md",spaceItems_2xlOnMd:"pf-m-space-items-2xl-on-md",spaceItems_3xlOnMd:"pf-m-space-items-3xl-on-md",spaceItems_4xlOnMd:"pf-m-space-items-4xl-on-md",spaceItemsNoneOnLg:"pf-m-space-items-none-on-lg",spaceItemsXsOnLg:"pf-m-space-items-xs-on-lg",spaceItemsSmOnLg:"pf-m-space-items-sm-on-lg",spaceItemsMdOnLg:"pf-m-space-items-md-on-lg",spaceItemsLgOnLg:"pf-m-space-items-lg-on-lg",spaceItemsXlOnLg:"pf-m-space-items-xl-on-lg",spaceItems_2xlOnLg:"pf-m-space-items-2xl-on-lg",spaceItems_3xlOnLg:"pf-m-space-items-3xl-on-lg",spaceItems_4xlOnLg:"pf-m-space-items-4xl-on-lg",spaceItemsNoneOnXl:"pf-m-space-items-none-on-xl",spaceItemsXsOnXl:"pf-m-space-items-xs-on-xl",spaceItemsSmOnXl:"pf-m-space-items-sm-on-xl",spaceItemsMdOnXl:"pf-m-space-items-md-on-xl",spaceItemsLgOnXl:"pf-m-space-items-lg-on-xl",spaceItemsXlOnXl:"pf-m-space-items-xl-on-xl",spaceItems_2xlOnXl:"pf-m-space-items-2xl-on-xl",spaceItems_3xlOnXl:"pf-m-space-items-3xl-on-xl",spaceItems_4xlOnXl:"pf-m-space-items-4xl-on-xl",spaceItemsNoneOn_2xl:"pf-m-space-items-none-on-2xl",spaceItemsXsOn_2xl:"pf-m-space-items-xs-on-2xl",spaceItemsSmOn_2xl:"pf-m-space-items-sm-on-2xl",spaceItemsMdOn_2xl:"pf-m-space-items-md-on-2xl",spaceItemsLgOn_2xl:"pf-m-space-items-lg-on-2xl",spaceItemsXlOn_2xl:"pf-m-space-items-xl-on-2xl",spaceItems_2xlOn_2xl:"pf-m-space-items-2xl-on-2xl",spaceItems_3xlOn_2xl:"pf-m-space-items-3xl-on-2xl",spaceItems_4xlOn_2xl:"pf-m-space-items-4xl-on-2xl",spacerNone:"pf-m-spacer-none",spacerXs:"pf-m-spacer-xs",spacerSm:"pf-m-spacer-sm",spacerMd:"pf-m-spacer-md",spacerLg:"pf-m-spacer-lg",spacerXl:"pf-m-spacer-xl",spacer_2xl:"pf-m-spacer-2xl",spacer_3xl:"pf-m-spacer-3xl",spacer_4xl:"pf-m-spacer-4xl",spacerNoneOnSm:"pf-m-spacer-none-on-sm",spacerXsOnSm:"pf-m-spacer-xs-on-sm",spacerSmOnSm:"pf-m-spacer-sm-on-sm",spacerMdOnSm:"pf-m-spacer-md-on-sm",spacerLgOnSm:"pf-m-spacer-lg-on-sm",spacerXlOnSm:"pf-m-spacer-xl-on-sm",spacer_2xlOnSm:"pf-m-spacer-2xl-on-sm",spacer_3xlOnSm:"pf-m-spacer-3xl-on-sm",spacer_4xlOnSm:"pf-m-spacer-4xl-on-sm",spacerNoneOnMd:"pf-m-spacer-none-on-md",spacerXsOnMd:"pf-m-spacer-xs-on-md",spacerSmOnMd:"pf-m-spacer-sm-on-md",spacerMdOnMd:"pf-m-spacer-md-on-md",spacerLgOnMd:"pf-m-spacer-lg-on-md",spacerXlOnMd:"pf-m-spacer-xl-on-md",spacer_2xlOnMd:"pf-m-spacer-2xl-on-md",spacer_3xlOnMd:"pf-m-spacer-3xl-on-md",spacer_4xlOnMd:"pf-m-spacer-4xl-on-md",spacerNoneOnLg:"pf-m-spacer-none-on-lg",spacerXsOnLg:"pf-m-spacer-xs-on-lg",spacerSmOnLg:"pf-m-spacer-sm-on-lg",spacerMdOnLg:"pf-m-spacer-md-on-lg",spacerLgOnLg:"pf-m-spacer-lg-on-lg",spacerXlOnLg:"pf-m-spacer-xl-on-lg",spacer_2xlOnLg:"pf-m-spacer-2xl-on-lg",spacer_3xlOnLg:"pf-m-spacer-3xl-on-lg",spacer_4xlOnLg:"pf-m-spacer-4xl-on-lg",spacerNoneOnXl:"pf-m-spacer-none-on-xl",spacerXsOnXl:"pf-m-spacer-xs-on-xl",spacerSmOnXl:"pf-m-spacer-sm-on-xl",spacerMdOnXl:"pf-m-spacer-md-on-xl",spacerLgOnXl:"pf-m-spacer-lg-on-xl",spacerXlOnXl:"pf-m-spacer-xl-on-xl",spacer_2xlOnXl:"pf-m-spacer-2xl-on-xl",spacer_3xlOnXl:"pf-m-spacer-3xl-on-xl",spacer_4xlOnXl:"pf-m-spacer-4xl-on-xl",spacerNoneOn_2xl:"pf-m-spacer-none-on-2xl",spacerXsOn_2xl:"pf-m-spacer-xs-on-2xl",spacerSmOn_2xl:"pf-m-spacer-sm-on-2xl",spacerMdOn_2xl:"pf-m-spacer-md-on-2xl",spacerLgOn_2xl:"pf-m-spacer-lg-on-2xl",spacerXlOn_2xl:"pf-m-spacer-xl-on-2xl",spacer_2xlOn_2xl:"pf-m-spacer-2xl-on-2xl",spacer_3xlOn_2xl:"pf-m-spacer-3xl-on-2xl",spacer_4xlOn_2xl:"pf-m-spacer-4xl-on-2xl",gap:"pf-m-gap",gapNone:"pf-m-gap-none",gapXs:"pf-m-gap-xs",gapSm:"pf-m-gap-sm",gapMd:"pf-m-gap-md",gapLg:"pf-m-gap-lg",gapXl:"pf-m-gap-xl",gap_2xl:"pf-m-gap-2xl",gap_3xl:"pf-m-gap-3xl",gap_4xl:"pf-m-gap-4xl",gapOnSm:"pf-m-gap-on-sm",gapNoneOnSm:"pf-m-gap-none-on-sm",gapXsOnSm:"pf-m-gap-xs-on-sm",gapSmOnSm:"pf-m-gap-sm-on-sm",gapMdOnSm:"pf-m-gap-md-on-sm",gapLgOnSm:"pf-m-gap-lg-on-sm",gapXlOnSm:"pf-m-gap-xl-on-sm",gap_2xlOnSm:"pf-m-gap-2xl-on-sm",gap_3xlOnSm:"pf-m-gap-3xl-on-sm",gap_4xlOnSm:"pf-m-gap-4xl-on-sm",gapOnMd:"pf-m-gap-on-md",gapNoneOnMd:"pf-m-gap-none-on-md",gapXsOnMd:"pf-m-gap-xs-on-md",gapSmOnMd:"pf-m-gap-sm-on-md",gapMdOnMd:"pf-m-gap-md-on-md",gapLgOnMd:"pf-m-gap-lg-on-md",gapXlOnMd:"pf-m-gap-xl-on-md",gap_2xlOnMd:"pf-m-gap-2xl-on-md",gap_3xlOnMd:"pf-m-gap-3xl-on-md",gap_4xlOnMd:"pf-m-gap-4xl-on-md",gapOnLg:"pf-m-gap-on-lg",gapNoneOnLg:"pf-m-gap-none-on-lg",gapXsOnLg:"pf-m-gap-xs-on-lg",gapSmOnLg:"pf-m-gap-sm-on-lg",gapMdOnLg:"pf-m-gap-md-on-lg",gapLgOnLg:"pf-m-gap-lg-on-lg",gapXlOnLg:"pf-m-gap-xl-on-lg",gap_2xlOnLg:"pf-m-gap-2xl-on-lg",gap_3xlOnLg:"pf-m-gap-3xl-on-lg",gap_4xlOnLg:"pf-m-gap-4xl-on-lg",gapOnXl:"pf-m-gap-on-xl",gapNoneOnXl:"pf-m-gap-none-on-xl",gapXsOnXl:"pf-m-gap-xs-on-xl",gapSmOnXl:"pf-m-gap-sm-on-xl",gapMdOnXl:"pf-m-gap-md-on-xl",gapLgOnXl:"pf-m-gap-lg-on-xl",gapXlOnXl:"pf-m-gap-xl-on-xl",gap_2xlOnXl:"pf-m-gap-2xl-on-xl",gap_3xlOnXl:"pf-m-gap-3xl-on-xl",gap_4xlOnXl:"pf-m-gap-4xl-on-xl",gapOn_2xl:"pf-m-gap-on-2xl",gapNoneOn_2xl:"pf-m-gap-none-on-2xl",gapXsOn_2xl:"pf-m-gap-xs-on-2xl",gapSmOn_2xl:"pf-m-gap-sm-on-2xl",gapMdOn_2xl:"pf-m-gap-md-on-2xl",gapLgOn_2xl:"pf-m-gap-lg-on-2xl",gapXlOn_2xl:"pf-m-gap-xl-on-2xl",gap_2xlOn_2xl:"pf-m-gap-2xl-on-2xl",gap_3xlOn_2xl:"pf-m-gap-3xl-on-2xl",gap_4xlOn_2xl:"pf-m-gap-4xl-on-2xl",rowGap:"pf-m-row-gap",rowGapNone:"pf-m-row-gap-none",rowGapXs:"pf-m-row-gap-xs",rowGapSm:"pf-m-row-gap-sm",rowGapMd:"pf-m-row-gap-md",rowGapLg:"pf-m-row-gap-lg",rowGapXl:"pf-m-row-gap-xl",rowGap_2xl:"pf-m-row-gap-2xl",rowGap_3xl:"pf-m-row-gap-3xl",rowGap_4xl:"pf-m-row-gap-4xl",rowGapOnSm:"pf-m-row-gap-on-sm",rowGapNoneOnSm:"pf-m-row-gap-none-on-sm",rowGapXsOnSm:"pf-m-row-gap-xs-on-sm",rowGapSmOnSm:"pf-m-row-gap-sm-on-sm",rowGapMdOnSm:"pf-m-row-gap-md-on-sm",rowGapLgOnSm:"pf-m-row-gap-lg-on-sm",rowGapXlOnSm:"pf-m-row-gap-xl-on-sm",rowGap_2xlOnSm:"pf-m-row-gap-2xl-on-sm",rowGap_3xlOnSm:"pf-m-row-gap-3xl-on-sm",rowGap_4xlOnSm:"pf-m-row-gap-4xl-on-sm",rowGapOnMd:"pf-m-row-gap-on-md",rowGapNoneOnMd:"pf-m-row-gap-none-on-md",rowGapXsOnMd:"pf-m-row-gap-xs-on-md",rowGapSmOnMd:"pf-m-row-gap-sm-on-md",rowGapMdOnMd:"pf-m-row-gap-md-on-md",rowGapLgOnMd:"pf-m-row-gap-lg-on-md",rowGapXlOnMd:"pf-m-row-gap-xl-on-md",rowGap_2xlOnMd:"pf-m-row-gap-2xl-on-md",rowGap_3xlOnMd:"pf-m-row-gap-3xl-on-md",rowGap_4xlOnMd:"pf-m-row-gap-4xl-on-md",rowGapOnLg:"pf-m-row-gap-on-lg",rowGapNoneOnLg:"pf-m-row-gap-none-on-lg",rowGapXsOnLg:"pf-m-row-gap-xs-on-lg",rowGapSmOnLg:"pf-m-row-gap-sm-on-lg",rowGapMdOnLg:"pf-m-row-gap-md-on-lg",rowGapLgOnLg:"pf-m-row-gap-lg-on-lg",rowGapXlOnLg:"pf-m-row-gap-xl-on-lg",rowGap_2xlOnLg:"pf-m-row-gap-2xl-on-lg",rowGap_3xlOnLg:"pf-m-row-gap-3xl-on-lg",rowGap_4xlOnLg:"pf-m-row-gap-4xl-on-lg",rowGapOnXl:"pf-m-row-gap-on-xl",rowGapNoneOnXl:"pf-m-row-gap-none-on-xl",rowGapXsOnXl:"pf-m-row-gap-xs-on-xl",rowGapSmOnXl:"pf-m-row-gap-sm-on-xl",rowGapMdOnXl:"pf-m-row-gap-md-on-xl",rowGapLgOnXl:"pf-m-row-gap-lg-on-xl",rowGapXlOnXl:"pf-m-row-gap-xl-on-xl",rowGap_2xlOnXl:"pf-m-row-gap-2xl-on-xl",rowGap_3xlOnXl:"pf-m-row-gap-3xl-on-xl",rowGap_4xlOnXl:"pf-m-row-gap-4xl-on-xl",rowGapOn_2xl:"pf-m-row-gap-on-2xl",rowGapNoneOn_2xl:"pf-m-row-gap-none-on-2xl",rowGapXsOn_2xl:"pf-m-row-gap-xs-on-2xl",rowGapSmOn_2xl:"pf-m-row-gap-sm-on-2xl",rowGapMdOn_2xl:"pf-m-row-gap-md-on-2xl",rowGapLgOn_2xl:"pf-m-row-gap-lg-on-2xl",rowGapXlOn_2xl:"pf-m-row-gap-xl-on-2xl",rowGap_2xlOn_2xl:"pf-m-row-gap-2xl-on-2xl",rowGap_3xlOn_2xl:"pf-m-row-gap-3xl-on-2xl",rowGap_4xlOn_2xl:"pf-m-row-gap-4xl-on-2xl",columnGap:"pf-m-column-gap",columnGapNone:"pf-m-column-gap-none",columnGapXs:"pf-m-column-gap-xs",columnGapSm:"pf-m-column-gap-sm",columnGapMd:"pf-m-column-gap-md",columnGapLg:"pf-m-column-gap-lg",columnGapXl:"pf-m-column-gap-xl",columnGap_2xl:"pf-m-column-gap-2xl",columnGap_3xl:"pf-m-column-gap-3xl",columnGap_4xl:"pf-m-column-gap-4xl",columnGapOnSm:"pf-m-column-gap-on-sm",columnGapNoneOnSm:"pf-m-column-gap-none-on-sm",columnGapXsOnSm:"pf-m-column-gap-xs-on-sm",columnGapSmOnSm:"pf-m-column-gap-sm-on-sm",columnGapMdOnSm:"pf-m-column-gap-md-on-sm",columnGapLgOnSm:"pf-m-column-gap-lg-on-sm",columnGapXlOnSm:"pf-m-column-gap-xl-on-sm",columnGap_2xlOnSm:"pf-m-column-gap-2xl-on-sm",columnGap_3xlOnSm:"pf-m-column-gap-3xl-on-sm",columnGap_4xlOnSm:"pf-m-column-gap-4xl-on-sm",columnGapOnMd:"pf-m-column-gap-on-md",columnGapNoneOnMd:"pf-m-column-gap-none-on-md",columnGapXsOnMd:"pf-m-column-gap-xs-on-md",columnGapSmOnMd:"pf-m-column-gap-sm-on-md",columnGapMdOnMd:"pf-m-column-gap-md-on-md",columnGapLgOnMd:"pf-m-column-gap-lg-on-md",columnGapXlOnMd:"pf-m-column-gap-xl-on-md",columnGap_2xlOnMd:"pf-m-column-gap-2xl-on-md",columnGap_3xlOnMd:"pf-m-column-gap-3xl-on-md",columnGap_4xlOnMd:"pf-m-column-gap-4xl-on-md",columnGapOnLg:"pf-m-column-gap-on-lg",columnGapNoneOnLg:"pf-m-column-gap-none-on-lg",columnGapXsOnLg:"pf-m-column-gap-xs-on-lg",columnGapSmOnLg:"pf-m-column-gap-sm-on-lg",columnGapMdOnLg:"pf-m-column-gap-md-on-lg",columnGapLgOnLg:"pf-m-column-gap-lg-on-lg",columnGapXlOnLg:"pf-m-column-gap-xl-on-lg",columnGap_2xlOnLg:"pf-m-column-gap-2xl-on-lg",columnGap_3xlOnLg:"pf-m-column-gap-3xl-on-lg",columnGap_4xlOnLg:"pf-m-column-gap-4xl-on-lg",columnGapOnXl:"pf-m-column-gap-on-xl",columnGapNoneOnXl:"pf-m-column-gap-none-on-xl",columnGapXsOnXl:"pf-m-column-gap-xs-on-xl",columnGapSmOnXl:"pf-m-column-gap-sm-on-xl",columnGapMdOnXl:"pf-m-column-gap-md-on-xl",columnGapLgOnXl:"pf-m-column-gap-lg-on-xl",columnGapXlOnXl:"pf-m-column-gap-xl-on-xl",columnGap_2xlOnXl:"pf-m-column-gap-2xl-on-xl",columnGap_3xlOnXl:"pf-m-column-gap-3xl-on-xl",columnGap_4xlOnXl:"pf-m-column-gap-4xl-on-xl",columnGapOn_2xl:"pf-m-column-gap-on-2xl",columnGapNoneOn_2xl:"pf-m-column-gap-none-on-2xl",columnGapXsOn_2xl:"pf-m-column-gap-xs-on-2xl",columnGapSmOn_2xl:"pf-m-column-gap-sm-on-2xl",columnGapMdOn_2xl:"pf-m-column-gap-md-on-2xl",columnGapLgOn_2xl:"pf-m-column-gap-lg-on-2xl",columnGapXlOn_2xl:"pf-m-column-gap-xl-on-2xl",columnGap_2xlOn_2xl:"pf-m-column-gap-2xl-on-2xl",columnGap_3xlOn_2xl:"pf-m-column-gap-3xl-on-2xl",columnGap_4xlOn_2xl:"pf-m-column-gap-4xl-on-2xl"}};var gC={name:"--pf-v6-l-flex--item--Order",value:"0",var:"var(--pf-v6-l-flex--item--Order)"};var kl=(n)=>{var{children:r=null,className:a="",component:l="div",spacer:f,spaceItems:u,gap:p,rowGap:h,columnGap:b,grow:x,shrink:y,flex:_,direction:v,alignItems:I,alignContent:O,alignSelf:A,align:D,justifyContent:k,display:z,fullWidth:M,flexWrap:V,order:G,style:K}=n,ie=E(n,["children","className","component","spacer","spaceItems","gap","rowGap","columnGap","grow","shrink","flex","direction","alignItems","alignContent","alignSelf","align","justifyContent","display","fullWidth","flexWrap","order","style"]);return ZL.jsx(l,Object.assign({className:S(dn.flex,ze(f,dn),ze(u,dn),ze(x,dn),ze(y,dn),ze(_,dn),ze(v,dn),ze(I,dn),ze(O,dn),ze(A,dn),ze(D,dn),ze(k,dn),ze(z,dn),ze(M,dn),ze(V,dn),ze(p,dn),ze(h,dn),ze(b,dn),a),style:K||G?Object.assign(Object.assign({},K),Ec(G,gC.name)):void 0},ie,{children:r}))};kl.displayName="Flex";var KL=w(X());var mr=(n)=>{var{children:r=null,className:a="",component:l="div",spacer:f,grow:u,shrink:p,flex:h,alignSelf:b,align:x,fullWidth:y,order:_,style:v}=n,I=E(n,["children","className","component","spacer","grow","shrink","flex","alignSelf","align","fullWidth","order","style"]);return KL.jsx(l,Object.assign({},I,{className:S(ze(f,dn),ze(u,dn),ze(p,dn),ze(h,dn),ze(b,dn),ze(x,dn),ze(y,dn),a),style:v||_?Object.assign(Object.assign({},v),Ec(_,gC.name)):void 0,children:r}))};mr.displayName="FlexItem";var ek=w(X());var Ei={grid:"pf-v6-l-grid",gridItem:"pf-v6-l-grid__item",modifiers:{all_1Col:"pf-m-all-1-col",all_2Col:"pf-m-all-2-col",all_3Col:"pf-m-all-3-col",all_4Col:"pf-m-all-4-col",all_5Col:"pf-m-all-5-col",all_6Col:"pf-m-all-6-col",all_7Col:"pf-m-all-7-col",all_8Col:"pf-m-all-8-col",all_9Col:"pf-m-all-9-col",all_10Col:"pf-m-all-10-col",all_11Col:"pf-m-all-11-col",all_12Col:"pf-m-all-12-col",all_1ColOnSm:"pf-m-all-1-col-on-sm",all_2ColOnSm:"pf-m-all-2-col-on-sm",all_3ColOnSm:"pf-m-all-3-col-on-sm",all_4ColOnSm:"pf-m-all-4-col-on-sm",all_5ColOnSm:"pf-m-all-5-col-on-sm",all_6ColOnSm:"pf-m-all-6-col-on-sm",all_7ColOnSm:"pf-m-all-7-col-on-sm",all_8ColOnSm:"pf-m-all-8-col-on-sm",all_9ColOnSm:"pf-m-all-9-col-on-sm",all_10ColOnSm:"pf-m-all-10-col-on-sm",all_11ColOnSm:"pf-m-all-11-col-on-sm",all_12ColOnSm:"pf-m-all-12-col-on-sm",all_1ColOnMd:"pf-m-all-1-col-on-md",all_2ColOnMd:"pf-m-all-2-col-on-md",all_3ColOnMd:"pf-m-all-3-col-on-md",all_4ColOnMd:"pf-m-all-4-col-on-md",all_5ColOnMd:"pf-m-all-5-col-on-md",all_6ColOnMd:"pf-m-all-6-col-on-md",all_7ColOnMd:"pf-m-all-7-col-on-md",all_8ColOnMd:"pf-m-all-8-col-on-md",all_9ColOnMd:"pf-m-all-9-col-on-md",all_10ColOnMd:"pf-m-all-10-col-on-md",all_11ColOnMd:"pf-m-all-11-col-on-md",all_12ColOnMd:"pf-m-all-12-col-on-md",all_1ColOnLg:"pf-m-all-1-col-on-lg",all_2ColOnLg:"pf-m-all-2-col-on-lg",all_3ColOnLg:"pf-m-all-3-col-on-lg",all_4ColOnLg:"pf-m-all-4-col-on-lg",all_5ColOnLg:"pf-m-all-5-col-on-lg",all_6ColOnLg:"pf-m-all-6-col-on-lg",all_7ColOnLg:"pf-m-all-7-col-on-lg",all_8ColOnLg:"pf-m-all-8-col-on-lg",all_9ColOnLg:"pf-m-all-9-col-on-lg",all_10ColOnLg:"pf-m-all-10-col-on-lg",all_11ColOnLg:"pf-m-all-11-col-on-lg",all_12ColOnLg:"pf-m-all-12-col-on-lg",all_1ColOnXl:"pf-m-all-1-col-on-xl",all_2ColOnXl:"pf-m-all-2-col-on-xl",all_3ColOnXl:"pf-m-all-3-col-on-xl",all_4ColOnXl:"pf-m-all-4-col-on-xl",all_5ColOnXl:"pf-m-all-5-col-on-xl",all_6ColOnXl:"pf-m-all-6-col-on-xl",all_7ColOnXl:"pf-m-all-7-col-on-xl",all_8ColOnXl:"pf-m-all-8-col-on-xl",all_9ColOnXl:"pf-m-all-9-col-on-xl",all_10ColOnXl:"pf-m-all-10-col-on-xl",all_11ColOnXl:"pf-m-all-11-col-on-xl",all_12ColOnXl:"pf-m-all-12-col-on-xl",all_1ColOn_2xl:"pf-m-all-1-col-on-2xl",all_2ColOn_2xl:"pf-m-all-2-col-on-2xl",all_3ColOn_2xl:"pf-m-all-3-col-on-2xl",all_4ColOn_2xl:"pf-m-all-4-col-on-2xl",all_5ColOn_2xl:"pf-m-all-5-col-on-2xl",all_6ColOn_2xl:"pf-m-all-6-col-on-2xl",all_7ColOn_2xl:"pf-m-all-7-col-on-2xl",all_8ColOn_2xl:"pf-m-all-8-col-on-2xl",all_9ColOn_2xl:"pf-m-all-9-col-on-2xl",all_10ColOn_2xl:"pf-m-all-10-col-on-2xl",all_11ColOn_2xl:"pf-m-all-11-col-on-2xl",all_12ColOn_2xl:"pf-m-all-12-col-on-2xl","1Col":"pf-m-1-col","2Col":"pf-m-2-col","3Col":"pf-m-3-col","4Col":"pf-m-4-col","5Col":"pf-m-5-col","6Col":"pf-m-6-col","7Col":"pf-m-7-col","8Col":"pf-m-8-col","9Col":"pf-m-9-col","10Col":"pf-m-10-col","11Col":"pf-m-11-col","12Col":"pf-m-12-col",offset_1Col:"pf-m-offset-1-col",offset_2Col:"pf-m-offset-2-col",offset_3Col:"pf-m-offset-3-col",offset_4Col:"pf-m-offset-4-col",offset_5Col:"pf-m-offset-5-col",offset_6Col:"pf-m-offset-6-col",offset_7Col:"pf-m-offset-7-col",offset_8Col:"pf-m-offset-8-col",offset_9Col:"pf-m-offset-9-col",offset_10Col:"pf-m-offset-10-col",offset_11Col:"pf-m-offset-11-col",offset_12Col:"pf-m-offset-12-col","1Row":"pf-m-1-row","2Row":"pf-m-2-row","3Row":"pf-m-3-row","4Row":"pf-m-4-row","5Row":"pf-m-5-row","6Row":"pf-m-6-row","7Row":"pf-m-7-row","8Row":"pf-m-8-row","9Row":"pf-m-9-row","10Row":"pf-m-10-row","11Row":"pf-m-11-row","12Row":"pf-m-12-row","1ColOnSm":"pf-m-1-col-on-sm","2ColOnSm":"pf-m-2-col-on-sm","3ColOnSm":"pf-m-3-col-on-sm","4ColOnSm":"pf-m-4-col-on-sm","5ColOnSm":"pf-m-5-col-on-sm","6ColOnSm":"pf-m-6-col-on-sm","7ColOnSm":"pf-m-7-col-on-sm","8ColOnSm":"pf-m-8-col-on-sm","9ColOnSm":"pf-m-9-col-on-sm","10ColOnSm":"pf-m-10-col-on-sm","11ColOnSm":"pf-m-11-col-on-sm","12ColOnSm":"pf-m-12-col-on-sm",offset_1ColOnSm:"pf-m-offset-1-col-on-sm",offset_2ColOnSm:"pf-m-offset-2-col-on-sm",offset_3ColOnSm:"pf-m-offset-3-col-on-sm",offset_4ColOnSm:"pf-m-offset-4-col-on-sm",offset_5ColOnSm:"pf-m-offset-5-col-on-sm",offset_6ColOnSm:"pf-m-offset-6-col-on-sm",offset_7ColOnSm:"pf-m-offset-7-col-on-sm",offset_8ColOnSm:"pf-m-offset-8-col-on-sm",offset_9ColOnSm:"pf-m-offset-9-col-on-sm",offset_10ColOnSm:"pf-m-offset-10-col-on-sm",offset_11ColOnSm:"pf-m-offset-11-col-on-sm",offset_12ColOnSm:"pf-m-offset-12-col-on-sm","1RowOnSm":"pf-m-1-row-on-sm","2RowOnSm":"pf-m-2-row-on-sm","3RowOnSm":"pf-m-3-row-on-sm","4RowOnSm":"pf-m-4-row-on-sm","5RowOnSm":"pf-m-5-row-on-sm","6RowOnSm":"pf-m-6-row-on-sm","7RowOnSm":"pf-m-7-row-on-sm","8RowOnSm":"pf-m-8-row-on-sm","9RowOnSm":"pf-m-9-row-on-sm","10RowOnSm":"pf-m-10-row-on-sm","11RowOnSm":"pf-m-11-row-on-sm","12RowOnSm":"pf-m-12-row-on-sm","1ColOnMd":"pf-m-1-col-on-md","2ColOnMd":"pf-m-2-col-on-md","3ColOnMd":"pf-m-3-col-on-md","4ColOnMd":"pf-m-4-col-on-md","5ColOnMd":"pf-m-5-col-on-md","6ColOnMd":"pf-m-6-col-on-md","7ColOnMd":"pf-m-7-col-on-md","8ColOnMd":"pf-m-8-col-on-md","9ColOnMd":"pf-m-9-col-on-md","10ColOnMd":"pf-m-10-col-on-md","11ColOnMd":"pf-m-11-col-on-md","12ColOnMd":"pf-m-12-col-on-md",offset_1ColOnMd:"pf-m-offset-1-col-on-md",offset_2ColOnMd:"pf-m-offset-2-col-on-md",offset_3ColOnMd:"pf-m-offset-3-col-on-md",offset_4ColOnMd:"pf-m-offset-4-col-on-md",offset_5ColOnMd:"pf-m-offset-5-col-on-md",offset_6ColOnMd:"pf-m-offset-6-col-on-md",offset_7ColOnMd:"pf-m-offset-7-col-on-md",offset_8ColOnMd:"pf-m-offset-8-col-on-md",offset_9ColOnMd:"pf-m-offset-9-col-on-md",offset_10ColOnMd:"pf-m-offset-10-col-on-md",offset_11ColOnMd:"pf-m-offset-11-col-on-md",offset_12ColOnMd:"pf-m-offset-12-col-on-md","1RowOnMd":"pf-m-1-row-on-md","2RowOnMd":"pf-m-2-row-on-md","3RowOnMd":"pf-m-3-row-on-md","4RowOnMd":"pf-m-4-row-on-md","5RowOnMd":"pf-m-5-row-on-md","6RowOnMd":"pf-m-6-row-on-md","7RowOnMd":"pf-m-7-row-on-md","8RowOnMd":"pf-m-8-row-on-md","9RowOnMd":"pf-m-9-row-on-md","10RowOnMd":"pf-m-10-row-on-md","11RowOnMd":"pf-m-11-row-on-md","12RowOnMd":"pf-m-12-row-on-md","1ColOnLg":"pf-m-1-col-on-lg","2ColOnLg":"pf-m-2-col-on-lg","3ColOnLg":"pf-m-3-col-on-lg","4ColOnLg":"pf-m-4-col-on-lg","5ColOnLg":"pf-m-5-col-on-lg","6ColOnLg":"pf-m-6-col-on-lg","7ColOnLg":"pf-m-7-col-on-lg","8ColOnLg":"pf-m-8-col-on-lg","9ColOnLg":"pf-m-9-col-on-lg","10ColOnLg":"pf-m-10-col-on-lg","11ColOnLg":"pf-m-11-col-on-lg","12ColOnLg":"pf-m-12-col-on-lg",offset_1ColOnLg:"pf-m-offset-1-col-on-lg",offset_2ColOnLg:"pf-m-offset-2-col-on-lg",offset_3ColOnLg:"pf-m-offset-3-col-on-lg",offset_4ColOnLg:"pf-m-offset-4-col-on-lg",offset_5ColOnLg:"pf-m-offset-5-col-on-lg",offset_6ColOnLg:"pf-m-offset-6-col-on-lg",offset_7ColOnLg:"pf-m-offset-7-col-on-lg",offset_8ColOnLg:"pf-m-offset-8-col-on-lg",offset_9ColOnLg:"pf-m-offset-9-col-on-lg",offset_10ColOnLg:"pf-m-offset-10-col-on-lg",offset_11ColOnLg:"pf-m-offset-11-col-on-lg",offset_12ColOnLg:"pf-m-offset-12-col-on-lg","1RowOnLg":"pf-m-1-row-on-lg","2RowOnLg":"pf-m-2-row-on-lg","3RowOnLg":"pf-m-3-row-on-lg","4RowOnLg":"pf-m-4-row-on-lg","5RowOnLg":"pf-m-5-row-on-lg","6RowOnLg":"pf-m-6-row-on-lg","7RowOnLg":"pf-m-7-row-on-lg","8RowOnLg":"pf-m-8-row-on-lg","9RowOnLg":"pf-m-9-row-on-lg","10RowOnLg":"pf-m-10-row-on-lg","11RowOnLg":"pf-m-11-row-on-lg","12RowOnLg":"pf-m-12-row-on-lg","1ColOnXl":"pf-m-1-col-on-xl","2ColOnXl":"pf-m-2-col-on-xl","3ColOnXl":"pf-m-3-col-on-xl","4ColOnXl":"pf-m-4-col-on-xl","5ColOnXl":"pf-m-5-col-on-xl","6ColOnXl":"pf-m-6-col-on-xl","7ColOnXl":"pf-m-7-col-on-xl","8ColOnXl":"pf-m-8-col-on-xl","9ColOnXl":"pf-m-9-col-on-xl","10ColOnXl":"pf-m-10-col-on-xl","11ColOnXl":"pf-m-11-col-on-xl","12ColOnXl":"pf-m-12-col-on-xl",offset_1ColOnXl:"pf-m-offset-1-col-on-xl",offset_2ColOnXl:"pf-m-offset-2-col-on-xl",offset_3ColOnXl:"pf-m-offset-3-col-on-xl",offset_4ColOnXl:"pf-m-offset-4-col-on-xl",offset_5ColOnXl:"pf-m-offset-5-col-on-xl",offset_6ColOnXl:"pf-m-offset-6-col-on-xl",offset_7ColOnXl:"pf-m-offset-7-col-on-xl",offset_8ColOnXl:"pf-m-offset-8-col-on-xl",offset_9ColOnXl:"pf-m-offset-9-col-on-xl",offset_10ColOnXl:"pf-m-offset-10-col-on-xl",offset_11ColOnXl:"pf-m-offset-11-col-on-xl",offset_12ColOnXl:"pf-m-offset-12-col-on-xl","1RowOnXl":"pf-m-1-row-on-xl","2RowOnXl":"pf-m-2-row-on-xl","3RowOnXl":"pf-m-3-row-on-xl","4RowOnXl":"pf-m-4-row-on-xl","5RowOnXl":"pf-m-5-row-on-xl","6RowOnXl":"pf-m-6-row-on-xl","7RowOnXl":"pf-m-7-row-on-xl","8RowOnXl":"pf-m-8-row-on-xl","9RowOnXl":"pf-m-9-row-on-xl","10RowOnXl":"pf-m-10-row-on-xl","11RowOnXl":"pf-m-11-row-on-xl","12RowOnXl":"pf-m-12-row-on-xl","1ColOn_2xl":"pf-m-1-col-on-2xl","2ColOn_2xl":"pf-m-2-col-on-2xl","3ColOn_2xl":"pf-m-3-col-on-2xl","4ColOn_2xl":"pf-m-4-col-on-2xl","5ColOn_2xl":"pf-m-5-col-on-2xl","6ColOn_2xl":"pf-m-6-col-on-2xl","7ColOn_2xl":"pf-m-7-col-on-2xl","8ColOn_2xl":"pf-m-8-col-on-2xl","9ColOn_2xl":"pf-m-9-col-on-2xl","10ColOn_2xl":"pf-m-10-col-on-2xl","11ColOn_2xl":"pf-m-11-col-on-2xl","12ColOn_2xl":"pf-m-12-col-on-2xl",offset_1ColOn_2xl:"pf-m-offset-1-col-on-2xl",offset_2ColOn_2xl:"pf-m-offset-2-col-on-2xl",offset_3ColOn_2xl:"pf-m-offset-3-col-on-2xl",offset_4ColOn_2xl:"pf-m-offset-4-col-on-2xl",offset_5ColOn_2xl:"pf-m-offset-5-col-on-2xl",offset_6ColOn_2xl:"pf-m-offset-6-col-on-2xl",offset_7ColOn_2xl:"pf-m-offset-7-col-on-2xl",offset_8ColOn_2xl:"pf-m-offset-8-col-on-2xl",offset_9ColOn_2xl:"pf-m-offset-9-col-on-2xl",offset_10ColOn_2xl:"pf-m-offset-10-col-on-2xl",offset_11ColOn_2xl:"pf-m-offset-11-col-on-2xl",offset_12ColOn_2xl:"pf-m-offset-12-col-on-2xl","1RowOn_2xl":"pf-m-1-row-on-2xl","2RowOn_2xl":"pf-m-2-row-on-2xl","3RowOn_2xl":"pf-m-3-row-on-2xl","4RowOn_2xl":"pf-m-4-row-on-2xl","5RowOn_2xl":"pf-m-5-row-on-2xl","6RowOn_2xl":"pf-m-6-row-on-2xl","7RowOn_2xl":"pf-m-7-row-on-2xl","8RowOn_2xl":"pf-m-8-row-on-2xl","9RowOn_2xl":"pf-m-9-row-on-2xl","10RowOn_2xl":"pf-m-10-row-on-2xl","11RowOn_2xl":"pf-m-11-row-on-2xl","12RowOn_2xl":"pf-m-12-row-on-2xl",gutter:"pf-m-gutter"}};var JL;(function(n){n.xs="xs",n.sm="sm",n.md="md",n.lg="lg",n.xl="xl",n["2xl"]="2xl",n["3xl"]="3xl",n["4xl"]="4xl"})(JL||(JL={}));var Gp;(function(n){n.sm="Sm",n.md="Md",n.lg="Lg",n.xl="Xl",n.xl2="_2xl"})(Gp||(Gp={}));var bC={name:"--pf-v6-l-grid--item--Order",value:"0",var:"var(--pf-v6-l-grid--item--Order)"};var Xp=(n)=>{var{children:r=null,className:a="",component:l="div",hasGutter:f,span:u=null,order:p,style:h}=n,b=E(n,["children","className","component","hasGutter","span","order","style"]);let x=[Ei.grid,u&&Ei.modifiers[`all_${u}Col`]],y=l;return Object.entries(Gp).forEach(([_,v])=>{let I=_,O=b[I];if(O)x.push(Ei.modifiers[`all_${O}ColOn${v}`]);delete b[I]}),ek.jsx(y,Object.assign({className:S(...x,f&&Ei.modifiers.gutter,a),style:h||p?Object.assign(Object.assign({},h),Ec(p,bC.name)):void 0},b,{children:r}))};Xp.displayName="Grid";var tk=w(X());var Pl=(n)=>{var{children:r=null,className:a="",component:l="div",span:f=null,rowSpan:u=null,offset:p=null,order:h,style:b}=n,x=E(n,["children","className","component","span","rowSpan","offset","order","style"]);let y=[Ei.gridItem,f&&Ei.modifiers[`${f}Col`],u&&Ei.modifiers[`${u}Row`],p&&Ei.modifiers[`offset_${p}Col`]],_=l;return Object.entries(Gp).forEach(([v,I])=>{let O=v,A=`${O}RowSpan`,D=`${O}Offset`,k=x[O],z=x[A],M=x[D];if(k)y.push(Ei.modifiers[`${k}ColOn${I}`]);if(z)y.push(Ei.modifiers[`${z}RowOn${I}`]);if(M)y.push(Ei.modifiers[`offset_${M}ColOn${I}`]);delete x[O],delete x[A],delete x[D]}),tk.jsx(_,Object.assign({className:S(...y,a),style:b||h?Object.assign(Object.assign({},b),Ec(h,bC.name)):void 0},x,{children:r}))};Pl.displayName="GridItem";var nk=w(X());var qp={modifiers:{fill:"pf-m-fill",gutter:"pf-m-gutter"},stack:"pf-v6-l-stack",stackItem:"pf-v6-l-stack__item"};var $p=(n)=>{var{hasGutter:r=!1,className:a="",children:l=null,component:f="div"}=n,u=E(n,["hasGutter","className","children","component"]);return nk.jsx(f,Object.assign({},u,{className:S(qp.stack,r&&qp.modifiers.gutter,a),children:l}))};$p.displayName="Stack";var ok=w(X());var Bu=(n)=>{var{isFilled:r=!1,className:a="",children:l=null,component:f="div"}=n,u=E(n,["isFilled","className","children","component"]);return ok.jsx(f,Object.assign({},u,{className:S(qp.stackItem,r&&qp.modifiers.fill,a),children:l}))};Bu.displayName="StackItem";var BX={name:"ArrowsAltVIcon",icon:{xOffset:0,yOffset:0,width:256,height:512,svgPathData:"M214.059 377.941H168V134.059h46.059c21.382 0 32.09-25.851 16.971-40.971L144.971 7.029c-9.373-9.373-24.568-9.373-33.941 0L24.971 93.088c-15.119 15.119-4.411 40.971 16.971 40.971H88v243.882H41.941c-21.382 0-32.09 25.851-16.971 40.971l86.059 86.059c9.373 9.373 24.568 9.373 33.941 0l86.059-86.059c15.12-15.119 4.412-40.971-16.97-40.971z"},rhUiIcon:{xOffset:0,yOffset:0,width:32,height:32,svgPathData:"M21.293 23.293 17 27.586V4.414l4.293 4.293a.997.997 0 0 0 1.414 0 .999.999 0 0 0 0-1.414l-5.646-5.646a1.5 1.5 0 0 0-2.121 0L9.294 7.293a.999.999 0 1 0 1.414 1.414l4.293-4.293v23.172l-4.293-4.293a.999.999 0 1 0-1.414 1.414l5.646 5.646c.292.293.676.438 1.061.438s.768-.146 1.061-.438l5.646-5.646a.999.999 0 1 0-1.414-1.414Z"}},LX=qe(BX),rk=LX;var ik={name:"BarsIcon",icon:{xOffset:0,yOffset:0,width:448,height:512,svgPathData:"M16 132h416c8.837 0 16-7.163 16-16V76c0-8.837-7.163-16-16-16H16C7.163 60 0 67.163 0 76v40c0 8.837 7.163 16 16 16zm0 160h416c8.837 0 16-7.163 16-16v-40c0-8.837-7.163-16-16-16H16c-8.837 0-16 7.163-16 16v40c0 8.837 7.163 16 16 16zm0 160h416c8.837 0 16-7.163 16-16v-40c0-8.837-7.163-16-16-16H16c-8.837 0-16 7.163-16 16v40c0 8.837 7.163 16 16 16z"},rhUiIcon:{xOffset:0,yOffset:0,width:32,height:32,svgPathData:"M31 16a1 1 0 0 1-1 1H2a1 1 0 1 1 0-2h28a1 1 0 0 1 1 1Zm-1 9H2a1 1 0 1 0 0 2h28a1 1 0 1 0 0-2ZM2 7h28a1 1 0 1 0 0-2H2a1 1 0 1 0 0 2Z"}},v1=qe(ik);var ak={name:"CheckCircleIcon",icon:{xOffset:0,yOffset:0,width:512,height:512,svgPathData:"M504 256c0 136.967-111.033 248-248 248S8 392.967 8 256 119.033 8 256 8s248 111.033 248 248zM227.314 387.314l184-184c6.248-6.248 6.248-16.379 0-22.627l-22.627-22.627c-6.248-6.249-16.379-6.249-22.628 0L216 308.118l-70.059-70.059c-6.248-6.248-16.379-6.248-22.628 0l-22.627 22.627c-6.248 6.248-6.248 16.379 0 22.627l104 104c6.249 6.249 16.379 6.249 22.628.001z"},rhUiIcon:{xOffset:0,yOffset:0,width:32,height:32,svgPathData:"M16 1C7.729 1 1 7.729 1 16s6.729 15 15 15 15-6.729 15-15S24.271 1 16 1Zm7.795 11.795-8.646 8.646c-.317.317-.733.475-1.149.475s-.832-.158-1.149-.475l-4.646-4.646a1.126 1.126 0 0 1 1.591-1.591l4.205 4.205 8.205-8.205a1.126 1.126 0 0 1 1.591 1.591Z"}},C1=qe(ak);var lk={name:"CopyIcon",icon:{xOffset:0,yOffset:0,width:448,height:512,svgPathData:"M320 448v40c0 13.255-10.745 24-24 24H24c-13.255 0-24-10.745-24-24V120c0-13.255 10.745-24 24-24h72v296c0 30.879 25.121 56 56 56h168zm0-344V0H152c-13.255 0-24 10.745-24 24v368c0 13.255 10.745 24 24 24h272c13.255 0 24-10.745 24-24V128H344c-13.2 0-24-10.8-24-24zm120.971-31.029L375.029 7.029A24 24 0 0 0 358.059 0H352v96h96v-6.059a24 24 0 0 0-7.029-16.97z"},rhUiIcon:{xOffset:0,yOffset:0,width:32,height:32,svgPathData:"M28 7v22.607c0 .768-.622 1.393-1.387 1.393H10a1 1 0 1 1 0-2h16V7a1 1 0 1 1 2 0Zm-6.5 19h-16c-.827 0-1.5-.673-1.5-1.5V8a1.001 1.001 0 0 1 .294-.708l5.998-5.998A1.001 1.001 0 0 1 11 1h10.5c.827 0 1.5.673 1.5 1.5v22c0 .827-.673 1.5-1.5 1.5ZM7.414 7H10V4.414L7.414 7ZM21 3h-9v4.614C12 8.378 11.378 9 10.613 9H6v15h15V3Z"}},y1=qe(lk);var sk={name:"ExclamationCircleIcon",icon:{xOffset:0,yOffset:0,width:512,height:512,svgPathData:"M504 256c0 136.997-111.043 248-248 248S8 392.997 8 256C8 119.083 119.043 8 256 8s248 111.083 248 248zm-248 50c-25.405 0-46 20.595-46 46s20.595 46 46 46 46-20.595 46-46-20.595-46-46-46zm-43.673-165.346l7.418 136c.347 6.364 5.609 11.346 11.982 11.346h48.546c6.373 0 11.635-4.982 11.982-11.346l7.418-136c.375-6.874-5.098-12.654-11.982-12.654h-63.383c-6.884 0-12.356 5.78-11.981 12.654z"},rhUiIcon:{xOffset:0,yOffset:0,width:32,height:32,svgPathData:"M16 1C7.729 1 1 7.729 1 16s6.729 15 15 15 15-6.729 15-15S24.271 1 16 1Zm-1.5 8a1.5 1.5 0 1 1 3 0v7a1.5 1.5 0 1 1-3 0V9ZM16 25.001a2 2 0 1 1-.001-3.999A2 2 0 0 1 16 25.001Z"}},S1=qe(sk);var ck={name:"ExclamationTriangleIcon",icon:{xOffset:0,yOffset:0,width:576,height:512,svgPathData:"M569.517 440.013C587.975 472.007 564.806 512 527.94 512H48.054c-36.937 0-59.999-40.055-41.577-71.987L246.423 23.985c18.467-32.009 64.72-31.951 83.154 0l239.94 416.028zM288 354c-25.405 0-46 20.595-46 46s20.595 46 46 46 46-20.595 46-46-20.595-46-46-46zm-43.673-165.346l7.418 136c.347 6.364 5.609 11.346 11.982 11.346h48.546c6.373 0 11.635-4.982 11.982-11.346l7.418-136c.375-6.874-5.098-12.654-11.982-12.654h-63.383c-6.884 0-12.356 5.78-11.981 12.654z"},rhUiIcon:{xOffset:0,yOffset:0,width:32,height:32,svgPathData:"m31.874 28.514-15.011-27a1.001 1.001 0 0 0-1.748 0l-15.011 27A1 1 0 0 0 .978 30H31a1 1 0 0 0 .874-1.486ZM14.5 12a1.5 1.5 0 0 1 3 0v5a1.5 1.5 0 0 1-3 0v-5ZM16 26.001a2 2 0 1 1-.001-3.999A2 2 0 0 1 16 26.001Z"}},_1=qe(ck);var fk={name:"ExternalLinkAltIcon",icon:{xOffset:0,yOffset:0,width:512,height:512,svgPathData:"M432,320H400a16,16,0,0,0-16,16V448H64V128H208a16,16,0,0,0,16-16V80a16,16,0,0,0-16-16H48A48,48,0,0,0,0,112V464a48,48,0,0,0,48,48H400a48,48,0,0,0,48-48V336A16,16,0,0,0,432,320ZM488,0h-128c-21.37,0-32.05,25.91-17,41l35.73,35.73L135,320.37a24,24,0,0,0,0,34L157.67,377a24,24,0,0,0,34,0L435.28,133.32,471,169c15,15,41,4.5,41-17V24A24,24,0,0,0,488,0Z"},rhUiIcon:{xOffset:0,yOffset:0,width:32,height:32,svgPathData:"M28.5 2h-25C2.673 2 2 2.673 2 3.5v25c0 .827.673 1.5 1.5 1.5h25c.827 0 1.5-.673 1.5-1.5v-25c0-.827-.673-1.5-1.5-1.5Zm-3.375 17a1.125 1.125 0 0 1-2.25 0v-8.284L11.796 21.795a1.122 1.122 0 0 1-1.592 0 1.127 1.127 0 0 1 0-1.591l11.08-11.08H13a1.125 1.125 0 0 1 0-2.25h10.5c.896 0 1.625.729 1.625 1.625v10.5Z"}},R1=qe(fk);var uk={name:"InfoCircleIcon",icon:{xOffset:0,yOffset:0,width:512,height:512,svgPathData:"M256 8C119.043 8 8 119.083 8 256c0 136.997 111.043 248 248 248s248-111.003 248-248C504 119.083 392.957 8 256 8zm0 110c23.196 0 42 18.804 42 42s-18.804 42-42 42-42-18.804-42-42 18.804-42 42-42zm56 254c0 6.627-5.373 12-12 12h-88c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h12v-64h-12c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h64c6.627 0 12 5.373 12 12v100h12c6.627 0 12 5.373 12 12v24z"},rhUiIcon:{xOffset:0,yOffset:0,width:32,height:32,svgPathData:"M16 1C7.729 1 1 7.729 1 16s6.729 15 15 15 15-6.729 15-15S24.271 1 16 1Zm1.5 22a1.5 1.5 0 1 1-3 0v-5.157l-.188.04a1.5 1.5 0 0 1-.625-2.934l1.956-.416c.112-.024.223-.032.333-.03l.024-.002a1.5 1.5 0 0 1 1.5 1.5v7Zm-.08-12.58c-.38.37-.89.58-1.42.58a1.998 1.998 0 0 1-1.851-2.76c.051-.13.11-.24.19-.35.07-.11.15-.21.25-.3.74-.75 2.08-.75 2.83 0 .09.09.17.19.24.3.08.11.14.22.189.35.05.12.09.24.11.37.03.13.04.26.04.39 0 .53-.21 1.04-.58 1.42Z"}},O1=qe(uk);var kX={name:"LongArrowAltDownIcon",icon:{xOffset:0,yOffset:0,width:256,height:512,svgPathData:"M168 345.941V44c0-6.627-5.373-12-12-12h-56c-6.627 0-12 5.373-12 12v301.941H41.941c-21.382 0-32.09 25.851-16.971 40.971l86.059 86.059c9.373 9.373 24.569 9.373 33.941 0l86.059-86.059c15.119-15.119 4.411-40.971-16.971-40.971H168z"},rhUiIcon:{xOffset:0,yOffset:0,width:32,height:32,svgPathData:"m22.707 24.707-5.646 5.646c-.292.292-.676.438-1.061.438s-.768-.146-1.061-.438l-5.646-5.646a.999.999 0 1 1 1.414-1.414L15 27.586V2a1 1 0 0 1 2 0v25.586l4.293-4.293a.999.999 0 1 1 1.414 1.414Z"}},PX=qe(kX),dk=PX;var jX={name:"LongArrowAltUpIcon",icon:{xOffset:0,yOffset:0,width:256,height:512,svgPathData:"M88 166.059V468c0 6.627 5.373 12 12 12h56c6.627 0 12-5.373 12-12V166.059h46.059c21.382 0 32.09-25.851 16.971-40.971l-86.059-86.059c-9.373-9.373-24.569-9.373-33.941 0l-86.059 86.059c-15.119 15.119-4.411 40.971 16.971 40.971H88z"},rhUiIcon:{xOffset:0,yOffset:0,width:32,height:32,svgPathData:"M22.707 8.707a.997.997 0 0 1-1.414 0L17 4.414V30a1 1 0 1 1-2 0V4.414l-4.293 4.293a.999.999 0 1 1-1.414-1.414l5.646-5.647a1.501 1.501 0 0 1 2.121 0l5.646 5.646a.999.999 0 0 1 0 1.414Z"}},FX=qe(jX),pk=FX;var HX={name:"RhUiEllipsisHorizontalFillIcon",icon:{xOffset:0,yOffset:0,width:32,height:32,svgPathData:"M30.75 16c0 2.068-1.683 3.75-3.75 3.75s-3.75-1.682-3.75-3.75 1.683-3.75 3.75-3.75 3.75 1.682 3.75 3.75ZM16 12.25c-2.067 0-3.75 1.682-3.75 3.75s1.683 3.75 3.75 3.75 3.75-1.682 3.75-3.75-1.683-3.75-3.75-3.75Zm-11 0c-2.067 0-3.75 1.682-3.75 3.75S2.933 19.75 5 19.75 8.75 18.068 8.75 16 7.067 12.25 5 12.25Z"},rhUiIcon:null},zX=qe(HX),mk=zX;var VX={name:"RhUiEllipsisVerticalFillIcon",icon:{xOffset:0,yOffset:0,width:32,height:32,svgPathData:"M12.25 5c0-2.068 1.683-3.75 3.75-3.75S19.75 2.932 19.75 5 18.067 8.75 16 8.75 12.25 7.068 12.25 5ZM16 12.25c-2.067 0-3.75 1.682-3.75 3.75s1.683 3.75 3.75 3.75 3.75-1.682 3.75-3.75-1.683-3.75-3.75-3.75Zm0 11c-2.067 0-3.75 1.682-3.75 3.75s1.683 3.75 3.75 3.75 3.75-1.682 3.75-3.75-1.683-3.75-3.75-3.75Z"},rhUiIcon:null},GX=qe(VX),hk=GX;var gk={name:"SyncAltIcon",icon:{xOffset:0,yOffset:0,width:512,height:512,svgPathData:"M370.72 133.28C339.458 104.008 298.888 87.962 255.848 88c-77.458.068-144.328 53.178-162.791 126.85-1.344 5.363-6.122 9.15-11.651 9.15H24.103c-7.498 0-13.194-6.807-11.807-14.176C33.933 94.924 134.813 8 256 8c66.448 0 126.791 26.136 171.315 68.685L463.03 40.97C478.149 25.851 504 36.559 504 57.941V192c0 13.255-10.745 24-24 24H345.941c-21.382 0-32.09-25.851-16.971-40.971l41.75-41.749zM32 296h134.059c21.382 0 32.09 25.851 16.971 40.971l-41.75 41.75c31.262 29.273 71.835 45.319 114.876 45.28 77.418-.07 144.315-53.144 162.787-126.849 1.344-5.363 6.122-9.15 11.651-9.15h57.304c7.498 0 13.194 6.807 11.807 14.176C478.067 417.076 377.187 504 256 504c-66.448 0-126.791-26.136-171.315-68.685L48.97 471.03C33.851 486.149 8 475.441 8 454.059V320c0-13.255 10.745-24 24-24z"},rhUiIcon:{xOffset:0,yOffset:0,width:32,height:32,svgPathData:"M31 2v8.5c0 .827-.673 1.5-1.5 1.5H21a1 1 0 1 1 0-2h6.524C25.307 5.763 20.851 3 16 3 9.206 3 3.51 8.302 3.033 15.07a1 1 0 0 1-.997.93c-.023 0-.047 0-.071-.003a.999.999 0 0 1-.927-1.067C1.589 7.118 8.161 1 16 1c5.384 0 10.352 2.945 13 7.521V2a1 1 0 1 1 2 0Zm-.965 14.003a1.005 1.005 0 0 0-1.068.927C28.489 23.699 22.794 29 16 29c-4.851 0-9.306-2.763-11.524-7H11a1 1 0 1 0 0-2H2.5c-.827 0-1.5.673-1.5 1.5V30a1 1 0 1 0 2 0v-6.521C5.648 28.054 10.616 31 16 31c7.839 0 14.411-6.118 14.962-13.93a.998.998 0 0 0-.927-1.067Z"}},Gg=qe(gk);var XX={0:"Invalid value for configuration 'enforceActions', expected 'never', 'always' or 'observed'",1(n,r){return`Cannot apply '${n}' to '${r.toString()}': Field not found.`},5:"'keys()' can only be used on observable objects, arrays, sets and maps",6:"'values()' can only be used on observable objects, arrays, sets and maps",7:"'entries()' can only be used on observable objects, arrays and maps",8:"'set()' can only be used on observable objects, arrays and maps",9:"'remove()' can only be used on observable objects, arrays and maps",10:"'has()' can only be used on observable objects, arrays and maps",11:"'get()' can only be used on observable objects, arrays and maps",12:"Invalid annotation",13:"Dynamic observable objects cannot be frozen. If you're passing observables to 3rd party component/function that calls Object.freeze, pass copy instead: toJS(observable)",14:"Intercept handlers should return nothing or a change object",15:"Observable arrays cannot be frozen. If you're passing observables to 3rd party component/function that calls Object.freeze, pass copy instead: toJS(observable)",16:"Modification exception: the internal structure of an observable array was changed.",19(n){return"Cannot initialize from classes that inherit from Map: "+n.constructor.name},20(n){return"Cannot initialize map from "+n},21(n){return`Cannot convert to map from '${n}'`},23:"It is not possible to get index atoms from arrays",24(n){return"Cannot obtain administration from "+n},25(n,r){return`the entry '${n}' does not exist in the observable map '${r}'`},26:"please specify a property",27(n,r){return`no observable property '${n.toString()}' found on the observable object '${r}'`},28(n){return"Cannot obtain atom from "+n},29:"Expecting some object",30:"invalid action stack. did you forget to finish an action?",31:"missing option for computed: get",32(n,r){return`Cycle detected in computation ${n}: ${r}`},33(n){return`The setter of computed value '${n}' is trying to update itself. Did you intend to update an _observable_ value, instead of the computed property?`},34(n){return`[ComputedValue '${n}'] It is not possible to assign a new value to a computed value.`},35:"There are multiple, different versions of MobX active. Make sure MobX is loaded only once or use `configure({ isolateGlobalState: true })`",36:"isolateGlobalState should be called before MobX is running any reactions",37(n){return`[mobx] \`observableArray.${n}()\` mutates the array in-place, which is not allowed inside a derivation. Use \`array.slice().${n}()\` instead`},38:"'ownKeys()' can only be used on observable objects",39:"'defineProperty()' can only be used on observable objects",40(n){return"Out of range: "+n},41(n){return"Cannot initialize set from "+n},42(n){return`Invalid index: '${n}'`},43(n,r,a){return`Cannot apply '${n}' to '${r}' (kind: ${a}):
|
|
246
|
+
'${n}' can only be used on properties with a function value.`},44(n){return`'${n}' can only be used with 'makeObservable'`}},qX=XX;function He(n,...r){{let a=typeof n==="string"?n:qX[n];if(typeof a==="function")a=a.apply(null,r);throw Error(`[MobX] ${a}`)}throw Error(`[MobX] minified error nr: ${n}${r.length?" "+r.map(String).join(","):""}. See mobx.js.org/errors`)}var{assign:ni,getOwnPropertyDescriptor:U1,defineProperty:Es,prototype:DC}=Object,CC=[];Object.freeze(CC);var N1={};Object.freeze(N1);var $X=Object.toString();function ha(){return++Ee.mobxGuid}function B1(n){let r=!1;return function(){if(r)return;return r=!0,n.apply(this,arguments)}}var Wp=()=>{};function Bo(n){return typeof n==="function"}function yC(n){switch(typeof n){case"string":case"symbol":case"number":return!0}return!1}function MC(n){return n!==null&&typeof n==="object"}function Fl(n){if(!MC(n))return!1;let r=Object.getPrototypeOf(n);if(r==null)return!0;let a=Zc(r,"constructor")&&r.constructor;return typeof a==="function"&&a.toString()===$X}function Dk(n){let r=n==null?void 0:n.constructor;if(!r)return!1;if(r.name==="GeneratorFunction"||r.displayName==="GeneratorFunction")return!0;return!1}function YX(n,r,a){Es(n,r,{enumerable:!1,writable:!0,configurable:!0,value:a})}function WX(n,r,a){Es(n,r,{enumerable:!1,writable:!1,configurable:!0,value:a})}function Jc(n,r){let a="isMobX"+n;return r.prototype[a]=!0,function(l){return MC(l)&&l[a]===!0}}function UC(n){return n!=null&&Object.prototype.toString.call(n)==="[object Map]"}function ZX(n){let r=Object.getPrototypeOf(n),a=Object.getPrototypeOf(r);return Object.getPrototypeOf(a)===null}function SC(n){return n!=null&&Object.prototype.toString.call(n)==="[object Set]"}function KX(n){let r=Object.keys(n),a=Object.getOwnPropertySymbols(n);if(!a.length)return r;return[...r,...a.filter((l)=>DC.propertyIsEnumerable.call(n,l))]}var L1=Reflect.ownKeys;function A1(n){if(typeof n==="string")return n;if(typeof n==="symbol")return n.toString();return new String(n).toString()}function Mk(n){return n===null?null:typeof n==="object"?""+n:n}function Zc(n,r){return DC.hasOwnProperty.call(n,r)}var JX=Object.getOwnPropertyDescriptors;function Di(n,r){return!!(n&r)}function Mi(n,r,a){if(a)n|=r;else n&=~r;return n}function NC(n,r){if(!r.includes(n.kind))He(`The decorator applied to '${String(n.name)}' cannot be used on a ${n.kind} element`)}var dt=Symbol("mobx administration");class Kp{constructor(n="Atom@"+ha()){this.name_=void 0,this.flags_=0,this.observers_=null,this.lastAccessedBy_=0,this.lowestObserverState_=-1,this.onBOL=void 0,this.onBUOL=void 0,this.name_=n}get isBeingObserved(){return Di(this.flags_,1)}set isBeingObserved(n){this.flags_=Mi(this.flags_,1,n)}get isPendingUnobservation(){return Di(this.flags_,2)}set isPendingUnobservation(n){this.flags_=Mi(this.flags_,2,n)}get diffValue(){return Di(this.flags_,4)?1:0}set diffValue(n){this.flags_=Mi(this.flags_,4,n===1?!0:!1)}onBO(){if(this.onBOL)this.onBOL.forEach((n)=>n())}onBUO(){if(this.onBUOL)this.onBUOL.forEach((n)=>n())}reportObserved(){return r4(this)}reportChanged(){ei(),i4(this),ti()}toString(){return this.name_}}var k1=Jc("Atom",Kp);function Yg(n,r=Wp,a=Wp){let l=new Kp(n);if(r!==Wp)l.onBOL=new Set([r]);if(a!==Wp)l.onBUOL=new Set([a]);return l}var P1=Object.is;function Lu(n,r,a){if(n===null||typeof n!=="object"&&typeof n!=="function")return n;if(OC(n))return n;if(Array.isArray(n))return Co.array(n,{name:a});if(Fl(n))return Co.object(n,void 0,{name:a});if(UC(n))return Co.map(n,{name:a});if(SC(n))return Co.set(n,{name:a});if(typeof n==="function"&&!ju(n)&&!$g(n))if(Dk(n))return HC(n);else return z1(a,n);return n}function BC(n){return n}var QX="override";function eq(n){return n.annotationType_===QX}function LC(n,r){return{annotationType_:n,options_:r,make_:tq,extend_:nq}}function tq(n,r,a,l){var f;if((f=this.options_)!=null&&f.bound)return this.extend_(n,r,a,!1)===null?0:1;if(l===n.target_)return this.extend_(n,r,a,!1)===null?0:2;if(ju(a.value))return 1;let u=Nk(n,this,r,a,!1);return Es(l,r,u),2}function nq(n,r,a,l){let f=Nk(n,this,r,a);return n.defineProperty_(r,f,l)}function Uk(n,r,a){NC(a,["method","field"]);let{kind:l,name:f,addInitializer:u}=a,p=n,h=(x)=>{var y,_,v,I;return Kc((y=(_=p.options_)==null?void 0:_.name)!=null?y:f.toString(),x,(v=(I=p.options_)==null?void 0:I.autoAction)!=null?v:!1)};if(l=="field")return function(x){var y;let _=x;if(!ju(_))_=h(_);if((y=p.options_)!=null&&y.bound)_=_.bind(this),_.isMobxAction=!0;return _};if(l=="method"){var b;if(!ju(r))r=h(r);if((b=p.options_)!=null&&b.bound)u(function(){let x=this,y=x[f].bind(x);y.isMobxAction=!0,x[f]=y});return r}He(43,p.annotationType_,String(f),l)}function oq(n,{annotationType_:r},a,{value:l}){if(!Bo(l))He(`Cannot apply '${r}' to '${n.name_}.${a.toString()}':
|
|
247
|
+
'${r}' can only be used on properties with a function value.`)}function Nk(n,r,a,l,f=Ee.safeDescriptors){var u,p,h,b,x,y,_;oq(n,r,a,l);let{value:v}=l;if((u=r.options_)!=null&&u.bound){var I;v=v.bind((I=n.proxy_)!=null?I:n.target_)}return{value:Kc((p=(h=r.options_)==null?void 0:h.name)!=null?p:a.toString(),v,(b=(x=r.options_)==null?void 0:x.autoAction)!=null?b:!1,(y=r.options_)!=null&&y.bound?(_=n.proxy_)!=null?_:n.target_:void 0),configurable:f?n.isPlainObject_:!0,enumerable:!1,writable:f?!1:!0}}function Bk(n,r){return{annotationType_:n,options_:r,make_:rq,extend_:iq}}function rq(n,r,a,l){var f;if(l===n.target_)return this.extend_(n,r,a,!1)===null?0:2;if((f=this.options_)!=null&&f.bound&&(!Zc(n.target_,r)||!$g(n.target_[r]))){if(this.extend_(n,r,a,!1)===null)return 0}if($g(a.value))return 1;let u=kk(n,this,r,a,!1,!1);return Es(l,r,u),2}function iq(n,r,a,l){var f;let u=kk(n,this,r,a,(f=this.options_)==null?void 0:f.bound);return n.defineProperty_(r,u,l)}function Lk(n,r,a){var l;NC(a,["method"]);let{name:f,addInitializer:u}=a;if(!$g(r))r=HC(r);if((l=n.options_)!=null&&l.bound)u(function(){let p=this,h=p[f].bind(p);h.isMobXFlow=!0,p[f]=h});return r}function aq(n,{annotationType_:r},a,{value:l}){if(!Bo(l))He(`Cannot apply '${r}' to '${n.name_}.${a.toString()}':
|
|
248
|
+
'${r}' can only be used on properties with a generator function value.`)}function kk(n,r,a,l,f,u=Ee.safeDescriptors){aq(n,r,a,l);let{value:p}=l;if(!$g(p))p=HC(p);if(f){var h;p=p.bind((h=n.proxy_)!=null?h:n.target_),p.isMobXFlow=!0}return{value:p,configurable:u?n.isPlainObject_:!0,enumerable:!1,writable:u?!1:!0}}function Pk(n,r){return{annotationType_:n,options_:r,make_:lq,extend_:sq}}function lq(n,r,a){return this.extend_(n,r,a,!1)===null?0:1}function sq(n,r,a,l){return cq(n,this,r,a),n.defineComputedProperty_(r,ni({},this.options_,{get:a.get,set:a.set}),l)}function jk(n,r,a){NC(a,["getter"]);let l=n,{name:f,addInitializer:u}=a,p;function h(b,x){let y=ni({},l.options_,{get:r,context:b});return y.name||(y.name=`${x.name_}.${f.toString()}`),new Ms(y)}return u(function(){var b;let x=Kg(this)[dt],y=this,_=x.values_.get(f);if(_ instanceof Ms&&_.derivation!==r)x.values_.delete(f);((b=x.lazyComputedKeys_)!=null?b:x.lazyComputedKeys_=new Map).set(f,()=>h(y,x))}),function(){let b=this[dt],x=b.values_.get(f);if(x instanceof Ms&&x.derivation!==r){var y;let v=(y=p)==null?void 0:y.get(this);if(!v){var _;v=h(this,b),((_=p)!=null?_:p=new WeakMap).set(this,v)}return v.get()}return b.getObservablePropValue_(f)}}function cq(n,{annotationType_:r},a,{get:l}){if(!l)He(`Cannot apply '${r}' to '${n.name_}.${a.toString()}':
|
|
249
|
+
'${r}' can only be used on getter(+setter) properties.`)}function Fk(n,r){return{annotationType_:n,options_:r,make_:fq,extend_:uq}}function fq(n,r,a){return this.extend_(n,r,a,!1)===null?0:1}function uq(n,r,a,l){var f,u;return dq(n,this,r,a),n.defineObservableProperty_(r,a.value,(f=(u=this.options_)==null?void 0:u.enhancer_)!=null?f:Lu,l)}function Hk(n,r,a){if(a.kind==="field")throw He(`Please use \`@observable accessor ${String(a.name)}\` instead of \`@observable ${String(a.name)}\``);NC(a,["accessor"]);let l=n,{kind:f,name:u}=a;if(f!=="accessor")return;function p(h,b){var x;let y=Kg(h)[dt];return((x=y.lazyObservableKeys_)!=null?x:y.lazyObservableKeys_=new Map).set(u,()=>{var _,v;return new Ds(b,(_=(v=l.options_)==null?void 0:v.enhancer_)!=null?_:Lu,`${y.name_}.${u.toString()}`,!1)}),y}return{get(){var h;return((h=this[dt])!=null?h:p(this,r.get.call(this))).getObservablePropValue_(u)},set(h){var b;return((b=this[dt])!=null?b:p(this,h)).setObservablePropValue_(u,h)},init(h){return p(this,h),h}}}function dq(n,{annotationType_:r},a,l){if(!("value"in l))He(`Cannot apply '${r}' to '${n.name_}.${a.toString()}':
|
|
250
|
+
'${r}' cannot be used on getter/setter properties`)}var pq="true",zk=Vk();function Vk(n){return{annotationType_:pq,options_:n,make_:hq,extend_:gq}}var bk=[zk];function mq(n){var r;let a=n.deep!==!1,l=!!n.autoBind,f=(a?0:1)|(l?2:0);return(r=bk[f])!=null?r:bk[f]=Vk({deep:a,autoBind:l})}function hq(n,r,a,l){var f,u;if(a.get)return Jp.make_(n,r,a,l);if(a.set){let y=ju(a.set)?a.set:Kc(r.toString(),a.set);if(l===n.target_)return n.defineProperty_(r,{configurable:Ee.safeDescriptors?n.isPlainObject_:!0,set:y})===null?0:2;return Es(l,r,{configurable:!0,set:y}),2}if(l!==n.target_&&typeof a.value==="function"){var p;if(Dk(a.value)){var h;return((h=this.options_)!=null&&h.autoBind?e$:HC).make_(n,r,a,l)}return((p=this.options_)!=null&&p.autoBind?qq:z1).make_(n,r,a,l)}let b=((f=this.options_)==null?void 0:f.deep)===!1?qk:Co;if(typeof a.value==="function"&&(u=this.options_)!=null&&u.autoBind){var x;a.value=a.value.bind((x=n.proxy_)!=null?x:n.target_)}return b.make_(n,r,a,l)}function gq(n,r,a,l){var f,u;if(a.get)return Jp.extend_(n,r,a,l);if(a.set)return n.defineProperty_(r,{configurable:Ee.safeDescriptors?n.isPlainObject_:!0,set:Kc(r.toString(),a.set)},l);if(typeof a.value==="function"&&(f=this.options_)!=null&&f.autoBind){var p;a.value=a.value.bind((p=n.proxy_)!=null?p:n.target_)}return(((u=this.options_)==null?void 0:u.deep)===!1?qk:Co).extend_(n,r,a,l)}function kC(n,r){return ni(function(l,f){if(f&&typeof f.kind==="string")return r(n,l,f);He(`Invalid arguments for \`${n.annotationType_}\``);return},n)}var bq="observable",xq="observable.ref";var Gk={deep:!0,name:void 0,defaultDecorator:void 0};Object.freeze(Gk);function xC(n){return n||Gk}var Xk=Fk(bq),Iq=Fk(xq,{enhancer_:BC});function vq(n){return kC(n,Hk)}function IC(n){return n.deep===!0?Lu:n.deep===!1?BC:yq(n.defaultDecorator)}function Cq(n){var r;return n?(r=n.defaultDecorator)!=null?r:mq(n):void 0}function yq(n){var r,a;return!n?Lu:(r=(a=n.options_)==null?void 0:a.enhancer_)!=null?r:Lu}function Sq(n,r,a){if(r&&typeof r.kind==="string")return Hk(Xk,n,r);if(OC(n))return n;if(Fl(n))return Co.object(n,r,a);if(Array.isArray(n))return Co.array(n,r);if(UC(n))return Co.map(n,r);if(SC(n))return Co.set(n,r);if(typeof n==="object"&&n!==null)return n;return Co.box(n,r)}var _q={box(n,r){let a=xC(r);return new Ds(n,IC(a),a.name,!0,a.equals)},array(n,r){let a=xC(r);return d$(n,IC(a),a.name)},map(n,r){let a=xC(r);return new Zg(n,IC(a),a.name)},set(n,r){let a=xC(r);return new W1(n,IC(a),a.name)},object(n,r,a){return Qp(()=>Wq(s$({},a),n,r))}},qk=vq(Iq);var Co=ni(Sq,Xk,_q),$k="computed";function Rq(n){return kC(n,jk)}var Yk=Pk($k);var Jp=function(r,a){if(a&&typeof a.kind==="string")return jk(Yk,r,a);if(Fl(r))return Rq(Pk($k,r));if(!Bo(r))He("First argument to `computed` should be an expression.");if(Bo(a))He("A setter as second argument is no longer supported, use `{ set: fn }` option instead");let l=Fl(a)?a:{};return l.get=r,l.name||(l.name=r.name||""),new Ms(l)};ni(Jp,Yk);var xk,Ik,_C=0,Oq=1,wq=(xk=(Ik=U1(()=>{},"name"))==null?void 0:Ik.configurable)!=null?xk:!1,vk={value:"action",configurable:!0,writable:!1,enumerable:!1};function Kc(n,r,a=!1,l){if(!Bo(r))He("`action` can only be invoked on functions");if(typeof n!=="string"||!n)He(`actions should have valid names, got: '${n}'`);function f(){return Wk(n,a,r,l||this,arguments)}if(f.isMobxAction=!0,f.toString=()=>r.toString(),wq)vk.value=n,Es(f,"name",vk);return f}function Wk(n,r,a,l,f){let u=Aq(n,r,l,f);try{return a.apply(l,f)}catch(p){throw u.error_=p,p}finally{Tq(u)}}function Aq(n,r,a,l){let f=Wo()&&!!n,u=0;if(f){u=Date.now();let _=l?Array.from(l):CC;Ui({type:H1,name:n,object:a,arguments:_})}let p=Ee.trackingDerivation,h=!r||!p;ei();let b=Ee.allowStateChanges;if(h)Fu(),b=PC(!0);let x=Ee.allowStateReads;j1(!0);let y={runAsAction_:h,prevDerivation_:p,prevAllowStateChanges_:b,prevAllowStateReads_:x,notifySpy_:f,startTime_:u,actionId_:Oq++,parentActionId_:_C};return _C=y.actionId_,y}function Tq(n){if(_C!==n.actionId_)He(30);if(_C=n.parentActionId_,n.error_!==void 0)Ee.suppressReactionErrors=!0;if(jC(n.prevAllowStateChanges_),Xg(n.prevAllowStateReads_),ti(),n.runAsAction_)Us(n.prevDerivation_);if(n.notifySpy_)Ni({time:Date.now()-n.startTime_});Ee.suppressReactionErrors=!1}function Zk(n,r){let a=PC(n);try{return r()}finally{jC(a)}}function PC(n){let r=Ee.allowStateChanges;return Ee.allowStateChanges=n,r}function jC(n){Ee.allowStateChanges=n}var Eq="create";class Ds extends Kp{constructor(n,r,a="ObservableValue@"+ha(),l=!0,f=P1){super(a);if(this.enhancer_=void 0,this.name_=void 0,this.equals_=void 0,this.hasUnreportedChange_=!1,this.interceptors_=void 0,this.changeListeners_=void 0,this.value_=void 0,this.dehancer=void 0,this.enhancer_=r,this.name_=a,this.equals_=f,this.value_=r(n,void 0,a),l&&Wo()){var u;Pu({type:Eq,object:this,observableKind:"value",debugObjectName:this.name_,newValue:""+((u=this.value_)==null?void 0:u.toString())})}}dehanceValue(n){if(this.dehancer!==void 0)return this.dehancer(n);return n}set(n){let r=this.value_;if(n=this.prepareNewValue_(n),n!==Ee.UNCHANGED){let a=Wo();if(a)Ui({type:Ga,object:this,observableKind:"value",debugObjectName:this.name_,newValue:n,oldValue:r});if(this.setNewValue_(n),a)Ni()}}prepareNewValue_(n){if(jl(this),da(this)){let r=pa(this,{object:this,type:Ga,newValue:n});if(!r)return Ee.UNCHANGED;n=r.newValue}return n=this.enhancer_(n,this.value_,this.name_),this.equals_(this.value_,n)?Ee.UNCHANGED:n}setNewValue_(n){let r=this.value_;if(this.value_=n,this.reportChanged(),za(this))Va(this,{type:Ga,object:this,newValue:n,oldValue:r})}get(){return this.reportObserved(),this.dehanceValue(this.value_)}raw(){return this.value_}toJSON(){return this.get()}toString(){return`${this.name_}[${this.value_}]`}valueOf(){return Mk(this.get())}[Symbol.toPrimitive](){return this.valueOf()}}var Dq=Jc("ObservableValue",Ds);class Ms{constructor(n){if(this.dependenciesState_=-1,this.observing_=[],this.newObserving_=null,this.observers_=null,this.runId_=0,this.lastAccessedBy_=0,this.lowestObserverState_=0,this.unboundDepsCount_=0,this.value_=new qg(null),this.name_=void 0,this.triggeredBy_=void 0,this.flags_=0,this.derivation=void 0,this.setter_=void 0,this.scope_=void 0,this.equals_=void 0,this.requiresReaction_=void 0,this.keepAlive_=void 0,this.onBOL=void 0,this.onBUOL=void 0,!n.get)He(31);if(this.derivation=n.get,this.name_=n.name||"ComputedValue@"+ha(),n.set)this.setter_=Kc(this.name_+"-setter",n.set);this.equals_=n.equals||P1,this.scope_=n.context,this.requiresReaction_=n.requiresReaction,this.keepAlive_=!!n.keepAlive}onBecomeStale_(){jq(this)}onBO(){if(this.onBOL)this.onBOL.forEach((n)=>n())}onBUO(){if(this.onBUOL)this.onBUOL.forEach((n)=>n())}get isComputing(){return Di(this.flags_,1)}set isComputing(n){this.flags_=Mi(this.flags_,1,n)}get isRunningSetter(){return Di(this.flags_,2)}set isRunningSetter(n){this.flags_=Mi(this.flags_,2,n)}get isBeingObserved(){return Di(this.flags_,4)}set isBeingObserved(n){this.flags_=Mi(this.flags_,4,n)}get isPendingUnobservation(){return Di(this.flags_,8)}set isPendingUnobservation(n){this.flags_=Mi(this.flags_,8,n)}get diffValue(){return Di(this.flags_,16)?1:0}set diffValue(n){this.flags_=Mi(this.flags_,16,n===1?!0:!1)}get(){if(this.isComputing)He(32,this.name_,this.derivation);if(Ee.inBatch===0&&(!this.observers_||this.observers_.size===0)&&!this.keepAlive_){if(T1(this))this.warnAboutUntrackedRead_(),ei(),this.value_=this.computeValue_(!1),ti()}else{let r=this.isBeingObserved;if(r4(this),T1(this)){let a=Ee.trackingContext;if(!a&&(this.keepAlive_||this.isBeingObserved))Ee.trackingContext=this;if(this.trackAndCompute())Pq(this);Ee.trackingContext=a}else if(!r&&this.isBeingObserved)this.observing_.forEach(o4)}let n=this.value_;if(vC(n))throw n.cause;return n}set(n){if(this.setter_){if(this.isRunningSetter)He(33,this.name_);this.isRunningSetter=!0;try{this.setter_.call(this.scope_,n)}finally{this.isRunningSetter=!1}}else He(34,this.name_)}trackAndCompute(){let n=this.value_,r=this.dependenciesState_===-1,a=this.computeValue_(!0),l=r||vC(n)||vC(a)||!this.equals_(n,a);if(l){if(this.value_=a,Wo())Pu({observableKind:"computed",debugObjectName:this.name_,object:this.scope_,type:"update",oldValue:n,newValue:a})}return l}computeValue_(n){this.isComputing=!0;let r=PC(!1),a;if(n)a=Kk(this,this.derivation,this.scope_);else if(Ee.disableErrorBoundaries===!0)a=this.derivation.call(this.scope_);else try{a=this.derivation.call(this.scope_)}catch(l){a=new qg(l)}return jC(r),this.isComputing=!1,a}suspend_(){if(!this.keepAlive_)E1(this),this.value_=void 0}warnAboutUntrackedRead_(){if(typeof this.requiresReaction_==="boolean"?this.requiresReaction_:Ee.computedRequiresReaction)console.warn(`[mobx] Computed value '${this.name_}' is being read outside a reactive context. Doing a full recompute.`)}toString(){return`${this.name_}[${this.derivation.toString()}]`}valueOf(){return Mk(this.get())}[Symbol.toPrimitive](){return this.valueOf()}}var Wg=Jc("ComputedValue",Ms);class qg{constructor(n){this.cause=void 0,this.cause=n}}function vC(n){return n instanceof qg}function T1(n){switch(n.dependenciesState_){case 0:return!1;case-1:case 2:return!0;case 1:{let r=j1(!0),a=Fu(),l=n.observing_,f=l.length;for(let u=0;u<f;u++){let p=l[u];if(Wg(p)){if(Ee.disableErrorBoundaries)p.get();else try{p.get()}catch(h){return Us(a),Xg(r),!0}if(n.dependenciesState_===2)return Us(a),Xg(r),!0}}return Qk(n),Us(a),Xg(r),!1}}}function jl(n){let r=!!n.observers_&&n.observers_.size>0;if(!Ee.allowStateChanges&&(r||Ee.enforceActions==="always"))console.warn("[MobX] "+(Ee.enforceActions?"Since strict-mode is enabled, changing (observed) observable values without using an action is not allowed. Tried to modify: ":"Side effects like changing state are not allowed at this point. Are you trying to modify state from, for example, a computed value or the render function of a React component? You can wrap side effects in 'runInAction' (or decorate functions with 'action') if needed. Tried to modify: ")+n.name_)}function Mq(n){if(!Ee.allowStateReads&&Ee.observableRequiresReaction)console.warn(`[mobx] Observable '${n.name_}' being read outside a reactive context.`)}function Kk(n,r,a){let l=j1(!0);Qk(n),n.newObserving_=Array(n.runId_===0?100:n.observing_.length),n.unboundDepsCount_=0,n.runId_=++Ee.runId;let f=Ee.trackingDerivation;Ee.trackingDerivation=n,Ee.inBatch++;let u;if(Ee.disableErrorBoundaries===!0)u=r.call(a);else try{u=r.call(a)}catch(p){u=new qg(p)}return Ee.inBatch--,Ee.trackingDerivation=f,Nq(n),Uq(n),Xg(l),u}function Uq(n){if(n.observing_.length!==0)return;if(typeof n.requiresObservable_==="boolean"?n.requiresObservable_:Ee.reactionRequiresObservable)console.warn(`[mobx] Derivation '${n.name_}' is created/updated without reading any observable value.`)}function Nq(n){let r=n.observing_,a=n.observing_=n.newObserving_,l=0,f=0,u=n.unboundDepsCount_;for(let p=0;p<u;p++){let h=a[p];if(h.diffValue===0){if(h.diffValue=1,f!==p)a[f]=h;f++}if(h.dependenciesState_>l)l=h.dependenciesState_}a.length=f,n.newObserving_=null,u=r.length;while(u--){let p=r[u];if(p.diffValue===0)t4(p,n);p.diffValue=0}while(f--){let p=a[f];if(p.diffValue===1)p.diffValue=0,Lq(p,n)}if(l!==0)n.dependenciesState_=l,n.onBecomeStale_()}function E1(n){let r=n.observing_;n.observing_=[];let a=r.length;while(a--)t4(r[a],n);n.dependenciesState_=-1}function Jk(n){let r=Fu();try{return n()}finally{Us(r)}}function Fu(){let n=Ee.trackingDerivation;return Ee.trackingDerivation=null,n}function Us(n){Ee.trackingDerivation=n}function j1(n){let r=Ee.allowStateReads;return Ee.allowStateReads=n,r}function Xg(n){Ee.allowStateReads=n}function Qk(n){if(n.dependenciesState_===0)return;n.dependenciesState_=0;let r=n.observing_,a=r.length;while(a--)r[a].lowestObserverState_=0}var e4=7;class D1{constructor(){this.version=e4,this.UNCHANGED={},this.trackingDerivation=null,this.trackingContext=null,this.runId=0,this.mobxGuid=0,this.inBatch=0,this.pendingUnobservations=[],this.pendingReactions=[],this.isRunningReactions=!1,this.isRunningUnobservations=!1,this.allowStateChanges=!1,this.allowStateReads=!0,this.enforceActions=!0,this.spyListeners=[],this.globalReactionErrorHandlers=[],this.computedRequiresReaction=!1,this.reactionRequiresObservable=!1,this.observableRequiresReaction=!1,this.disableErrorBoundaries=!1,this.suppressReactionErrors=!1,this.safeDescriptors=!0}}var w1=!0,Bq=!1,Ee=function(){let n=globalThis;if(n.__mobxInstanceCount>0&&!n.__mobxGlobals)w1=!1;if(n.__mobxGlobals&&n.__mobxGlobals.version!==e4)w1=!1;if(!w1)return setTimeout(()=>{if(!Bq)He(35)},1),new D1;else if(n.__mobxGlobals){if(n.__mobxInstanceCount+=1,!n.__mobxGlobals.UNCHANGED)n.__mobxGlobals.UNCHANGED={};return n.__mobxGlobals}else return n.__mobxInstanceCount=1,n.__mobxGlobals=new D1}();function F1(){return Ee}function Lq(n,r){var a;if(((a=n.observers_)!=null?a:n.observers_=new Set).add(r),n.lowestObserverState_>r.dependenciesState_)n.lowestObserverState_=r.dependenciesState_}function t4(n,r){let a=n.observers_;if(!a)return;if(a.delete(r),a.size===0)n4(n)}function n4(n){if(n.isPendingUnobservation===!1)n.isPendingUnobservation=!0,Ee.pendingUnobservations.push(n)}function ei(){Ee.inBatch++}function ti(){if(--Ee.inBatch===0){if(a4(),!Ee.isRunningUnobservations&&Ee.pendingUnobservations.length>0)kq()}}function kq(){Ee.isRunningUnobservations=!0;try{let n=Ee.pendingUnobservations;for(let r=0;r<n.length;r++){let a=n[r];if(a.isPendingUnobservation=!1,!a.observers_||a.observers_.size===0){if(a.observers_=null,a.isBeingObserved)a.isBeingObserved=!1,a.onBUO();if(a instanceof Ms)a.suspend_()}}Ee.pendingUnobservations=[]}finally{Ee.isRunningUnobservations=!1}}function o4(n){var r;if(n.isBeingObserved)return;n.isBeingObserved=!0,n.onBO(),(r=n.observing_)==null||r.forEach(o4)}function r4(n){Mq(n);let r=Ee.trackingDerivation;if(r!==null){if(r.runId_!==n.lastAccessedBy_){if(n.lastAccessedBy_=r.runId_,r.newObserving_[r.unboundDepsCount_++]=n,!n.isBeingObserved&&Ee.trackingContext)n.isBeingObserved=!0,n.onBO()}return n.isBeingObserved}else if((!n.observers_||n.observers_.size===0)&&Ee.inBatch>0)n4(n);return!1}function i4(n){var r;if(n.lowestObserverState_===2)return;n.lowestObserverState_=2,(r=n.observers_)==null||r.forEach((a)=>{if(a.dependenciesState_===0)a.onBecomeStale_();a.dependenciesState_=2})}function Pq(n){var r;if(n.lowestObserverState_===2)return;n.lowestObserverState_=2,(r=n.observers_)==null||r.forEach((a)=>{if(a.dependenciesState_===1)a.dependenciesState_=2;else if(a.dependenciesState_===0)n.lowestObserverState_=0})}function jq(n){var r;if(n.lowestObserverState_!==0)return;n.lowestObserverState_=1,(r=n.observers_)==null||r.forEach((a)=>{if(a.dependenciesState_===0)a.dependenciesState_=1,a.onBecomeStale_()})}class ku{constructor(n="Reaction@"+ha(),r,a,l){this.name_=void 0,this.onInvalidate_=void 0,this.errorHandler_=void 0,this.requiresObservable_=void 0,this.observing_=[],this.newObserving_=[],this.dependenciesState_=-1,this.runId_=0,this.unboundDepsCount_=0,this.flags_=0,this.name_=n,this.onInvalidate_=r,this.errorHandler_=a,this.requiresObservable_=l}get isDisposed(){return Di(this.flags_,1)}set isDisposed(n){this.flags_=Mi(this.flags_,1,n)}get isScheduled(){return Di(this.flags_,2)}set isScheduled(n){this.flags_=Mi(this.flags_,2,n)}get isTrackPending(){return Di(this.flags_,4)}set isTrackPending(n){this.flags_=Mi(this.flags_,4,n)}get isRunning(){return Di(this.flags_,8)}set isRunning(n){this.flags_=Mi(this.flags_,8,n)}get diffValue(){return Di(this.flags_,16)?1:0}set diffValue(n){this.flags_=Mi(this.flags_,16,n===1?!0:!1)}onBecomeStale_(){this.schedule_()}schedule_(){if(!this.isScheduled)this.isScheduled=!0,Ee.pendingReactions.push(this),a4()}runReaction_(){if(!this.isDisposed){ei(),this.isScheduled=!1;let n=Ee.trackingContext;if(Ee.trackingContext=this,T1(this)){this.isTrackPending=!0;try{if(this.onInvalidate_(),this.isTrackPending&&Wo())Pu({name:this.name_,type:"scheduled-reaction"})}catch(r){this.reportExceptionInDerivation_(r)}}Ee.trackingContext=n,ti()}}track(n){if(this.isDisposed)return;ei();let r=Wo(),a;if(r)a=Date.now(),Ui({name:this.name_,type:"reaction"});this.isRunning=!0;let l=Ee.trackingContext;Ee.trackingContext=this;let f=Kk(this,n,void 0);if(Ee.trackingContext=l,this.isRunning=!1,this.isTrackPending=!1,this.isDisposed)E1(this);if(vC(f))this.reportExceptionInDerivation_(f.cause);if(r)Ni({time:Date.now()-a});ti()}reportExceptionInDerivation_(n){if(this.errorHandler_){this.errorHandler_(n,this);return}if(Ee.disableErrorBoundaries)throw n;let r=`[mobx] Encountered an uncaught exception that was thrown by a reaction or observer component, in: '${this}'`;if(!Ee.suppressReactionErrors)console.error(r,n);else console.warn(`[mobx] (error in reaction '${this.name_}' suppressed, fix error of causing action below)`);if(Wo())Pu({type:"error",name:this.name_,message:r,error:""+n});Ee.globalReactionErrorHandlers.forEach((a)=>a(n,this))}dispose(){if(!this.isDisposed){if(this.isDisposed=!0,!this.isRunning)ei(),E1(this),ti()}}getDisposer_(n){let r=()=>{this.dispose(),n==null||n.removeEventListener==null||n.removeEventListener("abort",r)};if(n==null||n.addEventListener==null||n.addEventListener("abort",r),r[dt]=this,"dispose"in Symbol&&typeof Symbol.dispose==="symbol")r[Symbol.dispose]=r;return r}toString(){return`Reaction[${this.name_}]`}}var Ck=100,Fq=(n)=>n();function a4(){if(Ee.inBatch>0||Ee.isRunningReactions)return;Fq(Hq)}function Hq(){Ee.isRunningReactions=!0;let n=Ee.pendingReactions,r=0;while(n.length>0){if(++r===Ck)console.error(`Reaction doesn't converge to a stable state after ${Ck} iterations. Probably there is a cycle in the reactive function: ${n[0]}`),n.splice(0);let a=n.splice(0);for(let l=0,f=a.length;l<f;l++)a[l].runReaction_()}Ee.isRunningReactions=!1}var RC=Jc("Reaction",ku);function Wo(){return!!Ee.spyListeners.length}function Pu(n){if(!Ee.spyListeners.length)return;let r=Ee.spyListeners;for(let a=0,l=r.length;a<l;a++)r[a](n)}function Ui(n){let r=ni({},n,{spyReportStart:!0});Pu(r)}var zq={type:"report-end",spyReportEnd:!0};function Ni(n){if(n)Pu(ni({},n,{type:"report-end",spyReportEnd:!0}));else Pu(zq)}function Vq(n){return Ee.spyListeners.push(n),B1(()=>{Ee.spyListeners=Ee.spyListeners.filter((r)=>r!==n)})}var H1="action";var l4="autoAction",Gq="autoAction.bound",s4="<unnamed action>",c4=LC(H1);var f4=LC(l4,{autoAction:!0}),Xq=LC(Gq,{autoAction:!0,bound:!0});function u4(n){return kC(n,Uk)}function d4(n){return function(l,f){if(f&&typeof f.kind==="string")return Uk(n?f4:c4,l,f);if(Bo(l))return Kc(l.name||s4,l,n);if(Bo(f))return Kc(l,f,n);if(yC(l))return u4(LC(n?l4:H1,{name:l,autoAction:n}));He("Invalid arguments for `action`")}}var yo=d4(!1);ni(yo,c4);var z1=d4(!0);ni(z1,f4);var qq=u4(Xq);function FC(n){return Wk(n.name||s4,!1,n,this,void 0)}function ju(n){return Bo(n)&&n.isMobxAction===!0}function p4(n,r=N1){var a,l;if(!Bo(n))He("Autorun expects a function as first argument");if(ju(n))He("Autorun does not accept actions since actions are untrackable");let f=(a=r==null?void 0:r.name)!=null?a:n.name||"Autorun@"+ha(),u=!r.scheduler&&!r.delay,p;if(u)p=new ku(f,function(){this.track(h)},r.onError,r.requiresObservable);else{let b=m4(r),x=!1;p=new ku(f,()=>{if(!x)x=!0,b(()=>{if(x=!1,!p.isDisposed)p.track(h)})},r.onError,r.requiresObservable)}function h(){n(p)}if(!(r!=null&&(l=r.signal)!=null&&l.aborted))p.schedule_();return p.getDisposer_(r==null?void 0:r.signal)}var $q=(n)=>n();function m4(n){return n.scheduler?n.scheduler:n.delay?(r)=>setTimeout(r,n.delay):$q}function h4(n,r,a=N1){var l,f;if(!Bo(n)||!Bo(r))He("First and second argument to reaction should be functions");if(!Fl(a))He("Third argument of reactions should be an object");let u=(l=a.name)!=null?l:"Reaction@"+ha(),p=yo(u,a.onError?Yq(a.onError,r):r),h=!a.scheduler&&!a.delay,b=m4(a),x=!0,y=!1,_,v=a.equals||P1,I=new ku(u,()=>{if(x||h)O();else if(!y)y=!0,b(O)},a.onError,a.requiresObservable);function O(){if(y=!1,I.isDisposed)return;let A=!1,D=_;if(I.track(()=>{let k=Zk(!1,()=>n(I));A=x||!v(_,k),_=k}),x&&a.fireImmediately)p(_,D,I);else if(!x&&A)p(_,D,I);x=!1}if(!(a!=null&&(f=a.signal)!=null&&f.aborted))I.schedule_();return I.getDisposer_(a==null?void 0:a.signal)}function Yq(n,r){return function(){try{return r.apply(this,arguments)}catch(a){n.call(this,a)}}}function Wq(n,r,a,l){if(arguments.length>4)He("'extendObservable' expected 2-4 arguments");if(typeof n!=="object")He("'extendObservable' expects an object as first argument");if(Li(n))He("'extendObservable' should not be used on maps, use map.merge instead");if(!Fl(r))He("'extendObservable' only accepts plain objects as second argument");if(OC(r)||OC(a))He("Extending an object with another observable (object) is not supported");let f=JX(r);return Qp(()=>{let u=Kg(n,l)[dt];L1(f).forEach((p)=>{u.extend_(p,f[p],!a?!0:(p in a)?a[p]:!0)})}),n}function g4(n,r){return b4(Zp(n,r))}function b4(n){let r={name:n.name_};if(n.observing_&&n.observing_.length>0)r.dependencies=Zq(n.observing_).map(b4);return r}function Zq(n){return Array.from(new Set(n))}var Kq=0;class x4 extends Error{constructor(){super("FLOW_CANCELLED");Object.setPrototypeOf(this,new.target.prototype),this.name="FlowCancellationError"}toString(){return`Error: ${this.message}`}}function Jq(n){return kC(n,Lk)}var yk=Bk("flow"),Qq=Bk("flow.bound",{bound:!0}),HC=ni(function(r,a){if(a&&typeof a.kind==="string")return Lk(yk,r,a);if(arguments.length!==1)He("Flow expects single argument with generator function");let l=r,f=l.name||"<unnamed flow>",u=function(){let h=this,b=arguments,x=++Kq,y=yo(`${f} - runid: ${x} - init`,l).apply(h,b),_,v=void 0,I=new Promise(function(A,D){let k=0;_=D;function z(G){v=void 0;let K;try{K=yo(`${f} - runid: ${x} - yield ${k++}`,y.next).call(y,G)}catch(ie){return D(ie)}V(K)}function M(G){v=void 0;let K;try{K=yo(`${f} - runid: ${x} - yield ${k++}`,y.throw).call(y,G)}catch(ie){return D(ie)}V(K)}function V(G){if(Bo(G==null?void 0:G.then)){G.then(V,D);return}if(G.done)return A(G.value);return v=Promise.resolve(G.value),v.then(z,M)}z(void 0)}),O=`${f} - runid: ${x} - cancel`;return I.cancel=yo(O,function(){try{if(v)Sk(v);let A=y.return(void 0),D=Promise.resolve(A.value);D.then(Wp,Wp),Sk(D),_(new x4)}catch(A){_(A)}}),I};return u.isMobXFlow=!0,u},yk),e$=Jq(Qq);function Sk(n){if(Bo(n.cancel))n.cancel()}function $g(n){return(n==null?void 0:n.isMobXFlow)===!0}function V1(n,r,a){let l;if(Li(n)||qa(n)||Dq(n))l=ma(n);else if(oi(n)){if(!yC(r))return He("InterceptReads can only be used with a specific property, not with an object in general");l=ma(n,r)}else return He("Expected observable map, object or array as first array");if(l.dehancer!==void 0)return He("An intercept reader was already established");return l.dehancer=typeof r==="function"?r:a,()=>{l.dehancer=void 0}}function zC(n,r,a){if(Bo(a))return n$(n,r,a);else return t$(n,r)}function t$(n,r){return y4(ma(n),r)}function n$(n,r,a){return y4(ma(n,r),a)}function o$(n,r){if(!n)return!1;if(r!==void 0){if(Li(n)||qa(n))return He("isObservable(object, propertyName) is not supported for arrays and maps. Use map.has or array.length instead.");if(oi(n)){var a,l;let f=n[dt];return f.values_.has(r)||!!((a=f.lazyComputedKeys_)!=null&&a.has(r))||!!((l=f.lazyObservableKeys_)!=null&&l.has(r))}return!1}return oi(n)||!!n[dt]||k1(n)||RC(n)||Wg(n)}function OC(n){if(arguments.length!==1)He("isObservable expects only 1 argument. Use isObservableProp to inspect the observability of a property");return o$(n)}function wC(n){if(oi(n))return n[dt].keys_();if(Li(n)||Hl(n))return Array.from(n.keys());if(qa(n))return n.map((r,a)=>a);He(5)}function G1(n){if(oi(n))return wC(n).map((r)=>n[r]);if(Li(n))return wC(n).map((r)=>n.get(r));if(Hl(n))return Array.from(n.values());if(qa(n))return n.slice();He(6)}function I4(n){if(oi(n))return wC(n).map((r)=>[r,n[r]]);if(Li(n))return wC(n).map((r)=>[r,n.get(r)]);if(Hl(n))return Array.from(n.entries());if(qa(n))return n.map((r,a)=>[a,r]);He(7)}function X1(n,r,a){if(arguments.length===2&&!Hl(n)){ei();let l=r;try{for(let f in l)X1(n,f,l[f])}finally{ti()}return}if(oi(n))n[dt].set_(r,a);else if(Li(n))n.set(r,a);else if(Hl(n))n.add(r);else if(qa(n)){if(typeof r!=="number")r=parseInt(r,10);if(r<0)He(42,r);if(ei(),r>=n.length)n.length=r+1;n[r]=a,ti()}else He(8)}function q1(n,r,a){if(oi(n))return n[dt].defineProperty_(r,a);He(39)}function VC(n,r,a,l){if(Bo(a))return i$(n,r,a,l);else return r$(n,r,a)}function r$(n,r,a){let l=ma(n);if(qa(n)){if(a)r({observableKind:"array",object:l.proxy_,debugObjectName:l.atom_.name_,type:"splice",index:0,added:l.values_.slice(),addedCount:l.values_.length,removed:[],removedCount:0})}else if(Li(n)){if(a===!0)He("`observe` doesn't support fireImmediately=true in combination with maps.")}else if(Hl(n)){if(a===!0)He("`observe` doesn't support fireImmediately=true in combination with sets.")}else if(oi(n)){if(a===!0)He("`observe` doesn't support the fire immediately property for observable objects.")}else return v4(l,r,a);return S4(l,r)}function i$(n,r,a,l){return v4(ma(n,r),a,l)}function v4(n,r,a){if(Wg(n)){let l=!0,f=void 0;return p4(()=>{let u=n.get();if(!l||a){let p=Fu();r({observableKind:"computed",debugObjectName:n.name_,type:Ga,object:n,newValue:u,oldValue:f}),Us(p)}l=!1,f=u})}if(a)r({observableKind:"value",debugObjectName:n.name_,object:n,type:Ga,newValue:n.value_,oldValue:void 0});return S4(n,r)}function Ts(n,r=void 0){ei();try{return n.apply(r)}finally{ti()}}function $1(n,r,a){if(arguments.length===1||r&&typeof r==="object")return a$(n,r);return C4(n,r,a||{})}function C4(n,r,a){let l;if(typeof a.timeout==="number"){let p=Error("WHEN_TIMEOUT");l=setTimeout(()=>{if(!u[dt].isDisposed)if(u(),a.onError)a.onError(p);else throw p},a.timeout)}a.name=a.name||"When@"+ha();let f=Kc(a.name+"-effect",r);var u=p4((p)=>{if(Zk(!1,n)){if(p.dispose(),l)clearTimeout(l);f()}},a);return u}function a$(n,r){var a;if(r&&r.onError)return He("the options 'onError' and 'promise' cannot be combined");if(r!=null&&(a=r.signal)!=null&&a.aborted)return ni(Promise.reject(Error("WHEN_ABORTED")),{cancel:()=>null});let l,f,u=new Promise((p,h)=>{var b;let x=C4(n,p,ni({},r,{onError:h}));l=()=>{x(),h(Error("WHEN_CANCELLED"))},f=()=>{x(),h(Error("WHEN_ABORTED"))},r==null||(b=r.signal)==null||b.addEventListener==null||b.addEventListener("abort",f)}).finally(()=>{var p;return r==null||(p=r.signal)==null||p.removeEventListener==null?void 0:p.removeEventListener("abort",f)});return u.cancel=l,u}function Yp(n){return n[dt]}var l$={has(n,r){return Yp(n).has_(r)},get(n,r){return Yp(n).get_(r)},set(n,r,a){var l;if(!yC(r))return!1;return(l=Yp(n).set_(r,a,!0))!=null?l:!0},deleteProperty(n,r){var a;if(!yC(r))return!1;return(a=Yp(n).delete_(r,!0))!=null?a:!0},defineProperty(n,r,a){var l;return(l=Yp(n).defineProperty_(r,a))!=null?l:!0},ownKeys(n){return Yp(n).ownKeys_()},preventExtensions(n){He(13)}};function s$(n,r){var a,l;return n=Kg(n,r),(l=(a=n[dt]).proxy_)!=null?l:a.proxy_=new Proxy(n,l$)}function da(n){return n.interceptors_!==void 0&&n.interceptors_.length>0}function y4(n,r){let a=n.interceptors_;if(a)a.push(r);else a=n.interceptors_=[r];return B1(()=>{let l=a.indexOf(r);if(l!==-1)a.splice(l,1)})}function pa(n,r){let a=Fu();try{let l=[...n.interceptors_||[]];for(let f=0,u=l.length;f<u;f++){if(r=l[f](r),r&&!r.type)He(14);if(!r)break}return r}finally{Us(a)}}function za(n){return n.changeListeners_!==void 0&&n.changeListeners_.length>0}function S4(n,r){let a=n.changeListeners_;if(a)a.push(r);else a=n.changeListeners_=[r];return B1(()=>{let l=a.indexOf(r);if(l!==-1)a.splice(l,1)})}function Va(n,r){let a=Fu(),l=n.changeListeners_;if(!l)return;l=l.slice();for(let f=0,u=l.length;f<u;f++)l[f](r);Us(a)}function _4(n,r,a){return Qp(()=>{let l=Kg(n,a)[dt];L1(r).forEach((f)=>c$(l,f,r[f]))}),n}function c$(n,r,a){if(a===!0)a=n.defaultAnnotation_;if(a===!1)return;if(w4(n,a,r),!(r in n.target_))He(1,a.annotationType_,`${n.name_}.${r.toString()}`);let l=n.target_;while(l&&l!==DC){let f=U1(l,r);if(f){let u=a.make_(n,r,f,l);if(u===0)return;if(u===1)break}l=Object.getPrototypeOf(l)}O4(n,a,r)}var _k="splice",Ga="update",f$=1e4,u$={get(n,r){let a=n[dt];if(r===dt)return a;if(r==="length")return a.getArrayLength_();if(typeof r==="string"&&!isNaN(r))return a.get_(parseInt(r));if(Zc(M1,r))return M1[r];return n[r]},set(n,r,a){let l=n[dt];if(r==="length")l.setArrayLength_(a);if(typeof r==="symbol"||isNaN(r))n[r]=a;else l.set_(parseInt(r),a);return!0},preventExtensions(){He(15)}};class Y1{constructor(n="ObservableArray@"+ha(),r,a){this.owned_=void 0,this.atom_=void 0,this.values_=[],this.interceptors_=void 0,this.changeListeners_=void 0,this.enhancer_=void 0,this.dehancer=void 0,this.proxy_=void 0,this.lastKnownLength_=0,this.owned_=a,this.atom_=new Kp(n),this.enhancer_=(l,f)=>r(l,f,n+"[..]")}dehanceValue_(n){if(this.dehancer!==void 0)return this.dehancer(n);return n}dehanceValues_(n){if(this.dehancer!==void 0&&n.length>0)return n.map(this.dehancer);return n}getArrayLength_(){return this.atom_.reportObserved(),this.values_.length}setArrayLength_(n){if(typeof n!=="number"||isNaN(n)||n<0)He(40,n);let r=this.values_.length;if(n===r)return;else if(n>r){let a=Array.from({length:n-r});this.spliceWithArray_(r,0,a)}else this.spliceWithArray_(n,r-n)}updateArrayLength_(n,r){if(n!==this.lastKnownLength_)He(16);this.lastKnownLength_+=r}spliceWithArray_(n,r,a){jl(this.atom_);let l=this.values_.length;if(n===void 0)n=0;else if(n>l)n=l;else if(n<0)n=Math.max(0,l+n);if(arguments.length===1)r=l-n;else if(r===void 0||r===null)r=0;else r=Math.max(0,Math.min(r,l-n));if(a===void 0)a=CC;if(da(this)){let u=pa(this,{object:this.proxy_,type:_k,index:n,removedCount:r,added:a});if(!u)return CC;r=u.removedCount,a=u.added}a=a.length===0?a:a.map((u)=>this.enhancer_(u,void 0));{let u=a.length-r;this.updateArrayLength_(l,u)}let f=this.spliceItemsIntoValues_(n,r,a);if(r!==0||a.length!==0)this.notifyArraySplice_(n,a,f);return this.dehanceValues_(f)}spliceItemsIntoValues_(n,r,a){if(a.length<f$)return this.values_.splice(n,r,...a);else{let l=this.values_.slice(n,n+r),f=this.values_.slice(n+r);this.values_.length+=a.length-r;for(let u=0;u<a.length;u++)this.values_[n+u]=a[u];for(let u=0;u<f.length;u++)this.values_[n+a.length+u]=f[u];return l}}notifyArrayChildUpdate_(n,r,a){let l=!this.owned_&&Wo(),f=za(this),u=f||l?{observableKind:"array",object:this.proxy_,type:Ga,debugObjectName:this.atom_.name_,index:n,newValue:r,oldValue:a}:null;if(l)Ui(u);if(this.atom_.reportChanged(),f)Va(this,u);if(l)Ni()}notifyArraySplice_(n,r,a){let l=!this.owned_&&Wo(),f=za(this),u=f||l?{observableKind:"array",object:this.proxy_,debugObjectName:this.atom_.name_,type:_k,index:n,removed:a,added:r,removedCount:a.length,addedCount:r.length}:null;if(l)Ui(u);if(this.atom_.reportChanged(),f)Va(this,u);if(l)Ni()}get_(n){return this.atom_.reportObserved(),this.dehanceValue_(this.values_[n])}set_(n,r){let a=this.values_;if(n<a.length){jl(this.atom_);let l=a[n];if(da(this)){let u=pa(this,{type:Ga,object:this.proxy_,index:n,newValue:r});if(!u)return;r=u.newValue}if(r=this.enhancer_(r,l),r!==l)a[n]=r,this.notifyArrayChildUpdate_(n,r,l)}else{let l=Array.from({length:n+1-a.length});l[l.length-1]=r,this.spliceWithArray_(a.length,0,l)}}}function d$(n,r,a="ObservableArray@"+ha(),l=!1){return Qp(()=>{let f=new Y1(a,r,l);WX(f.values_,dt,f);let u=new Proxy(f.values_,u$);if(f.proxy_=u,n&&n.length)f.spliceWithArray_(0,0,n);return u})}var M1={clear(){return this.splice(0)},replace(n){let r=this[dt];return r.spliceWithArray_(0,r.values_.length,n)},toJSON(){return this.slice()},splice(n,r,...a){let l=this[dt];switch(arguments.length){case 0:return[];case 1:return l.spliceWithArray_(n);case 2:return l.spliceWithArray_(n,r)}return l.spliceWithArray_(n,r,a)},spliceWithArray(n,r,a){return this[dt].spliceWithArray_(n,r,a)},push(...n){let r=this[dt];return r.spliceWithArray_(r.values_.length,0,n),r.values_.length},pop(){return this.splice(Math.max(this[dt].values_.length-1,0),1)[0]},shift(){return this.splice(0,1)[0]},unshift(...n){let r=this[dt];return r.spliceWithArray_(0,0,n),r.values_.length},reverse(){if(Ee.trackingDerivation)He(37,"reverse");return this.replace(this.slice().reverse()),this},sort(){if(Ee.trackingDerivation)He(37,"sort");let n=this.slice();return n.sort.apply(n,arguments),this.replace(n),this},remove(n){let r=this[dt],a=r.dehanceValues_(r.values_).indexOf(n);if(a>-1)return this.splice(a,1),!0;return!1}};bn("at",Bi);bn("concat",Bi);bn("flat",Bi);bn("includes",Bi);bn("indexOf",Bi);bn("join",Bi);bn("lastIndexOf",Bi);bn("slice",Bi);bn("toString",Bi);bn("toLocaleString",Bi);bn("toSorted",Bi);bn("toSpliced",Bi);bn("with",Bi);bn("every",Xa);bn("filter",Xa);bn("find",Xa);bn("findIndex",Xa);bn("findLast",Xa);bn("findLastIndex",Xa);bn("flatMap",Xa);bn("forEach",Xa);bn("map",Xa);bn("some",Xa);bn("toReversed",Xa);bn("reduce",R4);bn("reduceRight",R4);function bn(n,r){if(typeof Array.prototype[n]==="function")M1[n]=r(n)}function Bi(n){return function(){let r=this[dt];r.atom_.reportObserved();let a=r.dehanceValues_(r.values_);return a[n].apply(a,arguments)}}function Xa(n){return function(r,a){let l=this[dt];return l.atom_.reportObserved(),l.dehanceValues_(l.values_)[n]((u,p)=>r.call(a,u,p,this))}}function R4(n){return function(){let r=this[dt];r.atom_.reportObserved();let a=r.dehanceValues_(r.values_),l=arguments[0];return arguments[0]=(f,u,p)=>l(f,u,p,this),a[n].apply(a,arguments)}}var p$=Jc("ObservableArrayAdministration",Y1);function qa(n){return MC(n)&&p$(n[dt])}var m$={},Wc="add",AC="delete";class Zg{constructor(n,r=Lu,a="ObservableMap@"+ha()){this.enhancer_=void 0,this.name_=void 0,this[dt]=m$,this.data_=void 0,this.hasMap_=void 0,this.keysAtom_=void 0,this.interceptors_=void 0,this.changeListeners_=void 0,this.dehancer=void 0,this.enhancer_=r,this.name_=a,Qp(()=>{if(this.keysAtom_=Yg(`${this.name_}.keys()`),this.data_=new Map,this.hasMap_=new Map,n)this.merge(n)})}has_(n){return this.data_.has(n)}has(n){if(!Ee.trackingDerivation)return this.has_(n);let r=this.hasMap_.get(n);if(!r){let a=r=new Ds(this.has_(n),BC,`${this.name_}.${A1(n)}?`,!1);this.hasMap_.set(n,a),a.onBUOL=new Set([()=>this.hasMap_.delete(n)])}return r.get()}set(n,r){let a=this.has_(n);if(da(this)){let l=pa(this,{type:a?Ga:Wc,object:this,newValue:r,name:n});if(!l)return this;r=l.newValue}if(a)this.updateValue_(n,r);else this.addValue_(n,r);return this}delete(n){if(jl(this.keysAtom_),da(this)){if(!pa(this,{type:AC,object:this,name:n}))return!1}if(this.has_(n)){let r=Wo(),a=za(this),l=a||r?{observableKind:"map",debugObjectName:this.name_,type:AC,object:this,oldValue:this.data_.get(n).value_,name:n}:null;if(r)Ui(l);if(Ts(()=>{var f;this.keysAtom_.reportChanged(),(f=this.hasMap_.get(n))==null||f.setNewValue_(!1),this.data_.get(n).setNewValue_(void 0),this.data_.delete(n)}),a)Va(this,l);if(r)Ni();return!0}return!1}updateValue_(n,r){let a=this.data_.get(n);if(r=a.prepareNewValue_(r),r!==Ee.UNCHANGED){let l=Wo(),f=za(this),u=f||l?{observableKind:"map",debugObjectName:this.name_,type:Ga,object:this,oldValue:a.value_,name:n,newValue:r}:null;if(l)Ui(u);if(a.setNewValue_(r),f)Va(this,u);if(l)Ni()}}addValue_(n,r){jl(this.keysAtom_),Ts(()=>{var u;let p=new Ds(r,this.enhancer_,`${this.name_}.${A1(n)}`,!1);this.data_.set(n,p),r=p.value_,(u=this.hasMap_.get(n))==null||u.setNewValue_(!0),this.keysAtom_.reportChanged()});let a=Wo(),l=za(this),f=l||a?{observableKind:"map",debugObjectName:this.name_,type:Wc,object:this,name:n,newValue:r}:null;if(a)Ui(f);if(l)Va(this,f);if(a)Ni()}get(n){if(this.has(n))return this.dehanceValue_(this.data_.get(n).get());return this.dehanceValue_(void 0)}getOrInsert(n,r){if(!this.has(n))this.set(n,r);return this.get(n)}getOrInsertComputed(n,r){if(!this.has(n))this.set(n,r(n));return this.get(n)}dehanceValue_(n){if(this.dehancer!==void 0)return this.dehancer(n);return n}keys(){return this.keysAtom_.reportObserved(),this.data_.keys()}values(){let n=this,r=this.keys();return Rk({next(){let{done:a,value:l}=r.next();return{done:a,value:a?void 0:n.get(l)}}})}entries(){let n=this,r=this.keys();return Rk({next(){let{done:a,value:l}=r.next();return{done:a,value:a?void 0:[l,n.get(l)]}}})}[Symbol.iterator](){return this.entries()}forEach(n,r){for(let[a,l]of this)n.call(r,l,a,this)}merge(n){if(Li(n))n=new Map(n);return Ts(()=>{if(Fl(n))KX(n).forEach((r)=>this.set(r,n[r]));else if(Array.isArray(n))n.forEach(([r,a])=>this.set(r,a));else if(UC(n)){if(!ZX(n))He(19,n);n.forEach((r,a)=>this.set(a,r))}else if(n!==null&&n!==void 0)He(20,n)}),this}clear(){Ts(()=>{Jk(()=>{for(let n of this.keys())this.delete(n)})})}replace(n){return Ts(()=>{let r=h$(n),a=new Map,l=!1;for(let f of this.data_.keys())if(!r.has(f))if(this.delete(f))l=!0;else{let p=this.data_.get(f);a.set(f,p)}for(let[f,u]of r.entries()){let p=this.data_.has(f);if(this.set(f,u),this.data_.has(f)){let h=this.data_.get(f);if(a.set(f,h),!p)l=!0}}if(!l)if(this.data_.size!==a.size)this.keysAtom_.reportChanged();else{let f=this.data_.keys(),u=a.keys(),p=f.next(),h=u.next();while(!p.done){if(p.value!==h.value){this.keysAtom_.reportChanged();break}p=f.next(),h=u.next()}}this.data_=a}),this}get size(){return this.keysAtom_.reportObserved(),this.data_.size}toString(){return"[object ObservableMap]"}toJSON(){return Array.from(this)}get[Symbol.toStringTag](){return"Map"}}var Li=Jc("ObservableMap",Zg);function Rk(n){return n[Symbol.toStringTag]="MapIterator",A4(n)}function h$(n){if(UC(n)||Li(n))return n;else if(Array.isArray(n))return new Map(n);else if(Fl(n)){let r=new Map;for(let a in n)r.set(a,n[a]);return r}else return He(21,n)}var g$={};class W1{constructor(n,r=Lu,a="ObservableSet@"+ha()){this.name_=void 0,this[dt]=g$,this.data_=new Set,this.atom_=void 0,this.changeListeners_=void 0,this.interceptors_=void 0,this.dehancer=void 0,this.enhancer_=void 0,this.name_=a,this.enhancer_=(l,f)=>r(l,f,a),Qp(()=>{if(this.atom_=Yg(this.name_),n)this.replace(n)})}dehanceValue_(n){if(this.dehancer!==void 0)return this.dehancer(n);return n}clear(){Ts(()=>{Jk(()=>{for(let n of this.data_.values())this.delete(n)})})}forEach(n,r){for(let a of this)n.call(r,a,a,this)}get size(){return this.atom_.reportObserved(),this.data_.size}add(n){if(jl(this.atom_),da(this)){let r=pa(this,{type:Wc,object:this,newValue:n});if(!r)return this;n=r.newValue}if(!this.has(n)){Ts(()=>{this.data_.add(this.enhancer_(n,void 0)),this.atom_.reportChanged()});let r=Wo(),a=za(this),l=a||r?{observableKind:"set",debugObjectName:this.name_,type:Wc,object:this,newValue:n}:null;if(r)Ui(l);if(a)Va(this,l);if(r)Ni()}return this}delete(n){if(da(this)){if(!pa(this,{type:AC,object:this,oldValue:n}))return!1}if(this.has(n)){let r=Wo(),a=za(this),l=a||r?{observableKind:"set",debugObjectName:this.name_,type:AC,object:this,oldValue:n}:null;if(r)Ui(l);if(Ts(()=>{this.atom_.reportChanged(),this.data_.delete(n)}),a)Va(this,l);if(r)Ni();return!0}return!1}has(n){return this.atom_.reportObserved(),this.data_.has(this.dehanceValue_(n))}entries(){let n=this.values();return Ok({next(){let{value:r,done:a}=n.next();return!a?{value:[r,r],done:a}:{value:void 0,done:a}}})}keys(){return this.values()}values(){this.atom_.reportObserved();let n=this,r=this.data_.values();return Ok({next(){let{value:a,done:l}=r.next();return!l?{value:n.dehanceValue_(a),done:l}:{value:void 0,done:l}}})}intersection(n){return new Set(this).intersection(n)}union(n){return new Set(this).union(n)}difference(n){return new Set(this).difference(n)}symmetricDifference(n){return new Set(this).symmetricDifference(n)}isSubsetOf(n){return new Set(this).isSubsetOf(n)}isSupersetOf(n){return new Set(this).isSupersetOf(n)}isDisjointFrom(n){return new Set(this).isDisjointFrom(n)}replace(n){if(Hl(n))n=new Set(n);if(Array.isArray(n)||SC(n))Ts(()=>{let r=SC(n)?n:new Set(n);if(r.size===0){this.clear();return}if(this.data_.size===0){r.forEach((a)=>this.add(a));return}for(let a of this.data_.values())if(!r.has(this.dehanceValue_(a)))this.delete(a);r.forEach((a)=>this.add(a))});else if(n!==null&&n!==void 0)He(41,n);return this}toJSON(){return Array.from(this)}toString(){return"[object ObservableSet]"}[Symbol.iterator](){return this.values()}get[Symbol.toStringTag](){return"Set"}}var Hl=Jc("ObservableSet",W1);function Ok(n){return n[Symbol.toStringTag]="SetIterator",A4(n)}var wk=Object.create(null),Ak="remove";class TC{constructor(n,r=new Map,a,l=zk){if(this.target_=void 0,this.values_=void 0,this.name_=void 0,this.defaultAnnotation_=void 0,this.keysAtom_=void 0,this.changeListeners_=void 0,this.interceptors_=void 0,this.proxy_=void 0,this.isPlainObject_=void 0,this.appliedAnnotations_=void 0,this.pendingKeys_=void 0,this.lazyComputedKeys_=void 0,this.lazyObservableKeys_=void 0,this.target_=n,this.values_=r,this.name_=a,this.defaultAnnotation_=l,this.keysAtom_=new Kp(`${this.name_}.keys`),this.isPlainObject_=Fl(this.target_),!T4(this.defaultAnnotation_))He("defaultAnnotation must be valid annotation");this.appliedAnnotations_={}}getObservablePropValue_(n){var r,a;return((r=(a=this.values_.get(n))!=null?a:this.materializeLazyComputed_(n))!=null?r:this.materializeLazyObservable_(n)).get()}materializeLazyComputed_(n){var r;let a=(r=this.lazyComputedKeys_)==null?void 0:r.get(n);if(!a)return;if(this.lazyComputedKeys_.delete(n),this.lazyComputedKeys_.size===0)this.lazyComputedKeys_=void 0;let l=a();return this.values_.set(n,l),l}materializeLazyObservable_(n){var r;let a=(r=this.lazyObservableKeys_)==null?void 0:r.get(n);if(!a)return;if(this.lazyObservableKeys_.delete(n),this.lazyObservableKeys_.size===0)this.lazyObservableKeys_=void 0;let l=a();return this.values_.set(n,l),l}setObservablePropValue_(n,r){var a,l;let f=(a=(l=this.values_.get(n))!=null?l:this.materializeLazyComputed_(n))!=null?a:this.materializeLazyObservable_(n);if(f instanceof Ms)return f.set(r),!0;if(da(this)){let u=pa(this,{type:Ga,object:this.proxy_||this.target_,name:n,newValue:r});if(!u)return null;r=u.newValue}if(r=f.prepareNewValue_(r),r!==Ee.UNCHANGED){let u=za(this),p=Wo(),h=u||p?{type:Ga,observableKind:"object",debugObjectName:this.name_,object:this.proxy_||this.target_,oldValue:f.value_,name:n,newValue:r}:null;if(p)Ui(h);if(f.setNewValue_(r),u)Va(this,h);if(p)Ni()}return!0}get_(n){if(Ee.trackingDerivation&&!Zc(this.target_,n))this.has_(n);return this.target_[n]}set_(n,r,a=!1){if(Zc(this.target_,n))if(this.values_.has(n))return this.setObservablePropValue_(n,r);else if(a)return Reflect.set(this.target_,n,r);else return this.target_[n]=r,!0;else return this.extend_(n,{value:r,enumerable:!0,writable:!0,configurable:!0},this.defaultAnnotation_,a)}has_(n){if(!Ee.trackingDerivation)return n in this.target_;this.pendingKeys_||(this.pendingKeys_=new Map);let r=this.pendingKeys_.get(n);if(!r)r=new Ds(n in this.target_,BC,`${this.name_}.${A1(n)}?`,!1),this.pendingKeys_.set(n,r);return r.get()}extend_(n,r,a,l=!1){if(a===!0)a=this.defaultAnnotation_;if(a===!1)return this.defineProperty_(n,r,l);w4(this,a,n);let f=a.extend_(this,n,r,l);if(f)O4(this,a,n);return f}defineProperty_(n,r,a=!1){jl(this.keysAtom_);try{ei();let l=this.delete_(n);if(!l)return l;if(da(this)){let f=pa(this,{object:this.proxy_||this.target_,name:n,type:Wc,newValue:r.value});if(!f)return null;let{newValue:u}=f;if(r.value!==u)r=ni({},r,{value:u})}if(a){if(!Reflect.defineProperty(this.target_,n,r))return!1}else Es(this.target_,n,r);this.notifyPropertyAddition_(n,r.value)}finally{ti()}return!0}defineObservableProperty_(n,r,a,l=!1){jl(this.keysAtom_);try{ei();let f=this.delete_(n);if(!f)return f;if(da(this)){let b=pa(this,{object:this.proxy_||this.target_,name:n,type:Wc,newValue:r});if(!b)return null;r=b.newValue}let u=Tk(n),p={configurable:Ee.safeDescriptors?this.isPlainObject_:!0,enumerable:!0,get:u.get,set:u.set};if(l){if(!Reflect.defineProperty(this.target_,n,p))return!1}else Es(this.target_,n,p);let h=new Ds(r,a,`${this.name_}.${n.toString()}`,!1);this.values_.set(n,h),this.notifyPropertyAddition_(n,h.value_)}finally{ti()}return!0}defineComputedProperty_(n,r,a=!1){jl(this.keysAtom_);try{ei();let l=this.delete_(n);if(!l)return l;if(da(this)){if(!pa(this,{object:this.proxy_||this.target_,name:n,type:Wc,newValue:void 0}))return null}r.name||(r.name=`${this.name_}.${n.toString()}`),r.context=this.proxy_||this.target_;let f=Tk(n),u={configurable:Ee.safeDescriptors?this.isPlainObject_:!0,enumerable:!1,get:f.get,set:f.set};if(a){if(!Reflect.defineProperty(this.target_,n,u))return!1}else Es(this.target_,n,u);this.values_.set(n,new Ms(r)),this.notifyPropertyAddition_(n,void 0)}finally{ti()}return!0}delete_(n,r=!1){if(jl(this.keysAtom_),!Zc(this.target_,n))return!0;if(da(this)){if(!pa(this,{object:this.proxy_||this.target_,name:n,type:Ak}))return null}try{var a;ei();let f=za(this),u=Wo(),p=this.values_.get(n),h=void 0;if(!p&&(f||u)){var l;h=(l=U1(this.target_,n))==null?void 0:l.value}if(r){if(!Reflect.deleteProperty(this.target_,n))return!1}else delete this.target_[n];if(delete this.appliedAnnotations_[n],p){if(this.values_.delete(n),p instanceof Ds)h=p.value_;i4(p)}if(this.keysAtom_.reportChanged(),(a=this.pendingKeys_)==null||(a=a.get(n))==null||a.set(n in this.target_),f||u){let b={type:Ak,observableKind:"object",object:this.proxy_||this.target_,debugObjectName:this.name_,oldValue:h,name:n};if(u)Ui(b);if(f)Va(this,b);if(u)Ni()}}finally{ti()}return!0}notifyPropertyAddition_(n,r){var a;let l=za(this),f=Wo();if(l||f){let u=l||f?{type:Wc,observableKind:"object",debugObjectName:this.name_,object:this.proxy_||this.target_,name:n,newValue:r}:null;if(f)Ui(u);if(l)Va(this,u);if(f)Ni()}(a=this.pendingKeys_)==null||(a=a.get(n))==null||a.set(!0),this.keysAtom_.reportChanged()}ownKeys_(){return this.keysAtom_.reportObserved(),L1(this.target_)}keys_(){return this.keysAtom_.reportObserved(),Object.keys(this.target_)}}function Kg(n,r){var a;if(r&&oi(n))He("Options can't be provided for already observable objects.");if(Zc(n,dt)){if(!(ma(n)instanceof TC))He(`Cannot convert '${EC(n)}' into observable object:
|
|
251
|
+
The target is already observable of different type.
|
|
252
|
+
Extending builtins is not supported.`);return n}if(!Object.isExtensible(n))He("Cannot make the designated object observable; it is not extensible");let l=(a=r==null?void 0:r.name)!=null?a:`${Fl(n)?"ObservableObject":n.constructor.name}@${ha()}`,f=new TC(n,new Map,String(l),Cq(r));return YX(n,dt,f),n}var b$=Jc("ObservableObjectAdministration",TC);function Tk(n){return wk[n]||(wk[n]={get(){return this[dt].getObservablePropValue_(n)},set(r){return this[dt].setObservablePropValue_(n,r)}})}function oi(n){if(MC(n))return b$(n[dt]);return!1}function O4(n,r,a){n.appliedAnnotations_[a]=r}function w4(n,r,a){if(!T4(r))He(`Cannot annotate '${n.name_}.${a.toString()}': Invalid annotation.`);if(!eq(r)&&Zc(n.appliedAnnotations_,a)){let l=`${n.name_}.${a.toString()}`,f=n.appliedAnnotations_[a].annotationType_,u=r.annotationType_;He(`Cannot apply '${u}' to '${l}':
|
|
253
|
+
The field is already annotated with '${f}'.
|
|
254
|
+
Re-annotating fields is not allowed.
|
|
255
|
+
Use 'override' annotation for methods overridden by subclass.`)}}function Zp(n,r){if(typeof n==="object"&&n!==null){if(qa(n)){if(r!==void 0)He(23);return n[dt].atom_}if(Hl(n))return n.atom_;if(Li(n)){if(r===void 0)return n.keysAtom_;let f=n.data_.get(r)||n.hasMap_.get(r);if(!f)He(25,r,EC(n));return f}if(oi(n)){var a,l;if(!r)return He(26);let f=n[dt],u=(a=(l=f.values_.get(r))!=null?l:f.materializeLazyComputed_(r))!=null?a:f.materializeLazyObservable_(r);if(!u)He(27,r,EC(n));return u}if(k1(n)||Wg(n)||RC(n))return n}else if(Bo(n)){if(RC(n[dt]))return n[dt]}He(28)}function ma(n,r){if(!n)He(29);if(r!==void 0)return ma(Zp(n,r));if(k1(n)||Wg(n)||RC(n))return n;if(Li(n)||Hl(n))return n;if(n[dt])return n[dt];He(24,n)}function EC(n,r){let a;if(r!==void 0)a=Zp(n,r);else if(ju(n))return n.name;else if(oi(n)||Li(n)||Hl(n))a=ma(n);else a=Zp(n);return a.name_}function Qp(n){let r=Fu(),a=PC(!0);ei();try{return n()}finally{ti(),jC(a),Us(r)}}var WSe=DC.toString;var Ek,x$=((Ek=globalThis.Iterator)==null?void 0:Ek.prototype)||{};function A4(n){return n[Symbol.iterator]=I$,ni(Object.create(x$),n)}function I$(){return this}function T4(n){return n instanceof Object&&typeof n.annotationType_==="string"&&Bo(n.make_)&&Bo(n.extend_)}{let n=globalThis;["Symbol","Map","Set","Proxy"].forEach((r)=>{if(typeof n[r]>"u")He(`MobX requires global '${r}' to be available or polyfilled`)})}if(typeof __MOBX_DEVTOOLS_GLOBAL_HOOK__==="object")__MOBX_DEVTOOLS_GLOBAL_HOOK__.injectMobx({spy:Vq,extras:{getDebugName:EC},$mobx:dt});var hr=w(Oe(),1);var E4;if(!hr.useState||!hr.useSyncExternalStore)throw Error("mobx-react-lite requires React 18 or later");if(!((F1==null||(E4=F1())==null?void 0:E4.version)>=7))throw Error("mobx-react-lite requires mobx at least version 7 to be available");var v$=1e4,C$=1e4;class Z1{constructor(n){this.finalize=void 0,this.registrations=new Map,this.sweepTimeout=void 0,this.sweep=(r=v$)=>{clearTimeout(this.sweepTimeout),this.sweepTimeout=void 0;let a=Date.now();if(this.registrations.forEach((l,f)=>{if(a-l.registeredAt>=r)this.registrations.delete(f),this.finalize(l.value)}),this.registrations.size>0)this.scheduleSweep()},this.finalizeAllImmediately=()=>{this.sweep(0)},this.finalize=n}register(n,r,a){this.registrations.set(a,{value:r,registeredAt:Date.now()}),this.scheduleSweep()}unregister(n){if(this.registrations.delete(n),this.registrations.size===0)clearTimeout(this.sweepTimeout),this.sweepTimeout=void 0}scheduleSweep(){if(this.sweepTimeout===void 0)this.sweepTimeout=setTimeout(this.sweep,C$)}}class B4{constructor(n){this.finalize=void 0,this.finalizeRegistration=(r)=>{var a;(a=this.native)==null||a.unregister(r.token),this.timer.unregister(r.token),this.finalize(r.value)},this.tokens=new WeakMap,this.staged=new Map,this.flushScheduled=!1,this.native=typeof FinalizationRegistry<"u"?new FinalizationRegistry(this.finalizeRegistration):void 0,this.timer=new Z1(this.finalizeRegistration),this.finalizeAllImmediately=()=>{this.flushRegistrations(),this.timer.finalizeAllImmediately()},this.flushRegistrations=()=>{this.flushScheduled=!1,this.staged.forEach(({target:r,value:a},l)=>{var f;let u={value:a,token:{}};this.tokens.set(l,u.token),(f=this.native)==null||f.register(r,u,u.token),this.timer.register(r,u,u.token)}),this.staged.clear()},this.finalize=n}register(n,r,a=n){if(this.unregister(a),this.staged.set(a,{target:n,value:r}),!this.flushScheduled)this.flushScheduled=!0,Promise.resolve().then(this.flushRegistrations)}unregister(n){if(this.staged.delete(n))return;let r=this.tokens.get(n);if(r){var a;this.tokens.delete(n),(a=this.native)==null||a.unregister(r),this.timer.unregister(r)}}}var y$=typeof FinalizationRegistry<"u"?B4:Z1,K1=new y$((n)=>{let r=n.reaction;n.reaction=null,r==null||r.dispose()}),S$=!1;function L4(){return S$}function k4(n){n.reaction=new ku(`observer${n.name}`,()=>{n.stateVersion=Symbol(),n.onStoreChange==null||n.onStoreChange()})}function _$(n){let r={reaction:null,onStoreChange:null,stateVersion:Symbol(),name:n,subscribe(a){if(K1.unregister(r),r.onStoreChange=a,!r.reaction)k4(r),r.stateVersion=Symbol();return()=>{var l;r.onStoreChange=null,(l=r.reaction)==null||l.dispose(),r.reaction=null}},getSnapshot(){return r.stateVersion}};return r}function P4(n,r="observed"){if(L4())return n();let a=hr.default.useRef(null);if(!a.current)a.current=_$(r);let l=a.current;if(!l.reaction)k4(l),K1.register(a,l,l);hr.default.useDebugValue(l.reaction,g4),hr.default.useSyncExternalStore(l.subscribe,l.getSnapshot,l.getSnapshot);let f,u;if(l.reaction.track(()=>{try{f=n()}catch(p){u=p}}),u)throw u;return f}var D4,M4,j4=typeof Symbol==="function"&&Symbol.for,R$=(D4=(M4=Object.getOwnPropertyDescriptor(()=>{},"name"))==null?void 0:M4.configurable)!=null?D4:!1,U4=j4?Symbol.for("react.forward_ref"):typeof hr.forwardRef==="function"&&hr.forwardRef((n)=>null).$$typeof,N4=j4?Symbol.for("react.memo"):typeof hr.memo==="function"&&hr.memo((n)=>null).$$typeof;function Gt(n){if(N4&&n.$$typeof===N4)throw Error("[mobx-react-lite] You are trying to use `observer` on a function component wrapped in either another `observer` or `React.memo`. The observer already applies 'React.memo' for you.");if(L4())return n;let r=!1,a=n,l=n.displayName||n.name;if(U4&&n.$$typeof===U4){if(r=!0,a=n.render,typeof a!=="function")throw Error("[mobx-react-lite] `render` property of ForwardRef was not a function")}let f=(u,p)=>P4(()=>a(u,p),l);if(f.displayName=n.displayName,R$)Object.defineProperty(f,"name",{value:n.name,writable:!0,configurable:!0});if(r)f=hr.forwardRef(f);return f=hr.memo(f),w$(n,f),f}var O$={$$typeof:!0,render:!0,compare:!0,type:!0,displayName:!0};function w$(n,r){Object.keys(n).forEach((a)=>{if(!O$[a])Object.defineProperty(r,a,Object.getOwnPropertyDescriptor(n,a))})}function A$({children:n,render:r}){if(n&&r)console.error("MobX Observer: Do not use children and render in the same time in `Observer`");let a=n||r;if(typeof a!=="function")return null;return P4(a)}A$.displayName="Observer";var JSe=K1.finalizeAllImmediately;var nF=w(Oe(),1);var zl=w(X()),J1=w(Oe()),Qc=w(Oe());var T$=(n)=>{var{items:r,isDisabled:a,rowData:l,extraData:f,actionsToggle:u,popperProps:p={position:"end",direction:"down"},innerRef:h,firstActionItemRef:b,isOnOpenChangeDisabled:x=!1}=n,y=E(n,["items","isDisabled","rowData","extraData","actionsToggle","popperProps","innerRef","firstActionItemRef","isOnOpenChangeDisabled"]);let[_,v]=Qc.useState(!1),I=()=>{v(!_)},O=(A,D)=>{if(D)A.preventDefault(),D(A,f&&f.rowIndex,l,f)};return zl.jsxs(Qc.Fragment,{children:[r.filter((A)=>A.isOutsideDropdown).map((A,D)=>{var{title:k,itemKey:z,onClick:M,isOutsideDropdown:V}=A,G=E(A,["title","itemKey","onClick","isOutsideDropdown"]);return typeof k==="string"?J1.createElement(Le,Object.assign({onClick:(K)=>O(K,M)},G,{isDisabled:a,key:z||`outside_dropdown_${D}`,"data-key":z||`outside_dropdown_${D}`}),k):Qc.cloneElement(k,Object.assign({onClick:M,isDisabled:a},G))}),zl.jsx(Vv,Object.assign({isOpen:_,onOpenChange:!x?(A)=>v(A):void 0,toggle:(A)=>u?u({onToggle:I,isOpen:_,isDisabled:a,toggleRef:A}):zl.jsx(Uv,{"aria-label":"Kebab toggle",ref:A,onClick:I,isExpanded:_,isDisabled:a,variant:"plain",icon:zl.jsx(hk,{})})},l&&l.actionProps,{ref:h},y,{popperProps:p,children:zl.jsx(GO,{children:r.filter((A)=>!A.isOutsideDropdown).map((A,D)=>{var{title:k,itemKey:z,onClick:M,tooltipProps:V,isSeparator:G,shouldCloseOnClick:K=!0}=A,ie=E(A,["title","itemKey","onClick","tooltipProps","isSeparator","shouldCloseOnClick"]);if(G)return zl.jsx(Gc,{"data-key":z||D},z||D);let re=J1.createElement(Gv,Object.assign({onClick:(de)=>{O(de,M),K&&I()}},ie,{key:z||D,"data-key":z||D,ref:D===0?b:void 0}),k);if(V===null||V===void 0?void 0:V.content)return zl.jsx(hn,Object.assign({},V,{children:re}),z||D);else return re})})}))]})},Q1=Qc.forwardRef((n,r)=>zl.jsx(T$,Object.assign({},n,{innerRef:r})));Q1.displayName="ActionsColumn";var em=w(X()),F4=w(Oe());var _e={button:"pf-v6-c-button",check:"pf-v6-c-check",dirRtl:"pf-v6-m-dir-rtl",modifiers:{plain:"pf-m-plain",noPlainOnGlass:"pf-m-no-plain-on-glass",fixed:"pf-m-fixed",stickyHeaderBase:"pf-m-sticky-header-base",stickyHeaderStuck:"pf-m-sticky-header-stuck",stickyHeader:"pf-m-sticky-header",nestedColumnHeader:"pf-m-nested-column-header",stickyFooter:"pf-m-sticky-footer",striped:"pf-m-striped",expandable:"pf-m-expandable",stripedEven:"pf-m-striped-even",ghostRow:"pf-m-ghost-row",hidden:"pf-m-hidden",hiddenOnSm:"pf-m-hidden-on-sm",visibleOnSm:"pf-m-visible-on-sm",hiddenOnMd:"pf-m-hidden-on-md",visibleOnMd:"pf-m-visible-on-md",hiddenOnLg:"pf-m-hidden-on-lg",visibleOnLg:"pf-m-visible-on-lg",hiddenOnXl:"pf-m-hidden-on-xl",visibleOnXl:"pf-m-visible-on-xl",hiddenOn_2xl:"pf-m-hidden-on-2xl",visibleOn_2xl:"pf-m-visible-on-2xl",center:"pf-m-center",help:"pf-m-help",favorite:"pf-m-favorite",borderRight:"pf-m-border-right",borderLeft:"pf-m-border-left",action:"pf-m-action",noBorderRows:"pf-m-no-border-rows",expanded:"pf-m-expanded",clickable:"pf-m-clickable",selected:"pf-m-selected",firstCellOffsetReset:"pf-m-first-cell-offset-reset",dragOver:"pf-m-drag-over",animateExpand:"pf-m-animate-expand",noAnimateExpand:"pf-m-no-animate-expand",truncate:"pf-m-truncate",wrap:"pf-m-wrap",nowrap:"pf-m-nowrap",fitContent:"pf-m-fit-content",breakWord:"pf-m-break-word",standalone:"pf-m-standalone",favorited:"pf-m-favorited",noPadding:"pf-m-no-padding",noBackground:"pf-m-no-background",compact:"pf-m-compact",borderRow:"pf-m-border-row",width_10:"pf-m-width-10",width_15:"pf-m-width-15",width_20:"pf-m-width-20",width_25:"pf-m-width-25",width_30:"pf-m-width-30",width_35:"pf-m-width-35",width_40:"pf-m-width-40",width_45:"pf-m-width-45",width_50:"pf-m-width-50",width_60:"pf-m-width-60",width_70:"pf-m-width-70",width_80:"pf-m-width-80",width_90:"pf-m-width-90",width_100:"pf-m-width-100"},radio:"pf-v6-c-radio",table:"pf-v6-c-table",tableAction:"pf-v6-c-table__action",tableButton:"pf-v6-c-table__button",tableButtonContent:"pf-v6-c-table__button-content",tableCaption:"pf-v6-c-table__caption",tableCellEmpty:"pf-v6-c-table__cell-empty",tableCheck:"pf-v6-c-table__check",tableColumnHelp:"pf-v6-c-table__column-help",tableColumnHelpAction:"pf-v6-c-table__column-help-action",tableCompoundExpansionToggle:"pf-v6-c-table__compound-expansion-toggle",tableControlRow:"pf-v6-c-table__control-row",tableDraggable:"pf-v6-c-table__draggable",tableExpandableRow:"pf-v6-c-table__expandable-row",tableExpandableRowContent:"pf-v6-c-table__expandable-row-content",tableFavorite:"pf-v6-c-table__favorite",tableIcon:"pf-v6-c-table__icon",tableIconInline:"pf-v6-c-table__icon-inline",tableInlineEditAction:"pf-v6-c-table__inline-edit-action",tableSort:"pf-v6-c-table__sort",tableSortIndicator:"pf-v6-c-table__sort-indicator",tableSubhead:"pf-v6-c-table__subhead",tableTbody:"pf-v6-c-table__tbody",tableTd:"pf-v6-c-table__td",tableText:"pf-v6-c-table__text",tableTfoot:"pf-v6-c-table__tfoot",tableTh:"pf-v6-c-table__th",tableThead:"pf-v6-c-table__thead",tableToggle:"pf-v6-c-table__toggle",tableToggleIcon:"pf-v6-c-table__toggle-icon",tableTr:"pf-v6-c-table__tr",themeGlass:"pf-v6-theme-glass"};var ew=(n)=>{var{className:r="",children:a=null,isOpen:l,onToggle:f,variant:u}=n,p=E(n,["className","children","isOpen","onToggle","variant"]);return em.jsxs(F4.Fragment,{children:[l!==void 0&&em.jsx(Le,Object.assign({className:S(r,l&&_e.modifiers.expanded),size:u==="compact"?"sm":void 0},p,{variant:"plain","aria-label":p["aria-label"]||"Details",onClick:f,"aria-expanded":l,icon:em.jsx("div",{className:S(_e.tableToggleIcon),children:em.jsx(Bl,{})})})),a]})};ew.displayName="CollapseColumn";var tw=w(X());var nw=(n)=>{var{className:r,onClick:a,"aria-label":l,id:f}=n,u=E(n,["className","onClick","aria-label","id"]);return tw.jsx(Le,Object.assign({id:f,variant:"plain",className:r,type:"button","aria-label":l||"Draggable row draggable button",onClick:a},u,{icon:tw.jsx(GB,{})}))};nw.displayName="DraggableCell";var H4={button:"pf-v6-c-button",inlineEdit:"pf-v6-c-inline-edit",inlineEditAction:"pf-v6-c-inline-edit__action",inlineEditEditableText:"pf-v6-c-inline-edit__editable-text",inlineEditGroup:"pf-v6-c-inline-edit__group",inlineEditInput:"pf-v6-c-inline-edit__input",inlineEditLabel:"pf-v6-c-inline-edit__label",inlineEditValue:"pf-v6-c-inline-edit__value",modifiers:{iconGroup:"pf-m-icon-group",footer:"pf-m-footer",column:"pf-m-column",valid:"pf-m-valid",plain:"pf-m-plain",actionGroup:"pf-m-action-group",enableEditable:"pf-m-enable-editable",inlineEditable:"pf-m-inline-editable",enable:"pf-m-enable",bold:"pf-m-bold"}};var $a=w(X());var ow=w(X()),tm=w(Oe());var z4;(function(n){n.div="div",n.nav="nav"})(z4||(z4={}));var V4;(function(n){n.wrap="wrap",n.nowrap="nowrap",n.truncate="truncate",n.breakWord="breakWord",n.fitContent="fitContent"})(V4||(V4={}));var Hu=(n)=>{var{children:r=null,className:a="",variant:l="span",wrapModifier:f=null,tooltip:u="",tooltipProps:p={},onMouseEnter:h=()=>{},focused:b=!1,tooltipHasDefaultBehavior:x=!1}=n,y=E(n,["children","className","variant","wrapModifier","tooltip","tooltipProps","onMouseEnter","focused","tooltipHasDefaultBehavior"]);let _=l,v=tm.createRef(),[I,O]=tm.useState(u),A=(z)=>{if(z.target.offsetWidth<z.target.scrollWidth)O(u||z.target.innerText);else O("");h(z)},D=(z)=>{if(z.offsetWidth<z.scrollWidth)O(u||z.innerText);else O("")},k=ow.jsx(_,Object.assign({ref:v,onMouseEnter:!x?A:void 0,className:S(a,f&&_e.modifiers[f],_e.tableText)},y,{children:r}));return tm.useEffect(()=>{if(!x)if(b)D(v.current);else O("")},[b,x]),I!==""?ow.jsx(hn,Object.assign({triggerRef:v,content:I},!x&&{isVisible:!0},p,{children:k})):k};Hu.displayName="TableText";var GC=({children:n,info:r,className:a,variant:l="tooltip",popoverProps:f,tooltipProps:u,ariaLabel:p})=>$a.jsxs("div",{className:S(_e.tableColumnHelp,a),children:[typeof n==="string"?$a.jsx(Hu,{children:n}):n,$a.jsx("span",{className:S(_e.tableColumnHelpAction),children:l==="tooltip"?$a.jsx(hn,Object.assign({content:r},u,{children:$a.jsx(Le,{variant:"plain",hasNoPadding:!0,"aria-label":p||typeof r==="string"&&r||"More info",icon:$a.jsx(qO,{})})})):$a.jsx(FO,Object.assign({bodyContent:r},f,{children:$a.jsx(Le,{variant:"plain",hasNoPadding:!0,"aria-label":p||typeof r==="string"&&r||"More info",icon:$a.jsx(qO,{})})}))})]});GC.displayName="HeaderCellInfoWrapper";var om=w(X()),nf=w(Oe());var tf=w(X()),ga=w(Oe());var G4={button:"pf-v6-c-button",modifiers:{grid:"pf-m-grid",animateExpand:"pf-m-animate-expand",expanded:"pf-m-expanded",expandable:"pf-m-expandable",selected:"pf-m-selected",compact:"pf-m-compact",action:"pf-m-action",noPadding:"pf-m-no-padding",hoverable:"pf-m-hoverable",nowrap:"pf-m-nowrap",fitContent:"pf-m-fit-content",truncate:"pf-m-truncate",gridMd:"pf-m-grid-md",gridLg:"pf-m-grid-lg",gridXl:"pf-m-grid-xl",grid_2xl:"pf-m-grid-2xl"},table:"pf-v6-c-table",tableAction:"pf-v6-c-table__action",tableButton:"pf-v6-c-table__button",tableCheck:"pf-v6-c-table__check",tableCompoundExpansionToggle:"pf-v6-c-table__compound-expansion-toggle",tableExpandableRow:"pf-v6-c-table__expandable-row",tableExpandableRowContent:"pf-v6-c-table__expandable-row-content",tableFavorite:"pf-v6-c-table__favorite",tableIcon:"pf-v6-c-table__icon",tableInlineEditAction:"pf-v6-c-table__inline-edit-action",tableTbody:"pf-v6-c-table__tbody",tableTd:"pf-v6-c-table__td",tableText:"pf-v6-c-table__text",tableTh:"pf-v6-c-table__th",tableThead:"pf-v6-c-table__thead",tableToggle:"pf-v6-c-table__toggle",tableToggleIcon:"pf-v6-c-table__toggle-icon",tableTr:"pf-v6-c-table__tr"};var Zo={button:"pf-v6-c-button",dirRtl:"pf-v6-m-dir-rtl",modifiers:{treeView:"pf-m-tree-view",noInset:"pf-m-no-inset",treeViewGrid:"pf-m-tree-view-grid",borderRight:"pf-m-border-right",treeViewDetailsExpanded:"pf-m-tree-view-details-expanded",treeViewGridMd:"pf-m-tree-view-grid-md",treeViewGridLg:"pf-m-tree-view-grid-lg",treeViewGridXl:"pf-m-tree-view-grid-xl",treeViewGrid_2xl:"pf-m-tree-view-grid-2xl"},table:"pf-v6-c-table",tableAction:"pf-v6-c-table__action",tableCheck:"pf-v6-c-table__check",tableTbody:"pf-v6-c-table__tbody",tableTd:"pf-v6-c-table__td",tableTh:"pf-v6-c-table__th",tableThead:"pf-v6-c-table__thead",tableToggle:"pf-v6-c-table__toggle",tableToggleIcon:"pf-v6-c-table__toggle-icon",tableTr:"pf-v6-c-table__tr",tableTreeViewDetailsToggle:"pf-v6-c-table__tree-view-details-toggle",tableTreeViewIcon:"pf-v6-c-table__tree-view-icon",tableTreeViewMain:"pf-v6-c-table__tree-view-main",tableTreeViewText:"pf-v6-c-table__tree-view-text",tableTreeViewTitleCell:"pf-v6-c-table__tree-view-title-cell"};var X4=w(X());var nm=w(X()),XC=w(Oe());var Jg;(function(n){n.radio="radio",n.checkbox="checkbox"})(Jg||(Jg={}));var rw=(n)=>{var{children:r=null,className:a,onSelect:l=null,selectVariant:f,tooltip:u,tooltipProps:p,id:h,name:b,isIndeterminate:x}=n,y=E(n,["children","className","onSelect","selectVariant","tooltip","tooltipProps","id","name","isIndeterminate"]);let _=XC.createRef(),v=(D,k)=>{l&&l(D)},I=Object.assign(Object.assign({},y),{id:h,ref:_,onChange:v}),O=Object.assign(Object.assign({},I),x&&{isChecked:null}),A=nm.jsxs(XC.Fragment,{children:[f===Jg.checkbox?nm.jsx(aa,Object.assign({},O)):nm.jsx(jc,Object.assign({},I,{name:b})),r]});return u?nm.jsx(hn,Object.assign({triggerRef:_,content:u},p,{children:A})):A};rw.displayName="SelectColumn";var Qg=(n,{rowIndex:r,columnIndex:a,rowData:l,column:f,property:u,tooltip:p})=>{let{extraParams:{onSelect:h,selectVariant:b,allRowsSelected:x,isHeaderSelectDisabled:y,isIndeterminate:_}}=f,v={rowIndex:r,columnIndex:a,column:f,property:u};if(l&&l.hasOwnProperty("parent")&&!l.showSelect&&!l.fullWidth)return{component:"td",isVisible:!0};let I=r!==void 0?r:-1;function O(k){let z=r===void 0?k.currentTarget.checked:!(l&&l.selected);h&&h(k,z,I,l,v)}let A=Object.assign(Object.assign(Object.assign({id:I!==-1?`select-${r}`:"select-all"},I!==-1?{isChecked:l&&!!l.selected,"aria-label":`Select row ${r}`}:{isChecked:x,"aria-label":"Select all rows"}),l&&(l.disableCheckbox||l.disableSelection)&&{isDisabled:!0,className:ja.checkInput}),!l&&y&&{isDisabled:!0}),D="check-all";if(I!==-1&&b===Jg.checkbox)D=`checkrow${r}`;else if(I!==-1)D="radioGroup";return{className:S(_e.tableCheck),component:I!==-1?"td":"th",isVisible:!l||!l.fullWidth,children:X4.jsx(rw,Object.assign({},A,{selectVariant:b,onSelect:O,name:D,tooltip:p,isIndeterminate:I===-1?_:void 0,children:n}))}};var aw=w(X());var ri=w(X()),q4=w(Oe());var ef;(function(n){n.asc="asc",n.desc="desc"})(ef||(ef={}));var iw=(n)=>{var{children:r=null,className:a="",isSortedBy:l=!1,onSort:f=null,sortDirection:u="",type:p="button",tooltip:h,tooltipProps:b,tooltipHasDefaultBehavior:x,favoriteButtonProps:y}=n,_=E(n,["children","className","isSortedBy","onSort","sortDirection","type","tooltip","tooltipProps","tooltipHasDefaultBehavior","favoriteButtonProps"]);let v,[I,O]=q4.useState(!1);if(l)v=u===ef.asc?pk:dk;else v=rk;if(y){let{favorited:A}=y,D=E(y,["favorited"]);return ri.jsxs(lO,{isIconList:!0,children:[ri.jsx(Rv,{children:ri.jsx(Le,Object.assign({variant:"plain",isFavorite:!0,isFavorited:A},D))}),ri.jsx(Rv,{children:ri.jsx(Le,Object.assign({variant:"plain",icon:ri.jsx("span",{className:S(_e.tableSortIndicator),children:ri.jsx(v,{})}),onClick:(k)=>f&&f(k)},_))})]})}return ri.jsx("button",Object.assign({},_,{type:p,className:S(a,_e.tableButton),onClick:(A)=>f&&f(A),onFocus:()=>O(!0),onBlur:()=>O(!1),children:ri.jsxs("div",{className:S(a,_e.tableButtonContent),children:[ri.jsx(Hu,{tooltip:h,tooltipProps:b,tooltipHasDefaultBehavior:x,focused:I,children:r}),ri.jsx("span",{className:S(_e.tableSortIndicator),children:ri.jsx(v,{})})]})}))};iw.displayName="SortColumn";var lw=(n)=>()=>{var r;return qC(aw.jsx(bv,{}),{columnIndex:n.columnIndex,className:_e.tableFavorite,ariaLabel:(r=n.ariaLabel)!==null&&r!==void 0?r:"Sort favorites",column:{extraParams:{sortBy:n.sortBy,onSort:n.onSort,favoriteButtonProps:n.favoriteButtonProps}},tooltip:n.tooltip,tooltipProps:n.tooltipProps,tooltipHasDefaultBehavior:!0})},qC=(n,{columnIndex:r,column:a,property:l,className:f,ariaLabel:u,tooltip:p,tooltipProps:h,tooltipHasDefaultBehavior:b})=>{let{extraParams:{sortBy:x,onSort:y,favoriteButtonProps:_}}=a,v={columnIndex:r,column:a,property:l},I=x&&r===x.index;function O(A){let D;if(!I)D=x.defaultDirection?x.defaultDirection:ef.asc;else D=x.direction===ef.asc?ef.desc:ef.asc;y&&y(A,r,D,v)}return Object.assign(Object.assign({className:S(_e.tableSort,I&&_e.modifiers.selected,f)},I&&{"aria-sort":`${x.direction}ending`}),{children:aw.jsx(iw,{isSortedBy:I,sortDirection:I?x.direction:"",onSort:O,"aria-label":u,tooltip:p,tooltipProps:h,tooltipHasDefaultBehavior:b,favoriteButtonProps:_,children:n})})};var Y4=w(X());var $4=(n,r,a,l)=>typeof n==="function"?n(a,l):r,sw=(n,r,a)=>(l,{rowData:f,column:u,rowIndex:p,columnIndex:h,column:{extraParams:{actionsToggle:b,actionsPopperProps:x}},property:y})=>{let _={rowIndex:p,columnIndex:h,column:u,property:y},v=$4(r,n,f,_),I=$4(a,f&&f.disableActions,f,_),O=v&&v.length>0?{children:Y4.jsx(Q1,{items:v,isDisabled:I,rowData:f,extraData:_,actionsToggle:b,popperProps:x,children:l})}:{};return Object.assign({className:S(_e.tableAction),style:{paddingRight:0},isVisible:!0},O)};var E$=(n)=>n.toUpperCase().replace("-","").replace("_",""),cw=(n)=>n.replace(/([-_][a-z])/gi,E$);function W4(n){return n[0].toUpperCase()+n.substring(1)}var eb=(n)=>()=>({className:S(_e.modifiers[typeof n==="number"?`width_${n}`:`width${W4(n)}`])});var Z4=w(X());var tb=(n,{rowIndex:r,columnIndex:a,rowData:l,column:f,property:u})=>{let{extraParams:{onCollapse:p,rowLabeledBy:h="simple-node",expandId:b="expand-toggle",allRowsExpanded:x,collapseAllAriaLabel:y,variant:_}}=f,v={rowIndex:r,columnIndex:a,column:f,property:u},I=r!==void 0?r:-1,O=Object.assign({},I!==-1?{isOpen:l===null||l===void 0?void 0:l.isOpen,"aria-labelledby":`${h}${I} ${b}${I}`}:{isOpen:x,"aria-label":y||"Expand all rows"});function A(D){let k=l?!l.isOpen:!x;p&&p(D,r,k,l,v)}return{className:((l===null||l===void 0?void 0:l.isOpen)!==void 0||I===-1)&&S(_e.tableToggle),isVisible:!(l===null||l===void 0?void 0:l.fullWidth),children:Z4.jsx(ew,Object.assign({"aria-labelledby":`${h}${I} ${b}${I}`,onToggle:A,id:b+I,variant:_},O,{children:n}))}};var fw=w(X());var uw=(n,{rowIndex:r,columnIndex:a,rowData:l,column:f,property:u})=>{if(!n)return null;let{title:p,props:h}=n,{extraParams:{onExpand:b,expandId:x="expand-toggle"}}=f,y={rowIndex:r,columnIndex:a,column:f,property:u};function _(v){b&&b(v,r,a,h.isOpen,l,y)}return{className:S(_e.tableCompoundExpansionToggle,h.isOpen&&_e.modifiers.expanded),children:h.isOpen!==void 0&&fw.jsx("button",{type:"button",className:S(_e.tableButton),onClick:_,"aria-expanded":h.isOpen,"aria-controls":h.ariaControls,id:`${x}-${r}-${a}`,children:fw.jsx(Hu,{children:p})})}};var D$=["hidden","hiddenOnSm","hiddenOnMd","hiddenOnLg","hiddenOnXl","hiddenOn_2xl","visibleOnSm","visibleOnMd","visibleOnLg","visibleOnXl","visibleOn_2xl"],nb=D$.filter((n)=>_e.modifiers[n]).reduce((n,r)=>{let a=r.replace("_2xl","2Xl");return n[a]=_e.modifiers[r],n},{}),ob=(...n)=>()=>({className:S(...n)});var dw=w(X());var pw=({tooltip:n,tooltipProps:r,popover:a,popoverProps:l,className:f,ariaLabel:u})=>(h)=>({className:_e.modifiers.help,children:n?dw.jsx(GC,{variant:"tooltip",info:n,tooltipProps:r,ariaLabel:u,className:f,children:h}):dw.jsx(GC,{variant:"popover",info:a,popoverProps:l,ariaLabel:u,className:f,children:h})});var J4=w(X());var K4=w(X());var mw=(n)=>{var{className:r="",onFavorite:a,isFavorited:l,rowIndex:f}=n,u=E(n,["className","onFavorite","isFavorited","rowIndex"]);let p=f===void 0?{}:{id:`favorites-button-${f}`,"aria-labelledby":`favorites-button-${f}`};return K4.jsx(Le,Object.assign({variant:"plain",className:r,type:"button","aria-label":l?"Starred":"Not starred",onClick:a,isFavorite:!0,isFavorited:l},p,u))};mw.displayName="FavoritesCell";var hw=(n,{rowIndex:r,columnIndex:a,rowData:l,column:f,property:u})=>{let{extraParams:{onFavorite:p}}=f,h={rowIndex:r,columnIndex:a,column:f,property:u};if(l&&l.hasOwnProperty("parent")&&!l.fullWidth)return{component:"td",isVisible:!0};function b(y){p&&p(y,l&&!l.favorited,r,l,h)}let x=l.favoritesProps||{};return{className:S(_e.tableFavorite,l&&l.favorited&&_e.modifiers.favorited),isVisible:!l||!l.fullWidth,children:J4.jsx(mw,Object.assign({rowIndex:r,onFavorite:b,isFavorited:l&&l.favorited},x))}};var Ko=w(X());var gw=(n,r,a)=>(l,{rowIndex:f,rowData:u})=>{let{isExpanded:p,isDetailsExpanded:h,"aria-level":b,"aria-setsize":x,toggleAriaLabel:y,checkAriaLabel:_,showDetailsAriaLabel:v,isChecked:I,checkboxId:O,icon:A}=u.props,D=l.title||l,k=Ko.jsxs("div",{className:S(Zo.tableTreeViewText),children:[A&&Ko.jsx("span",{className:S(Zo.tableTreeViewIcon),children:A},"tree-view-text-icon"),Ko.jsx("span",{className:_e.tableText,children:D},"table-text")]},"tree-view-text"),z=(M,V)=>{r(V,M,f,D,u)};return{component:"th",className:Zo.tableTreeViewTitleCell,children:b!==void 0?Ko.jsxs("div",{className:S(Zo.tableTreeViewMain),children:[x>0&&Ko.jsx("span",{className:S(Zo.tableToggle),children:Ko.jsx(Le,{variant:"plain",onClick:(M)=>n&&n(M,f,D,u),className:S(p&&_e.modifiers.expanded),"aria-expanded":p,"aria-label":y||`${p?"Collapse":"Expand"} row ${f}`,icon:Ko.jsx("div",{className:S(Zo.tableToggleIcon),children:Ko.jsx(ra,{})})})},"table-toggle"),!!r&&Ko.jsx("span",{className:S(Zo.tableCheck),children:Ko.jsx("label",{htmlFor:O||`checkbox_${f}`,children:Ko.jsx(aa,{id:O||`checkbox_${f}`,"aria-label":_||`Row ${f} checkbox`,isChecked:I,onChange:(M,V)=>z(V,M)})})},"table-check"),k,!!a&&Ko.jsx("span",{className:S(Zo.tableTreeViewDetailsToggle),children:Ko.jsx(Le,{variant:"plain","aria-expanded":h,"aria-label":v||"Show row details",onClick:(M)=>a&&a(M,f,D,u),icon:Ko.jsx("span",{className:`${_e.table}__details-toggle-icon`,children:Ko.jsx(mk,{})})})},"view-details-toggle")]}):k}};var $C;(function(n){n.none="",n.grid="grid",n.gridMd="grid-md",n.gridLg="grid-lg",n.gridXl="grid-xl",n.grid2xl="grid-2xl"})($C||($C={}));var Q4;(function(n){n.compact="compact"})(Q4||(Q4={}));var zu=ga.createContext({registerSelectableRow:()=>{},hasAnimations:!1,variant:void 0}),M$=(n)=>{var r,a,{children:l,className:f,variant:u,borders:p=!0,isStickyHeader:h=!1,isStickyHeaderBase:b=!1,isStickyHeaderStuck:x=!1,isPlain:y=!1,isNoPlainOnGlass:_=!1,gridBreakPoint:v=$C.gridMd,"aria-label":I,role:O="grid",innerRef:A,ouiaId:D,ouiaSafe:k=!0,isTreeTable:z=!1,isNested:M=!1,isStriped:V=!1,isExpandable:G=!1,hasAnimations:K,hasNoInset:ie=!1,nestedHeaderColumnSpans:re,selectableRowCaptionText:de}=n,J=E(n,["children","className","variant","borders","isStickyHeader","isStickyHeaderBase","isStickyHeaderStuck","isPlain","isNoPlainOnGlass","gridBreakPoint","aria-label","role","innerRef","ouiaId","ouiaSafe","isTreeTable","isNested","isStriped","isExpandable","hasAnimations","hasNoInset","nestedHeaderColumnSpans","selectableRowCaptionText"]);let Ce=zN(K),Q=ga.useRef(null),L=A||Q,[Y,P]=ga.useState(!1),[Z,ne]=ga.useState();ga.useEffect(()=>{if(document.addEventListener("keydown",ce),L&&L.current&&L.current.classList.contains("pf-m-tree-view")){let se=L.current.querySelector("tbody");se&&X6(Array.from(se.querySelectorAll("button, a, input")))}return function(){document.removeEventListener("keydown",ce)}},[L,L.current]),ga.useEffect(()=>{if(de)ne(tf.jsxs("caption",{children:[de,tf.jsx("div",{className:"pf-v6-screen-reader",children:"This table has selectable rows. It can be navigated by row using tab, and each row can be selected using space or enter."})]}));else ne(tf.jsx("caption",{className:"pf-v6-screen-reader",children:"This table has selectable rows. It can be navigated by row using tab, and each row can be selected using space or enter."}))},[de]);let he=Jn("Table",D,k),le=(r=G4.modifiers)===null||r===void 0?void 0:r[cw(v||"").replace(/-?2xl/,"_2xl")],Me=`treeView${v.charAt(0).toUpperCase()+v.slice(1)}`,B=(a=Zo.modifiers)===null||a===void 0?void 0:a[cw(Me||"").replace(/-?2xl/,"_2xl")],ce=(se)=>{if(M||!(L&&L.current&&L.current.classList.contains(Zo.modifiers.treeView))||L&&L.current!==se.target.closest(`.${_e.table}:not(.pf-m-nested)`))return;let be=document.activeElement,De=se.key,we=Array.from(L.current.querySelectorAll("tbody tr")).filter((ct)=>!ct.classList.contains("pf-m-disabled")&&!ct.hidden);if(De===Dl.Space||De===Dl.Enter)be.click(),se.preventDefault();XR(se,we,(ct)=>ct===be.closest("tr"),(ct)=>ct.querySelectorAll("button:not(:disabled), input:not(:disabled), a:not(:disabled)")[0],["button","input","a"],void 0,!1,!0,!1)},fe=()=>{!Y&&P(!0)};return tf.jsx(zu.Provider,{value:{registerSelectableRow:fe,hasAnimations:Ce,variant:u},children:tf.jsxs("table",Object.assign({"aria-label":I,role:O,className:S(f,_e.table,z?B:le,_e.modifiers[u],!p&&_e.modifiers.noBorderRows,h&&_e.modifiers.stickyHeader,b&&_e.modifiers.stickyHeaderBase,x&&_e.modifiers.stickyHeaderStuck,z&&Zo.modifiers.treeView,V&&_e.modifiers.striped,G&&_e.modifiers.expandable,y&&_e.modifiers.plain,_&&_e.modifiers.noPlainOnGlass,ie&&Zo.modifiers.noInset,M&&"pf-m-nested",Ce&&_e.modifiers.animateExpand),ref:L},z&&{role:"treegrid"},he,J,{children:[Y&&Z,l]}))})},gr=ga.forwardRef((n,r)=>tf.jsx(M$,Object.assign({},n,{innerRef:r})));gr.displayName="Table";var U$=(n)=>{var{children:r,className:a,isExpanded:l,isContentExpanded:f,isEditable:u,isHidden:p=!1,isClickable:h=!1,isRowSelected:b=!1,isStriped:x=!1,isBorderRow:y=!1,isControlRow:_=!1,innerRef:v,ouiaId:I,ouiaSafe:O=!0,resetOffset:A=!1,onRowClick:D,isSelectable:k,"aria-label":z}=n,M=E(n,["children","className","isExpanded","isContentExpanded","isEditable","isHidden","isClickable","isRowSelected","isStriped","isBorderRow","isControlRow","innerRef","ouiaId","ouiaSafe","resetOffset","onRowClick","isSelectable","aria-label"]);let V=Jn("TableRow",I,O),[G,K]=nf.useState(""),ie=null;if(D)ie=(Q)=>{if(Q.key==="Enter"||Q.key===" ")D(Q),Q.preventDefault()};let re=p||l!==void 0&&!l,{registerSelectableRow:de,hasAnimations:J}=nf.useContext(zu);nf.useEffect(()=>{if(k&&!re)K(`${b?"Row selected":""}`),de();else K(void 0)},[b,k,de,re]);let Ce=z||G;return om.jsx(om.Fragment,{children:om.jsx("tr",Object.assign({className:S(_e.tableTr,a,l!==void 0&&_e.tableExpandableRow,(l||f)&&_e.modifiers.expanded,u&&H4.modifiers.inlineEditable,h&&_e.modifiers.clickable,b&&_e.modifiers.selected,x&&_e.modifiers.striped,y&&_e.modifiers.borderRow,_&&_e.tableControlRow,A&&_e.modifiers.firstCellOffsetReset),hidden:re},h&&{tabIndex:0},{"aria-label":Ce,ref:v},J&&re&&{inert:""},D&&{onClick:D,onKeyDown:ie},V,M,{children:r}))})},Un=nf.forwardRef((n,r)=>om.jsx(U$,Object.assign({},n,{innerRef:r})));Un.displayName="Tr";var bw=w(X()),e3=w(Oe());var N$=(n)=>{var{children:r,className:a,noWrap:l=!1,innerRef:f,hasNestedHeader:u}=n,p=E(n,["children","className","noWrap","innerRef","hasNestedHeader"]);return bw.jsx("thead",Object.assign({className:S(_e.tableThead,a,l&&_e.modifiers.nowrap,u&&_e.modifiers.nestedColumnHeader),ref:f},p,{children:r}))},br=e3.forwardRef((n,r)=>bw.jsx(N$,Object.assign({},n,{innerRef:r})));br.displayName="Thead";var xw=w(X()),t3=w(Oe());var B$=(n)=>{var{children:r,className:a,isExpanded:l,innerRef:f,isEvenStriped:u=!1,isOddStriped:p=!1}=n,h=E(n,["children","className","isExpanded","innerRef","isEvenStriped","isOddStriped"]);return xw.jsx("tbody",Object.assign({role:"rowgroup",className:S(_e.tableTbody,a,l&&_e.modifiers.expanded,p&&_e.modifiers.striped,u&&_e.modifiers.stripedEven),ref:f},h,{children:r}))},xr=t3.forwardRef((n,r)=>xw.jsx(B$,Object.assign({},n,{innerRef:r})));xr.displayName="Tbody";var Ns=w(X()),Ya=w(Oe());var of={modifiers:{borderRight:"pf-m-border-right",borderLeft:"pf-m-border-left",right:"pf-m-right",inlineEnd:"pf-m-inline-end",left:"pf-m-left",inlineStart:"pf-m-inline-start"},scrollInnerWrapper:"pf-v6-c-scroll-inner-wrapper",scrollOuterWrapper:"pf-v6-c-scroll-outer-wrapper",table:"pf-v6-c-table",tableStickyCell:"pf-v6-c-table__sticky-cell"};var n3={hidden:"pf-v6-u-hidden",hiddenOnLg:"pf-v6-u-hidden-on-lg",hiddenOnMd:"pf-v6-u-hidden-on-md",hiddenOnSm:"pf-v6-u-hidden-on-sm",hiddenOnXl:"pf-v6-u-hidden-on-xl",hiddenOn_2xl:"pf-v6-u-hidden-on-2xl",screenReader:"pf-v6-u-screen-reader",screenReaderOnLg:"pf-v6-u-screen-reader-on-lg",screenReaderOnMd:"pf-v6-u-screen-reader-on-md",screenReaderOnSm:"pf-v6-u-screen-reader-on-sm",screenReaderOnXl:"pf-v6-u-screen-reader-on-xl",screenReaderOn_2xl:"pf-v6-u-screen-reader-on-2xl",visible:"pf-v6-u-visible",visibleOnLg:"pf-v6-u-visible-on-lg",visibleOnMd:"pf-v6-u-visible-on-md",visibleOnSm:"pf-v6-u-visible-on-sm",visibleOnXl:"pf-v6-u-visible-on-xl",visibleOn_2xl:"pf-v6-u-visible-on-2xl"};var Dj=w(Oe()),ty=w(Ej());function ny(...n){let r=n[0],a=n.slice(1);if(!a.length)return ty.default({},r);return ty.default(ty.default({},r),...a,(l,f,u)=>{if(u==="children"){if(l&&f)return Dj.cloneElement(l,{children:f});return Object.assign(Object.assign({},f),l)}if(u==="className")return S(l,f);return})}var IQ={name:"--pf-v6-c-table__sticky-cell--MinWidth",value:"8.75rem",var:"var(--pf-v6-c-table__sticky-cell--MinWidth)"},oy=IQ;var vQ={name:"--pf-v6-c-table__sticky-cell--InsetInlineStart",value:"0",var:"var(--pf-v6-c-table__sticky-cell--InsetInlineStart)"},ry=vQ;var CQ={name:"--pf-v6-c-table__sticky-cell--InsetInlineEnd",value:"0",var:"var(--pf-v6-c-table__sticky-cell--InsetInlineEnd)"},iy=CQ;var yQ=(n)=>{var r,{children:a,className:l,component:f="th",dataLabel:u,scope:p="col",textCenter:h=!1,sort:b=null,modifier:x,select:y=null,expand:_=null,tooltip:v="",tooltipProps:I,onMouseEnter:O=()=>{},width:A,visibility:D,innerRef:k,info:z,isStickyColumn:M=!1,hasRightBorder:V=!1,hasLeftBorder:G=!1,stickyMinWidth:K="120px",stickyLeftOffset:ie,stickyRightOffset:re,isSubheader:de=!1,screenReaderText:J,"aria-label":Ce,additionalContent:Q}=n,L=E(n,["children","className","component","dataLabel","scope","textCenter","sort","modifier","select","expand","tooltip","tooltipProps","onMouseEnter","width","visibility","innerRef","info","isStickyColumn","hasRightBorder","hasLeftBorder","stickyMinWidth","stickyLeftOffset","stickyRightOffset","isSubheader","screenReaderText","aria-label","additionalContent"]);let{variant:Y}=Ya.useContext(zu);if(!a&&!J&&!Ce)console.warn("Th: Table headers must have an accessible name. If the Th is intended to be visually empty, pass in screenReaderText. If the Th contains only non-text, interactive content such as a checkbox or expand toggle, pass in an aria-label.");let[P,Z]=Ya.useState(!1),[ne,he]=Ya.useState(!1),le=k?k:Ya.createRef(),Me=(pt)=>{if(pt.target.offsetWidth<pt.target.scrollWidth)!P&&Z(!0);else P&&Z(!1);O(pt)},B=null;if(b)if(b.isFavorites)B=lw({onSort:b.onSort,columnIndex:b.columnIndex,sortBy:b.sortBy,tooltip:v,tooltipProps:I,ariaLabel:b["aria-label"],favoriteButtonProps:b.favoriteButtonProps})();else B=qC(a,{columnIndex:b.columnIndex,column:{extraParams:{sortBy:b.sortBy,onSort:b===null||b===void 0?void 0:b.onSort}},tooltip:v,tooltipProps:I});let ce=y?Qg(a,{rowData:{selected:y.isSelected,disableSelection:y===null||y===void 0?void 0:y.isDisabled,props:y===null||y===void 0?void 0:y.props},column:{extraParams:{onSelect:y===null||y===void 0?void 0:y.onSelect,selectVariant:"checkbox",allRowsSelected:y.isSelected,isHeaderSelectDisabled:!!y.isHeaderSelectDisabled,isIndeterminate:y===null||y===void 0?void 0:y.isIndeterminate}},tooltip:v,tooltipProps:I}):null,fe=_?tb(a,{column:{extraParams:{onCollapse:_===null||_===void 0?void 0:_.onToggle,allRowsExpanded:!_.areAllExpanded,collapseAllAriaLabel:"",variant:Y}}}):null,se=A?eb(A)():null,be=D?ob(...D.map((pt)=>nb[pt]))():null,De=(B===null||B===void 0?void 0:B.children)||(ce===null||ce===void 0?void 0:ce.children)||(fe===null||fe===void 0?void 0:fe.children)||a,we=null;if(z)we=pw(z)(De),De=we.children;let Ze=ny(B,ce,fe,se,be,we),{children:ct=null,isVisible:Tt=null,className:yt="",component:Re=f}=Ze,Ue=E(Ze,["children","isVisible","className","component"]);Ya.useEffect(()=>{he(le.current.offsetWidth<le.current.scrollWidth)},[le]);let tt=Ns.jsxs(Re,Object.assign({tabIndex:b||y||!ne?-1:0,onFocus:v!==null?Me:O,onBlur:()=>Z(!1),"data-label":u,onMouseEnter:v!==null?Me:O,scope:f==="th"?p:null,ref:le,"aria-label":Ce,className:S(_e.tableTh,l,h&&_e.modifiers.center,de&&_e.tableSubhead,M&&of.tableStickyCell,V&&of.modifiers.borderRight,G&&of.modifiers.borderLeft,x&&_e.modifiers[x],((r=b===null||b===void 0?void 0:b.favoriteButtonProps)===null||r===void 0?void 0:r.favorited)&&_e.modifiers.favorited,yt)},Ue,L,M&&{style:Object.assign({[oy.name]:K?K:void 0,[ry.name]:ie?ie:0,[iy.name]:re?re:0},L.style)},{children:[De||J&&Ns.jsx("span",{className:n3.screenReader,children:J}),Q&&Q]}));return v!==null&&(v===""?typeof De==="string":!0)&&!(B||ce)&&P?Ns.jsxs(Ns.Fragment,{children:[tt,Ns.jsx(hn,Object.assign({triggerRef:le,content:v||v===""&&a,isVisible:!0},I))]}):tt},Bt=Ya.forwardRef((n,r)=>Ns.jsx(yQ,Object.assign({},n,{innerRef:r})));Bt.displayName="Th";var af=w(X()),Wa=w(Oe());var Mj=w(X());var Uj=(n,{rowData:r})=>{let{id:a}=r;return{className:"",children:Mj.jsx(nw,{id:a})}};var SQ=(n)=>{var{children:r,className:a,isActionCell:l=!1,hasAction:f=!1,component:u="td",dataLabel:p,textCenter:h=!1,modifier:b,select:x=null,actions:y=null,expand:_=null,treeRow:v=null,compoundExpand:I=null,noPadding:O,width:A,visibility:D,innerRef:k,favorites:z=null,draggableRow:M=null,tooltip:V="",onMouseEnter:G=()=>{},isStickyColumn:K=!1,hasRightBorder:ie=!1,hasLeftBorder:re=!1,stickyMinWidth:de="120px",stickyLeftOffset:J,stickyRightOffset:Ce}=n,Q=E(n,["children","className","isActionCell","hasAction","component","dataLabel","textCenter","modifier","select","actions","expand","treeRow","compoundExpand","noPadding","width","visibility","innerRef","favorites","draggableRow","tooltip","onMouseEnter","isStickyColumn","hasRightBorder","hasLeftBorder","stickyMinWidth","stickyLeftOffset","stickyRightOffset"]);let[L,Y]=Wa.useState(!1),[P,Z]=Wa.useState(!1),ne=k?k:Wa.createRef(),he=(xe)=>{if(xe.target.offsetWidth<xe.target.scrollWidth)!L&&Y(!0);else L&&Y(!1);G(xe)},le=x?Qg(r,{rowIndex:x.rowIndex,rowData:{selected:x.isSelected,disableSelection:x===null||x===void 0?void 0:x.isDisabled,props:x===null||x===void 0?void 0:x.props},column:{extraParams:{onSelect:x===null||x===void 0?void 0:x.onSelect,selectVariant:x.variant||"checkbox"}}}):null,Me=z?hw(null,{rowIndex:z===null||z===void 0?void 0:z.rowIndex,rowData:{favorited:z.isFavorited,favoritesProps:z===null||z===void 0?void 0:z.props},column:{extraParams:{onFavorite:z===null||z===void 0?void 0:z.onFavorite}}}):null,B=M!==null?Uj(null,{rowData:{id:M.id}}):null,ce=y?sw(y.items,null,null):null,fe=ce?ce(null,{rowIndex:y===null||y===void 0?void 0:y.rowIndex,rowData:{disableActions:y===null||y===void 0?void 0:y.isDisabled},column:{extraParams:{dropdownPosition:y===null||y===void 0?void 0:y.dropdownPosition,dropdownDirection:y===null||y===void 0?void 0:y.dropdownDirection,menuAppendTo:y===null||y===void 0?void 0:y.menuAppendTo,actionsToggle:y===null||y===void 0?void 0:y.actionsToggle}}}):null,{hasAnimations:se,variant:be}=Wa.useContext(zu),De=_!==null?tb(null,{rowIndex:_.rowIndex,columnIndex:_===null||_===void 0?void 0:_.columnIndex,rowData:{isOpen:_.isExpanded},column:{extraParams:{onCollapse:_===null||_===void 0?void 0:_.onToggle,expandId:_===null||_===void 0?void 0:_.expandId,variant:be}}}):null,we=()=>{var xe,vn;let Pe=(xe=ne===null||ne===void 0?void 0:ne.current)===null||xe===void 0?void 0:xe.closest(`.${_e.tableTr}.${_e.tableControlRow}`);if(!Pe.classList.contains(_e.modifiers.expanded))return;if((vn=ne===null||ne===void 0?void 0:ne.current)===null||vn===void 0?void 0:vn.classList.contains(_e.modifiers.expanded))Pe.classList.remove(_e.modifiers.noAnimateExpand);else Pe.classList.add(_e.modifiers.noAnimateExpand)},Ze=(xe,vn,Pe,et,Te,Ve)=>{se&&we(),I===null||I===void 0||I.onToggle(xe,vn,Pe,et,Te,Ve)},ct=I!==null?uw({title:r,props:{isOpen:I.isExpanded}},{rowIndex:I===null||I===void 0?void 0:I.rowIndex,columnIndex:I===null||I===void 0?void 0:I.columnIndex,column:{extraParams:{onExpand:Ze,expandId:I===null||I===void 0?void 0:I.expandId}}}):null,Tt=A?eb(A)():null,yt=D?ob(...D.map((xe)=>nb[xe]))():null,Re=v!==null?gw(v.onCollapse,v.onCheckChange,v.onToggleRowDetails)({title:r},{rowIndex:v.rowIndex,rowData:{props:v.props}}):null,Ue=ny(le,fe,De,ct,Tt,yt,Me,Re,B),{isVisible:tt=null,children:ke=null,className:Dt="",component:pt=u}=Ue,Ke=E(Ue,["isVisible","children","className","component"]),Zt=a&&a.includes(Zo.tableTreeViewTitleCell)||Dt&&Dt.includes(Zo.tableTreeViewTitleCell);Wa.useEffect(()=>{Z(ne.current.offsetWidth<ne.current.scrollWidth)},[ne]);let Mt=af.jsx(pt,Object.assign({tabIndex:(x||!P)&&b!=="truncate"?-1:0},!Zt&&{"data-label":p},{onFocus:V!==null?he:G,onBlur:()=>Y(!1),onMouseEnter:V!==null?he:G,className:S(_e.tableTd,a,l&&_e.tableAction,f&&_e.modifiers.action,h&&_e.modifiers.center,O&&_e.modifiers.noPadding,K&&of.tableStickyCell,ie&&of.modifiers.borderRight,re&&of.modifiers.borderLeft,_e.modifiers[b],B&&_e.tableDraggable,Dt),ref:ne},Ke,Q,K&&{style:Object.assign({[oy.name]:de?de:void 0,[ry.name]:J?J:0,[iy.name]:Ce?Ce:0},Q.style)},{children:ke||r}));return V!==null&&(V===""?typeof r==="string":!0)&&L?af.jsxs(af.Fragment,{children:[Mt,af.jsx(hn,{triggerRef:ne,content:V||V===""&&r,isVisible:!0})]}):Mt},Lt=Wa.forwardRef((n,r)=>af.jsx(SQ,Object.assign({},n,{innerRef:r})));Lt.displayName="Td";var ay=w(Oe(),1),kw=ay.createContext(void 0);function an(){let n=ay.useContext(kw);if(n===void 0)throw Error("The console store is not provided.");return n}function ii(){let{application:n}=an();if(n===void 0)throw Error("No application is open.");return n}class Pw extends Error{status;constructor(n,r){super(r);this.name="ApiError",this.status=n}}function ly(n){return n instanceof Pw?n.message:"The console request failed."}function Nj(n){let r=(l,f,u)=>_Q(l,f,u,n),a=(l)=>`/api/applications/${encodeURIComponent(l)}`;return{session:()=>r("/api/session","GET"),applications:()=>r("/api/applications","GET"),signals:()=>r("/api/signals","GET"),application:(l)=>r(a(l),"GET"),applicationLogs:(l)=>r(`${a(l)}/logs`,"GET"),setRoute:(l,f,u)=>r(`${a(l)}/routes/${encodeURIComponent(f)}`,"PATCH",{enabled:u}),setEnvironment:(l,f,u,p)=>r(`${a(l)}/environment`,"PUT",{key:f,value:u,part:p}),deleteEnvironment:(l,f,u)=>r(`${a(l)}/environment/${encodeURIComponent(u)}/${encodeURIComponent(f)}`,"DELETE"),reassignSecret:(l,f,u)=>r(`${a(l)}/secrets/${encodeURIComponent(f)}`,"POST",{value:u}),bindBackingService:(l,f,u,p)=>r(`${a(l)}/bindings`,"POST",{binding:f,service:u,capability:p}),unbindBackingService:(l,f)=>r(`${a(l)}/bindings/${encodeURIComponent(f)}`,"DELETE"),backingServices:()=>r("/api/backing-services","GET"),serviceClasses:()=>r("/api/backing-service-classes","GET"),createBackingService:(l)=>r("/api/backing-services","POST",l),deleteBackingService:(l)=>r(`/api/backing-services/${encodeURIComponent(l)}`,"DELETE")}}async function _Q(n,r,a,l){let f={accept:"application/json"};if(a!==void 0)f["content-type"]="application/json";let u=l.csrfToken();if(r!=="GET"&&u.length>0)f["x-di-console-csrf"]=u;let p=await fetch(n,{method:r,headers:f,body:a===void 0?void 0:JSON.stringify(a),credentials:"same-origin"}),h=await p.json();if(typeof h.csrfToken==="string")l.receiveCsrfToken(h.csrfToken);if(!p.ok)throw new Pw(p.status,h.error??"The request failed.");return h}var jw=w(X(),1);function lf({ready:n,failed:r,compact:a}){if(r)return jw.jsx($o,{status:"danger",isCompact:a,children:"Failed"});return jw.jsx($o,{status:n?"success":"warning",isCompact:a,children:n?"Ready":"Not ready"})}function Ir(n,r){return`${n} ${r}${n===1?"":"s"}`}function Bj(n){return n.toLocaleTimeString(void 0,{hour:"2-digit",minute:"2-digit"})}var lo=w(X(),1),Lj=Gt(function(){let r=an();if(r.applications.length===0)return lo.jsx(la,{titleText:"No applications",headingLevel:"h2",variant:"xs",className:"console-empty",children:lo.jsx(sa,{children:"No applications are deployed for this tenant yet."})});return lo.jsxs(gr,{"aria-label":"Applications",variant:"compact",className:"console-table",children:[lo.jsx(br,{children:lo.jsxs(Un,{children:[lo.jsx(Bt,{children:"Application"}),lo.jsx(Bt,{children:"Status"}),lo.jsx(Bt,{children:"Parts"}),lo.jsx(Bt,{children:"Routes"})]})}),lo.jsx(xr,{children:r.applications.map((a)=>lo.jsxs(Un,{children:[lo.jsx(Lt,{dataLabel:"Application",children:lo.jsx(Le,{variant:"link",isInline:!0,onClick:()=>void r.openApplication(a.name),children:a.name})}),lo.jsxs(Lt,{dataLabel:"Status",children:[lo.jsx(lf,{ready:a.ready,failed:a.failed,compact:!0}),a.detail?lo.jsx("div",{className:"console-metric",children:a.detail}):null]}),lo.jsxs(Lt,{dataLabel:"Parts",children:[Ir(a.services,"service")," · ",Ir(a.components,"component")]}),lo.jsx(Lt,{dataLabel:"Routes",children:a.routeCount})]},a.name))})]})});var Vl=w(X(),1);function sy({crumbs:n,title:r,status:a,description:l,tabs:f,actions:u}){let p=f!==void 0||u!==void 0;return Vl.jsxs(qc,{hasBodyWrapper:!1,className:p?"console-header":"console-header console-header--plain",children:[n?Vl.jsx("div",{className:"console-header__crumbs",children:n}):null,Vl.jsxs("div",{className:"console-header__title",children:[Vl.jsx("h1",{children:r}),a]}),l?Vl.jsx("p",{className:"console-header__description",children:l}):null,p?Vl.jsxs("div",{className:"console-header__bar",children:[f??Vl.jsx("span",{}),u?Vl.jsx("div",{className:"console-header__actions",children:u}):null]}):null]})}var ki=w(X(),1),RQ=[{key:"overview",title:"Overview"},{key:"routes",title:"Routes"},{key:"environment",title:"Environment"},{key:"secrets",title:"Secrets"},{key:"bindings",title:"Bindings"},{key:"logs",title:"Logs"},{key:"signals",title:"Signals"}],kj=Gt(function(){let r=an(),{application:a,ui:l}=r,f=l.selectedApplication??"",u=RQ.filter((p)=>p.key!=="signals"||a?.signals!==void 0);return ki.jsx(sy,{crumbs:ki.jsxs(Av,{children:[ki.jsx(Tv,{children:ki.jsx(Le,{variant:"link",isInline:!0,onClick:()=>r.navigate("applications"),children:"Applications"})}),ki.jsx(Tv,{isActive:!0,children:f})]}),title:f,status:a?ki.jsx(lf,{ready:a.ready,failed:a.failed}):void 0,description:a?.detail,tabs:a?ki.jsx(Du,{activeKey:l.selectedTab,onSelect:(p,h)=>r.selectTab(h),"aria-label":`${f} sections`,children:u.map((p)=>ki.jsx(m1,{eventKey:p.key,title:ki.jsx(Pg,{children:p.title}),tabContentId:`console-tab-${p.key}`},p.key))}):void 0,actions:a&&l.selectedTab==="logs"?ki.jsx(Le,{variant:"secondary",icon:ki.jsx(Gg,{}),onClick:()=>void r.refreshLogs(),children:"Refresh"}):void 0})});var Pj=w(X(),1),cy=Gt(function(){let{ui:r}=an();return r.error?Pj.jsx(Cp,{variant:"warning",title:r.error,isInline:!0,className:"console-alert"}):null});var Fw=w(Oe(),1);var it=w(X(),1),jj=Gt(function(){let r=an(),a=ii(),{services:l,writable:f}=r,[u,p]=Fw.useState(""),[h,b]=Fw.useState(),x=h??l[0]?.name??"";async function y(_){if(_.preventDefault(),await r.bind(u,x))p("")}return it.jsxs(it.Fragment,{children:[it.jsxs("section",{"aria-labelledby":"bindings-backing",children:[it.jsx("h2",{id:"bindings-backing",className:"console-heading",children:"Backing services"}),a.backingServices.length===0?it.jsx("p",{className:"console-note",children:"No backing services are bound."}):it.jsxs(gr,{"aria-label":"Backing services bound to this application",variant:"compact",className:"console-table",children:[it.jsx(br,{children:it.jsxs(Un,{children:[it.jsx(Bt,{children:"Class"}),it.jsx(Bt,{children:"Service"}),it.jsx(Bt,{children:"Binding"}),it.jsx(Bt,{children:"Status"}),it.jsx(Bt,{screenReaderText:"Actions"})]})}),it.jsx(xr,{children:a.backingServices.map((_)=>it.jsxs(Un,{children:[it.jsx(Lt,{dataLabel:"Class",children:_.className||"—"}),it.jsx(Lt,{dataLabel:"Service",children:_.service}),it.jsx(Lt,{dataLabel:"Binding",children:_.name}),it.jsxs(Lt,{dataLabel:"Status",children:[it.jsx(lf,{ready:_.ready,compact:!0}),_.detail?it.jsx("div",{className:"console-metric",children:_.detail}):null]}),it.jsx(Lt,{dataLabel:"Actions",isActionCell:!0,children:it.jsx(Le,{variant:"secondary",size:"sm",isDisabled:!f,"aria-label":`Unbind ${_.name}`,onClick:()=>void r.unbind(_.name),children:"Unbind"})})]},_.name))})]})]}),it.jsxs("section",{"aria-labelledby":"bindings-bind",children:[it.jsx("h2",{id:"bindings-bind",className:"console-heading",children:"Bind a backing service"}),l.length===0?it.jsx("p",{className:"console-note",children:"Create a backing service first."}):null,it.jsxs(wu,{className:"console-form",onSubmit:(_)=>void y(_),children:[it.jsx(dr,{label:"Binding name",isRequired:!0,fieldId:"binding-name",children:it.jsx(Kr,{id:"binding-name",value:u,onChange:(_,v)=>p(v),isDisabled:!f})}),it.jsx(dr,{label:"Backing service",isRequired:!0,fieldId:"binding-service",children:it.jsx(Ha,{id:"binding-service",value:x,isDisabled:!f||l.length===0,onChange:(_,v)=>b(String(v)),children:l.map((_)=>it.jsx(Au,{value:_.name,label:_.name},_.name))})}),it.jsx(Ou,{className:"console-form__actions",children:it.jsx(Le,{type:"submit",isDisabled:!f||u.length===0||x.length===0,children:"Bind"})})]})]}),it.jsxs("section",{"aria-labelledby":"bindings-private",children:[it.jsx("h2",{id:"bindings-private",className:"console-heading",children:"Private bindings"}),a.privateBindings.length===0?it.jsx("p",{className:"console-note",children:"This application declares no private bindings."}):it.jsxs(gr,{"aria-label":"Private bindings",variant:"compact",className:"console-table",children:[it.jsx(br,{children:it.jsxs(Un,{children:[it.jsx(Bt,{children:"Name"}),it.jsx(Bt,{children:"Contract"}),it.jsx(Bt,{children:"Status"})]})}),it.jsx(xr,{children:a.privateBindings.map((_)=>it.jsxs(Un,{children:[it.jsx(Lt,{dataLabel:"Name",children:_.name}),it.jsx(Lt,{dataLabel:"Contract",children:_.contract}),it.jsx(Lt,{dataLabel:"Status",children:it.jsx($o,{status:_.bound?"success":"info",isCompact:!0,children:_.bound?"Bound":"Unbound"})})]},`${_.name}-${_.contract}`))})]})]})]})});var fy=w(Oe(),1);var zt=w(X(),1),Fj=Gt(function(){let r=an(),a=ii(),[l,f]=fy.useState(""),[u,p]=fy.useState(""),[h,b]=fy.useState(),{writable:x}=r,y=h??a.parts[0]?.name??"";async function _(v){if(v.preventDefault(),await r.setEnvironment(l,u,y))f(""),p("")}return zt.jsxs(zt.Fragment,{children:[zt.jsxs("section",{"aria-labelledby":"environment-variables",children:[zt.jsx("h2",{id:"environment-variables",className:"console-heading",children:"Variables"}),a.environment.length===0?zt.jsx("p",{className:"console-note",children:"No environment variables are set."}):zt.jsxs(gr,{"aria-label":"Environment",variant:"compact",className:"console-table",children:[zt.jsx(br,{children:zt.jsxs(Un,{children:[zt.jsx(Bt,{children:"Name"}),zt.jsx(Bt,{children:"Value"}),zt.jsx(Bt,{children:"Part"}),zt.jsx(Bt,{screenReaderText:"Actions"})]})}),zt.jsx(xr,{children:a.environment.map((v)=>zt.jsxs(Un,{children:[zt.jsx(Lt,{dataLabel:"Name",children:v.key}),zt.jsx(Lt,{dataLabel:"Value",children:v.value}),zt.jsx(Lt,{dataLabel:"Part",children:v.part}),zt.jsx(Lt,{dataLabel:"Actions",isActionCell:!0,children:zt.jsx(Le,{variant:"secondary",size:"sm",isDisabled:!x,"aria-label":`Remove ${v.key} from ${v.part}`,onClick:()=>void r.deleteEnvironment(v.key,v.part),children:"Remove"})})]},`${v.part}/${v.key}`))})]})]}),zt.jsxs("section",{"aria-labelledby":"environment-set",children:[zt.jsx("h2",{id:"environment-set",className:"console-heading",children:"Set a variable"}),zt.jsxs(wu,{className:"console-form",onSubmit:(v)=>void _(v),children:[zt.jsx(dr,{label:"Name",isRequired:!0,fieldId:"env-name",children:zt.jsx(Kr,{id:"env-name",value:l,onChange:(v,I)=>f(I),isDisabled:!x})}),zt.jsx(dr,{label:"Part",isRequired:!0,fieldId:"env-part",children:zt.jsx(Ha,{id:"env-part",value:y,isDisabled:!x||a.parts.length===0,onChange:(v,I)=>b(String(I)),children:a.parts.map((v)=>zt.jsx(Au,{value:v.name,label:v.name},v.name))})}),zt.jsx(dr,{label:"Value",isRequired:!0,fieldId:"env-value",children:zt.jsx(Kr,{id:"env-value",value:u,onChange:(v,I)=>p(I),isDisabled:!x})}),zt.jsx(Ou,{className:"console-form__actions",children:zt.jsx(Le,{type:"submit",isDisabled:!x||l.length===0||u.length===0||y.length===0,children:"Set variable"})})]})]})]})});var dm=w(X(),1),Hj=Gt(function(){let{logs:r}=ii();if(!r.published)return dm.jsx(la,{variant:"xs",titleText:"Logs are not published",headingLevel:"h2",className:"console-empty",children:dm.jsx(sa,{children:"Logs are not published for this app yet."})});if(r.lines.length===0)return dm.jsx("p",{className:"console-note",children:"No log lines yet."});return dm.jsx(_O,{className:"console-logs",children:dm.jsx(OO,{children:r.lines.join(`
|
|
256
|
+
`)})})});var ht=w(X(),1),zj=Gt(function(){let r=ii(),a=r.parts.some((l)=>l.failure!==void 0);return ht.jsxs("div",{className:"console-split",children:[ht.jsxs("section",{"aria-labelledby":"overview-parts",children:[ht.jsx("h2",{id:"overview-parts",className:"console-heading",children:"Parts"}),r.parts.length===0?ht.jsx("p",{className:"console-note",children:"This application has no parts yet."}):ht.jsxs(gr,{"aria-label":"Parts",variant:"compact",className:"console-table",children:[ht.jsx(br,{children:ht.jsxs(Un,{children:[ht.jsx(Bt,{children:"Name"}),ht.jsx(Bt,{children:"Kind"}),ht.jsx(Bt,{children:"Lifetime"}),a?ht.jsx(Bt,{children:"Status"}):null]})}),ht.jsx(xr,{children:r.parts.map((l)=>ht.jsxs(Un,{children:[ht.jsx(Lt,{dataLabel:"Name",children:l.name}),ht.jsx(Lt,{dataLabel:"Kind",children:ht.jsx($o,{color:l.kind==="service"?"blue":"green",isCompact:!0,children:l.kind==="service"?"Service":"Component"})}),ht.jsx(Lt,{dataLabel:"Lifetime",children:l.lifetime==="long-lived"?"Long-lived":"On-demand"}),a?ht.jsx(Lt,{dataLabel:"Status",children:l.failure?ht.jsxs(ht.Fragment,{children:[ht.jsx($o,{status:"danger",isCompact:!0,children:"Failed"}),ht.jsx("div",{className:"console-metric",children:l.failure})]}):"—"}):null]},`${l.kind}-${l.name}`))})]}),ht.jsx("p",{className:"console-note",children:"A service is long-lived for the life of the application. A component runs on demand, once per request."})]}),ht.jsxs("section",{"aria-labelledby":"overview-summary",children:[ht.jsx("h2",{id:"overview-summary",className:"console-heading",children:"Summary"}),ht.jsxs(Ru,{isHorizontal:!0,isCompact:!0,horizontalTermWidthModifier:{default:"10rem"},children:[ht.jsxs(fr,{children:[ht.jsx(ur,{children:"Routes"}),ht.jsxs(cr,{children:[r.routes.filter((l)=>l.enabled).length," of ",r.routes.length," enabled"]})]}),ht.jsxs(fr,{children:[ht.jsx(ur,{children:"Environment"}),ht.jsx(cr,{children:Ir(r.environment.length,"variable")})]}),ht.jsxs(fr,{children:[ht.jsx(ur,{children:"Secrets"}),ht.jsx(cr,{children:r.secrets.length})]}),ht.jsxs(fr,{children:[ht.jsx(ur,{children:"Backing services"}),ht.jsx(cr,{children:Ir(r.backingServices.length,"binding")})]}),r.signals?ht.jsxs(fr,{children:[ht.jsx(ur,{children:"Requests"}),ht.jsxs(cr,{children:[r.signals.success," successful · ",r.signals.error," errors"]})]}):null]})]})]})});var Vj=w(Oe(),1);var xn=w(X(),1);function OQ({host:n,url:r}){let[a,l]=Vj.useState(!1);async function f(){try{await navigator.clipboard.writeText(r),l(!0)}catch{l(!1)}}return xn.jsxs(kl,{alignItems:{default:"alignItemsCenter"},gap:{default:"gapXs"},flexWrap:{default:"nowrap"},children:[xn.jsx(mr,{children:xn.jsxs(Le,{component:"a",variant:"link",isInline:!0,href:r,target:"_blank",rel:"noopener noreferrer",icon:xn.jsx(R1,{}),iconPosition:"end",children:[n,xn.jsx("span",{className:"pf-v6-screen-reader",children:" (opens in a new tab)"})]})}),xn.jsx(mr,{children:xn.jsx(hn,{content:a?"Copied":"Copy address",onTooltipHidden:()=>l(!1),children:xn.jsx(Le,{variant:"plain",size:"sm","aria-label":`Copy ${r}`,icon:xn.jsx(y1,{}),onClick:()=>void f()})})})]})}var Gj=Gt(function(){let r=an(),a=ii();if(a.routes.length===0)return xn.jsx(la,{variant:"xs",titleText:"No HTTP routes",headingLevel:"h2",className:"console-empty",children:xn.jsx(sa,{children:"This application has no HTTP routes."})});return xn.jsxs(gr,{"aria-label":"Routes",variant:"compact",className:"console-table",children:[xn.jsx(br,{children:xn.jsxs(Un,{children:[xn.jsx(Bt,{children:"Host"}),xn.jsx(Bt,{children:"Path"}),xn.jsx(Bt,{children:"Enabled"})]})}),xn.jsx(xr,{children:a.routes.map((l)=>xn.jsxs(Un,{children:[xn.jsx(Lt,{dataLabel:"Host",children:l.url?xn.jsx(OQ,{host:l.host,url:l.url}):l.host}),xn.jsx(Lt,{dataLabel:"Path",children:l.path}),xn.jsx(Lt,{dataLabel:"Enabled",children:xn.jsx(Fp,{id:`route-${l.id}`,"aria-label":`Route ${l.host}${l.path} enabled`,isChecked:l.enabled,isDisabled:!r.writable,onChange:(f,u)=>void r.setRoute(l.id,`${l.host}${l.path}`,u)})})]},l.id))})]})});var Hw=w(Oe(),1);var In=w(X(),1),Xj=Gt(function(){let r=an(),a=ii(),[l,f]=Hw.useState(),[u,p]=Hw.useState("");function h(){f(void 0),p("")}return In.jsxs(In.Fragment,{children:[a.secrets.length===0?In.jsx("p",{className:"console-note",children:"No secrets are attached to this application."}):In.jsxs(gr,{"aria-label":"Secrets",variant:"compact",className:"console-table",children:[In.jsx(br,{children:In.jsxs(Un,{children:[In.jsx(Bt,{children:"Name"}),In.jsx(Bt,{children:"Value"}),In.jsx(Bt,{screenReaderText:"Actions"})]})}),In.jsx(xr,{children:a.secrets.map((b)=>In.jsxs(Un,{children:[In.jsx(Lt,{dataLabel:"Name",children:b.name}),In.jsx(Lt,{dataLabel:"Value",children:"••••"}),In.jsx(Lt,{dataLabel:"Actions",isActionCell:!0,children:In.jsx(Le,{variant:"secondary",size:"sm",isDisabled:!r.writable,"aria-label":`Reassign ${b.name}`,onClick:()=>f(b.name),children:"Reassign"})})]},b.name))})]}),In.jsxs(vu,{isOpen:l!==void 0,variant:"small",onClose:h,"aria-labelledby":"reassign-secret",children:[In.jsx(iO,{title:"Reassign secret",labelId:"reassign-secret"}),In.jsx(QR,{children:In.jsx(dr,{label:`New value for ${l??""}`,fieldId:"secret-value",children:In.jsx(Kr,{id:"secret-value",type:"password",value:u,onChange:(b,x)=>p(x),autoComplete:"off"})})}),In.jsxs(aO,{children:[In.jsx(Le,{isDisabled:u.length===0||l===void 0,onClick:()=>{if(l===void 0)return;let b=l,x=u;h(),r.reassignSecret(b,x)},children:"Reassign"}),In.jsx(Le,{variant:"link",onClick:h,children:"Cancel"})]})]})]})});var dy=w(Oe(),1),Bs=w(X(),1),uy=240,db=48,Gu=3;function py({values:n,label:r}){let[a,l]=dy.useState(),f=dy.useId(),u=Math.max(...n,1),p=n.length<=1?uy:(uy-Gu*2)/(n.length-1),h=(O)=>Gu+O*p,b=(O)=>db-Gu-O/u*(db-Gu*2),x=n.map((O,A)=>`${h(A)},${b(O)}`).join(" "),y=`${h(0)},${db-Gu} ${x} ${h(n.length-1)},${db-Gu}`,_=a??n.length-1,v=n[_];function I(O){let A=O.currentTarget.getBoundingClientRect();if(A.width===0)return;let D=(O.clientX-A.left)/A.width*uy,k=Math.round((D-Gu)/p);l(Math.min(n.length-1,Math.max(0,k)))}return Bs.jsxs("div",{children:[Bs.jsxs("svg",{className:"console-sparkline",viewBox:`0 0 ${uy} ${db}`,preserveAspectRatio:"none",role:"img","aria-labelledby":f,onMouseMove:I,onMouseLeave:()=>l(void 0),children:[Bs.jsx("title",{id:f,children:r}),Bs.jsx("polygon",{className:"console-sparkline__area",points:y}),Bs.jsx("polyline",{className:"console-sparkline__line",points:x}),v===void 0?null:Bs.jsx("circle",{className:"console-sparkline__marker",cx:h(_),cy:b(v),r:4})]}),Bs.jsx("div",{className:"console-metric","aria-live":"polite",children:a===void 0?`Latest ${v??0} · peak ${Math.max(...n,0)}`:`Sample ${a+1} of ${n.length}: ${v??0}`})]})}var jr=w(X(),1),qj=Gt(function(){let r=ii(),{signals:a}=r;if(!a)return null;return jr.jsxs(Xp,{hasGutter:!0,children:[jr.jsx(Pl,{span:12,md:4,children:jr.jsxs(Ru,{isCompact:!0,children:[jr.jsxs(fr,{children:[jr.jsx(ur,{children:"Successful requests"}),jr.jsx(cr,{children:a.success})]}),jr.jsxs(fr,{children:[jr.jsx(ur,{children:"Errors"}),jr.jsx(cr,{children:a.error})]})]})}),jr.jsxs(Pl,{span:12,md:8,children:[jr.jsx("h2",{className:"console-heading",children:"Compute"}),a.compute&&a.compute.length>0?jr.jsx(py,{values:[...a.compute],label:`${r.name} compute`}):jr.jsx("p",{className:"console-note",children:"No compute samples yet."})]})]})});var Za=w(X(),1),wQ={overview:zj,routes:Gj,environment:Fj,secrets:Xj,bindings:jj,logs:Hj,signals:qj},$j=Gt(function(){let r=an(),a=r.ui.selectedTab,l=wQ[a];return Za.jsxs(Za.Fragment,{children:[Za.jsx(kj,{}),Za.jsxs(qc,{hasBodyWrapper:!1,isFilled:!0,className:"console-body",id:`console-tab-${a}`,role:"tabpanel","aria-label":a,children:[Za.jsx(cy,{}),r.application?Za.jsx(l,{}):Za.jsx(Vg,{children:Za.jsx(Pa,{"aria-label":`Loading ${r.ui.selectedApplication??"application"}`})})]})]})});var Zj=w(Oe(),1);var pm=w(Oe(),1);var so=w(X(),1),Yj=Gt(function(){let r=an(),{classes:a,writable:l}=r,[f,u]=pm.useState(""),[p,h]=pm.useState(),[b,x]=pm.useState(""),[y,_]=pm.useState(""),[v,I]=pm.useState(""),O=p??r.defaultServiceClass;async function A(D){D.preventDefault();let k=a.find((M)=>M.name===O);if(!k)return;if(await r.createService({type:k.type,name:f,className:k.name,...b?{memory:b}:{},...y?{storage:y}:{},...v?{cpu:v}:{}}))u("")}return so.jsxs(so.Fragment,{children:[a.length===0?so.jsx("p",{className:"console-note",children:"No service classes are available on this host group."}):null,so.jsxs(wu,{className:"console-form console-form--stacked",onSubmit:(D)=>void A(D),children:[so.jsx(dr,{label:"Name",isRequired:!0,fieldId:"service-name",className:"console-form__wide",children:so.jsx(Kr,{id:"service-name",value:f,onChange:(D,k)=>u(k),isDisabled:!l})}),so.jsx(dr,{label:"Class",isRequired:!0,fieldId:"service-class",className:"console-form__wide",children:so.jsx(Ha,{id:"service-class",value:O,isDisabled:!l,onChange:(D,k)=>h(String(k)),children:a.map((D)=>so.jsx(Au,{value:D.name,label:D.name},D.name))})}),so.jsx(dr,{label:"Memory",fieldId:"service-memory",children:so.jsx(Kr,{id:"service-memory",value:b,placeholder:"e.g. 512Mi",onChange:(D,k)=>x(k),isDisabled:!l})}),so.jsx(dr,{label:"Storage",fieldId:"service-storage",children:so.jsx(Kr,{id:"service-storage",value:y,placeholder:"e.g. 10Gi",onChange:(D,k)=>_(k),isDisabled:!l})}),so.jsx(dr,{label:"CPU",fieldId:"service-cpu",children:so.jsx(Kr,{id:"service-cpu",value:v,placeholder:"e.g. 500m",onChange:(D,k)=>I(k),isDisabled:!l})}),so.jsx(Ou,{className:"console-form__actions console-form__wide",children:so.jsx(Le,{type:"submit",isDisabled:!l||f.length===0||O.length===0,children:"Create"})})]})]})});var co=w(X(),1),Wj=Gt(function(){let r=an();if(r.services.length===0)return co.jsx(la,{variant:"xs",titleText:"No backing services",headingLevel:"h3",className:"console-empty",children:co.jsx(sa,{children:"Create a backing service to bind databases and queues to applications."})});return co.jsxs(gr,{"aria-label":"Backing services",variant:"compact",className:"console-table",children:[co.jsx(br,{children:co.jsxs(Un,{children:[co.jsx(Bt,{children:"Name"}),co.jsx(Bt,{children:"Class"}),co.jsx(Bt,{children:"Status"}),co.jsx(Bt,{screenReaderText:"Actions"})]})}),co.jsx(xr,{children:r.services.map((a)=>co.jsxs(Un,{children:[co.jsx(Lt,{dataLabel:"Name",children:a.name}),co.jsx(Lt,{dataLabel:"Class",children:a.className}),co.jsxs(Lt,{dataLabel:"Status",children:[co.jsx(lf,{ready:a.ready,compact:!0}),a.detail?co.jsx("div",{className:"console-metric",children:a.detail}):null]}),co.jsx(Lt,{dataLabel:"Actions",isActionCell:!0,children:co.jsx(Le,{variant:"secondary",isDanger:!0,size:"sm",isDisabled:!r.writable,"aria-label":`Delete ${a.name}`,onClick:()=>void r.deleteService(a.name),children:"Delete"})})]},a.name))})]})});var Ls=w(X(),1);function Kj(){let n=an();return Zj.useEffect(()=>(n.startServicePolling(),()=>n.stopServicePolling()),[n]),Ls.jsxs("div",{className:"console-split",children:[Ls.jsxs("section",{"aria-labelledby":"services-provisioned",children:[Ls.jsx("h2",{id:"services-provisioned",className:"console-heading",children:"Provisioned services"}),Ls.jsx(Wj,{})]}),Ls.jsxs("section",{"aria-labelledby":"services-create",className:"console-panel",children:[Ls.jsx("h2",{id:"services-create",className:"console-heading",children:"Create a backing service"}),Ls.jsx(Yj,{})]})]})}var ae=w(X(),1),Qj=Gt(function(){let r=an();if(r.session===void 0)return null;let a={session:r.session,apps:r.applications,services:r.services,signals:r.signals,activity:r.activity,onNavigate:(l)=>r.navigate(l),onOpenApplication:(l)=>void r.openApplication(l),onClearActivity:()=>r.clearActivity()};return ae.jsxs(Xp,{hasGutter:!0,children:[ae.jsx(Pl,{span:12,lg:3,children:ae.jsxs($p,{hasGutter:!0,children:[ae.jsx(Bu,{children:ae.jsx(AQ,{...a})}),ae.jsx(Bu,{children:ae.jsx(TQ,{...a})})]})}),ae.jsx(Pl,{span:12,lg:6,children:ae.jsxs($p,{hasGutter:!0,children:[ae.jsx(Bu,{children:ae.jsx(EQ,{...a})}),ae.jsx(Bu,{children:ae.jsx(DQ,{...a})})]})}),ae.jsx(Pl,{span:12,lg:3,children:ae.jsx(MQ,{...a})})]})});function AQ({session:n,apps:r,services:a,onNavigate:l}){return ae.jsxs(Lc,{isFullHeight:!0,children:[ae.jsx(Su,{children:"Details"}),ae.jsx(kc,{children:ae.jsxs(Ru,{isCompact:!0,children:[ae.jsxs(fr,{children:[ae.jsx(ur,{children:"Tenant"}),ae.jsx(cr,{children:n.tenant})]}),n.hostgroup?ae.jsxs(fr,{children:[ae.jsx(ur,{children:"Host group"}),ae.jsx(cr,{children:n.hostgroup})]}):null,ae.jsxs(fr,{children:[ae.jsx(ur,{children:"Access"}),ae.jsx(cr,{children:n.writable?"Read and write":"View only"})]}),ae.jsxs(fr,{children:[ae.jsx(ur,{children:"Applications"}),ae.jsx(cr,{children:r.length})]}),ae.jsxs(fr,{children:[ae.jsx(ur,{children:"Backing services"}),ae.jsx(cr,{children:a.length})]})]})}),ae.jsx(IO,{children:ae.jsx(Le,{variant:"link",isInline:!0,onClick:()=>l("applications"),children:"View applications"})})]})}function TQ({apps:n,services:r,onNavigate:a}){let l=n.filter((b)=>!b.ready).length,f=r.filter((b)=>!b.ready).length,u=n.reduce((b,x)=>b+x.services,0),p=n.reduce((b,x)=>b+x.components,0),h=n.reduce((b,x)=>b+x.routeCount,0);return ae.jsxs(Lc,{children:[ae.jsx(Su,{children:"Tenant inventory"}),ae.jsx(kc,{children:ae.jsxs(Zv,{isPlain:!0,children:[ae.jsx(pb,{text:Ir(n.length,"Application"),warning:l,onClick:()=>a("applications")}),ae.jsx(pb,{text:Ir(u,"Service part"),onClick:()=>a("applications")}),ae.jsx(pb,{text:Ir(p,"Component part"),onClick:()=>a("applications")}),ae.jsx(pb,{text:Ir(h,"Route"),onClick:()=>a("applications")}),ae.jsx(pb,{text:Ir(r.length,"Backing service"),warning:f,onClick:()=>a("backing-services")})]})})]})}function pb({text:n,warning:r,onClick:a}){return ae.jsx(Kv,{children:ae.jsxs(kl,{justifyContent:{default:"justifyContentSpaceBetween"},children:[ae.jsx(mr,{children:ae.jsx(Le,{variant:"link",isInline:!0,onClick:a,children:n})}),r?ae.jsx(mr,{children:ae.jsxs($o,{status:"warning",isCompact:!0,children:[r," not ready"]})}):null]})})}function EQ({session:n,apps:r,services:a,onNavigate:l}){let f=r.filter((x)=>x.failed).length,u=r.filter((x)=>!x.ready).length,p=u-f,h=a.filter((x)=>!x.ready).length,b=r.reduce((x,y)=>x+y.routeCount,0);return ae.jsxs(Lc,{children:[ae.jsx(Su,{children:"Status"}),ae.jsx(kc,{children:ae.jsxs(kl,{gap:{default:"gapLg"},flexWrap:{default:"wrap"},children:[ae.jsx(my,{status:f>0?"danger":Jj(r.length,u),label:"Applications",detail:r.length===0?"None deployed":u===0?"All ready":[f>0?`${f} failed`:"",p>0?`${p} not ready`:""].filter((x)=>x.length>0).join(" · "),onClick:()=>l("applications")}),ae.jsx(my,{status:Jj(a.length,h),label:"Backing services",detail:a.length===0?"None provisioned":h===0?"All ready":`${h} not ready`,onClick:()=>l("backing-services")}),ae.jsx(my,{status:b===0?"info":"success",label:"Routes",detail:b===0?"No HTTP routes":Ir(b,"route"),onClick:()=>l("applications")}),ae.jsx(my,{status:n.writable?"success":"info",label:"Access",detail:n.writable?"Read and write":"View only"})]})}),ae.jsx(Gc,{}),ae.jsx(kc,{children:ae.jsxs(kl,{alignItems:{default:"alignItemsCenter"},gap:{default:"gapSm"},children:[ae.jsx(mr,{children:"Attention"}),u===0&&h===0?ae.jsx($o,{status:"success",isCompact:!0,children:"Nothing needs attention"}):ae.jsxs(ae.Fragment,{children:[f>0?ae.jsxs($o,{status:"danger",isCompact:!0,children:[Ir(f,"application")," failed"]}):null,p>0?ae.jsx($o,{status:"warning",isCompact:!0,children:Ir(p,"application")}):null,h>0?ae.jsx($o,{status:"warning",isCompact:!0,children:Ir(h,"backing service")}):null]})]})})]})}function Jj(n,r){if(n===0)return"info";return r===0?"success":"warning"}function eF({status:n}){switch(n){case"success":return ae.jsx(Up,{status:"success",children:ae.jsx(C1,{})});case"warning":return ae.jsx(Up,{status:"warning",children:ae.jsx(_1,{})});case"danger":return ae.jsx(Up,{status:"danger",children:ae.jsx(S1,{})});default:return ae.jsx(Up,{status:"info",children:ae.jsx(O1,{})})}}function my({status:n,label:r,detail:a,onClick:l}){return ae.jsxs(mr,{className:"console-status-item",children:[ae.jsxs(kl,{alignItems:{default:"alignItemsCenter"},gap:{default:"gapSm"},children:[ae.jsx(mr,{children:ae.jsx(eF,{status:n})}),ae.jsx(mr,{children:l?ae.jsx(Le,{variant:"link",isInline:!0,onClick:l,children:r}):r})]}),ae.jsx("div",{className:"console-status-item__detail",children:a})]})}function DQ({apps:n,signals:r,onOpenApplication:a}){return ae.jsxs(Lc,{children:[ae.jsx(Lv,{children:ae.jsx(Su,{children:"Application signals"})}),ae.jsx(kc,{children:r===void 0?ae.jsxs($p,{hasGutter:!0,children:[ae.jsx(rC,{screenreaderText:"Loading signals"}),ae.jsx(rC,{width:"60%"})]}):r.length===0?ae.jsx(la,{variant:"xs",titleText:"No signals published",headingLevel:"h3",children:ae.jsx(sa,{children:n.length===0?"Deploy an application to see request counts and compute here.":"Applications publish signals once they have served requests."})}):ae.jsx($p,{hasGutter:!0,children:r.map((l,f)=>ae.jsxs(Bu,{children:[f>0?ae.jsx(Gc,{}):null,ae.jsxs(Xp,{hasGutter:!0,children:[ae.jsxs(Pl,{span:12,md:5,children:[ae.jsx(jv,{component:"h4",children:ae.jsx(Le,{variant:"link",isInline:!0,onClick:()=>a(l.application),children:l.application})}),ae.jsxs(kl,{gap:{default:"gapMd"},children:[ae.jsxs(mr,{children:[ae.jsx("strong",{children:l.success}),ae.jsx("div",{className:"console-metric",children:"successful"})]}),ae.jsxs(mr,{children:[ae.jsx("strong",{children:l.error}),ae.jsx("div",{className:"console-metric",children:"errors"})]})]})]}),ae.jsx(Pl,{span:12,md:7,children:l.compute&&l.compute.length>0?ae.jsx(py,{values:[...l.compute],label:`${l.application} compute`}):ae.jsx("div",{className:"console-metric",children:"No compute samples yet."})})]})]},l.application))})})]})}function MQ({activity:n,onClearActivity:r}){return ae.jsxs(Lc,{isFullHeight:!0,children:[ae.jsx(Lv,{actions:{actions:ae.jsx(Le,{variant:"link",isInline:!0,onClick:r,isDisabled:n.length===0,children:"Clear"}),hasNoOffset:!0},children:ae.jsx(Su,{children:"Activity"})}),ae.jsx(kc,{className:"console-activity",children:n.length===0?ae.jsx(la,{variant:"xs",titleText:"No activity yet",headingLevel:"h3",children:ae.jsx(sa,{children:"Console actions and status changes from this session appear here."})}):ae.jsx(Zv,{isPlain:!0,isBordered:!0,children:n.map((a)=>ae.jsx(Kv,{children:ae.jsxs(kl,{gap:{default:"gapSm"},flexWrap:{default:"nowrap"},children:[ae.jsx(mr,{className:"console-activity__time",children:Bj(a.at)}),ae.jsx(mr,{children:ae.jsx(eF,{status:a.status})}),ae.jsx(mr,{children:a.text})]})},a.id))})})]})}var tF="/assets/di-framework-mark.png";var ft=w(X(),1),oF=Gt(function(){return ft.jsx(Bg,{className:"console-page",masthead:ft.jsx(NQ,{}),sidebar:ft.jsx(BQ,{}),isManagedSidebar:!0,isContentFilled:!0,children:ft.jsx(LQ,{})})}),NQ=Gt(function(){let r=an(),{session:a}=r;return ft.jsxs(QO,{className:"console-dark",children:[ft.jsxs(o1,{children:[ft.jsx(r1,{children:ft.jsx(d1,{variant:"plain","aria-label":"Global navigation",children:ft.jsx(v1,{})})}),ft.jsx(e1,{children:ft.jsxs(n1,{component:"button",className:"console-masthead-brand",onClick:()=>r.navigate("dashboard"),children:[ft.jsx(kQ,{}),ft.jsxs("span",{className:"console-masthead-title",children:[ft.jsx("span",{className:"console-masthead-title__product",children:"DI Framework console"}),a?ft.jsx("span",{className:"console-masthead-title__context",children:a.hostgroup?`${a.tenant} · ${a.hostgroup}`:a.tenant}):null]})]})})]}),ft.jsx(t1,{children:ft.jsx(Hg,{isFullHeight:!0,isStatic:!0,children:ft.jsx(Nu,{children:ft.jsxs(jg,{align:{default:"alignEnd"},gap:{default:"gapSm"},children:[a&&!r.writable?ft.jsx(Mu,{children:ft.jsx($o,{color:"grey",isCompact:!0,children:"View only"})}):null,ft.jsx(Mu,{children:ft.jsx(Le,{variant:"plain","aria-label":"Refresh",icon:ft.jsx(Gg,{}),isDisabled:a===void 0||r.ui.refreshing,onClick:()=>void r.refreshAll()})})]})})})})]})}),BQ=Gt(function(){let r=an(),{section:a}=r.ui,l=nF.useContext(ro),f=(u)=>{if(r.navigate(u),l.isMobile&&l.isSidebarOpen)l.onSidebarToggle()};return ft.jsx(i1,{className:"console-dark",children:ft.jsx(c1,{children:ft.jsx(Lp,{"aria-label":"Console navigation",children:ft.jsxs(Pp,{children:[ft.jsx(jp,{component:"button",itemId:"dashboard",isActive:a==="dashboard",onClick:()=>f("dashboard"),children:"Dashboard"}),ft.jsx(jp,{component:"button",itemId:"applications",isActive:a==="applications",onClick:()=>f("applications"),children:"Applications"}),ft.jsx(jp,{component:"button",itemId:"backing-services",isActive:a==="backing-services",onClick:()=>f("backing-services"),children:"Backing services"})]})})})})}),LQ=Gt(function(){let r=an(),{ui:a}=r;if(r.session===void 0)return ft.jsx(qc,{isFilled:!0,children:a.error?ft.jsx(Cp,{variant:"danger",title:a.error,isInline:!0}):ft.jsx(Vg,{children:ft.jsx(Pa,{"aria-label":"Opening the console session"})})});if(a.section==="applications"&&a.selectedApplication)return ft.jsx($j,{});let l=a.section==="dashboard"?{title:"Dashboard",description:"Readiness, signals, and recent activity for this tenant.",body:ft.jsx(Qj,{})}:a.section==="backing-services"?{title:"Backing services",description:"Databases, queues, and other services applications bind to.",body:ft.jsx(Kj,{})}:{title:"Applications",description:"Applications deployed for this tenant and their readiness.",body:ft.jsx(Lj,{})};return ft.jsxs(ft.Fragment,{children:[ft.jsx(sy,{title:l.title,description:l.description}),ft.jsxs(qc,{hasBodyWrapper:!1,isFilled:!0,className:"console-body",children:[ft.jsx(cy,{}),l.body]})]})});function kQ(){return ft.jsx("img",{className:"console-brand-mark",src:tF,alt:""})}var PQ="warn";function jQ(){return PQ}var So;(function(n){n.afterCreate="afterCreate",n.afterAttach="afterAttach",n.afterCreationFinalization="afterCreationFinalization",n.beforeDetach="beforeDetach",n.beforeDestroy="beforeDestroy"})(So||(So={}));function mF(n){return mf(n,1),Xt(n).type}function rF(n,r){mf(n,1),ql(r,(a)=>typeof a==="object","object or array",2),Xt(n).applyPatches(rA(r))}function df(n,r){return mf(n,1),Xt(n).applySnapshot(r)}function FQ(n,r=!0){mf(n,1);let a=Xt(n);if(r)return a.snapshot;return bm(a.type.getSnapshot(a,!1))}function HQ(n){return mf(n,1),Xt(n).root.storedValue}function zQ(n){return mf(n,1),Xt(n).path}function VQ(n){return mf(n,1),Xt(n).identifier}function hF(n){return mf(n,1),Xt(n).observableIsAlive}function Ww(n){return n}class Zw{get subpath(){return this._subpath}get subpathUponDeath(){return this._subpathUponDeath}get pathUponDeath(){return this._pathUponDeath}get value(){return this.type.getValue(this)}get state(){return this._state}set state(n){let r=this.isAlive;this._state=n;let a=this.isAlive;if(this.aliveAtom&&r!==a)this.aliveAtom.reportChanged()}fireInternalHook(n){if(this._hookSubscribers)this._hookSubscribers.emit(n,this,n)}registerHook(n,r){if(!this._hookSubscribers)this._hookSubscribers=new lA;return this._hookSubscribers.register(n,r)}get parent(){return this._parent}constructor(n,r,a,l){Object.defineProperty(this,"type",{enumerable:!0,configurable:!0,writable:!0,value:n}),Object.defineProperty(this,"environment",{enumerable:!0,configurable:!0,writable:!0,value:l}),Object.defineProperty(this,"_escapedSubpath",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_subpath",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_subpathUponDeath",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_pathUponDeath",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"storedValue",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"aliveAtom",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_state",{enumerable:!0,configurable:!0,writable:!0,value:Lo.INITIALIZING}),Object.defineProperty(this,"_hookSubscribers",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_parent",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"pathAtom",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.environment=l,this.baseSetParent(r,a)}getReconciliationType(){return this.type}baseSetParent(n,r){if(this._parent=n,this._subpath=r,this._escapedSubpath=void 0,this.pathAtom)this.pathAtom.reportChanged()}get path(){return this.getEscapedPath(!0)}getEscapedPath(n){if(n){if(!this.pathAtom)this.pathAtom=Yg("path");this.pathAtom.reportObserved()}if(!this.parent)return"";if(this._escapedSubpath===void 0)this._escapedSubpath=!this._subpath?"":qu(this._subpath);return this.parent.getEscapedPath(n)+"/"+this._escapedSubpath}get isRoot(){return this.parent===null}get isAlive(){return this.state!==Lo.DEAD}get isDetaching(){return this.state===Lo.DETACHING}get observableIsAlive(){if(!this.aliveAtom)this.aliveAtom=Yg("alive");return this.aliveAtom.reportObserved(),this.isAlive}baseFinalizeCreation(n){if(pn()){if(!this.isAlive)throw new Ae("assertion failed: cannot finalize the creation of a node that is already dead")}if(this.state===Lo.CREATED){if(this.parent){if(this.parent.state!==Lo.FINALIZED)return;this.fireHook(So.afterAttach)}if(this.state=Lo.FINALIZED,n)n()}}baseFinalizeDeath(){if(this._hookSubscribers)this._hookSubscribers.clearAll();this._subpathUponDeath=this._subpath,this._pathUponDeath=this.getEscapedPath(!1),this.baseSetParent(null,""),this.state=Lo.DEAD}baseAboutToDie(){this.fireHook(So.beforeDestroy)}}class mm extends Zw{constructor(n,r,a,l,f){super(n,r,a,l);try{this.storedValue=n.createNewInstance(f)}catch(u){throw this.state=Lo.DEAD,u}this.state=Lo.CREATED,this.finalizeCreation()}get root(){if(!this.parent)throw new Ae("This scalar node is not part of a tree");return this.parent.root}setParent(n,r){let a=this.parent!==n,l=this.subpath!==r;if(!a&&!l)return;if(pn()){if(!r)throw new Ae("assertion failed: subpath expected");if(!n)throw new Ae("assertion failed: parent expected");if(a)throw new Ae("assertion failed: scalar nodes cannot change their parent")}this.environment=void 0,this.baseSetParent(this.parent,r)}get snapshot(){return bm(this.getSnapshot())}getSnapshot(){return this.type.getSnapshot(this)}toString(){let n=(this.isAlive?this.path:this.pathUponDeath)||"<root>";return`${this.type.name}@${n}${this.isAlive?"":" [dead]"}`}die(){if(!this.isAlive||this.state===Lo.DETACHING)return;this.aboutToDie(),this.finalizeDeath()}finalizeCreation(){this.baseFinalizeCreation()}aboutToDie(){this.baseAboutToDie()}finalizeDeath(){this.baseFinalizeDeath()}fireHook(n){this.fireInternalHook(n)}}mm.prototype.die=yo(mm.prototype.die);var GQ=1,Ka;(function(n){n[n.UNINITIALIZED=0]="UNINITIALIZED",n[n.CREATING=1]="CREATING",n[n.CREATED=2]="CREATED"})(Ka||(Ka={}));var ai;(function(n){n.Dispose="dispose",n.Patch="patch",n.Snapshot="snapshot"})(ai||(ai={}));var XQ={onError(n){throw n}};class vr extends Zw{applyPatches(n){this.createObservableInstanceIfNeeded(),this._applyPatches(n)}applySnapshot(n){this.createObservableInstanceIfNeeded(),this._applySnapshot(n)}constructor(n,r,a,l,f){super(n,r,a,l);if(Object.defineProperty(this,"nodeId",{enumerable:!0,configurable:!0,writable:!0,value:++GQ}),Object.defineProperty(this,"identifierAttribute",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"identifier",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"unnormalizedIdentifier",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"identifierCache",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"isProtectionEnabled",{enumerable:!0,configurable:!0,writable:!0,value:!0}),Object.defineProperty(this,"middlewares",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"hasSnapshotPostProcessor",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"_applyPatches",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_applySnapshot",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_autoUnbox",{enumerable:!0,configurable:!0,writable:!0,value:!0}),Object.defineProperty(this,"_isRunningAction",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"_hasSnapshotReaction",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"_endOfActionCallbacks",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_observableInstanceState",{enumerable:!0,configurable:!0,writable:!0,value:Ka.UNINITIALIZED}),Object.defineProperty(this,"_childNodes",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_initialSnapshot",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_cachedInitialSnapshot",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_cachedInitialSnapshotCreated",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"_snapshotComputed",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_snapshotUponDeath",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_internalEvents",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this._snapshotComputed=Jp(()=>bm(this.getSnapshot())),this.unbox=this.unbox.bind(this),this._initialSnapshot=bm(f),this.identifierAttribute=n.identifierAttribute,!r)this.identifierCache=new nA;if(this._childNodes=n.initializeChildNodes(this,this._initialSnapshot),this.identifier=null,this.unnormalizedIdentifier=null,this.identifierAttribute&&this._initialSnapshot){let u=this._initialSnapshot[this.identifierAttribute];if(u===void 0){let p=this._childNodes[this.identifierAttribute];if(p)u=p.value}if(typeof u!=="string"&&typeof u!=="number"&&typeof u!=="bigint")throw new Ae(`Instance identifier '${this.identifierAttribute}' for type '${this.type.name}' must be a string, a number or a bigint`);this.identifier=bb(u),this.unnormalizedIdentifier=u}if(!r)this.identifierCache.addNodeToCache(this);else r.root.identifierCache.addNodeToCache(this)}createObservableInstanceIfNeeded(n=!0){if(this._observableInstanceState===Ka.UNINITIALIZED)this.createObservableInstance(n)}createObservableInstance(n=!0){if(pn()){if(this.state!==Lo.INITIALIZING)throw new Ae("assertion failed: the creation of the observable instance must be done on the initializing phase")}this._observableInstanceState=Ka.CREATING;let r=[],a=this.parent;while(a&&a._observableInstanceState===Ka.UNINITIALIZED)r.unshift(a),a=a.parent;for(let f of r)f.createObservableInstanceIfNeeded(!1);let l=this.type;try{this.storedValue=l.createNewInstance(this._childNodes),this.preboot(),this._isRunningAction=!0,l.finalizeNewInstance(this,this.storedValue)}catch(f){throw this.state=Lo.DEAD,f}finally{this._isRunningAction=!1}if(this._observableInstanceState=Ka.CREATED,this._snapshotComputed.trackAndCompute(),this.isRoot)this._addSnapshotReaction();if(this._childNodes=gm,this.state=Lo.CREATED,n){this.fireHook(So.afterCreate),this.finalizeCreation();for(let f of r.reverse())f.fireHook(So.afterCreate),f.finalizeCreation()}}get root(){let n=this.parent;return n?n.root:this}enqueueEndOfAction(n){let r=this.root;if(!r._endOfActionCallbacks)r._endOfActionCallbacks=[];r._endOfActionCallbacks.push(n)}flushEndOfActionCallbacks(){let n=this.root;while(n._endOfActionCallbacks&&n._endOfActionCallbacks.length>0){let r=n._endOfActionCallbacks;n._endOfActionCallbacks=void 0,r.forEach((a)=>{a()})}}clearParent(){if(!this.parent)return;this.fireHook(So.beforeDetach);let n=this.state;this.state=Lo.DETACHING;let r=this.root,a=r.environment,l=r.identifierCache.splitCache(this);try{this.parent.removeChild(this.subpath),this.baseSetParent(null,""),this.environment=a,this.identifierCache=l}finally{this.state=n}}setParent(n,r){let a=n!==this.parent,l=r!==this.subpath;if(!a&&!l)return;if(pn()){if(!r)throw new Ae("assertion failed: subpath expected");if(!n)throw new Ae("assertion failed: new parent expected");if(this.parent&&a)throw new Ae(`A node cannot exists twice in the state tree. Failed to add ${this} to path '${n.path}/${r}'.`);if(!this.parent&&n.root===this)throw new Ae(`A state tree is not allowed to contain itself. Cannot assign ${this} to path '${n.path}/${r}'`);if(!this.parent&&!!this.environment&&this.environment!==n.root.environment)throw new Ae("A state tree cannot be made part of another state tree as long as their environments are different.")}if(a)this.environment=void 0,n.root.identifierCache.mergeCache(this),this.baseSetParent(n,r),this.fireHook(So.afterAttach);else if(l)this.baseSetParent(this.parent,r)}fireHook(n){this.fireInternalHook(n);let r=this.storedValue&&typeof this.storedValue==="object"&&this.storedValue[n];if(typeof r==="function")if(FC)FC(()=>{r.apply(this.storedValue)});else r.apply(this.storedValue)}get snapshot(){if(this.hasSnapshotPostProcessor)this.createObservableInstanceIfNeeded();return this._snapshotComputed.get()}getSnapshot(){if(!this.isAlive)return this._snapshotUponDeath;return this._observableInstanceState===Ka.CREATED?this._getActualSnapshot():this._getCachedInitialSnapshot()}_getActualSnapshot(){return this.type.getSnapshot(this)}_getCachedInitialSnapshot(){if(!this._cachedInitialSnapshotCreated){let n=this.type,r=this._childNodes,a=this._initialSnapshot;this._cachedInitialSnapshot=n.processInitialSnapshot(r,a),this._cachedInitialSnapshotCreated=!0}return this._cachedInitialSnapshot}isRunningAction(){if(this._isRunningAction)return!0;if(this.isRoot)return!1;return this.parent.isRunningAction()}assertAlive(n){let r=jQ();if(!this.isAlive&&r!=="ignore"){let a=this._getAssertAliveError(n);switch(r){case"error":throw new Ae(a);case"warn":AF(a)}}}_getAssertAliveError(n){let r=this.getEscapedPath(!1)||this.pathUponDeath||"",a=n.subpath&&qu(n.subpath)||"",l=n.actionContext||Qw();if(l&&l.type!=="action"&&l.parentActionEvent)l=l.parentActionEvent;let f="";if(l&&l.name!=null)f=`${l&&l.context&&zQ(l.context)||r}.${l.name}()`;return`You are trying to read or write to an object that is no longer part of a state tree. (Object type: '${this.type.name}', Path upon death: '${r}', Subpath: '${a}', Action: '${f}'). Either detach nodes first, or don't use objects after removing / replacing them in the tree.`}getChildNode(n){this.assertAlive({subpath:n}),this._autoUnbox=!1;try{return this._observableInstanceState===Ka.CREATED?this.type.getChildNode(this,n):this._childNodes[n]}finally{this._autoUnbox=!0}}getChildren(){this.assertAlive(gm),this._autoUnbox=!1;try{return this._observableInstanceState===Ka.CREATED?this.type.getChildren(this):SF(this._childNodes)}finally{this._autoUnbox=!0}}getChildType(n){return this.type.getChildType(n)}get isProtected(){return this.root.isProtectionEnabled}assertWritable(n){if(this.assertAlive(n),!this.isRunningAction()&&this.isProtected)throw new Ae(`Cannot modify '${this}', the object is protected and can only be modified by using an action.`)}removeChild(n){this.type.removeChild(this,n)}unbox(n){if(!n)return n;return this.assertAlive({subpath:n.subpath||n.subpathUponDeath}),this._autoUnbox?n.value:n}toString(){let n=(this.isAlive?this.path:this.pathUponDeath)||"<root>",r=this.identifier?`(id: ${this.identifier})`:"";return`${this.type.name}@${n}${r}${this.isAlive?"":" [dead]"}`}finalizeCreation(){this.baseFinalizeCreation(()=>{for(let n of this.getChildren())n.finalizeCreation();this.fireInternalHook(So.afterCreationFinalization)})}detach(){if(!this.isAlive)throw new Ae("Error while detaching, node is not alive.");this.clearParent()}preboot(){let n=this;this._applyPatches=gb(this.storedValue,"@APPLY_PATCHES",(r)=>{r.forEach((a)=>{if(!a.path){n.type.applySnapshot(n,a.value);return}let l=vee(a.path);aee(n,l.slice(0,-1)).applyPatchLocally(l[l.length-1],a)})}),this._applySnapshot=gb(this.storedValue,"@APPLY_SNAPSHOT",(r)=>{if(r===n.snapshot)return;return n.type.applySnapshot(n,r)}),Xu(this.storedValue,"$treenode",this),Xu(this.storedValue,"toJSON",iee)}die(){if(!this.isAlive||this.state===Lo.DETACHING)return;this.aboutToDie(),this.finalizeDeath()}aboutToDie(){if(this._observableInstanceState===Ka.UNINITIALIZED)return;this.getChildren().forEach((n)=>{n.aboutToDie()}),this.baseAboutToDie(),this._internalEventsEmit(ai.Dispose),this._internalEventsClear(ai.Dispose)}finalizeDeath(){this.getChildren().forEach((r)=>{r.finalizeDeath()}),this.root.identifierCache.notifyDied(this);let n=this.snapshot;this._snapshotUponDeath=n,this._internalEventsClearAll(),this.baseFinalizeDeath()}onSnapshot(n){return this._addSnapshotReaction(),this._internalEventsRegister(ai.Snapshot,n)}emitSnapshot(n){this._internalEventsEmit(ai.Snapshot,n)}onPatch(n){return this._internalEventsRegister(ai.Patch,n)}hasPatchSubscribers(){if(this._internalEventsHasSubscribers(ai.Patch))return!0;return this.parent?this.parent.hasPatchSubscribers():!1}emitPatch(n,r){if(this._internalEventsHasSubscribers(ai.Patch)){let a=r.path.substr(this.path.length)+(n.path?"/"+n.path:""),l=dee({},n,{path:a}),[f,u]=hee(l);this._internalEventsEmit(ai.Patch,f,u)}if(this.parent)this.parent.emitPatch(n,r)}hasDisposer(n){return this._internalEventsHas(ai.Dispose,n)}addDisposer(n){if(!this.hasDisposer(n)){this._internalEventsRegister(ai.Dispose,n,!0);return}throw new Ae("cannot add a disposer when it is already registered for execution")}removeDisposer(n){if(!this._internalEventsHas(ai.Dispose,n))throw new Ae("cannot remove a disposer which was never registered for execution");this._internalEventsUnregister(ai.Dispose,n)}removeMiddleware(n){if(this.middlewares){let r=this.middlewares.indexOf(n);if(r>=0)this.middlewares.splice(r,1)}}addMiddleWare(n,r=!0){let a={handler:n,includeHooks:r};if(!this.middlewares)this.middlewares=[a];else this.middlewares.push(a);return()=>{this.removeMiddleware(a)}}applyPatchLocally(n,r){this.assertWritable({subpath:n}),this.createObservableInstanceIfNeeded(),this.type.applyPatchLocally(this,n,r)}_addSnapshotReaction(){if(!this._hasSnapshotReaction){let n=h4(()=>this.snapshot,(r)=>this.emitSnapshot(r),XQ);this.addDisposer(n),this._hasSnapshotReaction=!0}}_internalEventsHasSubscribers(n){return!!this._internalEvents&&this._internalEvents.hasSubscribers(n)}_internalEventsRegister(n,r,a=!1){if(!this._internalEvents)this._internalEvents=new lA;return this._internalEvents.register(n,r,a)}_internalEventsHas(n,r){return!!this._internalEvents&&this._internalEvents.has(n,r)}_internalEventsUnregister(n,r){if(this._internalEvents)this._internalEvents.unregister(n,r)}_internalEventsEmit(n,...r){if(this._internalEvents)this._internalEvents.emit(n,...r)}_internalEventsClear(n){if(this._internalEvents)this._internalEvents.clear(n)}_internalEventsClearAll(){if(this._internalEvents)this._internalEvents.clearAll()}}vr.prototype.createObservableInstance=yo(vr.prototype.createObservableInstance);vr.prototype.detach=yo(vr.prototype.detach);vr.prototype.die=yo(vr.prototype.die);var gF,Ct;(function(n){n[n.String=1]="String",n[n.Number=2]="Number",n[n.Boolean=4]="Boolean",n[n.Date=8]="Date",n[n.Literal=16]="Literal",n[n.Array=32]="Array",n[n.Map=64]="Map",n[n.Object=128]="Object",n[n.Frozen=256]="Frozen",n[n.Optional=512]="Optional",n[n.Reference=1024]="Reference",n[n.Identifier=2048]="Identifier",n[n.Late=4096]="Late",n[n.Refinement=8192]="Refinement",n[n.Union=16384]="Union",n[n.Null=32768]="Null",n[n.Undefined=65536]="Undefined",n[n.Integer=131072]="Integer",n[n.Custom=262144]="Custom",n[n.SnapshotProcessor=524288]="SnapshotProcessor",n[n.Lazy=1048576]="Lazy",n[n.Finite=2097152]="Finite",n[n.Float=4194304]="Float",n[n.BigInt=8388608]="BigInt"})(Ct||(Ct={}));var Kw="cannotDetermine",qQ=Symbol("$type");class Xl{constructor(n){Object.defineProperty(this,gF,{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"C",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"S",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"T",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"N",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"isType",{enumerable:!0,configurable:!0,writable:!0,value:!0}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.name=n}create(n,r){return Gl(this,n),this.instantiate(null,"",r,n).value}getSnapshot(n,r){throw new Ae("unimplemented method")}isAssignableFrom(n){return n===this}validate(n,r){if(yF(n)){let l=mF(n);return this.isAssignableFrom(l)?Cr():yr(r,n)}return this.isValidSnapshot(n,r)}is(n){return this.validate(n,[{path:"",type:this}]).length===0}get Type(){throw new Ae("Factory.Type should not be actually called. It is just a Type signature that can be used at compile time with Typescript, by using `typeof type.Type`")}get TypeWithoutSTN(){throw new Ae("Factory.TypeWithoutSTN should not be actually called. It is just a Type signature that can be used at compile time with Typescript, by using `typeof type.TypeWithoutSTN`")}get SnapshotType(){throw new Ae("Factory.SnapshotType should not be actually called. It is just a Type signature that can be used at compile time with Typescript, by using `typeof type.SnapshotType`")}get CreationType(){throw new Ae("Factory.CreationType should not be actually called. It is just a Type signature that can be used at compile time with Typescript, by using `typeof type.CreationType`")}}gF=qQ;Xl.prototype.create=yo(Xl.prototype.create);class cf extends Xl{constructor(n){super(n);Object.defineProperty(this,"identifierAttribute",{enumerable:!0,configurable:!0,writable:!0,value:void 0})}create(n=this.getDefaultSnapshot(),r){return super.create(n,r)}getValue(n){return n.createObservableInstanceIfNeeded(),n.storedValue}isMatchingSnapshotId(n,r){return!n.identifierAttribute||n.identifier===bb(r[n.identifierAttribute])}tryToReconcileNode(n,r){if(n.isDetaching)return!1;if(n.snapshot===r)return!0;if(Rn(r)&&Xt(r)===n)return!0;if(n.type===this&&iA(r)&&!Rn(r)&&this.isMatchingSnapshotId(n,r))return n.applySnapshot(r),!0;return!1}reconcile(n,r,a,l){if(this.tryToReconcileNode(n,r))return n.setParent(a,l),n;if(n.die(),Rn(r)&&this.isAssignableFrom(mF(r))){let u=Xt(r);return u.setParent(a,l),u}return this.instantiate(a,l,void 0,r)}getSubTypes(){return null}}cf.prototype.create=yo(cf.prototype.create);class ks extends Xl{createNewInstance(n){return n}getValue(n){return n.storedValue}getSnapshot(n){return n.storedValue}reconcile(n,r,a,l){if(!n.isDetaching&&n.type===this&&n.storedValue===r)return n;let f=this.instantiate(a,l,void 0,r);return n.die(),f}getSubTypes(){return null}}function Jw(n,r,a){let l=r.getReconciliationType(),f=bF(n),u=l===f;return r instanceof vr&&u&&l instanceof cf&&iA(a)&&!Rn(a)&&l.isMatchingSnapshotId(r,a)}function bF(n){let r=n.getSubTypes();if(!r||Array.isArray(r)||r===Kw||!$Q(n))return n;return bF(r)}function $Q(n){let r=Ct.Optional|Ct.Late,a=Ct.Refinement|Ct.SnapshotProcessor|Ct.Union;return(n.flags&r)>0&&(n.flags&a)===0}function Ja(n){return typeof n==="object"&&n&&n.isType===!0}function pf(n,r){ql(n,Ja,"mobx-state-tree type",r)}var YQ=1,hb;function Qw(){return hb}function xF(){return YQ++}function qw(n,r){let a=Xt(n.context);if(n.type==="action")a.assertAlive({actionContext:n});let l=a._isRunningAction;a._isRunningAction=!0;let f=hb,u=!f;hb=n;try{return WQ(a,n,r,u)}finally{hb=f,a._isRunningAction=l}}function IF(n){if(!n)return;if(n.type==="action")return n;return n.parentActionEvent}function gb(n,r,a){let l=function(){let f=xF(),u=hb,p=IF(u);return qw({type:"action",name:r,id:f,args:wF(arguments),context:n,tree:HQ(n),rootId:u?u.rootId:f,parentId:u?u.id:0,allParentIds:u?[...u.allParentIds,u.id]:[],parentEvent:u,parentActionEvent:p},a)};return l._isMSTAction=!0,l._isFlowAction=a._isFlowAction,l}class vF{constructor(n,r){if(Object.defineProperty(this,"arrayIndex",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"inArrayIndex",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"middlewares",{enumerable:!0,configurable:!0,writable:!0,value:[]}),r.$mst_middleware)this.middlewares.push(r.$mst_middleware);let a=n;while(a){if(a.middlewares)this.middlewares.push(a.middlewares);a=a.parent}}get isEmpty(){return this.middlewares.length<=0}getNextMiddleware(){let n=this.middlewares[this.arrayIndex];if(!n)return;let r=n[this.inArrayIndex++];if(!r)return this.arrayIndex++,this.inArrayIndex=0,this.getNextMiddleware();return r}}function WQ(n,r,a,l){function f(b,x){let y=()=>{let _,v;try{_=x.apply(null,b.args)}catch(I){v=I}if(l||!b.parentActionEvent)try{n.root.flushEndOfActionCallbacks()}catch(I){if(!v)v=I}if(v)throw v;return _};return b.name?yo(b.name,y)():yo(y)()}let u=new vF(n,a);if(u.isEmpty)return f(r,a);let p=null;function h(b){let x=u.getNextMiddleware(),y=x&&x.handler;if(!y)return f(b,a);if(!x.includeHooks&&So[b.name])return h(b);let _=!1;function v(A,D){if(_=!0,p=h(A),D)p=D(p)}let I=!1;function O(A){I=!0,p=A}if(y(b,v,O),pn()){if(!_&&!I){let A=Xt(b.tree);throw new Ae(`Neither the next() nor the abort() callback within the middleware ${y.name} for the action: "${b.name}" on the node: ${A.type.name} was invoked.`)}else if(_&&I){let A=Xt(b.tree);throw new Ae(`The next() and abort() callback within the middleware ${y.name} for the action: "${b.name}" on the node: ${A.type.name} were invoked.`)}}if(I&&(l||!b.parentActionEvent))return f(b,()=>p);return p}return h(r)}var ZQ={enabled:!1,indent:2,maxStringLength:100,maxArrayLength:10,maxPropertyCount:30,maxDepth:5},KQ=Object.assign({},ZQ);function eA(){return Object.assign({},KQ)}function iF(n,r){try{return JSON.stringify(n,null,r)}catch(a){return`<Unserializable: ${a}>`}}function JQ(n){return n.length<280?n:`${n.substring(0,272)}......${n.substring(n.length-8)}`}function $w(n,r,a){if(typeof n==="string")return n.length>a.maxStringLength?`${n.slice(0,a.maxStringLength)}… (${n.length-a.maxStringLength} more characters)`:n;if(Array.isArray(n)){if(r>=a.maxDepth)return"[…]";let l=n.slice(0,a.maxArrayLength).map((f)=>$w(f,r+1,a));if(n.length>a.maxArrayLength)l.push(`… ${n.length-a.maxArrayLength} more items`);return l}if(ba(n)){if(r>=a.maxDepth)return"{…}";let l={},f=Object.keys(n);if(f.slice(0,a.maxPropertyCount).forEach((u)=>{l[u]=$w(n[u],r+1,a)}),f.length>a.maxPropertyCount)l["…"]=`${f.length-a.maxPropertyCount} more keys`;return l}return n}function CF(n){if(typeof n==="function")return`<function${n.name?" "+n.name:""}>`;if(Rn(n))return`<${n}>`;let r=eA();if(!r.enabled)return`\`${iF(n)}\``;let a=$w(n,0,r);return`\`${iF(a,r.indent||void 0)}\``}function QQ(n,r){if(r<=0)return n;try{let a=" ".repeat(r),l="",f=0,u=null,p=!1,h=()=>{l=l.replace(/[ \t]+$/,""),l+=`
|
|
257
|
+
`+a.repeat(Math.max(0,f))};for(let b=0;b<n.length;b++){let x=n[b];if(u){if(l+=x,p)p=!1;else if(x==="\\")p=!0;else if(x===u)u=null;continue}switch(x){case'"':case"'":u=x,l+=x;break;case"{":f++,l+="{",h();while(n[b+1]===" ")b++;break;case"}":f--,h(),l+="}";break;case";":l+=";",h();while(n[b+1]===" ")b++;break;default:l+=x}}return l}catch(a){return n}}function eee(n){let{value:r}=n,a=n.context[n.context.length-1].type,l=n.context.map(({path:x})=>x).filter((x)=>x.length>0).join("/"),f=l.length>0?`at path "/${l}" `:"",u=Rn(r)?`value of type ${Xt(r).type.name}:`:ff(r)?"value":"snapshot",p=a&&Rn(r)&&a.is(Xt(r).snapshot),h=eA(),b=(x)=>h.enabled?QQ(x.describe(),h.indent):x.describe();return`${f}${u} ${CF(r)} is not assignable ${a?`to type: \`${a.name}\``:""}`+(n.message?` (${n.message})`:"")+(a?kee(a)||ff(r)?".":`, expected an instance of \`${a.name}\` or a snapshot like \`${b(a)}\` instead.`+(p?" (Note that a snapshot of the provided value is compatible with the targeted type)":""):".")}function tA(n,r,a){return n.concat([{path:r,type:a}])}function Cr(){return hm}function yr(n,r,a){return[{context:n,value:r,message:a}]}function by(n){return n.reduce((r,a)=>r.concat(a),[])}function Gl(n,r){if(pee())tee(n,r)}function tee(n,r){let a=n.validate(r,[{path:"",type:n}]);if(a.length>0)throw new Ae(nee(n,r,a))}function nee(n,r,a){if(a.length===0)return;let l=CF(r);return`Error while converting ${eA().enabled?l:JQ(l)} to \`${n.name}\`:
|
|
258
|
+
|
|
259
|
+
`+a.map(eee).join(`
|
|
260
|
+
`)}var oee=0;class nA{constructor(){Object.defineProperty(this,"cacheId",{enumerable:!0,configurable:!0,writable:!0,value:oee++}),Object.defineProperty(this,"cache",{enumerable:!0,configurable:!0,writable:!0,value:Co.map()}),Object.defineProperty(this,"lastCacheModificationPerId",{enumerable:!0,configurable:!0,writable:!0,value:Co.map()})}updateLastCacheModificationPerId(n){let r=this.lastCacheModificationPerId.get(n);this.lastCacheModificationPerId.set(n,r===void 0?1:r+1)}getLastCacheModificationPerId(n){let r=this.lastCacheModificationPerId.get(n)||0;return`${this.cacheId}-${r}`}addNodeToCache(n,r=!0){if(n.identifierAttribute){let a=n.identifier;if(!this.cache.has(a))this.cache.set(a,Co.array([],xy));let l=this.cache.get(a);if(l.indexOf(n)!==-1)throw new Ae("Already registered");if(l.push(n),r)this.updateLastCacheModificationPerId(a)}}mergeCache(n){G1(n.identifierCache.cache).forEach((r)=>r.forEach((a)=>{this.addNodeToCache(a)}))}notifyDied(n){if(n.identifierAttribute){let r=n.identifier,a=this.cache.get(r);if(a){if(a.remove(n),!a.length)this.cache.delete(r);this.updateLastCacheModificationPerId(n.identifier)}}}splitCache(n){let r=new nA,a=n.path+"/";return I4(this.cache).forEach(([l,f])=>{let u=!1;for(let p=f.length-1;p>=0;p--){let h=f[p];if(h===n||h.path.indexOf(a)===0){if(r.addNodeToCache(h,!1),f.splice(p,1),!f.length)this.cache.delete(l);u=!0}}if(u)this.updateLastCacheModificationPerId(l)}),r}has(n,r){let a=this.cache.get(r);if(!a)return!1;return a.some((l)=>n.isAssignableFrom(l.type))}resolve(n,r){let a=this.cache.get(r);if(!a)return null;let l=a.filter((f)=>n.isAssignableFrom(f.type));switch(l.length){case 0:return null;case 1:return l[0];default:throw new Ae(`Cannot resolve a reference to type '${n.name}' with id: '${r}' unambigously, there are multiple candidates: ${l.map((f)=>f.path).join(", ")}`)}}}function oA(n,r,a,l,f){let u=yF(f);if(u){if(u.parent)throw new Ae(`Cannot add an object to a state tree if it is already part of the same or another state tree. Tried to assign an object to '${r?r.path:""}/${a}', but it lives already at '${u.path}'`);if(r)u.setParent(r,a);return u}return new vr(n,r,a,l,f)}function Ps(n,r,a,l,f){return new mm(n,r,a,l,f)}function ree(n){return n instanceof mm||n instanceof vr}var Lo;(function(n){n[n.INITIALIZING=0]="INITIALIZING",n[n.CREATED=1]="CREATED",n[n.FINALIZED=2]="FINALIZED",n[n.DETACHING=3]="DETACHING",n[n.DEAD=4]="DEAD"})(Lo||(Lo={}));function Rn(n){return!!(n&&n.$treenode)}function mf(n,r){ql(n,Rn,"mobx-state-tree node",r)}function Xt(n){if(!Rn(n))throw new Ae(`Value ${n} is no MST Node`);return n.$treenode}function yF(n){return n&&n.$treenode||null}function iee(){return Xt(this).snapshot}function aee(n,r,a=!0){let l=n;try{for(let f=0;f<r.length;f++){let u=r[f];if(u===".."){if(l=l.parent,l)continue}else if(u===".")continue;else if(l){if(l instanceof mm){let p=l.value;if(Rn(p))l=Xt(p)}if(l instanceof vr){if(l.getChildType(u)){if(l=l.getChildNode(u),l)continue}}}throw new Ae(`Could not resolve '${u}' in path '${lF(r.slice(0,f))||"/"}' while resolving '${lF(r)}'`)}}catch(f){if(!a)return;throw f}return l}function SF(n){if(!n)return hm;let r=Object.keys(n);if(!r.length)return hm;let a=Array(r.length);return r.forEach((l,f)=>{a[f]=n[l]}),a}var lee=Object.toString(),hm=Object.freeze([]),gm=Object.freeze({}),xy={deep:!1};Object.freeze(xy);class Ae extends Error{constructor(n="Illegal state"){super(`[mobx-state-tree] ${n}`)}}function see(n){return n}var cee=Number.isInteger;function fee(n){return Number(n)===n&&n%1!==0}function uee(n){return Number.isFinite(n)}function Yw(n){return Array.isArray(n)||qa(n)}function rA(n){if(!n)return hm;if(Yw(n))return n;return[n]}function dee(n,...r){for(let a=0;a<r.length;a++){let l=r[a];for(let f in l)n[f]=l[f]}return n}function ba(n){var r;if(n===null||typeof n!=="object")return!1;let a=Object.getPrototypeOf(n);if(a==null)return!0;return((r=a.constructor)===null||r===void 0?void 0:r.toString())===lee}function iA(n){return n!==null&&typeof n==="object"&&!(n instanceof Date)&&!(n instanceof RegExp)}function ff(n,r=!0){return n===null||n===void 0||typeof n==="string"||typeof n==="number"||typeof n==="boolean"||typeof n==="bigint"||r&&n instanceof Date}function bm(n){if(!pn())return n;return ff(n)||qa(n)?n:Object.freeze(n)}function aA(n){if(!pn())return n;if(bm(n),ba(n))Object.keys(n).forEach((r)=>{if(!ff(n[r])&&!Object.isFrozen(n[r]))aA(n[r])});return n}function _F(n){return typeof n!=="function"}function RF(n,r,a){oi(n)?q1(n,r,a):Object.defineProperty(n,r,a)}function Xu(n,r,a){RF(n,r,{enumerable:!1,writable:!1,configurable:!0,value:a})}function gy(n,r,a){RF(n,r,{enumerable:!1,writable:!0,configurable:!0,value:a})}class OF{constructor(){Object.defineProperty(this,"handlers",{enumerable:!0,configurable:!0,writable:!0,value:[]})}get hasSubscribers(){return this.handlers.length>0}register(n,r=!1){if(r)this.handlers.unshift(n);else this.handlers.push(n);return()=>{this.unregister(n)}}has(n){return this.handlers.indexOf(n)>=0}unregister(n){let r=this.handlers.indexOf(n);if(r>=0)this.handlers.splice(r,1)}clear(){this.handlers.length=0}emit(...n){this.handlers.slice().forEach((a)=>a(...n))}}class lA{constructor(){Object.defineProperty(this,"eventHandlers",{enumerable:!0,configurable:!0,writable:!0,value:void 0})}hasSubscribers(n){let r=this.eventHandlers&&this.eventHandlers[n];return!!r&&r.hasSubscribers}register(n,r,a=!1){if(!this.eventHandlers)this.eventHandlers={};let l=this.eventHandlers[n];if(!l)l=this.eventHandlers[n]=new OF;return l.register(r,a)}has(n,r){let a=this.eventHandlers&&this.eventHandlers[n];return!!a&&a.has(r)}unregister(n,r){let a=this.eventHandlers&&this.eventHandlers[n];if(a)a.unregister(r)}clear(n){if(this.eventHandlers)delete this.eventHandlers[n]}clearAll(){this.eventHandlers=void 0}emit(n,...r){let a=this.eventHandlers&&this.eventHandlers[n];if(a)a.emit(...r)}}function wF(n){let r=Array(n.length);for(let a=0;a<n.length;a++)r[a]=n[a];return r}function zw(n,r){return n.indexOf(r)===0}var mb=function(n,r){if(!pn())return;if(mb.ids&&!mb.ids.hasOwnProperty(n))AF("Deprecation warning: "+r);if(mb.ids)mb.ids[n]=!0};mb.ids={};function AF(n){console.warn(Error(`[mobx-state-tree] ${n}`))}function pee(){return pn()||typeof process<"u"&&process.env&&process.env.ENABLE_TYPE_CHECK==="true"}function pn(){return!0}function ql(n,r,a,l){if(pn()){if(!r(n))throw new Ae(`expected ${a} as argument ${rA(l).join(" or ")}, got ${n} instead`)}}function aF(n,r){ql(n,(a)=>typeof a==="function","function",r)}function TF(n,r,a=!0){if(ql(n,(l)=>typeof l==="string","string",r),!a)ql(n,(l)=>l!=="","not empty string",r)}function hy(n){if(typeof queueMicrotask==="function")queueMicrotask(n);else if(typeof setImmediate==="function")setImmediate(n);else setTimeout(n,1)}function xa(n){return mee(n.name,n)}function mee(n,r){let a=function(){let f=xF(),u=Qw();if(!u)throw new Ae("a mst flow must always have a parent context");let p=IF(u);if(!p)throw new Ae("a mst flow must always have a parent action context");let h={name:n,id:f,tree:u.tree,context:u.context,parentId:u.id,allParentIds:[...u.allParentIds,u.id],rootId:u.rootId,parentEvent:u,parentActionEvent:p},b=arguments;function x(y,_,v){return y.$mst_middleware=a.$mst_middleware,qw(Object.assign(Object.assign({},h),{type:_,args:[v]}),y)}return new Promise(function(y,_){let v,I=function(){v=r.apply(null,arguments),O(void 0)};I.$mst_middleware=a.$mst_middleware,qw(Object.assign(Object.assign({},h),{type:"flow_spawn",args:wF(b)}),I);function O(k){let z;try{let M=x((V)=>{z=v.next(V)},"flow_resume",k);if(M instanceof Error)z=v.throw(M)}catch(M){hy(()=>{x((V)=>{_(M)},"flow_throw",M)});return}D(z);return}function A(k){let z;try{x((M)=>{z=v.throw(M)},"flow_resume_error",k)}catch(M){hy(()=>{x((V)=>{_(M)},"flow_throw",M)});return}D(z)}function D(k){if(k.done){hy(()=>{x((z)=>{y(z)},"flow_return",k.value)});return}if(!k.value||typeof k.value.then!=="function")throw new Ae("Only promises can be yielded to `async`, got: "+k);return k.value.then(O,A)}})};return a._isFlowAction=!0,a}function hee(n){if(!("oldValue"in n))throw new Ae("Patches without `oldValue` field cannot be inversed");return[gee(n),bee(n)]}function gee(n){switch(n.op){case"add":return{op:"add",path:n.path,value:n.value};case"remove":return{op:"remove",path:n.path};case"replace":return{op:"replace",path:n.path,value:n.value}}}function bee(n){switch(n.op){case"add":return{op:"remove",path:n.path};case"remove":return{op:"add",path:n.path,value:n.oldValue};case"replace":return{op:"replace",path:n.path,value:n.oldValue}}}function xee(n){return typeof n==="number"}function qu(n){if(xee(n)===!0)return""+n;if(n.indexOf("/")===-1&&n.indexOf("~")===-1)return n;return n.replace(/~/g,"~0").replace(/\//g,"~1")}function Iee(n){return n.replace(/~1/g,"/").replace(/~0/g,"~")}function lF(n){if(n.length===0)return"";let r=(a)=>a.map(qu).join("/");if(n[0]==="."||n[0]==="..")return r(n);else return"/"+r(n)}function vee(n){let r=n.split("/").map(Iee);if(!(n===""||n==="."||n===".."||zw(n,"/")||zw(n,"./")||zw(n,"../")))throw new Ae(`a json path must be either rooted, empty or relative, but got '${n}'`);if(r[0]==="")r.shift();return r}var Vw=Symbol("$preProcessorFailed");class EF extends Xl{get flags(){return this._subtype.flags|Ct.SnapshotProcessor}constructor(n,r,a){super(a||n.name);Object.defineProperty(this,"_subtype",{enumerable:!0,configurable:!0,writable:!0,value:n}),Object.defineProperty(this,"_processors",{enumerable:!0,configurable:!0,writable:!0,value:r})}describe(){return`snapshotProcessor(${this._subtype.describe()})`}preProcessSnapshot(n){if(this._processors.preProcessor)return this._processors.preProcessor.call(null,n);return n}preProcessSnapshotSafe(n){try{return this.preProcessSnapshot(n)}catch(r){return Vw}}postProcessSnapshot(n,r){if(this._processors.postProcessor)return this._processors.postProcessor.call(null,n,r.storedValue);return n}_fixNode(n){if(Cee(n.type,this,"create"),n instanceof vr)n.hasSnapshotPostProcessor=!!this._processors.postProcessor;let r=n.getSnapshot;if(n.getSnapshot=()=>this.postProcessSnapshot(r.call(n),n),!Fee(this._subtype))n.getReconciliationType=()=>this}instantiate(n,r,a,l){let f=Rn(l)?l:this.preProcessSnapshot(l),u=this._subtype.instantiate(n,r,a,f);return this._fixNode(u),u}reconcile(n,r,a,l){let f=this._subtype.reconcile(n,Rn(r)?r:this.preProcessSnapshot(r),a,l);if(f!==n)this._fixNode(f);return f}getSnapshot(n,r=!0){let a=this._subtype.getSnapshot(n);return r?this.postProcessSnapshot(a,n):a}isValidSnapshot(n,r){let a=this.preProcessSnapshotSafe(n);if(a===Vw)return yr(r,n,"Failed to preprocess value");return this._subtype.validate(a,r)}getSubTypes(){return this._subtype}is(n){let r=Ja(n)?this._subtype:Rn(n)?n:this.preProcessSnapshotSafe(n);if(r===Vw)return!1;return this._subtype.validate(r,[{path:"",type:this._subtype}]).length===0}isAssignableFrom(n){return this._subtype.isAssignableFrom(n)}isMatchingSnapshotId(n,r){if(!(this._subtype instanceof cf))return!1;let a=this.preProcessSnapshot(r);return this._subtype.isMatchingSnapshotId(n,a)}}function Cee(n,r,...a){for(let l of a)n[l]=r[l].bind(r)}function yee(n,r,a){if(pf(n,1),pn()){if(r.postProcessor&&typeof r.postProcessor!=="function")throw new Ae("postSnapshotProcessor must be a function");if(r.preProcessor&&typeof r.preProcessor!=="function")throw new Ae("preSnapshotProcessor must be a function")}return new EF(n,r,a)}var Gw="Map.put can only be used to store complex values that have an identifier type attribute";function DF(n,r){let a=n.getSubTypes();if(a===Kw)return!1;if(a){let l=rA(a);for(let f of l)if(!DF(f,r))return!1}if(n instanceof uf)r.push(n);return!0}var sf;(function(n){n[n.UNKNOWN=0]="UNKNOWN",n[n.YES=1]="YES",n[n.NO=2]="NO"})(sf||(sf={}));class MF extends Zg{constructor(n,r){super(n,(a)=>a,r)}get(n){return super.get(""+n)}has(n){return super.has(""+n)}delete(n){return super.delete(""+n)}set(n,r){return super.set(""+n,r)}put(n){if(!n)throw new Ae("Map.put cannot be used to set empty values");if(Rn(n)){let r=Xt(n);if(pn()){if(!r.identifierAttribute)throw new Ae(Gw)}if(r.identifier===null)throw new Ae(Gw);return this.set(r.identifier,n),n}else if(!iA(n))throw new Ae("Map.put can only be used to store complex values");else{let r=Xt(this),a=r.type;if(a.identifierMode!==sf.YES)throw new Ae(Gw);let l=a.mapIdentifierAttribute,f=n[l];if(!dA(f)){let p=this.put(a.getChildType().create(n,r.environment));return this.put(FQ(p))}let u=bb(f);return this.set(u,n),this.get(u)}}}class xm extends cf{constructor(n,r,a=[]){super(n);Object.defineProperty(this,"_subType",{enumerable:!0,configurable:!0,writable:!0,value:r}),Object.defineProperty(this,"identifierMode",{enumerable:!0,configurable:!0,writable:!0,value:sf.UNKNOWN}),Object.defineProperty(this,"mapIdentifierAttribute",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"flags",{enumerable:!0,configurable:!0,writable:!0,value:Ct.Map}),Object.defineProperty(this,"hookInitializers",{enumerable:!0,configurable:!0,writable:!0,value:[]}),this._determineIdentifierMode(),this.hookInitializers=a}hooks(n){let r=this.hookInitializers.length>0?this.hookInitializers.concat(n):[n];return new xm(this.name,this._subType,r)}instantiate(n,r,a,l){return this._determineIdentifierMode(),oA(this,n,r,a,l)}_determineIdentifierMode(){if(this.identifierMode!==sf.UNKNOWN)return;let n=[];if(DF(this._subType,n)){let r=n.reduce((a,l)=>{if(!l.identifierAttribute)return a;if(a&&a!==l.identifierAttribute)throw new Ae(`The objects in a map should all have the same identifier attribute, expected '${a}', but child of type '${l.name}' declared attribute '${l.identifierAttribute}' as identifier`);return l.identifierAttribute},void 0);if(r)this.identifierMode=sf.YES,this.mapIdentifierAttribute=r;else this.identifierMode=sf.NO}}initializeChildNodes(n,r={}){let a=n.type._subType,l={};return Object.keys(r).forEach((f)=>{l[f]=a.instantiate(n,f,void 0,r[f])}),l}createNewInstance(n){return new MF(n,this.name)}finalizeNewInstance(n,r){V1(r,n.unbox),n.type.hookInitializers.forEach((l)=>{let f=l(r);Object.keys(f).forEach((u)=>{let p=f[u],h=gb(r,u,p);(!pn()?Xu:gy)(r,u,h)})}),zC(r,this.willChange),VC(r,this.didChange)}describe(){return this.name}getChildren(n){return G1(n.storedValue)}getChildNode(n,r){let a=n.storedValue.get(""+r);if(!a)throw new Ae("Not a child "+r);return a}willChange(n){let r=Xt(n.object),a=n.name;r.assertWritable({subpath:a});let l=r.type,f=l._subType;switch(n.type){case"update":{let{newValue:u}=n,p=n.object.get(a);if(u===p)return null;Gl(f,u),n.newValue=f.reconcile(r.getChildNode(a),n.newValue,r,a),l.processIdentifier(a,n.newValue)}break;case"add":Gl(f,n.newValue),n.newValue=f.instantiate(r,a,void 0,n.newValue),l.processIdentifier(a,n.newValue);break}return n}processIdentifier(n,r){if(this.identifierMode===sf.YES&&r instanceof vr){let a=r.identifier;if(a!==n)throw new Ae(`A map of objects containing an identifier should always store the object under their own identifier. Trying to store key '${a}', but expected: '${n}'`)}}getSnapshot(n){let r={};return n.getChildren().forEach((a)=>{r[a.subpath]=a.snapshot}),r}processInitialSnapshot(n){let r={};return Object.keys(n).forEach((a)=>{r[a]=n[a].getSnapshot()}),r}didChange(n){let r=Xt(n.object);switch(n.type){case"update":return void r.emitPatch({op:"replace",path:qu(n.name),value:n.newValue.snapshot,oldValue:n.oldValue?n.oldValue.snapshot:void 0},r);case"add":return void r.emitPatch({op:"add",path:qu(n.name),value:n.newValue.snapshot,oldValue:void 0},r);case"delete":let a=n.oldValue.snapshot;return n.oldValue.die(),void r.emitPatch({op:"remove",path:qu(n.name),oldValue:a},r)}}applyPatchLocally(n,r,a){let l=n.storedValue;switch(a.op){case"add":case"replace":l.set(r,a.value);break;case"remove":l.delete(r);break}}applySnapshot(n,r){if(!ba(r)){Gl(this,r);return}let a=n.storedValue,l=this.getChildType();Array.from(a.keys()).forEach((f)=>{if(!Object.prototype.hasOwnProperty.call(r,f)){a.delete(f);return}let u=n.getChildNode(f),p=r[f];if(u.snapshot===p)return;if(Jw(l,u,p))u.applySnapshot(p);else a.set(f,p)});for(let f in r){if(!Object.prototype.hasOwnProperty.call(r,f)||a.has(f))continue;a.set(f,r[f])}}getChildType(){return this._subType}isValidSnapshot(n,r){if(!ba(n))return yr(r,n,"Value is not a plain object");return by(Object.keys(n).map((a)=>this._subType.validate(n[a],tA(r,a,this._subType))))}getDefaultSnapshot(){return gm}removeChild(n,r){n.storedValue.delete(r)}}xm.prototype.applySnapshot=yo(xm.prototype.applySnapshot);function See(n){return new xm(`Map<string, ${n.name}>`,n)}class Im extends cf{constructor(n,r,a=[]){super(n);Object.defineProperty(this,"_subType",{enumerable:!0,configurable:!0,writable:!0,value:r}),Object.defineProperty(this,"flags",{enumerable:!0,configurable:!0,writable:!0,value:Ct.Array}),Object.defineProperty(this,"hookInitializers",{enumerable:!0,configurable:!0,writable:!0,value:[]}),this.hookInitializers=a}hooks(n){let r=this.hookInitializers.length>0?this.hookInitializers.concat(n):[n];return new Im(this.name,this._subType,r)}instantiate(n,r,a,l){return oA(this,n,r,a,l)}initializeChildNodes(n,r=[]){let a=n.type._subType,l={};return r.forEach((f,u)=>{let p=""+u;l[p]=a.instantiate(n,p,void 0,f)}),l}createNewInstance(n){let r=Object.assign(Object.assign({},xy),{name:this.name});return Co.array(SF(n),r)}finalizeNewInstance(n,r){ma(r).dehancer=n.unbox,n.type.hookInitializers.forEach((l)=>{let f=l(r);Object.keys(f).forEach((u)=>{let p=f[u],h=gb(r,u,p);(!pn()?Xu:gy)(r,u,h)})}),zC(r,this.willChange),VC(r,this.didChange)}describe(){return this.name}getChildren(n){return n.storedValue.slice()}getChildNode(n,r){let a=Number(r);if(a<n.storedValue.length)return n.storedValue[a];throw new Ae("Not a child: "+r)}willChange(n){let r=Xt(n.object);r.assertWritable({subpath:""+n.index});let a=r.type._subType,l=r.getChildren();switch(n.type){case"update":{if(n.newValue===n.object[n.index])return null;let f=sF(r,a,[l[n.index]],[n.newValue],[n.index]);if(!f)return null;n.newValue=f[0]}break;case"splice":{let{index:f,removedCount:u,added:p}=n,h=sF(r,a,l.slice(f,f+u),p,p.map((b,x)=>f+x));if(!h)return null;n.added=h;for(let b=f+u;b<l.length;b++)l[b].setParent(r,""+(b+p.length-u))}break}return n}getSnapshot(n){return n.getChildren().map((r)=>r.snapshot)}processInitialSnapshot(n){let r=[];return Object.keys(n).forEach((a)=>{r.push(n[a].getSnapshot())}),r}didChange(n){let r=Xt(n.object);switch(n.type){case"update":return void r.emitPatch({op:"replace",path:""+n.index,value:n.newValue.snapshot,oldValue:n.oldValue?n.oldValue.snapshot:void 0},r);case"splice":if(n.removedCount&&n.addedCount===n.object.length)return void r.emitPatch({op:"replace",path:"",value:r.snapshot,oldValue:n.removed.map((a)=>a.snapshot)},r);for(let a=n.removedCount-1;a>=0;a--)r.emitPatch({op:"remove",path:""+(n.index+a),oldValue:n.removed[a].snapshot},r);for(let a=0;a<n.addedCount;a++)r.emitPatch({op:"add",path:""+(n.index+a),value:n.added[a].snapshot,oldValue:void 0},r);return}}applyPatchLocally(n,r,a){let l=n.storedValue,f=r==="-"?l.length:Number(r);switch(a.op){case"replace":l[f]=a.value;break;case"add":l.splice(f,0,a.value);break;case"remove":l.splice(f,1);break}}applySnapshot(n,r){if(!Yw(r)){Gl(this,r);return}let a=n.storedValue,l=n.getChildren(),f=l.length,u=r.length,p=this.getChildType(),h=Math.min(f,u),b=Ree(l,r,h);if(b===f&&b===u)return;if(f!==u||n.hasPatchSubscribers()){a.replace(r);return}if(Oee(p,l,r,b)){wee(l,r,b);return}let x=[];for(let y=b;y<f;y++)if(l[y].snapshot!==r[y])x.push(y);for(let y of x)a[y]=r[y]}getChildType(){return this._subType}isValidSnapshot(n,r){if(!Yw(n))return yr(r,n,"Value is not an array");return by(n.map((a,l)=>this._subType.validate(a,tA(r,""+l,this._subType))))}getDefaultSnapshot(){return hm}removeChild(n,r){n.storedValue.splice(Number(r),1)}}Im.prototype.applySnapshot=yo(Im.prototype.applySnapshot);function _ee(n){return pf(n,1),new Im(`${n.name}[]`,n)}function Ree(n,r,a){let l=0;while(l<a&&n[l].snapshot===r[l])l++;return l}function Oee(n,r,a,l){for(let f=l;f<r.length;f++){let u=r[f];if(u.snapshot===a[f])continue;if(!Jw(n,u,a[f]))return!1;if(!u.identifierAttribute||u.identifier===null)return!1}return!0}function wee(n,r,a){for(let l=a;l<n.length;l++){let f=n[l];if(f.snapshot===r[l])continue;f.applySnapshot(r[l])}}function sF(n,r,a,l,f){let u=!0;for(let p=0;;p++){let h=p<=l.length-1,b=a[p],x=h?l[p]:void 0,y=""+f[p];if(ree(x))x=x.storedValue;if(!b&&!h)break;else if(!h){if(u=!1,a.splice(p,1),b instanceof vr)b.createObservableInstanceIfNeeded();b.die(),p--}else if(!b){if(Rn(x)&&Xt(x).parent===n)throw new Ae(`Cannot add an object to a state tree if it is already part of the same or another state tree. Tried to assign an object to '${n.path}/${y}', but it lives already at '${Xt(x).path}'`);u=!1;let _=Xw(r,n,y,x);a.splice(p,0,_)}else if(cF(b,x))a[p]=Xw(r,n,y,x,b);else{let _=void 0;for(let I=p;I<a.length;I++)if(cF(a[I],x)){_=a.splice(I,1)[0];break}u=!1;let v=Xw(r,n,y,x,_);a.splice(p,0,v)}}return u?null:a}function Xw(n,r,a,l,f){Gl(n,l);function u(){if(Rn(l)){let h=Xt(l);if(h.assertAlive(gm),h.parent!==null&&h.parent===r)return h.setParent(r,a),h}if(f)return n.reconcile(f,l,r,a);return n.instantiate(r,a,void 0,l)}let p=u();if(f&&f!==p){if(f instanceof vr)f.createObservableInstanceIfNeeded();f.die()}return p}function cF(n,r){if(!n.isAlive)return!1;if(Rn(r)){let l=Xt(r);return l.isAlive&&l===n}if(n.snapshot===r)return!0;if(!(n instanceof vr))return!1;let a=n.getReconciliationType();return n.identifier!==null&&n.identifierAttribute&&ba(r)&&a.is(r)&&a.isMatchingSnapshotId(n,r)}function Aee(n,r){var a={};for(var l in n)if(Object.prototype.hasOwnProperty.call(n,l)&&r.indexOf(l)<0)a[l]=n[l];if(n!=null&&typeof Object.getOwnPropertySymbols==="function"){for(var f=0,l=Object.getOwnPropertySymbols(n);f<l.length;f++)if(r.indexOf(l[f])<0&&Object.prototype.propertyIsEnumerable.call(n,l[f]))a[l[f]]=n[l[f]]}return a}var fF="preProcessSnapshot",uF="postProcessSnapshot";function Tee(){return Xt(this).toString()}var dF={name:"AnonymousModel",properties:{},initializers:hm};function Eee(n){let r=Object.keys(n),a=new Set;return r.forEach((l)=>{if(a.has(l))throw new Ae(`${l} is declared twice in the model. Model should not contain the same keys`);a.add(l)}),r.reduce((l,f)=>{if(f in So)throw new Ae(`Hook '${f}' was defined as property. Hooks should be defined as part of the actions`);let u=Object.getOwnPropertyDescriptor(n,f);if("get"in u)throw new Ae("Getters are not supported as properties. Please use views instead");let p=u.value;if(p===null||p===void 0)throw new Ae("The default value of an attribute cannot be null or undefined as the type cannot be inferred. Did you mean `types.maybe(someType)`?");else if(ff(p))l[f]=$u(Lee(p),p);else if(p instanceof xm)l[f]=$u(p,{});else if(p instanceof Im)l[f]=$u(p,[]);else if(Ja(p));else if(pn()&&typeof p==="function")throw new Ae(`Invalid type definition for property '${f}', it looks like you passed a function. Did you forget to invoke it, or did you intend to declare a view / action?`);else if(pn()&&typeof p==="object")throw new Ae(`Invalid type definition for property '${f}', it looks like you passed an object. Try passing another model type or a types.frozen.`);else throw new Ae(`Invalid type definition for property '${f}', cannot infer a type from a value like '${p}' (${typeof p})`);return l},Object.assign({},n))}class uf extends cf{constructor(n){super(n.name||dF.name);Object.defineProperty(this,"flags",{enumerable:!0,configurable:!0,writable:!0,value:Ct.Object}),Object.defineProperty(this,"initializers",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"properties",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"preProcessor",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"postProcessor",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"propertyNames",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"named",{enumerable:!0,configurable:!0,writable:!0,value:(r)=>this.cloneAndEnhance({name:r})}),Object.defineProperty(this,"props",{enumerable:!0,configurable:!0,writable:!0,value:(r)=>this.cloneAndEnhance({properties:r})}),Object.defineProperty(this,"preProcessSnapshot",{enumerable:!0,configurable:!0,writable:!0,value:(r)=>{let a=this.preProcessor;if(!a)return this.cloneAndEnhance({preProcessor:r});else return this.cloneAndEnhance({preProcessor:(l)=>a(r(l))})}}),Object.defineProperty(this,"postProcessSnapshot",{enumerable:!0,configurable:!0,writable:!0,value:(r)=>{let a=this.postProcessor;if(!a)return this.cloneAndEnhance({postProcessor:r});else return this.cloneAndEnhance({postProcessor:(l)=>r(a(l))})}}),Object.assign(this,dF,n),this.properties=Eee(this.properties),bm(this.properties),this.propertyNames=Object.keys(this.properties),this.identifierAttribute=this._getIdentifierAttribute()}_getIdentifierAttribute(){let n=void 0;return this.forAllProps((r,a)=>{if(a.flags&Ct.Identifier){if(n)throw new Ae(`Cannot define property '${r}' as object identifier, property '${n}' is already defined as identifier property`);n=r}}),n}cloneAndEnhance(n){return new uf({name:n.name||this.name,properties:Object.assign({},this.properties,n.properties),initializers:this.initializers.concat(n.initializers||[]),preProcessor:n.preProcessor||this.preProcessor,postProcessor:n.postProcessor||this.postProcessor})}actions(n){let r=(a)=>(this.instantiateActions(a,n(a)),a);return this.cloneAndEnhance({initializers:[r]})}instantiateActions(n,r){if(!ba(r))throw new Ae("actions initializer should return a plain object containing actions");Object.getOwnPropertyNames(r).forEach((a)=>{if(a in this.properties)throw new Ae(`'${a}' is a property and cannot be declared as an action`);if(a===fF)throw new Ae(`Cannot define action '${fF}', it should be defined using 'type.preProcessSnapshot(fn)' instead`);if(a===uF)throw new Ae(`Cannot define action '${uF}', it should be defined using 'type.postProcessSnapshot(fn)' instead`);let l=r[a],f=n[a];if(a in So&&f){let b=l;l=function(){f.apply(null,arguments),b.apply(null,arguments)}}let u=l.$mst_middleware,p=l.bind(r);p._isFlowAction=l._isFlowAction||!1,p.$mst_middleware=u;let h=gb(n,a,p);r[a]=h,(!pn()?Xu:gy)(n,a,h)})}volatile(n){if(typeof n!=="function")throw new Ae(`You passed an ${typeof n} to volatile state as an argument, when function is expected`);let r=(a)=>(this.instantiateVolatileState(a,n(a)),a);return this.cloneAndEnhance({initializers:[r]})}instantiateVolatileState(n,r){if(!ba(r))throw new Ae("volatile state initializer should return a plain object containing state");Object.getOwnPropertyNames(r).forEach((a)=>{if(a in this.properties)throw new Ae(`'${a}' is a property and cannot be declared as volatile state`);X1(n,a,r[a])})}extend(n){let r=(a)=>{let l=n(a),{actions:f,views:u,state:p}=l,h=Aee(l,["actions","views","state"]);for(let b in h)throw new Ae(`The \`extend\` function should return an object with a subset of the fields 'actions', 'views' and 'state'. Found invalid key '${b}'`);if(p)this.instantiateVolatileState(a,p);if(u)this.instantiateViews(a,u);if(f)this.instantiateActions(a,f);return a};return this.cloneAndEnhance({initializers:[r]})}views(n){let r=(a)=>(this.instantiateViews(a,n(a)),a);return this.cloneAndEnhance({initializers:[r]})}instantiateViews(n,r){if(!ba(r))throw new Ae("views initializer should return a plain object containing views");Object.getOwnPropertyNames(r).forEach((a)=>{if(a in this.properties)throw new Ae(`'${a}' is a property and cannot be declared as a view`);let l=Object.getOwnPropertyDescriptor(r,a);if("get"in l)q1(n,a,l),_4(n,{[a]:Jp});else if(typeof l.value==="function")(!pn()?Xu:gy)(n,a,l.value);else throw new Ae("A view member should either be a function or getter based property")})}instantiate(n,r,a,l){let f=Rn(l)?l:this.applySnapshotPreProcessor(l);return oA(this,n,r,a,f)}initializeChildNodes(n,r={}){let a=n.type,l={};return a.forAllProps((f,u)=>{l[f]=u.instantiate(n,f,void 0,r[f])}),l}createNewInstance(n){let r=Object.assign(Object.assign({},xy),{name:this.name});return Co.object(n,gm,r)}finalizeNewInstance(n,r){Xu(r,"toString",Tee),this.forAllProps((a)=>{V1(r,a,n.unbox)}),this.initializers.reduce((a,l)=>l(a),r),zC(r,this.willChange),VC(r,this.didChange)}willChange(n){let r=n,a=Xt(r.object),l=r.name;a.assertWritable({subpath:l});let f=a.type.properties[l];if(f)Gl(f,r.newValue),r.newValue=f.reconcile(a.getChildNode(l),r.newValue,a,l);return r}didChange(n){let r=n,a=Xt(r.object);if(!a.type.properties[r.name])return;let f=r.oldValue?r.oldValue.snapshot:void 0;a.emitPatch({op:"replace",path:qu(r.name),value:r.newValue.snapshot,oldValue:f},a)}getChildren(n){let r=[];return this.forAllProps((a)=>{r.push(this.getChildNode(n,a))}),r}getChildNode(n,r){var a;if(!(r in this.properties))throw new Ae("Not a value property: "+r);let l=ma(n.storedValue,r),f=(a=l.raw)===null||a===void 0?void 0:a.call(l);if(!f)throw new Ae("Node not available for property "+r);return f}getSnapshot(n,r=!0){let a={};if(this.forAllProps((l,f)=>{Zp(n.storedValue,l).reportObserved(),a[l]=this.getChildNode(n,l).snapshot}),r)return this.applySnapshotPostProcessor(a);return a}processInitialSnapshot(n){let r={};return Object.keys(n).forEach((a)=>{r[a]=n[a].getSnapshot()}),this.applySnapshotPostProcessor(r)}applyPatchLocally(n,r,a){if(!(a.op==="replace"||a.op==="add"))throw new Ae(`object does not support operation ${a.op}`);n.storedValue[r]=a.value}applySnapshot(n,r){let a=this.applySnapshotPreProcessor(r),l=!ba(a);if(!ba(r)||l){if(Gl(this,r),l)return}this.forAllProps((f,u)=>{let p=n.getChildNode(f),h=a[f];if(p.snapshot===h)return;if(Jw(u,p,h)){p.applySnapshot(h);return}n.storedValue[f]=h})}applySnapshotPreProcessor(n){let r=this.preProcessor;return r?r.call(null,n):n}applySnapshotPostProcessor(n){let r=this.postProcessor;if(r)return r.call(null,n);return n}getChildType(n){return TF(n,1),this.properties[n]}isValidSnapshot(n,r){let a=this.applySnapshotPreProcessor(n);if(!ba(a))return yr(r,a,"Value is not a plain object");return by(this.propertyNames.map((l)=>this.properties[l].validate(a[l],tA(r,l,this.properties[l]))))}forAllProps(n){this.propertyNames.forEach((r)=>n(r,this.properties[r]))}describe(){return"{ "+this.propertyNames.map((n)=>n+": "+this.properties[n].describe()).join("; ")+" }"}getDefaultSnapshot(){return gm}removeChild(n,r){n.storedValue[r]=void 0}}uf.prototype.applySnapshot=yo(uf.prototype.applySnapshot);function Dee(...n){if(pn()&&typeof n[0]!=="string"&&n[1])throw new Ae("Model creation failed. First argument must be a string when two arguments are provided");let r=typeof n[0]==="string"?n.shift():"AnonymousModel",a=n.shift()||{};return new uf({name:r,properties:a})}function Mee(...n){let r=typeof n[0]==="string",a=r?n[0]:"AnonymousModel";if(r)n.shift();if(pn())n.forEach((l,f)=>{ql(l,UF,"mobx-state-tree model type",r?f+2:f+1)});return n.reduce((l,f)=>l.cloneAndEnhance({name:l.name+"_"+f.name,properties:f.properties,initializers:f.initializers,preProcessor:(u)=>f.applySnapshotPreProcessor(l.applySnapshotPreProcessor(u)),postProcessor:(u)=>f.applySnapshotPostProcessor(l.applySnapshotPostProcessor(u))})).named(a)}function UF(n){return Ja(n)&&(n.flags&Ct.Object)>0}class Qa extends ks{constructor(n,r,a,l=see){super(n);Object.defineProperty(this,"flags",{enumerable:!0,configurable:!0,writable:!0,value:r}),Object.defineProperty(this,"checker",{enumerable:!0,configurable:!0,writable:!0,value:a}),Object.defineProperty(this,"initializer",{enumerable:!0,configurable:!0,writable:!0,value:l}),this.flags=r}describe(){return this.name}instantiate(n,r,a,l){return Ps(this,n,r,a,l)}createNewInstance(n){return this.initializer(n)}isValidSnapshot(n,r){if(ff(n)&&this.checker(n))return Cr();let a=this.name==="Date"?"Date or a unix milliseconds timestamp":this.name;return yr(r,n,`Value is not a ${a}`)}}var NF=new Qa("string",Ct.String,(n)=>typeof n==="string"),BF=new Qa("number",Ct.Number,(n)=>typeof n==="number"),Uee=new Qa("integer",Ct.Integer,(n)=>cee(n)),Nee=new Qa("float",Ct.Float,(n)=>fee(n)),Bee=new Qa("finite",Ct.Finite,(n)=>uee(n)),LF=new Qa("bigint",Ct.BigInt,(n)=>{if(typeof n==="bigint")return!0;if(typeof n==="string"||typeof n==="number")try{return BigInt(n),!0}catch(r){}return!1},(n)=>typeof n==="bigint"?n:BigInt(n));LF.getSnapshot=function(n){return String(n.storedValue)};var kF=LF,PF=new Qa("boolean",Ct.Boolean,(n)=>typeof n==="boolean"),jF=new Qa("null",Ct.Null,(n)=>n===null),FF=new Qa("undefined",Ct.Undefined,(n)=>n===void 0),HF=new Qa("Date",Ct.Date,(n)=>typeof n==="number"||n instanceof Date,(n)=>n instanceof Date?n:new Date(n));HF.getSnapshot=function(n){return n.storedValue.getTime()};var zF=HF;function Lee(n){switch(typeof n){case"string":return NF;case"number":return BF;case"boolean":return PF;case"bigint":return kF;case"object":if(n instanceof Date)return zF}throw new Ae("Cannot determine primitive type from value "+n)}function kee(n){return Ja(n)&&(n.flags&(Ct.String|Ct.Number|Ct.Integer|Ct.Boolean|Ct.Date|Ct.BigInt))>0}class VF extends ks{constructor(n){super(JSON.stringify(n));Object.defineProperty(this,"value",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"flags",{enumerable:!0,configurable:!0,writable:!0,value:Ct.Literal}),this.value=n}instantiate(n,r,a,l){return Ps(this,n,r,a,l)}describe(){return JSON.stringify(this.value)}isValidSnapshot(n,r){if(ff(n)&&n===this.value)return Cr();return yr(r,n,`Value is not a literal ${JSON.stringify(this.value)}`)}}function GF(n){return ql(n,ff,"primitive",1),new VF(n)}class XF extends Xl{get flags(){return this._subtype.flags|Ct.Refinement}constructor(n,r,a,l){super(n);Object.defineProperty(this,"_subtype",{enumerable:!0,configurable:!0,writable:!0,value:r}),Object.defineProperty(this,"_predicate",{enumerable:!0,configurable:!0,writable:!0,value:a}),Object.defineProperty(this,"_message",{enumerable:!0,configurable:!0,writable:!0,value:l})}describe(){return this.name}instantiate(n,r,a,l){return this._subtype.instantiate(n,r,a,l)}isAssignableFrom(n){return this._subtype.isAssignableFrom(n)}isValidSnapshot(n,r){let a=this._subtype.validate(n,r);if(a.length>0)return a;let l=Rn(n)?Xt(n).snapshot:n;if(!this._predicate(l))return yr(r,n,this._message(n));return Cr()}reconcile(n,r,a,l){return this._subtype.reconcile(n,r,a,l)}getSubTypes(){return this._subtype}}function Pee(...n){let r=typeof n[0]==="string"?n.shift():Ja(n[0])?n[0].name:null,a=n[0],l=n[1],f=n[2]?n[2]:(u)=>"Value does not respect the refinement predicate";return pf(a,[1,2]),TF(r,1),aF(l,[2,3]),aF(f,[3,4]),new XF(r,a,l,f)}function jee(n,r){let a=typeof n==="string"?r:n;if(pn())a.forEach((f,u)=>{ql(f,(p)=>typeof p==="string"||typeof p==="number","string or number",u+1)});let l=Iy(...a.map((f)=>GF(f)));if(typeof n==="string")l.name=n;return l}class qF extends Xl{get flags(){let n=Ct.Union;return this._types.forEach((r)=>{n|=r.flags}),n}constructor(n,r,a){super(n);if(Object.defineProperty(this,"_types",{enumerable:!0,configurable:!0,writable:!0,value:r}),Object.defineProperty(this,"_dispatcher",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_eager",{enumerable:!0,configurable:!0,writable:!0,value:!0}),a=Object.assign({eager:!0,dispatcher:void 0},a),this._dispatcher=a.dispatcher,!a.eager)this._eager=!1}isAssignableFrom(n){return this._types.some((r)=>r.isAssignableFrom(n))}describe(){return"("+this._types.map((n)=>n.describe()).join(" | ")+")"}instantiate(n,r,a,l){let f=this.determineType(l,void 0);if(!f)throw new Ae("No matching type for union "+this.describe());return f.instantiate(n,r,a,l)}reconcile(n,r,a,l){let f=this.determineType(r,n.getReconciliationType());if(!f)throw new Ae("No matching type for union "+this.describe());return f.reconcile(n,r,a,l)}determineType(n,r){if(this._dispatcher)return this._dispatcher(n);if(r){if(r.is(n))return r;return this._types.filter((a)=>a!==r).find((a)=>a.is(n))}else return this._types.find((a)=>a.is(n))}isValidSnapshot(n,r){if(this._dispatcher)return this._dispatcher(n).validate(n,r);let a=[],l=0;for(let f=0;f<this._types.length;f++){let p=this._types[f].validate(n,r);if(p.length===0)if(this._eager)return Cr();else l++;else a.push(p)}if(l===1)return Cr();return yr(r,n,"No type is applicable for the union").concat(by(a))}getSubTypes(){return this._types}}function Iy(n,...r){let a=Ja(n)?void 0:n,l=Ja(n)?[n,...r]:r,f="("+l.map((u)=>u.name).join(" | ")+")";if(pn()){if(a)ql(a,(u)=>ba(u),"object { eager?: boolean, dispatcher?: Function }",1);l.forEach((u,p)=>{pf(u,a?p+2:p+1)})}return new qF(f,l,a)}function Fee(n){return Ja(n)&&(n.flags&Ct.Union)>0}class $F extends Xl{get flags(){return this._subtype.flags|Ct.Optional}constructor(n,r,a){super(n.name);Object.defineProperty(this,"_subtype",{enumerable:!0,configurable:!0,writable:!0,value:n}),Object.defineProperty(this,"_defaultValue",{enumerable:!0,configurable:!0,writable:!0,value:r}),Object.defineProperty(this,"optionalValues",{enumerable:!0,configurable:!0,writable:!0,value:a})}describe(){return this._subtype.describe()+"?"}instantiate(n,r,a,l){if(this.optionalValues.indexOf(l)>=0){let f=this.getDefaultInstanceOrSnapshot();return this._subtype.instantiate(n,r,a,f)}return this._subtype.instantiate(n,r,a,l)}reconcile(n,r,a,l){return this._subtype.reconcile(n,this.optionalValues.indexOf(r)<0&&this._subtype.is(r)?r:this.getDefaultInstanceOrSnapshot(),a,l)}getDefaultInstanceOrSnapshot(){let n=typeof this._defaultValue==="function"?this._defaultValue():this._defaultValue;if(typeof this._defaultValue==="function")Gl(this,n);return n}isValidSnapshot(n,r){if(this.optionalValues.indexOf(n)>=0)return Cr();return this._subtype.validate(n,r)}isAssignableFrom(n){return this._subtype.isAssignableFrom(n)}getSubTypes(){return this._subtype}}function Hee(n,r){if(typeof r!=="function"&&Rn(r))throw new Ae("default value cannot be an instance, pass a snapshot or a function that creates an instance/snapshot instead");if(pf(n,1),pn()){if(typeof r!=="function")Gl(n,r)}}function $u(n,r,a){return Hee(n,r),new $F(n,r,a?a:zee)}var zee=[void 0];var Vee=$u(FF,void 0),Gee=$u(jF,null);function YF(n){return pf(n,1),Iy(n,Vee)}function Xee(n){return pf(n,1),Iy(n,Gee)}class WF extends Xl{get flags(){return(this._subType?this._subType.flags:0)|Ct.Late}getSubType(n){if(!this._subType){let r=void 0;try{r=this._definition()}catch(a){if(a instanceof ReferenceError)r=void 0;else throw a}if(n&&r===void 0)throw new Ae("Late type seems to be used too early, the definition (still) returns undefined");if(r){if(pn()&&!Ja(r))throw new Ae("Failed to determine subtype, make sure types.late returns a type definition.");this._subType=r}}return this._subType}constructor(n,r){super(n);Object.defineProperty(this,"_definition",{enumerable:!0,configurable:!0,writable:!0,value:r}),Object.defineProperty(this,"_subType",{enumerable:!0,configurable:!0,writable:!0,value:void 0})}instantiate(n,r,a,l){return this.getSubType(!0).instantiate(n,r,a,l)}reconcile(n,r,a,l){return this.getSubType(!0).reconcile(n,r,a,l)}describe(){let n=this.getSubType(!1);return n?n.name:"<uknown late type>"}isValidSnapshot(n,r){let a=this.getSubType(!1);if(!a)return Cr();return a.validate(n,r)}isAssignableFrom(n){let r=this.getSubType(!1);return r?r.isAssignableFrom(n):!1}getSubTypes(){let n=this.getSubType(!1);return n?n:Kw}}function qee(n,r){let a=typeof n==="string"?n:`late(${n.toString()})`,l=typeof n==="string"?r:n;if(pn()){if(!(typeof l==="function"&&l.length===0))throw new Ae("Invalid late type, expected a function with zero arguments that returns a type, got: "+l)}return new WF(a,l)}function $ee(n,r){return new ZF(n,r)}class ZF extends ks{constructor(n,r){super(n);Object.defineProperty(this,"options",{enumerable:!0,configurable:!0,writable:!0,value:r}),Object.defineProperty(this,"flags",{enumerable:!0,configurable:!0,writable:!0,value:Ct.Lazy}),Object.defineProperty(this,"loadedType",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"pendingNodeList",{enumerable:!0,configurable:!0,writable:!0,value:Co.array()}),$1(()=>this.pendingNodeList.length>0&&this.pendingNodeList.some((a)=>a.isAlive&&this.options.shouldLoadPredicate(a.parent?a.parent.value:null)),()=>{this.options.loadType().then(yo((a)=>{this.loadedType=a,this.pendingNodeList.forEach((l)=>{if(!l.parent)return;if(!this.loadedType)return;l.parent.applyPatches([{op:"replace",path:`/${l.subpath}`,value:l.snapshot}])})}))})}describe(){return`<lazy ${this.name}>`}instantiate(n,r,a,l){if(this.loadedType)return this.loadedType.instantiate(n,r,a,l);let f=Ps(this,n,r,a,aA(l));return this.pendingNodeList.push(f),$1(()=>!f.isAlive,()=>this.pendingNodeList.splice(this.pendingNodeList.indexOf(f),1)),f}isValidSnapshot(n,r){if(this.loadedType)return this.loadedType.validate(n,r);if(!_F(n))return yr(r,n,"Value is not serializable and cannot be lazy");return Cr()}reconcile(n,r,a,l){if(this.loadedType)return n.die(),this.loadedType.instantiate(a,l,a.environment,r);return super.reconcile(n,r,a,l)}}class sA extends ks{constructor(n){super(n?`frozen(${n.name})`:"frozen");Object.defineProperty(this,"subType",{enumerable:!0,configurable:!0,writable:!0,value:n}),Object.defineProperty(this,"flags",{enumerable:!0,configurable:!0,writable:!0,value:Ct.Frozen})}describe(){return"<any immutable value>"}instantiate(n,r,a,l){return Ps(this,n,r,a,aA(l))}isValidSnapshot(n,r){if(!_F(n))return yr(r,n,"Value is not serializable and cannot be frozen");if(this.subType)return this.subType.validate(n,r);return Cr()}}var pF=new sA;function Yee(n){if(arguments.length===0)return pF;else if(Ja(n))return new sA(n);else return $u(pF,n)}function Wee(n){switch(n){case So.beforeDestroy:return"destroy";case So.beforeDetach:return"detach";default:return}}class KF{constructor(n,r){if(Object.defineProperty(this,"targetType",{enumerable:!0,configurable:!0,writable:!0,value:r}),Object.defineProperty(this,"identifier",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"node",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"resolvedReference",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),dA(n))this.identifier=n;else if(Rn(n)){let a=Xt(n);if(!a.identifierAttribute)throw new Ae("Can only store references with a defined identifier attribute.");let l=a.unnormalizedIdentifier;if(l===null||l===void 0)throw new Ae("Can only store references to tree nodes with a defined identifier.");this.identifier=l}else throw new Ae(`Can only store references to tree nodes or identifiers, got: '${n}'`)}updateResolvedReference(n){let r=bb(this.identifier),a=n.root,l=a.identifierCache.getLastCacheModificationPerId(r);if(!this.resolvedReference||this.resolvedReference.lastCacheModification!==l){let{targetType:f}=this,u=a.identifierCache.resolve(f,r);if(!u)throw new cA(`[mobx-state-tree] Failed to resolve reference '${this.identifier}' to type '${this.targetType.name}' (from node: ${n.path})`);this.resolvedReference={node:u,lastCacheModification:l}}}get resolvedValue(){return this.updateResolvedReference(this.node),this.resolvedReference.node.value}}class cA extends Error{constructor(n){super(n);Object.setPrototypeOf(this,cA.prototype)}}class fA extends ks{constructor(n,r){super(`reference(${n.name})`);Object.defineProperty(this,"targetType",{enumerable:!0,configurable:!0,writable:!0,value:n}),Object.defineProperty(this,"onInvalidated",{enumerable:!0,configurable:!0,writable:!0,value:r}),Object.defineProperty(this,"flags",{enumerable:!0,configurable:!0,writable:!0,value:Ct.Reference})}describe(){return this.name}isAssignableFrom(n){return this.targetType.isAssignableFrom(n)}isValidSnapshot(n,r){return dA(n)?Cr():yr(r,n,"Value is not a valid identifier, which is a string, number or a bigint")}fireInvalidated(n,r,a,l){let f=r.parent;if(!f||!f.isAlive)return;let u=f.storedValue;if(!u)return;this.onInvalidated({cause:n,parent:u,invalidTarget:l?l.storedValue:void 0,invalidId:a,replaceRef(p){rF(r.root.storedValue,{op:"replace",value:p,path:r.path})},removeRef(){if(UF(f.type))this.replaceRef(void 0);else rF(r.root.storedValue,{op:"remove",path:r.path})}})}addTargetNodeWatcher(n,r){let a=this.getValue(n);if(!a)return;let l=Xt(a),f=(h,b)=>{let x=Wee(b);if(!x)return;this.fireInvalidated(x,n,r,l)},u=l.registerHook(So.beforeDetach,f),p=l.registerHook(So.beforeDestroy,f);return()=>{u(),p()}}watchTargetNodeForInvalidations(n,r,a){if(!this.onInvalidated)return;let l;n.registerHook(So.beforeDestroy,()=>{if(l)l()});let f=()=>{let p=()=>{if(!n.isAlive)return;if(this.getSnapshot(n)!==r)return;u(!1)};if(Qw())n.root.enqueueEndOfAction(p);else hy(p)},u=(p)=>{if(l)l();let h=n.parent,b=h&&h.storedValue;if(h&&h.isAlive&&b){let x;if(a)x=!!a.get(r,b);else x=n.root.identifierCache.has(this.targetType,bb(r));if(!x)if(p)f();else this.fireInvalidated("invalidSnapshotReference",n,r,null);else l=this.addTargetNodeWatcher(n,r)}};if(n.state===Lo.FINALIZED)u(!0);else{if(!n.isRoot)n.root.registerHook(So.afterCreationFinalization,()=>{if(n.parent)n.parent.createObservableInstanceIfNeeded()});n.registerHook(So.afterAttach,()=>{u(!1)})}}}class JF extends fA{constructor(n,r){super(n,r)}getValue(n){if(!n.isAlive)return;return n.storedValue.resolvedValue}getSnapshot(n){return n.storedValue.identifier}instantiate(n,r,a,l){let f=Rn(l)?VQ(l):l,u=new KF(l,this.targetType),p=Ps(this,n,r,a,u);return u.node=p,this.watchTargetNodeForInvalidations(p,f,void 0),p}reconcile(n,r,a,l){if(!n.isDetaching&&n.type===this){let u=Rn(r),p=n.storedValue;if(!u&&p.identifier===r||u&&p.resolvedValue===r)return n.setParent(a,l),n}let f=this.instantiate(a,l,void 0,r);return n.die(),f}}class QF extends fA{constructor(n,r,a){super(n,a);Object.defineProperty(this,"options",{enumerable:!0,configurable:!0,writable:!0,value:r})}getValue(n){if(!n.isAlive)return;return this.options.get(n.storedValue,n.parent?n.parent.storedValue:null)}getSnapshot(n){return n.storedValue}instantiate(n,r,a,l){let f=Rn(l)?this.options.set(l,n?n.storedValue:null):l,u=Ps(this,n,r,a,f);return this.watchTargetNodeForInvalidations(u,f,this.options),u}reconcile(n,r,a,l){let f=Rn(r)?this.options.set(r,n?n.storedValue:null):r;if(!n.isDetaching&&n.type===this&&n.storedValue===f)return n.setParent(a,l),n;let u=this.instantiate(a,l,void 0,f);return n.die(),u}}function eH(n,r){if(pf(n,1),pn()){if(arguments.length===2&&typeof arguments[1]==="string")throw new Ae("References with base path are no longer supported. Please remove the base path.")}let a=r?r:void 0,l=r?r.onInvalidated:void 0;if(a&&(a.get||a.set)){if(pn()){if(!a.get||!a.set)throw new Ae("reference options must either contain both a 'get' and a 'set' method or none of them")}return new QF(n,{get:a.get,set:a.set},l)}else return new JF(n,l)}function Zee(n,r){let a=eH(n,Object.assign(Object.assign({},r),{onInvalidated(l){if(r&&r.onInvalidated)r.onInvalidated(l);l.removeRef()}}));if(r&&r.acceptsUndefined===!1)return a;else return YF(a)}class uA extends ks{constructor(n,r){super(n);Object.defineProperty(this,"validType",{enumerable:!0,configurable:!0,writable:!0,value:r}),Object.defineProperty(this,"flags",{enumerable:!0,configurable:!0,writable:!0,value:Ct.Identifier})}instantiate(n,r,a,l){if(!n||!(n.type instanceof uf))throw new Ae("Identifier types can only be instantiated as direct child of a model type");return Ps(this,n,r,a,l)}reconcile(n,r,a,l){if(n.storedValue!==r)throw new Ae(`Tried to change identifier from '${n.storedValue}' to '${r}'. Changing identifiers is not allowed.`);return n.setParent(a,l),n}isValidSnapshot(n,r){if(typeof n!==this.validType)return yr(r,n,`Value is not a valid ${this.describe()}, expected a ${this.validType}`);return Cr()}}class tH extends uA{constructor(){super("identifier","string");Object.defineProperty(this,"flags",{enumerable:!0,configurable:!0,writable:!0,value:Ct.Identifier})}describe(){return"identifier"}}class nH extends uA{constructor(){super("identifierNumber","number")}getSnapshot(n){return n.storedValue}describe(){return"identifierNumber"}}var Kee=new tH,Jee=new nH;class oH extends ks{constructor(){super("identifierBigint");Object.defineProperty(this,"flags",{enumerable:!0,configurable:!0,writable:!0,value:Ct.Identifier})}createNewInstance(n){if(typeof n==="bigint")return n;return BigInt(n)}instantiate(n,r,a,l){if(!n||!(n.type instanceof uf))throw new Ae("Identifier types can only be instantiated as direct child of a model type");return Ps(this,n,r,a,l)}reconcile(n,r,a,l){let f=n.storedValue,u=typeof r==="bigint"?r:BigInt(r);if(f!==u)throw new Ae(`Tried to change identifier from '${f}' to '${u}'. Changing identifiers is not allowed.`);return n.setParent(a,l),n}isValidSnapshot(n,r){if(typeof n==="bigint")return Cr();if(typeof n==="string"||typeof n==="number")try{return BigInt(n),Cr()}catch(a){let l=a instanceof Error?a.message:String(a);return yr(r,n,`Value is not a valid ${this.describe()}: ${l}`)}return yr(r,n,`Value is not a valid ${this.describe()}, expected a bigint, a string or a number`)}getSnapshot(n){return String(n.storedValue)}describe(){return"identifierBigint"}}var Qee=new oH;function bb(n){return""+n}function dA(n){return typeof n==="string"||typeof n==="number"||typeof n==="bigint"}function ete(n){return new rH(n)}class rH extends ks{constructor(n){super(n.name);Object.defineProperty(this,"options",{enumerable:!0,configurable:!0,writable:!0,value:n}),Object.defineProperty(this,"flags",{enumerable:!0,configurable:!0,writable:!0,value:Ct.Custom})}describe(){return this.name}isValidSnapshot(n,r){if(this.options.isTargetType(n))return Cr();let a=this.options.getValidationMessage(n);if(a)return yr(r,n,`Invalid value for type '${this.name}': ${a}`);return Cr()}getSnapshot(n){return this.options.toSnapshot(n.storedValue)}instantiate(n,r,a,l){let f=this.options.isTargetType(l)?l:this.options.fromSnapshot(l,n&&n.root.environment);return Ps(this,n,r,a,f)}reconcile(n,r,a,l){let f=!this.options.isTargetType(r);if(!n.isDetaching){if(n.type===this&&(f?r===n.snapshot:r===n.storedValue))return n.setParent(a,l),n}let u=f?this.options.fromSnapshot(r,a.root.environment):r,p=this.instantiate(a,l,void 0,u);return n.die(),p}}var me={enumeration:jee,model:Dee,compose:Mee,custom:ete,reference:eH,safeReference:Zee,union:Iy,optional:$u,literal:GF,maybe:YF,maybeNull:Xee,refinement:Pee,string:NF,boolean:PF,number:BF,integer:Uee,float:Nee,finite:Bee,bigint:kF,Date:zF,map:See,array:_ee,frozen:Yee,identifier:Kee,identifierNumber:Jee,identifierBigint:Qee,late:qee,lazy:$ee,undefined:FF,null:jF,snapshotProcessor:yee};var pA=me.model("Session",{tenant:me.string,hostgroup:me.maybe(me.string),writable:me.boolean,csrfToken:me.string}),tte=me.model("Part",{name:me.string,kind:me.enumeration(["service","component"]),lifetime:me.enumeration(["long-lived","on-demand"]),failure:me.maybe(me.string)}),nte=me.model("Route",{id:me.string,host:me.string,path:me.string,enabled:me.boolean,url:me.maybe(me.string)}),ote=me.model("EnvironmentEntry",{key:me.string,value:me.string,part:me.string}),rte=me.model("SecretEntry",{name:me.string}),ite=me.model("BackingBinding",{name:me.string,service:me.string,className:me.string,ready:me.boolean,detail:me.maybe(me.string)}),ate=me.model("PrivateBinding",{name:me.string,contract:me.string,bound:me.boolean}),lte=me.model("Signals",{success:me.number,error:me.number,compute:me.maybe(me.array(me.number))}),ste=me.model("Logs",{published:me.boolean,lines:me.array(me.string)}),iH={name:me.string,ready:me.boolean,failed:me.optional(me.boolean,!1),detail:me.maybe(me.string),services:me.number,components:me.number,routeCount:me.number},aH=me.model("ApplicationSummary",{...iH,name:me.identifier}),mA=me.model("Application",{...iH,parts:me.array(tte),routes:me.array(nte),environment:me.array(ote),secrets:me.array(rte),backingServices:me.array(ite),privateBindings:me.array(ate),logs:ste,signals:me.maybe(lte)}),lH=me.model("BackingService",{name:me.identifier,className:me.string,type:me.string,ready:me.boolean,detail:me.maybe(me.string)}),sH=me.model("ServiceClass",{name:me.identifier,type:me.string,default:me.boolean}),cH=me.model("ApplicationSignals",{application:me.identifier,success:me.number,error:me.number,compute:me.maybe(me.array(me.number))}),fH=me.model("Activity",{id:me.identifier,at:me.Date,status:me.enumeration("ActivityStatus",["success","info","warning","danger"]),text:me.string}),uH=me.model("Ui",{section:me.optional(me.enumeration("Section",["dashboard","applications","backing-services"]),"dashboard"),selectedApplication:me.maybe(me.string),selectedTab:me.optional(me.enumeration("ApplicationTab",["overview","routes","environment","secrets","bindings","logs","signals"]),"overview"),error:me.maybe(me.string),refreshing:!1}).actions((n)=>({setError(r){n.error=r}}));function hA(n){return"lines"in n?{published:!0,lines:n.lines}:{published:!1,lines:[]}}function gA(n){return{...n,logs:hA(n.logs)}}var bA=50,dH=3000,xA=me.model("ConsoleStore",{session:me.maybe(pA),applications:me.array(aH),application:me.maybe(mA),services:me.array(lH),classes:me.array(sH),signals:me.maybe(me.array(cH)),activity:me.array(fH),ui:me.optional(uH,{})}).volatile(()=>({nextActivityId:1,servicePoll:void 0,servicePollBusy:!1})).views((n)=>({get writable(){return n.session?.writable===!0},get defaultServiceClass(){return(n.classes.find((r)=>r.default)??n.classes[0])?.name??""}})).actions((n)=>({receiveCsrfToken(r){if(n.session)n.session.csrfToken=r}})).actions((n)=>{let r=Nj({csrfToken:()=>n.session?.csrfToken??"",receiveCsrfToken:(M)=>n.receiveCsrfToken(M)});function a(M,V){let G=String(n.nextActivityId++);if(n.activity.unshift({id:G,at:new Date,status:M,text:V}),n.activity.length>bA)n.activity.splice(bA)}function l(M){n.ui.setError(ly(M))}function f(M){if(n.application?.name===M.name)df(n.application,gA(M));else n.application=mA.create(gA(M))}let u=xa(function*(){let M=yield r.applications();if(df(n.applications,M.applications),n.ui.setError(M.error),M.error)a("danger",M.error);for(let V of M.applications)if(!V.ready)a(V.failed?"danger":"warning",`${V.name}: ${V.detail??"not ready"}`)}),p=xa(function*(){let[M,V]=yield Promise.all([r.backingServices(),r.serviceClasses()]);df(n.services,M.services),df(n.classes,V.classes);for(let G of M.services)if(!G.ready)a("warning",`${G.name}: ${G.detail??"not ready"}`)}),h=xa(function*(){try{let M=yield r.signals();n.signals=Ww(M.signals)}catch(M){n.signals=Ww([]),a("warning",ly(M))}}),b=xa(function*(){let M=n.application?.name;if(M===void 0)return;let V=yield r.application(M);if(n.application?.name===M)f(V.application)}),x=xa(function*(){n.ui.refreshing=!0;try{yield u(),yield p(),yield h(),yield b(),n.ui.setError(void 0)}catch(M){l(M)}finally{n.ui.refreshing=!1}}),y=xa(function*(){try{let M=yield r.session();n.session=pA.create(M),a("info",`Connected to tenant ${M.tenant}.`)}catch(M){l(M);return}yield x()});function _(M){if(n.ui.section=M,n.ui.selectedApplication=void 0,n.application=void 0,M==="backing-services")v()}let v=xa(function*(){try{yield p()}catch(M){l(M)}}),I=xa(function*(M){n.ui.section="applications",n.ui.selectedApplication=M,n.ui.selectedTab="overview",n.application=void 0;try{let V=yield r.application(M);if(n.ui.selectedApplication===M)f(V.application)}catch(V){l(V)}}),O=xa(function*(){if(n.servicePollBusy||n.services.every((M)=>M.ready))return;n.servicePollBusy=!0;try{let M=new Set(n.services.filter((G)=>!G.ready).map((G)=>G.name)),V=yield r.backingServices();df(n.services,V.services);for(let G of V.services)if(G.ready&&M.has(G.name))a("success",`Backing service ${G.name} is ready.`)}catch(M){l(M)}finally{n.servicePollBusy=!1}});function A(M){n.ui.selectedTab=M}let D=xa(function*(){let M=n.application;if(!M)return;try{let V=yield r.applicationLogs(M.name);if(hF(M))df(M.logs,hA(V))}catch(V){l(V)}}),k=xa(function*(M,V,G){try{let K=yield M();return V(K),n.ui.setError(void 0),a("success",G),!0}catch(K){return l(K),!1}});function z(M,V){let G=n.application?.name;if(G===void 0)return Promise.resolve(!1);return k(()=>M(G),(K)=>f(K.application),V(G))}return{start:y,refreshAll:x,refreshSignals:h,navigate:_,openApplication:I,selectTab:A,refreshLogs:D,pollServices:O,clearActivity(){n.activity.clear()},setRoute(M,V,G){return z((K)=>r.setRoute(K,M,G),(K)=>`${G?"Enabled":"Disabled"} route ${V} on ${K}.`)},setEnvironment(M,V,G){return z((K)=>r.setEnvironment(K,M,V,G),(K)=>`Set ${M} on ${G} in ${K}.`)},deleteEnvironment(M,V){return z((G)=>r.deleteEnvironment(G,M,V),(G)=>`Removed ${M} from ${V} in ${G}.`)},reassignSecret(M,V){let G=n.application?.name;if(G===void 0)return Promise.resolve(!1);return k(()=>r.reassignSecret(G,M,V),()=>{},`Reassigned secret ${M} on ${G}.`)},bind(M,V){let G=n.services.find((ie)=>ie.name===V);if(!G)return Promise.resolve(!1);let{type:K}=G;return z((ie)=>r.bindBackingService(ie,M,V,K),(ie)=>`Bound ${V} to ${ie} as ${M}.`)},unbind(M){return z((V)=>r.unbindBackingService(V,M),(V)=>`Unbound ${M} from ${V}.`)},createService(M){return k(()=>r.createBackingService(M),({service:V})=>{let G=n.services.find((K)=>K.name===V.name);if(G)df(G,V);else n.services.push(V)},`Created backing service ${M.name}.`)},deleteService(M){return k(()=>r.deleteBackingService(M),()=>{let V=n.services.findIndex((G)=>G.name===M);if(V>=0)n.services.splice(V,1)},`Deleted backing service ${M}.`)}}}).actions((n)=>{function r(){if(n.servicePoll!==void 0)clearInterval(n.servicePoll);n.servicePoll=void 0}function a(l=dH){r(),n.servicePoll=setInterval(()=>void n.pollServices(),l)}return{startServicePolling:a,stopServicePolling:r}});var IA=w(X(),1);function pH(){let[n]=vy.useState(()=>xA.create());return vy.useEffect(()=>{n.start()},[n]),IA.jsx(kw.Provider,{value:n,children:IA.jsx(oF,{})})}var gH=w(X(),1),mH=document.getElementById("root");if(mH!==null)hH.createRoot(mH).render(gH.jsx(pH,{}));
|