diff --git a/nvidia-oc/backend/nvidia_oc/static/assets/index-CfTZxq5T.js b/nvidia-oc/backend/nvidia_oc/static/assets/index-CfTZxq5T.js deleted file mode 100644 index e697509d..00000000 --- a/nvidia-oc/backend/nvidia_oc/static/assets/index-CfTZxq5T.js +++ /dev/null @@ -1,116 +0,0 @@ -import{r as v,K as g0,a as h,b as C,l as Kn,R as y0}from"./styled-components-D4PrdhZp.js";import{r as b0,a as sh,g as x0}from"./react-vendor-B--z-fyW.js";(function(){const o=document.createElement("link").relList;if(o&&o.supports&&o.supports("modulepreload"))return;for(const d of document.querySelectorAll('link[rel="modulepreload"]'))s(d);new MutationObserver(d=>{for(const p of d)if(p.type==="childList")for(const y of p.addedNodes)y.tagName==="LINK"&&y.rel==="modulepreload"&&s(y)}).observe(document,{childList:!0,subtree:!0});function c(d){const p={};return d.integrity&&(p.integrity=d.integrity),d.referrerPolicy&&(p.referrerPolicy=d.referrerPolicy),d.crossOrigin==="use-credentials"?p.credentials="include":d.crossOrigin==="anonymous"?p.credentials="omit":p.credentials="same-origin",p}function s(d){if(d.ep)return;d.ep=!0;const p=c(d);fetch(d.href,p)}})();var Zc={exports:{}},Ll={};/** - * @license React - * react-jsx-runtime.production.js - * - * Copyright (c) Meta Platforms, Inc. and affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */var Cm;function v0(){if(Cm)return Ll;Cm=1;var a=Symbol.for("react.transitional.element"),o=Symbol.for("react.fragment");function c(s,d,p){var y=null;if(p!==void 0&&(y=""+p),d.key!==void 0&&(y=""+d.key),"key"in d){p={};for(var S in d)S!=="key"&&(p[S]=d[S])}else p=d;return d=p.ref,{$$typeof:a,type:s,key:y,ref:d!==void 0?d:null,props:p}}return Ll.Fragment=o,Ll.jsx=c,Ll.jsxs=c,Ll}var _m;function w0(){return _m||(_m=1,Zc.exports=v0()),Zc.exports}var f=w0(),Ic={exports:{}},Yl={},Kc={exports:{}},Wc={};/** - * @license React - * scheduler.production.js - * - * Copyright (c) Meta Platforms, Inc. and affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */var zm;function S0(){return zm||(zm=1,(function(a){function o(_,H){var R=_.length;_.push(H);e:for(;0>>1,G=_[X];if(0>>1;Xd(ee,R))ged(Pe,ee)?(_[X]=Pe,_[ge]=R,X=ge):(_[X]=ee,_[P]=R,X=P);else if(ged(Pe,R))_[X]=Pe,_[ge]=R,X=ge;else break e}}return H}function d(_,H){var R=_.sortIndex-H.sortIndex;return R!==0?R:_.id-H.id}if(a.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var p=performance;a.unstable_now=function(){return p.now()}}else{var y=Date,S=y.now();a.unstable_now=function(){return y.now()-S}}var M=[],w=[],A=1,b=null,k=3,D=!1,$=!1,Y=!1,Q=!1,E=typeof setTimeout=="function"?setTimeout:null,q=typeof clearTimeout=="function"?clearTimeout:null,V=typeof setImmediate<"u"?setImmediate:null;function I(_){for(var H=c(w);H!==null;){if(H.callback===null)s(w);else if(H.startTime<=_)s(w),H.sortIndex=H.expirationTime,o(M,H);else break;H=c(w)}}function J(_){if(Y=!1,I(_),!$)if(c(M)!==null)$=!0,re||(re=!0,oe());else{var H=c(w);H!==null&&Z(J,H.startTime-_)}}var re=!1,se=-1,ie=5,Oe=-1;function Ue(){return Q?!0:!(a.unstable_now()-Oe_&&Ue());){var X=b.callback;if(typeof X=="function"){b.callback=null,k=b.priorityLevel;var G=X(b.expirationTime<=_);if(_=a.unstable_now(),typeof G=="function"){b.callback=G,I(_),H=!0;break t}b===c(M)&&s(M),I(_)}else s(M);b=c(M)}if(b!==null)H=!0;else{var W=c(w);W!==null&&Z(J,W.startTime-_),H=!1}}break e}finally{b=null,k=R,D=!1}H=void 0}}finally{H?oe():re=!1}}}var oe;if(typeof V=="function")oe=function(){V(ae)};else if(typeof MessageChannel<"u"){var ke=new MessageChannel,Le=ke.port2;ke.port1.onmessage=ae,oe=function(){Le.postMessage(null)}}else oe=function(){E(ae,0)};function Z(_,H){se=E(function(){_(a.unstable_now())},H)}a.unstable_IdlePriority=5,a.unstable_ImmediatePriority=1,a.unstable_LowPriority=4,a.unstable_NormalPriority=3,a.unstable_Profiling=null,a.unstable_UserBlockingPriority=2,a.unstable_cancelCallback=function(_){_.callback=null},a.unstable_forceFrameRate=function(_){0>_||125<_?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):ie=0<_?Math.floor(1e3/_):5},a.unstable_getCurrentPriorityLevel=function(){return k},a.unstable_next=function(_){switch(k){case 1:case 2:case 3:var H=3;break;default:H=k}var R=k;k=H;try{return _()}finally{k=R}},a.unstable_requestPaint=function(){Q=!0},a.unstable_runWithPriority=function(_,H){switch(_){case 1:case 2:case 3:case 4:case 5:break;default:_=3}var R=k;k=_;try{return H()}finally{k=R}},a.unstable_scheduleCallback=function(_,H,R){var X=a.unstable_now();switch(typeof R=="object"&&R!==null?(R=R.delay,R=typeof R=="number"&&0X?(_.sortIndex=R,o(w,_),c(M)===null&&_===c(w)&&(Y?(q(se),se=-1):Y=!0,Z(J,R-X))):(_.sortIndex=G,o(M,_),$||D||($=!0,re||(re=!0,oe()))),_},a.unstable_shouldYield=Ue,a.unstable_wrapCallback=function(_){var H=k;return function(){var R=k;k=H;try{return _.apply(this,arguments)}finally{k=R}}}})(Wc)),Wc}var km;function C0(){return km||(km=1,Kc.exports=S0()),Kc.exports}/** - * @license React - * react-dom-client.production.js - * - * Copyright (c) Meta Platforms, Inc. and affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */var Tm;function _0(){if(Tm)return Yl;Tm=1;var a=C0(),o=b0(),c=sh();function s(e){var t="https://react.dev/errors/"+e;if(1G||(e.current=X[G],X[G]=null,G--)}function ee(e,t){G++,X[G]=e.current,e.current=t}var ge=W(null),Pe=W(null),ft=W(null),zt=W(null);function Xl(e,t){switch(ee(ft,t),ee(Pe,e),ee(ge,null),t.nodeType){case 9:case 11:e=(e=t.documentElement)&&(e=e.namespaceURI)?Qf(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)t=Qf(t),e=Zf(t,e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}P(ge),ee(ge,e)}function rn(){P(ge),P(Pe),P(ft)}function ji(e){e.memoizedState!==null&&ee(zt,e);var t=ge.current,n=Zf(t,e.type);t!==n&&(ee(Pe,e),ee(ge,n))}function Ql(e){Pe.current===e&&(P(ge),P(Pe)),zt.current===e&&(P(zt),Bl._currentValue=R)}var Mi,ws;function Ua(e){if(Mi===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);Mi=t&&t[1]||"",ws=-1)":-1i||g[l]!==j[i]){var U=` -`+g[l].replace(" at new "," at ");return e.displayName&&U.includes("")&&(U=U.replace("",e.displayName)),U}while(1<=l&&0<=i);break}}}finally{Ni=!1,Error.prepareStackTrace=n}return(n=e?e.displayName||e.name:"")?Ua(n):""}function Zh(e,t){switch(e.tag){case 26:case 27:case 5:return Ua(e.type);case 16:return Ua("Lazy");case 13:return e.child!==t&&t!==null?Ua("Suspense Fallback"):Ua("Suspense");case 19:return Ua("SuspenseList");case 0:case 15:return Ai(e.type,!1);case 11:return Ai(e.type.render,!1);case 1:return Ai(e.type,!0);case 31:return Ua("Activity");default:return""}}function Ss(e){try{var t="",n=null;do t+=Zh(e,n),n=e,e=e.return;while(e);return t}catch(l){return` -Error generating stack: `+l.message+` -`+l.stack}}var Ei=Object.prototype.hasOwnProperty,Oi=a.unstable_scheduleCallback,Di=a.unstable_cancelCallback,Ih=a.unstable_shouldYield,Kh=a.unstable_requestPaint,mt=a.unstable_now,Wh=a.unstable_getCurrentPriorityLevel,Cs=a.unstable_ImmediatePriority,_s=a.unstable_UserBlockingPriority,Zl=a.unstable_NormalPriority,Fh=a.unstable_LowPriority,zs=a.unstable_IdlePriority,Jh=a.log,Ph=a.unstable_setDisableYieldValue,Wn=null,ht=null;function sa(e){if(typeof Jh=="function"&&Ph(e),ht&&typeof ht.setStrictMode=="function")try{ht.setStrictMode(Wn,e)}catch{}}var pt=Math.clz32?Math.clz32:ap,ep=Math.log,tp=Math.LN2;function ap(e){return e>>>=0,e===0?32:31-(ep(e)/tp|0)|0}var Il=256,Kl=262144,Wl=4194304;function Ba(e){var t=e&42;if(t!==0)return t;switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return e&261888;case 262144:case 524288:case 1048576:case 2097152:return e&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return e&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return e}}function Fl(e,t,n){var l=e.pendingLanes;if(l===0)return 0;var i=0,r=e.suspendedLanes,u=e.pingedLanes;e=e.warmLanes;var m=l&134217727;return m!==0?(l=m&~r,l!==0?i=Ba(l):(u&=m,u!==0?i=Ba(u):n||(n=m&~e,n!==0&&(i=Ba(n))))):(m=l&~r,m!==0?i=Ba(m):u!==0?i=Ba(u):n||(n=l&~e,n!==0&&(i=Ba(n)))),i===0?0:t!==0&&t!==i&&(t&r)===0&&(r=i&-i,n=t&-t,r>=n||r===32&&(n&4194048)!==0)?t:i}function Fn(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function np(e,t){switch(e){case 1:case 2:case 4:case 8:case 64:return t+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function ks(){var e=Wl;return Wl<<=1,(Wl&62914560)===0&&(Wl=4194304),e}function $i(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function Jn(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function lp(e,t,n,l,i,r){var u=e.pendingLanes;e.pendingLanes=n,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=n,e.entangledLanes&=n,e.errorRecoveryDisabledLanes&=n,e.shellSuspendCounter=0;var m=e.entanglements,g=e.expirationTimes,j=e.hiddenUpdates;for(n=u&~n;0"u")return null;try{return e.activeElement||e.body}catch{return e.body}}var up=/[\n"\\]/g;function Tt(e){return e.replace(up,function(t){return"\\"+t.charCodeAt(0).toString(16)+" "})}function qi(e,t,n,l,i,r,u,m){e.name="",u!=null&&typeof u!="function"&&typeof u!="symbol"&&typeof u!="boolean"?e.type=u:e.removeAttribute("type"),t!=null?u==="number"?(t===0&&e.value===""||e.value!=t)&&(e.value=""+kt(t)):e.value!==""+kt(t)&&(e.value=""+kt(t)):u!=="submit"&&u!=="reset"||e.removeAttribute("value"),t!=null?Li(e,u,kt(t)):n!=null?Li(e,u,kt(n)):l!=null&&e.removeAttribute("value"),i==null&&r!=null&&(e.defaultChecked=!!r),i!=null&&(e.checked=i&&typeof i!="function"&&typeof i!="symbol"),m!=null&&typeof m!="function"&&typeof m!="symbol"&&typeof m!="boolean"?e.name=""+kt(m):e.removeAttribute("name")}function Hs(e,t,n,l,i,r,u,m){if(r!=null&&typeof r!="function"&&typeof r!="symbol"&&typeof r!="boolean"&&(e.type=r),t!=null||n!=null){if(!(r!=="submit"&&r!=="reset"||t!=null)){Gi(e);return}n=n!=null?""+kt(n):"",t=t!=null?""+kt(t):n,m||t===e.value||(e.value=t),e.defaultValue=t}l=l??i,l=typeof l!="function"&&typeof l!="symbol"&&!!l,e.checked=m?e.checked:!!l,e.defaultChecked=!!l,u!=null&&typeof u!="function"&&typeof u!="symbol"&&typeof u!="boolean"&&(e.name=u),Gi(e)}function Li(e,t,n){t==="number"&&eo(e.ownerDocument)===e||e.defaultValue===""+n||(e.defaultValue=""+n)}function mn(e,t,n,l){if(e=e.options,t){t={};for(var i=0;i"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Zi=!1;if(Zt)try{var al={};Object.defineProperty(al,"passive",{get:function(){Zi=!0}}),window.addEventListener("test",al,al),window.removeEventListener("test",al,al)}catch{Zi=!1}var da=null,Ii=null,ao=null;function Qs(){if(ao)return ao;var e,t=Ii,n=t.length,l,i="value"in da?da.value:da.textContent,r=i.length;for(e=0;e=ol),Js=" ",Ps=!1;function eu(e,t){switch(e){case"keyup":return Bp.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function tu(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var yn=!1;function Gp(e,t){switch(e){case"compositionend":return tu(t);case"keypress":return t.which!==32?null:(Ps=!0,Js);case"textInput":return e=t.data,e===Js&&Ps?null:e;default:return null}}function qp(e,t){if(yn)return e==="compositionend"||!Pi&&eu(e,t)?(e=Qs(),ao=Ii=da=null,yn=!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)return{node:n,offset:t-e};e=l}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=su(n)}}function du(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?du(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function fu(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=eo(e.document);t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=eo(e.document)}return t}function ar(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")}var Kp=Zt&&"documentMode"in document&&11>=document.documentMode,bn=null,nr=null,sl=null,lr=!1;function mu(e,t,n){var l=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;lr||bn==null||bn!==eo(l)||(l=bn,"selectionStart"in l&&ar(l)?l={start:l.selectionStart,end:l.selectionEnd}:(l=(l.ownerDocument&&l.ownerDocument.defaultView||window).getSelection(),l={anchorNode:l.anchorNode,anchorOffset:l.anchorOffset,focusNode:l.focusNode,focusOffset:l.focusOffset}),sl&&cl(sl,l)||(sl=l,l=Wo(nr,"onSelect"),0>=u,i-=u,qt=1<<32-pt(t)+i|n<ue?(pe=F,F=null):pe=F.sibling;var xe=N(z,F,T[ue],B);if(xe===null){F===null&&(F=pe);break}e&&F&&xe.alternate===null&&t(z,F),x=r(xe,x,ue),be===null?te=xe:be.sibling=xe,be=xe,F=pe}if(ue===T.length)return n(z,F),ye&&Kt(z,ue),te;if(F===null){for(;ueue?(pe=F,F=null):pe=F.sibling;var Oa=N(z,F,xe.value,B);if(Oa===null){F===null&&(F=pe);break}e&&F&&Oa.alternate===null&&t(z,F),x=r(Oa,x,ue),be===null?te=Oa:be.sibling=Oa,be=Oa,F=pe}if(xe.done)return n(z,F),ye&&Kt(z,ue),te;if(F===null){for(;!xe.done;ue++,xe=T.next())xe=L(z,xe.value,B),xe!==null&&(x=r(xe,x,ue),be===null?te=xe:be.sibling=xe,be=xe);return ye&&Kt(z,ue),te}for(F=l(F);!xe.done;ue++,xe=T.next())xe=O(F,z,ue,xe.value,B),xe!==null&&(e&&xe.alternate!==null&&F.delete(xe.key===null?ue:xe.key),x=r(xe,x,ue),be===null?te=xe:be.sibling=xe,be=xe);return e&&F.forEach(function(p0){return t(z,p0)}),ye&&Kt(z,ue),te}function ze(z,x,T,B){if(typeof T=="object"&&T!==null&&T.type===Y&&T.key===null&&(T=T.props.children),typeof T=="object"&&T!==null){switch(T.$$typeof){case D:e:{for(var te=T.key;x!==null;){if(x.key===te){if(te=T.type,te===Y){if(x.tag===7){n(z,x.sibling),B=i(x,T.props.children),B.return=z,z=B;break e}}else if(x.elementType===te||typeof te=="object"&&te!==null&&te.$$typeof===ie&&Ka(te)===x.type){n(z,x.sibling),B=i(x,T.props),pl(B,T),B.return=z,z=B;break e}n(z,x);break}else t(z,x);x=x.sibling}T.type===Y?(B=Va(T.props.children,z.mode,B,T.key),B.return=z,z=B):(B=mo(T.type,T.key,T.props,null,z.mode,B),pl(B,T),B.return=z,z=B)}return u(z);case $:e:{for(te=T.key;x!==null;){if(x.key===te)if(x.tag===4&&x.stateNode.containerInfo===T.containerInfo&&x.stateNode.implementation===T.implementation){n(z,x.sibling),B=i(x,T.children||[]),B.return=z,z=B;break e}else{n(z,x);break}else t(z,x);x=x.sibling}B=dr(T,z.mode,B),B.return=z,z=B}return u(z);case ie:return T=Ka(T),ze(z,x,T,B)}if(Z(T))return K(z,x,T,B);if(oe(T)){if(te=oe(T),typeof te!="function")throw Error(s(150));return T=te.call(T),ne(z,x,T,B)}if(typeof T.then=="function")return ze(z,x,vo(T),B);if(T.$$typeof===V)return ze(z,x,go(z,T),B);wo(z,T)}return typeof T=="string"&&T!==""||typeof T=="number"||typeof T=="bigint"?(T=""+T,x!==null&&x.tag===6?(n(z,x.sibling),B=i(x,T),B.return=z,z=B):(n(z,x),B=ur(T,z.mode,B),B.return=z,z=B),u(z)):n(z,x)}return function(z,x,T,B){try{hl=0;var te=ze(z,x,T,B);return Mn=null,te}catch(F){if(F===jn||F===bo)throw F;var be=yt(29,F,null,z.mode);return be.lanes=B,be.return=z,be}finally{}}}var Fa=Ru(!0),Uu=Ru(!1),ga=!1;function Cr(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function _r(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 ya(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function ba(e,t,n){var l=e.updateQueue;if(l===null)return null;if(l=l.shared,(ve&2)!==0){var i=l.pending;return i===null?t.next=t:(t.next=i.next,i.next=t),l.pending=t,t=fo(e),vu(e,null,n),t}return uo(e,l,t,n),fo(e)}function gl(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194048)!==0)){var l=t.lanes;l&=e.pendingLanes,n|=l,t.lanes=n,js(e,n)}}function zr(e,t){var n=e.updateQueue,l=e.alternate;if(l!==null&&(l=l.updateQueue,n===l)){var i=null,r=null;if(n=n.firstBaseUpdate,n!==null){do{var u={lane:n.lane,tag:n.tag,payload:n.payload,callback:null,next:null};r===null?i=r=u:r=r.next=u,n=n.next}while(n!==null);r===null?i=r=t:r=r.next=t}else i=r=t;n={baseState:l.baseState,firstBaseUpdate:i,lastBaseUpdate:r,shared:l.shared,callbacks:l.callbacks},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}var kr=!1;function yl(){if(kr){var e=Tn;if(e!==null)throw e}}function bl(e,t,n,l){kr=!1;var i=e.updateQueue;ga=!1;var r=i.firstBaseUpdate,u=i.lastBaseUpdate,m=i.shared.pending;if(m!==null){i.shared.pending=null;var g=m,j=g.next;g.next=null,u===null?r=j:u.next=j,u=g;var U=e.alternate;U!==null&&(U=U.updateQueue,m=U.lastBaseUpdate,m!==u&&(m===null?U.firstBaseUpdate=j:m.next=j,U.lastBaseUpdate=g))}if(r!==null){var L=i.baseState;u=0,U=j=g=null,m=r;do{var N=m.lane&-536870913,O=N!==m.lane;if(O?(he&N)===N:(l&N)===N){N!==0&&N===kn&&(kr=!0),U!==null&&(U=U.next={lane:0,tag:m.tag,payload:m.payload,callback:null,next:null});e:{var K=e,ne=m;N=t;var ze=n;switch(ne.tag){case 1:if(K=ne.payload,typeof K=="function"){L=K.call(ze,L,N);break e}L=K;break e;case 3:K.flags=K.flags&-65537|128;case 0:if(K=ne.payload,N=typeof K=="function"?K.call(ze,L,N):K,N==null)break e;L=b({},L,N);break e;case 2:ga=!0}}N=m.callback,N!==null&&(e.flags|=64,O&&(e.flags|=8192),O=i.callbacks,O===null?i.callbacks=[N]:O.push(N))}else O={lane:N,tag:m.tag,payload:m.payload,callback:m.callback,next:null},U===null?(j=U=O,g=L):U=U.next=O,u|=N;if(m=m.next,m===null){if(m=i.shared.pending,m===null)break;O=m,m=O.next,O.next=null,i.lastBaseUpdate=O,i.shared.pending=null}}while(!0);U===null&&(g=L),i.baseState=g,i.firstBaseUpdate=j,i.lastBaseUpdate=U,r===null&&(i.shared.lanes=0),Ca|=u,e.lanes=u,e.memoizedState=L}}function Bu(e,t){if(typeof e!="function")throw Error(s(191,e));e.call(t)}function Hu(e,t){var n=e.callbacks;if(n!==null)for(e.callbacks=null,e=0;er?r:8;var u=_.T,m={};_.T=m,Xr(e,!1,t,n);try{var g=i(),j=_.S;if(j!==null&&j(m,g),g!==null&&typeof g=="object"&&typeof g.then=="function"){var U=lg(g,l);wl(e,t,U,St(e))}else wl(e,t,l,St(e))}catch(L){wl(e,t,{then:function(){},status:"rejected",reason:L},St())}finally{H.p=r,u!==null&&m.types!==null&&(u.types=m.types),_.T=u}}function ug(){}function Yr(e,t,n,l){if(e.tag!==5)throw Error(s(476));var i=yd(e).queue;gd(e,i,t,R,n===null?ug:function(){return bd(e),n(l)})}function yd(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:R,baseState:R,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Pt,lastRenderedState:R},next:null};var n={};return t.next={memoizedState:n,baseState:n,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Pt,lastRenderedState:n},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function bd(e){var t=yd(e);t.next===null&&(t=e.alternate.memoizedState),wl(e,t.next.queue,{},St())}function Vr(){return Ke(Bl)}function xd(){return $e().memoizedState}function vd(){return $e().memoizedState}function dg(e){for(var t=e.return;t!==null;){switch(t.tag){case 24:case 3:var n=St();e=ya(n);var l=ba(t,e,n);l!==null&&(st(l,t,n),gl(l,t,n)),t={cache:xr()},e.payload=t;return}t=t.return}}function fg(e,t,n){var l=St();n={lane:l,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null},Ao(e)?Sd(t,n):(n=cr(e,t,n,l),n!==null&&(st(n,e,l),Cd(n,t,l)))}function wd(e,t,n){var l=St();wl(e,t,n,l)}function wl(e,t,n,l){var i={lane:l,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null};if(Ao(e))Sd(t,i);else{var r=e.alternate;if(e.lanes===0&&(r===null||r.lanes===0)&&(r=t.lastRenderedReducer,r!==null))try{var u=t.lastRenderedState,m=r(u,n);if(i.hasEagerState=!0,i.eagerState=m,gt(m,u))return uo(e,t,i,0),Te===null&&so(),!1}catch{}finally{}if(n=cr(e,t,i,l),n!==null)return st(n,e,l),Cd(n,t,l),!0}return!1}function Xr(e,t,n,l){if(l={lane:2,revertLane:Cc(),gesture:null,action:l,hasEagerState:!1,eagerState:null,next:null},Ao(e)){if(t)throw Error(s(479))}else t=cr(e,n,l,2),t!==null&&st(t,e,2)}function Ao(e){var t=e.alternate;return e===ce||t!==null&&t===ce}function Sd(e,t){An=_o=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Cd(e,t,n){if((n&4194048)!==0){var l=t.lanes;l&=e.pendingLanes,n|=l,t.lanes=n,js(e,n)}}var Sl={readContext:Ke,use:To,useCallback:Ae,useContext:Ae,useEffect:Ae,useImperativeHandle:Ae,useLayoutEffect:Ae,useInsertionEffect:Ae,useMemo:Ae,useReducer:Ae,useRef:Ae,useState:Ae,useDebugValue:Ae,useDeferredValue:Ae,useTransition:Ae,useSyncExternalStore:Ae,useId:Ae,useHostTransitionStatus:Ae,useFormState:Ae,useActionState:Ae,useOptimistic:Ae,useMemoCache:Ae,useCacheRefresh:Ae};Sl.useEffectEvent=Ae;var _d={readContext:Ke,use:To,useCallback:function(e,t){return et().memoizedState=[e,t===void 0?null:t],e},useContext:Ke,useEffect:rd,useImperativeHandle:function(e,t,n){n=n!=null?n.concat([e]):null,Mo(4194308,4,dd.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Mo(4194308,4,e,t)},useInsertionEffect:function(e,t){Mo(4,2,e,t)},useMemo:function(e,t){var n=et();t=t===void 0?null:t;var l=e();if(Ja){sa(!0);try{e()}finally{sa(!1)}}return n.memoizedState=[l,t],l},useReducer:function(e,t,n){var l=et();if(n!==void 0){var i=n(t);if(Ja){sa(!0);try{n(t)}finally{sa(!1)}}}else i=t;return l.memoizedState=l.baseState=i,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:i},l.queue=e,e=e.dispatch=fg.bind(null,ce,e),[l.memoizedState,e]},useRef:function(e){var t=et();return e={current:e},t.memoizedState=e},useState:function(e){e=Br(e);var t=e.queue,n=wd.bind(null,ce,t);return t.dispatch=n,[e.memoizedState,n]},useDebugValue:qr,useDeferredValue:function(e,t){var n=et();return Lr(n,e,t)},useTransition:function(){var e=Br(!1);return e=gd.bind(null,ce,e.queue,!0,!1),et().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,n){var l=ce,i=et();if(ye){if(n===void 0)throw Error(s(407));n=n()}else{if(n=t(),Te===null)throw Error(s(349));(he&127)!==0||Xu(l,t,n)}i.memoizedState=n;var r={value:n,getSnapshot:t};return i.queue=r,rd(Zu.bind(null,l,r,e),[e]),l.flags|=2048,On(9,{destroy:void 0},Qu.bind(null,l,r,n,t),null),n},useId:function(){var e=et(),t=Te.identifierPrefix;if(ye){var n=Lt,l=qt;n=(l&~(1<<32-pt(l)-1)).toString(32)+n,t="_"+t+"R_"+n,n=zo++,0<\/script>",r=r.removeChild(r.firstChild);break;case"select":r=typeof l.is=="string"?u.createElement("select",{is:l.is}):u.createElement("select"),l.multiple?r.multiple=!0:l.size&&(r.size=l.size);break;default:r=typeof l.is=="string"?u.createElement(i,{is:l.is}):u.createElement(i)}}r[Ze]=t,r[nt]=l;e:for(u=t.child;u!==null;){if(u.tag===5||u.tag===6)r.appendChild(u.stateNode);else if(u.tag!==4&&u.tag!==27&&u.child!==null){u.child.return=u,u=u.child;continue}if(u===t)break e;for(;u.sibling===null;){if(u.return===null||u.return===t)break e;u=u.return}u.sibling.return=u.return,u=u.sibling}t.stateNode=r;e:switch(Fe(r,i,l),i){case"button":case"input":case"select":case"textarea":l=!!l.autoFocus;break e;case"img":l=!0;break e;default:l=!1}l&&ta(t)}}return Me(t),oc(t,t.type,e===null?null:e.memoizedProps,t.pendingProps,n),null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==l&&ta(t);else{if(typeof l!="string"&&t.stateNode===null)throw Error(s(166));if(e=ft.current,_n(t)){if(e=t.stateNode,n=t.memoizedProps,l=null,i=Ie,i!==null)switch(i.tag){case 27:case 5:l=i.memoizedProps}e[Ze]=t,e=!!(e.nodeValue===n||l!==null&&l.suppressHydrationWarning===!0||Vf(e.nodeValue,n)),e||ha(t,!0)}else e=Fo(e).createTextNode(l),e[Ze]=t,t.stateNode=e}return Me(t),null;case 31:if(n=t.memoizedState,e===null||e.memoizedState!==null){if(l=_n(t),n!==null){if(e===null){if(!l)throw Error(s(318));if(e=t.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(s(557));e[Ze]=t}else Xa(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;Me(t),e=!1}else n=pr(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=n),e=!0;if(!e)return t.flags&256?(xt(t),t):(xt(t),null);if((t.flags&128)!==0)throw Error(s(558))}return Me(t),null;case 13:if(l=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(i=_n(t),l!==null&&l.dehydrated!==null){if(e===null){if(!i)throw Error(s(318));if(i=t.memoizedState,i=i!==null?i.dehydrated:null,!i)throw Error(s(317));i[Ze]=t}else Xa(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;Me(t),i=!1}else i=pr(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=i),i=!0;if(!i)return t.flags&256?(xt(t),t):(xt(t),null)}return xt(t),(t.flags&128)!==0?(t.lanes=n,t):(n=l!==null,e=e!==null&&e.memoizedState!==null,n&&(l=t.child,i=null,l.alternate!==null&&l.alternate.memoizedState!==null&&l.alternate.memoizedState.cachePool!==null&&(i=l.alternate.memoizedState.cachePool.pool),r=null,l.memoizedState!==null&&l.memoizedState.cachePool!==null&&(r=l.memoizedState.cachePool.pool),r!==i&&(l.flags|=2048)),n!==e&&n&&(t.child.flags|=8192),Ro(t,t.updateQueue),Me(t),null);case 4:return rn(),e===null&&Tc(t.stateNode.containerInfo),Me(t),null;case 10:return Ft(t.type),Me(t),null;case 19:if(P(De),l=t.memoizedState,l===null)return Me(t),null;if(i=(t.flags&128)!==0,r=l.rendering,r===null)if(i)_l(l,!1);else{if(Ee!==0||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(r=Co(e),r!==null){for(t.flags|=128,_l(l,!1),e=r.updateQueue,t.updateQueue=e,Ro(t,e),t.subtreeFlags=0,e=n,n=t.child;n!==null;)wu(n,e),n=n.sibling;return ee(De,De.current&1|2),ye&&Kt(t,l.treeForkCount),t.child}e=e.sibling}l.tail!==null&&mt()>qo&&(t.flags|=128,i=!0,_l(l,!1),t.lanes=4194304)}else{if(!i)if(e=Co(r),e!==null){if(t.flags|=128,i=!0,e=e.updateQueue,t.updateQueue=e,Ro(t,e),_l(l,!0),l.tail===null&&l.tailMode==="hidden"&&!r.alternate&&!ye)return Me(t),null}else 2*mt()-l.renderingStartTime>qo&&n!==536870912&&(t.flags|=128,i=!0,_l(l,!1),t.lanes=4194304);l.isBackwards?(r.sibling=t.child,t.child=r):(e=l.last,e!==null?e.sibling=r:t.child=r,l.last=r)}return l.tail!==null?(e=l.tail,l.rendering=e,l.tail=e.sibling,l.renderingStartTime=mt(),e.sibling=null,n=De.current,ee(De,i?n&1|2:n&1),ye&&Kt(t,l.treeForkCount),e):(Me(t),null);case 22:case 23:return xt(t),jr(),l=t.memoizedState!==null,e!==null?e.memoizedState!==null!==l&&(t.flags|=8192):l&&(t.flags|=8192),l?(n&536870912)!==0&&(t.flags&128)===0&&(Me(t),t.subtreeFlags&6&&(t.flags|=8192)):Me(t),n=t.updateQueue,n!==null&&Ro(t,n.retryQueue),n=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(n=e.memoizedState.cachePool.pool),l=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(l=t.memoizedState.cachePool.pool),l!==n&&(t.flags|=2048),e!==null&&P(Ia),null;case 24:return n=null,e!==null&&(n=e.memoizedState.cache),t.memoizedState.cache!==n&&(t.flags|=2048),Ft(Be),Me(t),null;case 25:return null;case 30:return null}throw Error(s(156,t.tag))}function yg(e,t){switch(mr(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Ft(Be),rn(),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return Ql(t),null;case 31:if(t.memoizedState!==null){if(xt(t),t.alternate===null)throw Error(s(340));Xa()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 13:if(xt(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(s(340));Xa()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return P(De),null;case 4:return rn(),null;case 10:return Ft(t.type),null;case 22:case 23:return xt(t),jr(),e!==null&&P(Ia),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 24:return Ft(Be),null;case 25:return null;default:return null}}function Id(e,t){switch(mr(t),t.tag){case 3:Ft(Be),rn();break;case 26:case 27:case 5:Ql(t);break;case 4:rn();break;case 31:t.memoizedState!==null&&xt(t);break;case 13:xt(t);break;case 19:P(De);break;case 10:Ft(t.type);break;case 22:case 23:xt(t),jr(),e!==null&&P(Ia);break;case 24:Ft(Be)}}function zl(e,t){try{var n=t.updateQueue,l=n!==null?n.lastEffect:null;if(l!==null){var i=l.next;n=i;do{if((n.tag&e)===e){l=void 0;var r=n.create,u=n.inst;l=r(),u.destroy=l}n=n.next}while(n!==i)}}catch(m){Se(t,t.return,m)}}function wa(e,t,n){try{var l=t.updateQueue,i=l!==null?l.lastEffect:null;if(i!==null){var r=i.next;l=r;do{if((l.tag&e)===e){var u=l.inst,m=u.destroy;if(m!==void 0){u.destroy=void 0,i=t;var g=n,j=m;try{j()}catch(U){Se(i,g,U)}}}l=l.next}while(l!==r)}}catch(U){Se(t,t.return,U)}}function Kd(e){var t=e.updateQueue;if(t!==null){var n=e.stateNode;try{Hu(t,n)}catch(l){Se(e,e.return,l)}}}function Wd(e,t,n){n.props=Pa(e.type,e.memoizedProps),n.state=e.memoizedState;try{n.componentWillUnmount()}catch(l){Se(e,t,l)}}function kl(e,t){try{var n=e.ref;if(n!==null){switch(e.tag){case 26:case 27:case 5:var l=e.stateNode;break;case 30:l=e.stateNode;break;default:l=e.stateNode}typeof n=="function"?e.refCleanup=n(l):n.current=l}}catch(i){Se(e,t,i)}}function Yt(e,t){var n=e.ref,l=e.refCleanup;if(n!==null)if(typeof l=="function")try{l()}catch(i){Se(e,t,i)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof n=="function")try{n(null)}catch(i){Se(e,t,i)}else n.current=null}function Fd(e){var t=e.type,n=e.memoizedProps,l=e.stateNode;try{e:switch(t){case"button":case"input":case"select":case"textarea":n.autoFocus&&l.focus();break e;case"img":n.src?l.src=n.src:n.srcSet&&(l.srcset=n.srcSet)}}catch(i){Se(e,e.return,i)}}function ic(e,t,n){try{var l=e.stateNode;Hg(l,e.type,n,t),l[nt]=t}catch(i){Se(e,e.return,i)}}function Jd(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&ja(e.type)||e.tag===4}function rc(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Jd(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.tag===27&&ja(e.type)||e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function cc(e,t,n){var l=e.tag;if(l===5||l===6)e=e.stateNode,t?(n.nodeType===9?n.body:n.nodeName==="HTML"?n.ownerDocument.body:n).insertBefore(e,t):(t=n.nodeType===9?n.body:n.nodeName==="HTML"?n.ownerDocument.body:n,t.appendChild(e),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=Qt));else if(l!==4&&(l===27&&ja(e.type)&&(n=e.stateNode,t=null),e=e.child,e!==null))for(cc(e,t,n),e=e.sibling;e!==null;)cc(e,t,n),e=e.sibling}function Uo(e,t,n){var l=e.tag;if(l===5||l===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(l!==4&&(l===27&&ja(e.type)&&(n=e.stateNode),e=e.child,e!==null))for(Uo(e,t,n),e=e.sibling;e!==null;)Uo(e,t,n),e=e.sibling}function Pd(e){var t=e.stateNode,n=e.memoizedProps;try{for(var l=e.type,i=t.attributes;i.length;)t.removeAttributeNode(i[0]);Fe(t,l,n),t[Ze]=e,t[nt]=n}catch(r){Se(e,e.return,r)}}var aa=!1,qe=!1,sc=!1,ef=typeof WeakSet=="function"?WeakSet:Set,Qe=null;function bg(e,t){if(e=e.containerInfo,Nc=li,e=fu(e),ar(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var l=n.getSelection&&n.getSelection();if(l&&l.rangeCount!==0){n=l.anchorNode;var i=l.anchorOffset,r=l.focusNode;l=l.focusOffset;try{n.nodeType,r.nodeType}catch{n=null;break e}var u=0,m=-1,g=-1,j=0,U=0,L=e,N=null;t:for(;;){for(var O;L!==n||i!==0&&L.nodeType!==3||(m=u+i),L!==r||l!==0&&L.nodeType!==3||(g=u+l),L.nodeType===3&&(u+=L.nodeValue.length),(O=L.firstChild)!==null;)N=L,L=O;for(;;){if(L===e)break t;if(N===n&&++j===i&&(m=u),N===r&&++U===l&&(g=u),(O=L.nextSibling)!==null)break;L=N,N=L.parentNode}L=O}n=m===-1||g===-1?null:{start:m,end:g}}else n=null}n=n||{start:0,end:0}}else n=null;for(Ac={focusedElem:e,selectionRange:n},li=!1,Qe=t;Qe!==null;)if(t=Qe,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,Qe=e;else for(;Qe!==null;){switch(t=Qe,r=t.alternate,e=t.flags,t.tag){case 0:if((e&4)!==0&&(e=t.updateQueue,e=e!==null?e.events:null,e!==null))for(n=0;n title"))),Fe(r,l,n),r[Ze]=e,Xe(r),l=r;break e;case"link":var u=rm("link","href",i).get(l+(n.href||""));if(u){for(var m=0;mze&&(u=ze,ze=ne,ne=u);var z=uu(m,ne),x=uu(m,ze);if(z&&x&&(O.rangeCount!==1||O.anchorNode!==z.node||O.anchorOffset!==z.offset||O.focusNode!==x.node||O.focusOffset!==x.offset)){var T=L.createRange();T.setStart(z.node,z.offset),O.removeAllRanges(),ne>ze?(O.addRange(T),O.extend(x.node,x.offset)):(T.setEnd(x.node,x.offset),O.addRange(T))}}}}for(L=[],O=m;O=O.parentNode;)O.nodeType===1&&L.push({element:O,left:O.scrollLeft,top:O.scrollTop});for(typeof m.focus=="function"&&m.focus(),m=0;mn?32:n,_.T=null,n=gc,gc=null;var r=za,u=ra;if(Ye=0,Bn=za=null,ra=0,(ve&6)!==0)throw Error(s(331));var m=ve;if(ve|=4,ff(r.current),sf(r,r.current,u,n),ve=m,El(0,!1),ht&&typeof ht.onPostCommitFiberRoot=="function")try{ht.onPostCommitFiberRoot(Wn,r)}catch{}return!0}finally{H.p=i,_.T=l,Nf(e,t)}}function Ef(e,t,n){t=Mt(n,t),t=Kr(e.stateNode,t,2),e=ba(e,t,2),e!==null&&(Jn(e,2),Vt(e))}function Se(e,t,n){if(e.tag===3)Ef(e,e,n);else for(;t!==null;){if(t.tag===3){Ef(t,e,n);break}else if(t.tag===1){var l=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof l.componentDidCatch=="function"&&(_a===null||!_a.has(l))){e=Mt(n,e),n=Ed(2),l=ba(t,n,2),l!==null&&(Od(n,l,t,e),Jn(l,2),Vt(l));break}}t=t.return}}function vc(e,t,n){var l=e.pingCache;if(l===null){l=e.pingCache=new wg;var i=new Set;l.set(t,i)}else i=l.get(t),i===void 0&&(i=new Set,l.set(t,i));i.has(n)||(fc=!0,i.add(n),e=kg.bind(null,e,t,n),t.then(e,e))}function kg(e,t,n){var l=e.pingCache;l!==null&&l.delete(t),e.pingedLanes|=e.suspendedLanes&n,e.warmLanes&=~n,Te===e&&(he&n)===n&&(Ee===4||Ee===3&&(he&62914560)===he&&300>mt()-Go?(ve&2)===0&&Hn(e,0):mc|=n,Un===he&&(Un=0)),Vt(e)}function Of(e,t){t===0&&(t=ks()),e=Ya(e,t),e!==null&&(Jn(e,t),Vt(e))}function Tg(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Of(e,n)}function jg(e,t){var n=0;switch(e.tag){case 31:case 13:var l=e.stateNode,i=e.memoizedState;i!==null&&(n=i.retryLane);break;case 19:l=e.stateNode;break;case 22:l=e.stateNode._retryCache;break;default:throw Error(s(314))}l!==null&&l.delete(t),Of(e,n)}function Mg(e,t){return Oi(e,t)}var Zo=null,qn=null,wc=!1,Io=!1,Sc=!1,Ta=0;function Vt(e){e!==qn&&e.next===null&&(qn===null?Zo=qn=e:qn=qn.next=e),Io=!0,wc||(wc=!0,Ag())}function El(e,t){if(!Sc&&Io){Sc=!0;do for(var n=!1,l=Zo;l!==null;){if(e!==0){var i=l.pendingLanes;if(i===0)var r=0;else{var u=l.suspendedLanes,m=l.pingedLanes;r=(1<<31-pt(42|e)+1)-1,r&=i&~(u&~m),r=r&201326741?r&201326741|1:r?r|2:0}r!==0&&(n=!0,Uf(l,r))}else r=he,r=Fl(l,l===Te?r:0,l.cancelPendingCommit!==null||l.timeoutHandle!==-1),(r&3)===0||Fn(l,r)||(n=!0,Uf(l,r));l=l.next}while(n);Sc=!1}}function Ng(){Df()}function Df(){Io=wc=!1;var e=0;Ta!==0&&qg()&&(e=Ta);for(var t=mt(),n=null,l=Zo;l!==null;){var i=l.next,r=$f(l,t);r===0?(l.next=null,n===null?Zo=i:n.next=i,i===null&&(qn=n)):(n=l,(e!==0||(r&3)!==0)&&(Io=!0)),l=i}Ye!==0&&Ye!==5||El(e),Ta!==0&&(Ta=0)}function $f(e,t){for(var n=e.suspendedLanes,l=e.pingedLanes,i=e.expirationTimes,r=e.pendingLanes&-62914561;0m)break;var U=g.transferSize,L=g.initiatorType;U&&Xf(L)&&(g=g.responseEnd,u+=U*(g"u"?null:document;function nm(e,t,n){var l=Ln;if(l&&typeof t=="string"&&t){var i=Tt(t);i='link[rel="'+e+'"][href="'+i+'"]',typeof n=="string"&&(i+='[crossorigin="'+n+'"]'),am.has(i)||(am.add(i),e={rel:e,crossOrigin:n,href:t},l.querySelector(i)===null&&(t=l.createElement("link"),Fe(t,"link",e),Xe(t),l.head.appendChild(t)))}}function Wg(e){ca.D(e),nm("dns-prefetch",e,null)}function Fg(e,t){ca.C(e,t),nm("preconnect",e,t)}function Jg(e,t,n){ca.L(e,t,n);var l=Ln;if(l&&e&&t){var i='link[rel="preload"][as="'+Tt(t)+'"]';t==="image"&&n&&n.imageSrcSet?(i+='[imagesrcset="'+Tt(n.imageSrcSet)+'"]',typeof n.imageSizes=="string"&&(i+='[imagesizes="'+Tt(n.imageSizes)+'"]')):i+='[href="'+Tt(e)+'"]';var r=i;switch(t){case"style":r=Yn(e);break;case"script":r=Vn(e)}$t.has(r)||(e=b({rel:"preload",href:t==="image"&&n&&n.imageSrcSet?void 0:e,as:t},n),$t.set(r,e),l.querySelector(i)!==null||t==="style"&&l.querySelector(Rl(r))||t==="script"&&l.querySelector(Ul(r))||(t=l.createElement("link"),Fe(t,"link",e),Xe(t),l.head.appendChild(t)))}}function Pg(e,t){ca.m(e,t);var n=Ln;if(n&&e){var l=t&&typeof t.as=="string"?t.as:"script",i='link[rel="modulepreload"][as="'+Tt(l)+'"][href="'+Tt(e)+'"]',r=i;switch(l){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":r=Vn(e)}if(!$t.has(r)&&(e=b({rel:"modulepreload",href:e},t),$t.set(r,e),n.querySelector(i)===null)){switch(l){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(n.querySelector(Ul(r)))return}l=n.createElement("link"),Fe(l,"link",e),Xe(l),n.head.appendChild(l)}}}function e0(e,t,n){ca.S(e,t,n);var l=Ln;if(l&&e){var i=dn(l).hoistableStyles,r=Yn(e);t=t||"default";var u=i.get(r);if(!u){var m={loading:0,preload:null};if(u=l.querySelector(Rl(r)))m.loading=5;else{e=b({rel:"stylesheet",href:e,"data-precedence":t},n),(n=$t.get(r))&&Bc(e,n);var g=u=l.createElement("link");Xe(g),Fe(g,"link",e),g._p=new Promise(function(j,U){g.onload=j,g.onerror=U}),g.addEventListener("load",function(){m.loading|=1}),g.addEventListener("error",function(){m.loading|=2}),m.loading|=4,Po(u,t,l)}u={type:"stylesheet",instance:u,count:1,state:m},i.set(r,u)}}}function t0(e,t){ca.X(e,t);var n=Ln;if(n&&e){var l=dn(n).hoistableScripts,i=Vn(e),r=l.get(i);r||(r=n.querySelector(Ul(i)),r||(e=b({src:e,async:!0},t),(t=$t.get(i))&&Hc(e,t),r=n.createElement("script"),Xe(r),Fe(r,"link",e),n.head.appendChild(r)),r={type:"script",instance:r,count:1,state:null},l.set(i,r))}}function a0(e,t){ca.M(e,t);var n=Ln;if(n&&e){var l=dn(n).hoistableScripts,i=Vn(e),r=l.get(i);r||(r=n.querySelector(Ul(i)),r||(e=b({src:e,async:!0,type:"module"},t),(t=$t.get(i))&&Hc(e,t),r=n.createElement("script"),Xe(r),Fe(r,"link",e),n.head.appendChild(r)),r={type:"script",instance:r,count:1,state:null},l.set(i,r))}}function lm(e,t,n,l){var i=(i=ft.current)?Jo(i):null;if(!i)throw Error(s(446));switch(e){case"meta":case"title":return null;case"style":return typeof n.precedence=="string"&&typeof n.href=="string"?(t=Yn(n.href),n=dn(i).hoistableStyles,l=n.get(t),l||(l={type:"style",instance:null,count:0,state:null},n.set(t,l)),l):{type:"void",instance:null,count:0,state:null};case"link":if(n.rel==="stylesheet"&&typeof n.href=="string"&&typeof n.precedence=="string"){e=Yn(n.href);var r=dn(i).hoistableStyles,u=r.get(e);if(u||(i=i.ownerDocument||i,u={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},r.set(e,u),(r=i.querySelector(Rl(e)))&&!r._p&&(u.instance=r,u.state.loading=5),$t.has(e)||(n={rel:"preload",as:"style",href:n.href,crossOrigin:n.crossOrigin,integrity:n.integrity,media:n.media,hrefLang:n.hrefLang,referrerPolicy:n.referrerPolicy},$t.set(e,n),r||n0(i,e,n,u.state))),t&&l===null)throw Error(s(528,""));return u}if(t&&l!==null)throw Error(s(529,""));return null;case"script":return t=n.async,n=n.src,typeof n=="string"&&t&&typeof t!="function"&&typeof t!="symbol"?(t=Vn(n),n=dn(i).hoistableScripts,l=n.get(t),l||(l={type:"script",instance:null,count:0,state:null},n.set(t,l)),l):{type:"void",instance:null,count:0,state:null};default:throw Error(s(444,e))}}function Yn(e){return'href="'+Tt(e)+'"'}function Rl(e){return'link[rel="stylesheet"]['+e+"]"}function om(e){return b({},e,{"data-precedence":e.precedence,precedence:null})}function n0(e,t,n,l){e.querySelector('link[rel="preload"][as="style"]['+t+"]")?l.loading=1:(t=e.createElement("link"),l.preload=t,t.addEventListener("load",function(){return l.loading|=1}),t.addEventListener("error",function(){return l.loading|=2}),Fe(t,"link",n),Xe(t),e.head.appendChild(t))}function Vn(e){return'[src="'+Tt(e)+'"]'}function Ul(e){return"script[async]"+e}function im(e,t,n){if(t.count++,t.instance===null)switch(t.type){case"style":var l=e.querySelector('style[data-href~="'+Tt(n.href)+'"]');if(l)return t.instance=l,Xe(l),l;var i=b({},n,{"data-href":n.href,"data-precedence":n.precedence,href:null,precedence:null});return l=(e.ownerDocument||e).createElement("style"),Xe(l),Fe(l,"style",i),Po(l,n.precedence,e),t.instance=l;case"stylesheet":i=Yn(n.href);var r=e.querySelector(Rl(i));if(r)return t.state.loading|=4,t.instance=r,Xe(r),r;l=om(n),(i=$t.get(i))&&Bc(l,i),r=(e.ownerDocument||e).createElement("link"),Xe(r);var u=r;return u._p=new Promise(function(m,g){u.onload=m,u.onerror=g}),Fe(r,"link",l),t.state.loading|=4,Po(r,n.precedence,e),t.instance=r;case"script":return r=Vn(n.src),(i=e.querySelector(Ul(r)))?(t.instance=i,Xe(i),i):(l=n,(i=$t.get(r))&&(l=b({},n),Hc(l,i)),e=e.ownerDocument||e,i=e.createElement("script"),Xe(i),Fe(i,"link",l),e.head.appendChild(i),t.instance=i);case"void":return null;default:throw Error(s(443,t.type))}else t.type==="stylesheet"&&(t.state.loading&4)===0&&(l=t.instance,t.state.loading|=4,Po(l,n.precedence,e));return t.instance}function Po(e,t,n){for(var l=n.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),i=l.length?l[l.length-1]:null,r=i,u=0;u title"):null)}function l0(e,t,n){if(n===1||t.itemProp!=null)return!1;switch(e){case"meta":case"title":return!0;case"style":if(typeof t.precedence!="string"||typeof t.href!="string"||t.href==="")break;return!0;case"link":if(typeof t.rel!="string"||typeof t.href!="string"||t.href===""||t.onLoad||t.onError)break;switch(t.rel){case"stylesheet":return e=t.disabled,typeof t.precedence=="string"&&e==null;default:return!0}case"script":if(t.async&&typeof t.async!="function"&&typeof t.async!="symbol"&&!t.onLoad&&!t.onError&&t.src&&typeof t.src=="string")return!0}return!1}function sm(e){return!(e.type==="stylesheet"&&(e.state.loading&3)===0)}function o0(e,t,n,l){if(n.type==="stylesheet"&&(typeof l.media!="string"||matchMedia(l.media).matches!==!1)&&(n.state.loading&4)===0){if(n.instance===null){var i=Yn(l.href),r=t.querySelector(Rl(i));if(r){t=r._p,t!==null&&typeof t=="object"&&typeof t.then=="function"&&(e.count++,e=ti.bind(e),t.then(e,e)),n.state.loading|=4,n.instance=r,Xe(r);return}r=t.ownerDocument||t,l=om(l),(i=$t.get(i))&&Bc(l,i),r=r.createElement("link"),Xe(r);var u=r;u._p=new Promise(function(m,g){u.onload=m,u.onerror=g}),Fe(r,"link",l),n.instance=r}e.stylesheets===null&&(e.stylesheets=new Map),e.stylesheets.set(n,t),(t=n.state.preload)&&(n.state.loading&3)===0&&(e.count++,n=ti.bind(e),t.addEventListener("load",n),t.addEventListener("error",n))}}var Gc=0;function i0(e,t){return e.stylesheets&&e.count===0&&ni(e,e.stylesheets),0Gc?50:800)+t);return e.unsuspend=n,function(){e.unsuspend=null,clearTimeout(l),clearTimeout(i)}}:null}function ti(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)ni(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}var ai=null;function ni(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,ai=new Map,t.forEach(r0,e),ai=null,ti.call(e))}function r0(e,t){if(!(t.state.loading&4)){var n=ai.get(e);if(n)var l=n.get(null);else{n=new Map,ai.set(e,n);for(var i=e.querySelectorAll("link[data-precedence],style[data-precedence]"),r=0;r"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(a)}catch(o){console.error(o)}}return a(),Ic.exports=_0(),Ic.exports}var k0=z0();const T0=x0(k0),Ci={luxe:{white:"#FFFFFF",cream:"#FAF9F6",lightGray:"#F5F5F5",gray:"#E0E0E0",mediumGray:"#9E9E9E",darkGray:"#616161",charcoal:"#2C2C2C",gold:"#D4AF37",rose:"#C9ADA7"},cyberpunk:{black:"#000000",darkBg:"#1a1a1a",electricMagenta:"#ff00ff",magentaDark:"#cc00cc",magentaLight:"#ff66ff",neonCyan:"#00ffff",cyanDark:"#00cccc",cyanLight:"#66ffff",neonGreen:"#00ff00",electricOrange:"#ffaa00",neonRed:"#ff4444",white:"#ffffff"},gray:{400:"#9ca3af",500:"#6b7280",600:"#4b5563",700:"#374151",800:"#1f2937"},semantic:{success:"#22c55e",warning:"#f59e0b",error:"#ef4444",info:"#3b82f6"}},de={fonts:{heading:{luxe:'"Playfair Display", "Georgia", "Times New Roman", serif',cyberpunk:'"Courier New", "Consolas", monospace'},body:{luxe:'"Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", sans-serif',cyberpunk:'"Arial", sans-serif'},mono:'"Fira Code", "Courier New", monospace'},fontSizes:{xs:"0.75rem",sm:"0.875rem",base:"1rem",md:"1.125rem",lg:"1.25rem",xl:"1.5rem","2xl":"2rem"},fontSizesFluid:{xs:"clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem)",sm:"clamp(0.875rem, 0.8rem + 0.375vw, 1rem)",base:"clamp(1rem, 0.95rem + 0.25vw, 1.125rem)",md:"clamp(1.125rem, 1rem + 0.625vw, 1.5rem)",lg:"clamp(1.5rem, 1.25rem + 1.25vw, 2.25rem)",xl:"clamp(2rem, 1.5rem + 2.5vw, 3.5rem)","2xl":"clamp(2.5rem, 2rem + 2.5vw, 4.5rem)"},fontWeights:{light:300,regular:400,medium:500,semibold:600,bold:700},lineHeights:{tight:1.2,base:1.5,relaxed:1.75,loose:2}},tt={1:"0.25rem",2:"0.5rem",4:"1rem",6:"1.5rem",8:"2rem",12:"3rem",16:"4rem",20:"5rem",24:"6rem"},Rt={none:"0",xs:"0.125rem",sm:"0.25rem",md:"0.375rem",lg:"0.5rem",xl:"0.75rem",full:"9999px"},dt={light:{none:"none",sm:"0 1px 2px 0 rgba(0, 0, 0, 0.05)",md:"0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06)",lg:"0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05)",xl:"0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04)"},dark:{none:"none",sm:"0 1px 2px 0 rgba(0, 0, 0, 0.5)",md:"0 4px 6px -1px rgba(0, 0, 0, 0.5)",lg:"0 10px 15px -3px rgba(0, 0, 0, 0.5)",xl:"0 20px 25px -5px rgba(0, 0, 0, 0.5)"},neon:{magenta:"0 0 10px #ff00ff",cyan:"0 0 10px #00ffff",green:"0 0 10px #00ff00",large:"0 0 15px"}},In={luxe:{fast:"150ms cubic-bezier(0.4, 0, 0.2, 1)",base:"300ms cubic-bezier(0.4, 0, 0.2, 1)",slow:"500ms cubic-bezier(0.4, 0, 0.2, 1)"},cyberpunk:{fast:"all 0.2s ease",base:"all 0.3s ease",slow:"all 0.5s ease"}},Je={base:0,dropdown:1e3,sticky:1100,fixed:1200,modal:1400,popover:1500,toast:1600,tooltip:1700},Ut={xs:"0px",sm:"640px",md:"768px",lg:"1024px",xl:"1280px","2xl":"1536px"},Da={colors:{primary:{},gray:{},success:{},error:{},warning:{},info:{},white:"#ffffff",black:"#000000"}};Da.colors.primary,Da.colors.gray,Da.colors.success,Da.colors.error,Da.colors.warning,Da.colors.info,Da.colors.white,Da.colors.black;const{cyberpunk:Ve}=Ci,{gray:an}=Ci,j0={colors:{primary:Ve.electricMagenta,secondary:Ve.neonCyan,accent:Ve.neonGreen,accentColors:{magenta:Ve.electricMagenta,cyan:Ve.neonCyan,gold:"#FFD700",green:Ve.neonGreen},background:{primary:Ve.black,secondary:Ve.darkBg,tertiary:an[800]},surface:Ve.darkBg,text:{primary:Ve.white,secondary:an[400],muted:an[500],tertiary:an[600]},border:an[700],success:Ve.neonGreen,warning:Ve.electricOrange,error:Ve.neonRed,info:Ve.neonCyan,hover:{primary:Ve.magentaLight,secondary:Ve.cyanLight,surface:Ve.darkBg},active:{primary:Ve.magentaDark,secondary:Ve.cyanDark},disabled:{background:an[800],text:an[500]}},spacing:{xxxs:"1px",xxs:"2px",xs:tt[1],sm:tt[2],md:tt[4],lg:tt[6],xl:tt[8],xxl:tt[12],xxxl:tt[16],xxxxl:tt[20],xxxxxl:tt[24]},typography:{fontFamily:{heading:de.fonts.heading.cyberpunk,body:de.fonts.body.cyberpunk,mono:de.fonts.mono},fontSize:{xxs:"10px",xs:de.fontSizes.xs,sm:de.fontSizes.sm,md:de.fontSizes.sm,base:de.fontSizes.base,lg:de.fontSizes.md,xl:de.fontSizes.lg,"2xl":de.fontSizes.xl,"3xl":de.fontSizes["2xl"],"4xl":"36px","5xl":"48px"},fontWeight:{light:de.fontWeights.light,normal:de.fontWeights.regular,medium:de.fontWeights.medium,semibold:de.fontWeights.semibold,bold:de.fontWeights.bold},lineHeight:{tight:de.lineHeights.tight,normal:de.lineHeights.base,relaxed:de.lineHeights.relaxed,loose:de.lineHeights.loose}},letterSpacing:{tight:"-0.025em",normal:"0",wide:"0.025em"},borderWidth:{thin:"1px",medium:"2px",thick:"3px"},shadows:{none:dt.dark.none,sm:dt.dark.sm,md:dt.dark.md,lg:dt.dark.lg,xl:dt.dark.xl},borderRadius:{none:Rt.none,xs:Rt.xs,sm:Rt.sm,md:Rt.md,lg:Rt.lg,xl:Rt.xl,full:Rt.full},transitions:{fast:In.cyberpunk.fast,normal:In.cyberpunk.base,slow:In.cyberpunk.slow},zIndex:{base:Je.base,dropdown:Je.dropdown,sticky:Je.sticky,fixed:Je.fixed,modal:Je.modal,popover:Je.popover,tooltip:Je.tooltip,toast:Je.toast},breakpoints:{xs:Ut.xs,sm:Ut.sm,md:Ut.md,lg:Ut.lg,xl:Ut.xl,"2xl":Ut["2xl"]},extensions:{cyberpunk:{neonGlow:{magenta:dt.neon.magenta,cyan:dt.neon.cyan,green:dt.neon.green,large:dt.neon.large},scanlines:"repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.15) 1px, transparent 1px, transparent 2px)",glitchEffect:"drop-shadow(2px 0 0 #ff00ff) drop-shadow(-2px 0 0 #00ffff)"}}},{luxe:Re}=Ci,{semantic:di}=Ci,M0={colors:{primary:Re.charcoal,secondary:Re.gold,accent:Re.rose,accentColors:{magenta:Re.rose,cyan:"#87CEEB",gold:Re.gold,green:"#8FBC8F"},background:{primary:Re.white,secondary:Re.lightGray,tertiary:Re.cream},surface:Re.lightGray,text:{primary:Re.charcoal,secondary:Re.darkGray,muted:Re.mediumGray,tertiary:Re.darkGray},border:Re.gray,success:di.success,warning:di.warning,error:di.error,info:di.info,hover:{primary:"rgba(44, 44, 44, 0.12)",secondary:"rgba(212, 175, 55, 0.12)",surface:"rgba(44, 44, 44, 0.04)"},active:{primary:"rgba(44, 44, 44, 0.08)",secondary:"rgba(212, 175, 55, 0.20)"},disabled:{background:Re.gray,text:Re.mediumGray}},spacing:{xs:tt[1],sm:tt[2],md:tt[4],lg:tt[6],xl:tt[8],xxl:tt[12]},typography:{fontFamily:{heading:de.fonts.heading.luxe,body:de.fonts.body.luxe,mono:de.fonts.mono},fontSize:{xs:de.fontSizesFluid.xs,sm:de.fontSizesFluid.sm,md:de.fontSizesFluid.sm,base:de.fontSizesFluid.base,lg:de.fontSizesFluid.md,xl:de.fontSizesFluid.lg,"2xl":de.fontSizesFluid.xl,"3xl":de.fontSizesFluid["2xl"],"4xl":"36px","5xl":"48px"},fontWeight:{light:de.fontWeights.light,normal:de.fontWeights.regular,medium:de.fontWeights.medium,semibold:de.fontWeights.semibold,bold:de.fontWeights.bold},lineHeight:{tight:de.lineHeights.tight,normal:de.lineHeights.base,relaxed:de.lineHeights.relaxed,loose:de.lineHeights.loose}},shadows:{none:dt.light.none,sm:dt.light.sm,md:dt.light.md,lg:dt.light.lg,xl:dt.light.xl},borderRadius:{none:Rt.none,sm:Rt.xs,md:Rt.md,lg:Rt.lg,full:Rt.full},transitions:{fast:In.luxe.fast,normal:In.luxe.base,slow:In.luxe.slow},zIndex:{base:Je.base,dropdown:Je.dropdown,sticky:Je.sticky,fixed:Je.fixed,modal:Je.modal,popover:Je.popover,tooltip:Je.tooltip,toast:Je.toast},breakpoints:{xs:Ut.xs,sm:Ut.sm,md:Ut.md,lg:Ut.lg,xl:Ut.xl,"2xl":Ut["2xl"]},extensions:{luxe:{goldShimmer:`linear-gradient(135deg, ${Re.gold} 0%, ${Re.gold} 50%, ${Re.gold} 100%)`,elegantShadow:"0 10px 40px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04)",subtleGradient:`linear-gradient(to bottom, ${Re.white}, ${Re.cream})`}}},N0=v.createContext(void 0),A0=({children:a,defaultTheme:o="cyberpunk",storageKey:c="app-theme"})=>{const[s,d]=v.useState(()=>{if(typeof window<"u"){const S=localStorage.getItem(c);if(S==="cyberpunk"||S==="luxe")return S}return o}),p=s==="cyberpunk"?j0:M0;v.useEffect(()=>{typeof window<"u"&&localStorage.setItem(c,s)},[s,c]);const y={theme:p,themeName:s,setTheme:d};return f.jsx(N0.Provider,{value:y,children:f.jsx(g0,{theme:p,children:a})})},E0=h.div.withConfig({displayName:"Modal__Overlay",componentId:"sc-3cf2r0-0"})(["position:fixed;top:0;left:0;right:0;bottom:0;background:rgba(0,0,0,0.8);display:flex;align-items:center;justify-content:center;z-index:",";padding:",";"],a=>{var o;return((o=a.theme.zIndex)==null?void 0:o.modal)||1e3},a=>a.theme.spacing.lg),O0=h.div.withConfig({displayName:"Modal__ModalContent",componentId:"sc-3cf2r0-1"})(["background:",";border:2px solid ",";border-radius:",";max-width:",";width:100%;max-height:",";display:flex;flex-direction:column;box-shadow:",";",""],a=>a.theme.colors.surface||a.theme.colors.background,a=>a.theme.colors.primary,a=>a.theme.borderRadius.md,a=>a.$maxWidth||"600px",a=>a.$maxHeight||"90vh",a=>a.theme.shadows.xl,a=>{var o;return((o=a.theme.extensions)==null?void 0:o.cyberpunk)&&C(["box-shadow:0 0 30px ","40,",";"],a.theme.colors.primary,a.theme.shadows.xl)}),D0=h.div.withConfig({displayName:"Modal__ModalHeader",componentId:"sc-3cf2r0-2"})(["display:flex;justify-content:space-between;align-items:center;padding:",";border-bottom:1px solid ",";flex-shrink:0;"],a=>a.theme.spacing.xl,a=>a.theme.colors.border),$0=h.h2.withConfig({displayName:"Modal__ModalTitle",componentId:"sc-3cf2r0-3"})(["color:",";margin:0;font-size:",";font-weight:",";",""],a=>a.theme.colors.primary,a=>a.theme.typography.fontSize["2xl"],a=>a.theme.typography.fontWeight.bold,a=>{var o;return((o=a.theme.extensions)==null?void 0:o.cyberpunk)&&C(["text-shadow:0 0 10px ",";"],a.theme.colors.primary)}),R0=h.button.withConfig({displayName:"Modal__CloseButton",componentId:"sc-3cf2r0-4"})(["background:none;border:none;color:",";font-size:",";cursor:pointer;padding:0;width:30px;height:30px;display:flex;align-items:center;justify-content:center;transition:color ",";&:hover{color:",";}"],a=>a.theme.colors.accent||a.theme.colors.secondary,a=>a.theme.typography.fontSize["2xl"],a=>a.theme.transitions.normal,a=>a.theme.colors.primary),U0=h.div.withConfig({displayName:"Modal__ModalBody",componentId:"sc-3cf2r0-5"})(["padding:",";overflow-y:auto;flex:1;"],a=>a.theme.spacing.xl),B0=({isOpen:a,onClose:o,title:c,children:s,maxWidth:d,maxHeight:p})=>a?f.jsx(E0,{onClick:o,children:f.jsxs(O0,{$maxWidth:d,$maxHeight:p,onClick:y=>y.stopPropagation(),children:[f.jsxs(D0,{children:[f.jsx($0,{children:c}),f.jsx(R0,{onClick:o,children:"✕"})]}),f.jsx(U0,{children:s})]})}):null;h.div.withConfig({displayName:"Modal__ActionsContainer",componentId:"sc-3cf2r0-6"})(["display:flex;gap:",";margin-top:",";justify-content:flex-end;"],a=>a.theme.spacing.md,a=>a.theme.spacing.xl);h.div.withConfig({displayName:"PromptDialog__Overlay",componentId:"sc-1jw0ejt-0"})(["position:fixed;top:0;left:0;right:0;bottom:0;background-color:rgba(0,0,0,0.8);backdrop-filter:blur(4px);display:flex;align-items:center;justify-content:center;z-index:",";padding:",";font-family:",";"],a=>{var o;return((o=a.theme.zIndex)==null?void 0:o.modal)||9999},a=>a.theme.spacing.md,a=>a.theme.typography.fontFamily.mono||"monospace");h.div.withConfig({displayName:"PromptDialog__DialogContent",componentId:"sc-1jw0ejt-1"})(["background-color:",";border:2px solid ",";border-radius:",";padding:",";max-width:400px;width:100%;box-shadow:0 0 20px ",";animation:fadeInScale 0.3s ease-out;@keyframes fadeInScale{from{opacity:0;transform:scale(0.9) translateY(-10px);}to{opacity:1;transform:scale(1) translateY(0);}}"],a=>a.theme.colors.surface||a.theme.colors.background,a=>a.$borderColor,a=>a.theme.borderRadius.md,a=>a.theme.spacing.lg,a=>a.$borderColor);h.h2.withConfig({displayName:"PromptDialog__DialogTitle",componentId:"sc-1jw0ejt-2"})(["color:",";font-size:",";font-weight:",";margin:0 0 "," 0;font-family:",";",""],a=>a.$titleColor,a=>a.theme.typography.fontSize.xl,a=>a.theme.typography.fontWeight.bold,a=>a.theme.spacing.md,a=>a.theme.typography.fontFamily.mono||"monospace",a=>{var o;return((o=a.theme.extensions)==null?void 0:o.cyberpunk)&&C(["text-shadow:0 0 10px ",";"],a.$titleColor)});h.p.withConfig({displayName:"PromptDialog__DialogMessage",componentId:"sc-1jw0ejt-3"})(["color:",";font-size:",";margin:0 0 "," 0;line-height:1.5;font-family:",";"],a=>a.theme.colors.text.primary,a=>a.theme.typography.fontSize.base,a=>a.theme.spacing.lg,a=>a.theme.typography.fontFamily.mono||"monospace");h.div.withConfig({displayName:"PromptDialog__DialogActions",componentId:"sc-1jw0ejt-4"})(["display:flex;gap:",";justify-content:flex-end;"],a=>a.theme.spacing.md);h.button.withConfig({displayName:"PromptDialog__Button",componentId:"sc-1jw0ejt-5"})(["padding:"," ",";font-size:",";font-family:",";font-weight:",";border:2px solid ",";background:",";color:",";border-radius:",";cursor:pointer;transition:all ",";&:hover{opacity:0.9;transform:translateY(-2px);}",""],a=>a.theme.spacing.sm,a=>a.theme.spacing.lg,a=>a.theme.typography.fontSize.base,a=>a.theme.typography.fontFamily.mono||"monospace",a=>a.theme.typography.fontWeight.semibold,a=>{switch(a.$variant){case"danger":return a.theme.colors.error;case"warning":return a.theme.colors.warning;case"success":return a.theme.colors.success;case"secondary":return a.theme.colors.border;default:return a.theme.colors.primary}},a=>{switch(a.$variant){case"secondary":return"transparent";case"danger":return a.theme.colors.error;case"warning":return a.theme.colors.warning;case"success":return a.theme.colors.success;default:return a.theme.colors.primary}},a=>{switch(a.$variant){case"secondary":return a.theme.colors.text.primary;default:return"#000"}},a=>a.theme.borderRadius.sm,a=>a.theme.transitions.normal,a=>{var o;return((o=a.theme.extensions)==null?void 0:o.cyberpunk)&&C(["&:hover{box-shadow:0 0 10px ",";}"],(()=>{switch(a.$variant){case"danger":return a.theme.colors.error;case"warning":return a.theme.colors.warning;case"success":return a.theme.colors.success;case"secondary":return a.theme.colors.border;default:return a.theme.colors.primary}})())});v.createContext(void 0);const H0=Kn(["0%{background-position:-200% 0;}100%{background-position:200% 0;}"]),G0=h.div.withConfig({displayName:"ProgressBar__ProgressBarContainer",componentId:"sc-lw0im6-0"})(["width:100%;height:","px;background:",";border-radius:",";overflow:hidden;position:relative;border:1px solid ",";"],a=>a.$height,a=>a.theme.colors.background||"#1a1a1a",a=>a.theme.borderRadius.sm,a=>a.theme.colors.border),q0=h.div.withConfig({displayName:"ProgressBar__ProgressBarFill",componentId:"sc-lw0im6-1"})(["height:100%;width:","%;transition:width 0.3s ease-out;position:relative;background:",";"," ",""],a=>a.$progress,a=>{switch(a.$variant){case"success":return a.theme.colors.success;case"error":return a.theme.colors.error;case"warning":return a.theme.colors.warning;case"info":return a.theme.colors.primary;case"loading":return a.theme.colors.accent||a.theme.colors.secondary;default:return a.theme.colors.primary}},a=>a.$animated&&C(["background:linear-gradient( 90deg,",",",","," );background-size:200% 100%;animation:"," 2s linear infinite;"],(()=>{switch(a.$variant){case"success":return a.theme.colors.success;case"error":return a.theme.colors.error;case"warning":return a.theme.colors.warning;case"info":return a.theme.colors.primary;case"loading":return a.theme.colors.accent||a.theme.colors.secondary;default:return a.theme.colors.primary}})(),(()=>{switch(a.$variant){case"success":return`${a.theme.colors.success}88`;case"error":return`${a.theme.colors.error}88`;case"warning":return`${a.theme.colors.warning}88`;case"info":return`${a.theme.colors.primary}88`;case"loading":return`${a.theme.colors.accent||a.theme.colors.secondary}88`;default:return`${a.theme.colors.primary}88`}})(),(()=>{switch(a.$variant){case"success":return a.theme.colors.success;case"error":return a.theme.colors.error;case"warning":return a.theme.colors.warning;case"info":return a.theme.colors.primary;case"loading":return a.theme.colors.accent||a.theme.colors.secondary;default:return a.theme.colors.primary}})(),H0),a=>{var o;return((o=a.theme.extensions)==null?void 0:o.cyberpunk)&&C(["box-shadow:",";"],(()=>{var c,s,d,p,y,S,M,w,A,b,k,D;switch(a.$variant){case"success":return((d=(s=(c=a.theme.extensions)==null?void 0:c.cyberpunk)==null?void 0:s.neonGlow)==null?void 0:d.green)||`0 0 10px ${a.theme.colors.success}`;case"error":return`0 0 10px ${a.theme.colors.error}`;case"warning":return`0 0 10px ${a.theme.colors.warning}`;case"info":return((S=(y=(p=a.theme.extensions)==null?void 0:p.cyberpunk)==null?void 0:y.neonGlow)==null?void 0:S.cyan)||`0 0 10px ${a.theme.colors.primary}`;case"loading":return((A=(w=(M=a.theme.extensions)==null?void 0:M.cyberpunk)==null?void 0:w.neonGlow)==null?void 0:A.magenta)||`0 0 10px ${a.theme.colors.accent||a.theme.colors.secondary}`;default:return((D=(k=(b=a.theme.extensions)==null?void 0:b.cyberpunk)==null?void 0:k.neonGlow)==null?void 0:D.cyan)||`0 0 10px ${a.theme.colors.primary}`}})())}),L0=h.div.withConfig({displayName:"ProgressBar__PercentageText",componentId:"sc-lw0im6-2"})(["position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);color:",";font-size:",";font-weight:600;text-shadow:0 0 4px rgba(0,0,0,0.8);z-index:1;"],a=>a.theme.colors.text.primary,a=>a.theme.typography.fontSize.xs);function Y0({progress:a,variant:o="info",animated:c=!1,height:s=6,showPercentage:d=!1}){const p=Math.min(100,Math.max(0,a));return f.jsxs(G0,{$height:s,children:[d&&f.jsxs(L0,{children:[Math.round(p),"%"]}),f.jsx(q0,{$progress:p,$variant:o,$animated:c})]})}const uh=v.createContext(void 0),V0=h.div.withConfig({displayName:"Toast__ToastContainer",componentId:"sc-1y70ole-0"})(["position:fixed;top:",";right:",";z-index:",";display:flex;flex-direction:column;gap:",";pointer-events:none;@media (max-width:","){left:",";right:",";}"],a=>a.theme.spacing.lg,a=>a.theme.spacing.lg,a=>{var o;return((o=a.theme.zIndex)==null?void 0:o.toast)||1e4},a=>a.theme.spacing.sm,a=>{var o;return((o=a.theme.breakpoints)==null?void 0:o.sm)||"640px"},a=>a.theme.spacing.sm,a=>a.theme.spacing.sm),X0=h.div.withConfig({displayName:"Toast__ToastItem",componentId:"sc-1y70ole-1"})(["background:",";border:1px solid ",";border-left:4px solid ",";border-radius:",";box-shadow:",";padding:",";min-width:300px;max-width:600px;pointer-events:auto;cursor:pointer;animation:slideInRight 0.3s ease-out;display:flex;flex-direction:column;gap:",";@keyframes slideInRight{from{opacity:0;transform:translateX(100%);}to{opacity:1;transform:translateX(0);}}",""],a=>a.theme.colors.surface||a.theme.colors.background,a=>{switch(a.$type){case"success":return a.theme.colors.success;case"error":return a.theme.colors.error;case"warning":return a.theme.colors.warning;case"info":return a.theme.colors.primary;case"loading":return a.theme.colors.border;default:return a.theme.colors.border}},a=>{switch(a.$type){case"success":return a.theme.colors.success;case"error":return a.theme.colors.error;case"warning":return a.theme.colors.warning;case"info":return a.theme.colors.primary;case"loading":return a.theme.colors.accent||a.theme.colors.secondary;default:return a.theme.colors.primary}},a=>a.theme.borderRadius.md,a=>a.theme.shadows.lg,a=>a.theme.spacing.md,a=>a.theme.spacing.sm,a=>{var o;return((o=a.theme.extensions)==null?void 0:o.cyberpunk)&&C(["box-shadow:",",",";"],(()=>{var c,s,d,p,y,S,M,w,A,b,k,D;switch(a.$type){case"success":return((d=(s=(c=a.theme.extensions)==null?void 0:c.cyberpunk)==null?void 0:s.neonGlow)==null?void 0:d.green)||`0 0 10px ${a.theme.colors.success}`;case"error":return`0 0 10px ${a.theme.colors.error}`;case"warning":return`0 0 10px ${a.theme.colors.warning}`;case"info":return((S=(y=(p=a.theme.extensions)==null?void 0:p.cyberpunk)==null?void 0:y.neonGlow)==null?void 0:S.cyan)||`0 0 10px ${a.theme.colors.primary}`;case"loading":return((A=(w=(M=a.theme.extensions)==null?void 0:M.cyberpunk)==null?void 0:w.neonGlow)==null?void 0:A.magenta)||`0 0 10px ${a.theme.colors.accent||a.theme.colors.secondary}`;default:return((D=(k=(b=a.theme.extensions)==null?void 0:b.cyberpunk)==null?void 0:k.neonGlow)==null?void 0:D.cyan)||`0 0 10px ${a.theme.colors.primary}`}})(),a.theme.shadows.lg)}),Q0=h.div.withConfig({displayName:"Toast__ToastContentRow",componentId:"sc-1y70ole-2"})(["display:flex;align-items:center;gap:",";width:100%;"],a=>a.theme.spacing.sm),Z0=h.span.withConfig({displayName:"Toast__ToastIcon",componentId:"sc-1y70ole-3"})(["font-size:",";flex-shrink:0;"],a=>a.theme.typography.fontSize.lg),I0=h.p.withConfig({displayName:"Toast__ToastMessage",componentId:"sc-1y70ole-4"})(["margin:0;color:",";font-size:",";flex:1;"],a=>a.theme.colors.text.primary,a=>a.theme.typography.fontSize.sm),K0=h.button.withConfig({displayName:"Toast__CloseButton",componentId:"sc-1y70ole-5"})(["background:transparent;border:none;color:",";cursor:pointer;padding:0;margin:0;font-size:",";line-height:1;flex-shrink:0;transition:color 0.2s ease;&:hover{color:",";}"],a=>a.theme.colors.text.secondary,a=>a.theme.typography.fontSize.lg,a=>a.theme.colors.text.primary),W0=({children:a})=>{const[o,c]=v.useState([]),s=v.useCallback(A=>{c(b=>b.filter(k=>k.id!==A))},[]),d=v.useCallback((A,b,k={})=>{const D=`toast-${Date.now()}-${Math.random().toString(36).substr(2,9)}`,{duration:$=3e3,progress:Y,persistent:Q=!1,dismissible:E=!1,metadata:q,onClick:V}=k,I={id:D,message:A,type:b,duration:$,progress:Y,persistent:Q,dismissible:E,metadata:q,onClick:V};return c(J=>[...J,I]),!Q&&b!=="loading"&&$>0&&setTimeout(()=>{s(D)},$),D},[s]),p=v.useCallback((A,b)=>{c(k=>k.map(D=>{if(D.id===A){const $={...D,...b};return!$.persistent&&$.type!=="loading"&&D.type==="loading"&&$.duration&&$.duration>0&&setTimeout(()=>{s(A)},$.duration),$}return D}))},[s]),y=A=>{switch(A){case"success":return"✅";case"error":return"❌";case"warning":return"⚠️";case"info":return"ℹ️";case"loading":return"⏳";default:return"ℹ️"}},S=A=>A,M=A=>{A.onClick?A.onClick():!A.dismissible&&!A.persistent&&s(A.id)},w=(A,b)=>{A.stopPropagation(),s(b)};return f.jsxs(uh.Provider,{value:{toasts:o,showToast:d,removeToast:s,updateToast:p},children:[a,f.jsx(V0,{children:o.map(A=>f.jsxs(X0,{$type:A.type,onClick:()=>M(A),children:[f.jsxs(Q0,{children:[f.jsx(Z0,{children:y(A.type)}),f.jsx(I0,{children:A.message}),A.dismissible&&f.jsx(K0,{onClick:b=>w(b,A.id),"aria-label":"Close notification",children:"✕"})]}),A.progress!==void 0&&f.jsx(Y0,{progress:A.progress,variant:S(A.type),animated:A.type==="loading"&&A.progress<100,height:6})]},A.id))})]})};function fs(){const a=v.useContext(uh);if(!a)throw new Error("useToast must be used within a ToastProvider");return a}h.div.withConfig({displayName:"Dropdown__DropdownContainer",componentId:"sc-1nlosav-0"})(["position:relative;display:inline-block;"]);h.div.withConfig({displayName:"Dropdown__DropdownMenu",componentId:"sc-1nlosav-1"})(["position:absolute;top:calc(100% + ",");left:0;z-index:",";background:",";border:1px solid ",";border-radius:",";box-shadow:",";min-width:200px;opacity:",";pointer-events:",";transform:",";transition:all ",";",""],a=>a.theme.spacing.xs,a=>{var o;return((o=a.theme.zIndex)==null?void 0:o.dropdown)||1e3},a=>a.theme.colors.surface,a=>a.theme.colors.border,a=>a.theme.borderRadius.md,a=>a.theme.shadows.lg,a=>a.$isOpen?1:0,a=>a.$isOpen?"auto":"none",a=>a.$isOpen?"translateY(0)":"translateY(-8px)",a=>a.theme.transitions.fast,a=>{var c;const o=a.theme;return((c=o.extensions)==null?void 0:c.cyberpunk)&&C(["border-color:",";box-shadow:",";"],o.colors.primary,o.extensions.cyberpunk.neonGlow.cyan)});h.button.withConfig({displayName:"Dropdown__DropdownItem",componentId:"sc-1nlosav-2"})(["width:100%;padding:"," ",";text-align:left;border:none;background:transparent;color:",";cursor:pointer;transition:background ",";font-family:",";font-size:",";&:first-child{border-top-left-radius:",";border-top-right-radius:",";}&:last-child{border-bottom-left-radius:",";border-bottom-right-radius:",";}&:hover{background:",";}&:focus{outline:2px solid ",";outline-offset:-2px;}&:active{background:",";}"],a=>a.theme.spacing.sm,a=>a.theme.spacing.md,a=>a.theme.colors.text.primary,a=>a.theme.transitions.fast,a=>a.theme.typography.fontFamily.body,a=>a.theme.typography.fontSize.base,a=>a.theme.borderRadius.md,a=>a.theme.borderRadius.md,a=>a.theme.borderRadius.md,a=>a.theme.borderRadius.md,a=>{var c;const o=a.theme;return((c=o.colors.hover)==null?void 0:c.surface)||o.colors.secondary},a=>a.theme.colors.primary,a=>a.theme.colors.hover.surface);sh();h.div.withConfig({displayName:"Tooltip__TooltipWrapper",componentId:"sc-1ntmct8-0"})(["display:inline-block;"]);h.div.withConfig({displayName:"Tooltip__TooltipContent",componentId:"sc-1ntmct8-1"})(["position:fixed;z-index:",";background:",";color:",";padding:"," ",";border-radius:",";box-shadow:",";font-size:",";font-family:",";white-space:nowrap;opacity:",";pointer-events:none;transition:opacity ",";border:1px solid ",";"," ",""],a=>{var o;return((o=a.theme.zIndex)==null?void 0:o.tooltip)||9999},a=>a.theme.colors.surface,a=>a.theme.colors.text.primary,a=>a.theme.spacing.xs,a=>a.theme.spacing.sm,a=>a.theme.borderRadius.sm,a=>a.theme.shadows.md,a=>a.theme.typography.fontSize.sm,a=>a.theme.typography.fontFamily.body,a=>a.$isVisible?1:0,a=>a.theme.transitions.fast,a=>a.theme.colors.border,a=>{switch(a.$position){case"top":return C(["left:","px;bottom:calc(100vh - ","px + 8px);transform:translateX(-50%);"],a.$x,a.$y);case"bottom":return C(["left:","px;top:","px;transform:translateX(-50%);"],a.$x,a.$y+8);case"left":return C(["right:calc(100vw - ","px + 8px);top:","px;transform:translateY(-50%);"],a.$x,a.$y);case"right":return C(["left:","px;top:","px;transform:translateY(-50%);"],a.$x+8,a.$y)}},a=>{var c;const o=a.theme;return((c=o.extensions)==null?void 0:c.cyberpunk)&&C(["border-color:",";box-shadow:",";backdrop-filter:blur(4px);"],o.colors.primary,o.extensions.cyberpunk.neonGlow.cyan)});h.div.withConfig({displayName:"Tooltip__TooltipArrow",componentId:"sc-1ntmct8-2"})(["position:absolute;width:0;height:0;border-style:solid;",""],a=>{var s;const o=a.theme,c=(s=o.extensions)!=null&&s.cyberpunk?o.colors.primary:o.colors.border;switch(a.$position){case"top":return C(["bottom:-6px;left:50%;transform:translateX(-50%);border-width:6px 6px 0 6px;border-color:"," transparent transparent transparent;"],c);case"bottom":return C(["top:-6px;left:50%;transform:translateX(-50%);border-width:0 6px 6px 6px;border-color:transparent transparent "," transparent;"],c);case"left":return C(["right:-6px;top:50%;transform:translateY(-50%);border-width:6px 0 6px 6px;border-color:transparent transparent transparent ",";"],c);case"right":return C(["left:-6px;top:50%;transform:translateY(-50%);border-width:6px 6px 6px 0;border-color:transparent "," transparent transparent;"],c)}});h.span.withConfig({displayName:"CitationTooltip__TriggerWrapper",componentId:"sc-1idkeev-0"})(["cursor:help;border-bottom:1px dotted ",";&:hover{border-bottom-color:",";}"],a=>a.theme.colors.text.secondary,a=>a.theme.colors.primary);h.div.withConfig({displayName:"CitationTooltip__TooltipContainer",componentId:"sc-1idkeev-1"})(["position:fixed;z-index:",";max-width:320px;opacity:",";pointer-events:",";transition:opacity ",";",""],a=>{var o;return((o=a.theme.zIndex)==null?void 0:o.tooltip)||9999},a=>a.$isVisible?1:0,a=>a.$isVisible?"auto":"none",a=>a.theme.transitions.fast,a=>{switch(a.$position){case"top":return C(["left:","px;bottom:calc(100vh - ","px + 12px);transform:translateX(-50%);"],a.$x,a.$y);case"bottom":return C(["left:","px;top:","px;transform:translateX(-50%);"],a.$x,a.$y+12)}});h.div.withConfig({displayName:"CitationTooltip__TooltipCard",componentId:"sc-1idkeev-2"})(["background:",";border:1px solid ",";border-radius:",";box-shadow:",";overflow:hidden;font-family:",";",""],a=>a.theme.colors.surface,a=>a.theme.colors.border,a=>a.theme.borderRadius.md,a=>a.theme.shadows.lg,a=>a.theme.typography.fontFamily.body,a=>{var c;const o=a.theme;return((c=o.extensions)==null?void 0:c.cyberpunk)&&C(["border-color:",";box-shadow:",";backdrop-filter:blur(8px);&::before{content:'';position:absolute;top:0;left:0;right:0;height:2px;background:linear-gradient( 90deg,transparent,",",transparent );}"],o.colors.secondary,o.extensions.cyberpunk.neonGlow.magenta,o.colors.secondary)});h.div.withConfig({displayName:"CitationTooltip__CitationHeader",componentId:"sc-1idkeev-3"})(["padding:",";background:",";border-bottom:1px solid ",";display:flex;align-items:center;gap:",";"],a=>a.theme.spacing.sm,a=>{var c;const o=a.theme;return(c=o.extensions)!=null&&c.cyberpunk?`${o.colors.background.primary}ee`:o.colors.background.secondary||o.colors.background.primary},a=>a.theme.colors.border,a=>a.theme.spacing.xs);h.span.withConfig({displayName:"CitationTooltip__CitationIcon",componentId:"sc-1idkeev-4"})(["font-size:",";opacity:0.7;"],a=>a.theme.typography.fontSize.sm);h.span.withConfig({displayName:"CitationTooltip__CitationLabel",componentId:"sc-1idkeev-5"})(["font-size:",";font-weight:",";color:",";text-transform:uppercase;letter-spacing:0.05em;"],a=>a.theme.typography.fontSize.xs,a=>a.theme.typography.fontWeight.medium,a=>a.theme.colors.text.secondary);h.div.withConfig({displayName:"CitationTooltip__CitationBody",componentId:"sc-1idkeev-6"})(["padding:",";"],a=>a.theme.spacing.sm);h.p.withConfig({displayName:"CitationTooltip__ClaimText",componentId:"sc-1idkeev-7"})(["margin:0 0 "," 0;font-size:",";color:",";line-height:1.5;"],a=>a.theme.spacing.sm,a=>a.theme.typography.fontSize.sm,a=>a.theme.colors.text.primary);h.div.withConfig({displayName:"CitationTooltip__SourceRow",componentId:"sc-1idkeev-8"})(["display:flex;align-items:center;justify-content:space-between;gap:",";"],a=>a.theme.spacing.sm);h.span.withConfig({displayName:"CitationTooltip__SourceName",componentId:"sc-1idkeev-9"})(["font-size:",";color:",";font-style:italic;"],a=>a.theme.typography.fontSize.xs,a=>a.theme.colors.text.secondary);h.a.withConfig({displayName:"CitationTooltip__SourceLink",componentId:"sc-1idkeev-10"})(["display:inline-flex;align-items:center;gap:",";font-size:",";color:",";text-decoration:none;font-weight:",";&:hover{text-decoration:underline;}&::after{content:'↗';font-size:0.8em;}"],a=>a.theme.spacing.xs,a=>a.theme.typography.fontSize.xs,a=>a.theme.colors.primary,a=>a.theme.typography.fontWeight.medium);h.div.withConfig({displayName:"CitationTooltip__TooltipArrow",componentId:"sc-1idkeev-11"})(["position:absolute;width:0;height:0;border-style:solid;left:50%;transform:translateX(-50%);",""],a=>{var s;const o=a.theme,c=(s=o.extensions)!=null&&s.cyberpunk?o.colors.secondary:o.colors.border;switch(a.$position){case"top":return C(["bottom:-8px;border-width:8px 8px 0 8px;border-color:"," transparent transparent transparent;"],c);case"bottom":return C(["top:-8px;border-width:0 8px 8px 8px;border-color:transparent transparent "," transparent;"],c)}});h.div.withConfig({displayName:"Tabs__TabsContainer",componentId:"sc-gb5v5c-0"})(["border-bottom:2px solid ",";margin-bottom:",";"],a=>a.theme.colors.border,a=>a.theme.spacing.lg);h.div.withConfig({displayName:"Tabs__TabList",componentId:"sc-gb5v5c-1"})(["display:flex;gap:",";overflow-x:auto;-ms-overflow-style:none;scrollbar-width:none;&::-webkit-scrollbar{display:none;}"],a=>a.theme.spacing.xs);h.button.withConfig({displayName:"Tabs__Tab",componentId:"sc-gb5v5c-2"})(["padding:"," ",";background:none;border:none;border-bottom:2px solid ",";color:",";font-size:",";font-weight:",";font-family:",";margin-bottom:-2px;cursor:pointer;transition:color ",";white-space:nowrap;&:hover{color:",";}&:focus-visible{outline:2px solid ",";outline-offset:2px;}",""],a=>a.theme.spacing.md,a=>a.theme.spacing.lg,a=>{const o=a.theme;return a.$isActive?o.colors.primary:"transparent"},a=>{const o=a.theme;return a.$isActive?o.colors.primary:o.colors.text.secondary},a=>a.theme.typography.fontSize.sm,a=>{const o=a.theme;return a.$isActive?o.typography.fontWeight.semibold:o.typography.fontWeight.normal},a=>a.theme.typography.fontFamily.body,a=>a.theme.transitions.fast,a=>a.theme.colors.primary,a=>a.theme.colors.primary,a=>{var c;const o=a.theme;return a.$isActive&&((c=o.extensions)==null?void 0:c.cyberpunk)&&C(["text-shadow:",";box-shadow:0 0 10px ","50;"],o.extensions.cyberpunk.neonGlow.magenta,o.colors.primary)});h.div.withConfig({displayName:"Tabs__TabPanel",componentId:"sc-gb5v5c-3"})(["padding:"," 0;"],a=>a.theme.spacing.md);h.div.withConfig({displayName:"Popover__PopoverContainer",componentId:"sc-7littg-0"})(["position:relative;display:inline-block;"]);h.div.withConfig({displayName:"Popover__PopoverContent",componentId:"sc-7littg-1"})(["position:absolute;z-index:",";background:",";border:1px solid ",";border-radius:",";box-shadow:",";padding:",";min-width:200px;max-width:400px;opacity:",";pointer-events:",";transition:all ",";"," ",""],a=>{var o;return((o=a.theme.zIndex)==null?void 0:o.popover)||1100},a=>a.theme.colors.surface,a=>a.theme.colors.border,a=>a.theme.borderRadius.lg,a=>a.theme.shadows.xl,a=>a.theme.spacing.md,a=>a.$isOpen?1:0,a=>a.$isOpen?"auto":"none",a=>a.theme.transitions.fast,a=>{const c=a.theme.spacing.sm;switch(a.$position){case"top":return C(["bottom:calc(100% + ",");"," "," "," transform:",";"],c,a.$align==="start"&&"left: 0;",a.$align==="center"&&"left: 50%; transform: translateX(-50%);",a.$align==="end"&&"right: 0;",a.$align==="center"?a.$isOpen?"translateX(-50%) translateY(0)":"translateX(-50%) translateY(8px)":a.$isOpen?"translateY(0)":"translateY(8px)");case"bottom":return C(["top:calc(100% + ",");"," "," "," transform:",";"],c,a.$align==="start"&&"left: 0;",a.$align==="center"&&"left: 50%; transform: translateX(-50%);",a.$align==="end"&&"right: 0;",a.$align==="center"?a.$isOpen?"translateX(-50%) translateY(0)":"translateX(-50%) translateY(-8px)":a.$isOpen?"translateY(0)":"translateY(-8px)");case"left":return C(["right:calc(100% + ",");"," "," "," transform:",";"],c,a.$align==="start"&&"top: 0;",a.$align==="center"&&"top: 50%; transform: translateY(-50%);",a.$align==="end"&&"bottom: 0;",a.$align==="center"?a.$isOpen?"translateY(-50%) translateX(0)":"translateY(-50%) translateX(8px)":a.$isOpen?"translateX(0)":"translateX(8px)");case"right":return C(["left:calc(100% + ",");"," "," "," transform:",";"],c,a.$align==="start"&&"top: 0;",a.$align==="center"&&"top: 50%; transform: translateY(-50%);",a.$align==="end"&&"bottom: 0;",a.$align==="center"?a.$isOpen?"translateY(-50%) translateX(0)":"translateY(-50%) translateX(-8px)":a.$isOpen?"translateX(0)":"translateX(-8px)")}},a=>{var c;const o=a.theme;return((c=o.extensions)==null?void 0:c.cyberpunk)&&C(["border-color:",";box-shadow:",";backdrop-filter:blur(4px);"],o.colors.primary,o.extensions.cyberpunk.neonGlow.magenta)});h.div.withConfig({displayName:"Popover__PopoverArrow",componentId:"sc-7littg-2"})(["position:absolute;width:0;height:0;border-style:solid;",""],a=>{var d;const o=a.theme,c=(d=o.extensions)!=null&&d.cyberpunk?o.colors.primary:o.colors.border,s="8px";switch(a.$position){case"top":return C(["bottom:-",";"," "," "," border-width:"," "," 0 ",";border-color:"," transparent transparent transparent;"],s,a.$align==="start"&&`left: ${o.spacing.md};`,a.$align==="center"&&"left: 50%; transform: translateX(-50%);",a.$align==="end"&&`right: ${o.spacing.md};`,s,s,s,c);case"bottom":return C(["top:-",";"," "," "," border-width:0 "," "," ",";border-color:transparent transparent "," transparent;"],s,a.$align==="start"&&`left: ${o.spacing.md};`,a.$align==="center"&&"left: 50%; transform: translateX(-50%);",a.$align==="end"&&`right: ${o.spacing.md};`,s,s,s,c);case"left":return C(["right:-",";"," "," "," border-width:"," 0 "," ",";border-color:transparent transparent transparent ",";"],s,a.$align==="start"&&`top: ${o.spacing.md};`,a.$align==="center"&&"top: 50%; transform: translateY(-50%);",a.$align==="end"&&`bottom: ${o.spacing.md};`,s,s,s,c);case"right":return C(["left:-",";"," "," "," border-width:"," "," "," 0;border-color:transparent "," transparent transparent;"],s,a.$align==="start"&&`top: ${o.spacing.md};`,a.$align==="center"&&"top: 50%; transform: translateY(-50%);",a.$align==="end"&&`bottom: ${o.spacing.md};`,s,s,s,c)}});const F0=Kn(["0%{opacity:1;}50%{opacity:0.4;}100%{opacity:1;}"]),J0=Kn(["0%{transform:translateX(-100%);}50%{transform:translateX(100%);}100%{transform:translateX(100%);}"]),P0=a=>{switch(a){case"pulse":return C(["animation:"," 1.5s ease-in-out 0.5s infinite;"],F0);case"wave":return C(["overflow:hidden;position:relative;&::after{content:'';position:absolute;top:0;right:0;bottom:0;left:0;transform:translateX(-100%);background:linear-gradient(90deg,transparent,rgba(255,255,255,0.1),transparent);animation:"," 1.6s linear 0.5s infinite;}"],J0);default:return""}},ey=(a,o)=>{switch(a){case"circular":return C(["border-radius:50%;"]);case"rounded":return C(["border-radius:",";"],typeof o=="number"?`${o}px`:o||"8px");case"text":return C(["border-radius:4px;transform:scale(1,0.6);margin-top:0;margin-bottom:0;transform-origin:0 60%;&:empty::before{content:'\\00a0';}"]);default:return C(["border-radius:0;"])}};h.span.withConfig({displayName:"Skeleton__SkeletonBase",componentId:"sc-67iofe-0"})(["display:block;background-color:rgba(255,255,255,0.11);width:",";height:",";"," ",""],({$width:a})=>a?typeof a=="number"?`${a}px`:a:"100%",({$height:a,$variant:o})=>a?typeof a=="number"?`${a}px`:a:o==="circular"?"40px":o==="text"?"1em":"100px",({$variant:a,$borderRadius:o})=>ey(a,o),({$animation:a})=>P0(a));h.div.withConfig({displayName:"Skeleton__SkeletonContainer",componentId:"sc-67iofe-1"})(["display:flex;flex-direction:column;gap:","px;"],({$gap:a})=>a||8);h.div.withConfig({displayName:"ImageWithSkeleton__ImageContainer",componentId:"sc-y9akf2-0"})(["position:relative;width:",";height:",";aspect-ratio:",";border-radius:",";overflow:hidden;"],({$width:a})=>a?typeof a=="number"?`${a}px`:a:"100%",({$height:a})=>a?typeof a=="number"?`${a}px`:a:"auto",({$aspectRatio:a})=>a||"auto",({$borderRadius:a})=>a?typeof a=="number"?`${a}px`:a:"0");h.img.withConfig({displayName:"ImageWithSkeleton__StyledImage",componentId:"sc-y9akf2-1"})(["width:100%;height:100%;object-fit:",";opacity:",";transition:opacity 0.3s ease-in-out;"],({$objectFit:a})=>a||"cover",({$loaded:a})=>a?1:0);h.div.withConfig({displayName:"ImageWithSkeleton__SkeletonOverlay",componentId:"sc-y9akf2-2"})(["position:absolute;top:0;left:0;right:0;bottom:0;opacity:",";transition:opacity 0.3s ease-in-out;pointer-events:none;"],({$visible:a})=>a?1:0);h.div.withConfig({displayName:"ImageWithSkeleton__ErrorPlaceholder",componentId:"sc-y9akf2-3"})(["display:flex;align-items:center;justify-content:center;width:100%;height:100%;min-height:100px;background:rgba(255,255,255,0.05);color:rgba(255,255,255,0.5);font-size:14px;"]);h.div.withConfig({displayName:"SuspenseWithSkeleton__PageSkeletonContainer",componentId:"sc-1ibjqlf-0"})(["display:flex;flex-direction:column;gap:24px;padding:24px;"]);h.div.withConfig({displayName:"SuspenseWithSkeleton__PageSkeletonHeader",componentId:"sc-1ibjqlf-1"})(["display:flex;flex-direction:column;gap:12px;"]);h.div.withConfig({displayName:"SuspenseWithSkeleton__PageSkeletonContent",componentId:"sc-1ibjqlf-2"})(["display:flex;flex-direction:column;gap:16px;"]);const dh={h1:C(["font-size:2.5rem;font-weight:700;line-height:1.2;"]),h2:C(["font-size:2rem;font-weight:600;line-height:1.3;"]),h3:C(["font-size:1.5rem;font-weight:600;line-height:1.4;"]),h4:C(["font-size:1.25rem;font-weight:500;line-height:1.4;"]),body:C(["font-size:1rem;font-weight:400;line-height:1.5;"]),caption:C(["font-size:0.875rem;font-weight:400;line-height:1.4;"]),label:C(["font-size:0.75rem;font-weight:500;line-height:1.4;text-transform:uppercase;letter-spacing:0.05em;"])};h.span.withConfig({displayName:"TranslatedText__TextContainer",componentId:"sc-1btq2pz-0"})(["display:inline-block;color:",";text-align:",";"," ",""],({$color:a})=>a||"inherit",({$align:a})=>a||"inherit",({$variant:a})=>dh[a||"body"],({$truncate:a,$maxLines:o})=>a&&C(["overflow:hidden;text-overflow:ellipsis;",""],o&&o>1?C(["display:-webkit-box;-webkit-line-clamp:",";-webkit-box-orient:vertical;"],o):C(["white-space:nowrap;"])));h.span.withConfig({displayName:"TranslatedText__SkeletonWrapper",componentId:"sc-1btq2pz-1"})(["display:inline-block;width:100%;",""],({$variant:a})=>dh[a||"body"]);const fh=v.createContext({});function ms(a){const o=v.useRef(null);return o.current===null&&(o.current=a()),o.current}const _i=v.createContext(null),hs=v.createContext({transformPagePoint:a=>a,isStatic:!1,reducedMotion:"never"});class ty extends v.Component{getSnapshotBeforeUpdate(o){const c=this.props.childRef.current;if(c&&o.isPresent&&!this.props.isPresent){const s=this.props.sizeRef.current;s.height=c.offsetHeight||0,s.width=c.offsetWidth||0,s.top=c.offsetTop,s.left=c.offsetLeft}return null}componentDidUpdate(){}render(){return this.props.children}}function ay({children:a,isPresent:o}){const c=v.useId(),s=v.useRef(null),d=v.useRef({width:0,height:0,top:0,left:0}),{nonce:p}=v.useContext(hs);return v.useInsertionEffect(()=>{const{width:y,height:S,top:M,left:w}=d.current;if(o||!s.current||!y||!S)return;s.current.dataset.motionPopId=c;const A=document.createElement("style");return p&&(A.nonce=p),document.head.appendChild(A),A.sheet&&A.sheet.insertRule(` - [data-motion-pop-id="${c}"] { - position: absolute !important; - width: ${y}px !important; - height: ${S}px !important; - top: ${M}px !important; - left: ${w}px !important; - } - `),()=>{document.head.removeChild(A)}},[o]),f.jsx(ty,{isPresent:o,childRef:s,sizeRef:d,children:v.cloneElement(a,{ref:s})})}const ny=({children:a,initial:o,isPresent:c,onExitComplete:s,custom:d,presenceAffectsLayout:p,mode:y})=>{const S=ms(ly),M=v.useId(),w=v.useCallback(b=>{S.set(b,!0);for(const k of S.values())if(!k)return;s&&s()},[S,s]),A=v.useMemo(()=>({id:M,initial:o,isPresent:c,custom:d,onExitComplete:w,register:b=>(S.set(b,!1),()=>S.delete(b))}),p?[Math.random(),w]:[c,w]);return v.useMemo(()=>{S.forEach((b,k)=>S.set(k,!1))},[c]),v.useEffect(()=>{!c&&!S.size&&s&&s()},[c]),y==="popLayout"&&(a=f.jsx(ay,{isPresent:c,children:a})),f.jsx(_i.Provider,{value:A,children:a})};function ly(){return new Map}function oy(a=!0){const o=v.useContext(_i);if(o===null)return[!0,null];const{isPresent:c,onExitComplete:s,register:d}=o,p=v.useId();v.useEffect(()=>{a&&d(p)},[a]);const y=v.useCallback(()=>a&&s&&s(p),[p,s,a]);return!c&&s?[!1,y]:[!0]}const fi=a=>a.key||"";function Mm(a){const o=[];return v.Children.forEach(a,c=>{v.isValidElement(c)&&o.push(c)}),o}const mh=typeof window<"u",hh=mh?v.useLayoutEffect:v.useEffect,ph=({children:a,custom:o,initial:c=!0,onExitComplete:s,presenceAffectsLayout:d=!0,mode:p="sync",propagate:y=!1})=>{const[S,M]=oy(y),w=v.useMemo(()=>Mm(a),[a]),A=y&&!S?[]:w.map(fi),b=v.useRef(!0),k=v.useRef(w),D=ms(()=>new Map),[$,Y]=v.useState(w),[Q,E]=v.useState(w);hh(()=>{b.current=!1,k.current=w;for(let I=0;I{const J=fi(I),re=y&&!S?!1:w===Q||A.includes(J),se=()=>{if(D.has(J))D.set(J,!0);else return;let ie=!0;D.forEach(Oe=>{Oe||(ie=!1)}),ie&&(V==null||V(),E(k.current),y&&(M==null||M()),s&&s())};return f.jsx(ny,{isPresent:re,initial:!b.current||c?void 0:!1,custom:re?void 0:o,presenceAffectsLayout:d,mode:p,onExitComplete:re?void 0:se,children:I},J)})})},iy=a=>a;function ry(a){let o=new Set,c=new Set,s=!1,d=!1;const p=new WeakSet;let y={delta:0,timestamp:0,isProcessing:!1};function S(w){p.has(w)&&(M.schedule(w),a()),w(y)}const M={schedule:(w,A=!1,b=!1)=>{const D=b&&s?o:c;return A&&p.add(w),D.has(w)||D.add(w),w},cancel:w=>{c.delete(w),p.delete(w)},process:w=>{if(y=w,s){d=!0;return}s=!0,[o,c]=[c,o],o.forEach(S),o.clear(),s=!1,d&&(d=!1,M.process(w))}};return M}const mi=["read","resolveKeyframes","update","preRender","render","postRender"],cy=40;function gh(a,o){let c=!1,s=!0;const d={delta:0,timestamp:0,isProcessing:!1},p=()=>c=!0,y=mi.reduce((E,q)=>(E[q]=ry(p),E),{}),{read:S,resolveKeyframes:M,update:w,preRender:A,render:b,postRender:k}=y,D=()=>{const E=performance.now();c=!1,d.delta=s?1e3/60:Math.max(Math.min(E-d.timestamp,cy),1),d.timestamp=E,d.isProcessing=!0,S.process(d),M.process(d),w.process(d),A.process(d),b.process(d),k.process(d),d.isProcessing=!1,c&&o&&(s=!1,a(D))},$=()=>{c=!0,s=!0,d.isProcessing||a(D)};return{schedule:mi.reduce((E,q)=>{const V=y[q];return E[q]=(I,J=!1,re=!1)=>(c||$(),V.schedule(I,J,re)),E},{}),cancel:E=>{for(let q=0;qAm[a].some(c=>!!o[c])};const sy=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function wi(a){return a.startsWith("while")||a.startsWith("drag")&&a!=="draggable"||a.startsWith("layout")||a.startsWith("onTap")||a.startsWith("onPan")||a.startsWith("onLayout")||sy.has(a)}let xh=a=>!wi(a);function uy(a){a&&(xh=o=>o.startsWith("on")?!wi(o):a(o))}try{uy(require("@emotion/is-prop-valid").default)}catch{}function dy(a,o,c){const s={};for(const d in a)d==="values"&&typeof a.values=="object"||(xh(d)||c===!0&&wi(d)||!o&&!wi(d)||a.draggable&&d.startsWith("onDrag"))&&(s[d]=a[d]);return s}function fy(a){if(typeof Proxy>"u")return a;const o=new Map,c=(...s)=>a(...s);return new Proxy(c,{get:(s,d)=>d==="create"?a:(o.has(d)||o.set(d,a(d)),o.get(d))})}const zi=v.createContext({});function cs(a){return typeof a=="string"||Array.isArray(a)}function vh(a){return a!==null&&typeof a=="object"&&typeof a.start=="function"}const my=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],hy=["initial",...my];function ps(a){return vh(a.animate)||hy.some(o=>cs(a[o]))}function py(a){return!!(ps(a)||a.variants)}function gy(a,o){if(ps(a)){const{initial:c,animate:s}=a;return{initial:c===!1||cs(c)?c:void 0,animate:cs(s)?s:void 0}}return a.inherit!==!1?o:{}}function yy(a){const{initial:o,animate:c}=gy(a,v.useContext(zi));return v.useMemo(()=>({initial:o,animate:c}),[Em(o),Em(c)])}function Em(a){return Array.isArray(a)?a.join(" "):a}const by=Symbol.for("motionComponentSymbol");function wh(a){return a&&typeof a=="object"&&Object.prototype.hasOwnProperty.call(a,"current")}function xy(a,o,c){return v.useCallback(s=>{s&&a.onMount&&a.onMount(s),o&&(s?o.mount(s):o.unmount()),c&&(typeof c=="function"?c(s):wh(c)&&(c.current=s))},[o])}const Sh=a=>a.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),vy="framerAppearId",wy="data-"+Sh(vy),{schedule:Sy}=gh(queueMicrotask,!1),Cy=v.createContext({});function _y(a,o,c,s,d){var p,y;const{visualElement:S}=v.useContext(zi),M=v.useContext(yh),w=v.useContext(_i),A=v.useContext(hs).reducedMotion,b=v.useRef(null);s=s||M.renderer,!b.current&&s&&(b.current=s(a,{visualState:o,parent:S,props:c,presenceContext:w,blockInitialAnimation:w?w.initial===!1:!1,reducedMotionConfig:A}));const k=b.current,D=v.useContext(Cy);k&&!k.projection&&d&&(k.type==="html"||k.type==="svg")&&zy(b.current,c,d,D);const $=v.useRef(!1);v.useInsertionEffect(()=>{k&&$.current&&k.update(c,w)});const Y=c[wy],Q=v.useRef(!!Y&&!(!((p=window.MotionHandoffIsComplete)===null||p===void 0)&&p.call(window,Y))&&((y=window.MotionHasOptimisedAnimation)===null||y===void 0?void 0:y.call(window,Y)));return hh(()=>{k&&($.current=!0,window.MotionIsMounted=!0,k.updateFeatures(),Sy.render(k.render),Q.current&&k.animationState&&k.animationState.animateChanges())}),v.useEffect(()=>{k&&(!Q.current&&k.animationState&&k.animationState.animateChanges(),Q.current&&(queueMicrotask(()=>{var E;(E=window.MotionHandoffMarkAsComplete)===null||E===void 0||E.call(window,Y)}),Q.current=!1))}),k}function zy(a,o,c,s){const{layoutId:d,layout:p,drag:y,dragConstraints:S,layoutScroll:M,layoutRoot:w}=o;a.projection=new c(a.latestValues,o["data-framer-portal-id"]?void 0:Ch(a.parent)),a.projection.setOptions({layoutId:d,layout:p,alwaysMeasureLayout:!!y||S&&wh(S),visualElement:a,animationType:typeof p=="string"?p:"both",initialPromotionConfig:s,layoutScroll:M,layoutRoot:w})}function Ch(a){if(a)return a.options.allowProjection!==!1?a.projection:Ch(a.parent)}function ky({preloadedFeatures:a,createVisualElement:o,useRender:c,useVisualState:s,Component:d}){var p,y;function S(w,A){let b;const k={...v.useContext(hs),...w,layoutId:Ty(w)},{isStatic:D}=k,$=yy(w),Y=s(w,D);if(!D&&mh){jy();const Q=My(k);b=Q.MeasureLayout,$.visualElement=_y(d,Y,k,o,Q.ProjectionNode)}return f.jsxs(zi.Provider,{value:$,children:[b&&$.visualElement?f.jsx(b,{visualElement:$.visualElement,...k}):null,c(d,w,xy(Y,$.visualElement,A),Y,D,$.visualElement)]})}S.displayName=`motion.${typeof d=="string"?d:`create(${(y=(p=d.displayName)!==null&&p!==void 0?p:d.name)!==null&&y!==void 0?y:""})`}`;const M=v.forwardRef(S);return M[by]=d,M}function Ty({layoutId:a}){const o=v.useContext(fh).id;return o&&a!==void 0?o+"-"+a:a}function jy(a,o){v.useContext(yh).strict}function My(a){const{drag:o,layout:c}=bh;if(!o&&!c)return{};const s={...o,...c};return{MeasureLayout:o!=null&&o.isEnabled(a)||c!=null&&c.isEnabled(a)?s.MeasureLayout:void 0,ProjectionNode:s.ProjectionNode}}const Ny=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function _h(a){return typeof a!="string"||a.includes("-")?!1:!!(Ny.indexOf(a)>-1||/[A-Z]/u.test(a))}function Om(a){return[{},{}]}function Ay(a,o,c,s){if(typeof o=="function"){const[d,p]=Om();o=o(a.custom,d,p)}if(typeof o=="string"&&(o=a.variants&&a.variants[o]),typeof o=="function"){const[d,p]=Om();o=o(a.custom,d,p)}return o}const Ey=a=>!!(a&&typeof a=="object"&&a.mix&&a.toValue),ln=a=>!!(a&&a.getVelocity);function Oy(a){const o=ln(a)?a.get():a;return Ey(o)?o.toValue():o}function Dy({scrapeMotionValuesFromProps:a,createRenderState:o,onUpdate:c},s,d,p){const y={latestValues:$y(s,d,p,a),renderState:o()};return c&&(y.onMount=S=>c({props:s,current:S,...y}),y.onUpdate=S=>c(S)),y}const zh=a=>(o,c)=>{const s=v.useContext(zi),d=v.useContext(_i),p=()=>Dy(a,o,s,d);return c?p():ms(p)};function $y(a,o,c,s){const d={},p=s(a,{});for(const k in p)d[k]=Oy(p[k]);let{initial:y,animate:S}=a;const M=ps(a),w=py(a);o&&w&&!M&&a.inherit!==!1&&(y===void 0&&(y=o.initial),S===void 0&&(S=o.animate));let A=c?c.initial===!1:!1;A=A||y===!1;const b=A?S:y;if(b&&typeof b!="boolean"&&!vh(b)){const k=Array.isArray(b)?b:[b];for(let D=0;Do=>typeof o=="string"&&o.startsWith(a),Uy=Ry("--"),kh=(a,o)=>o&&typeof a=="number"?o.transform(a):a,By=(a,o,c)=>c>o?o:ctypeof a=="number",parse:parseFloat,transform:a=>a},ss={...ys,transform:a=>By(0,1,a)},hi={...ys,default:1},bs=a=>({test:o=>typeof o=="string"&&o.endsWith(a)&&o.split(" ").length===1,parse:parseFloat,transform:o=>`${o}${a}`}),nn=bs("deg"),Fc=bs("%"),le=bs("px"),Dm={...Fc,parse:a=>Fc.parse(a)/100,transform:a=>Fc.transform(a*100)},Hy={borderWidth:le,borderTopWidth:le,borderRightWidth:le,borderBottomWidth:le,borderLeftWidth:le,borderRadius:le,radius:le,borderTopLeftRadius:le,borderTopRightRadius:le,borderBottomRightRadius:le,borderBottomLeftRadius:le,width:le,maxWidth:le,height:le,maxHeight:le,top:le,right:le,bottom:le,left:le,padding:le,paddingTop:le,paddingRight:le,paddingBottom:le,paddingLeft:le,margin:le,marginTop:le,marginRight:le,marginBottom:le,marginLeft:le,backgroundPositionX:le,backgroundPositionY:le},Gy={rotate:nn,rotateX:nn,rotateY:nn,rotateZ:nn,scale:hi,scaleX:hi,scaleY:hi,scaleZ:hi,skew:nn,skewX:nn,skewY:nn,distance:le,translateX:le,translateY:le,translateZ:le,x:le,y:le,z:le,perspective:le,transformPerspective:le,opacity:ss,originX:Dm,originY:Dm,originZ:le},$m={...ys,transform:Math.round},Th={...Hy,...Gy,zIndex:$m,size:le,fillOpacity:ss,strokeOpacity:ss,numOctaves:$m},qy={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},Ly=ki.length;function Yy(a,o,c){let s="",d=!0;for(let p=0;p({style:{},transform:{},transformOrigin:{},vars:{}}),Nh=()=>({...xs(),attrs:{}}),Ah=a=>typeof a=="string"&&a.toLowerCase()==="svg";function Iy(a,{style:o,vars:c},s,d){Object.assign(a.style,o,d);for(const p in c)a.style.setProperty(p,c[p])}const Ky=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);function Wy(a,o,c,s){Iy(a,o,void 0,s);for(const d in o.attrs)a.setAttribute(Ky.has(d)?d:Sh(d),o.attrs[d])}const Fy={};function Eh(a,{layout:o,layoutId:c}){return gs.has(a)||a.startsWith("origin")||(o||c!==void 0)&&(!!Fy[a]||a==="opacity")}function Oh(a,o,c){var s;const{style:d}=a,p={};for(const y in d)(ln(d[y])||o.style&&ln(o.style[y])||Eh(y,a)||((s=c==null?void 0:c.getValue(y))===null||s===void 0?void 0:s.liveStyle)!==void 0)&&(p[y]=d[y]);return p}function Jy(a,o,c){const s=Oh(a,o,c);for(const d in a)if(ln(a[d])||ln(o[d])){const p=ki.indexOf(d)!==-1?"attr"+d.charAt(0).toUpperCase()+d.substring(1):d;s[p]=a[d]}return s}function Py(a,o){try{o.dimensions=typeof a.getBBox=="function"?a.getBBox():a.getBoundingClientRect()}catch{o.dimensions={x:0,y:0,width:0,height:0}}}const Um=["x","y","width","height","cx","cy","r"],eb={useVisualState:zh({scrapeMotionValuesFromProps:Jy,createRenderState:Nh,onUpdate:({props:a,prevProps:o,current:c,renderState:s,latestValues:d})=>{if(!c)return;let p=!!a.drag;if(!p){for(const S in d)if(gs.has(S)){p=!0;break}}if(!p)return;let y=!o;if(o)for(let S=0;S{Py(c,s),Nm.render(()=>{Mh(s,d,Ah(c.tagName),a.transformTemplate),Wy(c,s)})})}})},tb={useVisualState:zh({scrapeMotionValuesFromProps:Oh,createRenderState:xs})};function Dh(a,o,c){for(const s in o)!ln(o[s])&&!Eh(s,c)&&(a[s]=o[s])}function ab({transformTemplate:a},o){return v.useMemo(()=>{const c=xs();return jh(c,o,a),Object.assign({},c.vars,c.style)},[o])}function nb(a,o){const c=a.style||{},s={};return Dh(s,c,a),Object.assign(s,ab(a,o)),s}function lb(a,o){const c={},s=nb(a,o);return a.drag&&a.dragListener!==!1&&(c.draggable=!1,s.userSelect=s.WebkitUserSelect=s.WebkitTouchCallout="none",s.touchAction=a.drag===!0?"none":`pan-${a.drag==="x"?"y":"x"}`),a.tabIndex===void 0&&(a.onTap||a.onTapStart||a.whileTap)&&(c.tabIndex=0),c.style=s,c}function ob(a,o,c,s){const d=v.useMemo(()=>{const p=Nh();return Mh(p,o,Ah(s),a.transformTemplate),{...p.attrs,style:{...p.style}}},[o]);if(a.style){const p={};Dh(p,a.style,a),d.style={...p,...d.style}}return d}function ib(a=!1){return(c,s,d,{latestValues:p},y)=>{const M=(_h(c)?ob:lb)(s,p,y,c),w=dy(s,typeof c=="string",a),A=c!==v.Fragment?{...w,...M,ref:d}:{},{children:b}=s,k=v.useMemo(()=>ln(b)?b.get():b,[b]);return v.createElement(c,{...A,children:k})}}function rb(a,o){return function(s,{forwardMotionProps:d}={forwardMotionProps:!1}){const y={..._h(s)?eb:tb,preloadedFeatures:a,useRender:ib(d),createVisualElement:o,Component:s};return ky(y)}}const cb=rb(),_t=fy(cb);/** - * @license lucide-react v0.553.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const sb=a=>a.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),ub=a=>a.replace(/^([A-Z])|[\s-_]+(\w)/g,(o,c,s)=>s?s.toUpperCase():c.toLowerCase()),Bm=a=>{const o=ub(a);return o.charAt(0).toUpperCase()+o.slice(1)},$h=(...a)=>a.filter((o,c,s)=>!!o&&o.trim()!==""&&s.indexOf(o)===c).join(" ").trim(),db=a=>{for(const o in a)if(o.startsWith("aria-")||o==="role"||o==="title")return!0};/** - * @license lucide-react v0.553.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */var fb={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/** - * @license lucide-react v0.553.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const mb=v.forwardRef(({color:a="currentColor",size:o=24,strokeWidth:c=2,absoluteStrokeWidth:s,className:d="",children:p,iconNode:y,...S},M)=>v.createElement("svg",{ref:M,...fb,width:o,height:o,stroke:a,strokeWidth:s?Number(c)*24/Number(o):c,className:$h("lucide",d),...!p&&!db(S)&&{"aria-hidden":"true"},...S},[...y.map(([w,A])=>v.createElement(w,A)),...Array.isArray(p)?p:[p]]));/** - * @license lucide-react v0.553.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const Rh=(a,o)=>{const c=v.forwardRef(({className:s,...d},p)=>v.createElement(mb,{ref:p,iconNode:o,className:$h(`lucide-${sb(Bm(a))}`,`lucide-${a}`,s),...d}));return c.displayName=Bm(a),c};/** - * @license lucide-react v0.553.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const hb=[["path",{d:"M12 5v14",key:"s699le"}],["path",{d:"m19 12-7 7-7-7",key:"1idqje"}]],pb=Rh("arrow-down",hb);/** - * @license lucide-react v0.553.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const gb=[["path",{d:"m5 12 7-7 7 7",key:"hav0vg"}],["path",{d:"M12 19V5",key:"x0mq9r"}]],yb=Rh("arrow-up",gb);h(_t.div).withConfig({displayName:"BaseDrawer__Backdrop",componentId:"sc-1u4kpag-0"})(["position:fixed;inset:0;background:rgba(0,0,0,0.6);backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px);z-index:1000;"]);h(_t.div).withConfig({displayName:"BaseDrawer__DrawerContainer",componentId:"sc-1u4kpag-1"})(["position:fixed;top:0;",";bottom:0;width:",";max-width:90vw;background:rgba(15,15,20,0.95);backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);border-",":1px solid rgba(255,255,255,0.1);box-shadow:",";display:flex;flex-direction:column;z-index:1001;"],a=>a.$side==="right"?"right: 0":"left: 0",a=>a.$width,a=>a.$side==="right"?"left":"right",a=>a.$side==="right"?"-10px 0 40px rgba(0, 0, 0, 0.5)":"10px 0 40px rgba(0, 0, 0, 0.5)");h.div.withConfig({displayName:"BaseDrawer__Header",componentId:"sc-1u4kpag-2"})(["display:flex;align-items:center;justify-content:space-between;padding:1.5rem;border-bottom:1px solid rgba(255,255,255,0.1);"]);h.h2.withConfig({displayName:"BaseDrawer__Title",componentId:"sc-1u4kpag-3"})(["margin:0;font-size:1.25rem;font-weight:600;color:rgba(255,255,255,0.95);display:flex;align-items:center;gap:0.75rem;"]);h.button.withConfig({displayName:"BaseDrawer__CloseButton",componentId:"sc-1u4kpag-4"})(["display:flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:8px;border:none;background:rgba(255,255,255,0.05);color:rgba(255,255,255,0.7);cursor:pointer;transition:all 0.2s ease;&:hover{background:rgba(255,255,255,0.1);color:rgba(255,255,255,0.95);}&:focus-visible{outline:2px solid rgba(255,255,255,0.4);outline-offset:2px;}"]);h.div.withConfig({displayName:"BaseDrawer__Content",componentId:"sc-1u4kpag-5"})(["flex:1;overflow-y:auto;padding:1.5rem;&::-webkit-scrollbar{width:8px;}&::-webkit-scrollbar-track{background:rgba(255,255,255,0.05);}&::-webkit-scrollbar-thumb{background:rgba(255,255,255,0.2);border-radius:4px;}&::-webkit-scrollbar-thumb:hover{background:rgba(255,255,255,0.3);}"]);h.div.withConfig({displayName:"BaseDrawer__Footer",componentId:"sc-1u4kpag-6"})(["padding:1.5rem;border-top:1px solid rgba(255,255,255,0.1);"]);h.span.withConfig({displayName:"VersionBadge__Badge",componentId:"sc-1rw25xt-0"})(["display:inline-flex;align-items:center;justify-content:center;padding:0.25rem 0.5rem;border-radius:4px;font-size:0.7rem;font-weight:700;text-transform:uppercase;letter-spacing:0.05em;cursor:",";user-select:none;transition:all 0.2s ease;"," &:hover,&:focus-visible{transform:scale(1.05);}&:focus-visible{outline:2px solid currentColor;outline-offset:2px;}"],a=>a.tabIndex!==void 0?"help":"default",a=>{switch(a.$version){case"v1":return` - background: rgba(34, 197, 94, 0.2); - color: #22c55e; - border: 1px solid rgba(34, 197, 94, 0.3); - `;case"v2":return` - background: rgba(59, 130, 246, 0.2); - color: #3b82f6; - border: 1px solid rgba(59, 130, 246, 0.3); - `;case"v3":case"v4":case"v5":case"v6":case"v7":case"v8":case"v9":return` - background: rgba(168, 85, 247, 0.2); - color: #a855f7; - border: 1px solid rgba(168, 85, 247, 0.3); - `;case"tbd":return` - background: rgba(100, 116, 139, 0.2); - color: #94a3b8; - border: 1px solid rgba(100, 116, 139, 0.3); - `;default:return` - background: rgba(100, 116, 139, 0.2); - color: #94a3b8; - border: 1px solid rgba(100, 116, 139, 0.3); - `}});h(_t.div).withConfig({displayName:"VersionBadge__Tooltip",componentId:"sc-1rw25xt-1"})(["position:fixed;transform:translate(-50%,calc(-100% - 12px));padding:0.75rem 1rem;background:rgba(15,15,20,0.95);backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);border:1px solid rgba(255,255,255,0.1);border-radius:8px;box-shadow:0 10px 40px rgba(0,0,0,0.5);max-width:250px;z-index:10000;pointer-events:none;"]);h.span.withConfig({displayName:"VersionBadge__TooltipVersion",componentId:"sc-1rw25xt-2"})(["display:block;font-size:0.75rem;font-weight:700;color:rgba(255,255,255,0.95);margin-bottom:0.25rem;text-transform:uppercase;letter-spacing:0.05em;"]);h.span.withConfig({displayName:"VersionBadge__TooltipDescription",componentId:"sc-1rw25xt-3"})(["display:block;font-size:0.85rem;line-height:1.4;color:rgba(255,255,255,0.7);"]);h.div.withConfig({displayName:"VersionBadge__TooltipArrow",componentId:"sc-1rw25xt-4"})(["position:absolute;bottom:-6px;left:50%;transform:translateX(-50%) rotate(45deg);width:12px;height:12px;background:rgba(15,15,20,0.95);border-right:1px solid rgba(255,255,255,0.1);border-bottom:1px solid rgba(255,255,255,0.1);"]);const bb=h.div.withConfig({displayName:"PillTabs__Container",componentId:"sc-vycj5f-0"})(["display:flex;gap:",";padding:",";background-color:",";border-radius:",";overflow-x:auto;-ms-overflow-style:none;scrollbar-width:none;&::-webkit-scrollbar{display:none;}"],a=>a.theme.spacing.xs,a=>a.theme.spacing.xs,a=>a.theme.colors.surface,a=>a.theme.borderRadius.md),xb=h.button.withConfig({displayName:"PillTabs__TabButton",componentId:"sc-vycj5f-1"})(["display:flex;align-items:center;gap:",";padding:"," ",";background-color:",";border:none;border-radius:",";font-size:",";font-weight:",";font-family:",";color:",";cursor:",";white-space:nowrap;transition:all ",";opacity:",";&:hover:not(:disabled){color:",";}&:focus-visible{outline:2px solid ",";outline-offset:2px;}"],a=>a.theme.spacing.xs,a=>a.theme.spacing.sm,a=>a.theme.spacing.md,a=>{const o=a.theme;return a.$active?o.colors.background.primary:"transparent"},a=>a.theme.borderRadius.sm,a=>a.theme.typography.fontSize.sm,a=>{const o=a.theme;return a.$active?o.typography.fontWeight.medium:o.typography.fontWeight.normal},a=>a.theme.typography.fontFamily.body,a=>{const o=a.theme;return a.$active?o.colors.text.primary:o.colors.text.secondary},a=>a.$disabled?"not-allowed":"pointer",a=>a.theme.transitions.fast,a=>a.$disabled?.5:1,a=>a.theme.colors.text.primary,a=>a.theme.colors.primary),vb=h.span.withConfig({displayName:"PillTabs__Count",componentId:"sc-vycj5f-2"})(["padding:2px ",";background-color:",";border-radius:",";font-size:",";font-weight:",";color:",";min-width:18px;text-align:center;"],a=>a.theme.spacing.xs,a=>{const o=a.theme;return a.$active?o.colors.primary:`${o.colors.text.secondary}20`},a=>a.theme.borderRadius.full,a=>a.theme.typography.fontSize.xs,a=>a.theme.typography.fontWeight.medium,a=>{const o=a.theme;return a.$active?o.colors.background.primary:o.colors.text.secondary}),Hm=({tabs:a,activeTab:o,onTabChange:c,className:s})=>f.jsx(bb,{role:"tablist",className:s,children:a.map(d=>f.jsxs(xb,{$active:o===d.id,$disabled:d.disabled,onClick:()=>!d.disabled&&c(d.id),role:"tab","aria-selected":o===d.id,"aria-disabled":d.disabled,disabled:d.disabled,children:[d.label,d.count!==void 0&&f.jsx(vb,{$active:o===d.id,children:d.count})]},d.id))}),wb={sm:"640px",md:"768px",lg:"1024px",xl:"1280px","2xl":"1400px",full:"100%"},Sb=h.div.withConfig({displayName:"Container__StyledContainer",componentId:"sc-wwh4jf-0"})(["width:100%;max-width:",";margin:",";padding:",";@media (max-width:","){padding:",";}"],({$size:a})=>wb[a||"2xl"],({$centered:a})=>a?"0 auto":"0",({$padding:a,theme:o})=>{switch(a){case"none":return"0";case"sm":return`0 ${o.spacing.sm}`;case"md":return`0 ${o.spacing.md}`;case"lg":return`0 ${o.spacing.lg}`;default:return`0 ${o.spacing.md}`}},({theme:a})=>a.breakpoints.md,({$padding:a,theme:o})=>a==="none"?"0":`0 ${o.spacing.sm}`),pi=({size:a="2xl",padding:o="md",centered:c=!0,className:s,children:d})=>f.jsx(Sb,{$size:a,$padding:o,$centered:c,className:s,children:d});h.section.withConfig({displayName:"Section__StyledSection",componentId:"sc-1cvf0sy-0"})(["background-color:",";padding:",";@media (max-width:","){padding:",";}"],({$variant:a,theme:o})=>{switch(a){case"alt":return o.colors.surface;case"elevated":return o.colors.surface;case"default":default:return o.colors.background}},({$padding:a,theme:o})=>{switch(a){case"none":return"0";case"sm":return`${o.spacing.xl} 0`;case"md":return`${o.spacing.xxl} 0`;case"lg":return`calc(${o.spacing.xxl} * 1.5) 0`;case"xl":return`calc(${o.spacing.xxl} * 2) 0`;default:return`${o.spacing.xxl} 0`}},({theme:a})=>a.breakpoints.md,({$padding:a,theme:o})=>{switch(a){case"none":return"0";case"sm":return`${o.spacing.md} 0`;case"md":return`${o.spacing.lg} 0`;case"lg":return`${o.spacing.xl} 0`;case"xl":return`${o.spacing.xxl} 0`;default:return`${o.spacing.lg} 0`}});const Cb=h.div.withConfig({displayName:"Grid__StyledGrid",componentId:"sc-1bj0h7i-0"})(["display:grid;grid-template-columns:",";"," "," "," "," "," "," "," "," ",""],a=>typeof a.$columns=="number"?`repeat(${a.$columns}, 1fr)`:a.$columns,a=>{const o=a.theme,c=s=>!s||s==="none"?"0":o.spacing[s];return a.$rowGap||a.$columnGap?C(["row-gap:",";column-gap:",";"],c(a.$rowGap),c(a.$columnGap)):a.$gap?C(["gap:",";"],c(a.$gap)):""},a=>a.$autoRows&&C(["grid-auto-rows:",";"],a.$autoRows),a=>a.$autoColumns&&C(["grid-auto-columns:",";"],a.$autoColumns),a=>a.$alignItems&&C(["align-items:",";"],a.$alignItems),a=>a.$justifyItems&&C(["justify-items:",";"],a.$justifyItems),a=>{var o;return((o=a.$responsive)==null?void 0:o.sm)&&C(["@media (min-width:640px){grid-template-columns:repeat(",",1fr);}"],a.$responsive.sm)},a=>{var o;return((o=a.$responsive)==null?void 0:o.md)&&C(["@media (min-width:768px){grid-template-columns:repeat(",",1fr);}"],a.$responsive.md)},a=>{var o;return((o=a.$responsive)==null?void 0:o.lg)&&C(["@media (min-width:1024px){grid-template-columns:repeat(",",1fr);}"],a.$responsive.lg)},a=>{var o;return((o=a.$responsive)==null?void 0:o.xl)&&C(["@media (min-width:1280px){grid-template-columns:repeat(",",1fr);}"],a.$responsive.xl)}),Vl=({children:a,columns:o=1,gap:c="md",rowGap:s,columnGap:d,autoRows:p,autoColumns:y,alignItems:S,justifyItems:M,className:w,responsive:A})=>f.jsx(Cb,{$columns:o,$gap:c,$rowGap:s,$columnGap:d,$autoRows:p,$autoColumns:y,$alignItems:S,$justifyItems:M,$responsive:A,className:w,children:a}),_b=h.div.withConfig({displayName:"Stack__StyledStack",componentId:"sc-jj0d56-0"})(["display:flex;flex-direction:",";gap:",";align-items:",";justify-content:",";flex-wrap:",";width:",";height:",";"],a=>a.$direction==="horizontal"?"row":"column",a=>{const o=a.theme;return a.$gap==="none"?"0":o.spacing[a.$gap]},a=>a.$align,a=>a.$justify,a=>a.$wrap?"wrap":"nowrap",a=>a.$fullWidth?"100%":"auto",a=>a.$fullHeight?"100%":"auto"),Ct=({children:a,direction:o="vertical",gap:c="md",align:s="stretch",justify:d="flex-start",wrap:p=!1,className:y,fullWidth:S=!1,fullHeight:M=!1})=>f.jsx(_b,{$direction:o,$gap:c,$align:s,$justify:d,$wrap:p,$fullWidth:S,$fullHeight:M,className:y,children:a});h.div.withConfig({displayName:"Spacer__StyledSpacer",componentId:"sc-scx0js-0"})(["",""],a=>{if(a.$size==="auto")return C(["flex:1;"]);const c=a.theme.spacing[a.$size];return a.$direction==="horizontal"?C(["width:",";flex-shrink:0;"],c):C(["height:",";flex-shrink:0;"],c)});h.div.withConfig({displayName:"ButtonGroup__StyledButtonGroup",componentId:"sc-s0qh6o-0"})(["display:inline-flex;gap:",";> button:first-child{border-top-left-radius:",";border-bottom-left-radius:",";}> button:last-child{border-top-right-radius:",";border-bottom-right-radius:",";}> button:only-child{border-radius:",";}"],a=>a.theme.spacing.sm,a=>a.theme.borderRadius.md,a=>a.theme.borderRadius.md,a=>a.theme.borderRadius.md,a=>a.theme.borderRadius.md,a=>a.theme.borderRadius.md);const zb={none:0,sm:8,md:16,lg:24,xl:40},kb={transparent:0,whisper:.02,subtle:.04,light:.06,medium:.1,heavy:.15,solid:.92,opaque:.98},Tb={none:0,subtle:.06,light:.1,medium:.15,bright:.2},jb={none:"none",sm:"0 4px 16px rgba(0, 0, 0, 0.2)",md:"0 8px 32px rgba(0, 0, 0, 0.3)",lg:"0 16px 48px rgba(0, 0, 0, 0.4)",xl:"0 24px 64px rgba(0, 0, 0, 0.5)"},Mb={none:"none",subtle:"inset 0 1px 0 rgba(255, 255, 255, 0.05)",medium:"inset 0 1px 0 rgba(255, 255, 255, 0.08), inset 0 0 30px rgba(255, 255, 255, 0.03)",strong:"inset 0 1px 0 rgba(255, 255, 255, 0.1), inset 0 0 60px rgba(255, 255, 255, 0.05)"},Nb={subtle:{blur:"sm",opacity:"subtle",mode:"light",border:"subtle",shadow:"none",glow:"none"},light:{blur:"md",opacity:"light",mode:"light",border:"light",shadow:"sm",glow:"subtle"},medium:{blur:"lg",opacity:"medium",mode:"light",border:"medium",shadow:"md",glow:"medium"},heavy:{blur:"xl",opacity:"heavy",mode:"light",border:"bright",shadow:"lg",glow:"strong"},dropdown:{blur:"md",opacity:"solid",mode:"dark",border:"light",shadow:"md",glow:"subtle",saturation:150},nav:{blur:"md",opacity:"solid",mode:"dark",border:"light",shadow:"sm",glow:"subtle",saturation:180},modal:{blur:"xl",opacity:"opaque",mode:"dark",border:"medium",shadow:"xl",glow:"medium",saturation:150},tooltip:{blur:"md",opacity:"solid",mode:"dark",border:"subtle",shadow:"md",glow:"subtle"}};function Ab(a,o,c=.15){const{blur:s="md",opacity:d="light",mode:p="light",border:y="light",shadow:S="sm",glow:M="subtle",saturation:w=180}=a,A=p==="dark"?"10, 10, 15":"255, 255, 255",b=kb[d];let k;o?k=`linear-gradient(135deg, - color-mix(in srgb, ${o} ${c*100}%, rgba(${A}, ${b})), - rgba(${A}, ${b}) - )`:k=`rgba(${A}, ${b})`;const D=zb[s],$=D>0?`blur(${D}px) saturate(${w}%)`:"none",Y=Tb[y],Q=Y>0?`1px solid rgba(255, 255, 255, ${Y})`:"none",E=jb[S],q=Mb[M],V=[E,q].filter(J=>J!=="none"),I=V.length>0?V.join(", "):"none";return{background:k,backdropFilter:$,WebkitBackdropFilter:$,border:Q,boxShadow:I}}function Eb(a){const{variant:o,tint:c,tintIntensity:s,...d}=a,{blur:p,opacity:y,mode:S,border:M,shadow:w,glow:A,saturation:b}=d;return v.useMemo(()=>(o&&{...Nb[o]},Ab({blur:p,opacity:y,mode:S,border:M,shadow:w,glow:A,saturation:b},c,s)),[o,c,s,p,y,S,M,w,A,b])}const Ob=h.div.withConfig({displayName:"GlassPanel__StyledPanel",componentId:"sc-e7mr86-0"})([""," border-radius:",";padding:",";"," @media (prefers-contrast:high){backdrop-filter:none;-webkit-backdrop-filter:none;background:rgba(30,30,40,0.98);border-color:rgba(255,255,255,0.3);}"],({$glassStyles:a})=>C(["background:",";backdrop-filter:",";-webkit-backdrop-filter:",";border:",";box-shadow:",";"],a.background,a.backdropFilter,a.WebkitBackdropFilter,a.border,a.boxShadow),({$borderRadius:a})=>typeof a=="number"?`${a}px`:a||"12px",({$padding:a})=>typeof a=="number"?`${a}px`:a||"0",({$hoverable:a})=>a&&C(["transition:all 0.3s cubic-bezier(0.4,0,0.2,1);&:hover{transform:translateY(-2px);box-shadow:0 12px 40px rgba(0,0,0,0.4),inset 0 1px 0 rgba(255,255,255,0.1);}@media (prefers-reduced-motion:reduce){transition:none;&:hover{transform:none;}}"])),Db=v.forwardRef(({variant:a,blur:o,opacity:c,mode:s,border:d,shadow:p,glow:y,saturation:S,tint:M,tintIntensity:w,hoverable:A=!1,borderRadius:b,padding:k,className:D,as:$,children:Y,...Q},E)=>{const q=Eb({variant:a,blur:o,opacity:c,mode:s,border:d,shadow:p,glow:y,saturation:S,tint:M,tintIntensity:w});return f.jsx(Ob,{ref:E,as:$,className:D,$glassStyles:q,$hoverable:A,$borderRadius:b,$padding:k,...Q,children:Y})}),$b=h(Db).withConfig({displayName:"GlassDropdown__DropdownContainer",componentId:"sc-3mwn0b-0"})(["position:absolute;z-index:1000;min-width:",";max-height:",";overflow-y:auto;overflow-x:hidden;scrollbar-width:thin;scrollbar-color:rgba(255,255,255,0.2) transparent;&::-webkit-scrollbar{width:6px;}&::-webkit-scrollbar-track{background:transparent;}&::-webkit-scrollbar-thumb{background:rgba(255,255,255,0.2);border-radius:3px;}&::-webkit-scrollbar-thumb:hover{background:rgba(255,255,255,0.3);}"],({$minWidth:a})=>typeof a=="number"?`${a}px`:a||"180px",({$maxHeight:a})=>typeof a=="number"?`${a}px`:a||"400px");v.forwardRef(({minWidth:a,maxHeight:o,padding:c="8px",borderRadius:s=12,children:d,blur:p="md",opacity:y="solid",mode:S="dark",border:M="light",shadow:w="md",glow:A="subtle",saturation:b=150,...k},D)=>f.jsx($b,{ref:D,$minWidth:a,$maxHeight:o,blur:p,opacity:y,mode:S,border:M,shadow:w,glow:A,saturation:b,padding:c,borderRadius:s,...k,children:d}));h.div.withConfig({displayName:"GlassDropdown__GlassDropdownItem",componentId:"sc-3mwn0b-1"})(["padding:10px 14px;border-radius:6px;cursor:",";opacity:",";transition:all 0.2s ease;margin:2px 0;color:rgba(255,255,255,0.9);"," &:hover{background:",";transform:",";}&:active{background:",";}"],({$disabled:a})=>a?"not-allowed":"pointer",({$disabled:a})=>a?.5:1,({$active:a})=>a&&` - background: rgba(255, 255, 255, 0.08); - `,({$disabled:a})=>a?"transparent":"rgba(255, 255, 255, 0.06)",({$disabled:a})=>a?"none":"translateX(2px)",({$disabled:a})=>a?"transparent":"rgba(255, 255, 255, 0.1)");h.div.withConfig({displayName:"GlassDropdown__GlassDropdownDivider",componentId:"sc-3mwn0b-2"})(["height:1px;background:rgba(255,255,255,0.1);margin:6px 8px;"]);const Rb=h.button.withConfig({displayName:"Button__StyledButton",componentId:"sc-6u8qew-0"})(["display:inline-flex;align-items:center;justify-content:center;gap:",";font-family:",";font-weight:",";text-align:center;text-decoration:none;cursor:pointer;border:2px solid transparent;transition:all ",";width:",";position:relative;overflow:hidden;"," "," "," &:disabled{cursor:not-allowed;opacity:0.5;background-color:",";color:",";border-color:",";}&:focus-visible{outline:2px solid ",";outline-offset:2px;}"],a=>a.theme.spacing.sm,a=>a.theme.typography.fontFamily.body,a=>a.theme.typography.fontWeight.medium,a=>a.theme.transitions.normal,({$fullWidth:a})=>a?"100%":"auto",({$size:a,theme:o})=>{switch(a){case"sm":return C(["padding:"," ",";font-size:",";border-radius:",";min-height:32px;"],o.spacing.sm,o.spacing.md,o.typography.fontSize.sm,o.borderRadius.md);case"md":return C(["padding:"," ",";font-size:",";border-radius:",";min-height:40px;"],o.spacing.md,o.spacing.lg,o.typography.fontSize.base,o.borderRadius.lg);case"lg":return C(["padding:"," ",";font-size:",";border-radius:",";min-height:48px;"],o.spacing.lg,o.spacing.xl,o.typography.fontSize.lg,o.borderRadius.lg);default:return C(["padding:"," ",";font-size:",";border-radius:",";min-height:40px;"],o.spacing.md,o.spacing.lg,o.typography.fontSize.base,o.borderRadius.lg)}},({$variant:a,theme:o})=>{var c,s,d,p,y,S,M,w,A;switch(a){case"primary":return C(["background-color:",";color:",";border-color:",";&:hover:not(:disabled){background-color:",";transform:translateY(-2px);box-shadow:",";","}&:active:not(:disabled){background-color:",";transform:translateY(0);box-shadow:",";}"],o.colors.primary,o.colors.background,o.colors.primary,o.colors.hover.primary,o.shadows.md,((c=o.extensions)==null?void 0:c.cyberpunk)&&C(["box-shadow:",";"],o.extensions.cyberpunk.neonGlow.magenta),o.colors.active.primary,o.shadows.sm);case"secondary":return C(["background-color:",";color:",";border-color:",";&:hover:not(:disabled){background-color:",";transform:translateY(-2px);box-shadow:",";","}&:active:not(:disabled){background-color:",";transform:translateY(0);box-shadow:",";}"],o.colors.secondary,o.colors.text.primary,o.colors.secondary,o.colors.hover.secondary,o.shadows.md,((s=o.extensions)==null?void 0:s.cyberpunk)&&C(["box-shadow:",";"],o.extensions.cyberpunk.neonGlow.cyan),o.colors.active.secondary,o.shadows.sm);case"accent":return C(["background-color:",";color:",";border-color:",";&:hover:not(:disabled){opacity:0.9;transform:translateY(-2px);box-shadow:",";","}&:active:not(:disabled){opacity:0.8;transform:translateY(0);box-shadow:",";}"],o.colors.accent,o.colors.background,o.colors.accent,o.shadows.md,((d=o.extensions)==null?void 0:d.cyberpunk)&&C(["box-shadow:",";"],o.extensions.cyberpunk.neonGlow.green),o.shadows.sm);case"ghost":return C(["background-color:transparent;color:",";border-color:transparent;&:hover:not(:disabled){background-color:",";}&:active:not(:disabled){background-color:",";}"],o.colors.primary,o.colors.hover.primary,o.colors.active.primary);case"danger":return C(["background-color:",";color:",";border-color:",";"," &:hover:not(:disabled){opacity:0.9;transform:translateY(-2px);box-shadow:",";","}&:active:not(:disabled){opacity:0.8;transform:translateY(0);box-shadow:",";}"],o.colors.error,o.colors.text.primary,o.colors.error,((p=o.extensions)==null?void 0:p.cyberpunk)&&C(["box-shadow:0 0 10px ","66;"],o.colors.error),o.shadows.md,((y=o.extensions)==null?void 0:y.cyberpunk)&&C(["box-shadow:0 0 15px ",";"],o.colors.error),o.shadows.sm);case"success":return C(["background-color:",";color:",";border-color:",";"," &:hover:not(:disabled){opacity:0.9;transform:translateY(-2px);box-shadow:",";","}&:active:not(:disabled){opacity:0.8;transform:translateY(0);box-shadow:",";}"],o.colors.success,o.colors.background.primary,o.colors.success,((S=o.extensions)==null?void 0:S.cyberpunk)&&C(["box-shadow:0 0 10px ","66;"],o.colors.success),o.shadows.md,((M=o.extensions)==null?void 0:M.cyberpunk)&&C(["box-shadow:0 0 15px ",";"],o.colors.success),o.shadows.sm);case"warning":return C(["background-color:",";color:",";border-color:",";"," &:hover:not(:disabled){opacity:0.9;transform:translateY(-2px);box-shadow:",";","}&:active:not(:disabled){opacity:0.8;transform:translateY(0);box-shadow:",";}"],o.colors.warning,o.colors.background.primary,o.colors.warning,((w=o.extensions)==null?void 0:w.cyberpunk)&&C(["box-shadow:0 0 10px ","66;"],o.colors.warning),o.shadows.md,((A=o.extensions)==null?void 0:A.cyberpunk)&&C(["box-shadow:0 0 15px ",";"],o.colors.warning),o.shadows.sm);case"position":return C(["background-color:","0d;color:",";border-color:","33;&:hover:not(:disabled){background-color:","1a;}&:active:not(:disabled){background-color:","26;}"],o.colors.text.primary,o.colors.text.primary,o.colors.text.primary,o.colors.text.primary,o.colors.text.primary);case"icon":return C(["background-color:transparent;color:",";border-color:transparent;padding:",";min-width:auto;&:hover:not(:disabled){background-color:","1a;}&:active:not(:disabled){background-color:","26;}"],o.colors.text.primary,o.spacing.sm,o.colors.text.primary,o.colors.text.primary);default:return""}},({$active:a,$variant:o,theme:c})=>a&&o&&C([""," "," "," "," ",""],o==="primary"&&C(["box-shadow:0 0 15px ",";"],c.colors.primary),o==="secondary"&&C(["box-shadow:0 0 10px ",";"],c.colors.secondary),o==="danger"&&C(["box-shadow:0 0 15px ",";"],c.colors.error),o==="success"&&C(["box-shadow:0 0 15px ",";"],c.colors.success),o==="warning"&&C(["box-shadow:0 0 15px ",";"],c.colors.warning)),a=>a.theme.colors.disabled.background,a=>a.theme.colors.disabled.text,a=>a.theme.colors.disabled.background,a=>a.theme.colors.primary),Gm=h.span.withConfig({displayName:"Button__IconWrapper",componentId:"sc-6u8qew-1"})(["display:inline-flex;align-items:center;flex-shrink:0;"]),at=v.forwardRef(({variant:a="primary",size:o="md",icon:c,iconPosition:s="left",active:d=!1,fullWidth:p=!1,disabled:y=!1,className:S,children:M,...w},A)=>f.jsxs(Rb,{ref:A,$variant:a,$size:o,$fullWidth:p,$active:d,disabled:y,className:S,...w,children:[c&&s==="left"&&f.jsx(Gm,{children:c}),M,c&&s==="right"&&f.jsx(Gm,{children:c})]}));at.displayName="Button";const Ub=h.span.withConfig({displayName:"Badge__StyledBadge",componentId:"sc-ssw4i4-0"})(["display:inline-flex;align-items:center;gap:",";font-family:",";font-weight:",";text-transform:uppercase;border-radius:",";white-space:nowrap;letter-spacing:0.05em;transition:all ",";backdrop-filter:blur(4px);cursor:",";user-select:",";"," "," ",""],a=>a.$size==="sm"?a.theme.spacing.xs:a.$size==="lg"?a.theme.spacing.sm:a.theme.spacing.xs,a=>a.theme.typography.fontFamily.mono||a.theme.typography.fontFamily.body,a=>a.theme.typography.fontWeight.bold,a=>a.theme.borderRadius.sm,a=>a.theme.transitions.fast,a=>a.$clickable?"pointer":"default",a=>a.$clickable?"none":"auto",({$size:a,theme:o})=>{switch(a){case"sm":return C(["padding:calc("," / 2) ",";font-size:",";height:18px;"],o.spacing.xs,o.spacing.sm,o.typography.fontSize.xs);case"lg":return C(["padding:"," calc("," + "," / 2);font-size:",";height:24px;"],o.spacing.xs,o.spacing.sm,o.spacing.xs,o.typography.fontSize.sm);case"md":default:return C(["padding:calc("," * 0.75) ",";font-size:calc("," * 0.92);height:20px;"],o.spacing.xs,o.spacing.sm,o.typography.fontSize.xs)}},({$variant:a,$outlined:o,$customColor:c,$glowing:s,theme:d})=>{var S,M;const y=(()=>{if(c)return c;switch(a){case"primary":return d.colors.primary;case"secondary":return d.colors.secondary;case"success":return d.colors.success;case"warning":return d.colors.warning;case"error":return d.colors.error;case"info":return d.colors.info||d.colors.secondary;case"default":default:return d.colors.text.secondary}})();return o?C(["background:","99;border:1px solid ",";color:",";"," ",""],d.colors.background.primary,y,y,s&&C(["box-shadow:0 0 8px ","66;text-shadow:0 0 4px ","88;"],y,y),((S=d.extensions)==null?void 0:S.cyberpunk)&&s&&C(["box-shadow:0 0 8px ","66,inset 0 1px 0 ","33;"],y,d.colors.text.primary)):C(["background:linear-gradient(45deg,","dd,","99);color:",";text-shadow:0 1px 2px ","cc;"," ",""],y,y,d.colors.text.primary,d.colors.background.primary,s&&C(["box-shadow:0 0 8px ","66;text-shadow:0 0 4px ","88;"],y,y),((M=d.extensions)==null?void 0:M.cyberpunk)&&C(["box-shadow:",";"],s?`0 0 8px ${y}66, inset 0 1px 0 ${d.colors.text.primary}33`:`inset 0 1px 0 ${d.colors.text.primary}33`))},({$clickable:a})=>a&&C(["&:hover{transform:translateY(-1px);filter:brightness(1.1);}&:active{transform:translateY(0);}"])),Bb=h.span.withConfig({displayName:"Badge__IconWrapper",componentId:"sc-ssw4i4-1"})(["display:inline-flex;align-items:center;font-size:",";"],a=>a.$size==="sm"?"11px":a.$size==="lg"?"14px":"12px"),Uh=({variant:a="default",size:o="md",icon:c,color:s,glowing:d=!1,outlined:p=!1,onClick:y,title:S,className:M,children:w})=>f.jsxs(Ub,{$variant:a,$size:o,$outlined:p,$glowing:d,$customColor:s,$clickable:!!y,onClick:y,title:S,className:M,children:[c&&f.jsx(Bb,{$size:o,children:c}),w]}),Hb=h.div.withConfig({displayName:"Input__InputWrapper",componentId:"sc-1nabsd0-0"})(["display:flex;flex-direction:column;width:",";margin-bottom:",";"],({$fullWidth:a})=>a?"100%":"auto",a=>a.theme.spacing.md),Gb=h.label.withConfig({displayName:"Input__Label",componentId:"sc-1nabsd0-1"})(["font-family:",";font-size:",";font-weight:",";color:",";margin-bottom:",";text-transform:uppercase;letter-spacing:0.05em;"],a=>a.theme.typography.fontFamily.body,a=>a.theme.typography.fontSize.sm,a=>a.theme.typography.fontWeight.medium,a=>a.theme.colors.text.primary,a=>a.theme.spacing.sm),qb=h.input.withConfig({displayName:"Input__StyledInput",componentId:"sc-1nabsd0-2"})(["font-family:",";font-size:",";padding:"," ",";border:2px solid ",";border-radius:",";background-color:",";color:",";transition:all ",";outline:none;&::placeholder{color:",";}&:hover:not(:disabled){","}&:focus{","}&:disabled{background-color:",";color:",";cursor:not-allowed;opacity:0.6;}"],a=>a.theme.typography.fontFamily.body,a=>a.theme.typography.fontSize.base,a=>a.theme.spacing.md,a=>a.theme.spacing.md,a=>a.$hasError?a.theme.colors.error:a.theme.colors.border,a=>a.theme.borderRadius.md,a=>a.theme.colors.surface||a.theme.colors.background.secondary||"rgba(0, 0, 0, 0.3)",a=>a.theme.colors.text.primary,a=>a.theme.transitions.normal,a=>a.theme.colors.text.muted,({$hasError:a,$variant:o,theme:c})=>{if(a)return C(["border-color:",";"],c.colors.error);switch(o){case"secondary":return C(["border-color:",";"],c.colors.secondary);case"danger":return C(["border-color:",";"],c.colors.error);case"primary":default:return C(["border-color:",";"],c.colors.primary)}},({$hasError:a,$variant:o,theme:c})=>{var p,y,S,M,w,A,b,k,D,$,Y;if(a)return C(["border-color:",";box-shadow:0 0 0 3px ","20;"],c.colors.error,c.colors.error);let s=c.colors.primary[500],d=(S=(y=(p=c.extensions)==null?void 0:p.cyberpunk)==null?void 0:y.neonGlow)==null?void 0:S.magenta;switch(o){case"secondary":s=((M=c.colors.secondary)==null?void 0:M[500])||c.colors.primary[500],d=(b=(A=(w=c.extensions)==null?void 0:w.cyberpunk)==null?void 0:A.neonGlow)==null?void 0:b.cyan;break;case"danger":s=c.colors.error[500],d=`0 0 10px ${c.colors.error[500]}66`;break;case"primary":default:s=c.colors.primary[500],d=($=(D=(k=c.extensions)==null?void 0:k.cyberpunk)==null?void 0:D.neonGlow)==null?void 0:$.magenta;break}return C(["border-color:",";box-shadow:0 0 0 3px ","20;",""],s,s,((Y=c.extensions)==null?void 0:Y.cyberpunk)&&C(["box-shadow:",";"],d))},a=>a.theme.colors.disabled.background,a=>a.theme.colors.disabled.text),Lb=h.span.withConfig({displayName:"Input__ErrorMessage",componentId:"sc-1nabsd0-3"})(["font-family:",";font-size:",";color:",";margin-top:",";"],a=>a.theme.typography.fontFamily.body,a=>a.theme.typography.fontSize.sm,a=>a.theme.colors.error,a=>a.theme.spacing.sm),Ti=v.forwardRef(({label:a,error:o,variant:c="primary",fullWidth:s=!1,className:d,id:p,...y},S)=>{const M=p||(a==null?void 0:a.toLowerCase().replace(/\s+/g,"-"));return f.jsxs(Hb,{$fullWidth:s,className:d,children:[a&&f.jsx(Gb,{htmlFor:M,children:a}),f.jsx(qb,{ref:S,$hasError:!!o,$variant:c,id:M,...y}),o&&f.jsx(Lb,{role:"alert",children:o})]})});Ti.displayName="Input";h.div.withConfig({displayName:"Textarea__TextareaWrapper",componentId:"sc-12e23l1-0"})(["display:flex;flex-direction:column;width:",";margin-bottom:",";"],({$fullWidth:a})=>a?"100%":"auto",a=>a.theme.spacing.md);h.label.withConfig({displayName:"Textarea__Label",componentId:"sc-12e23l1-1"})(["font-family:",";font-size:",";font-weight:",";color:",";margin-bottom:",";text-transform:uppercase;letter-spacing:0.05em;"],a=>a.theme.typography.fontFamily.body,a=>a.theme.typography.fontSize.sm,a=>a.theme.typography.fontWeight.medium,a=>a.theme.colors.text.primary,a=>a.theme.spacing.sm);h.textarea.withConfig({displayName:"Textarea__StyledTextarea",componentId:"sc-12e23l1-2"})(["font-family:",";font-size:",";padding:"," ",";border:2px solid ",";border-radius:",";background-color:",";color:",";transition:all ",";outline:none;resize:vertical;min-height:120px;&::placeholder{color:",";}&:hover:not(:disabled){border-color:",";}&:focus{border-color:",";box-shadow:0 0 0 3px ",";","}&:disabled{background-color:",";color:",";cursor:not-allowed;opacity:0.6;resize:none;}"],a=>a.theme.typography.fontFamily.body,a=>a.theme.typography.fontSize.base,a=>a.theme.spacing.md,a=>a.theme.spacing.md,a=>a.$hasError?a.theme.colors.error:a.theme.colors.border,a=>a.theme.borderRadius.md,a=>a.theme.colors.surface,a=>a.theme.colors.text.primary,a=>a.theme.transitions.normal,a=>a.theme.colors.text.muted,a=>a.$hasError?a.theme.colors.error:a.theme.colors.primary,a=>a.$hasError?a.theme.colors.error:a.theme.colors.primary,a=>a.$hasError?`${a.theme.colors.error}20`:`${a.theme.colors.primary}20`,a=>{var o;return((o=a.theme.extensions)==null?void 0:o.cyberpunk)&&!a.$hasError&&C(["box-shadow:",";"],a.theme.extensions.cyberpunk.neonGlow.magenta)},a=>a.theme.colors.disabled.background,a=>a.theme.colors.disabled.text);h.span.withConfig({displayName:"Textarea__ErrorMessage",componentId:"sc-12e23l1-3"})(["font-family:",";font-size:",";color:",";margin-top:",";"],a=>a.theme.typography.fontFamily.body,a=>a.theme.typography.fontSize.sm,a=>a.theme.colors.error,a=>a.theme.spacing.sm);const us=h.div.withConfig({displayName:"Card__StyledCard",componentId:"sc-pcad0q-0"})(["background-color:",";border:1px solid ",";border-radius:",";overflow:hidden;transition:all ",";cursor:",";"," &:active{","}"],a=>a.theme.colors.surface,a=>a.theme.colors.border,a=>a.theme.borderRadius.lg,a=>a.theme.transitions.normal,({$clickable:a})=>a?"pointer":"default",({$hoverable:a,theme:o})=>{var c;return a&&C(["&:hover{transform:translateY(-4px);box-shadow:",";border-color:",";","}"],o.shadows.lg,o.colors.primary,((c=o.extensions)==null?void 0:c.cyberpunk)&&C(["box-shadow:",";"],o.extensions.cyberpunk.neonGlow.large))},({$clickable:a,theme:o})=>a&&C(["transform:translateY(-2px);box-shadow:",";"],o.shadows.md)),Yb=h.div.withConfig({displayName:"Card__CardImage",componentId:"sc-pcad0q-1"})(["position:relative;width:100%;aspect-ratio:16 / 9;overflow:hidden;img{width:100%;height:100%;object-fit:cover;transition:transform ",";}"," ",":hover & img{transform:scale(1.05);}",":hover &::after{","}"],a=>a.theme.transitions.slow,({$overlay:a,theme:o})=>a&&C(["&::after{content:'';position:absolute;inset:0;background:","33;transition:background ",";}"],o.colors.background.primary,o.transitions.normal),us,us,({$overlay:a,theme:o})=>a&&C(["background:","66;"],o.colors.background.primary)),Vb=h.div.withConfig({displayName:"Card__CardContent",componentId:"sc-pcad0q-2"})(["padding:",";"],({$padding:a,theme:o})=>{switch(a){case"none":return"0";case"sm":return o.spacing.md;case"md":return o.spacing.lg;case"lg":return o.spacing.xl;default:return o.spacing.lg}}),Ra=({imageSrc:a,imageAlt:o="",overlay:c=!1,padding:s="md",hoverable:d=!0,onClick:p,className:y,children:S})=>f.jsxs(us,{$padding:s,$hoverable:d,$clickable:!!p,onClick:p,className:y,role:p?"button":void 0,tabIndex:p?0:void 0,onKeyDown:p?M=>{(M.key==="Enter"||M.key===" ")&&(M.preventDefault(),p())}:void 0,children:[a&&f.jsx(Yb,{$overlay:c,children:f.jsx("img",{src:a,alt:o,loading:"lazy"})}),f.jsx(Vb,{$padding:s,children:S})]});h.div.withConfig({displayName:"FormGroup__FormGroupContainer",componentId:"sc-1vrp5rv-0"})(["margin-bottom:",";"],a=>a.theme.spacing.xl);h.label.withConfig({displayName:"FormGroup__Label",componentId:"sc-1vrp5rv-1"})(["display:block;margin-bottom:",";font-weight:",";color:",";font-size:",";",""],a=>a.theme.spacing.sm,a=>a.theme.typography.fontWeight.medium,a=>a.theme.colors.text.primary,a=>a.theme.typography.fontSize.sm,a=>{var o;return((o=a.theme.extensions)==null?void 0:o.cyberpunk)&&C(["color:",";font-weight:",";"],a.theme.colors.accent,a.theme.typography.fontWeight.bold)});h.span.withConfig({displayName:"FormGroup__RequiredAsterisk",componentId:"sc-1vrp5rv-2"})(["color:",";",""],a=>a.theme.colors.error,a=>{var o;return((o=a.theme.extensions)==null?void 0:o.cyberpunk)&&C(["text-shadow:0 0 5px ",";"],a.theme.colors.error)});h.div.withConfig({displayName:"FormGroup__HelpText",componentId:"sc-1vrp5rv-3"})(["margin-top:",";font-size:",";color:",";line-height:1.4;"],a=>a.theme.spacing.xs,a=>a.theme.typography.fontSize.xs,a=>a.theme.colors.text.secondary);h.div.withConfig({displayName:"FormGroup__ErrorText",componentId:"sc-1vrp5rv-4"})(["margin-top:",";font-size:",";color:",";",""],a=>a.theme.spacing.xs,a=>a.theme.typography.fontSize.xs,a=>a.theme.colors.error,a=>{var o;return((o=a.theme.extensions)==null?void 0:o.cyberpunk)&&C(["text-shadow:0 0 5px ",";"],a.theme.colors.error)});const Xb=h.select.withConfig({displayName:"Select__StyledSelect",componentId:"sc-4sroqh-0"})(["background:",";border:2px solid ",";color:",";padding:",";font-family:",";font-size:",";outline:none;transition:all ",";width:",";cursor:pointer;border-radius:",";"," &:focus{","}&:disabled{opacity:0.5;cursor:not-allowed;background-color:",";color:",";}&:hover:not(:disabled){border-color:",";}"],a=>a.theme.colors.background,a=>a.theme.colors.border,a=>a.theme.colors.text.primary,a=>a.theme.spacing.md,a=>a.theme.typography.fontFamily.body,a=>a.theme.typography.fontSize.base,a=>a.theme.transitions.normal,a=>a.$fullWidth?"100%":"auto",a=>a.theme.borderRadius.md,a=>{var o;return((o=a.theme.extensions)==null?void 0:o.cyberpunk)&&C(["background:",";color:",";"],a.theme.colors.surface,a.theme.colors.primary)},({$variant:a,theme:o})=>{var c,s,d;switch(a){case"primary":return C(["border-color:",";box-shadow:0 0 0 3px ","20;",""],o.colors.primary,o.colors.primary,((c=o.extensions)==null?void 0:c.cyberpunk)&&C(["box-shadow:0 0 10px ",";"],o.colors.primary));case"secondary":return C(["border-color:",";box-shadow:0 0 0 3px ","20;",""],o.colors.secondary,o.colors.secondary,((s=o.extensions)==null?void 0:s.cyberpunk)&&C(["box-shadow:0 0 10px ",";"],o.colors.secondary));case"danger":return C(["border-color:",";box-shadow:0 0 0 3px ","20;",""],o.colors.error,o.colors.error,((d=o.extensions)==null?void 0:d.cyberpunk)&&C(["box-shadow:0 0 10px ",";"],o.colors.error));default:return C(["border-color:",";box-shadow:0 0 0 3px ","20;"],o.colors.primary,o.colors.primary)}},a=>a.theme.colors.disabled.background,a=>a.theme.colors.disabled.text,a=>{switch(a.$variant){case"secondary":return a.theme.colors.secondary;case"danger":return a.theme.colors.error;default:return a.theme.colors.primary}}),Bh=v.forwardRef(({variant:a="primary",fullWidth:o=!1,options:c,children:s,placeholder:d,...p},y)=>f.jsxs(Xb,{ref:y,$variant:a,$fullWidth:o,...p,children:[d&&f.jsx("option",{value:"",disabled:!0,children:d}),c?c.map(S=>f.jsx("option",{value:S.value,disabled:S.disabled,children:S.label},S.value)):s]}));Bh.displayName="Select";h.div.withConfig({displayName:"Alert__StyledAlert",componentId:"sc-1sk2ch8-0"})(["padding:",";border:2px solid;border-radius:",";font-family:",";font-size:",";line-height:1.5;",""],a=>a.theme.spacing.md,a=>a.theme.borderRadius.md,a=>a.theme.typography.fontFamily.body,a=>a.theme.typography.fontSize.base,({$variant:a,theme:o})=>{var d;let c=o.colors.primary;const s="15";switch(a){case"success":c=o.colors.success;break;case"warning":c=o.colors.warning;break;case"error":c=o.colors.error;break;case"info":default:c=o.colors.secondary||o.colors.primary;break}return C(["border-color:",";background:","",";color:",";",""],c,c,s,c,((d=o.extensions)==null?void 0:d.cyberpunk)&&C(["box-shadow:0 0 10px ","33;"],c))});const Qb=Kn(["0%{transform:rotate(0deg);}100%{transform:rotate(360deg);}"]);h.div.withConfig({displayName:"Spinner__Container",componentId:"sc-lrxxcv-0"})(["display:inline-flex;flex-direction:column;align-items:center;gap:",";"],a=>a.theme.spacing.sm);h.div.withConfig({displayName:"Spinner__StyledSpinner",componentId:"sc-lrxxcv-1"})([""," ",""],({$size:a})=>{const o={sm:"16px",md:"32px",lg:"48px"};return C(["width:",";height:",";"],o[a||"md"],o[a||"md"])},({$variant:a,theme:o})=>{var s,d;let c=o.colors.primary[500];switch(a){case"secondary":c=((s=o.colors.secondary)==null?void 0:s[500])||o.colors.primary[500];break;case"success":c=o.colors.success[500];break;case"primary":default:c=o.colors.primary[500];break}return C(["border:3px solid ","30;border-top:3px solid ",";border-radius:50%;animation:"," 1s linear infinite;",""],c,c,Qb,((d=o.extensions)==null?void 0:d.cyberpunk)&&C(["box-shadow:0 0 10px ","66;"],c))});h.span.withConfig({displayName:"Spinner__Label",componentId:"sc-lrxxcv-2"})(["color:",";font-size:",";font-family:",";margin-top:",";"],a=>a.theme.colors.text.primary,a=>a.theme.typography.fontSize.sm,a=>a.theme.typography.fontFamily.body,a=>a.theme.spacing.xs);h.div.withConfig({displayName:"Avatar__Container",componentId:"sc-18jnxep-0"})(["position:relative;display:inline-block;"]);h.div.withConfig({displayName:"Avatar__AvatarCircle",componentId:"sc-18jnxep-1"})([""," border-radius:50%;border:2px solid ",";box-shadow:",";display:flex;align-items:center;justify-content:center;background-color:",";color:",";font-weight:",";overflow:hidden;user-select:none;",""],({$size:a,theme:o})=>{const c={sm:"32px",md:"40px",lg:"56px",xl:"72px"},s={sm:o.typography.fontSize.xs,md:o.typography.fontSize.sm,lg:o.typography.fontSize.base,xl:o.typography.fontSize.lg};return C(["width:",";height:",";font-size:",";"],c[a||"md"],c[a||"md"],s[a||"md"])},a=>a.theme.colors.secondary||a.theme.colors.primary,a=>a.theme.shadows.sm,a=>a.theme.colors.surface,a=>a.theme.colors.secondary||a.theme.colors.primary,a=>a.theme.typography.fontWeight.bold,a=>{var o;return((o=a.theme.extensions)==null?void 0:o.cyberpunk)&&C(["box-shadow:0 0 10px ","50;"],a.theme.colors.secondary||a.theme.colors.primary)});h.img.withConfig({displayName:"Avatar__AvatarImage",componentId:"sc-18jnxep-2"})(["width:100%;height:100%;object-fit:cover;"]);h.div.withConfig({displayName:"Avatar__StatusBadge",componentId:"sc-18jnxep-3"})(["position:absolute;bottom:0;right:0;"," border-radius:50%;border:2px solid ",";",""],({$size:a})=>{const o={sm:"8px",md:"10px",lg:"12px",xl:"14px"};return C(["width:",";height:",";"],o[a||"md"],o[a||"md"])},a=>a.theme.colors.background,({$status:a,theme:o})=>{var s,d,p,y;let c=o.colors.text.secondary;switch(a){case"online":c=((s=o.colors.success)==null?void 0:s[500])??o.colors.success??o.colors.primary;break;case"away":c=((d=o.colors.warning)==null?void 0:d[500])??o.colors.warning??o.colors.secondary;break;case"busy":c=((p=o.colors.error)==null?void 0:p[500])??o.colors.error??o.colors.primary;break;case"offline":default:c=o.colors.text.secondary;break}return C(["background-color:",";",""],c,((y=o.extensions)==null?void 0:y.cyberpunk)&&a==="online"&&C(["box-shadow:0 0 5px ",";"],c))});const Zb=h.label.withConfig({displayName:"Checkbox__CheckboxContainer",componentId:"sc-1fk39le-0"})(["display:inline-flex;align-items:center;cursor:",";opacity:",";user-select:none;"],a=>a.$disabled?"not-allowed":"pointer",a=>a.$disabled?.5:1),Hh=h.input.withConfig({displayName:"Checkbox__StyledCheckbox",componentId:"sc-1fk39le-1"})(["width:18px;height:18px;margin-right:",";cursor:",";outline:none;accent-color:",";&:focus-visible{outline:2px solid ",";outline-offset:2px;}",""],a=>a.$hasLabel?a.theme.spacing.sm:"0",a=>a.disabled?"not-allowed":"pointer",a=>{switch(a.$variant){case"secondary":return a.theme.colors.secondary;case"success":return a.theme.colors.success;case"primary":default:return a.theme.colors.primary}},a=>{switch(a.$variant){case"secondary":return a.theme.colors.secondary;case"success":return a.theme.colors.success;case"primary":default:return a.theme.colors.primary}},({$variant:a,theme:o,checked:c})=>{var s;return c&&((s=o.extensions)==null?void 0:s.cyberpunk)&&C(["",""],()=>{var p;let d=o.colors.primary[500];switch(a){case"secondary":d=((p=o.colors.secondary)==null?void 0:p[500])||o.colors.primary[500];break;case"success":d=o.colors.success[500];break}return C(["box-shadow:0 0 8px ","88;"],d)})}),Ib=h.span.withConfig({displayName:"Checkbox__LabelText",componentId:"sc-1fk39le-2"})(["color:",";font-size:",";font-family:",";user-select:none;"],a=>a.theme.colors.text.primary,a=>a.theme.typography.fontSize.base,a=>a.theme.typography.fontFamily.body),Kb=h(Hh).withConfig({displayName:"Checkbox__StandaloneCheckbox",componentId:"sc-1fk39le-3"})(["margin-right:0;"]),Wb=v.forwardRef(({label:a,variant:o="primary",className:c,style:s,...d},p)=>a?f.jsxs(Zb,{$disabled:!!d.disabled,className:c,style:s,children:[f.jsx(Hh,{ref:p,type:"checkbox",$variant:o,$hasLabel:!0,...d}),f.jsx(Ib,{children:a})]}):f.jsx(Kb,{ref:p,type:"checkbox",$variant:o,$hasLabel:!1,className:c,style:s,...d}));Wb.displayName="Checkbox";h.span.withConfig({displayName:"StatusBadge__Badge",componentId:"sc-ia4h2e-0"})(["display:inline-block;padding:",";border-radius:",";font-size:",";font-weight:",";text-transform:capitalize;white-space:nowrap;border:1px solid transparent;transition:all ",";"," ",""],a=>a.$size==="small"?`${a.theme.spacing.xs} ${a.theme.spacing.xs}`:`${a.theme.spacing.xs} ${a.theme.spacing.sm}`,a=>a.theme.borderRadius.sm,a=>a.$size==="small"?a.theme.typography.fontSize.xs:a.theme.typography.fontSize.sm,a=>a.theme.typography.fontWeight.medium,a=>a.theme.transitions.normal,a=>{const c={success:a.theme.colors.success,warning:a.theme.colors.warning,error:a.theme.colors.error,info:a.theme.colors.primary,neutral:a.theme.colors.text.secondary}[a.$variant];return a.$isActive?` - background: ${c}; - color: ${a.theme.colors.background.primary}; - border-color: ${c}; - `:` - background: ${c}20; - color: ${c}; - border-color: ${c}66; - `},a=>a.$isClickable?` - cursor: pointer; - - &:hover { - background: ${(()=>{const c={success:a.theme.colors.success,warning:a.theme.colors.warning,error:a.theme.colors.error,info:a.theme.colors.primary,neutral:a.theme.colors.text.secondary}[a.$variant];return a.$isActive?c:`${c}30`})()}; - border-color: ${{success:a.theme.colors.success,warning:a.theme.colors.warning,error:a.theme.colors.error,info:a.theme.colors.primary,neutral:a.theme.colors.text.secondary}[a.$variant]}99; - } - - &:active { - transform: scale(0.98); - } - `:"");h.div.withConfig({displayName:"SegmentedControl__Container",componentId:"sc-829qtd-0"})(["display:inline-flex;align-items:stretch;border:2px solid ",";border-radius:",";overflow:hidden;background-color:",";transition:border-color ",";&:focus-within{border-color:",";box-shadow:0 0 0 2px ","33;}"],a=>a.theme.colors.border,a=>a.theme.borderRadius.lg,a=>typeof a.theme.colors.background=="object"?a.theme.colors.background.secondary:a.theme.colors.surface,a=>a.theme.transitions.normal,a=>a.theme.colors.primary,a=>a.theme.colors.primary);h.button.withConfig({displayName:"SegmentedControl__OptionButton",componentId:"sc-829qtd-1"})(["position:relative;display:inline-flex;align-items:center;justify-content:center;font-family:",";font-weight:",";text-align:center;cursor:pointer;border:none;border-right:1px solid ",";transition:all ",";white-space:nowrap;flex-shrink:0;&:last-child{border-right:none;}"," "," &:disabled{cursor:not-allowed;opacity:0.5;color:",";&:hover{background-color:transparent;}}&:focus-visible{outline:2px solid ",";outline-offset:-2px;z-index:1;}&:focus{outline:none;}"],a=>a.theme.typography.fontFamily.body,a=>a.theme.typography.fontWeight.medium,a=>a.theme.colors.border,a=>a.theme.transitions.normal,({$size:a,$hasIcon:o,theme:c})=>{switch(a){case"sm":return C(["padding:",";font-size:",";gap:",";min-height:32px;"],o?`${c.spacing.xs} ${c.spacing.sm}`:`${c.spacing.xs} ${c.spacing.md}`,c.typography.fontSize.sm,c.spacing.xs);case"md":return C(["padding:",";font-size:",";gap:",";min-height:40px;"],o?`${c.spacing.sm} ${c.spacing.md}`:`${c.spacing.sm} ${c.spacing.lg}`,c.typography.fontSize.base,c.spacing.sm);default:return C(["padding:"," ",";font-size:",";gap:",";min-height:40px;"],c.spacing.sm,c.spacing.md,c.typography.fontSize.base,c.spacing.sm)}},({$active:a,theme:o})=>{var c;return a?C(["background-color:",";color:",";font-weight:",";",""],o.colors.primary,typeof o.colors.background=="object"?o.colors.background.primary:o.colors.text.primary,o.typography.fontWeight.semibold,((c=o.extensions)==null?void 0:c.cyberpunk)&&C(["box-shadow:inset 0 0 10px ","33;"],o.colors.primary)):C(["background-color:transparent;color:",";&:hover:not(:disabled){background-color:",";color:",";}&:active:not(:disabled){background-color:",";}"],o.colors.text.secondary,typeof o.colors.background=="object"?o.colors.background.tertiary:o.colors.hover.surface,o.colors.text.primary,o.colors.hover.primary)},a=>a.theme.colors.disabled.text,a=>a.theme.colors.primary);h.span.withConfig({displayName:"SegmentedControl__IconWrapper",componentId:"sc-829qtd-2"})(["display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;"," svg{width:100%;height:100%;}"],({$size:a})=>a==="sm"?C(["width:16px;height:16px;"]):C(["width:20px;height:20px;"]));h.span.withConfig({displayName:"SegmentedControl__Label",componentId:"sc-829qtd-3"})([""]);const Jc={CRITICAL:"#ef4444",HIGH:"#f97316",MEDIUM:"#eab308",LOW:"#22c55e"};h.span.withConfig({displayName:"SeverityBadge__Badge",componentId:"sc-qg66i2-0"})(["display:inline-flex;align-items:center;gap:",";border-radius:",";font-weight:",";text-transform:uppercase;letter-spacing:0.5px;padding:",";font-size:",";background-color:",";color:",";border:1px solid ",";"],a=>a.theme.spacing.xs,a=>a.theme.borderRadius.xs,a=>a.theme.typography.fontWeight.semibold,a=>{const o=a.theme;switch(a.$size){case"small":return`2px ${o.spacing.xs}`;case"large":return`${o.spacing.xs} ${o.spacing.md}`;default:return`${o.spacing.xs} ${o.spacing.sm}`}},a=>{const o=a.theme;switch(a.$size){case"small":return"10px";case"large":return o.typography.fontSize.sm;default:return o.typography.fontSize.xs}},a=>`${Jc[a.$severity]}20`,a=>Jc[a.$severity],a=>`${Jc[a.$severity]}40`);h.span.withConfig({displayName:"SeverityBadge__IconWrapper",componentId:"sc-qg66i2-1"})(["display:inline-flex;align-items:center;font-size:",";"],a=>{switch(a.$size){case"small":return"8px";case"large":return"14px";default:return"10px"}});const Gh=v.createContext(null),qh=v.createContext(null);function Lh(){const a=v.useContext(Gh);if(!a)throw new Error("useFABContext must be used within FAB.Root");return a}function Yh(){const a=v.useContext(qh);if(!a)throw new Error("useCategoryContext must be used within FAB.Category");return a}const Qn={1:"0.25rem",2:"0.5rem",3:"0.75rem",4:"1rem"},$a={colors:{primary:{},gray:{},success:{},error:{},warning:{},info:{},white:"#ffffff",black:"#000000"}};$a.colors.primary,$a.colors.gray,$a.colors.success,$a.colors.error,$a.colors.warning,$a.colors.info,$a.colors.white,$a.colors.black;const Fb=h.div.withConfig({displayName:"styles__FABContainer",componentId:"sc-1cj831l-0"})(["position:relative;display:inline-block;overflow:visible;"]),Jb=h(_t.div).withConfig({displayName:"styles__FABBackdrop",componentId:"sc-1cj831l-1"})(["position:fixed;inset:0;background:rgba(0,0,0,0.2);backdrop-filter:blur(2px);z-index:99;pointer-events:auto;cursor:pointer;@media (prefers-reduced-motion:reduce){backdrop-filter:none;}"]),Pb=h(_t.button).withConfig({displayName:"styles__FABMainButton",componentId:"sc-1cj831l-2"})(["width:56px;height:56px;border-radius:50%;border:2px solid rgba(255,255,255,0.2);background:linear-gradient(135deg,#6366f1 0%,#8b5cf6 100%);color:white;cursor:pointer;display:flex;align-items:center;justify-content:center;box-shadow:0 4px 15px rgba(0,0,0,0.3),0 0 30px rgba(99,102,241,0.3);transition:all 0.3s ease;position:relative;z-index:110;& > *,& > * *{pointer-events:none !important;}&:hover{border-color:rgba(255,255,255,0.4);box-shadow:0 6px 20px rgba(0,0,0,0.4),0 0 40px rgba(99,102,241,0.5);}&:focus-visible{outline:2px solid rgba(255,255,255,0.8);outline-offset:2px;}@media (max-width:480px){width:52px;height:52px;}@media (prefers-reduced-motion:reduce){transition:none;}@media (prefers-contrast:high){border-width:3px;}@media (prefers-color-scheme:dark){box-shadow:0 4px 15px rgba(0,0,0,0.5),0 0 30px rgba(99,102,241,0.4);}"]);h.div.withConfig({displayName:"styles__FABActionsContainer",componentId:"sc-1cj831l-3"})(["position:absolute;bottom:0;right:0;z-index:102;"]);const ex=h.div.withConfig({displayName:"styles__CategoriesContainer",componentId:"sc-1cj831l-4"})(["position:absolute;display:flex;gap:",";z-index:110;"," @media (max-width:480px){gap:",";","}"],Qn[3],({$layout:a="V"})=>a==="H"?C(["flex-direction:row;align-items:center;bottom:",";right:calc(56px + ",");"],Qn[1],Qn[4]):C(["flex-direction:column;align-items:flex-end;bottom:calc(56px + ",");right:0;"],Qn[3]),Qn[2],({$layout:a="V"})=>a==="V"&&C(["bottom:calc(52px + ",");"],Qn[2])),tx=h.div.withConfig({displayName:"styles__CategoryRow",componentId:"sc-1cj831l-5"})(["position:relative;display:flex;align-items:center;"]),ax=h(_t.button).withConfig({displayName:"styles__CategoryButtonStyled",componentId:"sc-1cj831l-6"})(["position:relative;z-index:112;width:48px;height:48px;border-radius:50%;border:2px solid rgba(255,255,255,0.2);cursor:pointer;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:2px;box-shadow:0 4px 12px rgba(0,0,0,0.3);transition:all 0.3s ease;color:white;flex-shrink:0;background:rgba(0,0,0,0.7);backdrop-filter:blur(10px);&:hover{border-color:rgba(255,255,255,0.4);box-shadow:0 6px 16px rgba(0,0,0,0.4);}&:focus-visible{outline:2px solid rgba(255,255,255,0.8);outline-offset:2px;}@media (max-width:480px){width:44px;height:44px;}@media (prefers-reduced-motion:reduce){transition:none;}@media (prefers-contrast:high){border-width:3px;}"]);h(_t.div).withConfig({displayName:"styles__ToggleGroupContainer",componentId:"sc-1cj831l-7"})(["display:flex;align-items:center;gap:6px;"]);const nx=C(["border-color:rgba(255,255,255,0.6);box-shadow:0 2px 8px rgba(0,0,0,0.3),0 0 15px rgba(255,255,255,0.2);"]);h(_t.button).withConfig({displayName:"styles__ToggleOptionButton",componentId:"sc-1cj831l-8"})(["position:relative;width:48px;height:48px;border-radius:50%;border:2px solid rgba(255,255,255,0.15);cursor:pointer;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:2px;box-shadow:0 2px 8px rgba(0,0,0,0.3);transition:all 0.2s ease;color:white;flex-shrink:0;background:rgba(0,0,0,0.6);backdrop-filter:blur(8px);&:hover{border-color:rgba(255,255,255,0.4);transform:scale(1.05);}&:focus-visible{outline:2px solid rgba(255,255,255,0.8);outline-offset:2px;}"," @media (max-width:480px){width:44px;height:44px;}@media (prefers-reduced-motion:reduce){transition:none;}@media (prefers-contrast:high){border-width:3px;}"],({$active:a})=>a&&nx);const lx=h(_t.div).withConfig({displayName:"styles__CategoryItemsContainer",componentId:"sc-1cj831l-9"})(["position:absolute;bottom:0;display:flex;align-items:center;gap:6px;z-index:112;"," "," @media (max-width:480px){gap:4px;padding-right:6px;}"],({$position:a="right"})=>a==="left"?C(["left:56px;padding-left:8px;"]):C(["right:56px;padding-right:8px;"]),({$layout:a="H"})=>a==="H"?C(["flex-direction:row;"]):C(["flex-direction:column;"])),ox=C(["border-color:rgba(255,255,255,0.6);box-shadow:0 2px 8px rgba(0,0,0,0.3),0 0 15px rgba(255,255,255,0.2);"]),ix=h(_t.button).withConfig({displayName:"styles__ItemButtonStyled",componentId:"sc-1cj831l-10"})(["position:relative;z-index:115;width:48px;height:48px;border-radius:50%;border:2px solid rgba(255,255,255,0.15);cursor:pointer;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:2px;box-shadow:0 2px 8px rgba(0,0,0,0.3);transition:all 0.2s ease;color:white;background:rgba(0,0,0,0.6);backdrop-filter:blur(8px);&:hover{border-color:rgba(255,255,255,0.4);transform:scale(1.05);}&:focus-visible{outline:2px solid rgba(255,255,255,0.8);outline-offset:2px;}"," @media (max-width:480px){width:44px;height:44px;}@media (prefers-reduced-motion:reduce){transition:none;}"],({$active:a})=>a&&ox),Vh=h.span.withConfig({displayName:"styles__ItemLabel",componentId:"sc-1cj831l-11"})(["font-size:0.6rem;font-weight:600;text-transform:uppercase;letter-spacing:0.5px;opacity:0.9;@media (max-width:480px){font-size:0.45rem;}"]);h(_t.div).withConfig({displayName:"styles__ChildrenContainer",componentId:"sc-1cj831l-12"})(["position:absolute;bottom:0;right:72px;z-index:101;"]);const rx=h(_t.div).withConfig({displayName:"ActionButton__IconWrapper",componentId:"sc-1817t6i-0"})(["pointer-events:none;& *{pointer-events:none !important;}"]),cx={open:"Open settings",close:"Close settings",title:"Settings"},sx=({icon:a,ariaLabels:o=cx,className:c})=>{const{isExpanded:s,fabRotation:d,toggleExpanded:p}=Lh();return f.jsx(Pb,{className:c,onClick:p,whileHover:{scale:1.05},whileTap:{scale:.95},"aria-expanded":s,"aria-label":s?o.close:o.open,title:o.title,"data-testid":"fab-action-button",children:f.jsx(rx,{animate:{rotate:d},whileHover:{rotate:d+90},transition:{duration:.5,ease:[.4,0,.2,1]},children:a})})},ux=({id:a,label:o,children:c,className:s,layout:d="H"})=>{const{expandedCategory:p,setExpandedCategory:y,isExpanded:S,position:M}=Lh(),w=p===a,A=v.useCallback(()=>{y(w?null:a)},[a,w,y]),b={id:a,label:o,isExpanded:w,toggle:A,layout:d,position:M};return S?f.jsx(qh.Provider,{value:b,children:f.jsx(tx,{className:s,"data-testid":`category-${a}`,children:c})}):null},dx=({icon:a,expandedIcon:o,label:c,className:s})=>{const{isExpanded:d,toggle:p,label:y,id:S}=Yh();return f.jsxs(ax,{className:s,onClick:p,whileHover:{scale:1.1},whileTap:{scale:.95},"aria-expanded":d,"aria-label":y,title:y,"data-testid":`category-button-${S}`,children:[d&&o?o:a,c&&f.jsx(Vh,{children:c})]})},fx=({children:a,className:o})=>{const{isExpanded:c,id:s,layout:d,position:p}=Yh(),y=v.Children.count(a);return f.jsx(ph,{children:c&&f.jsx(lx,{className:o,initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},"data-testid":`category-items-${s}`,$layout:d,$position:p,children:v.Children.map(a,(S,M)=>v.isValidElement(S)?v.cloneElement(S,{$animationIndex:y-1-M}):S)})})},mx=({id:a,icon:o,label:c,active:s=!1,onClick:d,title:p,ariaLabel:y,className:S,$animationIndex:M=0})=>f.jsxs(ix,{className:S,$active:s,onClick:d,initial:{scale:.5,opacity:0,x:20},animate:{scale:1,opacity:1,x:0},exit:{scale:.5,opacity:0,x:20},transition:{type:"spring",stiffness:500,damping:30,delay:M*.03},whileHover:{scale:1.1},whileTap:{scale:.95},title:p??c,"aria-label":y??`Select ${c??a}`,"aria-pressed":s,"data-active":s,"data-testid":`fab-item-${a}`,children:[o,c&&f.jsx(Vh,{children:c})]});function hx(a,o,c=!0){v.useEffect(()=>{if(!c)return;const s=d=>{a.current&&!a.current.contains(d.target)&&o()};return document.addEventListener("mousedown",s),()=>{document.removeEventListener("mousedown",s)}},[a,o,c])}function px(a,o=!0){v.useEffect(()=>{if(!o)return;const c=s=>{s.key==="Escape"&&a()};return document.addEventListener("keydown",c),()=>{document.removeEventListener("keydown",c)}},[a,o])}const gx=({children:a,onToggle:o,testId:c,className:s,position:d="right",layout:p="V"})=>{const[y,S]=v.useState(!1),[M,w]=v.useState(0),[A,b]=v.useState(null),k=v.useRef(null),D=v.useCallback(()=>{A?b(null):y&&(w(0),S(!1),o==null||o(!1))},[A,y,o]),$=v.useCallback(()=>{const I=!y;w(I?540:0),S(I),I||b(null),o==null||o(I)},[y,o]),Y=v.useCallback(I=>{b(I)},[]);hx(k,D,y),px(D,y||A!==null);const Q={isExpanded:y,fabRotation:M,expandedCategory:A,toggleExpanded:$,setExpandedCategory:Y,position:d},E=v.Children.toArray(a),q=E[0],V=E.slice(1);return f.jsx(Gh.Provider,{value:Q,children:f.jsxs(Fb,{ref:k,className:s,"data-testid":c,$position:d,children:[f.jsx(ph,{children:y&&f.jsx(Jb,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},transition:{duration:.2},onClick:D,"data-testid":"fab-backdrop"})}),q,V.length>0&&f.jsx(ex,{$layout:p,children:V})]})})},ut={Root:gx,ActionButton:sx,Category:ux,CategoryButton:dx,CategoryItems:fx,Item:mx};h.div.withConfig({displayName:"MultiFABRoot__MultiFABContainer",componentId:"sc-3xt5ji-0"})(["display:flex;gap:1rem;"," ",""],({$layout:a})=>a==="H"?C(["flex-direction:row;align-items:flex-end;"]):C(["flex-direction:column;align-items:flex-start;"]),({$animationStyle:a})=>a==="genie"&&C([""]));h.div.withConfig({displayName:"MultiStepForm__FormContainer",componentId:"sc-110sius-0"})(["background:",";border:1px solid ",";border-radius:",";overflow:hidden;"],a=>a.theme.colors.surface,a=>a.theme.colors.border,a=>a.theme.borderRadius.lg);h.div.withConfig({displayName:"MultiStepForm__ProgressBar",componentId:"sc-110sius-1"})(["display:flex;background:",";border-bottom:1px solid ",";"],a=>a.theme.colors.background,a=>a.theme.colors.border);h.div.withConfig({displayName:"MultiStepForm__ProgressStep",componentId:"sc-110sius-2"})(["flex:1;padding:",";text-align:center;position:relative;font-size:",";font-weight:",";color:",";background:",";&:not(:last-child)::after{content:'→';position:absolute;right:-12px;top:50%;transform:translateY(-50%);color:",";}"],a=>a.theme.spacing.md,a=>a.theme.typography.fontSize.sm,a=>a.$active?a.theme.typography.fontWeight.semibold:"normal",a=>a.$completed?a.theme.colors.success:a.$active?a.theme.colors.primary:a.theme.colors.text.secondary,a=>a.$active?`${a.theme.colors.primary}10`:"transparent",a=>a.theme.colors.text.secondary);h.div.withConfig({displayName:"MultiStepForm__StepNumber",componentId:"sc-110sius-3"})(["width:28px;height:28px;border-radius:50%;background:",";border:2px solid ",";color:",";display:flex;align-items:center;justify-content:center;margin:0 auto ",";font-size:",";font-weight:",";"],a=>a.$completed?a.theme.colors.success:a.$active?a.theme.colors.primary:a.theme.colors.surface,a=>a.$completed?a.theme.colors.success:a.$active?a.theme.colors.primary:a.theme.colors.border,a=>a.$active||a.$completed?"white":a.theme.colors.text.secondary,a=>a.theme.spacing.xs,a=>a.theme.typography.fontSize.sm,a=>a.theme.typography.fontWeight.bold);h.div.withConfig({displayName:"MultiStepForm__StepContent",componentId:"sc-110sius-4"})(["padding:",";min-height:300px;"],a=>a.theme.spacing.xl);h.div.withConfig({displayName:"MultiStepForm__StepActions",componentId:"sc-110sius-5"})(["display:flex;justify-content:space-between;padding:",";border-top:1px solid ",";background:",";"],a=>a.theme.spacing.lg,a=>a.theme.colors.border,a=>a.theme.colors.background);h.div.withConfig({displayName:"MultiStepForm__ActionGroup",componentId:"sc-110sius-6"})(["display:flex;gap:",";"],a=>a.theme.spacing.sm);h.div.withConfig({displayName:"DatePicker__Container",componentId:"sc-1cfczov-0"})(["width:100%;"]);h(Ti).withConfig({displayName:"DatePicker__StyledInput",componentId:"sc-1cfczov-1"})(["&::-webkit-calendar-picker-indicator{filter:",";cursor:pointer;}"],a=>a.theme.colors.text.primary==="#fff"?"invert(1)":"none");h.div.withConfig({displayName:"RangeSlider__Container",componentId:"sc-1loluvt-0"})(["width:100%;padding:"," 0;"],a=>a.theme.spacing.md);h.div.withConfig({displayName:"RangeSlider__Track",componentId:"sc-1loluvt-1"})(["position:relative;height:6px;background:",";border-radius:",";margin:"," 0;"],a=>a.theme.colors.surface,a=>a.theme.borderRadius.full,a=>a.theme.spacing.md);h.div.withConfig({displayName:"RangeSlider__Range",componentId:"sc-1loluvt-2"})(["position:absolute;height:100%;background:",";border-radius:",";left:","%;width:","%;"],a=>a.theme.colors.primary,a=>a.theme.borderRadius.full,a=>a.$left,a=>a.$width);h.div.withConfig({displayName:"RangeSlider__Thumb",componentId:"sc-1loluvt-3"})(["position:absolute;width:20px;height:20px;background:",";border:3px solid white;border-radius:50%;top:50%;left:","%;transform:translate(-50%,-50%);cursor:",";box-shadow:0 2px 4px rgba(0,0,0,0.1);transition:transform 0.1s;&:hover{transform:translate(-50%,-50%) scale(1.1);}&:active{cursor:",";transform:translate(-50%,-50%) scale(1.15);}"],a=>a.theme.colors.primary,a=>a.$position,a=>a.$disabled?"not-allowed":"grab",a=>a.$disabled?"not-allowed":"grabbing");h.div.withConfig({displayName:"RangeSlider__Values",componentId:"sc-1loluvt-4"})(["display:flex;justify-content:space-between;margin-top:",";font-size:",";color:",";"],a=>a.theme.spacing.sm,a=>a.theme.typography.fontSize.sm,a=>a.theme.colors.text.secondary);h.div.withConfig({displayName:"RangeSlider__ValueLabel",componentId:"sc-1loluvt-5"})(["font-weight:",";color:",";"],a=>a.theme.typography.fontWeight.semibold,a=>a.theme.colors.text);h.div.withConfig({displayName:"ColorPicker__Container",componentId:"sc-1f3ec3f-0"})(["width:100%;"]);h.div.withConfig({displayName:"ColorPicker__PickerWrapper",componentId:"sc-1f3ec3f-1"})(["display:flex;gap:",";align-items:center;"],a=>a.theme.spacing.md);h.button.withConfig({displayName:"ColorPicker__ColorSwatch",componentId:"sc-1f3ec3f-2"})(["width:48px;height:48px;background:",";border:2px solid ",";border-radius:",";cursor:",";position:relative;overflow:hidden;opacity:",";&:hover{border-color:",";}"],a=>a.$color,a=>a.theme.colors.border,a=>a.theme.borderRadius.md,a=>a.$disabled?"not-allowed":"pointer",a=>a.$disabled?.5:1,a=>!a.$disabled&&a.theme.colors.primary);h.input.withConfig({displayName:"ColorPicker__HiddenColorInput",componentId:"sc-1f3ec3f-3"})(["position:absolute;opacity:0;width:100%;height:100%;cursor:pointer;"]);h.div.withConfig({displayName:"ColorPicker__Presets",componentId:"sc-1f3ec3f-4"})(["display:flex;gap:",";flex-wrap:wrap;margin-top:",";"],a=>a.theme.spacing.sm,a=>a.theme.spacing.md);h.button.withConfig({displayName:"ColorPicker__PresetSwatch",componentId:"sc-1f3ec3f-5"})(["width:32px;height:32px;background:",";border:2px solid ",";border-radius:",";cursor:pointer;transition:all 0.2s;&:hover{transform:scale(1.1);border-color:",";}"],a=>a.$color,a=>a.$selected?a.theme.colors.primary:a.theme.colors.border,a=>a.theme.borderRadius.sm,a=>a.theme.colors.primary);h.label.withConfig({displayName:"ColorPicker__Label",componentId:"sc-1f3ec3f-6"})(["font-size:",";color:",";margin-bottom:",";display:block;"],a=>a.theme.typography.fontSize.sm,a=>a.theme.colors.text.secondary,a=>a.theme.spacing.xs);h.div.withConfig({displayName:"PhoneInput__Container",componentId:"sc-1jnv4xq-0"})(["display:flex;gap:",";"],a=>a.theme.spacing.sm);h(Bh).withConfig({displayName:"PhoneInput__CountrySelect",componentId:"sc-1jnv4xq-1"})(["width:120px;"]);h(Ti).withConfig({displayName:"PhoneInput__NumberInput",componentId:"sc-1jnv4xq-2"})(["flex:1;"]);h.div.withConfig({displayName:"StepIndicator__Container",componentId:"sc-1kipzhx-0"})(["display:flex;flex-direction:",";gap:",";width:100%;@media (max-width:768px){flex-direction:column;gap:",";}"],a=>a.$variant==="vertical"?"column":"row",a=>a.$variant==="vertical"?a.theme.spacing.lg:0,a=>a.theme.spacing.lg);h.div.withConfig({displayName:"StepIndicator__StepWrapper",componentId:"sc-1kipzhx-1"})(["display:flex;flex-direction:",";align-items:center;flex:1;position:relative;&:not(:last-child){"," ","}"],a=>a.$variant==="vertical"?"row":"column",a=>a.$variant==="horizontal"&&C(["&::after{content:'';position:absolute;top:14px;left:calc(50% + 20px);right:calc(-50% + 20px);height:2px;background:",";z-index:0;@media (max-width:768px){display:none;}}"],a.theme.colors.border),a=>a.$variant==="vertical"&&C(["&::after{content:'';position:absolute;top:32px;left:14px;bottom:-",";width:2px;background:",";z-index:0;}"],a.theme.spacing.lg,a.theme.colors.border));h.div.withConfig({displayName:"StepIndicator__StepCircle",componentId:"sc-1kipzhx-2"})(["width:28px;height:28px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:",";font-weight:",";position:relative;z-index:1;transition:all ",";cursor:",";flex-shrink:0;"," &:hover{","}"],a=>a.theme.typography.fontSize.sm,a=>a.theme.typography.fontWeight.bold,a=>a.theme.transitions.normal,a=>a.$clickable?"pointer":"default",({$completed:a,$active:o,theme:c})=>{var s,d;return a?C(["background:",";border:2px solid ",";color:#ffffff;",""],c.colors.success,c.colors.success,((s=c.extensions)==null?void 0:s.cyberpunk)&&C(["box-shadow:0 0 10px ","66;"],c.colors.success)):o?C(["background:",";border:2px solid ",";color:#ffffff;",""],c.colors.primary,c.colors.primary,((d=c.extensions)==null?void 0:d.cyberpunk)&&C(["box-shadow:",";"],c.extensions.cyberpunk.neonGlow.magenta)):C(["background:",";border:2px solid ",";color:",";"],c.colors.surface,c.colors.border,c.colors.text.secondary)},a=>a.$clickable&&C(["transform:scale(1.1);box-shadow:",";"],a.theme.shadows.md));h.span.withConfig({displayName:"StepIndicator__CheckIcon",componentId:"sc-1kipzhx-3"})(["font-size:",";line-height:1;"],a=>a.theme.typography.fontSize.base);h.div.withConfig({displayName:"StepIndicator__StepLabel",componentId:"sc-1kipzhx-4"})(["font-size:",";font-weight:",";color:",";text-align:",";margin:",";transition:color ",";@media (max-width:768px){text-align:left;margin:0 0 0 ",";}"],a=>a.theme.typography.fontSize.sm,a=>a.$active?a.theme.typography.fontWeight.semibold:a.theme.typography.fontWeight.normal,({$completed:a,$active:o,theme:c})=>a?c.colors.success:o?c.colors.primary:c.colors.text.secondary,a=>a.$variant==="vertical"?"left":"center",a=>a.$variant==="vertical"?`0 0 0 ${a.theme.spacing.md}`:`${a.theme.spacing.sm} 0 0 0`,a=>a.theme.transitions.normal,a=>a.theme.spacing.md);h.div.withConfig({displayName:"StepIndicator__StepContent",componentId:"sc-1kipzhx-5"})(["display:flex;flex-direction:",";align-items:",";@media (max-width:768px){flex-direction:row;align-items:center;}"],a=>a.$variant==="vertical"?"row":"column",a=>(a.$variant==="vertical","center"));const yx=Kn(["from{opacity:0;transform:translateY(-10px);}to{opacity:1;transform:translateY(0);}"]),bx=Kn(["from{opacity:1;transform:translateY(0);}to{opacity:0;transform:translateY(-10px);}"]);h.div.withConfig({displayName:"ConditionalFields__Container",componentId:"sc-sx23rp-0"})(["overflow:hidden;transition:all ","ms ease-in-out;"," "," ",""],a=>a.$duration,a=>a.$isVisible&&!a.$isExiting&&C(["animation:"," ","ms ease-in-out;max-height:10000px;opacity:1;"],yx,a.$duration),a=>a.$isExiting&&C(["animation:"," ","ms ease-in-out;max-height:0;opacity:0;"],bx,a.$duration),a=>!a.$isVisible&&!a.$isExiting&&C(["max-height:0;opacity:0;pointer-events:none;"]));h.div.withConfig({displayName:"DynamicFieldArray__Container",componentId:"sc-1w0qtws-0"})(["display:flex;flex-direction:column;gap:",";width:100%;"],a=>a.theme.spacing.lg);h.div.withConfig({displayName:"DynamicFieldArray__FieldGroup",componentId:"sc-1w0qtws-1"})(["position:relative;padding:",";border:1px solid ",";border-radius:",";background:",";transition:all ",";&:hover{border-color:",";box-shadow:",";}"],a=>a.theme.spacing.lg,a=>a.theme.colors.border,a=>a.theme.borderRadius.md,a=>a.theme.colors.surface,a=>a.theme.transitions.normal,a=>a.theme.colors.primary,a=>a.theme.shadows.sm);h.div.withConfig({displayName:"DynamicFieldArray__FieldHeader",componentId:"sc-1w0qtws-2"})(["display:flex;justify-content:space-between;align-items:center;margin-bottom:",";"],a=>a.theme.spacing.md);h.div.withConfig({displayName:"DynamicFieldArray__FieldIndex",componentId:"sc-1w0qtws-3"})(["font-size:",";font-weight:",";color:",";text-transform:uppercase;letter-spacing:0.05em;"],a=>a.theme.typography.fontSize.sm,a=>a.theme.typography.fontWeight.semibold,a=>a.theme.colors.text.secondary);h.div.withConfig({displayName:"DynamicFieldArray__FieldContent",componentId:"sc-1w0qtws-4"})(["display:flex;flex-direction:column;gap:",";"],a=>a.theme.spacing.md);h.div.withConfig({displayName:"DynamicFieldArray__ActionButtons",componentId:"sc-1w0qtws-5"})(["display:flex;gap:",";margin-top:",";"],a=>a.theme.spacing.sm,a=>a.theme.spacing.lg);h.div.withConfig({displayName:"DynamicFieldArray__EmptyState",componentId:"sc-1w0qtws-6"})(["padding:",";text-align:center;color:",";font-size:",";border:2px dashed ",";border-radius:",";"],a=>a.theme.spacing.xl,a=>a.theme.colors.text.secondary,a=>a.theme.typography.fontSize.base,a=>a.theme.colors.border,a=>a.theme.borderRadius.md);h.div.withConfig({displayName:"AddressInput__Container",componentId:"sc-1v3elqc-0"})(["display:flex;flex-direction:column;gap:",";width:100%;"],a=>a.theme.spacing.md);h.div.withConfig({displayName:"AddressInput__Row",componentId:"sc-1v3elqc-1"})(["display:grid;grid-template-columns:1fr 1fr;gap:",";@media (max-width:768px){grid-template-columns:1fr;}"],a=>a.theme.spacing.md);h.div.withConfig({displayName:"AddressInput__FullWidthRow",componentId:"sc-1v3elqc-2"})(["width:100%;"]);h.div.withConfig({displayName:"DateTimePicker__Container",componentId:"sc-1bu3v4t-0"})(["display:flex;flex-direction:column;gap:",";width:100%;"],a=>a.theme.spacing.md);h.div.withConfig({displayName:"DateTimePicker__TimeRow",componentId:"sc-1bu3v4t-1"})(["display:grid;grid-template-columns:1fr 1fr auto;gap:",";align-items:end;@media (max-width:768px){grid-template-columns:1fr;}"],a=>a.theme.spacing.md);h(Ti).withConfig({displayName:"DateTimePicker__TimeInput",componentId:"sc-1bu3v4t-2"})(["input[type='number']{-moz-appearance:textfield;&::-webkit-inner-spin-button,&::-webkit-outer-spin-button{-webkit-appearance:none;margin:0;}}"]);function xx(a){return a.map(o=>typeof o=="string"?{value:o,label:o}:o)}function vx(a,o){if(!o)return 1;if(!a)return 0;const c=a.toLowerCase(),s=o.toLowerCase();if(c===s)return 1;if(c.includes(s))return c.startsWith(s)?.95:c.includes(` ${s}`)||c.includes(`-${s}`)?.85:.7;let d=0,p=0,y=0,S=0;for(let A=0;A{var o,c;return((c=(o=a.theme.typography)==null?void 0:o.fontSize)==null?void 0:c.sm)||"14px"},a=>{var o,c;return((c=(o=a.theme.colors)==null?void 0:o.text)==null?void 0:c.primary)||"#374151"},a=>{var o;return((o=a.theme.spacing)==null?void 0:o.xs)||"4px"}),Cx=h.div.withConfig({displayName:"SearchableMultiSelect__InputContainer",componentId:"sc-tvqbvj-2"})(["display:flex;flex-wrap:wrap;align-items:center;gap:4px;min-height:40px;padding:6px 12px;background:",";border:2px solid ",";border-radius:",";cursor:",";opacity:",";transition:border-color 0.15s,box-shadow 0.15s;",""],a=>{var o;return((o=a.theme.colors)==null?void 0:o.background)||"white"},a=>{var o,c;return a.$focused?((o=a.theme.colors)==null?void 0:o.primary)||"#3b82f6":((c=a.theme.colors)==null?void 0:c.border)||"#d1d5db"},a=>{var o;return((o=a.theme.borderRadius)==null?void 0:o.md)||"8px"},a=>a.$disabled?"not-allowed":"text",a=>a.$disabled?.5:1,a=>{var o;return a.$focused&&C(["box-shadow:0 0 0 3px ","20;"],((o=a.theme.colors)==null?void 0:o.primary)||"#3b82f6")}),_x=h.input.withConfig({displayName:"SearchableMultiSelect__SearchInput",componentId:"sc-tvqbvj-3"})(["flex:1;min-width:120px;border:none;outline:none;background:transparent;font-size:",";color:",";&::placeholder{color:",";}&:disabled{cursor:not-allowed;}"],a=>{var o,c;return((c=(o=a.theme.typography)==null?void 0:o.fontSize)==null?void 0:c.sm)||"14px"},a=>{var o,c;return((c=(o=a.theme.colors)==null?void 0:o.text)==null?void 0:c.primary)||"#374151"},a=>{var o,c;return((c=(o=a.theme.colors)==null?void 0:o.text)==null?void 0:c.secondary)||"#9ca3af"}),Pc=h.span.withConfig({displayName:"SearchableMultiSelect__Chip",componentId:"sc-tvqbvj-4"})(["display:inline-flex;align-items:center;gap:4px;padding:2px 8px;background:","15;color:",";border-radius:",";font-size:12px;font-weight:500;max-width:150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;"],a=>{var o;return((o=a.theme.colors)==null?void 0:o.primary)||"#3b82f6"},a=>{var o;return((o=a.theme.colors)==null?void 0:o.primary)||"#3b82f6"},a=>{var o;return((o=a.theme.borderRadius)==null?void 0:o.sm)||"4px"}),qm=h.button.withConfig({displayName:"SearchableMultiSelect__ChipRemove",componentId:"sc-tvqbvj-5"})(["display:flex;align-items:center;justify-content:center;width:14px;height:14px;border:none;background:transparent;color:inherit;cursor:pointer;padding:0;font-size:16px;line-height:1;opacity:0.7;&:hover{opacity:1;}"]),zx=h.div.withConfig({displayName:"SearchableMultiSelect__Dropdown",componentId:"sc-tvqbvj-6"})(["position:absolute;top:100%;left:0;right:0;z-index:1000;margin-top:4px;background:",";border:1px solid ",";border-radius:",";box-shadow:0 10px 15px -3px rgba(0,0,0,0.1),0 4px 6px -2px rgba(0,0,0,0.05);max-height:300px;overflow-y:auto;display:",";"],a=>{var o;return((o=a.theme.colors)==null?void 0:o.background)||"white"},a=>{var o;return((o=a.theme.colors)==null?void 0:o.border)||"#d1d5db"},a=>{var o;return((o=a.theme.borderRadius)==null?void 0:o.md)||"8px"},a=>a.$visible?"block":"none"),kx=h.div.withConfig({displayName:"SearchableMultiSelect__OptionGroup",componentId:"sc-tvqbvj-7"})(["padding:4px 0;&:not(:last-child){border-bottom:1px solid ",";}"],a=>{var o;return((o=a.theme.colors)==null?void 0:o.border)||"#e5e7eb"}),Tx=h.div.withConfig({displayName:"SearchableMultiSelect__GroupLabel",componentId:"sc-tvqbvj-8"})(["padding:6px 12px;font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:0.05em;color:",";"],a=>{var o,c;return((c=(o=a.theme.colors)==null?void 0:o.text)==null?void 0:c.secondary)||"#6b7280"}),jx=h.div.withConfig({displayName:"SearchableMultiSelect__Option",componentId:"sc-tvqbvj-9"})(["display:flex;align-items:center;gap:8px;padding:8px 12px;cursor:",";opacity:",";background:",";color:",";font-size:",";&:hover:not([disabled]){background:",";}"],a=>a.$disabled?"not-allowed":"pointer",a=>a.$disabled?.5:1,a=>{var o,c;return a.$highlighted?(o=a.theme.colors)!=null&&o.primary?`${a.theme.colors.primary}10`:"#eff6ff":a.$selected?((c=a.theme.colors)==null?void 0:c.surface)||"#f9fafb":"transparent"},a=>{var o,c,s;return a.$selected?((o=a.theme.colors)==null?void 0:o.primary)||"#3b82f6":((s=(c=a.theme.colors)==null?void 0:c.text)==null?void 0:s.primary)||"#374151"},a=>{var o,c;return((c=(o=a.theme.typography)==null?void 0:o.fontSize)==null?void 0:c.sm)||"14px"},a=>{var o;return(o=a.theme.colors)!=null&&o.primary?`${a.theme.colors.primary}10`:"#eff6ff"}),Mx=h.span.withConfig({displayName:"SearchableMultiSelect__Checkbox",componentId:"sc-tvqbvj-10"})(["display:flex;align-items:center;justify-content:center;width:16px;height:16px;border:2px solid ",";border-radius:3px;background:",";color:white;font-size:10px;transition:all 0.15s;&::after{content:'","';}"],a=>{var o,c;return a.$checked?((o=a.theme.colors)==null?void 0:o.primary)||"#3b82f6":((c=a.theme.colors)==null?void 0:c.border)||"#d1d5db"},a=>{var o;return a.$checked?((o=a.theme.colors)==null?void 0:o.primary)||"#3b82f6":"transparent"},a=>a.$checked?"\\2713":""),Nx=h.div.withConfig({displayName:"SearchableMultiSelect__NoResults",componentId:"sc-tvqbvj-11"})(["padding:16px 12px;text-align:center;color:",";font-size:",";"],a=>{var o,c;return((c=(o=a.theme.colors)==null?void 0:o.text)==null?void 0:c.secondary)||"#6b7280"},a=>{var o,c;return((c=(o=a.theme.typography)==null?void 0:o.fontSize)==null?void 0:c.sm)||"14px"}),Ax=h.span.withConfig({displayName:"SearchableMultiSelect__SelectedCount",componentId:"sc-tvqbvj-12"})(["font-size:12px;color:",";margin-left:auto;padding-left:8px;"],a=>{var o,c;return((c=(o=a.theme.colors)==null?void 0:o.text)==null?void 0:c.secondary)||"#6b7280"}),Ex=h.div.withConfig({displayName:"SearchableMultiSelect__ChipsContainer",componentId:"sc-tvqbvj-13"})(["display:flex;flex-wrap:wrap;gap:4px;margin-top:8px;"]),Ox=h.button.withConfig({displayName:"SearchableMultiSelect__ClearAllButton",componentId:"sc-tvqbvj-14"})(["padding:2px 8px;background:none;border:none;color:",";font-size:12px;cursor:pointer;&:hover{text-decoration:underline;}"],a=>{var o;return((o=a.theme.colors)==null?void 0:o.primary)||"#3b82f6"}),Dx=h.span.withConfig({displayName:"SearchableMultiSelect__HighlightText",componentId:"sc-tvqbvj-15"})(["",""],a=>{var o;return a.$highlight&&C(["background:",";font-weight:500;"],((o=a.theme.colors)==null?void 0:o.warning)||"#fef3c7")});function $x(a,o){if(!o)return a;const c=a.toLowerCase(),s=o.toLowerCase(),d=c.indexOf(s);return d===-1?a:f.jsxs(f.Fragment,{children:[a.slice(0,d),f.jsx(Dx,{$highlight:!0,children:a.slice(d,d+o.length)}),a.slice(d+o.length)]})}const Rx=v.forwardRef(({options:a,value:o=[],onChange:c,placeholder:s="Search...",label:d,disabled:p=!1,maxSelections:y=0,showChips:S=!0,showCount:M=!0,className:w,minSearchLength:A=1,groupBy:b=!1,noResultsMessage:k="No options found",closeOnSelect:D=!1,fuzzyThreshold:$=.3,id:Y,"data-testid":Q},E)=>{const[q,V]=v.useState(!1),[I,J]=v.useState(""),[re,se]=v.useState(-1),ie=v.useRef(null),Oe=v.useRef(null),Ue=v.useMemo(()=>xx(a),[a]),ae=v.useMemo(()=>I.length({option:X,score:vx(X.label,I)})).filter(X=>X.score>=$).sort((X,G)=>G.score-X.score).map(X=>X.option),[Ue,I,A,$]),oe=v.useMemo(()=>b?ae.reduce((R,X)=>{const G=X.group||"";return R[G]||(R[G]=[]),R[G].push(X),R},{}):{"":ae},[ae,b]),ke=v.useMemo(()=>Object.values(oe).flat(),[oe]),Le=v.useCallback(R=>{if(p)return;const X=o.includes(R);let G;if(X)G=o.filter(W=>W!==R);else{if(y>0&&o.length>=y)return;G=[...o,R]}c(G),D&&(V(!1),J(""))},[o,c,p,y,D]),Z=v.useCallback(R=>{switch(R.key){case"ArrowDown":R.preventDefault(),V(!0),se(X=>XX>0?X-1:ke.length-1);break;case"Enter":R.preventDefault(),re>=0&&ke[re]&&Le(ke[re].value);break;case"Escape":V(!1),J("");break;case"Backspace":!I&&o.length>0&&c(o.slice(0,-1));break}},[ke,re,Le,I,o,c]);v.useEffect(()=>{const R=X=>{ie.current&&!ie.current.contains(X.target)&&(V(!1),J(""))};return document.addEventListener("mousedown",R),()=>document.removeEventListener("mousedown",R)},[]),v.useEffect(()=>{se(-1)},[I]);const _=v.useMemo(()=>o.map(R=>{const X=Ue.find(G=>G.value===R);return(X==null?void 0:X.label)||R}),[o,Ue]),H=v.useCallback(()=>{c([])},[c]);return f.jsxs(wx,{ref:ie,className:w,"data-testid":Q,children:[d&&f.jsx(Sx,{htmlFor:Y,children:d}),f.jsxs(Cx,{$focused:q,$disabled:p,onClick:()=>{var R;p||((R=Oe.current)==null||R.focus(),V(!0))},children:[S&&_.slice(0,3).map((R,X)=>f.jsxs(Pc,{children:[R,f.jsx(qm,{type:"button",onClick:G=>{G.stopPropagation();const W=o[X];W&&Le(W)},"aria-label":`Remove ${R}`,children:"×"})]},o[X])),_.length>3&&f.jsxs(Pc,{children:["+",_.length-3," more"]}),f.jsx(_x,{ref:R=>{Oe.current=R,typeof E=="function"?E(R):E&&(E.current=R)},id:Y,type:"text",value:I,onChange:R=>{J(R.target.value),V(!0)},onFocus:()=>V(!0),onKeyDown:Z,placeholder:o.length===0?s:"",disabled:p,"aria-expanded":q,"aria-haspopup":"listbox","aria-controls":`${Y}-listbox`,role:"combobox"}),M&&o.length>0&&f.jsxs(Ax,{children:[o.length," selected"]})]}),f.jsx(zx,{$visible:q,id:`${Y}-listbox`,role:"listbox","aria-multiselectable":"true",children:ke.length===0?f.jsx(Nx,{children:k}):Object.entries(oe).map(([R,X])=>f.jsxs(kx,{children:[b&&R&&f.jsx(Tx,{children:R}),X.map(G=>{const W=o.includes(G.value),ee=ke.indexOf(G)===re;return f.jsxs(jx,{$highlighted:ee,$selected:W,$disabled:G.disabled||!1,onClick:()=>!G.disabled&&Le(G.value),role:"option","aria-selected":W,children:[f.jsx(Mx,{$checked:W}),$x(G.label,I)]},G.value)})]},R||"default"))}),S&&_.length>3&&f.jsxs(Ex,{children:[_.map((R,X)=>{const G=o[X];return G?f.jsxs(Pc,{children:[R,f.jsx(qm,{type:"button",onClick:()=>Le(G),"aria-label":`Remove ${R}`,children:"×"})]},G):null}),f.jsx(Ox,{type:"button",onClick:H,children:"Clear all"})]})]})});Rx.displayName="SearchableMultiSelect";h.div.withConfig({displayName:"FormField__FieldWrapper",componentId:"sc-rn89wk-0"})(["display:flex;flex-direction:column;gap:0.5rem;margin-bottom:1rem;&.field-checkbox{flex-direction:row;align-items:flex-start;}"]);h.label.withConfig({displayName:"FormField__FieldLabel",componentId:"sc-rn89wk-1"})(["display:flex;align-items:center;gap:0.5rem;font-weight:500;font-size:0.9rem;color:rgba(255,255,255,0.9);.required-marker{color:#ff4444;}"]);h.input.withConfig({displayName:"FormField__FieldInput",componentId:"sc-rn89wk-2"})(["padding:0.75rem 1rem;border-radius:8px;border:1px solid ",";background:rgba(255,255,255,0.05);color:rgba(255,255,255,0.9);font-size:0.95rem;transition:all 0.2s ease;&:focus{outline:none;border-color:",";background:rgba(255,255,255,0.08);}&:disabled{opacity:0.5;cursor:not-allowed;}&::placeholder{color:rgba(255,255,255,0.4);}"],a=>a.$hasError?"#ff4444":"rgba(255, 255, 255, 0.2)",a=>a.$hasError?"#ff4444":"rgba(255, 255, 255, 0.4)");h.textarea.withConfig({displayName:"FormField__FieldTextarea",componentId:"sc-rn89wk-3"})(["padding:0.75rem 1rem;border-radius:8px;border:1px solid ",";background:rgba(255,255,255,0.05);color:rgba(255,255,255,0.9);font-size:0.95rem;font-family:inherit;resize:vertical;transition:all 0.2s ease;&:focus{outline:none;border-color:",";background:rgba(255,255,255,0.08);}&:disabled{opacity:0.5;cursor:not-allowed;}&::placeholder{color:rgba(255,255,255,0.4);}"],a=>a.$hasError?"#ff4444":"rgba(255, 255, 255, 0.2)",a=>a.$hasError?"#ff4444":"rgba(255, 255, 255, 0.4)");h.select.withConfig({displayName:"FormField__FieldSelect",componentId:"sc-rn89wk-4"})(["padding:0.75rem 1rem;border-radius:8px;border:1px solid ",";background:rgba(255,255,255,0.05);color:rgba(255,255,255,0.9);font-size:0.95rem;cursor:pointer;transition:all 0.2s ease;&:focus{outline:none;border-color:",";background:rgba(255,255,255,0.08);}&:disabled{opacity:0.5;cursor:not-allowed;}"],a=>a.$hasError?"#ff4444":"rgba(255, 255, 255, 0.2)",a=>a.$hasError?"#ff4444":"rgba(255, 255, 255, 0.4)");h.label.withConfig({displayName:"FormField__CheckboxLabel",componentId:"sc-rn89wk-5"})(["display:flex;align-items:flex-start;gap:0.75rem;cursor:pointer;user-select:none;"]);h.input.withConfig({displayName:"FormField__CheckboxInput",componentId:"sc-rn89wk-6"})(["width:18px;height:18px;margin-top:0.125rem;flex-shrink:0;cursor:pointer;&:disabled{opacity:0.5;cursor:not-allowed;}"]);h.span.withConfig({displayName:"FormField__CheckboxText",componentId:"sc-rn89wk-7"})(["font-size:0.9rem;color:rgba(255,255,255,0.8);line-height:1.5;"]);h.span.withConfig({displayName:"FormField__FieldError",componentId:"sc-rn89wk-8"})(["font-size:0.85rem;color:#ff4444;"]);const Ux=h.div.withConfig({displayName:"LabeledSlider__Container",componentId:"sc-90g8o9-0"})(["display:flex;flex-direction:column;gap:",";"],a=>a.theme.spacing.sm),Bx=h.div.withConfig({displayName:"LabeledSlider__SliderRow",componentId:"sc-90g8o9-1"})(["display:flex;align-items:center;gap:",";"],a=>a.theme.spacing.md),Lm=h.span.withConfig({displayName:"LabeledSlider__SliderLabel",componentId:"sc-90g8o9-2"})(["font-size:",";color:",";min-width:60px;&:last-of-type{text-align:right;}"],a=>a.theme.typography.fontSize.xs,a=>a.theme.colors.text.secondary),Hx=h.input.withConfig({displayName:"LabeledSlider__SliderInput",componentId:"sc-90g8o9-3"})(["flex:1;height:6px;-webkit-appearance:none;appearance:none;background:",";border-radius:",";cursor:pointer;&::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;width:16px;height:16px;background:",";border-radius:50%;cursor:pointer;transition:transform ",";&:hover{transform:scale(1.1);}}&::-moz-range-thumb{width:16px;height:16px;background:",";border-radius:50%;cursor:pointer;border:none;}&:disabled{opacity:0.5;cursor:not-allowed;}"],a=>{const o=a.theme.colors.primary,c=a.theme.colors.border;return`linear-gradient(to right, ${o} 0%, ${o} ${a.$fillPercent}%, ${c} ${a.$fillPercent}%, ${c} 100%)`},a=>a.theme.borderRadius.full,a=>a.theme.colors.primary,a=>a.theme.transitions.fast,a=>a.theme.colors.primary),Gx=h.span.withConfig({displayName:"LabeledSlider__ValueDisplay",componentId:"sc-90g8o9-4"})(["font-size:",";font-weight:",";color:",";min-width:40px;text-align:center;"],a=>a.theme.typography.fontSize.sm,a=>a.theme.typography.fontWeight.medium,a=>a.theme.colors.text.primary),ds=({value:a,onChange:o,min:c=0,max:s=1,step:d=.1,leftLabel:p,rightLabel:y,showValue:S=!0,formatValue:M=b=>`${Math.round(b*100)}%`,disabled:w=!1,className:A})=>{const b=(a-c)/(s-c)*100;return f.jsx(Ux,{className:A,children:f.jsxs(Bx,{children:[p&&f.jsx(Lm,{children:p}),f.jsx(Hx,{type:"range",min:c,max:s,step:d,value:a,onChange:k=>o(parseFloat(k.target.value)),disabled:w,$fillPercent:b}),y&&f.jsx(Lm,{children:y}),S&&f.jsx(Gx,{children:M(a)})]})})};h.div.withConfig({displayName:"TagInput__Container",componentId:"sc-1jjfswb-0"})(["display:flex;flex-direction:column;gap:",";"],a=>a.theme.spacing.md);h.div.withConfig({displayName:"TagInput__TagsContainer",componentId:"sc-1jjfswb-1"})(["display:flex;flex-wrap:wrap;gap:",";"],a=>a.theme.spacing.sm);h.span.withConfig({displayName:"TagInput__Tag",componentId:"sc-1jjfswb-2"})(["display:inline-flex;align-items:center;gap:",";padding:"," ",";background-color:",";border:1px solid ",";border-radius:",";font-size:",";color:",";"],a=>a.theme.spacing.xs,a=>a.theme.spacing.xs,a=>a.theme.spacing.sm,a=>a.theme.colors.surface,a=>a.theme.colors.border,a=>a.theme.borderRadius.full,a=>a.theme.typography.fontSize.sm,a=>a.theme.colors.text.primary);h.button.withConfig({displayName:"TagInput__RemoveButton",componentId:"sc-1jjfswb-3"})(["display:flex;align-items:center;justify-content:center;padding:0;background:none;border:none;color:",";cursor:pointer;transition:color ",";&:hover{color:",";}"],a=>a.theme.colors.text.secondary,a=>a.theme.transitions.fast,a=>a.theme.colors.error);h.div.withConfig({displayName:"TagInput__InputRow",componentId:"sc-1jjfswb-4"})(["display:flex;gap:",";"],a=>a.theme.spacing.sm);h.input.withConfig({displayName:"TagInput__Input",componentId:"sc-1jjfswb-5"})(["flex:1;padding:"," ",";border-radius:",";border:1px solid ",";background-color:",";color:",";font-size:",";font-family:",";&:focus{outline:none;border-color:",";}&::placeholder{color:",";}&:disabled{opacity:0.5;cursor:not-allowed;}"],a=>a.theme.spacing.sm,a=>a.theme.spacing.md,a=>a.theme.borderRadius.sm,a=>a.theme.colors.border,a=>a.theme.colors.surface,a=>a.theme.colors.text.primary,a=>a.theme.typography.fontSize.sm,a=>a.theme.typography.fontFamily.body,a=>a.theme.colors.primary,a=>a.theme.colors.text.secondary);h.button.withConfig({displayName:"TagInput__AddButton",componentId:"sc-1jjfswb-6"})(["display:flex;align-items:center;justify-content:center;gap:",";padding:"," ",";background-color:",";color:",";border:none;border-radius:",";font-size:",";font-family:",";cursor:pointer;transition:opacity ",";&:hover:not(:disabled){opacity:0.9;}&:disabled{opacity:0.5;cursor:not-allowed;}"],a=>a.theme.spacing.xs,a=>a.theme.spacing.sm,a=>a.theme.spacing.md,a=>a.theme.colors.primary,a=>a.theme.colors.text.primary,a=>a.theme.borderRadius.sm,a=>a.theme.typography.fontSize.sm,a=>a.theme.typography.fontFamily.body,a=>a.theme.transitions.fast);h.div.withConfig({displayName:"TagInput__Suggestions",componentId:"sc-1jjfswb-7"})(["display:flex;flex-wrap:wrap;gap:",";"],a=>a.theme.spacing.xs);h.button.withConfig({displayName:"TagInput__SuggestionChip",componentId:"sc-1jjfswb-8"})(["padding:"," ",";background-color:transparent;border:1px dashed ",";border-radius:",";font-size:",";color:",";cursor:pointer;transition:all ",";&:hover:not(:disabled){border-color:",";color:",";border-style:solid;}&:disabled{opacity:0.5;cursor:not-allowed;}"],a=>a.theme.spacing.xs,a=>a.theme.spacing.sm,a=>a.theme.colors.border,a=>a.theme.borderRadius.full,a=>a.theme.typography.fontSize.xs,a=>a.theme.colors.text.secondary,a=>a.theme.transitions.fast,a=>a.theme.colors.primary,a=>a.theme.colors.primary);h.div.withConfig({displayName:"WeightSlider__Container",componentId:"sc-rguh8r-0"})(["display:flex;align-items:center;gap:",";"],a=>a.theme.spacing.md);h.div.withConfig({displayName:"WeightSlider__SliderWrapper",componentId:"sc-rguh8r-1"})(["flex:1;display:flex;align-items:center;gap:",";"],a=>a.theme.spacing.sm);h.input.withConfig({displayName:"WeightSlider__SliderInput",componentId:"sc-rguh8r-2"})(["flex:1;height:6px;-webkit-appearance:none;appearance:none;background:",";border-radius:",";cursor:pointer;&::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;width:14px;height:14px;background:",";border-radius:50%;cursor:pointer;transition:transform ",";&:hover{transform:scale(1.1);}}&::-moz-range-thumb{width:14px;height:14px;background:",";border-radius:50%;cursor:pointer;border:none;}&:disabled{opacity:0.5;cursor:not-allowed;}"],a=>{const o=a.theme.colors.border;return`linear-gradient(to right, ${a.$color} 0%, ${a.$color} ${a.$fillPercent}%, ${o} ${a.$fillPercent}%, ${o} 100%)`},a=>a.theme.borderRadius.full,a=>a.$color,a=>a.theme.transitions.fast,a=>a.$color);h.span.withConfig({displayName:"WeightSlider__ValueDisplay",componentId:"sc-rguh8r-3"})(["font-size:",";font-weight:",";color:",";min-width:45px;text-align:center;"],a=>a.theme.typography.fontSize.sm,a=>a.theme.typography.fontWeight.semibold,a=>a.$color);h.button.withConfig({displayName:"WeightSlider__ResetButton",componentId:"sc-rguh8r-4"})(["padding:"," ",";background:transparent;border:1px solid ",";border-radius:",";font-size:",";color:",";cursor:pointer;opacity:",";pointer-events:",";transition:all ",";&:hover:not(:disabled){border-color:",";color:",";}&:disabled{opacity:0.5;cursor:not-allowed;}"],a=>a.theme.spacing.xs,a=>a.theme.spacing.sm,a=>a.theme.colors.border,a=>a.theme.borderRadius.xs,a=>a.theme.typography.fontSize.xs,a=>a.theme.colors.text.secondary,a=>a.$visible?1:0,a=>a.$visible?"auto":"none",a=>a.theme.transitions.fast,a=>a.theme.colors.primary,a=>a.theme.colors.primary);const Ym=-200,Vm=200,qx=5,Lx=150,Xm=-1e3,Qm=1e3,Yx=50,Vx=700,Xx=h(Ra).withConfig({displayName:"ClockControl__StyledCard",componentId:"sc-iai9m6-0"})(["max-width:600px;width:100%;@media (max-width:640px){max-width:100%;}"]),Qx=h.h3.withConfig({displayName:"ClockControl__Title",componentId:"sc-iai9m6-1"})(["margin:0 0 "," 0;font-size:",";font-weight:",";color:",";"],({theme:a})=>a.spacing.sm,({theme:a})=>a.typography.fontSize.lg,({theme:a})=>a.typography.fontWeight.semibold,({theme:a})=>a.colors.text.primary),Zm=h.div.withConfig({displayName:"ClockControl__SliderSection",componentId:"sc-iai9m6-2"})(["display:flex;flex-direction:column;gap:",";"],({theme:a})=>a.spacing.xs),Im=h.label.withConfig({displayName:"ClockControl__SliderLabel",componentId:"sc-iai9m6-3"})(["font-size:",";font-weight:",";color:",";margin-bottom:",";"],({theme:a})=>a.typography.fontSize.sm,({theme:a})=>a.typography.fontWeight.medium,({theme:a})=>a.colors.text.primary,({theme:a})=>a.spacing.xs),Km=h.p.withConfig({displayName:"ClockControl__WarningText",componentId:"sc-iai9m6-4"})(["margin:"," 0 0 0;font-size:",";color:",";opacity:",";transition:opacity ",";display:flex;align-items:center;gap:",";"],({theme:a})=>a.spacing.xs,({theme:a})=>a.typography.fontSize.xs,({theme:a})=>a.colors.warning,({$show:a})=>a?1:0,({theme:a})=>a.transitions.fast,({theme:a})=>a.spacing.xs),Wm=h.span.withConfig({displayName:"ClockControl__WarningIcon",componentId:"sc-iai9m6-5"})(["font-size:",";"],({theme:a})=>a.typography.fontSize.sm),Zx=h.div.withConfig({displayName:"ClockControl__ButtonGroup",componentId:"sc-iai9m6-6"})(["display:flex;gap:",";margin-top:",";@media (max-width:500px){flex-direction:column;button{width:100%;}}"],({theme:a})=>a.spacing.md,({theme:a})=>a.spacing.lg);function Ix({gpuId:a,onApply:o,onReset:c}){const[s,d]=v.useState(0),[p,y]=v.useState(0),[S,M]=v.useState(!1),[w,A]=v.useState(!1),{showToast:b}=fs(),k=Math.abs(s)>Lx,D=Math.abs(p)>Vx,$=async()=>{M(!0);try{await o(a,s,p),b("Clock offsets applied successfully","success"),d(0),y(0)}catch(E){const q=E instanceof Error?E.message:"Failed to apply clock offsets";b(q,"error")}finally{M(!1)}},Y=async()=>{A(!0);try{await c(a),b("Clock offsets reset successfully","success"),d(0),y(0)}catch(E){const q=E instanceof Error?E.message:"Failed to reset clock offsets";b(q,"error")}finally{A(!1)}},Q=S||w;return f.jsx(Xx,{hoverable:!1,padding:"md",children:f.jsxs(Ct,{gap:"md",children:[f.jsxs(Qx,{children:["Clock Offsets - GPU ",a]}),f.jsxs(Zm,{children:[f.jsx(Im,{htmlFor:`core-offset-${a}`,children:"Core Clock Offset"}),f.jsx(ds,{value:s,onChange:d,min:Ym,max:Vm,step:qx,leftLabel:`${Ym} MHz`,rightLabel:`${Vm} MHz`,formatValue:E=>`${E>0?"+":""}${E} MHz`,disabled:Q}),f.jsxs(Km,{$show:k,role:"alert",children:[f.jsx(Wm,{"aria-hidden":"true",children:"⚠️"}),"Aggressive core offset may cause instability. Monitor temperatures and stability."]})]}),f.jsxs(Zm,{children:[f.jsx(Im,{htmlFor:`memory-offset-${a}`,children:"Memory Clock Offset"}),f.jsx(ds,{value:p,onChange:y,min:Xm,max:Qm,step:Yx,leftLabel:`${Xm} MHz`,rightLabel:`${Qm} MHz`,formatValue:E=>`${E>0?"+":""}${E} MHz`,disabled:Q}),f.jsxs(Km,{$show:D,role:"alert",children:[f.jsx(Wm,{"aria-hidden":"true",children:"⚠️"}),"Aggressive memory offset may cause artifacts or crashes. Test thoroughly."]})]}),f.jsxs(Zx,{children:[f.jsx(at,{variant:"primary",size:"md",onClick:$,disabled:Q,"aria-busy":S,children:S?"Applying...":"Apply"}),f.jsx(at,{variant:"secondary",size:"md",onClick:Y,disabled:Q,"aria-busy":w,children:w?"Resetting...":"Reset"})]})]})})}const Kx=h(Ra).withConfig({displayName:"FanControl__StyledCard",componentId:"sc-17sx84t-0"})(["background-color:",";border:1px solid ",";border-radius:8px;padding:1rem;"],({theme:a})=>{var o;return((o=a.colors)==null?void 0:o.surface)||"#1a1a1a"},({theme:a})=>{var o;return((o=a.colors)==null?void 0:o.border)||"#333333"}),Wx=h.div.withConfig({displayName:"FanControl__CardHeader",componentId:"sc-17sx84t-1"})(["display:flex;justify-content:space-between;align-items:center;margin-bottom:0.5rem;"]),Fx=h.h3.withConfig({displayName:"FanControl__CardTitle",componentId:"sc-17sx84t-2"})(["margin:0;font-size:1.125rem;font-weight:600;color:",";"],({theme:a})=>{var o;return((o=a.colors)==null?void 0:o.text)||"#ffffff"}),Jx=h(Uh).withConfig({displayName:"FanControl__StatusBadge",componentId:"sc-17sx84t-3"})(["background-color:",";color:",";padding:0.25rem 0.75rem;border-radius:9999px;font-size:0.875rem;font-weight:500;"],({$speedLevel:a,theme:o})=>{var c,s,d,p,y;switch(a){case"auto":return((c=o.colors)==null?void 0:c.info)||"#3b82f6";case"low":return((s=o.colors)==null?void 0:s.info)||"#3b82f6";case"normal":return((d=o.colors)==null?void 0:d.warning)||"#f59e0b";case"high":return((p=o.colors)==null?void 0:p.error)||"#ef4444";default:return((y=o.colors)==null?void 0:y.secondary)||"#6b7280"}},({theme:a})=>{var o;return((o=a.colors)==null?void 0:o.textInverse)??"#ffffff"}),Px=h.div.withConfig({displayName:"FanControl__ControlsContainer",componentId:"sc-17sx84t-4"})(["display:flex;gap:0.75rem;margin-top:1.25rem;@media (max-width:500px){flex-direction:column;button{width:100%;}}"]),Fm=h.div.withConfig({displayName:"FanControl__WarningBox",componentId:"sc-17sx84t-5"})(["margin-top:1rem;padding:0.75rem 1rem;border-radius:6px;background-color:",";border-left:3px solid ",";"],({$severity:a,theme:o})=>{var c,s;return a==="error"?((c=o.colors)==null?void 0:c.errorBackground)??"rgba(239, 68, 68, 0.1)":((s=o.colors)==null?void 0:s.warningBackground)??"rgba(245, 158, 11, 0.1)"},({$severity:a,theme:o})=>{var c,s;return a==="error"?((c=o.colors)==null?void 0:c.error)||"#ef4444":((s=o.colors)==null?void 0:s.warning)||"#f59e0b"}),Jm=h.p.withConfig({displayName:"FanControl__WarningText",componentId:"sc-17sx84t-6"})(["margin:0;font-size:0.875rem;color:",";line-height:1.5;"],({$severity:a,theme:o})=>{var c,s;return a==="error"?((c=o.colors)==null?void 0:c.error)||"#ef4444":((s=o.colors)==null?void 0:s.warning)||"#f59e0b"}),e1=h.div.withConfig({displayName:"FanControl__SliderContainer",componentId:"sc-17sx84t-7"})(["margin-top:0.5rem;"]);function t1(a){return a===null?"auto":a<50?"low":a<=80?"normal":"high"}function a1(a){return a<30?{message:"Low fan speeds may cause overheating",severity:"warning"}:a>90?{message:"High fan speeds increase noise and wear",severity:"error"}:null}function n1(a){return a===null?"Auto":`${a}%`}function l1({gpuId:a,currentSpeed:o,onSetSpeed:c,onSetAuto:s}){const[d,p]=v.useState(o??50),[y,S]=v.useState(!1),[M,w]=v.useState(!1),[A,b]=v.useState(null);v.useEffect(()=>{o!==null&&p(o)},[o]);const k=y||M,D=a1(d),$=async()=>{S(!0),b(null);try{await c(a,d)}catch(E){const q=E instanceof Error?E.message:"Failed to set fan speed";b(q),console.error("Error setting fan speed:",E)}finally{S(!1)}},Y=async()=>{w(!0),b(null);try{await s(a)}catch(E){const q=E instanceof Error?E.message:"Failed to enable auto mode";b(q),console.error("Error enabling auto mode:",E)}finally{w(!1)}},Q=E=>{p(E)};return f.jsx(Kx,{children:f.jsxs(Ct,{gap:"md",children:[f.jsxs(Wx,{children:[f.jsx(Fx,{children:"Fan Control"}),f.jsx(Jx,{$speedLevel:t1(o),children:n1(o)})]}),f.jsx(e1,{children:f.jsx(ds,{leftLabel:"Fan Speed",value:d,onChange:Q,min:0,max:100,step:5,disabled:k,formatValue:E=>`${Math.round(E)}%`,showValue:!0})}),f.jsxs(Px,{children:[f.jsx(at,{variant:"primary",onClick:$,disabled:k,"aria-label":"Set manual fan speed",children:y?"Setting...":"Set Speed"}),f.jsx(at,{variant:"secondary",onClick:Y,disabled:k,"aria-label":"Enable automatic fan control",children:M?"Enabling...":"Auto Mode"})]}),D&&f.jsx(Fm,{$severity:D.severity,children:f.jsx(Jm,{$severity:D.severity,children:D.message})}),A&&f.jsx(Fm,{$severity:"error",children:f.jsx(Jm,{$severity:"error",children:A})})]})})}function Si(a,o){const[c,s]=a,[d,p]=o,y=s-c||1,S=p-d;return M=>{const w=(M-c)/y;return d+w*S}}function Xh(a,o=!1){return a.length===0?"":a.map((s,d)=>{if(d===0)return`M ${s.x} ${s.y}`;if(o&&d>0){const p=a[d-1],y=p.x+(s.x-p.x)/3,S=p.y,M=s.x-(s.x-p.x)/3,w=s.y;return`C ${y} ${S}, ${M} ${w}, ${s.x} ${s.y}`}return`L ${s.x} ${s.y}`}).join(" ")}const Pm=86400,o1={temperature:{label:"Temperature",color:"#ef4444",unit:"°C",formatValue:a=>`${Math.round(a)}°C`},fan_speed:{label:"Fan Speed",color:"#3b82f6",unit:"%",formatValue:a=>`${Math.round(a)}%`},power_draw:{label:"Power Draw",color:"#f97316",unit:"W",formatValue:a=>`${a.toFixed(1)} W`},core_clock:{label:"Core Clock",color:"#22c55e",unit:"MHz",formatValue:a=>`${Math.round(a)} MHz`}},es=h.h3.withConfig({displayName:"TelemetryChart__ChartTitle",componentId:"sc-15lbh6r-0"})(["margin:0;font-size:",";font-weight:",";color:",";"],a=>a.theme.typography.fontSize.lg,a=>a.theme.typography.fontWeight.semibold,a=>a.theme.colors.text.primary),eh=h.div.withConfig({displayName:"TelemetryChart__EmptyState",componentId:"sc-15lbh6r-1"})(["display:flex;align-items:center;justify-content:center;height:250px;color:",";font-size:",";"],a=>a.theme.colors.text.secondary,a=>a.theme.typography.fontSize.md),i1=h.div.withConfig({displayName:"TelemetryChart__ChartWrapper",componentId:"sc-15lbh6r-2"})(["width:100%;min-height:250px;"]),r1=h.svg.withConfig({displayName:"TelemetryChart__ChartSvg",componentId:"sc-15lbh6r-3"})(["display:block;width:100%;height:auto;"]);function c1(a){const o=new Date(a),c=o.getHours().toString().padStart(2,"0"),s=o.getMinutes().toString().padStart(2,"0"),d=o.getSeconds().toString().padStart(2,"0");return`${c}:${s}:${d}`}function gi({gpuId:a,data:o,metric:c,timeSpanSeconds:s=60}){const[d,p]=v.useState([]),y=o1[c],S=v.useMemo(()=>{if(d.length===0)return[];const b=Date.now()-s*1e3;return d.filter(k=>k.timestamp>=b)},[d,s]);v.useEffect(()=>{if(!o)return;const b=o.gpus.find(D=>D.gpu_index===a);if(!b)return;const k=b[c];typeof k!="number"||isNaN(k)||p(D=>{let $=[...D];if(D.length>0){const Y=D[D.length-1],Q=o.timestamp-Y.timestamp,E=1e3;if(Q>E*2){const q=[];let V=Y.timestamp+E;for(;VPm?$.slice($.length-Pm):$})},[o,a,c]);const M=v.useMemo(()=>{if(S.length===0)return[];const b=[];let k=[],D=S[0].isGap??!1;return S.forEach($=>{const Y=$.isGap??!1;Y!==D&&k.length>0&&(b.push({points:k.map(Q=>({x:Q.point.timestamp,y:Q.point.value})),isGap:D}),k=[],D=Y),k.push({point:$})}),k.length>0&&b.push({points:k.map($=>({x:$.point.timestamp,y:$.point.value})),isGap:D}),b},[S]),w=v.useMemo(()=>{if(S.length===0)return null;const b=600,k=300,D=80,$=30,Y={chartWidth:b-D-$,chartHeight:k-$-$},Q=Date.now(),E=Q-s*1e3,q=Q;let V;const I=o==null?void 0:o.gpus.find(ae=>ae.gpu_index===a);if(c==="core_clock"&&o&&I){const ae=I;V={min:0,max:ae.max_core_clock,range:ae.max_core_clock}}else{const ae=S.filter(oe=>!oe.isGap).map(oe=>oe.value);if(ae.length===0)V={min:0,max:100,range:100};else{const oe=Math.min(...ae),ke=Math.max(...ae),Le=(ke-oe)*.1||5;V={min:Math.max(0,Math.floor(oe-Le)),max:Math.ceil(ke+Le),range:0},V.range=V.max-V.min}}const J=Si([E,q],[D,D+Y.chartWidth]),re=Si([V.min,V.max],[$+Y.chartHeight,$]),se=M.map(ae=>{const oe=ae.points.map(ke=>({x:J(ke.x),y:re(ke.y)}));return{path:Xh(oe,!0),isGap:ae.isGap}}),ie=[];for(let ae=0;ae<=4;ae++){const oe=$+Y.chartHeight/4*ae;ie.push({x1:D,y1:oe,x2:D+Y.chartWidth,y2:oe})}const Oe=[];for(let ae=0;ae<=4;ae++){const oe=V.max-V.range/4*ae,ke=$+Y.chartHeight/4*ae;Oe.push({value:Math.round(oe),y:ke})}const Ue=[];for(let ae=0;ae<=4;ae++){const oe=E+(q-E)/4*ae,ke=D+Y.chartWidth/4*ae;Ue.push({time:c1(oe),x:ke})}return{width:b,height:k,paddingLeft:D,paddingOther:$,dims:Y,paths:se,gridLines:ie,yAxisLabels:Oe,xAxisLabels:Ue,yScale:V,yScaleFn:re}},[S,M,s,c,o,a]);if(S.length===0)return f.jsx(Ra,{padding:"sm",hoverable:!1,children:f.jsxs(Ct,{gap:"sm",children:[f.jsxs(es,{children:[y.label," (GPU ",a,")"]}),f.jsx(eh,{children:"Waiting for data..."})]})});if(!w)return f.jsx(Ra,{padding:"sm",hoverable:!1,children:f.jsxs(Ct,{gap:"sm",children:[f.jsxs(es,{children:[y.label," (GPU ",a,")"]}),f.jsx(eh,{children:"Waiting for data..."})]})});const A=(()=>{if(c!=="core_clock")return null;const b=o==null?void 0:o.gpus.find(Y=>Y.gpu_index===a);if(!o||!o.gpus||!b)return null;if(typeof b.base_core_clock!="number"||typeof b.max_core_clock!="number"||typeof b.core_clock!="number")return console.warn("TelemetryChart: Missing boost range data",{has_base:typeof b.base_core_clock,has_max:typeof b.max_core_clock,has_current:typeof b.core_clock,gpuData:b}),null;const k=b.base_core_clock,D=b.max_core_clock,$=b.core_clock;return console.log("TelemetryChart: Boost calculation",{gpuId:a,base:k,maxBoost:D,current:$}),k<$&&$<=D?`Boosted ${(($-k)/(D-k)*100).toFixed(0)}% (${$}/${D} MHz)`:$<=k?`At Base (${$}/${k} MHz)`:`Over-Boosted (${$} MHz > ${D} MHz max)`})();return f.jsx(Ra,{padding:"md",hoverable:!1,children:f.jsxs(Ct,{gap:"md",children:[f.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"12px",flexWrap:"wrap"},children:[f.jsxs(es,{children:[y.label," (GPU ",a,")"]}),A&&f.jsx("div",{style:{fontSize:"0.8125rem",fontWeight:"500",color:"#FFD700",padding:"4px 10px",background:"rgba(255, 215, 0, 0.12)",borderRadius:"4px",border:"1px solid rgba(255, 215, 0, 0.3)",whiteSpace:"nowrap"},children:A})]}),f.jsx(i1,{children:f.jsxs(r1,{viewBox:`0 0 ${w.width} ${w.height}`,children:[w.gridLines.map((b,k)=>f.jsx("line",{x1:b.x1,y1:b.y1,x2:b.x2,y2:b.y2,stroke:"currentColor",strokeOpacity:"0.1",strokeWidth:"1"},`grid-${k}`)),f.jsx("line",{x1:w.paddingLeft,y1:w.paddingOther,x2:w.paddingLeft,y2:w.paddingOther+w.dims.chartHeight,stroke:"currentColor",strokeOpacity:"0.3",strokeWidth:"2"}),f.jsx("line",{x1:w.paddingLeft,y1:w.paddingOther+w.dims.chartHeight,x2:w.paddingLeft+w.dims.chartWidth,y2:w.paddingOther+w.dims.chartHeight,stroke:"currentColor",strokeOpacity:"0.3",strokeWidth:"2"}),c==="core_clock"&&o&&(()=>{const b=o.gpus.find(q=>q.gpu_index===a);if(!b)return null;const k=b.base_core_clock,D=b.max_core_clock,$=w.yScaleFn,Y=$(k),Q=$(D),E=$(0);return f.jsxs(f.Fragment,{children:[f.jsx("rect",{x:w.paddingLeft,y:Y,width:w.dims.chartWidth,height:E-Y,fill:"rgba(34, 197, 94, 0.15)",stroke:"rgba(34, 197, 94, 0.3)",strokeWidth:"1"}),f.jsx("text",{x:w.paddingLeft+10,y:Y+(E-Y)/2,fontSize:"11",fill:"#22c55e",fontWeight:"600",opacity:"0.7",children:"NORMAL RANGE"}),f.jsx("rect",{x:w.paddingLeft,y:Q,width:w.dims.chartWidth,height:Y-Q,fill:"rgba(255, 215, 0, 0.2)",stroke:"rgba(255, 215, 0, 0.4)",strokeWidth:"1"}),f.jsx("text",{x:w.paddingLeft+10,y:Q+(Y-Q)/2,fontSize:"11",fill:"#FFD700",fontWeight:"600",opacity:"0.9",children:"BOOST RANGE"}),f.jsx("line",{x1:w.paddingLeft,y1:Y,x2:w.paddingLeft+w.dims.chartWidth,y2:Y,stroke:"#22c55e",strokeWidth:"1.5",strokeDasharray:"5,3",strokeOpacity:"0.8"}),f.jsxs("text",{x:w.paddingLeft+w.dims.chartWidth-5,y:Y-5,textAnchor:"end",fontSize:"11",fill:"#22c55e",fontWeight:"600",children:["Base: ",k," MHz"]}),f.jsx("line",{x1:w.paddingLeft,y1:Q,x2:w.paddingLeft+w.dims.chartWidth,y2:Q,stroke:"#FFD700",strokeWidth:"1.5",strokeDasharray:"5,3",strokeOpacity:"0.8"}),f.jsxs("text",{x:w.paddingLeft+w.dims.chartWidth-5,y:Q+12,textAnchor:"end",fontSize:"11",fill:"#FFD700",fontWeight:"600",children:["Max Boost: ",D," MHz"]})]})})(),w.paths.map((b,k)=>f.jsx("path",{d:b.path,fill:"none",stroke:y.color,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",strokeDasharray:b.isGap?"5,5":void 0,strokeOpacity:b.isGap?.5:1},`path-${k}`)),w.yAxisLabels.map((b,k)=>f.jsx("text",{x:w.paddingLeft-10,y:b.y+4,textAnchor:"end",fontSize:"12",fill:"currentColor",fillOpacity:"0.6",children:b.value},`y-label-${k}`)),w.xAxisLabels.map((b,k)=>f.jsx("text",{x:b.x,y:w.paddingOther+w.dims.chartHeight+20,textAnchor:"middle",fontSize:"11",fill:"currentColor",fillOpacity:"0.6",children:b.time},`x-label-${k}`))]})})]})})}const s1=h.div.withConfig({displayName:"GPUDetailView__SectionHeader",componentId:"sc-1qd1p8e-0"})(["display:flex;align-items:center;gap:",";padding-bottom:",";border-bottom:1px solid ",";"],({theme:a})=>a.spacing.md,({theme:a})=>a.spacing.md,({theme:a})=>a.colors.border),u1=h.h2.withConfig({displayName:"GPUDetailView__SectionTitle",componentId:"sc-1qd1p8e-1"})(["margin:0;font-size:",";font-weight:",";color:",";"],({theme:a})=>a.typography.fontSize.xl,({theme:a})=>a.typography.fontWeight.semibold,({theme:a})=>a.colors.text.primary);function d1({gpu:a,metrics:o,telemetryData:c,timeSpanSeconds:s=60,onClockUpdate:d,onClockReset:p,onFanUpdate:y}){return f.jsxs(Ct,{gap:"xl",children:[f.jsxs(s1,{children:[f.jsx(u1,{children:a.name}),f.jsxs(Uh,{variant:"primary",size:"md",children:["GPU ",a.id]})]}),f.jsxs(Vl,{columns:1,responsive:{sm:2,md:2,lg:4},gap:"md",children:[f.jsx(gi,{gpuId:a.id,data:c,metric:"temperature",timeSpanSeconds:s}),f.jsx(gi,{gpuId:a.id,data:c,metric:"fan_speed",timeSpanSeconds:s}),f.jsx(gi,{gpuId:a.id,data:c,metric:"power_draw",timeSpanSeconds:s}),f.jsx(gi,{gpuId:a.id,data:c,metric:"core_clock",timeSpanSeconds:s})]}),f.jsxs(Vl,{columns:1,responsive:{md:2},gap:"md",children:[f.jsx(Ix,{gpuId:a.id,onApply:d,onReset:p}),f.jsx(l1,{gpuId:a.id,currentSpeed:(o==null?void 0:o.fan_speed)??null,onSetSpeed:y,onSetAuto:S=>y(S,void 0)})]})]})}const th=86400;function f1(a){const o=new Date(a),c=o.getHours().toString().padStart(2,"0"),s=o.getMinutes().toString().padStart(2,"0"),d=o.getSeconds().toString().padStart(2,"0");return`${c}:${s}:${d}`}const ah=["#FF006E","#00F5FF","#FFD700","#00FF00","#FF1493","#00CED1","#FFB6C1","#7FFF00"],m1={temperature:{label:"Temperature",unit:"°C",formatValue:a=>`${Math.round(a)}°C`},fan_speed:{label:"Fan Speed",unit:"%",formatValue:a=>`${Math.round(a)}%`},power_draw:{label:"Power Draw",unit:"W",formatValue:a=>`${a.toFixed(1)} W`},core_clock:{label:"Core Clock",unit:"MHz",formatValue:a=>`${Math.round(a)} MHz`}},nh=h.h3.withConfig({displayName:"OverlayChart__ChartTitle",componentId:"sc-1n4vq91-0"})(["margin:0;font-size:",";font-weight:",";color:",";"],a=>a.theme.typography.fontSize.lg,a=>a.theme.typography.fontWeight.semibold,a=>a.theme.colors.text.primary),h1=h.div.withConfig({displayName:"OverlayChart__ChartHeader",componentId:"sc-1n4vq91-1"})(["display:flex;justify-content:space-between;align-items:center;margin-bottom:",";@media (max-width:768px){flex-direction:column;align-items:flex-start;gap:",";}"],a=>a.theme.spacing.md,a=>a.theme.spacing.md),p1=h.div.withConfig({displayName:"OverlayChart__ChartWrapper",componentId:"sc-1n4vq91-2"})(["width:100%;min-height:180px;overflow:hidden;position:relative;@media (max-width:640px){min-height:160px;}"]),g1=h.div.withConfig({displayName:"OverlayChart__Legend",componentId:"sc-1n4vq91-3"})(["display:flex;flex-wrap:wrap;gap:",";padding:"," 0;border-top:1px solid ",";margin-top:",";"],a=>a.theme.spacing.sm,a=>a.theme.spacing.sm,a=>a.theme.colors.border,a=>a.theme.spacing.md),y1=h.div.withConfig({displayName:"OverlayChart__LegendItem",componentId:"sc-1n4vq91-4"})(["display:flex;align-items:center;gap:",";font-size:",";color:",";cursor:pointer;transition:opacity 0.2s ease;user-select:none;&:hover{opacity:0.8;}"],a=>a.theme.spacing.xs,a=>a.theme.typography.fontSize.sm,a=>a.theme.colors.text.secondary),b1=h.div.withConfig({displayName:"OverlayChart__LegendDot",componentId:"sc-1n4vq91-5"})(["width:12px;height:12px;border-radius:50%;background-color:",";flex-shrink:0;"],a=>a.color),x1=h.div.withConfig({displayName:"OverlayChart__EmptyState",componentId:"sc-1n4vq91-6"})(["display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:120px;color:",";font-size:",";gap:",";"],a=>a.theme.colors.text.secondary,a=>a.theme.typography.fontSize.md,a=>a.theme.spacing.sm),v1=h.p.withConfig({displayName:"OverlayChart__EmptyStateMessage",componentId:"sc-1n4vq91-7"})(["margin:0;text-align:center;"]),w1=h.svg.withConfig({displayName:"OverlayChart__ChartSvg",componentId:"sc-1n4vq91-8"})(["display:block;width:100%;height:auto;"]);function ts(a){return ah[a%ah.length]??"#FF006E"}function S1(a,o,c){let s=a.gpus.find(p=>p.gpu_index===o);if(!s&&a.gpus[o]&&(s=a.gpus[o]),!s)return null;const d=s[c];return typeof d!="number"||isNaN(d)?null:d}function lh(a){if(a.length===0)return{min:0,max:100,range:100};const o=Math.min(...a),c=Math.max(...a),s=(c-o)*.1||5,d=Math.max(0,Math.floor(o-s)),p=Math.ceil(c+s);return{min:d,max:p,range:p-d}}function yi({title:a,gpus:o,telemetryData:c,historicalRecords:s=[],metric:d,timeSpanSeconds:p=60,showDebug:y=!1}){var ke,Le;const[S,M]=v.useState({}),w=v.useRef(""),A=v.useRef(0);v.useEffect(()=>{var G,W;if(s.length===0)return;const Z=((G=s[0])==null?void 0:G.timestamp)||"",_=((W=s[s.length-1])==null?void 0:W.timestamp)||"",H=`${s.length}:${Z}:${_}`;if(w.current===H)return;const R={};for(const P of s){const ee=P.gpu_index,ge=P[d];typeof ge!="number"||isNaN(ge)||(R[ee]||(R[ee]=[]),R[ee].push({timestamp:new Date(P.timestamp).getTime(),value:ge}))}for(const P of Object.keys(R))R[Number(P)].sort((ee,ge)=>ee.timestamp-ge.timestamp);const X=Object.values(R).reduce((P,ee)=>P+ee.length,0);console.log(`[OverlayChart:${d}] Seeding ${X} historical points`),M(R),w.current=H,console.log(`[OverlayChart:${d}] Seeded ${X} total points`)},[s,d]);const b=v.useMemo(()=>{const Z=Date.now()-p*1e3,_={};for(const H of Object.keys(S)){const X=(S[Number(H)]||[]).filter(G=>G.timestamp>=Z);_[Number(H)]=X}return _},[S,p]),k=v.useRef(null),[D,$]=v.useState({width:600,height:280});v.useEffect(()=>{const Z=k.current;if(!Z)return;const _=new ResizeObserver(H=>{for(const R of H){const{width:X}=R.contentRect;if(X>0){const G=X<500?.55:.5;$({width:Math.round(X),height:Math.round(X*G)})}}});return _.observe(Z),()=>_.disconnect()},[]);const{width:Y,height:Q}=D,E=m1[d];v.useEffect(()=>{!c||o.length===0||c.timestamp<=A.current||(A.current=c.timestamp,M(Z=>{const _={...Z};let H=!1;for(const R of o){const X=R.id,G=S1(c,X,d);if(G===null)continue;_[X]||(_[X]=[]);const W=_[X];W.push({timestamp:c.timestamp,value:G}),W.length>th&&(_[X]=W.slice(W.length-th)),H=!0}return H?_:Z}))},[c,o,d]);const q=v.useMemo(()=>{var ee;const Z=Date.now(),_=Z-p*1e3,H=Z,R=[],X={};for(const ge of o){const Pe=ge.id,ft=b[Pe]||[];R.push(...ft.map(zt=>zt.value)),X[Pe]=ft.map(zt=>({x:zt.timestamp,y:zt.value}))}let G,W=0,P=0;if(d==="core_clock"&&((ee=c==null?void 0:c.gpus)!=null&&ee.length)){for(const ge of c.gpus)ge.max_core_clock>P&&(P=ge.max_core_clock),ge.base_core_clock>W&&(W=ge.base_core_clock);P>0?G={min:0,max:P,range:P}:G=lh(R)}else G=lh(R);return{yScale:G,gpuDataPoints:X,allValues:R,xMin:_,xMax:H,baseClock:W,maxClock:P}},[b,o,p,d,c]),V=v.useMemo(()=>{const Z=d==="core_clock"?50:30,_=30,H={chartWidth:Y-Z-_,chartHeight:Q-_-_},R=[],X=Si([q.xMin,q.xMax],[Z,Z+H.chartWidth]),G=Si([q.yScale.min,q.yScale.max],[_+H.chartHeight,_]);for(const W of o){const P=W.id,ee=q.gpuDataPoints[P];if(!ee||ee.length===0)continue;const ge=ee.map(zt=>({x:X(zt.x),y:G(zt.y)})),Pe=Xh(ge,!0),ft=ts(P);R.push({gpuIndex:P,path:Pe,color:ft})}return{paths:R,padding:_,paddingLeft:Z,dims:H,yScaleFn:G}},[q,o,Y,Q,d]),I=v.useMemo(()=>{const{padding:Z,paddingLeft:_,dims:H}=V,R=[];for(let X=0;X<=4;X++){const G=Z+H.chartHeight/4*X;R.push(f.jsx("line",{x1:_,y1:G,x2:_+H.chartWidth,y2:G,stroke:"currentColor",strokeOpacity:"0.1",strokeWidth:"1"},`h-${X}`))}for(let X=0;X<=4;X++){const G=_+H.chartWidth/4*X;R.push(f.jsx("line",{x1:G,y1:Z,x2:G,y2:Z+H.chartHeight,stroke:"currentColor",strokeOpacity:"0.1",strokeWidth:"1"},`v-${X}`))}return R},[V]),J=v.useMemo(()=>{const{padding:Z,paddingLeft:_,dims:H}=V,R=[];for(let X=0;X<=4;X++){const G=q.yScale.max-q.yScale.range/4*X,W=Z+H.chartHeight/4*X;R.push(f.jsx("text",{x:_-8,y:W+4,textAnchor:"end",fontSize:"12",fill:"currentColor",fillOpacity:"0.6",children:Math.round(G)},`y-${X}`))}return R},[V,q.yScale]),re=v.useMemo(()=>{const{padding:Z,paddingLeft:_,dims:H}=V,R=[];for(let X=0;X<=4;X++){const G=q.xMin+(q.xMax-q.xMin)/4*X,W=_+H.chartWidth/4*X;R.push(f.jsx("text",{x:W,y:Z+H.chartHeight+20,textAnchor:"middle",fontSize:"11",fill:"currentColor",fillOpacity:"0.6",children:f1(G)},`x-${X}`))}return R},[V,q.xMin,q.xMax]),se=v.useCallback(()=>{const Z={};for(const _ of o){const H=b[_.id]||[],R=H[H.length-1];Z[_.id]=R?R.value:null}return Z},[b,o]),ie=Object.keys(b).length>0&&q.gpuDataPoints,Oe=ie&&Object.values(q.gpuDataPoints).some(Z=>Z.length>0);if(!Oe){const Z={metric:d,hasData:ie,hasAnyPoints:Oe,lastSeededKey:w.current,historicalRecordsCount:s.length,visibleHistoryKeys:Object.keys(b),visibleHistoryCounts:Object.entries(b).map(([_,H])=>`GPU${_}:${H.length}`).join(", "),historyKeys:Object.keys(S),historyCounts:Object.entries(S).map(([_,H])=>`GPU${_}:${H.length}`).join(", "),gpuIdsFromProps:o.map(_=>_.id).join(", "),chartDataKeys:q.gpuDataPoints?Object.keys(q.gpuDataPoints).join(", "):"none",chartDataCounts:q.gpuDataPoints?Object.entries(q.gpuDataPoints).map(([_,H])=>`GPU${_}:${H.length}`).join(", "):"none",telemetryDataExists:!!c,telemetryGpuCount:((ke=c==null?void 0:c.gpus)==null?void 0:ke.length)??0,telemetryGpuIndices:((Le=c==null?void 0:c.gpus)==null?void 0:Le.map(_=>_.gpu_index).join(", "))??"none"};return f.jsx(Ra,{padding:"md",hoverable:!1,children:f.jsxs(Ct,{gap:"md",children:[f.jsx(nh,{children:a}),f.jsxs(x1,{children:[f.jsx(v1,{children:o.length===0?"No GPUs configured":"Waiting for telemetry data..."}),y&&f.jsxs("div",{style:{marginTop:"16px",padding:"12px",background:"rgba(255,0,0,0.1)",borderRadius:"4px",fontSize:"11px",fontFamily:"monospace",textAlign:"left",maxWidth:"100%",overflow:"auto"},children:[f.jsx("div",{children:f.jsx("strong",{children:"DEBUG INFO:"})}),f.jsxs("div",{children:["Metric: ",Z.metric]}),f.jsxs("div",{children:["hasData: ",String(Z.hasData)]}),f.jsxs("div",{children:["hasAnyPoints: ",String(Z.hasAnyPoints)]}),f.jsxs("div",{children:["Historical records: ",Z.historicalRecordsCount," (key: ",Z.lastSeededKey||"none",")"]}),f.jsxs("div",{children:["Telemetry exists: ",String(Z.telemetryDataExists)," (",Z.telemetryGpuCount," GPUs)"]}),f.jsxs("div",{children:["Telemetry gpu_index values: [",Z.telemetryGpuIndices,"]"]}),f.jsxs("div",{children:["GPU IDs from props: [",Z.gpuIdsFromProps,"]"]}),f.jsxs("div",{children:["History keys: [",Z.historyKeys,"]"]}),f.jsxs("div",{children:["History counts: ",Z.historyCounts||"none"]}),f.jsxs("div",{children:["VisibleHistory keys: [",Z.visibleHistoryKeys,"]"]}),f.jsxs("div",{children:["VisibleHistory counts: ",Z.visibleHistoryCounts||"none"]}),f.jsxs("div",{children:["ChartData keys: [",Z.chartDataKeys,"]"]}),f.jsxs("div",{children:["ChartData counts: ",Z.chartDataCounts]})]})]})]})})}const Ue=V.padding,ae=V.paddingLeft,oe=V.dims;return f.jsx(Ra,{padding:"sm",hoverable:!1,children:f.jsxs(Ct,{gap:"sm",children:[f.jsxs(h1,{children:[f.jsxs(nh,{children:[a," - ",E.label]}),f.jsx("div",{style:{fontSize:"0.875rem",color:"var(--text-secondary, #666)"},children:E.unit})]}),f.jsx(p1,{ref:k,children:f.jsxs(w1,{viewBox:`0 0 ${Y} ${Q}`,children:[I,f.jsx("line",{x1:ae,y1:Ue,x2:ae,y2:Ue+oe.chartHeight,stroke:"currentColor",strokeOpacity:"0.3",strokeWidth:"2"}),f.jsx("line",{x1:ae,y1:Ue+oe.chartHeight,x2:ae+oe.chartWidth,y2:Ue+oe.chartHeight,stroke:"currentColor",strokeOpacity:"0.3",strokeWidth:"2"}),d==="core_clock"&&q.baseClock>0&&q.maxClock>0&&(()=>{const{yScaleFn:Z}=V,_=Z(q.baseClock),H=Z(q.maxClock),R=Z(0);return f.jsxs(f.Fragment,{children:[f.jsx("rect",{x:ae,y:_,width:oe.chartWidth,height:R-_,fill:"rgba(34, 197, 94, 0.15)",stroke:"rgba(34, 197, 94, 0.3)",strokeWidth:"1"}),f.jsx("text",{x:ae+10,y:_+(R-_)/2,fontSize:"11",fill:"#22c55e",fontWeight:"600",opacity:"0.7",children:"NORMAL"}),f.jsx("rect",{x:ae,y:H,width:oe.chartWidth,height:_-H,fill:"rgba(255, 215, 0, 0.2)",stroke:"rgba(255, 215, 0, 0.4)",strokeWidth:"1"}),f.jsx("text",{x:ae+10,y:H+(_-H)/2,fontSize:"11",fill:"#FFD700",fontWeight:"600",opacity:"0.9",children:"BOOST"}),f.jsx("line",{x1:ae,y1:_,x2:ae+oe.chartWidth,y2:_,stroke:"#22c55e",strokeWidth:"1.5",strokeDasharray:"5,3",strokeOpacity:"0.8"}),f.jsxs("text",{x:ae+oe.chartWidth-5,y:_-5,textAnchor:"end",fontSize:"10",fill:"#22c55e",fontWeight:"600",children:["Base: ",q.baseClock," MHz"]}),f.jsx("line",{x1:ae,y1:H,x2:ae+oe.chartWidth,y2:H,stroke:"#FFD700",strokeWidth:"1.5",strokeDasharray:"5,3",strokeOpacity:"0.8"}),f.jsxs("text",{x:ae+oe.chartWidth-5,y:H+12,textAnchor:"end",fontSize:"10",fill:"#FFD700",fontWeight:"600",children:["Max: ",q.maxClock," MHz"]})]})})(),V.paths.map(Z=>f.jsx("path",{d:Z.path,fill:"none",stroke:Z.color,strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round"},`line-${Z.gpuIndex}`)),J,re]})}),f.jsx(g1,{children:o.map(Z=>f.jsxs(y1,{color:ts(Z.id),children:[f.jsx(b1,{color:ts(Z.id)}),f.jsxs("span",{children:["GPU ",Z.id,": ",se()[Z.id]!==null?E.formatValue(se()[Z.id]??0):"N/A"]})]},`legend-${Z.id}`))})]})})}function C1({gpus:a,telemetryData:o,telemetryHistory:c=[],timeSpanSeconds:s=60,showDebug:d=!1}){return console.log(`[OverviewDashboard] Received ${c.length} historical records`),f.jsx(Ct,{gap:"lg",children:f.jsxs(Vl,{columns:1,responsive:{sm:2,md:2,lg:2},gap:"md",children:[f.jsx(yi,{title:"Temperature",gpus:a,telemetryData:o,historicalRecords:c,metric:"temperature",timeSpanSeconds:s,showDebug:d}),f.jsx(yi,{title:"Fan Speed",gpus:a,telemetryData:o,historicalRecords:c,metric:"fan_speed",timeSpanSeconds:s,showDebug:d}),f.jsx(yi,{title:"Power Draw",gpus:a,telemetryData:o,historicalRecords:c,metric:"power_draw",timeSpanSeconds:s,showDebug:d}),f.jsx(yi,{title:"Core Clock",gpus:a,telemetryData:o,historicalRecords:c,metric:"core_clock",timeSpanSeconds:s,showDebug:d})]})})}const _1=h.div.withConfig({displayName:"DataTable__TableContainer",componentId:"sc-1wyxyq2-0"})(["width:100%;overflow-x:auto;background:",";border-radius:",";border:2px solid ",";box-shadow:",";",""],a=>a.theme.colors.background,a=>a.theme.borderRadius.md,a=>a.theme.colors.border,a=>a.theme.shadows.sm,a=>{var o;return((o=a.theme.extensions)==null?void 0:o.cyberpunk)&&C(["border-color:",";box-shadow:0 0 10px ","33;"],a.theme.colors.primary,a.theme.colors.primary)}),z1=h.table.withConfig({displayName:"DataTable__StyledTable",componentId:"sc-1wyxyq2-1"})(["width:100%;border-collapse:collapse;"]),k1=h.thead.withConfig({displayName:"DataTable__TableHead",componentId:"sc-1wyxyq2-2"})(["background-color:",";border-bottom:1px solid ",";",""],a=>a.theme.colors.surface,a=>a.theme.colors.border,a=>{var o;return((o=a.theme.extensions)==null?void 0:o.cyberpunk)&&C(["background-color:","15;border-bottom-color:","50;"],a.theme.colors.primary,a.theme.colors.primary)}),T1=h.th.withConfig({displayName:"DataTable__TableHeader",componentId:"sc-1wyxyq2-3"})(["padding:",";text-align:left;font-size:",";font-weight:",";color:",";width:",";cursor:",";user-select:none;transition:background ",";"," ",""],a=>a.theme.spacing.md,a=>a.theme.typography.fontSize.sm,a=>a.theme.typography.fontWeight.bold,a=>a.theme.colors.text.primary,a=>a.$width||"auto",a=>a.$sortable?"pointer":"default",a=>a.theme.transitions.normal,a=>a.$sortable&&C(["&:hover{background-color:",";}"],o=>o.theme.colors.hover.surface),a=>{var o;return a.$sortable&&((o=a.theme.extensions)==null?void 0:o.cyberpunk)&&C(["color:",";"],a.theme.colors.primary)}),j1=h.div.withConfig({displayName:"DataTable__TableHeaderContent",componentId:"sc-1wyxyq2-4"})(["display:flex;align-items:center;gap:",";"],a=>a.theme.spacing.sm),M1=h.tbody.withConfig({displayName:"DataTable__TableBody",componentId:"sc-1wyxyq2-5"})([""]),N1=h.tr.withConfig({displayName:"DataTable__TableRow",componentId:"sc-1wyxyq2-6"})(["border-bottom:1px solid ",";transition:background ",";cursor:",";&:hover{background-color:",";}",""],a=>a.theme.colors.border,a=>a.theme.transitions.normal,a=>a.$clickable?"pointer":"default",a=>a.$clickable?a.theme.colors.hover.surface:"transparent",a=>{var o;return a.$clickable&&((o=a.theme.extensions)==null?void 0:o.cyberpunk)&&C(["&:hover{background-color:","10;}"],a.theme.colors.primary)}),as=h.td.withConfig({displayName:"DataTable__TableCell",componentId:"sc-1wyxyq2-7"})(["padding:",";font-size:",";color:",";"],a=>a.theme.spacing.md,a=>a.theme.typography.fontSize.sm,a=>a.theme.colors.text.primary),A1=h.div.withConfig({displayName:"DataTable__EmptyState",componentId:"sc-1wyxyq2-8"})(["padding:"," ",";text-align:center;color:",";font-size:",";"],a=>a.theme.spacing.xxl,a=>a.theme.spacing.md,a=>a.theme.colors.text.secondary,a=>a.theme.typography.fontSize.sm),E1=h.div.withConfig({displayName:"DataTable__LoadingState",componentId:"sc-1wyxyq2-9"})(["padding:"," ",";text-align:center;color:",";font-size:",";"],a=>a.theme.spacing.xxl,a=>a.theme.spacing.md,a=>a.theme.colors.primary,a=>a.theme.typography.fontSize.sm),O1=({columns:a,data:o,keyExtractor:c,onSort:s,sortKey:d,sortDirection:p,onRowClick:y,emptyMessage:S="No data available",isLoading:M=!1})=>{const w=b=>{s&&s(b)},A=b=>d!==b?null:p==="asc"?f.jsx(yb,{size:14}):f.jsx(pb,{size:14});return f.jsx(_1,{children:f.jsxs(z1,{children:[f.jsx(k1,{children:f.jsx("tr",{children:a.map(b=>f.jsx(T1,{$width:b.width,$sortable:b.sortable,onClick:()=>b.sortable&&w(b.key),children:f.jsxs(j1,{children:[b.header,b.sortable&&A(b.key)]})},b.key))})}),f.jsx(M1,{children:M?f.jsx("tr",{children:f.jsx(as,{colSpan:a.length,children:f.jsx(E1,{children:"Loading..."})})}):o.length===0?f.jsx("tr",{children:f.jsx(as,{colSpan:a.length,children:f.jsx(A1,{children:S})})}):o.map(b=>f.jsx(N1,{$clickable:!!y,onClick:()=>y==null?void 0:y(b),children:a.map(k=>{const D=b[k.key];let $="";return D!=null&&(typeof D=="object"?$=JSON.stringify(D):(typeof D=="string"||typeof D=="number"||typeof D=="boolean")&&($=String(D))),f.jsx(as,{children:k.render?k.render(b):$},k.key)})},c(b)))})]})})};h.div.withConfig({displayName:"StickyDataTable__TableContainer",componentId:"sc-rr0w46-0"})(["width:100%;height:100%;overflow:auto;background:",";position:relative;"],a=>a.theme.colors.background);h.table.withConfig({displayName:"StickyDataTable__StyledTable",componentId:"sc-rr0w46-1"})(["width:100%;border-collapse:collapse;min-width:1800px;background:",";th,td{border:1px solid ",";padding:",";text-align:left;vertical-align:top;font-size:",";}"],a=>a.theme.colors.background,a=>a.theme.colors.border,a=>a.theme.spacing.md,a=>a.theme.typography.fontSize.sm);h.tr.withConfig({displayName:"StickyDataTable__HeaderRow",componentId:"sc-rr0w46-2"})(["position:sticky;top:0;z-index:20;background:",";"],a=>a.theme.colors.background);h.tr.withConfig({displayName:"StickyDataTable__SubHeaderRow",componentId:"sc-rr0w46-3"})(["position:sticky;top:45px;z-index:19;background:",";"],a=>a.theme.colors.background);h.th.withConfig({displayName:"StickyDataTable__ColumnHeader",componentId:"sc-rr0w46-4"})(["background:",";position:",";font-weight:",";font-size:",";color:",";text-align:center;border:1px solid ",";"," ",""],a=>a.theme.colors.surface,a=>a.$sticky?"sticky":"relative",a=>a.theme.typography.fontWeight.bold,a=>a.theme.typography.fontSize.md,a=>a.theme.colors.text.primary,a=>a.theme.colors.border,a=>a.$sticky==="left"&&C(["left:","px;z-index:25;"],a.$stickyLeft||0),a=>a.$sticky==="both"&&C(["left:","px;top:0;z-index:30;"],a.$stickyLeft||0));h.th.withConfig({displayName:"StickyDataTable__SubColumnHeader",componentId:"sc-rr0w46-5"})(["background:",";position:",";font-weight:",";font-size:",";color:",";text-align:center;padding:"," !important;border:1px solid ",";opacity:0.9;"," ",""],a=>a.theme.colors.surface,a=>a.$sticky?"sticky":"relative",a=>a.theme.typography.fontWeight.semibold,a=>a.theme.typography.fontSize.xs,a=>a.theme.colors.text.secondary,a=>a.theme.spacing.sm,a=>a.theme.colors.border,a=>a.$sticky==="left"&&C(["left:","px;z-index:25;"],a.$stickyLeft||0),a=>a.$sticky==="both"&&C(["left:","px;top:45px;z-index:29;"],a.$stickyLeft||0));h.tr.withConfig({displayName:"StickyDataTable__DataRow",componentId:"sc-rr0w46-6"})([""]);h.td.withConfig({displayName:"StickyDataTable__DataCell",componentId:"sc-rr0w46-7"})(["background:",";color:",";min-width:",";",""],a=>a.theme.colors.background,a=>a.theme.colors.text.primary,a=>a.$minWidth||"auto",a=>a.$sticky==="left"&&C(["position:sticky;left:","px;z-index:15;"],a.$stickyLeft||0));h.div.withConfig({displayName:"StickyDataTable__EmptyState",componentId:"sc-rr0w46-8"})(["text-align:center;padding:",";color:",";font-size:",";"],a=>a.theme.spacing.xxl,a=>a.theme.colors.text.secondary,a=>a.theme.typography.fontSize.md);h.div.withConfig({displayName:"Pagination__PaginationContainer",componentId:"sc-19shqfu-0"})(["display:flex;align-items:center;justify-content:space-between;padding:",";border-top:1px solid ",";"],a=>a.theme.spacing.md,a=>a.theme.colors.border);h.div.withConfig({displayName:"Pagination__PageInfo",componentId:"sc-19shqfu-1"})(["font-size:",";color:",";"],a=>a.theme.typography.fontSize.sm,a=>a.theme.colors.text.secondary);h.div.withConfig({displayName:"Pagination__PageControls",componentId:"sc-19shqfu-2"})(["display:flex;align-items:center;gap:",";"],a=>a.theme.spacing.sm);h.button.withConfig({displayName:"Pagination__PageButton",componentId:"sc-19shqfu-3"})(["min-width:36px;height:36px;padding:0 ",";background:",";color:",";border:2px solid ",";border-radius:",";font-size:",";font-weight:",";cursor:pointer;transition:all ",";display:flex;align-items:center;justify-content:center;box-shadow:",";&:disabled{opacity:0.5;cursor:not-allowed;}&:hover:not(:disabled){border-color:",";box-shadow:",";}"," ",""],a=>a.theme.spacing.sm,a=>a.$active?a.theme.colors.primary:a.theme.colors.background,a=>a.$active?a.theme.colors.background:a.theme.colors.primary,a=>a.$active?a.theme.colors.primary:a.theme.colors.border,a=>a.theme.borderRadius.sm,a=>a.theme.typography.fontSize.sm,a=>a.theme.typography.fontWeight.bold,a=>a.theme.transitions.normal,a=>a.$active?a.theme.shadows.sm:"none",a=>a.theme.colors.primary,a=>a.theme.shadows.sm,a=>{var o;return a.$active&&((o=a.theme.extensions)==null?void 0:o.cyberpunk)&&C(["box-shadow:0 0 10px ",";&:hover:not(:disabled){box-shadow:0 0 15px ",";}"],a.theme.colors.primary,a.theme.colors.primary)},a=>{var o;return!a.$active&&((o=a.theme.extensions)==null?void 0:o.cyberpunk)&&C(["&:hover:not(:disabled){box-shadow:0 0 5px ",";}"],a.theme.colors.primary)});h.span.withConfig({displayName:"Pagination__Ellipsis",componentId:"sc-19shqfu-4"})(["padding:0 ",";color:",";"],a=>a.theme.spacing.sm,a=>a.theme.colors.text.secondary);h.div.withConfig({displayName:"ImageGallery__GalleryContainer",componentId:"sc-1l4hcx8-0"})(["width:100%;"]);h.div.withConfig({displayName:"ImageGallery__FilterBar",componentId:"sc-1l4hcx8-1"})(["display:flex;gap:",";margin-bottom:",";flex-wrap:wrap;"],a=>a.theme.spacing.md,a=>a.theme.spacing.lg);h.button.withConfig({displayName:"ImageGallery__FilterButton",componentId:"sc-1l4hcx8-2"})(["padding:"," ",";font-family:",";font-size:",";font-weight:",";color:",";background-color:",";border:2px solid ",";border-radius:",";cursor:pointer;transition:all ",";text-transform:capitalize;&:hover{border-color:",";background-color:",";}&:focus-visible{outline:2px solid ",";outline-offset:2px;}"],a=>a.theme.spacing.sm,a=>a.theme.spacing.md,a=>a.theme.typography.fontFamily.body,a=>a.theme.typography.fontSize.sm,a=>a.theme.typography.fontWeight.medium,({$isActive:a,theme:o})=>a?"#ffffff":o.colors.text.primary,({$isActive:a,theme:o})=>a?o.colors.primary:"transparent",({$isActive:a,theme:o})=>a?o.colors.primary:o.colors.border,a=>a.theme.borderRadius.full,a=>a.theme.transitions.normal,a=>a.theme.colors.primary,({$isActive:a,theme:o})=>a?o.colors.primary:o.colors.hover.surface,a=>a.theme.colors.primary);h.div.withConfig({displayName:"ImageGallery__Grid",componentId:"sc-1l4hcx8-3"})(["display:grid;grid-template-columns:repeat(",",1fr);gap:",";@media (max-width:","){grid-template-columns:repeat(",",1fr);}@media (max-width:","){grid-template-columns:repeat(",",1fr);}"],({$columns:a})=>a,({$gap:a,theme:o})=>o.spacing[a]||o.spacing.md,a=>a.theme.breakpoints.lg,({$columns:a})=>Math.max(1,a-1),a=>a.theme.breakpoints.md,({$columns:a})=>Math.max(1,a-2));const D1=h.button.withConfig({displayName:"ImageGallery__GalleryItem",componentId:"sc-1l4hcx8-4"})(["position:relative;aspect-ratio:1;overflow:hidden;border-radius:",";cursor:pointer;border:none;padding:0;background:none;transition:transform ",";&:hover{transform:scale(1.02);}&:focus-visible{outline:2px solid ",";outline-offset:4px;}img{width:100%;height:100%;object-fit:cover;transition:transform ",";}&:hover img{transform:scale(1.1);}"],a=>a.theme.borderRadius.lg,a=>a.theme.transitions.normal,a=>a.theme.colors.primary,a=>a.theme.transitions.slow);h.div.withConfig({displayName:"ImageGallery__Overlay",componentId:"sc-1l4hcx8-5"})(["position:absolute;inset:0;background:rgba(0,0,0,0.6);opacity:0;transition:opacity ",";display:flex;align-items:center;justify-content:center;color:#ffffff;font-family:",";font-size:",";padding:",";text-align:center;",":hover &{opacity:1;}"],a=>a.theme.transitions.normal,a=>a.theme.typography.fontFamily.heading,a=>a.theme.typography.fontSize.lg,a=>a.theme.spacing.md,D1);h.div.withConfig({displayName:"ImageGallery__Lightbox",componentId:"sc-1l4hcx8-6"})(["position:fixed;inset:0;background:rgba(0,0,0,0.9);z-index:",";display:",";align-items:center;justify-content:center;padding:",";opacity:",";transition:opacity ",";@media (max-width:","){padding:",";}"],a=>a.theme.zIndex.modal,({$isOpen:a})=>a?"flex":"none",a=>a.theme.spacing.lg,({$isOpen:a})=>a?1:0,a=>a.theme.transitions.normal,a=>a.theme.breakpoints.md,a=>a.theme.spacing.md);h.div.withConfig({displayName:"ImageGallery__LightboxContent",componentId:"sc-1l4hcx8-7"})(["position:relative;max-width:90vw;max-height:90vh;display:flex;flex-direction:column;align-items:center;gap:",";"],a=>a.theme.spacing.md);h.img.withConfig({displayName:"ImageGallery__LightboxImage",componentId:"sc-1l4hcx8-8"})(["max-width:100%;max-height:80vh;border-radius:",";box-shadow:",";"],a=>a.theme.borderRadius.lg,a=>a.theme.shadows.xl);h.div.withConfig({displayName:"ImageGallery__LightboxInfo",componentId:"sc-1l4hcx8-9"})(["text-align:center;color:#ffffff;max-width:600px;"]);h.h3.withConfig({displayName:"ImageGallery__LightboxTitle",componentId:"sc-1l4hcx8-10"})(["font-family:",";font-size:",";margin-bottom:",";"],a=>a.theme.typography.fontFamily.heading,a=>a.theme.typography.fontSize.xl,a=>a.theme.spacing.sm);h.p.withConfig({displayName:"ImageGallery__LightboxDescription",componentId:"sc-1l4hcx8-11"})(["font-family:",";font-size:",";color:#ffffff;opacity:0.9;"],a=>a.theme.typography.fontFamily.body,a=>a.theme.typography.fontSize.base);const vs=h.button.withConfig({displayName:"ImageGallery__LightboxButton",componentId:"sc-1l4hcx8-12"})(["position:absolute;background:rgba(255,255,255,0.1);border:2px solid rgba(255,255,255,0.3);border-radius:",";width:48px;height:48px;display:flex;align-items:center;justify-content:center;color:#ffffff;cursor:pointer;transition:all ",";backdrop-filter:blur(10px);&:hover{background:rgba(255,255,255,0.2);border-color:rgba(255,255,255,0.5);}&:focus-visible{outline:2px solid #ffffff;outline-offset:2px;}svg{width:24px;height:24px;}"],a=>a.theme.borderRadius.full,a=>a.theme.transitions.normal);h(vs).withConfig({displayName:"ImageGallery__CloseButton",componentId:"sc-1l4hcx8-13"})(["top:",";right:",";"],a=>a.theme.spacing.md,a=>a.theme.spacing.md);h(vs).withConfig({displayName:"ImageGallery__PrevButton",componentId:"sc-1l4hcx8-14"})(["left:",";top:50%;transform:translateY(-50%);"],a=>a.theme.spacing.md);h(vs).withConfig({displayName:"ImageGallery__NextButton",componentId:"sc-1l4hcx8-15"})(["right:",";top:50%;transform:translateY(-50%);"],a=>a.theme.spacing.md);h.svg.withConfig({displayName:"Sparkline__SparklineSvg",componentId:"sc-1thaq7m-0"})(["display:block;"]);h(_t.div).withConfig({displayName:"StatCard__Card",componentId:"sc-1316qmk-0"})(["display:flex;flex-direction:column;align-items:center;gap:0.5rem;padding:1.5rem 1rem;min-width:140px;text-align:center;"]);h.span.withConfig({displayName:"StatCard__Value",componentId:"sc-1316qmk-1"})(["font-size:clamp(2rem,5vw,3rem);font-weight:800;background:linear-gradient(135deg,",",",");background-clip:text;-webkit-background-clip:text;-webkit-text-fill-color:transparent;line-height:1.2;"],a=>a.$gradientFrom,a=>a.$gradientTo);h.span.withConfig({displayName:"StatCard__Label",componentId:"sc-1316qmk-2"})(["font-size:0.85rem;color:rgba(255,255,255,0.6);text-transform:uppercase;letter-spacing:0.1em;max-width:150px;line-height:1.3;"]);const $1=h.div.withConfig({displayName:"ProfileManager__DesktopOnly",componentId:"sc-nilifl-0"})(["display:block;@media (max-width:768px){display:none;}"]),R1=h.div.withConfig({displayName:"ProfileManager__MobileOnly",componentId:"sc-nilifl-1"})(["display:none;@media (max-width:768px){display:block;}"]),U1=h.div.withConfig({displayName:"ProfileManager__MobileProfileCard",componentId:"sc-nilifl-2"})(["background:",";border:1px solid ",";border-radius:8px;padding:1rem;margin-bottom:0.75rem;cursor:pointer;transition:border-color 0.2s ease;&:hover{border-color:",";}"],({theme:a})=>{var o;return((o=a.colors)==null?void 0:o.surface)||"#1a1a1a"},({theme:a})=>{var o;return((o=a.colors)==null?void 0:o.border)||"#333"},({theme:a})=>{var o;return((o=a.colors)==null?void 0:o.primary)||"#ff006e"}),B1=h.div.withConfig({displayName:"ProfileManager__MobileProfileHeader",componentId:"sc-nilifl-3"})(["display:flex;justify-content:space-between;align-items:center;margin-bottom:0.5rem;"]),H1=h.h4.withConfig({displayName:"ProfileManager__MobileProfileName",componentId:"sc-nilifl-4"})(["margin:0;font-size:1rem;font-weight:600;color:",";"],({theme:a})=>{var o,c;return((c=(o=a.colors)==null?void 0:o.text)==null?void 0:c.primary)||"#fff"}),G1=h.p.withConfig({displayName:"ProfileManager__MobileProfileDescription",componentId:"sc-nilifl-5"})(["margin:0 0 0.75rem 0;font-size:0.875rem;color:",";line-height:1.4;"],({theme:a})=>{var o,c;return((c=(o=a.colors)==null?void 0:o.text)==null?void 0:c.secondary)||"#999"}),q1=h.div.withConfig({displayName:"ProfileManager__MobileProfileStats",componentId:"sc-nilifl-6"})(["display:flex;flex-wrap:wrap;gap:0.5rem;margin-bottom:0.75rem;"]),ns=h.span.withConfig({displayName:"ProfileManager__MobileStatBadge",componentId:"sc-nilifl-7"})(["background:",";padding:0.25rem 0.5rem;border-radius:4px;font-size:0.75rem;color:",";"],({theme:a})=>{var o,c;return((c=(o=a.colors)==null?void 0:o.background)==null?void 0:c.secondary)||"#2a2a2a"},({theme:a})=>{var o,c;return((c=(o=a.colors)==null?void 0:o.text)==null?void 0:c.secondary)||"#ccc"});function oh(a){return!a||a.length===0?"Auto":`Custom (${a.length} points)`}function Zn(a){return`${a>=0?"+":""}${a} MHz`}function L1(a){return`${a}W`}function Y1(a){return[...a].sort((o,c)=>{const s=o.name===o.name.toLowerCase(),d=c.name===c.name.toLowerCase();return s&&!d?-1:!s&&d?1:o.name.localeCompare(c.name)})}function ih(a,o){return a?a.length<=o?a:`${a.substring(0,o)}...`:"—"}function V1({profiles:a,onApply:o,gpus:c}){const[s,d]=v.useState({isOpen:!1,profile:null}),[p,y]=v.useState({profileName:null,isLoading:!1}),[S,M]=v.useState(void 0),{showToast:w}=fs(),A=v.useMemo(()=>Y1(a),[a]),b=v.useMemo(()=>A.map(E=>({...E,id:E.name})),[A]),k=v.useCallback(async E=>{y({profileName:E,isLoading:!0});try{const q=S;await o(E,q);const V=q!==void 0?`GPU ${q}`:"all GPUs";w(`Applied profile "${E}" to ${V}`,"success",{duration:3e3})}catch(q){const V=q instanceof Error?q.message:"Unknown error";w(`Failed to apply profile: ${V}`,"error",{duration:5e3})}finally{y({profileName:null,isLoading:!1})}},[o,S,w]),D=v.useCallback(E=>{d({isOpen:!0,profile:E})},[]),$=v.useCallback(()=>{d({isOpen:!1,profile:null})},[]),Y=v.useCallback(async()=>{s.profile&&(await k(s.profile.name),$())},[s.profile,k,$]),Q=v.useMemo(()=>[{key:"name",header:"Name",render:E=>f.jsx("strong",{children:E.name}),width:"20%"},{key:"description",header:"Description",render:E=>ih(E.description,50),width:"30%"},{key:"core_offset",header:"Core Offset",render:E=>Zn(E.core_offset),width:"12%"},{key:"memory_offset",header:"Memory Offset",render:E=>Zn(E.memory_offset),width:"12%"},{key:"fan_curve",header:"Fan Curve",render:E=>oh(E.fan_curve),width:"13%"},{key:"actions",header:"Actions",render:E=>f.jsx(at,{size:"sm",variant:"primary",onClick:q=>{q.stopPropagation(),k(E.name)},disabled:p.isLoading&&p.profileName===E.name,children:p.isLoading&&p.profileName===E.name?"Applying...":"Apply"}),width:"13%"}],[p,k]);return f.jsxs(f.Fragment,{children:[f.jsx(Ra,{children:f.jsxs(Ct,{gap:"md",children:[f.jsx($1,{children:f.jsx(O1,{columns:Q,data:b,keyExtractor:E=>E.id,onRowClick:D,emptyMessage:"No profiles available"})}),f.jsx(R1,{children:A.length===0?f.jsx("p",{style:{textAlign:"center",color:"#999",padding:"2rem 0"},children:"No profiles available"}):A.map(E=>f.jsxs(U1,{onClick:()=>D({...E,id:E.name}),children:[f.jsxs(B1,{children:[f.jsx(H1,{children:E.name}),f.jsx(at,{size:"sm",variant:"primary",onClick:q=>{q.stopPropagation(),k(E.name)},disabled:p.isLoading&&p.profileName===E.name,children:p.isLoading&&p.profileName===E.name?"Applying...":"Apply"})]}),E.description&&f.jsx(G1,{children:ih(E.description,80)}),f.jsxs(q1,{children:[f.jsxs(ns,{children:["Core: ",Zn(E.core_offset)]}),f.jsxs(ns,{children:["Mem: ",Zn(E.memory_offset)]}),f.jsxs(ns,{children:["Fan: ",oh(E.fan_curve)]})]})]},E.name))})]})}),s.isOpen&&s.profile&&f.jsx(B0,{isOpen:s.isOpen,onClose:$,title:`Profile: ${s.profile.name}`,children:f.jsxs(Ct,{gap:"lg",children:[s.profile.description&&f.jsxs("div",{children:[f.jsx("h4",{style:{margin:"0 0 8px 0",fontSize:"14px",fontWeight:600},children:"Description"}),f.jsx("p",{style:{margin:0,fontSize:"14px",lineHeight:"1.5"},children:s.profile.description})]}),f.jsxs(Vl,{columns:2,gap:"md",children:[f.jsxs("div",{children:[f.jsx("h4",{style:{margin:"0 0 8px 0",fontSize:"14px",fontWeight:600},children:"Core Offset"}),f.jsx("p",{style:{margin:0,fontSize:"16px",fontWeight:500},children:Zn(s.profile.core_offset)})]}),f.jsxs("div",{children:[f.jsx("h4",{style:{margin:"0 0 8px 0",fontSize:"14px",fontWeight:600},children:"Memory Offset"}),f.jsx("p",{style:{margin:0,fontSize:"16px",fontWeight:500},children:Zn(s.profile.memory_offset)})]})]}),f.jsxs("div",{children:[f.jsx("h4",{style:{margin:"0 0 8px 0",fontSize:"14px",fontWeight:600},children:"Power Limit"}),f.jsx("p",{style:{margin:0,fontSize:"16px",fontWeight:500},children:L1(s.profile.power_limit)})]}),s.profile.fan_curve&&s.profile.fan_curve.length>0&&f.jsxs("div",{children:[f.jsx("h4",{style:{margin:"0 0 8px 0",fontSize:"14px",fontWeight:600},children:"Fan Curve Points"}),f.jsx(Ct,{gap:"xs",children:s.profile.fan_curve.map(([E,q],V)=>f.jsxs("div",{style:{padding:"8px 12px",backgroundColor:"#f5f5f5",borderRadius:"4px",fontSize:"14px"},children:[f.jsxs("strong",{children:[E,"°C"]})," → ",f.jsxs("strong",{children:[q,"%"]})," fan speed"]},V))})]}),f.jsxs(Vl,{columns:2,gap:"md",children:[f.jsx(at,{variant:"secondary",onClick:$,fullWidth:!0,children:"Close"}),f.jsx(at,{variant:"primary",onClick:Y,disabled:p.isLoading,fullWidth:!0,children:p.isLoading?"Applying...":"Apply Profile"})]})]})})]})}function X1(a={}){const{apiUrl:o="",seconds:c=60,limit:s=1e4,enabled:d=!0}=a,[p,y]=v.useState(null),[S,M]=v.useState([]),[w,A]=v.useState(!1),[b,k]=v.useState(null),D=v.useRef(null),$=v.useRef(null),Y=v.useCallback(q=>{if(q.length===0)return null;const V=new Map;for(const se of q){const ie=V.get(se.gpu_index);(!ie||new Date(se.timestamp)>new Date(ie.timestamp))&&V.set(se.gpu_index,se)}const J=Array.from(V.keys()).sort((se,ie)=>se-ie).map(se=>{const ie=V.get(se),Oe=new Date(ie.timestamp).getTime();return{gpu_index:se,timestamp:Oe,temperature:ie.temperature,fan_speed:ie.fan_speed,power_draw:ie.power_draw,core_clock:ie.core_clock,memory_clock:ie.memory_clock,utilization:ie.utilization,memory_used:ie.memory_used,memory_total:ie.memory_total,base_core_clock:0,max_core_clock:0,boost_enabled:!1}});return{timestamp:Math.max(...J.map(se=>se.timestamp)),gpus:J}},[]),Q=v.useCallback(async q=>{D.current&&D.current.abort(),D.current=new AbortController;try{const V=o.replace(/\/$/,""),I=V.startsWith("/")?`${window.location.origin}${V}`:V,J=new URL(`${I}/telemetry/history`);J.searchParams.set("seconds",q.toString()),J.searchParams.set("limit",s.toString());const re=await fetch(J.toString(),{signal:D.current.signal});if(!re.ok)throw new Error(`HTTP ${re.status}: ${re.statusText}`);const se=await re.json();console.log(`[TelemetryPolling] Fetched ${se.length} records for ${q}s time span`),M(se);const ie=Y(se);y(ie),k(null),$.current=q}catch(V){if(V instanceof Error&&V.name==="AbortError")return;const I=V instanceof Error?V:new Error("Failed to fetch telemetry data");k(I),console.error("[TelemetryPolling] Fetch error:",I)}},[o,s,Y]),E=v.useCallback(async()=>{await Q(c)},[Q,c]);return v.useEffect(()=>{if(d)return $.current!==c&&(A(!0),Q(c).finally(()=>{A(!1)})),()=>{D.current&&(D.current.abort(),D.current=null)}},[d,c,Q]),{data:p,history:S,isPolling:w,error:b,refresh:E}}const Q1=1e4,Z1=1e3;function I1(a,o=1){const[c,s]=v.useState(null),[d,p]=v.useState(!1),[y,S]=v.useState(null),M=v.useRef(null),w=v.useRef(null),A=v.useRef(0),b=v.useRef(!0),k=v.useCallback(()=>{const Q=A.current;return Math.min(Z1*Math.pow(2,Q),Q1)},[]),D=v.useCallback(()=>{if(b.current)try{const Q=`${a}?interval=${o}`;console.log(`[WebSocket] Connecting to ${Q}`);const E=new WebSocket(Q);M.current=E,E.onopen=()=>{console.log("[WebSocket] Connected"),p(!0),S(null),A.current=0},E.onmessage=q=>{try{const V=JSON.parse(q.data),I={timestamp:V.timestamp*1e3,gpus:V.gpus.map((J,re)=>({...J,gpu_index:J.gpu_index??re,timestamp:J.timestamp*1e3}))};s(I),S(null)}catch(V){const I=V instanceof Error?V:new Error("Failed to parse telemetry data");console.error("[WebSocket] Parse error:",I),S(I)}},E.onerror=q=>{console.error("[WebSocket] Error:",q);const V=new Error("WebSocket connection error");S(V)},E.onclose=q=>{if(console.log(`[WebSocket] Disconnected: code=${q.code}, reason=${q.reason}`),p(!1),M.current=null,b.current){const V=k();console.log(`[WebSocket] Reconnecting in ${V}ms (attempt ${A.current+1})`),w.current=setTimeout(()=>{A.current++,D()},V)}}}catch(Q){const E=Q instanceof Error?Q:new Error("Failed to create WebSocket connection");console.error("[WebSocket] Connection error:",E),S(E),p(!1)}},[a,o,k]),$=v.useCallback(()=>{b.current=!1,w.current&&(clearTimeout(w.current),w.current=null),M.current&&(console.log("[WebSocket] Closing connection"),M.current.close(),M.current=null),p(!1)},[]),Y=v.useCallback(()=>{console.log("[WebSocket] Manual reconnect requested"),$(),A.current=0,b.current=!0,D()},[$,D]);return v.useEffect(()=>(b.current=!0,D(),()=>{$()}),[D,$]),{data:c,isConnected:d,error:y,reconnect:Y}}const K1="/api";class ls extends Error{constructor(o,c,s){super(o),this.statusCode=c,this.endpoint=s,this.name="APIRequestError"}}async function on(a,o={}){const c=`${K1}${a}`;let s;try{s=await fetch(c,{...o,headers:{"Content-Type":"application/json",...o.headers}})}catch(d){throw new ls(`Network error: ${d instanceof Error?d.message:"Unknown error"}`,0,a)}if(!s.ok){let d=`HTTP ${s.status}: ${s.statusText}`;try{const p=await s.json();p.detail&&(d=p.detail)}catch{}throw new ls(d,s.status,a)}try{return await s.json()}catch(d){throw new ls(`Failed to parse JSON response: ${d instanceof Error?d.message:"Unknown error"}`,s.status,a)}}async function W1(){return on("/gpus")}async function F1(a,o,c){await on(`/gpus/${a}/clock`,{method:"POST",body:JSON.stringify({core:o,memory:c})})}async function J1(a){await on(`/gpus/${a}/clock/reset`,{method:"POST"})}async function P1(a,o){if(o<0||o>100)throw new Error("Fan speed must be between 0 and 100");await on(`/gpus/${a}/fan`,{method:"POST",body:JSON.stringify({speed:o})})}async function ev(a){await on(`/gpus/${a}/fan`,{method:"POST",body:JSON.stringify({auto:!0})})}async function tv(){return on("/profiles")}async function av(a,o){const c=o!==void 0?`/profiles/${encodeURIComponent(a)}/apply?gpu_id=${o}`:`/profiles/${encodeURIComponent(a)}/apply`;await on(c,{method:"POST"})}function nv(){const[a,o]=v.useState([]),[c,s]=v.useState([]),[d,p]=v.useState(!0),[y,S]=v.useState(null),M=v.useCallback(async()=>{p(!0),S(null);try{const[$,Y]=await Promise.all([W1(),tv()]);o($),s(Y)}catch($){const Y=$ instanceof Error?$:new Error("Unknown error");S(Y),console.error("[useGPUData] Failed to fetch GPU data:",Y)}finally{p(!1)}},[]);v.useEffect(()=>{M()},[M]);const w=v.useCallback(async($,Y,Q)=>{p(!0),S(null);try{await F1($,Y,Q)}catch(E){const q=E instanceof Error?E:new Error("Unknown error");throw S(q),q}finally{p(!1)}},[]),A=v.useCallback(async $=>{p(!0),S(null);try{await J1($)}catch(Y){const Q=Y instanceof Error?Y:new Error("Unknown error");throw S(Q),Q}finally{p(!1)}},[]),b=v.useCallback(async($,Y)=>{p(!0),S(null);try{Y===void 0?await ev($):await P1($,Y)}catch(Q){const E=Q instanceof Error?Q:new Error("Unknown error");throw S(E),E}finally{p(!1)}},[]),k=v.useCallback(async($,Y)=>{p(!0),S(null);try{await av($,Y),console.log(`[API] Applied profile "${$}" to ${Y===void 0?"all GPUs":`GPU ${Y}`}`)}catch(Q){const E=Q instanceof Error?Q:new Error("Unknown error");throw console.error("[API] Failed to apply profile:",E),S(E),E}finally{p(!1)}},[]),D=v.useCallback(async()=>{await M()},[M]);return{gpus:a,profiles:c,loading:d,error:y,updateClock:w,resetClock:A,updateFan:b,applyProfile:k,refresh:D}}const lv="nvidia-oc";function rh(a,o){const c=`${lv}.${a}`,[s,d]=v.useState(()=>{try{const y=window.localStorage.getItem(c);return y!==null?JSON.parse(y):o}catch{return o}}),p=v.useCallback(y=>{d(S=>{const M=y instanceof Function?y(S):y;try{window.localStorage.setItem(c,JSON.stringify(M))}catch{}return M})},[c]);return[s,p]}const ch={timeSpan:60,activeTab:"overview"};function ov(){const[a,o]=rh("timeSpan",ch.timeSpan),[c,s]=rh("activeTab",ch.activeTab);return{settings:{timeSpan:a,activeTab:c},updateTimeSpan:o,updateActiveTab:s}}var vi=(a=>(a.Quiet="Quiet",a.Balanced="Balanced",a.Default="Default",a.Performance="Performance",a))(vi||{});const os="/api",bi=h.div.withConfig({displayName:"App__AppContainer",componentId:"sc-1lg9oy3-0"})(["min-height:100vh;background:",";color:",";padding-bottom:80px;overflow-x:hidden;"],({theme:a})=>a.colors.background.primary,({theme:a})=>a.colors.text.primary),iv=h.header.withConfig({displayName:"App__Header",componentId:"sc-1lg9oy3-1"})(["background:",";border-bottom:2px solid ",";padding:"," 0;margin-bottom:",";"],({theme:a})=>a.colors.surface,({theme:a})=>a.colors.border,({theme:a})=>a.spacing.xl,({theme:a})=>a.spacing.xl),rv=h.div.withConfig({displayName:"App__HeaderContent",componentId:"sc-1lg9oy3-2"})(["display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:",";@media (max-width:640px){flex-direction:column;align-items:stretch;text-align:center;}"],({theme:a})=>a.spacing.md),cv=h.h1.withConfig({displayName:"App__Title",componentId:"sc-1lg9oy3-3"})(["margin:0;font-size:",";font-weight:",";background:linear-gradient(135deg,",",",");-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;@media (max-width:640px){font-size:",";}"],({theme:a})=>a.typography.fontSize["2xl"],({theme:a})=>a.typography.fontWeight.bold,({theme:a})=>a.colors.primary,({theme:a})=>a.colors.secondary,({theme:a})=>a.typography.fontSize.xl),sv=h.div.withConfig({displayName:"App__StatusContainer",componentId:"sc-1lg9oy3-4"})(["display:flex;align-items:center;justify-content:center;gap:",";flex-wrap:wrap;"],({theme:a})=>a.spacing.md),uv=h.div.withConfig({displayName:"App__ConnectionIndicator",componentId:"sc-1lg9oy3-5"})(["display:flex;align-items:center;gap:",";padding:"," ",";background:",";border:1px solid ",";border-radius:",";"],({theme:a})=>a.spacing.sm,({theme:a})=>a.spacing.sm,({theme:a})=>a.spacing.md,({$connected:a})=>a?"rgba(16, 185, 129, 0.1)":"rgba(239, 68, 68, 0.1)",({theme:a,$connected:o})=>o?a.colors.success:a.colors.error,({theme:a})=>a.borderRadius.md),dv=h.div.withConfig({displayName:"App__StatusDot",componentId:"sc-1lg9oy3-6"})(["width:10px;height:10px;border-radius:50%;background:",";box-shadow:0 0 10px ",";animation:",";@keyframes pulse{0%,100%{opacity:1;}50%{opacity:0.5;}}"],({theme:a,$connected:o})=>o?a.colors.success:a.colors.error,({theme:a,$connected:o})=>o?a.colors.success:a.colors.error,({$connected:a})=>a?"pulse 2s infinite":"none"),fv=h.span.withConfig({displayName:"App__StatusText",componentId:"sc-1lg9oy3-7"})(["font-size:",";font-weight:",";color:",";"],({theme:a})=>a.typography.fontSize.sm,({theme:a})=>a.typography.fontWeight.medium,({theme:a})=>a.colors.text.primary),mv=h.div.withConfig({displayName:"App__ModalOverlay",componentId:"sc-1lg9oy3-8"})(["position:fixed;top:0;left:0;right:0;bottom:0;background:rgba(0,0,0,0.8);backdrop-filter:blur(4px);display:flex;align-items:center;justify-content:center;z-index:9999;padding:",";@media (max-width:640px){padding:",";align-items:flex-end;}"],({theme:a})=>a.spacing.lg,({theme:a})=>a.spacing.sm),hv=h.div.withConfig({displayName:"App__ModalContainer",componentId:"sc-1lg9oy3-9"})(["background:",";border:1px solid ",";border-radius:",";max-width:1200px;width:100%;max-height:80vh;overflow-y:auto;padding:",";@media (max-width:640px){max-height:90vh;padding:",";border-radius:"," "," 0 0;}"],({theme:a})=>a.colors.surface,({theme:a})=>a.colors.border,({theme:a})=>a.borderRadius.lg,({theme:a})=>a.spacing.xl,({theme:a})=>a.spacing.md,({theme:a})=>a.borderRadius.lg,({theme:a})=>a.borderRadius.lg),pv=h.div.withConfig({displayName:"App__ModalHeader",componentId:"sc-1lg9oy3-10"})(["display:flex;justify-content:space-between;align-items:center;margin-bottom:",";"],({theme:a})=>a.spacing.lg),gv=h.h2.withConfig({displayName:"App__ModalTitle",componentId:"sc-1lg9oy3-11"})(["margin:0;font-size:",";font-weight:",";color:",";"],({theme:a})=>a.typography.fontSize["2xl"],({theme:a})=>a.typography.fontWeight.bold,({theme:a})=>a.colors.text.primary),is=h.div.withConfig({displayName:"App__ErrorContainer",componentId:"sc-1lg9oy3-12"})(["padding:",";background:rgba(239,68,68,0.1);border:1px solid ",";border-radius:",";text-align:center;"],({theme:a})=>a.spacing.xl,({theme:a})=>a.colors.error,({theme:a})=>a.borderRadius.lg),rs=h.h3.withConfig({displayName:"App__ErrorTitle",componentId:"sc-1lg9oy3-13"})(["margin:0 0 "," 0;font-size:",";font-weight:",";color:",";"],({theme:a})=>a.spacing.md,({theme:a})=>a.typography.fontSize.lg,({theme:a})=>a.typography.fontWeight.semibold,({theme:a})=>a.colors.error),xi=h.p.withConfig({displayName:"App__ErrorMessage",componentId:"sc-1lg9oy3-14"})(["margin:0 0 "," 0;font-size:",";color:",";line-height:1.6;"],({theme:a})=>a.spacing.lg,({theme:a})=>a.typography.fontSize.md,({theme:a})=>a.colors.text.secondary),yv=h.div.withConfig({displayName:"App__LoadingContainer",componentId:"sc-1lg9oy3-15"})(["padding:",";text-align:center;"],({theme:a})=>a.spacing.xxl),bv=h.p.withConfig({displayName:"App__LoadingText",componentId:"sc-1lg9oy3-16"})(["font-size:",";color:",";margin:"," 0;"],({theme:a})=>a.typography.fontSize.lg,({theme:a})=>a.colors.text.secondary,({theme:a})=>a.spacing.md),xv=h.div.withConfig({displayName:"App__Spinner",componentId:"sc-1lg9oy3-17"})(["display:inline-block;width:50px;height:50px;border:4px solid ",";border-top-color:",";border-radius:50%;animation:spin 1s linear infinite;@keyframes spin{to{transform:rotate(360deg);}}"],({theme:a})=>a.colors.border,({theme:a})=>a.colors.primary),vv=h.div.withConfig({displayName:"App__TabNavigationRow",componentId:"sc-1lg9oy3-18"})(["display:flex;justify-content:space-between;align-items:center;gap:",";flex-wrap:wrap;@media (max-width:768px){flex-direction:column;align-items:stretch;}"],({theme:a})=>a.spacing.lg),wv=h.div.withConfig({displayName:"App__TimeSpanControls",componentId:"sc-1lg9oy3-19"})(["display:flex;align-items:center;gap:",";min-width:0;@media (max-width:768px){width:100%;overflow-x:auto;padding-bottom:",";-webkit-overflow-scrolling:touch;scrollbar-width:thin;&::-webkit-scrollbar{height:4px;}}"],({theme:a})=>a.spacing.md,({theme:a})=>a.spacing.sm),Sv=h.span.withConfig({displayName:"App__TimeSpanLabel",componentId:"sc-1lg9oy3-20"})(["font-size:",";font-weight:",";color:",";white-space:nowrap;"],({theme:a})=>a.typography.fontSize.sm,({theme:a})=>a.typography.fontWeight.medium,({theme:a})=>a.colors.text.secondary),Cv=h.div.withConfig({displayName:"App__FABWrapper",componentId:"sc-1lg9oy3-21"})(["position:fixed;bottom:1rem;right:1rem;z-index:9999;@media (max-width:640px){bottom:0.75rem;right:0.75rem;}"]),_v=h.div.withConfig({displayName:"App__ContextIndicator",componentId:"sc-1lg9oy3-22"})(["position:fixed;bottom:1rem;right:88px;padding:8px 12px;background:rgba(0,0,0,0.7);border-radius:8px;font-size:12px;font-weight:600;color:#fff;white-space:nowrap;backdrop-filter:blur(8px);border:1px solid rgba(255,255,255,0.1);pointer-events:none;z-index:9998;@media (max-width:640px){bottom:0.75rem;right:72px;font-size:10px;padding:6px 10px;}@media (max-width:400px){display:none;}"]);function zv(){const{showToast:a}=fs(),{settings:o,updateTimeSpan:c,updateActiveTab:s}=ov(),[d,p]=v.useState(!1),[y,S]=v.useState(!1),{data:M,history:w,isPolling:A,error:b,refresh:k}=X1({apiUrl:os,seconds:o.timeSpan,enabled:!0}),D=os.startsWith("/")?`${window.location.protocol==="https:"?"wss:":"ws:"}//${window.location.host}/api/telemetry/stream`:os.replace(/^http/,"ws").replace(/\/api$/,"")+"/api/telemetry/stream",{data:$,isConnected:Y,error:Q,reconnect:E}=I1(D,1),q=Y&&$?$:M,V=Y||A&&!b,{gpus:I,profiles:J,loading:re,error:se,updateClock:ie,resetClock:Oe,updateFan:Ue,applyProfile:ae,refresh:oe}=nv();v.useEffect(()=>{b&&console.error("[App] Polling error:",b.message)},[b]),v.useEffect(()=>{Q&&console.error("[App] WebSocket error:",Q.message)},[Q]),v.useEffect(()=>{console.log(`[App] Data source: ${Y?"WebSocket (live)":"REST polling (fallback)"}`)},[Y]),v.useEffect(()=>{console.log(`[App] Telemetry history updated: ${w.length} records`),w.length>0&&console.log("[App] First record:",w[0])},[w]),v.useEffect(()=>{J.length>0&&console.log(`[App] Loaded ${J.length} profiles:`,J.map(G=>G.name).join(", "))},[J]),v.useEffect(()=>{I.length>0&&console.log(`[App] Loaded ${I.length} GPUs`)},[I]);const ke=async(G,W,P)=>{try{await ie(G,W,P),a(`Clock offsets applied to GPU ${G}`,"success",{duration:3e3})}catch(ee){const ge=ee instanceof Error?ee.message:"Failed to update clock offsets";throw a(ge,"error",{duration:5e3}),ee}},Le=async G=>{try{await Oe(G),a(`Clock offsets reset for GPU ${G}`,"success",{duration:3e3})}catch(W){const P=W instanceof Error?W.message:"Failed to reset clock offsets";throw a(P,"error",{duration:5e3}),W}},Z=async(G,W)=>{try{await Ue(G,W);const P=W!==void 0?`Fan speed set to ${W}% for GPU ${G}`:`Auto fan mode enabled for GPU ${G}`;a(P,"success",{duration:3e3})}catch(P){const ee=P instanceof Error?P.message:"Failed to update fan speed";throw a(ee,"error",{duration:5e3}),P}},_=async(G,W)=>{await ae(G,W)},H=()=>{k(),E(),a("Refreshing telemetry data...","info",{duration:2e3})},R=async()=>{try{await oe(),a("GPU data refreshed","success",{duration:2e3})}catch{a("Failed to refresh GPU data","error",{duration:3e3})}},X=G=>!q||!q.gpus?null:q.gpus.find(W=>W.gpu_index===G)||q.gpus[G]||null;return re&&I.length===0?f.jsx(bi,{children:f.jsxs(yv,{children:[f.jsx(xv,{}),f.jsx(bv,{children:"Loading GPU data..."})]})}):se?f.jsx(bi,{children:f.jsx(pi,{size:"lg",padding:"lg",children:f.jsxs(is,{children:[f.jsx(rs,{children:"Failed to Load GPU Data"}),f.jsx(xi,{children:se.message}),f.jsx(at,{variant:"primary",onClick:R,children:"Retry"})]})})}):I.length===0?f.jsx(bi,{children:f.jsx(pi,{size:"lg",padding:"lg",children:f.jsxs(is,{children:[f.jsx(rs,{children:"No GPUs Detected"}),f.jsx(xi,{children:"No NVIDIA GPUs were found on this system. Please ensure you have:"}),f.jsxs(xi,{children:["1. NVIDIA GPU installed",f.jsx("br",{}),"2. NVIDIA drivers installed",f.jsx("br",{}),"3. nvidia-smi working correctly"]}),f.jsx(at,{variant:"primary",onClick:R,children:"Refresh"})]})})}):f.jsxs(bi,{children:[f.jsx(iv,{children:f.jsx(pi,{size:"xl",children:f.jsxs(rv,{children:[f.jsx(cv,{children:"NVIDIA GPU Overclocking Dashboard"}),f.jsxs(sv,{children:[f.jsxs(uv,{$connected:V,children:[f.jsx(dv,{$connected:V}),f.jsx(fv,{children:V?"Connected":"Disconnected"})]}),!V&&f.jsx(at,{variant:"secondary",size:"sm",onClick:H,children:"Refresh"}),f.jsx(at,{variant:"secondary",size:"sm",onClick:R,disabled:re,children:"Refresh"})]})]})})}),f.jsx(pi,{size:"xl",padding:"lg",children:f.jsxs(Ct,{gap:"xl",children:[b&&f.jsxs(is,{children:[f.jsx(rs,{children:"Telemetry Data Error"}),f.jsx(xi,{children:b.message}),f.jsx(at,{variant:"primary",onClick:H,children:"Retry"})]}),f.jsxs(vv,{children:[f.jsx(Hm,{tabs:[{id:"overview",label:"Overview",count:I.length},...I.map(G=>({id:`gpu-${G.id}`,label:`GPU ${G.id}`}))],activeTab:o.activeTab,onTabChange:s}),f.jsxs(wv,{children:[f.jsx(Sv,{children:"Time Span:"}),f.jsx(Hm,{tabs:[{id:"60",label:"1m"},{id:"300",label:"5m"},{id:"900",label:"15m"},{id:"1800",label:"30m"},{id:"3600",label:"1h"},{id:"7200",label:"2h"},{id:"21600",label:"6h"},{id:"43200",label:"12h"},{id:"86400",label:"24h"}],activeTab:String(o.timeSpan),onTabChange:G=>c(parseInt(G))})]})]}),o.activeTab==="overview"?f.jsx(C1,{gpus:I,telemetryData:q,telemetryHistory:w,timeSpanSeconds:o.timeSpan,showDebug:y}):(()=>{const G=parseInt(o.activeTab.replace("gpu-","")),W=I.find(ee=>ee.id===G);if(!W)return null;const P=X(W.id);return f.jsx(d1,{gpu:W,metrics:P,telemetryData:q,timeSpanSeconds:o.timeSpan,onClockUpdate:ke,onClockReset:Le,onFanUpdate:Z})})()]})}),d&&f.jsx(mv,{onClick:()=>p(!1),children:f.jsxs(hv,{onClick:G=>G.stopPropagation(),children:[f.jsxs(pv,{children:[f.jsx(gv,{children:"Profile Details"}),f.jsx(at,{onClick:()=>p(!1),children:"Close"})]}),f.jsx(V1,{profiles:J,gpus:I,onApply:_})]})}),f.jsx(Cv,{children:f.jsxs(ut.Root,{position:"right",layout:"V",children:[f.jsx(ut.ActionButton,{icon:"⚙️",ariaLabels:{open:"Open profile menu",close:"Close profile menu",title:"Profile Controls"}}),f.jsxs(ut.Category,{label:"Profiles",id:"profiles",children:[f.jsx(ut.CategoryButton,{icon:"⚡",label:"Profiles"}),f.jsx(ut.CategoryItems,{children:J.map(G=>f.jsx(ut.Item,{id:G.name,icon:G.name===vi.Quiet?"🔇":G.name===vi.Balanced?"⚖️":G.name===vi.Default?"🔄":"🚀",label:G.name,onClick:()=>{const W=o.activeTab==="overview"?void 0:parseInt(o.activeTab.replace("gpu-",""));console.log("=".repeat(50)),console.log(`[FAB] CLICK: Applying "${G.name}" to ${W===void 0?"all GPUs":`GPU ${W}`}`),console.log("=".repeat(50)),_(G.name,W)},ariaLabel:`Apply ${G.name} profile to ${o.activeTab==="overview"?"all GPUs":`GPU ${o.activeTab.replace("gpu-","")}`}`},G.name))})]}),f.jsxs(ut.Category,{label:"Debug",id:"debug",children:[f.jsx(ut.CategoryButton,{icon:"🐛",label:"Debug"}),f.jsx(ut.CategoryItems,{children:f.jsx(ut.Item,{id:"toggle-debug",icon:y?"🔴":"🟢",label:y?"Hide Debug":"Show Debug",onClick:()=>{S(G=>!G)},ariaLabel:y?"Hide debug information":"Show debug information"})})]}),f.jsxs(ut.Category,{label:"View Details",id:"details",children:[f.jsx(ut.CategoryButton,{icon:"📋",label:"Details"}),f.jsx(ut.CategoryItems,{children:f.jsx(ut.Item,{id:"view-details",icon:"📊",label:"Profile Details",onClick:()=>{console.log("=".repeat(50)),console.log("[FAB] CLICK: Opening Profile Details modal"),console.log("=".repeat(50)),p(!0)},ariaLabel:"View detailed profile information"})})]})]})}),f.jsx(_v,{children:o.activeTab==="overview"?`🎯 Apply to: All ${I.length} GPUs`:`🎯 Apply to: GPU ${o.activeTab.replace("gpu-","")}`})]})}function kv(){return f.jsx(A0,{defaultTheme:"cyberpunk",children:f.jsx(W0,{children:f.jsx(zv,{})})})}const Qh=document.getElementById("root");if(!Qh)throw new Error("Root element not found. Cannot mount React application.");T0.createRoot(Qh).render(f.jsx(y0.StrictMode,{children:f.jsx(kv,{})})); -//# sourceMappingURL=index-CfTZxq5T.js.map diff --git a/nvidia-oc/backend/nvidia_oc/static/assets/index-CfTZxq5T.js.map b/nvidia-oc/backend/nvidia_oc/static/assets/index-CfTZxq5T.js.map deleted file mode 100644 index 2a834f30..00000000 --- a/nvidia-oc/backend/nvidia_oc/static/assets/index-CfTZxq5T.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"index-CfTZxq5T.js","sources":["../../../../../node_modules/.pnpm/react@19.2.3/node_modules/react/cjs/react-jsx-runtime.production.js","../../../../../node_modules/.pnpm/react@19.2.3/node_modules/react/jsx-runtime.js","../../../../../node_modules/.pnpm/scheduler@0.27.0/node_modules/scheduler/cjs/scheduler.production.js","../../../../../node_modules/.pnpm/scheduler@0.27.0/node_modules/scheduler/index.js","../../../../../node_modules/.pnpm/react-dom@19.2.3_react@19.2.3/node_modules/react-dom/cjs/react-dom-client.production.js","../../../../../node_modules/.pnpm/react-dom@19.2.3_react@19.2.3/node_modules/react-dom/client.js","../../../../../@ui/packages/design-tokens/src/base-tokens.ts","../../../../../@ui/packages/design-tokens/src/theme.ts","../../../../../@ui/packages/design-tokens/src/portal-theme.ts","../../../../../@ui/packages/ui-theme/src/adapters/cyberpunk-adapter.ts","../../../../../@ui/packages/ui-theme/src/adapters/luxe-adapter.ts","../../../../../@ui/packages/ui-theme/src/components/ThemeProvider.tsx","../../../../../@ui/packages/ui-feedback/src/Modal.tsx","../../../../../@ui/packages/ui-feedback/src/PromptDialog.tsx","../../../../../@ui/packages/ui-feedback/src/PromptDialogContext.ts","../../../../../@ui/packages/ui-feedback/src/ProgressBar.tsx","../../../../../@ui/packages/ui-feedback/src/Toast.tsx","../../../../../@ui/packages/ui-feedback/src/Dropdown.tsx","../../../../../@ui/packages/ui-feedback/src/Tooltip.tsx","../../../../../@ui/packages/ui-feedback/src/CitationTooltip.tsx","../../../../../@ui/packages/ui-feedback/src/Tabs.tsx","../../../../../@ui/packages/ui-feedback/src/Popover.tsx","../../../../../@ui/packages/ui-feedback/src/Skeleton.tsx","../../../../../@ui/packages/ui-feedback/src/ImageWithSkeleton.tsx","../../../../../@ui/packages/ui-feedback/src/SuspenseWithSkeleton.tsx","../../../../../@ui/packages/ui-feedback/src/TranslatedText.tsx","../../../../../node_modules/.pnpm/framer-motion@11.18.2_@emotion+is-prop-valid@1.4.0_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/framer-motion/dist/es/context/LayoutGroupContext.mjs","../../../../../node_modules/.pnpm/framer-motion@11.18.2_@emotion+is-prop-valid@1.4.0_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/framer-motion/dist/es/utils/use-constant.mjs","../../../../../node_modules/.pnpm/framer-motion@11.18.2_@emotion+is-prop-valid@1.4.0_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/framer-motion/dist/es/context/PresenceContext.mjs","../../../../../node_modules/.pnpm/framer-motion@11.18.2_@emotion+is-prop-valid@1.4.0_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/framer-motion/dist/es/context/MotionConfigContext.mjs","../../../../../node_modules/.pnpm/framer-motion@11.18.2_@emotion+is-prop-valid@1.4.0_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/framer-motion/dist/es/components/AnimatePresence/PopChild.mjs","../../../../../node_modules/.pnpm/framer-motion@11.18.2_@emotion+is-prop-valid@1.4.0_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/framer-motion/dist/es/components/AnimatePresence/PresenceChild.mjs","../../../../../node_modules/.pnpm/framer-motion@11.18.2_@emotion+is-prop-valid@1.4.0_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/framer-motion/dist/es/components/AnimatePresence/use-presence.mjs","../../../../../node_modules/.pnpm/framer-motion@11.18.2_@emotion+is-prop-valid@1.4.0_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/framer-motion/dist/es/components/AnimatePresence/utils.mjs","../../../../../node_modules/.pnpm/framer-motion@11.18.2_@emotion+is-prop-valid@1.4.0_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/framer-motion/dist/es/utils/is-browser.mjs","../../../../../node_modules/.pnpm/framer-motion@11.18.2_@emotion+is-prop-valid@1.4.0_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/framer-motion/dist/es/utils/use-isomorphic-effect.mjs","../../../../../node_modules/.pnpm/framer-motion@11.18.2_@emotion+is-prop-valid@1.4.0_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/framer-motion/dist/es/components/AnimatePresence/index.mjs","../../../../../node_modules/.pnpm/motion-utils@11.18.1/node_modules/motion-utils/dist/es/noop.mjs","../../../../../node_modules/.pnpm/framer-motion@11.18.2_@emotion+is-prop-valid@1.4.0_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/framer-motion/dist/es/frameloop/render-step.mjs","../../../../../node_modules/.pnpm/framer-motion@11.18.2_@emotion+is-prop-valid@1.4.0_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/framer-motion/dist/es/frameloop/batcher.mjs","../../../../../node_modules/.pnpm/framer-motion@11.18.2_@emotion+is-prop-valid@1.4.0_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/framer-motion/dist/es/frameloop/frame.mjs","../../../../../node_modules/.pnpm/framer-motion@11.18.2_@emotion+is-prop-valid@1.4.0_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/framer-motion/dist/es/context/LazyContext.mjs","../../../../../node_modules/.pnpm/framer-motion@11.18.2_@emotion+is-prop-valid@1.4.0_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/framer-motion/dist/es/motion/features/definitions.mjs","../../../../../node_modules/.pnpm/framer-motion@11.18.2_@emotion+is-prop-valid@1.4.0_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/framer-motion/dist/es/motion/utils/valid-prop.mjs","../../../../../node_modules/.pnpm/framer-motion@11.18.2_@emotion+is-prop-valid@1.4.0_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/framer-motion/dist/es/render/dom/utils/filter-props.mjs","../../../../../node_modules/.pnpm/framer-motion@11.18.2_@emotion+is-prop-valid@1.4.0_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/framer-motion/dist/es/render/components/create-proxy.mjs","../../../../../node_modules/.pnpm/framer-motion@11.18.2_@emotion+is-prop-valid@1.4.0_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/framer-motion/dist/es/context/MotionContext/index.mjs","../../../../../node_modules/.pnpm/framer-motion@11.18.2_@emotion+is-prop-valid@1.4.0_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/framer-motion/dist/es/render/utils/is-variant-label.mjs","../../../../../node_modules/.pnpm/framer-motion@11.18.2_@emotion+is-prop-valid@1.4.0_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/framer-motion/dist/es/animation/utils/is-animation-controls.mjs","../../../../../node_modules/.pnpm/framer-motion@11.18.2_@emotion+is-prop-valid@1.4.0_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/framer-motion/dist/es/render/utils/variant-props.mjs","../../../../../node_modules/.pnpm/framer-motion@11.18.2_@emotion+is-prop-valid@1.4.0_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/framer-motion/dist/es/render/utils/is-controlling-variants.mjs","../../../../../node_modules/.pnpm/framer-motion@11.18.2_@emotion+is-prop-valid@1.4.0_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/framer-motion/dist/es/context/MotionContext/utils.mjs","../../../../../node_modules/.pnpm/framer-motion@11.18.2_@emotion+is-prop-valid@1.4.0_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/framer-motion/dist/es/context/MotionContext/create.mjs","../../../../../node_modules/.pnpm/framer-motion@11.18.2_@emotion+is-prop-valid@1.4.0_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/framer-motion/dist/es/motion/utils/symbol.mjs","../../../../../node_modules/.pnpm/framer-motion@11.18.2_@emotion+is-prop-valid@1.4.0_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/framer-motion/dist/es/utils/is-ref-object.mjs","../../../../../node_modules/.pnpm/framer-motion@11.18.2_@emotion+is-prop-valid@1.4.0_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/framer-motion/dist/es/motion/utils/use-motion-ref.mjs","../../../../../node_modules/.pnpm/framer-motion@11.18.2_@emotion+is-prop-valid@1.4.0_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/framer-motion/dist/es/render/dom/utils/camel-to-dash.mjs","../../../../../node_modules/.pnpm/framer-motion@11.18.2_@emotion+is-prop-valid@1.4.0_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/framer-motion/dist/es/animation/optimized-appear/data-id.mjs","../../../../../node_modules/.pnpm/framer-motion@11.18.2_@emotion+is-prop-valid@1.4.0_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/framer-motion/dist/es/frameloop/microtask.mjs","../../../../../node_modules/.pnpm/framer-motion@11.18.2_@emotion+is-prop-valid@1.4.0_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/framer-motion/dist/es/context/SwitchLayoutGroupContext.mjs","../../../../../node_modules/.pnpm/framer-motion@11.18.2_@emotion+is-prop-valid@1.4.0_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/framer-motion/dist/es/motion/utils/use-visual-element.mjs","../../../../../node_modules/.pnpm/framer-motion@11.18.2_@emotion+is-prop-valid@1.4.0_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/framer-motion/dist/es/motion/index.mjs","../../../../../node_modules/.pnpm/framer-motion@11.18.2_@emotion+is-prop-valid@1.4.0_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/framer-motion/dist/es/render/svg/lowercase-elements.mjs","../../../../../node_modules/.pnpm/framer-motion@11.18.2_@emotion+is-prop-valid@1.4.0_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/framer-motion/dist/es/render/dom/utils/is-svg-component.mjs","../../../../../node_modules/.pnpm/framer-motion@11.18.2_@emotion+is-prop-valid@1.4.0_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/framer-motion/dist/es/render/utils/resolve-variants.mjs","../../../../../node_modules/.pnpm/framer-motion@11.18.2_@emotion+is-prop-valid@1.4.0_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/framer-motion/dist/es/utils/resolve-value.mjs","../../../../../node_modules/.pnpm/framer-motion@11.18.2_@emotion+is-prop-valid@1.4.0_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/framer-motion/dist/es/value/utils/is-motion-value.mjs","../../../../../node_modules/.pnpm/framer-motion@11.18.2_@emotion+is-prop-valid@1.4.0_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/framer-motion/dist/es/value/utils/resolve-motion-value.mjs","../../../../../node_modules/.pnpm/framer-motion@11.18.2_@emotion+is-prop-valid@1.4.0_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/framer-motion/dist/es/motion/utils/use-visual-state.mjs","../../../../../node_modules/.pnpm/framer-motion@11.18.2_@emotion+is-prop-valid@1.4.0_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/framer-motion/dist/es/render/html/utils/keys-transform.mjs","../../../../../node_modules/.pnpm/framer-motion@11.18.2_@emotion+is-prop-valid@1.4.0_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/framer-motion/dist/es/render/dom/utils/is-css-variable.mjs","../../../../../node_modules/.pnpm/framer-motion@11.18.2_@emotion+is-prop-valid@1.4.0_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/framer-motion/dist/es/render/dom/value-types/get-as-type.mjs","../../../../../node_modules/.pnpm/framer-motion@11.18.2_@emotion+is-prop-valid@1.4.0_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/framer-motion/dist/es/utils/clamp.mjs","../../../../../node_modules/.pnpm/framer-motion@11.18.2_@emotion+is-prop-valid@1.4.0_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/framer-motion/dist/es/value/types/numbers/index.mjs","../../../../../node_modules/.pnpm/framer-motion@11.18.2_@emotion+is-prop-valid@1.4.0_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/framer-motion/dist/es/value/types/numbers/units.mjs","../../../../../node_modules/.pnpm/framer-motion@11.18.2_@emotion+is-prop-valid@1.4.0_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/framer-motion/dist/es/render/dom/value-types/number-browser.mjs","../../../../../node_modules/.pnpm/framer-motion@11.18.2_@emotion+is-prop-valid@1.4.0_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/framer-motion/dist/es/render/dom/value-types/transform.mjs","../../../../../node_modules/.pnpm/framer-motion@11.18.2_@emotion+is-prop-valid@1.4.0_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/framer-motion/dist/es/render/dom/value-types/type-int.mjs","../../../../../node_modules/.pnpm/framer-motion@11.18.2_@emotion+is-prop-valid@1.4.0_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/framer-motion/dist/es/render/dom/value-types/number.mjs","../../../../../node_modules/.pnpm/framer-motion@11.18.2_@emotion+is-prop-valid@1.4.0_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/framer-motion/dist/es/render/html/utils/build-transform.mjs","../../../../../node_modules/.pnpm/framer-motion@11.18.2_@emotion+is-prop-valid@1.4.0_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/framer-motion/dist/es/render/html/utils/build-styles.mjs","../../../../../node_modules/.pnpm/framer-motion@11.18.2_@emotion+is-prop-valid@1.4.0_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/framer-motion/dist/es/render/svg/utils/path.mjs","../../../../../node_modules/.pnpm/framer-motion@11.18.2_@emotion+is-prop-valid@1.4.0_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/framer-motion/dist/es/render/svg/utils/transform-origin.mjs","../../../../../node_modules/.pnpm/framer-motion@11.18.2_@emotion+is-prop-valid@1.4.0_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/framer-motion/dist/es/render/svg/utils/build-attrs.mjs","../../../../../node_modules/.pnpm/framer-motion@11.18.2_@emotion+is-prop-valid@1.4.0_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/framer-motion/dist/es/render/html/utils/create-render-state.mjs","../../../../../node_modules/.pnpm/framer-motion@11.18.2_@emotion+is-prop-valid@1.4.0_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/framer-motion/dist/es/render/svg/utils/create-render-state.mjs","../../../../../node_modules/.pnpm/framer-motion@11.18.2_@emotion+is-prop-valid@1.4.0_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/framer-motion/dist/es/render/svg/utils/is-svg-tag.mjs","../../../../../node_modules/.pnpm/framer-motion@11.18.2_@emotion+is-prop-valid@1.4.0_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/framer-motion/dist/es/render/html/utils/render.mjs","../../../../../node_modules/.pnpm/framer-motion@11.18.2_@emotion+is-prop-valid@1.4.0_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/framer-motion/dist/es/render/svg/utils/camel-case-attrs.mjs","../../../../../node_modules/.pnpm/framer-motion@11.18.2_@emotion+is-prop-valid@1.4.0_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/framer-motion/dist/es/render/svg/utils/render.mjs","../../../../../node_modules/.pnpm/framer-motion@11.18.2_@emotion+is-prop-valid@1.4.0_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/framer-motion/dist/es/projection/styles/scale-correction.mjs","../../../../../node_modules/.pnpm/framer-motion@11.18.2_@emotion+is-prop-valid@1.4.0_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/framer-motion/dist/es/motion/utils/is-forced-motion-value.mjs","../../../../../node_modules/.pnpm/framer-motion@11.18.2_@emotion+is-prop-valid@1.4.0_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/framer-motion/dist/es/render/html/utils/scrape-motion-values.mjs","../../../../../node_modules/.pnpm/framer-motion@11.18.2_@emotion+is-prop-valid@1.4.0_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/framer-motion/dist/es/render/svg/utils/scrape-motion-values.mjs","../../../../../node_modules/.pnpm/framer-motion@11.18.2_@emotion+is-prop-valid@1.4.0_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/framer-motion/dist/es/render/svg/config-motion.mjs","../../../../../node_modules/.pnpm/framer-motion@11.18.2_@emotion+is-prop-valid@1.4.0_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/framer-motion/dist/es/render/html/config-motion.mjs","../../../../../node_modules/.pnpm/framer-motion@11.18.2_@emotion+is-prop-valid@1.4.0_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/framer-motion/dist/es/render/html/use-props.mjs","../../../../../node_modules/.pnpm/framer-motion@11.18.2_@emotion+is-prop-valid@1.4.0_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/framer-motion/dist/es/render/svg/use-props.mjs","../../../../../node_modules/.pnpm/framer-motion@11.18.2_@emotion+is-prop-valid@1.4.0_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/framer-motion/dist/es/render/dom/use-render.mjs","../../../../../node_modules/.pnpm/framer-motion@11.18.2_@emotion+is-prop-valid@1.4.0_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/framer-motion/dist/es/render/components/create-factory.mjs","../../../../../node_modules/.pnpm/framer-motion@11.18.2_@emotion+is-prop-valid@1.4.0_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/framer-motion/dist/es/render/components/m/create.mjs","../../../../../node_modules/.pnpm/framer-motion@11.18.2_@emotion+is-prop-valid@1.4.0_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/framer-motion/dist/es/render/components/m/proxy.mjs","../../../../../node_modules/.pnpm/lucide-react@0.553.0_react@19.2.3/node_modules/lucide-react/dist/esm/shared/src/utils.js","../../../../../node_modules/.pnpm/lucide-react@0.553.0_react@19.2.3/node_modules/lucide-react/dist/esm/defaultAttributes.js","../../../../../node_modules/.pnpm/lucide-react@0.553.0_react@19.2.3/node_modules/lucide-react/dist/esm/Icon.js","../../../../../node_modules/.pnpm/lucide-react@0.553.0_react@19.2.3/node_modules/lucide-react/dist/esm/createLucideIcon.js","../../../../../node_modules/.pnpm/lucide-react@0.553.0_react@19.2.3/node_modules/lucide-react/dist/esm/icons/arrow-down.js","../../../../../node_modules/.pnpm/lucide-react@0.553.0_react@19.2.3/node_modules/lucide-react/dist/esm/icons/arrow-up.js","../../../../../@ui/packages/ui-feedback/src/BaseDrawer.tsx","../../../../../@ui/packages/ui-feedback/src/VersionBadge.tsx","../../../../../@ui/packages/ui-feedback/src/PillTabs.tsx","../../../../../@ui/packages/ui-layout/src/Container.tsx","../../../../../@ui/packages/ui-layout/src/Section.tsx","../../../../../@ui/packages/ui-layout/src/Grid.tsx","../../../../../@ui/packages/ui-layout/src/Stack.tsx","../../../../../@ui/packages/ui-layout/src/Spacer.tsx","../../../../../@ui/packages/ui-layout/src/ButtonGroup.tsx","../../../../../@ui/packages/ui-glassmorphism/src/types.ts","../../../../../@ui/packages/ui-glassmorphism/src/useGlassStyles.ts","../../../../../@ui/packages/ui-glassmorphism/src/GlassPanel.tsx","../../../../../@ui/packages/ui-glassmorphism/src/GlassDropdown.tsx","../../../../../@ui/packages/ui-primitives/src/Button.tsx","../../../../../@ui/packages/ui-primitives/src/Badge.tsx","../../../../../@ui/packages/ui-primitives/src/Input.tsx","../../../../../@ui/packages/ui-primitives/src/Textarea.tsx","../../../../../@ui/packages/ui-primitives/src/Card.tsx","../../../../../@ui/packages/ui-primitives/src/FormGroup.tsx","../../../../../@ui/packages/ui-primitives/src/Select.tsx","../../../../../@ui/packages/ui-primitives/src/Alert.tsx","../../../../../@ui/packages/ui-primitives/src/Spinner.tsx","../../../../../@ui/packages/ui-primitives/src/Avatar.tsx","../../../../../@ui/packages/ui-primitives/src/Checkbox.tsx","../../../../../@ui/packages/ui-primitives/src/StatusBadge.tsx","../../../../../@ui/packages/ui-primitives/src/SegmentedControl.tsx","../../../../../@ui/packages/ui-primitives/src/SeverityBadge.tsx","../../../../../@ui/packages/ui-fab/src/context.ts","../../../../../@ui/packages/ui-fab/src/hooks/useFABContext.ts","../../../../../node_modules/.pnpm/@lilith+ui-design-tokens@1.1.1/node_modules/@lilith/ui-design-tokens/src/base-tokens.ts","../../../../../node_modules/.pnpm/@lilith+ui-design-tokens@1.1.1/node_modules/@lilith/ui-design-tokens/src/theme.ts","../../../../../node_modules/.pnpm/@lilith+ui-design-tokens@1.1.1/node_modules/@lilith/ui-design-tokens/src/portal-theme.ts","../../../../../@ui/packages/ui-fab/src/styles.ts","../../../../../@ui/packages/ui-fab/src/components/ActionButton.tsx","../../../../../@ui/packages/ui-fab/src/components/Category.tsx","../../../../../@ui/packages/ui-fab/src/components/CategoryButton.tsx","../../../../../@ui/packages/ui-fab/src/components/CategoryItems.tsx","../../../../../@ui/packages/ui-fab/src/components/Item.tsx","../../../../../@ui/packages/ui-fab/src/hooks/useClickOutside.ts","../../../../../@ui/packages/ui-fab/src/hooks/useEscapeKey.ts","../../../../../@ui/packages/ui-fab/src/components/Root.tsx","../../../../../@ui/packages/ui-fab/src/FAB.tsx","../../../../../@ui/packages/ui-fab/src/components/MultiFABRoot.tsx","../../../../../@ui/packages/ui-forms/src/MultiStepForm.tsx","../../../../../@ui/packages/ui-forms/src/DatePicker.tsx","../../../../../@ui/packages/ui-forms/src/RangeSlider.tsx","../../../../../@ui/packages/ui-forms/src/ColorPicker.tsx","../../../../../@ui/packages/ui-forms/src/PhoneInput.tsx","../../../../../@ui/packages/ui-forms/src/StepIndicator.tsx","../../../../../@ui/packages/ui-forms/src/ConditionalFields.tsx","../../../../../@ui/packages/ui-forms/src/DynamicFieldArray.tsx","../../../../../@ui/packages/ui-forms/src/AddressInput.tsx","../../../../../@ui/packages/ui-forms/src/DateTimePicker.tsx","../../../../../@ui/packages/ui-forms/src/SearchableMultiSelect.tsx","../../../../../@ui/packages/ui-forms/src/FormField.tsx","../../../../../@ui/packages/ui-forms/src/LabeledSlider.tsx","../../../../../@ui/packages/ui-forms/src/TagInput.tsx","../../../../../@ui/packages/ui-forms/src/WeightSlider.tsx","../../src/components/ClockControl.tsx","../../src/components/FanControl.tsx","../../../../../@ui/packages/ui-utils/src/chart.ts","../../src/components/TelemetryChart.tsx","../../src/components/GPUDetailView.tsx","../../src/components/OverlayChart.tsx","../../src/components/OverviewDashboard.tsx","../../../../../@ui/packages/ui-data/src/DataTable.tsx","../../../../../@ui/packages/ui-data/src/StickyDataTable.tsx","../../../../../@ui/packages/ui-data/src/Pagination.tsx","../../../../../@ui/packages/ui-data/src/ImageGallery.tsx","../../../../../@ui/packages/ui-data/src/Sparkline.tsx","../../../../../@ui/packages/ui-data/src/StatCard.tsx","../../src/components/ProfileManager.tsx","../../src/hooks/useTelemetryPolling.ts","../../src/hooks/useWebSocket.ts","../../src/api/client.ts","../../src/hooks/useGPUData.ts","../../src/hooks/useLocalStorage.ts","../../src/hooks/useSettings.ts","../../src/types/index.ts","../../src/App.tsx","../../src/main.tsx"],"sourcesContent":["/**\n * @license React\n * react-jsx-runtime.production.js\n *\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n\"use strict\";\nvar REACT_ELEMENT_TYPE = Symbol.for(\"react.transitional.element\"),\n REACT_FRAGMENT_TYPE = Symbol.for(\"react.fragment\");\nfunction jsxProd(type, config, maybeKey) {\n var key = null;\n void 0 !== maybeKey && (key = \"\" + maybeKey);\n void 0 !== config.key && (key = \"\" + config.key);\n if (\"key\" in config) {\n maybeKey = {};\n for (var propName in config)\n \"key\" !== propName && (maybeKey[propName] = config[propName]);\n } else maybeKey = config;\n config = maybeKey.ref;\n return {\n $$typeof: REACT_ELEMENT_TYPE,\n type: type,\n key: key,\n ref: void 0 !== config ? config : null,\n props: maybeKey\n };\n}\nexports.Fragment = REACT_FRAGMENT_TYPE;\nexports.jsx = jsxProd;\nexports.jsxs = jsxProd;\n","'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('./cjs/react-jsx-runtime.production.js');\n} else {\n module.exports = require('./cjs/react-jsx-runtime.development.js');\n}\n","/**\n * @license React\n * scheduler.production.js\n *\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n\"use strict\";\nfunction push(heap, node) {\n var index = heap.length;\n heap.push(node);\n a: for (; 0 < index; ) {\n var parentIndex = (index - 1) >>> 1,\n parent = heap[parentIndex];\n if (0 < compare(parent, node))\n (heap[parentIndex] = node), (heap[index] = parent), (index = parentIndex);\n else break a;\n }\n}\nfunction peek(heap) {\n return 0 === heap.length ? null : heap[0];\n}\nfunction pop(heap) {\n if (0 === heap.length) return null;\n var first = heap[0],\n last = heap.pop();\n if (last !== first) {\n heap[0] = last;\n a: for (\n var index = 0, length = heap.length, halfLength = length >>> 1;\n index < halfLength;\n\n ) {\n var leftIndex = 2 * (index + 1) - 1,\n left = heap[leftIndex],\n rightIndex = leftIndex + 1,\n right = heap[rightIndex];\n if (0 > compare(left, last))\n rightIndex < length && 0 > compare(right, left)\n ? ((heap[index] = right),\n (heap[rightIndex] = last),\n (index = rightIndex))\n : ((heap[index] = left),\n (heap[leftIndex] = last),\n (index = leftIndex));\n else if (rightIndex < length && 0 > compare(right, last))\n (heap[index] = right), (heap[rightIndex] = last), (index = rightIndex);\n else break a;\n }\n }\n return first;\n}\nfunction compare(a, b) {\n var diff = a.sortIndex - b.sortIndex;\n return 0 !== diff ? diff : a.id - b.id;\n}\nexports.unstable_now = void 0;\nif (\"object\" === typeof performance && \"function\" === typeof performance.now) {\n var localPerformance = performance;\n exports.unstable_now = function () {\n return localPerformance.now();\n };\n} else {\n var localDate = Date,\n initialTime = localDate.now();\n exports.unstable_now = function () {\n return localDate.now() - initialTime;\n };\n}\nvar taskQueue = [],\n timerQueue = [],\n taskIdCounter = 1,\n currentTask = null,\n currentPriorityLevel = 3,\n isPerformingWork = !1,\n isHostCallbackScheduled = !1,\n isHostTimeoutScheduled = !1,\n needsPaint = !1,\n localSetTimeout = \"function\" === typeof setTimeout ? setTimeout : null,\n localClearTimeout = \"function\" === typeof clearTimeout ? clearTimeout : null,\n localSetImmediate = \"undefined\" !== typeof setImmediate ? setImmediate : null;\nfunction advanceTimers(currentTime) {\n for (var timer = peek(timerQueue); null !== timer; ) {\n if (null === timer.callback) pop(timerQueue);\n else if (timer.startTime <= currentTime)\n pop(timerQueue),\n (timer.sortIndex = timer.expirationTime),\n push(taskQueue, timer);\n else break;\n timer = peek(timerQueue);\n }\n}\nfunction handleTimeout(currentTime) {\n isHostTimeoutScheduled = !1;\n advanceTimers(currentTime);\n if (!isHostCallbackScheduled)\n if (null !== peek(taskQueue))\n (isHostCallbackScheduled = !0),\n isMessageLoopRunning ||\n ((isMessageLoopRunning = !0), schedulePerformWorkUntilDeadline());\n else {\n var firstTimer = peek(timerQueue);\n null !== firstTimer &&\n requestHostTimeout(handleTimeout, firstTimer.startTime - currentTime);\n }\n}\nvar isMessageLoopRunning = !1,\n taskTimeoutID = -1,\n frameInterval = 5,\n startTime = -1;\nfunction shouldYieldToHost() {\n return needsPaint\n ? !0\n : exports.unstable_now() - startTime < frameInterval\n ? !1\n : !0;\n}\nfunction performWorkUntilDeadline() {\n needsPaint = !1;\n if (isMessageLoopRunning) {\n var currentTime = exports.unstable_now();\n startTime = currentTime;\n var hasMoreWork = !0;\n try {\n a: {\n isHostCallbackScheduled = !1;\n isHostTimeoutScheduled &&\n ((isHostTimeoutScheduled = !1),\n localClearTimeout(taskTimeoutID),\n (taskTimeoutID = -1));\n isPerformingWork = !0;\n var previousPriorityLevel = currentPriorityLevel;\n try {\n b: {\n advanceTimers(currentTime);\n for (\n currentTask = peek(taskQueue);\n null !== currentTask &&\n !(\n currentTask.expirationTime > currentTime && shouldYieldToHost()\n );\n\n ) {\n var callback = currentTask.callback;\n if (\"function\" === typeof callback) {\n currentTask.callback = null;\n currentPriorityLevel = currentTask.priorityLevel;\n var continuationCallback = callback(\n currentTask.expirationTime <= currentTime\n );\n currentTime = exports.unstable_now();\n if (\"function\" === typeof continuationCallback) {\n currentTask.callback = continuationCallback;\n advanceTimers(currentTime);\n hasMoreWork = !0;\n break b;\n }\n currentTask === peek(taskQueue) && pop(taskQueue);\n advanceTimers(currentTime);\n } else pop(taskQueue);\n currentTask = peek(taskQueue);\n }\n if (null !== currentTask) hasMoreWork = !0;\n else {\n var firstTimer = peek(timerQueue);\n null !== firstTimer &&\n requestHostTimeout(\n handleTimeout,\n firstTimer.startTime - currentTime\n );\n hasMoreWork = !1;\n }\n }\n break a;\n } finally {\n (currentTask = null),\n (currentPriorityLevel = previousPriorityLevel),\n (isPerformingWork = !1);\n }\n hasMoreWork = void 0;\n }\n } finally {\n hasMoreWork\n ? schedulePerformWorkUntilDeadline()\n : (isMessageLoopRunning = !1);\n }\n }\n}\nvar schedulePerformWorkUntilDeadline;\nif (\"function\" === typeof localSetImmediate)\n schedulePerformWorkUntilDeadline = function () {\n localSetImmediate(performWorkUntilDeadline);\n };\nelse if (\"undefined\" !== typeof MessageChannel) {\n var channel = new MessageChannel(),\n port = channel.port2;\n channel.port1.onmessage = performWorkUntilDeadline;\n schedulePerformWorkUntilDeadline = function () {\n port.postMessage(null);\n };\n} else\n schedulePerformWorkUntilDeadline = function () {\n localSetTimeout(performWorkUntilDeadline, 0);\n };\nfunction requestHostTimeout(callback, ms) {\n taskTimeoutID = localSetTimeout(function () {\n callback(exports.unstable_now());\n }, ms);\n}\nexports.unstable_IdlePriority = 5;\nexports.unstable_ImmediatePriority = 1;\nexports.unstable_LowPriority = 4;\nexports.unstable_NormalPriority = 3;\nexports.unstable_Profiling = null;\nexports.unstable_UserBlockingPriority = 2;\nexports.unstable_cancelCallback = function (task) {\n task.callback = null;\n};\nexports.unstable_forceFrameRate = function (fps) {\n 0 > fps || 125 < fps\n ? console.error(\n \"forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported\"\n )\n : (frameInterval = 0 < fps ? Math.floor(1e3 / fps) : 5);\n};\nexports.unstable_getCurrentPriorityLevel = function () {\n return currentPriorityLevel;\n};\nexports.unstable_next = function (eventHandler) {\n switch (currentPriorityLevel) {\n case 1:\n case 2:\n case 3:\n var priorityLevel = 3;\n break;\n default:\n priorityLevel = currentPriorityLevel;\n }\n var previousPriorityLevel = currentPriorityLevel;\n currentPriorityLevel = priorityLevel;\n try {\n return eventHandler();\n } finally {\n currentPriorityLevel = previousPriorityLevel;\n }\n};\nexports.unstable_requestPaint = function () {\n needsPaint = !0;\n};\nexports.unstable_runWithPriority = function (priorityLevel, eventHandler) {\n switch (priorityLevel) {\n case 1:\n case 2:\n case 3:\n case 4:\n case 5:\n break;\n default:\n priorityLevel = 3;\n }\n var previousPriorityLevel = currentPriorityLevel;\n currentPriorityLevel = priorityLevel;\n try {\n return eventHandler();\n } finally {\n currentPriorityLevel = previousPriorityLevel;\n }\n};\nexports.unstable_scheduleCallback = function (\n priorityLevel,\n callback,\n options\n) {\n var currentTime = exports.unstable_now();\n \"object\" === typeof options && null !== options\n ? ((options = options.delay),\n (options =\n \"number\" === typeof options && 0 < options\n ? currentTime + options\n : currentTime))\n : (options = currentTime);\n switch (priorityLevel) {\n case 1:\n var timeout = -1;\n break;\n case 2:\n timeout = 250;\n break;\n case 5:\n timeout = 1073741823;\n break;\n case 4:\n timeout = 1e4;\n break;\n default:\n timeout = 5e3;\n }\n timeout = options + timeout;\n priorityLevel = {\n id: taskIdCounter++,\n callback: callback,\n priorityLevel: priorityLevel,\n startTime: options,\n expirationTime: timeout,\n sortIndex: -1\n };\n options > currentTime\n ? ((priorityLevel.sortIndex = options),\n push(timerQueue, priorityLevel),\n null === peek(taskQueue) &&\n priorityLevel === peek(timerQueue) &&\n (isHostTimeoutScheduled\n ? (localClearTimeout(taskTimeoutID), (taskTimeoutID = -1))\n : (isHostTimeoutScheduled = !0),\n requestHostTimeout(handleTimeout, options - currentTime)))\n : ((priorityLevel.sortIndex = timeout),\n push(taskQueue, priorityLevel),\n isHostCallbackScheduled ||\n isPerformingWork ||\n ((isHostCallbackScheduled = !0),\n isMessageLoopRunning ||\n ((isMessageLoopRunning = !0), schedulePerformWorkUntilDeadline())));\n return priorityLevel;\n};\nexports.unstable_shouldYield = shouldYieldToHost;\nexports.unstable_wrapCallback = function (callback) {\n var parentPriorityLevel = currentPriorityLevel;\n return function () {\n var previousPriorityLevel = currentPriorityLevel;\n currentPriorityLevel = parentPriorityLevel;\n try {\n return callback.apply(this, arguments);\n } finally {\n currentPriorityLevel = previousPriorityLevel;\n }\n };\n};\n","'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('./cjs/scheduler.production.js');\n} else {\n module.exports = require('./cjs/scheduler.development.js');\n}\n","/**\n * @license React\n * react-dom-client.production.js\n *\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n/*\n Modernizr 3.0.0pre (Custom Build) | MIT\n*/\n\"use strict\";\nvar Scheduler = require(\"scheduler\"),\n React = require(\"react\"),\n ReactDOM = require(\"react-dom\");\nfunction formatProdErrorMessage(code) {\n var url = \"https://react.dev/errors/\" + code;\n if (1 < arguments.length) {\n url += \"?args[]=\" + encodeURIComponent(arguments[1]);\n for (var i = 2; i < arguments.length; i++)\n url += \"&args[]=\" + encodeURIComponent(arguments[i]);\n }\n return (\n \"Minified React error #\" +\n code +\n \"; visit \" +\n url +\n \" for the full message or use the non-minified dev environment for full errors and additional helpful warnings.\"\n );\n}\nfunction isValidContainer(node) {\n return !(\n !node ||\n (1 !== node.nodeType && 9 !== node.nodeType && 11 !== node.nodeType)\n );\n}\nfunction getNearestMountedFiber(fiber) {\n var node = fiber,\n nearestMounted = fiber;\n if (fiber.alternate) for (; node.return; ) node = node.return;\n else {\n fiber = node;\n do\n (node = fiber),\n 0 !== (node.flags & 4098) && (nearestMounted = node.return),\n (fiber = node.return);\n while (fiber);\n }\n return 3 === node.tag ? nearestMounted : null;\n}\nfunction getSuspenseInstanceFromFiber(fiber) {\n if (13 === fiber.tag) {\n var suspenseState = fiber.memoizedState;\n null === suspenseState &&\n ((fiber = fiber.alternate),\n null !== fiber && (suspenseState = fiber.memoizedState));\n if (null !== suspenseState) return suspenseState.dehydrated;\n }\n return null;\n}\nfunction getActivityInstanceFromFiber(fiber) {\n if (31 === fiber.tag) {\n var activityState = fiber.memoizedState;\n null === activityState &&\n ((fiber = fiber.alternate),\n null !== fiber && (activityState = fiber.memoizedState));\n if (null !== activityState) return activityState.dehydrated;\n }\n return null;\n}\nfunction assertIsMounted(fiber) {\n if (getNearestMountedFiber(fiber) !== fiber)\n throw Error(formatProdErrorMessage(188));\n}\nfunction findCurrentFiberUsingSlowPath(fiber) {\n var alternate = fiber.alternate;\n if (!alternate) {\n alternate = getNearestMountedFiber(fiber);\n if (null === alternate) throw Error(formatProdErrorMessage(188));\n return alternate !== fiber ? null : fiber;\n }\n for (var a = fiber, b = alternate; ; ) {\n var parentA = a.return;\n if (null === parentA) break;\n var parentB = parentA.alternate;\n if (null === parentB) {\n b = parentA.return;\n if (null !== b) {\n a = b;\n continue;\n }\n break;\n }\n if (parentA.child === parentB.child) {\n for (parentB = parentA.child; parentB; ) {\n if (parentB === a) return assertIsMounted(parentA), fiber;\n if (parentB === b) return assertIsMounted(parentA), alternate;\n parentB = parentB.sibling;\n }\n throw Error(formatProdErrorMessage(188));\n }\n if (a.return !== b.return) (a = parentA), (b = parentB);\n else {\n for (var didFindChild = !1, child$0 = parentA.child; child$0; ) {\n if (child$0 === a) {\n didFindChild = !0;\n a = parentA;\n b = parentB;\n break;\n }\n if (child$0 === b) {\n didFindChild = !0;\n b = parentA;\n a = parentB;\n break;\n }\n child$0 = child$0.sibling;\n }\n if (!didFindChild) {\n for (child$0 = parentB.child; child$0; ) {\n if (child$0 === a) {\n didFindChild = !0;\n a = parentB;\n b = parentA;\n break;\n }\n if (child$0 === b) {\n didFindChild = !0;\n b = parentB;\n a = parentA;\n break;\n }\n child$0 = child$0.sibling;\n }\n if (!didFindChild) throw Error(formatProdErrorMessage(189));\n }\n }\n if (a.alternate !== b) throw Error(formatProdErrorMessage(190));\n }\n if (3 !== a.tag) throw Error(formatProdErrorMessage(188));\n return a.stateNode.current === a ? fiber : alternate;\n}\nfunction findCurrentHostFiberImpl(node) {\n var tag = node.tag;\n if (5 === tag || 26 === tag || 27 === tag || 6 === tag) return node;\n for (node = node.child; null !== node; ) {\n tag = findCurrentHostFiberImpl(node);\n if (null !== tag) return tag;\n node = node.sibling;\n }\n return null;\n}\nvar assign = Object.assign,\n REACT_LEGACY_ELEMENT_TYPE = Symbol.for(\"react.element\"),\n REACT_ELEMENT_TYPE = Symbol.for(\"react.transitional.element\"),\n REACT_PORTAL_TYPE = Symbol.for(\"react.portal\"),\n REACT_FRAGMENT_TYPE = Symbol.for(\"react.fragment\"),\n REACT_STRICT_MODE_TYPE = Symbol.for(\"react.strict_mode\"),\n REACT_PROFILER_TYPE = Symbol.for(\"react.profiler\"),\n REACT_CONSUMER_TYPE = Symbol.for(\"react.consumer\"),\n REACT_CONTEXT_TYPE = Symbol.for(\"react.context\"),\n REACT_FORWARD_REF_TYPE = Symbol.for(\"react.forward_ref\"),\n REACT_SUSPENSE_TYPE = Symbol.for(\"react.suspense\"),\n REACT_SUSPENSE_LIST_TYPE = Symbol.for(\"react.suspense_list\"),\n REACT_MEMO_TYPE = Symbol.for(\"react.memo\"),\n REACT_LAZY_TYPE = Symbol.for(\"react.lazy\");\nSymbol.for(\"react.scope\");\nvar REACT_ACTIVITY_TYPE = Symbol.for(\"react.activity\");\nSymbol.for(\"react.legacy_hidden\");\nSymbol.for(\"react.tracing_marker\");\nvar REACT_MEMO_CACHE_SENTINEL = Symbol.for(\"react.memo_cache_sentinel\");\nSymbol.for(\"react.view_transition\");\nvar MAYBE_ITERATOR_SYMBOL = Symbol.iterator;\nfunction getIteratorFn(maybeIterable) {\n if (null === maybeIterable || \"object\" !== typeof maybeIterable) return null;\n maybeIterable =\n (MAYBE_ITERATOR_SYMBOL && maybeIterable[MAYBE_ITERATOR_SYMBOL]) ||\n maybeIterable[\"@@iterator\"];\n return \"function\" === typeof maybeIterable ? maybeIterable : null;\n}\nvar REACT_CLIENT_REFERENCE = Symbol.for(\"react.client.reference\");\nfunction getComponentNameFromType(type) {\n if (null == type) return null;\n if (\"function\" === typeof type)\n return type.$$typeof === REACT_CLIENT_REFERENCE\n ? null\n : type.displayName || type.name || null;\n if (\"string\" === typeof type) return type;\n switch (type) {\n case REACT_FRAGMENT_TYPE:\n return \"Fragment\";\n case REACT_PROFILER_TYPE:\n return \"Profiler\";\n case REACT_STRICT_MODE_TYPE:\n return \"StrictMode\";\n case REACT_SUSPENSE_TYPE:\n return \"Suspense\";\n case REACT_SUSPENSE_LIST_TYPE:\n return \"SuspenseList\";\n case REACT_ACTIVITY_TYPE:\n return \"Activity\";\n }\n if (\"object\" === typeof type)\n switch (type.$$typeof) {\n case REACT_PORTAL_TYPE:\n return \"Portal\";\n case REACT_CONTEXT_TYPE:\n return type.displayName || \"Context\";\n case REACT_CONSUMER_TYPE:\n return (type._context.displayName || \"Context\") + \".Consumer\";\n case REACT_FORWARD_REF_TYPE:\n var innerType = type.render;\n type = type.displayName;\n type ||\n ((type = innerType.displayName || innerType.name || \"\"),\n (type = \"\" !== type ? \"ForwardRef(\" + type + \")\" : \"ForwardRef\"));\n return type;\n case REACT_MEMO_TYPE:\n return (\n (innerType = type.displayName || null),\n null !== innerType\n ? innerType\n : getComponentNameFromType(type.type) || \"Memo\"\n );\n case REACT_LAZY_TYPE:\n innerType = type._payload;\n type = type._init;\n try {\n return getComponentNameFromType(type(innerType));\n } catch (x) {}\n }\n return null;\n}\nvar isArrayImpl = Array.isArray,\n ReactSharedInternals =\n React.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,\n ReactDOMSharedInternals =\n ReactDOM.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,\n sharedNotPendingObject = {\n pending: !1,\n data: null,\n method: null,\n action: null\n },\n valueStack = [],\n index = -1;\nfunction createCursor(defaultValue) {\n return { current: defaultValue };\n}\nfunction pop(cursor) {\n 0 > index ||\n ((cursor.current = valueStack[index]), (valueStack[index] = null), index--);\n}\nfunction push(cursor, value) {\n index++;\n valueStack[index] = cursor.current;\n cursor.current = value;\n}\nvar contextStackCursor = createCursor(null),\n contextFiberStackCursor = createCursor(null),\n rootInstanceStackCursor = createCursor(null),\n hostTransitionProviderCursor = createCursor(null);\nfunction pushHostContainer(fiber, nextRootInstance) {\n push(rootInstanceStackCursor, nextRootInstance);\n push(contextFiberStackCursor, fiber);\n push(contextStackCursor, null);\n switch (nextRootInstance.nodeType) {\n case 9:\n case 11:\n fiber = (fiber = nextRootInstance.documentElement)\n ? (fiber = fiber.namespaceURI)\n ? getOwnHostContext(fiber)\n : 0\n : 0;\n break;\n default:\n if (\n ((fiber = nextRootInstance.tagName),\n (nextRootInstance = nextRootInstance.namespaceURI))\n )\n (nextRootInstance = getOwnHostContext(nextRootInstance)),\n (fiber = getChildHostContextProd(nextRootInstance, fiber));\n else\n switch (fiber) {\n case \"svg\":\n fiber = 1;\n break;\n case \"math\":\n fiber = 2;\n break;\n default:\n fiber = 0;\n }\n }\n pop(contextStackCursor);\n push(contextStackCursor, fiber);\n}\nfunction popHostContainer() {\n pop(contextStackCursor);\n pop(contextFiberStackCursor);\n pop(rootInstanceStackCursor);\n}\nfunction pushHostContext(fiber) {\n null !== fiber.memoizedState && push(hostTransitionProviderCursor, fiber);\n var context = contextStackCursor.current;\n var JSCompiler_inline_result = getChildHostContextProd(context, fiber.type);\n context !== JSCompiler_inline_result &&\n (push(contextFiberStackCursor, fiber),\n push(contextStackCursor, JSCompiler_inline_result));\n}\nfunction popHostContext(fiber) {\n contextFiberStackCursor.current === fiber &&\n (pop(contextStackCursor), pop(contextFiberStackCursor));\n hostTransitionProviderCursor.current === fiber &&\n (pop(hostTransitionProviderCursor),\n (HostTransitionContext._currentValue = sharedNotPendingObject));\n}\nvar prefix, suffix;\nfunction describeBuiltInComponentFrame(name) {\n if (void 0 === prefix)\n try {\n throw Error();\n } catch (x) {\n var match = x.stack.trim().match(/\\n( *(at )?)/);\n prefix = (match && match[1]) || \"\";\n suffix =\n -1 < x.stack.indexOf(\"\\n at\")\n ? \" ()\"\n : -1 < x.stack.indexOf(\"@\")\n ? \"@unknown:0:0\"\n : \"\";\n }\n return \"\\n\" + prefix + name + suffix;\n}\nvar reentry = !1;\nfunction describeNativeComponentFrame(fn, construct) {\n if (!fn || reentry) return \"\";\n reentry = !0;\n var previousPrepareStackTrace = Error.prepareStackTrace;\n Error.prepareStackTrace = void 0;\n try {\n var RunInRootFrame = {\n DetermineComponentFrameRoot: function () {\n try {\n if (construct) {\n var Fake = function () {\n throw Error();\n };\n Object.defineProperty(Fake.prototype, \"props\", {\n set: function () {\n throw Error();\n }\n });\n if (\"object\" === typeof Reflect && Reflect.construct) {\n try {\n Reflect.construct(Fake, []);\n } catch (x) {\n var control = x;\n }\n Reflect.construct(fn, [], Fake);\n } else {\n try {\n Fake.call();\n } catch (x$1) {\n control = x$1;\n }\n fn.call(Fake.prototype);\n }\n } else {\n try {\n throw Error();\n } catch (x$2) {\n control = x$2;\n }\n (Fake = fn()) &&\n \"function\" === typeof Fake.catch &&\n Fake.catch(function () {});\n }\n } catch (sample) {\n if (sample && control && \"string\" === typeof sample.stack)\n return [sample.stack, control.stack];\n }\n return [null, null];\n }\n };\n RunInRootFrame.DetermineComponentFrameRoot.displayName =\n \"DetermineComponentFrameRoot\";\n var namePropDescriptor = Object.getOwnPropertyDescriptor(\n RunInRootFrame.DetermineComponentFrameRoot,\n \"name\"\n );\n namePropDescriptor &&\n namePropDescriptor.configurable &&\n Object.defineProperty(\n RunInRootFrame.DetermineComponentFrameRoot,\n \"name\",\n { value: \"DetermineComponentFrameRoot\" }\n );\n var _RunInRootFrame$Deter = RunInRootFrame.DetermineComponentFrameRoot(),\n sampleStack = _RunInRootFrame$Deter[0],\n controlStack = _RunInRootFrame$Deter[1];\n if (sampleStack && controlStack) {\n var sampleLines = sampleStack.split(\"\\n\"),\n controlLines = controlStack.split(\"\\n\");\n for (\n namePropDescriptor = RunInRootFrame = 0;\n RunInRootFrame < sampleLines.length &&\n !sampleLines[RunInRootFrame].includes(\"DetermineComponentFrameRoot\");\n\n )\n RunInRootFrame++;\n for (\n ;\n namePropDescriptor < controlLines.length &&\n !controlLines[namePropDescriptor].includes(\n \"DetermineComponentFrameRoot\"\n );\n\n )\n namePropDescriptor++;\n if (\n RunInRootFrame === sampleLines.length ||\n namePropDescriptor === controlLines.length\n )\n for (\n RunInRootFrame = sampleLines.length - 1,\n namePropDescriptor = controlLines.length - 1;\n 1 <= RunInRootFrame &&\n 0 <= namePropDescriptor &&\n sampleLines[RunInRootFrame] !== controlLines[namePropDescriptor];\n\n )\n namePropDescriptor--;\n for (\n ;\n 1 <= RunInRootFrame && 0 <= namePropDescriptor;\n RunInRootFrame--, namePropDescriptor--\n )\n if (sampleLines[RunInRootFrame] !== controlLines[namePropDescriptor]) {\n if (1 !== RunInRootFrame || 1 !== namePropDescriptor) {\n do\n if (\n (RunInRootFrame--,\n namePropDescriptor--,\n 0 > namePropDescriptor ||\n sampleLines[RunInRootFrame] !==\n controlLines[namePropDescriptor])\n ) {\n var frame =\n \"\\n\" +\n sampleLines[RunInRootFrame].replace(\" at new \", \" at \");\n fn.displayName &&\n frame.includes(\"\") &&\n (frame = frame.replace(\"\", fn.displayName));\n return frame;\n }\n while (1 <= RunInRootFrame && 0 <= namePropDescriptor);\n }\n break;\n }\n }\n } finally {\n (reentry = !1), (Error.prepareStackTrace = previousPrepareStackTrace);\n }\n return (previousPrepareStackTrace = fn ? fn.displayName || fn.name : \"\")\n ? describeBuiltInComponentFrame(previousPrepareStackTrace)\n : \"\";\n}\nfunction describeFiber(fiber, childFiber) {\n switch (fiber.tag) {\n case 26:\n case 27:\n case 5:\n return describeBuiltInComponentFrame(fiber.type);\n case 16:\n return describeBuiltInComponentFrame(\"Lazy\");\n case 13:\n return fiber.child !== childFiber && null !== childFiber\n ? describeBuiltInComponentFrame(\"Suspense Fallback\")\n : describeBuiltInComponentFrame(\"Suspense\");\n case 19:\n return describeBuiltInComponentFrame(\"SuspenseList\");\n case 0:\n case 15:\n return describeNativeComponentFrame(fiber.type, !1);\n case 11:\n return describeNativeComponentFrame(fiber.type.render, !1);\n case 1:\n return describeNativeComponentFrame(fiber.type, !0);\n case 31:\n return describeBuiltInComponentFrame(\"Activity\");\n default:\n return \"\";\n }\n}\nfunction getStackByFiberInDevAndProd(workInProgress) {\n try {\n var info = \"\",\n previous = null;\n do\n (info += describeFiber(workInProgress, previous)),\n (previous = workInProgress),\n (workInProgress = workInProgress.return);\n while (workInProgress);\n return info;\n } catch (x) {\n return \"\\nError generating stack: \" + x.message + \"\\n\" + x.stack;\n }\n}\nvar hasOwnProperty = Object.prototype.hasOwnProperty,\n scheduleCallback$3 = Scheduler.unstable_scheduleCallback,\n cancelCallback$1 = Scheduler.unstable_cancelCallback,\n shouldYield = Scheduler.unstable_shouldYield,\n requestPaint = Scheduler.unstable_requestPaint,\n now = Scheduler.unstable_now,\n getCurrentPriorityLevel = Scheduler.unstable_getCurrentPriorityLevel,\n ImmediatePriority = Scheduler.unstable_ImmediatePriority,\n UserBlockingPriority = Scheduler.unstable_UserBlockingPriority,\n NormalPriority$1 = Scheduler.unstable_NormalPriority,\n LowPriority = Scheduler.unstable_LowPriority,\n IdlePriority = Scheduler.unstable_IdlePriority,\n log$1 = Scheduler.log,\n unstable_setDisableYieldValue = Scheduler.unstable_setDisableYieldValue,\n rendererID = null,\n injectedHook = null;\nfunction setIsStrictModeForDevtools(newIsStrictMode) {\n \"function\" === typeof log$1 && unstable_setDisableYieldValue(newIsStrictMode);\n if (injectedHook && \"function\" === typeof injectedHook.setStrictMode)\n try {\n injectedHook.setStrictMode(rendererID, newIsStrictMode);\n } catch (err) {}\n}\nvar clz32 = Math.clz32 ? Math.clz32 : clz32Fallback,\n log = Math.log,\n LN2 = Math.LN2;\nfunction clz32Fallback(x) {\n x >>>= 0;\n return 0 === x ? 32 : (31 - ((log(x) / LN2) | 0)) | 0;\n}\nvar nextTransitionUpdateLane = 256,\n nextTransitionDeferredLane = 262144,\n nextRetryLane = 4194304;\nfunction getHighestPriorityLanes(lanes) {\n var pendingSyncLanes = lanes & 42;\n if (0 !== pendingSyncLanes) return pendingSyncLanes;\n switch (lanes & -lanes) {\n case 1:\n return 1;\n case 2:\n return 2;\n case 4:\n return 4;\n case 8:\n return 8;\n case 16:\n return 16;\n case 32:\n return 32;\n case 64:\n return 64;\n case 128:\n return 128;\n case 256:\n case 512:\n case 1024:\n case 2048:\n case 4096:\n case 8192:\n case 16384:\n case 32768:\n case 65536:\n case 131072:\n return lanes & 261888;\n case 262144:\n case 524288:\n case 1048576:\n case 2097152:\n return lanes & 3932160;\n case 4194304:\n case 8388608:\n case 16777216:\n case 33554432:\n return lanes & 62914560;\n case 67108864:\n return 67108864;\n case 134217728:\n return 134217728;\n case 268435456:\n return 268435456;\n case 536870912:\n return 536870912;\n case 1073741824:\n return 0;\n default:\n return lanes;\n }\n}\nfunction getNextLanes(root, wipLanes, rootHasPendingCommit) {\n var pendingLanes = root.pendingLanes;\n if (0 === pendingLanes) return 0;\n var nextLanes = 0,\n suspendedLanes = root.suspendedLanes,\n pingedLanes = root.pingedLanes;\n root = root.warmLanes;\n var nonIdlePendingLanes = pendingLanes & 134217727;\n 0 !== nonIdlePendingLanes\n ? ((pendingLanes = nonIdlePendingLanes & ~suspendedLanes),\n 0 !== pendingLanes\n ? (nextLanes = getHighestPriorityLanes(pendingLanes))\n : ((pingedLanes &= nonIdlePendingLanes),\n 0 !== pingedLanes\n ? (nextLanes = getHighestPriorityLanes(pingedLanes))\n : rootHasPendingCommit ||\n ((rootHasPendingCommit = nonIdlePendingLanes & ~root),\n 0 !== rootHasPendingCommit &&\n (nextLanes = getHighestPriorityLanes(rootHasPendingCommit)))))\n : ((nonIdlePendingLanes = pendingLanes & ~suspendedLanes),\n 0 !== nonIdlePendingLanes\n ? (nextLanes = getHighestPriorityLanes(nonIdlePendingLanes))\n : 0 !== pingedLanes\n ? (nextLanes = getHighestPriorityLanes(pingedLanes))\n : rootHasPendingCommit ||\n ((rootHasPendingCommit = pendingLanes & ~root),\n 0 !== rootHasPendingCommit &&\n (nextLanes = getHighestPriorityLanes(rootHasPendingCommit))));\n return 0 === nextLanes\n ? 0\n : 0 !== wipLanes &&\n wipLanes !== nextLanes &&\n 0 === (wipLanes & suspendedLanes) &&\n ((suspendedLanes = nextLanes & -nextLanes),\n (rootHasPendingCommit = wipLanes & -wipLanes),\n suspendedLanes >= rootHasPendingCommit ||\n (32 === suspendedLanes && 0 !== (rootHasPendingCommit & 4194048)))\n ? wipLanes\n : nextLanes;\n}\nfunction checkIfRootIsPrerendering(root, renderLanes) {\n return (\n 0 ===\n (root.pendingLanes &\n ~(root.suspendedLanes & ~root.pingedLanes) &\n renderLanes)\n );\n}\nfunction computeExpirationTime(lane, currentTime) {\n switch (lane) {\n case 1:\n case 2:\n case 4:\n case 8:\n case 64:\n return currentTime + 250;\n case 16:\n case 32:\n case 128:\n case 256:\n case 512:\n case 1024:\n case 2048:\n case 4096:\n case 8192:\n case 16384:\n case 32768:\n case 65536:\n case 131072:\n case 262144:\n case 524288:\n case 1048576:\n case 2097152:\n return currentTime + 5e3;\n case 4194304:\n case 8388608:\n case 16777216:\n case 33554432:\n return -1;\n case 67108864:\n case 134217728:\n case 268435456:\n case 536870912:\n case 1073741824:\n return -1;\n default:\n return -1;\n }\n}\nfunction claimNextRetryLane() {\n var lane = nextRetryLane;\n nextRetryLane <<= 1;\n 0 === (nextRetryLane & 62914560) && (nextRetryLane = 4194304);\n return lane;\n}\nfunction createLaneMap(initial) {\n for (var laneMap = [], i = 0; 31 > i; i++) laneMap.push(initial);\n return laneMap;\n}\nfunction markRootUpdated$1(root, updateLane) {\n root.pendingLanes |= updateLane;\n 268435456 !== updateLane &&\n ((root.suspendedLanes = 0), (root.pingedLanes = 0), (root.warmLanes = 0));\n}\nfunction markRootFinished(\n root,\n finishedLanes,\n remainingLanes,\n spawnedLane,\n updatedLanes,\n suspendedRetryLanes\n) {\n var previouslyPendingLanes = root.pendingLanes;\n root.pendingLanes = remainingLanes;\n root.suspendedLanes = 0;\n root.pingedLanes = 0;\n root.warmLanes = 0;\n root.expiredLanes &= remainingLanes;\n root.entangledLanes &= remainingLanes;\n root.errorRecoveryDisabledLanes &= remainingLanes;\n root.shellSuspendCounter = 0;\n var entanglements = root.entanglements,\n expirationTimes = root.expirationTimes,\n hiddenUpdates = root.hiddenUpdates;\n for (\n remainingLanes = previouslyPendingLanes & ~remainingLanes;\n 0 < remainingLanes;\n\n ) {\n var index$7 = 31 - clz32(remainingLanes),\n lane = 1 << index$7;\n entanglements[index$7] = 0;\n expirationTimes[index$7] = -1;\n var hiddenUpdatesForLane = hiddenUpdates[index$7];\n if (null !== hiddenUpdatesForLane)\n for (\n hiddenUpdates[index$7] = null, index$7 = 0;\n index$7 < hiddenUpdatesForLane.length;\n index$7++\n ) {\n var update = hiddenUpdatesForLane[index$7];\n null !== update && (update.lane &= -536870913);\n }\n remainingLanes &= ~lane;\n }\n 0 !== spawnedLane && markSpawnedDeferredLane(root, spawnedLane, 0);\n 0 !== suspendedRetryLanes &&\n 0 === updatedLanes &&\n 0 !== root.tag &&\n (root.suspendedLanes |=\n suspendedRetryLanes & ~(previouslyPendingLanes & ~finishedLanes));\n}\nfunction markSpawnedDeferredLane(root, spawnedLane, entangledLanes) {\n root.pendingLanes |= spawnedLane;\n root.suspendedLanes &= ~spawnedLane;\n var spawnedLaneIndex = 31 - clz32(spawnedLane);\n root.entangledLanes |= spawnedLane;\n root.entanglements[spawnedLaneIndex] =\n root.entanglements[spawnedLaneIndex] |\n 1073741824 |\n (entangledLanes & 261930);\n}\nfunction markRootEntangled(root, entangledLanes) {\n var rootEntangledLanes = (root.entangledLanes |= entangledLanes);\n for (root = root.entanglements; rootEntangledLanes; ) {\n var index$8 = 31 - clz32(rootEntangledLanes),\n lane = 1 << index$8;\n (lane & entangledLanes) | (root[index$8] & entangledLanes) &&\n (root[index$8] |= entangledLanes);\n rootEntangledLanes &= ~lane;\n }\n}\nfunction getBumpedLaneForHydration(root, renderLanes) {\n var renderLane = renderLanes & -renderLanes;\n renderLane =\n 0 !== (renderLane & 42) ? 1 : getBumpedLaneForHydrationByLane(renderLane);\n return 0 !== (renderLane & (root.suspendedLanes | renderLanes))\n ? 0\n : renderLane;\n}\nfunction getBumpedLaneForHydrationByLane(lane) {\n switch (lane) {\n case 2:\n lane = 1;\n break;\n case 8:\n lane = 4;\n break;\n case 32:\n lane = 16;\n break;\n case 256:\n case 512:\n case 1024:\n case 2048:\n case 4096:\n case 8192:\n case 16384:\n case 32768:\n case 65536:\n case 131072:\n case 262144:\n case 524288:\n case 1048576:\n case 2097152:\n case 4194304:\n case 8388608:\n case 16777216:\n case 33554432:\n lane = 128;\n break;\n case 268435456:\n lane = 134217728;\n break;\n default:\n lane = 0;\n }\n return lane;\n}\nfunction lanesToEventPriority(lanes) {\n lanes &= -lanes;\n return 2 < lanes\n ? 8 < lanes\n ? 0 !== (lanes & 134217727)\n ? 32\n : 268435456\n : 8\n : 2;\n}\nfunction resolveUpdatePriority() {\n var updatePriority = ReactDOMSharedInternals.p;\n if (0 !== updatePriority) return updatePriority;\n updatePriority = window.event;\n return void 0 === updatePriority ? 32 : getEventPriority(updatePriority.type);\n}\nfunction runWithPriority(priority, fn) {\n var previousPriority = ReactDOMSharedInternals.p;\n try {\n return (ReactDOMSharedInternals.p = priority), fn();\n } finally {\n ReactDOMSharedInternals.p = previousPriority;\n }\n}\nvar randomKey = Math.random().toString(36).slice(2),\n internalInstanceKey = \"__reactFiber$\" + randomKey,\n internalPropsKey = \"__reactProps$\" + randomKey,\n internalContainerInstanceKey = \"__reactContainer$\" + randomKey,\n internalEventHandlersKey = \"__reactEvents$\" + randomKey,\n internalEventHandlerListenersKey = \"__reactListeners$\" + randomKey,\n internalEventHandlesSetKey = \"__reactHandles$\" + randomKey,\n internalRootNodeResourcesKey = \"__reactResources$\" + randomKey,\n internalHoistableMarker = \"__reactMarker$\" + randomKey;\nfunction detachDeletedInstance(node) {\n delete node[internalInstanceKey];\n delete node[internalPropsKey];\n delete node[internalEventHandlersKey];\n delete node[internalEventHandlerListenersKey];\n delete node[internalEventHandlesSetKey];\n}\nfunction getClosestInstanceFromNode(targetNode) {\n var targetInst = targetNode[internalInstanceKey];\n if (targetInst) return targetInst;\n for (var parentNode = targetNode.parentNode; parentNode; ) {\n if (\n (targetInst =\n parentNode[internalContainerInstanceKey] ||\n parentNode[internalInstanceKey])\n ) {\n parentNode = targetInst.alternate;\n if (\n null !== targetInst.child ||\n (null !== parentNode && null !== parentNode.child)\n )\n for (\n targetNode = getParentHydrationBoundary(targetNode);\n null !== targetNode;\n\n ) {\n if ((parentNode = targetNode[internalInstanceKey])) return parentNode;\n targetNode = getParentHydrationBoundary(targetNode);\n }\n return targetInst;\n }\n targetNode = parentNode;\n parentNode = targetNode.parentNode;\n }\n return null;\n}\nfunction getInstanceFromNode(node) {\n if (\n (node = node[internalInstanceKey] || node[internalContainerInstanceKey])\n ) {\n var tag = node.tag;\n if (\n 5 === tag ||\n 6 === tag ||\n 13 === tag ||\n 31 === tag ||\n 26 === tag ||\n 27 === tag ||\n 3 === tag\n )\n return node;\n }\n return null;\n}\nfunction getNodeFromInstance(inst) {\n var tag = inst.tag;\n if (5 === tag || 26 === tag || 27 === tag || 6 === tag) return inst.stateNode;\n throw Error(formatProdErrorMessage(33));\n}\nfunction getResourcesFromRoot(root) {\n var resources = root[internalRootNodeResourcesKey];\n resources ||\n (resources = root[internalRootNodeResourcesKey] =\n { hoistableStyles: new Map(), hoistableScripts: new Map() });\n return resources;\n}\nfunction markNodeAsHoistable(node) {\n node[internalHoistableMarker] = !0;\n}\nvar allNativeEvents = new Set(),\n registrationNameDependencies = {};\nfunction registerTwoPhaseEvent(registrationName, dependencies) {\n registerDirectEvent(registrationName, dependencies);\n registerDirectEvent(registrationName + \"Capture\", dependencies);\n}\nfunction registerDirectEvent(registrationName, dependencies) {\n registrationNameDependencies[registrationName] = dependencies;\n for (\n registrationName = 0;\n registrationName < dependencies.length;\n registrationName++\n )\n allNativeEvents.add(dependencies[registrationName]);\n}\nvar VALID_ATTRIBUTE_NAME_REGEX = RegExp(\n \"^[: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]*$\"\n ),\n illegalAttributeNameCache = {},\n validatedAttributeNameCache = {};\nfunction isAttributeNameSafe(attributeName) {\n if (hasOwnProperty.call(validatedAttributeNameCache, attributeName))\n return !0;\n if (hasOwnProperty.call(illegalAttributeNameCache, attributeName)) return !1;\n if (VALID_ATTRIBUTE_NAME_REGEX.test(attributeName))\n return (validatedAttributeNameCache[attributeName] = !0);\n illegalAttributeNameCache[attributeName] = !0;\n return !1;\n}\nfunction setValueForAttribute(node, name, value) {\n if (isAttributeNameSafe(name))\n if (null === value) node.removeAttribute(name);\n else {\n switch (typeof value) {\n case \"undefined\":\n case \"function\":\n case \"symbol\":\n node.removeAttribute(name);\n return;\n case \"boolean\":\n var prefix$10 = name.toLowerCase().slice(0, 5);\n if (\"data-\" !== prefix$10 && \"aria-\" !== prefix$10) {\n node.removeAttribute(name);\n return;\n }\n }\n node.setAttribute(name, \"\" + value);\n }\n}\nfunction setValueForKnownAttribute(node, name, value) {\n if (null === value) node.removeAttribute(name);\n else {\n switch (typeof value) {\n case \"undefined\":\n case \"function\":\n case \"symbol\":\n case \"boolean\":\n node.removeAttribute(name);\n return;\n }\n node.setAttribute(name, \"\" + value);\n }\n}\nfunction setValueForNamespacedAttribute(node, namespace, name, value) {\n if (null === value) node.removeAttribute(name);\n else {\n switch (typeof value) {\n case \"undefined\":\n case \"function\":\n case \"symbol\":\n case \"boolean\":\n node.removeAttribute(name);\n return;\n }\n node.setAttributeNS(namespace, name, \"\" + value);\n }\n}\nfunction getToStringValue(value) {\n switch (typeof value) {\n case \"bigint\":\n case \"boolean\":\n case \"number\":\n case \"string\":\n case \"undefined\":\n return value;\n case \"object\":\n return value;\n default:\n return \"\";\n }\n}\nfunction isCheckable(elem) {\n var type = elem.type;\n return (\n (elem = elem.nodeName) &&\n \"input\" === elem.toLowerCase() &&\n (\"checkbox\" === type || \"radio\" === type)\n );\n}\nfunction trackValueOnNode(node, valueField, currentValue) {\n var descriptor = Object.getOwnPropertyDescriptor(\n node.constructor.prototype,\n valueField\n );\n if (\n !node.hasOwnProperty(valueField) &&\n \"undefined\" !== typeof descriptor &&\n \"function\" === typeof descriptor.get &&\n \"function\" === typeof descriptor.set\n ) {\n var get = descriptor.get,\n set = descriptor.set;\n Object.defineProperty(node, valueField, {\n configurable: !0,\n get: function () {\n return get.call(this);\n },\n set: function (value) {\n currentValue = \"\" + value;\n set.call(this, value);\n }\n });\n Object.defineProperty(node, valueField, {\n enumerable: descriptor.enumerable\n });\n return {\n getValue: function () {\n return currentValue;\n },\n setValue: function (value) {\n currentValue = \"\" + value;\n },\n stopTracking: function () {\n node._valueTracker = null;\n delete node[valueField];\n }\n };\n }\n}\nfunction track(node) {\n if (!node._valueTracker) {\n var valueField = isCheckable(node) ? \"checked\" : \"value\";\n node._valueTracker = trackValueOnNode(\n node,\n valueField,\n \"\" + node[valueField]\n );\n }\n}\nfunction updateValueIfChanged(node) {\n if (!node) return !1;\n var tracker = node._valueTracker;\n if (!tracker) return !0;\n var lastValue = tracker.getValue();\n var value = \"\";\n node &&\n (value = isCheckable(node)\n ? node.checked\n ? \"true\"\n : \"false\"\n : node.value);\n node = value;\n return node !== lastValue ? (tracker.setValue(node), !0) : !1;\n}\nfunction getActiveElement(doc) {\n doc = doc || (\"undefined\" !== typeof document ? document : void 0);\n if (\"undefined\" === typeof doc) return null;\n try {\n return doc.activeElement || doc.body;\n } catch (e) {\n return doc.body;\n }\n}\nvar escapeSelectorAttributeValueInsideDoubleQuotesRegex = /[\\n\"\\\\]/g;\nfunction escapeSelectorAttributeValueInsideDoubleQuotes(value) {\n return value.replace(\n escapeSelectorAttributeValueInsideDoubleQuotesRegex,\n function (ch) {\n return \"\\\\\" + ch.charCodeAt(0).toString(16) + \" \";\n }\n );\n}\nfunction updateInput(\n element,\n value,\n defaultValue,\n lastDefaultValue,\n checked,\n defaultChecked,\n type,\n name\n) {\n element.name = \"\";\n null != type &&\n \"function\" !== typeof type &&\n \"symbol\" !== typeof type &&\n \"boolean\" !== typeof type\n ? (element.type = type)\n : element.removeAttribute(\"type\");\n if (null != value)\n if (\"number\" === type) {\n if ((0 === value && \"\" === element.value) || element.value != value)\n element.value = \"\" + getToStringValue(value);\n } else\n element.value !== \"\" + getToStringValue(value) &&\n (element.value = \"\" + getToStringValue(value));\n else\n (\"submit\" !== type && \"reset\" !== type) || element.removeAttribute(\"value\");\n null != value\n ? setDefaultValue(element, type, getToStringValue(value))\n : null != defaultValue\n ? setDefaultValue(element, type, getToStringValue(defaultValue))\n : null != lastDefaultValue && element.removeAttribute(\"value\");\n null == checked &&\n null != defaultChecked &&\n (element.defaultChecked = !!defaultChecked);\n null != checked &&\n (element.checked =\n checked && \"function\" !== typeof checked && \"symbol\" !== typeof checked);\n null != name &&\n \"function\" !== typeof name &&\n \"symbol\" !== typeof name &&\n \"boolean\" !== typeof name\n ? (element.name = \"\" + getToStringValue(name))\n : element.removeAttribute(\"name\");\n}\nfunction initInput(\n element,\n value,\n defaultValue,\n checked,\n defaultChecked,\n type,\n name,\n isHydrating\n) {\n null != type &&\n \"function\" !== typeof type &&\n \"symbol\" !== typeof type &&\n \"boolean\" !== typeof type &&\n (element.type = type);\n if (null != value || null != defaultValue) {\n if (\n !(\n (\"submit\" !== type && \"reset\" !== type) ||\n (void 0 !== value && null !== value)\n )\n ) {\n track(element);\n return;\n }\n defaultValue =\n null != defaultValue ? \"\" + getToStringValue(defaultValue) : \"\";\n value = null != value ? \"\" + getToStringValue(value) : defaultValue;\n isHydrating || value === element.value || (element.value = value);\n element.defaultValue = value;\n }\n checked = null != checked ? checked : defaultChecked;\n checked =\n \"function\" !== typeof checked && \"symbol\" !== typeof checked && !!checked;\n element.checked = isHydrating ? element.checked : !!checked;\n element.defaultChecked = !!checked;\n null != name &&\n \"function\" !== typeof name &&\n \"symbol\" !== typeof name &&\n \"boolean\" !== typeof name &&\n (element.name = name);\n track(element);\n}\nfunction setDefaultValue(node, type, value) {\n (\"number\" === type && getActiveElement(node.ownerDocument) === node) ||\n node.defaultValue === \"\" + value ||\n (node.defaultValue = \"\" + value);\n}\nfunction updateOptions(node, multiple, propValue, setDefaultSelected) {\n node = node.options;\n if (multiple) {\n multiple = {};\n for (var i = 0; i < propValue.length; i++)\n multiple[\"$\" + propValue[i]] = !0;\n for (propValue = 0; propValue < node.length; propValue++)\n (i = multiple.hasOwnProperty(\"$\" + node[propValue].value)),\n node[propValue].selected !== i && (node[propValue].selected = i),\n i && setDefaultSelected && (node[propValue].defaultSelected = !0);\n } else {\n propValue = \"\" + getToStringValue(propValue);\n multiple = null;\n for (i = 0; i < node.length; i++) {\n if (node[i].value === propValue) {\n node[i].selected = !0;\n setDefaultSelected && (node[i].defaultSelected = !0);\n return;\n }\n null !== multiple || node[i].disabled || (multiple = node[i]);\n }\n null !== multiple && (multiple.selected = !0);\n }\n}\nfunction updateTextarea(element, value, defaultValue) {\n if (\n null != value &&\n ((value = \"\" + getToStringValue(value)),\n value !== element.value && (element.value = value),\n null == defaultValue)\n ) {\n element.defaultValue !== value && (element.defaultValue = value);\n return;\n }\n element.defaultValue =\n null != defaultValue ? \"\" + getToStringValue(defaultValue) : \"\";\n}\nfunction initTextarea(element, value, defaultValue, children) {\n if (null == value) {\n if (null != children) {\n if (null != defaultValue) throw Error(formatProdErrorMessage(92));\n if (isArrayImpl(children)) {\n if (1 < children.length) throw Error(formatProdErrorMessage(93));\n children = children[0];\n }\n defaultValue = children;\n }\n null == defaultValue && (defaultValue = \"\");\n value = defaultValue;\n }\n defaultValue = getToStringValue(value);\n element.defaultValue = defaultValue;\n children = element.textContent;\n children === defaultValue &&\n \"\" !== children &&\n null !== children &&\n (element.value = children);\n track(element);\n}\nfunction setTextContent(node, text) {\n if (text) {\n var firstChild = node.firstChild;\n if (\n firstChild &&\n firstChild === node.lastChild &&\n 3 === firstChild.nodeType\n ) {\n firstChild.nodeValue = text;\n return;\n }\n }\n node.textContent = text;\n}\nvar unitlessNumbers = new Set(\n \"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(\n \" \"\n )\n);\nfunction setValueForStyle(style, styleName, value) {\n var isCustomProperty = 0 === styleName.indexOf(\"--\");\n null == value || \"boolean\" === typeof value || \"\" === value\n ? isCustomProperty\n ? style.setProperty(styleName, \"\")\n : \"float\" === styleName\n ? (style.cssFloat = \"\")\n : (style[styleName] = \"\")\n : isCustomProperty\n ? style.setProperty(styleName, value)\n : \"number\" !== typeof value ||\n 0 === value ||\n unitlessNumbers.has(styleName)\n ? \"float\" === styleName\n ? (style.cssFloat = value)\n : (style[styleName] = (\"\" + value).trim())\n : (style[styleName] = value + \"px\");\n}\nfunction setValueForStyles(node, styles, prevStyles) {\n if (null != styles && \"object\" !== typeof styles)\n throw Error(formatProdErrorMessage(62));\n node = node.style;\n if (null != prevStyles) {\n for (var styleName in prevStyles)\n !prevStyles.hasOwnProperty(styleName) ||\n (null != styles && styles.hasOwnProperty(styleName)) ||\n (0 === styleName.indexOf(\"--\")\n ? node.setProperty(styleName, \"\")\n : \"float\" === styleName\n ? (node.cssFloat = \"\")\n : (node[styleName] = \"\"));\n for (var styleName$16 in styles)\n (styleName = styles[styleName$16]),\n styles.hasOwnProperty(styleName$16) &&\n prevStyles[styleName$16] !== styleName &&\n setValueForStyle(node, styleName$16, styleName);\n } else\n for (var styleName$17 in styles)\n styles.hasOwnProperty(styleName$17) &&\n setValueForStyle(node, styleName$17, styles[styleName$17]);\n}\nfunction isCustomElement(tagName) {\n if (-1 === tagName.indexOf(\"-\")) return !1;\n switch (tagName) {\n case \"annotation-xml\":\n case \"color-profile\":\n case \"font-face\":\n case \"font-face-src\":\n case \"font-face-uri\":\n case \"font-face-format\":\n case \"font-face-name\":\n case \"missing-glyph\":\n return !1;\n default:\n return !0;\n }\n}\nvar aliases = new Map([\n [\"acceptCharset\", \"accept-charset\"],\n [\"htmlFor\", \"for\"],\n [\"httpEquiv\", \"http-equiv\"],\n [\"crossOrigin\", \"crossorigin\"],\n [\"accentHeight\", \"accent-height\"],\n [\"alignmentBaseline\", \"alignment-baseline\"],\n [\"arabicForm\", \"arabic-form\"],\n [\"baselineShift\", \"baseline-shift\"],\n [\"capHeight\", \"cap-height\"],\n [\"clipPath\", \"clip-path\"],\n [\"clipRule\", \"clip-rule\"],\n [\"colorInterpolation\", \"color-interpolation\"],\n [\"colorInterpolationFilters\", \"color-interpolation-filters\"],\n [\"colorProfile\", \"color-profile\"],\n [\"colorRendering\", \"color-rendering\"],\n [\"dominantBaseline\", \"dominant-baseline\"],\n [\"enableBackground\", \"enable-background\"],\n [\"fillOpacity\", \"fill-opacity\"],\n [\"fillRule\", \"fill-rule\"],\n [\"floodColor\", \"flood-color\"],\n [\"floodOpacity\", \"flood-opacity\"],\n [\"fontFamily\", \"font-family\"],\n [\"fontSize\", \"font-size\"],\n [\"fontSizeAdjust\", \"font-size-adjust\"],\n [\"fontStretch\", \"font-stretch\"],\n [\"fontStyle\", \"font-style\"],\n [\"fontVariant\", \"font-variant\"],\n [\"fontWeight\", \"font-weight\"],\n [\"glyphName\", \"glyph-name\"],\n [\"glyphOrientationHorizontal\", \"glyph-orientation-horizontal\"],\n [\"glyphOrientationVertical\", \"glyph-orientation-vertical\"],\n [\"horizAdvX\", \"horiz-adv-x\"],\n [\"horizOriginX\", \"horiz-origin-x\"],\n [\"imageRendering\", \"image-rendering\"],\n [\"letterSpacing\", \"letter-spacing\"],\n [\"lightingColor\", \"lighting-color\"],\n [\"markerEnd\", \"marker-end\"],\n [\"markerMid\", \"marker-mid\"],\n [\"markerStart\", \"marker-start\"],\n [\"overlinePosition\", \"overline-position\"],\n [\"overlineThickness\", \"overline-thickness\"],\n [\"paintOrder\", \"paint-order\"],\n [\"panose-1\", \"panose-1\"],\n [\"pointerEvents\", \"pointer-events\"],\n [\"renderingIntent\", \"rendering-intent\"],\n [\"shapeRendering\", \"shape-rendering\"],\n [\"stopColor\", \"stop-color\"],\n [\"stopOpacity\", \"stop-opacity\"],\n [\"strikethroughPosition\", \"strikethrough-position\"],\n [\"strikethroughThickness\", \"strikethrough-thickness\"],\n [\"strokeDasharray\", \"stroke-dasharray\"],\n [\"strokeDashoffset\", \"stroke-dashoffset\"],\n [\"strokeLinecap\", \"stroke-linecap\"],\n [\"strokeLinejoin\", \"stroke-linejoin\"],\n [\"strokeMiterlimit\", \"stroke-miterlimit\"],\n [\"strokeOpacity\", \"stroke-opacity\"],\n [\"strokeWidth\", \"stroke-width\"],\n [\"textAnchor\", \"text-anchor\"],\n [\"textDecoration\", \"text-decoration\"],\n [\"textRendering\", \"text-rendering\"],\n [\"transformOrigin\", \"transform-origin\"],\n [\"underlinePosition\", \"underline-position\"],\n [\"underlineThickness\", \"underline-thickness\"],\n [\"unicodeBidi\", \"unicode-bidi\"],\n [\"unicodeRange\", \"unicode-range\"],\n [\"unitsPerEm\", \"units-per-em\"],\n [\"vAlphabetic\", \"v-alphabetic\"],\n [\"vHanging\", \"v-hanging\"],\n [\"vIdeographic\", \"v-ideographic\"],\n [\"vMathematical\", \"v-mathematical\"],\n [\"vectorEffect\", \"vector-effect\"],\n [\"vertAdvY\", \"vert-adv-y\"],\n [\"vertOriginX\", \"vert-origin-x\"],\n [\"vertOriginY\", \"vert-origin-y\"],\n [\"wordSpacing\", \"word-spacing\"],\n [\"writingMode\", \"writing-mode\"],\n [\"xmlnsXlink\", \"xmlns:xlink\"],\n [\"xHeight\", \"x-height\"]\n ]),\n isJavaScriptProtocol =\n /^[\\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;\nfunction sanitizeURL(url) {\n return isJavaScriptProtocol.test(\"\" + url)\n ? \"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')\"\n : url;\n}\nfunction noop$1() {}\nvar currentReplayingEvent = null;\nfunction getEventTarget(nativeEvent) {\n nativeEvent = nativeEvent.target || nativeEvent.srcElement || window;\n nativeEvent.correspondingUseElement &&\n (nativeEvent = nativeEvent.correspondingUseElement);\n return 3 === nativeEvent.nodeType ? nativeEvent.parentNode : nativeEvent;\n}\nvar restoreTarget = null,\n restoreQueue = null;\nfunction restoreStateOfTarget(target) {\n var internalInstance = getInstanceFromNode(target);\n if (internalInstance && (target = internalInstance.stateNode)) {\n var props = target[internalPropsKey] || null;\n a: switch (((target = internalInstance.stateNode), internalInstance.type)) {\n case \"input\":\n updateInput(\n target,\n props.value,\n props.defaultValue,\n props.defaultValue,\n props.checked,\n props.defaultChecked,\n props.type,\n props.name\n );\n internalInstance = props.name;\n if (\"radio\" === props.type && null != internalInstance) {\n for (props = target; props.parentNode; ) props = props.parentNode;\n props = props.querySelectorAll(\n 'input[name=\"' +\n escapeSelectorAttributeValueInsideDoubleQuotes(\n \"\" + internalInstance\n ) +\n '\"][type=\"radio\"]'\n );\n for (\n internalInstance = 0;\n internalInstance < props.length;\n internalInstance++\n ) {\n var otherNode = props[internalInstance];\n if (otherNode !== target && otherNode.form === target.form) {\n var otherProps = otherNode[internalPropsKey] || null;\n if (!otherProps) throw Error(formatProdErrorMessage(90));\n updateInput(\n otherNode,\n otherProps.value,\n otherProps.defaultValue,\n otherProps.defaultValue,\n otherProps.checked,\n otherProps.defaultChecked,\n otherProps.type,\n otherProps.name\n );\n }\n }\n for (\n internalInstance = 0;\n internalInstance < props.length;\n internalInstance++\n )\n (otherNode = props[internalInstance]),\n otherNode.form === target.form && updateValueIfChanged(otherNode);\n }\n break a;\n case \"textarea\":\n updateTextarea(target, props.value, props.defaultValue);\n break a;\n case \"select\":\n (internalInstance = props.value),\n null != internalInstance &&\n updateOptions(target, !!props.multiple, internalInstance, !1);\n }\n }\n}\nvar isInsideEventHandler = !1;\nfunction batchedUpdates$1(fn, a, b) {\n if (isInsideEventHandler) return fn(a, b);\n isInsideEventHandler = !0;\n try {\n var JSCompiler_inline_result = fn(a);\n return JSCompiler_inline_result;\n } finally {\n if (\n ((isInsideEventHandler = !1),\n null !== restoreTarget || null !== restoreQueue)\n )\n if (\n (flushSyncWork$1(),\n restoreTarget &&\n ((a = restoreTarget),\n (fn = restoreQueue),\n (restoreQueue = restoreTarget = null),\n restoreStateOfTarget(a),\n fn))\n )\n for (a = 0; a < fn.length; a++) restoreStateOfTarget(fn[a]);\n }\n}\nfunction getListener(inst, registrationName) {\n var stateNode = inst.stateNode;\n if (null === stateNode) return null;\n var props = stateNode[internalPropsKey] || null;\n if (null === props) return null;\n stateNode = props[registrationName];\n a: switch (registrationName) {\n case \"onClick\":\n case \"onClickCapture\":\n case \"onDoubleClick\":\n case \"onDoubleClickCapture\":\n case \"onMouseDown\":\n case \"onMouseDownCapture\":\n case \"onMouseMove\":\n case \"onMouseMoveCapture\":\n case \"onMouseUp\":\n case \"onMouseUpCapture\":\n case \"onMouseEnter\":\n (props = !props.disabled) ||\n ((inst = inst.type),\n (props = !(\n \"button\" === inst ||\n \"input\" === inst ||\n \"select\" === inst ||\n \"textarea\" === inst\n )));\n inst = !props;\n break a;\n default:\n inst = !1;\n }\n if (inst) return null;\n if (stateNode && \"function\" !== typeof stateNode)\n throw Error(\n formatProdErrorMessage(231, registrationName, typeof stateNode)\n );\n return stateNode;\n}\nvar canUseDOM = !(\n \"undefined\" === typeof window ||\n \"undefined\" === typeof window.document ||\n \"undefined\" === typeof window.document.createElement\n ),\n passiveBrowserEventsSupported = !1;\nif (canUseDOM)\n try {\n var options = {};\n Object.defineProperty(options, \"passive\", {\n get: function () {\n passiveBrowserEventsSupported = !0;\n }\n });\n window.addEventListener(\"test\", options, options);\n window.removeEventListener(\"test\", options, options);\n } catch (e) {\n passiveBrowserEventsSupported = !1;\n }\nvar root = null,\n startText = null,\n fallbackText = null;\nfunction getData() {\n if (fallbackText) return fallbackText;\n var start,\n startValue = startText,\n startLength = startValue.length,\n end,\n endValue = \"value\" in root ? root.value : root.textContent,\n endLength = endValue.length;\n for (\n start = 0;\n start < startLength && startValue[start] === endValue[start];\n start++\n );\n var minEnd = startLength - start;\n for (\n end = 1;\n end <= minEnd &&\n startValue[startLength - end] === endValue[endLength - end];\n end++\n );\n return (fallbackText = endValue.slice(start, 1 < end ? 1 - end : void 0));\n}\nfunction getEventCharCode(nativeEvent) {\n var keyCode = nativeEvent.keyCode;\n \"charCode\" in nativeEvent\n ? ((nativeEvent = nativeEvent.charCode),\n 0 === nativeEvent && 13 === keyCode && (nativeEvent = 13))\n : (nativeEvent = keyCode);\n 10 === nativeEvent && (nativeEvent = 13);\n return 32 <= nativeEvent || 13 === nativeEvent ? nativeEvent : 0;\n}\nfunction functionThatReturnsTrue() {\n return !0;\n}\nfunction functionThatReturnsFalse() {\n return !1;\n}\nfunction createSyntheticEvent(Interface) {\n function SyntheticBaseEvent(\n reactName,\n reactEventType,\n targetInst,\n nativeEvent,\n nativeEventTarget\n ) {\n this._reactName = reactName;\n this._targetInst = targetInst;\n this.type = reactEventType;\n this.nativeEvent = nativeEvent;\n this.target = nativeEventTarget;\n this.currentTarget = null;\n for (var propName in Interface)\n Interface.hasOwnProperty(propName) &&\n ((reactName = Interface[propName]),\n (this[propName] = reactName\n ? reactName(nativeEvent)\n : nativeEvent[propName]));\n this.isDefaultPrevented = (\n null != nativeEvent.defaultPrevented\n ? nativeEvent.defaultPrevented\n : !1 === nativeEvent.returnValue\n )\n ? functionThatReturnsTrue\n : functionThatReturnsFalse;\n this.isPropagationStopped = functionThatReturnsFalse;\n return this;\n }\n assign(SyntheticBaseEvent.prototype, {\n preventDefault: function () {\n this.defaultPrevented = !0;\n var event = this.nativeEvent;\n event &&\n (event.preventDefault\n ? event.preventDefault()\n : \"unknown\" !== typeof event.returnValue && (event.returnValue = !1),\n (this.isDefaultPrevented = functionThatReturnsTrue));\n },\n stopPropagation: function () {\n var event = this.nativeEvent;\n event &&\n (event.stopPropagation\n ? event.stopPropagation()\n : \"unknown\" !== typeof event.cancelBubble &&\n (event.cancelBubble = !0),\n (this.isPropagationStopped = functionThatReturnsTrue));\n },\n persist: function () {},\n isPersistent: functionThatReturnsTrue\n });\n return SyntheticBaseEvent;\n}\nvar EventInterface = {\n eventPhase: 0,\n bubbles: 0,\n cancelable: 0,\n timeStamp: function (event) {\n return event.timeStamp || Date.now();\n },\n defaultPrevented: 0,\n isTrusted: 0\n },\n SyntheticEvent = createSyntheticEvent(EventInterface),\n UIEventInterface = assign({}, EventInterface, { view: 0, detail: 0 }),\n SyntheticUIEvent = createSyntheticEvent(UIEventInterface),\n lastMovementX,\n lastMovementY,\n lastMouseEvent,\n MouseEventInterface = assign({}, UIEventInterface, {\n screenX: 0,\n screenY: 0,\n clientX: 0,\n clientY: 0,\n pageX: 0,\n pageY: 0,\n ctrlKey: 0,\n shiftKey: 0,\n altKey: 0,\n metaKey: 0,\n getModifierState: getEventModifierState,\n button: 0,\n buttons: 0,\n relatedTarget: function (event) {\n return void 0 === event.relatedTarget\n ? event.fromElement === event.srcElement\n ? event.toElement\n : event.fromElement\n : event.relatedTarget;\n },\n movementX: function (event) {\n if (\"movementX\" in event) return event.movementX;\n event !== lastMouseEvent &&\n (lastMouseEvent && \"mousemove\" === event.type\n ? ((lastMovementX = event.screenX - lastMouseEvent.screenX),\n (lastMovementY = event.screenY - lastMouseEvent.screenY))\n : (lastMovementY = lastMovementX = 0),\n (lastMouseEvent = event));\n return lastMovementX;\n },\n movementY: function (event) {\n return \"movementY\" in event ? event.movementY : lastMovementY;\n }\n }),\n SyntheticMouseEvent = createSyntheticEvent(MouseEventInterface),\n DragEventInterface = assign({}, MouseEventInterface, { dataTransfer: 0 }),\n SyntheticDragEvent = createSyntheticEvent(DragEventInterface),\n FocusEventInterface = assign({}, UIEventInterface, { relatedTarget: 0 }),\n SyntheticFocusEvent = createSyntheticEvent(FocusEventInterface),\n AnimationEventInterface = assign({}, EventInterface, {\n animationName: 0,\n elapsedTime: 0,\n pseudoElement: 0\n }),\n SyntheticAnimationEvent = createSyntheticEvent(AnimationEventInterface),\n ClipboardEventInterface = assign({}, EventInterface, {\n clipboardData: function (event) {\n return \"clipboardData\" in event\n ? event.clipboardData\n : window.clipboardData;\n }\n }),\n SyntheticClipboardEvent = createSyntheticEvent(ClipboardEventInterface),\n CompositionEventInterface = assign({}, EventInterface, { data: 0 }),\n SyntheticCompositionEvent = createSyntheticEvent(CompositionEventInterface),\n normalizeKey = {\n Esc: \"Escape\",\n Spacebar: \" \",\n Left: \"ArrowLeft\",\n Up: \"ArrowUp\",\n Right: \"ArrowRight\",\n Down: \"ArrowDown\",\n Del: \"Delete\",\n Win: \"OS\",\n Menu: \"ContextMenu\",\n Apps: \"ContextMenu\",\n Scroll: \"ScrollLock\",\n MozPrintableKey: \"Unidentified\"\n },\n translateToKey = {\n 8: \"Backspace\",\n 9: \"Tab\",\n 12: \"Clear\",\n 13: \"Enter\",\n 16: \"Shift\",\n 17: \"Control\",\n 18: \"Alt\",\n 19: \"Pause\",\n 20: \"CapsLock\",\n 27: \"Escape\",\n 32: \" \",\n 33: \"PageUp\",\n 34: \"PageDown\",\n 35: \"End\",\n 36: \"Home\",\n 37: \"ArrowLeft\",\n 38: \"ArrowUp\",\n 39: \"ArrowRight\",\n 40: \"ArrowDown\",\n 45: \"Insert\",\n 46: \"Delete\",\n 112: \"F1\",\n 113: \"F2\",\n 114: \"F3\",\n 115: \"F4\",\n 116: \"F5\",\n 117: \"F6\",\n 118: \"F7\",\n 119: \"F8\",\n 120: \"F9\",\n 121: \"F10\",\n 122: \"F11\",\n 123: \"F12\",\n 144: \"NumLock\",\n 145: \"ScrollLock\",\n 224: \"Meta\"\n },\n modifierKeyToProp = {\n Alt: \"altKey\",\n Control: \"ctrlKey\",\n Meta: \"metaKey\",\n Shift: \"shiftKey\"\n };\nfunction modifierStateGetter(keyArg) {\n var nativeEvent = this.nativeEvent;\n return nativeEvent.getModifierState\n ? nativeEvent.getModifierState(keyArg)\n : (keyArg = modifierKeyToProp[keyArg])\n ? !!nativeEvent[keyArg]\n : !1;\n}\nfunction getEventModifierState() {\n return modifierStateGetter;\n}\nvar KeyboardEventInterface = assign({}, UIEventInterface, {\n key: function (nativeEvent) {\n if (nativeEvent.key) {\n var key = normalizeKey[nativeEvent.key] || nativeEvent.key;\n if (\"Unidentified\" !== key) return key;\n }\n return \"keypress\" === nativeEvent.type\n ? ((nativeEvent = getEventCharCode(nativeEvent)),\n 13 === nativeEvent ? \"Enter\" : String.fromCharCode(nativeEvent))\n : \"keydown\" === nativeEvent.type || \"keyup\" === nativeEvent.type\n ? translateToKey[nativeEvent.keyCode] || \"Unidentified\"\n : \"\";\n },\n code: 0,\n location: 0,\n ctrlKey: 0,\n shiftKey: 0,\n altKey: 0,\n metaKey: 0,\n repeat: 0,\n locale: 0,\n getModifierState: getEventModifierState,\n charCode: function (event) {\n return \"keypress\" === event.type ? getEventCharCode(event) : 0;\n },\n keyCode: function (event) {\n return \"keydown\" === event.type || \"keyup\" === event.type\n ? event.keyCode\n : 0;\n },\n which: function (event) {\n return \"keypress\" === event.type\n ? getEventCharCode(event)\n : \"keydown\" === event.type || \"keyup\" === event.type\n ? event.keyCode\n : 0;\n }\n }),\n SyntheticKeyboardEvent = createSyntheticEvent(KeyboardEventInterface),\n PointerEventInterface = assign({}, MouseEventInterface, {\n pointerId: 0,\n width: 0,\n height: 0,\n pressure: 0,\n tangentialPressure: 0,\n tiltX: 0,\n tiltY: 0,\n twist: 0,\n pointerType: 0,\n isPrimary: 0\n }),\n SyntheticPointerEvent = createSyntheticEvent(PointerEventInterface),\n TouchEventInterface = assign({}, UIEventInterface, {\n touches: 0,\n targetTouches: 0,\n changedTouches: 0,\n altKey: 0,\n metaKey: 0,\n ctrlKey: 0,\n shiftKey: 0,\n getModifierState: getEventModifierState\n }),\n SyntheticTouchEvent = createSyntheticEvent(TouchEventInterface),\n TransitionEventInterface = assign({}, EventInterface, {\n propertyName: 0,\n elapsedTime: 0,\n pseudoElement: 0\n }),\n SyntheticTransitionEvent = createSyntheticEvent(TransitionEventInterface),\n WheelEventInterface = assign({}, MouseEventInterface, {\n deltaX: function (event) {\n return \"deltaX\" in event\n ? event.deltaX\n : \"wheelDeltaX\" in event\n ? -event.wheelDeltaX\n : 0;\n },\n deltaY: function (event) {\n return \"deltaY\" in event\n ? event.deltaY\n : \"wheelDeltaY\" in event\n ? -event.wheelDeltaY\n : \"wheelDelta\" in event\n ? -event.wheelDelta\n : 0;\n },\n deltaZ: 0,\n deltaMode: 0\n }),\n SyntheticWheelEvent = createSyntheticEvent(WheelEventInterface),\n ToggleEventInterface = assign({}, EventInterface, {\n newState: 0,\n oldState: 0\n }),\n SyntheticToggleEvent = createSyntheticEvent(ToggleEventInterface),\n END_KEYCODES = [9, 13, 27, 32],\n canUseCompositionEvent = canUseDOM && \"CompositionEvent\" in window,\n documentMode = null;\ncanUseDOM &&\n \"documentMode\" in document &&\n (documentMode = document.documentMode);\nvar canUseTextInputEvent = canUseDOM && \"TextEvent\" in window && !documentMode,\n useFallbackCompositionData =\n canUseDOM &&\n (!canUseCompositionEvent ||\n (documentMode && 8 < documentMode && 11 >= documentMode)),\n SPACEBAR_CHAR = String.fromCharCode(32),\n hasSpaceKeypress = !1;\nfunction isFallbackCompositionEnd(domEventName, nativeEvent) {\n switch (domEventName) {\n case \"keyup\":\n return -1 !== END_KEYCODES.indexOf(nativeEvent.keyCode);\n case \"keydown\":\n return 229 !== nativeEvent.keyCode;\n case \"keypress\":\n case \"mousedown\":\n case \"focusout\":\n return !0;\n default:\n return !1;\n }\n}\nfunction getDataFromCustomEvent(nativeEvent) {\n nativeEvent = nativeEvent.detail;\n return \"object\" === typeof nativeEvent && \"data\" in nativeEvent\n ? nativeEvent.data\n : null;\n}\nvar isComposing = !1;\nfunction getNativeBeforeInputChars(domEventName, nativeEvent) {\n switch (domEventName) {\n case \"compositionend\":\n return getDataFromCustomEvent(nativeEvent);\n case \"keypress\":\n if (32 !== nativeEvent.which) return null;\n hasSpaceKeypress = !0;\n return SPACEBAR_CHAR;\n case \"textInput\":\n return (\n (domEventName = nativeEvent.data),\n domEventName === SPACEBAR_CHAR && hasSpaceKeypress ? null : domEventName\n );\n default:\n return null;\n }\n}\nfunction getFallbackBeforeInputChars(domEventName, nativeEvent) {\n if (isComposing)\n return \"compositionend\" === domEventName ||\n (!canUseCompositionEvent &&\n isFallbackCompositionEnd(domEventName, nativeEvent))\n ? ((domEventName = getData()),\n (fallbackText = startText = root = null),\n (isComposing = !1),\n domEventName)\n : null;\n switch (domEventName) {\n case \"paste\":\n return null;\n case \"keypress\":\n if (\n !(nativeEvent.ctrlKey || nativeEvent.altKey || nativeEvent.metaKey) ||\n (nativeEvent.ctrlKey && nativeEvent.altKey)\n ) {\n if (nativeEvent.char && 1 < nativeEvent.char.length)\n return nativeEvent.char;\n if (nativeEvent.which) return String.fromCharCode(nativeEvent.which);\n }\n return null;\n case \"compositionend\":\n return useFallbackCompositionData && \"ko\" !== nativeEvent.locale\n ? null\n : nativeEvent.data;\n default:\n return null;\n }\n}\nvar supportedInputTypes = {\n color: !0,\n date: !0,\n datetime: !0,\n \"datetime-local\": !0,\n email: !0,\n month: !0,\n number: !0,\n password: !0,\n range: !0,\n search: !0,\n tel: !0,\n text: !0,\n time: !0,\n url: !0,\n week: !0\n};\nfunction isTextInputElement(elem) {\n var nodeName = elem && elem.nodeName && elem.nodeName.toLowerCase();\n return \"input\" === nodeName\n ? !!supportedInputTypes[elem.type]\n : \"textarea\" === nodeName\n ? !0\n : !1;\n}\nfunction createAndAccumulateChangeEvent(\n dispatchQueue,\n inst,\n nativeEvent,\n target\n) {\n restoreTarget\n ? restoreQueue\n ? restoreQueue.push(target)\n : (restoreQueue = [target])\n : (restoreTarget = target);\n inst = accumulateTwoPhaseListeners(inst, \"onChange\");\n 0 < inst.length &&\n ((nativeEvent = new SyntheticEvent(\n \"onChange\",\n \"change\",\n null,\n nativeEvent,\n target\n )),\n dispatchQueue.push({ event: nativeEvent, listeners: inst }));\n}\nvar activeElement$1 = null,\n activeElementInst$1 = null;\nfunction runEventInBatch(dispatchQueue) {\n processDispatchQueue(dispatchQueue, 0);\n}\nfunction getInstIfValueChanged(targetInst) {\n var targetNode = getNodeFromInstance(targetInst);\n if (updateValueIfChanged(targetNode)) return targetInst;\n}\nfunction getTargetInstForChangeEvent(domEventName, targetInst) {\n if (\"change\" === domEventName) return targetInst;\n}\nvar isInputEventSupported = !1;\nif (canUseDOM) {\n var JSCompiler_inline_result$jscomp$286;\n if (canUseDOM) {\n var isSupported$jscomp$inline_427 = \"oninput\" in document;\n if (!isSupported$jscomp$inline_427) {\n var element$jscomp$inline_428 = document.createElement(\"div\");\n element$jscomp$inline_428.setAttribute(\"oninput\", \"return;\");\n isSupported$jscomp$inline_427 =\n \"function\" === typeof element$jscomp$inline_428.oninput;\n }\n JSCompiler_inline_result$jscomp$286 = isSupported$jscomp$inline_427;\n } else JSCompiler_inline_result$jscomp$286 = !1;\n isInputEventSupported =\n JSCompiler_inline_result$jscomp$286 &&\n (!document.documentMode || 9 < document.documentMode);\n}\nfunction stopWatchingForValueChange() {\n activeElement$1 &&\n (activeElement$1.detachEvent(\"onpropertychange\", handlePropertyChange),\n (activeElementInst$1 = activeElement$1 = null));\n}\nfunction handlePropertyChange(nativeEvent) {\n if (\n \"value\" === nativeEvent.propertyName &&\n getInstIfValueChanged(activeElementInst$1)\n ) {\n var dispatchQueue = [];\n createAndAccumulateChangeEvent(\n dispatchQueue,\n activeElementInst$1,\n nativeEvent,\n getEventTarget(nativeEvent)\n );\n batchedUpdates$1(runEventInBatch, dispatchQueue);\n }\n}\nfunction handleEventsForInputEventPolyfill(domEventName, target, targetInst) {\n \"focusin\" === domEventName\n ? (stopWatchingForValueChange(),\n (activeElement$1 = target),\n (activeElementInst$1 = targetInst),\n activeElement$1.attachEvent(\"onpropertychange\", handlePropertyChange))\n : \"focusout\" === domEventName && stopWatchingForValueChange();\n}\nfunction getTargetInstForInputEventPolyfill(domEventName) {\n if (\n \"selectionchange\" === domEventName ||\n \"keyup\" === domEventName ||\n \"keydown\" === domEventName\n )\n return getInstIfValueChanged(activeElementInst$1);\n}\nfunction getTargetInstForClickEvent(domEventName, targetInst) {\n if (\"click\" === domEventName) return getInstIfValueChanged(targetInst);\n}\nfunction getTargetInstForInputOrChangeEvent(domEventName, targetInst) {\n if (\"input\" === domEventName || \"change\" === domEventName)\n return getInstIfValueChanged(targetInst);\n}\nfunction is(x, y) {\n return (x === y && (0 !== x || 1 / x === 1 / y)) || (x !== x && y !== y);\n}\nvar objectIs = \"function\" === typeof Object.is ? Object.is : is;\nfunction shallowEqual(objA, objB) {\n if (objectIs(objA, objB)) return !0;\n if (\n \"object\" !== typeof objA ||\n null === objA ||\n \"object\" !== typeof objB ||\n null === objB\n )\n return !1;\n var keysA = Object.keys(objA),\n keysB = Object.keys(objB);\n if (keysA.length !== keysB.length) return !1;\n for (keysB = 0; keysB < keysA.length; keysB++) {\n var currentKey = keysA[keysB];\n if (\n !hasOwnProperty.call(objB, currentKey) ||\n !objectIs(objA[currentKey], objB[currentKey])\n )\n return !1;\n }\n return !0;\n}\nfunction getLeafNode(node) {\n for (; node && node.firstChild; ) node = node.firstChild;\n return node;\n}\nfunction getNodeForCharacterOffset(root, offset) {\n var node = getLeafNode(root);\n root = 0;\n for (var nodeEnd; node; ) {\n if (3 === node.nodeType) {\n nodeEnd = root + node.textContent.length;\n if (root <= offset && nodeEnd >= offset)\n return { node: node, offset: offset - root };\n root = nodeEnd;\n }\n a: {\n for (; node; ) {\n if (node.nextSibling) {\n node = node.nextSibling;\n break a;\n }\n node = node.parentNode;\n }\n node = void 0;\n }\n node = getLeafNode(node);\n }\n}\nfunction containsNode(outerNode, innerNode) {\n return outerNode && innerNode\n ? outerNode === innerNode\n ? !0\n : outerNode && 3 === outerNode.nodeType\n ? !1\n : innerNode && 3 === innerNode.nodeType\n ? containsNode(outerNode, innerNode.parentNode)\n : \"contains\" in outerNode\n ? outerNode.contains(innerNode)\n : outerNode.compareDocumentPosition\n ? !!(outerNode.compareDocumentPosition(innerNode) & 16)\n : !1\n : !1;\n}\nfunction getActiveElementDeep(containerInfo) {\n containerInfo =\n null != containerInfo &&\n null != containerInfo.ownerDocument &&\n null != containerInfo.ownerDocument.defaultView\n ? containerInfo.ownerDocument.defaultView\n : window;\n for (\n var element = getActiveElement(containerInfo.document);\n element instanceof containerInfo.HTMLIFrameElement;\n\n ) {\n try {\n var JSCompiler_inline_result =\n \"string\" === typeof element.contentWindow.location.href;\n } catch (err) {\n JSCompiler_inline_result = !1;\n }\n if (JSCompiler_inline_result) containerInfo = element.contentWindow;\n else break;\n element = getActiveElement(containerInfo.document);\n }\n return element;\n}\nfunction hasSelectionCapabilities(elem) {\n var nodeName = elem && elem.nodeName && elem.nodeName.toLowerCase();\n return (\n nodeName &&\n ((\"input\" === nodeName &&\n (\"text\" === elem.type ||\n \"search\" === elem.type ||\n \"tel\" === elem.type ||\n \"url\" === elem.type ||\n \"password\" === elem.type)) ||\n \"textarea\" === nodeName ||\n \"true\" === elem.contentEditable)\n );\n}\nvar skipSelectionChangeEvent =\n canUseDOM && \"documentMode\" in document && 11 >= document.documentMode,\n activeElement = null,\n activeElementInst = null,\n lastSelection = null,\n mouseDown = !1;\nfunction constructSelectEvent(dispatchQueue, nativeEvent, nativeEventTarget) {\n var doc =\n nativeEventTarget.window === nativeEventTarget\n ? nativeEventTarget.document\n : 9 === nativeEventTarget.nodeType\n ? nativeEventTarget\n : nativeEventTarget.ownerDocument;\n mouseDown ||\n null == activeElement ||\n activeElement !== getActiveElement(doc) ||\n ((doc = activeElement),\n \"selectionStart\" in doc && hasSelectionCapabilities(doc)\n ? (doc = { start: doc.selectionStart, end: doc.selectionEnd })\n : ((doc = (\n (doc.ownerDocument && doc.ownerDocument.defaultView) ||\n window\n ).getSelection()),\n (doc = {\n anchorNode: doc.anchorNode,\n anchorOffset: doc.anchorOffset,\n focusNode: doc.focusNode,\n focusOffset: doc.focusOffset\n })),\n (lastSelection && shallowEqual(lastSelection, doc)) ||\n ((lastSelection = doc),\n (doc = accumulateTwoPhaseListeners(activeElementInst, \"onSelect\")),\n 0 < doc.length &&\n ((nativeEvent = new SyntheticEvent(\n \"onSelect\",\n \"select\",\n null,\n nativeEvent,\n nativeEventTarget\n )),\n dispatchQueue.push({ event: nativeEvent, listeners: doc }),\n (nativeEvent.target = activeElement))));\n}\nfunction makePrefixMap(styleProp, eventName) {\n var prefixes = {};\n prefixes[styleProp.toLowerCase()] = eventName.toLowerCase();\n prefixes[\"Webkit\" + styleProp] = \"webkit\" + eventName;\n prefixes[\"Moz\" + styleProp] = \"moz\" + eventName;\n return prefixes;\n}\nvar vendorPrefixes = {\n animationend: makePrefixMap(\"Animation\", \"AnimationEnd\"),\n animationiteration: makePrefixMap(\"Animation\", \"AnimationIteration\"),\n animationstart: makePrefixMap(\"Animation\", \"AnimationStart\"),\n transitionrun: makePrefixMap(\"Transition\", \"TransitionRun\"),\n transitionstart: makePrefixMap(\"Transition\", \"TransitionStart\"),\n transitioncancel: makePrefixMap(\"Transition\", \"TransitionCancel\"),\n transitionend: makePrefixMap(\"Transition\", \"TransitionEnd\")\n },\n prefixedEventNames = {},\n style = {};\ncanUseDOM &&\n ((style = document.createElement(\"div\").style),\n \"AnimationEvent\" in window ||\n (delete vendorPrefixes.animationend.animation,\n delete vendorPrefixes.animationiteration.animation,\n delete vendorPrefixes.animationstart.animation),\n \"TransitionEvent\" in window ||\n delete vendorPrefixes.transitionend.transition);\nfunction getVendorPrefixedEventName(eventName) {\n if (prefixedEventNames[eventName]) return prefixedEventNames[eventName];\n if (!vendorPrefixes[eventName]) return eventName;\n var prefixMap = vendorPrefixes[eventName],\n styleProp;\n for (styleProp in prefixMap)\n if (prefixMap.hasOwnProperty(styleProp) && styleProp in style)\n return (prefixedEventNames[eventName] = prefixMap[styleProp]);\n return eventName;\n}\nvar ANIMATION_END = getVendorPrefixedEventName(\"animationend\"),\n ANIMATION_ITERATION = getVendorPrefixedEventName(\"animationiteration\"),\n ANIMATION_START = getVendorPrefixedEventName(\"animationstart\"),\n TRANSITION_RUN = getVendorPrefixedEventName(\"transitionrun\"),\n TRANSITION_START = getVendorPrefixedEventName(\"transitionstart\"),\n TRANSITION_CANCEL = getVendorPrefixedEventName(\"transitioncancel\"),\n TRANSITION_END = getVendorPrefixedEventName(\"transitionend\"),\n topLevelEventsToReactNames = new Map(),\n simpleEventPluginEvents =\n \"abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel\".split(\n \" \"\n );\nsimpleEventPluginEvents.push(\"scrollEnd\");\nfunction registerSimpleEvent(domEventName, reactName) {\n topLevelEventsToReactNames.set(domEventName, reactName);\n registerTwoPhaseEvent(reactName, [domEventName]);\n}\nvar reportGlobalError =\n \"function\" === typeof reportError\n ? reportError\n : function (error) {\n if (\n \"object\" === typeof window &&\n \"function\" === typeof window.ErrorEvent\n ) {\n var event = new window.ErrorEvent(\"error\", {\n bubbles: !0,\n cancelable: !0,\n message:\n \"object\" === typeof error &&\n null !== error &&\n \"string\" === typeof error.message\n ? String(error.message)\n : String(error),\n error: error\n });\n if (!window.dispatchEvent(event)) return;\n } else if (\n \"object\" === typeof process &&\n \"function\" === typeof process.emit\n ) {\n process.emit(\"uncaughtException\", error);\n return;\n }\n console.error(error);\n },\n concurrentQueues = [],\n concurrentQueuesIndex = 0,\n concurrentlyUpdatedLanes = 0;\nfunction finishQueueingConcurrentUpdates() {\n for (\n var endIndex = concurrentQueuesIndex,\n i = (concurrentlyUpdatedLanes = concurrentQueuesIndex = 0);\n i < endIndex;\n\n ) {\n var fiber = concurrentQueues[i];\n concurrentQueues[i++] = null;\n var queue = concurrentQueues[i];\n concurrentQueues[i++] = null;\n var update = concurrentQueues[i];\n concurrentQueues[i++] = null;\n var lane = concurrentQueues[i];\n concurrentQueues[i++] = null;\n if (null !== queue && null !== update) {\n var pending = queue.pending;\n null === pending\n ? (update.next = update)\n : ((update.next = pending.next), (pending.next = update));\n queue.pending = update;\n }\n 0 !== lane && markUpdateLaneFromFiberToRoot(fiber, update, lane);\n }\n}\nfunction enqueueUpdate$1(fiber, queue, update, lane) {\n concurrentQueues[concurrentQueuesIndex++] = fiber;\n concurrentQueues[concurrentQueuesIndex++] = queue;\n concurrentQueues[concurrentQueuesIndex++] = update;\n concurrentQueues[concurrentQueuesIndex++] = lane;\n concurrentlyUpdatedLanes |= lane;\n fiber.lanes |= lane;\n fiber = fiber.alternate;\n null !== fiber && (fiber.lanes |= lane);\n}\nfunction enqueueConcurrentHookUpdate(fiber, queue, update, lane) {\n enqueueUpdate$1(fiber, queue, update, lane);\n return getRootForUpdatedFiber(fiber);\n}\nfunction enqueueConcurrentRenderForLane(fiber, lane) {\n enqueueUpdate$1(fiber, null, null, lane);\n return getRootForUpdatedFiber(fiber);\n}\nfunction markUpdateLaneFromFiberToRoot(sourceFiber, update, lane) {\n sourceFiber.lanes |= lane;\n var alternate = sourceFiber.alternate;\n null !== alternate && (alternate.lanes |= lane);\n for (var isHidden = !1, parent = sourceFiber.return; null !== parent; )\n (parent.childLanes |= lane),\n (alternate = parent.alternate),\n null !== alternate && (alternate.childLanes |= lane),\n 22 === parent.tag &&\n ((sourceFiber = parent.stateNode),\n null === sourceFiber || sourceFiber._visibility & 1 || (isHidden = !0)),\n (sourceFiber = parent),\n (parent = parent.return);\n return 3 === sourceFiber.tag\n ? ((parent = sourceFiber.stateNode),\n isHidden &&\n null !== update &&\n ((isHidden = 31 - clz32(lane)),\n (sourceFiber = parent.hiddenUpdates),\n (alternate = sourceFiber[isHidden]),\n null === alternate\n ? (sourceFiber[isHidden] = [update])\n : alternate.push(update),\n (update.lane = lane | 536870912)),\n parent)\n : null;\n}\nfunction getRootForUpdatedFiber(sourceFiber) {\n if (50 < nestedUpdateCount)\n throw (\n ((nestedUpdateCount = 0),\n (rootWithNestedUpdates = null),\n Error(formatProdErrorMessage(185)))\n );\n for (var parent = sourceFiber.return; null !== parent; )\n (sourceFiber = parent), (parent = sourceFiber.return);\n return 3 === sourceFiber.tag ? sourceFiber.stateNode : null;\n}\nvar emptyContextObject = {};\nfunction FiberNode(tag, pendingProps, key, mode) {\n this.tag = tag;\n this.key = key;\n this.sibling =\n this.child =\n this.return =\n this.stateNode =\n this.type =\n this.elementType =\n null;\n this.index = 0;\n this.refCleanup = this.ref = null;\n this.pendingProps = pendingProps;\n this.dependencies =\n this.memoizedState =\n this.updateQueue =\n this.memoizedProps =\n null;\n this.mode = mode;\n this.subtreeFlags = this.flags = 0;\n this.deletions = null;\n this.childLanes = this.lanes = 0;\n this.alternate = null;\n}\nfunction createFiberImplClass(tag, pendingProps, key, mode) {\n return new FiberNode(tag, pendingProps, key, mode);\n}\nfunction shouldConstruct(Component) {\n Component = Component.prototype;\n return !(!Component || !Component.isReactComponent);\n}\nfunction createWorkInProgress(current, pendingProps) {\n var workInProgress = current.alternate;\n null === workInProgress\n ? ((workInProgress = createFiberImplClass(\n current.tag,\n pendingProps,\n current.key,\n current.mode\n )),\n (workInProgress.elementType = current.elementType),\n (workInProgress.type = current.type),\n (workInProgress.stateNode = current.stateNode),\n (workInProgress.alternate = current),\n (current.alternate = workInProgress))\n : ((workInProgress.pendingProps = pendingProps),\n (workInProgress.type = current.type),\n (workInProgress.flags = 0),\n (workInProgress.subtreeFlags = 0),\n (workInProgress.deletions = null));\n workInProgress.flags = current.flags & 65011712;\n workInProgress.childLanes = current.childLanes;\n workInProgress.lanes = current.lanes;\n workInProgress.child = current.child;\n workInProgress.memoizedProps = current.memoizedProps;\n workInProgress.memoizedState = current.memoizedState;\n workInProgress.updateQueue = current.updateQueue;\n pendingProps = current.dependencies;\n workInProgress.dependencies =\n null === pendingProps\n ? null\n : { lanes: pendingProps.lanes, firstContext: pendingProps.firstContext };\n workInProgress.sibling = current.sibling;\n workInProgress.index = current.index;\n workInProgress.ref = current.ref;\n workInProgress.refCleanup = current.refCleanup;\n return workInProgress;\n}\nfunction resetWorkInProgress(workInProgress, renderLanes) {\n workInProgress.flags &= 65011714;\n var current = workInProgress.alternate;\n null === current\n ? ((workInProgress.childLanes = 0),\n (workInProgress.lanes = renderLanes),\n (workInProgress.child = null),\n (workInProgress.subtreeFlags = 0),\n (workInProgress.memoizedProps = null),\n (workInProgress.memoizedState = null),\n (workInProgress.updateQueue = null),\n (workInProgress.dependencies = null),\n (workInProgress.stateNode = null))\n : ((workInProgress.childLanes = current.childLanes),\n (workInProgress.lanes = current.lanes),\n (workInProgress.child = current.child),\n (workInProgress.subtreeFlags = 0),\n (workInProgress.deletions = null),\n (workInProgress.memoizedProps = current.memoizedProps),\n (workInProgress.memoizedState = current.memoizedState),\n (workInProgress.updateQueue = current.updateQueue),\n (workInProgress.type = current.type),\n (renderLanes = current.dependencies),\n (workInProgress.dependencies =\n null === renderLanes\n ? null\n : {\n lanes: renderLanes.lanes,\n firstContext: renderLanes.firstContext\n }));\n return workInProgress;\n}\nfunction createFiberFromTypeAndProps(\n type,\n key,\n pendingProps,\n owner,\n mode,\n lanes\n) {\n var fiberTag = 0;\n owner = type;\n if (\"function\" === typeof type) shouldConstruct(type) && (fiberTag = 1);\n else if (\"string\" === typeof type)\n fiberTag = isHostHoistableType(\n type,\n pendingProps,\n contextStackCursor.current\n )\n ? 26\n : \"html\" === type || \"head\" === type || \"body\" === type\n ? 27\n : 5;\n else\n a: switch (type) {\n case REACT_ACTIVITY_TYPE:\n return (\n (type = createFiberImplClass(31, pendingProps, key, mode)),\n (type.elementType = REACT_ACTIVITY_TYPE),\n (type.lanes = lanes),\n type\n );\n case REACT_FRAGMENT_TYPE:\n return createFiberFromFragment(pendingProps.children, mode, lanes, key);\n case REACT_STRICT_MODE_TYPE:\n fiberTag = 8;\n mode |= 24;\n break;\n case REACT_PROFILER_TYPE:\n return (\n (type = createFiberImplClass(12, pendingProps, key, mode | 2)),\n (type.elementType = REACT_PROFILER_TYPE),\n (type.lanes = lanes),\n type\n );\n case REACT_SUSPENSE_TYPE:\n return (\n (type = createFiberImplClass(13, pendingProps, key, mode)),\n (type.elementType = REACT_SUSPENSE_TYPE),\n (type.lanes = lanes),\n type\n );\n case REACT_SUSPENSE_LIST_TYPE:\n return (\n (type = createFiberImplClass(19, pendingProps, key, mode)),\n (type.elementType = REACT_SUSPENSE_LIST_TYPE),\n (type.lanes = lanes),\n type\n );\n default:\n if (\"object\" === typeof type && null !== type)\n switch (type.$$typeof) {\n case REACT_CONTEXT_TYPE:\n fiberTag = 10;\n break a;\n case REACT_CONSUMER_TYPE:\n fiberTag = 9;\n break a;\n case REACT_FORWARD_REF_TYPE:\n fiberTag = 11;\n break a;\n case REACT_MEMO_TYPE:\n fiberTag = 14;\n break a;\n case REACT_LAZY_TYPE:\n fiberTag = 16;\n owner = null;\n break a;\n }\n fiberTag = 29;\n pendingProps = Error(\n formatProdErrorMessage(130, null === type ? \"null\" : typeof type, \"\")\n );\n owner = null;\n }\n key = createFiberImplClass(fiberTag, pendingProps, key, mode);\n key.elementType = type;\n key.type = owner;\n key.lanes = lanes;\n return key;\n}\nfunction createFiberFromFragment(elements, mode, lanes, key) {\n elements = createFiberImplClass(7, elements, key, mode);\n elements.lanes = lanes;\n return elements;\n}\nfunction createFiberFromText(content, mode, lanes) {\n content = createFiberImplClass(6, content, null, mode);\n content.lanes = lanes;\n return content;\n}\nfunction createFiberFromDehydratedFragment(dehydratedNode) {\n var fiber = createFiberImplClass(18, null, null, 0);\n fiber.stateNode = dehydratedNode;\n return fiber;\n}\nfunction createFiberFromPortal(portal, mode, lanes) {\n mode = createFiberImplClass(\n 4,\n null !== portal.children ? portal.children : [],\n portal.key,\n mode\n );\n mode.lanes = lanes;\n mode.stateNode = {\n containerInfo: portal.containerInfo,\n pendingChildren: null,\n implementation: portal.implementation\n };\n return mode;\n}\nvar CapturedStacks = new WeakMap();\nfunction createCapturedValueAtFiber(value, source) {\n if (\"object\" === typeof value && null !== value) {\n var existing = CapturedStacks.get(value);\n if (void 0 !== existing) return existing;\n source = {\n value: value,\n source: source,\n stack: getStackByFiberInDevAndProd(source)\n };\n CapturedStacks.set(value, source);\n return source;\n }\n return {\n value: value,\n source: source,\n stack: getStackByFiberInDevAndProd(source)\n };\n}\nvar forkStack = [],\n forkStackIndex = 0,\n treeForkProvider = null,\n treeForkCount = 0,\n idStack = [],\n idStackIndex = 0,\n treeContextProvider = null,\n treeContextId = 1,\n treeContextOverflow = \"\";\nfunction pushTreeFork(workInProgress, totalChildren) {\n forkStack[forkStackIndex++] = treeForkCount;\n forkStack[forkStackIndex++] = treeForkProvider;\n treeForkProvider = workInProgress;\n treeForkCount = totalChildren;\n}\nfunction pushTreeId(workInProgress, totalChildren, index) {\n idStack[idStackIndex++] = treeContextId;\n idStack[idStackIndex++] = treeContextOverflow;\n idStack[idStackIndex++] = treeContextProvider;\n treeContextProvider = workInProgress;\n var baseIdWithLeadingBit = treeContextId;\n workInProgress = treeContextOverflow;\n var baseLength = 32 - clz32(baseIdWithLeadingBit) - 1;\n baseIdWithLeadingBit &= ~(1 << baseLength);\n index += 1;\n var length = 32 - clz32(totalChildren) + baseLength;\n if (30 < length) {\n var numberOfOverflowBits = baseLength - (baseLength % 5);\n length = (\n baseIdWithLeadingBit &\n ((1 << numberOfOverflowBits) - 1)\n ).toString(32);\n baseIdWithLeadingBit >>= numberOfOverflowBits;\n baseLength -= numberOfOverflowBits;\n treeContextId =\n (1 << (32 - clz32(totalChildren) + baseLength)) |\n (index << baseLength) |\n baseIdWithLeadingBit;\n treeContextOverflow = length + workInProgress;\n } else\n (treeContextId =\n (1 << length) | (index << baseLength) | baseIdWithLeadingBit),\n (treeContextOverflow = workInProgress);\n}\nfunction pushMaterializedTreeId(workInProgress) {\n null !== workInProgress.return &&\n (pushTreeFork(workInProgress, 1), pushTreeId(workInProgress, 1, 0));\n}\nfunction popTreeContext(workInProgress) {\n for (; workInProgress === treeForkProvider; )\n (treeForkProvider = forkStack[--forkStackIndex]),\n (forkStack[forkStackIndex] = null),\n (treeForkCount = forkStack[--forkStackIndex]),\n (forkStack[forkStackIndex] = null);\n for (; workInProgress === treeContextProvider; )\n (treeContextProvider = idStack[--idStackIndex]),\n (idStack[idStackIndex] = null),\n (treeContextOverflow = idStack[--idStackIndex]),\n (idStack[idStackIndex] = null),\n (treeContextId = idStack[--idStackIndex]),\n (idStack[idStackIndex] = null);\n}\nfunction restoreSuspendedTreeContext(workInProgress, suspendedContext) {\n idStack[idStackIndex++] = treeContextId;\n idStack[idStackIndex++] = treeContextOverflow;\n idStack[idStackIndex++] = treeContextProvider;\n treeContextId = suspendedContext.id;\n treeContextOverflow = suspendedContext.overflow;\n treeContextProvider = workInProgress;\n}\nvar hydrationParentFiber = null,\n nextHydratableInstance = null,\n isHydrating = !1,\n hydrationErrors = null,\n rootOrSingletonContext = !1,\n HydrationMismatchException = Error(formatProdErrorMessage(519));\nfunction throwOnHydrationMismatch(fiber) {\n var error = Error(\n formatProdErrorMessage(\n 418,\n 1 < arguments.length && void 0 !== arguments[1] && arguments[1]\n ? \"text\"\n : \"HTML\",\n \"\"\n )\n );\n queueHydrationError(createCapturedValueAtFiber(error, fiber));\n throw HydrationMismatchException;\n}\nfunction prepareToHydrateHostInstance(fiber) {\n var instance = fiber.stateNode,\n type = fiber.type,\n props = fiber.memoizedProps;\n instance[internalInstanceKey] = fiber;\n instance[internalPropsKey] = props;\n switch (type) {\n case \"dialog\":\n listenToNonDelegatedEvent(\"cancel\", instance);\n listenToNonDelegatedEvent(\"close\", instance);\n break;\n case \"iframe\":\n case \"object\":\n case \"embed\":\n listenToNonDelegatedEvent(\"load\", instance);\n break;\n case \"video\":\n case \"audio\":\n for (type = 0; type < mediaEventTypes.length; type++)\n listenToNonDelegatedEvent(mediaEventTypes[type], instance);\n break;\n case \"source\":\n listenToNonDelegatedEvent(\"error\", instance);\n break;\n case \"img\":\n case \"image\":\n case \"link\":\n listenToNonDelegatedEvent(\"error\", instance);\n listenToNonDelegatedEvent(\"load\", instance);\n break;\n case \"details\":\n listenToNonDelegatedEvent(\"toggle\", instance);\n break;\n case \"input\":\n listenToNonDelegatedEvent(\"invalid\", instance);\n initInput(\n instance,\n props.value,\n props.defaultValue,\n props.checked,\n props.defaultChecked,\n props.type,\n props.name,\n !0\n );\n break;\n case \"select\":\n listenToNonDelegatedEvent(\"invalid\", instance);\n break;\n case \"textarea\":\n listenToNonDelegatedEvent(\"invalid\", instance),\n initTextarea(instance, props.value, props.defaultValue, props.children);\n }\n type = props.children;\n (\"string\" !== typeof type &&\n \"number\" !== typeof type &&\n \"bigint\" !== typeof type) ||\n instance.textContent === \"\" + type ||\n !0 === props.suppressHydrationWarning ||\n checkForUnmatchedText(instance.textContent, type)\n ? (null != props.popover &&\n (listenToNonDelegatedEvent(\"beforetoggle\", instance),\n listenToNonDelegatedEvent(\"toggle\", instance)),\n null != props.onScroll && listenToNonDelegatedEvent(\"scroll\", instance),\n null != props.onScrollEnd &&\n listenToNonDelegatedEvent(\"scrollend\", instance),\n null != props.onClick && (instance.onclick = noop$1),\n (instance = !0))\n : (instance = !1);\n instance || throwOnHydrationMismatch(fiber, !0);\n}\nfunction popToNextHostParent(fiber) {\n for (hydrationParentFiber = fiber.return; hydrationParentFiber; )\n switch (hydrationParentFiber.tag) {\n case 5:\n case 31:\n case 13:\n rootOrSingletonContext = !1;\n return;\n case 27:\n case 3:\n rootOrSingletonContext = !0;\n return;\n default:\n hydrationParentFiber = hydrationParentFiber.return;\n }\n}\nfunction popHydrationState(fiber) {\n if (fiber !== hydrationParentFiber) return !1;\n if (!isHydrating) return popToNextHostParent(fiber), (isHydrating = !0), !1;\n var tag = fiber.tag,\n JSCompiler_temp;\n if ((JSCompiler_temp = 3 !== tag && 27 !== tag)) {\n if ((JSCompiler_temp = 5 === tag))\n (JSCompiler_temp = fiber.type),\n (JSCompiler_temp =\n !(\"form\" !== JSCompiler_temp && \"button\" !== JSCompiler_temp) ||\n shouldSetTextContent(fiber.type, fiber.memoizedProps));\n JSCompiler_temp = !JSCompiler_temp;\n }\n JSCompiler_temp && nextHydratableInstance && throwOnHydrationMismatch(fiber);\n popToNextHostParent(fiber);\n if (13 === tag) {\n fiber = fiber.memoizedState;\n fiber = null !== fiber ? fiber.dehydrated : null;\n if (!fiber) throw Error(formatProdErrorMessage(317));\n nextHydratableInstance =\n getNextHydratableInstanceAfterHydrationBoundary(fiber);\n } else if (31 === tag) {\n fiber = fiber.memoizedState;\n fiber = null !== fiber ? fiber.dehydrated : null;\n if (!fiber) throw Error(formatProdErrorMessage(317));\n nextHydratableInstance =\n getNextHydratableInstanceAfterHydrationBoundary(fiber);\n } else\n 27 === tag\n ? ((tag = nextHydratableInstance),\n isSingletonScope(fiber.type)\n ? ((fiber = previousHydratableOnEnteringScopedSingleton),\n (previousHydratableOnEnteringScopedSingleton = null),\n (nextHydratableInstance = fiber))\n : (nextHydratableInstance = tag))\n : (nextHydratableInstance = hydrationParentFiber\n ? getNextHydratable(fiber.stateNode.nextSibling)\n : null);\n return !0;\n}\nfunction resetHydrationState() {\n nextHydratableInstance = hydrationParentFiber = null;\n isHydrating = !1;\n}\nfunction upgradeHydrationErrorsToRecoverable() {\n var queuedErrors = hydrationErrors;\n null !== queuedErrors &&\n (null === workInProgressRootRecoverableErrors\n ? (workInProgressRootRecoverableErrors = queuedErrors)\n : workInProgressRootRecoverableErrors.push.apply(\n workInProgressRootRecoverableErrors,\n queuedErrors\n ),\n (hydrationErrors = null));\n return queuedErrors;\n}\nfunction queueHydrationError(error) {\n null === hydrationErrors\n ? (hydrationErrors = [error])\n : hydrationErrors.push(error);\n}\nvar valueCursor = createCursor(null),\n currentlyRenderingFiber$1 = null,\n lastContextDependency = null;\nfunction pushProvider(providerFiber, context, nextValue) {\n push(valueCursor, context._currentValue);\n context._currentValue = nextValue;\n}\nfunction popProvider(context) {\n context._currentValue = valueCursor.current;\n pop(valueCursor);\n}\nfunction scheduleContextWorkOnParentPath(parent, renderLanes, propagationRoot) {\n for (; null !== parent; ) {\n var alternate = parent.alternate;\n (parent.childLanes & renderLanes) !== renderLanes\n ? ((parent.childLanes |= renderLanes),\n null !== alternate && (alternate.childLanes |= renderLanes))\n : null !== alternate &&\n (alternate.childLanes & renderLanes) !== renderLanes &&\n (alternate.childLanes |= renderLanes);\n if (parent === propagationRoot) break;\n parent = parent.return;\n }\n}\nfunction propagateContextChanges(\n workInProgress,\n contexts,\n renderLanes,\n forcePropagateEntireTree\n) {\n var fiber = workInProgress.child;\n null !== fiber && (fiber.return = workInProgress);\n for (; null !== fiber; ) {\n var list = fiber.dependencies;\n if (null !== list) {\n var nextFiber = fiber.child;\n list = list.firstContext;\n a: for (; null !== list; ) {\n var dependency = list;\n list = fiber;\n for (var i = 0; i < contexts.length; i++)\n if (dependency.context === contexts[i]) {\n list.lanes |= renderLanes;\n dependency = list.alternate;\n null !== dependency && (dependency.lanes |= renderLanes);\n scheduleContextWorkOnParentPath(\n list.return,\n renderLanes,\n workInProgress\n );\n forcePropagateEntireTree || (nextFiber = null);\n break a;\n }\n list = dependency.next;\n }\n } else if (18 === fiber.tag) {\n nextFiber = fiber.return;\n if (null === nextFiber) throw Error(formatProdErrorMessage(341));\n nextFiber.lanes |= renderLanes;\n list = nextFiber.alternate;\n null !== list && (list.lanes |= renderLanes);\n scheduleContextWorkOnParentPath(nextFiber, renderLanes, workInProgress);\n nextFiber = null;\n } else nextFiber = fiber.child;\n if (null !== nextFiber) nextFiber.return = fiber;\n else\n for (nextFiber = fiber; null !== nextFiber; ) {\n if (nextFiber === workInProgress) {\n nextFiber = null;\n break;\n }\n fiber = nextFiber.sibling;\n if (null !== fiber) {\n fiber.return = nextFiber.return;\n nextFiber = fiber;\n break;\n }\n nextFiber = nextFiber.return;\n }\n fiber = nextFiber;\n }\n}\nfunction propagateParentContextChanges(\n current,\n workInProgress,\n renderLanes,\n forcePropagateEntireTree\n) {\n current = null;\n for (\n var parent = workInProgress, isInsidePropagationBailout = !1;\n null !== parent;\n\n ) {\n if (!isInsidePropagationBailout)\n if (0 !== (parent.flags & 524288)) isInsidePropagationBailout = !0;\n else if (0 !== (parent.flags & 262144)) break;\n if (10 === parent.tag) {\n var currentParent = parent.alternate;\n if (null === currentParent) throw Error(formatProdErrorMessage(387));\n currentParent = currentParent.memoizedProps;\n if (null !== currentParent) {\n var context = parent.type;\n objectIs(parent.pendingProps.value, currentParent.value) ||\n (null !== current ? current.push(context) : (current = [context]));\n }\n } else if (parent === hostTransitionProviderCursor.current) {\n currentParent = parent.alternate;\n if (null === currentParent) throw Error(formatProdErrorMessage(387));\n currentParent.memoizedState.memoizedState !==\n parent.memoizedState.memoizedState &&\n (null !== current\n ? current.push(HostTransitionContext)\n : (current = [HostTransitionContext]));\n }\n parent = parent.return;\n }\n null !== current &&\n propagateContextChanges(\n workInProgress,\n current,\n renderLanes,\n forcePropagateEntireTree\n );\n workInProgress.flags |= 262144;\n}\nfunction checkIfContextChanged(currentDependencies) {\n for (\n currentDependencies = currentDependencies.firstContext;\n null !== currentDependencies;\n\n ) {\n if (\n !objectIs(\n currentDependencies.context._currentValue,\n currentDependencies.memoizedValue\n )\n )\n return !0;\n currentDependencies = currentDependencies.next;\n }\n return !1;\n}\nfunction prepareToReadContext(workInProgress) {\n currentlyRenderingFiber$1 = workInProgress;\n lastContextDependency = null;\n workInProgress = workInProgress.dependencies;\n null !== workInProgress && (workInProgress.firstContext = null);\n}\nfunction readContext(context) {\n return readContextForConsumer(currentlyRenderingFiber$1, context);\n}\nfunction readContextDuringReconciliation(consumer, context) {\n null === currentlyRenderingFiber$1 && prepareToReadContext(consumer);\n return readContextForConsumer(consumer, context);\n}\nfunction readContextForConsumer(consumer, context) {\n var value = context._currentValue;\n context = { context: context, memoizedValue: value, next: null };\n if (null === lastContextDependency) {\n if (null === consumer) throw Error(formatProdErrorMessage(308));\n lastContextDependency = context;\n consumer.dependencies = { lanes: 0, firstContext: context };\n consumer.flags |= 524288;\n } else lastContextDependency = lastContextDependency.next = context;\n return value;\n}\nvar AbortControllerLocal =\n \"undefined\" !== typeof AbortController\n ? AbortController\n : function () {\n var listeners = [],\n signal = (this.signal = {\n aborted: !1,\n addEventListener: function (type, listener) {\n listeners.push(listener);\n }\n });\n this.abort = function () {\n signal.aborted = !0;\n listeners.forEach(function (listener) {\n return listener();\n });\n };\n },\n scheduleCallback$2 = Scheduler.unstable_scheduleCallback,\n NormalPriority = Scheduler.unstable_NormalPriority,\n CacheContext = {\n $$typeof: REACT_CONTEXT_TYPE,\n Consumer: null,\n Provider: null,\n _currentValue: null,\n _currentValue2: null,\n _threadCount: 0\n };\nfunction createCache() {\n return {\n controller: new AbortControllerLocal(),\n data: new Map(),\n refCount: 0\n };\n}\nfunction releaseCache(cache) {\n cache.refCount--;\n 0 === cache.refCount &&\n scheduleCallback$2(NormalPriority, function () {\n cache.controller.abort();\n });\n}\nvar currentEntangledListeners = null,\n currentEntangledPendingCount = 0,\n currentEntangledLane = 0,\n currentEntangledActionThenable = null;\nfunction entangleAsyncAction(transition, thenable) {\n if (null === currentEntangledListeners) {\n var entangledListeners = (currentEntangledListeners = []);\n currentEntangledPendingCount = 0;\n currentEntangledLane = requestTransitionLane();\n currentEntangledActionThenable = {\n status: \"pending\",\n value: void 0,\n then: function (resolve) {\n entangledListeners.push(resolve);\n }\n };\n }\n currentEntangledPendingCount++;\n thenable.then(pingEngtangledActionScope, pingEngtangledActionScope);\n return thenable;\n}\nfunction pingEngtangledActionScope() {\n if (\n 0 === --currentEntangledPendingCount &&\n null !== currentEntangledListeners\n ) {\n null !== currentEntangledActionThenable &&\n (currentEntangledActionThenable.status = \"fulfilled\");\n var listeners = currentEntangledListeners;\n currentEntangledListeners = null;\n currentEntangledLane = 0;\n currentEntangledActionThenable = null;\n for (var i = 0; i < listeners.length; i++) (0, listeners[i])();\n }\n}\nfunction chainThenableValue(thenable, result) {\n var listeners = [],\n thenableWithOverride = {\n status: \"pending\",\n value: null,\n reason: null,\n then: function (resolve) {\n listeners.push(resolve);\n }\n };\n thenable.then(\n function () {\n thenableWithOverride.status = \"fulfilled\";\n thenableWithOverride.value = result;\n for (var i = 0; i < listeners.length; i++) (0, listeners[i])(result);\n },\n function (error) {\n thenableWithOverride.status = \"rejected\";\n thenableWithOverride.reason = error;\n for (error = 0; error < listeners.length; error++)\n (0, listeners[error])(void 0);\n }\n );\n return thenableWithOverride;\n}\nvar prevOnStartTransitionFinish = ReactSharedInternals.S;\nReactSharedInternals.S = function (transition, returnValue) {\n globalMostRecentTransitionTime = now();\n \"object\" === typeof returnValue &&\n null !== returnValue &&\n \"function\" === typeof returnValue.then &&\n entangleAsyncAction(transition, returnValue);\n null !== prevOnStartTransitionFinish &&\n prevOnStartTransitionFinish(transition, returnValue);\n};\nvar resumedCache = createCursor(null);\nfunction peekCacheFromPool() {\n var cacheResumedFromPreviousRender = resumedCache.current;\n return null !== cacheResumedFromPreviousRender\n ? cacheResumedFromPreviousRender\n : workInProgressRoot.pooledCache;\n}\nfunction pushTransition(offscreenWorkInProgress, prevCachePool) {\n null === prevCachePool\n ? push(resumedCache, resumedCache.current)\n : push(resumedCache, prevCachePool.pool);\n}\nfunction getSuspendedCache() {\n var cacheFromPool = peekCacheFromPool();\n return null === cacheFromPool\n ? null\n : { parent: CacheContext._currentValue, pool: cacheFromPool };\n}\nvar SuspenseException = Error(formatProdErrorMessage(460)),\n SuspenseyCommitException = Error(formatProdErrorMessage(474)),\n SuspenseActionException = Error(formatProdErrorMessage(542)),\n noopSuspenseyCommitThenable = { then: function () {} };\nfunction isThenableResolved(thenable) {\n thenable = thenable.status;\n return \"fulfilled\" === thenable || \"rejected\" === thenable;\n}\nfunction trackUsedThenable(thenableState, thenable, index) {\n index = thenableState[index];\n void 0 === index\n ? thenableState.push(thenable)\n : index !== thenable && (thenable.then(noop$1, noop$1), (thenable = index));\n switch (thenable.status) {\n case \"fulfilled\":\n return thenable.value;\n case \"rejected\":\n throw (\n ((thenableState = thenable.reason),\n checkIfUseWrappedInAsyncCatch(thenableState),\n thenableState)\n );\n default:\n if (\"string\" === typeof thenable.status) thenable.then(noop$1, noop$1);\n else {\n thenableState = workInProgressRoot;\n if (null !== thenableState && 100 < thenableState.shellSuspendCounter)\n throw Error(formatProdErrorMessage(482));\n thenableState = thenable;\n thenableState.status = \"pending\";\n thenableState.then(\n function (fulfilledValue) {\n if (\"pending\" === thenable.status) {\n var fulfilledThenable = thenable;\n fulfilledThenable.status = \"fulfilled\";\n fulfilledThenable.value = fulfilledValue;\n }\n },\n function (error) {\n if (\"pending\" === thenable.status) {\n var rejectedThenable = thenable;\n rejectedThenable.status = \"rejected\";\n rejectedThenable.reason = error;\n }\n }\n );\n }\n switch (thenable.status) {\n case \"fulfilled\":\n return thenable.value;\n case \"rejected\":\n throw (\n ((thenableState = thenable.reason),\n checkIfUseWrappedInAsyncCatch(thenableState),\n thenableState)\n );\n }\n suspendedThenable = thenable;\n throw SuspenseException;\n }\n}\nfunction resolveLazy(lazyType) {\n try {\n var init = lazyType._init;\n return init(lazyType._payload);\n } catch (x) {\n if (null !== x && \"object\" === typeof x && \"function\" === typeof x.then)\n throw ((suspendedThenable = x), SuspenseException);\n throw x;\n }\n}\nvar suspendedThenable = null;\nfunction getSuspendedThenable() {\n if (null === suspendedThenable) throw Error(formatProdErrorMessage(459));\n var thenable = suspendedThenable;\n suspendedThenable = null;\n return thenable;\n}\nfunction checkIfUseWrappedInAsyncCatch(rejectedReason) {\n if (\n rejectedReason === SuspenseException ||\n rejectedReason === SuspenseActionException\n )\n throw Error(formatProdErrorMessage(483));\n}\nvar thenableState$1 = null,\n thenableIndexCounter$1 = 0;\nfunction unwrapThenable(thenable) {\n var index = thenableIndexCounter$1;\n thenableIndexCounter$1 += 1;\n null === thenableState$1 && (thenableState$1 = []);\n return trackUsedThenable(thenableState$1, thenable, index);\n}\nfunction coerceRef(workInProgress, element) {\n element = element.props.ref;\n workInProgress.ref = void 0 !== element ? element : null;\n}\nfunction throwOnInvalidObjectTypeImpl(returnFiber, newChild) {\n if (newChild.$$typeof === REACT_LEGACY_ELEMENT_TYPE)\n throw Error(formatProdErrorMessage(525));\n returnFiber = Object.prototype.toString.call(newChild);\n throw Error(\n formatProdErrorMessage(\n 31,\n \"[object Object]\" === returnFiber\n ? \"object with keys {\" + Object.keys(newChild).join(\", \") + \"}\"\n : returnFiber\n )\n );\n}\nfunction createChildReconciler(shouldTrackSideEffects) {\n function deleteChild(returnFiber, childToDelete) {\n if (shouldTrackSideEffects) {\n var deletions = returnFiber.deletions;\n null === deletions\n ? ((returnFiber.deletions = [childToDelete]), (returnFiber.flags |= 16))\n : deletions.push(childToDelete);\n }\n }\n function deleteRemainingChildren(returnFiber, currentFirstChild) {\n if (!shouldTrackSideEffects) return null;\n for (; null !== currentFirstChild; )\n deleteChild(returnFiber, currentFirstChild),\n (currentFirstChild = currentFirstChild.sibling);\n return null;\n }\n function mapRemainingChildren(currentFirstChild) {\n for (var existingChildren = new Map(); null !== currentFirstChild; )\n null !== currentFirstChild.key\n ? existingChildren.set(currentFirstChild.key, currentFirstChild)\n : existingChildren.set(currentFirstChild.index, currentFirstChild),\n (currentFirstChild = currentFirstChild.sibling);\n return existingChildren;\n }\n function useFiber(fiber, pendingProps) {\n fiber = createWorkInProgress(fiber, pendingProps);\n fiber.index = 0;\n fiber.sibling = null;\n return fiber;\n }\n function placeChild(newFiber, lastPlacedIndex, newIndex) {\n newFiber.index = newIndex;\n if (!shouldTrackSideEffects)\n return (newFiber.flags |= 1048576), lastPlacedIndex;\n newIndex = newFiber.alternate;\n if (null !== newIndex)\n return (\n (newIndex = newIndex.index),\n newIndex < lastPlacedIndex\n ? ((newFiber.flags |= 67108866), lastPlacedIndex)\n : newIndex\n );\n newFiber.flags |= 67108866;\n return lastPlacedIndex;\n }\n function placeSingleChild(newFiber) {\n shouldTrackSideEffects &&\n null === newFiber.alternate &&\n (newFiber.flags |= 67108866);\n return newFiber;\n }\n function updateTextNode(returnFiber, current, textContent, lanes) {\n if (null === current || 6 !== current.tag)\n return (\n (current = createFiberFromText(textContent, returnFiber.mode, lanes)),\n (current.return = returnFiber),\n current\n );\n current = useFiber(current, textContent);\n current.return = returnFiber;\n return current;\n }\n function updateElement(returnFiber, current, element, lanes) {\n var elementType = element.type;\n if (elementType === REACT_FRAGMENT_TYPE)\n return updateFragment(\n returnFiber,\n current,\n element.props.children,\n lanes,\n element.key\n );\n if (\n null !== current &&\n (current.elementType === elementType ||\n (\"object\" === typeof elementType &&\n null !== elementType &&\n elementType.$$typeof === REACT_LAZY_TYPE &&\n resolveLazy(elementType) === current.type))\n )\n return (\n (current = useFiber(current, element.props)),\n coerceRef(current, element),\n (current.return = returnFiber),\n current\n );\n current = createFiberFromTypeAndProps(\n element.type,\n element.key,\n element.props,\n null,\n returnFiber.mode,\n lanes\n );\n coerceRef(current, element);\n current.return = returnFiber;\n return current;\n }\n function updatePortal(returnFiber, current, portal, lanes) {\n if (\n null === current ||\n 4 !== current.tag ||\n current.stateNode.containerInfo !== portal.containerInfo ||\n current.stateNode.implementation !== portal.implementation\n )\n return (\n (current = createFiberFromPortal(portal, returnFiber.mode, lanes)),\n (current.return = returnFiber),\n current\n );\n current = useFiber(current, portal.children || []);\n current.return = returnFiber;\n return current;\n }\n function updateFragment(returnFiber, current, fragment, lanes, key) {\n if (null === current || 7 !== current.tag)\n return (\n (current = createFiberFromFragment(\n fragment,\n returnFiber.mode,\n lanes,\n key\n )),\n (current.return = returnFiber),\n current\n );\n current = useFiber(current, fragment);\n current.return = returnFiber;\n return current;\n }\n function createChild(returnFiber, newChild, lanes) {\n if (\n (\"string\" === typeof newChild && \"\" !== newChild) ||\n \"number\" === typeof newChild ||\n \"bigint\" === typeof newChild\n )\n return (\n (newChild = createFiberFromText(\n \"\" + newChild,\n returnFiber.mode,\n lanes\n )),\n (newChild.return = returnFiber),\n newChild\n );\n if (\"object\" === typeof newChild && null !== newChild) {\n switch (newChild.$$typeof) {\n case REACT_ELEMENT_TYPE:\n return (\n (lanes = createFiberFromTypeAndProps(\n newChild.type,\n newChild.key,\n newChild.props,\n null,\n returnFiber.mode,\n lanes\n )),\n coerceRef(lanes, newChild),\n (lanes.return = returnFiber),\n lanes\n );\n case REACT_PORTAL_TYPE:\n return (\n (newChild = createFiberFromPortal(\n newChild,\n returnFiber.mode,\n lanes\n )),\n (newChild.return = returnFiber),\n newChild\n );\n case REACT_LAZY_TYPE:\n return (\n (newChild = resolveLazy(newChild)),\n createChild(returnFiber, newChild, lanes)\n );\n }\n if (isArrayImpl(newChild) || getIteratorFn(newChild))\n return (\n (newChild = createFiberFromFragment(\n newChild,\n returnFiber.mode,\n lanes,\n null\n )),\n (newChild.return = returnFiber),\n newChild\n );\n if (\"function\" === typeof newChild.then)\n return createChild(returnFiber, unwrapThenable(newChild), lanes);\n if (newChild.$$typeof === REACT_CONTEXT_TYPE)\n return createChild(\n returnFiber,\n readContextDuringReconciliation(returnFiber, newChild),\n lanes\n );\n throwOnInvalidObjectTypeImpl(returnFiber, newChild);\n }\n return null;\n }\n function updateSlot(returnFiber, oldFiber, newChild, lanes) {\n var key = null !== oldFiber ? oldFiber.key : null;\n if (\n (\"string\" === typeof newChild && \"\" !== newChild) ||\n \"number\" === typeof newChild ||\n \"bigint\" === typeof newChild\n )\n return null !== key\n ? null\n : updateTextNode(returnFiber, oldFiber, \"\" + newChild, lanes);\n if (\"object\" === typeof newChild && null !== newChild) {\n switch (newChild.$$typeof) {\n case REACT_ELEMENT_TYPE:\n return newChild.key === key\n ? updateElement(returnFiber, oldFiber, newChild, lanes)\n : null;\n case REACT_PORTAL_TYPE:\n return newChild.key === key\n ? updatePortal(returnFiber, oldFiber, newChild, lanes)\n : null;\n case REACT_LAZY_TYPE:\n return (\n (newChild = resolveLazy(newChild)),\n updateSlot(returnFiber, oldFiber, newChild, lanes)\n );\n }\n if (isArrayImpl(newChild) || getIteratorFn(newChild))\n return null !== key\n ? null\n : updateFragment(returnFiber, oldFiber, newChild, lanes, null);\n if (\"function\" === typeof newChild.then)\n return updateSlot(\n returnFiber,\n oldFiber,\n unwrapThenable(newChild),\n lanes\n );\n if (newChild.$$typeof === REACT_CONTEXT_TYPE)\n return updateSlot(\n returnFiber,\n oldFiber,\n readContextDuringReconciliation(returnFiber, newChild),\n lanes\n );\n throwOnInvalidObjectTypeImpl(returnFiber, newChild);\n }\n return null;\n }\n function updateFromMap(\n existingChildren,\n returnFiber,\n newIdx,\n newChild,\n lanes\n ) {\n if (\n (\"string\" === typeof newChild && \"\" !== newChild) ||\n \"number\" === typeof newChild ||\n \"bigint\" === typeof newChild\n )\n return (\n (existingChildren = existingChildren.get(newIdx) || null),\n updateTextNode(returnFiber, existingChildren, \"\" + newChild, lanes)\n );\n if (\"object\" === typeof newChild && null !== newChild) {\n switch (newChild.$$typeof) {\n case REACT_ELEMENT_TYPE:\n return (\n (existingChildren =\n existingChildren.get(\n null === newChild.key ? newIdx : newChild.key\n ) || null),\n updateElement(returnFiber, existingChildren, newChild, lanes)\n );\n case REACT_PORTAL_TYPE:\n return (\n (existingChildren =\n existingChildren.get(\n null === newChild.key ? newIdx : newChild.key\n ) || null),\n updatePortal(returnFiber, existingChildren, newChild, lanes)\n );\n case REACT_LAZY_TYPE:\n return (\n (newChild = resolveLazy(newChild)),\n updateFromMap(\n existingChildren,\n returnFiber,\n newIdx,\n newChild,\n lanes\n )\n );\n }\n if (isArrayImpl(newChild) || getIteratorFn(newChild))\n return (\n (existingChildren = existingChildren.get(newIdx) || null),\n updateFragment(returnFiber, existingChildren, newChild, lanes, null)\n );\n if (\"function\" === typeof newChild.then)\n return updateFromMap(\n existingChildren,\n returnFiber,\n newIdx,\n unwrapThenable(newChild),\n lanes\n );\n if (newChild.$$typeof === REACT_CONTEXT_TYPE)\n return updateFromMap(\n existingChildren,\n returnFiber,\n newIdx,\n readContextDuringReconciliation(returnFiber, newChild),\n lanes\n );\n throwOnInvalidObjectTypeImpl(returnFiber, newChild);\n }\n return null;\n }\n function reconcileChildrenArray(\n returnFiber,\n currentFirstChild,\n newChildren,\n lanes\n ) {\n for (\n var resultingFirstChild = null,\n previousNewFiber = null,\n oldFiber = currentFirstChild,\n newIdx = (currentFirstChild = 0),\n nextOldFiber = null;\n null !== oldFiber && newIdx < newChildren.length;\n newIdx++\n ) {\n oldFiber.index > newIdx\n ? ((nextOldFiber = oldFiber), (oldFiber = null))\n : (nextOldFiber = oldFiber.sibling);\n var newFiber = updateSlot(\n returnFiber,\n oldFiber,\n newChildren[newIdx],\n lanes\n );\n if (null === newFiber) {\n null === oldFiber && (oldFiber = nextOldFiber);\n break;\n }\n shouldTrackSideEffects &&\n oldFiber &&\n null === newFiber.alternate &&\n deleteChild(returnFiber, oldFiber);\n currentFirstChild = placeChild(newFiber, currentFirstChild, newIdx);\n null === previousNewFiber\n ? (resultingFirstChild = newFiber)\n : (previousNewFiber.sibling = newFiber);\n previousNewFiber = newFiber;\n oldFiber = nextOldFiber;\n }\n if (newIdx === newChildren.length)\n return (\n deleteRemainingChildren(returnFiber, oldFiber),\n isHydrating && pushTreeFork(returnFiber, newIdx),\n resultingFirstChild\n );\n if (null === oldFiber) {\n for (; newIdx < newChildren.length; newIdx++)\n (oldFiber = createChild(returnFiber, newChildren[newIdx], lanes)),\n null !== oldFiber &&\n ((currentFirstChild = placeChild(\n oldFiber,\n currentFirstChild,\n newIdx\n )),\n null === previousNewFiber\n ? (resultingFirstChild = oldFiber)\n : (previousNewFiber.sibling = oldFiber),\n (previousNewFiber = oldFiber));\n isHydrating && pushTreeFork(returnFiber, newIdx);\n return resultingFirstChild;\n }\n for (\n oldFiber = mapRemainingChildren(oldFiber);\n newIdx < newChildren.length;\n newIdx++\n )\n (nextOldFiber = updateFromMap(\n oldFiber,\n returnFiber,\n newIdx,\n newChildren[newIdx],\n lanes\n )),\n null !== nextOldFiber &&\n (shouldTrackSideEffects &&\n null !== nextOldFiber.alternate &&\n oldFiber.delete(\n null === nextOldFiber.key ? newIdx : nextOldFiber.key\n ),\n (currentFirstChild = placeChild(\n nextOldFiber,\n currentFirstChild,\n newIdx\n )),\n null === previousNewFiber\n ? (resultingFirstChild = nextOldFiber)\n : (previousNewFiber.sibling = nextOldFiber),\n (previousNewFiber = nextOldFiber));\n shouldTrackSideEffects &&\n oldFiber.forEach(function (child) {\n return deleteChild(returnFiber, child);\n });\n isHydrating && pushTreeFork(returnFiber, newIdx);\n return resultingFirstChild;\n }\n function reconcileChildrenIterator(\n returnFiber,\n currentFirstChild,\n newChildren,\n lanes\n ) {\n if (null == newChildren) throw Error(formatProdErrorMessage(151));\n for (\n var resultingFirstChild = null,\n previousNewFiber = null,\n oldFiber = currentFirstChild,\n newIdx = (currentFirstChild = 0),\n nextOldFiber = null,\n step = newChildren.next();\n null !== oldFiber && !step.done;\n newIdx++, step = newChildren.next()\n ) {\n oldFiber.index > newIdx\n ? ((nextOldFiber = oldFiber), (oldFiber = null))\n : (nextOldFiber = oldFiber.sibling);\n var newFiber = updateSlot(returnFiber, oldFiber, step.value, lanes);\n if (null === newFiber) {\n null === oldFiber && (oldFiber = nextOldFiber);\n break;\n }\n shouldTrackSideEffects &&\n oldFiber &&\n null === newFiber.alternate &&\n deleteChild(returnFiber, oldFiber);\n currentFirstChild = placeChild(newFiber, currentFirstChild, newIdx);\n null === previousNewFiber\n ? (resultingFirstChild = newFiber)\n : (previousNewFiber.sibling = newFiber);\n previousNewFiber = newFiber;\n oldFiber = nextOldFiber;\n }\n if (step.done)\n return (\n deleteRemainingChildren(returnFiber, oldFiber),\n isHydrating && pushTreeFork(returnFiber, newIdx),\n resultingFirstChild\n );\n if (null === oldFiber) {\n for (; !step.done; newIdx++, step = newChildren.next())\n (step = createChild(returnFiber, step.value, lanes)),\n null !== step &&\n ((currentFirstChild = placeChild(step, currentFirstChild, newIdx)),\n null === previousNewFiber\n ? (resultingFirstChild = step)\n : (previousNewFiber.sibling = step),\n (previousNewFiber = step));\n isHydrating && pushTreeFork(returnFiber, newIdx);\n return resultingFirstChild;\n }\n for (\n oldFiber = mapRemainingChildren(oldFiber);\n !step.done;\n newIdx++, step = newChildren.next()\n )\n (step = updateFromMap(oldFiber, returnFiber, newIdx, step.value, lanes)),\n null !== step &&\n (shouldTrackSideEffects &&\n null !== step.alternate &&\n oldFiber.delete(null === step.key ? newIdx : step.key),\n (currentFirstChild = placeChild(step, currentFirstChild, newIdx)),\n null === previousNewFiber\n ? (resultingFirstChild = step)\n : (previousNewFiber.sibling = step),\n (previousNewFiber = step));\n shouldTrackSideEffects &&\n oldFiber.forEach(function (child) {\n return deleteChild(returnFiber, child);\n });\n isHydrating && pushTreeFork(returnFiber, newIdx);\n return resultingFirstChild;\n }\n function reconcileChildFibersImpl(\n returnFiber,\n currentFirstChild,\n newChild,\n lanes\n ) {\n \"object\" === typeof newChild &&\n null !== newChild &&\n newChild.type === REACT_FRAGMENT_TYPE &&\n null === newChild.key &&\n (newChild = newChild.props.children);\n if (\"object\" === typeof newChild && null !== newChild) {\n switch (newChild.$$typeof) {\n case REACT_ELEMENT_TYPE:\n a: {\n for (var key = newChild.key; null !== currentFirstChild; ) {\n if (currentFirstChild.key === key) {\n key = newChild.type;\n if (key === REACT_FRAGMENT_TYPE) {\n if (7 === currentFirstChild.tag) {\n deleteRemainingChildren(\n returnFiber,\n currentFirstChild.sibling\n );\n lanes = useFiber(\n currentFirstChild,\n newChild.props.children\n );\n lanes.return = returnFiber;\n returnFiber = lanes;\n break a;\n }\n } else if (\n currentFirstChild.elementType === key ||\n (\"object\" === typeof key &&\n null !== key &&\n key.$$typeof === REACT_LAZY_TYPE &&\n resolveLazy(key) === currentFirstChild.type)\n ) {\n deleteRemainingChildren(\n returnFiber,\n currentFirstChild.sibling\n );\n lanes = useFiber(currentFirstChild, newChild.props);\n coerceRef(lanes, newChild);\n lanes.return = returnFiber;\n returnFiber = lanes;\n break a;\n }\n deleteRemainingChildren(returnFiber, currentFirstChild);\n break;\n } else deleteChild(returnFiber, currentFirstChild);\n currentFirstChild = currentFirstChild.sibling;\n }\n newChild.type === REACT_FRAGMENT_TYPE\n ? ((lanes = createFiberFromFragment(\n newChild.props.children,\n returnFiber.mode,\n lanes,\n newChild.key\n )),\n (lanes.return = returnFiber),\n (returnFiber = lanes))\n : ((lanes = createFiberFromTypeAndProps(\n newChild.type,\n newChild.key,\n newChild.props,\n null,\n returnFiber.mode,\n lanes\n )),\n coerceRef(lanes, newChild),\n (lanes.return = returnFiber),\n (returnFiber = lanes));\n }\n return placeSingleChild(returnFiber);\n case REACT_PORTAL_TYPE:\n a: {\n for (key = newChild.key; null !== currentFirstChild; ) {\n if (currentFirstChild.key === key)\n if (\n 4 === currentFirstChild.tag &&\n currentFirstChild.stateNode.containerInfo ===\n newChild.containerInfo &&\n currentFirstChild.stateNode.implementation ===\n newChild.implementation\n ) {\n deleteRemainingChildren(\n returnFiber,\n currentFirstChild.sibling\n );\n lanes = useFiber(currentFirstChild, newChild.children || []);\n lanes.return = returnFiber;\n returnFiber = lanes;\n break a;\n } else {\n deleteRemainingChildren(returnFiber, currentFirstChild);\n break;\n }\n else deleteChild(returnFiber, currentFirstChild);\n currentFirstChild = currentFirstChild.sibling;\n }\n lanes = createFiberFromPortal(newChild, returnFiber.mode, lanes);\n lanes.return = returnFiber;\n returnFiber = lanes;\n }\n return placeSingleChild(returnFiber);\n case REACT_LAZY_TYPE:\n return (\n (newChild = resolveLazy(newChild)),\n reconcileChildFibersImpl(\n returnFiber,\n currentFirstChild,\n newChild,\n lanes\n )\n );\n }\n if (isArrayImpl(newChild))\n return reconcileChildrenArray(\n returnFiber,\n currentFirstChild,\n newChild,\n lanes\n );\n if (getIteratorFn(newChild)) {\n key = getIteratorFn(newChild);\n if (\"function\" !== typeof key) throw Error(formatProdErrorMessage(150));\n newChild = key.call(newChild);\n return reconcileChildrenIterator(\n returnFiber,\n currentFirstChild,\n newChild,\n lanes\n );\n }\n if (\"function\" === typeof newChild.then)\n return reconcileChildFibersImpl(\n returnFiber,\n currentFirstChild,\n unwrapThenable(newChild),\n lanes\n );\n if (newChild.$$typeof === REACT_CONTEXT_TYPE)\n return reconcileChildFibersImpl(\n returnFiber,\n currentFirstChild,\n readContextDuringReconciliation(returnFiber, newChild),\n lanes\n );\n throwOnInvalidObjectTypeImpl(returnFiber, newChild);\n }\n return (\"string\" === typeof newChild && \"\" !== newChild) ||\n \"number\" === typeof newChild ||\n \"bigint\" === typeof newChild\n ? ((newChild = \"\" + newChild),\n null !== currentFirstChild && 6 === currentFirstChild.tag\n ? (deleteRemainingChildren(returnFiber, currentFirstChild.sibling),\n (lanes = useFiber(currentFirstChild, newChild)),\n (lanes.return = returnFiber),\n (returnFiber = lanes))\n : (deleteRemainingChildren(returnFiber, currentFirstChild),\n (lanes = createFiberFromText(newChild, returnFiber.mode, lanes)),\n (lanes.return = returnFiber),\n (returnFiber = lanes)),\n placeSingleChild(returnFiber))\n : deleteRemainingChildren(returnFiber, currentFirstChild);\n }\n return function (returnFiber, currentFirstChild, newChild, lanes) {\n try {\n thenableIndexCounter$1 = 0;\n var firstChildFiber = reconcileChildFibersImpl(\n returnFiber,\n currentFirstChild,\n newChild,\n lanes\n );\n thenableState$1 = null;\n return firstChildFiber;\n } catch (x) {\n if (x === SuspenseException || x === SuspenseActionException) throw x;\n var fiber = createFiberImplClass(29, x, null, returnFiber.mode);\n fiber.lanes = lanes;\n fiber.return = returnFiber;\n return fiber;\n } finally {\n }\n };\n}\nvar reconcileChildFibers = createChildReconciler(!0),\n mountChildFibers = createChildReconciler(!1),\n hasForceUpdate = !1;\nfunction initializeUpdateQueue(fiber) {\n fiber.updateQueue = {\n baseState: fiber.memoizedState,\n firstBaseUpdate: null,\n lastBaseUpdate: null,\n shared: { pending: null, lanes: 0, hiddenCallbacks: null },\n callbacks: null\n };\n}\nfunction cloneUpdateQueue(current, workInProgress) {\n current = current.updateQueue;\n workInProgress.updateQueue === current &&\n (workInProgress.updateQueue = {\n baseState: current.baseState,\n firstBaseUpdate: current.firstBaseUpdate,\n lastBaseUpdate: current.lastBaseUpdate,\n shared: current.shared,\n callbacks: null\n });\n}\nfunction createUpdate(lane) {\n return { lane: lane, tag: 0, payload: null, callback: null, next: null };\n}\nfunction enqueueUpdate(fiber, update, lane) {\n var updateQueue = fiber.updateQueue;\n if (null === updateQueue) return null;\n updateQueue = updateQueue.shared;\n if (0 !== (executionContext & 2)) {\n var pending = updateQueue.pending;\n null === pending\n ? (update.next = update)\n : ((update.next = pending.next), (pending.next = update));\n updateQueue.pending = update;\n update = getRootForUpdatedFiber(fiber);\n markUpdateLaneFromFiberToRoot(fiber, null, lane);\n return update;\n }\n enqueueUpdate$1(fiber, updateQueue, update, lane);\n return getRootForUpdatedFiber(fiber);\n}\nfunction entangleTransitions(root, fiber, lane) {\n fiber = fiber.updateQueue;\n if (null !== fiber && ((fiber = fiber.shared), 0 !== (lane & 4194048))) {\n var queueLanes = fiber.lanes;\n queueLanes &= root.pendingLanes;\n lane |= queueLanes;\n fiber.lanes = lane;\n markRootEntangled(root, lane);\n }\n}\nfunction enqueueCapturedUpdate(workInProgress, capturedUpdate) {\n var queue = workInProgress.updateQueue,\n current = workInProgress.alternate;\n if (\n null !== current &&\n ((current = current.updateQueue), queue === current)\n ) {\n var newFirst = null,\n newLast = null;\n queue = queue.firstBaseUpdate;\n if (null !== queue) {\n do {\n var clone = {\n lane: queue.lane,\n tag: queue.tag,\n payload: queue.payload,\n callback: null,\n next: null\n };\n null === newLast\n ? (newFirst = newLast = clone)\n : (newLast = newLast.next = clone);\n queue = queue.next;\n } while (null !== queue);\n null === newLast\n ? (newFirst = newLast = capturedUpdate)\n : (newLast = newLast.next = capturedUpdate);\n } else newFirst = newLast = capturedUpdate;\n queue = {\n baseState: current.baseState,\n firstBaseUpdate: newFirst,\n lastBaseUpdate: newLast,\n shared: current.shared,\n callbacks: current.callbacks\n };\n workInProgress.updateQueue = queue;\n return;\n }\n workInProgress = queue.lastBaseUpdate;\n null === workInProgress\n ? (queue.firstBaseUpdate = capturedUpdate)\n : (workInProgress.next = capturedUpdate);\n queue.lastBaseUpdate = capturedUpdate;\n}\nvar didReadFromEntangledAsyncAction = !1;\nfunction suspendIfUpdateReadFromEntangledAsyncAction() {\n if (didReadFromEntangledAsyncAction) {\n var entangledActionThenable = currentEntangledActionThenable;\n if (null !== entangledActionThenable) throw entangledActionThenable;\n }\n}\nfunction processUpdateQueue(\n workInProgress$jscomp$0,\n props,\n instance$jscomp$0,\n renderLanes\n) {\n didReadFromEntangledAsyncAction = !1;\n var queue = workInProgress$jscomp$0.updateQueue;\n hasForceUpdate = !1;\n var firstBaseUpdate = queue.firstBaseUpdate,\n lastBaseUpdate = queue.lastBaseUpdate,\n pendingQueue = queue.shared.pending;\n if (null !== pendingQueue) {\n queue.shared.pending = null;\n var lastPendingUpdate = pendingQueue,\n firstPendingUpdate = lastPendingUpdate.next;\n lastPendingUpdate.next = null;\n null === lastBaseUpdate\n ? (firstBaseUpdate = firstPendingUpdate)\n : (lastBaseUpdate.next = firstPendingUpdate);\n lastBaseUpdate = lastPendingUpdate;\n var current = workInProgress$jscomp$0.alternate;\n null !== current &&\n ((current = current.updateQueue),\n (pendingQueue = current.lastBaseUpdate),\n pendingQueue !== lastBaseUpdate &&\n (null === pendingQueue\n ? (current.firstBaseUpdate = firstPendingUpdate)\n : (pendingQueue.next = firstPendingUpdate),\n (current.lastBaseUpdate = lastPendingUpdate)));\n }\n if (null !== firstBaseUpdate) {\n var newState = queue.baseState;\n lastBaseUpdate = 0;\n current = firstPendingUpdate = lastPendingUpdate = null;\n pendingQueue = firstBaseUpdate;\n do {\n var updateLane = pendingQueue.lane & -536870913,\n isHiddenUpdate = updateLane !== pendingQueue.lane;\n if (\n isHiddenUpdate\n ? (workInProgressRootRenderLanes & updateLane) === updateLane\n : (renderLanes & updateLane) === updateLane\n ) {\n 0 !== updateLane &&\n updateLane === currentEntangledLane &&\n (didReadFromEntangledAsyncAction = !0);\n null !== current &&\n (current = current.next =\n {\n lane: 0,\n tag: pendingQueue.tag,\n payload: pendingQueue.payload,\n callback: null,\n next: null\n });\n a: {\n var workInProgress = workInProgress$jscomp$0,\n update = pendingQueue;\n updateLane = props;\n var instance = instance$jscomp$0;\n switch (update.tag) {\n case 1:\n workInProgress = update.payload;\n if (\"function\" === typeof workInProgress) {\n newState = workInProgress.call(instance, newState, updateLane);\n break a;\n }\n newState = workInProgress;\n break a;\n case 3:\n workInProgress.flags = (workInProgress.flags & -65537) | 128;\n case 0:\n workInProgress = update.payload;\n updateLane =\n \"function\" === typeof workInProgress\n ? workInProgress.call(instance, newState, updateLane)\n : workInProgress;\n if (null === updateLane || void 0 === updateLane) break a;\n newState = assign({}, newState, updateLane);\n break a;\n case 2:\n hasForceUpdate = !0;\n }\n }\n updateLane = pendingQueue.callback;\n null !== updateLane &&\n ((workInProgress$jscomp$0.flags |= 64),\n isHiddenUpdate && (workInProgress$jscomp$0.flags |= 8192),\n (isHiddenUpdate = queue.callbacks),\n null === isHiddenUpdate\n ? (queue.callbacks = [updateLane])\n : isHiddenUpdate.push(updateLane));\n } else\n (isHiddenUpdate = {\n lane: updateLane,\n tag: pendingQueue.tag,\n payload: pendingQueue.payload,\n callback: pendingQueue.callback,\n next: null\n }),\n null === current\n ? ((firstPendingUpdate = current = isHiddenUpdate),\n (lastPendingUpdate = newState))\n : (current = current.next = isHiddenUpdate),\n (lastBaseUpdate |= updateLane);\n pendingQueue = pendingQueue.next;\n if (null === pendingQueue)\n if (((pendingQueue = queue.shared.pending), null === pendingQueue))\n break;\n else\n (isHiddenUpdate = pendingQueue),\n (pendingQueue = isHiddenUpdate.next),\n (isHiddenUpdate.next = null),\n (queue.lastBaseUpdate = isHiddenUpdate),\n (queue.shared.pending = null);\n } while (1);\n null === current && (lastPendingUpdate = newState);\n queue.baseState = lastPendingUpdate;\n queue.firstBaseUpdate = firstPendingUpdate;\n queue.lastBaseUpdate = current;\n null === firstBaseUpdate && (queue.shared.lanes = 0);\n workInProgressRootSkippedLanes |= lastBaseUpdate;\n workInProgress$jscomp$0.lanes = lastBaseUpdate;\n workInProgress$jscomp$0.memoizedState = newState;\n }\n}\nfunction callCallback(callback, context) {\n if (\"function\" !== typeof callback)\n throw Error(formatProdErrorMessage(191, callback));\n callback.call(context);\n}\nfunction commitCallbacks(updateQueue, context) {\n var callbacks = updateQueue.callbacks;\n if (null !== callbacks)\n for (\n updateQueue.callbacks = null, updateQueue = 0;\n updateQueue < callbacks.length;\n updateQueue++\n )\n callCallback(callbacks[updateQueue], context);\n}\nvar currentTreeHiddenStackCursor = createCursor(null),\n prevEntangledRenderLanesCursor = createCursor(0);\nfunction pushHiddenContext(fiber, context) {\n fiber = entangledRenderLanes;\n push(prevEntangledRenderLanesCursor, fiber);\n push(currentTreeHiddenStackCursor, context);\n entangledRenderLanes = fiber | context.baseLanes;\n}\nfunction reuseHiddenContextOnStack() {\n push(prevEntangledRenderLanesCursor, entangledRenderLanes);\n push(currentTreeHiddenStackCursor, currentTreeHiddenStackCursor.current);\n}\nfunction popHiddenContext() {\n entangledRenderLanes = prevEntangledRenderLanesCursor.current;\n pop(currentTreeHiddenStackCursor);\n pop(prevEntangledRenderLanesCursor);\n}\nvar suspenseHandlerStackCursor = createCursor(null),\n shellBoundary = null;\nfunction pushPrimaryTreeSuspenseHandler(handler) {\n var current = handler.alternate;\n push(suspenseStackCursor, suspenseStackCursor.current & 1);\n push(suspenseHandlerStackCursor, handler);\n null === shellBoundary &&\n (null === current || null !== currentTreeHiddenStackCursor.current\n ? (shellBoundary = handler)\n : null !== current.memoizedState && (shellBoundary = handler));\n}\nfunction pushDehydratedActivitySuspenseHandler(fiber) {\n push(suspenseStackCursor, suspenseStackCursor.current);\n push(suspenseHandlerStackCursor, fiber);\n null === shellBoundary && (shellBoundary = fiber);\n}\nfunction pushOffscreenSuspenseHandler(fiber) {\n 22 === fiber.tag\n ? (push(suspenseStackCursor, suspenseStackCursor.current),\n push(suspenseHandlerStackCursor, fiber),\n null === shellBoundary && (shellBoundary = fiber))\n : reuseSuspenseHandlerOnStack(fiber);\n}\nfunction reuseSuspenseHandlerOnStack() {\n push(suspenseStackCursor, suspenseStackCursor.current);\n push(suspenseHandlerStackCursor, suspenseHandlerStackCursor.current);\n}\nfunction popSuspenseHandler(fiber) {\n pop(suspenseHandlerStackCursor);\n shellBoundary === fiber && (shellBoundary = null);\n pop(suspenseStackCursor);\n}\nvar suspenseStackCursor = createCursor(0);\nfunction findFirstSuspended(row) {\n for (var node = row; null !== node; ) {\n if (13 === node.tag) {\n var state = node.memoizedState;\n if (\n null !== state &&\n ((state = state.dehydrated),\n null === state ||\n isSuspenseInstancePending(state) ||\n isSuspenseInstanceFallback(state))\n )\n return node;\n } else if (\n 19 === node.tag &&\n (\"forwards\" === node.memoizedProps.revealOrder ||\n \"backwards\" === node.memoizedProps.revealOrder ||\n \"unstable_legacy-backwards\" === node.memoizedProps.revealOrder ||\n \"together\" === node.memoizedProps.revealOrder)\n ) {\n if (0 !== (node.flags & 128)) return node;\n } else if (null !== node.child) {\n node.child.return = node;\n node = node.child;\n continue;\n }\n if (node === row) break;\n for (; null === node.sibling; ) {\n if (null === node.return || node.return === row) return null;\n node = node.return;\n }\n node.sibling.return = node.return;\n node = node.sibling;\n }\n return null;\n}\nvar renderLanes = 0,\n currentlyRenderingFiber = null,\n currentHook = null,\n workInProgressHook = null,\n didScheduleRenderPhaseUpdate = !1,\n didScheduleRenderPhaseUpdateDuringThisPass = !1,\n shouldDoubleInvokeUserFnsInHooksDEV = !1,\n localIdCounter = 0,\n thenableIndexCounter = 0,\n thenableState = null,\n globalClientIdCounter = 0;\nfunction throwInvalidHookError() {\n throw Error(formatProdErrorMessage(321));\n}\nfunction areHookInputsEqual(nextDeps, prevDeps) {\n if (null === prevDeps) return !1;\n for (var i = 0; i < prevDeps.length && i < nextDeps.length; i++)\n if (!objectIs(nextDeps[i], prevDeps[i])) return !1;\n return !0;\n}\nfunction renderWithHooks(\n current,\n workInProgress,\n Component,\n props,\n secondArg,\n nextRenderLanes\n) {\n renderLanes = nextRenderLanes;\n currentlyRenderingFiber = workInProgress;\n workInProgress.memoizedState = null;\n workInProgress.updateQueue = null;\n workInProgress.lanes = 0;\n ReactSharedInternals.H =\n null === current || null === current.memoizedState\n ? HooksDispatcherOnMount\n : HooksDispatcherOnUpdate;\n shouldDoubleInvokeUserFnsInHooksDEV = !1;\n nextRenderLanes = Component(props, secondArg);\n shouldDoubleInvokeUserFnsInHooksDEV = !1;\n didScheduleRenderPhaseUpdateDuringThisPass &&\n (nextRenderLanes = renderWithHooksAgain(\n workInProgress,\n Component,\n props,\n secondArg\n ));\n finishRenderingHooks(current);\n return nextRenderLanes;\n}\nfunction finishRenderingHooks(current) {\n ReactSharedInternals.H = ContextOnlyDispatcher;\n var didRenderTooFewHooks = null !== currentHook && null !== currentHook.next;\n renderLanes = 0;\n workInProgressHook = currentHook = currentlyRenderingFiber = null;\n didScheduleRenderPhaseUpdate = !1;\n thenableIndexCounter = 0;\n thenableState = null;\n if (didRenderTooFewHooks) throw Error(formatProdErrorMessage(300));\n null === current ||\n didReceiveUpdate ||\n ((current = current.dependencies),\n null !== current &&\n checkIfContextChanged(current) &&\n (didReceiveUpdate = !0));\n}\nfunction renderWithHooksAgain(workInProgress, Component, props, secondArg) {\n currentlyRenderingFiber = workInProgress;\n var numberOfReRenders = 0;\n do {\n didScheduleRenderPhaseUpdateDuringThisPass && (thenableState = null);\n thenableIndexCounter = 0;\n didScheduleRenderPhaseUpdateDuringThisPass = !1;\n if (25 <= numberOfReRenders) throw Error(formatProdErrorMessage(301));\n numberOfReRenders += 1;\n workInProgressHook = currentHook = null;\n if (null != workInProgress.updateQueue) {\n var children = workInProgress.updateQueue;\n children.lastEffect = null;\n children.events = null;\n children.stores = null;\n null != children.memoCache && (children.memoCache.index = 0);\n }\n ReactSharedInternals.H = HooksDispatcherOnRerender;\n children = Component(props, secondArg);\n } while (didScheduleRenderPhaseUpdateDuringThisPass);\n return children;\n}\nfunction TransitionAwareHostComponent() {\n var dispatcher = ReactSharedInternals.H,\n maybeThenable = dispatcher.useState()[0];\n maybeThenable =\n \"function\" === typeof maybeThenable.then\n ? useThenable(maybeThenable)\n : maybeThenable;\n dispatcher = dispatcher.useState()[0];\n (null !== currentHook ? currentHook.memoizedState : null) !== dispatcher &&\n (currentlyRenderingFiber.flags |= 1024);\n return maybeThenable;\n}\nfunction checkDidRenderIdHook() {\n var didRenderIdHook = 0 !== localIdCounter;\n localIdCounter = 0;\n return didRenderIdHook;\n}\nfunction bailoutHooks(current, workInProgress, lanes) {\n workInProgress.updateQueue = current.updateQueue;\n workInProgress.flags &= -2053;\n current.lanes &= ~lanes;\n}\nfunction resetHooksOnUnwind(workInProgress) {\n if (didScheduleRenderPhaseUpdate) {\n for (\n workInProgress = workInProgress.memoizedState;\n null !== workInProgress;\n\n ) {\n var queue = workInProgress.queue;\n null !== queue && (queue.pending = null);\n workInProgress = workInProgress.next;\n }\n didScheduleRenderPhaseUpdate = !1;\n }\n renderLanes = 0;\n workInProgressHook = currentHook = currentlyRenderingFiber = null;\n didScheduleRenderPhaseUpdateDuringThisPass = !1;\n thenableIndexCounter = localIdCounter = 0;\n thenableState = null;\n}\nfunction mountWorkInProgressHook() {\n var hook = {\n memoizedState: null,\n baseState: null,\n baseQueue: null,\n queue: null,\n next: null\n };\n null === workInProgressHook\n ? (currentlyRenderingFiber.memoizedState = workInProgressHook = hook)\n : (workInProgressHook = workInProgressHook.next = hook);\n return workInProgressHook;\n}\nfunction updateWorkInProgressHook() {\n if (null === currentHook) {\n var nextCurrentHook = currentlyRenderingFiber.alternate;\n nextCurrentHook =\n null !== nextCurrentHook ? nextCurrentHook.memoizedState : null;\n } else nextCurrentHook = currentHook.next;\n var nextWorkInProgressHook =\n null === workInProgressHook\n ? currentlyRenderingFiber.memoizedState\n : workInProgressHook.next;\n if (null !== nextWorkInProgressHook)\n (workInProgressHook = nextWorkInProgressHook),\n (currentHook = nextCurrentHook);\n else {\n if (null === nextCurrentHook) {\n if (null === currentlyRenderingFiber.alternate)\n throw Error(formatProdErrorMessage(467));\n throw Error(formatProdErrorMessage(310));\n }\n currentHook = nextCurrentHook;\n nextCurrentHook = {\n memoizedState: currentHook.memoizedState,\n baseState: currentHook.baseState,\n baseQueue: currentHook.baseQueue,\n queue: currentHook.queue,\n next: null\n };\n null === workInProgressHook\n ? (currentlyRenderingFiber.memoizedState = workInProgressHook =\n nextCurrentHook)\n : (workInProgressHook = workInProgressHook.next = nextCurrentHook);\n }\n return workInProgressHook;\n}\nfunction createFunctionComponentUpdateQueue() {\n return { lastEffect: null, events: null, stores: null, memoCache: null };\n}\nfunction useThenable(thenable) {\n var index = thenableIndexCounter;\n thenableIndexCounter += 1;\n null === thenableState && (thenableState = []);\n thenable = trackUsedThenable(thenableState, thenable, index);\n index = currentlyRenderingFiber;\n null ===\n (null === workInProgressHook\n ? index.memoizedState\n : workInProgressHook.next) &&\n ((index = index.alternate),\n (ReactSharedInternals.H =\n null === index || null === index.memoizedState\n ? HooksDispatcherOnMount\n : HooksDispatcherOnUpdate));\n return thenable;\n}\nfunction use(usable) {\n if (null !== usable && \"object\" === typeof usable) {\n if (\"function\" === typeof usable.then) return useThenable(usable);\n if (usable.$$typeof === REACT_CONTEXT_TYPE) return readContext(usable);\n }\n throw Error(formatProdErrorMessage(438, String(usable)));\n}\nfunction useMemoCache(size) {\n var memoCache = null,\n updateQueue = currentlyRenderingFiber.updateQueue;\n null !== updateQueue && (memoCache = updateQueue.memoCache);\n if (null == memoCache) {\n var current = currentlyRenderingFiber.alternate;\n null !== current &&\n ((current = current.updateQueue),\n null !== current &&\n ((current = current.memoCache),\n null != current &&\n (memoCache = {\n data: current.data.map(function (array) {\n return array.slice();\n }),\n index: 0\n })));\n }\n null == memoCache && (memoCache = { data: [], index: 0 });\n null === updateQueue &&\n ((updateQueue = createFunctionComponentUpdateQueue()),\n (currentlyRenderingFiber.updateQueue = updateQueue));\n updateQueue.memoCache = memoCache;\n updateQueue = memoCache.data[memoCache.index];\n if (void 0 === updateQueue)\n for (\n updateQueue = memoCache.data[memoCache.index] = Array(size), current = 0;\n current < size;\n current++\n )\n updateQueue[current] = REACT_MEMO_CACHE_SENTINEL;\n memoCache.index++;\n return updateQueue;\n}\nfunction basicStateReducer(state, action) {\n return \"function\" === typeof action ? action(state) : action;\n}\nfunction updateReducer(reducer) {\n var hook = updateWorkInProgressHook();\n return updateReducerImpl(hook, currentHook, reducer);\n}\nfunction updateReducerImpl(hook, current, reducer) {\n var queue = hook.queue;\n if (null === queue) throw Error(formatProdErrorMessage(311));\n queue.lastRenderedReducer = reducer;\n var baseQueue = hook.baseQueue,\n pendingQueue = queue.pending;\n if (null !== pendingQueue) {\n if (null !== baseQueue) {\n var baseFirst = baseQueue.next;\n baseQueue.next = pendingQueue.next;\n pendingQueue.next = baseFirst;\n }\n current.baseQueue = baseQueue = pendingQueue;\n queue.pending = null;\n }\n pendingQueue = hook.baseState;\n if (null === baseQueue) hook.memoizedState = pendingQueue;\n else {\n current = baseQueue.next;\n var newBaseQueueFirst = (baseFirst = null),\n newBaseQueueLast = null,\n update = current,\n didReadFromEntangledAsyncAction$60 = !1;\n do {\n var updateLane = update.lane & -536870913;\n if (\n updateLane !== update.lane\n ? (workInProgressRootRenderLanes & updateLane) === updateLane\n : (renderLanes & updateLane) === updateLane\n ) {\n var revertLane = update.revertLane;\n if (0 === revertLane)\n null !== newBaseQueueLast &&\n (newBaseQueueLast = newBaseQueueLast.next =\n {\n lane: 0,\n revertLane: 0,\n gesture: null,\n action: update.action,\n hasEagerState: update.hasEagerState,\n eagerState: update.eagerState,\n next: null\n }),\n updateLane === currentEntangledLane &&\n (didReadFromEntangledAsyncAction$60 = !0);\n else if ((renderLanes & revertLane) === revertLane) {\n update = update.next;\n revertLane === currentEntangledLane &&\n (didReadFromEntangledAsyncAction$60 = !0);\n continue;\n } else\n (updateLane = {\n lane: 0,\n revertLane: update.revertLane,\n gesture: null,\n action: update.action,\n hasEagerState: update.hasEagerState,\n eagerState: update.eagerState,\n next: null\n }),\n null === newBaseQueueLast\n ? ((newBaseQueueFirst = newBaseQueueLast = updateLane),\n (baseFirst = pendingQueue))\n : (newBaseQueueLast = newBaseQueueLast.next = updateLane),\n (currentlyRenderingFiber.lanes |= revertLane),\n (workInProgressRootSkippedLanes |= revertLane);\n updateLane = update.action;\n shouldDoubleInvokeUserFnsInHooksDEV &&\n reducer(pendingQueue, updateLane);\n pendingQueue = update.hasEagerState\n ? update.eagerState\n : reducer(pendingQueue, updateLane);\n } else\n (revertLane = {\n lane: updateLane,\n revertLane: update.revertLane,\n gesture: update.gesture,\n action: update.action,\n hasEagerState: update.hasEagerState,\n eagerState: update.eagerState,\n next: null\n }),\n null === newBaseQueueLast\n ? ((newBaseQueueFirst = newBaseQueueLast = revertLane),\n (baseFirst = pendingQueue))\n : (newBaseQueueLast = newBaseQueueLast.next = revertLane),\n (currentlyRenderingFiber.lanes |= updateLane),\n (workInProgressRootSkippedLanes |= updateLane);\n update = update.next;\n } while (null !== update && update !== current);\n null === newBaseQueueLast\n ? (baseFirst = pendingQueue)\n : (newBaseQueueLast.next = newBaseQueueFirst);\n if (\n !objectIs(pendingQueue, hook.memoizedState) &&\n ((didReceiveUpdate = !0),\n didReadFromEntangledAsyncAction$60 &&\n ((reducer = currentEntangledActionThenable), null !== reducer))\n )\n throw reducer;\n hook.memoizedState = pendingQueue;\n hook.baseState = baseFirst;\n hook.baseQueue = newBaseQueueLast;\n queue.lastRenderedState = pendingQueue;\n }\n null === baseQueue && (queue.lanes = 0);\n return [hook.memoizedState, queue.dispatch];\n}\nfunction rerenderReducer(reducer) {\n var hook = updateWorkInProgressHook(),\n queue = hook.queue;\n if (null === queue) throw Error(formatProdErrorMessage(311));\n queue.lastRenderedReducer = reducer;\n var dispatch = queue.dispatch,\n lastRenderPhaseUpdate = queue.pending,\n newState = hook.memoizedState;\n if (null !== lastRenderPhaseUpdate) {\n queue.pending = null;\n var update = (lastRenderPhaseUpdate = lastRenderPhaseUpdate.next);\n do (newState = reducer(newState, update.action)), (update = update.next);\n while (update !== lastRenderPhaseUpdate);\n objectIs(newState, hook.memoizedState) || (didReceiveUpdate = !0);\n hook.memoizedState = newState;\n null === hook.baseQueue && (hook.baseState = newState);\n queue.lastRenderedState = newState;\n }\n return [newState, dispatch];\n}\nfunction updateSyncExternalStore(subscribe, getSnapshot, getServerSnapshot) {\n var fiber = currentlyRenderingFiber,\n hook = updateWorkInProgressHook(),\n isHydrating$jscomp$0 = isHydrating;\n if (isHydrating$jscomp$0) {\n if (void 0 === getServerSnapshot) throw Error(formatProdErrorMessage(407));\n getServerSnapshot = getServerSnapshot();\n } else getServerSnapshot = getSnapshot();\n var snapshotChanged = !objectIs(\n (currentHook || hook).memoizedState,\n getServerSnapshot\n );\n snapshotChanged &&\n ((hook.memoizedState = getServerSnapshot), (didReceiveUpdate = !0));\n hook = hook.queue;\n updateEffect(subscribeToStore.bind(null, fiber, hook, subscribe), [\n subscribe\n ]);\n if (\n hook.getSnapshot !== getSnapshot ||\n snapshotChanged ||\n (null !== workInProgressHook && workInProgressHook.memoizedState.tag & 1)\n ) {\n fiber.flags |= 2048;\n pushSimpleEffect(\n 9,\n { destroy: void 0 },\n updateStoreInstance.bind(\n null,\n fiber,\n hook,\n getServerSnapshot,\n getSnapshot\n ),\n null\n );\n if (null === workInProgressRoot) throw Error(formatProdErrorMessage(349));\n isHydrating$jscomp$0 ||\n 0 !== (renderLanes & 127) ||\n pushStoreConsistencyCheck(fiber, getSnapshot, getServerSnapshot);\n }\n return getServerSnapshot;\n}\nfunction pushStoreConsistencyCheck(fiber, getSnapshot, renderedSnapshot) {\n fiber.flags |= 16384;\n fiber = { getSnapshot: getSnapshot, value: renderedSnapshot };\n getSnapshot = currentlyRenderingFiber.updateQueue;\n null === getSnapshot\n ? ((getSnapshot = createFunctionComponentUpdateQueue()),\n (currentlyRenderingFiber.updateQueue = getSnapshot),\n (getSnapshot.stores = [fiber]))\n : ((renderedSnapshot = getSnapshot.stores),\n null === renderedSnapshot\n ? (getSnapshot.stores = [fiber])\n : renderedSnapshot.push(fiber));\n}\nfunction updateStoreInstance(fiber, inst, nextSnapshot, getSnapshot) {\n inst.value = nextSnapshot;\n inst.getSnapshot = getSnapshot;\n checkIfSnapshotChanged(inst) && forceStoreRerender(fiber);\n}\nfunction subscribeToStore(fiber, inst, subscribe) {\n return subscribe(function () {\n checkIfSnapshotChanged(inst) && forceStoreRerender(fiber);\n });\n}\nfunction checkIfSnapshotChanged(inst) {\n var latestGetSnapshot = inst.getSnapshot;\n inst = inst.value;\n try {\n var nextValue = latestGetSnapshot();\n return !objectIs(inst, nextValue);\n } catch (error) {\n return !0;\n }\n}\nfunction forceStoreRerender(fiber) {\n var root = enqueueConcurrentRenderForLane(fiber, 2);\n null !== root && scheduleUpdateOnFiber(root, fiber, 2);\n}\nfunction mountStateImpl(initialState) {\n var hook = mountWorkInProgressHook();\n if (\"function\" === typeof initialState) {\n var initialStateInitializer = initialState;\n initialState = initialStateInitializer();\n if (shouldDoubleInvokeUserFnsInHooksDEV) {\n setIsStrictModeForDevtools(!0);\n try {\n initialStateInitializer();\n } finally {\n setIsStrictModeForDevtools(!1);\n }\n }\n }\n hook.memoizedState = hook.baseState = initialState;\n hook.queue = {\n pending: null,\n lanes: 0,\n dispatch: null,\n lastRenderedReducer: basicStateReducer,\n lastRenderedState: initialState\n };\n return hook;\n}\nfunction updateOptimisticImpl(hook, current, passthrough, reducer) {\n hook.baseState = passthrough;\n return updateReducerImpl(\n hook,\n currentHook,\n \"function\" === typeof reducer ? reducer : basicStateReducer\n );\n}\nfunction dispatchActionState(\n fiber,\n actionQueue,\n setPendingState,\n setState,\n payload\n) {\n if (isRenderPhaseUpdate(fiber)) throw Error(formatProdErrorMessage(485));\n fiber = actionQueue.action;\n if (null !== fiber) {\n var actionNode = {\n payload: payload,\n action: fiber,\n next: null,\n isTransition: !0,\n status: \"pending\",\n value: null,\n reason: null,\n listeners: [],\n then: function (listener) {\n actionNode.listeners.push(listener);\n }\n };\n null !== ReactSharedInternals.T\n ? setPendingState(!0)\n : (actionNode.isTransition = !1);\n setState(actionNode);\n setPendingState = actionQueue.pending;\n null === setPendingState\n ? ((actionNode.next = actionQueue.pending = actionNode),\n runActionStateAction(actionQueue, actionNode))\n : ((actionNode.next = setPendingState.next),\n (actionQueue.pending = setPendingState.next = actionNode));\n }\n}\nfunction runActionStateAction(actionQueue, node) {\n var action = node.action,\n payload = node.payload,\n prevState = actionQueue.state;\n if (node.isTransition) {\n var prevTransition = ReactSharedInternals.T,\n currentTransition = {};\n ReactSharedInternals.T = currentTransition;\n try {\n var returnValue = action(prevState, payload),\n onStartTransitionFinish = ReactSharedInternals.S;\n null !== onStartTransitionFinish &&\n onStartTransitionFinish(currentTransition, returnValue);\n handleActionReturnValue(actionQueue, node, returnValue);\n } catch (error) {\n onActionError(actionQueue, node, error);\n } finally {\n null !== prevTransition &&\n null !== currentTransition.types &&\n (prevTransition.types = currentTransition.types),\n (ReactSharedInternals.T = prevTransition);\n }\n } else\n try {\n (prevTransition = action(prevState, payload)),\n handleActionReturnValue(actionQueue, node, prevTransition);\n } catch (error$66) {\n onActionError(actionQueue, node, error$66);\n }\n}\nfunction handleActionReturnValue(actionQueue, node, returnValue) {\n null !== returnValue &&\n \"object\" === typeof returnValue &&\n \"function\" === typeof returnValue.then\n ? returnValue.then(\n function (nextState) {\n onActionSuccess(actionQueue, node, nextState);\n },\n function (error) {\n return onActionError(actionQueue, node, error);\n }\n )\n : onActionSuccess(actionQueue, node, returnValue);\n}\nfunction onActionSuccess(actionQueue, actionNode, nextState) {\n actionNode.status = \"fulfilled\";\n actionNode.value = nextState;\n notifyActionListeners(actionNode);\n actionQueue.state = nextState;\n actionNode = actionQueue.pending;\n null !== actionNode &&\n ((nextState = actionNode.next),\n nextState === actionNode\n ? (actionQueue.pending = null)\n : ((nextState = nextState.next),\n (actionNode.next = nextState),\n runActionStateAction(actionQueue, nextState)));\n}\nfunction onActionError(actionQueue, actionNode, error) {\n var last = actionQueue.pending;\n actionQueue.pending = null;\n if (null !== last) {\n last = last.next;\n do\n (actionNode.status = \"rejected\"),\n (actionNode.reason = error),\n notifyActionListeners(actionNode),\n (actionNode = actionNode.next);\n while (actionNode !== last);\n }\n actionQueue.action = null;\n}\nfunction notifyActionListeners(actionNode) {\n actionNode = actionNode.listeners;\n for (var i = 0; i < actionNode.length; i++) (0, actionNode[i])();\n}\nfunction actionStateReducer(oldState, newState) {\n return newState;\n}\nfunction mountActionState(action, initialStateProp) {\n if (isHydrating) {\n var ssrFormState = workInProgressRoot.formState;\n if (null !== ssrFormState) {\n a: {\n var JSCompiler_inline_result = currentlyRenderingFiber;\n if (isHydrating) {\n if (nextHydratableInstance) {\n b: {\n var JSCompiler_inline_result$jscomp$0 = nextHydratableInstance;\n for (\n var inRootOrSingleton = rootOrSingletonContext;\n 8 !== JSCompiler_inline_result$jscomp$0.nodeType;\n\n ) {\n if (!inRootOrSingleton) {\n JSCompiler_inline_result$jscomp$0 = null;\n break b;\n }\n JSCompiler_inline_result$jscomp$0 = getNextHydratable(\n JSCompiler_inline_result$jscomp$0.nextSibling\n );\n if (null === JSCompiler_inline_result$jscomp$0) {\n JSCompiler_inline_result$jscomp$0 = null;\n break b;\n }\n }\n inRootOrSingleton = JSCompiler_inline_result$jscomp$0.data;\n JSCompiler_inline_result$jscomp$0 =\n \"F!\" === inRootOrSingleton || \"F\" === inRootOrSingleton\n ? JSCompiler_inline_result$jscomp$0\n : null;\n }\n if (JSCompiler_inline_result$jscomp$0) {\n nextHydratableInstance = getNextHydratable(\n JSCompiler_inline_result$jscomp$0.nextSibling\n );\n JSCompiler_inline_result =\n \"F!\" === JSCompiler_inline_result$jscomp$0.data;\n break a;\n }\n }\n throwOnHydrationMismatch(JSCompiler_inline_result);\n }\n JSCompiler_inline_result = !1;\n }\n JSCompiler_inline_result && (initialStateProp = ssrFormState[0]);\n }\n }\n ssrFormState = mountWorkInProgressHook();\n ssrFormState.memoizedState = ssrFormState.baseState = initialStateProp;\n JSCompiler_inline_result = {\n pending: null,\n lanes: 0,\n dispatch: null,\n lastRenderedReducer: actionStateReducer,\n lastRenderedState: initialStateProp\n };\n ssrFormState.queue = JSCompiler_inline_result;\n ssrFormState = dispatchSetState.bind(\n null,\n currentlyRenderingFiber,\n JSCompiler_inline_result\n );\n JSCompiler_inline_result.dispatch = ssrFormState;\n JSCompiler_inline_result = mountStateImpl(!1);\n inRootOrSingleton = dispatchOptimisticSetState.bind(\n null,\n currentlyRenderingFiber,\n !1,\n JSCompiler_inline_result.queue\n );\n JSCompiler_inline_result = mountWorkInProgressHook();\n JSCompiler_inline_result$jscomp$0 = {\n state: initialStateProp,\n dispatch: null,\n action: action,\n pending: null\n };\n JSCompiler_inline_result.queue = JSCompiler_inline_result$jscomp$0;\n ssrFormState = dispatchActionState.bind(\n null,\n currentlyRenderingFiber,\n JSCompiler_inline_result$jscomp$0,\n inRootOrSingleton,\n ssrFormState\n );\n JSCompiler_inline_result$jscomp$0.dispatch = ssrFormState;\n JSCompiler_inline_result.memoizedState = action;\n return [initialStateProp, ssrFormState, !1];\n}\nfunction updateActionState(action) {\n var stateHook = updateWorkInProgressHook();\n return updateActionStateImpl(stateHook, currentHook, action);\n}\nfunction updateActionStateImpl(stateHook, currentStateHook, action) {\n currentStateHook = updateReducerImpl(\n stateHook,\n currentStateHook,\n actionStateReducer\n )[0];\n stateHook = updateReducer(basicStateReducer)[0];\n if (\n \"object\" === typeof currentStateHook &&\n null !== currentStateHook &&\n \"function\" === typeof currentStateHook.then\n )\n try {\n var state = useThenable(currentStateHook);\n } catch (x) {\n if (x === SuspenseException) throw SuspenseActionException;\n throw x;\n }\n else state = currentStateHook;\n currentStateHook = updateWorkInProgressHook();\n var actionQueue = currentStateHook.queue,\n dispatch = actionQueue.dispatch;\n action !== currentStateHook.memoizedState &&\n ((currentlyRenderingFiber.flags |= 2048),\n pushSimpleEffect(\n 9,\n { destroy: void 0 },\n actionStateActionEffect.bind(null, actionQueue, action),\n null\n ));\n return [state, dispatch, stateHook];\n}\nfunction actionStateActionEffect(actionQueue, action) {\n actionQueue.action = action;\n}\nfunction rerenderActionState(action) {\n var stateHook = updateWorkInProgressHook(),\n currentStateHook = currentHook;\n if (null !== currentStateHook)\n return updateActionStateImpl(stateHook, currentStateHook, action);\n updateWorkInProgressHook();\n stateHook = stateHook.memoizedState;\n currentStateHook = updateWorkInProgressHook();\n var dispatch = currentStateHook.queue.dispatch;\n currentStateHook.memoizedState = action;\n return [stateHook, dispatch, !1];\n}\nfunction pushSimpleEffect(tag, inst, create, deps) {\n tag = { tag: tag, create: create, deps: deps, inst: inst, next: null };\n inst = currentlyRenderingFiber.updateQueue;\n null === inst &&\n ((inst = createFunctionComponentUpdateQueue()),\n (currentlyRenderingFiber.updateQueue = inst));\n create = inst.lastEffect;\n null === create\n ? (inst.lastEffect = tag.next = tag)\n : ((deps = create.next),\n (create.next = tag),\n (tag.next = deps),\n (inst.lastEffect = tag));\n return tag;\n}\nfunction updateRef() {\n return updateWorkInProgressHook().memoizedState;\n}\nfunction mountEffectImpl(fiberFlags, hookFlags, create, deps) {\n var hook = mountWorkInProgressHook();\n currentlyRenderingFiber.flags |= fiberFlags;\n hook.memoizedState = pushSimpleEffect(\n 1 | hookFlags,\n { destroy: void 0 },\n create,\n void 0 === deps ? null : deps\n );\n}\nfunction updateEffectImpl(fiberFlags, hookFlags, create, deps) {\n var hook = updateWorkInProgressHook();\n deps = void 0 === deps ? null : deps;\n var inst = hook.memoizedState.inst;\n null !== currentHook &&\n null !== deps &&\n areHookInputsEqual(deps, currentHook.memoizedState.deps)\n ? (hook.memoizedState = pushSimpleEffect(hookFlags, inst, create, deps))\n : ((currentlyRenderingFiber.flags |= fiberFlags),\n (hook.memoizedState = pushSimpleEffect(\n 1 | hookFlags,\n inst,\n create,\n deps\n )));\n}\nfunction mountEffect(create, deps) {\n mountEffectImpl(8390656, 8, create, deps);\n}\nfunction updateEffect(create, deps) {\n updateEffectImpl(2048, 8, create, deps);\n}\nfunction useEffectEventImpl(payload) {\n currentlyRenderingFiber.flags |= 4;\n var componentUpdateQueue = currentlyRenderingFiber.updateQueue;\n if (null === componentUpdateQueue)\n (componentUpdateQueue = createFunctionComponentUpdateQueue()),\n (currentlyRenderingFiber.updateQueue = componentUpdateQueue),\n (componentUpdateQueue.events = [payload]);\n else {\n var events = componentUpdateQueue.events;\n null === events\n ? (componentUpdateQueue.events = [payload])\n : events.push(payload);\n }\n}\nfunction updateEvent(callback) {\n var ref = updateWorkInProgressHook().memoizedState;\n useEffectEventImpl({ ref: ref, nextImpl: callback });\n return function () {\n if (0 !== (executionContext & 2)) throw Error(formatProdErrorMessage(440));\n return ref.impl.apply(void 0, arguments);\n };\n}\nfunction updateInsertionEffect(create, deps) {\n return updateEffectImpl(4, 2, create, deps);\n}\nfunction updateLayoutEffect(create, deps) {\n return updateEffectImpl(4, 4, create, deps);\n}\nfunction imperativeHandleEffect(create, ref) {\n if (\"function\" === typeof ref) {\n create = create();\n var refCleanup = ref(create);\n return function () {\n \"function\" === typeof refCleanup ? refCleanup() : ref(null);\n };\n }\n if (null !== ref && void 0 !== ref)\n return (\n (create = create()),\n (ref.current = create),\n function () {\n ref.current = null;\n }\n );\n}\nfunction updateImperativeHandle(ref, create, deps) {\n deps = null !== deps && void 0 !== deps ? deps.concat([ref]) : null;\n updateEffectImpl(4, 4, imperativeHandleEffect.bind(null, create, ref), deps);\n}\nfunction mountDebugValue() {}\nfunction updateCallback(callback, deps) {\n var hook = updateWorkInProgressHook();\n deps = void 0 === deps ? null : deps;\n var prevState = hook.memoizedState;\n if (null !== deps && areHookInputsEqual(deps, prevState[1]))\n return prevState[0];\n hook.memoizedState = [callback, deps];\n return callback;\n}\nfunction updateMemo(nextCreate, deps) {\n var hook = updateWorkInProgressHook();\n deps = void 0 === deps ? null : deps;\n var prevState = hook.memoizedState;\n if (null !== deps && areHookInputsEqual(deps, prevState[1]))\n return prevState[0];\n prevState = nextCreate();\n if (shouldDoubleInvokeUserFnsInHooksDEV) {\n setIsStrictModeForDevtools(!0);\n try {\n nextCreate();\n } finally {\n setIsStrictModeForDevtools(!1);\n }\n }\n hook.memoizedState = [prevState, deps];\n return prevState;\n}\nfunction mountDeferredValueImpl(hook, value, initialValue) {\n if (\n void 0 === initialValue ||\n (0 !== (renderLanes & 1073741824) &&\n 0 === (workInProgressRootRenderLanes & 261930))\n )\n return (hook.memoizedState = value);\n hook.memoizedState = initialValue;\n hook = requestDeferredLane();\n currentlyRenderingFiber.lanes |= hook;\n workInProgressRootSkippedLanes |= hook;\n return initialValue;\n}\nfunction updateDeferredValueImpl(hook, prevValue, value, initialValue) {\n if (objectIs(value, prevValue)) return value;\n if (null !== currentTreeHiddenStackCursor.current)\n return (\n (hook = mountDeferredValueImpl(hook, value, initialValue)),\n objectIs(hook, prevValue) || (didReceiveUpdate = !0),\n hook\n );\n if (\n 0 === (renderLanes & 42) ||\n (0 !== (renderLanes & 1073741824) &&\n 0 === (workInProgressRootRenderLanes & 261930))\n )\n return (didReceiveUpdate = !0), (hook.memoizedState = value);\n hook = requestDeferredLane();\n currentlyRenderingFiber.lanes |= hook;\n workInProgressRootSkippedLanes |= hook;\n return prevValue;\n}\nfunction startTransition(fiber, queue, pendingState, finishedState, callback) {\n var previousPriority = ReactDOMSharedInternals.p;\n ReactDOMSharedInternals.p =\n 0 !== previousPriority && 8 > previousPriority ? previousPriority : 8;\n var prevTransition = ReactSharedInternals.T,\n currentTransition = {};\n ReactSharedInternals.T = currentTransition;\n dispatchOptimisticSetState(fiber, !1, queue, pendingState);\n try {\n var returnValue = callback(),\n onStartTransitionFinish = ReactSharedInternals.S;\n null !== onStartTransitionFinish &&\n onStartTransitionFinish(currentTransition, returnValue);\n if (\n null !== returnValue &&\n \"object\" === typeof returnValue &&\n \"function\" === typeof returnValue.then\n ) {\n var thenableForFinishedState = chainThenableValue(\n returnValue,\n finishedState\n );\n dispatchSetStateInternal(\n fiber,\n queue,\n thenableForFinishedState,\n requestUpdateLane(fiber)\n );\n } else\n dispatchSetStateInternal(\n fiber,\n queue,\n finishedState,\n requestUpdateLane(fiber)\n );\n } catch (error) {\n dispatchSetStateInternal(\n fiber,\n queue,\n { then: function () {}, status: \"rejected\", reason: error },\n requestUpdateLane()\n );\n } finally {\n (ReactDOMSharedInternals.p = previousPriority),\n null !== prevTransition &&\n null !== currentTransition.types &&\n (prevTransition.types = currentTransition.types),\n (ReactSharedInternals.T = prevTransition);\n }\n}\nfunction noop() {}\nfunction startHostTransition(formFiber, pendingState, action, formData) {\n if (5 !== formFiber.tag) throw Error(formatProdErrorMessage(476));\n var queue = ensureFormComponentIsStateful(formFiber).queue;\n startTransition(\n formFiber,\n queue,\n pendingState,\n sharedNotPendingObject,\n null === action\n ? noop\n : function () {\n requestFormReset$1(formFiber);\n return action(formData);\n }\n );\n}\nfunction ensureFormComponentIsStateful(formFiber) {\n var existingStateHook = formFiber.memoizedState;\n if (null !== existingStateHook) return existingStateHook;\n existingStateHook = {\n memoizedState: sharedNotPendingObject,\n baseState: sharedNotPendingObject,\n baseQueue: null,\n queue: {\n pending: null,\n lanes: 0,\n dispatch: null,\n lastRenderedReducer: basicStateReducer,\n lastRenderedState: sharedNotPendingObject\n },\n next: null\n };\n var initialResetState = {};\n existingStateHook.next = {\n memoizedState: initialResetState,\n baseState: initialResetState,\n baseQueue: null,\n queue: {\n pending: null,\n lanes: 0,\n dispatch: null,\n lastRenderedReducer: basicStateReducer,\n lastRenderedState: initialResetState\n },\n next: null\n };\n formFiber.memoizedState = existingStateHook;\n formFiber = formFiber.alternate;\n null !== formFiber && (formFiber.memoizedState = existingStateHook);\n return existingStateHook;\n}\nfunction requestFormReset$1(formFiber) {\n var stateHook = ensureFormComponentIsStateful(formFiber);\n null === stateHook.next && (stateHook = formFiber.alternate.memoizedState);\n dispatchSetStateInternal(\n formFiber,\n stateHook.next.queue,\n {},\n requestUpdateLane()\n );\n}\nfunction useHostTransitionStatus() {\n return readContext(HostTransitionContext);\n}\nfunction updateId() {\n return updateWorkInProgressHook().memoizedState;\n}\nfunction updateRefresh() {\n return updateWorkInProgressHook().memoizedState;\n}\nfunction refreshCache(fiber) {\n for (var provider = fiber.return; null !== provider; ) {\n switch (provider.tag) {\n case 24:\n case 3:\n var lane = requestUpdateLane();\n fiber = createUpdate(lane);\n var root$69 = enqueueUpdate(provider, fiber, lane);\n null !== root$69 &&\n (scheduleUpdateOnFiber(root$69, provider, lane),\n entangleTransitions(root$69, provider, lane));\n provider = { cache: createCache() };\n fiber.payload = provider;\n return;\n }\n provider = provider.return;\n }\n}\nfunction dispatchReducerAction(fiber, queue, action) {\n var lane = requestUpdateLane();\n action = {\n lane: lane,\n revertLane: 0,\n gesture: null,\n action: action,\n hasEagerState: !1,\n eagerState: null,\n next: null\n };\n isRenderPhaseUpdate(fiber)\n ? enqueueRenderPhaseUpdate(queue, action)\n : ((action = enqueueConcurrentHookUpdate(fiber, queue, action, lane)),\n null !== action &&\n (scheduleUpdateOnFiber(action, fiber, lane),\n entangleTransitionUpdate(action, queue, lane)));\n}\nfunction dispatchSetState(fiber, queue, action) {\n var lane = requestUpdateLane();\n dispatchSetStateInternal(fiber, queue, action, lane);\n}\nfunction dispatchSetStateInternal(fiber, queue, action, lane) {\n var update = {\n lane: lane,\n revertLane: 0,\n gesture: null,\n action: action,\n hasEagerState: !1,\n eagerState: null,\n next: null\n };\n if (isRenderPhaseUpdate(fiber)) enqueueRenderPhaseUpdate(queue, update);\n else {\n var alternate = fiber.alternate;\n if (\n 0 === fiber.lanes &&\n (null === alternate || 0 === alternate.lanes) &&\n ((alternate = queue.lastRenderedReducer), null !== alternate)\n )\n try {\n var currentState = queue.lastRenderedState,\n eagerState = alternate(currentState, action);\n update.hasEagerState = !0;\n update.eagerState = eagerState;\n if (objectIs(eagerState, currentState))\n return (\n enqueueUpdate$1(fiber, queue, update, 0),\n null === workInProgressRoot && finishQueueingConcurrentUpdates(),\n !1\n );\n } catch (error) {\n } finally {\n }\n action = enqueueConcurrentHookUpdate(fiber, queue, update, lane);\n if (null !== action)\n return (\n scheduleUpdateOnFiber(action, fiber, lane),\n entangleTransitionUpdate(action, queue, lane),\n !0\n );\n }\n return !1;\n}\nfunction dispatchOptimisticSetState(fiber, throwIfDuringRender, queue, action) {\n action = {\n lane: 2,\n revertLane: requestTransitionLane(),\n gesture: null,\n action: action,\n hasEagerState: !1,\n eagerState: null,\n next: null\n };\n if (isRenderPhaseUpdate(fiber)) {\n if (throwIfDuringRender) throw Error(formatProdErrorMessage(479));\n } else\n (throwIfDuringRender = enqueueConcurrentHookUpdate(\n fiber,\n queue,\n action,\n 2\n )),\n null !== throwIfDuringRender &&\n scheduleUpdateOnFiber(throwIfDuringRender, fiber, 2);\n}\nfunction isRenderPhaseUpdate(fiber) {\n var alternate = fiber.alternate;\n return (\n fiber === currentlyRenderingFiber ||\n (null !== alternate && alternate === currentlyRenderingFiber)\n );\n}\nfunction enqueueRenderPhaseUpdate(queue, update) {\n didScheduleRenderPhaseUpdateDuringThisPass = didScheduleRenderPhaseUpdate =\n !0;\n var pending = queue.pending;\n null === pending\n ? (update.next = update)\n : ((update.next = pending.next), (pending.next = update));\n queue.pending = update;\n}\nfunction entangleTransitionUpdate(root, queue, lane) {\n if (0 !== (lane & 4194048)) {\n var queueLanes = queue.lanes;\n queueLanes &= root.pendingLanes;\n lane |= queueLanes;\n queue.lanes = lane;\n markRootEntangled(root, lane);\n }\n}\nvar ContextOnlyDispatcher = {\n readContext: readContext,\n use: use,\n useCallback: throwInvalidHookError,\n useContext: throwInvalidHookError,\n useEffect: throwInvalidHookError,\n useImperativeHandle: throwInvalidHookError,\n useLayoutEffect: throwInvalidHookError,\n useInsertionEffect: throwInvalidHookError,\n useMemo: throwInvalidHookError,\n useReducer: throwInvalidHookError,\n useRef: throwInvalidHookError,\n useState: throwInvalidHookError,\n useDebugValue: throwInvalidHookError,\n useDeferredValue: throwInvalidHookError,\n useTransition: throwInvalidHookError,\n useSyncExternalStore: throwInvalidHookError,\n useId: throwInvalidHookError,\n useHostTransitionStatus: throwInvalidHookError,\n useFormState: throwInvalidHookError,\n useActionState: throwInvalidHookError,\n useOptimistic: throwInvalidHookError,\n useMemoCache: throwInvalidHookError,\n useCacheRefresh: throwInvalidHookError\n};\nContextOnlyDispatcher.useEffectEvent = throwInvalidHookError;\nvar HooksDispatcherOnMount = {\n readContext: readContext,\n use: use,\n useCallback: function (callback, deps) {\n mountWorkInProgressHook().memoizedState = [\n callback,\n void 0 === deps ? null : deps\n ];\n return callback;\n },\n useContext: readContext,\n useEffect: mountEffect,\n useImperativeHandle: function (ref, create, deps) {\n deps = null !== deps && void 0 !== deps ? deps.concat([ref]) : null;\n mountEffectImpl(\n 4194308,\n 4,\n imperativeHandleEffect.bind(null, create, ref),\n deps\n );\n },\n useLayoutEffect: function (create, deps) {\n return mountEffectImpl(4194308, 4, create, deps);\n },\n useInsertionEffect: function (create, deps) {\n mountEffectImpl(4, 2, create, deps);\n },\n useMemo: function (nextCreate, deps) {\n var hook = mountWorkInProgressHook();\n deps = void 0 === deps ? null : deps;\n var nextValue = nextCreate();\n if (shouldDoubleInvokeUserFnsInHooksDEV) {\n setIsStrictModeForDevtools(!0);\n try {\n nextCreate();\n } finally {\n setIsStrictModeForDevtools(!1);\n }\n }\n hook.memoizedState = [nextValue, deps];\n return nextValue;\n },\n useReducer: function (reducer, initialArg, init) {\n var hook = mountWorkInProgressHook();\n if (void 0 !== init) {\n var initialState = init(initialArg);\n if (shouldDoubleInvokeUserFnsInHooksDEV) {\n setIsStrictModeForDevtools(!0);\n try {\n init(initialArg);\n } finally {\n setIsStrictModeForDevtools(!1);\n }\n }\n } else initialState = initialArg;\n hook.memoizedState = hook.baseState = initialState;\n reducer = {\n pending: null,\n lanes: 0,\n dispatch: null,\n lastRenderedReducer: reducer,\n lastRenderedState: initialState\n };\n hook.queue = reducer;\n reducer = reducer.dispatch = dispatchReducerAction.bind(\n null,\n currentlyRenderingFiber,\n reducer\n );\n return [hook.memoizedState, reducer];\n },\n useRef: function (initialValue) {\n var hook = mountWorkInProgressHook();\n initialValue = { current: initialValue };\n return (hook.memoizedState = initialValue);\n },\n useState: function (initialState) {\n initialState = mountStateImpl(initialState);\n var queue = initialState.queue,\n dispatch = dispatchSetState.bind(null, currentlyRenderingFiber, queue);\n queue.dispatch = dispatch;\n return [initialState.memoizedState, dispatch];\n },\n useDebugValue: mountDebugValue,\n useDeferredValue: function (value, initialValue) {\n var hook = mountWorkInProgressHook();\n return mountDeferredValueImpl(hook, value, initialValue);\n },\n useTransition: function () {\n var stateHook = mountStateImpl(!1);\n stateHook = startTransition.bind(\n null,\n currentlyRenderingFiber,\n stateHook.queue,\n !0,\n !1\n );\n mountWorkInProgressHook().memoizedState = stateHook;\n return [!1, stateHook];\n },\n useSyncExternalStore: function (subscribe, getSnapshot, getServerSnapshot) {\n var fiber = currentlyRenderingFiber,\n hook = mountWorkInProgressHook();\n if (isHydrating) {\n if (void 0 === getServerSnapshot)\n throw Error(formatProdErrorMessage(407));\n getServerSnapshot = getServerSnapshot();\n } else {\n getServerSnapshot = getSnapshot();\n if (null === workInProgressRoot)\n throw Error(formatProdErrorMessage(349));\n 0 !== (workInProgressRootRenderLanes & 127) ||\n pushStoreConsistencyCheck(fiber, getSnapshot, getServerSnapshot);\n }\n hook.memoizedState = getServerSnapshot;\n var inst = { value: getServerSnapshot, getSnapshot: getSnapshot };\n hook.queue = inst;\n mountEffect(subscribeToStore.bind(null, fiber, inst, subscribe), [\n subscribe\n ]);\n fiber.flags |= 2048;\n pushSimpleEffect(\n 9,\n { destroy: void 0 },\n updateStoreInstance.bind(\n null,\n fiber,\n inst,\n getServerSnapshot,\n getSnapshot\n ),\n null\n );\n return getServerSnapshot;\n },\n useId: function () {\n var hook = mountWorkInProgressHook(),\n identifierPrefix = workInProgressRoot.identifierPrefix;\n if (isHydrating) {\n var JSCompiler_inline_result = treeContextOverflow;\n var idWithLeadingBit = treeContextId;\n JSCompiler_inline_result =\n (\n idWithLeadingBit & ~(1 << (32 - clz32(idWithLeadingBit) - 1))\n ).toString(32) + JSCompiler_inline_result;\n identifierPrefix =\n \"_\" + identifierPrefix + \"R_\" + JSCompiler_inline_result;\n JSCompiler_inline_result = localIdCounter++;\n 0 < JSCompiler_inline_result &&\n (identifierPrefix += \"H\" + JSCompiler_inline_result.toString(32));\n identifierPrefix += \"_\";\n } else\n (JSCompiler_inline_result = globalClientIdCounter++),\n (identifierPrefix =\n \"_\" +\n identifierPrefix +\n \"r_\" +\n JSCompiler_inline_result.toString(32) +\n \"_\");\n return (hook.memoizedState = identifierPrefix);\n },\n useHostTransitionStatus: useHostTransitionStatus,\n useFormState: mountActionState,\n useActionState: mountActionState,\n useOptimistic: function (passthrough) {\n var hook = mountWorkInProgressHook();\n hook.memoizedState = hook.baseState = passthrough;\n var queue = {\n pending: null,\n lanes: 0,\n dispatch: null,\n lastRenderedReducer: null,\n lastRenderedState: null\n };\n hook.queue = queue;\n hook = dispatchOptimisticSetState.bind(\n null,\n currentlyRenderingFiber,\n !0,\n queue\n );\n queue.dispatch = hook;\n return [passthrough, hook];\n },\n useMemoCache: useMemoCache,\n useCacheRefresh: function () {\n return (mountWorkInProgressHook().memoizedState = refreshCache.bind(\n null,\n currentlyRenderingFiber\n ));\n },\n useEffectEvent: function (callback) {\n var hook = mountWorkInProgressHook(),\n ref = { impl: callback };\n hook.memoizedState = ref;\n return function () {\n if (0 !== (executionContext & 2))\n throw Error(formatProdErrorMessage(440));\n return ref.impl.apply(void 0, arguments);\n };\n }\n },\n HooksDispatcherOnUpdate = {\n readContext: readContext,\n use: use,\n useCallback: updateCallback,\n useContext: readContext,\n useEffect: updateEffect,\n useImperativeHandle: updateImperativeHandle,\n useInsertionEffect: updateInsertionEffect,\n useLayoutEffect: updateLayoutEffect,\n useMemo: updateMemo,\n useReducer: updateReducer,\n useRef: updateRef,\n useState: function () {\n return updateReducer(basicStateReducer);\n },\n useDebugValue: mountDebugValue,\n useDeferredValue: function (value, initialValue) {\n var hook = updateWorkInProgressHook();\n return updateDeferredValueImpl(\n hook,\n currentHook.memoizedState,\n value,\n initialValue\n );\n },\n useTransition: function () {\n var booleanOrThenable = updateReducer(basicStateReducer)[0],\n start = updateWorkInProgressHook().memoizedState;\n return [\n \"boolean\" === typeof booleanOrThenable\n ? booleanOrThenable\n : useThenable(booleanOrThenable),\n start\n ];\n },\n useSyncExternalStore: updateSyncExternalStore,\n useId: updateId,\n useHostTransitionStatus: useHostTransitionStatus,\n useFormState: updateActionState,\n useActionState: updateActionState,\n useOptimistic: function (passthrough, reducer) {\n var hook = updateWorkInProgressHook();\n return updateOptimisticImpl(hook, currentHook, passthrough, reducer);\n },\n useMemoCache: useMemoCache,\n useCacheRefresh: updateRefresh\n };\nHooksDispatcherOnUpdate.useEffectEvent = updateEvent;\nvar HooksDispatcherOnRerender = {\n readContext: readContext,\n use: use,\n useCallback: updateCallback,\n useContext: readContext,\n useEffect: updateEffect,\n useImperativeHandle: updateImperativeHandle,\n useInsertionEffect: updateInsertionEffect,\n useLayoutEffect: updateLayoutEffect,\n useMemo: updateMemo,\n useReducer: rerenderReducer,\n useRef: updateRef,\n useState: function () {\n return rerenderReducer(basicStateReducer);\n },\n useDebugValue: mountDebugValue,\n useDeferredValue: function (value, initialValue) {\n var hook = updateWorkInProgressHook();\n return null === currentHook\n ? mountDeferredValueImpl(hook, value, initialValue)\n : updateDeferredValueImpl(\n hook,\n currentHook.memoizedState,\n value,\n initialValue\n );\n },\n useTransition: function () {\n var booleanOrThenable = rerenderReducer(basicStateReducer)[0],\n start = updateWorkInProgressHook().memoizedState;\n return [\n \"boolean\" === typeof booleanOrThenable\n ? booleanOrThenable\n : useThenable(booleanOrThenable),\n start\n ];\n },\n useSyncExternalStore: updateSyncExternalStore,\n useId: updateId,\n useHostTransitionStatus: useHostTransitionStatus,\n useFormState: rerenderActionState,\n useActionState: rerenderActionState,\n useOptimistic: function (passthrough, reducer) {\n var hook = updateWorkInProgressHook();\n if (null !== currentHook)\n return updateOptimisticImpl(hook, currentHook, passthrough, reducer);\n hook.baseState = passthrough;\n return [passthrough, hook.queue.dispatch];\n },\n useMemoCache: useMemoCache,\n useCacheRefresh: updateRefresh\n};\nHooksDispatcherOnRerender.useEffectEvent = updateEvent;\nfunction applyDerivedStateFromProps(\n workInProgress,\n ctor,\n getDerivedStateFromProps,\n nextProps\n) {\n ctor = workInProgress.memoizedState;\n getDerivedStateFromProps = getDerivedStateFromProps(nextProps, ctor);\n getDerivedStateFromProps =\n null === getDerivedStateFromProps || void 0 === getDerivedStateFromProps\n ? ctor\n : assign({}, ctor, getDerivedStateFromProps);\n workInProgress.memoizedState = getDerivedStateFromProps;\n 0 === workInProgress.lanes &&\n (workInProgress.updateQueue.baseState = getDerivedStateFromProps);\n}\nvar classComponentUpdater = {\n enqueueSetState: function (inst, payload, callback) {\n inst = inst._reactInternals;\n var lane = requestUpdateLane(),\n update = createUpdate(lane);\n update.payload = payload;\n void 0 !== callback && null !== callback && (update.callback = callback);\n payload = enqueueUpdate(inst, update, lane);\n null !== payload &&\n (scheduleUpdateOnFiber(payload, inst, lane),\n entangleTransitions(payload, inst, lane));\n },\n enqueueReplaceState: function (inst, payload, callback) {\n inst = inst._reactInternals;\n var lane = requestUpdateLane(),\n update = createUpdate(lane);\n update.tag = 1;\n update.payload = payload;\n void 0 !== callback && null !== callback && (update.callback = callback);\n payload = enqueueUpdate(inst, update, lane);\n null !== payload &&\n (scheduleUpdateOnFiber(payload, inst, lane),\n entangleTransitions(payload, inst, lane));\n },\n enqueueForceUpdate: function (inst, callback) {\n inst = inst._reactInternals;\n var lane = requestUpdateLane(),\n update = createUpdate(lane);\n update.tag = 2;\n void 0 !== callback && null !== callback && (update.callback = callback);\n callback = enqueueUpdate(inst, update, lane);\n null !== callback &&\n (scheduleUpdateOnFiber(callback, inst, lane),\n entangleTransitions(callback, inst, lane));\n }\n};\nfunction checkShouldComponentUpdate(\n workInProgress,\n ctor,\n oldProps,\n newProps,\n oldState,\n newState,\n nextContext\n) {\n workInProgress = workInProgress.stateNode;\n return \"function\" === typeof workInProgress.shouldComponentUpdate\n ? workInProgress.shouldComponentUpdate(newProps, newState, nextContext)\n : ctor.prototype && ctor.prototype.isPureReactComponent\n ? !shallowEqual(oldProps, newProps) || !shallowEqual(oldState, newState)\n : !0;\n}\nfunction callComponentWillReceiveProps(\n workInProgress,\n instance,\n newProps,\n nextContext\n) {\n workInProgress = instance.state;\n \"function\" === typeof instance.componentWillReceiveProps &&\n instance.componentWillReceiveProps(newProps, nextContext);\n \"function\" === typeof instance.UNSAFE_componentWillReceiveProps &&\n instance.UNSAFE_componentWillReceiveProps(newProps, nextContext);\n instance.state !== workInProgress &&\n classComponentUpdater.enqueueReplaceState(instance, instance.state, null);\n}\nfunction resolveClassComponentProps(Component, baseProps) {\n var newProps = baseProps;\n if (\"ref\" in baseProps) {\n newProps = {};\n for (var propName in baseProps)\n \"ref\" !== propName && (newProps[propName] = baseProps[propName]);\n }\n if ((Component = Component.defaultProps)) {\n newProps === baseProps && (newProps = assign({}, newProps));\n for (var propName$73 in Component)\n void 0 === newProps[propName$73] &&\n (newProps[propName$73] = Component[propName$73]);\n }\n return newProps;\n}\nfunction defaultOnUncaughtError(error) {\n reportGlobalError(error);\n}\nfunction defaultOnCaughtError(error) {\n console.error(error);\n}\nfunction defaultOnRecoverableError(error) {\n reportGlobalError(error);\n}\nfunction logUncaughtError(root, errorInfo) {\n try {\n var onUncaughtError = root.onUncaughtError;\n onUncaughtError(errorInfo.value, { componentStack: errorInfo.stack });\n } catch (e$74) {\n setTimeout(function () {\n throw e$74;\n });\n }\n}\nfunction logCaughtError(root, boundary, errorInfo) {\n try {\n var onCaughtError = root.onCaughtError;\n onCaughtError(errorInfo.value, {\n componentStack: errorInfo.stack,\n errorBoundary: 1 === boundary.tag ? boundary.stateNode : null\n });\n } catch (e$75) {\n setTimeout(function () {\n throw e$75;\n });\n }\n}\nfunction createRootErrorUpdate(root, errorInfo, lane) {\n lane = createUpdate(lane);\n lane.tag = 3;\n lane.payload = { element: null };\n lane.callback = function () {\n logUncaughtError(root, errorInfo);\n };\n return lane;\n}\nfunction createClassErrorUpdate(lane) {\n lane = createUpdate(lane);\n lane.tag = 3;\n return lane;\n}\nfunction initializeClassErrorUpdate(update, root, fiber, errorInfo) {\n var getDerivedStateFromError = fiber.type.getDerivedStateFromError;\n if (\"function\" === typeof getDerivedStateFromError) {\n var error = errorInfo.value;\n update.payload = function () {\n return getDerivedStateFromError(error);\n };\n update.callback = function () {\n logCaughtError(root, fiber, errorInfo);\n };\n }\n var inst = fiber.stateNode;\n null !== inst &&\n \"function\" === typeof inst.componentDidCatch &&\n (update.callback = function () {\n logCaughtError(root, fiber, errorInfo);\n \"function\" !== typeof getDerivedStateFromError &&\n (null === legacyErrorBoundariesThatAlreadyFailed\n ? (legacyErrorBoundariesThatAlreadyFailed = new Set([this]))\n : legacyErrorBoundariesThatAlreadyFailed.add(this));\n var stack = errorInfo.stack;\n this.componentDidCatch(errorInfo.value, {\n componentStack: null !== stack ? stack : \"\"\n });\n });\n}\nfunction throwException(\n root,\n returnFiber,\n sourceFiber,\n value,\n rootRenderLanes\n) {\n sourceFiber.flags |= 32768;\n if (\n null !== value &&\n \"object\" === typeof value &&\n \"function\" === typeof value.then\n ) {\n returnFiber = sourceFiber.alternate;\n null !== returnFiber &&\n propagateParentContextChanges(\n returnFiber,\n sourceFiber,\n rootRenderLanes,\n !0\n );\n sourceFiber = suspenseHandlerStackCursor.current;\n if (null !== sourceFiber) {\n switch (sourceFiber.tag) {\n case 31:\n case 13:\n return (\n null === shellBoundary\n ? renderDidSuspendDelayIfPossible()\n : null === sourceFiber.alternate &&\n 0 === workInProgressRootExitStatus &&\n (workInProgressRootExitStatus = 3),\n (sourceFiber.flags &= -257),\n (sourceFiber.flags |= 65536),\n (sourceFiber.lanes = rootRenderLanes),\n value === noopSuspenseyCommitThenable\n ? (sourceFiber.flags |= 16384)\n : ((returnFiber = sourceFiber.updateQueue),\n null === returnFiber\n ? (sourceFiber.updateQueue = new Set([value]))\n : returnFiber.add(value),\n attachPingListener(root, value, rootRenderLanes)),\n !1\n );\n case 22:\n return (\n (sourceFiber.flags |= 65536),\n value === noopSuspenseyCommitThenable\n ? (sourceFiber.flags |= 16384)\n : ((returnFiber = sourceFiber.updateQueue),\n null === returnFiber\n ? ((returnFiber = {\n transitions: null,\n markerInstances: null,\n retryQueue: new Set([value])\n }),\n (sourceFiber.updateQueue = returnFiber))\n : ((sourceFiber = returnFiber.retryQueue),\n null === sourceFiber\n ? (returnFiber.retryQueue = new Set([value]))\n : sourceFiber.add(value)),\n attachPingListener(root, value, rootRenderLanes)),\n !1\n );\n }\n throw Error(formatProdErrorMessage(435, sourceFiber.tag));\n }\n attachPingListener(root, value, rootRenderLanes);\n renderDidSuspendDelayIfPossible();\n return !1;\n }\n if (isHydrating)\n return (\n (returnFiber = suspenseHandlerStackCursor.current),\n null !== returnFiber\n ? (0 === (returnFiber.flags & 65536) && (returnFiber.flags |= 256),\n (returnFiber.flags |= 65536),\n (returnFiber.lanes = rootRenderLanes),\n value !== HydrationMismatchException &&\n ((root = Error(formatProdErrorMessage(422), { cause: value })),\n queueHydrationError(createCapturedValueAtFiber(root, sourceFiber))))\n : (value !== HydrationMismatchException &&\n ((returnFiber = Error(formatProdErrorMessage(423), {\n cause: value\n })),\n queueHydrationError(\n createCapturedValueAtFiber(returnFiber, sourceFiber)\n )),\n (root = root.current.alternate),\n (root.flags |= 65536),\n (rootRenderLanes &= -rootRenderLanes),\n (root.lanes |= rootRenderLanes),\n (value = createCapturedValueAtFiber(value, sourceFiber)),\n (rootRenderLanes = createRootErrorUpdate(\n root.stateNode,\n value,\n rootRenderLanes\n )),\n enqueueCapturedUpdate(root, rootRenderLanes),\n 4 !== workInProgressRootExitStatus &&\n (workInProgressRootExitStatus = 2)),\n !1\n );\n var wrapperError = Error(formatProdErrorMessage(520), { cause: value });\n wrapperError = createCapturedValueAtFiber(wrapperError, sourceFiber);\n null === workInProgressRootConcurrentErrors\n ? (workInProgressRootConcurrentErrors = [wrapperError])\n : workInProgressRootConcurrentErrors.push(wrapperError);\n 4 !== workInProgressRootExitStatus && (workInProgressRootExitStatus = 2);\n if (null === returnFiber) return !0;\n value = createCapturedValueAtFiber(value, sourceFiber);\n sourceFiber = returnFiber;\n do {\n switch (sourceFiber.tag) {\n case 3:\n return (\n (sourceFiber.flags |= 65536),\n (root = rootRenderLanes & -rootRenderLanes),\n (sourceFiber.lanes |= root),\n (root = createRootErrorUpdate(sourceFiber.stateNode, value, root)),\n enqueueCapturedUpdate(sourceFiber, root),\n !1\n );\n case 1:\n if (\n ((returnFiber = sourceFiber.type),\n (wrapperError = sourceFiber.stateNode),\n 0 === (sourceFiber.flags & 128) &&\n (\"function\" === typeof returnFiber.getDerivedStateFromError ||\n (null !== wrapperError &&\n \"function\" === typeof wrapperError.componentDidCatch &&\n (null === legacyErrorBoundariesThatAlreadyFailed ||\n !legacyErrorBoundariesThatAlreadyFailed.has(wrapperError)))))\n )\n return (\n (sourceFiber.flags |= 65536),\n (rootRenderLanes &= -rootRenderLanes),\n (sourceFiber.lanes |= rootRenderLanes),\n (rootRenderLanes = createClassErrorUpdate(rootRenderLanes)),\n initializeClassErrorUpdate(\n rootRenderLanes,\n root,\n sourceFiber,\n value\n ),\n enqueueCapturedUpdate(sourceFiber, rootRenderLanes),\n !1\n );\n }\n sourceFiber = sourceFiber.return;\n } while (null !== sourceFiber);\n return !1;\n}\nvar SelectiveHydrationException = Error(formatProdErrorMessage(461)),\n didReceiveUpdate = !1;\nfunction reconcileChildren(current, workInProgress, nextChildren, renderLanes) {\n workInProgress.child =\n null === current\n ? mountChildFibers(workInProgress, null, nextChildren, renderLanes)\n : reconcileChildFibers(\n workInProgress,\n current.child,\n nextChildren,\n renderLanes\n );\n}\nfunction updateForwardRef(\n current,\n workInProgress,\n Component,\n nextProps,\n renderLanes\n) {\n Component = Component.render;\n var ref = workInProgress.ref;\n if (\"ref\" in nextProps) {\n var propsWithoutRef = {};\n for (var key in nextProps)\n \"ref\" !== key && (propsWithoutRef[key] = nextProps[key]);\n } else propsWithoutRef = nextProps;\n prepareToReadContext(workInProgress);\n nextProps = renderWithHooks(\n current,\n workInProgress,\n Component,\n propsWithoutRef,\n ref,\n renderLanes\n );\n key = checkDidRenderIdHook();\n if (null !== current && !didReceiveUpdate)\n return (\n bailoutHooks(current, workInProgress, renderLanes),\n bailoutOnAlreadyFinishedWork(current, workInProgress, renderLanes)\n );\n isHydrating && key && pushMaterializedTreeId(workInProgress);\n workInProgress.flags |= 1;\n reconcileChildren(current, workInProgress, nextProps, renderLanes);\n return workInProgress.child;\n}\nfunction updateMemoComponent(\n current,\n workInProgress,\n Component,\n nextProps,\n renderLanes\n) {\n if (null === current) {\n var type = Component.type;\n if (\n \"function\" === typeof type &&\n !shouldConstruct(type) &&\n void 0 === type.defaultProps &&\n null === Component.compare\n )\n return (\n (workInProgress.tag = 15),\n (workInProgress.type = type),\n updateSimpleMemoComponent(\n current,\n workInProgress,\n type,\n nextProps,\n renderLanes\n )\n );\n current = createFiberFromTypeAndProps(\n Component.type,\n null,\n nextProps,\n workInProgress,\n workInProgress.mode,\n renderLanes\n );\n current.ref = workInProgress.ref;\n current.return = workInProgress;\n return (workInProgress.child = current);\n }\n type = current.child;\n if (!checkScheduledUpdateOrContext(current, renderLanes)) {\n var prevProps = type.memoizedProps;\n Component = Component.compare;\n Component = null !== Component ? Component : shallowEqual;\n if (Component(prevProps, nextProps) && current.ref === workInProgress.ref)\n return bailoutOnAlreadyFinishedWork(current, workInProgress, renderLanes);\n }\n workInProgress.flags |= 1;\n current = createWorkInProgress(type, nextProps);\n current.ref = workInProgress.ref;\n current.return = workInProgress;\n return (workInProgress.child = current);\n}\nfunction updateSimpleMemoComponent(\n current,\n workInProgress,\n Component,\n nextProps,\n renderLanes\n) {\n if (null !== current) {\n var prevProps = current.memoizedProps;\n if (\n shallowEqual(prevProps, nextProps) &&\n current.ref === workInProgress.ref\n )\n if (\n ((didReceiveUpdate = !1),\n (workInProgress.pendingProps = nextProps = prevProps),\n checkScheduledUpdateOrContext(current, renderLanes))\n )\n 0 !== (current.flags & 131072) && (didReceiveUpdate = !0);\n else\n return (\n (workInProgress.lanes = current.lanes),\n bailoutOnAlreadyFinishedWork(current, workInProgress, renderLanes)\n );\n }\n return updateFunctionComponent(\n current,\n workInProgress,\n Component,\n nextProps,\n renderLanes\n );\n}\nfunction updateOffscreenComponent(\n current,\n workInProgress,\n renderLanes,\n nextProps\n) {\n var nextChildren = nextProps.children,\n prevState = null !== current ? current.memoizedState : null;\n null === current &&\n null === workInProgress.stateNode &&\n (workInProgress.stateNode = {\n _visibility: 1,\n _pendingMarkers: null,\n _retryCache: null,\n _transitions: null\n });\n if (\"hidden\" === nextProps.mode) {\n if (0 !== (workInProgress.flags & 128)) {\n prevState =\n null !== prevState ? prevState.baseLanes | renderLanes : renderLanes;\n if (null !== current) {\n nextProps = workInProgress.child = current.child;\n for (nextChildren = 0; null !== nextProps; )\n (nextChildren =\n nextChildren | nextProps.lanes | nextProps.childLanes),\n (nextProps = nextProps.sibling);\n nextProps = nextChildren & ~prevState;\n } else (nextProps = 0), (workInProgress.child = null);\n return deferHiddenOffscreenComponent(\n current,\n workInProgress,\n prevState,\n renderLanes,\n nextProps\n );\n }\n if (0 !== (renderLanes & 536870912))\n (workInProgress.memoizedState = { baseLanes: 0, cachePool: null }),\n null !== current &&\n pushTransition(\n workInProgress,\n null !== prevState ? prevState.cachePool : null\n ),\n null !== prevState\n ? pushHiddenContext(workInProgress, prevState)\n : reuseHiddenContextOnStack(),\n pushOffscreenSuspenseHandler(workInProgress);\n else\n return (\n (nextProps = workInProgress.lanes = 536870912),\n deferHiddenOffscreenComponent(\n current,\n workInProgress,\n null !== prevState ? prevState.baseLanes | renderLanes : renderLanes,\n renderLanes,\n nextProps\n )\n );\n } else\n null !== prevState\n ? (pushTransition(workInProgress, prevState.cachePool),\n pushHiddenContext(workInProgress, prevState),\n reuseSuspenseHandlerOnStack(workInProgress),\n (workInProgress.memoizedState = null))\n : (null !== current && pushTransition(workInProgress, null),\n reuseHiddenContextOnStack(),\n reuseSuspenseHandlerOnStack(workInProgress));\n reconcileChildren(current, workInProgress, nextChildren, renderLanes);\n return workInProgress.child;\n}\nfunction bailoutOffscreenComponent(current, workInProgress) {\n (null !== current && 22 === current.tag) ||\n null !== workInProgress.stateNode ||\n (workInProgress.stateNode = {\n _visibility: 1,\n _pendingMarkers: null,\n _retryCache: null,\n _transitions: null\n });\n return workInProgress.sibling;\n}\nfunction deferHiddenOffscreenComponent(\n current,\n workInProgress,\n nextBaseLanes,\n renderLanes,\n remainingChildLanes\n) {\n var JSCompiler_inline_result = peekCacheFromPool();\n JSCompiler_inline_result =\n null === JSCompiler_inline_result\n ? null\n : { parent: CacheContext._currentValue, pool: JSCompiler_inline_result };\n workInProgress.memoizedState = {\n baseLanes: nextBaseLanes,\n cachePool: JSCompiler_inline_result\n };\n null !== current && pushTransition(workInProgress, null);\n reuseHiddenContextOnStack();\n pushOffscreenSuspenseHandler(workInProgress);\n null !== current &&\n propagateParentContextChanges(current, workInProgress, renderLanes, !0);\n workInProgress.childLanes = remainingChildLanes;\n return null;\n}\nfunction mountActivityChildren(workInProgress, nextProps) {\n nextProps = mountWorkInProgressOffscreenFiber(\n { mode: nextProps.mode, children: nextProps.children },\n workInProgress.mode\n );\n nextProps.ref = workInProgress.ref;\n workInProgress.child = nextProps;\n nextProps.return = workInProgress;\n return nextProps;\n}\nfunction retryActivityComponentWithoutHydrating(\n current,\n workInProgress,\n renderLanes\n) {\n reconcileChildFibers(workInProgress, current.child, null, renderLanes);\n current = mountActivityChildren(workInProgress, workInProgress.pendingProps);\n current.flags |= 2;\n popSuspenseHandler(workInProgress);\n workInProgress.memoizedState = null;\n return current;\n}\nfunction updateActivityComponent(current, workInProgress, renderLanes) {\n var nextProps = workInProgress.pendingProps,\n didSuspend = 0 !== (workInProgress.flags & 128);\n workInProgress.flags &= -129;\n if (null === current) {\n if (isHydrating) {\n if (\"hidden\" === nextProps.mode)\n return (\n (current = mountActivityChildren(workInProgress, nextProps)),\n (workInProgress.lanes = 536870912),\n bailoutOffscreenComponent(null, current)\n );\n pushDehydratedActivitySuspenseHandler(workInProgress);\n (current = nextHydratableInstance)\n ? ((current = canHydrateHydrationBoundary(\n current,\n rootOrSingletonContext\n )),\n (current = null !== current && \"&\" === current.data ? current : null),\n null !== current &&\n ((workInProgress.memoizedState = {\n dehydrated: current,\n treeContext:\n null !== treeContextProvider\n ? { id: treeContextId, overflow: treeContextOverflow }\n : null,\n retryLane: 536870912,\n hydrationErrors: null\n }),\n (renderLanes = createFiberFromDehydratedFragment(current)),\n (renderLanes.return = workInProgress),\n (workInProgress.child = renderLanes),\n (hydrationParentFiber = workInProgress),\n (nextHydratableInstance = null)))\n : (current = null);\n if (null === current) throw throwOnHydrationMismatch(workInProgress);\n workInProgress.lanes = 536870912;\n return null;\n }\n return mountActivityChildren(workInProgress, nextProps);\n }\n var prevState = current.memoizedState;\n if (null !== prevState) {\n var dehydrated = prevState.dehydrated;\n pushDehydratedActivitySuspenseHandler(workInProgress);\n if (didSuspend)\n if (workInProgress.flags & 256)\n (workInProgress.flags &= -257),\n (workInProgress = retryActivityComponentWithoutHydrating(\n current,\n workInProgress,\n renderLanes\n ));\n else if (null !== workInProgress.memoizedState)\n (workInProgress.child = current.child),\n (workInProgress.flags |= 128),\n (workInProgress = null);\n else throw Error(formatProdErrorMessage(558));\n else if (\n (didReceiveUpdate ||\n propagateParentContextChanges(current, workInProgress, renderLanes, !1),\n (didSuspend = 0 !== (renderLanes & current.childLanes)),\n didReceiveUpdate || didSuspend)\n ) {\n nextProps = workInProgressRoot;\n if (\n null !== nextProps &&\n ((dehydrated = getBumpedLaneForHydration(nextProps, renderLanes)),\n 0 !== dehydrated && dehydrated !== prevState.retryLane)\n )\n throw (\n ((prevState.retryLane = dehydrated),\n enqueueConcurrentRenderForLane(current, dehydrated),\n scheduleUpdateOnFiber(nextProps, current, dehydrated),\n SelectiveHydrationException)\n );\n renderDidSuspendDelayIfPossible();\n workInProgress = retryActivityComponentWithoutHydrating(\n current,\n workInProgress,\n renderLanes\n );\n } else\n (current = prevState.treeContext),\n (nextHydratableInstance = getNextHydratable(dehydrated.nextSibling)),\n (hydrationParentFiber = workInProgress),\n (isHydrating = !0),\n (hydrationErrors = null),\n (rootOrSingletonContext = !1),\n null !== current &&\n restoreSuspendedTreeContext(workInProgress, current),\n (workInProgress = mountActivityChildren(workInProgress, nextProps)),\n (workInProgress.flags |= 4096);\n return workInProgress;\n }\n current = createWorkInProgress(current.child, {\n mode: nextProps.mode,\n children: nextProps.children\n });\n current.ref = workInProgress.ref;\n workInProgress.child = current;\n current.return = workInProgress;\n return current;\n}\nfunction markRef(current, workInProgress) {\n var ref = workInProgress.ref;\n if (null === ref)\n null !== current &&\n null !== current.ref &&\n (workInProgress.flags |= 4194816);\n else {\n if (\"function\" !== typeof ref && \"object\" !== typeof ref)\n throw Error(formatProdErrorMessage(284));\n if (null === current || current.ref !== ref)\n workInProgress.flags |= 4194816;\n }\n}\nfunction updateFunctionComponent(\n current,\n workInProgress,\n Component,\n nextProps,\n renderLanes\n) {\n prepareToReadContext(workInProgress);\n Component = renderWithHooks(\n current,\n workInProgress,\n Component,\n nextProps,\n void 0,\n renderLanes\n );\n nextProps = checkDidRenderIdHook();\n if (null !== current && !didReceiveUpdate)\n return (\n bailoutHooks(current, workInProgress, renderLanes),\n bailoutOnAlreadyFinishedWork(current, workInProgress, renderLanes)\n );\n isHydrating && nextProps && pushMaterializedTreeId(workInProgress);\n workInProgress.flags |= 1;\n reconcileChildren(current, workInProgress, Component, renderLanes);\n return workInProgress.child;\n}\nfunction replayFunctionComponent(\n current,\n workInProgress,\n nextProps,\n Component,\n secondArg,\n renderLanes\n) {\n prepareToReadContext(workInProgress);\n workInProgress.updateQueue = null;\n nextProps = renderWithHooksAgain(\n workInProgress,\n Component,\n nextProps,\n secondArg\n );\n finishRenderingHooks(current);\n Component = checkDidRenderIdHook();\n if (null !== current && !didReceiveUpdate)\n return (\n bailoutHooks(current, workInProgress, renderLanes),\n bailoutOnAlreadyFinishedWork(current, workInProgress, renderLanes)\n );\n isHydrating && Component && pushMaterializedTreeId(workInProgress);\n workInProgress.flags |= 1;\n reconcileChildren(current, workInProgress, nextProps, renderLanes);\n return workInProgress.child;\n}\nfunction updateClassComponent(\n current,\n workInProgress,\n Component,\n nextProps,\n renderLanes\n) {\n prepareToReadContext(workInProgress);\n if (null === workInProgress.stateNode) {\n var context = emptyContextObject,\n contextType = Component.contextType;\n \"object\" === typeof contextType &&\n null !== contextType &&\n (context = readContext(contextType));\n context = new Component(nextProps, context);\n workInProgress.memoizedState =\n null !== context.state && void 0 !== context.state ? context.state : null;\n context.updater = classComponentUpdater;\n workInProgress.stateNode = context;\n context._reactInternals = workInProgress;\n context = workInProgress.stateNode;\n context.props = nextProps;\n context.state = workInProgress.memoizedState;\n context.refs = {};\n initializeUpdateQueue(workInProgress);\n contextType = Component.contextType;\n context.context =\n \"object\" === typeof contextType && null !== contextType\n ? readContext(contextType)\n : emptyContextObject;\n context.state = workInProgress.memoizedState;\n contextType = Component.getDerivedStateFromProps;\n \"function\" === typeof contextType &&\n (applyDerivedStateFromProps(\n workInProgress,\n Component,\n contextType,\n nextProps\n ),\n (context.state = workInProgress.memoizedState));\n \"function\" === typeof Component.getDerivedStateFromProps ||\n \"function\" === typeof context.getSnapshotBeforeUpdate ||\n (\"function\" !== typeof context.UNSAFE_componentWillMount &&\n \"function\" !== typeof context.componentWillMount) ||\n ((contextType = context.state),\n \"function\" === typeof context.componentWillMount &&\n context.componentWillMount(),\n \"function\" === typeof context.UNSAFE_componentWillMount &&\n context.UNSAFE_componentWillMount(),\n contextType !== context.state &&\n classComponentUpdater.enqueueReplaceState(context, context.state, null),\n processUpdateQueue(workInProgress, nextProps, context, renderLanes),\n suspendIfUpdateReadFromEntangledAsyncAction(),\n (context.state = workInProgress.memoizedState));\n \"function\" === typeof context.componentDidMount &&\n (workInProgress.flags |= 4194308);\n nextProps = !0;\n } else if (null === current) {\n context = workInProgress.stateNode;\n var unresolvedOldProps = workInProgress.memoizedProps,\n oldProps = resolveClassComponentProps(Component, unresolvedOldProps);\n context.props = oldProps;\n var oldContext = context.context,\n contextType$jscomp$0 = Component.contextType;\n contextType = emptyContextObject;\n \"object\" === typeof contextType$jscomp$0 &&\n null !== contextType$jscomp$0 &&\n (contextType = readContext(contextType$jscomp$0));\n var getDerivedStateFromProps = Component.getDerivedStateFromProps;\n contextType$jscomp$0 =\n \"function\" === typeof getDerivedStateFromProps ||\n \"function\" === typeof context.getSnapshotBeforeUpdate;\n unresolvedOldProps = workInProgress.pendingProps !== unresolvedOldProps;\n contextType$jscomp$0 ||\n (\"function\" !== typeof context.UNSAFE_componentWillReceiveProps &&\n \"function\" !== typeof context.componentWillReceiveProps) ||\n ((unresolvedOldProps || oldContext !== contextType) &&\n callComponentWillReceiveProps(\n workInProgress,\n context,\n nextProps,\n contextType\n ));\n hasForceUpdate = !1;\n var oldState = workInProgress.memoizedState;\n context.state = oldState;\n processUpdateQueue(workInProgress, nextProps, context, renderLanes);\n suspendIfUpdateReadFromEntangledAsyncAction();\n oldContext = workInProgress.memoizedState;\n unresolvedOldProps || oldState !== oldContext || hasForceUpdate\n ? (\"function\" === typeof getDerivedStateFromProps &&\n (applyDerivedStateFromProps(\n workInProgress,\n Component,\n getDerivedStateFromProps,\n nextProps\n ),\n (oldContext = workInProgress.memoizedState)),\n (oldProps =\n hasForceUpdate ||\n checkShouldComponentUpdate(\n workInProgress,\n Component,\n oldProps,\n nextProps,\n oldState,\n oldContext,\n contextType\n ))\n ? (contextType$jscomp$0 ||\n (\"function\" !== typeof context.UNSAFE_componentWillMount &&\n \"function\" !== typeof context.componentWillMount) ||\n (\"function\" === typeof context.componentWillMount &&\n context.componentWillMount(),\n \"function\" === typeof context.UNSAFE_componentWillMount &&\n context.UNSAFE_componentWillMount()),\n \"function\" === typeof context.componentDidMount &&\n (workInProgress.flags |= 4194308))\n : (\"function\" === typeof context.componentDidMount &&\n (workInProgress.flags |= 4194308),\n (workInProgress.memoizedProps = nextProps),\n (workInProgress.memoizedState = oldContext)),\n (context.props = nextProps),\n (context.state = oldContext),\n (context.context = contextType),\n (nextProps = oldProps))\n : (\"function\" === typeof context.componentDidMount &&\n (workInProgress.flags |= 4194308),\n (nextProps = !1));\n } else {\n context = workInProgress.stateNode;\n cloneUpdateQueue(current, workInProgress);\n contextType = workInProgress.memoizedProps;\n contextType$jscomp$0 = resolveClassComponentProps(Component, contextType);\n context.props = contextType$jscomp$0;\n getDerivedStateFromProps = workInProgress.pendingProps;\n oldState = context.context;\n oldContext = Component.contextType;\n oldProps = emptyContextObject;\n \"object\" === typeof oldContext &&\n null !== oldContext &&\n (oldProps = readContext(oldContext));\n unresolvedOldProps = Component.getDerivedStateFromProps;\n (oldContext =\n \"function\" === typeof unresolvedOldProps ||\n \"function\" === typeof context.getSnapshotBeforeUpdate) ||\n (\"function\" !== typeof context.UNSAFE_componentWillReceiveProps &&\n \"function\" !== typeof context.componentWillReceiveProps) ||\n ((contextType !== getDerivedStateFromProps || oldState !== oldProps) &&\n callComponentWillReceiveProps(\n workInProgress,\n context,\n nextProps,\n oldProps\n ));\n hasForceUpdate = !1;\n oldState = workInProgress.memoizedState;\n context.state = oldState;\n processUpdateQueue(workInProgress, nextProps, context, renderLanes);\n suspendIfUpdateReadFromEntangledAsyncAction();\n var newState = workInProgress.memoizedState;\n contextType !== getDerivedStateFromProps ||\n oldState !== newState ||\n hasForceUpdate ||\n (null !== current &&\n null !== current.dependencies &&\n checkIfContextChanged(current.dependencies))\n ? (\"function\" === typeof unresolvedOldProps &&\n (applyDerivedStateFromProps(\n workInProgress,\n Component,\n unresolvedOldProps,\n nextProps\n ),\n (newState = workInProgress.memoizedState)),\n (contextType$jscomp$0 =\n hasForceUpdate ||\n checkShouldComponentUpdate(\n workInProgress,\n Component,\n contextType$jscomp$0,\n nextProps,\n oldState,\n newState,\n oldProps\n ) ||\n (null !== current &&\n null !== current.dependencies &&\n checkIfContextChanged(current.dependencies)))\n ? (oldContext ||\n (\"function\" !== typeof context.UNSAFE_componentWillUpdate &&\n \"function\" !== typeof context.componentWillUpdate) ||\n (\"function\" === typeof context.componentWillUpdate &&\n context.componentWillUpdate(nextProps, newState, oldProps),\n \"function\" === typeof context.UNSAFE_componentWillUpdate &&\n context.UNSAFE_componentWillUpdate(\n nextProps,\n newState,\n oldProps\n )),\n \"function\" === typeof context.componentDidUpdate &&\n (workInProgress.flags |= 4),\n \"function\" === typeof context.getSnapshotBeforeUpdate &&\n (workInProgress.flags |= 1024))\n : (\"function\" !== typeof context.componentDidUpdate ||\n (contextType === current.memoizedProps &&\n oldState === current.memoizedState) ||\n (workInProgress.flags |= 4),\n \"function\" !== typeof context.getSnapshotBeforeUpdate ||\n (contextType === current.memoizedProps &&\n oldState === current.memoizedState) ||\n (workInProgress.flags |= 1024),\n (workInProgress.memoizedProps = nextProps),\n (workInProgress.memoizedState = newState)),\n (context.props = nextProps),\n (context.state = newState),\n (context.context = oldProps),\n (nextProps = contextType$jscomp$0))\n : (\"function\" !== typeof context.componentDidUpdate ||\n (contextType === current.memoizedProps &&\n oldState === current.memoizedState) ||\n (workInProgress.flags |= 4),\n \"function\" !== typeof context.getSnapshotBeforeUpdate ||\n (contextType === current.memoizedProps &&\n oldState === current.memoizedState) ||\n (workInProgress.flags |= 1024),\n (nextProps = !1));\n }\n context = nextProps;\n markRef(current, workInProgress);\n nextProps = 0 !== (workInProgress.flags & 128);\n context || nextProps\n ? ((context = workInProgress.stateNode),\n (Component =\n nextProps && \"function\" !== typeof Component.getDerivedStateFromError\n ? null\n : context.render()),\n (workInProgress.flags |= 1),\n null !== current && nextProps\n ? ((workInProgress.child = reconcileChildFibers(\n workInProgress,\n current.child,\n null,\n renderLanes\n )),\n (workInProgress.child = reconcileChildFibers(\n workInProgress,\n null,\n Component,\n renderLanes\n )))\n : reconcileChildren(current, workInProgress, Component, renderLanes),\n (workInProgress.memoizedState = context.state),\n (current = workInProgress.child))\n : (current = bailoutOnAlreadyFinishedWork(\n current,\n workInProgress,\n renderLanes\n ));\n return current;\n}\nfunction mountHostRootWithoutHydrating(\n current,\n workInProgress,\n nextChildren,\n renderLanes\n) {\n resetHydrationState();\n workInProgress.flags |= 256;\n reconcileChildren(current, workInProgress, nextChildren, renderLanes);\n return workInProgress.child;\n}\nvar SUSPENDED_MARKER = {\n dehydrated: null,\n treeContext: null,\n retryLane: 0,\n hydrationErrors: null\n};\nfunction mountSuspenseOffscreenState(renderLanes) {\n return { baseLanes: renderLanes, cachePool: getSuspendedCache() };\n}\nfunction getRemainingWorkInPrimaryTree(\n current,\n primaryTreeDidDefer,\n renderLanes\n) {\n current = null !== current ? current.childLanes & ~renderLanes : 0;\n primaryTreeDidDefer && (current |= workInProgressDeferredLane);\n return current;\n}\nfunction updateSuspenseComponent(current, workInProgress, renderLanes) {\n var nextProps = workInProgress.pendingProps,\n showFallback = !1,\n didSuspend = 0 !== (workInProgress.flags & 128),\n JSCompiler_temp;\n (JSCompiler_temp = didSuspend) ||\n (JSCompiler_temp =\n null !== current && null === current.memoizedState\n ? !1\n : 0 !== (suspenseStackCursor.current & 2));\n JSCompiler_temp && ((showFallback = !0), (workInProgress.flags &= -129));\n JSCompiler_temp = 0 !== (workInProgress.flags & 32);\n workInProgress.flags &= -33;\n if (null === current) {\n if (isHydrating) {\n showFallback\n ? pushPrimaryTreeSuspenseHandler(workInProgress)\n : reuseSuspenseHandlerOnStack(workInProgress);\n (current = nextHydratableInstance)\n ? ((current = canHydrateHydrationBoundary(\n current,\n rootOrSingletonContext\n )),\n (current = null !== current && \"&\" !== current.data ? current : null),\n null !== current &&\n ((workInProgress.memoizedState = {\n dehydrated: current,\n treeContext:\n null !== treeContextProvider\n ? { id: treeContextId, overflow: treeContextOverflow }\n : null,\n retryLane: 536870912,\n hydrationErrors: null\n }),\n (renderLanes = createFiberFromDehydratedFragment(current)),\n (renderLanes.return = workInProgress),\n (workInProgress.child = renderLanes),\n (hydrationParentFiber = workInProgress),\n (nextHydratableInstance = null)))\n : (current = null);\n if (null === current) throw throwOnHydrationMismatch(workInProgress);\n isSuspenseInstanceFallback(current)\n ? (workInProgress.lanes = 32)\n : (workInProgress.lanes = 536870912);\n return null;\n }\n var nextPrimaryChildren = nextProps.children;\n nextProps = nextProps.fallback;\n if (showFallback)\n return (\n reuseSuspenseHandlerOnStack(workInProgress),\n (showFallback = workInProgress.mode),\n (nextPrimaryChildren = mountWorkInProgressOffscreenFiber(\n { mode: \"hidden\", children: nextPrimaryChildren },\n showFallback\n )),\n (nextProps = createFiberFromFragment(\n nextProps,\n showFallback,\n renderLanes,\n null\n )),\n (nextPrimaryChildren.return = workInProgress),\n (nextProps.return = workInProgress),\n (nextPrimaryChildren.sibling = nextProps),\n (workInProgress.child = nextPrimaryChildren),\n (nextProps = workInProgress.child),\n (nextProps.memoizedState = mountSuspenseOffscreenState(renderLanes)),\n (nextProps.childLanes = getRemainingWorkInPrimaryTree(\n current,\n JSCompiler_temp,\n renderLanes\n )),\n (workInProgress.memoizedState = SUSPENDED_MARKER),\n bailoutOffscreenComponent(null, nextProps)\n );\n pushPrimaryTreeSuspenseHandler(workInProgress);\n return mountSuspensePrimaryChildren(workInProgress, nextPrimaryChildren);\n }\n var prevState = current.memoizedState;\n if (\n null !== prevState &&\n ((nextPrimaryChildren = prevState.dehydrated), null !== nextPrimaryChildren)\n ) {\n if (didSuspend)\n workInProgress.flags & 256\n ? (pushPrimaryTreeSuspenseHandler(workInProgress),\n (workInProgress.flags &= -257),\n (workInProgress = retrySuspenseComponentWithoutHydrating(\n current,\n workInProgress,\n renderLanes\n )))\n : null !== workInProgress.memoizedState\n ? (reuseSuspenseHandlerOnStack(workInProgress),\n (workInProgress.child = current.child),\n (workInProgress.flags |= 128),\n (workInProgress = null))\n : (reuseSuspenseHandlerOnStack(workInProgress),\n (nextPrimaryChildren = nextProps.fallback),\n (showFallback = workInProgress.mode),\n (nextProps = mountWorkInProgressOffscreenFiber(\n { mode: \"visible\", children: nextProps.children },\n showFallback\n )),\n (nextPrimaryChildren = createFiberFromFragment(\n nextPrimaryChildren,\n showFallback,\n renderLanes,\n null\n )),\n (nextPrimaryChildren.flags |= 2),\n (nextProps.return = workInProgress),\n (nextPrimaryChildren.return = workInProgress),\n (nextProps.sibling = nextPrimaryChildren),\n (workInProgress.child = nextProps),\n reconcileChildFibers(\n workInProgress,\n current.child,\n null,\n renderLanes\n ),\n (nextProps = workInProgress.child),\n (nextProps.memoizedState =\n mountSuspenseOffscreenState(renderLanes)),\n (nextProps.childLanes = getRemainingWorkInPrimaryTree(\n current,\n JSCompiler_temp,\n renderLanes\n )),\n (workInProgress.memoizedState = SUSPENDED_MARKER),\n (workInProgress = bailoutOffscreenComponent(null, nextProps)));\n else if (\n (pushPrimaryTreeSuspenseHandler(workInProgress),\n isSuspenseInstanceFallback(nextPrimaryChildren))\n ) {\n JSCompiler_temp =\n nextPrimaryChildren.nextSibling &&\n nextPrimaryChildren.nextSibling.dataset;\n if (JSCompiler_temp) var digest = JSCompiler_temp.dgst;\n JSCompiler_temp = digest;\n nextProps = Error(formatProdErrorMessage(419));\n nextProps.stack = \"\";\n nextProps.digest = JSCompiler_temp;\n queueHydrationError({ value: nextProps, source: null, stack: null });\n workInProgress = retrySuspenseComponentWithoutHydrating(\n current,\n workInProgress,\n renderLanes\n );\n } else if (\n (didReceiveUpdate ||\n propagateParentContextChanges(current, workInProgress, renderLanes, !1),\n (JSCompiler_temp = 0 !== (renderLanes & current.childLanes)),\n didReceiveUpdate || JSCompiler_temp)\n ) {\n JSCompiler_temp = workInProgressRoot;\n if (\n null !== JSCompiler_temp &&\n ((nextProps = getBumpedLaneForHydration(JSCompiler_temp, renderLanes)),\n 0 !== nextProps && nextProps !== prevState.retryLane)\n )\n throw (\n ((prevState.retryLane = nextProps),\n enqueueConcurrentRenderForLane(current, nextProps),\n scheduleUpdateOnFiber(JSCompiler_temp, current, nextProps),\n SelectiveHydrationException)\n );\n isSuspenseInstancePending(nextPrimaryChildren) ||\n renderDidSuspendDelayIfPossible();\n workInProgress = retrySuspenseComponentWithoutHydrating(\n current,\n workInProgress,\n renderLanes\n );\n } else\n isSuspenseInstancePending(nextPrimaryChildren)\n ? ((workInProgress.flags |= 192),\n (workInProgress.child = current.child),\n (workInProgress = null))\n : ((current = prevState.treeContext),\n (nextHydratableInstance = getNextHydratable(\n nextPrimaryChildren.nextSibling\n )),\n (hydrationParentFiber = workInProgress),\n (isHydrating = !0),\n (hydrationErrors = null),\n (rootOrSingletonContext = !1),\n null !== current &&\n restoreSuspendedTreeContext(workInProgress, current),\n (workInProgress = mountSuspensePrimaryChildren(\n workInProgress,\n nextProps.children\n )),\n (workInProgress.flags |= 4096));\n return workInProgress;\n }\n if (showFallback)\n return (\n reuseSuspenseHandlerOnStack(workInProgress),\n (nextPrimaryChildren = nextProps.fallback),\n (showFallback = workInProgress.mode),\n (prevState = current.child),\n (digest = prevState.sibling),\n (nextProps = createWorkInProgress(prevState, {\n mode: \"hidden\",\n children: nextProps.children\n })),\n (nextProps.subtreeFlags = prevState.subtreeFlags & 65011712),\n null !== digest\n ? (nextPrimaryChildren = createWorkInProgress(\n digest,\n nextPrimaryChildren\n ))\n : ((nextPrimaryChildren = createFiberFromFragment(\n nextPrimaryChildren,\n showFallback,\n renderLanes,\n null\n )),\n (nextPrimaryChildren.flags |= 2)),\n (nextPrimaryChildren.return = workInProgress),\n (nextProps.return = workInProgress),\n (nextProps.sibling = nextPrimaryChildren),\n (workInProgress.child = nextProps),\n bailoutOffscreenComponent(null, nextProps),\n (nextProps = workInProgress.child),\n (nextPrimaryChildren = current.child.memoizedState),\n null === nextPrimaryChildren\n ? (nextPrimaryChildren = mountSuspenseOffscreenState(renderLanes))\n : ((showFallback = nextPrimaryChildren.cachePool),\n null !== showFallback\n ? ((prevState = CacheContext._currentValue),\n (showFallback =\n showFallback.parent !== prevState\n ? { parent: prevState, pool: prevState }\n : showFallback))\n : (showFallback = getSuspendedCache()),\n (nextPrimaryChildren = {\n baseLanes: nextPrimaryChildren.baseLanes | renderLanes,\n cachePool: showFallback\n })),\n (nextProps.memoizedState = nextPrimaryChildren),\n (nextProps.childLanes = getRemainingWorkInPrimaryTree(\n current,\n JSCompiler_temp,\n renderLanes\n )),\n (workInProgress.memoizedState = SUSPENDED_MARKER),\n bailoutOffscreenComponent(current.child, nextProps)\n );\n pushPrimaryTreeSuspenseHandler(workInProgress);\n renderLanes = current.child;\n current = renderLanes.sibling;\n renderLanes = createWorkInProgress(renderLanes, {\n mode: \"visible\",\n children: nextProps.children\n });\n renderLanes.return = workInProgress;\n renderLanes.sibling = null;\n null !== current &&\n ((JSCompiler_temp = workInProgress.deletions),\n null === JSCompiler_temp\n ? ((workInProgress.deletions = [current]), (workInProgress.flags |= 16))\n : JSCompiler_temp.push(current));\n workInProgress.child = renderLanes;\n workInProgress.memoizedState = null;\n return renderLanes;\n}\nfunction mountSuspensePrimaryChildren(workInProgress, primaryChildren) {\n primaryChildren = mountWorkInProgressOffscreenFiber(\n { mode: \"visible\", children: primaryChildren },\n workInProgress.mode\n );\n primaryChildren.return = workInProgress;\n return (workInProgress.child = primaryChildren);\n}\nfunction mountWorkInProgressOffscreenFiber(offscreenProps, mode) {\n offscreenProps = createFiberImplClass(22, offscreenProps, null, mode);\n offscreenProps.lanes = 0;\n return offscreenProps;\n}\nfunction retrySuspenseComponentWithoutHydrating(\n current,\n workInProgress,\n renderLanes\n) {\n reconcileChildFibers(workInProgress, current.child, null, renderLanes);\n current = mountSuspensePrimaryChildren(\n workInProgress,\n workInProgress.pendingProps.children\n );\n current.flags |= 2;\n workInProgress.memoizedState = null;\n return current;\n}\nfunction scheduleSuspenseWorkOnFiber(fiber, renderLanes, propagationRoot) {\n fiber.lanes |= renderLanes;\n var alternate = fiber.alternate;\n null !== alternate && (alternate.lanes |= renderLanes);\n scheduleContextWorkOnParentPath(fiber.return, renderLanes, propagationRoot);\n}\nfunction initSuspenseListRenderState(\n workInProgress,\n isBackwards,\n tail,\n lastContentRow,\n tailMode,\n treeForkCount\n) {\n var renderState = workInProgress.memoizedState;\n null === renderState\n ? (workInProgress.memoizedState = {\n isBackwards: isBackwards,\n rendering: null,\n renderingStartTime: 0,\n last: lastContentRow,\n tail: tail,\n tailMode: tailMode,\n treeForkCount: treeForkCount\n })\n : ((renderState.isBackwards = isBackwards),\n (renderState.rendering = null),\n (renderState.renderingStartTime = 0),\n (renderState.last = lastContentRow),\n (renderState.tail = tail),\n (renderState.tailMode = tailMode),\n (renderState.treeForkCount = treeForkCount));\n}\nfunction updateSuspenseListComponent(current, workInProgress, renderLanes) {\n var nextProps = workInProgress.pendingProps,\n revealOrder = nextProps.revealOrder,\n tailMode = nextProps.tail;\n nextProps = nextProps.children;\n var suspenseContext = suspenseStackCursor.current,\n shouldForceFallback = 0 !== (suspenseContext & 2);\n shouldForceFallback\n ? ((suspenseContext = (suspenseContext & 1) | 2),\n (workInProgress.flags |= 128))\n : (suspenseContext &= 1);\n push(suspenseStackCursor, suspenseContext);\n reconcileChildren(current, workInProgress, nextProps, renderLanes);\n nextProps = isHydrating ? treeForkCount : 0;\n if (!shouldForceFallback && null !== current && 0 !== (current.flags & 128))\n a: for (current = workInProgress.child; null !== current; ) {\n if (13 === current.tag)\n null !== current.memoizedState &&\n scheduleSuspenseWorkOnFiber(current, renderLanes, workInProgress);\n else if (19 === current.tag)\n scheduleSuspenseWorkOnFiber(current, renderLanes, workInProgress);\n else if (null !== current.child) {\n current.child.return = current;\n current = current.child;\n continue;\n }\n if (current === workInProgress) break a;\n for (; null === current.sibling; ) {\n if (null === current.return || current.return === workInProgress)\n break a;\n current = current.return;\n }\n current.sibling.return = current.return;\n current = current.sibling;\n }\n switch (revealOrder) {\n case \"forwards\":\n renderLanes = workInProgress.child;\n for (revealOrder = null; null !== renderLanes; )\n (current = renderLanes.alternate),\n null !== current &&\n null === findFirstSuspended(current) &&\n (revealOrder = renderLanes),\n (renderLanes = renderLanes.sibling);\n renderLanes = revealOrder;\n null === renderLanes\n ? ((revealOrder = workInProgress.child), (workInProgress.child = null))\n : ((revealOrder = renderLanes.sibling), (renderLanes.sibling = null));\n initSuspenseListRenderState(\n workInProgress,\n !1,\n revealOrder,\n renderLanes,\n tailMode,\n nextProps\n );\n break;\n case \"backwards\":\n case \"unstable_legacy-backwards\":\n renderLanes = null;\n revealOrder = workInProgress.child;\n for (workInProgress.child = null; null !== revealOrder; ) {\n current = revealOrder.alternate;\n if (null !== current && null === findFirstSuspended(current)) {\n workInProgress.child = revealOrder;\n break;\n }\n current = revealOrder.sibling;\n revealOrder.sibling = renderLanes;\n renderLanes = revealOrder;\n revealOrder = current;\n }\n initSuspenseListRenderState(\n workInProgress,\n !0,\n renderLanes,\n null,\n tailMode,\n nextProps\n );\n break;\n case \"together\":\n initSuspenseListRenderState(\n workInProgress,\n !1,\n null,\n null,\n void 0,\n nextProps\n );\n break;\n default:\n workInProgress.memoizedState = null;\n }\n return workInProgress.child;\n}\nfunction bailoutOnAlreadyFinishedWork(current, workInProgress, renderLanes) {\n null !== current && (workInProgress.dependencies = current.dependencies);\n workInProgressRootSkippedLanes |= workInProgress.lanes;\n if (0 === (renderLanes & workInProgress.childLanes))\n if (null !== current) {\n if (\n (propagateParentContextChanges(\n current,\n workInProgress,\n renderLanes,\n !1\n ),\n 0 === (renderLanes & workInProgress.childLanes))\n )\n return null;\n } else return null;\n if (null !== current && workInProgress.child !== current.child)\n throw Error(formatProdErrorMessage(153));\n if (null !== workInProgress.child) {\n current = workInProgress.child;\n renderLanes = createWorkInProgress(current, current.pendingProps);\n workInProgress.child = renderLanes;\n for (renderLanes.return = workInProgress; null !== current.sibling; )\n (current = current.sibling),\n (renderLanes = renderLanes.sibling =\n createWorkInProgress(current, current.pendingProps)),\n (renderLanes.return = workInProgress);\n renderLanes.sibling = null;\n }\n return workInProgress.child;\n}\nfunction checkScheduledUpdateOrContext(current, renderLanes) {\n if (0 !== (current.lanes & renderLanes)) return !0;\n current = current.dependencies;\n return null !== current && checkIfContextChanged(current) ? !0 : !1;\n}\nfunction attemptEarlyBailoutIfNoScheduledUpdate(\n current,\n workInProgress,\n renderLanes\n) {\n switch (workInProgress.tag) {\n case 3:\n pushHostContainer(workInProgress, workInProgress.stateNode.containerInfo);\n pushProvider(workInProgress, CacheContext, current.memoizedState.cache);\n resetHydrationState();\n break;\n case 27:\n case 5:\n pushHostContext(workInProgress);\n break;\n case 4:\n pushHostContainer(workInProgress, workInProgress.stateNode.containerInfo);\n break;\n case 10:\n pushProvider(\n workInProgress,\n workInProgress.type,\n workInProgress.memoizedProps.value\n );\n break;\n case 31:\n if (null !== workInProgress.memoizedState)\n return (\n (workInProgress.flags |= 128),\n pushDehydratedActivitySuspenseHandler(workInProgress),\n null\n );\n break;\n case 13:\n var state$102 = workInProgress.memoizedState;\n if (null !== state$102) {\n if (null !== state$102.dehydrated)\n return (\n pushPrimaryTreeSuspenseHandler(workInProgress),\n (workInProgress.flags |= 128),\n null\n );\n if (0 !== (renderLanes & workInProgress.child.childLanes))\n return updateSuspenseComponent(current, workInProgress, renderLanes);\n pushPrimaryTreeSuspenseHandler(workInProgress);\n current = bailoutOnAlreadyFinishedWork(\n current,\n workInProgress,\n renderLanes\n );\n return null !== current ? current.sibling : null;\n }\n pushPrimaryTreeSuspenseHandler(workInProgress);\n break;\n case 19:\n var didSuspendBefore = 0 !== (current.flags & 128);\n state$102 = 0 !== (renderLanes & workInProgress.childLanes);\n state$102 ||\n (propagateParentContextChanges(\n current,\n workInProgress,\n renderLanes,\n !1\n ),\n (state$102 = 0 !== (renderLanes & workInProgress.childLanes)));\n if (didSuspendBefore) {\n if (state$102)\n return updateSuspenseListComponent(\n current,\n workInProgress,\n renderLanes\n );\n workInProgress.flags |= 128;\n }\n didSuspendBefore = workInProgress.memoizedState;\n null !== didSuspendBefore &&\n ((didSuspendBefore.rendering = null),\n (didSuspendBefore.tail = null),\n (didSuspendBefore.lastEffect = null));\n push(suspenseStackCursor, suspenseStackCursor.current);\n if (state$102) break;\n else return null;\n case 22:\n return (\n (workInProgress.lanes = 0),\n updateOffscreenComponent(\n current,\n workInProgress,\n renderLanes,\n workInProgress.pendingProps\n )\n );\n case 24:\n pushProvider(workInProgress, CacheContext, current.memoizedState.cache);\n }\n return bailoutOnAlreadyFinishedWork(current, workInProgress, renderLanes);\n}\nfunction beginWork(current, workInProgress, renderLanes) {\n if (null !== current)\n if (current.memoizedProps !== workInProgress.pendingProps)\n didReceiveUpdate = !0;\n else {\n if (\n !checkScheduledUpdateOrContext(current, renderLanes) &&\n 0 === (workInProgress.flags & 128)\n )\n return (\n (didReceiveUpdate = !1),\n attemptEarlyBailoutIfNoScheduledUpdate(\n current,\n workInProgress,\n renderLanes\n )\n );\n didReceiveUpdate = 0 !== (current.flags & 131072) ? !0 : !1;\n }\n else\n (didReceiveUpdate = !1),\n isHydrating &&\n 0 !== (workInProgress.flags & 1048576) &&\n pushTreeId(workInProgress, treeForkCount, workInProgress.index);\n workInProgress.lanes = 0;\n switch (workInProgress.tag) {\n case 16:\n a: {\n var props = workInProgress.pendingProps;\n current = resolveLazy(workInProgress.elementType);\n workInProgress.type = current;\n if (\"function\" === typeof current)\n shouldConstruct(current)\n ? ((props = resolveClassComponentProps(current, props)),\n (workInProgress.tag = 1),\n (workInProgress = updateClassComponent(\n null,\n workInProgress,\n current,\n props,\n renderLanes\n )))\n : ((workInProgress.tag = 0),\n (workInProgress = updateFunctionComponent(\n null,\n workInProgress,\n current,\n props,\n renderLanes\n )));\n else {\n if (void 0 !== current && null !== current) {\n var $$typeof = current.$$typeof;\n if ($$typeof === REACT_FORWARD_REF_TYPE) {\n workInProgress.tag = 11;\n workInProgress = updateForwardRef(\n null,\n workInProgress,\n current,\n props,\n renderLanes\n );\n break a;\n } else if ($$typeof === REACT_MEMO_TYPE) {\n workInProgress.tag = 14;\n workInProgress = updateMemoComponent(\n null,\n workInProgress,\n current,\n props,\n renderLanes\n );\n break a;\n }\n }\n workInProgress = getComponentNameFromType(current) || current;\n throw Error(formatProdErrorMessage(306, workInProgress, \"\"));\n }\n }\n return workInProgress;\n case 0:\n return updateFunctionComponent(\n current,\n workInProgress,\n workInProgress.type,\n workInProgress.pendingProps,\n renderLanes\n );\n case 1:\n return (\n (props = workInProgress.type),\n ($$typeof = resolveClassComponentProps(\n props,\n workInProgress.pendingProps\n )),\n updateClassComponent(\n current,\n workInProgress,\n props,\n $$typeof,\n renderLanes\n )\n );\n case 3:\n a: {\n pushHostContainer(\n workInProgress,\n workInProgress.stateNode.containerInfo\n );\n if (null === current) throw Error(formatProdErrorMessage(387));\n props = workInProgress.pendingProps;\n var prevState = workInProgress.memoizedState;\n $$typeof = prevState.element;\n cloneUpdateQueue(current, workInProgress);\n processUpdateQueue(workInProgress, props, null, renderLanes);\n var nextState = workInProgress.memoizedState;\n props = nextState.cache;\n pushProvider(workInProgress, CacheContext, props);\n props !== prevState.cache &&\n propagateContextChanges(\n workInProgress,\n [CacheContext],\n renderLanes,\n !0\n );\n suspendIfUpdateReadFromEntangledAsyncAction();\n props = nextState.element;\n if (prevState.isDehydrated)\n if (\n ((prevState = {\n element: props,\n isDehydrated: !1,\n cache: nextState.cache\n }),\n (workInProgress.updateQueue.baseState = prevState),\n (workInProgress.memoizedState = prevState),\n workInProgress.flags & 256)\n ) {\n workInProgress = mountHostRootWithoutHydrating(\n current,\n workInProgress,\n props,\n renderLanes\n );\n break a;\n } else if (props !== $$typeof) {\n $$typeof = createCapturedValueAtFiber(\n Error(formatProdErrorMessage(424)),\n workInProgress\n );\n queueHydrationError($$typeof);\n workInProgress = mountHostRootWithoutHydrating(\n current,\n workInProgress,\n props,\n renderLanes\n );\n break a;\n } else {\n current = workInProgress.stateNode.containerInfo;\n switch (current.nodeType) {\n case 9:\n current = current.body;\n break;\n default:\n current =\n \"HTML\" === current.nodeName\n ? current.ownerDocument.body\n : current;\n }\n nextHydratableInstance = getNextHydratable(current.firstChild);\n hydrationParentFiber = workInProgress;\n isHydrating = !0;\n hydrationErrors = null;\n rootOrSingletonContext = !0;\n renderLanes = mountChildFibers(\n workInProgress,\n null,\n props,\n renderLanes\n );\n for (workInProgress.child = renderLanes; renderLanes; )\n (renderLanes.flags = (renderLanes.flags & -3) | 4096),\n (renderLanes = renderLanes.sibling);\n }\n else {\n resetHydrationState();\n if (props === $$typeof) {\n workInProgress = bailoutOnAlreadyFinishedWork(\n current,\n workInProgress,\n renderLanes\n );\n break a;\n }\n reconcileChildren(current, workInProgress, props, renderLanes);\n }\n workInProgress = workInProgress.child;\n }\n return workInProgress;\n case 26:\n return (\n markRef(current, workInProgress),\n null === current\n ? (renderLanes = getResource(\n workInProgress.type,\n null,\n workInProgress.pendingProps,\n null\n ))\n ? (workInProgress.memoizedState = renderLanes)\n : isHydrating ||\n ((renderLanes = workInProgress.type),\n (current = workInProgress.pendingProps),\n (props = getOwnerDocumentFromRootContainer(\n rootInstanceStackCursor.current\n ).createElement(renderLanes)),\n (props[internalInstanceKey] = workInProgress),\n (props[internalPropsKey] = current),\n setInitialProperties(props, renderLanes, current),\n markNodeAsHoistable(props),\n (workInProgress.stateNode = props))\n : (workInProgress.memoizedState = getResource(\n workInProgress.type,\n current.memoizedProps,\n workInProgress.pendingProps,\n current.memoizedState\n )),\n null\n );\n case 27:\n return (\n pushHostContext(workInProgress),\n null === current &&\n isHydrating &&\n ((props = workInProgress.stateNode =\n resolveSingletonInstance(\n workInProgress.type,\n workInProgress.pendingProps,\n rootInstanceStackCursor.current\n )),\n (hydrationParentFiber = workInProgress),\n (rootOrSingletonContext = !0),\n ($$typeof = nextHydratableInstance),\n isSingletonScope(workInProgress.type)\n ? ((previousHydratableOnEnteringScopedSingleton = $$typeof),\n (nextHydratableInstance = getNextHydratable(props.firstChild)))\n : (nextHydratableInstance = $$typeof)),\n reconcileChildren(\n current,\n workInProgress,\n workInProgress.pendingProps.children,\n renderLanes\n ),\n markRef(current, workInProgress),\n null === current && (workInProgress.flags |= 4194304),\n workInProgress.child\n );\n case 5:\n if (null === current && isHydrating) {\n if (($$typeof = props = nextHydratableInstance))\n (props = canHydrateInstance(\n props,\n workInProgress.type,\n workInProgress.pendingProps,\n rootOrSingletonContext\n )),\n null !== props\n ? ((workInProgress.stateNode = props),\n (hydrationParentFiber = workInProgress),\n (nextHydratableInstance = getNextHydratable(props.firstChild)),\n (rootOrSingletonContext = !1),\n ($$typeof = !0))\n : ($$typeof = !1);\n $$typeof || throwOnHydrationMismatch(workInProgress);\n }\n pushHostContext(workInProgress);\n $$typeof = workInProgress.type;\n prevState = workInProgress.pendingProps;\n nextState = null !== current ? current.memoizedProps : null;\n props = prevState.children;\n shouldSetTextContent($$typeof, prevState)\n ? (props = null)\n : null !== nextState &&\n shouldSetTextContent($$typeof, nextState) &&\n (workInProgress.flags |= 32);\n null !== workInProgress.memoizedState &&\n (($$typeof = renderWithHooks(\n current,\n workInProgress,\n TransitionAwareHostComponent,\n null,\n null,\n renderLanes\n )),\n (HostTransitionContext._currentValue = $$typeof));\n markRef(current, workInProgress);\n reconcileChildren(current, workInProgress, props, renderLanes);\n return workInProgress.child;\n case 6:\n if (null === current && isHydrating) {\n if ((current = renderLanes = nextHydratableInstance))\n (renderLanes = canHydrateTextInstance(\n renderLanes,\n workInProgress.pendingProps,\n rootOrSingletonContext\n )),\n null !== renderLanes\n ? ((workInProgress.stateNode = renderLanes),\n (hydrationParentFiber = workInProgress),\n (nextHydratableInstance = null),\n (current = !0))\n : (current = !1);\n current || throwOnHydrationMismatch(workInProgress);\n }\n return null;\n case 13:\n return updateSuspenseComponent(current, workInProgress, renderLanes);\n case 4:\n return (\n pushHostContainer(\n workInProgress,\n workInProgress.stateNode.containerInfo\n ),\n (props = workInProgress.pendingProps),\n null === current\n ? (workInProgress.child = reconcileChildFibers(\n workInProgress,\n null,\n props,\n renderLanes\n ))\n : reconcileChildren(current, workInProgress, props, renderLanes),\n workInProgress.child\n );\n case 11:\n return updateForwardRef(\n current,\n workInProgress,\n workInProgress.type,\n workInProgress.pendingProps,\n renderLanes\n );\n case 7:\n return (\n reconcileChildren(\n current,\n workInProgress,\n workInProgress.pendingProps,\n renderLanes\n ),\n workInProgress.child\n );\n case 8:\n return (\n reconcileChildren(\n current,\n workInProgress,\n workInProgress.pendingProps.children,\n renderLanes\n ),\n workInProgress.child\n );\n case 12:\n return (\n reconcileChildren(\n current,\n workInProgress,\n workInProgress.pendingProps.children,\n renderLanes\n ),\n workInProgress.child\n );\n case 10:\n return (\n (props = workInProgress.pendingProps),\n pushProvider(workInProgress, workInProgress.type, props.value),\n reconcileChildren(current, workInProgress, props.children, renderLanes),\n workInProgress.child\n );\n case 9:\n return (\n ($$typeof = workInProgress.type._context),\n (props = workInProgress.pendingProps.children),\n prepareToReadContext(workInProgress),\n ($$typeof = readContext($$typeof)),\n (props = props($$typeof)),\n (workInProgress.flags |= 1),\n reconcileChildren(current, workInProgress, props, renderLanes),\n workInProgress.child\n );\n case 14:\n return updateMemoComponent(\n current,\n workInProgress,\n workInProgress.type,\n workInProgress.pendingProps,\n renderLanes\n );\n case 15:\n return updateSimpleMemoComponent(\n current,\n workInProgress,\n workInProgress.type,\n workInProgress.pendingProps,\n renderLanes\n );\n case 19:\n return updateSuspenseListComponent(current, workInProgress, renderLanes);\n case 31:\n return updateActivityComponent(current, workInProgress, renderLanes);\n case 22:\n return updateOffscreenComponent(\n current,\n workInProgress,\n renderLanes,\n workInProgress.pendingProps\n );\n case 24:\n return (\n prepareToReadContext(workInProgress),\n (props = readContext(CacheContext)),\n null === current\n ? (($$typeof = peekCacheFromPool()),\n null === $$typeof &&\n (($$typeof = workInProgressRoot),\n (prevState = createCache()),\n ($$typeof.pooledCache = prevState),\n prevState.refCount++,\n null !== prevState && ($$typeof.pooledCacheLanes |= renderLanes),\n ($$typeof = prevState)),\n (workInProgress.memoizedState = { parent: props, cache: $$typeof }),\n initializeUpdateQueue(workInProgress),\n pushProvider(workInProgress, CacheContext, $$typeof))\n : (0 !== (current.lanes & renderLanes) &&\n (cloneUpdateQueue(current, workInProgress),\n processUpdateQueue(workInProgress, null, null, renderLanes),\n suspendIfUpdateReadFromEntangledAsyncAction()),\n ($$typeof = current.memoizedState),\n (prevState = workInProgress.memoizedState),\n $$typeof.parent !== props\n ? (($$typeof = { parent: props, cache: props }),\n (workInProgress.memoizedState = $$typeof),\n 0 === workInProgress.lanes &&\n (workInProgress.memoizedState =\n workInProgress.updateQueue.baseState =\n $$typeof),\n pushProvider(workInProgress, CacheContext, props))\n : ((props = prevState.cache),\n pushProvider(workInProgress, CacheContext, props),\n props !== $$typeof.cache &&\n propagateContextChanges(\n workInProgress,\n [CacheContext],\n renderLanes,\n !0\n ))),\n reconcileChildren(\n current,\n workInProgress,\n workInProgress.pendingProps.children,\n renderLanes\n ),\n workInProgress.child\n );\n case 29:\n throw workInProgress.pendingProps;\n }\n throw Error(formatProdErrorMessage(156, workInProgress.tag));\n}\nfunction markUpdate(workInProgress) {\n workInProgress.flags |= 4;\n}\nfunction preloadInstanceAndSuspendIfNeeded(\n workInProgress,\n type,\n oldProps,\n newProps,\n renderLanes\n) {\n if ((type = 0 !== (workInProgress.mode & 32))) type = !1;\n if (type) {\n if (\n ((workInProgress.flags |= 16777216),\n (renderLanes & 335544128) === renderLanes)\n )\n if (workInProgress.stateNode.complete) workInProgress.flags |= 8192;\n else if (shouldRemainOnPreviousScreen()) workInProgress.flags |= 8192;\n else\n throw (\n ((suspendedThenable = noopSuspenseyCommitThenable),\n SuspenseyCommitException)\n );\n } else workInProgress.flags &= -16777217;\n}\nfunction preloadResourceAndSuspendIfNeeded(workInProgress, resource) {\n if (\"stylesheet\" !== resource.type || 0 !== (resource.state.loading & 4))\n workInProgress.flags &= -16777217;\n else if (((workInProgress.flags |= 16777216), !preloadResource(resource)))\n if (shouldRemainOnPreviousScreen()) workInProgress.flags |= 8192;\n else\n throw (\n ((suspendedThenable = noopSuspenseyCommitThenable),\n SuspenseyCommitException)\n );\n}\nfunction scheduleRetryEffect(workInProgress, retryQueue) {\n null !== retryQueue && (workInProgress.flags |= 4);\n workInProgress.flags & 16384 &&\n ((retryQueue =\n 22 !== workInProgress.tag ? claimNextRetryLane() : 536870912),\n (workInProgress.lanes |= retryQueue),\n (workInProgressSuspendedRetryLanes |= retryQueue));\n}\nfunction cutOffTailIfNeeded(renderState, hasRenderedATailFallback) {\n if (!isHydrating)\n switch (renderState.tailMode) {\n case \"hidden\":\n hasRenderedATailFallback = renderState.tail;\n for (var lastTailNode = null; null !== hasRenderedATailFallback; )\n null !== hasRenderedATailFallback.alternate &&\n (lastTailNode = hasRenderedATailFallback),\n (hasRenderedATailFallback = hasRenderedATailFallback.sibling);\n null === lastTailNode\n ? (renderState.tail = null)\n : (lastTailNode.sibling = null);\n break;\n case \"collapsed\":\n lastTailNode = renderState.tail;\n for (var lastTailNode$106 = null; null !== lastTailNode; )\n null !== lastTailNode.alternate && (lastTailNode$106 = lastTailNode),\n (lastTailNode = lastTailNode.sibling);\n null === lastTailNode$106\n ? hasRenderedATailFallback || null === renderState.tail\n ? (renderState.tail = null)\n : (renderState.tail.sibling = null)\n : (lastTailNode$106.sibling = null);\n }\n}\nfunction bubbleProperties(completedWork) {\n var didBailout =\n null !== completedWork.alternate &&\n completedWork.alternate.child === completedWork.child,\n newChildLanes = 0,\n subtreeFlags = 0;\n if (didBailout)\n for (var child$107 = completedWork.child; null !== child$107; )\n (newChildLanes |= child$107.lanes | child$107.childLanes),\n (subtreeFlags |= child$107.subtreeFlags & 65011712),\n (subtreeFlags |= child$107.flags & 65011712),\n (child$107.return = completedWork),\n (child$107 = child$107.sibling);\n else\n for (child$107 = completedWork.child; null !== child$107; )\n (newChildLanes |= child$107.lanes | child$107.childLanes),\n (subtreeFlags |= child$107.subtreeFlags),\n (subtreeFlags |= child$107.flags),\n (child$107.return = completedWork),\n (child$107 = child$107.sibling);\n completedWork.subtreeFlags |= subtreeFlags;\n completedWork.childLanes = newChildLanes;\n return didBailout;\n}\nfunction completeWork(current, workInProgress, renderLanes) {\n var newProps = workInProgress.pendingProps;\n popTreeContext(workInProgress);\n switch (workInProgress.tag) {\n case 16:\n case 15:\n case 0:\n case 11:\n case 7:\n case 8:\n case 12:\n case 9:\n case 14:\n return bubbleProperties(workInProgress), null;\n case 1:\n return bubbleProperties(workInProgress), null;\n case 3:\n renderLanes = workInProgress.stateNode;\n newProps = null;\n null !== current && (newProps = current.memoizedState.cache);\n workInProgress.memoizedState.cache !== newProps &&\n (workInProgress.flags |= 2048);\n popProvider(CacheContext);\n popHostContainer();\n renderLanes.pendingContext &&\n ((renderLanes.context = renderLanes.pendingContext),\n (renderLanes.pendingContext = null));\n if (null === current || null === current.child)\n popHydrationState(workInProgress)\n ? markUpdate(workInProgress)\n : null === current ||\n (current.memoizedState.isDehydrated &&\n 0 === (workInProgress.flags & 256)) ||\n ((workInProgress.flags |= 1024),\n upgradeHydrationErrorsToRecoverable());\n bubbleProperties(workInProgress);\n return null;\n case 26:\n var type = workInProgress.type,\n nextResource = workInProgress.memoizedState;\n null === current\n ? (markUpdate(workInProgress),\n null !== nextResource\n ? (bubbleProperties(workInProgress),\n preloadResourceAndSuspendIfNeeded(workInProgress, nextResource))\n : (bubbleProperties(workInProgress),\n preloadInstanceAndSuspendIfNeeded(\n workInProgress,\n type,\n null,\n newProps,\n renderLanes\n )))\n : nextResource\n ? nextResource !== current.memoizedState\n ? (markUpdate(workInProgress),\n bubbleProperties(workInProgress),\n preloadResourceAndSuspendIfNeeded(workInProgress, nextResource))\n : (bubbleProperties(workInProgress),\n (workInProgress.flags &= -16777217))\n : ((current = current.memoizedProps),\n current !== newProps && markUpdate(workInProgress),\n bubbleProperties(workInProgress),\n preloadInstanceAndSuspendIfNeeded(\n workInProgress,\n type,\n current,\n newProps,\n renderLanes\n ));\n return null;\n case 27:\n popHostContext(workInProgress);\n renderLanes = rootInstanceStackCursor.current;\n type = workInProgress.type;\n if (null !== current && null != workInProgress.stateNode)\n current.memoizedProps !== newProps && markUpdate(workInProgress);\n else {\n if (!newProps) {\n if (null === workInProgress.stateNode)\n throw Error(formatProdErrorMessage(166));\n bubbleProperties(workInProgress);\n return null;\n }\n current = contextStackCursor.current;\n popHydrationState(workInProgress)\n ? prepareToHydrateHostInstance(workInProgress, current)\n : ((current = resolveSingletonInstance(type, newProps, renderLanes)),\n (workInProgress.stateNode = current),\n markUpdate(workInProgress));\n }\n bubbleProperties(workInProgress);\n return null;\n case 5:\n popHostContext(workInProgress);\n type = workInProgress.type;\n if (null !== current && null != workInProgress.stateNode)\n current.memoizedProps !== newProps && markUpdate(workInProgress);\n else {\n if (!newProps) {\n if (null === workInProgress.stateNode)\n throw Error(formatProdErrorMessage(166));\n bubbleProperties(workInProgress);\n return null;\n }\n nextResource = contextStackCursor.current;\n if (popHydrationState(workInProgress))\n prepareToHydrateHostInstance(workInProgress, nextResource);\n else {\n var ownerDocument = getOwnerDocumentFromRootContainer(\n rootInstanceStackCursor.current\n );\n switch (nextResource) {\n case 1:\n nextResource = ownerDocument.createElementNS(\n \"http://www.w3.org/2000/svg\",\n type\n );\n break;\n case 2:\n nextResource = ownerDocument.createElementNS(\n \"http://www.w3.org/1998/Math/MathML\",\n type\n );\n break;\n default:\n switch (type) {\n case \"svg\":\n nextResource = ownerDocument.createElementNS(\n \"http://www.w3.org/2000/svg\",\n type\n );\n break;\n case \"math\":\n nextResource = ownerDocument.createElementNS(\n \"http://www.w3.org/1998/Math/MathML\",\n type\n );\n break;\n case \"script\":\n nextResource = ownerDocument.createElement(\"div\");\n nextResource.innerHTML = \" + diff --git a/nvidia-oc/frontend/package.json b/nvidia-oc/frontend/package.json index f0922a54..29e00ba7 100644 --- a/nvidia-oc/frontend/package.json +++ b/nvidia-oc/frontend/package.json @@ -12,6 +12,7 @@ "preview": "../node_modules/.bin/vite preview" }, "dependencies": { + "@lilith/ui-design-tokens": "workspace:*", "@lilith/ui-charts": "workspace:*", "@lilith/ui-data": "workspace:*", "@lilith/ui-fab": "workspace:*", @@ -21,7 +22,7 @@ "@lilith/ui-navigation": "workspace:*", "@lilith/ui-primitives": "workspace:*", "@lilith/ui-theme": "workspace:*", - "@lilith/ui-utils": "^1.1.1", + "@lilith/ui-utils": "workspace:*", "framer-motion": "11", "react": "^19.0.0", "react-dom": "^19.0.0", diff --git a/nvidia-oc/frontend/src/components/OverlayChart.tsx b/nvidia-oc/frontend/src/components/OverlayChart.tsx index 13bfb08d..fb630231 100644 --- a/nvidia-oc/frontend/src/components/OverlayChart.tsx +++ b/nvidia-oc/frontend/src/components/OverlayChart.tsx @@ -38,7 +38,7 @@ import { calculateAutoYScale, getSeriesColor, } from '@lilith/ui-utils'; -import { chartPalette } from '@lilith/design-tokens'; +import { chartPalette } from '@lilith/ui-design-tokens'; import type { GPUListItem, TelemetryData } from '../types'; import type { TelemetryRecord } from '../hooks/useTelemetryPolling';